UNPKG

3.1 kBTypeScriptView Raw
1export declare const Pagination: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2 mode: {
3 type: import("vue").PropType<import("./Pagination").PaginationMode>;
4 default: import("./Pagination").PaginationMode;
5 };
6 prevText: StringConstructor;
7 nextText: StringConstructor;
8 pageCount: {
9 type: (NumberConstructor | StringConstructor)[];
10 default: number;
11 };
12 modelValue: {
13 type: NumberConstructor;
14 default: number;
15 };
16 totalItems: {
17 type: (NumberConstructor | StringConstructor)[];
18 default: number;
19 };
20 showPageSize: {
21 type: (NumberConstructor | StringConstructor)[];
22 default: number;
23 };
24 itemsPerPage: {
25 type: (NumberConstructor | StringConstructor)[];
26 default: number;
27 };
28 forceEllipses: BooleanConstructor;
29 showPrevButton: {
30 type: BooleanConstructor;
31 default: true;
32 };
33 showNextButton: {
34 type: BooleanConstructor;
35 default: true;
36 };
37}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
38 mode: {
39 type: import("vue").PropType<import("./Pagination").PaginationMode>;
40 default: import("./Pagination").PaginationMode;
41 };
42 prevText: StringConstructor;
43 nextText: StringConstructor;
44 pageCount: {
45 type: (NumberConstructor | StringConstructor)[];
46 default: number;
47 };
48 modelValue: {
49 type: NumberConstructor;
50 default: number;
51 };
52 totalItems: {
53 type: (NumberConstructor | StringConstructor)[];
54 default: number;
55 };
56 showPageSize: {
57 type: (NumberConstructor | StringConstructor)[];
58 default: number;
59 };
60 itemsPerPage: {
61 type: (NumberConstructor | StringConstructor)[];
62 default: number;
63 };
64 forceEllipses: BooleanConstructor;
65 showPrevButton: {
66 type: BooleanConstructor;
67 default: true;
68 };
69 showNextButton: {
70 type: BooleanConstructor;
71 default: true;
72 };
73}>> & Readonly<{
74 onChange?: ((...args: any[]) => any) | undefined;
75 "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
76}>, {
77 modelValue: number;
78 mode: import("./Pagination").PaginationMode;
79 pageCount: string | number;
80 totalItems: string | number;
81 showPageSize: string | number;
82 itemsPerPage: string | number;
83 forceEllipses: boolean;
84 showPrevButton: boolean;
85 showNextButton: boolean;
86}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
87export default Pagination;
88export { paginationProps } from './Pagination';
89export type { PaginationMode, PaginationProps } from './Pagination';
90export type { PaginationThemeVars } from './types';
91declare module 'vue' {
92 interface GlobalComponents {
93 VanPagination: typeof Pagination;
94 }
95}
96
\No newline at end of file