@conboai/app.db.query 0.8.63 → 0.8.65

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.
@@ -46,7 +46,7 @@ export declare const useColumnDefs: ({ allSelected, partiallySelected, onToggleS
46
46
  field: string;
47
47
  headerName: string;
48
48
  flex: number;
49
- valueGetter: (params: any) => string;
49
+ valueGetter: (params: any, value: any) => string;
50
50
  disableColumnMenu?: undefined;
51
51
  filterable?: undefined;
52
52
  maxWidth?: undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/app.db.query",
3
- "version": "0.8.63",
3
+ "version": "0.8.65",
4
4
  "type": "module",
5
5
  "main": "dist/app.db.query.js",
6
6
  "types": "dist/build/index.d.ts",
@@ -1,10 +0,0 @@
1
- import { FrameDetailUI } from '../../../../store/types/interfaces.ts';
2
-
3
- interface IAppContent {
4
- baseUrl?: string;
5
- }
6
- export type FrameDetailUICmp = FrameDetailUI & {
7
- selected: boolean;
8
- };
9
- declare function AppContent({ baseUrl }: IAppContent): import("react/jsx-runtime").JSX.Element;
10
- export default AppContent;
@@ -1 +0,0 @@
1
- export { default as AppContent } from './AppContent.tsx';
@@ -1,4 +0,0 @@
1
- import { SxProps } from '@mui/material';
2
-
3
- export declare const checkBoxSx: SxProps;
4
- export declare const formControlLabelSx: SxProps;
@@ -1,16 +0,0 @@
1
- import { CheckboxProps } from '@mui/material/Checkbox';
2
- import { ChangeEvent } from 'react';
3
- import { FrameDetailUICmp } from './AppContent';
4
- import { GridColDef, GridRenderCellParams } from '@mui/x-data-grid-pro';
5
-
6
- interface ColumnDefsProps {
7
- handleCheckBoxChange?: (event: ChangeEvent<HTMLInputElement>, params: GridRenderCellParams) => void;
8
- handleSelectAllClick?: CheckboxProps["onChange"];
9
- getSelectedData?: () => Set<any>;
10
- getTotalItems?: () => number;
11
- getElementInSet?: (id: number) => FrameDetailUICmp | null;
12
- }
13
- export declare const useColumnDefs: ({ handleCheckBoxChange, handleSelectAllClick, getSelectedData, getTotalItems, getElementInSet }: ColumnDefsProps) => {
14
- columns: GridColDef[];
15
- };
16
- export {};
@@ -1,23 +0,0 @@
1
- import { CustomDataGridProps } from '@conboai/storybook.components/dist/components/CustomDataGrid/CustomDataGrid';
2
- import { FrameDetailUICmp } from './AppContent';
3
-
4
- export type InputProps = {
5
- gridProps: {
6
- columns: CustomDataGridProps["columns"];
7
- rows: FrameDetailUICmp[];
8
- loading: string;
9
- handleCellClick: CustomDataGridProps["onCellClick"];
10
- selectedRowId: number;
11
- isRowIdSelected: boolean;
12
- isShapeSelection: boolean;
13
- };
14
- };
15
- export declare const getContent: ({ gridProps }: InputProps) => {
16
- value: string;
17
- content: import("react/jsx-runtime").JSX.Element;
18
- }[];
19
- export declare const getContentTabs: () => {
20
- label: string;
21
- value: string;
22
- disabled: boolean;
23
- }[];