@syncfusion/ej2-navigations 23.2.5 → 23.2.7

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.2.5
3
+ * version : 23.2.7
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.2.4",
3
+ "_id": "@syncfusion/ej2-navigations@23.2.5",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-/lcIGigtoogO3gjNR2HN9S5xXiCmQ7ko/L5oA/s/TcRmqR96vUfL8xEPe+PxlHa4ZyJ4/Y5YftWHzOXV4puIiA==",
5
+ "_integrity": "sha512-pg7eDUnmofPd8lN/bZxev72uieSCSdj9sQ0ONNFfmbxEGbfYy16ymNYl1wMsqWNritScNcFnucbLXk1vk3h8jA==",
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.2.4.tgz",
43
- "_shasum": "73768a985e749e2953e6d2df3bd99c79ebc6144d",
42
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-23.2.5.tgz",
43
+ "_shasum": "135e22c2b1d261dbeb23840bbc4559fcba66e8ae",
44
44
  "_spec": "@syncfusion/ej2-navigations@*",
45
45
  "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
46
46
  "author": {
@@ -51,8 +51,8 @@
51
51
  },
52
52
  "bundleDependencies": false,
53
53
  "dependencies": {
54
- "@syncfusion/ej2-base": "~23.2.4",
55
- "@syncfusion/ej2-buttons": "~23.2.4",
54
+ "@syncfusion/ej2-base": "~23.2.6",
55
+ "@syncfusion/ej2-buttons": "~23.2.7",
56
56
  "@syncfusion/ej2-data": "~23.2.4",
57
57
  "@syncfusion/ej2-inputs": "~23.2.4",
58
58
  "@syncfusion/ej2-lists": "~23.2.4",
@@ -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.2.5",
164
+ "version": "23.2.7",
165
165
  "sideEffects": false
166
166
  }
@@ -1006,17 +1006,11 @@ var TreeView = /** @class */ (function (_super) {
1006
1006
  TreeView.prototype.doCheckBoxAction = function (nodes, doCheck) {
1007
1007
  var li = selectAll('.' + LISTITEM, this.element);
1008
1008
  if (!isNOU(nodes)) {
1009
- for (var len = nodes.length; len >= 0; len--) {
1010
- var liEle = void 0;
1011
- if (nodes.length === 1) {
1012
- liEle = this.getElement(nodes[len - 1]);
1013
- }
1014
- else {
1015
- liEle = this.getElement(nodes[len]);
1016
- }
1009
+ for (var len = nodes.length - 1; len >= 0; len--) {
1010
+ var liEle = this.getElement(nodes[len]);
1017
1011
  if (isNOU(liEle)) {
1018
1012
  var node = void 0;
1019
- node = nodes[len - nodes.length] ? nodes[len - nodes.length].toString() : nodes[len] ? nodes[len].toString() : null;
1013
+ node = nodes[len - (nodes.length - 1)] ? nodes[len - (nodes.length - 1)].toString() : nodes[len] ? nodes[len].toString() : null;
1020
1014
  if (node !== '' && doCheck && node) {
1021
1015
  this.setValidCheckedNode(node);
1022
1016
  this.dynamicCheckState(node, doCheck);
@@ -1066,7 +1060,7 @@ var TreeView = /** @class */ (function (_super) {
1066
1060
  }
1067
1061
  }
1068
1062
  if (nodes) {
1069
- for (var j = 0; j < nodes.length; j++) {
1063
+ for (var j = 0; j < nodes.length - 1; j++) {
1070
1064
  var node = nodes[j] ? nodes[j].toString() : '';
1071
1065
  if (!doCheck) {
1072
1066
  this.updateField(this.treeData, this.fields, node, 'isChecked', null);
@@ -4616,7 +4610,7 @@ var TreeView = /** @class */ (function (_super) {
4616
4610
  this.isAnimate = false;
4617
4611
  this.isFieldChange = true;
4618
4612
  this.initialRender = true;
4619
- if (isNOU(this.isReact) && !(this.fields.dataSource instanceof DataManager)) {
4613
+ if (!this.isReact || this.isReact && !(this.fields.dataSource instanceof DataManager)) {
4620
4614
  this.reRenderNodes();
4621
4615
  }
4622
4616
  this.initialRender = false;