@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
|
@@ -8820,9 +8820,9 @@
|
|
|
8820
8820
|
}
|
|
8821
8821
|
this.innerValue = value;
|
|
8822
8822
|
this.value = value;
|
|
8823
|
-
|
|
8823
|
+
console.log('writeValue ini ', this.value, this.formattedAmount);
|
|
8824
8824
|
this.formattedAmount = this.transform(this.value, this.decimal);
|
|
8825
|
-
|
|
8825
|
+
console.log('writeValue fin ', this.value, this.formattedAmount);
|
|
8826
8826
|
}
|
|
8827
8827
|
// this.onChange(this.value);
|
|
8828
8828
|
};
|
|
@@ -8843,7 +8843,9 @@
|
|
|
8843
8843
|
// else
|
|
8844
8844
|
// this.value = parseFloat(this.formattedAmount.split('.').join('').split(',').join('.'));
|
|
8845
8845
|
// this.writeValue(this.value);
|
|
8846
|
+
console.log('transformAmount ini ', _this.value, _this.formattedAmount);
|
|
8846
8847
|
_this.formattedAmount = _this.transform(_this.value, _this.decimal);
|
|
8848
|
+
console.log('transformAmount fin ', _this.value, _this.formattedAmount);
|
|
8847
8849
|
}, 0);
|
|
8848
8850
|
// Remove or comment this line if you dont want
|
|
8849
8851
|
// to show the formatted amount in the textbox.
|
|
@@ -15178,7 +15180,7 @@
|
|
|
15178
15180
|
// console.log('user_idp: '+ this.user_idp);
|
|
15179
15181
|
}
|
|
15180
15182
|
dati_aggiuntivi.prototype.init_user_i = function () {
|
|
15181
|
-
console.log('init_user_i() ',
|
|
15183
|
+
//console.log('init_user_i() ',this.app_s.user);
|
|
15182
15184
|
this.user_idp = this.app_s.user;
|
|
15183
15185
|
this.user_nome = this.app_s.user_name;
|
|
15184
15186
|
this.user_cognome = this.app_s.user_surname;
|
|
@@ -15202,7 +15204,7 @@
|
|
|
15202
15204
|
if (check_on_save === void 0) { check_on_save = false; }
|
|
15203
15205
|
this.b_rip_pulsanti = rip_pulsanti;
|
|
15204
15206
|
this.btnprocedi = false;
|
|
15205
|
-
console.log(check_on_save);
|
|
15207
|
+
//console.log(check_on_save);
|
|
15206
15208
|
if (check_on_save)
|
|
15207
15209
|
if (!this.ck_field())
|
|
15208
15210
|
return;
|
|
@@ -15309,7 +15311,7 @@
|
|
|
15309
15311
|
if (this.clevel.livelli_jump == null)
|
|
15310
15312
|
this.clevel.livelli_jump = "";
|
|
15311
15313
|
if (this.clevel.livelli_jump != "") {
|
|
15312
|
-
console.log("selectLevel " + this.clevel.livelli_jump);
|
|
15314
|
+
//console.log("selectLevel " + this.clevel.livelli_jump);
|
|
15313
15315
|
this.selectLevel(this.clevel.livelli_jump);
|
|
15314
15316
|
return;
|
|
15315
15317
|
}
|
|
@@ -15441,28 +15443,33 @@
|
|
|
15441
15443
|
var arrayNexl = new Array();
|
|
15442
15444
|
var arrAutori = new Array();
|
|
15443
15445
|
if (this.clevel.gruppo_parallelo == "") {
|
|
15444
|
-
console.log(
|
|
15446
|
+
/*console.log(
|
|
15447
|
+
"senza gp ",
|
|
15448
|
+
this.clevel.gruppo_parallelo + " " + this.nlevel.livello
|
|
15449
|
+
);*/
|
|
15445
15450
|
for (var i = 0; i < this.livs.length; i++)
|
|
15446
15451
|
if (this.livs[i].livello == this.nlevel.livello &&
|
|
15447
15452
|
this.livs[i].notifica == 0)
|
|
15448
15453
|
arrAutori.push(this.livs[i]);
|
|
15449
|
-
console.log("arrAutori ", arrAutori);
|
|
15454
|
+
// console.log("arrAutori ", arrAutori);
|
|
15450
15455
|
}
|
|
15451
15456
|
else {
|
|
15452
15457
|
var b_canale = false;
|
|
15453
|
-
console.log("con gp ", this.clevel.gruppo_parallelo);
|
|
15458
|
+
//console.log("con gp ", this.clevel.gruppo_parallelo);
|
|
15454
15459
|
for (var i = 0; i < this.livs.length; i++)
|
|
15455
15460
|
if (this.livs[i].livello == this.nlevel.livello &&
|
|
15456
15461
|
this.livs[i].gruppo_parallelo != "")
|
|
15457
15462
|
b_canale = true;
|
|
15458
|
-
console.log("canale: " + this.clevel.gruppo_parallelo);
|
|
15463
|
+
//console.log("canale: " + this.clevel.gruppo_parallelo);
|
|
15459
15464
|
for (var i = 0; i < this.livs.length; i++)
|
|
15460
15465
|
if (this.livs[i].livello == this.nlevel.livello &&
|
|
15461
15466
|
this.livs[i].notifica == 0) {
|
|
15462
|
-
console.log(
|
|
15467
|
+
/*console.log(
|
|
15468
|
+
"canale: " +
|
|
15463
15469
|
this.clevel.gruppo_parallelo +
|
|
15464
15470
|
" " +
|
|
15465
|
-
this.livs[i].gruppo_parallelo
|
|
15471
|
+
this.livs[i].gruppo_parallelo
|
|
15472
|
+
);*/
|
|
15466
15473
|
if (this.clevel.gruppo_parallelo == this.livs[i].gruppo_parallelo ||
|
|
15467
15474
|
!b_canale) {
|
|
15468
15475
|
arrAutori.push(this.livs[i]);
|
|
@@ -16817,7 +16824,14 @@
|
|
|
16817
16824
|
}
|
|
16818
16825
|
if (this.m_obj.autori == null)
|
|
16819
16826
|
this.m_obj.autori = "";
|
|
16820
|
-
console.log(
|
|
16827
|
+
/*console.log(
|
|
16828
|
+
"return_edit-> ",
|
|
16829
|
+
"," + this.m_obj.autori.toLowerCase() + ",",
|
|
16830
|
+
"," + this.user_idp.toLowerCase() + ",",
|
|
16831
|
+
("," + this.m_obj.autori.toLowerCase() + ",").indexOf(
|
|
16832
|
+
"," + this.user_idp.toLowerCase() + ","
|
|
16833
|
+
)
|
|
16834
|
+
);*/
|
|
16821
16835
|
if (("," + this.m_obj.autori.toLowerCase() + ",").indexOf("," + this.user_idp.toLowerCase() + ",") != -1) {
|
|
16822
16836
|
this.edit_b(true);
|
|
16823
16837
|
if (this.respingi_enabled)
|