@fluxhub/fluxhub-lib 10.0.95 → 10.0.97
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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +16 -10
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhconfirm.js +3 -3
- package/esm2015/lib/controls/fhtimepicker.js +3 -3
- package/esm2015/lib/controls/fhupload.js +4 -4
- package/esm2015/lib/controls/fhupload_s3.js +4 -4
- package/esm2015/lib/controls/win_show_email.js +2 -2
- package/esm2015/lib/controls/win_show_email_s3.js +2 -2
- package/esm2015/lib/wkf_engine/wkf_header_bar.js +17 -11
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +6 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +33 -24
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine/wkf_header_bar.d.ts +1 -0
- package/lib/wkf_engine/wkfdatiaggiuntivi.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1852,10 +1852,10 @@ FHConfirmComponent.decorators = [
|
|
|
1852
1852
|
</div>
|
|
1853
1853
|
|
|
1854
1854
|
<div mat-dialog-actions>
|
|
1855
|
-
<button mat-
|
|
1855
|
+
<button mat-flat-button (click)="ok()" color="primary">
|
|
1856
1856
|
{{ confirm_mgs }}
|
|
1857
1857
|
</button>
|
|
1858
|
-
<button mat-
|
|
1858
|
+
<button mat-flat-button (click)="dialogRef.close(false)" color="warn">
|
|
1859
1859
|
{{ annulla_mgs }}
|
|
1860
1860
|
</button>
|
|
1861
1861
|
</div>
|
|
@@ -2245,7 +2245,7 @@ FHUploadS3Component.decorators = [
|
|
|
2245
2245
|
<div fxLayout="row" fxLayoutAlign="start start">
|
|
2246
2246
|
|
|
2247
2247
|
<button
|
|
2248
|
-
mat-
|
|
2248
|
+
mat-flat-button
|
|
2249
2249
|
*ngIf="b_edit_loaded"
|
|
2250
2250
|
(click)="download_all()"
|
|
2251
2251
|
style="font-size: 12px;font-weight:bold" color="accent"
|
|
@@ -2254,7 +2254,7 @@ FHUploadS3Component.decorators = [
|
|
|
2254
2254
|
{{ label_b }}</button
|
|
2255
2255
|
>
|
|
2256
2256
|
<button
|
|
2257
|
-
mat-
|
|
2257
|
+
mat-flat-button
|
|
2258
2258
|
*ngIf="id != null && allow_delete"
|
|
2259
2259
|
(click)="del_doc()"
|
|
2260
2260
|
color="warn"
|
|
@@ -2267,7 +2267,7 @@ FHUploadS3Component.decorators = [
|
|
|
2267
2267
|
<label>{{ label }}:</label>
|
|
2268
2268
|
<div *ngIf="label != descrizione">{{ descrizione }}</div>
|
|
2269
2269
|
<button
|
|
2270
|
-
mat-
|
|
2270
|
+
mat-flat-button
|
|
2271
2271
|
*ngIf="b_edit_loaded"
|
|
2272
2272
|
(click)="download_all()"
|
|
2273
2273
|
style="font-size: 12px;background-color: #F5F5F5"
|
|
@@ -2679,7 +2679,7 @@ win_show_email_s3.decorators = [
|
|
|
2679
2679
|
<div fxLayout="row" fxLayoutGap="10px">
|
|
2680
2680
|
<div style="width:100px">Allegati:</div>
|
|
2681
2681
|
<div *ngFor="let u of allegati" >
|
|
2682
|
-
<button mat-
|
|
2682
|
+
<button mat-flat-button color="primary" (click)="open_all(u)">{{u}}</button>
|
|
2683
2683
|
</div>
|
|
2684
2684
|
|
|
2685
2685
|
|
|
@@ -4264,7 +4264,7 @@ FHUploadComponent.decorators = [
|
|
|
4264
4264
|
<div fxLayout="row" fxLayoutAlign="start start">
|
|
4265
4265
|
|
|
4266
4266
|
<button
|
|
4267
|
-
mat-
|
|
4267
|
+
mat-flat-button
|
|
4268
4268
|
*ngIf="b_edit_loaded"
|
|
4269
4269
|
(click)="download_all()"
|
|
4270
4270
|
style="font-size: 12px;font-weight:bold" color="accent"
|
|
@@ -4273,7 +4273,7 @@ FHUploadComponent.decorators = [
|
|
|
4273
4273
|
{{ label_b }}</button
|
|
4274
4274
|
>
|
|
4275
4275
|
<button
|
|
4276
|
-
mat-
|
|
4276
|
+
mat-flat-button
|
|
4277
4277
|
*ngIf="id != null && allow_delete"
|
|
4278
4278
|
(click)="del_doc()"
|
|
4279
4279
|
color="warn"
|
|
@@ -4286,7 +4286,7 @@ FHUploadComponent.decorators = [
|
|
|
4286
4286
|
<label>{{ label }}:</label>
|
|
4287
4287
|
<div *ngIf="label != descrizione">{{ descrizione }}</div>
|
|
4288
4288
|
<button
|
|
4289
|
-
mat-
|
|
4289
|
+
mat-flat-button
|
|
4290
4290
|
*ngIf="b_edit_loaded"
|
|
4291
4291
|
(click)="download_all()"
|
|
4292
4292
|
style="font-size: 12px;background-color: #F5F5F5"
|
|
@@ -4694,7 +4694,7 @@ win_show_email.decorators = [
|
|
|
4694
4694
|
<div fxLayout="row" fxLayoutGap="10px">
|
|
4695
4695
|
<div style="width:100px">Allegati:</div>
|
|
4696
4696
|
<div *ngFor="let u of allegati" >
|
|
4697
|
-
<button mat-
|
|
4697
|
+
<button mat-flat-button color="primary" (click)="open_all(u)">{{u}}</button>
|
|
4698
4698
|
</div>
|
|
4699
4699
|
|
|
4700
4700
|
|
|
@@ -10237,7 +10237,7 @@ FHTimePickerComponent.decorators = [
|
|
|
10237
10237
|
</div>
|
|
10238
10238
|
|
|
10239
10239
|
<div *ngFor="let u of arr_hh" [hidden]="!enabled">
|
|
10240
|
-
<button mat-
|
|
10240
|
+
<button mat-flat-button color="primary" (click)="setta_h(u)" class="pad_b">
|
|
10241
10241
|
{{u}}
|
|
10242
10242
|
</button>
|
|
10243
10243
|
</div>
|
|
@@ -10273,7 +10273,7 @@ FHTimePickerComponent.decorators = [
|
|
|
10273
10273
|
</div>
|
|
10274
10274
|
|
|
10275
10275
|
<div *ngFor="let u of arr_mm" [hidden]="!enabled">
|
|
10276
|
-
<button mat-
|
|
10276
|
+
<button mat-flat-button color="primary" (click)="setta_m(u)" class="pad_b">
|
|
10277
10277
|
{{u}}
|
|
10278
10278
|
</button>
|
|
10279
10279
|
</div>
|
|
@@ -15741,9 +15741,13 @@ class dati_aggiuntivi {
|
|
|
15741
15741
|
this.app_s.getState().wkf_doc_info.uiid_doc = this.m_obj.id_documento;
|
|
15742
15742
|
this.app_s.getState().wkf_doc_info.canale = this.m_obj.canale;
|
|
15743
15743
|
}
|
|
15744
|
-
evt_salv(rip_pulsanti = true) {
|
|
15744
|
+
evt_salv(rip_pulsanti = true, check_on_save = false) {
|
|
15745
15745
|
this.b_rip_pulsanti = rip_pulsanti;
|
|
15746
15746
|
this.btnprocedi = false;
|
|
15747
|
+
console.log(check_on_save);
|
|
15748
|
+
if (check_on_save)
|
|
15749
|
+
if (!this.ck_field())
|
|
15750
|
+
return;
|
|
15747
15751
|
this.salva();
|
|
15748
15752
|
}
|
|
15749
15753
|
salva() {
|
|
@@ -16747,7 +16751,6 @@ class dati_aggiuntivi {
|
|
|
16747
16751
|
arr[i].values = "dbnull";
|
|
16748
16752
|
}
|
|
16749
16753
|
else {
|
|
16750
|
-
console.log('NO NULL', arr[i].names, arr[i].values);
|
|
16751
16754
|
if (arr[i].types == "boolean")
|
|
16752
16755
|
if (arr[i].values)
|
|
16753
16756
|
arr[i].values = "1";
|
|
@@ -17470,6 +17473,7 @@ class wkf_header_bar {
|
|
|
17470
17473
|
this.procedi_button = true;
|
|
17471
17474
|
this.utility_button = true;
|
|
17472
17475
|
this.force_save = false;
|
|
17476
|
+
this.check_on_save = false;
|
|
17473
17477
|
this.admin_role = '[ZZZ_DIS_CC]';
|
|
17474
17478
|
this.sovra_path = '';
|
|
17475
17479
|
this.button_clicked = new EventEmitter();
|
|
@@ -17477,7 +17481,7 @@ class wkf_header_bar {
|
|
|
17477
17481
|
back() { this.button_clicked.emit('back'); if (this.dt_agg != null)
|
|
17478
17482
|
this.dt_agg.back(this.edit_button); }
|
|
17479
17483
|
evt_salv() { this.button_clicked.emit('evt_salv'); if (this.dt_agg != null)
|
|
17480
|
-
this.dt_agg.evt_salv(this.edit_button); }
|
|
17484
|
+
this.dt_agg.evt_salv(this.edit_button, this.check_on_save); }
|
|
17481
17485
|
respingi() { this.button_clicked.emit('respingi'); if (this.dt_agg != null)
|
|
17482
17486
|
this.dt_agg.respingi(); }
|
|
17483
17487
|
procedi() { this.button_clicked.emit('procedi'); if (this.dt_agg != null)
|
|
@@ -17499,20 +17503,21 @@ wkf_header_bar.decorators = [
|
|
|
17499
17503
|
<div fxLayout="row" fxLayout.lt-md="column">
|
|
17500
17504
|
<div
|
|
17501
17505
|
fxLayout="row"
|
|
17502
|
-
fxLayoutGap="
|
|
17506
|
+
fxLayoutGap="5px"
|
|
17503
17507
|
*ngIf="
|
|
17504
17508
|
!m_appService.getState().pageFullscreen ||
|
|
17505
17509
|
edit_button ||
|
|
17506
17510
|
respingi_button
|
|
17507
17511
|
"
|
|
17508
17512
|
>
|
|
17513
|
+
<div>
|
|
17509
17514
|
<button
|
|
17510
17515
|
mat-flat-button
|
|
17511
17516
|
(click)="back()"
|
|
17512
17517
|
*ngIf="!m_appService.getState().pageFullscreen"
|
|
17513
17518
|
>
|
|
17514
17519
|
Indietro</button
|
|
17515
|
-
|
|
17520
|
+
></div><div>
|
|
17516
17521
|
<button
|
|
17517
17522
|
mat-flat-button
|
|
17518
17523
|
(click)="evt_salv()"
|
|
@@ -17520,7 +17525,7 @@ wkf_header_bar.decorators = [
|
|
|
17520
17525
|
color="primary"
|
|
17521
17526
|
>
|
|
17522
17527
|
Salva</button
|
|
17523
|
-
|
|
17528
|
+
></div><div>
|
|
17524
17529
|
<button
|
|
17525
17530
|
mat-flat-button
|
|
17526
17531
|
(click)="procedi()"
|
|
@@ -17528,7 +17533,7 @@ wkf_header_bar.decorators = [
|
|
|
17528
17533
|
color="accent"
|
|
17529
17534
|
>
|
|
17530
17535
|
Procedi</button
|
|
17531
|
-
|
|
17536
|
+
></div><div>
|
|
17532
17537
|
<button
|
|
17533
17538
|
mat-flat-button
|
|
17534
17539
|
(click)="respingi()"
|
|
@@ -17537,10 +17542,11 @@ wkf_header_bar.decorators = [
|
|
|
17537
17542
|
>
|
|
17538
17543
|
Respingi
|
|
17539
17544
|
</button>
|
|
17545
|
+
</div>
|
|
17540
17546
|
<!-- <button mat-flat-button (click)="doEnd(900)" color="warn" >test</button>
|
|
17541
17547
|
-->
|
|
17542
17548
|
</div>
|
|
17543
|
-
 
|
|
17549
|
+
|
|
17544
17550
|
<div
|
|
17545
17551
|
fxLayout="row"
|
|
17546
17552
|
fxLayout.xs="column"
|
|
@@ -17548,13 +17554,14 @@ wkf_header_bar.decorators = [
|
|
|
17548
17554
|
fxLayoutGap.xs="3px"
|
|
17549
17555
|
>
|
|
17550
17556
|
<div fxLayout="row">
|
|
17557
|
+
<div>
|
|
17551
17558
|
<button
|
|
17552
17559
|
mat-flat-button
|
|
17553
17560
|
(click)="open_info()"
|
|
17554
17561
|
*ngIf="!m_appService.getState().pageFullscreen && utility_button"
|
|
17555
17562
|
>
|
|
17556
17563
|
<mat-icon>info_outline</mat-icon> Info Doc</button
|
|
17557
|
-
|
|
17564
|
+
></div><div>
|
|
17558
17565
|
<button
|
|
17559
17566
|
mat-flat-button *ngIf="utility_button"
|
|
17560
17567
|
[color]="(dt_agg?.comm_c ? dt_agg?.comm_c : 0 > 0) ? 'accent' : ''"
|
|
@@ -17564,9 +17571,10 @@ wkf_header_bar.decorators = [
|
|
|
17564
17571
|
(click)="open_commenti()"
|
|
17565
17572
|
>
|
|
17566
17573
|
<mat-icon>insert_comment</mat-icon>Commenti</button
|
|
17567
|
-
|
|
17574
|
+
></div>
|
|
17568
17575
|
</div>
|
|
17569
17576
|
<div fxLayout="row">
|
|
17577
|
+
<div>
|
|
17570
17578
|
<button
|
|
17571
17579
|
mat-flat-button *ngIf="utility_button"
|
|
17572
17580
|
[color]="(dt_agg?.all_c ? dt_agg?.all_c : 0 > 0) ? 'accent' : ''"
|
|
@@ -17576,7 +17584,7 @@ wkf_header_bar.decorators = [
|
|
|
17576
17584
|
(click)="open_upload()"
|
|
17577
17585
|
>
|
|
17578
17586
|
<mat-icon>attach_file</mat-icon>Allegati</button
|
|
17579
|
-
|
|
17587
|
+
></div><div>
|
|
17580
17588
|
<button
|
|
17581
17589
|
mat-flat-button
|
|
17582
17590
|
(click)="open_wkf()"
|
|
@@ -17584,7 +17592,7 @@ wkf_header_bar.decorators = [
|
|
|
17584
17592
|
>
|
|
17585
17593
|
<mat-icon>transfer_within_a_station</mat-icon>Workflow
|
|
17586
17594
|
</button>
|
|
17587
|
-
</div>
|
|
17595
|
+
</div> </div>
|
|
17588
17596
|
</div>
|
|
17589
17597
|
</div>
|
|
17590
17598
|
`
|
|
@@ -17600,6 +17608,7 @@ wkf_header_bar.propDecorators = {
|
|
|
17600
17608
|
procedi_button: [{ type: Input }],
|
|
17601
17609
|
utility_button: [{ type: Input }],
|
|
17602
17610
|
force_save: [{ type: Input }],
|
|
17611
|
+
check_on_save: [{ type: Input }],
|
|
17603
17612
|
admin_role: [{ type: Input }],
|
|
17604
17613
|
sovra_path: [{ type: Input }],
|
|
17605
17614
|
button_clicked: [{ type: Output }]
|