@@ -15,21 +15,33 @@ import { BrowserModule, HammerModule } from '@angular/platform-browser';
15
15
import { RouterModule } from '@angular/router' ;
16
16
import { BrowserAnimationsModule } from '@angular/platform-browser/animations' ;
17
17
import { FormsModule } from '@angular/forms' ;
18
+ import { IgxPreventDocumentScrollModule } from '../../src/app/directives/prevent-scroll.directive' ;
19
+ import { GridsCrmModule } from '../../projects/app-crm/src/app/grid-crm/grid-crm.module' ;
18
20
19
21
export class GridCRMConfigGenerator implements IConfigGenerator {
20
22
public generateConfigs ( ) : Config [ ] {
21
23
const configs = new Array < Config > ( ) ;
22
24
23
25
configs . push ( new Config ( {
24
26
component : 'GridCRMComponent' ,
25
- additionalFiles : [ '/src/app/directives/prevent-scroll.directive.ts' ,
26
- '/projects/app-crm/src/_app-layout.scss' , '/projects/app-crm/src/_variables.scss' ] ,
27
+ additionalFiles : [
28
+ '/src/app/directives/prevent-scroll.directive.ts' ,
29
+ '/projects/app-crm/src/_app-layout.scss' ,
30
+ '/projects/app-crm/src/_variables.scss' ,
31
+ '/projects/app-crm/src/app/grid-crm/data.ts'
32
+ ] ,
27
33
additionalDependencies : [ ] ,
28
34
appModuleConfig : new AppModuleConfig ( {
29
- imports : [ 'BrowserModule' , 'RouterModule' , 'BrowserAnimationsModule' , 'FormsModule' , 'HammerModule' ] ,
30
- ngDeclarations : [ 'GridCRMComponent' ] ,
31
- ngImports : [ 'IgxAutocompleteModule' , 'IgxRippleModule' , 'IgxGridModule' , 'IgxIconModule' , 'IgxLayoutModule' ,
32
- 'IgxAvatarModule' , 'IgxInputGroupModule' , 'IgxButtonModule' , 'IgxPreventDocumentScrollModule' ]
35
+ imports : [
36
+ 'RouterModule' , 'HammerModule' , 'IgxAutocompleteModule' , 'IgxRippleModule' ,
37
+ 'IgxGridModule' , 'IgxIconModule' , 'IgxLayoutModule' ,
38
+ 'IgxAvatarModule' , 'IgxInputGroupModule' , 'IgxButtonModule' ,
39
+ 'IgxPreventDocumentScrollModule' , 'GridsCrmModule'
40
+ ] ,
41
+ ngDeclarations : [ ] ,
42
+ ngImports : [ 'IgxPreventDocumentScrollModule' , 'IgxRippleModule' ,
43
+ 'IgxGridModule' , 'IgxIconModule' , 'IgxLayoutModule' ,
44
+ 'IgxAvatarModule' , 'IgxInputGroupModule' , 'IgxButtonModule' , 'GridsCrmModule' ]
33
45
} )
34
46
} ) ) ;
35
47
0 commit comments