UNPKG

@gf-ui/components

Version:
48 lines (43 loc) 3.11 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":"#D17EFC","fill-opacity":".2"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M289.37216 348.95872l399.0528-70.36928a71.68 71.68 0 0 1 83.0464 58.14272l41.7792 236.98432a71.68 71.68 0 0 1-58.14272 83.0464l-399.0528 70.35904a71.68 71.68 0 0 1-83.0464-58.14272l-41.7792-236.98432a71.68 71.68 0 0 1 58.14272-83.0464z","fill":"#D17EFC","fill-opacity":".6"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M236.98432 343.76704m71.68 0l405.20704 0q71.68 0 71.68 71.68l0 240.64q0 71.68-71.68 71.68l-405.20704 0q-71.68 0-71.68-71.68l0-240.64q0-71.68 71.68-71.68Z","fill":"#D17EFC"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M352.2048 530.28864l39.3216-109.6704h-18.1248l-31.0272 90.9312h-0.4608l-31.1808-90.9312h-18.1248l39.3216 109.6704h20.2752z m67.7376 0v-109.6704h-16.5888v109.6704h16.5888z m38.5536 0v-42.7008h28.416c26.2656 0 39.4752-11.2128 39.4752-33.6384 0-22.272-13.056-33.3312-39.168-33.3312h-45.4656v109.6704h16.7424z m27.3408-56.9856h-27.3408v-38.4h27.3408c8.1408 0 14.1312 1.536 17.9712 4.608 3.84 2.7648 5.8368 7.68 5.8368 14.4384 0 6.7584-1.9968 11.6736-5.6832 14.7456-3.84 3.072-9.8304 4.608-18.1248 4.608z","fill":"#FFFFFF","fill-opacity":".6"},"children":[]}],"_name":"huiyuandengji-c","_isColor":true}; const GfIconhuiyuandengjiC = /*@__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-huiyuandengji-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-huiyuandengji-c"]; components.forEach(tagName => { switch (tagName) { case "gf-icon-huiyuandengji-c": if (!customElements.get(tagName)) { customElements.define(tagName, GfIconhuiyuandengjiC); } break; } }); } const GfIconHuiyuandengjiC = GfIconhuiyuandengjiC; const defineCustomElement = defineCustomElement$1; export { GfIconHuiyuandengjiC, defineCustomElement };