@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.
- package/dist/ProTable.d.ts +163 -164
- package/dist/ProTable.js +10 -13
- package/dist/components/Form/components/RequestSelect.d.ts +5 -5
- package/dist/components/Form/components/RequestSelect.js +1 -3
- package/dist/components/Form/hooks/useForm.js +1 -3
- package/dist/components/Form/index.d.ts +2 -3
- package/dist/components/Form/index.js +13 -16
- package/dist/components/Form/style.js +1 -2
- package/dist/components/Form/utils/config.js +1 -2
- package/dist/components/Form/utils/dateFormat.js +1 -3
- package/dist/components/ListToolBar/index.d.ts +4 -5
- package/dist/components/ListToolBar/index.js +14 -17
- package/dist/components/ListToolBar/style.js +1 -2
- package/dist/components/ScrollBar/Bar/index.d.ts +15 -15
- package/dist/components/ScrollBar/Bar/index.js +11 -14
- package/dist/components/ScrollBar/Bar/props.js +1 -2
- package/dist/components/ScrollBar/Thumb/index.d.ts +8 -8
- package/dist/components/ScrollBar/Thumb/index.js +1 -4
- package/dist/components/ScrollBar/Thumb/props.js +1 -2
- package/dist/components/ScrollBar/context.js +1 -3
- package/dist/components/ScrollBar/util.js +1 -3
- package/dist/components/TableCell/index.d.ts +5 -5
- package/dist/components/TableCell/index.js +1 -4
- package/dist/components/ToolBar/FullscreenIcon.d.ts +2 -2
- package/dist/components/ToolBar/FullscreenIcon.js +1 -4
- package/dist/components/ToolBar/index.d.ts +5 -5
- package/dist/components/ToolBar/index.js +5 -8
- package/dist/context/TableContext.js +1 -3
- package/dist/hooks/tryOnActivated.js +1 -3
- package/dist/hooks/useColumns.js +1 -3
- package/dist/hooks/useDebounceFn.js +1 -4
- package/dist/hooks/useFetchData.js +3 -6
- package/dist/hooks/useLoading.js +1 -3
- package/dist/hooks/usePagination.js +1 -3
- package/dist/hooks/useRowSelection.js +1 -3
- package/dist/hooks/useScrollArea.js +1 -3
- package/dist/hooks/useTable.js +1 -3
- package/dist/hooks/useTableForm.js +1 -3
- package/dist/hooks/useTableScroll.js +1 -3
- package/dist/hooks/useTableSize.js +1 -3
- package/dist/index.js +2 -3
- package/dist/pro-table.esm.js +1418 -1267
- package/dist/pro-table.js +1 -1
- package/dist/props.d.ts +3 -3
- package/dist/props.js +25 -29
- package/dist/style/fit-page.js +1 -2
- package/dist/style/index.js +1 -3
- package/dist/style/list.js +1 -2
- package/dist/style/scroll.js +1 -3
- package/dist/types/ColumnTypings.js +1 -1
- package/dist/types/SlotsTypings.js +1 -2
- package/dist/types/TableTypings.js +1 -1
- package/dist/types/index.js +1 -1
- package/dist/utils/utils.js +1 -3
- package/package.json +4 -4
package/dist/ProTable.d.ts
CHANGED
|
@@ -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 "
|
|
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
|
|
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:
|
|
16
|
+
declare const ProTable: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
18
17
|
id: {
|
|
19
|
-
type:
|
|
18
|
+
type: vue.PropType<string>;
|
|
20
19
|
default: string;
|
|
21
20
|
};
|
|
22
21
|
class: {
|
|
23
|
-
type:
|
|
22
|
+
type: vue.PropType<string>;
|
|
24
23
|
default: string;
|
|
25
24
|
};
|
|
26
25
|
style: {
|
|
27
|
-
type:
|
|
26
|
+
type: vue.PropType<vue.CSSProperties>;
|
|
28
27
|
default: () => {};
|
|
29
28
|
};
|
|
30
29
|
classNames: {
|
|
31
|
-
type:
|
|
30
|
+
type: vue.PropType<TableClassNamesType>;
|
|
32
31
|
default: () => {};
|
|
33
32
|
};
|
|
34
33
|
styles: {
|
|
35
|
-
type:
|
|
34
|
+
type: vue.PropType<TableStylesType>;
|
|
36
35
|
default: () => {};
|
|
37
36
|
};
|
|
38
37
|
fitPage: {
|
|
39
|
-
type:
|
|
38
|
+
type: vue.PropType<ProTableProps["fitPage"]>;
|
|
40
39
|
default: boolean;
|
|
41
40
|
};
|
|
42
41
|
rowSelection: {
|
|
43
|
-
type:
|
|
42
|
+
type: vue.PropType<ProTableRowSelection>;
|
|
44
43
|
default: any;
|
|
45
44
|
};
|
|
46
45
|
columns: {
|
|
47
|
-
type:
|
|
46
|
+
type: vue.PropType<ProTableProps["columns"]>;
|
|
48
47
|
default: () => any[];
|
|
49
48
|
};
|
|
50
49
|
pagination: {
|
|
51
|
-
type:
|
|
50
|
+
type: vue.PropType<ProTableProps["pagination"]>;
|
|
52
51
|
default: () => any;
|
|
53
52
|
};
|
|
54
53
|
rowKey: {
|
|
55
|
-
type:
|
|
54
|
+
type: vue.PropType<string>;
|
|
56
55
|
default: string;
|
|
57
56
|
};
|
|
58
57
|
request: {
|
|
59
|
-
type:
|
|
58
|
+
type: vue.PropType<ProTableProps["request"]>;
|
|
60
59
|
default: any;
|
|
61
60
|
};
|
|
62
61
|
autoRequest: {
|
|
63
|
-
type:
|
|
62
|
+
type: vue.PropType<ProTableProps["autoRequest"]>;
|
|
64
63
|
default: boolean;
|
|
65
64
|
};
|
|
66
|
-
virtualScroll:
|
|
65
|
+
virtualScroll: vue.PropType<ProTableProps["virtualScroll"]>;
|
|
67
66
|
params: {
|
|
68
|
-
type:
|
|
67
|
+
type: vue.PropType<ProTableProps["params"]>;
|
|
69
68
|
default: () => {};
|
|
70
69
|
};
|
|
71
70
|
waitRequest: {
|
|
72
|
-
type:
|
|
71
|
+
type: vue.PropType<ProTableProps["waitRequest"]>;
|
|
73
72
|
default: boolean;
|
|
74
73
|
};
|
|
75
|
-
title:
|
|
76
|
-
footer:
|
|
77
|
-
transformCellText:
|
|
78
|
-
rowExpandable:
|
|
79
|
-
rowClassName:
|
|
80
|
-
expandIcon:
|
|
81
|
-
expandedRowKeys:
|
|
82
|
-
defaultExpandedRowKeys:
|
|
83
|
-
expandedRowRender:
|
|
84
|
-
customRow:
|
|
85
|
-
customHeaderRow:
|
|
86
|
-
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:
|
|
87
|
+
type: vue.PropType<ProTableProps["debounceTime"]>;
|
|
89
88
|
default: number;
|
|
90
89
|
};
|
|
91
90
|
form: {
|
|
92
|
-
type:
|
|
91
|
+
type: vue.PropType<ProTableProps["form"]>;
|
|
93
92
|
default: () => any;
|
|
94
93
|
};
|
|
95
94
|
searchMap: {
|
|
96
|
-
type:
|
|
95
|
+
type: vue.PropType<ProTableProps["searchMap"]>;
|
|
97
96
|
default: () => any[];
|
|
98
97
|
};
|
|
99
98
|
customRender: {
|
|
100
|
-
type:
|
|
99
|
+
type: vue.PropType<ProTableProps["customRender"]>;
|
|
101
100
|
default: () => any;
|
|
102
101
|
};
|
|
103
102
|
emptyText: {
|
|
104
|
-
type:
|
|
103
|
+
type: vue.PropType<ProTableProps["emptyText"]>;
|
|
105
104
|
default: () => any;
|
|
106
105
|
};
|
|
107
106
|
showLoading: {
|
|
108
|
-
type:
|
|
107
|
+
type: vue.PropType<ProTableProps["showLoading"]>;
|
|
109
108
|
default: boolean;
|
|
110
109
|
};
|
|
111
110
|
emptyTextProps: {
|
|
112
|
-
type:
|
|
111
|
+
type: vue.PropType<ProTableProps["emptyTextProps"]>;
|
|
113
112
|
default: () => ProTableProps["emptyTextProps"];
|
|
114
113
|
};
|
|
115
114
|
actionProps: {
|
|
116
|
-
type:
|
|
115
|
+
type: vue.PropType<ProTableProps["actionProps"]>;
|
|
117
116
|
default: () => {
|
|
118
117
|
placement: string;
|
|
119
118
|
};
|
|
120
119
|
};
|
|
121
120
|
listToolAfter: {
|
|
122
|
-
type:
|
|
121
|
+
type: vue.PropType<ProTableProps["listToolAfter"]>;
|
|
123
122
|
default: () => any;
|
|
124
123
|
};
|
|
125
124
|
headerTitle: {
|
|
126
|
-
type:
|
|
125
|
+
type: vue.PropType<ProTableProps["headerTitle"]>;
|
|
127
126
|
default: () => any;
|
|
128
127
|
};
|
|
129
128
|
headerTitleTip: {
|
|
130
|
-
type:
|
|
129
|
+
type: vue.PropType<ProTableProps["headerTitleTip"]>;
|
|
131
130
|
default: () => any;
|
|
132
131
|
};
|
|
133
132
|
titleTipText: {
|
|
134
|
-
type:
|
|
133
|
+
type: vue.PropType<ProTableProps["titleTipText"]>;
|
|
135
134
|
};
|
|
136
135
|
options: {
|
|
137
|
-
type:
|
|
136
|
+
type: vue.PropType<ProTableProps["options"]>;
|
|
138
137
|
default: boolean;
|
|
139
138
|
};
|
|
140
139
|
keepAliveReload: {
|
|
141
|
-
type:
|
|
140
|
+
type: vue.PropType<ProTableProps["keepAliveReload"]>;
|
|
142
141
|
default: boolean;
|
|
143
142
|
};
|
|
144
143
|
showIndex: {
|
|
145
|
-
type:
|
|
144
|
+
type: vue.PropType<ProTableProps["showIndex"]>;
|
|
146
145
|
default: boolean;
|
|
147
146
|
};
|
|
148
147
|
cardBordered: {
|
|
149
|
-
type:
|
|
148
|
+
type: vue.PropType<ProTableProps["showIndex"]>;
|
|
150
149
|
default: boolean;
|
|
151
150
|
};
|
|
152
151
|
pageItemRender: {
|
|
153
|
-
type:
|
|
152
|
+
type: vue.PropType<ProTableProps["pageItemRender"]>;
|
|
154
153
|
default: () => any;
|
|
155
154
|
};
|
|
156
155
|
size: {
|
|
157
|
-
type:
|
|
156
|
+
type: vue.PropType<ProTableProps["size"]>;
|
|
158
157
|
default: string;
|
|
159
158
|
};
|
|
160
159
|
align: {
|
|
161
|
-
type:
|
|
160
|
+
type: vue.PropType<ProTableProps["align"]>;
|
|
162
161
|
default: string;
|
|
163
162
|
};
|
|
164
|
-
draggable:
|
|
163
|
+
draggable: vue.PropType<ProTableProps["draggable"]>;
|
|
165
164
|
autoScroll: {
|
|
166
|
-
type:
|
|
165
|
+
type: vue.PropType<ProTableProps["autoScroll"]>;
|
|
167
166
|
default: boolean;
|
|
168
167
|
};
|
|
169
|
-
scrollBreakpoint:
|
|
170
|
-
modalScroll:
|
|
171
|
-
neverScroll:
|
|
168
|
+
scrollBreakpoint: vue.PropType<ProTableProps["scrollBreakpoint"]>;
|
|
169
|
+
modalScroll: vue.PropType<ProTableProps["modalScroll"]>;
|
|
170
|
+
neverScroll: vue.PropType<ProTableProps["neverScroll"]>;
|
|
172
171
|
columnEmptyText: {
|
|
173
|
-
type:
|
|
172
|
+
type: vue.PropType<ProTableProps["columnEmptyText"]>;
|
|
174
173
|
default: any;
|
|
175
174
|
};
|
|
176
|
-
postData:
|
|
177
|
-
onReset:
|
|
178
|
-
onReload:
|
|
179
|
-
onSubmit:
|
|
180
|
-
onChange:
|
|
181
|
-
onSizeChange:
|
|
182
|
-
onLoadingChange:
|
|
183
|
-
onRequestError:
|
|
184
|
-
onBeforeSearchSubmit:
|
|
185
|
-
onExpand:
|
|
186
|
-
onResizeColumn:
|
|
187
|
-
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:
|
|
188
|
+
type: vue.PropType<"rtl" | "ltr">;
|
|
190
189
|
default: string;
|
|
191
190
|
};
|
|
192
191
|
bordered: {
|
|
193
|
-
type:
|
|
192
|
+
type: vue.PropType<ant_design_vue0.TableProps["bordered"]>;
|
|
194
193
|
default: any;
|
|
195
194
|
};
|
|
196
195
|
loading: {
|
|
197
|
-
type:
|
|
196
|
+
type: vue.PropType<boolean | SpinProps>;
|
|
198
197
|
default: any;
|
|
199
198
|
};
|
|
200
199
|
scroll: {
|
|
201
|
-
type:
|
|
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:
|
|
208
|
-
default: (expandedKeys:
|
|
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, {}, {}, {},
|
|
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:
|
|
211
|
+
type: vue.PropType<string>;
|
|
213
212
|
default: string;
|
|
214
213
|
};
|
|
215
214
|
class: {
|
|
216
|
-
type:
|
|
215
|
+
type: vue.PropType<string>;
|
|
217
216
|
default: string;
|
|
218
217
|
};
|
|
219
218
|
style: {
|
|
220
|
-
type:
|
|
219
|
+
type: vue.PropType<vue.CSSProperties>;
|
|
221
220
|
default: () => {};
|
|
222
221
|
};
|
|
223
222
|
classNames: {
|
|
224
|
-
type:
|
|
223
|
+
type: vue.PropType<TableClassNamesType>;
|
|
225
224
|
default: () => {};
|
|
226
225
|
};
|
|
227
226
|
styles: {
|
|
228
|
-
type:
|
|
227
|
+
type: vue.PropType<TableStylesType>;
|
|
229
228
|
default: () => {};
|
|
230
229
|
};
|
|
231
230
|
fitPage: {
|
|
232
|
-
type:
|
|
231
|
+
type: vue.PropType<ProTableProps["fitPage"]>;
|
|
233
232
|
default: boolean;
|
|
234
233
|
};
|
|
235
234
|
rowSelection: {
|
|
236
|
-
type:
|
|
235
|
+
type: vue.PropType<ProTableRowSelection>;
|
|
237
236
|
default: any;
|
|
238
237
|
};
|
|
239
238
|
columns: {
|
|
240
|
-
type:
|
|
239
|
+
type: vue.PropType<ProTableProps["columns"]>;
|
|
241
240
|
default: () => any[];
|
|
242
241
|
};
|
|
243
242
|
pagination: {
|
|
244
|
-
type:
|
|
243
|
+
type: vue.PropType<ProTableProps["pagination"]>;
|
|
245
244
|
default: () => any;
|
|
246
245
|
};
|
|
247
246
|
rowKey: {
|
|
248
|
-
type:
|
|
247
|
+
type: vue.PropType<string>;
|
|
249
248
|
default: string;
|
|
250
249
|
};
|
|
251
250
|
request: {
|
|
252
|
-
type:
|
|
251
|
+
type: vue.PropType<ProTableProps["request"]>;
|
|
253
252
|
default: any;
|
|
254
253
|
};
|
|
255
254
|
autoRequest: {
|
|
256
|
-
type:
|
|
255
|
+
type: vue.PropType<ProTableProps["autoRequest"]>;
|
|
257
256
|
default: boolean;
|
|
258
257
|
};
|
|
259
|
-
virtualScroll:
|
|
258
|
+
virtualScroll: vue.PropType<ProTableProps["virtualScroll"]>;
|
|
260
259
|
params: {
|
|
261
|
-
type:
|
|
260
|
+
type: vue.PropType<ProTableProps["params"]>;
|
|
262
261
|
default: () => {};
|
|
263
262
|
};
|
|
264
263
|
waitRequest: {
|
|
265
|
-
type:
|
|
264
|
+
type: vue.PropType<ProTableProps["waitRequest"]>;
|
|
266
265
|
default: boolean;
|
|
267
266
|
};
|
|
268
|
-
title:
|
|
269
|
-
footer:
|
|
270
|
-
transformCellText:
|
|
271
|
-
rowExpandable:
|
|
272
|
-
rowClassName:
|
|
273
|
-
expandIcon:
|
|
274
|
-
expandedRowKeys:
|
|
275
|
-
defaultExpandedRowKeys:
|
|
276
|
-
expandedRowRender:
|
|
277
|
-
customRow:
|
|
278
|
-
customHeaderRow:
|
|
279
|
-
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:
|
|
280
|
+
type: vue.PropType<ProTableProps["debounceTime"]>;
|
|
282
281
|
default: number;
|
|
283
282
|
};
|
|
284
283
|
form: {
|
|
285
|
-
type:
|
|
284
|
+
type: vue.PropType<ProTableProps["form"]>;
|
|
286
285
|
default: () => any;
|
|
287
286
|
};
|
|
288
287
|
searchMap: {
|
|
289
|
-
type:
|
|
288
|
+
type: vue.PropType<ProTableProps["searchMap"]>;
|
|
290
289
|
default: () => any[];
|
|
291
290
|
};
|
|
292
291
|
customRender: {
|
|
293
|
-
type:
|
|
292
|
+
type: vue.PropType<ProTableProps["customRender"]>;
|
|
294
293
|
default: () => any;
|
|
295
294
|
};
|
|
296
295
|
emptyText: {
|
|
297
|
-
type:
|
|
296
|
+
type: vue.PropType<ProTableProps["emptyText"]>;
|
|
298
297
|
default: () => any;
|
|
299
298
|
};
|
|
300
299
|
showLoading: {
|
|
301
|
-
type:
|
|
300
|
+
type: vue.PropType<ProTableProps["showLoading"]>;
|
|
302
301
|
default: boolean;
|
|
303
302
|
};
|
|
304
303
|
emptyTextProps: {
|
|
305
|
-
type:
|
|
304
|
+
type: vue.PropType<ProTableProps["emptyTextProps"]>;
|
|
306
305
|
default: () => ProTableProps["emptyTextProps"];
|
|
307
306
|
};
|
|
308
307
|
actionProps: {
|
|
309
|
-
type:
|
|
308
|
+
type: vue.PropType<ProTableProps["actionProps"]>;
|
|
310
309
|
default: () => {
|
|
311
310
|
placement: string;
|
|
312
311
|
};
|
|
313
312
|
};
|
|
314
313
|
listToolAfter: {
|
|
315
|
-
type:
|
|
314
|
+
type: vue.PropType<ProTableProps["listToolAfter"]>;
|
|
316
315
|
default: () => any;
|
|
317
316
|
};
|
|
318
317
|
headerTitle: {
|
|
319
|
-
type:
|
|
318
|
+
type: vue.PropType<ProTableProps["headerTitle"]>;
|
|
320
319
|
default: () => any;
|
|
321
320
|
};
|
|
322
321
|
headerTitleTip: {
|
|
323
|
-
type:
|
|
322
|
+
type: vue.PropType<ProTableProps["headerTitleTip"]>;
|
|
324
323
|
default: () => any;
|
|
325
324
|
};
|
|
326
325
|
titleTipText: {
|
|
327
|
-
type:
|
|
326
|
+
type: vue.PropType<ProTableProps["titleTipText"]>;
|
|
328
327
|
};
|
|
329
328
|
options: {
|
|
330
|
-
type:
|
|
329
|
+
type: vue.PropType<ProTableProps["options"]>;
|
|
331
330
|
default: boolean;
|
|
332
331
|
};
|
|
333
332
|
keepAliveReload: {
|
|
334
|
-
type:
|
|
333
|
+
type: vue.PropType<ProTableProps["keepAliveReload"]>;
|
|
335
334
|
default: boolean;
|
|
336
335
|
};
|
|
337
336
|
showIndex: {
|
|
338
|
-
type:
|
|
337
|
+
type: vue.PropType<ProTableProps["showIndex"]>;
|
|
339
338
|
default: boolean;
|
|
340
339
|
};
|
|
341
340
|
cardBordered: {
|
|
342
|
-
type:
|
|
341
|
+
type: vue.PropType<ProTableProps["showIndex"]>;
|
|
343
342
|
default: boolean;
|
|
344
343
|
};
|
|
345
344
|
pageItemRender: {
|
|
346
|
-
type:
|
|
345
|
+
type: vue.PropType<ProTableProps["pageItemRender"]>;
|
|
347
346
|
default: () => any;
|
|
348
347
|
};
|
|
349
348
|
size: {
|
|
350
|
-
type:
|
|
349
|
+
type: vue.PropType<ProTableProps["size"]>;
|
|
351
350
|
default: string;
|
|
352
351
|
};
|
|
353
352
|
align: {
|
|
354
|
-
type:
|
|
353
|
+
type: vue.PropType<ProTableProps["align"]>;
|
|
355
354
|
default: string;
|
|
356
355
|
};
|
|
357
|
-
draggable:
|
|
356
|
+
draggable: vue.PropType<ProTableProps["draggable"]>;
|
|
358
357
|
autoScroll: {
|
|
359
|
-
type:
|
|
358
|
+
type: vue.PropType<ProTableProps["autoScroll"]>;
|
|
360
359
|
default: boolean;
|
|
361
360
|
};
|
|
362
|
-
scrollBreakpoint:
|
|
363
|
-
modalScroll:
|
|
364
|
-
neverScroll:
|
|
361
|
+
scrollBreakpoint: vue.PropType<ProTableProps["scrollBreakpoint"]>;
|
|
362
|
+
modalScroll: vue.PropType<ProTableProps["modalScroll"]>;
|
|
363
|
+
neverScroll: vue.PropType<ProTableProps["neverScroll"]>;
|
|
365
364
|
columnEmptyText: {
|
|
366
|
-
type:
|
|
365
|
+
type: vue.PropType<ProTableProps["columnEmptyText"]>;
|
|
367
366
|
default: any;
|
|
368
367
|
};
|
|
369
|
-
postData:
|
|
370
|
-
onReset:
|
|
371
|
-
onReload:
|
|
372
|
-
onSubmit:
|
|
373
|
-
onChange:
|
|
374
|
-
onSizeChange:
|
|
375
|
-
onLoadingChange:
|
|
376
|
-
onRequestError:
|
|
377
|
-
onBeforeSearchSubmit:
|
|
378
|
-
onExpand:
|
|
379
|
-
onResizeColumn:
|
|
380
|
-
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:
|
|
381
|
+
type: vue.PropType<"rtl" | "ltr">;
|
|
383
382
|
default: string;
|
|
384
383
|
};
|
|
385
384
|
bordered: {
|
|
386
|
-
type:
|
|
385
|
+
type: vue.PropType<ant_design_vue0.TableProps["bordered"]>;
|
|
387
386
|
default: any;
|
|
388
387
|
};
|
|
389
388
|
loading: {
|
|
390
|
-
type:
|
|
389
|
+
type: vue.PropType<boolean | SpinProps>;
|
|
391
390
|
default: any;
|
|
392
391
|
};
|
|
393
392
|
scroll: {
|
|
394
|
-
type:
|
|
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:
|
|
401
|
-
default: (expandedKeys:
|
|
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
|
-
|
|
416
|
-
|
|
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
|
-
|
|
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:
|
|
437
|
+
style: vue.CSSProperties;
|
|
445
438
|
classNames: Partial<Record<TableSemanticName, string>>;
|
|
446
|
-
styles: Partial<Record<TableSemanticName,
|
|
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?:
|
|
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,
|
|
494
|
+
}>, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
496
495
|
//#endregion
|
|
497
496
|
export { ProTable as default };
|