@fluxhub/fluxhub-lib 19.0.107 → 19.0.109

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.
@@ -3114,152 +3114,152 @@ class win_manage_roles {
3114
3114
  });
3115
3115
  }
3116
3116
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: win_manage_roles, deps: [{ token: i1$2.MatDialogRef }, { token: i3.ToastrService }, { token: AppService }, { token: QueryService }], target: i0.ɵɵFactoryTarget.Component });
3117
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: win_manage_roles, isStandalone: true, selector: "win_manage_roles", viewQueries: [{ propertyName: "autoc", first: true, predicate: ["autoc"], descendants: true }], ngImport: i0, template: `
3118
- <div fxLayout="column" style="height: 520px">
3119
- <div fxLayout="row" style="width: 90%">
3120
- <div style="width:100%" fxLayout="row" fxAlign="start center">
3121
- <b>Seleziona&nbsp;per&nbsp;associare&nbsp;utente:</b
3122
- >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
3123
- <div style="width:100%">
3124
- <FHAutoComplete
3125
- sql="SELECT_NOT_USERS_BY_IDROLE"
3126
- #autoc
3127
- [init_fill]="false"
3128
- (selchange)="add_assoc()"
3129
- label="Add user"
3130
- ></FHAutoComplete>
3131
- </div>
3132
- </div>
3133
- </div>
3134
- <div fxLayout="column" style="overflow-y: scroll;height:100%;">
3135
- <div fxLayout="column" style="overflow-y: scroll;height:420px;">
3136
- <table style="min-width:60%">
3137
- <tr>
3138
- <td>
3139
- <div
3140
- style="overflow-y: auto;"
3141
- fxLayout="row"
3142
- fxLayoutAlign="center start"
3143
- [style.height]="m_appService.getState().body_height3"
3144
- >
3145
- <br />
3146
- <section class="bs">
3147
- <table style="min-width: 600px" class="fh_table">
3148
- <thead>
3149
- <tr>
3150
- <th>Utente</th>
3151
-
3152
- <th style="width: 60px" class="actions"></th>
3153
- </tr>
3154
- </thead>
3155
- <tbody>
3156
- <tr
3157
- *ngFor="
3158
- let u of users;
3159
- let odd = odd;
3160
- let even = even
3161
- "
3162
- [ngClass]="{ odd: odd, even: even }"
3163
- >
3164
- <td>{{ u.cognome }} {{ u.nome }}</td>
3165
-
3166
- <td style="text-align: center;">
3167
- <a mat-icon-button (click)="delete_uassoc(u)">
3168
- <mat-icon>delete</mat-icon>
3169
- </a>
3170
- </td>
3171
- </tr>
3172
- </tbody>
3173
- </table>
3174
- </section>
3175
- </div>
3176
- </td>
3177
- </tr>
3178
- </table>
3179
- </div>
3180
- </div>
3181
- <div fxLayout="row" fxLayoutAlign="center center" style="width: 100%">
3182
- <button mat-flat-button color="warn" (click)="dialogRef.close('')">
3183
- CHIUDI
3184
- </button>
3185
- </div>
3186
- </div>
3117
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: win_manage_roles, isStandalone: true, selector: "win_manage_roles", viewQueries: [{ propertyName: "autoc", first: true, predicate: ["autoc"], descendants: true }], ngImport: i0, template: `
3118
+ <div fxLayout="column" style="height: 520px">
3119
+ <div fxLayout="row" style="width: 90%">
3120
+ <div style="width:100%" fxLayout="row" fxAlign="start center">
3121
+ <b>Seleziona&nbsp;per&nbsp;associare&nbsp;utente:</b
3122
+ >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
3123
+ <div style="width:100%">
3124
+ <FHAutoComplete
3125
+ sql="SELECT_NOT_USERS_BY_IDROLE"
3126
+ #autoc
3127
+ [init_fill]="false"
3128
+ (selchange)="add_assoc()"
3129
+ label="Add user"
3130
+ ></FHAutoComplete>
3131
+ </div>
3132
+ </div>
3133
+ </div>
3134
+ <div fxLayout="column" style="overflow-y: scroll;height:100%;">
3135
+ <div fxLayout="column" style="overflow-y: scroll;height:420px;">
3136
+ <table style="min-width:60%">
3137
+ <tr>
3138
+ <td>
3139
+ <div
3140
+ style="overflow-y: auto;"
3141
+ fxLayout="row"
3142
+ fxLayoutAlign="center start"
3143
+ [style.height]="m_appService.getState().body_height3"
3144
+ >
3145
+ <br />
3146
+ <section class="bs">
3147
+ <table style="min-width: 600px" class="fh_table">
3148
+ <thead>
3149
+ <tr>
3150
+ <th>Utente</th>
3151
+
3152
+ <th style="width: 60px" class="actions"></th>
3153
+ </tr>
3154
+ </thead>
3155
+ <tbody>
3156
+ <tr
3157
+ *ngFor="
3158
+ let u of users;
3159
+ let odd = odd;
3160
+ let even = even
3161
+ "
3162
+ [ngClass]="{ odd: odd, even: even }"
3163
+ >
3164
+ <td>{{ u.cognome }} {{ u.nome }}</td>
3165
+
3166
+ <td style="text-align: center;">
3167
+ <a mat-icon-button class="fh_icon_button" (click)="delete_uassoc(u)">
3168
+ <mat-icon>delete</mat-icon>
3169
+ </a>
3170
+ </td>
3171
+ </tr>
3172
+ </tbody>
3173
+ </table>
3174
+ </section>
3175
+ </div>
3176
+ </td>
3177
+ </tr>
3178
+ </table>
3179
+ </div>
3180
+ </div>
3181
+ <div fxLayout="row" fxLayoutAlign="center center" style="width: 100%">
3182
+ <button mat-flat-button color="warn" (click)="dialogRef.close('')">
3183
+ CHIUDI
3184
+ </button>
3185
+ </div>
3186
+ </div>
3187
3187
  `, isInline: true, dependencies: [{ kind: "component", type: FHAutoCompleteComponent, selector: "FHAutoComplete", inputs: ["init_fill", "error", "sql", "label", "types", "values", "hidden", "db_type", "max_item_show", "enabled", "open_on_load", "option_values", "required", "min_length_search", "only_from_list", "disableTranslation", "load_delay"], outputs: ["fillend", "selchange", "change", "initend", "focusout"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { 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"] }] });
3188
3188
  }
3189
3189
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: win_manage_roles, decorators: [{
3190
3190
  type: Component,
3191
3191
  args: [{
3192
3192
  selector: "win_manage_roles",
3193
- template: `
3194
- <div fxLayout="column" style="height: 520px">
3195
- <div fxLayout="row" style="width: 90%">
3196
- <div style="width:100%" fxLayout="row" fxAlign="start center">
3197
- <b>Seleziona&nbsp;per&nbsp;associare&nbsp;utente:</b
3198
- >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
3199
- <div style="width:100%">
3200
- <FHAutoComplete
3201
- sql="SELECT_NOT_USERS_BY_IDROLE"
3202
- #autoc
3203
- [init_fill]="false"
3204
- (selchange)="add_assoc()"
3205
- label="Add user"
3206
- ></FHAutoComplete>
3207
- </div>
3208
- </div>
3209
- </div>
3210
- <div fxLayout="column" style="overflow-y: scroll;height:100%;">
3211
- <div fxLayout="column" style="overflow-y: scroll;height:420px;">
3212
- <table style="min-width:60%">
3213
- <tr>
3214
- <td>
3215
- <div
3216
- style="overflow-y: auto;"
3217
- fxLayout="row"
3218
- fxLayoutAlign="center start"
3219
- [style.height]="m_appService.getState().body_height3"
3220
- >
3221
- <br />
3222
- <section class="bs">
3223
- <table style="min-width: 600px" class="fh_table">
3224
- <thead>
3225
- <tr>
3226
- <th>Utente</th>
3227
-
3228
- <th style="width: 60px" class="actions"></th>
3229
- </tr>
3230
- </thead>
3231
- <tbody>
3232
- <tr
3233
- *ngFor="
3234
- let u of users;
3235
- let odd = odd;
3236
- let even = even
3237
- "
3238
- [ngClass]="{ odd: odd, even: even }"
3239
- >
3240
- <td>{{ u.cognome }} {{ u.nome }}</td>
3241
-
3242
- <td style="text-align: center;">
3243
- <a mat-icon-button (click)="delete_uassoc(u)">
3244
- <mat-icon>delete</mat-icon>
3245
- </a>
3246
- </td>
3247
- </tr>
3248
- </tbody>
3249
- </table>
3250
- </section>
3251
- </div>
3252
- </td>
3253
- </tr>
3254
- </table>
3255
- </div>
3256
- </div>
3257
- <div fxLayout="row" fxLayoutAlign="center center" style="width: 100%">
3258
- <button mat-flat-button color="warn" (click)="dialogRef.close('')">
3259
- CHIUDI
3260
- </button>
3261
- </div>
3262
- </div>
3193
+ template: `
3194
+ <div fxLayout="column" style="height: 520px">
3195
+ <div fxLayout="row" style="width: 90%">
3196
+ <div style="width:100%" fxLayout="row" fxAlign="start center">
3197
+ <b>Seleziona&nbsp;per&nbsp;associare&nbsp;utente:</b
3198
+ >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
3199
+ <div style="width:100%">
3200
+ <FHAutoComplete
3201
+ sql="SELECT_NOT_USERS_BY_IDROLE"
3202
+ #autoc
3203
+ [init_fill]="false"
3204
+ (selchange)="add_assoc()"
3205
+ label="Add user"
3206
+ ></FHAutoComplete>
3207
+ </div>
3208
+ </div>
3209
+ </div>
3210
+ <div fxLayout="column" style="overflow-y: scroll;height:100%;">
3211
+ <div fxLayout="column" style="overflow-y: scroll;height:420px;">
3212
+ <table style="min-width:60%">
3213
+ <tr>
3214
+ <td>
3215
+ <div
3216
+ style="overflow-y: auto;"
3217
+ fxLayout="row"
3218
+ fxLayoutAlign="center start"
3219
+ [style.height]="m_appService.getState().body_height3"
3220
+ >
3221
+ <br />
3222
+ <section class="bs">
3223
+ <table style="min-width: 600px" class="fh_table">
3224
+ <thead>
3225
+ <tr>
3226
+ <th>Utente</th>
3227
+
3228
+ <th style="width: 60px" class="actions"></th>
3229
+ </tr>
3230
+ </thead>
3231
+ <tbody>
3232
+ <tr
3233
+ *ngFor="
3234
+ let u of users;
3235
+ let odd = odd;
3236
+ let even = even
3237
+ "
3238
+ [ngClass]="{ odd: odd, even: even }"
3239
+ >
3240
+ <td>{{ u.cognome }} {{ u.nome }}</td>
3241
+
3242
+ <td style="text-align: center;">
3243
+ <a mat-icon-button class="fh_icon_button" (click)="delete_uassoc(u)">
3244
+ <mat-icon>delete</mat-icon>
3245
+ </a>
3246
+ </td>
3247
+ </tr>
3248
+ </tbody>
3249
+ </table>
3250
+ </section>
3251
+ </div>
3252
+ </td>
3253
+ </tr>
3254
+ </table>
3255
+ </div>
3256
+ </div>
3257
+ <div fxLayout="row" fxLayoutAlign="center center" style="width: 100%">
3258
+ <button mat-flat-button color="warn" (click)="dialogRef.close('')">
3259
+ CHIUDI
3260
+ </button>
3261
+ </div>
3262
+ </div>
3263
3263
  `,
3264
3264
  imports: [
3265
3265
  FHAutoCompleteComponent,
@@ -3490,138 +3490,138 @@ class win_manage_values {
3490
3490
  });
3491
3491
  }
3492
3492
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: win_manage_values, deps: [{ token: i1$2.MatDialogRef }, { token: i3.ToastrService }, { token: AppService }, { token: QueryService }], target: i0.ɵɵFactoryTarget.Component });
3493
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: win_manage_values, isStandalone: true, selector: "win_manage_values", ngImport: i0, template: `
3494
- <div fxLayout="column">
3495
- <div fxLayout="row" class="dialog_header">
3496
- <div
3497
- fxLayout="row"
3498
- fxLayoutAlign="start center"
3499
- style="width:90%;padding-left: 20px;"
3500
- >
3501
- {{ title | translate }}
3502
- </div>
3503
- <div style="width:10%;">
3504
- <div style="width:100%;text-align: right;">
3505
- <img
3506
- src="assets/icons/x.png"
3507
- style="cursor: pointer;padding-right: 10px;"
3508
- (click)="dialogRef.close(null)"
3509
- />
3510
- </div>
3511
- </div>
3512
- </div>
3513
- <hr style="width:100%;size:0.5;color:#DDDDDD" />
3514
-
3515
- <mat-dialog-content>
3516
- <mat-card>
3517
- <mat-card-content>
3518
- <div fxLayout="column" fxLayoutGap="10px">
3519
-
3520
-
3521
- <div fxLayout="row" style="width: 90%" fxLayoutAlign="start center" fxLayoutGap="10px">
3522
- <mat-form-field appearance="outline" floatLabel="always"
3523
- ><mat-label>Descrizione</mat-label>
3524
- <input
3525
- matInput
3526
- [(ngModel)]="nValori.descrizione"
3527
- style="min-width:500px"
3528
- />
3529
- </mat-form-field>&nbsp;&nbsp;
3530
- <div>
3531
- <button
3532
- mat-flat-button
3533
- color="primary"
3534
- (click)="update_tassoc_ins(nValori)"
3535
- >
3536
- Inserisci
3537
- </button>
3538
- </div>
3539
- </div>
3540
- <div fxLayout="column">
3541
- <div fxLayout="column" style="overflow:auto;height:500px">
3542
- <table style="width: 90%" class="fh_table">
3543
- <thead>
3544
- <tr>
3545
- <th style="width:70%;">Descrizione</th>
3546
- <th style="width:5%;">V1</th>
3547
- <th style="width:5%;">V2</th>
3548
- <th style="width:5%;">V3</th>
3549
- <th style="width:10%;">Lingua</th>
3550
- <th style="width:5%;"></th>
3551
- </tr>
3552
- </thead>
3553
- <tbody>
3554
- <tr
3555
- *ngFor="let u of valoris; let odd = odd; let even = even"
3556
- [ngClass]="{ odd: odd, even: even }"
3557
- >
3558
- <td style="width:70%;">
3559
- <mat-form-field appearance="outline" floatLabel="always">
3560
- <input
3561
- matInput
3562
- [(ngModel)]="u.descrizione"
3563
- (focusout)="update_tassoc(u)"
3564
- />
3565
- </mat-form-field>
3566
- </td>
3567
- <td style="width:5%;">
3568
- <mat-form-field appearance="outline" floatLabel="always">
3569
- <input
3570
- matInput
3571
- type="text"
3572
- [(ngModel)]="u.v1"
3573
- (focusout)="update_tassoc(u)"
3574
- />
3575
- </mat-form-field>
3576
- </td>
3577
- <td style="width:5%;">
3578
- <mat-form-field appearance="outline" floatLabel="always">
3579
- <input
3580
- matInput
3581
- type="text"
3582
- [(ngModel)]="u.v2"
3583
- (focusout)="update_tassoc(u)"
3584
- />
3585
- </mat-form-field>
3586
- </td>
3587
- <td style="width:5%;">
3588
- <mat-form-field appearance="outline" floatLabel="always">
3589
- <input
3590
- matInput
3591
- type="text"
3592
- [(ngModel)]="u.v3"
3593
- (focusout)="update_tassoc(u)"
3594
- />
3595
- </mat-form-field>
3596
- </td>
3597
- <td style="width:10%;">
3598
- <mat-form-field appearance="outline" floatLabel="always">
3599
- <input
3600
- matInput
3601
- type="text"
3602
- [(ngModel)]="u.lingua"
3603
- (focusout)="update_tassoc(u)"
3604
- />
3605
- </mat-form-field>
3606
- </td>
3607
- <td style="width:5%;">
3608
- <a mat-icon-button (click)="delete_uassoc(u)">
3609
- <mat-icon>delete</mat-icon>
3610
- </a>
3611
- </td>
3612
- </tr>
3613
- </tbody>
3614
- </table>
3615
- </div>
3616
-
3617
- </div>
3618
- </div>
3619
-
3620
- </mat-card-content>
3621
- </mat-card>
3622
- </mat-dialog-content>
3623
- </div>
3624
-
3493
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: win_manage_values, isStandalone: true, selector: "win_manage_values", ngImport: i0, template: `
3494
+ <div fxLayout="column">
3495
+ <div fxLayout="row" class="dialog_header">
3496
+ <div
3497
+ fxLayout="row"
3498
+ fxLayoutAlign="start center"
3499
+ style="width:90%;padding-left: 20px;"
3500
+ >
3501
+ {{ title | translate }}
3502
+ </div>
3503
+ <div style="width:10%;">
3504
+ <div style="width:100%;text-align: right;">
3505
+ <img
3506
+ src="assets/icons/x.png"
3507
+ style="cursor: pointer;padding-right: 10px;"
3508
+ (click)="dialogRef.close(null)"
3509
+ />
3510
+ </div>
3511
+ </div>
3512
+ </div>
3513
+ <hr style="width:100%;size:0.5;color:#DDDDDD" />
3514
+
3515
+ <mat-dialog-content>
3516
+ <mat-card>
3517
+ <mat-card-content>
3518
+ <div fxLayout="column" fxLayoutGap="10px">
3519
+
3520
+
3521
+ <div fxLayout="row" style="width: 90%" fxLayoutAlign="start center" fxLayoutGap="10px">
3522
+ <mat-form-field appearance="outline" floatLabel="always"
3523
+ ><mat-label>Descrizione</mat-label>
3524
+ <input
3525
+ matInput
3526
+ [(ngModel)]="nValori.descrizione"
3527
+ style="min-width:500px"
3528
+ />
3529
+ </mat-form-field>&nbsp;&nbsp;
3530
+ <div>
3531
+ <button
3532
+ mat-flat-button
3533
+ color="primary"
3534
+ (click)="update_tassoc_ins(nValori)"
3535
+ >
3536
+ Inserisci
3537
+ </button>
3538
+ </div>
3539
+ </div>
3540
+ <div fxLayout="column">
3541
+ <div fxLayout="column" style="overflow:auto;height:500px">
3542
+ <table style="width: 90%" class="fh_table">
3543
+ <thead>
3544
+ <tr>
3545
+ <th style="width:70%;">Descrizione</th>
3546
+ <th style="width:5%;">V1</th>
3547
+ <th style="width:5%;">V2</th>
3548
+ <th style="width:5%;">V3</th>
3549
+ <th style="width:10%;">Lingua</th>
3550
+ <th style="width:5%;"></th>
3551
+ </tr>
3552
+ </thead>
3553
+ <tbody>
3554
+ <tr
3555
+ *ngFor="let u of valoris; let odd = odd; let even = even"
3556
+ [ngClass]="{ odd: odd, even: even }"
3557
+ >
3558
+ <td style="width:70%;">
3559
+ <mat-form-field appearance="outline" floatLabel="always">
3560
+ <input
3561
+ matInput
3562
+ [(ngModel)]="u.descrizione"
3563
+ (focusout)="update_tassoc(u)"
3564
+ />
3565
+ </mat-form-field>
3566
+ </td>
3567
+ <td style="width:5%;">
3568
+ <mat-form-field appearance="outline" floatLabel="always">
3569
+ <input
3570
+ matInput
3571
+ type="text"
3572
+ [(ngModel)]="u.v1"
3573
+ (focusout)="update_tassoc(u)"
3574
+ />
3575
+ </mat-form-field>
3576
+ </td>
3577
+ <td style="width:5%;">
3578
+ <mat-form-field appearance="outline" floatLabel="always">
3579
+ <input
3580
+ matInput
3581
+ type="text"
3582
+ [(ngModel)]="u.v2"
3583
+ (focusout)="update_tassoc(u)"
3584
+ />
3585
+ </mat-form-field>
3586
+ </td>
3587
+ <td style="width:5%;">
3588
+ <mat-form-field appearance="outline" floatLabel="always">
3589
+ <input
3590
+ matInput
3591
+ type="text"
3592
+ [(ngModel)]="u.v3"
3593
+ (focusout)="update_tassoc(u)"
3594
+ />
3595
+ </mat-form-field>
3596
+ </td>
3597
+ <td style="width:10%;">
3598
+ <mat-form-field appearance="outline" floatLabel="always">
3599
+ <input
3600
+ matInput
3601
+ type="text"
3602
+ [(ngModel)]="u.lingua"
3603
+ (focusout)="update_tassoc(u)"
3604
+ />
3605
+ </mat-form-field>
3606
+ </td>
3607
+ <td style="width:5%;">
3608
+ <a mat-icon-button class="fh_icon_button" (click)="delete_uassoc(u)">
3609
+ <mat-icon>delete</mat-icon>
3610
+ </a>
3611
+ </td>
3612
+ </tr>
3613
+ </tbody>
3614
+ </table>
3615
+ </div>
3616
+
3617
+ </div>
3618
+ </div>
3619
+
3620
+ </mat-card-content>
3621
+ </mat-card>
3622
+ </mat-dialog-content>
3623
+ </div>
3624
+
3625
3625
  `, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$2.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i6$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i6$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i5$1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i5$1.MatCardContent, selector: "mat-card-content" }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i6.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i6.MatLabel, selector: "mat-label" }, { 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: "ngmodule", type: MatInputModule }, { kind: "directive", type: i7.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }] });
3626
3626
  }
3627
3627
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: win_manage_values, decorators: [{
@@ -3635,138 +3635,138 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
3635
3635
  MatFormFieldModule,
3636
3636
  CommonModule,
3637
3637
  MatInputModule
3638
- ], template: `
3639
- <div fxLayout="column">
3640
- <div fxLayout="row" class="dialog_header">
3641
- <div
3642
- fxLayout="row"
3643
- fxLayoutAlign="start center"
3644
- style="width:90%;padding-left: 20px;"
3645
- >
3646
- {{ title | translate }}
3647
- </div>
3648
- <div style="width:10%;">
3649
- <div style="width:100%;text-align: right;">
3650
- <img
3651
- src="assets/icons/x.png"
3652
- style="cursor: pointer;padding-right: 10px;"
3653
- (click)="dialogRef.close(null)"
3654
- />
3655
- </div>
3656
- </div>
3657
- </div>
3658
- <hr style="width:100%;size:0.5;color:#DDDDDD" />
3659
-
3660
- <mat-dialog-content>
3661
- <mat-card>
3662
- <mat-card-content>
3663
- <div fxLayout="column" fxLayoutGap="10px">
3664
-
3665
-
3666
- <div fxLayout="row" style="width: 90%" fxLayoutAlign="start center" fxLayoutGap="10px">
3667
- <mat-form-field appearance="outline" floatLabel="always"
3668
- ><mat-label>Descrizione</mat-label>
3669
- <input
3670
- matInput
3671
- [(ngModel)]="nValori.descrizione"
3672
- style="min-width:500px"
3673
- />
3674
- </mat-form-field>&nbsp;&nbsp;
3675
- <div>
3676
- <button
3677
- mat-flat-button
3678
- color="primary"
3679
- (click)="update_tassoc_ins(nValori)"
3680
- >
3681
- Inserisci
3682
- </button>
3683
- </div>
3684
- </div>
3685
- <div fxLayout="column">
3686
- <div fxLayout="column" style="overflow:auto;height:500px">
3687
- <table style="width: 90%" class="fh_table">
3688
- <thead>
3689
- <tr>
3690
- <th style="width:70%;">Descrizione</th>
3691
- <th style="width:5%;">V1</th>
3692
- <th style="width:5%;">V2</th>
3693
- <th style="width:5%;">V3</th>
3694
- <th style="width:10%;">Lingua</th>
3695
- <th style="width:5%;"></th>
3696
- </tr>
3697
- </thead>
3698
- <tbody>
3699
- <tr
3700
- *ngFor="let u of valoris; let odd = odd; let even = even"
3701
- [ngClass]="{ odd: odd, even: even }"
3702
- >
3703
- <td style="width:70%;">
3704
- <mat-form-field appearance="outline" floatLabel="always">
3705
- <input
3706
- matInput
3707
- [(ngModel)]="u.descrizione"
3708
- (focusout)="update_tassoc(u)"
3709
- />
3710
- </mat-form-field>
3711
- </td>
3712
- <td style="width:5%;">
3713
- <mat-form-field appearance="outline" floatLabel="always">
3714
- <input
3715
- matInput
3716
- type="text"
3717
- [(ngModel)]="u.v1"
3718
- (focusout)="update_tassoc(u)"
3719
- />
3720
- </mat-form-field>
3721
- </td>
3722
- <td style="width:5%;">
3723
- <mat-form-field appearance="outline" floatLabel="always">
3724
- <input
3725
- matInput
3726
- type="text"
3727
- [(ngModel)]="u.v2"
3728
- (focusout)="update_tassoc(u)"
3729
- />
3730
- </mat-form-field>
3731
- </td>
3732
- <td style="width:5%;">
3733
- <mat-form-field appearance="outline" floatLabel="always">
3734
- <input
3735
- matInput
3736
- type="text"
3737
- [(ngModel)]="u.v3"
3738
- (focusout)="update_tassoc(u)"
3739
- />
3740
- </mat-form-field>
3741
- </td>
3742
- <td style="width:10%;">
3743
- <mat-form-field appearance="outline" floatLabel="always">
3744
- <input
3745
- matInput
3746
- type="text"
3747
- [(ngModel)]="u.lingua"
3748
- (focusout)="update_tassoc(u)"
3749
- />
3750
- </mat-form-field>
3751
- </td>
3752
- <td style="width:5%;">
3753
- <a mat-icon-button (click)="delete_uassoc(u)">
3754
- <mat-icon>delete</mat-icon>
3755
- </a>
3756
- </td>
3757
- </tr>
3758
- </tbody>
3759
- </table>
3760
- </div>
3761
-
3762
- </div>
3763
- </div>
3764
-
3765
- </mat-card-content>
3766
- </mat-card>
3767
- </mat-dialog-content>
3768
- </div>
3769
-
3638
+ ], template: `
3639
+ <div fxLayout="column">
3640
+ <div fxLayout="row" class="dialog_header">
3641
+ <div
3642
+ fxLayout="row"
3643
+ fxLayoutAlign="start center"
3644
+ style="width:90%;padding-left: 20px;"
3645
+ >
3646
+ {{ title | translate }}
3647
+ </div>
3648
+ <div style="width:10%;">
3649
+ <div style="width:100%;text-align: right;">
3650
+ <img
3651
+ src="assets/icons/x.png"
3652
+ style="cursor: pointer;padding-right: 10px;"
3653
+ (click)="dialogRef.close(null)"
3654
+ />
3655
+ </div>
3656
+ </div>
3657
+ </div>
3658
+ <hr style="width:100%;size:0.5;color:#DDDDDD" />
3659
+
3660
+ <mat-dialog-content>
3661
+ <mat-card>
3662
+ <mat-card-content>
3663
+ <div fxLayout="column" fxLayoutGap="10px">
3664
+
3665
+
3666
+ <div fxLayout="row" style="width: 90%" fxLayoutAlign="start center" fxLayoutGap="10px">
3667
+ <mat-form-field appearance="outline" floatLabel="always"
3668
+ ><mat-label>Descrizione</mat-label>
3669
+ <input
3670
+ matInput
3671
+ [(ngModel)]="nValori.descrizione"
3672
+ style="min-width:500px"
3673
+ />
3674
+ </mat-form-field>&nbsp;&nbsp;
3675
+ <div>
3676
+ <button
3677
+ mat-flat-button
3678
+ color="primary"
3679
+ (click)="update_tassoc_ins(nValori)"
3680
+ >
3681
+ Inserisci
3682
+ </button>
3683
+ </div>
3684
+ </div>
3685
+ <div fxLayout="column">
3686
+ <div fxLayout="column" style="overflow:auto;height:500px">
3687
+ <table style="width: 90%" class="fh_table">
3688
+ <thead>
3689
+ <tr>
3690
+ <th style="width:70%;">Descrizione</th>
3691
+ <th style="width:5%;">V1</th>
3692
+ <th style="width:5%;">V2</th>
3693
+ <th style="width:5%;">V3</th>
3694
+ <th style="width:10%;">Lingua</th>
3695
+ <th style="width:5%;"></th>
3696
+ </tr>
3697
+ </thead>
3698
+ <tbody>
3699
+ <tr
3700
+ *ngFor="let u of valoris; let odd = odd; let even = even"
3701
+ [ngClass]="{ odd: odd, even: even }"
3702
+ >
3703
+ <td style="width:70%;">
3704
+ <mat-form-field appearance="outline" floatLabel="always">
3705
+ <input
3706
+ matInput
3707
+ [(ngModel)]="u.descrizione"
3708
+ (focusout)="update_tassoc(u)"
3709
+ />
3710
+ </mat-form-field>
3711
+ </td>
3712
+ <td style="width:5%;">
3713
+ <mat-form-field appearance="outline" floatLabel="always">
3714
+ <input
3715
+ matInput
3716
+ type="text"
3717
+ [(ngModel)]="u.v1"
3718
+ (focusout)="update_tassoc(u)"
3719
+ />
3720
+ </mat-form-field>
3721
+ </td>
3722
+ <td style="width:5%;">
3723
+ <mat-form-field appearance="outline" floatLabel="always">
3724
+ <input
3725
+ matInput
3726
+ type="text"
3727
+ [(ngModel)]="u.v2"
3728
+ (focusout)="update_tassoc(u)"
3729
+ />
3730
+ </mat-form-field>
3731
+ </td>
3732
+ <td style="width:5%;">
3733
+ <mat-form-field appearance="outline" floatLabel="always">
3734
+ <input
3735
+ matInput
3736
+ type="text"
3737
+ [(ngModel)]="u.v3"
3738
+ (focusout)="update_tassoc(u)"
3739
+ />
3740
+ </mat-form-field>
3741
+ </td>
3742
+ <td style="width:10%;">
3743
+ <mat-form-field appearance="outline" floatLabel="always">
3744
+ <input
3745
+ matInput
3746
+ type="text"
3747
+ [(ngModel)]="u.lingua"
3748
+ (focusout)="update_tassoc(u)"
3749
+ />
3750
+ </mat-form-field>
3751
+ </td>
3752
+ <td style="width:5%;">
3753
+ <a mat-icon-button class="fh_icon_button" (click)="delete_uassoc(u)">
3754
+ <mat-icon>delete</mat-icon>
3755
+ </a>
3756
+ </td>
3757
+ </tr>
3758
+ </tbody>
3759
+ </table>
3760
+ </div>
3761
+
3762
+ </div>
3763
+ </div>
3764
+
3765
+ </mat-card-content>
3766
+ </mat-card>
3767
+ </mat-dialog-content>
3768
+ </div>
3769
+
3770
3770
  ` }]
