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