vue-data-ui 2.4.1 → 2.4.2

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 (201) hide show
  1. package/README.md +44 -44
  2. package/dist/{Arrow-DpMf3yPs.cjs → Arrow-DLTRnzcG.cjs} +1 -1
  3. package/dist/{Arrow-BIs_9yK8.js → Arrow-JuK2z9IB.js} +1 -1
  4. package/dist/BaseIcon-BGExhz6v.cjs +1 -0
  5. package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-rRli6Sfv.js} +7 -4
  6. package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DJzhv96s.cjs} +1 -1
  7. package/dist/{DataTable-DL2agEJ3.js → DataTable-DTk7C4Pr.js} +2 -2
  8. package/dist/{Legend-DXLiSLHd.js → Legend-CYF2gpXG.js} +1 -1
  9. package/dist/{Legend-Dj9KiaLv.cjs → Legend-YZ7Hz3o1.cjs} +1 -1
  10. package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-CvCRsT5_.js} +1 -1
  11. package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DVZtsuy4.cjs} +1 -1
  12. package/dist/PenAndPaper-CyXm-yVL.cjs +1 -0
  13. package/dist/PenAndPaper-Jb0pLt3G.js +269 -0
  14. package/dist/{Shape-CO_Ak9Zm.js → Shape-BpPn4eWR.js} +1 -1
  15. package/dist/{Shape-7EC2UKDK.cjs → Shape-X2F-QV_B.cjs} +1 -1
  16. package/dist/{Slicer-CLAVjSQP.cjs → Slicer-CL0tP5a5.cjs} +1 -1
  17. package/dist/{Slicer-BZfUZr1J.js → Slicer-CU7dRZR0.js} +2 -2
  18. package/dist/{Title-DYNLqCCT.js → Title-5VmBwT4i.js} +1 -1
  19. package/dist/{Title-C-lm3Mkl.cjs → Title-Co5jI5ed.cjs} +1 -1
  20. package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-Bl6W8Zn7.cjs} +1 -1
  21. package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cj4EF7v1.js} +1 -1
  22. package/dist/{index-DDXisDKy.js → index-DnVHQ2xI.js} +880 -842
  23. package/dist/index-FfZRtJ6A.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +18 -16
  26. package/dist/types/vue-data-ui.d.ts +18 -16
  27. package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-Cox0K0Y5.js} +1 -1
  28. package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-q7byAAIJ.cjs} +1 -1
  29. package/dist/usePrinter-BCAFeO_J.cjs +1 -0
  30. package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-BEeNAqS5.js} +230 -185
  31. package/dist/vue-data-ui-CRLLZpt0.cjs +9 -0
  32. package/dist/vue-data-ui-W7nnqn0v.js +261 -0
  33. package/dist/vue-data-ui.cjs +1 -1
  34. package/dist/vue-data-ui.js +1 -1
  35. package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BwBrUabe.js} +414 -390
  36. package/dist/vue-ui-3d-bar-bD_n6qL_.cjs +19 -0
  37. package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DspS4q3f.js} +3 -3
  38. package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-xXgqfR2l.cjs} +1 -1
  39. package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +1 -0
  40. package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CxBvm3uM.js} +218 -194
  41. package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-BOofWpzv.js} +1 -1
  42. package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-C6T5_7ZV.cjs} +1 -1
  43. package/dist/vue-ui-bullet-ChaEgXvR.cjs +23 -0
  44. package/dist/vue-ui-bullet-DraC-oFu.js +433 -0
  45. package/dist/vue-ui-candlestick--hPCfMFH.cjs +2 -0
  46. package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DQZ5eT1f.js} +267 -243
  47. package/dist/{vue-ui-carousel-table-C0GDDSW9.cjs → vue-ui-carousel-table-DpRQklDZ.cjs} +1 -1
  48. package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-PdLjpH1p.js} +4 -4
  49. package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-ByI_O5hB.js} +293 -269
  50. package/dist/vue-ui-chestnut-ae6x87wl.cjs +6 -0
  51. package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-BM74l93B.js} +2 -2
  52. package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-BvadpA2m.cjs} +1 -1
  53. package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-CoANBhAM.js} +2 -2
  54. package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-OP51Gs8I.cjs} +1 -1
  55. package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-C7jJJg9k.cjs} +1 -1
  56. package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-DioaBnkB.js} +2 -2
  57. package/dist/vue-ui-donut-CplNylps.cjs +1 -0
  58. package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +1 -0
  59. package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-DAb1xzNd.js} +330 -306
  60. package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-ldqSm_JV.js} +345 -321
  61. package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Dg7PkiKJ.js} +265 -241
  62. package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +9 -0
  63. package/dist/vue-ui-flow-BPt35d5K.cjs +1 -0
  64. package/dist/vue-ui-flow-DKT7ZEnr.js +508 -0
  65. package/dist/vue-ui-galaxy-e06PkTmp.cjs +1 -0
  66. package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-qAA9be3S.js} +193 -169
  67. package/dist/vue-ui-gauge-D8yVTIgP.js +518 -0
  68. package/dist/vue-ui-gauge-DiZVIU0D.cjs +1 -0
  69. package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DC0uUwI3.js} +3 -3
  70. package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-W6bTkg59.cjs} +1 -1
  71. package/dist/vue-ui-heatmap-CbZcv_2I.cjs +1 -0
  72. package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-u1raIzBQ.js} +252 -228
  73. package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-C-iTxMD2.js} +3 -3
  74. package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-DY_2WF7U.cjs} +1 -1
  75. package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-Bfq2MNWu.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-C7x7S0hi.js} +2 -2
  77. package/dist/vue-ui-molecule-BFnOIxxs.js +798 -0
  78. package/dist/vue-ui-molecule-CbKMLrDT.cjs +1 -0
  79. package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +1 -0
  80. package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-CR1v5v2x.js} +263 -239
  81. package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-DEiloQzq.js} +342 -318
  82. package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +17 -0
  83. package/dist/vue-ui-onion-CLvvu4Ku.cjs +5 -0
  84. package/dist/{vue-ui-onion-D9o6Rcgu.js → vue-ui-onion-LsEhBe4x.js} +226 -202
  85. package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +8 -0
  86. package/dist/{vue-ui-parallel-coordinate-plot-BcYrYXhG.js → vue-ui-parallel-coordinate-plot-CTlIjJqG.js} +243 -219
  87. package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-DKVVFufb.js} +350 -326
  88. package/dist/vue-ui-quadrant-OM5J1mG3.cjs +1 -0
  89. package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-8vJikiGH.js} +505 -481
  90. package/dist/vue-ui-quick-chart-gG5Ar8-i.cjs +15 -0
  91. package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-20QhOUer.js} +255 -231
  92. package/dist/vue-ui-radar-CAaHjDO7.cjs +1 -0
  93. package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-Bbzm5nUK.cjs} +1 -1
  94. package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-DRWJsve1.js} +2 -2
  95. package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +1 -0
  96. package/dist/vue-ui-relation-circle-I45_Sk5l.js +349 -0
  97. package/dist/vue-ui-rings-B9WQ7S5m.cjs +2 -0
  98. package/dist/vue-ui-rings-DG8GCi3y.js +593 -0
  99. package/dist/vue-ui-scatter-BZfg1YIN.cjs +1 -0
  100. package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-Hqu5-F2H.js} +369 -345
  101. package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-D8nxd5RV.cjs} +1 -1
  102. package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-cjiqbtLK.js} +1 -1
  103. package/dist/{vue-ui-skeleton-CGV1dEUD.cjs → vue-ui-skeleton-Djv08J67.cjs} +1 -1
  104. package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-aZmkNzAe.js} +3 -3
  105. package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-B1TA19Hv.cjs} +1 -1
  106. package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-ChNvxygm.js} +2 -2
  107. package/dist/{vue-ui-spark-trend-BfoEoJEy.cjs → vue-ui-spark-trend-BqrPr63O.cjs} +1 -1
  108. package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-CQxELQcf.js} +5 -5
  109. package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-0ixbKZzf.js} +4 -4
  110. package/dist/{vue-ui-sparkbar-DB2DeXti.cjs → vue-ui-sparkbar-CrTEPTU5.cjs} +1 -1
  111. package/dist/{vue-ui-sparkgauge-CJepIY2u.cjs → vue-ui-sparkgauge-BYxpe_WV.cjs} +1 -1
  112. package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-pdYb7OwH.js} +4 -4
  113. package/dist/{vue-ui-sparkhistogram-B7B36LLT.cjs → vue-ui-sparkhistogram-D21XDUH2.cjs} +1 -1
  114. package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-N69h2q0U.js} +5 -5
  115. package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-2BKYZMOb.js} +4 -4
  116. package/dist/{vue-ui-sparkline-BcqmwDAb.cjs → vue-ui-sparkline-Cf4m-Fxo.cjs} +1 -1
  117. package/dist/{vue-ui-sparkstackbar-DT3aKNeV.cjs → vue-ui-sparkstackbar-dAS8XoJs.cjs} +1 -1
  118. package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-sh03cuOU.js} +4 -4
  119. package/dist/vue-ui-stackbar-B1si-1RM.js +938 -0
  120. package/dist/vue-ui-stackbar-Dy_saeSe.cjs +6 -0
  121. package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-BYn-QrTQ.js} +274 -250
  122. package/dist/vue-ui-strip-plot-D53LABpZ.cjs +1 -0
  123. package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-Ce4waJaj.cjs} +1 -1
  124. package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-DQORPCDJ.js} +1 -1
  125. package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-Csp7Tx8N.js} +4 -4
  126. package/dist/{vue-ui-table-heatmap-Chvdf2Gi.cjs → vue-ui-table-heatmap-EqHt-O7Y.cjs} +1 -1
  127. package/dist/{vue-ui-table-sparkline-DUUYQ5dH.cjs → vue-ui-table-sparkline-DONmVOMh.cjs} +1 -1
  128. package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-DdwVrfUj.js} +5 -5
  129. package/dist/vue-ui-thermometer-I6ZnlfAv.js +440 -0
  130. package/dist/vue-ui-thermometer-hQBkMa7u.cjs +1 -0
  131. package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-COOXcn14.cjs} +1 -1
  132. package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-pi1SazTU.js} +5 -5
  133. package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +1 -0
  134. package/dist/vue-ui-tiremarks-vdPQYiDp.js +303 -0
  135. package/dist/vue-ui-treemap-3FNUlKxL.js +816 -0
  136. package/dist/vue-ui-treemap-Cv0TSFQa.cjs +1 -0
  137. package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +4 -0
  138. package/dist/{vue-ui-vertical-bar-CieqHVD5.js → vue-ui-vertical-bar-DwxpB46q.js} +312 -288
  139. package/dist/vue-ui-waffle-CKM0QyJN.cjs +1 -0
  140. package/dist/vue-ui-waffle-XecHJIc-.js +782 -0
  141. package/dist/vue-ui-wheel-Bbih5sSL.js +282 -0
  142. package/dist/vue-ui-wheel-C0dJrzOJ.cjs +1 -0
  143. package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +1 -0
  144. package/dist/vue-ui-word-cloud-DnhXUn5x.js +598 -0
  145. package/dist/vue-ui-xy-BDpqVzAq.cjs +3 -0
  146. package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-CqlRuFMc.js} +775 -751
  147. package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-C8c2X5fk.js} +409 -385
  148. package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +9 -0
  149. package/package.json +1 -1
  150. package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
  151. package/dist/index-C7_6YjWN.cjs +0 -9
  152. package/dist/usePrinter-8EP4iaGm.cjs +0 -1
  153. package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
  154. package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
  155. package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
  156. package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
  157. package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
  158. package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
  159. package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
  160. package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
  161. package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
  162. package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
  163. package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
  164. package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
  165. package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
  166. package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
  167. package/dist/vue-ui-gauge-BXiy515T.js +0 -494
  168. package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
  169. package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
  170. package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
  171. package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
  172. package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
  173. package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
  174. package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
  175. package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
  176. package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
  177. package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
  178. package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
  179. package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
  180. package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
  181. package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
  182. package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
  183. package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
  184. package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
  185. package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
  186. package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
  187. package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
  188. package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
  189. package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
  190. package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
  191. package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
  192. package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
  193. package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
  194. package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
  195. package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
  196. package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
  197. package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
  198. package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
  199. package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
  200. package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
  201. package/dist/vue-ui-xy-canvas-DHs5sb3t.cjs +0 -9
