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,23 +1,24 @@
1
- import { computed as x, ref as m, onMounted as Ke, watch as Fe, openBlock as a, createElementBlock as u, normalizeClass as F, normalizeStyle as ae, createBlock as E, createCommentVNode as d, unref as c, createSlots as qe, withCtx as P, renderSlot as I, normalizeProps as ue, guardReactiveProps as oe, createVNode as Je, createElementVNode as v, Fragment as p, renderList as k, toDisplayString as b, withKeys as Qe, createTextVNode as Pe, nextTick as Ze } from "vue";
2
- import { u as et, o as tt, e as B, g as lt, c as De, t as at, a as ut, p as Y, b as ot, I as st, d as se, C as Ie, m as re, X as rt, s as U, D as nt, i as ne, f as K, j as Te, k as q, n as Ee, J as Oe, q as it, r as ct } from "./index-DDXisDKy.js";
3
- import { _ as vt } from "./Title-DYNLqCCT.js";
4
- import { u as dt, U as ht } from "./usePrinter-8ofTb2MJ.js";
5
- import { D as yt } from "./DataTable-DL2agEJ3.js";
6
- import { L as ft } from "./Legend-DXLiSLHd.js";
7
- import gt from "./vue-ui-skeleton-B2sRnIXX.js";
8
- import { S as bt } from "./Slicer-BZfUZr1J.js";
9
- import xt from "./vue-ui-accordion-D_1fE5EF.js";
10
- import { u as Ve } from "./useNestedProp-S1UXxUgm.js";
11
- import { _ as mt } from "./PackageVersion-DtnhR89q.js";
12
- import { _ as pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"], Lt = ["stop-color"], $t = ["id"], St = ["stop-color"], At = ["stop-color"], Nt = ["stop-color"], zt = { key: 0 }, Ft = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = { key: 0 }, It = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = ["x", "y", "font-size", "fill", "font-weight"], Ot = ["text-anchor", "font-size", "fill", "transform"], Vt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ht = { key: 1 }, Mt = ["cx", "cy", "r", "fill"], Wt = { key: 0 }, Rt = { key: 0 }, Ut = ["d", "stroke"], Xt = ["text-anchor", "x", "y", "fill"], Gt = ["cx", "cy", "r", "fill"], jt = { key: 0 }, Bt = ["cx", "cy", "fill"], Yt = { key: 1 }, Kt = ["d", "fill", "stroke"], qt = { key: 2 }, Jt = ["d", "fill", "stroke"], Qt = ["x", "y", "font-size", "fill"], Zt = ["x", "y", "width", "fill", "onClick"], el = ["x", "y", "width", "height", "onMouseenter", "onClick"], tl = {
1
+ import { computed as m, ref as x, onMounted as Je, watch as De, openBlock as a, createElementBlock as o, normalizeClass as P, normalizeStyle as re, createBlock as I, createCommentVNode as d, unref as c, createSlots as Qe, withCtx as F, renderSlot as D, normalizeProps as Y, guardReactiveProps as K, createVNode as Ze, createElementVNode as v, Fragment as p, renderList as k, toDisplayString as b, withKeys as et, createTextVNode as Te, nextTick as tt } from "vue";
2
+ import { u as lt, o as at, e as q, g as ot, c as Ie, t as ut, a as st, p as J, b as nt, I as rt, d as ie, C as Ee, m as ce, X as it, s as U, D as ct, i as ve, f as Q, j as Oe, k as Z, n as Ve, J as He, q as vt, r as dt } from "./index-DnVHQ2xI.js";
3
+ import { _ as ht } from "./Title-5VmBwT4i.js";
4
+ import { u as yt, U as ft } from "./usePrinter-BEeNAqS5.js";
5
+ import { D as gt } from "./DataTable-DTk7C4Pr.js";
6
+ import { L as bt } from "./Legend-CYF2gpXG.js";
7
+ import mt from "./vue-ui-skeleton-aZmkNzAe.js";
8
+ import { S as xt } from "./Slicer-CU7dRZR0.js";
9
+ import pt from "./vue-ui-accordion-DspS4q3f.js";
10
+ import { u as Me } from "./useNestedProp-Cox0K0Y5.js";
11
+ import { _ as kt } from "./PackageVersion-CvCRsT5_.js";
12
+ import { P as _t } from "./PenAndPaper-Jb0pLt3G.js";
13
+ import { _ as Ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const wt = ["id"], Lt = ["xmlns", "viewBox"], At = ["id"], $t = ["stop-color"], St = ["stop-color"], Nt = ["id"], zt = ["stop-color"], Ft = ["stop-color"], Pt = ["stop-color"], Dt = { key: 0 }, Tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], It = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = { key: 0 }, Ot = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ht = ["x", "y", "font-size", "fill", "font-weight"], Mt = ["text-anchor", "font-size", "fill", "transform"], Wt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Rt = { key: 1 }, Ut = ["cx", "cy", "r", "fill"], Xt = { key: 0 }, Gt = { key: 0 }, jt = ["d", "stroke"], Bt = ["text-anchor", "x", "y", "fill"], Yt = ["cx", "cy", "r", "fill"], Kt = { key: 0 }, qt = ["cx", "cy", "fill"], Jt = { key: 1 }, Qt = ["d", "fill", "stroke"], Zt = { key: 2 }, el = ["d", "fill", "stroke"], tl = ["x", "y", "font-size", "fill"], ll = ["x", "y", "width", "fill", "onClick"], al = ["x", "y", "width", "height", "onMouseenter", "onClick"], ol = {
14
15
  key: 3,
15
16
  "data-cy-zoom": "",
16
17
  class: "vue-ui-donut-evolution-dialog"
17
- }, ll = ["x", "y", "width", "height", "fill"], al = ["x1", "y1", "x2", "y2", "stroke"], ul = ["x1", "y2", "x2", "y1", "stroke"], ol = ["onKeypress", "cx", "cy", "r"], sl = ["d", "stroke"], rl = ["cx", "cy", "r", "fill"], nl = ["d", "fill", "stroke"], il = { class: "vue-ui-donut-evolution-focus" }, cl = ["text-anchor", "x", "y", "fill"], vl = ["cx", "cy", "r", "fill"], dl = ["cx", "cy", "r", "fill"], hl = ["x", "y", "fill"], yl = ["x", "y", "font-size", "fill"], fl = {
18
- key: 3,
18
+ }, ul = ["x", "y", "width", "height", "fill"], sl = ["x1", "y1", "x2", "y2", "stroke"], nl = ["x1", "y2", "x2", "y1", "stroke"], rl = ["onKeypress", "cx", "cy", "r"], il = ["d", "stroke"], cl = ["cx", "cy", "r", "fill"], vl = ["d", "fill", "stroke"], dl = { class: "vue-ui-donut-evolution-focus" }, hl = ["text-anchor", "x", "y", "fill"], yl = ["cx", "cy", "r", "fill"], fl = ["cx", "cy", "r", "fill"], gl = ["x", "y", "fill"], bl = ["x", "y", "font-size", "fill"], ml = {
19
+ key: 4,
19
20
  class: "vue-data-ui-watermark"
20
- }, gl = ["onClick"], bl = { key: 0 }, xl = { key: 1 }, ml = { key: 0 }, pl = { key: 1 }, kl = {
21
+ }, xl = ["onClick"], pl = { key: 0 }, kl = { key: 1 }, _l = { key: 0 }, Cl = { key: 1 }, wl = {
21
22
  __name: "vue-ui-donut-evolution",
22
23
  props: {
23
24
  config: {
@@ -34,30 +35,30 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
34
35
  }
35
36
  },
36
37
  emits: ["selectLegend"],
37
- setup(He, { expose: Me, emit: ie }) {
38
- const $ = He, { vue_ui_donut_evolution: We } = et(), X = x(() => !!$.dataset && $.dataset.length), h = m({
38
+ setup(We, { expose: Re, emit: de }) {
39
+ const A = We, { vue_ui_donut_evolution: Ue } = lt(), X = m(() => !!A.dataset && A.dataset.length), h = x({
39
40
  start: 0,
40
- end: Math.max(...$.dataset.map((l) => l.values.length))
41
+ end: Math.max(...A.dataset.map((l) => l.values.length))
41
42
  });
42
- function ce() {
43
+ function he() {
43
44
  h.value = {
44
45
  start: 0,
45
46
  end: W.value
46
- }, ye.value += 1;
47
+ }, ge.value += 1;
47
48
  }
48
- Ke(() => {
49
- ve();
49
+ Je(() => {
50
+ ye();
50
51
  });
51
- function ve() {
52
- tt($.dataset) ? B({
52
+ function ye() {
53
+ at(A.dataset) ? q({
53
54
  componentName: "VueUiDonutEvolution",
54
55
  type: "dataset"
55
- }) : $.dataset.length && $.dataset.forEach((l, i) => {
56
- lt({
56
+ }) : A.dataset.length && A.dataset.forEach((l, i) => {
57
+ ot({
57
58
  datasetObject: l,
58
59
  requiredAttributes: ["name", "values"]
59
60
  }).forEach((t) => {
60
- B({
61
+ q({
61
62
  componentName: "VueUiDonutEvolution",
62
63
  type: "datasetSerieAttribute",
63
64
  property: t,
@@ -66,39 +67,39 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
66
67
  });
67
68
  });
68
69
  }
69
- const T = m(De()), _ = m([]), g = m(null), J = m(null), S = m(!1), A = m(null), de = m(null), he = m(0), ye = m(0), fe = m(0), ge = m(0), be = m(0), e = x({
70
- get: () => xe(),
70
+ const E = x(Ie()), _ = x([]), g = x(null), ee = x(null), $ = x(!1), S = x(null), te = x(null), fe = x(0), ge = x(0), be = x(0), me = x(0), xe = x(0), e = m({
71
+ get: () => pe(),
71
72
  set: (l) => l
72
73
  });
73
- function xe() {
74
- const l = Ve({
75
- userConfig: $.config,
76
- defaultConfig: We
74
+ function pe() {
75
+ const l = Me({
76
+ userConfig: A.config,
77
+ defaultConfig: Ue
77
78
  });
78
79
  return l.theme ? {
79
- ...Ve({
80
- userConfig: at.vue_ui_donut_evolution[l.theme] || $.config,
80
+ ...Me({
81
+ userConfig: ut.vue_ui_donut_evolution[l.theme] || A.config,
81
82
  defaultConfig: l
82
83
  }),
83
- customPalette: ut[l.theme] || Y
84
+ customPalette: st[l.theme] || J
84
85
  } : l;
85
86
  }
86
- Fe(() => $.config, (l) => {
87
- e.value = xe(), ve(), fe.value += 1, ge.value += 1, be.value += 1;
88
- }, { deep: !0 }), Fe(() => $.dataset, (l) => {
89
- ce();
87
+ De(() => A.config, (l) => {
88
+ e.value = pe(), ye(), be.value += 1, me.value += 1, xe.value += 1;
89
+ }, { deep: !0 }), De(() => A.dataset, (l) => {
90
+ he();
90
91
  }, { deep: !0 });
91
- const { isPrinting: me, isImaging: pe, generatePdf: ke, generateImage: _e } = dt({
92
- elementId: T.value,
92
+ const { isPrinting: ke, isImaging: _e, generatePdf: Ce, generateImage: we } = yt({
93
+ elementId: E.value,
93
94
  fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution"
94
- }), Re = x(() => ot(e.value.customPalette)), G = m({
95
+ }), Xe = m(() => nt(e.value.customPalette)), G = x({
95
96
  showTable: e.value.table.show
96
- }), s = x(() => ({
97
+ }), s = m(() => ({
97
98
  top: e.value.style.chart.layout.padding.top,
98
99
  right: e.value.style.chart.layout.padding.right,
99
100
  bottom: e.value.style.chart.layout.padding.bottom,
100
101
  left: e.value.style.chart.layout.padding.left
101
- })), r = x(() => {
102
+ })), r = m(() => {
102
103
  const l = e.value.style.chart.layout.height, i = e.value.style.chart.layout.width, t = l - s.value.top - s.value.bottom, n = i - s.value.left - s.value.right;
103
104
  return {
104
105
  absoluteHeight: l,
@@ -108,64 +109,64 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
108
109
  height: t,
109
110
  width: n
110
111
  };
111
- }), D = x(() => ($.dataset.forEach((l, i) => {
112
- [null, void 0].includes(l.name) && B({
112
+ }), T = m(() => (A.dataset.forEach((l, i) => {
113
+ [null, void 0].includes(l.name) && q({
113
114
  componentName: "VueUiDonutEvolution",
114
115
  type: "datasetSerieAttribute",
115
116
  property: "name",
116
117
  index: i
117
- }), [null, void 0].includes(l.values) && B({
118
+ }), [null, void 0].includes(l.values) && q({
118
119
  componentName: "VueUiDonutEvolution",
119
120
  type: "datasetSerieAttribute",
120
121
  property: "values",
121
122
  index: i
122
123
  });
123
- }), $.dataset.map((l, i) => ({
124
+ }), A.dataset.map((l, i) => ({
124
125
  ...l,
125
- values: st(l.values),
126
- color: se(l.color) || Re.value[i] || Y[i] || Y[i % Y.length],
126
+ values: rt(l.values),
127
+ color: ie(l.color) || Xe.value[i] || J[i] || J[i % J.length],
127
128
  length: (l.values || []).length,
128
- uid: De()
129
- })))), M = x(() => D.value.filter((l) => !_.value.includes(l.uid)).map((l) => ({
129
+ uid: Ie()
130
+ })))), M = m(() => T.value.filter((l) => !_.value.includes(l.uid)).map((l) => ({
130
131
  ...l,
131
132
  values: l.values.filter((i, t) => t >= h.value.start && t <= h.value.end)
132
- }))), W = x(() => Math.max(...M.value.map((l) => l.length))), w = x(() => r.value.width / (h.value.end - h.value.start)), C = x(() => {
133
+ }))), W = m(() => Math.max(...M.value.map((l) => l.length))), w = m(() => r.value.width / (h.value.end - h.value.start)), C = m(() => {
133
134
  const l = [];
134
- for (let o = 0; o < h.value.end - h.value.start; o += 1) {
135
- const f = M.value.map((z) => z.values[o] ?? null), y = f.filter((z) => [void 0, null].includes(z)).length === f.length, N = f.reduce((z, L) => z + L, 0), le = f.map((z) => z / N), H = s.value.left + w.value * o + w.value / 2;
135
+ for (let u = 0; u < h.value.end - h.value.start; u += 1) {
136
+ const f = M.value.map((z) => z.values[u] ?? null), y = f.filter((z) => [void 0, null].includes(z)).length === f.length, N = f.reduce((z, L) => z + L, 0), ne = f.map((z) => z / N), H = s.value.left + w.value * u + w.value / 2;
136
137
  l.push({
137
- index: o,
138
- percentages: le,
138
+ index: u,
139
+ percentages: ne,
139
140
  subtotal: y || N < 0 ? null : N,
140
141
  values: f,
141
142
  x: H
142
143
  });
143
144
  }
144
- const i = 0, t = Math.max(...l.map((o) => o.subtotal)), n = l.length === 1 ? t * 2 : t;
145
- return l.map((o, f) => {
146
- const y = w.value / 2 * 0.7, N = y > r.value.width / 16 ? r.value.width / 16 : y, le = g.value === o.index ? r.value.width / 16 : N, H = l.length > 4 ? y * 2 : y * 2 > w.value / 2 * 0.7 ? w.value / 2 * 0.7 : y * 2, z = r.value.absoluteHeight - s.value.bottom - r.value.height * o.subtotal / Ie(i, n, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
145
+ const i = 0, t = Math.max(...l.map((u) => u.subtotal)), n = l.length === 1 ? t * 2 : t;
146
+ return l.map((u, f) => {
147
+ const y = w.value / 2 * 0.7, N = y > r.value.width / 16 ? r.value.width / 16 : y, ne = g.value === u.index ? r.value.width / 16 : N, H = l.length > 4 ? y * 2 : y * 2 > w.value / 2 * 0.7 ? w.value / 2 * 0.7 : y * 2, z = r.value.absoluteHeight - s.value.bottom - r.value.height * u.subtotal / Ee(i, n, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
147
148
  return {
148
- ...o,
149
+ ...u,
149
150
  y: z,
150
151
  radius: N,
151
- activeRadius: le,
152
+ activeRadius: ne,
152
153
  hoverRadius: H,
153
- donut: re({
154
- series: M.value.map((L, ze) => ({
154
+ donut: ce({
155
+ series: M.value.map((L, Pe) => ({
155
156
  color: L.color,
156
157
  name: L.name,
157
158
  value: L.values[f] ?? 0
158
159
  }))
159
- }, o.x, z, N, N, 1.99999, 2, 1, 360, 105.25, N / 2),
160
- donutHover: re({
161
- series: M.value.map((L, ze) => ({
160
+ }, u.x, z, N, N, 1.99999, 2, 1, 360, 105.25, N / 2),
161
+ donutHover: ce({
162
+ series: M.value.map((L, Pe) => ({
162
163
  color: L.color,
163
164
  name: L.name,
164
165
  value: L.values[f] ?? 0
165
166
  }))
166
- }, o.x, z, H, H, 1.99999, 2, 1, 360, 105.25, H / 2),
167
- donutFocus: re({
168
- series: M.value.map((L, ze) => ({
167
+ }, u.x, z, H, H, 1.99999, 2, 1, 360, 105.25, H / 2),
168
+ donutFocus: ce({
169
+ series: M.value.map((L, Pe) => ({
169
170
  color: L.color,
170
171
  name: L.name,
171
172
  value: L.values[f] ?? 0
@@ -175,10 +176,10 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
175
176
  });
176
177
  });
177
178
  function j(l, i, t) {
178
- return ne(
179
+ return ve(
179
180
  e.value.style.chart.layout.dataLabels.formatter,
180
181
  l,
181
- K({
182
+ Q({
182
183
  p: e.value.style.chart.layout.dataLabels.prefix,
183
184
  v: l,
184
185
  s: e.value.style.chart.layout.dataLabels.suffix,
@@ -187,37 +188,37 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
187
188
  { datapoint: i, index: t }
188
189
  );
189
190
  }
190
- const Q = x(() => ({
191
+ const le = m(() => ({
191
192
  max: Math.max(...C.value.map((l) => l.subtotal)),
192
193
  min: 0
193
- })), O = x(() => {
194
- const l = C.value.length === 1 ? Q.value.max * 2 : Q.value.max;
195
- return Ie(Q.value.min, l, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
194
+ })), O = m(() => {
195
+ const l = C.value.length === 1 ? le.value.max * 2 : le.value.max;
196
+ return Ee(le.value.min, l, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
196
197
  });
197
- function Ue(l) {
198
+ function Ge(l) {
198
199
  return l / O.value.max;
199
200
  }
200
- const Xe = x(() => O.value.ticks.map((l) => ({
201
- y: r.value.absoluteHeight - s.value.bottom - r.value.height * Ue(l),
201
+ const je = m(() => O.value.ticks.map((l) => ({
202
+ y: r.value.absoluteHeight - s.value.bottom - r.value.height * Ge(l),
202
203
  value: l
203
204
  })));
204
- function Ce(l, i) {
205
- return isNaN(l.value / Oe(i, "value")) ? 0 : (l.value / Oe(i, "value") * 100).toFixed(0) + "%";
205
+ function Le(l, i) {
206
+ return isNaN(l.value / He(i, "value")) ? 0 : (l.value / He(i, "value") * 100).toFixed(0) + "%";
206
207
  }
207
- function we() {
208
- S.value || (g.value = null, J.value = null);
208
+ function Ae() {
209
+ $.value || (g.value = null, ee.value = null);
209
210
  }
210
- function Ge(l) {
211
- S.value || (g.value = l.index, J.value = l);
211
+ function Be(l) {
212
+ $.value || (g.value = l.index, ee.value = l);
212
213
  }
213
- const Z = m(null);
214
- function ee(l, i) {
215
- l.subtotal && (J.value = null, g.value = null, S.value = !0, A.value = l, [null, void 0].includes(i) || (Z.value = i));
214
+ const ae = x(null);
215
+ function oe(l, i) {
216
+ l.subtotal && (ee.value = null, g.value = null, $.value = !0, S.value = l, [null, void 0].includes(i) || (ae.value = i));
216
217
  }
217
- function Le() {
218
- A.value = null, S.value = !1, Z.value = null;
218
+ function $e() {
219
+ S.value = null, $.value = !1, ae.value = null;
219
220
  }
220
- const $e = x(() => D.value.map((l, i) => ({
221
+ const Se = m(() => T.value.map((l, i) => ({
221
222
  name: l.name,
222
223
  value: l.values.slice(h.value.start, h.value.end).reduce((t, n) => t + n, 0),
223
224
  shape: "circle",
@@ -226,9 +227,9 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
226
227
  })).sort((l, i) => i.value - l.value).map((l) => ({
227
228
  ...l,
228
229
  opacity: _.value.includes(l.uid) ? 0.5 : 1,
229
- segregate: () => te(l.uid),
230
+ segregate: () => ue(l.uid),
230
231
  isSegregated: _.value.includes(l.uid)
231
- }))), Se = x(() => C.value.map((l) => l.subtotal).reduce((l, i) => l + i, 0)), je = x(() => ({
232
+ }))), Ne = m(() => C.value.map((l) => l.subtotal).reduce((l, i) => l + i, 0)), Ye = m(() => ({
232
233
  cy: "donut-div-legend",
233
234
  backgroundColor: e.value.style.chart.legend.backgroundColor,
234
235
  color: e.value.style.chart.legend.color,
@@ -236,26 +237,26 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
236
237
  paddingBottom: 12,
237
238
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
238
239
  }));
239
- function te(l) {
240
+ function ue(l) {
240
241
  if (_.value.includes(l))
241
- _.value = _.value.filter((i) => i !== l), ie("selectLegend", null);
242
+ _.value = _.value.filter((i) => i !== l), de("selectLegend", null);
242
243
  else {
243
- if (_.value.length === D.value.length - 1) return;
244
- _.value.push(l), ie("selectLegend", D.value.find((i) => i.uid === l));
244
+ if (_.value.length === T.value.length - 1) return;
245
+ _.value.push(l), de("selectLegend", T.value.find((i) => i.uid === l));
245
246
  }
246
- A.value && ee(C.value.find((i, t) => t === Z.value));
247
+ S.value && oe(C.value.find((i, t) => t === ae.value));
247
248
  }
248
- const V = x(() => {
249
- const l = [""].concat(D.value.filter((o) => !_.value.includes(o.uid)).map((o) => ({
250
- name: o.name,
251
- color: o.color
249
+ const V = m(() => {
250
+ const l = [""].concat(T.value.filter((u) => !_.value.includes(u.uid)).map((u) => ({
251
+ name: u.name,
252
+ color: u.color
252
253
  }))).concat(["Σ"]);
253
254
  let i = [];
254
- for (let o = 0; o < W.value; o += 1) {
255
- const f = D.value.filter((y) => !_.value.includes(y.uid)).map((y) => y.values[o] ?? 0).reduce((y, N) => y + N, 0);
256
- i.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[o] ?? "-"].concat(D.value.filter((y) => !_.value.includes(y.uid)).map((y) => ({
257
- value: y.values[o] ?? 0,
258
- percentage: y.values[o] ? y.values[o] / f * 100 : 0
255
+ for (let u = 0; u < W.value; u += 1) {
256
+ const f = T.value.filter((y) => !_.value.includes(y.uid)).map((y) => y.values[u] ?? 0).reduce((y, N) => y + N, 0);
257
+ i.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[u] ?? "-"].concat(T.value.filter((y) => !_.value.includes(y.uid)).map((y) => ({
258
+ value: y.values[u] ?? 0,
259
+ percentage: y.values[u] ? y.values[u] / f * 100 : 0
259
260
  }))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(f.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
260
261
  }
261
262
  const t = {
@@ -272,45 +273,58 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
272
273
  breakpoint: e.value.table.responsiveBreakpoint
273
274
  }, n = [
274
275
  e.value.table.columnNames.period
275
- ].concat(D.value.filter((o) => !_.value.includes(o.uid)).map((o) => o.name)).concat(e.value.table.columnNames.total);
276
+ ].concat(T.value.filter((u) => !_.value.includes(u.uid)).map((u) => u.name)).concat(e.value.table.columnNames.total);
276
277
  return { head: l, body: i, config: t, colNames: n };
277
278
  });
278
- function Be() {
279
- return D.value;
279
+ function Ke() {
280
+ return T.value;
280
281
  }
281
- function Ae() {
282
- Ze(() => {
283
- const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], i = [...V.value.head.map((f) => f.name ?? f)], t = [...V.value.body.map((f) => f.map((y) => y.value ?? y))], n = l.concat([i]).concat(t), o = it(n);
284
- ct({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
282
+ function ze() {
283
+ tt(() => {
284
+ const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], i = [...V.value.head.map((f) => f.name ?? f)], t = [...V.value.body.map((f) => f.map((y) => y.value ?? y))], n = l.concat([i]).concat(t), u = vt(n);
285
+ dt({ csvContent: u, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
285
286
  });
286
287
  }
287
- const R = m(!1);
288
- function Ye(l) {
289
- R.value = l, he.value += 1;
288
+ const R = x(!1);
289
+ function qe(l) {
290
+ R.value = l, fe.value += 1;
290
291
  }
291
- function Ne() {
292
+ function Fe() {
292
293
  G.value.showTable = !G.value.showTable;
293
294
  }
294
- return Me({
295
- getData: Be,
296
- generatePdf: ke,
297
- generateCsv: Ae,
298
- generateImage: _e,
299
- toggleTable: Ne
300
- }), (l, i) => (a(), u("div", {
295
+ const B = x(!1);
296
+ function se() {
297
+ B.value = !B.value;
298
+ }
299
+ return Re({
300
+ getData: Ke,
301
+ generatePdf: Ce,
302
+ generateCsv: ze,
303
+ generateImage: we,
304
+ toggleTable: Fe,
305
+ toggleAnnotator: se
306
+ }), (l, i) => (a(), o("div", {
301
307
  ref_key: "donutEvolutionChart",
302
- ref: de,
303
- class: F(`vue-ui-donut-evolution ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
304
- style: ae(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
305
- id: T.value
308
+ ref: te,
309
+ class: P(`vue-ui-donut-evolution ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
310
+ style: re(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
311
+ id: E.value
306
312
  }, [
307
- e.value.style.chart.title.text ? (a(), u("div", {
313
+ e.value.userOptions.buttons.annotator ? (a(), I(_t, {
308
314
  key: 0,
315
+ parent: te.value,
316
+ backgroundColor: e.value.style.chart.backgroundColor,
317
+ color: e.value.style.chart.color,
318
+ active: B.value,
319
+ onClose: se
320
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : d("", !0),
321
+ e.value.style.chart.title.text ? (a(), o("div", {
322
+ key: 1,
309
323
  style: "width:100%;background:transparent;padding-bottom:24px",
310
- onMouseleave: we
324
+ onMouseleave: Ae
311
325
  }, [
312
- (a(), E(vt, {
313
- key: `title_${fe.value}`,
326
+ (a(), I(ht, {
327
+ key: `title_${be.value}`,
314
328
  config: {
315
329
  title: {
316
330
  cy: "donut-evolution-div-title",
@@ -323,14 +337,14 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
323
337
  }
324
338
  }, null, 8, ["config"]))
325
339
  ], 32)) : d("", !0),
326
- e.value.userOptions.show && X.value ? (a(), E(ht, {
340
+ e.value.userOptions.show && X.value ? (a(), I(ft, {
327
341
  ref: "details",
328
- key: `user_options_${he.value}`,
342
+ key: `user_options_${fe.value}`,
329
343
  backgroundColor: e.value.style.chart.backgroundColor,
330
344
  color: e.value.style.chart.color,
331
- isPrinting: c(me),
332
- isImaging: c(pe),
333
- uid: T.value,
345
+ isPrinting: c(ke),
346
+ isImaging: c(_e),
347
+ uid: E.value,
334
348
  hasPdf: e.value.userOptions.buttons.pdf,
335
349
  hasImg: e.value.userOptions.buttons.img,
336
350
  hasXls: e.value.userOptions.buttons.csv,
@@ -338,61 +352,71 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
338
352
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
339
353
  isFullscreen: R.value,
340
354
  titles: { ...e.value.userOptions.buttonTitles },
341
- chartElement: de.value,
355
+ chartElement: te.value,
342
356
  position: e.value.userOptions.position,
343
- onToggleFullscreen: Ye,
344
- onGeneratePdf: c(ke),
345
- onGenerateCsv: Ae,
346
- onGenerateImage: c(_e),
347
- onToggleTable: Ne
348
- }, qe({ _: 2 }, [
357
+ hasAnnotator: e.value.userOptions.buttons.annotator,
358
+ isAnnotation: B.value,
359
+ onToggleFullscreen: qe,
360
+ onGeneratePdf: c(Ce),
361
+ onGenerateCsv: ze,
362
+ onGenerateImage: c(we),
363
+ onToggleTable: Fe,
364
+ onToggleAnnotator: se
365
+ }, Qe({ _: 2 }, [
349
366
  l.$slots.optionPdf ? {
350
367
  name: "optionPdf",
351
- fn: P(() => [
352
- I(l.$slots, "optionPdf", {}, void 0, !0)
368
+ fn: F(() => [
369
+ D(l.$slots, "optionPdf", {}, void 0, !0)
353
370
  ]),
354
371
  key: "0"
355
372
  } : void 0,
356
373
  l.$slots.optionCsv ? {
357
374
  name: "optionCsv",
358
- fn: P(() => [
359
- I(l.$slots, "optionCsv", {}, void 0, !0)
375
+ fn: F(() => [
376
+ D(l.$slots, "optionCsv", {}, void 0, !0)
360
377
  ]),
361
378
  key: "1"
362
379
  } : void 0,
363
380
  l.$slots.optionImg ? {
364
381
  name: "optionImg",
365
- fn: P(() => [
366
- I(l.$slots, "optionImg", {}, void 0, !0)
382
+ fn: F(() => [
383
+ D(l.$slots, "optionImg", {}, void 0, !0)
367
384
  ]),
368
385
  key: "2"
369
386
  } : void 0,
370
387
  l.$slots.optionTable ? {
371
388
  name: "optionTable",
372
- fn: P(() => [
373
- I(l.$slots, "optionTable", {}, void 0, !0)
389
+ fn: F(() => [
390
+ D(l.$slots, "optionTable", {}, void 0, !0)
374
391
  ]),
375
392
  key: "3"
376
393
  } : void 0,
377
394
  l.$slots.optionFullscreen ? {
378
395
  name: "optionFullscreen",
379
- fn: P(({ toggleFullscreen: t, isFullscreen: n }) => [
380
- I(l.$slots, "optionFullscreen", ue(oe({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
396
+ fn: F(({ toggleFullscreen: t, isFullscreen: n }) => [
397
+ D(l.$slots, "optionFullscreen", Y(K({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
381
398
  ]),
382
399
  key: "4"
400
+ } : void 0,
401
+ l.$slots.optionAnnotator ? {
402
+ name: "optionAnnotator",
403
+ fn: F(({ toggleAnnotator: t, isAnnotator: n }) => [
404
+ D(l.$slots, "optionAnnotator", Y(K({ toggleAnnotator: t, isAnnotator: n })), void 0, !0)
405
+ ]),
406
+ key: "5"
383
407
  } : void 0
384
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
385
- X.value ? (a(), u("svg", {
386
- key: 2,
387
- xmlns: c(rt),
388
- class: F({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
408
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
409
+ X.value ? (a(), o("svg", {
410
+ key: 3,
411
+ xmlns: c(it),
412
+ class: P({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
389
413
  viewBox: `0 0 ${r.value.absoluteWidth} ${r.value.absoluteHeight}`,
390
- style: ae(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
414
+ style: re(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
391
415
  }, [
392
- Je(mt),
416
+ Ze(kt),
393
417
  v("defs", null, [
394
418
  v("linearGradient", {
395
- id: `hover_${T.value}`,
419
+ id: `hover_${E.value}`,
396
420
  x1: "0%",
397
421
  y1: "0%",
398
422
  x2: "0%",
@@ -401,30 +425,30 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
401
425
  v("stop", {
402
426
  offset: "0%",
403
427
  "stop-color": c(U)(e.value.style.chart.backgroundColor, e.value.style.chart.layout.highlighter.opacity)
404
- }, null, 8, wt),
428
+ }, null, 8, $t),
405
429
  v("stop", {
406
430
  offset: "100%",
407
431
  "stop-color": c(U)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity)
408
- }, null, 8, Lt)
409
- ], 8, Ct),
432
+ }, null, 8, St)
433
+ ], 8, At),
410
434
  v("radialGradient", {
411
- id: `focus_${T.value}`
435
+ id: `focus_${E.value}`
412
436
  }, [
413
437
  v("stop", {
414
438
  offset: "0%",
415
- "stop-color": c(U)(c(se)(e.value.style.chart.backgroundColor), 0)
416
- }, null, 8, St),
439
+ "stop-color": c(U)(c(ie)(e.value.style.chart.backgroundColor), 0)
440
+ }, null, 8, zt),
417
441
  v("stop", {
418
442
  offset: "77%",
419
443
  "stop-color": c(U)("#FFFFFF", 30)
420
- }, null, 8, At),
444
+ }, null, 8, Ft),
421
445
  v("stop", {
422
446
  offset: "100%",
423
- "stop-color": c(U)(c(se)(e.value.style.chart.backgroundColor), 0)
424
- }, null, 8, Nt)
425
- ], 8, $t)
447
+ "stop-color": c(U)(c(ie)(e.value.style.chart.backgroundColor), 0)
448
+ }, null, 8, Pt)
449
+ ], 8, Nt)
426
450
  ]),
427
- e.value.style.chart.layout.grid.show ? (a(), u("g", zt, [
451
+ e.value.style.chart.layout.grid.show ? (a(), o("g", Dt, [
428
452
  v("line", {
429
453
  x1: s.value.left,
430
454
  x2: s.value.left,
@@ -433,7 +457,7 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
433
457
  stroke: e.value.style.chart.layout.grid.stroke,
434
458
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
435
459
  "stroke-linecap": "round"
436
- }, null, 8, Ft),
460
+ }, null, 8, Tt),
437
461
  v("line", {
438
462
  x1: s.value.left,
439
463
  x2: r.value.absoluteWidth - s.value.right,
@@ -442,9 +466,9 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
442
466
  stroke: e.value.style.chart.layout.grid.stroke,
443
467
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
444
468
  "stroke-linecap": "round"
445
- }, null, 8, Pt),
446
- e.value.style.chart.layout.grid.showVerticalLines ? (a(), u("g", Dt, [
447
- (a(!0), u(p, null, k(h.value.end - h.value.start, (t, n) => (a(), u("line", {
469
+ }, null, 8, It),
470
+ e.value.style.chart.layout.grid.showVerticalLines ? (a(), o("g", Et, [
471
+ (a(!0), o(p, null, k(h.value.end - h.value.start, (t, n) => (a(), o("line", {
448
472
  x1: s.value.left + (n + 1) * w.value,
449
473
  x2: s.value.left + (n + 1) * w.value,
450
474
  y1: s.value.top,
@@ -452,15 +476,15 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
452
476
  stroke: e.value.style.chart.layout.grid.stroke,
453
477
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
454
478
  "stroke-linecap": "round"
455
- }, null, 8, It))), 256))
479
+ }, null, 8, Ot))), 256))
456
480
  ])) : d("", !0)
457
481
  ])) : d("", !0),
458
- e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (a(), u("g", {
482
+ e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (a(), o("g", {
459
483
  key: 1,
460
- class: F({ "donut-opacity": !0, "donut-behind": g.value !== null || S.value })
484
+ class: P({ "donut-opacity": !0, "donut-behind": g.value !== null || $.value })
461
485
  }, [
462
- (a(!0), u(p, null, k(Xe.value, (t, n) => (a(), u("g", null, [
463
- t.value >= O.value.min && t.value <= O.value.max ? (a(), u("line", {
486
+ (a(!0), o(p, null, k(je.value, (t, n) => (a(), o("g", null, [
487
+ t.value >= O.value.min && t.value <= O.value.max ? (a(), o("line", {
464
488
  key: 0,
465
489
  x1: s.value.left,
466
490
  x2: s.value.left - 5,
@@ -468,8 +492,8 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
468
492
  y2: t.y,
469
493
  stroke: e.value.style.chart.layout.grid.stroke,
470
494
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
471
- }, null, 8, Tt)) : d("", !0),
472
- t.value >= O.value.min && t.value <= O.value.max ? (a(), u("text", {
495
+ }, null, 8, Vt)) : d("", !0),
496
+ t.value >= O.value.min && t.value <= O.value.max ? (a(), o("text", {
473
497
  key: 1,
474
498
  x: s.value.left - 8 + e.value.style.chart.layout.grid.yAxis.dataLabels.offsetX,
475
499
  y: t.y + e.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
@@ -477,37 +501,37 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
477
501
  "text-anchor": "end",
478
502
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
479
503
  "font-weight": e.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
480
- }, b(c(nt)(t.value) ? c(ne)(
504
+ }, b(c(ct)(t.value) ? c(ve)(
481
505
  e.value.style.chart.layout.dataLabels.formatter,
482
506
  t.value,
483
- c(K)({
507
+ c(Q)({
484
508
  p: e.value.style.chart.layout.dataLabels.prefix,
485
509
  v: t.value,
486
510
  s: e.value.style.chart.layout.dataLabels.suffix,
487
511
  r: e.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
488
512
  }),
489
513
  { datapoint: t, seriesIndex: n }
490
- ) : ""), 9, Et)) : d("", !0)
514
+ ) : ""), 9, Ht)) : d("", !0)
491
515
  ]))), 256))
492
516
  ], 2)) : d("", !0),
493
- e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (a(), u("g", {
517
+ e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (a(), o("g", {
494
518
  key: 2,
495
- class: F({ "donut-opacity": !0, "donut-behind": S.value })
519
+ class: P({ "donut-opacity": !0, "donut-behind": $.value })
496
520
  }, [
497
- (a(!0), u(p, null, k(h.value.end - h.value.start, (t, n) => (a(), u("g", null, [
498
- e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (n === 0 || n === W.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast ? (a(), u("text", {
521
+ (a(!0), o(p, null, k(h.value.end - h.value.start, (t, n) => (a(), o("g", null, [
522
+ e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (n === 0 || n === W.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast ? (a(), o("text", {
499
523
  key: 0,
500
524
  "text-anchor": e.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
501
525
  "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
502
526
  fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
503
527
  transform: `translate(${s.value.left + w.value * n + w.value / 2}, ${e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY + r.value.absoluteHeight - s.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
504
- }, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(n) + Number(h.value.start)] ?? ""), 9, Ot)) : d("", !0)
528
+ }, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(n) + Number(h.value.start)] ?? ""), 9, Mt)) : d("", !0)
505
529
  ]))), 256))
506
530
  ], 2)) : d("", !0),
507
- (a(!0), u(p, null, k(C.value, (t, n) => (a(), u("g", null, [
508
- e.value.style.chart.layout.line.show && n < C.value.length - 1 && ![t.subtotal, C.value[n + 1].subtotal].includes(null) ? (a(), u("line", {
531
+ (a(!0), o(p, null, k(C.value, (t, n) => (a(), o("g", null, [
532
+ e.value.style.chart.layout.line.show && n < C.value.length - 1 && ![t.subtotal, C.value[n + 1].subtotal].includes(null) ? (a(), o("line", {
509
533
  key: 0,
510
- class: F({ "donut-opacity": !0, "donut-behind": g.value !== null || S.value }),
534
+ class: P({ "donut-opacity": !0, "donut-behind": g.value !== null || $.value }),
511
535
  x1: t.x,
512
536
  y1: t.y,
513
537
  x2: C.value[n + 1].x,
@@ -516,42 +540,42 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
516
540
  "stroke-width": e.value.style.chart.layout.line.strokeWidth,
517
541
  "stroke-linecap": "round",
518
542
  "stroke-linejoin": "round"
519
- }, null, 10, Vt)) : d("", !0),
520
- t.subtotal !== null ? (a(), u("g", Ht, [
521
- t.subtotal ? (a(), u("circle", {
543
+ }, null, 10, Wt)) : d("", !0),
544
+ t.subtotal !== null ? (a(), o("g", Rt, [
545
+ t.subtotal ? (a(), o("circle", {
522
546
  key: 0,
523
547
  cx: t.x,
524
548
  cy: t.y,
525
549
  r: t.activeRadius,
526
550
  fill: e.value.style.chart.backgroundColor
527
- }, null, 8, Mt)) : d("", !0)
551
+ }, null, 8, Ut)) : d("", !0)
528
552
  ])) : d("", !0)
529
553
  ]))), 256)),
530
- (a(!0), u(p, null, k(C.value, (t, n) => (a(), u("g", {
531
- class: F({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || S.value })
554
+ (a(!0), o(p, null, k(C.value, (t, n) => (a(), o("g", {
555
+ class: P({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || $.value })
532
556
  }, [
533
- t.subtotal ? (a(), u("g", Wt, [
534
- g.value !== null && g.value === n ? (a(), u("g", Rt, [
535
- (a(!0), u(p, null, k(t.donutHover, (o) => (a(), u("g", null, [
557
+ t.subtotal ? (a(), o("g", Xt, [
558
+ g.value !== null && g.value === n ? (a(), o("g", Gt, [
559
+ (a(!0), o(p, null, k(t.donutHover, (u) => (a(), o("g", null, [
536
560
  v("path", {
537
- d: c(Te)(o, { x: o.center.endX, y: o.center.endY }, 12, 12, { x: t.x, y: t.y }, !0, 20),
538
- stroke: o.color,
561
+ d: c(Oe)(u, { x: u.center.endX, y: u.center.endY }, 12, 12, { x: t.x, y: t.y }, !0, 20),
562
+ stroke: u.color,
539
563
  "stroke-width": "1",
540
564
  "stroke-linecap": "round",
541
565
  "stroke-linejoin": "round",
542
566
  fill: "none"
543
- }, null, 8, Ut)
567
+ }, null, 8, jt)
544
568
  ]))), 256)),
545
- (a(!0), u(p, null, k(t.donutHover, (o, f) => (a(), u("g", null, [
569
+ (a(!0), o(p, null, k(t.donutHover, (u, f) => (a(), o("g", null, [
546
570
  v("text", {
547
571
  "data-cy-hover-label": "",
548
- "text-anchor": c(q)(o, !0, 0).anchor,
549
- x: c(q)(o, !0, 3).x,
550
- y: c(Ee)(o),
572
+ "text-anchor": c(Z)(u, !0, 0).anchor,
573
+ x: c(Z)(u, !0, 3).x,
574
+ y: c(Ve)(u),
551
575
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
552
576
  "font-size": 8,
553
577
  "font-weight": "bold"
554
- }, b(o.name) + ": " + b(Ce(o, t.donut)) + " (" + b(o.value === null ? "-" : j(o.value, o, f)) + ") ", 9, Xt)
578
+ }, b(u.name) + ": " + b(Le(u, t.donut)) + " (" + b(u.value === null ? "-" : j(u.value, u, f)) + ") ", 9, Bt)
555
579
  ]))), 256)),
556
580
  v("g", null, [
557
581
  v("circle", {
@@ -559,42 +583,42 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
559
583
  cy: t.y,
560
584
  r: t.hoverRadius,
561
585
  fill: e.value.style.chart.backgroundColor
562
- }, null, 8, Gt)
586
+ }, null, 8, Yt)
563
587
  ])
564
588
  ])) : d("", !0)
565
589
  ])) : d("", !0)
566
590
  ], 2))), 256)),
567
- (a(!0), u(p, null, k(C.value, (t, n) => (a(), u("g", {
568
- class: F({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || S.value })
591
+ (a(!0), o(p, null, k(C.value, (t, n) => (a(), o("g", {
592
+ class: P({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || $.value })
569
593
  }, [
570
- t.subtotal !== null ? (a(), u("g", jt, [
571
- t.subtotal === 0 ? (a(), u("circle", {
594
+ t.subtotal !== null ? (a(), o("g", Kt, [
595
+ t.subtotal === 0 ? (a(), o("circle", {
572
596
  key: 0,
573
597
  cx: t.x,
574
598
  cy: t.y,
575
599
  r: 3,
576
600
  fill: e.value.style.chart.color
577
- }, null, 8, Bt)) : g.value !== null && g.value === n ? (a(), u("g", Yt, [
578
- (a(!0), u(p, null, k(t.donutHover, (o, f) => (a(), u("path", {
579
- d: o.arcSlice,
580
- fill: `${o.color}`,
601
+ }, null, 8, qt)) : g.value !== null && g.value === n ? (a(), o("g", Jt, [
602
+ (a(!0), o(p, null, k(t.donutHover, (u, f) => (a(), o("path", {
603
+ d: u.arcSlice,
604
+ fill: `${u.color}`,
581
605
  "stroke-width": 1,
582
606
  stroke: e.value.style.chart.backgroundColor
583
- }, null, 8, Kt))), 256))
584
- ])) : (a(), u("g", qt, [
585
- (a(!0), u(p, null, k(t.donut, (o, f) => (a(), u("path", {
586
- d: o.arcSlice,
587
- fill: `${o.color}`,
607
+ }, null, 8, Qt))), 256))
608
+ ])) : (a(), o("g", Zt, [
609
+ (a(!0), o(p, null, k(t.donut, (u, f) => (a(), o("path", {
610
+ d: u.arcSlice,
611
+ fill: `${u.color}`,
588
612
  "stroke-width": 0.5,
589
613
  stroke: e.value.style.chart.backgroundColor
590
- }, null, 8, Jt))), 256))
614
+ }, null, 8, el))), 256))
591
615
  ]))
592
616
  ])) : d("", !0)
593
617
  ], 2))), 256)),
594
- (a(!0), u(p, null, k(C.value, (t, n) => (a(), u("g", {
595
- class: F({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || S.value })
618
+ (a(!0), o(p, null, k(C.value, (t, n) => (a(), o("g", {
619
+ class: P({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || $.value })
596
620
  }, [
597
- t.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (a(), u("text", {
621
+ t.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (a(), o("text", {
598
622
  key: 0,
599
623
  "text-anchor": "middle",
600
624
  x: t.x,
@@ -602,30 +626,30 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
602
626
  "font-size": e.value.style.chart.layout.dataLabels.fontSize,
603
627
  "font-weight": "bold",
604
628
  fill: e.value.style.chart.layout.dataLabels.color
605
- }, b(j(t.subtotal, t, n)), 9, Qt)) : d("", !0)
629
+ }, b(j(t.subtotal, t, n)), 9, tl)) : d("", !0)
606
630
  ], 2))), 256)),
607
- (a(!0), u(p, null, k(C.value, (t, n) => (a(), u("rect", {
631
+ (a(!0), o(p, null, k(C.value, (t, n) => (a(), o("rect", {
608
632
  x: s.value.left + n * w.value,
609
633
  y: r.value.absoluteHeight - s.value.bottom - 10,
610
634
  width: w.value,
611
635
  height: 10,
612
- fill: g.value === t.index ? `url(#hover_${T.value})` : "transparent",
613
- onClick: (o) => ee(t, n),
614
- class: F({ "donut-hover": g.value === t.index && t.subtotal })
615
- }, null, 10, Zt))), 256)),
616
- (a(!0), u(p, null, k(C.value, (t, n) => (a(), u("rect", {
636
+ fill: g.value === t.index ? `url(#hover_${E.value})` : "transparent",
637
+ onClick: (u) => oe(t, n),
638
+ class: P({ "donut-hover": g.value === t.index && t.subtotal })
639
+ }, null, 10, ll))), 256)),
640
+ (a(!0), o(p, null, k(C.value, (t, n) => (a(), o("rect", {
617
641
  "data-cy-trap": "",
618
642
  x: s.value.left + n * w.value,
619
643
  y: s.value.top,
620
644
  width: w.value,
621
645
  height: r.value.height,
622
646
  fill: "transparent",
623
- onMouseenter: (o) => Ge(t),
624
- onMouseleave: we,
625
- onClick: (o) => ee(t, n),
626
- class: F({ "donut-hover": g.value === t.index && t.subtotal })
627
- }, null, 42, el))), 256)),
628
- S.value ? (a(), u("g", tl, [
647
+ onMouseenter: (u) => Be(t),
648
+ onMouseleave: Ae,
649
+ onClick: (u) => oe(t, n),
650
+ class: P({ "donut-hover": g.value === t.index && t.subtotal })
651
+ }, null, 42, al))), 256)),
652
+ $.value ? (a(), o("g", ol, [
629
653
  v("rect", {
630
654
  rx: 4,
631
655
  x: s.value.left,
@@ -634,7 +658,7 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
634
658
  height: r.value.height,
635
659
  fill: e.value.style.chart.backgroundColor,
636
660
  style: { filter: "drop-shadow(0 12px 12px rgba(0,0,0,0.3))" }
637
- }, null, 8, ll),
661
+ }, null, 8, ul),
638
662
  v("line", {
639
663
  "data-html2canvas-ignore": "",
640
664
  x1: r.value.absoluteWidth - s.value.right - 15,
@@ -644,7 +668,7 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
644
668
  "stroke-linecap": "round",
645
669
  stroke: e.value.style.chart.color,
646
670
  "stroke-width": "1.5"
647
- }, null, 8, al),
671
+ }, null, 8, sl),
648
672
  v("line", {
649
673
  "data-html2canvas-ignore": "",
650
674
  x1: r.value.absoluteWidth - s.value.right - 15,
@@ -654,65 +678,65 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
654
678
  "stroke-linecap": "round",
655
679
  stroke: e.value.style.chart.color,
656
680
  "stroke-width": "1.5"
657
- }, null, 8, ul),
681
+ }, null, 8, nl),
658
682
  v("circle", {
659
683
  "data-cy-close": "",
660
- onClick: Le,
661
- onKeypress: Qe(Le, ["enter"]),
684
+ onClick: $e,
685
+ onKeypress: et($e, ["enter"]),
662
686
  cx: r.value.absoluteWidth - s.value.right - r.value.width / 40,
663
687
  cy: s.value.top + r.value.height / 30,
664
688
  r: r.value.height / 12,
665
689
  fill: "transparent",
666
690
  style: { cursor: "pointer" },
667
691
  tabindex: "0"
668
- }, null, 40, ol),
669
- (a(!0), u(p, null, k(A.value.donutFocus, (t) => (a(), u("g", null, [
692
+ }, null, 40, rl),
693
+ (a(!0), o(p, null, k(S.value.donutFocus, (t) => (a(), o("g", null, [
670
694
  v("path", {
671
695
  "data-cy-zoom-donut": "",
672
- d: c(Te)(t, { x: r.value.centerX, y: r.value.centerY }, 12, 12, !1, !1, 15),
696
+ d: c(Oe)(t, { x: r.value.centerX, y: r.value.centerY }, 12, 12, !1, !1, 15),
673
697
  stroke: t.color,
674
698
  "stroke-width": "1",
675
699
  "stroke-linecap": "round",
676
700
  "stroke-linejoin": "round",
677
701
  fill: "none",
678
702
  class: "vue-ui-donut-evolution-focus"
679
- }, null, 8, sl)
703
+ }, null, 8, il)
680
704
  ]))), 256)),
681
705
  v("circle", {
682
706
  cx: s.value.left + r.value.width / 2,
683
707
  cy: s.value.top + r.value.height / 2,
684
708
  r: r.value.height / 7,
685
709
  fill: e.value.style.chart.backgroundColor
686
- }, null, 8, rl),
687
- (a(!0), u(p, null, k(A.value.donutFocus, (t, n) => (a(), u("path", {
710
+ }, null, 8, cl),
711
+ (a(!0), o(p, null, k(S.value.donutFocus, (t, n) => (a(), o("path", {
688
712
  d: t.arcSlice,
689
713
  fill: `${t.color}`,
690
714
  "stroke-width": 1,
691
715
  stroke: e.value.style.chart.backgroundColor,
692
716
  class: "vue-ui-donut-evolution-focus"
693
- }, null, 8, nl))), 256)),
694
- (a(!0), u(p, null, k(A.value.donutFocus, (t, n) => (a(), u("g", il, [
717
+ }, null, 8, vl))), 256)),
718
+ (a(!0), o(p, null, k(S.value.donutFocus, (t, n) => (a(), o("g", dl, [
695
719
  v("text", {
696
- "text-anchor": c(q)(t, !0, 20).anchor,
697
- x: c(q)(t, !0, 10).x,
698
- y: c(Ee)(t),
720
+ "text-anchor": c(Z)(t, !0, 20).anchor,
721
+ x: c(Z)(t, !0, 10).x,
722
+ y: c(Ve)(t),
699
723
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
700
724
  "font-size": 10,
701
725
  "font-weight": "bold"
702
- }, b(t.name) + ": " + b(Ce(t, A.value.donutFocus)) + " (" + b(t.value === null ? "-" : j(t.value, t, n)) + ") ", 9, cl)
726
+ }, b(t.name) + ": " + b(Le(t, S.value.donutFocus)) + " (" + b(t.value === null ? "-" : j(t.value, t, n)) + ") ", 9, hl)
703
727
  ]))), 256)),
704
728
  v("circle", {
705
729
  cx: s.value.left + r.value.width / 2,
706
730
  cy: s.value.top + r.value.height / 2,
707
731
  r: r.value.height / 3.8,
708
- fill: `url(#focus_${T.value})`
709
- }, null, 8, vl),
732
+ fill: `url(#focus_${E.value})`
733
+ }, null, 8, yl),
710
734
  v("circle", {
711
735
  cx: s.value.left + r.value.width / 2,
712
736
  cy: s.value.top + r.value.height / 2,
713
737
  r: r.value.height / 7.7,
714
738
  fill: e.value.style.chart.backgroundColor
715
- }, null, 8, dl),
739
+ }, null, 8, fl),
716
740
  v("text", {
717
741
  "text-anchor": "middle",
718
742
  x: s.value.left + r.value.width / 2,
@@ -721,22 +745,22 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
721
745
  "font-weight": "bold",
722
746
  fill: e.value.style.chart.layout.dataLabels.color,
723
747
  class: "vue-ui-donut-evolution-focus"
724
- }, b(j(A.value.subtotal, A.value, null)), 9, hl),
725
- e.value.style.chart.layout.grid.xAxis.dataLabels.values[A.value.index] ? (a(), u("text", {
748
+ }, b(j(S.value.subtotal, S.value, null)), 9, gl),
749
+ e.value.style.chart.layout.grid.xAxis.dataLabels.values[S.value.index] ? (a(), o("text", {
726
750
  key: 0,
727
751
  x: s.value.left + 6,
728
752
  y: s.value.top + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2,
729
753
  "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 1.6,
730
754
  fill: e.value.style.chart.layout.dataLabels.color
731
- }, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(A.value.index) + Number(h.value.start)]), 9, yl)) : d("", !0)
755
+ }, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(S.value.index) + Number(h.value.start)]), 9, bl)) : d("", !0)
732
756
  ])) : d("", !0),
733
- I(l.$slots, "svg", { svg: r.value }, void 0, !0)
734
- ], 14, _t)) : d("", !0),
735
- l.$slots.watermark ? (a(), u("div", fl, [
736
- I(l.$slots, "watermark", ue(oe({ isPrinting: c(me) || c(pe) })), void 0, !0)
757
+ D(l.$slots, "svg", { svg: r.value }, void 0, !0)
758
+ ], 14, Lt)) : d("", !0),
759
+ l.$slots.watermark ? (a(), o("div", ml, [
760
+ D(l.$slots, "watermark", Y(K({ isPrinting: c(ke) || c(_e) })), void 0, !0)
737
761
  ])) : d("", !0),
738
- X.value ? d("", !0) : (a(), E(gt, {
739
- key: 4,
762
+ X.value ? d("", !0) : (a(), I(mt, {
763
+ key: 5,
740
764
  config: {
741
765
  type: "donutEvolution",
742
766
  style: {
@@ -752,8 +776,8 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
752
776
  }
753
777
  }
754
778
  }, null, 8, ["config"])),
755
- W.value > 1 && e.value.style.chart.zoom.show ? (a(), E(bt, {
756
- key: `slicer_${ye.value}`,
779
+ W.value > 1 && e.value.style.chart.zoom.show ? (a(), I(xt, {
780
+ key: `slicer_${ge.value}`,
757
781
  background: e.value.style.chart.zoom.color,
758
782
  borderColor: e.value.style.chart.backgroundColor,
759
783
  fontSize: e.value.style.chart.zoom.fontSize,
@@ -771,29 +795,29 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
771
795
  "onUpdate:start": i[0] || (i[0] = (t) => h.value.start = t),
772
796
  end: h.value.end,
773
797
  "onUpdate:end": i[1] || (i[1] = (t) => h.value.end = t),
774
- onReset: ce
798
+ onReset: he
775
799
  }, {
776
- "reset-action": P(({ reset: t }) => [
777
- I(l.$slots, "reset-action", ue(oe({ reset: t })), void 0, !0)
800
+ "reset-action": F(({ reset: t }) => [
801
+ D(l.$slots, "reset-action", Y(K({ reset: t })), void 0, !0)
778
802
  ]),
779
803
  _: 3
780
804
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"])) : d("", !0),
781
- e.value.style.chart.legend.show ? (a(), E(ft, {
782
- key: `legend_${be.value}`,
783
- legendSet: $e.value,
784
- config: je.value,
785
- onClickMarker: i[2] || (i[2] = ({ legend: t }) => te(t.uid))
805
+ e.value.style.chart.legend.show ? (a(), I(bt, {
806
+ key: `legend_${xe.value}`,
807
+ legendSet: Se.value,
808
+ config: Ye.value,
809
+ onClickMarker: i[2] || (i[2] = ({ legend: t }) => ue(t.uid))
786
810
  }, {
787
- item: P(({ legend: t, index: n }) => [
811
+ item: F(({ legend: t, index: n }) => [
788
812
  v("div", {
789
813
  "data-cy-legend-item": "",
790
- onClick: (o) => te(t.uid),
791
- style: ae(`opacity:${_.value.includes(t.uid) ? 0.5 : 1}`)
814
+ onClick: (u) => ue(t.uid),
815
+ style: re(`opacity:${_.value.includes(t.uid) ? 0.5 : 1}`)
792
816
  }, [
793
- Pe(b(t.name) + ": " + b(c(ne)(
817
+ Te(b(t.name) + ": " + b(c(ve)(
794
818
  e.value.style.chart.layout.dataLabels.formatter,
795
819
  t.value,
796
- c(K)({
820
+ c(Q)({
797
821
  p: e.value.style.chart.layout.dataLabels.prefix,
798
822
  v: t.value,
799
823
  s: e.value.style.chart.layout.dataLabels.suffix,
@@ -801,18 +825,18 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
801
825
  }),
802
826
  { datapoint: t, seriesIndex: n }
803
827
  )) + " ", 1),
804
- _.value.includes(t.uid) ? (a(), u("span", xl, " ( - % ) ")) : (a(), u("span", bl, " (" + b(isNaN(t.value / Se.value) ? "-" : c(K)({
805
- v: t.value / Se.value * 100,
828
+ _.value.includes(t.uid) ? (a(), o("span", kl, " ( - % ) ")) : (a(), o("span", pl, " (" + b(isNaN(t.value / Ne.value) ? "-" : c(Q)({
829
+ v: t.value / Ne.value * 100,
806
830
  s: "%",
807
831
  r: e.value.style.chart.legend.roundingPercentage
808
832
  })) + ") ", 1))
809
- ], 12, gl)
833
+ ], 12, xl)
810
834
  ]),
811
835
  _: 1
812
836
  }, 8, ["legendSet", "config"])) : d("", !0),
813
- I(l.$slots, "legend", { legend: $e.value }, void 0, !0),
814
- X.value ? (a(), E(xt, {
815
- key: 7,
837
+ D(l.$slots, "legend", { legend: Se.value }, void 0, !0),
838
+ X.value ? (a(), I(pt, {
839
+ key: 8,
816
840
  hideDetails: "",
817
841
  config: {
818
842
  open: G.value.showTable,
@@ -827,9 +851,9 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
827
851
  }
828
852
  }
829
853
  }, {
830
- content: P(() => [
831
- (a(), E(yt, {
832
- key: `table_${ge.value}`,
854
+ content: F(() => [
855
+ (a(), I(gt, {
856
+ key: `table_${me.value}`,
833
857
  colNames: V.value.colNames,
834
858
  head: V.value.head,
835
859
  body: V.value.body,
@@ -837,11 +861,11 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
837
861
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
838
862
  onClose: i[3] || (i[3] = (t) => G.value.showTable = !1)
839
863
  }, {
840
- th: P(({ th: t }) => [
841
- Pe(b(t.name ?? t), 1)
864
+ th: F(({ th: t }) => [
865
+ Te(b(t.name ?? t), 1)
842
866
  ]),
843
- td: P(({ td: t }) => [
844
- t.value === null ? (a(), u("span", ml, "-")) : (a(), u("b", pl, b(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + b(!isNaN(t.value) && t.value !== null ? Number(t.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : t) + b(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
867
+ td: F(({ td: t }) => [
868
+ t.value === null ? (a(), o("span", _l, "-")) : (a(), o("b", Cl, b(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + b(!isNaN(t.value) && t.value !== null ? Number(t.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : t) + b(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
845
869
  v("span", null, b(t.percentage && !isNaN(t.percentage) ? `(${Number(t.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
846
870
  ]),
847
871
  _: 1
@@ -849,9 +873,9 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
849
873
  ]),
850
874
  _: 1
851
875
  }, 8, ["config"])) : d("", !0)
852
- ], 14, kt));
876
+ ], 14, wt));
853
877
  }
854
- }, Il = /* @__PURE__ */ pt(kl, [["__scopeId", "data-v-715ec8d1"]]);
878
+ }, Vl = /* @__PURE__ */ Ct(wl, [["__scopeId", "data-v-aa1d86f3"]]);
855
879
  export {
856
- Il as default
880
+ Vl as default
857
881
  };