@syncfusion/ej2-navigations 25.1.35 → 25.1.37
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 +14 -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 +20 -10
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +20 -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 +6 -6
- package/src/toolbar/toolbar.d.ts +1 -0
- package/src/toolbar/toolbar.js +10 -6
- package/src/treeview/treeview.js +10 -4
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 25.1.
|
|
3
|
+
* version : 25.1.37
|
|
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@
|
|
3
|
+
"_id": "@syncfusion/ej2-navigations@25.1.35",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-fR5/03VzC+9IKq8D5/KeKt9MdqSZualOAS1f7dJZdLkVxxqaLq5Ce9tLAdXqtP58MqSk3Atk6AespHptGgauYA==",
|
|
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-
|
|
43
|
-
"_shasum": "
|
|
42
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-25.1.35.tgz",
|
|
43
|
+
"_shasum": "043a683ce25441881b94bb60054cbd3a98954a66",
|
|
44
44
|
"_spec": "@syncfusion/ej2-navigations@*",
|
|
45
45
|
"_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
|
|
46
46
|
"author": {
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@syncfusion/ej2-base": "~25.1.35",
|
|
55
55
|
"@syncfusion/ej2-buttons": "~25.1.35",
|
|
56
56
|
"@syncfusion/ej2-data": "~25.1.35",
|
|
57
|
-
"@syncfusion/ej2-inputs": "~25.1.
|
|
57
|
+
"@syncfusion/ej2-inputs": "~25.1.37",
|
|
58
58
|
"@syncfusion/ej2-lists": "~25.1.35",
|
|
59
59
|
"@syncfusion/ej2-popups": "~25.1.35"
|
|
60
60
|
},
|
|
@@ -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.
|
|
164
|
+
"version": "25.1.37",
|
|
165
165
|
"sideEffects": false
|
|
166
166
|
}
|
package/src/toolbar/toolbar.d.ts
CHANGED
package/src/toolbar/toolbar.js
CHANGED
|
@@ -666,16 +666,21 @@ var Toolbar = /** @class */ (function (_super) {
|
|
|
666
666
|
popObj.enableRtl = false;
|
|
667
667
|
popObj.position = { X: 'right', Y: 'top' };
|
|
668
668
|
}
|
|
669
|
-
popObj.dataBind();
|
|
670
|
-
popObj.refreshPosition();
|
|
671
|
-
popObj.element.style.top = this.getElementOffsetY() + 'px';
|
|
672
669
|
if (this.overflowMode === 'Extended') {
|
|
673
670
|
popObj.element.style.minHeight = '0px';
|
|
671
|
+
popObj.width = this.getToolbarPopupWidth(this.element);
|
|
674
672
|
}
|
|
673
|
+
popObj.dataBind();
|
|
674
|
+
popObj.refreshPosition();
|
|
675
|
+
popObj.element.style.top = this.getElementOffsetY() + 'px';
|
|
675
676
|
popupNav.classList.add(CLS_TBARNAVACT);
|
|
676
677
|
popObj.show({ name: 'FadeIn', duration: 100 });
|
|
677
678
|
}
|
|
678
679
|
};
|
|
680
|
+
Toolbar.prototype.getToolbarPopupWidth = function (ele) {
|
|
681
|
+
var eleStyles = window.getComputedStyle(ele);
|
|
682
|
+
return parseFloat(eleStyles.width) + ((parseFloat(eleStyles.borderRightWidth)) * 2);
|
|
683
|
+
};
|
|
679
684
|
/**
|
|
680
685
|
* To Initialize the control rendering
|
|
681
686
|
*
|
|
@@ -1069,7 +1074,7 @@ var Toolbar = /** @class */ (function (_super) {
|
|
|
1069
1074
|
position: this.enableRtl ? { X: 'left', Y: 'top' } : { X: 'right', Y: 'top' }
|
|
1070
1075
|
});
|
|
1071
1076
|
if (this.overflowMode === 'Extended') {
|
|
1072
|
-
popup.width =
|
|
1077
|
+
popup.width = this.getToolbarPopupWidth(this.element);
|
|
1073
1078
|
popup.offsetX = 0;
|
|
1074
1079
|
}
|
|
1075
1080
|
popup.appendTo(ele);
|
|
@@ -2112,8 +2117,7 @@ var Toolbar = /** @class */ (function (_super) {
|
|
|
2112
2117
|
}
|
|
2113
2118
|
if (this.popObj) {
|
|
2114
2119
|
if (this.overflowMode === 'Extended') {
|
|
2115
|
-
|
|
2116
|
-
this.popObj.width = parseFloat(eleStyles.width) + ((parseFloat(eleStyles.borderRightWidth)) * 2);
|
|
2120
|
+
this.popObj.width = this.getToolbarPopupWidth(this.element);
|
|
2117
2121
|
}
|
|
2118
2122
|
if (this.tbarAlign) {
|
|
2119
2123
|
this.removePositioning();
|
package/src/treeview/treeview.js
CHANGED
|
@@ -2690,11 +2690,17 @@ var TreeView = /** @class */ (function (_super) {
|
|
|
2690
2690
|
TreeView.prototype.focusIn = function () {
|
|
2691
2691
|
if (!this.mouseDownStatus) {
|
|
2692
2692
|
var focusedElement = this.getFocusedNode();
|
|
2693
|
-
focusedElement.
|
|
2694
|
-
|
|
2695
|
-
|
|
2693
|
+
if (focusedElement.classList.contains('e-disable')) {
|
|
2694
|
+
focusedElement.setAttribute("tabindex", "-1");
|
|
2695
|
+
this.navigateNode(true);
|
|
2696
|
+
}
|
|
2697
|
+
else {
|
|
2698
|
+
focusedElement.setAttribute("tabindex", "0");
|
|
2699
|
+
addClass([focusedElement], FOCUS);
|
|
2700
|
+
EventHandler.add(focusedElement, 'blur', this.focusOut, this);
|
|
2701
|
+
}
|
|
2702
|
+
this.mouseDownStatus = false;
|
|
2696
2703
|
}
|
|
2697
|
-
this.mouseDownStatus = false;
|
|
2698
2704
|
};
|
|
2699
2705
|
TreeView.prototype.focusOut = function (event) {
|
|
2700
2706
|
var focusedElement = this.getFocusedNode();
|