<template>
	<fr-svg @click="onClick" :uuid="`fr-icon-radish-one-${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="M39 15C41.1831 15.5549 43 16.5 43 19C43 21.5 40 22 38 22" stroke="${this.colors(0)}" stroke-width="${this.strokeWidth}" stroke-linecap="${this.strokeLinecap}" stroke-linejoin="${this.strokeLinejoin}"/><path d="M26 10C26 7 27.7487 5 30 5C32 5 33.048 5.61995 34 8" stroke="${this.colors(0)}" stroke-width="${this.strokeWidth}" stroke-linecap="${this.strokeLinecap}" stroke-linejoin="${this.strokeLinejoin}"/><path d="M31 11.9999C31 11.9999 31.9511 9.86821 33.1227 9.08969C34.9926 7.84723 37.5 7.71826 38.8715 9.08969C40.4633 10.6815 40.4633 13.2466 38.8715 14.8384C37.2796 16.4302 35.9971 16.9999 35.9971 16.9999" stroke="${this.colors(0)}" stroke-width="${this.strokeWidth}" stroke-linecap="${this.strokeLinecap}" stroke-linejoin="${this.strokeLinejoin}"/><path d="M10.0009 13.9999C4.91623 19.0846 3.58302 26.9134 6.58928 33.1033C6.58928 33.1033 5.00095 40.9999 6.00095 41.9999C7.00095 42.9999 14.8622 41.4081 14.8622 41.4081C17.0725 42.4677 19.4148 42.9999 21.8025 42.9999C26.1362 42.9999 30.7718 41.1471 34.0009 37.9999C37.1846 34.8162 38.6075 30.702 38.6075 26.2358C38.6075 21.7287 37.0005 17.9999 33.6547 14.5246C30.3089 11.0492 26.4006 9.3125 21.8889 9.3125C17.3818 9.3125 13.1846 10.8162 10.0009 13.9999Z" fill="${this.colors(1)}" stroke="${this.colors(0)}" stroke-width="${this.strokeWidth}" stroke-linecap="${this.strokeLinecap}" stroke-linejoin="${this.strokeLinejoin}"/><path d="M5 27.9998C5 27.9998 10 26.9998 12 30.9998" stroke="${this.colors(2)}" stroke-width="${this.strokeWidth}" stroke-linecap="${this.strokeLinecap}" stroke-linejoin="${this.strokeLinejoin}"/><path d="M18 42C18 42 19 38 17 36" stroke="${this.colors(2)}" stroke-width="${this.strokeWidth}" stroke-linecap="${this.strokeLinecap}" stroke-linejoin="${this.strokeLinejoin}"/><path d="M21.8026 43C19.4149 43 17.0727 42.4679 14.8623 41.4082" stroke="${this.colors(0)}" stroke-width="${this.strokeWidth}" stroke-linecap="${this.strokeLinecap}" stroke-linejoin="${this.strokeLinejoin}"/><path d="M6.58928 33.1034C3.58302 26.9136 4.91623 19.0847 10.0009 14" stroke="${this.colors(0)}" stroke-width="${this.strokeWidth}" stroke-linecap="${this.strokeLinecap}" stroke-linejoin="${this.strokeLinejoin}"/></svg>`
			}
		}
	}
</script>