UNPKG

@fe6/icon-img

Version:

Water Icon 的纯 HTML 图标

12 lines (11 loc) 6.56 kB
var IconsAntdReconciliation=function(u){"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"},L=function(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)},h=function(e,t,r){var o=t?.colors||[],l=[],i=t?.theme||r.theme;switch(i){case"outline":l.push(typeof o[0]=="string"?o[0]:r.colors.outline.outStrokeColor),l.push(typeof o[1]=="string"?o[1]:r.colors.outline.outFillColor),l.push(typeof o[0]=="string"?o[0]:r.colors.outline.outStrokeColor),l.push(typeof o[1]=="string"?o[1]:r.colors.outline.outFillColor);break;case"filled":l.push(typeof o[0]=="string"?o[0]:r.colors.filled.outStrokeColor),l.push(typeof o[0]=="string"?o[0]:r.colors.filled.outStrokeColor),l.push(typeof o[1]=="string"?o[1]:r.colors.filled.outFillColor),l.push(typeof o[1]=="string"?o[1]:r.colors.filled.outFillColor);break;case"twoTone":l.push(typeof o[0]=="string"?o[0]:r.colors.twoTone.outStrokeColor),l.push(typeof o[1]=="string"?o[1]:r.colors.twoTone.outFillColor),l.push(typeof o[0]=="string"?o[0]:r.colors.twoTone.outStrokeColor),l.push(typeof o[1]=="string"?o[1]:r.colors.twoTone.outFillColor);break;case"multiColor":l.push(typeof o[0]=="string"?o[0]:r.colors.multiColor.outStrokeColor),l.push(typeof o[1]=="string"?o[1]:r.colors.multiColor.outFillColor),l.push(typeof o[2]=="string"?o[2]:r.colors.multiColor.innerStrokeColor),l.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:l,svg:t?.svg||"",id:e}},f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",g=function(e,t){for(var r="",o=0,l=e.length,i,a,c,n=t?p:f;o<l;){if(i=e.charCodeAt(o++)&255,o===l){r+=n.charAt(i>>2),r+=n.charAt((i&3)<<4),r+="==";break}if(a=e.charCodeAt(o++),o===l){r+=n.charAt(i>>2),r+=n.charAt((i&3)<<4|(a&240)>>4),r+=n.charAt((a&15)<<2),r+="=";break}c=e.charCodeAt(o++),r+=n.charAt(i>>2),r+=n.charAt((i&3)<<4|(a&240)>>4),r+=n.charAt((a&15)<<2|(c&192)>>6),r+=n.charAt(c&63)}return r},k=function(e){var t="",r,o,l=e.length;for(r=0;r<l;r++)o=e.charCodeAt(r),o>=1&&o<=127?t+=e.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},A=function(e,t,r){return function(o){var l=S(),i=["".concat(l.prefix,"-icon")];i.push("".concat(l.prefix,"-icon-").concat(e)),t&&l.rtl&&i.push("".concat(l.prefix,"-icon-rtl")),o!=null&&o.spin&&i.push("".concat(l.prefix,"-icon-spin"));var a=h(L(),o,l),c=r(a),n=g(k(c)),d="data:image/svg+xml;base64,".concat(n);return o!=null&&o.base64?d:'<span class="'.concat(i.join(" "),`"> <img class="`).concat(l.prefix,'-icon-img" src="').concat(d,`" /> </span>`)}},C=function(e){var t,r,o,l,i;return`<?xml version="1.0" encoding="UTF-8"?> <svg width="`.concat(e.size,'" height="').concat(e.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="M37.68,13.92 L17.52,13.92 L17.52,7.68 L11.52,7.68 L11.52,17.28 L22.08,17.28 C23.142,17.28 24,18.138 24,19.2 L24,40.8 L43.68,40.8 L43.68,7.68 L37.68,7.68 L37.68,13.92 Z M28.32,20.16 C28.32,19.896 28.536,19.68 28.8,19.68 L31.68,19.68 C31.944,19.68 32.16,19.896 32.16,20.16 L32.16,23.52 C32.16,23.784 31.944,24 31.68,24 L28.8,24 C28.536,24 28.32,23.784 28.32,23.52 L28.32,20.16 Z M33.84,38.22 C30.792,38.22 28.32,35.748 28.32,32.7 C28.32,29.652 30.792,27.18 33.84,27.18 C36.888,27.18 39.36,29.652 39.36,32.7 C39.36,35.748 36.888,38.22 33.84,38.22 Z M39.36,17.76 L39.36,23.52 C39.36,23.784 39.144,24 38.88,24 L36,24 C35.736,24 35.52,23.784 35.52,23.52 L35.52,17.76 C35.52,17.496 35.736,17.28 36,17.28 L38.88,17.28 C39.144,17.28 39.36,17.496 39.36,17.76 Z" fill="`).concat((t=e.colors)===null||t===void 0?void 0:t[1],`"/> <path d="M31.8,32.7 C31.8,33.8266609 32.7133391,34.74 33.84,34.74 C34.9666609,34.74 35.88,33.8266609 35.88,32.7 C35.88,31.5733391 34.9666609,30.66 33.84,30.66 C32.7133391,30.66 31.8,31.5733391 31.8,32.7 Z" fill="`).concat((r=e.colors)===null||r===void 0?void 0:r[1],`"/> <path d="M28.8,24 L31.68,24 C31.944,24 32.16,23.784 32.16,23.52 L32.16,20.16 C32.16,19.896 31.944,19.68 31.68,19.68 L28.8,19.68 C28.536,19.68 28.32,19.896 28.32,20.16 L28.32,23.52 C28.32,23.784 28.536,24 28.8,24 Z M35.52,17.76 L35.52,23.52 C35.52,23.784 35.736,24 36,24 L38.88,24 C39.144,24 39.36,23.784 39.36,23.52 L39.36,17.76 C39.36,17.496 39.144,17.28 38.88,17.28 L36,17.28 C35.736,17.28 35.52,17.496 35.52,17.76 Z" fill="`).concat((o=e.colors)===null||o===void 0?void 0:o[2],`"/> <path d="M46.08,3.36 L33.36,3.36 C33.36,1.506 31.854,0 30,0 L25.2,0 C23.346,0 21.84,1.506 21.84,3.36 L9.12,3.36 C8.058,3.36 7.2,4.218 7.2,5.28 L7.2,17.28 L1.92,17.28 C0.858,17.28 0,18.138 0,19.2 L0,46.08 C0,47.142 0.858,48 1.92,48 L22.08,48 C23.142,48 24,47.142 24,46.08 L24,45.12 L46.08,45.12 C47.142,45.12 48,44.262 48,43.2 L48,5.28 C48,4.218 47.142,3.36 46.08,3.36 Z M21.36,7.2 L25.68,7.2 L25.68,3.84 L29.52,3.84 L29.52,7.2 L33.84,7.2 L33.84,10.08 L21.36,10.08 L21.36,7.2 Z M20.16,44.16 L3.84,44.16 L3.84,30.24 L20.16,30.24 L20.16,44.16 Z M20.16,26.4 L3.84,26.4 L3.84,21.12 L20.16,21.12 L20.16,26.4 Z M43.68,40.8 L24,40.8 L24,19.2 C24,18.138 23.142,17.28 22.08,17.28 L11.52,17.28 L11.52,7.68 L17.52,7.68 L17.52,13.92 L37.68,13.92 L37.68,7.68 L43.68,7.68 L43.68,40.8 Z" fill="`).concat((l=e.colors)===null||l===void 0?void 0:l[0],`"/> <path d="M33.84,27.18 C30.792,27.18 28.32,29.652 28.32,32.7 C28.32,35.748 30.792,38.22 33.84,38.22 C36.888,38.22 39.36,35.748 39.36,32.7 C39.36,29.652 36.888,27.18 33.84,27.18 Z M33.84,34.74 C32.712,34.74 31.8,33.828 31.8,32.7 C31.8,31.572 32.712,30.66 33.84,30.66 C34.968,30.66 35.88,31.572 35.88,32.7 C35.88,33.828 34.968,34.74 33.84,34.74 Z" fill="`).concat((i=e.colors)===null||i===void 0?void 0:i[0],`"/> </svg>`)},y=A("antd-reconciliation",!1,C);return u.default=y,u.getIconAntdReconciliationSvgHtml=C,Object.defineProperty(u,"__esModule",{value:!0}),u}({});