UNPKG

@gf-ui/components

Version:
24 lines (20 loc) 2.15 kB
import { r as registerInstance, h, H as Host } from './index-e22013e4.js'; import { I as Icons } from './index-22c022f8.js'; const svgData = {"name":"svg","type":"element","value":"","attributes":{"class":"icon","width":"32px","height":"32.00px","viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg"},"children":[{"name":"path","type":"element","value":"","attributes":{"d":"M102.4 102.4m307.2 0l204.8 0q307.2 0 307.2 307.2l0 204.8q0 307.2-307.2 307.2l-204.8 0q-307.2 0-307.2-307.2l0-204.8q0-307.2 307.2-307.2Z","fill":"#FFA26C","fill-opacity":".2"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M518.83008 204.8a57.6 57.6 0 0 1 57.6 57.6v11.78624l25.76384-16.73216a57.6 57.6 0 1 1 62.74048 96.6144l-43.2128 28.0576A251.58656 251.58656 0 0 1 760.04352 552.8576l8.3968 35.9424c23.552 100.9664-39.19872 201.9328-140.1856 225.4848-13.9776 3.2768-28.29312 4.9152-42.6496 4.9152H444.38528c-103.69024 0-187.74016-84.04992-187.74016-187.74016 0-14.35648 1.6384-28.672 4.9152-42.65984l8.37632-35.9424a251.5968 251.5968 0 0 1 139.264-171.1616l-38.23616-24.82176a57.6 57.6 0 0 1 62.75072-96.6144l27.51488 17.8688v-15.72864A57.6 57.6 0 0 1 518.83008 204.8z","fill":"#FFA26C"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M592.30208 593.05984a30.72 30.72 0 0 1 44.19584 42.68032c-77.84448 80.65024-165.5808 80.65024-248.24832 0.74752a30.72 30.72 0 1 1 42.7008-44.17536c58.59328 56.6272 107.40736 56.6272 161.35168 0.74752z","fill":"#FFFFFF","fill-opacity":".6"},"children":[]}],"_name":"libao-c","_isColor":true}; const GfIconlibaoC = class { constructor(hostRef) { registerInstance(this, hostRef); this.size = 30; this.styles = {}; this.color = "#606266"; this.rotate = 0; this.spin = false; this.opacity = 1; } render() { const { size, styles, color, rotate, spin, opacity } = this; const hostStyles = { width: size + 'px', height: size + 'px' }; return (h(Host, { style: hostStyles }, h(Icons, Object.assign({}, { svgData, size, styles, color, rotate, spin, opacity })))); } }; export { GfIconlibaoC as gf_icon_libao_c };