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-DS3utcig.js";import{useWatermark as c}from"./useWatermark-CZ98v5II.js";import{P as W}from"./index-D55rh6hR.js";import{_}from"./index-CLZzJyTP.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 $=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};
