const e=require("../_util/props-util/initDefaultProps.js"),t=require("./interface.js"),n=require("./AjaxUploader.js");let r=require("vue");function i(){}var a=(0,r.defineComponent)({compatConfig:{MODE:3},name:`Upload`,inheritAttrs:!1,props:e.default(t.uploadProps(),{componentTag:`span`,prefixCls:`rc-upload`,data:{},headers:{},name:`file`,multipart:!1,onStart:i,onError:i,onSuccess:i,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0}),setup(e,{slots:t,attrs:i,expose:a}){let o=(0,r.ref)();return a({abort:e=>{o.value?.abort(e)}}),()=>(0,r.createVNode)(n.default,{...e,...i,ref:o},t)}});exports.default=a;