LP1831788 Add EgCoreModule for CommonWidgetsModule, etc.
[working/Evergreen.git] / Open-ILS / src / eg2 / src / app / share / common-widgets.module.ts
1 /*
2   Module for grouping commonly used widgets that might be embedded
3   in other shared components. Components included here should be
4   unlikely to ever need to embed one another.
5 */
6 import {NgModule, ModuleWithProviders} from '@angular/core';
7 import {CommonModule} from '@angular/common';
8 import {FormsModule} from '@angular/forms';
9 import {NgbModule} from '@ng-bootstrap/ng-bootstrap';
10 import {EgCoreModule} from '@eg/core/core.module';
11 import {ComboboxComponent} from '@eg/share/combobox/combobox.component';
12 import {ComboboxEntryComponent} from '@eg/share/combobox/combobox-entry.component';
13 import {DateSelectComponent} from '@eg/share/date-select/date-select.component';
14 import {OrgSelectComponent} from '@eg/share/org-select/org-select.component';
15
16 @NgModule({
17   declarations: [
18     ComboboxComponent,
19     ComboboxEntryComponent,
20     DateSelectComponent,
21     OrgSelectComponent
22   ],
23   imports: [
24     CommonModule,
25     FormsModule,
26     NgbModule,
27     EgCoreModule
28   ],
29   exports: [
30     CommonModule,
31     FormsModule,
32     NgbModule,
33     EgCoreModule,
34     ComboboxComponent,
35     ComboboxEntryComponent,
36     DateSelectComponent,
37     OrgSelectComponent
38   ],
39 })
40
41 export class CommonWidgetsModule { }