<template>
	<fr-svg @click="onClick" :uuid="`fr-icon-three-${size}${strokeWidth}${theme}${fill}${strokeLinecap}${strokeLinejoin}`" :width="size" :height="size" :isCache="true" :src="iconSvg" />
</template>
<script>
	// #ifdef UNI-APP-X
	import icons from "../../mixins/icons.uts";
	// #endif
	// #ifndef UNI-APP-X
	import icons from "../../mixins/icons.js";
	// #endif
	/**
	 * @description 《三》图标
	 * @tutorial https://www.flowerui.com/documents/flower-icons/icons.html
	 * @property {Number} size 图标大小
	 * @property {Number} strokeWidth 线段粗细
	 * @property {String} theme 图标大小
	 * @property {Array} fill 图标颜色，["外部描边颜色","外部填充颜色","内部描边颜色","内部填充颜色"]
	 * @property {String} strokeLinecap 图标大小
	 * @property {String} strokeLinejoin 图标大小
	 * @event {Function} click 图标点击事件
	 */
	export default {
		mixins: [icons],
		computed: {
			// #ifdef UNI-APP-X
			iconSvg(): string {
			// #endif
			// #ifndef UNI-APP-X
			iconSvg() {
			// #endif
				return `<?xml version="1.0" encoding="UTF-8"?><svg width="${this.size}" height="${this.size}" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11 40L6.79224 30.8832C5.7604 28.6475 6.5098 25.9935 8.55853 24.6276L10.4628 23.3581C10.7898 23.1401 11.2142 23.1339 11.5475 23.3422L12 23.625L10.1291 9.94424C10.0464 9.33927 10.2055 8.72606 10.5718 8.23757C11.0844 7.55408 12.0541 7.41556 12.7376 7.92818L12.8707 8.02802C13.2808 8.33563 13.5896 8.75888 13.7573 9.24336L17.869 21.1217C17.9474 21.3481 18.1607 21.5 18.4003 21.5C18.7251 21.5 18.9823 21.2257 18.9614 20.9016L18.0785 7.21729C18.0286 6.44352 18.3143 5.68573 18.8625 5.13746C19.5101 4.4899 20.541 4.43281 21.2561 5.00489L21.5966 5.27727C22.178 5.74239 22.5657 6.40711 22.6842 7.14218L24.9229 21.0222C24.9673 21.2976 25.2051 21.5 25.484 21.5C25.7767 21.5 26.0215 21.2777 26.0497 20.9864L27.3779 7.26175C27.456 6.45511 27.857 5.71437 28.4899 5.20811L28.6963 5.04293C29.4385 4.44919 30.5084 4.50844 31.1805 5.18051C31.7052 5.70522 32 6.41688 32 7.15893V19.9113C32 19.9703 32.005 20.0284 32.0175 20.086C32.1291 20.6002 32.8074 23.2691 35 24C35.9074 24.3025 37.3638 26.8008 38.3729 28.7274C39.113 30.1406 39.042 31.8243 38.2673 33.2189L34.5 40C34.5 40 31 44 23 44C15 44 11.6667 41.3333 11 40Z" fill="${this.colors(1)}" stroke="${this.colors(0)}" stroke-width="${this.strokeWidth}" stroke-linecap="${this.strokeLinecap}" stroke-linejoin="${this.strokeLinejoin}"/></svg>`
			}
		}
	}
</script>