@conboai/app.db.query 0.4.82 → 0.4.85
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.
- package/dist/app.db.query.js +31606 -31614
- package/dist/apps/EntitySearch/EntitySearch.d.ts +1 -1
- package/dist/apps/EntitySearch/components/AppContent/styles.d.ts +1 -0
- package/dist/apps/EntitySearch/components/AppContent/useColumnDefs.d.ts +95 -0
- package/dist/apps/EntitySearch/components/AppContent/utils.d.ts +1 -2
- package/dist/apps/EntitySearch/components/AppContentWrapper.d.ts +2 -0
- package/dist/apps/EntitySearch/components/AppLeftBar/AppLeftBar.d.ts +3 -1
- package/dist/apps/EntitySearch/components/AppRightBar/columnsDefs.d.ts +5 -0
- package/dist/apps/EntitySearch/components/AppRightBar/index.d.ts +1 -1
- package/dist/apps/EntitySearch/components/AppRightBar/utils.d.ts +0 -1
- package/package.json +2 -2
- package/dist/apps/EntitySearch/components/AppContent/columnDefs.d.ts +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { IApp } from '../../interfaces/App';
|
|
2
2
|
|
|
3
|
-
declare function EntitySearch({ siteId, UserProfile, onHomeClick, baseUrl }: 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;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { CoordinatePoint } from '@conboai/storybook.components';
|
|
2
|
+
|
|
3
|
+
interface ColumnDefsProps {
|
|
4
|
+
handleCheckBoxChange?: (event: any, params: any) => void;
|
|
5
|
+
handleSelectAllClick?: (event: any) => void;
|
|
6
|
+
getLabel?: (value: number) => string;
|
|
7
|
+
getSelectedData?: () => Set<any>;
|
|
8
|
+
getTotalItems?: () => number;
|
|
9
|
+
getElementInSet?: (id: any) => any;
|
|
10
|
+
setCenterCoordinates?: (value: CoordinatePoint) => void;
|
|
11
|
+
selectedTableItemId?: number;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const useColumnDefs: ({ handleCheckBoxChange, handleSelectAllClick, getLabel, getSelectedData, getTotalItems, getElementInSet, setCenterCoordinates, disabled }: ColumnDefsProps) => {
|
|
15
|
+
columns: ({
|
|
16
|
+
field: string;
|
|
17
|
+
headerName: string;
|
|
18
|
+
disableColumnMenu: boolean;
|
|
19
|
+
filterable: boolean;
|
|
20
|
+
maxWidth: number;
|
|
21
|
+
sortable: boolean;
|
|
22
|
+
renderHeader: () => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
renderCell: (params: any) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
flex?: undefined;
|
|
25
|
+
valueGetter?: undefined;
|
|
26
|
+
width?: undefined;
|
|
27
|
+
minWidth?: undefined;
|
|
28
|
+
} | {
|
|
29
|
+
field: string;
|
|
30
|
+
headerName: string;
|
|
31
|
+
flex: number;
|
|
32
|
+
disableColumnMenu: boolean;
|
|
33
|
+
sortable: boolean;
|
|
34
|
+
filterable?: undefined;
|
|
35
|
+
maxWidth?: undefined;
|
|
36
|
+
renderHeader?: undefined;
|
|
37
|
+
renderCell?: undefined;
|
|
38
|
+
valueGetter?: undefined;
|
|
39
|
+
width?: undefined;
|
|
40
|
+
minWidth?: undefined;
|
|
41
|
+
} | {
|
|
42
|
+
field: string;
|
|
43
|
+
headerName: string;
|
|
44
|
+
flex: number;
|
|
45
|
+
sortable: boolean;
|
|
46
|
+
disableColumnMenu: boolean;
|
|
47
|
+
valueGetter: (params: any) => string | undefined;
|
|
48
|
+
filterable?: undefined;
|
|
49
|
+
maxWidth?: undefined;
|
|
50
|
+
renderHeader?: undefined;
|
|
51
|
+
renderCell?: undefined;
|
|
52
|
+
width?: undefined;
|
|
53
|
+
minWidth?: undefined;
|
|
54
|
+
} | {
|
|
55
|
+
field: string;
|
|
56
|
+
headerName: string;
|
|
57
|
+
width: number;
|
|
58
|
+
renderCell: (params: any) => import("react/jsx-runtime").JSX.Element;
|
|
59
|
+
sortable: boolean;
|
|
60
|
+
disableColumnMenu: boolean;
|
|
61
|
+
filterable?: undefined;
|
|
62
|
+
maxWidth?: undefined;
|
|
63
|
+
renderHeader?: undefined;
|
|
64
|
+
flex?: undefined;
|
|
65
|
+
valueGetter?: undefined;
|
|
66
|
+
minWidth?: undefined;
|
|
67
|
+
} | {
|
|
68
|
+
field: string;
|
|
69
|
+
headerName: string;
|
|
70
|
+
sortable: boolean;
|
|
71
|
+
filterable: boolean;
|
|
72
|
+
disableColumnMenu: boolean;
|
|
73
|
+
minWidth: number;
|
|
74
|
+
maxWidth: number;
|
|
75
|
+
renderCell: (params: any) => import("react/jsx-runtime").JSX.Element;
|
|
76
|
+
renderHeader?: undefined;
|
|
77
|
+
flex?: undefined;
|
|
78
|
+
valueGetter?: undefined;
|
|
79
|
+
width?: undefined;
|
|
80
|
+
} | {
|
|
81
|
+
headerName: string;
|
|
82
|
+
field: string;
|
|
83
|
+
sortable: boolean;
|
|
84
|
+
disableColumnMenu: boolean;
|
|
85
|
+
maxWidth: number;
|
|
86
|
+
renderCell: (params: any) => import("react/jsx-runtime").JSX.Element;
|
|
87
|
+
filterable?: undefined;
|
|
88
|
+
renderHeader?: undefined;
|
|
89
|
+
flex?: undefined;
|
|
90
|
+
valueGetter?: undefined;
|
|
91
|
+
width?: undefined;
|
|
92
|
+
minWidth?: undefined;
|
|
93
|
+
})[];
|
|
94
|
+
};
|
|
95
|
+
export {};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
interface IGetContentProps {
|
|
2
2
|
gridProps: any;
|
|
3
|
-
timelineProps: any;
|
|
4
3
|
}
|
|
5
|
-
export declare const getContent: ({ gridProps
|
|
4
|
+
export declare const getContent: ({ gridProps }: IGetContentProps) => {
|
|
6
5
|
value: string;
|
|
7
6
|
content: import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
}[];
|
|
@@ -9,6 +9,11 @@ export declare const verticalTableColumnDefs: () => {
|
|
|
9
9
|
field: string;
|
|
10
10
|
renderCell: (value: number) => string;
|
|
11
11
|
})[];
|
|
12
|
+
frameInfoColumnDefs: {
|
|
13
|
+
headerName: string;
|
|
14
|
+
field: string;
|
|
15
|
+
renderCell: (value: number) => string;
|
|
16
|
+
}[];
|
|
12
17
|
summaryColumnDefs: ({
|
|
13
18
|
headerName: string;
|
|
14
19
|
field: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as AppRightBar } from './AppRightBar
|
|
1
|
+
export { default as AppRightBar } from './AppRightBar';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@conboai/app.db.query",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.85",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/app.db.query.js",
|
|
6
6
|
"types": "dist/build/index.d.ts",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"generate-query-info": "openapi --input https://dev.test.portsight.ai/api/info/docs-yaml --output ./src/api/queryInfo"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@conboai/storybook.components": "^0.4.
|
|
37
|
+
"@conboai/storybook.components": "^0.4.82",
|
|
38
38
|
"@emotion/react": "^11.11.4",
|
|
39
39
|
"@emotion/styled": "^11.11.5",
|
|
40
40
|
"@mui/icons-material": "^5.16.6",
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { CoordinatePoint } from '@conboai/storybook.components';
|
|
2
|
-
import { GridColDef } from '@mui/x-data-grid';
|
|
3
|
-
|
|
4
|
-
export declare const columnDefs: (timezone: string, handleCheckBoxChange?: any, pointInfo?: any, handleSelectAllClick?: any, isAllSelected?: boolean, getLabel?: (value: number) => void, setCenterCoordinates?: (value: CoordinatePoint) => void, selectedTableItemId?: number) => GridColDef[];
|