@syncfusion/ej2-angular-treegrid 31.1.21-ngcc → 31.1.22-ngcc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/@syncfusion/ej2-angular-treegrid.es5.js +817 -797
  2. package/@syncfusion/ej2-angular-treegrid.es5.js.map +1 -1
  3. package/@syncfusion/ej2-angular-treegrid.js +745 -725
  4. package/@syncfusion/ej2-angular-treegrid.js.map +1 -1
  5. package/{license → LICENSE} +10 -10
  6. package/dist/ej2-angular-treegrid.umd.js +810 -791
  7. package/dist/ej2-angular-treegrid.umd.js.map +1 -1
  8. package/dist/ej2-angular-treegrid.umd.min.js +3 -3
  9. package/dist/ej2-angular-treegrid.umd.min.js.map +1 -1
  10. package/ej2-angular-treegrid.d.ts +5 -5
  11. package/ej2-angular-treegrid.metadata.json +1 -1
  12. package/package.json +30 -46
  13. package/public_api.d.ts +1 -1
  14. package/schematics/collection.json +10 -19
  15. package/schematics/ng-add/index.ts +10 -10
  16. package/schematics/ng-add/schema.json +34 -34
  17. package/schematics/ng-add/schema.ts +30 -30
  18. package/schematics/tsconfig.json +25 -25
  19. package/schematics/utils/lib-details.d.ts +2 -2
  20. package/schematics/utils/lib-details.js +2 -2
  21. package/schematics/utils/lib-details.ts +4 -4
  22. package/src/index.d.ts +8 -8
  23. package/src/treegrid/aggregate-columns.directive.d.ts +86 -88
  24. package/src/treegrid/aggregates.directive.d.ts +44 -44
  25. package/src/treegrid/columns.directive.d.ts +323 -345
  26. package/src/treegrid/stacked-column.directive.d.ts +325 -347
  27. package/src/treegrid/treegrid-all.module.d.ts +27 -27
  28. package/src/treegrid/treegrid.component.d.ts +140 -121
  29. package/src/treegrid/treegrid.module.d.ts +5 -5
  30. package/styles/bds-lite.css +1 -0
  31. package/styles/bds-lite.scss +1 -0
  32. package/styles/bds.css +1 -0
  33. package/styles/bds.scss +1 -0
  34. package/styles/bootstrap-dark-lite.css +1 -0
  35. package/styles/bootstrap-dark-lite.scss +1 -0
  36. package/styles/bootstrap-lite.css +1 -0
  37. package/styles/bootstrap-lite.scss +1 -0
  38. package/styles/bootstrap4-lite.css +1 -0
  39. package/styles/bootstrap4-lite.scss +1 -0
  40. package/styles/bootstrap5-dark-lite.css +1 -0
  41. package/styles/bootstrap5-dark-lite.scss +1 -0
  42. package/styles/bootstrap5-lite.css +1 -0
  43. package/styles/bootstrap5-lite.scss +1 -0
  44. package/styles/bootstrap5.3-lite.css +1 -0
  45. package/styles/bootstrap5.3-lite.scss +1 -0
  46. package/styles/bootstrap5.3.css +1 -0
  47. package/styles/bootstrap5.3.scss +1 -0
  48. package/styles/fabric-dark-lite.css +1 -0
  49. package/styles/fabric-dark-lite.scss +1 -0
  50. package/styles/fabric-lite.css +1 -0
  51. package/styles/fabric-lite.scss +1 -0
  52. package/styles/fluent-dark-lite.css +1 -0
  53. package/styles/fluent-dark-lite.scss +1 -0
  54. package/styles/fluent-lite.css +1 -0
  55. package/styles/fluent-lite.scss +1 -0
  56. package/styles/fluent2-lite.css +1 -0
  57. package/styles/fluent2-lite.scss +1 -0
  58. package/styles/fluent2.css +1 -0
  59. package/styles/fluent2.scss +1 -0
  60. package/styles/highcontrast-light-lite.css +1 -0
  61. package/styles/highcontrast-light-lite.scss +1 -0
  62. package/styles/highcontrast-lite.css +1 -0
  63. package/styles/highcontrast-lite.scss +1 -0
  64. package/styles/material-dark-lite.css +1 -0
  65. package/styles/material-dark-lite.scss +1 -0
  66. package/styles/material-lite.css +1 -0
  67. package/styles/material-lite.scss +1 -0
  68. package/styles/material3-dark-lite.css +1 -0
  69. package/styles/material3-dark-lite.scss +1 -0
  70. package/styles/material3-lite.css +1 -0
  71. package/styles/material3-lite.scss +1 -0
  72. package/styles/tailwind-dark-lite.css +1 -0
  73. package/styles/tailwind-dark-lite.scss +1 -0
  74. package/styles/tailwind-lite.css +1 -0
  75. package/styles/tailwind-lite.scss +1 -0
  76. package/styles/tailwind3-lite.css +1 -0
  77. package/styles/tailwind3-lite.scss +1 -0
  78. package/styles/tailwind3.css +1 -0
  79. package/styles/tailwind3.scss +1 -0
  80. package/styles/treegrid/bds.css +1 -0
  81. package/styles/treegrid/bds.scss +1 -0
  82. package/styles/treegrid/bootstrap5.3.css +1 -0
  83. package/styles/treegrid/bootstrap5.3.scss +1 -0
  84. package/styles/treegrid/fluent2.css +1 -0
  85. package/styles/treegrid/fluent2.scss +1 -0
  86. package/styles/treegrid/tailwind3.css +1 -0
  87. package/styles/treegrid/tailwind3.scss +1 -0
  88. package/CHANGELOG.md +0 -255
  89. package/postinstall/tagchange.js +0 -18
  90. package/schematics/generators/treegrid-default/index.d.ts +0 -3
  91. package/schematics/generators/treegrid-default/index.js +0 -8
  92. package/schematics/generators/treegrid-default/index.ts +0 -8
  93. package/schematics/generators/treegrid-default/sample-details.d.ts +0 -5
  94. package/schematics/generators/treegrid-default/sample-details.js +0 -7
  95. package/schematics/generators/treegrid-default/sample-details.ts +0 -5
  96. package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -5
  97. package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  98. package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -143
  99. package/schematics/generators/treegrid-default/schema.d.ts +0 -3
  100. package/schematics/generators/treegrid-default/schema.js +0 -2
  101. package/schematics/generators/treegrid-default/schema.json +0 -125
  102. package/schematics/generators/treegrid-default/schema.ts +0 -3
  103. package/schematics/generators/treegrid-feature/index.d.ts +0 -3
  104. package/schematics/generators/treegrid-feature/index.js +0 -8
  105. package/schematics/generators/treegrid-feature/index.ts +0 -8
  106. package/schematics/generators/treegrid-feature/sample-details.d.ts +0 -5
  107. package/schematics/generators/treegrid-feature/sample-details.js +0 -7
  108. package/schematics/generators/treegrid-feature/sample-details.ts +0 -5
  109. package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -5
  110. package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
  111. package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -144
  112. package/schematics/generators/treegrid-feature/schema.d.ts +0 -3
  113. package/schematics/generators/treegrid-feature/schema.js +0 -2
  114. package/schematics/generators/treegrid-feature/schema.json +0 -125
  115. package/schematics/generators/treegrid-feature/schema.ts +0 -3
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.componentName = 'treegrid';
4
- exports.sampleName = 'feature';
5
- exports.diModules = 'PageService,SortService,FilterService';
6
- exports.packageName = '@syncfusion/ej2-angular-treegrid';
7
- exports.libModules = 'TreeGridModule';
@@ -1,5 +0,0 @@
1
- export const componentName: string = 'treegrid';
2
- export const sampleName: string = 'feature';
3
- export const diModules: string = 'PageService,SortService,FilterService';
4
- export const packageName: string = '@syncfusion/ej2-angular-treegrid';
5
- export const libModules: string = 'TreeGridModule';
@@ -1,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-treegrid [dataSource]='data' [treeColumnIndex]='1' [allowFiltering]="true" [allowSorting]="true" childMapping='subtasks'
3
- [allowPaging]="true" [pageSettings]='pageSettings'>
4
- <e-columns>
5
- <e-column field='taskID' headerText='Task ID' textAlign='Right' width=90></e-column>
6
- <e-column field='taskName' headerText='Task Name' textAlign='Left' width=180></e-column>
7
- <e-column field='startDate' headerText='Start Date' textAlign='Right' format='yMd' width=90></e-column>
8
- <e-column field='duration' headerText='Duration' textAlign='Right' width=80></e-column>
9
- </e-columns>
10
- </ejs-treegrid>
11
- </div>
@@ -1,144 +0,0 @@
1
- /**
2
- * TreeGrid with Paging,Filtering,Sorting Sample
3
- */
4
- import { Component } from '@angular/core';
5
-
6
- @Component({
7
- selector: '<%=dasherize(selector)%>',
8
- templateUrl: '<%=dasherize(name)%>.component.html',
9
- styleUrls: ['<%=dasherize(name)%>.component.css']
10
- })
11
-
12
- export class <%= classify(name) %>Component {
13
-
14
- public pageSettings: Object = { pageSize: 10 };
15
- public data: Object[] = [
16
- {
17
- taskID: 1,
18
- taskName: "Planning",
19
- startDate: new Date("02/03/2017"),
20
- endDate: new Date("02/07/2017"),
21
- progress: 100,
22
- duration: 5,
23
- priority: "Normal",
24
- approved: false,
25
- subtasks: [
26
- { taskID: 2, taskName: "Plan timeline", startDate: new Date("02/03/2017"), endDate: new Date("02/07/2017"), duration: 5, progress: 100, priority: "Normal", approved: false },
27
- { taskID: 3, taskName: "Plan budget", startDate: new Date("02/03/2017"), endDate: new Date("02/07/2017"), duration: 5, progress: 100, approved: true },
28
- { taskID: 4, taskName: "Allocate resources", startDate: new Date("02/03/2017"), endDate: new Date("02/07/2017"), duration: 5, progress: 100, priority: "Critical", approved: false },
29
- { taskID: 5, taskName: "Item can't be Dragged", startDate: new Date("02/07/2017"), endDate: new Date("02/07/2017"), duration: 0, progress: 0, priority: "Low", approved: true }
30
- ]
31
- },
32
- {
33
- taskID: 6,
34
- taskName: "Design",
35
- startDate: new Date("02/10/2017"),
36
- endDate: new Date("02/14/2017"),
37
- duration: 3,
38
- progress: 86,
39
- priority: "High",
40
- approved: false,
41
- subtasks: [
42
- { taskID: 7, taskName: "Software Specification", startDate: new Date("02/10/2017"), endDate: new Date("02/12/2017"), duration: 3, progress: 60, priority: "Normal", approved: false },
43
- { taskID: 8, taskName: "Develop prototype", startDate: new Date("02/10/2017"), endDate: new Date("02/12/2017"), duration: 3, progress: 100, priority: "Critical", approved: false },
44
- { taskID: 9, taskName: "Get approval from customer", startDate: new Date("02/13/2017"), endDate: new Date("02/14/2017"), duration: 2, progress: 100, approved: true },
45
- { taskID: 10, taskName: "Design Documentation", startDate: new Date("02/13/2017"), endDate: new Date("02/14/2017"), duration: 2, progress: 100, approved: true },
46
- { taskID: 11, taskName: "Item can't be Dropped", startDate: new Date("02/14/2017"), endDate: new Date("02/14/2017"), duration: 0, progress: 0, priority: "Normal", approved: true }
47
- ]
48
- },
49
- {
50
- taskID: 12,
51
- taskName: "Implementation Phase",
52
- startDate: new Date("02/17/2017"),
53
- endDate: new Date("02/27/2017"),
54
- priority: "Normal",
55
- approved: false,
56
- duration: 11,
57
- subtasks: [
58
- {
59
- taskID: 13,
60
- taskName: "Phase 1",
61
- startDate: new Date("02/17/2017"),
62
- endDate: new Date("02/27/2017"),
63
- priority: "High",
64
- approved: false,
65
- duration: 11,
66
- subtasks: [{
67
- taskID: 14,
68
- taskName: "Implementation Module 1",
69
- startDate: new Date("02/17/2017"),
70
- endDate: new Date("02/27/2017"),
71
- priority: "Normal",
72
- duration: 11,
73
- approved: false,
74
- subtasks: [
75
- { taskID: 15, taskName: "Development Task 1", startDate: new Date("02/17/2017"), endDate: new Date("02/19/2017"), duration: 3, progress: "50", priority: "High", approved: false },
76
- { taskID: 16, taskName: "Development Task 2", startDate: new Date("02/17/2017"), endDate: new Date("02/19/2017"), duration: 3, progress: "50", priority: "Low", approved: true },
77
- { taskID: 17, taskName: "Testing", startDate: new Date("02/20/2017"), endDate: new Date("02/21/2017"), duration: 2, progress: "0", priority: "Normal", approved: true },
78
- { taskID: 18, taskName: "Bug fix", startDate: new Date("02/24/2017"), endDate: new Date("02/25/2017"), duration: 2, progress: "0", priority: "Critical", approved: false },
79
- { taskID: 19, taskName: "Customer review meeting", startDate: new Date("02/26/2017"), endDate: new Date("02/27/2017"), duration: 2, progress: "0", priority: "High", approved: false },
80
- { taskID: 20, taskName: "Phase 1 complete", startDate: new Date("02/27/2017"), endDate: new Date("02/27/2017"), duration: 0, priority: "Low", approved: true }
81
-
82
- ]
83
- }]
84
- },
85
-
86
- {
87
- taskID: 21,
88
- taskName: "Phase 2",
89
- startDate: new Date("02/17/2017"),
90
- endDate: new Date("02/28/2017"),
91
- priority: "High",
92
- approved: false,
93
- duration: 12,
94
- subtasks: [{
95
- taskID: 22,
96
- taskName: "Implementation Module 2",
97
- startDate: new Date("02/17/2017"),
98
- endDate: new Date("02/28/2017"),
99
- priority: "Critical",
100
- approved: false,
101
- duration: 12,
102
- subtasks: [
103
- { taskID: 23, taskName: "Development Task 1", startDate: new Date("02/17/2017"), endDate: new Date("02/20/2017"), duration: 4, progress: "50", priority: "Normal", approved: true },
104
- { taskID: 24, taskName: "Development Task 2", startDate: new Date("02/17/2017"), endDate: new Date("02/20/2017"), duration: 4, progress: "50", priority: "Critical", approved: true },
105
- { taskID: 25, taskName: "Testing", startDate: new Date("02/21/2017"), endDate: new Date("02/24/2017"), duration: 2, progress: "0", priority: "High", approved: false },
106
- { taskID: 26, taskName: "Bug fix", startDate: new Date("02/25/2017"), endDate: new Date("02/26/2017"), duration: 2, progress: "0", priority: "Low", approved: false },
107
- { taskID: 27, taskName: "Customer review meeting", startDate: new Date("02/27/2017"), endDate: new Date("02/28/2017"), duration: 2, progress: "0", priority: "Critical", approved: true },
108
- { taskID: 28, taskName: "Phase 2 complete", startDate: new Date("02/28/2017"), endDate: new Date("02/28/2017"), duration: 0, priority: "Normal", approved: false }
109
-
110
- ]
111
- }]
112
- },
113
-
114
- {
115
- taskID: 29,
116
- taskName: "Phase 3",
117
- startDate: new Date("02/17/2017"),
118
- endDate: new Date("02/27/2017"),
119
- priority: "Normal",
120
- approved: false,
121
- duration: 11,
122
- subtasks: [{
123
- taskID: 30,
124
- taskName: "Implementation Module 3",
125
- startDate: new Date("02/17/2017"),
126
- endDate: new Date("02/27/2017"),
127
- priority: "High",
128
- approved: false,
129
- duration: 11,
130
- subtasks: [
131
- { taskID: 31, taskName: "Development Task 1", startDate: new Date("02/17/2017"), endDate: new Date("02/19/2017"), duration: 3, progress: "50", priority: "Low", approved: true },
132
- { taskID: 32, taskName: "Development Task 2", startDate: new Date("02/17/2017"), endDate: new Date("02/19/2017"), duration: 3, progress: "50", priority: "Normal", approved: false },
133
- { taskID: 33, taskName: "Testing", startDate: new Date("02/20/2017"), endDate: new Date("02/21/2017"), duration: 2, progress: "0", priority: "Critical", approved: true },
134
- { taskID: 34, taskName: "Bug fix", startDate: new Date("02/24/2017"), endDate: new Date("02/25/2017"), duration: 2, progress: "0", priority: "High", approved: false },
135
- { taskID: 35, taskName: "Customer review meeting", startDate: new Date("02/26/2017"), endDate: new Date("02/27/2017"), duration: 2, progress: "0", priority: "Normal", approved: true },
136
- { taskID: 36, taskName: "Phase 3 complete", startDate: new Date("02/27/2017"), endDate: new Date("02/27/2017"), duration: 0, priority: "Critical", approved: false },
137
-
138
- ]
139
- }]
140
- }
141
- ]
142
- }
143
- ];
144
- }
@@ -1,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": "treegrid-feature",
5
- "type": "object",
6
- "properties": {
7
- "path": {
8
- "type": "string",
9
- "format": "path",
10
- "description": "The path to create the component.",
11
- "visible": false
12
- },
13
- "project": {
14
- "type": "string",
15
- "description": "The name of the project.",
16
- "$default": {
17
- "$source": "projectName"
18
- }
19
- },
20
- "name": {
21
- "type": "string",
22
- "description": "The name of the component.",
23
- "$default": {
24
- "$source": "argv",
25
- "index": 0
26
- }
27
- },
28
- "inlineStyle": {
29
- "description": "Specifies if the style will be in the ts file.",
30
- "type": "boolean",
31
- "default": false,
32
- "alias": "s"
33
- },
34
- "inlineTemplate": {
35
- "description": "Specifies if the template will be in the ts file.",
36
- "type": "boolean",
37
- "default": false,
38
- "alias": "t"
39
- },
40
- "viewEncapsulation": {
41
- "description": "Specifies the view encapsulation strategy.",
42
- "enum": [
43
- "Emulated",
44
- "Native",
45
- "None",
46
- "ShadowDom"
47
- ],
48
- "type": "string",
49
- "alias": "v"
50
- },
51
- "changeDetection": {
52
- "description": "Specifies the change detection strategy.",
53
- "enum": [
54
- "Default",
55
- "OnPush"
56
- ],
57
- "type": "string",
58
- "default": "Default",
59
- "alias": "c"
60
- },
61
- "prefix": {
62
- "type": "string",
63
- "description": "The prefix to apply to generated selectors.",
64
- "alias": "p",
65
- "oneOf": [
66
- {
67
- "maxLength": 0
68
- },
69
- {
70
- "minLength": 1,
71
- "format": "html-selector"
72
- }
73
- ]
74
- },
75
- "styleext": {
76
- "description": "The file extension to be used for style files.",
77
- "type": "string",
78
- "default": "css"
79
- },
80
- "spec": {
81
- "type": "boolean",
82
- "description": "Specifies if a spec file is generated.",
83
- "default": true
84
- },
85
- "flat": {
86
- "type": "boolean",
87
- "description": "Flag to indicate if a dir is created.",
88
- "default": false
89
- },
90
- "skipImport": {
91
- "type": "boolean",
92
- "description": "Flag to skip the module import.",
93
- "default": false
94
- },
95
- "selector": {
96
- "type": "string",
97
- "format": "html-selector",
98
- "description": "The selector to use for the component."
99
- },
100
- "module": {
101
- "type": "string",
102
- "description": "Allows specification of the declaring module.",
103
- "alias": "m"
104
- },
105
- "export": {
106
- "type": "boolean",
107
- "default": false,
108
- "description": "Specifies if declaring module exports the component."
109
- },
110
- "entryComponent": {
111
- "type": "boolean",
112
- "default": false,
113
- "description": "Specifies if the component is an entry component of declaring module."
114
- },
115
- "lintFix": {
116
- "type": "boolean",
117
- "default": false,
118
- "description": "Specifies whether to apply lint fixes after generating the component."
119
- }
120
- },
121
- "required": [
122
- "name"
123
- ],
124
- "id": "treegrid-feature"
125
- }
@@ -1,3 +0,0 @@
1
- import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
-
3
- export interface Schema extends ComponentSchema { }