@conboai/app.db.query 0.9.40 → 0.9.42

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.
@@ -4,6 +4,7 @@ type ImageGridProps = {
4
4
  imagesData: ImageItemType[];
5
5
  isFovShown?: boolean;
6
6
  isRegionsShown?: boolean;
7
+ isCrossesChecked?: boolean;
7
8
  };
8
- declare const ImageGrid: ({ imagesData, isFovShown, isRegionsShown }: ImageGridProps) => import("react/jsx-runtime").JSX.Element;
9
+ declare const ImageGrid: ({ imagesData, isFovShown, isRegionsShown, isCrossesChecked }: ImageGridProps) => import("react/jsx-runtime").JSX.Element;
9
10
  export default ImageGrid;
@@ -0,0 +1,14 @@
1
+ import { ChangeEvent } from 'react';
2
+
3
+ declare const useCheckboxes: () => {
4
+ checkboxes: {
5
+ value: boolean;
6
+ onChange: (even: ChangeEvent<HTMLInputElement>) => void;
7
+ isCheckboxDisabled: boolean;
8
+ label: string;
9
+ }[];
10
+ isFovChecked: boolean;
11
+ isRegionsChecked: boolean;
12
+ isCrossesChecked: boolean;
13
+ };
14
+ export default useCheckboxes;
@@ -26,8 +26,10 @@ export type FeedStreamsData = {
26
26
  export type ModifyShapesType = {
27
27
  fov: Shape[];
28
28
  regions: Shape[];
29
+ crosses: Shape[];
29
30
  fovCondition?: boolean;
30
31
  regionsCondition?: boolean;
32
+ crossesCondition?: boolean;
31
33
  };
32
34
  export type ImageGridItemType = {
33
35
  url: string;
@@ -41,6 +43,7 @@ export type ImageGridItemType = {
41
43
  isError?: boolean;
42
44
  fov?: Shape[];
43
45
  regions?: Shape[];
46
+ crosses?: Shape[];
44
47
  unit: string;
45
48
  runId: number;
46
49
  };
@@ -39,5 +39,18 @@ export declare const generateFeedStreamsData: ({ latestSnapshots, fovInfos, base
39
39
  isInFov: boolean | undefined;
40
40
  } | null)[] | undefined;
41
41
  unit: string | undefined;
42
+ crosses: {
43
+ id: string;
44
+ type: import('@conboai/storybook.components').ShapeType;
45
+ points: {
46
+ x: number;
47
+ y: number;
48
+ }[];
49
+ styles: any;
50
+ crossLine: {
51
+ direction: number;
52
+ isBidirectional: boolean;
53
+ };
54
+ }[] | null;
42
55
  }[];
43
- export declare const modifyShapes: ({ fov, regions, fovCondition, regionsCondition }: ModifyShapesType) => (import('@conboai/storybook.components').Shape | import('@conboai/storybook.components').Shape[])[];
56
+ export declare const modifyShapes: ({ fov, regions, crosses, fovCondition, regionsCondition, crossesCondition }: ModifyShapesType) => (import('@conboai/storybook.components').Shape | import('@conboai/storybook.components').Shape[])[];
@@ -0,0 +1,11 @@
1
+ import { ChangeEvent } from 'react';
2
+
3
+ declare const useCheckboxes: () => {
4
+ checkboxes: {
5
+ value: boolean;
6
+ onChange: (even: ChangeEvent<HTMLInputElement>) => void;
7
+ isCheckboxDisabled: boolean;
8
+ label: string;
9
+ }[];
10
+ };
11
+ export default useCheckboxes;
@@ -17,6 +17,8 @@ export declare const generatePixelTrailsPoints: (data: TrailInfoPixelData[]) =>
17
17
  polylineStroke: string | undefined;
18
18
  polylineCircleFill: string | undefined;
19
19
  };
20
+ showEndDirection: boolean;
21
+ showDirection: boolean;
20
22
  }[];
21
23
  export declare const generateGeoTrailCoordinates: (data: TrailsItemDtoGeo[], pixelData: TrailInfoPixelData[], isFloorPlan?: boolean) => ({
22
24
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/app.db.query",
3
- "version": "0.9.40",
3
+ "version": "0.9.42",
4
4
  "type": "module",
5
5
  "main": "dist/app.db.query.js",
6
6
  "types": "dist/build/index.d.ts",
@@ -39,7 +39,7 @@
39
39
  "format": "prettier --write \"src/**/*.{ts,tsx,json}\" --color"
40
40
  },
41
41
  "dependencies": {
42
- "@conboai/storybook.components": "^0.5.66",
42
+ "@conboai/storybook.components": "^0.5.72",
43
43
  "@emotion/react": "^11.11.4",
44
44
  "@emotion/styled": "^11.11.5",
45
45
  "@hookform/resolvers": "^3.9.1",