vue-data-ui 2.4.41 → 2.4.42

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 (165) hide show
  1. package/dist/{Arrow-6z0ZQva_.js → Arrow-DE71uBJZ.js} +1 -1
  2. package/dist/{Arrow-Cht76m69.cjs → Arrow-DTscDttD.cjs} +1 -1
  3. package/dist/{BaseIcon-DCE3wRiG.js → BaseIcon-C8XxmpRq.js} +1 -1
  4. package/dist/{BaseIcon-D-JUZiGA.cjs → BaseIcon-COOfxsl_.cjs} +1 -1
  5. package/dist/{DataTable-Cr3Xkxe4.cjs → DataTable-DEdQvqB1.cjs} +1 -1
  6. package/dist/{DataTable-B5DiCrf_.js → DataTable-D_w08xos.js} +2 -2
  7. package/dist/{Legend-DzxQIjDO.js → Legend-BWDoQii_.js} +1 -1
  8. package/dist/{Legend-BXG_XPom.cjs → Legend-C4rlR-Ge.cjs} +1 -1
  9. package/dist/{PackageVersion-S7OD_s5u.js → PackageVersion-CH6MCx6T.js} +1 -1
  10. package/dist/{PackageVersion-CMtZxTqq.cjs → PackageVersion-DKyD7D76.cjs} +1 -1
  11. package/dist/{PenAndPaper-BxJZd7k9.js → PenAndPaper-BWTR3U2d.js} +3 -3
  12. package/dist/{PenAndPaper-DWYhyZye.cjs → PenAndPaper-Dc2zn4C0.cjs} +1 -1
  13. package/dist/{Shape-CvL90fNe.cjs → Shape-BLS-KzBD.cjs} +1 -1
  14. package/dist/{Shape-C3ywBhkW.js → Shape-xrlfL_v4.js} +1 -1
  15. package/dist/Slicer-8gKX0l4Q.cjs +1 -0
  16. package/dist/Slicer-DIYseEL1.js +423 -0
  17. package/dist/{Title-D9gPXVTT.cjs → Title-B-xkTfi8.cjs} +1 -1
  18. package/dist/{Title-BB0O0yol.js → Title-Cnl9ySNH.js} +1 -1
  19. package/dist/Tooltip-Brbj6DqX.cjs +1 -0
  20. package/dist/{Tooltip-GvLaModr.js → Tooltip-DEAOBZ8h.js} +33 -25
  21. package/dist/index-B68kzBN9.cjs +9 -0
  22. package/dist/{index-B6Q1Fyk0.js → index-DnukYspq.js} +45 -41
  23. package/dist/style.css +1 -1
  24. package/dist/types/vue-data-ui.d.cts +4 -0
  25. package/dist/types/vue-data-ui.d.ts +4 -0
  26. package/dist/{useNestedProp-DQpuJSz3.js → useNestedProp-CVOQGx-X.js} +1 -1
  27. package/dist/{useNestedProp-bZitLnbb.cjs → useNestedProp-es9bVqY_.cjs} +1 -1
  28. package/dist/{usePrinter-DtpFEgOX.cjs → usePrinter-C9yUesCc.cjs} +1 -1
  29. package/dist/{usePrinter-D8dIU7aG.js → usePrinter-DVIALk5e.js} +1 -1
  30. package/dist/{vue-data-ui-H24TWcBx.js → vue-data-ui-BmmjmNbb.js} +60 -60
  31. package/dist/{vue-data-ui-DBN7iJHU.cjs → vue-data-ui-LA94HAVo.cjs} +1 -1
  32. package/dist/vue-data-ui.cjs +1 -1
  33. package/dist/vue-data-ui.js +3 -3
  34. package/dist/{vue-ui-3d-bar-BA2CQYGW.js → vue-ui-3d-bar-CnVJAgFO.js} +9 -9
  35. package/dist/{vue-ui-3d-bar-BaNI_M3v.cjs → vue-ui-3d-bar-DYswbvC_.cjs} +1 -1
  36. package/dist/{vue-ui-accordion-u4xDSvRn.cjs → vue-ui-accordion-D_K9gNUR.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-BOHicozd.js → vue-ui-accordion-f9NTID9e.js} +3 -3
  38. package/dist/{vue-ui-age-pyramid-DN25tjv-.cjs → vue-ui-age-pyramid-Bj9K08ws.cjs} +1 -1
  39. package/dist/{vue-ui-age-pyramid-vKWko9vn.js → vue-ui-age-pyramid-CL0RB7mU.js} +42 -41
  40. package/dist/{vue-ui-annotator-D4KNucw5.js → vue-ui-annotator-C82vEb7R.js} +1 -1
  41. package/dist/{vue-ui-annotator-BcxUQ5tM.cjs → vue-ui-annotator-DhwUZ4WB.cjs} +1 -1
  42. package/dist/{vue-ui-bullet-DZgtd_qb.js → vue-ui-bullet-BxYYiFnu.js} +15 -15
  43. package/dist/{vue-ui-bullet-C3DKTZbg.cjs → vue-ui-bullet-D6KC5yoe.cjs} +1 -1
  44. package/dist/vue-ui-candlestick-Duf3yfwR.js +740 -0
  45. package/dist/vue-ui-candlestick-lunuQ9Ka.cjs +2 -0
  46. package/dist/{vue-ui-carousel-table-C62szGjt.cjs → vue-ui-carousel-table-4z9ZACSk.cjs} +1 -1
  47. package/dist/{vue-ui-carousel-table-Bpsrlbx9.js → vue-ui-carousel-table-DQymYeK0.js} +4 -4
  48. package/dist/{vue-ui-chestnut-DhPSNM96.js → vue-ui-chestnut-DDNLUSav.js} +8 -8
  49. package/dist/{vue-ui-chestnut-VWwSZnUX.cjs → vue-ui-chestnut-iRODkXaw.cjs} +1 -1
  50. package/dist/{vue-ui-cursor-BM2OiZnZ.js → vue-ui-cursor-Bdud_Fxg.js} +2 -2
  51. package/dist/{vue-ui-cursor-BwnZYB4D.cjs → vue-ui-cursor-Bt_SieMc.cjs} +1 -1
  52. package/dist/{vue-ui-dashboard-D8FU1GbE.cjs → vue-ui-dashboard-BzRR9Ra7.cjs} +1 -1
  53. package/dist/{vue-ui-dashboard-BcnW7vDs.js → vue-ui-dashboard-CeVkJPeG.js} +2 -2
  54. package/dist/{vue-ui-digits-BmQBwho3.cjs → vue-ui-digits-DF3oLaaR.cjs} +1 -1
  55. package/dist/{vue-ui-digits-M4Pvrg0n.js → vue-ui-digits-DtNvb8lM.js} +2 -2
  56. package/dist/{vue-ui-donut-BgsQjURe.js → vue-ui-donut-C028OlzU.js} +99 -98
  57. package/dist/vue-ui-donut-evolution-2vQPsBFq.cjs +1 -0
  58. package/dist/vue-ui-donut-evolution-CprYApXF.js +908 -0
  59. package/dist/{vue-ui-donut-CZZfvbPk.cjs → vue-ui-donut-o09QqVJO.cjs} +1 -1
  60. package/dist/{vue-ui-dumbbell-zv7yiPPM.js → vue-ui-dumbbell-BV2LN5qt.js} +10 -10
  61. package/dist/{vue-ui-dumbbell-CsMqgiGr.cjs → vue-ui-dumbbell-CS8pY-mj.cjs} +1 -1
  62. package/dist/{vue-ui-flow-BqtIWBkz.js → vue-ui-flow-QRimZUXT.js} +46 -46
  63. package/dist/{vue-ui-flow-E5MkZ3Yb.cjs → vue-ui-flow-iNWWhp7U.cjs} +1 -1
  64. package/dist/{vue-ui-funnel-QU0_JscL.cjs → vue-ui-funnel-BL8vtmsw.cjs} +1 -1
  65. package/dist/{vue-ui-funnel-CmVLAttG.js → vue-ui-funnel-CBymVSdd.js} +19 -19
  66. package/dist/{vue-ui-galaxy-BPDH-9KW.cjs → vue-ui-galaxy-DSJrMBzj.cjs} +1 -1
  67. package/dist/{vue-ui-galaxy-sy8zvgcg.js → vue-ui-galaxy-KP3A9HVX.js} +53 -52
  68. package/dist/{vue-ui-gauge--hARSvgz.js → vue-ui-gauge-BuU0DDG0.js} +7 -7
  69. package/dist/{vue-ui-gauge-D_yokJMS.cjs → vue-ui-gauge-H9j8Dq5h.cjs} +1 -1
  70. package/dist/{vue-ui-gizmo-AUJq3EQL.cjs → vue-ui-gizmo-Bl9JoMk1.cjs} +1 -1
  71. package/dist/{vue-ui-gizmo-CvTeq5j0.js → vue-ui-gizmo-M7RalwJ6.js} +3 -3
  72. package/dist/{vue-ui-heatmap-D-xNLuqW.cjs → vue-ui-heatmap-BXWWh4iN.cjs} +1 -1
  73. package/dist/{vue-ui-heatmap-lI8oO-nh.js → vue-ui-heatmap-DSkfyl8j.js} +60 -59
  74. package/dist/{vue-ui-history-plot-BC0Rvo-r.cjs → vue-ui-history-plot-BUoUHKx6.cjs} +1 -1
  75. package/dist/{vue-ui-history-plot-D3CwJpll.js → vue-ui-history-plot-CYSDr-GH.js} +60 -59
  76. package/dist/{vue-ui-kpi-B4FQKZ_r.cjs → vue-ui-kpi-BXe7HQIh.cjs} +1 -1
  77. package/dist/{vue-ui-kpi-C0agq-Os.js → vue-ui-kpi-BvUaC7JA.js} +3 -3
  78. package/dist/{vue-ui-mini-loader-CkjJ5pRO.js → vue-ui-mini-loader-DM8ShcKo.js} +2 -2
  79. package/dist/{vue-ui-mini-loader-BJ70GAEv.cjs → vue-ui-mini-loader-zbjxzJTp.cjs} +1 -1
  80. package/dist/{vue-ui-molecule-CsQfkIEE.cjs → vue-ui-molecule-BdIRpOM9.cjs} +1 -1
  81. package/dist/{vue-ui-molecule-V9UFJHeV.js → vue-ui-molecule-CZi84tUl.js} +26 -25
  82. package/dist/{vue-ui-mood-radar-Cj_wOEbY.js → vue-ui-mood-radar-DDnbuNdv.js} +11 -11
  83. package/dist/{vue-ui-mood-radar-CdU2vusL.cjs → vue-ui-mood-radar-DipV_UPN.cjs} +1 -1
  84. package/dist/{vue-ui-nested-donuts-DFVQwbHg.js → vue-ui-nested-donuts-Chuuvtu-.js} +78 -77
  85. package/dist/{vue-ui-nested-donuts-DevV-xZr.cjs → vue-ui-nested-donuts-DuxVLzDH.cjs} +2 -2
  86. package/dist/{vue-ui-onion-BJ-PjA7d.js → vue-ui-onion-CIRGvycb.js} +49 -48
  87. package/dist/{vue-ui-onion-DGWktnME.cjs → vue-ui-onion-CvlwZgpu.cjs} +2 -2
  88. package/dist/{vue-ui-parallel-coordinate-plot-CjxZbVNa.cjs → vue-ui-parallel-coordinate-plot-eJMnJ_u2.cjs} +3 -3
  89. package/dist/{vue-ui-parallel-coordinate-plot-33naX1Ss.js → vue-ui-parallel-coordinate-plot-jv7L5_x8.js} +70 -69
  90. package/dist/{vue-ui-quadrant-xJaZzXgo.js → vue-ui-quadrant-CjjXU43-.js} +55 -54
  91. package/dist/{vue-ui-quadrant-DqZqBb2L.cjs → vue-ui-quadrant-ks_4yK85.cjs} +1 -1
  92. package/dist/{vue-ui-quick-chart-BwN9eLye.js → vue-ui-quick-chart-BAVQ2SJ2.js} +637 -622
  93. package/dist/vue-ui-quick-chart-Br2gTOPk.cjs +15 -0
  94. package/dist/{vue-ui-radar-B4EXwJDY.js → vue-ui-radar-CXXAYowO.js} +38 -37
  95. package/dist/{vue-ui-radar-CQ66YUG5.cjs → vue-ui-radar-kjh9y4cm.cjs} +1 -1
  96. package/dist/{vue-ui-rating-DNkygw1i.js → vue-ui-rating-DOqMciYJ.js} +2 -2
  97. package/dist/{vue-ui-rating-D334I4ju.cjs → vue-ui-rating-EEIqiBgY.cjs} +1 -1
  98. package/dist/{vue-ui-relation-circle-CP2Z6IWV.cjs → vue-ui-relation-circle-BEv568py.cjs} +1 -1
  99. package/dist/{vue-ui-relation-circle-BKeSh28h.js → vue-ui-relation-circle-CR3iWQV_.js} +19 -19
  100. package/dist/{vue-ui-rings-D6M3UNSE.js → vue-ui-rings-B--CFaNX.js} +49 -48
  101. package/dist/vue-ui-rings-CgvWaw5N.cjs +2 -0
  102. package/dist/{vue-ui-scatter-JUPbbsO7.js → vue-ui-scatter-C-RD4h73.js} +26 -25
  103. package/dist/{vue-ui-scatter-C9ZoWV1q.cjs → vue-ui-scatter-ChWlgb1L.cjs} +1 -1
  104. package/dist/{vue-ui-screenshot-DmLDHfF9.js → vue-ui-screenshot-C6-MOj7h.js} +1 -1
  105. package/dist/{vue-ui-screenshot-JMBX_AWn.cjs → vue-ui-screenshot-CtjCOun0.cjs} +1 -1
  106. package/dist/{vue-ui-skeleton-D7rg5vFC.js → vue-ui-skeleton-CXdyOF4T.js} +3 -3
  107. package/dist/{vue-ui-skeleton-E9_X0-sa.cjs → vue-ui-skeleton-DGCkWrND.cjs} +1 -1
  108. package/dist/{vue-ui-smiley-aRTznf8z.cjs → vue-ui-smiley-AYBZK1EE.cjs} +1 -1
  109. package/dist/{vue-ui-smiley-BAlHZm8H.js → vue-ui-smiley-CHXnJeLu.js} +2 -2
  110. package/dist/{vue-ui-spark-trend-DZR6Fqu5.cjs → vue-ui-spark-trend-D2wIBOvT.cjs} +1 -1
  111. package/dist/{vue-ui-spark-trend-J9swikF_.js → vue-ui-spark-trend-DO5rDGRm.js} +5 -5
  112. package/dist/{vue-ui-sparkbar-Bjmi8pMf.cjs → vue-ui-sparkbar-COUcdDjn.cjs} +1 -1
  113. package/dist/{vue-ui-sparkbar-B0tCpwZ9.js → vue-ui-sparkbar-CU3UNgHm.js} +4 -4
  114. package/dist/{vue-ui-sparkgauge-DVX2pIC3.js → vue-ui-sparkgauge-0810df6b.js} +4 -4
  115. package/dist/{vue-ui-sparkgauge-Dhzbkn67.cjs → vue-ui-sparkgauge-DrJzwEAh.cjs} +1 -1
  116. package/dist/{vue-ui-sparkhistogram-Wd6q0mqj.js → vue-ui-sparkhistogram-CENPsEeO.js} +5 -5
  117. package/dist/{vue-ui-sparkhistogram-gIaXDrFh.cjs → vue-ui-sparkhistogram-j7MGEYYJ.cjs} +1 -1
  118. package/dist/{vue-ui-sparkline-DYT-gts9.js → vue-ui-sparkline-BOYreaxT.js} +4 -4
  119. package/dist/{vue-ui-sparkline-B5ySeM9y.cjs → vue-ui-sparkline-CXMea9Ki.cjs} +1 -1
  120. package/dist/{vue-ui-sparkstackbar-ilvB3RBv.cjs → vue-ui-sparkstackbar-BJIo5y1n.cjs} +1 -1
  121. package/dist/{vue-ui-sparkstackbar-BMGA05VR.js → vue-ui-sparkstackbar-JvKmnoEy.js} +5 -5
  122. package/dist/vue-ui-stackbar-BOAmp-no.cjs +6 -0
  123. package/dist/{vue-ui-stackbar-BZbOagnf.js → vue-ui-stackbar-C3-hx7VM.js} +390 -377
  124. package/dist/{vue-ui-strip-plot-B-r4luYX.js → vue-ui-strip-plot-8MxOeTM_.js} +71 -70
  125. package/dist/{vue-ui-strip-plot-DPo7osh_.cjs → vue-ui-strip-plot-CmIS1Osx.cjs} +1 -1
  126. package/dist/{vue-ui-table-wlXHwJVW.js → vue-ui-table-CS-NSZjj.js} +1 -1
  127. package/dist/{vue-ui-table-C6z56ODT.cjs → vue-ui-table-hVmeT8wY.cjs} +1 -1
  128. package/dist/{vue-ui-table-heatmap-CM-c7n0F.js → vue-ui-table-heatmap-CGHYZFJy.js} +9 -9
  129. package/dist/{vue-ui-table-heatmap-B05GifSw.cjs → vue-ui-table-heatmap-k9e_RrhC.cjs} +1 -1
  130. package/dist/{vue-ui-table-sparkline-DHaEHFG_.js → vue-ui-table-sparkline-CRnJVQmO.js} +5 -5
  131. package/dist/{vue-ui-table-sparkline-Dx-ePVqW.cjs → vue-ui-table-sparkline-DiMZ_mh6.cjs} +1 -1
  132. package/dist/{vue-ui-thermometer-HCpOZBHv.cjs → vue-ui-thermometer-43jmlgFC.cjs} +1 -1
  133. package/dist/{vue-ui-thermometer-BU_ckSdu.js → vue-ui-thermometer-D2BUcsvF.js} +7 -7
  134. package/dist/{vue-ui-timer-CUChwyzF.cjs → vue-ui-timer-BO9Ipy0W.cjs} +1 -1
  135. package/dist/{vue-ui-timer-DiRZ849L.js → vue-ui-timer-Dc6zOjxq.js} +9 -9
  136. package/dist/{vue-ui-tiremarks-yoQtfbj7.cjs → vue-ui-tiremarks-CMUTe1vY.cjs} +1 -1
  137. package/dist/{vue-ui-tiremarks-BHMNb_tq.js → vue-ui-tiremarks-ejt0fqPg.js} +7 -7
  138. package/dist/{vue-ui-treemap-BpD6OdL3.js → vue-ui-treemap-DD8tFk9R.js} +98 -97
  139. package/dist/{vue-ui-treemap-BInwLSes.cjs → vue-ui-treemap-DqSHqaJK.cjs} +1 -1
  140. package/dist/{vue-ui-vertical-bar-CBNWMmCg.js → vue-ui-vertical-bar-CxydSPHF.js} +58 -57
  141. package/dist/{vue-ui-vertical-bar-hS4gzdKs.cjs → vue-ui-vertical-bar-D4dYglan.cjs} +2 -2
  142. package/dist/{vue-ui-waffle-Cmq6zhD8.cjs → vue-ui-waffle-CHWAepdl.cjs} +1 -1
  143. package/dist/{vue-ui-waffle-BE8iTrGF.js → vue-ui-waffle-DYdcFM17.js} +79 -78
  144. package/dist/{vue-ui-wheel-BXSIBRLM.js → vue-ui-wheel-CxtgGGpt.js} +7 -7
  145. package/dist/{vue-ui-wheel-BT0mLxln.cjs → vue-ui-wheel-_ynSyF3l.cjs} +1 -1
  146. package/dist/{vue-ui-word-cloud-3wvSYRbp.js → vue-ui-word-cloud-B0AhPT0k.js} +10 -10
  147. package/dist/{vue-ui-word-cloud-BXHlm41O.cjs → vue-ui-word-cloud-Ct16Xxaw.cjs} +1 -1
  148. package/dist/{vue-ui-xy-D8XvOgW6.js → vue-ui-xy-B3346TfB.js} +195 -185
  149. package/dist/vue-ui-xy-DHYbKvBg.cjs +3 -0
  150. package/dist/vue-ui-xy-canvas-DtPqmu7B.cjs +9 -0
  151. package/dist/{vue-ui-xy-canvas-Cx7vPyfT.js → vue-ui-xy-canvas-W7YGqG7f.js} +378 -365
  152. package/package.json +1 -1
  153. package/dist/Slicer-B2aHb4bj.cjs +0 -1
  154. package/dist/Slicer-D9ASV60L.js +0 -400
  155. package/dist/Tooltip-ypQtmi99.cjs +0 -1
  156. package/dist/index-B5Ugkauv.cjs +0 -9
  157. package/dist/vue-ui-candlestick-C8yBMu8-.js +0 -725
  158. package/dist/vue-ui-candlestick-DVEofXBZ.cjs +0 -2
  159. package/dist/vue-ui-donut-evolution-BO2-ARBX.js +0 -895
  160. package/dist/vue-ui-donut-evolution-DP14ctdf.cjs +0 -1
  161. package/dist/vue-ui-quick-chart-BzpXJYR_.cjs +0 -15
  162. package/dist/vue-ui-rings-2oDSTctd.cjs +0 -2
  163. package/dist/vue-ui-stackbar-BZKwsAjO.cjs +0 -6
  164. package/dist/vue-ui-xy-CfduqTWA.cjs +0 -3
  165. package/dist/vue-ui-xy-canvas-BTR-cL02.cjs +0 -9
