@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
|
@@ -11923,6 +11923,7 @@
|
|
|
11923
11923
|
this.procedi_button = true;
|
|
11924
11924
|
this.utility_button = true;
|
|
11925
11925
|
this.force_save = false;
|
|
11926
|
+
this.check_on_save = false;
|
|
11926
11927
|
this.admin_role = '[ZZZ_DIS_CC]';
|
|
11927
11928
|
this.sovra_path = '';
|
|
11928
11929
|
this.button_clicked = new i0.EventEmitter();
|
|
@@ -11935,7 +11936,7 @@
|
|
|
11935
11936
|
wkf_header_bar.prototype.evt_salv = function () {
|
|
11936
11937
|
this.button_clicked.emit('evt_salv');
|
|
11937
11938
|
if (this.dt_agg != null)
|
|
11938
|
-
this.dt_agg.evt_salv(this.edit_button);
|
|
11939
|
+
this.dt_agg.evt_salv(this.edit_button, this.check_on_save);
|
|
11939
11940
|
};
|
|
11940
11941
|
wkf_header_bar.prototype.respingi = function () {
|
|
11941
11942
|
this.button_clicked.emit('respingi');
|
|
@@ -11986,6 +11987,7 @@
|
|
|
11986
11987
|
procedi_button: [{ type: i0.Input }],
|
|
11987
11988
|
utility_button: [{ type: i0.Input }],
|
|
11988
11989
|
force_save: [{ type: i0.Input }],
|
|
11990
|
+
check_on_save: [{ type: i0.Input }],
|
|
11989
11991
|
admin_role: [{ type: i0.Input }],
|
|
11990
11992
|
sovra_path: [{ type: i0.Input }],
|
|
11991
11993
|
button_clicked: [{ type: i0.Output }]
|
|
@@ -15076,10 +15078,14 @@
|
|
|
15076
15078
|
this.app_s.getState().wkf_doc_info.uiid_doc = this.m_obj.id_documento;
|
|
15077
15079
|
this.app_s.getState().wkf_doc_info.canale = this.m_obj.canale;
|
|
15078
15080
|
};
|
|
15079
|
-
dati_aggiuntivi.prototype.evt_salv = function (rip_pulsanti) {
|
|
15081
|
+
dati_aggiuntivi.prototype.evt_salv = function (rip_pulsanti, check_on_save) {
|
|
15080
15082
|
if (rip_pulsanti === void 0) { rip_pulsanti = true; }
|
|
15083
|
+
if (check_on_save === void 0) { check_on_save = false; }
|
|
15081
15084
|
this.b_rip_pulsanti = rip_pulsanti;
|
|
15082
15085
|
this.btnprocedi = false;
|
|
15086
|
+
if (check_on_save)
|
|
15087
|
+
if (!this.ck_field())
|
|
15088
|
+
return;
|
|
15083
15089
|
this.salva();
|
|
15084
15090
|
};
|
|
15085
15091
|
dati_aggiuntivi.prototype.salva = function () {
|