@syncfusion/ej2-navigations 20.4.43 → 20.4.44
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 +8 -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 +6 -2
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +6 -2
- 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 +9 -9
- package/src/common/menu-base.js +6 -2
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.4.
|
|
3
|
+
* version : 20.4.44
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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@20.4.
|
|
3
|
+
"_id": "@syncfusion/ej2-navigations@20.4.43",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-i+34uRyNysO690StEyuw9/rOtO+ZTePBjmZkoChF7+FhbQx4cE3c/0EPfBsVioKxkwS9iFd1hnJSLL3NpVCiZQ==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-navigations",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"/@syncfusion/ej2-spreadsheet",
|
|
39
39
|
"/@syncfusion/ej2-vue-navigations"
|
|
40
40
|
],
|
|
41
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-20.4.
|
|
42
|
-
"_shasum": "
|
|
41
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-20.4.43.tgz",
|
|
42
|
+
"_shasum": "a06a120de2a3bb809ab71836f16e3377c797d5ae",
|
|
43
43
|
"_spec": "@syncfusion/ej2-navigations@*",
|
|
44
44
|
"_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
|
|
45
45
|
"author": {
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
},
|
|
51
51
|
"bundleDependencies": false,
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@syncfusion/ej2-base": "~20.4.
|
|
54
|
-
"@syncfusion/ej2-buttons": "~20.4.
|
|
55
|
-
"@syncfusion/ej2-data": "~20.4.
|
|
53
|
+
"@syncfusion/ej2-base": "~20.4.44",
|
|
54
|
+
"@syncfusion/ej2-buttons": "~20.4.44",
|
|
55
|
+
"@syncfusion/ej2-data": "~20.4.44",
|
|
56
56
|
"@syncfusion/ej2-inputs": "~20.4.42",
|
|
57
57
|
"@syncfusion/ej2-lists": "~20.4.42",
|
|
58
|
-
"@syncfusion/ej2-popups": "~20.4.
|
|
58
|
+
"@syncfusion/ej2-popups": "~20.4.44"
|
|
59
59
|
},
|
|
60
60
|
"deprecated": false,
|
|
61
61
|
"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",
|
|
@@ -160,6 +160,6 @@
|
|
|
160
160
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
161
161
|
},
|
|
162
162
|
"typings": "index.d.ts",
|
|
163
|
-
"version": "20.4.
|
|
163
|
+
"version": "20.4.44",
|
|
164
164
|
"sideEffects": false
|
|
165
165
|
}
|
package/src/common/menu-base.js
CHANGED
|
@@ -619,11 +619,15 @@ var MenuBase = /** @class */ (function (_super) {
|
|
|
619
619
|
closedLi = trgtpopUp.querySelector('[id="' + trgtliId + '"]');
|
|
620
620
|
trgtLi = (liElem_1 && trgtpopUp.querySelector('[id="' + liElem_1.id + '"]'));
|
|
621
621
|
}
|
|
622
|
+
else if (trgtpopUp) {
|
|
623
|
+
closedLi = trgtpopUp.querySelector('.e-menu-item.e-selected');
|
|
624
|
+
trgtLi = (liElem_1 && trgtpopUp.querySelector('[id="' + liElem_1.id + '"]'));
|
|
625
|
+
}
|
|
622
626
|
var submenus = liElem_1 && liElem_1.querySelectorAll('.e-menu-item');
|
|
623
627
|
if (isOpen && _this.hamburgerMode && ulIndex && !(submenus.length)) {
|
|
624
628
|
_this.afterCloseMenu(e);
|
|
625
629
|
}
|
|
626
|
-
else if (isOpen && !_this.hamburgerMode &&
|
|
630
|
+
else if (isOpen && !_this.hamburgerMode && closedLi && !trgtLi && _this.keyType !== 'left' && (_this.navIdx.length || !_this.isMenu && _this.navIdx.length === 0)) {
|
|
627
631
|
var ele = (e && e.target.classList.contains('e-vscroll'))
|
|
628
632
|
? closest(e.target, '.e-menu-wrapper') : null;
|
|
629
633
|
if (ele) {
|
|
@@ -637,7 +641,7 @@ var MenuBase = /** @class */ (function (_super) {
|
|
|
637
641
|
}
|
|
638
642
|
}
|
|
639
643
|
else if (isOpen && !isIterated && !ulIndex && ((_this.hamburgerMode && _this.navIdx.length) ||
|
|
640
|
-
_this.navIdx.length === 1)) {
|
|
644
|
+
_this.navIdx.length === 1 && liElem_1 && trgtpopUp !== liElem_1.parentElement)) {
|
|
641
645
|
_this.closeMenu(null, e);
|
|
642
646
|
}
|
|
643
647
|
else if (isOpen && isNullOrUndefined(ulIndex) && _this.navIdx.length) {
|