@smartbit4all/ng-client 3.3.175 → 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.
- package/esm2020/lib/smart-icon/smart-icon/smart-icon.component.mjs +6 -4
- package/esm2020/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +4 -1
- package/fesm2015/smartbit4all-ng-client.mjs +8 -3
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +8 -3
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-icon/smart-icon/smart-icon.component.d.ts +3 -2
- package/lib/view-context/smart-ui-action/ui-action-toolbar.component.d.ts +3 -2
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.3.177.tgz +0 -0
- package/smartbit4all-ng-client-3.3.175.tgz +0 -0
|
@@ -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: [{
|
|
@@ -5179,6 +5181,9 @@ class UiActionToolbarComponent {
|
|
|
5179
5181
|
ngAfterViewInit() {
|
|
5180
5182
|
this.changeDetector.detectChanges();
|
|
5181
5183
|
}
|
|
5184
|
+
ngAfterViewChecked() {
|
|
5185
|
+
this.changeDetector.detectChanges();
|
|
5186
|
+
}
|
|
5182
5187
|
ngOnChanges(changes) {
|
|
5183
5188
|
if (changes['uiActionModels']) {
|
|
5184
5189
|
let uiActionModels = changes['uiActionModels'].currentValue;
|