import{defineComponent as p,ref as s,createVNode as i}from"vue";import f from"../_util/props-util/initDefaultProps.mjs";import u from"./AjaxUploader.mjs";import{uploadProps as m}from"./interface.mjs";function o(){}const g=p({compatConfig:{MODE:3},name:"Upload",inheritAttrs:!1,props:f(m(),{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(t,{slots:r,attrs:a,expose:l}){const e=s();return l({abort:n=>{e.value?.abort(n)}}),()=>i(u,{...t,...a,ref:e},r)}});export{g as default};
