@syncfusion/ej2-navigations 23.2.4 → 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.4
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.1.44",
3
+ "_id": "@syncfusion/ej2-navigations@23.2.5",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-EWk2D6NQp8OSJte6t3tvwcQo8+F26Wkr18YaKpRpILZZwYm1YUCq3tJpCVYqc9SoHte68Yr6ldhQ6WJlNxZ0eQ==",
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.1.44.tgz",
43
- "_shasum": "c82b651ae4aafda94f3ccbb133632dc8b90d025c",
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.4",
164
+ "version": "23.2.7",
165
165
  "sideEffects": false
166
166
  }
@@ -289,7 +289,7 @@ var Sidebar = /** @class */ (function (_super) {
289
289
  };
290
290
  this.trigger('open', openArguments, function (observedopenArgs) {
291
291
  if (!observedopenArgs.cancel) {
292
- removeClass([_this.element], VISIBILITY);
292
+ removeClass([_this.element], [VISIBILITY, DISABLEANIMATION]);
293
293
  if (_this.element.classList.contains(OPEN)) {
294
294
  return;
295
295
  }
@@ -1892,6 +1892,11 @@ var Toolbar = /** @class */ (function (_super) {
1892
1892
  eleObj.appendTo(ele);
1893
1893
  }
1894
1894
  this.add(innerEle, CLS_TEMPLATE);
1895
+ var firstChild = innerEle.firstElementChild;
1896
+ if (!isNOU(firstChild)) {
1897
+ firstChild.setAttribute('tabindex', isNOU(firstChild.getAttribute("tabIndex")) ? '-1' : this.getDataTabindex(firstChild));
1898
+ firstChild.setAttribute('data-tabindex', isNOU(firstChild.getAttribute("tabIndex")) ? '-1' : this.getDataTabindex(firstChild));
1899
+ }
1895
1900
  this.tbarEle.push(innerEle);
1896
1901
  };
1897
1902
  Toolbar.prototype.buttonRendering = function (item, innerEle) {
@@ -2016,12 +2021,7 @@ var Toolbar = /** @class */ (function (_super) {
2016
2021
  };
2017
2022
  Toolbar.prototype.activeEleRemove = function (curEle) {
2018
2023
  if (!isNOU(this.activeEle)) {
2019
- if (!curEle.parentElement.classList.contains(CLS_TEMPLATE)) {
2020
- this.activeEle.setAttribute('tabindex', this.getDataTabindex(this.activeEle));
2021
- }
2022
- else {
2023
- this.activeEle.removeAttribute('tabindex');
2024
- }
2024
+ this.activeEle.setAttribute('tabindex', this.getDataTabindex(this.activeEle));
2025
2025
  }
2026
2026
  this.activeEle = curEle;
2027
2027
  if (this.getDataTabindex(this.activeEle) === '-1') {
@@ -2030,7 +2030,8 @@ var Toolbar = /** @class */ (function (_super) {
2030
2030
  curEle.removeAttribute('tabindex');
2031
2031
  }
2032
2032
  else {
2033
- this.activeEle.setAttribute('tabindex', this.getDataTabindex(this.activeEle));
2033
+ var tabIndex = parseInt(this.getDataTabindex(this.activeEle)) + 1;
2034
+ this.activeEle.setAttribute('tabindex', tabIndex.toString());
2034
2035
  }
2035
2036
  }
2036
2037
  };
@@ -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;