@syncfusion/ej2-vue-treegrid 19.2.55 → 19.3.43

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 (40) hide show
  1. package/CHANGELOG.md +14 -47
  2. package/dist/ej2-vue-treegrid.umd.min.js +1 -1
  3. package/dist/es6/ej2-vue-treegrid.es2015.js +46 -1
  4. package/dist/es6/ej2-vue-treegrid.es2015.js.map +1 -1
  5. package/dist/es6/ej2-vue-treegrid.es5.js +48 -1
  6. package/dist/es6/ej2-vue-treegrid.es5.js.map +1 -1
  7. package/dist/global/ej2-vue-treegrid.min.js +2 -2
  8. package/package.json +8 -8
  9. package/src/treegrid/treegrid.component.d.ts +9 -0
  10. package/src/treegrid/treegrid.component.js +48 -1
  11. package/styles/bootstrap-dark.css +7 -3
  12. package/styles/bootstrap.css +7 -3
  13. package/styles/bootstrap4.css +7 -3
  14. package/styles/bootstrap5-dark.css +530 -0
  15. package/styles/bootstrap5-dark.scss +1 -0
  16. package/styles/bootstrap5.css +530 -0
  17. package/styles/bootstrap5.scss +1 -0
  18. package/styles/fabric-dark.css +7 -3
  19. package/styles/fabric.css +7 -3
  20. package/styles/highcontrast-light.css +7 -3
  21. package/styles/highcontrast.css +9 -5
  22. package/styles/material-dark.css +26 -22
  23. package/styles/material.css +5 -1
  24. package/styles/tailwind-dark.css +34 -30
  25. package/styles/tailwind.css +5 -1
  26. package/styles/treegrid/bootstrap-dark.css +7 -3
  27. package/styles/treegrid/bootstrap.css +7 -3
  28. package/styles/treegrid/bootstrap4.css +7 -3
  29. package/styles/treegrid/bootstrap5-dark.css +530 -0
  30. package/styles/treegrid/bootstrap5-dark.scss +1 -0
  31. package/styles/treegrid/bootstrap5.css +530 -0
  32. package/styles/treegrid/bootstrap5.scss +1 -0
  33. package/styles/treegrid/fabric-dark.css +7 -3
  34. package/styles/treegrid/fabric.css +7 -3
  35. package/styles/treegrid/highcontrast-light.css +7 -3
  36. package/styles/treegrid/highcontrast.css +9 -5
  37. package/styles/treegrid/material-dark.css +26 -22
  38. package/styles/treegrid/material.css +5 -1
  39. package/styles/treegrid/tailwind-dark.css +34 -30
  40. package/styles/treegrid/tailwind.css +5 -1
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-vue-treegrid@*",
3
- "_id": "@syncfusion/ej2-vue-treegrid@19.2.51",
3
+ "_id": "@syncfusion/ej2-vue-treegrid@18.9.1",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-m11QO9m6ULcJhpvXeCjxi9hNSUTM+WJhoYN6gvsxM/t+xeiTe4pUq1xPYhx3/EAeNB0dUT+DOCnH6AnscfoMjQ==",
5
+ "_integrity": "sha512-BVHhjPotmSzF87e73ums2xp29DYIraPs5WLuCCv6pto7Nwzxno3PUTY4iB3nY/WjUCdNWxgtsiC0nX4r9KXAWA==",
6
6
  "_location": "/@syncfusion/ej2-vue-treegrid",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,8 +19,8 @@
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-vue-treegrid/-/ej2-vue-treegrid-19.2.51.tgz",
23
- "_shasum": "ab32fc817817c94f31c62ff075a0b93584bc3402",
22
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-vue-treegrid/-/ej2-vue-treegrid-18.9.1.tgz",
23
+ "_shasum": "c6fb94ac5bd4e61f1c14f36589e56d70671bf2fd",
24
24
  "_spec": "@syncfusion/ej2-vue-treegrid@*",
25
25
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
26
26
  "author": {
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
- "@syncfusion/ej2-base": "~19.2.55",
35
- "@syncfusion/ej2-treegrid": "19.2.55",
36
- "@syncfusion/ej2-vue-base": "~19.2.55"
34
+ "@syncfusion/ej2-base": "~19.3.43",
35
+ "@syncfusion/ej2-treegrid": "19.3.43",
36
+ "@syncfusion/ej2-vue-base": "~19.3.43"
37
37
  },
38
38
  "deprecated": false,
39
39
  "description": "Essential JS 2 TreeGrid Component for Vue",
@@ -62,6 +62,6 @@
62
62
  "type": "git",
63
63
  "url": "git+https://github.com/syncfusion/ej2-vue-ui-components.git"
64
64
  },
