UNPKG

@fe6/icon-img

Version:

Water Icon 的纯 HTML 图标

8 lines (7 loc) 4.32 kB
var IconsAntdBorderlessTable=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"},f=function(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)},C=function(l,e,r){var o=e?.colors||[],t=[],n=e?.theme||r.theme;switch(n){case"outline":t.push(typeof o[0]=="string"?o[0]:r.colors.outline.outStrokeColor),t.push(typeof o[1]=="string"?o[1]:r.colors.outline.outFillColor),t.push(typeof o[0]=="string"?o[0]:r.colors.outline.outStrokeColor),t.push(typeof o[1]=="string"?o[1]:r.colors.outline.outFillColor);break;case"filled":t.push(typeof o[0]=="string"?o[0]:r.colors.filled.outStrokeColor),t.push(typeof o[0]=="string"?o[0]:r.colors.filled.outStrokeColor),t.push(typeof o[1]=="string"?o[1]:r.colors.filled.outFillColor),t.push(typeof o[1]=="string"?o[1]:r.colors.filled.outFillColor);break;case"twoTone":t.push(typeof o[0]=="string"?o[0]:r.colors.twoTone.outStrokeColor),t.push(typeof o[1]=="string"?o[1]:r.colors.twoTone.outFillColor),t.push(typeof o[0]=="string"?o[0]:r.colors.twoTone.outStrokeColor),t.push(typeof o[1]=="string"?o[1]:r.colors.twoTone.outFillColor);break;case"multiColor":t.push(typeof o[0]=="string"?o[0]:r.colors.multiColor.outStrokeColor),t.push(typeof o[1]=="string"?o[1]:r.colors.multiColor.outFillColor),t.push(typeof o[2]=="string"?o[2]:r.colors.multiColor.innerStrokeColor),t.push(typeof o[3]=="string"?o[3]:r.colors.multiColor.innerFillColor);break}return{size:e?.size||r.size,strokeWidth:e?.strokeWidth||r.strokeWidth,strokeLinecap:e?.strokeLinecap||r.strokeLinecap,strokeLinejoin:e?.strokeLinejoin||r.strokeLinejoin,colors:t,svg:e?.svg||"",id:l}},L="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",g=function(l,e){for(var r="",o=0,t=l.length,n,i,u,s=e?p:L;o<t;){if(n=l.charCodeAt(o++)&255,o===t){r+=s.charAt(n>>2),r+=s.charAt((n&3)<<4),r+="==";break}if(i=l.charCodeAt(o++),o===t){r+=s.charAt(n>>2),r+=s.charAt((n&3)<<4|(i&240)>>4),r+=s.charAt((i&15)<<2),r+="=";break}u=l.charCodeAt(o++),r+=s.charAt(n>>2),r+=s.charAt((n&3)<<4|(i&240)>>4),r+=s.charAt((i&15)<<2|(u&192)>>6),r+=s.charAt(u&63)}return r},k=function(l){var e="",r,o,t=l.length;for(r=0;r<t;r++)o=l.charCodeAt(r),o>=1&&o<=127?e+=l.charAt(r):o>2047?(e+=String.fromCharCode(224|o>>12&15),e+=String.fromCharCode(128|o>>6&63),e+=String.fromCharCode(128|o>>0&63)):(e+=String.fromCharCode(192|o>>6&31),e+=String.fromCharCode(128|o>>0&63));return e},m=h,S=function(){return m},b=function(l,e,r){return function(o){var t=S(),n=["".concat(t.prefix,"-icon")];n.push("".concat(t.prefix,"-icon-").concat(l)),e&&t.rtl&&n.push("".concat(t.prefix,"-icon-rtl")),o!=null&&o.spin&&n.push("".concat(t.prefix,"-icon-spin"));var i=C(f(),o,t),u=r(i),s=g(k(u)),v="data:image/svg+xml;base64,".concat(s);return o!=null&&o.base64?v:'<span class="'.concat(n.join(" "),`"> <img class="`).concat(t.prefix,'-icon-img" src="').concat(v,`" /> </span>`)}},d=function(l){var e;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="M0,15.34 L13.86,15.34 L13.86,19.18 L0,19.18 L0,15.34 Z M33.54,15.34 L48,15.34 L48,19.18 L33.54,19.18 L33.54,15.34 Z M17.7,15.34 L29.7,15.34 L29.7,19.18 L17.7,19.18 L17.7,15.34 Z M17.7,28.78 L29.7,28.78 L29.7,32.62 L17.7,32.62 L17.7,28.78 Z M33.54,28.78 L48,28.78 L48,32.62 L33.54,32.62 L33.54,28.78 Z M0,28.78 L13.86,28.78 L13.86,32.62 L0,32.62 L0,28.78 Z M17.7,19.18 L17.7,4 L13.86,4 L13.86,43.96 L17.7,43.96 L17.7,28.78 L17.7,19.18 Z M33.54,15.34 L33.54,4 L29.7,4 L29.7,43.96 L33.54,43.96 L33.54,19.18 L33.54,15.34 Z" fill="`).concat((e=l.colors)===null||e===void 0?void 0:e[0],`"/> </svg>`)},A=b("antd-borderless-table",!1,d);return c.default=A,c.getIconAntdBorderlessTableSvgHtml=d,Object.defineProperty(c,"__esModule",{value:!0}),c}({});