@syncfusion/ej2-angular-treegrid 32.2.9 → 33.1.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -71
- package/package.json +4 -4
- package/schematics/collection.json +10 -19
- package/schematics/ng-add/index.ts +10 -10
- package/schematics/ng-add/schema.json +34 -34
- package/schematics/ng-add/schema.ts +30 -30
- package/schematics/tsconfig.json +25 -25
- package/schematics/utils/lib-details.d.ts +2 -2
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +4 -4
- package/schematics/generators/treegrid-default/index.d.ts +0 -3
- package/schematics/generators/treegrid-default/index.js +0 -8
- package/schematics/generators/treegrid-default/index.ts +0 -8
- package/schematics/generators/treegrid-default/sample-details.d.ts +0 -5
- package/schematics/generators/treegrid-default/sample-details.js +0 -7
- package/schematics/generators/treegrid-default/sample-details.ts +0 -5
- package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -5
- package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
- package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -143
- package/schematics/generators/treegrid-default/schema.d.ts +0 -3
- package/schematics/generators/treegrid-default/schema.js +0 -2
- package/schematics/generators/treegrid-default/schema.json +0 -125
- package/schematics/generators/treegrid-default/schema.ts +0 -3
- package/schematics/generators/treegrid-feature/index.d.ts +0 -3
- package/schematics/generators/treegrid-feature/index.js +0 -8
- package/schematics/generators/treegrid-feature/index.ts +0 -8
- package/schematics/generators/treegrid-feature/sample-details.d.ts +0 -5
- package/schematics/generators/treegrid-feature/sample-details.js +0 -7
- package/schematics/generators/treegrid-feature/sample-details.ts +0 -5
- package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -5
- package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
- package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -144
- package/schematics/generators/treegrid-feature/schema.d.ts +0 -3
- package/schematics/generators/treegrid-feature/schema.js +0 -2
- package/schematics/generators/treegrid-feature/schema.json +0 -125
- package/schematics/generators/treegrid-feature/schema.ts +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -4,68 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
### Tree Grid
|
|
6
6
|
|
|
7
|
-
#### Bug Fixes
|
|
8
|
-
|
|
9
|
-
- `#F72695` - Fixed an issue where child records were not exported in remote data when `isCollapsedStatePersist` is set to false.
|
|
10
|
-
|
|
11
|
-
- `#F72864` - Fixed an issue in virtual scrolling where the white space issue occurs when the page size is higher than the actual records count.
|
|
12
|
-
|
|
13
|
-
## 32.2.7 (2026-02-24)
|
|
14
|
-
|
|
15
|
-
### Tree Grid
|
|
16
|
-
|
|
17
|
-
#### Bug Fixes
|
|
18
|
-
|
|
19
|
-
- `I811698` - Resolved an issue where the records expand on clearing filter in virtualization when the filter type is `Excel`.
|
|
20
|
-
|
|
21
|
-
## 32.2.3 (2026-02-05)
|
|
22
|
-
|
|
23
|
-
### Tree Grid
|
|
24
|
-
|
|
25
|
-
#### Bug Fixes
|
|
26
|
-
|
|
27
|
-
- `I806463` - Resolved an issue where the `actionFailure` event was triggered even when the checkbox column and the tree column were the same.
|
|
28
|
-
|
|
29
|
-
- `#F71783` - Fixed an issue where the next set of data not rendered on collapsing records when infinite scrolling is enabled.
|
|
30
|
-
|
|
31
|
-
- `I805487` - Resolved an issue where data was not added correctly using the `addRecord` method when batch editing, persistence, and multiple selection were enabled.
|
|
32
|
-
|
|
33
|
-
## 32.1.25 (2026-01-27)
|
|
34
|
-
|
|
35
|
-
### Tree Grid
|
|
36
|
-
|
|
37
|
-
#### Bug Fixes
|
|
38
|
-
|
|
39
|
-
-`I798336` - Resolved the issue where selection was not cleared after actions when Single Selection and `persistSelection` were enabled.
|
|
40
|
-
|
|
41
|
-
## 32.1.24 (2026-01-20)
|
|
42
|
-
|
|
43
|
-
### Tree Grid
|
|
44
|
-
|
|
45
|
-
#### Bug Fixes
|
|
46
|
-
|
|
47
|
-
- `I792894` - Resolved TreeGrid scroll reset after cell editing with aggregates enabled
|
|
48
|
-
|
|
49
|
-
## 32.1.22 (2026-01-06)
|
|
50
|
-
|
|
51
|
-
### Tree Grid
|
|
52
|
-
|
|
53
|
-
#### Bug Fixes
|
|
54
|
-
|
|
55
|
-
- `#I789011` - Fixed the issue where `getCheckedRecords` method returns empty after expanding / collapsing a record.
|
|
56
|
-
|
|
57
|
-
## 32.1.21 (2025-12-30)
|
|
58
|
-
|
|
59
|
-
### Tree Grid
|
|
60
|
-
|
|
61
|
-
#### Bug Fixes
|
|
62
|
-
|
|
63
|
-
- `#F71755` - Fixed an error that occurred when binding the action failure event with frozen columns in the Tree Grid.
|
|
64
|
-
|
|
65
|
-
## 32.1.19 (2025-12-16)
|
|
66
|
-
|
|
67
|
-
### Tree Grid
|
|
68
|
-
|
|
69
7
|
#### Features
|
|
70
8
|
|
|
71
9
|
- Introduced sticky header support in the Tree Grid, allowing column headers to stay fixed during scrolling. This improves navigation and readability in large hierarchical data views. Explore the demo [here](https://ej2.syncfusion.com/demos/#/tailwind3/tree-grid/sticky-header.html).
|
|
@@ -248,15 +186,7 @@
|
|
|
248
186
|
|
|
249
187
|
- Expanding and Collapsing records is working fine when `pageSizeMode` is set as `All`.
|
|
250
188
|
- `expandAtLevel`, `collapseAtLevel`, `expandAll` and `collapseAll` methods are working fine when `pageSizeMode` is set as `All`.- `actionBegin`, `actionComplete` and `actionFailure` events are triggered properly.
|
|
251
|
-
- Additional parameters that are added using the `query` property of TreeGrid are passed to the server side when a parent record is expanded.##
|
|
252
|
-
|
|
253
|
-
### Tree Grid
|
|
254
|
-
|
|
255
|
-
#### Bug Fixes
|
|
256
|
-
|
|
257
|
-
- `I805487` - Resolved an issue where data was not added correctly using the `addRecord` method when batch editing, persistence, and multiple selection were enabled.
|
|
258
|
-
|
|
259
|
-
## 19.1.54 (2021-03-30)
|
|
189
|
+
- Additional parameters that are added using the `query` property of TreeGrid are passed to the server side when a parent record is expanded.## 19.1.54 (2021-03-30)
|
|
260
190
|
|
|
261
191
|
### Tree Grid
|
|
262
192
|
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncfusion/ej2-angular-treegrid",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "33.1.44",
|
|
4
4
|
"description": "Essential JS 2 TreeGrid Component for Angular",
|
|
5
5
|
"author": "Syncfusion Inc.",
|
|
6
6
|
"license": "SEE LICENSE IN license",
|
|
7
7
|
"schematics": "./schematics/collection.json",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@syncfusion/ej2-base": "~
|
|
10
|
-
"@syncfusion/ej2-angular-base": "~
|
|
11
|
-
"@syncfusion/ej2-treegrid": "
|
|
9
|
+
"@syncfusion/ej2-base": "~33.1.44",
|
|
10
|
+
"@syncfusion/ej2-angular-base": "~33.1.44",
|
|
11
|
+
"@syncfusion/ej2-treegrid": "33.1.44"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
14
14
|
"angular",
|
|
@@ -1,20 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"schema": "./generators/treegrid-default/schema.json"
|
|
13
|
-
},
|
|
14
|
-
"treegrid-feature": {
|
|
15
|
-
"description": "Creates an Angular TreeGrid component with paging, filtering, sorting feature",
|
|
16
|
-
"factory": "./generators/treegrid-feature",
|
|
17
|
-
"schema": "./generators/treegrid-feature/schema.json"
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
2
|
+
"$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",
|
|
3
|
+
"schematics": {
|
|
4
|
+
"ng-add": {
|
|
5
|
+
"description": "Adds Essential JS 2 specific Angular package to an application",
|
|
6
|
+
"factory": "./ng-add",
|
|
7
|
+
"schema": "./ng-add/schema.json"
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { pkgName, pkgVer, moduleName, themeVer } from './../utils/lib-details';
|
|
2
|
-
import { install } from '@syncfusion/ej2-angular-base/schematics';
|
|
3
|
-
import { OptionsSchema, LibOptionsSchema } from './schema';
|
|
4
|
-
import { Rule } from '@angular-devkit/schematics';
|
|
5
|
-
|
|
6
|
-
export default function (options: OptionsSchema): Rule {
|
|
7
|
-
const libOptions: LibOptionsSchema = Object.assign({},
|
|
8
|
-
{ 'pkgName': pkgName, 'pkgVer': pkgVer, 'moduleName': moduleName, 'themeVer': themeVer });
|
|
9
|
-
return install(options, libOptions);
|
|
10
|
-
}
|
|
1
|
+
import { pkgName, pkgVer, moduleName, themeVer } from './../utils/lib-details';
|
|
2
|
+
import { install } from '@syncfusion/ej2-angular-base/schematics';
|
|
3
|
+
import { OptionsSchema, LibOptionsSchema } from './schema';
|
|
4
|
+
import { Rule } from '@angular-devkit/schematics';
|
|
5
|
+
|
|
6
|
+
export default function (options: OptionsSchema): Rule {
|
|
7
|
+
const libOptions: LibOptionsSchema = Object.assign({},
|
|
8
|
+
{ 'pkgName': pkgName, 'pkgVer': pkgVer, 'moduleName': moduleName, 'themeVer': themeVer });
|
|
9
|
+
return install(options, libOptions);
|
|
10
|
+
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"$id": "ngAdd",
|
|
4
|
-
"title": "Add Essential JS 2 Angular packages",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"skipPackageJson": {
|
|
8
|
-
"type": "boolean",
|
|
9
|
-
"default": false,
|
|
10
|
-
"description": "Do not add add Essential JS 2 Angular packages dependencies to package.json (e.g., --skipPackageJson)"
|
|
11
|
-
},
|
|
12
|
-
"modules": {
|
|
13
|
-
"type": "string",
|
|
14
|
-
"default": "",
|
|
15
|
-
"description": "Add only specific Essential JS 2 modules to the app.module file (eg: --modules=slider, grid)"
|
|
16
|
-
},
|
|
17
|
-
"modulePath": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"default": "",
|
|
20
|
-
"description": "Used to specify the path of the module file where the EJ2 module needs to be imported"
|
|
21
|
-
},
|
|
22
|
-
"theme": {
|
|
23
|
-
"enum": [
|
|
24
|
-
"material",
|
|
25
|
-
"fabric",
|
|
26
|
-
"bootstrap",
|
|
27
|
-
"highcontrast"
|
|
28
|
-
],
|
|
29
|
-
"default": "material",
|
|
30
|
-
"description": "Used to change the theme that needs to be imported"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"required": []
|
|
34
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "ngAdd",
|
|
4
|
+
"title": "Add Essential JS 2 Angular packages",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"skipPackageJson": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"default": false,
|
|
10
|
+
"description": "Do not add add Essential JS 2 Angular packages dependencies to package.json (e.g., --skipPackageJson)"
|
|
11
|
+
},
|
|
12
|
+
"modules": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"default": "",
|
|
15
|
+
"description": "Add only specific Essential JS 2 modules to the app.module file (eg: --modules=slider, grid)"
|
|
16
|
+
},
|
|
17
|
+
"modulePath": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"default": "",
|
|
20
|
+
"description": "Used to specify the path of the module file where the EJ2 module needs to be imported"
|
|
21
|
+
},
|
|
22
|
+
"theme": {
|
|
23
|
+
"enum": [
|
|
24
|
+
"material",
|
|
25
|
+
"fabric",
|
|
26
|
+
"bootstrap",
|
|
27
|
+
"highcontrast"
|
|
28
|
+
],
|
|
29
|
+
"default": "material",
|
|
30
|
+
"description": "Used to change the theme that needs to be imported"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required": []
|
|
34
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
export interface OptionsSchema {
|
|
2
|
-
// Whether to skip package.json install.
|
|
3
|
-
skipPackageJson: boolean;
|
|
4
|
-
|
|
5
|
-
// Used to specify required module names
|
|
6
|
-
modules: string;
|
|
7
|
-
|
|
8
|
-
// Used to specify custom module path
|
|
9
|
-
modulePath: string;
|
|
10
|
-
|
|
11
|
-
// Used to specify theme name
|
|
12
|
-
theme: 'material' | 'fabric' | 'bootstrap' | 'highcontrast';
|
|
13
|
-
|
|
14
|
-
// Name of the project to target.
|
|
15
|
-
project?: string;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export interface LibOptionsSchema {
|
|
19
|
-
// Package name
|
|
20
|
-
pkgName: string;
|
|
21
|
-
|
|
22
|
-
// Package version
|
|
23
|
-
pkgVer: string;
|
|
24
|
-
|
|
25
|
-
// Library base module name
|
|
26
|
-
moduleName: string;
|
|
27
|
-
|
|
28
|
-
// Theme version
|
|
29
|
-
themeVer: string;
|
|
30
|
-
}
|
|
1
|
+
export interface OptionsSchema {
|
|
2
|
+
// Whether to skip package.json install.
|
|
3
|
+
skipPackageJson: boolean;
|
|
4
|
+
|
|
5
|
+
// Used to specify required module names
|
|
6
|
+
modules: string;
|
|
7
|
+
|
|
8
|
+
// Used to specify custom module path
|
|
9
|
+
modulePath: string;
|
|
10
|
+
|
|
11
|
+
// Used to specify theme name
|
|
12
|
+
theme: 'material' | 'fabric' | 'bootstrap' | 'highcontrast';
|
|
13
|
+
|
|
14
|
+
// Name of the project to target.
|
|
15
|
+
project?: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface LibOptionsSchema {
|
|
19
|
+
// Package name
|
|
20
|
+
pkgName: string;
|
|
21
|
+
|
|
22
|
+
// Package version
|
|
23
|
+
pkgVer: string;
|
|
24
|
+
|
|
25
|
+
// Library base module name
|
|
26
|
+
moduleName: string;
|
|
27
|
+
|
|
28
|
+
// Theme version
|
|
29
|
+
themeVer: string;
|
|
30
|
+
}
|
package/schematics/tsconfig.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"lib": ["es2017", "dom"],
|
|
4
|
-
"module": "commonjs",
|
|
5
|
-
"moduleResolution": "node",
|
|
6
|
-
"noEmitOnError": false,
|
|
7
|
-
"skipDefaultLibCheck": true,
|
|
8
|
-
"skipLibCheck": true,
|
|
9
|
-
"sourceMap": true,
|
|
10
|
-
"target": "es6",
|
|
11
|
-
"declaration": true,
|
|
12
|
-
"types": [
|
|
13
|
-
"jasmine",
|
|
14
|
-
"node"
|
|
15
|
-
]
|
|
16
|
-
},
|
|
17
|
-
"exclude": [
|
|
18
|
-
"node_modules",
|
|
19
|
-
"src",
|
|
20
|
-
"src/**/*.ts",
|
|
21
|
-
"spec",
|
|
22
|
-
"spec/**/*.ts",
|
|
23
|
-
"@typings"
|
|
24
|
-
]
|
|
25
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"lib": ["es2017", "dom"],
|
|
4
|
+
"module": "commonjs",
|
|
5
|
+
"moduleResolution": "node",
|
|
6
|
+
"noEmitOnError": false,
|
|
7
|
+
"skipDefaultLibCheck": true,
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
"sourceMap": true,
|
|
10
|
+
"target": "es6",
|
|
11
|
+
"declaration": true,
|
|
12
|
+
"types": [
|
|
13
|
+
"jasmine",
|
|
14
|
+
"node"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"exclude": [
|
|
18
|
+
"node_modules",
|
|
19
|
+
"src",
|
|
20
|
+
"src/**/*.ts",
|
|
21
|
+
"spec",
|
|
22
|
+
"spec/**/*.ts",
|
|
23
|
+
"@typings"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const pkgName = "@syncfusion/ej2-angular-treegrid";
|
|
2
|
-
export declare const pkgVer = "^
|
|
2
|
+
export declare const pkgVer = "^20.12.1";
|
|
3
3
|
export declare const moduleName = "TreeGridModule";
|
|
4
|
-
export declare const themeVer = "~
|
|
4
|
+
export declare const themeVer = "~20.12.1";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.pkgName = '@syncfusion/ej2-angular-treegrid';
|
|
4
|
-
exports.pkgVer = '^
|
|
4
|
+
exports.pkgVer = '^33.1.44';
|
|
5
5
|
exports.moduleName = 'TreeGridModule';
|
|
6
|
-
exports.themeVer = '~
|
|
6
|
+
exports.themeVer = '~33.1.44';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const pkgName = '@syncfusion/ej2-angular-treegrid';
|
|
2
|
-
export const pkgVer = '^
|
|
3
|
-
export const moduleName = 'TreeGridModule';
|
|
4
|
-
export const themeVer = '~
|
|
1
|
+
export const pkgName = '@syncfusion/ej2-angular-treegrid';
|
|
2
|
+
export const pkgVer = '^33.1.44';
|
|
3
|
+
export const moduleName = 'TreeGridModule';
|
|
4
|
+
export const themeVer = '~33.1.44';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
|
|
4
|
-
const sampleDetails = require("./sample-details");
|
|
5
|
-
function default_1(options) {
|
|
6
|
-
return schematics_1.componentBuilder(options, sampleDetails);
|
|
7
|
-
}
|
|
8
|
-
exports.default = default_1;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Rule } from '@angular-devkit/schematics';
|
|
2
|
-
import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
|
|
3
|
-
import { Schema } from './schema';
|
|
4
|
-
import * as sampleDetails from './sample-details';
|
|
5
|
-
|
|
6
|
-
export default function (options: Schema): Rule {
|
|
7
|
-
return componentBuilder(options, sampleDetails);
|
|
8
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.componentName = 'treegrid';
|
|
4
|
-
exports.sampleName = 'default';
|
|
5
|
-
exports.diModules = null;
|
|
6
|
-
exports.packageName = '@syncfusion/ej2-angular-treegrid';
|
|
7
|
-
exports.libModules = 'TreeGridModule';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<div class="control-section">
|
|
2
|
-
<ejs-treegrid [dataSource]='data' height='350' [treeColumnIndex]='1' childMapping='subtasks'>
|
|
3
|
-
<e-columns>
|
|
4
|
-
<e-column field='taskID' headerText='Task ID' textAlign='Right' width=90></e-column>
|
|
5
|
-
<e-column field='taskName' headerText='Task Name' textAlign='Left' width=180></e-column>
|
|
6
|
-
<e-column field='startDate' headerText='Start Date' textAlign='Right' format='yMd' width=90></e-column>
|
|
7
|
-
<e-column field='duration' headerText='Duration' textAlign='Right' width=80></e-column>
|
|
8
|
-
</e-columns>
|
|
9
|
-
</ejs-treegrid>
|
|
10
|
-
</div>
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TreeGrid databinding Sample
|
|
3
|
-
*/
|
|
4
|
-
import { Component } from '@angular/core';
|
|
5
|
-
|
|
6
|
-
@Component({
|
|
7
|
-
selector: '<%=dasherize(selector)%>',
|
|
8
|
-
templateUrl: '<%=dasherize(name)%>.component.html',
|
|
9
|
-
styleUrls: ['<%=dasherize(name)%>.component.css']
|
|
10
|
-
})
|
|
11
|
-
|
|
12
|
-
export class <%= classify(name) %>Component {
|
|
13
|
-
|
|
14
|
-
public data: Object[] = [
|
|
15
|
-
{
|
|
16
|
-
taskID: 1,
|
|
17
|
-
taskName: "Planning",
|
|
18
|
-
startDate: new Date("02/03/2017"),
|
|
19
|
-
endDate: new Date("02/07/2017"),
|
|
20
|
-
progress: 100,
|
|
21
|
-
duration: 5,
|
|
22
|
-
priority: "Normal",
|
|
23
|
-
approved: false,
|
|
24
|
-
subtasks: [
|
|
25
|
-
{ taskID: 2, taskName: "Plan timeline", startDate: new Date("02/03/2017"), endDate: new Date("02/07/2017"), duration: 5, progress: 100, priority: "Normal", approved: false },
|
|
26
|
-
{ taskID: 3, taskName: "Plan budget", startDate: new Date("02/03/2017"), endDate: new Date("02/07/2017"), duration: 5, progress: 100, approved: true },
|
|
27
|
-
{ taskID: 4, taskName: "Allocate resources", startDate: new Date("02/03/2017"), endDate: new Date("02/07/2017"), duration: 5, progress: 100, priority: "Critical", approved: false },
|
|
28
|
-
{ taskID: 5, taskName: "Item can't be Dragged", startDate: new Date("02/07/2017"), endDate: new Date("02/07/2017"), duration: 0, progress: 0, priority: "Low", approved: true }
|
|
29
|
-
]
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
taskID: 6,
|
|
33
|
-
taskName: "Design",
|
|
34
|
-
startDate: new Date("02/10/2017"),
|
|
35
|
-
endDate: new Date("02/14/2017"),
|
|
36
|
-
duration: 3,
|
|
37
|
-
progress: 86,
|
|
38
|
-
priority: "High",
|
|
39
|
-
approved: false,
|
|
40
|
-
subtasks: [
|
|
41
|
-
{ taskID: 7, taskName: "Software Specification", startDate: new Date("02/10/2017"), endDate: new Date("02/12/2017"), duration: 3, progress: 60, priority: "Normal", approved: false },
|
|
42
|
-
{ taskID: 8, taskName: "Develop prototype", startDate: new Date("02/10/2017"), endDate: new Date("02/12/2017"), duration: 3, progress: 100, priority: "Critical", approved: false },
|
|
43
|
-
{ taskID: 9, taskName: "Get approval from customer", startDate: new Date("02/13/2017"), endDate: new Date("02/14/2017"), duration: 2, progress: 100, approved: true },
|
|
44
|
-
{ taskID: 10, taskName: "Design Documentation", startDate: new Date("02/13/2017"), endDate: new Date("02/14/2017"), duration: 2, progress: 100, approved: true },
|
|
45
|
-
{ taskID: 11, taskName: "Item can't be Dropped", startDate: new Date("02/14/2017"), endDate: new Date("02/14/2017"), duration: 0, progress: 0, priority: "Normal", approved: true }
|
|
46
|
-
]
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
taskID: 12,
|
|
50
|
-
taskName: "Implementation Phase",
|
|
51
|
-
startDate: new Date("02/17/2017"),
|
|
52
|
-
endDate: new Date("02/27/2017"),
|
|
53
|
-
priority: "Normal",
|
|
54
|
-
approved: false,
|
|
55
|
-
duration: 11,
|
|
56
|
-
subtasks: [
|
|
57
|
-
{
|
|
58
|
-
taskID: 13,
|
|
59
|
-
taskName: "Phase 1",
|
|
60
|
-
startDate: new Date("02/17/2017"),
|
|
61
|
-
endDate: new Date("02/27/2017"),
|
|
62
|
-
priority: "High",
|
|
63
|
-
approved: false,
|
|
64
|
-
duration: 11,
|
|
65
|
-
subtasks: [{
|
|
66
|
-
taskID: 14,
|
|
67
|
-
taskName: "Implementation Module 1",
|
|
68
|
-
startDate: new Date("02/17/2017"),
|
|
69
|
-
endDate: new Date("02/27/2017"),
|
|
70
|
-
priority: "Normal",
|
|
71
|
-
duration: 11,
|
|
72
|
-
approved: false,
|
|
73
|
-
subtasks: [
|
|
74
|
-
{ taskID: 15, taskName: "Development Task 1", startDate: new Date("02/17/2017"), endDate: new Date("02/19/2017"), duration: 3, progress: "50", priority: "High", approved: false },
|
|
75
|
-
{ taskID: 16, taskName: "Development Task 2", startDate: new Date("02/17/2017"), endDate: new Date("02/19/2017"), duration: 3, progress: "50", priority: "Low", approved: true },
|
|
76
|
-
{ taskID: 17, taskName: "Testing", startDate: new Date("02/20/2017"), endDate: new Date("02/21/2017"), duration: 2, progress: "0", priority: "Normal", approved: true },
|
|
77
|
-
{ taskID: 18, taskName: "Bug fix", startDate: new Date("02/24/2017"), endDate: new Date("02/25/2017"), duration: 2, progress: "0", priority: "Critical", approved: false },
|
|
78
|
-
{ taskID: 19, taskName: "Customer review meeting", startDate: new Date("02/26/2017"), endDate: new Date("02/27/2017"), duration: 2, progress: "0", priority: "High", approved: false },
|
|
79
|
-
{ taskID: 20, taskName: "Phase 1 complete", startDate: new Date("02/27/2017"), endDate: new Date("02/27/2017"), duration: 0, priority: "Low", approved: true }
|
|
80
|
-
|
|
81
|
-
]
|
|
82
|
-
}]
|
|
83
|
-
},
|
|
84
|
-
|
|
85
|
-
{
|
|
86
|
-
taskID: 21,
|
|
87
|
-
taskName: "Phase 2",
|
|
88
|
-
startDate: new Date("02/17/2017"),
|
|
89
|
-
endDate: new Date("02/28/2017"),
|
|
90
|
-
priority: "High",
|
|
91
|
-
approved: false,
|
|
92
|
-
duration: 12,
|
|
93
|
-
subtasks: [{
|
|
94
|
-
taskID: 22,
|
|
95
|
-
taskName: "Implementation Module 2",
|
|
96
|
-
startDate: new Date("02/17/2017"),
|
|
97
|
-
endDate: new Date("02/28/2017"),
|
|
98
|
-
priority: "Critical",
|
|
99
|
-
approved: false,
|
|
100
|
-
duration: 12,
|
|
101
|
-
subtasks: [
|
|
102
|
-
{ taskID: 23, taskName: "Development Task 1", startDate: new Date("02/17/2017"), endDate: new Date("02/20/2017"), duration: 4, progress: "50", priority: "Normal", approved: true },
|
|
103
|
-
{ taskID: 24, taskName: "Development Task 2", startDate: new Date("02/17/2017"), endDate: new Date("02/20/2017"), duration: 4, progress: "50", priority: "Critical", approved: true },
|
|
104
|
-
{ taskID: 25, taskName: "Testing", startDate: new Date("02/21/2017"), endDate: new Date("02/24/2017"), duration: 2, progress: "0", priority: "High", approved: false },
|
|
105
|
-
{ taskID: 26, taskName: "Bug fix", startDate: new Date("02/25/2017"), endDate: new Date("02/26/2017"), duration: 2, progress: "0", priority: "Low", approved: false },
|
|
106
|
-
{ taskID: 27, taskName: "Customer review meeting", startDate: new Date("02/27/2017"), endDate: new Date("02/28/2017"), duration: 2, progress: "0", priority: "Critical", approved: true },
|
|
107
|
-
{ taskID: 28, taskName: "Phase 2 complete", startDate: new Date("02/28/2017"), endDate: new Date("02/28/2017"), duration: 0, priority: "Normal", approved: false }
|
|
108
|
-
|
|
109
|
-
]
|
|
110
|
-
}]
|
|
111
|
-
},
|
|
112
|
-
|
|
113
|
-
{
|
|
114
|
-
taskID: 29,
|
|
115
|
-
taskName: "Phase 3",
|
|
116
|
-
startDate: new Date("02/17/2017"),
|
|
117
|
-
endDate: new Date("02/27/2017"),
|
|
118
|
-
priority: "Normal",
|
|
119
|
-
approved: false,
|
|
120
|
-
duration: 11,
|
|
121
|
-
subtasks: [{
|
|
122
|
-
taskID: 30,
|
|
123
|
-
taskName: "Implementation Module 3",
|
|
124
|
-
startDate: new Date("02/17/2017"),
|
|
125
|
-
endDate: new Date("02/27/2017"),
|
|
126
|
-
priority: "High",
|
|
127
|
-
approved: false,
|
|
128
|
-
duration: 11,
|
|
129
|
-
subtasks: [
|
|
130
|
-
{ taskID: 31, taskName: "Development Task 1", startDate: new Date("02/17/2017"), endDate: new Date("02/19/2017"), duration: 3, progress: "50", priority: "Low", approved: true },
|
|
131
|
-
{ taskID: 32, taskName: "Development Task 2", startDate: new Date("02/17/2017"), endDate: new Date("02/19/2017"), duration: 3, progress: "50", priority: "Normal", approved: false },
|
|
132
|
-
{ taskID: 33, taskName: "Testing", startDate: new Date("02/20/2017"), endDate: new Date("02/21/2017"), duration: 2, progress: "0", priority: "Critical", approved: true },
|
|
133
|
-
{ taskID: 34, taskName: "Bug fix", startDate: new Date("02/24/2017"), endDate: new Date("02/25/2017"), duration: 2, progress: "0", priority: "High", approved: false },
|
|
134
|
-
{ taskID: 35, taskName: "Customer review meeting", startDate: new Date("02/26/2017"), endDate: new Date("02/27/2017"), duration: 2, progress: "0", priority: "Normal", approved: true },
|
|
135
|
-
{ taskID: 36, taskName: "Phase 3 complete", startDate: new Date("02/27/2017"), endDate: new Date("02/27/2017"), duration: 0, priority: "Critical", approved: false },
|
|
136
|
-
|
|
137
|
-
]
|
|
138
|
-
}]
|
|
139
|
-
}
|
|
140
|
-
]
|
|
141
|
-
}
|
|
142
|
-
];
|
|
143
|
-
}
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"$id": "EJ2SchemaTemplateID",
|
|
4
|
-
"title": "treegrid-default",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"path": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"format": "path",
|
|
10
|
-
"description": "The path to create the component.",
|
|
11
|
-
"visible": false
|
|
12
|
-
},
|
|
13
|
-
"project": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"description": "The name of the project.",
|
|
16
|
-
"$default": {
|
|
17
|
-
"$source": "projectName"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"name": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"description": "The name of the component.",
|
|
23
|
-
"$default": {
|
|
24
|
-
"$source": "argv",
|
|
25
|
-
"index": 0
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"inlineStyle": {
|
|
29
|
-
"description": "Specifies if the style will be in the ts file.",
|
|
30
|
-
"type": "boolean",
|
|
31
|
-
"default": false,
|
|
32
|
-
"alias": "s"
|
|
33
|
-
},
|
|
34
|
-
"inlineTemplate": {
|
|
35
|
-
"description": "Specifies if the template will be in the ts file.",
|
|
36
|
-
"type": "boolean",
|
|
37
|
-
"default": false,
|
|
38
|
-
"alias": "t"
|
|
39
|
-
},
|
|
40
|
-
"viewEncapsulation": {
|
|
41
|
-
"description": "Specifies the view encapsulation strategy.",
|
|
42
|
-
"enum": [
|
|
43
|
-
"Emulated",
|
|
44
|
-
"Native",
|
|
45
|
-
"None",
|
|
46
|
-
"ShadowDom"
|
|
47
|
-
],
|
|
48
|
-
"type": "string",
|
|
49
|
-
"alias": "v"
|
|
50
|
-
},
|
|
51
|
-
"changeDetection": {
|
|
52
|
-
"description": "Specifies the change detection strategy.",
|
|
53
|
-
"enum": [
|
|
54
|
-
"Default",
|
|
55
|
-
"OnPush"
|
|
56
|
-
],
|
|
57
|
-
"type": "string",
|
|
58
|
-
"default": "Default",
|
|
59
|
-
"alias": "c"
|
|
60
|
-
},
|
|
61
|
-
"prefix": {
|
|
62
|
-
"type": "string",
|
|
63
|
-
"description": "The prefix to apply to generated selectors.",
|
|
64
|
-
"alias": "p",
|
|
65
|
-
"oneOf": [
|
|
66
|
-
{
|
|
67
|
-
"maxLength": 0
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"minLength": 1,
|
|
71
|
-
"format": "html-selector"
|
|
72
|
-
}
|
|
73
|
-
]
|
|
74
|
-
},
|
|
75
|
-
"styleext": {
|
|
76
|
-
"description": "The file extension to be used for style files.",
|
|
77
|
-
"type": "string",
|
|
78
|
-
"default": "css"
|
|
79
|
-
},
|
|
80
|
-
"spec": {
|
|
81
|
-
"type": "boolean",
|
|
82
|
-
"description": "Specifies if a spec file is generated.",
|
|
83
|
-
"default": true
|
|
84
|
-
},
|
|
85
|
-
"flat": {
|
|
86
|
-
"type": "boolean",
|
|
87
|
-
"description": "Flag to indicate if a dir is created.",
|
|
88
|
-
"default": false
|
|
89
|
-
},
|
|
90
|
-
"skipImport": {
|
|
91
|
-
"type": "boolean",
|
|
92
|
-
"description": "Flag to skip the module import.",
|
|
93
|
-
"default": false
|
|
94
|
-
},
|
|
95
|
-
"selector": {
|
|
96
|
-
"type": "string",
|
|
97
|
-
"format": "html-selector",
|
|
98
|
-
"description": "The selector to use for the component."
|
|
99
|
-
},
|
|
100
|
-
"module": {
|
|
101
|
-
"type": "string",
|
|
102
|
-
"description": "Allows specification of the declaring module.",
|
|
103
|
-
"alias": "m"
|
|
104
|
-
},
|
|
105
|
-
"export": {
|
|
106
|
-
"type": "boolean",
|
|
107
|
-
"default": false,
|
|
108
|
-
"description": "Specifies if declaring module exports the component."
|
|
109
|
-
},
|
|
110
|
-
"entryComponent": {
|
|
111
|
-
"type": "boolean",
|
|
112
|
-
"default": false,
|
|
113
|
-
"description": "Specifies if the component is an entry component of declaring module."
|
|
114
|
-
},
|
|
115
|
-
"lintFix": {
|
|
116
|
-
"type": "boolean",
|
|
117
|
-
"default": false,
|
|
118
|
-
"description": "Specifies whether to apply lint fixes after generating the component."
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
"required": [
|
|
122
|
-
"name"
|
|
123
|
-
],
|
|
124
|
-
"id": "treegrid-default"
|
|
125
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
|
|
4
|
-
const sampleDetails = require("./sample-details");
|
|
5
|
-
function default_1(options) {
|
|
6
|
-
return schematics_1.componentBuilder(options, sampleDetails);
|
|
7
|
-
}
|
|
8
|
-
exports.default = default_1;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Rule } from '@angular-devkit/schematics';
|
|
2
|
-
import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
|
|
3
|
-
import { Schema } from './schema';
|
|
4
|
-
import * as sampleDetails from './sample-details';
|
|
5
|
-
|
|
6
|
-
export default function (options: Schema): Rule {
|
|
7
|
-
return componentBuilder(options, sampleDetails);
|
|
8
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.componentName = 'treegrid';
|
|
4
|
-
exports.sampleName = 'feature';
|
|
5
|
-
exports.diModules = 'PageService,SortService,FilterService';
|
|
6
|
-
exports.packageName = '@syncfusion/ej2-angular-treegrid';
|
|
7
|
-
exports.libModules = 'TreeGridModule';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export const componentName: string = 'treegrid';
|
|
2
|
-
export const sampleName: string = 'feature';
|
|
3
|
-
export const diModules: string = 'PageService,SortService,FilterService';
|
|
4
|
-
export const packageName: string = '@syncfusion/ej2-angular-treegrid';
|
|
5
|
-
export const libModules: string = 'TreeGridModule';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<div class="control-section">
|
|
2
|
-
<ejs-treegrid [dataSource]='data' [treeColumnIndex]='1' [allowFiltering]="true" [allowSorting]="true" childMapping='subtasks'
|
|
3
|
-
[allowPaging]="true" [pageSettings]='pageSettings'>
|
|
4
|
-
<e-columns>
|
|
5
|
-
<e-column field='taskID' headerText='Task ID' textAlign='Right' width=90></e-column>
|
|
6
|
-
<e-column field='taskName' headerText='Task Name' textAlign='Left' width=180></e-column>
|
|
7
|
-
<e-column field='startDate' headerText='Start Date' textAlign='Right' format='yMd' width=90></e-column>
|
|
8
|
-
<e-column field='duration' headerText='Duration' textAlign='Right' width=80></e-column>
|
|
9
|
-
</e-columns>
|
|
10
|
-
</ejs-treegrid>
|
|
11
|
-
</div>
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TreeGrid with Paging,Filtering,Sorting Sample
|
|
3
|
-
*/
|
|
4
|
-
import { Component } from '@angular/core';
|
|
5
|
-
|
|
6
|
-
@Component({
|
|
7
|
-
selector: '<%=dasherize(selector)%>',
|
|
8
|
-
templateUrl: '<%=dasherize(name)%>.component.html',
|
|
9
|
-
styleUrls: ['<%=dasherize(name)%>.component.css']
|
|
10
|
-
})
|
|
11
|
-
|
|
12
|
-
export class <%= classify(name) %>Component {
|
|
13
|
-
|
|
14
|
-
public pageSettings: Object = { pageSize: 10 };
|
|
15
|
-
public data: Object[] = [
|
|
16
|
-
{
|
|
17
|
-
taskID: 1,
|
|
18
|
-
taskName: "Planning",
|
|
19
|
-
startDate: new Date("02/03/2017"),
|
|
20
|
-
endDate: new Date("02/07/2017"),
|
|
21
|
-
progress: 100,
|
|
22
|
-
duration: 5,
|
|
23
|
-
priority: "Normal",
|
|
24
|
-
approved: false,
|
|
25
|
-
subtasks: [
|
|
26
|
-
{ taskID: 2, taskName: "Plan timeline", startDate: new Date("02/03/2017"), endDate: new Date("02/07/2017"), duration: 5, progress: 100, priority: "Normal", approved: false },
|
|
27
|
-
{ taskID: 3, taskName: "Plan budget", startDate: new Date("02/03/2017"), endDate: new Date("02/07/2017"), duration: 5, progress: 100, approved: true },
|
|
28
|
-
{ taskID: 4, taskName: "Allocate resources", startDate: new Date("02/03/2017"), endDate: new Date("02/07/2017"), duration: 5, progress: 100, priority: "Critical", approved: false },
|
|
29
|
-
{ taskID: 5, taskName: "Item can't be Dragged", startDate: new Date("02/07/2017"), endDate: new Date("02/07/2017"), duration: 0, progress: 0, priority: "Low", approved: true }
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
taskID: 6,
|
|
34
|
-
taskName: "Design",
|
|
35
|
-
startDate: new Date("02/10/2017"),
|
|
36
|
-
endDate: new Date("02/14/2017"),
|
|
37
|
-
duration: 3,
|
|
38
|
-
progress: 86,
|
|
39
|
-
priority: "High",
|
|
40
|
-
approved: false,
|
|
41
|
-
subtasks: [
|
|
42
|
-
{ taskID: 7, taskName: "Software Specification", startDate: new Date("02/10/2017"), endDate: new Date("02/12/2017"), duration: 3, progress: 60, priority: "Normal", approved: false },
|
|
43
|
-
{ taskID: 8, taskName: "Develop prototype", startDate: new Date("02/10/2017"), endDate: new Date("02/12/2017"), duration: 3, progress: 100, priority: "Critical", approved: false },
|
|
44
|
-
{ taskID: 9, taskName: "Get approval from customer", startDate: new Date("02/13/2017"), endDate: new Date("02/14/2017"), duration: 2, progress: 100, approved: true },
|
|
45
|
-
{ taskID: 10, taskName: "Design Documentation", startDate: new Date("02/13/2017"), endDate: new Date("02/14/2017"), duration: 2, progress: 100, approved: true },
|
|
46
|
-
{ taskID: 11, taskName: "Item can't be Dropped", startDate: new Date("02/14/2017"), endDate: new Date("02/14/2017"), duration: 0, progress: 0, priority: "Normal", approved: true }
|
|
47
|
-
]
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
taskID: 12,
|
|
51
|
-
taskName: "Implementation Phase",
|
|
52
|
-
startDate: new Date("02/17/2017"),
|
|
53
|
-
endDate: new Date("02/27/2017"),
|
|
54
|
-
priority: "Normal",
|
|
55
|
-
approved: false,
|
|
56
|
-
duration: 11,
|
|
57
|
-
subtasks: [
|
|
58
|
-
{
|
|
59
|
-
taskID: 13,
|
|
60
|
-
taskName: "Phase 1",
|
|
61
|
-
startDate: new Date("02/17/2017"),
|
|
62
|
-
endDate: new Date("02/27/2017"),
|
|
63
|
-
priority: "High",
|
|
64
|
-
approved: false,
|
|
65
|
-
duration: 11,
|
|
66
|
-
subtasks: [{
|
|
67
|
-
taskID: 14,
|
|
68
|
-
taskName: "Implementation Module 1",
|
|
69
|
-
startDate: new Date("02/17/2017"),
|
|
70
|
-
endDate: new Date("02/27/2017"),
|
|
71
|
-
priority: "Normal",
|
|
72
|
-
duration: 11,
|
|
73
|
-
approved: false,
|
|
74
|
-
subtasks: [
|
|
75
|
-
{ taskID: 15, taskName: "Development Task 1", startDate: new Date("02/17/2017"), endDate: new Date("02/19/2017"), duration: 3, progress: "50", priority: "High", approved: false },
|
|
76
|
-
{ taskID: 16, taskName: "Development Task 2", startDate: new Date("02/17/2017"), endDate: new Date("02/19/2017"), duration: 3, progress: "50", priority: "Low", approved: true },
|
|
77
|
-
{ taskID: 17, taskName: "Testing", startDate: new Date("02/20/2017"), endDate: new Date("02/21/2017"), duration: 2, progress: "0", priority: "Normal", approved: true },
|
|
78
|
-
{ taskID: 18, taskName: "Bug fix", startDate: new Date("02/24/2017"), endDate: new Date("02/25/2017"), duration: 2, progress: "0", priority: "Critical", approved: false },
|
|
79
|
-
{ taskID: 19, taskName: "Customer review meeting", startDate: new Date("02/26/2017"), endDate: new Date("02/27/2017"), duration: 2, progress: "0", priority: "High", approved: false },
|
|
80
|
-
{ taskID: 20, taskName: "Phase 1 complete", startDate: new Date("02/27/2017"), endDate: new Date("02/27/2017"), duration: 0, priority: "Low", approved: true }
|
|
81
|
-
|
|
82
|
-
]
|
|
83
|
-
}]
|
|
84
|
-
},
|
|
85
|
-
|
|
86
|
-
{
|
|
87
|
-
taskID: 21,
|
|
88
|
-
taskName: "Phase 2",
|
|
89
|
-
startDate: new Date("02/17/2017"),
|
|
90
|
-
endDate: new Date("02/28/2017"),
|
|
91
|
-
priority: "High",
|
|
92
|
-
approved: false,
|
|
93
|
-
duration: 12,
|
|
94
|
-
subtasks: [{
|
|
95
|
-
taskID: 22,
|
|
96
|
-
taskName: "Implementation Module 2",
|
|
97
|
-
startDate: new Date("02/17/2017"),
|
|
98
|
-
endDate: new Date("02/28/2017"),
|
|
99
|
-
priority: "Critical",
|
|
100
|
-
approved: false,
|
|
101
|
-
duration: 12,
|
|
102
|
-
subtasks: [
|
|
103
|
-
{ taskID: 23, taskName: "Development Task 1", startDate: new Date("02/17/2017"), endDate: new Date("02/20/2017"), duration: 4, progress: "50", priority: "Normal", approved: true },
|
|
104
|
-
{ taskID: 24, taskName: "Development Task 2", startDate: new Date("02/17/2017"), endDate: new Date("02/20/2017"), duration: 4, progress: "50", priority: "Critical", approved: true },
|
|
105
|
-
{ taskID: 25, taskName: "Testing", startDate: new Date("02/21/2017"), endDate: new Date("02/24/2017"), duration: 2, progress: "0", priority: "High", approved: false },
|
|
106
|
-
{ taskID: 26, taskName: "Bug fix", startDate: new Date("02/25/2017"), endDate: new Date("02/26/2017"), duration: 2, progress: "0", priority: "Low", approved: false },
|
|
107
|
-
{ taskID: 27, taskName: "Customer review meeting", startDate: new Date("02/27/2017"), endDate: new Date("02/28/2017"), duration: 2, progress: "0", priority: "Critical", approved: true },
|
|
108
|
-
{ taskID: 28, taskName: "Phase 2 complete", startDate: new Date("02/28/2017"), endDate: new Date("02/28/2017"), duration: 0, priority: "Normal", approved: false }
|
|
109
|
-
|
|
110
|
-
]
|
|
111
|
-
}]
|
|
112
|
-
},
|
|
113
|
-
|
|
114
|
-
{
|
|
115
|
-
taskID: 29,
|
|
116
|
-
taskName: "Phase 3",
|
|
117
|
-
startDate: new Date("02/17/2017"),
|
|
118
|
-
endDate: new Date("02/27/2017"),
|
|
119
|
-
priority: "Normal",
|
|
120
|
-
approved: false,
|
|
121
|
-
duration: 11,
|
|
122
|
-
subtasks: [{
|
|
123
|
-
taskID: 30,
|
|
124
|
-
taskName: "Implementation Module 3",
|
|
125
|
-
startDate: new Date("02/17/2017"),
|
|
126
|
-
endDate: new Date("02/27/2017"),
|
|
127
|
-
priority: "High",
|
|
128
|
-
approved: false,
|
|
129
|
-
duration: 11,
|
|
130
|
-
subtasks: [
|
|
131
|
-
{ taskID: 31, taskName: "Development Task 1", startDate: new Date("02/17/2017"), endDate: new Date("02/19/2017"), duration: 3, progress: "50", priority: "Low", approved: true },
|
|
132
|
-
{ taskID: 32, taskName: "Development Task 2", startDate: new Date("02/17/2017"), endDate: new Date("02/19/2017"), duration: 3, progress: "50", priority: "Normal", approved: false },
|
|
133
|
-
{ taskID: 33, taskName: "Testing", startDate: new Date("02/20/2017"), endDate: new Date("02/21/2017"), duration: 2, progress: "0", priority: "Critical", approved: true },
|
|
134
|
-
{ taskID: 34, taskName: "Bug fix", startDate: new Date("02/24/2017"), endDate: new Date("02/25/2017"), duration: 2, progress: "0", priority: "High", approved: false },
|
|
135
|
-
{ taskID: 35, taskName: "Customer review meeting", startDate: new Date("02/26/2017"), endDate: new Date("02/27/2017"), duration: 2, progress: "0", priority: "Normal", approved: true },
|
|
136
|
-
{ taskID: 36, taskName: "Phase 3 complete", startDate: new Date("02/27/2017"), endDate: new Date("02/27/2017"), duration: 0, priority: "Critical", approved: false },
|
|
137
|
-
|
|
138
|
-
]
|
|
139
|
-
}]
|
|
140
|
-
}
|
|
141
|
-
]
|
|
142
|
-
}
|
|
143
|
-
];
|
|
144
|
-
}
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"$id": "EJ2SchemaTemplateID",
|
|
4
|
-
"title": "treegrid-feature",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"path": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"format": "path",
|
|
10
|
-
"description": "The path to create the component.",
|
|
11
|
-
"visible": false
|
|
12
|
-
},
|
|
13
|
-
"project": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"description": "The name of the project.",
|
|
16
|
-
"$default": {
|
|
17
|
-
"$source": "projectName"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"name": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"description": "The name of the component.",
|
|
23
|
-
"$default": {
|
|
24
|
-
"$source": "argv",
|
|
25
|
-
"index": 0
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"inlineStyle": {
|
|
29
|
-
"description": "Specifies if the style will be in the ts file.",
|
|
30
|
-
"type": "boolean",
|
|
31
|
-
"default": false,
|
|
32
|
-
"alias": "s"
|
|
33
|
-
},
|
|
34
|
-
"inlineTemplate": {
|
|
35
|
-
"description": "Specifies if the template will be in the ts file.",
|
|
36
|
-
"type": "boolean",
|
|
37
|
-
"default": false,
|
|
38
|
-
"alias": "t"
|
|
39
|
-
},
|
|
40
|
-
"viewEncapsulation": {
|
|
41
|
-
"description": "Specifies the view encapsulation strategy.",
|
|
42
|
-
"enum": [
|
|
43
|
-
"Emulated",
|
|
44
|
-
"Native",
|
|
45
|
-
"None",
|
|
46
|
-
"ShadowDom"
|
|
47
|
-
],
|
|
48
|
-
"type": "string",
|
|
49
|
-
"alias": "v"
|
|
50
|
-
},
|
|
51
|
-
"changeDetection": {
|
|
52
|
-
"description": "Specifies the change detection strategy.",
|
|
53
|
-
"enum": [
|
|
54
|
-
"Default",
|
|
55
|
-
"OnPush"
|
|
56
|
-
],
|
|
57
|
-
"type": "string",
|
|
58
|
-
"default": "Default",
|
|
59
|
-
"alias": "c"
|
|
60
|
-
},
|
|
61
|
-
"prefix": {
|
|
62
|
-
"type": "string",
|
|
63
|
-
"description": "The prefix to apply to generated selectors.",
|
|
64
|
-
"alias": "p",
|
|
65
|
-
"oneOf": [
|
|
66
|
-
{
|
|
67
|
-
"maxLength": 0
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"minLength": 1,
|
|
71
|
-
"format": "html-selector"
|
|
72
|
-
}
|
|
73
|
-
]
|
|
74
|
-
},
|
|
75
|
-
"styleext": {
|
|
76
|
-
"description": "The file extension to be used for style files.",
|
|
77
|
-
"type": "string",
|
|
78
|
-
"default": "css"
|
|
79
|
-
},
|
|
80
|
-
"spec": {
|
|
81
|
-
"type": "boolean",
|
|
82
|
-
"description": "Specifies if a spec file is generated.",
|
|
83
|
-
"default": true
|
|
84
|
-
},
|
|
85
|
-
"flat": {
|
|
86
|
-
"type": "boolean",
|
|
87
|
-
"description": "Flag to indicate if a dir is created.",
|
|
88
|
-
"default": false
|
|
89
|
-
},
|
|
90
|
-
"skipImport": {
|
|
91
|
-
"type": "boolean",
|
|
92
|
-
"description": "Flag to skip the module import.",
|
|
93
|
-
"default": false
|
|
94
|
-
},
|
|
95
|
-
"selector": {
|
|
96
|
-
"type": "string",
|
|
97
|
-
"format": "html-selector",
|
|
98
|
-
"description": "The selector to use for the component."
|
|
99
|
-
},
|
|
100
|
-
"module": {
|
|
101
|
-
"type": "string",
|
|
102
|
-
"description": "Allows specification of the declaring module.",
|
|
103
|
-
"alias": "m"
|
|
104
|
-
},
|
|
105
|
-
"export": {
|
|
106
|
-
"type": "boolean",
|
|
107
|
-
"default": false,
|
|
108
|
-
"description": "Specifies if declaring module exports the component."
|
|
109
|
-
},
|
|
110
|
-
"entryComponent": {
|
|
111
|
-
"type": "boolean",
|
|
112
|
-
"default": false,
|
|
113
|
-
"description": "Specifies if the component is an entry component of declaring module."
|
|
114
|
-
},
|
|
115
|
-
"lintFix": {
|
|
116
|
-
"type": "boolean",
|
|
117
|
-
"default": false,
|
|
118
|
-
"description": "Specifies whether to apply lint fixes after generating the component."
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
"required": [
|
|
122
|
-
"name"
|
|
123
|
-
],
|
|
124
|
-
"id": "treegrid-feature"
|
|
125
|
-
}
|