@syncfusion/ej2-navigations 23.1.39 → 23.1.40

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.39
3
+ * version : 23.1.40
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.36",
3
+ "_id": "@syncfusion/ej2-navigations@23.1.39",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-qSbgjTmjJyqnsekQb1YzVRjIe7QUKItmWu5LpgFNPXI7fN6az0/MTFM15OYn3IHU/9sM10Zank0cezREjtl1Sw==",
5
+ "_integrity": "sha512-xaMj7KxztedAnDJH1rUulakMIWGgZhErIInx8VPQUqyQ/A22OWUZP2BaVD38Vv+wNYzdelRjzyfJ875rhrEHZA==",
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.36.tgz",
43
- "_shasum": "ba0ffe7351f51dd852439b79ea311ccb528ec1b4",
42
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-23.1.39.tgz",
43
+ "_shasum": "f8a27c38f9eb57dee9dfe189204faef0791446af",
44
44
  "_spec": "@syncfusion/ej2-navigations@*",
45
45
  "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
46
46
  "author": {
@@ -54,7 +54,7 @@
54
54
  "@syncfusion/ej2-base": "~23.1.38",
55
55
  "@syncfusion/ej2-buttons": "~23.1.39",
56
56
  "@syncfusion/ej2-data": "~23.1.36",
57
- "@syncfusion/ej2-inputs": "~23.1.38",
57
+ "@syncfusion/ej2-inputs": "~23.1.40",
58
58
  "@syncfusion/ej2-lists": "~23.1.36",
59
59
  "@syncfusion/ej2-popups": "~23.1.38"
60
60
  },
@@ -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.39",
164
+ "version": "23.1.40",
165
165
  "sideEffects": false
166
166
  }
@@ -651,9 +651,11 @@ var Accordion = /** @class */ (function (_super) {
651
651
  if (typeof (value) === 'string') {
652
652
  ele.innerHTML = SanitizeHtmlHelper.sanitize(value);
653
653
  }
654
- else if (!isNOU(this.trgtEle) && (value instanceof (HTMLElement))) {
654
+ else if (value instanceof (HTMLElement)) {
655
655
  ele.appendChild(value);
656
- ele.firstElementChild.style.display = '';
656
+ if (this.trgtEle) {
657
+ ele.firstElementChild.style.display = '';
658
+ }
657
659
  }
658
660
  else {
659
661
  templateFn = templateCompiler(value);
@@ -1432,6 +1432,9 @@ var MenuBase = /** @class */ (function (_super) {
1432
1432
  if (!cli.classList.contains(SEPARATOR)) {
1433
1433
  this.showSubMenu = true;
1434
1434
  var cul = cli.parentNode;
1435
+ if (isNullOrUndefined(cul)) {
1436
+ return;
1437
+ }
1435
1438
  this.cliIdx = this.getIdx(cul, cli);
1436
1439
  if (this.isMenu || !Browser.isDevice) {
1437
1440
  var culIdx = this.isMenu ? Array.prototype.indexOf.call([wrapper].concat(this.getPopups()), closest(cul, '.' + 'e-' + this.getModuleName() + '-wrapper'))