@inspark/inspark-components 1.0.14 → 1.0.15

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.
@@ -1738,6 +1738,11 @@ var TableComponent = /** @class */ (function () {
1738
1738
  var hiddenFields = (this.columns || []).filter(function (_col) { return _col.isHidden; }).map(function (_col) { return _col.field; }).join(',');
1739
1739
  this.saveToLocalStorage(hiddenFields, this.stateKey + 'HiddenFields');
1740
1740
  window.localStorage.removeItem(this.stateKey);
1741
+ if (this.searchText) {
1742
+ window.localStorage.setItem(this.stateKey, JSON.stringify({
1743
+ filters: { global: { value: this.searchText, matchMode: 'contains' } }
1744
+ }));
1745
+ }
1741
1746
  if (this.dt) {
1742
1747
  this.dt.restoreState();
1743
1748
  }