text: import{ag as e}from"./index.63ccfb82.js";import{y as t,r as l,bh as o,Z as r,B as n,F as s,a2 as i,v as a,a9 as c,J as u}from"./vendor.880b4c6c.js";import{P as m}from"./index.19a7a7bf.js";/* empty css              *//* empty css              */import"./onMountedOrActivated.8f899bfb.js";import"./useWindowSizeFn.564cf32e.js";import"./useContentViewHeight.0b72030b.js";var d=t({components:{CollapseContainer:e,PageWrapper:m},setup(){const e=l(null),{enter:t,toggle:r,exit:n,isFullscreen:s}=o(),{toggle:i}=o(e);return{enter:t,toggleDom:i,toggle:r,isFullscreen:s,exit:n,domRef:e}}});const f=c(" Enter Window Full Screen "),g=c(" Toggle Window Full Screen "),p=c(" Exit Window Full Screen "),C=c(" Enter Dom Full Screen "),b={ref:"domRef",class:"flex items-center justify-center w-1/2 h-64 mx-auto mt-10 bg-white rounded-md"},w=c(" Exit Dom Full Screen ");d.render=function(e,t,l,o,m,d){const x=r("a-button"),F=r("CollapseContainer"),k=r("PageWrapper");return n(),s(k,{title:"全屏示例"},{default:i((()=>[a(F,{class:"w-full h-32 bg-white rounded-md",title:"Window Full Screen"},{default:i((()=>[a(x,{type:"primary",onClick:e.enter,class:"mr-2"},{default:i((()=>[f])),_:1},8,["onClick"]),a(x,{color:"success",onClick:e.toggle,class:"mr-2"},{default:i((()=>[g])),_:1},8,["onClick"]),a(x,{color:"error",onClick:e.exit,class:"mr-2"},{default:i((()=>[p])),_:1},8,["onClick"]),c(" Current State: "+u(e.isFullscreen),1)])),_:1}),a(F,{class:"w-full mt-5 bg-white rounded-md",title:"Dom Full Screen"},{default:i((()=>[a(x,{type:"primary",onClick:e.toggleDom,class:"mr-2"},{default:i((()=>[C])),_:1},8,["onClick"])])),_:1}),a("div",b,[a(x,{type:"primary",onClick:e.toggleDom,class:"mr-2"},{default:i((()=>[w])),_:1},8,["onClick"])],512)])),_:1})};export default d;
  