@gx-design-vue/pro-table 0.2.0-alpha.3 → 0.2.0-alpha.5

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 (55) hide show
  1. package/dist/ProTable.d.ts +163 -164
  2. package/dist/ProTable.js +10 -13
  3. package/dist/components/Form/components/RequestSelect.d.ts +5 -5
  4. package/dist/components/Form/components/RequestSelect.js +1 -3
  5. package/dist/components/Form/hooks/useForm.js +1 -3
  6. package/dist/components/Form/index.d.ts +2 -3
  7. package/dist/components/Form/index.js +13 -16
  8. package/dist/components/Form/style.js +1 -2
  9. package/dist/components/Form/utils/config.js +1 -2
  10. package/dist/components/Form/utils/dateFormat.js +1 -3
  11. package/dist/components/ListToolBar/index.d.ts +4 -5
  12. package/dist/components/ListToolBar/index.js +14 -17
  13. package/dist/components/ListToolBar/style.js +1 -2
  14. package/dist/components/ScrollBar/Bar/index.d.ts +15 -15
  15. package/dist/components/ScrollBar/Bar/index.js +11 -14
  16. package/dist/components/ScrollBar/Bar/props.js +1 -2
  17. package/dist/components/ScrollBar/Thumb/index.d.ts +8 -8
  18. package/dist/components/ScrollBar/Thumb/index.js +1 -4
  19. package/dist/components/ScrollBar/Thumb/props.js +1 -2
  20. package/dist/components/ScrollBar/context.js +1 -3
  21. package/dist/components/ScrollBar/util.js +1 -3
  22. package/dist/components/TableCell/index.d.ts +5 -5
  23. package/dist/components/TableCell/index.js +1 -4
  24. package/dist/components/ToolBar/FullscreenIcon.d.ts +2 -2
  25. package/dist/components/ToolBar/FullscreenIcon.js +1 -4
  26. package/dist/components/ToolBar/index.d.ts +5 -5
  27. package/dist/components/ToolBar/index.js +5 -8
  28. package/dist/context/TableContext.js +1 -3
  29. package/dist/hooks/tryOnActivated.js +1 -3
  30. package/dist/hooks/useColumns.js +1 -3
  31. package/dist/hooks/useDebounceFn.js +1 -4
  32. package/dist/hooks/useFetchData.js +3 -6
  33. package/dist/hooks/useLoading.js +1 -3
  34. package/dist/hooks/usePagination.js +1 -3
  35. package/dist/hooks/useRowSelection.js +1 -3
  36. package/dist/hooks/useScrollArea.js +1 -3
  37. package/dist/hooks/useTable.js +1 -3
  38. package/dist/hooks/useTableForm.js +1 -3
  39. package/dist/hooks/useTableScroll.js +1 -3
  40. package/dist/hooks/useTableSize.js +1 -3
  41. package/dist/index.js +2 -3
  42. package/dist/pro-table.esm.js +1418 -1267
  43. package/dist/pro-table.js +1 -1
  44. package/dist/props.d.ts +3 -3
  45. package/dist/props.js +25 -29
  46. package/dist/style/fit-page.js +1 -2
  47. package/dist/style/index.js +1 -3
  48. package/dist/style/list.js +1 -2
  49. package/dist/style/scroll.js +1 -3
  50. package/dist/types/ColumnTypings.js +1 -1
  51. package/dist/types/SlotsTypings.js +1 -2
  52. package/dist/types/TableTypings.js +1 -1
  53. package/dist/types/index.js +1 -1
  54. package/dist/utils/utils.js +1 -3
  55. package/package.json +4 -4
@@ -1,404 +1,403 @@
1
1
  import { ProColumnsType, ProSearchMap } from "./types/ColumnTypings.js";
2
2
  import { CustomDataRender, DefaultRender, PageItemRender, ProTableBodyCellProps } from "./types/SlotsTypings.js";
3
3
  import { ProFieldEmptyText, ProTableProps, ProTableRowSelection, RequestFunction, TableActionPlacement, TableClassNamesType, TableSemanticName, TableStylesType } from "./types/TableTypings.js";
4
- import "./index.js";
5
- import * as vue6 from "vue";
4
+ import * as vue from "vue";
6
5
  import { SlotsType } from "vue";
7
6
  import { RecordType } from "@gx-design-vue/pro-utils";
8
7
  import * as ant_design_vue0 from "ant-design-vue";
9
8
  import { SpinProps } from "ant-design-vue";
10
9
  import { ColumnType } from "ant-design-vue/es/table";
11
- import * as ant_design_vue_es_vc_table_interface3 from "ant-design-vue/es/vc-table/interface";
10
+ import * as ant_design_vue_es_vc_table_interface0 from "ant-design-vue/es/vc-table/interface";
12
11
  import { Key, RenderExpandIconProps } from "ant-design-vue/es/vc-table/interface";
