@fluxhub/fluxhub-lib 10.0.599 → 10.0.600
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 +24 -6
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/wkf_engine/wkfapp.js +5 -3
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +9 -2
- package/esm2015/lib/wkf_engine_v2/wkfapp.js +5 -3
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +9 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +24 -6
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -19383,7 +19383,7 @@
|
|
|
19383
19383
|
data.result_data[0].cognome +
|
|
19384
19384
|
" " +
|
|
19385
19385
|
data.result_data[0].nome;
|
|
19386
|
-
localStorage.setItem(_this.app_s.COMPANY_KEY + '_imp_user', _this.m_uti.encrypt_v3(data.result_data[0]));
|
|
19386
|
+
localStorage.setItem(_this.app_s.COMPANY_KEY + '_imp_user', _this.m_uti.encrypt_v3(JSON.stringify(data.result_data[0])));
|
|
19387
19387
|
_this.get_grid().doFill("");
|
|
19388
19388
|
}
|
|
19389
19389
|
});
|
|
@@ -19395,7 +19395,9 @@
|
|
|
19395
19395
|
wkfapp.prototype.ripristina_imp = function () {
|
|
19396
19396
|
if (localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user') == null)
|
|
19397
19397
|
return;
|
|
19398
|
-
var obj = this.m_uti.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user'));
|
|
19398
|
+
var obj = JSON.parse(this.m_uti.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user')));
|
|
19399
|
+
if (obj == null)
|
|
19400
|
+
return;
|
|
19399
19401
|
this.app_s.user_name_ori = this.app_s.user_name;
|
|
19400
19402
|
this.app_s.user_ori = this.app_s.user;
|
|
19401
19403
|
this.app_s.user_surname_ori = this.app_s.user_surname;
|
|
@@ -19726,7 +19728,14 @@
|
|
|
19726
19728
|
this.user_email = this.app_s.user_email;
|
|
19727
19729
|
return;
|
|
19728
19730
|
}
|
|
19729
|
-
var obj = this.uti_s.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user'));
|
|
19731
|
+
var obj = JSON.parse(this.uti_s.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user')));
|
|
19732
|
+
if (obj == null) {
|
|
19733
|
+
this.user_idp = this.app_s.user;
|
|
19734
|
+
this.user_nome = this.app_s.user_name;
|
|
19735
|
+
this.user_cognome = this.app_s.user_surname;
|
|
19736
|
+
this.user_email = this.app_s.user_email;
|
|
19737
|
+
return;
|
|
19738
|
+
}
|
|
19730
19739
|
this.app_s.user_name_ori = this.app_s.user_name;
|
|
19731
19740
|
this.app_s.user_ori = this.app_s.user;
|
|
19732
19741
|
this.app_s.user_surname_ori = this.app_s.user_surname;
|
|
@@ -22233,7 +22242,7 @@
|
|
|
22233
22242
|
data.result_data[0].cognome +
|
|
22234
22243
|
" " +
|
|
22235
22244
|
data.result_data[0].nome;
|
|
22236
|
-
localStorage.setItem(_this.app_s.COMPANY_KEY + '_imp_user', _this.m_uti.encrypt_v3(data.result_data[0]));
|
|
22245
|
+
localStorage.setItem(_this.app_s.COMPANY_KEY + '_imp_user', _this.m_uti.encrypt_v3(JSON.stringify(data.result_data[0])));
|
|
22237
22246
|
_this.get_grid().doFill("");
|
|
22238
22247
|
}
|
|
22239
22248
|
});
|
|
@@ -22463,7 +22472,9 @@
|
|
|
22463
22472
|
wkfapp_v2.prototype.ripristina_imp = function () {
|
|
22464
22473
|
if (localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user') == null)
|
|
22465
22474
|
return;
|
|
22466
|
-
var obj = this.m_uti.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user'));
|
|
22475
|
+
var obj = JSON.parse(this.m_uti.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user')));
|
|
22476
|
+
if (obj == null)
|
|
22477
|
+
return;
|
|
22467
22478
|
this.app_s.user_name_ori = this.app_s.user_name;
|
|
22468
22479
|
this.app_s.user_ori = this.app_s.user;
|
|
22469
22480
|
this.app_s.user_surname_ori = this.app_s.user_surname;
|
|
@@ -22639,7 +22650,14 @@
|
|
|
22639
22650
|
this.user_email = this.app_s.user_email;
|
|
22640
22651
|
return;
|
|
22641
22652
|
}
|
|
22642
|
-
var obj = this.uti_s.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user'));
|
|
22653
|
+
var obj = JSON.parse(this.uti_s.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user')));
|
|
22654
|
+
if (obj == null) {
|
|
22655
|
+
this.user_idp = this.app_s.user;
|
|
22656
|
+
this.user_nome = this.app_s.user_name;
|
|
22657
|
+
this.user_cognome = this.app_s.user_surname;
|
|
22658
|
+
this.user_email = this.app_s.user_email;
|
|
22659
|
+
return;
|
|
22660
|
+
}
|
|
22643
22661
|
this.app_s.user_name_ori = this.app_s.user_name;
|
|
22644
22662
|
this.app_s.user_ori = this.app_s.user;
|
|
22645
22663
|
this.app_s.user_surname_ori = this.app_s.user_surname;
|