@fe6/water-pro
Version:
An enterprise-class UI design language and Vue-based implementation
198 lines (197 loc) • 7.47 kB
TypeScript
import UploadImage from './src/upload-image';
export { UploadImage };
declare const _default: {
new (...args: any[]): {
$: import("vue").ComponentInternalInstance;
$data: {};
$props: Partial<{
value: string;
disabled: boolean;
placeholder: string;
action: string;
errorImage: string;
headers: {
[key: string]: any;
};
accept: string;
onFormChange: Function;
mergeOriginDatas: Function;
autoUpload: boolean;
urlKey: string;
resultKey: string;
nameKey: string;
imageWidth: number;
imageHeight: number;
limitSize: number;
allowUpdate: boolean;
}> & Omit<Readonly<{
value: string;
disabled: boolean;
placeholder: string;
action: string;
errorImage: string;
headers: {
[key: string]: any;
};
accept: string;
onFormChange: Function;
mergeOriginDatas: Function;
autoUpload: boolean;
urlKey: string;
resultKey: string;
nameKey: string;
imageWidth: number;
imageHeight: number;
limitSize: number;
allowUpdate: boolean;
} & {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "value" | "disabled" | "placeholder" | "action" | "errorImage" | "headers" | "accept" | "onFormChange" | "mergeOriginDatas" | "autoUpload" | "urlKey" | "resultKey" | "nameKey" | "imageWidth" | "imageHeight" | "limitSize" | "allowUpdate">;
$attrs: {
[x: string]: unknown;
};
$refs: {
[x: string]: unknown;
};
$slots: Readonly<{
[name: string]: import("vue").Slot;
}>;
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
$emit: (event: "change" | "changeUpload", ...args: any[]) => void;
$el: any;
$options: import("vue").ComponentOptionsBase<Readonly<{
value: string;
disabled: boolean;
placeholder: string;
action: string;
errorImage: string;
headers: {
[key: string]: any;
};
accept: string;
onFormChange: Function;
mergeOriginDatas: Function;
autoUpload: boolean;
urlKey: string;
resultKey: string;
nameKey: string;
imageWidth: number;
imageHeight: number;
limitSize: number;
allowUpdate: boolean;
} & {}>, {
loading: import("vue").Ref<boolean>;
beforeUploadFn: (file: import("../_util/types/types").FileItem) => Promise<unknown>;
handleChange: (info: import("../_util/types/types").FileInfo) => void;
imageUrl: import("vue").Ref<string>;
prefixClsNew: import("vue").ComputedRef<string>;
errorBackImage: string;
previewPoseterVisible: import("vue").Ref<boolean>;
configProvider: import("../config-provider").ConfigConsumerProps;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "changeUpload")[], string, {
value: string;
disabled: boolean;
placeholder: string;
action: string;
errorImage: string;
headers: {
[key: string]: any;
};
accept: string;
onFormChange: Function;
mergeOriginDatas: Function;
autoUpload: boolean;
urlKey: string;
resultKey: string;
nameKey: string;
imageWidth: number;
imageHeight: number;
limitSize: number;
allowUpdate: boolean;
}>;
$forceUpdate: import("vue").ReactiveEffect<any>;
$nextTick: typeof import("vue").nextTick;
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
} & Readonly<{
value: string;
disabled: boolean;
placeholder: string;
action: string;
errorImage: string;
headers: {
[key: string]: any;
};
accept: string;
onFormChange: Function;
mergeOriginDatas: Function;
autoUpload: boolean;
urlKey: string;
resultKey: string;
nameKey: string;
imageWidth: number;
imageHeight: number;
limitSize: number;
allowUpdate: boolean;
} & {}> & import("vue").ShallowUnwrapRef<{
loading: import("vue").Ref<boolean>;
beforeUploadFn: (file: import("../_util/types/types").FileItem) => Promise<unknown>;
handleChange: (info: import("../_util/types/types").FileInfo) => void;
imageUrl: import("vue").Ref<string>;
prefixClsNew: import("vue").ComputedRef<string>;
errorBackImage: string;
previewPoseterVisible: import("vue").Ref<boolean>;
configProvider: import("../config-provider").ConfigConsumerProps;
}> & {} & {} & import("vue").ComponentCustomProperties;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase<Readonly<{
value: string;
disabled: boolean;
placeholder: string;
action: string;
errorImage: string;
headers: {
[key: string]: any;
};
accept: string;
onFormChange: Function;
mergeOriginDatas: Function;
autoUpload: boolean;
urlKey: string;
resultKey: string;
nameKey: string;
imageWidth: number;
imageHeight: number;
limitSize: number;
allowUpdate: boolean;
} & {}>, {
loading: import("vue").Ref<boolean>;
beforeUploadFn: (file: import("../_util/types/types").FileItem) => Promise<unknown>;
handleChange: (info: import("../_util/types/types").FileInfo) => void;
imageUrl: import("vue").Ref<string>;
prefixClsNew: import("vue").ComputedRef<string>;
errorBackImage: string;
previewPoseterVisible: import("vue").Ref<boolean>;
configProvider: import("../config-provider").ConfigConsumerProps;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "changeUpload")[], "change" | "changeUpload", {
value: string;
disabled: boolean;
placeholder: string;
action: string;
errorImage: string;
headers: {
[key: string]: any;
};
accept: string;
onFormChange: Function;
mergeOriginDatas: Function;
autoUpload: boolean;
urlKey: string;
resultKey: string;
nameKey: string;
imageWidth: number;
imageHeight: number;
limitSize: number;
allowUpdate: boolean;
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
export default _default;