UNPKG

2.42 kBTypeScriptView Raw
1import { ListProps } from './List';
2export declare const List: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3 error: BooleanConstructor;
4 offset: {
5 type: (NumberConstructor | StringConstructor)[];
6 default: number;
7 };
8 loading: BooleanConstructor;
9 disabled: BooleanConstructor;
10 finished: BooleanConstructor;
11 scroller: import("vue").PropType<Element>;
12 errorText: StringConstructor;
13 direction: {
14 type: import("vue").PropType<import("./types").ListDirection>;
15 default: import("./types").ListDirection;
16 };
17 loadingText: StringConstructor;
18 finishedText: StringConstructor;
19 immediateCheck: {
20 type: BooleanConstructor;
21 default: true;
22 };
23}>, () => 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<import("vue").ExtractPropTypes<{
24 error: BooleanConstructor;
25 offset: {
26 type: (NumberConstructor | StringConstructor)[];
27 default: number;
28 };
29 loading: BooleanConstructor;
30 disabled: BooleanConstructor;
31 finished: BooleanConstructor;
32 scroller: import("vue").PropType<Element>;
33 errorText: StringConstructor;
34 direction: {
35 type: import("vue").PropType<import("./types").ListDirection>;
36 default: import("./types").ListDirection;
37 };
38 loadingText: StringConstructor;
39 finishedText: StringConstructor;
40 immediateCheck: {
41 type: BooleanConstructor;
42 default: true;
43 };
44}>> & Readonly<{
45 onLoad?: ((...args: any[]) => any) | undefined;
46 "onUpdate:error"?: ((...args: any[]) => any) | undefined;
47 "onUpdate:loading"?: ((...args: any[]) => any) | undefined;
48}>, {
49 offset: string | number;
50 disabled: boolean;
51 error: boolean;
52 loading: boolean;
53 direction: import("./types").ListDirection;
54 finished: boolean;
55 immediateCheck: boolean;
56}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
57export default List;
58export { listProps } from './List';
59export type { ListProps };
60export type { ListInstance, ListDirection, ListThemeVars } from './types';
61declare module 'vue' {
62 interface GlobalComponents {
63 VanList: typeof List;
64 }
65}
66
\No newline at end of file