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-Dz2zbQB_.js";import{useWatermark as c}from"./useWatermark-DDd6Npqc.js";import{P as W}from"./index-DaObvZxT.js";import{_}from"./index-B_2CoVdl.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 $=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};
