@conboai/app.db.query 0.3.99 → 0.4.2

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,4 @@
1
+ import { IApp } from '../../interfaces/App';
2
+
3
+ declare function ConboKeySearch({ siteId, UserProfile, onHomeClick, baseUrl }: IApp): import("react/jsx-runtime").JSX.Element;
4
+ export default ConboKeySearch;
@@ -0,0 +1,5 @@
1
+ interface IAppContent {
2
+ baseUrl?: string;
3
+ }
4
+ declare function AppContent({ baseUrl }: IAppContent): import("react/jsx-runtime").JSX.Element;
5
+ export default AppContent;
@@ -0,0 +1,3 @@
1
+ import { GridColDef } from '@mui/x-data-grid';
2
+
3
+ export declare const columnDefs: (timezone: string, handleCheckBoxChange?: any, shapeInfo?: any, handleSelectAllClick?: any, isAllSelected?: boolean) => GridColDef[];
@@ -0,0 +1 @@
1
+ export { default as AppContent } from './AppContent.tsx';
@@ -0,0 +1,3 @@
1
+ import { SxProps } from '@mui/material';
2
+
3
+ export declare const checkBoxSx: SxProps;
@@ -0,0 +1,14 @@
1
+ interface IGetContentProps {
2
+ gridProps: any;
3
+ timelineProps: any;
4
+ }
5
+ export declare const getContent: ({ gridProps, timelineProps }: IGetContentProps) => {
6
+ value: string;
7
+ content: import("react/jsx-runtime").JSX.Element;
8
+ }[];
9
+ export declare const getContentTabs: () => {
10
+ label: string;
11
+ value: string;
12
+ disabled: boolean;
13
+ }[];
14
+ export {};
@@ -0,0 +1,6 @@
1
+ interface IAppLeftBar {
2
+ setPanelShown: (value: boolean) => void;
3
+ isPanelShown: boolean;
4
+ }
5
+ declare function AppLeftBar({ setPanelShown, isPanelShown }: IAppLeftBar): import("react/jsx-runtime").JSX.Element;
6
+ export default AppLeftBar;
@@ -0,0 +1 @@
1
+ export { default as AppLeftBar } from './AppLeftBar.tsx';
@@ -0,0 +1,5 @@
1
+ import { SxProps } from '@mui/material';
2
+
3
+ export declare const buttonContainerSx: SxProps;
4
+ export declare const buttonBurgerIconSx: SxProps;
5
+ export declare const durationGridSx: SxProps;
@@ -0,0 +1,5 @@
1
+ declare function AppRightBar({ baseUrl, getTabValueLabelsAndSubLabels }: {
2
+ baseUrl: string | undefined;
3
+ getTabValueLabelsAndSubLabels: any;
4
+ }): import("react/jsx-runtime").JSX.Element;
5
+ export default AppRightBar;
@@ -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,12 @@
1
+ export declare const emptyDataView: {
2
+ cargo: string;
3
+ conbo_key: string;
4
+ end: string;
5
+ event_id: string;
6
+ feed: string;
7
+ move: string;
8
+ start: string;
9
+ straddle_id: string;
10
+ zones: string;
11
+ id: string;
12
+ };
@@ -0,0 +1 @@
1
+ export { default as AppRightBar } from './AppRightBar';
@@ -0,0 +1,3 @@
1
+ import { SxProps } from '@mui/material';
2
+
3
+ export declare const typographySx: SxProps;
@@ -0,0 +1,57 @@
1
+ interface IImageContent {
2
+ feedImages: string[];
3
+ objectImages: string[];
4
+ setIsFirstPage: (value: boolean) => void;
5
+ isFirstPage: boolean;
6
+ isLoading: boolean;
7
+ }
8
+ interface ITrailContent {
9
+ polylineProps: [number, number][];
10
+ trailProps: {
11
+ coordinates: [number, number][];
12
+ url: string;
13
+ };
14
+ isLoading: boolean;
15
+ }
16
+ interface IDetailsContent {
17
+ getTabValueLabelsAndSubLabels: any;
18
+ selectedTableItemId: number;
19
+ topOne?: any[];
20
+ classifiersFrameInfo?: any;
21
+ classifierSummary: any;
22
+ isLoading?: boolean;
23
+ delay?: number;
24
+ }
25
+ export declare enum TrailPathType {
26
+ Geo = 0,
27
+ Feed = 1
28
+ }
29
+ export declare const getImageContent: ({ feedImages, objectImages, isFirstPage, setIsFirstPage, isLoading }: IImageContent) => {
30
+ value: string;
31
+ content: import("react/jsx-runtime").JSX.Element;
32
+ }[];
33
+ export declare const getImageTabs: (feed: string[], object: string[]) => {
34
+ label: string;
35
+ value: string;
36
+ disabled: boolean;
37
+ }[];
38
+ export declare const generateImages: (images: any[], baseUrl?: string) => string[];
39
+ export declare const getTrailContent: ({ polylineProps, trailProps, isLoading }: ITrailContent) => {
40
+ value: string;
41
+ content: import("react/jsx-runtime").JSX.Element;
42
+ }[];
43
+ export declare const getTrailTabs: (polyline: any, trail: any) => {
44
+ label: string;
45
+ value: string;
46
+ disabled: boolean;
47
+ }[];
48
+ export declare const getDetailsContent: ({ topOne, getTabValueLabelsAndSubLabels, selectedTableItemId, isLoading, classifiersFrameInfo, classifierSummary }: IDetailsContent) => {
49
+ value: string;
50
+ content: import("react/jsx-runtime").JSX.Element;
51
+ }[];
52
+ export declare const getDetailsTabs: () => {
53
+ label: string;
54
+ value: string;
55
+ disabled: boolean;
56
+ }[];
57
+ export {};
@@ -0,0 +1 @@
1
+ export { default as ConboKeySearch } from './ConboKeySearch.tsx';
@@ -1,4 +1,5 @@
1
1
  export { Classifiers } from '../apps/Classifiers';
2
2
  export { Cargo } from '../apps/Cargo';
3
3
  export { ImageAnalysis } from '../apps/ImageAnalysis';
4
+ export { ConboKeySearch } from '../apps/ConboKeySearch';
4
5
  export { default as applicationsMeta } from '../lib/applicationsMeta';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/app.db.query",
3
- "version": "0.3.99",
3
+ "version": "0.4.2",
4
4
  "type": "module",
5
5
  "main": "dist/app.db.query.js",
6
6
  "types": "dist/build/index.d.ts",
@@ -32,7 +32,7 @@
32
32
  "generate-poc": "openapi --input https://dev.gateway.dev.portsight.ai/api/poc/api-yaml --output ./src/api/poc"
33
33
  },
34
34
  "dependencies": {
35
- "@conboai/storybook.components": "^0.4.13",
35
+ "@conboai/storybook.components": "^0.4.16",
36
36
  "@emotion/react": "^11.11.4",
37
37
  "@emotion/styled": "^11.11.5",
38
38
  "@mui/icons-material": "^5.16.6",