@syncfusion/ej2-treegrid 29.1.33 → 29.1.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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 29.1.33
3
+ * version : 29.1.39
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.37",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-T2iLgcfL9PVtMewE3eKalMyIayzFzSK7s7VBP3OFuzk4aV927ZFGuTTXolkDNnVbudBMoa03WIynLt/9eYFm6A==",
5
+ "_integrity": "sha512-LVhrALwC5AX+T58ItxosY8FcTZDZgE7/oLxmzZuA5PrJhVWU8WA7+Qzcbiz6v98EzySQUKL+u9YMSi/DIjnc3w==",
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.37.tgz",
28
+ "_shasum": "650f83e1df1da1bc026fa0ca36cf6aeafdb5936d",
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.39",
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.39",
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)) {
@@ -980,6 +980,7 @@ var TreeGrid = /** @class */ (function (_super) {
980
980
  this.grid.pagerTemplate = this.pagerTemplate;
981
981
  this.grid.showColumnMenu = this.showColumnMenu;
982
982
  this.grid.allowSorting = this.allowSorting;
983
+ this.grid.allowMultiSorting = this.allowMultiSorting;
983
984
  this.grid.allowFiltering = this.allowFiltering;
984
985
  this.grid.enableVirtualization = this.enableVirtualization;
985
986
  this.grid.enableColumnVirtualization = this.enableColumnVirtualization;