@conboai/app.db.query 0.8.76 → 0.8.78
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 +30675 -30542
- package/dist/apps/ConboKeySearch/components/AppContentWrapper.d.ts +2 -1
- package/dist/apps/FeedStreams/components/ImageGrid/CardMediaItem.d.ts +2 -2
- package/dist/apps/FeedStreams/utils.d.ts +3 -3
- package/dist/apps/ImageAnalysis/components/AppContent/AppContent.d.ts +2 -2
- package/dist/apps/ImageAnalysis/components/AppContentWrapper.d.ts +2 -1
- package/dist/apps/ImageAnalysis/hooks/useActions.d.ts +30 -0
- package/dist/apps/ImageAnalysis/hooks/useDataEffect.d.ts +88 -0
- package/dist/apps/ImageAnalysis/hooks/useFetchData.d.ts +2 -0
- package/dist/apps/ImageAnalysis/hooks/useResizeActions.d.ts +6 -0
- package/dist/apps/conbo-match/utils.d.ts +3 -1
- package/package.json +1 -1
|
@@ -2,11 +2,11 @@ import { Shape } from '@conboai/storybook.components';
|
|
|
2
2
|
|
|
3
3
|
type CardMediaItemProps = {
|
|
4
4
|
showPolygons?: boolean;
|
|
5
|
-
|
|
5
|
+
shapeCoordinates: Shape[];
|
|
6
6
|
imageUrl?: string;
|
|
7
7
|
alt?: string;
|
|
8
8
|
delay: number;
|
|
9
9
|
isError?: boolean;
|
|
10
10
|
};
|
|
11
|
-
declare const CardMediaItem: ({ showPolygons,
|
|
11
|
+
declare const CardMediaItem: ({ showPolygons, shapeCoordinates, imageUrl, alt, delay, isError }: CardMediaItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export default CardMediaItem;
|
|
@@ -18,7 +18,7 @@ export declare const generateFeedStreamsData: ({ latestSnapshots, fovInfos, base
|
|
|
18
18
|
delay: number | undefined;
|
|
19
19
|
innerLoading: boolean | undefined;
|
|
20
20
|
isError: boolean | undefined;
|
|
21
|
-
regions: {
|
|
21
|
+
regions: ({
|
|
22
22
|
id: string;
|
|
23
23
|
type: import('@conboai/storybook.components').ShapeType;
|
|
24
24
|
points: {
|
|
@@ -26,6 +26,6 @@ export declare const generateFeedStreamsData: ({ latestSnapshots, fovInfos, base
|
|
|
26
26
|
y: number;
|
|
27
27
|
}[];
|
|
28
28
|
styles: any;
|
|
29
|
-
} | null;
|
|
29
|
+
} | null)[] | undefined;
|
|
30
30
|
}[];
|
|
31
|
-
export declare const modifyShapes: ({ fov, regions, fovCondition, regionsCondition }: ModifyShapesType) => import('@conboai/storybook.components').Shape[][];
|
|
31
|
+
export declare const modifyShapes: ({ fov, regions, fovCondition, regionsCondition }: ModifyShapesType) => (import('@conboai/storybook.components').Shape | import('@conboai/storybook.components').Shape[])[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FrameDetailUI } from '../../../../store/types/interfaces
|
|
1
|
+
import { FrameDetailUI } from '../../../../store/types/interfaces';
|
|
2
2
|
|
|
3
3
|
interface IAppContent {
|
|
4
4
|
baseUrl?: string;
|
|
@@ -7,5 +7,5 @@ interface IAppContent {
|
|
|
7
7
|
export type FrameDetailUICmp = FrameDetailUI & {
|
|
8
8
|
selected: boolean;
|
|
9
9
|
};
|
|
10
|
-
declare
|
|
10
|
+
declare const AppContent: ({ baseUrl, isImageAnalysis }: IAppContent) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export default AppContent;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ChangeEvent } from 'react';
|
|
2
|
+
import { Shape } from '@conboai/storybook.components';
|
|
3
|
+
import { GeneratedShape } from '../../../helpers/utils/generaters';
|
|
4
|
+
import { Snapshot } from '@conboai/storybook.components/dist/components/ImagePlayer/ImagePlayer';
|
|
5
|
+
|
|
6
|
+
declare const useActions: (isImageAnalysis?: boolean, baseUrl?: string, shapesCoordinates?: GeneratedShape[] | null) => {
|
|
7
|
+
isShapeSelection: boolean;
|
|
8
|
+
isRowIdSelected: boolean;
|
|
9
|
+
setIsRowIdSelected: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
10
|
+
handleCheckboxChangeFilter: (index: number) => (event: ChangeEvent<HTMLInputElement>) => void;
|
|
11
|
+
handleCellClick: (row: any) => void;
|
|
12
|
+
handleShapeSelect: (valueShape: Shape | null) => void;
|
|
13
|
+
selectedShape: GeneratedShape | null;
|
|
14
|
+
setSelectedShape: import('react').Dispatch<import('react').SetStateAction<GeneratedShape | null>>;
|
|
15
|
+
handleMultiSelectChange: (e: any) => void;
|
|
16
|
+
handleCurrentIndexChange: (newIndex: number) => void;
|
|
17
|
+
fetchFrameDetails: (snapshot: Snapshot) => void;
|
|
18
|
+
handleDetailChange: (value: string) => void;
|
|
19
|
+
handleSortByOptionsChange: (event: any) => void;
|
|
20
|
+
handleSortByModelChange: (event: any) => void;
|
|
21
|
+
handleSnapshotUrl: (snapshot: Snapshot) => string;
|
|
22
|
+
handleFormatCaptureTime: (snapshot: Snapshot) => any;
|
|
23
|
+
handleSnapshotChange: () => void;
|
|
24
|
+
sortByOptionValue: string;
|
|
25
|
+
sortByModelValue: string;
|
|
26
|
+
tab: string;
|
|
27
|
+
clearFrameDetails: () => void;
|
|
28
|
+
formattedDelay: string;
|
|
29
|
+
};
|
|
30
|
+
export default useActions;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { ChangeEvent } from 'react';
|
|
2
|
+
import { FrameDetailUICmp } from '../components/AppContent/AppContent';
|
|
3
|
+
import { FrameDetailUI } from '../../../store/types/interfaces';
|
|
4
|
+
import { SnapshotDto } from '../../../api/snapshot';
|
|
5
|
+
import { GeneratedShape } from '../../../helpers/utils/generaters';
|
|
6
|
+
|
|
7
|
+
declare const useDataEffect: (isImageAnalysis?: boolean) => {
|
|
8
|
+
getCurrentFrameDetailsSet: () => Set<FrameDetailUICmp>;
|
|
9
|
+
setLocalFrameDetails: import('react').Dispatch<import('react').SetStateAction<FrameDetailUI[]>>;
|
|
10
|
+
frameDetails: FrameDetailUI[];
|
|
11
|
+
setFrameDetails: import('react').Dispatch<import('react').SetStateAction<FrameDetailUI[]>>;
|
|
12
|
+
filteredData: FrameDetailUICmp[];
|
|
13
|
+
setFilteredData: import('react').Dispatch<import('react').SetStateAction<FrameDetailUICmp[]>>;
|
|
14
|
+
data: SnapshotDto[];
|
|
15
|
+
rows: any[];
|
|
16
|
+
handleCheckBoxChange: (event: ChangeEvent<HTMLInputElement>, params: any) => void;
|
|
17
|
+
handleSelectAllClick: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
18
|
+
shapesCoordinates: GeneratedShape[];
|
|
19
|
+
trailShapes: GeneratedShape[];
|
|
20
|
+
fovShapes: GeneratedShape[];
|
|
21
|
+
checkboxes: {
|
|
22
|
+
value: boolean;
|
|
23
|
+
label: string;
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
}[];
|
|
26
|
+
columns: ({
|
|
27
|
+
field: string;
|
|
28
|
+
headerName: string;
|
|
29
|
+
disableColumnMenu: boolean;
|
|
30
|
+
filterable: boolean;
|
|
31
|
+
maxWidth: number;
|
|
32
|
+
sortable: boolean;
|
|
33
|
+
renderHeader: () => import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
renderCell: (params: any) => import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
flex?: undefined;
|
|
36
|
+
valueGetter?: undefined;
|
|
37
|
+
width?: undefined;
|
|
38
|
+
} | {
|
|
39
|
+
field: string;
|
|
40
|
+
headerName: string;
|
|
41
|
+
flex: number;
|
|
42
|
+
disableColumnMenu?: undefined;
|
|
43
|
+
filterable?: undefined;
|
|
44
|
+
maxWidth?: undefined;
|
|
45
|
+
sortable?: undefined;
|
|
46
|
+
renderHeader?: undefined;
|
|
47
|
+
renderCell?: undefined;
|
|
48
|
+
valueGetter?: undefined;
|
|
49
|
+
width?: undefined;
|
|
50
|
+
} | {
|
|
51
|
+
field: string;
|
|
52
|
+
headerName: string;
|
|
53
|
+
flex: number;
|
|
54
|
+
valueGetter: (params: any, value: any) => string;
|
|
55
|
+
disableColumnMenu?: undefined;
|
|
56
|
+
filterable?: undefined;
|
|
57
|
+
maxWidth?: undefined;
|
|
58
|
+
sortable?: undefined;
|
|
59
|
+
renderHeader?: undefined;
|
|
60
|
+
renderCell?: undefined;
|
|
61
|
+
width?: undefined;
|
|
62
|
+
} | {
|
|
63
|
+
field: string;
|
|
64
|
+
headerName: string;
|
|
65
|
+
width: number;
|
|
66
|
+
renderCell: (params: any) => import("react/jsx-runtime").JSX.Element;
|
|
67
|
+
disableColumnMenu?: undefined;
|
|
68
|
+
filterable?: undefined;
|
|
69
|
+
maxWidth?: undefined;
|
|
70
|
+
sortable?: undefined;
|
|
71
|
+
renderHeader?: undefined;
|
|
72
|
+
flex?: undefined;
|
|
73
|
+
valueGetter?: undefined;
|
|
74
|
+
} | {
|
|
75
|
+
field: string;
|
|
76
|
+
headerName: string;
|
|
77
|
+
sortable: boolean;
|
|
78
|
+
filterable: boolean;
|
|
79
|
+
disableColumnMenu: boolean;
|
|
80
|
+
maxWidth: number;
|
|
81
|
+
renderCell: (params: any) => import("react/jsx-runtime").JSX.Element;
|
|
82
|
+
renderHeader?: undefined;
|
|
83
|
+
flex?: undefined;
|
|
84
|
+
valueGetter?: undefined;
|
|
85
|
+
width?: undefined;
|
|
86
|
+
})[];
|
|
87
|
+
};
|
|
88
|
+
export default useDataEffect;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { DetectionInfoType } from '../../store/services/detectionsStore';
|
|
2
|
+
|
|
1
3
|
type IntersectionItem = {
|
|
2
4
|
id: string;
|
|
3
5
|
distance: number;
|
|
@@ -38,5 +40,5 @@ export type OutputItem = {
|
|
|
38
40
|
assigned_feed_id: number;
|
|
39
41
|
};
|
|
40
42
|
export declare function transformData(data: InputData): OutputItem[];
|
|
41
|
-
export declare const mergeData: (array:
|
|
43
|
+
export declare const mergeData: (array: OutputItem[] | undefined, obj: DetectionInfoType | null) => any[];
|
|
42
44
|
export {};
|