@fluxhub/fluxhub-lib 19.0.254 → 19.0.255

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();