@gf-ui/components
Version:
48 lines (43 loc) • 3.14 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":"#91CF2E","opacity":".2"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M329.58464 301.54752L510.01344 337.92l184.58624-36.62848A61.44 61.44 0 0 1 768 361.55392v284.43648a61.44 61.44 0 0 1-49.34656 60.24192L513.03424 747.52l-207.59552-41.34912A61.44 61.44 0 0 1 256 645.90848V361.7792a61.44 61.44 0 0 1 73.58464-60.23168z","fill":"#91CF2E"},"children":[]},{"name":"path","type":"element","value":"","attributes":{"d":"M509.48096 640.32768c26.84928 0 49.02912-7.7824 66.53952-22.95808 14.00832-12.45184 22.95808-28.40576 27.62752-47.08352h-41.24672c-5.44768 11.6736-11.28448 20.62336-18.28864 26.07104-8.94976 6.61504-20.62336 10.11712-35.0208 10.11712-16.34304 0-29.184-5.44768-38.52288-15.5648-9.33888-10.50624-14.39744-25.68192-15.95392-45.13792h152.53504c-0.38912-35.79904-8.56064-63.81568-24.12544-84.04992-17.12128-22.56896-42.41408-33.46432-75.10016-33.46432-29.57312 0-53.30944 10.11712-70.43072 30.74048-17.89952 20.23424-26.46016 45.13792-26.46016 75.10016 0 33.0752 9.33888 59.14624 28.01664 78.60224 17.12128 18.28864 40.8576 27.62752 70.43072 27.62752z m54.4768-125.68576H455.39328c2.33472-17.12128 8.17152-29.96224 16.73216-38.912 9.33888-9.33888 21.4016-13.6192 36.9664-13.6192 32.68608 0 50.97472 17.5104 54.86592 52.5312z","fill":"#FFFFFF","fill-opacity":".6"},"children":[]}],"_name":"dianzishu-c","_isColor":true};
const GfIcondianzishuC = /*@__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-dianzishu-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-dianzishu-c"];
components.forEach(tagName => { switch (tagName) {
case "gf-icon-dianzishu-c":
if (!customElements.get(tagName)) {
customElements.define(tagName, GfIcondianzishuC);
}
break;
} });
}
const GfIconDianzishuC = GfIcondianzishuC;
const defineCustomElement = defineCustomElement$1;
export { GfIconDianzishuC, defineCustomElement };