faim
Version:
Element Plus & Element UI isomorphic UI component library, more than Element.
180 lines (179 loc) • 5.76 kB
TypeScript
declare const _default: import("vue-demi").DefineComponent<import("vue-demi").ExtractPropTypes<{
show: {
type: BooleanConstructor;
required: true;
};
value: ({
new (blobParts?: BlobPart[], options?: BlobPropertyBag): Blob;
prototype: Blob;
} | StringConstructor | {
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;
prototype: File;
})[];
outputType: StringConstructor;
size: ObjectConstructor;
width: ObjectConstructor;
height: ObjectConstructor;
aspectRatio: ObjectConstructor;
resolution: ObjectConstructor;
validator: FunctionConstructor;
locale: {
type: ObjectConstructor;
default: () => {};
};
}>, {}, {
isVue3: boolean;
fullscreen: boolean;
blobLike: null;
cnum: null;
localURL: null;
imageTag: null;
loading: boolean;
cropper: null;
originalSizeLabel: string;
inputWidth: undefined;
inputHeight: undefined;
flippedX: boolean;
flippedY: boolean;
dimensionScaleFactor: null;
pngDecodingError: null;
rotateDegree: number;
quality: number;
isAspectRatioLocked: boolean;
}, {
Debounce(): 100;
sizeTooltip(): any;
isWidthSpecified(): boolean;
isHeightSpecified(): boolean;
specifiedAspectRatio(): any;
isAspectRatioSpecified(): boolean;
specifiedAspectRatioLabel(): any;
impliedAspectRatio(): number | null;
lockedAspectRatio(): any;
isCompressible(): null;
compressTooltip(): null;
}, {
initSetting(): void;
initCropBox(): void;
onWidthChange(newVal: any, oldVal: any): void;
onHeightChange(newVal: any, oldVal: any): void;
onIsAspectRatioSpecifiedChange(): void;
onFullscreenChange(v: any): void;
onRotateDegreeChange(n: any): void;
getSizeDiffText(before: any, after: any): string;
getSizeTooltip(blobLike: any): any;
shouldCrop(): any;
onConfirm(): Promise<any>;
doConfirm(blob: any, resolve: any, reject: any): void;
flipX(): void;
flipY(): void;
getCropBoxData(): void;
getData(): void;
move(offsetX: any, offsetY: any): void;
reset(): void;
rotate(deg: any): void;
setCropBoxData(): void;
zoom(percent: any): void;
rotateCropBox(): void;
onCropmove(): void;
}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:show" | "confirm")[], "update:show" | "confirm", import("vue-demi").PublicProps, Readonly<import("vue-demi").ExtractPropTypes<{
show: {
type: BooleanConstructor;
required: true;
};
value: ({
new (blobParts?: BlobPart[], options?: BlobPropertyBag): Blob;
prototype: Blob;
} | StringConstructor | {
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;
prototype: File;
})[];
outputType: StringConstructor;
size: ObjectConstructor;
width: ObjectConstructor;
height: ObjectConstructor;
aspectRatio: ObjectConstructor;
resolution: ObjectConstructor;
validator: FunctionConstructor;
locale: {
type: ObjectConstructor;
default: () => {};
};
}>> & Readonly<{
onConfirm?: ((...args: any[]) => any) | undefined;
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
}>, {
locale: Record<string, any>;
}, {}, {
FaFormDialog: import("vue-demi").DefineComponent<import("vue-demi").ExtractPropTypes<{
[x: string]: {};
title: {};
elFormProps: {};
retrieve: {};
confirm: {};
deny: {};
save: {};
reset: {};
locale: {};
}>, {}, {
initialValue: undefined;
initiated: boolean;
retrieving_inner: boolean;
confirming: boolean;
denying: boolean;
saving: boolean;
closing: boolean;
scrollbar: null;
isFullscreen: boolean;
labelWidth: undefined;
key: number;
isVue3: boolean;
}, {
Readonly(): any;
Locale(): any;
Listeners(): any;
Slots(): any;
headerSlotName(): "header" | "title";
ShowFullscreenToggle(): any;
ShowConfirmButton(): any;
ShowDenyButton(): any;
ShowSaveButton(): any;
ShowResetButton(): any;
ShowCancelButton(): any;
ReverseButtons(): any;
ValueIsPlainObject(): boolean;
Title(): any;
Retrieving(): any;
Retrieve(): any;
Confirm(): any;
Deny(): any;
Save(): any;
Reset(): any;
ElDialogProps(): any;
ElFormProps(): any;
}, {
isGlobalSlot: typeof import("../../utils").isGlobalSlot;
toggleFullscreen(newValue?: boolean): void;
computeLabelWidth(): void;
onClose(): void;
onClosed(): void;
close(): void;
doClose(): void;
onAction(type: any, status: any): void;
onReset(): void;
highlightError: (selectors?: string | Element | NodeList, container?: Window & typeof globalThis) => void;
}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, string[], string, import("vue-demi").PublicProps, Readonly<import("vue-demi").ExtractPropTypes<{
[x: string]: {};
title: {};
elFormProps: {};
retrieve: {};
confirm: {};
deny: {};
save: {};
reset: {};
locale: {};
}>> & Readonly<{
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue-demi").ComponentProvideOptions, true, {}, any>;
}, {}, string, import("vue-demi").ComponentProvideOptions, true, {}, any>;
export default _default;