aeb-ui-kit 1.2.0 → 1.2.1

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.
@@ -1204,16 +1204,20 @@ class NewButtonComponent {
1204
1204
  this.isHovered = false;
1205
1205
  }
1206
1206
  wrapWithCssURL(value) {
1207
- return `url(${value})`;
1207
+ return value ? `url(${value})` : undefined;
1208
1208
  }
1209
1209
  getCurrentIconSource(side) {
1210
- if (this.isHovered && this.hoveredIconSource[side]) {
1210
+ if (this.isHovered &&
1211
+ this.hoveredIconSource &&
1212
+ this.hoveredIconSource[side]) {
1211
1213
  return this.hoveredIconSource[side];
1212
1214
  }
1213
- if (this.disabled && this.disabledIconSource[side]) {
1215
+ if (this.disabled &&
1216
+ this.disabledIconSource &&
1217
+ this.disabledIconSource[side]) {
1214
1218
  return this.disabledIconSource[side];
1215
1219
  }
1216
- return this.iconSource[side];
1220
+ return this.iconSource ? this.iconSource[side] : undefined;
1217
1221
  }
1218
1222
  }
1219
1223
  NewButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NewButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -3658,7 +3662,7 @@ class PaginationComponent {
3658
3662
  this.resizeSub$ = fromEvent(window, 'resize')
3659
3663
  .pipe(debounceTime(40))
3660
3664
  .subscribe(this.windowResizedCallback);
3661
- // this.windowResizedCallback();
3665
+ this.windowResizedCallback();
3662
3666
  }
3663
3667
  ngOnDestroy() {
3664
3668
  this.resizeSub$.unsubscribe();