@syncfusion/ej2-angular-treegrid 26.1.35-ngcc → 26.1.39-ngcc
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/dist/ej2-angular-treegrid.umd.js +1 -1
- package/dist/ej2-angular-treegrid.umd.min.js +1 -1
- package/package.json +24 -9
- package/schematics/collection.json +0 -10
- package/styles/fluent2.css +5 -13
- package/styles/treegrid/fluent2.css +5 -13
- 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/schematics/ng-add/index.d.ts +0 -3
- package/schematics/ng-add/index.js +0 -9
- package/schematics/ng-add/schema.d.ts +0 -13
- package/schematics/ng-add/schema.js +0 -2
- package/schematics/utils/lib-details.d.ts +0 -4
- package/schematics/utils/lib-details.js +0 -6
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* filename: ej2-angular-treegrid.umd.js
|
3
|
-
* version : 26.1.
|
3
|
+
* version : 26.1.39
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
|
5
5
|
* Use of this code is subject to the terms of our license.
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* filename: ej2-angular-treegrid.umd.min.js
|
3
|
-
* version : 26.1.
|
3
|
+
* version : 26.1.39
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
|
5
5
|
* Use of this code is subject to the terms of our license.
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
{
|
2
2
|
"_from": "@syncfusion/ej2-angular-treegrid@*",
|
3
|
-
"_id": "@syncfusion/ej2-angular-treegrid@
|
3
|
+
"_id": "@syncfusion/ej2-angular-treegrid@26.1.35",
|
4
4
|
"_inBundle": false,
|
5
|
-
"_integrity": "sha512-
|
5
|
+
"_integrity": "sha512-9mJ5MbjsYcXfIc4RhRn2JYRnRGqvNvKItYtgVY40emG7hIbbzZnXny6Z1mpudwJjls+VO9xThC5U/n9t6f5SXQ==",
|
6
6
|
"_location": "/@syncfusion/ej2-angular-treegrid",
|
7
7
|
"_phantomChildren": {},
|
8
8
|
"_requested": {
|
@@ -19,8 +19,8 @@
|
|
19
19
|
"_requiredBy": [
|
20
20
|
"/"
|
21
21
|
],
|
22
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-
|
23
|
-
"_shasum": "
|
22
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-angular-treegrid/-/ej2-angular-treegrid-26.1.35.tgz",
|
23
|
+
"_shasum": "bfb5a57c7613c771ef2c5c7fcf2767f8ed9c72ae",
|
24
24
|
"_spec": "@syncfusion/ej2-angular-treegrid@*",
|
25
25
|
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
|
26
26
|
"author": {
|
@@ -31,9 +31,9 @@
|
|
31
31
|
},
|
32
32
|
"bundleDependencies": false,
|
33
33
|
"dependencies": {
|
34
|
-
"@syncfusion/ej2-angular-base": "~26.1.
|
35
|
-
"@syncfusion/ej2-base": "~26.1.
|
36
|
-
"@syncfusion/ej2-treegrid": "26.1.
|
34
|
+
"@syncfusion/ej2-angular-base": "~26.1.39",
|
35
|
+
"@syncfusion/ej2-base": "~26.1.37",
|
36
|
+
"@syncfusion/ej2-treegrid": "26.1.39"
|
37
37
|
},
|
38
38
|
"deprecated": false,
|
39
39
|
"description": "Essential JS 2 TreeGrid Component for Angular",
|
@@ -43,7 +43,22 @@
|
|
43
43
|
"keywords": [
|
44
44
|
"angular",
|
45
45
|
"angular-treegrid",
|
46
|
-
"angular-treelist"
|
46
|
+
"angular-treelist",
|
47
|
+
"treelist",
|
48
|
+
"tree-table",
|
49
|
+
"tree-data",
|
50
|
+
"treegrid",
|
51
|
+
"table",
|
52
|
+
"tree-grid-component",
|
53
|
+
"tree-table-control",
|
54
|
+
"hierarchy-table",
|
55
|
+
"nested-grid",
|
56
|
+
"treeview-grid",
|
57
|
+
"hierarchical-grid",
|
58
|
+
"nested-table",
|
59
|
+
"parent-child-table",
|
60
|
+
"collapsible-table",
|
61
|
+
"multi-level-table"
|
47
62
|
],
|
48
63
|
"license": "SEE LICENSE IN license",
|
49
64
|
"main": "dist/ej2-angular-treegrid.umd.js",
|
@@ -57,5 +72,5 @@
|
|
57
72
|
"schematics": "./schematics/collection.json",
|
58
73
|
"sideEffects": false,
|
59
74
|
"typings": "ej2-angular-treegrid.d.ts",
|
60
|
-
"version": "26.1.
|
75
|
+
"version": "26.1.39-ngcc"
|
61
76
|
}
|
@@ -5,16 +5,6 @@
|
|
5
5
|
"description": "Adds Essential JS 2 specific Angular package to an application",
|
6
6
|
"factory": "./ng-add",
|
7
7
|
"schema": "./ng-add/schema.json"
|
8
|
-
},
|
9
|
-
"treegrid-default": {
|
10
|
-
"description": "Creates an Angular TreeGrid component",
|
11
|
-
"factory": "./generators/treegrid-default",
|
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
8
|
}
|
19
9
|
}
|
20
10
|
}
|
package/styles/fluent2.css
CHANGED
@@ -207,7 +207,7 @@
|
|
207
207
|
--color-sf-info-outline: var(--color-sf-info-border-color);
|
208
208
|
--color-sf-tooltip-bg-color: var(--color-sf-content-bg-color-alt1);
|
209
209
|
--color-sf-tooltip-border: var(--color-sf-content-bg-color-alt1);
|
210
|
-
--color-sf-
|
210
|
+
--color-sf-tooltip-text-color: var(--color-sf-content-text-color);
|
211
211
|
--color-sf-toast-text-color: var(--color-sf-content-text-color);
|
212
212
|
--color-sf-toast-alt-text-color: var(--color-sf-content-text-color-alt1);
|
213
213
|
--color-sf-appbar-bg-color-alt1: var(--color-sf-content-bg-color-alt2);
|
@@ -478,7 +478,7 @@
|
|
478
478
|
--color-sf-success-bg-color: #218c21;
|
479
479
|
--color-sf-success-border-color: var(--color-sf-success-bg-color);
|
480
480
|
--color-sf-success-text: var(--color-sf-primary-text-color);
|
481
|
-
--color-sf-success-bg-color-hover:
|
481
|
+
--color-sf-success-bg-color-hover: #0e700e;
|
482
482
|
--color-sf-success-border-color-hover: var(--color-sf-success-bg-color-hover);
|
483
483
|
--color-sf-success-text-hover: var(--color-sf-primary-text-color);
|
484
484
|
--color-sf-success-bg-color-pressed: #052505;
|
@@ -496,7 +496,7 @@
|
|
496
496
|
--color-sf-warning-bg-color: #f87528;
|
497
497
|
--color-sf-warning-border-color: var(--color-sf-warning-bg-color);
|
498
498
|
--color-sf-warning-text: #242424;
|
499
|
-
--color-sf-warning-bg-color-hover:
|
499
|
+
--color-sf-warning-bg-color-hover: #de590b;
|
500
500
|
--color-sf-warning-border-color-hover: var(--color-sf-warning-bg-color-hover);
|
501
501
|
--color-sf-warning-text-hover: var(--color-sf-primary-text-color);
|
502
502
|
--color-sf-warning-bg-color-pressed: #4a1e04;
|
@@ -555,7 +555,7 @@
|
|
555
555
|
--color-sf-info-outline: #0099bc;
|
556
556
|
--color-sf-tooltip-bg-color: var(--color-sf-content-bg-color-alt1);
|
557
557
|
--color-sf-tooltip-border: var(--color-sf-tooltip-bg-color);
|
558
|
-
--color-sf-
|
558
|
+
--color-sf-tooltip-text-color: var(--color-sf-content-text-color);
|
559
559
|
--color-sf-toast-text-color: var(--color-sf-content-text-color);
|
560
560
|
--color-sf-toast-alt-text-color: var(--color-sf-content-text-color-alt1);
|
561
561
|
--color-sf-appbar-bg-color-alt1: var(--color-sf-content-bg-color-alt2);
|
@@ -897,7 +897,7 @@
|
|
897
897
|
--color-sf-info-outline: #0099bc;
|
898
898
|
--color-sf-tooltip-bg-color: var(--color-sf-content-bg-color-alt1);
|
899
899
|
--color-sf-tooltip-border: var(--color-sf-border-light);
|
900
|
-
--color-sf-
|
900
|
+
--color-sf-tooltip-text-color: var(--color-sf-content-text-color);
|
901
901
|
--color-sf-toast-text-color: var(--color-sf-content-text-color);
|
902
902
|
--color-sf-toast-alt-text-color: var(--color-sf-content-text-color);
|
903
903
|
--color-sf-appbar-bg-color-alt1: #fff;
|
@@ -1318,14 +1318,6 @@
|
|
1318
1318
|
}
|
1319
1319
|
|
1320
1320
|
/* stylelint-disable */
|
1321
|
-
.e-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn {
|
1322
|
-
padding: 0;
|
1323
|
-
}
|
1324
|
-
|
1325
|
-
.e-bigger .e-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn {
|
1326
|
-
padding: 0;
|
1327
|
-
}
|
1328
|
-
|
1329
1321
|
.e-dialog .e-dlg-content {
|
1330
1322
|
border-radius: 8px !important;
|
1331
1323
|
}
|
@@ -207,7 +207,7 @@
|
|
207
207
|
--color-sf-info-outline: var(--color-sf-info-border-color);
|
208
208
|
--color-sf-tooltip-bg-color: var(--color-sf-content-bg-color-alt1);
|
209
209
|
--color-sf-tooltip-border: var(--color-sf-content-bg-color-alt1);
|
210
|
-
--color-sf-
|
210
|
+
--color-sf-tooltip-text-color: var(--color-sf-content-text-color);
|
211
211
|
--color-sf-toast-text-color: var(--color-sf-content-text-color);
|
212
212
|
--color-sf-toast-alt-text-color: var(--color-sf-content-text-color-alt1);
|
213
213
|
--color-sf-appbar-bg-color-alt1: var(--color-sf-content-bg-color-alt2);
|
@@ -478,7 +478,7 @@
|
|
478
478
|
--color-sf-success-bg-color: #218c21;
|
479
479
|
--color-sf-success-border-color: var(--color-sf-success-bg-color);
|
480
480
|
--color-sf-success-text: var(--color-sf-primary-text-color);
|
481
|
-
--color-sf-success-bg-color-hover:
|
481
|
+
--color-sf-success-bg-color-hover: #0e700e;
|
482
482
|
--color-sf-success-border-color-hover: var(--color-sf-success-bg-color-hover);
|
483
483
|
--color-sf-success-text-hover: var(--color-sf-primary-text-color);
|
484
484
|
--color-sf-success-bg-color-pressed: #052505;
|
@@ -496,7 +496,7 @@
|
|
496
496
|
--color-sf-warning-bg-color: #f87528;
|
497
497
|
--color-sf-warning-border-color: var(--color-sf-warning-bg-color);
|
498
498
|
--color-sf-warning-text: #242424;
|
499
|
-
--color-sf-warning-bg-color-hover:
|
499
|
+
--color-sf-warning-bg-color-hover: #de590b;
|
500
500
|
--color-sf-warning-border-color-hover: var(--color-sf-warning-bg-color-hover);
|
501
501
|
--color-sf-warning-text-hover: var(--color-sf-primary-text-color);
|
502
502
|
--color-sf-warning-bg-color-pressed: #4a1e04;
|
@@ -555,7 +555,7 @@
|
|
555
555
|
--color-sf-info-outline: #0099bc;
|
556
556
|
--color-sf-tooltip-bg-color: var(--color-sf-content-bg-color-alt1);
|
557
557
|
--color-sf-tooltip-border: var(--color-sf-tooltip-bg-color);
|
558
|
-
--color-sf-
|
558
|
+
--color-sf-tooltip-text-color: var(--color-sf-content-text-color);
|
559
559
|
--color-sf-toast-text-color: var(--color-sf-content-text-color);
|
560
560
|
--color-sf-toast-alt-text-color: var(--color-sf-content-text-color-alt1);
|
561
561
|
--color-sf-appbar-bg-color-alt1: var(--color-sf-content-bg-color-alt2);
|
@@ -897,7 +897,7 @@
|
|
897
897
|
--color-sf-info-outline: #0099bc;
|
898
898
|
--color-sf-tooltip-bg-color: var(--color-sf-content-bg-color-alt1);
|
899
899
|
--color-sf-tooltip-border: var(--color-sf-border-light);
|
900
|
-
--color-sf-
|
900
|
+
--color-sf-tooltip-text-color: var(--color-sf-content-text-color);
|
901
901
|
--color-sf-toast-text-color: var(--color-sf-content-text-color);
|
902
902
|
--color-sf-toast-alt-text-color: var(--color-sf-content-text-color);
|
903
903
|
--color-sf-appbar-bg-color-alt1: #fff;
|
@@ -1318,14 +1318,6 @@
|
|
1318
1318
|
}
|
1319
1319
|
|
1320
1320
|
/* stylelint-disable */
|
1321
|
-
.e-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn {
|
1322
|
-
padding: 0;
|
1323
|
-
}
|
1324
|
-
|
1325
|
-
.e-bigger .e-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn {
|
1326
|
-
padding: 0;
|
1327
|
-
}
|
1328
|
-
|
1329
1321
|
.e-dialog .e-dlg-content {
|
1330
1322
|
border-radius: 8px !important;
|
1331
1323
|
}
|
@@ -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
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const lib_details_1 = require("./../utils/lib-details");
|
4
|
-
const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
|
5
|
-
function default_1(options) {
|
6
|
-
const libOptions = Object.assign({}, { 'pkgName': lib_details_1.pkgName, 'pkgVer': lib_details_1.pkgVer, 'moduleName': lib_details_1.moduleName, 'themeVer': lib_details_1.themeVer });
|
7
|
-
return schematics_1.install(options, libOptions);
|
8
|
-
}
|
9
|
-
exports.default = default_1;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
export interface OptionsSchema {
|
2
|
-
skipPackageJson: boolean;
|
3
|
-
modules: string;
|
4
|
-
modulePath: string;
|
5
|
-
theme: 'material' | 'fabric' | 'bootstrap' | 'highcontrast';
|
6
|
-
project?: string;
|
7
|
-
}
|
8
|
-
export interface LibOptionsSchema {
|
9
|
-
pkgName: string;
|
10
|
-
pkgVer: string;
|
11
|
-
moduleName: string;
|
12
|
-
themeVer: string;
|
13
|
-
}
|