| 1 |
- import{d as p,e as r,ag as c,aB as u,ar as i,aD as o,G as m,au as n,at as v}from"./vue-vendor-Be68asQ6.js";import{H as a}from"./index-BFfnEkVs.js";const h=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(_,f)=>{const l=c("a-tooltip");return i(),u(l,{placement:"topLeft"},{title:o(()=>[v("span",null,n(t.value),1)]),default:o(()=>[m(" "+n(s.value),1)]),_:1})}}});export{h as _};
|