You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
841 B
44 lines
841 B
export type TableColumn = {
|
|
field: string
|
|
label?: string
|
|
width?: number | string
|
|
fixed?: 'left' | 'right'
|
|
children?: TableColumn[]
|
|
} & Recordable
|
|
|
|
export type VxeTableColumn = {
|
|
field: string
|
|
title?: string
|
|
children?: TableColumn[]
|
|
} & Recordable
|
|
|
|
export type TableSlotDefault = {
|
|
row: Recordable
|
|
column: TableColumn
|
|
$index: number
|
|
} & Recordable
|
|
|
|
export interface Pagination {
|
|
small?: boolean
|
|
background?: boolean
|
|
pageSize?: number
|
|
defaultPageSize?: number
|
|
total?: number
|
|
pageCount?: number
|
|
pagerCount?: number
|
|
currentPage?: number
|
|
defaultCurrentPage?: number
|
|
layout?: string
|
|
pageSizes?: number[]
|
|
popperClass?: string
|
|
prevText?: string
|
|
nextText?: string
|
|
disabled?: boolean
|
|
hideOnSinglePage?: boolean
|
|
}
|
|
|
|
export interface TableSetPropsType {
|
|
field: string
|
|
path: string
|
|
value: any
|
|
}
|
|
|