@fluxhub/fluxhub-lib 10.0.759 → 11.0.2

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.
Files changed (30) hide show
  1. package/README.md +24 -0
  2. package/bundles/fluxhub-fluxhub-lib.umd.js +22 -2
  3. package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
  4. package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
  5. package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
  6. package/esm2015/lib/auth_guard.js +1 -1
  7. package/esm2015/lib/controls/fhcombobox.js +36 -36
  8. package/esm2015/lib/controls/fhgrid.js +1 -1
  9. package/esm2015/lib/controls/fhgrid_json.js +89 -89
  10. package/esm2015/lib/controls/fhgridn.js +1 -1
  11. package/esm2015/lib/controls/image-viewer/image-viewer.component.js +1 -1
  12. package/esm2015/lib/controls/win_ask_richtext.js +61 -61
  13. package/esm2015/lib/controls/win_show_email_s3.js +60 -60
  14. package/esm2015/lib/controls/win_show_log_info_dett.js +57 -57
  15. package/esm2015/lib/controls/win_show_logs.js +36 -36
  16. package/esm2015/lib/services/app.service.js +1 -1
  17. package/esm2015/lib/services/app_maker.service.js +1 -1
  18. package/esm2015/lib/services/login.service.js +1 -1
  19. package/esm2015/lib/services/utility.service.js +1 -1
  20. package/esm2015/lib/wkf_engine/win_recupera.js +45 -45
  21. package/esm2015/lib/wkf_engine_v2/win_assegna_a.js +45 -45
  22. package/esm2015/lib/wkf_engine_v2/wkf_header_bar.js +20 -5
  23. package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +16 -1
  24. package/esm2015/obj_diff.js +1 -1
  25. package/fesm2015/fluxhub-fluxhub-lib.js +456 -426
  26. package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
  27. package/fluxhub-fluxhub-lib.metadata.json +1 -1
  28. package/lib/wkf_engine_v2/wkf_header_bar.d.ts +2 -0
  29. package/lib/wkf_engine_v2/wkfdatiaggiuntivi.d.ts +2 -0
  30. package/package.json +1 -1
