@syncfusion/ej2-navigations 19.3.53 → 19.3.54

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.
@@ -7723,7 +7723,7 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
7723
7723
  };
7724
7724
  Tab.prototype.parseObject = function (items, index) {
7725
7725
  var _this = this;
7726
- var tbCount = selectAll('.' + CLS_TB_ITEM, this.element).length;
7726
+ var tbCount = selectAll('.e-tab-header .' + CLS_TB_ITEM, this.element).length;
7727
7727
  var tItems = [];
7728
7728
  var txtWrapEle;
7729
7729
  var spliceArray = [];
@@ -8631,7 +8631,7 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
8631
8631
  var hdr = this.element.querySelectorAll('.' + CLS_TB_ITEM)[index];
8632
8632
  var itemIndex = void 0;
8633
8633
  if (hdr && !isNullOrUndefined(hdr.id) && hdr.id !== '') {
8634
- var num = (hdr.id.indexOf('_'));
8634
+ var num = (hdr.id.lastIndexOf('_'));
8635
8635
  itemIndex = parseInt(hdr.id.substring(num + 1), 10);
8636
8636
  }
8637
8637
  else {
@@ -8995,7 +8995,7 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
8995
8995
  this.reRenderItems();
8996
8996
  }
8997
8997
  else {
8998
- var itemsCount = selectAll('.' + CLS_TB_ITEM, this.element).length;
8998
+ var itemsCount = selectAll('.e-tab-header .' + CLS_TB_ITEM, this.element).length;
8999
8999
  if (itemsCount !== 0) {
9000
9000
  lastEleIndex = this.lastIndex + 1;
9001
9001
  }