@syncfusion/ej2-navigations 26.2.10 → 26.2.12
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 +11 -14
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +11 -16
- 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 +8 -8
- package/src/common/menu-base.js +1 -1
- package/src/stepper/stepper.d.ts +1 -0
- package/src/stepper/stepper.js +10 -15
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 26.2.
|
|
3
|
+
* version : 26.2.12
|
|
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@26.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-navigations@26.2.11",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-knZ7tm0xp1Vy5qwBTjG5cMEcz4ZiMZ028LpyGUWXvVCQd9EvTzulN2n35kLKdBS+PjTJMtgeN4iB0HnVuXWasw==",
|
|
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-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-26.2.
|
|
43
|
-
"_shasum": "
|
|
42
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-26.2.11.tgz",
|
|
43
|
+
"_shasum": "b18f41aae6021464618bea7d38f08beb7de30546",
|
|
44
44
|
"_spec": "@syncfusion/ej2-navigations@*",
|
|
45
45
|
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
|
|
46
46
|
"author": {
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
"@syncfusion/ej2-base": "~26.2.10",
|
|
55
55
|
"@syncfusion/ej2-buttons": "~26.2.10",
|
|
56
56
|
"@syncfusion/ej2-data": "~26.2.10",
|
|
57
|
-
"@syncfusion/ej2-inputs": "~26.2.
|
|
58
|
-
"@syncfusion/ej2-lists": "~26.2.
|
|
59
|
-
"@syncfusion/ej2-popups": "~26.2.
|
|
57
|
+
"@syncfusion/ej2-inputs": "~26.2.11",
|
|
58
|
+
"@syncfusion/ej2-lists": "~26.2.11",
|
|
59
|
+
"@syncfusion/ej2-popups": "~26.2.11"
|
|
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": "26.2.
|
|
164
|
+
"version": "26.2.12",
|
|
165
165
|
"sideEffects": false
|
|
166
166
|
}
|
package/src/common/menu-base.js
CHANGED
|
@@ -1535,7 +1535,7 @@ var MenuBase = /** @class */ (function (_super) {
|
|
|
1535
1535
|
this.removeLIStateByClass([SELECTED], [wrapper]);
|
|
1536
1536
|
}
|
|
1537
1537
|
if (!cli || !cli.querySelector('.' + CARET)) {
|
|
1538
|
-
if (
|
|
1538
|
+
if (navigator.platform.toUpperCase().indexOf('MAC') < 0 || (navigator.platform.toUpperCase().indexOf('MAC') >= 0 && !e.ctrlKey)) {
|
|
1539
1539
|
this.closeMenu(null, e);
|
|
1540
1540
|
}
|
|
1541
1541
|
}
|
package/src/stepper/stepper.d.ts
CHANGED
|
@@ -292,6 +292,7 @@ export declare class Stepper extends StepperBase implements INotifyPropertyChang
|
|
|
292
292
|
private updateStepType;
|
|
293
293
|
private wireEvents;
|
|
294
294
|
private unWireEvents;
|
|
295
|
+
private updateResize;
|
|
295
296
|
private updateStepFocus;
|
|
296
297
|
private updateStepperStatus;
|
|
297
298
|
private updateStatusClass;
|
package/src/stepper/stepper.js
CHANGED
|
@@ -253,23 +253,18 @@ var Stepper = /** @class */ (function (_super) {
|
|
|
253
253
|
}
|
|
254
254
|
};
|
|
255
255
|
Stepper.prototype.wireEvents = function () {
|
|
256
|
-
|
|
257
|
-
EventHandler.add(window, '
|
|
258
|
-
if (_this.stepperItemList && _this.progressbar && _this.element.classList.contains(HORIZSTEP)) {
|
|
259
|
-
_this.setProgressPosition(_this.element, true);
|
|
260
|
-
}
|
|
261
|
-
_this.navigateToStep(_this.activeStep, null, null, false);
|
|
262
|
-
}, this);
|
|
263
|
-
EventHandler.add(window, 'click', function () { _this.updateStepFocus(); }, this);
|
|
256
|
+
EventHandler.add(window, 'resize', this.updateResize, this);
|
|
257
|
+
EventHandler.add(window, 'click', this.updateStepFocus, this);
|
|
264
258
|
};
|
|
265
259
|
Stepper.prototype.unWireEvents = function () {
|
|
266
|
-
|
|
267
|
-
EventHandler.remove(window, '
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
260
|
+
EventHandler.remove(window, 'resize', this.updateResize);
|
|
261
|
+
EventHandler.remove(window, 'click', this.updateStepFocus);
|
|
262
|
+
};
|
|
263
|
+
Stepper.prototype.updateResize = function () {
|
|
264
|
+
if (this.stepperItemList && this.progressbar && this.element.classList.contains(HORIZSTEP)) {
|
|
265
|
+
this.setProgressPosition(this.element, true);
|
|
266
|
+
}
|
|
267
|
+
this.navigateToStep(this.activeStep, null, null, false);
|
|
273
268
|
};
|
|
274
269
|
Stepper.prototype.updateStepFocus = function () {
|
|
275
270
|
if (this.isKeyNavFocus) {
|