el-text-5b70ca38.js 948 B

1
  1. import{aL as i,bc as m,d as s,bD 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 E}from"./index-54aa57d8.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,P)=>(f(),_(S(t.tag),{class:v(w(c)),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,N as __tla};