UNPKG

@fe6/icon-img

Version:

Water Icon 的纯 HTML 图标

11 lines (10 loc) 6.05 kB
var IconsAntdFundView=function(c){"use strict";var v={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(l,t,r){var o=t?.colors||[],e=[],n=t?.theme||r.theme;switch(n){case"outline":e.push(typeof o[0]=="string"?o[0]:r.colors.outline.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:r.colors.outline.outFillColor),e.push(typeof o[0]=="string"?o[0]:r.colors.outline.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:r.colors.outline.outFillColor);break;case"filled":e.push(typeof o[0]=="string"?o[0]:r.colors.filled.outStrokeColor),e.push(typeof o[0]=="string"?o[0]:r.colors.filled.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:r.colors.filled.outFillColor),e.push(typeof o[1]=="string"?o[1]:r.colors.filled.outFillColor);break;case"twoTone":e.push(typeof o[0]=="string"?o[0]:r.colors.twoTone.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:r.colors.twoTone.outFillColor),e.push(typeof o[0]=="string"?o[0]:r.colors.twoTone.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:r.colors.twoTone.outFillColor);break;case"multiColor":e.push(typeof o[0]=="string"?o[0]:r.colors.multiColor.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:r.colors.multiColor.outFillColor),e.push(typeof o[2]=="string"?o[2]:r.colors.multiColor.innerStrokeColor),e.push(typeof o[3]=="string"?o[3]:r.colors.multiColor.innerFillColor);break}return{size:t?.size||r.size,strokeWidth:t?.strokeWidth||r.strokeWidth,strokeLinecap:t?.strokeLinecap||r.strokeLinecap,strokeLinejoin:t?.strokeLinejoin||r.strokeLinejoin,colors:e,svg:t?.svg||"",id:l}},p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",k=function(l,t){for(var r="",o=0,e=l.length,n,s,u,i=t?g:p;o<e;){if(n=l.charCodeAt(o++)&255,o===e){r+=i.charAt(n>>2),r+=i.charAt((n&3)<<4),r+="==";break}if(s=l.charCodeAt(o++),o===e){r+=i.charAt(n>>2),r+=i.charAt((n&3)<<4|(s&240)>>4),r+=i.charAt((s&15)<<2),r+="=";break}u=l.charCodeAt(o++),r+=i.charAt(n>>2),r+=i.charAt((n&3)<<4|(s&240)>>4),r+=i.charAt((s&15)<<2|(u&192)>>6),r+=i.charAt(u&63)}return r},L=function(l){var t="",r,o,e=l.length;for(r=0;r<e;r++)o=l.charCodeAt(r),o>=1&&o<=127?t+=l.charAt(r):o>2047?(t+=String.fromCharCode(224|o>>12&15),t+=String.fromCharCode(128|o>>6&63),t+=String.fromCharCode(128|o>>0&63)):(t+=String.fromCharCode(192|o>>6&31),t+=String.fromCharCode(128|o>>0&63));return t},m=v,S=function(){return m},w=function(l,t,r){return function(o){var e=S(),n=["".concat(e.prefix,"-icon")];n.push("".concat(e.prefix,"-icon-").concat(l)),t&&e.rtl&&n.push("".concat(e.prefix,"-icon-rtl")),o!=null&&o.spin&&n.push("".concat(e.prefix,"-icon-spin"));var s=f(h(),o,e),u=r(s),i=k(L(u)),C="data:image/svg+xml;base64,".concat(i);return o!=null&&o.base64?C:'<span class="'.concat(n.join(" "),`"> <img class="`).concat(e.prefix,'-icon-img" src="').concat(C,`" /> </span>`)}},d=function(l){var t,r,o,e;return`<?xml version="1.0" encoding="UTF-8"?> <svg width="`.concat(l.size,'" height="').concat(l.size,`" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <rect width="48" height="48" fill="white" fill-opacity="0.01"/> <path d="M47.7857143,28.2053571 L47.7803571,28.2 L47.775,28.1946429 C45.4125,23.1964286 41.7535714,20.625 36.8839286,20.625 C32.0142857,20.625 28.3553571,23.2017857 25.9875,28.1946429 L25.9875,28.2 C25.6982143,28.8160714 25.6982143,29.5339286 25.9875,30.15 C28.3553571,35.1428571 32.0142857,37.7142857 36.8839286,37.7142857 C41.7535714,37.7142857 45.4125,35.1375 47.7803571,30.1446429 C48.0696429,29.5285714 48.0696429,28.8160714 47.7857143,28.2053571 Z M36.8839286,34.2857143 C33.5571429,34.2857143 31.1303571,32.6785714 29.325,29.1696429 C31.125,25.6607143 33.5571429,24.0535714 36.8839286,24.0535714 C40.2107143,24.0535714 42.6375,25.6607143 44.4428571,29.1696429 C42.6428571,32.6785714 40.2107143,34.2857143 36.8839286,34.2857143 Z" fill="`).concat((t=l.colors)===null||t===void 0?void 0:t[0],`"/> <path d="M33.9107143,29.1964286 C33.9107143,30.8532828 35.25386,32.1964286 36.9107143,32.1964286 C38.5675685,32.1964286 39.9107143,30.8532828 39.9107143,29.1964286 C39.9107143,27.5395743 38.5675685,26.1964286 36.9107143,26.1964286 C35.25386,26.1964286 33.9107143,27.5395743 33.9107143,29.1964286 Z" fill="`).concat((r=l.colors)===null||r===void 0?void 0:r[0],`"/> <path d="M3.85714286,3.85714286 L41.5714286,3.85714286 L41.5714286,17.4107143 L45.4285714,17.4107143 L45.4285714,1.71428571 C45.4285714,0.766071429 44.6625,0 43.7142857,0 L1.71428571,0 C0.766071429,0 0,0.766071429 0,1.71428571 L0,29.5714286 C0,30.5196429 0.766071429,31.2857143 1.71428571,31.2857143 L20.5714286,31.2857143 L20.5714286,27.4285714 L3.85714286,27.4285714 L3.85714286,3.85714286 Z" fill="`).concat((o=l.colors)===null||o===void 0?void 0:o[0],`"/> <path d="M35.4053571,9.54107143 L33.4339286,7.56964286 C33.2678571,7.40357143 32.9946429,7.40357143 32.8285714,7.56964286 L22.9821429,17.4267857 L18.3696429,12.8089286 C18.2035714,12.6428571 17.9303571,12.6428571 17.7642857,12.8089286 L10.0339286,20.5392857 C9.86785714,20.7053571 9.86785714,20.9785714 10.0339286,21.1446429 L12.0053571,23.1160714 C12.1714286,23.2821429 12.4446429,23.2821429 12.6107143,23.1160714 L18.0642857,17.6625 L22.6767857,22.2803571 C22.8428571,22.4464286 23.1160714,22.4464286 23.2821429,22.2803571 L35.4053571,10.1464286 C35.5767857,9.98035714 35.5767857,9.70714286 35.4053571,9.54107143 L35.4053571,9.54107143 Z" fill="`).concat((e=l.colors)===null||e===void 0?void 0:e[0],`"/> </svg>`)},F=w("antd-fund-view",!1,d);return c.default=F,c.getIconAntdFundViewSvgHtml=d,Object.defineProperty(c,"__esModule",{value:!0}),c}({});