table.d.ts 685 B

123456789101112131415161718192021222324252627282930313233343536
  1. declare type TableColumn = {
  2. field: string
  3. label?: string
  4. children?: TableColumn[]
  5. } & Recordable
  6. declare type TableSlotDefault = {
  7. row: Recordable
  8. column: TableColumn
  9. $index: number
  10. } & Recordable
  11. declare interface Pagination {
  12. small?: boolean
  13. background?: boolean
  14. pageSize?: number
  15. defaultPageSize?: number
  16. total?: number
  17. pageCount?: number
  18. pagerCount?: number
  19. currentPage?: number
  20. defaultCurrentPage?: number
  21. layout?: string
  22. pageSizes?: number[]
  23. popperClass?: string
  24. prevText?: string
  25. nextText?: string
  26. disabled?: boolean
  27. hideOnSinglePage?: boolean
  28. }
  29. declare interface TableSetPropsType {
  30. field: string
  31. path: string
  32. value: any
  33. }