/** * Image Component * @description 图片组件导出 */ import Image from './src/image.vue'; import ImageViewer from './src/image-viewer.vue'; export declare const YhImage: import("@yh-ui/utils").SFCWithInstall<{ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins; readonly default: ""; }; readonly lazy: { readonly type: BooleanConstructor; readonly default: false; }; readonly previewSrcList: { readonly type: import("vue").PropType; readonly default: () => never[]; }; readonly zIndex: { readonly type: NumberConstructor; }; readonly initialIndex: { readonly type: NumberConstructor; readonly default: 0; }; readonly closeOnPressEscape: { readonly type: BooleanConstructor; readonly default: true; }; readonly hideOnClickModal: { readonly type: BooleanConstructor; readonly default: false; }; readonly showProgress: { readonly type: BooleanConstructor; readonly default: true; }; readonly zoomRate: { readonly type: NumberConstructor; readonly default: 1.2; }; readonly infinite: { readonly type: BooleanConstructor; readonly default: true; }; readonly crossorigin: { readonly type: import("vue").PropType<"" | "anonymous" | "use-credentials">; }; readonly alt: StringConstructor; readonly loading: import("vue").PropType<"eager" | "lazy">; readonly previewTeleported: { readonly type: BooleanConstructor; readonly default: true; }; readonly scrollContainer: { readonly type: import("vue").PropType; }; readonly viewerMode: { readonly type: import("vue").PropType<"default" | "viewerjs">; readonly default: "default"; }; readonly viewerOptions: { readonly type: import("vue").PropType>; readonly default: () => {}; }; readonly themeOverrides: { readonly type: import("vue").PropType; readonly default: undefined; }; }>> & Readonly<{ onClose?: (() => any) | undefined; onError?: ((event: string | Event) => any) | undefined; onShow?: (() => any) | undefined; onLoad?: ((event: Event) => any) | undefined; onSwitch?: ((index: number) => any) | undefined; }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { close: () => any; error: (event: string | Event) => any; show: () => any; load: (event: Event) => any; switch: (index: number) => any; }, import("vue").PublicProps, { readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars; readonly infinite: boolean; readonly src: string; readonly lazy: boolean; readonly fit: "" | "fill" | "none" | "contain" | "cover" | "scale-down"; readonly previewSrcList: string[]; readonly initialIndex: number; readonly closeOnPressEscape: boolean; readonly hideOnClickModal: boolean; readonly showProgress: boolean; readonly zoomRate: number; readonly previewTeleported: boolean; readonly viewerMode: "default" | "viewerjs"; readonly viewerOptions: Record; }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly; readonly default: ""; }; readonly lazy: { readonly type: BooleanConstructor; readonly default: false; }; readonly previewSrcList: { readonly type: import("vue").PropType; readonly default: () => never[]; }; readonly zIndex: { readonly type: NumberConstructor; }; readonly initialIndex: { readonly type: NumberConstructor; readonly default: 0; }; readonly closeOnPressEscape: { readonly type: BooleanConstructor; readonly default: true; }; readonly hideOnClickModal: { readonly type: BooleanConstructor; readonly default: false; }; readonly showProgress: { readonly type: BooleanConstructor; readonly default: true; }; readonly zoomRate: { readonly type: NumberConstructor; readonly default: 1.2; }; readonly infinite: { readonly type: BooleanConstructor; readonly default: true; }; readonly crossorigin: { readonly type: import("vue").PropType<"" | "anonymous" | "use-credentials">; }; readonly alt: StringConstructor; readonly loading: import("vue").PropType<"eager" | "lazy">; readonly previewTeleported: { readonly type: BooleanConstructor; readonly default: true; }; readonly scrollContainer: { readonly type: import("vue").PropType; }; readonly viewerMode: { readonly type: import("vue").PropType<"default" | "viewerjs">; readonly default: "default"; }; readonly viewerOptions: { readonly type: import("vue").PropType>; readonly default: () => {}; }; readonly themeOverrides: { readonly type: import("vue").PropType; readonly default: undefined; }; }>> & Readonly<{ onClose?: (() => any) | undefined; onError?: ((event: string | Event) => any) | undefined; onShow?: (() => any) | undefined; onLoad?: ((event: Event) => any) | undefined; onSwitch?: ((index: number) => any) | undefined; }>, {}, {}, {}, {}, { readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars; readonly infinite: boolean; readonly src: string; readonly lazy: boolean; readonly fit: "" | "fill" | "none" | "contain" | "cover" | "scale-down"; readonly previewSrcList: string[]; readonly initialIndex: number; readonly closeOnPressEscape: boolean; readonly hideOnClickModal: boolean; readonly showProgress: boolean; readonly zoomRate: number; readonly previewTeleported: boolean; readonly viewerMode: "default" | "viewerjs"; readonly viewerOptions: Record; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase; readonly default: ""; }; readonly lazy: { readonly type: BooleanConstructor; readonly default: false; }; readonly previewSrcList: { readonly type: import("vue").PropType; readonly default: () => never[]; }; readonly zIndex: { readonly type: NumberConstructor; }; readonly initialIndex: { readonly type: NumberConstructor; readonly default: 0; }; readonly closeOnPressEscape: { readonly type: BooleanConstructor; readonly default: true; }; readonly hideOnClickModal: { readonly type: BooleanConstructor; readonly default: false; }; readonly showProgress: { readonly type: BooleanConstructor; readonly default: true; }; readonly zoomRate: { readonly type: NumberConstructor; readonly default: 1.2; }; readonly infinite: { readonly type: BooleanConstructor; readonly default: true; }; readonly crossorigin: { readonly type: import("vue").PropType<"" | "anonymous" | "use-credentials">; }; readonly alt: StringConstructor; readonly loading: import("vue").PropType<"eager" | "lazy">; readonly previewTeleported: { readonly type: BooleanConstructor; readonly default: true; }; readonly scrollContainer: { readonly type: import("vue").PropType; }; readonly viewerMode: { readonly type: import("vue").PropType<"default" | "viewerjs">; readonly default: "default"; }; readonly viewerOptions: { readonly type: import("vue").PropType>; readonly default: () => {}; }; readonly themeOverrides: { readonly type: import("vue").PropType; readonly default: undefined; }; }>> & Readonly<{ onClose?: (() => any) | undefined; onError?: ((event: string | Event) => any) | undefined; onShow?: (() => any) | undefined; onLoad?: ((event: Event) => any) | undefined; onSwitch?: ((index: number) => any) | undefined; }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { close: () => any; error: (event: string | Event) => any; show: () => any; load: (event: Event) => any; switch: (index: number) => any; }, string, { readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars; readonly infinite: boolean; readonly src: string; readonly lazy: boolean; readonly fit: "" | "fill" | "none" | "contain" | "cover" | "scale-down"; readonly previewSrcList: string[]; readonly initialIndex: number; readonly closeOnPressEscape: boolean; readonly hideOnClickModal: boolean; readonly showProgress: boolean; readonly zoomRate: number; readonly previewTeleported: boolean; readonly viewerMode: "default" | "viewerjs"; readonly viewerOptions: Record; }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { $slots: { placeholder?: (props: {}) => any; } & { error?: (props: {}) => any; } & { placeholder?: (props: {}) => any; }; })> & Record; export declare const YhImageViewer: import("@yh-ui/utils").SFCWithInstall; readonly default: () => never[]; }; readonly zIndex: { readonly type: NumberConstructor; readonly default: 2000; }; readonly initialIndex: { readonly type: NumberConstructor; readonly default: 0; }; readonly infinite: { readonly type: BooleanConstructor; readonly default: true; }; readonly hideOnClickModal: { readonly type: BooleanConstructor; readonly default: false; }; readonly closeOnPressEscape: { readonly type: BooleanConstructor; readonly default: true; }; readonly zoomRate: { readonly type: NumberConstructor; readonly default: 1.2; }; readonly showProgress: { readonly type: BooleanConstructor; readonly default: true; }; readonly teleported: { readonly type: BooleanConstructor; readonly default: true; }; readonly viewerMode: { readonly type: import("vue").PropType<"default" | "viewerjs">; readonly default: "default"; }; readonly viewerOptions: { readonly type: import("vue").PropType>; readonly default: () => {}; }; }>, { prev: () => void; next: () => void; zoomIn: () => void; zoomOut: () => void; rotateLeft: () => void; rotateRight: () => void; reset: () => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, { readonly teleported: boolean; readonly zIndex: number; readonly infinite: boolean; readonly initialIndex: number; readonly closeOnPressEscape: boolean; readonly hideOnClickModal: boolean; readonly showProgress: boolean; readonly zoomRate: number; readonly viewerMode: "default" | "viewerjs"; readonly viewerOptions: Record; readonly urlList: string[]; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record; export default YhImage; export * from './src/image'; export * from './src/image-viewer'; export type ImageInstance = InstanceType; export type ImageViewerInstance = InstanceType; export type YhImageInstance = ImageInstance; export type YhImageViewerInstance = ImageViewerInstance; export type YhImageProps = import('./src/image').ImageProps; export type YhImageEmits = import('./src/image').ImageEmits; export type YhImageSlots = import('./src/image').ImageSlots; export type YhImageViewerProps = import('./src/image-viewer').ImageViewerProps; export type YhImageViewerEmits = import('./src/image-viewer').ImageViewerEmits; export type YhImageViewerSlots = import('./src/image-viewer').ImageViewerSlots; export type YhImageViewerExpose = import('./src/image-viewer').ImageViewerExpose;