Files
element-plus/packages/components/table-v2/index.ts
dopamine 79938178dd build: use vue-tsc to generate dts (#16111)
* build: use vue-tsc to generate dts

* reduce inline type declaration

* fix: type checking failed

* apply suggestions from code review

* address PR comments
2024-08-07 12:01:46 +08:00

31 lines
957 B
TypeScript

import { withInstall } from '@element-plus/utils'
import TableV2 from './src/table-v2'
import AutoResizer from './src/components/auto-resizer'
import type { SFCWithInstall } from '@element-plus/utils'
export {
Alignment as TableV2Alignment,
FixedDir as TableV2FixedDir,
SortOrder as TableV2SortOrder,
} from './src/constants'
export { default as TableV2 } from './src/table-v2'
export * from './src/auto-resizer'
export { placeholderSign as TableV2Placeholder } from './src/private'
export const ElTableV2: SFCWithInstall<typeof TableV2> = withInstall(TableV2)
export const ElAutoResizer: SFCWithInstall<typeof AutoResizer> =
withInstall(AutoResizer)
export type {
Column,
Columns,
SortBy,
SortState,
TableV2CustomizedHeaderSlotParam,
} from './src/types'
export type { TableV2Instance } from './src/table-v2'
export * from './src/table'
export * from './src/row'
export type { HeaderCellSlotProps } from './src/renderers/header-cell'