@conboai/app.db.query 0.9.60 → 0.9.62

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.
@@ -1,5 +1,7 @@
1
- declare const AppContentWrapper: ({ baseUrl, siteId }: {
1
+ declare const AppContentWrapper: ({ baseUrl, siteId, onBack, onForward }: {
2
2
  baseUrl?: string;
3
3
  siteId?: string;
4
+ onBack?: () => void;
5
+ onForward?: () => void;
4
6
  }) => import("react/jsx-runtime").JSX.Element;
5
7
  export default AppContentWrapper;
@@ -1,4 +1,6 @@
1
- declare function AppLeftBar({ baseUrl }: {
2
- baseUrl?: string;
1
+ declare function AppLeftBar({ handleSearchClick, localConboKey, setLocalConboKey }: {
2
+ handleSearchClick: () => void;
3
+ localConboKey: string;
4
+ setLocalConboKey: (localConboKey: string) => void;
3
5
  }): import("react/jsx-runtime").JSX.Element;
4
6
  export default AppLeftBar;
@@ -3,9 +3,11 @@ import { FrameDetailUI } from '../../../../store/types/interfaces';
3
3
  interface IAppContent {
4
4
  baseUrl?: string;
5
5
  isImageAnalysis?: boolean;
6
+ onBack?: () => void;
7
+ onForward?: () => void;
6
8
  }
7
9
  export type FrameDetailUICmp = FrameDetailUI & {
8
10
  selected: boolean;
9
11
  };
10
- declare const AppContent: ({ baseUrl, isImageAnalysis }: IAppContent) => import("react/jsx-runtime").JSX.Element;
12
+ declare const AppContent: ({ baseUrl, isImageAnalysis, onBack, onForward }: IAppContent) => import("react/jsx-runtime").JSX.Element;
11
13
  export default AppContent;
@@ -1,5 +1,7 @@
1
- declare const AppContentWrapper: ({ baseUrl, siteId }: {
1
+ declare const AppContentWrapper: ({ baseUrl, siteId, onBack, onForward }: {
2
2
  baseUrl?: string;
3
3
  siteId?: string;
4
+ onBack?: () => void;
5
+ onForward?: () => void;
4
6
  }) => import("react/jsx-runtime").JSX.Element;
5
7
  export default AppContentWrapper;
@@ -1,5 +1,17 @@
1
- declare function AppLeftBar({ isAdmin, baseUrl }: {
2
- isAdmin?: boolean;
3
- baseUrl?: string;
4
- }): import("react/jsx-runtime").JSX.Element;
1
+ interface IAppLeftBarIA {
2
+ localStartTime: Date;
3
+ localEndTime: Date;
4
+ isAdmin: boolean;
5
+ search: (currentKitId: number, frameDetailsConboKeys: string[], startTime: Date) => void;
6
+ checked: boolean;
7
+ setLocalStartTime: (date: Date) => void;
8
+ setLocalEndTime: (date: Date) => void;
9
+ setChecked: (val: boolean) => void;
10
+ timezone: string;
11
+ frameDetailsConboKeys: string[];
12
+ setFrameDetailsConboKeys: (keys: string[]) => void;
13
+ tabIndex: string;
14
+ setTabIndex: (val: string) => void;
15
+ }
16
+ declare function AppLeftBar({ tabIndex, setTabIndex, frameDetailsConboKeys, setFrameDetailsConboKeys, isAdmin, timezone, localStartTime, localEndTime, search, checked, setLocalStartTime, setLocalEndTime, setChecked }: IAppLeftBarIA): import("react/jsx-runtime").JSX.Element;
5
17
  export default AppLeftBar;
@@ -8,6 +8,8 @@ declare const useActions: (isImageAnalysis?: boolean, baseUrl?: string, shapesCo
8
8
  isRowIdSelected: boolean;
9
9
  setIsRowIdSelected: import('react').Dispatch<import('react').SetStateAction<boolean>>;
10
10
  handleCheckboxChangeFilter: (index: number) => (event: ChangeEvent<HTMLInputElement>) => void;
11
+ handleZonesChange: (selectedZones: string[]) => void;
12
+ handleCrossLinesChange: (selectedCrossLines: string[]) => void;
11
13
  handleCellClick: (row: any) => void;
12
14
  handleShapeSelect: (valueShape: Shape | null) => void;
13
15
  selectedShape: GeneratedShape | null;
@@ -1,12 +1,11 @@
1
1
  type SearchProps = {
2
2
  baseUrl?: string;
3
3
  checked?: boolean;
4
- localStartTime: Date;
5
4
  localEndTime: Date;
6
5
  timezone: string;
7
6
  };
8
7
  type SearchReturnValue = {
9
- search: (currentKitId: number, frameDetailsConboKeys: string[]) => void;
8
+ search: (currentKitId: number, frameDetailsConboKeys: string[], localStartTime: Date) => void;
10
9
  };
11
- declare const useSearch: ({ baseUrl, checked, localStartTime, localEndTime, timezone }: SearchProps) => SearchReturnValue;
10
+ declare const useSearch: ({ baseUrl, checked, localEndTime, timezone }: SearchProps) => SearchReturnValue;
12
11
  export default useSearch;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/app.db.query",
3
- "version": "0.9.60",
3
+ "version": "0.9.62",
4
4
  "type": "module",
5
5
  "main": "dist/app.db.query.js",
6
6
  "types": "dist/build/index.d.ts",
@@ -97,8 +97,8 @@
97
97
  "vite-plugin-svgr": "^4.3.0"
98
98
  },
99
99
  "engines": {
100
- "npm": "please-use-yarn",
100
+ "npm": ">9.0.0",
101
101
  "yarn": ">= 1.22.0",
102
- "node": "22.9.0"
102
+ "node": ">20.0.0"
103
103
  }
104
104
  }