@vtj/ui 0.8.92 → 0.8.93

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.
Files changed (53) hide show
  1. package/dist/index.mjs +3 -3
  2. package/dist/index.umd.js +3 -3
  3. package/package.json +4 -4
  4. package/types/components/action/Action.d.ts +52 -124
  5. package/types/components/action/Trigger.d.ts +7 -81
  6. package/types/components/action/hooks.d.ts +6 -6
  7. package/types/components/action/types.d.ts +3 -41
  8. package/types/components/action-bar/ActionBar.d.ts +37 -285
  9. package/types/components/action-bar/types.d.ts +5 -43
  10. package/types/components/attachment/Attachment.d.ts +10 -8
  11. package/types/components/container/Container.d.ts +10 -8
  12. package/types/components/container/types.d.ts +2 -2
  13. package/types/components/data-item/DataItem.d.ts +38 -36
  14. package/types/components/dialog/Dialog.d.ts +14 -16
  15. package/types/components/dialog/types.d.ts +2 -4
  16. package/types/components/dialog-form/DialogForm.d.ts +12 -11
  17. package/types/components/dialog-form/types.d.ts +2 -3
  18. package/types/components/dialog-grid/DialogGrid.d.ts +8 -6
  19. package/types/components/field/Field.d.ts +23 -25
  20. package/types/components/field/editors/SelectEditor.d.ts +8 -6
  21. package/types/components/field/types.d.ts +3 -5
  22. package/types/components/form/Form.d.ts +10 -8
  23. package/types/components/grid/Grid.d.ts +281 -295
  24. package/types/components/grid/hooks/useEditRender.d.ts +2 -2
  25. package/types/components/grid/hooks/useLoader.d.ts +251 -267
  26. package/types/components/grid/hooks/useProps.d.ts +44 -44
  27. package/types/components/grid/hooks/useState.d.ts +251 -267
  28. package/types/components/grid/props.d.ts +3 -4
  29. package/types/components/header/Header.d.ts +8 -6
  30. package/types/components/icon/Icon.d.ts +9 -11
  31. package/types/components/icon/types.d.ts +2 -4
  32. package/types/components/import-button/ImportButton.d.ts +6 -4
  33. package/types/components/input-unit/InputUnit.d.ts +4 -4
  34. package/types/components/input-unit/types.d.ts +1 -1
  35. package/types/components/list/List.d.ts +12 -10
  36. package/types/components/mask/Mask.d.ts +41 -39
  37. package/types/components/mask/components/Avatar.d.ts +4 -2
  38. package/types/components/mask/components/Brand.d.ts +7 -5
  39. package/types/components/mask/components/Content.d.ts +4 -2
  40. package/types/components/mask/components/Sidebar.d.ts +4 -2
  41. package/types/components/mask/components/Toolbar.d.ts +6 -4
  42. package/types/components/panel/Panel.d.ts +20 -328
  43. package/types/components/panel/types.d.ts +6 -170
  44. package/types/components/picker/Picker.d.ts +14 -341
  45. package/types/components/picker/props.d.ts +7 -176
  46. package/types/components/qr-code/QrCode.d.ts +6 -4
  47. package/types/components/query-form/QueryForm.d.ts +29 -27
  48. package/types/components/tabs/Tabs.d.ts +48 -222
  49. package/types/components/tabs/types.d.ts +1 -1
  50. package/types/components/test/Test.d.ts +36 -34
  51. package/types/install.d.ts +1 -1
  52. package/types/utils/util.d.ts +1 -1
  53. package/types/version.d.ts +2 -2
@@ -1,206 +1,206 @@
1
1
  import { GridProps } from '../types';
2
2
  import { VxeTableDataRow, SlotVNodeType } from 'vxe-table';
3
- import { VNode, RendererNode, RendererElement } from 'vue';
3
+ import { VNode } from 'vue';
4
4
 
