UNPKG

@gf-ui/components

Version:
48 lines (43 loc) 3.9 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":"#FCD37E","fill-opacity":".3"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M286.72 389.12m40.96 0l430.08 0q40.96 0 40.96 40.96l0 327.68q0 40.96-40.96 40.96l-430.08 0q-40.96 0-40.96-40.96l0-327.68q0-40.96 40.96-40.96Z","fill":"#FCCF72","fill-opacity":".4"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M235.52 307.2a40.96 40.96 0 0 1 40.96-40.96h235.76576a40.96 40.96 0 0 1 39.22944 29.184L564.224 337.92H706.56a40.96 40.96 0 0 1 40.96 40.96v327.68a40.96 40.96 0 0 1-40.96 40.96H276.48a40.96 40.96 0 0 1-40.96-40.96V307.2z","fill":"#FCCF72"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M655.36 624.64a20.48 20.48 0 1 1 0 40.96H337.92a20.48 20.48 0 1 1 0-40.96h317.44z m0-92.16a20.48 20.48 0 1 1 0 40.96H337.92a20.48 20.48 0 1 1 0-40.96h317.44z m0-102.4a20.48 20.48 0 1 1 0 40.96H337.92a20.48 20.48 0 1 1 0-40.96h317.44z","fill":"#FFFFFF","fill-opacity":".4"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M513.792 675.4304V645.12c17.68448-3.5328 31.32416-11.80672 40.91904-24.81152 9.59488-13.0048 14.39744-28.61056 14.39744-46.7968 0-13.13792-3.60448-24.50432-10.79296-34.0992-7.20896-9.59488-26.59328-21.59616-58.1632-35.9936-16.16896-7.3216-24.24832-16.54784-24.24832-27.65824 0-8.83712 3.03104-16.03584 9.09312-21.59616 6.06208-5.56032 13.63968-8.33536 22.7328-8.33536 14.39744 0 26.90048 6.56384 37.50912 19.70176l16.67072-24.24832c-12.38016-15.4112-28.416-24.12544-48.11776-26.14272v-28.79488h-22.35392v28.416c-16.41472 3.03104-29.29664 10.35264-38.64576 21.97504-9.34912 11.6224-14.01856 26.0096-14.01856 43.19232 0 23.49056 14.52032 42.05568 43.5712 55.69536 15.1552 7.0656 26.0096 12.1856 32.58368 15.33952 6.56384 3.16416 10.98752 6.89152 13.2608 11.18208 2.27328 4.3008 3.40992 9.216 3.40992 14.77632 0 24.75008-11.8784 37.13024-35.61472 37.13024-17.93024 0-33.08544-12.00128-45.4656-35.9936l-24.6272 23.49056c15.1552 27.0336 37.00736 42.05568 65.54624 45.08672v28.79488h22.35392z","fill":"#FFAF08"},"children":[]}],"_name":"fufeixiangmu-c","_isColor":true}; const GfIconfufeixiangmuC = /*@__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-fufeixiangmu-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-fufeixiangmu-c"]; components.forEach(tagName => { switch (tagName) { case "gf-icon-fufeixiangmu-c": if (!customElements.get(tagName)) { customElements.define(tagName, GfIconfufeixiangmuC); } break; } }); } const GfIconFufeixiangmuC = GfIconfufeixiangmuC; const defineCustomElement = defineCustomElement$1; export { GfIconFufeixiangmuC, defineCustomElement };