@conboai/app.db.query 0.8.77 → 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 +29549 -29415
- package/dist/apps/ConboKeySearch/components/AppContentWrapper.d.ts +2 -1
- 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/package.json +1 -1
|
@@ -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;
|