@syncfusion/ej2-treegrid 29.1.33 → 29.1.37

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 29.1.33
3
+ * version : 29.1.37
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-treegrid@*",
3
- "_id": "@syncfusion/ej2-treegrid@20.12.1",
3
+ "_id": "@syncfusion/ej2-treegrid@29.1.33",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-T2iLgcfL9PVtMewE3eKalMyIayzFzSK7s7VBP3OFuzk4aV927ZFGuTTXolkDNnVbudBMoa03WIynLt/9eYFm6A==",
5
+ "_integrity": "sha512-H8pw8MOJvp9jnSCHxVdIzh/R7A/rgBG4qO4y56ywK1AkS9XUo6yF9H/DRQ1b8OXHnH7km86j7cr7is0ZRUCCJw==",
6
6
  "_location": "/@syncfusion/ej2-treegrid",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -24,8 +24,8 @@
24
24
  "/@syncfusion/ej2-react-treegrid",
25
25
  "/@syncfusion/ej2-vue-treegrid"
26
26
  ],
27
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-treegrid/-/ej2-treegrid-20.12.1.tgz",
28
- "_shasum": "f0257995d71df038d6ea9161ed71740c677da2fb",
27
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-29.1.33.tgz",
28
+ "_shasum": "1f3fe526c6645ecb45e41159f58b96e9b80160f7",
29
29
  "_spec": "@syncfusion/ej2-treegrid@*",
30
30
  "_where": "/jenkins/workspace/elease-automation_release_29.1.1/packages/included",
31
31
  "author": {
@@ -36,10 +36,10 @@
36
36
  },
37
37
  "bundleDependencies": false,
38
38
  "dependencies": {
39
- "@syncfusion/ej2-base": "~29.1.33",
39
+ "@syncfusion/ej2-base": "~29.1.36",
40
40
  "@syncfusion/ej2-data": "~29.1.33",
41
- "@syncfusion/ej2-grids": "~29.1.33",
42
- "@syncfusion/ej2-popups": "~29.1.33"
41
+ "@syncfusion/ej2-grids": "~29.1.37",
42
+ "@syncfusion/ej2-popups": "~29.1.37"
43
43
  },
44
44
  "deprecated": false,
45
45
  "description": "Essential JS 2 TreeGrid Component",
@@ -76,6 +76,6 @@
76
76
  "url": "git+https://github.com/syncfusion/ej2-treegrid.git"
77
77
  },
78
78
  "typings": "index.d.ts",
79
- "version": "29.1.33",
79
+ "version": "29.1.37",
80
80
  "sideEffects": false
81
81
  }
@@ -686,7 +686,7 @@ var RowDD = /** @class */ (function () {
686
686
  var regex = /index(\d+)|level(\d+)/g;
687
687
  var parentIndexLevel = e === null || e === undefined ? undefined : e.cells["" + treeColIndex].className.match(regex);
688
688
  var dropIndexLevel = targetRow[0].cells["" + treeColIndex].className.match(regex);
689
- if (isNullOrUndefined(dropIndexLevel) || isNullOrUndefined(dropIndexLevel)) {
689
+ if (isNullOrUndefined(dropIndexLevel) || isNullOrUndefined(dropIndexLevel) || isNullOrUndefined(parentIndexLevel)) {
690
690
  return true;
691
691
  }
692
692
  var parentLevel = +parentIndexLevel[1].match(/\d+/)[0];
@@ -963,6 +963,9 @@ var RowDD = /** @class */ (function () {
963
963
  RowDD.prototype.removetopOrBottomBorder = function () {
964
964
  var border = [];
965
965
  border = [].slice.call(this.parent.element.querySelectorAll('.e-dropbottom, .e-droptop'));
966
+ if (this.parent.rowDropSettings.targetID) {
967
+ border = [].slice.call(document.querySelectorAll('.e-dropbottom, .e-droptop'));
968
+ }
966
969
  if (border.length) {
967
970
  this.addRemoveClasses(border, false, 'e-dropbottom');
968
971
  this.addRemoveClasses(border, false, 'e-droptop');
@@ -1052,6 +1055,7 @@ var RowDD = /** @class */ (function () {
1052
1055
  if (dropElement && dropElement.id === this.parent.rowDropSettings.targetID) {
1053
1056
  var srcControl = dropElement.ej2_instances[0];
1054
1057
  srcControl.rowDragAndDropModule.updateIcon(args.rows, rowIdx, args);
1058
+ this.dropPosition = srcControl.rowDragAndDropModule.dropPosition;
1055
1059
  }
1056
1060
  }
1057
1061
  if (args.target && closest(args.target, '#' + tObj.rowDropSettings.targetID)) {
@@ -2766,7 +2766,9 @@ var TreeGrid = /** @class */ (function (_super) {
2766
2766
  };
2767
2767
  TreeGrid.prototype.mergeColumns = function (storedColumn, columns) {
2768
2768
  var persist2 = 'mergeColumns';
2769
+ var mergedColumns = 'mergedColumns';
2769
2770
  this.grid["" + persist2].apply(this, [storedColumn, columns]);
2771
+ this.grid["" + mergedColumns] = true;
2770
2772
  };
2771
2773
  TreeGrid.prototype.setFrozenCount = function () {
2772
2774
  var persist3 = 'setFrozenCount';
@@ -2777,7 +2779,7 @@ var TreeGrid = /** @class */ (function (_super) {
2777
2779
  this.grid["" + persist4].apply(this.grid, [columns]);
2778
2780
  };
2779
2781
  TreeGrid.prototype.isFrozenGrid = function () {
2780
- return this.grid.isFrozenGrid();
2782
+ return this.grid.isFrozenGrid.apply(this);
2781
2783
  };
2782
2784
  TreeGrid.prototype.updateTreeGridModel = function () {
2783
2785
  this.setProperties({ filterSettings: getObject('properties', this.grid.filterSettings) }, true);