@syncfusion/ej2-navigations 23.1.40 → 23.1.41

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.40
3
+ * version : 23.1.41
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.39",
3
+ "_id": "@syncfusion/ej2-navigations@23.1.40",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-xaMj7KxztedAnDJH1rUulakMIWGgZhErIInx8VPQUqyQ/A22OWUZP2BaVD38Vv+wNYzdelRjzyfJ875rhrEHZA==",
5
+ "_integrity": "sha512-aXE4qBuAuI2NVlEl6tmJ6RBiTqJ4cyc758Xgu6P9w6xfWK/aEYvH9KQhpsIAnbHBQbi8xV76QXafZCSg1IGYew==",
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.39.tgz",
43
- "_shasum": "f8a27c38f9eb57dee9dfe189204faef0791446af",
42
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-23.1.40.tgz",
43
+ "_shasum": "e9224d59ee9d3975628d3791aaf1b9a8bb9f8269",
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.1.38",
55
- "@syncfusion/ej2-buttons": "~23.1.39",
54
+ "@syncfusion/ej2-base": "~23.1.41",
55
+ "@syncfusion/ej2-buttons": "~23.1.41",
56
56
  "@syncfusion/ej2-data": "~23.1.36",
57
57
  "@syncfusion/ej2-inputs": "~23.1.40",
58
58
  "@syncfusion/ej2-lists": "~23.1.36",
@@ -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.40",
164
+ "version": "23.1.41",
165
165
  "sideEffects": false
166
166
  }
@@ -650,7 +650,7 @@ var MenuBase = /** @class */ (function (_super) {
650
650
  _this.afterCloseMenu(e);
651
651
  }
652
652
  else if (isOpen && !_this.hamburgerMode && closedLi && !trgtLi && _this.keyType !== 'left' && (_this.navIdx.length || !_this.isMenu && _this.navIdx.length === 0)) {
653
- var ele = (e && e.target.classList.contains('e-vscroll'))
653
+ var ele = (e && (e.target.classList.contains('e-vscroll') || e.target.classList.contains('e-scroll-nav')))
654
654
  ? closest(e.target, '.e-menu-wrapper') : null;
655
655
  if (ele) {
656
656
  ele = ele.querySelector('.e-menu-item');
@@ -659,7 +659,9 @@ var MenuBase = /** @class */ (function (_super) {
659
659
  }
660
660
  }
661
661
  else {
662
- _this.closeMenu(_this.navIdx[_this.navIdx.length - 1], e);
662
+ if (!(e && e.target.classList.contains('e-nav-arrow'))) {
663
+ _this.closeMenu(_this.navIdx[_this.navIdx.length - 1], e);
664
+ }
663
665
  }
664
666
  }
665
667
  else if (isOpen && !isIterated && !ulIndex && ((_this.hamburgerMode && _this.navIdx.length) ||
@@ -1670,7 +1672,12 @@ var MenuBase = /** @class */ (function (_super) {
1670
1672
  }
1671
1673
  break;
1672
1674
  case 'enableRtl':
1673
- wrapper.classList.toggle(RTL);
1675
+ if (this_1.enableRtl) {
1676
+ wrapper.classList.add(RTL);
1677
+ }
1678
+ else {
1679
+ wrapper.classList.remove(RTL);
1680
+ }
1674
1681
  break;
1675
1682
  case 'showItemOnClick':
1676
1683
  this_1.unWireEvents();
@@ -1937,7 +1937,8 @@ var Toolbar = /** @class */ (function (_super) {
1937
1937
  var dom;
1938
1938
  var innerEle = this.createElement('div', { className: CLS_ITEM });
1939
1939
  var tempDom = this.createElement('div', {
1940
- innerHTML: this.enableHtmlSanitizer ? SanitizeHtmlHelper.sanitize(item.tooltipText) : item.tooltipText
1940
+ innerHTML: this.enableHtmlSanitizer && !isNOU(item.tooltipText) ?
1941
+ SanitizeHtmlHelper.sanitize(item.tooltipText) : item.tooltipText
1941
1942
  });
1942
1943
  if (!this.tbarEle) {
1943
1944
  this.tbarEle = [];
@@ -4824,9 +4824,9 @@ var TreeView = /** @class */ (function (_super) {
4824
4824
  }
4825
4825
  }
4826
4826
  else if (this.dataType == 2) {
4827
- parentsId = this.getHierarchicalParentId(node, this.treeData, parentsId).reverse();
4827
+ parentsId = this.getHierarchicalParentId(node, this.treeData, parentsId);
4828
4828
  }
4829
- this.expandAll(parentsId);
4829
+ this.expandAll(parentsId.reverse());
4830
4830
  var liEle = this.getElement(node);
4831
4831
  if (!isNOU(liEle)) {
4832
4832
  if (typeof node == 'object') {