@@ -1463,41 +1463,41 @@ FHComboboxComponent.decorators = [
1463
1463
  { type: Component, args: [{
1464
1464
  selector: "FHComboBox",
1465
1465
  providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR],
1466
- template: `
1467
- <div style="min-height:45px" *ngIf="enabled && !hidden && !is_loaded && myData?.length==0"><mat-spinner diameter="25" ></mat-spinner></div>
1468
- <mat-form-field
1469
- [hidden]="!enabled || hidden || (!is_loaded && myData?.length==0)" [class.fh_field]="enabled"
1470
- appearance="outline"
1471
- floatLabel="always"
1472
- ><mat-label>{{ label|translate }}</mat-label>
1473
- <mat-select
1474
- #cmb
1475
- [(ngModel)]="selval"
1476
- (selectionChange)="sc()"
1477
- [required]="required"
1478
- [matTooltip]="tooltip"
1479
- >
1480
- <mat-option value="-1" *ngIf="show_empty">{{ sel_label }}</mat-option>
1481
- <mat-option value="{{ app.valore }}" *ngFor="let app of myData">{{
1482
- app.descrizione_valore | translate
1483
- }}</mat-option>
1484
- </mat-select>
1485
- </mat-form-field>
1486
-
1487
- <mat-form-field
1488
- [hidden]="enabled || hidden" [class.fh_field_dis]="!enabled"
1489
- appearance="outline"
1490
- floatLabel="always"
1491
- ><mat-label>{{ label }}</mat-label>
1492
- <input
1493
- type="text"
1494
- #el1
1495
- matInput
1496
- [disabled]="true"
1497
- [(ngModel)]="dis_value"
1498
- [matTooltip]="tooltip"
1499
- />
1500
- </mat-form-field>
1466
+ template: `
1467
+ <div style="min-height:45px" *ngIf="enabled && !hidden && !is_loaded && myData?.length==0"><mat-spinner diameter="25" ></mat-spinner></div>
1468
+ <mat-form-field
1469
+ [hidden]="!enabled || hidden || (!is_loaded && myData?.length==0)" [class.fh_field]="enabled"
1470
+ appearance="outline"
1471
+ floatLabel="always"
1472
+ ><mat-label>{{ label|translate }}</mat-label>
1473
+ <mat-select
1474
+ #cmb
1475
+ [(ngModel)]="selval"
1476
+ (selectionChange)="sc()"
1477
+ [required]="required"
1478
+ [matTooltip]="tooltip"
1479
+ >
1480
+ <mat-option value="-1" *ngIf="show_empty">{{ sel_label }}</mat-option>
1481
+ <mat-option value="{{ app.valore }}" *ngFor="let app of myData">{{
1482
+ app.descrizione_valore | translate
1483
+ }}</mat-option>
1484
+ </mat-select>
1485
+ </mat-form-field>
1486
+
1487
+ <mat-form-field
1488
+ [hidden]="enabled || hidden" [class.fh_field_dis]="!enabled"
1489
+ appearance="outline"
1490
+ floatLabel="always"
1491
+ ><mat-label>{{ label }}</mat-label>
1492
+ <input
1493
+ type="text"
1494
+ #el1
1495
+ matInput
1496
+ [disabled]="true"
1497
+ [(ngModel)]="dis_value"
1498
+ [matTooltip]="tooltip"
1499
+ />
1500
+ </mat-form-field>
1501
1501
  `,
1502
1502
  styles: [``]
1503
1503
  },] }
@@ -2730,65 +2730,65 @@ class fh_win_show_email_s3 {
2730
2730
  }
2731
2731
  fh_win_show_email_s3.decorators = [
2732
2732
  { type: Component, args: [{
2733
- template: `
2734
- <div style="width:100%" fxLayout="row" fxLayoutAlign="end start"><img src="assets/icons/x.png" style="cursor: pointer;" (click)="dialogRef.close(null)" /> </div><br>
2735
- <div style="width:100%;overflow:auto;" [style.height]="(m_appService.getState().body_h-240)+'px'">
2736
- <mat-toolbar color="primary">{{title | translate}}
2737
- <span class="fill-remaining-space"></span>
2738
-
2739
- </mat-toolbar>
2740
- <br>
2741
-
2742
- <div style="width:100%;height:500px">
2743
- <div style="width:100%;height:100%">
2744
- <div fxLayout="column">
2745
-
2746
- <div fxLayout="row">
2747
- <div style="width:100px">Data:</div>
2748
- <div>{{email_obj.dt}}</div>
2749
- </div>
2750
- <div fxLayout="row">
2751
- <div style="width:100px">From:</div>
2752
- <div  [innerHTML]="email_obj.from" ></div>
2753
- </div>
2754
- <div fxLayout="row">
2755
- <div style="width:100px">To:</div>
2756
- <div  [innerHTML]="email_obj.to" ></div>
2757
- </div>
2758
- <div fxLayout="row">
2759
- <div style="width:100px">CC:</div>
2760
- <div  [innerHTML]="email_obj.cc" ></div>
2761
- </div>
2762
- <div fxLayout="row">
2763
- <div style="width:100px">Subject:</div>
2764
- <div  [innerHTML]="email_obj.subject" ></div>
2765
- </div>
2766
- <div style="width:100px">Body:</div>
2767
- <div style="overflow:auto;" [style.height]="(m_appService.getState().body_h-490)+'px'">
2768
- <div fxLayout="row" [hidden]="email_obj.is_html=='NO'">
2769
-
2770
- <div  [innerHTML]="email_obj.body" ></div>
2771
- </div>
2772
- <div fxLayout="row" [hidden]="email_obj.is_html=='SI'">
2773
-
2774
- <div>{{email_obj.body}}</div>
2775
- </div>
2776
- </div>
2777
- <hr style="width:100%">
2778
- <div fxLayout="row" fxLayoutGap="10px">
2779
- <div style="width:100px">Allegati:</div>
2780
- <div *ngFor="let u of allegati" >
2781
- <button mat-flat-button color="primary" (click)="open_all(u)">{{u}}</button>
2782
- </div>
2783
-
2784
-
2785
-
2786
- </div>
2787
-
2788
-
2789
- </div>
2790
- </div>
2791
- </div>
2733
+ template: `
2734
+ <div style="width:100%" fxLayout="row" fxLayoutAlign="end start"><img src="assets/icons/x.png" style="cursor: pointer;" (click)="dialogRef.close(null)" /> </div><br>
2735
+ <div style="width:100%;overflow:auto;" [style.height]="(m_appService.getState().body_h-240)+'px'">
2736
+ <mat-toolbar color="primary">{{title | translate}}
2737
+ <span class="fill-remaining-space"></span>
2738
+
2739
+ </mat-toolbar>
2740
+ <br>
2741
+
2742
+ <div style="width:100%;height:500px">
2743
+ <div style="width:100%;height:100%">
2744
+ <div fxLayout="column">
2745
+
2746
+ <div fxLayout="row">
2747
+ <div style="width:100px">Data:</div>
2748
+ <div>{{email_obj.dt}}</div>
2749
+ </div>
2750
+ <div fxLayout="row">
2751
+ <div style="width:100px">From:</div>
2752
+ <div  [innerHTML]="email_obj.from" ></div>
2753
+ </div>
2754
+ <div fxLayout="row">
2755
+ <div style="width:100px">To:</div>
2756
+ <div  [innerHTML]="email_obj.to" ></div>
2757
+ </div>
2758
+ <div fxLayout="row">
2759
+ <div style="width:100px">CC:</div>
2760
+ <div  [innerHTML]="email_obj.cc" ></div>
2761
+ </div>
2762
+ <div fxLayout="row">
2763
+ <div style="width:100px">Subject:</div>
2764
+ <div  [innerHTML]="email_obj.subject" ></div>
2765
+ </div>
2766
+ <div style="width:100px">Body:</div>
2767
+ <div style="overflow:auto;" [style.height]="(m_appService.getState().body_h-490)+'px'">
2768
+ <div fxLayout="row" [hidden]="email_obj.is_html=='NO'">
2769
+
2770
+ <div  [innerHTML]="email_obj.body" ></div>
2771
+ </div>
2772
+ <div fxLayout="row" [hidden]="email_obj.is_html=='SI'">
2773
+
2774
+ <div>{{email_obj.body}}</div>
2775
+ </div>
2776
+ </div>
2777
+ <hr style="width:100%">
2778
+ <div fxLayout="row" fxLayoutGap="10px">
2779
+ <div style="width:100px">Allegati:</div>
2780
+ <div *ngFor="let u of allegati" >
2781
+ <button mat-flat-button color="primary" (click)="open_all(u)">{{u}}</button>
2782
+ </div>
2783
+
2784
+
2785
+
2786
+ </div>
2787
+
2788
+
2789
+ </div>
2790
+ </div>
2791
+ </div>
2792
2792
  `
2793
2793
  },] }
2794
2794
  ];
@@ -4350,50 +4350,50 @@ class win_recupera_doc {
4350
4350
  }
