element-plus
Version:
A Component Library for Vue 3
38 lines (36 loc) • 1.01 kB
JavaScript
import { buildProps, definePropType } from "../../../utils/vue/props/runtime.mjs";
import { virtualizedGridProps } from "../../virtual-list/src/props.mjs";
import { columns, expandColumnKey, rowKey } from "./common.mjs";
//#region ../../packages/components/table-v2/src/row.ts
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) }
});
//#endregion
export { tableV2RowProps };
//# sourceMappingURL=row.mjs.map