5
5
  export declare function useState(props: GridProps): {
6
6
  state: {
7
7
  [x: string]: any;
8
- page?: number | undefined;
9
- pageSize?: number | undefined;
10
- total?: number | undefined;
8
+ page?: number;
9
+ pageSize?: number;
10
+ total?: number;
11
11
  filters?: {
12
12
  column: {
13
- property: string;
13
+ property: import("vxe-table/types/column").VxeColumnPropTypes.Field;
14
14
  type: import("vxe-table/types/column").VxeColumnPropTypes.Type;
15
- field: string;
16
- title: string;
15
+ field: import("vxe-table/types/column").VxeColumnPropTypes.Field;
16
+ title: import("vxe-table/types/column").VxeColumnPropTypes.Title;
17
17
  width: import("vxe-table/types/column").VxeColumnPropTypes.Width;
18
18
  minWidth: import("vxe-table/types/column").VxeColumnPropTypes.MinWidth;
19
19
  maxWidth: import("vxe-table/types/column").VxeColumnPropTypes.MaxWidth;
20
- resizable: boolean;
20
+ resizable: import("vxe-table/types/column").VxeColumnPropTypes.Resizable;
21
21
  fixed: import("vxe-table/types/column").VxeColumnPropTypes.Fixed;
22
22
  align: import("vxe-table/types/column").VxeColumnPropTypes.Align;
23
- headerAlign: import("vxe-table/types/column").VxeColumnPropTypes.Align;
24
- footerAlign: import("vxe-table/types/column").VxeColumnPropTypes.Align;
25
- showOverflow: import("vxe-table/types/table").VxeTablePropTypes.ShowOverflow;
26
- showHeaderOverflow: import("vxe-table/types/table").VxeTablePropTypes.ShowOverflow;
27
- showFooterOverflow: import("vxe-table/types/table").VxeTablePropTypes.ShowOverflow;
28
- className: import("vxe-table/types/column").VxeColumnPropTypes.ClassName<VxeTableDataRow>;
29
- headerClassName: import("vxe-table/types/column").VxeColumnPropTypes.HeaderClassName<VxeTableDataRow>;
30
- footerClassName: import("vxe-table/types/column").VxeColumnPropTypes.FooterClassName<VxeTableDataRow>;
23
+ headerAlign: import("vxe-table/types/column").VxeColumnPropTypes.HeaderAlign;
24
+ footerAlign: import("vxe-table/types/column").VxeColumnPropTypes.FooterAlign;
25
+ showOverflow: import("vxe-table/types/column").VxeColumnPropTypes.ShowOverflow;
26
+ showHeaderOverflow: import("vxe-table/types/column").VxeColumnPropTypes.ShowHeaderOverflow;
27
+ showFooterOverflow: import("vxe-table/types/column").VxeColumnPropTypes.ShowFooterOverflow;
28
+ className: import("vxe-table/types/column").VxeColumnPropTypes.ClassName;
29
+ headerClassName: import("vxe-table/types/column").VxeColumnPropTypes.HeaderClassName;
30
+ footerClassName: import("vxe-table/types/column").VxeColumnPropTypes.FooterClassName;
31
31
  formatter: import("vxe-table/types/column").VxeColumnPropTypes.Formatter<VxeTableDataRow>;
32
- sortable: boolean;
33
- sortBy: import("vxe-table/types/column").VxeColumnPropTypes.SortBy<VxeTableDataRow>;
32
+ sortable: import("vxe-table/types/column").VxeColumnPropTypes.Sortable;
33
+ sortBy: import("vxe-table/types/column").VxeColumnPropTypes.SortBy;
34
34
  sortType: import("vxe-table/types/column").VxeColumnPropTypes.SortType;
35
35
  filters: {
36
- label?: string | number | undefined;
36
+ label?: string | number;
37
37
  value?: any;
38
38
  data?: any;
39
39
  resetValue?: any;
40
- checked?: boolean | undefined;
40
+ checked?: boolean;
41
41
  }[];
42
- filterMultiple: boolean;
42
+ filterMultiple: import("vxe-table/types/column").VxeColumnPropTypes.FilterMultiple;
43
43
  filterMethod: import("vxe-table/types/column").VxeColumnPropTypes.FilterMethod<VxeTableDataRow>;
44
44
  filterRender: {
45
- options?: any[] | undefined;
45
+ options?: any[];
46
46
  optionProps?: {
47
- value?: string | undefined;
48
- label?: string | undefined;
49
- disabled?: string | undefined;
50
- key?: string | undefined;
47
+ value?: string;
48
+ label?: string;
49
+ disabled?: string;
50
+ key?: string;
51
51
  } | undefined;
52
- optionGroups?: any[] | undefined;
52
+ optionGroups?: any[];
53
53
  optionGroupProps?: {
54
- options?: string | undefined;
55
- label?: string | undefined;
56
- key?: string | undefined;
54
+ options?: string;
55
+ label?: string;
56
+ key?: string;
57
57
  } | undefined;
58
- content?: string | undefined;
59
- name?: string | undefined;
58
+ content?: string;
59
+ name?: string;
60
60
  props?: {
61
61
  [key: string]: any;
62
- } | undefined;
62
+ };
63
63
  attrs?: {
64
64
  [key: string]: any;
65
- } | undefined;
65
+ };
66
66
  events?: {
67
67
  [key: string]: (...args: any[]) => any;
68
- } | undefined;
69
- children?: any[] | undefined;
70
- cellType?: "string" | "number" | undefined;
68
+ };
69
+ children?: any[];
70
+ cellType?: "string" | "number";
71
71
  };
72
- treeNode: boolean;
73
- visible: boolean;
72
+ treeNode: import("vxe-table/types/column").VxeColumnPropTypes.TreeNode;
73
+ visible: import("vxe-table/types/column").VxeColumnPropTypes.Visible;
74
74
  exportMethod: import("vxe-table/types/column").VxeColumnPropTypes.ExportMethod<VxeTableDataRow>;
75
- footerExportMethod: import("vxe-table/types/column").VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow>;
75
+ footerExportMethod: import("vxe-table/types/column").VxeColumnPropTypes.FooterExportMethod;
76
76
  titleHelp: {
77
- useHTML?: boolean | undefined;
78
- content?: import("vxe-table").VxeTooltipPropTypes.Content | undefined;
79
- enterable?: boolean | undefined;
80
- theme?: string | undefined;
81
- icon?: string | undefined;
82
- message?: string | undefined;
77
+ useHTML?: import("vxe-table").VxeTooltipPropTypes.UseHTML;
78
+ content?: import("vxe-table").VxeTooltipPropTypes.Content;
79
+ enterable?: import("vxe-table").VxeTooltipPropTypes.Enterable;
80
+ theme?: import("vxe-table").VxeTooltipPropTypes.Theme;
81
+ icon?: string;
82
+ message?: string;
83
83
  };
84
84
  titlePrefix: {
85
- useHTML?: boolean | undefined;
86
- content?: import("vxe-table").VxeTooltipPropTypes.Content | undefined;
87
- enterable?: boolean | undefined;
88
- theme?: string | undefined;
89
- icon?: string | undefined;
90
- message?: string | undefined;
85
+ useHTML?: import("vxe-table").VxeTooltipPropTypes.UseHTML;
86
+ content?: import("vxe-table").VxeTooltipPropTypes.Content;
87
+ enterable?: import("vxe-table").VxeTooltipPropTypes.Enterable;
88
+ theme?: import("vxe-table").VxeTooltipPropTypes.Theme;
89
+ icon?: string;
90
+ message?: string;
91
91
  };
92
92
  titleSuffix: {
93
- useHTML?: boolean | undefined;
94
- content?: import("vxe-table").VxeTooltipPropTypes.Content | undefined;
95
- enterable?: boolean | undefined;
96
- theme?: string | undefined;
97
- icon?: string | undefined;
93
+ useHTML?: import("vxe-table").VxeTooltipPropTypes.UseHTML;
94
+ content?: import("vxe-table").VxeTooltipPropTypes.Content;
95
+ enterable?: import("vxe-table").VxeTooltipPropTypes.Enterable;
96
+ theme?: import("vxe-table").VxeTooltipPropTypes.Theme;
97
+ icon?: string;
98
98
  };
99
99
  cellType: import("vxe-table/types/column").VxeColumnPropTypes.CellType;
100
100
  cellRender: {
101
101
  events?: {
102
102
  [key: string]: (cellParams: import("vxe-table/types/column").VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
103
103
  } | undefined;
104
- options?: any[] | undefined;
104
+ options?: any[];
105
105
  optionProps?: {
106
- value?: string | undefined;
107
- label?: string | undefined;
108
- disabled?: string | undefined;
109
- key?: string | undefined;
106
+ value?: string;
107
+ label?: string;
108
+ disabled?: string;
109
+ key?: string;
110
110
  } | undefined;
111
- optionGroups?: any[] | undefined;
111
+ optionGroups?: any[];
112
112
  optionGroupProps?: {
113
- options?: string | undefined;
114
- label?: string | undefined;
115
- key?: string | undefined;
113
+ options?: string;
114
+ label?: string;
115
+ key?: string;
116
116
  } | undefined;
117
- content?: string | undefined;
118
- name?: string | undefined;
117
+ content?: string;
118
+ name?: string;
119
119
  props?: {
120
120
  [key: string]: any;
121
- } | undefined;
121
+ };
122
122
  attrs?: {
123
123
  [key: string]: any;
124
- } | undefined;
125
- children?: any[] | undefined;
126
- cellType?: "string" | "number" | undefined;
124
+ };
125
+ children?: any[];
126
+ cellType?: "string" | "number";
127
127
  };
