@fluxhub/fluxhub-lib 18.0.49 → 18.0.51
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.
|
@@ -4739,7 +4739,9 @@ class FHUploadComponent {
|
|
|
4739
4739
|
this.loading = true;
|
|
4740
4740
|
if (this.dialogRef != null)
|
|
4741
4741
|
if (this.dialogRef.componentInstance != null)
|
|
4742
|
-
|
|
4742
|
+
// 100 chiude l'attesa: si arriva a 100 solo con la risposta del server (il programma
|
|
4743
|
+
// post-upload, es. rename_attachment, puo' ancora rinominare o spostare il file)
|
|
4744
|
+
this.dialogRef?.componentInstance?.update_progess(Math.min(progress, 99));
|
|
4743
4745
|
};
|
|
4744
4746
|
if (this.uploader)
|
|
4745
4747
|
this.uploader.onWhenAddingFileFailed = (item, filter, options) => {
|
|
@@ -9678,9 +9680,18 @@ class FHGridComponent {
|
|
|
9678
9680
|
if (p.filter != '' && (b_init || this.include_always == ''))
|
|
9679
9681
|
p.filter += ' and ';
|
|
9680
9682
|
p.filter += ' (';
|
|
9681
|
-
|
|
9682
|
-
|
|
9683
|
-
|
|
9683
|
+
// ag-grid >= 29 manda "conditions", le versioni precedenti condition1/condition2
|
|
9684
|
+
const conds = (obj_filtro_test.conditions ?? [
|
|
9685
|
+
obj_filtro_test.condition1,
|
|
9686
|
+
obj_filtro_test.condition2,
|
|
9687
|
+
]).filter((c) => c != null);
|
|
9688
|
+
const flt_conds = conds
|
|
9689
|
+
.map((c) => this.calcola_filtro(c, '', key, false))
|
|
9690
|
+
.filter((s) => s.trim() != '');
|
|
9691
|
+
p.filter +=
|
|
9692
|
+
flt_conds.length > 0
|
|
9693
|
+
? flt_conds.join(' ' + obj_filtro_test.operator + ' ')
|
|
9694
|
+
: '1=1';
|
|
9684
9695
|
p.filter += ')';
|
|
9685
9696
|
}
|
|
9686
9697
|
b_init = true;
|
|
@@ -27349,9 +27360,18 @@ class FHGridInternalComponent {
|
|
|
27349
27360
|
if (p.filter != '' && (b_init || this.include_always == ''))
|
|
27350
27361
|
p.filter += ' and ';
|
|
27351
27362
|
p.filter += ' (';
|
|
27352
|
-
|
|
27353
|
-
|
|
27354
|
-
|
|
27363
|
+
// ag-grid >= 29 manda "conditions", le versioni precedenti condition1/condition2
|
|
27364
|
+
const conds = (obj_filtro_test.conditions ?? [
|
|
27365
|
+
obj_filtro_test.condition1,
|
|
27366
|
+
obj_filtro_test.condition2,
|
|
27367
|
+
]).filter((c) => c != null);
|
|
27368
|
+
const flt_conds = conds
|
|
27369
|
+
.map((c) => this.calcola_filtro(c, '', key, false))
|
|
27370
|
+
.filter((s) => s.trim() != '');
|
|
27371
|
+
p.filter +=
|
|
27372
|
+
flt_conds.length > 0
|
|
27373
|
+
? flt_conds.join(' ' + obj_filtro_test.operator + ' ')
|
|
27374
|
+
: '1=1';
|
|
27355
27375
|
p.filter += ')';
|
|
27356
27376
|
}
|
|
27357
27377
|
b_init = true;
|