UNPKG

@fe6/icon-vue

Version:

Water Icon 的 VUE3 图标

2 lines (1 loc) 3.95 kB
var IconsBytedTwoDimensionalCodeTwo=function(u,i){"use strict";var k={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)},C=function(a,r,t){var o=r?.colors||[],l=[],s=r?.theme||t.theme;switch(s){case"outline":l.push(typeof o[0]=="string"?o[0]:t.colors.outline.outStrokeColor),l.push(typeof o[1]=="string"?o[1]:t.colors.outline.outFillColor),l.push(typeof o[0]=="string"?o[0]:t.colors.outline.outStrokeColor),l.push(typeof o[1]=="string"?o[1]:t.colors.outline.outFillColor);break;case"filled":l.push(typeof o[0]=="string"?o[0]:t.colors.filled.outStrokeColor),l.push(typeof o[0]=="string"?o[0]:t.colors.filled.outStrokeColor),l.push(typeof o[1]=="string"?o[1]:t.colors.filled.outFillColor),l.push(typeof o[1]=="string"?o[1]:t.colors.filled.outFillColor);break;case"twoTone":l.push(typeof o[0]=="string"?o[0]:t.colors.twoTone.outStrokeColor),l.push(typeof o[1]=="string"?o[1]:t.colors.twoTone.outFillColor),l.push(typeof o[0]=="string"?o[0]:t.colors.twoTone.outStrokeColor),l.push(typeof o[1]=="string"?o[1]:t.colors.twoTone.outFillColor);break;case"multiColor":l.push(typeof o[0]=="string"?o[0]:t.colors.multiColor.outStrokeColor),l.push(typeof o[1]=="string"?o[1]:t.colors.multiColor.outFillColor),l.push(typeof o[2]=="string"?o[2]:t.colors.multiColor.innerStrokeColor),l.push(typeof o[3]=="string"?o[3]:t.colors.multiColor.innerFillColor);break}return{size:r?.size||t.size,strokeWidth:r?.strokeWidth||t.strokeWidth,strokeLinecap:r?.strokeLinecap||t.strokeLinecap,strokeLinejoin:r?.strokeLinejoin||t.strokeLinejoin,colors:l,id:a}},f=Symbol("cube-icon-context"),w=function(a,r,t){var o=i.defineComponent({name:"icon-"+a,props:["size","strokeWidth","strokeLinecap","strokeLinejoin","theme","colors","spin"],setup:function(s){var L=h(),n=i.inject(f,k)||k;return function(){var v=s.size,m=s.strokeWidth,y=s.strokeLinecap,V=s.strokeLinejoin,W=s.theme,j=s.colors,S=s.spin,F=C(L,{size:v,strokeWidth:m,strokeLinecap:y,strokeLinejoin:V,theme:W,colors:j},n),d=["".concat(n.prefix,"-icon")];return d.push("".concat(n.prefix,"-icon-").concat(a)),r&&n.rtl&&d.push("".concat(n.prefix,"-icon-rtl")),S&&d.push("".concat(n.prefix,"-icon-spin")),i.createVNode("span",{class:d.join(" ")},[t(F)])}}});return o},c=w("byted-two-dimensional-code-two",!1,function(e){return i.createVNode("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[i.createVNode("path",{d:"M18 6H6V18H18V6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),i.createVNode("path",{d:"M18 30H6V42H18V30Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),i.createVNode("path",{d:"M42 6H30V18H42V6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),i.createVNode("path",{d:"M24 6V18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),i.createVNode("path",{d:"M42 24H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),i.createVNode("path",{d:"M34 30V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),i.createVNode("path",{d:"M42 30V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),i.createVNode("path",{d:"M26 30V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])});return u.BytedTwoDimensionalCodeTwo=c,u.default=c,Object.defineProperty(u,"__esModule",{value:!0}),u}({},Vue);