@fluxhub/fluxhub-lib 19.0.104 → 19.0.105

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.
@@ -32903,32 +32903,29 @@ class win_select_level_v2 {
32903
32903
  <hr />
32904
32904
 
32905
32905
  <mat-dialog-content style="padding: 20px;">
32906
- <div style="display: flex; flex-direction: column; gap: 15px;">
32907
- <button
32908
- mat-flat-button
32906
+ <div style="display: flex; flex-direction: column; gap: 10px;">
32907
+ <div
32909
32908
  *ngFor="let app of trans"
32910
- [style.background-color]="app.color + ' !important'"
32911
- [style.color]="app.color_font + ' !important'"
32912
- (click)="sel(app)"
32913
- style="width: 100%; padding: 18px 16px; font-size: 18px; font-weight: 600; text-align: left; display: flex; align-items: center; gap: 10px; min-height: 56px;">
32914
- <i *ngIf="app.icon && app.icon!=''" [ngClass]="'fa ' + app.icon" aria-hidden="true" style="font-size: 20px;"></i>
32909
+ class="custom-level-button"
32910
+ [style.border-left-color]="app.color"
32911
+ [style.background-color]="app.background_color || '#fafafa'"
32912
+ [style.color]="app.color_font || '#1e2755'"
32913
+ (click)="sel(app)">
32914
+ <i *ngIf="app.icon && app.icon!=''" [ngClass]="'fa ' + app.icon" aria-hidden="true"></i>
32915
32915
  <span>{{ app.description | translate }}</span>
32916
- </button>
32916
+ </div>
32917
32917
  </div>
32918
32918
  </mat-dialog-content>
32919
32919
  </div>
32920
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { 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: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$2.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i8$2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }] });
32920
+ `, isInline: true, styles: [".custom-level-button{position:relative;display:flex;align-items:center;gap:12px;padding:16px 20px;border-left:4px solid #ccc;cursor:pointer;transition:all .3s ease;font-size:16px;font-weight:500;-webkit-user-select:none;user-select:none}.custom-level-button:hover{padding-left:24px;box-shadow:0 2px 8px #0000001a;filter:brightness(.95)}.custom-level-button:active{filter:brightness(.9)}.custom-level-button i{font-size:18px}.custom-level-button span{flex:1}\n"], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { 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: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$2.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }] });
32921
32921
  }
32922
32922
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: win_select_level_v2, decorators: [{
32923
32923
  type: Component,
32924
- args: [{
32925
- imports: [
32924
+ args: [{ imports: [
32926
32925
  TranslateModule,
32927
32926
  CommonModule,
32928
- MatDialogModule,
32929
- MatButtonModule
32930
- ],
32931
- template: `
32927
+ MatDialogModule
32928
+ ], template: `
32932
32929
  <div style="display: flex; flex-direction: column;">
32933
32930
  <div class="dialog_header" style="display: flex; flex-direction: row;">
32934
32931
  <div style="width: 90%; display: flex; align-items: center; padding-left: 20px;">
@@ -32945,22 +32942,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
32945
32942
  <hr />
32946
32943
 
32947
32944
  <mat-dialog-content style="padding: 20px;">
32948
- <div style="display: flex; flex-direction: column; gap: 15px;">
32949
- <button
32950
- mat-flat-button
32945
+ <div style="display: flex; flex-direction: column; gap: 10px;">
32946
+ <div
32951
32947
  *ngFor="let app of trans"
32952
- [style.background-color]="app.color + ' !important'"
32953
- [style.color]="app.color_font + ' !important'"
32954
- (click)="sel(app)"
32955
- style="width: 100%; padding: 18px 16px; font-size: 18px; font-weight: 600; text-align: left; display: flex; align-items: center; gap: 10px; min-height: 56px;">
32956
- <i *ngIf="app.icon && app.icon!=''" [ngClass]="'fa ' + app.icon" aria-hidden="true" style="font-size: 20px;"></i>
32948
+ class="custom-level-button"
32949
+ [style.border-left-color]="app.color"
32950
+ [style.background-color]="app.background_color || '#fafafa'"
32951
+ [style.color]="app.color_font || '#1e2755'"
32952
+ (click)="sel(app)">
32953
+ <i *ngIf="app.icon && app.icon!=''" [ngClass]="'fa ' + app.icon" aria-hidden="true"></i>
32957
32954
  <span>{{ app.description | translate }}</span>
32958
- </button>
32955
+ </div>
32959
32956
  </div>
32960
32957
  </mat-dialog-content>
32961
32958
  </div>
32962
- `,
32963
- }]
32959
+ `, styles: [".custom-level-button{position:relative;display:flex;align-items:center;gap:12px;padding:16px 20px;border-left:4px solid #ccc;cursor:pointer;transition:all .3s ease;font-size:16px;font-weight:500;-webkit-user-select:none;user-select:none}.custom-level-button:hover{padding-left:24px;box-shadow:0 2px 8px #0000001a;filter:brightness(.95)}.custom-level-button:active{filter:brightness(.9)}.custom-level-button i{font-size:18px}.custom-level-button span{flex:1}\n"] }]
32964
32960
  }], ctorParameters: () => [{ type: i1$2.MatDialogRef }, { type: i3.ToastrService }, { type: i3$2.TranslateService }, { type: undefined, decorators: [{
32965
32961
  type: Inject,
32966
32962
  args: [MAT_DIALOG_DATA]
@@ -34430,6 +34426,11 @@ class FHWorkflowForm {
34430
34426
  old_doc;
34431
34427
  ok_load_document(o) {
34432
34428
  this.m_obj = JSON.parse(JSON.stringify(o));
34429
+ this.reset_form(this.tsr.instant(this.app_info.descrizione_breve) +
34430
+ ' ' +
34431
+ this.m_obj.codice +
34432
+ ' - ' +
34433
+ this.tsr.instant(this.m_obj.stat_stato));
34433
34434
  if (this.m_obj.assegnati_paralleli != null)
34434
34435
  if (this.m_obj.assegnati_paralleli.split(',').length != 1)
34435
34436
  if (this.m_obj.assegnati_paralleli.indexOf(this.app_s.user) > -1)