@syncfusion/ej2-navigations 25.1.37 → 25.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 : 25.1.37
3
+ * version : 25.1.39
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@25.1.35",
3
+ "_id": "@syncfusion/ej2-navigations@25.1.38",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-fR5/03VzC+9IKq8D5/KeKt9MdqSZualOAS1f7dJZdLkVxxqaLq5Ce9tLAdXqtP58MqSk3Atk6AespHptGgauYA==",
5
+ "_integrity": "sha512-pZZahulrQDrYHvgGPP62+4MqJOI2qs4RCwUzXhKl9IeiUcV2S4jPqwYqXmJyYEXGrPk5eR53mxEPAJXFrt6qmg==",
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.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-25.1.35.tgz",
43
- "_shasum": "043a683ce25441881b94bb60054cbd3a98954a66",
42
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-25.1.38.tgz",
43
+ "_shasum": "41df0b73230ef70fd3f9fb6daa5fced09b14318d",
44
44
  "_spec": "@syncfusion/ej2-navigations@*",
45
45
  "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
46
46
  "author": {
@@ -52,11 +52,11 @@
52
52
  "bundleDependencies": false,
53
53
  "dependencies": {
54
54
  "@syncfusion/ej2-base": "~25.1.35",
55
- "@syncfusion/ej2-buttons": "~25.1.35",
55
+ "@syncfusion/ej2-buttons": "~25.1.39",
56
56
  "@syncfusion/ej2-data": "~25.1.35",
57
- "@syncfusion/ej2-inputs": "~25.1.37",
58
- "@syncfusion/ej2-lists": "~25.1.35",
59
- "@syncfusion/ej2-popups": "~25.1.35"
57
+ "@syncfusion/ej2-inputs": "~25.1.38",
58
+ "@syncfusion/ej2-lists": "~25.1.39",
59
+ "@syncfusion/ej2-popups": "~25.1.39"
60
60
  },
61
61
  "deprecated": false,
62
62
  "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",
@@ -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": "25.1.37",
164
+ "version": "25.1.39",
165
165
  "sideEffects": false
166
166
  }
@@ -469,12 +469,15 @@ var MenuBase = /** @class */ (function (_super) {
469
469
  else if ((action === DOWNARROW) || (action === RIGHTARROW)) {
470
470
  index++;
471
471
  }
472
+ else if (action === 'tab' && cli.classList.contains(SEPARATOR)) {
473
+ index++;
474
+ }
472
475
  else {
473
476
  index--;
474
477
  }
475
478
  }
476
479
  cli = cul.children[index];
477
- if (cli.classList.contains(SEPARATOR) || cli.classList.contains(DISABLED) || cli.classList.contains(HIDE)) {
480
+ if (cli && (cli.classList.contains(SEPARATOR) || cli.classList.contains(DISABLED) || cli.classList.contains(HIDE))) {
478
481
  index = this.isValidLI(cli, index, action);
479
482
  }
480
483
  return index;
@@ -747,7 +747,7 @@ var Stepper = /** @class */ (function (_super) {
747
747
  }
748
748
  var prevOnChange = this.isProtectedOnChange;
749
749
  this.isProtectedOnChange = true;
750
- this.activeStep = index;
750
+ this.activeStep = parseInt(index.toString(), 10);
751
751
  this.isProtectedOnChange = prevOnChange;
752
752
  for (var i = 0; i < this.steps.length; i++) {
753
753
  var itemElement = this.stepperItemElements[parseInt(i.toString(), 10)];
@@ -639,7 +639,8 @@ var Toolbar = /** @class */ (function (_super) {
639
639
  itemObj = tempItem;
640
640
  }
641
641
  var eventArgs = { originalEvent: e, item: itemObj };
642
- if (itemObj && !isNOU(itemObj.click)) {
642
+ var isClickBinded = (this.isAngular) ? itemObj && !isNOU(itemObj.click) && itemObj.click.observers.length > 0 : itemObj && !isNOU(itemObj.click);
643
+ if (isClickBinded) {
643
644
  this.trigger('items[' + this.tbarEle.indexOf(clst) + '].click', eventArgs);
644
645
  }
645
646
  if (!eventArgs.cancel) {
@@ -2610,7 +2610,7 @@ var TreeView = /** @class */ (function (_super) {
2610
2610
  var nextNode = isTowards ? this.getNextNode(li) : this.getPrevNode(li);
2611
2611
  this.setFocus(li, nextNode);
2612
2612
  this.navigateToFocus(!isTowards);
2613
- if (nextNode.classList.contains('e-disable')) {
2613
+ if (nextNode.classList.contains('e-disable') || nextNode.classList.contains('e-prevent')) {
2614
2614
  var lastChild = nextNode.lastChild;
2615
2615
  if (nextNode.previousSibling == null && nextNode.classList.contains('e-level-1')) {
2616
2616
  this.focusNextNode(nextNode, true);
@@ -2690,7 +2690,7 @@ var TreeView = /** @class */ (function (_super) {
2690
2690
  TreeView.prototype.focusIn = function () {
2691
2691
  if (!this.mouseDownStatus) {
2692
2692
  var focusedElement = this.getFocusedNode();
2693
- if (focusedElement.classList.contains('e-disable')) {
2693
+ if (focusedElement.classList.contains('e-disable') || focusedElement.classList.contains('e-prevent')) {
2694
2694
  focusedElement.setAttribute("tabindex", "-1");
2695
2695
  this.navigateNode(true);
2696
2696
  }