@fluxhub/fluxhub-lib 10.0.59 → 10.0.61

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.
@@ -11990,13 +11990,16 @@ class FHCurrencyFieldComponent {
11990
11990
  else
11991
11991
  this.value = parseFloat(this.value.split(".").join("").split(",").join("."));
11992
11992
  }
11993
- console.log("this.value ", this.value);
11993
+ if (isNaN(this.value))
11994
+ this.value = 0;
11994
11995
  this.onChange(this.value);
11995
11996
  }, 0);
11996
11997
  }
11997
11998
  writeValue(value) {
11998
11999
  if (value == null)
11999
12000
  value = 0;
12001
+ if (isNaN(value))
12002
+ value = 0;
12000
12003
  if (value !== this.innerValue) {
12001
12004
  if (typeof value == "string") {
12002
12005
  if (this.decimal == 0)
@@ -12004,6 +12007,8 @@ class FHCurrencyFieldComponent {
12004
12007
  else
12005
12008
  value = parseFloat(value.split(".").join("").split(",").join("."));
12006
12009
  }
12010
+ if (isNaN(value))
12011
+ value = 0;
12007
12012
  this.innerValue = value;
12008
12013
  this.value = value;
12009
12014
  // console.log('writeValue ini ',this.value);
@@ -15678,6 +15683,7 @@ class dati_aggiuntivi {
15678
15683
  // console.log('user_idp: '+ this.user_idp);
15679
15684
  }
15680
15685
  init_user_i() {
15686
+ console.log('init_user_i() ', this.app_s.user);
15681
15687
  this.user_idp = this.app_s.user;
15682
15688
  this.user_nome = this.app_s.user_name;
15683
15689
  this.user_cognome = this.app_s.user_surname;
@@ -17314,6 +17320,7 @@ class dati_aggiuntivi {
17314
17320
  }
17315
17321
  onResize(event) { }
17316
17322
  init_engine() {
17323
+ console.log(' init_engine()');
17317
17324
  if (this.user_idp == null) {
17318
17325
  setTimeout(() => {
17319
17326
  this.init_user_i();
@@ -17321,7 +17328,7 @@ class dati_aggiuntivi {
17321
17328
  }, 100);
17322
17329
  return;
17323
17330
  }
17324
- //console.log('init_engine ');
17331
+ console.log('init_engine ini ');
17325
17332
  this.m_route.params.subscribe((params) => {
17326
17333
  this.onResize();
17327
17334
  var id = params["op"];