@fe6/icon-img
Version:
Water Icon 的纯 HTML 图标
8 lines (7 loc) • 6.07 kB
JavaScript
var IconsAntdRadiusBottomleft=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"},f=function(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)},h=function(l,r,t){var o=r?.colors||[],e=[],i=r?.theme||t.theme;switch(i){case"outline":e.push(typeof o[0]=="string"?o[0]:t.colors.outline.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:t.colors.outline.outFillColor),e.push(typeof o[0]=="string"?o[0]:t.colors.outline.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:t.colors.outline.outFillColor);break;case"filled":e.push(typeof o[0]=="string"?o[0]:t.colors.filled.outStrokeColor),e.push(typeof o[0]=="string"?o[0]:t.colors.filled.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:t.colors.filled.outFillColor),e.push(typeof o[1]=="string"?o[1]:t.colors.filled.outFillColor);break;case"twoTone":e.push(typeof o[0]=="string"?o[0]:t.colors.twoTone.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:t.colors.twoTone.outFillColor),e.push(typeof o[0]=="string"?o[0]:t.colors.twoTone.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:t.colors.twoTone.outFillColor);break;case"multiColor":e.push(typeof o[0]=="string"?o[0]:t.colors.multiColor.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:t.colors.multiColor.outFillColor),e.push(typeof o[2]=="string"?o[2]:t.colors.multiColor.innerStrokeColor),e.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:e,svg:r?.svg||"",id:l}},L="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",g=function(l,r){for(var t="",o=0,e=l.length,i,s,C,n=r?p:L;o<e;){if(i=l.charCodeAt(o++)&255,o===e){t+=n.charAt(i>>2),t+=n.charAt((i&3)<<4),t+="==";break}if(s=l.charCodeAt(o++),o===e){t+=n.charAt(i>>2),t+=n.charAt((i&3)<<4|(s&240)>>4),t+=n.charAt((s&15)<<2),t+="=";break}C=l.charCodeAt(o++),t+=n.charAt(i>>2),t+=n.charAt((i&3)<<4|(s&240)>>4),t+=n.charAt((s&15)<<2|(C&192)>>6),t+=n.charAt(C&63)}return t},m=function(l){var r="",t,o,e=l.length;for(t=0;t<e;t++)o=l.charCodeAt(t),o>=1&&o<=127?r+=l.charAt(t):o>2047?(r+=String.fromCharCode(224|o>>12&15),r+=String.fromCharCode(128|o>>6&63),r+=String.fromCharCode(128|o>>0&63)):(r+=String.fromCharCode(192|o>>6&31),r+=String.fromCharCode(128|o>>0&63));return r},k=v,S=function(){return k},A=function(l,r,t){return function(o){var e=S(),i=["".concat(e.prefix,"-icon")];i.push("".concat(e.prefix,"-icon-").concat(l)),r&&e.rtl&&i.push("".concat(e.prefix,"-icon-rtl")),o!=null&&o.spin&&i.push("".concat(e.prefix,"-icon-spin"));var s=h(f(),o,e),C=t(s),n=g(m(C)),d="data:image/svg+xml;base64,".concat(n);return o!=null&&o.base64?d:'<span class="'.concat(i.join(" "),`">
<img class="`).concat(e.prefix,'-icon-img" src="').concat(d,`" />
</span>`)}},c=function(l){var r;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 fill="`).concat((r=l.colors)===null||r===void 0?void 0:r[0],`" d="M36.5,43.5 L33,43.5 C32.725,43.5 32.5,43.725 32.5,44 L32.5,47.5 C32.5,47.775 32.725,48 33,48 L36.5,48 C36.775,48 37,47.775 37,47.5 L37,44 C37,43.725 36.775,43.5 36.5,43.5 Z M36.625,0 L33.125,0 C32.85,0 32.625,0.225 32.625,0.5 L32.625,4 C32.625,4.275 32.85,4.5 33.125,4.5 L36.625,4.5 C36.9,4.5 37.125,4.275 37.125,4 L37.125,0.5 C37.125,0.225 36.9,0 36.625,0 Z M0.5,15.375 L4,15.375 C4.275,15.375 4.5,15.15 4.5,14.875 L4.5,11.375 C4.5,11.1 4.275,10.875 4,10.875 L0.5,10.875 C0.225,10.875 0,11.1 0,11.375 L0,14.875 C0,15.15 0.225,15.375 0.5,15.375 Z M0.5,4.5 L4,4.5 C4.275,4.5 4.5,4.275 4.5,4 L4.5,0.5 C4.5,0.225 4.275,0 4,0 L0.5,0 C0.225,0 0,0.225 0,0.5 L0,4 C0,4.275 0.225,4.5 0.5,4.5 Z M47.5,43.5 L44,43.5 C43.725,43.5 43.5,43.725 43.5,44 L43.5,47.5 C43.5,47.775 43.725,48 44,48 L47.5,48 C47.775,48 48,47.775 48,47.5 L48,44 C48,43.725 47.775,43.5 47.5,43.5 Z M47.5,32.625 L44,32.625 C43.725,32.625 43.5,32.85 43.5,33.125 L43.5,36.625 C43.5,36.9 43.725,37.125 44,37.125 L47.5,37.125 C47.775,37.125 48,36.9 48,36.625 L48,33.125 C48,32.85 47.775,32.625 47.5,32.625 Z M47.5,21.75 L44,21.75 C43.725,21.75 43.5,21.975 43.5,22.25 L43.5,25.75 C43.5,26.025 43.725,26.25 44,26.25 L47.5,26.25 C47.775,26.25 48,26.025 48,25.75 L48,22.25 C48,21.975 47.775,21.75 47.5,21.75 Z M47.5,10.875 L44,10.875 C43.725,10.875 43.5,11.1 43.5,11.375 L43.5,14.875 C43.5,15.15 43.725,15.375 44,15.375 L47.5,15.375 C47.775,15.375 48,15.15 48,14.875 L48,11.375 C48,11.1 47.775,10.875 47.5,10.875 Z M47.5,0 L44,0 C43.725,0 43.5,0.225 43.5,0.5 L43.5,4 C43.5,4.275 43.725,4.5 44,4.5 L47.5,4.5 C47.775,4.5 48,4.275 48,4 L48,0.5 C48,0.225 47.775,0 47.5,0 Z M25.75,0 L22.25,0 C21.975,0 21.75,0.225 21.75,0.5 L21.75,4 C21.75,4.275 21.975,4.5 22.25,4.5 L25.75,4.5 C26.025,4.5 26.25,4.275 26.25,4 L26.25,0.5 C26.25,0.225 26.025,0 25.75,0 Z M11.375,4.5 L14.875,4.5 C15.15,4.5 15.375,4.275 15.375,4 L15.375,0.5 C15.375,0.225 15.15,0 14.875,0 L11.375,0 C11.1,0 10.875,0.225 10.875,0.5 L10.875,4 C10.875,4.275 11.1,4.5 11.375,4.5 Z M25.75,43.5 L14.375,43.5 C8.91875,43.5 4.5,39.08125 4.5,33.625 L4.5,22.25 C4.5,21.975 4.275,21.75 4,21.75 L0.5,21.75 C0.225,21.75 0,21.975 0,22.25 L0,33.625 C0,41.5625 6.4375,48 14.375,48 L25.75,48 C26.025,48 26.25,47.775 26.25,47.5 L26.25,44 C26.25,43.725 26.025,43.5 25.75,43.5 Z"/>
</svg>`)},y=A("antd-radius-bottomleft",!1,c);return u.default=y,u.getIconAntdRadiusBottomleftSvgHtml=c,Object.defineProperty(u,"__esModule",{value:!0}),u}({});