@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
|
@@ -1933,6 +1933,11 @@
|
|
|
1933
1933
|
var hiddenFields = (this.columns || []).filter(function (_col) { return _col.isHidden; }).map(function (_col) { return _col.field; }).join(',');
|
|
1934
1934
|
this.saveToLocalStorage(hiddenFields, this.stateKey + 'HiddenFields');
|
|
1935
1935
|
window.localStorage.removeItem(this.stateKey);
|
|
1936
|
+
if (this.searchText) {
|
|
1937
|
+
window.localStorage.setItem(this.stateKey, JSON.stringify({
|
|
1938
|
+
filters: { global: { value: this.searchText, matchMode: 'contains' } }
|
|
1939
|
+
}));
|
|
1940
|
+
}
|
|
1936
1941
|
if (this.dt) {
|
|
1937
1942
|
this.dt.restoreState();
|
|
1938
1943
|
}
|