You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.1 KiB
49 lines
1.1 KiB
|
2 years ago
|
import '../../../utils/index.mjs';
|
||
|
|
import '../../virtual-list/index.mjs';
|
||
|
|
import { columns, expandColumnKey, rowKey } from './common.mjs';
|
||
|
|
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
|
||
|
|
import { virtualizedGridProps } from '../../virtual-list/src/props.mjs';
|
||
|
|
|
||
|
|
const tableV2RowProps = buildProps({
|
||
|
|
class: String,
|
||
|
|
columns,
|
||
|
|
columnsStyles: {
|
||
|
|
type: definePropType(Object),
|
||
|
|
required: true
|
||
|
|
},
|
||
|
|
depth: Number,
|
||
|
|
expandColumnKey,
|
||
|
|
estimatedRowHeight: {
|
||
|
|
...virtualizedGridProps.estimatedRowHeight,
|
||
|
|
default: void 0
|
||
|
|
},
|
||
|
|
isScrolling: Boolean,
|
||
|
|
onRowExpand: {
|
||
|
|
type: definePropType(Function)
|
||
|
|
},
|
||
|
|
onRowHover: {
|
||
|
|
type: definePropType(Function)
|
||
|
|
},
|
||
|
|
onRowHeightChange: {
|
||
|
|
type: definePropType(Function)
|
||
|
|
},
|
||
|
|
rowData: {
|
||
|
|
type: definePropType(Object),
|
||
|
|
required: true
|
||
|
|
},
|
||
|
|
rowEventHandlers: {
|
||
|
|
type: definePropType(Object)
|
||
|
|
},
|
||
|
|
rowIndex: {
|
||
|
|
type: Number,
|
||
|
|
required: true
|
||
|
|
},
|
||
|
|
rowKey,
|
||
|
|
style: {
|
||
|
|
type: definePropType(Object)
|
||
|
|
}
|
||
|
|
});
|
||
|
|
|
||
|
|
export { tableV2RowProps };
|
||
|
|
//# sourceMappingURL=row.mjs.map
|