t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
165 lines (164 loc) • 5.06 kB
TypeScript
import type { ImageFitType, ImageCallBackInterface } from './interface';
import type { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, Ref, CSSProperties, ComputedRef } from 'vue';
import type { OrdinaryFunctionInterface as b, ClassListInterface as d } from '../../_interface';
declare const _sfc_main: 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: b;
classList: ComputedRef<d>;
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 default _sfc_main;