@conboai/app.db.query 0.8.53 → 0.8.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/dist/app.db.query.js +47939 -47018
- package/dist/apps/HeatMap/components/AppContent/FramesContent.d.ts +7 -0
- package/dist/apps/HeatMap/components/AppContent/styles.d.ts +2 -0
- package/dist/apps/HeatMap/components/AppRightBar/AppRightBar.d.ts +6 -0
- package/dist/apps/HeatMap/components/AppRightBar/columnsDefs.d.ts +26 -0
- package/dist/apps/HeatMap/components/AppRightBar/index.d.ts +1 -0
- package/dist/apps/HeatMap/components/AppRightBar/styles.d.ts +4 -0
- package/dist/apps/HeatMap/components/AppRightBar/utils.d.ts +44 -0
- package/dist/apps/HeatMap/components/FeedSnapshot/FeedSnapshot.d.ts +5 -1
- package/dist/apps/HeatMap/components/GeoContainer/GeoContainer.d.ts +4 -1
- package/dist/apps/HeatMap/hooks/useColumnDefs.d.ts +86 -0
- package/dist/apps/HeatMap/utils.d.ts +19 -4
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
|
|
2
|
+
export declare const verticalTableColumnDefs: () => {
|
|
3
|
+
topOneColumnDefs: ({
|
|
4
|
+
headerName: string;
|
|
5
|
+
field: string;
|
|
6
|
+
renderCell?: undefined;
|
|
7
|
+
} | {
|
|
8
|
+
headerName: string;
|
|
9
|
+
field: string;
|
|
10
|
+
renderCell: (value: number) => string;
|
|
11
|
+
})[];
|
|
12
|
+
frameInfoColumnDefs: {
|
|
13
|
+
headerName: string;
|
|
14
|
+
field: string;
|
|
15
|
+
renderCell: (value: number) => string;
|
|
16
|
+
}[];
|
|
17
|
+
summaryColumnDefs: ({
|
|
18
|
+
headerName: string;
|
|
19
|
+
field: string;
|
|
20
|
+
renderCell: (value: number) => string;
|
|
21
|
+
} | {
|
|
22
|
+
headerName: string;
|
|
23
|
+
field: string;
|
|
24
|
+
renderCell?: undefined;
|
|
25
|
+
})[];
|
|
26
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as AppRightBar } from './AppRightBar';
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
type GetDetailsContentProps = {
|
|
2
|
+
topOne?: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
}[];
|
|
5
|
+
classifiersFrameInfo?: {
|
|
6
|
+
conbo_key: string;
|
|
7
|
+
tag_id: number;
|
|
8
|
+
value: number;
|
|
9
|
+
confidence: number;
|
|
10
|
+
element_serial_number: number;
|
|
11
|
+
kit_id: number;
|
|
12
|
+
kit_version: number;
|
|
13
|
+
assigned_feed_id: number;
|
|
14
|
+
track_id: number;
|
|
15
|
+
start_time: string;
|
|
16
|
+
end_time: string;
|
|
17
|
+
}[];
|
|
18
|
+
classifierSummary?: {
|
|
19
|
+
[x: string]: any;
|
|
20
|
+
}[];
|
|
21
|
+
kitsElements?: {
|
|
22
|
+
kit_id: number;
|
|
23
|
+
tag_id: number;
|
|
24
|
+
type: string;
|
|
25
|
+
category: string;
|
|
26
|
+
serial_number: number;
|
|
27
|
+
name: string;
|
|
28
|
+
primary: boolean;
|
|
29
|
+
labels: {
|
|
30
|
+
id: number;
|
|
31
|
+
name: string;
|
|
32
|
+
}[];
|
|
33
|
+
}[];
|
|
34
|
+
};
|
|
35
|
+
export declare const getDetailsContent: (args: GetDetailsContentProps) => {
|
|
36
|
+
value: string;
|
|
37
|
+
content: import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
}[];
|
|
39
|
+
export declare const getDetailsTabs: () => {
|
|
40
|
+
label: string;
|
|
41
|
+
value: string;
|
|
42
|
+
disabled: boolean;
|
|
43
|
+
}[];
|
|
44
|
+
export {};
|
|
@@ -3,6 +3,10 @@ import { Shape } from '@conboai/storybook.components';
|
|
|
3
3
|
type FeedSnapshotsProps = {
|
|
4
4
|
shapes?: Shape[];
|
|
5
5
|
imgUrl?: string;
|
|
6
|
+
onModalOpen?: () => void;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
shouldShowNoDataFrame?: boolean;
|
|
9
|
+
selectedShape?: Shape | null;
|
|
6
10
|
};
|
|
7
|
-
declare const FeedSnapshot: ({ shapes, imgUrl }: FeedSnapshotsProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare const FeedSnapshot: ({ shapes, imgUrl, onModalOpen, loading, shouldShowNoDataFrame, selectedShape }: FeedSnapshotsProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
12
|
export default FeedSnapshot;
|
|
@@ -2,6 +2,9 @@ import { GeoType } from '@conboai/storybook.components';
|
|
|
2
2
|
|
|
3
3
|
type GeoContainerProps = {
|
|
4
4
|
data: GeoType[];
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
shouldShowNoDataFrame?: boolean;
|
|
7
|
+
selectedItemId: string | null;
|
|
5
8
|
};
|
|
6
|
-
declare const GeoContainer: ({ data }: GeoContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare const GeoContainer: ({ data, loading, shouldShowNoDataFrame, selectedItemId }: GeoContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
10
|
export default GeoContainer;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { CheckboxProps } from '@mui/material/Checkbox';
|
|
2
|
+
|
|
3
|
+
export interface RowData {
|
|
4
|
+
id: number | string;
|
|
5
|
+
selected?: boolean;
|
|
6
|
+
value?: any;
|
|
7
|
+
startTime?: string | number;
|
|
8
|
+
endTime?: string | number;
|
|
9
|
+
duration?: string;
|
|
10
|
+
color?: string;
|
|
11
|
+
}
|
|
12
|
+
interface UseColumnDefsProps {
|
|
13
|
+
allSelected: boolean;
|
|
14
|
+
partiallySelected: boolean;
|
|
15
|
+
onToggleSelectAll: CheckboxProps["onChange"];
|
|
16
|
+
onToggleRow: (event: React.ChangeEvent<HTMLInputElement>, row: RowData) => void;
|
|
17
|
+
}
|
|
18
|
+
export declare const useColumnDefs: ({ allSelected, partiallySelected, onToggleSelectAll, onToggleRow }: UseColumnDefsProps) => {
|
|
19
|
+
columns: ({
|
|
20
|
+
field: string;
|
|
21
|
+
headerName: string;
|
|
22
|
+
disableColumnMenu: boolean;
|
|
23
|
+
filterable: boolean;
|
|
24
|
+
maxWidth: number;
|
|
25
|
+
disableClickEventBubbling: boolean;
|
|
26
|
+
sortable: boolean;
|
|
27
|
+
renderHeader: () => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
renderCell: (params: any) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
flex?: undefined;
|
|
30
|
+
valueGetter?: undefined;
|
|
31
|
+
width?: undefined;
|
|
32
|
+
} | {
|
|
33
|
+
field: string;
|
|
34
|
+
headerName: string;
|
|
35
|
+
flex: number;
|
|
36
|
+
disableColumnMenu?: undefined;
|
|
37
|
+
filterable?: undefined;
|
|
38
|
+
maxWidth?: undefined;
|
|
39
|
+
disableClickEventBubbling?: undefined;
|
|
40
|
+
sortable?: undefined;
|
|
41
|
+
renderHeader?: undefined;
|
|
42
|
+
renderCell?: undefined;
|
|
43
|
+
valueGetter?: undefined;
|
|
44
|
+
width?: undefined;
|
|
45
|
+
} | {
|
|
46
|
+
field: string;
|
|
47
|
+
headerName: string;
|
|
48
|
+
flex: number;
|
|
49
|
+
valueGetter: (params: any) => string;
|
|
50
|
+
disableColumnMenu?: undefined;
|
|
51
|
+
filterable?: undefined;
|
|
52
|
+
maxWidth?: undefined;
|
|
53
|
+
disableClickEventBubbling?: undefined;
|
|
54
|
+
sortable?: undefined;
|
|
55
|
+
renderHeader?: undefined;
|
|
56
|
+
renderCell?: undefined;
|
|
57
|
+
width?: undefined;
|
|
58
|
+
} | {
|
|
59
|
+
field: string;
|
|
60
|
+
headerName: string;
|
|
61
|
+
width: number;
|
|
62
|
+
renderCell: (params: any) => import("react/jsx-runtime").JSX.Element;
|
|
63
|
+
disableColumnMenu?: undefined;
|
|
64
|
+
filterable?: undefined;
|
|
65
|
+
maxWidth?: undefined;
|
|
66
|
+
disableClickEventBubbling?: undefined;
|
|
67
|
+
sortable?: undefined;
|
|
68
|
+
renderHeader?: undefined;
|
|
69
|
+
flex?: undefined;
|
|
70
|
+
valueGetter?: undefined;
|
|
71
|
+
} | {
|
|
72
|
+
field: string;
|
|
73
|
+
headerName: string;
|
|
74
|
+
sortable: boolean;
|
|
75
|
+
filterable: boolean;
|
|
76
|
+
disableColumnMenu: boolean;
|
|
77
|
+
maxWidth: number;
|
|
78
|
+
renderCell: (params: any) => import("react/jsx-runtime").JSX.Element;
|
|
79
|
+
disableClickEventBubbling?: undefined;
|
|
80
|
+
renderHeader?: undefined;
|
|
81
|
+
flex?: undefined;
|
|
82
|
+
valueGetter?: undefined;
|
|
83
|
+
width?: undefined;
|
|
84
|
+
})[];
|
|
85
|
+
};
|
|
86
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TrailsItemDto as TrailsItemDtoGeo } from '../../api/detectionGeo';
|
|
2
2
|
import { EntityTypes, ShapeType } from '@conboai/storybook.components';
|
|
3
|
-
import { TrailInfoPixelData } from '../../store/services/detectionsStore
|
|
3
|
+
import { TrailInfoPixelData } from '../../store/services/detectionsStore';
|
|
4
4
|
|
|
5
5
|
interface Data {
|
|
6
6
|
conbo_key: string;
|
|
@@ -19,9 +19,9 @@ export declare const generatePixelTrailsPoints: (data: TrailInfoPixelData[]) =>
|
|
|
19
19
|
points: any;
|
|
20
20
|
type: ShapeType;
|
|
21
21
|
styles: {
|
|
22
|
-
stroke: string;
|
|
23
|
-
polylineStroke: string;
|
|
24
|
-
polylineCircleFill: string;
|
|
22
|
+
stroke: string | undefined;
|
|
23
|
+
polylineStroke: string | undefined;
|
|
24
|
+
polylineCircleFill: string | undefined;
|
|
25
25
|
};
|
|
26
26
|
}[];
|
|
27
27
|
export declare const generateGeoTrailCoordinates: (data: TrailsItemDtoGeo[], pixelData: TrailInfoPixelData[]) => {
|
|
@@ -41,6 +41,7 @@ export declare const generatePixelPolygonPoints: (data: Array<Array<Array<number
|
|
|
41
41
|
y: number;
|
|
42
42
|
}[];
|
|
43
43
|
styles: any;
|
|
44
|
+
isFov: boolean;
|
|
44
45
|
};
|
|
45
46
|
export declare const generateGeoPolygonCoordinates: (data?: Array<Array<Array<number>>>, styles?: any) => {
|
|
46
47
|
id: string;
|
|
@@ -50,5 +51,19 @@ export declare const generateGeoPolygonCoordinates: (data?: Array<Array<Array<nu
|
|
|
50
51
|
lng: number;
|
|
51
52
|
}[] | undefined;
|
|
52
53
|
styles: any;
|
|
54
|
+
isFov: boolean;
|
|
53
55
|
};
|
|
56
|
+
interface IGetContentProps {
|
|
57
|
+
gridProps: any;
|
|
58
|
+
}
|
|
59
|
+
export declare const getContent: ({ gridProps }: IGetContentProps) => {
|
|
60
|
+
value: string;
|
|
61
|
+
content: import("react/jsx-runtime").JSX.Element;
|
|
62
|
+
}[];
|
|
63
|
+
export declare const getContentTabs: () => {
|
|
64
|
+
label: string;
|
|
65
|
+
value: string;
|
|
66
|
+
disabled: boolean;
|
|
67
|
+
}[];
|
|
68
|
+
export declare const formatData: (fov?: boolean, data?: any) => any;
|
|
54
69
|
export {};
|