@syncfusion/ej2-treegrid 27.1.48 → 27.1.50

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 : 27.1.48
3
+ * version : 27.1.50
4
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
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@27.1.48",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-FpFdtTXa4ZttioiMFjcyunKzyhR+44TeQH7Ze7Yqustap9WXiWj5sVZRoqsOL+uesc8q+Wa+gFee7lcsfKKDvA==",
5
+ "_integrity": "sha512-+qY8Bg0NcA8QX1TKwfScfBc+pcXkNk5B5VOxUjNlUaHjIhVDAy6KNCzgz3m8azq9Phcdfsi9jfKtXTGjVSI2XQ==",
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": "d777a44014450e0b1a5eba86fcc8a248adde388e",
27
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-27.1.48.tgz",
28
+ "_shasum": "7ca238e6144baee1bcdabbbcd1ea338cbaf7ef5f",
29
29
  "_spec": "@syncfusion/ej2-treegrid@*",
30
30
  "_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
31
31
  "author": {
@@ -36,11 +36,10 @@
36
36
  },
37
37
  "bundleDependencies": false,
38
38
  "dependencies": {
39
- "@syncfusion/ej2-base": "~27.1.48",
40
- "@syncfusion/ej2-data": "~27.1.48",
41
- "@syncfusion/ej2-grids": "~27.1.48",
42
- "@syncfusion/ej2-popups": "~27.1.48",
43
- "markdown-spellcheck": "^1.3.1"
39
+ "@syncfusion/ej2-base": "~27.1.50",
40
+ "@syncfusion/ej2-data": "~27.1.50",
41
+ "@syncfusion/ej2-grids": "~27.1.50",
42
+ "@syncfusion/ej2-popups": "~27.1.50"
44
43
  },
45
44
  "deprecated": false,
46
45
  "description": "Essential JS 2 TreeGrid Component",
@@ -77,6 +76,6 @@
77
76
  "url": "git+https://github.com/syncfusion/ej2-treegrid.git"
78
77
  },
79
78
  "typings": "index.d.ts",
80
- "version": "27.1.48",
79
+ "version": "27.1.50",
81
80
  "sideEffects": false
82
81
  }
@@ -291,10 +291,11 @@ var BatchEdit = /** @class */ (function () {
291
291
  var data;
292
292
  var childs;
293
293
  var uid;
294
- if (!isNullOrUndefined(args.row) && this.parent.getSelectedRows().indexOf(args.row) === -1) {
294
+ var rowElement = Array.isArray(args.row) ? args.row[0] : args.row;
295
+ if (!isNullOrUndefined(rowElement) && this.parent.getSelectedRows().indexOf(rowElement) === -1) {
295
296
  data = args.rowData;
296
297
  childs = findChildrenRecords(data);
297
- uid = args.row.getAttribute('data-uid');
298
+ uid = rowElement.getAttribute('data-uid');
298
299
  }
299
300
  else {
300
301
  data = this.parent.grid.getSelectedRecords()[this.parent.grid.getSelectedRecords().length - 1];
@@ -727,7 +727,7 @@ var Edit = /** @class */ (function () {
727
727
  args.cancel = true;
728
728
  return;
729
729
  }
730
- if (this.doubleClickTarget && (this.doubleClickTarget.classList.contains('e-treegridexpand') ||
730
+ if (this.doubleClickTarget && args.requestType !== 'delete' && (this.doubleClickTarget.classList.contains('e-treegridexpand') ||
731
731
  this.doubleClickTarget.classList.contains('e-treegridcollapse') || this.doubleClickTarget.classList.contains('e-frame'))) {
732
732
  args.cancel = true;
733
733
  this.doubleClickTarget = null;