import{d as c,U as r,a2 as l,ad as d,af as f,k as t}from"./vue-vendor-CxLCUzY4.js";import{B as g}from"./componentMap-7D1QIeNI.js";import{u as _,_ as B}from"./index-CYriLmQo.js";import"./index-BkgeZpOO.js";import{P as C}from"./index-BxgvQLkr.js";import{A as e}from"./antd-vue-vendor-CDWW6V_M.js";import{u as a}from"./upload-IuglDJ8l.js";import{u as h,B as A}from"./useForm-8o5KRzWo.js";import"./useFormItem-CWa0w7fA.js";import"./index-CF_FJn6P.js";import"./BasicModal-BBgVjypv.js";import"./ModalHeader-jGKMr-DQ.js";import"./useTimeout-DC8132dd.js";import"./vxe-table-vendor-B5h3MVdD.js";import"./index-CxQILSKV.js";import"./useWindowSizeFn-BxrEMPtP.js";import"./index-BRTtls-l.js";import"./index-DOuVMe-q.js";import"./index-ByLO0zSl.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./download-CkbK5et1.js";import"./base64Conver-24EVOS6V.js";import"./index-QMJkXEyl.js";import"./index-Bb_NRLur.js";import"./useCountdown-C3-PRPLY.js";import"./useFormItemSingle-DM34aWgK.js";import"./JSelectUser-nVFm3ao2.js";import"./props-DoGpHXAD.js";import"./JSelectBiz-BW6f3e--.js";import"./JAddInput-CXT54-j9.js";import"./areaDataUtil-DFHnz1wu.js";import"./china-area-data-vendor-D0sJ9kfX.js";import"./index-BTSd5ebC.js";import"./index-BTAl55Kt.js";import"./bem-2ra1afoV.js";import"./props-BLY2qIO5.js";import"./useContextMenu-DYyhcDf7.js";import"./depart.api-C9T5xfw6.js";import"./JDictSelectTag-Jqy9TBcS.js";import"./JSelectDept-DorRVguN.js";import"./JPopup-KP1kIsae.js";import"./JEllipsis-287cEHxd.js";import"./JUpload-pyrTRFCz.js";import"./index-Bx9Mnn3N.js";import"./index-B1-pj6uh.js";import"./index-isxCPgHp.js";import"./JAreaLinkage-DFTeDmm8.js";import"./JCodeEditor-_KZ8XnNK.js";import"./htmlmixed-DRe7JlAp.js";import"./vue-B0b3nX1K.js";/* empty css             */import"./EasyCronInput-XK54XB3r.js";import"./useContentHeight-DtBiGC0g.js";import"./useContentViewHeight-D71xl1HH.js";import"./usePageContext-CCgh0KDo.js";import"./injectionKey-DPVn4AgL.js";const F=[{field:"field1",component:"Upload",label:"字段1",colProps:{span:8},rules:[{required:!0,message:"请选择上传文件"}],componentProps:{api:a}}],P=c({components:{BasicUpload:g,BasicForm:A,PageWrapper:C,[e.name]:e},setup(){const{createMessage:o}=_(),[p]=h({labelWidth:120,schemas:F,actionColOptions:{span:16}});return{handleChange:i=>{o.info(`已上传文件${JSON.stringify(i)}`)},uploadApi:a,register:p}}});function U(o,p,i,$,x,W){const m=r("a-alert"),s=r("BasicUpload"),n=r("BasicForm"),u=r("PageWrapper");return l(),d(u,{title:"上传组件示例"},{default:f(()=>[t(m,{message:"基础示例"}),t(s,{maxSize:20,maxNumber:10,onChange:o.handleChange,api:o.uploadApi,class:"my-5",accept:["image/*"]},null,8,["onChange","api"]),t(m,{message:"嵌入表单,加入表单校验"}),t(n,{onRegister:o.register,class:"my-5"},null,8,["onRegister"])]),_:1})}const Eo=B(P,[["render",U]]);export{Eo as default};
