1 | import {NgModule, ModuleWithProviders, Injector} from "@angular/core";
|
2 | import {BrowserModule} from "@angular/platform-browser";
|
3 | import {HttpClientModule} from "@angular/common/http";
|
4 | import {FormsModule} from "@angular/forms";
|
5 | import {CommonModule} from "@angular/common";
|
6 | import {FormComponent} from "./path-framework/form/form.component";
|
7 | import {ChartComponent} from "./path-framework/page/element/chart/chart.component";
|
8 | import {AutoCompleteComponent} from "./path-framework/form/field/auto-complete/auto-complete-field.component";
|
9 | import {TextFieldComponent} from "./path-framework/form/field/text/text-field.component";
|
10 | import {DateFieldComponent} from "./path-framework/form/field/date/date-field.component";
|
11 | import {RadioGroupComponent} from "./path-framework/form/field/radio/radio-group.component";
|
12 | import {CheckboxGroupComponent} from "./path-framework/form/field/checkbox/checkbox-group.component";
|
13 | import {FormFieldLabelComponent} from "./path-framework/form/field/form-field-label.component";
|
14 | import {ProgressBarComponent} from "./path-framework/form/field/progress-bar/progress-bar.component";
|
15 | import {LabelFieldComponent} from "./path-framework/form/field/label/label-field.component";
|
16 | import {FieldListFieldComponent} from "./path-framework/form/field/fieldList/field-list-field.component";
|
17 | import {NumberFieldComponent} from "./path-framework/form/field/number/number-field.component";
|
18 | import {TranslationFieldComponent} from "./path-framework/form/field/translation/translation-field.component";
|
19 | import {BsDatepickerModule} from "ngx-bootstrap/datepicker/bs-datepicker.module";
|
20 | import {TooltipModule} from "ngx-bootstrap/tooltip/tooltip.module";
|
21 | import {DraggableDirective} from "./path-framework/form/draggable.directive";
|
22 | import {BackButtonComponent} from "./path-framework/page/element/button/back-button.component";
|
23 | import {LinkButtonComponent} from "./path-framework/page/element/button/link-button.component";
|
24 | import {PageDeleteButtonComponent} from "./path-framework/page/element/button/page-delete-button.component";
|
25 | import {ButtonComponent} from "./path-framework/page/element/button/button.component";
|
26 | import {PageLabelComponent} from "./path-framework/page/element/label/page-label.component";
|
27 | import {ListComponent} from "./path-framework/page/element/list/list.component";
|
28 | import {CustomDirective} from "./path-framework/page/element/custom/custom.directive";
|
29 | import {CustomContainerComponent} from "./path-framework/page/element/custom/custom-container.component";
|
30 | import {ElementListComponent} from "./path-framework/page/element/element-list/element-list.component";
|
31 |
|
32 | @NgModule({
|
33 | imports: [
|
34 | BrowserModule,
|
35 | HttpClientModule,
|
36 | FormsModule,
|
37 | CommonModule,
|
38 | BsDatepickerModule.forRoot(),
|
39 | TooltipModule.forRoot()
|
40 | ],
|
41 | declarations: [
|
42 | DraggableDirective,
|
43 | LabelFieldComponent,
|
44 | FieldListFieldComponent,
|
45 | FormComponent,
|
46 | ChartComponent,
|
47 | AutoCompleteComponent,
|
48 | ProgressBarComponent,
|
49 | TextFieldComponent,
|
50 | TranslationFieldComponent,
|
51 | NumberFieldComponent,
|
52 | DateFieldComponent,
|
53 | RadioGroupComponent,
|
54 | CheckboxGroupComponent,
|
55 | FormFieldLabelComponent,
|
56 | BackButtonComponent,
|
57 | LinkButtonComponent,
|
58 | PageDeleteButtonComponent,
|
59 | ButtonComponent,
|
60 | PageLabelComponent,
|
61 | ListComponent,
|
62 | CustomDirective,
|
63 | CustomContainerComponent,
|
64 | ElementListComponent
|
65 | ],
|
66 | exports: [
|
67 | DraggableDirective,
|
68 | BrowserModule,
|
69 | HttpClientModule,
|
70 | FormsModule,
|
71 | CommonModule,
|
72 | BsDatepickerModule,
|
73 | TooltipModule,
|
74 | LabelFieldComponent,
|
75 | FieldListFieldComponent,
|
76 | FormComponent,
|
77 | ChartComponent,
|
78 | AutoCompleteComponent,
|
79 | ProgressBarComponent,
|
80 | TextFieldComponent,
|
81 | TranslationFieldComponent,
|
82 | NumberFieldComponent,
|
83 | DateFieldComponent,
|
84 | RadioGroupComponent,
|
85 | CheckboxGroupComponent,
|
86 | FormFieldLabelComponent,
|
87 | BackButtonComponent,
|
88 | LinkButtonComponent,
|
89 | PageDeleteButtonComponent,
|
90 | ButtonComponent,
|
91 | PageLabelComponent,
|
92 | ListComponent,
|
93 | CustomDirective,
|
94 | CustomContainerComponent,
|
95 | ElementListComponent
|
96 | ],
|
97 | })
|
98 | export class AppModule {
|
99 | static forRoot(): ModuleWithProviders {
|
100 | return {ngModule: AppModule, providers: []};
|
101 | }
|
102 | }
|