UNPKG

@fe6/icon-vue

Version:

Water Icon 的 VUE3 图标

2 lines (1 loc) 3.58 kB
var IconsBytedWindows=function(u,s){"use strict";var a={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)},f=function(d,r,e){var o=r?.colors||[],l=[],i=r?.theme||e.theme;switch(i){case"outline":l.push(typeof o[0]=="string"?o[0]:e.colors.outline.outStrokeColor),l.push(typeof o[1]=="string"?o[1]:e.colors.outline.outFillColor),l.push(typeof o[0]=="string"?o[0]:e.colors.outline.outStrokeColor),l.push(typeof o[1]=="string"?o[1]:e.colors.outline.outFillColor);break;case"filled":l.push(typeof o[0]=="string"?o[0]:e.colors.filled.outStrokeColor),l.push(typeof o[0]=="string"?o[0]:e.colors.filled.outStrokeColor),l.push(typeof o[1]=="string"?o[1]:e.colors.filled.outFillColor),l.push(typeof o[1]=="string"?o[1]:e.colors.filled.outFillColor);break;case"twoTone":l.push(typeof o[0]=="string"?o[0]:e.colors.twoTone.outStrokeColor),l.push(typeof o[1]=="string"?o[1]:e.colors.twoTone.outFillColor),l.push(typeof o[0]=="string"?o[0]:e.colors.twoTone.outStrokeColor),l.push(typeof o[1]=="string"?o[1]:e.colors.twoTone.outFillColor);break;case"multiColor":l.push(typeof o[0]=="string"?o[0]:e.colors.multiColor.outStrokeColor),l.push(typeof o[1]=="string"?o[1]:e.colors.multiColor.outFillColor),l.push(typeof o[2]=="string"?o[2]:e.colors.multiColor.innerStrokeColor),l.push(typeof o[3]=="string"?o[3]:e.colors.multiColor.innerFillColor);break}return{size:r?.size||e.size,strokeWidth:r?.strokeWidth||e.strokeWidth,strokeLinecap:r?.strokeLinecap||e.strokeLinecap,strokeLinejoin:r?.strokeLinejoin||e.strokeLinejoin,colors:l,id:d}},C=Symbol("cube-icon-context"),v=function(d,r,e){var o=s.defineComponent({name:"icon-"+d,props:["size","strokeWidth","strokeLinecap","strokeLinejoin","theme","colors","spin"],setup:function(i){var L=h(),n=s.inject(C,a)||a;return function(){var p=i.size,y=i.strokeWidth,j=i.strokeLinecap,m=i.strokeLinejoin,w=i.theme,S=i.colors,W=i.spin,F=f(L,{size:p,strokeWidth:y,strokeLinecap:j,strokeLinejoin:m,theme:w,colors:S},n),k=["".concat(n.prefix,"-icon")];return k.push("".concat(n.prefix,"-icon-").concat(d)),r&&n.rtl&&k.push("".concat(n.prefix,"-icon-rtl")),W&&k.push("".concat(n.prefix,"-icon-spin")),s.createVNode("span",{class:k.join(" ")},[e(F)])}}});return o},c=v("byted-windows",!1,function(t){return s.createVNode("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[s.createVNode("path",{d:"M6.75 11.0625L19.6875 9.33749V21.4125H6.75V11.0625Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null),s.createVNode("path",{d:"M24.8625 8.84464L41.25 6.75V21.4125H24.8625V8.84464Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null),s.createVNode("path",{d:"M24.8625 27.45L41.25 27.8333V41.25L24.8625 38.5667V27.45Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null),s.createVNode("path",{d:"M6.75 26.5875L19.6875 26.899V37.8L6.75 35.6198V26.5875Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null)])});return u.BytedWindows=c,u.default=c,Object.defineProperty(u,"__esModule",{value:!0}),u}({},Vue);