UNPKG

2.71 kBTypeScriptView Raw
1import { type PropType, type ExtractPropTypes } from 'vue';
2import type { ListDirection } from './types';
3export declare const listProps: {
4 error: BooleanConstructor;
5 offset: {
6 type: (NumberConstructor | StringConstructor)[];
7 default: number;
8 };
9 loading: BooleanConstructor;
10 disabled: BooleanConstructor;
11 finished: BooleanConstructor;
12 scroller: PropType<Element>;
13 errorText: StringConstructor;
14 direction: {
15 type: PropType<ListDirection>;
16 default: ListDirection;
17 };
18 loadingText: StringConstructor;
19 finishedText: StringConstructor;
20 immediateCheck: {
21 type: BooleanConstructor;
22 default: true;
23 };
24};
25export type ListProps = ExtractPropTypes<typeof listProps>;
26declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
27 error: BooleanConstructor;
28 offset: {
29 type: (NumberConstructor | StringConstructor)[];
30 default: number;
31 };
32 loading: BooleanConstructor;
33 disabled: BooleanConstructor;
34 finished: BooleanConstructor;
35 scroller: PropType<Element>;
36 errorText: StringConstructor;
37 direction: {
38 type: PropType<ListDirection>;
39 default: ListDirection;
40 };
41 loadingText: StringConstructor;
42 finishedText: StringConstructor;
43 immediateCheck: {
44 type: BooleanConstructor;
45 default: true;
46 };
47}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("load" | "update:error" | "update:loading")[], "load" | "update:error" | "update:loading", import("vue").PublicProps, Readonly<ExtractPropTypes<{
48 error: BooleanConstructor;
49 offset: {
50 type: (NumberConstructor | StringConstructor)[];
51 default: number;
52 };
53 loading: BooleanConstructor;
54 disabled: BooleanConstructor;
55 finished: BooleanConstructor;
56 scroller: PropType<Element>;
57 errorText: StringConstructor;
58 direction: {
59 type: PropType<ListDirection>;
60 default: ListDirection;
61 };
62 loadingText: StringConstructor;
63 finishedText: StringConstructor;
64 immediateCheck: {
65 type: BooleanConstructor;
66 default: true;
67 };
68}>> & Readonly<{
69 onLoad?: ((...args: any[]) => any) | undefined;
70 "onUpdate:error"?: ((...args: any[]) => any) | undefined;
71 "onUpdate:loading"?: ((...args: any[]) => any) | undefined;
72}>, {
73 offset: string | number;
74 disabled: boolean;
75 error: boolean;
76 loading: boolean;
77 direction: ListDirection;
78 finished: boolean;
79 immediateCheck: boolean;
80}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
81export default _default;
82
\No newline at end of file