tdesign-mobile-vue
Version:
tdesign-mobile-vue
216 lines (215 loc) • 8.48 kB
TypeScript
import './style';
import { TdAvatarProps, TdAvatarGroupProps } from './type';
export * from './type';
export type AvatarProps = TdAvatarProps;
export type AvatarGroupProps = TdAvatarGroupProps;
export declare const Avatar: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
alt: {
type: StringConstructor;
default: string;
};
badgeProps: {
type: import("vue").PropType<import("@/badge").TdBadgeProps>;
};
hideOnLoadFailed: BooleanConstructor;
icon: {
type: import("vue").PropType<(h: typeof import("vue").h) => import("@/common").SlotReturnValue>;
};
image: {
type: StringConstructor;
default: string;
};
imageProps: {
type: import("vue").PropType<import("@/image").TdImageProps>;
};
shape: {
type: import("vue").PropType<import("@/common").ShapeEnum>;
validator(val: import("@/common").ShapeEnum): boolean;
};
size: {
type: StringConstructor;
default: string;
};
onError: import("vue").PropType<(context: {
e: Event;
}) => void>;
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
alt: string;
hideOnLoadFailed: boolean;
image: string;
size: string;
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<import("vue").ExtractPropTypes<{
alt: {
type: StringConstructor;
default: string;
};
badgeProps: {
type: import("vue").PropType<import("@/badge").TdBadgeProps>;
};
hideOnLoadFailed: BooleanConstructor;
icon: {
type: import("vue").PropType<(h: typeof import("vue").h) => import("@/common").SlotReturnValue>;
};
image: {
type: StringConstructor;
default: string;
};
imageProps: {
type: import("vue").PropType<import("@/image").TdImageProps>;
};
shape: {
type: import("vue").PropType<import("@/common").ShapeEnum>;
validator(val: import("@/common").ShapeEnum): boolean;
};
size: {
type: StringConstructor;
default: string;
};
onError: import("vue").PropType<(context: {
e: Event;
}) => void>;
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
alt: string;
hideOnLoadFailed: boolean;
image: string;
size: string;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
alt: {
type: StringConstructor;
default: string;
};
badgeProps: {
type: import("vue").PropType<import("@/badge").TdBadgeProps>;
};
hideOnLoadFailed: BooleanConstructor;
icon: {
type: import("vue").PropType<(h: typeof import("vue").h) => import("@/common").SlotReturnValue>;
};
image: {
type: StringConstructor;
default: string;
};
imageProps: {
type: import("vue").PropType<import("@/image").TdImageProps>;
};
shape: {
type: import("vue").PropType<import("@/common").ShapeEnum>;
validator(val: import("@/common").ShapeEnum): boolean;
};
size: {
type: StringConstructor;
default: string;
};
onError: import("vue").PropType<(context: {
e: Event;
}) => void>;
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
alt: string;
hideOnLoadFailed: boolean;
image: string;
size: 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 AvatarGroup: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
cascading: {
type: import("vue").PropType<import("@/components").CascadingValue>;
default: import("@/components").CascadingValue;
validator(val: import("@/components").CascadingValue): boolean;
};
collapseAvatar: {
type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
max: {
type: NumberConstructor;
};
shape: {
type: import("vue").PropType<import("@/common").ShapeEnum>;
validator(val: import("@/common").ShapeEnum): boolean;
};
size: {
type: StringConstructor;
default: string;
};
onCollapsedItemClick: import("vue").PropType<(context: {
e: MouseEvent;
}) => void>;
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
cascading: import("@/components").CascadingValue;
size: string;
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<import("vue").ExtractPropTypes<{
cascading: {
type: import("vue").PropType<import("@/components").CascadingValue>;
default: import("@/components").CascadingValue;
validator(val: import("@/components").CascadingValue): boolean;
};
collapseAvatar: {
type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
max: {
type: NumberConstructor;
};
shape: {
type: import("vue").PropType<import("@/common").ShapeEnum>;
validator(val: import("@/common").ShapeEnum): boolean;
};
size: {
type: StringConstructor;
default: string;
};
onCollapsedItemClick: import("vue").PropType<(context: {
e: MouseEvent;
}) => void>;
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
cascading: import("@/components").CascadingValue;
size: string;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
cascading: {
type: import("vue").PropType<import("@/components").CascadingValue>;
default: import("@/components").CascadingValue;
validator(val: import("@/components").CascadingValue): boolean;
};
collapseAvatar: {
type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
max: {
type: NumberConstructor;
};
shape: {
type: import("vue").PropType<import("@/common").ShapeEnum>;
validator(val: import("@/common").ShapeEnum): boolean;
};
size: {
type: StringConstructor;
default: string;
};
onCollapsedItemClick: import("vue").PropType<(context: {
e: MouseEvent;
}) => void>;
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
cascading: import("@/components").CascadingValue;
size: 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 default Avatar;