@fluxhub/fluxhub-lib 1.0.486 → 1.0.488
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 +29 -1
- 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 +30 -2
- package/esm5/lib/controls/fhgrid.js +30 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +29 -1
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +29 -1
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -6455,6 +6455,7 @@ class FHGridComponent {
|
|
|
6455
6455
|
p.filter = p.filter + ' and ';
|
|
6456
6456
|
p.filter = p.filter + ' (' + this.fix_flt + ' )';
|
|
6457
6457
|
}
|
|
6458
|
+
console.log(' this.fix_flt_temp 222 ' + this.fix_flt_temp);
|
|
6458
6459
|
if (this.fix_flt_temp != "") {
|
|
6459
6460
|
if (p.filter != "")
|
|
6460
6461
|
p.filter = p.filter + ' and ';
|
|
@@ -7494,8 +7495,35 @@ class FHGridComponent {
|
|
|
7494
7495
|
if (localStorage.getItem(this.grid_key + '_FILTER') != '') {
|
|
7495
7496
|
try {
|
|
7496
7497
|
this.gridOptions.api.setFilterModel(JSON.parse(localStorage.getItem(this.grid_key + '_FILTER')));
|
|
7497
|
-
if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null)
|
|
7498
|
+
if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null) {
|
|
7498
7499
|
this.ric_libera = localStorage.getItem(this.grid_key + '_FILTER_UP');
|
|
7500
|
+
/** @type {?} */
|
|
7501
|
+
let arr = this.ric_libera.split(' ');
|
|
7502
|
+
/** @type {?} */
|
|
7503
|
+
let arr_F = new Array();
|
|
7504
|
+
for (let i = 0; i < arr.length; i++)
|
|
7505
|
+
if (arr[i].length > 2)
|
|
7506
|
+
arr_F.push(arr[i]);
|
|
7507
|
+
else
|
|
7508
|
+
this._toast.error("ignorato termine: " + arr[i] + " troppo corto");
|
|
7509
|
+
if (arr_F.length == 0)
|
|
7510
|
+
return;
|
|
7511
|
+
/** @type {?} */
|
|
7512
|
+
let ss = "";
|
|
7513
|
+
for (let y = 0; y < this.columnDefs.length; y++)
|
|
7514
|
+
if (this.columnDefs[y] != null)
|
|
7515
|
+
if (this.columnDefs[y].no_filter == null)
|
|
7516
|
+
if (this.columnDefs[y].field != null)
|
|
7517
|
+
if (this.columnDefs[y].field != '')
|
|
7518
|
+
if (this.columnDefs[y].filter != 'agDateColumnFilter')
|
|
7519
|
+
for (let i = 0; i < arr_F.length; i++) {
|
|
7520
|
+
if (ss != "")
|
|
7521
|
+
ss = ss + " or ";
|
|
7522
|
+
ss = ss + this.columnDefs[y].field + " LIKE '%" + this.uti_s.string_sqlvalue(arr_F[i]) + "%'";
|
|
7523
|
+
}
|
|
7524
|
+
this.fix_flt_temp = ss;
|
|
7525
|
+
console.log(' this.fix_flt_temp 111 ' + this.fix_flt_temp);
|
|
7526
|
+
}
|
|
7499
7527
|
}
|
|
7500
7528
|
catch (eer) {
|
|
7501
7529
|
console.log(eer);
|