UNPKG

@fe6/icon-img

Version:

Water Icon 的纯 HTML 图标

8 lines (7 loc) 6.05 kB
var IconsAntdRadiusUpright=function(C){"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,u,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}u=l.charCodeAt(o++),r+=n.charAt(i>>2),r+=n.charAt((i&3)<<4|(s&240)>>4),r+=n.charAt((s&15)<<2|(u&192)>>6),r+=n.charAt(u&63)}return r},k=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=h,S=function(){return m},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),u=r(s),n=g(k(u)),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,0 L11.5,0 C11.225,0 11,0.225 11,0.5 L11,4 C11,4.275 11.225,4.5 11.5,4.5 L15,4.5 C15.275,4.5 15.5,4.275 15.5,4 L15.5,0.5 C15.5,0.225 15.275,0 15,0 Z M14.875,43.5 L11.375,43.5 C11.1,43.5 10.875,43.725 10.875,44 L10.875,47.5 C10.875,47.775 11.1,48 11.375,48 L14.875,48 C15.15,48 15.375,47.775 15.375,47.5 L15.375,44 C15.375,43.725 15.15,43.5 14.875,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,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 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 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,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,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,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 M25.75,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 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 M36.625,43.5 L33.125,43.5 C32.85,43.5 32.625,43.725 32.625,44 L32.625,47.5 C32.625,47.775 32.85,48 33.125,48 L36.625,48 C36.9,48 37.125,47.775 37.125,47.5 L37.125,44 C37.125,43.725 36.9,43.5 36.625,43.5 Z M33.625,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 L33.625,4.5 C39.08125,4.5 43.5,8.91875 43.5,14.375 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,14.375 C48,6.4375 41.5625,0 33.625,0 Z"/> </svg>`)},y=A("antd-radius-upright",!1,c);return C.default=y,C.getIconAntdRadiusUprightSvgHtml=c,Object.defineProperty(C,"__esModule",{value:!0}),C}({});