@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.
- package/full/bundles/inspark-inspark-components.umd.js +5 -0
- package/full/bundles/inspark-inspark-components.umd.js.map +1 -1
- package/full/bundles/inspark-inspark-components.umd.min.js +1 -1
- package/full/bundles/inspark-inspark-components.umd.min.js.map +1 -1
- package/full/esm2015/components/table/table.component.js +6 -1
- package/full/esm5/components/table/table.component.js +6 -1
- package/full/fesm2015/inspark-inspark-components.js +5 -0
- package/full/fesm2015/inspark-inspark-components.js.map +1 -1
- package/full/fesm5/inspark-inspark-components.js +5 -0
- package/full/fesm5/inspark-inspark-components.js.map +1 -1
- package/full/inspark-inspark-components.metadata.json +1 -1
- package/full/package.json +1 -1
- package/interface/package.json +1 -1
- package/package.json +1 -1
|
@@ -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
|
}
|