@fe6/icon-img
Version:
Water Icon 的纯 HTML 图标
8 lines (7 loc) • 6.19 kB
JavaScript
var IconsAntdFullscreen=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"},h=function(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)},f=function(l,t,r){var o=t?.colors||[],e=[],n=t?.theme||r.theme;switch(n){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}},p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",L="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",g=function(l,t){for(var r="",o=0,e=l.length,n,s,u,i=t?L:p;o<e;){if(n=l.charCodeAt(o++)&255,o===e){r+=i.charAt(n>>2),r+=i.charAt((n&3)<<4),r+="==";break}if(s=l.charCodeAt(o++),o===e){r+=i.charAt(n>>2),r+=i.charAt((n&3)<<4|(s&240)>>4),r+=i.charAt((s&15)<<2),r+="=";break}u=l.charCodeAt(o++),r+=i.charAt(n>>2),r+=i.charAt((n&3)<<4|(s&240)>>4),r+=i.charAt((s&15)<<2|(u&192)>>6),r+=i.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},F=function(l,t,r){return function(o){var e=S(),n=["".concat(e.prefix,"-icon")];n.push("".concat(e.prefix,"-icon-").concat(l)),t&&e.rtl&&n.push("".concat(e.prefix,"-icon-rtl")),o!=null&&o.spin&&n.push("".concat(e.prefix,"-icon-spin"));var s=f(h(),o,e),u=r(s),i=g(k(u)),d="data:image/svg+xml;base64,".concat(i);return o!=null&&o.base64?d:'<span class="'.concat(n.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="M8.85922936,5.2120829 L11.8519346,2.21937767 C11.9990052,2.07157871 12.0490706,1.85292819 11.980966,1.65585954 C11.9128614,1.45879089 11.7384763,1.31770785 11.5315311,1.29225259 L0.61054297,0.00382140935 C0.262871065,-0.0370811678 -0.0370811678,0.256053968 0.00382140935,0.61054297 L1.29225259,11.5315311 C1.34678936,11.9814594 1.89897415,12.1723381 2.21937767,11.8519346 L5.19844871,8.87286355 L14.3129063,17.9805041 C14.5242363,18.191834 14.8719082,18.191834 15.0832382,17.9805041 L17.973687,15.0968724 C18.1850169,14.8855424 18.1850169,14.5378705 17.973687,14.3265405 L8.85922936,5.2120829 Z M32.9031276,17.9805041 C33.1144576,18.191834 33.4621295,18.191834 33.6734595,17.9805041 L42.7879171,8.87286355 L45.7669881,11.8519346 C45.9147871,11.9990052 46.1334376,12.0490706 46.3305063,11.980966 C46.5275749,11.9128614 46.668658,11.7384763 46.6941132,11.5315311 L47.9825444,0.617360066 C48.023447,0.269688161 47.7303118,-0.0302640716 47.3758228,0.0106385055 L36.4548347,1.29906969 C36.0049064,1.35360646 35.8140277,1.90579125 36.1344312,2.22619477 L39.1271364,5.2189 L30.0126788,14.3197234 C29.8014395,14.5330564 29.8014395,14.8767223 30.0126788,15.0900553 L32.9031276,17.9805041 L32.9031276,17.9805041 Z M46.6941132,36.4684689 C46.6395764,36.0185406 46.0873917,35.8276619 45.7669881,36.1480654 L42.7879171,39.1271364 L33.6734595,30.0194959 C33.4601265,29.8082566 33.1164606,29.8082566 32.9031276,30.0194959 L30.0126788,32.9031276 C29.8014395,33.1164606 29.8014395,33.4601265 30.0126788,33.6734595 L39.1271364,42.7879171 L36.1344312,45.7806223 C35.9873606,45.9284213 35.9372952,46.1470718 36.0053998,46.3441405 C36.0735044,46.5412091 36.2478895,46.6822921 36.4548347,46.7077474 L47.3758228,47.9961786 C47.7234947,48.0370812 48.023447,47.743946 47.9825444,47.389457 L46.6941132,36.4684689 Z M15.0832382,30.0194959 C14.8699052,29.8082566 14.5262393,29.8082566 14.3129063,30.0194959 L5.19844871,39.1271364 L2.21937767,36.1480654 C2.07157871,36.0009948 1.85292819,35.9509294 1.65585954,36.019034 C1.45879089,36.0871386 1.31770785,36.2615237 1.29225259,36.4684689 L0.00382140935,47.3826399 C-0.0370811678,47.7303118 0.256053968,48.0302641 0.61054297,47.9893615 L11.5315311,46.7009303 C11.9814594,46.6463935 12.1723381,46.0942088 11.8519346,45.7738052 L8.85922936,42.7879171 L17.973687,33.6802766 C18.1850169,33.4689466 18.1850169,33.1212747 17.973687,32.9099447 L15.0832382,30.0194959 L15.0832382,30.0194959 Z"/>
</svg>`)},A=F("antd-fullscreen",!1,C);return c.default=A,c.getIconAntdFullscreenSvgHtml=C,Object.defineProperty(c,"__esModule",{value:!0}),c}({});