|
| 1 | +// (C) Copyright 2015 Moodle Pty Ltd. |
| 2 | +// |
| 3 | +// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +// you may not use this file except in compliance with the License. |
| 5 | +// You may obtain a copy of the License at |
| 6 | +// |
| 7 | +// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +// |
| 9 | +// Unless required by applicable law or agreed to in writing, software |
| 10 | +// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +// See the License for the specific language governing permissions and |
| 13 | +// limitations under the License. |
| 14 | + |
| 15 | +import { NgModule } from '@angular/core'; |
| 16 | +import { CommonModule } from '@angular/common'; |
| 17 | +import { IonicModule } from 'ionic-angular'; |
| 18 | +import { TranslateModule } from '@ngx-translate/core'; |
| 19 | +import { CoreSearchBoxComponent } from './search-box/search-box'; |
| 20 | +import { CoreDirectivesModule } from '@directives/directives.module'; |
| 21 | +import { CoreComponentsModule } from '@components/components.module'; |
| 22 | + |
| 23 | +@NgModule({ |
| 24 | + declarations: [ |
| 25 | + CoreSearchBoxComponent, |
| 26 | + ], |
| 27 | + imports: [ |
| 28 | + CommonModule, |
| 29 | + IonicModule, |
| 30 | + TranslateModule.forChild(), |
| 31 | + CoreDirectivesModule, |
| 32 | + CoreComponentsModule, |
| 33 | + ], |
| 34 | + providers: [ |
| 35 | + ], |
| 36 | + exports: [ |
| 37 | + CoreSearchBoxComponent, |
| 38 | + ], |
| 39 | + entryComponents: [ |
| 40 | + CoreSearchBoxComponent, |
| 41 | + ] |
| 42 | +}) |
| 43 | +export class CoreSearchComponentsModule {} |
0 commit comments