UNPKG

@gf-ui/components

Version:
48 lines (43 loc) 2.94 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":"#44D5CA","opacity":".2"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M281.22112 445.58336l12.41088 78.2336a20.48 20.48 0 0 0 39.75168 2.99008l57.16992-180.09088a20.48 20.48 0 0 1 38.95296-0.28672l63.06816 189.20448a20.48 20.48 0 0 0 38.85056 0l63.54944-190.62784a20.48 20.48 0 0 1 38.85056 0l56.90368 170.69056a20.48 20.48 0 0 0 39.6288-3.11296L742.4 440.32a20.43904 20.43904 0 0 1 40.4992 1.40288l15.80032 164.29056c10.2912 106.96704-68.08576 202.00448-175.04256 212.29568a194.56 194.56 0 0 1-18.62656 0.89088h-186.0608c-107.45856 0-194.56-87.11168-194.56-194.56a194.56 194.56 0 0 1 0.89088-18.62656l15.29856-159.1808a20.48 20.48 0 0 1 40.62208-1.24928z","fill":"#44D5CA"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M768 307.2a30.72 30.72 0 1 1 0 61.44 30.72 30.72 0 0 1 0-61.44z m-512 0a30.72 30.72 0 1 1 0 61.44 30.72 30.72 0 0 1 0-61.44z m153.6-61.44a30.72 30.72 0 1 1 0 61.44 30.72 30.72 0 0 1 0-61.44z m204.8 0a30.72 30.72 0 1 1 0 61.44 30.72 30.72 0 0 1 0-61.44z","fill":"#44D5CA","fill-opacity":".6"},"children":[]}],"_name":"zunguishenfen-c","_isColor":true}; const GfIconzunguishenfenC = /*@__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-zunguishenfen-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-zunguishenfen-c"]; components.forEach(tagName => { switch (tagName) { case "gf-icon-zunguishenfen-c": if (!customElements.get(tagName)) { customElements.define(tagName, GfIconzunguishenfenC); } break; } }); } const GfIconZunguishenfenC = GfIconzunguishenfenC; const defineCustomElement = defineCustomElement$1; export { GfIconZunguishenfenC, defineCustomElement };