@syncfusion/ej2-splitbuttons 24.2.5 → 25.1.35-579988

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.
@@ -974,7 +974,7 @@ var DropDownButton = /** @__PURE__ @class */ (function (_super) {
974
974
  Property('Left')
975
975
  ], DropDownButton.prototype, "iconPosition", void 0);
976
976
  __decorate$1([
977
- Property(false)
977
+ Property(true)
978
978
  ], DropDownButton.prototype, "enableHtmlSanitizer", void 0);
979
979
  __decorate$1([
980
980
  Collection([], Item)
@@ -1842,7 +1842,7 @@ var ProgressButton = /** @__PURE__ @class */ (function (_super) {
1842
1842
  this.step = args.step;
1843
1843
  if ((progressTime - prevProgressTime) % (this.duration * args.step / 100) === 0 || percent === 100) {
1844
1844
  this.timerId = requestAnimationFrame(function () {
1845
- if (_this.enableProgress) {
1845
+ if (_this.enableProgress && _this.getProgress()) {
1846
1846
  _this.getProgress().style[isVertical ? 'height' : 'width'] = percent + '%';
1847
1847
  }
1848
1848
  _this.element.setAttribute('aria-valuenow', percent.toString());
@@ -1859,7 +1859,7 @@ var ProgressButton = /** @__PURE__ @class */ (function (_super) {
1859
1859
  else {
1860
1860
  this.interval = window.setTimeout(function () {
1861
1861
  _this.progressTime = _this.percent = 0;
1862
- if (_this.enableProgress) {
1862
+ if (_this.enableProgress && _this.getProgress()) {
1863
1863
  _this.getProgress().style[isVertical ? 'height' : 'width'] = '0%';
1864
1864
  }
1865
1865
  _this.element.setAttribute('aria-valuenow', '0');
@@ -1900,7 +1900,7 @@ var ProgressButton = /** @__PURE__ @class */ (function (_super) {
1900
1900
  if (i > 100) {
1901
1901
  i = 100;
1902
1902
  }
1903
- if (this.enableProgress) {
1903
+ if (this.enableProgress && this.getProgress()) {
1904
1904
  this.getProgress().style[isVertical ? 'height' : 'width'] = (this.percent < 100) ? (i + '%') : '100%';
1905
1905
  }
1906
1906
  }
@@ -2053,7 +2053,7 @@ var ProgressButton = /** @__PURE__ @class */ (function (_super) {
2053
2053
  Property(false)
2054
2054
  ], ProgressButton.prototype, "isToggle", void 0);
2055
2055
  __decorate$3([
2056
- Property(false)
2056
+ Property(true)
2057
2057
  ], ProgressButton.prototype, "enableHtmlSanitizer", void 0);
2058
2058
  __decorate$3([
2059
2059
  Complex({}, SpinSettings)