@fluxhub/fluxhub-lib 1.0.488 → 1.0.490

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.
@@ -7749,6 +7749,7 @@
7749
7749
  */
7750
7750
  function () {
7751
7751
  var _this = this;
7752
+ console.log('CKKK');
7752
7753
  if (this.columnDefs == null) {
7753
7754
  setTimeout((/**
7754
7755
  * @return {?}
@@ -7780,6 +7781,36 @@
7780
7781
  this.res_columns();
7781
7782
  if (localStorage.getItem(this.grid_key + '_POS') != null)
7782
7783
  this.b_restored = true;
7784
+ if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null)
7785
+ if (localStorage.getItem(this.grid_key + '_FILTER_UP') != '') {
7786
+ this.ric_libera = localStorage.getItem(this.grid_key + '_FILTER_UP');
7787
+ /** @type {?} */
7788
+ var arr = this.ric_libera.split(' ');
7789
+ /** @type {?} */
7790
+ var arr_F = new Array();
7791
+ for (var i = 0; i < arr.length; i++)
7792
+ if (arr[i].length > 2)
7793
+ arr_F.push(arr[i]);
7794
+ else
7795
+ this._toast.error("ignorato termine: " + arr[i] + " troppo corto");
7796
+ if (arr_F.length == 0)
7797
+ return;
7798
+ /** @type {?} */
7799
+ var ss = "";
7800
+ for (var y = 0; y < this.columnDefs.length; y++)
7801
+ if (this.columnDefs[y] != null)
7802
+ if (this.columnDefs[y].no_filter == null)
7803
+ if (this.columnDefs[y].field != null)
7804
+ if (this.columnDefs[y].field != '')
7805
+ if (this.columnDefs[y].filter != 'agDateColumnFilter')
7806
+ for (var i = 0; i < arr_F.length; i++) {
7807
+ if (ss != "")
7808
+ ss = ss + " or ";
7809
+ ss = ss + this.columnDefs[y].field + " LIKE '%" + this.uti_s.string_sqlvalue(arr_F[i]) + "%'";
7810
+ }
7811
+ this.fix_flt_temp = ss;
7812
+ this.show_pulisci_filtri = true;
7813
+ }
7783
7814
  if (this.init_fill) {
7784
7815
  setTimeout((/**
7785
7816
  * @return {?}
@@ -7876,35 +7907,6 @@
7876
7907
  if (localStorage.getItem(this.grid_key + '_FILTER') != '') {
7877
7908
  try {
7878
7909
  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
7910
  }
7909
7911
  catch (eer) {
7910
7912
  console.log(eer);