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-DpsJvoqz.js";import{u as _,_ as B}from"./index-CLZzJyTP.js";import"./index-ByX9XNkE.js";import{P as C}from"./index-D55rh6hR.js";import{A as e}from"./antd-vue-vendor-CahNzUUa.js";import{u as a}from"./upload-Dv8bNsjS.js";import{u as h,B as A}from"./useForm-Dx3lJ3DG.js";import"./useFormItem-IOFWTdED.js";import"./index-XZKTTfG1.js";import"./BasicModal-B8XmAOm7.js";import"./ModalHeader-DIFQSP_0.js";import"./useTimeout-KpZCXEcl.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./index-DvqyyN77.js";import"./useWindowSizeFn-D9PllI8g.js";import"./index-DS3utcig.js";import"./index-BZbg0EjM.js";import"./index-CrdW4fN1.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./download-DopMSmFN.js";import"./base64Conver-24EVOS6V.js";import"./index-CDa2_aYE.js";import"./index-D0jTtUNS.js";import"./useCountdown-BpP55PQ2.js";import"./useFormItemSingle-BEyrYQqf.js";import"./JSelectUser-CfAGgHjD.js";import"./props-BtZrRNiI.js";import"./JSelectBiz-CLnJTMe2.js";import"./JAddInput-B36c3B5x.js";import"./areaDataUtil-Dk3xkGfK.js";import"./china-area-data-vendor-ByvEpbzN.js";import"./index-C7yPiS0L.js";import"./index-44tRnyoF.js";import"./bem-DT3DdmOs.js";import"./props-CG-jAkbI.js";import"./useContextMenu-BGU2vdqV.js";import"./depart.api-DHG2p2Yd.js";import"./JImageUpload-BFwNYdm5.js";import"./JDictSelectTag-CfF54ALX.js";import"./JSelectDept-CaEHrQp6.js";import"./JPopup-BvqhHpPl.js";import"./JEllipsis-C_gT_vEQ.js";import"./JUpload-DgDEmizw.js";import"./index-Bn2zmO2L.js";import"./index-CEznvAVZ.js";import"./index-CfAukas3.js";import"./JAreaLinkage-M9TGy8nY.js";import"./JCodeEditor-CR57XeIe.js";import"./htmlmixed-DoVLO6sG.js";import"./vue-DY75b9GC.js";/* empty css             */import"./EasyCronInput-CWOTSpxK.js";import"./useContentHeight-DLfJuPsF.js";import"./useContentViewHeight-BIb_dTbE.js";import"./usePageContext-FyDvfV_K.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 No=B(P,[["render",U]]);export{No as default};
