@gf-ui/components
Version:
48 lines (43 loc) • 2.85 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":"#FC7E7E","fill-opacity":".2"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M391.168 328.88832l372.44928 72.3968a40.96 40.96 0 0 1 32.38912 48.0256l-46.36672 238.56128a40.96 40.96 0 0 1-48.0256 32.39936L329.30816 647.8848a40.96 40.96 0 0 1-28.24192-20.7872l-66.9696-124.39552a61.44 61.44 0 0 1 15.1552-76.63616l108.1344-88.65792a40.96 40.96 0 0 1 33.77152-8.52992zM284.9792 473.76384a38.22592 38.22592 0 1 0 75.04896 14.592 38.22592 38.22592 0 0 0-75.0592-14.592z","fill":"#FC7E7E","fill-opacity":".6"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M740.8128 317.44a40.96 40.96 0 0 1 40.96 40.96v243.02592a40.96 40.96 0 0 1-40.96 40.96H361.54368a40.96 40.96 0 0 1-31.6928-15.01184L240.384 518.0416a61.44 61.44 0 0 1 0.24576-78.12096l89.22112-107.65312A40.96 40.96 0 0 1 361.39008 317.44h379.42272z m-417.792 124.24192a38.22592 38.22592 0 1 0 0 76.46208 38.22592 38.22592 0 0 0 0-76.46208z","fill":"#FC7E7E"},"children":[]}],"_name":"xianshimianfei-c","_isColor":true};
const GfIconxianshimianfeiC = /*@__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-xianshimianfei-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-xianshimianfei-c"];
components.forEach(tagName => { switch (tagName) {
case "gf-icon-xianshimianfei-c":
if (!customElements.get(tagName)) {
customElements.define(tagName, GfIconxianshimianfeiC);
}
break;
} });
}
const GfIconXianshimianfeiC = GfIconxianshimianfeiC;
const defineCustomElement = defineCustomElement$1;
export { GfIconXianshimianfeiC, defineCustomElement };