@gf-ui/components
Version:
48 lines (43 loc) • 3.56 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":"#FCA77E","fill-opacity":".2"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M266.24 307.2m40.96 0l471.04 0q40.96 0 40.96 40.96l0 286.72q0 40.96-40.96 40.96l-471.04 0q-40.96 0-40.96-40.96l0-286.72q0-40.96 40.96-40.96Z","fill":"#FCA77E","fill-opacity":".4"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M215.04 358.4m40.96 0l471.04 0q40.96 0 40.96 40.96l0 286.72q0 40.96-40.96 40.96l-471.04 0q-40.96 0-40.96-40.96l0-286.72q0-40.96 40.96-40.96Z","fill":"#FCA77E"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M675.84 460.8a20.48 20.48 0 1 1 40.96 0v163.84a20.48 20.48 0 1 1-40.96 0V460.8z m-71.68 71.68a20.48 20.48 0 1 1 40.96 0v92.16a20.48 20.48 0 1 1-40.96 0v-92.16z m-71.68 51.2a20.48 20.48 0 1 1 40.96 0v40.96a20.48 20.48 0 1 1-40.96 0v-40.96z","fill":"#FFFFFF","fill-opacity":".6"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M373.76 547.84m-117.76 0a117.76 117.76 0 1 0 235.52 0 117.76 117.76 0 1 0-235.52 0Z","fill":"#FFFFFF","fill-opacity":".6"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M378.0608 471.04a10.24 10.24 0 0 1 10.24 10.24v1.69984c6.2976 6.22592 12.34944 10.06592 18.14528 11.53024 8.88832 2.23232 16.39424 12.1344 22.528 29.71648-9.75872-13.44512-18.24768-20.1728-25.45664-20.1728-4.5568 0-9.6256-1.26976-15.21664-3.81952V593.92c0 1.46432-0.3072 2.84672-0.86016 4.10624 0.69632 9.96352-9.04192 20.89984-23.53152 25.61024-16.13824 5.24288-32.0512 0.77824-35.54304-9.984-3.50208-10.752 6.7584-23.72608 22.8864-28.9792a42.46528 42.46528 0 0 1 16.56832-2.048V481.28a10.24 10.24 0 0 1 10.24-10.24z","fill":"#FCA77E"},"children":[]}],"_name":"chaogaoyinzhi-c","_isColor":true};
const GfIconchaogaoyinzhiC = /*@__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-chaogaoyinzhi-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-chaogaoyinzhi-c"];
components.forEach(tagName => { switch (tagName) {
case "gf-icon-chaogaoyinzhi-c":
if (!customElements.get(tagName)) {
customElements.define(tagName, GfIconchaogaoyinzhiC);
}
break;
} });
}
const GfIconChaogaoyinzhiC = GfIconchaogaoyinzhiC;
const defineCustomElement = defineCustomElement$1;
export { GfIconChaogaoyinzhiC, defineCustomElement };