@fluxhub/fluxhub-lib 1.0.487 → 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 -5
- 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 -6
- package/esm5/lib/controls/fhgrid.js +30 -6
- package/fesm2015/fluxhub-fluxhub-lib.js +29 -5
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +29 -5
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -6723,6 +6723,7 @@
|
|
|
6723
6723
|
p.filter = p.filter + ' and ';
|
|
6724
6724
|
p.filter = p.filter + ' (' + _this.fix_flt + ' )';
|
|
6725
6725
|
}
|
|
6726
|
+
console.log(' this.fix_flt_temp 222 ' + _this.fix_flt_temp);
|
|
6726
6727
|
if (_this.fix_flt_temp != "") {
|
|
6727
6728
|
if (p.filter != "")
|
|
6728
6729
|
p.filter = p.filter + ' and ';
|
|
@@ -7008,10 +7009,6 @@
|
|
|
7008
7009
|
this.fix_flt_temp = "";
|
|
7009
7010
|
if (this.m_appService.getState().grid_obj == null)
|
|
7010
7011
|
this.m_appService.getState().grid_obj = {};
|
|
7011
|
-
if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null) {
|
|
7012
|
-
this.ric_libera = localStorage.getItem(this.grid_key + '_FILTER_UP');
|
|
7013
|
-
this.fix_flt_temp = localStorage.getItem(this.grid_key + '_FILTER_UP');
|
|
7014
|
-
}
|
|
7015
7012
|
}
|
|
7016
7013
|
/**
|
|
7017
7014
|
* @param {?} o
|
|
@@ -7879,8 +7876,35 @@
|
|
|
7879
7876
|
if (localStorage.getItem(this.grid_key + '_FILTER') != '') {
|
|
7880
7877
|
try {
|
|
7881
7878
|
this.gridOptions.api.setFilterModel(JSON.parse(localStorage.getItem(this.grid_key + '_FILTER')));
|
|
7882
|
-
if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null)
|
|
7879
|
+
if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null) {
|
|
7883
7880
|
this.ric_libera = localStorage.getItem(this.grid_key + '_FILTER_UP');
|
|
7881
|
+
/** @type {?} */
|
|
7882
|
+
var arr = this.ric_libera.split(' ');
|
|
7883
|
+
/** @type {?} */
|
|
7884
|
+
var arr_F = new Array();
|
|
7885
|
+
for (var i = 0; i < arr.length; i++)
|
|
7886
|
+
if (arr[i].length > 2)
|
|
7887
|
+
arr_F.push(arr[i]);
|
|
7888
|
+
else
|
|
7889
|
+
this._toast.error("ignorato termine: " + arr[i] + " troppo corto");
|
|
7890
|
+
if (arr_F.length == 0)
|
|
7891
|
+
return;
|
|
7892
|
+
/** @type {?} */
|
|
7893
|
+
var ss = "";
|
|
7894
|
+
for (var y = 0; y < this.columnDefs.length; y++)
|
|
7895
|
+
if (this.columnDefs[y] != null)
|
|
7896
|
+
if (this.columnDefs[y].no_filter == null)
|
|
7897
|
+
if (this.columnDefs[y].field != null)
|
|
7898
|
+
if (this.columnDefs[y].field != '')
|
|
7899
|
+
if (this.columnDefs[y].filter != 'agDateColumnFilter')
|
|
7900
|
+
for (var i = 0; i < arr_F.length; i++) {
|
|
7901
|
+
if (ss != "")
|
|
7902
|
+
ss = ss + " or ";
|
|
7903
|
+
ss = ss + this.columnDefs[y].field + " LIKE '%" + this.uti_s.string_sqlvalue(arr_F[i]) + "%'";
|
|
7904
|
+
}
|
|
7905
|
+
this.fix_flt_temp = ss;
|
|
7906
|
+
console.log(' this.fix_flt_temp 111 ' + this.fix_flt_temp);
|
|
7907
|
+
}
|
|
7884
7908
|
}
|
|
7885
7909
|
catch (eer) {
|
|
7886
7910
|
console.log(eer);
|