@fluxhub/fluxhub-lib 10.0.162 → 10.0.164
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/controls/fhcurrencyfield.js +5 -3
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +23 -11
- package/fesm2015/fluxhub-fluxhub-lib.js +26 -12
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -12150,9 +12150,9 @@ class FHCurrencyFieldComponent {
|
|
|
12150
12150
|
}
|
|
12151
12151
|
this.innerValue = value;
|
|
12152
12152
|
this.value = value;
|
|
12153
|
-
|
|
12153
|
+
console.log('writeValue ini ', this.value, this.formattedAmount);
|
|
12154
12154
|
this.formattedAmount = this.transform(this.value, this.decimal);
|
|
12155
|
-
|
|
12155
|
+
console.log('writeValue fin ', this.value, this.formattedAmount);
|
|
12156
12156
|
}
|
|
12157
12157
|
// this.onChange(this.value);
|
|
12158
12158
|
}
|
|
@@ -12172,7 +12172,9 @@ class FHCurrencyFieldComponent {
|
|
|
12172
12172
|
// else
|
|
12173
12173
|
// this.value = parseFloat(this.formattedAmount.split('.').join('').split(',').join('.'));
|
|
12174
12174
|
// this.writeValue(this.value);
|
|
12175
|
+
console.log('transformAmount ini ', this.value, this.formattedAmount);
|
|
12175
12176
|
this.formattedAmount = this.transform(this.value, this.decimal);
|
|
12177
|
+
console.log('transformAmount fin ', this.value, this.formattedAmount);
|
|
12176
12178
|
}, 0);
|
|
12177
12179
|
// Remove or comment this line if you dont want
|
|
12178
12180
|
// to show the formatted amount in the textbox.
|
|
@@ -15849,7 +15851,7 @@ class dati_aggiuntivi {
|
|
|
15849
15851
|
// console.log('user_idp: '+ this.user_idp);
|
|
15850
15852
|
}
|
|
15851
15853
|
init_user_i() {
|
|
15852
|
-
console.log('init_user_i() ',
|
|
15854
|
+
//console.log('init_user_i() ',this.app_s.user);
|
|
15853
15855
|
this.user_idp = this.app_s.user;
|
|
15854
15856
|
this.user_nome = this.app_s.user_name;
|
|
15855
15857
|
this.user_cognome = this.app_s.user_surname;
|
|
@@ -15871,7 +15873,7 @@ class dati_aggiuntivi {
|
|
|
15871
15873
|
evt_salv(rip_pulsanti = true, check_on_save = false) {
|
|
15872
15874
|
this.b_rip_pulsanti = rip_pulsanti;
|
|
15873
15875
|
this.btnprocedi = false;
|
|
15874
|
-
console.log(check_on_save);
|
|
15876
|
+
//console.log(check_on_save);
|
|
15875
15877
|
if (check_on_save)
|
|
15876
15878
|
if (!this.ck_field())
|
|
15877
15879
|
return;
|
|
@@ -15977,7 +15979,7 @@ class dati_aggiuntivi {
|
|
|
15977
15979
|
if (this.clevel.livelli_jump == null)
|
|
15978
15980
|
this.clevel.livelli_jump = "";
|
|
15979
15981
|
if (this.clevel.livelli_jump != "") {
|
|
15980
|
-
console.log("selectLevel " + this.clevel.livelli_jump);
|
|
15982
|
+
//console.log("selectLevel " + this.clevel.livelli_jump);
|
|
15981
15983
|
this.selectLevel(this.clevel.livelli_jump);
|
|
15982
15984
|
return;
|
|
15983
15985
|
}
|
|
@@ -16107,28 +16109,33 @@ class dati_aggiuntivi {
|
|
|
16107
16109
|
let arrayNexl = new Array();
|
|
16108
16110
|
let arrAutori = new Array();
|
|
16109
16111
|
if (this.clevel.gruppo_parallelo == "") {
|
|
16110
|
-
console.log(
|
|
16112
|
+
/*console.log(
|
|
16113
|
+
"senza gp ",
|
|
16114
|
+
this.clevel.gruppo_parallelo + " " + this.nlevel.livello
|
|
16115
|
+
);*/
|
|
16111
16116
|
for (let i = 0; i < this.livs.length; i++)
|
|
16112
16117
|
if (this.livs[i].livello == this.nlevel.livello &&
|
|
16113
16118
|
this.livs[i].notifica == 0)
|
|
16114
16119
|
arrAutori.push(this.livs[i]);
|
|
16115
|
-
console.log("arrAutori ", arrAutori);
|
|
16120
|
+
// console.log("arrAutori ", arrAutori);
|
|
16116
16121
|
}
|
|
16117
16122
|
else {
|
|
16118
16123
|
let b_canale = false;
|
|
16119
|
-
console.log("con gp ", this.clevel.gruppo_parallelo);
|
|
16124
|
+
//console.log("con gp ", this.clevel.gruppo_parallelo);
|
|
16120
16125
|
for (let i = 0; i < this.livs.length; i++)
|
|
16121
16126
|
if (this.livs[i].livello == this.nlevel.livello &&
|
|
16122
16127
|
this.livs[i].gruppo_parallelo != "")
|
|
16123
16128
|
b_canale = true;
|
|
16124
|
-
console.log("canale: " + this.clevel.gruppo_parallelo);
|
|
16129
|
+
//console.log("canale: " + this.clevel.gruppo_parallelo);
|
|
16125
16130
|
for (let i = 0; i < this.livs.length; i++)
|
|
16126
16131
|
if (this.livs[i].livello == this.nlevel.livello &&
|
|
16127
16132
|
this.livs[i].notifica == 0) {
|
|
16128
|
-
console.log(
|
|
16133
|
+
/*console.log(
|
|
16134
|
+
"canale: " +
|
|
16129
16135
|
this.clevel.gruppo_parallelo +
|
|
16130
16136
|
" " +
|
|
16131
|
-
this.livs[i].gruppo_parallelo
|
|
16137
|
+
this.livs[i].gruppo_parallelo
|
|
16138
|
+
);*/
|
|
16132
16139
|
if (this.clevel.gruppo_parallelo == this.livs[i].gruppo_parallelo ||
|
|
16133
16140
|
!b_canale) {
|
|
16134
16141
|
arrAutori.push(this.livs[i]);
|
|
@@ -17459,7 +17466,14 @@ class dati_aggiuntivi {
|
|
|
17459
17466
|
}
|
|
17460
17467
|
if (this.m_obj.autori == null)
|
|
17461
17468
|
this.m_obj.autori = "";
|
|
17462
|
-
console.log(
|
|
17469
|
+
/*console.log(
|
|
17470
|
+
"return_edit-> ",
|
|
17471
|
+
"," + this.m_obj.autori.toLowerCase() + ",",
|
|
17472
|
+
"," + this.user_idp.toLowerCase() + ",",
|
|
17473
|
+
("," + this.m_obj.autori.toLowerCase() + ",").indexOf(
|
|
17474
|
+
"," + this.user_idp.toLowerCase() + ","
|
|
17475
|
+
)
|
|
17476
|
+
);*/
|
|
17463
17477
|
if (("," + this.m_obj.autori.toLowerCase() + ",").indexOf("," + this.user_idp.toLowerCase() + ",") != -1) {
|
|
17464
17478
|
this.edit_b(true);
|
|
17465
17479
|
if (this.respingi_enabled)
|