@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.
- package/dist/ej2-treegrid.min.js +2 -2
- package/dist/ej2-treegrid.umd.min.js +2 -2
- package/dist/ej2-treegrid.umd.min.js.map +1 -1
- package/dist/es6/ej2-treegrid.es2015.js +4 -3
- package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
- package/dist/es6/ej2-treegrid.es5.js +4 -3
- package/dist/es6/ej2-treegrid.es5.js.map +1 -1
- package/dist/global/ej2-treegrid.min.js +2 -2
- package/dist/global/ej2-treegrid.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +9 -10
- package/src/treegrid/actions/batch-edit.js +3 -2
- package/src/treegrid/actions/edit.js +1 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 27.1.
|
|
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@
|
|
3
|
+
"_id": "@syncfusion/ej2-treegrid@27.1.48",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512
|
|
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-
|
|
28
|
-
"_shasum": "
|
|
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.
|
|
40
|
-
"@syncfusion/ej2-data": "~27.1.
|
|
41
|
-
"@syncfusion/ej2-grids": "~27.1.
|
|
42
|
-
"@syncfusion/ej2-popups": "~27.1.
|
|
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.
|
|
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
|
-
|
|
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 =
|
|
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;
|