@conboai/app.db.query 0.8.25 → 0.8.26

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.
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+
3
+ type FeedStreamsProps = {
4
+ deploymentId: string;
5
+ baseUrl?: string;
6
+ onHomeClick?: () => void;
7
+ };
8
+ declare const FeedStreams: FC<FeedStreamsProps>;
9
+ export default FeedStreams;
@@ -0,0 +1,7 @@
1
+ type HeaderProps = {
2
+ imageSrc?: string;
3
+ deploymentName?: string;
4
+ onHomeClick?: () => void;
5
+ };
6
+ declare const Header: ({ imageSrc, deploymentName, onHomeClick }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
7
+ export default Header;
@@ -0,0 +1 @@
1
+ export { default as Header } from './Header';
@@ -0,0 +1,8 @@
1
+ import { ImageItemType } from './ImageItem';
2
+
3
+ type ImageGridProps = {
4
+ imagesData: ImageItemType[];
5
+ loading?: boolean;
6
+ };
7
+ declare const ImageGrid: ({ imagesData, loading }: ImageGridProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default ImageGrid;
@@ -0,0 +1,14 @@
1
+ import { Shape } from '@conboai/storybook.components';
2
+
3
+ export type ImageItemType = {
4
+ url: string;
5
+ displayName: string;
6
+ name: string;
7
+ feedId: number;
8
+ captureTime: string;
9
+ delay: number;
10
+ onClick?: (value: number | string | null) => void;
11
+ fov?: Shape[];
12
+ };
13
+ declare const ImageItem: ({ url, displayName, name, feedId, captureTime, delay, onClick, fov }: ImageItemType) => import("react/jsx-runtime").JSX.Element;
14
+ export default ImageItem;
@@ -0,0 +1 @@
1
+ export { default as ImageGrid } from './ImageGrid';
@@ -0,0 +1,12 @@
1
+ import { SxProps } from '@mui/material';
2
+
3
+ export declare const imageGridSx: SxProps;
4
+ export declare const imageItemSx: SxProps;
5
+ export declare const imageBoxSx: SxProps;
6
+ export declare const delayBoxSx: (delay: number) => SxProps;
7
+ export declare const cardMediaSx: (delay: number) => SxProps;
8
+ export declare const descriptionContainerSx: SxProps;
9
+ export declare const descriptionBoxSx: SxProps;
10
+ export declare const detailsBoxSx: SxProps;
11
+ export declare const detailsTypographySx: SxProps;
12
+ export declare const loaderSx: SxProps;
@@ -0,0 +1,9 @@
1
+ import { ImageItemType } from '../ImageGrid/ImageItem';
2
+
3
+ interface ImageModalProps {
4
+ open: boolean;
5
+ onClose: () => void;
6
+ imageData: ImageItemType;
7
+ }
8
+ declare const ImageModal: ({ open, onClose, imageData }: ImageModalProps) => import("react/jsx-runtime").JSX.Element;
9
+ export default ImageModal;
@@ -0,0 +1 @@
1
+ export { default as ImageModal } from './ImageModal';
@@ -0,0 +1,13 @@
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 modalDescriptionContainerSx: SxProps;
12
+ export declare const modalDelayBoxSx: (delay: number) => SxProps;
13
+ export declare const modalContainerSx: SxProps;
@@ -0,0 +1,8 @@
1
+
2
+ type MainLayoutProps = {
3
+ deploymentId: string;
4
+ baseUrl?: string;
5
+ onHomeClick?: () => void;
6
+ };
7
+ declare const MainLayout: ({ deploymentId, baseUrl, onHomeClick }: MainLayoutProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default MainLayout;
@@ -0,0 +1 @@
1
+ export { default as MainLayout } from './MainLayout';
@@ -0,0 +1,3 @@
1
+ import { SxProps } from '@mui/material';
2
+
3
+ export declare const boxContentSx: SxProps;
@@ -0,0 +1,14 @@
1
+ import { ChangeEvent } from 'react';
2
+ import { default as icons } from '@conboai/storybook.components/dist/components/Svg/icons';
3
+
4
+ type PanelProps = {
5
+ value: boolean;
6
+ onChange: (event: ChangeEvent<HTMLInputElement>) => void;
7
+ isCheckboxDisabled?: boolean;
8
+ infoText?: string;
9
+ onClick?: () => void;
10
+ btnTitle?: string;
11
+ icon?: keyof typeof icons;
12
+ };
13
+ declare const Panel: ({ value, onChange, isCheckboxDisabled, infoText, onClick, btnTitle, icon }: PanelProps) => import("react/jsx-runtime").JSX.Element;
14
+ export default Panel;
@@ -0,0 +1 @@
1
+ export { default as Panel } from './Panel';
@@ -0,0 +1,7 @@
1
+ import { SxProps } from '@mui/material';
2
+ import { default as icons } from '@conboai/storybook.components/dist/components/Svg/icons';
3
+
4
+ export declare const panelGridSx: SxProps;
5
+ export declare const infoBoxSx: SxProps;
6
+ export declare const infoTypographySx: SxProps;
7
+ export declare const infoButtonSx: (icon?: keyof typeof icons) => SxProps;
@@ -0,0 +1,2 @@
1
+ declare const useDataEffect: (trigger?: boolean) => void;
2
+ export default useDataEffect;
@@ -0,0 +1 @@
1
+ export { default as FeedStreams } from './FeedStreams';
@@ -0,0 +1,22 @@
1
+ import { Snapshot } from '../../store/feedStreamsStore';
2
+ import { FovTypeDto } from '../../store/queryInfoStore';
3
+
4
+ export type FeedType = {
5
+ abbreviation: string;
6
+ assigned_feed_id: number;
7
+ assigned_feed_name: string;
8
+ created_at: string;
9
+ deployment_id: string;
10
+ feed_display_name: string;
11
+ feed_id: string;
12
+ feed_name: string;
13
+ run_id: number;
14
+ updated_at: string;
15
+ };
16
+ export type FeedStreamsData = {
17
+ latestSnapshots: Snapshot[];
18
+ fovInfos: FovTypeDto[];
19
+ baseUrl?: string;
20
+ feeds: FeedType[];
21
+ isFovShown?: boolean;
22
+ };
@@ -0,0 +1,5 @@
1
+ import { FeedStreamsData } from './types';
2
+ import { ImageItemType } from './components/ImageGrid/ImageItem';
3
+
4
+ export declare const generatePanelResult: (amount: number) => string;
5
+ export declare const generateFeedStreamsData: ({ latestSnapshots, fovInfos, baseUrl, feeds, isFovShown }: FeedStreamsData) => ImageItemType[];
@@ -4,4 +4,5 @@ export { ImageAnalysis } from '../apps/ImageAnalysis';
4
4
  export { ConboKeySearch } from '../apps/ConboKeySearch';
5
5
  export { EntitySearch } from '../apps/EntitySearch';
6
6
  export { ConboMatch } from '../apps/conbo-match';
7
+ export { FeedStreams } from '../apps/FeedStreams';
7
8
  export { default as applicationsMeta } from '../helpers/applicationsMeta';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/app.db.query",
3
- "version": "0.8.25",
3
+ "version": "0.8.26",
4
4
  "type": "module",
5
5
  "main": "dist/app.db.query.js",
6
6
  "types": "dist/build/index.d.ts",