import{aK as i,bb as m,d as s,bC as o,aM as y,e as d,cp as g,o as f,A as _,B as b,aN as x,ac as v,a as C,aG as S,a0 as h,aO as k,aP as w,__tla as B}from"./index-92ad187a.js";let l,E=Promise.all([(()=>{try{return B}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=w(k(s({...r,props:n,setup(p){const e=p,u=o(),a=y("text"),c=d(()=>[a.b(),a.m(e.type),a.m(u.value),a.is("truncated",e.truncated),a.is("line-clamp",!g(e.lineClamp))]);return(t,N)=>(f(),_(h(t.tag),{class:v(C(c)),style:S({"-webkit-line-clamp":t.lineClamp})},{default:b(()=>[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};
