UNPKG

tdesign-mobile-vue

Version:
283 lines (282 loc) 12.7 kB
import _Text from './text'; import _Title from './title'; import _Paragraph from './paragraph'; import type { TdTextProps, TdTitleProps, TdParagraphProps } from './type'; import './style'; export * from './type'; export type TextProps = TdTextProps; export type TitleProps = TdTitleProps; export type ParagraphProps = TdParagraphProps; export declare const Typography: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<{}> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {}>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin; export declare const TypographyText: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{ code: BooleanConstructor; content: { type: import("vue").PropType<TdTextProps['content']>; }; copyable: { type: import("vue").PropType<TdTextProps['copyable']>; default: TdTextProps['copyable']; }; default: { type: import("vue").PropType<TdTextProps['default']>; }; delete: BooleanConstructor; disabled: BooleanConstructor; ellipsis: { type: import("vue").PropType<TdTextProps['ellipsis']>; default: TdTextProps['ellipsis']; }; italic: BooleanConstructor; keyboard: BooleanConstructor; mark: { type: import("vue").PropType<TdTextProps['mark']>; default: TdTextProps['mark']; }; strong: BooleanConstructor; theme: { type: import("vue").PropType<TdTextProps['theme']>; validator(val: TdTextProps['theme']): boolean; }; underline: BooleanConstructor; }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, { code: boolean; copyable: boolean | import("@/components").TypographyCopyable; delete: boolean; disabled: boolean; ellipsis: boolean | import("@/components").TypographyEllipsis; italic: boolean; keyboard: boolean; mark: string | boolean; strong: boolean; underline: boolean; }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<import("vue").ExtractPropTypes<{ code: BooleanConstructor; content: { type: import("vue").PropType<TdTextProps['content']>; }; copyable: { type: import("vue").PropType<TdTextProps['copyable']>; default: TdTextProps['copyable']; }; default: { type: import("vue").PropType<TdTextProps['default']>; }; delete: BooleanConstructor; disabled: BooleanConstructor; ellipsis: { type: import("vue").PropType<TdTextProps['ellipsis']>; default: TdTextProps['ellipsis']; }; italic: BooleanConstructor; keyboard: BooleanConstructor; mark: { type: import("vue").PropType<TdTextProps['mark']>; default: TdTextProps['mark']; }; strong: BooleanConstructor; theme: { type: import("vue").PropType<TdTextProps['theme']>; validator(val: TdTextProps['theme']): boolean; }; underline: BooleanConstructor; }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, { code: boolean; copyable: boolean | import("@/components").TypographyCopyable; delete: boolean; disabled: boolean; ellipsis: boolean | import("@/components").TypographyEllipsis; italic: boolean; keyboard: boolean; mark: string | boolean; strong: boolean; underline: boolean; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{ code: BooleanConstructor; content: { type: import("vue").PropType<TdTextProps['content']>; }; copyable: { type: import("vue").PropType<TdTextProps['copyable']>; default: TdTextProps['copyable']; }; default: { type: import("vue").PropType<TdTextProps['default']>; }; delete: BooleanConstructor; disabled: BooleanConstructor; ellipsis: { type: import("vue").PropType<TdTextProps['ellipsis']>; default: TdTextProps['ellipsis']; }; italic: BooleanConstructor; keyboard: BooleanConstructor; mark: { type: import("vue").PropType<TdTextProps['mark']>; default: TdTextProps['mark']; }; strong: BooleanConstructor; theme: { type: import("vue").PropType<TdTextProps['theme']>; validator(val: TdTextProps['theme']): boolean; }; underline: BooleanConstructor; }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, { code: boolean; copyable: boolean | import("@/components").TypographyCopyable; delete: boolean; disabled: boolean; ellipsis: boolean | import("@/components").TypographyEllipsis; italic: boolean; keyboard: boolean; mark: string | boolean; strong: boolean; underline: 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 declare const TypographyTitle: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{ content: { type: import("vue").PropType<TdTitleProps['content']>; }; default: { type: import("vue").PropType<TdTitleProps['default']>; }; ellipsis: { type: import("vue").PropType<TdTitleProps['ellipsis']>; default: TdTitleProps['ellipsis']; }; level: { type: import("vue").PropType<TdTitleProps['level']>; default: TdTitleProps['level']; validator(val: TdTitleProps['level']): boolean; }; }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, { ellipsis: boolean | import("@/components").TypographyEllipsis; level: "h1" | "h2" | "h3" | "h4" | "h5" | "h6"; }, 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<TdTitleProps['content']>; }; default: { type: import("vue").PropType<TdTitleProps['default']>; }; ellipsis: { type: import("vue").PropType<TdTitleProps['ellipsis']>; default: TdTitleProps['ellipsis']; }; level: { type: import("vue").PropType<TdTitleProps['level']>; default: TdTitleProps['level']; validator(val: TdTitleProps['level']): boolean; }; }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, { ellipsis: boolean | import("@/components").TypographyEllipsis; level: "h1" | "h2" | "h3" | "h4" | "h5" | "h6"; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{ content: { type: import("vue").PropType<TdTitleProps['content']>; }; default: { type: import("vue").PropType<TdTitleProps['default']>; }; ellipsis: { type: import("vue").PropType<TdTitleProps['ellipsis']>; default: TdTitleProps['ellipsis']; }; level: { type: import("vue").PropType<TdTitleProps['level']>; default: TdTitleProps['level']; validator(val: TdTitleProps['level']): boolean; }; }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, { ellipsis: boolean | import("@/components").TypographyEllipsis; level: "h1" | "h2" | "h3" | "h4" | "h5" | "h6"; }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin; export declare const TypographyParagraph: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{ content: { type: import("vue").PropType<TdParagraphProps['content']>; }; default: { type: import("vue").PropType<TdParagraphProps['default']>; }; ellipsis: { type: import("vue").PropType<TdParagraphProps['ellipsis']>; default: TdParagraphProps['ellipsis']; }; }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, { ellipsis: boolean | import("@/components").TypographyEllipsis; }, 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<TdParagraphProps['content']>; }; default: { type: import("vue").PropType<TdParagraphProps['default']>; }; ellipsis: { type: import("vue").PropType<TdParagraphProps['ellipsis']>; default: TdParagraphProps['ellipsis']; }; }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, { ellipsis: boolean | import("@/components").TypographyEllipsis; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{ content: { type: import("vue").PropType<TdParagraphProps['content']>; }; default: { type: import("vue").PropType<TdParagraphProps['default']>; }; ellipsis: { type: import("vue").PropType<TdParagraphProps['ellipsis']>; default: TdParagraphProps['ellipsis']; }; }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, { ellipsis: boolean | import("@/components").TypographyEllipsis; }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin; export { _Text as Text, _Title as Title, _Paragraph as Paragraph }; export default Typography;