UNPKG

tdesign-mobile-vue

Version:
136 lines (135 loc) 5.4 kB
import './style'; import { TdCountDownProps } from './type'; export * from './type'; export type CountDownProps = TdCountDownProps; export declare const CountDown: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{ autoStart: { type: BooleanConstructor; default: boolean; }; content: { type: import("vue").PropType<TdCountDownProps['content']>; default: string; }; format: { type: StringConstructor; default: string; }; millisecond: BooleanConstructor; size: { type: import("vue").PropType<TdCountDownProps['size']>; default: TdCountDownProps['size']; validator(val: TdCountDownProps['size']): boolean; }; splitWithUnit: BooleanConstructor; theme: { type: import("vue").PropType<TdCountDownProps['theme']>; default: TdCountDownProps['theme']; validator(val: TdCountDownProps['theme']): boolean; }; time: { type: NumberConstructor; required: boolean; }; onChange: import("vue").PropType<TdCountDownProps['onChange']>; onFinish: import("vue").PropType<TdCountDownProps['onFinish']>; }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, { autoStart: boolean; content: string | ((h: typeof import('vue').h) => import("@/common").TNodeReturnValue); format: string; millisecond: boolean; size: "large" | "medium" | "small"; splitWithUnit: boolean; theme: "default" | "round" | "square"; }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<import("vue").ExtractPropTypes<{ autoStart: { type: BooleanConstructor; default: boolean; }; content: { type: import("vue").PropType<TdCountDownProps['content']>; default: string; }; format: { type: StringConstructor; default: string; }; millisecond: BooleanConstructor; size: { type: import("vue").PropType<TdCountDownProps['size']>; default: TdCountDownProps['size']; validator(val: TdCountDownProps['size']): boolean; }; splitWithUnit: BooleanConstructor; theme: { type: import("vue").PropType<TdCountDownProps['theme']>; default: TdCountDownProps['theme']; validator(val: TdCountDownProps['theme']): boolean; }; time: { type: NumberConstructor; required: boolean; }; onChange: import("vue").PropType<TdCountDownProps['onChange']>; onFinish: import("vue").PropType<TdCountDownProps['onFinish']>; }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, { autoStart: boolean; content: string | ((h: typeof import('vue').h) => import("@/common").TNodeReturnValue); format: string; millisecond: boolean; size: "large" | "medium" | "small"; splitWithUnit: boolean; theme: "default" | "round" | "square"; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{ autoStart: { type: BooleanConstructor; default: boolean; }; content: { type: import("vue").PropType<TdCountDownProps['content']>; default: string; }; format: { type: StringConstructor; default: string; }; millisecond: BooleanConstructor; size: { type: import("vue").PropType<TdCountDownProps['size']>; default: TdCountDownProps['size']; validator(val: TdCountDownProps['size']): boolean; }; splitWithUnit: BooleanConstructor; theme: { type: import("vue").PropType<TdCountDownProps['theme']>; default: TdCountDownProps['theme']; validator(val: TdCountDownProps['theme']): boolean; }; time: { type: NumberConstructor; required: boolean; }; onChange: import("vue").PropType<TdCountDownProps['onChange']>; onFinish: import("vue").PropType<TdCountDownProps['onFinish']>; }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, { autoStart: boolean; content: string | ((h: typeof import('vue').h) => import("@/common").TNodeReturnValue); format: string; millisecond: boolean; size: "large" | "medium" | "small"; splitWithUnit: boolean; theme: "default" | "round" | "square"; }, {}, 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 CountDown;