UNPKG

birdpaper-icon

Version:

基于 Remix icon 生成的 Vue3 图标组件库

2 lines (1 loc) 2.13 kB
import{defineComponent as a}from"vue";import{computed as i}from"vue";import{createElementVNode as p,normalizeClass as m,normalizeStyle as d,openBlock as f,createElementBlock as u}from"vue";var k=["fill"],y=function(t,e){return f(),u("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",class:m(t.cls),style:d(t.innerStyle),fill:t.fill,onClick:e[0]||(e[0]=(...l)=>t.onClick&&t.onClick(...l))},[...e[1]||(e[1]=[p("path",{d:"M11.174 22.555c.256.139.531.218.826.218.295 0 .59-.08.826-.178l7.848-4.572c.511-.297.826-.851.826-1.445V7.454c0-.593-.315-1.148-.826-1.444l-7.848-4.572a1.746 1.746 0 0 0-1.652 0L3.326 6.01A1.672 1.672 0 0 0 2.5 7.454v9.124c0 .594.315 1.148.826 1.445l2.065 1.188c1.003.494 1.358.494 1.81.494 1.475 0 2.32-.91 2.32-2.474V8.226a.24.24 0 0 0-.235-.237H8.283a.24.24 0 0 0-.236.237v9.005c0 .693-.728 1.386-1.889.792l-2.143-1.247c-.08-.04-.118-.138-.118-.218V7.435c0-.08.039-.179.118-.218l7.848-4.552c.058-.04.157-.04.235 0l7.849 4.552c.078.04.118.119.118.218v9.123c0 .1-.04.178-.118.218l-7.849 4.572c-.059.04-.157.04-.236 0L9.857 20.14c-.059-.04-.138-.06-.197-.02-.55.317-.649.356-1.18.534-.118.04-.314.119.079.337l2.616 1.563Zm-.885-8.985c0 1.346.708 2.929 4.15 2.929 2.478 0 3.914-.99 3.914-2.731 0-1.702-1.141-2.158-3.56-2.474-2.44-.317-2.695-.495-2.695-1.069 0-.475.217-1.108 2.026-1.108 1.613 0 2.222.356 2.459 1.444a.23.23 0 0 0 .216.179h1.042c.06 0 .118-.04.158-.08a.322.322 0 0 0 .059-.178c-.157-1.9-1.396-2.77-3.914-2.77-2.242 0-3.58.95-3.58 2.553 0 1.721 1.338 2.196 3.481 2.414 2.577.258 2.774.634 2.774 1.148 0 .89-.708 1.267-2.36 1.267-2.085 0-2.538-.515-2.695-1.564 0-.118-.098-.198-.216-.198h-1.023a.24.24 0 0 0-.236.238Z"},null,-1)])],14,k)},w=a({name:"IconNodejsFill",render:y,props:{size:{type:String,default:"18px"},fill:{type:String,default:"#595959"},spin:{type:Boolean,default:!1},rotate:{type:Number}},emits:["click"],setup(n,{emit:t}){let e=n,l=t,o="bp-icon",r=i(()=>[o,`${o}-icon-nodejs-fill`,{[`${o}-spin`]:e.spin}]),c=i(()=>({width:e.size,height:e.size,transform:e.rotate?`rotate(${e.rotate}deg)`:void 0}));return{cls:r,innerStyle:c,onClick:s=>l("click",s)}}});export{w as default};