index.ts 630 B

1234567891011121314151617181920212223242526272829
  1. import { withInstall, withNoopInstall } from '@element-plus/utils'
  2. import Table from './src/table.vue'
  3. import TableColumn from './src/tableColumn'
  4. export const ElTable = withInstall(Table, {
  5. TableColumn,
  6. })
  7. export default ElTable
  8. export const ElTableColumn = withNoopInstall(TableColumn)
  9. export type TableInstance = InstanceType<typeof Table>
  10. export type TableColumnInstance = InstanceType<typeof TableColumn>
  11. export type {
  12. SummaryMethod,
  13. Table,
  14. TableProps,
  15. TableRefs,
  16. ColumnCls,
  17. ColumnStyle,
  18. CellCls,
  19. CellStyle,
  20. TreeNode,
  21. RenderRowData,
  22. Sort,
  23. Filter,
  24. TableColumnCtx,
  25. } from './src/table/defaults'