el-text-42605a6c.js 946 B

1
  1. import{av as c,bE as m,d as s,bF as o,ax as y,J as d,bG as g,o as f,q as _,w as b,ay as x,Y as v,a as w,at as S,L as h,az as k,aA as C,__tla as E}from"./index-73e02845.js";let l,z=Promise.all([(()=>{try{return E}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 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,q)=>(f(),_(h(t.tag),{class:v(w(i)),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,z as __tla};