@fe6/icon-vue
Version:
Water Icon 的 VUE3 图标
2 lines (1 loc) • 5.21 kB
JavaScript
var IconsBytedLightHouse=function(k,i){"use strict";var c={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"},u=function(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)},L=function(a,r,t){var o=r?.colors||[],l=[],n=r?.theme||t.theme;switch(n){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}},j=Symbol("cube-icon-context"),C=function(a,r,t){var o=i.defineComponent({name:"icon-"+a,props:["size","strokeWidth","strokeLinecap","strokeLinejoin","theme","colors","spin"],setup:function(n){var f=u(),s=i.inject(j,c)||c;return function(){var W=n.size,w=n.strokeWidth,y=n.strokeLinecap,N=n.strokeLinejoin,m=n.theme,V=n.colors,M=n.spin,S=L(f,{size:W,strokeWidth:w,strokeLinecap:y,strokeLinejoin:N,theme:m,colors:V},s),d=["".concat(s.prefix,"-icon")];return d.push("".concat(s.prefix,"-icon-").concat(a)),r&&s.rtl&&d.push("".concat(s.prefix,"-icon-rtl")),M&&d.push("".concat(s.prefix,"-icon-spin")),i.createVNode("span",{class:d.join(" ")},[t(S)])}}});return o},h=C("byted-light-house",!1,function(e){return i.createVNode("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[i.createVNode("path",{d:"M6 44H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),i.createVNode("path",{d:"M17 20H31",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),i.createVNode("path",{d:"M19 20H24H29L32 44H16L19 20Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),i.createVNode("path",{d:"M19 9L21 20H27L29 9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),i.createVNode("path",{d:"M32 12L29 9L24 4L19 9L16 12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),i.createVNode("path",{d:"M37 7L40 4",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),i.createVNode("path",{d:"M11 7L8 4",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),i.createVNode("path",{d:"M37 19L40 22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),i.createVNode("path",{d:"M11 19L8 22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),i.createVNode("path",{d:"M38 13H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),i.createVNode("path",{d:"M10 13H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),i.createVNode("path",{d:"M18 28L30 28",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),i.createVNode("path",{d:"M17 36H31",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),i.createVNode("path",{d:"M29 20L32 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),i.createVNode("path",{d:"M19 20L16 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])});return k.BytedLightHouse=h,k.default=h,Object.defineProperty(k,"__esModule",{value:!0}),k}({},Vue);