import{aY as i,ce as m,d as s,cf as o,a_ as y,Y as d,cg as f,o as g,x as _,w as x,aC as b,T as v,a as w,ao as C,aK as S,a$ as h,b0 as k,__tla as E}from"./index-8dc1e40a.js";let l,T=Promise.all([(()=>{try{return E}catch{}})()]).then(async()=>{const n=i({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=k(h(s({...r,props:n,setup(p){const a=p,c=o(),e=y("text"),u=d(()=>[e.b(),e.m(a.type),e.m(c.value),e.is("truncated",a.truncated),e.is("line-clamp",!f(a.lineClamp))]);return(t,Y)=>(g(),_(S(t.tag),{class:v(w(u)),style:C({"-webkit-line-clamp":t.lineClamp})},{default:x(()=>[b(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,T as __tla};
