@fe6/icon-vue
Version:
Water Icon 的 VUE3 图标
2 lines (1 loc) • 4.93 kB
JavaScript
var IconsBytedUngroup=function(k,i){"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,t){var e=r?.colors||[],l=[],n=r?.theme||t.theme;switch(n){case"outline":l.push(typeof e[0]=="string"?e[0]:t.colors.outline.outStrokeColor),l.push(typeof e[1]=="string"?e[1]:t.colors.outline.outFillColor),l.push(typeof e[0]=="string"?e[0]:t.colors.outline.outStrokeColor),l.push(typeof e[1]=="string"?e[1]:t.colors.outline.outFillColor);break;case"filled":l.push(typeof e[0]=="string"?e[0]:t.colors.filled.outStrokeColor),l.push(typeof e[0]=="string"?e[0]:t.colors.filled.outStrokeColor),l.push(typeof e[1]=="string"?e[1]:t.colors.filled.outFillColor),l.push(typeof e[1]=="string"?e[1]:t.colors.filled.outFillColor);break;case"twoTone":l.push(typeof e[0]=="string"?e[0]:t.colors.twoTone.outStrokeColor),l.push(typeof e[1]=="string"?e[1]:t.colors.twoTone.outFillColor),l.push(typeof e[0]=="string"?e[0]:t.colors.twoTone.outStrokeColor),l.push(typeof e[1]=="string"?e[1]:t.colors.twoTone.outFillColor);break;case"multiColor":l.push(typeof e[0]=="string"?e[0]:t.colors.multiColor.outStrokeColor),l.push(typeof e[1]=="string"?e[1]:t.colors.multiColor.outFillColor),l.push(typeof e[2]=="string"?e[2]:t.colors.multiColor.innerStrokeColor),l.push(typeof e[3]=="string"?e[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:d}},C=Symbol("cube-icon-context"),j=function(d,r,t){var e=i.defineComponent({name:"icon-"+d,props:["size","strokeWidth","strokeLinecap","strokeLinejoin","theme","colors","spin"],setup:function(n){var L=h(),s=i.inject(C,a)||a;return function(){var V=n.size,y=n.strokeWidth,W=n.strokeLinecap,w=n.strokeLinejoin,v=n.theme,m=n.colors,N=n.spin,S=f(L,{size:V,strokeWidth:y,strokeLinecap:W,strokeLinejoin:w,theme:v,colors:m},s),u=["".concat(s.prefix,"-icon")];return u.push("".concat(s.prefix,"-icon-").concat(d)),r&&s.rtl&&u.push("".concat(s.prefix,"-icon-rtl")),N&&u.push("".concat(s.prefix,"-icon-spin")),i.createVNode("span",{class:u.join(" ")},[t(S)])}}});return e},c=j("byted-ungroup",!1,function(o){return i.createVNode("svg",{width:o.size,height:o.size,viewBox:"0 0 48 48",fill:"none"},[i.createVNode("path",{d:"M11.2727 4H4V11.2727H11.2727V4Z",fill:o.colors[1],stroke:o.colors[0],"stroke-width":o.strokeWidth,"stroke-linejoin":o.strokeLinejoin},null),i.createVNode("path",{d:"M43.9998 36.7273H36.7271V44H43.9998V36.7273Z",fill:o.colors[1],stroke:o.colors[0],"stroke-width":o.strokeWidth,"stroke-linejoin":o.strokeLinejoin},null),i.createVNode("path",{d:"M11.2727 24H4V31.2727H11.2727V24Z",fill:o.colors[1],stroke:o.colors[0],"stroke-width":o.strokeWidth,"stroke-linejoin":o.strokeLinejoin},null),i.createVNode("path",{d:"M23.9998 36.7273H16.7271V44H23.9998V36.7273Z",fill:o.colors[1],stroke:o.colors[0],"stroke-width":o.strokeWidth,"stroke-linejoin":o.strokeLinejoin},null),i.createVNode("path",{d:"M31.2727 4H24V11.2727H31.2727V4Z",fill:o.colors[1],stroke:o.colors[0],"stroke-width":o.strokeWidth,"stroke-linejoin":o.strokeLinejoin},null),i.createVNode("path",{d:"M43.9998 16.7273H36.7271V24H43.9998V16.7273Z",fill:o.colors[1],stroke:o.colors[0],"stroke-width":o.strokeWidth,"stroke-linejoin":o.strokeLinejoin},null),i.createVNode("path",{d:"M11.2729 7.63636H24.0002",stroke:o.colors[0],"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin},null),i.createVNode("path",{d:"M24 40.3636H36.7273",stroke:o.colors[0],"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin},null),i.createVNode("path",{d:"M11.2729 27.6364H27.6366V11.2727",stroke:o.colors[0],"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin},null),i.createVNode("path",{d:"M28.828 20.3636H36.7274M20.3638 36.7273V27.6286V36.7273Z",stroke:o.colors[0],"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin},null),i.createVNode("path",{d:"M7.63623 11.2727V24",stroke:o.colors[0],"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin},null),i.createVNode("path",{d:"M40.3638 24V36.7273",stroke:o.colors[0],"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin},null)])});return k.BytedUngroup=c,k.default=c,Object.defineProperty(k,"__esModule",{value:!0}),k}({},Vue);