UNPKG

@gf-ui/components

Version:
48 lines (43 loc) 2.06 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","viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg"},"children":[{"name":"path","type":"element","value":"","attributes":{"fill":"currentColor","d":"M810.666667 298.666667a64 64 0 0 1 64 64v426.666666a64 64 0 0 1-64 64l-81.130667 0.021334a127.274667 127.274667 0 0 0 16.981333-57.706667L746.666667 789.333333V298.666667h64z m-170.666667-128a64 64 0 0 1 64 64v554.666666a64 64 0 0 1-64 64H213.333333a64 64 0 0 1-64-64V234.666667a64 64 0 0 1 64-64h426.666667z m-192 320h-170.666667v64h170.666667v-64z m128-128H277.333333v64h298.666667v-64z"},"children":[]}],"_name":"feeds-fill","_isColor":false}; const GfIconfeedsFill = /*@__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-feeds-fill", { "size": [8], "styles": [16], "color": [1], "rotate": [2], "spin": [4], "opacity": [8] }]); function defineCustomElement$1() { if (typeof customElements === "undefined") { return; } const components = ["gf-icon-feeds-fill"]; components.forEach(tagName => { switch (tagName) { case "gf-icon-feeds-fill": if (!customElements.get(tagName)) { customElements.define(tagName, GfIconfeedsFill); } break; } }); } const GfIconFeedsFill = GfIconfeedsFill; const defineCustomElement = defineCustomElement$1; export { GfIconFeedsFill, defineCustomElement };