-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathQueryBuilderConfigGenerator.ts
More file actions
30 lines (24 loc) · 1.01 KB
/
QueryBuilderConfigGenerator.ts
File metadata and controls
30 lines (24 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { Config, IConfigGenerator} from 'igniteui-live-editing'
import { BaseAppConfig } from './BaseConfig';
export class QueryBuilderConfigGenerator implements IConfigGenerator {
public generateConfigs(): Config[] {
const configs = new Array<Config>();
configs.push(new Config({
component: 'QueryBuilderSample1Component',
appConfig: BaseAppConfig,
shortenComponentPathBy: "/interactions/query-builder/"
}));
configs.push(new Config({
component: 'QueryBuilderTemplateSampleComponent',
appConfig: BaseAppConfig,
shortenComponentPathBy: "/interactions/query-builder/"
}));
configs.push(new Config({
component: 'QueryBuilderStyleComponent',
additionalFiles: ["/src/app/interactions/query-builder/query-builder-style/layout.scss"],
appConfig: BaseAppConfig,
shortenComponentPathBy: "/interactions/query-builder/"
}));
return configs;
}
}