@fluxhub/fluxhub-lib 11.0.73 → 11.0.75
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 +9 -3
- 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/win_ask_textbig.js +8 -2
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +3 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +9 -3
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/lib/controls/win_ask_textbig.d.ts +1 -0
- package/lib/wkf_engine_v2/wkfdatiaggiuntivi.d.ts +1 -1
- package/package.json +1 -1
|
@@ -101,6 +101,7 @@
|
|
|
101
101
|
this.show_annulla = true;
|
|
102
102
|
this.show_ok = true;
|
|
103
103
|
this.min_chars = 3;
|
|
104
|
+
this.error_msg = null;
|
|
104
105
|
if (data != null) {
|
|
105
106
|
if (data.title != null)
|
|
106
107
|
this.title = data.title;
|
|
@@ -116,6 +117,8 @@
|
|
|
116
117
|
this.show_ok = data.show_ok;
|
|
117
118
|
if (data.min_chars != null)
|
|
118
119
|
this.min_chars = data.min_chars;
|
|
120
|
+
if (data.error_msg != null)
|
|
121
|
+
this.error_msg = data.error_msg;
|
|
119
122
|
}
|
|
120
123
|
}
|
|
121
124
|
fh_win_ask_big_text.prototype.ngAfterViewInit = function () { };
|
|
@@ -128,7 +131,10 @@
|
|
|
128
131
|
};
|
|
129
132
|
fh_win_ask_big_text.prototype.do_check = function () {
|
|
130
133
|
if (this.valore.length < this.min_chars) {
|
|
131
|
-
|
|
134
|
+
if (this.error_msg)
|
|
135
|
+
this.toastr.error(this.error_msg);
|
|
136
|
+
else
|
|
137
|
+
this.toastr.error("Il valore deve contenere almeno " + this.min_chars + " caratteri");
|
|
132
138
|
return;
|
|
133
139
|
}
|
|
134
140
|
this.dialogRef.close(this.valore);
|
|
@@ -23991,7 +23997,7 @@
|
|
|
23991
23997
|
this.b_rip_pulsanti = rip_pulsanti;
|
|
23992
23998
|
this.btnprocedi = false;
|
|
23993
23999
|
if (check_on_save)
|
|
23994
|
-
if (!this.ck_field())
|
|
24000
|
+
if (!this.ck_field('save'))
|
|
23995
24001
|
return;
|
|
23996
24002
|
this.salva();
|
|
23997
24003
|
};
|
|
@@ -24936,7 +24942,7 @@
|
|
|
24936
24942
|
this.oper = "procedi";
|
|
24937
24943
|
this.btnprocedi = true;
|
|
24938
24944
|
this.update_status(false, false, null, null, 9);
|
|
24939
|
-
if (!this.ck_field()) {
|
|
24945
|
+
if (!this.ck_field("proceed")) {
|
|
24940
24946
|
this.update_status(true, null, null, null, 10);
|
|
24941
24947
|
if (this.respingi_enabled)
|
|
24942
24948
|
this.update_status(true, true, null, null, 11);
|