@conboai/app.db.query 0.8.34 → 0.8.35

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.
Files changed (29) hide show
  1. package/dist/app.db.query.js +61017 -50839
  2. package/dist/apps/FeedStreams/types.d.ts +1 -1
  3. package/dist/apps/FeedStreams/utils.d.ts +0 -1
  4. package/dist/apps/HeatMap/HeatMap.d.ts +7 -0
  5. package/dist/apps/HeatMap/components/AppContent/AppContent.d.ts +5 -0
  6. package/dist/apps/HeatMap/components/AppContent/index.d.ts +1 -0
  7. package/dist/apps/HeatMap/components/AppContent/styles.d.ts +5 -0
  8. package/dist/apps/HeatMap/components/AppHeader/AppHeader.d.ts +6 -0
  9. package/dist/apps/HeatMap/components/AppHeader/index.d.ts +1 -0
  10. package/dist/apps/HeatMap/components/AppLeftBar/AppLeftBar.d.ts +2 -0
  11. package/dist/apps/HeatMap/components/AppLeftBar/index.d.ts +1 -0
  12. package/dist/apps/HeatMap/components/AppLeftBar/styles.d.ts +4 -0
  13. package/dist/apps/HeatMap/components/FeedSnapshot/FeedSnapshot.d.ts +8 -0
  14. package/dist/apps/HeatMap/components/FeedSnapshot/index.d.ts +1 -0
  15. package/dist/apps/HeatMap/components/FeedSnapshot/styles.d.ts +4 -0
  16. package/dist/apps/HeatMap/components/GeoContainer/GeoContainer.d.ts +7 -0
  17. package/dist/apps/HeatMap/components/GeoContainer/index.d.ts +1 -0
  18. package/dist/apps/HeatMap/components/GeoContainer/styles.d.ts +3 -0
  19. package/dist/apps/HeatMap/constants.d.ts +11 -0
  20. package/dist/apps/HeatMap/hooks/useClearEffect.d.ts +2 -0
  21. package/dist/apps/HeatMap/index.d.ts +1 -0
  22. package/dist/apps/HeatMap/utils.d.ts +46 -0
  23. package/dist/build/index.d.ts +1 -0
  24. package/dist/images/Conbo Match.png +0 -0
  25. package/dist/images/Feed Streams.png +0 -0
  26. package/package.json +2 -2
  27. package/dist/apps/FeedStreams/components/Panel/Panel.d.ts +0 -14
  28. package/dist/apps/FeedStreams/components/Panel/index.d.ts +0 -1
  29. package/dist/apps/FeedStreams/components/Panel/styles.d.ts +0 -7
@@ -1,4 +1,4 @@
1
- import { Snapshot } from '../../store/feedStreamsStore';
1
+ import { Snapshot } from '../../store/snapshotsStore';
2
2
  import { FovTypeDto } from '../../store/queryInfoStore';
3
3
 
