import{d as f,f as u,U as n,a2 as d,ad as C,af as o,k as e,G as s}from"./vue-vendor-CxLCUzY4.js";import{C as k}from"./index-CYoRlduV.js";import{useWatermark as c}from"./useWatermark-DkpjxHHv.js";import{P as W}from"./index-CRgSyMPH.js";import{_}from"./index-Cy4uayzW.js";import"./antd-vue-vendor-CahNzUUa.js";import"./index-DYB8Ashr.js";import"./index-Bdn0r8CG.js";import"./index-CrdW4fN1.js";import"./useTimeout-gJpgadD6.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./useContentHeight-XU-h1taH.js";import"./useWindowSizeFn-DDyhhqyw.js";import"./useContentViewHeight-Qm4QNm5l.js";import"./usePageContext-CXQdt-5h.js";import"./injectionKey-DPVn4AgL.js";const $=f({components:{CollapseContainer:k,PageWrapper:W},setup(){const t=u(null),{setWatermark:r,clear:p}=c();return{setWatermark:r,clear:p,areaRef:t}}});function g(t,r,p,w,b,P){const a=n("a-button"),m=n("CollapseContainer"),l=n("PageWrapper");return d(),C(l,{title:"水印示例"},{default:o(()=>[e(m,{class:"w-full h-32 bg-white rounded-md",title:"Global WaterMark"},{default:o(()=>[e(a,{type:"primary",class:"mr-2",onClick:r[0]||(r[0]=i=>t.setWatermark("WaterMark Info"))},{default:o(()=>r[2]||(r[2]=[s(" Create ")])),_:1}),e(a,{color:"error",class:"mr-2",onClick:t.clear},{default:o(()=>r[3]||(r[3]=[s(" Clear ")])),_:1},8,["onClick"]),e(a,{color:"warning",class:"mr-2",onClick:r[1]||(r[1]=i=>t.setWatermark("WaterMark Info New"))},{default:o(()=>r[4]||(r[4]=[s(" Reset ")])),_:1})]),_:1})]),_:1})}const D=_($,[["render",g]]);export{D as default};
