@fluxhub/fluxhub-lib 1.0.286 → 1.0.287
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 +26 -12
- 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/auth_guard.js +3 -2
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +16 -3
- package/esm5/lib/auth_guard.js +3 -2
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +25 -12
- package/fesm2015/fluxhub-fluxhub-lib.js +18 -4
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +27 -13
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -15302,6 +15302,7 @@
|
|
|
15302
15302
|
_this.appService.user_roles = _this.appService.user_roles.substr(1);
|
|
15303
15303
|
_this.appService.user_isadmin = data.result_data[0].isadmin;
|
|
15304
15304
|
_this.appService.user = data.result_data[0].username;
|
|
15305
|
+
console.log('this.app_s.user_isadmin ', _this.app_s.user_isadmin);
|
|
15305
15306
|
if (_this.app_s.user_isadmin != null)
|
|
15306
15307
|
if (_this.app_s.user_isadmin == "1") {
|
|
15307
15308
|
resolve(true);
|
|
@@ -15320,7 +15321,7 @@
|
|
|
15320
15321
|
*/function (data) {
|
|
15321
15322
|
_this.arr_accessi = data.result_data;
|
|
15322
15323
|
for (var i = 0; i < _this.arr_accessi.length; i++) {
|
|
15323
|
-
|
|
15324
|
+
console.log('[' + _this.arr_accessi[i].url.split('/')[0] + ']', '-----', '[' + _this.routingDestination.split('/')[0] + ']');
|
|
15324
15325
|
if (_this.arr_accessi[i].type == 'M') {
|
|
15325
15326
|
if ('[' + _this.arr_accessi[i].url.split('/')[0] + ']' == '[' + _this.routingDestination.split('/')[0] + ']') {
|
|
15326
15327
|
resolve(true);
|
|
@@ -16881,14 +16882,26 @@
|
|
|
16881
16882
|
}));
|
|
16882
16883
|
}
|
|
16883
16884
|
/** @type {?} */
|
|
16885
|
+
var ccan = "$$";
|
|
16886
|
+
for (var i_2 = 0; i_2 < this.livs.length; i_2++) {
|
|
16887
|
+
if (this.livs[i_2].livello == this.clevel.livello && this.livs[i_2].idp == this.app_s.user) {
|
|
16888
|
+
if (ccan != "$$") {
|
|
16889
|
+
ccan = "$$";
|
|
16890
|
+
break;
|
|
16891
|
+
}
|
|
16892
|
+
else
|
|
16893
|
+
ccan = this.livs[i_2].gruppo_parallelo;
|
|
16894
|
+
}
|
|
16895
|
+
}
|
|
16896
|
+
/** @type {?} */
|
|
16884
16897
|
var a;
|
|
16885
16898
|
if (!this.app_info.documento_pubblico)
|
|
16886
|
-
a = new Array(this.m_autori, this.m_lettori, this.m_liv, this.m_statox, this.m_autori_paralleli, this.m_obj.assegnati_paralleli, this.getLvlDescri(String(this.m_liv), this.m_statox), this.getUsersList(this.m_autori, this.m_obj.assegnati_paralleli), this.user_idp, this.getTitle(), this.getDescri(), this.id_applicativo, this.id_documento);
|
|
16899
|
+
a = new Array(this.m_autori, this.m_lettori, this.m_liv, this.m_statox, this.m_autori_paralleli, this.m_obj.assegnati_paralleli, this.getLvlDescri(String(this.m_liv), this.m_statox), this.getUsersList(this.m_autori, this.m_obj.assegnati_paralleli), this.user_idp, this.getTitle(), this.getDescri(), this.id_applicativo, this.id_documento, ccan);
|
|
16887
16900
|
else
|
|
16888
|
-
a = new Array(this.m_autori, "", this.m_liv, this.m_statox, this.m_autori_paralleli, this.m_obj.assegnati_paralleli, this.getLvlDescri(String(this.m_liv), this.m_statox), this.getUsersList(this.m_autori, this.m_obj.assegnati_paralleli), this.user_idp, this.getTitle(), this.getDescri(), this.id_applicativo, this.id_documento);
|
|
16901
|
+
a = new Array(this.m_autori, "", this.m_liv, this.m_statox, this.m_autori_paralleli, this.m_obj.assegnati_paralleli, this.getLvlDescri(String(this.m_liv), this.m_statox), this.getUsersList(this.m_autori, this.m_obj.assegnati_paralleli), this.user_idp, this.getTitle(), this.getDescri(), this.id_applicativo, this.id_documento, ccan);
|
|
16889
16902
|
/** @type {?} */
|
|
16890
16903
|
var t = new Array();
|
|
16891
|
-
for (var
|
|
16904
|
+
for (var i_3 = 0; i_3 < a.length; i_3++)
|
|
16892
16905
|
t.push('string');
|
|
16893
16906
|
this.m_crea_att = 1;
|
|
16894
16907
|
if (this.m_liv >= 900)
|
|
@@ -16901,6 +16914,7 @@
|
|
|
16901
16914
|
if (this.nlevel != null)
|
|
16902
16915
|
if (this.nlevel.descri_livello != null)
|
|
16903
16916
|
this.m_oper = this.m_oper + " -> " + this.nlevel.descri_livello;
|
|
16917
|
+
console.log('ccan ', ccan);
|
|
16904
16918
|
/** @type {?} */
|
|
16905
16919
|
var p = new QParam();
|
|
16906
16920
|
p.sql = "doWKF";
|
|
@@ -17017,11 +17031,11 @@
|
|
|
17017
17031
|
if (data.result_msg == "OK") {
|
|
17018
17032
|
/** @type {?} */
|
|
17019
17033
|
var lista_p = _this.user_idp;
|
|
17020
|
-
for (var
|
|
17021
|
-
if (lista_p.indexOf(data.result_data[
|
|
17022
|
-
console.log('username:', data.result_data[
|
|
17034
|
+
for (var i_4 = 0; i_4 < data.result_data.length; i_4++)
|
|
17035
|
+
if (lista_p.indexOf(data.result_data[i_4].username) == -1) {
|
|
17036
|
+
console.log('username:', data.result_data[i_4].username);
|
|
17023
17037
|
lista_p += ',';
|
|
17024
|
-
lista_p += data.result_data[
|
|
17038
|
+
lista_p += data.result_data[i_4].username;
|
|
17025
17039
|
}
|
|
17026
17040
|
console.log('lista_p ', lista_p);
|
|
17027
17041
|
_this.sendEMail_ex(_this.user_idp, lista_p, _this.app_info.descrizione_breve + ", Il documento numero: " + _this.m_obj.codice + " è passato allo STEP: " + _this.nlevel.descri_livello + " " + _this.getTitle(), _this.m_statox + "<br>" + _this.getDescri() + comm_1, _this.id_applicativo, _this.id_documento, _this.app_s.COMPANY_SITE_ROOT + '#/' + _this.app_info.modulo_swf + '/' + _this.id_applicativo + "/" + _this.id_documento + "/edit", _this.m_obj.codice, _this.nota, true, ical_1, false);
|
|
@@ -17042,11 +17056,11 @@
|
|
|
17042
17056
|
if (data.result_msg == "OK") {
|
|
17043
17057
|
/** @type {?} */
|
|
17044
17058
|
var lista_p = _this.user_idp;
|
|
17045
|
-
for (var
|
|
17046
|
-
if (lista_p.indexOf(data.result_data[
|
|
17047
|
-
console.log('username:', data.result_data[
|
|
17059
|
+
for (var i_5 = 0; i_5 < data.result_data.length; i_5++)
|
|
17060
|
+
if (lista_p.indexOf(data.result_data[i_5].username) == -1) {
|
|
17061
|
+
console.log('username:', data.result_data[i_5].username);
|
|
17048
17062
|
lista_p += ',';
|
|
17049
|
-
lista_p += data.result_data[
|
|
17063
|
+
lista_p += data.result_data[i_5].username;
|
|
17050
17064
|
}
|
|
17051
17065
|
_this.sendEMail_ex(_this.user_idp, lista_p, _this.app_info.descrizione_breve + ", Il documento numero: " + _this.m_obj.codice + " è passato allo STEP: " + _this.nlevel.descri_livello + " " + _this.getTitle(), _this.m_statox + "<br>" + _this.getDescri() + comm_1, _this.id_applicativo, _this.id_documento, _this.app_s.COMPANY_SITE_ROOT + '#/' + _this.app_info.modulo_swf + '/' + _this.id_applicativo + "/" + _this.id_documento + "/edit", _this.m_obj.codice, _this.nota, true, ical_1, false);
|
|
17052
17066
|
}
|