row.mjs 1.1 KB

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