4351
4351
  win_recupera_doc.decorators = [
4352
4352
  { type: Component, args: [{
4353
- template: `
4354
- <div   fxLayout="column" fxLayoutGap="5px">
4355
-     <div  fxFlex="100" fxLayout="row"   class="dialog_header">
4356
- <div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title | translate}}</div>
4357
- <div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
4358
- <img    src="assets/icons/x.png"        style="cursor: pointer;"        (click)="close()" />
4359
- </div>
4360
- </div>
4361
- <hr width="100%" size="0.5" color="#DDDDDD">
4362
- <div mat-dialog-content style="font-size: 15px;">
4363
-
4364
- <br />
4365
- <div style="width:100%;height:400px">
4366
- <div style="width:100%;height:100%">
4367
- <FHGrid
4368
- [filters]="flt_grid"
4369
- init_fill="false"
4370
- show_buttons="false"
4371
- vis
4372
- #dtm
4373
- (dclicked)="edit($event)"
4374
- g_width="100%"
4375
- g_height="100%"
4376
- tbl_name="wkf_documents"
4377
- grid_key="r_wkf_documents"
4378
- sort_field="codice desc"
4379
- off_set="50"
4380
- fields="*"
4381
- ></FHGrid>
4382
- </div>
4383
- </div>
4384
- <br />
4385
-
4386
- <div style="width:100%;text-align:center;">
4387
- <button
4388
- mat-flat-button
4389
- style="background-color: #F5F5F5"
4390
- (click)="dialogRef.close('')"
4391
- >
4392
- CHIUDI
4393
- </button>
4394
- </div>
4395
- </div>
4396
- </div>
4353
+ template: `
4354
+ <div   fxLayout="column" fxLayoutGap="5px">
4355
+     <div  fxFlex="100" fxLayout="row"   class="dialog_header">
4356
+ <div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title | translate}}</div>
4357
+ <div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
4358
+ <img    src="assets/icons/x.png"        style="cursor: pointer;"        (click)="close()" />
4359
+ </div>
4360
+ </div>
4361
+ <hr width="100%" size="0.5" color="#DDDDDD">
4362
+ <div mat-dialog-content style="font-size: 15px;">
4363
+
4364
+ <br />
4365
+ <div style="width:100%;height:400px">
4366
+ <div style="width:100%;height:100%">
4367
+ <FHGrid
4368
+ [filters]="flt_grid"
4369
+ init_fill="false"
4370
+ show_buttons="false"
4371
+ vis
4372
+ #dtm
4373
+ (dclicked)="edit($event)"
4374
+ g_width="100%"
4375
+ g_height="100%"
4376
+ tbl_name="wkf_documents"
4377
+ grid_key="r_wkf_documents"
4378
+ sort_field="codice desc"
4379
+ off_set="50"
4380
+ fields="*"
4381
+ ></FHGrid>
4382
+ </div>
4383
+ </div>
4384
+ <br />
4385
+
4386
+ <div style="width:100%;text-align:center;">
4387
+ <button
4388
+ mat-flat-button
4389
+ style="background-color: #F5F5F5"
4390
+ (click)="dialogRef.close('')"
4391
+ >
4392
+ CHIUDI
4393
+ </button>
4394
+ </div>
4395
+ </div>
4396
+ </div>
4397
4397
  `
4398
4398
  },] }
4399
4399
  ];
@@ -8167,62 +8167,62 @@ class win_show_log_info_dett {
8167
8167
  }
8168
8168
  win_show_log_info_dett.decorators = [
8169
8169
  { type: Component, args: [{
8170
- template: `
8171
- <div style="width:100%" fxLayout="row" fxLayoutAlign="end start">
8172
- <img
8173
- src="assets/icons/x.png"
8174
- style="cursor: pointer;"
8175
- (click)="close()"
8176
- />
8177
- </div>
8178
- <hr width="100%" size="0.5" color="#DDDDDD" />
8179
- <h2 mat-dialog-title>LOG {{ o.data | date: "dd/MM/yyyy HH:mm:ss" }}</h2>
8180
-
8181
- <mat-dialog-content style="min-width:700px">
8182
- <div fxLayout="column">
8183
- <div
8184
- [style.background-color]="o.tipo === 'ERROR' ? '#CC0033' : '#1E7BB5'"
8185
- style="color:#FFFFFF;font-weight: bold;text-align:center"
8186
- >
8187
- {{ o.tipo }}
8188
- </div>
8189
- <mat-form-field appearance="outline" floatLabel="always"
8190
- ><mat-label>Applicazione</mat-label>
8191
- <input
8192
- type="text"
8193
- matInput
8194
- [readonly]="true"
8195
- [(ngModel)]="o.applicativo"
8196
- />
8197
- </mat-form-field>
8198
- <mat-form-field appearance="outline" floatLabel="always"
8199
- ><mat-label>Documento</mat-label>
8200
- <input
8201
- type="text"
8202
- matInput
8203
- [readonly]="true"
8204
- [(ngModel)]="o.iddocumento"
8205
- />
8206
- </mat-form-field>
8207
-
8208
- <mat-form-field appearance="outline" floatLabel="always"
8209
- ><mat-label>Descrizione</mat-label>
8210
- <textarea
8211
- matInput
8212
- readonly
8213
- [(ngModel)]="o.descr_all"
8214
- rows="8"
8215
- ></textarea>
8216
- </mat-form-field>
8217
- </div>
8218
-
8219
- <br />
8220
- <div style="width:100%;text-align:center;">
8221
- <button mat-flat-button (click)="dialogRef.close()" color="accent">
8222
- CHIUDI
8223
- </button>
8224
- </div>
8225
- </mat-dialog-content>
8170
+ template: `
8171
+ <div style="width:100%" fxLayout="row" fxLayoutAlign="end start">
8172
+ <img
8173
+ src="assets/icons/x.png"
8174
+ style="cursor: pointer;"
8175
+ (click)="close()"
8176
+ />
8177
+ </div>
8178
+ <hr width="100%" size="0.5" color="#DDDDDD" />
8179
+ <h2 mat-dialog-title>LOG {{ o.data | date: "dd/MM/yyyy HH:mm:ss" }}</h2>
8180
+
8181
+ <mat-dialog-content style="min-width:700px">
8182
+ <div fxLayout="column">
8183
+ <div
8184
+ [style.background-color]="o.tipo === 'ERROR' ? '#CC0033' : '#1E7BB5'"
8185
+ style="color:#FFFFFF;font-weight: bold;text-align:center"
8186
+ >
8187
+ {{ o.tipo }}
8188
+ </div>
8189
+ <mat-form-field appearance="outline" floatLabel="always"
8190
+ ><mat-label>Applicazione</mat-label>
8191
+ <input
8192
+ type="text"
8193
+ matInput
8194
+ [readonly]="true"
8195
+ [(ngModel)]="o.applicativo"
8196
+ />
8197
+ </mat-form-field>
8198
+ <mat-form-field appearance="outline" floatLabel="always"
8199
+ ><mat-label>Documento</mat-label>
8200
+ <input
8201
+ type="text"
8202
+ matInput
8203
+ [readonly]="true"
8204
+ [(ngModel)]="o.iddocumento"
8205
+ />
8206
+ </mat-form-field>
8207
+
8208
+ <mat-form-field appearance="outline" floatLabel="always"
8209
+ ><mat-label>Descrizione</mat-label>
8210
+ <textarea
8211
+ matInput
8212
+ readonly
8213
+ [(ngModel)]="o.descr_all"
8214
+ rows="8"
8215
+ ></textarea>
8216
+ </mat-form-field>
8217
+ </div>
8218
+
8219
+ <br />
8220
+ <div style="width:100%;text-align:center;">
8221
+ <button mat-flat-button (click)="dialogRef.close()" color="accent">
8222
+ CHIUDI
8223
+ </button>
8224
+ </div>
8225
+ </mat-dialog-content>
8226
8226
  `
8227
8227
  },] }
8228
8228
  ];
