vue-data-ui 2.4.50 → 2.4.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/README.md +12 -0
  2. package/dist/{Arrow-DuuEh1Nr.cjs → Arrow-2a_SwBgz.cjs} +1 -1
  3. package/dist/{Arrow-D1z9KkQN.js → Arrow-BUz63pb2.js} +1 -1
  4. package/dist/{BaseIcon-DemqZ_13.cjs → BaseIcon-BASl_NFX.cjs} +1 -1
  5. package/dist/{BaseIcon-BHwqOTt4.js → BaseIcon-CmiukQBl.js} +1 -1
  6. package/dist/{DataTable-CQ8fQnex.js → DataTable-DGf6RrOJ.js} +2 -2
  7. package/dist/{DataTable-CovKV5Yy.cjs → DataTable-G3ICK-5h.cjs} +1 -1
  8. package/dist/{Legend-Br7MWNDo.js → Legend-BLaZxMge.js} +1 -1
  9. package/dist/{Legend-Bbz-hKDf.cjs → Legend-BiuPlEMg.cjs} +1 -1
  10. package/dist/{PackageVersion-BEtuCME5.cjs → PackageVersion-Bj34UNnQ.cjs} +1 -1
  11. package/dist/{PackageVersion-BV3fHO46.js → PackageVersion-CxJghxYD.js} +1 -1
  12. package/dist/{PenAndPaper-BIcmfBvD.cjs → PenAndPaper-D9yQnc0e.cjs} +1 -1
  13. package/dist/{PenAndPaper-CCOywdmm.js → PenAndPaper-ZdZEumki.js} +3 -3
  14. package/dist/{Shape-B7Mekpyf.js → Shape-DIKzzpFm.js} +1 -1
  15. package/dist/{Shape-BD37ZaX9.cjs → Shape-yducHWd0.cjs} +1 -1
  16. package/dist/{Slicer-CWvkt-8k.cjs → Slicer-BHS9W4MJ.cjs} +1 -1
  17. package/dist/{Slicer-ahFReg7h.js → Slicer-Cxdl3cDt.js} +2 -2
  18. package/dist/{Title-C2siG5N2.cjs → Title-Bk_55doC.cjs} +1 -1
  19. package/dist/{Title-CIsKiWgN.js → Title-aSAft5dl.js} +1 -1
  20. package/dist/{Tooltip-CS4C58T7.cjs → Tooltip-G7ENx87_.cjs} +1 -1
  21. package/dist/{Tooltip-B1LgrF9R.js → Tooltip-smutPF--.js} +1 -1
  22. package/dist/{index-BtL_cLa8.js → index-BbPeL8Gp.js} +5 -1
  23. package/dist/index-DhDYBLBe.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +5 -1
  26. package/dist/types/vue-data-ui.d.ts +5 -1
  27. package/dist/{useNestedProp-CEAfm1tu.js → useNestedProp-BN8claGG.js} +1 -1
  28. package/dist/{useNestedProp-D_feh7A_.cjs → useNestedProp-BphUExEh.cjs} +1 -1
  29. package/dist/{usePrinter-B4xDG31F.cjs → usePrinter-2_QjJFdH.cjs} +1 -1
  30. package/dist/{usePrinter-sRt2SKr2.js → usePrinter-DaybDVqP.js} +1 -1
  31. package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
  32. package/dist/useUserOptionState-BgepsfED.cjs +1 -0
  33. package/dist/{vue-data-ui-CuEYAddV.cjs → vue-data-ui-C5vsHRHD.cjs} +1 -1
  34. package/dist/{vue-data-ui-NkhaiK6y.js → vue-data-ui-Ckbp-yIf.js} +60 -60
  35. package/dist/vue-data-ui.cjs +1 -1
  36. package/dist/vue-data-ui.js +1 -1
  37. package/dist/vue-ui-3d-bar-DUgumRsg.cjs +19 -0
  38. package/dist/{vue-ui-3d-bar-BeXYzdzu.js → vue-ui-3d-bar-wDYs3sVe.js} +345 -339
  39. package/dist/{vue-ui-accordion-Cjc683tN.js → vue-ui-accordion-5d5iVpr7.js} +3 -3
  40. package/dist/{vue-ui-accordion-CBxsUoGb.cjs → vue-ui-accordion-B7tNzRWB.cjs} +1 -1
  41. package/dist/{vue-ui-age-pyramid-rnt8M-Qz.js → vue-ui-age-pyramid-BH1khaaq.js} +260 -254
  42. package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +1 -0
  43. package/dist/{vue-ui-annotator-CFU5Zyfk.js → vue-ui-annotator-B9VKE_qz.js} +1 -1
  44. package/dist/{vue-ui-annotator-Yu-mHS2N.cjs → vue-ui-annotator-jXkB5XnD.cjs} +1 -1
  45. package/dist/{vue-ui-bullet-CRbW1ON6.js → vue-ui-bullet-BLi9CSZw.js} +152 -146
  46. package/dist/vue-ui-bullet-QrXtipbT.cjs +34 -0
  47. package/dist/{vue-ui-candlestick-D-ERLtI1.js → vue-ui-candlestick-Bjz1uFbv.js} +223 -217
  48. package/dist/vue-ui-candlestick-Da4ygGXR.cjs +2 -0
  49. package/dist/{vue-ui-carousel-table-I1m4HMWf.js → vue-ui-carousel-table-B6zgTL-W.js} +160 -154
  50. package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +1 -0
  51. package/dist/vue-ui-chestnut-C_N7EbjQ.cjs +6 -0
  52. package/dist/{vue-ui-chestnut-CqJRKECX.js → vue-ui-chestnut-D5HpkuIa.js} +237 -231
  53. package/dist/{vue-ui-cursor-S83QIsxQ.cjs → vue-ui-cursor-A_siHYBc.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-jrrdh8Lf.js → vue-ui-cursor-DZNIbvR2.js} +2 -2
  55. package/dist/{vue-ui-dashboard-DW1mIInG.cjs → vue-ui-dashboard-BfPJyiY9.cjs} +1 -1
  56. package/dist/{vue-ui-dashboard-DR_Bhwa3.js → vue-ui-dashboard-DCqe4BZg.js} +2 -2
  57. package/dist/{vue-ui-digits-1jZdiwHJ.js → vue-ui-digits-BEWCnojc.js} +2 -2
  58. package/dist/{vue-ui-digits-s5f9eFtW.cjs → vue-ui-digits-BEhLa3jI.cjs} +1 -1
  59. package/dist/vue-ui-donut-By3QRfkV.cjs +1 -0
  60. package/dist/{vue-ui-donut-evolution-DsHTZ9T2.js → vue-ui-donut-evolution-Cu6dmlT2.js} +300 -294
  61. package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +1 -0
  62. package/dist/{vue-ui-donut-BAYiPsxp.js → vue-ui-donut-g5ZLhYPx.js} +376 -370
  63. package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +9 -0
  64. package/dist/{vue-ui-dumbbell-DcMmBxLy.js → vue-ui-dumbbell-bb4-Ep6o.js} +256 -250
  65. package/dist/vue-ui-flow-CCvTnu7z.cjs +1 -0
  66. package/dist/{vue-ui-flow-BTXEmIQG.js → vue-ui-flow-hD0F6mTK.js} +164 -158
  67. package/dist/vue-ui-funnel-DKxAPRi_.cjs +1 -0
  68. package/dist/{vue-ui-funnel-BB_h0FKg.js → vue-ui-funnel-hcbE4yky.js} +178 -172
  69. package/dist/{vue-ui-galaxy-DlBk1FUz.js → vue-ui-galaxy-ByKjxVWV.js} +187 -181
  70. package/dist/vue-ui-galaxy-D2kmqwpI.cjs +1 -0
  71. package/dist/vue-ui-gauge-BFA_unjg.cjs +1 -0
  72. package/dist/{vue-ui-gauge-1SFhSMfU.js → vue-ui-gauge-PGirbe6O.js} +220 -214
  73. package/dist/{vue-ui-gizmo-C8rLR4n5.cjs → vue-ui-gizmo-CHMApil6.cjs} +1 -1
  74. package/dist/{vue-ui-gizmo-CtX6KFN2.js → vue-ui-gizmo-ChSfBYZ_.js} +3 -3
  75. package/dist/vue-ui-heatmap-C0VxwPhr.cjs +1 -0
  76. package/dist/{vue-ui-heatmap-BzyvTePn.js → vue-ui-heatmap-CK3FIWpo.js} +270 -264
  77. package/dist/vue-ui-history-plot-BmGodgUx.cjs +1 -0
  78. package/dist/{vue-ui-history-plot-BEoHuZ3N.js → vue-ui-history-plot-EmQ-Byiz.js} +236 -230
  79. package/dist/{vue-ui-kpi-LO4KKRR9.cjs → vue-ui-kpi-BdungaO2.cjs} +1 -1
  80. package/dist/{vue-ui-kpi-BYOyJjYg.js → vue-ui-kpi-DjC68pSz.js} +3 -3
  81. package/dist/{vue-ui-mini-loader-ChHdx5me.js → vue-ui-mini-loader-CzrblCCD.js} +2 -2
  82. package/dist/{vue-ui-mini-loader-wlUD77O6.cjs → vue-ui-mini-loader-jwL_pZjb.cjs} +1 -1
  83. package/dist/{vue-ui-molecule-Bo7XYpf-.js → vue-ui-molecule-DBQJQs4Y.js} +294 -289
  84. package/dist/vue-ui-molecule-Dzh-0SWI.cjs +1 -0
  85. package/dist/{vue-ui-mood-radar-DXj4Ce6l.js → vue-ui-mood-radar-Ca9wPZpJ.js} +205 -199
  86. package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +1 -0
  87. package/dist/{vue-ui-nested-donuts-BBLpNVwF.js → vue-ui-nested-donuts-C8at93dN.js} +286 -280
  88. package/dist/vue-ui-nested-donuts-DEdS6dpj.cjs +17 -0
  89. package/dist/{vue-ui-onion-DC8VIInA.js → vue-ui-onion-B-PXxNu6.js} +198 -192
  90. package/dist/vue-ui-onion-B2ioudP5.cjs +5 -0
  91. package/dist/{vue-ui-parallel-coordinate-plot-Cl1wiHsK.js → vue-ui-parallel-coordinate-plot-ByM3So9k.js} +236 -230
  92. package/dist/vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs +8 -0
  93. package/dist/{vue-ui-quadrant-b5cuEH9z.js → vue-ui-quadrant-BqOJBcsI.js} +255 -249
  94. package/dist/vue-ui-quadrant-CIr4i6cC.cjs +1 -0
  95. package/dist/{vue-ui-quick-chart-CFBPYw2J.js → vue-ui-quick-chart-BfXxT3KM.js} +474 -466
  96. package/dist/vue-ui-quick-chart-Bt9KA82P.cjs +15 -0
  97. package/dist/{vue-ui-radar-DP8360kx.js → vue-ui-radar-BKpD9xDr.js} +256 -250
  98. package/dist/vue-ui-radar-Czmsd_uv.cjs +1 -0
  99. package/dist/{vue-ui-rating-D7b-kfyp.cjs → vue-ui-rating-BE545aI4.cjs} +1 -1
  100. package/dist/{vue-ui-rating-DIthBSp_.js → vue-ui-rating-DQRuqev5.js} +2 -2
  101. package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +1 -0
  102. package/dist/vue-ui-relation-circle-nZ2nBpWX.js +498 -0
  103. package/dist/vue-ui-rings-B7JzZ3ub.cjs +2 -0
  104. package/dist/{vue-ui-rings-y9Zx-DaI.js → vue-ui-rings-C1PV0873.js} +177 -172
  105. package/dist/vue-ui-scatter-CTI943ks.cjs +1 -0
  106. package/dist/{vue-ui-scatter-Cbu5GDc1.js → vue-ui-scatter-dgs1m3-2.js} +310 -304
  107. package/dist/{vue-ui-screenshot-oH-YnZBE.cjs → vue-ui-screenshot--cHV0jG3.cjs} +1 -1
  108. package/dist/{vue-ui-screenshot-BZh_sgjP.js → vue-ui-screenshot-Dxj0l8Jg.js} +1 -1
  109. package/dist/{vue-ui-skeleton-DjFU2X3P.js → vue-ui-skeleton-Bniq21d9.js} +3 -3
  110. package/dist/{vue-ui-skeleton-Nuju6X7l.cjs → vue-ui-skeleton-lkPDknHn.cjs} +1 -1
  111. package/dist/{vue-ui-smiley-DtQVEc4B.cjs → vue-ui-smiley-CozXoiti.cjs} +1 -1
  112. package/dist/{vue-ui-smiley-DdnzzEYS.js → vue-ui-smiley-D4DAZIpA.js} +2 -2
  113. package/dist/{vue-ui-spark-trend-B36zW41F.cjs → vue-ui-spark-trend-CSqyvI_K.cjs} +1 -1
  114. package/dist/{vue-ui-spark-trend-CaIGk_53.js → vue-ui-spark-trend-ZqrwhwqS.js} +5 -5
  115. package/dist/{vue-ui-sparkbar-iQKGtxo8.cjs → vue-ui-sparkbar-Bph8KIjk.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-DixeozKp.js → vue-ui-sparkbar-q0G4GvFm.js} +4 -4
  117. package/dist/{vue-ui-sparkgauge-C01VB6KP.js → vue-ui-sparkgauge-DA_h9jcN.js} +4 -4
  118. package/dist/{vue-ui-sparkgauge-DEvgucF7.cjs → vue-ui-sparkgauge-nSAW83dN.cjs} +1 -1
  119. package/dist/{vue-ui-sparkhistogram-C_6lHF3O.js → vue-ui-sparkhistogram-B1WyBiq_.js} +5 -5
  120. package/dist/{vue-ui-sparkhistogram-CTUuxOma.cjs → vue-ui-sparkhistogram-BLYhRNpt.cjs} +1 -1
  121. package/dist/{vue-ui-sparkline-DrZWPGOG.cjs → vue-ui-sparkline-PNix1-R9.cjs} +1 -1
  122. package/dist/{vue-ui-sparkline-Btm4HVgi.js → vue-ui-sparkline-ccfl0s3m.js} +4 -4
  123. package/dist/{vue-ui-sparkstackbar-7pcfCNMr.cjs → vue-ui-sparkstackbar-DpuvEumy.cjs} +1 -1
  124. package/dist/{vue-ui-sparkstackbar-D0UGUm-1.js → vue-ui-sparkstackbar-PNKwVRu8.js} +5 -5
  125. package/dist/{vue-ui-stackbar-BPMDmY04.js → vue-ui-stackbar-BBYnF8qm.js} +367 -361
  126. package/dist/vue-ui-stackbar-D4AIFoQT.cjs +6 -0
  127. package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +1 -0
  128. package/dist/{vue-ui-strip-plot-BfWQMGXy.js → vue-ui-strip-plot-TVlnzXFq.js} +269 -263
  129. package/dist/{vue-ui-table-Cdo265Yt.cjs → vue-ui-table-CHdv3KuM.cjs} +1 -1
  130. package/dist/{vue-ui-table-D8GaLhM9.js → vue-ui-table-CsEajH9S.js} +1 -1
  131. package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +1 -0
  132. package/dist/vue-ui-table-heatmap-CubRipoB.js +262 -0
  133. package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +1 -0
  134. package/dist/{vue-ui-table-sparkline-DMHf03C9.js → vue-ui-table-sparkline-YV8DUOqh.js} +173 -167
  135. package/dist/vue-ui-thermometer-C6lMWRiF.cjs +1 -0
  136. package/dist/{vue-ui-thermometer-BCVqil7E.js → vue-ui-thermometer-DmMjSLc1.js} +170 -164
  137. package/dist/{vue-ui-timer-gxiLCP1n.cjs → vue-ui-timer-DteYgv9y.cjs} +1 -1
  138. package/dist/{vue-ui-timer-DF5HkeeS.js → vue-ui-timer-DvE_nqd9.js} +5 -5
  139. package/dist/vue-ui-tiremarks-CCrkDgjX.js +323 -0
  140. package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +1 -0
  141. package/dist/vue-ui-treemap-BzRVKqXL.cjs +1 -0
  142. package/dist/{vue-ui-treemap-CIZaPmbi.js → vue-ui-treemap-C4A4spvg.js} +243 -237
  143. package/dist/{vue-ui-vertical-bar-dQoTddqU.js → vue-ui-vertical-bar-8iL1xiaz.js} +238 -232
  144. package/dist/vue-ui-vertical-bar-B60lSXNq.cjs +4 -0
  145. package/dist/{vue-ui-waffle-CnvWOEVU.js → vue-ui-waffle-CaYNz-Kd.js} +316 -310
  146. package/dist/vue-ui-waffle-O8pAEf4X.cjs +1 -0
  147. package/dist/vue-ui-wheel-BRR2rGou.js +305 -0
  148. package/dist/vue-ui-wheel-CnFdB_B1.cjs +1 -0
  149. package/dist/vue-ui-word-cloud-X4mp280j.cjs +1 -0
  150. package/dist/{vue-ui-word-cloud-o3zU6r0-.js → vue-ui-word-cloud-y2GGxwoq.js} +246 -240
  151. package/dist/{vue-ui-xy-GR4PGBDy.js → vue-ui-xy-CXoWP8bh.js} +708 -697
  152. package/dist/vue-ui-xy-CbM75yXK.cjs +3 -0
  153. package/dist/{vue-ui-xy-canvas-BKGOnjut.js → vue-ui-xy-canvas-D7MrUJj7.js} +334 -328
  154. package/dist/vue-ui-xy-canvas-DWvIvSry.cjs +9 -0
  155. package/package.json +1 -1
  156. package/dist/index-DoD-GxZR.cjs +0 -9
  157. package/dist/vue-ui-3d-bar-RduHvzwG.cjs +0 -19
  158. package/dist/vue-ui-age-pyramid-DVtbyRJw.cjs +0 -1
  159. package/dist/vue-ui-bullet-Be5aYhtp.cjs +0 -34
  160. package/dist/vue-ui-candlestick-B6wSs-JC.cjs +0 -2
  161. package/dist/vue-ui-carousel-table-7reErH8M.cjs +0 -1
  162. package/dist/vue-ui-chestnut-D-WzX16q.cjs +0 -6
  163. package/dist/vue-ui-donut-Ce1SaXNu.cjs +0 -1
  164. package/dist/vue-ui-donut-evolution-DI8yeIa4.cjs +0 -1
  165. package/dist/vue-ui-dumbbell-CFJkwtM8.cjs +0 -9
  166. package/dist/vue-ui-flow-B4MtorhO.cjs +0 -1
  167. package/dist/vue-ui-funnel-DNL12vLQ.cjs +0 -1
  168. package/dist/vue-ui-galaxy-CmCZGOKz.cjs +0 -1
  169. package/dist/vue-ui-gauge-B7ieQMud.cjs +0 -1
  170. package/dist/vue-ui-heatmap-Bfi3KJwS.cjs +0 -1
  171. package/dist/vue-ui-history-plot-5kZ54hgy.cjs +0 -1
  172. package/dist/vue-ui-molecule-D-4cRS5w.cjs +0 -1
  173. package/dist/vue-ui-mood-radar-C3x_LH7Q.cjs +0 -1
  174. package/dist/vue-ui-nested-donuts-DrL7-SUd.cjs +0 -17
  175. package/dist/vue-ui-onion-8Vz3lPbn.cjs +0 -5
  176. package/dist/vue-ui-parallel-coordinate-plot-D6q4WQ0B.cjs +0 -8
  177. package/dist/vue-ui-quadrant-DBZS5jFQ.cjs +0 -1
  178. package/dist/vue-ui-quick-chart-Cno_1mzu.cjs +0 -15
  179. package/dist/vue-ui-radar-ChcBO21S.cjs +0 -1
  180. package/dist/vue-ui-relation-circle-C5pO0iHY.cjs +0 -1
  181. package/dist/vue-ui-relation-circle-D2iwmChn.js +0 -492
  182. package/dist/vue-ui-rings-C_NLJYs8.cjs +0 -2
  183. package/dist/vue-ui-scatter-BNeMGDNk.cjs +0 -1
  184. package/dist/vue-ui-stackbar-BwRdmPvB.cjs +0 -6
  185. package/dist/vue-ui-strip-plot-CLN9LikJ.cjs +0 -1
  186. package/dist/vue-ui-table-heatmap-C4DRSfsE.js +0 -256
  187. package/dist/vue-ui-table-heatmap-CDAf1IIk.cjs +0 -1
  188. package/dist/vue-ui-table-sparkline-Cw7NOiYx.cjs +0 -1
  189. package/dist/vue-ui-thermometer-7BORZJjd.cjs +0 -1
  190. package/dist/vue-ui-tiremarks-CwGnFx4f.cjs +0 -1
  191. package/dist/vue-ui-tiremarks-lidhcJsi.js +0 -317
  192. package/dist/vue-ui-treemap-BZ_LmiBK.cjs +0 -1
  193. package/dist/vue-ui-vertical-bar-venrkqjM.cjs +0 -4
  194. package/dist/vue-ui-waffle-oR54BbIg.cjs +0 -1
  195. package/dist/vue-ui-wheel-BUHZEzPr.cjs +0 -1
  196. package/dist/vue-ui-wheel-D3itrMku.js +0 -299
  197. package/dist/vue-ui-word-cloud-87gwksmM.cjs +0 -1
  198. package/dist/vue-ui-xy-D56pm4L0.cjs +0 -3
  199. package/dist/vue-ui-xy-canvas-uikeVe72.cjs +0 -9
