import{aA as i,c4 as m,d as s,bJ as o,aC as y,K as d,c5 as g,o as f,v as _,w as v,aD as x,$ as b,a as w,au as C,N as S,aE as h,aF as k,__tla as E}from"./index-04f8d540.js";let l,N=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 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,$)=>(f(),_(S(t.tag),{class:b(w(c)),style:C({"-webkit-line-clamp":t.lineClamp})},{default:v(()=>[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,N as __tla};
