index.ts 829 B

12345678910111213141516171819202122232425262728
  1. import { withInstall } from '@element-plus/utils'
  2. import TableV2 from './src/table-v2'
  3. import AutoResizer from './src/components/auto-resizer'
  4. export {
  5. Alignment as TableV2Alignment,
  6. FixedDir as TableV2FixedDir,
  7. SortOrder as TableV2SortOrder,
  8. } from './src/constants'
  9. export { default as TableV2 } from './src/table-v2'
  10. export * from './src/auto-resizer'
  11. export { placeholderSign as TableV2Placeholder } from './src/private'
  12. export const ElTableV2 = withInstall(TableV2)
  13. export const ElAutoResizer = withInstall(AutoResizer)
  14. export type {
  15. Column,
  16. Columns,
  17. SortBy,
  18. SortState,
  19. TableV2CustomizedHeaderSlotParam,
  20. } from './src/types'
  21. export type { TableV2Instance } from './src/table-v2'
  22. export * from './src/table'
  23. export * from './src/row'
  24. export type { HeaderCellSlotProps } from './src/renderers/header-cell'