@fluxhub/fluxhub-lib 10.0.291 → 10.0.292

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.
@@ -16773,6 +16773,9 @@ class dati_aggiuntivi {
16773
16773
  this.override_livs.push(lvlcfg);
16774
16774
  this.apply_over_load();
16775
16775
  }
16776
+ overwriteLivs(o) {
16777
+ this.livs = JSON.parse(JSON.stringify(o));
16778
+ }
16776
16779
  getLvlInfo(lvl) {
16777
16780
  for (let i = 0; i < this.livs.length; i++)
16778
16781
  if (lvl == this.livs[i].livello) {
@@ -17053,7 +17056,7 @@ class dati_aggiuntivi {
17053
17056
  });
17054
17057
  }
17055
17058
  apply_over_load() {
17056
- console.log(' this.apply_over_load(); ');
17059
+ // console.log(' this.apply_over_load(); ');
17057
17060
  if (this.override_livs != null)
17058
17061
  if (this.livs != null)
17059
17062
  for (var y = 0; y < this.override_livs.length; y++)
@@ -17064,7 +17067,7 @@ class dati_aggiuntivi {
17064
17067
  this.livs[i].gruppo_parallelo = this.override_livs[y].gruppo_parallelo;
17065
17068
  this.livs[i].nc = this.override_livs[y].nc;
17066
17069
  }
17067
- console.log(this.livs, this.override_livs);
17070
+ // console.log(this.livs,this.override_livs);
17068
17071
  }
17069
17072
  ok_livelli_doc(r) {
17070
17073
  this.livs = r;