@kuzntsv/uikit 1.0.122 → 1.0.124
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.
|
@@ -1933,6 +1933,7 @@ var BaseSignalPageClass = class BaseSignalPageClass {
|
|
|
1933
1933
|
Object.keys(this.defaultFilters).forEach((key) => {
|
|
1934
1934
|
const storageKey = `${this.storagePrefix}${key}`;
|
|
1935
1935
|
const rawValue = this.localStorageService.getData(storageKey);
|
|
1936
|
+
console.log("initFilters, storageKey=", storageKey, "rawValue=", rawValue);
|
|
1936
1937
|
if (rawValue !== null && rawValue !== void 0) try {
|
|
1937
1938
|
initial[key] = JSON.parse(rawValue);
|
|
1938
1939
|
} catch {
|
|
@@ -1940,6 +1941,7 @@ var BaseSignalPageClass = class BaseSignalPageClass {
|
|
|
1940
1941
|
}
|
|
1941
1942
|
});
|
|
1942
1943
|
const validation = this.filterSchema.safeParse(initial);
|
|
1944
|
+
console.log("initFilters, validation=", validation, "validation.success=", validation.success, "validation.data=", validation.data, "validation.error=", validation.error ? formatZodError(validation.error, this.constructor.name) : "empty");
|
|
1943
1945
|
this.filters.set(validation.success ? validation.data : this.defaultFilters);
|
|
1944
1946
|
}
|
|
1945
1947
|
clearEvent() {
|