var u=(n,p,t)=>new Promise((a,i)=>{var l=o=>{try{r(t.next(o))}catch(e){i(e)}},c=o=>{try{r(t.throw(o))}catch(e){i(e)}},r=o=>o.done?a(o.value):Promise.resolve(o.value).then(l,c);r((t=t.apply(n,p)).next())});import{d as _,U as b,a2 as B,a3 as g,a4 as F,k as s,af as d,G as v,u as m,F as x}from"./vue-vendor-CxLCUzY4.js";import"./index-BkgeZpOO.js";import{B as M}from"./index-CF_FJn6P.js";import{a9 as k,_ as y}from"./index-CYriLmQo.js";import{u as h,B as C}from"./useForm-8o5KRzWo.js";import"./componentMap-7D1QIeNI.js";import"./antd-vue-vendor-CDWW6V_M.js";import"./useFormItem-CWa0w7fA.js";import"./index-BRTtls-l.js";import"./index-DOuVMe-q.js";import"./index-CxQILSKV.js";import"./index-ByLO0zSl.js";import"./useTimeout-DC8132dd.js";import"./vxe-table-vendor-B5h3MVdD.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./BasicModal-BBgVjypv.js";import"./ModalHeader-jGKMr-DQ.js";import"./useWindowSizeFn-BxrEMPtP.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";const R={style:{margin:"20px auto"}},V=_({__name:"BasicFormModal",setup(n){const p=[{label:"员工姓名",field:"name",component:"Input"},{label:"性别",field:"sex",component:"Select",componentProps:{options:[{label:"男",value:1},{label:"女",value:2},{label:"未知",value:3}]},defaultValue:3},{label:"年龄",field:"age",component:"Input"},{label:"入职时间",subLabel:"( 选填 )",field:"entryTime",component:"TimePicker"}],[t,{openModal:a}]=k(),[i,{validate:l,resetFields:c}]=h({schemas:p,showActionButtonGroup:!1});function r(){return u(this,null,function*(){a(!0,{})})}return(o,e)=>{const f=b("a-button");return B(),g(x,null,[F("div",R,[s(f,{type:"primary",onClick:r,class:"mr-2"},{default:d(()=>e[0]||(e[0]=[v(" 打开弹窗 ")])),_:1})]),s(m(M),{onRegister:m(t),title:"弹出层表单"},{default:d(()=>[s(m(C),{onRegister:m(i)},null,8,["onRegister"])]),_:1},8,["onRegister"])],64)}}}),Ro=y(V,[["__scopeId","data-v-33a0d22a"]]);export{Ro as default};
