2018-02-15 14:57:18 +01:00
|
|
|
// (C) Copyright 2015 Martin Dougiamas
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
//
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
import { IonicModule } from 'ionic-angular';
|
2018-02-19 15:58:39 +01:00
|
|
|
import { TranslateModule } from '@ngx-translate/core';
|
2018-02-15 14:57:18 +01:00
|
|
|
import { CoreComponentsModule } from '../../../components/components.module';
|
2018-02-21 16:18:03 +01:00
|
|
|
import { CoreCompileHtmlComponentModule } from '../../compile/components/compile-html/compile-html.module';
|
2018-02-15 14:57:18 +01:00
|
|
|
import { CoreSiteAddonsAddonContentComponent } from './addon-content/addon-content';
|
|
|
|
import { CoreSiteAddonsModuleIndexComponent } from './module-index/module-index';
|
2018-02-23 15:53:45 +01:00
|
|
|
import { CoreSiteAddonsCourseOptionComponent } from './course-option/course-option';
|
2018-02-28 16:14:37 +01:00
|
|
|
import { CoreSiteAddonsCourseFormatComponent } from './course-format/course-format';
|
2018-02-15 14:57:18 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
declarations: [
|
|
|
|
CoreSiteAddonsAddonContentComponent,
|
2018-02-23 15:53:45 +01:00
|
|
|
CoreSiteAddonsModuleIndexComponent,
|
2018-02-28 16:14:37 +01:00
|
|
|
CoreSiteAddonsCourseOptionComponent,
|
|
|
|
CoreSiteAddonsCourseFormatComponent
|
2018-02-15 14:57:18 +01:00
|
|
|
],
|
|
|
|
imports: [
|
|
|
|
CommonModule,
|
|
|
|
IonicModule,
|
|
|
|
CoreComponentsModule,
|
2018-02-21 16:18:03 +01:00
|
|
|
CoreCompileHtmlComponentModule,
|
2018-02-19 15:58:39 +01:00
|
|
|
TranslateModule.forChild()
|
2018-02-15 14:57:18 +01:00
|
|
|
],
|
|
|
|
providers: [
|
|
|
|
],
|
|
|
|
exports: [
|
|
|
|
CoreSiteAddonsAddonContentComponent,
|
2018-02-23 15:53:45 +01:00
|
|
|
CoreSiteAddonsModuleIndexComponent,
|
2018-02-28 16:14:37 +01:00
|
|
|
CoreSiteAddonsCourseOptionComponent,
|
|
|
|
CoreSiteAddonsCourseFormatComponent
|
2018-02-15 14:57:18 +01:00
|
|
|
],
|
|
|
|
entryComponents: [
|
2018-02-23 15:53:45 +01:00
|
|
|
CoreSiteAddonsModuleIndexComponent,
|
2018-02-28 16:14:37 +01:00
|
|
|
CoreSiteAddonsCourseOptionComponent,
|
|
|
|
CoreSiteAddonsCourseFormatComponent
|
2018-02-15 14:57:18 +01:00
|
|
|
]
|
|
|
|
})
|
|
|
|
export class CoreSiteAddonsComponentsModule {}
|