UNPKG

@fe6/icon-vue

Version:

Water Icon 的 VUE3 图标

2 lines (1 loc) 3.55 kB
var IconsBytedOceanengine=function(u,i){"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"},p=function(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)},f=function(a,t,e){var o=t?.colors||[],r=[],s=t?.theme||e.theme;switch(s){case"outline":r.push(typeof o[0]=="string"?o[0]:e.colors.outline.outStrokeColor),r.push(typeof o[1]=="string"?o[1]:e.colors.outline.outFillColor),r.push(typeof o[0]=="string"?o[0]:e.colors.outline.outStrokeColor),r.push(typeof o[1]=="string"?o[1]:e.colors.outline.outFillColor);break;case"filled":r.push(typeof o[0]=="string"?o[0]:e.colors.filled.outStrokeColor),r.push(typeof o[0]=="string"?o[0]:e.colors.filled.outStrokeColor),r.push(typeof o[1]=="string"?o[1]:e.colors.filled.outFillColor),r.push(typeof o[1]=="string"?o[1]:e.colors.filled.outFillColor);break;case"twoTone":r.push(typeof o[0]=="string"?o[0]:e.colors.twoTone.outStrokeColor),r.push(typeof o[1]=="string"?o[1]:e.colors.twoTone.outFillColor),r.push(typeof o[0]=="string"?o[0]:e.colors.twoTone.outStrokeColor),r.push(typeof o[1]=="string"?o[1]:e.colors.twoTone.outFillColor);break;case"multiColor":r.push(typeof o[0]=="string"?o[0]:e.colors.multiColor.outStrokeColor),r.push(typeof o[1]=="string"?o[1]:e.colors.multiColor.outFillColor),r.push(typeof o[2]=="string"?o[2]:e.colors.multiColor.innerStrokeColor),r.push(typeof o[3]=="string"?o[3]:e.colors.multiColor.innerFillColor);break}return{size:t?.size||e.size,strokeWidth:t?.strokeWidth||e.strokeWidth,strokeLinecap:t?.strokeLinecap||e.strokeLinecap,strokeLinejoin:t?.strokeLinejoin||e.strokeLinejoin,colors:r,id:a}},k=Symbol("cube-icon-context"),C=function(a,t,e){var o=i.defineComponent({name:"icon-"+a,props:["size","strokeWidth","strokeLinecap","strokeLinejoin","theme","colors","spin"],setup:function(s){var L=p(),n=i.inject(k,d)||d;return function(){var v=s.size,y=s.strokeWidth,m=s.strokeLinecap,S=s.strokeLinejoin,F=s.theme,N=s.colors,j=s.spin,b=f(L,{size:v,strokeWidth:y,strokeLinecap:m,strokeLinejoin:S,theme:F,colors:N},n),c=["".concat(n.prefix,"-icon")];return c.push("".concat(n.prefix,"-icon-").concat(a)),t&&n.rtl&&c.push("".concat(n.prefix,"-icon-rtl")),j&&c.push("".concat(n.prefix,"-icon-spin")),i.createVNode("span",{class:c.join(" ")},[e(b)])}}});return o},h=C("byted-oceanengine",!1,function(l){return i.createVNode("svg",{width:l.size,height:l.size,viewBox:"0 0 48 48",fill:"none"},[i.createVNode("path",{d:"M21.4824 8.47412L23.8802 16.6267H4.75757L7.21533 8.47412H21.4824Z",fill:l.colors[0]},null),i.createVNode("path",{d:"M9.1335 18.1253L17.3461 20.1035L7.81473 36.6485L2 30.4741L9.1335 18.1253Z",fill:l.colors[0]},null),i.createVNode("path",{d:"M11.2915 33.6512L17.1062 27.4768L26.6975 44.0218L18.425 46L11.2915 33.6512Z",fill:l.colors[0]},null),i.createVNode("path",{d:"M40.0655 39.4659H25.7985L23.4006 31.3733H42.5233",fill:l.colors[0]},null),i.createVNode("path",{d:"M45.2806 17.466L38.1471 29.8747L29.9346 27.8965L39.4659 11.3515",fill:l.colors[0]},null),i.createVNode("path",{d:"M35.989 14.3488L30.1743 20.5232L20.583 3.91825L28.8555 2L35.989 14.3488Z",fill:l.colors[0]},null)])});return u.BytedOceanengine=h,u.default=h,Object.defineProperty(u,"__esModule",{value:!0}),u}({},Vue);