UNPKG

@fe6/icon-img

Version:

Water Icon 的纯 HTML 图标

8 lines (7 loc) 6.03 kB
var IconsAntdRadiusBottomright=function(u){"use strict";var h={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"},v=function(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)},L=function(l,t,r){var o=t?.colors||[],e=[],i=t?.theme||r.theme;switch(i){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}},f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",g=function(l,t){for(var r="",o=0,e=l.length,i,s,C,n=t?p:f;o<e;){if(i=l.charCodeAt(o++)&255,o===e){r+=n.charAt(i>>2),r+=n.charAt((i&3)<<4),r+="==";break}if(s=l.charCodeAt(o++),o===e){r+=n.charAt(i>>2),r+=n.charAt((i&3)<<4|(s&240)>>4),r+=n.charAt((s&15)<<2),r+="=";break}C=l.charCodeAt(o++),r+=n.charAt(i>>2),r+=n.charAt((i&3)<<4|(s&240)>>4),r+=n.charAt((s&15)<<2|(C&192)>>6),r+=n.charAt(C&63)}return r},m=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},k=h,S=function(){return k},A=function(l,t,r){return function(o){var e=S(),i=["".concat(e.prefix,"-icon")];i.push("".concat(e.prefix,"-icon-").concat(l)),t&&e.rtl&&i.push("".concat(e.prefix,"-icon-rtl")),o!=null&&o.spin&&i.push("".concat(e.prefix,"-icon-spin"));var s=L(v(),o,e),C=r(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 t;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((t=l.colors)===null||t===void 0?void 0:t[0],`" d="M15,43.5 L11.5,43.5 C11.225,43.5 11,43.725 11,44 L11,47.5 C11,47.775 11.225,48 11.5,48 L15,48 C15.275,48 15.5,47.775 15.5,47.5 L15.5,44 C15.5,43.725 15.275,43.5 15,43.5 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 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 M4,43.5 L0.5,43.5 C0.225,43.5 0,43.725 0,44 L0,47.5 C0,47.775 0.225,48 0.5,48 L4,48 C4.275,48 4.5,47.775 4.5,47.5 L4.5,44 C4.5,43.725 4.275,43.5 4,43.5 Z M4,32.625 L0.5,32.625 C0.225,32.625 0,32.85 0,33.125 L0,36.625 C0,36.9 0.225,37.125 0.5,37.125 L4,37.125 C4.275,37.125 4.5,36.9 4.5,36.625 L4.5,33.125 C4.5,32.85 4.275,32.625 4,32.625 Z M4,21.75 L0.5,21.75 C0.225,21.75 0,21.975 0,22.25 L0,25.75 C0,26.025 0.225,26.25 0.5,26.25 L4,26.25 C4.275,26.25 4.5,26.025 4.5,25.75 L4.5,22.25 C4.5,21.975 4.275,21.75 4,21.75 Z M4,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 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 Z M4,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 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 Z M22.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 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 Z M33.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 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 Z M47.5,21.75 L44,21.75 C43.725,21.75 43.5,21.975 43.5,22.25 L43.5,33.625 C43.5,39.08125 39.08125,43.5 33.625,43.5 L22.25,43.5 C21.975,43.5 21.75,43.725 21.75,44 L21.75,47.5 C21.75,47.775 21.975,48 22.25,48 L33.625,48 C41.5625,48 48,41.5625 48,33.625 L48,22.25 C48,21.975 47.775,21.75 47.5,21.75 Z"/> </svg>`)},y=A("antd-radius-bottomright",!1,c);return u.default=y,u.getIconAntdRadiusBottomrightSvgHtml=c,Object.defineProperty(u,"__esModule",{value:!0}),u}({});