UNPKG

@fe6/icon-img

Version:

Water Icon 的纯 HTML 图标

8 lines (7 loc) 9.17 kB
var IconsAntdRadiusSetting=function(u){"use strict";var L={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)},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}},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},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=L,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(v(),o,e),C=r(s),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(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="M17.7440758,2.50236967 L14.5592417,2.50236967 C14.3090047,2.50236967 14.1042654,2.707109 14.1042654,2.95734597 L14.1042654,6.14218009 C14.1042654,6.39241706 14.3090047,6.5971564 14.5592417,6.5971564 L17.7440758,6.5971564 C17.9943128,6.5971564 18.1990521,6.39241706 18.1990521,6.14218009 L18.1990521,2.95734597 C18.1990521,2.707109 17.9943128,2.50236967 17.7440758,2.50236967 Z M15.2417062,41.4028436 L12.056872,41.4028436 C11.8066351,41.4028436 11.6018957,41.6075829 11.6018957,41.8578199 L11.6018957,45.042654 C11.6018957,45.292891 11.8066351,45.4976303 12.056872,45.4976303 L15.2417062,45.4976303 C15.4919431,45.4976303 15.6966825,45.292891 15.6966825,45.042654 L15.6966825,41.8578199 C15.6966825,41.6075829 15.4919431,41.4028436 15.2417062,41.4028436 Z M45.042654,29.8009479 L41.8578199,29.8009479 C41.6075829,29.8009479 41.4028436,30.0056872 41.4028436,30.2559242 L41.4028436,33.4407583 C41.4028436,33.6909953 41.6075829,33.8957346 41.8578199,33.8957346 L45.042654,33.8957346 C45.292891,33.8957346 45.4976303,33.6909953 45.4976303,33.4407583 L45.4976303,30.2559242 C45.4976303,30.0056872 45.292891,29.8009479 45.042654,29.8009479 Z M6.14218009,14.1042654 L2.95734597,14.1042654 C2.707109,14.1042654 2.50236967,14.3090047 2.50236967,14.5592417 L2.50236967,17.7440758 C2.50236967,17.9943128 2.707109,18.1990521 2.95734597,18.1990521 L6.14218009,18.1990521 C6.39241706,18.1990521 6.5971564,17.9943128 6.5971564,17.7440758 L6.5971564,14.5592417 C6.5971564,14.3090047 6.39241706,14.1042654 6.14218009,14.1042654 Z M6.14218009,23.2037915 L2.95734597,23.2037915 C2.707109,23.2037915 2.50236967,23.4085308 2.50236967,23.6587678 L2.50236967,26.8436019 C2.50236967,27.0938389 2.707109,27.2985782 2.95734597,27.2985782 L6.14218009,27.2985782 C6.39241706,27.2985782 6.5971564,27.0938389 6.5971564,26.8436019 L6.5971564,23.6587678 C6.5971564,23.4085308 6.39241706,23.2037915 6.14218009,23.2037915 Z M6.14218009,32.3033175 L2.95734597,32.3033175 C2.707109,32.3033175 2.50236967,32.5080569 2.50236967,32.7582938 L2.50236967,35.943128 C2.50236967,36.1933649 2.707109,36.3981043 2.95734597,36.3981043 L6.14218009,36.3981043 C6.39241706,36.3981043 6.5971564,36.1933649 6.5971564,35.943128 L6.5971564,32.7582938 C6.5971564,32.5080569 6.39241706,32.3033175 6.14218009,32.3033175 Z M6.14218009,41.4028436 L2.95734597,41.4028436 C2.707109,41.4028436 2.50236967,41.6075829 2.50236967,41.8578199 L2.50236967,45.042654 C2.50236967,45.292891 2.707109,45.4976303 2.95734597,45.4976303 L6.14218009,45.4976303 C6.39241706,45.4976303 6.5971564,45.292891 6.5971564,45.042654 L6.5971564,41.8578199 C6.5971564,41.6075829 6.39241706,41.4028436 6.14218009,41.4028436 Z M24.3412322,41.4028436 L21.1563981,41.4028436 C20.9061611,41.4028436 20.7014218,41.6075829 20.7014218,41.8578199 L20.7014218,45.042654 C20.7014218,45.292891 20.9061611,45.4976303 21.1563981,45.4976303 L24.3412322,45.4976303 C24.5914692,45.4976303 24.7962085,45.292891 24.7962085,45.042654 L24.7962085,41.8578199 C24.7962085,41.6075829 24.5914692,41.4028436 24.3412322,41.4028436 Z M33.4407583,41.4028436 L30.2559242,41.4028436 C30.0056872,41.4028436 29.8009479,41.6075829 29.8009479,41.8578199 L29.8009479,45.042654 C29.8009479,45.292891 30.0056872,45.4976303 30.2559242,45.4976303 L33.4407583,45.4976303 C33.6909953,45.4976303 33.8957346,45.292891 33.8957346,45.042654 L33.8957346,41.8578199 C33.8957346,41.6075829 33.6909953,41.4028436 33.4407583,41.4028436 Z M41.4028436,25.2511848 C41.4028436,25.5014218 41.6075829,25.7061611 41.8578199,25.7061611 L45.042654,25.7061611 C45.292891,25.7061611 45.4976303,25.5014218 45.4976303,25.2511848 L45.4976303,15.5829384 C45.4976303,8.36018957 39.6398104,2.50236967 32.4170616,2.50236967 L22.7488152,2.50236967 C22.4985782,2.50236967 22.2938389,2.707109 22.2938389,2.95734597 L22.2938389,6.14218009 C22.2938389,6.39241706 22.4985782,6.5971564 22.7488152,6.5971564 L32.4170616,6.5971564 C37.3819905,6.5971564 41.4028436,10.6180095 41.4028436,15.5829384 L41.4028436,25.2511848 Z M8.64454976,0 L0.454976303,0 C0.204739336,0 0,0.204739336 0,0.454976303 L0,8.64454976 C0,8.89478673 0.204739336,9.09952607 0.454976303,9.09952607 L8.64454976,9.09952607 C8.89478673,9.09952607 9.09952607,8.89478673 9.09952607,8.64454976 L9.09952607,0.454976303 C9.09952607,0.204739336 8.89478673,0 8.64454976,0 Z M5.91469194,5.77819905 C5.91469194,5.8521327 5.8521327,5.91469194 5.77819905,5.91469194 L3.32132701,5.91469194 C3.24739336,5.91469194 3.18483412,5.8521327 3.18483412,5.77819905 L3.18483412,3.32132701 C3.18483412,3.24739336 3.24739336,3.18483412 3.32132701,3.18483412 L5.77819905,3.18483412 C5.8521327,3.18483412 5.91469194,3.24739336 5.91469194,3.32132701 L5.91469194,5.77819905 L5.91469194,5.77819905 Z M47.5450237,38.9004739 L39.3554502,38.9004739 C39.1052133,38.9004739 38.9004739,39.1052133 38.9004739,39.3554502 L38.9004739,47.5450237 C38.9004739,47.7952607 39.1052133,48 39.3554502,48 L47.5450237,48 C47.7952607,48 48,47.7952607 48,47.5450237 L48,39.3554502 C48,39.1052133 47.7952607,38.9004739 47.5450237,38.9004739 Z M44.8151659,44.678673 C44.8151659,44.7526066 44.7526066,44.8151659 44.678673,44.8151659 L42.2218009,44.8151659 C42.1478673,44.8151659 42.0853081,44.7526066 42.0853081,44.678673 L42.0853081,42.2218009 C42.0853081,42.1478673 42.1478673,42.0853081 42.2218009,42.0853081 L44.678673,42.0853081 C44.7526066,42.0853081 44.8151659,42.1478673 44.8151659,42.2218009 L44.8151659,44.678673 Z"/> </svg>`)},y=A("antd-radius-setting",!1,c);return u.default=y,u.getIconAntdRadiusSettingSvgHtml=c,Object.defineProperty(u,"__esModule",{value:!0}),u}({});