@smartbit4all/ng-client 3.3.211 → 3.3.213
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-form/smartform.component.mjs +2 -1
- package/esm2020/lib/view-context/api/model/deviceInfo.mjs +1 -1
- package/esm2020/lib/view-context/api/model/models.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiActionButtonDescriptor.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewContext.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewContextUpdate.mjs +1 -1
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.mjs +2 -2
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-dialog-button/ui-action-dialog-button.component.mjs +3 -3
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.mjs +2 -2
- package/fesm2015/smartbit4all-ng-client.mjs +5 -4
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +5 -4
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.3.213.tgz +0 -0
- package/smartbit4all-ng-client-3.3.211.tgz +0 -0
|
@@ -6452,6 +6452,7 @@ class SmartformComponent {
|
|
|
6452
6452
|
// this.form.controls[control].setValue(value);
|
|
6453
6453
|
}
|
|
6454
6454
|
this.smartForm.invalidFields = this.getInvalidFields();
|
|
6455
|
+
this.markAllWidgetsForChangeDetection();
|
|
6455
6456
|
return this.smartForm;
|
|
6456
6457
|
}
|
|
6457
6458
|
}
|
|
@@ -7823,10 +7824,10 @@ class UiActionDialogButtonComponent {
|
|
|
7823
7824
|
}
|
|
7824
7825
|
}
|
|
7825
7826
|
UiActionDialogButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: UiActionDialogButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7826
|
-
UiActionDialogButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: UiActionDialogButtonComponent, selector: "ui-action-dialog-button", inputs: { descriptor: "descriptor", buttonType: "buttonType" }, outputs: { click: "click" }, ngImport: i0, template: "<button\n mat-button\n [smartTooltip]=\"descriptor.tooltip\"\n [ngClass]=\"getButtonClass()\"\n color=\"accent\"\n [color]=\"descriptor.color\"\n class=\"{{ descriptor.cssClass }}\"\n (click)=\"onButtonClicked()\"\n>\n <div *ngIf=\"isOnlyIcon(); then iconOnly; else text\"></div>\n <ng-template #iconOnly>\n <smart-icon\n *ngIf=\"descriptor.icon\"\n [icon]=\"descriptor.icon\"\n [color]=\"descriptor.iconColor ?? descriptor.color\"\n ></smart-icon>\n </ng-template>\n <ng-template #text>\n <smart-icon\n *ngIf=\"descriptor.icon && descriptor.iconPosition === iconPosition().PRE\"\n [icon]=\"descriptor.icon\"\n [color]=\"descriptor.iconColor ?? descriptor.color\"\n ></smart-icon>\n {{ descriptor.caption }}\n <smart-icon\n *ngIf=\"descriptor.icon && descriptor.iconPosition === iconPosition().POST\"\n [icon]=\"descriptor.icon!\"\n [color]=\"descriptor.iconColor ?? descriptor.color\"\n ></smart-icon>\n </ng-template>\n</button>\n", styles: [""], components: [{ type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: SmartIconComponent, selector: "smart-icon", inputs: ["icon", "color"] }], directives: [{ type: SmartTooltipDirective, selector: "[smartTooltip]", inputs: ["smartTooltip"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
7827
|
+
UiActionDialogButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: UiActionDialogButtonComponent, selector: "ui-action-dialog-button", inputs: { descriptor: "descriptor", buttonType: "buttonType" }, outputs: { click: "click" }, ngImport: i0, template: "<button\r\n mat-button\r\n [smartTooltip]=\"descriptor.tooltip\"\r\n [ngClass]=\"getButtonClass()\"\r\n color=\"accent\"\r\n [color]=\"descriptor.color\"\r\n class=\"{{ descriptor.cssClass }}\"\r\n (click)=\"onButtonClicked()\"\r\n>\r\n <div *ngIf=\"isOnlyIcon(); then iconOnly; else text\"></div>\r\n <ng-template #iconOnly>\r\n <smart-icon\r\n *ngIf=\"descriptor.icon\"\r\n [icon]=\"descriptor.icon\"\r\n [color]=\"descriptor.iconColor ?? descriptor.color\"\r\n ></smart-icon>\r\n </ng-template>\r\n <ng-template #text>\r\n <smart-icon\r\n *ngIf=\"descriptor.icon && descriptor.iconPosition === iconPosition().PRE\"\r\n [icon]=\"descriptor.icon\"\r\n [color]=\"descriptor.iconColor ?? descriptor.color\"\r\n ></smart-icon>\r\n {{ descriptor.caption }}\r\n <smart-icon\r\n *ngIf=\"descriptor.icon && descriptor.iconPosition === iconPosition().POST\"\r\n [icon]=\"descriptor.icon!\"\r\n [color]=\"descriptor.iconColor ?? descriptor.color\"\r\n ></smart-icon>\r\n </ng-template>\r\n</button>\r\n", styles: [""], components: [{ type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: SmartIconComponent, selector: "smart-icon", inputs: ["icon", "color"] }], directives: [{ type: SmartTooltipDirective, selector: "[smartTooltip]", inputs: ["smartTooltip"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
7827
7828
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: UiActionDialogButtonComponent, decorators: [{
|
|
7828
7829
|
type: Component,
|
|
7829
|
-
args: [{ selector: 'ui-action-dialog-button', template: "<button\n mat-button\n [smartTooltip]=\"descriptor.tooltip\"\n [ngClass]=\"getButtonClass()\"\n color=\"accent\"\n [color]=\"descriptor.color\"\n class=\"{{ descriptor.cssClass }}\"\n (click)=\"onButtonClicked()\"\n>\n <div *ngIf=\"isOnlyIcon(); then iconOnly; else text\"></div>\n <ng-template #iconOnly>\n <smart-icon\n *ngIf=\"descriptor.icon\"\n [icon]=\"descriptor.icon\"\n [color]=\"descriptor.iconColor ?? descriptor.color\"\n ></smart-icon>\n </ng-template>\n <ng-template #text>\n <smart-icon\n *ngIf=\"descriptor.icon && descriptor.iconPosition === iconPosition().PRE\"\n [icon]=\"descriptor.icon\"\n [color]=\"descriptor.iconColor ?? descriptor.color\"\n ></smart-icon>\n {{ descriptor.caption }}\n <smart-icon\n *ngIf=\"descriptor.icon && descriptor.iconPosition === iconPosition().POST\"\n [icon]=\"descriptor.icon!\"\n [color]=\"descriptor.iconColor ?? descriptor.color\"\n ></smart-icon>\n </ng-template>\n</button>\n", styles: [""] }]
|
|
7830
|
+
args: [{ selector: 'ui-action-dialog-button', template: "<button\r\n mat-button\r\n [smartTooltip]=\"descriptor.tooltip\"\r\n [ngClass]=\"getButtonClass()\"\r\n color=\"accent\"\r\n [color]=\"descriptor.color\"\r\n class=\"{{ descriptor.cssClass }}\"\r\n (click)=\"onButtonClicked()\"\r\n>\r\n <div *ngIf=\"isOnlyIcon(); then iconOnly; else text\"></div>\r\n <ng-template #iconOnly>\r\n <smart-icon\r\n *ngIf=\"descriptor.icon\"\r\n [icon]=\"descriptor.icon\"\r\n [color]=\"descriptor.iconColor ?? descriptor.color\"\r\n ></smart-icon>\r\n </ng-template>\r\n <ng-template #text>\r\n <smart-icon\r\n *ngIf=\"descriptor.icon && descriptor.iconPosition === iconPosition().PRE\"\r\n [icon]=\"descriptor.icon\"\r\n [color]=\"descriptor.iconColor ?? descriptor.color\"\r\n ></smart-icon>\r\n {{ descriptor.caption }}\r\n <smart-icon\r\n *ngIf=\"descriptor.icon && descriptor.iconPosition === iconPosition().POST\"\r\n [icon]=\"descriptor.icon!\"\r\n [color]=\"descriptor.iconColor ?? descriptor.color\"\r\n ></smart-icon>\r\n </ng-template>\r\n</button>\r\n", styles: [""] }]
|
|
7830
7831
|
}], ctorParameters: function () { return []; }, propDecorators: { descriptor: [{
|
|
7831
7832
|
type: Input
|
|
7832
7833
|
}], buttonType: [{
|
|
@@ -7911,7 +7912,7 @@ class UiActionInputDialogComponent {
|
|
|
7911
7912
|
return this.descriptor[this.dialogType].actionButton;
|
|
7912
7913
|
}
|
|
7913
7914
|
getCancelButton() {
|
|
7914
|
-
return this.descriptor[this.dialogType].
|
|
7915
|
+
return this.descriptor[this.dialogType].cancelButton;
|
|
7915
7916
|
}
|
|
7916
7917
|
constructForm() {
|
|
7917
7918
|
let model = {};
|
|
@@ -8055,7 +8056,7 @@ class UiActionConfirmDialogComponent {
|
|
|
8055
8056
|
return this.descriptor[this.dialogType].actionButton;
|
|
8056
8057
|
}
|
|
8057
8058
|
getCancelButton() {
|
|
8058
|
-
return this.descriptor[this.dialogType].
|
|
8059
|
+
return this.descriptor[this.dialogType].cancelButton;
|
|
8059
8060
|
}
|
|
8060
8061
|
doAction() {
|
|
8061
8062
|
this.service.doAction();
|