@trackunit/filters-filter-bar 2.1.52 → 2.1.55
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/index.cjs.js +3 -3
- package/index.esm.js +3 -3
- package/package.json +12 -12
package/index.cjs.js
CHANGED
|
@@ -2000,7 +2000,7 @@ const useFilterUrlSync = () => {
|
|
|
2000
2000
|
try {
|
|
2001
2001
|
return JSON.parse(filterValue);
|
|
2002
2002
|
}
|
|
2003
|
-
catch
|
|
2003
|
+
catch {
|
|
2004
2004
|
return filterValue;
|
|
2005
2005
|
}
|
|
2006
2006
|
}
|
|
@@ -2208,7 +2208,7 @@ const useFilterBarPersistence = ({ name, setValue, refreshData, isDefaultValue,
|
|
|
2208
2208
|
initialFilterBarConfig.values[typedKey] = value.defaultValue;
|
|
2209
2209
|
}
|
|
2210
2210
|
});
|
|
2211
|
-
Object.entries(initialFilterBarConfig.values).forEach(([key
|
|
2211
|
+
Object.entries(initialFilterBarConfig.values).forEach(([key]) => {
|
|
2212
2212
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2213
2213
|
initialFilterBarConfig.setters[`set${stringTs.capitalize(key)}`] = (callback) => setValue(key, callback);
|
|
2214
2214
|
});
|
|
@@ -2492,7 +2492,7 @@ const useSearchParamAsFilter = ({ filterName, search, zodSchema, errorHandler, }
|
|
|
2492
2492
|
zodParseError: zodParsed.error,
|
|
2493
2493
|
});
|
|
2494
2494
|
}
|
|
2495
|
-
catch
|
|
2495
|
+
catch {
|
|
2496
2496
|
captureUrlParseException(errorHandler, {
|
|
2497
2497
|
filterName,
|
|
2498
2498
|
param: typeof foundParam === "string" ? foundParam : JSON.stringify(foundParam),
|
package/index.esm.js
CHANGED
|
@@ -1998,7 +1998,7 @@ const useFilterUrlSync = () => {
|
|
|
1998
1998
|
try {
|
|
1999
1999
|
return JSON.parse(filterValue);
|
|
2000
2000
|
}
|
|
2001
|
-
catch
|
|
2001
|
+
catch {
|
|
2002
2002
|
return filterValue;
|
|
2003
2003
|
}
|
|
2004
2004
|
}
|
|
@@ -2206,7 +2206,7 @@ const useFilterBarPersistence = ({ name, setValue, refreshData, isDefaultValue,
|
|
|
2206
2206
|
initialFilterBarConfig.values[typedKey] = value.defaultValue;
|
|
2207
2207
|
}
|
|
2208
2208
|
});
|
|
2209
|
-
Object.entries(initialFilterBarConfig.values).forEach(([key
|
|
2209
|
+
Object.entries(initialFilterBarConfig.values).forEach(([key]) => {
|
|
2210
2210
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2211
2211
|
initialFilterBarConfig.setters[`set${capitalize(key)}`] = (callback) => setValue(key, callback);
|
|
2212
2212
|
});
|
|
@@ -2490,7 +2490,7 @@ const useSearchParamAsFilter = ({ filterName, search, zodSchema, errorHandler, }
|
|
|
2490
2490
|
zodParseError: zodParsed.error,
|
|
2491
2491
|
});
|
|
2492
2492
|
}
|
|
2493
|
-
catch
|
|
2493
|
+
catch {
|
|
2494
2494
|
captureUrlParseException(errorHandler, {
|
|
2495
2495
|
filterName,
|
|
2496
2496
|
param: typeof foundParam === "string" ? foundParam : JSON.stringify(foundParam),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/filters-filter-bar",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.55",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -11,17 +11,17 @@
|
|
|
11
11
|
"tailwind-merge": "^2.0.0",
|
|
12
12
|
"string-ts": "^2.0.0",
|
|
13
13
|
"zod": "^3.25.76",
|
|
14
|
-
"@trackunit/iris-app-api": "2.0.
|
|
15
|
-
"@trackunit/react-core-hooks": "1.17.
|
|
16
|
-
"@trackunit/react-filter-components": "2.1.
|
|
17
|
-
"@trackunit/react-date-and-time-components": "2.1.
|
|
18
|
-
"@trackunit/shared-utils": "1.15.
|
|
19
|
-
"@trackunit/react-form-components": "2.1.
|
|
20
|
-
"@trackunit/iris-app-runtime-core-api": "1.16.
|
|
21
|
-
"@trackunit/geo-json-utils": "1.14.
|
|
22
|
-
"@trackunit/i18n-library-translation": "2.0.
|
|
23
|
-
"@trackunit/css-class-variance-utilities": "1.13.
|
|
24
|
-
"@trackunit/react-components": "2.1.
|
|
14
|
+
"@trackunit/iris-app-api": "2.0.44",
|
|
15
|
+
"@trackunit/react-core-hooks": "1.17.63",
|
|
16
|
+
"@trackunit/react-filter-components": "2.1.55",
|
|
17
|
+
"@trackunit/react-date-and-time-components": "2.1.55",
|
|
18
|
+
"@trackunit/shared-utils": "1.15.52",
|
|
19
|
+
"@trackunit/react-form-components": "2.1.54",
|
|
20
|
+
"@trackunit/iris-app-runtime-core-api": "1.16.57",
|
|
21
|
+
"@trackunit/geo-json-utils": "1.14.55",
|
|
22
|
+
"@trackunit/i18n-library-translation": "2.0.52",
|
|
23
|
+
"@trackunit/css-class-variance-utilities": "1.13.52",
|
|
24
|
+
"@trackunit/react-components": "2.1.52"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"@apollo/client": "^3.13.8",
|