@fluxhub/fluxhub-lib 10.0.185 → 10.0.187
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 +38 -16
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhgrid.js +33 -16
- package/fesm2015/fluxhub-fluxhub-lib.js +32 -15
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhgrid.d.ts +1 -0
- package/package.json +1 -1
|
@@ -5814,17 +5814,14 @@
|
|
|
5814
5814
|
}
|
|
5815
5815
|
var num_all = -1;
|
|
5816
5816
|
var countryFilterComponent = this.gridOptions.api.getColumnDef(key);
|
|
5817
|
-
console.log('countryFilterComponent ', countryFilterComponent);
|
|
5818
5817
|
if (countryFilterComponent != null)
|
|
5819
5818
|
if (countryFilterComponent.filterParams != null)
|
|
5820
5819
|
if (countryFilterComponent.filterParams.values != null) {
|
|
5821
5820
|
var model_1 = countryFilterComponent.filterParams.values;
|
|
5822
5821
|
model_1 = model_1.filter(function (n, i) { return model_1.indexOf(n) === i; });
|
|
5823
|
-
console.log('model ', model_1);
|
|
5824
5822
|
if (model_1 != null)
|
|
5825
5823
|
num_all = model_1.length;
|
|
5826
5824
|
}
|
|
5827
|
-
console.log('obj_filtro.values.length!=num_all ', obj_filtro.values.length, num_all);
|
|
5828
5825
|
if (sq != "") {
|
|
5829
5826
|
if (obj_filtro.values.length != num_all) {
|
|
5830
5827
|
b_filter = true;
|
|
@@ -6403,6 +6400,7 @@
|
|
|
6403
6400
|
}
|
|
6404
6401
|
};
|
|
6405
6402
|
FHGridComponent.prototype.free_search = function () {
|
|
6403
|
+
var _this = this;
|
|
6406
6404
|
if (this.ric_libera == "") {
|
|
6407
6405
|
this.pulisci_filtri();
|
|
6408
6406
|
this.fix_flt_temp = "";
|
|
@@ -6421,22 +6419,45 @@
|
|
|
6421
6419
|
if (arr_F.length == 0)
|
|
6422
6420
|
return;
|
|
6423
6421
|
var ss = "";
|
|
6424
|
-
|
|
6425
|
-
|
|
6426
|
-
|
|
6427
|
-
|
|
6428
|
-
|
|
6429
|
-
|
|
6430
|
-
|
|
6431
|
-
|
|
6432
|
-
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6422
|
+
var _loop_1 = function (i) {
|
|
6423
|
+
var ss_r = "";
|
|
6424
|
+
for (var y = 0; y < this_1.columnDefs.length; y++)
|
|
6425
|
+
if (this_1.columnDefs[y] != null)
|
|
6426
|
+
if (this_1.columnDefs[y].no_filter == null)
|
|
6427
|
+
if (this_1.columnDefs[y].field != null)
|
|
6428
|
+
if (this_1.columnDefs[y].field != "")
|
|
6429
|
+
if (this_1.columnDefs[y].filter != "agDateColumnFilter") {
|
|
6430
|
+
if (ss_r != "")
|
|
6431
|
+
ss_r += " or ";
|
|
6432
|
+
ss_r +=
|
|
6433
|
+
this_1.columnDefs[y].field +
|
|
6436
6434
|
" LIKE '%" +
|
|
6437
|
-
|
|
6435
|
+
this_1.uti_s.string_sqlvalue(arr_F[i]).replace("'", "$'").replace("*", "$*").replace("?", "$?").replace("[", "$[").replace("]", "$]").replace("!", "'$").toUpperCase() +
|
|
6438
6436
|
"%' ESCAPE '$'";
|
|
6439
6437
|
}
|
|
6438
|
+
if (this_1.full_text_added_columns != null)
|
|
6439
|
+
this_1.full_text_added_columns.map(function (v) {
|
|
6440
|
+
if (v != null)
|
|
6441
|
+
if (v != '') {
|
|
6442
|
+
if (ss_r != "")
|
|
6443
|
+
ss_r += " or ";
|
|
6444
|
+
ss_r +=
|
|
6445
|
+
v +
|
|
6446
|
+
" LIKE '%" +
|
|
6447
|
+
_this.uti_s.string_sqlvalue(arr_F[i]).replace("'", "$'").replace("*", "$*").replace("?", "$?").replace("[", "$[").replace("]", "$]").replace("!", "'$").toUpperCase() +
|
|
6448
|
+
"%' ESCAPE '$'";
|
|
6449
|
+
}
|
|
6450
|
+
});
|
|
6451
|
+
if (ss_r != '') {
|
|
6452
|
+
if (ss != "")
|
|
6453
|
+
ss += " and ";
|
|
6454
|
+
ss += '(' + ss_r + ')';
|
|
6455
|
+
}
|
|
6456
|
+
};
|
|
6457
|
+
var this_1 = this;
|
|
6458
|
+
for (var i = 0; i < arr_F.length; i++) {
|
|
6459
|
+
_loop_1(i);
|
|
6460
|
+
}
|
|
6440
6461
|
this.pulisci_filtri(false);
|
|
6441
6462
|
this.doFill_Temp(ss, true);
|
|
6442
6463
|
};
|
|
@@ -6628,6 +6649,7 @@
|
|
|
6628
6649
|
no_pref: [{ type: i0.Input }],
|
|
6629
6650
|
pref_hidden: [{ type: i0.Input }],
|
|
6630
6651
|
enable_paste: [{ type: i0.Input }],
|
|
6652
|
+
full_text_added_columns: [{ type: i0.Input }],
|
|
6631
6653
|
autosize_at_ini: [{ type: i0.Input }],
|
|
6632
6654
|
label_elementi: [{ type: i0.Input }],
|
|
6633
6655
|
trova_label: [{ type: i0.Input }],
|