@fluxhub/fluxhub-lib 1.0.489 → 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,36 +7781,36 @@
7780
7781
  this.res_columns();
7781
7782
  if (localStorage.getItem(this.grid_key + '_POS') != null)
7782
7783
  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
- }
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
+ }
7813
7814
  if (this.init_fill) {
7814
7815
  setTimeout((/**
7815
7816
  * @return {?}