UNPKG

tdesign-mobile-vue

Version:
181 lines (180 loc) 7.17 kB
import './style'; import { TdNoticeBarProps } from './type'; export * from './type'; export type NoticeBarProps = TdNoticeBarProps; export declare const NoticeBar: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{ content: { type: import("vue").PropType<TdNoticeBarProps['content']>; }; direction: { type: import("vue").PropType<TdNoticeBarProps['direction']>; default: TdNoticeBarProps['direction']; validator(val: TdNoticeBarProps['direction']): boolean; }; interval: { type: NumberConstructor; default: number; }; marquee: { type: import("vue").PropType<TdNoticeBarProps['marquee']>; default: TdNoticeBarProps['marquee']; }; operation: { type: import("vue").PropType<TdNoticeBarProps['operation']>; }; prefixIcon: { type: import("vue").PropType<TdNoticeBarProps['prefixIcon']>; default: TdNoticeBarProps['prefixIcon']; }; suffixIcon: { type: import("vue").PropType<TdNoticeBarProps['suffixIcon']>; }; theme: { type: import("vue").PropType<TdNoticeBarProps['theme']>; default: TdNoticeBarProps['theme']; validator(val: TdNoticeBarProps['theme']): boolean; }; visible: { type: BooleanConstructor; default: any; }; modelValue: { type: BooleanConstructor; default: any; }; defaultVisible: BooleanConstructor; onChange: import("vue").PropType<TdNoticeBarProps['onChange']>; onClick: import("vue").PropType<TdNoticeBarProps['onClick']>; }>> & Readonly<{ onChange?: (...args: any[]) => any; }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], import("vue").PublicProps, { direction: "horizontal" | "vertical"; interval: number; marquee: boolean | import("@/components").NoticeBarMarquee; prefixIcon: Boolean | ((h: typeof import('vue').h) => import("@/common").TNodeReturnValue); theme: "error" | "info" | "success" | "warning"; visible: boolean; modelValue: boolean; defaultVisible: boolean; }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<import("vue").ExtractPropTypes<{ content: { type: import("vue").PropType<TdNoticeBarProps['content']>; }; direction: { type: import("vue").PropType<TdNoticeBarProps['direction']>; default: TdNoticeBarProps['direction']; validator(val: TdNoticeBarProps['direction']): boolean; }; interval: { type: NumberConstructor; default: number; }; marquee: { type: import("vue").PropType<TdNoticeBarProps['marquee']>; default: TdNoticeBarProps['marquee']; }; operation: { type: import("vue").PropType<TdNoticeBarProps['operation']>; }; prefixIcon: { type: import("vue").PropType<TdNoticeBarProps['prefixIcon']>; default: TdNoticeBarProps['prefixIcon']; }; suffixIcon: { type: import("vue").PropType<TdNoticeBarProps['suffixIcon']>; }; theme: { type: import("vue").PropType<TdNoticeBarProps['theme']>; default: TdNoticeBarProps['theme']; validator(val: TdNoticeBarProps['theme']): boolean; }; visible: { type: BooleanConstructor; default: any; }; modelValue: { type: BooleanConstructor; default: any; }; defaultVisible: BooleanConstructor; onChange: import("vue").PropType<TdNoticeBarProps['onChange']>; onClick: import("vue").PropType<TdNoticeBarProps['onClick']>; }>> & Readonly<{ onChange?: (...args: any[]) => any; }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, { direction: "horizontal" | "vertical"; interval: number; marquee: boolean | import("@/components").NoticeBarMarquee; prefixIcon: Boolean | ((h: typeof import('vue').h) => import("@/common").TNodeReturnValue); theme: "error" | "info" | "success" | "warning"; visible: boolean; modelValue: boolean; defaultVisible: boolean; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{ content: { type: import("vue").PropType<TdNoticeBarProps['content']>; }; direction: { type: import("vue").PropType<TdNoticeBarProps['direction']>; default: TdNoticeBarProps['direction']; validator(val: TdNoticeBarProps['direction']): boolean; }; interval: { type: NumberConstructor; default: number; }; marquee: { type: import("vue").PropType<TdNoticeBarProps['marquee']>; default: TdNoticeBarProps['marquee']; }; operation: { type: import("vue").PropType<TdNoticeBarProps['operation']>; }; prefixIcon: { type: import("vue").PropType<TdNoticeBarProps['prefixIcon']>; default: TdNoticeBarProps['prefixIcon']; }; suffixIcon: { type: import("vue").PropType<TdNoticeBarProps['suffixIcon']>; }; theme: { type: import("vue").PropType<TdNoticeBarProps['theme']>; default: TdNoticeBarProps['theme']; validator(val: TdNoticeBarProps['theme']): boolean; }; visible: { type: BooleanConstructor; default: any; }; modelValue: { type: BooleanConstructor; default: any; }; defaultVisible: BooleanConstructor; onChange: import("vue").PropType<TdNoticeBarProps['onChange']>; onClick: import("vue").PropType<TdNoticeBarProps['onClick']>; }>> & Readonly<{ onChange?: (...args: any[]) => any; }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", { direction: "horizontal" | "vertical"; interval: number; marquee: boolean | import("@/components").NoticeBarMarquee; prefixIcon: Boolean | ((h: typeof import('vue').h) => import("@/common").TNodeReturnValue); theme: "error" | "info" | "success" | "warning"; visible: boolean; modelValue: boolean; defaultVisible: boolean; }, {}, 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 NoticeBar;