@syncfusion/ej2-navigations 26.2.11 → 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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 26.2.11
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.10",
3
+ "_id": "@syncfusion/ej2-navigations@26.2.11",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-AIMiDEXs1BzcAOiaANBXcaE2ogbKR4jUx/33xiSfMtqdfwiCbVrBjCzdj9RPVBoGCHyidGNzHHHmH1WrcTJ07Q==",
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.10.tgz",
43
- "_shasum": "b709fb12837964acbcd57d8e3aa767d0e676623f",
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": {
@@ -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.11",
164
+ "version": "26.2.12",
165
165
  "sideEffects": false
166
166
  }
@@ -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;
@@ -253,23 +253,18 @@ var Stepper = /** @class */ (function (_super) {
253
253
  }
254
254
  };
255
255
  Stepper.prototype.wireEvents = function () {
256
- var _this = this;
257
- EventHandler.add(window, 'resize', function () {
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
- var _this = this;
267
- EventHandler.remove(window, 'resize', function () {
268
- if (_this.stepperItemList && _this.progressbar && _this.element.classList.contains(HORIZSTEP)) {
269
- _this.setProgressPosition(_this.element, true);
270
- }
271
- });
272
- EventHandler.remove(window, 'click', function () { _this.updateStepFocus(); });
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) {