@fe6/icon-vue
Version:
Water Icon 的 VUE3 图标
2 lines (1 loc) • 3.98 kB
JavaScript
var IconsBytedHeadphoneSound=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=[],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}},f=Symbol("cube-icon-context"),p=function(a,r,t){var o=i.defineComponent({name:"icon-"+a,props:["size","strokeWidth","strokeLinecap","strokeLinejoin","theme","colors","spin"],setup:function(n){var L=h(),s=i.inject(f,k)||k;return function(){var v=n.size,V=n.strokeWidth,y=n.strokeLinecap,S=n.strokeLinejoin,j=n.theme,m=n.colors,F=n.spin,W=C(L,{size:v,strokeWidth:V,strokeLinecap:y,strokeLinejoin:S,theme:j,colors:m},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")),F&&d.push("".concat(s.prefix,"-icon-spin")),i.createVNode("span",{class:d.join(" ")},[t(W)])}}});return o},c=p("byted-headphone-sound",!1,function(e){return i.createVNode("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[i.createVNode("path",{d:"M4 28C4 26.8954 4.89543 26 6 26H10V38H6C4.89543 38 4 37.1046 4 36V28Z",fill:e.colors[1]},null),i.createVNode("path",{d:"M10 36V24M10 26H6C4.89543 26 4 26.8954 4 28V36C4 37.1046 4.89543 38 6 38H10V26Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),i.createVNode("path",{d:"M38 26H42C43.1046 26 44 26.8954 44 28V36C44 37.1046 43.1046 38 42 38H38V26Z",fill:e.colors[1]},null),i.createVNode("path",{d:"M38 24V36M38 26H42C43.1046 26 44 26.8954 44 28V36C44 37.1046 43.1046 38 42 38H38V26Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),i.createVNode("path",{d:"M10 36V24C10 16.268 16.268 10 24 10C31.732 10 38 16.268 38 24V36M10 26V38M38 26V38",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),i.createVNode("path",{d:"M16 32H20L22 26L26 38L28 32H32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])});return u.BytedHeadphoneSound=c,u.default=c,Object.defineProperty(u,"__esModule",{value:!0}),u}({},Vue);