UNPKG

@gf-ui/components

Version:
48 lines (43 loc) 2.96 kB
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client'; import { I as Icons } from './index2.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":"#FCA77E","fill-opacity":".2"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M512 348.16m-81.92 0a81.92 81.92 0 1 0 163.84 0 81.92 81.92 0 1 0-163.84 0Z","fill":"#FCA77E"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M609.28 220.16m-46.08 0a46.08 46.08 0 1 0 92.16 0 46.08 46.08 0 1 0-92.16 0Z","fill":"#FCA77E"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M424.96 332.8m-46.08 0a46.08 46.08 0 1 0 92.16 0 46.08 46.08 0 1 0-92.16 0Z","fill":"#FCA77E","fill-opacity":".6"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M491.52 665.6m-153.6 0a153.6 153.6 0 1 0 307.2 0 153.6 153.6 0 1 0-307.2 0Z","fill":"#FCA77E"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M337.92 450.56m-102.4 0a102.4 102.4 0 1 0 204.8 0 102.4 102.4 0 1 0-204.8 0Z","fill":"#FCA77E"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M645.12 501.76m-112.64 0a112.64 112.64 0 1 0 225.28 0 112.64 112.64 0 1 0-225.28 0Z","fill":"#FCA77E","fill-opacity":".6"},"children":[]}],"_name":"jinriredian-c","_isColor":true}; const GfIconjinriredianC = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement { constructor() { super(); this.__registerHost(); 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 })))); } }, [0, "gf-icon-jinriredian-c", { "size": [8], "styles": [16], "color": [1], "rotate": [2], "spin": [4], "opacity": [8] }]); function defineCustomElement$1() { if (typeof customElements === "undefined") { return; } const components = ["gf-icon-jinriredian-c"]; components.forEach(tagName => { switch (tagName) { case "gf-icon-jinriredian-c": if (!customElements.get(tagName)) { customElements.define(tagName, GfIconjinriredianC); } break; } }); } const GfIconJinriredianC = GfIconjinriredianC; const defineCustomElement = defineCustomElement$1; export { GfIconJinriredianC, defineCustomElement };