UNPKG

@gf-ui/components

Version:
48 lines (43 loc) 2.59 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":"#2ECF7D","fill-opacity":".2"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M435.2 245.76a25.6 25.6 0 0 1 25.6 25.6V337.92h66.28352c1.14688-1.90464 2.56-3.69664 4.22912-5.3248l58.9312-56.90368a25.6 25.6 0 0 1 35.56352 36.83328L599.5008 337.92H655.36c62.208 0 112.64 50.432 112.64 112.64v184.32c0 62.208-50.432 112.64-112.64 112.64H368.64c-62.208 0-112.64-50.432-112.64-112.64V450.56c0-62.208 50.432-112.64 112.64-112.64h40.96v-66.56a25.6 25.6 0 0 1 25.6-25.6z","fill":"#2ECF7D"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M561.6128 584.47872l-62.01344 31.00672A40.96 40.96 0 0 1 440.32 578.84672v-62.01344a40.96 40.96 0 0 1 59.27936-36.63872l62.01344 31.00672a40.96 40.96 0 0 1 0 73.27744z","fill":"#FFFFFF","fill-opacity":".6"},"children":[]}],"_name":"zhibo-c","_isColor":true}; const GfIconzhiboC = /*@__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-zhibo-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-zhibo-c"]; components.forEach(tagName => { switch (tagName) { case "gf-icon-zhibo-c": if (!customElements.get(tagName)) { customElements.define(tagName, GfIconzhiboC); } break; } }); } const GfIconZhiboC = GfIconzhiboC; const defineCustomElement = defineCustomElement$1; export { GfIconZhiboC, defineCustomElement };