13
12
  import * as ant_design_vue_es_vc_table_Table0 from "ant-design-vue/es/vc-table/Table";
14
13
  import * as ant_design_vue_es__util_type0 from "ant-design-vue/es/_util/type";
15
14
 
16
15
  //#region src/ProTable.d.ts
17
- declare const ProTable: vue6.DefineComponent<vue6.ExtractPropTypes<{
16
+ declare const ProTable: vue.DefineComponent<vue.ExtractPropTypes<{
18
17
  id: {
19
- type: vue6.PropType<string>;
18
+ type: vue.PropType<string>;
20
19
  default: string;
21
20
  };
22
21
  class: {
23
- type: vue6.PropType<string>;
22
+ type: vue.PropType<string>;
24
23
  default: string;
25
24
  };
26
25
  style: {
27
- type: vue6.PropType<vue6.CSSProperties>;
26
+ type: vue.PropType<vue.CSSProperties>;
28
27
  default: () => {};
29
28
  };
30
29
  classNames: {
31
- type: vue6.PropType<TableClassNamesType>;
30
+ type: vue.PropType<TableClassNamesType>;
32
31
  default: () => {};
33
32
  };
34
33
  styles: {
35
- type: vue6.PropType<TableStylesType>;
34
+ type: vue.PropType<TableStylesType>;
36
35
  default: () => {};
37
36
  };
38
37
  fitPage: {
39
- type: vue6.PropType<ProTableProps["fitPage"]>;
38
+ type: vue.PropType<ProTableProps["fitPage"]>;
40
39
  default: boolean;
41
40
  };
42
41
  rowSelection: {
43
- type: vue6.PropType<ProTableRowSelection>;
42
+ type: vue.PropType<ProTableRowSelection>;
44
43
  default: any;
45
44
  };
46
45
  columns: {
47
- type: vue6.PropType<ProTableProps["columns"]>;
46
+ type: vue.PropType<ProTableProps["columns"]>;
48
47
  default: () => any[];
49
48
  };
50
49
  pagination: {
51
- type: vue6.PropType<ProTableProps["pagination"]>;
50
+ type: vue.PropType<ProTableProps["pagination"]>;
52
51
  default: () => any;
53
52
  };
54
53
  rowKey: {
55
- type: vue6.PropType<string>;
54
+ type: vue.PropType<string>;
56
55
  default: string;
57
56
  };
58
57
  request: {
59
- type: vue6.PropType<ProTableProps["request"]>;
58
+ type: vue.PropType<ProTableProps["request"]>;
60
59
  default: any;
61
60
  };
62
61
  autoRequest: {
63
- type: vue6.PropType<ProTableProps["autoRequest"]>;
62
+ type: vue.PropType<ProTableProps["autoRequest"]>;
64
63
  default: boolean;
65
64
  };
66
- virtualScroll: vue6.PropType<ProTableProps["virtualScroll"]>;
65
+ virtualScroll: vue.PropType<ProTableProps["virtualScroll"]>;
67
66
  params: {
68
- type: vue6.PropType<ProTableProps["params"]>;
67
+ type: vue.PropType<ProTableProps["params"]>;
69
68
  default: () => {};
70
69
  };
71
70
  waitRequest: {
72
- type: vue6.PropType<ProTableProps["waitRequest"]>;
71
+ type: vue.PropType<ProTableProps["waitRequest"]>;
73
72
  default: boolean;
74
73
  };
75
- title: vue6.PropType<ProTableProps["title"]>;
76
- footer: vue6.PropType<ProTableProps["footer"]>;
77
- transformCellText: vue6.PropType<ProTableProps["transformCellText"]>;
78
- rowExpandable: vue6.PropType<ProTableProps["rowExpandable"]>;
79
- rowClassName: vue6.PropType<ProTableProps["rowClassName"]>;
80
- expandIcon: vue6.PropType<ProTableProps["expandIcon"]>;
81
- expandedRowKeys: vue6.PropType<ProTableProps["expandedRowKeys"]>;
82
- defaultExpandedRowKeys: vue6.PropType<ProTableProps["defaultExpandedRowKeys"]>;
83
- expandedRowRender: vue6.PropType<ProTableProps["expandedRowRender"]>;
84
- customRow: vue6.PropType<ProTableProps["customRow"]>;
85
- customHeaderRow: vue6.PropType<ProTableProps["customHeaderRow"]>;
86
- polling: vue6.PropType<ProTableProps["polling"]>;
74
+ title: vue.PropType<ProTableProps["title"]>;
75
+ footer: vue.PropType<ProTableProps["footer"]>;
76
+ transformCellText: vue.PropType<ProTableProps["transformCellText"]>;
77
+ rowExpandable: vue.PropType<ProTableProps["rowExpandable"]>;
78
+ rowClassName: vue.PropType<ProTableProps["rowClassName"]>;
79
+ expandIcon: vue.PropType<ProTableProps["expandIcon"]>;
80
+ expandedRowKeys: vue.PropType<ProTableProps["expandedRowKeys"]>;
81
+ defaultExpandedRowKeys: vue.PropType<ProTableProps["defaultExpandedRowKeys"]>;
82
+ expandedRowRender: vue.PropType<ProTableProps["expandedRowRender"]>;
83
+ customRow: vue.PropType<ProTableProps["customRow"]>;
84
+ customHeaderRow: vue.PropType<ProTableProps["customHeaderRow"]>;
85
+ polling: vue.PropType<ProTableProps["polling"]>;
87
86
  debounceTime: {
88
- type: vue6.PropType<ProTableProps["debounceTime"]>;
87
+ type: vue.PropType<ProTableProps["debounceTime"]>;
89
88
  default: number;
90
89
  };
91
90
  form: {
92
- type: vue6.PropType<ProTableProps["form"]>;
91
+ type: vue.PropType<ProTableProps["form"]>;
93
92
  default: () => any;
94
93
  };
95
94
  searchMap: {
96
- type: vue6.PropType<ProTableProps["searchMap"]>;
95
+ type: vue.PropType<ProTableProps["searchMap"]>;
97
96
  default: () => any[];
98
97
  };
99
98
  customRender: {
100
- type: vue6.PropType<ProTableProps["customRender"]>;
99
+ type: vue.PropType<ProTableProps["customRender"]>;
101
100
  default: () => any;
102
101
  };
103
102
  emptyText: {
104
- type: vue6.PropType<ProTableProps["emptyText"]>;
103
+ type: vue.PropType<ProTableProps["emptyText"]>;
105
104
  default: () => any;
106
105
  };
107
106
  showLoading: {
108
- type: vue6.PropType<ProTableProps["showLoading"]>;
107
+ type: vue.PropType<ProTableProps["showLoading"]>;
109
108
  default: boolean;
110
109
  };
111
110
  emptyTextProps: {
112
- type: vue6.PropType<ProTableProps["emptyTextProps"]>;
111
+ type: vue.PropType<ProTableProps["emptyTextProps"]>;
113
112
  default: () => ProTableProps["emptyTextProps"];
114
113
  };
115
114
  actionProps: {
116
- type: vue6.PropType<ProTableProps["actionProps"]>;
115
+ type: vue.PropType<ProTableProps["actionProps"]>;
117
116
  default: () => {
118
117
  placement: string;
119
118
  };
120
119
  };
121
120
  listToolAfter: {
122
- type: vue6.PropType<ProTableProps["listToolAfter"]>;
121
+ type: vue.PropType<ProTableProps["listToolAfter"]>;
123
122
  default: () => any;
124
123
  };
125
124
  headerTitle: {
126
- type: vue6.PropType<ProTableProps["headerTitle"]>;
125
+ type: vue.PropType<ProTableProps["headerTitle"]>;
127
126
  default: () => any;
128
127
  };
129
128
  headerTitleTip: {
130
- type: vue6.PropType<ProTableProps["headerTitleTip"]>;
129
+ type: vue.PropType<ProTableProps["headerTitleTip"]>;
131
130
  default: () => any;
132
131
  };
133
132
  titleTipText: {
134
- type: vue6.PropType<ProTableProps["titleTipText"]>;
133
+ type: vue.PropType<ProTableProps["titleTipText"]>;
135
134
  };
136
135
  options: {
137
- type: vue6.PropType<ProTableProps["options"]>;
136
+ type: vue.PropType<ProTableProps["options"]>;
138
137
  default: boolean;
139
138
  };
140
139
  keepAliveReload: {
141
- type: vue6.PropType<ProTableProps["keepAliveReload"]>;
140
+ type: vue.PropType<ProTableProps["keepAliveReload"]>;
142
141
  default: boolean;
143
142
  };
144
143
  showIndex: {
145
- type: vue6.PropType<ProTableProps["showIndex"]>;
144
+ type: vue.PropType<ProTableProps["showIndex"]>;
146
145
  default: boolean;
147
146
  };
148
147
  cardBordered: {
149
- type: vue6.PropType<ProTableProps["showIndex"]>;
148
+ type: vue.PropType<ProTableProps["showIndex"]>;
150
149
  default: boolean;
151
150
  };
152
151
  pageItemRender: {
153
- type: vue6.PropType<ProTableProps["pageItemRender"]>;
152
+ type: vue.PropType<ProTableProps["pageItemRender"]>;
154
153
  default: () => any;
155
154
  };
156
155
  size: {
157
- type: vue6.PropType<ProTableProps["size"]>;
156
+ type: vue.PropType<ProTableProps["size"]>;
158
157
  default: string;
159
158
  };
160
159
  align: {
161
- type: vue6.PropType<ProTableProps["align"]>;
160
+ type: vue.PropType<ProTableProps["align"]>;
162
161
  default: string;
163
162
  };
164
- draggable: vue6.PropType<ProTableProps["draggable"]>;
163
+ draggable: vue.PropType<ProTableProps["draggable"]>;
165
164
  autoScroll: {
166
- type: vue6.PropType<ProTableProps["autoScroll"]>;
165
+ type: vue.PropType<ProTableProps["autoScroll"]>;
167
166
  default: boolean;
168
167
  };
169
- scrollBreakpoint: vue6.PropType<ProTableProps["scrollBreakpoint"]>;
170
- modalScroll: vue6.PropType<ProTableProps["modalScroll"]>;
171
- neverScroll: vue6.PropType<ProTableProps["neverScroll"]>;
168
+ scrollBreakpoint: vue.PropType<ProTableProps["scrollBreakpoint"]>;
169
+ modalScroll: vue.PropType<ProTableProps["modalScroll"]>;
170
+ neverScroll: vue.PropType<ProTableProps["neverScroll"]>;
172
171
  columnEmptyText: {
173
- type: vue6.PropType<ProTableProps["columnEmptyText"]>;
172
+ type: vue.PropType<ProTableProps["columnEmptyText"]>;
174
173
  default: any;
175
174
  };
176
- postData: vue6.PropType<ProTableProps["postData"]>;
177
- onReset: vue6.PropType<ProTableProps["onReset"]>;
178
- onReload: vue6.PropType<ProTableProps["onReload"]>;
179
- onSubmit: vue6.PropType<ProTableProps["onSubmit"]>;
180
- onChange: vue6.PropType<ProTableProps["onChange"]>;
181
- onSizeChange: vue6.PropType<ProTableProps["onSizeChange"]>;
182
- onLoadingChange: vue6.PropType<ProTableProps["onLoadingChange"]>;
183
- onRequestError: vue6.PropType<ProTableProps["onRequestError"]>;
184
- onBeforeSearchSubmit: vue6.PropType<ProTableProps["onBeforeSearchSubmit"]>;
185
- onExpand: vue6.PropType<ProTableProps["onExpand"]>;
186
- onResizeColumn: vue6.PropType<ProTableProps["onResizeColumn"]>;
187
- onExpandedRowsChange: vue6.PropType<ProTableProps["onExpandedRowsChange"]>;
175
+ postData: vue.PropType<ProTableProps["postData"]>;
176
+ onReset: vue.PropType<ProTableProps["onReset"]>;
177
+ onReload: vue.PropType<ProTableProps["onReload"]>;
178
+ onSubmit: vue.PropType<ProTableProps["onSubmit"]>;
179
+ onChange: vue.PropType<ProTableProps["onChange"]>;
180
+ onSizeChange: vue.PropType<ProTableProps["onSizeChange"]>;
181
+ onLoadingChange: vue.PropType<ProTableProps["onLoadingChange"]>;
182
+ onRequestError: vue.PropType<ProTableProps["onRequestError"]>;
183
+ onBeforeSearchSubmit: vue.PropType<ProTableProps["onBeforeSearchSubmit"]>;
184
+ onExpand: vue.PropType<ProTableProps["onExpand"]>;
185
+ onResizeColumn: vue.PropType<ProTableProps["onResizeColumn"]>;
186
+ onExpandedRowsChange: vue.PropType<ProTableProps["onExpandedRowsChange"]>;
188
187
  direction: {
189
- type: vue6.PropType<"rtl" | "ltr">;
188
+ type: vue.PropType<"rtl" | "ltr">;
190
189
  default: string;
191
190
  };
192
191
  bordered: {
193
- type: vue6.PropType<ant_design_vue0.TableProps["bordered"]>;
192
+ type: vue.PropType<ant_design_vue0.TableProps["bordered"]>;
194
193
  default: any;
195
194
  };
196
195
  loading: {
197
- type: vue6.PropType<boolean | SpinProps>;
196
+ type: vue.PropType<boolean | SpinProps>;
198
197
  default: any;
199
198
  };
200
199
  scroll: {
201
- type: vue6.PropType<ant_design_vue_es_vc_table_Table0.TableProps["scroll"] & {
200
+ type: vue.PropType<ant_design_vue_es_vc_table_Table0.TableProps["scroll"] & {
202
201
  scrollToFirstRowOnChange?: boolean;
203
202
  }>;
204
203
  default: any;
205
204
  };
206
205
  'onUpdate:expandedRowKeys': {
207
- type: vue6.PropType<(expandedKeys: ant_design_vue_es_vc_table_interface3.Key[]) => void>;
208
- default: (expandedKeys: ant_design_vue_es_vc_table_interface3.Key[]) => void;
206
+ type: vue.PropType<(expandedKeys: ant_design_vue_es_vc_table_interface0.Key[]) => void>;
207
+ default: (expandedKeys: ant_design_vue_es_vc_table_interface0.Key[]) => void;
209
208
  };
210
- }>, () => ant_design_vue_es__util_type0.VueNode, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, ("reset" | "reload" | "submit" | "sizeChange" | "expandedRowsChange" | "expand" | "change" | "requestError" | "columnsStateChange" | "loadingChange")[], "reset" | "reload" | "submit" | "sizeChange" | "expandedRowsChange" | "expand" | "change" | "requestError" | "columnsStateChange" | "loadingChange", vue6.PublicProps, Readonly<vue6.ExtractPropTypes<{
209
+ }>, () => ant_design_vue_es__util_type0.VueNode, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("reset" | "submit" | "reload" | "sizeChange" | "expandedRowsChange" | "expand" | "change" | "requestError" | "columnsStateChange" | "loadingChange")[], "reset" | "submit" | "reload" | "sizeChange" | "expandedRowsChange" | "expand" | "change" | "requestError" | "columnsStateChange" | "loadingChange", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
211
210
  id: {
212
- type: vue6.PropType<string>;
211
+ type: vue.PropType<string>;
213
212
  default: string;
214
213
  };
215
214
  class: {
216
- type: vue6.PropType<string>;
215
+ type: vue.PropType<string>;
217
216
  default: string;
218
217
  };
219
218
  style: {
220
- type: vue6.PropType<vue6.CSSProperties>;
219
+ type: vue.PropType<vue.CSSProperties>;
221
220
  default: () => {};
222
221
  };
223
222
  classNames: {
224
- type: vue6.PropType<TableClassNamesType>;
223
+ type: vue.PropType<TableClassNamesType>;
225
224
  default: () => {};
226
225
  };
227
226
  styles: {
228
- type: vue6.PropType<TableStylesType>;
227
+ type: vue.PropType<TableStylesType>;
229
228
  default: () => {};
230
229
  };
231
230
  fitPage: {
232
- type: vue6.PropType<ProTableProps["fitPage"]>;
231
+ type: vue.PropType<ProTableProps["fitPage"]>;
233
232
  default: boolean;
234
233
  };
235
234
  rowSelection: {
236
- type: vue6.PropType<ProTableRowSelection>;
235
+ type: vue.PropType<ProTableRowSelection>;
237
236
  default: any;
238
237
  };
239
238
  columns: {
240
- type: vue6.PropType<ProTableProps["columns"]>;
239
+ type: vue.PropType<ProTableProps["columns"]>;
241
240
  default: () => any[];
242
241
  };
243
242
  pagination: {
244
- type: vue6.PropType<ProTableProps["pagination"]>;
243
+ type: vue.PropType<ProTableProps["pagination"]>;
245
244
  default: () => any;
246
245
  };
247
246
  rowKey: {
248
- type: vue6.PropType<string>;
247
+ type: vue.PropType<string>;
249
248
  default: string;
250
249
  };
251
250
  request: {
252
- type: vue6.PropType<ProTableProps["request"]>;
251
+ type: vue.PropType<ProTableProps["request"]>;
253
252
  default: any;
254
253
  };
255
254
  autoRequest: {
256
- type: vue6.PropType<ProTableProps["autoRequest"]>;
255
+ type: vue.PropType<ProTableProps["autoRequest"]>;
257
256
  default: boolean;
258
257
  };
259
- virtualScroll: vue6.PropType<ProTableProps["virtualScroll"]>;
258
+ virtualScroll: vue.PropType<ProTableProps["virtualScroll"]>;
260
259
  params: {
261
- type: vue6.PropType<ProTableProps["params"]>;
260
+ type: vue.PropType<ProTableProps["params"]>;
262
261
  default: () => {};
263
262
  };
264
263
  waitRequest: {
265
- type: vue6.PropType<ProTableProps["waitRequest"]>;
264
+ type: vue.PropType<ProTableProps["waitRequest"]>;
266
265
  default: boolean;
267
266
  };
268
- title: vue6.PropType<ProTableProps["title"]>;
269
- footer: vue6.PropType<ProTableProps["footer"]>;
270
- transformCellText: vue6.PropType<ProTableProps["transformCellText"]>;
271
- rowExpandable: vue6.PropType<ProTableProps["rowExpandable"]>;
272
- rowClassName: vue6.PropType<ProTableProps["rowClassName"]>;
273
- expandIcon: vue6.PropType<ProTableProps["expandIcon"]>;
274
- expandedRowKeys: vue6.PropType<ProTableProps["expandedRowKeys"]>;
275
- defaultExpandedRowKeys: vue6.PropType<ProTableProps["defaultExpandedRowKeys"]>;
276
- expandedRowRender: vue6.PropType<ProTableProps["expandedRowRender"]>;
277
- customRow: vue6.PropType<ProTableProps["customRow"]>;
278
- customHeaderRow: vue6.PropType<ProTableProps["customHeaderRow"]>;
279
- polling: vue6.PropType<ProTableProps["polling"]>;
267
+ title: vue.PropType<ProTableProps["title"]>;
268
+ footer: vue.PropType<ProTableProps["footer"]>;
269
+ transformCellText: vue.PropType<ProTableProps["transformCellText"]>;
270
+ rowExpandable: vue.PropType<ProTableProps["rowExpandable"]>;
271
+ rowClassName: vue.PropType<ProTableProps["rowClassName"]>;
272
+ expandIcon: vue.PropType<ProTableProps["expandIcon"]>;
273
+ expandedRowKeys: vue.PropType<ProTableProps["expandedRowKeys"]>;
274
+ defaultExpandedRowKeys: vue.PropType<ProTableProps["defaultExpandedRowKeys"]>;
275
+ expandedRowRender: vue.PropType<ProTableProps["expandedRowRender"]>;
276
+ customRow: vue.PropType<ProTableProps["customRow"]>;
277
+ customHeaderRow: vue.PropType<ProTableProps["customHeaderRow"]>;
278
+ polling: vue.PropType<ProTableProps["polling"]>;
280
279
  debounceTime: {
281
- type: vue6.PropType<ProTableProps["debounceTime"]>;
280
+ type: vue.PropType<ProTableProps["debounceTime"]>;
282
281
  default: number;
283
282
  };
284
283
  form: {
285
- type: vue6.PropType<ProTableProps["form"]>;
284
+ type: vue.PropType<ProTableProps["form"]>;
286
285
  default: () => any;
287
286
  };
288
287
  searchMap: {
289
- type: vue6.PropType<ProTableProps["searchMap"]>;
288
+ type: vue.PropType<ProTableProps["searchMap"]>;
290
289
  default: () => any[];
291
290
  };
292
291
  customRender: {
293
- type: vue6.PropType<ProTableProps["customRender"]>;
292
+ type: vue.PropType<ProTableProps["customRender"]>;
294
293
  default: () => any;
295
294
  };
296
295
  emptyText: {
297
- type: vue6.PropType<ProTableProps["emptyText"]>;
296
+ type: vue.PropType<ProTableProps["emptyText"]>;
298
297
  default: () => any;
299
298
  };
300
299
  showLoading: {
301
- type: vue6.PropType<ProTableProps["showLoading"]>;
300
+ type: vue.PropType<ProTableProps["showLoading"]>;
302
301
  default: boolean;
303
302
  };
304
303
  emptyTextProps: {
305
- type: vue6.PropType<ProTableProps["emptyTextProps"]>;
304
+ type: vue.PropType<ProTableProps["emptyTextProps"]>;
306
305
  default: () => ProTableProps["emptyTextProps"];
307
306
  };
308
307
  actionProps: {
309
- type: vue6.PropType<ProTableProps["actionProps"]>;
308
+ type: vue.PropType<ProTableProps["actionProps"]>;
310
309
  default: () => {
311
310
  placement: string;
312
311
  };
313
312
  };
314
313
  listToolAfter: {
315
- type: vue6.PropType<ProTableProps["listToolAfter"]>;
314
+ type: vue.PropType<ProTableProps["listToolAfter"]>;
316
315
  default: () => any;
317
316
  };
318
317
  headerTitle: {
319
- type: vue6.PropType<ProTableProps["headerTitle"]>;
318
+ type: vue.PropType<ProTableProps["headerTitle"]>;
320
319
  default: () => any;
321
320
  };
322
321
  headerTitleTip: {
323
- type: vue6.PropType<ProTableProps["headerTitleTip"]>;
322
+ type: vue.PropType<ProTableProps["headerTitleTip"]>;
324
323
  default: () => any;
325
324
  };
326
325
  titleTipText: {
327
- type: vue6.PropType<ProTableProps["titleTipText"]>;
326
+ type: vue.PropType<ProTableProps["titleTipText"]>;
328
327
  };
329
328
  options: {
330
- type: vue6.PropType<ProTableProps["options"]>;
329
+ type: vue.PropType<ProTableProps["options"]>;
331
330
  default: boolean;
332
331
  };
333
332
  keepAliveReload: {
334
- type: vue6.PropType<ProTableProps["keepAliveReload"]>;
333
+ type: vue.PropType<ProTableProps["keepAliveReload"]>;
335
334
  default: boolean;
336
335
  };
337
336
  showIndex: {
338
- type: vue6.PropType<ProTableProps["showIndex"]>;
337
+ type: vue.PropType<ProTableProps["showIndex"]>;
339
338
  default: boolean;
340
339
  };
341
340
  cardBordered: {
342
- type: vue6.PropType<ProTableProps["showIndex"]>;
341
+ type: vue.PropType<ProTableProps["showIndex"]>;
343
342
  default: boolean;
344
343
  };
345
344
  pageItemRender: {
346
- type: vue6.PropType<ProTableProps["pageItemRender"]>;
345
+ type: vue.PropType<ProTableProps["pageItemRender"]>;
347
346
  default: () => any;
348
347
  };
349
348
  size: {
350
- type: vue6.PropType<ProTableProps["size"]>;
349
+ type: vue.PropType<ProTableProps["size"]>;
351
350
  default: string;
352
351
  };
353
352
  align: {
354
- type: vue6.PropType<ProTableProps["align"]>;
353
+ type: vue.PropType<ProTableProps["align"]>;
355
354
  default: string;
356
355
  };
357
- draggable: vue6.PropType<ProTableProps["draggable"]>;
356
+ draggable: vue.PropType<ProTableProps["draggable"]>;
358
357
  autoScroll: {
359
- type: vue6.PropType<ProTableProps["autoScroll"]>;
358
+ type: vue.PropType<ProTableProps["autoScroll"]>;
360
359
  default: boolean;
361
360
  };
362
- scrollBreakpoint: vue6.PropType<ProTableProps["scrollBreakpoint"]>;
363
- modalScroll: vue6.PropType<ProTableProps["modalScroll"]>;
364
- neverScroll: vue6.PropType<ProTableProps["neverScroll"]>;
361
+ scrollBreakpoint: vue.PropType<ProTableProps["scrollBreakpoint"]>;
362
+ modalScroll: vue.PropType<ProTableProps["modalScroll"]>;
363
+ neverScroll: vue.PropType<ProTableProps["neverScroll"]>;
365
364
  columnEmptyText: {
366
- type: vue6.PropType<ProTableProps["columnEmptyText"]>;
365
+ type: vue.PropType<ProTableProps["columnEmptyText"]>;
367
366
  default: any;
368
367
  };
369
- postData: vue6.PropType<ProTableProps["postData"]>;
370
- onReset: vue6.PropType<ProTableProps["onReset"]>;
371
- onReload: vue6.PropType<ProTableProps["onReload"]>;
372
- onSubmit: vue6.PropType<ProTableProps["onSubmit"]>;
373
- onChange: vue6.PropType<ProTableProps["onChange"]>;
374
- onSizeChange: vue6.PropType<ProTableProps["onSizeChange"]>;
375
- onLoadingChange: vue6.PropType<ProTableProps["onLoadingChange"]>;
376
- onRequestError: vue6.PropType<ProTableProps["onRequestError"]>;
377
- onBeforeSearchSubmit: vue6.PropType<ProTableProps["onBeforeSearchSubmit"]>;
378
- onExpand: vue6.PropType<ProTableProps["onExpand"]>;
379
- onResizeColumn: vue6.PropType<ProTableProps["onResizeColumn"]>;
380
- onExpandedRowsChange: vue6.PropType<ProTableProps["onExpandedRowsChange"]>;
368
+ postData: vue.PropType<ProTableProps["postData"]>;
369
+ onReset: vue.PropType<ProTableProps["onReset"]>;
370
+ onReload: vue.PropType<ProTableProps["onReload"]>;
371
+ onSubmit: vue.PropType<ProTableProps["onSubmit"]>;
372
+ onChange: vue.PropType<ProTableProps["onChange"]>;
373
+ onSizeChange: vue.PropType<ProTableProps["onSizeChange"]>;
374
+ onLoadingChange: vue.PropType<ProTableProps["onLoadingChange"]>;
375
+ onRequestError: vue.PropType<ProTableProps["onRequestError"]>;
376
+ onBeforeSearchSubmit: vue.PropType<ProTableProps["onBeforeSearchSubmit"]>;
377
+ onExpand: vue.PropType<ProTableProps["onExpand"]>;
378
+ onResizeColumn: vue.PropType<ProTableProps["onResizeColumn"]>;
379
+ onExpandedRowsChange: vue.PropType<ProTableProps["onExpandedRowsChange"]>;
381
380
  direction: {
382
- type: vue6.PropType<"rtl" | "ltr">;
381
+ type: vue.PropType<"rtl" | "ltr">;
383
382
  default: string;
384
383
  };
385
384
  bordered: {
386
- type: vue6.PropType<ant_design_vue0.TableProps["bordered"]>;
385
+ type: vue.PropType<ant_design_vue0.TableProps["bordered"]>;
387
386
  default: any;
388
387
  };
389
388
  loading: {
390
- type: vue6.PropType<boolean | SpinProps>;
389
+ type: vue.PropType<boolean | SpinProps>;
391
390
  default: any;
392
391
  };
393
392
  scroll: {
394
- type: vue6.PropType<ant_design_vue_es_vc_table_Table0.TableProps["scroll"] & {
393
+ type: vue.PropType<ant_design_vue_es_vc_table_Table0.TableProps["scroll"] & {
395
394
  scrollToFirstRowOnChange?: boolean;
396
395
  }>;
397
396
  default: any;
398
397
  };
399
398
  'onUpdate:expandedRowKeys': {
400
- type: vue6.PropType<(expandedKeys: ant_design_vue_es_vc_table_interface3.Key[]) => void>;
401
- default: (expandedKeys: ant_design_vue_es_vc_table_interface3.Key[]) => void;
399
+ type: vue.PropType<(expandedKeys: ant_design_vue_es_vc_table_interface0.Key[]) => void>;
400
+ default: (expandedKeys: ant_design_vue_es_vc_table_interface0.Key[]) => void;
402
401
  };
403
402
  }>> & Readonly<{
404
403
  onExpand?: (...args: any[]) => any;
@@ -412,38 +411,32 @@ declare const ProTable: vue6.DefineComponent<vue6.ExtractPropTypes<{
412
411
  onRequestError?: (...args: any[]) => any;
413
412
  onColumnsStateChange?: (...args: any[]) => any;
414
413
  }>, {
415
- loading: any;
416
- request: RequestFunction<RecordType, RecordType>;
417
- size: "small" | "large" | "middle";
418
- debounceTime: number;
419
- form: any;
420
- headerTitle: DefaultRender;
421
- headerTitleTip: DefaultRender;
422
- listToolAfter: DefaultRender;
423
- pageItemRender: PageItemRender;
414
+ size: "small" | "middle" | "large";
415
+ align: ant_design_vue_es_vc_table_interface0.AlignType;
424
416
  customRender: CustomDataRender;
425
- emptyText: DefaultRender;
426
- align: ant_design_vue_es_vc_table_interface3.AlignType;
427
417
  class: string;
428
418
  columnEmptyText: ProFieldEmptyText<RecordType>;
429
- columns: ProColumnsType<RecordType, RecordType>;
419
+ options: boolean;
420
+ loading: any;
421
+ debounceTime: number;
430
422
  scroll: {
431
423
  x?: number | true | string;
432
424
  y?: number | string;
433
425
  } & {
434
426
  scrollToFirstRowOnChange?: boolean;
435
427
  };
428
+ columns: ProColumnsType<RecordType, RecordType>;
436
429
  rowKey: string;
437
430
  id: string;
438
- direction: "rtl" | "ltr";
439
431
  pagination: any;
432
+ emptyText: DefaultRender;
433
+ direction: "rtl" | "ltr";
440
434
  bordered: boolean;
441
435
  rowSelection: ProTableRowSelection;
442
- 'onUpdate:expandedRowKeys': (expandedKeys: ant_design_vue_es_vc_table_interface3.Key[]) => void;
443
436
  fitPage: boolean;
444
- style: vue6.CSSProperties;
437
+ style: vue.CSSProperties;
445
438
  classNames: Partial<Record<TableSemanticName, string>>;
446
- styles: Partial<Record<TableSemanticName, vue6.CSSProperties>>;
439
+ styles: Partial<Record<TableSemanticName, vue.CSSProperties>>;
447
440
  actionProps: {
448
441
  placement?: TableActionPlacement;
449
442
  actions?: DefaultRender[];
@@ -452,17 +445,23 @@ declare const ProTable: vue6.DefineComponent<vue6.ExtractPropTypes<{
452
445
  keepAliveReload: boolean;
453
446
  emptyTextProps: {
454
447
  class?: string;
455
- style?: vue6.CSSProperties;
448
+ style?: vue.CSSProperties;
456
449
  extraProps?: RecordType;
457
450
  };
458
451
  showLoading: boolean;
459
452
  showIndex: boolean;
460
453
  cardBordered: boolean;
461
- options: boolean;
462
454
  waitRequest: boolean;
455
+ request: RequestFunction<RecordType, RecordType>;
463
456
  autoRequest: boolean;
464
457
  params: RecordType;
458
+ form: any;
465
459
  searchMap: ProSearchMap<undefined, string>[];
460
+ headerTitle: DefaultRender;
461
+ headerTitleTip: DefaultRender;
462
+ listToolAfter: DefaultRender;
463
+ pageItemRender: PageItemRender;
464
+ 'onUpdate:expandedRowKeys': (expandedKeys: ant_design_vue_es_vc_table_interface0.Key[]) => void;
466
465
  }, SlotsType<{
467
466
  form: () => any;
468
467
  actions: () => any;
@@ -492,6 +491,6 @@ declare const ProTable: vue6.DefineComponent<vue6.ExtractPropTypes<{
492
491
  }) => any;
493
492
  customFilterIcon: () => any;
494
493
  customFilterDropdown: () => any;
495
- }>, {}, {}, string, vue6.ComponentProvideOptions, true, {}, any>;
494
+ }>, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
496
495
  //#endregion
497
496
  export { ProTable as default };