@syncfusion/ej2-treegrid 23.1.36 → 23.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,7 +1,7 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 23.1.36
4
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
3
+ * version : 23.1.39
4
+ * Copyright Syncfusion Inc. 2001 - 2023. 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
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
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@23.1.36",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-n6e5yiixxBLzzo3YfUn/KufAQuq7ag6KxBHBC6wMOauUgHo4RR7xfDTaYKLDeqsoaMW84KYWKu44kgAHJola4Q==",
5
+ "_integrity": "sha512-sZERtk+Bjhx0p0/HsmIMLQyckbQV/3nM52E2sEaaOlzPms935IN91FHAZXpK0VkaXFakyjmnSIVeYSdzAW2B9g==",
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.syncfusion.com/repository/ej2-release/@syncfusion/ej2-treegrid/-/ej2-treegrid-20.12.1.tgz",
28
- "_shasum": "54f6b91334d3cb230af0de267f306236cf0e20cc",
27
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-23.1.36.tgz",
28
+ "_shasum": "4a0aaf6fc7b7bd862c6f9f0afac5190b9e6a2d9c",
29
29
  "_spec": "@syncfusion/ej2-treegrid@*",
30
30
  "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
31
31
  "author": {
@@ -36,10 +36,10 @@
36
36
  },
37
37
  "bundleDependencies": false,
38
38
  "dependencies": {
39
- "@syncfusion/ej2-base": "~23.1.36",
39
+ "@syncfusion/ej2-base": "~23.1.38",
40
40
  "@syncfusion/ej2-data": "~23.1.36",
41
- "@syncfusion/ej2-grids": "~23.1.36",
42
- "@syncfusion/ej2-popups": "~23.1.36"
41
+ "@syncfusion/ej2-grids": "~23.1.39",
42
+ "@syncfusion/ej2-popups": "~23.1.38"
43
43
  },
44
44
  "deprecated": false,
45
45
  "description": "Essential JS 2 TreeGrid Component",
@@ -66,6 +66,6 @@
66
66
  "url": "git+https://github.com/syncfusion/ej2-treegrid.git"
67
67
  },
68
68
  "typings": "index.d.ts",
69
- "version": "23.1.36",
69
+ "version": "23.1.39",
70
70
  "sideEffects": false
71
71
  }
@@ -709,6 +709,9 @@ var RowDD = /** @class */ (function () {
709
709
  if (!tObj.rowDropSettings.targetID && this.canDrop) {
710
710
  tObj.rowDragAndDropModule.updateIcon(args.rows, rowIdx, args);
711
711
  }
712
+ if (isNullOrUndefined(tObj.rowDropSettings.targetID) && !this.canDrop) {
713
+ this.removetopOrBottomBorder();
714
+ }
712
715
  if (tObj.rowDropSettings.targetID) {
713
716
  var dropElement = parentsUntil(args.target, 'e-treegrid');
714
717
  if (dropElement && dropElement.id === this.parent.rowDropSettings.targetID) {
@@ -732,7 +735,6 @@ var RowDD = /** @class */ (function () {
732
735
  this.dropPosition = 'Invalid';
733
736
  }
734
737
  setValue('dropPosition', this.dropPosition, args);
735
- args.dropIndex = args.dropIndex === args.fromIndex ? this.getTargetIdx(args.target.parentElement) : args.dropIndex;
736
738
  tObj.trigger(events.rowDrop, args);
737
739
  if (!args.cancel) {
738
740
  if (!isCountRequired(this.parent)) {
@@ -1980,6 +1980,18 @@ var TreeGrid = /** @class */ (function (_super) {
1980
1980
  }
1981
1981
  this.isEditCollapse = false;
1982
1982
  this.notify('checkboxSelection', { target: target });
1983
+ if (this.grid.isCheckBoxSelection && !this.grid.isPersistSelection) {
1984
+ if (this.aggregates.map(function (ag) { return ag.showChildSummary === true; }).length) {
1985
+ var checkedTarget = this.grid.getHeaderContent().querySelector('.e-checkselectall');
1986
+ var checkedLen = this.grid.getSelectedRowIndexes().length;
1987
+ var totalRecords = this.getCurrentViewRecords().length;
1988
+ if (checkedLen === totalRecords) {
1989
+ var spanEle = checkedTarget.nextElementSibling;
1990
+ removeClass([spanEle], ['e-stop', 'e-uncheck']);
1991
+ addClass([spanEle], ['e-check']);
1992
+ }
1993
+ }
1994
+ }
1983
1995
  };
1984
1996
  /**
1985
1997
  * Returns TreeGrid rows