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-CC3OF1BO.js";import R from"./Drawer1-BkannA6W.js";import B from"./Drawer2-B9rLmkUT.js";import $ from"./Drawer3-Dmyo7001.js";import _ from"./Drawer4-I9otCOqJ.js";import P from"./Drawer5-Cq5ayn15.js";import{P as v}from"./index-DaObvZxT.js";import{_ as W}from"./index-B_2CoVdl.js";import"./index-DAURrYyA.js";import"./index-Dz2zbQB_.js";import"./index-exs4VcBw.js";import"./index-ByLO0zSl.js";import"./useTimeout-CB9F1PLu.js";import"./vxe-table-vendor-B5h3MVdD.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./index-ARbUvvsq.js";import"./useForm-CcjrODHR.js";import"./componentMap-CzCGDP7x.js";import"./useFormItem-CWa0w7fA.js";import"./index-D2AmS0aU.js";import"./BasicModal-D3g2CFhF.js";import"./ModalHeader-C-C0dUi_.js";import"./useWindowSizeFn-C3WExEpc.js";import"./download-2tYEzlDW.js";import"./base64Conver-24EVOS6V.js";import"./index-Cgt544dC.js";import"./index-BZ9ST2iq.js";import"./useCountdown-ImUE7YaG.js";import"./useFormItemSingle-DM34aWgK.js";import"./JSelectUser-BQIJUcBR.js";import"./props-BCVPj-bG.js";import"./JSelectBiz-CJyWq5s2.js";import"./JAddInput-YFlAniYT.js";import"./areaDataUtil-DFHnz1wu.js";import"./china-area-data-vendor-D0sJ9kfX.js";import"./index-CkL00Q0a.js";import"./index-BKs2x_To.js";import"./bem-C6eT35UB.js";import"./props-BLY2qIO5.js";import"./useContextMenu-CSt5a1-F.js";import"./depart.api-0qTriT9h.js";import"./JDictSelectTag-CxpDdimB.js";import"./JSelectDept-wKz_Qtmc.js";import"./JPopup-BJBYqoWe.js";import"./JEllipsis-Cn7GCKHR.js";import"./JUpload-DzM-D4DX.js";import"./index-khU3p_On.js";import"./index-DPEnuI0R.js";import"./index-Cnb8BkwG.js";import"./JAreaLinkage-CSgDAlrn.js";import"./JCodeEditor-esTLnfS3.js";import"./htmlmixed-DRe7JlAp.js";import"./vue-B0b3nX1K.js";/* empty css             */import"./EasyCronInput-DclSHT47.js";import"./useContentHeight-BWLGvKEC.js";import"./useContentViewHeight-DlpfApuB.js";import"./usePageContext-HMYqek-Q.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};
