@syncfusion/ej2-navigations 23.1.44 → 23.2.5
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/CHANGELOG.md +16 -0
- 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 +15 -10
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +15 -10
- 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 +11 -11
- package/src/common/menu-base.js +3 -1
- package/src/sidebar/sidebar.js +1 -1
- package/src/toolbar/toolbar.js +8 -7
- package/src/treeview/treeview.js +3 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 23.
|
|
3
|
+
* version : 23.2.5
|
|
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@23.
|
|
3
|
+
"_id": "@syncfusion/ej2-navigations@23.2.4",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512
|
|
5
|
+
"_integrity": "sha512-/lcIGigtoogO3gjNR2HN9S5xXiCmQ7ko/L5oA/s/TcRmqR96vUfL8xEPe+PxlHa4ZyJ4/Y5YftWHzOXV4puIiA==",
|
|
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.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-23.
|
|
43
|
-
"_shasum": "
|
|
42
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-23.2.4.tgz",
|
|
43
|
+
"_shasum": "73768a985e749e2953e6d2df3bd99c79ebc6144d",
|
|
44
44
|
"_spec": "@syncfusion/ej2-navigations@*",
|
|
45
45
|
"_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
|
|
46
46
|
"author": {
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
},
|
|
52
52
|
"bundleDependencies": false,
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@syncfusion/ej2-base": "~23.
|
|
55
|
-
"@syncfusion/ej2-buttons": "~23.
|
|
56
|
-
"@syncfusion/ej2-data": "~23.
|
|
57
|
-
"@syncfusion/ej2-inputs": "~23.
|
|
58
|
-
"@syncfusion/ej2-lists": "~23.
|
|
59
|
-
"@syncfusion/ej2-popups": "~23.
|
|
54
|
+
"@syncfusion/ej2-base": "~23.2.4",
|
|
55
|
+
"@syncfusion/ej2-buttons": "~23.2.4",
|
|
56
|
+
"@syncfusion/ej2-data": "~23.2.4",
|
|
57
|
+
"@syncfusion/ej2-inputs": "~23.2.4",
|
|
58
|
+
"@syncfusion/ej2-lists": "~23.2.4",
|
|
59
|
+
"@syncfusion/ej2-popups": "~23.2.4"
|
|
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": "23.
|
|
164
|
+
"version": "23.2.5",
|
|
165
165
|
"sideEffects": false
|
|
166
166
|
}
|
package/src/common/menu-base.js
CHANGED
|
@@ -2112,12 +2112,14 @@ var MenuBase = /** @class */ (function (_super) {
|
|
|
2112
2112
|
var ul;
|
|
2113
2113
|
var index;
|
|
2114
2114
|
var navIdx;
|
|
2115
|
+
var item;
|
|
2115
2116
|
for (var i = 0; i < items.length; i++) {
|
|
2116
2117
|
navIdx = this.getIndex(items[i], isUniqueId);
|
|
2117
2118
|
index = navIdx.pop();
|
|
2118
2119
|
ul = this.getUlByNavIdx(navIdx.length);
|
|
2120
|
+
item = this.getItems(navIdx);
|
|
2119
2121
|
if (ul) {
|
|
2120
|
-
var validUl = isUniqueId ? ul.children[index].id :
|
|
2122
|
+
var validUl = isUniqueId ? ul.children[index].id : item[index].text.toString();
|
|
2121
2123
|
if (ishide && validUl === items[i]) {
|
|
2122
2124
|
ul.children[index].classList.add(HIDE);
|
|
2123
2125
|
}
|
package/src/sidebar/sidebar.js
CHANGED
|
@@ -289,7 +289,7 @@ var Sidebar = /** @class */ (function (_super) {
|
|
|
289
289
|
};
|
|
290
290
|
this.trigger('open', openArguments, function (observedopenArgs) {
|
|
291
291
|
if (!observedopenArgs.cancel) {
|
|
292
|
-
removeClass([_this.element], VISIBILITY);
|
|
292
|
+
removeClass([_this.element], [VISIBILITY, DISABLEANIMATION]);
|
|
293
293
|
if (_this.element.classList.contains(OPEN)) {
|
|
294
294
|
return;
|
|
295
295
|
}
|
package/src/toolbar/toolbar.js
CHANGED
|
@@ -1892,6 +1892,11 @@ var Toolbar = /** @class */ (function (_super) {
|
|
|
1892
1892
|
eleObj.appendTo(ele);
|
|
1893
1893
|
}
|
|
1894
1894
|
this.add(innerEle, CLS_TEMPLATE);
|
|
1895
|
+
var firstChild = innerEle.firstElementChild;
|
|
1896
|
+
if (!isNOU(firstChild)) {
|
|
1897
|
+
firstChild.setAttribute('tabindex', isNOU(firstChild.getAttribute("tabIndex")) ? '-1' : this.getDataTabindex(firstChild));
|
|
1898
|
+
firstChild.setAttribute('data-tabindex', isNOU(firstChild.getAttribute("tabIndex")) ? '-1' : this.getDataTabindex(firstChild));
|
|
1899
|
+
}
|
|
1895
1900
|
this.tbarEle.push(innerEle);
|
|
1896
1901
|
};
|
|
1897
1902
|
Toolbar.prototype.buttonRendering = function (item, innerEle) {
|
|
@@ -2016,12 +2021,7 @@ var Toolbar = /** @class */ (function (_super) {
|
|
|
2016
2021
|
};
|
|
2017
2022
|
Toolbar.prototype.activeEleRemove = function (curEle) {
|
|
2018
2023
|
if (!isNOU(this.activeEle)) {
|
|
2019
|
-
|
|
2020
|
-
this.activeEle.setAttribute('tabindex', this.getDataTabindex(this.activeEle));
|
|
2021
|
-
}
|
|
2022
|
-
else {
|
|
2023
|
-
this.activeEle.removeAttribute('tabindex');
|
|
2024
|
-
}
|
|
2024
|
+
this.activeEle.setAttribute('tabindex', this.getDataTabindex(this.activeEle));
|
|
2025
2025
|
}
|
|
2026
2026
|
this.activeEle = curEle;
|
|
2027
2027
|
if (this.getDataTabindex(this.activeEle) === '-1') {
|
|
@@ -2030,7 +2030,8 @@ var Toolbar = /** @class */ (function (_super) {
|
|
|
2030
2030
|
curEle.removeAttribute('tabindex');
|
|
2031
2031
|
}
|
|
2032
2032
|
else {
|
|
2033
|
-
|
|
2033
|
+
var tabIndex = parseInt(this.getDataTabindex(this.activeEle)) + 1;
|
|
2034
|
+
this.activeEle.setAttribute('tabindex', tabIndex.toString());
|
|
2034
2035
|
}
|
|
2035
2036
|
}
|
|
2036
2037
|
};
|
package/src/treeview/treeview.js
CHANGED
|
@@ -4616,7 +4616,9 @@ var TreeView = /** @class */ (function (_super) {
|
|
|
4616
4616
|
this.isAnimate = false;
|
|
4617
4617
|
this.isFieldChange = true;
|
|
4618
4618
|
this.initialRender = true;
|
|
4619
|
-
this.
|
|
4619
|
+
if (isNOU(this.isReact) && !(this.fields.dataSource instanceof DataManager)) {
|
|
4620
|
+
this.reRenderNodes();
|
|
4621
|
+
}
|
|
4620
4622
|
this.initialRender = false;
|
|
4621
4623
|
this.isAnimate = true;
|
|
4622
4624
|
this.isFieldChange = false;
|