UNPKG

3.75 kBTypeScriptView Raw
1import { type ExtractPropTypes } from 'vue';
2export type PaginationMode = 'simple' | 'multi';
3export declare const paginationProps: {
4 mode: {
5 type: import("vue").PropType<PaginationMode>;
6 default: PaginationMode;
7 };
8 prevText: StringConstructor;
9 nextText: StringConstructor;
10 pageCount: {
11 type: (NumberConstructor | StringConstructor)[];
12 default: number;
13 };
14 modelValue: {
15 type: NumberConstructor;
16 default: number;
17 };
18 totalItems: {
19 type: (NumberConstructor | StringConstructor)[];
20 default: number;
21 };
22 showPageSize: {
23 type: (NumberConstructor | StringConstructor)[];
24 default: number;
25 };
26 itemsPerPage: {
27 type: (NumberConstructor | StringConstructor)[];
28 default: number;
29 };
30 forceEllipses: BooleanConstructor;
31 showPrevButton: {
32 type: BooleanConstructor;
33 default: true;
34 };
35 showNextButton: {
36 type: BooleanConstructor;
37 default: true;
38 };
39};
40export type PaginationProps = ExtractPropTypes<typeof paginationProps>;
41declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
42 mode: {
43 type: import("vue").PropType<PaginationMode>;
44 default: PaginationMode;
45 };
46 prevText: StringConstructor;
47 nextText: StringConstructor;
48 pageCount: {
49 type: (NumberConstructor | StringConstructor)[];
50 default: number;
51 };
52 modelValue: {
53 type: NumberConstructor;
54 default: number;
55 };
56 totalItems: {
57 type: (NumberConstructor | StringConstructor)[];
58 default: number;
59 };
60 showPageSize: {
61 type: (NumberConstructor | StringConstructor)[];
62 default: number;
63 };
64 itemsPerPage: {
65 type: (NumberConstructor | StringConstructor)[];
66 default: number;
67 };
68 forceEllipses: BooleanConstructor;
69 showPrevButton: {
70 type: BooleanConstructor;
71 default: true;
72 };
73 showNextButton: {
74 type: BooleanConstructor;
75 default: true;
76 };
77}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<ExtractPropTypes<{
78 mode: {
79 type: import("vue").PropType<PaginationMode>;
80 default: PaginationMode;
81 };
82 prevText: StringConstructor;
83 nextText: StringConstructor;
84 pageCount: {
85 type: (NumberConstructor | StringConstructor)[];
86 default: number;
87 };
88 modelValue: {
89 type: NumberConstructor;
90 default: number;
91 };
92 totalItems: {
93 type: (NumberConstructor | StringConstructor)[];
94 default: number;
95 };
96 showPageSize: {
97 type: (NumberConstructor | StringConstructor)[];
98 default: number;
99 };
100 itemsPerPage: {
101 type: (NumberConstructor | StringConstructor)[];
102 default: number;
103 };
104 forceEllipses: BooleanConstructor;
105 showPrevButton: {
106 type: BooleanConstructor;
107 default: true;
108 };
109 showNextButton: {
110 type: BooleanConstructor;
111 default: true;
112 };
113}>> & Readonly<{
114 onChange?: ((...args: any[]) => any) | undefined;
115 "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
116}>, {
117 modelValue: number;
118 mode: PaginationMode;
119 pageCount: string | number;
120 totalItems: string | number;
121 showPageSize: string | number;
122 itemsPerPage: string | number;
123 forceEllipses: boolean;
124 showPrevButton: boolean;
125 showNextButton: boolean;
126}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
127export default _default;
128
\No newline at end of file