import{aL as c,ba as m,d as s,bB as o,aN as y,e as d,cw as g,o as f,C as _,A as b,aO as x,ad as v,a as w,aH as C,a0 as S,aP as h,aQ as k,__tla as B}from"./index-286756b9.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=k(h(s({...r,props:n,setup(p){const e=p,u=o(),a=y("text"),i=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(),_(S(t.tag),{class:v(w(i)),style:C({"-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};