@fluxhub/fluxhub-lib 18.0.41 → 18.0.43
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.
- package/esm2022/lib/controls/fh-grid.mjs +7 -3
- package/esm2022/lib/controls/image-viewer/image-viewer.component.mjs +4 -4
- package/esm2022/lib/wkf_engine/wkf-data-form.mjs +4 -1
- package/esm2022/lib/wkf_engine_v2/wkf-form-data.mjs +4 -1
- package/fesm2022/fluxhub-fluxhub-lib.mjs +15 -5
- package/fesm2022/fluxhub-fluxhub-lib.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -10832,14 +10832,18 @@ class FHGridComponent {
|
|
|
10832
10832
|
var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent);
|
|
10833
10833
|
if (iOS) {
|
|
10834
10834
|
this.columndclicked.emit($event);
|
|
10835
|
-
|
|
10835
|
+
// riga di caricamento / senza dati: niente dclicked (il chiamante legge i campi della riga)
|
|
10836
|
+
if ($event.data != null)
|
|
10837
|
+
this.dclicked.emit($event.data);
|
|
10836
10838
|
}
|
|
10837
10839
|
}
|
|
10838
10840
|
sRow;
|
|
10839
10841
|
onRowDClicked($event) {
|
|
10840
10842
|
//console.log('onRowClicked: ' );
|
|
10841
10843
|
//console.log(event);
|
|
10842
|
-
|
|
10844
|
+
// riga di caricamento / senza dati: niente dclicked (il chiamante legge i campi della riga)
|
|
10845
|
+
if ($event.data != null)
|
|
10846
|
+
this.dclicked.emit($event.data);
|
|
10843
10847
|
var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent);
|
|
10844
10848
|
if (iOS) {
|
|
10845
10849
|
this.columndclicked.emit($event);
|
|
@@ -14852,8 +14856,8 @@ class FHViewerComponent {
|
|
|
14852
14856
|
notfullScreenEvent = new EventEmitter();
|
|
14853
14857
|
fullScreenEvent = new EventEmitter();
|
|
14854
14858
|
nextImage($event) {
|
|
14855
|
-
|
|
14856
|
-
if (this.index < this.src.length - 1) {
|
|
14859
|
+
// listener su window: con src non ancora valorizzato una freccia premuta altrove non deve rompere
|
|
14860
|
+
if (this.src && this.index < this.src.length - 1) {
|
|
14857
14861
|
this.loading = true;
|
|
14858
14862
|
this.index++;
|
|
14859
14863
|
this.triggerIndexBinding();
|
|
@@ -14861,7 +14865,7 @@ class FHViewerComponent {
|
|
|
14861
14865
|
}
|
|
14862
14866
|
}
|
|
14863
14867
|
prevImage($event) {
|
|
14864
|
-
if (this.index > 0) {
|
|
14868
|
+
if (this.src && this.index > 0) {
|
|
14865
14869
|
this.loading = true;
|
|
14866
14870
|
this.index--;
|
|
14867
14871
|
this.triggerIndexBinding();
|
|
@@ -39949,6 +39953,9 @@ class dati_aggiuntivi {
|
|
|
39949
39953
|
}
|
|
39950
39954
|
save_alreadypressed = false;
|
|
39951
39955
|
salva() {
|
|
39956
|
+
// app_info si carica in modo asincrono: un doppio clic sul salva dopo new -> edit arrivava prima
|
|
39957
|
+
if (this.app_info == null)
|
|
39958
|
+
return;
|
|
39952
39959
|
if (this.save_alreadypressed)
|
|
39953
39960
|
return;
|
|
39954
39961
|
this.save_alreadypressed = true;
|
|
@@ -43186,6 +43193,9 @@ class dati_aggiuntivi_v2 {
|
|
|
43186
43193
|
}
|
|
43187
43194
|
save_alreadypressed = false;
|
|
43188
43195
|
salva() {
|
|
43196
|
+
// app_info si carica in modo asincrono: un doppio clic sul salva dopo new -> edit arrivava prima
|
|
43197
|
+
if (this.app_info == null)
|
|
43198
|
+
return;
|
|
43189
43199
|
if (!this.can_save())
|
|
43190
43200
|
return;
|
|
43191
43201
|
if (this.save_alreadypressed)
|