128
128
  editRender: {
129
129
  events?: {
130
- [key: string]: (cellParams: import("vxe-table/types/column").VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
131
- } | undefined;
132
- enabled?: boolean | undefined;
133
- options?: any[] | undefined;
130
+ [key: string]: (cellParams: import("vxe-table/types/column").VxeColumnSlotTypes.EditSlotParams, ...args: any[]) => any;
131
+ };
132
+ enabled?: boolean;
133
+ options?: any[];
134
134
  optionProps?: {
135
- value?: string | undefined;
136
- label?: string | undefined;
137
- disabled?: string | undefined;
138
- key?: string | undefined;
135
+ value?: string;
136
+ label?: string;
137
+ disabled?: string;
138
+ key?: string;
139
139
  } | undefined;
140
- optionGroups?: any[] | undefined;
140
+ optionGroups?: any[];
141
141
  optionGroupProps?: {
142
- options?: string | undefined;
143
- label?: string | undefined;
144
- key?: string | undefined;
142
+ options?: string;
143
+ label?: string;
144
+ key?: string;
145
145
  } | undefined;
146
- autofocus?: string | undefined;
147
- autoselect?: boolean | undefined;
146
+ autofocus?: string;
147
+ autoselect?: boolean;
148
148
  defaultValue?: string | number | object | RegExp | any[] | Date | ((params: {
149
149
  column: import("vxe-table/types/table").VxeTableDefines.ColumnInfo<VxeTableDataRow>;
150
150
  }) => any) | null | undefined;
151
- immediate?: boolean | undefined;
152
- content?: string | undefined;
153
- placeholder?: string | undefined;
154
- name?: string | undefined;
151
+ immediate?: boolean;
152
+ content?: string;
153
+ placeholder?: string;
154
+ name?: string;
155
155
  props?: {
156
156
  [key: string]: any;
157
- } | undefined;
157
+ };
158
158
  attrs?: {
159
159
  [key: string]: any;
160
- } | undefined;
161
- children?: any[] | undefined;
162
- cellType?: "string" | "number" | undefined;
160
+ };
161
+ children?: any[];
162
+ cellType?: "string" | "number";
163
163
  };
