import{A as e,D as t,_ as n,pt as r}from"./vue.runtime.esm-bundler-gHHLlCcd.js";import{C as i,it as a,kt as o,m as s,w as c}from"./_plugin-vue_export-helper-BgFcNt9i.js";import{i as l,n as u,t as d}from"./Popover-ByKUlXkA.js";var f=t({name:`Add`,render(){return e(`svg`,{width:`512`,height:`512`,viewBox:`0 0 512 512`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},e(`path`,{d:`M256 112V400M400 256H112`,stroke:`currentColor`,"stroke-width":`32`,"stroke-linecap":`round`,"stroke-linejoin":`round`}))}}),p={padding:`8px 14px`};function m(e){let{borderRadius:t,boxShadow2:n,baseColor:r}=e;return Object.assign(Object.assign({},p),{borderRadius:t,boxShadow:n,color:o(r,`rgba(0, 0, 0, .85)`),textColor:r})}var h=i({name:`Tooltip`,common:s,peers:{Popover:l},self:m}),g=t({name:`Tooltip`,props:Object.assign(Object.assign({},u),c.props),slots:Object,__popover__:!0,setup(e){let{mergedClsPrefixRef:t}=a(e),i=c(`Tooltip`,`-tooltip`,void 0,h,e,t),o=r(null);return Object.assign(Object.assign({},{syncPosition(){o.value.syncPosition()},setShow(e){o.value.setShow(e)}}),{popoverRef:o,mergedTheme:i,popoverThemeOverrides:n(()=>i.value.self)})},render(){let{mergedTheme:t,internalExtraClass:n}=this;return e(d,Object.assign(Object.assign({},this.$props),{theme:t.peers.Popover,themeOverrides:t.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:n.concat(`tooltip`),ref:`popoverRef`}),this.$slots)}});export{f as i,h as n,p as r,g as t};