@fluxhub/fluxhub-lib 1.0.487 → 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 +31 -6
- 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 +32 -7
- package/esm5/lib/controls/fhgrid.js +32 -7
- package/fesm2015/fluxhub-fluxhub-lib.js +31 -6
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +31 -6
- 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
|
|
@@ -7783,6 +7780,36 @@
|
|
|
7783
7780
|
this.res_columns();
|
|
7784
7781
|
if (localStorage.getItem(this.grid_key + '_POS') != null)
|
|
7785
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
|
+
}
|
|
7786
7813
|
if (this.init_fill) {
|
|
7787
7814
|
setTimeout((/**
|
|
7788
7815
|
* @return {?}
|
|
@@ -7879,8 +7906,6 @@
|
|
|
7879
7906
|
if (localStorage.getItem(this.grid_key + '_FILTER') != '') {
|
|
7880
7907
|
try {
|
|
7881
7908
|
this.gridOptions.api.setFilterModel(JSON.parse(localStorage.getItem(this.grid_key + '_FILTER')));
|
|
7882
|
-
if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null)
|
|
7883
|
-
this.ric_libera = localStorage.getItem(this.grid_key + '_FILTER_UP');
|
|
7884
7909
|
}
|
|
7885
7910
|
catch (eer) {
|
|
7886
7911
|
console.log(eer);
|