@fluxhub/fluxhub-lib 19.0.225 → 19.0.227
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.
|
@@ -4226,7 +4226,7 @@ class DialogBaseComponent {
|
|
|
4226
4226
|
return this.buttons.filter(b => b.alignLeft !== true);
|
|
4227
4227
|
}
|
|
4228
4228
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: DialogBaseComponent, deps: [{ token: i1$2.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4229
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", 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 style=\"display: flex; flex-direction: column; width: 100%; max-height: 85vh; overflow: hidden; box-sizing: border-box;\">\r\n <!-- Header -->\r\n <div class=\"dialog_header\">\r\n <div style=\"flex: 1; display: flex; align-items: center; padding-left: 20px; overflow: hidden;\">\r\n <span style=\"overflow: hidden; text-overflow: ellipsis; white-space: nowrap;\">{{ title | translate }}</span>\r\n </div>\r\n <div *ngIf=\"showCloseButton\" style=\"display: flex; align-items: center; justify-content: center; padding-right: 10px; flex-shrink: 0;\">\r\n <mat-icon\r\n style=\"cursor: pointer; color: #FFF;\"\r\n (click)=\"onCloseClick()\">\r\n close\r\n </mat-icon>\r\n </div>\r\n </div>\r\n <hr />\r\n\r\n <!-- Content (Content Projection) -->\r\n <mat-dialog-content >\r\n <!-- padding-top
|
|
4229
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", 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 style=\"display: flex; flex-direction: column; width: 100%; max-height: 85vh; overflow: hidden; box-sizing: border-box;\">\r\n <!-- Header -->\r\n <div class=\"dialog_header\">\r\n <div style=\"flex: 1; display: flex; align-items: center; padding-left: 20px; overflow: hidden;\">\r\n <span style=\"overflow: hidden; text-overflow: ellipsis; white-space: nowrap;\">{{ title | translate }}</span>\r\n </div>\r\n <div *ngIf=\"showCloseButton\" style=\"display: flex; align-items: center; justify-content: center; padding-right: 10px; flex-shrink: 0;\">\r\n <mat-icon\r\n style=\"cursor: pointer; color: #FFF;\"\r\n (click)=\"onCloseClick()\">\r\n close\r\n </mat-icon>\r\n </div>\r\n </div>\r\n <hr />\r\n\r\n <!-- Content (Content Projection) -->\r\n <mat-dialog-content >\r\n <!-- padding-top 24px: la label flottante di un mat-form-field sporge SOPRA il bordo del campo,\r\n e questo wrapper (overflow-y:auto) la taglierebbe quando il campo e' il primo elemento del\r\n dialog. Servono 24px e non i ~10px del Material di serie perche' i portali comprimono i\r\n form-field (.mat-mdc-form-field-infix con padding ridotto): la label flotta piu' in alto. -->\r\n <div style=\"padding: 24px 10px 8px; overflow-y: auto; overflow-x: hidden; flex: 1 1 auto; box-sizing: border-box; word-wrap: break-word;\">\r\n <ng-content select=\"[dialog-content]\"></ng-content>\r\n </div>\r\n </mat-dialog-content>\r\n\r\n <!-- Actions -->\r\n <mat-dialog-actions [style.padding]=\"'16px 20px'\" [style.display]=\"'flex'\" [style.justify-content]=\"buttonsAlignment\" [style.overflow]=\"'hidden'\" [style.box-sizing]=\"'border-box'\" [style.flex-wrap]=\"'wrap'\" [style.gap]=\"'10px'\">\r\n <!-- Pulsanti allineati a sinistra (es. Elimina) -->\r\n <div style=\"display: flex; flex-direction: row; gap: 10px; flex-wrap: wrap;\">\r\n <ng-container *ngFor=\"let button of getLeftButtons()\">\r\n <button\r\n *ngIf=\"button.type === 'raised' || !button.type\"\r\n mat-raised-button\r\n [color]=\"button.color\"\r\n [disabled]=\"button.disabled\"\r\n [class]=\"button.cssClass\"\r\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\r\n [ngStyle]=\"button.minWidth && button.minWidth > 0 ? {'min-width': button.minWidth + 'px'} : {}\"\r\n (click)=\"onButtonClick(button)\"\r\n >\r\n <mat-icon *ngIf=\"button.icon\">{{ button.icon }}</mat-icon>\r\n {{ button.text | translate }}\r\n </button>\r\n <button\r\n *ngIf=\"button.type === 'stroked'\"\r\n mat-stroked-button\r\n [color]=\"button.color\"\r\n [disabled]=\"button.disabled\"\r\n [class]=\"button.cssClass\"\r\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\r\n [ngStyle]=\"button.minWidth && button.minWidth > 0 ? {'min-width': button.minWidth + 'px'} : {}\"\r\n (click)=\"onButtonClick(button)\"\r\n >\r\n <mat-icon *ngIf=\"button.icon\">{{ button.icon }}</mat-icon>\r\n {{ button.text | translate }}\r\n </button>\r\n <button\r\n *ngIf=\"button.type === 'flat'\"\r\n mat-flat-button\r\n [color]=\"button.color\"\r\n [disabled]=\"button.disabled\"\r\n [class]=\"button.cssClass\"\r\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\r\n [ngStyle]=\"button.minWidth && button.minWidth > 0 ? {'min-width': button.minWidth + 'px'} : {}\"\r\n (click)=\"onButtonClick(button)\"\r\n >\r\n <mat-icon *ngIf=\"button.icon\">{{ button.icon }}</mat-icon>\r\n {{ button.text | translate }}\r\n </button>\r\n <button\r\n *ngIf=\"button.type === 'icon'\"\r\n mat-icon-button\r\n [color]=\"button.color\"\r\n [disabled]=\"button.disabled\"\r\n [class]=\"button.cssClass\"\r\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\r\n [ngStyle]=\"button.minWidth && button.minWidth > 0 ? {'min-width': button.minWidth + 'px'} : {}\"\r\n (click)=\"onButtonClick(button)\"\r\n >\r\n <mat-icon *ngIf=\"button.icon\">{{ button.icon }}</mat-icon>\r\n {{ button.text | translate }}\r\n </button>\r\n </ng-container>\r\n </div>\r\n\r\n <!-- Pulsanti allineati a destra (default) -->\r\n <div style=\"display: flex; flex-direction: row; gap: 10px; flex-wrap: wrap;\">\r\n <ng-container *ngFor=\"let button of getRightButtons()\">\r\n <button\r\n *ngIf=\"button.type === 'raised' || !button.type\"\r\n mat-raised-button\r\n [color]=\"button.color\"\r\n [disabled]=\"button.disabled\"\r\n [class]=\"button.cssClass\"\r\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\r\n [ngStyle]=\"button.minWidth && button.minWidth > 0 ? {'min-width': button.minWidth + 'px'} : {}\"\r\n (click)=\"onButtonClick(button)\"\r\n >\r\n <mat-icon *ngIf=\"button.icon\">{{ button.icon }}</mat-icon>\r\n {{ button.text | translate }}\r\n </button>\r\n <button\r\n *ngIf=\"button.type === 'stroked'\"\r\n mat-stroked-button\r\n [color]=\"button.color\"\r\n [disabled]=\"button.disabled\"\r\n [class]=\"button.cssClass\"\r\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\r\n [ngStyle]=\"button.minWidth && button.minWidth > 0 ? {'min-width': button.minWidth + 'px'} : {}\"\r\n (click)=\"onButtonClick(button)\"\r\n >\r\n <mat-icon *ngIf=\"button.icon\">{{ button.icon }}</mat-icon>\r\n {{ button.text | translate }}\r\n </button>\r\n <button\r\n *ngIf=\"button.type === 'flat'\"\r\n mat-flat-button\r\n [color]=\"button.color\"\r\n [disabled]=\"button.disabled\"\r\n [class]=\"button.cssClass\"\r\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\r\n [ngStyle]=\"button.minWidth && button.minWidth > 0 ? {'min-width': button.minWidth + 'px'} : {}\"\r\n (click)=\"onButtonClick(button)\"\r\n >\r\n <mat-icon *ngIf=\"button.icon\">{{ button.icon }}</mat-icon>\r\n {{ button.text | translate }}\r\n </button>\r\n <button\r\n *ngIf=\"button.type === 'icon'\"\r\n mat-icon-button\r\n [color]=\"button.color\"\r\n [disabled]=\"button.disabled\"\r\n [class]=\"button.cssClass\"\r\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\r\n [ngStyle]=\"button.minWidth && button.minWidth > 0 ? {'min-width': button.minWidth + 'px'} : {}\"\r\n (click)=\"onButtonClick(button)\"\r\n >\r\n <mat-icon *ngIf=\"button.icon\">{{ button.icon }}</mat-icon>\r\n {{ button.text | translate }}\r\n </button>\r\n </ng-container>\r\n </div>\r\n </mat-dialog-actions>\r\n</div>\r\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:unset!important;overflow:unset!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.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: i9$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i9$1.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i7$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] });
|
|
4230
4230
|
}
|
|
4231
4231
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: DialogBaseComponent, decorators: [{
|
|
4232
4232
|
type: Component,
|
|
@@ -4236,7 +4236,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
4236
4236
|
MatButtonModule,
|
|
4237
4237
|
MatIconModule,
|
|
4238
4238
|
TranslateModule
|
|
4239
|
-
], template: "<div style=\"display: flex; flex-direction: column; width: 100%; max-height: 85vh; overflow: hidden; box-sizing: border-box;\">\r\n <!-- Header -->\r\n <div class=\"dialog_header\">\r\n <div style=\"flex: 1; display: flex; align-items: center; padding-left: 20px; overflow: hidden;\">\r\n <span style=\"overflow: hidden; text-overflow: ellipsis; white-space: nowrap;\">{{ title | translate }}</span>\r\n </div>\r\n <div *ngIf=\"showCloseButton\" style=\"display: flex; align-items: center; justify-content: center; padding-right: 10px; flex-shrink: 0;\">\r\n <mat-icon\r\n style=\"cursor: pointer; color: #FFF;\"\r\n (click)=\"onCloseClick()\">\r\n close\r\n </mat-icon>\r\n </div>\r\n </div>\r\n <hr />\r\n\r\n <!-- Content (Content Projection) -->\r\n <mat-dialog-content >\r\n <!-- padding-top
|
|
4239
|
+
], template: "<div style=\"display: flex; flex-direction: column; width: 100%; max-height: 85vh; overflow: hidden; box-sizing: border-box;\">\r\n <!-- Header -->\r\n <div class=\"dialog_header\">\r\n <div style=\"flex: 1; display: flex; align-items: center; padding-left: 20px; overflow: hidden;\">\r\n <span style=\"overflow: hidden; text-overflow: ellipsis; white-space: nowrap;\">{{ title | translate }}</span>\r\n </div>\r\n <div *ngIf=\"showCloseButton\" style=\"display: flex; align-items: center; justify-content: center; padding-right: 10px; flex-shrink: 0;\">\r\n <mat-icon\r\n style=\"cursor: pointer; color: #FFF;\"\r\n (click)=\"onCloseClick()\">\r\n close\r\n </mat-icon>\r\n </div>\r\n </div>\r\n <hr />\r\n\r\n <!-- Content (Content Projection) -->\r\n <mat-dialog-content >\r\n <!-- padding-top 24px: la label flottante di un mat-form-field sporge SOPRA il bordo del campo,\r\n e questo wrapper (overflow-y:auto) la taglierebbe quando il campo e' il primo elemento del\r\n dialog. Servono 24px e non i ~10px del Material di serie perche' i portali comprimono i\r\n form-field (.mat-mdc-form-field-infix con padding ridotto): la label flotta piu' in alto. -->\r\n <div style=\"padding: 24px 10px 8px; overflow-y: auto; overflow-x: hidden; flex: 1 1 auto; box-sizing: border-box; word-wrap: break-word;\">\r\n <ng-content select=\"[dialog-content]\"></ng-content>\r\n </div>\r\n </mat-dialog-content>\r\n\r\n <!-- Actions -->\r\n <mat-dialog-actions [style.padding]=\"'16px 20px'\" [style.display]=\"'flex'\" [style.justify-content]=\"buttonsAlignment\" [style.overflow]=\"'hidden'\" [style.box-sizing]=\"'border-box'\" [style.flex-wrap]=\"'wrap'\" [style.gap]=\"'10px'\">\r\n <!-- Pulsanti allineati a sinistra (es. Elimina) -->\r\n <div style=\"display: flex; flex-direction: row; gap: 10px; flex-wrap: wrap;\">\r\n <ng-container *ngFor=\"let button of getLeftButtons()\">\r\n <button\r\n *ngIf=\"button.type === 'raised' || !button.type\"\r\n mat-raised-button\r\n [color]=\"button.color\"\r\n [disabled]=\"button.disabled\"\r\n [class]=\"button.cssClass\"\r\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\r\n [ngStyle]=\"button.minWidth && button.minWidth > 0 ? {'min-width': button.minWidth + 'px'} : {}\"\r\n (click)=\"onButtonClick(button)\"\r\n >\r\n <mat-icon *ngIf=\"button.icon\">{{ button.icon }}</mat-icon>\r\n {{ button.text | translate }}\r\n </button>\r\n <button\r\n *ngIf=\"button.type === 'stroked'\"\r\n mat-stroked-button\r\n [color]=\"button.color\"\r\n [disabled]=\"button.disabled\"\r\n [class]=\"button.cssClass\"\r\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\r\n [ngStyle]=\"button.minWidth && button.minWidth > 0 ? {'min-width': button.minWidth + 'px'} : {}\"\r\n (click)=\"onButtonClick(button)\"\r\n >\r\n <mat-icon *ngIf=\"button.icon\">{{ button.icon }}</mat-icon>\r\n {{ button.text | translate }}\r\n </button>\r\n <button\r\n *ngIf=\"button.type === 'flat'\"\r\n mat-flat-button\r\n [color]=\"button.color\"\r\n [disabled]=\"button.disabled\"\r\n [class]=\"button.cssClass\"\r\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\r\n [ngStyle]=\"button.minWidth && button.minWidth > 0 ? {'min-width': button.minWidth + 'px'} : {}\"\r\n (click)=\"onButtonClick(button)\"\r\n >\r\n <mat-icon *ngIf=\"button.icon\">{{ button.icon }}</mat-icon>\r\n {{ button.text | translate }}\r\n </button>\r\n <button\r\n *ngIf=\"button.type === 'icon'\"\r\n mat-icon-button\r\n [color]=\"button.color\"\r\n [disabled]=\"button.disabled\"\r\n [class]=\"button.cssClass\"\r\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\r\n [ngStyle]=\"button.minWidth && button.minWidth > 0 ? {'min-width': button.minWidth + 'px'} : {}\"\r\n (click)=\"onButtonClick(button)\"\r\n >\r\n <mat-icon *ngIf=\"button.icon\">{{ button.icon }}</mat-icon>\r\n {{ button.text | translate }}\r\n </button>\r\n </ng-container>\r\n </div>\r\n\r\n <!-- Pulsanti allineati a destra (default) -->\r\n <div style=\"display: flex; flex-direction: row; gap: 10px; flex-wrap: wrap;\">\r\n <ng-container *ngFor=\"let button of getRightButtons()\">\r\n <button\r\n *ngIf=\"button.type === 'raised' || !button.type\"\r\n mat-raised-button\r\n [color]=\"button.color\"\r\n [disabled]=\"button.disabled\"\r\n [class]=\"button.cssClass\"\r\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\r\n [ngStyle]=\"button.minWidth && button.minWidth > 0 ? {'min-width': button.minWidth + 'px'} : {}\"\r\n (click)=\"onButtonClick(button)\"\r\n >\r\n <mat-icon *ngIf=\"button.icon\">{{ button.icon }}</mat-icon>\r\n {{ button.text | translate }}\r\n </button>\r\n <button\r\n *ngIf=\"button.type === 'stroked'\"\r\n mat-stroked-button\r\n [color]=\"button.color\"\r\n [disabled]=\"button.disabled\"\r\n [class]=\"button.cssClass\"\r\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\r\n [ngStyle]=\"button.minWidth && button.minWidth > 0 ? {'min-width': button.minWidth + 'px'} : {}\"\r\n (click)=\"onButtonClick(button)\"\r\n >\r\n <mat-icon *ngIf=\"button.icon\">{{ button.icon }}</mat-icon>\r\n {{ button.text | translate }}\r\n </button>\r\n <button\r\n *ngIf=\"button.type === 'flat'\"\r\n mat-flat-button\r\n [color]=\"button.color\"\r\n [disabled]=\"button.disabled\"\r\n [class]=\"button.cssClass\"\r\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\r\n [ngStyle]=\"button.minWidth && button.minWidth > 0 ? {'min-width': button.minWidth + 'px'} : {}\"\r\n (click)=\"onButtonClick(button)\"\r\n >\r\n <mat-icon *ngIf=\"button.icon\">{{ button.icon }}</mat-icon>\r\n {{ button.text | translate }}\r\n </button>\r\n <button\r\n *ngIf=\"button.type === 'icon'\"\r\n mat-icon-button\r\n [color]=\"button.color\"\r\n [disabled]=\"button.disabled\"\r\n [class]=\"button.cssClass\"\r\n [class.dialog-button-sized]=\"button.minWidth && button.minWidth > 0\"\r\n [ngStyle]=\"button.minWidth && button.minWidth > 0 ? {'min-width': button.minWidth + 'px'} : {}\"\r\n (click)=\"onButtonClick(button)\"\r\n >\r\n <mat-icon *ngIf=\"button.icon\">{{ button.icon }}</mat-icon>\r\n {{ button.text | translate }}\r\n </button>\r\n </ng-container>\r\n </div>\r\n </mat-dialog-actions>\r\n</div>\r\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:unset!important;overflow:unset!important}\n"] }]
|
|
4240
4240
|
}], ctorParameters: () => [{ type: i1$2.MatDialogRef }], propDecorators: { title: [{
|
|
4241
4241
|
type: Input
|
|
4242
4242
|
}], buttons: [{
|
|
@@ -27063,6 +27063,9 @@ class FHToolBarCustomAction {
|
|
|
27063
27063
|
icon;
|
|
27064
27064
|
hidden = false;
|
|
27065
27065
|
primary = false;
|
|
27066
|
+
// Posizione nella barra. Se omessa: 'left' quando primary è true (retrocompatibile),
|
|
27067
|
+
// altrimenti 'right'.
|
|
27068
|
+
position;
|
|
27066
27069
|
}
|
|
27067
27070
|
|
|
27068
27071
|
class OfficeOperation {
|
|
@@ -35036,6 +35039,7 @@ class FHWorkflowHeaderBar {
|
|
|
35036
35039
|
next_label_color = false;
|
|
35037
35040
|
tipologiaAllegati = '';
|
|
35038
35041
|
custom_commands_pri = [];
|
|
35042
|
+
custom_commands_mid = [];
|
|
35039
35043
|
custom_commands_sec = [];
|
|
35040
35044
|
back_lbl = 'Indietro';
|
|
35041
35045
|
save_lbl = 'Salva';
|
|
@@ -35058,10 +35062,16 @@ class FHWorkflowHeaderBar {
|
|
|
35058
35062
|
}
|
|
35059
35063
|
set_custom_buttons() {
|
|
35060
35064
|
this.custom_commands_pri = [];
|
|
35065
|
+
this.custom_commands_mid = [];
|
|
35061
35066
|
this.custom_commands_sec = [];
|
|
35062
35067
|
this.custom_commands.forEach((v) => {
|
|
35063
|
-
|
|
35068
|
+
// Posizione esplicita se indicata; altrimenti retrocompatibile:
|
|
35069
|
+
// primary=true -> 'left', altrimenti -> 'right'.
|
|
35070
|
+
const pos = v.position ?? (v.primary ? 'left' : 'right');
|
|
35071
|
+
if (pos === 'left')
|
|
35064
35072
|
this.custom_commands_pri.push(v);
|
|
35073
|
+
else if (pos === 'actions')
|
|
35074
|
+
this.custom_commands_mid.push(v);
|
|
35065
35075
|
else
|
|
35066
35076
|
this.custom_commands_sec.push(v);
|
|
35067
35077
|
});
|
|
@@ -35249,6 +35259,22 @@ class FHWorkflowHeaderBar {
|
|
|
35249
35259
|
{{ (dt_agg.reject_label||'Respingi') | translate }}
|
|
35250
35260
|
</button>
|
|
35251
35261
|
|
|
35262
|
+
<!-- Pulsanti custom con position='actions': tra Respingi e Procedi
|
|
35263
|
+
(es. un pulsante da mostrare subito prima del tasto di avanzamento). -->
|
|
35264
|
+
<ng-container *ngIf="custom_commands_mid.length > 0">
|
|
35265
|
+
<ng-container *ngFor="let app of custom_commands_mid">
|
|
35266
|
+
<button
|
|
35267
|
+
[hidden]="app.hidden != null && app.hidden"
|
|
35268
|
+
mat-flat-button
|
|
35269
|
+
[color]="app.color"
|
|
35270
|
+
(click)="exec_command(app.command)"
|
|
35271
|
+
>
|
|
35272
|
+
<mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
|
|
35273
|
+
>{{ app.label | translate }}
|
|
35274
|
+
</button>
|
|
35275
|
+
|
|
35276
|
+
</ng-container>
|
|
35277
|
+
</ng-container>
|
|
35252
35278
|
<button
|
|
35253
35279
|
mat-flat-button
|
|
35254
35280
|
(click)="procedi()"
|
|
@@ -35500,6 +35526,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
35500
35526
|
{{ (dt_agg.reject_label||'Respingi') | translate }}
|
|
35501
35527
|
</button>
|
|
35502
35528
|
|
|
35529
|
+
<!-- Pulsanti custom con position='actions': tra Respingi e Procedi
|
|
35530
|
+
(es. un pulsante da mostrare subito prima del tasto di avanzamento). -->
|
|
35531
|
+
<ng-container *ngIf="custom_commands_mid.length > 0">
|
|
35532
|
+
<ng-container *ngFor="let app of custom_commands_mid">
|
|
35533
|
+
<button
|
|
35534
|
+
[hidden]="app.hidden != null && app.hidden"
|
|
35535
|
+
mat-flat-button
|
|
35536
|
+
[color]="app.color"
|
|
35537
|
+
(click)="exec_command(app.command)"
|
|
35538
|
+
>
|
|
35539
|
+
<mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
|
|
35540
|
+
>{{ app.label | translate }}
|
|
35541
|
+
</button>
|
|
35542
|
+
|
|
35543
|
+
</ng-container>
|
|
35544
|
+
</ng-container>
|
|
35503
35545
|
<button
|
|
35504
35546
|
mat-flat-button
|
|
35505
35547
|
(click)="procedi()"
|