@fluxhub/fluxhub-lib 10.0.599 → 10.0.601
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 +60 -22
- 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 +22 -11
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +9 -2
- package/esm2015/lib/wkf_engine_v2/wkfapp.js +22 -11
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +9 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +58 -22
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -5742,14 +5742,23 @@ class wkfapp {
|
|
|
5742
5742
|
this.m_wkf.doQuery(p).subscribe((data) => { });
|
|
5743
5743
|
}
|
|
5744
5744
|
annulla_imp() {
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
this.
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
5745
|
+
let p = new QParam();
|
|
5746
|
+
p.sql = "SELECT_CURRENT_USER_INFOS";
|
|
5747
|
+
p.types = [];
|
|
5748
|
+
p.values = [];
|
|
5749
|
+
this.m_dataService.doQuery(p).subscribe((data) => {
|
|
5750
|
+
if (data != null)
|
|
5751
|
+
if (data.result_msg == "OK") {
|
|
5752
|
+
this.app_s.user_name = data.result_data[0].nome;
|
|
5753
|
+
this.app_s.user = data.result_data[0].username;
|
|
5754
|
+
this.app_s.user_surname = data.result_data[0].cognome;
|
|
5755
|
+
this.app_s.user_email = data.result_data[0].email;
|
|
5756
|
+
this.user_idp = data.result_data[0].username;
|
|
5757
|
+
this.user_nome = data.result_data[0].nome;
|
|
5758
|
+
this.user_cognome = data.result_data[0].cognome;
|
|
5759
|
+
this.user_email = data.result_data[0].email;
|
|
5760
|
+
}
|
|
5761
|
+
});
|
|
5753
5762
|
this.app_s.user_name_ori = null;
|
|
5754
5763
|
this.app_s.user_ori = null;
|
|
5755
5764
|
this.app_s.user_surname_ori = null;
|
|
@@ -5804,7 +5813,7 @@ class wkfapp {
|
|
|
5804
5813
|
data.result_data[0].cognome +
|
|
5805
5814
|
" " +
|
|
5806
5815
|
data.result_data[0].nome;
|
|
5807
|
-
localStorage.setItem(this.app_s.COMPANY_KEY + '_imp_user', this.m_uti.encrypt_v3(data.result_data[0]));
|
|
5816
|
+
localStorage.setItem(this.app_s.COMPANY_KEY + '_imp_user', this.m_uti.encrypt_v3(JSON.stringify(data.result_data[0])));
|
|
5808
5817
|
this.get_grid().doFill("");
|
|
5809
5818
|
}
|
|
5810
5819
|
});
|
|
@@ -5816,7 +5825,9 @@ class wkfapp {
|
|
|
5816
5825
|
ripristina_imp() {
|
|
5817
5826
|
if (localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user') == null)
|
|
5818
5827
|
return;
|
|
5819
|
-
let obj = this.m_uti.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user'));
|
|
5828
|
+
let obj = JSON.parse(this.m_uti.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user')));
|
|
5829
|
+
if (obj == null)
|
|
5830
|
+
return;
|
|
5820
5831
|
this.app_s.user_name_ori = this.app_s.user_name;
|
|
5821
5832
|
this.app_s.user_ori = this.app_s.user;
|
|
5822
5833
|
this.app_s.user_surname_ori = this.app_s.user_surname;
|
|
@@ -16873,7 +16884,14 @@ class dati_aggiuntivi {
|
|
|
16873
16884
|
this.user_email = this.app_s.user_email;
|
|
16874
16885
|
return;
|
|
16875
16886
|
}
|
|
16876
|
-
let obj = this.uti_s.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user'));
|
|
16887
|
+
let obj = JSON.parse(this.uti_s.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user')));
|
|
16888
|
+
if (obj == null) {
|
|
16889
|
+
this.user_idp = this.app_s.user;
|
|
16890
|
+
this.user_nome = this.app_s.user_name;
|
|
16891
|
+
this.user_cognome = this.app_s.user_surname;
|
|
16892
|
+
this.user_email = this.app_s.user_email;
|
|
16893
|
+
return;
|
|
16894
|
+
}
|
|
16877
16895
|
this.app_s.user_name_ori = this.app_s.user_name;
|
|
16878
16896
|
this.app_s.user_ori = this.app_s.user;
|
|
16879
16897
|
this.app_s.user_surname_ori = this.app_s.user_surname;
|
|
@@ -24000,7 +24018,14 @@ class dati_aggiuntivi_v2 {
|
|
|
24000
24018
|
this.user_email = this.app_s.user_email;
|
|
24001
24019
|
return;
|
|
24002
24020
|
}
|
|
24003
|
-
let obj = this.uti_s.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user'));
|
|
24021
|
+
let obj = JSON.parse(this.uti_s.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user')));
|
|
24022
|
+
if (obj == null) {
|
|
24023
|
+
this.user_idp = this.app_s.user;
|
|
24024
|
+
this.user_nome = this.app_s.user_name;
|
|
24025
|
+
this.user_cognome = this.app_s.user_surname;
|
|
24026
|
+
this.user_email = this.app_s.user_email;
|
|
24027
|
+
return;
|
|
24028
|
+
}
|
|
24004
24029
|
this.app_s.user_name_ori = this.app_s.user_name;
|
|
24005
24030
|
this.app_s.user_ori = this.app_s.user;
|
|
24006
24031
|
this.app_s.user_surname_ori = this.app_s.user_surname;
|
|
@@ -28751,14 +28776,23 @@ class wkfapp_v2 {
|
|
|
28751
28776
|
this.m_wkf.doQuery(p).subscribe((data) => { });
|
|
28752
28777
|
}
|
|
28753
28778
|
annulla_imp() {
|
|
28754
|
-
|
|
28755
|
-
|
|
28756
|
-
|
|
28757
|
-
|
|
28758
|
-
this.
|
|
28759
|
-
|
|
28760
|
-
|
|
28761
|
-
|
|
28779
|
+
let p = new QParam();
|
|
28780
|
+
p.sql = "SELECT_CURRENT_USER_INFOS";
|
|
28781
|
+
p.types = [];
|
|
28782
|
+
p.values = [];
|
|
28783
|
+
this.m_dataService.doQuery(p).subscribe((data) => {
|
|
28784
|
+
if (data != null)
|
|
28785
|
+
if (data.result_msg == "OK") {
|
|
28786
|
+
this.app_s.user_name = data.result_data[0].nome;
|
|
28787
|
+
this.app_s.user = data.result_data[0].username;
|
|
28788
|
+
this.app_s.user_surname = data.result_data[0].cognome;
|
|
28789
|
+
this.app_s.user_email = data.result_data[0].email;
|
|
28790
|
+
this.user_idp = data.result_data[0].username;
|
|
28791
|
+
this.user_nome = data.result_data[0].nome;
|
|
28792
|
+
this.user_cognome = data.result_data[0].cognome;
|
|
28793
|
+
this.user_email = data.result_data[0].email;
|
|
28794
|
+
}
|
|
28795
|
+
});
|
|
28762
28796
|
this.app_s.user_name_ori = null;
|
|
28763
28797
|
this.app_s.user_ori = null;
|
|
28764
28798
|
this.app_s.user_surname_ori = null;
|
|
@@ -28813,7 +28847,7 @@ class wkfapp_v2 {
|
|
|
28813
28847
|
data.result_data[0].cognome +
|
|
28814
28848
|
" " +
|
|
28815
28849
|
data.result_data[0].nome;
|
|
28816
|
-
localStorage.setItem(this.app_s.COMPANY_KEY + '_imp_user', this.m_uti.encrypt_v3(data.result_data[0]));
|
|
28850
|
+
localStorage.setItem(this.app_s.COMPANY_KEY + '_imp_user', this.m_uti.encrypt_v3(JSON.stringify(data.result_data[0])));
|
|
28817
28851
|
this.get_grid().doFill("");
|
|
28818
28852
|
}
|
|
28819
28853
|
});
|
|
@@ -29040,7 +29074,9 @@ class wkfapp_v2 {
|
|
|
29040
29074
|
ripristina_imp() {
|
|
29041
29075
|
if (localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user') == null)
|
|
29042
29076
|
return;
|
|
29043
|
-
let obj = this.m_uti.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user'));
|
|
29077
|
+
let obj = JSON.parse(this.m_uti.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user')));
|
|
29078
|
+
if (obj == null)
|
|
29079
|
+
return;
|
|
29044
29080
|
this.app_s.user_name_ori = this.app_s.user_name;
|
|
29045
29081
|
this.app_s.user_ori = this.app_s.user;
|
|
29046
29082
|
this.app_s.user_surname_ori = this.app_s.user_surname;
|