3771
3771
  }], ctorParameters: () => [{ type: i1$2.MatDialogRef }, { type: i3.ToastrService }, { type: AppService }, { type: QueryService }] });
3772
3772
 
@@ -4420,6 +4420,7 @@ class FHUploadComponent {
4420
4420
  selezionare_tipologia = 'Selezionare la Tipologia';
4421
4421
  show_error = true;
4422
4422
  download_by_api = false;
4423
+ allowed_extensions = ''; // Estensioni consentite separate da virgola (es: ".pdf,.docx")
4423
4424
  lista_allegati = [];
4424
4425
  change = new EventEmitter();
4425
4426
  upload_ended = new EventEmitter();
@@ -4484,6 +4485,16 @@ class FHUploadComponent {
4484
4485
  return;
4485
4486
  }
4486
4487
  }
4488
+ // Check allowed extensions if specified
4489
+ if (this.allowed_extensions && this.allowed_extensions.trim() !== '' && this.allowed_extensions !== '*') {
4490
+ const fileName = file.name;
4491
+ const fileExtension = fileName.substring(fileName.lastIndexOf('.')).toLowerCase();
4492
+ const allowedExtensions = this.allowed_extensions.toLowerCase().split(',').map(ext => ext.trim());
4493
+ if (!allowedExtensions.includes(fileExtension)) {
4494
+ this.toastr.error(`Estensione file non valida. Formati consentiti: ${this.allowed_extensions.toUpperCase()}`);
4495
+ return;
4496
+ }
4497
+ }
4487
4498
  // Check file size limit (1GB)
4488
4499
  const maxFileSize = 1000 * 1024 * 1024; // 1GB in bytes
4489
4500
  if (file.size > maxFileSize) {
@@ -4763,7 +4774,7 @@ class FHUploadComponent {
4763
4774
  });
4764
4775
  }
4765
4776
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHUploadComponent, deps: [{ token: QueryService }, { token: i3.ToastrService }, { token: i1$2.MatDialog }, { token: AppService }, { token: UtilityService }, { token: i3$2.TranslateService }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Component });
4766
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: FHUploadComponent, isStandalone: true, selector: "FHUpload", inputs: { lascia_il_file: "lascia_il_file", trascina_il_file: "trascina_il_file", show_download_button: "show_download_button", show_descri: "show_descri", enabled: "enabled", single: "single", descri_obb: "descri_obb", programma_da_eseguire: "programma_da_eseguire", label_attendere: "label_attendere", sovrascrivi_path: "sovrascrivi_path", fixed_label: "fixed_label", limit_string: "limit_string", allegato_inserito: "allegato_inserito", inserire_descrizione: "inserire_descrizione", selezionare_tipologia: "selezionare_tipologia", show_error: "show_error", download_by_api: "download_by_api", lista_allegati: "lista_allegati" }, outputs: { change: "change", upload_ended: "upload_ended", call_upload: "call_upload", fill_end: "fill_end", init_end: "init_end" }, viewQueries: [{ propertyName: "select_file", first: true, predicate: ["select_file"], descendants: true }, { propertyName: "cmb_tipo", first: true, predicate: ["cmb_tipo"], descendants: true }], ngImport: i0, template: `
4777
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: FHUploadComponent, isStandalone: true, selector: "FHUpload", inputs: { lascia_il_file: "lascia_il_file", trascina_il_file: "trascina_il_file", show_download_button: "show_download_button", show_descri: "show_descri", enabled: "enabled", single: "single", descri_obb: "descri_obb", programma_da_eseguire: "programma_da_eseguire", label_attendere: "label_attendere", sovrascrivi_path: "sovrascrivi_path", fixed_label: "fixed_label", limit_string: "limit_string", allegato_inserito: "allegato_inserito", inserire_descrizione: "inserire_descrizione", selezionare_tipologia: "selezionare_tipologia", show_error: "show_error", download_by_api: "download_by_api", allowed_extensions: "allowed_extensions", lista_allegati: "lista_allegati" }, outputs: { change: "change", upload_ended: "upload_ended", call_upload: "call_upload", fill_end: "fill_end", init_end: "init_end" }, viewQueries: [{ propertyName: "select_file", first: true, predicate: ["select_file"], descendants: true }, { propertyName: "cmb_tipo", first: true, predicate: ["cmb_tipo"], descendants: true }], ngImport: i0, template: `
4767
4778
  <div *ngIf="loading" fxLayout="row">
4768
4779
  <mat-spinner diameter="25"></mat-spinner>
4769
4780
  </div>
@@ -5082,6 +5093,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
5082
5093
  type: Input
