@fe6/water-pro
Version:
An enterprise-class UI design language and Vue-based implementation
130 lines (129 loc) • 3.77 kB
TypeScript
/** @format */
import { FileItem } from '../../_util/types/types';
declare const _default: import("vue").DefineComponent<{
value: import("vue-types").VueTypeValidableDef<string> & {
default: string;
};
onFormChange: {
type: FunctionConstructor;
default: () => void;
};
mergeOriginDatas: {
type: FunctionConstructor;
default: any;
};
action: import("vue-types").VueTypeValidableDef<string> & {
default: string;
};
accept: import("vue-types").VueTypeValidableDef<string> & {
default: string;
} & {
default: string;
};
autoUpload: import("vue-types").VueTypeValidableDef<boolean> & {
default: boolean;
} & {
default: boolean;
};
headers: import("vue-types").VueTypeValidableDef<{
[key: string]: any;
}> & {
default: () => {
[key: string]: any;
};
};
urlKey: import("vue-types").VueTypeValidableDef<string> & {
default: string;
} & {
default: string;
};
resultKey: import("vue-types").VueTypeValidableDef<string> & {
default: string;
} & {
default: string;
};
nameKey: import("vue-types").VueTypeValidableDef<string> & {
default: string;
} & {
default: string;
};
imageWidth: import("vue-types").VueTypeValidableDef<number> & {
default: number;
} & {
default: number;
};
imageHeight: import("vue-types").VueTypeValidableDef<number> & {
default: number;
} & {
default: number;
};
limitSize: import("vue-types").VueTypeValidableDef<number> & {
default: number;
} & {
default: number;
};
placeholder: import("vue-types").VueTypeValidableDef<string> & {
default: string;
};
errorImage: import("vue-types").VueTypeValidableDef<string> & {
default: string;
};
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
default: boolean;
};
allowUpdate: import("vue-types").VueTypeValidableDef<boolean> & {
default: boolean;
} & {
default: boolean;
};
}, {
loading: import("vue").Ref<boolean>;
beforeUploadFn: (file: 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", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, 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;
} & {}>, {
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;
}>;
export default _default;