@smartbit4all/ng-client 3.3.176 → 3.3.177

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.
@@ -4656,8 +4656,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
4656
4656
  }], ctorParameters: function () { return [{ type: i4.MatIconRegistry }, { type: i2$2.DomSanitizer }]; } });
4657
4657
 
4658
4658
  class SmartIconComponent {
4659
- constructor(service) {
4659
+ constructor(service, changeDetector) {
4660
4660
  this.service = service;
4661
+ this.changeDetector = changeDetector;
4661
4662
  this.isCustom = false;
4662
4663
  }
4663
4664
  ngOnChanges(changes) {
@@ -4674,14 +4675,15 @@ class SmartIconComponent {
4674
4675
  this.isCustom = false;
4675
4676
  this.icon = this.iconWithoutNamespace;
4676
4677
  }
4678
+ this.changeDetector.markForCheck();
4677
4679
  }
4678
4680
  }
4679
- SmartIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartIconComponent, deps: [{ token: SmartIconService }], target: i0.ɵɵFactoryTarget.Component });
4681
+ SmartIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartIconComponent, deps: [{ token: SmartIconService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
4680
4682
  SmartIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: SmartIconComponent, selector: "smart-icon", inputs: { iconWithoutNamespace: ["icon", "iconWithoutNamespace"], color: "color" }, usesOnChanges: true, ngImport: i0, template: "<mat-icon [color]=\"color ?? 'primary'\" *ngIf=\"isCustom\" svgIcon=\"{{ icon }}\"></mat-icon>\r\n<mat-icon [color]=\"color ?? 'primary'\" *ngIf=\"!isCustom\"> {{ icon }} </mat-icon>\r\n", styles: [""], components: [{ type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
4681
4683
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartIconComponent, decorators: [{
4682
4684
  type: Component,
4683
4685
  args: [{ selector: 'smart-icon', template: "<mat-icon [color]=\"color ?? 'primary'\" *ngIf=\"isCustom\" svgIcon=\"{{ icon }}\"></mat-icon>\r\n<mat-icon [color]=\"color ?? 'primary'\" *ngIf=\"!isCustom\"> {{ icon }} </mat-icon>\r\n", styles: [""] }]
4684
- }], ctorParameters: function () { return [{ type: SmartIconService }]; }, propDecorators: { iconWithoutNamespace: [{
4686
+ }], ctorParameters: function () { return [{ type: SmartIconService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { iconWithoutNamespace: [{
4685
4687
  type: Input,
4686
4688
  args: ['icon']
4687
4689
  }], color: [{