UNPKG

@fe6/icon-img

Version:

Water Icon 的纯 HTML 图标

8 lines (7 loc) 6.09 kB
var IconsAntdRadiusUpleft=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"},f=function(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)},h=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}},L="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",g=function(l,t){for(var r="",o=0,e=l.length,i,s,u,n=t?p:L;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=v,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=h(f(),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="M33,4.5 L36.5,4.5 C36.775,4.5 37,4.275 37,4 L37,0.5 C37,0.225 36.775,0 36.5,0 L33,0 C32.725,0 32.5,0.225 32.5,0.5 L32.5,4 C32.5,4.275 32.725,4.5 33,4.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 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 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 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,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,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 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 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 M25.75,0 L14.375,0 C6.4375,0 0,6.4375 0,14.375 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,14.375 C4.5,8.91875 8.91875,4.5 14.375,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"/> </svg>`)},y=A("antd-radius-upleft",!1,c);return C.default=y,C.getIconAntdRadiusUpleftSvgHtml=c,Object.defineProperty(C,"__esModule",{value:!0}),C}({});