birdpaper-icon
Version:
基于 Remix icon 生成的 Vue3 图标组件库
2 lines (1 loc) • 2.29 kB
JavaScript
import{defineComponent as a}from"vue";import{computed as i}from"vue";import{createElementVNode as m,normalizeClass as p,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:p(t.cls),style:d(t.innerStyle),fill:t.fill,onClick:e[0]||(e[0]=(...o)=>t.onClick&&t.onClick(...o))},[...e[1]||(e[1]=[m("path",{d:"M8.869 14.14c-.213.351-.319.638-.149 1.085.47 1.236-.193 2.439-1.439 2.766-1.175.308-2.32-.465-2.554-1.723-.207-1.114.658-2.206 1.886-2.38.067-.01.134-.014.22-.02.047-.002.1-.005.16-.01l1.869-3.132c-1.175-1.169-1.874-2.534-1.72-4.227.11-1.196.58-2.23 1.44-3.077a4.887 4.887 0 0 1 6.098-.64c1.862 1.196 2.715 3.527 1.988 5.521l-1.707-.463c.229-1.109.06-2.105-.688-2.958-.494-.563-1.128-.858-1.85-.967-1.445-.218-2.864.71-3.285 2.129-.478 1.61.246 2.925 2.222 3.916-.829 1.394-1.651 2.792-2.491 4.18Zm4.915-5.867 1.806 3.186c3.041-.94 5.334.743 6.156 2.545.994 2.177.315 4.755-1.637 6.098-2.002 1.379-4.535 1.143-6.31-.628l1.393-1.165c1.752 1.136 3.285 1.082 4.423-.262a3.05 3.05 0 0 0-.05-3.979c-1.151-1.295-2.695-1.335-4.56-.091-.775-1.373-1.562-2.736-2.311-4.119-.253-.466-.532-.736-1.102-.835-.95-.165-1.565-.981-1.602-1.897a2.084 2.084 0 0 1 1.33-2.041 2.075 2.075 0 0 1 2.35.64c.454.574.598 1.22.36 1.927a6.543 6.543 0 0 1-.159.407l-.087.214Zm-2.232 8.622h3.66c.052.068.1.135.146.2.097.138.19.268.297.384a2.07 2.07 0 0 0 2.913.1 2.074 2.074 0 0 0 .086-2.969c-.794-.814-2.151-.892-2.889-.03-.447.524-.906.586-1.5.577-1.524-.024-3.047-.008-4.57-.008.1 2.142-.71 3.476-2.317 3.793-1.572.31-3.02-.492-3.53-1.956-.58-1.663.137-2.994 2.206-4.05l-.469-1.7c-2.255.492-3.948 2.68-3.773 5.142.155 2.173 1.908 4.104 4.052 4.45a4.882 4.882 0 0 0 3.273-.584c1.306-.74 2.064-1.906 2.415-3.349Z"},null,-1)])],14,k)},h=a({name:"IconWebhookLine",render:y,props:{size:{type:String,default:"18px"},fill:{type:String,default:"#595959"},spin:{type:Boolean,default:!1},rotate:{type:Number}},emits:["click"],setup(l,{emit:t}){let e=l,o=t,n="bp-icon",r=i(()=>[n,`${n}-icon-webhook-line`,{[`${n}-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=>o("click",s)}}});export{h as default};