@@ -8451,42 +8451,42 @@ class fh_win_show_log {
8451
8451
  }
8452
8452
  fh_win_show_log.decorators = [
8453
8453
  { type: Component, args: [{
8454
- template: `
8455
- <div   fxLayout="column" fxLayoutGap="5px">
8456
-          <div  fxFlex="100" fxLayout="row"   class="dialog_header">
8457
- <div fxLayout="row" fxLayoutAlign="start center" style="width:50%">LOGS</div>
8458
- <div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
8459
- <img    src="assets/icons/x.png"        style="cursor: pointer;"        (click)="close()" />
8460
- </div>
8461
- </div>
8462
- <hr width="100%" size="0.5" color="#DDDDDD">
8463
-
8464
- <mat-dialog-content>
8465
- <div
8466
- style="width: 100%;"
8467
- [style.height]="(appService.getState().body_h - 300) + 'px'"
8468
- >
8469
- <div style="width: 100%; height: 100%;">
8470
- <FHGrid
8471
- [init_fill]="false"
8472
- #dtm
8473
- [tooltipShowDelay]="0"
8474
- [columnDefs]="columnDefs"
8475
- (dclicked)="show_descri()"
8476
- tbl_name="v_logs"
8477
- grid_key="logs_V112"
8478
- (init_end)="ie()"
8479
- (cell_clicked)="cce($event)"
8480
- sort_field="data desc"
8481
- fields="applicativo,iddocumento,utente,tipo,data,diff,link,descr_all"
8482
- ></FHGrid>
8483
- </div>
8484
- </div>
8485
- </mat-dialog-content>
8486
- </div>
8454
+ template: `
8455
+ <div   fxLayout="column" fxLayoutGap="5px">
8456
+          <div  fxFlex="100" fxLayout="row"   class="dialog_header">
8457
+ <div fxLayout="row" fxLayoutAlign="start center" style="width:50%">LOGS</div>
8458
+ <div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
8459
+ <img    src="assets/icons/x.png"        style="cursor: pointer;"        (click)="close()" />
8460
+ </div>
8461
+ </div>
8462
+ <hr width="100%" size="0.5" color="#DDDDDD">
8463
+
8464
+ <mat-dialog-content>
8465
+ <div
8466
+ style="width: 100%;"
8467
+ [style.height]="(appService.getState().body_h - 300) + 'px'"
8468
+ >
8469
+ <div style="width: 100%; height: 100%;">
8470
+ <FHGrid
8471
+ [init_fill]="false"
8472
+ #dtm
8473
+ [tooltipShowDelay]="0"
8474
+ [columnDefs]="columnDefs"
8475
+ (dclicked)="show_descri()"
8476
+ tbl_name="v_logs"
8477
+ grid_key="logs_V112"
8478
+ (init_end)="ie()"
8479
+ (cell_clicked)="cce($event)"
8480
+ sort_field="data desc"
8481
+ fields="applicativo,iddocumento,utente,tipo,data,diff,link,descr_all"
8482
+ ></FHGrid>
8483
+ </div>
8484
+ </div>
8485
+ </mat-dialog-content>
8486
+ </div>
8487
8487
  `,
8488
- styles: [` .mat-dialog-content { max-height: unset !important; }
8489
-
8488
+ styles: [` .mat-dialog-content { max-height: unset !important; }
8489
+
8490
8490
  `]
8491
8491
  },] }
8492
8492
  ];
