import{d as c,U as t,a2 as E,ad as A,af as n,k as o,G as m}from"./vue-vendor-CxLCUzY4.js";import{A as k}from"./antd-vue-vendor-CahNzUUa.js";import{a as u}from"./index-CJ4Xt1FM.js";import R from"./Drawer1-CHMPpqV9.js";import B from"./Drawer2-CUVcZoag.js";import $ from"./Drawer3-_AmH9FxL.js";import _ from"./Drawer4-CKqGHwO2.js";import P from"./Drawer5-dIRADlJj.js";import{P as v}from"./index-CRgSyMPH.js";import{_ as W}from"./index-Cy4uayzW.js";import"./index-Bdn0r8CG.js";import"./index-CYoRlduV.js";import"./index-DYB8Ashr.js";import"./index-CrdW4fN1.js";import"./useTimeout-gJpgadD6.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./index-BN26Feep.js";import"./useForm-DfoT2G6J.js";import"./componentMap-0iK4HQBq.js";import"./useFormItem-IOFWTdED.js";import"./index-zKZnG1QC.js";import"./BasicModal-sKcs_9Ir.js";import"./ModalHeader-ByCVDoqO.js";import"./useWindowSizeFn-DDyhhqyw.js";import"./download-Bn4f3tzD.js";import"./base64Conver-24EVOS6V.js";import"./index-D6H6KsT6.js";import"./index-CLxBW_h0.js";import"./useCountdown-2P9HvnfJ.js";import"./useFormItemSingle-BEyrYQqf.js";import"./JSelectUser-B98pRPrS.js";import"./props-CtlWAg-s.js";import"./JSelectBiz-vYDBA0SK.js";import"./JAddInput-DP4caUmw.js";import"./areaDataUtil-Dk3xkGfK.js";import"./china-area-data-vendor-ByvEpbzN.js";import"./index-tDBMxW9-.js";import"./index-CNQBnF3P.js";import"./bem-IZKqD41e.js";import"./props-CG-jAkbI.js";import"./useContextMenu-Q6J5bB_u.js";import"./depart.api-B8q8MC-j.js";import"./JImageUpload-C5OCTlCG.js";import"./JDictSelectTag-CalJXNVe.js";import"./JSelectDept-D-TUaHvK.js";import"./JPopup-CVHkQZFq.js";import"./JEllipsis-TuDc52fh.js";import"./JUpload-DSWoDwh2.js";import"./index-B4vNk56t.js";import"./index-Dc7Jr5-j.js";import"./index-Dm1rPBfc.js";import"./JAreaLinkage-CTMEfTuh.js";import"./JCodeEditor-U9QIstNN.js";import"./htmlmixed-DoVLO6sG.js";import"./vue-DY75b9GC.js";/* empty css             */import"./EasyCronInput-CZdChTcP.js";import"./useContentHeight-XU-h1taH.js";import"./useContentViewHeight-Qm4QNm5l.js";import"./usePageContext-CXQdt-5h.js";import"./injectionKey-DPVn4AgL.js";const b=c({components:{Alert:k,PageWrapper:v,Drawer1:R,Drawer2:B,Drawer3:$,Drawer4:_,Drawer5:P},setup(){const[e,{openDrawer:r,setDrawerProps:s}]=u(),[f,{openDrawer:d}]=u(),[C,{openDrawer:i}]=u(),[p,{openDrawer:a}]=u(),[w,{openDrawer:D}]=u();function l(){a(!0,{data:"content",info:"Info"})}function g(){r(),s({loading:!0}),setTimeout(()=>{s({loading:!1})},2e3)}return{register1:e,openDrawer1:r,register2:f,openDrawer2:d,register3:C,openDrawer3:i,register4:p,register5:w,openDrawer5:D,send:l,openDrawerLoading:g}}});function L(e,r,s,f,d,C){const i=t("Alert"),p=t("a-button"),a=t("Drawer1"),w=t("Drawer2"),D=t("Drawer3"),l=t("Drawer4"),g=t("Drawer5"),y=t("PageWrapper");return E(),A(y,{title:"抽屉组件使用示例"},{default:n(()=>[o(i,{message:"使用 useDrawer 进行抽屉操作","show-icon":""}),o(p,{type:"primary",class:"my-4",onClick:e.openDrawerLoading},{default:n(()=>r[3]||(r[3]=[m(" 打开Drawer ")])),_:1},8,["onClick"]),o(i,{message:"内外同时控制显示隐藏","show-icon":""}),o(p,{type:"primary",class:"my-4",onClick:r[0]||(r[0]=F=>e.openDrawer2(!0))},{default:n(()=>r[4]||(r[4]=[m(" 打开Drawer ")])),_:1}),o(i,{message:"自适应高度/显示footer","show-icon":""}),o(p,{type:"primary",class:"my-4",onClick:r[1]||(r[1]=F=>e.openDrawer3(!0))},{default:n(()=>r[5]||(r[5]=[m(" 打开Drawer ")])),_:1}),o(i,{message:"内外数据交互","show-icon":""}),o(p,{type:"primary",class:"my-4",onClick:e.send},{default:n(()=>r[6]||(r[6]=[m(" 打开Drawer并传递数据 ")])),_:1},8,["onClick"]),o(i,{message:"详情页模式","show-icon":""}),o(p,{type:"primary",class:"my-4",onClick:r[2]||(r[2]=F=>e.openDrawer5(!0))},{default:n(()=>r[7]||(r[7]=[m(" 打开详情Drawer ")])),_:1}),o(a,{onRegister:e.register1},null,8,["onRegister"]),o(w,{onRegister:e.register2},null,8,["onRegister"]),o(D,{onRegister:e.register3},null,8,["onRegister"]),o(l,{onRegister:e.register4},null,8,["onRegister"]),o(g,{onRegister:e.register5},null,8,["onRegister"])]),_:1})}const zr=W(b,[["render",L]]);export{zr as default};
