@syncfusion/ej2-navigations 35.1.40 → 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,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 35.1.40
3
+ * version : 35.1.42
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.40",
3
+ "version": "35.1.42",
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",
@@ -9,12 +9,12 @@
9
9
  "es2015": "./dist/es6/ej2-navigations.es5.js",
10
10
  "dependencies": {
11
11
  "@syncfusion/ej2-base": "~35.1.37",
12
- "@syncfusion/ej2-buttons": "~35.1.37",
12
+ "@syncfusion/ej2-buttons": "~35.1.41",
13
13
  "@syncfusion/ej2-data": "~35.1.37",
14
- "@syncfusion/ej2-inputs": "~35.1.37",
14
+ "@syncfusion/ej2-inputs": "~35.1.42",
15
15
  "@syncfusion/ej2-lists": "~35.1.37",
16
16
  "@syncfusion/ej2-notifications": "~35.1.37",
17
- "@syncfusion/ej2-popups": "~35.1.39"
17
+ "@syncfusion/ej2-popups": "~35.1.42"
18
18
  },
19
19
  "devDependencies": {},
20
20
  "keywords": [
@@ -603,7 +603,7 @@ var MenuBase = /** @class */ (function (_super) {
603
603
  var popups_1 = [];
604
604
  var allPopup = selectAll('.' + POPUP);
605
605
  allPopup.forEach(function (elem) {
606
- if (_this.element.id === elem.id.split('-')[2] || elem.id.split('-')[2] + '-' + elem.id.split('-')[3]) {
606
+ if (_this.element.id === elem.id.split('-')[2] || (_this.element.id.includes('-') && elem.id.includes(_this.element.id))) {
607
607
  popups_1.push(elem);
608
608
  }
609
609
  });
@@ -1,4 +1,4 @@
1
- import { Component, EventHandler, Property, Event, EmitType, BaseEventArgs } from '@syncfusion/ej2-base';import { addClass, removeClass, isVisible, closest, attributes, detach, classList, KeyboardEvents } from '@syncfusion/ej2-base';import { selectAll, setStyleAttribute as setStyle, KeyboardEventArgs, select } from '@syncfusion/ej2-base';import { isNullOrUndefined as isNOU, getUniqueID, formatUnit, Collection, compile as templateCompiler } from '@syncfusion/ej2-base';import { INotifyPropertyChanged, NotifyPropertyChanges, ChildProperty, Browser, SanitizeHtmlHelper } from '@syncfusion/ej2-base';import { Popup } from '@syncfusion/ej2-popups';import { calculatePosition } from '@syncfusion/ej2-popups';import { Button, IconPosition } from '@syncfusion/ej2-buttons';import { HScroll } from '../common/h-scroll';import { VScroll } from '../common/v-scroll';
1
+ import { Component, EventHandler, Property, Event, EmitType, BaseEventArgs, L10n } from '@syncfusion/ej2-base';import { addClass, removeClass, isVisible, closest, attributes, detach, classList, KeyboardEvents } from '@syncfusion/ej2-base';import { selectAll, setStyleAttribute as setStyle, KeyboardEventArgs, select } from '@syncfusion/ej2-base';import { isNullOrUndefined as isNOU, getUniqueID, formatUnit, Collection, compile as templateCompiler } from '@syncfusion/ej2-base';import { INotifyPropertyChanged, NotifyPropertyChanges, ChildProperty, Browser, SanitizeHtmlHelper } from '@syncfusion/ej2-base';import { Popup } from '@syncfusion/ej2-popups';import { calculatePosition } from '@syncfusion/ej2-popups';import { Button, IconPosition } from '@syncfusion/ej2-buttons';import { HScroll } from '../common/h-scroll';import { VScroll } from '../common/v-scroll';
2
2
  import {OverflowOption,ItemType,DisplayMode,ItemAlign,ClickEventArgs,OverflowMode,BeforeCreateArgs,KeyDownEventArgs} from "./toolbar";
3
3
  import {ComponentModel} from '@syncfusion/ej2-base';
4
4
 
@@ -266,6 +266,7 @@ export declare class Toolbar extends Component<HTMLElement> implements INotifyPr
266
266
  private tempId;
267
267
  private isExtendedOpen;
268
268
  private popupTriggeredByToolbar;
269
+ private l10n;
269
270
  private clickEvent;
270
271
  private scrollEvent;
271
272
  private resizeContext;
@@ -18,7 +18,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
18
18
  return c > 3 && r && Object.defineProperty(target, key, r), r;
19
19
  };
20
20
  /* eslint-disable @typescript-eslint/no-explicit-any */
21
- import { Component, EventHandler, Property, Event } from '@syncfusion/ej2-base';
21
+ import { Component, EventHandler, Property, Event, L10n } from '@syncfusion/ej2-base';
22
22
  import { addClass, removeClass, isVisible, closest, attributes, detach, classList, KeyboardEvents } from '@syncfusion/ej2-base';
23
23
  import { selectAll, setStyleAttribute as setStyle, select } from '@syncfusion/ej2-base';
24
24
  import { isNullOrUndefined as isNOU, getUniqueID, formatUnit, Collection, compile as templateCompiler } from '@syncfusion/ej2-base';
@@ -252,6 +252,8 @@ var Toolbar = /** @class */ (function (_super) {
252
252
  this.isVertical = this.element.classList.contains(CLS_VERTICAL) ? true : false;
253
253
  this.isExtendedOpen = false;
254
254
  this.popupPriCount = 0;
255
+ var localeText = { overflow: 'overflow' };
256
+ this.l10n = new L10n(this.getModuleName(), localeText, this.locale);
255
257
  if (this.enableRtl) {
256
258
  this.add(this.element, CLS_RTL);
257
259
  }
@@ -1028,7 +1030,7 @@ var Toolbar = /** @class */ (function (_super) {
1028
1030
  this.createPopupEle(ele, [].slice.call(selectAll('.' + CLS_ITEMS + ' .' + CLS_ITEM, ele)));
1029
1031
  var ariaAttr = {
1030
1032
  'tabindex': '0', 'role': 'button', 'aria-haspopup': 'true',
1031
- 'aria-label': 'overflow'
1033
+ 'aria-label': this.l10n.getConstant('overflow')
1032
1034
  };
1033
1035
  attributes(this.element.querySelector('.' + CLS_TBARNAV), ariaAttr);
1034
1036
  };