Skip to content

Commit

Permalink
Merge pull request #1390 from IgniteUI/tzhelev/esf-load-on-demand-sample
Browse files Browse the repository at this point in the history
Add ESF Load On Demand samples
  • Loading branch information
DiyanDimitrov authored Sep 2, 2019
2 parents 317c757 + a733710 commit 3fc9d45
Show file tree
Hide file tree
Showing 25 changed files with 766 additions and 2 deletions.
16 changes: 16 additions & 0 deletions live-editing/configs/GridConfigGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ import {
import {
ExcelStyleFilteringStyleComponent
} from "../../src/app/grid/grid-excel-style-filtering-style/grid-excel-style-filtering-style.component";
import {
GridExcelStyleFilteringLoadOnDemandComponent
} from "../../src/app/grid/grid-excel-style-filtering-load-on-demand/grid-excel-style-filtering-load-on-demand.component";
import { FilteringSampleComponent } from "../../src/app/grid/grid-filtering-sample/grid-filtering-sample.component";
import { GridFilteringStyleComponent } from "../../src/app/grid/grid-filtering-style/grid-filtering-style.component";
import {
Expand Down Expand Up @@ -163,6 +166,7 @@ import { DataService } from "../../src/app/grid/services/data.service";
import { RemoteFilteringService } from "../../src/app/grid/services/remoteFilteringService";
import { RemotePagingService } from "../../src/app/grid/services/remotePagingService";
import { RemoteServiceVirt } from "../../src/app/grid/services/remoteService";
import { RemoteValuesService } from "../../src/app/grid/grid-excel-style-filtering-load-on-demand/remoteValues.service";
import { AppModuleConfig } from "./core/AppModuleConfig";
import { Config } from "./core/Config";
import { IConfigGenerator } from "./core/IConfigGenerator";
Expand Down Expand Up @@ -731,6 +735,18 @@ export class GridConfigGenerator implements IConfigGenerator {
})
}));

configs.push(new Config({
component: GridExcelStyleFilteringLoadOnDemandComponent,
additionalFiles: ["/src/app/grid/grid-excel-style-filtering-load-on-demand/remoteValues.service.ts",
"/src/app/grid/grid-excel-style-filtering-load-on-demand/employees.ts"],
appModuleConfig: new AppModuleConfig({
imports: [GridExcelStyleFilteringLoadOnDemandComponent, IgxGridModule, RemoteValuesService],
ngDeclarations: [GridExcelStyleFilteringLoadOnDemandComponent],
ngImports: [IgxGridModule],
ngProviders: [RemoteValuesService]
})
}));