4
4
  export type FeedType = {
@@ -1,6 +1,5 @@
1
1
  import { FeedStreamsData } from './types';
2
2
 
3
- export declare const generatePanelResult: (amount: number) => string;
4
3
  export declare const generateFeedStreamsData: ({ latestSnapshots, fovInfos, baseUrl, feeds }: FeedStreamsData) => {
5
4
  url: string;
6
5
  displayName: string | undefined;
@@ -0,0 +1,7 @@
1
+ type HeatMapProps = {
2
+ siteId: string;
3
+ baseUrl?: string;
4
+ onHomeClick?: () => void;
5
+ };
6
+ declare const HeatMap: ({ siteId, onHomeClick, baseUrl }: HeatMapProps) => import("react/jsx-runtime").JSX.Element;
7
+ export default HeatMap;
@@ -0,0 +1,5 @@
1
+ type AppContentProps = {
2
+ baseUrl?: string;
3
+ };
4
+ declare const AppContent: ({ baseUrl }: AppContentProps) => import("react/jsx-runtime").JSX.Element;
5
+ export default AppContent;
@@ -0,0 +1 @@
1
+ export { default as AppContent } from './AppContent.tsx';
@@ -0,0 +1,5 @@
1
+ import { SxProps } from '@mui/material';
2
+
3
+ export declare const mainBoxSx: SxProps;
4
+ export declare const panelSx: SxProps;
5
+ export declare const contentBox: SxProps;
@@ -0,0 +1,6 @@
1
+ type AppHeaderProps = {
2
+ title?: string;
3
+ onHomeClick?: () => void;
4
+ };
5
+ declare const AppHeader: ({ title, onHomeClick }: AppHeaderProps) => import("react/jsx-runtime").JSX.Element;
6
+ export default AppHeader;
@@ -0,0 +1 @@
1
+ export { default as AppHeader } from './AppHeader';
@@ -0,0 +1,2 @@
1
+ declare const AppLeftBar: () => import("react/jsx-runtime").JSX.Element;
2
+ export default AppLeftBar;
@@ -0,0 +1 @@
1
+ export { default as AppLeftBar } from './AppLeftBar.tsx';
@@ -0,0 +1,4 @@
1
+ import { SxProps } from '@mui/material';
2
+
3
+ export declare const buttonContainerSx: SxProps;
4
+ export declare const durationGridSx: SxProps;
@@ -0,0 +1,8 @@
1
+ import { Shape } from '@conboai/storybook.components';
2
+
3
+ type FeedSnapshotsProps = {
4
+ shapes?: Shape[];
5
+ imgUrl?: string;
6
+ };
7
+ declare const FeedSnapshot: ({ shapes, imgUrl }: FeedSnapshotsProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default FeedSnapshot;
@@ -0,0 +1 @@
1
+ export { default as FeedSnapshot } from './FeedSnapshot';
@@ -0,0 +1,4 @@
1
+ import { SxProps } from '@mui/material';
2
+
3
+ export declare const mainBoxSx: SxProps;
4
+ export declare const imageCardSx: SxProps;
@@ -0,0 +1,7 @@
1
+ import { GeoType } from '@conboai/storybook.components';
2
+
3
+ type GeoContainerProps = {
4
+ data: GeoType[];
5
+ };
6
+ declare const GeoContainer: ({ data }: GeoContainerProps) => import("react/jsx-runtime").JSX.Element;
7
+ export default GeoContainer;
@@ -0,0 +1 @@
1
+ export { default as GeoContainer } from './GeoContainer';
@@ -0,0 +1,3 @@
1
+ import { SxProps } from '@mui/material';
2
+
3
+ export declare const geoContainerSx: SxProps;
@@ -0,0 +1,11 @@
1
+ export declare const numberOptions: {
2
+ label: string;
3
+ }[];
4
+ export declare const ERROR_MESSAGES: {
5
+ LIMIT: string;
6
+ FEED_NAME: string;
7
+ };
8
+ export declare const ERROR_CASES: {
9
+ LIMIT: string;
10
+ FEED_NAME: string;
11
+ };
@@ -0,0 +1,2 @@
1
+ declare const useClearEffect: () => void;
2
+ export default useClearEffect;
@@ -0,0 +1 @@
1
+ export { default as HeatMap } from './HeatMap';
@@ -0,0 +1,46 @@
1
+ import { TrailsItemDto as TrailsItemDtoPixel } from '../../api/detectionPixel';
2
+ import { TrailsItemDto as TrailsItemDtoGeo } from '../../api/detectionGeo';
3
+ import { EntityTypes, ShapeType } from '@conboai/storybook.components';
4
+
5
+ interface Data {
6
+ conbo_key: string;
7
+ start_time: string;
8
+ end_time: string;
9
+ assigned_feed: number;
10
+ kit_id: number;
11
+ }
12
+ export declare const getMinAndMaxTimes: (data?: Data[]) => {
13
+ minStartTime: string;
14
+ maxEndTime: string;
15
+ } | null;
16
+ export declare const generateValidationErrorMessage: (cases: string[]) => string;
17
+ export declare const generatePixelTrailsPoints: (data: TrailsItemDtoPixel[]) => {
18
+ id: string;
19
+ points: any;
20
+ type: ShapeType;
21
+ }[];
22
+ export declare const generateGeoTrailCoordinates: (data: TrailsItemDtoGeo[], styles?: any) => {
23
+ id: string;
24
+ coordinates: any;
25
+ type: EntityTypes;
26
+ styles: any;
27
+ }[];
28
+ export declare const generatePixelPolygonPoints: (data: Array<Array<Array<number>>>, styles?: any) => {
29
+ id: string;
30
+ type: ShapeType;
31
+ points: {
32
+ x: number;
33
+ y: number;
34
+ }[];
35
+ styles: any;
36
+ };
37
+ export declare const generateGeoPolygonCoordinates: (data?: Array<Array<Array<number>>>, styles?: any) => {
38
+ id: string;
39
+ type: EntityTypes;
40
+ coordinates: {
41
+ lat: number;
42
+ lng: number;
43
+ }[] | undefined;
44
+ styles: any;
45
+ };
46
+ export {};
@@ -5,4 +5,5 @@ export { ConboKeySearch } from '../apps/ConboKeySearch';
5
5
  export { EntitySearch } from '../apps/EntitySearch';
6
6
  export { ConboMatch } from '../apps/conbo-match';
7
7
  export { FeedStreams } from '../apps/FeedStreams';
8
+ export { HeatMap } from '../apps/HeatMap';
8
9
  export { default as applicationsMeta } from '../helpers/applicationsMeta';
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/app.db.query",
3
- "version": "0.8.34",
3
+ "version": "0.8.35",
4
4
  "type": "module",
5
5
  "main": "dist/app.db.query.js",
6
6
  "types": "dist/build/index.d.ts",
@@ -38,7 +38,7 @@
38
38
  "format": "prettier --write \"src/**/*.{ts,tsx,json}\" --color"
39
39
  },
40
40
  "dependencies": {
41
- "@conboai/storybook.components": "0.5.35",
41
+ "@conboai/storybook.components": "^0.5.39",
42
42
  "@emotion/react": "^11.11.4",
43
43
  "@emotion/styled": "^11.11.5",
44
44
  "@hookform/resolvers": "^3.9.1",
@@ -1,14 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default as Panel } from './Panel';
@@ -1,7 +0,0 @@
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;