164
164
  contentRender: {
165
- options?: any[] | undefined;
165
+ options?: any[];
166
166
  optionProps?: {
167
- value?: string | undefined;
168
- label?: string | undefined;
169
- disabled?: string | undefined;
170
- key?: string | undefined;
167
+ value?: string;
168
+ label?: string;
169
+ disabled?: string;
170
+ key?: string;
171
171
  } | undefined;
172
- optionGroups?: any[] | undefined;
172
+ optionGroups?: any[];
173
173
  optionGroupProps?: {
174
- options?: string | undefined;
175
- label?: string | undefined;
176
- key?: string | undefined;
174
+ options?: string;
175
+ label?: string;
176
+ key?: string;
177
177
  } | undefined;
178
- name?: string | undefined;
178
+ name?: string;
179
179
  props?: {
180
180
  [key: string]: any;
181
- } | undefined;
181
+ };
182
182
  attrs?: {
183
183
  [key: string]: any;
184
- } | undefined;
184
+ };
185
185
  events?: {
186
186
  [key: string]: (...args: any[]) => any;
187
- } | undefined;
188
- children?: any[] | undefined;
189
- cellType?: "string" | "number" | undefined;
187
+ };
188
+ children?: any[];
189
+ cellType?: "string" | "number";
190
190
  };
191
- params: any;
191
+ params: import("vxe-table/types/column").VxeColumnPropTypes.Params;
192
192
  slots: {
193
- title?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
194
- radio?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.RadioSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
195
- checkbox?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.CheckboxSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
196
- default?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
197
- header?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
198
- footer?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
199
- content?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
200
- filter?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
201
- edit?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
202
- valid?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.ValidSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
203
- icon?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
193
+ title?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType[] | SlotVNodeType) | null | undefined;
194
+ radio?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.RadioSlotParams<VxeTableDataRow>) => SlotVNodeType[] | SlotVNodeType) | null | undefined;
195
+ checkbox?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.CheckboxSlotParams<VxeTableDataRow>) => SlotVNodeType[] | SlotVNodeType) | null | undefined;
196
+ default?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType[] | SlotVNodeType) | null | undefined;
197
+ header?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType[] | SlotVNodeType) | null | undefined;
198
+ footer?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType[] | SlotVNodeType) | null | undefined;
199
+ content?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType[] | SlotVNodeType) | null | undefined;
200
+ filter?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType[] | SlotVNodeType) | null | undefined;
201
+ edit?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType[] | SlotVNodeType) | null | undefined;
202
+ valid?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.ValidSlotParams<VxeTableDataRow>) => SlotVNodeType[] | SlotVNodeType) | null | undefined;
203
+ icon?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType[] | SlotVNodeType) | null | undefined;
204
204
  };
