UNPKG

@gf-ui/components

Version:
48 lines (43 loc) 2.86 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":"#91CF2E","opacity":".2"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M256 337.92m112.64 0l286.72 0q112.64 0 112.64 112.64l0 184.32q0 112.64-112.64 112.64l-286.72 0q-112.64 0-112.64-112.64l0-184.32q0-112.64 112.64-112.64Z","fill":"#91CF2E"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M530.977481 231.691364m13.184974 21.943483l0 0q13.184975 21.943483-8.758508 35.128458l-166.77047 100.205808q-21.943483 13.184975-35.128458-8.758508l0 0q-13.184975-21.943483 8.758509-35.128458l166.77047-100.205808q21.943483-13.184975 35.128457 8.758508Z","fill":"#91CF2E"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M665.6 604.16a30.72 30.72 0 0 1 0 61.44H522.24a30.72 30.72 0 0 1 0-61.44h143.36zM389.12 481.28a71.68 71.68 0 1 1 0 143.36 71.68 71.68 0 0 1 0-143.36z m276.48 40.96a30.72 30.72 0 0 1 0 61.44H522.24a30.72 30.72 0 0 1 0-61.44h143.36z m0-81.92a30.72 30.72 0 0 1 0 61.44H522.24a30.72 30.72 0 0 1 0-61.44h143.36z","fill":"#FFFFFF","fill-opacity":".6"},"children":[]}],"_name":"diantai-c","_isColor":true}; const GfIcondiantaiC = /*@__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-diantai-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-diantai-c"]; components.forEach(tagName => { switch (tagName) { case "gf-icon-diantai-c": if (!customElements.get(tagName)) { customElements.define(tagName, GfIcondiantaiC); } break; } }); } const GfIconDiantaiC = GfIcondiantaiC; const defineCustomElement = defineCustomElement$1; export { GfIconDiantaiC, defineCustomElement };