@fluxhub/fluxhub-lib 10.0.95 → 10.0.96
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 +8 -2
- 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/wkf_header_bar.js +4 -2
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +5 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +7 -2
- 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
|
@@ -15741,9 +15741,12 @@ 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
|
+
if (check_on_save)
|
|
15748
|
+
if (!this.ck_field())
|
|
15749
|
+
return;
|
|
15747
15750
|
this.salva();
|
|
15748
15751
|
}
|
|
15749
15752
|
salva() {
|
|
@@ -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)
|
|
@@ -17600,6 +17604,7 @@ wkf_header_bar.propDecorators = {
|
|
|
17600
17604
|
procedi_button: [{ type: Input }],
|
|
17601
17605
|
utility_button: [{ type: Input }],
|
|
17602
17606
|
force_save: [{ type: Input }],
|
|
17607
|
+
check_on_save: [{ type: Input }],
|
|
17603
17608
|
admin_role: [{ type: Input }],
|
|
17604
17609
|
sovra_path: [{ type: Input }],
|
|
17605
17610
|
button_clicked: [{ type: Output }]
|