205
205
  id: string;
206
206
  parentId: string;
@@ -225,219 +225,211 @@ export declare function useState(props: GridProps): {
225
225
  value: any;
226
226
  };
227
227
  children: any[];
228
- renderHeader: (params: import("vxe-table/types/table").VxeTableDefines.CellRenderHeaderParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
229
- [key: string]: any;
230
- }>[];
231
- renderCell: (params: import("vxe-table/types/table").VxeTableDefines.CellRenderCellParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
232
- [key: string]: any;
233
- }>[];
234
- renderData: (params: import("vxe-table/types/table").VxeTableDefines.CellRenderDataParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
235
- [key: string]: any;
236
- }>[];
237
- renderFooter: (params: import("vxe-table/types/table").VxeTableDefines.CellRenderFooterParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
238
- [key: string]: any;
239
- }>[];
228
+ renderHeader: (params: import("vxe-table/types/table").VxeTableDefines.CellRenderHeaderParams<VxeTableDataRow>) => VNode[];
229
+ renderCell: (params: import("vxe-table/types/table").VxeTableDefines.CellRenderCellParams<VxeTableDataRow>) => VNode[];
230
+ renderData: (params: import("vxe-table/types/table").VxeTableDefines.CellRenderDataParams<VxeTableDataRow>) => VNode[];
231
+ renderFooter: (params: import("vxe-table/types/table").VxeTableDefines.CellRenderFooterParams<VxeTableDataRow>) => VNode[];
240
232
  getTitle: () => string;
241
233
  getKey: () => string;
242
234
  };
243
- field: string;
244
- property: string;
235
+ field: import("vxe-table/types/column").VxeColumnPropTypes.Field;
236
+ property: import("vxe-table/types/column").VxeColumnPropTypes.Field;
245
237
  values: any[];
246
238
  datas: any[];
247
239
  }[] | undefined;
248
240
  sorts?: {
249
241
  column: {
250
- property: string;
242
+ property: import("vxe-table/types/column").VxeColumnPropTypes.Field;
251
243
  type: import("vxe-table/types/column").VxeColumnPropTypes.Type;
252
- field: string;
253
- title: string;
244
+ field: import("vxe-table/types/column").VxeColumnPropTypes.Field;
245
+ title: import("vxe-table/types/column").VxeColumnPropTypes.Title;
254
246
  width: import("vxe-table/types/column").VxeColumnPropTypes.Width;
255
247
  minWidth: import("vxe-table/types/column").VxeColumnPropTypes.MinWidth;
256
248
  maxWidth: import("vxe-table/types/column").VxeColumnPropTypes.MaxWidth;
257
- resizable: boolean;
249
+ resizable: import("vxe-table/types/column").VxeColumnPropTypes.Resizable;
258
250
  fixed: import("vxe-table/types/column").VxeColumnPropTypes.Fixed;
259
251
  align: import("vxe-table/types/column").VxeColumnPropTypes.Align;
260
- headerAlign: import("vxe-table/types/column").VxeColumnPropTypes.Align;
261
- footerAlign: import("vxe-table/types/column").VxeColumnPropTypes.Align;
262
- showOverflow: import("vxe-table/types/table").VxeTablePropTypes.ShowOverflow;
263
- showHeaderOverflow: import("vxe-table/types/table").VxeTablePropTypes.ShowOverflow;
264
- showFooterOverflow: import("vxe-table/types/table").VxeTablePropTypes.ShowOverflow;
265
- className: import("vxe-table/types/column").VxeColumnPropTypes.ClassName<VxeTableDataRow>;
266
- headerClassName: import("vxe-table/types/column").VxeColumnPropTypes.HeaderClassName<VxeTableDataRow>;
267
- footerClassName: import("vxe-table/types/column").VxeColumnPropTypes.FooterClassName<VxeTableDataRow>;
252
+ headerAlign: import("vxe-table/types/column").VxeColumnPropTypes.HeaderAlign;
253
+ footerAlign: import("vxe-table/types/column").VxeColumnPropTypes.FooterAlign;
254
+ showOverflow: import("vxe-table/types/column").VxeColumnPropTypes.ShowOverflow;
255
+ showHeaderOverflow: import("vxe-table/types/column").VxeColumnPropTypes.ShowHeaderOverflow;
256
+ showFooterOverflow: import("vxe-table/types/column").VxeColumnPropTypes.ShowFooterOverflow;
257
+ className: import("vxe-table/types/column").VxeColumnPropTypes.ClassName;
258
+ headerClassName: import("vxe-table/types/column").VxeColumnPropTypes.HeaderClassName;
259
+ footerClassName: import("vxe-table/types/column").VxeColumnPropTypes.FooterClassName;
268
260
  formatter: import("vxe-table/types/column").VxeColumnPropTypes.Formatter<VxeTableDataRow>;
269
- sortable: boolean;
270
- sortBy: import("vxe-table/types/column").VxeColumnPropTypes.SortBy<VxeTableDataRow>;
261
+ sortable: import("vxe-table/types/column").VxeColumnPropTypes.Sortable;
262
+ sortBy: import("vxe-table/types/column").VxeColumnPropTypes.SortBy;
271
263
  sortType: import("vxe-table/types/column").VxeColumnPropTypes.SortType;
272
264
  filters: {
273
- label?: string | number | undefined;
265
+ label?: string | number;
274
266
  value?: any;
275
267
  data?: any;
276
268
  resetValue?: any;
277
- checked?: boolean | undefined;
269
+ checked?: boolean;
278
270
  }[];
279
- filterMultiple: boolean;
271
+ filterMultiple: import("vxe-table/types/column").VxeColumnPropTypes.FilterMultiple;
280
272
  filterMethod: import("vxe-table/types/column").VxeColumnPropTypes.FilterMethod<VxeTableDataRow>;
281
273
  filterRender: {
282
- options?: any[] | undefined;
274
+ options?: any[];
283
275
  optionProps?: {
284
- value?: string | undefined;
285
- label?: string | undefined;
286
- disabled?: string | undefined;
287
- key?: string | undefined;
276
+ value?: string;
277
+ label?: string;
278
+ disabled?: string;
279
+ key?: string;
288
280
  } | undefined;
289
- optionGroups?: any[] | undefined;
281
+ optionGroups?: any[];
290
282
  optionGroupProps?: {
291
- options?: string | undefined;
292
- label?: string | undefined;
293
- key?: string | undefined;
283
+ options?: string;
284
+ label?: string;
285
+ key?: string;
294
286
  } | undefined;
295
- content?: string | undefined;
296
- name?: string | undefined;
287
+ content?: string;
288
+ name?: string;
297
289
  props?: {
298
290
  [key: string]: any;
299
- } | undefined;
291
+ };
300
292
  attrs?: {
301
293
  [key: string]: any;
302
- } | undefined;
294
+ };
303
295
  events?: {
304
296
  [key: string]: (...args: any[]) => any;
305
- } | undefined;
306
- children?: any[] | undefined;
307
- cellType?: "string" | "number" | undefined;
297
+ };
298
+ children?: any[];
299
+ cellType?: "string" | "number";
308
300
  };
