@fluxhub/fluxhub-lib 10.0.440 → 10.0.442

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.
@@ -10791,6 +10791,7 @@ class FHAutoCompleteComponent {
10791
10791
  this.initend = new EventEmitter();
10792
10792
  this.focusout = new EventEmitter();
10793
10793
  this.descri_val = "";
10794
+ this.load_delay = 0;
10794
10795
  this.sItem = "";
10795
10796
  this.searchItemsFiltered = [];
10796
10797
  this.myData = [];
@@ -10905,7 +10906,9 @@ class FHAutoCompleteComponent {
10905
10906
  this.myData = new Array();
10906
10907
  }
10907
10908
  doFill() {
10908
- this.fillCombo();
10909
+ setTimeout(() => {
10910
+ this.fillCombo();
10911
+ }, this.load_delay);
10909
10912
  }
10910
10913
  fillCombo() {
10911
10914
  this.myData = new Array();
@@ -11088,7 +11091,9 @@ class FHAutoCompleteComponent {
11088
11091
  setTimeout(() => { this.is_loaded = true; }, 1000);
11089
11092
  return;
11090
11093
  }
11091
- this.fillCombo();
11094
+ setTimeout(() => {
11095
+ this.fillCombo();
11096
+ }, this.load_delay);
11092
11097
  }
11093
11098
  else {
11094
11099
  this.errorMsg = "";
@@ -11185,6 +11190,7 @@ FHAutoCompleteComponent.propDecorators = {
11185
11190
  change: [{ type: Output }],
11186
11191
  initend: [{ type: Output }],
11187
11192
  focusout: [{ type: Output }],
11193
+ load_delay: [{ type: Input }],
11188
11194
  searchp: [{ type: ViewChild, args: ["searchp",] }],
11189
11195
  auto: [{ type: ViewChild, args: ["auto",] }]
11190
11196
  };
@@ -16912,20 +16918,28 @@ class dati_aggiuntivi {
16912
16918
  this.id_documento +
16913
16919
  "/edit", this.m_obj.codice, this.nota, true, ical);
16914
16920
  else {
16915
- if (this.nlevel.oggetto_email == null)
16916
- this.sendEMail_ex(this.user_idp, this.m_danotificare, this.app_info.descrizione_breve +
16921
+ let obj_mail = '';
16922
+ if (this.getTitle().indexOf('NOSTD|') == -1)
16923
+ obj_mail = this.app_info.descrizione_breve +
16917
16924
  ", Ti è stato assegnato il documento numero: " +
16918
16925
  this.m_obj.codice +
16919
16926
  " " +
16920
16927
  this.getTitle() +
16921
16928
  " - " +
16922
- this.getLvlDescri(String(this.m_liv), this.m_statox), "<br>Attività:" +
16929
+ this.getLvlDescri(String(this.m_liv), this.m_statox);
16930
+ let obj_mail_body = '';
16931
+ if (this.getDescri().indexOf('NOSTD|') == -1)
16932
+ obj_mail_body = "<br>Attività:" +
16923
16933
  this.getLvlDescri(String(this.m_liv), this.m_statox) +
16924
16934
  "<br>" +
16925
16935
  this.m_statox +
16926
16936
  "<br>" +
16927
16937
  this.getDescri() +
16928
- comm, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
16938
+ comm;
16939
+ else
16940
+ obj_mail_body = this.getDescri().split('NOSTD|').join('');
16941
+ if (this.nlevel.oggetto_email == null)
16942
+ this.sendEMail_ex(this.user_idp, this.m_danotificare, obj_mail, obj_mail_body, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
16929
16943
  "#/" +
16930
16944
  this.app_info.modulo_swf +
16931
16945
  "/" +
@@ -16934,19 +16948,7 @@ class dati_aggiuntivi {
16934
16948
  this.id_documento +
16935
16949
  "/edit", this.m_obj.codice, this.nota, true, ical);
16936
16950
  else if (this.nlevel.oggetto_email == "")
16937
- this.sendEMail_ex(this.user_idp, this.m_danotificare, this.app_info.descrizione_breve +
16938
- ", Ti è stato assegnato il documento numero: " +
16939
- this.m_obj.codice +
16940
- " " +
16941
- this.getTitle() +
16942
- " - " +
16943
- this.getLvlDescri(String(this.m_liv), this.m_statox), "<br>Attività:" +
16944
- this.getLvlDescri(String(this.m_liv), this.m_statox) +
16945
- "<br>" +
16946
- this.m_statox +
16947
- "<br>" +
16948
- this.getDescri() +
16949
- comm, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
16951
+ this.sendEMail_ex(this.user_idp, this.m_danotificare, obj_mail, obj_mail_body, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
16950
16952
  "#/" +
16951
16953
  this.app_info.modulo_swf +
16952
16954
  "/" +
@@ -17699,19 +17701,29 @@ class dati_aggiuntivi {
17699
17701
  .split("%" + prop + "%")
17700
17702
  .join(this.uti_s.date2String(this.uti_s.string2date(this.m_obj[prop], 2)));
17701
17703
  }
17702
- if (s_ogg == "")
17703
- this.sendEMail_ex(this.user_idp, s_notif, this.app_info.descrizione_breve +
17704
+ let obj_mail = '';
17705
+ if (this.getTitle().indexOf('NOSTD|') == -1)
17706
+ obj_mail = this.app_info.descrizione_breve +
17704
17707
  ", Ti è stato assegnato il documento numero: " +
17705
17708
  this.m_obj.codice +
17706
17709
  " " +
17707
17710
  this.getTitle() +
17708
17711
  " - " +
17709
- this.getLvlDescri(String(this.m_liv), this.m_statox), "<br>Attività:" +
17712
+ this.getLvlDescri(String(this.m_liv), this.m_statox);
17713
+ else
17714
+ obj_mail = this.getTitle().split('NOSTD|').join('');
17715
+ let obj_mail_body = '';
17716
+ if (this.getDescri().indexOf('NOSTD|') == -1)
17717
+ obj_mail_body = "<br>Attività:" +
17710
17718
  this.getLvlDescri(String(this.m_liv), this.m_statox) +
17711
17719
  "<br>" +
17712
17720
  this.m_statox +
17713
17721
  "<br>" +
17714
- this.getDescri(), this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
17722
+ this.getDescri();
17723
+ else
17724
+ obj_mail_body = this.getDescri().split('NOSTD|').join('');
17725
+ if (s_ogg == "")
17726
+ this.sendEMail_ex(this.user_idp, s_notif, obj_mail, obj_mail_body, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
17715
17727
  "#/" +
17716
17728
  this.app_info.modulo_swf +
17717
17729
  "/" +