UNPKG

t-fighting-design

Version:

Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.

224 lines (223 loc) 7.73 kB
import type { AvatarFitType, AvatarSizeType, AvatarCallBackInterface } from './interface'; import type { DefineComponent, PropType, VNode, RendererNode, RendererElement, Component, ComputedOptions, MethodOptions, Slot, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComputedRef, Ref, CSSProperties } from 'vue'; import type { InstallType, HandleEventInterface, OrdinaryFunctionInterface as c, ClassListInterface as d } from '../../_interface'; declare const _sfc_main: DefineComponent<{ readonly src: { readonly type: StringConstructor; readonly default: () => string; }; readonly errSrc: { readonly type: StringConstructor; readonly default: () => string; }; readonly icon: { readonly type: PropType<VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>>; readonly default: () => null; }; readonly alt: { readonly type: StringConstructor; readonly default: () => string; }; readonly round: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly lazy: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly fit: { readonly type: PropType<AvatarFitType>; readonly default: () => AvatarFitType; readonly validator: (val: AvatarFitType) => boolean; }; readonly size: { readonly type: PropType<number | AvatarSizeType>; readonly default: () => AvatarSizeType; readonly validator: (val: number | AvatarSizeType) => boolean; }; readonly background: { readonly type: StringConstructor; readonly default: () => string; }; readonly fontSize: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly fontColor: { readonly type: StringConstructor; readonly default: () => string; }; readonly text: { readonly type: StringConstructor; readonly default: () => string; }; readonly rootMargin: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly load: { readonly type: PropType<AvatarCallBackInterface>; readonly default: () => null; }; readonly error: { readonly type: PropType<AvatarCallBackInterface>; readonly default: () => null; }; }, { prop: { readonly src?: unknown; readonly errSrc?: unknown; readonly icon?: unknown; readonly alt?: unknown; readonly round?: unknown; readonly lazy?: unknown; readonly fit?: unknown; readonly size?: unknown; readonly background?: unknown; readonly fontSize?: unknown; readonly fontColor?: unknown; readonly text?: unknown; readonly rootMargin?: unknown; readonly load?: unknown; readonly error?: unknown; } & { fontSize: string | number; round: boolean; background: string; size: number | AvatarSizeType; icon: VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>; src: string; errSrc: string; alt: string; lazy: boolean; fit: AvatarFitType; fontColor: string; text: string; rootMargin: string | number; load: AvatarCallBackInterface; error: AvatarCallBackInterface; } & {}; slot: Readonly<{ [name: string]: Slot | undefined; }>; isSuccess: Ref<boolean>; isShowNode: Ref<boolean>; FAvatarImg: Ref<HTMLImageElement>; nodeClassList: ComputedRef<d>; classList: ComputedRef<d>; styleList: ComputedRef<CSSProperties>; loadAction: c; FSvgIcon: InstallType<DefineComponent<{ readonly icon: { readonly type: PropType<VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>>; readonly default: () => null; }; readonly color: { readonly type: StringConstructor; readonly default: () => string; }; readonly size: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly click: { readonly type: PropType<HandleEventInterface>; readonly default: () => null; }; }, { prop: { readonly icon?: unknown; readonly color?: unknown; readonly size?: unknown; readonly click?: unknown; } & { color: string; size: string | number; icon: VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>; click: HandleEventInterface; } & {}; handleClick: HandleEventInterface; styleList: ComputedRef<CSSProperties>; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{ readonly icon?: unknown; readonly color?: unknown; readonly size?: unknown; readonly click?: unknown; } & { color: string; size: string | number; icon: VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>; click: HandleEventInterface; } & {}>, { color: string; size: string | number; icon: VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>; click: HandleEventInterface; }>>; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{ readonly src?: unknown; readonly errSrc?: unknown; readonly icon?: unknown; readonly alt?: unknown; readonly round?: unknown; readonly lazy?: unknown; readonly fit?: unknown; readonly size?: unknown; readonly background?: unknown; readonly fontSize?: unknown; readonly fontColor?: unknown; readonly text?: unknown; readonly rootMargin?: unknown; readonly load?: unknown; readonly error?: unknown; } & { fontSize: string | number; round: boolean; background: string; size: number | AvatarSizeType; icon: VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>; src: string; errSrc: string; alt: string; lazy: boolean; fit: AvatarFitType; fontColor: string; text: string; rootMargin: string | number; load: AvatarCallBackInterface; error: AvatarCallBackInterface; } & {}>, { fontSize: string | number; round: boolean; background: string; size: number | AvatarSizeType; icon: VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>; src: string; errSrc: string; alt: string; lazy: boolean; fit: AvatarFitType; fontColor: string; text: string; rootMargin: string | number; load: AvatarCallBackInterface; error: AvatarCallBackInterface; }>; export default _sfc_main;