@syncfusion/ej2-angular-grids 20.1.60 → 20.2.36
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/public_api.mjs +3 -0
- package/esm2020/src/grid/aggregate-columns.directive.mjs +84 -0
- package/esm2020/src/grid/aggregates.directive.mjs +69 -0
- package/esm2020/src/grid/columns.directive.mjs +100 -0
- package/esm2020/src/grid/grid-all.module.mjs +98 -0
- package/esm2020/src/grid/grid.component.mjs +274 -0
- package/esm2020/src/grid/grid.module.mjs +61 -0
- package/esm2020/src/grid/stacked-column.directive.mjs +100 -0
- package/esm2020/src/index.mjs +12 -0
- package/esm2020/src/pager/pager-all.module.mjs +23 -0
- package/esm2020/src/pager/pager.component.mjs +66 -0
- package/esm2020/src/pager/pager.module.mjs +25 -0
- package/esm2020/syncfusion-ej2-angular-grids.mjs +5 -0
- package/fesm2015/syncfusion-ej2-angular-grids.mjs +859 -0
- package/fesm2015/syncfusion-ej2-angular-grids.mjs.map +1 -0
- package/fesm2020/syncfusion-ej2-angular-grids.mjs +859 -0
- package/fesm2020/syncfusion-ej2-angular-grids.mjs.map +1 -0
- package/package.json +29 -15
- package/schematics/utils/lib-details.ts +2 -2
- package/src/grid/aggregate-columns.directive.d.ts +5 -0
- package/src/grid/aggregates.directive.d.ts +5 -0
- package/src/grid/columns.directive.d.ts +5 -0
- package/src/grid/grid-all.module.d.ts +6 -0
- package/src/grid/grid.component.d.ts +3 -0
- package/src/grid/grid.module.d.ts +10 -0
- package/src/grid/stacked-column.directive.d.ts +5 -0
- package/src/pager/pager-all.module.d.ts +6 -0
- package/src/pager/pager.component.d.ts +3 -0
- package/src/pager/pager.module.d.ts +6 -0
- package/styles/bootstrap-dark.css +64 -689
- package/styles/bootstrap-dark.scss +0 -1
- package/styles/bootstrap.css +64 -689
- package/styles/bootstrap.scss +0 -1
- package/styles/bootstrap4.css +61 -688
- package/styles/bootstrap4.scss +0 -1
- package/styles/bootstrap5-dark.css +62 -724
- package/styles/bootstrap5-dark.scss +0 -1
- package/styles/bootstrap5.css +62 -724
- package/styles/bootstrap5.scss +0 -1
- package/styles/excel-filter/_all.scss +2 -0
- package/styles/excel-filter/_bootstrap-dark-definition.scss +60 -0
- package/styles/excel-filter/_bootstrap-definition.scss +65 -0
- package/styles/excel-filter/_bootstrap4-definition.scss +70 -0
- package/styles/excel-filter/_bootstrap5-dark-definition.scss +1 -0
- package/styles/excel-filter/_bootstrap5-definition.scss +70 -0
- package/styles/excel-filter/_fabric-dark-definition.scss +60 -0
- package/styles/excel-filter/_fabric-definition.scss +65 -0
- package/styles/excel-filter/_fluent-dark-definition.scss +1 -0
- package/styles/excel-filter/_fluent-definition.scss +70 -0
- package/styles/excel-filter/_fusionnew-definition.scss +70 -0
- package/styles/excel-filter/_highcontrast-definition.scss +60 -0
- package/styles/excel-filter/_highcontrast-light-definition.scss +58 -0
- package/styles/excel-filter/_layout.scss +413 -0
- package/styles/excel-filter/_material-dark-definition.scss +62 -0
- package/styles/excel-filter/_material-definition.scss +63 -0
- package/styles/excel-filter/_material3-definition.scss +70 -0
- package/styles/excel-filter/_office-365-definition.scss +1 -0
- package/styles/excel-filter/_tailwind-dark-definition.scss +1 -0
- package/styles/excel-filter/_tailwind-definition.scss +69 -0
- package/styles/excel-filter/_theme.scss +27 -0
- package/styles/excel-filter/bootstrap-dark.scss +16 -1
- package/styles/excel-filter/bootstrap.scss +16 -1
- package/styles/excel-filter/bootstrap4.scss +16 -1
- package/styles/excel-filter/bootstrap5-dark.scss +16 -1
- package/styles/excel-filter/bootstrap5.scss +16 -1
- package/styles/excel-filter/fabric-dark.scss +16 -1
- package/styles/excel-filter/fabric.scss +16 -1
- package/styles/excel-filter/fluent-dark.scss +16 -1
- package/styles/excel-filter/fluent.scss +16 -1
- package/styles/excel-filter/highcontrast-light.scss +16 -1
- package/styles/excel-filter/highcontrast.scss +16 -1
- package/styles/excel-filter/icons/_bootstrap-dark.scss +37 -0
- package/styles/excel-filter/icons/_bootstrap.scss +37 -0
- package/styles/excel-filter/icons/_bootstrap4.scss +37 -0
- package/styles/excel-filter/icons/_bootstrap5-dark.scss +1 -0
- package/styles/excel-filter/icons/_bootstrap5.scss +41 -0
- package/styles/excel-filter/icons/_fabric-dark.scss +37 -0
- package/styles/excel-filter/icons/_fabric.scss +37 -0
- package/styles/excel-filter/icons/_fluent-dark.scss +1 -0
- package/styles/excel-filter/icons/_fluent.scss +41 -0
- package/styles/excel-filter/icons/_fusionnew.scss +41 -0
- package/styles/excel-filter/icons/_highcontrast-light.scss +37 -0
- package/styles/excel-filter/icons/_highcontrast.scss +37 -0
- package/styles/excel-filter/icons/_material-dark.scss +37 -0
- package/styles/excel-filter/icons/_material.scss +38 -0
- package/styles/excel-filter/icons/_material3.scss +41 -0
- package/styles/excel-filter/icons/_tailwind-dark.scss +1 -0
- package/styles/excel-filter/icons/_tailwind.scss +41 -0
- package/styles/excel-filter/material-dark.scss +16 -1
- package/styles/excel-filter/material.scss +16 -1
- package/styles/excel-filter/tailwind-dark.scss +16 -1
- package/styles/excel-filter/tailwind.scss +16 -1
- package/styles/fabric-dark.css +61 -688
- package/styles/fabric-dark.scss +0 -1
- package/styles/fabric.css +61 -688
- package/styles/fabric.scss +0 -1
- package/styles/fluent-dark.css +61 -690
- package/styles/fluent-dark.scss +0 -1
- package/styles/fluent.css +61 -690
- package/styles/fluent.scss +0 -1
- package/styles/grid/_all.scss +2 -0
- package/styles/grid/_bootstrap-dark-definition.scss +596 -0
- package/styles/grid/_bootstrap-definition.scss +597 -0
- package/styles/grid/_bootstrap4-definition.scss +601 -0
- package/styles/grid/_bootstrap5-dark-definition.scss +1 -0
- package/styles/grid/_bootstrap5-definition.scss +596 -0
- package/styles/grid/_fabric-dark-definition.scss +594 -0
- package/styles/grid/_fabric-definition.scss +594 -0
- package/styles/grid/_fluent-dark-definition.scss +1 -0
- package/styles/grid/_fluent-definition.scss +587 -0
- package/styles/grid/_fusionnew-definition.scss +573 -0
- package/styles/grid/_highcontrast-definition.scss +593 -0
- package/styles/grid/_highcontrast-light-definition.scss +590 -0
- package/styles/grid/_layout.scss +4282 -0
- package/styles/grid/_material-dark-definition.scss +592 -0
- package/styles/grid/_material-definition.scss +592 -0
- package/styles/grid/_material3-definition.scss +597 -0
- package/styles/grid/_office-365-definition.scss +1 -0
- package/styles/grid/_tailwind-dark-definition.scss +1 -0
- package/styles/grid/_tailwind-definition.scss +602 -0
- package/styles/grid/_theme.scss +603 -0
- package/styles/grid/bootstrap-dark.css +64 -2
- package/styles/grid/bootstrap-dark.scss +20 -1
- package/styles/grid/bootstrap.css +64 -2
- package/styles/grid/bootstrap.scss +20 -1
- package/styles/grid/bootstrap4.css +61 -1
- package/styles/grid/bootstrap4.scss +20 -1
- package/styles/grid/bootstrap5-dark.css +62 -2
- package/styles/grid/bootstrap5-dark.scss +20 -1
- package/styles/grid/bootstrap5.css +62 -2
- package/styles/grid/bootstrap5.scss +20 -1
- package/styles/grid/fabric-dark.css +61 -1
- package/styles/grid/fabric-dark.scss +20 -1
- package/styles/grid/fabric.css +61 -1
- package/styles/grid/fabric.scss +20 -1
- package/styles/grid/fluent-dark.css +61 -1
- package/styles/grid/fluent-dark.scss +20 -1
- package/styles/grid/fluent.css +61 -1
- package/styles/grid/fluent.scss +20 -1
- package/styles/grid/highcontrast-light.css +61 -1
- package/styles/grid/highcontrast-light.scss +20 -1
- package/styles/grid/highcontrast.css +61 -1
- package/styles/grid/highcontrast.scss +20 -1
- package/styles/grid/icons/_bootstrap-dark.scss +225 -0
- package/styles/grid/icons/_bootstrap.scss +225 -0
- package/styles/grid/icons/_bootstrap4.scss +225 -0
- package/styles/grid/icons/_bootstrap5-dark.scss +1 -0
- package/styles/grid/icons/_bootstrap5.scss +245 -0
- package/styles/grid/icons/_fabric-dark.scss +224 -0
- package/styles/grid/icons/_fabric.scss +224 -0
- package/styles/grid/icons/_fluent-dark.scss +1 -0
- package/styles/grid/icons/_fluent.scss +245 -0
- package/styles/grid/icons/_fusionnew.scss +245 -0
- package/styles/grid/icons/_highcontrast-light.scss +224 -0
- package/styles/grid/icons/_highcontrast.scss +225 -0
- package/styles/grid/icons/_material-dark.scss +224 -0
- package/styles/grid/icons/_material.scss +224 -0
- package/styles/grid/icons/_material3.scss +245 -0
- package/styles/grid/icons/_tailwind-dark.scss +1 -0
- package/styles/grid/icons/_tailwind.scss +245 -0
- package/styles/grid/material-dark.css +61 -1
- package/styles/grid/material-dark.scss +20 -1
- package/styles/grid/material.css +61 -1
- package/styles/grid/material.scss +20 -1
- package/styles/grid/tailwind-dark.css +61 -1
- package/styles/grid/tailwind-dark.scss +20 -1
- package/styles/grid/tailwind.css +61 -1
- package/styles/grid/tailwind.scss +20 -1
- package/styles/highcontrast-light.css +61 -688
- package/styles/highcontrast-light.scss +0 -1
- package/styles/highcontrast.css +61 -688
- package/styles/highcontrast.scss +0 -1
- package/styles/material-dark.css +61 -688
- package/styles/material-dark.scss +0 -1
- package/styles/material.css +61 -688
- package/styles/material.scss +0 -1
- package/styles/tailwind-dark.css +61 -815
- package/styles/tailwind-dark.scss +0 -1
- package/styles/tailwind.css +61 -815
- package/styles/tailwind.scss +0 -1
- package/syncfusion-ej2-angular-grids.d.ts +5 -0
- package/@syncfusion/ej2-angular-grids.es5.js +0 -988
- package/@syncfusion/ej2-angular-grids.es5.js.map +0 -1
- package/@syncfusion/ej2-angular-grids.js +0 -927
- package/@syncfusion/ej2-angular-grids.js.map +0 -1
- package/CHANGELOG.md +0 -2693
- package/dist/ej2-angular-grids.umd.js +0 -1576
- package/dist/ej2-angular-grids.umd.js.map +0 -1
- package/dist/ej2-angular-grids.umd.min.js +0 -11
- package/dist/ej2-angular-grids.umd.min.js.map +0 -1
- package/ej2-angular-grids.d.ts +0 -6
- package/ej2-angular-grids.metadata.json +0 -1
- package/postinstall/tagchange.js +0 -18
- package/schematics/collection.json +0 -20
- package/schematics/generators/grid-default/index.d.ts +0 -3
- package/schematics/generators/grid-default/index.js +0 -8
- package/schematics/generators/grid-default/sample-details.d.ts +0 -5
- package/schematics/generators/grid-default/sample-details.js +0 -7
- package/schematics/generators/grid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -5
- package/schematics/generators/grid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
- package/schematics/generators/grid-default/schema.d.ts +0 -3
- package/schematics/generators/grid-default/schema.js +0 -2
- package/schematics/generators/grid-default/schema.json +0 -124
- package/schematics/generators/grid-feature/index.d.ts +0 -3
- package/schematics/generators/grid-feature/index.js +0 -8
- package/schematics/generators/grid-feature/sample-details.d.ts +0 -5
- package/schematics/generators/grid-feature/sample-details.js +0 -7
- package/schematics/generators/grid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -5
- package/schematics/generators/grid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
- package/schematics/generators/grid-feature/schema.d.ts +0 -3
- package/schematics/generators/grid-feature/schema.js +0 -2
- package/schematics/generators/grid-feature/schema.json +0 -124
- 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/ng-add/schema.json +0 -34
- package/schematics/tsconfig.json +0 -25
- package/schematics/utils/lib-details.d.ts +0 -4
- package/schematics/utils/lib-details.js +0 -6
- package/styles/pager/bootstrap-dark.css +0 -686
- package/styles/pager/bootstrap-dark.scss +0 -1
- package/styles/pager/bootstrap.css +0 -686
- package/styles/pager/bootstrap.scss +0 -1
- package/styles/pager/bootstrap4.css +0 -686
- package/styles/pager/bootstrap4.scss +0 -1
- package/styles/pager/bootstrap5-dark.css +0 -721
- package/styles/pager/bootstrap5-dark.scss +0 -1
- package/styles/pager/bootstrap5.css +0 -721
- package/styles/pager/bootstrap5.scss +0 -1
- package/styles/pager/fabric-dark.css +0 -686
- package/styles/pager/fabric-dark.scss +0 -1
- package/styles/pager/fabric.css +0 -686
- package/styles/pager/fabric.scss +0 -1
- package/styles/pager/fluent-dark.css +0 -688
- package/styles/pager/fluent-dark.scss +0 -1
- package/styles/pager/fluent.css +0 -688
- package/styles/pager/fluent.scss +0 -1
- package/styles/pager/highcontrast-light.css +0 -686
- package/styles/pager/highcontrast-light.scss +0 -1
- package/styles/pager/highcontrast.css +0 -686
- package/styles/pager/highcontrast.scss +0 -1
- package/styles/pager/material-dark.css +0 -687
- package/styles/pager/material-dark.scss +0 -1
- package/styles/pager/material.css +0 -687
- package/styles/pager/material.scss +0 -1
- package/styles/pager/tailwind-dark.css +0 -813
- package/styles/pager/tailwind-dark.scss +0 -1
- package/styles/pager/tailwind.css +0 -813
- package/styles/pager/tailwind.scss +0 -1
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"id": "grid-default",
|
|
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
|
-
}
|
|
@@ -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,7 +0,0 @@
|
|
|
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';
|
|
@@ -1,11 +0,0 @@
|
|
|
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>
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"id": "grid-feature",
|
|
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
|
-
}
|
|
@@ -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
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
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
|
-
}
|
package/schematics/tsconfig.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
}
|