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-CDWW6V_M.js";import{a as u}from"./index-qSr7C5NQ.js";import R from"./Drawer1-DV7l-290.js";import B from"./Drawer2-Ceew9F1a.js";import $ from"./Drawer3-_n3TDfLC.js";import _ from"./Drawer4-BFuzCTp9.js";import P from"./Drawer5-BlUm8Kni.js";import{P as v}from"./index-BxgvQLkr.js";import{_ as W}from"./index-CYriLmQo.js";import"./index-CxQILSKV.js";import"./index-BRTtls-l.js";import"./index-DOuVMe-q.js";import"./index-ByLO0zSl.js";import"./useTimeout-DC8132dd.js";import"./vxe-table-vendor-B5h3MVdD.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./index-BkgeZpOO.js";import"./useForm-8o5KRzWo.js";import"./componentMap-7D1QIeNI.js";import"./useFormItem-CWa0w7fA.js";import"./index-CF_FJn6P.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";import"./useContentHeight-DtBiGC0g.js";import"./useContentViewHeight-D71xl1HH.js";import"./usePageContext-CCgh0KDo.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 qr=W(b,[["render",L]]);export{qr as default};
