UNPKG

@gf-ui/components

Version:
48 lines (43 loc) 4.38 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":"#FFA26C","fill-opacity":".2"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M373.13536 301.8752l0.01024 26.624a30.72 30.72 0 0 0 28.91776 30.6688l1.80224 0.0512h7.3728a30.72 30.72 0 0 0 30.6688-28.91776l0.0512-1.80224v-26.624h160.5632v26.624a30.72 30.72 0 0 0 28.91776 30.6688l1.80224 0.0512h7.3728a30.72 30.72 0 0 0 30.6688-28.91776l0.0512-1.80224-0.01024-26.624H727.04a81.92 81.92 0 0 1 81.92 81.92v294.912a81.92 81.92 0 0 1-81.92 81.92H317.44a81.92 81.92 0 0 1-81.92-81.92v-294.912a81.92 81.92 0 0 1 81.92-81.92h55.69536zM407.552 256a22.9376 22.9376 0 0 1 22.9376 22.9376v45.8752a22.9376 22.9376 0 0 1-45.8752 0v-45.8752A22.9376 22.9376 0 0 1 407.552 256z m229.376 0a22.9376 22.9376 0 0 1 22.9376 22.9376v45.8752a22.9376 22.9376 0 0 1-45.8752 0v-45.8752A22.9376 22.9376 0 0 1 636.928 256z","fill":"#FFA26C"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M406.65088 499.75296c9.20576-11.8784 17.52064-25.2416 24.94464-39.49568h19.59936c4.75136 10.98752 8.9088 22.272 12.47232 34.1504l25.53856-9.20576a259.00032 259.00032 0 0 0-10.09664-24.94464h37.12v-24.94464h-73.94304c2.07872-5.9392 4.15744-11.8784 6.23616-18.41152l-27.32032-5.9392c-7.72096 26.13248-20.49024 50.4832-38.90176 73.34912l24.35072 15.44192z m189.46048-2.37568l25.83552-9.79968a259.62496 259.62496 0 0 0-13.66016-27.32032h41.87136v-24.94464h-83.44576c2.07872-5.9392 4.15744-11.8784 5.9392-18.41152l-26.7264-5.9392c-5.9392 21.97504-16.03584 42.16832-29.696 61.17376l23.7568 15.14496a202.496 202.496 0 0 0 16.03584-27.02336h23.45984a299.9296 299.9296 0 0 1 16.62976 37.12z m-0.89088 76.91264v-20.7872a473.71264 473.71264 0 0 0 44.24704 17.52064l13.66016-24.35072c-48.10752-15.14496-90.27584-35.93216-127.09888-62.06464h-17.8176c-33.85344 24.35072-76.02176 44.84096-127.09888 61.47072l13.66016 24.64768a1073.79712 1073.79712 0 0 0 44.544-17.52064v21.08416h155.904z m-8.31488-24.64768H447.03744c27.02336-12.76928 50.4832-26.7264 70.08256-42.16832 20.19328 15.73888 43.65312 29.696 69.7856 42.16832z m-77.50656 93.5424l25.2416-6.23616c-5.34528-21.67808-11.28448-40.98048-18.11456-57.61024l-26.13248 8.31488a382.11584 382.11584 0 0 1 19.00544 55.53152z m134.22592 34.1504v-26.13248h-58.79808c10.09664-18.11456 18.70848-38.6048 25.83552-61.17376l-27.91424-7.424c-8.31488 26.42944-17.52064 49.29536-28.2112 68.59776h-163.328v26.13248h252.416z m-198.66624-31.1808l25.53856-6.53312c-6.83008-20.49024-14.25408-38.6048-22.56896-54.34368l-25.83552 8.31488c9.50272 16.62976 16.92672 34.1504 22.86592 52.56192z","fill":"#FFFFFF","fill-opacity":".6"},"children":[]}],"_name":"qiandao-c","_isColor":true}; const GfIconqiandaoC = /*@__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-qiandao-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-qiandao-c"]; components.forEach(tagName => { switch (tagName) { case "gf-icon-qiandao-c": if (!customElements.get(tagName)) { customElements.define(tagName, GfIconqiandaoC); } break; } }); } const GfIconQiandaoC = GfIconqiandaoC; const defineCustomElement = defineCustomElement$1; export { GfIconQiandaoC, defineCustomElement };