Skip to content

Commit 056f056

Browse files
committed
chore(*): fix date range picker configs
1 parent 2fc07c7 commit 056f056

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

live-editing/configs/DateRangePickerConfigGenerator.ts

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import {IgxDateRangePickerModule,
22
IgxIconModule,
33
IgxInputGroupModule,
4+
IgxDateTimeEditorModule,
5+
IgxDatePickerModule,
46
IgxSelectModule} from 'igniteui-angular';
57
import {AppModuleConfig, Config, IConfigGenerator} from 'igniteui-live-editing'
68
export class DateRangePickerConfigGenerator implements IConfigGenerator {
@@ -50,10 +52,10 @@ export class DateRangePickerConfigGenerator implements IConfigGenerator {
5052
new Config({
5153
component: 'DateRangePickerStartEndComponent',
5254
appModuleConfig: new AppModuleConfig({
53-
imports: ['IgxDateRangePickerModule', 'DateRangePickerStartEndComponent',
55+
imports: ['IgxDateRangePickerModule', 'DateRangePickerStartEndComponent', 'IgxDatePickerModule', 'IgxDateTimeEditorModule',
5456
'IgxInputGroupModule', 'IgxIconModule' ],
5557
ngDeclarations: ['DateRangePickerStartEndComponent'],
56-
ngImports: ['IgxDateRangePickerModule', 'IgxInputGroupModule', 'IgxIconModule']
58+
ngImports: ['IgxDateRangePickerModule', 'IgxDatePickerModule', 'IgxDateTimeEditorModule', 'IgxInputGroupModule', 'IgxIconModule']
5759
}),
5860
shortenComponentPathBy: "/scheduling/daterangepicker/"
5961
})
@@ -63,10 +65,10 @@ export class DateRangePickerConfigGenerator implements IConfigGenerator {
6365
new Config({
6466
component: 'DateRangePickerValidationComponent',
6567
appModuleConfig: new AppModuleConfig({
66-
imports: ['IgxDateRangePickerModule', 'DateRangePickerValidationComponent',
67-
'IgxInputGroupModule', 'IgxIconModule'],
68+
imports: ['IgxDateRangePickerModule', 'DateRangePickerValidationComponent', 'IgxDatePickerModule',
69+
'IgxInputGroupModule', 'IgxIconModule', 'IgxDateTimeEditorModule'],
6870
ngDeclarations: ['DateRangePickerValidationComponent'],
69-
ngImports: ['IgxDateRangePickerModule', 'IgxInputGroupModule', 'IgxIconModule']
71+
ngImports: ['IgxDateRangePickerModule', 'IgxDatePickerModule', 'IgxInputGroupModule', 'IgxIconModule', 'IgxDateTimeEditorModule']
7072
}),
7173
shortenComponentPathBy: "/scheduling/daterangepicker/"
7274
})
@@ -77,9 +79,9 @@ export class DateRangePickerConfigGenerator implements IConfigGenerator {
7779
component: 'StyledDateRangePickerComponent',
7880
appModuleConfig: new AppModuleConfig({
7981
imports: ['IgxDateRangePickerModule', 'StyledDateRangePickerComponent',
80-
'IgxInputGroupModule', 'IgxIconModule'],
82+
'IgxInputGroupModule', 'IgxIconModule', 'IgxDatePickerModule' , 'IgxDateTimeEditorModule'],
8183
ngDeclarations: ['StyledDateRangePickerComponent'],
82-
ngImports: ['IgxDateRangePickerModule', 'IgxInputGroupModule', 'IgxIconModule']
84+
ngImports: ['IgxDateRangePickerModule', 'IgxDatePickerModule', 'IgxDateTimeEditorModule', 'IgxInputGroupModule', 'IgxIconModule']
8385
}),
8486
shortenComponentPathBy: "/scheduling/daterangepicker/"
8587
})

0 commit comments

Comments
 (0)