@fluxhub/fluxhub-lib 18.0.43 → 18.0.45
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.
|
@@ -24015,7 +24015,7 @@ class DialogBaseComponent {
|
|
|
24015
24015
|
return this.buttons.filter((b) => b.alignLeft !== true);
|
|
24016
24016
|
}
|
|
24017
24017
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DialogBaseComponent, deps: [{ token: i1$2.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
24018
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: DialogBaseComponent, isStandalone: true, selector: "fh-dialog-base", inputs: { title: "title", buttons: "buttons", showCloseButton: "showCloseButton", canValidate: "canValidate", buttonsAlignment: "buttonsAlignment" }, outputs: { buttonClick: "buttonClick", beforeClose: "beforeClose" }, ngImport: i0, template: "<div\n style=\"\n display: flex;\n flex-direction: column;\n width: 100%;\n max-height: 85vh;\n overflow: hidden;\n box-sizing: border-box;\n \"\n>\n <!-- Header -->\n <div class=\"dialog_header\">\n <div\n style=\"\n flex: 1;\n display: flex;\n align-items: center;\n padding-left: 20px;\n overflow: hidden;\n \"\n >\n <span\n style=\"overflow: hidden; text-overflow: ellipsis; white-space: nowrap\"\n >{{ title | translate }}</span\n >\n </div>\n @if (showCloseButton) {\n <div\n style=\"\n display: flex;\n align-items: center;\n justify-content: center;\n padding-right: 10px;\n flex-shrink: 0;\n \"\n >\n <mat-icon style=\"cursor: pointer; color: #fff\" (click)=\"onCloseClick()\">\n close\n </mat-icon>\n </div>\n }\n </div>\n <hr />\n\n <!-- Content (Content Projection) -->\n <mat-dialog-content>\n <!-- padding-top 24px: la label flottante di un mat-form-field sporge SOPRA il bordo del campo,\n e questo wrapper (overflow-y:auto) la taglierebbe quando il campo e' il primo elemento del\n dialog. Servono 24px e non i ~10px del Material di serie perche' i portali comprimono i\n form-field (.mat-mdc-form-field-infix con padding ridotto): la label flotta piu' in alto. -->\n <div\n style=\"\n padding: 24px 10px 8px;\n overflow-y: auto;\n overflow-x: hidden;\n flex: 1 1 auto;\n box-sizing: border-box;\n word-wrap: break-word;\n \"\n >\n <ng-content select=\"[dialog-content]\"></ng-content>\n </div>\n </mat-dialog-content>\n\n <!-- Actions -->\n <mat-dialog-actions\n [style.padding]=\"'16px 20px'\"\n [style.display]=\"'flex'\"\n [style.justify-content]=\"buttonsAlignment\"\n [style.overflow]=\"'hidden'\"\n [style.box-sizing]=\"'border-box'\"\n [style.flex-wrap]=\"'wrap'\"\n [style.gap]=\"'10px'\"\n >\n <!-- Pulsanti allineati a sinistra (es. Elimina) -->\n <div style=\"display: flex; flex-direction: row; gap: 10px; flex-wrap: wrap\">\n @for (button of getLeftButtons(); track button) {\n @if (button.type === \"raised\" || !button.type) {\n <button\n mat-raised-button\n [color]=\"button.color\"\n [disabled]=\"button.disabled\"\n [class]=\"button.cssClass\"\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\n [ngStyle]=\"\n button.minWidth && button.minWidth > 0\n ? { 'min-width': button.minWidth + 'px' }\n : {}\n \"\n (click)=\"onButtonClick(button)\"\n >\n @if (button.icon) {\n <mat-icon>{{ button.icon }}</mat-icon>\n }\n {{ button.text | translate }}\n </button>\n }\n @if (button.type === \"stroked\") {\n <button\n mat-stroked-button\n [color]=\"button.color\"\n [disabled]=\"button.disabled\"\n [class]=\"button.cssClass\"\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\n [ngStyle]=\"\n button.minWidth && button.minWidth > 0\n ? { 'min-width': button.minWidth + 'px' }\n : {}\n \"\n (click)=\"onButtonClick(button)\"\n >\n @if (button.icon) {\n <mat-icon>{{ button.icon }}</mat-icon>\n }\n {{ button.text | translate }}\n </button>\n }\n @if (button.type === \"flat\") {\n <button\n mat-flat-button\n [color]=\"button.color\"\n [disabled]=\"button.disabled\"\n [class]=\"button.cssClass\"\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\n [ngStyle]=\"\n button.minWidth && button.minWidth > 0\n ? { 'min-width': button.minWidth + 'px' }\n : {}\n \"\n (click)=\"onButtonClick(button)\"\n >\n @if (button.icon) {\n <mat-icon>{{ button.icon }}</mat-icon>\n }\n {{ button.text | translate }}\n </button>\n }\n @if (button.type === \"icon\") {\n <button\n mat-icon-button\n [color]=\"button.color\"\n [disabled]=\"button.disabled\"\n [class]=\"button.cssClass\"\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\n [ngStyle]=\"\n button.minWidth && button.minWidth > 0\n ? { 'min-width': button.minWidth + 'px' }\n : {}\n \"\n (click)=\"onButtonClick(button)\"\n >\n @if (button.icon) {\n <mat-icon>{{ button.icon }}</mat-icon>\n }\n {{ button.text | translate }}\n </button>\n }\n }\n </div>\n\n <!-- Pulsanti allineati a destra (default) -->\n <div style=\"display: flex; flex-direction: row; gap: 10px; flex-wrap: wrap\">\n @for (button of getRightButtons(); track button) {\n @if (button.type === \"raised\" || !button.type) {\n <button\n mat-raised-button\n [color]=\"button.color\"\n [disabled]=\"button.disabled\"\n [class]=\"button.cssClass\"\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\n [ngStyle]=\"\n button.minWidth && button.minWidth > 0\n ? { 'min-width': button.minWidth + 'px' }\n : {}\n \"\n (click)=\"onButtonClick(button)\"\n >\n @if (button.icon) {\n <mat-icon>{{ button.icon }}</mat-icon>\n }\n {{ button.text | translate }}\n </button>\n }\n @if (button.type === \"stroked\") {\n <button\n mat-stroked-button\n [color]=\"button.color\"\n [disabled]=\"button.disabled\"\n [class]=\"button.cssClass\"\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\n [ngStyle]=\"\n button.minWidth && button.minWidth > 0\n ? { 'min-width': button.minWidth + 'px' }\n : {}\n \"\n (click)=\"onButtonClick(button)\"\n >\n @if (button.icon) {\n <mat-icon>{{ button.icon }}</mat-icon>\n }\n {{ button.text | translate }}\n </button>\n }\n @if (button.type === \"flat\") {\n <button\n mat-flat-button\n [color]=\"button.color\"\n [disabled]=\"button.disabled\"\n [class]=\"button.cssClass\"\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\n [ngStyle]=\"\n button.minWidth && button.minWidth > 0\n ? { 'min-width': button.minWidth + 'px' }\n : {}\n \"\n (click)=\"onButtonClick(button)\"\n >\n @if (button.icon) {\n <mat-icon>{{ button.icon }}</mat-icon>\n }\n {{ button.text | translate }}\n </button>\n }\n @if (button.type === \"icon\") {\n <button\n mat-icon-button\n [color]=\"button.color\"\n [disabled]=\"button.disabled\"\n [class]=\"button.cssClass\"\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\n [ngStyle]=\"\n button.minWidth && button.minWidth > 0\n ? { 'min-width': button.minWidth + 'px' }\n : {}\n \"\n (click)=\"onButtonClick(button)\"\n >\n @if (button.icon) {\n <mat-icon>{{ button.icon }}</mat-icon>\n }\n {{ button.text | translate }}\n </button>\n }\n }\n </div>\n </mat-dialog-actions>\n</div>\n", styles: [":host{display:block}button mat-icon{margin-right:8px}button.mat-icon-button mat-icon{margin-right:0}::ng-deep mat-dialog-actions button.dialog-button-sized{min-width:110px!important}.mat-mdc-dialog-content{max-height:100%!important;min-height:0!important;flex:1 1 auto!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;padding:0!important}.mat-mdc-dialog-content>div{flex:1 1 auto!important;min-height:0!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i6.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$2.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$2.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i5$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i5$1.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i9.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
24018
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: DialogBaseComponent, isStandalone: true, selector: "fh-dialog-base", inputs: { title: "title", buttons: "buttons", showCloseButton: "showCloseButton", canValidate: "canValidate", buttonsAlignment: "buttonsAlignment" }, outputs: { buttonClick: "buttonClick", beforeClose: "beforeClose" }, ngImport: i0, template: "<div\n style=\"\n display: flex;\n flex-direction: column;\n width: 100%;\n max-height: 85vh;\n overflow: hidden;\n box-sizing: border-box;\n \"\n>\n <!-- Header -->\n <div class=\"dialog_header\">\n <div\n style=\"\n flex: 1;\n display: flex;\n align-items: center;\n padding-left: 20px;\n overflow: hidden;\n \"\n >\n <span\n style=\"overflow: hidden; text-overflow: ellipsis; white-space: nowrap\"\n >{{ title | translate }}</span\n >\n </div>\n @if (showCloseButton) {\n <div\n style=\"\n display: flex;\n align-items: center;\n justify-content: center;\n padding-right: 10px;\n flex-shrink: 0;\n \"\n >\n <mat-icon style=\"cursor: pointer; color: #fff\" (click)=\"onCloseClick()\">\n close\n </mat-icon>\n </div>\n }\n </div>\n <hr />\n\n <!-- Content (Content Projection) -->\n <mat-dialog-content>\n <!-- padding-top 24px: la label flottante di un mat-form-field sporge SOPRA il bordo del campo,\n e questo wrapper (overflow-y:auto) la taglierebbe quando il campo e' il primo elemento del\n dialog. Servono 24px e non i ~10px del Material di serie perche' i portali comprimono i\n form-field (.mat-mdc-form-field-infix con padding ridotto): la label flotta piu' in alto. -->\n <div\n style=\"\n padding: 24px 10px 8px;\n overflow-y: auto;\n overflow-x: hidden;\n flex: 1 1 auto;\n box-sizing: border-box;\n word-wrap: break-word;\n \"\n >\n <ng-content select=\"[dialog-content]\"></ng-content>\n </div>\n </mat-dialog-content>\n\n <!-- Actions -->\n <mat-dialog-actions\n [style.padding]=\"'16px 20px'\"\n [style.display]=\"'flex'\"\n [style.justify-content]=\"buttonsAlignment\"\n [style.overflow]=\"'hidden'\"\n [style.box-sizing]=\"'border-box'\"\n [style.flex-wrap]=\"'wrap'\"\n [style.gap]=\"'10px'\"\n >\n <!-- Pulsanti allineati a sinistra (es. Elimina) -->\n <div style=\"display: flex; flex-direction: row; gap: 10px; flex-wrap: wrap\">\n @for (button of getLeftButtons(); track $index) {\n @if (button.type === \"raised\" || !button.type) {\n <button\n mat-raised-button\n [color]=\"button.color\"\n [disabled]=\"button.disabled\"\n [class]=\"button.cssClass\"\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\n [ngStyle]=\"\n button.minWidth && button.minWidth > 0\n ? { 'min-width': button.minWidth + 'px' }\n : {}\n \"\n (click)=\"onButtonClick(button)\"\n >\n @if (button.icon) {\n <mat-icon>{{ button.icon }}</mat-icon>\n }\n {{ button.text | translate }}\n </button>\n }\n @if (button.type === \"stroked\") {\n <button\n mat-stroked-button\n [color]=\"button.color\"\n [disabled]=\"button.disabled\"\n [class]=\"button.cssClass\"\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\n [ngStyle]=\"\n button.minWidth && button.minWidth > 0\n ? { 'min-width': button.minWidth + 'px' }\n : {}\n \"\n (click)=\"onButtonClick(button)\"\n >\n @if (button.icon) {\n <mat-icon>{{ button.icon }}</mat-icon>\n }\n {{ button.text | translate }}\n </button>\n }\n @if (button.type === \"flat\") {\n <button\n mat-flat-button\n [color]=\"button.color\"\n [disabled]=\"button.disabled\"\n [class]=\"button.cssClass\"\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\n [ngStyle]=\"\n button.minWidth && button.minWidth > 0\n ? { 'min-width': button.minWidth + 'px' }\n : {}\n \"\n (click)=\"onButtonClick(button)\"\n >\n @if (button.icon) {\n <mat-icon>{{ button.icon }}</mat-icon>\n }\n {{ button.text | translate }}\n </button>\n }\n @if (button.type === \"icon\") {\n <button\n mat-icon-button\n [color]=\"button.color\"\n [disabled]=\"button.disabled\"\n [class]=\"button.cssClass\"\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\n [ngStyle]=\"\n button.minWidth && button.minWidth > 0\n ? { 'min-width': button.minWidth + 'px' }\n : {}\n \"\n (click)=\"onButtonClick(button)\"\n >\n @if (button.icon) {\n <mat-icon>{{ button.icon }}</mat-icon>\n }\n {{ button.text | translate }}\n </button>\n }\n }\n </div>\n\n <!-- Pulsanti allineati a destra (default) -->\n <div style=\"display: flex; flex-direction: row; gap: 10px; flex-wrap: wrap\">\n @for (button of getRightButtons(); track $index) {\n @if (button.type === \"raised\" || !button.type) {\n <button\n mat-raised-button\n [color]=\"button.color\"\n [disabled]=\"button.disabled\"\n [class]=\"button.cssClass\"\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\n [ngStyle]=\"\n button.minWidth && button.minWidth > 0\n ? { 'min-width': button.minWidth + 'px' }\n : {}\n \"\n (click)=\"onButtonClick(button)\"\n >\n @if (button.icon) {\n <mat-icon>{{ button.icon }}</mat-icon>\n }\n {{ button.text | translate }}\n </button>\n }\n @if (button.type === \"stroked\") {\n <button\n mat-stroked-button\n [color]=\"button.color\"\n [disabled]=\"button.disabled\"\n [class]=\"button.cssClass\"\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\n [ngStyle]=\"\n button.minWidth && button.minWidth > 0\n ? { 'min-width': button.minWidth + 'px' }\n : {}\n \"\n (click)=\"onButtonClick(button)\"\n >\n @if (button.icon) {\n <mat-icon>{{ button.icon }}</mat-icon>\n }\n {{ button.text | translate }}\n </button>\n }\n @if (button.type === \"flat\") {\n <button\n mat-flat-button\n [color]=\"button.color\"\n [disabled]=\"button.disabled\"\n [class]=\"button.cssClass\"\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\n [ngStyle]=\"\n button.minWidth && button.minWidth > 0\n ? { 'min-width': button.minWidth + 'px' }\n : {}\n \"\n (click)=\"onButtonClick(button)\"\n >\n @if (button.icon) {\n <mat-icon>{{ button.icon }}</mat-icon>\n }\n {{ button.text | translate }}\n </button>\n }\n @if (button.type === \"icon\") {\n <button\n mat-icon-button\n [color]=\"button.color\"\n [disabled]=\"button.disabled\"\n [class]=\"button.cssClass\"\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\n [ngStyle]=\"\n button.minWidth && button.minWidth > 0\n ? { 'min-width': button.minWidth + 'px' }\n : {}\n \"\n (click)=\"onButtonClick(button)\"\n >\n @if (button.icon) {\n <mat-icon>{{ button.icon }}</mat-icon>\n }\n {{ button.text | translate }}\n </button>\n }\n }\n </div>\n </mat-dialog-actions>\n</div>\n", styles: [":host{display:block}button mat-icon{margin-right:8px}button.mat-icon-button mat-icon{margin-right:0}::ng-deep mat-dialog-actions button.dialog-button-sized{min-width:110px!important}.mat-mdc-dialog-content{max-height:100%!important;min-height:0!important;flex:1 1 auto!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;padding:0!important}.mat-mdc-dialog-content>div{flex:1 1 auto!important;min-height:0!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i6.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$2.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$2.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i5$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i5$1.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i9.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
24019
24019
|
}
|
|
24020
24020
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DialogBaseComponent, decorators: [{
|
|
24021
24021
|
type: Component,
|
|
@@ -24025,7 +24025,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
24025
24025
|
MatButtonModule,
|
|
24026
24026
|
MatIconModule,
|
|
24027
24027
|
TranslateModule,
|
|
24028
|
-
], changeDetection: ChangeDetectionStrategy.Default, template: "<div\n style=\"\n display: flex;\n flex-direction: column;\n width: 100%;\n max-height: 85vh;\n overflow: hidden;\n box-sizing: border-box;\n \"\n>\n <!-- Header -->\n <div class=\"dialog_header\">\n <div\n style=\"\n flex: 1;\n display: flex;\n align-items: center;\n padding-left: 20px;\n overflow: hidden;\n \"\n >\n <span\n style=\"overflow: hidden; text-overflow: ellipsis; white-space: nowrap\"\n >{{ title | translate }}</span\n >\n </div>\n @if (showCloseButton) {\n <div\n style=\"\n display: flex;\n align-items: center;\n justify-content: center;\n padding-right: 10px;\n flex-shrink: 0;\n \"\n >\n <mat-icon style=\"cursor: pointer; color: #fff\" (click)=\"onCloseClick()\">\n close\n </mat-icon>\n </div>\n }\n </div>\n <hr />\n\n <!-- Content (Content Projection) -->\n <mat-dialog-content>\n <!-- padding-top 24px: la label flottante di un mat-form-field sporge SOPRA il bordo del campo,\n e questo wrapper (overflow-y:auto) la taglierebbe quando il campo e' il primo elemento del\n dialog. Servono 24px e non i ~10px del Material di serie perche' i portali comprimono i\n form-field (.mat-mdc-form-field-infix con padding ridotto): la label flotta piu' in alto. -->\n <div\n style=\"\n padding: 24px 10px 8px;\n overflow-y: auto;\n overflow-x: hidden;\n flex: 1 1 auto;\n box-sizing: border-box;\n word-wrap: break-word;\n \"\n >\n <ng-content select=\"[dialog-content]\"></ng-content>\n </div>\n </mat-dialog-content>\n\n <!-- Actions -->\n <mat-dialog-actions\n [style.padding]=\"'16px 20px'\"\n [style.display]=\"'flex'\"\n [style.justify-content]=\"buttonsAlignment\"\n [style.overflow]=\"'hidden'\"\n [style.box-sizing]=\"'border-box'\"\n [style.flex-wrap]=\"'wrap'\"\n [style.gap]=\"'10px'\"\n >\n <!-- Pulsanti allineati a sinistra (es. Elimina) -->\n <div style=\"display: flex; flex-direction: row; gap: 10px; flex-wrap: wrap\">\n @for (button of getLeftButtons(); track
|
|
24028
|
+
], changeDetection: ChangeDetectionStrategy.Default, template: "<div\n style=\"\n display: flex;\n flex-direction: column;\n width: 100%;\n max-height: 85vh;\n overflow: hidden;\n box-sizing: border-box;\n \"\n>\n <!-- Header -->\n <div class=\"dialog_header\">\n <div\n style=\"\n flex: 1;\n display: flex;\n align-items: center;\n padding-left: 20px;\n overflow: hidden;\n \"\n >\n <span\n style=\"overflow: hidden; text-overflow: ellipsis; white-space: nowrap\"\n >{{ title | translate }}</span\n >\n </div>\n @if (showCloseButton) {\n <div\n style=\"\n display: flex;\n align-items: center;\n justify-content: center;\n padding-right: 10px;\n flex-shrink: 0;\n \"\n >\n <mat-icon style=\"cursor: pointer; color: #fff\" (click)=\"onCloseClick()\">\n close\n </mat-icon>\n </div>\n }\n </div>\n <hr />\n\n <!-- Content (Content Projection) -->\n <mat-dialog-content>\n <!-- padding-top 24px: la label flottante di un mat-form-field sporge SOPRA il bordo del campo,\n e questo wrapper (overflow-y:auto) la taglierebbe quando il campo e' il primo elemento del\n dialog. Servono 24px e non i ~10px del Material di serie perche' i portali comprimono i\n form-field (.mat-mdc-form-field-infix con padding ridotto): la label flotta piu' in alto. -->\n <div\n style=\"\n padding: 24px 10px 8px;\n overflow-y: auto;\n overflow-x: hidden;\n flex: 1 1 auto;\n box-sizing: border-box;\n word-wrap: break-word;\n \"\n >\n <ng-content select=\"[dialog-content]\"></ng-content>\n </div>\n </mat-dialog-content>\n\n <!-- Actions -->\n <mat-dialog-actions\n [style.padding]=\"'16px 20px'\"\n [style.display]=\"'flex'\"\n [style.justify-content]=\"buttonsAlignment\"\n [style.overflow]=\"'hidden'\"\n [style.box-sizing]=\"'border-box'\"\n [style.flex-wrap]=\"'wrap'\"\n [style.gap]=\"'10px'\"\n >\n <!-- Pulsanti allineati a sinistra (es. Elimina) -->\n <div style=\"display: flex; flex-direction: row; gap: 10px; flex-wrap: wrap\">\n @for (button of getLeftButtons(); track $index) {\n @if (button.type === \"raised\" || !button.type) {\n <button\n mat-raised-button\n [color]=\"button.color\"\n [disabled]=\"button.disabled\"\n [class]=\"button.cssClass\"\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\n [ngStyle]=\"\n button.minWidth && button.minWidth > 0\n ? { 'min-width': button.minWidth + 'px' }\n : {}\n \"\n (click)=\"onButtonClick(button)\"\n >\n @if (button.icon) {\n <mat-icon>{{ button.icon }}</mat-icon>\n }\n {{ button.text | translate }}\n </button>\n }\n @if (button.type === \"stroked\") {\n <button\n mat-stroked-button\n [color]=\"button.color\"\n [disabled]=\"button.disabled\"\n [class]=\"button.cssClass\"\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\n [ngStyle]=\"\n button.minWidth && button.minWidth > 0\n ? { 'min-width': button.minWidth + 'px' }\n : {}\n \"\n (click)=\"onButtonClick(button)\"\n >\n @if (button.icon) {\n <mat-icon>{{ button.icon }}</mat-icon>\n }\n {{ button.text | translate }}\n </button>\n }\n @if (button.type === \"flat\") {\n <button\n mat-flat-button\n [color]=\"button.color\"\n [disabled]=\"button.disabled\"\n [class]=\"button.cssClass\"\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\n [ngStyle]=\"\n button.minWidth && button.minWidth > 0\n ? { 'min-width': button.minWidth + 'px' }\n : {}\n \"\n (click)=\"onButtonClick(button)\"\n >\n @if (button.icon) {\n <mat-icon>{{ button.icon }}</mat-icon>\n }\n {{ button.text | translate }}\n </button>\n }\n @if (button.type === \"icon\") {\n <button\n mat-icon-button\n [color]=\"button.color\"\n [disabled]=\"button.disabled\"\n [class]=\"button.cssClass\"\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\n [ngStyle]=\"\n button.minWidth && button.minWidth > 0\n ? { 'min-width': button.minWidth + 'px' }\n : {}\n \"\n (click)=\"onButtonClick(button)\"\n >\n @if (button.icon) {\n <mat-icon>{{ button.icon }}</mat-icon>\n }\n {{ button.text | translate }}\n </button>\n }\n }\n </div>\n\n <!-- Pulsanti allineati a destra (default) -->\n <div style=\"display: flex; flex-direction: row; gap: 10px; flex-wrap: wrap\">\n @for (button of getRightButtons(); track $index) {\n @if (button.type === \"raised\" || !button.type) {\n <button\n mat-raised-button\n [color]=\"button.color\"\n [disabled]=\"button.disabled\"\n [class]=\"button.cssClass\"\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\n [ngStyle]=\"\n button.minWidth && button.minWidth > 0\n ? { 'min-width': button.minWidth + 'px' }\n : {}\n \"\n (click)=\"onButtonClick(button)\"\n >\n @if (button.icon) {\n <mat-icon>{{ button.icon }}</mat-icon>\n }\n {{ button.text | translate }}\n </button>\n }\n @if (button.type === \"stroked\") {\n <button\n mat-stroked-button\n [color]=\"button.color\"\n [disabled]=\"button.disabled\"\n [class]=\"button.cssClass\"\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\n [ngStyle]=\"\n button.minWidth && button.minWidth > 0\n ? { 'min-width': button.minWidth + 'px' }\n : {}\n \"\n (click)=\"onButtonClick(button)\"\n >\n @if (button.icon) {\n <mat-icon>{{ button.icon }}</mat-icon>\n }\n {{ button.text | translate }}\n </button>\n }\n @if (button.type === \"flat\") {\n <button\n mat-flat-button\n [color]=\"button.color\"\n [disabled]=\"button.disabled\"\n [class]=\"button.cssClass\"\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\n [ngStyle]=\"\n button.minWidth && button.minWidth > 0\n ? { 'min-width': button.minWidth + 'px' }\n : {}\n \"\n (click)=\"onButtonClick(button)\"\n >\n @if (button.icon) {\n <mat-icon>{{ button.icon }}</mat-icon>\n }\n {{ button.text | translate }}\n </button>\n }\n @if (button.type === \"icon\") {\n <button\n mat-icon-button\n [color]=\"button.color\"\n [disabled]=\"button.disabled\"\n [class]=\"button.cssClass\"\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\n [ngStyle]=\"\n button.minWidth && button.minWidth > 0\n ? { 'min-width': button.minWidth + 'px' }\n : {}\n \"\n (click)=\"onButtonClick(button)\"\n >\n @if (button.icon) {\n <mat-icon>{{ button.icon }}</mat-icon>\n }\n {{ button.text | translate }}\n </button>\n }\n }\n </div>\n </mat-dialog-actions>\n</div>\n", styles: [":host{display:block}button mat-icon{margin-right:8px}button.mat-icon-button mat-icon{margin-right:0}::ng-deep mat-dialog-actions button.dialog-button-sized{min-width:110px!important}.mat-mdc-dialog-content{max-height:100%!important;min-height:0!important;flex:1 1 auto!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;padding:0!important}.mat-mdc-dialog-content>div{flex:1 1 auto!important;min-height:0!important}\n"] }]
|
|
24029
24029
|
}], ctorParameters: () => [{ type: i1$2.MatDialogRef }], propDecorators: { title: [{
|
|
24030
24030
|
type: Input
|
|
24031
24031
|
}], buttons: [{
|
|
@@ -42377,6 +42377,10 @@ class wkfapp_v2 {
|
|
|
42377
42377
|
if (arrAutori[i].idp != null && arrAutori[i].username == null)
|
|
42378
42378
|
arrAutori[i].username = arrAutori[i].idp;
|
|
42379
42379
|
}
|
|
42380
|
+
// Un attore '*...' la cui variabile non si risolve (o *SYSTEM) resta senza
|
|
42381
|
+
// username: nel picker sarebbe una riga vuota e sceglierlo scriverebbe un
|
|
42382
|
+
// todo con username null (WBA-8).
|
|
42383
|
+
arrAutori = arrAutori.filter((a) => a.username != null && a.username != '');
|
|
42380
42384
|
setTimeout(() => {
|
|
42381
42385
|
dialogRef.componentInstance.arrAutori = arrAutori;
|
|
42382
42386
|
dialogRef.componentInstance.title =
|