@gf-ui/components
Version:
48 lines (43 loc) • 2.88 kB
JavaScript
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":"M481.28 215.04h276.48c62.208 0 112.64 50.432 112.64 112.64v125.65504c0 62.208-50.432 112.64-112.64 112.64H619.52L518.42048 645.12v-79.14496H481.28c-62.208 0-112.64-50.432-112.64-112.64V327.68c0-62.208 50.432-112.64 112.64-112.64z","fill":"#FCCF72","fill-opacity":".6"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M317.44 276.48h389.12c62.208 0 112.64 50.432 112.64 112.64v192.50176c0 62.208-50.432 112.64-112.64 112.64H512L388.1984 788.48v-94.21824H317.44c-62.208 0-112.64-50.432-112.64-112.64V389.12c0-62.208 50.432-112.64 112.64-112.64z","fill":"#FCCF72"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M592.20992 470.28224a30.72 30.72 0 0 1 45.73184 40.98048l-1.35168 1.49504-102.4 106.97728a30.72 30.72 0 0 1-42.94656 1.40288l-1.4336-1.40288-102.4-106.97728a30.72 30.72 0 0 1 42.93632-43.89888l1.44384 1.42336L512 554.06592l80.20992-83.78368z","fill":"#FFAF08"},"children":[]}],"_name":"remenhuati-c","_isColor":true};
const GfIconremenhuatiC = /*@__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-remenhuati-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-remenhuati-c"];
components.forEach(tagName => { switch (tagName) {
case "gf-icon-remenhuati-c":
if (!customElements.get(tagName)) {
customElements.define(tagName, GfIconremenhuatiC);
}
break;
} });
}
const GfIconRemenhuatiC = GfIconremenhuatiC;
const defineCustomElement = defineCustomElement$1;
export { GfIconRemenhuatiC, defineCustomElement };