@syncfusion/ej2-angular-grids 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/esm2020/src/grid/grid.component.mjs +3 -3
- package/fesm2015/syncfusion-ej2-angular-grids.mjs +2 -2
- package/fesm2015/syncfusion-ej2-angular-grids.mjs.map +1 -1
- package/fesm2020/syncfusion-ej2-angular-grids.mjs +2 -2
- package/fesm2020/syncfusion-ej2-angular-grids.mjs.map +1 -1
- package/package.json +8 -8
- package/schematics/collection.json +20 -0
- package/schematics/generators/grid-default/index.d.ts +3 -0
- package/schematics/generators/grid-default/index.js +8 -0
- package/schematics/generators/grid-default/sample-details.d.ts +5 -0
- package/schematics/generators/grid-default/sample-details.js +7 -0
- package/schematics/generators/grid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +5 -0
- package/schematics/generators/grid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +11 -0
- package/schematics/generators/grid-default/schema.d.ts +3 -0
- package/schematics/generators/grid-default/schema.js +2 -0
- package/schematics/generators/grid-default/schema.json +125 -0
- package/schematics/generators/grid-feature/index.d.ts +3 -0
- package/schematics/generators/grid-feature/index.js +8 -0
- package/schematics/generators/grid-feature/sample-details.d.ts +5 -0
- package/schematics/generators/grid-feature/sample-details.js +7 -0
- package/schematics/generators/grid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +5 -0
- package/schematics/generators/grid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +11 -0
- package/schematics/generators/grid-feature/schema.d.ts +3 -0
- package/schematics/generators/grid-feature/schema.js +2 -0
- package/schematics/generators/grid-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/src/grid/grid.component.d.ts +1 -1
- package/styles/bootstrap-dark.css +54 -11
- package/styles/bootstrap.css +54 -11
- package/styles/bootstrap4.css +57 -11
- package/styles/bootstrap5-dark.css +55 -11
- package/styles/bootstrap5.css +55 -11
- package/styles/excel-filter/_all.scss +1 -1
- package/styles/excel-filter/_bootstrap-dark-definition.scss +0 -1
- package/styles/excel-filter/_bootstrap-definition.scss +0 -1
- package/styles/excel-filter/_bootstrap4-definition.scss +0 -1
- package/styles/excel-filter/_fabric-dark-definition.scss +0 -1
- package/styles/excel-filter/_fabric-definition.scss +0 -1
- package/styles/excel-filter/_highcontrast-definition.scss +0 -1
- package/styles/excel-filter/_highcontrast-light-definition.scss +0 -1
- package/styles/excel-filter/_layout.scss +14 -15
- package/styles/excel-filter/_material-dark-definition.scss +0 -1
- package/styles/excel-filter/_material-definition.scss +0 -1
- package/styles/excel-filter/_office-365-definition.scss +1 -1
- package/styles/excel-filter/_theme.scss +4 -3
- package/styles/excel-filter/bootstrap-dark.css +3 -1
- package/styles/excel-filter/bootstrap-dark.scss +1 -0
- package/styles/excel-filter/bootstrap.css +3 -1
- package/styles/excel-filter/bootstrap.scss +1 -0
- package/styles/excel-filter/bootstrap4.css +6 -1
- package/styles/excel-filter/bootstrap4.scss +1 -0
- package/styles/excel-filter/bootstrap5-dark.css +3 -1
- package/styles/excel-filter/bootstrap5-dark.scss +1 -0
- package/styles/excel-filter/bootstrap5.css +3 -1
- package/styles/excel-filter/bootstrap5.scss +1 -0
- package/styles/excel-filter/fabric-dark.css +4 -2
- package/styles/excel-filter/fabric-dark.scss +1 -0
- package/styles/excel-filter/fabric.css +4 -2
- package/styles/excel-filter/fabric.scss +1 -0
- package/styles/excel-filter/fluent-dark.css +3 -1
- package/styles/excel-filter/fluent-dark.scss +1 -0
- package/styles/excel-filter/fluent.css +3 -1
- package/styles/excel-filter/fluent.scss +1 -0
- package/styles/excel-filter/highcontrast-light.css +4 -2
- package/styles/excel-filter/highcontrast-light.scss +1 -0
- package/styles/excel-filter/highcontrast.css +4 -2
- package/styles/excel-filter/highcontrast.scss +1 -0
- package/styles/excel-filter/icons/_bootstrap-dark.scss +1 -0
- package/styles/excel-filter/icons/_bootstrap.scss +1 -0
- package/styles/excel-filter/icons/_bootstrap4.scss +5 -0
- package/styles/excel-filter/icons/_bootstrap5.scss +1 -0
- package/styles/excel-filter/icons/_fabric-dark.scss +2 -1
- package/styles/excel-filter/icons/_fabric.scss +2 -1
- package/styles/excel-filter/icons/_fluent.scss +1 -0
- package/styles/excel-filter/icons/_fusionnew.scss +1 -0
- package/styles/excel-filter/icons/_highcontrast-light.scss +2 -1
- package/styles/excel-filter/icons/_highcontrast.scss +2 -1
- package/styles/excel-filter/icons/_material-dark.scss +2 -1
- package/styles/excel-filter/icons/_material.scss +4 -4
- package/styles/excel-filter/icons/_material3.scss +1 -0
- package/styles/excel-filter/icons/_tailwind.scss +1 -0
- package/styles/excel-filter/material-dark.css +4 -2
- package/styles/excel-filter/material-dark.scss +1 -0
- package/styles/excel-filter/material.css +4 -2
- package/styles/excel-filter/material.scss +1 -0
- package/styles/excel-filter/tailwind-dark.css +3 -1
- package/styles/excel-filter/tailwind-dark.scss +1 -0
- package/styles/excel-filter/tailwind.css +3 -1
- package/styles/excel-filter/tailwind.scss +1 -0
- package/styles/fabric-dark.css +57 -14
- package/styles/fabric.css +56 -13
- package/styles/fluent-dark.css +54 -11
- package/styles/fluent.css +54 -11
- package/styles/grid/_all.scss +1 -1
- package/styles/grid/_bootstrap-dark-definition.scss +4 -4
- package/styles/grid/_bootstrap-definition.scss +4 -3
- package/styles/grid/_bootstrap4-definition.scss +4 -3
- package/styles/grid/_bootstrap5-definition.scss +3 -2
- package/styles/grid/_fabric-dark-definition.scss +5 -5
- package/styles/grid/_fabric-definition.scss +3 -3
- package/styles/grid/_fluent-definition.scss +5 -3
- package/styles/grid/_fusionnew-definition.scss +3 -2
- package/styles/grid/_highcontrast-definition.scss +3 -2
- package/styles/grid/_highcontrast-light-definition.scss +2 -2
- package/styles/grid/_layout.scss +80 -51
- package/styles/grid/_material-dark-definition.scss +5 -3
- package/styles/grid/_material-definition.scss +4 -4
- package/styles/grid/_material3-definition.scss +3 -2
- package/styles/grid/_office-365-definition.scss +1 -1
- package/styles/grid/_tailwind-definition.scss +3 -2
- package/styles/grid/_theme.scss +25 -25
- package/styles/grid/bootstrap-dark.css +51 -10
- package/styles/grid/bootstrap-dark.scss +1 -0
- package/styles/grid/bootstrap.css +51 -10
- package/styles/grid/bootstrap.scss +1 -0
- package/styles/grid/bootstrap4.css +51 -10
- package/styles/grid/bootstrap4.scss +1 -0
- package/styles/grid/bootstrap5-dark.css +52 -10
- package/styles/grid/bootstrap5-dark.scss +1 -0
- package/styles/grid/bootstrap5.css +52 -10
- package/styles/grid/bootstrap5.scss +1 -0
- package/styles/grid/fabric-dark.css +53 -12
- package/styles/grid/fabric-dark.scss +1 -0
- package/styles/grid/fabric.css +52 -11
- package/styles/grid/fabric.scss +1 -0
- package/styles/grid/fluent-dark.css +51 -10
- package/styles/grid/fluent-dark.scss +1 -0
- package/styles/grid/fluent.css +51 -10
- package/styles/grid/fluent.scss +1 -0
- package/styles/grid/highcontrast-light.css +52 -11
- package/styles/grid/highcontrast-light.scss +1 -0
- package/styles/grid/highcontrast.css +52 -11
- package/styles/grid/highcontrast.scss +1 -0
- package/styles/grid/icons/_bootstrap-dark.scss +4 -3
- package/styles/grid/icons/_bootstrap.scss +3 -2
- package/styles/grid/icons/_bootstrap4.scss +3 -3
- package/styles/grid/icons/_bootstrap5.scss +1 -0
- package/styles/grid/icons/_fabric-dark.scss +5 -4
- package/styles/grid/icons/_fabric.scss +4 -3
- package/styles/grid/icons/_fluent.scss +1 -0
- package/styles/grid/icons/_fusionnew.scss +1 -0
- package/styles/grid/icons/_highcontrast-light.scss +6 -5
- package/styles/grid/icons/_highcontrast.scss +6 -6
- package/styles/grid/icons/_material-dark.scss +6 -5
- package/styles/grid/icons/_material.scss +6 -5
- package/styles/grid/icons/_material3.scss +1 -0
- package/styles/grid/icons/_tailwind.scss +1 -0
- package/styles/grid/material-dark.css +52 -11
- package/styles/grid/material-dark.scss +1 -0
- package/styles/grid/material.css +52 -11
- package/styles/grid/material.scss +1 -0
- package/styles/grid/tailwind-dark.css +51 -10
- package/styles/grid/tailwind-dark.scss +1 -0
- package/styles/grid/tailwind.css +51 -10
- package/styles/grid/tailwind.scss +1 -0
- package/styles/highcontrast-light.css +56 -13
- package/styles/highcontrast.css +56 -13
- package/styles/material-dark.css +56 -13
- package/styles/material.css +56 -13
- package/styles/tailwind-dark.css +54 -11
- package/styles/tailwind.css +54 -11
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.componentName = 'grid';
|
|
4
|
+
exports.sampleName = 'default';
|
|
5
|
+
exports.diModules = null;
|
|
6
|
+
exports.packageName = '@syncfusion/ej2-angular-grids';
|
|
7
|
+
exports.libModules = 'GridModule';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<div class="control-section">
|
|
2
|
+
<ejs-grid [dataSource]='data' height='350'>
|
|
3
|
+
<e-columns>
|
|
4
|
+
<e-column field='OrderID' headerText='Order ID' width='120' textAlign='Right'></e-column>
|
|
5
|
+
<e-column field='CustomerID' headerText='Customer Name' width='150'></e-column>
|
|
6
|
+
<e-column field='OrderDate' headerText='Order Date' width='130' format="yMd" textAlign='Right'></e-column>
|
|
7
|
+
<e-column field='Freight' headerText='Freight' width='120' format='C2' textAlign='Right'></e-column>
|
|
8
|
+
<e-column field='ShipCountry' headerText='Ship Country' width='150'></e-column>
|
|
9
|
+
</e-columns>
|
|
10
|
+
</ejs-grid>
|
|
11
|
+
</div>
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "EJ2SchemaTemplateID",
|
|
4
|
+
"title": "grid-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": "grid-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 = 'grid';
|
|
4
|
+
exports.sampleName = 'feature';
|
|
5
|
+
exports.diModules = 'PageService,SortService,FilterService,GroupService';
|
|
6
|
+
exports.packageName = '@syncfusion/ej2-angular-grids';
|
|
7
|
+
exports.libModules = 'GridModule';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<div class="control-section">
|
|
2
|
+
<ejs-grid [dataSource]='data'[allowPaging]='true' [allowSorting]='true' [allowFiltering]='true' [allowGrouping]='true'>
|
|
3
|
+
<e-columns>
|
|
4
|
+
<e-column field='OrderID' headerText='Order ID' width='120' textAlign='Right'></e-column>
|
|
5
|
+
<e-column field='CustomerID' headerText='Customer Name' width='150'></e-column>
|
|
6
|
+
<e-column field='OrderDate' headerText='Order Date' width='130' format="yMd" textAlign='Right'></e-column>
|
|
7
|
+
<e-column field='Freight' headerText='Freight' width='120' format='C2' textAlign='Right'></e-column>
|
|
8
|
+
<e-column field='ShipCountry' headerText='Ship Country' width='150'></e-column>
|
|
9
|
+
</e-columns>
|
|
10
|
+
</ejs-grid>
|
|
11
|
+
</div>
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "EJ2SchemaTemplateID",
|
|
4
|
+
"title": "grid-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": "grid-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
|
+
}
|
|
@@ -141,5 +141,5 @@ export declare class GridComponent extends Grid implements IComponentBase {
|
|
|
141
141
|
registerEvents: (eventList: string[]) => void;
|
|
142
142
|
addTwoWay: (propList: string[]) => void;
|
|
143
143
|
static ɵfac: i0.ɵɵFactoryDeclaration<GridComponent, never>;
|
|
144
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GridComponent, "ejs-grid", never, { "aggregates": "aggregates"; "allowExcelExport": "allowExcelExport"; "allowFiltering": "allowFiltering"; "allowGrouping": "allowGrouping"; "allowKeyboard": "allowKeyboard"; "allowMultiSorting": "allowMultiSorting"; "allowPaging": "allowPaging"; "allowPdfExport": "allowPdfExport"; "allowReordering": "allowReordering"; "allowResizing": "allowResizing"; "allowRowDragAndDrop": "allowRowDragAndDrop"; "allowSelection": "allowSelection"; "allowSorting": "allowSorting"; "allowTextWrap": "allowTextWrap"; "childGrid": "childGrid"; "clipMode": "clipMode"; "columnChooserSettings": "columnChooserSettings"; "columnMenuItems": "columnMenuItems"; "columnQueryMode": "columnQueryMode"; "columns": "columns"; "contextMenuItems": "contextMenuItems"; "cssClass": "cssClass"; "currencyCode": "currencyCode"; "currentAction": "currentAction"; "dataSource": "dataSource"; "detailTemplate": "detailTemplate"; "editSettings": "editSettings"; "ej2StatePersistenceVersion": "ej2StatePersistenceVersion"; "enableAdaptiveUI": "enableAdaptiveUI"; "enableAltRow": "enableAltRow"; "enableAutoFill": "enableAutoFill"; "enableColumnVirtualization": "enableColumnVirtualization"; "enableHeaderFocus": "enableHeaderFocus"; "enableHover": "enableHover"; "enableImmutableMode": "enableImmutableMode"; "enableInfiniteScrolling": "enableInfiniteScrolling"; "enablePersistence": "enablePersistence"; "enableRtl": "enableRtl"; "enableStickyHeader": "enableStickyHeader"; "enableVirtualization": "enableVirtualization"; "filterSettings": "filterSettings"; "frozenColumns": "frozenColumns"; "frozenRows": "frozenRows"; "gridLines": "gridLines"; "groupSettings": "groupSettings"; "height": "height"; "hierarchyPrintMode": "hierarchyPrintMode"; "infiniteScrollSettings": "infiniteScrollSettings"; "locale": "locale"; "pageSettings": "pageSettings"; "pagerTemplate": "pagerTemplate"; "parentDetails": "parentDetails"; "printMode": "printMode"; "query": "query"; "queryString": "queryString"; "resizeSettings": "resizeSettings"; "rowDropSettings": "rowDropSettings"; "rowHeight": "rowHeight"; "rowRenderingMode": "rowRenderingMode"; "rowTemplate": "rowTemplate"; "searchSettings": "searchSettings"; "selectedRowIndex": "selectedRowIndex"; "selectionSettings": "selectionSettings"; "showColumnChooser": "showColumnChooser"; "showColumnMenu": "showColumnMenu"; "sortSettings": "sortSettings"; "textWrapSettings": "textWrapSettings"; "toolbar": "toolbar"; "toolbarTemplate": "toolbarTemplate"; "width": "width"; }, { "actionBegin": "actionBegin"; "actionComplete": "actionComplete"; "actionFailure": "actionFailure"; "batchAdd": "batchAdd"; "batchCancel": "batchCancel"; "batchDelete": "batchDelete"; "beforeAutoFill": "beforeAutoFill"; "beforeBatchAdd": "beforeBatchAdd"; "beforeBatchDelete": "beforeBatchDelete"; "beforeBatchSave": "beforeBatchSave"; "beforeCopy": "beforeCopy"; "beforeDataBound": "beforeDataBound"; "beforeExcelExport": "beforeExcelExport"; "beforeOpenAdaptiveDialog": "beforeOpenAdaptiveDialog"; "beforeOpenColumnChooser": "beforeOpenColumnChooser"; "beforePaste": "beforePaste"; "beforePdfExport": "beforePdfExport"; "beforePrint": "beforePrint"; "beginEdit": "beginEdit"; "cellDeselected": "cellDeselected"; "cellDeselecting": "cellDeselecting"; "cellEdit": "cellEdit"; "cellSave": "cellSave"; "cellSaved": "cellSaved"; "cellSelected": "cellSelected"; "cellSelecting": "cellSelecting"; "checkBoxChange": "checkBoxChange"; "columnDataStateChange": "columnDataStateChange"; "columnDeselected": "columnDeselected"; "columnDeselecting": "columnDeselecting"; "columnDrag": "columnDrag"; "columnDragStart": "columnDragStart"; "columnDrop": "columnDrop"; "columnMenuClick": "columnMenuClick"; "columnMenuOpen": "columnMenuOpen"; "columnSelected": "columnSelected"; "columnSelecting": "columnSelecting"; "commandClick": "commandClick"; "contextMenuClick": "contextMenuClick"; "contextMenuOpen": "contextMenuOpen"; "created": "created"; "dataBound": "dataBound"; "dataSourceChanged": "dataSourceChanged"; "dataStateChange": "dataStateChange"; "destroyed": "destroyed"; "detailDataBound": "detailDataBound"; "excelAggregateQueryCellInfo": "excelAggregateQueryCellInfo"; "excelExportComplete": "excelExportComplete"; "excelHeaderQueryCellInfo": "excelHeaderQueryCellInfo"; "excelQueryCellInfo": "excelQueryCellInfo"; "exportDetailDataBound": "exportDetailDataBound"; "exportGroupCaption": "exportGroupCaption"; "headerCellInfo": "headerCellInfo"; "keyPressed": "keyPressed"; "lazyLoadGroupCollapse": "lazyLoadGroupCollapse"; "lazyLoadGroupExpand": "lazyLoadGroupExpand"; "load": "load"; "pdfAggregateQueryCellInfo": "pdfAggregateQueryCellInfo"; "pdfExportComplete": "pdfExportComplete"; "pdfHeaderQueryCellInfo": "pdfHeaderQueryCellInfo"; "pdfQueryCellInfo": "pdfQueryCellInfo"; "printComplete": "printComplete"; "queryCellInfo": "queryCellInfo"; "recordClick": "recordClick"; "recordDoubleClick": "recordDoubleClick"; "resizeStart": "resizeStart"; "resizeStop": "resizeStop"; "resizing": "resizing"; "rowDataBound": "rowDataBound"; "rowDeselected": "rowDeselected"; "rowDeselecting": "rowDeselecting"; "rowDrag": "rowDrag"; "rowDragStart": "rowDragStart"; "rowDragStartHelper": "rowDragStartHelper"; "rowDrop": "rowDrop"; "rowSelected": "rowSelected"; "rowSelecting": "rowSelecting"; "toolbarClick": "toolbarClick"; "dataSourceChange": "dataSourceChange"; }, ["rowTemplate", "detailTemplate", "toolbarTemplate", "pagerTemplate", "editSettings_template", "groupSettings_captionTemplate", "childColumns", "childAggregates"], never>;
|
|
144
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridComponent, "ejs-grid", never, { "aggregates": "aggregates"; "allowExcelExport": "allowExcelExport"; "allowFiltering": "allowFiltering"; "allowGrouping": "allowGrouping"; "allowKeyboard": "allowKeyboard"; "allowMultiSorting": "allowMultiSorting"; "allowPaging": "allowPaging"; "allowPdfExport": "allowPdfExport"; "allowReordering": "allowReordering"; "allowResizing": "allowResizing"; "allowRowDragAndDrop": "allowRowDragAndDrop"; "allowSelection": "allowSelection"; "allowSorting": "allowSorting"; "allowTextWrap": "allowTextWrap"; "childGrid": "childGrid"; "clipMode": "clipMode"; "columnChooserSettings": "columnChooserSettings"; "columnMenuItems": "columnMenuItems"; "columnQueryMode": "columnQueryMode"; "columns": "columns"; "contextMenuItems": "contextMenuItems"; "cssClass": "cssClass"; "currencyCode": "currencyCode"; "currentAction": "currentAction"; "dataSource": "dataSource"; "detailTemplate": "detailTemplate"; "editSettings": "editSettings"; "ej2StatePersistenceVersion": "ej2StatePersistenceVersion"; "enableAdaptiveUI": "enableAdaptiveUI"; "enableAltRow": "enableAltRow"; "enableAutoFill": "enableAutoFill"; "enableColumnVirtualization": "enableColumnVirtualization"; "enableHeaderFocus": "enableHeaderFocus"; "enableHover": "enableHover"; "enableImmutableMode": "enableImmutableMode"; "enableInfiniteScrolling": "enableInfiniteScrolling"; "enablePersistence": "enablePersistence"; "enableRtl": "enableRtl"; "enableStickyHeader": "enableStickyHeader"; "enableVirtualMaskRow": "enableVirtualMaskRow"; "enableVirtualization": "enableVirtualization"; "filterSettings": "filterSettings"; "frozenColumns": "frozenColumns"; "frozenRows": "frozenRows"; "gridLines": "gridLines"; "groupSettings": "groupSettings"; "height": "height"; "hierarchyPrintMode": "hierarchyPrintMode"; "infiniteScrollSettings": "infiniteScrollSettings"; "loadingIndicator": "loadingIndicator"; "locale": "locale"; "pageSettings": "pageSettings"; "pagerTemplate": "pagerTemplate"; "parentDetails": "parentDetails"; "printMode": "printMode"; "query": "query"; "queryString": "queryString"; "resizeSettings": "resizeSettings"; "rowDropSettings": "rowDropSettings"; "rowHeight": "rowHeight"; "rowRenderingMode": "rowRenderingMode"; "rowTemplate": "rowTemplate"; "searchSettings": "searchSettings"; "selectedRowIndex": "selectedRowIndex"; "selectionSettings": "selectionSettings"; "showColumnChooser": "showColumnChooser"; "showColumnMenu": "showColumnMenu"; "sortSettings": "sortSettings"; "textWrapSettings": "textWrapSettings"; "toolbar": "toolbar"; "toolbarTemplate": "toolbarTemplate"; "width": "width"; }, { "actionBegin": "actionBegin"; "actionComplete": "actionComplete"; "actionFailure": "actionFailure"; "batchAdd": "batchAdd"; "batchCancel": "batchCancel"; "batchDelete": "batchDelete"; "beforeAutoFill": "beforeAutoFill"; "beforeBatchAdd": "beforeBatchAdd"; "beforeBatchDelete": "beforeBatchDelete"; "beforeBatchSave": "beforeBatchSave"; "beforeCopy": "beforeCopy"; "beforeDataBound": "beforeDataBound"; "beforeExcelExport": "beforeExcelExport"; "beforeOpenAdaptiveDialog": "beforeOpenAdaptiveDialog"; "beforeOpenColumnChooser": "beforeOpenColumnChooser"; "beforePaste": "beforePaste"; "beforePdfExport": "beforePdfExport"; "beforePrint": "beforePrint"; "beginEdit": "beginEdit"; "cellDeselected": "cellDeselected"; "cellDeselecting": "cellDeselecting"; "cellEdit": "cellEdit"; "cellSave": "cellSave"; "cellSaved": "cellSaved"; "cellSelected": "cellSelected"; "cellSelecting": "cellSelecting"; "checkBoxChange": "checkBoxChange"; "columnDataStateChange": "columnDataStateChange"; "columnDeselected": "columnDeselected"; "columnDeselecting": "columnDeselecting"; "columnDrag": "columnDrag"; "columnDragStart": "columnDragStart"; "columnDrop": "columnDrop"; "columnMenuClick": "columnMenuClick"; "columnMenuOpen": "columnMenuOpen"; "columnSelected": "columnSelected"; "columnSelecting": "columnSelecting"; "commandClick": "commandClick"; "contextMenuClick": "contextMenuClick"; "contextMenuOpen": "contextMenuOpen"; "created": "created"; "dataBound": "dataBound"; "dataSourceChanged": "dataSourceChanged"; "dataStateChange": "dataStateChange"; "destroyed": "destroyed"; "detailDataBound": "detailDataBound"; "excelAggregateQueryCellInfo": "excelAggregateQueryCellInfo"; "excelExportComplete": "excelExportComplete"; "excelHeaderQueryCellInfo": "excelHeaderQueryCellInfo"; "excelQueryCellInfo": "excelQueryCellInfo"; "exportDetailDataBound": "exportDetailDataBound"; "exportGroupCaption": "exportGroupCaption"; "headerCellInfo": "headerCellInfo"; "keyPressed": "keyPressed"; "lazyLoadGroupCollapse": "lazyLoadGroupCollapse"; "lazyLoadGroupExpand": "lazyLoadGroupExpand"; "load": "load"; "pdfAggregateQueryCellInfo": "pdfAggregateQueryCellInfo"; "pdfExportComplete": "pdfExportComplete"; "pdfHeaderQueryCellInfo": "pdfHeaderQueryCellInfo"; "pdfQueryCellInfo": "pdfQueryCellInfo"; "printComplete": "printComplete"; "queryCellInfo": "queryCellInfo"; "recordClick": "recordClick"; "recordDoubleClick": "recordDoubleClick"; "resizeStart": "resizeStart"; "resizeStop": "resizeStop"; "resizing": "resizing"; "rowDataBound": "rowDataBound"; "rowDeselected": "rowDeselected"; "rowDeselecting": "rowDeselecting"; "rowDrag": "rowDrag"; "rowDragStart": "rowDragStart"; "rowDragStartHelper": "rowDragStartHelper"; "rowDrop": "rowDrop"; "rowSelected": "rowSelected"; "rowSelecting": "rowSelecting"; "toolbarClick": "toolbarClick"; "dataSourceChange": "dataSourceChange"; }, ["rowTemplate", "detailTemplate", "toolbarTemplate", "pagerTemplate", "editSettings_template", "groupSettings_captionTemplate", "childColumns", "childAggregates"], never>;
|
|
145
145
|
}
|