@@ -0,0 +1,908 @@
1
+ import { computed as p, ref as m, onMounted as ot, watch as Ee, openBlock as a, createElementBlock as o, normalizeClass as P, normalizeStyle as ce, createBlock as D, createCommentVNode as v, unref as c, createSlots as ut, withCtx as I, renderSlot as F, normalizeProps as q, guardReactiveProps as J, createVNode as st, createElementVNode as d, Fragment as k, renderList as _, toDisplayString as b, withKeys as nt, createTextVNode as Oe, nextTick as X } from "vue";
2
+ import { u as rt, o as it, e as Q, g as ct, c as Ve, t as vt, a as dt, p as Z, C as He, b as ht, J as yt, d as ve, D as Me, m as de, X as ft, s as G, E as gt, i as he, f as ee, j as We, k as te, n as Re, K as Ue, q as mt, r as bt } from "./index-DnukYspq.js";
3
+ import { _ as xt } from "./Title-Cnl9ySNH.js";
4
+ import { u as pt, U as kt } from "./usePrinter-DVIALk5e.js";
5
+ import { D as _t } from "./DataTable-D_w08xos.js";
6
+ import { L as Ct } from "./Legend-BWDoQii_.js";
7
+ import wt from "./vue-ui-skeleton-CXdyOF4T.js";
8
+ import { S as Lt } from "./Slicer-DIYseEL1.js";
9
+ import zt from "./vue-ui-accordion-f9NTID9e.js";
10
+ import { u as Xe } from "./useNestedProp-CVOQGx-X.js";
11
+ import { _ as At } from "./PackageVersion-CH6MCx6T.js";
12
+ import { P as St } from "./PenAndPaper-BWTR3U2d.js";
13
+ import { _ as $t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"], Tt = ["stop-color"], Dt = ["id"], Et = ["stop-color"], Ot = ["stop-color"], Vt = ["stop-color"], Ht = { key: 0 }, Mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Rt = { key: 0 }, Ut = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Xt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Gt = ["x", "y", "font-size", "fill", "font-weight"], jt = ["text-anchor", "font-size", "fill", "transform"], Bt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Yt = { key: 1 }, Kt = ["cx", "cy", "r", "fill"], qt = { key: 0 }, Jt = { key: 0 }, Qt = ["d", "stroke"], Zt = ["text-anchor", "x", "y", "fill"], el = ["cx", "cy", "r", "fill"], tl = { key: 0 }, ll = ["cx", "cy", "fill"], al = { key: 1 }, ol = ["d", "fill", "stroke"], ul = { key: 2 }, sl = ["d", "fill", "stroke"], nl = ["x", "y", "font-size", "fill"], rl = ["x", "y", "width", "fill", "onClick"], il = ["x", "y", "width", "height", "onMouseenter", "onClick"], cl = {
15
+ key: 3,
16
+ "data-cy-zoom": "",
17
+ class: "vue-ui-donut-evolution-dialog"
18
+ }, vl = ["x", "y", "width", "height", "fill"], dl = ["x1", "y1", "x2", "y2", "stroke"], hl = ["x1", "y2", "x2", "y1", "stroke"], yl = ["onKeypress", "cx", "cy", "r"], fl = ["d", "stroke"], gl = ["cx", "cy", "r", "fill"], ml = ["d", "fill", "stroke"], bl = { class: "vue-ui-donut-evolution-focus" }, xl = ["text-anchor", "x", "y", "fill"], pl = ["cx", "cy", "r", "fill"], kl = ["cx", "cy", "r", "fill"], _l = ["x", "y", "fill"], Cl = ["x", "y", "font-size", "fill"], wl = {
19
+ key: 5,
20
+ class: "vue-data-ui-watermark"
21
+ }, Ll = ["onClick"], zl = { key: 0 }, Al = { key: 1 }, Sl = {
22
+ key: 9,
23
+ ref: "source",
24
+ dir: "auto"
25
+ }, $l = { key: 0 }, Nl = { key: 1 }, Il = {
26
+ __name: "vue-ui-donut-evolution",
27
+ props: {
28
+ config: {
29
+ type: Object,
30
+ default() {
31
+ return {};
32
+ }
33
+ },
34
+ dataset: {
35
+ type: Array,
36
+ default() {
37
+ return [];
38
+ }
39
+ }
40
+ },
41
+ emits: ["selectLegend"],
42
+ setup(Ge, { expose: je, emit: ye }) {
43
+ const x = Ge, { vue_ui_donut_evolution: Be } = rt(), j = p(() => !!x.dataset && x.dataset.length), h = m({
44
+ start: 0,
45
+ end: Math.max(...x.dataset.map((l) => l.values.length))
46
+ });
47
+ function fe() {
48
+ ge();
49
+ }
50
+ const V = m(null);
51
+ async function ge() {
52
+ (e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && V.value ? (e.value.style.chart.zoom.startIndex !== null && (await X(), await X(), V.value && V.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await X(), await X(), V.value && V.value.setEndValue(Ye(e.value.style.chart.zoom.endIndex + 1)))) : (h.value = {
53
+ start: 0,
54
+ end: O.value
55
+ }, xe.value += 1);
56
+ }
57
+ function Ye(l) {
58
+ const u = O.value;
59
+ return l > u ? u : l < 0 || e.value.style.chart.zoom.startIndex !== null && l < e.value.style.chart.zoom.startIndex ? e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex + 1 : 1 : l;
60
+ }
61
+ ot(() => {
62
+ me();
63
+ });
64
+ function me() {
65
+ it(x.dataset) ? Q({
66
+ componentName: "VueUiDonutEvolution",
67
+ type: "dataset"
68
+ }) : x.dataset.length && x.dataset.forEach((l, u) => {
69
+ ct({
70
+ datasetObject: l,
71
+ requiredAttributes: ["name", "values"]
72
+ }).forEach((t) => {
73
+ Q({
74
+ componentName: "VueUiDonutEvolution",
75
+ type: "datasetSerieAttribute",
76
+ property: t,
77
+ index: u
78
+ });
79
+ });
80
+ }), ge();
81
+ }
82
+ const E = m(Ve()), C = m([]), g = m(null), le = m(null), A = m(!1), S = m(null), ae = m(null), Ke = m(null), be = m(0), xe = m(0), pe = m(0), ke = m(0), _e = m(0), e = p({
83
+ get: () => Ce(),
84
+ set: (l) => l
85
+ });
86
+ function Ce() {
87
+ const l = Xe({
88
+ userConfig: x.config,
89
+ defaultConfig: Be
90
+ });
91
+ let u = {};
92
+ return l.theme ? u = {
93
+ ...Xe({
94
+ userConfig: vt.vue_ui_donut_evolution[l.theme] || x.config,
95
+ defaultConfig: l
96
+ }),
97
+ customPalette: dt[l.theme] || Z
98
+ } : u = l, x.config && He(x.config, "style.chart.zoom.startIndex") ? u.style.chart.zoom.startIndex = x.config.style.chart.zoom.startIndex : u.style.chart.zoom.startIndex = null, x.config && He(x.config, "style.chart.zoom.endIndex") ? u.style.chart.zoom.endIndex = x.config.style.chart.zoom.endIndex : u.style.chart.zoom.endIndex = null, u;
99
+ }
100
+ Ee(() => x.config, (l) => {
101
+ e.value = Ce(), me(), pe.value += 1, ke.value += 1, _e.value += 1;
102
+ }, { deep: !0 }), Ee(() => x.dataset, (l) => {
103
+ fe();
104
+ }, { deep: !0 });
105
+ const { isPrinting: we, isImaging: Le, generatePdf: ze, generateImage: Ae } = pt({
106
+ elementId: E.value,
107
+ fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution"
108
+ }), qe = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), Je = p(() => ht(e.value.customPalette)), B = m({
109
+ showTable: e.value.table.show
110
+ }), n = p(() => ({
111
+ top: e.value.style.chart.layout.padding.top,
112
+ right: e.value.style.chart.layout.padding.right,
113
+ bottom: e.value.style.chart.layout.padding.bottom,
114
+ left: e.value.style.chart.layout.padding.left
115
+ })), i = p(() => {
116
+ const l = e.value.style.chart.layout.height, u = e.value.style.chart.layout.width, t = l - n.value.top - n.value.bottom, r = u - n.value.left - n.value.right;
117
+ return {
118
+ absoluteHeight: l,
119
+ absoluteWidth: u,
120
+ centerX: n.value.left + r / 2,
121
+ centerY: n.value.top + t / 2,
122
+ height: t,
123
+ width: r
124
+ };
125
+ }), T = p(() => (x.dataset.forEach((l, u) => {
126
+ [null, void 0].includes(l.name) && Q({
127
+ componentName: "VueUiDonutEvolution",
128
+ type: "datasetSerieAttribute",
129
+ property: "name",
130
+ index: u
131
+ }), [null, void 0].includes(l.values) && Q({
132
+ componentName: "VueUiDonutEvolution",
133
+ type: "datasetSerieAttribute",
134
+ property: "values",
135
+ index: u
136
+ });
137
+ }), x.dataset.map((l, u) => ({
138
+ ...l,
139
+ values: yt(l.values),
140
+ color: ve(l.color) || Je.value[u] || Z[u] || Z[u % Z.length],
141
+ length: (l.values || []).length,
142
+ uid: Ve()
143
+ })))), R = p(() => T.value.filter((l) => !C.value.includes(l.uid)).map((l) => ({
144
+ ...l,
145
+ values: l.values.filter((u, t) => t >= h.value.start && t <= h.value.end)
146
+ }))), O = p(() => Math.max(...R.value.map((l) => l.length))), L = p(() => i.value.width / (h.value.end - h.value.start)), w = p(() => {
147
+ const l = [];
148
+ for (let s = 0; s < h.value.end - h.value.start; s += 1) {
149
+ const f = R.value.map((N) => N.values[s] ?? null), y = f.filter((N) => [void 0, null].includes(N)).length === f.length, $ = f.reduce((N, z) => N + z, 0), ie = f.map((N) => N / $), W = n.value.left + L.value * s + L.value / 2;
150
+ l.push({
151
+ index: s,
152
+ percentages: ie,
153
+ subtotal: y || $ < 0 ? null : $,
154
+ values: f,
155
+ x: W
156
+ });
157
+ }
158
+ const u = 0, t = Math.max(...l.map((s) => s.subtotal)), r = l.length === 1 ? t * 2 : t;
159
+ return l.map((s, f) => {
160
+ const y = L.value / 2 * 0.7, $ = y > i.value.width / 16 ? i.value.width / 16 : y, ie = g.value === s.index ? i.value.width / 16 : $, W = l.length > 4 ? y * 2 : y * 2 > L.value / 2 * 0.7 ? L.value / 2 * 0.7 : y * 2, N = i.value.absoluteHeight - n.value.bottom - i.value.height * s.subtotal / Me(u, r, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
161
+ return {
162
+ ...s,
163
+ y: N,
164
+ radius: $,
165
+ activeRadius: ie,
166
+ hoverRadius: W,
167
+ donut: de({
168
+ series: R.value.map((z, De) => ({
169
+ color: z.color,
170
+ name: z.name,
171
+ value: z.values[f] ?? 0
172
+ }))
173
+ }, s.x, N, $, $, 1.99999, 2, 1, 360, 105.25, $ / 2),
174
+ donutHover: de({
175
+ series: R.value.map((z, De) => ({
176
+ color: z.color,
177
+ name: z.name,
178
+ value: z.values[f] ?? 0
179
+ }))
180
+ }, s.x, N, W, W, 1.99999, 2, 1, 360, 105.25, W / 2),
181
+ donutFocus: de({
182
+ series: R.value.map((z, De) => ({
183
+ color: z.color,
184
+ name: z.name,
185
+ value: z.values[f] ?? 0
186
+ }))
187
+ }, i.value.centerX, i.value.centerY, i.value.height / 3.6, i.value.height / 3.6, 1.99999, 2, 1, 360, 105.25, i.value.height / 6)
188
+ };
189
+ });
190
+ });
191
+ function Y(l, u, t) {
192
+ return he(
193
+ e.value.style.chart.layout.dataLabels.formatter,
194
+ l,
195
+ ee({
196
+ p: e.value.style.chart.layout.dataLabels.prefix,
197
+ v: l,
198
+ s: e.value.style.chart.layout.dataLabels.suffix,
199
+ r: e.value.style.chart.layout.dataLabels.rounding
200
+ }),
201
+ { datapoint: u, index: t }
202
+ );
203
+ }
204
+ const oe = p(() => ({
205
+ max: Math.max(...w.value.map((l) => l.subtotal)),
206
+ min: 0
207
+ })), H = p(() => {
208
+ const l = w.value.length === 1 ? oe.value.max * 2 : oe.value.max;
209
+ return Me(oe.value.min, l, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
210
+ });
211
+ function Qe(l) {
212
+ return l / H.value.max;
213
+ }
214
+ const Ze = p(() => H.value.ticks.map((l) => ({
215
+ y: i.value.absoluteHeight - n.value.bottom - i.value.height * Qe(l),
216
+ value: l
217
+ })));
218
+ function Se(l, u) {
219
+ return isNaN(l.value / Ue(u, "value")) ? 0 : (l.value / Ue(u, "value") * 100).toFixed(0) + "%";
220
+ }
221
+ function $e() {
222
+ A.value || (g.value = null, le.value = null);
223
+ }
224
+ function et(l) {
225
+ A.value || (g.value = l.index, le.value = l);
226
+ }
227
+ const ue = m(null);
228
+ function se(l, u) {
229
+ l.subtotal && (le.value = null, g.value = null, A.value = !0, S.value = l, [null, void 0].includes(u) || (ue.value = u));
230
+ }
231
+ function Ne() {
232
+ S.value = null, A.value = !1, ue.value = null;
233
+ }
234
+ const Ie = p(() => T.value.map((l, u) => ({
235
+ name: l.name,
236
+ value: l.values.slice(h.value.start, h.value.end).reduce((t, r) => t + r, 0),
237
+ shape: "circle",
238
+ uid: l.uid,
239
+ color: l.color
240
+ })).sort((l, u) => u.value - l.value).map((l) => ({
241
+ ...l,
242
+ opacity: C.value.includes(l.uid) ? 0.5 : 1,
243
+ segregate: () => ne(l.uid),
244
+ isSegregated: C.value.includes(l.uid)
245
+ }))), Fe = p(() => w.value.map((l) => l.subtotal).reduce((l, u) => l + u, 0)), tt = p(() => ({
246
+ cy: "donut-div-legend",
247
+ backgroundColor: e.value.style.chart.legend.backgroundColor,
248
+ color: e.value.style.chart.legend.color,
249
+ fontSize: e.value.style.chart.legend.fontSize,
250
+ paddingBottom: 12,
251
+ fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
252
+ }));
253
+ function ne(l) {
254
+ if (C.value.includes(l))
255
+ C.value = C.value.filter((u) => u !== l), ye("selectLegend", null);
256
+ else {
257
+ if (C.value.length === T.value.length - 1) return;
258
+ C.value.push(l), ye("selectLegend", T.value.find((u) => u.uid === l));
259
+ }
260
+ S.value && se(w.value.find((u, t) => t === ue.value));
261
+ }
262
+ const M = p(() => {
263
+ const l = [""].concat(T.value.filter((s) => !C.value.includes(s.uid)).map((s) => ({
264
+ name: s.name,
265
+ color: s.color
266
+ }))).concat(["Σ"]);
267
+ let u = [];
268
+ for (let s = 0; s < O.value; s += 1) {
269
+ const f = T.value.filter((y) => !C.value.includes(y.uid)).map((y) => y.values[s] ?? 0).reduce((y, $) => y + $, 0);
270
+ u.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[s] ?? "-"].concat(T.value.filter((y) => !C.value.includes(y.uid)).map((y) => ({
271
+ value: y.values[s] ?? 0,
272
+ percentage: y.values[s] ? y.values[s] / f * 100 : 0
273
+ }))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(f.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
274
+ }
275
+ const t = {
276
+ th: {
277
+ backgroundColor: e.value.table.th.backgroundColor,
278
+ color: e.value.table.th.color,
279
+ outline: e.value.table.th.outline
280
+ },
281
+ td: {
282
+ backgroundColor: e.value.table.td.backgroundColor,
283
+ color: e.value.table.td.color,
284
+ outline: e.value.table.td.outline
285
+ },
286
+ breakpoint: e.value.table.responsiveBreakpoint
287
+ }, r = [
288
+ e.value.table.columnNames.period
289
+ ].concat(T.value.filter((s) => !C.value.includes(s.uid)).map((s) => s.name)).concat(e.value.table.columnNames.total);
290
+ return { head: l, body: u, config: t, colNames: r };
291
+ });
292
+ function lt() {
293
+ return T.value;
294
+ }
295
+ function Pe() {
296
+ X(() => {
297
+ const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], u = [...M.value.head.map((f) => f.name ?? f)], t = [...M.value.body.map((f) => f.map((y) => y.value ?? y))], r = l.concat([u]).concat(t), s = mt(r);
298
+ bt({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
299
+ });
300
+ }
301
+ const U = m(!1);
302
+ function at(l) {
303
+ U.value = l, be.value += 1;
304
+ }
305
+ function Te() {
306
+ B.value.showTable = !B.value.showTable;
307
+ }
308
+ const K = m(!1);
309
+ function re() {
310
+ K.value = !K.value;
311
+ }
312
+ return je({
313
+ getData: lt,
314
+ generatePdf: ze,
315
+ generateCsv: Pe,
316
+ generateImage: Ae,
317
+ toggleTable: Te,
318
+ toggleAnnotator: re
319
+ }), (l, u) => (a(), o("div", {
320
+ ref_key: "donutEvolutionChart",
321
+ ref: ae,
322
+ class: P(`vue-ui-donut-evolution ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
323
+ style: ce(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
324
+ id: E.value
325
+ }, [
326
+ e.value.userOptions.buttons.annotator ? (a(), D(St, {
327
+ key: 0,
328
+ parent: ae.value,
329
+ backgroundColor: e.value.style.chart.backgroundColor,
330
+ color: e.value.style.chart.color,
331
+ active: K.value,
332
+ onClose: re
333
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : v("", !0),
334
+ qe.value ? (a(), o("div", {
335
+ key: 1,
336
+ ref_key: "noTitle",
337
+ ref: Ke,
338
+ class: "vue-data-ui-no-title-space",
339
+ style: "height:36px; width: 100%;background:transparent"
340
+ }, null, 512)) : v("", !0),
341
+ e.value.style.chart.title.text ? (a(), o("div", {
342
+ key: 2,
343
+ style: "width:100%;background:transparent;padding-bottom:24px",
344
+ onMouseleave: $e
345
+ }, [
346
+ (a(), D(xt, {
347
+ key: `title_${pe.value}`,
348
+ config: {
349
+ title: {
350
+ cy: "donut-evolution-div-title",
351
+ ...e.value.style.chart.title
352
+ },
353
+ subtitle: {
354
+ cy: "donut-evolution-div-subtitle",
355
+ ...e.value.style.chart.title.subtitle
356
+ }
357
+ }
358
+ }, null, 8, ["config"]))
359
+ ], 32)) : v("", !0),
360
+ e.value.userOptions.show && j.value ? (a(), D(kt, {
361
+ ref: "details",
362
+ key: `user_options_${be.value}`,
363
+ backgroundColor: e.value.style.chart.backgroundColor,
364
+ color: e.value.style.chart.color,
365
+ isPrinting: c(we),
366
+ isImaging: c(Le),
367
+ uid: E.value,
368
+ hasPdf: e.value.userOptions.buttons.pdf,
369
+ hasImg: e.value.userOptions.buttons.img,
370
+ hasXls: e.value.userOptions.buttons.csv,
371
+ hasTable: e.value.userOptions.buttons.table,
372
+ hasFullscreen: e.value.userOptions.buttons.fullscreen,
373
+ isFullscreen: U.value,
374
+ titles: { ...e.value.userOptions.buttonTitles },
375
+ chartElement: ae.value,
376
+ position: e.value.userOptions.position,
377
+ hasAnnotator: e.value.userOptions.buttons.annotator,
378
+ isAnnotation: K.value,
379
+ onToggleFullscreen: at,
380
+ onGeneratePdf: c(ze),
381
+ onGenerateCsv: Pe,
382
+ onGenerateImage: c(Ae),
383
+ onToggleTable: Te,
384
+ onToggleAnnotator: re
385
+ }, ut({ _: 2 }, [
386
+ l.$slots.optionPdf ? {
387
+ name: "optionPdf",
388
+ fn: I(() => [
389
+ F(l.$slots, "optionPdf", {}, void 0, !0)
390
+ ]),
391
+ key: "0"
392
+ } : void 0,
393
+ l.$slots.optionCsv ? {
394
+ name: "optionCsv",
395
+ fn: I(() => [
396
+ F(l.$slots, "optionCsv", {}, void 0, !0)
397
+ ]),
398
+ key: "1"
399
+ } : void 0,
400
+ l.$slots.optionImg ? {
401
+ name: "optionImg",
402
+ fn: I(() => [
403
+ F(l.$slots, "optionImg", {}, void 0, !0)
404
+ ]),
405
+ key: "2"
406
+ } : void 0,
407
+ l.$slots.optionTable ? {
408
+ name: "optionTable",
409
+ fn: I(() => [
410
+ F(l.$slots, "optionTable", {}, void 0, !0)
411
+ ]),
412
+ key: "3"
413
+ } : void 0,
414
+ l.$slots.optionFullscreen ? {
415
+ name: "optionFullscreen",
416
+ fn: I(({ toggleFullscreen: t, isFullscreen: r }) => [
417
+ F(l.$slots, "optionFullscreen", q(J({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
418
+ ]),
419
+ key: "4"
420
+ } : void 0,
421
+ l.$slots.optionAnnotator ? {
422
+ name: "optionAnnotator",
423
+ fn: I(({ toggleAnnotator: t, isAnnotator: r }) => [
424
+ F(l.$slots, "optionAnnotator", q(J({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
425
+ ]),
426
+ key: "5"
427
+ } : void 0
428
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : v("", !0),
429
+ j.value ? (a(), o("svg", {
430
+ key: 4,
431
+ xmlns: c(ft),
432
+ class: P({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
433
+ viewBox: `0 0 ${i.value.absoluteWidth} ${i.value.absoluteHeight}`,
434
+ style: ce(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
435
+ }, [
436
+ st(At),
437
+ d("defs", null, [
438
+ d("linearGradient", {
439
+ id: `hover_${E.value}`,
440
+ x1: "0%",
441
+ y1: "0%",
442
+ x2: "0%",
443
+ y2: "100%"
444
+ }, [
445
+ d("stop", {
446
+ offset: "0%",
447
+ "stop-color": c(G)(e.value.style.chart.backgroundColor, e.value.style.chart.layout.highlighter.opacity)
448
+ }, null, 8, Pt),
449
+ d("stop", {
450
+ offset: "100%",
451
+ "stop-color": c(G)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity)
452
+ }, null, 8, Tt)
453
+ ], 8, Ft),
454
+ d("radialGradient", {
455
+ id: `focus_${E.value}`
456
+ }, [
457
+ d("stop", {
458
+ offset: "0%",
459
+ "stop-color": c(G)(c(ve)(e.value.style.chart.backgroundColor), 0)
460
+ }, null, 8, Et),
461
+ d("stop", {
462
+ offset: "77%",
463
+ "stop-color": c(G)("#FFFFFF", 30)
464
+ }, null, 8, Ot),
465
+ d("stop", {
466
+ offset: "100%",
467
+ "stop-color": c(G)(c(ve)(e.value.style.chart.backgroundColor), 0)
468
+ }, null, 8, Vt)
469
+ ], 8, Dt)
470
+ ]),
471
+ e.value.style.chart.layout.grid.show ? (a(), o("g", Ht, [
472
+ d("line", {
473
+ x1: n.value.left,
474
+ x2: n.value.left,
475
+ y1: n.value.top,
476
+ y2: n.value.top + i.value.height,
477
+ stroke: e.value.style.chart.layout.grid.stroke,
478
+ "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
479
+ "stroke-linecap": "round"
480
+ }, null, 8, Mt),
481
+ d("line", {
482
+ x1: n.value.left,
483
+ x2: i.value.absoluteWidth - n.value.right,
484
+ y1: i.value.absoluteHeight - n.value.bottom,
485
+ y2: i.value.absoluteHeight - n.value.bottom,
486
+ stroke: e.value.style.chart.layout.grid.stroke,
487
+ "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
488
+ "stroke-linecap": "round"
489
+ }, null, 8, Wt),
490
+ e.value.style.chart.layout.grid.showVerticalLines ? (a(), o("g", Rt, [
491
+ (a(!0), o(k, null, _(h.value.end - h.value.start, (t, r) => (a(), o("line", {
492
+ x1: n.value.left + (r + 1) * L.value,
493
+ x2: n.value.left + (r + 1) * L.value,
494
+ y1: n.value.top,
495
+ y2: i.value.absoluteHeight - n.value.bottom,
496
+ stroke: e.value.style.chart.layout.grid.stroke,
497
+ "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
498
+ "stroke-linecap": "round"
499
+ }, null, 8, Ut))), 256))
500
+ ])) : v("", !0)
501
+ ])) : v("", !0),
502
+ e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (a(), o("g", {
503
+ key: 1,
504
+ class: P({ "donut-opacity": !0, "donut-behind": g.value !== null || A.value })
505
+ }, [
506
+ (a(!0), o(k, null, _(Ze.value, (t, r) => (a(), o("g", null, [
507
+ t.value >= H.value.min && t.value <= H.value.max ? (a(), o("line", {
508
+ key: 0,
509
+ x1: n.value.left,
510
+ x2: n.value.left - 5,
511
+ y1: t.y,
512
+ y2: t.y,
513
+ stroke: e.value.style.chart.layout.grid.stroke,
514
+ "stroke-width": e.value.style.chart.layout.grid.strokeWidth
515
+ }, null, 8, Xt)) : v("", !0),
516
+ t.value >= H.value.min && t.value <= H.value.max ? (a(), o("text", {
517
+ key: 1,
518
+ x: n.value.left - 8 + e.value.style.chart.layout.grid.yAxis.dataLabels.offsetX,
519
+ y: t.y + e.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
520
+ "font-size": e.value.style.chart.layout.grid.yAxis.dataLabels.fontSize,
521
+ "text-anchor": "end",
522
+ fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
523
+ "font-weight": e.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
524
+ }, b(c(gt)(t.value) ? c(he)(
525
+ e.value.style.chart.layout.dataLabels.formatter,
526
+ t.value,
527
+ c(ee)({
528
+ p: e.value.style.chart.layout.dataLabels.prefix,
529
+ v: t.value,
530
+ s: e.value.style.chart.layout.dataLabels.suffix,
531
+ r: e.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
532
+ }),
533
+ { datapoint: t, seriesIndex: r }
534
+ ) : ""), 9, Gt)) : v("", !0)
535
+ ]))), 256))
536
+ ], 2)) : v("", !0),
537
+ e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (a(), o("g", {
538
+ key: 2,
539
+ class: P({ "donut-opacity": !0, "donut-behind": A.value })
540
+ }, [
541
+ (a(!0), o(k, null, _(h.value.end - h.value.start, (t, r) => (a(), o("g", null, [
542
+ e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (r === 0 || r === O.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast ? (a(), o("text", {
543
+ key: 0,
544
+ "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",
545
+ "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
546
+ fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
547
+ transform: `translate(${n.value.left + L.value * r + L.value / 2}, ${e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY + i.value.absoluteHeight - n.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
548
+ }, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(r) + Number(h.value.start)] ?? ""), 9, jt)) : v("", !0)
549
+ ]))), 256))
550
+ ], 2)) : v("", !0),
551
+ (a(!0), o(k, null, _(w.value, (t, r) => (a(), o("g", null, [
552
+ e.value.style.chart.layout.line.show && r < w.value.length - 1 && ![t.subtotal, w.value[r + 1].subtotal].includes(null) ? (a(), o("line", {
553
+ key: 0,
554
+ class: P({ "donut-opacity": !0, "donut-behind": g.value !== null || A.value }),
555
+ x1: t.x,
556
+ y1: t.y,
557
+ x2: w.value[r + 1].x,
558
+ y2: w.value[r + 1].y,
559
+ stroke: e.value.style.chart.layout.line.stroke,
560
+ "stroke-width": e.value.style.chart.layout.line.strokeWidth,
561
+ "stroke-linecap": "round",
562
+ "stroke-linejoin": "round"
563
+ }, null, 10, Bt)) : v("", !0),
564
+ t.subtotal !== null ? (a(), o("g", Yt, [
565
+ t.subtotal ? (a(), o("circle", {
566
+ key: 0,
567
+ cx: t.x,
568
+ cy: t.y,
569
+ r: t.activeRadius,
570
+ fill: e.value.style.chart.backgroundColor
571
+ }, null, 8, Kt)) : v("", !0)
572
+ ])) : v("", !0)
573
+ ]))), 256)),
574
+ (a(!0), o(k, null, _(w.value, (t, r) => (a(), o("g", {
575
+ class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || A.value })
576
+ }, [
577
+ t.subtotal ? (a(), o("g", qt, [
578
+ g.value !== null && g.value === r ? (a(), o("g", Jt, [
579
+ (a(!0), o(k, null, _(t.donutHover, (s) => (a(), o("g", null, [
580
+ d("path", {
581
+ d: c(We)(s, { x: s.center.endX, y: s.center.endY }, 12, 12, { x: t.x, y: t.y }, !0, 20),
582
+ stroke: s.color,
583
+ "stroke-width": "1",
584
+ "stroke-linecap": "round",
585
+ "stroke-linejoin": "round",
586
+ fill: "none"
587
+ }, null, 8, Qt)
588
+ ]))), 256)),
589
+ (a(!0), o(k, null, _(t.donutHover, (s, f) => (a(), o("g", null, [
590
+ d("text", {
591
+ "data-cy-hover-label": "",
592
+ "text-anchor": c(te)(s, !0, 0).anchor,
593
+ x: c(te)(s, !0, 3).x,
594
+ y: c(Re)(s),
595
+ fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
596
+ "font-size": 8,
597
+ "font-weight": "bold"
598
+ }, b(s.name) + ": " + b(Se(s, t.donut)) + " (" + b(s.value === null ? "-" : Y(s.value, s, f)) + ") ", 9, Zt)
599
+ ]))), 256)),
600
+ d("g", null, [
601
+ d("circle", {
602
+ cx: t.x,
603
+ cy: t.y,
604
+ r: t.hoverRadius,
605
+ fill: e.value.style.chart.backgroundColor
606
+ }, null, 8, el)
607
+ ])
608
+ ])) : v("", !0)
609
+ ])) : v("", !0)
610
+ ], 2))), 256)),
611
+ (a(!0), o(k, null, _(w.value, (t, r) => (a(), o("g", {
612
+ class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || A.value })
613
+ }, [
614
+ t.subtotal !== null ? (a(), o("g", tl, [
615
+ t.subtotal === 0 ? (a(), o("circle", {
616
+ key: 0,
617
+ cx: t.x,
618
+ cy: t.y,
619
+ r: 3,
620
+ fill: e.value.style.chart.color
621
+ }, null, 8, ll)) : g.value !== null && g.value === r ? (a(), o("g", al, [
622
+ (a(!0), o(k, null, _(t.donutHover, (s, f) => (a(), o("path", {
623
+ d: s.arcSlice,
624
+ fill: `${s.color}`,
625
+ "stroke-width": 1,
626
+ stroke: e.value.style.chart.backgroundColor
627
+ }, null, 8, ol))), 256))
628
+ ])) : (a(), o("g", ul, [
629
+ (a(!0), o(k, null, _(t.donut, (s, f) => (a(), o("path", {
630
+ d: s.arcSlice,
631
+ fill: `${s.color}`,
632
+ "stroke-width": 0.5,
633
+ stroke: e.value.style.chart.backgroundColor
634
+ }, null, 8, sl))), 256))
635
+ ]))
636
+ ])) : v("", !0)
637
+ ], 2))), 256)),
638
+ (a(!0), o(k, null, _(w.value, (t, r) => (a(), o("g", {
639
+ class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || A.value })
640
+ }, [
641
+ t.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (a(), o("text", {
642
+ key: 0,
643
+ "text-anchor": "middle",
644
+ x: t.x,
645
+ y: g.value === t.index && t.subtotal ? t.y + e.value.style.chart.layout.dataLabels.fontSize / 3 : t.y - t.radius - e.value.style.chart.layout.dataLabels.fontSize + e.value.style.chart.layout.dataLabels.offsetY,
646
+ "font-size": e.value.style.chart.layout.dataLabels.fontSize,
647
+ "font-weight": "bold",
648
+ fill: e.value.style.chart.layout.dataLabels.color
649
+ }, b(Y(t.subtotal, t, r)), 9, nl)) : v("", !0)
650
+ ], 2))), 256)),
651
+ (a(!0), o(k, null, _(w.value, (t, r) => (a(), o("rect", {
652
+ x: n.value.left + r * L.value,
653
+ y: i.value.absoluteHeight - n.value.bottom - 10,
654
+ width: L.value,
655
+ height: 10,
656
+ fill: g.value === t.index ? `url(#hover_${E.value})` : "transparent",
657
+ onClick: (s) => se(t, r),
658
+ class: P({ "donut-hover": g.value === t.index && t.subtotal })
659
+ }, null, 10, rl))), 256)),
660
+ (a(!0), o(k, null, _(w.value, (t, r) => (a(), o("rect", {
661
+ "data-cy-trap": "",
662
+ x: n.value.left + r * L.value,
663
+ y: n.value.top,
664
+ width: L.value,
665
+ height: i.value.height,
666
+ fill: "transparent",
667
+ onMouseenter: (s) => et(t),
668
+ onMouseleave: $e,
669
+ onClick: (s) => se(t, r),
670
+ class: P({ "donut-hover": g.value === t.index && t.subtotal })
671
+ }, null, 42, il))), 256)),
672
+ A.value ? (a(), o("g", cl, [
673
+ d("rect", {
674
+ rx: 4,
675
+ x: n.value.left,
676
+ y: n.value.top,
677
+ width: i.value.width,
678
+ height: i.value.height,
679
+ fill: e.value.style.chart.backgroundColor,
680
+ style: { filter: "drop-shadow(0 12px 12px rgba(0,0,0,0.3))" }
681
+ }, null, 8, vl),
682
+ d("line", {
683
+ "data-html2canvas-ignore": "",
684
+ x1: i.value.absoluteWidth - n.value.right - 15,
685
+ y1: n.value.top + 5,
686
+ x2: i.value.absoluteWidth - n.value.right - 4,
687
+ y2: n.value.top + 15.5,
688
+ "stroke-linecap": "round",
689
+ stroke: e.value.style.chart.color,
690
+ "stroke-width": "1.5"
691
+ }, null, 8, dl),
692
+ d("line", {
693
+ "data-html2canvas-ignore": "",
694
+ x1: i.value.absoluteWidth - n.value.right - 15,
695
+ y2: n.value.top + 5,
696
+ x2: i.value.absoluteWidth - n.value.right - 4,
697
+ y1: n.value.top + 15.5,
698
+ "stroke-linecap": "round",
699
+ stroke: e.value.style.chart.color,
700
+ "stroke-width": "1.5"
701
+ }, null, 8, hl),
702
+ d("circle", {
703
+ "data-cy-close": "",
704
+ onClick: Ne,
705
+ onKeypress: nt(Ne, ["enter"]),
706
+ cx: i.value.absoluteWidth - n.value.right - i.value.width / 40,
707
+ cy: n.value.top + i.value.height / 30,
708
+ r: i.value.height / 12,
709
+ fill: "transparent",
710
+ style: { cursor: "pointer" },
711
+ tabindex: "0"
712
+ }, null, 40, yl),
713
+ (a(!0), o(k, null, _(S.value.donutFocus, (t) => (a(), o("g", null, [
714
+ d("path", {
715
+ "data-cy-zoom-donut": "",
716
+ d: c(We)(t, { x: i.value.centerX, y: i.value.centerY }, 12, 12, !1, !1, 15),
717
+ stroke: t.color,
718
+ "stroke-width": "1",
719
+ "stroke-linecap": "round",
720
+ "stroke-linejoin": "round",
721
+ fill: "none",
722
+ class: "vue-ui-donut-evolution-focus"
723
+ }, null, 8, fl)
724
+ ]))), 256)),
725
+ d("circle", {
726
+ cx: n.value.left + i.value.width / 2,
727
+ cy: n.value.top + i.value.height / 2,
728
+ r: i.value.height / 7,
729
+ fill: e.value.style.chart.backgroundColor
730
+ }, null, 8, gl),
731
+ (a(!0), o(k, null, _(S.value.donutFocus, (t, r) => (a(), o("path", {
732
+ d: t.arcSlice,
733
+ fill: `${t.color}`,
734
+ "stroke-width": 1,
735
+ stroke: e.value.style.chart.backgroundColor,
736
+ class: "vue-ui-donut-evolution-focus"
737
+ }, null, 8, ml))), 256)),
738
+ (a(!0), o(k, null, _(S.value.donutFocus, (t, r) => (a(), o("g", bl, [
739
+ d("text", {
740
+ "text-anchor": c(te)(t, !0, 20).anchor,
741
+ x: c(te)(t, !0, 10).x,
742
+ y: c(Re)(t),
743
+ fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
744
+ "font-size": 10,
745
+ "font-weight": "bold"
746
+ }, b(t.name) + ": " + b(Se(t, S.value.donutFocus)) + " (" + b(t.value === null ? "-" : Y(t.value, t, r)) + ") ", 9, xl)
747
+ ]))), 256)),
748
+ d("circle", {
749
+ cx: n.value.left + i.value.width / 2,
750
+ cy: n.value.top + i.value.height / 2,
751
+ r: i.value.height / 3.8,
752
+ fill: `url(#focus_${E.value})`
753
+ }, null, 8, pl),
754
+ d("circle", {
755
+ cx: n.value.left + i.value.width / 2,
756
+ cy: n.value.top + i.value.height / 2,
757
+ r: i.value.height / 7.7,
758
+ fill: e.value.style.chart.backgroundColor
759
+ }, null, 8, kl),
760
+ d("text", {
761
+ "text-anchor": "middle",
762
+ x: n.value.left + i.value.width / 2,
763
+ y: n.value.top + i.value.height / 2 + 14 / 3,
764
+ "font-size": 14,
765
+ "font-weight": "bold",
766
+ fill: e.value.style.chart.layout.dataLabels.color,
767
+ class: "vue-ui-donut-evolution-focus"
768
+ }, b(Y(S.value.subtotal, S.value, null)), 9, _l),
769
+ e.value.style.chart.layout.grid.xAxis.dataLabels.values[S.value.index] ? (a(), o("text", {
770
+ key: 0,
771
+ x: n.value.left + 6,
772
+ y: n.value.top + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2,
773
+ "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 1.6,
774
+ fill: e.value.style.chart.layout.dataLabels.color
775
+ }, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(S.value.index) + Number(h.value.start)]), 9, Cl)) : v("", !0)
776
+ ])) : v("", !0),
777
+ F(l.$slots, "svg", { svg: i.value }, void 0, !0)
778
+ ], 14, It)) : v("", !0),
779
+ l.$slots.watermark ? (a(), o("div", wl, [
780
+ F(l.$slots, "watermark", q(J({ isPrinting: c(we) || c(Le) })), void 0, !0)
781
+ ])) : v("", !0),
782
+ j.value ? v("", !0) : (a(), D(wt, {
783
+ key: 6,
784
+ config: {
785
+ type: "donutEvolution",
786
+ style: {
787
+ backgroundColor: e.value.style.chart.backgroundColor,
788
+ donutEvolution: {
789
+ axis: {
790
+ color: "#CCCCCC"
791
+ },
792
+ donuts: {
793
+ color: "#CCCCCC"
794
+ }
795
+ }
796
+ }
797
+ }
798
+ }, null, 8, ["config"])),
799
+ O.value > 1 && e.value.style.chart.zoom.show ? (a(), D(Lt, {
800
+ ref_key: "slicerComponent",
801
+ ref: V,
802
+ key: `slicer_${xe.value}`,
803
+ background: e.value.style.chart.zoom.color,
804
+ borderColor: e.value.style.chart.backgroundColor,
805
+ fontSize: e.value.style.chart.zoom.fontSize,
806
+ useResetSlot: e.value.style.chart.zoom.useResetSlot,
807
+ labelLeft: e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(h.value.start)] || "",
808
+ labelRight: e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(h.value.end) - 1] || "",
809
+ textColor: e.value.style.chart.color,
810
+ inputColor: e.value.style.chart.zoom.color,
811
+ selectColor: e.value.style.chart.zoom.highlightColor,
812
+ max: O.value,
813
+ min: 0,
814
+ valueStart: h.value.start,
815
+ valueEnd: h.value.end,
816
+ start: h.value.start,
817
+ "onUpdate:start": u[0] || (u[0] = (t) => h.value.start = t),
818
+ end: h.value.end,
819
+ "onUpdate:end": u[1] || (u[1] = (t) => h.value.end = t),
820
+ refreshStartPoint: e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex : 0,
821
+ refreshEndPoint: e.value.style.chart.zoom.endIndex !== null ? e.value.style.chart.zoom.endIndex + 1 : O.value,
822
+ onReset: fe
823
+ }, {
824
+ "reset-action": I(({ reset: t }) => [
825
+ F(l.$slots, "reset-action", q(J({ reset: t })), void 0, !0)
826
+ ]),
827
+ _: 3
828
+ }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint"])) : v("", !0),
829
+ e.value.style.chart.legend.show ? (a(), D(Ct, {
830
+ key: `legend_${_e.value}`,
831
+ legendSet: Ie.value,
832
+ config: tt.value,
833
+ onClickMarker: u[2] || (u[2] = ({ legend: t }) => ne(t.uid))
834
+ }, {
835
+ item: I(({ legend: t, index: r }) => [
836
+ d("div", {
837
+ "data-cy-legend-item": "",
838
+ onClick: (s) => ne(t.uid),
839
+ style: ce(`opacity:${C.value.includes(t.uid) ? 0.5 : 1}`)
840
+ }, [
841
+ Oe(b(t.name) + ": " + b(c(he)(
842
+ e.value.style.chart.layout.dataLabels.formatter,
843
+ t.value,
844
+ c(ee)({
845
+ p: e.value.style.chart.layout.dataLabels.prefix,
846
+ v: t.value,
847
+ s: e.value.style.chart.layout.dataLabels.suffix,
848
+ r: e.value.style.chart.legend.roundingValue
849
+ }),
850
+ { datapoint: t, seriesIndex: r }
851
+ )) + " ", 1),
852
+ C.value.includes(t.uid) ? (a(), o("span", Al, " ( - % ) ")) : (a(), o("span", zl, " (" + b(isNaN(t.value / Fe.value) ? "-" : c(ee)({
853
+ v: t.value / Fe.value * 100,
854
+ s: "%",
855
+ r: e.value.style.chart.legend.roundingPercentage
856
+ })) + ") ", 1))
857
+ ], 12, Ll)
858
+ ]),
859
+ _: 1
860
+ }, 8, ["legendSet", "config"])) : v("", !0),
861
+ F(l.$slots, "legend", { legend: Ie.value }, void 0, !0),
862
+ l.$slots.source ? (a(), o("div", Sl, [
863
+ F(l.$slots, "source", {}, void 0, !0)
864
+ ], 512)) : v("", !0),
865
+ j.value ? (a(), D(zt, {
866
+ key: 10,
867
+ hideDetails: "",
868
+ config: {
869
+ open: B.value.showTable,
870
+ maxHeight: 1e4,
871
+ body: {
872
+ backgroundColor: e.value.style.chart.backgroundColor,
873
+ color: e.value.style.chart.color
874
+ },
875
+ head: {
876
+ backgroundColor: e.value.style.chart.backgroundColor,
877
+ color: e.value.style.chart.color
878
+ }
879
+ }
880
+ }, {
881
+ content: I(() => [
882
+ (a(), D(_t, {
883
+ key: `table_${ke.value}`,
884
+ colNames: M.value.colNames,
885
+ head: M.value.head,
886
+ body: M.value.body,
887
+ config: M.value.config,
888
+ title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
889
+ onClose: u[3] || (u[3] = (t) => B.value.showTable = !1)
890
+ }, {
891
+ th: I(({ th: t }) => [
892
+ Oe(b(t.name ?? t), 1)
893
+ ]),
894
+ td: I(({ td: t }) => [
895
+ t.value === null ? (a(), o("span", $l, "-")) : (a(), o("b", Nl, 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)),
896
+ d("span", null, b(t.percentage && !isNaN(t.percentage) ? `(${Number(t.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
897
+ ]),
898
+ _: 1
899
+ }, 8, ["colNames", "head", "body", "config", "title"]))
900
+ ]),
901
+ _: 1
902
+ }, 8, ["config"])) : v("", !0)
903
+ ], 14, Nt));
904
+ }
905
+ }, Gl = /* @__PURE__ */ $t(Il, [["__scopeId", "data-v-390e9759"]]);
906
+ export {
907
+ Gl as default
908
+ };