@fesjs/fes-design
Version:
fes-design for PC
87 lines (86 loc) • 3.46 kB
TypeScript
import { type CSSProperties, type PropType } from 'vue';
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
readonly show: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly hideOnClickModal: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly src: {
readonly type: StringConstructor;
readonly default: "";
};
readonly download: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly getContainer: {
readonly type: PropType<() => HTMLElement>;
};
readonly size: PropType<{
width: number;
height: number;
}>;
readonly name: StringConstructor;
}>, {
containerRef: import("vue").Ref<HTMLElement, HTMLElement>;
prefixCls: string;
handleClose: () => void;
isGroup: import("vue").Ref<boolean, boolean>;
prev: () => void;
next: () => void;
handleActions: (action: string, option?: {
zoomRate?: number;
rotateDeg?: number;
enableTransition?: boolean;
}) => void;
previewStyle: import("vue").ComputedRef<CSSProperties>;
zIndex: import("vue").Ref<number, number>;
isDragging: import("vue").Ref<boolean, boolean>;
handleMouseDown: (event: MouseEvent) => void;
getContainer: import("vue").ComputedRef<import("../_util/interface").GetContainer>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
readonly show: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly hideOnClickModal: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly src: {
readonly type: StringConstructor;
readonly default: "";
};
readonly download: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly getContainer: {
readonly type: PropType<() => HTMLElement>;
};
readonly size: PropType<{
width: number;
height: number;
}>;
readonly name: StringConstructor;
}>> & Readonly<{
onClose?: (...args: any[]) => any;
}>, {
readonly show: boolean;
readonly src: string;
readonly hideOnClickModal: boolean;
readonly download: boolean;
}, {}, {
LeftOutlined: (props?: import("../icon/IconWrapper").IconProps) => import("vue/jsx-runtime").JSX.Element;
RightOutlined: (props?: import("../icon/IconWrapper").IconProps) => import("vue/jsx-runtime").JSX.Element;
CloseOutlined: (props?: import("../icon/IconWrapper").IconProps) => import("vue/jsx-runtime").JSX.Element;
ReloadOutlined: (props?: import("../icon/IconWrapper").IconProps) => import("vue/jsx-runtime").JSX.Element;
RotateLeftOutlined: (props?: import("../icon/IconWrapper").IconProps) => import("vue/jsx-runtime").JSX.Element;
SearchPlusOutlined: (props?: import("../icon/IconWrapper").IconProps) => import("vue/jsx-runtime").JSX.Element;
SearchMinusOutlined: (props?: import("../icon/IconWrapper").IconProps) => import("vue/jsx-runtime").JSX.Element;
DownloadOutlined: (props?: import("../icon/IconWrapper").IconProps) => import("vue/jsx-runtime").JSX.Element;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;