@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.
@@ -7283,6 +7283,7 @@
7283
7283
  this.initend = new i0.EventEmitter();
7284
7284
  this.focusout = new i0.EventEmitter();
7285
7285
  this.descri_val = "";
7286
+ this.load_delay = 0;
7286
7287
  this.sItem = "";
7287
7288
  this.searchItemsFiltered = [];
7288
7289
  this.myData = [];
@@ -7399,7 +7400,10 @@
7399
7400
  this.myData = new Array();
7400
7401
  };
7401
7402
  FHAutoCompleteComponent.prototype.doFill = function () {
7402
- this.fillCombo();
7403
+ var _this = this;
7404
+ setTimeout(function () {
7405
+ _this.fillCombo();
7406
+ }, this.load_delay);
7403
7407
  };
7404
7408
  FHAutoCompleteComponent.prototype.fillCombo = function () {
7405
7409
  var _this = this;
@@ -7585,7 +7589,9 @@
7585
7589
  setTimeout(function () { _this.is_loaded = true; }, 1000);
7586
7590
  return;
7587
7591
  }
7588
- _this.fillCombo();
7592
+ setTimeout(function () {
7593
+ _this.fillCombo();
7594
+ }, _this.load_delay);
7589
7595
  }
7590
7596
  else {
7591
7597
  _this.errorMsg = "";
@@ -7636,6 +7642,7 @@
7636
7642
  change: [{ type: i0.Output }],
7637
7643
  initend: [{ type: i0.Output }],
7638
7644
  focusout: [{ type: i0.Output }],
7645
+ load_delay: [{ type: i0.Input }],
7639
7646
  searchp: [{ type: i0.ViewChild, args: ["searchp",] }],
7640
7647
  auto: [{ type: i0.ViewChild, args: ["auto",] }]
7641
7648
  };
@@ -17860,20 +17867,28 @@
17860
17867
  this.id_documento +
17861
17868
  "/edit", this.m_obj.codice, this.nota, true, ical);
17862
17869
  else {
17863
- if (this.nlevel.oggetto_email == null)
17864
- this.sendEMail_ex(this.user_idp, this.m_danotificare, this.app_info.descrizione_breve +
17870
+ var obj_mail = '';
17871
+ if (this.getTitle().indexOf('NOSTD|') == -1)
17872
+ obj_mail = this.app_info.descrizione_breve +
17865
17873
  ", Ti è stato assegnato il documento numero: " +
17866
17874
  this.m_obj.codice +
17867
17875
  " " +
17868
17876
  this.getTitle() +
17869
17877
  " - " +
17870
- this.getLvlDescri(String(this.m_liv), this.m_statox), "<br>Attività:" +
17878
+ this.getLvlDescri(String(this.m_liv), this.m_statox);
17879
+ var obj_mail_body = '';
17880
+ if (this.getDescri().indexOf('NOSTD|') == -1)
17881
+ obj_mail_body = "<br>Attività:" +
17871
17882
  this.getLvlDescri(String(this.m_liv), this.m_statox) +
17872
17883
  "<br>" +
17873
17884
  this.m_statox +
17874
17885
  "<br>" +
17875
17886
  this.getDescri() +
17876
- comm, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
17887
+ comm;
17888
+ else
17889
+ obj_mail_body = this.getDescri().split('NOSTD|').join('');
17890
+ if (this.nlevel.oggetto_email == null)
17891
+ 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 +
17877
17892
  "#/" +
17878
17893
  this.app_info.modulo_swf +
17879
17894
  "/" +
@@ -17882,19 +17897,7 @@
17882
17897
  this.id_documento +
17883
17898
  "/edit", this.m_obj.codice, this.nota, true, ical);
17884
17899
  else if (this.nlevel.oggetto_email == "")
17885
- this.sendEMail_ex(this.user_idp, this.m_danotificare, this.app_info.descrizione_breve +
17886
- ", Ti è stato assegnato il documento numero: " +
17887
- this.m_obj.codice +
17888
- " " +
17889
- this.getTitle() +
17890
- " - " +
17891
- this.getLvlDescri(String(this.m_liv), this.m_statox), "<br>Attività:" +
17892
- this.getLvlDescri(String(this.m_liv), this.m_statox) +
17893
- "<br>" +
17894
- this.m_statox +
17895
- "<br>" +
17896
- this.getDescri() +
17897
- comm, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
17900
+ 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 +
17898
17901
  "#/" +
17899
17902
  this.app_info.modulo_swf +
17900
17903
  "/" +
@@ -18668,19 +18671,29 @@
18668
18671
  .split("%" + prop + "%")
18669
18672
  .join(_this.uti_s.date2String(_this.uti_s.string2date(_this.m_obj[prop], 2)));
18670
18673
  }
18671
- if (s_ogg == "")
18672
- _this.sendEMail_ex(_this.user_idp, s_notif, _this.app_info.descrizione_breve +
18674
+ var obj_mail = '';
18675
+ if (_this.getTitle().indexOf('NOSTD|') == -1)
18676
+ obj_mail = _this.app_info.descrizione_breve +
18673
18677
  ", Ti è stato assegnato il documento numero: " +
18674
18678
  _this.m_obj.codice +
18675
18679
  " " +
18676
18680
  _this.getTitle() +
18677
18681
  " - " +
18678
- _this.getLvlDescri(String(_this.m_liv), _this.m_statox), "<br>Attività:" +
18682
+ _this.getLvlDescri(String(_this.m_liv), _this.m_statox);
18683
+ else
18684
+ obj_mail = _this.getTitle().split('NOSTD|').join('');
18685
+ var obj_mail_body = '';
18686
+ if (_this.getDescri().indexOf('NOSTD|') == -1)
18687
+ obj_mail_body = "<br>Attività:" +
18679
18688
  _this.getLvlDescri(String(_this.m_liv), _this.m_statox) +
18680
18689
  "<br>" +
18681
18690
  _this.m_statox +
18682
18691
  "<br>" +
18683
- _this.getDescri(), _this.id_applicativo, _this.id_documento, _this.app_s.COMPANY_SITE_ROOT +
18692
+ _this.getDescri();
18693
+ else
18694
+ obj_mail_body = _this.getDescri().split('NOSTD|').join('');
18695
+ if (s_ogg == "")
18696
+ _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 +
18684
18697
  "#/" +
18685
18698
  _this.app_info.modulo_swf +
18686
18699
  "/" +