@syncfusion/ej2-angular-treegrid 31.1.21 → 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 (71) hide show
  1. package/@syncfusion/ej2-angular-treegrid.es5.js +818 -0
  2. package/@syncfusion/ej2-angular-treegrid.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-treegrid.js +768 -0
  4. package/@syncfusion/ej2-angular-treegrid.js.map +1 -0
  5. package/LICENSE +10 -0
  6. package/dist/ej2-angular-treegrid.umd.js +998 -0
  7. package/dist/ej2-angular-treegrid.umd.js.map +1 -0
  8. package/dist/ej2-angular-treegrid.umd.min.js +11 -0
  9. package/dist/ej2-angular-treegrid.umd.min.js.map +1 -0
  10. package/ej2-angular-treegrid.d.ts +5 -0
  11. package/ej2-angular-treegrid.metadata.json +1 -0
  12. package/package.json +9 -22
  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 -91
  24. package/src/treegrid/aggregates.directive.d.ts +44 -49
  25. package/src/treegrid/columns.directive.d.ts +323 -328
  26. package/src/treegrid/stacked-column.directive.d.ts +325 -330
  27. package/src/treegrid/treegrid-all.module.d.ts +27 -33
  28. package/src/treegrid/treegrid.component.d.ts +140 -143
  29. package/src/treegrid/treegrid.module.d.ts +5 -15
  30. package/CHANGELOG.md +0 -204
  31. package/esm2020/public_api.mjs +0 -2
  32. package/esm2020/src/index.mjs +0 -9
  33. package/esm2020/src/treegrid/aggregate-columns.directive.mjs +0 -72
  34. package/esm2020/src/treegrid/aggregates.directive.mjs +0 -69
  35. package/esm2020/src/treegrid/columns.directive.mjs +0 -100
  36. package/esm2020/src/treegrid/stacked-column.directive.mjs +0 -100
  37. package/esm2020/src/treegrid/treegrid-all.module.mjs +0 -89
  38. package/esm2020/src/treegrid/treegrid.component.mjs +0 -271
  39. package/esm2020/src/treegrid/treegrid.module.mjs +0 -61
  40. package/esm2020/syncfusion-ej2-angular-treegrid.mjs +0 -5
  41. package/fesm2015/syncfusion-ej2-angular-treegrid.mjs +0 -734
  42. package/fesm2015/syncfusion-ej2-angular-treegrid.mjs.map +0 -1
  43. package/fesm2020/syncfusion-ej2-angular-treegrid.mjs +0 -734
  44. package/fesm2020/syncfusion-ej2-angular-treegrid.mjs.map +0 -1
  45. package/schematics/generators/treegrid-default/index.d.ts +0 -3
  46. package/schematics/generators/treegrid-default/index.js +0 -8
  47. package/schematics/generators/treegrid-default/index.ts +0 -8
  48. package/schematics/generators/treegrid-default/sample-details.d.ts +0 -5
  49. package/schematics/generators/treegrid-default/sample-details.js +0 -7
  50. package/schematics/generators/treegrid-default/sample-details.ts +0 -5
  51. package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -5
  52. package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  53. package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -143
  54. package/schematics/generators/treegrid-default/schema.d.ts +0 -3
  55. package/schematics/generators/treegrid-default/schema.js +0 -2
  56. package/schematics/generators/treegrid-default/schema.json +0 -125
  57. package/schematics/generators/treegrid-default/schema.ts +0 -3
  58. package/schematics/generators/treegrid-feature/index.d.ts +0 -3
  59. package/schematics/generators/treegrid-feature/index.js +0 -8
  60. package/schematics/generators/treegrid-feature/index.ts +0 -8
  61. package/schematics/generators/treegrid-feature/sample-details.d.ts +0 -5
  62. package/schematics/generators/treegrid-feature/sample-details.js +0 -7
  63. package/schematics/generators/treegrid-feature/sample-details.ts +0 -5
  64. package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -5
  65. package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
  66. package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -144
  67. package/schematics/generators/treegrid-feature/schema.d.ts +0 -3
  68. package/schematics/generators/treegrid-feature/schema.js +0 -2
  69. package/schematics/generators/treegrid-feature/schema.json +0 -125
  70. package/schematics/generators/treegrid-feature/schema.ts +0 -3
  71. package/syncfusion-ej2-angular-treegrid.d.ts +0 -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 { }
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@syncfusion/ej2-angular-treegrid" />
5
- export * from './public_api';