5083
5094
  }], download_by_api: [{
5084
5095
  type: Input
5096
+ }], allowed_extensions: [{
5097
+ type: Input
5085
5098
  }], lista_allegati: [{
5086
5099
  type: Input
5087
5100
  }], change: [{
@@ -5119,6 +5132,7 @@ class FHWinUploadComponent {
5119
5132
  title = 'ALLEGATI';
5120
5133
  admin_role = '[ZZZ_DIS_CC]';
5121
5134
  sovrascrivi_path = '';
5135
+ allowed_extensions = '';
5122
5136
  close() {
5123
5137
  this.dialogRef.close(null);
5124
5138
  }
@@ -5147,6 +5161,8 @@ class FHWinUploadComponent {
5147
5161
  this.tipo = data.tipo;
5148
5162
  if (data.programma_da_eseguire != null)
5149
5163
  this.programma_da_eseguire = data.programma_da_eseguire;
5164
+ if (data.AllowedExtensions != null)
5165
+ this.allowed_extensions = data.AllowedExtensions;
5150
5166
  }
5151
5167
  }
5152
5168
  ngAfterViewInit() {
@@ -5196,6 +5212,7 @@ class FHWinUploadComponent {
5196
5212
  (upload_ended)="upload_ended()"
5197
5213
  [show_descri]="show_descri"
5198
5214
  [sovrascrivi_path]="sovrascrivi_path"
5215
+ [allowed_extensions]="allowed_extensions"
5199
5216
  ></FHUpload>
5200
5217
  </mat-dialog-content>
5201
5218
  <mat-dialog-actions>
@@ -5210,7 +5227,7 @@ class FHWinUploadComponent {
5210
5227
  </div>
5211
5228
  </mat-dialog-actions>
5212
5229
  </div>
5213
- `, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { 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: CommonModule }, { kind: "component", type: FHUploadComponent, selector: "FHUpload", inputs: ["lascia_il_file", "trascina_il_file", "show_download_button", "show_descri", "enabled", "single", "descri_obb", "programma_da_eseguire", "label_attendere", "sovrascrivi_path", "fixed_label", "limit_string", "allegato_inserito", "inserire_descrizione", "selezionare_tipologia", "show_error", "download_by_api", "lista_allegati"], outputs: ["change", "upload_ended", "call_upload", "fill_end", "init_end"] }, { 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"] }, { kind: "ngmodule", type: FlexLayoutModule }, { kind: "directive", type: i8$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i8$1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }] });
5230
+ `, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { 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: CommonModule }, { kind: "component", type: FHUploadComponent, selector: "FHUpload", inputs: ["lascia_il_file", "trascina_il_file", "show_download_button", "show_descri", "enabled", "single", "descri_obb", "programma_da_eseguire", "label_attendere", "sovrascrivi_path", "fixed_label", "limit_string", "allegato_inserito", "inserire_descrizione", "selezionare_tipologia", "show_error", "download_by_api", "allowed_extensions", "lista_allegati"], outputs: ["change", "upload_ended", "call_upload", "fill_end", "init_end"] }, { 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"] }, { kind: "ngmodule", type: FlexLayoutModule }, { kind: "directive", type: i8$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i8$1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }] });
5214
5231
  }
5215
5232
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHWinUploadComponent, decorators: [{
5216
5233
  type: Component,
@@ -5252,6 +5269,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
5252
5269
  (upload_ended)="upload_ended()"
5253
5270
  [show_descri]="show_descri"
5254
5271
  [sovrascrivi_path]="sovrascrivi_path"
5272
+ [allowed_extensions]="allowed_extensions"
5255
5273
  ></FHUpload>
5256
5274
  </mat-dialog-content>
5257
5275
  <mat-dialog-actions>
@@ -6869,6 +6887,7 @@ class FHFieldPickListComponent {
6869
6887
 
6870
6888
  <button
6871
6889
  mat-icon-button
6890
+ class="fh_icon_button"
6872
6891
  *ngIf="value && value.length > 0"
6873
6892
  [matTooltip]="getFormattedValues()"
6874
6893
  matTooltipPosition="above"
@@ -6938,6 +6957,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
6938
6957
 
6939
6958
  <button
6940
6959
  mat-icon-button
6960
+ class="fh_icon_button"
6941
6961
  *ngIf="value && value.length > 0"
6942
6962
  [matTooltip]="getFormattedValues()"
6943
6963
  matTooltipPosition="above"
@@ -7344,6 +7364,64 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
7344
7364
  args: [MAT_DIALOG_DATA]
7345
7365
  }] }] });
7346
7366
 
7367
+ /**
7368
+ * Modelli tipizzati per FHGridToolBar
7369
+ *
7370
+ * Questo file contiene le interfacce e gli enum per definire
7371
+ * i custom commands della toolbar in modo type-safe
7372
+ */
7373
+ /**
7374
+ * Tipi di comando disponibili per la toolbar
7375
+ */
7376
+ var FHToolbarCommandType;
7377
+ (function (FHToolbarCommandType) {
7378
+ /** Pulsante standard */
7379
+ FHToolbarCommandType["BUTTON"] = "button";
7380
+ /** Checkbox */
7381
+ FHToolbarCommandType["CHECKBOX"] = "checkbox";
7382
+ /** Spaziatore vuoto */
7383
+ FHToolbarCommandType["SPACER"] = "spacer";
7384
+ /** Table manager per gestione valori */
7385
+ FHToolbarCommandType["TABLE_MANAGER"] = "table_manager";
7386
+ })(FHToolbarCommandType || (FHToolbarCommandType = {}));
7387
+ /**
7388
+ * Helper per creare un comando button in modo type-safe
7389
+ */
7390
+ function createButtonCommand(config) {
7391
+ return {
7392
+ type: FHToolbarCommandType.BUTTON,
7393
+ ...config
7394
+ };
7395
+ }
7396
+ /**
7397
+ * Helper per creare un comando checkbox in modo type-safe
7398
+ */
7399
+ function createCheckboxCommand(config) {
7400
+ return {
7401
+ type: FHToolbarCommandType.CHECKBOX,
7402
+ ...config
7403
+ };
7404
+ }
7405
+ /**
7406
+ * Helper per creare uno spaziatore in modo type-safe
7407
+ */
7408
+ function createSpacerCommand() {
7409
+ return {
7410
+ type: FHToolbarCommandType.SPACER,
7411
+ command: ''
7412
+ };
7413
+ }
7414
+ /**
7415
+ * Helper per creare un comando table manager in modo type-safe
7416
+ */
7417
+ function createTableManagerCommand(application) {
7418
+ return {
7419
+ type: FHToolbarCommandType.TABLE_MANAGER,
7420
+ command: '',
7421
+ default_value: application
7422
+ };
7423
+ }
7424
+
7347
7425
  class FHGridToolBarComponent {
7348
7426
  show_help = false;
7349
7427
  help_label = 'HELP';
@@ -7359,9 +7437,9 @@ class FHGridToolBarComponent {
7359
7437
  ngAfterViewInit() {
7360
7438
  for (let i = 0; i < this.custom_commands.length; i++)
7361
7439
  if (this.custom_commands[i].type == null)
7362
- this.custom_commands[i].type = 'button';
7440
+ this.custom_commands[i].type = FHToolbarCommandType.BUTTON;
7363
7441
  this.custom_commands_primary.forEach((v) => {
7364
- v.type = (v.type || 'button');
7442
+ v.type = (v.type || FHToolbarCommandType.BUTTON);
7365
7443
  });
7366
7444
  }
7367
7445
  refresh_access(wkfx) {
@@ -7421,12 +7499,16 @@ class FHGridToolBarComponent {
7421
7499
  >
7422
7500
  <mat-toolbar>
7423
7501
  <div fxLayout="row" fxLayoutGap="3px" fxLayoutAlign="end center">
7424
- <button mat-flat-button (click)="link_doc()" style="background-color: #2B7CD3 !important;color:#FFFFFF" *ngIf="show_link">
7502
+ <button mat-flat-button (click)="link_doc()"
7503
+ class="fh_icon_button"
7504
+ style="background-color: #2B7CD3 !important;color:#FFFFFF" *ngIf="show_link">
7425
7505
  <mat-icon>launch</mat-icon>&nbsp;&nbsp;&nbsp;{{
7426
7506
  "LINK" | translate
7427
7507
  }}
7428
7508
  </button>
7429
- <button mat-flat-button (click)="help_doc()" style="background-color: #2B7CD3 !important;color:#FFFFFF" *ngIf="show_help">
7509
+ <button mat-flat-button (click)="help_doc()"
7510
+ class="fh_icon_button"
7511
+ style="background-color: #2B7CD3 !important;color:#FFFFFF" *ngIf="show_help">
7430
7512
  <mat-icon>help</mat-icon>&nbsp;&nbsp;&nbsp;{{
7431
7513
  help_label | translate
7432
7514
  }}
@@ -7440,7 +7522,7 @@ class FHGridToolBarComponent {
7440
7522
  (click)="insert_doc()"
7441
7523
  *ngIf="toolbar_wkfapp?.is_Ins && type != 'WKF_NO_EDIT'"
7442
7524
  color="accent"
7443
-
7525
+ class="fh_icon_button"
7444
7526
  >
7445
7527
  <mat-icon>note_add</mat-icon>&nbsp;&nbsp;&nbsp;{{
7446
7528
  "INSERISCI" | translate
@@ -7466,6 +7548,7 @@ class FHGridToolBarComponent {
7466
7548
  <button [hidden]="app.hidden!=null && app.hidden"
7467
7549
  mat-flat-button *ngIf="app.label && !app.tooltipMode"
7468
7550
  [color]="app.color"
7551
+ [class.fh_icon_button]="(app.label==null || app.label=='')"
7469
7552
  (click)="exec_command(app.command)"
7470
7553
  >
7471
7554
  <mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
@@ -7484,6 +7567,7 @@ class FHGridToolBarComponent {
7484
7567
  mat-flat-button *ngIf="!app.label"
7485
7568
  [color]="app.color"
7486
7569
  (click)="exec_command(app.command)"
7570
+ class="fh_icon_button"
7487
7571
  >
7488
7572
  <mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
7489
7573
  >
@@ -7567,12 +7651,12 @@ class FHGridToolBarComponent {
7567
7651
  [color]="app.color"
7568
7652
  (click)="exec_command(app.command)"
7569
7653
  >
7570
- <mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon>&nbsp;{{ app.label | translate }}
7654
+ <mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon>&nbsp;{{ (app.label || '') | translate }}
7571
7655
  </button>
7572
7656
  <button *ngIf="app.type == 'button' && app.tooltipMode" [hidden]="app.hidden"
7573
7657
  mat-flat-button
7574
7658
  [color]="app.color"
7575
- [matTooltip]="app.label | translate"
7659
+ [matTooltip]="(app.label||'') | translate"
7576
7660
  (click)="exec_command(app.command)"
7577
7661
  class="fh_icon_button"
7578
7662
  >
@@ -7582,7 +7666,7 @@ class FHGridToolBarComponent {
7582
7666
  <FHCheckBox
7583
7667
  *ngIf="app.type == 'checkbox'"
7584
7668
  (change)="selx(app.command, $event)"
7585
- [label]="app.label | translate"
7669
+ [label]="(app.label||'') | translate"
7586
7670
  [(ngModel)]="app.default_value"
7587
7671
  ></FHCheckBox>
7588
7672
  </div>
@@ -7609,18 +7693,23 @@ class FHGridToolBarComponent {
7609
7693
  >
7610
7694
  <mat-toolbar>
7611
7695
  <div fxLayout="row" fxLayoutGap="5px" fxLayoutAlign="end center">
7612
- <button mat-flat-button (click)="link_doc()" style="background-color: #2B7CD3 !important;color:#FFFFFF" *ngIf="show_link">
7696
+ <button mat-flat-button (click)="link_doc()"
7697
+ class="fh_icon_button"
7698
+ style="background-color: #2B7CD3 !important;color:#FFFFFF" *ngIf="show_link">
7613
7699
  <mat-icon>launch</mat-icon>&nbsp;&nbsp;&nbsp;{{
7614
7700
  "LINK" | translate
7615
7701
  }}
7616
7702
  </button>
7617
- <button mat-flat-button (click)="help_doc()" style="background-color: #2B7CD3 !important;color:#FFFFFF" *ngIf="show_help">
7703
+ <button mat-flat-button (click)="help_doc()"
7704
+ class="fh_icon_button"
7705
+ style="background-color: #2B7CD3 !important;color:#FFFFFF" *ngIf="show_help">
7618
7706
  <mat-icon>help</mat-icon>&nbsp;&nbsp;&nbsp;{{
7619
7707
  help_label | translate
7620
7708
  }}
7621
7709
  </button>
7622
7710
  <div style="width:200px" fxHide fxShow.gt-sm *ngIf="show_link || show_help"></div>
7623
- <button mat-flat-button (click)="new_doc()" color="primary">
7711
+ <button mat-flat-button (click)="new_doc()"
7712
+ color="primary">
7624
7713
  <mat-icon>note_add</mat-icon>&nbsp;&nbsp;&nbsp;{{
7625
7714
  "INSERISCI" | translate
7626
7715
  }}
@@ -7659,6 +7748,7 @@ class FHGridToolBarComponent {
7659
7748
  mat-flat-button *ngIf="!app.label"
7660
7749
  [color]="app.color"
7661
7750
  (click)="exec_command(app.command)"
7751
+ class="fh_icon_button"
7662
7752
  >
7663
7753
  <mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
7664
7754
  >
@@ -7720,6 +7810,7 @@ class FHGridToolBarComponent {
7720
7810
  mat-flat-button *ngIf="!app.label"
7721
7811
  [color]="app.color"
7722
7812
  (click)="exec_command(app.command)"
7813
+ class="fh_icon_button"
7723
7814
  >
7724
7815
  <mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
7725
7816
  >
@@ -7772,6 +7863,7 @@ class FHGridToolBarComponent {
7772
7863
  mat-flat-button *ngIf="!app.label"
7773
7864
  [color]="app.color"
7774
7865
  (click)="exec_command(app.command)"
7866
+ class="fh_icon_button"
7775
7867
  >
7776
7868
  <mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
7777
7869
  >
@@ -7832,6 +7924,7 @@ class FHGridToolBarComponent {
7832
7924
  mat-flat-button *ngIf="!app.label"
7833
7925
  [color]="app.color"
7834
7926
  (click)="exec_command(app.command)"
7927
+ class="fh_icon_button"
7835
7928
  >
7836
7929
  <mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
7837
7930
  >
@@ -7859,13 +7952,19 @@ class FHGridToolBarComponent {
7859
7952
  style="height: 70px;"
7860
7953
  fxLayoutAlign="end center"
7861
7954
  >
7862
- <button mat-flat-button (click)="link_doc()" style="background-color: #2B7CD3 !important;color:#FFFFFF" *ngIf="show_link">
7955
+ <button mat-flat-button (click)="link_doc()"
7956
+ style="background-color: #2B7CD3 !important;color:#FFFFFF"
7957
+ class="fh_icon_button"
7958
+ *ngIf="show_link">
7863
7959
  <mat-icon>launch</mat-icon>&nbsp;&nbsp;&nbsp;{{
7864
7960
  "LINK" | translate
7865
7961
  }}
7866
7962
  </button>
7867
7963
 
7868
- <button mat-flat-button (click)="help_doc()" style="background-color: #2B7CD3 !important;color:#FFFFFF" *ngIf="show_help">
7964
+ <button mat-flat-button (click)="help_doc()"
7965
+ class="fh_icon_button"
7966
+ style="background-color: #2B7CD3 !important;color:#FFFFFF"
7967
+ *ngIf="show_help">
7869
7968
  <mat-icon>help</mat-icon>&nbsp;&nbsp;&nbsp;{{
7870
7969
  help_label | translate
7871
7970
  }}
@@ -7901,12 +8000,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
7901
8000
  >
7902
8001
  <mat-toolbar>
7903
8002
  <div fxLayout="row" fxLayoutGap="3px" fxLayoutAlign="end center">
7904
- <button mat-flat-button (click)="link_doc()" style="background-color: #2B7CD3 !important;color:#FFFFFF" *ngIf="show_link">
8003
+ <button mat-flat-button (click)="link_doc()"
8004
+ class="fh_icon_button"
8005
+ style="background-color: #2B7CD3 !important;color:#FFFFFF" *ngIf="show_link">
7905
8006
  <mat-icon>launch</mat-icon>&nbsp;&nbsp;&nbsp;{{
7906
8007
  "LINK" | translate
7907
8008
  }}
7908
8009
  </button>
7909
- <button mat-flat-button (click)="help_doc()" style="background-color: #2B7CD3 !important;color:#FFFFFF" *ngIf="show_help">
8010
+ <button mat-flat-button (click)="help_doc()"
8011
+ class="fh_icon_button"
8012
+ style="background-color: #2B7CD3 !important;color:#FFFFFF" *ngIf="show_help">
7910
8013
  <mat-icon>help</mat-icon>&nbsp;&nbsp;&nbsp;{{
7911
8014
  help_label | translate
7912
8015
  }}
@@ -7920,7 +8023,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
7920
8023
  (click)="insert_doc()"
7921
8024
  *ngIf="toolbar_wkfapp?.is_Ins && type != 'WKF_NO_EDIT'"
7922
8025
  color="accent"
7923
-
8026
+ class="fh_icon_button"
7924
8027
  >
7925
8028
  <mat-icon>note_add</mat-icon>&nbsp;&nbsp;&nbsp;{{
7926
8029
  "INSERISCI" | translate
@@ -7946,6 +8049,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
7946
8049
  <button [hidden]="app.hidden!=null && app.hidden"
7947
8050
  mat-flat-button *ngIf="app.label && !app.tooltipMode"
7948
8051
  [color]="app.color"
8052
+ [class.fh_icon_button]="(app.label==null || app.label=='')"
7949
8053
  (click)="exec_command(app.command)"
7950
8054
  >
7951
8055
  <mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
@@ -7964,6 +8068,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
7964
8068
  mat-flat-button *ngIf="!app.label"
7965
8069
  [color]="app.color"
7966
8070
  (click)="exec_command(app.command)"
8071
+ class="fh_icon_button"
7967
8072
  >
7968
8073
  <mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
7969
8074
  >
@@ -8047,12 +8152,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
8047
8152
  [color]="app.color"
8048
8153
  (click)="exec_command(app.command)"
8049
8154
  >
8050
- <mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon>&nbsp;{{ app.label | translate }}
8155
+ <mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon>&nbsp;{{ (app.label || '') | translate }}
8051
8156
  </button>
8052
8157
  <button *ngIf="app.type == 'button' && app.tooltipMode" [hidden]="app.hidden"
8053
8158
  mat-flat-button
8054
8159
  [color]="app.color"
8055
- [matTooltip]="app.label | translate"
8160
+ [matTooltip]="(app.label||'') | translate"
8056
8161
  (click)="exec_command(app.command)"
8057
8162
  class="fh_icon_button"
8058
8163
  >
@@ -8062,7 +8167,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
8062
8167
  <FHCheckBox
8063
8168
  *ngIf="app.type == 'checkbox'"
8064
8169
  (change)="selx(app.command, $event)"
8065
- [label]="app.label | translate"
8170
+ [label]="(app.label||'') | translate"
8066
8171
  [(ngModel)]="app.default_value"
8067
8172
  ></FHCheckBox>
8068
8173
  </div>
@@ -8089,18 +8194,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
8089
8194
  >
8090
8195
  <mat-toolbar>
8091
8196
  <div fxLayout="row" fxLayoutGap="5px" fxLayoutAlign="end center">
8092
- <button mat-flat-button (click)="link_doc()" style="background-color: #2B7CD3 !important;color:#FFFFFF" *ngIf="show_link">
8197
+ <button mat-flat-button (click)="link_doc()"
8198
+ class="fh_icon_button"
8199
+ style="background-color: #2B7CD3 !important;color:#FFFFFF" *ngIf="show_link">
8093
8200
  <mat-icon>launch</mat-icon>&nbsp;&nbsp;&nbsp;{{
8094
8201
  "LINK" | translate
8095
8202
  }}
8096
8203
  </button>
8097
- <button mat-flat-button (click)="help_doc()" style="background-color: #2B7CD3 !important;color:#FFFFFF" *ngIf="show_help">
8204
+ <button mat-flat-button (click)="help_doc()"
8205
+ class="fh_icon_button"
8206
+ style="background-color: #2B7CD3 !important;color:#FFFFFF" *ngIf="show_help">
8098
8207
  <mat-icon>help</mat-icon>&nbsp;&nbsp;&nbsp;{{
8099
8208
  help_label | translate
8100
8209
  }}
8101
8210
  </button>
8102
8211
  <div style="width:200px" fxHide fxShow.gt-sm *ngIf="show_link || show_help"></div>
8103
- <button mat-flat-button (click)="new_doc()" color="primary">
8212
+ <button mat-flat-button (click)="new_doc()"
8213
+ color="primary">
8104
8214
  <mat-icon>note_add</mat-icon>&nbsp;&nbsp;&nbsp;{{
8105
8215
  "INSERISCI" | translate
8106
8216
  }}
@@ -8139,6 +8249,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
8139
8249
  mat-flat-button *ngIf="!app.label"
8140
8250
  [color]="app.color"
8141
8251
  (click)="exec_command(app.command)"
8252
+ class="fh_icon_button"
8142
8253
  >
8143
8254
  <mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
8144
8255
  >
@@ -8200,6 +8311,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
8200
8311
  mat-flat-button *ngIf="!app.label"
8201
8312
  [color]="app.color"
8202
8313
  (click)="exec_command(app.command)"
8314
+ class="fh_icon_button"
8203
8315
  >
8204
8316
  <mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
8205
8317
  >
@@ -8252,6 +8364,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
8252
8364
  mat-flat-button *ngIf="!app.label"
8253
8365
  [color]="app.color"
8254
8366
  (click)="exec_command(app.command)"
8367
+ class="fh_icon_button"
8255
8368
  >
8256
8369
  <mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
8257
8370
  >
@@ -8312,6 +8425,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
8312
8425
  mat-flat-button *ngIf="!app.label"
8313
8426
  [color]="app.color"
8314
8427
  (click)="exec_command(app.command)"
8428
+ class="fh_icon_button"
8315
8429
  >
8316
8430
  <mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
8317
8431
  >
@@ -8339,13 +8453,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
8339
8453
  style="height: 70px;"
8340
8454
  fxLayoutAlign="end center"
8341
8455
  >
8342
- <button mat-flat-button (click)="link_doc()" style="background-color: #2B7CD3 !important;color:#FFFFFF" *ngIf="show_link">
8456
+ <button mat-flat-button (click)="link_doc()"
8457
+ style="background-color: #2B7CD3 !important;color:#FFFFFF"
8458
+ class="fh_icon_button"
8459
+ *ngIf="show_link">
8343
8460
  <mat-icon>launch</mat-icon>&nbsp;&nbsp;&nbsp;{{
8344
8461
  "LINK" | translate
8345
8462
  }}
8346
8463
  </button>
8347
8464
 
8348
- <button mat-flat-button (click)="help_doc()" style="background-color: #2B7CD3 !important;color:#FFFFFF" *ngIf="show_help">
8465
+ <button mat-flat-button (click)="help_doc()"
8466
+ class="fh_icon_button"
8467
+ style="background-color: #2B7CD3 !important;color:#FFFFFF"
8468
+ *ngIf="show_help">
8349
8469
  <mat-icon>help</mat-icon>&nbsp;&nbsp;&nbsp;{{
8350
8470
  help_label | translate
8351
8471
  }}
@@ -10239,7 +10359,7 @@ class FHGridComponent {
10239
10359
  this.updateRow();
10240
10360
  }
10241
10361
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHGridComponent, deps: [{ token: GridService }, { token: i3.ToastrService }, { token: QueryService }, { token: AppService }, { token: i1$2.MatDialog }, { token: UtilityService }, { token: FileService }, { token: i8$4.Clipboard }, { token: i3$2.TranslateService }, { token: i1$1.HttpClient }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
10242
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: FHGridComponent, isStandalone: true, selector: "FHGrid", inputs: { theme: "theme", gridCursorPointer: "gridCursorPointer", pagination: "pagination", paginationPageSize: "paginationPageSize", paginationAutoPageSize: "paginationAutoPageSize", subtitle: "subtitle", forceFitSize: "forceFitSize", tooltipShowDelay: "tooltipShowDelay", elimina_label: "elimina_label", export_field_aggiuntivi: "export_field_aggiuntivi", end_point: "end_point", tbl_name: "tbl_name", columnDefs: "columnDefs", num_per_pag: "num_per_pag", grid_key: "grid_key", service: "service", enabled: "enabled", show_link: "show_link", show_help_bar: "show_help_bar", help_label_bar: "help_label_bar", auto_load: "auto_load", auto_height: "auto_height", enable_export: "enable_export", enabled_pag: "enabled_pag", show_help: "show_help", show_num_elem: "show_num_elem", private_pref: "private_pref", icons: "icons", system_dest: "system_dest", header_h: "header_h", selection_mode: "selection_mode", init_fill: "init_fill", no_pref: "no_pref", pref_hidden: "pref_hidden", enable_export_pdf: "enable_export_pdf", enable_export_xls: "enable_export_xls", enable_copy: "enable_copy", full_text_added_columns: "full_text_added_columns", autosize_at_ini: "autosize_at_ini", label_elementi: "label_elementi", trova_label: "trova_label", mantieni_impostazioni: "mantieni_impostazioni", rowHeight: "rowHeight", master_detail: "master_detail", detail_cell_renderer: "detail_cell_renderer", show_buttons: "show_buttons", custom_export: "custom_export", toolbar_type: "toolbar_type", toolbar_wkfapp: "toolbar_wkfapp", toolbar_custom_commands: "toolbar_custom_commands", exec_params: "exec_params", off_set: "off_set" }, outputs: { fill_end: "fill_end", cell_edited: "cell_edited", clicked: "clicked", dclicked: "dclicked", columndclicked: "columndclicked", cell_clicked: "cell_clicked", cellValueChanged: "cellValueChanged", command: "command", init_end: "init_end" }, host: { listeners: { "window:resize": "onResize(event)" } }, viewQueries: [{ propertyName: "gf", first: true, predicate: ["gf"], descendants: true }, { propertyName: "toggle_mantieni", first: true, predicate: ["toggle_mantieni"], descendants: true }], ngImport: i0, template: "<div fxLayout=\"column\" fxFlexFill>\r\n <div\r\n fxLayout=\"row\"\r\n fxLayout.xs=\"column\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutGap=\"3px\"\r\n [style.min-height]=\"show_buttons ? '55px': '35px'\"\r\n [hidden]=\"!show_buttons && !show_num_elem\"\r\n >\r\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\">\r\n <div *ngIf=\"show_num_elem\">\r\n <h3 *ngIf=\"num_r>=0\">{{num_r}}&nbsp;{{label_elementi | translate}}</h3>\r\n <h3 *ngIf=\"num_r<0\"><mat-progress-spinner diameter=\"30\" mode=\"indeterminate\"></mat-progress-spinner></h3>\r\n </div>\r\n &nbsp;&nbsp;&nbsp;\r\n <div\r\n fxLayout=\"row\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutGap=\"3px\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\r\n <input\r\n matInput\r\n [placeholder]=\"trova_label | translate\"\r\n (keydown)=\"keyDownFunctioncl($event)\"\r\n [(ngModel)]=\"ric_libera\"\r\n style=\"width: 200px; border: 1px solid; min-height: 30px\"\r\n />\r\n </div>\r\n <div\r\n matTooltip=\"REMOVE FILTER\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"show_pulisci_filtri\"\r\n >\r\n <button\r\n mat-flat-button\r\n (click)=\"pulisci_filtri()\"\r\n color=\"warn\"\r\n class=\"fh_icon_button\"\r\n >\r\n <mat-icon>filter_none</mat-icon>\r\n </button>\r\n </div>\r\n <div matTooltip=\"AUTO SIZE\" matTooltipPosition=\"above\">\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"autoSizeAll()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>swap_horiz</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n matTooltip=\"FIT SIZE\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"fitSizeAll()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>keyboard_tab</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n matTooltip=\"Refresh\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"Refresh()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>autorenew</mat-icon>\r\n </button>\r\n </div>\r\n &nbsp;&nbsp;&nbsp;&nbsp;\r\n <FHFilterComboBox\r\n fxHide\r\n fxShow.gt-sm\r\n [hidden]=\"!show_buttons || pref_hidden\"\r\n (selchange)=\"ch_config()\"\r\n (fillend)=\"fe_cfg()\"\r\n #gf\r\n [init_fill]=\"false\"\r\n ></FHFilterComboBox>\r\n <div\r\n matTooltip=\"Modifica Preferenza\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"curr_config!='-1'\"\r\n >\r\n <button\r\n mat-icon-button\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color: rgb(248, 105, 10)\" (click)=\"edit_config()\"\r\n >\r\n <mat-icon>save</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n matTooltip=\"Elimina Preferenza\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"curr_config!='-1'\"\r\n >\r\n <button\r\n mat-icon-button (click)=\"elimina_config()\"\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color: #CC0000\"\r\n >\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n fxShow.gt-sm\r\n matTooltip=\"Crea Nuova Preferenza\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-icon-button\r\n style=\"color: rgb(16, 98, 16)\" (click)=\"insert_config()\"\r\n >\r\n <mat-icon>library_add</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <mat-slide-toggle\r\n fxHide\r\n fxShow.gt-sm\r\n [hidden]=\"!show_buttons || pref_hidden\"\r\n (click)=\"ck_flag()\"\r\n #toggle_mantieni\r\n >\r\n {{mantieni_impostazioni}}\r\n </mat-slide-toggle>\r\n\r\n &nbsp;\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n matTooltip=\"HELP\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"show_buttons && show_help\"\r\n >\r\n <button\r\n mat-flat-button\r\n (click)=\"help_window()\"\r\n class=\"fh_icon_button\"\r\n color=\"primary\"\r\n >\r\n <mat-icon>help</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n &nbsp;&nbsp;&nbsp;&nbsp;\r\n <img\r\n *ngIf=\"enable_export && enable_export_pdf\"\r\n matTooltip=\"EXPORT PDF\"\r\n matTooltipPosition=\"above\"\r\n src=\"assets/icons/square-o/pdf.svg\"\r\n style=\"width: 24px; height: 24px; cursor: pointer\"\r\n (click)=\"print()\"\r\n alt=\"Export PDF\"\r\n width=\"24\"\r\n height=\"24\"\r\n />\r\n\r\n <img\r\n *ngIf=\"enable_export && enable_export_xls\"\r\n matTooltip=\"EXPORT EXCEL\"\r\n matTooltipPosition=\"above\"\r\n src=\"assets/icons/square-o/xlsx.svg\"\r\n style=\"width: 24px; height: 24px; cursor: pointer\"\r\n (click)=\"export_excel()\"\r\n alt=\"Export Excel\"\r\n width=\"24\"\r\n height=\"24\"\r\n />\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n fxLayoutAlign=\"start center\"\r\n *ngIf=\"subtitle\"\r\n >\r\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n <b>{{subtitle}}</b>\r\n </div>\r\n </div>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\" fxFlex *ngIf=\"enabled\">\r\n <FHGridToolBar\r\n (command)=\"docmd($event)\"\r\n [type]=\"toolbar_type\"\r\n [show_link]=\"show_link\"\r\n [show_help]=\"show_help_bar\"\r\n [help_label]=\"help_label_bar\"\r\n [custom_commands]=\"toolbar_custom_commands\"\r\n [toolbar_wkfapp]=\"toolbar_wkfapp\"\r\n [elimina_label]=\"elimina_label\"\r\n [sRow]=\"sRow\"\r\n ></FHGridToolBar>\r\n </div>\r\n </div>\r\n\r\n <div fxLayout=\"row\" style=\"width: 100%\" [fxFlex]=\"show_buttons ? 100:95\">\r\n <ag-grid-angular\r\n *ngIf=\"init_opt\"\r\n ref-agGrid\r\n style=\"width: 100%; height: 100%\"\r\n id=\"myGrid\"\r\n (cellDoubleClicked)=\"onColumnEvent($event)\"\r\n (cellClicked)=\"onCellClicked($event)\"\r\n [headerHeight]=\"header_h\"\r\n [groupHeaderHeight]=\"header_h\"\r\n [theme]=\"theme\"\r\n [singleClickEdit]=\"true\"\r\n [gridOptions]=\"gridOptions\"\r\n [columnDefs]=\"columnDefs\"\r\n [rowSelection]=\"selection_mode\"\r\n [tooltipShowDelay]=\"tooltipShowDelay\"\r\n [masterDetail]=\"master_detail\"\r\n [detailCellRenderer]=\"detail_cell_renderer\"\r\n (gridReady)=\"onReady($event)\"\r\n [icons]=\"icons\"\r\n (filterModified)=\"onFilterModified()\"\r\n (rowDoubleClicked)=\"onRowDClicked($event)\"\r\n (rowClicked)=\"onRowClicked($event)\"\r\n (columnVisible)=\"oncolumnEverythingChanged()\"\r\n (columnResized)=\"oncolumnEverythingChanged()\"\r\n (columnMoved)=\"oncolumnEverythingChanged()\"\r\n (cellValueChanged)=\"okr($event)\"\r\n (sortChanged)=\"onAfterSortChanged()\"\r\n (selectionChanged)=\"onSelectionChanged()\"\r\n >\r\n </ag-grid-angular>\r\n </div>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i6$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i6$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { 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: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i4$1.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: AgGridAngular, selector: "ag-grid-angular", inputs: ["gridOptions", "modules", "statusBar", "sideBar", "suppressContextMenu", "preventDefaultOnContextMenu", "allowContextMenuWithControlKey", "columnMenu", "suppressMenuHide", "enableBrowserTooltips", "tooltipTrigger", "tooltipShowDelay", "tooltipHideDelay", "tooltipMouseTrack", "tooltipShowMode", "tooltipInteraction", "popupParent", "copyHeadersToClipboard", "copyGroupHeadersToClipboard", "clipboardDelimiter", "suppressCopyRowsToClipboard", "suppressCopySingleCellRanges", "suppressLastEmptyLineOnPaste", "suppressClipboardPaste", "suppressClipboardApi", "suppressCutToClipboard", "columnDefs", "defaultColDef", "defaultColGroupDef", "columnTypes", "dataTypeDefinitions", "maintainColumnOrder", "enableStrictPivotColumnOrder", "suppressFieldDotNotation", "headerHeight", "groupHeaderHeight", "floatingFiltersHeight", "pivotHeaderHeight", "pivotGroupHeaderHeight", "allowDragFromColumnsToolPanel", "suppressMovableColumns", "suppressColumnMoveAnimation", "suppressMoveWhenColumnDragging", "suppressDragLeaveHidesColumns", "suppressGroupChangesColumnVisibility", "suppressMakeColumnVisibleAfterUnGroup", "suppressRowGroupHidesColumns", "colResizeDefault", "suppressAutoSize", "autoSizePadding", "skipHeaderOnAutoSize", "autoSizeStrategy", "components", "editType", "singleClickEdit", "suppressClickEdit", "readOnlyEdit", "stopEditingWhenCellsLoseFocus", "enterNavigatesVertically", "enterNavigatesVerticallyAfterEdit", "enableCellEditingOnBackspace", "undoRedoCellEditing", "undoRedoCellEditingLimit", "defaultCsvExportParams", "suppressCsvExport", "defaultExcelExportParams", "suppressExcelExport", "excelStyles", "findSearchValue", "findOptions", "quickFilterText", "cacheQuickFilter", "includeHiddenColumnsInQuickFilter", "quickFilterParser", "quickFilterMatcher", "applyQuickFilterBeforePivotOrAgg", "excludeChildrenWhenTreeDataFiltering", "enableAdvancedFilter", "alwaysPassFilter", "includeHiddenColumnsInAdvancedFilter", "advancedFilterParent", "advancedFilterBuilderParams", "suppressAdvancedFilterEval", "suppressSetFilterByDefault", "enableCharts", "chartThemes", "customChartThemes", "chartThemeOverrides", "chartToolPanelsDef", "chartMenuItems", "loadingCellRenderer", "loadingCellRendererParams", "loadingCellRendererSelector", "localeText", "masterDetail", "keepDetailRows", "keepDetailRowsCount", "detailCellRenderer", "detailCellRendererParams", "detailRowHeight", "detailRowAutoHeight", "context", "alignedGrids", "tabIndex", "rowBuffer", "valueCache", "valueCacheNeverExpires", "enableCellExpressions", "suppressTouch", "suppressFocusAfterRefresh", "suppressBrowserResizeObserver", "suppressPropertyNamesCheck", "suppressChangeDetection", "debug", "loading", "overlayLoadingTemplate", "loadingOverlayComponent", "loadingOverlayComponentParams", "suppressLoadingOverlay", "overlayNoRowsTemplate", "noRowsOverlayComponent", "noRowsOverlayComponentParams", "suppressNoRowsOverlay", "pagination", "paginationPageSize", "paginationPageSizeSelector", "paginationAutoPageSize", "paginateChildRows", "suppressPaginationPanel", "pivotMode", "pivotPanelShow", "pivotMaxGeneratedColumns", "pivotDefaultExpanded", "pivotColumnGroupTotals", "pivotRowTotals", "pivotSuppressAutoColumn", "suppressExpandablePivotGroups", "functionsReadOnly", "aggFuncs", "suppressAggFuncInHeader", "alwaysAggregateAtRootLevel", "aggregateOnlyChangedColumns", "suppressAggFilteredOnly", "removePivotHeaderRowWhenSingleValueColumn", "animateRows", "cellFlashDuration", "cellFadeDuration", "allowShowChangeAfterFilter", "domLayout", "ensureDomOrder", "enableCellSpan", "enableRtl", "suppressColumnVirtualisation", "suppressMaxRenderedRowRestriction", "suppressRowVirtualisation", "rowDragManaged", "suppressRowDrag", "suppressMoveWhenRowDragging", "rowDragEntireRow", "rowDragMultiRow", "rowDragText", "dragAndDropImageComponent", "dragAndDropImageComponentParams", "fullWidthCellRenderer", "fullWidthCellRendererParams", "embedFullWidthRows", "groupDisplayType", "groupDefaultExpanded", "autoGroupColumnDef", "groupMaintainOrder", "groupSelectsChildren", "groupLockGroupColumns", "groupAggFiltering", "groupTotalRow", "grandTotalRow", "suppressStickyTotalRow", "groupSuppressBlankHeader", "groupSelectsFiltered", "showOpenedGroup", "groupHideParentOfSingleChild", "groupRemoveSingleChildren", "groupRemoveLowestSingleChildren", "groupHideOpenParents", "groupAllowUnbalanced", "rowGroupPanelShow", "groupRowRenderer", "groupRowRendererParams", "treeData", "treeDataChildrenField", "treeDataParentIdField", "rowGroupPanelSuppressSort", "suppressGroupRowsSticky", "pinnedTopRowData", "pinnedBottomRowData", "enableRowPinning", "isRowPinnable", "isRowPinned", "rowModelType", "rowData", "asyncTransactionWaitMillis", "suppressModelUpdateAfterUpdateTransaction", "datasource", "cacheOverflowSize", "infiniteInitialRowCount", "serverSideInitialRowCount", "suppressServerSideFullWidthLoadingRow", "cacheBlockSize", "maxBlocksInCache", "maxConcurrentDatasourceRequests", "blockLoadDebounceMillis", "purgeClosedRowNodes", "serverSideDatasource", "serverSideSortAllLevels", "serverSideEnableClientSideSort", "serverSideOnlyRefreshFilteredGroups", "serverSidePivotResultFieldSeparator", "viewportDatasource", "viewportRowModelPageSize", "viewportRowModelBufferSize", "alwaysShowHorizontalScroll", "alwaysShowVerticalScroll", "debounceVerticalScrollbar", "suppressHorizontalScroll", "suppressScrollOnNewData", "suppressScrollWhenPopupsAreOpen", "suppressAnimationFrame", "suppressMiddleClickScrolls", "suppressPreventDefaultOnMouseWheel", "scrollbarWidth", "rowSelection", "cellSelection", "rowMultiSelectWithClick", "suppressRowDeselection", "suppressRowClickSelection", "suppressCellFocus", "suppressHeaderFocus", "selectionColumnDef", "rowNumbers", "suppressMultiRangeSelection", "enableCellTextSelection", "enableRangeSelection", "enableRangeHandle", "enableFillHandle", "fillHandleDirection", "suppressClearOnFillReduction", "sortingOrder", "accentedSort", "unSortIcon", "suppressMultiSort", "alwaysMultiSort", "multiSortKey", "suppressMaintainUnsortedOrder", "icons", "rowHeight", "rowStyle", "rowClass", "rowClassRules", "suppressRowHoverHighlight", "suppressRowTransform", "columnHoverHighlight", "gridId", "deltaSort", "treeDataDisplayType", "enableGroupEdit", "initialState", "theme", "loadThemeGoogleFonts", "themeCssLayer", "styleNonce", "themeStyleContainer", "getContextMenuItems", "getMainMenuItems", "postProcessPopup", "processUnpinnedColumns", "processCellForClipboard", "processHeaderForClipboard", "processGroupHeaderForClipboard", "processCellFromClipboard", "sendToClipboard", "processDataFromClipboard", "isExternalFilterPresent", "doesExternalFilterPass", "getChartToolbarItems", "createChartContainer", "focusGridInnerElement", "navigateToNextHeader", "tabToNextHeader", "navigateToNextCell", "tabToNextCell", "getLocaleText", "getDocument", "paginationNumberFormatter", "getGroupRowAgg", "isGroupOpenByDefault", "initialGroupOrderComparator", "processPivotResultColDef", "processPivotResultColGroupDef", "getDataPath", "getChildCount", "getServerSideGroupLevelParams", "isServerSideGroupOpenByDefault", "isApplyServerSideTransaction", "isServerSideGroup", "getServerSideGroupKey", "getBusinessKeyForNode", "getRowId", "resetRowDataOnUpdate", "processRowPostCreate", "isRowSelectable", "isRowMaster", "fillOperation", "postSortRows", "getRowStyle", "getRowClass", "getRowHeight", "isFullWidthRow"], outputs: ["toolPanelVisibleChanged", "toolPanelSizeChanged", "columnMenuVisibleChanged", "contextMenuVisibleChanged", "cutStart", "cutEnd", "pasteStart", "pasteEnd", "columnVisible", "columnPinned", "columnResized", "columnMoved", "columnValueChanged", "columnPivotModeChanged", "columnPivotChanged", "columnGroupOpened", "newColumnsLoaded", "gridColumnsChanged", "displayedColumnsChanged", "virtualColumnsChanged", "columnEverythingChanged", "columnHeaderMouseOver", "columnHeaderMouseLeave", "columnHeaderClicked", "columnHeaderContextMenu", "componentStateChanged", "cellValueChanged", "cellEditRequest", "rowValueChanged", "cellEditingStarted", "cellEditingStopped", "rowEditingStarted", "rowEditingStopped", "undoStarted", "undoEnded", "redoStarted", "redoEnded", "cellSelectionDeleteStart", "cellSelectionDeleteEnd", "rangeDeleteStart", "rangeDeleteEnd", "fillStart", "fillEnd", "filterOpened", "filterChanged", "filterModified", "advancedFilterBuilderVisibleChanged", "findChanged", "chartCreated", "chartRangeSelectionChanged", "chartOptionsChanged", "chartDestroyed", "cellKeyDown", "gridReady", "firstDataRendered", "gridSizeChanged", "modelUpdated", "virtualRowRemoved", "viewportChanged", "bodyScroll", "bodyScrollEnd", "dragStarted", "dragStopped", "dragCancelled", "stateUpdated", "paginationChanged", "rowDragEnter", "rowDragMove", "rowDragLeave", "rowDragEnd", "rowDragCancel", "rowResizeStarted", "rowResizeEnded", "columnRowGroupChanged", "rowGroupOpened", "expandOrCollapseAll", "pivotMaxColumnsExceeded", "pinnedRowDataChanged", "pinnedRowsChanged", "rowDataUpdated", "asyncTransactionsFlushed", "storeRefreshed", "headerFocused", "cellClicked", "cellDoubleClicked", "cellFocused", "cellMouseOver", "cellMouseOut", "cellMouseDown", "rowClicked", "rowDoubleClicked", "rowSelected", "selectionChanged", "cellContextMenu", "rangeSelectionChanged", "cellSelectionChanged", "tooltipShow", "tooltipHide", "sortChanged"] }, { kind: "ngmodule", type: FlexLayoutModule }, { kind: "directive", type: i8$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i8$1.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i8$1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i8$1.FlexFillDirective, selector: "[fxFill], [fxFlexFill]" }, { kind: "directive", type: i8$1.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i10.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }, { kind: "component", type: FHGridToolBarComponent, selector: "FHGridToolBar", inputs: ["show_help", "help_label", "show_link", "elimina_label", "b_wait", "type", "toolbar_wkfapp", "custom_commands", "custom_commands_primary", "sRow"], outputs: ["command"] }, { kind: "component", type: FHFilterComboboxComponent, selector: "FHFilterComboBox", inputs: ["init_fill", "sql", "types", "values", "hidden", "label", "enabled", "required", "sel_label", "valDef", "db_type"], outputs: ["fillend", "selchange", "initend"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i7.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { 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"] }, { kind: "component", type: i8$2.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }] });
10362
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: FHGridComponent, isStandalone: true, selector: "FHGrid", inputs: { theme: "theme", gridCursorPointer: "gridCursorPointer", pagination: "pagination", paginationPageSize: "paginationPageSize", paginationAutoPageSize: "paginationAutoPageSize", subtitle: "subtitle", forceFitSize: "forceFitSize", tooltipShowDelay: "tooltipShowDelay", elimina_label: "elimina_label", export_field_aggiuntivi: "export_field_aggiuntivi", end_point: "end_point", tbl_name: "tbl_name", columnDefs: "columnDefs", num_per_pag: "num_per_pag", grid_key: "grid_key", service: "service", enabled: "enabled", show_link: "show_link", show_help_bar: "show_help_bar", help_label_bar: "help_label_bar", auto_load: "auto_load", auto_height: "auto_height", enable_export: "enable_export", enabled_pag: "enabled_pag", show_help: "show_help", show_num_elem: "show_num_elem", private_pref: "private_pref", icons: "icons", system_dest: "system_dest", header_h: "header_h", selection_mode: "selection_mode", init_fill: "init_fill", no_pref: "no_pref", pref_hidden: "pref_hidden", enable_export_pdf: "enable_export_pdf", enable_export_xls: "enable_export_xls", enable_copy: "enable_copy", full_text_added_columns: "full_text_added_columns", autosize_at_ini: "autosize_at_ini", label_elementi: "label_elementi", trova_label: "trova_label", mantieni_impostazioni: "mantieni_impostazioni", rowHeight: "rowHeight", master_detail: "master_detail", detail_cell_renderer: "detail_cell_renderer", show_buttons: "show_buttons", custom_export: "custom_export", toolbar_type: "toolbar_type", toolbar_wkfapp: "toolbar_wkfapp", toolbar_custom_commands: "toolbar_custom_commands", exec_params: "exec_params", off_set: "off_set" }, outputs: { fill_end: "fill_end", cell_edited: "cell_edited", clicked: "clicked", dclicked: "dclicked", columndclicked: "columndclicked", cell_clicked: "cell_clicked", cellValueChanged: "cellValueChanged", command: "command", init_end: "init_end" }, host: { listeners: { "window:resize": "onResize(event)" } }, viewQueries: [{ propertyName: "gf", first: true, predicate: ["gf"], descendants: true }, { propertyName: "toggle_mantieni", first: true, predicate: ["toggle_mantieni"], descendants: true }], ngImport: i0, template: "<div fxLayout=\"column\" fxFlexFill>\r\n <div\r\n fxLayout=\"row\"\r\n fxLayout.xs=\"column\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutGap=\"3px\"\r\n [style.min-height]=\"show_buttons ? '55px': '35px'\"\r\n [hidden]=\"!show_buttons && !show_num_elem\"\r\n >\r\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\">\r\n <div *ngIf=\"show_num_elem\">\r\n <h3 *ngIf=\"num_r>=0\">{{num_r}}&nbsp;{{label_elementi | translate}}</h3>\r\n <h3 *ngIf=\"num_r<0\"><mat-progress-spinner diameter=\"30\" mode=\"indeterminate\"></mat-progress-spinner></h3>\r\n </div>\r\n &nbsp;&nbsp;&nbsp;\r\n <div\r\n fxLayout=\"row\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutGap=\"3px\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\r\n <input\r\n matInput\r\n [placeholder]=\"trova_label | translate\"\r\n (keydown)=\"keyDownFunctioncl($event)\"\r\n [(ngModel)]=\"ric_libera\"\r\n style=\"width: 200px; border: 1px solid; min-height: 30px\"\r\n />\r\n </div>\r\n <div\r\n matTooltip=\"REMOVE FILTER\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"show_pulisci_filtri\"\r\n >\r\n <button\r\n mat-flat-button\r\n (click)=\"pulisci_filtri()\"\r\n color=\"warn\"\r\n class=\"fh_icon_button\"\r\n >\r\n <mat-icon>filter_none</mat-icon>\r\n </button>\r\n </div>\r\n <div matTooltip=\"AUTO SIZE\" matTooltipPosition=\"above\">\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"autoSizeAll()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>swap_horiz</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n matTooltip=\"FIT SIZE\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"fitSizeAll()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>keyboard_tab</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n matTooltip=\"Refresh\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"Refresh()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>autorenew</mat-icon>\r\n </button>\r\n </div>\r\n &nbsp;&nbsp;&nbsp;&nbsp;\r\n <FHFilterComboBox\r\n fxHide\r\n fxShow.gt-sm\r\n [hidden]=\"!show_buttons || pref_hidden\"\r\n (selchange)=\"ch_config()\"\r\n (fillend)=\"fe_cfg()\"\r\n #gf\r\n [init_fill]=\"false\"\r\n ></FHFilterComboBox>\r\n <div\r\n matTooltip=\"Modifica Preferenza\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"curr_config!='-1'\"\r\n >\r\n <button\r\n mat-icon-button\r\n class=\"fh_icon_button\"\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color: rgb(248, 105, 10)\" (click)=\"edit_config()\"\r\n >\r\n <mat-icon>save</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n matTooltip=\"Elimina Preferenza\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"curr_config!='-1'\"\r\n >\r\n <button\r\n class=\"fh_icon_button\"\r\n mat-icon-button (click)=\"elimina_config()\"\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color: #CC0000\"\r\n >\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n fxShow.gt-sm\r\n matTooltip=\"Crea Nuova Preferenza\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-icon-button\r\n class=\"fh_icon_button\"\r\n style=\"color: rgb(16, 98, 16)\" (click)=\"insert_config()\"\r\n >\r\n <mat-icon>library_add</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <mat-slide-toggle\r\n fxHide\r\n fxShow.gt-sm\r\n [hidden]=\"!show_buttons || pref_hidden\"\r\n (click)=\"ck_flag()\"\r\n #toggle_mantieni\r\n >\r\n {{mantieni_impostazioni}}\r\n </mat-slide-toggle>\r\n\r\n &nbsp;\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n matTooltip=\"HELP\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"show_buttons && show_help\"\r\n >\r\n <button\r\n mat-flat-button\r\n (click)=\"help_window()\"\r\n class=\"fh_icon_button\"\r\n color=\"primary\"\r\n >\r\n <mat-icon>help</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n &nbsp;&nbsp;&nbsp;&nbsp;\r\n <img\r\n *ngIf=\"enable_export && enable_export_pdf\"\r\n matTooltip=\"EXPORT PDF\"\r\n matTooltipPosition=\"above\"\r\n src=\"assets/icons/square-o/pdf.svg\"\r\n style=\"width: 24px; height: 24px; cursor: pointer\"\r\n (click)=\"print()\"\r\n alt=\"Export PDF\"\r\n width=\"24\"\r\n height=\"24\"\r\n />\r\n\r\n <img\r\n *ngIf=\"enable_export && enable_export_xls\"\r\n matTooltip=\"EXPORT EXCEL\"\r\n matTooltipPosition=\"above\"\r\n src=\"assets/icons/square-o/xlsx.svg\"\r\n style=\"width: 24px; height: 24px; cursor: pointer\"\r\n (click)=\"export_excel()\"\r\n alt=\"Export Excel\"\r\n width=\"24\"\r\n height=\"24\"\r\n />\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n fxLayoutAlign=\"start center\"\r\n *ngIf=\"subtitle\"\r\n >\r\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n <b>{{subtitle}}</b>\r\n </div>\r\n </div>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\" fxFlex *ngIf=\"enabled\">\r\n <FHGridToolBar\r\n (command)=\"docmd($event)\"\r\n [type]=\"toolbar_type\"\r\n [show_link]=\"show_link\"\r\n [show_help]=\"show_help_bar\"\r\n [help_label]=\"help_label_bar\"\r\n [custom_commands]=\"toolbar_custom_commands\"\r\n [toolbar_wkfapp]=\"toolbar_wkfapp\"\r\n [elimina_label]=\"elimina_label\"\r\n [sRow]=\"sRow\"\r\n ></FHGridToolBar>\r\n </div>\r\n </div>\r\n\r\n <div fxLayout=\"row\" style=\"width: 100%\" [fxFlex]=\"show_buttons ? 100:95\">\r\n <ag-grid-angular\r\n *ngIf=\"init_opt\"\r\n ref-agGrid\r\n style=\"width: 100%; height: 100%\"\r\n id=\"myGrid\"\r\n (cellDoubleClicked)=\"onColumnEvent($event)\"\r\n (cellClicked)=\"onCellClicked($event)\"\r\n [headerHeight]=\"header_h\"\r\n [groupHeaderHeight]=\"header_h\"\r\n [theme]=\"theme\"\r\n [singleClickEdit]=\"true\"\r\n [gridOptions]=\"gridOptions\"\r\n [columnDefs]=\"columnDefs\"\r\n [rowSelection]=\"selection_mode\"\r\n [tooltipShowDelay]=\"tooltipShowDelay\"\r\n [masterDetail]=\"master_detail\"\r\n [detailCellRenderer]=\"detail_cell_renderer\"\r\n (gridReady)=\"onReady($event)\"\r\n [icons]=\"icons\"\r\n (filterModified)=\"onFilterModified()\"\r\n (rowDoubleClicked)=\"onRowDClicked($event)\"\r\n (rowClicked)=\"onRowClicked($event)\"\r\n (columnVisible)=\"oncolumnEverythingChanged()\"\r\n (columnResized)=\"oncolumnEverythingChanged()\"\r\n (columnMoved)=\"oncolumnEverythingChanged()\"\r\n (cellValueChanged)=\"okr($event)\"\r\n (sortChanged)=\"onAfterSortChanged()\"\r\n (selectionChanged)=\"onSelectionChanged()\"\r\n >\r\n </ag-grid-angular>\r\n </div>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i6$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i6$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { 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: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i4$1.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: AgGridAngular, selector: "ag-grid-angular", inputs: ["gridOptions", "modules", "statusBar", "sideBar", "suppressContextMenu", "preventDefaultOnContextMenu", "allowContextMenuWithControlKey", "columnMenu", "suppressMenuHide", "enableBrowserTooltips", "tooltipTrigger", "tooltipShowDelay", "tooltipHideDelay", "tooltipMouseTrack", "tooltipShowMode", "tooltipInteraction", "popupParent", "copyHeadersToClipboard", "copyGroupHeadersToClipboard", "clipboardDelimiter", "suppressCopyRowsToClipboard", "suppressCopySingleCellRanges", "suppressLastEmptyLineOnPaste", "suppressClipboardPaste", "suppressClipboardApi", "suppressCutToClipboard", "columnDefs", "defaultColDef", "defaultColGroupDef", "columnTypes", "dataTypeDefinitions", "maintainColumnOrder", "enableStrictPivotColumnOrder", "suppressFieldDotNotation", "headerHeight", "groupHeaderHeight", "floatingFiltersHeight", "pivotHeaderHeight", "pivotGroupHeaderHeight", "allowDragFromColumnsToolPanel", "suppressMovableColumns", "suppressColumnMoveAnimation", "suppressMoveWhenColumnDragging", "suppressDragLeaveHidesColumns", "suppressGroupChangesColumnVisibility", "suppressMakeColumnVisibleAfterUnGroup", "suppressRowGroupHidesColumns", "colResizeDefault", "suppressAutoSize", "autoSizePadding", "skipHeaderOnAutoSize", "autoSizeStrategy", "components", "editType", "singleClickEdit", "suppressClickEdit", "readOnlyEdit", "stopEditingWhenCellsLoseFocus", "enterNavigatesVertically", "enterNavigatesVerticallyAfterEdit", "enableCellEditingOnBackspace", "undoRedoCellEditing", "undoRedoCellEditingLimit", "defaultCsvExportParams", "suppressCsvExport", "defaultExcelExportParams", "suppressExcelExport", "excelStyles", "findSearchValue", "findOptions", "quickFilterText", "cacheQuickFilter", "includeHiddenColumnsInQuickFilter", "quickFilterParser", "quickFilterMatcher", "applyQuickFilterBeforePivotOrAgg", "excludeChildrenWhenTreeDataFiltering", "enableAdvancedFilter", "alwaysPassFilter", "includeHiddenColumnsInAdvancedFilter", "advancedFilterParent", "advancedFilterBuilderParams", "suppressAdvancedFilterEval", "suppressSetFilterByDefault", "enableCharts", "chartThemes", "customChartThemes", "chartThemeOverrides", "chartToolPanelsDef", "chartMenuItems", "loadingCellRenderer", "loadingCellRendererParams", "loadingCellRendererSelector", "localeText", "masterDetail", "keepDetailRows", "keepDetailRowsCount", "detailCellRenderer", "detailCellRendererParams", "detailRowHeight", "detailRowAutoHeight", "context", "alignedGrids", "tabIndex", "rowBuffer", "valueCache", "valueCacheNeverExpires", "enableCellExpressions", "suppressTouch", "suppressFocusAfterRefresh", "suppressBrowserResizeObserver", "suppressPropertyNamesCheck", "suppressChangeDetection", "debug", "loading", "overlayLoadingTemplate", "loadingOverlayComponent", "loadingOverlayComponentParams", "suppressLoadingOverlay", "overlayNoRowsTemplate", "noRowsOverlayComponent", "noRowsOverlayComponentParams", "suppressNoRowsOverlay", "pagination", "paginationPageSize", "paginationPageSizeSelector", "paginationAutoPageSize", "paginateChildRows", "suppressPaginationPanel", "pivotMode", "pivotPanelShow", "pivotMaxGeneratedColumns", "pivotDefaultExpanded", "pivotColumnGroupTotals", "pivotRowTotals", "pivotSuppressAutoColumn", "suppressExpandablePivotGroups", "functionsReadOnly", "aggFuncs", "suppressAggFuncInHeader", "alwaysAggregateAtRootLevel", "aggregateOnlyChangedColumns", "suppressAggFilteredOnly", "removePivotHeaderRowWhenSingleValueColumn", "animateRows", "cellFlashDuration", "cellFadeDuration", "allowShowChangeAfterFilter", "domLayout", "ensureDomOrder", "enableCellSpan", "enableRtl", "suppressColumnVirtualisation", "suppressMaxRenderedRowRestriction", "suppressRowVirtualisation", "rowDragManaged", "suppressRowDrag", "suppressMoveWhenRowDragging", "rowDragEntireRow", "rowDragMultiRow", "rowDragText", "dragAndDropImageComponent", "dragAndDropImageComponentParams", "fullWidthCellRenderer", "fullWidthCellRendererParams", "embedFullWidthRows", "groupDisplayType", "groupDefaultExpanded", "autoGroupColumnDef", "groupMaintainOrder", "groupSelectsChildren", "groupLockGroupColumns", "groupAggFiltering", "groupTotalRow", "grandTotalRow", "suppressStickyTotalRow", "groupSuppressBlankHeader", "groupSelectsFiltered", "showOpenedGroup", "groupHideParentOfSingleChild", "groupRemoveSingleChildren", "groupRemoveLowestSingleChildren", "groupHideOpenParents", "groupAllowUnbalanced", "rowGroupPanelShow", "groupRowRenderer", "groupRowRendererParams", "treeData", "treeDataChildrenField", "treeDataParentIdField", "rowGroupPanelSuppressSort", "suppressGroupRowsSticky", "pinnedTopRowData", "pinnedBottomRowData", "enableRowPinning", "isRowPinnable", "isRowPinned", "rowModelType", "rowData", "asyncTransactionWaitMillis", "suppressModelUpdateAfterUpdateTransaction", "datasource", "cacheOverflowSize", "infiniteInitialRowCount", "serverSideInitialRowCount", "suppressServerSideFullWidthLoadingRow", "cacheBlockSize", "maxBlocksInCache", "maxConcurrentDatasourceRequests", "blockLoadDebounceMillis", "purgeClosedRowNodes", "serverSideDatasource", "serverSideSortAllLevels", "serverSideEnableClientSideSort", "serverSideOnlyRefreshFilteredGroups", "serverSidePivotResultFieldSeparator", "viewportDatasource", "viewportRowModelPageSize", "viewportRowModelBufferSize", "alwaysShowHorizontalScroll", "alwaysShowVerticalScroll", "debounceVerticalScrollbar", "suppressHorizontalScroll", "suppressScrollOnNewData", "suppressScrollWhenPopupsAreOpen", "suppressAnimationFrame", "suppressMiddleClickScrolls", "suppressPreventDefaultOnMouseWheel", "scrollbarWidth", "rowSelection", "cellSelection", "rowMultiSelectWithClick", "suppressRowDeselection", "suppressRowClickSelection", "suppressCellFocus", "suppressHeaderFocus", "selectionColumnDef", "rowNumbers", "suppressMultiRangeSelection", "enableCellTextSelection", "enableRangeSelection", "enableRangeHandle", "enableFillHandle", "fillHandleDirection", "suppressClearOnFillReduction", "sortingOrder", "accentedSort", "unSortIcon", "suppressMultiSort", "alwaysMultiSort", "multiSortKey", "suppressMaintainUnsortedOrder", "icons", "rowHeight", "rowStyle", "rowClass", "rowClassRules", "suppressRowHoverHighlight", "suppressRowTransform", "columnHoverHighlight", "gridId", "deltaSort", "treeDataDisplayType", "enableGroupEdit", "initialState", "theme", "loadThemeGoogleFonts", "themeCssLayer", "styleNonce", "themeStyleContainer", "getContextMenuItems", "getMainMenuItems", "postProcessPopup", "processUnpinnedColumns", "processCellForClipboard", "processHeaderForClipboard", "processGroupHeaderForClipboard", "processCellFromClipboard", "sendToClipboard", "processDataFromClipboard", "isExternalFilterPresent", "doesExternalFilterPass", "getChartToolbarItems", "createChartContainer", "focusGridInnerElement", "navigateToNextHeader", "tabToNextHeader", "navigateToNextCell", "tabToNextCell", "getLocaleText", "getDocument", "paginationNumberFormatter", "getGroupRowAgg", "isGroupOpenByDefault", "initialGroupOrderComparator", "processPivotResultColDef", "processPivotResultColGroupDef", "getDataPath", "getChildCount", "getServerSideGroupLevelParams", "isServerSideGroupOpenByDefault", "isApplyServerSideTransaction", "isServerSideGroup", "getServerSideGroupKey", "getBusinessKeyForNode", "getRowId", "resetRowDataOnUpdate", "processRowPostCreate", "isRowSelectable", "isRowMaster", "fillOperation", "postSortRows", "getRowStyle", "getRowClass", "getRowHeight", "isFullWidthRow"], outputs: ["toolPanelVisibleChanged", "toolPanelSizeChanged", "columnMenuVisibleChanged", "contextMenuVisibleChanged", "cutStart", "cutEnd", "pasteStart", "pasteEnd", "columnVisible", "columnPinned", "columnResized", "columnMoved", "columnValueChanged", "columnPivotModeChanged", "columnPivotChanged", "columnGroupOpened", "newColumnsLoaded", "gridColumnsChanged", "displayedColumnsChanged", "virtualColumnsChanged", "columnEverythingChanged", "columnHeaderMouseOver", "columnHeaderMouseLeave", "columnHeaderClicked", "columnHeaderContextMenu", "componentStateChanged", "cellValueChanged", "cellEditRequest", "rowValueChanged", "cellEditingStarted", "cellEditingStopped", "rowEditingStarted", "rowEditingStopped", "undoStarted", "undoEnded", "redoStarted", "redoEnded", "cellSelectionDeleteStart", "cellSelectionDeleteEnd", "rangeDeleteStart", "rangeDeleteEnd", "fillStart", "fillEnd", "filterOpened", "filterChanged", "filterModified", "advancedFilterBuilderVisibleChanged", "findChanged", "chartCreated", "chartRangeSelectionChanged", "chartOptionsChanged", "chartDestroyed", "cellKeyDown", "gridReady", "firstDataRendered", "gridSizeChanged", "modelUpdated", "virtualRowRemoved", "viewportChanged", "bodyScroll", "bodyScrollEnd", "dragStarted", "dragStopped", "dragCancelled", "stateUpdated", "paginationChanged", "rowDragEnter", "rowDragMove", "rowDragLeave", "rowDragEnd", "rowDragCancel", "rowResizeStarted", "rowResizeEnded", "columnRowGroupChanged", "rowGroupOpened", "expandOrCollapseAll", "pivotMaxColumnsExceeded", "pinnedRowDataChanged", "pinnedRowsChanged", "rowDataUpdated", "asyncTransactionsFlushed", "storeRefreshed", "headerFocused", "cellClicked", "cellDoubleClicked", "cellFocused", "cellMouseOver", "cellMouseOut", "cellMouseDown", "rowClicked", "rowDoubleClicked", "rowSelected", "selectionChanged", "cellContextMenu", "rangeSelectionChanged", "cellSelectionChanged", "tooltipShow", "tooltipHide", "sortChanged"] }, { kind: "ngmodule", type: FlexLayoutModule }, { kind: "directive", type: i8$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i8$1.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i8$1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i8$1.FlexFillDirective, selector: "[fxFill], [fxFlexFill]" }, { kind: "directive", type: i8$1.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i10.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }, { kind: "component", type: FHGridToolBarComponent, selector: "FHGridToolBar", inputs: ["show_help", "help_label", "show_link", "elimina_label", "b_wait", "type", "toolbar_wkfapp", "custom_commands", "custom_commands_primary", "sRow"], outputs: ["command"] }, { kind: "component", type: FHFilterComboboxComponent, selector: "FHFilterComboBox", inputs: ["init_fill", "sql", "types", "values", "hidden", "label", "enabled", "required", "sel_label", "valDef", "db_type"], outputs: ["fillend", "selchange", "initend"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i7.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { 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"] }, { kind: "component", type: i8$2.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }] });
10243
10363
  }
10244
10364
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHGridComponent, decorators: [{
10245
10365
  type: Component,
@@ -10259,7 +10379,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
10259
10379
  MatInputModule,
10260
10380
  MatButtonModule,
10261
10381
  MatProgressSpinner
10262
- ], template: "<div fxLayout=\"column\" fxFlexFill>\r\n <div\r\n fxLayout=\"row\"\r\n fxLayout.xs=\"column\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutGap=\"3px\"\r\n [style.min-height]=\"show_buttons ? '55px': '35px'\"\r\n [hidden]=\"!show_buttons && !show_num_elem\"\r\n >\r\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\">\r\n <div *ngIf=\"show_num_elem\">\r\n <h3 *ngIf=\"num_r>=0\">{{num_r}}&nbsp;{{label_elementi | translate}}</h3>\r\n <h3 *ngIf=\"num_r<0\"><mat-progress-spinner diameter=\"30\" mode=\"indeterminate\"></mat-progress-spinner></h3>\r\n </div>\r\n &nbsp;&nbsp;&nbsp;\r\n <div\r\n fxLayout=\"row\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutGap=\"3px\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\r\n <input\r\n matInput\r\n [placeholder]=\"trova_label | translate\"\r\n (keydown)=\"keyDownFunctioncl($event)\"\r\n [(ngModel)]=\"ric_libera\"\r\n style=\"width: 200px; border: 1px solid; min-height: 30px\"\r\n />\r\n </div>\r\n <div\r\n matTooltip=\"REMOVE FILTER\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"show_pulisci_filtri\"\r\n >\r\n <button\r\n mat-flat-button\r\n (click)=\"pulisci_filtri()\"\r\n color=\"warn\"\r\n class=\"fh_icon_button\"\r\n >\r\n <mat-icon>filter_none</mat-icon>\r\n </button>\r\n </div>\r\n <div matTooltip=\"AUTO SIZE\" matTooltipPosition=\"above\">\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"autoSizeAll()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>swap_horiz</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n matTooltip=\"FIT SIZE\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"fitSizeAll()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>keyboard_tab</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n matTooltip=\"Refresh\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"Refresh()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>autorenew</mat-icon>\r\n </button>\r\n </div>\r\n &nbsp;&nbsp;&nbsp;&nbsp;\r\n <FHFilterComboBox\r\n fxHide\r\n fxShow.gt-sm\r\n [hidden]=\"!show_buttons || pref_hidden\"\r\n (selchange)=\"ch_config()\"\r\n (fillend)=\"fe_cfg()\"\r\n #gf\r\n [init_fill]=\"false\"\r\n ></FHFilterComboBox>\r\n <div\r\n matTooltip=\"Modifica Preferenza\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"curr_config!='-1'\"\r\n >\r\n <button\r\n mat-icon-button\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color: rgb(248, 105, 10)\" (click)=\"edit_config()\"\r\n >\r\n <mat-icon>save</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n matTooltip=\"Elimina Preferenza\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"curr_config!='-1'\"\r\n >\r\n <button\r\n mat-icon-button (click)=\"elimina_config()\"\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color: #CC0000\"\r\n >\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n fxShow.gt-sm\r\n matTooltip=\"Crea Nuova Preferenza\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-icon-button\r\n style=\"color: rgb(16, 98, 16)\" (click)=\"insert_config()\"\r\n >\r\n <mat-icon>library_add</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <mat-slide-toggle\r\n fxHide\r\n fxShow.gt-sm\r\n [hidden]=\"!show_buttons || pref_hidden\"\r\n (click)=\"ck_flag()\"\r\n #toggle_mantieni\r\n >\r\n {{mantieni_impostazioni}}\r\n </mat-slide-toggle>\r\n\r\n &nbsp;\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n matTooltip=\"HELP\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"show_buttons && show_help\"\r\n >\r\n <button\r\n mat-flat-button\r\n (click)=\"help_window()\"\r\n class=\"fh_icon_button\"\r\n color=\"primary\"\r\n >\r\n <mat-icon>help</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n &nbsp;&nbsp;&nbsp;&nbsp;\r\n <img\r\n *ngIf=\"enable_export && enable_export_pdf\"\r\n matTooltip=\"EXPORT PDF\"\r\n matTooltipPosition=\"above\"\r\n src=\"assets/icons/square-o/pdf.svg\"\r\n style=\"width: 24px; height: 24px; cursor: pointer\"\r\n (click)=\"print()\"\r\n alt=\"Export PDF\"\r\n width=\"24\"\r\n height=\"24\"\r\n />\r\n\r\n <img\r\n *ngIf=\"enable_export && enable_export_xls\"\r\n matTooltip=\"EXPORT EXCEL\"\r\n matTooltipPosition=\"above\"\r\n src=\"assets/icons/square-o/xlsx.svg\"\r\n style=\"width: 24px; height: 24px; cursor: pointer\"\r\n (click)=\"export_excel()\"\r\n alt=\"Export Excel\"\r\n width=\"24\"\r\n height=\"24\"\r\n />\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n fxLayoutAlign=\"start center\"\r\n *ngIf=\"subtitle\"\r\n >\r\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n <b>{{subtitle}}</b>\r\n </div>\r\n </div>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\" fxFlex *ngIf=\"enabled\">\r\n <FHGridToolBar\r\n (command)=\"docmd($event)\"\r\n [type]=\"toolbar_type\"\r\n [show_link]=\"show_link\"\r\n [show_help]=\"show_help_bar\"\r\n [help_label]=\"help_label_bar\"\r\n [custom_commands]=\"toolbar_custom_commands\"\r\n [toolbar_wkfapp]=\"toolbar_wkfapp\"\r\n [elimina_label]=\"elimina_label\"\r\n [sRow]=\"sRow\"\r\n ></FHGridToolBar>\r\n </div>\r\n </div>\r\n\r\n <div fxLayout=\"row\" style=\"width: 100%\" [fxFlex]=\"show_buttons ? 100:95\">\r\n <ag-grid-angular\r\n *ngIf=\"init_opt\"\r\n ref-agGrid\r\n style=\"width: 100%; height: 100%\"\r\n id=\"myGrid\"\r\n (cellDoubleClicked)=\"onColumnEvent($event)\"\r\n (cellClicked)=\"onCellClicked($event)\"\r\n [headerHeight]=\"header_h\"\r\n [groupHeaderHeight]=\"header_h\"\r\n [theme]=\"theme\"\r\n [singleClickEdit]=\"true\"\r\n [gridOptions]=\"gridOptions\"\r\n [columnDefs]=\"columnDefs\"\r\n [rowSelection]=\"selection_mode\"\r\n [tooltipShowDelay]=\"tooltipShowDelay\"\r\n [masterDetail]=\"master_detail\"\r\n [detailCellRenderer]=\"detail_cell_renderer\"\r\n (gridReady)=\"onReady($event)\"\r\n [icons]=\"icons\"\r\n (filterModified)=\"onFilterModified()\"\r\n (rowDoubleClicked)=\"onRowDClicked($event)\"\r\n (rowClicked)=\"onRowClicked($event)\"\r\n (columnVisible)=\"oncolumnEverythingChanged()\"\r\n (columnResized)=\"oncolumnEverythingChanged()\"\r\n (columnMoved)=\"oncolumnEverythingChanged()\"\r\n (cellValueChanged)=\"okr($event)\"\r\n (sortChanged)=\"onAfterSortChanged()\"\r\n (selectionChanged)=\"onSelectionChanged()\"\r\n >\r\n </ag-grid-angular>\r\n </div>\r\n</div>\r\n" }]
10382
+ ], template: "<div fxLayout=\"column\" fxFlexFill>\r\n <div\r\n fxLayout=\"row\"\r\n fxLayout.xs=\"column\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutGap=\"3px\"\r\n [style.min-height]=\"show_buttons ? '55px': '35px'\"\r\n [hidden]=\"!show_buttons && !show_num_elem\"\r\n >\r\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\">\r\n <div *ngIf=\"show_num_elem\">\r\n <h3 *ngIf=\"num_r>=0\">{{num_r}}&nbsp;{{label_elementi | translate}}</h3>\r\n <h3 *ngIf=\"num_r<0\"><mat-progress-spinner diameter=\"30\" mode=\"indeterminate\"></mat-progress-spinner></h3>\r\n </div>\r\n &nbsp;&nbsp;&nbsp;\r\n <div\r\n fxLayout=\"row\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutGap=\"3px\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\r\n <input\r\n matInput\r\n [placeholder]=\"trova_label | translate\"\r\n (keydown)=\"keyDownFunctioncl($event)\"\r\n [(ngModel)]=\"ric_libera\"\r\n style=\"width: 200px; border: 1px solid; min-height: 30px\"\r\n />\r\n </div>\r\n <div\r\n matTooltip=\"REMOVE FILTER\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"show_pulisci_filtri\"\r\n >\r\n <button\r\n mat-flat-button\r\n (click)=\"pulisci_filtri()\"\r\n color=\"warn\"\r\n class=\"fh_icon_button\"\r\n >\r\n <mat-icon>filter_none</mat-icon>\r\n </button>\r\n </div>\r\n <div matTooltip=\"AUTO SIZE\" matTooltipPosition=\"above\">\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"autoSizeAll()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>swap_horiz</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n matTooltip=\"FIT SIZE\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"fitSizeAll()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>keyboard_tab</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n matTooltip=\"Refresh\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"Refresh()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>autorenew</mat-icon>\r\n </button>\r\n </div>\r\n &nbsp;&nbsp;&nbsp;&nbsp;\r\n <FHFilterComboBox\r\n fxHide\r\n fxShow.gt-sm\r\n [hidden]=\"!show_buttons || pref_hidden\"\r\n (selchange)=\"ch_config()\"\r\n (fillend)=\"fe_cfg()\"\r\n #gf\r\n [init_fill]=\"false\"\r\n ></FHFilterComboBox>\r\n <div\r\n matTooltip=\"Modifica Preferenza\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"curr_config!='-1'\"\r\n >\r\n <button\r\n mat-icon-button\r\n class=\"fh_icon_button\"\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color: rgb(248, 105, 10)\" (click)=\"edit_config()\"\r\n >\r\n <mat-icon>save</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n matTooltip=\"Elimina Preferenza\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"curr_config!='-1'\"\r\n >\r\n <button\r\n class=\"fh_icon_button\"\r\n mat-icon-button (click)=\"elimina_config()\"\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color: #CC0000\"\r\n >\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n fxShow.gt-sm\r\n matTooltip=\"Crea Nuova Preferenza\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-icon-button\r\n class=\"fh_icon_button\"\r\n style=\"color: rgb(16, 98, 16)\" (click)=\"insert_config()\"\r\n >\r\n <mat-icon>library_add</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <mat-slide-toggle\r\n fxHide\r\n fxShow.gt-sm\r\n [hidden]=\"!show_buttons || pref_hidden\"\r\n (click)=\"ck_flag()\"\r\n #toggle_mantieni\r\n >\r\n {{mantieni_impostazioni}}\r\n </mat-slide-toggle>\r\n\r\n &nbsp;\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n matTooltip=\"HELP\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"show_buttons && show_help\"\r\n >\r\n <button\r\n mat-flat-button\r\n (click)=\"help_window()\"\r\n class=\"fh_icon_button\"\r\n color=\"primary\"\r\n >\r\n <mat-icon>help</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n &nbsp;&nbsp;&nbsp;&nbsp;\r\n <img\r\n *ngIf=\"enable_export && enable_export_pdf\"\r\n matTooltip=\"EXPORT PDF\"\r\n matTooltipPosition=\"above\"\r\n src=\"assets/icons/square-o/pdf.svg\"\r\n style=\"width: 24px; height: 24px; cursor: pointer\"\r\n (click)=\"print()\"\r\n alt=\"Export PDF\"\r\n width=\"24\"\r\n height=\"24\"\r\n />\r\n\r\n <img\r\n *ngIf=\"enable_export && enable_export_xls\"\r\n matTooltip=\"EXPORT EXCEL\"\r\n matTooltipPosition=\"above\"\r\n src=\"assets/icons/square-o/xlsx.svg\"\r\n style=\"width: 24px; height: 24px; cursor: pointer\"\r\n (click)=\"export_excel()\"\r\n alt=\"Export Excel\"\r\n width=\"24\"\r\n height=\"24\"\r\n />\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n fxLayoutAlign=\"start center\"\r\n *ngIf=\"subtitle\"\r\n >\r\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n <b>{{subtitle}}</b>\r\n </div>\r\n </div>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\" fxFlex *ngIf=\"enabled\">\r\n <FHGridToolBar\r\n (command)=\"docmd($event)\"\r\n [type]=\"toolbar_type\"\r\n [show_link]=\"show_link\"\r\n [show_help]=\"show_help_bar\"\r\n [help_label]=\"help_label_bar\"\r\n [custom_commands]=\"toolbar_custom_commands\"\r\n [toolbar_wkfapp]=\"toolbar_wkfapp\"\r\n [elimina_label]=\"elimina_label\"\r\n [sRow]=\"sRow\"\r\n ></FHGridToolBar>\r\n </div>\r\n </div>\r\n\r\n <div fxLayout=\"row\" style=\"width: 100%\" [fxFlex]=\"show_buttons ? 100:95\">\r\n <ag-grid-angular\r\n *ngIf=\"init_opt\"\r\n ref-agGrid\r\n style=\"width: 100%; height: 100%\"\r\n id=\"myGrid\"\r\n (cellDoubleClicked)=\"onColumnEvent($event)\"\r\n (cellClicked)=\"onCellClicked($event)\"\r\n [headerHeight]=\"header_h\"\r\n [groupHeaderHeight]=\"header_h\"\r\n [theme]=\"theme\"\r\n [singleClickEdit]=\"true\"\r\n [gridOptions]=\"gridOptions\"\r\n [columnDefs]=\"columnDefs\"\r\n [rowSelection]=\"selection_mode\"\r\n [tooltipShowDelay]=\"tooltipShowDelay\"\r\n [masterDetail]=\"master_detail\"\r\n [detailCellRenderer]=\"detail_cell_renderer\"\r\n (gridReady)=\"onReady($event)\"\r\n [icons]=\"icons\"\r\n (filterModified)=\"onFilterModified()\"\r\n (rowDoubleClicked)=\"onRowDClicked($event)\"\r\n (rowClicked)=\"onRowClicked($event)\"\r\n (columnVisible)=\"oncolumnEverythingChanged()\"\r\n (columnResized)=\"oncolumnEverythingChanged()\"\r\n (columnMoved)=\"oncolumnEverythingChanged()\"\r\n (cellValueChanged)=\"okr($event)\"\r\n (sortChanged)=\"onAfterSortChanged()\"\r\n (selectionChanged)=\"onSelectionChanged()\"\r\n >\r\n </ag-grid-angular>\r\n </div>\r\n</div>\r\n" }]
10263
10383
  }], ctorParameters: () => [{ type: GridService }, { type: i3.ToastrService }, { type: QueryService }, { type: AppService }, { type: i1$2.MatDialog }, { type: UtilityService }, { type: FileService }, { type: i8$4.Clipboard }, { type: i3$2.TranslateService }, { type: i1$1.HttpClient }, { type: i0.ChangeDetectorRef }], propDecorators: { theme: [{
10264
10384
  type: Input
10265
10385
  }], gridCursorPointer: [{
@@ -17626,6 +17746,7 @@ class FHUploadPanelComponent {
17626
17746
  <div *ngIf="enabled">
17627
17747
  <a
17628
17748
  mat-icon-button
17749
+ class="fh_icon_button"
17629
17750
  [matTooltip]="'Modifica Descrizione' | translate"
17630
17751
  *ngIf="app.can_edit"
17631
17752
  (click)="edit_descri(app)"
@@ -17635,6 +17756,7 @@ class FHUploadPanelComponent {
17635
17756
 
17636
17757
  <a
17637
17758
  mat-icon-button
17759
+ class="fh_icon_button"
17638
17760
  [matTooltip]="
17639
17761
  _trs.instant('Modifica Descrizione consentita solo a') +
17640
17762
  ': ' +
@@ -17657,6 +17779,7 @@ class FHUploadPanelComponent {
17657
17779
  <div fxLayout="row">
17658
17780
  <a
17659
17781
  mat-icon-button
17782
+ class="fh_icon_button"
17660
17783
  [matTooltip]="'Modifica Tipo' | translate"
17661
17784
  *ngIf="app.can_edit"
17662
17785
  (click)="edit_tipo(app)"
@@ -17666,6 +17789,7 @@ class FHUploadPanelComponent {
17666
17789
 
17667
17790
  <a
17668
17791
  mat-icon-button
17792
+ class="fh_icon_button"
17669
17793
  [matTooltip]="
17670
17794
  _trs.instant('Modifica Tipologia consentita solo a') +
17671
17795
  ': ' +
@@ -17696,6 +17820,7 @@ class FHUploadPanelComponent {
17696
17820
  <td *ngIf="enabled" style="text-align:center">
17697
17821
  <a
17698
17822
  mat-icon-button
17823
+ class="fh_icon_button"
17699
17824
  [matTooltip]="'Elimina File' | translate"
17700
17825
  *ngIf="app.can_delete"
17701
17826
  (click)="delete(app)"
@@ -17705,6 +17830,7 @@ class FHUploadPanelComponent {
17705
17830
 
17706
17831
  <a
17707
17832
  mat-icon-button
17833
+ class="fh_icon_button"
17708
17834
  [matTooltip]="
17709
17835
  _trs.instant('Eliminazione consentita solo a') +
17710
17836
  ': ' +
@@ -17838,6 +17964,7 @@ class FHUploadPanelComponent {
17838
17964
  <div *ngIf="enabled">
17839
17965
  <a
17840
17966
  mat-icon-button
17967
+ class="fh_icon_button"
17841
17968
  [matTooltip]="'Modifica Descrizione' | translate"
17842
17969
  *ngIf="app.can_edit"
17843
17970
  (click)="edit_descri(app)"
@@ -17847,6 +17974,7 @@ class FHUploadPanelComponent {
17847
17974
 
17848
17975
  <a
17849
17976
  mat-icon-button
17977
+ class="fh_icon_button"
17850
17978
  [matTooltip]="
17851
17979
  _trs.instant('Modifica Descrizione consentita solo a') +
17852
17980
  ': ' +
@@ -17918,6 +18046,7 @@ class FHUploadPanelComponent {
17918
18046
  <td *ngIf="enabled" style="text-align:center">
17919
18047
  <a
17920
18048
  mat-icon-button
18049
+ class="fh_icon_button"
17921
18050
  [matTooltip]="'Elimina File'"
17922
18051
  *ngIf="app.can_delete"
17923
18052
  (click)="delete(app)"
@@ -17927,6 +18056,7 @@ class FHUploadPanelComponent {
17927
18056
 
17928
18057
  <a
17929
18058
  mat-icon-button
18059
+ class="fh_icon_button"
17930
18060
  [matTooltip]="
17931
18061
  _trs.instant('Cancellazione consentita solo a') +
17932
18062
  ': ' +
@@ -17986,7 +18116,7 @@ class FHUploadPanelComponent {
17986
18116
  <div *ngIf="!b_ini && b_initt" style="color:#ff0000">
17987
18117
  <b>{{ 'ATTENZIONE COMPONENTE NON INIZIALIZZATO' | translate }}</b>
17988
18118
  </div>
17989
- `, isInline: true, styles: [""], dependencies: [{ 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"] }, { kind: "component", type: i8$2.MatIconAnchor, selector: "a[mat-icon-button]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i8$2.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { 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: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "component", type: FHUploadComponent, selector: "FHUpload", inputs: ["lascia_il_file", "trascina_il_file", "show_download_button", "show_descri", "enabled", "single", "descri_obb", "programma_da_eseguire", "label_attendere", "sovrascrivi_path", "fixed_label", "limit_string", "allegato_inserito", "inserire_descrizione", "selezionare_tipologia", "show_error", "download_by_api", "lista_allegati"], outputs: ["change", "upload_ended", "call_upload", "fill_end", "init_end"] }, { kind: "component", type: FHImageViewerComponent, selector: "fh-image-viewer", inputs: ["rotateClockwise", "rotateCounterClockwise", "next", "prev", "preview", "u"], outputs: ["notfullScreenEvent", "fullScreenEvent"] }, { 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: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: FlexLayoutModule }, { kind: "directive", type: i8$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i10.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }, { kind: "directive", type: i10.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }] });
18119
+ `, isInline: true, styles: [""], dependencies: [{ 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"] }, { kind: "component", type: i8$2.MatIconAnchor, selector: "a[mat-icon-button]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i8$2.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { 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: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "component", type: FHUploadComponent, selector: "FHUpload", inputs: ["lascia_il_file", "trascina_il_file", "show_download_button", "show_descri", "enabled", "single", "descri_obb", "programma_da_eseguire", "label_attendere", "sovrascrivi_path", "fixed_label", "limit_string", "allegato_inserito", "inserire_descrizione", "selezionare_tipologia", "show_error", "download_by_api", "allowed_extensions", "lista_allegati"], outputs: ["change", "upload_ended", "call_upload", "fill_end", "init_end"] }, { kind: "component", type: FHImageViewerComponent, selector: "fh-image-viewer", inputs: ["rotateClockwise", "rotateCounterClockwise", "next", "prev", "preview", "u"], outputs: ["notfullScreenEvent", "fullScreenEvent"] }, { 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: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: FlexLayoutModule }, { kind: "directive", type: i8$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i10.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }, { kind: "directive", type: i10.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }] });
17990
18120
  }
17991
18121
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHUploadPanelComponent, decorators: [{
17992
18122
  type: Component,
@@ -18134,6 +18264,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
18134
18264
  <div *ngIf="enabled">
18135
18265
  <a
18136
18266
  mat-icon-button
18267
+ class="fh_icon_button"
18137
18268
  [matTooltip]="'Modifica Descrizione' | translate"
18138
18269
  *ngIf="app.can_edit"
18139
18270
  (click)="edit_descri(app)"
@@ -18143,6 +18274,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
18143
18274
 
18144
18275
  <a
18145
18276
  mat-icon-button
18277
+ class="fh_icon_button"
18146
18278
  [matTooltip]="
18147
18279
  _trs.instant('Modifica Descrizione consentita solo a') +
18148
18280
  ': ' +
@@ -18165,6 +18297,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
18165
18297
  <div fxLayout="row">
18166
18298
  <a
18167
18299
  mat-icon-button
18300
+ class="fh_icon_button"
18168
18301
  [matTooltip]="'Modifica Tipo' | translate"
18169
18302
  *ngIf="app.can_edit"
18170
18303
  (click)="edit_tipo(app)"
@@ -18174,6 +18307,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
18174
18307
 
18175
18308
  <a
18176
18309
  mat-icon-button
18310
+ class="fh_icon_button"
18177
18311
  [matTooltip]="
18178
18312
  _trs.instant('Modifica Tipologia consentita solo a') +
18179
18313
  ': ' +
@@ -18204,6 +18338,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
18204
18338
  <td *ngIf="enabled" style="text-align:center">
18205
18339
  <a
18206
18340
  mat-icon-button
18341
+ class="fh_icon_button"
18207
18342
  [matTooltip]="'Elimina File' | translate"
18208
18343
  *ngIf="app.can_delete"
18209
18344
  (click)="delete(app)"
@@ -18213,6 +18348,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
18213
18348
 
18214
18349
  <a
18215
18350
  mat-icon-button
18351
+ class="fh_icon_button"
18216
18352
  [matTooltip]="
18217
18353
  _trs.instant('Eliminazione consentita solo a') +
18218
18354
  ': ' +
@@ -18346,6 +18482,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
18346
18482
  <div *ngIf="enabled">
18347
18483
  <a
18348
18484
  mat-icon-button
18485
+ class="fh_icon_button"
18349
18486
  [matTooltip]="'Modifica Descrizione' | translate"
18350
18487
  *ngIf="app.can_edit"
18351
18488
  (click)="edit_descri(app)"
@@ -18355,6 +18492,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
18355
18492
 
18356
18493
  <a
18357
18494
  mat-icon-button
18495
+ class="fh_icon_button"
18358
18496
  [matTooltip]="
18359
18497
  _trs.instant('Modifica Descrizione consentita solo a') +
18360
18498
  ': ' +
@@ -18426,6 +18564,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
18426
18564
  <td *ngIf="enabled" style="text-align:center">
18427
18565
  <a
18428
18566
  mat-icon-button
18567
+ class="fh_icon_button"
18429
18568
  [matTooltip]="'Elimina File'"
18430
18569
  *ngIf="app.can_delete"
18431
18570
  (click)="delete(app)"
@@ -18435,6 +18574,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
18435
18574
 
18436
18575
  <a
18437
18576
  mat-icon-button
18577
+ class="fh_icon_button"
18438
18578
  [matTooltip]="
18439
18579
  _trs.instant('Cancellazione consentita solo a') +
18440
18580
  ': ' +
@@ -19512,655 +19652,671 @@ class FHUploadPanelS3Component {
19512
19652
  });
19513
19653
  }
19514
19654
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHUploadPanelS3Component, deps: [{ token: AppService }, { token: QueryService }, { token: i3.ToastrService }, { token: i1$2.MatDialog }, { token: FileService }, { token: UtilityService }, { token: i3$2.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
19515
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: FHUploadPanelS3Component, isStandalone: true, selector: "FHUploadPanelS3", inputs: { enabled: "enabled", force_en: "force_en", dt_scadenza: "dt_scadenza", label: "label", sovrascrivi_path: "sovrascrivi_path", ruolo_supervisore: "ruolo_supervisore", access_control: "access_control", show_images: "show_images", can_delete_owner: "can_delete_owner" }, outputs: { change: "change", call_upload: "call_upload", init_end: "init_end", fill_end: "fill_end" }, viewQueries: [{ propertyName: "upc", first: true, predicate: ["upc"], descendants: true }], ngImport: i0, template: `
19516
-
19517
- <div fxLayout="column">
19518
- <h3 *ngIf="label != ''">{{ label }}</h3>
19519
- <div fxLayout="column">
19520
- <div [hidden]="!enabled">
19521
-
19522
- <FHUploadS3
19523
- [single]="b_False"
19524
- [label_attendere]="
19525
- force_en ? 'UPLOADING' : 'ATTENDERE UPLOAD IN CORSO' | translate
19526
- "
19527
- [fixed_label]="
19528
- force_en
19529
- ? ' (insert the description here before uploading the file)'
19530
- : ' (INSERISCI QUI LA DESCRIZIONE PRIMA DI CARICARE IL FILE)' | translate
19531
- "
19532
- [allegato_inserito]="
19533
- force_en ? 'Attachment Inserted' : 'ALLEGATO INSERITO' | translate
19534
- "
19535
- [lista_allegati]="arr_g"
19536
- (change)="ref_allegato()"
19537
- (call_upload)="call_up($event)"
19538
- #upc
19539
- ></FHUploadS3>
19540
- </div>
19541
- <table width="98%" class="fh_table" *ngIf="!image_type && !b_mobile">
19542
- <thead>
19543
- <tr class="header">
19544
- <th style="width:40px"></th>
19545
- <th style="width:50%">{{ force_en ? "Name" : "Nome" }}</th>
19546
- <th style="width:60px;text-align:center">Dim.</th>
19547
- <th style="width:40%">
19548
- {{ force_en ? "Description" : "Descrizione" }}
19549
- </th>
19550
- <th style="width:20%">
19551
- {{ force_en ? "Version" : "Versione" }}
19552
- </th>
19553
-
19554
- <th *ngIf="image_mode" class="actions"></th>
19555
- <th style="width:30%">{{ force_en ? "User" : "Utente" }}</th>
19556
- <th style="width:240px;text-align:center">
19557
- {{ force_en ? "Date" : "Data" }}
19558
- </th>
19559
- <th style="width:40px" class="actions"></th>
19560
- <th *ngIf="enabled" style="width:40px" class="actions"></th>
19561
- </tr>
19562
- </thead>
19563
- <tbody>
19564
- <tr
19565
- *ngFor="let app of arr_g; let odd = odd; let even = even"
19566
- [ngClass]="{ odd: odd, even: even }"
19567
- >
19568
- <td
19569
- style="text-align:center;vertical-align: middle;width:36px;height:36px;"
19570
- >
19571
- <div
19572
- style="text-align:center;vertical-align: middle;width:28px;height:28px;"
19573
- >
19574
- <img
19575
- src="assets/icons/square-o/{{ app.icon }}"
19576
- style="width:28px;height:28px;"
19577
- />
19578
- </div>
19579
- </td>
19580
- <td>{{ app.file_name_orig }}</td>
19581
- <td style="text-align:center">{{ app.dim }}</td>
19582
- <td>
19583
- <div fxLayout="row">
19584
- <div *ngIf="enabled">
19585
- <a
19586
- mat-icon-button
19587
- matTooltip="Modifica Descrizione"
19588
- *ngIf="app.can_edit"
19589
- (click)="edit_descri(app)"
19590
- >
19591
- <mat-icon>edit</mat-icon>
19592
- </a>
19593
-
19594
- <a
19595
- mat-icon-button
19596
- [matTooltip]="
19597
- 'Modifica Descrizione consentita solo a: ' + app.nc
19598
- "
19599
- *ngIf="!app.can_edit"
19600
- [disabled]="true"
19601
- >
19602
- <mat-icon>edit</mat-icon>
19603
- </a>
19604
- </div>
19605
- <div
19606
- [innerHTML]="app.descrizione_vis"
19607
- style="width:100%"
19608
- ></div>
19609
- </div>
19610
- </td>
19611
-
19612
- <td>
19613
- {{app.version}}
19614
- </td>
19615
-
19616
- <td *ngIf="image_mode"
19617
- style="min-width:400px;min-height: 400px"
19618
-
19619
- >
19620
- <fh-image-viewer [u]="app"></fh-image-viewer>
19621
- </td>
19622
-
19623
- <td>{{ app.nc }}</td>
19624
- <td style="text-align:center">
19625
- {{ app.dt_ins | date: "dd/MM/yyyy HH:mm:ss" }}
19626
- </td>
19627
- <td style="text-align:center">
19628
-
19629
- <button [hidden]="app.file_name_orig.indexOf('.eml')==-1 && app.file_name_orig.indexOf('.msg')==-1"
19630
- mat-icon-button
19631
- matTooltip="Preview"
19632
- (click)="preview_email(app)" class="fh_icon_button"
19633
- >
19634
- <mat-icon>visibility</mat-icon>
19635
- </button>
19636
- <button
19637
- mat-icon-button
19638
- matTooltip="Download File"
19639
- (click)="download_all(app)" class="fh_icon_button"
19640
- >
19641
- <mat-icon>file_download</mat-icon>
19642
- </button>
19643
- </td>
19644
-
19645
- <td *ngIf="enabled" style="text-align:center">
19646
- <a
19647
- mat-icon-button
19648
- matTooltip="Elimina File"
19649
- *ngIf="app.can_delete"
19650
- (click)="delete(app)"
19651
- >
19652
- <mat-icon>delete</mat-icon>
19653
- </a>
19654
-
19655
- <a
19656
- mat-icon-button
19657
- [matTooltip]="
19658
- 'Cancellazione consentita solo a: ' + app.can_delete_m
19659
- "
19660
- *ngIf="!app.can_delete"
19661
- [disabled]="true"
19662
- >
19663
- <mat-icon>delete</mat-icon>
19664
- </a>
19665
- </td>
19666
- </tr>
19667
- </tbody>
19668
- </table>
19669
- <table width="98%" class="fh_table" *ngIf="image_type && !b_mobile">
19670
- <thead>
19671
- <tr class="header">
19672
- <th style="width:40px"></th>
19673
- <th style="width:50%">{{ force_en ? "Name" : "Nome" }}</th>
19674
- <th style="width:60px;text-align:center">Dim.</th>
19675
-
19676
- <th style="width:20%">
19677
- {{ force_en ? "Description" : "Descrizione" }}
19678
- </th>
19679
- <th style="width:10%">
19680
- {{ force_en ? "Version" : "Versione" }}
19681
- </th>
19682
- <th style="width:40%"></th>
19683
-
19684
- <th style="width:10%">{{ force_en ? "User" : "Utente" }}</th>
19685
- <th style="width:240px;text-align:center">
19686
- {{ force_en ? "Date" : "Data" }}
19687
- </th>
19688
- <th style="width:40px" class="actions"></th>
19689
- <th *ngIf="enabled" style="width:40px" class="actions"></th>
19690
- </tr>
19691
- </thead>
19692
- <tbody>
19693
- <tr
19694
- *ngFor="let app of arr_g; let odd = odd; let even = even"
19695
-
19696
- [ngClass]="{ odd: odd, even: even }"
19697
- >
19698
- <td
19699
- style="text-align:center;vertical-align: middle;width:36px;height:36px;"
19700
- >
19701
- <div
19702
- style="text-align:center;vertical-align: middle;width:28px;height:28px;"
19703
- >
19704
- <img
19705
- src="assets/icons/square-o/{{ app.icon }}"
19706
- style="width:28px;height:28px;"
19707
- />
19708
- </div>
19709
- </td>
19710
-
19711
- <td>{{ app.file_name_orig }}</td>
19712
- <td style="text-align:center">{{ app.dim }}</td>
19713
- <td>
19714
- <div fxLayout="row">
19715
- <div *ngIf="enabled">
19716
- <a
19717
- mat-icon-button
19718
- matTooltip="Modifica Descrizione"
19719
- *ngIf="app.can_edit"
19720
- (click)="edit_descri(app)"
19721
- >
19722
- <mat-icon>edit</mat-icon>
19723
- </a>
19724
-
19725
- <a
19726
- mat-icon-button
19727
- [matTooltip]="
19728
- 'Modifica Descrizione consentita solo a: ' + app.nc
19729
- "
19730
- *ngIf="!app.can_edit"
19731
- [disabled]="true"
19732
- >
19733
- <mat-icon>edit</mat-icon>
19734
- </a>
19735
- </div>
19736
- <div
19737
- [innerHTML]="app.descrizione_vis"
19738
- style="width:100%"
19739
- ></div>
19740
- </div>
19741
- </td>
19742
- <td>
19743
- {{app.version}}
19744
- </td>
19745
-
19746
- <td
19747
- style="min-width:400px;min-height: 400px"
19748
- *ngIf="app.type == 'IMG'"
19749
- >
19750
- <fh-image-viewer [u]="app"></fh-image-viewer>
19751
- </td>
19752
- <td *ngIf="app.type != 'IMG'"></td>
19753
- <td>{{ app.nc }}</td>
19754
- <td style="text-align:center">
19755
- {{ app.dt_ins | date: "dd/MM/yyyy HH:mm:ss" }}
19756
- </td>
19757
- <td style="text-align:center">
19758
-
19759
- <button [hidden]="app.file_name_orig.indexOf('.eml')==-1 && app.file_name_orig.indexOf('.msg')==-1"
19760
- mat-icon-button
19761
- matTooltip="Preview"
19762
- (click)="preview_email(app)" class="fh_icon_button"
19763
- >
19764
- <mat-icon>visibility</mat-icon>
19765
- </button>
19766
- <button
19767
- mat-icon-button
19768
- matTooltip="Download File"
19769
- (click)="download_all(app)" class="fh_icon_button"
19770
- >
19771
- <mat-icon>file_download</mat-icon>
19772
- </button>
19773
- </td>
19774
-
19775
- <td *ngIf="enabled" style="text-align:center">
19776
- <a
19777
- mat-icon-button
19778
- matTooltip="Elimina File"
19779
- *ngIf="app.can_delete"
19780
- (click)="delete(app)"
19781
- >
19782
- <mat-icon>delete</mat-icon>
19783
- </a>
19784
-
19785
- <a
19786
- mat-icon-button
19787
- [matTooltip]="
19788
- 'Cancellazione consentita solo a: ' + app.can_delete_m
19789
- "
19790
- *ngIf="!app.can_delete"
19791
- [disabled]="true"
19792
- >
19793
- <mat-icon>delete</mat-icon>
19794
- </a>
19795
- </td>
19796
- </tr>
19797
- </tbody>
19798
- </table>
19799
- <table width="98%" class="fh_table" *ngIf="b_mobile">
19800
- <tbody>
19801
- <tr
19802
- *ngFor="let app of arr_g; let odd = odd; let even = even"
19803
-
19804
- [ngClass]="{ odd: odd, even: even }"
19805
- >
19806
- <td
19807
- style="text-align:center;vertical-align: middle;width:36px;height:36px;"
19808
- >
19809
- <div
19810
- style="text-align:center;vertical-align: middle;width:28px;height:28px;"
19811
- >
19812
- <img
19813
- src="assets/icons/square-o/{{ app.icon }}"
19814
- style="width:28px;height:28px;"
19815
- />
19816
- </div>
19817
- </td>
19818
- <td *ngIf="b_mobile" style="text-align:center">
19819
- {{ app.file_name_orig }}<br /><br />
19820
- <button
19821
- style="background-color: #F5F5F5"
19822
- (click)="download_all(app)"
19823
- mat-flat-button
19824
- >
19825
- DOWNLOAD
19826
- </button>
19827
- </td>
19828
- </tr>
19829
- </tbody>
19830
- </table>
19831
- </div>
19832
- </div>
19833
- <div *ngIf="!b_ini && b_initt" style="color:#ff0000">
19834
-
19835
- </div>
19836
- `, isInline: true, styles: [""], dependencies: [{ 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"] }, { kind: "component", type: i8$2.MatIconAnchor, selector: "a[mat-icon-button]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i8$2.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { 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: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "component", type: FHUploadS3Component, selector: "FHUploadS3", inputs: ["show_descri", "enabled", "single", "descri_obb", "programma_da_eseguire", "label_attendere", "fixed_label", "limit_string", "allegato_inserito", "inserire_descrizione", "lista_allegati", "lascia_il_file", "trascina_il_file"], outputs: ["change", "upload_ended", "call_upload"] }, { kind: "component", type: FHImageViewerComponent, selector: "fh-image-viewer", inputs: ["rotateClockwise", "rotateCounterClockwise", "next", "prev", "preview", "u"], outputs: ["notfullScreenEvent", "fullScreenEvent"] }, { 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: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
19837
- }
19838
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHUploadPanelS3Component, decorators: [{
19839
- type: Component,
19840
- args: [{ selector: "FHUploadPanelS3", imports: [
19841
- MatButtonModule,
19842
- MatTooltipModule, MatButtonModule, TranslateModule, FHUploadS3Component, FHImageViewerComponent, CommonModule, MatIconModule
19843
- ], template: `
19844
-
19845
- <div fxLayout="column">
19846
- <h3 *ngIf="label != ''">{{ label }}</h3>
19847
- <div fxLayout="column">
19848
- <div [hidden]="!enabled">
19849
-
19850
- <FHUploadS3
19851
- [single]="b_False"
19852
- [label_attendere]="
19853
- force_en ? 'UPLOADING' : 'ATTENDERE UPLOAD IN CORSO' | translate
19854
- "
19855
- [fixed_label]="
19856
- force_en
19857
- ? ' (insert the description here before uploading the file)'
19858
- : ' (INSERISCI QUI LA DESCRIZIONE PRIMA DI CARICARE IL FILE)' | translate
19859
- "
19860
- [allegato_inserito]="
19861
- force_en ? 'Attachment Inserted' : 'ALLEGATO INSERITO' | translate
19862
- "
19863
- [lista_allegati]="arr_g"
19864
- (change)="ref_allegato()"
19865
- (call_upload)="call_up($event)"
19866
- #upc
19867
- ></FHUploadS3>
19868
- </div>
19869
- <table width="98%" class="fh_table" *ngIf="!image_type && !b_mobile">
19870
- <thead>
19871
- <tr class="header">
19872
- <th style="width:40px"></th>
19873
- <th style="width:50%">{{ force_en ? "Name" : "Nome" }}</th>
19874
- <th style="width:60px;text-align:center">Dim.</th>
19875
- <th style="width:40%">
19876
- {{ force_en ? "Description" : "Descrizione" }}
19877
- </th>
19878
- <th style="width:20%">
19879
- {{ force_en ? "Version" : "Versione" }}
19880
- </th>
19881
-
19882
- <th *ngIf="image_mode" class="actions"></th>
19883
- <th style="width:30%">{{ force_en ? "User" : "Utente" }}</th>
19884
- <th style="width:240px;text-align:center">
19885
- {{ force_en ? "Date" : "Data" }}
19886
- </th>
19887
- <th style="width:40px" class="actions"></th>
19888
- <th *ngIf="enabled" style="width:40px" class="actions"></th>
19889
- </tr>
19890
- </thead>
19891
- <tbody>
19892
- <tr
19893
- *ngFor="let app of arr_g; let odd = odd; let even = even"
19894
- [ngClass]="{ odd: odd, even: even }"
19895
- >
19896
- <td
19897
- style="text-align:center;vertical-align: middle;width:36px;height:36px;"
19898
- >
19899
- <div
19900
- style="text-align:center;vertical-align: middle;width:28px;height:28px;"
19901
- >
19902
- <img
19903
- src="assets/icons/square-o/{{ app.icon }}"
19904
- style="width:28px;height:28px;"
19905
- />
19906
- </div>
19907
- </td>
19908
- <td>{{ app.file_name_orig }}</td>
19909
- <td style="text-align:center">{{ app.dim }}</td>
19910
- <td>
19911
- <div fxLayout="row">
19912
- <div *ngIf="enabled">
19913
- <a
19914
- mat-icon-button
19915
- matTooltip="Modifica Descrizione"
19916
- *ngIf="app.can_edit"
19917
- (click)="edit_descri(app)"
19918
- >
19919
- <mat-icon>edit</mat-icon>
19920
- </a>
19921
-
19922
- <a
19923
- mat-icon-button
19924
- [matTooltip]="
19925
- 'Modifica Descrizione consentita solo a: ' + app.nc
19926
- "
19927
- *ngIf="!app.can_edit"
19928
- [disabled]="true"
19929
- >
19930
- <mat-icon>edit</mat-icon>
19931
- </a>
19932
- </div>
19933
- <div
19934
- [innerHTML]="app.descrizione_vis"
19935
- style="width:100%"
19936
- ></div>
19937
- </div>
19938
- </td>
19939
-
19940
- <td>
19941
- {{app.version}}
19942
- </td>
19943
-
19944
- <td *ngIf="image_mode"
19945
- style="min-width:400px;min-height: 400px"
19946
-
19947
- >
19948
- <fh-image-viewer [u]="app"></fh-image-viewer>
19949
- </td>
19950
-
19951
- <td>{{ app.nc }}</td>
19952
- <td style="text-align:center">
19953
- {{ app.dt_ins | date: "dd/MM/yyyy HH:mm:ss" }}
19954
- </td>
19955
- <td style="text-align:center">
19956
-
19957
- <button [hidden]="app.file_name_orig.indexOf('.eml')==-1 && app.file_name_orig.indexOf('.msg')==-1"
19958
- mat-icon-button
19959
- matTooltip="Preview"
19960
- (click)="preview_email(app)" class="fh_icon_button"
19961
- >
19962
- <mat-icon>visibility</mat-icon>
19963
- </button>
19964
- <button
19965
- mat-icon-button
19966
- matTooltip="Download File"
19967
- (click)="download_all(app)" class="fh_icon_button"
19968
- >
19969
- <mat-icon>file_download</mat-icon>
19970
- </button>
19971
- </td>
19972
-
19973
- <td *ngIf="enabled" style="text-align:center">
19974
- <a
19975
- mat-icon-button
19976
- matTooltip="Elimina File"
19977
- *ngIf="app.can_delete"
19978
- (click)="delete(app)"
19979
- >
19980
- <mat-icon>delete</mat-icon>
19981
- </a>
19982
-
19983
- <a
19984
- mat-icon-button
19985
- [matTooltip]="
19986
- 'Cancellazione consentita solo a: ' + app.can_delete_m
19987
- "
19988
- *ngIf="!app.can_delete"
19989
- [disabled]="true"
19990
- >
19991
- <mat-icon>delete</mat-icon>
19992
- </a>
19993
- </td>
19994
- </tr>
19995
- </tbody>
19996
- </table>
19997
- <table width="98%" class="fh_table" *ngIf="image_type && !b_mobile">
19998
- <thead>
19999
- <tr class="header">
20000
- <th style="width:40px"></th>
20001
- <th style="width:50%">{{ force_en ? "Name" : "Nome" }}</th>
20002
- <th style="width:60px;text-align:center">Dim.</th>
20003
-
20004
- <th style="width:20%">
20005
- {{ force_en ? "Description" : "Descrizione" }}
20006
- </th>
20007
- <th style="width:10%">
20008
- {{ force_en ? "Version" : "Versione" }}
20009
- </th>
20010
- <th style="width:40%"></th>
20011
-
20012
- <th style="width:10%">{{ force_en ? "User" : "Utente" }}</th>
20013
- <th style="width:240px;text-align:center">
20014
- {{ force_en ? "Date" : "Data" }}
20015
- </th>
20016
- <th style="width:40px" class="actions"></th>
20017
- <th *ngIf="enabled" style="width:40px" class="actions"></th>
20018
- </tr>
20019
- </thead>
20020
- <tbody>
20021
- <tr
20022
- *ngFor="let app of arr_g; let odd = odd; let even = even"
20023
-
20024
- [ngClass]="{ odd: odd, even: even }"
20025
- >
20026
- <td
20027
- style="text-align:center;vertical-align: middle;width:36px;height:36px;"
20028
- >
20029
- <div
20030
- style="text-align:center;vertical-align: middle;width:28px;height:28px;"
20031
- >
20032
- <img
20033
- src="assets/icons/square-o/{{ app.icon }}"
20034
- style="width:28px;height:28px;"
20035
- />
20036
- </div>
20037
- </td>
20038
-
20039
- <td>{{ app.file_name_orig }}</td>
20040
- <td style="text-align:center">{{ app.dim }}</td>
20041
- <td>
20042
- <div fxLayout="row">
20043
- <div *ngIf="enabled">
20044
- <a
20045
- mat-icon-button
20046
- matTooltip="Modifica Descrizione"
20047
- *ngIf="app.can_edit"
20048
- (click)="edit_descri(app)"
20049
- >
20050
- <mat-icon>edit</mat-icon>
20051
- </a>
20052
-
20053
- <a
20054
- mat-icon-button
20055
- [matTooltip]="
20056
- 'Modifica Descrizione consentita solo a: ' + app.nc
20057
- "
20058
- *ngIf="!app.can_edit"
20059
- [disabled]="true"
20060
- >
20061
- <mat-icon>edit</mat-icon>
20062
- </a>
20063
- </div>
20064
- <div
20065
- [innerHTML]="app.descrizione_vis"
20066
- style="width:100%"
20067
- ></div>
20068
- </div>
20069
- </td>
20070
- <td>
20071
- {{app.version}}
20072
- </td>
20073
-
20074
- <td
20075
- style="min-width:400px;min-height: 400px"
20076
- *ngIf="app.type == 'IMG'"
20077
- >
20078
- <fh-image-viewer [u]="app"></fh-image-viewer>
20079
- </td>
20080
- <td *ngIf="app.type != 'IMG'"></td>
20081
- <td>{{ app.nc }}</td>
20082
- <td style="text-align:center">
20083
- {{ app.dt_ins | date: "dd/MM/yyyy HH:mm:ss" }}
20084
- </td>
20085
- <td style="text-align:center">
20086
-
20087
- <button [hidden]="app.file_name_orig.indexOf('.eml')==-1 && app.file_name_orig.indexOf('.msg')==-1"
20088
- mat-icon-button
20089
- matTooltip="Preview"
20090
- (click)="preview_email(app)" class="fh_icon_button"
20091
- >
20092
- <mat-icon>visibility</mat-icon>
20093
- </button>
20094
- <button
20095
- mat-icon-button
20096
- matTooltip="Download File"
20097
- (click)="download_all(app)" class="fh_icon_button"
20098
- >
20099
- <mat-icon>file_download</mat-icon>
20100
- </button>
20101
- </td>
20102
-
20103
- <td *ngIf="enabled" style="text-align:center">
20104
- <a
20105
- mat-icon-button
20106
- matTooltip="Elimina File"
20107
- *ngIf="app.can_delete"
20108
- (click)="delete(app)"
20109
- >
20110
- <mat-icon>delete</mat-icon>
20111
- </a>
20112
-
20113
- <a
20114
- mat-icon-button
20115
- [matTooltip]="
20116
- 'Cancellazione consentita solo a: ' + app.can_delete_m
20117
- "
20118
- *ngIf="!app.can_delete"
20119
- [disabled]="true"
20120
- >
20121
- <mat-icon>delete</mat-icon>
20122
- </a>
20123
- </td>
20124
- </tr>
20125
- </tbody>
20126
- </table>
20127
- <table width="98%" class="fh_table" *ngIf="b_mobile">
20128
- <tbody>
20129
- <tr
20130
- *ngFor="let app of arr_g; let odd = odd; let even = even"
20131
-
20132
- [ngClass]="{ odd: odd, even: even }"
20133
- >
20134
- <td
20135
- style="text-align:center;vertical-align: middle;width:36px;height:36px;"
20136
- >
20137
- <div
20138
- style="text-align:center;vertical-align: middle;width:28px;height:28px;"
20139
- >
20140
- <img
20141
- src="assets/icons/square-o/{{ app.icon }}"
20142
- style="width:28px;height:28px;"
20143
- />
20144
- </div>
20145
- </td>
20146
- <td *ngIf="b_mobile" style="text-align:center">
20147
- {{ app.file_name_orig }}<br /><br />
20148
- <button
20149
- style="background-color: #F5F5F5"
20150
- (click)="download_all(app)"
20151
- mat-flat-button
20152
- >
20153
- DOWNLOAD
20154
- </button>
20155
- </td>
20156
- </tr>
20157
- </tbody>
20158
- </table>
20159
- </div>
20160
- </div>
20161
- <div *ngIf="!b_ini && b_initt" style="color:#ff0000">
20162
-
20163
- </div>
19655
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: FHUploadPanelS3Component, isStandalone: true, selector: "FHUploadPanelS3", inputs: { enabled: "enabled", force_en: "force_en", dt_scadenza: "dt_scadenza", label: "label", sovrascrivi_path: "sovrascrivi_path", ruolo_supervisore: "ruolo_supervisore", access_control: "access_control", show_images: "show_images", can_delete_owner: "can_delete_owner" }, outputs: { change: "change", call_upload: "call_upload", init_end: "init_end", fill_end: "fill_end" }, viewQueries: [{ propertyName: "upc", first: true, predicate: ["upc"], descendants: true }], ngImport: i0, template: `
19656
+
19657
+ <div fxLayout="column">
19658
+ <h3 *ngIf="label != ''">{{ label }}</h3>
19659
+ <div fxLayout="column">
19660
+ <div [hidden]="!enabled">
19661
+
19662
+ <FHUploadS3
19663
+ [single]="b_False"
19664
+ [label_attendere]="
19665
+ force_en ? 'UPLOADING' : 'ATTENDERE UPLOAD IN CORSO' | translate
19666
+ "
19667
+ [fixed_label]="
19668
+ force_en
19669
+ ? ' (insert the description here before uploading the file)'
19670
+ : ' (INSERISCI QUI LA DESCRIZIONE PRIMA DI CARICARE IL FILE)' | translate
19671
+ "
19672
+ [allegato_inserito]="
19673
+ force_en ? 'Attachment Inserted' : 'ALLEGATO INSERITO' | translate
19674
+ "
19675
+ [lista_allegati]="arr_g"
19676
+ (change)="ref_allegato()"
19677
+ (call_upload)="call_up($event)"
19678
+ #upc
19679
+ ></FHUploadS3>
19680
+ </div>
19681
+ <table width="98%" class="fh_table" *ngIf="!image_type && !b_mobile">
19682
+ <thead>
19683
+ <tr class="header">
19684
+ <th style="width:40px"></th>
19685
+ <th style="width:50%">{{ force_en ? "Name" : "Nome" }}</th>
19686
+ <th style="width:60px;text-align:center">Dim.</th>
19687
+ <th style="width:40%">
19688
+ {{ force_en ? "Description" : "Descrizione" }}
19689
+ </th>
19690
+ <th style="width:20%">
19691
+ {{ force_en ? "Version" : "Versione" }}
19692
+ </th>
19693
+
19694
+ <th *ngIf="image_mode" class="actions"></th>
19695
+ <th style="width:30%">{{ force_en ? "User" : "Utente" }}</th>
19696
+ <th style="width:240px;text-align:center">
19697
+ {{ force_en ? "Date" : "Data" }}
19698
+ </th>
19699
+ <th style="width:40px" class="actions"></th>
19700
+ <th *ngIf="enabled" style="width:40px" class="actions"></th>
19701
+ </tr>
19702
+ </thead>
19703
+ <tbody>
19704
+ <tr
19705
+ *ngFor="let app of arr_g; let odd = odd; let even = even"
19706
+ [ngClass]="{ odd: odd, even: even }"
19707
+ >
19708
+ <td
19709
+ style="text-align:center;vertical-align: middle;width:36px;height:36px;"
19710
+ >
19711
+ <div
19712
+ style="text-align:center;vertical-align: middle;width:28px;height:28px;"
19713
+ >
19714
+ <img
19715
+ src="assets/icons/square-o/{{ app.icon }}"
19716
+ style="width:28px;height:28px;"
19717
+ />
19718
+ </div>
19719
+ </td>
19720
+ <td>{{ app.file_name_orig }}</td>
19721
+ <td style="text-align:center">{{ app.dim }}</td>
19722
+ <td>
19723
+ <div fxLayout="row">
19724
+ <div *ngIf="enabled">
19725
+ <a
19726
+ mat-icon-button
19727
+ class="fh_icon_button"
19728
+ matTooltip="Modifica Descrizione"
19729
+ *ngIf="app.can_edit"
19730
+ (click)="edit_descri(app)"
19731
+ >
19732
+ <mat-icon>edit</mat-icon>
19733
+ </a>
19734
+
19735
+ <a
19736
+ mat-icon-button
19737
+ class="fh_icon_button"
19738
+ [matTooltip]="
19739
+ 'Modifica Descrizione consentita solo a: ' + app.nc
19740
+ "
19741
+ *ngIf="!app.can_edit"
19742
+ [disabled]="true"
19743
+ >
19744
+ <mat-icon>edit</mat-icon>
19745
+ </a>
19746
+ </div>
19747
+ <div
19748
+ [innerHTML]="app.descrizione_vis"
19749
+ style="width:100%"
19750
+ ></div>
19751
+ </div>
19752
+ </td>
19753
+
19754
+ <td>
19755
+ {{app.version}}
19756
+ </td>
19757
+
19758
+ <td *ngIf="image_mode"
19759
+ style="min-width:400px;min-height: 400px"
19760
+
19761
+ >
19762
+ <fh-image-viewer [u]="app"></fh-image-viewer>
19763
+ </td>
19764
+
19765
+ <td>{{ app.nc }}</td>
19766
+ <td style="text-align:center">
19767
+ {{ app.dt_ins | date: "dd/MM/yyyy HH:mm:ss" }}
19768
+ </td>
19769
+ <td style="text-align:center">
19770
+
19771
+ <button [hidden]="app.file_name_orig.indexOf('.eml')==-1 && app.file_name_orig.indexOf('.msg')==-1"
19772
+ mat-icon-button
19773
+ matTooltip="Preview"
19774
+ (click)="preview_email(app)" class="fh_icon_button"
19775
+ >
19776
+ <mat-icon>visibility</mat-icon>
19777
+ </button>
19778
+ <button
19779
+ mat-icon-button
19780
+ matTooltip="Download File"
19781
+ (click)="download_all(app)" class="fh_icon_button"
19782
+ >
19783
+ <mat-icon>file_download</mat-icon>
19784
+ </button>
19785
+ </td>
19786
+
19787
+ <td *ngIf="enabled" style="text-align:center">
19788
+ <a
19789
+ mat-icon-button
19790
+ class="fh_icon_button"
19791
+ matTooltip="Elimina File"
19792
+ *ngIf="app.can_delete"
19793
+ (click)="delete(app)"
19794
+ >
19795
+ <mat-icon>delete</mat-icon>
19796
+ </a>
19797
+
19798
+ <a
19799
+ mat-icon-button
19800
+ class="fh_icon_button"
19801
+ [matTooltip]="
19802
+ 'Cancellazione consentita solo a: ' + app.can_delete_m
19803
+ "
19804
+ *ngIf="!app.can_delete"
19805
+ [disabled]="true"
19806
+ >
19807
+ <mat-icon>delete</mat-icon>
19808
+ </a>
19809
+ </td>
19810
+ </tr>
19811
+ </tbody>
19812
+ </table>
19813
+ <table width="98%" class="fh_table" *ngIf="image_type && !b_mobile">
19814
+ <thead>
19815
+ <tr class="header">
19816
+ <th style="width:40px"></th>
19817
+ <th style="width:50%">{{ force_en ? "Name" : "Nome" }}</th>
19818
+ <th style="width:60px;text-align:center">Dim.</th>
19819
+
19820
+ <th style="width:20%">
19821
+ {{ force_en ? "Description" : "Descrizione" }}
19822
+ </th>
19823
+ <th style="width:10%">
19824
+ {{ force_en ? "Version" : "Versione" }}
19825
+ </th>
19826
+ <th style="width:40%"></th>
19827
+
19828
+ <th style="width:10%">{{ force_en ? "User" : "Utente" }}</th>
19829
+ <th style="width:240px;text-align:center">
19830
+ {{ force_en ? "Date" : "Data" }}
19831
+ </th>
19832
+ <th style="width:40px" class="actions"></th>
19833
+ <th *ngIf="enabled" style="width:40px" class="actions"></th>
19834
+ </tr>
19835
+ </thead>
19836
+ <tbody>
19837
+ <tr
19838
+ *ngFor="let app of arr_g; let odd = odd; let even = even"
19839
+
19840
+ [ngClass]="{ odd: odd, even: even }"
19841
+ >
19842
+ <td
19843
+ style="text-align:center;vertical-align: middle;width:36px;height:36px;"
19844
+ >
19845
+ <div
19846
+ style="text-align:center;vertical-align: middle;width:28px;height:28px;"
19847
+ >
19848
+ <img
19849
+ src="assets/icons/square-o/{{ app.icon }}"
19850
+ style="width:28px;height:28px;"
19851
+ />
19852
+ </div>
19853
+ </td>
19854
+
19855
+ <td>{{ app.file_name_orig }}</td>
19856
+ <td style="text-align:center">{{ app.dim }}</td>
19857
+ <td>
19858
+ <div fxLayout="row">
19859
+ <div *ngIf="enabled">
19860
+ <a
19861
+ mat-icon-button
19862
+ class="fh_icon_button"
19863
+ matTooltip="Modifica Descrizione"
19864
+ *ngIf="app.can_edit"
19865
+ (click)="edit_descri(app)"
19866
+ >
19867
+ <mat-icon>edit</mat-icon>
19868
+ </a>
19869
+
19870
+ <a
19871
+ mat-icon-button
19872
+ class="fh_icon_button"
19873
+ [matTooltip]="
19874
+ 'Modifica Descrizione consentita solo a: ' + app.nc
19875
+ "
19876
+ *ngIf="!app.can_edit"
19877
+ [disabled]="true"
19878
+ >
19879
+ <mat-icon>edit</mat-icon>
19880
+ </a>
19881
+ </div>
19882
+ <div
19883
+ [innerHTML]="app.descrizione_vis"
19884
+ style="width:100%"
19885
+ ></div>
19886
+ </div>
19887
+ </td>
19888
+ <td>
19889
+ {{app.version}}
19890
+ </td>
19891
+
19892
+ <td
19893
+ style="min-width:400px;min-height: 400px"
19894
+ *ngIf="app.type == 'IMG'"
19895
+ >
19896
+ <fh-image-viewer [u]="app"></fh-image-viewer>
19897
+ </td>
19898
+ <td *ngIf="app.type != 'IMG'"></td>
19899
+ <td>{{ app.nc }}</td>
19900
+ <td style="text-align:center">
19901
+ {{ app.dt_ins | date: "dd/MM/yyyy HH:mm:ss" }}
19902
+ </td>
19903
+ <td style="text-align:center">
19904
+
19905
+ <button [hidden]="app.file_name_orig.indexOf('.eml')==-1 && app.file_name_orig.indexOf('.msg')==-1"
19906
+ mat-icon-button
19907
+ matTooltip="Preview"
19908
+ (click)="preview_email(app)" class="fh_icon_button"
19909
+ >
19910
+ <mat-icon>visibility</mat-icon>
19911
+ </button>
19912
+ <button
19913
+ mat-icon-button
19914
+ matTooltip="Download File"
19915
+ (click)="download_all(app)" class="fh_icon_button"
19916
+ >
19917
+ <mat-icon>file_download</mat-icon>
19918
+ </button>
19919
+ </td>
19920
+
19921
+ <td *ngIf="enabled" style="text-align:center">
19922
+ <a
19923
+ mat-icon-button
19924
+ class="fh_icon_button"
19925
+ matTooltip="Elimina File"
19926
+ *ngIf="app.can_delete"
19927
+ (click)="delete(app)"
19928
+ >
19929
+ <mat-icon>delete</mat-icon>
19930
+ </a>
19931
+
19932
+ <a
19933
+ mat-icon-button
19934
+ class="fh_icon_button"
19935
+ [matTooltip]="
19936
+ 'Cancellazione consentita solo a: ' + app.can_delete_m
19937
+ "
19938
+ *ngIf="!app.can_delete"
19939
+ [disabled]="true"
19940
+ >
19941
+ <mat-icon>delete</mat-icon>
19942
+ </a>
19943
+ </td>
19944
+ </tr>
19945
+ </tbody>
19946
+ </table>
19947
+ <table width="98%" class="fh_table" *ngIf="b_mobile">
19948
+ <tbody>
19949
+ <tr
19950
+ *ngFor="let app of arr_g; let odd = odd; let even = even"
19951
+
19952
+ [ngClass]="{ odd: odd, even: even }"
19953
+ >
19954
+ <td
19955
+ style="text-align:center;vertical-align: middle;width:36px;height:36px;"
19956
+ >
19957
+ <div
19958
+ style="text-align:center;vertical-align: middle;width:28px;height:28px;"
19959
+ >
19960
+ <img
19961
+ src="assets/icons/square-o/{{ app.icon }}"
19962
+ style="width:28px;height:28px;"
19963
+ />
19964
+ </div>
19965
+ </td>
19966
+ <td *ngIf="b_mobile" style="text-align:center">
19967
+ {{ app.file_name_orig }}<br /><br />
19968
+ <button
19969
+ style="background-color: #F5F5F5"
19970
+ (click)="download_all(app)"
19971
+ mat-flat-button
19972
+ >
19973
+ DOWNLOAD
19974
+ </button>
19975
+ </td>
19976
+ </tr>
19977
+ </tbody>
19978
+ </table>
19979
+ </div>
19980
+ </div>
19981
+ <div *ngIf="!b_ini && b_initt" style="color:#ff0000">
19982
+
19983
+ </div>
19984
+ `, isInline: true, styles: [""], dependencies: [{ 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"] }, { kind: "component", type: i8$2.MatIconAnchor, selector: "a[mat-icon-button]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i8$2.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { 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: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "component", type: FHUploadS3Component, selector: "FHUploadS3", inputs: ["show_descri", "enabled", "single", "descri_obb", "programma_da_eseguire", "label_attendere", "fixed_label", "limit_string", "allegato_inserito", "inserire_descrizione", "lista_allegati", "lascia_il_file", "trascina_il_file"], outputs: ["change", "upload_ended", "call_upload"] }, { kind: "component", type: FHImageViewerComponent, selector: "fh-image-viewer", inputs: ["rotateClockwise", "rotateCounterClockwise", "next", "prev", "preview", "u"], outputs: ["notfullScreenEvent", "fullScreenEvent"] }, { 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: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
19985
+ }
19986
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHUploadPanelS3Component, decorators: [{
19987
+ type: Component,
19988
+ args: [{ selector: "FHUploadPanelS3", imports: [
19989
+ MatButtonModule,
19990
+ MatTooltipModule, MatButtonModule, TranslateModule, FHUploadS3Component, FHImageViewerComponent, CommonModule, MatIconModule
19991
+ ], template: `
19992
+
19993
+ <div fxLayout="column">
19994
+ <h3 *ngIf="label != ''">{{ label }}</h3>
19995
+ <div fxLayout="column">
19996
+ <div [hidden]="!enabled">
19997
+
19998
+ <FHUploadS3
19999
+ [single]="b_False"
20000
+ [label_attendere]="
20001
+ force_en ? 'UPLOADING' : 'ATTENDERE UPLOAD IN CORSO' | translate
20002
+ "
20003
+ [fixed_label]="
20004
+ force_en
20005
+ ? ' (insert the description here before uploading the file)'
20006
+ : ' (INSERISCI QUI LA DESCRIZIONE PRIMA DI CARICARE IL FILE)' | translate
20007
+ "
20008
+ [allegato_inserito]="
20009
+ force_en ? 'Attachment Inserted' : 'ALLEGATO INSERITO' | translate
20010
+ "
20011
+ [lista_allegati]="arr_g"
20012
+ (change)="ref_allegato()"
20013
+ (call_upload)="call_up($event)"
20014
+ #upc
20015
+ ></FHUploadS3>
20016
+ </div>
20017
+ <table width="98%" class="fh_table" *ngIf="!image_type && !b_mobile">
20018
+ <thead>
20019
+ <tr class="header">
20020
+ <th style="width:40px"></th>
20021
+ <th style="width:50%">{{ force_en ? "Name" : "Nome" }}</th>
20022
+ <th style="width:60px;text-align:center">Dim.</th>
20023
+ <th style="width:40%">
20024
+ {{ force_en ? "Description" : "Descrizione" }}
20025
+ </th>
20026
+ <th style="width:20%">
20027
+ {{ force_en ? "Version" : "Versione" }}
20028
+ </th>
20029
+
20030
+ <th *ngIf="image_mode" class="actions"></th>
20031
+ <th style="width:30%">{{ force_en ? "User" : "Utente" }}</th>
20032
+ <th style="width:240px;text-align:center">
20033
+ {{ force_en ? "Date" : "Data" }}
20034
+ </th>
20035
+ <th style="width:40px" class="actions"></th>
20036
+ <th *ngIf="enabled" style="width:40px" class="actions"></th>
20037
+ </tr>
20038
+ </thead>
20039
+ <tbody>
20040
+ <tr
20041
+ *ngFor="let app of arr_g; let odd = odd; let even = even"
20042
+ [ngClass]="{ odd: odd, even: even }"
20043
+ >
20044
+ <td
20045
+ style="text-align:center;vertical-align: middle;width:36px;height:36px;"
20046
+ >
20047
+ <div
20048
+ style="text-align:center;vertical-align: middle;width:28px;height:28px;"
20049
+ >
20050
+ <img
20051
+ src="assets/icons/square-o/{{ app.icon }}"
20052
+ style="width:28px;height:28px;"
20053
+ />
20054
+ </div>
20055
+ </td>
20056
+ <td>{{ app.file_name_orig }}</td>
20057
+ <td style="text-align:center">{{ app.dim }}</td>
20058
+ <td>
20059
+ <div fxLayout="row">
20060
+ <div *ngIf="enabled">
20061
+ <a
20062
+ mat-icon-button
20063
+ class="fh_icon_button"
20064
+ matTooltip="Modifica Descrizione"
20065
+ *ngIf="app.can_edit"
20066
+ (click)="edit_descri(app)"
20067
+ >
20068
+ <mat-icon>edit</mat-icon>
20069
+ </a>
20070
+
20071
+ <a
20072
+ mat-icon-button
20073
+ class="fh_icon_button"
20074
+ [matTooltip]="
20075
+ 'Modifica Descrizione consentita solo a: ' + app.nc
20076
+ "
20077
+ *ngIf="!app.can_edit"
20078
+ [disabled]="true"
20079
+ >
20080
+ <mat-icon>edit</mat-icon>
20081
+ </a>
20082
+ </div>
20083
+ <div
20084
+ [innerHTML]="app.descrizione_vis"
20085
+ style="width:100%"
20086
+ ></div>
20087
+ </div>
20088
+ </td>
20089
+
20090
+ <td>
20091
+ {{app.version}}
20092
+ </td>
20093
+
20094
+ <td *ngIf="image_mode"
20095
+ style="min-width:400px;min-height: 400px"
20096
+
20097
+ >
20098
+ <fh-image-viewer [u]="app"></fh-image-viewer>
20099
+ </td>
20100
+
20101
+ <td>{{ app.nc }}</td>
20102
+ <td style="text-align:center">
20103
+ {{ app.dt_ins | date: "dd/MM/yyyy HH:mm:ss" }}
20104
+ </td>
20105
+ <td style="text-align:center">
20106
+
20107
+ <button [hidden]="app.file_name_orig.indexOf('.eml')==-1 && app.file_name_orig.indexOf('.msg')==-1"
20108
+ mat-icon-button
20109
+ matTooltip="Preview"
20110
+ (click)="preview_email(app)" class="fh_icon_button"
20111
+ >
20112
+ <mat-icon>visibility</mat-icon>
20113
+ </button>
20114
+ <button
20115
+ mat-icon-button
20116
+ matTooltip="Download File"
20117
+ (click)="download_all(app)" class="fh_icon_button"
20118
+ >
20119
+ <mat-icon>file_download</mat-icon>
20120
+ </button>
20121
+ </td>
20122
+
20123
+ <td *ngIf="enabled" style="text-align:center">
20124
+ <a
20125
+ mat-icon-button
20126
+ class="fh_icon_button"
20127
+ matTooltip="Elimina File"
20128
+ *ngIf="app.can_delete"
20129
+ (click)="delete(app)"
20130
+ >
20131
+ <mat-icon>delete</mat-icon>
20132
+ </a>
20133
+
20134
+ <a
20135
+ mat-icon-button
20136
+ class="fh_icon_button"
20137
+ [matTooltip]="
20138
+ 'Cancellazione consentita solo a: ' + app.can_delete_m
20139
+ "
20140
+ *ngIf="!app.can_delete"
20141
+ [disabled]="true"
20142
+ >
20143
+ <mat-icon>delete</mat-icon>
20144
+ </a>
20145
+ </td>
20146
+ </tr>
20147
+ </tbody>
20148
+ </table>
20149
+ <table width="98%" class="fh_table" *ngIf="image_type && !b_mobile">
20150
+ <thead>
20151
+ <tr class="header">
20152
+ <th style="width:40px"></th>
20153
+ <th style="width:50%">{{ force_en ? "Name" : "Nome" }}</th>
20154
+ <th style="width:60px;text-align:center">Dim.</th>
20155
+
20156
+ <th style="width:20%">
20157
+ {{ force_en ? "Description" : "Descrizione" }}
20158
+ </th>
20159
+ <th style="width:10%">
20160
+ {{ force_en ? "Version" : "Versione" }}
20161
+ </th>
20162
+ <th style="width:40%"></th>
20163
+
20164
+ <th style="width:10%">{{ force_en ? "User" : "Utente" }}</th>
20165
+ <th style="width:240px;text-align:center">
20166
+ {{ force_en ? "Date" : "Data" }}
20167
+ </th>
20168
+ <th style="width:40px" class="actions"></th>
20169
+ <th *ngIf="enabled" style="width:40px" class="actions"></th>
20170
+ </tr>
20171
+ </thead>
20172
+ <tbody>
20173
+ <tr
20174
+ *ngFor="let app of arr_g; let odd = odd; let even = even"
20175
+
20176
+ [ngClass]="{ odd: odd, even: even }"
20177
+ >
20178
+ <td
20179
+ style="text-align:center;vertical-align: middle;width:36px;height:36px;"
20180
+ >
20181
+ <div
20182
+ style="text-align:center;vertical-align: middle;width:28px;height:28px;"
20183
+ >
20184
+ <img
20185
+ src="assets/icons/square-o/{{ app.icon }}"
20186
+ style="width:28px;height:28px;"
20187
+ />
20188
+ </div>
20189
+ </td>
20190
+
20191
+ <td>{{ app.file_name_orig }}</td>
20192
+ <td style="text-align:center">{{ app.dim }}</td>
20193
+ <td>
20194
+ <div fxLayout="row">
20195
+ <div *ngIf="enabled">
20196
+ <a
20197
+ mat-icon-button
20198
+ class="fh_icon_button"
20199
+ matTooltip="Modifica Descrizione"
20200
+ *ngIf="app.can_edit"
20201
+ (click)="edit_descri(app)"
20202
+ >
20203
+ <mat-icon>edit</mat-icon>
20204
+ </a>
20205
+
20206
+ <a
20207
+ mat-icon-button
20208
+ class="fh_icon_button"
20209
+ [matTooltip]="
20210
+ 'Modifica Descrizione consentita solo a: ' + app.nc
20211
+ "
20212
+ *ngIf="!app.can_edit"
20213
+ [disabled]="true"
20214
+ >
20215
+ <mat-icon>edit</mat-icon>
20216
+ </a>
20217
+ </div>
20218
+ <div
20219
+ [innerHTML]="app.descrizione_vis"
20220
+ style="width:100%"
20221
+ ></div>
20222
+ </div>
20223
+ </td>
20224
+ <td>
20225
+ {{app.version}}
20226
+ </td>
20227
+
20228
+ <td
20229
+ style="min-width:400px;min-height: 400px"
20230
+ *ngIf="app.type == 'IMG'"
20231
+ >
20232
+ <fh-image-viewer [u]="app"></fh-image-viewer>
20233
+ </td>
20234
+ <td *ngIf="app.type != 'IMG'"></td>
20235
+ <td>{{ app.nc }}</td>
20236
+ <td style="text-align:center">
20237
+ {{ app.dt_ins | date: "dd/MM/yyyy HH:mm:ss" }}
20238
+ </td>
20239
+ <td style="text-align:center">
20240
+
20241
+ <button [hidden]="app.file_name_orig.indexOf('.eml')==-1 && app.file_name_orig.indexOf('.msg')==-1"
20242
+ mat-icon-button
20243
+ matTooltip="Preview"
20244
+ (click)="preview_email(app)" class="fh_icon_button"
20245
+ >
20246
+ <mat-icon>visibility</mat-icon>
20247
+ </button>
20248
+ <button
20249
+ mat-icon-button
20250
+ matTooltip="Download File"
20251
+ (click)="download_all(app)" class="fh_icon_button"
20252
+ >
20253
+ <mat-icon>file_download</mat-icon>
20254
+ </button>
20255
+ </td>
20256
+
20257
+ <td *ngIf="enabled" style="text-align:center">
20258
+ <a
20259
+ mat-icon-button
20260
+ class="fh_icon_button"
20261
+ matTooltip="Elimina File"
20262
+ *ngIf="app.can_delete"
20263
+ (click)="delete(app)"
20264
+ >
20265
+ <mat-icon>delete</mat-icon>
20266
+ </a>
20267
+
20268
+ <a
20269
+ mat-icon-button
20270
+ class="fh_icon_button"
20271
+ [matTooltip]="
20272
+ 'Cancellazione consentita solo a: ' + app.can_delete_m
20273
+ "
20274
+ *ngIf="!app.can_delete"
20275
+ [disabled]="true"
20276
+ >
20277
+ <mat-icon>delete</mat-icon>
20278
+ </a>
20279
+ </td>
20280
+ </tr>
20281
+ </tbody>
20282
+ </table>
20283
+ <table width="98%" class="fh_table" *ngIf="b_mobile">
20284
+ <tbody>
20285
+ <tr
20286
+ *ngFor="let app of arr_g; let odd = odd; let even = even"
20287
+
20288
+ [ngClass]="{ odd: odd, even: even }"
20289
+ >
20290
+ <td
20291
+ style="text-align:center;vertical-align: middle;width:36px;height:36px;"
20292
+ >
20293
+ <div
20294
+ style="text-align:center;vertical-align: middle;width:28px;height:28px;"
20295
+ >
20296
+ <img
20297
+ src="assets/icons/square-o/{{ app.icon }}"
20298
+ style="width:28px;height:28px;"
20299
+ />
20300
+ </div>
20301
+ </td>
20302
+ <td *ngIf="b_mobile" style="text-align:center">
20303
+ {{ app.file_name_orig }}<br /><br />
20304
+ <button
20305
+ style="background-color: #F5F5F5"
20306
+ (click)="download_all(app)"
20307
+ mat-flat-button
20308
+ >
20309
+ DOWNLOAD
20310
+ </button>
20311
+ </td>
20312
+ </tr>
20313
+ </tbody>
20314
+ </table>
20315
+ </div>
20316
+ </div>
20317
+ <div *ngIf="!b_ini && b_initt" style="color:#ff0000">
20318
+
20319
+ </div>
20164
20320
  ` }]
20165
20321
  }], ctorParameters: () => [{ type: AppService }, { type: QueryService }, { type: i3.ToastrService }, { type: i1$2.MatDialog }, { type: FileService }, { type: UtilityService }, { type: i3$2.TranslateService }], propDecorators: { enabled: [{
20166
20322
  type: Input
@@ -33606,7 +33762,6 @@ class FHWorkflowForm {
33606
33762
  });
33607
33763
  arrAutori = JSON.parse(JSON.stringify(arr_aut));
33608
33764
  }
33609
- console.log('arrAutori ', arrAutori);
33610
33765
  for (let i = 0; i < arrAutori.length; i++)
33611
33766
  if (arrAutori[i].nc != null)
33612
33767
  if (sp.indexOf(arrAutori[i].nc) == -1) {
@@ -33614,7 +33769,6 @@ class FHWorkflowForm {
33614
33769
  sp = sp + ';';
33615
33770
  sp = sp + arrAutori[i].nc;
33616
33771
  }
33617
- console.log('arrAutori SP ', sp);
33618
33772
  let dialogRef = this.m_dialog.open(win_conferma_v2, {
33619
33773
  disableClose: true,
33620
33774
  data: {
@@ -36260,5 +36414,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
36260
36414
  * Generated bundle index. Do not edit.
36261
36415
  */
36262
36416
 
36263
- export { AppMakerService, AppService, ApprovaGridComponent, AuthHttpRequestInterceptor, AuthenticationService, CheckboxEditorComponent, ComboBoxEditorComponent, CurrencyComponent, FHAutoCompleteComponent, FHCheckBoxComponent, FHColorPickerComponent, FHComboboxComponent, FHConfirmValues, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHDateRangePickerComponent, FHFieldPickListComponent, FHFilterComboboxComponent, FHFormBuilderComponent, FHFormExecuterComponent, FHFormToolBarComponent, FHGridComponent, FHGridJSONComponent, FHGridToolBarComponent, FHGuard, FHHelpButtonComponent, FHImageViewerComponent, FHListComponent, FHLogPanelComponent, FHMultiComboboxComponent, FHNotesPanelComponent, FHNumericFieldComponent, FHPickFieldComponent, FHPickUsersComponent, FHRichTextComponent, FHRoleManagerComponent, FHTableManagerComponent, FHTextAreaComponent, FHTextInputComponent, FHTimePickerComponent, FHUploadComponent, FHUploadPanelComponent, FHUploadPanelS3Component, FHUploadS3Component, FHUserFieldComponent, FHWinAppLogsComponent, FHWinAskBigTextComponent, FHWinAskButtonsComponent, FHWinAskNumberComponent, FHWinAskRichTextComponent, FHWinAskTextComponent, FHWinAutoComplete, FHWinComboComponent, FHWinConfirmComponent, FHWinErrorComponent, FHWinGridSelection, FHWinInfoComponent, FHWinListComponent, FHWinMappaComponent, FHWinOutputComponent, FHWinPicklistComponent, FHWinSalvaAnnulla, FHWinSelectByGridComponent, FHWinShowEmail, FHWinShowEmailS3, FHWinShowImage, FHWinShowLog, FHWinShowLogDett, FHWinTimeSlider, FHWinUploadComponent, FHWinUserInfo, FHWinUserPickerComponent, FHWinWaitComponent, FHWorkflowForm, FHWorkflowHeaderBar, FHWorkflowView, FSInput, FSResult, FileService, GridService, LocalDBService, MonthYearPickerComponent, NumericEditorComponent, OdbcService, OfficeAutomatorService, OfficeOperation, OfficeResult, QGParam, QGResult, QParam, QResult, QueryOpenService, QueryService, RegistrationService, ReplaceLineBreaks, SafePipe, TextAreaEditorComponent, UtilityService, WkfService, YearPickerComponent };
36417
+ export { AppMakerService, AppService, ApprovaGridComponent, AuthHttpRequestInterceptor, AuthenticationService, CheckboxEditorComponent, ComboBoxEditorComponent, CurrencyComponent, FHAutoCompleteComponent, FHCheckBoxComponent, FHColorPickerComponent, FHComboboxComponent, FHConfirmValues, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHDateRangePickerComponent, FHFieldPickListComponent, FHFilterComboboxComponent, FHFormBuilderComponent, FHFormExecuterComponent, FHFormToolBarComponent, FHGridComponent, FHGridJSONComponent, FHGridToolBarComponent, FHGuard, FHHelpButtonComponent, FHImageViewerComponent, FHListComponent, FHLogPanelComponent, FHMultiComboboxComponent, FHNotesPanelComponent, FHNumericFieldComponent, FHPickFieldComponent, FHPickUsersComponent, FHRichTextComponent, FHRoleManagerComponent, FHTableManagerComponent, FHTextAreaComponent, FHTextInputComponent, FHTimePickerComponent, FHToolbarCommandType, FHUploadComponent, FHUploadPanelComponent, FHUploadPanelS3Component, FHUploadS3Component, FHUserFieldComponent, FHWinAppLogsComponent, FHWinAskBigTextComponent, FHWinAskButtonsComponent, FHWinAskNumberComponent, FHWinAskRichTextComponent, FHWinAskTextComponent, FHWinAutoComplete, FHWinComboComponent, FHWinConfirmComponent, FHWinErrorComponent, FHWinGridSelection, FHWinInfoComponent, FHWinListComponent, FHWinMappaComponent, FHWinOutputComponent, FHWinPicklistComponent, FHWinSalvaAnnulla, FHWinSelectByGridComponent, FHWinShowEmail, FHWinShowEmailS3, FHWinShowImage, FHWinShowLog, FHWinShowLogDett, FHWinTimeSlider, FHWinUploadComponent, FHWinUserInfo, FHWinUserPickerComponent, FHWinWaitComponent, FHWorkflowForm, FHWorkflowHeaderBar, FHWorkflowView, FSInput, FSResult, FileService, GridService, LocalDBService, MonthYearPickerComponent, NumericEditorComponent, OdbcService, OfficeAutomatorService, OfficeOperation, OfficeResult, QGParam, QGResult, QParam, QResult, QueryOpenService, QueryService, RegistrationService, ReplaceLineBreaks, SafePipe, TextAreaEditorComponent, UtilityService, WkfService, YearPickerComponent, createButtonCommand, createCheckboxCommand, createSpacerCommand, createTableManagerCommand };
36264
36418
  //# sourceMappingURL=fluxhub-fluxhub-lib.mjs.map