1+ /* eslint-disable @typescript-eslint/naming-convention */
12import { HttpClientModule } from '@angular/common/http' ;
23import { IgxButtonModule ,
34IgxCardModule ,
@@ -7,27 +8,27 @@ IgxSwitchModule,
78IgxToastModule ,
89IgxIconModule ,
910IgxPrefixModule } from 'igniteui-angular' ;
10- import { AppModuleConfig , Config , IConfigGenerator } from 'igniteui-live-editing'
11+ import { AppModuleConfig , Config , IConfigGenerator } from 'igniteui-live-editing' ;
1112export class ComboConfigGenerator implements IConfigGenerator {
1213 public additionalImports = {
13- RemoteService : '../../src/app/grid/ services/remote .service'
14+ RemoteNWindService : '../../src/app/services/remoteNwind .service'
1415} ;
1516 public generateConfigs ( ) : Config [ ] {
1617 const configs = new Array < Config > ( ) ;
1718
1819 configs . push ( new Config ( {
19- additionalFiles : [ " /src/app/lists/combo/combo-features/local-data.ts" ] ,
20+ additionalFiles : [ ' /src/app/lists/combo/combo-features/local-data.ts' ] ,
2021 appModuleConfig : new AppModuleConfig ( {
2122 imports : [ 'IgxComboModule' , 'IgxSwitchModule' , 'ComboFeaturesComponent' ] ,
2223 ngDeclarations : [ 'ComboFeaturesComponent' ] ,
2324 ngImports : [ 'IgxComboModule' , 'IgxSwitchModule' ]
2425 } ) ,
2526 component : 'ComboFeaturesComponent' ,
26- shortenComponentPathBy : " /lists/combo/"
27+ shortenComponentPathBy : ' /lists/combo/'
2728 } ) ) ;
2829
2930 configs . push ( new Config ( {
30- additionalFiles : [ " /src/app/data/heroData.ts" ] ,
31+ additionalFiles : [ ' /src/app/data/heroData.ts' ] ,
3132 appModuleConfig : new AppModuleConfig ( {
3233 imports : [ 'IgxComboModule' , 'IgxToastModule' , 'ComboStylingComponent' ] ,
3334 ngDeclarations : [ 'ComboStylingComponent' ] ,
@@ -37,46 +38,46 @@ export class ComboConfigGenerator implements IConfigGenerator {
3738 } ) ) ;
3839
3940 configs . push ( new Config ( {
40- additionalFiles : [ " /src/app/lists/combo/cascading-combos/local-data.ts" ] ,
41+ additionalFiles : [ ' /src/app/lists/combo/cascading-combos/local-data.ts' ] ,
4142 appModuleConfig : new AppModuleConfig ( {
4243 imports : [ 'IgxComboModule' , 'IgxSelectModule' , 'CascadingCombosComponent' ] ,
4344 ngDeclarations : [ 'CascadingCombosComponent' ] ,
4445 ngImports : [ 'IgxComboModule' , 'IgxSelectModule' ]
4546 } ) ,
4647 component : 'CascadingCombosComponent' ,
47- shortenComponentPathBy : " /lists/combo/"
48+ shortenComponentPathBy : ' /lists/combo/'
4849 } ) ) ;
4950
5051 configs . push ( new Config ( {
51- additionalFiles : [ " /src/app/lists/combo/combo-main/local-data.ts" ] ,
52+ additionalFiles : [ ' /src/app/lists/combo/combo-main/local-data.ts' ] ,
5253 appModuleConfig : new AppModuleConfig ( {
5354 imports : [ 'IgxComboModule' , 'ComboMainComponent' ] ,
5455 ngDeclarations : [ 'ComboMainComponent' ] ,
5556 ngImports : [ 'IgxComboModule' ]
5657 } ) ,
5758 component : 'ComboMainComponent' ,
58- shortenComponentPathBy : " /lists/combo/"
59+ shortenComponentPathBy : ' /lists/combo/'
5960 } ) ) ;
6061
6162 configs . push ( new Config ( {
62- additionalFiles : [ " /src/app/lists/combo/combo-template/local-data.ts" ] ,
63+ additionalFiles : [ ' /src/app/lists/combo/combo-template/local-data.ts' ] ,
6364 appModuleConfig : new AppModuleConfig ( {
6465 imports : [ 'IgxComboModule' , 'IgxIconModule' , 'IgxPrefixModule' , 'ComboTemplateComponent' ] ,
6566 ngDeclarations : [ 'ComboTemplateComponent' ] ,
6667 ngImports : [ 'IgxComboModule' , 'IgxIconModule' , 'IgxPrefixModule' ]
6768 } ) ,
6869 component : 'ComboTemplateComponent' ,
69- shortenComponentPathBy : " /lists/combo/"
70+ shortenComponentPathBy : ' /lists/combo/'
7071 } ) ) ;
7172
7273 configs . push ( new Config ( {
73- additionalFiles : [ " /src/app/grid/ services/remote .service.ts" ] ,
74+ additionalFiles : [ ' /src/app/services/remoteNwind .service.ts' ] ,
7475 appModuleConfig : new AppModuleConfig ( {
7576 imports : [ 'IgxComboModule' , 'IgxToastModule' , 'ComboRemoteComponent' ,
76- 'HttpClientModule' , 'RemoteService ' ] ,
77+ 'HttpClientModule' , 'RemoteNWindService ' ] ,
7778 ngDeclarations : [ 'ComboRemoteComponent' ] ,
7879 ngImports : [ 'IgxComboModule' , 'IgxToastModule' , 'HttpClientModule' ] ,
79- ngProviders : [ 'RemoteService ' ]
80+ ngProviders : [ 'RemoteNWindService ' ]
8081 } ) ,
8182 component : 'ComboRemoteComponent'
8283 } ) ) ;
@@ -91,36 +92,36 @@ export class ComboConfigGenerator implements IConfigGenerator {
9192 } ) ) ;
9293
9394 configs . push ( new Config ( {
94- additionalFiles : [ " /src/app/lists/combo/combo-single-selection/local-data.ts" ] ,
95+ additionalFiles : [ ' /src/app/lists/combo/combo-single-selection/local-data.ts' ] ,
9596 appModuleConfig : new AppModuleConfig ( {
9697 imports : [ 'IgxComboModule' , 'ComboSingleSelectionComponent' ] ,
9798 ngDeclarations : [ 'ComboSingleSelectionComponent' ] ,
9899 ngImports : [ 'IgxComboModule' ]
99100 } ) ,
100101 component : 'ComboSingleSelectionComponent' ,
101- shortenComponentPathBy : " /lists/combo/"
102+ shortenComponentPathBy : ' /lists/combo/'
102103 } ) ) ;
103104
104105 configs . push ( new Config ( {
105- additionalFiles : [ " /src/app/lists/combo/combo-binding/cities.ts" ] ,
106+ additionalFiles : [ ' /src/app/lists/combo/combo-binding/cities.ts' ] ,
106107 appModuleConfig : new AppModuleConfig ( {
107108 imports : [ 'IgxComboModule' , 'IgxButtonModule' , 'IgxCardModule' , 'ComboBindingComponent' ] ,
108109 ngDeclarations : [ 'ComboBindingComponent' ] ,
109110 ngImports : [ 'IgxComboModule' , 'IgxButtonModule' , 'IgxCardModule' ]
110111 } ) ,
111112 component : 'ComboBindingComponent' ,
112- shortenComponentPathBy : " /lists/combo/"
113+ shortenComponentPathBy : ' /lists/combo/'
113114 } ) ) ;
114115
115116 configs . push ( new Config ( {
116- additionalFiles : [ " /src/app/lists/combo/combo-valuekey/cities.ts" ] ,
117+ additionalFiles : [ ' /src/app/lists/combo/combo-valuekey/cities.ts' ] ,
117118 appModuleConfig : new AppModuleConfig ( {
118119 imports : [ 'IgxComboModule' , 'IgxButtonModule' , 'ComboValueKeyComponent' ] ,
119120 ngDeclarations : [ 'ComboValueKeyComponent' ] ,
120121 ngImports : [ 'IgxComboModule' , 'IgxButtonModule' ]
121122 } ) ,
122123 component : 'ComboValueKeyComponent' ,
123- shortenComponentPathBy : " /lists/combo/"
124+ shortenComponentPathBy : ' /lists/combo/'
124125 } ) ) ;
125126
126127 return configs ;
0 commit comments