309
- treeNode: boolean;
310
- visible: boolean;
301
+ treeNode: import("vxe-table/types/column").VxeColumnPropTypes.TreeNode;
302
+ visible: import("vxe-table/types/column").VxeColumnPropTypes.Visible;
311
303
  exportMethod: import("vxe-table/types/column").VxeColumnPropTypes.ExportMethod<VxeTableDataRow>;
312
- footerExportMethod: import("vxe-table/types/column").VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow>;
304
+ footerExportMethod: import("vxe-table/types/column").VxeColumnPropTypes.FooterExportMethod;
313
305
  titleHelp: {
314
- useHTML?: boolean | undefined;
315
- content?: import("vxe-table").VxeTooltipPropTypes.Content | undefined;
316
- enterable?: boolean | undefined;
317
- theme?: string | undefined;
318
- icon?: string | undefined;
319
- message?: string | undefined;
306
+ useHTML?: import("vxe-table").VxeTooltipPropTypes.UseHTML;
307
+ content?: import("vxe-table").VxeTooltipPropTypes.Content;
308
+ enterable?: import("vxe-table").VxeTooltipPropTypes.Enterable;
309
+ theme?: import("vxe-table").VxeTooltipPropTypes.Theme;
310
+ icon?: string;
311
+ message?: string;
320
312
  };
321
313
  titlePrefix: {
322
- useHTML?: boolean | undefined;
323
- content?: import("vxe-table").VxeTooltipPropTypes.Content | undefined;
324
- enterable?: boolean | undefined;
325
- theme?: string | undefined;
326
- icon?: string | undefined;
327
- message?: string | undefined;
314
+ useHTML?: import("vxe-table").VxeTooltipPropTypes.UseHTML;
315
+ content?: import("vxe-table").VxeTooltipPropTypes.Content;
316
+ enterable?: import("vxe-table").VxeTooltipPropTypes.Enterable;
317
+ theme?: import("vxe-table").VxeTooltipPropTypes.Theme;
318
+ icon?: string;
319
+ message?: string;
328
320
  };
