@fluxhub/fluxhub-lib 10.0.297 → 10.0.299

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.
@@ -7206,6 +7206,10 @@ class wkfapp {
7206
7206
  }
7207
7207
  }
7208
7208
  sendEMail_ex(mit, to, ogg, descri, idapp, iddoc, link, cc, nota, ical = "") {
7209
+ if (to == null)
7210
+ return;
7211
+ if (to == '')
7212
+ return;
7209
7213
  let p = new QParam();
7210
7214
  p.sql = "send_wkf_mail";
7211
7215
  p.values = [
@@ -8781,10 +8785,10 @@ class FHGridComponent {
8781
8785
  let arr = this.ric_libera.split(" ");
8782
8786
  let arr_F = new Array();
8783
8787
  for (let i = 0; i < arr.length; i++)
8784
- if (arr[i].length > 2)
8785
- arr_F.push(arr[i]);
8786
- else
8787
- this._toast.error("ignorato termine: " + arr[i] + " troppo corto");
8788
+ arr_F.push(arr[i]);
8789
+ //if (arr[i].length > 2)
8790
+ //else
8791
+ // this._toast.error("ignorato termine: " + arr[i] + " troppo corto");
8788
8792
  if (arr_F.length == 0)
8789
8793
  return;
8790
8794
  let ss = "";
@@ -9023,10 +9027,9 @@ class FHGridComponent {
9023
9027
  let arr = this.ric_libera.split(" ");
9024
9028
  let arr_F = new Array();
9025
9029
  for (let i = 0; i < arr.length; i++)
9026
- if (arr[i].length > 2)
9027
- arr_F.push(arr[i]);
9028
- else
9029
- this._toast.error("ignorato termine: " + arr[i] + " troppo corto");
9030
+ arr_F.push(arr[i]);
9031
+ // if (arr[i].length > 2)
9032
+ // else this._toast.error("ignorato termine: " + arr[i] + " troppo corto");
9030
9033
  if (arr_F.length == 0)
9031
9034
  return;
9032
9035
  let ss = "";
@@ -13567,6 +13570,10 @@ class win_commenti {
13567
13570
  }, (err) => { });
13568
13571
  }
13569
13572
  sendEMail_ex(mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av = true, ical = "") {
13573
+ if (to == null)
13574
+ return;
13575
+ if (to == '')
13576
+ return;
13570
13577
  let p = new QParam();
13571
13578
  p.sql = "send_wkf_mail";
13572
13579
  p.values = [
@@ -14151,6 +14158,10 @@ class win_log {
14151
14158
  });
14152
14159
  }
14153
14160
  sendEMail_ex(mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av = true, ical = "") {
14161
+ if (to == null)
14162
+ return;
14163
+ if (to == '')
14164
+ return;
14154
14165
  let p = new QParam();
14155
14166
  p.sql = "send_wkf_mail";
14156
14167
  p.values = [
@@ -16734,6 +16745,16 @@ class dati_aggiuntivi {
16734
16745
  this.goto_edit_doc();
16735
16746
  }
16736
16747
  sendEMail_ex(mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av = true, ical = "", b_exit = true) {
16748
+ if (to == null) {
16749
+ if (b_exit)
16750
+ this.goto_edit_doc(notif_av);
16751
+ return;
16752
+ }
16753
+ if (to == '') {
16754
+ if (b_exit)
16755
+ this.goto_edit_doc(notif_av);
16756
+ return;
16757
+ }
16737
16758
  let p = new QParam();
16738
16759
  p.sql = "send_wkf_mail";
16739
16760
  //non notifico l'autore della approvazione
@@ -20023,6 +20044,10 @@ class win_insert_commento {
20023
20044
  }, (err) => { });
20024
20045
  }
20025
20046
  sendEMail_ex(mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av = true, ical = "") {
20047
+ if (to == null)
20048
+ return;
20049
+ if (to == '')
20050
+ return;
20026
20051
  let p = new QParam();
20027
20052
  p.sql = "send_wkf_mail";
20028
20053
  p.values = [
@@ -20761,6 +20786,10 @@ class win_commenti_v2 {
20761
20786
  }, (err) => { });
20762
20787
  }
20763
20788
  sendEMail_ex(mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av = true, ical = "") {
20789
+ if (to == null)
20790
+ return;
20791
+ if (to == '')
20792
+ return;
20764
20793
  let p = new QParam();
20765
20794
  p.sql = "send_wkf_mail";
20766
20795
  p.values = [
@@ -21268,6 +21297,10 @@ class win_insert_commento_v2 {
21268
21297
  }, (err) => { });
21269
21298
  }
21270
21299
  sendEMail_ex(mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av = true, ical = "") {
21300
+ if (to == null)
21301
+ return;
21302
+ if (to == '')
21303
+ return;
21271
21304
  let p = new QParam();
21272
21305
  p.sql = "send_wkf_mail";
21273
21306
  p.values = [
@@ -21590,6 +21623,10 @@ class win_log_v2 {
21590
21623
  });
21591
21624
  }
21592
21625
  sendEMail_ex(mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av = true, ical = "") {
21626
+ if (to == null)
21627
+ return;
21628
+ if (to == '')
21629
+ return;
21593
21630
  let p = new QParam();
21594
21631
  p.sql = "send_wkf_mail";
21595
21632
  p.values = [
@@ -23259,6 +23296,16 @@ class dati_aggiuntivi_v2 {
23259
23296
  }
23260
23297
  }
23261
23298
  sendEMail_ex(mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av = true, ical = "", b_exit = true) {
23299
+ if (to == null) {
23300
+ if (b_exit)
23301
+ this.goto_edit_doc(notif_av);
23302
+ return;
23303
+ }
23304
+ if (to == '') {
23305
+ if (b_exit)
23306
+ this.goto_edit_doc(notif_av);
23307
+ return;
23308
+ }
23262
23309
  let p = new QParam();
23263
23310
  p.sql = "send_wkf_mail";
23264
23311
  //non notifico l'autore della approvazione
@@ -25209,6 +25256,10 @@ class wkfapp_v2 {
25209
25256
  }
25210
25257
  }
25211
25258
  sendEMail_ex(mit, to, ogg, descri, idapp, iddoc, link, cc, nota, ical = "") {
25259
+ if (to == null)
25260
+ return;
25261
+ if (to == '')
25262
+ return;
25212
25263
  let p = new QParam();
25213
25264
  p.sql = "send_wkf_mail";
25214
25265
  p.values = [