-
Notifications
You must be signed in to change notification settings - Fork 0
/
ngx-dynamic-widget.module.ts
83 lines (79 loc) · 2.88 KB
/
ngx-dynamic-widget.module.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { TranslateModule } from '@ngx-translate/core';
import { CurrencyMaskConfig, CurrencyMaskModule, CURRENCY_MASK_CONFIG } from 'ng2-currency-mask';
import { RouterModule, Routes } from '@angular/router';
import { MatIconModule } from '@angular/material/icon';
import {
NgxDynamicWidgetExtensionTypeCheckboxComponent,
NgxDynamicWidgetExtensionTypeChoiceComponent,
NgxDynamicWidgetExtensionTypeChoiceMultipleComponent,
NgxDynamicWidgetExtensionTypeDropdownComponent,
NgxDynamicWidgetExtensionTypeMoneyComponent,
NgxDynamicWidgetExtensionTypeSelect2EntityComponent,
NgxDynamicWidgetExtensionTypeTelComponent,
NgxDynamicWidgetExtensionTypeTextComponent,
NgxDynamicWidgetExtensionTypeTextareaComponent,
NgxDynamicWidgetExtensionTypeButtonComponent,
NgxDynamicWidgetHeadingComponent,
NgxDynamicWidgetFormComponent,
NgxDynamicWidgetButtonComponent,
NgxDynamicWidgetTitleComponent,
NgxDynamicWidgetSubTitleComponent,
NgxDynamicWidgetListGroupComponent,
NgxDynamicWidgetListGroupFlushComponent,
NgxDynamicWidgetCardComponent,
NgxDynamicWidgetCardActionTopComponent,
NgxDynamicWidgetPreloaderComponent,
NgxDynamicFormComponent,
NgxDynamicWidgetComponent,
} from './extension';
import {
NgxDynamicWidgetResourcesUIHelpComponent,
NgxDynamicWidgetResourcesUILabelComponent
} from './resources';
const COMPONENTS = [
NgxDynamicWidgetExtensionTypeCheckboxComponent,
NgxDynamicWidgetExtensionTypeChoiceComponent,
NgxDynamicWidgetExtensionTypeChoiceMultipleComponent,
NgxDynamicWidgetExtensionTypeDropdownComponent,
NgxDynamicWidgetExtensionTypeMoneyComponent,
NgxDynamicWidgetExtensionTypeSelect2EntityComponent,
NgxDynamicWidgetExtensionTypeTelComponent,
NgxDynamicWidgetExtensionTypeTextComponent,
NgxDynamicWidgetExtensionTypeTextareaComponent,
NgxDynamicWidgetExtensionTypeButtonComponent,
NgxDynamicWidgetResourcesUIHelpComponent,
NgxDynamicWidgetResourcesUILabelComponent,
NgxDynamicWidgetHeadingComponent,
NgxDynamicWidgetFormComponent,
NgxDynamicWidgetButtonComponent,
NgxDynamicWidgetTitleComponent,
NgxDynamicWidgetSubTitleComponent,
NgxDynamicWidgetListGroupComponent,
NgxDynamicWidgetListGroupFlushComponent,
NgxDynamicWidgetCardComponent,
NgxDynamicWidgetCardActionTopComponent,
NgxDynamicWidgetPreloaderComponent,
NgxDynamicFormComponent,
NgxDynamicWidgetComponent
];
@NgModule({
imports: [
CommonModule,
FormsModule,
ReactiveFormsModule,
TranslateModule,
CurrencyMaskModule,
RouterModule,
MatIconModule,
],
exports: [
RouterModule,
MatIconModule,
...COMPONENTS
],
declarations: [...COMPONENTS],
})
export class NgxDynamicWidgetModule { }