@@ -1,26 +1,27 @@
1
- import { computed as k, ref as d, onMounted as Je, onBeforeUnmount as Ke, watch as Oe, openBlock as o, createElementBlock as n, normalizeClass as ie, normalizeStyle as Y, renderSlot as _, createBlock as H, createCommentVNode as v, unref as s, createSlots as Qe, withCtx as S, normalizeProps as Q, guardReactiveProps as Z, createVNode as Ie, createElementVNode as h, Fragment as m, renderList as I, toDisplayString as x, createTextVNode as De, nextTick as Ze, pushScopeId as et, popScopeId as tt } from "vue";
2
- import { u as lt, o as at, e as Ae, g as ot, c as ut, b as st, d as Be, p as V, m as nt, G as rt, f as L, X as it, s as ee, w as vt, j as ct, H as F, i as X, k as b, n as te, t as dt, a as ht, x as yt, q as ft, r as pt } from "./index-DDXisDKy.js";
3
- import { t as gt, u as bt } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as mt } from "./Title-DYNLqCCT.js";
5
- import { u as wt, U as kt } from "./usePrinter-8ofTb2MJ.js";
6
- import { D as _t } from "./DataTable-DL2agEJ3.js";
7
- import { _ as xt } from "./Tooltip-CICAYyQj.js";
8
- import { L as Ct } from "./Legend-DXLiSLHd.js";
9
- import $t from "./vue-ui-skeleton-B2sRnIXX.js";
10
- import Pt from "./vue-ui-accordion-D_1fE5EF.js";
11
- import { u as Me } from "./useNestedProp-S1UXxUgm.js";
12
- import { _ as St } from "./PackageVersion-DtnhR89q.js";
13
- import { _ as Lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = ["xmlns", "viewBox"], Yt = { key: 0 }, Xt = ["id"], Nt = ["stop-color"], Ot = ["offset", "stop-color"], It = ["offset", "stop-color"], Dt = ["stop-color"], At = { key: 1 }, Bt = ["id", "cx", "cy"], Mt = ["stop-color", "stop-opacity"], Gt = ["stop-color"], Vt = ["id"], jt = ["id"], Ht = /* @__PURE__ */ Ft(() => /* @__PURE__ */ h("feColorMatrix", {
1
+ import { computed as _, ref as d, onMounted as Qe, onBeforeUnmount as Ze, watch as Ie, openBlock as o, createElementBlock as n, normalizeClass as ce, normalizeStyle as Y, createBlock as V, createCommentVNode as v, renderSlot as k, unref as s, createSlots as et, withCtx as P, normalizeProps as U, guardReactiveProps as E, createVNode as De, createElementVNode as h, Fragment as m, renderList as O, toDisplayString as x, createTextVNode as Be, nextTick as tt, pushScopeId as lt, popScopeId as at } from "vue";
2
+ import { u as ot, o as ut, e as Me, g as st, c as nt, b as rt, d as Ge, p as j, m as it, G as vt, f as L, X as ct, s as ee, w as dt, j as ht, H as F, i as A, k as b, n as te, t as yt, a as ft, x as pt, q as gt, r as bt } from "./index-DnVHQ2xI.js";
3
+ import { t as mt, u as wt } from "./useResponsive-NZB-WLRF.js";
4
+ import { _ as kt } from "./Title-5VmBwT4i.js";
5
+ import { u as _t, U as xt } from "./usePrinter-BEeNAqS5.js";
6
+ import { D as Ct } from "./DataTable-DTk7C4Pr.js";
7
+ import { _ as $t } from "./Tooltip-Cj4EF7v1.js";
8
+ import { L as Pt } from "./Legend-CYF2gpXG.js";
9
+ import St from "./vue-ui-skeleton-aZmkNzAe.js";
10
+ import Lt from "./vue-ui-accordion-DspS4q3f.js";
11
+ import { u as Ve } from "./useNestedProp-Cox0K0Y5.js";
12
+ import { _ as Ft } from "./PackageVersion-CvCRsT5_.js";
13
+ import { P as Tt } from "./PenAndPaper-Jb0pLt3G.js";
14
+ import { _ as zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = ["xmlns", "viewBox"], Nt = { key: 0 }, Ot = ["id"], It = ["stop-color"], Dt = ["offset", "stop-color"], Bt = ["offset", "stop-color"], Mt = ["stop-color"], Gt = { key: 1 }, Vt = ["id", "cx", "cy"], jt = ["stop-color", "stop-opacity"], Ht = ["stop-color"], Rt = ["id"], Ut = ["id"], Et = /* @__PURE__ */ Yt(() => /* @__PURE__ */ h("feColorMatrix", {
15
16
  type: "saturate",
16
17
  values: "0"
17
- }, null, -1)), Rt = ["id"], Ut = ["flood-color"], Et = ["id"], Wt = ["flood-color"], qt = ["d", "stroke", "filter"], Jt = ["x1", "y1", "x2", "y2", "stroke", "filter"], Kt = ["cx", "cy", "r", "fill", "filter"], Qt = ["stroke", "d"], Zt = ["d", "fill", "stroke", "stroke-width", "filter"], el = { key: 0 }, tl = ["stroke", "d"], ll = { key: 0 }, al = ["d", "stroke", "stroke-width", "filter"], ol = ["d", "fill", "stroke", "stroke-width", "filter"], ul = { key: 1 }, sl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], nl = ["cx", "cy", "r", "stroke"], rl = ["cx", "cy", "r", "fill"], il = { key: 0 }, vl = ["d", "fill", "onMouseenter", "onClick"], cl = { key: 1 }, dl = ["cx", "cy", "r", "fill"], hl = ["x", "y", "fill", "font-size"], yl = ["x", "y", "fill", "font-size"], fl = ["x", "y", "fill", "font-size"], pl = ["x", "y", "fill", "font-size"], gl = ["filter"], bl = { key: 0 }, ml = ["x", "y"], wl = { key: 1 }, kl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], _l = ["cx", "cy", "fill", "stroke", "filter", "onClick"], xl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Cl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], $l = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Pl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Sl = { key: 2 }, Ll = ["x", "y", "width"], Fl = ["x", "y", "width"], zl = {
18
- key: 3,
18
+ }, null, -1)), Wt = ["id"], qt = ["flood-color"], Jt = ["id"], Kt = ["flood-color"], Qt = ["d", "stroke", "filter"], Zt = ["x1", "y1", "x2", "y2", "stroke", "filter"], el = ["cx", "cy", "r", "fill", "filter"], tl = ["stroke", "d"], ll = ["d", "fill", "stroke", "stroke-width", "filter"], al = { key: 0 }, ol = ["stroke", "d"], ul = { key: 0 }, sl = ["d", "stroke", "stroke-width", "filter"], nl = ["d", "fill", "stroke", "stroke-width", "filter"], rl = { key: 1 }, il = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], vl = ["cx", "cy", "r", "stroke"], cl = ["cx", "cy", "r", "fill"], dl = { key: 0 }, hl = ["d", "fill", "onMouseenter", "onClick"], yl = { key: 1 }, fl = ["cx", "cy", "r", "fill"], pl = ["x", "y", "fill", "font-size"], gl = ["x", "y", "fill", "font-size"], bl = ["x", "y", "fill", "font-size"], ml = ["x", "y", "fill", "font-size"], wl = ["filter"], kl = { key: 0 }, _l = ["x", "y"], xl = { key: 1 }, Cl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], $l = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Pl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Sl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Ll = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Fl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Tl = { key: 2 }, zl = ["x", "y", "width"], Yl = ["x", "y", "width"], Al = {
19
+ key: 4,
19
20
  class: "vue-data-ui-watermark"
20
- }, Tl = ["onClick"], Yl = {
21
+ }, Xl = ["onClick"], Nl = {
21
22
  key: 0,
22
23
  style: { "font-variant-numeric": "tabular-nums" }
23
- }, Xl = { key: 1 }, Nl = ["innerHTML"], Ol = {
24
+ }, Ol = { key: 1 }, Il = ["innerHTML"], Dl = {
24
25
  __name: "vue-ui-donut",
25
26
  props: {
26
27
  config: {
@@ -37,30 +38,30 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
37
38
  }
38
39
  },
39
40
  emits: ["selectLegend", "selectDatapoint"],
40
- setup(R, { expose: Ge, emit: ve }) {
41
- const N = R, { vue_ui_donut: Ve } = lt(), U = k({
41
+ setup(W, { expose: je, emit: de }) {
42
+ const X = W, { vue_ui_donut: He } = ot(), q = _({
42
43
  get() {
43
- return !!N.dataset && N.dataset.length;
44
+ return !!X.dataset && X.dataset.length;
44
45
  },
45
46
  set(l) {
46
47
  return l;
47
48
  }
48
- }), E = d(null), ce = d(null), de = d(null), le = d(null), he = d(0), ye = d(0), fe = d(0);
49
- Je(() => {
50
- pe();
51
- }), Ke(() => {
49
+ }), H = d(null), he = d(null), ye = d(null), le = d(null), fe = d(0), pe = d(0), ge = d(0);
50
+ Qe(() => {
51
+ be();
52
+ }), Ze(() => {
52
53
  le.value && le.value.disconnect();
53
54
  });
54
- function pe() {
55
- if (at(N.dataset) ? Ae({
55
+ function be() {
56
+ if (ut(X.dataset) ? Me({
56
57
  componentName: "VueUiDonut",
57
58
  type: "dataset"
58
- }) : N.dataset.forEach((l, r) => {
59
- ot({
59
+ }) : X.dataset.forEach((l, r) => {
60
+ st({
60
61
  datasetObject: l,
61
62
  requiredAttributes: ["name", "values"]
62
63
  }).forEach((t) => {
63
- U.value = !1, Ae({
64
+ q.value = !1, Me({
64
65
  componentName: "VueUiDonut",
65
66
  type: "datasetSerieAttribute",
66
67
  property: t,
@@ -68,42 +69,42 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
68
69
  });
69
70
  });
70
71
  }), e.value.responsive) {
71
- const l = gt(() => {
72
- const { width: r, height: t } = bt({
73
- chart: E.value,
74
- title: e.value.style.chart.title.text ? ce.value : null,
75
- legend: e.value.style.chart.legend.show ? de.value : null
72
+ const l = mt(() => {
73
+ const { width: r, height: t } = wt({
74
+ chart: H.value,
75
+ title: e.value.style.chart.title.text ? he.value : null,
76
+ legend: e.value.style.chart.legend.show ? ye.value : null
76
77
  });
77
78
  u.value.width = r, u.value.height = t;
78
79
  });
79
- le.value = new ResizeObserver(l), le.value.observe(E.value.parentNode);
80
+ le.value = new ResizeObserver(l), le.value.observe(H.value.parentNode);
80
81
  }
81
82
  }
82
- const w = d(ut()), je = d(null), ae = d(!1), ue = d(""), P = d(null), ge = d(0);
83
- function be() {
84
- const l = Me({
85
- userConfig: N.config,
86
- defaultConfig: Ve
83
+ const w = d(nt()), Re = d(null), ae = d(!1), se = d(""), S = d(null), me = d(0);
84
+ function we() {
85
+ const l = Ve({
86
+ userConfig: X.config,
87
+ defaultConfig: He
87
88
  });
88
89
  return l.theme ? {
89
- ...Me({
90
- userConfig: dt.vue_ui_donut[l.theme] || N.config,
90
+ ...Ve({
91
+ userConfig: yt.vue_ui_donut[l.theme] || X.config,
91
92
  defaultConfig: l
92
93
  }),
93
- customPalette: ht[l.theme] || V
94
+ customPalette: ft[l.theme] || j
94
95
  } : l;
95
96
  }
96
- const e = k({
97
- get: () => be(),
97
+ const e = _({
98
+ get: () => we(),
98
99
  set: (l) => l
99
100
  });
100
- Oe(() => N.config, (l) => {
101
- e.value = be(), pe(), he.value += 1, ye.value += 1, fe.value += 1;
101
+ Ie(() => X.config, (l) => {
102
+ e.value = we(), be(), fe.value += 1, pe.value += 1, ge.value += 1;
102
103
  }, { deep: !0 });
103
- const { isPrinting: me, isImaging: we, generatePdf: ke, generateImage: _e } = wt({
104
+ const { isPrinting: ke, isImaging: _e, generatePdf: xe, generateImage: Ce } = _t({
104
105
  elementId: `donut__${w.value}`,
105
106
  fileName: e.value.style.chart.title.text || "vue-ui-donut"
106
- }), xe = k(() => st(e.value.customPalette)), y = d({
107
+ }), $e = _(() => rt(e.value.customPalette)), y = d({
107
108
  dataLabels: {
108
109
  show: e.value.style.chart.layout.labels.dataLabels.show
109
110
  },
@@ -112,92 +113,92 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
112
113
  }), u = d({
113
114
  height: 360,
114
115
  width: 512
115
- }), W = k(() => {
116
+ }), J = _(() => {
116
117
  const l = e.value.style.chart.layout.donut.strokeWidth / 512, r = u.value.width * l, t = r > C.value ? C.value : r;
117
118
  return t < 24 ? 24 : t;
118
- }), M = k(() => N.dataset.map((l, r) => ({
119
+ }), M = _(() => X.dataset.map((l, r) => ({
119
120
  name: l.name,
120
- color: Be(l.color) || xe.value[r] || V[r] || V[r % V.length],
121
+ color: Ge(l.color) || $e.value[r] || j[r] || j[r % j.length],
121
122
  value: l.values.reduce((t, a) => t + a, 0),
122
123
  absoluteValues: l.values,
123
124
  comment: l.comment || ""
124
- }))), z = d(M.value);
125
- Oe(() => M.value, (l) => z.value = l);
126
- function He() {
125
+ }))), T = d(M.value);
126
+ Ie(() => M.value, (l) => T.value = l);
127
+ function Ue() {
127
128
  return M.value.map((l) => ({
128
129
  name: l.name,
129
130
  color: l.color,
130
131
  value: l.value
131
132
  }));
132
133
  }
133
- const O = d([]), Ce = d(null), $e = d(null), G = d(!1);
134
- function Pe(l) {
134
+ const N = d([]), Pe = d(null), Se = d(null), G = d(!1);
135
+ function Le(l) {
135
136
  const r = M.value.find((i, g) => g === l);
136
- let a = z.value.find((i, g) => g === l).value;
137
- if (O.value.includes(l)) {
137
+ let a = T.value.find((i, g) => g === l).value;
138
+ if (N.value.includes(l)) {
138
139
  let g = function() {
139
- a > i ? (cancelAnimationFrame(Ce.value), z.value = z.value.map((p, re) => l === re ? {
140
+ a > i ? (cancelAnimationFrame(Pe.value), T.value = T.value.map((p, ve) => l === ve ? {
140
141
  ...p,
141
142
  value: i
142
- } : p), G.value = !1) : (G.value = !0, a += i * 0.025, z.value = z.value.map((p, re) => l === re ? {
143
+ } : p), G.value = !1) : (G.value = !0, a += i * 0.025, T.value = T.value.map((p, ve) => l === ve ? {
143
144
  ...p,
144
145
  value: a
145
- } : p), Ce.value = requestAnimationFrame(g));
146
+ } : p), Pe.value = requestAnimationFrame(g));
146
147
  };
147
- O.value = O.value.filter((p) => p !== l);
148
+ N.value = N.value.filter((p) => p !== l);
148
149
  const i = r.value;
149
150
  g();
150
- } else if (O.value.length < M.value.length - 1) {
151
+ } else if (N.value.length < M.value.length - 1) {
151
152
  let i = function() {
152
- a < 0.1 ? (cancelAnimationFrame($e.value), O.value.push(l), z.value = z.value.map((g, p) => l === p ? {
153
+ a < 0.1 ? (cancelAnimationFrame(Se.value), N.value.push(l), T.value = T.value.map((g, p) => l === p ? {
153
154
  ...g,
154
155
  value: 0
155
- } : g), G.value = !1) : (G.value = !0, a /= 1.1, z.value = z.value.map((g, p) => l === p ? {
156
+ } : g), G.value = !1) : (G.value = !0, a /= 1.1, T.value = T.value.map((g, p) => l === p ? {
156
157
  ...g,
157
158
  value: a
158
- } : g), $e.value = requestAnimationFrame(i));
159
+ } : g), Se.value = requestAnimationFrame(i));
159
160
  };
160
161
  i();
161
162
  }
162
- ve("selectLegend", D.value.map((i) => ({
163
+ de("selectLegend", I.value.map((i) => ({
163
164
  name: i.name,
164
165
  color: i.color,
165
166
  value: i.value
166
167
  })));
167
168
  }
168
- const D = k(() => (z.value.forEach((l, r) => {
169
+ const I = _(() => (T.value.forEach((l, r) => {
169
170
  if ([null, void 0].includes(l.values))
170
171
  return {
171
172
  ...l,
172
173
  values: []
173
174
  };
174
- }), z.value.map((l, r) => ({
175
+ }), T.value.map((l, r) => ({
175
176
  ...l,
176
177
  seriesIndex: r
177
- })).filter((l, r) => !O.value.includes(r)))), Se = k(() => N.dataset.map((l, r) => ({
178
+ })).filter((l, r) => !N.value.includes(r)))), Fe = _(() => X.dataset.map((l, r) => ({
178
179
  name: l.name,
179
- color: Be(l.color) || xe.value[r] || V[r] || V[r % V.length],
180
+ color: Ge(l.color) || $e.value[r] || j[r] || j[r % j.length],
180
181
  value: (l.values || []).reduce((t, a) => t + a, 0),
181
182
  shape: "circle"
182
183
  })).map((l, r) => ({
183
184
  ...l,
184
- proportion: l.value / N.dataset.map((t) => (t.values || []).reduce((a, i) => a + i, 0)).reduce((t, a) => t + a, 0),
185
- opacity: O.value.includes(r) ? 0.5 : 1,
186
- segregate: () => Pe(r),
187
- isSegregated: O.value.includes(r)
188
- }))), Re = k(() => ({
185
+ proportion: l.value / X.dataset.map((t) => (t.values || []).reduce((a, i) => a + i, 0)).reduce((t, a) => t + a, 0),
186
+ opacity: N.value.includes(r) ? 0.5 : 1,
187
+ segregate: () => Le(r),
188
+ isSegregated: N.value.includes(r)
189
+ }))), Ee = _(() => ({
189
190
  cy: "donut-div-legend",
190
191
  backgroundColor: e.value.style.chart.legend.backgroundColor,
191
192
  color: e.value.style.chart.legend.color,
192
193
  fontSize: e.value.style.chart.legend.fontSize,
193
194
  paddingBottom: 12,
194
195
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
195
- })), C = k(() => {
196
+ })), C = _(() => {
196
197
  const l = Math.min(u.value.width / 3, u.value.height / 3);
197
198
  return l < 55 ? 55 : l;
198
- }), f = k(() => nt({ series: D.value }, u.value.width / 2, u.value.height / 2, C.value, C.value, 1.99999, 2, 1, 360, 105.25, W.value)), c = k(() => {
199
- const l = Math.max(...D.value.map((t) => t.value)), r = D.value.map((t) => t.value / l);
200
- return rt({
199
+ }), f = _(() => it({ series: I.value }, u.value.width / 2, u.value.height / 2, C.value, C.value, 1.99999, 2, 1, 360, 105.25, J.value)), c = _(() => {
200
+ const l = Math.max(...I.value.map((t) => t.value)), r = I.value.map((t) => t.value / l);
201
+ return vt({
201
202
  series: r,
202
203
  center: {
203
204
  x: u.value.width / 2,
@@ -206,18 +207,18 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
206
207
  maxRadius: Math.min(u.value.width, u.value.height) / 3
207
208
  });
208
209
  });
209
- function j(l) {
210
+ function R(l) {
210
211
  return l.x > u.value.width / 2 + 6 ? "start" : l.x < u.value.width / 2 - 6 ? "end" : "middle";
211
212
  }
212
- function Ue(l) {
213
+ function We(l) {
213
214
  return l.middlePoint.y > u.value.height / 2 ? F({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 100, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y : F({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 0, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y - 100;
214
215
  }
215
- function T(l) {
216
+ function z(l) {
216
217
  return l.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
217
218
  }
218
- function se(l, r) {
219
- const t = l.value / Ee(r);
220
- return isNaN(t) ? 0 : X(
219
+ function ne(l, r) {
220
+ const t = l.value / qe(r);
221
+ return isNaN(t) ? 0 : A(
221
222
  e.value.style.chart.layout.labels.percentage.formatter,
222
223
  t * 100,
223
224
  L({
@@ -228,15 +229,15 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
228
229
  { datapoint: l }
229
230
  );
230
231
  }
231
- function Ee(l) {
232
+ function qe(l) {
232
233
  return [...l].map((r) => r.value).reduce((r, t) => r + t, 0);
233
234
  }
234
- const $ = k(() => D.value.map((l) => l.value).reduce((l, r) => l + r, 0)), Le = k(() => $.value / D.value.length), ne = d(null), q = d(!1);
235
- function Fe({ datapoint: l, relativeIndex: r, seriesIndex: t, show: a = !1 }) {
236
- ne.value = { datapoint: l, seriesIndex: t, config: e.value, series: M.value }, ae.value = a, P.value = r;
235
+ const $ = _(() => I.value.map((l) => l.value).reduce((l, r) => l + r, 0)), Te = _(() => $.value / I.value.length), re = d(null), K = d(!1);
236
+ function ze({ datapoint: l, relativeIndex: r, seriesIndex: t, show: a = !1 }) {
237
+ re.value = { datapoint: l, seriesIndex: t, config: e.value, series: M.value }, ae.value = a, S.value = r;
237
238
  let i = "";
238
239
  const g = e.value.style.chart.tooltip.customFormat;
239
- if (q.value = !1, yt(g))
240
+ if (K.value = !1, pt(g))
240
241
  try {
241
242
  const p = g({
242
243
  seriesIndex: t,
@@ -244,12 +245,12 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
244
245
  series: M.value,
245
246
  config: e.value
246
247
  });
247
- typeof p == "string" && (ue.value = p, q.value = !0);
248
+ typeof p == "string" && (se.value = p, K.value = !0);
248
249
  } catch {
249
- console.warn("Custom format cannot be applied."), q.value = !1;
250
+ console.warn("Custom format cannot be applied."), K.value = !1;
250
251
  }
251
- if (!q.value) {
252
- if (i += `<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>`, i += `<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 && (i += `<b>${X(
252
+ if (!K.value) {
253
+ if (i += `<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>`, i += `<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 && (i += `<b>${A(
253
254
  e.value.style.chart.layout.labels.value.formatter,
254
255
  l.value,
255
256
  L({
@@ -264,7 +265,7 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
264
265
  seriesIndex: t
265
266
  }
266
267
  )}</b>`), e.value.style.chart.tooltip.showPercentage) {
267
- const p = X(
268
+ const p = A(
268
269
  e.value.style.chart.layout.labels.percentage.formatter,
269
270
  l.proportion * 100,
270
271
  L({
@@ -280,41 +281,41 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
280
281
  );
281
282
  e.value.style.chart.tooltip.showValue ? i += `<span>(${p})</span></div>` : i += `<b>${p}</b></div>`;
282
283
  }
283
- e.value.style.chart.comments.showInTooltip && l.comment && (i += `<div class="vue-data-ui-tooltip-comment" style="background:${l.color}20; padding: 6px; margin-bottom: 6px; margin-top:6px; border-left: 1px solid ${l.color}">${l.comment}</div>`), ue.value = `<div>${i}</div>`;
284
+ e.value.style.chart.comments.showInTooltip && l.comment && (i += `<div class="vue-data-ui-tooltip-comment" style="background:${l.color}20; padding: 6px; margin-bottom: 6px; margin-top:6px; border-left: 1px solid ${l.color}">${l.comment}</div>`), se.value = `<div>${i}</div>`;
284
285
  }
285
286
  }
286
- function J(l) {
287
- return e.value.useBlurOnHover && ![null, void 0].includes(P.value) && P.value !== l ? `url(#blur_${w.value})` : "";
287
+ function Q(l) {
288
+ return e.value.useBlurOnHover && ![null, void 0].includes(S.value) && S.value !== l ? `url(#blur_${w.value})` : "";
288
289
  }
289
- const A = k(() => {
290
- const l = D.value.map((t) => ({
290
+ const D = _(() => {
291
+ const l = I.value.map((t) => ({
291
292
  name: t.name,
292
293
  color: t.color
293
- })), r = D.value.map((t) => t.value);
294
+ })), r = I.value.map((t) => t.value);
294
295
  return { head: l, body: r };
295
296
  });
296
- function ze() {
297
- Ze(() => {
298
- const l = A.value.head.map((a, i) => [[
297
+ function Ye() {
298
+ tt(() => {
299
+ const l = D.value.head.map((a, i) => [[
299
300
  a.name
300
- ], [A.value.body[i]], [isNaN(A.value.body[i] / $.value) ? "-" : A.value.body[i] / $.value * 100]]), r = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), t = ft(r);
301
- pt({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-donut" });
301
+ ], [D.value.body[i]], [isNaN(D.value.body[i] / $.value) ? "-" : D.value.body[i] / $.value * 100]]), r = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), t = gt(r);
302
+ bt({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-donut" });
302
303
  });
303
304
  }
304
- const oe = k(() => {
305
+ const oe = _(() => {
305
306
  const l = [
306
307
  ' <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>',
307
308
  L({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: $.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
308
309
  "100%"
309
- ], r = A.value.head.map((i, g) => {
310
- const p = L({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: A.value.body[g], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
310
+ ], r = D.value.head.map((i, g) => {
311
+ const p = L({ 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 });
311
312
  return [
312
313
  {
313
314
  color: i.color,
314
315
  name: i.name
315
316
  },
316
317
  p,
317
- isNaN(A.value.body[g] / $.value) ? "-" : (A.value.body[g] / $.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
318
+ isNaN(D.value.body[g] / $.value) ? "-" : (D.value.body[g] / $.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
318
319
  ];
319
320
  }), t = {
320
321
  th: {
@@ -339,50 +340,63 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
339
340
  body: r,
340
341
  config: t
341
342
  };
342
- }), K = d(!1);
343
- function We(l) {
344
- K.value = l, ge.value += 1;
343
+ }), Z = d(!1);
344
+ function Je(l) {
345
+ Z.value = l, me.value += 1;
345
346
  }
346
- const Te = k(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
347
- function qe(l) {
347
+ const Ae = _(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
348
+ function Ke(l) {
348
349
  return l.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((r) => "-").join("");
349
350
  }
350
351
  function B(l, r) {
351
- ve("selectDatapoint", { datapoint: l, index: r });
352
+ de("selectDatapoint", { datapoint: l, index: r });
352
353
  }
353
- function Ye() {
354
+ function Xe() {
354
355
  y.value.showTable = !y.value.showTable;
355
356
  }
356
- function Xe() {
357
+ function Ne() {
357
358
  y.value.dataLabels.show = !y.value.dataLabels.show;
358
359
  }
359
- function Ne() {
360
+ function Oe() {
360
361
  y.value.showTooltip = !y.value.showTooltip;
361
362
  }
362
- return Ge({
363
- getData: He,
364
- generatePdf: ke,
365
- generateCsv: ze,
366
- generateImage: _e,
367
- toggleTable: Ye,
368
- toggleLabels: Xe,
369
- toggleTooltip: Ne
363
+ const ue = d(!1);
364
+ function ie() {
365
+ ue.value = !ue.value;
366
+ }
367
+ return je({
368
+ getData: Ue,
369
+ generatePdf: xe,
370
+ generateCsv: Ye,
371
+ generateImage: Ce,
372
+ toggleTable: Xe,
373
+ toggleLabels: Ne,
374
+ toggleTooltip: Oe,
375
+ toggleAnnotator: ie
370
376
  }), (l, r) => (o(), n("div", {
371
377
  ref_key: "donutChart",
372
- ref: E,
373
- class: ie(`vue-ui-donut ${K.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
378
+ ref: H,
379
+ class: ce(`vue-ui-donut ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
374
380
  style: Y(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
375
381
  id: `donut__${w.value}`
376
382
  }, [
377
- _(l.$slots, "userConfig", {}, void 0, !0),
378
- e.value.style.chart.title.text ? (o(), n("div", {
383
+ e.value.userOptions.buttons.annotator ? (o(), V(Tt, {
379
384
  key: 0,
385
+ parent: H.value,
386
+ backgroundColor: e.value.style.chart.backgroundColor,
387
+ color: e.value.style.chart.color,
388
+ active: ue.value,
389
+ onClose: ie
390
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : v("", !0),
391
+ k(l.$slots, "userConfig", {}, void 0, !0),
392
+ e.value.style.chart.title.text ? (o(), n("div", {
393
+ key: 1,
380
394
  ref_key: "chartTitle",
381
- ref: ce,
395
+ ref: he,
382
396
  style: "width:100%;background:transparent;padding-bottom:24px"
383
397
  }, [
384
- (o(), H(mt, {
385
- key: `title_${he.value}`,
398
+ (o(), V(kt, {
399
+ key: `title_${fe.value}`,
386
400
  config: {
387
401
  title: {
388
402
  cy: "donut-div-title",
@@ -395,14 +409,14 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
395
409
  }
396
410
  }, null, 8, ["config"]))
397
411
  ], 512)) : v("", !0),
398
- e.value.userOptions.show && U.value ? (o(), H(kt, {
412
+ e.value.userOptions.show && q.value ? (o(), V(xt, {
399
413
  ref_key: "details",
400
- ref: je,
401
- key: `user_option_${ge.value}`,
414
+ ref: Re,
415
+ key: `user_option_${me.value}`,
402
416
  backgroundColor: e.value.style.chart.backgroundColor,
403
417
  color: e.value.style.chart.color,
404
- isPrinting: s(me),
405
- isImaging: s(we),
418
+ isPrinting: s(ke),
419
+ isImaging: s(_e),
406
420
  uid: w.value,
407
421
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
408
422
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -411,78 +425,88 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
411
425
  hasTable: e.value.userOptions.buttons.table,
412
426
  hasLabel: e.value.userOptions.buttons.labels,
413
427
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
414
- isFullscreen: K.value,
415
- chartElement: E.value,
428
+ isFullscreen: Z.value,
429
+ chartElement: H.value,
416
430
  position: e.value.userOptions.position,
417
431
  isTooltip: y.value.showTooltip,
418
432
  titles: { ...e.value.userOptions.buttonTitles },
419
- onToggleFullscreen: We,
420
- onGeneratePdf: s(ke),
421
- onGenerateCsv: ze,
422
- onGenerateImage: s(_e),
423
- onToggleTable: Ye,
424
- onToggleLabels: Xe,
425
- onToggleTooltip: Ne
426
- }, Qe({ _: 2 }, [
433
+ hasAnnotator: e.value.userOptions.buttons.annotator,
434
+ isAnnotation: ue.value,
435
+ onToggleFullscreen: Je,
436
+ onGeneratePdf: s(xe),
437
+ onGenerateCsv: Ye,
438
+ onGenerateImage: s(Ce),
439
+ onToggleTable: Xe,
440
+ onToggleLabels: Ne,
441
+ onToggleTooltip: Oe,
442
+ onToggleAnnotator: ie
443
+ }, et({ _: 2 }, [
427
444
  l.$slots.optionTooltip ? {
428
445
  name: "optionTooltip",
429
- fn: S(() => [
430
- _(l.$slots, "optionTooltip", {}, void 0, !0)
446
+ fn: P(() => [
447
+ k(l.$slots, "optionTooltip", {}, void 0, !0)
431
448
  ]),
432
449
  key: "0"
433
450
  } : void 0,
434
451
  l.$slots.optionPdf ? {
435
452
  name: "optionPdf",
436
- fn: S(() => [
437
- _(l.$slots, "optionPdf", {}, void 0, !0)
453
+ fn: P(() => [
454
+ k(l.$slots, "optionPdf", {}, void 0, !0)
438
455
  ]),
439
456
  key: "1"
440
457
  } : void 0,
441
458
  l.$slots.optionCsv ? {
442
459
  name: "optionCsv",
443
- fn: S(() => [
444
- _(l.$slots, "optionCsv", {}, void 0, !0)
460
+ fn: P(() => [
461
+ k(l.$slots, "optionCsv", {}, void 0, !0)
445
462
  ]),
446
463
  key: "2"
447
464
  } : void 0,
448
465
  l.$slots.optionImg ? {
449
466
  name: "optionImg",
450
- fn: S(() => [
451
- _(l.$slots, "optionImg", {}, void 0, !0)
467
+ fn: P(() => [
468
+ k(l.$slots, "optionImg", {}, void 0, !0)
452
469
  ]),
453
470
  key: "3"
454
471
  } : void 0,
455
472
  l.$slots.optionTable ? {
456
473
  name: "optionTable",
457
- fn: S(() => [
458
- _(l.$slots, "optionTable", {}, void 0, !0)
474
+ fn: P(() => [
475
+ k(l.$slots, "optionTable", {}, void 0, !0)
459
476
  ]),
460
477
  key: "4"
461
478
  } : void 0,
462
479
  l.$slots.optionLabels ? {
463
480
  name: "optionLabels",
464
- fn: S(() => [
465
- _(l.$slots, "optionLabels", {}, void 0, !0)
481
+ fn: P(() => [
482
+ k(l.$slots, "optionLabels", {}, void 0, !0)
466
483
  ]),
467
484
  key: "5"
468
485
  } : void 0,
469
486
  l.$slots.optionFullscreen ? {
470
487
  name: "optionFullscreen",
471
- fn: S(({ toggleFullscreen: t, isFullscreen: a }) => [
472
- _(l.$slots, "optionFullscreen", Q(Z({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
488
+ fn: P(({ toggleFullscreen: t, isFullscreen: a }) => [
489
+ k(l.$slots, "optionFullscreen", U(E({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
473
490
  ]),
474
491
  key: "6"
492
+ } : void 0,
493
+ l.$slots.optionAnnotator ? {
494
+ name: "optionAnnotator",
495
+ fn: P(({ toggleAnnotator: t, isAnnotator: a }) => [
496
+ k(l.$slots, "optionAnnotator", U(E({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
497
+ ]),
498
+ key: "7"
475
499
  } : void 0
476
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "onGeneratePdf", "onGenerateImage"])) : v("", !0),
477
- U.value ? (o(), n("svg", {
478
- key: 2,
479
- xmlns: s(it),
480
- class: ie({ "vue-data-ui-fullscreen--on": K.value, "vue-data-ui-fulscreen--off": !K.value }),
500
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : v("", !0),
501
+ q.value ? (o(), n("svg", {
502
+ key: 3,
503
+ xmlns: s(ct),
504
+ class: ce({ "vue-data-ui-fullscreen--on": Z.value, "vue-data-ui-fulscreen--off": !Z.value }),
481
505
  viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
482
506
  style: Y(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
483
507
  }, [
484
- Ie(St),
485
- e.value.type === "classic" ? (o(), n("defs", Yt, [
508
+ De(Ft),
509
+ e.value.type === "classic" ? (o(), n("defs", Nt, [
486
510
  e.value.style.chart.useGradient ? (o(), n("radialGradient", {
487
511
  key: 0,
488
512
  id: `gradient_${w.value}`
@@ -491,25 +515,25 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
491
515
  offset: "0%",
492
516
  "stop-color": s(ee)(e.value.style.chart.backgroundColor, 0),
493
517
  "stop-opacity": "0"
494
- }, null, 8, Nt),
518
+ }, null, 8, It),
495
519
  h("stop", {
496
- offset: `${(1 - W.value / C.value) * 100}%`,
520
+ offset: `${(1 - J.value / C.value) * 100}%`,
497
521
  "stop-color": s(ee)("#FFFFFF", 0),
498
522
  "stop-opacity": "0"
499
- }, null, 8, Ot),
523
+ }, null, 8, Dt),
500
524
  h("stop", {
501
- offset: `${(1 - W.value / C.value / 2) * 100}%`,
525
+ offset: `${(1 - J.value / C.value / 2) * 100}%`,
502
526
  "stop-color": s(ee)("#FFFFFF", e.value.style.chart.gradientIntensity)
503
- }, null, 8, It),
527
+ }, null, 8, Bt),
504
528
  h("stop", {
505
529
  offset: "100%",
506
530
  "stop-color": s(ee)(e.value.style.chart.backgroundColor, 0),
507
531
  "stop-opacity": "0"
508
- }, null, 8, Dt)
509
- ], 8, Xt)) : v("", !0)
532
+ }, null, 8, Mt)
533
+ ], 8, Ot)) : v("", !0)
510
534
  ])) : v("", !0),
511
- e.value.type === "polar" ? (o(), n("defs", At, [
512
- (o(!0), n(m, null, I(c.value, (t, a) => (o(), n("radialGradient", {
535
+ e.value.type === "polar" ? (o(), n("defs", Gt, [
536
+ (o(!0), n(m, null, O(c.value, (t, a) => (o(), n("radialGradient", {
513
537
  id: `polar_gradient_${a}_${w.value}`,
514
538
  cx: t.middlePoint.x / u.value.width * 100 + "%",
515
539
  cy: t.middlePoint.y / u.value.height * 100 + "%",
@@ -517,14 +541,14 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
517
541
  }, [
518
542
  h("stop", {
519
543
  offset: "0%",
520
- "stop-color": s(vt)(f.value[a].color, 0.05),
544
+ "stop-color": s(dt)(f.value[a].color, 0.05),
521
545
  "stop-opacity": e.value.style.chart.gradientIntensity / 100
522
- }, null, 8, Mt),
546
+ }, null, 8, jt),
523
547
  h("stop", {
524
548
  offset: "100%",
525
549
  "stop-color": f.value[a].color
526
- }, null, 8, Gt)
527
- ], 8, Bt))), 256))
550
+ }, null, 8, Ht)
551
+ ], 8, Vt))), 256))
528
552
  ])) : v("", !0),
529
553
  h("defs", null, [
530
554
  h("filter", {
@@ -538,9 +562,9 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
538
562
  in: "SourceGraphic",
539
563
  stdDeviation: 2,
540
564
  id: `blur_std_${w.value}`
541
- }, null, 8, jt),
542
- Ht
543
- ], 8, Vt),
565
+ }, null, 8, Ut),
566
+ Et
567
+ ], 8, Rt),
544
568
  h("filter", {
545
569
  id: `shadow_${w.value}`,
546
570
  "color-interpolation-filters": "sRGB"
@@ -551,8 +575,8 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
551
575
  stdDeviation: "10",
552
576
  "flood-opacity": "0.5",
553
577
  "flood-color": e.value.style.chart.layout.donut.shadowColor
554
- }, null, 8, Ut)
555
- ], 8, Rt),
578
+ }, null, 8, qt)
579
+ ], 8, Wt),
556
580
  h("filter", {
557
581
  id: `drop_shadow_${w.value}`,
558
582
  "color-interpolation-filters": "sRGB",
@@ -567,23 +591,23 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
567
591
  stdDeviation: "3",
568
592
  "flood-opacity": "1",
569
593
  "flood-color": e.value.style.chart.layout.donut.shadowColor
570
- }, null, 8, Wt)
571
- ], 8, Et)
594
+ }, null, 8, Kt)
595
+ ], 8, Jt)
572
596
  ]),
573
- e.value.type === "classic" ? (o(!0), n(m, { key: 2 }, I(f.value, (t, a) => (o(), n("g", null, [
574
- T(t) && y.value.dataLabels.show ? (o(), n("path", {
597
+ e.value.type === "classic" ? (o(!0), n(m, { key: 2 }, O(f.value, (t, a) => (o(), n("g", null, [
598
+ z(t) && y.value.dataLabels.show ? (o(), n("path", {
575
599
  key: 0,
576
- d: s(ct)(t, { x: u.value.width / 2, y: u.value.height / 2 }, 16, 16, !1, !1, W.value),
600
+ d: s(ht)(t, { x: u.value.width / 2, y: u.value.height / 2 }, 16, 16, !1, !1, J.value),
577
601
  stroke: t.color,
578
602
  "stroke-width": "1",
579
603
  "stroke-linecap": "round",
580
604
  "stroke-linejoin": "round",
581
605
  fill: "none",
582
- filter: J(a)
583
- }, null, 8, qt)) : v("", !0)
606
+ filter: Q(a)
607
+ }, null, 8, Qt)) : v("", !0)
584
608
  ]))), 256)) : v("", !0),
585
- e.value.type === "polar" ? (o(!0), n(m, { key: 3 }, I(f.value, (t, a) => (o(), n("g", null, [
586
- T(t) && y.value.dataLabels.show ? (o(), n("line", {
609
+ e.value.type === "polar" ? (o(!0), n(m, { key: 3 }, O(f.value, (t, a) => (o(), n("g", null, [
610
+ z(t) && y.value.dataLabels.show ? (o(), n("line", {
587
611
  key: 0,
588
612
  x1: s(F)({ 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,
589
613
  y1: s(F)({ 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,
@@ -594,8 +618,8 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
594
618
  "stroke-linecap": "round",
595
619
  "stroke-linejoin": "round",
596
620
  fill: "none",
597
- filter: J(a)
598
- }, null, 8, Jt)) : v("", !0)
621
+ filter: Q(a)
622
+ }, null, 8, Zt)) : v("", !0)
599
623
  ]))), 256)) : v("", !0),
600
624
  e.value.type === "classic" ? (o(), n("circle", {
601
625
  key: 4,
@@ -604,48 +628,48 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
604
628
  r: C.value <= 0 ? 10 : C.value,
605
629
  fill: e.value.style.chart.backgroundColor,
606
630
  filter: e.value.style.chart.layout.donut.useShadow ? `url(#shadow_${w.value})` : ""
607
- }, null, 8, Kt)) : v("", !0),
631
+ }, null, 8, el)) : v("", !0),
608
632
  $.value && e.value.type === "classic" ? (o(), n(m, { key: 5 }, [
609
- (o(!0), n(m, null, I(f.value, (t, a) => (o(), n("path", {
633
+ (o(!0), n(m, null, O(f.value, (t, a) => (o(), n("path", {
610
634
  stroke: e.value.style.chart.backgroundColor,
611
635
  d: t.arcSlice,
612
636
  fill: "#FFFFFF"
613
- }, null, 8, Qt))), 256)),
614
- (o(!0), n(m, null, I(f.value, (t, a) => (o(), n("path", {
637
+ }, null, 8, tl))), 256)),
638
+ (o(!0), n(m, null, O(f.value, (t, a) => (o(), n("path", {
615
639
  class: "vue-ui-donut-arc-path",
616
640
  d: t.arcSlice,
617
641
  fill: s(ee)(t.color, 80),
618
642
  stroke: e.value.style.chart.backgroundColor,
619
643
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
620
- filter: J(a)
621
- }, null, 8, Zt))), 256))
644
+ filter: Q(a)
645
+ }, null, 8, ll))), 256))
622
646
  ], 64)) : v("", !0),
623
647
  $.value && e.value.type === "polar" ? (o(), n(m, { key: 6 }, [
624
- f.value.length > 1 ? (o(), n("g", el, [
625
- (o(!0), n(m, null, I(f.value, (t, a) => (o(), n("path", {
648
+ f.value.length > 1 ? (o(), n("g", al, [
649
+ (o(!0), n(m, null, O(f.value, (t, a) => (o(), n("path", {
626
650
  stroke: e.value.style.chart.backgroundColor,
627
651
  d: c.value[a].path,
628
652
  fill: "#FFFFFF"
629
- }, null, 8, tl))), 256)),
630
- e.value.style.chart.layout.donut.useShadow ? (o(), n("g", ll, [
631
- (o(!0), n(m, null, I(f.value, (t, a) => (o(), n("path", {
653
+ }, null, 8, ol))), 256)),
654
+ e.value.style.chart.layout.donut.useShadow ? (o(), n("g", ul, [
655
+ (o(!0), n(m, null, O(f.value, (t, a) => (o(), n("path", {
632
656
  class: "vue-ui-donut-arc-path",
633
657
  d: c.value[a].path,
634
658
  fill: "transparent",
635
659
  stroke: e.value.style.chart.backgroundColor,
636
660
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
637
661
  filter: `url(#drop_shadow_${w.value})`
638
- }, null, 8, al))), 256))
662
+ }, null, 8, sl))), 256))
639
663
  ])) : v("", !0),
640
- (o(!0), n(m, null, I(f.value, (t, a) => (o(), n("path", {
664
+ (o(!0), n(m, null, O(f.value, (t, a) => (o(), n("path", {
641
665
  class: "vue-ui-donut-arc-path",
642
666
  d: c.value[a].path,
643
667
  fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${a}_${w.value})` : t.color,
644
668
  stroke: e.value.style.chart.backgroundColor,
645
669
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
646
- filter: J(a)
647
- }, null, 8, ol))), 256))
648
- ])) : (o(), n("g", ul, [
670
+ filter: Q(a)
671
+ }, null, 8, nl))), 256))
672
+ ])) : (o(), n("g", rl, [
649
673
  h("circle", {
650
674
  cx: u.value.width / 2,
651
675
  cy: u.value.height / 2,
@@ -653,7 +677,7 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
653
677
  fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${w.value})` : f.value[0].color,
654
678
  stroke: e.value.style.chart.backgroundColor,
655
679
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
656
- }, null, 8, sl)
680
+ }, null, 8, il)
657
681
  ]))
658
682
  ], 64)) : (o(), n("circle", {
659
683
  key: 7,
@@ -662,7 +686,7 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
662
686
  r: C.value <= 0 ? 10 : C.value,
663
687
  fill: "transparent",
664
688
  stroke: e.value.style.chart.backgroundColor
665
- }, null, 8, nl)),
689
+ }, null, 8, vl)),
666
690
  e.value.style.chart.useGradient && e.value.type === "classic" ? (o(), n("circle", {
667
691
  key: 8,
668
692
  cx: u.value.width / 2,
@@ -672,42 +696,42 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
672
696
  C.value <= 0 ? 10 : C.value
673
697
  ),
674
698
  fill: `url(#gradient_${w.value})`
675
- }, null, 8, rl)) : v("", !0),
699
+ }, null, 8, cl)) : v("", !0),
676
700
  $.value ? (o(), n(m, { key: 9 }, [
677
- f.value.length > 1 || e.value.type === "classic" ? (o(), n("g", il, [
678
- (o(!0), n(m, null, I(f.value, (t, a) => (o(), n("path", {
701
+ f.value.length > 1 || e.value.type === "classic" ? (o(), n("g", dl, [
702
+ (o(!0), n(m, null, O(f.value, (t, a) => (o(), n("path", {
679
703
  "data-cy-donut-trap": "",
680
704
  d: e.value.type === "classic" ? t.arcSlice : c.value[a].path,
681
- fill: P.value === a ? "rgba(0,0,0,0.1)" : "transparent",
682
- onMouseenter: (i) => Fe({
705
+ fill: S.value === a ? "rgba(0,0,0,0.1)" : "transparent",
706
+ onMouseenter: (i) => ze({
683
707
  datapoint: t,
684
708
  relativeIndex: a,
685
709
  seriesIndex: t.seriesIndex,
686
710
  show: !0
687
711
  }),
688
712
  onMouseleave: r[0] || (r[0] = (i) => {
689
- ae.value = !1, P.value = null;
713
+ ae.value = !1, S.value = null;
690
714
  }),
691
715
  onClick: (i) => B(t, a)
692
- }, null, 40, vl))), 256))
693
- ])) : (o(), n("g", cl, [
716
+ }, null, 40, hl))), 256))
717
+ ])) : (o(), n("g", yl, [
694
718
  h("circle", {
695
719
  cx: u.value.width / 2,
696
720
  cy: u.value.height / 2,
697
721
  r: C.value,
698
- fill: P.value === l.i ? "rgba(0,0,0,0.1)" : "transparent",
722
+ fill: S.value === l.i ? "rgba(0,0,0,0.1)" : "transparent",
699
723
  "data-cy-donut-trap": "",
700
- onMouseenter: r[1] || (r[1] = (t) => Fe({
724
+ onMouseenter: r[1] || (r[1] = (t) => ze({
701
725
  datapoint: f.value[0],
702
726
  relativeIndex: 0,
703
727
  seriesIndex: f.value[0].seriesIndex,
704
728
  show: !0
705
729
  })),
706
730
  onMouseleave: r[2] || (r[2] = (t) => {
707
- ae.value = !1, P.value = null;
731
+ ae.value = !1, S.value = null;
708
732
  }),
709
733
  onClick: r[3] || (r[3] = (t) => B(f.value[0], l.i))
710
- }, null, 40, dl)
734
+ }, null, 40, fl)
711
735
  ]))
712
736
  ], 64)) : v("", !0),
713
737
  e.value.type === "classic" ? (o(), n(m, { key: 10 }, [
@@ -719,7 +743,7 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
719
743
  fill: e.value.style.chart.layout.labels.hollow.total.color,
720
744
  "font-size": e.value.style.chart.layout.labels.hollow.total.fontSize,
721
745
  style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
722
- }, x(e.value.style.chart.layout.labels.hollow.total.text), 13, hl)) : v("", !0),
746
+ }, x(e.value.style.chart.layout.labels.hollow.total.text), 13, pl)) : v("", !0),
723
747
  e.value.style.chart.layout.labels.hollow.total.show ? (o(), n("text", {
724
748
  key: 1,
725
749
  "text-anchor": "middle",
@@ -728,7 +752,7 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
728
752
  fill: e.value.style.chart.layout.labels.hollow.total.value.color,
729
753
  "font-size": e.value.style.chart.layout.labels.hollow.total.value.fontSize,
730
754
  style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
731
- }, x(s(X)(
755
+ }, x(s(A)(
732
756
  e.value.style.chart.layout.labels.hollow.total.value.formatter,
733
757
  $.value,
734
758
  s(L)({
@@ -736,7 +760,7 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
736
760
  v: $.value,
737
761
  s: e.value.style.chart.layout.labels.hollow.total.value.suffix
738
762
  })
739
- )), 13, yl)) : v("", !0),
763
+ )), 13, gl)) : v("", !0),
740
764
  e.value.style.chart.layout.labels.hollow.average.show ? (o(), n("text", {
741
765
  key: 2,
742
766
  "text-anchor": "middle",
@@ -745,7 +769,7 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
745
769
  fill: e.value.style.chart.layout.labels.hollow.average.color,
746
770
  "font-size": e.value.style.chart.layout.labels.hollow.average.fontSize,
747
771
  style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
748
- }, x(e.value.style.chart.layout.labels.hollow.average.text), 13, fl)) : v("", !0),
772
+ }, x(e.value.style.chart.layout.labels.hollow.average.text), 13, bl)) : v("", !0),
749
773
  e.value.style.chart.layout.labels.hollow.average.show ? (o(), n("text", {
750
774
  key: 3,
751
775
  "text-anchor": "middle",
@@ -754,44 +778,44 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
754
778
  fill: e.value.style.chart.layout.labels.hollow.average.value.color,
755
779
  "font-size": e.value.style.chart.layout.labels.hollow.average.value.fontSize,
756
780
  style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
757
- }, x(G.value ? "--" : s(X)(
781
+ }, x(G.value ? "--" : s(A)(
758
782
  e.value.style.chart.layout.labels.hollow.average.value.formatter,
759
- Le.value,
783
+ Te.value,
760
784
  s(L)({
761
785
  p: e.value.style.chart.layout.labels.hollow.average.value.prefix,
762
- v: Le.value,
786
+ v: Te.value,
763
787
  s: e.value.style.chart.layout.labels.hollow.average.value.suffix,
764
788
  r: e.value.style.chart.layout.labels.hollow.average.value.rounding
765
789
  })
766
- )), 13, pl)) : v("", !0)
790
+ )), 13, ml)) : v("", !0)
767
791
  ], 64)) : v("", !0),
768
- (o(!0), n(m, null, I(f.value, (t, a) => (o(), n("g", {
769
- filter: J(a),
770
- class: ie({ animated: e.value.useCssAnimation })
792
+ (o(!0), n(m, null, O(f.value, (t, a) => (o(), n("g", {
793
+ filter: Q(a),
794
+ class: ce({ animated: e.value.useCssAnimation })
771
795
  }, [
772
- e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(), n("g", bl, [
796
+ e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(), n("g", kl, [
773
797
  (o(), n("foreignObject", {
774
798
  x: s(b)(t, !0).anchor === "end" ? s(b)(t).x - 120 : s(b)(t, !0).anchor === "middle" ? s(b)(t).x - 60 : s(b)(t).x,
775
- y: s(te)(t) - (Te.value ? 20 : 0),
799
+ y: s(te)(t) - (Ae.value ? 20 : 0),
776
800
  width: "120",
777
801
  height: "60",
778
802
  style: { overflow: "visible" }
779
803
  }, [
780
804
  h("div", null, [
781
- _(l.$slots, "dataLabel", Q(Z({
805
+ k(l.$slots, "dataLabel", U(E({
782
806
  datapoint: t,
783
- isBlur: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a,
784
- isSafari: Te.value,
785
- isVisible: T(t) && y.value.dataLabels.show,
807
+ isBlur: !e.value.useBlurOnHover || [null, void 0].includes(S.value) || S.value === a,
808
+ isSafari: Ae.value,
809
+ isVisible: z(t) && y.value.dataLabels.show,
786
810
  textAlign: s(b)(t, !0, 16, !0).anchor,
787
811
  flexAlign: s(b)(t, !0, 16).anchor,
788
- percentage: se(t, f.value)
812
+ percentage: ne(t, f.value)
789
813
  })), void 0, !0)
790
814
  ])
791
- ], 8, ml))
792
- ])) : (o(), n("g", wl, [
815
+ ], 8, _l))
816
+ ])) : (o(), n("g", xl, [
793
817
  e.value.type === "classic" ? (o(), n(m, { key: 0 }, [
794
- T(t) && y.value.dataLabels.show ? (o(), n("circle", {
818
+ z(t) && y.value.dataLabels.show ? (o(), n("circle", {
795
819
  key: 0,
796
820
  cx: s(b)(t).x,
797
821
  cy: s(te)(t) - 3.5,
@@ -799,12 +823,12 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
799
823
  stroke: e.value.style.chart.backgroundColor,
800
824
  "stroke-width": 1,
801
825
  r: 3,
802
- filter: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a ? "" : `url(#blur_${w.value})`,
826
+ filter: !e.value.useBlurOnHover || [null, void 0].includes(S.value) || S.value === a ? "" : `url(#blur_${w.value})`,
803
827
  onClick: (i) => B(t, a)
804
- }, null, 8, kl)) : v("", !0)
828
+ }, null, 8, Cl)) : v("", !0)
805
829
  ], 64)) : v("", !0),
806
830
  e.value.type === "polar" ? (o(), n(m, { key: 1 }, [
807
- T(t) && y.value.dataLabels.show ? (o(), n("circle", {
831
+ z(t) && y.value.dataLabels.show ? (o(), n("circle", {
808
832
  key: 0,
809
833
  cx: s(F)({ 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,
810
834
  cy: s(F)({ 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,
@@ -812,12 +836,12 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
812
836
  stroke: e.value.style.chart.backgroundColor,
813
837
  "stroke-width": 1,
814
838
  r: 3,
815
- filter: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a ? "" : `url(#blur_${w.value})`,
839
+ filter: !e.value.useBlurOnHover || [null, void 0].includes(S.value) || S.value === a ? "" : `url(#blur_${w.value})`,
816
840
  onClick: (i) => B(t, a)
817
- }, null, 8, _l)) : v("", !0)
841
+ }, null, 8, $l)) : v("", !0)
818
842
  ], 64)) : v("", !0),
819
843
  e.value.type === "classic" ? (o(), n(m, { key: 2 }, [
820
- T(t) && y.value.dataLabels.show ? (o(), n("text", {
844
+ z(t) && y.value.dataLabels.show ? (o(), n("text", {
821
845
  key: 0,
822
846
  "text-anchor": s(b)(t, !0, 12).anchor,
823
847
  x: s(b)(t, !0, 12).x,
@@ -826,7 +850,7 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
826
850
  "font-size": e.value.style.chart.layout.labels.percentage.fontSize,
827
851
  style: Y(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
828
852
  onClick: (i) => B(t, a)
829
- }, x(se(t, f.value)) + " " + x(e.value.style.chart.layout.labels.value.show ? `(${s(X)(
853
+ }, x(ne(t, f.value)) + " " + x(e.value.style.chart.layout.labels.value.show ? `(${s(A)(
830
854
  e.value.style.chart.layout.labels.value.formatter,
831
855
  t.value,
832
856
  s(L)({
@@ -836,8 +860,8 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
836
860
  r: e.value.style.chart.layout.labels.value.rounding
837
861
  }),
838
862
  { datapoint: t }
839
- )})` : ""), 13, xl)) : v("", !0),
840
- T(t) && y.value.dataLabels.show ? (o(), n("text", {
863
+ )})` : ""), 13, Pl)) : v("", !0),
864
+ z(t) && y.value.dataLabels.show ? (o(), n("text", {
841
865
  key: 1,
842
866
  "text-anchor": s(b)(t).anchor,
843
867
  x: s(b)(t, !0, 12).x,
@@ -846,19 +870,19 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
846
870
  "font-size": e.value.style.chart.layout.labels.name.fontSize,
847
871
  style: Y(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
848
872
  onClick: (i) => B(t, a)
849
- }, x(t.name), 13, Cl)) : v("", !0)
873
+ }, x(t.name), 13, Sl)) : v("", !0)
850
874
  ], 64)) : v("", !0),
851
875
  e.value.type === "polar" ? (o(), n(m, { key: 3 }, [
852
- T(t) && y.value.dataLabels.show ? (o(), n("text", {
876
+ z(t) && y.value.dataLabels.show ? (o(), n("text", {
853
877
  key: 0,
854
- "text-anchor": j(c.value[a].middlePoint),
878
+ "text-anchor": R(c.value[a].middlePoint),
855
879
  x: s(F)({ 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,
856
880
  y: s(F)({ 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,
857
881
  fill: e.value.style.chart.layout.labels.percentage.color,
858
882
  "font-size": e.value.style.chart.layout.labels.percentage.fontSize,
859
883
  style: Y(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
860
884
  onClick: (i) => B(t, a)
861
- }, x(se(t, f.value)) + " " + x(e.value.style.chart.layout.labels.value.show ? `(${s(X)(
885
+ }, x(ne(t, f.value)) + " " + x(e.value.style.chart.layout.labels.value.show ? `(${s(A)(
862
886
  e.value.style.chart.layout.labels.value.formatter,
863
887
  t.value,
864
888
  s(L)({
@@ -868,21 +892,21 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
868
892
  r: e.value.style.chart.layout.labels.value.rounding
869
893
  }),
870
894
  { datapoint: t }
871
- )})` : ""), 13, $l)) : v("", !0),
872
- T(t) && y.value.dataLabels.show ? (o(), n("text", {
895
+ )})` : ""), 13, Ll)) : v("", !0),
896
+ z(t) && y.value.dataLabels.show ? (o(), n("text", {
873
897
  key: 1,
874
- "text-anchor": j(c.value[a].middlePoint),
898
+ "text-anchor": R(c.value[a].middlePoint),
875
899
  x: s(F)({ 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,
876
900
  y: s(F)({ 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,
877
901
  fill: e.value.style.chart.layout.labels.name.color,
878
902
  "font-size": e.value.style.chart.layout.labels.name.fontSize,
879
903
  style: Y(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
880
904
  onClick: (i) => B(t, a)
881
- }, x(t.name), 13, Pl)) : v("", !0)
905
+ }, x(t.name), 13, Fl)) : v("", !0)
882
906
  ], 64)) : v("", !0)
883
907
  ])),
884
- y.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(), n("g", Sl, [
885
- T(t) && e.value.type === "classic" ? (o(), n("foreignObject", {
908
+ y.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(), n("g", Tl, [
909
+ z(t) && e.value.type === "classic" ? (o(), n("foreignObject", {
886
910
  key: 0,
887
911
  x: e.value.style.chart.comments.offsetX + (s(b)(t, !0).anchor === "end" ? s(b)(t).x - e.value.style.chart.comments.width : s(b)(t, !0).anchor === "middle" ? s(b)(t).x - e.value.style.chart.comments.width / 2 : s(b)(t).x),
888
912
  y: s(te)(t) + 24 + e.value.style.chart.comments.offsetY,
@@ -891,61 +915,61 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
891
915
  style: { overflow: "visible", "pointer-events": "none" }
892
916
  }, [
893
917
  h("div", null, [
894
- _(l.$slots, "plot-comment", {
918
+ k(l.$slots, "plot-comment", {
895
919
  plot: { ...t, textAlign: s(b)(t, !0, 16, !0).anchor, flexAlign: s(b)(t, !0, 16).anchor }
896
920
  }, void 0, !0)
897
921
  ])
898
- ], 8, Ll)) : v("", !0),
899
- T(t) && e.value.type === "polar" ? (o(), n("foreignObject", {
922
+ ], 8, zl)) : v("", !0),
923
+ z(t) && e.value.type === "polar" ? (o(), n("foreignObject", {
900
924
  key: 1,
901
- x: e.value.style.chart.comments.offsetX + (j(c.value[a].middlePoint) === "end" ? s(F)({ 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 : j(c.value[a].middlePoint) === "middle" ? s(F)({ 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 : s(F)({ 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),
902
- y: Ue(c.value[a]) + e.value.style.chart.comments.offsetY,
925
+ x: e.value.style.chart.comments.offsetX + (R(c.value[a].middlePoint) === "end" ? s(F)({ 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" ? s(F)({ 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 : s(F)({ 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),
926
+ y: We(c.value[a]) + e.value.style.chart.comments.offsetY,
903
927
  width: e.value.style.chart.comments.width,
904
928
  height: "200",
905
929
  style: { overflow: "visible", "pointer-events": "none" }
906
930
  }, [
907
931
  h("div", null, [
908
- _(l.$slots, "plot-comment", {
909
- plot: { ...t, textAlign: j(c.value[a].middlePoint), flexAlign: j(c.value[a].middlePoint) }
932
+ k(l.$slots, "plot-comment", {
933
+ plot: { ...t, textAlign: R(c.value[a].middlePoint), flexAlign: R(c.value[a].middlePoint) }
910
934
  }, void 0, !0)
911
935
  ])
912
- ], 8, Fl)) : v("", !0)
936
+ ], 8, Yl)) : v("", !0)
913
937
  ])) : v("", !0)
914
- ], 10, gl))), 256)),
915
- _(l.$slots, "svg", { svg: u.value }, void 0, !0)
916
- ], 14, Tt)) : v("", !0),
917
- l.$slots.watermark ? (o(), n("div", zl, [
918
- _(l.$slots, "watermark", Q(Z({ isPrinting: s(me) || s(we) })), void 0, !0)
938
+ ], 10, wl))), 256)),
939
+ k(l.$slots, "svg", { svg: u.value }, void 0, !0)
940
+ ], 14, Xt)) : v("", !0),
941
+ l.$slots.watermark ? (o(), n("div", Al, [
942
+ k(l.$slots, "watermark", U(E({ isPrinting: s(ke) || s(_e) })), void 0, !0)
919
943
  ])) : v("", !0),
920
- U.value ? v("", !0) : (o(), H($t, {
921
- key: 4,
944
+ q.value ? v("", !0) : (o(), V(St, {
945
+ key: 5,
922
946
  config: {
923
947
  type: "donut",
924
948
  style: {
925
949
  backgroundColor: e.value.style.chart.backgroundColor,
926
950
  donut: {
927
951
  color: "#CCCCCC",
928
- strokeWidth: W.value * 0.8
952
+ strokeWidth: J.value * 0.8
929
953
  }
930
954
  }
931
955
  }
932
956
  }, null, 8, ["config"])),
933
957
  h("div", {
934
958
  ref_key: "chartLegend",
935
- ref: de
959
+ ref: ye
936
960
  }, [
937
- e.value.style.chart.legend.show ? (o(), H(Ct, {
938
- key: `legend_${fe.value}`,
939
- legendSet: Se.value,
940
- config: Re.value,
941
- onClickMarker: r[4] || (r[4] = ({ i: t }) => Pe(t))
961
+ e.value.style.chart.legend.show ? (o(), V(Pt, {
962
+ key: `legend_${ge.value}`,
963
+ legendSet: Fe.value,
964
+ config: Ee.value,
965
+ onClickMarker: r[4] || (r[4] = ({ i: t }) => Le(t))
942
966
  }, {
943
- item: S(({ legend: t, index: a }) => [
967
+ item: P(({ legend: t, index: a }) => [
944
968
  h("div", {
945
969
  onClick: (i) => t.segregate(),
946
- style: Y(`opacity:${O.value.includes(a) ? 0.5 : 1}`)
970
+ style: Y(`opacity:${N.value.includes(a) ? 0.5 : 1}`)
947
971
  }, [
948
- De(x(t.name) + ": " + x(s(X)(
972
+ Be(x(t.name) + ": " + x(s(A)(
949
973
  e.value.style.chart.layout.labels.value.formatter,
950
974
  t.value,
951
975
  s(L)({
@@ -959,7 +983,7 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
959
983
  index: a
960
984
  }
961
985
  )) + " ", 1),
962
- O.value.includes(a) ? (o(), n("span", Xl, " ( " + x(qe(t.proportion * 100)) + " % ) ", 1)) : (o(), n("span", Yl, " (" + x(isNaN(t.value / $.value) ? "-" : s(X)(
986
+ N.value.includes(a) ? (o(), n("span", Ol, " ( " + x(Ke(t.proportion * 100)) + " % ) ", 1)) : (o(), n("span", Nl, " (" + x(isNaN(t.value / $.value) ? "-" : s(A)(
963
987
  e.value.style.chart.layout.labels.percentage.formatter,
964
988
  G.value ? t.proportion * 100 : t.value / $.value * 100,
965
989
  s(L)({
@@ -968,13 +992,13 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
968
992
  r: e.value.style.chart.legend.roundingPercentage
969
993
  })
970
994
  )) + ") ", 1))
971
- ], 12, Tl)
995
+ ], 12, Xl)
972
996
  ]),
973
997
  _: 1
974
998
  }, 8, ["legendSet", "config"])) : v("", !0),
975
- _(l.$slots, "legend", { legend: Se.value }, void 0, !0)
999
+ k(l.$slots, "legend", { legend: Fe.value }, void 0, !0)
976
1000
  ], 512),
977
- Ie(xt, {
1001
+ De($t, {
978
1002
  show: y.value.showTooltip && ae.value,
979
1003
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
980
1004
  color: e.value.style.chart.tooltip.color,
@@ -985,20 +1009,20 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
985
1009
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
986
1010
  position: e.value.style.chart.tooltip.position,
987
1011
  offsetY: e.value.style.chart.tooltip.offsetY,
988
- parent: E.value,
989
- content: ue.value,
990
- isCustom: q.value
1012
+ parent: H.value,
1013
+ content: se.value,
1014
+ isCustom: K.value
991
1015
  }, {
992
- "tooltip-before": S(() => [
993
- _(l.$slots, "tooltip-before", Q(Z({ ...ne.value })), void 0, !0)
1016
+ "tooltip-before": P(() => [
1017
+ k(l.$slots, "tooltip-before", U(E({ ...re.value })), void 0, !0)
994
1018
  ]),
995
- "tooltip-after": S(() => [
996
- _(l.$slots, "tooltip-after", Q(Z({ ...ne.value })), void 0, !0)
1019
+ "tooltip-after": P(() => [
1020
+ k(l.$slots, "tooltip-after", U(E({ ...re.value })), void 0, !0)
997
1021
  ]),
998
1022
  _: 3
999
1023
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
1000
- U.value ? (o(), H(Pt, {
1001
- key: 5,
1024
+ q.value ? (o(), V(Lt, {
1025
+ key: 6,
1002
1026
  hideDetails: "",
1003
1027
  config: {
1004
1028
  open: y.value.showTable,
@@ -1013,9 +1037,9 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
1013
1037
  }
1014
1038
  }
1015
1039
  }, {
1016
- content: S(() => [
1017
- (o(), H(_t, {
1018
- key: `table_${ye.value}`,
1040
+ content: P(() => [
1041
+ (o(), V(Ct, {
1042
+ key: `table_${pe.value}`,
1019
1043
  colNames: oe.value.colNames,
1020
1044
  head: oe.value.head,
1021
1045
  body: oe.value.body,
@@ -1023,14 +1047,14 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
1023
1047
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
1024
1048
  onClose: r[5] || (r[5] = (t) => y.value.showTable = !1)
1025
1049
  }, {
1026
- th: S(({ th: t }) => [
1050
+ th: P(({ th: t }) => [
1027
1051
  h("div", {
1028
1052
  innerHTML: t,
1029
1053
  style: { display: "flex", "align-items": "center" }
1030
- }, null, 8, Nl)
1054
+ }, null, 8, Il)
1031
1055
  ]),
1032
- td: S(({ td: t }) => [
1033
- De(x(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : s(X)(
1056
+ td: P(({ td: t }) => [
1057
+ Be(x(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : s(A)(
1034
1058
  e.value.style.chart.layout.labels.percentage.formatter,
1035
1059
  t,
1036
1060
  s(L)({
@@ -1038,7 +1062,7 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
1038
1062
  s: "%",
1039
1063
  r: e.value.style.chart.layout.labels.percentage.rounding
1040
1064
  })
1041
- ) : s(X)(
1065
+ ) : s(A)(
1042
1066
  e.value.style.chart.layout.labels.value.formatter,
1043
1067
  t,
1044
1068
  s(L)({
@@ -1054,9 +1078,9 @@ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = [
1054
1078
  ]),
1055
1079
  _: 1
1056
1080
  }, 8, ["config"])) : v("", !0)
1057
- ], 14, zt));
1081
+ ], 14, At));
1058
1082
  }
1059
- }, ql = /* @__PURE__ */ Lt(Ol, [["__scopeId", "data-v-159f668e"]]);
1083
+ }, Zl = /* @__PURE__ */ zt(Dl, [["__scopeId", "data-v-e89705b6"]]);
1060
1084
  export {
1061
- ql as default
1085
+ Zl as default
1062
1086
  };