import{d as f,f as C,U as s,a2 as g,ad as k,af as t,k as r,G as l,a5 as F,a4 as w}from"./vue-vendor-CxLCUzY4.js";import{C as _}from"./index-DS3utcig.js";import{a2 as d,_ as S}from"./index-CLZzJyTP.js";import{P as y}from"./index-D55rh6hR.js";import"./antd-vue-vendor-CahNzUUa.js";import"./index-BZbg0EjM.js";import"./index-DvqyyN77.js";import"./index-CrdW4fN1.js";import"./useTimeout-KpZCXEcl.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./useContentHeight-DLfJuPsF.js";import"./useWindowSizeFn-D9PllI8g.js";import"./useContentViewHeight-BIb_dTbE.js";import"./usePageContext-FyDvfV_K.js";import"./injectionKey-DPVn4AgL.js";const D=f({components:{CollapseContainer:_,PageWrapper:y},setup(){const o=C(null),{enter:e,toggle:i,exit:a,isFullscreen:m}=d(),{toggle:p}=d(o);return{enter:e,toggleDom:p,toggle:i,isFullscreen:m,exit:a,domRef:o}}}),W={ref:"domRef",class:"flex items-center justify-center w-1/2 h-64 mx-auto mt-10 bg-white rounded-md"};function x(o,e,i,a,m,p){const n=s("a-button"),u=s("CollapseContainer"),c=s("PageWrapper");return g(),k(c,{title:"全屏示例"},{default:t(()=>[r(u,{class:"w-full h-32 bg-white rounded-md",title:"Window Full Screen"},{default:t(()=>[r(n,{type:"primary",onClick:o.enter,class:"mr-2"},{default:t(()=>e[0]||(e[0]=[l(" Enter Window Full Screen ")])),_:1},8,["onClick"]),r(n,{color:"success",onClick:o.toggle,class:"mr-2"},{default:t(()=>e[1]||(e[1]=[l(" Toggle Window Full Screen ")])),_:1},8,["onClick"]),r(n,{color:"error",onClick:o.exit,class:"mr-2"},{default:t(()=>e[2]||(e[2]=[l(" Exit Window Full Screen ")])),_:1},8,["onClick"]),l(" Current State: "+F(o.isFullscreen),1)]),_:1}),r(u,{class:"w-full mt-5 bg-white rounded-md",title:"Dom Full Screen"},{default:t(()=>[r(n,{type:"primary",onClick:o.toggleDom,class:"mr-2"},{default:t(()=>e[3]||(e[3]=[l(" Enter Dom Full Screen ")])),_:1},8,["onClick"])]),_:1}),w("div",W,[r(n,{type:"primary",onClick:o.toggleDom,class:"mr-2"},{default:t(()=>e[4]||(e[4]=[l(" Exit Dom Full Screen ")])),_:1},8,["onClick"])],512)]),_:1})}const H=S(D,[["render",x]]);export{H as default};
