@gx-design-vue/pro-table 0.2.0-beta.7 → 0.2.0-beta.70
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 +401 -600
- 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 +6 -5
- 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 +14 -14
- 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 +18 -18
- 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 +10 -11
- package/dist/hooks/useColums.d.ts +20 -7
- package/dist/hooks/useFetchData.d.ts +15 -13
- package/dist/hooks/useLoading.d.ts +5 -12
- package/dist/hooks/usePagination.d.ts +8 -3
- package/dist/hooks/useRowSelection.d.ts +9 -6
- package/dist/hooks/useTable.d.ts +31 -11
- package/dist/hooks/useTableForm.d.ts +6 -5
- package/dist/hooks/useTableScroll.d.ts +6 -6
- package/dist/hooks/useTableSize.d.ts +1 -1
- package/dist/index.d.ts +6 -4
- package/dist/pro-table.js +2790 -0
- package/dist/pro-table.umd.cjs +1 -0
- package/dist/props.d.ts +147 -274
- package/dist/style.d.ts +2 -6
- package/dist/types/ColumnTypings.d.ts +12 -9
- package/dist/types/SlotsTypings.d.ts +37 -8
- package/dist/types/TableTypings.d.ts +86 -55
- package/dist/utils/utils.d.ts +3 -1
- package/package.json +20 -42
- package/volar.d.ts +3 -3
- 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/utils/config.d.ts +0 -1
package/dist/props.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
|
-
import type {
|
|
1
|
+
import type { ExtractPropTypes, PropType } from 'vue';
|
|
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<string
|
|
18
|
-
default:
|
|
17
|
+
type: PropType<string>;
|
|
18
|
+
default: string;
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
21
21
|
* @Author gx12358
|
|
@@ -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,11 @@ export declare const proTableProps: {
|
|
|
60
60
|
* @description 自定义表格渲染模式:默认表格展示,也可以自定义数据列表展示
|
|
61
61
|
*/
|
|
62
62
|
customRender: {
|
|
63
|
-
type: PropType<
|
|
63
|
+
type: PropType<ProTableProps["customRender"]>;
|
|
64
|
+
default: () => undefined;
|
|
65
|
+
};
|
|
66
|
+
emptyText: {
|
|
67
|
+
type: PropType<ProTableProps["emptyText"]>;
|
|
64
68
|
default: () => undefined;
|
|
65
69
|
};
|
|
66
70
|
/**
|
|
@@ -69,15 +73,17 @@ export declare const proTableProps: {
|
|
|
69
73
|
* @lastTime 2022/2/8
|
|
70
74
|
* @description 添加表格class
|
|
71
75
|
*/
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
76
|
+
showLoading: {
|
|
77
|
+
type: PropType<ProTableProps["showLoading"]>;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
tableProps: {
|
|
81
|
+
type: PropType<ProTableProps["tableProps"]>;
|
|
82
|
+
default: () => ProTableProps["tableProps"];
|
|
83
|
+
};
|
|
84
|
+
emptyTextProps: {
|
|
85
|
+
type: PropType<ProTableProps["emptyTextProps"]>;
|
|
86
|
+
default: () => ProTableProps["emptyTextProps"];
|
|
81
87
|
};
|
|
82
88
|
/**
|
|
83
89
|
* @Author gx12358
|
|
@@ -86,19 +92,19 @@ export declare const proTableProps: {
|
|
|
86
92
|
* @description 渲染按钮工具栏,支持返回一个 dom 数组,会自动增加 margin-right
|
|
87
93
|
*/
|
|
88
94
|
toolBarBtn: {
|
|
89
|
-
type: PropType<
|
|
95
|
+
type: PropType<ProTableProps["toolBarBtn"]>;
|
|
90
96
|
default: () => undefined;
|
|
91
97
|
};
|
|
92
98
|
headerTitle: {
|
|
93
|
-
type: PropType<
|
|
99
|
+
type: PropType<ProTableProps["headerTitle"]>;
|
|
94
100
|
default: () => undefined;
|
|
95
101
|
};
|
|
96
102
|
titleTip: {
|
|
97
|
-
type: PropType<
|
|
103
|
+
type: PropType<ProTableProps["titleTip"]>;
|
|
98
104
|
default: () => undefined;
|
|
99
105
|
};
|
|
100
106
|
titleTipText: {
|
|
101
|
-
type: PropType<
|
|
107
|
+
type: PropType<ProTableProps["titleTipText"]>;
|
|
102
108
|
default: string;
|
|
103
109
|
};
|
|
104
110
|
/**
|
|
@@ -108,7 +114,7 @@ export declare const proTableProps: {
|
|
|
108
114
|
* @description table 工具栏,设为 false 时不显示
|
|
109
115
|
*/
|
|
110
116
|
options: {
|
|
111
|
-
type: PropType<
|
|
117
|
+
type: PropType<ProTableProps["options"]>;
|
|
112
118
|
default: boolean;
|
|
113
119
|
};
|
|
114
120
|
/**
|
|
@@ -118,10 +124,10 @@ export declare const proTableProps: {
|
|
|
118
124
|
* @description 列状态配置,可以配置是否浮动和是否展示
|
|
119
125
|
*/
|
|
120
126
|
columnsState: {
|
|
121
|
-
type: PropType<
|
|
127
|
+
type: PropType<ProTableProps["columnsState"]>;
|
|
122
128
|
};
|
|
123
129
|
optionsExtra: {
|
|
124
|
-
type: PropType<
|
|
130
|
+
type: PropType<ProTableProps["optionsExtra"]>;
|
|
125
131
|
default: () => undefined;
|
|
126
132
|
};
|
|
127
133
|
/**
|
|
@@ -131,7 +137,7 @@ export declare const proTableProps: {
|
|
|
131
137
|
* @description 列设置额外的元素
|
|
132
138
|
*/
|
|
133
139
|
settingExtra: {
|
|
134
|
-
type: PropType<
|
|
140
|
+
type: PropType<ProTableProps["settingExtra"]>;
|
|
135
141
|
default: () => undefined;
|
|
136
142
|
};
|
|
137
143
|
/**
|
|
@@ -141,7 +147,7 @@ export declare const proTableProps: {
|
|
|
141
147
|
* @description 是否展示序号栏
|
|
142
148
|
*/
|
|
143
149
|
showIndex: {
|
|
144
|
-
type: PropType<
|
|
150
|
+
type: PropType<ProTableProps["showIndex"]>;
|
|
145
151
|
default: boolean;
|
|
146
152
|
};
|
|
147
153
|
/**
|
|
@@ -151,7 +157,7 @@ export declare const proTableProps: {
|
|
|
151
157
|
* @description 翻页item设置
|
|
152
158
|
*/
|
|
153
159
|
pageItemRender: {
|
|
154
|
-
type: PropType<
|
|
160
|
+
type: PropType<ProTableProps["pageItemRender"]>;
|
|
155
161
|
default: () => undefined;
|
|
156
162
|
};
|
|
157
163
|
/**
|
|
@@ -161,7 +167,7 @@ export declare const proTableProps: {
|
|
|
161
167
|
* @description 表格大小
|
|
162
168
|
*/
|
|
163
169
|
size: {
|
|
164
|
-
type: PropType<"
|
|
170
|
+
type: PropType<ProTableProps["size"]>;
|
|
165
171
|
default: string;
|
|
166
172
|
};
|
|
167
173
|
/**
|
|
@@ -171,7 +177,7 @@ export declare const proTableProps: {
|
|
|
171
177
|
* @description 表格全局对齐方式
|
|
172
178
|
*/
|
|
173
179
|
align: {
|
|
174
|
-
type: PropType<
|
|
180
|
+
type: PropType<ProTableProps["align"]>;
|
|
175
181
|
default: string;
|
|
176
182
|
};
|
|
177
183
|
/**
|
|
@@ -181,7 +187,7 @@ export declare const proTableProps: {
|
|
|
181
187
|
* @description 是否展示外边框和列边框
|
|
182
188
|
*/
|
|
183
189
|
bordered: {
|
|
184
|
-
type: PropType<
|
|
190
|
+
type: PropType<ProTableProps["bordered"]>;
|
|
185
191
|
default: boolean;
|
|
186
192
|
};
|
|
187
193
|
/**
|
|
@@ -190,7 +196,7 @@ export declare const proTableProps: {
|
|
|
190
196
|
* @lastTime 2022/2/8
|
|
191
197
|
* @description 是否列拖动
|
|
192
198
|
*/
|
|
193
|
-
draggabled: PropType<
|
|
199
|
+
draggabled: PropType<ProTableProps["draggabled"]>;
|
|
194
200
|
/**
|
|
195
201
|
* @Author gx12358
|
|
196
202
|
* @DateTime 2022/2/8
|
|
@@ -198,7 +204,7 @@ export declare const proTableProps: {
|
|
|
198
204
|
* @description 根据屏幕大小或者scrollBreakpoint或者scroll?.x是否存在判断action列是否固定
|
|
199
205
|
*/
|
|
200
206
|
autoScroll: {
|
|
201
|
-
type: PropType<
|
|
207
|
+
type: PropType<ProTableProps["autoScroll"]>;
|
|
202
208
|
default: boolean;
|
|
203
209
|
};
|
|
204
210
|
/**
|
|
@@ -207,21 +213,21 @@ export declare const proTableProps: {
|
|
|
207
213
|
* @lastTime 2022/2/8
|
|
208
214
|
* @description 滚动断点支持数字(屏幕宽度);也支持md、xl,xxl等
|
|
209
215
|
*/
|
|
210
|
-
scrollBreakpoint: PropType<
|
|
216
|
+
scrollBreakpoint: PropType<ProTableProps["scrollBreakpoint"]>;
|
|
211
217
|
/**
|
|
212
218
|
* @Author gx12358
|
|
213
219
|
* @DateTime 2022/2/8
|
|
214
220
|
* @lastTime 2022/2/8
|
|
215
221
|
* @description modalTable时,自动固定滚动高度
|
|
216
222
|
*/
|
|
217
|
-
modalScroll: PropType<
|
|
223
|
+
modalScroll: PropType<ProTableProps["modalScroll"]>;
|
|
218
224
|
/**
|
|
219
225
|
* @Author gx12358
|
|
220
226
|
* @DateTime 2022/2/8
|
|
221
227
|
* @lastTime 2022/2/8
|
|
222
228
|
* @description 从不滚动
|
|
223
229
|
*/
|
|
224
|
-
neverScroll: PropType<
|
|
230
|
+
neverScroll: PropType<ProTableProps["neverScroll"]>;
|
|
225
231
|
/**
|
|
226
232
|
* @Author gx12358
|
|
227
233
|
* @DateTime 2022/2/8
|
|
@@ -229,7 +235,7 @@ export declare const proTableProps: {
|
|
|
229
235
|
* @description 空值时的显示,不设置时显示 -, false 可以关闭此功能
|
|
230
236
|
*/
|
|
231
237
|
columnEmptyText: {
|
|
232
|
-
type: PropType<
|
|
238
|
+
type: PropType<ProTableProps["columnEmptyText"]>;
|
|
233
239
|
default: boolean;
|
|
234
240
|
};
|
|
235
241
|
/**
|
|
@@ -238,308 +244,175 @@ export declare const proTableProps: {
|
|
|
238
244
|
* @lastTime 2022/2/8
|
|
239
245
|
* @description Pro-Table 的方法
|
|
240
246
|
*/
|
|
241
|
-
onReset: PropType<
|
|
242
|
-
onReload: PropType<
|
|
243
|
-
onSubmit: PropType<
|
|
244
|
-
onSizeChange: PropType<
|
|
245
|
-
onLoadingChange: PropType<
|
|
246
|
-
onRequestError: PropType<
|
|
247
|
-
onBeforeSearchSubmit: PropType<
|
|
248
|
-
onColumnsStateChange: PropType<
|
|
247
|
+
onReset: PropType<ProTableProps["onReset"]>;
|
|
248
|
+
onReload: PropType<ProTableProps["onReload"]>;
|
|
249
|
+
onSubmit: PropType<ProTableProps["onSubmit"]>;
|
|
250
|
+
onSizeChange: PropType<ProTableProps["onSizeChange"]>;
|
|
251
|
+
onLoadingChange: PropType<ProTableProps["onLoadingChange"]>;
|
|
252
|
+
onRequestError: PropType<ProTableProps["onRequestError"]>;
|
|
253
|
+
onBeforeSearchSubmit: PropType<ProTableProps["onBeforeSearchSubmit"]>;
|
|
254
|
+
onColumnsStateChange: PropType<ProTableProps["onColumnsStateChange"]>;
|
|
249
255
|
prefixCls: {
|
|
250
256
|
type: PropType<string>;
|
|
251
|
-
default:
|
|
257
|
+
default: undefined;
|
|
252
258
|
};
|
|
253
259
|
tableLayout: {
|
|
254
|
-
type: PropType<import("ant-design-vue/es/
|
|
255
|
-
default:
|
|
260
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["tableLayout"]>;
|
|
261
|
+
default: undefined;
|
|
256
262
|
};
|
|
257
263
|
rowClassName: {
|
|
258
|
-
type: PropType<
|
|
259
|
-
default:
|
|
264
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["rowClassName"]>;
|
|
265
|
+
default: undefined;
|
|
260
266
|
};
|
|
261
267
|
title: {
|
|
262
|
-
type: PropType<import("ant-design-vue/es/
|
|
263
|
-
default:
|
|
268
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["title"]>;
|
|
269
|
+
default: undefined;
|
|
264
270
|
};
|
|
265
271
|
footer: {
|
|
266
|
-
type: PropType<import("ant-design-vue/es/
|
|
267
|
-
default:
|
|
272
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["footer"]>;
|
|
273
|
+
default: undefined;
|
|
268
274
|
};
|
|
269
275
|
id: {
|
|
270
|
-
type: PropType<
|
|
271
|
-
default:
|
|
276
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["id"]>;
|
|
277
|
+
default: undefined;
|
|
272
278
|
};
|
|
273
279
|
showHeader: {
|
|
274
|
-
type:
|
|
275
|
-
default:
|
|
280
|
+
type: PropType<boolean>;
|
|
281
|
+
default: undefined;
|
|
276
282
|
};
|
|
277
283
|
components: {
|
|
278
|
-
type: PropType<import("ant-design-vue/es/
|
|
279
|
-
default:
|
|
284
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["components"]>;
|
|
285
|
+
default: undefined;
|
|
280
286
|
};
|
|
281
287
|
customRow: {
|
|
282
|
-
type: PropType<import("ant-design-vue/es/
|
|
283
|
-
default:
|
|
288
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["customRow"]>;
|
|
289
|
+
default: undefined;
|
|
284
290
|
};
|
|
285
291
|
customHeaderRow: {
|
|
286
|
-
type: PropType<import("ant-design-vue/es/
|
|
287
|
-
default:
|
|
292
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["customHeaderRow"]>;
|
|
293
|
+
default: undefined;
|
|
288
294
|
};
|
|
289
295
|
direction: {
|
|
290
|
-
type: PropType<"
|
|
291
|
-
default:
|
|
296
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["direction"]>;
|
|
297
|
+
default: undefined;
|
|
292
298
|
};
|
|
293
299
|
expandFixed: {
|
|
294
|
-
type: PropType<
|
|
295
|
-
default:
|
|
300
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["expandFixed"]>;
|
|
301
|
+
default: undefined;
|
|
302
|
+
};
|
|
303
|
+
expandColumnWidth: {
|
|
304
|
+
type: PropType<number>;
|
|
305
|
+
default: undefined;
|
|
296
306
|
};
|
|
297
|
-
expandColumnWidth: NumberConstructor;
|
|
298
307
|
expandedRowKeys: {
|
|
299
|
-
type: PropType<import("ant-design-vue/es/
|
|
300
|
-
default:
|
|
308
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["expandedRowKeys"]>;
|
|
309
|
+
default: undefined;
|
|
301
310
|
};
|
|
302
311
|
defaultExpandedRowKeys: {
|
|
303
|
-
type: PropType<import("ant-design-vue/es/
|
|
304
|
-
default:
|
|
312
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["defaultExpandedRowKeys"]>;
|
|
313
|
+
default: undefined;
|
|
305
314
|
};
|
|
306
315
|
expandedRowRender: {
|
|
307
|
-
type: PropType<import("ant-design-vue/es/
|
|
308
|
-
default:
|
|
316
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["expandedRowRender"]>;
|
|
317
|
+
default: undefined;
|
|
309
318
|
};
|
|
310
319
|
expandRowByClick: {
|
|
311
|
-
type:
|
|
312
|
-
default:
|
|
320
|
+
type: PropType<boolean>;
|
|
321
|
+
default: undefined;
|
|
313
322
|
};
|
|
314
323
|
expandIcon: {
|
|
315
|
-
type: PropType<import("ant-design-vue/es/
|
|
316
|
-
default:
|
|
324
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["expandIcon"]>;
|
|
325
|
+
default: undefined;
|
|
317
326
|
};
|
|
318
327
|
onExpand: {
|
|
319
|
-
type: PropType<(
|
|
320
|
-
default:
|
|
321
|
-
};
|
|
322
|
-
* @Author gx12358
|
|
323
|
-
* @DateTime 2022/2/8
|
|
324
|
-
* @lastTime 2022/2/8
|
|
325
|
-
* @description 是否展示外边框和列边框
|
|
326
|
-
*/
|
|
328
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["onExpand"]>;
|
|
329
|
+
default: undefined;
|
|
330
|
+
};
|
|
327
331
|
onExpandedRowsChange: {
|
|
328
|
-
type: PropType<
|
|
329
|
-
default:
|
|
330
|
-
};
|
|
331
|
-
* @Author gx12358
|
|
332
|
-
* @DateTime 2022/2/8
|
|
333
|
-
* @lastTime 2022/2/8
|
|
334
|
-
* @description 是否列拖动
|
|
335
|
-
*/
|
|
332
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["onExpandedRowsChange"]>;
|
|
333
|
+
default: undefined;
|
|
334
|
+
};
|
|
336
335
|
'onUpdate:expandedRowKeys': {
|
|
337
|
-
type: PropType<
|
|
338
|
-
default:
|
|
336
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["onExpandedRowsChange"]>;
|
|
337
|
+
default: undefined;
|
|
339
338
|
};
|
|
340
339
|
defaultExpandAllRows: {
|
|
341
|
-
type:
|
|
342
|
-
default:
|
|
340
|
+
type: PropType<boolean>;
|
|
341
|
+
default: undefined;
|
|
342
|
+
};
|
|
343
|
+
indentSize: {
|
|
344
|
+
type: PropType<number>;
|
|
345
|
+
default: undefined;
|
|
346
|
+
};
|
|
347
|
+
expandIconColumnIndex: {
|
|
348
|
+
type: PropType<number>;
|
|
349
|
+
default: undefined;
|
|
343
350
|
};
|
|
344
|
-
indentSize: NumberConstructor;
|
|
345
|
-
expandIconColumnIndex: NumberConstructor;
|
|
346
351
|
showExpandColumn: {
|
|
347
|
-
type:
|
|
348
|
-
default:
|
|
352
|
+
type: PropType<boolean>;
|
|
353
|
+
default: undefined;
|
|
349
354
|
};
|
|
350
355
|
expandedRowClassName: {
|
|
351
|
-
type: PropType<import("ant-design-vue/es/
|
|
352
|
-
default:
|
|
356
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["expandedRowClassName"]>;
|
|
357
|
+
default: undefined;
|
|
353
358
|
};
|
|
354
359
|
childrenColumnName: {
|
|
355
|
-
type: PropType<
|
|
356
|
-
default:
|
|
360
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["childrenColumnName"]>;
|
|
361
|
+
default: undefined;
|
|
357
362
|
};
|
|
358
363
|
rowExpandable: {
|
|
359
|
-
type: PropType<(
|
|
360
|
-
default:
|
|
364
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["rowExpandable"]>;
|
|
365
|
+
default: undefined;
|
|
361
366
|
};
|
|
362
367
|
sticky: {
|
|
363
|
-
type: PropType<
|
|
364
|
-
default:
|
|
368
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["sticky"]>;
|
|
369
|
+
default: undefined;
|
|
370
|
+
};
|
|
371
|
+
dropdownPrefixCls: {
|
|
372
|
+
type: PropType<string>;
|
|
373
|
+
default: undefined;
|
|
365
374
|
};
|
|
366
|
-
dropdownPrefixCls: StringConstructor;
|
|
367
375
|
dataSource: {
|
|
368
|
-
type: PropType<
|
|
369
|
-
default:
|
|
376
|
+
type: PropType<import("ant-design-vue/es/vc-table/Table").TableProps["data"]>;
|
|
377
|
+
default: undefined;
|
|
370
378
|
};
|
|
371
379
|
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
|
-
}>>;
|
|
380
|
+
type: PropType<boolean | import("ant-design-vue/es/spin/Spin").SpinProps>;
|
|
381
|
+
default: undefined;
|
|
396
382
|
};
|
|
397
383
|
locale: {
|
|
398
384
|
type: PropType<import("ant-design-vue/es/table/interface").TableLocale>;
|
|
399
|
-
default:
|
|
385
|
+
default: undefined;
|
|
400
386
|
};
|
|
401
387
|
onChange: {
|
|
402
|
-
type: PropType<(pagination: import("
|
|
403
|
-
default:
|
|
388
|
+
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>;
|
|
389
|
+
default: undefined;
|
|
404
390
|
};
|
|
405
391
|
onResizeColumn: {
|
|
406
|
-
type: PropType<(w: number, col: import("ant-design-vue/es/table/interface").ColumnType
|
|
407
|
-
default:
|
|
392
|
+
type: PropType<(w: number, col: import("ant-design-vue/es/table/interface").ColumnType) => void>;
|
|
393
|
+
default: undefined;
|
|
408
394
|
};
|
|
409
395
|
getPopupContainer: {
|
|
410
396
|
type: PropType<import("ant-design-vue/es/table/interface").GetPopupContainer>;
|
|
411
|
-
default:
|
|
397
|
+
default: undefined;
|
|
412
398
|
};
|
|
413
399
|
scroll: {
|
|
414
|
-
type: PropType<{
|
|
415
|
-
|
|
416
|
-
y?: string | number | undefined;
|
|
417
|
-
} & {
|
|
418
|
-
scrollToFirstRowOnChange?: boolean | undefined;
|
|
400
|
+
type: PropType<import("ant-design-vue/es/vc-table/Table").TableProps["scroll"] & {
|
|
401
|
+
scrollToFirstRowOnChange?: boolean;
|
|
419
402
|
}>;
|
|
420
|
-
default:
|
|
421
|
-
x?: string | number | true | undefined;
|
|
422
|
-
y?: string | number | undefined;
|
|
423
|
-
} & {
|
|
424
|
-
scrollToFirstRowOnChange?: boolean | undefined;
|
|
425
|
-
};
|
|
403
|
+
default: undefined;
|
|
426
404
|
};
|
|
427
405
|
sortDirections: {
|
|
428
406
|
type: PropType<import("ant-design-vue/es/table/interface").SortOrder[]>;
|
|
429
|
-
default:
|
|
407
|
+
default: undefined;
|
|
430
408
|
};
|
|
431
409
|
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
|
-
}>>;
|
|
410
|
+
type: PropType<boolean | import("ant-design-vue").TooltipProps>;
|
|
411
|
+
default: boolean;
|
|
540
412
|
};
|
|
541
413
|
transformCellText: {
|
|
542
|
-
type: PropType<import("ant-design-vue/es/
|
|
543
|
-
default:
|
|
414
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["transformCellText"]>;
|
|
415
|
+
default: undefined;
|
|
544
416
|
};
|
|
545
417
|
};
|
|
418
|
+
export type BaseTableProps = Partial<ExtractPropTypes<typeof proTableProps>>;
|