1 |
- import{a$ as c,ba as m,d as s,bM as o,b1 as y,b,bB as d,o as g,l as _,w as f,aF as x,W as v,a as w,ar as S,aN as h,b3 as k,b4 as C,__tla as B}from"./index-b2b3c6c4.js";let l,E=Promise.all([(()=>{try{return B}catch{}})()]).then(async()=>{const n=c({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:m,default:""},truncated:{type:Boolean},lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}}),r=s({name:"ElText"});l=C(k(s({...r,props:n,setup(p){const a=p,u=o(),e=y("text"),i=b(()=>[e.b(),e.m(a.type),e.m(u.value),e.is("truncated",a.truncated),e.is("line-clamp",!d(a.lineClamp))]);return(t,N)=>(g(),_(h(t.tag),{class:v(w(i)),style:S({"-webkit-line-clamp":t.lineClamp})},{default:f(()=>[x(t.$slots,"default")]),_:3},8,["class","style"]))}}),[["__file","/home/runner/work/element-plus/element-plus/packages/components/text/src/text.vue"]]))});export{l as E,E as __tla};
|