birdpaper-icon
Version:
基于 Remix icon 生成的 Vue3 图标组件库
2 lines (1 loc) • 2.67 kB
JavaScript
import{defineComponent as a}from"vue";import{computed as c}from"vue";import{createElementVNode as m,normalizeClass as p,normalizeStyle as f,openBlock as d,createElementBlock as u}from"vue";var k=["fill"],y=function(l,e){return d(),u("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",class:p(l.cls),style:f(l.innerStyle),fill:l.fill,onClick:e[0]||(e[0]=(...t)=>l.onClick&&l.onClick(...t))},[...e[1]||(e[1]=[m("path",{d:"m15.638 4.566.056.032c-.758.4-2.924 1.689-2.924 3.332 0 .554.317 1.088.614 1.59.262.442.509.857.509 1.238 0 .957-.933 1.7-1.46 2.042l-.1-.058c.199-.243.444-.65.444-1.084 0-.598-.307-1.076-.618-1.561-.322-.501-.648-1.01-.648-1.67 0-2.292 3.115-3.522 4.127-3.861Zm-4.095 1.212c1.253-1.12 2.622-2.344 2.622-4.185 0-.833-.341-1.365-.51-1.578L13.6.046c.04.166.1.472.1.872 0 1.676-1.422 2.85-2.798 3.988C9.611 5.974 8.36 7.008 8.36 8.392c0 1.985 1.958 3.206 2.785 3.722l.063.04.05-.03c-.044-.049-.092-.1-.142-.152-.636-.677-1.602-1.704-1.602-3.275 0-1.103.974-1.974 2.03-2.919Zm-.452 9.908c1.764 0 2.998-.253 3.546-.408l.832.48c-.793.403-2.551.71-4.382.71-2.153 0-4.507-.462-4.514-1.078-.005-.34.765-.566 1.595-.712l.05.029s-.281.101-.278.333c.004.35 1.42.646 3.15.646Zm-3.529 2.171c0-.408.839-.6 1.223-.677l.05.03c-.066.049-.102.116-.102.173 0 .267.93.511 2.356.511 1.278 0 1.988-.157 2.41-.258l.99.573c-.045.032-1.02.645-3.402.645-1.731 0-3.525-.432-3.525-.997Zm8.529-1.728c1.18-.673 2.361-1.469 2.428-2.747.044-.839-.727-1.454-1.57-1.29l.045-.112v-.002c.212-.064.474-.116.767-.116.943 0 1.666.565 1.758 1.356.186 1.586-2.062 2.618-3.321 2.973l-.107-.062Zm1.975 2.988c.01 1.09-3.698 1.738-7.012 1.767-2.861.025-7.474-.516-7.484-1.605-.006-.753 2-1.275 3.09-1.425l.115.066s-1.625.377-1.62 1.062c.006.683 3.425 1.274 5.894 1.253 3.825-.034 6.414-.657 6.72-1.502l.054-.031c.112.082.24.217.243.415ZM6.43 21.337c1.353.228 2.961.337 4.279.325 6.208-.054 7.96-1.58 8.23-1.912l.047.028c-.064 1.208-3.347 2.212-7.396 2.247-2.061.018-3.937-.22-5.285-.615l.125-.073Zm2.602-9.283c-1.079.083-3.396.426-3.396 1.036 0 .462 2.124 1.113 5.452 1.113 2.994 0 4.884-.565 5.325-.78l-.643-.375c-.46.125-2.169.506-4.682.506-1.48 0-4.03-.273-4.03-.69 0-.374 1.591-.663 2.048-.745l.029-.005-.103-.06Z"},null,-1)])],14,k)},z=a({name:"IconJavaFill",render:y,props:{size:{type:String,default:"18px"},fill:{type:String,default:"#595959"},spin:{type:Boolean,default:!1},rotate:{type:Number}},emits:["click"],setup(o,{emit:l}){let e=o,t=l,n="bp-icon",i=c(()=>[n,`${n}-icon-java-fill`,{[`${n}-spin`]:e.spin}]),r=c(()=>({width:e.size,height:e.size,transform:e.rotate?`rotate(${e.rotate}deg)`:void 0}));return{cls:i,innerStyle:r,onClick:s=>t("click",s)}}});export{z as default};