@@ -39,8 +39,6 @@ import {AppModuleConfig, Config, IConfigGenerator} from 'igniteui-live-editing';
3939export class GridConfigGenerator implements IConfigGenerator {
4040 public additionalImports = {
4141 IgxPreventDocumentScrollModule : '../../src/app/directives/prevent-scroll.directive' ,
42- GridWithTransactionsComponent : '../../src/app/grid/grid-batch-editing/grid-transaction.component' ,
43- GridWithTransactions2Component : '../../src/app/grid/grid-batchEditing-remotePaging/transaction.component' ,
4442 ContextmenuComponent : '../../src/app/grid/grid-contextmenu-sample/contextmenu/contextmenu.component' ,
4543 RemoteValuesService : '../../src/app/grid/grid-excel-style-filtering-load-on-demand/remoteValues.service' ,
4644 PlanetComponent : '../../src/app/grid/grid-row-drag/planet/planet.component' ,
@@ -504,6 +502,17 @@ export class GridConfigGenerator implements IConfigGenerator {
504502 } )
505503 } ) ) ;
506504
505+ configs . push ( new Config ( {
506+ component : 'GridMultiColumnHeadersExportComponent' ,
507+ additionalFiles : [ '/src/app/directives/prevent-scroll.directive.ts' , '/src/app/data/customers.ts' ] ,
508+ appModuleConfig : new AppModuleConfig ( {
509+ imports : [ 'GridMultiColumnHeadersExportComponent' , 'IgxGridModule' , 'IgxPreventDocumentScrollModule' , 'IgxExcelExporterService' ] ,
510+ ngDeclarations : [ 'GridMultiColumnHeadersExportComponent' ] ,
511+ ngImports : [ 'IgxPreventDocumentScrollModule' , 'IgxGridModule' ] ,
512+ ngProviders : [ 'IgxExcelExporterService' ]
513+ } )
514+ } ) ) ;
515+
507516 configs . push ( new Config ( {
508517 component : 'RemotePagingGridSampleComponent' ,
509518 additionalFiles : [ '/src/app/directives/prevent-scroll.directive.ts' , '/src/app/services/remotePaging.service.ts' ] ,
@@ -565,12 +574,11 @@ export class GridConfigGenerator implements IConfigGenerator {
565574 // Grid Batch Editing
566575 configs . push ( new Config ( {
567576 component : 'GridBatchEditingSampleComponent' ,
568- additionalFiles : [ '/src/app/directives/prevent-scroll.directive.ts' , '/src/app/data/nwindData.ts' , '/src/app/data/utils.ts' ,
569- '/src/app/grid/grid-batch-editing/grid-transaction.component.ts' ] ,
577+ additionalFiles : [ '/src/app/directives/prevent-scroll.directive.ts' , '/src/app/data/nwindData.ts' , '/src/app/data/utils.ts' ] ,
570578 appModuleConfig : new AppModuleConfig ( {
571579 imports : [ 'GridBatchEditingSampleComponent' , 'IgxGridModule' , 'IgxDialogModule' , 'IgxButtonModule' ,
572- 'IgxFocusModule' , 'GridWithTransactionsComponent' , ' IgxPreventDocumentScrollModule'] ,
573- ngDeclarations : [ 'GridBatchEditingSampleComponent' , 'GridWithTransactionsComponent' ] ,
580+ 'IgxFocusModule' , 'IgxPreventDocumentScrollModule' ] ,
581+ ngDeclarations : [ 'GridBatchEditingSampleComponent' ] ,
574582 ngImports : [ 'IgxPreventDocumentScrollModule' , 'IgxGridModule' , 'IgxDialogModule' , 'IgxButtonModule' ,
575583 'IgxFocusModule' ]
576584 } )
@@ -579,12 +587,11 @@ export class GridConfigGenerator implements IConfigGenerator {
579587 // Grid with Action Strip
580588 configs . push ( new Config ( {
581589 component : 'GridActionStripSampleComponent' ,
582- additionalFiles : [ '/src/app/directives/prevent-scroll.directive.ts' , '/src/app/data/nwindData.ts' , '/src/app/data/utils.ts' ,
583- '/src/app/grid/grid-batch-editing/grid-transaction.component.ts' ] ,
590+ additionalFiles : [ '/src/app/directives/prevent-scroll.directive.ts' , '/src/app/data/nwindData.ts' , '/src/app/data/utils.ts' ] ,
584591 appModuleConfig : new AppModuleConfig ( {
585592 imports : [ 'GridActionStripSampleComponent' , 'IgxGridModule' , 'IgxDialogModule' , 'IgxButtonModule' ,
586- 'IgxFocusModule' , 'GridWithTransactionsComponent' , ' IgxPreventDocumentScrollModule', 'IgxActionStripModule' ] ,
587- ngDeclarations : [ 'GridActionStripSampleComponent' , 'GridWithTransactionsComponent' ] ,
593+ 'IgxFocusModule' , 'IgxPreventDocumentScrollModule' , 'IgxActionStripModule' ] ,
594+ ngDeclarations : [ 'GridActionStripSampleComponent' ] ,
588595 ngImports : [ 'IgxPreventDocumentScrollModule' , 'IgxGridModule' , 'IgxDialogModule' , 'IgxButtonModule' , 'IgxActionStripModule' ,
589596 'IgxFocusModule' ]
590597 } )
@@ -897,6 +904,18 @@ export class GridConfigGenerator implements IConfigGenerator {
897904 } )
898905 } ) ) ;
899906
907+ configs . push ( new Config ( {
908+ component : 'GridDropIndicatorComponent' ,
909+ additionalFiles : [ '/src/app/directives/prevent-scroll.directive.ts' ,
910+ '/src/app/data/customers.ts'
911+ ] ,
912+ appModuleConfig : new AppModuleConfig ( {
913+ imports : [ 'IgxGridModule' , 'GridDropIndicatorComponent' , 'IgxDragDropModule' , 'IgxPreventDocumentScrollModule' ] ,
914+ ngDeclarations : [ 'GridDropIndicatorComponent' ] ,
915+ ngImports : [ 'IgxPreventDocumentScrollModule' , 'IgxGridModule' , 'IgxDragDropModule' ]
916+ } )
917+ } ) ) ;
918+
900919 configs . push ( new Config ( {
901920 component : 'GridGroupByPagingSampleComponent' ,
902921 additionalFiles : [ '/src/app/directives/prevent-scroll.directive.ts' ,
@@ -1164,12 +1183,11 @@ export class GridConfigGenerator implements IConfigGenerator {
11641183 // Grid Batch Editing with remote paging
11651184 configs . push ( new Config ( {
11661185 component : 'RemotePagingBatchEditingComponent' ,
1167- additionalFiles : [ '/src/app/directives/prevent-scroll.directive.ts' , '/src/app/data/utils.ts' ,
1168- '/src/app/grid/grid-batchEditing-remotePaging/transaction.component.ts' , '/src/app/services/remotePaging.service.ts' ] ,
1186+ additionalFiles : [ '/src/app/directives/prevent-scroll.directive.ts' , '/src/app/data/utils.ts' , '/src/app/services/remotePaging.service.ts' ] ,
11691187 appModuleConfig : new AppModuleConfig ( {
11701188 imports : [ 'RemotePagingBatchEditingComponent' , 'IgxGridModule' , 'IgxDialogModule' , 'IgxButtonModule' ,
1171- 'GridWithTransactions2Component' , ' RemotePagingService', 'HttpClientModule' , 'IgxPreventDocumentScrollModule' ] ,
1172- ngDeclarations : [ 'RemotePagingBatchEditingComponent' , 'GridWithTransactions2Component' ] ,
1189+ 'RemotePagingService' , 'HttpClientModule' , 'IgxPreventDocumentScrollModule' ] ,
1190+ ngDeclarations : [ 'RemotePagingBatchEditingComponent' ] ,
11731191 ngImports : [ 'IgxPreventDocumentScrollModule' , 'IgxGridModule' , 'IgxDialogModule' , 'IgxButtonModule' ,
11741192 'HttpClientModule' ] ,
11751193 ngProviders : [ 'RemotePagingService' ]
0 commit comments