import{V as n,U as c}from"./element-plus.33d6376e.js";import{c as i}from"./@vueuse.88988742.js";import{d as p,s as f,r as d,o as u,c as m,U as _,L as v,I as x,a as h,T as b}from"./@vue.230e89ba.js";const C=p({__name:"index",props:n,setup(a){const l=a,e=f(),s=d(!1);return i(e,"mouseenter",()=>{var t,o;((t=e.value)==null?void 0:t.scrollWidth)>((o=e.value)==null?void 0:o.offsetWidth)?s.value=!1:s.value=!0}),(t,o)=>{const r=c;return u(),m("div",null,[_(r,x(l,{disabled:s.value,placement:"top",teleported:!1}),{default:v(()=>[h("div",{ref_key:"textRef",ref:e,class:"overflow-text truncate"},b(t.content),513)]),_:1},16,["disabled"])])}}});export{C as _};
