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-BRTtls-l.js";import{useWatermark as c}from"./useWatermark-BdY63P1x.js";import{P as W}from"./index-BxgvQLkr.js";import{_}from"./index-CYriLmQo.js";import"./antd-vue-vendor-CDWW6V_M.js";import"./index-DOuVMe-q.js";import"./index-CxQILSKV.js";import"./index-ByLO0zSl.js";import"./useTimeout-DC8132dd.js";import"./vxe-table-vendor-B5h3MVdD.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./useContentHeight-DtBiGC0g.js";import"./useWindowSizeFn-BxrEMPtP.js";import"./useContentViewHeight-D71xl1HH.js";import"./usePageContext-CCgh0KDo.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};
