@syncfusion/ej2-treegrid 24.1.44 → 24.1.45

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 : 24.1.44
3
+ * version : 24.1.45
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@24.1.41",
3
+ "_id": "@syncfusion/ej2-treegrid@24.1.44",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-zSmjGDxO8ex+mNgGnGRsnl/O5KycAJwdwMGje8f1qD8DwRXOqnagbuyp57d3hdFmE8cnfvU13C85tzzDq1awLQ==",
5
+ "_integrity": "sha512-uwoV8VNfKziADpcKw/RjCSyvwWmgc8VPThoSP4bDvoaiozNy3gHLilg0+MIkAVadf1WzlnRDA2vhr6Kzs2YNaQ==",
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-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-24.1.41.tgz",
28
- "_shasum": "82ee5c6713c83420e1fcf226b3fe37c09582e629",
27
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-24.1.44.tgz",
28
+ "_shasum": "50bf5af5aac7e04a80836e6bada47fa368cdeb5f",
29
29
  "_spec": "@syncfusion/ej2-treegrid@*",
30
30
  "_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included",
31
31
  "author": {
@@ -38,7 +38,7 @@
38
38
  "dependencies": {
39
39
  "@syncfusion/ej2-base": "~24.1.42",
40
40
  "@syncfusion/ej2-data": "~24.1.41",
41
- "@syncfusion/ej2-grids": "~24.1.44",
41
+ "@syncfusion/ej2-grids": "~24.1.45",
42
42
  "@syncfusion/ej2-popups": "~24.1.44"
43
43
  },
44
44
  "deprecated": false,
@@ -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": "24.1.44",
69
+ "version": "24.1.45",
70
70
  "sideEffects": false
71
71
  }
@@ -51,7 +51,7 @@ var ContextMenu = /** @class */ (function () {
51
51
  var selectedrow = tObj.getSelectedRows()[0];
52
52
  if ((indent || outdent) && !isNullOrUndefined(selectedrow)) {
53
53
  var targetElement = args.event.target.closest('td');
54
- if (isNullOrUndefined(targetElement) || (!isNullOrUndefined(targetElement) && !targetElement.classList.contains('e-rowcell'))) {
54
+ if (isNullOrUndefined(targetElement) || (!isNullOrUndefined(targetElement) && (!targetElement.classList.contains('e-rowcell') || targetElement.querySelectorAll('.e-gridform').length !== 0))) {
55
55
  indent.style.display = outdent.style.display = 'none';
56
56
  }
57
57
  else {
@@ -61,19 +61,16 @@ var ContextMenu = /** @class */ (function () {
61
61
  else if (args['name'] !== 'rowDeselected' || (!isNullOrUndefined(selectedrow) && tObj.grid.isCheckBoxSelection)) {
62
62
  var selectedItem = tObj.getCurrentViewRecords()[selectedrow.rowIndex];
63
63
  if (!isNullOrUndefined(selectedItem)) {
64
- if ((selectedItem.level > tObj.getCurrentViewRecords()[selectedrow.rowIndex - 1].level) || this.parent.editSettings.mode === 'Batch'
65
- || this.parent.editSettings.mode === 'Cell') {
64
+ if ((selectedItem.level > tObj.getCurrentViewRecords()[selectedrow.rowIndex - 1].level)) {
66
65
  indent.style.display = 'none';
67
66
  }
68
67
  else {
69
68
  indent.style.display = 'block';
70
69
  }
71
- if ((selectedItem.level === tObj.getCurrentViewRecords()[selectedrow.rowIndex - 1].level) && this.parent.editSettings.mode !== 'Batch'
72
- && this.parent.editSettings.mode !== 'Cell') {
70
+ if ((selectedItem.level === tObj.getCurrentViewRecords()[selectedrow.rowIndex - 1].level)) {
73
71
  indent.style.display = 'block';
74
72
  }
75
- if ((selectedItem.level === 0) || this.parent.editSettings.mode === 'Batch'
76
- || this.parent.editSettings.mode === 'Cell') {
73
+ if ((selectedItem.level === 0)) {
77
74
  outdent.style.display = 'none';
78
75
  }
79
76
  else {
@@ -2003,7 +2003,7 @@ var TreeGrid = /** @class */ (function (_super) {
2003
2003
  showTooltip = true;
2004
2004
  }
2005
2005
  var element = parentsUntil(e.target, 'e-ellipsistooltip');
2006
- if ((showTooltip || (this.treeColumnIndex != -1 && cols[this.treeColumnIndex].clipMode === 'EllipsisWithTooltip')) && element != null && parseInt(element.getAttribute("data-colindex"), 10) == this.treeColumnIndex && element.children[0].scrollWidth > element.children[0].clientWidth) {
2006
+ if ((showTooltip || (this.treeColumnIndex !== -1 && cols[this.treeColumnIndex].clipMode === 'EllipsisWithTooltip')) && element !== null && parseInt(element.getAttribute('data-colindex'), 10) === this.treeColumnIndex && element.children[0].scrollWidth > element.children[0].clientWidth) {
2007
2007
  var tooltip = new Tooltip({
2008
2008
  content: element.textContent
2009
2009
  });