Best JavaScript code snippet using best
index.d.ts
Source:index.d.ts
1/// <reference types="node" />2export declare const ElUpload: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{3 readonly beforeUpload: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {4 (): (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;5 new (): any;6 readonly prototype: any;7 } | ((new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {8 (): (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;9 new (): any;10 readonly prototype: any;11 })[], unknown, unknown, () => void, boolean>;12 readonly beforeRemove: {13 readonly type: import("vue").PropType<(uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => import("element-plus/es/utils").Awaitable<boolean>>;14 readonly required: false;15 readonly validator: ((val: unknown) => boolean) | undefined;16 __epPropKey: true;17 };18 readonly onRemove: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {19 (): (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;20 new (): any;21 readonly prototype: any;22 } | ((new (...args: any[]) => (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {23 (): (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;24 new (): any;25 readonly prototype: any;26 })[], unknown, unknown, () => void, boolean>;27 readonly onChange: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {28 (): (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;29 new (): any;30 readonly prototype: any;31 } | ((new (...args: any[]) => (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {32 (): (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;33 new (): any;34 readonly prototype: any;35 })[], unknown, unknown, () => void, boolean>;36 readonly onPreview: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("./src/upload").UploadFile) => void) | (() => (uploadFile: import("./src/upload").UploadFile) => void) | {37 (): (uploadFile: import("./src/upload").UploadFile) => void;38 new (): any;39 readonly prototype: any;40 } | ((new (...args: any[]) => (uploadFile: import("./src/upload").UploadFile) => void) | (() => (uploadFile: import("./src/upload").UploadFile) => void) | {41 (): (uploadFile: import("./src/upload").UploadFile) => void;42 new (): any;43 readonly prototype: any;44 })[], unknown, unknown, () => void, boolean>;45 readonly onSuccess: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (response: any, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (response: any, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {46 (): (response: any, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;47 new (): any;48 readonly prototype: any;49 } | ((new (...args: any[]) => (response: any, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (response: any, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {50 (): (response: any, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;51 new (): any;52 readonly prototype: any;53 })[], unknown, unknown, () => void, boolean>;54 readonly onProgress: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (evt: import("./src/upload").UploadProgressEvent, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (evt: import("./src/upload").UploadProgressEvent, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {55 (): (evt: import("./src/upload").UploadProgressEvent, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;56 new (): any;57 readonly prototype: any;58 } | ((new (...args: any[]) => (evt: import("./src/upload").UploadProgressEvent, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (evt: import("./src/upload").UploadProgressEvent, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {59 (): (evt: import("./src/upload").UploadProgressEvent, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;60 new (): any;61 readonly prototype: any;62 })[], unknown, unknown, () => void, boolean>;63 readonly onError: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (error: Error, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (error: Error, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {64 (): (error: Error, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;65 new (): any;66 readonly prototype: any;67 } | ((new (...args: any[]) => (error: Error, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (error: Error, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {68 (): (error: Error, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;69 new (): any;70 readonly prototype: any;71 })[], unknown, unknown, () => void, boolean>;72 readonly onExceed: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | {73 (): (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;74 new (): any;75 readonly prototype: any;76 } | ((new (...args: any[]) => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | {77 (): (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;78 new (): any;79 readonly prototype: any;80 })[], unknown, unknown, () => void, boolean>;81 readonly action: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;82 readonly headers: {83 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;84 readonly required: false;85 readonly validator: ((val: unknown) => boolean) | undefined;86 __epPropKey: true;87 };88 readonly method: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;89 readonly data: import("element-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;90 readonly multiple: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;91 readonly name: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;92 readonly drag: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;93 readonly withCredentials: BooleanConstructor;94 readonly showFileList: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;95 readonly accept: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;96 readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;97 readonly fileList: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadUserFile[]) | (() => import("./src/upload").UploadUserFile[]) | ((new (...args: any[]) => import("./src/upload").UploadUserFile[]) | (() => import("./src/upload").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;98 readonly autoUpload: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;99 readonly listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;100 readonly httpRequest: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadRequestHandler) | (() => import("./src/upload").UploadRequestHandler) | {101 (): import("./src/upload").UploadRequestHandler;102 new (): any;103 readonly prototype: any;104 } | ((new (...args: any[]) => import("./src/upload").UploadRequestHandler) | (() => import("./src/upload").UploadRequestHandler) | {105 (): import("./src/upload").UploadRequestHandler;106 new (): any;107 readonly prototype: any;108 })[], unknown, unknown, import("./src/upload").UploadRequestHandler, boolean>;109 readonly disabled: BooleanConstructor;110 readonly limit: NumberConstructor;111}, {112 props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{113 readonly beforeUpload: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {114 (): (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;115 new (): any;116 readonly prototype: any;117 } | ((new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {118 (): (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;119 new (): any;120 readonly prototype: any;121 })[], unknown, unknown, () => void, boolean>;122 readonly beforeRemove: {123 readonly type: import("vue").PropType<(uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => import("element-plus/es/utils").Awaitable<boolean>>;124 readonly required: false;125 readonly validator: ((val: unknown) => boolean) | undefined;126 __epPropKey: true;127 };128 readonly onRemove: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {129 (): (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;130 new (): any;131 readonly prototype: any;132 } | ((new (...args: any[]) => (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {133 (): (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;134 new (): any;135 readonly prototype: any;136 })[], unknown, unknown, () => void, boolean>;137 readonly onChange: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {138 (): (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;139 new (): any;140 readonly prototype: any;141 } | ((new (...args: any[]) => (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {142 (): (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;143 new (): any;144 readonly prototype: any;145 })[], unknown, unknown, () => void, boolean>;146 readonly onPreview: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("./src/upload").UploadFile) => void) | (() => (uploadFile: import("./src/upload").UploadFile) => void) | {147 (): (uploadFile: import("./src/upload").UploadFile) => void;148 new (): any;149 readonly prototype: any;150 } | ((new (...args: any[]) => (uploadFile: import("./src/upload").UploadFile) => void) | (() => (uploadFile: import("./src/upload").UploadFile) => void) | {151 (): (uploadFile: import("./src/upload").UploadFile) => void;152 new (): any;153 readonly prototype: any;154 })[], unknown, unknown, () => void, boolean>;155 readonly onSuccess: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (response: any, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (response: any, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {156 (): (response: any, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;157 new (): any;158 readonly prototype: any;159 } | ((new (...args: any[]) => (response: any, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (response: any, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {160 (): (response: any, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;161 new (): any;162 readonly prototype: any;163 })[], unknown, unknown, () => void, boolean>;164 readonly onProgress: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (evt: import("./src/upload").UploadProgressEvent, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (evt: import("./src/upload").UploadProgressEvent, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {165 (): (evt: import("./src/upload").UploadProgressEvent, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;166 new (): any;167 readonly prototype: any;168 } | ((new (...args: any[]) => (evt: import("./src/upload").UploadProgressEvent, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (evt: import("./src/upload").UploadProgressEvent, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {169 (): (evt: import("./src/upload").UploadProgressEvent, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;170 new (): any;171 readonly prototype: any;172 })[], unknown, unknown, () => void, boolean>;173 readonly onError: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (error: Error, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (error: Error, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {174 (): (error: Error, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;175 new (): any;176 readonly prototype: any;177 } | ((new (...args: any[]) => (error: Error, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (error: Error, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {178 (): (error: Error, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;179 new (): any;180 readonly prototype: any;181 })[], unknown, unknown, () => void, boolean>;182 readonly onExceed: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | {183 (): (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;184 new (): any;185 readonly prototype: any;186 } | ((new (...args: any[]) => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | {187 (): (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;188 new (): any;189 readonly prototype: any;190 })[], unknown, unknown, () => void, boolean>;191 readonly action: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;192 readonly headers: {193 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;194 readonly required: false;195 readonly validator: ((val: unknown) => boolean) | undefined;196 __epPropKey: true;197 };198 readonly method: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;199 readonly data: import("element-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;200 readonly multiple: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;201 readonly name: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;202 readonly drag: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;203 readonly withCredentials: BooleanConstructor;204 readonly showFileList: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;205 readonly accept: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;206 readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;207 readonly fileList: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadUserFile[]) | (() => import("./src/upload").UploadUserFile[]) | ((new (...args: any[]) => import("./src/upload").UploadUserFile[]) | (() => import("./src/upload").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;208 readonly autoUpload: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;209 readonly listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;210 readonly httpRequest: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadRequestHandler) | (() => import("./src/upload").UploadRequestHandler) | {211 (): import("./src/upload").UploadRequestHandler;212 new (): any;213 readonly prototype: any;214 } | ((new (...args: any[]) => import("./src/upload").UploadRequestHandler) | (() => import("./src/upload").UploadRequestHandler) | {215 (): import("./src/upload").UploadRequestHandler;216 new (): any;217 readonly prototype: any;218 })[], unknown, unknown, import("./src/upload").UploadRequestHandler, boolean>;219 readonly disabled: BooleanConstructor;220 readonly limit: NumberConstructor;221 }>> & {222 [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;223 }>>;224 slots: Readonly<{225 [name: string]: import("vue").Slot | undefined;226 }>;227 disabled: import("vue").ComputedRef<boolean>;228 uploadRef: import("vue").ShallowRef<({229 $: import("vue").ComponentInternalInstance;230 $data: {};231 $props: Partial<{232 readonly type: string;233 readonly disabled: boolean;234 readonly name: string;235 readonly drag: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;236 readonly multiple: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;237 readonly data: Record<string, any>;238 readonly onError: (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void;239 readonly onProgress: (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void;240 readonly action: string;241 readonly method: string;242 readonly showFileList: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;243 readonly accept: string;244 readonly fileList: import("./src/upload").UploadUserFile[];245 readonly autoUpload: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;246 readonly listType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "text" | "picture" | "picture-card", unknown>;247 readonly httpRequest: import("./src/upload").UploadRequestHandler;248 readonly withCredentials: boolean;249 readonly beforeUpload: (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;250 readonly onRemove: (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void;251 readonly onSuccess: (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown;252 readonly onExceed: (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;253 readonly onStart: (rawFile: import("./src/upload").UploadRawFile) => void;254 }> & Omit<Readonly<import("vue").ExtractPropTypes<{255 readonly beforeUpload: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {256 (): (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;257 new (): any;258 readonly prototype: any;259 } | ((new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {260 (): (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;261 new (): any;262 readonly prototype: any;263 })[], unknown, unknown, () => void, boolean>;264 readonly onRemove: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | (() => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | {265 (): (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void;266 new (): any;267 readonly prototype: any;268 } | ((new (...args: any[]) => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | (() => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | {269 (): (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void;270 new (): any;271 readonly prototype: any;272 })[], unknown, unknown, () => void, boolean>;273 readonly onStart: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => void) | (() => (rawFile: import("./src/upload").UploadRawFile) => void) | {274 (): (rawFile: import("./src/upload").UploadRawFile) => void;275 new (): any;276 readonly prototype: any;277 } | ((new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => void) | (() => (rawFile: import("./src/upload").UploadRawFile) => void) | {278 (): (rawFile: import("./src/upload").UploadRawFile) => void;279 new (): any;280 readonly prototype: any;281 })[], unknown, unknown, () => void, boolean>;282 readonly onSuccess: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | {283 (): (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown;284 new (): any;285 readonly prototype: any;286 } | ((new (...args: any[]) => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | {287 (): (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown;288 new (): any;289 readonly prototype: any;290 })[], unknown, unknown, () => void, boolean>;291 readonly onProgress: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | {292 (): (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void;293 new (): any;294 readonly prototype: any;295 } | ((new (...args: any[]) => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | {296 (): (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void;297 new (): any;298 readonly prototype: any;299 })[], unknown, unknown, () => void, boolean>;300 readonly onError: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | {301 (): (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void;302 new (): any;303 readonly prototype: any;304 } | ((new (...args: any[]) => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | {305 (): (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void;306 new (): any;307 readonly prototype: any;308 })[], unknown, unknown, () => void, boolean>;309 readonly onExceed: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | {310 (): (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;311 new (): any;312 readonly prototype: any;313 } | ((new (...args: any[]) => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | {314 (): (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;315 new (): any;316 readonly prototype: any;317 })[], unknown, unknown, () => void, boolean>;318 readonly action: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;319 readonly headers: {320 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;321 readonly required: false;322 readonly validator: ((val: unknown) => boolean) | undefined;323 __epPropKey: true;324 };325 readonly method: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;326 readonly data: import("element-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;327 readonly multiple: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;328 readonly name: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;329 readonly drag: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;330 readonly withCredentials: BooleanConstructor;331 readonly showFileList: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;332 readonly accept: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;333 readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;334 readonly fileList: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadUserFile[]) | (() => import("./src/upload").UploadUserFile[]) | ((new (...args: any[]) => import("./src/upload").UploadUserFile[]) | (() => import("./src/upload").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;335 readonly autoUpload: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;336 readonly listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;337 readonly httpRequest: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadRequestHandler) | (() => import("./src/upload").UploadRequestHandler) | {338 (): import("./src/upload").UploadRequestHandler;339 new (): any;340 readonly prototype: any;341 } | ((new (...args: any[]) => import("./src/upload").UploadRequestHandler) | (() => import("./src/upload").UploadRequestHandler) | {342 (): import("./src/upload").UploadRequestHandler;343 new (): any;344 readonly prototype: any;345 })[], unknown, unknown, import("./src/upload").UploadRequestHandler, boolean>;346 readonly disabled: BooleanConstructor;347 readonly limit: NumberConstructor;348 }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "name" | "drag" | "multiple" | "data" | "onError" | "onProgress" | "action" | "method" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "withCredentials" | "beforeUpload" | "onRemove" | "onSuccess" | "onExceed" | "onStart">;349 $attrs: {350 [x: string]: unknown;351 };352 $refs: {353 [x: string]: unknown;354 };355 $slots: Readonly<{356 [name: string]: import("vue").Slot | undefined;357 }>;358 $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;359 $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;360 $emit: (event: string, ...args: any[]) => void;361 $el: any;362 $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{363 readonly beforeUpload: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {364 (): (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;365 new (): any;366 readonly prototype: any;367 } | ((new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {368 (): (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;369 new (): any;370 readonly prototype: any;371 })[], unknown, unknown, () => void, boolean>;372 readonly onRemove: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | (() => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | {373 (): (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void;374 new (): any;375 readonly prototype: any;376 } | ((new (...args: any[]) => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | (() => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | {377 (): (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void;378 new (): any;379 readonly prototype: any;380 })[], unknown, unknown, () => void, boolean>;381 readonly onStart: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => void) | (() => (rawFile: import("./src/upload").UploadRawFile) => void) | {382 (): (rawFile: import("./src/upload").UploadRawFile) => void;383 new (): any;384 readonly prototype: any;385 } | ((new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => void) | (() => (rawFile: import("./src/upload").UploadRawFile) => void) | {386 (): (rawFile: import("./src/upload").UploadRawFile) => void;387 new (): any;388 readonly prototype: any;389 })[], unknown, unknown, () => void, boolean>;390 readonly onSuccess: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | {391 (): (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown;392 new (): any;393 readonly prototype: any;394 } | ((new (...args: any[]) => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | {395 (): (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown;396 new (): any;397 readonly prototype: any;398 })[], unknown, unknown, () => void, boolean>;399 readonly onProgress: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | {400 (): (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void;401 new (): any;402 readonly prototype: any;403 } | ((new (...args: any[]) => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | {404 (): (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void;405 new (): any;406 readonly prototype: any;407 })[], unknown, unknown, () => void, boolean>;408 readonly onError: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | {409 (): (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void;410 new (): any;411 readonly prototype: any;412 } | ((new (...args: any[]) => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | {413 (): (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void;414 new (): any;415 readonly prototype: any;416 })[], unknown, unknown, () => void, boolean>;417 readonly onExceed: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | {418 (): (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;419 new (): any;420 readonly prototype: any;421 } | ((new (...args: any[]) => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | {422 (): (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;423 new (): any;424 readonly prototype: any;425 })[], unknown, unknown, () => void, boolean>;426 readonly action: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;427 readonly headers: {428 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;429 readonly required: false;430 readonly validator: ((val: unknown) => boolean) | undefined;431 __epPropKey: true;432 };433 readonly method: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;434 readonly data: import("element-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;435 readonly multiple: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;436 readonly name: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;437 readonly drag: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;438 readonly withCredentials: BooleanConstructor;439 readonly showFileList: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;440 readonly accept: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;441 readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;442 readonly fileList: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadUserFile[]) | (() => import("./src/upload").UploadUserFile[]) | ((new (...args: any[]) => import("./src/upload").UploadUserFile[]) | (() => import("./src/upload").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;443 readonly autoUpload: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;444 readonly listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;445 readonly httpRequest: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadRequestHandler) | (() => import("./src/upload").UploadRequestHandler) | {446 (): import("./src/upload").UploadRequestHandler;447 new (): any;448 readonly prototype: any;449 } | ((new (...args: any[]) => import("./src/upload").UploadRequestHandler) | (() => import("./src/upload").UploadRequestHandler) | {450 (): import("./src/upload").UploadRequestHandler;451 new (): any;452 readonly prototype: any;453 })[], unknown, unknown, import("./src/upload").UploadRequestHandler, boolean>;454 readonly disabled: BooleanConstructor;455 readonly limit: NumberConstructor;456 }>>, {457 props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{458 readonly beforeUpload: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {459 (): (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;460 new (): any;461 readonly prototype: any;462 } | ((new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {463 (): (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;464 new (): any;465 readonly prototype: any;466 })[], unknown, unknown, () => void, boolean>;467 readonly onRemove: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | (() => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | {468 (): (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void;469 new (): any;470 readonly prototype: any;471 } | ((new (...args: any[]) => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | (() => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | {472 (): (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void;473 new (): any;474 readonly prototype: any;475 })[], unknown, unknown, () => void, boolean>;476 readonly onStart: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => void) | (() => (rawFile: import("./src/upload").UploadRawFile) => void) | {477 (): (rawFile: import("./src/upload").UploadRawFile) => void;478 new (): any;479 readonly prototype: any;480 } | ((new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => void) | (() => (rawFile: import("./src/upload").UploadRawFile) => void) | {481 (): (rawFile: import("./src/upload").UploadRawFile) => void;482 new (): any;483 readonly prototype: any;484 })[], unknown, unknown, () => void, boolean>;485 readonly onSuccess: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | {486 (): (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown;487 new (): any;488 readonly prototype: any;489 } | ((new (...args: any[]) => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | {490 (): (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown;491 new (): any;492 readonly prototype: any;493 })[], unknown, unknown, () => void, boolean>;494 readonly onProgress: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | {495 (): (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void;496 new (): any;497 readonly prototype: any;498 } | ((new (...args: any[]) => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | {499 (): (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void;500 new (): any;501 readonly prototype: any;502 })[], unknown, unknown, () => void, boolean>;503 readonly onError: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | {504 (): (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void;505 new (): any;506 readonly prototype: any;507 } | ((new (...args: any[]) => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | {508 (): (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void;509 new (): any;510 readonly prototype: any;511 })[], unknown, unknown, () => void, boolean>;512 readonly onExceed: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | {513 (): (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;514 new (): any;515 readonly prototype: any;516 } | ((new (...args: any[]) => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | {517 (): (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;518 new (): any;519 readonly prototype: any;520 })[], unknown, unknown, () => void, boolean>;521 readonly action: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;522 readonly headers: {523 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;524 readonly required: false;525 readonly validator: ((val: unknown) => boolean) | undefined;526 __epPropKey: true;527 };528 readonly method: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;529 readonly data: import("element-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;530 readonly multiple: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;531 readonly name: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;532 readonly drag: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;533 readonly withCredentials: BooleanConstructor;534 readonly showFileList: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;535 readonly accept: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;536 readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;537 readonly fileList: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadUserFile[]) | (() => import("./src/upload").UploadUserFile[]) | ((new (...args: any[]) => import("./src/upload").UploadUserFile[]) | (() => import("./src/upload").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;538 readonly autoUpload: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;539 readonly listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;540 readonly httpRequest: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadRequestHandler) | (() => import("./src/upload").UploadRequestHandler) | {541 (): import("./src/upload").UploadRequestHandler;542 new (): any;543 readonly prototype: any;544 } | ((new (...args: any[]) => import("./src/upload").UploadRequestHandler) | (() => import("./src/upload").UploadRequestHandler) | {545 (): import("./src/upload").UploadRequestHandler;546 new (): any;547 readonly prototype: any;548 })[], unknown, unknown, import("./src/upload").UploadRequestHandler, boolean>;549 readonly disabled: BooleanConstructor;550 readonly limit: NumberConstructor;551 }>> & {552 [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;553 }>>;554 ns: {555 namespace: import("vue").ComputedRef<string>;556 b: (blockSuffix?: string) => string;557 e: (element?: string | undefined) => string;558 m: (modifier?: string | undefined) => string;559 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;560 em: (element?: string | undefined, modifier?: string | undefined) => string;561 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;562 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;563 is: {564 (name: string, state: boolean | undefined): string;565 (name: string): string;566 };567 cssVar: (object: Record<string, string>) => Record<string, string>;568 cssVarName: (name: string) => string;569 cssVarBlock: (object: Record<string, string>) => Record<string, string>;570 cssVarBlockName: (name: string) => string;571 };572 requests: import("vue").ShallowRef<Record<string, XMLHttpRequest | Promise<unknown>>>;573 inputRef: import("vue").ShallowRef<HTMLInputElement | undefined>;574 uploadFiles: (files: File[]) => void;575 upload: (rawFile: import("./src/upload").UploadRawFile) => Promise<void>;576 doUpload: (rawFile: import("./src/upload").UploadRawFile) => void;577 handleChange: (e: Event) => void;578 handleClick: () => void;579 handleKeydown: () => void;580 abort: (file?: import("./src/upload").UploadFile | undefined) => void;581 UploadDragger: import("vue").DefineComponent<{582 readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;583 }, {584 COMPONENT_NAME: string;585 props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{586 readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;587 }>> & {588 onFile?: ((file: File[]) => any) | undefined;589 }>>;590 emit: (event: "file", file: File[]) => void;591 uploaderContext: import("../..").UploadContext;592 ns: {593 namespace: import("vue").ComputedRef<string>;594 b: (blockSuffix?: string) => string;595 e: (element?: string | undefined) => string;596 m: (modifier?: string | undefined) => string;597 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;598 em: (element?: string | undefined, modifier?: string | undefined) => string;599 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;600 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;601 is: {602 (name: string, state: boolean | undefined): string;603 (name: string): string;604 };605 cssVar: (object: Record<string, string>) => Record<string, string>;606 cssVarName: (name: string) => string;607 cssVarBlock: (object: Record<string, string>) => Record<string, string>;608 cssVarBlockName: (name: string) => string;609 };610 dragover: import("vue").Ref<boolean>;611 onDrop: (e: DragEvent) => void;612 onDragover: () => void;613 }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {614 file: (file: File[]) => boolean;615 }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{616 readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;617 }>> & {618 onFile?: ((file: File[]) => any) | undefined;619 }, {620 readonly disabled: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;621 }>;622 }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {623 readonly type: string;624 readonly disabled: boolean;625 readonly name: string;626 readonly drag: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;627 readonly multiple: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;628 readonly data: Record<string, any>;629 readonly onError: (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void;630 readonly onProgress: (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void;631 readonly action: string;632 readonly method: string;633 readonly showFileList: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;634 readonly accept: string;635 readonly fileList: import("./src/upload").UploadUserFile[];636 readonly autoUpload: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;637 readonly listType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "text" | "picture" | "picture-card", unknown>;638 readonly httpRequest: import("./src/upload").UploadRequestHandler;639 readonly withCredentials: boolean;640 readonly beforeUpload: (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;641 readonly onRemove: (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void;642 readonly onSuccess: (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown;643 readonly onExceed: (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;644 readonly onStart: (rawFile: import("./src/upload").UploadRawFile) => void;645 }> & {646 beforeCreate?: ((() => void) | (() => void)[]) | undefined;647 created?: ((() => void) | (() => void)[]) | undefined;648 beforeMount?: ((() => void) | (() => void)[]) | undefined;649 mounted?: ((() => void) | (() => void)[]) | undefined;650 beforeUpdate?: ((() => void) | (() => void)[]) | undefined;651 updated?: ((() => void) | (() => void)[]) | undefined;652 activated?: ((() => void) | (() => void)[]) | undefined;653 deactivated?: ((() => void) | (() => void)[]) | undefined;654 beforeDestroy?: ((() => void) | (() => void)[]) | undefined;655 beforeUnmount?: ((() => void) | (() => void)[]) | undefined;656 destroyed?: ((() => void) | (() => void)[]) | undefined;657 unmounted?: ((() => void) | (() => void)[]) | undefined;658 renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;659 renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;660 errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;661 };662 $forceUpdate: () => void;663 $nextTick: typeof import("vue").nextTick;664 $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;665 } & Readonly<import("vue").ExtractPropTypes<{666 readonly beforeUpload: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {667 (): (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;668 new (): any;669 readonly prototype: any;670 } | ((new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {671 (): (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;672 new (): any;673 readonly prototype: any;674 })[], unknown, unknown, () => void, boolean>;675 readonly onRemove: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | (() => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | {676 (): (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void;677 new (): any;678 readonly prototype: any;679 } | ((new (...args: any[]) => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | (() => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | {680 (): (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void;681 new (): any;682 readonly prototype: any;683 })[], unknown, unknown, () => void, boolean>;684 readonly onStart: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => void) | (() => (rawFile: import("./src/upload").UploadRawFile) => void) | {685 (): (rawFile: import("./src/upload").UploadRawFile) => void;686 new (): any;687 readonly prototype: any;688 } | ((new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => void) | (() => (rawFile: import("./src/upload").UploadRawFile) => void) | {689 (): (rawFile: import("./src/upload").UploadRawFile) => void;690 new (): any;691 readonly prototype: any;692 })[], unknown, unknown, () => void, boolean>;693 readonly onSuccess: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | {694 (): (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown;695 new (): any;696 readonly prototype: any;697 } | ((new (...args: any[]) => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | {698 (): (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown;699 new (): any;700 readonly prototype: any;701 })[], unknown, unknown, () => void, boolean>;702 readonly onProgress: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | {703 (): (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void;704 new (): any;705 readonly prototype: any;706 } | ((new (...args: any[]) => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | {707 (): (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void;708 new (): any;709 readonly prototype: any;710 })[], unknown, unknown, () => void, boolean>;711 readonly onError: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | {712 (): (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void;713 new (): any;714 readonly prototype: any;715 } | ((new (...args: any[]) => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | {716 (): (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void;717 new (): any;718 readonly prototype: any;719 })[], unknown, unknown, () => void, boolean>;720 readonly onExceed: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | {721 (): (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;722 new (): any;723 readonly prototype: any;724 } | ((new (...args: any[]) => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | {725 (): (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;726 new (): any;727 readonly prototype: any;728 })[], unknown, unknown, () => void, boolean>;729 readonly action: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;730 readonly headers: {731 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;732 readonly required: false;733 readonly validator: ((val: unknown) => boolean) | undefined;734 __epPropKey: true;735 };736 readonly method: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;737 readonly data: import("element-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;738 readonly multiple: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;739 readonly name: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;740 readonly drag: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;741 readonly withCredentials: BooleanConstructor;742 readonly showFileList: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;743 readonly accept: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;744 readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;745 readonly fileList: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadUserFile[]) | (() => import("./src/upload").UploadUserFile[]) | ((new (...args: any[]) => import("./src/upload").UploadUserFile[]) | (() => import("./src/upload").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;746 readonly autoUpload: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;747 readonly listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;748 readonly httpRequest: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadRequestHandler) | (() => import("./src/upload").UploadRequestHandler) | {749 (): import("./src/upload").UploadRequestHandler;750 new (): any;751 readonly prototype: any;752 } | ((new (...args: any[]) => import("./src/upload").UploadRequestHandler) | (() => import("./src/upload").UploadRequestHandler) | {753 (): import("./src/upload").UploadRequestHandler;754 new (): any;755 readonly prototype: any;756 })[], unknown, unknown, import("./src/upload").UploadRequestHandler, boolean>;757 readonly disabled: BooleanConstructor;758 readonly limit: NumberConstructor;759 }>> & import("vue").ShallowUnwrapRef<{760 props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{761 readonly beforeUpload: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {762 (): (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;763 new (): any;764 readonly prototype: any;765 } | ((new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {766 (): (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;767 new (): any;768 readonly prototype: any;769 })[], unknown, unknown, () => void, boolean>;770 readonly onRemove: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | (() => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | {771 (): (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void;772 new (): any;773 readonly prototype: any;774 } | ((new (...args: any[]) => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | (() => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | {775 (): (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void;776 new (): any;777 readonly prototype: any;778 })[], unknown, unknown, () => void, boolean>;779 readonly onStart: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => void) | (() => (rawFile: import("./src/upload").UploadRawFile) => void) | {780 (): (rawFile: import("./src/upload").UploadRawFile) => void;781 new (): any;782 readonly prototype: any;783 } | ((new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => void) | (() => (rawFile: import("./src/upload").UploadRawFile) => void) | {784 (): (rawFile: import("./src/upload").UploadRawFile) => void;785 new (): any;786 readonly prototype: any;787 })[], unknown, unknown, () => void, boolean>;788 readonly onSuccess: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | {789 (): (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown;790 new (): any;791 readonly prototype: any;792 } | ((new (...args: any[]) => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | {793 (): (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown;794 new (): any;795 readonly prototype: any;796 })[], unknown, unknown, () => void, boolean>;797 readonly onProgress: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | {798 (): (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void;799 new (): any;800 readonly prototype: any;801 } | ((new (...args: any[]) => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | {802 (): (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void;803 new (): any;804 readonly prototype: any;805 })[], unknown, unknown, () => void, boolean>;806 readonly onError: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | {807 (): (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void;808 new (): any;809 readonly prototype: any;810 } | ((new (...args: any[]) => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | {811 (): (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void;812 new (): any;813 readonly prototype: any;814 })[], unknown, unknown, () => void, boolean>;815 readonly onExceed: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | {816 (): (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;817 new (): any;818 readonly prototype: any;819 } | ((new (...args: any[]) => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | {820 (): (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;821 new (): any;822 readonly prototype: any;823 })[], unknown, unknown, () => void, boolean>;824 readonly action: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;825 readonly headers: {826 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;827 readonly required: false;828 readonly validator: ((val: unknown) => boolean) | undefined;829 __epPropKey: true;830 };831 readonly method: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;832 readonly data: import("element-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;833 readonly multiple: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;834 readonly name: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;835 readonly drag: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;836 readonly withCredentials: BooleanConstructor;837 readonly showFileList: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;838 readonly accept: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;839 readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;840 readonly fileList: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadUserFile[]) | (() => import("./src/upload").UploadUserFile[]) | ((new (...args: any[]) => import("./src/upload").UploadUserFile[]) | (() => import("./src/upload").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;841 readonly autoUpload: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;842 readonly listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;843 readonly httpRequest: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadRequestHandler) | (() => import("./src/upload").UploadRequestHandler) | {844 (): import("./src/upload").UploadRequestHandler;845 new (): any;846 readonly prototype: any;847 } | ((new (...args: any[]) => import("./src/upload").UploadRequestHandler) | (() => import("./src/upload").UploadRequestHandler) | {848 (): import("./src/upload").UploadRequestHandler;849 new (): any;850 readonly prototype: any;851 })[], unknown, unknown, import("./src/upload").UploadRequestHandler, boolean>;852 readonly disabled: BooleanConstructor;853 readonly limit: NumberConstructor;854 }>> & {855 [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;856 }>>;857 ns: {858 namespace: import("vue").ComputedRef<string>;859 b: (blockSuffix?: string) => string;860 e: (element?: string | undefined) => string;861 m: (modifier?: string | undefined) => string;862 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;863 em: (element?: string | undefined, modifier?: string | undefined) => string;864 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;865 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;866 is: {867 (name: string, state: boolean | undefined): string;868 (name: string): string;869 };870 cssVar: (object: Record<string, string>) => Record<string, string>;871 cssVarName: (name: string) => string;872 cssVarBlock: (object: Record<string, string>) => Record<string, string>;873 cssVarBlockName: (name: string) => string;874 };875 requests: import("vue").ShallowRef<Record<string, XMLHttpRequest | Promise<unknown>>>;876 inputRef: import("vue").ShallowRef<HTMLInputElement | undefined>;877 uploadFiles: (files: File[]) => void;878 upload: (rawFile: import("./src/upload").UploadRawFile) => Promise<void>;879 doUpload: (rawFile: import("./src/upload").UploadRawFile) => void;880 handleChange: (e: Event) => void;881 handleClick: () => void;882 handleKeydown: () => void;883 abort: (file?: import("./src/upload").UploadFile | undefined) => void;884 UploadDragger: import("vue").DefineComponent<{885 readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;886 }, {887 COMPONENT_NAME: string;888 props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{889 readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;890 }>> & {891 onFile?: ((file: File[]) => any) | undefined;892 }>>;893 emit: (event: "file", file: File[]) => void;894 uploaderContext: import("../..").UploadContext;895 ns: {896 namespace: import("vue").ComputedRef<string>;897 b: (blockSuffix?: string) => string;898 e: (element?: string | undefined) => string;899 m: (modifier?: string | undefined) => string;900 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;901 em: (element?: string | undefined, modifier?: string | undefined) => string;902 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;903 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;904 is: {905 (name: string, state: boolean | undefined): string;906 (name: string): string;907 };908 cssVar: (object: Record<string, string>) => Record<string, string>;909 cssVarName: (name: string) => string;910 cssVarBlock: (object: Record<string, string>) => Record<string, string>;911 cssVarBlockName: (name: string) => string;912 };913 dragover: import("vue").Ref<boolean>;914 onDrop: (e: DragEvent) => void;915 onDragover: () => void;916 }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {917 file: (file: File[]) => boolean;918 }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{919 readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;920 }>> & {921 onFile?: ((file: File[]) => any) | undefined;922 }, {923 readonly disabled: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;924 }>;925 }> & {} & import("vue").ComponentCustomProperties) | undefined>;926 abort: (file: import("./src/upload").UploadFile) => void;927 submit: () => void;928 clearFiles: (states?: import("./src/upload").UploadStatus[]) => void;929 uploadFiles: import("vue").Ref<{930 name: string;931 percentage?: number | undefined;932 status: import("./src/upload").UploadStatus;933 size?: number | undefined;934 response?: unknown;935 uid: number;936 url?: string | undefined;937 raw?: {938 uid: number;939 readonly lastModified: number;940 readonly name: string;941 readonly webkitRelativePath: string;942 readonly size: number;943 readonly type: string;944 arrayBuffer: {945 (): Promise<ArrayBuffer>;946 (): Promise<ArrayBuffer>;947 };948 slice: {949 (start?: number | undefined, end?: number | undefined, contentType?: string | undefined): Blob;950 (start?: number | undefined, end?: number | undefined, contentType?: string | undefined): Blob;951 };952 stream: {953 (): ReadableStream<any>;954 (): NodeJS.ReadableStream;955 };956 text: {957 (): Promise<string>;958 (): Promise<string>;959 };960 } | undefined;961 }[]> | import("vue").WritableComputedRef<import("./src/upload").UploadFiles>;962 handleStart: (rawFile: import("./src/upload").UploadRawFile) => void;963 handleError: (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void;964 handleRemove: (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void;965 handleSuccess: (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown;966 handleProgress: (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void;967 isPictureCard: import("vue").ComputedRef<boolean>;968 uploadContentProps: import("vue").ComputedRef<import("./src/upload-content").UploadContentProps>;969 UploadList: import("vue").DefineComponent<{970 readonly files: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadFiles) | (() => import("./src/upload").UploadFiles) | ((new (...args: any[]) => import("./src/upload").UploadFiles) | (() => import("./src/upload").UploadFiles))[], unknown, unknown, () => never[], boolean>;971 readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;972 readonly handlePreview: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("./src/upload").UploadFile) => void) | (() => (uploadFile: import("./src/upload").UploadFile) => void) | {973 (): (uploadFile: import("./src/upload").UploadFile) => void;974 new (): any;975 readonly prototype: any;976 } | ((new (...args: any[]) => (uploadFile: import("./src/upload").UploadFile) => void) | (() => (uploadFile: import("./src/upload").UploadFile) => void) | {977 (): (uploadFile: import("./src/upload").UploadFile) => void;978 new (): any;979 readonly prototype: any;980 })[], unknown, unknown, () => void, boolean>;981 readonly listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;982 }, {983 props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{984 readonly files: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadFiles) | (() => import("./src/upload").UploadFiles) | ((new (...args: any[]) => import("./src/upload").UploadFiles) | (() => import("./src/upload").UploadFiles))[], unknown, unknown, () => never[], boolean>;985 readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;986 readonly handlePreview: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("./src/upload").UploadFile) => void) | (() => (uploadFile: import("./src/upload").UploadFile) => void) | {987 (): (uploadFile: import("./src/upload").UploadFile) => void;988 new (): any;989 readonly prototype: any;990 } | ((new (...args: any[]) => (uploadFile: import("./src/upload").UploadFile) => void) | (() => (uploadFile: import("./src/upload").UploadFile) => void) | {991 (): (uploadFile: import("./src/upload").UploadFile) => void;992 new (): any;993 readonly prototype: any;994 })[], unknown, unknown, () => void, boolean>;995 readonly listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;996 }>> & {997 onRemove?: ((file: import("./src/upload").UploadFile) => any) | undefined;998 }>>;999 emit: (event: "remove", file: import("./src/upload").UploadFile) => void;1000 t: import("../..").Translator;1001 nsUpload: {1002 namespace: import("vue").ComputedRef<string>;1003 b: (blockSuffix?: string) => string;1004 e: (element?: string | undefined) => string;1005 m: (modifier?: string | undefined) => string;1006 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;1007 em: (element?: string | undefined, modifier?: string | undefined) => string;1008 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;1009 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;1010 is: {1011 (name: string, state: boolean | undefined): string;1012 (name: string): string;1013 };1014 cssVar: (object: Record<string, string>) => Record<string, string>;1015 cssVarName: (name: string) => string;1016 cssVarBlock: (object: Record<string, string>) => Record<string, string>;1017 cssVarBlockName: (name: string) => string;1018 };1019 nsIcon: {1020 namespace: import("vue").ComputedRef<string>;1021 b: (blockSuffix?: string) => string;1022 e: (element?: string | undefined) => string;1023 m: (modifier?: string | undefined) => string;1024 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;1025 em: (element?: string | undefined, modifier?: string | undefined) => string;1026 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;1027 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;1028 is: {1029 (name: string, state: boolean | undefined): string;1030 (name: string): string;1031 };1032 cssVar: (object: Record<string, string>) => Record<string, string>;1033 cssVarName: (name: string) => string;1034 cssVarBlock: (object: Record<string, string>) => Record<string, string>;1035 cssVarBlockName: (name: string) => string;1036 };1037 nsList: {1038 namespace: import("vue").ComputedRef<string>;1039 b: (blockSuffix?: string) => string;1040 e: (element?: string | undefined) => string;1041 m: (modifier?: string | undefined) => string;1042 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;1043 em: (element?: string | undefined, modifier?: string | undefined) => string;1044 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;1045 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;1046 is: {1047 (name: string, state: boolean | undefined): string;1048 (name: string): string;1049 };1050 cssVar: (object: Record<string, string>) => Record<string, string>;1051 cssVarName: (name: string) => string;1052 cssVarBlock: (object: Record<string, string>) => Record<string, string>;1053 cssVarBlockName: (name: string) => string;1054 };1055 focusing: import("vue").Ref<boolean>;1056 handleClick: (file: import("./src/upload").UploadFile) => void;1057 handleRemove: (file: import("./src/upload").UploadFile) => void;1058 ElIcon: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{1059 readonly size: {1060 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;1061 readonly required: false;1062 readonly validator: ((val: unknown) => boolean) | undefined;1063 __epPropKey: true;1064 };1065 readonly color: {1066 readonly type: import("vue").PropType<string>;1067 readonly required: false;1068 readonly validator: ((val: unknown) => boolean) | undefined;1069 __epPropKey: true;1070 };1071 }, {1072 props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{1073 readonly size: {1074 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;1075 readonly required: false;1076 readonly validator: ((val: unknown) => boolean) | undefined;1077 __epPropKey: true;1078 };1079 readonly color: {1080 readonly type: import("vue").PropType<string>;1081 readonly required: false;1082 readonly validator: ((val: unknown) => boolean) | undefined;1083 __epPropKey: true;1084 };1085 }>> & {1086 [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;1087 }>>;1088 ns: {1089 namespace: import("vue").ComputedRef<string>;1090 b: (blockSuffix?: string) => string;1091 e: (element?: string | undefined) => string;1092 m: (modifier?: string | undefined) => string;1093 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;1094 em: (element?: string | undefined, modifier?: string | undefined) => string;1095 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;1096 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;1097 is: {1098 (name: string, state: boolean | undefined): string;1099 (name: string): string;1100 };1101 cssVar: (object: Record<string, string>) => Record<string, string>;1102 cssVarName: (name: string) => string;1103 cssVarBlock: (object: Record<string, string>) => Record<string, string>;1104 cssVarBlockName: (name: string) => string;1105 };1106 style: import("vue").ComputedRef<import("vue").CSSProperties>;1107 }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{1108 readonly size: {1109 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;1110 readonly required: false;1111 readonly validator: ((val: unknown) => boolean) | undefined;1112 __epPropKey: true;1113 };1114 readonly color: {1115 readonly type: import("vue").PropType<string>;1116 readonly required: false;1117 readonly validator: ((val: unknown) => boolean) | undefined;1118 __epPropKey: true;1119 };1120 }>>, {}>> & Record<string, any>;1121 Check: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;1122 CircleCheck: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;1123 Close: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;1124 Delete: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;1125 Document: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;1126 ZoomIn: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;1127 ElProgress: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{1128 readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "line" | "dashboard", unknown, "line", boolean>;1129 readonly percentage: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;1130 readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "warning" | "exception", unknown, "", boolean>;1131 readonly indeterminate: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1132 readonly duration: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3, boolean>;1133 readonly strokeWidth: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 6, boolean>;1134 readonly strokeLinecap: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => ("round" | "inherit" | "butt" | "square") & {}) | (() => "round" | "inherit" | "butt" | "square") | ((new (...args: any[]) => ("round" | "inherit" | "butt" | "square") & {}) | (() => "round" | "inherit" | "butt" | "square"))[], unknown, unknown, "round", boolean>;1135 readonly textInside: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1136 readonly width: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 126, boolean>;1137 readonly showText: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;1138 readonly color: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("..").ProgressFn | import("..").ProgressColor[]) & {}) | (() => string | import("..").ProgressFn | import("..").ProgressColor[]) | ((new (...args: any[]) => (string | import("..").ProgressFn | import("..").ProgressColor[]) & {}) | (() => string | import("..").ProgressFn | import("..").ProgressColor[]))[], unknown, unknown, "", boolean>;1139 readonly format: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("..").ProgressFn) | (() => import("..").ProgressFn) | {1140 (): import("..").ProgressFn;1141 new (): any;1142 readonly prototype: any;1143 } | ((new (...args: any[]) => import("..").ProgressFn) | (() => import("..").ProgressFn) | {1144 (): import("..").ProgressFn;1145 new (): any;1146 readonly prototype: any;1147 })[], unknown, unknown, (percentage: number) => string, boolean>;1148 }, {1149 STATUS_COLOR_MAP: {1150 success: string;1151 exception: string;1152 warning: string;1153 default: string;1154 };1155 props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{1156 readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "line" | "dashboard", unknown, "line", boolean>;1157 readonly percentage: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;1158 readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "warning" | "exception", unknown, "", boolean>;1159 readonly indeterminate: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1160 readonly duration: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3, boolean>;1161 readonly strokeWidth: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 6, boolean>;1162 readonly strokeLinecap: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => ("round" | "inherit" | "butt" | "square") & {}) | (() => "round" | "inherit" | "butt" | "square") | ((new (...args: any[]) => ("round" | "inherit" | "butt" | "square") & {}) | (() => "round" | "inherit" | "butt" | "square"))[], unknown, unknown, "round", boolean>;1163 readonly textInside: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1164 readonly width: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 126, boolean>;1165 readonly showText: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;1166 readonly color: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("..").ProgressFn | import("..").ProgressColor[]) & {}) | (() => string | import("..").ProgressFn | import("..").ProgressColor[]) | ((new (...args: any[]) => (string | import("..").ProgressFn | import("..").ProgressColor[]) & {}) | (() => string | import("..").ProgressFn | import("..").ProgressColor[]))[], unknown, unknown, "", boolean>;1167 readonly format: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("..").ProgressFn) | (() => import("..").ProgressFn) | {1168 (): import("..").ProgressFn;1169 new (): any;1170 readonly prototype: any;1171 } | ((new (...args: any[]) => import("..").ProgressFn) | (() => import("..").ProgressFn) | {1172 (): import("..").ProgressFn;1173 new (): any;1174 readonly prototype: any;1175 })[], unknown, unknown, (percentage: number) => string, boolean>;1176 }>> & {1177 [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;1178 }>>;1179 ns: {1180 namespace: import("vue").ComputedRef<string>;1181 b: (blockSuffix?: string) => string;1182 e: (element?: string | undefined) => string;1183 m: (modifier?: string | undefined) => string;1184 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;1185 em: (element?: string | undefined, modifier?: string | undefined) => string;1186 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;1187 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;1188 is: {1189 (name: string, state: boolean | undefined): string;1190 (name: string): string;1191 };1192 cssVar: (object: Record<string, string>) => Record<string, string>;1193 cssVarName: (name: string) => string;1194 cssVarBlock: (object: Record<string, string>) => Record<string, string>;1195 cssVarBlockName: (name: string) => string;1196 };1197 barStyle: import("vue").ComputedRef<import("vue").CSSProperties>;1198 relativeStrokeWidth: import("vue").ComputedRef<string>;1199 radius: import("vue").ComputedRef<number>;1200 trackPath: import("vue").ComputedRef<string>;1201 perimeter: import("vue").ComputedRef<number>;1202 rate: import("vue").ComputedRef<1 | 0.75>;1203 strokeDashoffset: import("vue").ComputedRef<string>;1204 trailPathStyle: import("vue").ComputedRef<import("vue").CSSProperties>;1205 circlePathStyle: import("vue").ComputedRef<import("vue").CSSProperties>;1206 stroke: import("vue").ComputedRef<string>;1207 statusIcon: import("vue").ComputedRef<import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;1208 progressTextSize: import("vue").ComputedRef<number>;1209 content: import("vue").ComputedRef<string>;1210 getColors: (color: import("..").ProgressColor[]) => import("..").ProgressColor[];1211 getCurrentColor: (percentage: number) => string;1212 ElIcon: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{1213 readonly size: {1214 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;1215 readonly required: false;1216 readonly validator: ((val: unknown) => boolean) | undefined;1217 __epPropKey: true;1218 };1219 readonly color: {1220 readonly type: import("vue").PropType<string>;1221 readonly required: false;1222 readonly validator: ((val: unknown) => boolean) | undefined;1223 __epPropKey: true;1224 };1225 }, {1226 props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{1227 readonly size: {1228 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;1229 readonly required: false;1230 readonly validator: ((val: unknown) => boolean) | undefined;1231 __epPropKey: true;1232 };1233 readonly color: {1234 readonly type: import("vue").PropType<string>;1235 readonly required: false;1236 readonly validator: ((val: unknown) => boolean) | undefined;1237 __epPropKey: true;1238 };1239 }>> & {1240 [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;1241 }>>;1242 ns: {1243 namespace: import("vue").ComputedRef<string>;1244 b: (blockSuffix?: string) => string;1245 e: (element?: string | undefined) => string;1246 m: (modifier?: string | undefined) => string;1247 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;1248 em: (element?: string | undefined, modifier?: string | undefined) => string;1249 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;1250 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;1251 is: {1252 (name: string, state: boolean | undefined): string;1253 (name: string): string;1254 };1255 cssVar: (object: Record<string, string>) => Record<string, string>;1256 cssVarName: (name: string) => string;1257 cssVarBlock: (object: Record<string, string>) => Record<string, string>;1258 cssVarBlockName: (name: string) => string;1259 };1260 style: import("vue").ComputedRef<import("vue").CSSProperties>;1261 }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{1262 readonly size: {1263 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;1264 readonly required: false;1265 readonly validator: ((val: unknown) => boolean) | undefined;1266 __epPropKey: true;1267 };1268 readonly color: {1269 readonly type: import("vue").PropType<string>;1270 readonly required: false;1271 readonly validator: ((val: unknown) => boolean) | undefined;1272 __epPropKey: true;1273 };1274 }>>, {}>> & Record<string, any>;1275 }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{1276 readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "line" | "dashboard", unknown, "line", boolean>;1277 readonly percentage: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;1278 readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "warning" | "exception", unknown, "", boolean>;1279 readonly indeterminate: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1280 readonly duration: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3, boolean>;1281 readonly strokeWidth: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 6, boolean>;1282 readonly strokeLinecap: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => ("round" | "inherit" | "butt" | "square") & {}) | (() => "round" | "inherit" | "butt" | "square") | ((new (...args: any[]) => ("round" | "inherit" | "butt" | "square") & {}) | (() => "round" | "inherit" | "butt" | "square"))[], unknown, unknown, "round", boolean>;1283 readonly textInside: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1284 readonly width: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 126, boolean>;1285 readonly showText: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;1286 readonly color: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("..").ProgressFn | import("..").ProgressColor[]) & {}) | (() => string | import("..").ProgressFn | import("..").ProgressColor[]) | ((new (...args: any[]) => (string | import("..").ProgressFn | import("..").ProgressColor[]) & {}) | (() => string | import("..").ProgressFn | import("..").ProgressColor[]))[], unknown, unknown, "", boolean>;1287 readonly format: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("..").ProgressFn) | (() => import("..").ProgressFn) | {1288 (): import("..").ProgressFn;1289 new (): any;1290 readonly prototype: any;1291 } | ((new (...args: any[]) => import("..").ProgressFn) | (() => import("..").ProgressFn) | {1292 (): import("..").ProgressFn;1293 new (): any;1294 readonly prototype: any;1295 })[], unknown, unknown, (percentage: number) => string, boolean>;1296 }>>, {1297 readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "circle" | "line" | "dashboard", unknown>;1298 readonly color: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("..").ProgressFn | import("..").ProgressColor[]) & {}) | (() => string | import("..").ProgressFn | import("..").ProgressColor[]) | ((new (...args: any[]) => (string | import("..").ProgressFn | import("..").ProgressColor[]) & {}) | (() => string | import("..").ProgressFn | import("..").ProgressColor[]))[], unknown, unknown>;1299 readonly width: number;1300 readonly strokeLinecap: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => ("round" | "inherit" | "butt" | "square") & {}) | (() => "round" | "inherit" | "butt" | "square") | ((new (...args: any[]) => ("round" | "inherit" | "butt" | "square") & {}) | (() => "round" | "inherit" | "butt" | "square"))[], unknown, unknown>;1301 readonly strokeWidth: number;1302 readonly indeterminate: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1303 readonly format: import("..").ProgressFn;1304 readonly percentage: number;1305 readonly status: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "warning" | "exception", unknown>;1306 readonly duration: number;1307 readonly textInside: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1308 readonly showText: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1309 }>> & Record<string, any>;1310 }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {1311 remove: (file: import("./src/upload").UploadFile) => boolean;1312 }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{1313 readonly files: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadFiles) | (() => import("./src/upload").UploadFiles) | ((new (...args: any[]) => import("./src/upload").UploadFiles) | (() => import("./src/upload").UploadFiles))[], unknown, unknown, () => never[], boolean>;1314 readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1315 readonly handlePreview: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("./src/upload").UploadFile) => void) | (() => (uploadFile: import("./src/upload").UploadFile) => void) | {1316 (): (uploadFile: import("./src/upload").UploadFile) => void;1317 new (): any;1318 readonly prototype: any;1319 } | ((new (...args: any[]) => (uploadFile: import("./src/upload").UploadFile) => void) | (() => (uploadFile: import("./src/upload").UploadFile) => void) | {1320 (): (uploadFile: import("./src/upload").UploadFile) => void;1321 new (): any;1322 readonly prototype: any;1323 })[], unknown, unknown, () => void, boolean>;1324 readonly listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;1325 }>> & {1326 onRemove?: ((file: import("./src/upload").UploadFile) => any) | undefined;1327 }, {1328 readonly disabled: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1329 readonly listType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "text" | "picture" | "picture-card", unknown>;1330 readonly files: import("./src/upload").UploadFiles;1331 readonly handlePreview: (uploadFile: import("./src/upload").UploadFile) => void;1332 }>;1333 UploadContent: import("vue").DefineComponent<{1334 readonly beforeUpload: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {1335 (): (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;1336 new (): any;1337 readonly prototype: any;1338 } | ((new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {1339 (): (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;1340 new (): any;1341 readonly prototype: any;1342 })[], unknown, unknown, () => void, boolean>;1343 readonly onRemove: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | (() => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | {1344 (): (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void;1345 new (): any;1346 readonly prototype: any;1347 } | ((new (...args: any[]) => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | (() => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | {1348 (): (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void;1349 new (): any;1350 readonly prototype: any;1351 })[], unknown, unknown, () => void, boolean>;1352 readonly onStart: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => void) | (() => (rawFile: import("./src/upload").UploadRawFile) => void) | {1353 (): (rawFile: import("./src/upload").UploadRawFile) => void;1354 new (): any;1355 readonly prototype: any;1356 } | ((new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => void) | (() => (rawFile: import("./src/upload").UploadRawFile) => void) | {1357 (): (rawFile: import("./src/upload").UploadRawFile) => void;1358 new (): any;1359 readonly prototype: any;1360 })[], unknown, unknown, () => void, boolean>;1361 readonly onSuccess: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | {1362 (): (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown;1363 new (): any;1364 readonly prototype: any;1365 } | ((new (...args: any[]) => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | {1366 (): (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown;1367 new (): any;1368 readonly prototype: any;1369 })[], unknown, unknown, () => void, boolean>;1370 readonly onProgress: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | {1371 (): (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void;1372 new (): any;1373 readonly prototype: any;1374 } | ((new (...args: any[]) => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | {1375 (): (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void;1376 new (): any;1377 readonly prototype: any;1378 })[], unknown, unknown, () => void, boolean>;1379 readonly onError: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | {1380 (): (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void;1381 new (): any;1382 readonly prototype: any;1383 } | ((new (...args: any[]) => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | {1384 (): (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void;1385 new (): any;1386 readonly prototype: any;1387 })[], unknown, unknown, () => void, boolean>;1388 readonly onExceed: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | {1389 (): (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;1390 new (): any;1391 readonly prototype: any;1392 } | ((new (...args: any[]) => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | {1393 (): (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;1394 new (): any;1395 readonly prototype: any;1396 })[], unknown, unknown, () => void, boolean>;1397 readonly action: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;1398 readonly headers: {1399 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;1400 readonly required: false;1401 readonly validator: ((val: unknown) => boolean) | undefined;1402 __epPropKey: true;1403 };1404 readonly method: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;1405 readonly data: import("element-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;1406 readonly multiple: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1407 readonly name: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;1408 readonly drag: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1409 readonly withCredentials: BooleanConstructor;1410 readonly showFileList: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;1411 readonly accept: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;1412 readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;1413 readonly fileList: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadUserFile[]) | (() => import("./src/upload").UploadUserFile[]) | ((new (...args: any[]) => import("./src/upload").UploadUserFile[]) | (() => import("./src/upload").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;1414 readonly autoUpload: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;1415 readonly listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;1416 readonly httpRequest: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadRequestHandler) | (() => import("./src/upload").UploadRequestHandler) | {1417 (): import("./src/upload").UploadRequestHandler;1418 new (): any;1419 readonly prototype: any;1420 } | ((new (...args: any[]) => import("./src/upload").UploadRequestHandler) | (() => import("./src/upload").UploadRequestHandler) | {1421 (): import("./src/upload").UploadRequestHandler;1422 new (): any;1423 readonly prototype: any;1424 })[], unknown, unknown, import("./src/upload").UploadRequestHandler, boolean>;1425 readonly disabled: BooleanConstructor;1426 readonly limit: NumberConstructor;1427 }, {1428 props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{1429 readonly beforeUpload: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {1430 (): (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;1431 new (): any;1432 readonly prototype: any;1433 } | ((new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {1434 (): (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;1435 new (): any;1436 readonly prototype: any;1437 })[], unknown, unknown, () => void, boolean>;1438 readonly onRemove: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | (() => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | {1439 (): (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void;1440 new (): any;1441 readonly prototype: any;1442 } | ((new (...args: any[]) => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | (() => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | {1443 (): (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void;1444 new (): any;1445 readonly prototype: any;1446 })[], unknown, unknown, () => void, boolean>;1447 readonly onStart: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => void) | (() => (rawFile: import("./src/upload").UploadRawFile) => void) | {1448 (): (rawFile: import("./src/upload").UploadRawFile) => void;1449 new (): any;1450 readonly prototype: any;1451 } | ((new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => void) | (() => (rawFile: import("./src/upload").UploadRawFile) => void) | {1452 (): (rawFile: import("./src/upload").UploadRawFile) => void;1453 new (): any;1454 readonly prototype: any;1455 })[], unknown, unknown, () => void, boolean>;1456 readonly onSuccess: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | {1457 (): (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown;1458 new (): any;1459 readonly prototype: any;1460 } | ((new (...args: any[]) => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | {1461 (): (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown;1462 new (): any;1463 readonly prototype: any;1464 })[], unknown, unknown, () => void, boolean>;1465 readonly onProgress: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | {1466 (): (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void;1467 new (): any;1468 readonly prototype: any;1469 } | ((new (...args: any[]) => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | {1470 (): (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void;1471 new (): any;1472 readonly prototype: any;1473 })[], unknown, unknown, () => void, boolean>;1474 readonly onError: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | {1475 (): (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void;1476 new (): any;1477 readonly prototype: any;1478 } | ((new (...args: any[]) => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | {1479 (): (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void;1480 new (): any;1481 readonly prototype: any;1482 })[], unknown, unknown, () => void, boolean>;1483 readonly onExceed: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | {1484 (): (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;1485 new (): any;1486 readonly prototype: any;1487 } | ((new (...args: any[]) => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | {1488 (): (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;1489 new (): any;1490 readonly prototype: any;1491 })[], unknown, unknown, () => void, boolean>;1492 readonly action: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;1493 readonly headers: {1494 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;1495 readonly required: false;1496 readonly validator: ((val: unknown) => boolean) | undefined;1497 __epPropKey: true;1498 };1499 readonly method: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;1500 readonly data: import("element-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;1501 readonly multiple: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1502 readonly name: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;1503 readonly drag: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1504 readonly withCredentials: BooleanConstructor;1505 readonly showFileList: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;1506 readonly accept: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;1507 readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;1508 readonly fileList: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadUserFile[]) | (() => import("./src/upload").UploadUserFile[]) | ((new (...args: any[]) => import("./src/upload").UploadUserFile[]) | (() => import("./src/upload").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;1509 readonly autoUpload: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;1510 readonly listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;1511 readonly httpRequest: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadRequestHandler) | (() => import("./src/upload").UploadRequestHandler) | {1512 (): import("./src/upload").UploadRequestHandler;1513 new (): any;1514 readonly prototype: any;1515 } | ((new (...args: any[]) => import("./src/upload").UploadRequestHandler) | (() => import("./src/upload").UploadRequestHandler) | {1516 (): import("./src/upload").UploadRequestHandler;1517 new (): any;1518 readonly prototype: any;1519 })[], unknown, unknown, import("./src/upload").UploadRequestHandler, boolean>;1520 readonly disabled: BooleanConstructor;1521 readonly limit: NumberConstructor;1522 }>> & {1523 [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;1524 }>>;1525 ns: {1526 namespace: import("vue").ComputedRef<string>;1527 b: (blockSuffix?: string) => string;1528 e: (element?: string | undefined) => string;1529 m: (modifier?: string | undefined) => string;1530 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;1531 em: (element?: string | undefined, modifier?: string | undefined) => string;1532 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;1533 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;1534 is: {1535 (name: string, state: boolean | undefined): string;1536 (name: string): string;1537 };1538 cssVar: (object: Record<string, string>) => Record<string, string>;1539 cssVarName: (name: string) => string;1540 cssVarBlock: (object: Record<string, string>) => Record<string, string>;1541 cssVarBlockName: (name: string) => string;1542 };1543 requests: import("vue").ShallowRef<Record<string, XMLHttpRequest | Promise<unknown>>>;1544 inputRef: import("vue").ShallowRef<HTMLInputElement | undefined>;1545 uploadFiles: (files: File[]) => void;1546 upload: (rawFile: import("./src/upload").UploadRawFile) => Promise<void>;1547 doUpload: (rawFile: import("./src/upload").UploadRawFile) => void;1548 handleChange: (e: Event) => void;1549 handleClick: () => void;1550 handleKeydown: () => void;1551 abort: (file?: import("./src/upload").UploadFile | undefined) => void;1552 UploadDragger: import("vue").DefineComponent<{1553 readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1554 }, {1555 COMPONENT_NAME: string;1556 props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{1557 readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1558 }>> & {1559 onFile?: ((file: File[]) => any) | undefined;1560 }>>;1561 emit: (event: "file", file: File[]) => void;1562 uploaderContext: import("../..").UploadContext;1563 ns: {1564 namespace: import("vue").ComputedRef<string>;1565 b: (blockSuffix?: string) => string;1566 e: (element?: string | undefined) => string;1567 m: (modifier?: string | undefined) => string;1568 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;1569 em: (element?: string | undefined, modifier?: string | undefined) => string;1570 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;1571 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;1572 is: {1573 (name: string, state: boolean | undefined): string;1574 (name: string): string;1575 };1576 cssVar: (object: Record<string, string>) => Record<string, string>;1577 cssVarName: (name: string) => string;1578 cssVarBlock: (object: Record<string, string>) => Record<string, string>;1579 cssVarBlockName: (name: string) => string;1580 };1581 dragover: import("vue").Ref<boolean>;1582 onDrop: (e: DragEvent) => void;1583 onDragover: () => void;1584 }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {1585 file: (file: File[]) => boolean;1586 }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{1587 readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1588 }>> & {1589 onFile?: ((file: File[]) => any) | undefined;1590 }, {1591 readonly disabled: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1592 }>;1593 }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{1594 readonly beforeUpload: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {1595 (): (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;1596 new (): any;1597 readonly prototype: any;1598 } | ((new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {1599 (): (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;1600 new (): any;1601 readonly prototype: any;1602 })[], unknown, unknown, () => void, boolean>;1603 readonly onRemove: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | (() => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | {1604 (): (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void;1605 new (): any;1606 readonly prototype: any;1607 } | ((new (...args: any[]) => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | (() => (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void) | {1608 (): (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void;1609 new (): any;1610 readonly prototype: any;1611 })[], unknown, unknown, () => void, boolean>;1612 readonly onStart: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => void) | (() => (rawFile: import("./src/upload").UploadRawFile) => void) | {1613 (): (rawFile: import("./src/upload").UploadRawFile) => void;1614 new (): any;1615 readonly prototype: any;1616 } | ((new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => void) | (() => (rawFile: import("./src/upload").UploadRawFile) => void) | {1617 (): (rawFile: import("./src/upload").UploadRawFile) => void;1618 new (): any;1619 readonly prototype: any;1620 })[], unknown, unknown, () => void, boolean>;1621 readonly onSuccess: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | {1622 (): (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown;1623 new (): any;1624 readonly prototype: any;1625 } | ((new (...args: any[]) => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown) | {1626 (): (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown;1627 new (): any;1628 readonly prototype: any;1629 })[], unknown, unknown, () => void, boolean>;1630 readonly onProgress: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | {1631 (): (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void;1632 new (): any;1633 readonly prototype: any;1634 } | ((new (...args: any[]) => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void) | {1635 (): (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void;1636 new (): any;1637 readonly prototype: any;1638 })[], unknown, unknown, () => void, boolean>;1639 readonly onError: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | {1640 (): (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void;1641 new (): any;1642 readonly prototype: any;1643 } | ((new (...args: any[]) => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | (() => (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void) | {1644 (): (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void;1645 new (): any;1646 readonly prototype: any;1647 })[], unknown, unknown, () => void, boolean>;1648 readonly onExceed: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | {1649 (): (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;1650 new (): any;1651 readonly prototype: any;1652 } | ((new (...args: any[]) => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | {1653 (): (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;1654 new (): any;1655 readonly prototype: any;1656 })[], unknown, unknown, () => void, boolean>;1657 readonly action: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;1658 readonly headers: {1659 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;1660 readonly required: false;1661 readonly validator: ((val: unknown) => boolean) | undefined;1662 __epPropKey: true;1663 };1664 readonly method: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;1665 readonly data: import("element-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;1666 readonly multiple: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1667 readonly name: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;1668 readonly drag: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1669 readonly withCredentials: BooleanConstructor;1670 readonly showFileList: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;1671 readonly accept: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;1672 readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;1673 readonly fileList: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadUserFile[]) | (() => import("./src/upload").UploadUserFile[]) | ((new (...args: any[]) => import("./src/upload").UploadUserFile[]) | (() => import("./src/upload").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;1674 readonly autoUpload: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;1675 readonly listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;1676 readonly httpRequest: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadRequestHandler) | (() => import("./src/upload").UploadRequestHandler) | {1677 (): import("./src/upload").UploadRequestHandler;1678 new (): any;1679 readonly prototype: any;1680 } | ((new (...args: any[]) => import("./src/upload").UploadRequestHandler) | (() => import("./src/upload").UploadRequestHandler) | {1681 (): import("./src/upload").UploadRequestHandler;1682 new (): any;1683 readonly prototype: any;1684 })[], unknown, unknown, import("./src/upload").UploadRequestHandler, boolean>;1685 readonly disabled: BooleanConstructor;1686 readonly limit: NumberConstructor;1687 }>>, {1688 readonly type: string;1689 readonly disabled: boolean;1690 readonly name: string;1691 readonly drag: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1692 readonly multiple: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1693 readonly data: Record<string, any>;1694 readonly onError: (err: import("./src/ajax").UploadAjaxError, rawFile: import("./src/upload").UploadRawFile) => void;1695 readonly onProgress: (evt: import("./src/upload").UploadProgressEvent, rawFile: import("./src/upload").UploadRawFile) => void;1696 readonly action: string;1697 readonly method: string;1698 readonly showFileList: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1699 readonly accept: string;1700 readonly fileList: import("./src/upload").UploadUserFile[];1701 readonly autoUpload: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1702 readonly listType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "text" | "picture" | "picture-card", unknown>;1703 readonly httpRequest: import("./src/upload").UploadRequestHandler;1704 readonly withCredentials: boolean;1705 readonly beforeUpload: (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;1706 readonly onRemove: (file: import("./src/upload").UploadFile | import("./src/upload").UploadRawFile, rawFile?: import("./src/upload").UploadRawFile | undefined) => void;1707 readonly onSuccess: (response: any, rawFile: import("./src/upload").UploadRawFile) => unknown;1708 readonly onExceed: (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;1709 readonly onStart: (rawFile: import("./src/upload").UploadRawFile) => void;1710 }>;1711}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{1712 readonly beforeUpload: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {1713 (): (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;1714 new (): any;1715 readonly prototype: any;1716 } | ((new (...args: any[]) => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {1717 (): (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;1718 new (): any;1719 readonly prototype: any;1720 })[], unknown, unknown, () => void, boolean>;1721 readonly beforeRemove: {1722 readonly type: import("vue").PropType<(uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => import("element-plus/es/utils").Awaitable<boolean>>;1723 readonly required: false;1724 readonly validator: ((val: unknown) => boolean) | undefined;1725 __epPropKey: true;1726 };1727 readonly onRemove: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {1728 (): (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;1729 new (): any;1730 readonly prototype: any;1731 } | ((new (...args: any[]) => (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {1732 (): (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;1733 new (): any;1734 readonly prototype: any;1735 })[], unknown, unknown, () => void, boolean>;1736 readonly onChange: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {1737 (): (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;1738 new (): any;1739 readonly prototype: any;1740 } | ((new (...args: any[]) => (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {1741 (): (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;1742 new (): any;1743 readonly prototype: any;1744 })[], unknown, unknown, () => void, boolean>;1745 readonly onPreview: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("./src/upload").UploadFile) => void) | (() => (uploadFile: import("./src/upload").UploadFile) => void) | {1746 (): (uploadFile: import("./src/upload").UploadFile) => void;1747 new (): any;1748 readonly prototype: any;1749 } | ((new (...args: any[]) => (uploadFile: import("./src/upload").UploadFile) => void) | (() => (uploadFile: import("./src/upload").UploadFile) => void) | {1750 (): (uploadFile: import("./src/upload").UploadFile) => void;1751 new (): any;1752 readonly prototype: any;1753 })[], unknown, unknown, () => void, boolean>;1754 readonly onSuccess: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (response: any, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (response: any, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {1755 (): (response: any, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;1756 new (): any;1757 readonly prototype: any;1758 } | ((new (...args: any[]) => (response: any, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (response: any, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {1759 (): (response: any, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;1760 new (): any;1761 readonly prototype: any;1762 })[], unknown, unknown, () => void, boolean>;1763 readonly onProgress: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (evt: import("./src/upload").UploadProgressEvent, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (evt: import("./src/upload").UploadProgressEvent, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {1764 (): (evt: import("./src/upload").UploadProgressEvent, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;1765 new (): any;1766 readonly prototype: any;1767 } | ((new (...args: any[]) => (evt: import("./src/upload").UploadProgressEvent, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (evt: import("./src/upload").UploadProgressEvent, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {1768 (): (evt: import("./src/upload").UploadProgressEvent, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;1769 new (): any;1770 readonly prototype: any;1771 })[], unknown, unknown, () => void, boolean>;1772 readonly onError: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (error: Error, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (error: Error, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {1773 (): (error: Error, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;1774 new (): any;1775 readonly prototype: any;1776 } | ((new (...args: any[]) => (error: Error, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | (() => (error: Error, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void) | {1777 (): (error: Error, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;1778 new (): any;1779 readonly prototype: any;1780 })[], unknown, unknown, () => void, boolean>;1781 readonly onExceed: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | {1782 (): (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;1783 new (): any;1784 readonly prototype: any;1785 } | ((new (...args: any[]) => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void) | {1786 (): (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;1787 new (): any;1788 readonly prototype: any;1789 })[], unknown, unknown, () => void, boolean>;1790 readonly action: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;1791 readonly headers: {1792 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;1793 readonly required: false;1794 readonly validator: ((val: unknown) => boolean) | undefined;1795 __epPropKey: true;1796 };1797 readonly method: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;1798 readonly data: import("element-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;1799 readonly multiple: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1800 readonly name: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;1801 readonly drag: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1802 readonly withCredentials: BooleanConstructor;1803 readonly showFileList: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;1804 readonly accept: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;1805 readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;1806 readonly fileList: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadUserFile[]) | (() => import("./src/upload").UploadUserFile[]) | ((new (...args: any[]) => import("./src/upload").UploadUserFile[]) | (() => import("./src/upload").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;1807 readonly autoUpload: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;1808 readonly listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;1809 readonly httpRequest: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/upload").UploadRequestHandler) | (() => import("./src/upload").UploadRequestHandler) | {1810 (): import("./src/upload").UploadRequestHandler;1811 new (): any;1812 readonly prototype: any;1813 } | ((new (...args: any[]) => import("./src/upload").UploadRequestHandler) | (() => import("./src/upload").UploadRequestHandler) | {1814 (): import("./src/upload").UploadRequestHandler;1815 new (): any;1816 readonly prototype: any;1817 })[], unknown, unknown, import("./src/upload").UploadRequestHandler, boolean>;1818 readonly disabled: BooleanConstructor;1819 readonly limit: NumberConstructor;1820}>>, {1821 readonly type: string;1822 readonly disabled: boolean;1823 readonly name: string;1824 readonly onChange: (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;1825 readonly drag: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1826 readonly multiple: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1827 readonly data: Record<string, any>;1828 readonly onError: (error: Error, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;1829 readonly onProgress: (evt: import("./src/upload").UploadProgressEvent, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;1830 readonly action: string;1831 readonly method: string;1832 readonly showFileList: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1833 readonly accept: string;1834 readonly fileList: import("./src/upload").UploadUserFile[];1835 readonly autoUpload: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1836 readonly listType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "text" | "picture" | "picture-card", unknown>;1837 readonly httpRequest: import("./src/upload").UploadRequestHandler;1838 readonly withCredentials: boolean;1839 readonly beforeUpload: (rawFile: import("./src/upload").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;1840 readonly onRemove: (uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;1841 readonly onPreview: (uploadFile: import("./src/upload").UploadFile) => void;1842 readonly onSuccess: (response: any, uploadFile: import("./src/upload").UploadFile, uploadFiles: import("./src/upload").UploadFiles) => void;1843 readonly onExceed: (files: File[], uploadFiles: import("./src/upload").UploadUserFile[]) => void;1844}>> & Record<string, any>;1845export default ElUpload;1846export * from './src/upload';1847export * from './src/upload-content';1848export * from './src/upload-list';...
upload.vue.d.ts
Source:upload.vue.d.ts
1/// <reference types="node" />2import type { UploadContentProps } from './upload-content';3declare const _default: import("vue").DefineComponent<{4 readonly beforeUpload: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {5 (): (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;6 new (): any;7 readonly prototype: any;8 } | ((new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {9 (): (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;10 new (): any;11 readonly prototype: any;12 })[], unknown, unknown, () => void, boolean>;13 readonly beforeRemove: {14 readonly type: import("vue").PropType<(uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => import("../../../utils").Awaitable<boolean>>;15 readonly required: false;16 readonly validator: ((val: unknown) => boolean) | undefined;17 __epPropKey: true;18 };19 readonly onRemove: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {20 (): (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;21 new (): any;22 readonly prototype: any;23 } | ((new (...args: any[]) => (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {24 (): (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;25 new (): any;26 readonly prototype: any;27 })[], unknown, unknown, () => void, boolean>;28 readonly onChange: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {29 (): (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;30 new (): any;31 readonly prototype: any;32 } | ((new (...args: any[]) => (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {33 (): (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;34 new (): any;35 readonly prototype: any;36 })[], unknown, unknown, () => void, boolean>;37 readonly onPreview: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("./upload").UploadFile) => void) | (() => (uploadFile: import("./upload").UploadFile) => void) | {38 (): (uploadFile: import("./upload").UploadFile) => void;39 new (): any;40 readonly prototype: any;41 } | ((new (...args: any[]) => (uploadFile: import("./upload").UploadFile) => void) | (() => (uploadFile: import("./upload").UploadFile) => void) | {42 (): (uploadFile: import("./upload").UploadFile) => void;43 new (): any;44 readonly prototype: any;45 })[], unknown, unknown, () => void, boolean>;46 readonly onSuccess: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (response: any, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (response: any, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {47 (): (response: any, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;48 new (): any;49 readonly prototype: any;50 } | ((new (...args: any[]) => (response: any, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (response: any, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {51 (): (response: any, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;52 new (): any;53 readonly prototype: any;54 })[], unknown, unknown, () => void, boolean>;55 readonly onProgress: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (evt: import("./upload").UploadProgressEvent, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (evt: import("./upload").UploadProgressEvent, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {56 (): (evt: import("./upload").UploadProgressEvent, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;57 new (): any;58 readonly prototype: any;59 } | ((new (...args: any[]) => (evt: import("./upload").UploadProgressEvent, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (evt: import("./upload").UploadProgressEvent, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {60 (): (evt: import("./upload").UploadProgressEvent, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;61 new (): any;62 readonly prototype: any;63 })[], unknown, unknown, () => void, boolean>;64 readonly onError: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (error: Error, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (error: Error, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {65 (): (error: Error, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;66 new (): any;67 readonly prototype: any;68 } | ((new (...args: any[]) => (error: Error, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (error: Error, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {69 (): (error: Error, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;70 new (): any;71 readonly prototype: any;72 })[], unknown, unknown, () => void, boolean>;73 readonly onExceed: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | {74 (): (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;75 new (): any;76 readonly prototype: any;77 } | ((new (...args: any[]) => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | {78 (): (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;79 new (): any;80 readonly prototype: any;81 })[], unknown, unknown, () => void, boolean>;82 readonly action: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;83 readonly headers: {84 readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;85 readonly required: false;86 readonly validator: ((val: unknown) => boolean) | undefined;87 __epPropKey: true;88 };89 readonly method: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;90 readonly data: import("../../../utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("../../../utils").Mutable<{}>, boolean>;91 readonly multiple: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;92 readonly name: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;93 readonly drag: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;94 readonly withCredentials: BooleanConstructor;95 readonly showFileList: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;96 readonly accept: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;97 readonly type: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;98 readonly fileList: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadUserFile[]) | (() => import("./upload").UploadUserFile[]) | ((new (...args: any[]) => import("./upload").UploadUserFile[]) | (() => import("./upload").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;99 readonly autoUpload: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;100 readonly listType: import("../../../utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;101 readonly httpRequest: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadRequestHandler) | (() => import("./upload").UploadRequestHandler) | {102 (): import("./upload").UploadRequestHandler;103 new (): any;104 readonly prototype: any;105 } | ((new (...args: any[]) => import("./upload").UploadRequestHandler) | (() => import("./upload").UploadRequestHandler) | {106 (): import("./upload").UploadRequestHandler;107 new (): any;108 readonly prototype: any;109 })[], unknown, unknown, import("./upload").UploadRequestHandler, boolean>;110 readonly disabled: BooleanConstructor;111 readonly limit: NumberConstructor;112}, {113 props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{114 readonly beforeUpload: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {115 (): (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;116 new (): any;117 readonly prototype: any;118 } | ((new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {119 (): (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;120 new (): any;121 readonly prototype: any;122 })[], unknown, unknown, () => void, boolean>;123 readonly beforeRemove: {124 readonly type: import("vue").PropType<(uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => import("../../../utils").Awaitable<boolean>>;125 readonly required: false;126 readonly validator: ((val: unknown) => boolean) | undefined;127 __epPropKey: true;128 };129 readonly onRemove: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {130 (): (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;131 new (): any;132 readonly prototype: any;133 } | ((new (...args: any[]) => (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {134 (): (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;135 new (): any;136 readonly prototype: any;137 })[], unknown, unknown, () => void, boolean>;138 readonly onChange: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {139 (): (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;140 new (): any;141 readonly prototype: any;142 } | ((new (...args: any[]) => (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {143 (): (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;144 new (): any;145 readonly prototype: any;146 })[], unknown, unknown, () => void, boolean>;147 readonly onPreview: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("./upload").UploadFile) => void) | (() => (uploadFile: import("./upload").UploadFile) => void) | {148 (): (uploadFile: import("./upload").UploadFile) => void;149 new (): any;150 readonly prototype: any;151 } | ((new (...args: any[]) => (uploadFile: import("./upload").UploadFile) => void) | (() => (uploadFile: import("./upload").UploadFile) => void) | {152 (): (uploadFile: import("./upload").UploadFile) => void;153 new (): any;154 readonly prototype: any;155 })[], unknown, unknown, () => void, boolean>;156 readonly onSuccess: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (response: any, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (response: any, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {157 (): (response: any, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;158 new (): any;159 readonly prototype: any;160 } | ((new (...args: any[]) => (response: any, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (response: any, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {161 (): (response: any, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;162 new (): any;163 readonly prototype: any;164 })[], unknown, unknown, () => void, boolean>;165 readonly onProgress: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (evt: import("./upload").UploadProgressEvent, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (evt: import("./upload").UploadProgressEvent, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {166 (): (evt: import("./upload").UploadProgressEvent, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;167 new (): any;168 readonly prototype: any;169 } | ((new (...args: any[]) => (evt: import("./upload").UploadProgressEvent, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (evt: import("./upload").UploadProgressEvent, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {170 (): (evt: import("./upload").UploadProgressEvent, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;171 new (): any;172 readonly prototype: any;173 })[], unknown, unknown, () => void, boolean>;174 readonly onError: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (error: Error, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (error: Error, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {175 (): (error: Error, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;176 new (): any;177 readonly prototype: any;178 } | ((new (...args: any[]) => (error: Error, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (error: Error, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {179 (): (error: Error, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;180 new (): any;181 readonly prototype: any;182 })[], unknown, unknown, () => void, boolean>;183 readonly onExceed: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | {184 (): (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;185 new (): any;186 readonly prototype: any;187 } | ((new (...args: any[]) => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | {188 (): (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;189 new (): any;190 readonly prototype: any;191 })[], unknown, unknown, () => void, boolean>;192 readonly action: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;193 readonly headers: {194 readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;195 readonly required: false;196 readonly validator: ((val: unknown) => boolean) | undefined;197 __epPropKey: true;198 };199 readonly method: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;200 readonly data: import("../../../utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("../../../utils").Mutable<{}>, boolean>;201 readonly multiple: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;202 readonly name: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;203 readonly drag: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;204 readonly withCredentials: BooleanConstructor;205 readonly showFileList: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;206 readonly accept: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;207 readonly type: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;208 readonly fileList: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadUserFile[]) | (() => import("./upload").UploadUserFile[]) | ((new (...args: any[]) => import("./upload").UploadUserFile[]) | (() => import("./upload").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;209 readonly autoUpload: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;210 readonly listType: import("../../../utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;211 readonly httpRequest: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadRequestHandler) | (() => import("./upload").UploadRequestHandler) | {212 (): import("./upload").UploadRequestHandler;213 new (): any;214 readonly prototype: any;215 } | ((new (...args: any[]) => import("./upload").UploadRequestHandler) | (() => import("./upload").UploadRequestHandler) | {216 (): import("./upload").UploadRequestHandler;217 new (): any;218 readonly prototype: any;219 })[], unknown, unknown, import("./upload").UploadRequestHandler, boolean>;220 readonly disabled: BooleanConstructor;221 readonly limit: NumberConstructor;222 }>> & {223 [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;224 }>>;225 slots: Readonly<{226 [name: string]: import("vue").Slot | undefined;227 }>;228 disabled: import("vue").ComputedRef<boolean>;229 uploadRef: import("vue").ShallowRef<({230 $: import("vue").ComponentInternalInstance;231 $data: {};232 $props: Partial<{233 readonly type: string;234 readonly disabled: boolean;235 readonly name: string;236 readonly drag: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;237 readonly multiple: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;238 readonly data: Record<string, any>;239 readonly onError: (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void;240 readonly onProgress: (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void;241 readonly action: string;242 readonly method: string;243 readonly showFileList: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;244 readonly accept: string;245 readonly fileList: import("./upload").UploadUserFile[];246 readonly autoUpload: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;247 readonly listType: import("../../../utils").EpPropMergeType<StringConstructor, "text" | "picture" | "picture-card", unknown>;248 readonly httpRequest: import("./upload").UploadRequestHandler;249 readonly withCredentials: boolean;250 readonly beforeUpload: (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;251 readonly onRemove: (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void;252 readonly onSuccess: (response: any, rawFile: import("./upload").UploadRawFile) => unknown;253 readonly onExceed: (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;254 readonly onStart: (rawFile: import("./upload").UploadRawFile) => void;255 }> & Omit<Readonly<import("vue").ExtractPropTypes<{256 readonly beforeUpload: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {257 (): (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;258 new (): any;259 readonly prototype: any;260 } | ((new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {261 (): (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;262 new (): any;263 readonly prototype: any;264 })[], unknown, unknown, () => void, boolean>;265 readonly onRemove: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | (() => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | {266 (): (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void;267 new (): any;268 readonly prototype: any;269 } | ((new (...args: any[]) => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | (() => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | {270 (): (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void;271 new (): any;272 readonly prototype: any;273 })[], unknown, unknown, () => void, boolean>;274 readonly onStart: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => void) | (() => (rawFile: import("./upload").UploadRawFile) => void) | {275 (): (rawFile: import("./upload").UploadRawFile) => void;276 new (): any;277 readonly prototype: any;278 } | ((new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => void) | (() => (rawFile: import("./upload").UploadRawFile) => void) | {279 (): (rawFile: import("./upload").UploadRawFile) => void;280 new (): any;281 readonly prototype: any;282 })[], unknown, unknown, () => void, boolean>;283 readonly onSuccess: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | {284 (): (response: any, rawFile: import("./upload").UploadRawFile) => unknown;285 new (): any;286 readonly prototype: any;287 } | ((new (...args: any[]) => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | {288 (): (response: any, rawFile: import("./upload").UploadRawFile) => unknown;289 new (): any;290 readonly prototype: any;291 })[], unknown, unknown, () => void, boolean>;292 readonly onProgress: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | (() => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | {293 (): (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void;294 new (): any;295 readonly prototype: any;296 } | ((new (...args: any[]) => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | (() => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | {297 (): (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void;298 new (): any;299 readonly prototype: any;300 })[], unknown, unknown, () => void, boolean>;301 readonly onError: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | (() => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | {302 (): (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void;303 new (): any;304 readonly prototype: any;305 } | ((new (...args: any[]) => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | (() => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | {306 (): (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void;307 new (): any;308 readonly prototype: any;309 })[], unknown, unknown, () => void, boolean>;310 readonly onExceed: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | {311 (): (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;312 new (): any;313 readonly prototype: any;314 } | ((new (...args: any[]) => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | {315 (): (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;316 new (): any;317 readonly prototype: any;318 })[], unknown, unknown, () => void, boolean>;319 readonly action: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;320 readonly headers: {321 readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;322 readonly required: false;323 readonly validator: ((val: unknown) => boolean) | undefined;324 __epPropKey: true;325 };326 readonly method: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;327 readonly data: import("../../../utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("../../../utils").Mutable<{}>, boolean>;328 readonly multiple: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;329 readonly name: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;330 readonly drag: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;331 readonly withCredentials: BooleanConstructor;332 readonly showFileList: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;333 readonly accept: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;334 readonly type: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;335 readonly fileList: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadUserFile[]) | (() => import("./upload").UploadUserFile[]) | ((new (...args: any[]) => import("./upload").UploadUserFile[]) | (() => import("./upload").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;336 readonly autoUpload: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;337 readonly listType: import("../../../utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;338 readonly httpRequest: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadRequestHandler) | (() => import("./upload").UploadRequestHandler) | {339 (): import("./upload").UploadRequestHandler;340 new (): any;341 readonly prototype: any;342 } | ((new (...args: any[]) => import("./upload").UploadRequestHandler) | (() => import("./upload").UploadRequestHandler) | {343 (): import("./upload").UploadRequestHandler;344 new (): any;345 readonly prototype: any;346 })[], unknown, unknown, import("./upload").UploadRequestHandler, boolean>;347 readonly disabled: BooleanConstructor;348 readonly limit: NumberConstructor;349 }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "name" | "drag" | "multiple" | "data" | "onError" | "onProgress" | "action" | "method" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "withCredentials" | "beforeUpload" | "onRemove" | "onSuccess" | "onExceed" | "onStart">;350 $attrs: {351 [x: string]: unknown;352 };353 $refs: {354 [x: string]: unknown;355 };356 $slots: Readonly<{357 [name: string]: import("vue").Slot | undefined;358 }>;359 $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;360 $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;361 $emit: (event: string, ...args: any[]) => void;362 $el: any;363 $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{364 readonly beforeUpload: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {365 (): (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;366 new (): any;367 readonly prototype: any;368 } | ((new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {369 (): (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;370 new (): any;371 readonly prototype: any;372 })[], unknown, unknown, () => void, boolean>;373 readonly onRemove: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | (() => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | {374 (): (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void;375 new (): any;376 readonly prototype: any;377 } | ((new (...args: any[]) => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | (() => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | {378 (): (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void;379 new (): any;380 readonly prototype: any;381 })[], unknown, unknown, () => void, boolean>;382 readonly onStart: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => void) | (() => (rawFile: import("./upload").UploadRawFile) => void) | {383 (): (rawFile: import("./upload").UploadRawFile) => void;384 new (): any;385 readonly prototype: any;386 } | ((new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => void) | (() => (rawFile: import("./upload").UploadRawFile) => void) | {387 (): (rawFile: import("./upload").UploadRawFile) => void;388 new (): any;389 readonly prototype: any;390 })[], unknown, unknown, () => void, boolean>;391 readonly onSuccess: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | {392 (): (response: any, rawFile: import("./upload").UploadRawFile) => unknown;393 new (): any;394 readonly prototype: any;395 } | ((new (...args: any[]) => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | {396 (): (response: any, rawFile: import("./upload").UploadRawFile) => unknown;397 new (): any;398 readonly prototype: any;399 })[], unknown, unknown, () => void, boolean>;400 readonly onProgress: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | (() => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | {401 (): (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void;402 new (): any;403 readonly prototype: any;404 } | ((new (...args: any[]) => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | (() => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | {405 (): (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void;406 new (): any;407 readonly prototype: any;408 })[], unknown, unknown, () => void, boolean>;409 readonly onError: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | (() => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | {410 (): (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void;411 new (): any;412 readonly prototype: any;413 } | ((new (...args: any[]) => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | (() => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | {414 (): (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void;415 new (): any;416 readonly prototype: any;417 })[], unknown, unknown, () => void, boolean>;418 readonly onExceed: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | {419 (): (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;420 new (): any;421 readonly prototype: any;422 } | ((new (...args: any[]) => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | {423 (): (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;424 new (): any;425 readonly prototype: any;426 })[], unknown, unknown, () => void, boolean>;427 readonly action: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;428 readonly headers: {429 readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;430 readonly required: false;431 readonly validator: ((val: unknown) => boolean) | undefined;432 __epPropKey: true;433 };434 readonly method: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;435 readonly data: import("../../../utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("../../../utils").Mutable<{}>, boolean>;436 readonly multiple: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;437 readonly name: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;438 readonly drag: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;439 readonly withCredentials: BooleanConstructor;440 readonly showFileList: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;441 readonly accept: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;442 readonly type: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;443 readonly fileList: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadUserFile[]) | (() => import("./upload").UploadUserFile[]) | ((new (...args: any[]) => import("./upload").UploadUserFile[]) | (() => import("./upload").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;444 readonly autoUpload: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;445 readonly listType: import("../../../utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;446 readonly httpRequest: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadRequestHandler) | (() => import("./upload").UploadRequestHandler) | {447 (): import("./upload").UploadRequestHandler;448 new (): any;449 readonly prototype: any;450 } | ((new (...args: any[]) => import("./upload").UploadRequestHandler) | (() => import("./upload").UploadRequestHandler) | {451 (): import("./upload").UploadRequestHandler;452 new (): any;453 readonly prototype: any;454 })[], unknown, unknown, import("./upload").UploadRequestHandler, boolean>;455 readonly disabled: BooleanConstructor;456 readonly limit: NumberConstructor;457 }>>, {458 props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{459 readonly beforeUpload: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {460 (): (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;461 new (): any;462 readonly prototype: any;463 } | ((new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {464 (): (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;465 new (): any;466 readonly prototype: any;467 })[], unknown, unknown, () => void, boolean>;468 readonly onRemove: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | (() => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | {469 (): (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void;470 new (): any;471 readonly prototype: any;472 } | ((new (...args: any[]) => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | (() => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | {473 (): (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void;474 new (): any;475 readonly prototype: any;476 })[], unknown, unknown, () => void, boolean>;477 readonly onStart: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => void) | (() => (rawFile: import("./upload").UploadRawFile) => void) | {478 (): (rawFile: import("./upload").UploadRawFile) => void;479 new (): any;480 readonly prototype: any;481 } | ((new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => void) | (() => (rawFile: import("./upload").UploadRawFile) => void) | {482 (): (rawFile: import("./upload").UploadRawFile) => void;483 new (): any;484 readonly prototype: any;485 })[], unknown, unknown, () => void, boolean>;486 readonly onSuccess: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | {487 (): (response: any, rawFile: import("./upload").UploadRawFile) => unknown;488 new (): any;489 readonly prototype: any;490 } | ((new (...args: any[]) => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | {491 (): (response: any, rawFile: import("./upload").UploadRawFile) => unknown;492 new (): any;493 readonly prototype: any;494 })[], unknown, unknown, () => void, boolean>;495 readonly onProgress: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | (() => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | {496 (): (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void;497 new (): any;498 readonly prototype: any;499 } | ((new (...args: any[]) => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | (() => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | {500 (): (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void;501 new (): any;502 readonly prototype: any;503 })[], unknown, unknown, () => void, boolean>;504 readonly onError: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | (() => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | {505 (): (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void;506 new (): any;507 readonly prototype: any;508 } | ((new (...args: any[]) => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | (() => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | {509 (): (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void;510 new (): any;511 readonly prototype: any;512 })[], unknown, unknown, () => void, boolean>;513 readonly onExceed: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | {514 (): (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;515 new (): any;516 readonly prototype: any;517 } | ((new (...args: any[]) => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | {518 (): (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;519 new (): any;520 readonly prototype: any;521 })[], unknown, unknown, () => void, boolean>;522 readonly action: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;523 readonly headers: {524 readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;525 readonly required: false;526 readonly validator: ((val: unknown) => boolean) | undefined;527 __epPropKey: true;528 };529 readonly method: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;530 readonly data: import("../../../utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("../../../utils").Mutable<{}>, boolean>;531 readonly multiple: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;532 readonly name: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;533 readonly drag: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;534 readonly withCredentials: BooleanConstructor;535 readonly showFileList: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;536 readonly accept: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;537 readonly type: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;538 readonly fileList: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadUserFile[]) | (() => import("./upload").UploadUserFile[]) | ((new (...args: any[]) => import("./upload").UploadUserFile[]) | (() => import("./upload").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;539 readonly autoUpload: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;540 readonly listType: import("../../../utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;541 readonly httpRequest: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadRequestHandler) | (() => import("./upload").UploadRequestHandler) | {542 (): import("./upload").UploadRequestHandler;543 new (): any;544 readonly prototype: any;545 } | ((new (...args: any[]) => import("./upload").UploadRequestHandler) | (() => import("./upload").UploadRequestHandler) | {546 (): import("./upload").UploadRequestHandler;547 new (): any;548 readonly prototype: any;549 })[], unknown, unknown, import("./upload").UploadRequestHandler, boolean>;550 readonly disabled: BooleanConstructor;551 readonly limit: NumberConstructor;552 }>> & {553 [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;554 }>>;555 ns: {556 namespace: import("vue").ComputedRef<string>;557 b: (blockSuffix?: string) => string;558 e: (element?: string | undefined) => string;559 m: (modifier?: string | undefined) => string;560 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;561 em: (element?: string | undefined, modifier?: string | undefined) => string;562 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;563 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;564 is: {565 (name: string, state: boolean | undefined): string;566 (name: string): string;567 };568 cssVar: (object: Record<string, string>) => Record<string, string>;569 cssVarName: (name: string) => string;570 cssVarBlock: (object: Record<string, string>) => Record<string, string>;571 cssVarBlockName: (name: string) => string;572 };573 requests: import("vue").ShallowRef<Record<string, XMLHttpRequest | Promise<unknown>>>;574 inputRef: import("vue").ShallowRef<HTMLInputElement | undefined>;575 uploadFiles: (files: File[]) => void;576 upload: (rawFile: import("./upload").UploadRawFile) => Promise<void>;577 doUpload: (rawFile: import("./upload").UploadRawFile) => void;578 handleChange: (e: Event) => void;579 handleClick: () => void;580 handleKeydown: () => void;581 abort: (file?: import("./upload").UploadFile | undefined) => void;582 UploadDragger: import("vue").DefineComponent<{583 readonly disabled: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;584 }, {585 COMPONENT_NAME: string;586 props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{587 readonly disabled: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;588 }>> & {589 onFile?: ((file: File[]) => any) | undefined;590 }>>;591 emit: (event: "file", file: File[]) => void;592 uploaderContext: import("element-plus/es/tokens").UploadContext;593 ns: {594 namespace: import("vue").ComputedRef<string>;595 b: (blockSuffix?: string) => string;596 e: (element?: string | undefined) => string;597 m: (modifier?: string | undefined) => string;598 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;599 em: (element?: string | undefined, modifier?: string | undefined) => string;600 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;601 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;602 is: {603 (name: string, state: boolean | undefined): string;604 (name: string): string;605 };606 cssVar: (object: Record<string, string>) => Record<string, string>;607 cssVarName: (name: string) => string;608 cssVarBlock: (object: Record<string, string>) => Record<string, string>;609 cssVarBlockName: (name: string) => string;610 };611 dragover: import("vue").Ref<boolean>;612 onDrop: (e: DragEvent) => void;613 onDragover: () => void;614 }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {615 file: (file: File[]) => boolean;616 }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{617 readonly disabled: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;618 }>> & {619 onFile?: ((file: File[]) => any) | undefined;620 }, {621 readonly disabled: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;622 }>;623 }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {624 readonly type: string;625 readonly disabled: boolean;626 readonly name: string;627 readonly drag: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;628 readonly multiple: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;629 readonly data: Record<string, any>;630 readonly onError: (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void;631 readonly onProgress: (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void;632 readonly action: string;633 readonly method: string;634 readonly showFileList: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;635 readonly accept: string;636 readonly fileList: import("./upload").UploadUserFile[];637 readonly autoUpload: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;638 readonly listType: import("../../../utils").EpPropMergeType<StringConstructor, "text" | "picture" | "picture-card", unknown>;639 readonly httpRequest: import("./upload").UploadRequestHandler;640 readonly withCredentials: boolean;641 readonly beforeUpload: (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;642 readonly onRemove: (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void;643 readonly onSuccess: (response: any, rawFile: import("./upload").UploadRawFile) => unknown;644 readonly onExceed: (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;645 readonly onStart: (rawFile: import("./upload").UploadRawFile) => void;646 }> & {647 beforeCreate?: ((() => void) | (() => void)[]) | undefined;648 created?: ((() => void) | (() => void)[]) | undefined;649 beforeMount?: ((() => void) | (() => void)[]) | undefined;650 mounted?: ((() => void) | (() => void)[]) | undefined;651 beforeUpdate?: ((() => void) | (() => void)[]) | undefined;652 updated?: ((() => void) | (() => void)[]) | undefined;653 activated?: ((() => void) | (() => void)[]) | undefined;654 deactivated?: ((() => void) | (() => void)[]) | undefined;655 beforeDestroy?: ((() => void) | (() => void)[]) | undefined;656 beforeUnmount?: ((() => void) | (() => void)[]) | undefined;657 destroyed?: ((() => void) | (() => void)[]) | undefined;658 unmounted?: ((() => void) | (() => void)[]) | undefined;659 renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;660 renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;661 errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;662 };663 $forceUpdate: () => void;664 $nextTick: typeof import("vue").nextTick;665 $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;666 } & Readonly<import("vue").ExtractPropTypes<{667 readonly beforeUpload: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {668 (): (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;669 new (): any;670 readonly prototype: any;671 } | ((new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {672 (): (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;673 new (): any;674 readonly prototype: any;675 })[], unknown, unknown, () => void, boolean>;676 readonly onRemove: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | (() => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | {677 (): (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void;678 new (): any;679 readonly prototype: any;680 } | ((new (...args: any[]) => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | (() => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | {681 (): (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void;682 new (): any;683 readonly prototype: any;684 })[], unknown, unknown, () => void, boolean>;685 readonly onStart: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => void) | (() => (rawFile: import("./upload").UploadRawFile) => void) | {686 (): (rawFile: import("./upload").UploadRawFile) => void;687 new (): any;688 readonly prototype: any;689 } | ((new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => void) | (() => (rawFile: import("./upload").UploadRawFile) => void) | {690 (): (rawFile: import("./upload").UploadRawFile) => void;691 new (): any;692 readonly prototype: any;693 })[], unknown, unknown, () => void, boolean>;694 readonly onSuccess: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | {695 (): (response: any, rawFile: import("./upload").UploadRawFile) => unknown;696 new (): any;697 readonly prototype: any;698 } | ((new (...args: any[]) => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | {699 (): (response: any, rawFile: import("./upload").UploadRawFile) => unknown;700 new (): any;701 readonly prototype: any;702 })[], unknown, unknown, () => void, boolean>;703 readonly onProgress: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | (() => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | {704 (): (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void;705 new (): any;706 readonly prototype: any;707 } | ((new (...args: any[]) => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | (() => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | {708 (): (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void;709 new (): any;710 readonly prototype: any;711 })[], unknown, unknown, () => void, boolean>;712 readonly onError: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | (() => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | {713 (): (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void;714 new (): any;715 readonly prototype: any;716 } | ((new (...args: any[]) => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | (() => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | {717 (): (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void;718 new (): any;719 readonly prototype: any;720 })[], unknown, unknown, () => void, boolean>;721 readonly onExceed: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | {722 (): (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;723 new (): any;724 readonly prototype: any;725 } | ((new (...args: any[]) => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | {726 (): (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;727 new (): any;728 readonly prototype: any;729 })[], unknown, unknown, () => void, boolean>;730 readonly action: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;731 readonly headers: {732 readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;733 readonly required: false;734 readonly validator: ((val: unknown) => boolean) | undefined;735 __epPropKey: true;736 };737 readonly method: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;738 readonly data: import("../../../utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("../../../utils").Mutable<{}>, boolean>;739 readonly multiple: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;740 readonly name: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;741 readonly drag: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;742 readonly withCredentials: BooleanConstructor;743 readonly showFileList: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;744 readonly accept: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;745 readonly type: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;746 readonly fileList: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadUserFile[]) | (() => import("./upload").UploadUserFile[]) | ((new (...args: any[]) => import("./upload").UploadUserFile[]) | (() => import("./upload").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;747 readonly autoUpload: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;748 readonly listType: import("../../../utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;749 readonly httpRequest: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadRequestHandler) | (() => import("./upload").UploadRequestHandler) | {750 (): import("./upload").UploadRequestHandler;751 new (): any;752 readonly prototype: any;753 } | ((new (...args: any[]) => import("./upload").UploadRequestHandler) | (() => import("./upload").UploadRequestHandler) | {754 (): import("./upload").UploadRequestHandler;755 new (): any;756 readonly prototype: any;757 })[], unknown, unknown, import("./upload").UploadRequestHandler, boolean>;758 readonly disabled: BooleanConstructor;759 readonly limit: NumberConstructor;760 }>> & import("vue").ShallowUnwrapRef<{761 props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{762 readonly beforeUpload: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {763 (): (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;764 new (): any;765 readonly prototype: any;766 } | ((new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {767 (): (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;768 new (): any;769 readonly prototype: any;770 })[], unknown, unknown, () => void, boolean>;771 readonly onRemove: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | (() => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | {772 (): (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void;773 new (): any;774 readonly prototype: any;775 } | ((new (...args: any[]) => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | (() => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | {776 (): (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void;777 new (): any;778 readonly prototype: any;779 })[], unknown, unknown, () => void, boolean>;780 readonly onStart: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => void) | (() => (rawFile: import("./upload").UploadRawFile) => void) | {781 (): (rawFile: import("./upload").UploadRawFile) => void;782 new (): any;783 readonly prototype: any;784 } | ((new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => void) | (() => (rawFile: import("./upload").UploadRawFile) => void) | {785 (): (rawFile: import("./upload").UploadRawFile) => void;786 new (): any;787 readonly prototype: any;788 })[], unknown, unknown, () => void, boolean>;789 readonly onSuccess: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | {790 (): (response: any, rawFile: import("./upload").UploadRawFile) => unknown;791 new (): any;792 readonly prototype: any;793 } | ((new (...args: any[]) => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | {794 (): (response: any, rawFile: import("./upload").UploadRawFile) => unknown;795 new (): any;796 readonly prototype: any;797 })[], unknown, unknown, () => void, boolean>;798 readonly onProgress: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | (() => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | {799 (): (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void;800 new (): any;801 readonly prototype: any;802 } | ((new (...args: any[]) => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | (() => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | {803 (): (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void;804 new (): any;805 readonly prototype: any;806 })[], unknown, unknown, () => void, boolean>;807 readonly onError: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | (() => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | {808 (): (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void;809 new (): any;810 readonly prototype: any;811 } | ((new (...args: any[]) => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | (() => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | {812 (): (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void;813 new (): any;814 readonly prototype: any;815 })[], unknown, unknown, () => void, boolean>;816 readonly onExceed: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | {817 (): (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;818 new (): any;819 readonly prototype: any;820 } | ((new (...args: any[]) => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | {821 (): (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;822 new (): any;823 readonly prototype: any;824 })[], unknown, unknown, () => void, boolean>;825 readonly action: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;826 readonly headers: {827 readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;828 readonly required: false;829 readonly validator: ((val: unknown) => boolean) | undefined;830 __epPropKey: true;831 };832 readonly method: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;833 readonly data: import("../../../utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("../../../utils").Mutable<{}>, boolean>;834 readonly multiple: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;835 readonly name: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;836 readonly drag: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;837 readonly withCredentials: BooleanConstructor;838 readonly showFileList: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;839 readonly accept: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;840 readonly type: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;841 readonly fileList: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadUserFile[]) | (() => import("./upload").UploadUserFile[]) | ((new (...args: any[]) => import("./upload").UploadUserFile[]) | (() => import("./upload").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;842 readonly autoUpload: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;843 readonly listType: import("../../../utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;844 readonly httpRequest: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadRequestHandler) | (() => import("./upload").UploadRequestHandler) | {845 (): import("./upload").UploadRequestHandler;846 new (): any;847 readonly prototype: any;848 } | ((new (...args: any[]) => import("./upload").UploadRequestHandler) | (() => import("./upload").UploadRequestHandler) | {849 (): import("./upload").UploadRequestHandler;850 new (): any;851 readonly prototype: any;852 })[], unknown, unknown, import("./upload").UploadRequestHandler, boolean>;853 readonly disabled: BooleanConstructor;854 readonly limit: NumberConstructor;855 }>> & {856 [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;857 }>>;858 ns: {859 namespace: import("vue").ComputedRef<string>;860 b: (blockSuffix?: string) => string;861 e: (element?: string | undefined) => string;862 m: (modifier?: string | undefined) => string;863 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;864 em: (element?: string | undefined, modifier?: string | undefined) => string;865 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;866 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;867 is: {868 (name: string, state: boolean | undefined): string;869 (name: string): string;870 };871 cssVar: (object: Record<string, string>) => Record<string, string>;872 cssVarName: (name: string) => string;873 cssVarBlock: (object: Record<string, string>) => Record<string, string>;874 cssVarBlockName: (name: string) => string;875 };876 requests: import("vue").ShallowRef<Record<string, XMLHttpRequest | Promise<unknown>>>;877 inputRef: import("vue").ShallowRef<HTMLInputElement | undefined>;878 uploadFiles: (files: File[]) => void;879 upload: (rawFile: import("./upload").UploadRawFile) => Promise<void>;880 doUpload: (rawFile: import("./upload").UploadRawFile) => void;881 handleChange: (e: Event) => void;882 handleClick: () => void;883 handleKeydown: () => void;884 abort: (file?: import("./upload").UploadFile | undefined) => void;885 UploadDragger: import("vue").DefineComponent<{886 readonly disabled: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;887 }, {888 COMPONENT_NAME: string;889 props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{890 readonly disabled: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;891 }>> & {892 onFile?: ((file: File[]) => any) | undefined;893 }>>;894 emit: (event: "file", file: File[]) => void;895 uploaderContext: import("element-plus/es/tokens").UploadContext;896 ns: {897 namespace: import("vue").ComputedRef<string>;898 b: (blockSuffix?: string) => string;899 e: (element?: string | undefined) => string;900 m: (modifier?: string | undefined) => string;901 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;902 em: (element?: string | undefined, modifier?: string | undefined) => string;903 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;904 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;905 is: {906 (name: string, state: boolean | undefined): string;907 (name: string): string;908 };909 cssVar: (object: Record<string, string>) => Record<string, string>;910 cssVarName: (name: string) => string;911 cssVarBlock: (object: Record<string, string>) => Record<string, string>;912 cssVarBlockName: (name: string) => string;913 };914 dragover: import("vue").Ref<boolean>;915 onDrop: (e: DragEvent) => void;916 onDragover: () => void;917 }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {918 file: (file: File[]) => boolean;919 }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{920 readonly disabled: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;921 }>> & {922 onFile?: ((file: File[]) => any) | undefined;923 }, {924 readonly disabled: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;925 }>;926 }> & {} & import("vue").ComponentCustomProperties) | undefined>;927 abort: (file: import("./upload").UploadFile) => void;928 submit: () => void;929 clearFiles: (states?: import("./upload").UploadStatus[]) => void;930 uploadFiles: import("vue").Ref<{931 name: string;932 percentage?: number | undefined;933 status: import("./upload").UploadStatus;934 size?: number | undefined;935 response?: unknown;936 uid: number;937 url?: string | undefined;938 raw?: {939 uid: number;940 readonly lastModified: number;941 readonly name: string;942 readonly webkitRelativePath: string;943 readonly size: number;944 readonly type: string;945 arrayBuffer: {946 (): Promise<ArrayBuffer>;947 (): Promise<ArrayBuffer>;948 };949 slice: {950 (start?: number | undefined, end?: number | undefined, contentType?: string | undefined): Blob;951 (start?: number | undefined, end?: number | undefined, contentType?: string | undefined): Blob;952 };953 stream: {954 (): ReadableStream<any>;955 (): NodeJS.ReadableStream;956 };957 text: {958 (): Promise<string>;959 (): Promise<string>;960 };961 } | undefined;962 }[]> | import("vue").WritableComputedRef<import("./upload").UploadFiles>;963 handleStart: (rawFile: import("./upload").UploadRawFile) => void;964 handleError: (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void;965 handleRemove: (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void;966 handleSuccess: (response: any, rawFile: import("./upload").UploadRawFile) => unknown;967 handleProgress: (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void;968 isPictureCard: import("vue").ComputedRef<boolean>;969 uploadContentProps: import("vue").ComputedRef<UploadContentProps>;970 UploadList: import("vue").DefineComponent<{971 readonly files: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadFiles) | (() => import("./upload").UploadFiles) | ((new (...args: any[]) => import("./upload").UploadFiles) | (() => import("./upload").UploadFiles))[], unknown, unknown, () => never[], boolean>;972 readonly disabled: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;973 readonly handlePreview: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("./upload").UploadFile) => void) | (() => (uploadFile: import("./upload").UploadFile) => void) | {974 (): (uploadFile: import("./upload").UploadFile) => void;975 new (): any;976 readonly prototype: any;977 } | ((new (...args: any[]) => (uploadFile: import("./upload").UploadFile) => void) | (() => (uploadFile: import("./upload").UploadFile) => void) | {978 (): (uploadFile: import("./upload").UploadFile) => void;979 new (): any;980 readonly prototype: any;981 })[], unknown, unknown, () => void, boolean>;982 readonly listType: import("../../../utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;983 }, {984 props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{985 readonly files: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadFiles) | (() => import("./upload").UploadFiles) | ((new (...args: any[]) => import("./upload").UploadFiles) | (() => import("./upload").UploadFiles))[], unknown, unknown, () => never[], boolean>;986 readonly disabled: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;987 readonly handlePreview: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("./upload").UploadFile) => void) | (() => (uploadFile: import("./upload").UploadFile) => void) | {988 (): (uploadFile: import("./upload").UploadFile) => void;989 new (): any;990 readonly prototype: any;991 } | ((new (...args: any[]) => (uploadFile: import("./upload").UploadFile) => void) | (() => (uploadFile: import("./upload").UploadFile) => void) | {992 (): (uploadFile: import("./upload").UploadFile) => void;993 new (): any;994 readonly prototype: any;995 })[], unknown, unknown, () => void, boolean>;996 readonly listType: import("../../../utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;997 }>> & {998 onRemove?: ((file: import("./upload").UploadFile) => any) | undefined;999 }>>;1000 emit: (event: "remove", file: import("./upload").UploadFile) => void;1001 t: import("element-plus/es/hooks").Translator;1002 nsUpload: {1003 namespace: import("vue").ComputedRef<string>;1004 b: (blockSuffix?: string) => string;1005 e: (element?: string | undefined) => string;1006 m: (modifier?: string | undefined) => string;1007 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;1008 em: (element?: string | undefined, modifier?: string | undefined) => string;1009 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;1010 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;1011 is: {1012 (name: string, state: boolean | undefined): string;1013 (name: string): string;1014 };1015 cssVar: (object: Record<string, string>) => Record<string, string>;1016 cssVarName: (name: string) => string;1017 cssVarBlock: (object: Record<string, string>) => Record<string, string>;1018 cssVarBlockName: (name: string) => string;1019 };1020 nsIcon: {1021 namespace: import("vue").ComputedRef<string>;1022 b: (blockSuffix?: string) => string;1023 e: (element?: string | undefined) => string;1024 m: (modifier?: string | undefined) => string;1025 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;1026 em: (element?: string | undefined, modifier?: string | undefined) => string;1027 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;1028 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;1029 is: {1030 (name: string, state: boolean | undefined): string;1031 (name: string): string;1032 };1033 cssVar: (object: Record<string, string>) => Record<string, string>;1034 cssVarName: (name: string) => string;1035 cssVarBlock: (object: Record<string, string>) => Record<string, string>;1036 cssVarBlockName: (name: string) => string;1037 };1038 nsList: {1039 namespace: import("vue").ComputedRef<string>;1040 b: (blockSuffix?: string) => string;1041 e: (element?: string | undefined) => string;1042 m: (modifier?: string | undefined) => string;1043 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;1044 em: (element?: string | undefined, modifier?: string | undefined) => string;1045 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;1046 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;1047 is: {1048 (name: string, state: boolean | undefined): string;1049 (name: string): string;1050 };1051 cssVar: (object: Record<string, string>) => Record<string, string>;1052 cssVarName: (name: string) => string;1053 cssVarBlock: (object: Record<string, string>) => Record<string, string>;1054 cssVarBlockName: (name: string) => string;1055 };1056 focusing: import("vue").Ref<boolean>;1057 handleClick: (file: import("./upload").UploadFile) => void;1058 handleRemove: (file: import("./upload").UploadFile) => void;1059 ElIcon: import("../../../utils").SFCWithInstall<import("vue").DefineComponent<{1060 readonly size: {1061 readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;1062 readonly required: false;1063 readonly validator: ((val: unknown) => boolean) | undefined;1064 __epPropKey: true;1065 };1066 readonly color: {1067 readonly type: import("vue").PropType<string>;1068 readonly required: false;1069 readonly validator: ((val: unknown) => boolean) | undefined;1070 __epPropKey: true;1071 };1072 }, {1073 props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{1074 readonly size: {1075 readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;1076 readonly required: false;1077 readonly validator: ((val: unknown) => boolean) | undefined;1078 __epPropKey: true;1079 };1080 readonly color: {1081 readonly type: import("vue").PropType<string>;1082 readonly required: false;1083 readonly validator: ((val: unknown) => boolean) | undefined;1084 __epPropKey: true;1085 };1086 }>> & {1087 [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;1088 }>>;1089 ns: {1090 namespace: import("vue").ComputedRef<string>;1091 b: (blockSuffix?: string) => string;1092 e: (element?: string | undefined) => string;1093 m: (modifier?: string | undefined) => string;1094 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;1095 em: (element?: string | undefined, modifier?: string | undefined) => string;1096 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;1097 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;1098 is: {1099 (name: string, state: boolean | undefined): string;1100 (name: string): string;1101 };1102 cssVar: (object: Record<string, string>) => Record<string, string>;1103 cssVarName: (name: string) => string;1104 cssVarBlock: (object: Record<string, string>) => Record<string, string>;1105 cssVarBlockName: (name: string) => string;1106 };1107 style: import("vue").ComputedRef<import("vue").CSSProperties>;1108 }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{1109 readonly size: {1110 readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;1111 readonly required: false;1112 readonly validator: ((val: unknown) => boolean) | undefined;1113 __epPropKey: true;1114 };1115 readonly color: {1116 readonly type: import("vue").PropType<string>;1117 readonly required: false;1118 readonly validator: ((val: unknown) => boolean) | undefined;1119 __epPropKey: true;1120 };1121 }>>, {}>> & Record<string, any>;1122 Check: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;1123 CircleCheck: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;1124 Close: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;1125 Delete: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;1126 Document: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;1127 ZoomIn: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;1128 ElProgress: import("../../../utils").SFCWithInstall<import("vue").DefineComponent<{1129 readonly type: import("../../../utils").EpPropFinalized<StringConstructor, "circle" | "line" | "dashboard", unknown, "line", boolean>;1130 readonly percentage: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;1131 readonly status: import("../../../utils").EpPropFinalized<StringConstructor, "" | "success" | "warning" | "exception", unknown, "", boolean>;1132 readonly indeterminate: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1133 readonly duration: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3, boolean>;1134 readonly strokeWidth: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, 6, boolean>;1135 readonly strokeLinecap: import("../../../utils").EpPropFinalized<(new (...args: any[]) => ("round" | "inherit" | "butt" | "square") & {}) | (() => "round" | "inherit" | "butt" | "square") | ((new (...args: any[]) => ("round" | "inherit" | "butt" | "square") & {}) | (() => "round" | "inherit" | "butt" | "square"))[], unknown, unknown, "round", boolean>;1136 readonly textInside: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1137 readonly width: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, 126, boolean>;1138 readonly showText: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;1139 readonly color: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (string | import("../..").ProgressFn | import("../..").ProgressColor[]) & {}) | (() => string | import("../..").ProgressFn | import("../..").ProgressColor[]) | ((new (...args: any[]) => (string | import("../..").ProgressFn | import("../..").ProgressColor[]) & {}) | (() => string | import("../..").ProgressFn | import("../..").ProgressColor[]))[], unknown, unknown, "", boolean>;1140 readonly format: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("../..").ProgressFn) | (() => import("../..").ProgressFn) | {1141 (): import("../..").ProgressFn;1142 new (): any;1143 readonly prototype: any;1144 } | ((new (...args: any[]) => import("../..").ProgressFn) | (() => import("../..").ProgressFn) | {1145 (): import("../..").ProgressFn;1146 new (): any;1147 readonly prototype: any;1148 })[], unknown, unknown, (percentage: number) => string, boolean>;1149 }, {1150 STATUS_COLOR_MAP: {1151 success: string;1152 exception: string;1153 warning: string;1154 default: string;1155 };1156 props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{1157 readonly type: import("../../../utils").EpPropFinalized<StringConstructor, "circle" | "line" | "dashboard", unknown, "line", boolean>;1158 readonly percentage: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;1159 readonly status: import("../../../utils").EpPropFinalized<StringConstructor, "" | "success" | "warning" | "exception", unknown, "", boolean>;1160 readonly indeterminate: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1161 readonly duration: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3, boolean>;1162 readonly strokeWidth: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, 6, boolean>;1163 readonly strokeLinecap: import("../../../utils").EpPropFinalized<(new (...args: any[]) => ("round" | "inherit" | "butt" | "square") & {}) | (() => "round" | "inherit" | "butt" | "square") | ((new (...args: any[]) => ("round" | "inherit" | "butt" | "square") & {}) | (() => "round" | "inherit" | "butt" | "square"))[], unknown, unknown, "round", boolean>;1164 readonly textInside: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1165 readonly width: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, 126, boolean>;1166 readonly showText: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;1167 readonly color: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (string | import("../..").ProgressFn | import("../..").ProgressColor[]) & {}) | (() => string | import("../..").ProgressFn | import("../..").ProgressColor[]) | ((new (...args: any[]) => (string | import("../..").ProgressFn | import("../..").ProgressColor[]) & {}) | (() => string | import("../..").ProgressFn | import("../..").ProgressColor[]))[], unknown, unknown, "", boolean>;1168 readonly format: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("../..").ProgressFn) | (() => import("../..").ProgressFn) | {1169 (): import("../..").ProgressFn;1170 new (): any;1171 readonly prototype: any;1172 } | ((new (...args: any[]) => import("../..").ProgressFn) | (() => import("../..").ProgressFn) | {1173 (): import("../..").ProgressFn;1174 new (): any;1175 readonly prototype: any;1176 })[], unknown, unknown, (percentage: number) => string, boolean>;1177 }>> & {1178 [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;1179 }>>;1180 ns: {1181 namespace: import("vue").ComputedRef<string>;1182 b: (blockSuffix?: string) => string;1183 e: (element?: string | undefined) => string;1184 m: (modifier?: string | undefined) => string;1185 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;1186 em: (element?: string | undefined, modifier?: string | undefined) => string;1187 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;1188 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;1189 is: {1190 (name: string, state: boolean | undefined): string;1191 (name: string): string;1192 };1193 cssVar: (object: Record<string, string>) => Record<string, string>;1194 cssVarName: (name: string) => string;1195 cssVarBlock: (object: Record<string, string>) => Record<string, string>;1196 cssVarBlockName: (name: string) => string;1197 };1198 barStyle: import("vue").ComputedRef<import("vue").CSSProperties>;1199 relativeStrokeWidth: import("vue").ComputedRef<string>;1200 radius: import("vue").ComputedRef<number>;1201 trackPath: import("vue").ComputedRef<string>;1202 perimeter: import("vue").ComputedRef<number>;1203 rate: import("vue").ComputedRef<1 | 0.75>;1204 strokeDashoffset: import("vue").ComputedRef<string>;1205 trailPathStyle: import("vue").ComputedRef<import("vue").CSSProperties>;1206 circlePathStyle: import("vue").ComputedRef<import("vue").CSSProperties>;1207 stroke: import("vue").ComputedRef<string>;1208 statusIcon: import("vue").ComputedRef<import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;1209 progressTextSize: import("vue").ComputedRef<number>;1210 content: import("vue").ComputedRef<string>;1211 getColors: (color: import("../..").ProgressColor[]) => import("../..").ProgressColor[];1212 getCurrentColor: (percentage: number) => string;1213 ElIcon: import("../../../utils").SFCWithInstall<import("vue").DefineComponent<{1214 readonly size: {1215 readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;1216 readonly required: false;1217 readonly validator: ((val: unknown) => boolean) | undefined;1218 __epPropKey: true;1219 };1220 readonly color: {1221 readonly type: import("vue").PropType<string>;1222 readonly required: false;1223 readonly validator: ((val: unknown) => boolean) | undefined;1224 __epPropKey: true;1225 };1226 }, {1227 props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{1228 readonly size: {1229 readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;1230 readonly required: false;1231 readonly validator: ((val: unknown) => boolean) | undefined;1232 __epPropKey: true;1233 };1234 readonly color: {1235 readonly type: import("vue").PropType<string>;1236 readonly required: false;1237 readonly validator: ((val: unknown) => boolean) | undefined;1238 __epPropKey: true;1239 };1240 }>> & {1241 [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;1242 }>>;1243 ns: {1244 namespace: import("vue").ComputedRef<string>;1245 b: (blockSuffix?: string) => string;1246 e: (element?: string | undefined) => string;1247 m: (modifier?: string | undefined) => string;1248 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;1249 em: (element?: string | undefined, modifier?: string | undefined) => string;1250 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;1251 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;1252 is: {1253 (name: string, state: boolean | undefined): string;1254 (name: string): string;1255 };1256 cssVar: (object: Record<string, string>) => Record<string, string>;1257 cssVarName: (name: string) => string;1258 cssVarBlock: (object: Record<string, string>) => Record<string, string>;1259 cssVarBlockName: (name: string) => string;1260 };1261 style: import("vue").ComputedRef<import("vue").CSSProperties>;1262 }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{1263 readonly size: {1264 readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;1265 readonly required: false;1266 readonly validator: ((val: unknown) => boolean) | undefined;1267 __epPropKey: true;1268 };1269 readonly color: {1270 readonly type: import("vue").PropType<string>;1271 readonly required: false;1272 readonly validator: ((val: unknown) => boolean) | undefined;1273 __epPropKey: true;1274 };1275 }>>, {}>> & Record<string, any>;1276 }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{1277 readonly type: import("../../../utils").EpPropFinalized<StringConstructor, "circle" | "line" | "dashboard", unknown, "line", boolean>;1278 readonly percentage: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;1279 readonly status: import("../../../utils").EpPropFinalized<StringConstructor, "" | "success" | "warning" | "exception", unknown, "", boolean>;1280 readonly indeterminate: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1281 readonly duration: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3, boolean>;1282 readonly strokeWidth: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, 6, boolean>;1283 readonly strokeLinecap: import("../../../utils").EpPropFinalized<(new (...args: any[]) => ("round" | "inherit" | "butt" | "square") & {}) | (() => "round" | "inherit" | "butt" | "square") | ((new (...args: any[]) => ("round" | "inherit" | "butt" | "square") & {}) | (() => "round" | "inherit" | "butt" | "square"))[], unknown, unknown, "round", boolean>;1284 readonly textInside: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1285 readonly width: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, 126, boolean>;1286 readonly showText: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;1287 readonly color: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (string | import("../..").ProgressFn | import("../..").ProgressColor[]) & {}) | (() => string | import("../..").ProgressFn | import("../..").ProgressColor[]) | ((new (...args: any[]) => (string | import("../..").ProgressFn | import("../..").ProgressColor[]) & {}) | (() => string | import("../..").ProgressFn | import("../..").ProgressColor[]))[], unknown, unknown, "", boolean>;1288 readonly format: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("../..").ProgressFn) | (() => import("../..").ProgressFn) | {1289 (): import("../..").ProgressFn;1290 new (): any;1291 readonly prototype: any;1292 } | ((new (...args: any[]) => import("../..").ProgressFn) | (() => import("../..").ProgressFn) | {1293 (): import("../..").ProgressFn;1294 new (): any;1295 readonly prototype: any;1296 })[], unknown, unknown, (percentage: number) => string, boolean>;1297 }>>, {1298 readonly type: import("../../../utils").EpPropMergeType<StringConstructor, "circle" | "line" | "dashboard", unknown>;1299 readonly color: import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("../..").ProgressFn | import("../..").ProgressColor[]) & {}) | (() => string | import("../..").ProgressFn | import("../..").ProgressColor[]) | ((new (...args: any[]) => (string | import("../..").ProgressFn | import("../..").ProgressColor[]) & {}) | (() => string | import("../..").ProgressFn | import("../..").ProgressColor[]))[], unknown, unknown>;1300 readonly width: number;1301 readonly strokeLinecap: import("../../../utils").EpPropMergeType<(new (...args: any[]) => ("round" | "inherit" | "butt" | "square") & {}) | (() => "round" | "inherit" | "butt" | "square") | ((new (...args: any[]) => ("round" | "inherit" | "butt" | "square") & {}) | (() => "round" | "inherit" | "butt" | "square"))[], unknown, unknown>;1302 readonly strokeWidth: number;1303 readonly indeterminate: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1304 readonly format: import("../..").ProgressFn;1305 readonly percentage: number;1306 readonly status: import("../../../utils").EpPropMergeType<StringConstructor, "" | "success" | "warning" | "exception", unknown>;1307 readonly duration: number;1308 readonly textInside: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1309 readonly showText: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1310 }>> & Record<string, any>;1311 }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {1312 remove: (file: import("./upload").UploadFile) => boolean;1313 }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{1314 readonly files: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadFiles) | (() => import("./upload").UploadFiles) | ((new (...args: any[]) => import("./upload").UploadFiles) | (() => import("./upload").UploadFiles))[], unknown, unknown, () => never[], boolean>;1315 readonly disabled: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1316 readonly handlePreview: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("./upload").UploadFile) => void) | (() => (uploadFile: import("./upload").UploadFile) => void) | {1317 (): (uploadFile: import("./upload").UploadFile) => void;1318 new (): any;1319 readonly prototype: any;1320 } | ((new (...args: any[]) => (uploadFile: import("./upload").UploadFile) => void) | (() => (uploadFile: import("./upload").UploadFile) => void) | {1321 (): (uploadFile: import("./upload").UploadFile) => void;1322 new (): any;1323 readonly prototype: any;1324 })[], unknown, unknown, () => void, boolean>;1325 readonly listType: import("../../../utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;1326 }>> & {1327 onRemove?: ((file: import("./upload").UploadFile) => any) | undefined;1328 }, {1329 readonly disabled: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1330 readonly listType: import("../../../utils").EpPropMergeType<StringConstructor, "text" | "picture" | "picture-card", unknown>;1331 readonly files: import("./upload").UploadFiles;1332 readonly handlePreview: (uploadFile: import("./upload").UploadFile) => void;1333 }>;1334 UploadContent: import("vue").DefineComponent<{1335 readonly beforeUpload: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {1336 (): (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;1337 new (): any;1338 readonly prototype: any;1339 } | ((new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {1340 (): (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;1341 new (): any;1342 readonly prototype: any;1343 })[], unknown, unknown, () => void, boolean>;1344 readonly onRemove: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | (() => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | {1345 (): (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void;1346 new (): any;1347 readonly prototype: any;1348 } | ((new (...args: any[]) => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | (() => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | {1349 (): (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void;1350 new (): any;1351 readonly prototype: any;1352 })[], unknown, unknown, () => void, boolean>;1353 readonly onStart: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => void) | (() => (rawFile: import("./upload").UploadRawFile) => void) | {1354 (): (rawFile: import("./upload").UploadRawFile) => void;1355 new (): any;1356 readonly prototype: any;1357 } | ((new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => void) | (() => (rawFile: import("./upload").UploadRawFile) => void) | {1358 (): (rawFile: import("./upload").UploadRawFile) => void;1359 new (): any;1360 readonly prototype: any;1361 })[], unknown, unknown, () => void, boolean>;1362 readonly onSuccess: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | {1363 (): (response: any, rawFile: import("./upload").UploadRawFile) => unknown;1364 new (): any;1365 readonly prototype: any;1366 } | ((new (...args: any[]) => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | {1367 (): (response: any, rawFile: import("./upload").UploadRawFile) => unknown;1368 new (): any;1369 readonly prototype: any;1370 })[], unknown, unknown, () => void, boolean>;1371 readonly onProgress: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | (() => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | {1372 (): (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void;1373 new (): any;1374 readonly prototype: any;1375 } | ((new (...args: any[]) => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | (() => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | {1376 (): (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void;1377 new (): any;1378 readonly prototype: any;1379 })[], unknown, unknown, () => void, boolean>;1380 readonly onError: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | (() => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | {1381 (): (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void;1382 new (): any;1383 readonly prototype: any;1384 } | ((new (...args: any[]) => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | (() => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | {1385 (): (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void;1386 new (): any;1387 readonly prototype: any;1388 })[], unknown, unknown, () => void, boolean>;1389 readonly onExceed: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | {1390 (): (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;1391 new (): any;1392 readonly prototype: any;1393 } | ((new (...args: any[]) => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | {1394 (): (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;1395 new (): any;1396 readonly prototype: any;1397 })[], unknown, unknown, () => void, boolean>;1398 readonly action: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;1399 readonly headers: {1400 readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;1401 readonly required: false;1402 readonly validator: ((val: unknown) => boolean) | undefined;1403 __epPropKey: true;1404 };1405 readonly method: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;1406 readonly data: import("../../../utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("../../../utils").Mutable<{}>, boolean>;1407 readonly multiple: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1408 readonly name: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;1409 readonly drag: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1410 readonly withCredentials: BooleanConstructor;1411 readonly showFileList: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;1412 readonly accept: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;1413 readonly type: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;1414 readonly fileList: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadUserFile[]) | (() => import("./upload").UploadUserFile[]) | ((new (...args: any[]) => import("./upload").UploadUserFile[]) | (() => import("./upload").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;1415 readonly autoUpload: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;1416 readonly listType: import("../../../utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;1417 readonly httpRequest: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadRequestHandler) | (() => import("./upload").UploadRequestHandler) | {1418 (): import("./upload").UploadRequestHandler;1419 new (): any;1420 readonly prototype: any;1421 } | ((new (...args: any[]) => import("./upload").UploadRequestHandler) | (() => import("./upload").UploadRequestHandler) | {1422 (): import("./upload").UploadRequestHandler;1423 new (): any;1424 readonly prototype: any;1425 })[], unknown, unknown, import("./upload").UploadRequestHandler, boolean>;1426 readonly disabled: BooleanConstructor;1427 readonly limit: NumberConstructor;1428 }, {1429 props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{1430 readonly beforeUpload: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {1431 (): (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;1432 new (): any;1433 readonly prototype: any;1434 } | ((new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {1435 (): (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;1436 new (): any;1437 readonly prototype: any;1438 })[], unknown, unknown, () => void, boolean>;1439 readonly onRemove: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | (() => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | {1440 (): (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void;1441 new (): any;1442 readonly prototype: any;1443 } | ((new (...args: any[]) => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | (() => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | {1444 (): (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void;1445 new (): any;1446 readonly prototype: any;1447 })[], unknown, unknown, () => void, boolean>;1448 readonly onStart: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => void) | (() => (rawFile: import("./upload").UploadRawFile) => void) | {1449 (): (rawFile: import("./upload").UploadRawFile) => void;1450 new (): any;1451 readonly prototype: any;1452 } | ((new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => void) | (() => (rawFile: import("./upload").UploadRawFile) => void) | {1453 (): (rawFile: import("./upload").UploadRawFile) => void;1454 new (): any;1455 readonly prototype: any;1456 })[], unknown, unknown, () => void, boolean>;1457 readonly onSuccess: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | {1458 (): (response: any, rawFile: import("./upload").UploadRawFile) => unknown;1459 new (): any;1460 readonly prototype: any;1461 } | ((new (...args: any[]) => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | {1462 (): (response: any, rawFile: import("./upload").UploadRawFile) => unknown;1463 new (): any;1464 readonly prototype: any;1465 })[], unknown, unknown, () => void, boolean>;1466 readonly onProgress: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | (() => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | {1467 (): (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void;1468 new (): any;1469 readonly prototype: any;1470 } | ((new (...args: any[]) => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | (() => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | {1471 (): (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void;1472 new (): any;1473 readonly prototype: any;1474 })[], unknown, unknown, () => void, boolean>;1475 readonly onError: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | (() => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | {1476 (): (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void;1477 new (): any;1478 readonly prototype: any;1479 } | ((new (...args: any[]) => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | (() => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | {1480 (): (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void;1481 new (): any;1482 readonly prototype: any;1483 })[], unknown, unknown, () => void, boolean>;1484 readonly onExceed: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | {1485 (): (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;1486 new (): any;1487 readonly prototype: any;1488 } | ((new (...args: any[]) => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | {1489 (): (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;1490 new (): any;1491 readonly prototype: any;1492 })[], unknown, unknown, () => void, boolean>;1493 readonly action: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;1494 readonly headers: {1495 readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;1496 readonly required: false;1497 readonly validator: ((val: unknown) => boolean) | undefined;1498 __epPropKey: true;1499 };1500 readonly method: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;1501 readonly data: import("../../../utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("../../../utils").Mutable<{}>, boolean>;1502 readonly multiple: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1503 readonly name: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;1504 readonly drag: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1505 readonly withCredentials: BooleanConstructor;1506 readonly showFileList: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;1507 readonly accept: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;1508 readonly type: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;1509 readonly fileList: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadUserFile[]) | (() => import("./upload").UploadUserFile[]) | ((new (...args: any[]) => import("./upload").UploadUserFile[]) | (() => import("./upload").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;1510 readonly autoUpload: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;1511 readonly listType: import("../../../utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;1512 readonly httpRequest: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadRequestHandler) | (() => import("./upload").UploadRequestHandler) | {1513 (): import("./upload").UploadRequestHandler;1514 new (): any;1515 readonly prototype: any;1516 } | ((new (...args: any[]) => import("./upload").UploadRequestHandler) | (() => import("./upload").UploadRequestHandler) | {1517 (): import("./upload").UploadRequestHandler;1518 new (): any;1519 readonly prototype: any;1520 })[], unknown, unknown, import("./upload").UploadRequestHandler, boolean>;1521 readonly disabled: BooleanConstructor;1522 readonly limit: NumberConstructor;1523 }>> & {1524 [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;1525 }>>;1526 ns: {1527 namespace: import("vue").ComputedRef<string>;1528 b: (blockSuffix?: string) => string;1529 e: (element?: string | undefined) => string;1530 m: (modifier?: string | undefined) => string;1531 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;1532 em: (element?: string | undefined, modifier?: string | undefined) => string;1533 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;1534 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;1535 is: {1536 (name: string, state: boolean | undefined): string;1537 (name: string): string;1538 };1539 cssVar: (object: Record<string, string>) => Record<string, string>;1540 cssVarName: (name: string) => string;1541 cssVarBlock: (object: Record<string, string>) => Record<string, string>;1542 cssVarBlockName: (name: string) => string;1543 };1544 requests: import("vue").ShallowRef<Record<string, XMLHttpRequest | Promise<unknown>>>;1545 inputRef: import("vue").ShallowRef<HTMLInputElement | undefined>;1546 uploadFiles: (files: File[]) => void;1547 upload: (rawFile: import("./upload").UploadRawFile) => Promise<void>;1548 doUpload: (rawFile: import("./upload").UploadRawFile) => void;1549 handleChange: (e: Event) => void;1550 handleClick: () => void;1551 handleKeydown: () => void;1552 abort: (file?: import("./upload").UploadFile | undefined) => void;1553 UploadDragger: import("vue").DefineComponent<{1554 readonly disabled: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1555 }, {1556 COMPONENT_NAME: string;1557 props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{1558 readonly disabled: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1559 }>> & {1560 onFile?: ((file: File[]) => any) | undefined;1561 }>>;1562 emit: (event: "file", file: File[]) => void;1563 uploaderContext: import("element-plus/es/tokens").UploadContext;1564 ns: {1565 namespace: import("vue").ComputedRef<string>;1566 b: (blockSuffix?: string) => string;1567 e: (element?: string | undefined) => string;1568 m: (modifier?: string | undefined) => string;1569 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;1570 em: (element?: string | undefined, modifier?: string | undefined) => string;1571 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;1572 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;1573 is: {1574 (name: string, state: boolean | undefined): string;1575 (name: string): string;1576 };1577 cssVar: (object: Record<string, string>) => Record<string, string>;1578 cssVarName: (name: string) => string;1579 cssVarBlock: (object: Record<string, string>) => Record<string, string>;1580 cssVarBlockName: (name: string) => string;1581 };1582 dragover: import("vue").Ref<boolean>;1583 onDrop: (e: DragEvent) => void;1584 onDragover: () => void;1585 }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {1586 file: (file: File[]) => boolean;1587 }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{1588 readonly disabled: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1589 }>> & {1590 onFile?: ((file: File[]) => any) | undefined;1591 }, {1592 readonly disabled: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1593 }>;1594 }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{1595 readonly beforeUpload: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {1596 (): (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;1597 new (): any;1598 readonly prototype: any;1599 } | ((new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {1600 (): (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;1601 new (): any;1602 readonly prototype: any;1603 })[], unknown, unknown, () => void, boolean>;1604 readonly onRemove: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | (() => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | {1605 (): (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void;1606 new (): any;1607 readonly prototype: any;1608 } | ((new (...args: any[]) => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | (() => (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void) | {1609 (): (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void;1610 new (): any;1611 readonly prototype: any;1612 })[], unknown, unknown, () => void, boolean>;1613 readonly onStart: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => void) | (() => (rawFile: import("./upload").UploadRawFile) => void) | {1614 (): (rawFile: import("./upload").UploadRawFile) => void;1615 new (): any;1616 readonly prototype: any;1617 } | ((new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => void) | (() => (rawFile: import("./upload").UploadRawFile) => void) | {1618 (): (rawFile: import("./upload").UploadRawFile) => void;1619 new (): any;1620 readonly prototype: any;1621 })[], unknown, unknown, () => void, boolean>;1622 readonly onSuccess: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | {1623 (): (response: any, rawFile: import("./upload").UploadRawFile) => unknown;1624 new (): any;1625 readonly prototype: any;1626 } | ((new (...args: any[]) => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | (() => (response: any, rawFile: import("./upload").UploadRawFile) => unknown) | {1627 (): (response: any, rawFile: import("./upload").UploadRawFile) => unknown;1628 new (): any;1629 readonly prototype: any;1630 })[], unknown, unknown, () => void, boolean>;1631 readonly onProgress: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | (() => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | {1632 (): (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void;1633 new (): any;1634 readonly prototype: any;1635 } | ((new (...args: any[]) => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | (() => (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void) | {1636 (): (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void;1637 new (): any;1638 readonly prototype: any;1639 })[], unknown, unknown, () => void, boolean>;1640 readonly onError: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | (() => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | {1641 (): (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void;1642 new (): any;1643 readonly prototype: any;1644 } | ((new (...args: any[]) => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | (() => (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void) | {1645 (): (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void;1646 new (): any;1647 readonly prototype: any;1648 })[], unknown, unknown, () => void, boolean>;1649 readonly onExceed: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | {1650 (): (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;1651 new (): any;1652 readonly prototype: any;1653 } | ((new (...args: any[]) => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | {1654 (): (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;1655 new (): any;1656 readonly prototype: any;1657 })[], unknown, unknown, () => void, boolean>;1658 readonly action: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;1659 readonly headers: {1660 readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;1661 readonly required: false;1662 readonly validator: ((val: unknown) => boolean) | undefined;1663 __epPropKey: true;1664 };1665 readonly method: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;1666 readonly data: import("../../../utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("../../../utils").Mutable<{}>, boolean>;1667 readonly multiple: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1668 readonly name: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;1669 readonly drag: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1670 readonly withCredentials: BooleanConstructor;1671 readonly showFileList: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;1672 readonly accept: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;1673 readonly type: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;1674 readonly fileList: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadUserFile[]) | (() => import("./upload").UploadUserFile[]) | ((new (...args: any[]) => import("./upload").UploadUserFile[]) | (() => import("./upload").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;1675 readonly autoUpload: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;1676 readonly listType: import("../../../utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;1677 readonly httpRequest: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadRequestHandler) | (() => import("./upload").UploadRequestHandler) | {1678 (): import("./upload").UploadRequestHandler;1679 new (): any;1680 readonly prototype: any;1681 } | ((new (...args: any[]) => import("./upload").UploadRequestHandler) | (() => import("./upload").UploadRequestHandler) | {1682 (): import("./upload").UploadRequestHandler;1683 new (): any;1684 readonly prototype: any;1685 })[], unknown, unknown, import("./upload").UploadRequestHandler, boolean>;1686 readonly disabled: BooleanConstructor;1687 readonly limit: NumberConstructor;1688 }>>, {1689 readonly type: string;1690 readonly disabled: boolean;1691 readonly name: string;1692 readonly drag: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1693 readonly multiple: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1694 readonly data: Record<string, any>;1695 readonly onError: (err: import("./ajax").UploadAjaxError, rawFile: import("./upload").UploadRawFile) => void;1696 readonly onProgress: (evt: import("./upload").UploadProgressEvent, rawFile: import("./upload").UploadRawFile) => void;1697 readonly action: string;1698 readonly method: string;1699 readonly showFileList: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1700 readonly accept: string;1701 readonly fileList: import("./upload").UploadUserFile[];1702 readonly autoUpload: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1703 readonly listType: import("../../../utils").EpPropMergeType<StringConstructor, "text" | "picture" | "picture-card", unknown>;1704 readonly httpRequest: import("./upload").UploadRequestHandler;1705 readonly withCredentials: boolean;1706 readonly beforeUpload: (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;1707 readonly onRemove: (file: import("./upload").UploadFile | import("./upload").UploadRawFile, rawFile?: import("./upload").UploadRawFile | undefined) => void;1708 readonly onSuccess: (response: any, rawFile: import("./upload").UploadRawFile) => unknown;1709 readonly onExceed: (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;1710 readonly onStart: (rawFile: import("./upload").UploadRawFile) => void;1711 }>;1712}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{1713 readonly beforeUpload: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {1714 (): (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;1715 new (): any;1716 readonly prototype: any;1717 } | ((new (...args: any[]) => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {1718 (): (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;1719 new (): any;1720 readonly prototype: any;1721 })[], unknown, unknown, () => void, boolean>;1722 readonly beforeRemove: {1723 readonly type: import("vue").PropType<(uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => import("../../../utils").Awaitable<boolean>>;1724 readonly required: false;1725 readonly validator: ((val: unknown) => boolean) | undefined;1726 __epPropKey: true;1727 };1728 readonly onRemove: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {1729 (): (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;1730 new (): any;1731 readonly prototype: any;1732 } | ((new (...args: any[]) => (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {1733 (): (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;1734 new (): any;1735 readonly prototype: any;1736 })[], unknown, unknown, () => void, boolean>;1737 readonly onChange: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {1738 (): (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;1739 new (): any;1740 readonly prototype: any;1741 } | ((new (...args: any[]) => (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {1742 (): (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;1743 new (): any;1744 readonly prototype: any;1745 })[], unknown, unknown, () => void, boolean>;1746 readonly onPreview: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("./upload").UploadFile) => void) | (() => (uploadFile: import("./upload").UploadFile) => void) | {1747 (): (uploadFile: import("./upload").UploadFile) => void;1748 new (): any;1749 readonly prototype: any;1750 } | ((new (...args: any[]) => (uploadFile: import("./upload").UploadFile) => void) | (() => (uploadFile: import("./upload").UploadFile) => void) | {1751 (): (uploadFile: import("./upload").UploadFile) => void;1752 new (): any;1753 readonly prototype: any;1754 })[], unknown, unknown, () => void, boolean>;1755 readonly onSuccess: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (response: any, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (response: any, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {1756 (): (response: any, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;1757 new (): any;1758 readonly prototype: any;1759 } | ((new (...args: any[]) => (response: any, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (response: any, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {1760 (): (response: any, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;1761 new (): any;1762 readonly prototype: any;1763 })[], unknown, unknown, () => void, boolean>;1764 readonly onProgress: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (evt: import("./upload").UploadProgressEvent, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (evt: import("./upload").UploadProgressEvent, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {1765 (): (evt: import("./upload").UploadProgressEvent, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;1766 new (): any;1767 readonly prototype: any;1768 } | ((new (...args: any[]) => (evt: import("./upload").UploadProgressEvent, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (evt: import("./upload").UploadProgressEvent, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {1769 (): (evt: import("./upload").UploadProgressEvent, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;1770 new (): any;1771 readonly prototype: any;1772 })[], unknown, unknown, () => void, boolean>;1773 readonly onError: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (error: Error, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (error: Error, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {1774 (): (error: Error, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;1775 new (): any;1776 readonly prototype: any;1777 } | ((new (...args: any[]) => (error: Error, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | (() => (error: Error, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void) | {1778 (): (error: Error, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;1779 new (): any;1780 readonly prototype: any;1781 })[], unknown, unknown, () => void, boolean>;1782 readonly onExceed: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | {1783 (): (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;1784 new (): any;1785 readonly prototype: any;1786 } | ((new (...args: any[]) => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void) | {1787 (): (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;1788 new (): any;1789 readonly prototype: any;1790 })[], unknown, unknown, () => void, boolean>;1791 readonly action: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;1792 readonly headers: {1793 readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;1794 readonly required: false;1795 readonly validator: ((val: unknown) => boolean) | undefined;1796 __epPropKey: true;1797 };1798 readonly method: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;1799 readonly data: import("../../../utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("../../../utils").Mutable<{}>, boolean>;1800 readonly multiple: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1801 readonly name: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;1802 readonly drag: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;1803 readonly withCredentials: BooleanConstructor;1804 readonly showFileList: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;1805 readonly accept: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;1806 readonly type: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;1807 readonly fileList: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadUserFile[]) | (() => import("./upload").UploadUserFile[]) | ((new (...args: any[]) => import("./upload").UploadUserFile[]) | (() => import("./upload").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;1808 readonly autoUpload: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;1809 readonly listType: import("../../../utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;1810 readonly httpRequest: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("./upload").UploadRequestHandler) | (() => import("./upload").UploadRequestHandler) | {1811 (): import("./upload").UploadRequestHandler;1812 new (): any;1813 readonly prototype: any;1814 } | ((new (...args: any[]) => import("./upload").UploadRequestHandler) | (() => import("./upload").UploadRequestHandler) | {1815 (): import("./upload").UploadRequestHandler;1816 new (): any;1817 readonly prototype: any;1818 })[], unknown, unknown, import("./upload").UploadRequestHandler, boolean>;1819 readonly disabled: BooleanConstructor;1820 readonly limit: NumberConstructor;1821}>>, {1822 readonly type: string;1823 readonly disabled: boolean;1824 readonly name: string;1825 readonly onChange: (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;1826 readonly drag: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1827 readonly multiple: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1828 readonly data: Record<string, any>;1829 readonly onError: (error: Error, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;1830 readonly onProgress: (evt: import("./upload").UploadProgressEvent, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;1831 readonly action: string;1832 readonly method: string;1833 readonly showFileList: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1834 readonly accept: string;1835 readonly fileList: import("./upload").UploadUserFile[];1836 readonly autoUpload: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;1837 readonly listType: import("../../../utils").EpPropMergeType<StringConstructor, "text" | "picture" | "picture-card", unknown>;1838 readonly httpRequest: import("./upload").UploadRequestHandler;1839 readonly withCredentials: boolean;1840 readonly beforeUpload: (rawFile: import("./upload").UploadRawFile) => import("../../../utils").Awaitable<boolean | void | File | Blob | null | undefined>;1841 readonly onRemove: (uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;1842 readonly onPreview: (uploadFile: import("./upload").UploadFile) => void;1843 readonly onSuccess: (response: any, uploadFile: import("./upload").UploadFile, uploadFiles: import("./upload").UploadFiles) => void;1844 readonly onExceed: (files: File[], uploadFiles: import("./upload").UploadUserFile[]) => void;1845}>;...
test_resumable_uploads.py
Source:test_resumable_uploads.py
...58 if not tmpdir:59 tmpdir = self._MakeTempDir()60 tracker_file = os.path.join(tmpdir, 'tracker')61 return tracker_file62 def test_non_resumable_upload(self):63 """64 Tests that non-resumable uploads work65 """66 small_src_file_as_string, small_src_file = self.make_small_file()67 # Seek to end incase its the first test.68 small_src_file.seek(0, os.SEEK_END)69 dst_key = self._MakeKey(set_contents=False)70 try:71 dst_key.set_contents_from_file(small_src_file)72 self.fail("should fail as need to rewind the filepointer")73 except AttributeError:74 pass75 # Now try calling with a proper rewind.76 dst_key.set_contents_from_file(small_src_file, rewind=True)77 self.assertEqual(SMALL_KEY_SIZE, dst_key.size)78 self.assertEqual(small_src_file_as_string,79 dst_key.get_contents_as_string())80 def test_upload_without_persistent_tracker(self):81 """82 Tests a single resumable upload, with no tracker URI persistence83 """84 res_upload_handler = ResumableUploadHandler()85 small_src_file_as_string, small_src_file = self.make_small_file()86 small_src_file.seek(0)87 dst_key = self._MakeKey(set_contents=False)88 dst_key.set_contents_from_file(89 small_src_file, res_upload_handler=res_upload_handler)90 self.assertEqual(SMALL_KEY_SIZE, dst_key.size)91 self.assertEqual(small_src_file_as_string,92 dst_key.get_contents_as_string())93 def test_failed_upload_with_persistent_tracker(self):94 """95 Tests that failed resumable upload leaves a correct tracker URI file96 """97 harness = CallbackTestHarness()98 tracker_file_name = self.make_tracker_file()99 res_upload_handler = ResumableUploadHandler(100 tracker_file_name=tracker_file_name, num_retries=0)101 small_src_file_as_string, small_src_file = self.make_small_file()102 small_src_file.seek(0)103 dst_key = self._MakeKey(set_contents=False)104 try:105 dst_key.set_contents_from_file(106 small_src_file, cb=harness.call,107 res_upload_handler=res_upload_handler)108 self.fail('Did not get expected ResumableUploadException')109 except ResumableUploadException as e:110 # We'll get a ResumableUploadException at this point because111 # of CallbackTestHarness (above). Check that the tracker file was112 # created correctly.113 self.assertEqual(e.disposition,114 ResumableTransferDisposition.ABORT_CUR_PROCESS)115 self.assertTrue(os.path.exists(tracker_file_name))116 f = open(tracker_file_name)117 uri_from_file = f.readline().strip()118 f.close()119 self.assertEqual(uri_from_file,120 res_upload_handler.get_tracker_uri())121 def test_retryable_exception_recovery(self):122 """123 Tests handling of a retryable exception124 """125 # Test one of the RETRYABLE_EXCEPTIONS.126 exception = ResumableUploadHandler.RETRYABLE_EXCEPTIONS[0]127 harness = CallbackTestHarness(exception=exception)128 res_upload_handler = ResumableUploadHandler(num_retries=1)129 small_src_file_as_string, small_src_file = self.make_small_file()130 small_src_file.seek(0)131 dst_key = self._MakeKey(set_contents=False)132 dst_key.set_contents_from_file(133 small_src_file, cb=harness.call,134 res_upload_handler=res_upload_handler)135 # Ensure uploaded object has correct content.136 self.assertEqual(SMALL_KEY_SIZE, dst_key.size)137 self.assertEqual(small_src_file_as_string,138 dst_key.get_contents_as_string())139 def test_broken_pipe_recovery(self):140 """141 Tests handling of a Broken Pipe (which interacts with an httplib bug)142 """143 exception = IOError(errno.EPIPE, "Broken pipe")144 harness = CallbackTestHarness(exception=exception)145 res_upload_handler = ResumableUploadHandler(num_retries=1)146 small_src_file_as_string, small_src_file = self.make_small_file()147 small_src_file.seek(0)148 dst_key = self._MakeKey(set_contents=False)149 dst_key.set_contents_from_file(150 small_src_file, cb=harness.call,151 res_upload_handler=res_upload_handler)152 # Ensure uploaded object has correct content.153 self.assertEqual(SMALL_KEY_SIZE, dst_key.size)154 self.assertEqual(small_src_file_as_string,155 dst_key.get_contents_as_string())156 def test_non_retryable_exception_handling(self):157 """158 Tests a resumable upload that fails with a non-retryable exception159 """160 harness = CallbackTestHarness(161 exception=OSError(errno.EACCES, 'Permission denied'))162 res_upload_handler = ResumableUploadHandler(num_retries=1)163 small_src_file_as_string, small_src_file = self.make_small_file()164 small_src_file.seek(0)165 dst_key = self._MakeKey(set_contents=False)166 try:167 dst_key.set_contents_from_file(168 small_src_file, cb=harness.call,169 res_upload_handler=res_upload_handler)170 self.fail('Did not get expected OSError')171 except OSError as e:172 # Ensure the error was re-raised.173 self.assertEqual(e.errno, 13)174 def test_failed_and_restarted_upload_with_persistent_tracker(self):175 """176 Tests resumable upload that fails once and then completes, with tracker177 file178 """179 harness = CallbackTestHarness()180 tracker_file_name = self.make_tracker_file()181 res_upload_handler = ResumableUploadHandler(182 tracker_file_name=tracker_file_name, num_retries=1)183 small_src_file_as_string, small_src_file = self.make_small_file()184 small_src_file.seek(0)185 dst_key = self._MakeKey(set_contents=False)186 dst_key.set_contents_from_file(187 small_src_file, cb=harness.call,188 res_upload_handler=res_upload_handler)189 # Ensure uploaded object has correct content.190 self.assertEqual(SMALL_KEY_SIZE, dst_key.size)191 self.assertEqual(small_src_file_as_string,192 dst_key.get_contents_as_string())193 # Ensure tracker file deleted.194 self.assertFalse(os.path.exists(tracker_file_name))195 def test_multiple_in_process_failures_then_succeed(self):196 """197 Tests resumable upload that fails twice in one process, then completes198 """199 res_upload_handler = ResumableUploadHandler(num_retries=3)200 small_src_file_as_string, small_src_file = self.make_small_file()201 small_src_file.seek(0)202 dst_key = self._MakeKey(set_contents=False)203 dst_key.set_contents_from_file(204 small_src_file, res_upload_handler=res_upload_handler)205 # Ensure uploaded object has correct content.206 self.assertEqual(SMALL_KEY_SIZE, dst_key.size)207 self.assertEqual(small_src_file_as_string,208 dst_key.get_contents_as_string())209 def test_multiple_in_process_failures_then_succeed_with_tracker_file(self):210 """211 Tests resumable upload that fails completely in one process,212 then when restarted completes, using a tracker file213 """214 # Set up test harness that causes more failures than a single215 # ResumableUploadHandler instance will handle, writing enough data216 # before the first failure that some of it survives that process run.217 harness = CallbackTestHarness(218 fail_after_n_bytes=LARGE_KEY_SIZE/2, num_times_to_fail=2)219 tracker_file_name = self.make_tracker_file()220 res_upload_handler = ResumableUploadHandler(221 tracker_file_name=tracker_file_name, num_retries=1)222 larger_src_file_as_string, larger_src_file = self.make_large_file()223 larger_src_file.seek(0)224 dst_key = self._MakeKey(set_contents=False)225 try:226 dst_key.set_contents_from_file(227 larger_src_file, cb=harness.call,228 res_upload_handler=res_upload_handler)229 self.fail('Did not get expected ResumableUploadException')230 except ResumableUploadException as e:231 self.assertEqual(e.disposition,232 ResumableTransferDisposition.ABORT_CUR_PROCESS)233 # Ensure a tracker file survived.234 self.assertTrue(os.path.exists(tracker_file_name))235 # Try it one more time; this time should succeed.236 larger_src_file.seek(0)237 dst_key.set_contents_from_file(238 larger_src_file, cb=harness.call,239 res_upload_handler=res_upload_handler)240 self.assertEqual(LARGE_KEY_SIZE, dst_key.size)241 self.assertEqual(larger_src_file_as_string,242 dst_key.get_contents_as_string())243 self.assertFalse(os.path.exists(tracker_file_name))244 # Ensure some of the file was uploaded both before and after failure.245 self.assertTrue(len(harness.transferred_seq_before_first_failure) > 1246 and247 len(harness.transferred_seq_after_first_failure) > 1)248 def test_upload_with_inital_partial_upload_before_failure(self):249 """250 Tests resumable upload that successfully uploads some content251 before it fails, then restarts and completes252 """253 # Set up harness to fail upload after several hundred KB so upload254 # server will have saved something before we retry.255 harness = CallbackTestHarness(256 fail_after_n_bytes=LARGE_KEY_SIZE/2)257 res_upload_handler = ResumableUploadHandler(num_retries=1)258 larger_src_file_as_string, larger_src_file = self.make_large_file()259 larger_src_file.seek(0)260 dst_key = self._MakeKey(set_contents=False)261 dst_key.set_contents_from_file(262 larger_src_file, cb=harness.call,263 res_upload_handler=res_upload_handler)264 # Ensure uploaded object has correct content.265 self.assertEqual(LARGE_KEY_SIZE, dst_key.size)266 self.assertEqual(larger_src_file_as_string,267 dst_key.get_contents_as_string())268 # Ensure some of the file was uploaded both before and after failure.269 self.assertTrue(len(harness.transferred_seq_before_first_failure) > 1270 and271 len(harness.transferred_seq_after_first_failure) > 1)272 def test_empty_file_upload(self):273 """274 Tests uploading an empty file (exercises boundary conditions).275 """276 res_upload_handler = ResumableUploadHandler()277 empty_src_file = StringIO.StringIO('')278 empty_src_file.seek(0)279 dst_key = self._MakeKey(set_contents=False)280 dst_key.set_contents_from_file(281 empty_src_file, res_upload_handler=res_upload_handler)282 self.assertEqual(0, dst_key.size)283 def test_upload_retains_metadata(self):284 """285 Tests that resumable upload correctly sets passed metadata286 """287 res_upload_handler = ResumableUploadHandler()288 headers = {'Content-Type' : 'text/plain', 'x-goog-meta-abc' : 'my meta',289 'x-goog-acl' : 'public-read'}290 small_src_file_as_string, small_src_file = self.make_small_file()291 small_src_file.seek(0)292 dst_key = self._MakeKey(set_contents=False)293 dst_key.set_contents_from_file(294 small_src_file, headers=headers,295 res_upload_handler=res_upload_handler)296 self.assertEqual(SMALL_KEY_SIZE, dst_key.size)297 self.assertEqual(small_src_file_as_string,298 dst_key.get_contents_as_string())299 dst_key.open_read()300 self.assertEqual('text/plain', dst_key.content_type)301 self.assertTrue('abc' in dst_key.metadata)302 self.assertEqual('my meta', str(dst_key.metadata['abc']))303 acl = dst_key.get_acl()304 for entry in acl.entries.entry_list:305 if str(entry.scope) == '<AllUsers>':306 self.assertEqual('READ', str(acl.entries.entry_list[1].permission))307 return308 self.fail('No <AllUsers> scope found')309 def test_upload_with_file_size_change_between_starts(self):310 """311 Tests resumable upload on a file that changes sizes between initial312 upload start and restart313 """314 harness = CallbackTestHarness(315 fail_after_n_bytes=LARGE_KEY_SIZE/2)316 tracker_file_name = self.make_tracker_file()317 # Set up first process' ResumableUploadHandler not to do any318 # retries (initial upload request will establish expected size to319 # upload server).320 res_upload_handler = ResumableUploadHandler(321 tracker_file_name=tracker_file_name, num_retries=0)322 larger_src_file_as_string, larger_src_file = self.make_large_file()323 larger_src_file.seek(0)324 dst_key = self._MakeKey(set_contents=False)325 try:326 dst_key.set_contents_from_file(327 larger_src_file, cb=harness.call,328 res_upload_handler=res_upload_handler)329 self.fail('Did not get expected ResumableUploadException')330 except ResumableUploadException as e:331 # First abort (from harness-forced failure) should be332 # ABORT_CUR_PROCESS.333 self.assertEqual(e.disposition, ResumableTransferDisposition.ABORT_CUR_PROCESS)334 # Ensure a tracker file survived.335 self.assertTrue(os.path.exists(tracker_file_name))336 # Try it again, this time with different size source file.337 # Wait 1 second between retry attempts, to give upload server a338 # chance to save state so it can respond to changed file size with339 # 500 response in the next attempt.340 time.sleep(1)341 try:342 largest_src_file = self.build_input_file(LARGEST_KEY_SIZE)[1]343 largest_src_file.seek(0)344 dst_key.set_contents_from_file(345 largest_src_file, res_upload_handler=res_upload_handler)346 self.fail('Did not get expected ResumableUploadException')347 except ResumableUploadException as e:348 # This abort should be a hard abort (file size changing during349 # transfer).350 self.assertEqual(e.disposition, ResumableTransferDisposition.ABORT)351 self.assertNotEqual(e.message.find('file size changed'), -1, e.message)352 def test_upload_with_file_size_change_during_upload(self):353 """354 Tests resumable upload on a file that changes sizes while upload355 in progress356 """357 # Create a file we can change during the upload.358 test_file_size = 500 * 1024 # 500 KB.359 test_file = self.build_input_file(test_file_size)[1]360 harness = CallbackTestHarness(fp_to_change=test_file,361 fp_change_pos=test_file_size)362 res_upload_handler = ResumableUploadHandler(num_retries=1)363 dst_key = self._MakeKey(set_contents=False)364 try:365 dst_key.set_contents_from_file(366 test_file, cb=harness.call,367 res_upload_handler=res_upload_handler)368 self.fail('Did not get expected ResumableUploadException')369 except ResumableUploadException as e:370 self.assertEqual(e.disposition, ResumableTransferDisposition.ABORT)371 self.assertNotEqual(372 e.message.find('File changed during upload'), -1)373 def test_upload_with_file_content_change_during_upload(self):374 """375 Tests resumable upload on a file that changes one byte of content376 (so, size stays the same) while upload in progress.377 """378 def Execute():379 res_upload_handler = ResumableUploadHandler(num_retries=1)380 dst_key = self._MakeKey(set_contents=False)381 bucket_uri = storage_uri('gs://' + dst_key.bucket.name)382 dst_key_uri = bucket_uri.clone_replace_name(dst_key.name)383 try:384 dst_key.set_contents_from_file(385 test_file, cb=harness.call,386 res_upload_handler=res_upload_handler)387 return False...
tasks.py
Source:tasks.py
1# Copyright Contributors to the fossdriver project.2# SPDX-License-Identifier: BSD-3-Clause OR MIT3import logging4class Task(object):5 def __init__(self, server, _type="unspecified"):6 self.server = server7 self._type = _type8 def __repr__(self):9 return "Task: {}".format(self._type)10 def run(self):11 """Run the specified Task and return success or failure."""12 return False13class CreateFolder(Task):14 def __init__(self, server, newFolderName, parentFolderName):15 super(CreateFolder, self).__init__(server, "CreateFolder")16 self.newFolderName = newFolderName17 self.parentFolderName = parentFolderName18 def __repr__(self):19 return "Task: {} (new folder {}, parent folder {})".format(self._type, self.newFolderName, self.parentFolderName)20 def run(self):21 """Create the folder and return success or failure."""22 logging.info("Running task: {}".format(self._type))23 # FIXME check whether the folder already exists24 # first, get the parent folder ID25 parentFolderNum = self.server.GetFolderNum(self.parentFolderName)26 if parentFolderNum is None or parentFolderNum == -1:27 logging.error("Failed: could not retrieve folder number for parent folder {}".format(self.parentFolderName))28 return False29 # now, create the folder30 logging.info("Creating folder {} in parent folder {} ({})".format(self.newFolderName, self.parentFolderName, parentFolderNum))31 self.server.CreateFolder(parentFolderNum, self.newFolderName, self.newFolderName)32 # FIXME check to see whether it was successfully created?33 # note that no waiting is necessary because this is an instant action34 return True35class Upload(Task):36 def __init__(self, server, filePath, folderName):37 super(Upload, self).__init__(server, "Upload")38 self.filePath = filePath39 self.folderName = folderName40 def __repr__(self):41 return "Task: {} (filePath {}, folder {})".format(self._type, self.filePath, self.folderName)42 def run(self):43 logging.info("Running task: {}".format(self._type))44 """Start the upload, wait until it completes and return success or failure."""45 # first, get the destination folder ID46 folderNum = self.server.GetFolderNum(self.folderName)47 if folderNum is None or folderNum == -1:48 logging.error("Failed: could not retrieve folder number for folder {}".format(self.folderName))49 return False50 # now, start the upload51 logging.info("Uploading {} to folder {} ({})".format(self.filePath, self.folderName, folderNum))52 newUploadNum = self.server.UploadFile(self.filePath, folderNum)53 if newUploadNum is None or newUploadNum < 1:54 logging.error("Failed: could not receive ID number for upload {}".format(self.filePath))55 return False56 logging.info("Upload complete, {} upload ID number is {}".format(self.filePath, newUploadNum))57 # and wait until upload finishes unpacking58 logging.info("Waiting for upload {} to unpack".format(newUploadNum))59 self.server.WaitUntilAgentIsDone(newUploadNum, "ununpack", pollSeconds=5)60 self.server.WaitUntilAgentIsDone(newUploadNum, "adj2nest", pollSeconds=5)61 return True62class Scanners(Task):63 def __init__(self, server, uploadName, folderName):64 super(Scanners, self).__init__(server, "Scanners")65 self.uploadName = uploadName66 self.folderName = folderName67 def __repr__(self):68 return "Task: {} (uploadName {}, folder {})".format(self._type, self.uploadName, self.folderName)69 def run(self):70 """Start the monk and nomos agents, wait until they complete and return success or failure."""71 logging.info("Running task: {}".format(self._type))72 # first, get the folder and then upload ID73 folderNum = self.server.GetFolderNum(self.folderName)74 if folderNum is None or folderNum == -1:75 logging.error("Failed: could not retrieve folder number for folder {}".format(self.folderName))76 return False77 uploadNum = self.server.GetUploadNum(folderNum, self.uploadName)78 if uploadNum is None or uploadNum == -1:79 logging.error("Failed: could not retrieve upload number for upload {} in folder {} ({})".format(self.uploadName, self.folderName, folderNum))80 return False81 # now, start the scanners82 logging.info("Running monk and nomos scanners on upload {} ({})".format(self.uploadName, uploadNum))83 self.server.StartMonkAndNomosAgents(uploadNum)84 # and wait until both scanners finish85 logging.info("Waiting for monk and nomos to finish for upload {} ({})".format(self.uploadName, uploadNum))86 self.server.WaitUntilAgentIsDone(uploadNum, "monk", pollSeconds=10)87 self.server.WaitUntilAgentIsDone(uploadNum, "nomos", pollSeconds=10)88 return True89class Copyright(Task):90 def __init__(self, server, uploadName, folderName):91 super(Copyright, self).__init__(server, "Copyright")92 self.uploadName = uploadName93 self.folderName = folderName94 def __repr__(self):95 return "Task: {} (uploadName {}, folder {})".format(self._type, self.uploadName, self.folderName)96 def run(self):97 """Start the copyright agent, wait until it completes and return success or failure."""98 logging.info("Running task: {}".format(self._type))99 # first, get the folder and then upload ID100 folderNum = self.server.GetFolderNum(self.folderName)101 if folderNum is None or folderNum == -1:102 logging.error("Failed: could not retrieve folder number for folder {}".format(self.folderName))103 return False104 uploadNum = self.server.GetUploadNum(folderNum, self.uploadName)105 if uploadNum is None or uploadNum == -1:106 logging.error("Failed: could not retrieve upload number for upload {} in folder {} ({})".format(self.uploadName, self.folderName, folderNum))107 return False108 # now, start the scanners109 logging.info("Running copyright agent on upload {} ({})".format(self.uploadName, uploadNum))110 self.server.StartCopyrightAgent(uploadNum)111 # and wait until both scanners finish112 logging.info("Waiting for copyright agent to finish for upload {} ({})".format(self.uploadName, uploadNum))113 self.server.WaitUntilAgentIsDone(uploadNum, "copyright", pollSeconds=5)114 return True115class Reuse(Task):116 def __init__(self, server, newUploadName, newFolderName, oldUploadName, oldFolderName):117 super(Reuse, self).__init__(server, "Reuse")118 self.oldUploadName = oldUploadName119 self.oldFolderName = oldFolderName120 self.newUploadName = newUploadName121 self.newFolderName = newFolderName122 self.exact = True123 def __repr__(self):124 return "Task: {} (old: uploadName {}, folder {}; new: uploadName {}, folder {})".format(self._type, self.oldUploadName, self.oldFolderName, self.newUploadName, self.newFolderName)125 def run(self):126 """Start the reuser agents, wait until it completes and return success or failure."""127 logging.info("Running task: {}".format(self._type))128 # first, get the old scan's folder and upload ID129 oldFolderNum = self.server.GetFolderNum(self.oldFolderName)130 if oldFolderNum is None or oldFolderNum == -1:131 logging.error("Failed: could not retrieve folder number for old folder {}".format(self.oldFolderName))132 return False133 oldUploadNum = self.server.GetUploadNum(oldFolderNum, self.oldUploadName, self.exact)134 if oldUploadNum is None or oldUploadNum == -1:135 logging.error("Failed: could not retrieve upload number for old upload {} in folder {} ({})".format(self.oldUploadName, self.oldFolderName, oldFolderNum))136 return False137 # next, get the new scan's folder and upload ID138 newFolderNum = self.server.GetFolderNum(self.newFolderName)139 if newFolderNum is None or newFolderNum == -1:140 logging.error("Failed: could not retrieve folder number for new folder {}".format(self.newFolderName))141 return False142 newUploadNum = self.server.GetUploadNum(newFolderNum, self.newUploadName, self.exact)143 if newUploadNum is None or newUploadNum == -1:144 logging.error("Failed: could not retrieve upload number for new upload {} in folder {} ({})".format(self.newUploadName, self.newFolderName, newFolderNum))145 return False146 # now, start the reuser agent147 logging.info("Running reuser agent on upload {} ({}) reusing old upload {} ({})".format(self.newUploadName, newUploadNum, self.oldUploadName, oldUploadNum))148 self.server.StartReuserAgent(newUploadNum, oldUploadNum)149 # and wait until reuser finishes150 logging.info("Waiting for reuser to finish for upload {} ({}) reusing old upload {} ({})".format(self.newUploadName, newUploadNum, self.oldUploadName, oldUploadNum))151 self.server.WaitUntilAgentIsDone(newUploadNum, "reuser", pollSeconds=5)152 return True153class BulkTextMatch(Task):154 def __init__(self, server, uploadName, folderName, refText):155 super(BulkTextMatch, self).__init__(server, "BulkTextMatch")156 self.uploadName = uploadName157 self.folderName = folderName158 self.refText = refText159 # actionTuples will be list of (str: licenseName, str: "add" or "remove")160 self.actionTuples = []161 self.parsedLicenses = None162 def add(self, licenseName):163 """Create an "add" action and include it in the bulk actions."""164 if self.server.IsAtLeastVersion("3.6.0"):165 actionTuple = (licenseName, "Add")166 else:167 actionTuple = (licenseName, "add")168 self.actionTuples.append(actionTuple)169 def remove(self, licenseName):170 """Create a "remove" action and include it in the bulk actions."""171 if self.server.IsAtLeastVersion("3.6.0"):172 actionTuple = (licenseName, "Remove")173 else:174 actionTuple = (licenseName, "remove")175 self.actionTuples.append(actionTuple)176 def _findLicenseID(self, licenseName):177 """Helper function: retrieve license ID for given license name."""178 # FIXME will only get licenses from server once, and will then cache179 # FIXME the result. this will be faster than retrieving the full list180 # FIXME every time an action is added / removed, but means that some181 # FIXME license changes on the server may not be reflected here.182 if self.parsedLicenses is None:183 # need to get upload ID + upload item ID so we can get licenses184 folderNum = self.server.GetFolderNum(self.folderName)185 if folderNum is None or folderNum == -1:186 logging.error("Failed: could not retrieve folder number for folder {} when getting licenses".format(self.folderName))187 return -1188 u = self.server._getUploadData(folderNum, self.uploadName, False)189 if u is None:190 logging.error("Failed: could not retrieve upload data for upload {} when getting licenses".format(self.uploadName))191 return -1192 self.parsedLicenses = self.server.GetLicenses(u._id, u.topTreeItemId)193 if self.parsedLicenses is None or self.parsedLicenses == []:194 logging.error("Failed: could not retrieve licenses for upload {}".format(self.uploadName))195 return -1196 lic = self.server.FindLicenseInParsedList(self.parsedLicenses, licenseName)197 return lic._id198 def _makeRealAction(self, licenseName, actionType):199 """Helper function: make an action entry at the time the Task is being run."""200 licenseId = self._findLicenseID(licenseName)201 if licenseId == -1:202 logging.error("Failed: could not get license ID for license {}".format(licenseName))203 return None204 return self.server.MakeBulkTextMatchAction(licenseId, licenseName, actionType)205 def run(self):206 """Start the monkbulk agent, wait until it completes and return success or failure."""207 logging.info("Running task: {}".format(self._type))208 folderNum = self.server.GetFolderNum(self.folderName)209 if folderNum is None or folderNum == -1:210 logging.error("Failed: could not retrieve folder number for folder {}".format(self.folderName))211 return False212 uploadNum = self.server.GetUploadNum(folderNum, self.uploadName)213 if uploadNum is None or uploadNum == -1:214 logging.error("Failed: could not retrieve upload number for upload {} in folder {} ({})".format(self.uploadName, self.folderName, folderNum))215 return False216 u = self.server._getUploadData(folderNum, self.uploadName, False)217 if u is None:218 logging.error("Failed: could not retrieve upload data for upload {} when getting licenses".format(self.uploadName))219 return -1220 # next, create the real actions list from the action tuples221 actionList = []222 for (licenseName, actionType) in self.actionTuples:223 a = self._makeRealAction(licenseName, actionType)224 if a is None:225 logging.error("Failed: could not create action for ({}, {}) for upload {}".format(licenseName, actionType, self.uploadName))226 return False227 actionList.append(a)228 # now, start the bulk text match agent229 logging.info("Running monkbulk agent on upload {}( {})".format(self.uploadName, uploadNum))230 self.server.StartBulkTextMatch(self.refText, u.topTreeItemId, actionList)231 # and wait until agent finishes232 logging.info("Waiting for monkbulk to finish for upload {} ({})".format(self.uploadName, uploadNum))233 self.server.WaitUntilAgentIsDone(uploadNum, "monkbulk", pollSeconds=5)234 return True235class SPDXTV(Task):236 def __init__(self, server, uploadName, folderName, outFilePath):237 super(SPDXTV, self).__init__(server, "SPDXTV")238 self.uploadName = uploadName239 self.folderName = folderName240 self.outFilePath = outFilePath241 def __repr__(self):242 return "Task: {} (uploadName {}, folder {}) to file {}".format(self._type, self.uploadName, self.folderName, self.outFilePath)243 def run(self):244 """Start the spdx2tv agents, wait until it completes and return success or failure."""245 logging.info("Running task: {}".format(self._type))246 # first, get the folder and then upload ID247 folderNum = self.server.GetFolderNum(self.folderName)248 if folderNum is None or folderNum == -1:249 logging.error("Failed: could not retrieve folder number for folder {}".format(self.folderName))250 return False251 uploadNum = self.server.GetUploadNum(folderNum, self.uploadName)252 if uploadNum is None or uploadNum == -1:253 logging.error("Failed: could not retrieve upload number for upload {} in folder {} ({})".format(self.uploadName, self.folderName, folderNum))254 return False255 # now, start the export agent256 logging.info("Running spdx2tv agent on upload {} ({})".format(self.uploadName, uploadNum))257 self.server.StartSPDXTVReportGeneratorAgent(uploadNum)258 # wait until the export agent finishes259 logging.info("Waiting for spdx2tv to finish for upload {} ({}".format(self.uploadName, uploadNum))260 self.server.WaitUntilAgentIsDone(uploadNum, "spdx2tv", pollSeconds=5)261 # finally, get and save the SPDX file262 retval = self.server.GetSPDXTVReport(uploadNum, self.outFilePath)263 return retval264class SPDXRDF(Task):265 def __init__(self, server, uploadName, folderName, outFilePath):266 super(SPDXRDF, self).__init__(server, "SPDXRDF")267 self.uploadName = uploadName268 self.folderName = folderName269 self.outFilePath = outFilePath270 def __repr__(self):271 return "Task: {} (uploadName {}, folder {}) to file {}".format(self._type, self.uploadName, self.folderName, self.outFilePath)272 def run(self):273 """Start the spdx2 agent, wait until it completes and return success or failure."""274 logging.info("Running task: {}".format(self._type))275 # first, get the folder and then upload ID276 folderNum = self.server.GetFolderNum(self.folderName)277 if folderNum is None or folderNum == -1:278 logging.error("Failed: could not retrieve folder number for folder {}".format(self.folderName))279 return False280 uploadNum = self.server.GetUploadNum(folderNum, self.uploadName)281 if uploadNum is None or uploadNum == -1:282 logging.error("Failed: could not retrieve upload number for upload {} in folder {} ({})".format(self.uploadName, self.folderName, folderNum))283 return False284 # now, start the export agent285 logging.info("Running spdx2 (RDF) agent on upload {} ({})".format(self.uploadName, uploadNum))286 self.server.StartSPDXRDFReportGeneratorAgent(uploadNum)287 # wait until the export agent finishes288 logging.info("Waiting for spdx2 (RDF) to finish for upload {} ({}".format(self.uploadName, uploadNum))289 self.server.WaitUntilAgentIsDone(uploadNum, "spdx2", pollSeconds=5)290 # finally, get and save the SPDX file291 retval = self.server.GetSPDXRDFReport(uploadNum, self.outFilePath)292 return retval293class ImportRDF(Task):294 def __init__(self, server, rdfPath, uploadName, folderName):295 super(ImportRDF, self).__init__(server, "ImportRDF")296 self.rdfPath = rdfPath297 self.uploadName = uploadName298 self.folderName = folderName299 def __repr__(self):300 return "Task: {} (rdfPath {}, upload {}, folder {})".format(self._type, self.rdfPath, self.uploadName, self.folderName)301 def run(self):302 """Start the RDF file upload, wait until it completes importing, and303 return success or failure."""304 logging.info("Running task: {}".format(self._type))305 # first, get the folder and then upload ID306 folderNum = self.server.GetFolderNum(self.folderName)307 if folderNum is None or folderNum == -1:308 logging.error("Failed: could not retrieve folder number for folder {}".format(self.folderName))309 return False310 uploadNum = self.server.GetUploadNum(folderNum, self.uploadName)311 if uploadNum is None or uploadNum == -1:312 logging.error("Failed: could not retrieve upload number for upload {} in folder {} ({})".format(self.uploadName, self.folderName, folderNum))313 return False314 # now, start uploading/importing the RDF file315 logging.info("Uploading and importing {} on upload {} ({})".format(self.rdfPath, self.uploadName, uploadNum))316 self.server.StartRDFImport(self.rdfPath, folderNum, uploadNum)317 # and wait until reportImport finishes318 logging.info("Waiting for reportImport agent to finish for upload {} ({})".format(self.uploadName, uploadNum))319 self.server.WaitUntilAgentIsDone(uploadNum, "reportImport", pollSeconds=5)...
uploads_test.py
Source:uploads_test.py
1#2# Copyright 2015 Google Inc.3#4# Licensed under the Apache License, Version 2.0 (the "License");5# you may not use this file except in compliance with the License.6# You may obtain a copy of the License at7#8# http://www.apache.org/licenses/LICENSE-2.09#10# Unless required by applicable law or agreed to in writing, software11# distributed under the License is distributed on an "AS IS" BASIS,12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13# See the License for the specific language governing permissions and14# limitations under the License.15"""Integration tests for uploading and downloading to GCS.16These tests exercise most of the corner cases for upload/download of17files in apitools, via GCS. There are no performance tests here yet.18"""19import json20import os21import random22import string23import unittest24import six25import apitools.base.py as apitools_base26import storage27_CLIENT = None28def _GetClient():29 global _CLIENT # pylint: disable=global-statement30 if _CLIENT is None:31 _CLIENT = storage.StorageV1()32 return _CLIENT33class UploadsTest(unittest.TestCase):34 _DEFAULT_BUCKET = 'apitools'35 _TESTDATA_PREFIX = 'uploads'36 def setUp(self):37 self.__client = _GetClient()38 self.__files = []39 self.__content = ''40 self.__buffer = None41 self.__upload = None42 def tearDown(self):43 self.__DeleteFiles()44 def __ResetUpload(self, size, auto_transfer=True):45 self.__content = ''.join(46 random.choice(string.ascii_letters) for _ in range(size))47 self.__buffer = six.StringIO(self.__content)48 self.__upload = storage.Upload.FromStream(49 self.__buffer, 'text/plain', auto_transfer=auto_transfer)50 def __DeleteFiles(self):51 for filename in self.__files:52 self.__DeleteFile(filename)53 def __DeleteFile(self, filename):54 object_name = os.path.join(self._TESTDATA_PREFIX, filename)55 req = storage.StorageObjectsDeleteRequest(56 bucket=self._DEFAULT_BUCKET, object=object_name)57 self.__client.objects.Delete(req)58 def __InsertRequest(self, filename):59 object_name = os.path.join(self._TESTDATA_PREFIX, filename)60 return storage.StorageObjectsInsertRequest(61 name=object_name, bucket=self._DEFAULT_BUCKET)62 def __GetRequest(self, filename):63 object_name = os.path.join(self._TESTDATA_PREFIX, filename)64 return storage.StorageObjectsGetRequest(65 object=object_name, bucket=self._DEFAULT_BUCKET)66 def __InsertFile(self, filename, request=None):67 if request is None:68 request = self.__InsertRequest(filename)69 response = self.__client.objects.Insert(request, upload=self.__upload)70 self.assertIsNotNone(response)71 self.__files.append(filename)72 return response73 def testZeroBytes(self):74 filename = 'zero_byte_file'75 self.__ResetUpload(0)76 response = self.__InsertFile(filename)77 self.assertEqual(0, response.size)78 def testSimpleUpload(self):79 filename = 'fifteen_byte_file'80 self.__ResetUpload(15)81 response = self.__InsertFile(filename)82 self.assertEqual(15, response.size)83 def testMultipartUpload(self):84 filename = 'fifteen_byte_file'85 self.__ResetUpload(15)86 request = self.__InsertRequest(filename)87 request.object = storage.Object(contentLanguage='en')88 response = self.__InsertFile(filename, request=request)89 self.assertEqual(15, response.size)90 self.assertEqual('en', response.contentLanguage)91 def testAutoUpload(self):92 filename = 'ten_meg_file'93 size = 10 << 2094 self.__ResetUpload(size)95 request = self.__InsertRequest(filename)96 response = self.__InsertFile(filename, request=request)97 self.assertEqual(size, response.size)98 def testStreamMedia(self):99 filename = 'ten_meg_file'100 size = 10 << 20101 self.__ResetUpload(size, auto_transfer=False)102 self.__upload.strategy = 'resumable'103 self.__upload.total_size = size104 request = self.__InsertRequest(filename)105 initial_response = self.__client.objects.Insert(106 request, upload=self.__upload)107 self.assertIsNotNone(initial_response)108 self.assertEqual(0, self.__buffer.tell())109 self.__upload.StreamMedia()110 self.assertEqual(size, self.__buffer.tell())111 def testBreakAndResumeUpload(self):112 filename = ('ten_meg_file_' +113 ''.join(random.sample(string.ascii_letters, 5)))114 size = 10 << 20115 self.__ResetUpload(size, auto_transfer=False)116 self.__upload.strategy = 'resumable'117 self.__upload.total_size = size118 # Start the upload119 request = self.__InsertRequest(filename)120 initial_response = self.__client.objects.Insert(121 request, upload=self.__upload)122 self.assertIsNotNone(initial_response)123 self.assertEqual(0, self.__buffer.tell())124 # Pretend the process died, and resume with a new attempt at the125 # same upload.126 upload_data = json.dumps(self.__upload.serialization_data)127 second_upload_attempt = apitools_base.Upload.FromData(128 self.__buffer, upload_data, self.__upload.http)129 second_upload_attempt._Upload__SendChunk(0)130 self.assertEqual(second_upload_attempt.chunksize, self.__buffer.tell())131 # Simulate a third try, and stream from there.132 final_upload_attempt = apitools_base.Upload.FromData(133 self.__buffer, upload_data, self.__upload.http)134 final_upload_attempt.StreamInChunks()135 self.assertEqual(size, self.__buffer.tell())136 # Verify the upload137 object_info = self.__client.objects.Get(self.__GetRequest(filename))138 self.assertEqual(size, object_info.size)139 # Confirm that a new attempt successfully does nothing.140 completed_upload_attempt = apitools_base.Upload.FromData(141 self.__buffer, upload_data, self.__upload.http)142 self.assertTrue(completed_upload_attempt.complete)143 completed_upload_attempt.StreamInChunks()144 # Verify the upload didn't pick up extra bytes.145 object_info = self.__client.objects.Get(self.__GetRequest(filename))146 self.assertEqual(size, object_info.size)147 # TODO(craigcitro): Add tests for callbacks (especially around148 # finish callback).149if __name__ == '__main__':...
index.ts
Source:index.ts
1import * as Typings from './types';2import {createActions, createReducer} from 'reduxsauce';3import update from 'immutability-helper';4export const {Types, Creators} = createActions<{5 ADD_UPLOAD: string,6 REMOVE_UPLOAD: string,7 UPDATE_PROGRESS: string,8 SET_UPLOAD_ERROR: string,9}, {10 addUpload(payload: Typings.AddUploadAction['payload']): Typings.AddUploadAction11 removeUpload(payload: Typings.RemoveUploadAction['payload']): Typings.RemoveUploadAction,12 updateProgress(payload: Typings.UpdateProgressAction['payload']): Typings.UpdateProgressAction,13 setUploadError(payload: Typings.SetUploadErrorAction['payload']): Typings.SetUploadErrorAction,14}>({15 addUpload: ['payload'],16 removeUpload: ['payload'],17 updateProgress: ['payload'],18 setUploadError: ['payload'],19});20export const INITIAL_STATE : Typings.UploadState= {21 uploads: []22};23const reducer = createReducer(INITIAL_STATE, {24 [Types.ADD_UPLOAD]: addUpload as any,25 [Types.REMOVE_UPLOAD]: removeUpload as any,26 [Types.UPDATE_PROGRESS]: updateProgress as any,27 [Types.SET_UPLOAD_ERROR]: setUploadError as any,28})29export default reducer;30function addUpload(state = INITIAL_STATE, action: Typings.AddUploadAction) : Typings.UploadState {31 if (!action.payload.files.length) {32 return state;33 }34 const index = fileIndexUpload(state, action.payload.video.id);35 if (index !== -1 && state.uploads[index].progress < 1) {36 return state;37 }38 const uploads = index === -139 ? state.uploads40 : update(state.uploads, {41 $splice: [[index, 1]]42 })43 return {44 uploads: [45 ...uploads,46 {47 video: action.payload.video,48 progress: 0,49 files: action.payload.files.map(file => ({50 fileField: file.fileField,51 filename: file.file.name,52 progress: 053 }))54 }55 ]56 } as Typings.UploadState;57}58function removeUpload(state: Typings.UploadState = INITIAL_STATE, action: Typings.RemoveUploadAction): Typings.UploadState {59 const uploads = state.uploads.filter(upload => upload.video.id !== action.payload.id);60 if (uploads.length === state.uploads.length) {61 return state;62 }63 return {64 uploads65 }66}67function updateProgress(state: Typings.UploadState = INITIAL_STATE, action: Typings.UpdateProgressAction): Typings.UploadState {68 const videoId = action.payload.video.id;69 const fileField = action.payload.fileField;70 const {indexUpload, indexFile} = findIndexUploadAndFile(state, videoId, fileField);71 if (typeof indexUpload === "undefined") {72 return state;73 }74 const upload = state.uploads[indexUpload];75 const file = upload.files[indexFile];76 if (file.progress === action.payload.progress) {77 return state;78 }79 const uploads = update(state.uploads, {80 [indexUpload]: {81 $apply(upload) {82 const files = update(upload.files, {83 [indexFile]: {84 $set: {...file, progress: action.payload.progress}85 }86 }) as any; //fui obrigado a colocar any senão o calculateGlobalProgress não aceita87 const progress = calculateGlobalProgress(files);88 return {...upload, progress, files}89 }90 }91 });92 return {uploads} as Typings.UploadState; //não reconhece que uploads será do tipo Typings.State93}94function setUploadError(state: Typings.UploadState = INITIAL_STATE, action: Typings.SetUploadErrorAction): Typings.UploadState {95 const videoId = action.payload.video.id;96 const fileField = action.payload.fileField;97 const {indexUpload, indexFile} = findIndexUploadAndFile(state, videoId, fileField);98 if (typeof indexUpload === "undefined") {99 return state;100 }101 const upload = state.uploads[indexUpload];102 const file = upload.files[indexFile];103 const uploads = update(state.uploads, {104 [indexUpload]: {105 files: {106 [indexFile]: {107 $set: {...file, error: action.payload.error, progress: 1}108 }109 }110 }111 });112 return {uploads} as Typings.UploadState; //não reconhece que uploads será do tipo Typings.State113}114function findIndexUploadAndFile(state: Typings.UploadState, videoId, fileField): {indexUpload?, indexFile?} {115 const indexUpload = fileIndexUpload(state, videoId);116 if (indexUpload === -1) {117 return {};118 }119 const upload = state.uploads[indexUpload];120 const indexFile = findIndexFile(upload.files, fileField);121 return indexFile === -1 ? {} : {indexUpload, indexFile}122}123function calculateGlobalProgress(files: Array<{progress}>) {124 const countFiles = files.length;125 if (! countFiles) {126 return 0;127 }128 const sumProgress = files.reduce((sum, file) => sum + file.progress, 0);129 return sumProgress / countFiles;130}131function fileIndexUpload(state: Typings.UploadState, id: string) {132 return state.uploads.findIndex((upload) => upload.video.id === id);133}134function findIndexFile(files: Array<{fileField}>, fileField: string) {135 return files.findIndex(file => file.fileField === fileField);...
tests.py
Source:tests.py
1"""Test objects used to test the endpoints of the upload server api.2Usage: manage.py test3Classes:4 UploadServerTestCase()5"""6from django.core.files.uploadedfile import SimpleUploadedFile7from django.urls import reverse8from rest_framework import status9from rest_framework.test import APITestCase10from upload_server.models import OrderItem, Upload11class UploadServerTestCase(APITestCase):12 """Contains the test cases for the upload server endpoints."""13 def test_create_upload_success(self):14 """Test successful creation of an upload."""15 upload = SimpleUploadedFile(16 "upload.txt",17 b"2 | Eggs | 20\n3 | Milk | 2",18 content_type="text/plain",19 )20 response = self.client.post(21 reverse("create_upload"),22 {"file": upload},23 )24 upload_id = response.data.get("upload_id")25 upload = Upload.objects.get(pk=upload_id)26 self.assertEqual(response.status_code, status.HTTP_201_CREATED)27 self.assertIsNotNone(upload)28 def test_create_upload_malformed_data_fail(self):29 """Test failed upload creation when data is malformed."""30 upload = SimpleUploadedFile(31 "upload.txt", b"eggs", content_type="text/plain"32 )33 response = self.client.post(reverse("create_upload"), {"file": upload})34 self.assertEqual(35 response.status_code, status.HTTP_422_UNPROCESSABLE_ENTITY36 )37 def test_create_upload_missing_data_fail(self):38 """Test failed upload creation when data is missing."""39 response = self.client.post(reverse("create_upload"), {"file": ""})40 self.assertEqual(response.status_code, status.HTTP_400_BAD_REQUEST)41 def test_create_upload_wrong_method_fail(self):42 """Test that only post method allowed at /upload endpoint."""43 response = self.client.get(reverse("create_upload"))44 self.assertEqual(45 response.status_code, status.HTTP_405_METHOD_NOT_ALLOWED46 )47 def test_read_upload_success(self):48 """Test successful retrieval of an upload."""49 upload = Upload()50 upload.insert()51 order_item = OrderItem(52 order_id=2,53 product_name="Eggs",54 product_quantity=20,55 upload=upload,56 )57 order_item.insert()58 response = self.client.get(59 reverse("read_upload", kwargs={"upload_id": upload.id})60 )61 self.assertEqual(response.status_code, status.HTTP_200_OK)62 self.assertEqual(response.data.get("number_of_rows"), 1)63 self.assertEqual(response.data.get("items"), ["Eggs"])64 def test_read_upload_does_not_exist_fail(self):65 """Test failed upload retrieval when upload does not exist."""66 response = self.client.get(67 reverse("read_upload", kwargs={"upload_id": 1})68 )69 self.assertEqual(response.status_code, status.HTTP_404_NOT_FOUND)70 def test_read_upload_wrong_method_fail(self):71 """Test that only get method allowed at /upload/id endpoint."""72 response = self.client.delete(73 reverse("read_upload", kwargs={"upload_id": 1})74 )75 self.assertEqual(76 response.status_code, status.HTTP_405_METHOD_NOT_ALLOWED77 )78class UploadServerIntegrationTestCase(APITestCase):79 """Contains the integration test cases for the upload server endpoints."""80 def test_can_upload_and_then_read_success(self):81 """Test successful upload and then retrieval of an upload."""82 upload = SimpleUploadedFile(83 "upload.txt",84 b"2 | Eggs | 20\n3 | Milk | 2",85 content_type="text/plain",86 )87 response = self.client.post(88 reverse("create_upload"),89 {"file": upload},90 )91 upload_id = response.data.get("upload_id")92 upload = Upload.objects.get(pk=upload_id)93 self.assertEqual(response.status_code, status.HTTP_201_CREATED)94 self.assertIsNotNone(upload)95 response = self.client.get(96 reverse("read_upload", kwargs={"upload_id": upload_id})97 )98 self.assertEqual(response.status_code, status.HTTP_200_OK)99 self.assertEqual(response.data.get("number_of_rows"), 2)...
Using AI Code Generation
1var express = require('express');2var app = express();3var bp = require('./BestPractice.js');4var bodyParser = require('body-parser');5app.use(bodyParser.urlencoded({ extended: false }));6app.use(bodyParser.json());7app.use(bp.upload());8app.post('/', function (req, res) {9 if (req.files) {10 console.log(req.files);11 res.send("File uploaded successfully");12 }13 else {14 res.send("No File Uploaded");15 }16});17app.listen(3000, function () {18 console.log('Server Started on Port 3000');19});
Using AI Code Generation
1var BestBuy = require('bestbuy');2var bb = new BestBuy('key');3bb.products('(search=ipad)', {show: 'sku,name,regularPrice',pageSize: 2, page: 2}, function(err, data) {4 if(err) {5 console.log(err);6 } else {7 console.log(data);8 }9});
Using AI Code Generation
1var BestBuy = require('bestbuy');2var bb = new BestBuy('s7s7t9y9t9y9t9y9t9y9t9y9');3var fs = require('fs');4var request = require('request');5var path = require('path');6var filename = path.basename('./test4.js');7console.log(filename);8var options = {9 headers: {10 }11};12request(options, function(err, res, body) {13 if (err) {14 console.log('error:', err);15 } else if (res.statusCode !== 200) {16 console.log('statusCode:', res.statusCode);17 } else {18 var data = JSON.parse(body);19 console.log(data);20 console.log(data.products[0].sku);21 console.log(data.products[0].name);22 console.log(data.products[0].salePrice);23 console.log(data.products[1].sku);24 console.log(data.products[1].name);25 console.log(data.products[1].salePrice);26 console.log(data.products[2].sku);27 console.log(data.products[2].name);28 console.log(data.products[2].salePrice);29 console.log(data.products[3].sku);30 console.log(data.products[3].name);31 console.log(data.products[3].salePrice);32 console.log(data.products[4].sku);33 console.log(data.products[4].name);34 console.log(data.products[4].salePrice);35 console.log(data.products[5].sku);36 console.log(data.products[5].name);37 console.log(data.products[5].salePrice);38 console.log(data.products[6].sku);39 console.log(data.products[6].name);40 console.log(data.products[6].salePrice);41 console.log(data.products[7].sku);42 console.log(data.products[7].name);43 console.log(data.products[7].salePrice);44 console.log(data.products[8].sku);45 console.log(data.products[8].name);46 console.log(data.products[8].salePrice
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!