@syncfusion/ej2-angular-treegrid 20.2.49 → 20.3.47
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/package.json +8 -8
- package/schematics/collection.json +20 -0
- package/schematics/generators/treegrid-default/index.d.ts +3 -0
- package/schematics/generators/treegrid-default/index.js +8 -0
- package/schematics/generators/treegrid-default/sample-details.d.ts +5 -0
- package/schematics/generators/treegrid-default/sample-details.js +7 -0
- package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +5 -0
- package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +10 -0
- package/schematics/generators/treegrid-default/schema.d.ts +3 -0
- package/schematics/generators/treegrid-default/schema.js +2 -0
- package/schematics/generators/treegrid-default/schema.json +125 -0
- package/schematics/generators/treegrid-feature/index.d.ts +3 -0
- package/schematics/generators/treegrid-feature/index.js +8 -0
- package/schematics/generators/treegrid-feature/sample-details.d.ts +5 -0
- package/schematics/generators/treegrid-feature/sample-details.js +7 -0
- package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +5 -0
- package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +11 -0
- package/schematics/generators/treegrid-feature/schema.d.ts +3 -0
- package/schematics/generators/treegrid-feature/schema.js +2 -0
- package/schematics/generators/treegrid-feature/schema.json +125 -0
- package/schematics/ng-add/index.d.ts +3 -0
- package/schematics/ng-add/index.js +9 -0
- package/schematics/ng-add/schema.d.ts +13 -0
- package/schematics/ng-add/schema.js +2 -0
- package/schematics/ng-add/schema.json +34 -0
- package/schematics/tsconfig.json +25 -0
- package/schematics/utils/lib-details.d.ts +4 -0
- package/schematics/utils/lib-details.js +6 -0
- package/schematics/utils/lib-details.ts +2 -2
- package/styles/bootstrap-dark.css +5 -1
- package/styles/bootstrap.css +5 -1
- package/styles/bootstrap4.css +5 -1
- package/styles/bootstrap5-dark.css +6 -1
- package/styles/bootstrap5.css +6 -1
- package/styles/fabric-dark.css +5 -1
- package/styles/fabric.css +5 -1
- package/styles/fluent-dark.css +5 -1
- package/styles/fluent.css +5 -1
- package/styles/highcontrast-light.css +5 -1
- package/styles/highcontrast.css +5 -1
- package/styles/material-dark.css +5 -1
- package/styles/material.css +5 -1
- package/styles/tailwind-dark.css +5 -1
- package/styles/tailwind.css +5 -1
- package/styles/treegrid/_all.scss +1 -1
- package/styles/treegrid/_bootstrap-dark-definition.scss +1 -1
- package/styles/treegrid/_bootstrap-definition.scss +1 -2
- package/styles/treegrid/_bootstrap4-definition.scss +0 -1
- package/styles/treegrid/_bootstrap5-definition.scss +0 -1
- package/styles/treegrid/_fabric-dark-definition.scss +1 -2
- package/styles/treegrid/_fabric-definition.scss +1 -2
- package/styles/treegrid/_fluent-definition.scss +0 -1
- package/styles/treegrid/_fusionnew-definition.scss +0 -1
- package/styles/treegrid/_highcontrast-definition.scss +0 -1
- package/styles/treegrid/_highcontrast-light-definition.scss +0 -2
- package/styles/treegrid/_icons.scss +1 -1
- package/styles/treegrid/_layout.scss +3 -3
- package/styles/treegrid/_material-definition.scss +0 -1
- package/styles/treegrid/_material3-definition.scss +0 -1
- package/styles/treegrid/_tailwind-definition.scss +0 -1
- package/styles/treegrid/_theme.scss +1 -0
- package/styles/treegrid/bootstrap-dark.css +5 -1
- package/styles/treegrid/bootstrap.css +5 -1
- package/styles/treegrid/bootstrap4.css +5 -1
- package/styles/treegrid/bootstrap5-dark.css +6 -1
- package/styles/treegrid/bootstrap5.css +6 -1
- package/styles/treegrid/fabric-dark.css +5 -1
- package/styles/treegrid/fabric.css +5 -1
- package/styles/treegrid/fluent-dark.css +5 -1
- package/styles/treegrid/fluent.css +5 -1
- package/styles/treegrid/highcontrast-light.css +5 -1
- package/styles/treegrid/highcontrast.css +5 -1
- package/styles/treegrid/icons/_bootstrap-dark.scss +1 -1
- package/styles/treegrid/icons/_bootstrap.scss +1 -1
- package/styles/treegrid/icons/_bootstrap4.scss +1 -1
- package/styles/treegrid/icons/_fabric-dark.scss +1 -1
- package/styles/treegrid/icons/_fabric.scss +1 -1
- package/styles/treegrid/icons/_highcontrast-light.scss +1 -1
- package/styles/treegrid/icons/_material-dark.scss +1 -1
- package/styles/treegrid/material-dark.css +5 -1
- package/styles/treegrid/material.css +5 -1
- package/styles/treegrid/tailwind-dark.css +5 -1
- package/styles/treegrid/tailwind.css +5 -1
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-angular-treegrid@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-angular-treegrid@20.
|
|
3
|
+
"_id": "@syncfusion/ej2-angular-treegrid@20.4.3",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-cTOuTHaJPe9pvfrjGD3FbE4Bp0wLchAj9X1AN74t5kFcjj8ESUH1O1fT1MfNCdImK1dMduf3UioFJfN+AJmd8A==",
|
|
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": "http://nexus.syncfusion.com/repository/ej2-angular-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-angular-release/@syncfusion/ej2-angular-treegrid/-/ej2-angular-treegrid-20.4.3.tgz",
|
|
23
|
+
"_shasum": "9153c8449ae55beecf83db08c2ca326811604b7c",
|
|
24
24
|
"_spec": "@syncfusion/ej2-angular-treegrid@*",
|
|
25
25
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/ivypackages/included",
|
|
26
26
|
"author": {
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-angular-base": "~20.
|
|
35
|
-
"@syncfusion/ej2-base": "~20.
|
|
36
|
-
"@syncfusion/ej2-treegrid": "20.
|
|
34
|
+
"@syncfusion/ej2-angular-base": "~20.3.47",
|
|
35
|
+
"@syncfusion/ej2-base": "~20.3.47",
|
|
36
|
+
"@syncfusion/ej2-treegrid": "20.3.47",
|
|
37
37
|
"tslib": "^2.3.0"
|
|
38
38
|
},
|
|
39
39
|
"deprecated": false,
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"schematics": "./schematics/collection.json",
|
|
80
80
|
"sideEffects": false,
|
|
81
81
|
"typings": "syncfusion-ej2-angular-treegrid.d.ts",
|
|
82
|
-
"version": "20.
|
|
82
|
+
"version": "20.3.47"
|
|
83
83
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
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
|
+
"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
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
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;
|
|
@@ -0,0 +1,7 @@
|
|
|
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';
|
|
@@ -0,0 +1,10 @@
|
|
|
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>
|
|
@@ -0,0 +1,125 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
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;
|
|
@@ -0,0 +1,7 @@
|
|
|
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';
|
|
@@ -0,0 +1,11 @@
|
|
|
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>
|
|
@@ -0,0 +1,125 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +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
|
+
}
|
|
@@ -0,0 +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,3 +1,4 @@
|
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
1
2
|
.e-popup.e-ddl {
|
|
2
3
|
border-radius: 4px;
|
|
3
4
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
|
|
@@ -103,6 +104,7 @@
|
|
|
103
104
|
min-height: 34px;
|
|
104
105
|
}
|
|
105
106
|
|
|
107
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
106
108
|
@keyframes material-spinner-rotate {
|
|
107
109
|
0% {
|
|
108
110
|
transform: rotate(0);
|
|
@@ -445,4 +447,6 @@
|
|
|
445
447
|
}
|
|
446
448
|
.e-treegrid .e-grid.e-rtl .e-gridcontent .e-droptop .e-lastrow-dragborder {
|
|
447
449
|
height: 0;
|
|
448
|
-
}
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
/* stylelint-disable-line no-empty-source */
|
package/styles/bootstrap.css
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
1
2
|
.e-popup.e-ddl {
|
|
2
3
|
border-radius: 4px;
|
|
3
4
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
@@ -103,6 +104,7 @@
|
|
|
103
104
|
min-height: 34px;
|
|
104
105
|
}
|
|
105
106
|
|
|
107
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
106
108
|
@keyframes material-spinner-rotate {
|
|
107
109
|
0% {
|
|
108
110
|
transform: rotate(0);
|
|
@@ -446,4 +448,6 @@
|
|
|
446
448
|
}
|
|
447
449
|
.e-treegrid .e-grid.e-rtl .e-gridcontent .e-droptop .e-lastrow-dragborder {
|
|
448
450
|
height: 0;
|
|
449
|
-
}
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
/* stylelint-disable-line no-empty-source */
|
package/styles/bootstrap4.css
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
1
2
|
.e-input-group.e-ddl .e-control.e-autocomplete ~ .e-ddl-icon {
|
|
2
3
|
font-size: 8px;
|
|
3
4
|
}
|
|
@@ -145,6 +146,7 @@
|
|
|
145
146
|
min-height: 34px;
|
|
146
147
|
}
|
|
147
148
|
|
|
149
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
148
150
|
@keyframes material-spinner-rotate {
|
|
149
151
|
0% {
|
|
150
152
|
transform: rotate(0);
|
|
@@ -481,4 +483,6 @@
|
|
|
481
483
|
}
|
|
482
484
|
.e-treegrid .e-grid.e-rtl .e-gridcontent .e-droptop .e-lastrow-dragborder {
|
|
483
485
|
height: 0;
|
|
484
|
-
}
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
/* stylelint-disable-line no-empty-source */
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
1
2
|
.e-popup.e-ddl {
|
|
2
3
|
border-radius: 4px;
|
|
3
4
|
box-shadow: none;
|
|
@@ -144,6 +145,7 @@
|
|
|
144
145
|
min-height: 34px;
|
|
145
146
|
}
|
|
146
147
|
|
|
148
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
147
149
|
@keyframes material-spinner-rotate {
|
|
148
150
|
0% {
|
|
149
151
|
transform: rotate(0);
|
|
@@ -161,6 +163,7 @@
|
|
|
161
163
|
}
|
|
162
164
|
}
|
|
163
165
|
/*! Toolbar's bootstrap5 theme wise override definitions and variables */
|
|
166
|
+
/* stylelint-disable */
|
|
164
167
|
.e-treegrid .e-indent::before,
|
|
165
168
|
.e-grid-menu .e-indent::before {
|
|
166
169
|
content: "\e810";
|
|
@@ -481,4 +484,6 @@
|
|
|
481
484
|
}
|
|
482
485
|
.e-treegrid .e-grid.e-rtl .e-gridcontent .e-droptop .e-lastrow-dragborder {
|
|
483
486
|
height: 0;
|
|
484
|
-
}
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
/* stylelint-disable-line no-empty-source */
|