birdpaper-icon
Version:
基于 Remix icon 生成的 Vue3 图标组件库
2 lines (1 loc) • 1.49 kB
JavaScript
import{defineComponent as p}from"vue";import{computed as i}from"vue";import{createElementVNode as m,normalizeClass as c,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:c(t.cls),style:d(t.innerStyle),fill:t.fill,onClick:e[0]||(e[0]=(...l)=>t.onClick&&t.onClick(...l))},[...e[1]||(e[1]=[m("path",{d:"M11 17.25A4.25 4.25 0 1 1 6.75 13H11v4.25ZM17.25 13A4.25 4.25 0 1 1 13 17.25V13h4.25Zm-10.5 2A2.25 2.25 0 1 0 9 17.25V15H6.75ZM15 17.25A2.25 2.25 0 1 0 17.25 15H15v2.25ZM6.75 2.5A4.25 4.25 0 0 1 11 6.75V11H6.75a4.25 4.25 0 1 1 0-8.5Zm10 .34a.538.538 0 0 1 1 0l.27.648a4.638 4.638 0 0 0 2.391 2.47l.762.34a.563.563 0 0 1 0 1.022l-.808.359a4.635 4.635 0 0 0-2.357 2.39l-.262.6c-.192.44-.8.44-.992 0l-.262-.6a4.635 4.635 0 0 0-2.357-2.39l-.808-.359a.563.563 0 0 1 0-1.022l.762-.34a4.638 4.638 0 0 0 2.391-2.47l.27-.648Zm-10 1.66a2.25 2.25 0 0 0 0 4.5H9V6.75A2.25 2.25 0 0 0 6.75 4.5Z"},null,-1)])],14,k)},Z=p({name:"IconAppsAiLine",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:t}){let e=o,l=t,n="bp-icon",r=i(()=>[n,`${n}-icon-apps-ai-line`,{[`${n}-spin`]:e.spin}]),a=i(()=>({width:e.size,height:e.size,transform:e.rotate?`rotate(${e.rotate}deg)`:void 0}));return{cls:r,innerStyle:a,onClick:s=>l("click",s)}}});export{Z as default};