65
- "version": "19.2.55",
65
+ "version": "19.3.43",
66
66
  "sideEffects": false
67
67
  }
@@ -23,7 +23,9 @@ export declare class TreeGridComponent extends ComponentBase {
23
23
  };
24
24
  tagNameMapper: Object;
25
25
  isVue3: boolean;
26
+ templateCollection: any;
26
27
  constructor();
28
+ clearTemplate(templateNames?: string[]): any;
27
29
  setProperties(prop: any, muteOnChange: boolean): void;
28
30
  trigger(eventName: string, eventProp: {
29
31
  [key: string]: Object;
@@ -71,9 +73,16 @@ export declare class TreeGridComponent extends ComponentBase {
71
73
  getDataRows(): Object[];
72
74
  getFooterContent(): Object;
73
75
  getFooterContentTable(): Object;
76
+ getFrozenLeftColumnHeaderByIndex(index: number): Object;
77
+ getFrozenRightCellFromIndex(rowIndex: number, columnIndex: number): Object;
78
+ getFrozenRightColumnHeaderByIndex(index: number): Object;
79
+ getFrozenRightDataRows(): Object[];
80
+ getFrozenRightRowByIndex(index: number): Object;
81
+ getFrozenRightRows(): Object[];
74
82
  getHeaderContent(): Object;
75
83
  getHeaderTable(): Object;
76
84
  getMovableCellFromIndex(rowIndex: number, columnIndex: number): Object;
85
+ getMovableColumnHeaderByIndex(index: number): Object;
77
86
  getMovableDataRows(): Object[];
78
87
  getMovableRowByIndex(index: number): Object;
79
88
  getMovableRows(): Object[];
@@ -19,7 +19,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { isUndefined } from '@syncfusion/ej2-base';
21
21
  import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';
22
- import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
+ import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
23
23
  import { TreeGrid } from '@syncfusion/ej2-treegrid';
24
24
  import { ColumnsDirective, ColumnDirective, ColumnsPlugin, ColumnPlugin } from './columns.directive';
25
25
  import { AggregateColumnsDirective, AggregateColumnDirective, AggregateColumnsPlugin, AggregateColumnPlugin } from './aggregate-columns.directive';
@@ -60,8 +60,33 @@ var TreeGridComponent = /** @class */ (function (_super) {
60
60
  _this.bindProperties();
61
61
  _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
62
62
  _this.ej2Instances.setProperties = _this.setProperties;
63
+ _this.ej2Instances.clearTemplate = _this.clearTemplate;
63
64
  return _this;
64
65
  }
66
+ TreeGridComponent.prototype.clearTemplate = function (templateNames) {
67
+ if (!templateNames) {
68
+ templateNames = Object.keys(this.templateCollection || {});
69
+ }
70
+ if (templateNames.length && this.templateCollection) {
71
+ for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
72
+ var tempName = templateNames_1[_i];
73
+ var elementCollection = this.templateCollection[tempName];
74
+ if (elementCollection && elementCollection.length) {
75
+ for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
76
+ var ele = elementCollection_1[_a];
77
+ var destroy = getValue('__vue__.$destroy', ele);
78
+ if (destroy) {
79
+ ele.__vue__.$destroy();
80
+ }
81
+ if (ele.innerHTML) {
82
+ ele.innerHTML = '';
83
+ }
84
+ }
85
+ delete this.templateCollection[tempName];
86
+ }
87
+ }
88
+ }
89
+ };
65
90
  TreeGridComponent.prototype.setProperties = function (prop, muteOnChange) {
66
91
  var _this = this;
67
92
  if (this.isVue3) {
@@ -79,6 +104,7 @@ var TreeGridComponent = /** @class */ (function (_super) {
79
104
  }
80
105
  else {
81
106
  _this.$emit('update:' + key, prop[key]);
107
+ _this.$emit('modelchanged', prop[key]);
82
108
  }
83
109
  }
84
110
  });
@@ -255,6 +281,24 @@ var TreeGridComponent = /** @class */ (function (_super) {
255
281
  TreeGridComponent.prototype.getFooterContentTable = function () {
256
282
  return this.ej2Instances.getFooterContentTable();
257
283
  };
284
+ TreeGridComponent.prototype.getFrozenLeftColumnHeaderByIndex = function (index) {
285
+ return this.ej2Instances.getFrozenLeftColumnHeaderByIndex(index);
286
+ };
287
+ TreeGridComponent.prototype.getFrozenRightCellFromIndex = function (rowIndex, columnIndex) {
288
+ return this.ej2Instances.getFrozenRightCellFromIndex(rowIndex, columnIndex);
289
+ };
290
+ TreeGridComponent.prototype.getFrozenRightColumnHeaderByIndex = function (index) {
291
+ return this.ej2Instances.getFrozenRightColumnHeaderByIndex(index);
292
+ };
293
+ TreeGridComponent.prototype.getFrozenRightDataRows = function () {
294
+ return this.ej2Instances.getFrozenRightDataRows();
295
+ };
296
+ TreeGridComponent.prototype.getFrozenRightRowByIndex = function (index) {
297
+ return this.ej2Instances.getFrozenRightRowByIndex(index);
298
+ };
299
+ TreeGridComponent.prototype.getFrozenRightRows = function () {
300
+ return this.ej2Instances.getFrozenRightRows();
301
+ };
258
302
  TreeGridComponent.prototype.getHeaderContent = function () {
259
303
  return this.ej2Instances.getHeaderContent();
260
304
  };
@@ -264,6 +308,9 @@ var TreeGridComponent = /** @class */ (function (_super) {
264
308
  TreeGridComponent.prototype.getMovableCellFromIndex = function (rowIndex, columnIndex) {
265
309
  return this.ej2Instances.getMovableCellFromIndex(rowIndex, columnIndex);
266
310
  };
311
+ TreeGridComponent.prototype.getMovableColumnHeaderByIndex = function (index) {
312
+ return this.ej2Instances.getMovableColumnHeaderByIndex(index);
313
+ };
267
314
  TreeGridComponent.prototype.getMovableDataRows = function () {
268
315
  return this.ej2Instances.getMovableDataRows();
269
316
  };
@@ -176,6 +176,10 @@
176
176
  line-height: 18px;
177
177
  }
178
178
 
179
+ .e-treegrid .e-icons.e-none::before {
180
+ content: '';
181
+ }
182
+
179
183
  .e-treegrid .e-treegridexpand::before,
180
184
  .e-treegrid .e-treegridcollapse::before {
181
185
  text-align: center;
@@ -241,8 +245,8 @@
241
245
  }
242
246
 
243
247
  .e-treegrid .e-hierarchycheckbox .e-frame {
244
- height: 18px;
245
- width: 18px;
248
+ height: 20px;
249
+ width: 20px;
246
250
  }
247
251
 
248
252
  .e-treegrid .e-checkselection .e-frozenheader .e-rowcell,
@@ -266,7 +270,7 @@
266
270
 
267
271
  .e-treegrid .e-treecell {
268
272
  display: table-cell;
269
- line-height: 16px;
273
+ line-height: 10px;
270
274
  }
271
275
 
272
276
  .e-treegrid .e-grid.e-wrap .e-rowcell .e-treecolumn-container {
@@ -177,6 +177,10 @@
177
177
  line-height: 18px;
178
178
  }
179
179
 
180
+ .e-treegrid .e-icons.e-none::before {
181
+ content: '';
182
+ }
183
+
180
184
  .e-treegrid .e-treegridexpand::before,
181
185
  .e-treegrid .e-treegridcollapse::before {
182
186
  text-align: center;
@@ -242,8 +246,8 @@
242
246
  }
243
247
 
244
248
  .e-treegrid .e-hierarchycheckbox .e-frame {
245
- height: 18px;
246
- width: 18px;
249
+ height: 20px;
250
+ width: 20px;
247
251
  }
248
252
 
249
253
  .e-treegrid .e-checkselection .e-frozenheader .e-rowcell,
@@ -267,7 +271,7 @@
267
271
 
268
272
  .e-treegrid .e-treecell {
269
273
  display: table-cell;
270
- line-height: 16px;
274
+ line-height: 10px;
271
275
  }
272
276
 
273
277
  .e-treegrid .e-grid.e-wrap .e-rowcell .e-treecolumn-container {
@@ -212,6 +212,10 @@
212
212
  line-height: 16px;
213
213
  }
214
214
 
215
+ .e-treegrid .e-icons.e-none::before {
216
+ content: '';
217
+ }
218
+
215
219
  .e-treegrid .e-treegridexpand::before,
216
220
  .e-treegrid .e-treegridcollapse::before {
217
221
  text-align: center;
@@ -277,8 +281,8 @@
277
281
  }
278
282
 
279
283
  .e-treegrid .e-hierarchycheckbox .e-frame {
280
- height: 18px;
281
- width: 18px;
284
+ height: 14px;
285
+ width: 14px;
282
286
  }
283
287
 
284
288
  .e-treegrid .e-checkselection .e-frozenheader .e-rowcell,
@@ -302,7 +306,7 @@
302
306
 
303
307
  .e-treegrid .e-treecell {
304
308
  display: table-cell;
305
- line-height: 16px;
309
+ line-height: 10px;
306
310
  }
307
311
 
308
312
  .e-treegrid .e-grid.e-wrap .e-rowcell .e-treecolumn-container {