@fluxhub/fluxhub-lib 10.0.607 → 10.0.609

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.
@@ -1654,6 +1654,7 @@
1654
1654
  this.tsr = tsr;
1655
1655
  this.enabled = true;
1656
1656
  this.force_en = false;
1657
+ this.dt_scadenza = false;
1657
1658
  this.label = "";
1658
1659
  this.sovrascrivi_path = "";
1659
1660
  this.ruolo_supervisore = "[ZZZ_DIS_CC]";
@@ -1932,6 +1933,7 @@
1932
1933
  FHUploadPanelS3Component.propDecorators = {
1933
1934
  enabled: [{ type: i0.Input }],
1934
1935
  force_en: [{ type: i0.Input }],
1936
+ dt_scadenza: [{ type: i0.Input }],
1935
1937
  label: [{ type: i0.Input }],
1936
1938
  sovrascrivi_path: [{ type: i0.Input }],
1937
1939
  ruolo_supervisore: [{ type: i0.Input }],
@@ -19435,7 +19437,11 @@
19435
19437
  wkfapp.prototype.ripristina_imp = function () {
19436
19438
  if (localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user') == null)
19437
19439
  return;
19438
- var obj = JSON.parse(this.m_uti.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user')));
19440
+ var obj = null;
19441
+ try {
19442
+ obj = JSON.parse(this.m_uti.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user')));
19443
+ }
19444
+ catch (e) { }
19439
19445
  if (obj == null)
19440
19446
  return;
19441
19447
  this.app_s.user_name_ori = this.app_s.user_name;
@@ -21568,6 +21574,9 @@
21568
21574
  dati_aggiuntivi.prototype.onResize = function (event) { };
21569
21575
  dati_aggiuntivi.prototype.init_engine = function () {
21570
21576
  var _this = this;
21577
+ if (this.app_s.user != null)
21578
+ this.user_idp = this.app_s.user;
21579
+ console.log('this.user_idp ', this.user_idp);
21571
21580
  if (this.user_idp == null) {
21572
21581
  setTimeout(function () {
21573
21582
  _this.init_engine();
@@ -22527,7 +22536,11 @@
22527
22536
  wkfapp_v2.prototype.ripristina_imp = function () {
22528
22537
  if (localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user') == null)
22529
22538
  return;
22530
- var obj = JSON.parse(this.m_uti.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user')));
22539
+ var obj = null;
22540
+ try {
22541
+ obj = JSON.parse(this.m_uti.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user')));
22542
+ }
22543
+ catch (e) { }
22531
22544
  if (obj == null)
22532
22545
  return;
22533
22546
  this.app_s.user_name_ori = this.app_s.user_name;