1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
| import '../../../utils/index.mjs';
| import '../../virtual-list/index.mjs';
| import { rowKey, columns, dataType, fixedDataType, expandKeys, classType, requiredNumber } from './common.mjs';
| import { tableV2RowProps } from './row.mjs';
| import { tableV2HeaderProps } from './header.mjs';
| import { tableV2GridProps } from './grid.mjs';
| import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
| import { virtualizedGridProps, virtualizedScrollbarProps } from '../../virtual-list/src/props.mjs';
|
| const tableV2Props = buildProps({
| cache: tableV2GridProps.cache,
| estimatedRowHeight: tableV2RowProps.estimatedRowHeight,
| rowKey,
| headerClass: {
| type: definePropType([
| String,
| Function
| ])
| },
| headerProps: {
| type: definePropType([
| Object,
| Function
| ])
| },
| headerCellProps: {
| type: definePropType([
| Object,
| Function
| ])
| },
| headerHeight: tableV2HeaderProps.headerHeight,
| footerHeight: {
| type: Number,
| default: 0
| },
| rowClass: {
| type: definePropType([String, Function])
| },
| rowProps: {
| type: definePropType([Object, Function])
| },
| rowHeight: {
| type: Number,
| default: 50
| },
| cellProps: {
| type: definePropType([
| Object,
| Function
| ])
| },
| columns,
| data: dataType,
| dataGetter: {
| type: definePropType(Function)
| },
| fixedData: fixedDataType,
| expandColumnKey: tableV2RowProps.expandColumnKey,
| expandedRowKeys: expandKeys,
| defaultExpandedRowKeys: expandKeys,
| class: classType,
| fixed: Boolean,
| style: {
| type: definePropType(Object)
| },
| width: requiredNumber,
| height: requiredNumber,
| maxHeight: Number,
| useIsScrolling: Boolean,
| indentSize: {
| type: Number,
| default: 12
| },
| iconSize: {
| type: Number,
| default: 12
| },
| hScrollbarSize: virtualizedGridProps.hScrollbarSize,
| vScrollbarSize: virtualizedGridProps.vScrollbarSize,
| scrollbarAlwaysOn: virtualizedScrollbarProps.alwaysOn,
| sortBy: {
| type: definePropType(Object),
| default: () => ({})
| },
| sortState: {
| type: definePropType(Object),
| default: void 0
| },
| onColumnSort: {
| type: definePropType(Function)
| },
| onExpandedRowsChange: {
| type: definePropType(Function)
| },
| onEndReached: {
| type: definePropType(Function)
| },
| onRowExpand: tableV2RowProps.onRowExpand,
| onScroll: tableV2GridProps.onScroll,
| onRowsRendered: tableV2GridProps.onRowsRendered,
| rowEventHandlers: tableV2RowProps.rowEventHandlers
| });
|
| export { tableV2Props };
| //# sourceMappingURL=table.mjs.map
|
|