@gf-ui/components
Version:
48 lines (43 loc) • 3.35 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":"#867EFC","fill-opacity":".2"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M624.64 276.48c62.208 0 112.64 50.432 112.64 112.64v184.32c0 62.208-50.432 112.64-112.64 112.64H337.92c-62.208 0-112.64-50.432-112.64-112.64V389.12c0-27.21792 9.65632-52.18304 25.73312-71.65952l173.45536 111.9232 3.072 1.91488a112.64 112.64 0 0 0 111.34976 2.6624l93.82912-50.46272 1.3824-0.8192a20.48 20.48 0 0 0-20.7872-35.25632l-93.81888 50.45248-2.58048 1.3312a71.68 71.68 0 0 1-70.2464-4.22912L284.18048 290.10944A112.13824 112.13824 0 0 1 337.92 276.48h286.72z","fill":"#867EFC","fill-opacity":".4"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M706.56 348.16c62.208 0 112.64 50.432 112.64 112.64v184.32c0 62.208-50.432 112.64-112.64 112.64H419.84c-62.208 0-112.64-50.432-112.64-112.64V460.8c0-27.21792 9.65632-52.18304 25.73312-71.65952l173.45536 111.9232 3.072 1.91488a112.64 112.64 0 0 0 111.34976 2.6624l93.82912-50.46272 1.3824-0.8192a20.48 20.48 0 0 0-20.7872-35.25632l-93.81888 50.45248-2.58048 1.3312a71.68 71.68 0 0 1-70.2464-4.22912L366.10048 361.78944A112.13824 112.13824 0 0 1 419.84 348.16h286.72z","fill":"#867EFC"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M419.84 583.68a30.72 30.72 0 1 1 0 61.44 30.72 30.72 0 0 1 0-61.44z m92.16 0a30.72 30.72 0 1 1 0 61.44 30.72 30.72 0 0 1 0-61.44z m102.4 0a30.72 30.72 0 1 1 0 61.44 30.72 30.72 0 0 1 0-61.44z m92.16 0a30.72 30.72 0 1 1 0 61.44 30.72 30.72 0 0 1 0-61.44z","fill":"#FFFFFF","fill-opacity":".6"},"children":[]}],"_name":"xiaoxi-c","_isColor":true};
const GfIconxiaoxiC = /*@__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-xiaoxi-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-xiaoxi-c"];
components.forEach(tagName => { switch (tagName) {
case "gf-icon-xiaoxi-c":
if (!customElements.get(tagName)) {
customElements.define(tagName, GfIconxiaoxiC);
}
break;
} });
}
const GfIconXiaoxiC = GfIconxiaoxiC;
const defineCustomElement = defineCustomElement$1;
export { GfIconXiaoxiC, defineCustomElement };