mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
* build: use vue-tsc to generate dts * reduce inline type declaration * fix: type checking failed * apply suggestions from code review * address PR comments
31 lines
957 B
TypeScript
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'
|