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-Dz2zbQB_.js";import{a2 as d,_ as S}from"./index-B_2CoVdl.js";import{P as y}from"./index-DaObvZxT.js";import"./antd-vue-vendor-CDWW6V_M.js";import"./index-exs4VcBw.js";import"./index-DAURrYyA.js";import"./index-ByLO0zSl.js";import"./useTimeout-CB9F1PLu.js";import"./vxe-table-vendor-B5h3MVdD.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./useContentHeight-BWLGvKEC.js";import"./useWindowSizeFn-C3WExEpc.js";import"./useContentViewHeight-DlpfApuB.js";import"./usePageContext-HMYqek-Q.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};
