@conboai/app.db.query 0.9.33 → 0.9.35
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/dist/app.db.query.js +21843 -21783
- package/dist/apps/CargoTrails/components/SnapshotBox/SnapshotBox.d.ts +1 -1
- package/dist/apps/CargoTrails/components/SnapshotBox/types.d.ts +0 -2
- package/dist/apps/HeatMap/components/GeoFloorPlanContainer/GeoFloorPlanContainer.d.ts +18 -0
- package/dist/apps/HeatMap/components/GeoFloorPlanContainer/index.d.ts +1 -0
- package/dist/apps/HeatMap/hooks/useFovAndTrailInfo.d.ts +1 -0
- package/dist/apps/HeatMap/utils.d.ts +30 -3
- package/package.json +1 -1
- package/dist/apps/HeatMap/components/GeoContainer/GeoContainer.d.ts +0 -14
- package/dist/apps/HeatMap/components/GeoContainer/index.d.ts +0 -1
- /package/dist/apps/HeatMap/components/{GeoContainer → GeoFloorPlanContainer}/styles.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SnapshotBoxProps } from './types';
|
|
2
2
|
|
|
3
|
-
declare const SnapshotBox: ({ isEmpty, imgUrl, shapes, shapeWidth, selectedShape, onShapeClick
|
|
3
|
+
declare const SnapshotBox: ({ isEmpty, imgUrl, shapes, shapeWidth, selectedShape, onShapeClick }: SnapshotBoxProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default SnapshotBox;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Shape } from '../../../../shared/Shapes/types';
|
|
2
|
-
import { Shape as SBShape } from '@conboai/storybook.components/dist/components/Shapes/types';
|
|
3
2
|
|
|
4
3
|
export type SnapshotBoxProps = {
|
|
5
4
|
isEmpty?: boolean;
|
|
@@ -8,5 +7,4 @@ export type SnapshotBoxProps = {
|
|
|
8
7
|
shapeWidth: string;
|
|
9
8
|
selectedShape?: string;
|
|
10
9
|
onShapeClick?: (shape: Shape) => void;
|
|
11
|
-
detectionShapes: SBShape[];
|
|
12
10
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { GeoType, Shape } from '@conboai/storybook.components';
|
|
2
|
+
|
|
3
|
+
type GeoContainerProps = {
|
|
4
|
+
data: GeoType[];
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
shouldShowNoDataFrame?: boolean;
|
|
7
|
+
selectedItemId: string | null;
|
|
8
|
+
frameStyles?: {
|
|
9
|
+
width: string;
|
|
10
|
+
height: string;
|
|
11
|
+
};
|
|
12
|
+
isIndoor?: boolean;
|
|
13
|
+
floorPlanCoordinates?: Shape[];
|
|
14
|
+
floorPlanUrl?: string;
|
|
15
|
+
onModalOpen?: () => void;
|
|
16
|
+
};
|
|
17
|
+
declare const GeoFloorPlanContainer: ({ data, loading, shouldShowNoDataFrame, selectedItemId, frameStyles, isIndoor, floorPlanCoordinates, floorPlanUrl, onModalOpen }: GeoContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export default GeoFloorPlanContainer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as GeoFloorPlanContainer } from './GeoFloorPlanContainer';
|
|
@@ -18,15 +18,31 @@ export declare const generatePixelTrailsPoints: (data: TrailInfoPixelData[]) =>
|
|
|
18
18
|
polylineCircleFill: string | undefined;
|
|
19
19
|
};
|
|
20
20
|
}[];
|
|
21
|
-
export declare const generateGeoTrailCoordinates: (data: TrailsItemDtoGeo[], pixelData: TrailInfoPixelData[]) => {
|
|
21
|
+
export declare const generateGeoTrailCoordinates: (data: TrailsItemDtoGeo[], pixelData: TrailInfoPixelData[], isFloorPlan?: boolean) => ({
|
|
22
|
+
id: string;
|
|
23
|
+
points: any;
|
|
24
|
+
type: ShapeType;
|
|
25
|
+
styles: {
|
|
26
|
+
stroke: string | undefined;
|
|
27
|
+
polylineStroke: string | undefined;
|
|
28
|
+
polylineCircleFill: string | undefined;
|
|
29
|
+
strokeColor?: undefined;
|
|
30
|
+
fillColor?: undefined;
|
|
31
|
+
};
|
|
32
|
+
coordinates?: undefined;
|
|
33
|
+
} | {
|
|
22
34
|
id: string;
|
|
23
35
|
coordinates: any;
|
|
24
36
|
type: EntityTypes;
|
|
25
37
|
styles: {
|
|
26
38
|
strokeColor: string;
|
|
27
39
|
fillColor: string;
|
|
40
|
+
stroke?: undefined;
|
|
41
|
+
polylineStroke?: undefined;
|
|
42
|
+
polylineCircleFill?: undefined;
|
|
28
43
|
};
|
|
29
|
-
|
|
44
|
+
points?: undefined;
|
|
45
|
+
})[];
|
|
30
46
|
export declare const generatePixelPolygonPoints: (data: Array<Array<Array<number>>>, styles?: any) => {
|
|
31
47
|
id: string;
|
|
32
48
|
type: ShapeType;
|
|
@@ -37,7 +53,17 @@ export declare const generatePixelPolygonPoints: (data: Array<Array<Array<number
|
|
|
37
53
|
styles: any;
|
|
38
54
|
isFov: boolean;
|
|
39
55
|
};
|
|
40
|
-
export declare const generateGeoPolygonCoordinates: (data?: Array<Array<Array<number>>>, styles?: any) => {
|
|
56
|
+
export declare const generateGeoPolygonCoordinates: (data?: Array<Array<Array<number>>>, styles?: any, isFloorPlan?: boolean) => {
|
|
57
|
+
id: string;
|
|
58
|
+
type: ShapeType;
|
|
59
|
+
points: {
|
|
60
|
+
x: number;
|
|
61
|
+
y: number;
|
|
62
|
+
}[];
|
|
63
|
+
styles: any;
|
|
64
|
+
isFov: boolean;
|
|
65
|
+
coordinates?: undefined;
|
|
66
|
+
} | {
|
|
41
67
|
id: string;
|
|
42
68
|
type: EntityTypes;
|
|
43
69
|
coordinates: {
|
|
@@ -46,6 +72,7 @@ export declare const generateGeoPolygonCoordinates: (data?: Array<Array<Array<nu
|
|
|
46
72
|
}[] | undefined;
|
|
47
73
|
styles: any;
|
|
48
74
|
isFov: boolean;
|
|
75
|
+
points?: undefined;
|
|
49
76
|
};
|
|
50
77
|
interface IGetContentProps {
|
|
51
78
|
gridProps: any;
|
package/package.json
CHANGED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { GeoType } from '@conboai/storybook.components';
|
|
2
|
-
|
|
3
|
-
type GeoContainerProps = {
|
|
4
|
-
data: GeoType[];
|
|
5
|
-
loading?: boolean;
|
|
6
|
-
shouldShowNoDataFrame?: boolean;
|
|
7
|
-
selectedItemId: string | null;
|
|
8
|
-
frameStyles?: {
|
|
9
|
-
width: string;
|
|
10
|
-
height: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
declare const GeoContainer: ({ data, loading, shouldShowNoDataFrame, selectedItemId, frameStyles }: GeoContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export default GeoContainer;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as GeoContainer } from './GeoContainer';
|
|
File without changes
|