table.js 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
  2. const require_runtime = require('../../../utils/vue/props/runtime.js');
  3. const require_props = require('../../virtual-list/src/props.js');
  4. const require_common = require('./common.js');
  5. const require_row = require('./row.js');
  6. const require_header = require('./header.js');
  7. const require_grid = require('./grid.js');
  8. //#region ../../packages/components/table-v2/src/table.ts
  9. const tableV2Props = require_runtime.buildProps({
  10. cache: require_grid.tableV2GridProps.cache,
  11. estimatedRowHeight: require_row.tableV2RowProps.estimatedRowHeight,
  12. rowKey: require_common.rowKey,
  13. headerClass: { type: require_runtime.definePropType([String, Function]) },
  14. headerProps: { type: require_runtime.definePropType([Object, Function]) },
  15. headerCellProps: { type: require_runtime.definePropType([Object, Function]) },
  16. headerHeight: require_header.tableV2HeaderProps.headerHeight,
  17. footerHeight: {
  18. type: Number,
  19. default: 0
  20. },
  21. rowClass: { type: require_runtime.definePropType([String, Function]) },
  22. rowProps: { type: require_runtime.definePropType([Object, Function]) },
  23. rowHeight: {
  24. type: Number,
  25. default: 50
  26. },
  27. cellProps: { type: require_runtime.definePropType([Object, Function]) },
  28. columns: require_common.columns,
  29. data: require_common.dataType,
  30. dataGetter: { type: require_runtime.definePropType(Function) },
  31. fixedData: require_common.fixedDataType,
  32. expandColumnKey: require_row.tableV2RowProps.expandColumnKey,
  33. expandedRowKeys: require_common.expandKeys,
  34. defaultExpandedRowKeys: require_common.expandKeys,
  35. class: require_common.classType,
  36. fixed: Boolean,
  37. style: { type: require_runtime.definePropType(Object) },
  38. width: require_common.requiredNumber,
  39. height: require_common.requiredNumber,
  40. maxHeight: Number,
  41. useIsScrolling: Boolean,
  42. indentSize: {
  43. type: Number,
  44. default: 12
  45. },
  46. iconSize: {
  47. type: Number,
  48. default: 12
  49. },
  50. hScrollbarSize: require_props.virtualizedGridProps.hScrollbarSize,
  51. vScrollbarSize: require_props.virtualizedGridProps.vScrollbarSize,
  52. scrollbarAlwaysOn: require_props.virtualizedScrollbarProps.alwaysOn,
  53. sortBy: {
  54. type: require_runtime.definePropType(Object),
  55. default: () => ({})
  56. },
  57. sortState: {
  58. type: require_runtime.definePropType(Object),
  59. default: void 0
  60. },
  61. onColumnSort: { type: require_runtime.definePropType(Function) },
  62. onExpandedRowsChange: { type: require_runtime.definePropType(Function) },
  63. onEndReached: { type: require_runtime.definePropType(Function) },
  64. onRowExpand: require_row.tableV2RowProps.onRowExpand,
  65. onScroll: require_grid.tableV2GridProps.onScroll,
  66. onRowsRendered: require_grid.tableV2GridProps.onRowsRendered,
  67. rowEventHandlers: require_row.tableV2RowProps.rowEventHandlers
  68. });
  69. //#endregion
  70. exports.tableV2Props = tableV2Props;
  71. //# sourceMappingURL=table.js.map