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