yuang-framework-ui-pc
Version:
yuang-framework-ui-pc Library
103 lines (101 loc) • 3.39 kB
TypeScript
import { CropperLocale } from '../ele-cropper/types';
declare const _default: import('vue').DefineComponent<{
modelValue: BooleanConstructor;
modalProps: import('vue').PropType<Partial<Omit<import('../ele-app/plus').EleModalProps, "modelValue">>>;
height: StringConstructor;
src: StringConstructor;
imageType: {
type: StringConstructor;
default: string;
};
accept: {
type: StringConstructor;
default: string;
};
tools: {
type: StringConstructor;
default: string;
};
preview: {
type: BooleanConstructor;
default: boolean;
};
previewWidth: {
type: NumberConstructor;
default: number;
};
toBlob: BooleanConstructor;
options: import('vue').PropType<import('../ele-cropper/types').CropperOptions>;
croppedOptions: import('vue').PropType<import('../ele-cropper/types').CroppedOptions>;
tooltip: {
type: BooleanConstructor;
default: boolean;
};
tooltipProps: import('vue').PropType<import('../ele-app/plus').EleTooltipProps>;
beforeUploadClick: import('vue').PropType<import('../ele-cropper/types').BeforeUploadClick>;
responsive: {
type: BooleanConstructor;
default: null;
};
locale: import('vue').PropType<Partial<CropperLocale>>;
}, {
lang: import('vue').ComputedRef<CropperLocale>;
updateModelValue: (value: boolean) => void;
handleDone: (result: Blob | string | null) => void;
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
done: (_result: Blob | string | null) => boolean;
'update:modelValue': (_value: boolean) => boolean;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
modelValue: BooleanConstructor;
modalProps: import('vue').PropType<Partial<Omit<import('../ele-app/plus').EleModalProps, "modelValue">>>;
height: StringConstructor;
src: StringConstructor;
imageType: {
type: StringConstructor;
default: string;
};
accept: {
type: StringConstructor;
default: string;
};
tools: {
type: StringConstructor;
default: string;
};
preview: {
type: BooleanConstructor;
default: boolean;
};
previewWidth: {
type: NumberConstructor;
default: number;
};
toBlob: BooleanConstructor;
options: import('vue').PropType<import('../ele-cropper/types').CropperOptions>;
croppedOptions: import('vue').PropType<import('../ele-cropper/types').CroppedOptions>;
tooltip: {
type: BooleanConstructor;
default: boolean;
};
tooltipProps: import('vue').PropType<import('../ele-app/plus').EleTooltipProps>;
beforeUploadClick: import('vue').PropType<import('../ele-cropper/types').BeforeUploadClick>;
responsive: {
type: BooleanConstructor;
default: null;
};
locale: import('vue').PropType<Partial<CropperLocale>>;
}>> & {
"onUpdate:modelValue"?: ((_value: boolean) => any) | undefined;
onDone?: ((_result: string | Blob | null) => any) | undefined;
}, {
modelValue: boolean;
tooltip: boolean;
preview: boolean;
responsive: boolean;
imageType: string;
accept: string;
tools: string;
previewWidth: number;
toBlob: boolean;
}, {}>;
export default _default;