f8e6a7846c5692765bab3ebac1def01f922a4e5c8008508a1d88e4a2070e07c99dea17e5464b323d22a1b7fb499a3cba91d0a5b8448d9581f6481508ea7fef 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', { value: true });
  3. var common = require('./common.js');
  4. var header = require('./header.js');
  5. var row = require('./row.js');
  6. var props = require('../../virtual-list/src/props.js');
  7. var runtime = require('../../../utils/vue/props/runtime.js');
  8. const tableV2GridProps = runtime.buildProps({
  9. columns: common.columns,
  10. data: common.dataType,
  11. fixedData: common.fixedDataType,
  12. estimatedRowHeight: row.tableV2RowProps.estimatedRowHeight,
  13. width: common.requiredNumber,
  14. height: common.requiredNumber,
  15. headerWidth: common.requiredNumber,
  16. headerHeight: header.tableV2HeaderProps.headerHeight,
  17. bodyWidth: common.requiredNumber,
  18. rowHeight: common.requiredNumber,
  19. cache: props.virtualizedListProps.cache,
  20. useIsScrolling: Boolean,
  21. scrollbarAlwaysOn: props.virtualizedGridProps.scrollbarAlwaysOn,
  22. scrollbarStartGap: props.virtualizedGridProps.scrollbarStartGap,
  23. scrollbarEndGap: props.virtualizedGridProps.scrollbarEndGap,
  24. class: common.classType,
  25. style: common.styleType,
  26. containerStyle: common.styleType,
  27. getRowHeight: {
  28. type: runtime.definePropType(Function),
  29. required: true
  30. },
  31. rowKey: row.tableV2RowProps.rowKey,
  32. onRowsRendered: {
  33. type: runtime.definePropType(Function)
  34. },
  35. onScroll: {
  36. type: runtime.definePropType(Function)
  37. }
  38. });
  39. exports.tableV2GridProps = tableV2GridProps;
  40. //# sourceMappingURL=grid.js.map