@trackunit/filters-filter-bar 1.3.239 → 1.3.240
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 -0
- package/index.esm.js +3 -0
- package/package.json +12 -12
- package/src/lib/types/FilterZodTypes.d.ts +3 -0
package/index.cjs.js
CHANGED
|
@@ -1437,6 +1437,9 @@ const createInitialState = ({ name, mainFilters, setValue, }) => {
|
|
|
1437
1437
|
};
|
|
1438
1438
|
};
|
|
1439
1439
|
|
|
1440
|
+
/**
|
|
1441
|
+
* Dont move these to FilterTypes.ts since rollup will mess up the type.d.ts file by moving jsdocs in random places.
|
|
1442
|
+
*/
|
|
1440
1443
|
const areaFilterGeoJsonGeometrySchema = zod.z.union([geoJsonUtils.geoJsonPolygonSchema, geoJsonUtils.geoJsonMultiPolygonSchema]);
|
|
1441
1444
|
|
|
1442
1445
|
const hasValue = (value) => {
|
package/index.esm.js
CHANGED
|
@@ -1435,6 +1435,9 @@ const createInitialState = ({ name, mainFilters, setValue, }) => {
|
|
|
1435
1435
|
};
|
|
1436
1436
|
};
|
|
1437
1437
|
|
|
1438
|
+
/**
|
|
1439
|
+
* Dont move these to FilterTypes.ts since rollup will mess up the type.d.ts file by moving jsdocs in random places.
|
|
1440
|
+
*/
|
|
1438
1441
|
const areaFilterGeoJsonGeometrySchema = z.union([geoJsonPolygonSchema, geoJsonMultiPolygonSchema]);
|
|
1439
1442
|
|
|
1440
1443
|
const hasValue = (value) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/filters-filter-bar",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.240",
|
|
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.4",
|
|
17
|
-
"@trackunit/iris-app-api": "1.3.
|
|
18
|
-
"@trackunit/react-core-hooks": "1.3.
|
|
19
|
-
"@trackunit/react-filter-components": "1.3.
|
|
20
|
-
"@trackunit/react-date-and-time-components": "1.3.
|
|
21
|
-
"@trackunit/shared-utils": "1.5.
|
|
17
|
+
"@trackunit/iris-app-api": "1.3.150",
|
|
18
|
+
"@trackunit/react-core-hooks": "1.3.156",
|
|
19
|
+
"@trackunit/react-filter-components": "1.3.196",
|
|
20
|
+
"@trackunit/react-date-and-time-components": "1.3.200",
|
|
21
|
+
"@trackunit/shared-utils": "1.5.142",
|
|
22
22
|
"@trackunit/react-form-components": "1.3.198",
|
|
23
|
-
"@trackunit/react-core-contexts-api": "1.4.
|
|
24
|
-
"@trackunit/geo-json-utils": "1.3.
|
|
25
|
-
"@trackunit/i18n-library-translation": "1.3.
|
|
26
|
-
"@trackunit/css-class-variance-utilities": "1.3.
|
|
27
|
-
"@trackunit/react-components": "1.4.
|
|
28
|
-
"@trackunit/react-test-setup": "1.0.
|
|
23
|
+
"@trackunit/react-core-contexts-api": "1.4.150",
|
|
24
|
+
"@trackunit/geo-json-utils": "1.3.140",
|
|
25
|
+
"@trackunit/i18n-library-translation": "1.3.163",
|
|
26
|
+
"@trackunit/css-class-variance-utilities": "1.3.142",
|
|
27
|
+
"@trackunit/react-components": "1.4.173",
|
|
28
|
+
"@trackunit/react-test-setup": "1.0.32"
|
|
29
29
|
},
|
|
30
30
|
"module": "./index.esm.js",
|
|
31
31
|
"main": "./index.cjs.js",
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Dont move these to FilterTypes.ts since rollup will mess up the type.d.ts file by moving jsdocs in random places.
|
|
4
|
+
*/
|
|
2
5
|
export declare const areaFilterGeoJsonGeometrySchema: z.ZodUnion<[z.ZodObject<{
|
|
3
6
|
type: z.ZodLiteral<"Polygon">;
|
|
4
7
|
coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
|