@syncfusion/ej2-navigations 23.1.44 → 23.2.4

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 : 23.1.44
3
+ * version : 23.2.4
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-navigations@*",
3
- "_id": "@syncfusion/ej2-navigations@23.1.43",
3
+ "_id": "@syncfusion/ej2-navigations@23.1.44",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-U4X+Q+37zlId1cE5eFpxvtTeXKn4hISyXaHP3Z3Tbfv8oGQ1iI9COZ1wMvYn1olpiK2Ed5DeIH0RuBgN02rciQ==",
5
+ "_integrity": "sha512-EWk2D6NQp8OSJte6t3tvwcQo8+F26Wkr18YaKpRpILZZwYm1YUCq3tJpCVYqc9SoHte68Yr6ldhQ6WJlNxZ0eQ==",
6
6
  "_location": "/@syncfusion/ej2-navigations",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -39,8 +39,8 @@
39
39
  "/@syncfusion/ej2-spreadsheet",
40
40
  "/@syncfusion/ej2-vue-navigations"
41
41
  ],
42
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-23.1.43.tgz",
43
- "_shasum": "80b0a78e31b2645427ea3ace4aaaa5fd7465e46f",
42
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-23.1.44.tgz",
43
+ "_shasum": "c82b651ae4aafda94f3ccbb133632dc8b90d025c",
44
44
  "_spec": "@syncfusion/ej2-navigations@*",
45
45
  "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
46
46
  "author": {
@@ -51,12 +51,12 @@
51
51
  },
52
52
  "bundleDependencies": false,
53
53
  "dependencies": {
54
- "@syncfusion/ej2-base": "~23.1.41",
55
- "@syncfusion/ej2-buttons": "~23.1.43",
56
- "@syncfusion/ej2-data": "~23.1.44",
57
- "@syncfusion/ej2-inputs": "~23.1.43",
58
- "@syncfusion/ej2-lists": "~23.1.43",
59
- "@syncfusion/ej2-popups": "~23.1.44"
54
+ "@syncfusion/ej2-base": "~23.2.4",
55
+ "@syncfusion/ej2-buttons": "~23.2.4",
56
+ "@syncfusion/ej2-data": "~23.2.4",
57
+ "@syncfusion/ej2-inputs": "~23.2.4",
58
+ "@syncfusion/ej2-lists": "~23.2.4",
59
+ "@syncfusion/ej2-popups": "~23.2.4"
60
60
  },
61
61
  "deprecated": false,
62
62
  "description": "A package of Essential JS 2 navigation components such as Tree-view, Tab, Toolbar, Context-menu, and Accordion which is used to navigate from one page to another",
@@ -161,6 +161,6 @@
161
161
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
162
162
  },
163
163
  "typings": "index.d.ts",
164
- "version": "23.1.44",
164
+ "version": "23.2.4",
165
165
  "sideEffects": false
166
166
  }
@@ -2112,12 +2112,14 @@ var MenuBase = /** @class */ (function (_super) {
2112
2112
  var ul;
2113
2113
  var index;
2114
2114
  var navIdx;
2115
+ var item;
2115
2116
  for (var i = 0; i < items.length; i++) {
2116
2117
  navIdx = this.getIndex(items[i], isUniqueId);
2117
2118
  index = navIdx.pop();
2118
2119
  ul = this.getUlByNavIdx(navIdx.length);
2120
+ item = this.getItems(navIdx);
2119
2121
  if (ul) {
2120
- var validUl = isUniqueId ? ul.children[index].id : ul.children[index].textContent;
2122
+ var validUl = isUniqueId ? ul.children[index].id : item[index].text.toString();
2121
2123
  if (ishide && validUl === items[i]) {
2122
2124
  ul.children[index].classList.add(HIDE);
2123
2125
  }
@@ -4616,7 +4616,9 @@ var TreeView = /** @class */ (function (_super) {
4616
4616
  this.isAnimate = false;
4617
4617
  this.isFieldChange = true;
4618
4618
  this.initialRender = true;
4619
- this.reRenderNodes();
4619
+ if (isNOU(this.isReact) && !(this.fields.dataSource instanceof DataManager)) {
4620
+ this.reRenderNodes();
4621
+ }
4620
4622
  this.initialRender = false;
4621
4623
  this.isAnimate = true;
4622
4624
  this.isFieldChange = false;