@fluxhub/fluxhub-lib 11.0.1 → 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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +21 -1
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/wkf_engine_v2/wkf_header_bar.js +20 -5
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +16 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +34 -4
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine_v2/wkf_header_bar.d.ts +2 -0
- package/lib/wkf_engine_v2/wkfdatiaggiuntivi.d.ts +2 -0
- package/package.json +1 -1
|
@@ -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
|
|
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
|
-
|
|
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 }],
|