el-text-a1884411.js 946 B

1
  1. import{aB as i,c4 as m,d as s,bJ as o,aD as y,K as d,c5 as g,o as f,v as _,w as v,aE as x,Z as b,a as w,au as S,M as h,aF as k,aG as C,__tla as E}from"./index-e3afde76.js";let l,B=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=C(k(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,z)=>(f(),_(h(t.tag),{class:b(w(c)),style:S({"-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,B as __tla};