UNPKG

t-fighting-design

Version:

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

168 lines (167 loc) 5.25 kB
import type { ImageFitType, ImageCallBackInterface } from './src/interface.d'; import type { DefineComponent, PropType, Ref, ComputedRef, CSSProperties, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue'; import type { InstallType, OrdinaryFunctionInterface, ClassListInterface } from '../_interface'; import Image from "./src/image"; export declare const FImage: InstallType<DefineComponent<{ readonly src: { readonly type: StringConstructor; readonly default: () => string; }; readonly alt: { readonly type: StringConstructor; readonly default: () => string; }; readonly draggable: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly lazy: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly rootMargin: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly width: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly height: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly block: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly fit: { readonly type: PropType<ImageFitType>; readonly default: () => ImageFitType; readonly validator: (val: ImageFitType) => boolean; }; readonly noSelect: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly referrerPolicy: { readonly type: StringConstructor; readonly default: () => string; }; readonly round: { readonly type: PropType<string | number>; readonly default: () => number; }; readonly errSrc: { readonly type: StringConstructor; readonly default: () => string; }; readonly title: { readonly type: StringConstructor; readonly default: () => string; }; readonly load: { readonly type: PropType<ImageCallBackInterface>; readonly default: () => null; }; readonly error: { readonly type: PropType<ImageCallBackInterface>; readonly default: () => null; }; }, { prop: { readonly src?: unknown; readonly alt?: unknown; readonly draggable?: unknown; readonly lazy?: unknown; readonly rootMargin?: unknown; readonly width?: unknown; readonly height?: unknown; readonly block?: unknown; readonly fit?: unknown; readonly noSelect?: unknown; readonly referrerPolicy?: unknown; readonly round?: unknown; readonly errSrc?: unknown; readonly title?: unknown; readonly load?: unknown; readonly error?: unknown; } & { title: string; round: string | number; width: string | number; src: string; errSrc: string; alt: string; lazy: boolean; fit: ImageFitType; rootMargin: string | number; load: ImageCallBackInterface; error: ImageCallBackInterface; block: boolean; draggable: boolean; height: string | number; noSelect: boolean; referrerPolicy: string; } & {}; isSuccess: Ref<boolean>; FImageImg: Ref<HTMLImageElement>; isShowNode: Ref<boolean>; loadAction: OrdinaryFunctionInterface; classList: ComputedRef<ClassListInterface>; styleList: ComputedRef<CSSProperties>; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{ readonly src?: unknown; readonly alt?: unknown; readonly draggable?: unknown; readonly lazy?: unknown; readonly rootMargin?: unknown; readonly width?: unknown; readonly height?: unknown; readonly block?: unknown; readonly fit?: unknown; readonly noSelect?: unknown; readonly referrerPolicy?: unknown; readonly round?: unknown; readonly errSrc?: unknown; readonly title?: unknown; readonly load?: unknown; readonly error?: unknown; } & { title: string; round: string | number; width: string | number; src: string; errSrc: string; alt: string; lazy: boolean; fit: ImageFitType; rootMargin: string | number; load: ImageCallBackInterface; error: ImageCallBackInterface; block: boolean; draggable: boolean; height: string | number; noSelect: boolean; referrerPolicy: string; } & {}>, { title: string; round: string | number; width: string | number; src: string; errSrc: string; alt: string; lazy: boolean; fit: ImageFitType; rootMargin: string | number; load: ImageCallBackInterface; error: ImageCallBackInterface; block: boolean; draggable: boolean; height: string | number; noSelect: boolean; referrerPolicy: string; }>>; export declare type ImageInstance = InstanceType<typeof Image>; export * from './src/interface.d'; export default Image;