t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
234 lines (233 loc) • 8.06 kB
TypeScript
import type { ImageCallBackInterface } from '../image';
import type { ImageFitType } from '..';
import type { DefineComponent, PropType, ComputedRef, CSSProperties, ComponentOptionsMixin, EmitsOptions, VNodeProps, AllowedComponentProps, ComponentCustomProps, Ref } from 'vue';
import type { InstallType, OrdinaryFunctionInterface, ClassListInterface } from '../_interface';
import Empty from "./src/empty";
export declare const FEmpty: InstallType<DefineComponent<{
readonly content: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly contentSize: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly contentColor: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly imageSrc: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly imageSize: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly background: {
readonly type: StringConstructor;
readonly default: () => string;
};
}, {
prop: {
readonly content?: unknown;
readonly contentSize?: unknown;
readonly contentColor?: unknown;
readonly imageSrc?: unknown;
readonly imageSize?: unknown;
readonly background?: unknown;
} & {
background: string;
content: string;
contentSize: string;
contentColor: string;
imageSrc: string;
imageSize: string | number;
} & {};
customContentStyleList: ComputedRef<CSSProperties>;
emptySvgVue: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
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;
}>>;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
readonly content?: unknown;
readonly contentSize?: unknown;
readonly contentColor?: unknown;
readonly imageSrc?: unknown;
readonly imageSize?: unknown;
readonly background?: unknown;
} & {
background: string;
content: string;
contentSize: string;
contentColor: string;
imageSrc: string;
imageSize: string | number;
} & {}>, {
background: string;
content: string;
contentSize: string;
contentColor: string;
imageSrc: string;
imageSize: string | number;
}>>;
export declare type EmptyInstance = InstanceType<typeof Empty>;
export * from './src/interface.d';
export default Empty;