@syncfusion/ej2-navigations 27.1.51 → 27.1.52
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.
- package/dist/ej2-navigations.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-navigations.es2015.js +5 -3
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +5 -3
- package/dist/es6/ej2-navigations.es5.js.map +1 -1
- package/dist/global/ej2-navigations.min.js +2 -2
- package/dist/global/ej2-navigations.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +7 -7
- package/src/common/menu-base.js +2 -0
- package/src/treeview/treeview.js +3 -3
- package/styles/bootstrap5.3-lite.css +3 -3
- package/styles/bootstrap5.3.css +3 -3
- package/styles/treeview/_bootstrap5.3-definition.scss +2 -2
- package/styles/treeview/bootstrap5.3.css +3 -3
|
@@ -3307,6 +3307,8 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
3307
3307
|
idx = navIdx.pop();
|
|
3308
3308
|
iitems = this.getItems(navIdx);
|
|
3309
3309
|
menuitem = new MenuItem(iitems[0], 'items', items[i], true);
|
|
3310
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3311
|
+
menuitem.parentObj = iitems[0].parentObj;
|
|
3310
3312
|
iitems.splice(isAfter ? idx + 1 : idx, 0, menuitem);
|
|
3311
3313
|
var uls = this.isMenu ? [this.getWrapper()].concat(this.getPopups()) : [].slice.call(this.getWrapper().children);
|
|
3312
3314
|
if (!isNullOrUndefined(idx) && navIdx.length < uls.length) {
|
|
@@ -12914,7 +12916,7 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
|
|
|
12914
12916
|
var nextNode = isTowards ? this.getNextNode(li) : this.getPrevNode(li);
|
|
12915
12917
|
this.setFocus(li, nextNode);
|
|
12916
12918
|
this.navigateToFocus(!isTowards);
|
|
12917
|
-
if (nextNode.classList.contains('e-disable')
|
|
12919
|
+
if (nextNode.classList.contains('e-disable')) {
|
|
12918
12920
|
var lastChild = nextNode.lastChild;
|
|
12919
12921
|
if (nextNode.previousSibling == null && nextNode.classList.contains('e-level-1')) {
|
|
12920
12922
|
this.focusNextNode(nextNode, true);
|
|
@@ -12975,7 +12977,7 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
|
|
|
12975
12977
|
TreeView.prototype.setFocus = function (preNode, nextNode) {
|
|
12976
12978
|
removeClass([preNode], FOCUS);
|
|
12977
12979
|
preNode.setAttribute('tabindex', '-1');
|
|
12978
|
-
if (!nextNode.classList.contains('e-disable')
|
|
12980
|
+
if (!nextNode.classList.contains('e-disable')) {
|
|
12979
12981
|
addClass([nextNode], FOCUS);
|
|
12980
12982
|
nextNode.setAttribute('tabindex', '0');
|
|
12981
12983
|
nextNode.focus();
|
|
@@ -12994,7 +12996,7 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
|
|
|
12994
12996
|
TreeView.prototype.focusIn = function () {
|
|
12995
12997
|
if (!this.mouseDownStatus) {
|
|
12996
12998
|
var focusedElement = this.getFocusedNode();
|
|
12997
|
-
if (focusedElement.classList.contains('e-disable')
|
|
12999
|
+
if (focusedElement.classList.contains('e-disable')) {
|
|
12998
13000
|
focusedElement.setAttribute('tabindex', '-1');
|
|
12999
13001
|
this.navigateNode(true);
|
|
13000
13002
|
}
|