el-text-8208f30d.js 946 B

1
  1. import{aD as c,bL as m,d as s,bM as o,aF as y,K as d,bN as g,o as f,v as _,w as b,aG as v,Z as x,a as w,ay as S,M as h,aH as k,aI as C,__tla as E}from"./index-430b3151.js";let l,M=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,N)=>(f(),_(h(t.tag),{class:x(w(i)),style:S({"-webkit-line-clamp":t.lineClamp})},{default:b(()=>[v(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,M as __tla};