UNPKG

@fe6/icon-img

Version:

Water Icon 的纯 HTML 图标

9 lines (8 loc) 6.54 kB
var IconsAntdAlert=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,A=function(){return m},S=function(l,t,r){return function(o){var e=A(),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,r;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 d="M15.0540541,27.5405405 C15.0540541,27.2432432 15.2972973,27 15.5945946,27 L17.972973,27 C18.2702703,27 18.5135135,27.2432432 18.5135135,27.5405405 L18.5135135,36.7837838 L37.7027027,36.7837838 L37.7027027,26.3513514 C37.7027027,18.9783784 31.7243244,13 24.3513514,13 C16.9783784,13 11,18.9783784 11,26.3513514 L11,36.7837838 L15.0540541,36.7837838 L15.0540541,27.5405405 Z" fill="`).concat((t=l.colors)===null||t===void 0?void 0:t[1],`"/> <path d="M8.40670288,13.1081081 L10.5472434,10.9675676 C10.714811,10.8 10.714811,10.5243243 10.5472434,10.3567568 L6.87697315,6.68648649 C6.70781738,6.51899076 6.4353181,6.51899076 6.26616234,6.68648649 L4.12562179,8.82702703 C3.95812607,8.99618279 3.95812607,9.26868207 4.12562179,9.43783784 L7.79589207,13.1081081 C7.96345963,13.2756757 8.2337299,13.2756757 8.40670288,13.1081081 L8.40670288,13.1081081 Z M44.6012974,8.82702703 L42.4607569,6.68648649 C42.2916011,6.51899076 42.0191018,6.51899076 41.8499461,6.68648649 L38.1796758,10.3567568 C38.0121801,10.5259125 38.0121801,10.7984118 38.1796758,10.9675676 L40.3202163,13.1081081 C40.4877839,13.2756757 40.7634596,13.2756757 40.9310272,13.1081081 L44.6012974,9.43783784 C44.768865,9.26486486 44.768865,8.99459459 44.6012974,8.82702703 L44.6012974,8.82702703 Z M22.8445407,6.05405405 L25.8715677,6.05405405 C26.1094055,6.05405405 26.3040001,5.85945946 26.3040001,5.62162162 L26.3040001,0.432432432 C26.3040001,0.194594595 26.1094055,0 25.8715677,0 L22.8445407,0 C22.6067028,0 22.4121082,0.194594595 22.4121082,0.432432432 L22.4121082,5.62162162 C22.4121082,5.85945946 22.6067028,6.05405405 22.8445407,6.05405405 Z M41.6553515,44.5405405 L7.06075693,44.5405405 C6.10400017,44.5405405 5.3310272,45.3135135 5.3310272,46.2702703 L5.3310272,47.5675676 C5.3310272,47.8054054 5.5256218,48 5.76345963,48 L42.9526488,48 C43.1904866,48 43.3850812,47.8054054 43.3850812,47.5675676 L43.3850812,46.2702703 C43.3850812,45.3135135 42.6121082,44.5405405 41.6553515,44.5405405 Z M7.11481099,39.3513514 C7.11481099,40.3081081 7.88778396,41.0810811 8.84454071,41.0810811 L39.8715677,41.0810811 C40.8283244,41.0810811 41.6012974,40.3081081 41.6012974,39.3513514 L41.6012974,26.7567568 C41.6012974,17.2324324 33.8823785,9.51351351 24.3580542,9.51351351 C14.8337299,9.51351351 7.11481099,17.2324324 7.11481099,26.7567568 L7.11481099,39.3513514 Z M11.0067029,26.7567568 C11.0067029,19.3837838 16.9850812,13.4054054 24.3580542,13.4054054 C31.7310272,13.4054054 37.7094055,19.3837838 37.7094055,26.7567568 L37.7094055,37.1891892 L18.5202163,37.1891892 L18.5202163,27.9459459 C18.5202163,27.6486486 18.2769731,27.4054054 17.9796758,27.4054054 L15.6012974,27.4054054 C15.3040001,27.4054054 15.0607569,27.6486486 15.0607569,27.9459459 L15.0607569,37.1891892 L11.0067029,37.1891892 L11.0067029,26.7567568 Z" fill="`).concat((r=l.colors)===null||r===void 0?void 0:r[0],`"/> </svg>`)},y=S("antd-alert",!1,c);return C.default=y,C.getIconAntdAlertSvgHtml=c,Object.defineProperty(C,"__esModule",{value:!0}),C}({});