- Fix router import path in main.js - Handle Django REST Framework pagination format in API calls - Add getTemplates function to project API - Restart frontend development server
40 lines
1.0 KiB
JavaScript
40 lines
1.0 KiB
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
|
|
},
|
|
/**
|
|
* Unique item key
|
|
*/
|
|
rowKey,
|
|
style: { type: definePropType(Object) }
|
|
});
|
|
//#endregion
|
|
export { tableV2RowProps };
|
|
|
|
//# sourceMappingURL=row.mjs.map
|