UNPKG

@fe6/icon-vue

Version:

Water Icon 的 VUE3 图标

2 lines (1 loc) 5.59 kB
var IconsBytedTriangleRuler=function(d,l){"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"},h=function(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)},L=function(k,r,t){var o=r?.colors||[],i=[],n=r?.theme||t.theme;switch(n){case"outline":i.push(typeof o[0]=="string"?o[0]:t.colors.outline.outStrokeColor),i.push(typeof o[1]=="string"?o[1]:t.colors.outline.outFillColor),i.push(typeof o[0]=="string"?o[0]:t.colors.outline.outStrokeColor),i.push(typeof o[1]=="string"?o[1]:t.colors.outline.outFillColor);break;case"filled":i.push(typeof o[0]=="string"?o[0]:t.colors.filled.outStrokeColor),i.push(typeof o[0]=="string"?o[0]:t.colors.filled.outStrokeColor),i.push(typeof o[1]=="string"?o[1]:t.colors.filled.outFillColor),i.push(typeof o[1]=="string"?o[1]:t.colors.filled.outFillColor);break;case"twoTone":i.push(typeof o[0]=="string"?o[0]:t.colors.twoTone.outStrokeColor),i.push(typeof o[1]=="string"?o[1]:t.colors.twoTone.outFillColor),i.push(typeof o[0]=="string"?o[0]:t.colors.twoTone.outStrokeColor),i.push(typeof o[1]=="string"?o[1]:t.colors.twoTone.outFillColor);break;case"multiColor":i.push(typeof o[0]=="string"?o[0]:t.colors.multiColor.outStrokeColor),i.push(typeof o[1]=="string"?o[1]:t.colors.multiColor.outFillColor),i.push(typeof o[2]=="string"?o[2]:t.colors.multiColor.innerStrokeColor),i.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:i,id:k}},f=Symbol("cube-icon-context"),C=function(k,r,t){var o=l.defineComponent({name:"icon-"+k,props:["size","strokeWidth","strokeLinecap","strokeLinejoin","theme","colors","spin"],setup:function(n){var j=h(),s=l.inject(f,c)||c;return function(){var V=n.size,v=n.strokeWidth,N=n.strokeLinecap,W=n.strokeLinejoin,w=n.theme,y=n.colors,M=n.spin,m=L(j,{size:V,strokeWidth:v,strokeLinecap:N,strokeLinejoin:W,theme:w,colors:y},s),a=["".concat(s.prefix,"-icon")];return a.push("".concat(s.prefix,"-icon-").concat(k)),r&&s.rtl&&a.push("".concat(s.prefix,"-icon-rtl")),M&&a.push("".concat(s.prefix,"-icon-spin")),l.createVNode("span",{class:a.join(" ")},[t(m)])}}});return o},u=C("byted-triangle-ruler",!1,function(e){return l.createVNode("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[l.createVNode("path",{d:"M44 44L4 4V44H44Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),l.createVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13 35H25L13 23V35Z",fill:e.colors[1]},null),l.createVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13 35H25L13 23V35Z",fill:e.colors[1]},null),l.createVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13 35H25L13 23V35Z",fill:e.colors[1]},null),l.createVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13 35H25L13 23V35Z",fill:e.colors[1]},null),l.createVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13 35H25L13 23V35Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),l.createVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13 35H25L13 23V35Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),l.createVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13 35H25L13 23V35Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),l.createVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13 35H25L13 23V35Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),l.createVNode("path",{d:"M30 44V41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),l.createVNode("path",{d:"M24 44V41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),l.createVNode("path",{d:"M18 44V41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),l.createVNode("path",{d:"M12 44V41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),l.createVNode("path",{d:"M4 36H7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),l.createVNode("path",{d:"M4 30H7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),l.createVNode("path",{d:"M4 24H7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),l.createVNode("path",{d:"M4 18H7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])});return d.BytedTriangleRuler=u,d.default=u,Object.defineProperty(d,"__esModule",{value:!0}),d}({},Vue);