@woovi/ui 5.0.0 → 5.0.2

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,3 @@
1
- import { type ReactNode } from "react";
2
1
  type ReactJsonViewProps = {
3
2
  theme?: string;
4
3
  indentWidth?: number;
@@ -1,125 +1,4 @@
1
1
  import type { GridAlignment, GridRenderCellParams, GridValidRowModel } from '@mui/x-data-grid-pro';
2
2
  import React from 'react';
3
3
  import type { ReactNode } from 'react';
4
- export declare const cellTypeExpand: <T extends GridValidRowModel>(renderExpand?: (<T_1 extends GridValidRowModel>(params: GridRenderCellParams<unknown, T_1, unknown, import("@mui/x-data-grid").GridTreeNodeWithRender>) => boolean) | undefined) => {
5
- field: string;
6
- headerName?: string | undefined;
7
- description?: string | undefined;
8
- width?: number | undefined;
9
- flex?: number | undefined;
10
- minWidth?: number | undefined;
11
- maxWidth?: number | undefined;
12
- hideable?: boolean | undefined;
13
- sortable?: boolean | undefined;
14
- sortingOrder?: import("@mui/x-data-grid").GridSortDirection[] | undefined;
15
- resizable?: boolean | undefined;
16
- editable?: boolean | undefined;
17
- groupable?: boolean | undefined;
18
- pinnable?: boolean | undefined;
19
- sortComparator?: import("@mui/x-data-grid").GridComparatorFn<any> | undefined;
20
- valueGetter?: ((params: import("@mui/x-data-grid").GridValueGetterParams<any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => any) | undefined;
21
- valueSetter?: ((params: import("@mui/x-data-grid").GridValueSetterParams<any, any>) => any) | undefined;
22
- valueFormatter?: ((params: import("@mui/x-data-grid").GridValueFormatterParams<any>) => any) | undefined;
23
- valueParser?: ((value: any, params?: import("@mui/x-data-grid").GridCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNode> | undefined) => any) | undefined;
24
- cellClassName?: import("@mui/x-data-grid").GridCellClassNamePropType<any, any> | undefined;
25
- renderEditCell?: ((params: import("@mui/x-data-grid").GridRenderEditCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => ReactNode) | undefined;
26
- preProcessEditCellProps?: ((params: import("@mui/x-data-grid").GridPreProcessEditCellProps<any, any>) => import("@mui/x-data-grid").GridEditCellProps<any> | Promise<import("@mui/x-data-grid").GridEditCellProps<any>>) | undefined;
27
- headerClassName?: import("@mui/x-data-grid").GridColumnHeaderClassNamePropType | undefined;
28
- renderHeader?: ((params: import("@mui/x-data-grid").GridColumnHeaderParams<any, any, any>) => ReactNode) | undefined;
29
- headerAlign?: GridAlignment | undefined;
30
- hideSortIcons?: boolean | undefined;
31
- disableColumnMenu?: boolean | undefined;
32
- filterable?: boolean | undefined;
33
- filterOperators?: import("@mui/x-data-grid").GridFilterOperator<any, any, any>[] | undefined;
34
- getApplyQuickFilterFn?: import("@mui/x-data-grid/models/colDef/gridColDef").GetApplyQuickFilterFnLegacy<any, any, any> | undefined;
35
- getApplyQuickFilterFnV7?: import("@mui/x-data-grid/models/colDef/gridColDef").GetApplyQuickFilterFnV7<any, any> | undefined;
36
- disableReorder?: boolean | undefined;
37
- disableExport?: boolean | undefined;
38
- colSpan?: number | ((params: import("@mui/x-data-grid").GridCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNode>) => number | undefined) | undefined;
39
- type: "actions";
40
- getActions: (params: import("@mui/x-data-grid").GridRowParams<any>) => React.ReactElement<import("@mui/x-data-grid").GridActionsCellItemProps, string | React.JSXElementConstructor<any>>[];
41
- renderHeaderFilter?: ((params: import("@mui/x-data-grid-pro").GridHeaderFilterCellProps) => ReactNode) | undefined;
42
- align: GridAlignment;
43
- renderCell: (params: GridRenderCellParams<unknown, T, unknown, import("@mui/x-data-grid").GridTreeNodeWithRender>) => import("react/jsx-runtime").JSX.Element;
44
- } | {
45
- field: string;
46
- headerName?: string | undefined;
47
- description?: string | undefined;
48
- width?: number | undefined;
49
- flex?: number | undefined;
50
- minWidth?: number | undefined;
51
- maxWidth?: number | undefined;
52
- hideable?: boolean | undefined;
53
- sortable?: boolean | undefined;
54
- sortingOrder?: import("@mui/x-data-grid").GridSortDirection[] | undefined;
55
- resizable?: boolean | undefined;
56
- editable?: boolean | undefined;
57
- groupable?: boolean | undefined;
58
- pinnable?: boolean | undefined;
59
- sortComparator?: import("@mui/x-data-grid").GridComparatorFn<any> | undefined;
60
- type?: import("@mui/x-data-grid").GridColType | undefined;
61
- valueGetter?: ((params: import("@mui/x-data-grid").GridValueGetterParams<any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => any) | undefined;
62
- valueSetter?: ((params: import("@mui/x-data-grid").GridValueSetterParams<any, any>) => any) | undefined;
63
- valueFormatter?: ((params: import("@mui/x-data-grid").GridValueFormatterParams<any>) => any) | undefined;
64
- valueParser?: ((value: any, params?: import("@mui/x-data-grid").GridCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNode> | undefined) => any) | undefined;
65
- cellClassName?: import("@mui/x-data-grid").GridCellClassNamePropType<any, any> | undefined;
66
- renderEditCell?: ((params: import("@mui/x-data-grid").GridRenderEditCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => ReactNode) | undefined;
67
- preProcessEditCellProps?: ((params: import("@mui/x-data-grid").GridPreProcessEditCellProps<any, any>) => import("@mui/x-data-grid").GridEditCellProps<any> | Promise<import("@mui/x-data-grid").GridEditCellProps<any>>) | undefined;
68
- headerClassName?: import("@mui/x-data-grid").GridColumnHeaderClassNamePropType | undefined;
69
- renderHeader?: ((params: import("@mui/x-data-grid").GridColumnHeaderParams<any, any, any>) => ReactNode) | undefined;
70
- headerAlign?: GridAlignment | undefined;
71
- hideSortIcons?: boolean | undefined;
72
- disableColumnMenu?: boolean | undefined;
73
- filterable?: boolean | undefined;
74
- filterOperators?: import("@mui/x-data-grid").GridFilterOperator<any, any, any>[] | undefined;
75
- getApplyQuickFilterFn?: import("@mui/x-data-grid/models/colDef/gridColDef").GetApplyQuickFilterFnLegacy<any, any, any> | undefined;
76
- getApplyQuickFilterFnV7?: import("@mui/x-data-grid/models/colDef/gridColDef").GetApplyQuickFilterFnV7<any, any> | undefined;
77
- disableReorder?: boolean | undefined;
78
- disableExport?: boolean | undefined;
79
- colSpan?: number | ((params: import("@mui/x-data-grid").GridCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNode>) => number | undefined) | undefined;
80
- renderHeaderFilter?: ((params: import("@mui/x-data-grid-pro").GridHeaderFilterCellProps) => ReactNode) | undefined;
81
- align: GridAlignment;
82
- renderCell: (params: GridRenderCellParams<unknown, T, unknown, import("@mui/x-data-grid").GridTreeNodeWithRender>) => import("react/jsx-runtime").JSX.Element;
83
- } | {
84
- field: string;
85
- headerName?: string | undefined;
86
- description?: string | undefined;
87
- width?: number | undefined;
88
- flex?: number | undefined;
89
- minWidth?: number | undefined;
90
- maxWidth?: number | undefined;
91
- hideable?: boolean | undefined;
92
- sortable?: boolean | undefined;
93
- sortingOrder?: import("@mui/x-data-grid").GridSortDirection[] | undefined;
94
- resizable?: boolean | undefined;
95
- editable?: boolean | undefined;
96
- groupable?: boolean | undefined;
97
- pinnable?: boolean | undefined;
98
- sortComparator?: import("@mui/x-data-grid").GridComparatorFn<any> | undefined;
99
- valueGetter?: ((params: import("@mui/x-data-grid").GridValueGetterParams<any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => any) | undefined;
100
- valueSetter?: ((params: import("@mui/x-data-grid").GridValueSetterParams<any, any>) => any) | undefined;
101
- valueFormatter?: ((params: import("@mui/x-data-grid").GridValueFormatterParams<any>) => any) | undefined;
102
- valueParser?: ((value: any, params?: import("@mui/x-data-grid").GridCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNode> | undefined) => any) | undefined;
103
- cellClassName?: import("@mui/x-data-grid").GridCellClassNamePropType<any, any> | undefined;
104
- renderEditCell?: ((params: import("@mui/x-data-grid").GridRenderEditCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => ReactNode) | undefined;
105
- preProcessEditCellProps?: ((params: import("@mui/x-data-grid").GridPreProcessEditCellProps<any, any>) => import("@mui/x-data-grid").GridEditCellProps<any> | Promise<import("@mui/x-data-grid").GridEditCellProps<any>>) | undefined;
106
- headerClassName?: import("@mui/x-data-grid").GridColumnHeaderClassNamePropType | undefined;
107
- renderHeader?: ((params: import("@mui/x-data-grid").GridColumnHeaderParams<any, any, any>) => ReactNode) | undefined;
108
- headerAlign?: GridAlignment | undefined;
109
- hideSortIcons?: boolean | undefined;
110
- disableColumnMenu?: boolean | undefined;
111
- filterable?: boolean | undefined;
112
- filterOperators?: import("@mui/x-data-grid").GridFilterOperator<any, any, any>[] | undefined;
113
- getApplyQuickFilterFn?: import("@mui/x-data-grid/models/colDef/gridColDef").GetApplyQuickFilterFnLegacy<any, any, any> | undefined;
114
- getApplyQuickFilterFnV7?: import("@mui/x-data-grid/models/colDef/gridColDef").GetApplyQuickFilterFnV7<any, any> | undefined;
115
- disableReorder?: boolean | undefined;
116
- disableExport?: boolean | undefined;
117
- colSpan?: number | ((params: import("@mui/x-data-grid").GridCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNode>) => number | undefined) | undefined;
118
- type: "singleSelect";
119
- valueOptions?: import("@mui/x-data-grid").ValueOptions[] | ((params: import("@mui/x-data-grid").GridValueOptionsParams<any>) => import("@mui/x-data-grid").ValueOptions[]) | undefined;
120
- getOptionLabel?: ((value: import("@mui/x-data-grid").ValueOptions) => string) | undefined;
121
- getOptionValue?: ((value: import("@mui/x-data-grid").ValueOptions) => any) | undefined;
122
- renderHeaderFilter?: ((params: import("@mui/x-data-grid-pro").GridHeaderFilterCellProps) => ReactNode) | undefined;
123
- align: GridAlignment;
124
- renderCell: (params: GridRenderCellParams<unknown, T, unknown, import("@mui/x-data-grid").GridTreeNodeWithRender>) => import("react/jsx-runtime").JSX.Element;
125
- };
4
+ export declare const cellTypeExpand: any;