index.ts 416 B

12345678910111213
  1. import Table from './src/Table.vue'
  2. import { ElTable } from 'element-plus'
  3. import { TableSetPropsType } from '@/types/table'
  4. import TableSelectForm from './src/TableSelectForm.vue'
  5. export interface TableExpose {
  6. setProps: (props: Recordable) => void
  7. setColumn: (columnProps: TableSetPropsType[]) => void
  8. selections: Recordable[]
  9. elTableRef: ComponentRef<typeof ElTable>
  10. }
  11. export { Table, TableSelectForm }