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