@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
|
@@ -19320,14 +19320,24 @@
|
|
|
19320
19320
|
this.m_wkf.doQuery(p).subscribe(function (data) { });
|
|
19321
19321
|
};
|
|
19322
19322
|
wkfapp.prototype.annulla_imp = function () {
|
|
19323
|
-
|
|
19324
|
-
|
|
19325
|
-
|
|
19326
|
-
|
|
19327
|
-
|
|
19328
|
-
this.
|
|
19329
|
-
|
|
19330
|
-
|
|
19323
|
+
var _this = this;
|
|
19324
|
+
var p = new QParam();
|
|
19325
|
+
p.sql = "SELECT_CURRENT_USER_INFOS";
|
|
19326
|
+
p.types = [];
|
|
19327
|
+
p.values = [];
|
|
19328
|
+
this.m_dataService.doQuery(p).subscribe(function (data) {
|
|
19329
|
+
if (data != null)
|
|
19330
|
+
if (data.result_msg == "OK") {
|
|
19331
|
+
_this.app_s.user_name = data.result_data[0].nome;
|
|
19332
|
+
_this.app_s.user = data.result_data[0].username;
|
|
19333
|
+
_this.app_s.user_surname = data.result_data[0].cognome;
|
|
19334
|
+
_this.app_s.user_email = data.result_data[0].email;
|
|
19335
|
+
_this.user_idp = data.result_data[0].username;
|
|
19336
|
+
_this.user_nome = data.result_data[0].nome;
|
|
19337
|
+
_this.user_cognome = data.result_data[0].cognome;
|
|
19338
|
+
_this.user_email = data.result_data[0].email;
|
|
19339
|
+
}
|
|
19340
|
+
});
|
|
19331
19341
|
this.app_s.user_name_ori = null;
|
|
19332
19342
|
this.app_s.user_ori = null;
|
|
19333
19343
|
this.app_s.user_surname_ori = null;
|
|
@@ -19383,7 +19393,7 @@
|
|
|
19383
19393
|
data.result_data[0].cognome +
|
|
19384
19394
|
" " +
|
|
19385
19395
|
data.result_data[0].nome;
|
|
19386
|
-
localStorage.setItem(_this.app_s.COMPANY_KEY + '_imp_user', _this.m_uti.encrypt_v3(data.result_data[0]));
|
|
19396
|
+
localStorage.setItem(_this.app_s.COMPANY_KEY + '_imp_user', _this.m_uti.encrypt_v3(JSON.stringify(data.result_data[0])));
|
|
19387
19397
|
_this.get_grid().doFill("");
|
|
19388
19398
|
}
|
|
19389
19399
|
});
|
|
@@ -19395,7 +19405,9 @@
|
|
|
19395
19405
|
wkfapp.prototype.ripristina_imp = function () {
|
|
19396
19406
|
if (localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user') == null)
|
|
19397
19407
|
return;
|
|
19398
|
-
var obj = this.m_uti.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user'));
|
|
19408
|
+
var obj = JSON.parse(this.m_uti.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user')));
|
|
19409
|
+
if (obj == null)
|
|
19410
|
+
return;
|
|
19399
19411
|
this.app_s.user_name_ori = this.app_s.user_name;
|
|
19400
19412
|
this.app_s.user_ori = this.app_s.user;
|
|
19401
19413
|
this.app_s.user_surname_ori = this.app_s.user_surname;
|
|
@@ -19726,7 +19738,14 @@
|
|
|
19726
19738
|
this.user_email = this.app_s.user_email;
|
|
19727
19739
|
return;
|
|
19728
19740
|
}
|
|
19729
|
-
var obj = this.uti_s.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user'));
|
|
19741
|
+
var obj = JSON.parse(this.uti_s.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user')));
|
|
19742
|
+
if (obj == null) {
|
|
19743
|
+
this.user_idp = this.app_s.user;
|
|
19744
|
+
this.user_nome = this.app_s.user_name;
|
|
19745
|
+
this.user_cognome = this.app_s.user_surname;
|
|
19746
|
+
this.user_email = this.app_s.user_email;
|
|
19747
|
+
return;
|
|
19748
|
+
}
|
|
19730
19749
|
this.app_s.user_name_ori = this.app_s.user_name;
|
|
19731
19750
|
this.app_s.user_ori = this.app_s.user;
|
|
19732
19751
|
this.app_s.user_surname_ori = this.app_s.user_surname;
|
|
@@ -22170,14 +22189,24 @@
|
|
|
22170
22189
|
this.m_wkf.doQuery(p).subscribe(function (data) { });
|
|
22171
22190
|
};
|
|
22172
22191
|
wkfapp_v2.prototype.annulla_imp = function () {
|
|
22173
|
-
|
|
22174
|
-
|
|
22175
|
-
|
|
22176
|
-
|
|
22177
|
-
|
|
22178
|
-
this.
|
|
22179
|
-
|
|
22180
|
-
|
|
22192
|
+
var _this = this;
|
|
22193
|
+
var p = new QParam();
|
|
22194
|
+
p.sql = "SELECT_CURRENT_USER_INFOS";
|
|
22195
|
+
p.types = [];
|
|
22196
|
+
p.values = [];
|
|
22197
|
+
this.m_dataService.doQuery(p).subscribe(function (data) {
|
|
22198
|
+
if (data != null)
|
|
22199
|
+
if (data.result_msg == "OK") {
|
|
22200
|
+
_this.app_s.user_name = data.result_data[0].nome;
|
|
22201
|
+
_this.app_s.user = data.result_data[0].username;
|
|
22202
|
+
_this.app_s.user_surname = data.result_data[0].cognome;
|
|
22203
|
+
_this.app_s.user_email = data.result_data[0].email;
|
|
22204
|
+
_this.user_idp = data.result_data[0].username;
|
|
22205
|
+
_this.user_nome = data.result_data[0].nome;
|
|
22206
|
+
_this.user_cognome = data.result_data[0].cognome;
|
|
22207
|
+
_this.user_email = data.result_data[0].email;
|
|
22208
|
+
}
|
|
22209
|
+
});
|
|
22181
22210
|
this.app_s.user_name_ori = null;
|
|
22182
22211
|
this.app_s.user_ori = null;
|
|
22183
22212
|
this.app_s.user_surname_ori = null;
|
|
@@ -22233,7 +22262,7 @@
|
|
|
22233
22262
|
data.result_data[0].cognome +
|
|
22234
22263
|
" " +
|
|
22235
22264
|
data.result_data[0].nome;
|
|
22236
|
-
localStorage.setItem(_this.app_s.COMPANY_KEY + '_imp_user', _this.m_uti.encrypt_v3(data.result_data[0]));
|
|
22265
|
+
localStorage.setItem(_this.app_s.COMPANY_KEY + '_imp_user', _this.m_uti.encrypt_v3(JSON.stringify(data.result_data[0])));
|
|
22237
22266
|
_this.get_grid().doFill("");
|
|
22238
22267
|
}
|
|
22239
22268
|
});
|
|
@@ -22463,7 +22492,9 @@
|
|
|
22463
22492
|
wkfapp_v2.prototype.ripristina_imp = function () {
|
|
22464
22493
|
if (localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user') == null)
|
|
22465
22494
|
return;
|
|
22466
|
-
var obj = this.m_uti.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user'));
|
|
22495
|
+
var obj = JSON.parse(this.m_uti.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user')));
|
|
22496
|
+
if (obj == null)
|
|
22497
|
+
return;
|
|
22467
22498
|
this.app_s.user_name_ori = this.app_s.user_name;
|
|
22468
22499
|
this.app_s.user_ori = this.app_s.user;
|
|
22469
22500
|
this.app_s.user_surname_ori = this.app_s.user_surname;
|
|
@@ -22639,7 +22670,14 @@
|
|
|
22639
22670
|
this.user_email = this.app_s.user_email;
|
|
22640
22671
|
return;
|
|
22641
22672
|
}
|
|
22642
|
-
var obj = this.uti_s.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user'));
|
|
22673
|
+
var obj = JSON.parse(this.uti_s.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user')));
|
|
22674
|
+
if (obj == null) {
|
|
22675
|
+
this.user_idp = this.app_s.user;
|
|
22676
|
+
this.user_nome = this.app_s.user_name;
|
|
22677
|
+
this.user_cognome = this.app_s.user_surname;
|
|
22678
|
+
this.user_email = this.app_s.user_email;
|
|
22679
|
+
return;
|
|
22680
|
+
}
|
|
22643
22681
|
this.app_s.user_name_ori = this.app_s.user_name;
|
|
22644
22682
|
this.app_s.user_ori = this.app_s.user;
|
|
22645
22683
|
this.app_s.user_surname_ori = this.app_s.user_surname;
|