index.vue.90c95194.js 1.1 KB

1
  1. import{f as m,L as o,o as n,c as s,a as f,al as p,k as r,bV as _,m as i,w as y,bb as h,bW as c,bN as b,G as g,n as l,bX as k,b as C,bY as I,Q as N}from"./entry.3f0fea75.js";import{a as u}from"./util.8a34bab4.js";import{_ as S}from"./_plugin-vue_export-helper.c27b6911.js";const x=m({props:{name:{type:String,required:!0},size:{type:[Number,String],default:16},color:{type:String,default:"inherit"}},setup(e){const t=o(()=>`#${e.name}`),a=o(()=>({width:u(e.size),height:u(e.size),color:e.color}));return{symbolId:t,styles:a}}}),$=["xlink:href"];function z(e,t,a,d,v,B){return n(),s("svg",{"aria-hidden":"true",style:p(e.styles)},[f("use",{"xlink:href":e.symbolId,fill:"currentColor"},null,8,$)],4)}const E=S(x,[["render",z]]),P={key:1,class:"local-icon"},F=m({__name:"index",props:{name:{type:String,default:""},size:{type:[String,Number],default:"14px"},color:{type:String,default:"inherit"}},setup(e){const t=e;return(a,d)=>(n(),s(N,null,[e.name.includes(r(_))?(n(),i(r(g),c(b({key:0},t)),{default:y(()=>[(n(),i(h(e.name)))]),_:1},16)):l("",!0),e.name.includes(r(k))?(n(),s("span",P,[C(E,c(I(t)),null,16)])):l("",!0)],64))}});export{F as _};