1 |
- import{az as c,bC as m,d as s,bD as o,aB as y,J as d,bE as g,o as f,q as _,w as b,aC as x,Y as C,a as v,at as w,L as E,aD as S,aE as h,__tla as k}from"./index-2eab2d23.js";let l,z=Promise.all([(()=>{try{return k}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=h(S(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,B)=>(f(),_(E(t.tag),{class:C(v(i)),style:w({"-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};
|