@fluxhub/fluxhub-lib 19.0.149 → 19.0.151
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: [{
|
|
@@ -9426,6 +9426,39 @@ class FHGridComponent {
|
|
|
9426
9426
|
b_restored = false;
|
|
9427
9427
|
str_curr_q_p = '';
|
|
9428
9428
|
p_fi = {};
|
|
9429
|
+
/**
|
|
9430
|
+
* Converts numeric filter values to strings for backend compatibility
|
|
9431
|
+
* AG Grid sends numbers for numeric filters, but .NET backend expects strings
|
|
9432
|
+
*/
|
|
9433
|
+
normalizeFilterModel(filterModel) {
|
|
9434
|
+
if (!filterModel)
|
|
9435
|
+
return filterModel;
|
|
9436
|
+
const normalized = {};
|
|
9437
|
+
for (const key in filterModel) {
|
|
9438
|
+
if (filterModel.hasOwnProperty(key)) {
|
|
9439
|
+
const filter = { ...filterModel[key] };
|
|
9440
|
+
// Convert main filter value if it's a number
|
|
9441
|
+
if (filter.filter != null && typeof filter.filter === 'number') {
|
|
9442
|
+
filter.filter = filter.filter.toString();
|
|
9443
|
+
}
|
|
9444
|
+
// Handle combined filters (AND/OR conditions)
|
|
9445
|
+
if (filter.condition1) {
|
|
9446
|
+
filter.condition1 = { ...filter.condition1 };
|
|
9447
|
+
if (filter.condition1.filter != null && typeof filter.condition1.filter === 'number') {
|
|
9448
|
+
filter.condition1.filter = filter.condition1.filter.toString();
|
|
9449
|
+
}
|
|
9450
|
+
}
|
|
9451
|
+
if (filter.condition2) {
|
|
9452
|
+
filter.condition2 = { ...filter.condition2 };
|
|
9453
|
+
if (filter.condition2.filter != null && typeof filter.condition2.filter === 'number') {
|
|
9454
|
+
filter.condition2.filter = filter.condition2.filter.toString();
|
|
9455
|
+
}
|
|
9456
|
+
}
|
|
9457
|
+
normalized[key] = filter;
|
|
9458
|
+
}
|
|
9459
|
+
}
|
|
9460
|
+
return normalized;
|
|
9461
|
+
}
|
|
9429
9462
|
dataSource = {
|
|
9430
9463
|
getRows: (params) => {
|
|
9431
9464
|
this.num_r = -1;
|
|
@@ -9442,7 +9475,7 @@ class FHGridComponent {
|
|
|
9442
9475
|
p.exec_params = this.exec_params || [];
|
|
9443
9476
|
p.p = JSON.stringify({
|
|
9444
9477
|
sort_model: params.request.sortModel,
|
|
9445
|
-
filter_model: params.request.filterModel,
|
|
9478
|
+
filter_model: this.normalizeFilterModel(params.request.filterModel),
|
|
9446
9479
|
free_search: this.ric_libera,
|
|
9447
9480
|
fix_flt: this.fix_flt || '',
|
|
9448
9481
|
});
|
|
@@ -29591,6 +29624,14 @@ class win_log_v2 {
|
|
|
29591
29624
|
}
|
|
29592
29625
|
}
|
|
29593
29626
|
load_graph() {
|
|
29627
|
+
if (this.data.test_data) {
|
|
29628
|
+
const bodyWidth = document.body.clientWidth;
|
|
29629
|
+
let bodyHeight = document.body.scrollHeight;
|
|
29630
|
+
this.m_appService.getState().body_h = bodyHeight;
|
|
29631
|
+
this.m_appService.getState().body_w = bodyWidth;
|
|
29632
|
+
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>";
|
|
29633
|
+
return;
|
|
29634
|
+
}
|
|
29594
29635
|
// Load BPMN diagram from database
|
|
29595
29636
|
const p = new QParam();
|
|
29596
29637
|
p.sql = 'SELECT_WKF_BY_ID';
|
|
@@ -29789,6 +29830,15 @@ class win_log_v2 {
|
|
|
29789
29830
|
}
|
|
29790
29831
|
refresh_list() {
|
|
29791
29832
|
this.load_graph();
|
|
29833
|
+
this.m_appService.getState().wkf_doc_info = {};
|
|
29834
|
+
this.m_appService.getState().wkf_doc_info.curr_user = 'test_user';
|
|
29835
|
+
if (this.data.test_data) {
|
|
29836
|
+
for (let i = 0; i < 100; i++)
|
|
29837
|
+
this.logs.push({ v_commento: 'ZZZZZ' + i, creatore: 'test_user', nc: 'zzz', data_creazione: '2024-01-01 12:00:00' });
|
|
29838
|
+
console.log("🚀 ~ win_log_v2 ~ refresh_list ~ this.logs:", this.logs);
|
|
29839
|
+
this.ossv = true;
|
|
29840
|
+
return;
|
|
29841
|
+
}
|
|
29792
29842
|
let p = new QParam();
|
|
29793
29843
|
p.sql = 'SELECT_WORKFLOW_LOG';
|
|
29794
29844
|
p.types = ['string', 'string'];
|
|
@@ -30010,14 +30060,15 @@ class win_log_v2 {
|
|
|
30010
30060
|
<fh-dialog-base
|
|
30011
30061
|
[title]="title"
|
|
30012
30062
|
[buttons]="buttons"
|
|
30013
|
-
buttonsAlignment="center"
|
|
30014
30063
|
(beforeClose)="onBeforeClose($event)">
|
|
30015
30064
|
|
|
30016
30065
|
<div dialog-content>
|
|
30066
|
+
|
|
30017
30067
|
<mat-tab-group #zz style="width:100%">
|
|
30018
30068
|
<mat-tab label="WORKFLOW" *ngIf="b_flussook">
|
|
30019
|
-
<div style="width:100%;
|
|
30069
|
+
<div [style.height]="m_appService.getState().body_h - 400 + 'px'" style="width:100%;position:relative">
|
|
30020
30070
|
<fh-bpmn-editor
|
|
30071
|
+
[style.height]="m_appService.getState().body_h - 125 + 'px'"
|
|
30021
30072
|
#bpmnViewer
|
|
30022
30073
|
*ngIf="diagramma_flusso"
|
|
30023
30074
|
[initialXml]="diagramma_flusso"
|
|
@@ -30052,6 +30103,7 @@ class win_log_v2 {
|
|
|
30052
30103
|
fxLayoutAlign="center end"
|
|
30053
30104
|
fxFlex="99"
|
|
30054
30105
|
*ngIf="!b_edit && commenti_insert && c_edit"
|
|
30106
|
+
|
|
30055
30107
|
>
|
|
30056
30108
|
<br />
|
|
30057
30109
|
<button mat-flat-button color="accent" (click)="ins()">
|
|
@@ -30094,7 +30146,10 @@ class win_log_v2 {
|
|
|
30094
30146
|
<br /><br />
|
|
30095
30147
|
</div>
|
|
30096
30148
|
<br /><br />
|
|
30097
|
-
<div
|
|
30149
|
+
<div
|
|
30150
|
+
style="width:100%;overflow-y:scroll;"
|
|
30151
|
+
[style.height]="m_appService.getState().body_h - 420 + 'px'"
|
|
30152
|
+
>
|
|
30098
30153
|
<table *ngIf="!b_edit" class="fh_table" style="width:100%">
|
|
30099
30154
|
<thead>
|
|
30100
30155
|
<tr>
|
|
@@ -30144,7 +30199,8 @@ class win_log_v2 {
|
|
|
30144
30199
|
</div>
|
|
30145
30200
|
</mat-tab>
|
|
30146
30201
|
</mat-tab-group>
|
|
30147
|
-
|
|
30202
|
+
</div>
|
|
30203
|
+
|
|
30148
30204
|
</fh-dialog-base>
|
|
30149
30205
|
`, 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
30206
|
}
|
|
@@ -30168,14 +30224,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
30168
30224
|
<fh-dialog-base
|
|
30169
30225
|
[title]="title"
|
|
30170
30226
|
[buttons]="buttons"
|
|
30171
|
-
buttonsAlignment="center"
|
|
30172
30227
|
(beforeClose)="onBeforeClose($event)">
|
|
30173
30228
|
|
|
30174
30229
|
<div dialog-content>
|
|
30230
|
+
|
|
30175
30231
|
<mat-tab-group #zz style="width:100%">
|
|
30176
30232
|
<mat-tab label="WORKFLOW" *ngIf="b_flussook">
|
|
30177
|
-
<div style="width:100%;
|
|
30233
|
+
<div [style.height]="m_appService.getState().body_h - 400 + 'px'" style="width:100%;position:relative">
|
|
30178
30234
|
<fh-bpmn-editor
|
|
30235
|
+
[style.height]="m_appService.getState().body_h - 125 + 'px'"
|
|
30179
30236
|
#bpmnViewer
|
|
30180
30237
|
*ngIf="diagramma_flusso"
|
|
30181
30238
|
[initialXml]="diagramma_flusso"
|
|
@@ -30210,6 +30267,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
30210
30267
|
fxLayoutAlign="center end"
|
|
30211
30268
|
fxFlex="99"
|
|
30212
30269
|
*ngIf="!b_edit && commenti_insert && c_edit"
|
|
30270
|
+
|
|
30213
30271
|
>
|
|
30214
30272
|
<br />
|
|
30215
30273
|
<button mat-flat-button color="accent" (click)="ins()">
|
|
@@ -30252,7 +30310,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
30252
30310
|
<br /><br />
|
|
30253
30311
|
</div>
|
|
30254
30312
|
<br /><br />
|
|
30255
|
-
<div
|
|
30313
|
+
<div
|
|
30314
|
+
style="width:100%;overflow-y:scroll;"
|
|
30315
|
+
[style.height]="m_appService.getState().body_h - 420 + 'px'"
|
|
30316
|
+
>
|
|
30256
30317
|
<table *ngIf="!b_edit" class="fh_table" style="width:100%">
|
|
30257
30318
|
<thead>
|
|
30258
30319
|
<tr>
|
|
@@ -30302,7 +30363,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
30302
30363
|
</div>
|
|
30303
30364
|
</mat-tab>
|
|
30304
30365
|
</mat-tab-group>
|
|
30305
|
-
|
|
30366
|
+
</div>
|
|
30367
|
+
|
|
30306
30368
|
</fh-dialog-base>
|
|
30307
30369
|
` }]
|
|
30308
30370
|
}], 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 +31977,9 @@ class FHWorkflowForm {
|
|
|
31915
31977
|
this.salva();
|
|
31916
31978
|
}
|
|
31917
31979
|
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
31980
|
let dialogRef = this.m_dialog.open(win_log_v2, {
|
|
31920
31981
|
disableClose: true,
|
|
31921
|
-
width: '
|
|
31922
|
-
height: s_h,
|
|
31982
|
+
width: '95vw',
|
|
31923
31983
|
data: { edit_c: edit_c, show_wkf: show_wkf },
|
|
31924
31984
|
});
|
|
31925
31985
|
setTimeout(() => {
|