tdesign-mobile-vue
Version:
tdesign-mobile-vue
458 lines (457 loc) • 20.9 kB
TypeScript
import { TdListProps } from './type';
import './style';
export * from './type';
export type ListProps = TdListProps;
export declare const List: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
asyncLoading: {
type: import("vue").PropType<TdListProps['asyncLoading']>;
};
footer: {
type: import("vue").PropType<TdListProps['footer']>;
};
header: {
type: import("vue").PropType<TdListProps['header']>;
};
onLoadMore: import("vue").PropType<TdListProps['onLoadMore']>;
onScroll: import("vue").PropType<TdListProps['onScroll']>;
}>> & Readonly<{
"onLoad-more"?: (...args: any[]) => any;
onScroll?: (...args: any[]) => any;
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("load-more" | "scroll")[], import("vue").PublicProps, {}, true, {}, {}, {
TLoading: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
attach: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['attach']>;
default: import("@/loading").TdLoadingProps['attach'];
};
content: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['content']>;
};
default: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['default']>;
};
delay: {
type: NumberConstructor;
default: number;
};
duration: {
type: NumberConstructor;
default: number;
};
fullscreen: BooleanConstructor;
indicator: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['indicator']>;
default: import("@/loading").TdLoadingProps['indicator'];
};
inheritColor: BooleanConstructor;
layout: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['layout']>;
default: import("@/loading").TdLoadingProps['layout'];
validator(val: import("@/loading").TdLoadingProps['layout']): boolean;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
pause: BooleanConstructor;
reverse: BooleanConstructor;
size: {
type: StringConstructor;
default: string;
};
text: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['text']>;
};
theme: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['theme']>;
default: import("@/loading").TdLoadingProps['theme'];
validator(val: import("@/loading").TdLoadingProps['theme']): boolean;
};
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
attach: import("@/common").AttachNode;
delay: number;
duration: number;
fullscreen: boolean;
indicator: boolean | ((h: typeof import('vue').h) => import("@/common").TNodeReturnValue);
inheritColor: boolean;
layout: "horizontal" | "vertical";
loading: boolean;
pause: boolean;
reverse: boolean;
size: string;
theme: "circular" | "dots" | "spinner";
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<import("vue").ExtractPropTypes<{
attach: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['attach']>;
default: import("@/loading").TdLoadingProps['attach'];
};
content: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['content']>;
};
default: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['default']>;
};
delay: {
type: NumberConstructor;
default: number;
};
duration: {
type: NumberConstructor;
default: number;
};
fullscreen: BooleanConstructor;
indicator: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['indicator']>;
default: import("@/loading").TdLoadingProps['indicator'];
};
inheritColor: BooleanConstructor;
layout: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['layout']>;
default: import("@/loading").TdLoadingProps['layout'];
validator(val: import("@/loading").TdLoadingProps['layout']): boolean;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
pause: BooleanConstructor;
reverse: BooleanConstructor;
size: {
type: StringConstructor;
default: string;
};
text: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['text']>;
};
theme: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['theme']>;
default: import("@/loading").TdLoadingProps['theme'];
validator(val: import("@/loading").TdLoadingProps['theme']): boolean;
};
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
attach: import("@/common").AttachNode;
delay: number;
duration: number;
fullscreen: boolean;
indicator: boolean | ((h: typeof import('vue').h) => import("@/common").TNodeReturnValue);
inheritColor: boolean;
layout: "horizontal" | "vertical";
loading: boolean;
pause: boolean;
reverse: boolean;
size: string;
theme: "circular" | "dots" | "spinner";
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
attach: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['attach']>;
default: import("@/loading").TdLoadingProps['attach'];
};
content: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['content']>;
};
default: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['default']>;
};
delay: {
type: NumberConstructor;
default: number;
};
duration: {
type: NumberConstructor;
default: number;
};
fullscreen: BooleanConstructor;
indicator: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['indicator']>;
default: import("@/loading").TdLoadingProps['indicator'];
};
inheritColor: BooleanConstructor;
layout: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['layout']>;
default: import("@/loading").TdLoadingProps['layout'];
validator(val: import("@/loading").TdLoadingProps['layout']): boolean;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
pause: BooleanConstructor;
reverse: BooleanConstructor;
size: {
type: StringConstructor;
default: string;
};
text: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['text']>;
};
theme: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['theme']>;
default: import("@/loading").TdLoadingProps['theme'];
validator(val: import("@/loading").TdLoadingProps['theme']): boolean;
};
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
attach: import("@/common").AttachNode;
delay: number;
duration: number;
fullscreen: boolean;
indicator: boolean | ((h: typeof import('vue').h) => import("@/common").TNodeReturnValue);
inheritColor: boolean;
layout: "horizontal" | "vertical";
loading: boolean;
pause: boolean;
reverse: boolean;
size: string;
theme: "circular" | "dots" | "spinner";
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<import("vue").ExtractPropTypes<{
asyncLoading: {
type: import("vue").PropType<TdListProps['asyncLoading']>;
};
footer: {
type: import("vue").PropType<TdListProps['footer']>;
};
header: {
type: import("vue").PropType<TdListProps['header']>;
};
onLoadMore: import("vue").PropType<TdListProps['onLoadMore']>;
onScroll: import("vue").PropType<TdListProps['onScroll']>;
}>> & Readonly<{
"onLoad-more"?: (...args: any[]) => any;
onScroll?: (...args: any[]) => any;
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
asyncLoading: {
type: import("vue").PropType<TdListProps['asyncLoading']>;
};
footer: {
type: import("vue").PropType<TdListProps['footer']>;
};
header: {
type: import("vue").PropType<TdListProps['header']>;
};
onLoadMore: import("vue").PropType<TdListProps['onLoadMore']>;
onScroll: import("vue").PropType<TdListProps['onScroll']>;
}>> & Readonly<{
"onLoad-more"?: (...args: any[]) => any;
onScroll?: (...args: any[]) => any;
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("load-more" | "scroll")[], "load-more" | "scroll", {}, {}, string, {}, {
TLoading: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
attach: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['attach']>;
default: import("@/loading").TdLoadingProps['attach'];
};
content: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['content']>;
};
default: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['default']>;
};
delay: {
type: NumberConstructor;
default: number;
};
duration: {
type: NumberConstructor;
default: number;
};
fullscreen: BooleanConstructor;
indicator: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['indicator']>;
default: import("@/loading").TdLoadingProps['indicator'];
};
inheritColor: BooleanConstructor;
layout: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['layout']>;
default: import("@/loading").TdLoadingProps['layout'];
validator(val: import("@/loading").TdLoadingProps['layout']): boolean;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
pause: BooleanConstructor;
reverse: BooleanConstructor;
size: {
type: StringConstructor;
default: string;
};
text: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['text']>;
};
theme: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['theme']>;
default: import("@/loading").TdLoadingProps['theme'];
validator(val: import("@/loading").TdLoadingProps['theme']): boolean;
};
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
attach: import("@/common").AttachNode;
delay: number;
duration: number;
fullscreen: boolean;
indicator: boolean | ((h: typeof import('vue').h) => import("@/common").TNodeReturnValue);
inheritColor: boolean;
layout: "horizontal" | "vertical";
loading: boolean;
pause: boolean;
reverse: boolean;
size: string;
theme: "circular" | "dots" | "spinner";
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<import("vue").ExtractPropTypes<{
attach: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['attach']>;
default: import("@/loading").TdLoadingProps['attach'];
};
content: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['content']>;
};
default: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['default']>;
};
delay: {
type: NumberConstructor;
default: number;
};
duration: {
type: NumberConstructor;
default: number;
};
fullscreen: BooleanConstructor;
indicator: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['indicator']>;
default: import("@/loading").TdLoadingProps['indicator'];
};
inheritColor: BooleanConstructor;
layout: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['layout']>;
default: import("@/loading").TdLoadingProps['layout'];
validator(val: import("@/loading").TdLoadingProps['layout']): boolean;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
pause: BooleanConstructor;
reverse: BooleanConstructor;
size: {
type: StringConstructor;
default: string;
};
text: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['text']>;
};
theme: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['theme']>;
default: import("@/loading").TdLoadingProps['theme'];
validator(val: import("@/loading").TdLoadingProps['theme']): boolean;
};
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
attach: import("@/common").AttachNode;
delay: number;
duration: number;
fullscreen: boolean;
indicator: boolean | ((h: typeof import('vue').h) => import("@/common").TNodeReturnValue);
inheritColor: boolean;
layout: "horizontal" | "vertical";
loading: boolean;
pause: boolean;
reverse: boolean;
size: string;
theme: "circular" | "dots" | "spinner";
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
attach: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['attach']>;
default: import("@/loading").TdLoadingProps['attach'];
};
content: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['content']>;
};
default: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['default']>;
};
delay: {
type: NumberConstructor;
default: number;
};
duration: {
type: NumberConstructor;
default: number;
};
fullscreen: BooleanConstructor;
indicator: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['indicator']>;
default: import("@/loading").TdLoadingProps['indicator'];
};
inheritColor: BooleanConstructor;
layout: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['layout']>;
default: import("@/loading").TdLoadingProps['layout'];
validator(val: import("@/loading").TdLoadingProps['layout']): boolean;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
pause: BooleanConstructor;
reverse: BooleanConstructor;
size: {
type: StringConstructor;
default: string;
};
text: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['text']>;
};
theme: {
type: import("vue").PropType<import("@/loading").TdLoadingProps['theme']>;
default: import("@/loading").TdLoadingProps['theme'];
validator(val: import("@/loading").TdLoadingProps['theme']): boolean;
};
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
attach: import("@/common").AttachNode;
delay: number;
duration: number;
fullscreen: boolean;
indicator: boolean | ((h: typeof import('vue').h) => import("@/common").TNodeReturnValue);
inheritColor: boolean;
layout: "horizontal" | "vertical";
loading: boolean;
pause: boolean;
reverse: boolean;
size: string;
theme: "circular" | "dots" | "spinner";
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
export default List;