@fluxhub/fluxhub-lib 19.0.254 → 19.0.256

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.
@@ -10874,14 +10874,18 @@ class FHGridComponent {
10874
10874
  var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent);
10875
10875
  if (iOS) {
10876
10876
  this.columndclicked.emit($event);
10877
- this.dclicked.emit($event.data);
10877
+ // riga di caricamento / senza dati: niente dclicked (il chiamante legge i campi della riga)
10878
+ if ($event.data != null)
10879
+ this.dclicked.emit($event.data);
10878
10880
  }
10879
10881
  }
10880
10882
  sRow;
10881
10883
  onRowDClicked($event) {
10882
10884
  if (!this.b_init)
10883
10885
  return;
10884
- this.dclicked.emit($event.data);
10886
+ // riga di caricamento / senza dati: niente dclicked (il chiamante legge i campi della riga)
10887
+ if ($event.data != null)
10888
+ this.dclicked.emit($event.data);
10885
10889
  var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent);
10886
10890
  if (iOS) {
10887
10891
  this.columndclicked.emit($event);
@@ -13252,7 +13256,8 @@ class FHViewerComponent {
13252
13256
  notfullScreenEvent = new EventEmitter();
13253
13257
  fullScreenEvent = new EventEmitter();
13254
13258
  nextImage($event) {
13255
- if (this.index < this.src.length - 1) {
13259
+ // listener su window: con src non ancora valorizzato una freccia premuta altrove non deve rompere
13260
+ if (this.src && this.index < this.src.length - 1) {
13256
13261
  this.loading = true;
13257
13262
  this.index++;
13258
13263
  this.triggerIndexBinding();
@@ -13260,7 +13265,7 @@ class FHViewerComponent {
13260
13265
  }
13261
13266
  }
13262
13267
  prevImage($event) {
13263
- if (this.index > 0) {
13268
+ if (this.src && this.index > 0) {
13264
13269
  this.loading = true;
13265
13270
  this.index--;
13266
13271
  this.triggerIndexBinding();
@@ -33502,6 +33507,9 @@ class FHWorkflowForm {
33502
33507
  // (ok_insert_aggiuntivi) o su errore della query di salvataggio.
33503
33508
  b_saving = false;
33504
33509
  salva() {
33510
+ // app_info si carica in modo asincrono: un doppio clic sul salva dopo new -> edit arrivava prima
33511
+ if (this.app_info == null)
33512
+ return;
33505
33513
  if (!this.can_save())
33506
33514
  return;
33507
33515
  if (this.b_saving)