tdesign-mobile-vue
Version:
tdesign-mobile-vue
204 lines (203 loc) • 8.11 kB
TypeScript
import { TdLoadingProps } from './type';
import './style';
export * from './type';
export * from './plugin';
export { default as LoadingPlugin } from './plugin';
export type LoadingProps = TdLoadingProps;
export declare const Loading: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
attach: {
type: import("vue").PropType<import("@/common").AttachNode>;
default: import("@/common").AttachNode;
};
content: {
type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
default: {
type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
delay: {
type: NumberConstructor;
default: number;
};
duration: {
type: NumberConstructor;
default: number;
};
fullscreen: BooleanConstructor;
indicator: {
type: import("vue").PropType<boolean | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
default: boolean | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue);
};
inheritColor: BooleanConstructor;
layout: {
type: import("vue").PropType<"horizontal" | "vertical">;
default: "horizontal" | "vertical";
validator(val: "horizontal" | "vertical"): boolean;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
pause: BooleanConstructor;
reverse: BooleanConstructor;
size: {
type: StringConstructor;
default: string;
};
text: {
type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
theme: {
type: import("vue").PropType<"circular" | "dots" | "spinner">;
default: "circular" | "dots" | "spinner";
validator(val: "circular" | "dots" | "spinner"): 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").SlotReturnValue);
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("@/common").AttachNode>;
default: import("@/common").AttachNode;
};
content: {
type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
default: {
type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
delay: {
type: NumberConstructor;
default: number;
};
duration: {
type: NumberConstructor;
default: number;
};
fullscreen: BooleanConstructor;
indicator: {
type: import("vue").PropType<boolean | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
default: boolean | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue);
};
inheritColor: BooleanConstructor;
layout: {
type: import("vue").PropType<"horizontal" | "vertical">;
default: "horizontal" | "vertical";
validator(val: "horizontal" | "vertical"): boolean;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
pause: BooleanConstructor;
reverse: BooleanConstructor;
size: {
type: StringConstructor;
default: string;
};
text: {
type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
theme: {
type: import("vue").PropType<"circular" | "dots" | "spinner">;
default: "circular" | "dots" | "spinner";
validator(val: "circular" | "dots" | "spinner"): 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").SlotReturnValue);
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("@/common").AttachNode>;
default: import("@/common").AttachNode;
};
content: {
type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
default: {
type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
delay: {
type: NumberConstructor;
default: number;
};
duration: {
type: NumberConstructor;
default: number;
};
fullscreen: BooleanConstructor;
indicator: {
type: import("vue").PropType<boolean | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
default: boolean | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue);
};
inheritColor: BooleanConstructor;
layout: {
type: import("vue").PropType<"horizontal" | "vertical">;
default: "horizontal" | "vertical";
validator(val: "horizontal" | "vertical"): boolean;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
pause: BooleanConstructor;
reverse: BooleanConstructor;
size: {
type: StringConstructor;
default: string;
};
text: {
type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
theme: {
type: import("vue").PropType<"circular" | "dots" | "spinner">;
default: "circular" | "dots" | "spinner";
validator(val: "circular" | "dots" | "spinner"): 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").SlotReturnValue);
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;
export default Loading;