@@ -16443,94 +16443,94 @@ class FHGridJSONComponent {
16443
16443
  FHGridJSONComponent.decorators = [
16444
16444
  { type: Component, args: [{
16445
16445
  selector: "FHGridJSON",
16446
- template: `
16447
- <table [hidden]="!show_buttons" style="height: 15%;">
16448
- <tr>
16449
- <td [hidden]="this.m_appService.getState().pageFullscreen">
16450
- <h5>{{ num_r }} {{label_elementi|translate }}</h5>
16451
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
16452
- </td>
16453
- <td style="vertical-align:'bottom'">
16454
- &nbsp;&nbsp;&nbsp;&nbsp;
16455
- <mat-form-field appearance="outline" floatLabel="always"
16456
- ><mat-label>{{ trova_label|translate }}</mat-label>
16457
- <input
16458
- matInput
16459
- (keydown)="keyDownFunctioncl($event)"
16460
- [(ngModel)]="ric_libera"
16461
- style="width:200px"
16462
- /> </mat-form-field
16463
- >&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
16464
- </td>
16465
- <td
16466
- [hidden]="this.m_appService.getState().pageFullscreen"
16467
- *ngIf="show_buttons && !this.m_appService.getState().mobile"
16468
- >
16469
- &nbsp;&nbsp;&nbsp;<button
16470
- *ngIf="show_pulisci_filtri"
16471
- mat-flat-button
16472
- (click)="pulisci_filtri()"
16473
- color="warn"
16474
- >
16475
- <mat-icon>clear</mat-icon>&nbsp;&nbsp;REMOVE FILTER
16476
- </button>
16477
- </td>
16478
- <td
16479
- [hidden]="this.m_appService.getState().pageFullscreen"
16480
- *ngIf="show_buttons && !this.m_appService.getState().mobile"
16481
- >
16482
- &nbsp;&nbsp;&nbsp;
16483
- <button mat-flat-button (click)="autoSizeAll()" color="accent">
16484
- <mat-icon>photo_size_select_small</mat-icon>&nbsp;&nbsp;AUTO SIZE
16485
- </button>
16486
- </td>
16487
- <td
16488
- [hidden]="this.m_appService.getState().pageFullscreen"
16489
- *ngIf="show_buttons && !this.m_appService.getState().mobile"
16490
- >
16491
- &nbsp;&nbsp;&nbsp;
16492
- <button mat-flat-button (click)="fitSizeAll()" color="accent">
16493
- <mat-icon>aspect_ratio</mat-icon>&nbsp;&nbsp;FIT SIZE
16494
- </button>
16495
- </td>
16496
- </tr>
16497
- </table>
16498
- <div
16499
- [hidden]="this.m_appService.getState().pageFullscreen"
16500
- *ngIf="
16501
- !show_buttons && !this.m_appService.getState().mobile && show_num_elem
16502
- "
16503
- >
16504
- <h5>
16505
- {{ num_r }} {{ "Elementi" | translate}}
16506
- </h5>
16507
- </div>
16508
-
16509
- <ag-grid-angular
16510
- ref-agGrid
16511
- style="width:100%;height:85%;"
16512
- (cellDoubleClicked)="onColumnEvent($event)"
16513
- (cellClicked)="onCellClicked($event)"
16514
- [headerHeight]="header_h"
16515
- [groupHeaderHeight]="header_h"
16516
- class="ag-theme-balham"
16517
- [singleClickEdit]="true"
16518
- [gridOptions]="gridOptions"
16519
- [columnDefs]="columnDefs"
16520
- [rowData]="rowData"
16521
- (afterFilterChanged)="onAfterFilterChanged()"
16522
- (filterModified)="onFilterModified()"
16523
- (rowDoubleClicked)="onRowDClicked($event)"
16524
- (rowClicked)="onRowClicked($event)"
16525
- (columnVisible)="oncolumnEverythingChanged($event)"
16526
- (columnResized)="oncolumnEverythingChanged($event)"
16527
- (columnMoved)="oncolumnEverythingChanged($event)"
16528
- (cellValueChanged)="okr($event)"
16529
- (sortChanged)="onAfterSortChanged()"
16530
- [paginationPageSize]="num_per_pag"
16531
- (gridReady)="onReady($event)"
16532
- >
16533
- </ag-grid-angular>
16446
+ template: `
16447
+ <table [hidden]="!show_buttons" style="height: 15%;">
16448
+ <tr>
16449
+ <td [hidden]="this.m_appService.getState().pageFullscreen">
16450
+ <h5>{{ num_r }} {{label_elementi|translate }}</h5>
16451
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
16452
+ </td>
16453
+ <td style="vertical-align:'bottom'">
16454
+ &nbsp;&nbsp;&nbsp;&nbsp;
16455
+ <mat-form-field appearance="outline" floatLabel="always"
16456
+ ><mat-label>{{ trova_label|translate }}</mat-label>
16457
+ <input
16458
+ matInput
16459
+ (keydown)="keyDownFunctioncl($event)"
16460
+ [(ngModel)]="ric_libera"
16461
+ style="width:200px"
16462
+ /> </mat-form-field
16463
+ >&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
16464
+ </td>
16465
+ <td
16466
+ [hidden]="this.m_appService.getState().pageFullscreen"
16467
+ *ngIf="show_buttons && !this.m_appService.getState().mobile"
16468
+ >
16469
+ &nbsp;&nbsp;&nbsp;<button
16470
+ *ngIf="show_pulisci_filtri"
16471
+ mat-flat-button
16472
+ (click)="pulisci_filtri()"
16473
+ color="warn"
16474
+ >
16475
+ <mat-icon>clear</mat-icon>&nbsp;&nbsp;REMOVE FILTER
16476
+ </button>
16477
+ </td>
16478
+ <td
16479
+ [hidden]="this.m_appService.getState().pageFullscreen"
16480
+ *ngIf="show_buttons && !this.m_appService.getState().mobile"
16481
+ >
16482
+ &nbsp;&nbsp;&nbsp;
16483
+ <button mat-flat-button (click)="autoSizeAll()" color="accent">
16484
+ <mat-icon>photo_size_select_small</mat-icon>&nbsp;&nbsp;AUTO SIZE
16485
+ </button>
16486
+ </td>
16487
+ <td
16488
+ [hidden]="this.m_appService.getState().pageFullscreen"
16489
+ *ngIf="show_buttons && !this.m_appService.getState().mobile"
16490
+ >
16491
+ &nbsp;&nbsp;&nbsp;
16492
+ <button mat-flat-button (click)="fitSizeAll()" color="accent">
16493
+ <mat-icon>aspect_ratio</mat-icon>&nbsp;&nbsp;FIT SIZE
16494
+ </button>
16495
+ </td>
16496
+ </tr>
16497
+ </table>
16498
+ <div
16499
+ [hidden]="this.m_appService.getState().pageFullscreen"
16500
+ *ngIf="
16501
+ !show_buttons && !this.m_appService.getState().mobile && show_num_elem
16502
+ "
16503
+ >
16504
+ <h5>
16505
+ {{ num_r }} {{ "Elementi" | translate}}
16506
+ </h5>
16507
+ </div>
16508
+
16509
+ <ag-grid-angular
16510
+ ref-agGrid
16511
+ style="width:100%;height:85%;"
16512
+ (cellDoubleClicked)="onColumnEvent($event)"
16513
+ (cellClicked)="onCellClicked($event)"
16514
+ [headerHeight]="header_h"
16515
+ [groupHeaderHeight]="header_h"
16516
+ class="ag-theme-balham"
16517
+ [singleClickEdit]="true"
16518
+ [gridOptions]="gridOptions"
16519
+ [columnDefs]="columnDefs"
16520
+ [rowData]="rowData"
16521
+ (afterFilterChanged)="onAfterFilterChanged()"
16522
+ (filterModified)="onFilterModified()"
16523
+ (rowDoubleClicked)="onRowDClicked($event)"
16524
+ (rowClicked)="onRowClicked($event)"
16525
+ (columnVisible)="oncolumnEverythingChanged($event)"
16526
+ (columnResized)="oncolumnEverythingChanged($event)"
16527
+ (columnMoved)="oncolumnEverythingChanged($event)"
16528
+ (cellValueChanged)="okr($event)"
16529
+ (sortChanged)="onAfterSortChanged()"
16530
+ [paginationPageSize]="num_per_pag"
16531
+ (gridReady)="onReady($event)"
16532
+ >
16533
+ </ag-grid-angular>
16534
16534
  `,
16535
16535
  styles: [``]
16536
16536
  },] }
@@ -20077,7 +20077,7 @@ FHViewerComponent.decorators = [
20077
20077
  { type: Component, args: [{
20078
20078
  selector: "image-viewer",
20079
20079
  template: "<div\n #imgx\n class=\"img-container\"\n [style.backgroundColor]=\"config.containerBackgroundColor\"\n (wheel)=\"scrollZoom($event)\"\n (dragover)=\"onDragOver($event)\"\n *ngIf=\"src != null\"\n>\n <img\n [src]=\"src[index]\"\n [style.transform]=\"style.transform | safe: 'style'\"\n [style.msTransform]=\"style.transform | safe: 'style'\"\n style=\"min-height: 280px;\"\n [style.webkitTransform]=\"style.transform | safe: 'style'\"\n [style.oTransform]=\"style.transform | safe: 'style'\"\n alt=\"Image not found...\"\n (dragstart)=\"onDragStart($event)\"\n (load)=\"onLoad()\"\n (loadstart)=\"onLoadStart()\"\n />\n <!-- Div below will be used to hide the 'ghost' image when dragging -->\n <div></div>\n <div class=\"spinner-container\" *ngIf=\"loading\">\n <div class=\"spinner\"></div>\n </div>\n <button\n type=\"button\"\n [class]=\"config.btnClass\"\n *ngIf=\"config.btnShow.rotateCounterClockwise && !preview\"\n (click)=\"rotateCounterClockwise()\"\n >\n <span [class]=\"config.btnIcons.rotateCounterClockwise\"></span>\n </button>\n <button\n type=\"button\"\n [class]=\"config.btnClass\"\n *ngIf=\"config.btnShow.rotateClockwise && !preview\"\n (click)=\"rotateClockwise()\"\n >\n <span [class]=\"config.btnIcons.rotateClockwise\"></span>\n </button>\n\n <button\n type=\"button\"\n [class]=\"config.btnClass\"\n *ngIf=\"config.btnShow.zoomOut && !preview\"\n (click)=\"zoomOut()\"\n >\n <span [class]=\"config.btnIcons.zoomOut\"></span>\n </button>\n <button\n type=\"button\"\n [class]=\"config.btnClass\"\n *ngIf=\"config.btnShow.zoomIn && !preview\"\n (click)=\"zoomIn()\"\n >\n <span [class]=\"config.btnIcons.zoomIn\"></span>\n </button>\n\n <button\n type=\"button\"\n id=\"ngx-fs-btn\"\n [class]=\"config.btnClass\"\n (click)=\"toggleFullscreen()\"\n *ngIf=\"config.allowFullscreen\"\n >\n <span [class]=\"config.btnIcons.fullscreen\"></span>\n </button>\n\n <div class=\"nav-button-container\" *ngIf=\"src?.length > 1\">\n <button\n type=\"button\"\n [class]=\"config.btnClass\"\n (click)=\"prevImage($event)\"\n [disabled]=\"index === 0\"\n >\n <span [class]=\"config.btnIcons.prev\"></span>\n </button>\n <button\n type=\"button\"\n [class]=\"config.btnClass\"\n (click)=\"nextImage($event)\"\n [disabled]=\"index === src?.length - 1\"\n >\n <span [class]=\"config.btnIcons.next\"></span>\n </button>\n </div>\n</div>\n",
20080
- styles: [".img-container{height:100%;overflow:hidden;position:relative;width:100%}.img-container img{display:block;margin:0 auto;max-height:100%;max-width:100%;z-index:2}.img-container button{position:absolute;right:15px;z-index:99}.img-container button:not(:disabled){cursor:pointer}.img-container>button:first-of-type:not(#ngx-fs-btn){bottom:15px}.img-container>button:nth-of-type(2):not(#ngx-fs-btn){bottom:65px}.img-container>button:nth-of-type(3):not(#ngx-fs-btn){bottom:115px}.img-container>button:nth-of-type(4):not(#ngx-fs-btn){bottom:165px}.img-container>button:nth-of-type(5):not(#ngx-fs-btn){bottom:215px}.img-container>button:nth-of-type(6):not(#ngx-fs-btn){bottom:265px}.img-container>button:nth-of-type(7):not(#ngx-fs-btn){bottom:315px}#ngx-fs-btn{top:15px}button.default{background-color:#fff;border:1px solid #555;border-radius:50%;height:40px;opacity:.7;transition:opacity .2s;width:40px}button.default:hover{opacity:1}button.default:disabled{opacity:.25}.nav-button-container>button{margin:0 10px;position:relative;right:0}.nav-button-container{bottom:10px;left:0;position:absolute;right:0;text-align:center;z-index:98}.spinner-container{background-color:rgba(0,0,0,.4);border-radius:25%;bottom:0;height:60px;left:0;margin:auto;padding:10px;position:absolute;right:0;top:0;width:60px}.spinner{-webkit-animation:rotation 2s linear infinite;animation:rotation 2s linear infinite;border:7px solid;border-color:#ccc #ccc #222;border-radius:50%;box-sizing:border-box;height:100%;width:100%}@keyframes rotation{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(359deg)}}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(359deg)}}"]
20080
+ styles: [".img-container{height:100%;overflow:hidden;position:relative;width:100%}.img-container img{display:block;margin:0 auto;max-height:100%;max-width:100%;z-index:2}.img-container button{position:absolute;right:15px;z-index:99}.img-container button:not(:disabled){cursor:pointer}.img-container>button:first-of-type:not(#ngx-fs-btn){bottom:15px}.img-container>button:nth-of-type(2):not(#ngx-fs-btn){bottom:65px}.img-container>button:nth-of-type(3):not(#ngx-fs-btn){bottom:115px}.img-container>button:nth-of-type(4):not(#ngx-fs-btn){bottom:165px}.img-container>button:nth-of-type(5):not(#ngx-fs-btn){bottom:215px}.img-container>button:nth-of-type(6):not(#ngx-fs-btn){bottom:265px}.img-container>button:nth-of-type(7):not(#ngx-fs-btn){bottom:315px}#ngx-fs-btn{top:15px}button.default{background-color:#fff;border:1px solid #555;border-radius:50%;height:40px;opacity:.7;transition:opacity .2s;width:40px}button.default:hover{opacity:1}button.default:disabled{opacity:.25}.nav-button-container>button{margin:0 10px;position:relative;right:0}.nav-button-container{bottom:10px;left:0;position:absolute;right:0;text-align:center;z-index:98}.spinner-container{background-color:rgba(0,0,0,.4);border-radius:25%;bottom:0;height:60px;left:0;margin:auto;padding:10px;position:absolute;right:0;top:0;width:60px}.spinner{animation:rotation 2s linear infinite;border:7px solid;border-color:#ccc #ccc #222;border-radius:50%;box-sizing:border-box;height:100%;width:100%}@keyframes rotation{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(359deg)}}"]
20081
20081
  },] }
20082
20082
  ];
20083
20083
  FHViewerComponent.ctorParameters = () => [
@@ -24211,50 +24211,50 @@ class win_assegna_a {
24211
24211
  }
24212
24212
  win_assegna_a.decorators = [
24213
24213
  { type: Component, args: [{
24214
- template: `
24215
- <div fxLayout="column">
24216
-     <div  fxFlex="100" fxLayout="row"   class="dialog_header">
24217
- <div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title | translate}}</div>
24218
- <div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
24219
- <img    src="assets/icons/x.png"        style="cursor: pointer;"        (click)="close()" />
24220
- </div>
24221
- </div>
24222
- <div
24223
- mat-dialog-content
24224
- fxLayout="column"
24225
- style="font-size: 15px;min-width: 750px"
24226
- >
24227
- <br><br>
24228
- <div fxLayout="row" fxLayoutAlign="start center" fxFlexGap="5px" fxFlex="100" [hidden]="hide_row_cmd">
24229
- <div style="width:100px;font-weight:bold">Operazione:*</div>
24230
- <mat-radio-group [(ngModel)]="op">
24231
- <mat-radio-button value="L">LIBERA</mat-radio-button>&nbsp;&nbsp;&nbsp;&nbsp;
24232
- <mat-radio-button value="A">RIASSEGNA A</mat-radio-button>&nbsp;&nbsp;&nbsp;&nbsp;
24233
- <mat-radio-button [hidden]="!prendi_in_carico" value="C">PRENDI IN CARICO</mat-radio-button>
24234
- </mat-radio-group>
24235
- </div>
24236
- <div style="width:100%;height:450px" [hidden]="op!='A'">
24237
- <FHPickUsers
24238
- #up
24239
- [users_list]="arrAutori"
24240
- [vis_buttons]="false"
24241
- ></FHPickUsers>
24242
- </div>
24243
-
24244
- </div>
24245
- <br />
24246
- <div style="width:100%;text-align:center;">
24247
- <button mat-flat-button color="primary" (click)="ok()"> {{'OK' | translate }}</button
24248
- >&nbsp;&nbsp;&nbsp;
24249
- <button
24250
- mat-flat-button
24251
- style="background-color: #F5F5F5"
24252
- (click)="close()"
24253
- >
24254
- {{'ANNULLA' | translate }}
24255
- </button>
24256
- </div>
24257
- </div>
24214
+ template: `
24215
+ <div fxLayout="column">
24216
+     <div  fxFlex="100" fxLayout="row"   class="dialog_header">
24217
+ <div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title | translate}}</div>
24218
+ <div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
24219
+ <img    src="assets/icons/x.png"        style="cursor: pointer;"        (click)="close()" />
24220
+ </div>
24221
+ </div>
24222
+ <div
24223
+ mat-dialog-content
24224
+ fxLayout="column"
24225
+ style="font-size: 15px;min-width: 750px"
24226
+ >
24227
+ <br><br>
24228
+ <div fxLayout="row" fxLayoutAlign="start center" fxFlexGap="5px" fxFlex="100" [hidden]="hide_row_cmd">
24229
+ <div style="width:100px;font-weight:bold">Operazione:*</div>
24230
+ <mat-radio-group [(ngModel)]="op">
24231
+ <mat-radio-button value="L">LIBERA</mat-radio-button>&nbsp;&nbsp;&nbsp;&nbsp;
24232
+ <mat-radio-button value="A">RIASSEGNA A</mat-radio-button>&nbsp;&nbsp;&nbsp;&nbsp;
24233
+ <mat-radio-button [hidden]="!prendi_in_carico" value="C">PRENDI IN CARICO</mat-radio-button>
24234
+ </mat-radio-group>
24235
+ </div>
24236
+ <div style="width:100%;height:450px" [hidden]="op!='A'">
24237
+ <FHPickUsers
24238
+ #up
24239
+ [users_list]="arrAutori"
24240
+ [vis_buttons]="false"
24241
+ ></FHPickUsers>
24242
+ </div>
24243
+
24244
+ </div>
24245
+ <br />
24246
+ <div style="width:100%;text-align:center;">
24247
+ <button mat-flat-button color="primary" (click)="ok()"> {{'OK' | translate }}</button
24248
+ >&nbsp;&nbsp;&nbsp;
24249
+ <button
24250
+ mat-flat-button
24251
+ style="background-color: #F5F5F5"
24252
+ (click)="close()"
24253
+ >
24254
+ {{'ANNULLA' | translate }}
24255
+ </button>
24256
+ </div>
24257
+ </div>
24258
24258
  `
24259
24259
  },] }
