@syncfusion/ej2-angular-grids 20.4.38 → 20.4.39

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.
Files changed (78) hide show
  1. package/README.md +122 -55
  2. package/esm2020/src/pager/pager.component.mjs +4 -4
  3. package/fesm2015/syncfusion-ej2-angular-grids.mjs +3 -3
  4. package/fesm2015/syncfusion-ej2-angular-grids.mjs.map +1 -1
  5. package/fesm2020/syncfusion-ej2-angular-grids.mjs +3 -3
  6. package/fesm2020/syncfusion-ej2-angular-grids.mjs.map +1 -1
  7. package/package.json +1 -1
  8. package/src/pager/pager.component.d.ts +5 -1
  9. package/styles/bootstrap-dark.css +28 -24
  10. package/styles/bootstrap.css +25 -21
  11. package/styles/bootstrap4.css +39 -31
  12. package/styles/bootstrap5-dark.css +35 -27
  13. package/styles/bootstrap5.css +35 -27
  14. package/styles/fabric-dark.css +42 -38
  15. package/styles/fabric.css +37 -33
  16. package/styles/fluent-dark.css +23 -19
  17. package/styles/fluent.css +23 -19
  18. package/styles/grid/_bootstrap-dark-definition.scss +18 -18
  19. package/styles/grid/_bootstrap-definition.scss +16 -16
  20. package/styles/grid/_bootstrap4-definition.scss +23 -23
  21. package/styles/grid/_bootstrap5-definition.scss +20 -20
  22. package/styles/grid/_fabric-dark-definition.scss +25 -25
  23. package/styles/grid/_fabric-definition.scss +23 -23
  24. package/styles/grid/_fluent-definition.scss +14 -14
  25. package/styles/grid/_highcontrast-definition.scss +24 -24
  26. package/styles/grid/_highcontrast-light-definition.scss +22 -22
  27. package/styles/grid/_layout.scss +24 -5
  28. package/styles/grid/_material-dark-definition.scss +24 -24
  29. package/styles/grid/_material-definition.scss +23 -23
  30. package/styles/grid/_tailwind-definition.scss +12 -12
  31. package/styles/grid/bootstrap-dark.css +28 -24
  32. package/styles/grid/bootstrap.css +25 -21
  33. package/styles/grid/bootstrap4.css +39 -31
  34. package/styles/grid/bootstrap5-dark.css +35 -27
  35. package/styles/grid/bootstrap5.css +35 -27
  36. package/styles/grid/fabric-dark.css +42 -38
  37. package/styles/grid/fabric.css +37 -33
  38. package/styles/grid/fluent-dark.css +23 -19
  39. package/styles/grid/fluent.css +23 -19
  40. package/styles/grid/highcontrast-light.css +40 -36
  41. package/styles/grid/highcontrast.css +42 -38
  42. package/styles/grid/material-dark.css +39 -35
  43. package/styles/grid/material.css +38 -34
  44. package/styles/grid/tailwind-dark.css +21 -17
  45. package/styles/grid/tailwind.css +21 -17
  46. package/styles/highcontrast-light.css +40 -36
  47. package/styles/highcontrast.css +42 -38
  48. package/styles/material-dark.css +39 -35
  49. package/styles/material.css +38 -34
  50. package/styles/tailwind-dark.css +21 -17
  51. package/styles/tailwind.css +21 -17
  52. package/schematics/collection.json +0 -20
  53. package/schematics/generators/grid-default/index.d.ts +0 -3
  54. package/schematics/generators/grid-default/index.js +0 -8
  55. package/schematics/generators/grid-default/sample-details.d.ts +0 -5
  56. package/schematics/generators/grid-default/sample-details.js +0 -7
  57. package/schematics/generators/grid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -5
  58. package/schematics/generators/grid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
  59. package/schematics/generators/grid-default/schema.d.ts +0 -3
  60. package/schematics/generators/grid-default/schema.js +0 -2
  61. package/schematics/generators/grid-default/schema.json +0 -125
  62. package/schematics/generators/grid-feature/index.d.ts +0 -3
  63. package/schematics/generators/grid-feature/index.js +0 -8
  64. package/schematics/generators/grid-feature/sample-details.d.ts +0 -5
  65. package/schematics/generators/grid-feature/sample-details.js +0 -7
  66. package/schematics/generators/grid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -5
  67. package/schematics/generators/grid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
  68. package/schematics/generators/grid-feature/schema.d.ts +0 -3
  69. package/schematics/generators/grid-feature/schema.js +0 -2
  70. package/schematics/generators/grid-feature/schema.json +0 -125
  71. package/schematics/ng-add/index.d.ts +0 -3
  72. package/schematics/ng-add/index.js +0 -9
  73. package/schematics/ng-add/schema.d.ts +0 -13
  74. package/schematics/ng-add/schema.js +0 -2
  75. package/schematics/ng-add/schema.json +0 -34
  76. package/schematics/tsconfig.json +0 -25
  77. package/schematics/utils/lib-details.d.ts +0 -4
  78. package/schematics/utils/lib-details.js +0 -6
