@fluxhub/fluxhub-lib 11.0.1 → 11.0.3
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 +25 -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 +20 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +38 -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 +4 -0
- package/package.json +1 -1
|
@@ -24281,6 +24281,10 @@ 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";
|
|
24286
|
+
this.next_back_ground_color = "#000000";
|
|
24287
|
+
this.b_init_next = false;
|
|
24284
24288
|
this.sort_field = "";
|
|
24285
24289
|
this.in_carico = false;
|
|
24286
24290
|
this.wkf_users_roles = "";
|
|
@@ -26188,6 +26192,21 @@ class dati_aggiuntivi_v2 {
|
|
|
26188
26192
|
if (this.respingi_enabled)
|
|
26189
26193
|
this.update_status(null, true, this.in_carico, this.b_assengna_a, 17);
|
|
26190
26194
|
}
|
|
26195
|
+
let p = new QParam();
|
|
26196
|
+
p.sql = "SELECT_WKF_PROC_CONFIG";
|
|
26197
|
+
p.values = [this.id_applicativo, this.id_documento];
|
|
26198
|
+
p.types = ["string", "string"];
|
|
26199
|
+
this.m_dataService.doQuery(p).subscribe((data) => {
|
|
26200
|
+
if (data != null)
|
|
26201
|
+
if (data.result_msg == "OK") {
|
|
26202
|
+
if (data.result_data.length > 0) {
|
|
26203
|
+
this.next_label = data.result_data[0].next_label;
|
|
26204
|
+
this.next_label_color = data.result_data[0].next_label_color;
|
|
26205
|
+
this.next_back_ground_color = data.result_data[0].next_back_ground_color;
|
|
26206
|
+
}
|
|
26207
|
+
this.b_init_next = true;
|
|
26208
|
+
}
|
|
26209
|
+
});
|
|
26191
26210
|
this.r_count();
|
|
26192
26211
|
this.s_uto = "";
|
|
26193
26212
|
let aut = this.m_obj.autori.split(",");
|
|
@@ -26378,6 +26397,8 @@ class wkf_header_bar_v2 {
|
|
|
26378
26397
|
this.download_button = true;
|
|
26379
26398
|
this.edit_comments_in_logs = true;
|
|
26380
26399
|
this.assegna_a = false;
|
|
26400
|
+
this.next_label = false;
|
|
26401
|
+
this.next_label_color = false;
|
|
26381
26402
|
this.back_lbl = 'Indietro';
|
|
26382
26403
|
this.save_lbl = 'Salva';
|
|
26383
26404
|
this.procedi_lbl = 'Procedi';
|
|
@@ -26476,16 +26497,27 @@ wkf_header_bar_v2.decorators = [
|
|
|
26476
26497
|
style="background-color:#709D66;color:#FFFFFF;font-weight:bold"
|
|
26477
26498
|
>
|
|
26478
26499
|
{{prendi_in_carico_lbl | translate}}</button
|
|
26479
|
-
></div
|
|
26480
|
-
|
|
26500
|
+
></div>
|
|
26501
|
+
<div *ngIf="dt_agg?.b_init_next">
|
|
26481
26502
|
<button
|
|
26482
26503
|
mat-flat-button
|
|
26483
26504
|
(click)="procedi()"
|
|
26484
26505
|
*ngIf="(edit_button && procedi_button) && !in_carico"
|
|
26485
26506
|
color="accent" style="font-weight:bold"
|
|
26486
26507
|
>
|
|
26487
|
-
{{procedi_lbl | translate}}</button
|
|
26488
|
-
|
|
26508
|
+
{{procedi_lbl | translate}}</button>
|
|
26509
|
+
</div>
|
|
26510
|
+
<div *ngIf="dt_agg!=null && dt_agg?.b_init_next">
|
|
26511
|
+
<button
|
|
26512
|
+
mat-flat-button
|
|
26513
|
+
(click)="procedi()"
|
|
26514
|
+
*ngIf="(edit_button && procedi_button) && !in_carico"
|
|
26515
|
+
color="accent" style="font-weight:bold" [style.background-color]="dt_agg?.next_back_ground_color" [style.color]="dt_agg?.next_label_color"
|
|
26516
|
+
>
|
|
26517
|
+
{{dt_agg?.next_label | translate}}</button>
|
|
26518
|
+
</div>
|
|
26519
|
+
|
|
26520
|
+
<div *ngIf="(respingi_button) && !in_carico">
|
|
26489
26521
|
<button
|
|
26490
26522
|
mat-flat-button
|
|
26491
26523
|
(click)="respingi()"
|
|
@@ -26614,6 +26646,8 @@ wkf_header_bar_v2.propDecorators = {
|
|
|
26614
26646
|
download_button: [{ type: Input }],
|
|
26615
26647
|
edit_comments_in_logs: [{ type: Input }],
|
|
26616
26648
|
assegna_a: [{ type: Input }],
|
|
26649
|
+
next_label: [{ type: Input }],
|
|
26650
|
+
next_label_color: [{ type: Input }],
|
|
26617
26651
|
b_revisione: [{ type: Input }],
|
|
26618
26652
|
admin_role: [{ type: Input }],
|
|
26619
26653
|
sovra_path: [{ type: Input }],
|