@gopowerteam/table-render 0.0.106 → 0.0.107
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/cjs/config/provide.config.d.ts +3 -2
- package/dist/cjs/defines/define-columns.d.ts +2 -1
- package/dist/cjs/defines/define-table-load.d.ts +2 -1
- package/dist/cjs/hooks/use-events.d.ts +3 -2
- package/dist/cjs/hooks/use-export.d.ts +2 -1
- package/dist/cjs/hooks/use-table.d.ts +3 -2
- package/dist/cjs/index.cjs +17 -17
- package/dist/cjs/install.d.ts +2 -1
- package/dist/cjs/interfaces/table-column-options.d.ts +5 -4
- package/dist/cjs/interfaces/table-load-params.d.ts +4 -3
- package/dist/cjs/table-columns/date/index.d.ts +3 -2
- package/dist/cjs/table-columns/dict/index.d.ts +3 -2
- package/dist/cjs/table-columns/dropdown/index.d.ts +4 -3
- package/dist/cjs/table-columns/image/index.d.ts +3 -2
- package/dist/cjs/table-columns/index.d.ts +10 -10
- package/dist/cjs/table-columns/phone/index.d.ts +3 -2
- package/dist/cjs/table-columns/tag/index.d.ts +3 -2
- package/dist/cjs/table-columns/text/index.d.ts +3 -2
- package/dist/cjs/table-render/index.d.ts +1058 -1332
- package/dist/cjs/table-render/table-collapsed-render.d.ts +4 -3
- package/dist/cjs/table-render/table-column-render.d.ts +5 -4
- package/dist/cjs/table-render/table-edit-render.d.ts +4 -4
- package/dist/cjs/table-render/table-form-render.d.ts +2 -1
- package/dist/cjs/table-render/table-selection-render.d.ts +4 -3
- package/dist/cjs/table-render/table-view-render.d.ts +6 -5
- package/dist/cjs/utils/create-column-render.d.ts +2 -1
- package/dist/cjs/utils/create-table-form.d.ts +3 -2
- package/dist/cjs/utils/create-table-source.d.ts +3 -2
- package/dist/cjs/utils/get-column-value.d.ts +2 -1
- package/dist/cjs/utils/page.service.d.ts +3 -2
- package/dist/cjs/utils/set-column-value.d.ts +2 -1
- package/dist/cjs/utils/sort.service.d.ts +3 -2
- package/dist/es/config/provide.config.d.ts +3 -2
- package/dist/es/defines/define-columns.d.ts +2 -1
- package/dist/es/defines/define-table-load.d.ts +2 -1
- package/dist/es/hooks/use-events.d.ts +3 -2
- package/dist/es/hooks/use-export.d.ts +2 -1
- package/dist/es/hooks/use-table.d.ts +3 -2
- package/dist/es/index.mjs +5496 -5506
- package/dist/es/install.d.ts +2 -1
- package/dist/es/interfaces/table-column-options.d.ts +5 -4
- package/dist/es/interfaces/table-load-params.d.ts +4 -3
- package/dist/es/table-columns/date/index.d.ts +3 -2
- package/dist/es/table-columns/dict/index.d.ts +3 -2
- package/dist/es/table-columns/dropdown/index.d.ts +4 -3
- package/dist/es/table-columns/image/index.d.ts +3 -2
- package/dist/es/table-columns/index.d.ts +10 -10
- package/dist/es/table-columns/phone/index.d.ts +3 -2
- package/dist/es/table-columns/tag/index.d.ts +3 -2
- package/dist/es/table-columns/text/index.d.ts +3 -2
- package/dist/es/table-render/index.d.ts +1058 -1332
- package/dist/es/table-render/table-collapsed-render.d.ts +4 -3
- package/dist/es/table-render/table-column-render.d.ts +5 -4
- package/dist/es/table-render/table-edit-render.d.ts +4 -4
- package/dist/es/table-render/table-form-render.d.ts +2 -1
- package/dist/es/table-render/table-selection-render.d.ts +4 -3
- package/dist/es/table-render/table-view-render.d.ts +6 -5
- package/dist/es/utils/create-column-render.d.ts +2 -1
- package/dist/es/utils/create-table-form.d.ts +3 -2
- package/dist/es/utils/create-table-source.d.ts +3 -2
- package/dist/es/utils/get-column-value.d.ts +2 -1
- package/dist/es/utils/page.service.d.ts +3 -2
- package/dist/es/utils/set-column-value.d.ts +2 -1
- package/dist/es/utils/sort.service.d.ts +3 -2
- package/dist/style.css +1 -1
- package/package.json +17 -17
- package/dist/cjs/interfaces/table-column-render.d.ts +0 -27
- package/dist/cjs/table-columns/button/index.d.ts +0 -26
- package/dist/cjs/table-columns/currency/index.d.ts +0 -12
- package/dist/cjs/table-columns/render/index.d.ts +0 -5
- package/dist/cjs/table-render/table-actions-render.d.ts +0 -2
- package/dist/cjs/table-render/table-pagination-render.d.ts +0 -2
- package/dist/es/interfaces/table-column-render.d.ts +0 -27
- package/dist/es/table-columns/button/index.d.ts +0 -26
- package/dist/es/table-columns/currency/index.d.ts +0 -12
- package/dist/es/table-columns/render/index.d.ts +0 -5
- package/dist/es/table-render/table-actions-render.d.ts +0 -2
- package/dist/es/table-render/table-pagination-render.d.ts +0 -2
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
|
|
1
|
+
import { PageableOptions } from '../interfaces/pageable-options';
|
|
2
|
+
import { EventEmits, TableEditEventOptions, TableExportEventOptions, TablePreviewEventOptions, TableReloadEventOptions } from '../hooks';
|
|
3
|
+
import { TableColumnSharedOptions, TableColumnsOptions, TableFormSharedOptions, TableLoadParams } from '../interfaces';
|
|
4
|
+
import { RequestPlugin } from '@gopowerteam/request';
|
|
5
|
+
import { DataRecord, FormItemsOptions, FormRenderInstance } from '@gopowerteam/form-render';
|
|
6
|
+
import { PropType, Ref } from 'vue';
|
|
7
|
+
import { TableChangeExtra, TableColumnData, TableData } from '@arco-design/web-vue';
|
|
8
|
+
|
|
9
|
+
export declare const TableRender: import('vue').DefineComponent<{
|
|
9
10
|
rowKey: {
|
|
10
11
|
type: StringConstructor;
|
|
11
12
|
required: true;
|
|
@@ -109,469 +110,7 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
109
110
|
};
|
|
110
111
|
}, {
|
|
111
112
|
tableId: string;
|
|
112
|
-
tableInstance: Ref<({
|
|
113
|
-
$: import("vue").ComponentInternalInstance;
|
|
114
|
-
$data: {};
|
|
115
|
-
$props: Partial<{
|
|
116
|
-
size: "mini" | "small" | "medium" | "large";
|
|
117
|
-
scrollbar: boolean | import("@arco-design/web-vue").ScrollbarProps;
|
|
118
|
-
data: TableData[];
|
|
119
|
-
loading: boolean | Record<string, any>;
|
|
120
|
-
bordered: boolean | import("@arco-design/web-vue").TableBorder;
|
|
121
|
-
columns: TableColumnData[];
|
|
122
|
-
hoverable: boolean;
|
|
123
|
-
pagination: boolean | import("@arco-design/web-vue").PaginationProps;
|
|
124
|
-
stripe: boolean;
|
|
125
|
-
tableLayoutFixed: boolean;
|
|
126
|
-
pagePosition: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
|
|
127
|
-
indentSize: number;
|
|
128
|
-
rowKey: string;
|
|
129
|
-
showHeader: boolean;
|
|
130
|
-
spanAll: boolean;
|
|
131
|
-
filterIconAlignLeft: boolean;
|
|
132
|
-
hideExpandButtonOnEmpty: boolean;
|
|
133
|
-
columnResizable: boolean;
|
|
134
|
-
summaryText: string;
|
|
135
|
-
defaultExpandAllRows: boolean;
|
|
136
|
-
stickyHeader: number | boolean;
|
|
137
|
-
showEmptyTree: boolean;
|
|
138
|
-
}> & Omit<{
|
|
139
|
-
readonly columns: TableColumnData[];
|
|
140
|
-
readonly data: TableData[];
|
|
141
|
-
readonly bordered: boolean | import("@arco-design/web-vue").TableBorder;
|
|
142
|
-
readonly hoverable: boolean;
|
|
143
|
-
readonly stripe: boolean;
|
|
144
|
-
readonly size: "mini" | "small" | "medium" | "large";
|
|
145
|
-
readonly tableLayoutFixed: boolean;
|
|
146
|
-
readonly loading: boolean | Record<string, any>;
|
|
147
|
-
readonly rowSelection?: import("@arco-design/web-vue").TableRowSelection | undefined;
|
|
148
|
-
readonly expandable?: import("@arco-design/web-vue").TableExpandable | undefined;
|
|
149
|
-
readonly scroll?: {
|
|
150
|
-
x?: string | number | undefined;
|
|
151
|
-
y?: string | number | undefined;
|
|
152
|
-
minWidth?: string | number | undefined;
|
|
153
|
-
maxHeight?: string | number | undefined;
|
|
154
|
-
} | undefined;
|
|
155
|
-
readonly pagination: boolean | import("@arco-design/web-vue").PaginationProps;
|
|
156
|
-
readonly pagePosition: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
|
|
157
|
-
readonly indentSize: number;
|
|
158
|
-
readonly rowKey: string;
|
|
159
|
-
readonly showHeader: boolean;
|
|
160
|
-
readonly virtualListProps?: import("@arco-design/web-vue/es/_components/virtual-list-v2/interface").VirtualListProps | undefined;
|
|
161
|
-
readonly spanMethod?: ((data: {
|
|
162
|
-
record: TableData;
|
|
163
|
-
column: TableColumnData | import("@arco-design/web-vue/es/table/interface").TableOperationColumn;
|
|
164
|
-
rowIndex: number;
|
|
165
|
-
columnIndex: number;
|
|
166
|
-
}) => void | {
|
|
167
|
-
rowspan?: number | undefined;
|
|
168
|
-
colspan?: number | undefined;
|
|
169
|
-
}) | undefined;
|
|
170
|
-
readonly spanAll: boolean;
|
|
171
|
-
readonly components?: import("@arco-design/web-vue/es/table/interface").TableComponents | undefined;
|
|
172
|
-
readonly loadMore?: ((record: TableData, done: (children?: TableData[] | undefined) => void) => void) | undefined;
|
|
173
|
-
readonly filterIconAlignLeft: boolean;
|
|
174
|
-
readonly hideExpandButtonOnEmpty: boolean;
|
|
175
|
-
readonly rowClass?: string | any[] | Record<string, any> | ((record: TableData, rowIndex: number) => any) | undefined;
|
|
176
|
-
readonly draggable?: import("@arco-design/web-vue").TableDraggable | undefined;
|
|
177
|
-
readonly rowNumber?: boolean | Record<string, any> | undefined;
|
|
178
|
-
readonly columnResizable: boolean;
|
|
179
|
-
readonly summary?: boolean | ((params: {
|
|
180
|
-
columns: TableColumnData[];
|
|
181
|
-
data: TableData[];
|
|
182
|
-
}) => TableData[]) | undefined;
|
|
183
|
-
readonly summaryText: string;
|
|
184
|
-
readonly summarySpanMethod?: ((data: {
|
|
185
|
-
record: TableData;
|
|
186
|
-
column: TableColumnData | import("@arco-design/web-vue/es/table/interface").TableOperationColumn;
|
|
187
|
-
rowIndex: number;
|
|
188
|
-
columnIndex: number;
|
|
189
|
-
}) => void | {
|
|
190
|
-
rowspan?: number | undefined;
|
|
191
|
-
colspan?: number | undefined;
|
|
192
|
-
}) | undefined;
|
|
193
|
-
readonly selectedKeys?: (string | number)[] | undefined;
|
|
194
|
-
readonly defaultSelectedKeys?: (string | number)[] | undefined;
|
|
195
|
-
readonly expandedKeys?: (string | number)[] | undefined;
|
|
196
|
-
readonly defaultExpandedKeys?: (string | number)[] | undefined;
|
|
197
|
-
readonly defaultExpandAllRows: boolean;
|
|
198
|
-
readonly stickyHeader: number | boolean;
|
|
199
|
-
readonly scrollbar: boolean | import("@arco-design/web-vue").ScrollbarProps;
|
|
200
|
-
readonly showEmptyTree: boolean;
|
|
201
|
-
onChange?: ((data: TableData[], extra: TableChangeExtra, currentData: TableData[]) => any) | undefined;
|
|
202
|
-
onSelect?: ((rowKeys: (string | number)[], rowKey: string | number, record: TableData) => any) | undefined;
|
|
203
|
-
onPageChange?: ((page: number) => any) | undefined;
|
|
204
|
-
onPageSizeChange?: ((pageSize: number) => any) | undefined;
|
|
205
|
-
onExpand?: ((rowKey: string | number, record: TableData) => any) | undefined;
|
|
206
|
-
"onUpdate:selectedKeys"?: ((rowKeys: (string | number)[]) => any) | undefined;
|
|
207
|
-
"onUpdate:expandedKeys"?: ((rowKeys: (string | number)[]) => any) | undefined;
|
|
208
|
-
onExpandedChange?: ((rowKeys: (string | number)[]) => any) | undefined;
|
|
209
|
-
onSelectAll?: ((checked: boolean) => any) | undefined;
|
|
210
|
-
onSelectionChange?: ((rowKeys: (string | number)[]) => any) | undefined;
|
|
211
|
-
onSorterChange?: ((dataIndex: string, direction: string) => any) | undefined;
|
|
212
|
-
onFilterChange?: ((dataIndex: string, filteredValues: string[]) => any) | undefined;
|
|
213
|
-
onCellMouseEnter?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
214
|
-
onCellMouseLeave?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
215
|
-
onCellClick?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
216
|
-
onRowClick?: ((record: TableData, ev: Event) => any) | undefined;
|
|
217
|
-
onHeaderClick?: ((column: TableColumnData, ev: Event) => any) | undefined;
|
|
218
|
-
onColumnResize?: ((dataIndex: string, width: number) => any) | undefined;
|
|
219
|
-
onRowDblclick?: ((record: TableData, ev: Event) => any) | undefined;
|
|
220
|
-
onCellDblclick?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
221
|
-
onRowContextmenu?: ((record: TableData, ev: Event) => any) | undefined;
|
|
222
|
-
onCellContextmenu?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
223
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<{
|
|
224
|
-
columns?: unknown;
|
|
225
|
-
data?: unknown;
|
|
226
|
-
bordered?: unknown;
|
|
227
|
-
hoverable?: unknown;
|
|
228
|
-
stripe?: unknown;
|
|
229
|
-
size?: unknown;
|
|
230
|
-
tableLayoutFixed?: unknown;
|
|
231
|
-
loading?: unknown;
|
|
232
|
-
rowSelection?: unknown;
|
|
233
|
-
expandable?: unknown;
|
|
234
|
-
scroll?: unknown;
|
|
235
|
-
pagination?: unknown;
|
|
236
|
-
pagePosition?: unknown;
|
|
237
|
-
indentSize?: unknown;
|
|
238
|
-
rowKey?: unknown;
|
|
239
|
-
showHeader?: unknown;
|
|
240
|
-
virtualListProps?: unknown;
|
|
241
|
-
spanMethod?: unknown;
|
|
242
|
-
spanAll?: unknown;
|
|
243
|
-
components?: unknown;
|
|
244
|
-
loadMore?: unknown;
|
|
245
|
-
filterIconAlignLeft?: unknown;
|
|
246
|
-
hideExpandButtonOnEmpty?: unknown;
|
|
247
|
-
rowClass?: unknown;
|
|
248
|
-
draggable?: unknown;
|
|
249
|
-
rowNumber?: unknown;
|
|
250
|
-
columnResizable?: unknown;
|
|
251
|
-
summary?: unknown;
|
|
252
|
-
summaryText?: unknown;
|
|
253
|
-
summarySpanMethod?: unknown;
|
|
254
|
-
selectedKeys?: unknown;
|
|
255
|
-
defaultSelectedKeys?: unknown;
|
|
256
|
-
expandedKeys?: unknown;
|
|
257
|
-
defaultExpandedKeys?: unknown;
|
|
258
|
-
defaultExpandAllRows?: unknown;
|
|
259
|
-
stickyHeader?: unknown;
|
|
260
|
-
scrollbar?: unknown;
|
|
261
|
-
showEmptyTree?: unknown;
|
|
262
|
-
} & {
|
|
263
|
-
size: "mini" | "small" | "medium" | "large";
|
|
264
|
-
scrollbar: boolean | import("@arco-design/web-vue").ScrollbarProps;
|
|
265
|
-
data: TableData[];
|
|
266
|
-
loading: boolean | Record<string, any>;
|
|
267
|
-
bordered: boolean | import("@arco-design/web-vue").TableBorder;
|
|
268
|
-
columns: TableColumnData[];
|
|
269
|
-
hoverable: boolean;
|
|
270
|
-
pagination: boolean | import("@arco-design/web-vue").PaginationProps;
|
|
271
|
-
stripe: boolean;
|
|
272
|
-
tableLayoutFixed: boolean;
|
|
273
|
-
pagePosition: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
|
|
274
|
-
indentSize: number;
|
|
275
|
-
rowKey: string;
|
|
276
|
-
showHeader: boolean;
|
|
277
|
-
spanAll: boolean;
|
|
278
|
-
filterIconAlignLeft: boolean;
|
|
279
|
-
hideExpandButtonOnEmpty: boolean;
|
|
280
|
-
columnResizable: boolean;
|
|
281
|
-
summaryText: string;
|
|
282
|
-
defaultExpandAllRows: boolean;
|
|
283
|
-
stickyHeader: number | boolean;
|
|
284
|
-
showEmptyTree: boolean;
|
|
285
|
-
} & {
|
|
286
|
-
scroll?: {
|
|
287
|
-
x?: string | number | undefined;
|
|
288
|
-
y?: string | number | undefined;
|
|
289
|
-
minWidth?: string | number | undefined;
|
|
290
|
-
maxHeight?: string | number | undefined;
|
|
291
|
-
} | undefined;
|
|
292
|
-
summary?: boolean | ((params: {
|
|
293
|
-
columns: TableColumnData[];
|
|
294
|
-
data: TableData[];
|
|
295
|
-
}) => TableData[]) | undefined;
|
|
296
|
-
virtualListProps?: import("@arco-design/web-vue/es/_components/virtual-list-v2/interface").VirtualListProps | undefined;
|
|
297
|
-
components?: import("@arco-design/web-vue/es/table/interface").TableComponents | undefined;
|
|
298
|
-
rowSelection?: import("@arco-design/web-vue").TableRowSelection | undefined;
|
|
299
|
-
expandable?: import("@arco-design/web-vue").TableExpandable | undefined;
|
|
300
|
-
spanMethod?: ((data: {
|
|
301
|
-
record: TableData;
|
|
302
|
-
column: TableColumnData | import("@arco-design/web-vue/es/table/interface").TableOperationColumn;
|
|
303
|
-
rowIndex: number;
|
|
304
|
-
columnIndex: number;
|
|
305
|
-
}) => void | {
|
|
306
|
-
rowspan?: number | undefined;
|
|
307
|
-
colspan?: number | undefined;
|
|
308
|
-
}) | undefined;
|
|
309
|
-
loadMore?: ((record: TableData, done: (children?: TableData[] | undefined) => void) => void) | undefined;
|
|
310
|
-
rowClass?: string | any[] | Record<string, any> | ((record: TableData, rowIndex: number) => any) | undefined;
|
|
311
|
-
draggable?: import("@arco-design/web-vue").TableDraggable | undefined;
|
|
312
|
-
rowNumber?: boolean | Record<string, any> | undefined;
|
|
313
|
-
summarySpanMethod?: ((data: {
|
|
314
|
-
record: TableData;
|
|
315
|
-
column: TableColumnData | import("@arco-design/web-vue/es/table/interface").TableOperationColumn;
|
|
316
|
-
rowIndex: number;
|
|
317
|
-
columnIndex: number;
|
|
318
|
-
}) => void | {
|
|
319
|
-
rowspan?: number | undefined;
|
|
320
|
-
colspan?: number | undefined;
|
|
321
|
-
}) | undefined;
|
|
322
|
-
selectedKeys?: (string | number)[] | undefined;
|
|
323
|
-
defaultSelectedKeys?: (string | number)[] | undefined;
|
|
324
|
-
expandedKeys?: (string | number)[] | undefined;
|
|
325
|
-
defaultExpandedKeys?: (string | number)[] | undefined;
|
|
326
|
-
}> & {
|
|
327
|
-
onChange?: ((data: TableData[], extra: TableChangeExtra, currentData: TableData[]) => any) | undefined;
|
|
328
|
-
onSelect?: ((rowKeys: (string | number)[], rowKey: string | number, record: TableData) => any) | undefined;
|
|
329
|
-
onPageChange?: ((page: number) => any) | undefined;
|
|
330
|
-
onPageSizeChange?: ((pageSize: number) => any) | undefined;
|
|
331
|
-
onExpand?: ((rowKey: string | number, record: TableData) => any) | undefined;
|
|
332
|
-
"onUpdate:selectedKeys"?: ((rowKeys: (string | number)[]) => any) | undefined;
|
|
333
|
-
"onUpdate:expandedKeys"?: ((rowKeys: (string | number)[]) => any) | undefined;
|
|
334
|
-
onExpandedChange?: ((rowKeys: (string | number)[]) => any) | undefined;
|
|
335
|
-
onSelectAll?: ((checked: boolean) => any) | undefined;
|
|
336
|
-
onSelectionChange?: ((rowKeys: (string | number)[]) => any) | undefined;
|
|
337
|
-
onSorterChange?: ((dataIndex: string, direction: string) => any) | undefined;
|
|
338
|
-
onFilterChange?: ((dataIndex: string, filteredValues: string[]) => any) | undefined;
|
|
339
|
-
onCellMouseEnter?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
340
|
-
onCellMouseLeave?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
341
|
-
onCellClick?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
342
|
-
onRowClick?: ((record: TableData, ev: Event) => any) | undefined;
|
|
343
|
-
onHeaderClick?: ((column: TableColumnData, ev: Event) => any) | undefined;
|
|
344
|
-
onColumnResize?: ((dataIndex: string, width: number) => any) | undefined;
|
|
345
|
-
onRowDblclick?: ((record: TableData, ev: Event) => any) | undefined;
|
|
346
|
-
onCellDblclick?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
347
|
-
onRowContextmenu?: ((record: TableData, ev: Event) => any) | undefined;
|
|
348
|
-
onCellContextmenu?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
349
|
-
}, "rowKey" | "columns" | "size" | "data" | "bordered" | "hoverable" | "stripe" | "tableLayoutFixed" | "loading" | "pagination" | "pagePosition" | "indentSize" | "showHeader" | "spanAll" | "filterIconAlignLeft" | "hideExpandButtonOnEmpty" | "columnResizable" | "summaryText" | "defaultExpandAllRows" | "stickyHeader" | "scrollbar" | "showEmptyTree">;
|
|
350
|
-
$attrs: {
|
|
351
|
-
[x: string]: unknown;
|
|
352
|
-
};
|
|
353
|
-
$refs: {
|
|
354
|
-
[x: string]: unknown;
|
|
355
|
-
};
|
|
356
|
-
$slots: Readonly<{
|
|
357
|
-
[name: string]: import("vue").Slot<any> | undefined;
|
|
358
|
-
}>;
|
|
359
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
360
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
361
|
-
$emit: ((event: "change", data: TableData[], extra: TableChangeExtra, currentData: TableData[]) => void) & ((event: "select", rowKeys: (string | number)[], rowKey: string | number, record: TableData) => void) & ((event: "update:selectedKeys", rowKeys: (string | number)[]) => void) & ((event: "update:expandedKeys", rowKeys: (string | number)[]) => void) & ((event: "expand", rowKey: string | number, record: TableData) => void) & ((event: "expandedChange", rowKeys: (string | number)[]) => void) & ((event: "selectAll", checked: boolean) => void) & ((event: "selectionChange", rowKeys: (string | number)[]) => void) & ((event: "sorterChange", dataIndex: string, direction: string) => void) & ((event: "filterChange", dataIndex: string, filteredValues: string[]) => void) & ((event: "pageChange", page: number) => void) & ((event: "pageSizeChange", pageSize: number) => void) & ((event: "cellMouseEnter", record: TableData, column: TableColumnData, ev: Event) => void) & ((event: "cellMouseLeave", record: TableData, column: TableColumnData, ev: Event) => void) & ((event: "cellClick", record: TableData, column: TableColumnData, ev: Event) => void) & ((event: "rowClick", record: TableData, ev: Event) => void) & ((event: "headerClick", column: TableColumnData, ev: Event) => void) & ((event: "columnResize", dataIndex: string, width: number) => void) & ((event: "rowDblclick", record: TableData, ev: Event) => void) & ((event: "cellDblclick", record: TableData, column: TableColumnData, ev: Event) => void) & ((event: "rowContextmenu", record: TableData, ev: Event) => void) & ((event: "cellContextmenu", record: TableData, column: TableColumnData, ev: Event) => void);
|
|
362
|
-
$el: any;
|
|
363
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
|
364
|
-
columns?: unknown;
|
|
365
|
-
data?: unknown;
|
|
366
|
-
bordered?: unknown;
|
|
367
|
-
hoverable?: unknown;
|
|
368
|
-
stripe?: unknown;
|
|
369
|
-
size?: unknown;
|
|
370
|
-
tableLayoutFixed?: unknown;
|
|
371
|
-
loading?: unknown;
|
|
372
|
-
rowSelection?: unknown;
|
|
373
|
-
expandable?: unknown;
|
|
374
|
-
scroll?: unknown;
|
|
375
|
-
pagination?: unknown;
|
|
376
|
-
pagePosition?: unknown;
|
|
377
|
-
indentSize?: unknown;
|
|
378
|
-
rowKey?: unknown;
|
|
379
|
-
showHeader?: unknown;
|
|
380
|
-
virtualListProps?: unknown;
|
|
381
|
-
spanMethod?: unknown;
|
|
382
|
-
spanAll?: unknown;
|
|
383
|
-
components?: unknown;
|
|
384
|
-
loadMore?: unknown;
|
|
385
|
-
filterIconAlignLeft?: unknown;
|
|
386
|
-
hideExpandButtonOnEmpty?: unknown;
|
|
387
|
-
rowClass?: unknown;
|
|
388
|
-
draggable?: unknown;
|
|
389
|
-
rowNumber?: unknown;
|
|
390
|
-
columnResizable?: unknown;
|
|
391
|
-
summary?: unknown;
|
|
392
|
-
summaryText?: unknown;
|
|
393
|
-
summarySpanMethod?: unknown;
|
|
394
|
-
selectedKeys?: unknown;
|
|
395
|
-
defaultSelectedKeys?: unknown;
|
|
396
|
-
expandedKeys?: unknown;
|
|
397
|
-
defaultExpandedKeys?: unknown;
|
|
398
|
-
defaultExpandAllRows?: unknown;
|
|
399
|
-
stickyHeader?: unknown;
|
|
400
|
-
scrollbar?: unknown;
|
|
401
|
-
showEmptyTree?: unknown;
|
|
402
|
-
} & {
|
|
403
|
-
size: "mini" | "small" | "medium" | "large";
|
|
404
|
-
scrollbar: boolean | import("@arco-design/web-vue").ScrollbarProps;
|
|
405
|
-
data: TableData[];
|
|
406
|
-
loading: boolean | Record<string, any>;
|
|
407
|
-
bordered: boolean | import("@arco-design/web-vue").TableBorder;
|
|
408
|
-
columns: TableColumnData[];
|
|
409
|
-
hoverable: boolean;
|
|
410
|
-
pagination: boolean | import("@arco-design/web-vue").PaginationProps;
|
|
411
|
-
stripe: boolean;
|
|
412
|
-
tableLayoutFixed: boolean;
|
|
413
|
-
pagePosition: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
|
|
414
|
-
indentSize: number;
|
|
415
|
-
rowKey: string;
|
|
416
|
-
showHeader: boolean;
|
|
417
|
-
spanAll: boolean;
|
|
418
|
-
filterIconAlignLeft: boolean;
|
|
419
|
-
hideExpandButtonOnEmpty: boolean;
|
|
420
|
-
columnResizable: boolean;
|
|
421
|
-
summaryText: string;
|
|
422
|
-
defaultExpandAllRows: boolean;
|
|
423
|
-
stickyHeader: number | boolean;
|
|
424
|
-
showEmptyTree: boolean;
|
|
425
|
-
} & {
|
|
426
|
-
scroll?: {
|
|
427
|
-
x?: string | number | undefined;
|
|
428
|
-
y?: string | number | undefined;
|
|
429
|
-
minWidth?: string | number | undefined;
|
|
430
|
-
maxHeight?: string | number | undefined;
|
|
431
|
-
} | undefined;
|
|
432
|
-
summary?: boolean | ((params: {
|
|
433
|
-
columns: TableColumnData[];
|
|
434
|
-
data: TableData[];
|
|
435
|
-
}) => TableData[]) | undefined;
|
|
436
|
-
virtualListProps?: import("@arco-design/web-vue/es/_components/virtual-list-v2/interface").VirtualListProps | undefined;
|
|
437
|
-
components?: import("@arco-design/web-vue/es/table/interface").TableComponents | undefined;
|
|
438
|
-
rowSelection?: import("@arco-design/web-vue").TableRowSelection | undefined;
|
|
439
|
-
expandable?: import("@arco-design/web-vue").TableExpandable | undefined;
|
|
440
|
-
spanMethod?: ((data: {
|
|
441
|
-
record: TableData;
|
|
442
|
-
column: TableColumnData | import("@arco-design/web-vue/es/table/interface").TableOperationColumn;
|
|
443
|
-
rowIndex: number;
|
|
444
|
-
columnIndex: number;
|
|
445
|
-
}) => void | {
|
|
446
|
-
rowspan?: number | undefined;
|
|
447
|
-
colspan?: number | undefined;
|
|
448
|
-
}) | undefined;
|
|
449
|
-
loadMore?: ((record: TableData, done: (children?: TableData[] | undefined) => void) => void) | undefined;
|
|
450
|
-
rowClass?: string | any[] | Record<string, any> | ((record: TableData, rowIndex: number) => any) | undefined;
|
|
451
|
-
draggable?: import("@arco-design/web-vue").TableDraggable | undefined;
|
|
452
|
-
rowNumber?: boolean | Record<string, any> | undefined;
|
|
453
|
-
summarySpanMethod?: ((data: {
|
|
454
|
-
record: TableData;
|
|
455
|
-
column: TableColumnData | import("@arco-design/web-vue/es/table/interface").TableOperationColumn;
|
|
456
|
-
rowIndex: number;
|
|
457
|
-
columnIndex: number;
|
|
458
|
-
}) => void | {
|
|
459
|
-
rowspan?: number | undefined;
|
|
460
|
-
colspan?: number | undefined;
|
|
461
|
-
}) | undefined;
|
|
462
|
-
selectedKeys?: (string | number)[] | undefined;
|
|
463
|
-
defaultSelectedKeys?: (string | number)[] | undefined;
|
|
464
|
-
expandedKeys?: (string | number)[] | undefined;
|
|
465
|
-
defaultExpandedKeys?: (string | number)[] | undefined;
|
|
466
|
-
}> & {
|
|
467
|
-
onChange?: ((data: TableData[], extra: TableChangeExtra, currentData: TableData[]) => any) | undefined;
|
|
468
|
-
onSelect?: ((rowKeys: (string | number)[], rowKey: string | number, record: TableData) => any) | undefined;
|
|
469
|
-
onPageChange?: ((page: number) => any) | undefined;
|
|
470
|
-
onPageSizeChange?: ((pageSize: number) => any) | undefined;
|
|
471
|
-
onExpand?: ((rowKey: string | number, record: TableData) => any) | undefined;
|
|
472
|
-
"onUpdate:selectedKeys"?: ((rowKeys: (string | number)[]) => any) | undefined;
|
|
473
|
-
"onUpdate:expandedKeys"?: ((rowKeys: (string | number)[]) => any) | undefined;
|
|
474
|
-
onExpandedChange?: ((rowKeys: (string | number)[]) => any) | undefined;
|
|
475
|
-
onSelectAll?: ((checked: boolean) => any) | undefined;
|
|
476
|
-
onSelectionChange?: ((rowKeys: (string | number)[]) => any) | undefined;
|
|
477
|
-
onSorterChange?: ((dataIndex: string, direction: string) => any) | undefined;
|
|
478
|
-
onFilterChange?: ((dataIndex: string, filteredValues: string[]) => any) | undefined;
|
|
479
|
-
onCellMouseEnter?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
480
|
-
onCellMouseLeave?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
481
|
-
onCellClick?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
482
|
-
onRowClick?: ((record: TableData, ev: Event) => any) | undefined;
|
|
483
|
-
onHeaderClick?: ((column: TableColumnData, ev: Event) => any) | undefined;
|
|
484
|
-
onColumnResize?: ((dataIndex: string, width: number) => any) | undefined;
|
|
485
|
-
onRowDblclick?: ((record: TableData, ev: Event) => any) | undefined;
|
|
486
|
-
onCellDblclick?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
487
|
-
onRowContextmenu?: ((record: TableData, ev: Event) => any) | undefined;
|
|
488
|
-
onCellContextmenu?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
489
|
-
}, {
|
|
490
|
-
render: () => JSX.Element;
|
|
491
|
-
selfExpand: (rowKey: import("@arco-design/web-vue/es/_utils/types").BaseType | import("@arco-design/web-vue/es/_utils/types").BaseType[], expanded?: boolean | undefined) => void;
|
|
492
|
-
selfExpandAll: (expanded?: boolean | undefined) => void;
|
|
493
|
-
selfSelect: (rowKey: import("@arco-design/web-vue/es/_utils/types").BaseType | import("@arco-design/web-vue/es/_utils/types").BaseType[], checked?: boolean | undefined) => void;
|
|
494
|
-
selfSelectAll: (checked?: boolean | undefined) => void;
|
|
495
|
-
selfResetFilters: (dataIndex?: string | string[] | undefined) => void;
|
|
496
|
-
selfClearFilters: (dataIndex?: string | string[] | undefined) => void;
|
|
497
|
-
selfResetSorters: () => void;
|
|
498
|
-
selfClearSorters: () => void;
|
|
499
|
-
}, unknown, {}, {
|
|
500
|
-
selectAll(checked?: boolean | undefined): void;
|
|
501
|
-
select(rowKey: string | number | (string | number)[], checked?: boolean | undefined): void;
|
|
502
|
-
expandAll(checked?: boolean | undefined): void;
|
|
503
|
-
expand(rowKey: string | number | (string | number)[], checked?: boolean | undefined): void;
|
|
504
|
-
resetFilters(dataIndex?: string | string[] | undefined): void;
|
|
505
|
-
clearFilters(dataIndex?: string | string[] | undefined): void;
|
|
506
|
-
resetSorters(): void;
|
|
507
|
-
clearSorters(): void;
|
|
508
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
509
|
-
'update:selectedKeys': (rowKeys: (string | number)[]) => true;
|
|
510
|
-
'update:expandedKeys': (rowKeys: (string | number)[]) => true;
|
|
511
|
-
expand: (rowKey: string | number, record: TableData) => true;
|
|
512
|
-
expandedChange: (rowKeys: (string | number)[]) => true;
|
|
513
|
-
select: (rowKeys: (string | number)[], rowKey: string | number, record: TableData) => true;
|
|
514
|
-
selectAll: (checked: boolean) => true;
|
|
515
|
-
selectionChange: (rowKeys: (string | number)[]) => true;
|
|
516
|
-
sorterChange: (dataIndex: string, direction: string) => true;
|
|
517
|
-
filterChange: (dataIndex: string, filteredValues: string[]) => true;
|
|
518
|
-
pageChange: (page: number) => true;
|
|
519
|
-
pageSizeChange: (pageSize: number) => true;
|
|
520
|
-
change: (data: TableData[], extra: TableChangeExtra, currentData: TableData[]) => true;
|
|
521
|
-
cellMouseEnter: (record: TableData, column: TableColumnData, ev: Event) => true;
|
|
522
|
-
cellMouseLeave: (record: TableData, column: TableColumnData, ev: Event) => true;
|
|
523
|
-
cellClick: (record: TableData, column: TableColumnData, ev: Event) => true;
|
|
524
|
-
rowClick: (record: TableData, ev: Event) => true;
|
|
525
|
-
headerClick: (column: TableColumnData, ev: Event) => true;
|
|
526
|
-
columnResize: (dataIndex: string, width: number) => true;
|
|
527
|
-
rowDblclick: (record: TableData, ev: Event) => true;
|
|
528
|
-
cellDblclick: (record: TableData, column: TableColumnData, ev: Event) => true;
|
|
529
|
-
rowContextmenu: (record: TableData, ev: Event) => true;
|
|
530
|
-
cellContextmenu: (record: TableData, column: TableColumnData, ev: Event) => true;
|
|
531
|
-
}, string, {
|
|
532
|
-
size: "mini" | "small" | "medium" | "large";
|
|
533
|
-
scrollbar: boolean | import("@arco-design/web-vue").ScrollbarProps;
|
|
534
|
-
data: TableData[];
|
|
535
|
-
loading: boolean | Record<string, any>;
|
|
536
|
-
bordered: boolean | import("@arco-design/web-vue").TableBorder;
|
|
537
|
-
columns: TableColumnData[];
|
|
538
|
-
hoverable: boolean;
|
|
539
|
-
pagination: boolean | import("@arco-design/web-vue").PaginationProps;
|
|
540
|
-
stripe: boolean;
|
|
541
|
-
tableLayoutFixed: boolean;
|
|
542
|
-
pagePosition: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
|
|
543
|
-
indentSize: number;
|
|
544
|
-
rowKey: string;
|
|
545
|
-
showHeader: boolean;
|
|
546
|
-
spanAll: boolean;
|
|
547
|
-
filterIconAlignLeft: boolean;
|
|
548
|
-
hideExpandButtonOnEmpty: boolean;
|
|
549
|
-
columnResizable: boolean;
|
|
550
|
-
summaryText: string;
|
|
551
|
-
defaultExpandAllRows: boolean;
|
|
552
|
-
stickyHeader: number | boolean;
|
|
553
|
-
showEmptyTree: boolean;
|
|
554
|
-
}, {}, string, {}> & {
|
|
555
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
556
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
557
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
558
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
559
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
560
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
561
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
562
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
563
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
564
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
565
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
566
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
567
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
568
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
569
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
570
|
-
};
|
|
571
|
-
$forceUpdate: () => void;
|
|
572
|
-
$nextTick: typeof import("vue").nextTick;
|
|
573
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
574
|
-
} & Readonly<{
|
|
113
|
+
tableInstance: Ref<import('vue').CreateComponentPublicInstance<Readonly<{
|
|
575
114
|
columns?: unknown;
|
|
576
115
|
data?: unknown;
|
|
577
116
|
bordered?: unknown;
|
|
@@ -612,13 +151,13 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
612
151
|
showEmptyTree?: unknown;
|
|
613
152
|
} & {
|
|
614
153
|
size: "mini" | "small" | "medium" | "large";
|
|
615
|
-
scrollbar: boolean | import(
|
|
154
|
+
scrollbar: boolean | import('@arco-design/web-vue').ScrollbarProps;
|
|
616
155
|
data: TableData[];
|
|
617
156
|
loading: boolean | Record<string, any>;
|
|
618
|
-
bordered: boolean | import(
|
|
157
|
+
bordered: boolean | import('@arco-design/web-vue').TableBorder;
|
|
619
158
|
columns: TableColumnData[];
|
|
620
159
|
hoverable: boolean;
|
|
621
|
-
pagination: boolean | import(
|
|
160
|
+
pagination: boolean | import('@arco-design/web-vue').PaginationProps;
|
|
622
161
|
stripe: boolean;
|
|
623
162
|
tableLayoutFixed: boolean;
|
|
624
163
|
pagePosition: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
|
|
@@ -644,26 +183,26 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
644
183
|
columns: TableColumnData[];
|
|
645
184
|
data: TableData[];
|
|
646
185
|
}) => TableData[]) | undefined;
|
|
647
|
-
virtualListProps?: import(
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
expandable?: import("@arco-design/web-vue").TableExpandable | undefined;
|
|
186
|
+
virtualListProps?: import('@arco-design/web-vue/es/_components/virtual-list-v2/interface').VirtualListProps | undefined;
|
|
187
|
+
rowSelection?: import('@arco-design/web-vue').TableRowSelection | undefined;
|
|
188
|
+
expandable?: import('@arco-design/web-vue').TableExpandable | undefined;
|
|
651
189
|
spanMethod?: ((data: {
|
|
652
190
|
record: TableData;
|
|
653
|
-
column: TableColumnData | import(
|
|
191
|
+
column: TableColumnData | import('@arco-design/web-vue/es/table/interface').TableOperationColumn;
|
|
654
192
|
rowIndex: number;
|
|
655
193
|
columnIndex: number;
|
|
656
194
|
}) => void | {
|
|
657
195
|
rowspan?: number | undefined;
|
|
658
196
|
colspan?: number | undefined;
|
|
659
197
|
}) | undefined;
|
|
198
|
+
components?: import('@arco-design/web-vue/es/table/interface').TableComponents | undefined;
|
|
660
199
|
loadMore?: ((record: TableData, done: (children?: TableData[] | undefined) => void) => void) | undefined;
|
|
661
200
|
rowClass?: string | any[] | Record<string, any> | ((record: TableData, rowIndex: number) => any) | undefined;
|
|
662
|
-
draggable?: import(
|
|
201
|
+
draggable?: import('@arco-design/web-vue').TableDraggable | undefined;
|
|
663
202
|
rowNumber?: boolean | Record<string, any> | undefined;
|
|
664
203
|
summarySpanMethod?: ((data: {
|
|
665
204
|
record: TableData;
|
|
666
|
-
column: TableColumnData | import(
|
|
205
|
+
column: TableColumnData | import('@arco-design/web-vue/es/table/interface').TableOperationColumn;
|
|
667
206
|
rowIndex: number;
|
|
668
207
|
columnIndex: number;
|
|
669
208
|
}) => void | {
|
|
@@ -697,17 +236,17 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
697
236
|
onCellDblclick?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
698
237
|
onRowContextmenu?: ((record: TableData, ev: Event) => any) | undefined;
|
|
699
238
|
onCellContextmenu?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
700
|
-
}
|
|
239
|
+
}, {
|
|
701
240
|
render: () => JSX.Element;
|
|
702
|
-
selfExpand: (rowKey: import(
|
|
241
|
+
selfExpand: (rowKey: import('@arco-design/web-vue/es/_utils/types').BaseType | import('@arco-design/web-vue/es/_utils/types').BaseType[], expanded?: boolean | undefined) => void;
|
|
703
242
|
selfExpandAll: (expanded?: boolean | undefined) => void;
|
|
704
|
-
selfSelect: (rowKey: import(
|
|
243
|
+
selfSelect: (rowKey: import('@arco-design/web-vue/es/_utils/types').BaseType | import('@arco-design/web-vue/es/_utils/types').BaseType[], checked?: boolean | undefined) => void;
|
|
705
244
|
selfSelectAll: (checked?: boolean | undefined) => void;
|
|
706
245
|
selfResetFilters: (dataIndex?: string | string[] | undefined) => void;
|
|
707
246
|
selfClearFilters: (dataIndex?: string | string[] | undefined) => void;
|
|
708
247
|
selfResetSorters: () => void;
|
|
709
248
|
selfClearSorters: () => void;
|
|
710
|
-
}
|
|
249
|
+
}, unknown, {}, {
|
|
711
250
|
selectAll(checked?: boolean | undefined): void;
|
|
712
251
|
select(rowKey: string | number | (string | number)[], checked?: boolean | undefined): void;
|
|
713
252
|
expandAll(checked?: boolean | undefined): void;
|
|
@@ -716,17 +255,77 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
716
255
|
clearFilters(dataIndex?: string | string[] | undefined): void;
|
|
717
256
|
resetSorters(): void;
|
|
718
257
|
clearSorters(): void;
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
|
|
258
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
259
|
+
'update:selectedKeys': (rowKeys: (string | number)[]) => true;
|
|
260
|
+
'update:expandedKeys': (rowKeys: (string | number)[]) => true;
|
|
261
|
+
expand: (rowKey: string | number, record: TableData) => true;
|
|
262
|
+
expandedChange: (rowKeys: (string | number)[]) => true;
|
|
263
|
+
select: (rowKeys: (string | number)[], rowKey: string | number, record: TableData) => true;
|
|
264
|
+
selectAll: (checked: boolean) => true;
|
|
265
|
+
selectionChange: (rowKeys: (string | number)[]) => true;
|
|
266
|
+
sorterChange: (dataIndex: string, direction: string) => true;
|
|
267
|
+
filterChange: (dataIndex: string, filteredValues: string[]) => true;
|
|
268
|
+
pageChange: (page: number) => true;
|
|
269
|
+
pageSizeChange: (pageSize: number) => true;
|
|
270
|
+
change: (data: TableData[], extra: TableChangeExtra, currentData: TableData[]) => true;
|
|
271
|
+
cellMouseEnter: (record: TableData, column: TableColumnData, ev: Event) => true;
|
|
272
|
+
cellMouseLeave: (record: TableData, column: TableColumnData, ev: Event) => true;
|
|
273
|
+
cellClick: (record: TableData, column: TableColumnData, ev: Event) => true;
|
|
274
|
+
rowClick: (record: TableData, ev: Event) => true;
|
|
275
|
+
headerClick: (column: TableColumnData, ev: Event) => true;
|
|
276
|
+
columnResize: (dataIndex: string, width: number) => true;
|
|
277
|
+
rowDblclick: (record: TableData, ev: Event) => true;
|
|
278
|
+
cellDblclick: (record: TableData, column: TableColumnData, ev: Event) => true;
|
|
279
|
+
rowContextmenu: (record: TableData, ev: Event) => true;
|
|
280
|
+
cellContextmenu: (record: TableData, column: TableColumnData, ev: Event) => true;
|
|
281
|
+
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{
|
|
282
|
+
columns?: unknown;
|
|
283
|
+
data?: unknown;
|
|
284
|
+
bordered?: unknown;
|
|
285
|
+
hoverable?: unknown;
|
|
286
|
+
stripe?: unknown;
|
|
287
|
+
size?: unknown;
|
|
288
|
+
tableLayoutFixed?: unknown;
|
|
289
|
+
loading?: unknown;
|
|
290
|
+
rowSelection?: unknown;
|
|
291
|
+
expandable?: unknown;
|
|
292
|
+
scroll?: unknown;
|
|
293
|
+
pagination?: unknown;
|
|
294
|
+
pagePosition?: unknown;
|
|
295
|
+
indentSize?: unknown;
|
|
296
|
+
rowKey?: unknown;
|
|
297
|
+
showHeader?: unknown;
|
|
298
|
+
virtualListProps?: unknown;
|
|
299
|
+
spanMethod?: unknown;
|
|
300
|
+
spanAll?: unknown;
|
|
301
|
+
components?: unknown;
|
|
302
|
+
loadMore?: unknown;
|
|
303
|
+
filterIconAlignLeft?: unknown;
|
|
304
|
+
hideExpandButtonOnEmpty?: unknown;
|
|
305
|
+
rowClass?: unknown;
|
|
306
|
+
draggable?: unknown;
|
|
307
|
+
rowNumber?: unknown;
|
|
308
|
+
columnResizable?: unknown;
|
|
309
|
+
summary?: unknown;
|
|
310
|
+
summaryText?: unknown;
|
|
311
|
+
summarySpanMethod?: unknown;
|
|
312
|
+
selectedKeys?: unknown;
|
|
313
|
+
defaultSelectedKeys?: unknown;
|
|
314
|
+
expandedKeys?: unknown;
|
|
315
|
+
defaultExpandedKeys?: unknown;
|
|
316
|
+
defaultExpandAllRows?: unknown;
|
|
317
|
+
stickyHeader?: unknown;
|
|
318
|
+
scrollbar?: unknown;
|
|
319
|
+
showEmptyTree?: unknown;
|
|
320
|
+
} & {
|
|
722
321
|
size: "mini" | "small" | "medium" | "large";
|
|
723
|
-
scrollbar: boolean | import(
|
|
322
|
+
scrollbar: boolean | import('@arco-design/web-vue').ScrollbarProps;
|
|
724
323
|
data: TableData[];
|
|
725
324
|
loading: boolean | Record<string, any>;
|
|
726
|
-
bordered: boolean | import(
|
|
325
|
+
bordered: boolean | import('@arco-design/web-vue').TableBorder;
|
|
727
326
|
columns: TableColumnData[];
|
|
728
327
|
hoverable: boolean;
|
|
729
|
-
pagination: boolean | import(
|
|
328
|
+
pagination: boolean | import('@arco-design/web-vue').PaginationProps;
|
|
730
329
|
stripe: boolean;
|
|
731
330
|
tableLayoutFixed: boolean;
|
|
732
331
|
pagePosition: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
|
|
@@ -741,69 +340,48 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
741
340
|
defaultExpandAllRows: boolean;
|
|
742
341
|
stickyHeader: number | boolean;
|
|
743
342
|
showEmptyTree: boolean;
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
readonly data: TableData[];
|
|
747
|
-
readonly bordered: boolean | import("@arco-design/web-vue").TableBorder;
|
|
748
|
-
readonly hoverable: boolean;
|
|
749
|
-
readonly stripe: boolean;
|
|
750
|
-
readonly size: "mini" | "small" | "medium" | "large";
|
|
751
|
-
readonly tableLayoutFixed: boolean;
|
|
752
|
-
readonly loading: boolean | Record<string, any>;
|
|
753
|
-
readonly rowSelection?: import("@arco-design/web-vue").TableRowSelection | undefined;
|
|
754
|
-
readonly expandable?: import("@arco-design/web-vue").TableExpandable | undefined;
|
|
755
|
-
readonly scroll?: {
|
|
343
|
+
} & {
|
|
344
|
+
scroll?: {
|
|
756
345
|
x?: string | number | undefined;
|
|
757
346
|
y?: string | number | undefined;
|
|
758
347
|
minWidth?: string | number | undefined;
|
|
759
348
|
maxHeight?: string | number | undefined;
|
|
760
349
|
} | undefined;
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
350
|
+
summary?: boolean | ((params: {
|
|
351
|
+
columns: TableColumnData[];
|
|
352
|
+
data: TableData[];
|
|
353
|
+
}) => TableData[]) | undefined;
|
|
354
|
+
virtualListProps?: import('@arco-design/web-vue/es/_components/virtual-list-v2/interface').VirtualListProps | undefined;
|
|
355
|
+
rowSelection?: import('@arco-design/web-vue').TableRowSelection | undefined;
|
|
356
|
+
expandable?: import('@arco-design/web-vue').TableExpandable | undefined;
|
|
357
|
+
spanMethod?: ((data: {
|
|
768
358
|
record: TableData;
|
|
769
|
-
column: TableColumnData | import(
|
|
359
|
+
column: TableColumnData | import('@arco-design/web-vue/es/table/interface').TableOperationColumn;
|
|
770
360
|
rowIndex: number;
|
|
771
361
|
columnIndex: number;
|
|
772
362
|
}) => void | {
|
|
773
363
|
rowspan?: number | undefined;
|
|
774
364
|
colspan?: number | undefined;
|
|
775
365
|
}) | undefined;
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
readonly draggable?: import("@arco-design/web-vue").TableDraggable | undefined;
|
|
783
|
-
readonly rowNumber?: boolean | Record<string, any> | undefined;
|
|
784
|
-
readonly columnResizable: boolean;
|
|
785
|
-
readonly summary?: boolean | ((params: {
|
|
786
|
-
columns: TableColumnData[];
|
|
787
|
-
data: TableData[];
|
|
788
|
-
}) => TableData[]) | undefined;
|
|
789
|
-
readonly summaryText: string;
|
|
790
|
-
readonly summarySpanMethod?: ((data: {
|
|
366
|
+
components?: import('@arco-design/web-vue/es/table/interface').TableComponents | undefined;
|
|
367
|
+
loadMore?: ((record: TableData, done: (children?: TableData[] | undefined) => void) => void) | undefined;
|
|
368
|
+
rowClass?: string | any[] | Record<string, any> | ((record: TableData, rowIndex: number) => any) | undefined;
|
|
369
|
+
draggable?: import('@arco-design/web-vue').TableDraggable | undefined;
|
|
370
|
+
rowNumber?: boolean | Record<string, any> | undefined;
|
|
371
|
+
summarySpanMethod?: ((data: {
|
|
791
372
|
record: TableData;
|
|
792
|
-
column: TableColumnData | import(
|
|
373
|
+
column: TableColumnData | import('@arco-design/web-vue/es/table/interface').TableOperationColumn;
|
|
793
374
|
rowIndex: number;
|
|
794
375
|
columnIndex: number;
|
|
795
376
|
}) => void | {
|
|
796
377
|
rowspan?: number | undefined;
|
|
797
378
|
colspan?: number | undefined;
|
|
798
379
|
}) | undefined;
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
readonly stickyHeader: number | boolean;
|
|
805
|
-
readonly scrollbar: boolean | import("@arco-design/web-vue").ScrollbarProps;
|
|
806
|
-
readonly showEmptyTree: boolean;
|
|
380
|
+
selectedKeys?: (string | number)[] | undefined;
|
|
381
|
+
defaultSelectedKeys?: (string | number)[] | undefined;
|
|
382
|
+
expandedKeys?: (string | number)[] | undefined;
|
|
383
|
+
defaultExpandedKeys?: (string | number)[] | undefined;
|
|
384
|
+
}> & {
|
|
807
385
|
onChange?: ((data: TableData[], extra: TableChangeExtra, currentData: TableData[]) => any) | undefined;
|
|
808
386
|
onSelect?: ((rowKeys: (string | number)[], rowKey: string | number, record: TableData) => any) | undefined;
|
|
809
387
|
onPageChange?: ((page: number) => any) | undefined;
|
|
@@ -826,7 +404,37 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
826
404
|
onCellDblclick?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
827
405
|
onRowContextmenu?: ((record: TableData, ev: Event) => any) | undefined;
|
|
828
406
|
onCellContextmenu?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
829
|
-
}
|
|
407
|
+
}, {
|
|
408
|
+
size: "mini" | "small" | "medium" | "large";
|
|
409
|
+
scrollbar: boolean | import('@arco-design/web-vue').ScrollbarProps;
|
|
410
|
+
data: TableData[];
|
|
411
|
+
loading: boolean | Record<string, any>;
|
|
412
|
+
bordered: boolean | import('@arco-design/web-vue').TableBorder;
|
|
413
|
+
columns: TableColumnData[];
|
|
414
|
+
hoverable: boolean;
|
|
415
|
+
pagination: boolean | import('@arco-design/web-vue').PaginationProps;
|
|
416
|
+
stripe: boolean;
|
|
417
|
+
tableLayoutFixed: boolean;
|
|
418
|
+
pagePosition: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
|
|
419
|
+
indentSize: number;
|
|
420
|
+
rowKey: string;
|
|
421
|
+
showHeader: boolean;
|
|
422
|
+
spanAll: boolean;
|
|
423
|
+
filterIconAlignLeft: boolean;
|
|
424
|
+
hideExpandButtonOnEmpty: boolean;
|
|
425
|
+
columnResizable: boolean;
|
|
426
|
+
summaryText: string;
|
|
427
|
+
defaultExpandAllRows: boolean;
|
|
428
|
+
stickyHeader: number | boolean;
|
|
429
|
+
showEmptyTree: boolean;
|
|
430
|
+
}, true, {}, {}, {
|
|
431
|
+
P: {};
|
|
432
|
+
B: {};
|
|
433
|
+
D: {};
|
|
434
|
+
C: {};
|
|
435
|
+
M: {};
|
|
436
|
+
Defaults: {};
|
|
437
|
+
}, Readonly<{
|
|
830
438
|
columns?: unknown;
|
|
831
439
|
data?: unknown;
|
|
832
440
|
bordered?: unknown;
|
|
@@ -867,13 +475,13 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
867
475
|
showEmptyTree?: unknown;
|
|
868
476
|
} & {
|
|
869
477
|
size: "mini" | "small" | "medium" | "large";
|
|
870
|
-
scrollbar: boolean | import(
|
|
478
|
+
scrollbar: boolean | import('@arco-design/web-vue').ScrollbarProps;
|
|
871
479
|
data: TableData[];
|
|
872
480
|
loading: boolean | Record<string, any>;
|
|
873
|
-
bordered: boolean | import(
|
|
481
|
+
bordered: boolean | import('@arco-design/web-vue').TableBorder;
|
|
874
482
|
columns: TableColumnData[];
|
|
875
483
|
hoverable: boolean;
|
|
876
|
-
pagination: boolean | import(
|
|
484
|
+
pagination: boolean | import('@arco-design/web-vue').PaginationProps;
|
|
877
485
|
stripe: boolean;
|
|
878
486
|
tableLayoutFixed: boolean;
|
|
879
487
|
pagePosition: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
|
|
@@ -899,26 +507,26 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
899
507
|
columns: TableColumnData[];
|
|
900
508
|
data: TableData[];
|
|
901
509
|
}) => TableData[]) | undefined;
|
|
902
|
-
virtualListProps?: import(
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
expandable?: import("@arco-design/web-vue").TableExpandable | undefined;
|
|
510
|
+
virtualListProps?: import('@arco-design/web-vue/es/_components/virtual-list-v2/interface').VirtualListProps | undefined;
|
|
511
|
+
rowSelection?: import('@arco-design/web-vue').TableRowSelection | undefined;
|
|
512
|
+
expandable?: import('@arco-design/web-vue').TableExpandable | undefined;
|
|
906
513
|
spanMethod?: ((data: {
|
|
907
514
|
record: TableData;
|
|
908
|
-
column: TableColumnData | import(
|
|
515
|
+
column: TableColumnData | import('@arco-design/web-vue/es/table/interface').TableOperationColumn;
|
|
909
516
|
rowIndex: number;
|
|
910
517
|
columnIndex: number;
|
|
911
518
|
}) => void | {
|
|
912
519
|
rowspan?: number | undefined;
|
|
913
520
|
colspan?: number | undefined;
|
|
914
521
|
}) | undefined;
|
|
522
|
+
components?: import('@arco-design/web-vue/es/table/interface').TableComponents | undefined;
|
|
915
523
|
loadMore?: ((record: TableData, done: (children?: TableData[] | undefined) => void) => void) | undefined;
|
|
916
524
|
rowClass?: string | any[] | Record<string, any> | ((record: TableData, rowIndex: number) => any) | undefined;
|
|
917
|
-
draggable?: import(
|
|
525
|
+
draggable?: import('@arco-design/web-vue').TableDraggable | undefined;
|
|
918
526
|
rowNumber?: boolean | Record<string, any> | undefined;
|
|
919
527
|
summarySpanMethod?: ((data: {
|
|
920
528
|
record: TableData;
|
|
921
|
-
column: TableColumnData | import(
|
|
529
|
+
column: TableColumnData | import('@arco-design/web-vue/es/table/interface').TableOperationColumn;
|
|
922
530
|
rowIndex: number;
|
|
923
531
|
columnIndex: number;
|
|
924
532
|
}) => void | {
|
|
@@ -952,817 +560,935 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
952
560
|
onCellDblclick?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
953
561
|
onRowContextmenu?: ((record: TableData, ev: Event) => any) | undefined;
|
|
954
562
|
onCellContextmenu?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
955
|
-
},
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
}
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
}
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
563
|
+
}, {
|
|
564
|
+
render: () => JSX.Element;
|
|
565
|
+
selfExpand: (rowKey: import('@arco-design/web-vue/es/_utils/types').BaseType | import('@arco-design/web-vue/es/_utils/types').BaseType[], expanded?: boolean | undefined) => void;
|
|
566
|
+
selfExpandAll: (expanded?: boolean | undefined) => void;
|
|
567
|
+
selfSelect: (rowKey: import('@arco-design/web-vue/es/_utils/types').BaseType | import('@arco-design/web-vue/es/_utils/types').BaseType[], checked?: boolean | undefined) => void;
|
|
568
|
+
selfSelectAll: (checked?: boolean | undefined) => void;
|
|
569
|
+
selfResetFilters: (dataIndex?: string | string[] | undefined) => void;
|
|
570
|
+
selfClearFilters: (dataIndex?: string | string[] | undefined) => void;
|
|
571
|
+
selfResetSorters: () => void;
|
|
572
|
+
selfClearSorters: () => void;
|
|
573
|
+
}, {}, {}, {
|
|
574
|
+
selectAll(checked?: boolean | undefined): void;
|
|
575
|
+
select(rowKey: string | number | (string | number)[], checked?: boolean | undefined): void;
|
|
576
|
+
expandAll(checked?: boolean | undefined): void;
|
|
577
|
+
expand(rowKey: string | number | (string | number)[], checked?: boolean | undefined): void;
|
|
578
|
+
resetFilters(dataIndex?: string | string[] | undefined): void;
|
|
579
|
+
clearFilters(dataIndex?: string | string[] | undefined): void;
|
|
580
|
+
resetSorters(): void;
|
|
581
|
+
clearSorters(): void;
|
|
582
|
+
}, {
|
|
583
|
+
size: "mini" | "small" | "medium" | "large";
|
|
584
|
+
scrollbar: boolean | import('@arco-design/web-vue').ScrollbarProps;
|
|
585
|
+
data: TableData[];
|
|
586
|
+
loading: boolean | Record<string, any>;
|
|
587
|
+
bordered: boolean | import('@arco-design/web-vue').TableBorder;
|
|
588
|
+
columns: TableColumnData[];
|
|
589
|
+
hoverable: boolean;
|
|
590
|
+
pagination: boolean | import('@arco-design/web-vue').PaginationProps;
|
|
591
|
+
stripe: boolean;
|
|
592
|
+
tableLayoutFixed: boolean;
|
|
593
|
+
pagePosition: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
|
|
594
|
+
indentSize: number;
|
|
595
|
+
rowKey: string;
|
|
596
|
+
showHeader: boolean;
|
|
597
|
+
spanAll: boolean;
|
|
598
|
+
filterIconAlignLeft: boolean;
|
|
599
|
+
hideExpandButtonOnEmpty: boolean;
|
|
600
|
+
columnResizable: boolean;
|
|
601
|
+
summaryText: string;
|
|
602
|
+
defaultExpandAllRows: boolean;
|
|
603
|
+
stickyHeader: number | boolean;
|
|
604
|
+
showEmptyTree: boolean;
|
|
605
|
+
}> | undefined>;
|
|
606
|
+
tableSource: Ref<import('../interfaces').DataRecord[]>;
|
|
607
|
+
tableOptions: import('vue').ComputedRef<Partial<Partial<{
|
|
608
|
+
size: "mini" | "small" | "medium" | "large";
|
|
609
|
+
scrollbar: boolean | import('@arco-design/web-vue').ScrollbarProps;
|
|
610
|
+
data: TableData[];
|
|
611
|
+
loading: boolean | Record<string, any>;
|
|
612
|
+
bordered: boolean | import('@arco-design/web-vue').TableBorder;
|
|
613
|
+
columns: TableColumnData[];
|
|
614
|
+
hoverable: boolean;
|
|
615
|
+
pagination: boolean | import('@arco-design/web-vue').PaginationProps;
|
|
616
|
+
stripe: boolean;
|
|
617
|
+
tableLayoutFixed: boolean;
|
|
618
|
+
pagePosition: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
|
|
619
|
+
indentSize: number;
|
|
620
|
+
rowKey: string;
|
|
621
|
+
showHeader: boolean;
|
|
622
|
+
spanAll: boolean;
|
|
623
|
+
filterIconAlignLeft: boolean;
|
|
624
|
+
hideExpandButtonOnEmpty: boolean;
|
|
625
|
+
columnResizable: boolean;
|
|
626
|
+
summaryText: string;
|
|
627
|
+
defaultExpandAllRows: boolean;
|
|
628
|
+
stickyHeader: number | boolean;
|
|
629
|
+
showEmptyTree: boolean;
|
|
630
|
+
}> & Omit<{
|
|
631
|
+
readonly columns: TableColumnData[];
|
|
632
|
+
readonly data: TableData[];
|
|
633
|
+
readonly bordered: boolean | import('@arco-design/web-vue').TableBorder;
|
|
634
|
+
readonly hoverable: boolean;
|
|
635
|
+
readonly stripe: boolean;
|
|
636
|
+
readonly size: "mini" | "small" | "medium" | "large";
|
|
637
|
+
readonly tableLayoutFixed: boolean;
|
|
638
|
+
readonly loading: boolean | Record<string, any>;
|
|
639
|
+
readonly rowSelection?: import('@arco-design/web-vue').TableRowSelection | undefined;
|
|
640
|
+
readonly expandable?: import('@arco-design/web-vue').TableExpandable | undefined;
|
|
641
|
+
readonly scroll?: {
|
|
642
|
+
x?: string | number | undefined;
|
|
643
|
+
y?: string | number | undefined;
|
|
644
|
+
minWidth?: string | number | undefined;
|
|
645
|
+
maxHeight?: string | number | undefined;
|
|
646
|
+
} | undefined;
|
|
647
|
+
readonly pagination: boolean | import('@arco-design/web-vue').PaginationProps;
|
|
648
|
+
readonly pagePosition: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
|
|
649
|
+
readonly indentSize: number;
|
|
650
|
+
readonly rowKey: string;
|
|
651
|
+
readonly showHeader: boolean;
|
|
652
|
+
readonly virtualListProps?: import('@arco-design/web-vue/es/_components/virtual-list-v2/interface').VirtualListProps | undefined;
|
|
653
|
+
readonly spanMethod?: ((data: {
|
|
654
|
+
record: TableData;
|
|
655
|
+
column: TableColumnData | import('@arco-design/web-vue/es/table/interface').TableOperationColumn;
|
|
656
|
+
rowIndex: number;
|
|
657
|
+
columnIndex: number;
|
|
658
|
+
}) => void | {
|
|
659
|
+
rowspan?: number | undefined;
|
|
660
|
+
colspan?: number | undefined;
|
|
661
|
+
}) | undefined;
|
|
662
|
+
readonly spanAll: boolean;
|
|
663
|
+
readonly components?: import('@arco-design/web-vue/es/table/interface').TableComponents | undefined;
|
|
664
|
+
readonly loadMore?: ((record: TableData, done: (children?: TableData[] | undefined) => void) => void) | undefined;
|
|
665
|
+
readonly filterIconAlignLeft: boolean;
|
|
666
|
+
readonly hideExpandButtonOnEmpty: boolean;
|
|
667
|
+
readonly rowClass?: string | any[] | Record<string, any> | ((record: TableData, rowIndex: number) => any) | undefined;
|
|
668
|
+
readonly draggable?: import('@arco-design/web-vue').TableDraggable | undefined;
|
|
669
|
+
readonly rowNumber?: boolean | Record<string, any> | undefined;
|
|
670
|
+
readonly columnResizable: boolean;
|
|
671
|
+
readonly summary?: boolean | ((params: {
|
|
672
|
+
columns: TableColumnData[];
|
|
673
|
+
data: TableData[];
|
|
674
|
+
}) => TableData[]) | undefined;
|
|
675
|
+
readonly summaryText: string;
|
|
676
|
+
readonly summarySpanMethod?: ((data: {
|
|
677
|
+
record: TableData;
|
|
678
|
+
column: TableColumnData | import('@arco-design/web-vue/es/table/interface').TableOperationColumn;
|
|
679
|
+
rowIndex: number;
|
|
680
|
+
columnIndex: number;
|
|
681
|
+
}) => void | {
|
|
682
|
+
rowspan?: number | undefined;
|
|
683
|
+
colspan?: number | undefined;
|
|
684
|
+
}) | undefined;
|
|
685
|
+
readonly selectedKeys?: (string | number)[] | undefined;
|
|
686
|
+
readonly defaultSelectedKeys?: (string | number)[] | undefined;
|
|
687
|
+
readonly expandedKeys?: (string | number)[] | undefined;
|
|
688
|
+
readonly defaultExpandedKeys?: (string | number)[] | undefined;
|
|
689
|
+
readonly defaultExpandAllRows: boolean;
|
|
690
|
+
readonly stickyHeader: number | boolean;
|
|
691
|
+
readonly scrollbar: boolean | import('@arco-design/web-vue').ScrollbarProps;
|
|
692
|
+
readonly showEmptyTree: boolean;
|
|
693
|
+
onChange?: ((data: TableData[], extra: TableChangeExtra, currentData: TableData[]) => any) | undefined;
|
|
694
|
+
onSelect?: ((rowKeys: (string | number)[], rowKey: string | number, record: TableData) => any) | undefined;
|
|
695
|
+
onPageChange?: ((page: number) => any) | undefined;
|
|
696
|
+
onPageSizeChange?: ((pageSize: number) => any) | undefined;
|
|
697
|
+
onExpand?: ((rowKey: string | number, record: TableData) => any) | undefined;
|
|
698
|
+
"onUpdate:selectedKeys"?: ((rowKeys: (string | number)[]) => any) | undefined;
|
|
699
|
+
"onUpdate:expandedKeys"?: ((rowKeys: (string | number)[]) => any) | undefined;
|
|
700
|
+
onExpandedChange?: ((rowKeys: (string | number)[]) => any) | undefined;
|
|
701
|
+
onSelectAll?: ((checked: boolean) => any) | undefined;
|
|
702
|
+
onSelectionChange?: ((rowKeys: (string | number)[]) => any) | undefined;
|
|
703
|
+
onSorterChange?: ((dataIndex: string, direction: string) => any) | undefined;
|
|
704
|
+
onFilterChange?: ((dataIndex: string, filteredValues: string[]) => any) | undefined;
|
|
705
|
+
onCellMouseEnter?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
706
|
+
onCellMouseLeave?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
707
|
+
onCellClick?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
708
|
+
onRowClick?: ((record: TableData, ev: Event) => any) | undefined;
|
|
709
|
+
onHeaderClick?: ((column: TableColumnData, ev: Event) => any) | undefined;
|
|
710
|
+
onColumnResize?: ((dataIndex: string, width: number) => any) | undefined;
|
|
711
|
+
onRowDblclick?: ((record: TableData, ev: Event) => any) | undefined;
|
|
712
|
+
onCellDblclick?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
713
|
+
onRowContextmenu?: ((record: TableData, ev: Event) => any) | undefined;
|
|
714
|
+
onCellContextmenu?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
715
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{
|
|
716
|
+
columns?: unknown;
|
|
717
|
+
data?: unknown;
|
|
718
|
+
bordered?: unknown;
|
|
719
|
+
hoverable?: unknown;
|
|
720
|
+
stripe?: unknown;
|
|
721
|
+
size?: unknown;
|
|
722
|
+
tableLayoutFixed?: unknown;
|
|
723
|
+
loading?: unknown;
|
|
724
|
+
rowSelection?: unknown;
|
|
725
|
+
expandable?: unknown;
|
|
726
|
+
scroll?: unknown;
|
|
727
|
+
pagination?: unknown;
|
|
728
|
+
pagePosition?: unknown;
|
|
729
|
+
indentSize?: unknown;
|
|
730
|
+
rowKey?: unknown;
|
|
731
|
+
showHeader?: unknown;
|
|
732
|
+
virtualListProps?: unknown;
|
|
733
|
+
spanMethod?: unknown;
|
|
734
|
+
spanAll?: unknown;
|
|
735
|
+
components?: unknown;
|
|
736
|
+
loadMore?: unknown;
|
|
737
|
+
filterIconAlignLeft?: unknown;
|
|
738
|
+
hideExpandButtonOnEmpty?: unknown;
|
|
739
|
+
rowClass?: unknown;
|
|
740
|
+
draggable?: unknown;
|
|
741
|
+
rowNumber?: unknown;
|
|
742
|
+
columnResizable?: unknown;
|
|
743
|
+
summary?: unknown;
|
|
744
|
+
summaryText?: unknown;
|
|
745
|
+
summarySpanMethod?: unknown;
|
|
746
|
+
selectedKeys?: unknown;
|
|
747
|
+
defaultSelectedKeys?: unknown;
|
|
748
|
+
expandedKeys?: unknown;
|
|
749
|
+
defaultExpandedKeys?: unknown;
|
|
750
|
+
defaultExpandAllRows?: unknown;
|
|
751
|
+
stickyHeader?: unknown;
|
|
752
|
+
scrollbar?: unknown;
|
|
753
|
+
showEmptyTree?: unknown;
|
|
754
|
+
} & {
|
|
755
|
+
size: "mini" | "small" | "medium" | "large";
|
|
756
|
+
scrollbar: boolean | import('@arco-design/web-vue').ScrollbarProps;
|
|
757
|
+
data: TableData[];
|
|
758
|
+
loading: boolean | Record<string, any>;
|
|
759
|
+
bordered: boolean | import('@arco-design/web-vue').TableBorder;
|
|
760
|
+
columns: TableColumnData[];
|
|
761
|
+
hoverable: boolean;
|
|
762
|
+
pagination: boolean | import('@arco-design/web-vue').PaginationProps;
|
|
763
|
+
stripe: boolean;
|
|
764
|
+
tableLayoutFixed: boolean;
|
|
765
|
+
pagePosition: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
|
|
766
|
+
indentSize: number;
|
|
767
|
+
rowKey: string;
|
|
768
|
+
showHeader: boolean;
|
|
769
|
+
spanAll: boolean;
|
|
770
|
+
filterIconAlignLeft: boolean;
|
|
771
|
+
hideExpandButtonOnEmpty: boolean;
|
|
772
|
+
columnResizable: boolean;
|
|
773
|
+
summaryText: string;
|
|
774
|
+
defaultExpandAllRows: boolean;
|
|
775
|
+
stickyHeader: number | boolean;
|
|
776
|
+
showEmptyTree: boolean;
|
|
777
|
+
} & {
|
|
778
|
+
scroll?: {
|
|
779
|
+
x?: string | number | undefined;
|
|
780
|
+
y?: string | number | undefined;
|
|
781
|
+
minWidth?: string | number | undefined;
|
|
782
|
+
maxHeight?: string | number | undefined;
|
|
783
|
+
} | undefined;
|
|
784
|
+
summary?: boolean | ((params: {
|
|
785
|
+
columns: TableColumnData[];
|
|
786
|
+
data: TableData[];
|
|
787
|
+
}) => TableData[]) | undefined;
|
|
788
|
+
virtualListProps?: import('@arco-design/web-vue/es/_components/virtual-list-v2/interface').VirtualListProps | undefined;
|
|
789
|
+
rowSelection?: import('@arco-design/web-vue').TableRowSelection | undefined;
|
|
790
|
+
expandable?: import('@arco-design/web-vue').TableExpandable | undefined;
|
|
791
|
+
spanMethod?: ((data: {
|
|
792
|
+
record: TableData;
|
|
793
|
+
column: TableColumnData | import('@arco-design/web-vue/es/table/interface').TableOperationColumn;
|
|
794
|
+
rowIndex: number;
|
|
795
|
+
columnIndex: number;
|
|
796
|
+
}) => void | {
|
|
797
|
+
rowspan?: number | undefined;
|
|
798
|
+
colspan?: number | undefined;
|
|
799
|
+
}) | undefined;
|
|
800
|
+
components?: import('@arco-design/web-vue/es/table/interface').TableComponents | undefined;
|
|
801
|
+
loadMore?: ((record: TableData, done: (children?: TableData[] | undefined) => void) => void) | undefined;
|
|
802
|
+
rowClass?: string | any[] | Record<string, any> | ((record: TableData, rowIndex: number) => any) | undefined;
|
|
803
|
+
draggable?: import('@arco-design/web-vue').TableDraggable | undefined;
|
|
804
|
+
rowNumber?: boolean | Record<string, any> | undefined;
|
|
805
|
+
summarySpanMethod?: ((data: {
|
|
806
|
+
record: TableData;
|
|
807
|
+
column: TableColumnData | import('@arco-design/web-vue/es/table/interface').TableOperationColumn;
|
|
808
|
+
rowIndex: number;
|
|
809
|
+
columnIndex: number;
|
|
810
|
+
}) => void | {
|
|
811
|
+
rowspan?: number | undefined;
|
|
812
|
+
colspan?: number | undefined;
|
|
813
|
+
}) | undefined;
|
|
814
|
+
selectedKeys?: (string | number)[] | undefined;
|
|
815
|
+
defaultSelectedKeys?: (string | number)[] | undefined;
|
|
816
|
+
expandedKeys?: (string | number)[] | undefined;
|
|
817
|
+
defaultExpandedKeys?: (string | number)[] | undefined;
|
|
818
|
+
}> & {
|
|
819
|
+
onChange?: ((data: TableData[], extra: TableChangeExtra, currentData: TableData[]) => any) | undefined;
|
|
820
|
+
onSelect?: ((rowKeys: (string | number)[], rowKey: string | number, record: TableData) => any) | undefined;
|
|
821
|
+
onPageChange?: ((page: number) => any) | undefined;
|
|
822
|
+
onPageSizeChange?: ((pageSize: number) => any) | undefined;
|
|
823
|
+
onExpand?: ((rowKey: string | number, record: TableData) => any) | undefined;
|
|
824
|
+
"onUpdate:selectedKeys"?: ((rowKeys: (string | number)[]) => any) | undefined;
|
|
825
|
+
"onUpdate:expandedKeys"?: ((rowKeys: (string | number)[]) => any) | undefined;
|
|
826
|
+
onExpandedChange?: ((rowKeys: (string | number)[]) => any) | undefined;
|
|
827
|
+
onSelectAll?: ((checked: boolean) => any) | undefined;
|
|
828
|
+
onSelectionChange?: ((rowKeys: (string | number)[]) => any) | undefined;
|
|
829
|
+
onSorterChange?: ((dataIndex: string, direction: string) => any) | undefined;
|
|
830
|
+
onFilterChange?: ((dataIndex: string, filteredValues: string[]) => any) | undefined;
|
|
831
|
+
onCellMouseEnter?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
832
|
+
onCellMouseLeave?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
833
|
+
onCellClick?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
834
|
+
onRowClick?: ((record: TableData, ev: Event) => any) | undefined;
|
|
835
|
+
onHeaderClick?: ((column: TableColumnData, ev: Event) => any) | undefined;
|
|
836
|
+
onColumnResize?: ((dataIndex: string, width: number) => any) | undefined;
|
|
837
|
+
onRowDblclick?: ((record: TableData, ev: Event) => any) | undefined;
|
|
838
|
+
onCellDblclick?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
839
|
+
onRowContextmenu?: ((record: TableData, ev: Event) => any) | undefined;
|
|
840
|
+
onCellContextmenu?: ((record: TableData, column: TableColumnData, ev: Event) => any) | undefined;
|
|
841
|
+
}, "rowKey" | "columns" | "size" | "data" | "bordered" | "hoverable" | "stripe" | "tableLayoutFixed" | "loading" | "pagination" | "pagePosition" | "indentSize" | "showHeader" | "spanAll" | "filterIconAlignLeft" | "hideExpandButtonOnEmpty" | "columnResizable" | "summaryText" | "defaultExpandAllRows" | "stickyHeader" | "scrollbar" | "showEmptyTree">>>;
|
|
842
|
+
tableColumns: any;
|
|
843
|
+
tableEvents: EventEmits;
|
|
844
|
+
tableForm: FormItemsOptions;
|
|
845
|
+
tableLoading: Ref<boolean>;
|
|
846
|
+
modalInstance: Ref<any>;
|
|
847
|
+
formSource: Readonly<Ref<{
|
|
848
|
+
readonly [x: string]: any;
|
|
849
|
+
} | undefined>>;
|
|
850
|
+
formInstance: Ref<import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
|
|
851
|
+
form: {
|
|
852
|
+
type: PropType<FormItemsOptions<any>>;
|
|
853
|
+
required: true;
|
|
854
|
+
};
|
|
855
|
+
value: {
|
|
856
|
+
type: PropType<Record<string, any>>;
|
|
857
|
+
required: false;
|
|
858
|
+
};
|
|
859
|
+
layout: {
|
|
860
|
+
type: PropType<"horizontal" | "vertical">;
|
|
861
|
+
required: false;
|
|
862
|
+
default: string;
|
|
863
|
+
};
|
|
864
|
+
columns: {
|
|
865
|
+
type: NumberConstructor;
|
|
866
|
+
required: false;
|
|
867
|
+
};
|
|
868
|
+
modelValue: {
|
|
869
|
+
type: PropType<Record<string, any>>;
|
|
870
|
+
required: false;
|
|
871
|
+
};
|
|
872
|
+
minWidth: {
|
|
873
|
+
type: NumberConstructor;
|
|
874
|
+
required: false;
|
|
875
|
+
default: number;
|
|
876
|
+
};
|
|
877
|
+
name: {
|
|
878
|
+
type: StringConstructor;
|
|
879
|
+
required: false;
|
|
880
|
+
default: string;
|
|
881
|
+
};
|
|
882
|
+
id: {
|
|
883
|
+
type: StringConstructor;
|
|
884
|
+
required: false;
|
|
885
|
+
default: string;
|
|
886
|
+
};
|
|
887
|
+
collapsedMode: {
|
|
888
|
+
type: PropType<"dialog" | "append">;
|
|
889
|
+
required: false;
|
|
890
|
+
default: string;
|
|
891
|
+
};
|
|
892
|
+
submitable: {
|
|
893
|
+
type: BooleanConstructor;
|
|
894
|
+
required: false;
|
|
895
|
+
default: boolean;
|
|
896
|
+
};
|
|
897
|
+
searchable: {
|
|
898
|
+
type: BooleanConstructor;
|
|
899
|
+
required: false;
|
|
900
|
+
default: boolean;
|
|
901
|
+
};
|
|
902
|
+
footer: {
|
|
903
|
+
type: BooleanConstructor;
|
|
904
|
+
required: false;
|
|
905
|
+
default: boolean;
|
|
906
|
+
};
|
|
907
|
+
}>> & {
|
|
908
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
909
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
910
|
+
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
911
|
+
}, {
|
|
912
|
+
formSource: Ref<DataRecord>;
|
|
913
|
+
formInstance: Ref<import('vue').CreateComponentPublicInstance<Readonly<{
|
|
914
|
+
model?: unknown;
|
|
915
|
+
layout?: unknown;
|
|
916
|
+
size?: unknown;
|
|
917
|
+
labelColProps?: unknown;
|
|
918
|
+
wrapperColProps?: unknown;
|
|
919
|
+
labelColStyle?: unknown;
|
|
920
|
+
wrapperColStyle?: unknown;
|
|
921
|
+
labelAlign?: unknown;
|
|
922
|
+
disabled?: unknown;
|
|
923
|
+
rules?: unknown;
|
|
924
|
+
autoLabelWidth?: unknown;
|
|
925
|
+
id?: unknown;
|
|
926
|
+
scrollToFirstError?: unknown;
|
|
927
|
+
} & {
|
|
928
|
+
layout: "inline" | "horizontal" | "vertical";
|
|
929
|
+
model: Record<string, any>;
|
|
930
|
+
labelColProps: Record<string, any>;
|
|
931
|
+
wrapperColProps: Record<string, any>;
|
|
932
|
+
labelAlign: "left" | "right";
|
|
933
|
+
autoLabelWidth: boolean;
|
|
934
|
+
scrollToFirstError: boolean;
|
|
935
|
+
} & {
|
|
936
|
+
size?: "mini" | "small" | "medium" | "large" | undefined;
|
|
937
|
+
disabled?: boolean | undefined;
|
|
938
|
+
labelColStyle?: Record<string, any> | undefined;
|
|
939
|
+
wrapperColStyle?: Record<string, any> | undefined;
|
|
940
|
+
rules?: Record<string, import('@arco-design/web-vue').FieldRule<any> | import('@arco-design/web-vue').FieldRule<any>[]> | undefined;
|
|
941
|
+
id?: string | undefined;
|
|
942
|
+
}> & {
|
|
943
|
+
onSubmit?: ((data: {
|
|
944
|
+
values: Record<string, any>;
|
|
945
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined;
|
|
946
|
+
}, ev: Event) => any) | undefined;
|
|
947
|
+
onSubmitSuccess?: ((values: Record<string, any>, ev: Event) => any) | undefined;
|
|
948
|
+
onSubmitFailed?: ((data: {
|
|
949
|
+
values: Record<string, any>;
|
|
950
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError>;
|
|
951
|
+
}, ev: Event) => any) | undefined;
|
|
952
|
+
}, {
|
|
953
|
+
cls: import('vue').ComputedRef<(string | {
|
|
954
|
+
[x: string]: boolean;
|
|
955
|
+
})[]>;
|
|
956
|
+
formRef: Ref<HTMLFormElement | undefined>;
|
|
957
|
+
handleSubmit: (e: Event) => void;
|
|
958
|
+
innerValidate: (callback?: ((errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined) => void) | undefined) => Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
959
|
+
innerValidateField: (field: string | string[], callback?: ((errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined) => void) | undefined) => Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
960
|
+
innerResetFields: (field?: string | string[] | undefined) => void;
|
|
961
|
+
innerClearValidate: (field?: string | string[] | undefined) => void;
|
|
962
|
+
innerSetFields: (data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>) => void;
|
|
963
|
+
innerScrollToField: (field: string, options?: import('scroll-into-view-if-needed').Options<any> | undefined) => void;
|
|
964
|
+
}, unknown, {}, {
|
|
965
|
+
validate(callback?: ((errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined) => void) | undefined): Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
966
|
+
validateField(field: string | string[], callback?: ((errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined) => void) | undefined): Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
967
|
+
resetFields(field?: string | string[] | undefined): void;
|
|
968
|
+
clearValidate(field?: string | string[] | undefined): void;
|
|
969
|
+
setFields(data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>): void;
|
|
970
|
+
scrollToField(field: string): void;
|
|
971
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
972
|
+
submit: (data: {
|
|
973
|
+
values: Record<string, any>;
|
|
974
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined;
|
|
975
|
+
}, ev: Event) => true;
|
|
976
|
+
submitSuccess: (values: Record<string, any>, ev: Event) => true;
|
|
977
|
+
submitFailed: (data: {
|
|
978
|
+
values: Record<string, any>;
|
|
979
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError>;
|
|
980
|
+
}, ev: Event) => true;
|
|
981
|
+
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{
|
|
982
|
+
model?: unknown;
|
|
983
|
+
layout?: unknown;
|
|
984
|
+
size?: unknown;
|
|
985
|
+
labelColProps?: unknown;
|
|
986
|
+
wrapperColProps?: unknown;
|
|
987
|
+
labelColStyle?: unknown;
|
|
988
|
+
wrapperColStyle?: unknown;
|
|
989
|
+
labelAlign?: unknown;
|
|
990
|
+
disabled?: unknown;
|
|
991
|
+
rules?: unknown;
|
|
992
|
+
autoLabelWidth?: unknown;
|
|
993
|
+
id?: unknown;
|
|
994
|
+
scrollToFirstError?: unknown;
|
|
995
|
+
} & {
|
|
996
|
+
layout: "inline" | "horizontal" | "vertical";
|
|
997
|
+
model: Record<string, any>;
|
|
998
|
+
labelColProps: Record<string, any>;
|
|
999
|
+
wrapperColProps: Record<string, any>;
|
|
1000
|
+
labelAlign: "left" | "right";
|
|
1001
|
+
autoLabelWidth: boolean;
|
|
1002
|
+
scrollToFirstError: boolean;
|
|
1003
|
+
} & {
|
|
1004
|
+
size?: "mini" | "small" | "medium" | "large" | undefined;
|
|
1005
|
+
disabled?: boolean | undefined;
|
|
1006
|
+
labelColStyle?: Record<string, any> | undefined;
|
|
1007
|
+
wrapperColStyle?: Record<string, any> | undefined;
|
|
1008
|
+
rules?: Record<string, import('@arco-design/web-vue').FieldRule<any> | import('@arco-design/web-vue').FieldRule<any>[]> | undefined;
|
|
1009
|
+
id?: string | undefined;
|
|
1010
|
+
}> & {
|
|
1011
|
+
onSubmit?: ((data: {
|
|
1012
|
+
values: Record<string, any>;
|
|
1013
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined;
|
|
1014
|
+
}, ev: Event) => any) | undefined;
|
|
1015
|
+
onSubmitSuccess?: ((values: Record<string, any>, ev: Event) => any) | undefined;
|
|
1016
|
+
onSubmitFailed?: ((data: {
|
|
1017
|
+
values: Record<string, any>;
|
|
1018
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError>;
|
|
1019
|
+
}, ev: Event) => any) | undefined;
|
|
1020
|
+
}, {
|
|
1021
|
+
disabled: boolean;
|
|
1022
|
+
layout: "inline" | "horizontal" | "vertical";
|
|
1023
|
+
labelColProps: Record<string, any>;
|
|
1024
|
+
wrapperColProps: Record<string, any>;
|
|
1025
|
+
labelAlign: "left" | "right";
|
|
1026
|
+
autoLabelWidth: boolean;
|
|
1027
|
+
scrollToFirstError: boolean;
|
|
1028
|
+
}, true, {}, {}, {
|
|
1029
|
+
P: {};
|
|
1030
|
+
B: {};
|
|
1031
|
+
D: {};
|
|
1032
|
+
C: {};
|
|
1033
|
+
M: {};
|
|
1034
|
+
Defaults: {};
|
|
1035
|
+
}, Readonly<{
|
|
1036
|
+
model?: unknown;
|
|
1037
|
+
layout?: unknown;
|
|
1038
|
+
size?: unknown;
|
|
1039
|
+
labelColProps?: unknown;
|
|
1040
|
+
wrapperColProps?: unknown;
|
|
1041
|
+
labelColStyle?: unknown;
|
|
1042
|
+
wrapperColStyle?: unknown;
|
|
1043
|
+
labelAlign?: unknown;
|
|
1044
|
+
disabled?: unknown;
|
|
1045
|
+
rules?: unknown;
|
|
1046
|
+
autoLabelWidth?: unknown;
|
|
1047
|
+
id?: unknown;
|
|
1048
|
+
scrollToFirstError?: unknown;
|
|
1049
|
+
} & {
|
|
1050
|
+
layout: "inline" | "horizontal" | "vertical";
|
|
1051
|
+
model: Record<string, any>;
|
|
1052
|
+
labelColProps: Record<string, any>;
|
|
1053
|
+
wrapperColProps: Record<string, any>;
|
|
1054
|
+
labelAlign: "left" | "right";
|
|
1055
|
+
autoLabelWidth: boolean;
|
|
1056
|
+
scrollToFirstError: boolean;
|
|
1057
|
+
} & {
|
|
1058
|
+
size?: "mini" | "small" | "medium" | "large" | undefined;
|
|
1059
|
+
disabled?: boolean | undefined;
|
|
1060
|
+
labelColStyle?: Record<string, any> | undefined; /**
|
|
1061
|
+
* 加载表单数据
|
|
1062
|
+
*/
|
|
1063
|
+
wrapperColStyle?: Record<string, any> | undefined;
|
|
1064
|
+
rules?: Record<string, import('@arco-design/web-vue').FieldRule<any> | import('@arco-design/web-vue').FieldRule<any>[]> | undefined;
|
|
1065
|
+
id?: string | undefined;
|
|
1066
|
+
}> & {
|
|
1067
|
+
onSubmit?: ((data: {
|
|
1068
|
+
values: Record<string, any>;
|
|
1069
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined;
|
|
1070
|
+
}, ev: Event) => any) | undefined;
|
|
1071
|
+
onSubmitSuccess?: ((values: Record<string, any>, ev: Event) => any) | undefined;
|
|
1072
|
+
onSubmitFailed?: ((data: {
|
|
1073
|
+
values: Record<string, any>;
|
|
1074
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError>;
|
|
1075
|
+
}, ev: Event) => any) | undefined;
|
|
1076
|
+
}, {
|
|
1077
|
+
cls: import('vue').ComputedRef<(string | {
|
|
1078
|
+
[x: string]: boolean;
|
|
1079
|
+
})[]>;
|
|
1080
|
+
formRef: Ref<HTMLFormElement | undefined>;
|
|
1081
|
+
handleSubmit: (e: Event) => void;
|
|
1082
|
+
innerValidate: (callback?: ((errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined) => void) | undefined) => Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
1083
|
+
innerValidateField: (field: string | string[], callback?: ((errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined) => void) | undefined) => Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
1084
|
+
innerResetFields: (field?: string | string[] | undefined) => void;
|
|
1085
|
+
innerClearValidate: (field?: string | string[] | undefined) => void;
|
|
1086
|
+
innerSetFields: (data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>) => void;
|
|
1087
|
+
innerScrollToField: (field: string, options?: import('scroll-into-view-if-needed').Options<any> | undefined) => void;
|
|
1088
|
+
}, {}, {}, {
|
|
1089
|
+
validate(callback?: ((errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined) => void) | undefined): Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
1090
|
+
validateField(field: string | string[], callback?: ((errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined) => void) | undefined): Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
1091
|
+
resetFields(field?: string | string[] | undefined): void;
|
|
1092
|
+
clearValidate(field?: string | string[] | undefined): void;
|
|
1093
|
+
setFields(data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>): void;
|
|
1094
|
+
scrollToField(field: string): void;
|
|
1095
|
+
}, {
|
|
1096
|
+
disabled: boolean;
|
|
1097
|
+
layout: "inline" | "horizontal" | "vertical";
|
|
1098
|
+
labelColProps: Record<string, any>;
|
|
1099
|
+
wrapperColProps: Record<string, any>;
|
|
1100
|
+
labelAlign: "left" | "right";
|
|
1101
|
+
autoLabelWidth: boolean;
|
|
1102
|
+
scrollToFirstError: boolean;
|
|
1103
|
+
}> | undefined>;
|
|
1104
|
+
formColumns: Ref<number>;
|
|
1105
|
+
formRules: import('vue').ComputedRef<Record<string, import('@arco-design/web-vue').FieldRule<any> | import('@arco-design/web-vue').FieldRule<any>[]>>;
|
|
1106
|
+
formCollspased: Ref<boolean>;
|
|
1107
|
+
formActiosSpan: import('vue').ComputedRef<number>;
|
|
1108
|
+
formItems: import('vue').ComputedRef<any[]>;
|
|
1109
|
+
toggleFormCollapsed: () => boolean;
|
|
1110
|
+
updateFormField: (key: string, value: any) => void;
|
|
1111
|
+
updateFormSource: (value: DataRecord) => void;
|
|
1112
|
+
reset: () => void;
|
|
1113
|
+
validate: () => Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined> | undefined;
|
|
1114
|
+
onSubmitSuccess: () => void;
|
|
1115
|
+
openCollapsedDialog: () => void;
|
|
1116
|
+
modalInstance: Ref<any>;
|
|
1117
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("submit" | "cancel" | "update:model-value")[], import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
1118
|
+
form: {
|
|
1119
|
+
type: PropType<FormItemsOptions<any>>;
|
|
1120
|
+
required: true;
|
|
1121
|
+
};
|
|
1122
|
+
value: {
|
|
1123
|
+
type: PropType<Record<string, any>>;
|
|
1124
|
+
required: false;
|
|
1125
|
+
};
|
|
1126
|
+
layout: {
|
|
1127
|
+
type: PropType<"horizontal" | "vertical">;
|
|
1128
|
+
required: false;
|
|
1129
|
+
default: string;
|
|
1130
|
+
};
|
|
1131
|
+
columns: {
|
|
1132
|
+
type: NumberConstructor;
|
|
1133
|
+
required: false;
|
|
1134
|
+
};
|
|
1135
|
+
modelValue: {
|
|
1136
|
+
type: PropType<Record<string, any>>;
|
|
1137
|
+
required: false;
|
|
1138
|
+
};
|
|
1139
|
+
minWidth: {
|
|
1140
|
+
type: NumberConstructor;
|
|
1141
|
+
required: false;
|
|
1142
|
+
default: number;
|
|
1143
|
+
};
|
|
1144
|
+
name: {
|
|
1145
|
+
type: StringConstructor;
|
|
1146
|
+
required: false;
|
|
1147
|
+
default: string;
|
|
1148
|
+
};
|
|
1149
|
+
id: {
|
|
1150
|
+
type: StringConstructor;
|
|
1151
|
+
required: false;
|
|
1152
|
+
default: string;
|
|
1153
|
+
};
|
|
1154
|
+
collapsedMode: {
|
|
1155
|
+
type: PropType<"dialog" | "append">;
|
|
1156
|
+
required: false;
|
|
1157
|
+
default: string;
|
|
1158
|
+
};
|
|
1159
|
+
submitable: {
|
|
1160
|
+
type: BooleanConstructor;
|
|
1161
|
+
required: false;
|
|
1162
|
+
default: boolean;
|
|
1163
|
+
};
|
|
1164
|
+
searchable: {
|
|
1165
|
+
type: BooleanConstructor;
|
|
1166
|
+
required: false;
|
|
1167
|
+
default: boolean;
|
|
1168
|
+
};
|
|
1169
|
+
footer: {
|
|
1170
|
+
type: BooleanConstructor;
|
|
1171
|
+
required: false;
|
|
1172
|
+
default: boolean;
|
|
1173
|
+
};
|
|
1174
|
+
}>> & {
|
|
1175
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
1176
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
1177
|
+
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
1178
|
+
}, {
|
|
1179
|
+
footer: boolean;
|
|
1180
|
+
layout: "horizontal" | "vertical";
|
|
1181
|
+
name: string;
|
|
1182
|
+
minWidth: number;
|
|
1183
|
+
id: string;
|
|
1184
|
+
collapsedMode: "dialog" | "append";
|
|
1185
|
+
submitable: boolean;
|
|
1186
|
+
searchable: boolean;
|
|
1187
|
+
}, true, {}, {}, {
|
|
1188
|
+
P: {};
|
|
1189
|
+
B: {};
|
|
1190
|
+
D: {};
|
|
1191
|
+
C: {};
|
|
1192
|
+
M: {};
|
|
1193
|
+
Defaults: {};
|
|
1194
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
1195
|
+
form: {
|
|
1196
|
+
type: PropType<FormItemsOptions<any>>;
|
|
1197
|
+
required: true;
|
|
1198
|
+
};
|
|
1199
|
+
value: {
|
|
1200
|
+
type: PropType<Record<string, any>>;
|
|
1201
|
+
required: false;
|
|
1202
|
+
};
|
|
1203
|
+
layout: {
|
|
1204
|
+
type: PropType<"horizontal" | "vertical">;
|
|
1205
|
+
required: false;
|
|
1206
|
+
default: string;
|
|
1207
|
+
};
|
|
1208
|
+
columns: {
|
|
1209
|
+
type: NumberConstructor;
|
|
1210
|
+
required: false;
|
|
1211
|
+
};
|
|
1212
|
+
modelValue: {
|
|
1213
|
+
type: PropType<Record<string, any>>;
|
|
1214
|
+
required: false;
|
|
1215
|
+
};
|
|
1216
|
+
minWidth: {
|
|
1217
|
+
type: NumberConstructor;
|
|
1218
|
+
required: false;
|
|
1219
|
+
default: number;
|
|
1220
|
+
};
|
|
1221
|
+
name: {
|
|
1222
|
+
type: StringConstructor;
|
|
1223
|
+
required: false;
|
|
1224
|
+
default: string;
|
|
1225
|
+
};
|
|
1226
|
+
id: {
|
|
1227
|
+
type: StringConstructor;
|
|
1228
|
+
required: false;
|
|
1229
|
+
default: string;
|
|
1230
|
+
};
|
|
1231
|
+
collapsedMode: {
|
|
1232
|
+
type: PropType<"dialog" | "append">;
|
|
1233
|
+
required: false;
|
|
1234
|
+
default: string;
|
|
1235
|
+
};
|
|
1236
|
+
submitable: {
|
|
1237
|
+
type: BooleanConstructor;
|
|
1238
|
+
required: false;
|
|
1239
|
+
default: boolean;
|
|
1240
|
+
};
|
|
1241
|
+
searchable: {
|
|
1242
|
+
type: BooleanConstructor;
|
|
1243
|
+
required: false;
|
|
1244
|
+
default: boolean;
|
|
1245
|
+
};
|
|
1246
|
+
footer: {
|
|
1247
|
+
type: BooleanConstructor;
|
|
1248
|
+
required: false;
|
|
1249
|
+
default: boolean;
|
|
1250
|
+
};
|
|
1251
|
+
}>> & {
|
|
1252
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
1253
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
1254
|
+
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
1255
|
+
}, {
|
|
1256
|
+
formSource: Ref<DataRecord>;
|
|
1257
|
+
formInstance: Ref<import('vue').CreateComponentPublicInstance<Readonly<{
|
|
1258
|
+
model?: unknown;
|
|
1259
|
+
layout?: unknown;
|
|
1260
|
+
size?: unknown;
|
|
1261
|
+
labelColProps?: unknown;
|
|
1262
|
+
wrapperColProps?: unknown;
|
|
1263
|
+
labelColStyle?: unknown;
|
|
1264
|
+
wrapperColStyle?: unknown;
|
|
1265
|
+
labelAlign?: unknown;
|
|
1266
|
+
disabled?: unknown;
|
|
1267
|
+
rules?: unknown;
|
|
1268
|
+
autoLabelWidth?: unknown;
|
|
1269
|
+
id?: unknown;
|
|
1270
|
+
scrollToFirstError?: unknown;
|
|
1271
|
+
} & {
|
|
1272
|
+
layout: "inline" | "horizontal" | "vertical";
|
|
1273
|
+
model: Record<string, any>;
|
|
1274
|
+
labelColProps: Record<string, any>;
|
|
1275
|
+
wrapperColProps: Record<string, any>;
|
|
1276
|
+
labelAlign: "left" | "right";
|
|
1277
|
+
autoLabelWidth: boolean;
|
|
1278
|
+
scrollToFirstError: boolean;
|
|
1279
|
+
} & {
|
|
1280
|
+
size?: "mini" | "small" | "medium" | "large" | undefined;
|
|
1281
|
+
disabled?: boolean | undefined;
|
|
1282
|
+
labelColStyle?: Record<string, any> | undefined;
|
|
1283
|
+
wrapperColStyle?: Record<string, any> | undefined;
|
|
1284
|
+
rules?: Record<string, import('@arco-design/web-vue').FieldRule<any> | import('@arco-design/web-vue').FieldRule<any>[]> | undefined;
|
|
1285
|
+
id?: string | undefined;
|
|
1286
|
+
}> & {
|
|
1287
|
+
onSubmit?: ((data: {
|
|
1288
|
+
values: Record<string, any>;
|
|
1289
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined;
|
|
1290
|
+
}, ev: Event) => any) | undefined;
|
|
1291
|
+
onSubmitSuccess?: ((values: Record<string, any>, ev: Event) => any) | undefined;
|
|
1292
|
+
onSubmitFailed?: ((data: {
|
|
1293
|
+
values: Record<string, any>;
|
|
1294
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError>;
|
|
1295
|
+
}, ev: Event) => any) | undefined;
|
|
1296
|
+
}, {
|
|
1297
|
+
cls: import('vue').ComputedRef<(string | {
|
|
1298
|
+
[x: string]: boolean;
|
|
1299
|
+
})[]>;
|
|
1300
|
+
formRef: Ref<HTMLFormElement | undefined>;
|
|
1301
|
+
handleSubmit: (e: Event) => void;
|
|
1302
|
+
innerValidate: (callback?: ((errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined) => void) | undefined) => Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
1303
|
+
innerValidateField: (field: string | string[], callback?: ((errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined) => void) | undefined) => Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
1304
|
+
innerResetFields: (field?: string | string[] | undefined) => void;
|
|
1305
|
+
innerClearValidate: (field?: string | string[] | undefined) => void;
|
|
1306
|
+
innerSetFields: (data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>) => void;
|
|
1307
|
+
innerScrollToField: (field: string, options?: import('scroll-into-view-if-needed').Options<any> | undefined) => void;
|
|
1308
|
+
}, unknown, {}, {
|
|
1309
|
+
validate(callback?: ((errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined) => void) | undefined): Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
1310
|
+
validateField(field: string | string[], callback?: ((errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined) => void) | undefined): Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
1311
|
+
resetFields(field?: string | string[] | undefined): void;
|
|
1312
|
+
clearValidate(field?: string | string[] | undefined): void;
|
|
1313
|
+
setFields(data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>): void;
|
|
1314
|
+
scrollToField(field: string): void;
|
|
1315
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1316
|
+
submit: (data: {
|
|
1317
|
+
values: Record<string, any>;
|
|
1318
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined;
|
|
1319
|
+
}, ev: Event) => true;
|
|
1320
|
+
submitSuccess: (values: Record<string, any>, ev: Event) => true;
|
|
1321
|
+
submitFailed: (data: {
|
|
1322
|
+
values: Record<string, any>;
|
|
1323
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError>;
|
|
1324
|
+
}, ev: Event) => true;
|
|
1325
|
+
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{
|
|
1326
|
+
model?: unknown;
|
|
1327
|
+
layout?: unknown;
|
|
1328
|
+
size?: unknown;
|
|
1329
|
+
labelColProps?: unknown;
|
|
1330
|
+
wrapperColProps?: unknown;
|
|
1331
|
+
labelColStyle?: unknown;
|
|
1332
|
+
wrapperColStyle?: unknown;
|
|
1333
|
+
labelAlign?: unknown;
|
|
1334
|
+
disabled?: unknown;
|
|
1335
|
+
rules?: unknown;
|
|
1336
|
+
autoLabelWidth?: unknown;
|
|
1337
|
+
id?: unknown;
|
|
1338
|
+
scrollToFirstError?: unknown;
|
|
1339
|
+
} & {
|
|
1340
|
+
layout: "inline" | "horizontal" | "vertical";
|
|
1341
|
+
model: Record<string, any>;
|
|
1342
|
+
labelColProps: Record<string, any>;
|
|
1343
|
+
wrapperColProps: Record<string, any>;
|
|
1344
|
+
labelAlign: "left" | "right";
|
|
1345
|
+
autoLabelWidth: boolean;
|
|
1346
|
+
scrollToFirstError: boolean;
|
|
1347
|
+
} & {
|
|
1348
|
+
size?: "mini" | "small" | "medium" | "large" | undefined;
|
|
1349
|
+
disabled?: boolean | undefined;
|
|
1350
|
+
labelColStyle?: Record<string, any> | undefined;
|
|
1351
|
+
wrapperColStyle?: Record<string, any> | undefined;
|
|
1352
|
+
rules?: Record<string, import('@arco-design/web-vue').FieldRule<any> | import('@arco-design/web-vue').FieldRule<any>[]> | undefined;
|
|
1353
|
+
id?: string | undefined;
|
|
1354
|
+
}> & {
|
|
1355
|
+
onSubmit?: ((data: {
|
|
1356
|
+
values: Record<string, any>;
|
|
1357
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined;
|
|
1358
|
+
}, ev: Event) => any) | undefined;
|
|
1359
|
+
onSubmitSuccess?: ((values: Record<string, any>, ev: Event) => any) | undefined;
|
|
1360
|
+
onSubmitFailed?: ((data: {
|
|
1361
|
+
values: Record<string, any>;
|
|
1362
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError>;
|
|
1363
|
+
}, ev: Event) => any) | undefined;
|
|
1364
|
+
}, {
|
|
1365
|
+
disabled: boolean;
|
|
1366
|
+
layout: "inline" | "horizontal" | "vertical";
|
|
1367
|
+
labelColProps: Record<string, any>;
|
|
1368
|
+
wrapperColProps: Record<string, any>;
|
|
1369
|
+
labelAlign: "left" | "right";
|
|
1370
|
+
autoLabelWidth: boolean;
|
|
1371
|
+
scrollToFirstError: boolean;
|
|
1372
|
+
}, true, {}, {}, {
|
|
1373
|
+
P: {};
|
|
1374
|
+
B: {};
|
|
1375
|
+
D: {};
|
|
1376
|
+
C: {};
|
|
1377
|
+
M: {};
|
|
1378
|
+
Defaults: {};
|
|
1379
|
+
}, Readonly<{
|
|
1380
|
+
model?: unknown;
|
|
1381
|
+
layout?: unknown;
|
|
1382
|
+
size?: unknown;
|
|
1383
|
+
labelColProps?: unknown;
|
|
1384
|
+
wrapperColProps?: unknown;
|
|
1385
|
+
labelColStyle?: unknown;
|
|
1386
|
+
wrapperColStyle?: unknown;
|
|
1387
|
+
labelAlign?: unknown;
|
|
1388
|
+
disabled?: unknown;
|
|
1389
|
+
rules?: unknown;
|
|
1390
|
+
autoLabelWidth?: unknown;
|
|
1391
|
+
id?: unknown;
|
|
1392
|
+
scrollToFirstError?: unknown;
|
|
1393
|
+
} & {
|
|
1394
|
+
layout: "inline" | "horizontal" | "vertical";
|
|
1395
|
+
model: Record<string, any>;
|
|
1396
|
+
labelColProps: Record<string, any>;
|
|
1397
|
+
wrapperColProps: Record<string, any>;
|
|
1398
|
+
labelAlign: "left" | "right";
|
|
1399
|
+
autoLabelWidth: boolean;
|
|
1400
|
+
scrollToFirstError: boolean;
|
|
1401
|
+
} & {
|
|
1402
|
+
size?: "mini" | "small" | "medium" | "large" | undefined;
|
|
1403
|
+
disabled?: boolean | undefined;
|
|
1404
|
+
labelColStyle?: Record<string, any> | undefined; /**
|
|
1405
|
+
* 加载表单数据
|
|
1406
|
+
*/
|
|
1407
|
+
wrapperColStyle?: Record<string, any> | undefined;
|
|
1408
|
+
rules?: Record<string, import('@arco-design/web-vue').FieldRule<any> | import('@arco-design/web-vue').FieldRule<any>[]> | undefined;
|
|
1409
|
+
id?: string | undefined;
|
|
1410
|
+
}> & {
|
|
1411
|
+
onSubmit?: ((data: {
|
|
1412
|
+
values: Record<string, any>;
|
|
1413
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined;
|
|
1414
|
+
}, ev: Event) => any) | undefined;
|
|
1415
|
+
onSubmitSuccess?: ((values: Record<string, any>, ev: Event) => any) | undefined;
|
|
1416
|
+
onSubmitFailed?: ((data: {
|
|
1417
|
+
values: Record<string, any>;
|
|
1418
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError>;
|
|
1419
|
+
}, ev: Event) => any) | undefined;
|
|
1420
|
+
}, {
|
|
1421
|
+
cls: import('vue').ComputedRef<(string | {
|
|
1422
|
+
[x: string]: boolean;
|
|
1423
|
+
})[]>;
|
|
1424
|
+
formRef: Ref<HTMLFormElement | undefined>;
|
|
1425
|
+
handleSubmit: (e: Event) => void;
|
|
1426
|
+
innerValidate: (callback?: ((errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined) => void) | undefined) => Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
1427
|
+
innerValidateField: (field: string | string[], callback?: ((errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined) => void) | undefined) => Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
1428
|
+
innerResetFields: (field?: string | string[] | undefined) => void;
|
|
1429
|
+
innerClearValidate: (field?: string | string[] | undefined) => void;
|
|
1430
|
+
innerSetFields: (data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>) => void;
|
|
1431
|
+
innerScrollToField: (field: string, options?: import('scroll-into-view-if-needed').Options<any> | undefined) => void;
|
|
1432
|
+
}, {}, {}, {
|
|
1433
|
+
validate(callback?: ((errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined) => void) | undefined): Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
1434
|
+
validateField(field: string | string[], callback?: ((errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined) => void) | undefined): Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
1435
|
+
resetFields(field?: string | string[] | undefined): void;
|
|
1436
|
+
clearValidate(field?: string | string[] | undefined): void;
|
|
1437
|
+
setFields(data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>): void;
|
|
1438
|
+
scrollToField(field: string): void;
|
|
1439
|
+
}, {
|
|
1440
|
+
disabled: boolean;
|
|
1441
|
+
layout: "inline" | "horizontal" | "vertical";
|
|
1442
|
+
labelColProps: Record<string, any>;
|
|
1443
|
+
wrapperColProps: Record<string, any>;
|
|
1444
|
+
labelAlign: "left" | "right";
|
|
1445
|
+
autoLabelWidth: boolean;
|
|
1446
|
+
scrollToFirstError: boolean;
|
|
1447
|
+
}> | undefined>;
|
|
1731
1448
|
formColumns: Ref<number>;
|
|
1732
|
-
formRules: import(
|
|
1449
|
+
formRules: import('vue').ComputedRef<Record<string, import('@arco-design/web-vue').FieldRule<any> | import('@arco-design/web-vue').FieldRule<any>[]>>;
|
|
1733
1450
|
formCollspased: Ref<boolean>;
|
|
1734
|
-
formActiosSpan: import(
|
|
1735
|
-
formItems: import(
|
|
1451
|
+
formActiosSpan: import('vue').ComputedRef<number>;
|
|
1452
|
+
formItems: import('vue').ComputedRef<any[]>;
|
|
1736
1453
|
toggleFormCollapsed: () => boolean;
|
|
1737
1454
|
updateFormField: (key: string, value: any) => void;
|
|
1738
1455
|
updateFormSource: (value: DataRecord) => void;
|
|
1739
1456
|
reset: () => void;
|
|
1740
|
-
validate: () => Promise<Record<string, import(
|
|
1457
|
+
validate: () => Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined> | undefined;
|
|
1741
1458
|
onSubmitSuccess: () => void;
|
|
1742
1459
|
openCollapsedDialog: () => void;
|
|
1743
1460
|
modalInstance: Ref<any>;
|
|
1744
|
-
}
|
|
1461
|
+
}, {}, {}, {}, {
|
|
1462
|
+
footer: boolean;
|
|
1463
|
+
layout: "horizontal" | "vertical";
|
|
1464
|
+
name: string;
|
|
1465
|
+
minWidth: number;
|
|
1466
|
+
id: string;
|
|
1467
|
+
collapsedMode: "dialog" | "append";
|
|
1468
|
+
submitable: boolean;
|
|
1469
|
+
searchable: boolean;
|
|
1470
|
+
}> | undefined>;
|
|
1745
1471
|
reload: (options?: TableReloadEventOptions) => void;
|
|
1746
1472
|
preview: (options?: TablePreviewEventOptions) => any;
|
|
1747
|
-
edit: <
|
|
1473
|
+
edit: <T = DataRecord>(options: TableEditEventOptions<T>) => Promise<DataRecord>;
|
|
1748
1474
|
export: (options?: TableExportEventOptions) => void;
|
|
1749
1475
|
onSorterChange: (dataIndex: string, direction: string) => void;
|
|
1750
1476
|
onTableChange: (data: TableData[], { type }: TableChangeExtra) => void;
|
|
1751
1477
|
renders: {
|
|
1752
1478
|
renderTableForm: (() => import("vue/jsx-runtime").JSX.Element) | (() => undefined);
|
|
1753
|
-
renderTableActions: () =>
|
|
1754
|
-
renderTablePagination: () =>
|
|
1479
|
+
renderTableActions: () => any;
|
|
1480
|
+
renderTablePagination: () => any;
|
|
1755
1481
|
};
|
|
1756
1482
|
tableSelection: {
|
|
1757
1483
|
selectedRowKeys: Ref<(string | number)[]>;
|
|
1758
|
-
rowSelection: import(
|
|
1484
|
+
rowSelection: import('@arco-design/web-vue').TableRowSelection | undefined;
|
|
1759
1485
|
onSelect: (rowKeys: (string | number)[], rowKey: string | number, record: TableData) => void;
|
|
1760
1486
|
onSelectAll: (value: boolean) => void;
|
|
1761
1487
|
};
|
|
1762
1488
|
resetSelection: () => void;
|
|
1763
1489
|
reloadSelection: () => void;
|
|
1764
1490
|
reloadColumns: () => void;
|
|
1765
|
-
}, unknown, {}, {}, import(
|
|
1491
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1766
1492
|
rowKey: {
|
|
1767
1493
|
type: StringConstructor;
|
|
1768
1494
|
required: true;
|