@syncfusion/ej2-navigations 20.2.39 → 20.2.43
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 +2 -0
- 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 +19 -6
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +19 -6
- 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.d.ts +1 -0
- package/src/common/menu-base.js +19 -6
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.2.
|
|
3
|
+
* version : 20.2.43
|
|
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.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-navigations@20.2.39",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-kKgkOkUbYyrMWXyxBVMO87FcHCPZ3tkTFMn7UAm3FYFJi8T7lQPBaly781bN1Oj2/4yITfVya62c5i3oqEoP/Q==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-navigations",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"/@syncfusion/ej2-spreadsheet",
|
|
38
38
|
"/@syncfusion/ej2-vue-navigations"
|
|
39
39
|
],
|
|
40
|
-
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-20.2.
|
|
41
|
-
"_shasum": "
|
|
40
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-20.2.39.tgz",
|
|
41
|
+
"_shasum": "76eeaf8b39b5e3feb71437549424e8c94bfffafb",
|
|
42
42
|
"_spec": "@syncfusion/ej2-navigations@*",
|
|
43
43
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
44
44
|
"author": {
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
},
|
|
50
50
|
"bundleDependencies": false,
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@syncfusion/ej2-base": "~20.2.
|
|
53
|
-
"@syncfusion/ej2-buttons": "~20.2.
|
|
54
|
-
"@syncfusion/ej2-data": "~20.2.
|
|
55
|
-
"@syncfusion/ej2-inputs": "~20.2.
|
|
56
|
-
"@syncfusion/ej2-lists": "~20.2.
|
|
57
|
-
"@syncfusion/ej2-popups": "~20.2.
|
|
52
|
+
"@syncfusion/ej2-base": "~20.2.43",
|
|
53
|
+
"@syncfusion/ej2-buttons": "~20.2.43",
|
|
54
|
+
"@syncfusion/ej2-data": "~20.2.43",
|
|
55
|
+
"@syncfusion/ej2-inputs": "~20.2.43",
|
|
56
|
+
"@syncfusion/ej2-lists": "~20.2.43",
|
|
57
|
+
"@syncfusion/ej2-popups": "~20.2.43"
|
|
58
58
|
},
|
|
59
59
|
"deprecated": false,
|
|
60
60
|
"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",
|
|
@@ -159,6 +159,6 @@
|
|
|
159
159
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
160
160
|
},
|
|
161
161
|
"typings": "index.d.ts",
|
|
162
|
-
"version": "20.2.
|
|
162
|
+
"version": "20.2.43",
|
|
163
163
|
"sideEffects": false
|
|
164
164
|
}
|
package/src/common/menu-base.js
CHANGED
|
@@ -520,6 +520,7 @@ var MenuBase = /** @class */ (function (_super) {
|
|
|
520
520
|
};
|
|
521
521
|
MenuBase.prototype.cmenuHandler = function (e) {
|
|
522
522
|
e.preventDefault();
|
|
523
|
+
this.currentTarget = e.target;
|
|
523
524
|
this.isCMenu = true;
|
|
524
525
|
this.pageX = e.changedTouches ? e.changedTouches[0].pageX + 1 : e.pageX + 1;
|
|
525
526
|
this.pageY = e.changedTouches ? e.changedTouches[0].pageY + 1 : e.pageY + 1;
|
|
@@ -1662,6 +1663,14 @@ var MenuBase = /** @class */ (function (_super) {
|
|
|
1662
1663
|
navIdx.length = 0;
|
|
1663
1664
|
}
|
|
1664
1665
|
}
|
|
1666
|
+
if (this_1.enableScrolling) {
|
|
1667
|
+
if (this_1.element.classList.contains('e-vertical')) {
|
|
1668
|
+
addScrolling(this_1.createElement, wrapper, this_1.element, 'vscroll', this_1.enableRtl);
|
|
1669
|
+
}
|
|
1670
|
+
else {
|
|
1671
|
+
addScrolling(this_1.createElement, wrapper, this_1.element, 'hscroll', this_1.enableRtl);
|
|
1672
|
+
}
|
|
1673
|
+
}
|
|
1665
1674
|
break;
|
|
1666
1675
|
}
|
|
1667
1676
|
}
|
|
@@ -1824,12 +1833,16 @@ var MenuBase = /** @class */ (function (_super) {
|
|
|
1824
1833
|
ul.querySelector('.' + FOCUSED).focus();
|
|
1825
1834
|
}
|
|
1826
1835
|
else {
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1836
|
+
if (this.currentTarget) {
|
|
1837
|
+
if (!(this.currentTarget.classList.contains("e-numerictextbox") || this.currentTarget.classList.contains("e-textbox"))) {
|
|
1838
|
+
var ele = this.getWrapper().children[this.getIdx(this.getWrapper(), ul) - 1];
|
|
1839
|
+
if (ele) {
|
|
1840
|
+
ele.querySelector('.' + SELECTED).focus();
|
|
1841
|
+
}
|
|
1842
|
+
else {
|
|
1843
|
+
this.element.focus();
|
|
1844
|
+
}
|
|
1845
|
+
}
|
|
1833
1846
|
}
|
|
1834
1847
|
}
|
|
1835
1848
|
}
|