UNPKG

birdpaper-icon

Version:

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

2 lines (1 loc) 1.46 kB
import{defineComponent as m}from"vue";import{computed as i}from"vue";import{createElementVNode as c,normalizeClass as p,normalizeStyle as f,openBlock as d,createElementBlock as u}from"vue";var v=["fill"],h=function(t,e){return d(),u("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",class:p(t.cls),style:f(t.innerStyle),fill:t.fill,onClick:e[0]||(e[0]=(...n)=>t.onClick&&t.onClick(...n))},[...e[1]||(e[1]=[c("path",{d:"M10 13a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h6Zm10 0a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h6ZM5 19h4v-4H5v4Zm10 0h4v-4h-4v4Zm1.53-15.68a.506.506 0 0 1 .94 0l.254.61a4.367 4.367 0 0 0 2.25 2.327l.719.32a.53.53 0 0 1 0 .962l-.76.338a4.363 4.363 0 0 0-2.219 2.25l-.247.566a.506.506 0 0 1-.934 0l-.246-.565a4.364 4.364 0 0 0-2.22-2.251l-.76-.338a.53.53 0 0 1 0-.963l.718-.32a4.366 4.366 0 0 0 2.251-2.325l.253-.612ZM10 3a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h6ZM5 9h4V5H5v4Z"},null,-1)])],14,v)},z=m({name:"IconFunctionAiLine",render:h,props:{size:{type:String,default:"18px"},fill:{type:String,default:"#595959"},spin:{type:Boolean,default:!1},rotate:{type:Number}},emits:["click"],setup(o,{emit:t}){let e=o,n=t,l="bp-icon",s=i(()=>[l,`${l}-icon-function-ai-line`,{[`${l}-spin`]:e.spin}]),r=i(()=>({width:e.size,height:e.size,transform:e.rotate?`rotate(${e.rotate}deg)`:void 0}));return{cls:s,innerStyle:r,onClick:a=>n("click",a)}}});export{z as default};