@syncfusion/ej2-navigations 35.1.39 → 35.1.42

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,4 +1,4 @@
1
- import { Browser, getUniqueID, Touch, EventHandler, isNullOrUndefined, selectAll, detach, classList, Property, NotifyPropertyChanges, Component, createElement, removeClass, select, ChildProperty, Collection, Animation, getValue, setValue, append, closest, addClass, isBlazor, rippleEffect, KeyboardEvents, getInstance, isVisible, SanitizeHtmlHelper, Event, Complex, formatUnit, setStyleAttribute, attributes, compile, isRippleEnabled, animationMode, remove, getRandomId, L10n, Draggable, isUndefined, getElement, Droppable, matches, extend, merge, initializeCSPTemplate } from '@syncfusion/ej2-base';
1
+ import { Browser, getUniqueID, Touch, EventHandler, isNullOrUndefined, selectAll, detach, classList, Property, NotifyPropertyChanges, Component, createElement, removeClass, select, ChildProperty, Collection, Animation, getValue, setValue, append, closest, addClass, isBlazor, rippleEffect, KeyboardEvents, getInstance, isVisible, SanitizeHtmlHelper, Event, Complex, L10n, formatUnit, setStyleAttribute, attributes, compile, isRippleEnabled, animationMode, remove, getRandomId, Draggable, isUndefined, getElement, Droppable, matches, extend, merge, initializeCSPTemplate } from '@syncfusion/ej2-base';
2
2
  import { ListBase } from '@syncfusion/ej2-lists';
3
3
  import { getScrollableParent, Popup, getZindexPartial, fit, isCollide, calculatePosition, createSpinner, showSpinner, hideSpinner, Tooltip } from '@syncfusion/ej2-popups';
4
4
  import { Button, createCheckBox, rippleMouseHandler } from '@syncfusion/ej2-buttons';
@@ -1672,7 +1672,7 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
1672
1672
  var popups_1 = [];
1673
1673
  var allPopup = selectAll('.' + POPUP);
1674
1674
  allPopup.forEach(function (elem) {
1675
- if (_this.element.id === elem.id.split('-')[2] || elem.id.split('-')[2] + '-' + elem.id.split('-')[3]) {
1675
+ if (_this.element.id === elem.id.split('-')[2] || (_this.element.id.includes('-') && elem.id.includes(_this.element.id))) {
1676
1676
  popups_1.push(elem);
1677
1677
  }
1678
1678
  });
@@ -4060,6 +4060,8 @@ var Toolbar = /** @__PURE__ @class */ (function (_super) {
4060
4060
  this.isVertical = this.element.classList.contains(CLS_VERTICAL) ? true : false;
4061
4061
  this.isExtendedOpen = false;
4062
4062
  this.popupPriCount = 0;
4063
+ var localeText = { overflow: 'overflow' };
4064
+ this.l10n = new L10n(this.getModuleName(), localeText, this.locale);
4063
4065
  if (this.enableRtl) {
4064
4066
  this.add(this.element, CLS_RTL$2);
4065
4067
  }
@@ -4836,7 +4838,7 @@ var Toolbar = /** @__PURE__ @class */ (function (_super) {
4836
4838
  this.createPopupEle(ele, [].slice.call(selectAll('.' + CLS_ITEMS + ' .' + CLS_ITEM, ele)));
4837
4839
  var ariaAttr = {
4838
4840
  'tabindex': '0', 'role': 'button', 'aria-haspopup': 'true',
4839
- 'aria-label': 'overflow'
4841
+ 'aria-label': this.l10n.getConstant('overflow')
4840
4842
  };
4841
4843
  attributes(this.element.querySelector('.' + CLS_TBARNAV), ariaAttr);
4842
4844
  };