329
321
  titleSuffix: {
330
- useHTML?: boolean | undefined;
331
- content?: import("vxe-table").VxeTooltipPropTypes.Content | undefined;
332
- enterable?: boolean | undefined;
333
- theme?: string | undefined;
334
- icon?: string | undefined;
322
+ useHTML?: import("vxe-table").VxeTooltipPropTypes.UseHTML;
323
+ content?: import("vxe-table").VxeTooltipPropTypes.Content;
324
+ enterable?: import("vxe-table").VxeTooltipPropTypes.Enterable;
325
+ theme?: import("vxe-table").VxeTooltipPropTypes.Theme;
326
+ icon?: string;
335
327
  };
336
328
  cellType: import("vxe-table/types/column").VxeColumnPropTypes.CellType;
337
329
  cellRender: {
338
330
  events?: {
339
331
  [key: string]: (cellParams: import("vxe-table/types/column").VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
340
332
  } | undefined;
341
- options?: any[] | undefined;
333
+ options?: any[];
342
334
  optionProps?: {
343
- value?: string | undefined;
344
- label?: string | undefined;
345
- disabled?: string | undefined;
346
- key?: string | undefined;
335
+ value?: string;
336
+ label?: string;
337
+ disabled?: string;
338
+ key?: string;
347
339
  } | undefined;
348
- optionGroups?: any[] | undefined;
340
+ optionGroups?: any[];
349
341
  optionGroupProps?: {
350
- options?: string | undefined;
351
- label?: string | undefined;
352
- key?: string | undefined;
342
+ options?: string;
343
+ label?: string;
344
+ key?: string;
353
345
  } | undefined;
354
- content?: string | undefined;
355
- name?: string | undefined;
346
+ content?: string;
347
+ name?: string;
356
348
  props?: {
357
349
  [key: string]: any;
358
- } | undefined;
350
+ };
359
351
  attrs?: {
360
352
  [key: string]: any;
361
- } | undefined;
362
- children?: any[] | undefined;
363
- cellType?: "string" | "number" | undefined;
353
+ };
354
+ children?: any[];
355
+ cellType?: "string" | "number";
364
356
  };
365
357
  editRender: {
366
358
  events?: {
367
- [key: string]: (cellParams: import("vxe-table/types/column").VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
368
- } | undefined;
369
- enabled?: boolean | undefined;
370
- options?: any[] | undefined;
359
+ [key: string]: (cellParams: import("vxe-table/types/column").VxeColumnSlotTypes.EditSlotParams, ...args: any[]) => any;
360
+ };
361
+ enabled?: boolean;
362
+ options?: any[];
371
363
  optionProps?: {
372
- value?: string | undefined;
373
- label?: string | undefined;
374
- disabled?: string | undefined;
375
- key?: string | undefined;
364
+ value?: string;
365
+ label?: string;
366
+ disabled?: string;
367
+ key?: string;
376
368
  } | undefined;
377
- optionGroups?: any[] | undefined;
369
+ optionGroups?: any[];
378
370
  optionGroupProps?: {
379
- options?: string | undefined;
380
- label?: string | undefined;
381
- key?: string | undefined;
371
+ options?: string;
372
+ label?: string;
373
+ key?: string;
382
374
  } | undefined;
383
- autofocus?: string | undefined;
384
- autoselect?: boolean | undefined;
375
+ autofocus?: string;
376
+ autoselect?: boolean;
385
377
  defaultValue?: string | number | object | RegExp | any[] | Date | ((params: {
386
378
  column: import("vxe-table/types/table").VxeTableDefines.ColumnInfo<VxeTableDataRow>;
387
379
  }) => any) | null | undefined;
388
- immediate?: boolean | undefined;
389
- content?: string | undefined;
390
- placeholder?: string | undefined;
391
- name?: string | undefined;
380
+ immediate?: boolean;
381
+ content?: string;
382
+ placeholder?: string;
383
+ name?: string;
392
384
  props?: {
393
385
  [key: string]: any;
394
- } | undefined;
386
+ };
395
387
  attrs?: {
396
388
  [key: string]: any;
397
- } | undefined;
398
- children?: any[] | undefined;
399
- cellType?: "string" | "number" | undefined;
389
+ };
390
+ children?: any[];
391
+ cellType?: "string" | "number";
400
392
  };