configs.push(new Config({
component: ExcelStyleFilteringStyleComponent,
additionalFiles: ["/src/app/data/nwindData.ts"],
Expand Down
15 changes: 15 additions & 0 deletions live-editing/configs/HierarchicalGridConfigGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import { HGridDisplayDensitySampleComponent } from "../../src/app/hierarchical-g
import { HGridEditingEventsComponent } from "../../src/app/hierarchical-grid/hierarchical-grid-editing-events/hierarchical-grid-editing-events.component";
import { HGridEditingStyleComponent } from "../../src/app/hierarchical-grid/hierarchical-grid-editing-style/hierarchical-grid-editing-style.component";
import { HGridEditingSampleComponent } from "../../src/app/hierarchical-grid/hierarchical-grid-editing/hierarchical-grid-editing.component";
import { HierarchicalGridExcelStyleFilteringLoadOnDemandComponent } from "../../src/app/hierarchical-grid/hierarchical-grid-excel-style-filtering-load-on-demand/hierarchical-grid-excel-style-filtering-load-on-demand.component";
import {
HGridExcelStyleFilteringSample1Component
} from "../../src/app/hierarchical-grid/hierarchical-grid-excel-style-filtering-sample-1/hierarchical-grid-excel-style-filtering-sample-1.component";
Expand Down Expand Up @@ -75,6 +76,7 @@ import { HGridToolbarCustomSampleComponent } from "../../src/app/hierarchical-gr
import { HGridToolbarOptionsSampleComponent } from "../../src/app/hierarchical-grid/hierarchical-grid-toolbar/hierarchical-grid-toolbar-options.component";
import { HGridToolbarTitleSampleComponent } from "../../src/app/hierarchical-grid/hierarchical-grid-toolbar/hierarchical-grid-toolbar-title.component";
import { RemoteLoDService } from "../../src/app/hierarchical-grid/services/remote-lod.service";
import { RemoteValuesService } from "../../src/app/hierarchical-grid/hierarchical-grid-excel-style-filtering-load-on-demand/remoteValues.service";
import { AppModuleConfig } from "./core/AppModuleConfig";
import { Config } from "./core/Config";
import { IConfigGenerator } from "./core/IConfigGenerator";
Expand Down Expand Up @@ -490,6 +492,19 @@ export class HierarchicalGridConfigGenerator implements IConfigGenerator {
component: HierarchicalGridLoDSampleComponent
}));

// Hierarchical Grid Excel Style Filtering Load On Demand Sample
configs.push(new Config({
additionalFiles: ["/src/app/hierarchical-grid/hierarchical-grid-excel-style-filtering-load-on-demand/remoteValues.service.ts",
"/src/app/hierarchical-grid/data.ts"],
appModuleConfig: new AppModuleConfig({
imports: [IgxHierarchicalGridModule, HierarchicalGridExcelStyleFilteringLoadOnDemandComponent, RemoteValuesService],
ngDeclarations: [HierarchicalGridExcelStyleFilteringLoadOnDemandComponent],
ngImports: [IgxHierarchicalGridModule],
ngProviders: [RemoteValuesService]
}),
component: HierarchicalGridExcelStyleFilteringLoadOnDemandComponent
}));

configs.push(new Config({
additionalFiles: ["/src/app/data/files.data.ts"],
appModuleConfig: new AppModuleConfig({
Expand Down
15 changes: 15 additions & 0 deletions live-editing/configs/TreeGridConfigGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import { TreeGridDisplaydensitySampleComponent } from "../../src/app/tree-grid/t
import { TreeGridEditingEventsComponent } from "../../src/app/tree-grid/tree-grid-editing-events/tree-grid-editing-events.component";
import { TreeGridEditingSampleComponent } from "../../src/app/tree-grid/tree-grid-editing-sample/tree-grid-editing-sample.component";
import { TreeGridEditingStyleComponent } from "../../src/app/tree-grid/tree-grid-editing-style/tree-grid-editing-sample.component";
import { TreeGridExcelStyleFilteringLoadOnDemandComponent } from '../../src/app/tree-grid/tree-grid-excel-style-filtering-load-on-demand/tree-grid-excel-style-filtering-load-on-demand.component';
import {
TreeGridExcelStyleFilteringSample1Component
} from "../../src/app/tree-grid/tree-grid-excel-style-filtering-sample-1/tree-grid-excel-style-filtering-sample-1.component";
Expand Down Expand Up @@ -87,6 +88,7 @@ import { TreeGridToolbarSample3Component } from "../../src/app/tree-grid/tree-gr
import { TreeGridToolbarSample4Component } from "../../src/app/tree-grid/tree-grid-toolbar-sample-4/tree-grid-toolbar-sample-4.component";
import { TreeGridToolbarStyleComponent } from "../../src/app/tree-grid/tree-grid-toolbar-style/tree-grid-toolbar-style.component";
import { TreeGridVirtualizationSampleComponent } from "../../src/app/tree-grid/tree-grid-virtualization-sample/tree-grid-virtualization-sample.component";
import { RemoteValuesService } from '../../src/app/tree-grid/tree-grid-excel-style-filtering-load-on-demand/remoteValues.service';
import { AppModuleConfig } from "./core/AppModuleConfig";
import { Config } from "./core/Config";
import { IConfigGenerator } from "./core/IConfigGenerator";
Expand Down Expand Up @@ -662,6 +664,19 @@ export class TreeGridConfigGenerator implements IConfigGenerator {
component: TreeGridLoadOnDemandSampleComponent
}));

// TreeGrid Excel Style Filtering Load On Demand Sample
configs.push(new Config({
additionalFiles: ["/src/app/tree-grid/tree-grid-excel-style-filtering-load-on-demand/remoteValues.service.ts",
"/src/app/tree-grid/data/employees-flat.ts"],
appModuleConfig: new AppModuleConfig({
imports: [IgxTreeGridModule, TreeGridExcelStyleFilteringLoadOnDemandComponent, IgxIconModule, RemoteValuesService],
ngDeclarations: [TreeGridExcelStyleFilteringLoadOnDemandComponent],
ngImports: [IgxTreeGridModule, IgxIconModule],
ngProviders: [RemoteValuesService]
}),
component: TreeGridExcelStyleFilteringLoadOnDemandComponent
}));

// Tree Grid Row Drag - Advanced Sample
configs.push(new Config({
additionalFiles: ["/src/app/tree-grid/data/employees.ts"],
Expand Down
Loading

0 comments on commit 3fc9d45

Please sign in to comment.