@trackunit/filters-filter-bar 1.7.66 → 1.7.68
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 +1 -1
- package/index.esm.js +1 -1
- package/package.json +13 -13
package/index.cjs.js
CHANGED
|
@@ -1868,7 +1868,7 @@ const useFilterBarPersistence = ({ name, setValue, loadData: inputLoadData, save
|
|
|
1868
1868
|
// eslint-disable-next-line local-rules/prefer-custom-object-entries
|
|
1869
1869
|
Object.entries(filterBarConfig.values).forEach(([key, value]) => {
|
|
1870
1870
|
const typedKey = key;
|
|
1871
|
-
const definition =
|
|
1871
|
+
const definition = sharedUtils.objectValues(filterBarDefinitions).find(def => def.filterKey === typedKey);
|
|
1872
1872
|
if (definition?.persistValue !== false) {
|
|
1873
1873
|
newValues[typedKey] = value;
|
|
1874
1874
|
}
|
package/index.esm.js
CHANGED
|
@@ -1866,7 +1866,7 @@ const useFilterBarPersistence = ({ name, setValue, loadData: inputLoadData, save
|
|
|
1866
1866
|
// eslint-disable-next-line local-rules/prefer-custom-object-entries
|
|
1867
1867
|
Object.entries(filterBarConfig.values).forEach(([key, value]) => {
|
|
1868
1868
|
const typedKey = key;
|
|
1869
|
-
const definition =
|
|
1869
|
+
const definition = objectValues(filterBarDefinitions).find(def => def.filterKey === typedKey);
|
|
1870
1870
|
if (definition?.persistValue !== false) {
|
|
1871
1871
|
newValues[typedKey] = value;
|
|
1872
1872
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/filters-filter-bar",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.68",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -14,18 +14,18 @@
|
|
|
14
14
|
"tailwind-merge": "^2.0.0",
|
|
15
15
|
"string-ts": "^2.0.0",
|
|
16
16
|
"zod": "^3.23.8",
|
|
17
|
-
"@trackunit/iris-app-api": "1.6.
|
|
18
|
-
"@trackunit/react-core-hooks": "1.6.
|
|
19
|
-
"@trackunit/react-filter-components": "1.6.
|
|
20
|
-
"@trackunit/react-date-and-time-components": "1.9.
|
|
21
|
-
"@trackunit/shared-utils": "1.8.
|
|
22
|
-
"@trackunit/react-form-components": "1.7.
|
|
23
|
-
"@trackunit/react-core-contexts-api": "1.7.
|
|
24
|
-
"@trackunit/geo-json-utils": "1.6.
|
|
25
|
-
"@trackunit/i18n-library-translation": "1.6.
|
|
26
|
-
"@trackunit/css-class-variance-utilities": "1.6.
|
|
27
|
-
"@trackunit/react-components": "1.8.
|
|
28
|
-
"@trackunit/react-test-setup": "1.3.
|
|
17
|
+
"@trackunit/iris-app-api": "1.6.39",
|
|
18
|
+
"@trackunit/react-core-hooks": "1.6.42",
|
|
19
|
+
"@trackunit/react-filter-components": "1.6.61",
|
|
20
|
+
"@trackunit/react-date-and-time-components": "1.9.61",
|
|
21
|
+
"@trackunit/shared-utils": "1.8.39",
|
|
22
|
+
"@trackunit/react-form-components": "1.7.26",
|
|
23
|
+
"@trackunit/react-core-contexts-api": "1.7.40",
|
|
24
|
+
"@trackunit/geo-json-utils": "1.6.39",
|
|
25
|
+
"@trackunit/i18n-library-translation": "1.6.43",
|
|
26
|
+
"@trackunit/css-class-variance-utilities": "1.6.39",
|
|
27
|
+
"@trackunit/react-components": "1.8.11",
|
|
28
|
+
"@trackunit/react-test-setup": "1.3.39"
|
|
29
29
|
},
|
|
30
30
|
"module": "./index.esm.js",
|
|
31
31
|
"main": "./index.cjs.js",
|