@fluxhub/fluxhub-lib 11.0.99 → 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 +13 -10
- 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/controls/fhupload.js +5 -2
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +10 -10
- package/fesm2015/fluxhub-fluxhub-lib.js +13 -10
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -5309,11 +5309,14 @@
|
|
|
5309
5309
|
form.append('username', _this.app_s.user);
|
|
5310
5310
|
form.append('ver', _this.ver);
|
|
5311
5311
|
// console.log('this.app_s.user ', this.app_s.user);
|
|
5312
|
-
if ((_this.multi_list && _this.show_upload) || _this.direct_type)
|
|
5312
|
+
if ((_this.multi_list && _this.show_upload) || _this.direct_type) {
|
|
5313
5313
|
if (_this.cmb_tipo && !_this.direct_type)
|
|
5314
5314
|
form.append('tipo', (_this.cmb_tipo.getDescri() || '').split('-1').join(''));
|
|
5315
5315
|
else
|
|
5316
5316
|
form.append('tipo', _this.tipo);
|
|
5317
|
+
}
|
|
5318
|
+
else
|
|
5319
|
+
form.append('tipo', '');
|
|
5317
5320
|
form.append('local_path', _this.app_s.LOCAL_PATH);
|
|
5318
5321
|
if (_this.programma_da_eseguire != '')
|
|
5319
5322
|
form.append('p1', _this.programma_da_eseguire);
|
|
@@ -24790,7 +24793,7 @@
|
|
|
24790
24793
|
for (var i = 0; i < this.livs.length; i++)
|
|
24791
24794
|
if (this.livs[i].step == liv) {
|
|
24792
24795
|
console.log(' liv ', this.livs[i]);
|
|
24793
|
-
if (this.user_idp.toUpperCase() == this.livs[i].username.toUpperCase()) {
|
|
24796
|
+
if (this.user_idp.toUpperCase() == (this.livs[i].username || 'ND').toUpperCase()) {
|
|
24794
24797
|
console.log(this.m_obj.canale + ' ' + this.livs[i].context);
|
|
24795
24798
|
if (this.m_obj.canale == this.livs[i].context) {
|
|
24796
24799
|
console.log('clevel 1 ', this.livs[i]);
|
|
@@ -24806,7 +24809,7 @@
|
|
|
24806
24809
|
this.livs[i].username = 'ZZZ';
|
|
24807
24810
|
if (this.livs[i].step == liv) {
|
|
24808
24811
|
if (this.livs[i].context == '*ALLUSERS' ||
|
|
24809
|
-
this.user_idp.toUpperCase() == this.livs[i].username.toUpperCase()) {
|
|
24812
|
+
this.user_idp.toUpperCase() == (this.livs[i].username || 'ND').toUpperCase()) {
|
|
24810
24813
|
if (this.c_canale == '' ||
|
|
24811
24814
|
this.livs[i].context == '' ||
|
|
24812
24815
|
this.c_canale == this.livs[i].context ||
|
|
@@ -24832,7 +24835,7 @@
|
|
|
24832
24835
|
liv = this.clevel.livello;
|
|
24833
24836
|
for (var i = 0; i < this.livs.length; i++)
|
|
24834
24837
|
if (this.user_idp.toUpperCase() ==
|
|
24835
|
-
this.livs[i].username.toUpperCase() &&
|
|
24838
|
+
(this.livs[i].username || 'ND').toUpperCase() &&
|
|
24836
24839
|
this.livs[i].notifica == 0)
|
|
24837
24840
|
if (this.livs[i].step > liv &&
|
|
24838
24841
|
liv != 0 &&
|
|
@@ -24845,7 +24848,7 @@
|
|
|
24845
24848
|
var aliv = this.wkf_rule(liv);
|
|
24846
24849
|
for (var ixc = 0; ixc < this.livs.length; ixc++) {
|
|
24847
24850
|
if (this.livs[ixc].livello == aliv &&
|
|
24848
|
-
this.user_idp.toUpperCase() == this.livs[ixc].
|
|
24851
|
+
this.user_idp.toUpperCase() == (this.livs[ixc].username || 'ND').toUpperCase() &&
|
|
24849
24852
|
(this.c_canale == '' ||
|
|
24850
24853
|
this.livs[ixc].context == '' ||
|
|
24851
24854
|
this.c_canale == this.livs[ixc].context)) {
|
|
@@ -26055,7 +26058,7 @@
|
|
|
26055
26058
|
this.over_canale_iniz();
|
|
26056
26059
|
if (this.m_obj.stato <= 10)
|
|
26057
26060
|
for (var i = 0; i < this.livs.length; i++)
|
|
26058
|
-
if (this.livs[i].username.toUpperCase() == this.user_idp.toUpperCase() ||
|
|
26061
|
+
if ((this.livs[i].username || 'ND').toUpperCase() == this.user_idp.toUpperCase() ||
|
|
26059
26062
|
this.livs[i].context == '*ALLUSERS')
|
|
26060
26063
|
if (this.livs[i].step == 10 && this.livs[i].notifica == 0) {
|
|
26061
26064
|
if (this.livs[i].context == '*ALLUSERS') {
|
|
@@ -26137,8 +26140,8 @@
|
|
|
26137
26140
|
for (var i = 0; i < this.livs.length; i++)
|
|
26138
26141
|
if (this.livs[i].step == min_liv &&
|
|
26139
26142
|
this.app_s.getState().wkf_doc_info.curr_user.toUpperCase() ==
|
|
26140
|
-
this.livs[i].username.toUpperCase()) {
|
|
26141
|
-
console.log(' this.livs[i].step ', this.livs[i].step, this.livs[i].username.toUpperCase(), this.livs[i].context);
|
|
26143
|
+
(this.livs[i].username || 'ND').toUpperCase()) {
|
|
26144
|
+
console.log(' this.livs[i].step ', this.livs[i].step, (this.livs[i].username || 'ND').toUpperCase(), this.livs[i].context);
|
|
26142
26145
|
var b_found = false;
|
|
26143
26146
|
for (var y = 0; y < sv.length; y++)
|
|
26144
26147
|
if (sv[y] == this.livs[i].context) {
|
|
@@ -26493,7 +26496,7 @@
|
|
|
26493
26496
|
//console.log('this.livs[i].username.toUpperCase() ',this.livs[i].username.toUpperCase() );
|
|
26494
26497
|
if (this.livs[i].username == null)
|
|
26495
26498
|
this.livs[i].username = 'ZZZ';
|
|
26496
|
-
if (this.user_idp.toUpperCase() == this.livs[i].username.toUpperCase() ||
|
|
26499
|
+
if (this.user_idp.toUpperCase() == (this.livs[i].username || 'ND').toUpperCase() ||
|
|
26497
26500
|
this.livs[i].context == '*ALLUSERS') {
|
|
26498
26501
|
// if (this.livs[i].abilita_indietro == 1) this.respingi_enabled = true;
|
|
26499
26502
|
// else this.respingi_enabled = false;
|
|
@@ -26710,7 +26713,7 @@
|
|
|
26710
26713
|
var a = s.split(',');
|
|
26711
26714
|
for (var y = 0; y < a.length; y++)
|
|
26712
26715
|
for (var i = 0; i < this.livs.length; i++) {
|
|
26713
|
-
if (a[y].toUpperCase() == this.livs[i].username.toUpperCase()) {
|
|
26716
|
+
if (a[y].toUpperCase() == (this.livs[i].username || 'ND').toUpperCase()) {
|
|
26714
26717
|
if (rt != '')
|
|
26715
26718
|
rt = rt + ',';
|
|
26716
26719
|
rt = rt + this.livs[i].nc;
|