@syncfusion/ej2-splitbuttons 24.2.5 → 24.2.7

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 : 24.2.5
3
+ * version : 24.2.7
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-splitbuttons@*",
3
- "_id": "@syncfusion/ej2-splitbuttons@24.2.3",
3
+ "_id": "@syncfusion/ej2-splitbuttons@24.2.5",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-9EFXAAUttC3Rak9Vpf2iRK5Tjpsj5P/Z9BuvrzRAP2p48Yl9wYyYj1T7+ZNNlPflJ/QxTVWrQ6K5AM6n7r4LlA==",
5
+ "_integrity": "sha512-HFxtlYDnrOiSFNHWn0iAIMtM8Gd79G8AXYWW9gmNKi5jv0XQh7FMt/q6b8SBlIPnk7t9bJI/90TAEYnKktZWJw==",
6
6
  "_location": "/@syncfusion/ej2-splitbuttons",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -33,8 +33,8 @@
33
33
  "/@syncfusion/ej2-richtexteditor",
34
34
  "/@syncfusion/ej2-vue-splitbuttons"
35
35
  ],
36
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-splitbuttons/-/ej2-splitbuttons-24.2.3.tgz",
37
- "_shasum": "205454b9e84e403e636e3604f3201db058a73b30",
36
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-splitbuttons/-/ej2-splitbuttons-24.2.5.tgz",
37
+ "_shasum": "2e25356568e1d51bb4a14150d8d32fada6f0237e",
38
38
  "_spec": "@syncfusion/ej2-splitbuttons@*",
39
39
  "_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included",
40
40
  "author": {
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "bundleDependencies": false,
47
47
  "dependencies": {
48
- "@syncfusion/ej2-base": "~24.2.5",
48
+ "@syncfusion/ej2-base": "~24.2.7",
49
49
  "@syncfusion/ej2-popups": "~24.2.5"
50
50
  },
51
51
  "deprecated": false,
@@ -89,6 +89,6 @@
89
89
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
90
90
  },
91
91
  "typings": "index.d.ts",
92
- "version": "24.2.5",
92
+ "version": "24.2.7",
93
93
  "sideEffects": false
94
94
  }
@@ -301,7 +301,7 @@ var ProgressButton = /** @class */ (function (_super) {
301
301
  this.step = args.step;
302
302
  if ((progressTime - prevProgressTime) % (this.duration * args.step / 100) === 0 || percent === 100) {
303
303
  this.timerId = requestAnimationFrame(function () {
304
- if (_this.enableProgress) {
304
+ if (_this.enableProgress && _this.getProgress()) {
305
305
  _this.getProgress().style[isVertical ? 'height' : 'width'] = percent + '%';
306
306
  }
307
307
  _this.element.setAttribute('aria-valuenow', percent.toString());
@@ -318,7 +318,7 @@ var ProgressButton = /** @class */ (function (_super) {
318
318
  else {
319
319
  this.interval = window.setTimeout(function () {
320
320
  _this.progressTime = _this.percent = 0;
321
- if (_this.enableProgress) {
321
+ if (_this.enableProgress && _this.getProgress()) {
322
322
  _this.getProgress().style[isVertical ? 'height' : 'width'] = '0%';
323
323
  }
324
324
  _this.element.setAttribute('aria-valuenow', '0');
@@ -359,7 +359,7 @@ var ProgressButton = /** @class */ (function (_super) {
359
359
  if (i > 100) {
360
360
  i = 100;
361
361
  }
362
- if (this.enableProgress) {
362
+ if (this.enableProgress && this.getProgress()) {
363
363
  this.getProgress().style[isVertical ? 'height' : 'width'] = (this.percent < 100) ? (i + '%') : '100%';
364
364
  }
365
365
  }