@@ -1,27 +1,28 @@
1
- import { computed as m, ref as d, onMounted as lt, onBeforeUnmount as at, watch as Me, openBlock as o, createElementBlock as s, normalizeClass as ce, normalizeStyle as Y, createBlock as G, createCommentVNode as i, renderSlot as w, unref as n, createSlots as ot, withCtx as $, normalizeProps as E, guardReactiveProps as W, createVNode as Ve, createElementVNode as h, Fragment as k, renderList as X, toDisplayString as x, createTextVNode as Ge, nextTick as ut, pushScopeId as st, popScopeId as nt } from "vue";
2
- import { u as rt, o as it, e as je, g as vt, c as ct, b as dt, d as He, p as j, m as ht, H as yt, f as F, X as ft, s as ee, w as pt, j as gt, I as L, i as A, k as b, n as te, t as bt, a as mt, x as wt, q as kt, r as _t } from "./index-BtL_cLa8.js";
3
- import { t as xt, u as Ct } from "./useResponsive-CoxXLe23.js";
4
- import { _ as $t } from "./Title-CIsKiWgN.js";
5
- import { u as Pt, U as St } from "./usePrinter-sRt2SKr2.js";
6
- import { D as Ft } from "./DataTable-CQ8fQnex.js";
7
- import { _ as Lt } from "./Tooltip-B1LgrF9R.js";
8
- import { L as Tt } from "./Legend-Br7MWNDo.js";
9
- import zt from "./vue-ui-skeleton-DjFU2X3P.js";
10
- import Yt from "./vue-ui-accordion-Cjc683tN.js";
11
- import { u as Re } from "./useNestedProp-CEAfm1tu.js";
12
- import { _ as At } from "./PackageVersion-BV3fHO46.js";
13
- import { P as Nt } from "./PenAndPaper-CCOywdmm.js";
14
- import { _ as Ot } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = ["xmlns", "viewBox"], Bt = { key: 0 }, Mt = ["id"], Vt = ["stop-color"], Gt = ["offset", "stop-color"], jt = ["offset", "stop-color"], Ht = ["stop-color"], Rt = { key: 1 }, Ut = ["id", "cx", "cy"], Et = ["stop-color", "stop-opacity"], Wt = ["stop-color"], qt = ["id"], Jt = ["id"], Kt = /* @__PURE__ */ Xt(() => /* @__PURE__ */ h("feColorMatrix", {
1
+ import { computed as m, ref as d, onMounted as ut, onBeforeUnmount as st, watch as Ue, openBlock as o, createElementBlock as r, normalizeClass as ce, normalizeStyle as z, unref as u, createBlock as G, createCommentVNode as i, renderSlot as w, createSlots as nt, withCtx as $, normalizeProps as E, guardReactiveProps as W, createVNode as je, createElementVNode as h, Fragment as k, renderList as X, toDisplayString as x, createTextVNode as He, nextTick as rt, pushScopeId as it, popScopeId as vt } from "vue";
2
+ import { u as ct, o as dt, e as Re, g as ht, c as yt, b as ft, d as Ee, p as U, m as pt, H as gt, f as F, X as bt, s as ee, w as mt, j as wt, I as L, i as Y, k as b, n as te, t as kt, a as _t, x as xt, q as Ct, r as $t } from "./index-BbPeL8Gp.js";
3
+ import { t as Pt, u as St } from "./useResponsive-CoxXLe23.js";
4
+ import { _ as Ft } from "./Title-aSAft5dl.js";
5
+ import { u as Lt, U as Tt } from "./usePrinter-DaybDVqP.js";
6
+ import { D as zt } from "./DataTable-DGf6RrOJ.js";
7
+ import { _ as Ot } from "./Tooltip-smutPF--.js";
8
+ import { L as Yt } from "./Legend-BLaZxMge.js";
9
+ import At from "./vue-ui-skeleton-Bniq21d9.js";
10
+ import Nt from "./vue-ui-accordion-5d5iVpr7.js";
11
+ import { u as We } from "./useNestedProp-BN8claGG.js";
12
+ import { _ as Xt } from "./PackageVersion-CxJghxYD.js";
13
+ import { P as It } from "./PenAndPaper-ZdZEumki.js";
14
+ import { u as Dt } from "./useUserOptionState-BIvW1Kz7.js";
15
+ import { _ as Mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const Bt = (q) => (it("data-v-d4fdff95"), q = q(), vt(), q), Vt = ["id"], Gt = ["xmlns", "viewBox"], Ut = { key: 0 }, jt = ["id"], Ht = ["stop-color"], Rt = ["offset", "stop-color"], Et = ["offset", "stop-color"], Wt = ["stop-color"], qt = { key: 1 }, Jt = ["id", "cx", "cy"], Kt = ["stop-color", "stop-opacity"], Qt = ["stop-color"], Zt = ["id"], el = ["id"], tl = /* @__PURE__ */ Bt(() => /* @__PURE__ */ h("feColorMatrix", {
16
17
  type: "saturate",
17
18
  values: "0"
18
- }, null, -1)), Qt = ["id"], Zt = ["flood-color"], el = ["id"], tl = ["flood-color"], ll = ["d", "stroke", "filter"], al = ["x1", "y1", "x2", "y2", "stroke", "filter"], ol = ["cx", "cy", "r", "fill", "filter"], ul = ["stroke", "d"], sl = ["d", "fill", "stroke", "stroke-width", "filter"], nl = { key: 0 }, rl = ["stroke", "d"], il = { key: 0 }, vl = ["d", "stroke", "stroke-width", "filter"], cl = ["d", "fill", "stroke", "stroke-width", "filter"], dl = { key: 1 }, hl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], yl = ["cx", "cy", "r", "stroke"], fl = ["cx", "cy", "r", "fill"], pl = { key: 0 }, gl = ["d", "fill", "onMouseenter", "onClick"], bl = { key: 1 }, ml = ["cx", "cy", "r", "fill"], wl = ["x", "y", "fill", "font-size"], kl = ["x", "y", "fill", "font-size"], _l = ["x", "y", "fill", "font-size"], xl = ["x", "y", "fill", "font-size"], Cl = ["filter"], $l = { key: 0 }, Pl = ["x", "y"], Sl = { key: 1 }, Fl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Ll = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Tl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], zl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Yl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Al = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Nl = { key: 2 }, Ol = ["x", "y", "width"], Xl = ["x", "y", "width"], Il = {
19
+ }, null, -1)), ll = ["id"], al = ["flood-color"], ol = ["id"], ul = ["flood-color"], sl = ["d", "stroke", "filter"], nl = ["x1", "y1", "x2", "y2", "stroke", "filter"], rl = ["cx", "cy", "r", "fill", "filter"], il = ["stroke", "d"], vl = ["d", "fill", "stroke", "stroke-width", "filter"], cl = { key: 0 }, dl = ["stroke", "d"], hl = { key: 0 }, yl = ["d", "stroke", "stroke-width", "filter"], fl = ["d", "fill", "stroke", "stroke-width", "filter"], pl = { key: 1 }, gl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], bl = ["cx", "cy", "r", "stroke"], ml = ["cx", "cy", "r", "fill"], wl = { key: 0 }, kl = ["d", "fill", "onMouseenter", "onClick"], _l = { key: 1 }, xl = ["cx", "cy", "r", "fill"], Cl = ["x", "y", "fill", "font-size"], $l = ["x", "y", "fill", "font-size"], Pl = ["x", "y", "fill", "font-size"], Sl = ["x", "y", "fill", "font-size"], Fl = ["filter"], Ll = { key: 0 }, Tl = ["x", "y"], zl = { key: 1 }, Ol = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Yl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Al = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Nl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Xl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Il = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Dl = { key: 2 }, Ml = ["x", "y", "width"], Bl = ["x", "y", "width"], Vl = {
19
20
  key: 5,
20
21
  class: "vue-data-ui-watermark"
21
- }, Dl = ["onClick"], Bl = {
22
+ }, Gl = ["onClick"], Ul = {
22
23
  key: 0,
23
24
  style: { "font-variant-numeric": "tabular-nums" }
24
- }, Ml = { key: 1 }, Vl = ["innerHTML"], Gl = {
25
+ }, jl = { key: 1 }, Hl = ["innerHTML"], Rl = {
25
26
  __name: "vue-ui-donut",
26
27
  props: {
27
28
  config: {
@@ -38,127 +39,127 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
38
39
  }
39
40
  },
40
41
  emits: ["selectLegend", "selectDatapoint"],
41
- setup(q, { expose: Ue, emit: de }) {
42
- const N = q, { vue_ui_donut: Ee } = rt(), J = m({
42
+ setup(q, { expose: qe, emit: de }) {
43
+ const A = q, { vue_ui_donut: Je } = ct(), J = m({
43
44
  get() {
44
- return !!N.dataset && N.dataset.length;
45
+ return !!A.dataset && A.dataset.length;
45
46
  },
46
47
  set(l) {
47
48
  return l;
48
49
  }
49
- }), H = d(null), he = d(null), ye = d(null), le = d(null), fe = d(null), pe = d(null), ge = d(0), be = d(0), me = d(0);
50
- lt(() => {
50
+ }), j = d(null), he = d(null), ye = d(null), le = d(null), fe = d(null), pe = d(null), ge = d(0), be = d(0), me = d(0);
51
+ ut(() => {
51
52
  we();
52
- }), at(() => {
53
+ }), st(() => {
53
54
  le.value && le.value.disconnect();
54
55
  });
55
56
  function we() {
56
- if (it(N.dataset) ? je({
57
+ if (dt(A.dataset) ? Re({
57
58
  componentName: "VueUiDonut",
58
59
  type: "dataset"
59
- }) : N.dataset.forEach((l, r) => {
60
- vt({
60
+ }) : A.dataset.forEach((l, n) => {
61
+ ht({
61
62
  datasetObject: l,
62
63
  requiredAttributes: ["name", "values"]
63
64
  }).forEach((t) => {
64
- J.value = !1, je({
65
+ J.value = !1, Re({
65
66
  componentName: "VueUiDonut",
66
67
  type: "datasetSerieAttribute",
67
68
  property: t,
68
- index: r
69
+ index: n
69
70
  });
70
71
  });
71
72
  }), e.value.responsive) {
72
- const l = xt(() => {
73
- const { width: r, height: t } = Ct({
74
- chart: H.value,
73
+ const l = Pt(() => {
74
+ const { width: n, height: t } = St({
75
+ chart: j.value,
75
76
  title: e.value.style.chart.title.text ? he.value : null,
76
77
  legend: e.value.style.chart.legend.show ? ye.value : null,
77
78
  source: fe.value,
78
79
  noTitle: pe.value
79
80
  });
80
- u.value.width = r, u.value.height = t;
81
+ s.value.width = n, s.value.height = t;
81
82
  });
82
- le.value = new ResizeObserver(l), le.value.observe(H.value.parentNode);
83
+ le.value = new ResizeObserver(l), le.value.observe(j.value.parentNode);
83
84
  }
84
85
  }
85
- const _ = d(ct()), We = d(null), ae = d(!1), se = d(""), P = d(null), ke = d(0);
86
+ const _ = d(yt()), Ke = d(null), ae = d(!1), se = d(""), P = d(null), ke = d(0);
86
87
  function _e() {
87
- const l = Re({
88
- userConfig: N.config,
89
- defaultConfig: Ee
88
+ const l = We({
89
+ userConfig: A.config,
90
+ defaultConfig: Je
90
91
  });
91
92
  return l.theme ? {
92
- ...Re({
93
- userConfig: bt.vue_ui_donut[l.theme] || N.config,
93
+ ...We({
94
+ userConfig: kt.vue_ui_donut[l.theme] || A.config,
94
95
  defaultConfig: l
95
96
  }),
96
- customPalette: mt[l.theme] || j
97
+ customPalette: _t[l.theme] || U
97
98
  } : l;
98
99
  }
99
100
  const e = m({
100
101
  get: () => _e(),
101
102
  set: (l) => l
102
- });
103
- Me(() => N.config, (l) => {
103
+ }), { userOptionsVisible: xe, setUserOptionsVisibility: Ce, keepUserOptionState: $e } = Dt({ config: e.value });
104
+ Ue(() => A.config, (l) => {
104
105
  e.value = _e(), we(), ge.value += 1, be.value += 1, me.value += 1;
105
106
  }, { deep: !0 });
106
- const { isPrinting: xe, isImaging: Ce, generatePdf: $e, generateImage: Pe } = Pt({
107
+ const { isPrinting: Pe, isImaging: Se, generatePdf: Fe, generateImage: Le } = Lt({
107
108
  elementId: `donut__${_.value}`,
108
109
  fileName: e.value.style.chart.title.text || "vue-ui-donut"
109
- }), qe = m(() => e.value.userOptions.show && !e.value.style.chart.title.text), Se = m(() => dt(e.value.customPalette)), y = d({
110
+ }), Qe = m(() => e.value.userOptions.show && !e.value.style.chart.title.text), Te = m(() => ft(e.value.customPalette)), y = d({
110
111
  dataLabels: {
111
112
  show: e.value.style.chart.layout.labels.dataLabels.show
112
113
  },
113
114
  showTable: e.value.table.show,
114
115
  showTooltip: e.value.style.chart.tooltip.show
115
- }), u = d({
116
+ }), s = d({
116
117
  height: 360,
117
118
  width: 512
118
119
  }), K = m(() => {
119
- const l = e.value.style.chart.layout.donut.strokeWidth / 512, r = u.value.width * l, t = r > C.value ? C.value : r;
120
+ const l = e.value.style.chart.layout.donut.strokeWidth / 512, n = s.value.width * l, t = n > C.value ? C.value : n;
120
121
  return t < 24 ? 24 : t;
121
- }), M = m(() => N.dataset.map((l, r) => ({
122
+ }), B = m(() => A.dataset.map((l, n) => ({
122
123
  name: l.name,
123
- color: He(l.color) || Se.value[r] || j[r] || j[r % j.length],
124
+ color: Ee(l.color) || Te.value[n] || U[n] || U[n % U.length],
124
125
  value: l.values.reduce((t, a) => t + a, 0),
125
126
  absoluteValues: l.values,
126
127
  comment: l.comment || ""
127
- }))), T = d(M.value);
128
- Me(() => M.value, (l) => T.value = l);
129
- function Je() {
130
- return M.value.map((l) => ({
128
+ }))), T = d(B.value);
129
+ Ue(() => B.value, (l) => T.value = l);
130
+ function Ze() {
131
+ return B.value.map((l) => ({
131
132
  name: l.name,
132
133
  color: l.color,
133
134
  value: l.value
134
135
  }));
135
136
  }
136
- const O = d([]), Fe = d(null), Le = d(null), V = d(!1);
137
- function Te(l) {
138
- const r = M.value.find((v, g) => g === l);
137
+ const N = d([]), ze = d(null), Oe = d(null), V = d(!1);
138
+ function Ye(l) {
139
+ const n = B.value.find((v, g) => g === l);
139
140
  let a = T.value.find((v, g) => g === l).value;
140
- if (O.value.includes(l)) {
141
+ if (N.value.includes(l)) {
141
142
  let g = function() {
142
- a > v ? (cancelAnimationFrame(Fe.value), T.value = T.value.map((p, ve) => l === ve ? {
143
+ a > v ? (cancelAnimationFrame(ze.value), T.value = T.value.map((p, ve) => l === ve ? {
143
144
  ...p,
144
145
  value: v
145
146
  } : p), V.value = !1) : (V.value = !0, a += v * 0.025, T.value = T.value.map((p, ve) => l === ve ? {
146
147
  ...p,
147
148
  value: a
148
- } : p), Fe.value = requestAnimationFrame(g));
149
+ } : p), ze.value = requestAnimationFrame(g));
149
150
  };
150
- O.value = O.value.filter((p) => p !== l);
151
- const v = r.value;
151
+ N.value = N.value.filter((p) => p !== l);
152
+ const v = n.value;
152
153
  g();
153
- } else if (O.value.length < M.value.length - 1) {
154
+ } else if (N.value.length < B.value.length - 1) {
154
155
  let v = function() {
155
- a < 0.1 ? (cancelAnimationFrame(Le.value), O.value.push(l), T.value = T.value.map((g, p) => l === p ? {
156
+ a < 0.1 ? (cancelAnimationFrame(Oe.value), N.value.push(l), T.value = T.value.map((g, p) => l === p ? {
156
157
  ...g,
157
158
  value: 0
158
159
  } : g), V.value = !1) : (V.value = !0, a /= 1.1, T.value = T.value.map((g, p) => l === p ? {
159
160
  ...g,
160
161
  value: a
161
- } : g), Le.value = requestAnimationFrame(v));
162
+ } : g), Oe.value = requestAnimationFrame(v));
162
163
  };
163
164
  v();
164
165
  }
@@ -168,27 +169,27 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
168
169
  value: v.value
169
170
  })));
170
171
  }
171
- const I = m(() => (T.value.forEach((l, r) => {
172
+ const I = m(() => (T.value.forEach((l, n) => {
172
173
  if ([null, void 0].includes(l.values))
173
174
  return {
174
175
  ...l,
175
176
  values: []
176
177
  };
177
- }), T.value.map((l, r) => ({
178
+ }), T.value.map((l, n) => ({
178
179
  ...l,
179
- seriesIndex: r
180
- })).filter((l, r) => !O.value.includes(r)))), ze = m(() => N.dataset.map((l, r) => ({
180
+ seriesIndex: n
181
+ })).filter((l, n) => !N.value.includes(n)))), Ae = m(() => A.dataset.map((l, n) => ({
181
182
  name: l.name,
182
- color: He(l.color) || Se.value[r] || j[r] || j[r % j.length],
183
+ color: Ee(l.color) || Te.value[n] || U[n] || U[n % U.length],
183
184
  value: (l.values || []).reduce((t, a) => t + a, 0),
184
185
  shape: "circle"
185
- })).map((l, r) => ({
186
+ })).map((l, n) => ({
186
187
  ...l,
187
- proportion: l.value / N.dataset.map((t) => (t.values || []).reduce((a, v) => a + v, 0)).reduce((t, a) => t + a, 0),
188
- opacity: O.value.includes(r) ? 0.5 : 1,
189
- segregate: () => !V.value && Te(r),
190
- isSegregated: O.value.includes(r)
191
- }))), Ke = m(() => ({
188
+ proportion: l.value / A.dataset.map((t) => (t.values || []).reduce((a, v) => a + v, 0)).reduce((t, a) => t + a, 0),
189
+ opacity: N.value.includes(n) ? 0.5 : 1,
190
+ segregate: () => !V.value && Ye(n),
191
+ isSegregated: N.value.includes(n)
192
+ }))), et = m(() => ({
192
193
  cy: "donut-div-legend",
193
194
  backgroundColor: e.value.style.chart.legend.backgroundColor,
194
195
  color: e.value.style.chart.legend.color,
@@ -196,31 +197,31 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
196
197
  paddingBottom: 12,
197
198
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
198
199
  })), C = m(() => {
199
- const l = Math.min(u.value.width / 3, u.value.height / 3);
200
+ const l = Math.min(s.value.width / 3, s.value.height / 3);
200
201
  return l < 55 ? 55 : l;
201
- }), f = m(() => ht({ series: I.value }, u.value.width / 2, u.value.height / 2, C.value, C.value, 1.99999, 2, 1, 360, 105.25, K.value)), c = m(() => {
202
- const l = Math.max(...I.value.map((t) => t.value)), r = I.value.map((t) => t.value / l);
203
- return yt({
204
- series: r,
202
+ }), f = m(() => pt({ series: I.value }, s.value.width / 2, s.value.height / 2, C.value, C.value, 1.99999, 2, 1, 360, 105.25, K.value)), c = m(() => {
203
+ const l = Math.max(...I.value.map((t) => t.value)), n = I.value.map((t) => t.value / l);
204
+ return gt({
205
+ series: n,
205
206
  center: {
206
- x: u.value.width / 2,
207
- y: u.value.height / 2
207
+ x: s.value.width / 2,
208
+ y: s.value.height / 2
208
209
  },
209
- maxRadius: Math.min(u.value.width, u.value.height) / 3
210
+ maxRadius: Math.min(s.value.width, s.value.height) / 3
210
211
  });
211
212
  });
212
- function R(l) {
213
- return l.x > u.value.width / 2 + 6 ? "start" : l.x < u.value.width / 2 - 6 ? "end" : "middle";
213
+ function H(l) {
214
+ return l.x > s.value.width / 2 + 6 ? "start" : l.x < s.value.width / 2 - 6 ? "end" : "middle";
214
215
  }
215
- function Qe(l) {
216
- return l.middlePoint.y > u.value.height / 2 ? L({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 100, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y : L({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 0, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y - 100;
216
+ function tt(l) {
217
+ return l.middlePoint.y > s.value.height / 2 ? L({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 100, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y : L({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 0, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y - 100;
217
218
  }
218
- function z(l) {
219
+ function O(l) {
219
220
  return l.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
220
221
  }
221
- function ne(l, r) {
222
- const t = l.value / Ze(r);
223
- return isNaN(t) ? 0 : A(
222
+ function ne(l, n) {
223
+ const t = l.value / lt(n);
224
+ return isNaN(t) ? 0 : Y(
224
225
  e.value.style.chart.layout.labels.percentage.formatter,
225
226
  t * 100,
226
227
  F({
@@ -231,20 +232,20 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
231
232
  { datapoint: l }
232
233
  );
233
234
  }
234
- function Ze(l) {
235
- return [...l].map((r) => r.value).reduce((r, t) => r + t, 0);
235
+ function lt(l) {
236
+ return [...l].map((n) => n.value).reduce((n, t) => n + t, 0);
236
237
  }
237
- const S = m(() => I.value.map((l) => l.value).reduce((l, r) => l + r, 0)), Ye = m(() => S.value / I.value.length), Ae = m(() => (l) => V.value ? l.proportion * 100 : l.value / S.value * 100), re = d(null), Q = d(!1);
238
- function Ne({ datapoint: l, relativeIndex: r, seriesIndex: t, show: a = !1 }) {
239
- re.value = { datapoint: l, seriesIndex: t, config: e.value, series: M.value }, ae.value = a, P.value = r;
238
+ const S = m(() => I.value.map((l) => l.value).reduce((l, n) => l + n, 0)), Ne = m(() => S.value / I.value.length), Xe = m(() => (l) => V.value ? l.proportion * 100 : l.value / S.value * 100), re = d(null), Q = d(!1);
239
+ function Ie({ datapoint: l, relativeIndex: n, seriesIndex: t, show: a = !1 }) {
240
+ re.value = { datapoint: l, seriesIndex: t, config: e.value, series: B.value }, ae.value = a, P.value = n;
240
241
  let v = "";
241
242
  const g = e.value.style.chart.tooltip.customFormat;
242
- if (Q.value = !1, wt(g))
243
+ if (Q.value = !1, xt(g))
243
244
  try {
244
245
  const p = g({
245
246
  seriesIndex: t,
246
247
  datapoint: l,
247
- series: M.value,
248
+ series: B.value,
248
249
  config: e.value
249
250
  });
250
251
  typeof p == "string" && (se.value = p, Q.value = !0);
@@ -252,7 +253,7 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
252
253
  console.warn("Custom format cannot be applied."), Q.value = !1;
253
254
  }
254
255
  if (!Q.value) {
255
- if (v += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, v += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${l.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (v += `<b>${A(
256
+ if (v += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, v += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${l.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (v += `<b>${Y(
256
257
  e.value.style.chart.layout.labels.value.formatter,
257
258
  l.value,
258
259
  F({
@@ -263,11 +264,11 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
263
264
  }),
264
265
  {
265
266
  datapoint: l,
266
- relativeIndex: r,
267
+ relativeIndex: n,
267
268
  seriesIndex: t
268
269
  }
269
270
  )}</b>`), e.value.style.chart.tooltip.showPercentage) {
270
- const p = A(
271
+ const p = Y(
271
272
  e.value.style.chart.layout.labels.percentage.formatter,
272
273
  l.proportion * 100,
273
274
  F({
@@ -277,7 +278,7 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
277
278
  }),
278
279
  {
279
280
  datapoint: l,
280
- relativeIndex: r,
281
+ relativeIndex: n,
281
282
  seriesIndex: t
282
283
  }
283
284
  );
@@ -293,15 +294,15 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
293
294
  const l = I.value.map((t) => ({
294
295
  name: t.name,
295
296
  color: t.color
296
- })), r = I.value.map((t) => t.value);
297
- return { head: l, body: r };
297
+ })), n = I.value.map((t) => t.value);
298
+ return { head: l, body: n };
298
299
  });
299
- function Oe() {
300
- ut(() => {
300
+ function De() {
301
+ rt(() => {
301
302
  const l = D.value.head.map((a, v) => [[
302
303
  a.name
303
- ], [D.value.body[v]], [isNaN(D.value.body[v] / S.value) ? "-" : D.value.body[v] / S.value * 100]]), r = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), t = kt(r);
304
- _t({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-donut" });
304
+ ], [D.value.body[v]], [isNaN(D.value.body[v] / S.value) ? "-" : D.value.body[v] / S.value * 100]]), n = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), t = Ct(n);
305
+ $t({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-donut" });
305
306
  });
306
307
  }
307
308
  const oe = m(() => {
@@ -309,7 +310,7 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
309
310
  ' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
310
311
  F({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: S.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
311
312
  "100%"
312
- ], r = D.value.head.map((v, g) => {
313
+ ], n = D.value.head.map((v, g) => {
313
314
  const p = F({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: D.value.body[g], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
314
315
  return [
315
316
  {
@@ -339,72 +340,74 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
339
340
  e.value.table.columnNames.percentage
340
341
  ],
341
342
  head: l,
342
- body: r,
343
+ body: n,
343
344
  config: t
344
345
  };
345
- }), U = d(!1);
346
- function et(l) {
347
- U.value = l, ke.value += 1;
346
+ }), R = d(!1);
347
+ function at(l) {
348
+ R.value = l, ke.value += 1;
348
349
  }
349
- const Xe = m(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
350
- function tt(l) {
351
- return l.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((r) => "-").join("");
350
+ const Me = m(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
351
+ function ot(l) {
352
+ return l.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((n) => "-").join("");
352
353
  }
353
- function B(l, r) {
354
- de("selectDatapoint", { datapoint: l, index: r });
354
+ function M(l, n) {
355
+ de("selectDatapoint", { datapoint: l, index: n });
355
356
  }
356
- function Ie() {
357
+ function Be() {
357
358
  y.value.showTable = !y.value.showTable;
358
359
  }
359
- function De() {
360
+ function Ve() {
360
361
  y.value.dataLabels.show = !y.value.dataLabels.show;
361
362
  }
362
- function Be() {
363
+ function Ge() {
363
364
  y.value.showTooltip = !y.value.showTooltip;
364
365
  }
365
366
  const ue = d(!1);
366
367
  function ie() {
367
368
  ue.value = !ue.value;
368
369
  }
369
- return Ue({
370
- getData: Je,
371
- generatePdf: $e,
372
- generateCsv: Oe,
373
- generateImage: Pe,
374
- toggleTable: Ie,
375
- toggleLabels: De,
376
- toggleTooltip: Be,
370
+ return qe({
371
+ getData: Ze,
372
+ generatePdf: Fe,
373
+ generateCsv: De,
374
+ generateImage: Le,
375
+ toggleTable: Be,
376
+ toggleLabels: Ve,
377
+ toggleTooltip: Ge,
377
378
  toggleAnnotator: ie
378
- }), (l, r) => (o(), s("div", {
379
+ }), (l, n) => (o(), r("div", {
379
380
  ref_key: "donutChart",
380
- ref: H,
381
- class: ce(`vue-ui-donut ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
382
- style: Y(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
383
- id: `donut__${_.value}`
381
+ ref: j,
382
+ class: ce(`vue-ui-donut ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
383
+ style: z(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
384
+ id: `donut__${_.value}`,
385
+ onMouseenter: n[6] || (n[6] = () => u(Ce)(!0)),
386
+ onMouseleave: n[7] || (n[7] = () => u(Ce)(!1))
384
387
  }, [
385
- e.value.userOptions.buttons.annotator ? (o(), G(Nt, {
388
+ e.value.userOptions.buttons.annotator ? (o(), G(It, {
386
389
  key: 0,
387
- parent: H.value,
390
+ parent: j.value,
388
391
  backgroundColor: e.value.style.chart.backgroundColor,
389
392
  color: e.value.style.chart.color,
390
393
  active: ue.value,
391
394
  onClose: ie
392
395
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : i("", !0),
393
396
  w(l.$slots, "userConfig", {}, void 0, !0),
394
- qe.value ? (o(), s("div", {
397
+ Qe.value ? (o(), r("div", {
395
398
  key: 1,
396
399
  ref_key: "noTitle",
397
400
  ref: pe,
398
401
  class: "vue-data-ui-no-title-space",
399
402
  style: "height:36px; width: 100%;background:transparent"
400
403
  }, null, 512)) : i("", !0),
401
- e.value.style.chart.title.text ? (o(), s("div", {
404
+ e.value.style.chart.title.text ? (o(), r("div", {
402
405
  key: 2,
403
406
  ref_key: "chartTitle",
404
407
  ref: he,
405
408
  style: "width:100%;background:transparent;padding-bottom:24px"
406
409
  }, [
407
- (o(), G($t, {
410
+ (o(), G(Ft, {
408
411
  key: `title_${ge.value}`,
409
412
  config: {
410
413
  title: {
@@ -418,14 +421,14 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
418
421
  }
419
422
  }, null, 8, ["config"]))
420
423
  ], 512)) : i("", !0),
421
- e.value.userOptions.show && J.value ? (o(), G(St, {
424
+ e.value.userOptions.show && J.value && (u($e) || u(xe)) ? (o(), G(Tt, {
422
425
  ref_key: "details",
423
- ref: We,
426
+ ref: Ke,
424
427
  key: `user_option_${ke.value}`,
425
428
  backgroundColor: e.value.style.chart.backgroundColor,
426
429
  color: e.value.style.chart.color,
427
- isPrinting: n(xe),
428
- isImaging: n(Ce),
430
+ isPrinting: u(Pe),
431
+ isImaging: u(Se),
429
432
  uid: _.value,
430
433
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
431
434
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -434,22 +437,25 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
434
437
  hasTable: e.value.userOptions.buttons.table,
435
438
  hasLabel: e.value.userOptions.buttons.labels,
436
439
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
437
- isFullscreen: U.value,
438
- chartElement: H.value,
440
+ isFullscreen: R.value,
441
+ chartElement: j.value,
439
442
  position: e.value.userOptions.position,
440
443
  isTooltip: y.value.showTooltip,
441
444
  titles: { ...e.value.userOptions.buttonTitles },
442
445
  hasAnnotator: e.value.userOptions.buttons.annotator,
443
446
  isAnnotation: ue.value,
444
- onToggleFullscreen: et,
445
- onGeneratePdf: n($e),
446
- onGenerateCsv: Oe,
447
- onGenerateImage: n(Pe),
448
- onToggleTable: Ie,
449
- onToggleLabels: De,
450
- onToggleTooltip: Be,
451
- onToggleAnnotator: ie
452
- }, ot({ _: 2 }, [
447
+ onToggleFullscreen: at,
448
+ onGeneratePdf: u(Fe),
449
+ onGenerateCsv: De,
450
+ onGenerateImage: u(Le),
451
+ onToggleTable: Be,
452
+ onToggleLabels: Ve,
453
+ onToggleTooltip: Ge,
454
+ onToggleAnnotator: ie,
455
+ style: z({
456
+ visibility: u($e) ? u(xe) ? "visible" : "hidden" : "visible"
457
+ })
458
+ }, nt({ _: 2 }, [
453
459
  l.$slots.optionTooltip ? {
454
460
  name: "optionTooltip",
455
461
  fn: $(() => [
@@ -506,58 +512,58 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
506
512
  ]),
507
513
  key: "7"
508
514
  } : void 0
509
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : i("", !0),
510
- J.value ? (o(), s("svg", {
515
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
516
+ J.value ? (o(), r("svg", {
511
517
  key: 4,
512
- xmlns: n(ft),
513
- class: ce({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
514
- viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
515
- style: Y(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
518
+ xmlns: u(bt),
519
+ class: ce({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
520
+ viewBox: `0 0 ${s.value.width <= 0 ? 10 : s.value.width} ${s.value.height <= 0 ? 10 : s.value.height}`,
521
+ style: z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
516
522
  }, [
517
- Ve(At),
518
- e.value.type === "classic" ? (o(), s("defs", Bt, [
519
- e.value.style.chart.useGradient ? (o(), s("radialGradient", {
523
+ je(Xt),
524
+ e.value.type === "classic" ? (o(), r("defs", Ut, [
525
+ e.value.style.chart.useGradient ? (o(), r("radialGradient", {
520
526
  key: 0,
521
527
  id: `gradient_${_.value}`
522
528
  }, [
523
529
  h("stop", {
524
530
  offset: "0%",
525
- "stop-color": n(ee)(e.value.style.chart.backgroundColor, 0),
531
+ "stop-color": u(ee)(e.value.style.chart.backgroundColor, 0),
526
532
  "stop-opacity": "0"
527
- }, null, 8, Vt),
533
+ }, null, 8, Ht),
528
534
  h("stop", {
529
535
  offset: `${(1 - K.value / C.value) * 100}%`,
530
- "stop-color": n(ee)("#FFFFFF", 0),
536
+ "stop-color": u(ee)("#FFFFFF", 0),
531
537
  "stop-opacity": "0"
532
- }, null, 8, Gt),
538
+ }, null, 8, Rt),
533
539
  h("stop", {
534
540
  offset: `${(1 - K.value / C.value / 2) * 100}%`,
535
- "stop-color": n(ee)("#FFFFFF", e.value.style.chart.gradientIntensity)
536
- }, null, 8, jt),
541
+ "stop-color": u(ee)("#FFFFFF", e.value.style.chart.gradientIntensity)
542
+ }, null, 8, Et),
537
543
  h("stop", {
538
544
  offset: "100%",
539
- "stop-color": n(ee)(e.value.style.chart.backgroundColor, 0),
545
+ "stop-color": u(ee)(e.value.style.chart.backgroundColor, 0),
540
546
  "stop-opacity": "0"
541
- }, null, 8, Ht)
542
- ], 8, Mt)) : i("", !0)
547
+ }, null, 8, Wt)
548
+ ], 8, jt)) : i("", !0)
543
549
  ])) : i("", !0),
544
- e.value.type === "polar" ? (o(), s("defs", Rt, [
545
- (o(!0), s(k, null, X(c.value, (t, a) => (o(), s("radialGradient", {
550
+ e.value.type === "polar" ? (o(), r("defs", qt, [
551
+ (o(!0), r(k, null, X(c.value, (t, a) => (o(), r("radialGradient", {
546
552
  id: `polar_gradient_${a}_${_.value}`,
547
- cx: t.middlePoint.x / u.value.width * 100 + "%",
548
- cy: t.middlePoint.y / u.value.height * 100 + "%",
553
+ cx: t.middlePoint.x / s.value.width * 100 + "%",
554
+ cy: t.middlePoint.y / s.value.height * 100 + "%",
549
555
  r: "62%"
550
556
  }, [
551
557
  h("stop", {
552
558
  offset: "0%",
553
- "stop-color": n(pt)(f.value[a].color, 0.05),
559
+ "stop-color": u(mt)(f.value[a].color, 0.05),
554
560
  "stop-opacity": e.value.style.chart.gradientIntensity / 100
555
- }, null, 8, Et),
561
+ }, null, 8, Kt),
556
562
  h("stop", {
557
563
  offset: "100%",
558
564
  "stop-color": f.value[a].color
559
- }, null, 8, Wt)
560
- ], 8, Ut))), 256))
565
+ }, null, 8, Qt)
566
+ ], 8, Jt))), 256))
561
567
  ])) : i("", !0),
562
568
  h("defs", null, [
563
569
  h("filter", {
@@ -571,9 +577,9 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
571
577
  in: "SourceGraphic",
572
578
  stdDeviation: 2,
573
579
  id: `blur_std_${_.value}`
574
- }, null, 8, Jt),
575
- Kt
576
- ], 8, qt),
580
+ }, null, 8, el),
581
+ tl
582
+ ], 8, Zt),
577
583
  h("filter", {
578
584
  id: `shadow_${_.value}`,
579
585
  "color-interpolation-filters": "sRGB"
@@ -584,8 +590,8 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
584
590
  stdDeviation: "10",
585
591
  "flood-opacity": "0.5",
586
592
  "flood-color": e.value.style.chart.layout.donut.shadowColor
587
- }, null, 8, Zt)
588
- ], 8, Qt),
593
+ }, null, 8, al)
594
+ ], 8, ll),
589
595
  h("filter", {
590
596
  id: `drop_shadow_${_.value}`,
591
597
  "color-interpolation-filters": "sRGB",
@@ -600,26 +606,26 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
600
606
  stdDeviation: "3",
601
607
  "flood-opacity": "1",
602
608
  "flood-color": e.value.style.chart.layout.donut.shadowColor
603
- }, null, 8, tl)
604
- ], 8, el)
609
+ }, null, 8, ul)
610
+ ], 8, ol)
605
611
  ]),
606
- e.value.type === "classic" ? (o(!0), s(k, { key: 2 }, X(f.value, (t, a) => (o(), s("g", null, [
607
- z(t) && y.value.dataLabels.show ? (o(), s("path", {
612
+ e.value.type === "classic" ? (o(!0), r(k, { key: 2 }, X(f.value, (t, a) => (o(), r("g", null, [
613
+ O(t) && y.value.dataLabels.show ? (o(), r("path", {
608
614
  key: 0,
609
- d: n(gt)(t, { x: u.value.width / 2, y: u.value.height / 2 }, 16, 16, !1, !1, K.value),
615
+ d: u(wt)(t, { x: s.value.width / 2, y: s.value.height / 2 }, 16, 16, !1, !1, K.value),
610
616
  stroke: t.color,
611
617
  "stroke-width": "1",
612
618
  "stroke-linecap": "round",
613
619
  "stroke-linejoin": "round",
614
620
  fill: "none",
615
621
  filter: Z(a)
616
- }, null, 8, ll)) : i("", !0)
622
+ }, null, 8, sl)) : i("", !0)
617
623
  ]))), 256)) : i("", !0),
618
- e.value.type === "polar" ? (o(!0), s(k, { key: 3 }, X(f.value, (t, a) => (o(), s("g", null, [
619
- z(t) && y.value.dataLabels.show ? (o(), s("line", {
624
+ e.value.type === "polar" ? (o(!0), r(k, { key: 3 }, X(f.value, (t, a) => (o(), r("g", null, [
625
+ O(t) && y.value.dataLabels.show ? (o(), r("line", {
620
626
  key: 0,
621
- x1: n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
622
- y1: n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y,
627
+ x1: u(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
628
+ y1: u(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y,
623
629
  x2: c.value[a].middlePoint.x,
624
630
  y2: c.value[a].middlePoint.y,
625
631
  stroke: t.color,
@@ -628,184 +634,184 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
628
634
  "stroke-linejoin": "round",
629
635
  fill: "none",
630
636
  filter: Z(a)
631
- }, null, 8, al)) : i("", !0)
637
+ }, null, 8, nl)) : i("", !0)
632
638
  ]))), 256)) : i("", !0),
633
- e.value.type === "classic" ? (o(), s("circle", {
639
+ e.value.type === "classic" ? (o(), r("circle", {
634
640
  key: 4,
635
- cx: u.value.width / 2,
636
- cy: u.value.height / 2,
641
+ cx: s.value.width / 2,
642
+ cy: s.value.height / 2,
637
643
  r: C.value <= 0 ? 10 : C.value,
638
644
  fill: e.value.style.chart.backgroundColor,
639
645
  filter: e.value.style.chart.layout.donut.useShadow ? `url(#shadow_${_.value})` : ""
640
- }, null, 8, ol)) : i("", !0),
641
- S.value && e.value.type === "classic" ? (o(), s(k, { key: 5 }, [
642
- (o(!0), s(k, null, X(f.value, (t, a) => (o(), s("path", {
646
+ }, null, 8, rl)) : i("", !0),
647
+ S.value && e.value.type === "classic" ? (o(), r(k, { key: 5 }, [
648
+ (o(!0), r(k, null, X(f.value, (t, a) => (o(), r("path", {
643
649
  stroke: e.value.style.chart.backgroundColor,
644
650
  d: t.arcSlice,
645
651
  fill: "#FFFFFF"
646
- }, null, 8, ul))), 256)),
647
- (o(!0), s(k, null, X(f.value, (t, a) => (o(), s("path", {
652
+ }, null, 8, il))), 256)),
653
+ (o(!0), r(k, null, X(f.value, (t, a) => (o(), r("path", {
648
654
  class: "vue-ui-donut-arc-path",
649
655
  d: t.arcSlice,
650
- fill: n(ee)(t.color, 80),
656
+ fill: u(ee)(t.color, 80),
651
657
  stroke: e.value.style.chart.backgroundColor,
652
658
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
653
659
  filter: Z(a)
654
- }, null, 8, sl))), 256))
660
+ }, null, 8, vl))), 256))
655
661
  ], 64)) : i("", !0),
656
- S.value && e.value.type === "polar" ? (o(), s(k, { key: 6 }, [
657
- f.value.length > 1 ? (o(), s("g", nl, [
658
- (o(!0), s(k, null, X(f.value, (t, a) => (o(), s("path", {
662
+ S.value && e.value.type === "polar" ? (o(), r(k, { key: 6 }, [
663
+ f.value.length > 1 ? (o(), r("g", cl, [
664
+ (o(!0), r(k, null, X(f.value, (t, a) => (o(), r("path", {
659
665
  stroke: e.value.style.chart.backgroundColor,
660
666
  d: c.value[a].path,
661
667
  fill: "#FFFFFF"
662
- }, null, 8, rl))), 256)),
663
- e.value.style.chart.layout.donut.useShadow ? (o(), s("g", il, [
664
- (o(!0), s(k, null, X(f.value, (t, a) => (o(), s("path", {
668
+ }, null, 8, dl))), 256)),
669
+ e.value.style.chart.layout.donut.useShadow ? (o(), r("g", hl, [
670
+ (o(!0), r(k, null, X(f.value, (t, a) => (o(), r("path", {
665
671
  class: "vue-ui-donut-arc-path",
666
672
  d: c.value[a].path,
667
673
  fill: "transparent",
668
674
  stroke: e.value.style.chart.backgroundColor,
669
675
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
670
676
  filter: `url(#drop_shadow_${_.value})`
671
- }, null, 8, vl))), 256))
677
+ }, null, 8, yl))), 256))
672
678
  ])) : i("", !0),
673
- (o(!0), s(k, null, X(f.value, (t, a) => (o(), s("path", {
679
+ (o(!0), r(k, null, X(f.value, (t, a) => (o(), r("path", {
674
680
  class: "vue-ui-donut-arc-path",
675
681
  d: c.value[a].path,
676
682
  fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${a}_${_.value})` : t.color,
677
683
  stroke: e.value.style.chart.backgroundColor,
678
684
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
679
685
  filter: Z(a)
680
- }, null, 8, cl))), 256))
681
- ])) : (o(), s("g", dl, [
686
+ }, null, 8, fl))), 256))
687
+ ])) : (o(), r("g", pl, [
682
688
  h("circle", {
683
- cx: u.value.width / 2,
684
- cy: u.value.height / 2,
689
+ cx: s.value.width / 2,
690
+ cy: s.value.height / 2,
685
691
  r: C.value,
686
692
  fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${_.value})` : f.value[0].color,
687
693
  stroke: e.value.style.chart.backgroundColor,
688
694
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
689
- }, null, 8, hl)
695
+ }, null, 8, gl)
690
696
  ]))
691
- ], 64)) : (o(), s("circle", {
697
+ ], 64)) : (o(), r("circle", {
692
698
  key: 7,
693
- cx: u.value.width / 2,
694
- cy: u.value.height / 2,
699
+ cx: s.value.width / 2,
700
+ cy: s.value.height / 2,
695
701
  r: C.value <= 0 ? 10 : C.value,
696
702
  fill: "transparent",
697
703
  stroke: e.value.style.chart.backgroundColor
698
- }, null, 8, yl)),
699
- e.value.style.chart.useGradient && e.value.type === "classic" ? (o(), s("circle", {
704
+ }, null, 8, bl)),
705
+ e.value.style.chart.useGradient && e.value.type === "classic" ? (o(), r("circle", {
700
706
  key: 8,
701
- cx: u.value.width / 2,
702
- cy: u.value.height / 2,
707
+ cx: s.value.width / 2,
708
+ cy: s.value.height / 2,
703
709
  r: (
704
710
  /* This might require adjustments */
705
711
  C.value <= 0 ? 10 : C.value
706
712
  ),
707
713
  fill: `url(#gradient_${_.value})`
708
- }, null, 8, fl)) : i("", !0),
709
- S.value ? (o(), s(k, { key: 9 }, [
710
- f.value.length > 1 || e.value.type === "classic" ? (o(), s("g", pl, [
711
- (o(!0), s(k, null, X(f.value, (t, a) => (o(), s("path", {
714
+ }, null, 8, ml)) : i("", !0),
715
+ S.value ? (o(), r(k, { key: 9 }, [
716
+ f.value.length > 1 || e.value.type === "classic" ? (o(), r("g", wl, [
717
+ (o(!0), r(k, null, X(f.value, (t, a) => (o(), r("path", {
712
718
  "data-cy-donut-trap": "",
713
719
  d: e.value.type === "classic" ? t.arcSlice : c.value[a].path,
714
720
  fill: P.value === a ? "rgba(0,0,0,0.1)" : "transparent",
715
- onMouseenter: (v) => Ne({
721
+ onMouseenter: (v) => Ie({
716
722
  datapoint: t,
717
723
  relativeIndex: a,
718
724
  seriesIndex: t.seriesIndex,
719
725
  show: !0
720
726
  }),
721
- onMouseleave: r[0] || (r[0] = (v) => {
727
+ onMouseleave: n[0] || (n[0] = (v) => {
722
728
  ae.value = !1, P.value = null;
723
729
  }),
724
- onClick: (v) => B(t, a)
725
- }, null, 40, gl))), 256))
726
- ])) : (o(), s("g", bl, [
730
+ onClick: (v) => M(t, a)
731
+ }, null, 40, kl))), 256))
732
+ ])) : (o(), r("g", _l, [
727
733
  h("circle", {
728
- cx: u.value.width / 2,
729
- cy: u.value.height / 2,
734
+ cx: s.value.width / 2,
735
+ cy: s.value.height / 2,
730
736
  r: C.value,
731
737
  fill: P.value === l.i ? "rgba(0,0,0,0.1)" : "transparent",
732
738
  "data-cy-donut-trap": "",
733
- onMouseenter: r[1] || (r[1] = (t) => Ne({
739
+ onMouseenter: n[1] || (n[1] = (t) => Ie({
734
740
  datapoint: f.value[0],
735
741
  relativeIndex: 0,
736
742
  seriesIndex: f.value[0].seriesIndex,
737
743
  show: !0
738
744
  })),
739
- onMouseleave: r[2] || (r[2] = (t) => {
745
+ onMouseleave: n[2] || (n[2] = (t) => {
740
746
  ae.value = !1, P.value = null;
741
747
  }),
742
- onClick: r[3] || (r[3] = (t) => B(f.value[0], l.i))
743
- }, null, 40, ml)
748
+ onClick: n[3] || (n[3] = (t) => M(f.value[0], l.i))
749
+ }, null, 40, xl)
744
750
  ]))
745
751
  ], 64)) : i("", !0),
746
- e.value.type === "classic" ? (o(), s(k, { key: 10 }, [
747
- e.value.style.chart.layout.labels.hollow.total.show ? (o(), s("text", {
752
+ e.value.type === "classic" ? (o(), r(k, { key: 10 }, [
753
+ e.value.style.chart.layout.labels.hollow.total.show ? (o(), r("text", {
748
754
  key: 0,
749
755
  "text-anchor": "middle",
750
- x: u.value.width / 2,
751
- y: u.value.height / 2 - (e.value.style.chart.layout.labels.hollow.average.show ? e.value.style.chart.layout.labels.hollow.total.fontSize : 0) + e.value.style.chart.layout.labels.hollow.total.offsetY,
756
+ x: s.value.width / 2,
757
+ y: s.value.height / 2 - (e.value.style.chart.layout.labels.hollow.average.show ? e.value.style.chart.layout.labels.hollow.total.fontSize : 0) + e.value.style.chart.layout.labels.hollow.total.offsetY,
752
758
  fill: e.value.style.chart.layout.labels.hollow.total.color,
753
759
  "font-size": e.value.style.chart.layout.labels.hollow.total.fontSize,
754
- style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
755
- }, x(e.value.style.chart.layout.labels.hollow.total.text), 13, wl)) : i("", !0),
756
- e.value.style.chart.layout.labels.hollow.total.show ? (o(), s("text", {
760
+ style: z(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
761
+ }, x(e.value.style.chart.layout.labels.hollow.total.text), 13, Cl)) : i("", !0),
762
+ e.value.style.chart.layout.labels.hollow.total.show ? (o(), r("text", {
757
763
  key: 1,
758
764
  "text-anchor": "middle",
759
- x: u.value.width / 2,
760
- y: u.value.height / 2 + e.value.style.chart.layout.labels.hollow.total.fontSize - (e.value.style.chart.layout.labels.hollow.average.show ? e.value.style.chart.layout.labels.hollow.total.fontSize : 0) + e.value.style.chart.layout.labels.hollow.total.value.offsetY,
765
+ x: s.value.width / 2,
766
+ y: s.value.height / 2 + e.value.style.chart.layout.labels.hollow.total.fontSize - (e.value.style.chart.layout.labels.hollow.average.show ? e.value.style.chart.layout.labels.hollow.total.fontSize : 0) + e.value.style.chart.layout.labels.hollow.total.value.offsetY,
761
767
  fill: e.value.style.chart.layout.labels.hollow.total.value.color,
762
768
  "font-size": e.value.style.chart.layout.labels.hollow.total.value.fontSize,
763
- style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
764
- }, x(n(A)(
769
+ style: z(`font-weight:${e.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
770
+ }, x(u(Y)(
765
771
  e.value.style.chart.layout.labels.hollow.total.value.formatter,
766
772
  S.value,
767
- n(F)({
773
+ u(F)({
768
774
  p: e.value.style.chart.layout.labels.hollow.total.value.prefix,
769
775
  v: S.value,
770
776
  s: e.value.style.chart.layout.labels.hollow.total.value.suffix
771
777
  })
772
- )), 13, kl)) : i("", !0),
773
- e.value.style.chart.layout.labels.hollow.average.show ? (o(), s("text", {
778
+ )), 13, $l)) : i("", !0),
779
+ e.value.style.chart.layout.labels.hollow.average.show ? (o(), r("text", {
774
780
  key: 2,
775
781
  "text-anchor": "middle",
776
- x: u.value.width / 2,
777
- y: u.value.height / 2 + (e.value.style.chart.layout.labels.hollow.total.show ? e.value.style.chart.layout.labels.hollow.average.fontSize : 0) + e.value.style.chart.layout.labels.hollow.average.offsetY,
782
+ x: s.value.width / 2,
783
+ y: s.value.height / 2 + (e.value.style.chart.layout.labels.hollow.total.show ? e.value.style.chart.layout.labels.hollow.average.fontSize : 0) + e.value.style.chart.layout.labels.hollow.average.offsetY,
778
784
  fill: e.value.style.chart.layout.labels.hollow.average.color,
779
785
  "font-size": e.value.style.chart.layout.labels.hollow.average.fontSize,
780
- style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
781
- }, x(e.value.style.chart.layout.labels.hollow.average.text), 13, _l)) : i("", !0),
782
- e.value.style.chart.layout.labels.hollow.average.show ? (o(), s("text", {
786
+ style: z(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
787
+ }, x(e.value.style.chart.layout.labels.hollow.average.text), 13, Pl)) : i("", !0),
788
+ e.value.style.chart.layout.labels.hollow.average.show ? (o(), r("text", {
783
789
  key: 3,
784
790
  "text-anchor": "middle",
785
- x: u.value.width / 2,
786
- y: u.value.height / 2 + (e.value.style.chart.layout.labels.hollow.total.show ? e.value.style.chart.layout.labels.hollow.average.fontSize : 0) + e.value.style.chart.layout.labels.hollow.average.fontSize + e.value.style.chart.layout.labels.hollow.average.value.offsetY,
791
+ x: s.value.width / 2,
792
+ y: s.value.height / 2 + (e.value.style.chart.layout.labels.hollow.total.show ? e.value.style.chart.layout.labels.hollow.average.fontSize : 0) + e.value.style.chart.layout.labels.hollow.average.fontSize + e.value.style.chart.layout.labels.hollow.average.value.offsetY,
787
793
  fill: e.value.style.chart.layout.labels.hollow.average.value.color,
788
794
  "font-size": e.value.style.chart.layout.labels.hollow.average.value.fontSize,
789
- style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
790
- }, x(V.value ? "--" : n(A)(
795
+ style: z(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
796
+ }, x(V.value ? "--" : u(Y)(
791
797
  e.value.style.chart.layout.labels.hollow.average.value.formatter,
792
- Ye.value,
793
- n(F)({
798
+ Ne.value,
799
+ u(F)({
794
800
  p: e.value.style.chart.layout.labels.hollow.average.value.prefix,
795
- v: Ye.value,
801
+ v: Ne.value,
796
802
  s: e.value.style.chart.layout.labels.hollow.average.value.suffix,
797
803
  r: e.value.style.chart.layout.labels.hollow.average.value.rounding
798
804
  })
799
- )), 13, xl)) : i("", !0)
805
+ )), 13, Sl)) : i("", !0)
800
806
  ], 64)) : i("", !0),
801
- (o(!0), s(k, null, X(f.value, (t, a) => (o(), s("g", {
807
+ (o(!0), r(k, null, X(f.value, (t, a) => (o(), r("g", {
802
808
  filter: Z(a),
803
809
  class: ce({ animated: e.value.useCssAnimation })
804
810
  }, [
805
- e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(), s("g", $l, [
806
- (o(), s("foreignObject", {
807
- x: n(b)(t, !0).anchor === "end" ? n(b)(t).x - 120 : n(b)(t, !0).anchor === "middle" ? n(b)(t).x - 60 : n(b)(t).x,
808
- y: n(te)(t) - (Xe.value ? 20 : 0),
811
+ e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(), r("g", Ll, [
812
+ (o(), r("foreignObject", {
813
+ x: u(b)(t, !0).anchor === "end" ? u(b)(t).x - 120 : u(b)(t, !0).anchor === "middle" ? u(b)(t).x - 60 : u(b)(t).x,
814
+ y: u(te)(t) - (Me.value ? 20 : 0),
809
815
  width: "120",
810
816
  height: "60",
811
817
  style: { overflow: "visible" }
@@ -814,143 +820,143 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
814
820
  w(l.$slots, "dataLabel", E(W({
815
821
  datapoint: t,
816
822
  isBlur: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a,
817
- isSafari: Xe.value,
818
- isVisible: z(t) && y.value.dataLabels.show,
819
- textAlign: n(b)(t, !0, 16, !0).anchor,
820
- flexAlign: n(b)(t, !0, 16).anchor,
823
+ isSafari: Me.value,
824
+ isVisible: O(t) && y.value.dataLabels.show,
825
+ textAlign: u(b)(t, !0, 16, !0).anchor,
826
+ flexAlign: u(b)(t, !0, 16).anchor,
821
827
  percentage: ne(t, f.value)
822
828
  })), void 0, !0)
823
829
  ])
824
- ], 8, Pl))
825
- ])) : (o(), s("g", Sl, [
826
- e.value.type === "classic" ? (o(), s(k, { key: 0 }, [
827
- z(t) && y.value.dataLabels.show ? (o(), s("circle", {
830
+ ], 8, Tl))
831
+ ])) : (o(), r("g", zl, [
832
+ e.value.type === "classic" ? (o(), r(k, { key: 0 }, [
833
+ O(t) && y.value.dataLabels.show ? (o(), r("circle", {
828
834
  key: 0,
829
- cx: n(b)(t).x,
830
- cy: n(te)(t) - 3.5,
835
+ cx: u(b)(t).x,
836
+ cy: u(te)(t) - 3.5,
831
837
  fill: t.color,
832
838
  stroke: e.value.style.chart.backgroundColor,
833
839
  "stroke-width": 1,
834
840
  r: 3,
835
841
  filter: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a ? "" : `url(#blur_${_.value})`,
836
- onClick: (v) => B(t, a)
837
- }, null, 8, Fl)) : i("", !0)
842
+ onClick: (v) => M(t, a)
843
+ }, null, 8, Ol)) : i("", !0)
838
844
  ], 64)) : i("", !0),
839
- e.value.type === "polar" ? (o(), s(k, { key: 1 }, [
840
- z(t) && y.value.dataLabels.show ? (o(), s("circle", {
845
+ e.value.type === "polar" ? (o(), r(k, { key: 1 }, [
846
+ O(t) && y.value.dataLabels.show ? (o(), r("circle", {
841
847
  key: 0,
842
- cx: n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
843
- cy: n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y,
848
+ cx: u(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
849
+ cy: u(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y,
844
850
  fill: t.color,
845
851
  stroke: e.value.style.chart.backgroundColor,
846
852
  "stroke-width": 1,
847
853
  r: 3,
848
854
  filter: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a ? "" : `url(#blur_${_.value})`,
849
- onClick: (v) => B(t, a)
850
- }, null, 8, Ll)) : i("", !0)
855
+ onClick: (v) => M(t, a)
856
+ }, null, 8, Yl)) : i("", !0)
851
857
  ], 64)) : i("", !0),
852
- e.value.type === "classic" ? (o(), s(k, { key: 2 }, [
853
- z(t) && y.value.dataLabels.show ? (o(), s("text", {
858
+ e.value.type === "classic" ? (o(), r(k, { key: 2 }, [
859
+ O(t) && y.value.dataLabels.show ? (o(), r("text", {
854
860
  key: 0,
855
- "text-anchor": n(b)(t, !0, 12).anchor,
856
- x: n(b)(t, !0, 12).x,
857
- y: n(te)(t),
861
+ "text-anchor": u(b)(t, !0, 12).anchor,
862
+ x: u(b)(t, !0, 12).x,
863
+ y: u(te)(t),
858
864
  fill: e.value.style.chart.layout.labels.percentage.color,
859
865
  "font-size": e.value.style.chart.layout.labels.percentage.fontSize,
860
- style: Y(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
861
- onClick: (v) => B(t, a)
862
- }, x(ne(t, f.value)) + " " + x(e.value.style.chart.layout.labels.value.show ? `(${n(A)(
866
+ style: z(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
867
+ onClick: (v) => M(t, a)
868
+ }, x(ne(t, f.value)) + " " + x(e.value.style.chart.layout.labels.value.show ? `(${u(Y)(
863
869
  e.value.style.chart.layout.labels.value.formatter,
864
870
  t.value,
865
- n(F)({
871
+ u(F)({
866
872
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
867
873
  v: t.value,
868
874
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
869
875
  r: e.value.style.chart.layout.labels.value.rounding
870
876
  }),
871
877
  { datapoint: t }
872
- )})` : ""), 13, Tl)) : i("", !0),
873
- z(t) && y.value.dataLabels.show ? (o(), s("text", {
878
+ )})` : ""), 13, Al)) : i("", !0),
879
+ O(t) && y.value.dataLabels.show ? (o(), r("text", {
874
880
  key: 1,
875
- "text-anchor": n(b)(t).anchor,
876
- x: n(b)(t, !0, 12).x,
877
- y: n(te)(t) + e.value.style.chart.layout.labels.percentage.fontSize,
881
+ "text-anchor": u(b)(t).anchor,
882
+ x: u(b)(t, !0, 12).x,
883
+ y: u(te)(t) + e.value.style.chart.layout.labels.percentage.fontSize,
878
884
  fill: e.value.style.chart.layout.labels.name.color,
879
885
  "font-size": e.value.style.chart.layout.labels.name.fontSize,
880
- style: Y(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
881
- onClick: (v) => B(t, a)
882
- }, x(t.name), 13, zl)) : i("", !0)
886
+ style: z(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
887
+ onClick: (v) => M(t, a)
888
+ }, x(t.name), 13, Nl)) : i("", !0)
883
889
  ], 64)) : i("", !0),
884
- e.value.type === "polar" ? (o(), s(k, { key: 3 }, [
885
- z(t) && y.value.dataLabels.show ? (o(), s("text", {
890
+ e.value.type === "polar" ? (o(), r(k, { key: 3 }, [
891
+ O(t) && y.value.dataLabels.show ? (o(), r("text", {
886
892
  key: 0,
887
- "text-anchor": R(c.value[a].middlePoint),
888
- x: n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
889
- y: n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y,
893
+ "text-anchor": H(c.value[a].middlePoint),
894
+ x: u(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
895
+ y: u(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y,
890
896
  fill: e.value.style.chart.layout.labels.percentage.color,
891
897
  "font-size": e.value.style.chart.layout.labels.percentage.fontSize,
892
- style: Y(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
893
- onClick: (v) => B(t, a)
894
- }, x(ne(t, f.value)) + " " + x(e.value.style.chart.layout.labels.value.show ? `(${n(A)(
898
+ style: z(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
899
+ onClick: (v) => M(t, a)
900
+ }, x(ne(t, f.value)) + " " + x(e.value.style.chart.layout.labels.value.show ? `(${u(Y)(
895
901
  e.value.style.chart.layout.labels.value.formatter,
896
902
  t.value,
897
- n(F)({
903
+ u(F)({
898
904
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
899
905
  v: t.value,
900
906
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
901
907
  r: e.value.style.chart.layout.labels.value.rounding
902
908
  }),
903
909
  { datapoint: t }
904
- )})` : ""), 13, Yl)) : i("", !0),
905
- z(t) && y.value.dataLabels.show ? (o(), s("text", {
910
+ )})` : ""), 13, Xl)) : i("", !0),
911
+ O(t) && y.value.dataLabels.show ? (o(), r("text", {
906
912
  key: 1,
907
- "text-anchor": R(c.value[a].middlePoint),
908
- x: n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
909
- y: n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y + e.value.style.chart.layout.labels.percentage.fontSize,
913
+ "text-anchor": H(c.value[a].middlePoint),
914
+ x: u(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
915
+ y: u(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y + e.value.style.chart.layout.labels.percentage.fontSize,
910
916
  fill: e.value.style.chart.layout.labels.name.color,
911
917
  "font-size": e.value.style.chart.layout.labels.name.fontSize,
912
- style: Y(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
913
- onClick: (v) => B(t, a)
914
- }, x(t.name), 13, Al)) : i("", !0)
918
+ style: z(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
919
+ onClick: (v) => M(t, a)
920
+ }, x(t.name), 13, Il)) : i("", !0)
915
921
  ], 64)) : i("", !0)
916
922
  ])),
917
- y.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(), s("g", Nl, [
918
- z(t) && e.value.type === "classic" ? (o(), s("foreignObject", {
923
+ y.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(), r("g", Dl, [
924
+ O(t) && e.value.type === "classic" ? (o(), r("foreignObject", {
919
925
  key: 0,
920
- x: e.value.style.chart.comments.offsetX + (n(b)(t, !0).anchor === "end" ? n(b)(t).x - e.value.style.chart.comments.width : n(b)(t, !0).anchor === "middle" ? n(b)(t).x - e.value.style.chart.comments.width / 2 : n(b)(t).x),
921
- y: n(te)(t) + 24 + e.value.style.chart.comments.offsetY,
926
+ x: e.value.style.chart.comments.offsetX + (u(b)(t, !0).anchor === "end" ? u(b)(t).x - e.value.style.chart.comments.width : u(b)(t, !0).anchor === "middle" ? u(b)(t).x - e.value.style.chart.comments.width / 2 : u(b)(t).x),
927
+ y: u(te)(t) + 24 + e.value.style.chart.comments.offsetY,
922
928
  width: e.value.style.chart.comments.width,
923
929
  height: "200",
924
930
  style: { overflow: "visible", "pointer-events": "none" }
925
931
  }, [
926
932
  h("div", null, [
927
933
  w(l.$slots, "plot-comment", {
928
- plot: { ...t, textAlign: n(b)(t, !0, 16, !0).anchor, flexAlign: n(b)(t, !0, 16).anchor }
934
+ plot: { ...t, textAlign: u(b)(t, !0, 16, !0).anchor, flexAlign: u(b)(t, !0, 16).anchor }
929
935
  }, void 0, !0)
930
936
  ])
931
- ], 8, Ol)) : i("", !0),
932
- z(t) && e.value.type === "polar" ? (o(), s("foreignObject", {
937
+ ], 8, Ml)) : i("", !0),
938
+ O(t) && e.value.type === "polar" ? (o(), r("foreignObject", {
933
939
  key: 1,
934
- x: e.value.style.chart.comments.offsetX + (R(c.value[a].middlePoint) === "end" ? n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x - e.value.style.chart.comments.width : R(c.value[a].middlePoint) === "middle" ? n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x - e.value.style.chart.comments.width / 2 : n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x),
935
- y: Qe(c.value[a]) + e.value.style.chart.comments.offsetY,
940
+ x: e.value.style.chart.comments.offsetX + (H(c.value[a].middlePoint) === "end" ? u(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x - e.value.style.chart.comments.width : H(c.value[a].middlePoint) === "middle" ? u(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x - e.value.style.chart.comments.width / 2 : u(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x),
941
+ y: tt(c.value[a]) + e.value.style.chart.comments.offsetY,
936
942
  width: e.value.style.chart.comments.width,
937
943
  height: "200",
938
944
  style: { overflow: "visible", "pointer-events": "none" }
939
945
  }, [
940
946
  h("div", null, [
941
947
  w(l.$slots, "plot-comment", {
942
- plot: { ...t, textAlign: R(c.value[a].middlePoint), flexAlign: R(c.value[a].middlePoint) }
948
+ plot: { ...t, textAlign: H(c.value[a].middlePoint), flexAlign: H(c.value[a].middlePoint) }
943
949
  }, void 0, !0)
944
950
  ])
945
- ], 8, Xl)) : i("", !0)
951
+ ], 8, Bl)) : i("", !0)
946
952
  ])) : i("", !0)
947
- ], 10, Cl))), 256)),
948
- w(l.$slots, "svg", { svg: u.value }, void 0, !0)
949
- ], 14, Dt)) : i("", !0),
950
- l.$slots.watermark ? (o(), s("div", Il, [
951
- w(l.$slots, "watermark", E(W({ isPrinting: n(xe) || n(Ce) })), void 0, !0)
953
+ ], 10, Fl))), 256)),
954
+ w(l.$slots, "svg", { svg: s.value }, void 0, !0)
955
+ ], 14, Gt)) : i("", !0),
956
+ l.$slots.watermark ? (o(), r("div", Vl, [
957
+ w(l.$slots, "watermark", E(W({ isPrinting: u(Pe) || u(Se) })), void 0, !0)
952
958
  ])) : i("", !0),
953
- J.value ? i("", !0) : (o(), G(zt, {
959
+ J.value ? i("", !0) : (o(), G(At, {
954
960
  key: 6,
955
961
  config: {
956
962
  type: "donut",
@@ -967,21 +973,21 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
967
973
  ref_key: "chartLegend",
968
974
  ref: ye
969
975
  }, [
970
- e.value.style.chart.legend.show ? (o(), G(Tt, {
976
+ e.value.style.chart.legend.show ? (o(), G(Yt, {
971
977
  key: `legend_${me.value}`,
972
- legendSet: ze.value,
973
- config: Ke.value,
974
- onClickMarker: r[4] || (r[4] = ({ i: t }) => Te(t))
978
+ legendSet: Ae.value,
979
+ config: et.value,
980
+ onClickMarker: n[4] || (n[4] = ({ i: t }) => Ye(t))
975
981
  }, {
976
982
  item: $(({ legend: t, index: a }) => [
977
983
  h("div", {
978
- style: Y(`opacity:${O.value.includes(a) ? 0.5 : 1}`),
984
+ style: z(`opacity:${N.value.includes(a) ? 0.5 : 1}`),
979
985
  onClick: (v) => t.segregate()
980
986
  }, [
981
- Ge(x(t.name) + ": " + x(n(A)(
987
+ He(x(t.name) + ": " + x(u(Y)(
982
988
  e.value.style.chart.layout.labels.value.formatter,
983
989
  t.value,
984
- n(F)({
990
+ u(F)({
985
991
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
986
992
  v: t.value,
987
993
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -992,22 +998,22 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
992
998
  index: a
993
999
  }
994
1000
  )) + " ", 1),
995
- O.value.includes(a) ? (o(), s("span", Ml, " ( " + x(tt(t.proportion * 100)) + " % ) ", 1)) : (o(), s("span", Bl, " (" + x(isNaN(t.value / S.value) ? "-" : n(A)(
1001
+ N.value.includes(a) ? (o(), r("span", jl, " ( " + x(ot(t.proportion * 100)) + " % ) ", 1)) : (o(), r("span", Ul, " (" + x(isNaN(t.value / S.value) ? "-" : u(Y)(
996
1002
  e.value.style.chart.layout.labels.percentage.formatter,
997
- Ae.value(t),
998
- n(F)({
999
- v: Ae.value(t),
1003
+ Xe.value(t),
1004
+ u(F)({
1005
+ v: Xe.value(t),
1000
1006
  s: "%",
1001
1007
  r: e.value.style.chart.legend.roundingPercentage
1002
1008
  })
1003
1009
  )) + ") ", 1))
1004
- ], 12, Dl)
1010
+ ], 12, Gl)
1005
1011
  ]),
1006
1012
  _: 1
1007
1013
  }, 8, ["legendSet", "config"])) : i("", !0),
1008
- w(l.$slots, "legend", { legend: ze.value }, void 0, !0)
1014
+ w(l.$slots, "legend", { legend: Ae.value }, void 0, !0)
1009
1015
  ], 512),
1010
- l.$slots.source ? (o(), s("div", {
1016
+ l.$slots.source ? (o(), r("div", {
1011
1017
  key: 7,
1012
1018
  ref_key: "source",
1013
1019
  ref: fe,
@@ -1015,7 +1021,7 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
1015
1021
  }, [
1016
1022
  w(l.$slots, "source", {}, void 0, !0)
1017
1023
  ], 512)) : i("", !0),
1018
- Ve(Lt, {
1024
+ je(Ot, {
1019
1025
  show: y.value.showTooltip && ae.value,
1020
1026
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1021
1027
  color: e.value.style.chart.tooltip.color,
@@ -1026,10 +1032,10 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
1026
1032
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
1027
1033
  position: e.value.style.chart.tooltip.position,
1028
1034
  offsetY: e.value.style.chart.tooltip.offsetY,
1029
- parent: H.value,
1035
+ parent: j.value,
1030
1036
  content: se.value,
1031
1037
  isCustom: Q.value,
1032
- isFullscreen: U.value
1038
+ isFullscreen: R.value
1033
1039
  }, {
1034
1040
  "tooltip-before": $(() => [
1035
1041
  w(l.$slots, "tooltip-before", E(W({ ...re.value })), void 0, !0)
@@ -1039,7 +1045,7 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
1039
1045
  ]),
1040
1046
  _: 3
1041
1047
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
1042
- J.value ? (o(), G(Yt, {
1048
+ J.value ? (o(), G(Nt, {
1043
1049
  key: 8,
1044
1050
  hideDetails: "",
1045
1051
  config: {
@@ -1056,34 +1062,34 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
1056
1062
  }
1057
1063
  }, {
1058
1064
  content: $(() => [
1059
- (o(), G(Ft, {
1065
+ (o(), G(zt, {
1060
1066
  key: `table_${be.value}`,
1061
1067
  colNames: oe.value.colNames,
1062
1068
  head: oe.value.head,
1063
1069
  body: oe.value.body,
1064
1070
  config: oe.value.config,
1065
1071
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
1066
- onClose: r[5] || (r[5] = (t) => y.value.showTable = !1)
1072
+ onClose: n[5] || (n[5] = (t) => y.value.showTable = !1)
1067
1073
  }, {
1068
1074
  th: $(({ th: t }) => [
1069
1075
  h("div", {
1070
1076
  innerHTML: t,
1071
1077
  style: { display: "flex", "align-items": "center" }
1072
- }, null, 8, Vl)
1078
+ }, null, 8, Hl)
1073
1079
  ]),
1074
1080
  td: $(({ td: t }) => [
1075
- Ge(x(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : n(A)(
1081
+ He(x(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : u(Y)(
1076
1082
  e.value.style.chart.layout.labels.percentage.formatter,
1077
1083
  t,
1078
- n(F)({
1084
+ u(F)({
1079
1085
  v: t,
1080
1086
  s: "%",
1081
1087
  r: e.value.style.chart.layout.labels.percentage.rounding
1082
1088
  })
1083
- ) : n(A)(
1089
+ ) : u(Y)(
1084
1090
  e.value.style.chart.layout.labels.value.formatter,
1085
1091
  t,
1086
- n(F)({
1092
+ u(F)({
1087
1093
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1088
1094
  v: t,
1089
1095
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -1096,9 +1102,9 @@ const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = [
1096
1102
  ]),
1097
1103
  _: 1
1098
1104
  }, 8, ["config"])) : i("", !0)
1099
- ], 14, It));
1105
+ ], 46, Vt));
1100
1106
  }
1101
- }, aa = /* @__PURE__ */ Ot(Gl, [["__scopeId", "data-v-e317c02f"]]);
1107
+ }, ra = /* @__PURE__ */ Mt(Rl, [["__scopeId", "data-v-d4fdff95"]]);
1102
1108
  export {
1103
- aa as default
1109
+ ra as default
1104
1110
  };