@gx-design-vue/pro-table 0.2.0-beta.5 → 0.2.0-beta.50
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 +327 -563
- package/dist/_utils/ant-design-vue/index.d.ts +2 -0
- package/dist/_utils/ant-design-vue/input/typings.d.ts +1 -0
- package/dist/_utils/ant-design-vue/spin/typings.d.ts +1 -0
- package/dist/_utils/ant-design-vue/table/props.d.ts +183 -2
- package/dist/_utils/ant-design-vue/table/typings.d.ts +4 -3
- package/dist/_utils/ant-design-vue/tooltip/typings.d.ts +1 -0
- package/dist/_utils/index.d.ts +0 -1
- package/dist/components/ColumnSetting/index.d.ts +12 -12
- package/dist/components/ColumnSetting/style.d.ts +2 -5
- package/dist/components/Form/index.d.ts +14 -13
- package/dist/components/Form/style.d.ts +2 -5
- package/dist/components/ListToolBar/index.d.ts +14 -14
- package/dist/components/ListToolBar/style.d.ts +2 -5
- package/dist/components/ToolBar/FullscreenIcon.d.ts +1 -2
- package/dist/components/ToolBar/index.d.ts +18 -18
- package/dist/context/TableContext.d.ts +5 -6
- package/dist/hooks/useColums.d.ts +5 -5
- package/dist/hooks/useFetchData.d.ts +10 -8
- package/dist/hooks/useLoading.d.ts +3 -11
- package/dist/hooks/usePagination.d.ts +2 -2
- package/dist/hooks/useRowSelection.d.ts +2 -1
- package/dist/hooks/useTable.d.ts +9 -4
- package/dist/hooks/useTableForm.d.ts +4 -3
- package/dist/hooks/useTableScroll.d.ts +6 -6
- package/dist/hooks/useTableSize.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/pro-table.js +2756 -0
- package/dist/pro-table.umd.cjs +1 -0
- package/dist/props.d.ts +135 -265
- package/dist/style.d.ts +2 -6
- package/dist/types/ColumnTypings.d.ts +1 -1
- package/dist/types/SlotsTypings.d.ts +1 -1
- package/dist/types/TableTypings.d.ts +43 -28
- package/dist/utils/utils.d.ts +3 -1
- package/package.json +20 -42
- package/dist/_utils/typings.d.ts +0 -9
- package/dist/pro-table.mjs +0 -32740
- package/dist/pro-table.umd.js +0 -328
package/dist/props.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ProTableProps, ProTableRowSelection, SearchConfig } from './types/TableTypings';
|
|
3
3
|
export declare const proTableProps: {
|
|
4
4
|
rowSelection: {
|
|
5
|
-
type: PropType<ProTableRowSelection
|
|
5
|
+
type: PropType<ProTableRowSelection>;
|
|
6
6
|
default: undefined;
|
|
7
7
|
};
|
|
8
8
|
columns: {
|
|
9
|
-
type: PropType<
|
|
9
|
+
type: PropType<ProTableProps["columns"]>;
|
|
10
10
|
default: never[];
|
|
11
11
|
};
|
|
12
12
|
pagination: {
|
|
13
|
-
type: PropType<
|
|
13
|
+
type: PropType<ProTableProps["pagination"]>;
|
|
14
14
|
default: () => undefined;
|
|
15
15
|
};
|
|
16
16
|
rowKey: {
|
|
17
|
-
type: PropType<
|
|
17
|
+
type: PropType<ProTableProps["rowKey"]>;
|
|
18
18
|
default: undefined;
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
@@ -24,19 +24,19 @@ export declare const proTableProps: {
|
|
|
24
24
|
* @description 获取 dataSource 的方法
|
|
25
25
|
*/
|
|
26
26
|
request: {
|
|
27
|
-
type: PropType<
|
|
27
|
+
type: PropType<ProTableProps["request"]>;
|
|
28
28
|
default: null;
|
|
29
29
|
};
|
|
30
|
-
virtualScroll: PropType<
|
|
31
|
-
params: PropType<
|
|
32
|
-
postData: PropType<
|
|
30
|
+
virtualScroll: PropType<ProTableProps["virtualScroll"]>;
|
|
31
|
+
params: PropType<ProTableProps["params"]>;
|
|
32
|
+
postData: PropType<ProTableProps["postData"]>;
|
|
33
33
|
waitRequest: {
|
|
34
|
-
type: PropType<
|
|
34
|
+
type: PropType<ProTableProps["waitRequest"]>;
|
|
35
35
|
default: boolean;
|
|
36
36
|
};
|
|
37
|
-
polling: PropType<
|
|
37
|
+
polling: PropType<ProTableProps["polling"]>;
|
|
38
38
|
debounceTime: {
|
|
39
|
-
type: PropType<
|
|
39
|
+
type: PropType<ProTableProps["debounceTime"]>;
|
|
40
40
|
default: number;
|
|
41
41
|
};
|
|
42
42
|
/**
|
|
@@ -46,11 +46,11 @@ export declare const proTableProps: {
|
|
|
46
46
|
* @description 是否显示搜索表单,传入对象时为搜索表单的配置
|
|
47
47
|
*/
|
|
48
48
|
search: {
|
|
49
|
-
type: PropType<
|
|
49
|
+
type: PropType<ProTableProps["search"]>;
|
|
50
50
|
default: () => SearchConfig;
|
|
51
51
|
};
|
|
52
52
|
searchMap: {
|
|
53
|
-
type: PropType<
|
|
53
|
+
type: PropType<ProTableProps["searchMap"]>;
|
|
54
54
|
default: () => never[];
|
|
55
55
|
};
|
|
56
56
|
/**
|
|
@@ -60,7 +60,7 @@ export declare const proTableProps: {
|
|
|
60
60
|
* @description 自定义表格渲染模式:默认表格展示,也可以自定义数据列表展示
|
|
61
61
|
*/
|
|
62
62
|
customRender: {
|
|
63
|
-
type: PropType<
|
|
63
|
+
type: PropType<ProTableProps["customRender"]>;
|
|
64
64
|
default: () => undefined;
|
|
65
65
|
};
|
|
66
66
|
/**
|
|
@@ -69,7 +69,11 @@ export declare const proTableProps: {
|
|
|
69
69
|
* @lastTime 2022/2/8
|
|
70
70
|
* @description 添加表格class
|
|
71
71
|
*/
|
|
72
|
-
|
|
72
|
+
showLoading: {
|
|
73
|
+
type: PropType<ProTableProps["showLoading"]>;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
tableClassName: PropType<ProTableProps["tableClassName"]>;
|
|
73
77
|
/**
|
|
74
78
|
* @Author gx12358
|
|
75
79
|
* @DateTime 2022/2/8
|
|
@@ -77,7 +81,7 @@ export declare const proTableProps: {
|
|
|
77
81
|
* @description 表格样式
|
|
78
82
|
*/
|
|
79
83
|
tableStyle: {
|
|
80
|
-
type: PropType<
|
|
84
|
+
type: PropType<ProTableProps["tableStyle"]>;
|
|
81
85
|
};
|
|
82
86
|
/**
|
|
83
87
|
* @Author gx12358
|
|
@@ -86,19 +90,19 @@ export declare const proTableProps: {
|
|
|
86
90
|
* @description 渲染按钮工具栏,支持返回一个 dom 数组,会自动增加 margin-right
|
|
87
91
|
*/
|
|
88
92
|
toolBarBtn: {
|
|
89
|
-
type: PropType<
|
|
93
|
+
type: PropType<ProTableProps["toolBarBtn"]>;
|
|
90
94
|
default: () => undefined;
|
|
91
95
|
};
|
|
92
96
|
headerTitle: {
|
|
93
|
-
type: PropType<
|
|
97
|
+
type: PropType<ProTableProps["headerTitle"]>;
|
|
94
98
|
default: () => undefined;
|
|
95
99
|
};
|
|
96
100
|
titleTip: {
|
|
97
|
-
type: PropType<
|
|
101
|
+
type: PropType<ProTableProps["titleTip"]>;
|
|
98
102
|
default: () => undefined;
|
|
99
103
|
};
|
|
100
104
|
titleTipText: {
|
|
101
|
-
type: PropType<
|
|
105
|
+
type: PropType<ProTableProps["titleTipText"]>;
|
|
102
106
|
default: string;
|
|
103
107
|
};
|
|
104
108
|
/**
|
|
@@ -108,7 +112,7 @@ export declare const proTableProps: {
|
|
|
108
112
|
* @description table 工具栏,设为 false 时不显示
|
|
109
113
|
*/
|
|
110
114
|
options: {
|
|
111
|
-
type: PropType<
|
|
115
|
+
type: PropType<ProTableProps["options"]>;
|
|
112
116
|
default: boolean;
|
|
113
117
|
};
|
|
114
118
|
/**
|
|
@@ -118,10 +122,10 @@ export declare const proTableProps: {
|
|
|
118
122
|
* @description 列状态配置,可以配置是否浮动和是否展示
|
|
119
123
|
*/
|
|
120
124
|
columnsState: {
|
|
121
|
-
type: PropType<
|
|
125
|
+
type: PropType<ProTableProps["columnsState"]>;
|
|
122
126
|
};
|
|
123
127
|
optionsExtra: {
|
|
124
|
-
type: PropType<
|
|
128
|
+
type: PropType<ProTableProps["optionsExtra"]>;
|
|
125
129
|
default: () => undefined;
|
|
126
130
|
};
|
|
127
131
|
/**
|
|
@@ -131,7 +135,7 @@ export declare const proTableProps: {
|
|
|
131
135
|
* @description 列设置额外的元素
|
|
132
136
|
*/
|
|
133
137
|
settingExtra: {
|
|
134
|
-
type: PropType<
|
|
138
|
+
type: PropType<ProTableProps["settingExtra"]>;
|
|
135
139
|
default: () => undefined;
|
|
136
140
|
};
|
|
137
141
|
/**
|
|
@@ -141,7 +145,7 @@ export declare const proTableProps: {
|
|
|
141
145
|
* @description 是否展示序号栏
|
|
142
146
|
*/
|
|
143
147
|
showIndex: {
|
|
144
|
-
type: PropType<
|
|
148
|
+
type: PropType<ProTableProps["showIndex"]>;
|
|
145
149
|
default: boolean;
|
|
146
150
|
};
|
|
147
151
|
/**
|
|
@@ -151,7 +155,7 @@ export declare const proTableProps: {
|
|
|
151
155
|
* @description 翻页item设置
|
|
152
156
|
*/
|
|
153
157
|
pageItemRender: {
|
|
154
|
-
type: PropType<
|
|
158
|
+
type: PropType<ProTableProps["pageItemRender"]>;
|
|
155
159
|
default: () => undefined;
|
|
156
160
|
};
|
|
157
161
|
/**
|
|
@@ -161,7 +165,7 @@ export declare const proTableProps: {
|
|
|
161
165
|
* @description 表格大小
|
|
162
166
|
*/
|
|
163
167
|
size: {
|
|
164
|
-
type: PropType<"
|
|
168
|
+
type: PropType<ProTableProps["size"]>;
|
|
165
169
|
default: string;
|
|
166
170
|
};
|
|
167
171
|
/**
|
|
@@ -171,7 +175,7 @@ export declare const proTableProps: {
|
|
|
171
175
|
* @description 表格全局对齐方式
|
|
172
176
|
*/
|
|
173
177
|
align: {
|
|
174
|
-
type: PropType<
|
|
178
|
+
type: PropType<ProTableProps["align"]>;
|
|
175
179
|
default: string;
|
|
176
180
|
};
|
|
177
181
|
/**
|
|
@@ -181,7 +185,7 @@ export declare const proTableProps: {
|
|
|
181
185
|
* @description 是否展示外边框和列边框
|
|
182
186
|
*/
|
|
183
187
|
bordered: {
|
|
184
|
-
type: PropType<
|
|
188
|
+
type: PropType<ProTableProps["bordered"]>;
|
|
185
189
|
default: boolean;
|
|
186
190
|
};
|
|
187
191
|
/**
|
|
@@ -190,7 +194,7 @@ export declare const proTableProps: {
|
|
|
190
194
|
* @lastTime 2022/2/8
|
|
191
195
|
* @description 是否列拖动
|
|
192
196
|
*/
|
|
193
|
-
draggabled: PropType<
|
|
197
|
+
draggabled: PropType<ProTableProps["draggabled"]>;
|
|
194
198
|
/**
|
|
195
199
|
* @Author gx12358
|
|
196
200
|
* @DateTime 2022/2/8
|
|
@@ -198,7 +202,7 @@ export declare const proTableProps: {
|
|
|
198
202
|
* @description 根据屏幕大小或者scrollBreakpoint或者scroll?.x是否存在判断action列是否固定
|
|
199
203
|
*/
|
|
200
204
|
autoScroll: {
|
|
201
|
-
type: PropType<
|
|
205
|
+
type: PropType<ProTableProps["autoScroll"]>;
|
|
202
206
|
default: boolean;
|
|
203
207
|
};
|
|
204
208
|
/**
|
|
@@ -207,21 +211,21 @@ export declare const proTableProps: {
|
|
|
207
211
|
* @lastTime 2022/2/8
|
|
208
212
|
* @description 滚动断点支持数字(屏幕宽度);也支持md、xl,xxl等
|
|
209
213
|
*/
|
|
210
|
-
scrollBreakpoint: PropType<
|
|
214
|
+
scrollBreakpoint: PropType<ProTableProps["scrollBreakpoint"]>;
|
|
211
215
|
/**
|
|
212
216
|
* @Author gx12358
|
|
213
217
|
* @DateTime 2022/2/8
|
|
214
218
|
* @lastTime 2022/2/8
|
|
215
219
|
* @description modalTable时,自动固定滚动高度
|
|
216
220
|
*/
|
|
217
|
-
modalScroll: PropType<
|
|
221
|
+
modalScroll: PropType<ProTableProps["modalScroll"]>;
|
|
218
222
|
/**
|
|
219
223
|
* @Author gx12358
|
|
220
224
|
* @DateTime 2022/2/8
|
|
221
225
|
* @lastTime 2022/2/8
|
|
222
226
|
* @description 从不滚动
|
|
223
227
|
*/
|
|
224
|
-
neverScroll: PropType<
|
|
228
|
+
neverScroll: PropType<ProTableProps["neverScroll"]>;
|
|
225
229
|
/**
|
|
226
230
|
* @Author gx12358
|
|
227
231
|
* @DateTime 2022/2/8
|
|
@@ -229,7 +233,7 @@ export declare const proTableProps: {
|
|
|
229
233
|
* @description 空值时的显示,不设置时显示 -, false 可以关闭此功能
|
|
230
234
|
*/
|
|
231
235
|
columnEmptyText: {
|
|
232
|
-
type: PropType<
|
|
236
|
+
type: PropType<ProTableProps["columnEmptyText"]>;
|
|
233
237
|
default: boolean;
|
|
234
238
|
};
|
|
235
239
|
/**
|
|
@@ -238,308 +242,174 @@ export declare const proTableProps: {
|
|
|
238
242
|
* @lastTime 2022/2/8
|
|
239
243
|
* @description Pro-Table 的方法
|
|
240
244
|
*/
|
|
241
|
-
onReset: PropType<
|
|
242
|
-
onReload: PropType<
|
|
243
|
-
onSubmit: PropType<
|
|
244
|
-
onSizeChange: PropType<
|
|
245
|
-
onLoadingChange: PropType<
|
|
246
|
-
onRequestError: PropType<
|
|
247
|
-
onBeforeSearchSubmit: PropType<
|
|
248
|
-
onColumnsStateChange: PropType<
|
|
245
|
+
onReset: PropType<ProTableProps["onReset"]>;
|
|
246
|
+
onReload: PropType<ProTableProps["onReload"]>;
|
|
247
|
+
onSubmit: PropType<ProTableProps["onSubmit"]>;
|
|
248
|
+
onSizeChange: PropType<ProTableProps["onSizeChange"]>;
|
|
249
|
+
onLoadingChange: PropType<ProTableProps["onLoadingChange"]>;
|
|
250
|
+
onRequestError: PropType<ProTableProps["onRequestError"]>;
|
|
251
|
+
onBeforeSearchSubmit: PropType<ProTableProps["onBeforeSearchSubmit"]>;
|
|
252
|
+
onColumnsStateChange: PropType<ProTableProps["onColumnsStateChange"]>;
|
|
249
253
|
prefixCls: {
|
|
250
254
|
type: PropType<string>;
|
|
251
|
-
default:
|
|
255
|
+
default: undefined;
|
|
252
256
|
};
|
|
253
257
|
tableLayout: {
|
|
254
|
-
type: PropType<import("ant-design-vue/es/
|
|
255
|
-
default:
|
|
258
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["tableLayout"]>;
|
|
259
|
+
default: undefined;
|
|
256
260
|
};
|
|
257
261
|
rowClassName: {
|
|
258
|
-
type: PropType<
|
|
259
|
-
default:
|
|
262
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["rowClassName"]>;
|
|
263
|
+
default: undefined;
|
|
260
264
|
};
|
|
261
265
|
title: {
|
|
262
|
-
type: PropType<import("ant-design-vue/es/
|
|
263
|
-
default:
|
|
266
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["title"]>;
|
|
267
|
+
default: undefined;
|
|
264
268
|
};
|
|
265
269
|
footer: {
|
|
266
|
-
type: PropType<import("ant-design-vue/es/
|
|
267
|
-
default:
|
|
270
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["footer"]>;
|
|
271
|
+
default: undefined;
|
|
268
272
|
};
|
|
269
273
|
id: {
|
|
270
|
-
type: PropType<
|
|
271
|
-
default:
|
|
274
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["id"]>;
|
|
275
|
+
default: undefined;
|
|
272
276
|
};
|
|
273
277
|
showHeader: {
|
|
274
|
-
type:
|
|
275
|
-
default:
|
|
278
|
+
type: PropType<boolean>;
|
|
279
|
+
default: undefined;
|
|
276
280
|
};
|
|
277
281
|
components: {
|
|
278
|
-
type: PropType<import("ant-design-vue/es/
|
|
279
|
-
default:
|
|
282
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["components"]>;
|
|
283
|
+
default: undefined;
|
|
280
284
|
};
|
|
281
285
|
customRow: {
|
|
282
|
-
type: PropType<import("ant-design-vue/es/
|
|
283
|
-
default:
|
|
286
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["customRow"]>;
|
|
287
|
+
default: undefined;
|
|
284
288
|
};
|
|
285
289
|
customHeaderRow: {
|
|
286
|
-
type: PropType<import("ant-design-vue/es/
|
|
287
|
-
default:
|
|
290
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["customHeaderRow"]>;
|
|
291
|
+
default: undefined;
|
|
288
292
|
};
|
|
289
293
|
direction: {
|
|
290
|
-
type: PropType<"
|
|
291
|
-
default:
|
|
294
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["direction"]>;
|
|
295
|
+
default: undefined;
|
|
292
296
|
};
|
|
293
297
|
expandFixed: {
|
|
294
|
-
type: PropType<
|
|
295
|
-
default:
|
|
298
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["expandFixed"]>;
|
|
299
|
+
default: undefined;
|
|
300
|
+
};
|
|
301
|
+
expandColumnWidth: {
|
|
302
|
+
type: PropType<number>;
|
|
303
|
+
default: undefined;
|
|
296
304
|
};
|
|
297
|
-
expandColumnWidth: NumberConstructor;
|
|
298
305
|
expandedRowKeys: {
|
|
299
|
-
type: PropType<import("ant-design-vue/es/
|
|
300
|
-
default:
|
|
306
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["expandedRowKeys"]>;
|
|
307
|
+
default: undefined;
|
|
301
308
|
};
|
|
302
309
|
defaultExpandedRowKeys: {
|
|
303
|
-
type: PropType<import("ant-design-vue/es/
|
|
304
|
-
default:
|
|
310
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["defaultExpandedRowKeys"]>;
|
|
311
|
+
default: undefined;
|
|
305
312
|
};
|
|
306
313
|
expandedRowRender: {
|
|
307
|
-
type: PropType<import("ant-design-vue/es/
|
|
308
|
-
default:
|
|
314
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["expandedRowRender"]>;
|
|
315
|
+
default: undefined;
|
|
309
316
|
};
|
|
310
317
|
expandRowByClick: {
|
|
311
|
-
type:
|
|
312
|
-
default:
|
|
318
|
+
type: PropType<boolean>;
|
|
319
|
+
default: undefined;
|
|
313
320
|
};
|
|
314
321
|
expandIcon: {
|
|
315
|
-
type: PropType<import("ant-design-vue/es/
|
|
316
|
-
default:
|
|
322
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["expandIcon"]>;
|
|
323
|
+
default: undefined;
|
|
317
324
|
};
|
|
318
325
|
onExpand: {
|
|
319
|
-
type: PropType<(
|
|
320
|
-
default:
|
|
321
|
-
};
|
|
322
|
-
* @Author gx12358
|
|
323
|
-
* @DateTime 2022/2/8
|
|
324
|
-
* @lastTime 2022/2/8
|
|
325
|
-
* @description 是否展示外边框和列边框
|
|
326
|
-
*/
|
|
326
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["onExpand"]>;
|
|
327
|
+
default: undefined;
|
|
328
|
+
};
|
|
327
329
|
onExpandedRowsChange: {
|
|
328
|
-
type: PropType<
|
|
329
|
-
default:
|
|
330
|
-
};
|
|
331
|
-
* @Author gx12358
|
|
332
|
-
* @DateTime 2022/2/8
|
|
333
|
-
* @lastTime 2022/2/8
|
|
334
|
-
* @description 是否列拖动
|
|
335
|
-
*/
|
|
330
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["onExpandedRowsChange"]>;
|
|
331
|
+
default: undefined;
|
|
332
|
+
};
|
|
336
333
|
'onUpdate:expandedRowKeys': {
|
|
337
|
-
type: PropType<
|
|
338
|
-
default:
|
|
334
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["onExpandedRowsChange"]>;
|
|
335
|
+
default: undefined;
|
|
339
336
|
};
|
|
340
337
|
defaultExpandAllRows: {
|
|
341
|
-
type:
|
|
342
|
-
default:
|
|
338
|
+
type: PropType<boolean>;
|
|
339
|
+
default: undefined;
|
|
340
|
+
};
|
|
341
|
+
indentSize: {
|
|
342
|
+
type: PropType<number>;
|
|
343
|
+
default: undefined;
|
|
344
|
+
};
|
|
345
|
+
expandIconColumnIndex: {
|
|
346
|
+
type: PropType<number>;
|
|
347
|
+
default: undefined;
|
|
343
348
|
};
|
|
344
|
-
indentSize: NumberConstructor;
|
|
345
|
-
expandIconColumnIndex: NumberConstructor;
|
|
346
349
|
showExpandColumn: {
|
|
347
|
-
type:
|
|
348
|
-
default:
|
|
350
|
+
type: PropType<boolean>;
|
|
351
|
+
default: undefined;
|
|
349
352
|
};
|
|
350
353
|
expandedRowClassName: {
|
|
351
|
-
type: PropType<import("ant-design-vue/es/
|
|
352
|
-
default:
|
|
354
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["expandedRowClassName"]>;
|
|
355
|
+
default: undefined;
|
|
353
356
|
};
|
|
354
357
|
childrenColumnName: {
|
|
355
|
-
type: PropType<
|
|
356
|
-
default:
|
|
358
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["childrenColumnName"]>;
|
|
359
|
+
default: undefined;
|
|
357
360
|
};
|
|
358
361
|
rowExpandable: {
|
|
359
|
-
type: PropType<(
|
|
360
|
-
default:
|
|
362
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["rowExpandable"]>;
|
|
363
|
+
default: undefined;
|
|
361
364
|
};
|
|
362
365
|
sticky: {
|
|
363
|
-
type: PropType<
|
|
364
|
-
default:
|
|
366
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["sticky"]>;
|
|
367
|
+
default: undefined;
|
|
368
|
+
};
|
|
369
|
+
dropdownPrefixCls: {
|
|
370
|
+
type: PropType<string>;
|
|
371
|
+
default: undefined;
|
|
365
372
|
};
|
|
366
|
-
dropdownPrefixCls: StringConstructor;
|
|
367
373
|
dataSource: {
|
|
368
|
-
type: PropType<
|
|
369
|
-
default:
|
|
374
|
+
type: PropType<import("ant-design-vue/es/vc-table/Table").TableProps["data"]>;
|
|
375
|
+
default: undefined;
|
|
370
376
|
};
|
|
371
377
|
loading: {
|
|
372
|
-
type: PropType<boolean |
|
|
373
|
-
|
|
374
|
-
spinning: {
|
|
375
|
-
type: BooleanConstructor;
|
|
376
|
-
default: any;
|
|
377
|
-
};
|
|
378
|
-
size: PropType<import("ant-design-vue/es/spin/Spin").SpinSize>;
|
|
379
|
-
wrapperClassName: StringConstructor;
|
|
380
|
-
tip: import("vue-types").VueTypeValidableDef<any>;
|
|
381
|
-
delay: NumberConstructor;
|
|
382
|
-
indicator: import("vue-types").VueTypeValidableDef<any>;
|
|
383
|
-
}>>>;
|
|
384
|
-
default: boolean | Partial<import("vue").ExtractPropTypes<{
|
|
385
|
-
prefixCls: StringConstructor;
|
|
386
|
-
spinning: {
|
|
387
|
-
type: BooleanConstructor;
|
|
388
|
-
default: any;
|
|
389
|
-
};
|
|
390
|
-
size: PropType<import("ant-design-vue/es/spin/Spin").SpinSize>;
|
|
391
|
-
wrapperClassName: StringConstructor;
|
|
392
|
-
tip: import("vue-types").VueTypeValidableDef<any>;
|
|
393
|
-
delay: NumberConstructor;
|
|
394
|
-
indicator: import("vue-types").VueTypeValidableDef<any>;
|
|
395
|
-
}>>;
|
|
378
|
+
type: PropType<boolean | import("ant-design-vue/es/spin/Spin").SpinProps>;
|
|
379
|
+
default: undefined;
|
|
396
380
|
};
|
|
397
381
|
locale: {
|
|
398
382
|
type: PropType<import("ant-design-vue/es/table/interface").TableLocale>;
|
|
399
|
-
default:
|
|
383
|
+
default: undefined;
|
|
400
384
|
};
|
|
401
385
|
onChange: {
|
|
402
|
-
type: PropType<(pagination: import("
|
|
403
|
-
default:
|
|
386
|
+
type: PropType<(pagination: import("./types/TableTypings").ProTablePagination, filters: Record<string, import("ant-design-vue/es/table/interface").FilterValue | null>, sorter: import("ant-design-vue/es/table/interface").SorterResult | import("ant-design-vue/es/table/interface").SorterResult[], extra: import("ant-design-vue/es/table/interface").TableCurrentDataSource) => void>;
|
|
387
|
+
default: undefined;
|
|
404
388
|
};
|
|
405
389
|
onResizeColumn: {
|
|
406
|
-
type: PropType<(w: number, col: import("ant-design-vue/es/table/interface").ColumnType
|
|
407
|
-
default:
|
|
390
|
+
type: PropType<(w: number, col: import("ant-design-vue/es/table/interface").ColumnType) => void>;
|
|
391
|
+
default: undefined;
|
|
408
392
|
};
|
|
409
393
|
getPopupContainer: {
|
|
410
394
|
type: PropType<import("ant-design-vue/es/table/interface").GetPopupContainer>;
|
|
411
|
-
default:
|
|
395
|
+
default: undefined;
|
|
412
396
|
};
|
|
413
397
|
scroll: {
|
|
414
|
-
type: PropType<{
|
|
415
|
-
|
|
416
|
-
y?: string | number | undefined;
|
|
417
|
-
} & {
|
|
418
|
-
scrollToFirstRowOnChange?: boolean | undefined;
|
|
398
|
+
type: PropType<import("ant-design-vue/es/vc-table/Table").TableProps["scroll"] & {
|
|
399
|
+
scrollToFirstRowOnChange?: boolean;
|
|
419
400
|
}>;
|
|
420
|
-
default:
|
|
421
|
-
x?: string | number | true | undefined;
|
|
422
|
-
y?: string | number | undefined;
|
|
423
|
-
} & {
|
|
424
|
-
scrollToFirstRowOnChange?: boolean | undefined;
|
|
425
|
-
};
|
|
401
|
+
default: undefined;
|
|
426
402
|
};
|
|
427
403
|
sortDirections: {
|
|
428
404
|
type: PropType<import("ant-design-vue/es/table/interface").SortOrder[]>;
|
|
429
|
-
default:
|
|
405
|
+
default: undefined;
|
|
430
406
|
};
|
|
431
407
|
showSorterTooltip: {
|
|
432
|
-
type: PropType<boolean |
|
|
433
|
-
|
|
434
|
-
trigger: PropType<import("ant-design-vue/es/tooltip/abstractTooltipProps").TriggerType | import("ant-design-vue/es/tooltip/abstractTooltipProps").TriggerType[]>;
|
|
435
|
-
open: {
|
|
436
|
-
type: BooleanConstructor;
|
|
437
|
-
default: any;
|
|
438
|
-
};
|
|
439
|
-
visible: {
|
|
440
|
-
type: BooleanConstructor;
|
|
441
|
-
default: any;
|
|
442
|
-
};
|
|
443
|
-
placement: PropType<import("ant-design-vue/es/tooltip").TooltipPlacement>;
|
|
444
|
-
color: PropType<import("ant-design-vue/es/_util/type").LiteralUnion<import("ant-design-vue/es/_util/colors").PresetColorType>>;
|
|
445
|
-
transitionName: StringConstructor;
|
|
446
|
-
overlayStyle: {
|
|
447
|
-
type: PropType<import("vue").CSSProperties>;
|
|
448
|
-
default: import("vue").CSSProperties;
|
|
449
|
-
};
|
|
450
|
-
overlayInnerStyle: {
|
|
451
|
-
type: PropType<import("vue").CSSProperties>;
|
|
452
|
-
default: import("vue").CSSProperties;
|
|
453
|
-
};
|
|
454
|
-
overlayClassName: StringConstructor;
|
|
455
|
-
openClassName: StringConstructor;
|
|
456
|
-
prefixCls: StringConstructor;
|
|
457
|
-
mouseEnterDelay: NumberConstructor;
|
|
458
|
-
mouseLeaveDelay: NumberConstructor;
|
|
459
|
-
getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
460
|
-
arrowPointAtCenter: {
|
|
461
|
-
type: BooleanConstructor;
|
|
462
|
-
default: any;
|
|
463
|
-
};
|
|
464
|
-
autoAdjustOverflow: {
|
|
465
|
-
type: PropType<boolean | import("ant-design-vue/es/tooltip").AdjustOverflow>;
|
|
466
|
-
default: boolean | import("ant-design-vue/es/tooltip").AdjustOverflow;
|
|
467
|
-
};
|
|
468
|
-
destroyTooltipOnHide: {
|
|
469
|
-
type: BooleanConstructor;
|
|
470
|
-
default: any;
|
|
471
|
-
};
|
|
472
|
-
align: {
|
|
473
|
-
type: PropType<import("ant-design-vue/es/vc-trigger/interface").AlignType>;
|
|
474
|
-
default: import("ant-design-vue/es/vc-trigger/interface").AlignType;
|
|
475
|
-
};
|
|
476
|
-
builtinPlacements: {
|
|
477
|
-
type: PropType<import("ant-design-vue/es/vc-trigger/interface").BuildInPlacements>;
|
|
478
|
-
default: import("ant-design-vue/es/vc-trigger/interface").BuildInPlacements;
|
|
479
|
-
};
|
|
480
|
-
children: ArrayConstructor;
|
|
481
|
-
onVisibleChange: PropType<(vis: boolean) => void>;
|
|
482
|
-
'onUpdate:visible': PropType<(vis: boolean) => void>;
|
|
483
|
-
onOpenChange: PropType<(vis: boolean) => void>;
|
|
484
|
-
'onUpdate:open': PropType<(vis: boolean) => void>;
|
|
485
|
-
}>>>;
|
|
486
|
-
default: boolean | Partial<import("vue").ExtractPropTypes<{
|
|
487
|
-
title: import("vue-types").VueTypeValidableDef<any>;
|
|
488
|
-
trigger: PropType<import("ant-design-vue/es/tooltip/abstractTooltipProps").TriggerType | import("ant-design-vue/es/tooltip/abstractTooltipProps").TriggerType[]>;
|
|
489
|
-
open: {
|
|
490
|
-
type: BooleanConstructor;
|
|
491
|
-
default: any;
|
|
492
|
-
};
|
|
493
|
-
visible: {
|
|
494
|
-
type: BooleanConstructor;
|
|
495
|
-
default: any;
|
|
496
|
-
};
|
|
497
|
-
placement: PropType<import("ant-design-vue/es/tooltip").TooltipPlacement>;
|
|
498
|
-
color: PropType<import("ant-design-vue/es/_util/type").LiteralUnion<import("ant-design-vue/es/_util/colors").PresetColorType>>;
|
|
499
|
-
transitionName: StringConstructor;
|
|
500
|
-
overlayStyle: {
|
|
501
|
-
type: PropType<import("vue").CSSProperties>;
|
|
502
|
-
default: import("vue").CSSProperties;
|
|
503
|
-
};
|
|
504
|
-
overlayInnerStyle: {
|
|
505
|
-
type: PropType<import("vue").CSSProperties>;
|
|
506
|
-
default: import("vue").CSSProperties;
|
|
507
|
-
};
|
|
508
|
-
overlayClassName: StringConstructor;
|
|
509
|
-
openClassName: StringConstructor;
|
|
510
|
-
prefixCls: StringConstructor;
|
|
511
|
-
mouseEnterDelay: NumberConstructor;
|
|
512
|
-
mouseLeaveDelay: NumberConstructor;
|
|
513
|
-
getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
514
|
-
arrowPointAtCenter: {
|
|
515
|
-
type: BooleanConstructor;
|
|
516
|
-
default: any;
|
|
517
|
-
};
|
|
518
|
-
autoAdjustOverflow: {
|
|
519
|
-
type: PropType<boolean | import("ant-design-vue/es/tooltip").AdjustOverflow>;
|
|
520
|
-
default: boolean | import("ant-design-vue/es/tooltip").AdjustOverflow;
|
|
521
|
-
};
|
|
522
|
-
destroyTooltipOnHide: {
|
|
523
|
-
type: BooleanConstructor;
|
|
524
|
-
default: any;
|
|
525
|
-
};
|
|
526
|
-
align: {
|
|
527
|
-
type: PropType<import("ant-design-vue/es/vc-trigger/interface").AlignType>;
|
|
528
|
-
default: import("ant-design-vue/es/vc-trigger/interface").AlignType;
|
|
529
|
-
};
|
|
530
|
-
builtinPlacements: {
|
|
531
|
-
type: PropType<import("ant-design-vue/es/vc-trigger/interface").BuildInPlacements>;
|
|
532
|
-
default: import("ant-design-vue/es/vc-trigger/interface").BuildInPlacements;
|
|
533
|
-
};
|
|
534
|
-
children: ArrayConstructor;
|
|
535
|
-
onVisibleChange: PropType<(vis: boolean) => void>;
|
|
536
|
-
'onUpdate:visible': PropType<(vis: boolean) => void>;
|
|
537
|
-
onOpenChange: PropType<(vis: boolean) => void>;
|
|
538
|
-
'onUpdate:open': PropType<(vis: boolean) => void>;
|
|
539
|
-
}>>;
|
|
408
|
+
type: PropType<boolean | import("ant-design-vue").TooltipProps>;
|
|
409
|
+
default: boolean;
|
|
540
410
|
};
|
|
541
411
|
transformCellText: {
|
|
542
|
-
type: PropType<import("ant-design-vue/es/
|
|
543
|
-
default:
|
|
412
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["transformCellText"]>;
|
|
413
|
+
default: undefined;
|
|
544
414
|
};
|
|
545
415
|
};
|