@fluxhub/fluxhub-lib 1.0.485 → 1.0.487

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.
@@ -6986,6 +6986,10 @@ var FHGridComponent = /** @class */ (function () {
6986
6986
  this.fix_flt_temp = "";
6987
6987
  if (this.m_appService.getState().grid_obj == null)
6988
6988
  this.m_appService.getState().grid_obj = {};
6989
+ if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null) {
6990
+ this.ric_libera = localStorage.getItem(this.grid_key + '_FILTER_UP');
6991
+ this.fix_flt_temp = localStorage.getItem(this.grid_key + '_FILTER_UP');
6992
+ }
6989
6993
  }
6990
6994
  /**
6991
6995
  * @param {?} o
@@ -8029,7 +8033,6 @@ var FHGridComponent = /** @class */ (function () {
8029
8033
  * @return {?}
8030
8034
  */
8031
8035
  function (event) {
8032
- localStorage.setItem(this.grid_key + '_FILTER_UP', this.ric_libera);
8033
8036
  if (event.keyCode == 13) {
8034
8037
  this.free_search();
8035
8038
  }
@@ -8043,12 +8046,18 @@ var FHGridComponent = /** @class */ (function () {
8043
8046
  * @return {?}
8044
8047
  */
8045
8048
  function () {
8049
+ var _this = this;
8046
8050
  if (this.ric_libera == '') {
8047
8051
  this.pulisci_filtri();
8048
8052
  this.fix_flt_temp = '';
8049
8053
  this.doFill('', true, false);
8054
+ localStorage.removeItem(this.grid_key + '_FILTER_UP');
8050
8055
  return;
8051
8056
  }
8057
+ setTimeout((/**
8058
+ * @return {?}
8059
+ */
8060
+ function () { localStorage.setItem(_this.grid_key + '_FILTER_UP', _this.ric_libera); }), 200);
8052
8061
  /** @type {?} */
8053
8062
  var arr = this.ric_libera.split(' ');
8054
8063
  /** @type {?} */