UNPKG

@extclp/vexip-ui

Version:

A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good

39 lines (38 loc) 1.44 kB
import { ExtractPropTypes, PropType } from 'vue'; import { ConfigurableProps } from '@vexip-ui/config'; import { PaginationPlugin, PaginationSlots } from './symbol'; export declare const paginationProps: { inherit: PropType<boolean>; size: PropType<"default" | "small" | "large">; locale: PropType<Partial<{ page: string; perPage: string; prevPage: string; nextPage: string; prev: string; next: string; total: string; jumpTo: string; itemUnit: string; }>>; total: PropType<number>; noBorder: PropType<boolean>; background: PropType<boolean>; pageSize: PropType<number>; sizeOptions: PropType<number[]>; itemCount: PropType<number>; active: PropType<number>; disabled: PropType<boolean>; disableItem: PropType<(page: number) => boolean>; turnPageCount: PropType<number>; itemUnit: PropType<string>; plugins: PropType<(PaginationPlugin | undefined | null)[]>; noTitle: PropType<boolean>; itemTag: PropType<string>; listTag: PropType<string>; slots: PropType<PaginationSlots>; onChange: PropType<((page: number) => void) | ((page: number) => void)[]>; onPageSizeChange: PropType<((size: number) => void) | ((size: number) => void)[]>; }; export type PaginationProps = ExtractPropTypes<typeof paginationProps>; export type PaginationCProps = ConfigurableProps<PaginationProps, 'total'>;