@leapdevuk/component-toolbox 0.0.121-test.1 → 0.0.122
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/CHANGELOG.md +12 -0
- package/dist/components/datagridtree/DataGridTree.d.ts +32 -0
- package/dist/components/datagridtree/index.d.ts +1 -0
- package/dist/index.cjs.js +6 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +403 -400
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/CHANGELOG.md
CHANGED
|
@@ -73,3 +73,15 @@
|
|
|
73
73
|
### Bug Fixes
|
|
74
74
|
|
|
75
75
|
- Fixed issue with revert being called early on calendar selection
|
|
76
|
+
|
|
77
|
+
## 0.0.120 (2025-05-30)
|
|
78
|
+
|
|
79
|
+
### Features
|
|
80
|
+
|
|
81
|
+
- Updated DateRangePicker to use sdk alerts for validation
|
|
82
|
+
|
|
83
|
+
## 0.0.121 (2025-04-15)
|
|
84
|
+
|
|
85
|
+
### Release 0.0.121
|
|
86
|
+
|
|
87
|
+
- Release of Test verion 0.0.121-test.1
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { GridCallbackDetails, GridColDef, GridColumnVisibilityModel, GridProSlotsComponent, GridRowParams, GridRowSelectionModel, GridSlotProps, GridSlotsComponentsProps } from '@mui/x-data-grid-pro';
|
|
2
|
+
import { GridInitialStatePro } from '@mui/x-data-grid-pro/models/gridStatePro';
|
|
3
|
+
import { GridProSlotProps } from '@mui/x-data-grid-pro/models/gridProSlotProps';
|
|
4
|
+
import { Api } from '@leapdev/leap-host';
|
|
5
|
+
interface IDataGridProps {
|
|
6
|
+
maxHeight: any;
|
|
7
|
+
height?: any;
|
|
8
|
+
rows: any[];
|
|
9
|
+
columns: GridColDef[];
|
|
10
|
+
initialState?: GridInitialStatePro | undefined;
|
|
11
|
+
onRowDoubleClick?: (params: GridRowParams<any>) => void;
|
|
12
|
+
onRowClick?: (params: GridRowParams<any>) => void;
|
|
13
|
+
componentsProps?: GridSlotsComponentsProps | undefined;
|
|
14
|
+
id: (row: any) => any;
|
|
15
|
+
borderTop?: boolean;
|
|
16
|
+
noDataText?: string;
|
|
17
|
+
columnHeaderHeight?: number;
|
|
18
|
+
rowHeight?: number;
|
|
19
|
+
slots?: Partial<GridProSlotsComponent>;
|
|
20
|
+
slotProps?: GridProSlotProps;
|
|
21
|
+
columnVisibilityModel?: GridColumnVisibilityModel;
|
|
22
|
+
rowSelectionModel?: GridRowSelectionModel;
|
|
23
|
+
setRowSelectionModel?: React.SetStateAction<GridRowSelectionModel>;
|
|
24
|
+
disableMultipleRowSelection?: boolean;
|
|
25
|
+
checkboxSelection?: boolean;
|
|
26
|
+
keepNonExistentRowsSelected?: boolean;
|
|
27
|
+
onRowSelectionModelChange?: (rowSelectionModel: GridRowSelectionModel, details: GridCallbackDetails) => void;
|
|
28
|
+
noRowsOverlay?: React.JSXElementConstructor<GridSlotProps["noRowsOverlay"]>;
|
|
29
|
+
onCellClick?: (id: string, rowSelectionModel: GridRowSelectionModel, setRowSelectionModel: (value: React.SetStateAction<GridRowSelectionModel>) => void, rows?: any[], sdkApi?: Api) => void;
|
|
30
|
+
}
|
|
31
|
+
declare const LCTDataGrid: import('@emotion/styled').StyledComponent<IDataGridProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
32
|
+
export default LCTDataGrid;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as LCTDataGridTree } from './DataGridTree';
|