24260
24260
  ];
@@ -24281,6 +24281,8 @@ class dati_aggiuntivi_v2 {
24281
24281
  this.m_fileservice = m_fileservice;
24282
24282
  this.tsr = tsr;
24283
24283
  this.m_obj = {};
24284
+ this.next_label = "Procedi";
24285
+ this.next_label_color = "#ffd740";
24284
24286
  this.sort_field = "";
24285
24287
  this.in_carico = false;
24286
24288
  this.wkf_users_roles = "";
@@ -26188,6 +26190,19 @@ class dati_aggiuntivi_v2 {
26188
26190
  if (this.respingi_enabled)
26189
26191
  this.update_status(null, true, this.in_carico, this.b_assengna_a, 17);
26190
26192
  }
26193
+ let p = new QParam();
26194
+ p.sql = "SELECT_WKF_PROC_CONFIG";
26195
+ p.values = [this.id_applicativo, this.id_documento];
26196
+ p.types = ["string", "string"];
26197
+ this.m_dataService.doQuery(p).subscribe((data) => {
26198
+ if (data != null)
26199
+ if (data.result_msg == "OK") {
26200
+ if (data.result_data.length > 0) {
26201
+ this.next_label = data.result_data[0].next_label;
26202
+ this.next_label_color = data.result_data[0].next_label_color;
26203
+ }
26204
+ }
26205
+ });
26191
26206
  this.r_count();
26192
26207
  this.s_uto = "";
26193
26208
  let aut = this.m_obj.autori.split(",");
@@ -26378,6 +26393,8 @@ class wkf_header_bar_v2 {
26378
26393
  this.download_button = true;
26379
26394
  this.edit_comments_in_logs = true;
26380
26395
  this.assegna_a = false;
26396
+ this.next_label = false;
26397
+ this.next_label_color = false;
26381
26398
  this.back_lbl = 'Indietro';
26382
26399
  this.save_lbl = 'Salva';
26383
26400
  this.procedi_lbl = 'Procedi';
@@ -26476,16 +26493,27 @@ wkf_header_bar_v2.decorators = [
26476
26493
  style="background-color:#709D66;color:#FFFFFF;font-weight:bold"
26477
26494
  >
26478
26495
  {{prendi_in_carico_lbl | translate}}</button
26479
- ></div><div>
26480
-
26496
+ ></div>
26497
+ <div *ngIf="dt_agg==null">
26481
26498
  <button
26482
26499
  mat-flat-button
26483
26500
  (click)="procedi()"
26484
26501
  *ngIf="(edit_button && procedi_button) && !in_carico"
26485
26502
  color="accent" style="font-weight:bold"
26486
26503
  >
26487
- {{procedi_lbl | translate}}</button
26488
- ></div><div *ngIf="(respingi_button) && !in_carico">
26504
+ {{procedi_lbl | translate}}</button>
26505
+ </div>
26506
+ <div *ngIf="dt_agg!=null">
26507
+ <button
26508
+ mat-flat-button
26509
+ (click)="procedi()"
26510
+ *ngIf="(edit_button && procedi_button) && !in_carico"
26511
+ color="accent" style="font-weight:bold" [style.background-color]="dt_agg?.next_label_color"
26512
+ >
26513
+ {{dt_agg?.next_label | translate}}</button>
26514
+ </div>
26515
+
26516
+ <div *ngIf="(respingi_button) && !in_carico">
26489
26517
  <button
26490
26518
  mat-flat-button
26491
26519
  (click)="respingi()"
@@ -26614,6 +26642,8 @@ wkf_header_bar_v2.propDecorators = {
26614
26642
  download_button: [{ type: Input }],
26615
26643
  edit_comments_in_logs: [{ type: Input }],
26616
26644
  assegna_a: [{ type: Input }],
26645
+ next_label: [{ type: Input }],
26646
+ next_label_color: [{ type: Input }],
26617
26647
  b_revisione: [{ type: Input }],
26618
26648
  admin_role: [{ type: Input }],
26619
26649
  sovra_path: [{ type: Input }],
@@ -26711,66 +26741,66 @@ class fh_win_ask_richtext {
26711
26741
  fh_win_ask_richtext.decorators = [
26712
26742
  { type: Component, args: [{
26713
26743
  selector: "app-win_ask_richtext",
26714
- template: `
26715
- <div   fxLayout="column" fxLayoutGap="5px">
26716
-          <div  fxFlex="100" fxLayout="row"   class="dialog_header">
26717
- <div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{ title }}</div>
26718
- <div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
26719
- <img    src="assets/icons/x.png"        style="cursor: pointer;"        (click)="close()" />
26720
- </div>
26721
- </div>
26722
- <hr width="100%" size="0.5" color="#DDDDDD">
26723
- <mat-dialog-content style="width:630px;font-size: 15px;">
26724
- <b *ngIf="label != ''">{{ label }}</b>
26725
- <quill-editor
26726
- theme="snow"
26727
- format="html"
26728
-
26729
- [(ngModel)]="value"
26730
- ></quill-editor>
26731
-
26732
- </mat-dialog-content>
26733
- <mat-dialog-actions>
26734
- <div
26735
- fxLayout="row"
26736
- fxLayoutAlign="center center"
26737
- style="width: 100%"
26738
- [hidden]="readonly"
26739
- >
26740
- <button
26741
- *ngIf="show_ok"
26742
- mat-flat-button
26743
- color="primary"
26744
- (click)="do_check()"
26745
- >
26746
- OK</button
26747
- >&nbsp;&nbsp;&nbsp;
26748
- <button
26749
- *ngIf="show_annulla"
26750
- mat-flat-button
26751
- color="warn"
26752
- (click)="chiudi()"
26753
- >
26754
- ANNULLA
26755
- </button>
26756
- </div>
26757
- <div
26758
- fxLayout="row"
26759
- fxLayoutAlign="center center"
26760
- style="width: 100%"
26761
- [hidden]="!readonly"
26762
- >
26763
- <button
26764
- *ngIf="show_annulla"
26765
- mat-flat-button
26766
- color="warn"
26767
- (click)="chiudi()"
26768
- >
26769
- CHIUDI
26770
- </button>
26771
- </div>
26772
- </mat-dialog-actions>
26773
- </div>
26744
+ template: `
26745
+ <div   fxLayout="column" fxLayoutGap="5px">
26746
+          <div  fxFlex="100" fxLayout="row"   class="dialog_header">
26747
+ <div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{ title }}</div>
26748
+ <div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
26749
+ <img    src="assets/icons/x.png"        style="cursor: pointer;"        (click)="close()" />
26750
+ </div>
26751
+ </div>
26752
+ <hr width="100%" size="0.5" color="#DDDDDD">
26753
+ <mat-dialog-content style="width:630px;font-size: 15px;">
26754
+ <b *ngIf="label != ''">{{ label }}</b>
26755
+ <quill-editor
26756
+ theme="snow"
26757
+ format="html"
26758
+
26759
+ [(ngModel)]="value"
26760
+ ></quill-editor>
26761
+
26762
+ </mat-dialog-content>
26763
+ <mat-dialog-actions>
26764
+ <div
26765
+ fxLayout="row"
26766
+ fxLayoutAlign="center center"
26767
+ style="width: 100%"
26768
+ [hidden]="readonly"
26769
+ >
26770
+ <button
26771
+ *ngIf="show_ok"
26772
+ mat-flat-button
26773
+ color="primary"
26774
+ (click)="do_check()"
26775
+ >
26776
+ OK</button
26777
+ >&nbsp;&nbsp;&nbsp;
26778
+ <button
26779
+ *ngIf="show_annulla"
26780
+ mat-flat-button
26781
+ color="warn"
26782
+ (click)="chiudi()"
26783
+ >
26784
+ ANNULLA
26785
+ </button>
26786
+ </div>
26787
+ <div
26788
+ fxLayout="row"
26789
+ fxLayoutAlign="center center"
26790
+ style="width: 100%"
26791
+ [hidden]="!readonly"
26792
+ >
26793
+ <button
26794
+ *ngIf="show_annulla"
26795
+ mat-flat-button
26796
+ color="warn"
26797
+ (click)="chiudi()"
26798
+ >
26799
+ CHIUDI
26800
+ </button>
26801
+ </div>
26802
+ </mat-dialog-actions>
26803
+ </div>
26774
26804
  `
26775
26805
  },] }
26776
26806
  ];