@fluxhub/fluxhub-lib 19.0.149 → 19.0.150
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.
|
@@ -4197,7 +4197,7 @@ class DialogBaseComponent {
|
|
|
4197
4197
|
return this.buttons.filter(b => b.alignLeft !== true);
|
|
4198
4198
|
}
|
|
4199
4199
|
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 });
|
|
4200
|
-
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\" style=\"display: flex; flex-direction: row; overflow: hidden;\">\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 <div style=\"padding: 5px 10px; 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}\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: i8$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i8$1.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] });
|
|
4200
|
+
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\" style=\"display: flex; flex-direction: row; overflow: hidden;\">\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 <div style=\"padding: 5px 10px; 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: i8$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i8$1.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] });
|
|
4201
4201
|
}
|
|
4202
4202
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: DialogBaseComponent, decorators: [{
|
|
4203
4203
|
type: Component,
|
|
@@ -4207,7 +4207,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
4207
4207
|
MatButtonModule,
|
|
4208
4208
|
MatIconModule,
|
|
4209
4209
|
TranslateModule
|
|
4210
|
-
], 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\" style=\"display: flex; flex-direction: row; overflow: hidden;\">\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 <div style=\"padding: 5px 10px; 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}\n"] }]
|
|
4210
|
+
], 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\" style=\"display: flex; flex-direction: row; overflow: hidden;\">\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 <div style=\"padding: 5px 10px; 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"] }]
|
|
4211
4211
|
}], ctorParameters: () => [{ type: i1$2.MatDialogRef }], propDecorators: { title: [{
|
|
4212
4212
|
type: Input
|
|
4213
4213
|
}], buttons: [{
|
|
@@ -29591,6 +29591,14 @@ class win_log_v2 {
|
|
|
29591
29591
|
}
|
|
29592
29592
|
}
|
|
29593
29593
|
load_graph() {
|
|
29594
|
+
if (this.data.test_data) {
|
|
29595
|
+
const bodyWidth = document.body.clientWidth;
|
|
29596
|
+
let bodyHeight = document.body.scrollHeight;
|
|
29597
|
+
this.m_appService.getState().body_h = bodyHeight;
|
|
29598
|
+
this.m_appService.getState().body_w = bodyWidth;
|
|
29599
|
+
this.diagramma_flusso = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><bpmn:definitions xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" xmlns:bpmn=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" id=\"Definitions_25b67b31-367a-48c0-8c0d-c26b7a8024b9\" targetNamespace=\"http://bpmn.io/schema/bpmn\"> <bpmn:process id=\"Process_workflow_commesse\" name=\"Gestione Commesse\" isExecutable=\"false\"> <bpmn:startEvent id=\"StartEvent_10\" name=\"[10] Inserimento Allegati Progetto\" /> <bpmn:userTask id=\"Activity_20\" name=\"[20] Inserimento Dati Back Office\" /> <bpmn:userTask id=\"Activity_30\" name=\"[30] Valutazione Fattibilità Tecnica\" /> <bpmn:userTask id=\"Activity_40\" name=\"[40] Emissione Proforma Cliente\" /> <bpmn:userTask id=\"Activity_45\" name=\"[45] CoGe - Valutazione\" /> <bpmn:userTask id=\"Activity_50\" name=\"[50] Emissione Fattura\" /> <bpmn:userTask id=\"Activity_55\" name=\"[55] Dati Geometra\" /> <bpmn:userTask id=\"Activity_60\" name=\"[60] Data Stima Posa\" /> <bpmn:userTask id=\"Activity_65\" name=\"[65] Ufficio Tecnico - Preparazione Documentazione\"> <bpmn:outgoing>Flow_148rss5</bpmn:outgoing> </bpmn:userTask> <bpmn:userTask id=\"Activity_70\" name=\"[70] Approvvigionamento Materiali\"> <bpmn:incoming>Flow_148rss5</bpmn:incoming> </bpmn:userTask> <bpmn:userTask id=\"Activity_75\" name=\"[75] CoGe - Validazione\" /> <bpmn:userTask id=\"Activity_80\" name=\"[80] Ingresso Merci\" /> <bpmn:userTask id=\"Activity_85\" name=\"[85] Back Office - Verifiche secondo acconto\" /> <bpmn:userTask id=\"Activity_90\" name=\"[90] Pianificazione Posa\" /> <bpmn:userTask id=\"Activity_100\" name=\"[100] Richiesta saldo Cliente\" /> <bpmn:userTask id=\"Activity_110\" name=\"[110] Conferma Pagamento Saldo\" /> <bpmn:userTask id=\"Activity_120\" name=\"[120] Caricamento Dati Posa\" /> <bpmn:endEvent id=\"EndEvent_900\" name=\"[900] Concluso\" /> <bpmn:sequenceFlow id=\"Flow_a0463db9-fb28-42f1-8388-48e758fad96d\" sourceRef=\"StartEvent_10\" targetRef=\"Activity_20\" /> <bpmn:sequenceFlow id=\"Flow_f442227f-b8fa-4037-be06-97484c42bb53\" sourceRef=\"Activity_20\" targetRef=\"Activity_30\" /> <bpmn:sequenceFlow id=\"Flow_ca74e59f-724c-4102-b86f-c55d3a3c704f\" sourceRef=\"Activity_30\" targetRef=\"Activity_40\" /> <bpmn:sequenceFlow id=\"Flow_0cddd55a-0f73-4f11-ad42-691a961921fa\" sourceRef=\"Activity_40\" targetRef=\"Activity_45\" /> <bpmn:sequenceFlow id=\"Flow_b4fb1e63-8659-4cb4-bddc-f25f90d35d57\" sourceRef=\"Activity_45\" targetRef=\"Activity_50\" /> <bpmn:sequenceFlow id=\"Flow_6fa6914e-e896-4fa3-8ded-3d4d036bdf71\" sourceRef=\"Activity_50\" targetRef=\"Activity_55\" /> <bpmn:sequenceFlow id=\"Flow_079f72aa-8029-44da-950e-ccb5e83f2a0b\" sourceRef=\"Activity_55\" targetRef=\"Activity_60\" /> <bpmn:sequenceFlow id=\"Flow_ba339c13-4a66-4a82-b8fc-916de324a83a\" sourceRef=\"Activity_60\" targetRef=\"Activity_65\" /> <bpmn:sequenceFlow id=\"Flow_trans-70-80-avanti\" sourceRef=\"Activity_70\" targetRef=\"Activity_75\" /> <bpmn:sequenceFlow id=\"Flow_1e6f13d5-eeeb-4a79-94c8-a8fbe961b0a0\" sourceRef=\"Activity_75\" targetRef=\"Activity_80\" /> <bpmn:sequenceFlow id=\"Flow_c521e5ab-026e-47a6-95c8-1ecfb984d2ee\" sourceRef=\"Activity_80\" targetRef=\"Activity_85\" /> <bpmn:sequenceFlow id=\"Flow_74ce296a-2b6e-4545-a373-d6d271804dde\" sourceRef=\"Activity_85\" targetRef=\"Activity_90\" /> <bpmn:sequenceFlow id=\"Flow_trans-90-100-avanti\" sourceRef=\"Activity_90\" targetRef=\"Activity_100\" /> <bpmn:sequenceFlow id=\"Flow_trans-100-110-avanti\" sourceRef=\"Activity_100\" targetRef=\"Activity_110\" /> <bpmn:sequenceFlow id=\"Flow_trans-110-120-avanti\" sourceRef=\"Activity_110\" targetRef=\"Activity_120\" /> <bpmn:sequenceFlow id=\"Flow_trans-120-900-concluso\" sourceRef=\"Activity_120\" targetRef=\"EndEvent_900\" /> <bpmn:sequenceFlow id=\"Flow_148rss5\" sourceRef=\"Activity_65\" targetRef=\"Activity_70\" /> </bpmn:process> <bpmndi:BPMNDiagram id=\"BPMNDiagram_1\"> <bpmndi:BPMNPlane id=\"BPMNPlane_1\" bpmnElement=\"Process_workflow_commesse\"> <bpmndi:BPMNShape id=\"StartEvent_10_di\" bpmnElement=\"StartEvent_10\"> <dc:Bounds x=\"180\" y=\"100\" width=\"36\" height=\"36\" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Activity_20_di\" bpmnElement=\"Activity_20\"> <dc:Bounds x=\"260\" y=\"260\" width=\"160\" height=\"100\" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Activity_30_di\" bpmnElement=\"Activity_30\"> <dc:Bounds x=\"340\" y=\"420\" width=\"160\" height=\"100\" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Activity_40_di\" bpmnElement=\"Activity_40\"> <dc:Bounds x=\"420\" y=\"580\" width=\"160\" height=\"100\" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Activity_45_di\" bpmnElement=\"Activity_45\"> <dc:Bounds x=\"500\" y=\"740\" width=\"160\" height=\"100\" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Activity_50_di\" bpmnElement=\"Activity_50\"> <dc:Bounds x=\"580\" y=\"900\" width=\"160\" height=\"100\" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Activity_55_di\" bpmnElement=\"Activity_55\"> <dc:Bounds x=\"660\" y=\"1060\" width=\"160\" height=\"100\" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Activity_60_di\" bpmnElement=\"Activity_60\"> <dc:Bounds x=\"740\" y=\"1220\" width=\"160\" height=\"100\" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Activity_65_di\" bpmnElement=\"Activity_65\"> <dc:Bounds x=\"820\" y=\"1380\" width=\"160\" height=\"100\" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Activity_70_di\" bpmnElement=\"Activity_70\"> <dc:Bounds x=\"900\" y=\"1540\" width=\"160\" height=\"100\" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Activity_75_di\" bpmnElement=\"Activity_75\"> <dc:Bounds x=\"980\" y=\"1700\" width=\"160\" height=\"100\" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Activity_80_di\" bpmnElement=\"Activity_80\"> <dc:Bounds x=\"1060\" y=\"1860\" width=\"160\" height=\"100\" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Activity_85_di\" bpmnElement=\"Activity_85\"> <dc:Bounds x=\"1140\" y=\"2020\" width=\"160\" height=\"100\" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Activity_90_di\" bpmnElement=\"Activity_90\"> <dc:Bounds x=\"1220\" y=\"2180\" width=\"160\" height=\"100\" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Activity_100_di\" bpmnElement=\"Activity_100\"> <dc:Bounds x=\"1300\" y=\"2340\" width=\"160\" height=\"100\" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Activity_110_di\" bpmnElement=\"Activity_110\"> <dc:Bounds x=\"1380\" y=\"2500\" width=\"160\" height=\"100\" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Activity_120_di\" bpmnElement=\"Activity_120\"> <dc:Bounds x=\"1460\" y=\"2660\" width=\"160\" height=\"100\" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"EndEvent_900_di\" bpmnElement=\"EndEvent_900\"> <dc:Bounds x=\"1522\" y=\"2960\" width=\"36\" height=\"36\" /> <bpmndi:BPMNLabel> <dc:Bounds x=\"1503\" y=\"2996\" width=\"74\" height=\"14\" /> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNEdge id=\"Flow_a0463db9-fb28-42f1-8388-48e758fad96d_di\" bpmnElement=\"Flow_a0463db9-fb28-42f1-8388-48e758fad96d\"> <di:waypoint x=\"198\" y=\"136\" /> <di:waypoint x=\"198\" y=\"198\" /> <di:waypoint x=\"340\" y=\"198\" /> <di:waypoint x=\"340\" y=\"260\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id=\"Flow_f442227f-b8fa-4037-be06-97484c42bb53_di\" bpmnElement=\"Flow_f442227f-b8fa-4037-be06-97484c42bb53\"> <di:waypoint x=\"340\" y=\"360\" /> <di:waypoint x=\"340\" y=\"390\" /> <di:waypoint x=\"420\" y=\"390\" /> <di:waypoint x=\"420\" y=\"420\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id=\"Flow_ca74e59f-724c-4102-b86f-c55d3a3c704f_di\" bpmnElement=\"Flow_ca74e59f-724c-4102-b86f-c55d3a3c704f\"> <di:waypoint x=\"420\" y=\"520\" /> <di:waypoint x=\"420\" y=\"550\" /> <di:waypoint x=\"500\" y=\"550\" /> <di:waypoint x=\"500\" y=\"580\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id=\"Flow_0cddd55a-0f73-4f11-ad42-691a961921fa_di\" bpmnElement=\"Flow_0cddd55a-0f73-4f11-ad42-691a961921fa\"> <di:waypoint x=\"500\" y=\"680\" /> <di:waypoint x=\"500\" y=\"710\" /> <di:waypoint x=\"580\" y=\"710\" /> <di:waypoint x=\"580\" y=\"740\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id=\"Flow_b4fb1e63-8659-4cb4-bddc-f25f90d35d57_di\" bpmnElement=\"Flow_b4fb1e63-8659-4cb4-bddc-f25f90d35d57\"> <di:waypoint x=\"580\" y=\"840\" /> <di:waypoint x=\"580\" y=\"870\" /> <di:waypoint x=\"660\" y=\"870\" /> <di:waypoint x=\"660\" y=\"900\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id=\"Flow_6fa6914e-e896-4fa3-8ded-3d4d036bdf71_di\" bpmnElement=\"Flow_6fa6914e-e896-4fa3-8ded-3d4d036bdf71\"> <di:waypoint x=\"660\" y=\"1000\" /> <di:waypoint x=\"660\" y=\"1030\" /> <di:waypoint x=\"740\" y=\"1030\" /> <di:waypoint x=\"740\" y=\"1060\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id=\"Flow_079f72aa-8029-44da-950e-ccb5e83f2a0b_di\" bpmnElement=\"Flow_079f72aa-8029-44da-950e-ccb5e83f2a0b\"> <di:waypoint x=\"740\" y=\"1160\" /> <di:waypoint x=\"740\" y=\"1190\" /> <di:waypoint x=\"820\" y=\"1190\" /> <di:waypoint x=\"820\" y=\"1220\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id=\"Flow_ba339c13-4a66-4a82-b8fc-916de324a83a_di\" bpmnElement=\"Flow_ba339c13-4a66-4a82-b8fc-916de324a83a\"> <di:waypoint x=\"820\" y=\"1320\" /> <di:waypoint x=\"820\" y=\"1350\" /> <di:waypoint x=\"900\" y=\"1350\" /> <di:waypoint x=\"900\" y=\"1380\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id=\"Flow_trans-70-80-avanti_di\" bpmnElement=\"Flow_trans-70-80-avanti\"> <di:waypoint x=\"980\" y=\"1640\" /> <di:waypoint x=\"980\" y=\"1670\" /> <di:waypoint x=\"1060\" y=\"1670\" /> <di:waypoint x=\"1060\" y=\"1700\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id=\"Flow_1e6f13d5-eeeb-4a79-94c8-a8fbe961b0a0_di\" bpmnElement=\"Flow_1e6f13d5-eeeb-4a79-94c8-a8fbe961b0a0\"> <di:waypoint x=\"1060\" y=\"1800\" /> <di:waypoint x=\"1060\" y=\"1830\" /> <di:waypoint x=\"1140\" y=\"1830\" /> <di:waypoint x=\"1140\" y=\"1860\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id=\"Flow_c521e5ab-026e-47a6-95c8-1ecfb984d2ee_di\" bpmnElement=\"Flow_c521e5ab-026e-47a6-95c8-1ecfb984d2ee\"> <di:waypoint x=\"1140\" y=\"1960\" /> <di:waypoint x=\"1140\" y=\"1990\" /> <di:waypoint x=\"1220\" y=\"1990\" /> <di:waypoint x=\"1220\" y=\"2020\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id=\"Flow_74ce296a-2b6e-4545-a373-d6d271804dde_di\" bpmnElement=\"Flow_74ce296a-2b6e-4545-a373-d6d271804dde\"> <di:waypoint x=\"1220\" y=\"2120\" /> <di:waypoint x=\"1220\" y=\"2150\" /> <di:waypoint x=\"1300\" y=\"2150\" /> <di:waypoint x=\"1300\" y=\"2180\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id=\"Flow_trans-90-100-avanti_di\" bpmnElement=\"Flow_trans-90-100-avanti\"> <di:waypoint x=\"1300\" y=\"2280\" /> <di:waypoint x=\"1300\" y=\"2310\" /> <di:waypoint x=\"1380\" y=\"2310\" /> <di:waypoint x=\"1380\" y=\"2340\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id=\"Flow_trans-100-110-avanti_di\" bpmnElement=\"Flow_trans-100-110-avanti\"> <di:waypoint x=\"1380\" y=\"2440\" /> <di:waypoint x=\"1380\" y=\"2470\" /> <di:waypoint x=\"1460\" y=\"2470\" /> <di:waypoint x=\"1460\" y=\"2500\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id=\"Flow_trans-110-120-avanti_di\" bpmnElement=\"Flow_trans-110-120-avanti\"> <di:waypoint x=\"1460\" y=\"2600\" /> <di:waypoint x=\"1460\" y=\"2630\" /> <di:waypoint x=\"1540\" y=\"2630\" /> <di:waypoint x=\"1540\" y=\"2660\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id=\"Flow_trans-120-900-concluso_di\" bpmnElement=\"Flow_trans-120-900-concluso\"> <di:waypoint x=\"1540\" y=\"2760\" /> <di:waypoint x=\"1540\" y=\"2960\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id=\"Flow_148rss5_di\" bpmnElement=\"Flow_148rss5\"> <di:waypoint x=\"900\" y=\"1480\" /> <di:waypoint x=\"900\" y=\"1510\" /> <di:waypoint x=\"980\" y=\"1510\" /> <di:waypoint x=\"980\" y=\"1540\" /> </bpmndi:BPMNEdge> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram></bpmn:definitions>";
|
|
29600
|
+
return;
|
|
29601
|
+
}
|
|
29594
29602
|
// Load BPMN diagram from database
|
|
29595
29603
|
const p = new QParam();
|
|
29596
29604
|
p.sql = 'SELECT_WKF_BY_ID';
|
|
@@ -29789,6 +29797,15 @@ class win_log_v2 {
|
|
|
29789
29797
|
}
|
|
29790
29798
|
refresh_list() {
|
|
29791
29799
|
this.load_graph();
|
|
29800
|
+
this.m_appService.getState().wkf_doc_info = {};
|
|
29801
|
+
this.m_appService.getState().wkf_doc_info.curr_user = 'test_user';
|
|
29802
|
+
if (this.data.test_data) {
|
|
29803
|
+
for (let i = 0; i < 100; i++)
|
|
29804
|
+
this.logs.push({ v_commento: 'ZZZZZ' + i, creatore: 'test_user', nc: 'zzz', data_creazione: '2024-01-01 12:00:00' });
|
|
29805
|
+
console.log("🚀 ~ win_log_v2 ~ refresh_list ~ this.logs:", this.logs);
|
|
29806
|
+
this.ossv = true;
|
|
29807
|
+
return;
|
|
29808
|
+
}
|
|
29792
29809
|
let p = new QParam();
|
|
29793
29810
|
p.sql = 'SELECT_WORKFLOW_LOG';
|
|
29794
29811
|
p.types = ['string', 'string'];
|
|
@@ -30010,14 +30027,15 @@ class win_log_v2 {
|
|
|
30010
30027
|
<fh-dialog-base
|
|
30011
30028
|
[title]="title"
|
|
30012
30029
|
[buttons]="buttons"
|
|
30013
|
-
buttonsAlignment="center"
|
|
30014
30030
|
(beforeClose)="onBeforeClose($event)">
|
|
30015
30031
|
|
|
30016
30032
|
<div dialog-content>
|
|
30033
|
+
|
|
30017
30034
|
<mat-tab-group #zz style="width:100%">
|
|
30018
30035
|
<mat-tab label="WORKFLOW" *ngIf="b_flussook">
|
|
30019
|
-
<div style="width:100%;
|
|
30036
|
+
<div [style.height]="m_appService.getState().body_h - 400 + 'px'" style="width:100%;position:relative">
|
|
30020
30037
|
<fh-bpmn-editor
|
|
30038
|
+
[style.height]="m_appService.getState().body_h - 125 + 'px'"
|
|
30021
30039
|
#bpmnViewer
|
|
30022
30040
|
*ngIf="diagramma_flusso"
|
|
30023
30041
|
[initialXml]="diagramma_flusso"
|
|
@@ -30052,6 +30070,7 @@ class win_log_v2 {
|
|
|
30052
30070
|
fxLayoutAlign="center end"
|
|
30053
30071
|
fxFlex="99"
|
|
30054
30072
|
*ngIf="!b_edit && commenti_insert && c_edit"
|
|
30073
|
+
|
|
30055
30074
|
>
|
|
30056
30075
|
<br />
|
|
30057
30076
|
<button mat-flat-button color="accent" (click)="ins()">
|
|
@@ -30094,7 +30113,10 @@ class win_log_v2 {
|
|
|
30094
30113
|
<br /><br />
|
|
30095
30114
|
</div>
|
|
30096
30115
|
<br /><br />
|
|
30097
|
-
<div
|
|
30116
|
+
<div
|
|
30117
|
+
style="width:100%;overflow-y:scroll;"
|
|
30118
|
+
[style.height]="m_appService.getState().body_h - 420 + 'px'"
|
|
30119
|
+
>
|
|
30098
30120
|
<table *ngIf="!b_edit" class="fh_table" style="width:100%">
|
|
30099
30121
|
<thead>
|
|
30100
30122
|
<tr>
|
|
@@ -30144,7 +30166,8 @@ class win_log_v2 {
|
|
|
30144
30166
|
</div>
|
|
30145
30167
|
</mat-tab>
|
|
30146
30168
|
</mat-tab-group>
|
|
30147
|
-
|
|
30169
|
+
</div>
|
|
30170
|
+
|
|
30148
30171
|
</fh-dialog-base>
|
|
30149
30172
|
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i8.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i2.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i8$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i8$1.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i5.DatePipe, name: "date" }, { kind: "ngmodule", type: MatDialogModule }, { kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i5$2.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass", "id"], exportAs: ["matTab"] }, { kind: "component", type: i5$2.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "mat-align-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "component", type: FHTextAreaComponent, selector: "FHTextArea", inputs: ["hidden", "label", "enabled", "required", "rows", "error"], outputs: ["change", "focusout", "focusin"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: BpmnEditorComponent, selector: "fh-bpmn-editor", inputs: ["initialXml", "completedSteps", "currentStep", "transitionData"], outputs: ["diagramChanged", "elementSelected"] }, { kind: "component", type: DialogBaseComponent, selector: "fh-dialog-base", inputs: ["title", "buttons", "showCloseButton", "canValidate", "buttonsAlignment"], outputs: ["buttonClick", "beforeClose"] }] });
|
|
30150
30173
|
}
|
|
@@ -30168,14 +30191,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
30168
30191
|
<fh-dialog-base
|
|
30169
30192
|
[title]="title"
|
|
30170
30193
|
[buttons]="buttons"
|
|
30171
|
-
buttonsAlignment="center"
|
|
30172
30194
|
(beforeClose)="onBeforeClose($event)">
|
|
30173
30195
|
|
|
30174
30196
|
<div dialog-content>
|
|
30197
|
+
|
|
30175
30198
|
<mat-tab-group #zz style="width:100%">
|
|
30176
30199
|
<mat-tab label="WORKFLOW" *ngIf="b_flussook">
|
|
30177
|
-
<div style="width:100%;
|
|
30200
|
+
<div [style.height]="m_appService.getState().body_h - 400 + 'px'" style="width:100%;position:relative">
|
|
30178
30201
|
<fh-bpmn-editor
|
|
30202
|
+
[style.height]="m_appService.getState().body_h - 125 + 'px'"
|
|
30179
30203
|
#bpmnViewer
|
|
30180
30204
|
*ngIf="diagramma_flusso"
|
|
30181
30205
|
[initialXml]="diagramma_flusso"
|
|
@@ -30210,6 +30234,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
30210
30234
|
fxLayoutAlign="center end"
|
|
30211
30235
|
fxFlex="99"
|
|
30212
30236
|
*ngIf="!b_edit && commenti_insert && c_edit"
|
|
30237
|
+
|
|
30213
30238
|
>
|
|
30214
30239
|
<br />
|
|
30215
30240
|
<button mat-flat-button color="accent" (click)="ins()">
|
|
@@ -30252,7 +30277,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
30252
30277
|
<br /><br />
|
|
30253
30278
|
</div>
|
|
30254
30279
|
<br /><br />
|
|
30255
|
-
<div
|
|
30280
|
+
<div
|
|
30281
|
+
style="width:100%;overflow-y:scroll;"
|
|
30282
|
+
[style.height]="m_appService.getState().body_h - 420 + 'px'"
|
|
30283
|
+
>
|
|
30256
30284
|
<table *ngIf="!b_edit" class="fh_table" style="width:100%">
|
|
30257
30285
|
<thead>
|
|
30258
30286
|
<tr>
|
|
@@ -30302,7 +30330,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
30302
30330
|
</div>
|
|
30303
30331
|
</mat-tab>
|
|
30304
30332
|
</mat-tab-group>
|
|
30305
|
-
|
|
30333
|
+
</div>
|
|
30334
|
+
|
|
30306
30335
|
</fh-dialog-base>
|
|
30307
30336
|
` }]
|
|
30308
30337
|
}], ctorParameters: () => [{ type: i1$2.MatDialogRef }, { type: i1$2.MatDialog }, { type: AppService }, { type: i3$1.ToastrService }, { type: QueryService }, { type: WkfService }, { type: FileService }, { type: i3.TranslateService }, { type: undefined, decorators: [{
|
|
@@ -31915,11 +31944,9 @@ class FHWorkflowForm {
|
|
|
31915
31944
|
this.salva();
|
|
31916
31945
|
}
|
|
31917
31946
|
open_wkf(em, inser_c = false, edit_c = true, show_wkf = true) {
|
|
31918
|
-
let s_h = this.app_s.getState().body_h - 40 + 'px';
|
|
31919
31947
|
let dialogRef = this.m_dialog.open(win_log_v2, {
|
|
31920
31948
|
disableClose: true,
|
|
31921
|
-
width: '
|
|
31922
|
-
height: s_h,
|
|
31949
|
+
width: '95vw',
|
|
31923
31950
|
data: { edit_c: edit_c, show_wkf: show_wkf },
|
|
31924
31951
|
});
|
|
31925
31952
|
setTimeout(() => {
|