@fluxhub/fluxhub-lib 10.0.143 → 10.0.145
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/bundles/fluxhub-fluxhub-lib.umd.js +20 -16
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhgrid.js +21 -17
- package/fesm2015/fluxhub-fluxhub-lib.js +20 -16
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -8361,24 +8361,28 @@ class FHGridComponent {
|
|
|
8361
8361
|
include_null_value = true;
|
|
8362
8362
|
}
|
|
8363
8363
|
let num_all = -1;
|
|
8364
|
-
let countryFilterComponent = this.gridOptions.api.
|
|
8364
|
+
let countryFilterComponent = this.gridOptions.api.getColumnDef(key);
|
|
8365
8365
|
console.log('countryFilterComponent ', countryFilterComponent);
|
|
8366
|
-
if (countryFilterComponent != null)
|
|
8367
|
-
|
|
8368
|
-
|
|
8369
|
-
|
|
8370
|
-
|
|
8371
|
-
|
|
8366
|
+
if (countryFilterComponent != null)
|
|
8367
|
+
if (countryFilterComponent.filterParams != null)
|
|
8368
|
+
if (countryFilterComponent.filterParams.values != null) {
|
|
8369
|
+
let model = countryFilterComponent.filterParams.values;
|
|
8370
|
+
console.log('model ', model);
|
|
8371
|
+
if (model != null)
|
|
8372
|
+
num_all = model.values.length;
|
|
8373
|
+
}
|
|
8372
8374
|
console.log('obj_filtro.values.length!=num_all ', obj_filtro.values.length, num_all);
|
|
8373
|
-
if (sq != ""
|
|
8374
|
-
|
|
8375
|
-
|
|
8376
|
-
|
|
8377
|
-
|
|
8378
|
-
|
|
8379
|
-
|
|
8380
|
-
|
|
8381
|
-
filter_v
|
|
8375
|
+
if (sq != "") {
|
|
8376
|
+
if (obj_filtro.values.length != num_all) {
|
|
8377
|
+
b_filter = true;
|
|
8378
|
+
if (add_end)
|
|
8379
|
+
filter_v = filter_v + " and ";
|
|
8380
|
+
if (!include_null_value)
|
|
8381
|
+
filter_v = filter_v + key + " in (" + sq + ")";
|
|
8382
|
+
else
|
|
8383
|
+
filter_v =
|
|
8384
|
+
filter_v + "(" + key + " in (" + sq + ") or " + key + " is null)";
|
|
8385
|
+
}
|
|
8382
8386
|
}
|
|
8383
8387
|
else {
|
|
8384
8388
|
b_filter = true;
|