@conboai/app.db.query 0.4.92 → 0.4.99

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,4 +1,4 @@
1
1
  import { IApp } from '../../interfaces/App';
2
2
 
3
- declare function Cargo({ siteId, UserProfile, onHomeClick, baseUrl, newSiteId }: IApp): import("react/jsx-runtime").JSX.Element;
3
+ declare function Cargo({ siteId, UserProfile, onHomeClick, baseUrl }: IApp): import("react/jsx-runtime").JSX.Element;
4
4
  export default Cargo;
@@ -1,4 +1,4 @@
1
1
  import { IApp } from '../../interfaces/App';
2
2
 
3
- declare function Classifiers({ siteId, UserProfile, onHomeClick, baseUrl, newSiteId }: IApp): import("react/jsx-runtime").JSX.Element;
3
+ declare function Classifiers({ siteId, UserProfile, onHomeClick, baseUrl }: IApp): import("react/jsx-runtime").JSX.Element;
4
4
  export default Classifiers;
@@ -1,4 +1,4 @@
1
1
  import { IApp } from '../../interfaces/App';
2
2
 
3
- declare function ConboKeySearch({ siteId, UserProfile, onHomeClick, baseUrl, newSiteId }: IApp): import("react/jsx-runtime").JSX.Element;
3
+ declare function ConboKeySearch({ siteId, UserProfile, onHomeClick, baseUrl }: IApp): import("react/jsx-runtime").JSX.Element;
4
4
  export default ConboKeySearch;
@@ -7,7 +7,7 @@ interface ColumnDefsProps {
7
7
  getTotalItems?: () => number;
8
8
  getElementInSet?: (id: any) => any;
9
9
  }
10
- export declare const useColumnDefs: ({ handleCheckBoxChange, handleSelectAllClick, getLabel, getSelectedData, getTotalItems, getElementInSet }: ColumnDefsProps) => {
10
+ export declare const useColumnDefs: ({ handleCheckBoxChange, handleSelectAllClick, getSelectedData, getTotalItems, getElementInSet }: ColumnDefsProps) => {
11
11
  columns: ({
12
12
  field: string;
13
13
  headerName: string;
@@ -36,7 +36,7 @@ export declare const useColumnDefs: ({ handleCheckBoxChange, handleSelectAllClic
36
36
  field: string;
37
37
  headerName: string;
38
38
  flex: number;
39
- valueGetter: (params: any) => string | undefined;
39
+ valueGetter: (params: any, value: any) => any;
40
40
  disableColumnMenu?: undefined;
41
41
  filterable?: undefined;
42
42
  maxWidth?: undefined;
@@ -1,4 +1,4 @@
1
1
  import { IApp } from '../../interfaces/App';
2
2
 
3
- declare function EntitySearch({ siteId, UserProfile, onHomeClick, baseUrl, isAdmin, newSiteId }: IApp): import("react/jsx-runtime").JSX.Element;
3
+ declare function EntitySearch({ siteId, UserProfile, onHomeClick, baseUrl, isAdmin }: IApp): import("react/jsx-runtime").JSX.Element;
4
4
  export default EntitySearch;
@@ -3,7 +3,6 @@ import { CoordinatePoint } from '@conboai/storybook.components';
3
3
  interface ColumnDefsProps {
4
4
  handleCheckBoxChange?: (event: any, params: any) => void;
5
5
  handleSelectAllClick?: (event: any) => void;
6
- getLabel?: (value: number) => string;
7
6
  getSelectedData?: () => Set<any>;
8
7
  getTotalItems?: () => number;
9
8
  getElementInSet?: (id: any) => any;
@@ -11,7 +10,7 @@ interface ColumnDefsProps {
11
10
  selectedTableItemId?: number;
12
11
  disabled?: boolean;
13
12
  }
14
- export declare const useColumnDefs: ({ handleCheckBoxChange, handleSelectAllClick, getLabel, getSelectedData, getTotalItems, getElementInSet, setCenterCoordinates, disabled }: ColumnDefsProps) => {
13
+ export declare const useColumnDefs: ({ handleCheckBoxChange, handleSelectAllClick, getSelectedData, getTotalItems, getElementInSet, setCenterCoordinates, disabled }: ColumnDefsProps) => {
15
14
  columns: ({
16
15
  field: string;
17
16
  headerName: string;
@@ -44,7 +43,7 @@ export declare const useColumnDefs: ({ handleCheckBoxChange, handleSelectAllClic
44
43
  flex: number;
45
44
  sortable: boolean;
46
45
  disableColumnMenu: boolean;
47
- valueGetter: (params: any) => string | undefined;
46
+ valueGetter: (params: any, value: any) => any;
48
47
  filterable?: undefined;
49
48
  maxWidth?: undefined;
50
49
  renderHeader?: undefined;
@@ -1,4 +1,4 @@
1
1
  import { IApp } from '../../interfaces/App';
2
2
 
3
- declare function ImageAnalysis({ siteId, UserProfile, onHomeClick, baseUrl, isAdmin, newSiteId }: IApp): import("react/jsx-runtime").JSX.Element;
3
+ declare function ImageAnalysis({ siteId, UserProfile, onHomeClick, baseUrl, isAdmin }: IApp): import("react/jsx-runtime").JSX.Element;
4
4
  export default ImageAnalysis;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/app.db.query",
3
- "version": "0.4.92",
3
+ "version": "0.4.99",
4
4
  "type": "module",
5
5
  "main": "dist/app.db.query.js",
6
6
  "types": "dist/build/index.d.ts",
@@ -42,7 +42,7 @@
42
42
  "@mui/x-data-grid-pro": "^7.9.0",
43
43
  "@react-google-maps/api": "^2.19.3",
44
44
  "ajv": "^8.17.1",
45
- "dayjs": "^1.11.11",
45
+ "dayjs": "^1.11.13",
46
46
  "lodash": "^4.17.21",
47
47
  "react": "^18.2.0",
48
48
  "react-dom": "^18.2.0",