@@ -1014,12 +1014,12 @@ li.e-separator.e-menu-item.e-excel-separator {
1014
1014
  .e-bigger .e-grid .e-gridheader .e-rightalign.e-fltr-icon .e-sortnumber,
1015
1015
  .e-grid.e-bigger .e-gridheader .e-rightalign.e-fltr-icon .e-sortnumber {
1016
1016
  float: left;
1017
- margin: 0 6px 0 16px;
1017
+ margin: 0 6px 0 0;
1018
1018
  }
1019
1019
  .e-bigger .e-grid .e-gridheader .e-rightalign .e-sortnumber,
1020
1020
  .e-grid.e-bigger .e-gridheader .e-rightalign .e-sortnumber {
1021
1021
  float: left;
1022
- margin: 0 6px 0 20px;
1022
+ margin: 0 6px 0 6px;
1023
1023
  }
1024
1024
  .e-bigger .e-grid .e-sortnumber,
1025
1025
  .e-grid.e-bigger .e-sortnumber {
@@ -1083,7 +1083,7 @@ li.e-separator.e-menu-item.e-excel-separator {
1083
1083
  .e-bigger .e-grid.e-rtl .e-headercell.e-rightalign .e-headercelldiv .e-sortnumber, .e-bigger .e-grid.e-rtl .e-detailheadercell.e-rightalign .e-headercelldiv .e-sortnumber,
1084
1084
  .e-grid.e-bigger.e-rtl .e-headercell.e-rightalign .e-headercelldiv .e-sortnumber,
1085
1085
  .e-grid.e-bigger.e-rtl .e-detailheadercell.e-rightalign .e-headercelldiv .e-sortnumber {
1086
- margin: 0 6px 0 32px;
1086
+ margin: 0 6px 0 5px;
1087
1087
  }
1088
1088
  .e-bigger .e-grid.e-rtl .e-headercell.e-leftalign.e-headercell.e-fltr-icon .e-headercelldiv .e-sortnumber, .e-bigger .e-grid.e-rtl .e-detailheadercell.e-leftalign.e-headercell.e-fltr-icon .e-headercelldiv .e-sortnumber,
1089
1089
  .e-grid.e-bigger.e-rtl .e-headercell.e-leftalign.e-headercell.e-fltr-icon .e-headercelldiv .e-sortnumber,
@@ -1182,7 +1182,7 @@ li.e-separator.e-menu-item.e-excel-separator {
1182
1182
  .e-bigger .e-grid.e-bigger .e-columnmenu,
1183
1183
  .e-grid.e-bigger.e-bigger .e-columnmenu {
1184
1184
  bottom: 13px;
1185
- margin: 0 -3px;
1185
+ margin: -14px -15px;
1186
1186
  }
1187
1187
  .e-bigger .e-grid .e-columnmenu,
1188
1188
  .e-grid.e-bigger .e-columnmenu {
@@ -1598,6 +1598,13 @@ li.e-separator.e-menu-item.e-excel-separator {
1598
1598
  .e-grid .e-toolbar .e-toolbar-item.e-search-wrapper .e-sicon.e-clear-icon::before {
1599
1599
  font-size: 18px;
1600
1600
  }
1601
+ .e-grid .e-toolbar-items .e-input-group-icon.e-icons.e-sicon:hover:not(.e-clear-icon), .e-grid .e-toolbar-items .e-input-group-icon.e-icons.e-sicon:active:not(.e-clear-icon), .e-grid .e-toolbar-items .e-input-group-icon.e-icons.e-sicon:focus:not(.e-clear-icon) {
1602
+ background: none;
1603
+ box-shadow: none;
1604
+ }
1605
+ .e-grid .e-toolbar-items .e-input-group-icon.e-icons.e-sicon:not(.e-clear-icon) {
1606
+ border: none;
1607
+ }
1601
1608
  .e-grid .e-res-toolbar {
1602
1609
  border-bottom: 1px solid;
1603
1610
  border-bottom-color: #e5e7eb;
@@ -2102,7 +2109,7 @@ li.e-separator.e-menu-item.e-excel-separator {
2102
2109
  text-overflow: ellipsis;
2103
2110
  white-space: nowrap;
2104
2111
  }
2105
- .e-grid.e-responsive .e-rowcell.e-gridchkbox, .e-grid.e-responsive .e-headercelldiv.e-headerchkcelldiv {
2112
+ .e-grid.e-responsive .e-rowcell.e-gridchkbox, .e-grid.e-responsive .e-rowcell.e-gridchkbox-cell, .e-grid.e-responsive .e-headercelldiv.e-headerchkcelldiv {
2106
2113
  text-overflow: clip;
2107
2114
  }
2108
2115
  .e-grid.e-default .e-headercell, .e-grid.e-default .e-detailheadercell {
@@ -2181,7 +2188,7 @@ li.e-separator.e-menu-item.e-excel-separator {
2181
2188
  }
2182
2189
  .e-grid .e-gridheader .e-sortfilter .e-rightalign .e-headercelldiv,
2183
2190
  .e-grid .e-gridheader .e-rightalign .e-stackedheadercelldiv {
2184
- padding: 0 5px 0;
2191
+ padding: 0 5px 0 20px;
2185
2192
  }
2186
2193
  .e-grid .e-gridheader .e-sortfilter .e-rightalign.e-fltr-icon .e-headercelldiv {
2187
2194
  margin: -5px 15px -5px 0;
@@ -2249,11 +2256,11 @@ li.e-separator.e-menu-item.e-excel-separator {
2249
2256
  }
2250
2257
  .e-grid .e-gridheader .e-rightalign.e-fltr-icon .e-sortnumber {
2251
2258
  float: left;
2252
- margin: 0 4px 0 14px;
2259
+ margin: 0 4px 0 -2px;
2253
2260
  }
2254
2261
  .e-grid .e-gridheader .e-rightalign .e-sortnumber {
2255
2262
  float: left;
2256
- margin: 0 4px 0 18px;
2263
+ margin: 0 4px 0 2px;
2257
2264
  }
2258
2265
  .e-grid .e-gridheader .e-fltr-icon .e-sortfilterdiv {
2259
2266
  margin: -13px 21px -13px 4px;
@@ -2734,13 +2741,11 @@ li.e-separator.e-menu-item.e-excel-separator {
2734
2741
  font-size: 14px;
2735
2742
  padding: 11px 8px 10px 8px;
2736
2743
  text-decoration: none;
2737
- text-indent: 11px;
2738
2744
  }
2739
2745
  .e-grid .e-icon-grightarrow {
2740
2746
  font-size: 14px;
2741
2747
  padding: 10px 8px 12px 8px;
2742
2748
  text-decoration: none;
2743
- text-indent: 11px;
2744
2749
  }
2745
2750
  .e-grid .e-recordplusexpand {
2746
2751
  padding-top: 5px;
@@ -3110,7 +3115,7 @@ li.e-separator.e-menu-item.e-excel-separator {
3110
3115
  .e-grid.e-rtl .e-headercell.e-fltr-icon .e-headercelldiv,
3111
3116
  .e-grid.e-rtl .e-headercell.e-fltr-icon .e-headercelldiv.e-headerchkcelldiv, .e-grid.e-rtl .e-detailheadercell.e-fltr-icon .e-headercelldiv,
3112
3117
  .e-grid.e-rtl .e-detailheadercell.e-fltr-icon .e-headercelldiv.e-headerchkcelldiv {
3113
- padding: 0 0.4em 0 1.8em;
3118
+ padding: 0 0.4em 0 4.2em;
3114
3119
  text-align: right;
3115
3120
  }
3116
3121
  .e-grid.e-rtl .e-headercell.e-fltr-icon .e-headercelldiv .e-sortnumber,
@@ -3122,7 +3127,7 @@ li.e-separator.e-menu-item.e-excel-separator {
3122
3127
  .e-grid.e-rtl .e-headercell .e-headercelldiv,
3123
3128
  .e-grid.e-rtl .e-headercell .e-headercelldiv.e-headerchkcelldiv, .e-grid.e-rtl .e-detailheadercell .e-headercelldiv,
3124
3129
  .e-grid.e-rtl .e-detailheadercell .e-headercelldiv.e-headerchkcelldiv {
3125
- padding: 0 0.4em 0 1.8em;
3130
+ padding: 0 0.4em 0 4.2em;
3126
3131
  text-align: right;
3127
3132
  }
3128
3133
  .e-grid.e-rtl .e-headercell .e-headercelldiv .e-sortnumber,
@@ -3162,11 +3167,11 @@ li.e-separator.e-menu-item.e-excel-separator {
3162
3167
  }
3163
3168
  .e-grid.e-rtl .e-headercell.e-fltr-icon.e-rightalign .e-sortnumber, .e-grid.e-rtl .e-detailheadercell.e-fltr-icon.e-rightalign .e-sortnumber {
3164
3169
  float: left;
3165
- margin: 0 4px 0 32px;
3170
+ margin: 0 4px 0 6px;
3166
3171
  }
3167
3172
  .e-grid.e-rtl .e-headercell.e-rightalign .e-sortnumber, .e-grid.e-rtl .e-detailheadercell.e-rightalign .e-sortnumber {
3168
3173
  float: left;
3169
- margin: 0 4px 0 18px;
3174
+ margin: 0 4px 0;
3170
3175
  }
3171
3176
  .e-grid.e-rtl .e-rowcell:first-child,
3172
3177
  .e-grid.e-rtl .e-summarycell:first-child {
@@ -3569,10 +3574,10 @@ li.e-separator.e-menu-item.e-excel-separator {
3569
3574
  user-select: none;
3570
3575
  }
3571
3576
  .e-grid.sf-grid .e-gridheader .e-headercontent .e-reorderuparrow {
3572
- margin-top: -11px;
3577
+ margin-top: -4px;
3573
3578
  }
3574
3579
  .e-grid.sf-grid .e-gridheader .e-headercontent .e-reorderdownarrow {
3575
- margin-top: 1px;
3580
+ margin-top: -5px;
3576
3581
  }
3577
3582
  .e-grid.sf-grid .e-masked-cell.e-rowcell .e-virtualcell {
3578
3583
  background-color: rgba(0, 0, 0, 0.1);
@@ -3587,7 +3592,6 @@ li.e-separator.e-menu-item.e-excel-separator {
3587
3592
  .e-grid.sf-grid .e-frozencontent {
3588
3593
  border-bottom-style: solid;
3589
3594
  height: inherit;
3590
- overflow: hidden;
3591
3595
  }
3592
3596
  .e-grid.sf-grid .e-gridcontent .e-content,
3593
3597
  .e-grid.sf-grid .e-gridcontent .e-content .e-movablecontent {
@@ -1,20 +0,0 @@
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
- "grid-default": {
10
- "description": "Create an Angular component with EJ2 grid",
11
- "factory": "./generators/grid-default",
12
- "schema": "./generators/grid-default/schema.json"
13
- },
14
- "grid-feature": {
15
- "description": "Create an Angular component with EJ2 grid with paging, filtering, grouping, sorting feature",
16
- "factory": "./generators/grid-feature",
17
- "schema": "./generators/grid-feature/schema.json"
18
- }
19
- }
20
- }
@@ -1,3 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- import { Schema } from './schema';
3
- export default function (options: Schema): Rule;
@@ -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,5 +0,0 @@
1
- export declare const componentName: string;
2
- export declare const sampleName: string;
3
- export declare const diModules: string;
4
- export declare const packageName: string;
5
- export declare const libModules: string;
@@ -1,7 +0,0 @@
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';
@@ -1,5 +0,0 @@
1
-
2
- .control-section {
3
- overflow: auto;
4
- padding-bottom: 10px;
5
- }
@@ -1,11 +0,0 @@
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>
@@ -1,3 +0,0 @@
1
- import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
- export interface Schema extends ComponentSchema {
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,125 +0,0 @@
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
- }
@@ -1,3 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- import { Schema } from './schema';
3
- export default function (options: Schema): Rule;
@@ -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,5 +0,0 @@
1
- export declare const componentName: string;
2
- export declare const sampleName: string;
3
- export declare const diModules: string;
4
- export declare const packageName: string;
5
- export declare const libModules: string;
@@ -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,5 +0,0 @@
1
-
2
- .control-section {
3
- overflow: auto;
4
- padding-bottom: 10px;
5
- }
@@ -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,3 +0,0 @@
1
- import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
- export interface Schema extends ComponentSchema {
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,125 +0,0 @@
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
- }
@@ -1,3 +0,0 @@
1
- import { OptionsSchema } from './schema';
2
- import { Rule } from '@angular-devkit/schematics';
3
- export default function (options: OptionsSchema): Rule;
@@ -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,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
- }
@@ -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
- }
@@ -1,4 +0,0 @@
1
- export declare const pkgName = "@syncfusion/ej2-angular-grids";
2
- export declare const pkgVer = "^20.3.47";
3
- export declare const moduleName = "GridModule, PagerModule";
4
- export declare const themeVer = "~20.3.47";
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.pkgName = '@syncfusion/ej2-angular-grids';
4
- exports.pkgVer = '^20.4.38';
5
- exports.moduleName = 'GridModule, PagerModule';
6
- exports.themeVer = '~20.4.38';