import{d as p,e as r,U as c,a2 as u,ad as i,af as o,G as m,a5 as n,a4 as f}from"./vue-vendor-CxLCUzY4.js";import{F as a}from"./index-CYriLmQo.js";const g=p({__name:"JEllipsis",props:{value:a.oneOfType([a.string,a.number,a.array]),length:a.number.def(25)},setup(t){const e=t,s=r(()=>e.value&&e.value.length>e.length?e.value.slice(0,e.length)+"...":e.value);return(v,_)=>{const l=c("a-tooltip");return u(),i(l,{placement:"topLeft"},{title:o(()=>[f("span",null,n(t.value),1)]),default:o(()=>[m(" "+n(s.value),1)]),_:1})}}});export{g as _};
