x-next 0.0.0-alpha.70 → 0.0.0-alpha.72
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/README.md +74 -70
- package/dist/_hooks/_types.d.ts +3 -0
- package/dist/_hooks/use-scrollbar.d.ts +1 -1
- package/dist/_utils/array.d.ts +2 -0
- package/dist/components/_components/auto-tooltip/auto-tooltip.d.ts +10 -0
- package/dist/components/_components/auto-tooltip/style/index.d.ts +0 -0
- package/dist/components/form-select/index.d.ts +40 -39
- package/dist/components/index.d.ts +2 -0
- package/dist/components/menu/Menu.d.ts +2 -2
- package/dist/components/pagination/Pagination.d.ts +351 -0
- package/dist/components/pagination/index.d.ts +297 -0
- package/dist/components/pagination/interface.d.ts +26 -0
- package/dist/components/pagination/page-item-ellipsis.vue.d.ts +91 -0
- package/dist/components/pagination/page-item-step.vue.d.ts +160 -0
- package/dist/components/pagination/page-item.vue.d.ts +53 -0
- package/dist/components/pagination/page-jumper.vue.d.ts +346 -0
- package/dist/components/pagination/page-options.vue.d.ts +2032 -0
- package/dist/components/pagination/utils.d.ts +4 -0
- package/dist/components/scrollbar-v2/index.d.ts +15 -14
- package/dist/components/table/Table.d.ts +931 -0
- package/dist/components/table/TableColumn.d.ts +292 -0
- package/dist/components/table/context.d.ts +29 -0
- package/dist/components/table/hooks/use-column-filter.d.ts +18 -0
- package/dist/components/table/hooks/use-column-resize.d.ts +10 -0
- package/dist/components/table/hooks/use-column-sorter.d.ts +14 -0
- package/dist/components/table/hooks/use-drag.d.ts +18 -0
- package/dist/components/table/hooks/use-expand.d.ts +20 -0
- package/dist/components/table/hooks/use-filter.d.ts +11 -0
- package/dist/components/table/hooks/use-pagination.d.ts +7 -0
- package/dist/components/table/hooks/use-row-selection.d.ts +26 -0
- package/dist/components/table/hooks/use-sorter.d.ts +17 -0
- package/dist/components/table/hooks/use-span.d.ts +18 -0
- package/dist/components/table/index.d.ts +952 -0
- package/dist/components/table/interface.d.ts +467 -0
- package/dist/components/table/table-col-group.vue.d.ts +38 -0
- package/dist/components/table/table-operation-td.d.ts +573 -0
- package/dist/components/table/table-operation-th.d.ts +41 -0
- package/dist/components/table/table-tbody.d.ts +4 -0
- package/dist/components/table/table-td.d.ts +124 -0
- package/dist/components/table/table-th.d.ts +39 -0
- package/dist/components/table/table-thead.d.ts +4 -0
- package/dist/components/table/table-tr.d.ts +41 -0
- package/dist/components/table/utils.d.ts +38 -0
- package/dist/components/trigger/index.d.ts +1 -0
- package/dist/components/trigger-v2/index.d.ts +1 -0
- package/dist/components/virtual-list-v2/interface.d.ts +1 -1
- package/dist/icons/index.d.ts +2 -2
- package/dist/index.es.js +11590 -7940
- package/dist/index.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types.d.ts +3 -0
- package/package.json +1 -1
- package/volar.d.ts +75 -72
- package/dist/icons/default/left.d.ts +0 -50
- package/dist/icons/default/right.d.ts +0 -50
@@ -0,0 +1,467 @@
|
|
1
|
+
import { CSSProperties, RenderFunction, Slots, VNodeChild } from 'vue';
|
2
|
+
import { BaseType, ClassName, Data } from '../../_hooks/_types';
|
3
|
+
import { TriggerProps } from '../trigger-v2';
|
4
|
+
export declare const TABLE_PAGE_POSITION: readonly ["tl", "top", "tr", "bl", "bottom", "br"];
|
5
|
+
export type TablePagePosition = (typeof TABLE_PAGE_POSITION)[number];
|
6
|
+
export interface TableData {
|
7
|
+
/**
|
8
|
+
* @zh 数据行的key
|
9
|
+
* @en The key of the data row
|
10
|
+
*/
|
11
|
+
key?: string;
|
12
|
+
/**
|
13
|
+
* @zh 扩展行内容
|
14
|
+
* @en Expand row content
|
15
|
+
*/
|
16
|
+
expand?: string | RenderFunction;
|
17
|
+
/**
|
18
|
+
* @zh 子数据
|
19
|
+
* @en Sub data
|
20
|
+
*/
|
21
|
+
children?: TableData[];
|
22
|
+
/**
|
23
|
+
* @zh 是否禁用行选择器
|
24
|
+
* @en Whether to disable the row selector
|
25
|
+
*/
|
26
|
+
disabled?: boolean;
|
27
|
+
/**
|
28
|
+
* @zh 是否是叶子节点
|
29
|
+
* @en Whether it is a leaf node
|
30
|
+
* @version 2.13.0
|
31
|
+
*/
|
32
|
+
isLeaf?: boolean;
|
33
|
+
[name: string]: any;
|
34
|
+
}
|
35
|
+
export interface TableDataWithRaw {
|
36
|
+
raw: TableData;
|
37
|
+
key: string;
|
38
|
+
disabled?: boolean;
|
39
|
+
expand?: string | RenderFunction;
|
40
|
+
children?: TableDataWithRaw[];
|
41
|
+
isLeaf?: boolean;
|
42
|
+
hasSubtree?: boolean;
|
43
|
+
}
|
44
|
+
export interface TableSortable {
|
45
|
+
/**
|
46
|
+
* @zh 支持的排序方向
|
47
|
+
* @en Supported sort direction
|
48
|
+
*/
|
49
|
+
sortDirections: ('ascend' | 'descend')[];
|
50
|
+
/**
|
51
|
+
* @zh 排序函数。设置为 `true` 可关闭内部排序。2.19.0 版本修改传出数据。
|
52
|
+
* @en Sorting function. Set to `true` to turn off internal sorting. Version 2.19.0 modifies outgoing data.
|
53
|
+
*/
|
54
|
+
sorter?: ((a: TableData, b: TableData, extra: {
|
55
|
+
dataIndex: string;
|
56
|
+
direction: 'ascend' | 'descend';
|
57
|
+
}) => number) | boolean;
|
58
|
+
/**
|
59
|
+
* @zh 排序方向
|
60
|
+
* @en Sort direction
|
61
|
+
*/
|
62
|
+
sortOrder?: 'ascend' | 'descend' | '';
|
63
|
+
/**
|
64
|
+
* @zh 默认排序方向(非受控模式)
|
65
|
+
* @en Default sort direction (uncontrolled mode)
|
66
|
+
*/
|
67
|
+
defaultSortOrder?: 'ascend' | 'descend' | '';
|
68
|
+
}
|
69
|
+
export interface TableFilterData {
|
70
|
+
/**
|
71
|
+
* @zh 筛选数据选项的内容
|
72
|
+
* @en Filter the content of the data option
|
73
|
+
*/
|
74
|
+
text: string | RenderFunction;
|
75
|
+
/**
|
76
|
+
* @zh 筛选数据选项的值
|
77
|
+
* @en Filter the value of the data option
|
78
|
+
*/
|
79
|
+
value: string;
|
80
|
+
}
|
81
|
+
export interface TableFilterable {
|
82
|
+
/**
|
83
|
+
* @zh 筛选数据
|
84
|
+
* @en Filter data
|
85
|
+
*/
|
86
|
+
filters?: TableFilterData[];
|
87
|
+
/**
|
88
|
+
* @zh 筛选函数
|
89
|
+
* @en Filter function
|
90
|
+
*/
|
91
|
+
filter: (filteredValue: string[], record: TableData) => boolean;
|
92
|
+
/**
|
93
|
+
* @zh 是否支持多选
|
94
|
+
* @en Whether to support multiple selection
|
95
|
+
*/
|
96
|
+
multiple?: boolean;
|
97
|
+
/**
|
98
|
+
* @zh 筛选项
|
99
|
+
* @en Filter value
|
100
|
+
*/
|
101
|
+
filteredValue?: string[];
|
102
|
+
/**
|
103
|
+
* @zh 默认筛选项
|
104
|
+
* @en Default filter value
|
105
|
+
*/
|
106
|
+
defaultFilteredValue?: string[];
|
107
|
+
/**
|
108
|
+
* @zh 筛选框的内容
|
109
|
+
* @en The content of filter box
|
110
|
+
*/
|
111
|
+
renderContent?: (data: {
|
112
|
+
filterValue: string[];
|
113
|
+
setFilterValue: (filterValue: string[]) => void;
|
114
|
+
handleFilterConfirm: (event: Event) => void;
|
115
|
+
handleFilterReset: (event: Event) => void;
|
116
|
+
}) => VNodeChild;
|
117
|
+
/**
|
118
|
+
* @zh 筛选按钮的图标
|
119
|
+
* @en Filter icon for button
|
120
|
+
*/
|
121
|
+
icon?: RenderFunction;
|
122
|
+
/**
|
123
|
+
* @zh 筛选框的弹出框配置
|
124
|
+
* @en Pop-up box configuration of filter box
|
125
|
+
*/
|
126
|
+
triggerProps?: TriggerProps;
|
127
|
+
/**
|
128
|
+
* @zh 筛选图标是否左对齐
|
129
|
+
* @en Whether the filter icon is aligned to the left
|
130
|
+
* @version 2.13.0
|
131
|
+
*/
|
132
|
+
alignLeft?: boolean;
|
133
|
+
slotName?: string;
|
134
|
+
}
|
135
|
+
export interface TableColumnData {
|
136
|
+
/**
|
137
|
+
* @zh 列信息的标识,对应 `TableData` 中的数据
|
138
|
+
* @en The identifier of the column information, corresponding to the data in `TableData`
|
139
|
+
*/
|
140
|
+
dataIndex?: string;
|
141
|
+
/**
|
142
|
+
* @zh 列标题
|
143
|
+
* @en Column header
|
144
|
+
*/
|
145
|
+
title?: string | RenderFunction;
|
146
|
+
/**
|
147
|
+
* @zh 列宽度
|
148
|
+
* @en Column width
|
149
|
+
*/
|
150
|
+
width?: number;
|
151
|
+
/**
|
152
|
+
* @zh 最小列宽
|
153
|
+
* @en Minimum column width
|
154
|
+
*/
|
155
|
+
minWidth?: number;
|
156
|
+
/**
|
157
|
+
* @zh 对齐方向
|
158
|
+
* @en Alignment direction
|
159
|
+
*/
|
160
|
+
align?: 'left' | 'center' | 'right';
|
161
|
+
/**
|
162
|
+
* @zh 固定位置
|
163
|
+
* @en Fixed position
|
164
|
+
*/
|
165
|
+
fixed?: 'left' | 'right';
|
166
|
+
/**
|
167
|
+
* @zh 是否显示省略号
|
168
|
+
* @en Whether to show ellipsis
|
169
|
+
*/
|
170
|
+
ellipsis?: boolean;
|
171
|
+
/**
|
172
|
+
* @zh 是否在显示省略号时显示文本提示。可填入 tooltip 组件属性
|
173
|
+
* @en Whether to show a text hint when an ellipsis is displayed. Can be filled in tooltip component properties
|
174
|
+
* @version 2.26.0
|
175
|
+
*/
|
176
|
+
tooltip?: boolean | Record<string, any>;
|
177
|
+
/**
|
178
|
+
* @zh 排序相关选项
|
179
|
+
* @en Sorting related options
|
180
|
+
*/
|
181
|
+
sortable?: TableSortable;
|
182
|
+
/**
|
183
|
+
* @zh 过滤相关选项
|
184
|
+
* @en Filter related options
|
185
|
+
*/
|
186
|
+
filterable?: TableFilterable;
|
187
|
+
/**
|
188
|
+
* @zh 表头子数据,用于表头分组
|
189
|
+
* @en Header sub-data, used for header grouping
|
190
|
+
*/
|
191
|
+
children?: TableColumnData[];
|
192
|
+
/**
|
193
|
+
* @zh 自定义单元格类名
|
194
|
+
* @en Custom cell class
|
195
|
+
* @version 2.36.0
|
196
|
+
*/
|
197
|
+
cellClass?: ClassName;
|
198
|
+
/**
|
199
|
+
* @zh 自定义表头单元格类名
|
200
|
+
* @en Custom header cell class
|
201
|
+
* @version 2.36.0
|
202
|
+
*/
|
203
|
+
headerCellClass?: ClassName;
|
204
|
+
/**
|
205
|
+
* @zh 自定义内容单元格类名
|
206
|
+
* @en Custom body cell class
|
207
|
+
* @version 2.36.0
|
208
|
+
*/
|
209
|
+
bodyCellClass?: ClassName | ((record: TableData) => ClassName);
|
210
|
+
/**
|
211
|
+
* @zh 自定义总结栏单元格类名
|
212
|
+
* @en Custom body cell class
|
213
|
+
* @version 2.36.0
|
214
|
+
*/
|
215
|
+
summaryCellClass?: ClassName | ((record: TableData) => ClassName);
|
216
|
+
/**
|
217
|
+
* @zh 自定义单元格样式
|
218
|
+
* @en Custom cell style
|
219
|
+
* @version 2.11.0
|
220
|
+
*/
|
221
|
+
cellStyle?: CSSProperties;
|
222
|
+
/**
|
223
|
+
* @zh 自定义表头单元格样式
|
224
|
+
* @en Custom header cell style
|
225
|
+
* @version 2.29.0
|
226
|
+
*/
|
227
|
+
headerCellStyle?: CSSProperties;
|
228
|
+
/**
|
229
|
+
* @zh 自定义内容单元格样式
|
230
|
+
* @en Custom body cell style
|
231
|
+
* @version 2.29.0
|
232
|
+
*/
|
233
|
+
bodyCellStyle?: CSSProperties | ((record: TableData) => CSSProperties);
|
234
|
+
/**
|
235
|
+
* @zh 自定义总结栏单元格样式
|
236
|
+
* @en Custom summary cell style
|
237
|
+
* @version 2.30.0
|
238
|
+
*/
|
239
|
+
summaryCellStyle?: CSSProperties | ((record: TableData) => CSSProperties);
|
240
|
+
/**
|
241
|
+
* @zh 自定义列单元格的渲染
|
242
|
+
* @en Customize the rendering of column cells
|
243
|
+
*/
|
244
|
+
render?: (data: {
|
245
|
+
record: TableData;
|
246
|
+
column: TableColumnData;
|
247
|
+
rowIndex: number;
|
248
|
+
}) => VNodeChild;
|
249
|
+
/**
|
250
|
+
* @zh 设置当前列的渲染插槽的名字。插槽参数同 #cell
|
251
|
+
* @en Sets the name of the render slot for the current column. Slot parameters are the same as #cell
|
252
|
+
* @version 2.18.0
|
253
|
+
*/
|
254
|
+
slotName?: string;
|
255
|
+
/**
|
256
|
+
* @zh 设置当前列的标题的渲染插槽的名字
|
257
|
+
* @en Set the name of the render slot for the header of the current column
|
258
|
+
* @version 2.23.0
|
259
|
+
*/
|
260
|
+
titleSlotName?: string;
|
261
|
+
slots?: Slots;
|
262
|
+
isLastLeftFixed?: boolean;
|
263
|
+
isFirstRightFixed?: boolean;
|
264
|
+
colSpan?: number;
|
265
|
+
rowSpan?: number;
|
266
|
+
index?: number;
|
267
|
+
parent?: TableColumnData;
|
268
|
+
_resizeWidth?: number;
|
269
|
+
}
|
270
|
+
export interface TableBorder {
|
271
|
+
/**
|
272
|
+
* @zh 是否展示外边框
|
273
|
+
* @en TWhether to display the outer border
|
274
|
+
*/
|
275
|
+
wrapper?: boolean;
|
276
|
+
/**
|
277
|
+
* @zh 是否展示单元格边框(表头+主体)
|
278
|
+
* @en Whether to display the cell border (header + body)
|
279
|
+
*/
|
280
|
+
cell?: boolean;
|
281
|
+
/**
|
282
|
+
* @zh 是否展示表头单元格边框
|
283
|
+
* @en Whether to display the header cell border
|
284
|
+
*/
|
285
|
+
headerCell?: boolean;
|
286
|
+
/**
|
287
|
+
* @zh 是否展示主体单元格边框
|
288
|
+
* @en Whether to display the body cell border
|
289
|
+
*/
|
290
|
+
bodyCell?: boolean;
|
291
|
+
}
|
292
|
+
export interface TableRowSelection {
|
293
|
+
/**
|
294
|
+
* @zh 行选择器的类型
|
295
|
+
* @en The type of row selector
|
296
|
+
*/
|
297
|
+
type?: 'checkbox' | 'radio';
|
298
|
+
/**
|
299
|
+
* @zh 已选择的行(受控模式)
|
300
|
+
* @en Selected row (controlled mode)
|
301
|
+
*/
|
302
|
+
selectedRowKeys?: BaseType[];
|
303
|
+
/**
|
304
|
+
* @zh 默认已选择的行(非受控模式)
|
305
|
+
* @en The selected row by default (uncontrolled mode)
|
306
|
+
*/
|
307
|
+
defaultSelectedRowKeys?: BaseType[];
|
308
|
+
/**
|
309
|
+
* @zh 是否显示全选选择器
|
310
|
+
* @en Whether to show the select all selector
|
311
|
+
*/
|
312
|
+
showCheckedAll?: boolean;
|
313
|
+
/**
|
314
|
+
* @zh 列标题
|
315
|
+
* @en Column title
|
316
|
+
*/
|
317
|
+
title?: string;
|
318
|
+
/**
|
319
|
+
* @zh 列宽度
|
320
|
+
* @en Column width
|
321
|
+
*/
|
322
|
+
width?: number;
|
323
|
+
/**
|
324
|
+
* @zh 是否固定
|
325
|
+
* @en Is it fixed
|
326
|
+
*/
|
327
|
+
fixed?: boolean;
|
328
|
+
/**
|
329
|
+
* @zh 是否开启严格选择模式
|
330
|
+
* @en Whether to enable strict selection mode
|
331
|
+
* @defaultValue true
|
332
|
+
* @version 2.29.0
|
333
|
+
*/
|
334
|
+
checkStrictly?: boolean;
|
335
|
+
/**
|
336
|
+
* @zh 是否仅展示当前页的 keys(切换分页时清空 keys)
|
337
|
+
* @en Whether to display only the keys of the current page (clear keys when switching paging)
|
338
|
+
* @version 2.32.0
|
339
|
+
*/
|
340
|
+
onlyCurrent?: boolean;
|
341
|
+
}
|
342
|
+
export interface TableExpandable {
|
343
|
+
/**
|
344
|
+
* @zh 显示的展开行(受控模式)
|
345
|
+
* @en Displayed Expanded Row (Controlled Mode)
|
346
|
+
*/
|
347
|
+
expandedRowKeys?: BaseType[];
|
348
|
+
/**
|
349
|
+
* @zh 默认显示的展开行(非受控模式)
|
350
|
+
* @en Expand row displayed by default (Uncontrolled mode)
|
351
|
+
*/
|
352
|
+
defaultExpandedRowKeys?: BaseType[];
|
353
|
+
/**
|
354
|
+
* @zh 是否默认展开所有的行
|
355
|
+
* @en Whether to expand all rows by default
|
356
|
+
*/
|
357
|
+
defaultExpandAllRows?: boolean;
|
358
|
+
/**
|
359
|
+
* @zh 自定义展开行内容
|
360
|
+
* @en Customize expanded row content
|
361
|
+
*/
|
362
|
+
expandedRowRender?: (record: TableData) => VNodeChild;
|
363
|
+
/**
|
364
|
+
* @zh 展开图标
|
365
|
+
* @en Expand icon
|
366
|
+
*/
|
367
|
+
icon?: (expanded: boolean, record: TableData) => VNodeChild;
|
368
|
+
/**
|
369
|
+
* @zh 列标题
|
370
|
+
* @en Column title
|
371
|
+
*/
|
372
|
+
title?: string;
|
373
|
+
/**
|
374
|
+
* @zh 列宽度
|
375
|
+
* @en Column width
|
376
|
+
*/
|
377
|
+
width?: number;
|
378
|
+
/**
|
379
|
+
* @zh 是否固定
|
380
|
+
* @en Is it fixed
|
381
|
+
*/
|
382
|
+
fixed?: boolean;
|
383
|
+
}
|
384
|
+
export interface TableDraggable {
|
385
|
+
/**
|
386
|
+
* @zh 拖拽类型
|
387
|
+
* @en drag type
|
388
|
+
*/
|
389
|
+
type?: 'row' | 'handle';
|
390
|
+
/**
|
391
|
+
* @zh 列标题
|
392
|
+
* @en Column title
|
393
|
+
*/
|
394
|
+
title?: string;
|
395
|
+
/**
|
396
|
+
* @zh 列宽度
|
397
|
+
* @en Column width
|
398
|
+
*/
|
399
|
+
width?: number;
|
400
|
+
/**
|
401
|
+
* @zh 是否固定
|
402
|
+
* @en Is it fixed
|
403
|
+
*/
|
404
|
+
fixed?: boolean;
|
405
|
+
}
|
406
|
+
export type OperationName = 'selection-checkbox' | 'selection-radio' | 'expand' | 'drag-handle';
|
407
|
+
export interface TableOperationColumn {
|
408
|
+
name: OperationName | string;
|
409
|
+
title?: string | RenderFunction;
|
410
|
+
width?: number;
|
411
|
+
fixed?: boolean;
|
412
|
+
render?: (record: TableData) => VNodeChild;
|
413
|
+
isLastLeftFixed?: boolean;
|
414
|
+
}
|
415
|
+
export interface TableComponents {
|
416
|
+
operations: (operations: {
|
417
|
+
dragHandle?: TableOperationColumn;
|
418
|
+
expand?: TableOperationColumn;
|
419
|
+
selection?: TableOperationColumn;
|
420
|
+
}) => TableOperationColumn[];
|
421
|
+
}
|
422
|
+
export interface TableChangeExtra {
|
423
|
+
/**
|
424
|
+
* @zh 触发类型
|
425
|
+
* @en Trigger type
|
426
|
+
*/
|
427
|
+
type: 'pagination' | 'sorter' | 'filter' | 'drag';
|
428
|
+
/**
|
429
|
+
* @zh 页码
|
430
|
+
* @en page number
|
431
|
+
*/
|
432
|
+
page?: number;
|
433
|
+
/**
|
434
|
+
* @zh 每页数据数
|
435
|
+
* @en number per page
|
436
|
+
*/
|
437
|
+
pageSize?: number;
|
438
|
+
/**
|
439
|
+
* @zh 排序信息
|
440
|
+
* @en Sort information
|
441
|
+
*/
|
442
|
+
sorter?: Sorter;
|
443
|
+
/**
|
444
|
+
* @zh 筛选信息
|
445
|
+
* @en Filter information
|
446
|
+
*/
|
447
|
+
filters?: Filters;
|
448
|
+
/**
|
449
|
+
* @zh 拖拽信息
|
450
|
+
* @en Drag and drop information
|
451
|
+
*/
|
452
|
+
dragTarget?: TableData;
|
453
|
+
}
|
454
|
+
export interface TableProps {
|
455
|
+
columns: TableColumnData[];
|
456
|
+
data: TableData[];
|
457
|
+
bordered?: boolean | TableBorder;
|
458
|
+
rowSelection?: TableRowSelection;
|
459
|
+
expandable?: TableExpandable;
|
460
|
+
pagination?: boolean | Data;
|
461
|
+
pagePosition?: string;
|
462
|
+
}
|
463
|
+
export type Sorter = {
|
464
|
+
field: string;
|
465
|
+
direction: 'ascend' | 'descend';
|
466
|
+
};
|
467
|
+
export type Filters = Record<string, string[]>;
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import { PropType } from 'vue';
|
2
|
+
import { TableColumnData, TableOperationColumn } from './interface';
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
4
|
+
dataColumns: {
|
5
|
+
type: PropType<TableColumnData[]>;
|
6
|
+
required: true;
|
7
|
+
};
|
8
|
+
operations: {
|
9
|
+
type: PropType<TableOperationColumn[]>;
|
10
|
+
required: true;
|
11
|
+
};
|
12
|
+
columnWidth: {
|
13
|
+
type: PropType<Record<string, number>>;
|
14
|
+
};
|
15
|
+
}>, {
|
16
|
+
fixedWidth: (width?: number, minWidth?: number) => {
|
17
|
+
width: string;
|
18
|
+
minWidth: string;
|
19
|
+
maxWidth: string;
|
20
|
+
} | {
|
21
|
+
minWidth: string;
|
22
|
+
width?: undefined;
|
23
|
+
maxWidth?: undefined;
|
24
|
+
} | undefined;
|
25
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
26
|
+
dataColumns: {
|
27
|
+
type: PropType<TableColumnData[]>;
|
28
|
+
required: true;
|
29
|
+
};
|
30
|
+
operations: {
|
31
|
+
type: PropType<TableOperationColumn[]>;
|
32
|
+
required: true;
|
33
|
+
};
|
34
|
+
columnWidth: {
|
35
|
+
type: PropType<Record<string, number>>;
|
36
|
+
};
|
37
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
38
|
+
export default _default;
|