@fluxhub/fluxhub-lib 1.0.488 → 1.0.489
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 +30 -29
- 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 +31 -30
- package/esm5/lib/controls/fhgrid.js +31 -30
- package/fesm2015/fluxhub-fluxhub-lib.js +30 -29
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +30 -29
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -7780,6 +7780,36 @@
|
|
|
7780
7780
|
this.res_columns();
|
|
7781
7781
|
if (localStorage.getItem(this.grid_key + '_POS') != null)
|
|
7782
7782
|
this.b_restored = true;
|
|
7783
|
+
console.log('localStorage.getItem(this.grid_key + \'_FILTER_UP\') ', localStorage.getItem(this.grid_key + '_FILTER_UP'));
|
|
7784
|
+
if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null) {
|
|
7785
|
+
this.ric_libera = localStorage.getItem(this.grid_key + '_FILTER_UP');
|
|
7786
|
+
/** @type {?} */
|
|
7787
|
+
var arr = this.ric_libera.split(' ');
|
|
7788
|
+
/** @type {?} */
|
|
7789
|
+
var arr_F = new Array();
|
|
7790
|
+
for (var i = 0; i < arr.length; i++)
|
|
7791
|
+
if (arr[i].length > 2)
|
|
7792
|
+
arr_F.push(arr[i]);
|
|
7793
|
+
else
|
|
7794
|
+
this._toast.error("ignorato termine: " + arr[i] + " troppo corto");
|
|
7795
|
+
if (arr_F.length == 0)
|
|
7796
|
+
return;
|
|
7797
|
+
/** @type {?} */
|
|
7798
|
+
var ss = "";
|
|
7799
|
+
for (var y = 0; y < this.columnDefs.length; y++)
|
|
7800
|
+
if (this.columnDefs[y] != null)
|
|
7801
|
+
if (this.columnDefs[y].no_filter == null)
|
|
7802
|
+
if (this.columnDefs[y].field != null)
|
|
7803
|
+
if (this.columnDefs[y].field != '')
|
|
7804
|
+
if (this.columnDefs[y].filter != 'agDateColumnFilter')
|
|
7805
|
+
for (var i = 0; i < arr_F.length; i++) {
|
|
7806
|
+
if (ss != "")
|
|
7807
|
+
ss = ss + " or ";
|
|
7808
|
+
ss = ss + this.columnDefs[y].field + " LIKE '%" + this.uti_s.string_sqlvalue(arr_F[i]) + "%'";
|
|
7809
|
+
}
|
|
7810
|
+
this.fix_flt_temp = ss;
|
|
7811
|
+
console.log(' this.fix_flt_temp 111 ' + this.fix_flt_temp);
|
|
7812
|
+
}
|
|
7783
7813
|
if (this.init_fill) {
|
|
7784
7814
|
setTimeout((/**
|
|
7785
7815
|
* @return {?}
|
|
@@ -7876,35 +7906,6 @@
|
|
|
7876
7906
|
if (localStorage.getItem(this.grid_key + '_FILTER') != '') {
|
|
7877
7907
|
try {
|
|
7878
7908
|
this.gridOptions.api.setFilterModel(JSON.parse(localStorage.getItem(this.grid_key + '_FILTER')));
|
|
7879
|
-
if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null) {
|
|
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
|
-
}
|
|
7908
7909
|
}
|
|
7909
7910
|
catch (eer) {
|
|
7910
7911
|
console.log(eer);
|