mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
* Revert "fix(types): packing unexpected types (#19419)"
This reverts commit 13506ffb81.
* Revert "chore: add explicit type annoation (#19352)"
* fix(typescript): borken import paths in declaration files
* chore: emits smaller declaration files
35 lines
836 B
TypeScript
35 lines
836 B
TypeScript
import { withInstall, withNoopInstall } from '@element-plus/utils'
|
|
import Table from './src/table.vue'
|
|
import TableColumn from './src/tableColumn'
|
|
import type { SFCWithInstall } from '@element-plus/utils'
|
|
|
|
export const ElTable: SFCWithInstall<typeof Table> & {
|
|
TableColumn: typeof TableColumn
|
|
} = withInstall(Table, {
|
|
TableColumn,
|
|
})
|
|
export default ElTable
|
|
export const ElTableColumn: SFCWithInstall<typeof TableColumn> =
|
|
withNoopInstall(TableColumn)
|
|
|
|
export type TableInstance = InstanceType<typeof Table> & unknown
|
|
|
|
export type TableColumnInstance = InstanceType<typeof TableColumn> & unknown
|
|
|
|
export type {
|
|
SummaryMethod,
|
|
Table,
|
|
TableProps,
|
|
TableRefs,
|
|
ColumnCls,
|
|
ColumnStyle,
|
|
CellCls,
|
|
CellStyle,
|
|
TreeNode,
|
|
RenderRowData,
|
|
Sort,
|
|
Filter,
|
|
TableColumnCtx,
|
|
TableTooltipData,
|
|
} from './src/table/defaults'
|