UNPKG

@gf-ui/components

Version:
48 lines (43 loc) 2.84 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":"#867EFC","fill-opacity":".2"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M286.72 460.8m40.96 0l61.44 0q40.96 0 40.96 40.96l0 122.88q0 40.96-40.96 40.96l-61.44 0q-40.96 0-40.96-40.96l0-122.88q0-40.96 40.96-40.96Z","fill":"#867EFC"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M440.32 307.2m40.96 0l61.44 0q40.96 0 40.96 40.96l0 276.48q0 40.96-40.96 40.96l-61.44 0q-40.96 0-40.96-40.96l0-276.48q0-40.96 40.96-40.96Z","fill":"#867EFC"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M737.28 686.08m0 30.72l0 20.48q0 30.72-30.72 30.72l-389.12 0q-30.72 0-30.72-30.72l0-20.48q0-30.72 30.72-30.72l389.12 0q30.72 0 30.72 30.72Z","fill":"#867EFC","fill-opacity":".6"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M593.92 399.36m40.96 0l61.44 0q40.96 0 40.96 40.96l0 184.32q0 40.96-40.96 40.96l-61.44 0q-40.96 0-40.96-40.96l0-184.32q0-40.96 40.96-40.96Z","fill":"#867EFC"},"children":[]}],"_name":"paihangbang-c","_isColor":true}; const GfIconpaihangbangC = /*@__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-paihangbang-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-paihangbang-c"]; components.forEach(tagName => { switch (tagName) { case "gf-icon-paihangbang-c": if (!customElements.get(tagName)) { customElements.define(tagName, GfIconpaihangbangC); } break; } }); } const GfIconPaihangbangC = GfIconpaihangbangC; const defineCustomElement = defineCustomElement$1; export { GfIconPaihangbangC, defineCustomElement };