@fluxhub/fluxhub-lib 22.0.16 → 22.0.18

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.
@@ -11967,14 +11967,18 @@ class FHGridComponent {
11967
11967
  var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent);
11968
11968
  if (iOS) {
11969
11969
  this.columndclicked.emit($event);
11970
- this.dclicked.emit($event.data);
11970
+ // riga di caricamento / senza dati: niente dclicked (il chiamante legge i campi della riga)
11971
+ if ($event.data != null)
11972
+ this.dclicked.emit($event.data);
11971
11973
  }
11972
11974
  }
11973
11975
  sRow;
11974
11976
  onRowDClicked($event) {
11975
11977
  if (!this.b_init)
11976
11978
  return;
11977
- this.dclicked.emit($event.data);
11979
+ // riga di caricamento / senza dati: niente dclicked (il chiamante legge i campi della riga)
11980
+ if ($event.data != null)
11981
+ this.dclicked.emit($event.data);
11978
11982
  var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent);
11979
11983
  if (iOS) {
11980
11984
  this.columndclicked.emit($event);
@@ -14308,7 +14312,8 @@ class FHViewerComponent {
14308
14312
  notfullScreenEvent = new EventEmitter();
14309
14313
  fullScreenEvent = new EventEmitter();
14310
14314
  nextImage($event) {
14311
- if (this.index < this.src.length - 1) {
14315
+ // listener su window: con src non ancora valorizzato una freccia premuta altrove non deve rompere
14316
+ if (this.src && this.index < this.src.length - 1) {
14312
14317
  this.loading = true;
14313
14318
  this.index++;
14314
14319
  this.triggerIndexBinding();
@@ -14316,7 +14321,7 @@ class FHViewerComponent {
14316
14321
  }
14317
14322
  }
14318
14323
  prevImage($event) {
14319
- if (this.index > 0) {
14324
+ if (this.src && this.index > 0) {
14320
14325
  this.loading = true;
14321
14326
  this.index--;
14322
14327
  this.triggerIndexBinding();
@@ -35815,6 +35820,9 @@ class FHWorkflowForm {
35815
35820
  // (ok_insert_aggiuntivi) o su errore della query di salvataggio.
35816
35821
  b_saving = false;
35817
35822
  salva() {
35823
+ // app_info si carica in modo asincrono: un doppio clic sul salva dopo new -> edit arrivava prima
35824
+ if (this.app_info == null)
35825
+ return;
35818
35826
  if (!this.can_save())
35819
35827
  return;
35820
35828
  if (this.b_saving)