LP#1831788: create CommonWidgetsModule
[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 {ComboboxComponent} from '@eg/share/combobox/combobox.component';
11 import {ComboboxEntryComponent} from '@eg/share/combobox/combobox-entry.component';
12 import {DateSelectComponent} from '@eg/share/date-select/date-select.component';
13 import {OrgSelectComponent} from '@eg/share/org-select/org-select.component';
14
15 @NgModule({
16   declarations: [
17     ComboboxComponent,
18     ComboboxEntryComponent,
19     DateSelectComponent,
20     OrgSelectComponent
21   ],
22   imports: [
23     CommonModule,
24     FormsModule,
25     NgbModule
26   ],
27   exports: [
28     CommonModule,
29     FormsModule,
30     NgbModule,
31     ComboboxComponent,
32     ComboboxEntryComponent,
33     DateSelectComponent,
34     OrgSelectComponent
35   ],
36 })
37
38 export class CommonWidgetsModule { }