@fesjs/fes-design
Version:
fes-design for PC
51 lines (50 loc) • 1.48 kB
TypeScript
import type { PropType } from 'vue';
import type { ExtractPublicPropTypes } from '../_util/interface';
export declare const COMPONENT_NAME: {
PAGINATION: string;
PAGINATION_JUMPER: string;
PAGINATION_PAGER: string;
PAGINATION_SIMPLER: string;
PAGINATION_SIZES: string;
PAGINATION_TOTAL: string;
};
export declare const PROVIDE_KEY: unique symbol;
export declare const paginationProps: {
readonly pageSize: {
readonly type: NumberConstructor;
readonly default: 10;
};
readonly currentPage: {
readonly type: NumberConstructor;
readonly default: 1;
};
readonly totalCount: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly pageSizeOption: {
readonly type: PropType<number[]>;
readonly default: () => number[];
};
readonly showQuickJumper: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly showSizeChanger: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly showTotal: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly small: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly simple: {
readonly type: BooleanConstructor;
readonly default: false;
};
};
export type PaginationProps = ExtractPublicPropTypes<typeof paginationProps>;