1
This commit is contained in:
42
admin/node_modules/element-plus/lib/components/image-viewer/src/image-viewer.d.ts
generated
vendored
Normal file
42
admin/node_modules/element-plus/lib/components/image-viewer/src/image-viewer.d.ts
generated
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
import type { Component, ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
|
||||
import type ImageViewer from './image-viewer.vue';
|
||||
export type ImageViewerAction = 'zoomIn' | 'zoomOut' | 'clockwise' | 'anticlockwise';
|
||||
export declare const imageViewerProps: {
|
||||
readonly urlList: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
||||
readonly zIndex: {
|
||||
readonly type: import("vue").PropType<number>;
|
||||
readonly required: false;
|
||||
readonly validator: ((val: unknown) => boolean) | undefined;
|
||||
__epPropKey: true;
|
||||
};
|
||||
readonly initialIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
||||
readonly infinite: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
||||
readonly hideOnClickModal: BooleanConstructor;
|
||||
readonly teleported: BooleanConstructor;
|
||||
readonly closeOnPressEscape: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
||||
readonly zoomRate: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1.2, boolean>;
|
||||
readonly scale: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
|
||||
readonly minScale: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0.2, boolean>;
|
||||
readonly maxScale: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
|
||||
readonly showProgress: BooleanConstructor;
|
||||
readonly crossorigin: {
|
||||
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials") | ((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials"))[], unknown, unknown>>;
|
||||
readonly required: false;
|
||||
readonly validator: ((val: unknown) => boolean) | undefined;
|
||||
__epPropKey: true;
|
||||
};
|
||||
};
|
||||
export type ImageViewerProps = ExtractPropTypes<typeof imageViewerProps>;
|
||||
export type ImageViewerPropsPublic = __ExtractPublicPropTypes<typeof imageViewerProps>;
|
||||
export declare const imageViewerEmits: {
|
||||
close: () => boolean;
|
||||
error: (evt: Event) => boolean;
|
||||
switch: (index: number) => boolean;
|
||||
rotate: (deg: number) => boolean;
|
||||
};
|
||||
export type ImageViewerEmits = typeof imageViewerEmits;
|
||||
export interface ImageViewerMode {
|
||||
name: string;
|
||||
icon: Component;
|
||||
}
|
||||
export type ImageViewerInstance = InstanceType<typeof ImageViewer> & unknown;
|
||||
Reference in New Issue
Block a user