row.mjs 1008 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. import { columns, expandColumnKey, rowKey } from './common.mjs';
  2. import { virtualizedGridProps } from '../../virtual-list/src/props.mjs';
  3. import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
  4. const tableV2RowProps = buildProps({
  5. class: String,
  6. columns,
  7. columnsStyles: {
  8. type: definePropType(Object),
  9. required: true
  10. },
  11. depth: Number,
  12. expandColumnKey,
  13. estimatedRowHeight: {
  14. ...virtualizedGridProps.estimatedRowHeight,
  15. default: void 0
  16. },
  17. isScrolling: Boolean,
  18. onRowExpand: {
  19. type: definePropType(Function)
  20. },
  21. onRowHover: {
  22. type: definePropType(Function)
  23. },
  24. onRowHeightChange: {
  25. type: definePropType(Function)
  26. },
  27. rowData: {
  28. type: definePropType(Object),
  29. required: true
  30. },
  31. rowEventHandlers: {
  32. type: definePropType(Object)
  33. },
  34. rowIndex: {
  35. type: Number,
  36. required: true
  37. },
  38. rowKey,
  39. style: {
  40. type: definePropType(Object)
  41. }
  42. });
  43. export { tableV2RowProps };
  44. //# sourceMappingURL=row.mjs.map