@conboai/app.db.query 0.8.45 → 0.8.47
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 +34042 -32772
- package/dist/apps/FeedStreams/components/ImageGrid/ErrorBox.d.ts +6 -1
- package/dist/apps/FeedStreams/components/ImageGrid/NoData.d.ts +4 -1
- package/dist/apps/SearchTool/SearchTool.d.ts +8 -0
- package/dist/apps/SearchTool/components/AppContent/AppContent.d.ts +2 -0
- package/dist/apps/SearchTool/components/AppContent/index.d.ts +1 -0
- package/dist/apps/SearchTool/components/AppHeader/AppHeader.d.ts +6 -0
- package/dist/apps/SearchTool/components/AppHeader/index.d.ts +1 -0
- package/dist/apps/SearchTool/components/AppLeftBar/ActionsPanel.d.ts +4 -0
- package/dist/apps/SearchTool/components/AppLeftBar/AppLeftBar.d.ts +4 -0
- package/dist/apps/SearchTool/components/AppLeftBar/index.d.ts +1 -0
- package/dist/apps/SearchTool/components/AppLeftBar/styles.d.ts +4 -0
- package/dist/apps/SearchTool/components/AppLeftBar/types.d.ts +27 -0
- package/dist/apps/SearchTool/components/AppRightBar/AppRightBar.d.ts +5 -0
- package/dist/apps/SearchTool/components/AppRightBar/columnsDefs.d.ts +26 -0
- package/dist/apps/SearchTool/components/AppRightBar/index.d.ts +1 -0
- package/dist/apps/SearchTool/components/AppRightBar/styles.d.ts +4 -0
- package/dist/apps/SearchTool/components/AppRightBar/utils.d.ts +44 -0
- package/dist/apps/SearchTool/components/ImageGrid/ImageGrid.d.ts +16 -0
- package/dist/apps/SearchTool/components/ImageGrid/ImageItem.d.ts +18 -0
- package/dist/apps/SearchTool/components/ImageGrid/styles.d.ts +15 -0
- package/dist/apps/SearchTool/components/ImageModal/ImageModal.d.ts +7 -0
- package/dist/apps/SearchTool/components/ImageModal/index.d.ts +1 -0
- package/dist/apps/SearchTool/components/ImageModal/styles.d.ts +14 -0
- package/dist/apps/SearchTool/hooks/useActions.d.ts +28 -0
- package/dist/apps/SearchTool/hooks/useClearData.d.ts +2 -0
- package/dist/apps/SearchTool/hooks/useKitsEffect.d.ts +6 -0
- package/dist/apps/SearchTool/hooks/useMountEffect.d.ts +4 -0
- package/dist/apps/SearchTool/hooks/useSearch.d.ts +8 -0
- package/dist/apps/SearchTool/hooks/useTimezoneEffect.d.ts +10 -0
- package/dist/apps/SearchTool/index.d.ts +1 -0
- package/dist/apps/SearchTool/utils.d.ts +11 -0
- package/dist/build/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { SxProps } from '@mui/material';
|
|
2
|
+
|
|
3
|
+
declare const ErrorBox: ({ title, sx }: {
|
|
4
|
+
title?: string;
|
|
5
|
+
sx?: SxProps;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
2
7
|
export default ErrorBox;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type SearchToolProps = {
|
|
2
|
+
siteId: string;
|
|
3
|
+
baseUrl?: string;
|
|
4
|
+
isAdmin?: boolean;
|
|
5
|
+
onHomeClick?: () => void;
|
|
6
|
+
};
|
|
7
|
+
export declare const SearchTool: ({ siteId, onHomeClick, baseUrl, isAdmin }: SearchToolProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default SearchTool;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as AppContent } from './AppContent';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AppHeader } from './AppHeader.tsx';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ActionPanelProps } from './types';
|
|
2
|
+
|
|
3
|
+
declare const ActionsPanel: ({ handleSearchClick, isAutoSearchDisabled, tooltipTile, isSearchButtonDisabled, isLeftPanelShown, isTimezoneTheSame, newSiteInfo, duration, feedsOptions, feed, displayFeedsOptions, displayFeed, confidence, content, tabs, infoKitsIds, isAdmin, debouncedSearch, handelTabIndex }: ActionPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default ActionsPanel;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as AppLeftBar } from './AppLeftBar';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { TypeTabsContent } from '@conboai/storybook.components';
|
|
2
|
+
|
|
3
|
+
export type ActionPanelProps = {
|
|
4
|
+
isLeftPanelShown?: boolean;
|
|
5
|
+
handleSearchClick: () => void;
|
|
6
|
+
isAutoSearchDisabled?: boolean;
|
|
7
|
+
tooltipTile?: string;
|
|
8
|
+
isSearchButtonDisabled?: boolean;
|
|
9
|
+
isTimezoneTheSame?: boolean;
|
|
10
|
+
duration: number;
|
|
11
|
+
feedsOptions: string[];
|
|
12
|
+
feed: string[];
|
|
13
|
+
displayFeedsOptions: string[];
|
|
14
|
+
displayFeed: string[];
|
|
15
|
+
confidence: number;
|
|
16
|
+
content: TypeTabsContent;
|
|
17
|
+
tabs: {
|
|
18
|
+
label: string;
|
|
19
|
+
value: string;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
}[];
|
|
22
|
+
infoKitsIds: number[];
|
|
23
|
+
isAdmin?: boolean;
|
|
24
|
+
newSiteInfo: any;
|
|
25
|
+
debouncedSearch: () => void;
|
|
26
|
+
handelTabIndex: (value: string) => void;
|
|
27
|
+
};
|
|
@@ -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 {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type ImageGridProps = {
|
|
2
|
+
data: any[];
|
|
3
|
+
onModalOpen: (value: string) => void;
|
|
4
|
+
onClick?: (payload: {
|
|
5
|
+
startTime?: string;
|
|
6
|
+
endTime?: string;
|
|
7
|
+
assignedFeedId?: number;
|
|
8
|
+
id: string;
|
|
9
|
+
}) => void;
|
|
10
|
+
onLoadMore?: () => void;
|
|
11
|
+
showLoadMore?: boolean;
|
|
12
|
+
selectedItem?: number | string;
|
|
13
|
+
loading?: boolean;
|
|
14
|
+
};
|
|
15
|
+
declare const ImageGrid: ({ data, onModalOpen, onClick, onLoadMore, showLoadMore, selectedItem, loading }: ImageGridProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export default ImageGrid;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type ImageItemProps = {
|
|
2
|
+
onClick?: (payload: {
|
|
3
|
+
startTime?: string;
|
|
4
|
+
endTime?: string;
|
|
5
|
+
assignedFeedId?: number;
|
|
6
|
+
id: string;
|
|
7
|
+
}) => void;
|
|
8
|
+
onModalOpen?: (value: string) => void;
|
|
9
|
+
imgUrl: string;
|
|
10
|
+
startTime?: string;
|
|
11
|
+
endTime?: string;
|
|
12
|
+
duration?: string;
|
|
13
|
+
id: string;
|
|
14
|
+
isActive?: boolean;
|
|
15
|
+
assignedFeedId?: number;
|
|
16
|
+
};
|
|
17
|
+
declare const ImageItem: ({ onClick, onModalOpen, imgUrl, startTime, endTime, duration, id, isActive, assignedFeedId }: ImageItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export default ImageItem;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SxProps } from '@mui/material';
|
|
2
|
+
|
|
3
|
+
export declare const imageItemContentBoxSx: (isActive?: boolean) => SxProps;
|
|
4
|
+
export declare const descriptionBoxSx: SxProps;
|
|
5
|
+
export declare const imageItemCardMediaSx: SxProps;
|
|
6
|
+
export declare const imageGridBoxSx: SxProps;
|
|
7
|
+
export declare const imageItemSx: SxProps;
|
|
8
|
+
export declare const fullscreenIconBoxSx: SxProps;
|
|
9
|
+
export declare const typographyBoldSx: SxProps;
|
|
10
|
+
export declare const typographyRegularSx: SxProps;
|
|
11
|
+
export declare const mainContentSx: SxProps;
|
|
12
|
+
export declare const actionBtnSx: SxProps;
|
|
13
|
+
export declare const imageBoxSx: (isActive?: boolean) => SxProps;
|
|
14
|
+
export declare const loaderBoxSx: SxProps;
|
|
15
|
+
export declare const errorBoxSx: (isActive?: boolean) => SxProps;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ImageModal } from './ImageModal';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SxProps } from '@mui/material';
|
|
2
|
+
|
|
3
|
+
export declare const modalBoxSx: SxProps;
|
|
4
|
+
export declare const backdropStyles: {
|
|
5
|
+
style: {
|
|
6
|
+
background: string;
|
|
7
|
+
backdropFilter: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export declare const cardMediaSx: SxProps;
|
|
11
|
+
export declare const modalContainerSx: SxProps;
|
|
12
|
+
export declare const typographyBoldSx: SxProps;
|
|
13
|
+
export declare const typographyRegularSx: SxProps;
|
|
14
|
+
export declare const imageItemContentBoxSx: SxProps;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ChangeEvent } from 'react';
|
|
2
|
+
|
|
3
|
+
declare const useActions: (debouncedSearch?: () => void) => {
|
|
4
|
+
isSiteTimezone: boolean;
|
|
5
|
+
handleToggleChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
6
|
+
isAutoSearchActive: boolean;
|
|
7
|
+
handelAutoSearchChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
8
|
+
localStartTime: Date;
|
|
9
|
+
localEndTime: Date;
|
|
10
|
+
checked: boolean;
|
|
11
|
+
endTimeError: string;
|
|
12
|
+
handleToggleCheck: () => void;
|
|
13
|
+
handleConfidenceChange: (value: number) => void;
|
|
14
|
+
startTimeError: string;
|
|
15
|
+
handleStartTimeError: (error: string) => void;
|
|
16
|
+
handleEndTimeError: (error: string) => void;
|
|
17
|
+
handleFeedNameChange: (selectedFeeds: any) => void;
|
|
18
|
+
handleDisplayFeedNameChange: (selectedFeeds: any) => void;
|
|
19
|
+
handleStartTimeChange: (updatedDate: any) => void;
|
|
20
|
+
handleEndTimeChange: (updatedDate: any) => void;
|
|
21
|
+
handleDurationChange: (event: any) => void;
|
|
22
|
+
handleKitContentChange: (kitId: number, itemName: string, value: string | string[]) => void;
|
|
23
|
+
isAutoSearchAvalible: boolean | 0;
|
|
24
|
+
timezone: string;
|
|
25
|
+
setLocalStartTime: import('react').Dispatch<import('react').SetStateAction<Date>>;
|
|
26
|
+
setLocalEndTime: import('react').Dispatch<import('react').SetStateAction<Date>>;
|
|
27
|
+
};
|
|
28
|
+
export default useActions;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
isSiteTimezone: boolean;
|
|
3
|
+
localStartTime: Date;
|
|
4
|
+
localEndTime: Date;
|
|
5
|
+
};
|
|
6
|
+
type Output = {
|
|
7
|
+
timezone: string;
|
|
8
|
+
};
|
|
9
|
+
declare const useTimezoneEffect: ({ isSiteTimezone, localStartTime, localEndTime }: Props) => Output;
|
|
10
|
+
export default useTimezoneEffect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SearchTool } from './SearchTool';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Image } from '../../store/snapshotsStore';
|
|
2
|
+
|
|
3
|
+
export type Item = {
|
|
4
|
+
startTime: string;
|
|
5
|
+
id: string;
|
|
6
|
+
endTime: string;
|
|
7
|
+
assignedFeedId: number;
|
|
8
|
+
imgUrl?: string;
|
|
9
|
+
duration?: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const generateData: (a: any[], b: Image[]) => Item[];
|
package/dist/build/index.d.ts
CHANGED
|
@@ -6,4 +6,5 @@ export { EntitySearch } from '../apps/EntitySearch';
|
|
|
6
6
|
export { ConboMatch } from '../apps/conbo-match';
|
|
7
7
|
export { FeedStreams } from '../apps/FeedStreams';
|
|
8
8
|
export { HeatMap } from '../apps/HeatMap';
|
|
9
|
+
export { SearchTool } from '../apps/SearchTool';
|
|
9
10
|
export { default as applicationsMeta } from '../helpers/applicationsMeta';
|