@syncfusion/ej2-navigations 35.1.37 → 35.1.39

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 : 35.1.37
3
+ * version : 35.1.39
4
4
  * Copyright Syncfusion Inc. 2001 - 2025. 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,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-navigations",
3
- "version": "35.1.37",
3
+ "version": "35.1.39",
4
4
  "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",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -14,7 +14,7 @@
14
14
  "@syncfusion/ej2-inputs": "~35.1.37",
15
15
  "@syncfusion/ej2-lists": "~35.1.37",
16
16
  "@syncfusion/ej2-notifications": "~35.1.37",
17
- "@syncfusion/ej2-popups": "~35.1.37"
17
+ "@syncfusion/ej2-popups": "~35.1.39"
18
18
  },
19
19
  "devDependencies": {},
20
20
  "keywords": [
@@ -612,7 +612,7 @@ var Accordion = /** @class */ (function (_super) {
612
612
  innerEle.appendChild(ctnEle);
613
613
  }
614
614
  var hdr = select('.' + CLS_HEADER, innerEle);
615
- if (item.expanded && !isNOU(index) && (!this.enablePersistence)) {
615
+ if (item.expanded && !isNOU(index) && (!this.enablePersistence || !this.getLocalData())) {
616
616
  if (this.initExpand.indexOf(index) === -1) {
617
617
  this.initExpand.push(index);
618
618
  }
package/src/tab/tab.js CHANGED
@@ -1240,7 +1240,11 @@ var Tab = /** @class */ (function (_super) {
1240
1240
  else {
1241
1241
  this.cntEle = select('.' + CLS_TAB + ' > .' + CLS_CONTENT, this.element);
1242
1242
  while (this.loadOn === 'Dynamic' && this.cntEle.firstElementChild) {
1243
- this.cntEle.removeChild(this.cntEle.firstElementChild);
1243
+ var prevCntTrg = this.cntEle.firstElementChild;
1244
+ if (this.isAngular && prevCntTrg.classList.contains(CLS_ITEM)) {
1245
+ this.clearTabTemplate(prevCntTrg, 'content', CLS_ITEM);
1246
+ }
1247
+ this.cntEle.removeChild(prevCntTrg);
1244
1248
  }
1245
1249
  var item = this.getTrgContent(this.cntEle, this.extIndex(id));
1246
1250
  if (isNOU(item)) {
@@ -186,9 +186,9 @@ var Toolbar = /** @class */ (function (_super) {
186
186
  [].slice.call(btnItems).forEach(function (el) {
187
187
  var instance = el.ej2_instances && el.ej2_instances[0];
188
188
  if (!isNOU(closest(el, '.' + CLS_TEMPLATE)) &&
189
- instance &&
190
- instance.getModuleName &&
191
- instance.getModuleName() === 'dropdown-btn') {
189
+ _this.element.parentElement &&
190
+ _this.element.parentElement.classList.contains('headless-toolbar-wrapper') &&
191
+ instance && instance.getModuleName && instance.getModuleName() === 'dropdown-btn') {
192
192
  return;
193
193
  }
194
194
  if (!isNOU(el) && !isNOU(el.ej2_instances) && !isNOU(el.ej2_instances[0]) && !(el.ej2_instances[0].isDestroyed)) {