401
393
  contentRender: {
402
- options?: any[] | undefined;
394
+ options?: any[];
403
395
  optionProps?: {
404
- value?: string | undefined;
405
- label?: string | undefined;
406
- disabled?: string | undefined;
407
- key?: string | undefined;
396
+ value?: string;
397
+ label?: string;
398
+ disabled?: string;
399
+ key?: string;
408
400
  } | undefined;
409
- optionGroups?: any[] | undefined;
401
+ optionGroups?: any[];
410
402
  optionGroupProps?: {
411
- options?: string | undefined;
412
- label?: string | undefined;
413
- key?: string | undefined;
403
+ options?: string;
404
+ label?: string;
405
+ key?: string;
414
406
  } | undefined;
415
- name?: string | undefined;
407
+ name?: string;
416
408
  props?: {
417
409
  [key: string]: any;
418
- } | undefined;
410
+ };
419
411
  attrs?: {
420
412
  [key: string]: any;
421
- } | undefined;
413
+ };
422
414
  events?: {
423
415
  [key: string]: (...args: any[]) => any;
424
- } | undefined;
425
- children?: any[] | undefined;
426
- cellType?: "string" | "number" | undefined;
416
+ };
417
+ children?: any[];
418
+ cellType?: "string" | "number";
427
419
  };
428
- params: any;
420
+ params: import("vxe-table/types/column").VxeColumnPropTypes.Params;
429
421
  slots: {
430
- title?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
431
- radio?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.RadioSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
432
- checkbox?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.CheckboxSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
433
- default?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
434
- header?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
435
- footer?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
436
- content?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
437
- filter?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
438
- edit?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
439
- valid?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.ValidSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
440
- icon?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
422
+ title?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType[] | SlotVNodeType) | null | undefined;
423
+ radio?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.RadioSlotParams<VxeTableDataRow>) => SlotVNodeType[] | SlotVNodeType) | null | undefined;
424
+ checkbox?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.CheckboxSlotParams<VxeTableDataRow>) => SlotVNodeType[] | SlotVNodeType) | null | undefined;
425
+ default?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType[] | SlotVNodeType) | null | undefined;
426
+ header?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType[] | SlotVNodeType) | null | undefined;
427
+ footer?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType[] | SlotVNodeType) | null | undefined;
428
+ content?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType[] | SlotVNodeType) | null | undefined;
429
+ filter?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType[] | SlotVNodeType) | null | undefined;
430
+ edit?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType[] | SlotVNodeType) | null | undefined;
431
+ valid?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.ValidSlotParams<VxeTableDataRow>) => SlotVNodeType[] | SlotVNodeType) | null | undefined;
432
+ icon?: string | ((params: import("vxe-table/types/column").VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType[] | SlotVNodeType) | null | undefined;
441
433
  };
442
434
  id: string;
443
435
  parentId: string;
@@ -462,27 +454,19 @@ export declare function useState(props: GridProps): {
462
454
  value: any;
463
455
  };
464
456
  children: any[];
465
- renderHeader: (params: import("vxe-table/types/table").VxeTableDefines.CellRenderHeaderParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
466
- [key: string]: any;
467
- }>[];
468
- renderCell: (params: import("vxe-table/types/table").VxeTableDefines.CellRenderCellParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
469
- [key: string]: any;
470
- }>[];
471
- renderData: (params: import("vxe-table/types/table").VxeTableDefines.CellRenderDataParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
472
- [key: string]: any;
473
- }>[];
474
- renderFooter: (params: import("vxe-table/types/table").VxeTableDefines.CellRenderFooterParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
475
- [key: string]: any;
476
- }>[];
457
+ renderHeader: (params: import("vxe-table/types/table").VxeTableDefines.CellRenderHeaderParams<VxeTableDataRow>) => VNode[];
458
+ renderCell: (params: import("vxe-table/types/table").VxeTableDefines.CellRenderCellParams<VxeTableDataRow>) => VNode[];
459
+ renderData: (params: import("vxe-table/types/table").VxeTableDefines.CellRenderDataParams<VxeTableDataRow>) => VNode[];
460
+ renderFooter: (params: import("vxe-table/types/table").VxeTableDefines.CellRenderFooterParams<VxeTableDataRow>) => VNode[];
477
461
  getTitle: () => string;
478
462
  getKey: () => string;
479
463
  };
480
- field: string;
481
- property: string;
464
+ field: import("vxe-table/types/column").VxeColumnPropTypes.Field;
465
+ property: import("vxe-table/types/column").VxeColumnPropTypes.Field;
482
466
  order: import("vxe-table/types/table").VxeTablePropTypes.SortOrder;
483
467
  sortTime: number;
484
468
  }[] | undefined;
485
- form?: Record<string, any> | undefined;
469
+ form?: Record<string, any>;
486
470
  };
487
471
  resetState: () => void;
488
472
  };