@fluxhub/fluxhub-lib 11.0.100 → 11.0.101
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 +9 -9
- 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_v2/wkfdatiaggiuntivi.js +10 -10
- package/fesm2015/fluxhub-fluxhub-lib.js +9 -9
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -25401,7 +25401,7 @@ class dati_aggiuntivi_v2 {
|
|
|
25401
25401
|
for (let i = 0; i < this.livs.length; i++)
|
|
25402
25402
|
if (this.livs[i].step == liv) {
|
|
25403
25403
|
console.log(' liv ', this.livs[i]);
|
|
25404
|
-
if (this.user_idp.toUpperCase() == this.livs[i].username.toUpperCase()) {
|
|
25404
|
+
if (this.user_idp.toUpperCase() == (this.livs[i].username || 'ND').toUpperCase()) {
|
|
25405
25405
|
console.log(this.m_obj.canale + ' ' + this.livs[i].context);
|
|
25406
25406
|
if (this.m_obj.canale == this.livs[i].context) {
|
|
25407
25407
|
console.log('clevel 1 ', this.livs[i]);
|
|
@@ -25417,7 +25417,7 @@ class dati_aggiuntivi_v2 {
|
|
|
25417
25417
|
this.livs[i].username = 'ZZZ';
|
|
25418
25418
|
if (this.livs[i].step == liv) {
|
|
25419
25419
|
if (this.livs[i].context == '*ALLUSERS' ||
|
|
25420
|
-
this.user_idp.toUpperCase() == this.livs[i].username.toUpperCase()) {
|
|
25420
|
+
this.user_idp.toUpperCase() == (this.livs[i].username || 'ND').toUpperCase()) {
|
|
25421
25421
|
if (this.c_canale == '' ||
|
|
25422
25422
|
this.livs[i].context == '' ||
|
|
25423
25423
|
this.c_canale == this.livs[i].context ||
|
|
@@ -25443,7 +25443,7 @@ class dati_aggiuntivi_v2 {
|
|
|
25443
25443
|
liv = this.clevel.livello;
|
|
25444
25444
|
for (let i = 0; i < this.livs.length; i++)
|
|
25445
25445
|
if (this.user_idp.toUpperCase() ==
|
|
25446
|
-
this.livs[i].username.toUpperCase() &&
|
|
25446
|
+
(this.livs[i].username || 'ND').toUpperCase() &&
|
|
25447
25447
|
this.livs[i].notifica == 0)
|
|
25448
25448
|
if (this.livs[i].step > liv &&
|
|
25449
25449
|
liv != 0 &&
|
|
@@ -25456,7 +25456,7 @@ class dati_aggiuntivi_v2 {
|
|
|
25456
25456
|
var aliv = this.wkf_rule(liv);
|
|
25457
25457
|
for (let ixc = 0; ixc < this.livs.length; ixc++) {
|
|
25458
25458
|
if (this.livs[ixc].livello == aliv &&
|
|
25459
|
-
this.user_idp.toUpperCase() == this.livs[ixc].
|
|
25459
|
+
this.user_idp.toUpperCase() == (this.livs[ixc].username || 'ND').toUpperCase() &&
|
|
25460
25460
|
(this.c_canale == '' ||
|
|
25461
25461
|
this.livs[ixc].context == '' ||
|
|
25462
25462
|
this.c_canale == this.livs[ixc].context)) {
|
|
@@ -26642,7 +26642,7 @@ class dati_aggiuntivi_v2 {
|
|
|
26642
26642
|
this.over_canale_iniz();
|
|
26643
26643
|
if (this.m_obj.stato <= 10)
|
|
26644
26644
|
for (let i = 0; i < this.livs.length; i++)
|
|
26645
|
-
if (this.livs[i].username.toUpperCase() == this.user_idp.toUpperCase() ||
|
|
26645
|
+
if ((this.livs[i].username || 'ND').toUpperCase() == this.user_idp.toUpperCase() ||
|
|
26646
26646
|
this.livs[i].context == '*ALLUSERS')
|
|
26647
26647
|
if (this.livs[i].step == 10 && this.livs[i].notifica == 0) {
|
|
26648
26648
|
if (this.livs[i].context == '*ALLUSERS') {
|
|
@@ -26721,8 +26721,8 @@ class dati_aggiuntivi_v2 {
|
|
|
26721
26721
|
for (let i = 0; i < this.livs.length; i++)
|
|
26722
26722
|
if (this.livs[i].step == min_liv &&
|
|
26723
26723
|
this.app_s.getState().wkf_doc_info.curr_user.toUpperCase() ==
|
|
26724
|
-
this.livs[i].username.toUpperCase()) {
|
|
26725
|
-
console.log(' this.livs[i].step ', this.livs[i].step, this.livs[i].username.toUpperCase(), this.livs[i].context);
|
|
26724
|
+
(this.livs[i].username || 'ND').toUpperCase()) {
|
|
26725
|
+
console.log(' this.livs[i].step ', this.livs[i].step, (this.livs[i].username || 'ND').toUpperCase(), this.livs[i].context);
|
|
26726
26726
|
let b_found = false;
|
|
26727
26727
|
for (let y = 0; y < sv.length; y++)
|
|
26728
26728
|
if (sv[y] == this.livs[i].context) {
|
|
@@ -27072,7 +27072,7 @@ class dati_aggiuntivi_v2 {
|
|
|
27072
27072
|
//console.log('this.livs[i].username.toUpperCase() ',this.livs[i].username.toUpperCase() );
|
|
27073
27073
|
if (this.livs[i].username == null)
|
|
27074
27074
|
this.livs[i].username = 'ZZZ';
|
|
27075
|
-
if (this.user_idp.toUpperCase() == this.livs[i].username.toUpperCase() ||
|
|
27075
|
+
if (this.user_idp.toUpperCase() == (this.livs[i].username || 'ND').toUpperCase() ||
|
|
27076
27076
|
this.livs[i].context == '*ALLUSERS') {
|
|
27077
27077
|
// if (this.livs[i].abilita_indietro == 1) this.respingi_enabled = true;
|
|
27078
27078
|
// else this.respingi_enabled = false;
|
|
@@ -27285,7 +27285,7 @@ class dati_aggiuntivi_v2 {
|
|
|
27285
27285
|
var a = s.split(',');
|
|
27286
27286
|
for (var y = 0; y < a.length; y++)
|
|
27287
27287
|
for (var i = 0; i < this.livs.length; i++) {
|
|
27288
|
-
if (a[y].toUpperCase() == this.livs[i].username.toUpperCase()) {
|
|
27288
|
+
if (a[y].toUpperCase() == (this.livs[i].username || 'ND').toUpperCase()) {
|
|
27289
27289
|
if (rt != '')
|
|
27290
27290
|
rt = rt + ',';
|
|
27291
27291
|
rt = rt + this.livs[i].nc;
|