UNPKG

@fe6/icon-vue

Version:

Water Icon 的 VUE3 图标

2 lines (1 loc) 6.35 kB
var IconsBytedAddItem=function(k,t){"use strict";var d={size:"1em",spin:!1,strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round",rtl:!1,theme:"outline",colors:{outline:{outStrokeColor:"#333",outFillColor:"transparent"},filled:{outStrokeColor:"#333",outFillColor:"#fff"},twoTone:{outStrokeColor:"#333",outFillColor:"#2f88ff"},multiColor:{outStrokeColor:"#333",outFillColor:"#2f88ff",innerStrokeColor:"#fff",innerFillColor:"#43ccf8"}},prefix:"cube"},h=function(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)},y=function(c,r,i){var o=r?.colors||[],l=[],n=r?.theme||i.theme;switch(n){case"outline":l.push(typeof o[0]=="string"?o[0]:i.colors.outline.outStrokeColor),l.push(typeof o[1]=="string"?o[1]:i.colors.outline.outFillColor),l.push(typeof o[0]=="string"?o[0]:i.colors.outline.outStrokeColor),l.push(typeof o[1]=="string"?o[1]:i.colors.outline.outFillColor);break;case"filled":l.push(typeof o[0]=="string"?o[0]:i.colors.filled.outStrokeColor),l.push(typeof o[0]=="string"?o[0]:i.colors.filled.outStrokeColor),l.push(typeof o[1]=="string"?o[1]:i.colors.filled.outFillColor),l.push(typeof o[1]=="string"?o[1]:i.colors.filled.outFillColor);break;case"twoTone":l.push(typeof o[0]=="string"?o[0]:i.colors.twoTone.outStrokeColor),l.push(typeof o[1]=="string"?o[1]:i.colors.twoTone.outFillColor),l.push(typeof o[0]=="string"?o[0]:i.colors.twoTone.outStrokeColor),l.push(typeof o[1]=="string"?o[1]:i.colors.twoTone.outFillColor);break;case"multiColor":l.push(typeof o[0]=="string"?o[0]:i.colors.multiColor.outStrokeColor),l.push(typeof o[1]=="string"?o[1]:i.colors.multiColor.outFillColor),l.push(typeof o[2]=="string"?o[2]:i.colors.multiColor.innerStrokeColor),l.push(typeof o[3]=="string"?o[3]:i.colors.multiColor.innerFillColor);break}return{size:r?.size||i.size,strokeWidth:r?.strokeWidth||i.strokeWidth,strokeLinecap:r?.strokeLinecap||i.strokeLinecap,strokeLinejoin:r?.strokeLinejoin||i.strokeLinejoin,colors:l,id:c}},L=Symbol("cube-icon-context"),j=function(c,r,i){var o=t.defineComponent({name:"icon-"+c,props:["size","strokeWidth","strokeLinecap","strokeLinejoin","theme","colors","spin"],setup:function(n){var x=h(),s=t.inject(L,d)||d;return function(){var C=n.size,f=n.strokeWidth,W=n.strokeLinecap,w=n.strokeLinejoin,N=n.theme,V=n.colors,m=n.spin,S=y(x,{size:C,strokeWidth:f,strokeLinecap:W,strokeLinejoin:w,theme:N,colors:V},s),a=["".concat(s.prefix,"-icon")];return a.push("".concat(s.prefix,"-icon-").concat(c)),r&&s.rtl&&a.push("".concat(s.prefix,"-icon-rtl")),m&&a.push("".concat(s.prefix,"-icon-spin")),t.createVNode("span",{class:a.join(" ")},[i(S)])}}});return o},u=j("byted-add-item",!1,function(e){return t.createVNode("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[t.createVNode("path",{d:"M24 30V24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),t.createVNode("path",{d:"M6 30H24H42V42H6V30Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),t.createVNode("line",{x1:"6",y1:"12.5",x2:"6",y2:"11.5",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),t.createVNode("line",{x1:"6",y1:"18",x2:"6",y2:"17",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),t.createVNode("line",{x1:"6",y1:"7",x2:"6",y2:"6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),t.createVNode("line",{x1:"42",y1:"12.5",x2:"42",y2:"11.5",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),t.createVNode("line",{x1:"42",y1:"18",x2:"42",y2:"17",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),t.createVNode("line",{x1:"42",y1:"7",x2:"42",y2:"6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),t.createVNode("line",{x1:"42",y1:"18",x2:"41",y2:"18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),t.createVNode("line",{x1:"7",y1:"18",x2:"6",y2:"18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),t.createVNode("line",{x1:"7",y1:"6",x2:"6",y2:"6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),t.createVNode("line",{x1:"14",y1:"6",x2:"13",y2:"6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),t.createVNode("line",{x1:"21",y1:"6",x2:"20",y2:"6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),t.createVNode("line",{x1:"21",y1:"18",x2:"20",y2:"18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),t.createVNode("line",{x1:"28",y1:"6",x2:"27",y2:"6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),t.createVNode("line",{x1:"14",y1:"18",x2:"13",y2:"18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),t.createVNode("line",{x1:"28",y1:"18",x2:"27",y2:"18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),t.createVNode("line",{x1:"35",y1:"6",x2:"34",y2:"6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),t.createVNode("line",{x1:"35",y1:"18",x2:"34",y2:"18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),t.createVNode("line",{x1:"42",y1:"6",x2:"41",y2:"6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])});return k.BytedAddItem=u,k.default=u,Object.defineProperty(k,"__esModule",{value:!0}),k}({},Vue);