vue-data-ui 2.6.31 → 2.6.33

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 (159) hide show
  1. package/dist/{Arrow-P8JQ180M.js → Arrow-CySI5WXS.js} +1 -1
  2. package/dist/{Arrow-DlzoZbyy.cjs → Arrow-D9Cx7yNm.cjs} +1 -1
  3. package/dist/{BaseIcon-q0bEOOzl.cjs → BaseIcon-DHiLL_fd.cjs} +1 -1
  4. package/dist/{BaseIcon-AmoKryXo.js → BaseIcon-yRdPDQYi.js} +1 -1
  5. package/dist/{DataTable-B4YF6guk.js → DataTable-CymEUBrB.js} +2 -2
  6. package/dist/{DataTable-DL8_xKlk.cjs → DataTable-DfACiSKB.cjs} +1 -1
  7. package/dist/{Legend-tU5gqFrZ.cjs → Legend-BIrzMw48.cjs} +1 -1
  8. package/dist/{Legend-BMXzxIhA.js → Legend-Dm8L5Q-n.js} +2 -2
  9. package/dist/{PackageVersion-DcMafJMi.js → PackageVersion-C7Kxfp8d.js} +1 -1
  10. package/dist/{PackageVersion-DHtx9fnE.cjs → PackageVersion-DHHD1pK8.cjs} +1 -1
  11. package/dist/{PenAndPaper-ljJaW1FE.js → PenAndPaper-B6mLV273.js} +3 -3
  12. package/dist/{PenAndPaper-DPoMEHE6.cjs → PenAndPaper-CFMRVGvO.cjs} +1 -1
  13. package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-B-psJjxF.cjs → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-CZuRGpSW.cjs} +1 -1
  14. package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-CF1vjG1v.js → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-DnIHK8Bn.js} +3 -3
  15. package/dist/{Shape-C_rBdSHr.cjs → Shape-CS_aB3gx.cjs} +1 -1
  16. package/dist/{Shape-Bs9E3f4-.js → Shape-CTCRhxVm.js} +1 -1
  17. package/dist/{Slicer-qokIr-TL.js → Slicer-D-pmXgbB.js} +2 -2
  18. package/dist/{Slicer-9-SDSvre.cjs → Slicer-DfrNSRmr.cjs} +1 -1
  19. package/dist/{Title-BwZtefYd.js → Title-ClweHziI.js} +1 -1
  20. package/dist/{Title-CsERtJKI.cjs → Title-DYIZaB52.cjs} +1 -1
  21. package/dist/{Tooltip-C06-4zGf.cjs → Tooltip-BxPLoa1P.cjs} +1 -1
  22. package/dist/{Tooltip-eCCz9HFo.js → Tooltip-CwgVvawH.js} +1 -1
  23. package/dist/index-5Nqsp08z.cjs +9 -0
  24. package/dist/{index-CHWA6Lnw.js → index-CHd0x1w7.js} +9 -1
  25. package/dist/style.css +1 -1
  26. package/dist/types/vue-data-ui.d.cts +8 -0
  27. package/dist/types/vue-data-ui.d.ts +8 -0
  28. package/dist/{useNestedProp-BJQoarHp.cjs → useNestedProp-CYEru22Q.cjs} +1 -1
  29. package/dist/{useNestedProp-ByBiJC9_.js → useNestedProp-ogqjeCgu.js} +1 -1
  30. package/dist/{usePrinter-DibtVl2x.js → usePrinter-COflJ9IY.js} +1 -1
  31. package/dist/{usePrinter-BRTNfg7r.cjs → usePrinter-Co0gNFi4.cjs} +1 -1
  32. package/dist/{vue-data-ui-NwBkWKwf.cjs → vue-data-ui-BISXIpQC.cjs} +1 -1
  33. package/dist/{vue-data-ui-JGaDyjOa.js → vue-data-ui-D7TICC_8.js} +61 -61
  34. package/dist/vue-data-ui.cjs +1 -1
  35. package/dist/vue-data-ui.js +1 -1
  36. package/dist/{vue-ui-3d-bar-nYsGYklC.js → vue-ui-3d-bar-B8I5-_SN.js} +9 -9
  37. package/dist/{vue-ui-3d-bar-DbmbJ68T.cjs → vue-ui-3d-bar-CsZZf6KA.cjs} +1 -1
  38. package/dist/{vue-ui-accordion-gHGrRoVr.js → vue-ui-accordion-BycnrMhw.js} +3 -3
  39. package/dist/{vue-ui-accordion-8mzPx86h.cjs → vue-ui-accordion-eNcQ4Qy9.cjs} +1 -1
  40. package/dist/{vue-ui-age-pyramid-BpGOmhzz.js → vue-ui-age-pyramid-CH5IFjXl.js} +10 -10
  41. package/dist/{vue-ui-age-pyramid-DLRaoIRm.cjs → vue-ui-age-pyramid-V8EPSeIo.cjs} +1 -1
  42. package/dist/{vue-ui-annotator-DhJ0ivNn.cjs → vue-ui-annotator-Bojgsf1A.cjs} +1 -1
  43. package/dist/{vue-ui-annotator-CjM5ctaG.js → vue-ui-annotator-EBFtRDu2.js} +1 -1
  44. package/dist/{vue-ui-bullet-R702Xv5R.cjs → vue-ui-bullet-Bbt32DPE.cjs} +1 -1
  45. package/dist/{vue-ui-bullet-DJvBVKjg.js → vue-ui-bullet-DNLkjVr7.js} +8 -8
  46. package/dist/{vue-ui-candlestick-5cmDQiwo.js → vue-ui-candlestick-B8FTeSph.js} +11 -11
  47. package/dist/{vue-ui-candlestick-DCBBy4C8.cjs → vue-ui-candlestick-DrnRQBLi.cjs} +1 -1
  48. package/dist/{vue-ui-carousel-table-CkGU0B6s.cjs → vue-ui-carousel-table-CPMeg8dU.cjs} +1 -1
  49. package/dist/{vue-ui-carousel-table-meUcOS-A.js → vue-ui-carousel-table-U6AhEbhl.js} +4 -4
  50. package/dist/{vue-ui-chestnut-C-GeGI6H.cjs → vue-ui-chestnut-BYhPgImT.cjs} +1 -1
  51. package/dist/{vue-ui-chestnut-C6DlvXs9.js → vue-ui-chestnut-CCjlZbLU.js} +8 -8
  52. package/dist/{vue-ui-circle-pack-3zIDTUNF.js → vue-ui-circle-pack-BdEkFMER.js} +9 -9
  53. package/dist/{vue-ui-circle-pack-mZPZZ3IN.cjs → vue-ui-circle-pack-BiACafv3.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-B-mv_xEC.js → vue-ui-cursor-DooCJMdM.js} +2 -2
  55. package/dist/{vue-ui-cursor-DOTfG9P-.cjs → vue-ui-cursor-DsuP-ugg.cjs} +1 -1
  56. package/dist/{vue-ui-dashboard-BLKM20n8.cjs → vue-ui-dashboard-Cm89Wlej.cjs} +1 -1
  57. package/dist/{vue-ui-dashboard-i5ysWN1s.js → vue-ui-dashboard-dTICThoZ.js} +2 -2
  58. package/dist/{vue-ui-digits-B8crXGKw.js → vue-ui-digits-BK_nukcY.js} +2 -2
  59. package/dist/{vue-ui-digits-B-LNRFDc.cjs → vue-ui-digits-Bmg6fKvn.cjs} +1 -1
  60. package/dist/{vue-ui-donut-CdhiYoyd.cjs → vue-ui-donut-BV2b_q-r.cjs} +1 -1
  61. package/dist/{vue-ui-donut-_RwrFzJe.js → vue-ui-donut-BqaMnhzs.js} +12 -12
  62. package/dist/{vue-ui-donut-evolution-BynR7yrN.js → vue-ui-donut-evolution-BfK2N_OS.js} +249 -239
  63. package/dist/vue-ui-donut-evolution-DIpBwwwo.cjs +1 -0
  64. package/dist/{vue-ui-dumbbell-o86706ds.js → vue-ui-dumbbell-ChDEK_tg.js} +10 -10
  65. package/dist/{vue-ui-dumbbell-B5z4t3b-.cjs → vue-ui-dumbbell-D-BQOMn2.cjs} +1 -1
  66. package/dist/{vue-ui-flow-BkjQ5DxV.js → vue-ui-flow-Bsyvlyox.js} +9 -9
  67. package/dist/{vue-ui-flow-DepnWmwK.cjs → vue-ui-flow-QXJ2486z.cjs} +1 -1
  68. package/dist/{vue-ui-funnel-Dj7-Wzf2.js → vue-ui-funnel-CWrQAc_2.js} +9 -9
  69. package/dist/{vue-ui-funnel-CoyfIA1Y.cjs → vue-ui-funnel-D-_2vSzZ.cjs} +1 -1
  70. package/dist/{vue-ui-galaxy-n9zXvOd-.js → vue-ui-galaxy-DDL9N7cu.js} +11 -11
  71. package/dist/{vue-ui-galaxy-DOzFYtp0.cjs → vue-ui-galaxy-DXHiG1XG.cjs} +1 -1
  72. package/dist/{vue-ui-gauge-BPpaze3S.js → vue-ui-gauge-CmGbr2JI.js} +7 -7
  73. package/dist/{vue-ui-gauge-DrTs5UqB.cjs → vue-ui-gauge-Q8HJzmdJ.cjs} +1 -1
  74. package/dist/{vue-ui-gizmo-DJxRFhVW.cjs → vue-ui-gizmo-B6eM8f2m.cjs} +1 -1
  75. package/dist/{vue-ui-gizmo-CTmN8V32.js → vue-ui-gizmo-DJ6j9Aeq.js} +3 -3
  76. package/dist/{vue-ui-heatmap-JYG2Pn3A.cjs → vue-ui-heatmap-BEqTRKNR.cjs} +1 -1
  77. package/dist/{vue-ui-heatmap-ljQkIdZn.js → vue-ui-heatmap-BV1e4eQa.js} +10 -10
  78. package/dist/{vue-ui-history-plot-CQx5XlN1.js → vue-ui-history-plot-0AgMY947.js} +11 -11
  79. package/dist/{vue-ui-history-plot-Ul0TT4Wf.cjs → vue-ui-history-plot-Bk3PRLiy.cjs} +1 -1
  80. package/dist/{vue-ui-kpi--LMVG67F.cjs → vue-ui-kpi-CLKaNzg4.cjs} +1 -1
  81. package/dist/{vue-ui-kpi-BfCuGNby.js → vue-ui-kpi-DbwF9xbW.js} +3 -3
  82. package/dist/{vue-ui-mini-loader-cJg8IvUw.cjs → vue-ui-mini-loader-BKBoYq9i.cjs} +1 -1
  83. package/dist/{vue-ui-mini-loader-BqpELr7O.js → vue-ui-mini-loader-BVluuvzK.js} +2 -2
  84. package/dist/{vue-ui-molecule-YDA7UdtF.cjs → vue-ui-molecule-C3UaIKWM.cjs} +1 -1
  85. package/dist/{vue-ui-molecule-Bv_Pe_8Q.js → vue-ui-molecule-DKZY5je5.js} +10 -10
  86. package/dist/{vue-ui-mood-radar-hKh_tnq2.cjs → vue-ui-mood-radar-ChjPfrNg.cjs} +1 -1
  87. package/dist/{vue-ui-mood-radar-CcykgM0n.js → vue-ui-mood-radar-DUEoYN4i.js} +11 -11
  88. package/dist/{vue-ui-nested-donuts-BWcLao-y.js → vue-ui-nested-donuts-e2LTCShn.js} +11 -11
  89. package/dist/{vue-ui-nested-donuts-Cix5WlV9.cjs → vue-ui-nested-donuts-w_6dLd_Z.cjs} +1 -1
  90. package/dist/{vue-ui-onion-D6iR8PW6.js → vue-ui-onion-BQToq-FX.js} +11 -11
  91. package/dist/{vue-ui-onion-Cgo2ZVwO.cjs → vue-ui-onion-D2a-OVR4.cjs} +1 -1
  92. package/dist/{vue-ui-parallel-coordinate-plot-Bm-oID-Y.cjs → vue-ui-parallel-coordinate-plot-ClZ-SZIs.cjs} +1 -1
  93. package/dist/{vue-ui-parallel-coordinate-plot-DEE9ou_Q.js → vue-ui-parallel-coordinate-plot-DmaLc-vc.js} +12 -12
  94. package/dist/{vue-ui-quadrant-DhSD6jGf.cjs → vue-ui-quadrant-BAdrkGOd.cjs} +1 -1
  95. package/dist/{vue-ui-quadrant-CZQJGEbA.js → vue-ui-quadrant-VNDHh0EI.js} +12 -12
  96. package/dist/{vue-ui-quick-chart-BX3hOGEG.js → vue-ui-quick-chart-DpESrT3S.js} +9 -9
  97. package/dist/{vue-ui-quick-chart-GTYfOv6C.cjs → vue-ui-quick-chart-L1pXeRo2.cjs} +1 -1
  98. package/dist/{vue-ui-radar-CRhU6BWh.cjs → vue-ui-radar-CoD99YMe.cjs} +1 -1
  99. package/dist/{vue-ui-radar-BIGFuJe_.js → vue-ui-radar-ijj2zK6B.js} +12 -12
  100. package/dist/{vue-ui-rating-BSGT8Rew.cjs → vue-ui-rating-CVq6FGzO.cjs} +1 -1
  101. package/dist/{vue-ui-rating-CSR7_gV-.js → vue-ui-rating-DaQniAhR.js} +2 -2
  102. package/dist/{vue-ui-relation-circle-tZFvSMa1.cjs → vue-ui-relation-circle-Bfqj1lKo.cjs} +1 -1
  103. package/dist/{vue-ui-relation-circle-JEjpgv8I.js → vue-ui-relation-circle-DnS1k1dz.js} +7 -7
  104. package/dist/{vue-ui-rings-C-i8ANyb.cjs → vue-ui-rings-C82MH1XM.cjs} +1 -1
  105. package/dist/{vue-ui-rings-DoNQjBvE.js → vue-ui-rings-_-wB8Dx8.js} +12 -12
  106. package/dist/{vue-ui-scatter-_WWbvZen.cjs → vue-ui-scatter-DjBUAJSP.cjs} +1 -1
  107. package/dist/{vue-ui-scatter-CW2fwwda.js → vue-ui-scatter-Tf5H57RV.js} +12 -12
  108. package/dist/{vue-ui-screenshot-B95FU-Gc.js → vue-ui-screenshot-BPD_eU_h.js} +1 -1
  109. package/dist/{vue-ui-screenshot-DfIuMlBS.cjs → vue-ui-screenshot-By8K48Bz.cjs} +1 -1
  110. package/dist/{vue-ui-skeleton-BSUFPx4a.js → vue-ui-skeleton-CiSslJHA.js} +3 -3
  111. package/dist/{vue-ui-skeleton-KlT3Rmkn.cjs → vue-ui-skeleton-DIY6O2EI.cjs} +1 -1
  112. package/dist/{vue-ui-smiley-CfLGqmi5.cjs → vue-ui-smiley-CeJ811lJ.cjs} +1 -1
  113. package/dist/{vue-ui-smiley-qDBRPyDQ.js → vue-ui-smiley-CusRL969.js} +2 -2
  114. package/dist/{vue-ui-spark-trend-BSpnjX1o.js → vue-ui-spark-trend-9hXc05Kt.js} +5 -5
  115. package/dist/{vue-ui-spark-trend-S4a2SDhB.cjs → vue-ui-spark-trend-CvBcZPFC.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-CrTC1o2D.js → vue-ui-sparkbar-BGjPsKz4.js} +4 -4
  117. package/dist/{vue-ui-sparkbar-CTLSRwph.cjs → vue-ui-sparkbar-DtFHX1xp.cjs} +1 -1
  118. package/dist/{vue-ui-sparkgauge-CXN-HNq2.js → vue-ui-sparkgauge-Br97pFzp.js} +4 -4
  119. package/dist/{vue-ui-sparkgauge-CEOGh__Q.cjs → vue-ui-sparkgauge-Dz2o3Vkv.cjs} +1 -1
  120. package/dist/{vue-ui-sparkhistogram-p7VmC6Jh.cjs → vue-ui-sparkhistogram-BEQtxMl3.cjs} +1 -1
  121. package/dist/{vue-ui-sparkhistogram-B_lhpWvH.js → vue-ui-sparkhistogram-DWKDs8CX.js} +5 -5
  122. package/dist/{vue-ui-sparkline-FWL-fTwQ.cjs → vue-ui-sparkline-5pneAbJV.cjs} +1 -1
  123. package/dist/{vue-ui-sparkline-D9ETPDKl.js → vue-ui-sparkline-DVF8d2rq.js} +4 -4
  124. package/dist/{vue-ui-sparkstackbar-DtWHuAGZ.cjs → vue-ui-sparkstackbar-Bo9xPwqS.cjs} +1 -1
  125. package/dist/{vue-ui-sparkstackbar-QxbvlLet.js → vue-ui-sparkstackbar-Ciarns4C.js} +5 -5
  126. package/dist/vue-ui-stackbar-DDNKdoIm.cjs +6 -0
  127. package/dist/{vue-ui-stackbar-lsjnigfJ.js → vue-ui-stackbar-Skvv8Izk.js} +43 -36
  128. package/dist/{vue-ui-strip-plot-D-wDSHF4.cjs → vue-ui-strip-plot-BDyRGbaN.cjs} +1 -1
  129. package/dist/{vue-ui-strip-plot-D39kSpeQ.js → vue-ui-strip-plot-D2DUXvQF.js} +11 -11
  130. package/dist/{vue-ui-table-C4ViP9oJ.cjs → vue-ui-table-6328bnSV.cjs} +1 -1
  131. package/dist/{vue-ui-table-h-SNgy2Q.js → vue-ui-table-CiMuA_V3.js} +1 -1
  132. package/dist/{vue-ui-table-heatmap-ClhJSmyw.js → vue-ui-table-heatmap-CJLwOpZ4.js} +4 -4
  133. package/dist/{vue-ui-table-heatmap-CeEQjHdT.cjs → vue-ui-table-heatmap-Dxe2Mc7m.cjs} +1 -1
  134. package/dist/{vue-ui-table-sparkline-RFOlGtum.js → vue-ui-table-sparkline-CofZ5SiD.js} +5 -5
  135. package/dist/{vue-ui-table-sparkline-DLt4efL6.cjs → vue-ui-table-sparkline-D5k9m8Ky.cjs} +1 -1
  136. package/dist/{vue-ui-thermometer-C9H37a-g.cjs → vue-ui-thermometer-5DuE5S9D.cjs} +1 -1
  137. package/dist/{vue-ui-thermometer-CE6mLojO.js → vue-ui-thermometer-C6r81S1q.js} +7 -7
  138. package/dist/{vue-ui-timer-Bdq6_32v.js → vue-ui-timer-BxBGVOts.js} +5 -5
  139. package/dist/{vue-ui-timer-BCnbpogm.cjs → vue-ui-timer-CNfCHaCI.cjs} +1 -1
  140. package/dist/{vue-ui-tiremarks-CdOzGAzN.cjs → vue-ui-tiremarks-VxnNBfwd.cjs} +1 -1
  141. package/dist/{vue-ui-tiremarks-CaqziySq.js → vue-ui-tiremarks-neYv8YdE.js} +7 -7
  142. package/dist/{vue-ui-treemap-fuhipZma.js → vue-ui-treemap-C_DyHcfy.js} +11 -11
  143. package/dist/{vue-ui-treemap-BH7r2blb.cjs → vue-ui-treemap-DCYqTFWX.cjs} +1 -1
  144. package/dist/{vue-ui-vertical-bar-DnUrxS2t.cjs → vue-ui-vertical-bar-BBI4sSkr.cjs} +1 -1
  145. package/dist/{vue-ui-vertical-bar-ByHpElpA.js → vue-ui-vertical-bar-swAJ5THA.js} +12 -12
  146. package/dist/{vue-ui-waffle-CURVbAVs.cjs → vue-ui-waffle-AGnhyqPg.cjs} +1 -1
  147. package/dist/{vue-ui-waffle-D7Y55F5z.js → vue-ui-waffle-UIcF0vq_.js} +12 -12
  148. package/dist/{vue-ui-wheel-DjGKyAh5.js → vue-ui-wheel-Dq3KhBve.js} +7 -7
  149. package/dist/{vue-ui-wheel-KCxiG6Xt.cjs → vue-ui-wheel-K_CF86R3.cjs} +1 -1
  150. package/dist/{vue-ui-word-cloud-H0hw5gjm.cjs → vue-ui-word-cloud-CVsCsUgh.cjs} +1 -1
  151. package/dist/{vue-ui-word-cloud-CVTb20DJ.js → vue-ui-word-cloud-PBQryx9x.js} +10 -10
  152. package/dist/{vue-ui-xy-C80BPN7E.js → vue-ui-xy-BAVwgB5L.js} +14 -14
  153. package/dist/{vue-ui-xy-DnsJUjcc.cjs → vue-ui-xy-OF3B97YO.cjs} +1 -1
  154. package/dist/{vue-ui-xy-canvas-BEx7_7h7.js → vue-ui-xy-canvas-B7jQQ5JF.js} +12 -12
  155. package/dist/{vue-ui-xy-canvas-BcUjj3X8.cjs → vue-ui-xy-canvas-C9-pQ3Tv.cjs} +1 -1
  156. package/package.json +1 -1
  157. package/dist/index-_gyicZFE.cjs +0 -9
  158. package/dist/vue-ui-donut-evolution-Byaufydi.cjs +0 -1
  159. package/dist/vue-ui-stackbar-CnXEfFH0.cjs +0 -6
@@ -1,30 +1,30 @@
1
- import { computed as p, ref as b, onMounted as it, watch as Re, createElementBlock as o, openBlock as a, unref as c, normalizeStyle as Q, normalizeClass as P, createBlock as D, createCommentVNode as v, renderSlot as S, createSlots as ct, withCtx as $, normalizeProps as G, guardReactiveProps as j, createVNode as vt, createElementVNode as d, Fragment as k, renderList as _, toDisplayString as m, withKeys as dt, createTextVNode as Me, nextTick as B } from "vue";
2
- import { u as ht, o as yt, e as Z, g as ft, c as Ue, t as gt, p as ee, a as bt, C as We, b as mt, d as ve, J as xt, D as Xe, m as de, X as pt, s as Y, E as kt, i as he, f as te, j as Ge, k as je, n as le, q as _t, r as Ct, K as Be } from "./index-CHWA6Lnw.js";
3
- import { _ as wt } from "./Title-BwZtefYd.js";
4
- import { u as zt, U as Lt } from "./usePrinter-DibtVl2x.js";
5
- import { D as St } from "./DataTable-B4YF6guk.js";
6
- import { L as $t } from "./Legend-BMXzxIhA.js";
7
- import At from "./vue-ui-skeleton-BSUFPx4a.js";
8
- import { S as It } from "./Slicer-qokIr-TL.js";
9
- import Nt from "./vue-ui-accordion-gHGrRoVr.js";
10
- import { u as Ye } from "./useNestedProp-ByBiJC9_.js";
11
- import { _ as Ft } from "./PackageVersion-DcMafJMi.js";
12
- import { P as Pt } from "./PenAndPaper-ljJaW1FE.js";
13
- import { u as Ot } from "./useUserOptionState-BIvW1Kz7.js";
14
- import { u as Dt } from "./useChartAccessibility-BWojgys7.js";
15
- import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"], Rt = ["id"], Mt = ["stop-color"], Ut = ["stop-color"], Wt = ["id"], Xt = ["stop-color"], Gt = ["stop-color"], jt = ["stop-color"], Bt = { key: 1 }, Yt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Kt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], qt = { key: 0 }, Jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Zt = ["x", "y", "font-size", "fill", "font-weight"], el = ["text-anchor", "font-size", "fill", "transform"], tl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ll = { key: 1 }, al = ["cx", "cy", "r", "fill"], ol = { key: 0 }, ul = { key: 0 }, sl = ["d", "stroke"], nl = ["text-anchor", "x", "y", "fill"], rl = ["cx", "cy", "r", "fill"], il = { key: 0 }, cl = ["cx", "cy", "fill"], vl = { key: 1 }, dl = ["d", "fill", "stroke"], hl = { key: 2 }, yl = ["d", "fill", "stroke"], fl = ["x", "y", "font-size", "fill"], gl = ["x", "y", "width", "fill", "onClick"], bl = ["x", "y", "width", "height", "onMouseenter", "onClick"], ml = {
1
+ import { computed as p, ref as b, onMounted as vt, watch as Ue, createElementBlock as o, openBlock as a, unref as c, normalizeStyle as Z, normalizeClass as P, createBlock as D, createCommentVNode as v, renderSlot as S, createSlots as dt, withCtx as A, normalizeProps as B, guardReactiveProps as G, createVNode as ht, createElementVNode as y, Fragment as k, renderList as _, toDisplayString as m, withKeys as yt, createTextVNode as We, nextTick as j } from "vue";
2
+ import { u as ft, o as gt, e as Q, g as bt, c as Xe, t as mt, p as ee, a as xt, C as Be, b as pt, d as ve, J as kt, D as Ge, m as de, X as _t, s as Y, E as Ct, i as he, f as te, j as je, k as Ye, n as le, q as wt, r as zt, K as Ke } from "./index-CHd0x1w7.js";
3
+ import { _ as Lt } from "./Title-ClweHziI.js";
4
+ import { u as St, U as At } from "./usePrinter-COflJ9IY.js";
5
+ import { D as $t } from "./DataTable-CymEUBrB.js";
6
+ import { L as It } from "./Legend-Dm8L5Q-n.js";
7
+ import Nt from "./vue-ui-skeleton-CiSslJHA.js";
8
+ import { S as Ft } from "./Slicer-D-pmXgbB.js";
9
+ import Pt from "./vue-ui-accordion-BycnrMhw.js";
10
+ import { u as qe } from "./useNestedProp-ogqjeCgu.js";
11
+ import { _ as Ot } from "./PackageVersion-C7Kxfp8d.js";
12
+ import { P as Dt } from "./PenAndPaper-B6mLV273.js";
13
+ import { u as Et } from "./useUserOptionState-BIvW1Kz7.js";
14
+ import { u as Tt } from "./useChartAccessibility-BWojgys7.js";
15
+ import { _ as Vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"], Ut = ["id"], Wt = ["stop-color"], Xt = ["stop-color"], Bt = ["id"], Gt = ["stop-color"], jt = ["stop-color"], Yt = ["stop-color"], Kt = { key: 1 }, qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Zt = { key: 0 }, Qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], el = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], tl = ["x", "y", "font-size", "fill", "font-weight"], ll = ["text-anchor", "font-size", "fill", "transform"], al = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ol = { key: 1 }, ul = ["cx", "cy", "r", "fill"], sl = { key: 0 }, nl = { key: 0 }, rl = ["d", "stroke"], il = ["text-anchor", "x", "y", "fill"], cl = ["cx", "cy", "r", "fill"], vl = { key: 0 }, dl = ["cx", "cy", "fill"], hl = { key: 1 }, yl = ["d", "fill", "stroke"], fl = { key: 2 }, gl = ["d", "fill", "stroke"], bl = ["x", "y", "font-size", "fill"], ml = ["x", "y", "width", "fill", "onClick"], xl = ["x", "y", "width", "height", "onMouseenter", "onClick"], pl = {
17
17
  key: 4,
18
18
  "data-cy-zoom": "",
19
19
  class: "vue-ui-donut-evolution-dialog"
20
- }, xl = ["x", "y", "width", "height", "fill"], pl = ["x1", "y1", "x2", "y2", "stroke"], kl = ["x1", "y2", "x2", "y1", "stroke"], _l = ["cx", "cy", "r"], Cl = ["d", "stroke"], wl = ["cx", "cy", "r", "fill"], zl = ["d", "fill", "stroke"], Ll = { class: "vue-ui-donut-evolution-focus" }, Sl = ["text-anchor", "x", "y", "fill"], $l = ["cx", "cy", "r", "fill"], Al = ["cx", "cy", "r", "fill"], Il = ["x", "y", "fill"], Nl = ["x", "y", "font-size", "fill"], Fl = {
20
+ }, kl = ["x", "y", "width", "height", "fill"], _l = ["x1", "y1", "x2", "y2", "stroke"], Cl = ["x1", "y2", "x2", "y1", "stroke"], wl = ["cx", "cy", "r"], zl = ["d", "stroke"], Ll = ["cx", "cy", "r", "fill"], Sl = ["d", "fill", "stroke"], Al = { class: "vue-ui-donut-evolution-focus" }, $l = ["text-anchor", "x", "y", "fill"], Il = ["cx", "cy", "r", "fill"], Nl = ["cx", "cy", "r", "fill"], Fl = ["x", "y", "fill"], Pl = ["x", "y", "font-size", "fill"], Ol = {
21
21
  key: 5,
22
22
  class: "vue-data-ui-watermark"
23
- }, Pl = ["onClick"], Ol = { key: 0 }, Dl = { key: 1 }, Tl = {
23
+ }, Dl = ["onClick"], El = { key: 0 }, Tl = { key: 1 }, Vl = {
24
24
  key: 9,
25
25
  ref: "source",
26
26
  dir: "auto"
27
- }, El = { key: 0 }, Vl = { key: 1 }, Hl = {
27
+ }, Hl = { key: 0 }, Rl = { key: 1 }, Ml = {
28
28
  __name: "vue-ui-donut-evolution",
29
29
  props: {
30
30
  config: {
@@ -41,8 +41,8 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
41
41
  }
42
42
  },
43
43
  emits: ["selectLegend"],
44
- setup(Ke, { expose: qe, emit: Je }) {
45
- const { vue_ui_donut_evolution: Qe } = ht(), x = Ke, K = p(() => !!x.dataset && x.dataset.length), h = b({
44
+ setup(Je, { expose: Ze, emit: Qe }) {
45
+ const { vue_ui_donut_evolution: et } = ft(), x = Je, K = p(() => !!x.dataset && x.dataset.length), d = b({
46
46
  start: 0,
47
47
  end: Math.max(...x.dataset.map((l) => l.values.length))
48
48
  });
@@ -51,28 +51,28 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
51
51
  }
52
52
  const V = b(null);
53
53
  async function fe() {
54
- (e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && V.value ? (e.value.style.chart.zoom.startIndex !== null && (await B(), await B(), V.value && V.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await B(), await B(), V.value && V.value.setEndValue(Ze(e.value.style.chart.zoom.endIndex + 1)))) : (h.value = {
54
+ (e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && V.value ? (e.value.style.chart.zoom.startIndex !== null && (await j(), await j(), V.value && V.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await j(), await j(), V.value && V.value.setEndValue(tt(e.value.style.chart.zoom.endIndex + 1)))) : (d.value = {
55
55
  start: 0,
56
- end: E.value
56
+ end: T.value
57
57
  }, xe.value += 1);
58
58
  }
59
- function Ze(l) {
60
- const u = E.value;
59
+ function tt(l) {
60
+ const u = T.value;
61
61
  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;
62
62
  }
63
- it(() => {
63
+ vt(() => {
64
64
  ge();
65
65
  });
66
66
  function ge() {
67
- yt(x.dataset) ? Z({
67
+ gt(x.dataset) ? Q({
68
68
  componentName: "VueUiDonutEvolution",
69
69
  type: "dataset"
70
70
  }) : x.dataset.length && x.dataset.forEach((l, u) => {
71
- ft({
71
+ bt({
72
72
  datasetObject: l,
73
73
  requiredAttributes: ["name", "values"]
74
74
  }).forEach((t) => {
75
- Z({
75
+ Q({
76
76
  componentName: "VueUiDonutEvolution",
77
77
  type: "datasetSerieAttribute",
78
78
  property: t,
@@ -81,33 +81,33 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
81
81
  });
82
82
  }), fe();
83
83
  }
84
- const T = b(Ue()), C = b([]), g = b(null), ae = b(null), A = b(!1), I = b(null), be = b(null), et = b(null), me = b(0), xe = b(0), pe = b(0), ke = b(0), _e = b(0), Ce = Je, e = p({
84
+ const E = b(Xe()), C = b([]), g = b(null), ae = b(null), $ = b(!1), I = b(null), be = b(null), lt = b(null), me = b(0), xe = b(0), pe = b(0), ke = b(0), _e = b(0), Ce = Qe, e = p({
85
85
  get: () => Se(),
86
86
  set: (l) => l
87
- }), { userOptionsVisible: oe, setUserOptionsVisibility: we, keepUserOptionState: ze } = Ot({ config: e.value }), { svgRef: Le } = Dt({ config: e.value.style.chart.title });
87
+ }), { userOptionsVisible: oe, setUserOptionsVisibility: we, keepUserOptionState: ze } = Et({ config: e.value }), { svgRef: Le } = Tt({ config: e.value.style.chart.title });
88
88
  function Se() {
89
- const l = Ye({
89
+ const l = qe({
90
90
  userConfig: x.config,
91
- defaultConfig: Qe
91
+ defaultConfig: et
92
92
  });
93
93
  let u = {};
94
94
  return l.theme ? u = {
95
- ...Ye({
96
- userConfig: bt.vue_ui_donut_evolution[l.theme] || x.config,
95
+ ...qe({
96
+ userConfig: xt.vue_ui_donut_evolution[l.theme] || x.config,
97
97
  defaultConfig: l
98
98
  }),
99
- customPalette: gt[l.theme] || ee
100
- } : u = l, x.config && We(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 && We(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
+ customPalette: mt[l.theme] || ee
100
+ } : u = l, x.config && Be(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 && Be(x.config, "style.chart.zoom.endIndex") ? u.style.chart.zoom.endIndex = x.config.style.chart.zoom.endIndex : u.style.chart.zoom.endIndex = null, u;
101
101
  }
102
- Re(() => x.config, (l) => {
102
+ Ue(() => x.config, (l) => {
103
103
  e.value = Se(), oe.value = !e.value.userOptions.showOnChartHover, ge(), pe.value += 1, ke.value += 1, _e.value += 1, U.value.showTable = e.value.table.show;
104
- }, { deep: !0 }), Re(() => x.dataset, (l) => {
104
+ }, { deep: !0 }), Ue(() => x.dataset, (l) => {
105
105
  ye();
106
106
  }, { deep: !0 });
107
- const { isPrinting: $e, isImaging: Ae, generatePdf: Ie, generateImage: Ne } = zt({
108
- elementId: T.value,
107
+ const { isPrinting: Ae, isImaging: $e, generatePdf: Ie, generateImage: Ne } = St({
108
+ elementId: E.value,
109
109
  fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution"
110
- }), tt = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), lt = p(() => mt(e.value.customPalette)), U = b({
110
+ }), at = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), ot = p(() => pt(e.value.customPalette)), U = b({
111
111
  showTable: e.value.table.show
112
112
  }), n = p(() => ({
113
113
  top: e.value.style.chart.layout.padding.top,
@@ -125,12 +125,12 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
125
125
  width: r
126
126
  };
127
127
  }), O = p(() => (x.dataset.forEach((l, u) => {
128
- [null, void 0].includes(l.name) && Z({
128
+ [null, void 0].includes(l.name) && Q({
129
129
  componentName: "VueUiDonutEvolution",
130
130
  type: "datasetSerieAttribute",
131
131
  property: "name",
132
132
  index: u
133
- }), [null, void 0].includes(l.values) && Z({
133
+ }), [null, void 0].includes(l.values) && Q({
134
134
  componentName: "VueUiDonutEvolution",
135
135
  type: "datasetSerieAttribute",
136
136
  property: "values",
@@ -138,28 +138,28 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
138
138
  });
139
139
  }), x.dataset.map((l, u) => ({
140
140
  ...l,
141
- values: xt(l.values),
142
- color: ve(l.color) || lt.value[u] || ee[u] || ee[u % ee.length],
141
+ values: kt(l.values),
142
+ color: ve(l.color) || ot.value[u] || ee[u] || ee[u % ee.length],
143
143
  length: (l.values || []).length,
144
- uid: Ue()
144
+ uid: Xe()
145
145
  })))), W = p(() => O.value.filter((l) => !C.value.includes(l.uid)).map((l) => ({
146
146
  ...l,
147
- values: l.values.filter((u, t) => t >= h.value.start && t <= h.value.end)
148
- }))), E = p(() => Math.max(...W.value.map((l) => l.length))), z = p(() => i.value.width / (h.value.end - h.value.start)), w = p(() => {
147
+ values: l.values.filter((u, t) => t >= d.value.start && t <= d.value.end)
148
+ }))), T = p(() => Math.max(...W.value.map((l) => l.length))), z = p(() => i.value.width / (d.value.end - d.value.start)), w = p(() => {
149
149
  const l = [];
150
- for (let s = 0; s < h.value.end - h.value.start; s += 1) {
151
- const f = W.value.map((F) => F.values[s] ?? null), y = f.filter((F) => [void 0, null].includes(F)).length === f.length, N = f.reduce((F, L) => F + L, 0), ce = f.map((F) => F / N), M = n.value.left + z.value * s + z.value / 2;
150
+ for (let s = 0; s < d.value.end - d.value.start; s += 1) {
151
+ const f = W.value.map((F) => F.values[s] ?? null), h = f.filter((F) => [void 0, null].includes(F)).length === f.length, N = f.reduce((F, L) => F + L, 0), ce = f.map((F) => F / N), M = n.value.left + z.value * s + z.value / 2;
152
152
  l.push({
153
153
  index: s,
154
154
  percentages: ce,
155
- subtotal: y || N < 0 ? null : N,
155
+ subtotal: h || N < 0 ? null : N,
156
156
  values: f,
157
157
  x: M
158
158
  });
159
159
  }
160
160
  const u = 0, t = Math.max(...l.map((s) => s.subtotal)), r = l.length === 1 ? t * 2 : t;
161
161
  return l.map((s, f) => {
162
- const y = z.value / 2 * 0.7, N = y > i.value.width / 16 ? i.value.width / 16 : y, ce = g.value === s.index ? i.value.width / 16 : N, M = l.length > 4 ? y * 2 : y * 2 > z.value / 2 * 0.7 ? z.value / 2 * 0.7 : y * 2, F = i.value.absoluteHeight - n.value.bottom - i.value.height * s.subtotal / Xe(u, r, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
162
+ const h = z.value / 2 * 0.7, N = h > i.value.width / 16 ? i.value.width / 16 : h, ce = g.value === s.index ? i.value.width / 16 : N, M = l.length > 4 ? h * 2 : h * 2 > z.value / 2 * 0.7 ? z.value / 2 * 0.7 : h * 2, F = i.value.absoluteHeight - n.value.bottom - i.value.height * s.subtotal / Ge(u, r, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
163
163
  return {
164
164
  ...s,
165
165
  y: F,
@@ -167,21 +167,21 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
167
167
  activeRadius: ce,
168
168
  hoverRadius: M,
169
169
  donut: de({
170
- series: W.value.map((L, He) => ({
170
+ series: W.value.map((L, Me) => ({
171
171
  color: L.color,
172
172
  name: L.name,
173
173
  value: L.values[f] ?? 0
174
174
  }))
175
175
  }, s.x, F, N, N, 1.99999, 2, 1, 360, 105.25, N / 2),
176
176
  donutHover: de({
177
- series: W.value.map((L, He) => ({
177
+ series: W.value.map((L, Me) => ({
178
178
  color: L.color,
179
179
  name: L.name,
180
180
  value: L.values[f] ?? 0
181
181
  }))
182
182
  }, s.x, F, M, M, 1.99999, 2, 1, 360, 105.25, M / 2),
183
183
  donutFocus: de({
184
- series: W.value.map((L, He) => ({
184
+ series: W.value.map((L, Me) => ({
185
185
  color: L.color,
186
186
  name: L.name,
187
187
  value: L.values[f] ?? 0
@@ -208,34 +208,34 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
208
208
  min: 0
209
209
  })), H = p(() => {
210
210
  const l = w.value.length === 1 ? ue.value.max * 2 : ue.value.max;
211
- return Xe(ue.value.min, l, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
211
+ return Ge(ue.value.min, l, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
212
212
  });
213
- function at(l) {
213
+ function ut(l) {
214
214
  return l / H.value.max;
215
215
  }
216
- const ot = p(() => H.value.ticks.map((l) => ({
217
- y: i.value.absoluteHeight - n.value.bottom - i.value.height * at(l),
216
+ const st = p(() => H.value.ticks.map((l) => ({
217
+ y: i.value.absoluteHeight - n.value.bottom - i.value.height * ut(l),
218
218
  value: l
219
219
  })));
220
220
  function Fe(l, u) {
221
- return isNaN(l.value / Be(u, "value")) ? 0 : (l.value / Be(u, "value") * 100).toFixed(0) + "%";
221
+ return isNaN(l.value / Ke(u, "value")) ? 0 : (l.value / Ke(u, "value") * 100).toFixed(0) + "%";
222
222
  }
223
223
  function Pe() {
224
- A.value || (g.value = null, ae.value = null);
224
+ $.value || (g.value = null, ae.value = null);
225
225
  }
226
- function ut(l) {
227
- A.value || (g.value = l.index, ae.value = l);
226
+ function nt(l) {
227
+ $.value || (g.value = l.index, ae.value = l);
228
228
  }
229
229
  const se = b(null);
230
230
  function ne(l, u) {
231
- l.subtotal && (ae.value = null, g.value = null, A.value = !0, I.value = l, [null, void 0].includes(u) || (se.value = u));
231
+ l.subtotal && (ae.value = null, g.value = null, $.value = !0, I.value = l, [null, void 0].includes(u) || (se.value = u));
232
232
  }
233
233
  function Oe() {
234
- I.value = null, A.value = !1, se.value = null;
234
+ I.value = null, $.value = !1, se.value = null;
235
235
  }
236
236
  const De = p(() => O.value.map((l, u) => ({
237
237
  name: l.name,
238
- value: l.values.slice(h.value.start, h.value.end).reduce((t, r) => t + r, 0),
238
+ value: l.values.slice(d.value.start, d.value.end).reduce((t, r) => t + r, 0),
239
239
  shape: "circle",
240
240
  uid: l.uid,
241
241
  color: l.color
@@ -244,7 +244,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
244
244
  opacity: C.value.includes(l.uid) ? 0.5 : 1,
245
245
  segregate: () => re(l.uid),
246
246
  isSegregated: C.value.includes(l.uid)
247
- }))), Te = p(() => w.value.map((l) => l.subtotal).reduce((l, u) => l + u, 0)), st = p(() => ({
247
+ }))), Ee = p(() => w.value.map((l) => l.subtotal).reduce((l, u) => l + u, 0)), rt = p(() => ({
248
248
  cy: "donut-div-legend",
249
249
  backgroundColor: e.value.style.chart.legend.backgroundColor,
250
250
  color: e.value.style.chart.legend.color,
@@ -267,11 +267,11 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
267
267
  color: s.color
268
268
  }))).concat(["Σ"]);
269
269
  let u = [];
270
- for (let s = 0; s < E.value; s += 1) {
271
- const f = O.value.filter((y) => !C.value.includes(y.uid)).map((y) => y.values[s] ?? 0).reduce((y, N) => y + N, 0);
272
- u.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[s] ?? "-"].concat(O.value.filter((y) => !C.value.includes(y.uid)).map((y) => ({
273
- value: y.values[s] ?? 0,
274
- percentage: y.values[s] ? y.values[s] / f * 100 : 0
270
+ for (let s = 0; s < T.value; s += 1) {
271
+ const f = O.value.filter((h) => !C.value.includes(h.uid)).map((h) => h.values[s] ?? 0).reduce((h, N) => h + N, 0);
272
+ u.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[s] ?? "-"].concat(O.value.filter((h) => !C.value.includes(h.uid)).map((h) => ({
273
+ value: h.values[s] ?? 0,
274
+ percentage: h.values[s] ? h.values[s] / f * 100 : 0
275
275
  }))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(f.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
276
276
  }
277
277
  const t = {
@@ -291,17 +291,17 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
291
291
  ].concat(O.value.filter((s) => !C.value.includes(s.uid)).map((s) => s.name)).concat(e.value.table.columnNames.total);
292
292
  return { head: l, body: u, config: t, colNames: r };
293
293
  });
294
- function nt() {
294
+ function it() {
295
295
  return O.value;
296
296
  }
297
- function Ee() {
298
- B(() => {
299
- const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], u = [...R.value.head.map((f) => f.name ?? f)], t = [...R.value.body.map((f) => f.map((y) => y.value ?? y))], r = l.concat([u]).concat(t), s = _t(r);
300
- Ct({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
297
+ function Te() {
298
+ j(() => {
299
+ const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], u = [...R.value.head.map((f) => f.name ?? f)], t = [...R.value.body.map((f) => f.map((h) => h.value ?? h))], r = l.concat([u]).concat(t), s = wt(r);
300
+ zt({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
301
301
  });
302
302
  }
303
303
  const X = b(!1);
304
- function rt(l) {
304
+ function ct(l) {
305
305
  X.value = l, me.value += 1;
306
306
  }
307
307
  function Ve() {
@@ -311,10 +311,16 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
311
311
  function ie() {
312
312
  J.value = !J.value;
313
313
  }
314
- return qe({
315
- getData: nt,
314
+ function He(l) {
315
+ return l.proportion * 100 > e.value.style.chart.donuts.hover.hideLabelsUnderValue;
316
+ }
317
+ function Re(l) {
318
+ return l.proportion * 100 > e.value.style.chart.donuts.zoom.hideLabelsUnderValue;
319
+ }
320
+ return Ze({
321
+ getData: it,
316
322
  generatePdf: Ie,
317
- generateCsv: Ee,
323
+ generateCsv: Te,
318
324
  generateImage: Ne,
319
325
  toggleTable: Ve,
320
326
  toggleAnnotator: ie
@@ -322,12 +328,12 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
322
328
  ref_key: "donutEvolutionChart",
323
329
  ref: be,
324
330
  class: P(`vue-ui-donut-evolution ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
325
- style: Q(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
326
- id: T.value,
331
+ style: Z(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
332
+ id: E.value,
327
333
  onMouseenter: u[4] || (u[4] = () => c(we)(!0)),
328
334
  onMouseleave: u[5] || (u[5] = () => c(we)(!1))
329
335
  }, [
330
- e.value.userOptions.buttons.annotator ? (a(), D(Pt, {
336
+ e.value.userOptions.buttons.annotator ? (a(), D(Dt, {
331
337
  key: 0,
332
338
  svgRef: c(Le),
333
339
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -335,10 +341,10 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
335
341
  active: J.value,
336
342
  onClose: ie
337
343
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : v("", !0),
338
- tt.value ? (a(), o("div", {
344
+ at.value ? (a(), o("div", {
339
345
  key: 1,
340
346
  ref_key: "noTitle",
341
- ref: et,
347
+ ref: lt,
342
348
  class: "vue-data-ui-no-title-space",
343
349
  style: "height:36px; width: 100%;background:transparent"
344
350
  }, null, 512)) : v("", !0),
@@ -347,7 +353,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
347
353
  style: "width:100%;background:transparent;padding-bottom:24px",
348
354
  onMouseleave: Pe
349
355
  }, [
350
- (a(), D(wt, {
356
+ (a(), D(Lt, {
351
357
  key: `title_${pe.value}`,
352
358
  config: {
353
359
  title: {
@@ -361,14 +367,14 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
361
367
  }
362
368
  }, null, 8, ["config"]))
363
369
  ], 32)) : v("", !0),
364
- e.value.userOptions.show && K.value && (c(ze) || c(oe)) ? (a(), D(Lt, {
370
+ e.value.userOptions.show && K.value && (c(ze) || c(oe)) ? (a(), D(At, {
365
371
  ref: "details",
366
372
  key: `user_options_${me.value}`,
367
373
  backgroundColor: e.value.style.chart.backgroundColor,
368
374
  color: e.value.style.chart.color,
369
- isPrinting: c($e),
370
- isImaging: c(Ae),
371
- uid: T.value,
375
+ isPrinting: c(Ae),
376
+ isImaging: c($e),
377
+ uid: E.value,
372
378
  hasPdf: e.value.userOptions.buttons.pdf,
373
379
  hasImg: e.value.userOptions.buttons.img,
374
380
  hasXls: e.value.userOptions.buttons.csv,
@@ -380,62 +386,62 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
380
386
  position: e.value.userOptions.position,
381
387
  hasAnnotator: e.value.userOptions.buttons.annotator,
382
388
  isAnnotation: J.value,
383
- onToggleFullscreen: rt,
389
+ onToggleFullscreen: ct,
384
390
  onGeneratePdf: c(Ie),
385
- onGenerateCsv: Ee,
391
+ onGenerateCsv: Te,
386
392
  onGenerateImage: c(Ne),
387
393
  onToggleTable: Ve,
388
394
  onToggleAnnotator: ie,
389
- style: Q({
395
+ style: Z({
390
396
  visibility: c(ze) ? c(oe) ? "visible" : "hidden" : "visible"
391
397
  })
392
- }, ct({ _: 2 }, [
398
+ }, dt({ _: 2 }, [
393
399
  l.$slots.menuIcon ? {
394
400
  name: "menuIcon",
395
- fn: $(({ isOpen: t, color: r }) => [
396
- S(l.$slots, "menuIcon", G(j({ isOpen: t, color: r })), void 0, !0)
401
+ fn: A(({ isOpen: t, color: r }) => [
402
+ S(l.$slots, "menuIcon", B(G({ isOpen: t, color: r })), void 0, !0)
397
403
  ]),
398
404
  key: "0"
399
405
  } : void 0,
400
406
  l.$slots.optionPdf ? {
401
407
  name: "optionPdf",
402
- fn: $(() => [
408
+ fn: A(() => [
403
409
  S(l.$slots, "optionPdf", {}, void 0, !0)
404
410
  ]),
405
411
  key: "1"
406
412
  } : void 0,
407
413
  l.$slots.optionCsv ? {
408
414
  name: "optionCsv",
409
- fn: $(() => [
415
+ fn: A(() => [
410
416
  S(l.$slots, "optionCsv", {}, void 0, !0)
411
417
  ]),
412
418
  key: "2"
413
419
  } : void 0,
414
420
  l.$slots.optionImg ? {
415
421
  name: "optionImg",
416
- fn: $(() => [
422
+ fn: A(() => [
417
423
  S(l.$slots, "optionImg", {}, void 0, !0)
418
424
  ]),
419
425
  key: "3"
420
426
  } : void 0,
421
427
  l.$slots.optionTable ? {
422
428
  name: "optionTable",
423
- fn: $(() => [
429
+ fn: A(() => [
424
430
  S(l.$slots, "optionTable", {}, void 0, !0)
425
431
  ]),
426
432
  key: "4"
427
433
  } : void 0,
428
434
  l.$slots.optionFullscreen ? {
429
435
  name: "optionFullscreen",
430
- fn: $(({ toggleFullscreen: t, isFullscreen: r }) => [
431
- S(l.$slots, "optionFullscreen", G(j({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
436
+ fn: A(({ toggleFullscreen: t, isFullscreen: r }) => [
437
+ S(l.$slots, "optionFullscreen", B(G({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
432
438
  ]),
433
439
  key: "5"
434
440
  } : void 0,
435
441
  l.$slots.optionAnnotator ? {
436
442
  name: "optionAnnotator",
437
- fn: $(({ toggleAnnotator: t, isAnnotator: r }) => [
438
- S(l.$slots, "optionAnnotator", G(j({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
443
+ fn: A(({ toggleAnnotator: t, isAnnotator: r }) => [
444
+ S(l.$slots, "optionAnnotator", B(G({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
439
445
  ]),
440
446
  key: "6"
441
447
  } : void 0
@@ -444,12 +450,12 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
444
450
  key: 4,
445
451
  ref_key: "svgRef",
446
452
  ref: Le,
447
- xmlns: c(pt),
453
+ xmlns: c(_t),
448
454
  class: P({ "vue-data-ui-fullscreen--on": X.value, "vue-data-ui-fulscreen--off": !X.value }),
449
455
  viewBox: `0 0 ${i.value.absoluteWidth} ${i.value.absoluteHeight}`,
450
- style: Q(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
456
+ style: Z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
451
457
  }, [
452
- vt(Ft),
458
+ ht(Ot),
453
459
  l.$slots["chart-background"] ? (a(), o("foreignObject", {
454
460
  key: 0,
455
461
  x: n.value.left,
@@ -461,43 +467,43 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
461
467
  }
462
468
  }, [
463
469
  S(l.$slots, "chart-background", {}, void 0, !0)
464
- ], 8, Ht)) : v("", !0),
465
- d("defs", null, [
466
- d("linearGradient", {
467
- id: `hover_${T.value}`,
470
+ ], 8, Mt)) : v("", !0),
471
+ y("defs", null, [
472
+ y("linearGradient", {
473
+ id: `hover_${E.value}`,
468
474
  x1: "0%",
469
475
  y1: "0%",
470
476
  x2: "0%",
471
477
  y2: "100%"
472
478
  }, [
473
- d("stop", {
479
+ y("stop", {
474
480
  offset: "0%",
475
481
  "stop-color": c(Y)(e.value.style.chart.backgroundColor, e.value.style.chart.layout.highlighter.opacity)
476
- }, null, 8, Mt),
477
- d("stop", {
482
+ }, null, 8, Wt),
483
+ y("stop", {
478
484
  offset: "100%",
479
485
  "stop-color": c(Y)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity)
480
- }, null, 8, Ut)
481
- ], 8, Rt),
482
- d("radialGradient", {
483
- id: `focus_${T.value}`
486
+ }, null, 8, Xt)
487
+ ], 8, Ut),
488
+ y("radialGradient", {
489
+ id: `focus_${E.value}`
484
490
  }, [
485
- d("stop", {
491
+ y("stop", {
486
492
  offset: "0%",
487
493
  "stop-color": c(Y)(c(ve)(e.value.style.chart.backgroundColor), 0)
488
- }, null, 8, Xt),
489
- d("stop", {
494
+ }, null, 8, Gt),
495
+ y("stop", {
490
496
  offset: "77%",
491
497
  "stop-color": c(Y)("#FFFFFF", 30)
492
- }, null, 8, Gt),
493
- d("stop", {
498
+ }, null, 8, jt),
499
+ y("stop", {
494
500
  offset: "100%",
495
501
  "stop-color": c(Y)(c(ve)(e.value.style.chart.backgroundColor), 0)
496
- }, null, 8, jt)
497
- ], 8, Wt)
502
+ }, null, 8, Yt)
503
+ ], 8, Bt)
498
504
  ]),
499
- e.value.style.chart.layout.grid.show ? (a(), o("g", Bt, [
500
- d("line", {
505
+ e.value.style.chart.layout.grid.show ? (a(), o("g", Kt, [
506
+ y("line", {
501
507
  x1: n.value.left,
502
508
  x2: n.value.left,
503
509
  y1: n.value.top,
@@ -505,8 +511,8 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
505
511
  stroke: e.value.style.chart.layout.grid.stroke,
506
512
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
507
513
  "stroke-linecap": "round"
508
- }, null, 8, Yt),
509
- d("line", {
514
+ }, null, 8, qt),
515
+ y("line", {
510
516
  x1: n.value.left,
511
517
  x2: i.value.absoluteWidth - n.value.right,
512
518
  y1: i.value.absoluteHeight - n.value.bottom,
@@ -514,9 +520,9 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
514
520
  stroke: e.value.style.chart.layout.grid.stroke,
515
521
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
516
522
  "stroke-linecap": "round"
517
- }, null, 8, Kt),
518
- e.value.style.chart.layout.grid.showVerticalLines ? (a(), o("g", qt, [
519
- (a(!0), o(k, null, _(h.value.end - h.value.start, (t, r) => (a(), o("line", {
523
+ }, null, 8, Jt),
524
+ e.value.style.chart.layout.grid.showVerticalLines ? (a(), o("g", Zt, [
525
+ (a(!0), o(k, null, _(d.value.end - d.value.start, (t, r) => (a(), o("line", {
520
526
  x1: n.value.left + (r + 1) * z.value,
521
527
  x2: n.value.left + (r + 1) * z.value,
522
528
  y1: n.value.top,
@@ -524,14 +530,14 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
524
530
  stroke: e.value.style.chart.layout.grid.stroke,
525
531
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
526
532
  "stroke-linecap": "round"
527
- }, null, 8, Jt))), 256))
533
+ }, null, 8, Qt))), 256))
528
534
  ])) : v("", !0)
529
535
  ])) : v("", !0),
530
536
  e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (a(), o("g", {
531
537
  key: 2,
532
- class: P({ "donut-opacity": !0, "donut-behind": g.value !== null || A.value })
538
+ class: P({ "donut-opacity": !0, "donut-behind": g.value !== null || $.value })
533
539
  }, [
534
- (a(!0), o(k, null, _(ot.value, (t, r) => (a(), o("g", null, [
540
+ (a(!0), o(k, null, _(st.value, (t, r) => (a(), o("g", null, [
535
541
  t.value >= H.value.min && t.value <= H.value.max ? (a(), o("line", {
536
542
  key: 0,
537
543
  x1: n.value.left,
@@ -540,7 +546,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
540
546
  y2: t.y,
541
547
  stroke: e.value.style.chart.layout.grid.stroke,
542
548
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
543
- }, null, 8, Qt)) : v("", !0),
549
+ }, null, 8, el)) : v("", !0),
544
550
  t.value >= H.value.min && t.value <= H.value.max ? (a(), o("text", {
545
551
  key: 1,
546
552
  x: n.value.left - 8 + e.value.style.chart.layout.grid.yAxis.dataLabels.offsetX,
@@ -549,7 +555,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
549
555
  "text-anchor": "end",
550
556
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
551
557
  "font-weight": e.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
552
- }, m(c(kt)(t.value) ? c(he)(
558
+ }, m(c(Ct)(t.value) ? c(he)(
553
559
  e.value.style.chart.layout.dataLabels.formatter,
554
560
  t.value,
555
561
  c(te)({
@@ -559,27 +565,27 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
559
565
  r: e.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
560
566
  }),
561
567
  { datapoint: t, seriesIndex: r }
562
- ) : ""), 9, Zt)) : v("", !0)
568
+ ) : ""), 9, tl)) : v("", !0)
563
569
  ]))), 256))
564
570
  ], 2)) : v("", !0),
565
571
  e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (a(), o("g", {
566
572
  key: 3,
567
- class: P({ "donut-opacity": !0, "donut-behind": A.value })
573
+ class: P({ "donut-opacity": !0, "donut-behind": $.value })
568
574
  }, [
569
- (a(!0), o(k, null, _(h.value.end - h.value.start, (t, r) => (a(), o("g", null, [
570
- e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (r === 0 || r === E.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast ? (a(), o("text", {
575
+ (a(!0), o(k, null, _(d.value.end - d.value.start, (t, r) => (a(), o("g", null, [
576
+ e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (r === 0 || r === T.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast ? (a(), o("text", {
571
577
  key: 0,
572
578
  "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",
573
579
  "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
574
580
  fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
575
581
  transform: `translate(${n.value.left + z.value * r + z.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})`
576
- }, m(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(r) + Number(h.value.start)] ?? ""), 9, el)) : v("", !0)
582
+ }, m(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(r) + Number(d.value.start)] ?? ""), 9, ll)) : v("", !0)
577
583
  ]))), 256))
578
584
  ], 2)) : v("", !0),
579
585
  (a(!0), o(k, null, _(w.value, (t, r) => (a(), o("g", null, [
580
586
  e.value.style.chart.layout.line.show && r < w.value.length - 1 && ![t.subtotal, w.value[r + 1].subtotal].includes(null) ? (a(), o("line", {
581
587
  key: 0,
582
- class: P({ "donut-opacity": !0, "donut-behind": g.value !== null || A.value }),
588
+ class: P({ "donut-opacity": !0, "donut-behind": g.value !== null || $.value }),
583
589
  x1: t.x,
584
590
  y1: t.y,
585
591
  x2: w.value[r + 1].x,
@@ -588,83 +594,85 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
588
594
  "stroke-width": e.value.style.chart.layout.line.strokeWidth,
589
595
  "stroke-linecap": "round",
590
596
  "stroke-linejoin": "round"
591
- }, null, 10, tl)) : v("", !0),
592
- t.subtotal !== null ? (a(), o("g", ll, [
597
+ }, null, 10, al)) : v("", !0),
598
+ t.subtotal !== null ? (a(), o("g", ol, [
593
599
  t.subtotal ? (a(), o("circle", {
594
600
  key: 0,
595
601
  cx: t.x,
596
602
  cy: t.y,
597
603
  r: t.activeRadius,
598
604
  fill: e.value.style.chart.backgroundColor
599
- }, null, 8, al)) : v("", !0)
605
+ }, null, 8, ul)) : v("", !0)
600
606
  ])) : v("", !0)
601
607
  ]))), 256)),
602
608
  (a(!0), o(k, null, _(w.value, (t, r) => (a(), o("g", {
603
- class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || A.value })
609
+ class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || $.value })
604
610
  }, [
605
- t.subtotal ? (a(), o("g", ol, [
606
- g.value !== null && g.value === r ? (a(), o("g", ul, [
611
+ t.subtotal ? (a(), o("g", sl, [
612
+ g.value !== null && g.value === r ? (a(), o("g", nl, [
607
613
  (a(!0), o(k, null, _(t.donutHover, (s) => (a(), o("g", null, [
608
- d("path", {
609
- d: c(Ge)(s, { x: s.center.endX, y: s.center.endY }, 12, 12, { x: t.x, y: t.y }, !0, 20),
614
+ He(s) ? (a(), o("path", {
615
+ key: 0,
616
+ d: c(je)(s, { x: s.center.endX, y: s.center.endY }, 12, 12, { x: t.x, y: t.y }, !1, 20),
610
617
  stroke: s.color,
611
618
  "stroke-width": "1",
612
619
  "stroke-linecap": "round",
613
620
  "stroke-linejoin": "round",
614
621
  fill: "none"
615
- }, null, 8, sl)
622
+ }, null, 8, rl)) : v("", !0)
616
623
  ]))), 256)),
617
624
  (a(!0), o(k, null, _(t.donutHover, (s, f) => (a(), o("g", null, [
618
- d("text", {
625
+ He(s) ? (a(), o("text", {
626
+ key: 0,
619
627
  "data-cy-hover-label": "",
620
628
  "text-anchor": c(le)(s, !0, 0).anchor,
621
- x: c(le)(s, !0, 3).x,
622
- y: c(je)(s),
629
+ x: c(le)(s, !0, 9).x,
630
+ y: c(Ye)(s, 14, 10),
623
631
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
624
632
  "font-size": 8,
625
633
  "font-weight": "bold"
626
- }, m(s.name) + ": " + m(Fe(s, t.donut)) + " (" + m(s.value === null ? "-" : q(s.value, s, f)) + ") ", 9, nl)
634
+ }, m(s.name) + ": " + m(Fe(s, t.donut)) + " (" + m(s.value === null ? "-" : q(s.value, s, f)) + ") ", 9, il)) : v("", !0)
627
635
  ]))), 256)),
628
- d("g", null, [
629
- d("circle", {
636
+ y("g", null, [
637
+ y("circle", {
630
638
  cx: t.x,
631
639
  cy: t.y,
632
640
  r: t.hoverRadius,
633
641
  fill: e.value.style.chart.backgroundColor
634
- }, null, 8, rl)
642
+ }, null, 8, cl)
635
643
  ])
636
644
  ])) : v("", !0)
637
645
  ])) : v("", !0)
638
646
  ], 2))), 256)),
639
647
  (a(!0), o(k, null, _(w.value, (t, r) => (a(), o("g", {
640
- class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || A.value })
648
+ class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || $.value })
641
649
  }, [
642
- t.subtotal !== null ? (a(), o("g", il, [
650
+ t.subtotal !== null ? (a(), o("g", vl, [
643
651
  t.subtotal === 0 ? (a(), o("circle", {
644
652
  key: 0,
645
653
  cx: t.x,
646
654
  cy: t.y,
647
655
  r: 3,
648
656
  fill: e.value.style.chart.color
649
- }, null, 8, cl)) : g.value !== null && g.value === r ? (a(), o("g", vl, [
657
+ }, null, 8, dl)) : g.value !== null && g.value === r ? (a(), o("g", hl, [
650
658
  (a(!0), o(k, null, _(t.donutHover, (s, f) => (a(), o("path", {
651
659
  d: s.arcSlice,
652
660
  fill: `${s.color}`,
653
661
  "stroke-width": 1,
654
662
  stroke: e.value.style.chart.backgroundColor
655
- }, null, 8, dl))), 256))
656
- ])) : (a(), o("g", hl, [
663
+ }, null, 8, yl))), 256))
664
+ ])) : (a(), o("g", fl, [
657
665
  (a(!0), o(k, null, _(t.donut, (s, f) => (a(), o("path", {
658
666
  d: s.arcSlice,
659
667
  fill: `${s.color}`,
660
668
  "stroke-width": 0.5,
661
669
  stroke: e.value.style.chart.backgroundColor
662
- }, null, 8, yl))), 256))
670
+ }, null, 8, gl))), 256))
663
671
  ]))
664
672
  ])) : v("", !0)
665
673
  ], 2))), 256)),
666
674
  (a(!0), o(k, null, _(w.value, (t, r) => (a(), o("g", {
667
- class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || A.value })
675
+ class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || $.value })
668
676
  }, [
669
677
  t.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (a(), o("text", {
670
678
  key: 0,
@@ -674,17 +682,17 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
674
682
  "font-size": e.value.style.chart.layout.dataLabels.fontSize,
675
683
  "font-weight": "bold",
676
684
  fill: e.value.style.chart.layout.dataLabels.color
677
- }, m(q(t.subtotal, t, r)), 9, fl)) : v("", !0)
685
+ }, m(q(t.subtotal, t, r)), 9, bl)) : v("", !0)
678
686
  ], 2))), 256)),
679
687
  (a(!0), o(k, null, _(w.value, (t, r) => (a(), o("rect", {
680
688
  x: n.value.left + r * z.value,
681
689
  y: i.value.absoluteHeight - n.value.bottom - 10,
682
690
  width: z.value,
683
691
  height: 10,
684
- fill: g.value === t.index ? `url(#hover_${T.value})` : "transparent",
692
+ fill: g.value === t.index ? `url(#hover_${E.value})` : "transparent",
685
693
  onClick: (s) => ne(t, r),
686
694
  class: P({ "donut-hover": g.value === t.index && t.subtotal })
687
- }, null, 10, gl))), 256)),
695
+ }, null, 10, ml))), 256)),
688
696
  (a(!0), o(k, null, _(w.value, (t, r) => (a(), o("rect", {
689
697
  "data-cy-trap": "",
690
698
  x: n.value.left + r * z.value,
@@ -692,13 +700,13 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
692
700
  width: z.value,
693
701
  height: i.value.height,
694
702
  fill: "transparent",
695
- onMouseenter: (s) => ut(t),
703
+ onMouseenter: (s) => nt(t),
696
704
  onMouseleave: Pe,
697
705
  onClick: (s) => ne(t, r),
698
706
  class: P({ "donut-hover": g.value === t.index && t.subtotal })
699
- }, null, 42, bl))), 256)),
700
- A.value ? (a(), o("g", ml, [
701
- d("rect", {
707
+ }, null, 42, xl))), 256)),
708
+ $.value ? (a(), o("g", pl, [
709
+ y("rect", {
702
710
  rx: 4,
703
711
  x: n.value.left,
704
712
  y: n.value.top,
@@ -706,8 +714,8 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
706
714
  height: i.value.height,
707
715
  fill: e.value.style.chart.backgroundColor,
708
716
  style: { filter: "drop-shadow(0 12px 12px rgba(0,0,0,0.3))" }
709
- }, null, 8, xl),
710
- d("line", {
717
+ }, null, 8, kl),
718
+ y("line", {
711
719
  "data-html2canvas-ignore": "",
712
720
  x1: i.value.absoluteWidth - n.value.right - 15,
713
721
  y1: n.value.top + 5,
@@ -716,8 +724,8 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
716
724
  "stroke-linecap": "round",
717
725
  stroke: e.value.style.chart.color,
718
726
  "stroke-width": "1.5"
719
- }, null, 8, pl),
720
- d("line", {
727
+ }, null, 8, _l),
728
+ y("line", {
721
729
  "data-html2canvas-ignore": "",
722
730
  x1: i.value.absoluteWidth - n.value.right - 15,
723
731
  y2: n.value.top + 5,
@@ -726,66 +734,68 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
726
734
  "stroke-linecap": "round",
727
735
  stroke: e.value.style.chart.color,
728
736
  "stroke-width": "1.5"
729
- }, null, 8, kl),
730
- d("circle", {
737
+ }, null, 8, Cl),
738
+ y("circle", {
731
739
  "data-cy-close": "",
732
740
  onClick: Oe,
733
- onKeypress: dt(Oe, ["enter"]),
741
+ onKeypress: yt(Oe, ["enter"]),
734
742
  cx: i.value.absoluteWidth - n.value.right - i.value.width / 40,
735
743
  cy: n.value.top + i.value.height / 30,
736
744
  r: i.value.height / 12,
737
745
  fill: "transparent",
738
746
  style: { cursor: "pointer" },
739
747
  tabindex: "0"
740
- }, null, 40, _l),
748
+ }, null, 40, wl),
741
749
  (a(!0), o(k, null, _(I.value.donutFocus, (t) => (a(), o("g", null, [
742
- d("path", {
750
+ Re(t) ? (a(), o("path", {
751
+ key: 0,
743
752
  "data-cy-zoom-donut": "",
744
- d: c(Ge)(t, { x: i.value.centerX, y: i.value.centerY }, 12, 12, !1, !1, 15),
753
+ d: c(je)(t, { x: i.value.centerX, y: i.value.centerY }, 12, 12, !1, !1, 15),
745
754
  stroke: t.color,
746
755
  "stroke-width": "1",
747
756
  "stroke-linecap": "round",
748
757
  "stroke-linejoin": "round",
749
758
  fill: "none",
750
759
  class: "vue-ui-donut-evolution-focus"
751
- }, null, 8, Cl)
760
+ }, null, 8, zl)) : v("", !0)
752
761
  ]))), 256)),
753
- d("circle", {
762
+ y("circle", {
754
763
  cx: n.value.left + i.value.width / 2,
755
764
  cy: n.value.top + i.value.height / 2,
756
765
  r: i.value.height / 7,
757
766
  fill: e.value.style.chart.backgroundColor
758
- }, null, 8, wl),
767
+ }, null, 8, Ll),
759
768
  (a(!0), o(k, null, _(I.value.donutFocus, (t, r) => (a(), o("path", {
760
769
  d: t.arcSlice,
761
770
  fill: `${t.color}`,
762
771
  "stroke-width": 1,
763
772
  stroke: e.value.style.chart.backgroundColor,
764
773
  class: "vue-ui-donut-evolution-focus"
765
- }, null, 8, zl))), 256)),
766
- (a(!0), o(k, null, _(I.value.donutFocus, (t, r) => (a(), o("g", Ll, [
767
- d("text", {
774
+ }, null, 8, Sl))), 256)),
775
+ (a(!0), o(k, null, _(I.value.donutFocus, (t, r) => (a(), o("g", Al, [
776
+ Re(t) ? (a(), o("text", {
777
+ key: 0,
768
778
  "text-anchor": c(le)(t, !0, 20).anchor,
769
779
  x: c(le)(t, !0, 10).x,
770
- y: c(je)(t),
780
+ y: c(Ye)(t),
771
781
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
772
782
  "font-size": 10,
773
783
  "font-weight": "bold"
774
- }, m(t.name) + ": " + m(Fe(t, I.value.donutFocus)) + " (" + m(t.value === null ? "-" : q(t.value, t, r)) + ") ", 9, Sl)
784
+ }, m(t.name) + ": " + m(Fe(t, I.value.donutFocus)) + " (" + m(t.value === null ? "-" : q(t.value, t, r)) + ") ", 9, $l)) : v("", !0)
775
785
  ]))), 256)),
776
- d("circle", {
786
+ y("circle", {
777
787
  cx: n.value.left + i.value.width / 2,
778
788
  cy: n.value.top + i.value.height / 2,
779
789
  r: i.value.height / 3.8,
780
- fill: `url(#focus_${T.value})`
781
- }, null, 8, $l),
782
- d("circle", {
790
+ fill: `url(#focus_${E.value})`
791
+ }, null, 8, Il),
792
+ y("circle", {
783
793
  cx: n.value.left + i.value.width / 2,
784
794
  cy: n.value.top + i.value.height / 2,
785
795
  r: i.value.height / 7.7,
786
796
  fill: e.value.style.chart.backgroundColor
787
- }, null, 8, Al),
788
- d("text", {
797
+ }, null, 8, Nl),
798
+ y("text", {
789
799
  "text-anchor": "middle",
790
800
  x: n.value.left + i.value.width / 2,
791
801
  y: n.value.top + i.value.height / 2 + 14 / 3,
@@ -793,21 +803,21 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
793
803
  "font-weight": "bold",
794
804
  fill: e.value.style.chart.layout.dataLabels.color,
795
805
  class: "vue-ui-donut-evolution-focus"
796
- }, m(q(I.value.subtotal, I.value, null)), 9, Il),
806
+ }, m(q(I.value.subtotal, I.value, null)), 9, Fl),
797
807
  e.value.style.chart.layout.grid.xAxis.dataLabels.values[I.value.index] ? (a(), o("text", {
798
808
  key: 0,
799
809
  x: n.value.left + 6,
800
810
  y: n.value.top + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2,
801
811
  "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 1.6,
802
812
  fill: e.value.style.chart.layout.dataLabels.color
803
- }, m(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(I.value.index) + Number(h.value.start)]), 9, Nl)) : v("", !0)
813
+ }, m(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(I.value.index) + Number(d.value.start)]), 9, Pl)) : v("", !0)
804
814
  ])) : v("", !0),
805
815
  S(l.$slots, "svg", { svg: i.value }, void 0, !0)
806
- ], 14, Vt)) : v("", !0),
807
- l.$slots.watermark ? (a(), o("div", Fl, [
808
- S(l.$slots, "watermark", G(j({ isPrinting: c($e) || c(Ae) })), void 0, !0)
816
+ ], 14, Rt)) : v("", !0),
817
+ l.$slots.watermark ? (a(), o("div", Ol, [
818
+ S(l.$slots, "watermark", B(G({ isPrinting: c(Ae) || c($e) })), void 0, !0)
809
819
  ])) : v("", !0),
810
- K.value ? v("", !0) : (a(), D(At, {
820
+ K.value ? v("", !0) : (a(), D(Nt, {
811
821
  key: 6,
812
822
  config: {
813
823
  type: "donutEvolution",
@@ -824,7 +834,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
824
834
  }
825
835
  }
826
836
  }, null, 8, ["config"])),
827
- E.value > 1 && e.value.style.chart.zoom.show ? (a(), D(It, {
837
+ T.value > 1 && e.value.style.chart.zoom.show ? (a(), D(Ft, {
828
838
  ref_key: "slicerComponent",
829
839
  ref: V,
830
840
  key: `slicer_${xe.value}`,
@@ -832,42 +842,42 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
832
842
  borderColor: e.value.style.chart.backgroundColor,
833
843
  fontSize: e.value.style.chart.zoom.fontSize,
834
844
  useResetSlot: e.value.style.chart.zoom.useResetSlot,
835
- labelLeft: e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(h.value.start)] || "",
836
- labelRight: e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(h.value.end) - 1] || "",
845
+ labelLeft: e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(d.value.start)] || "",
846
+ labelRight: e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(d.value.end) - 1] || "",
837
847
  textColor: e.value.style.chart.color,
838
848
  inputColor: e.value.style.chart.zoom.color,
839
849
  selectColor: e.value.style.chart.zoom.highlightColor,
840
- max: E.value,
850
+ max: T.value,
841
851
  min: 0,
842
- valueStart: h.value.start,
843
- valueEnd: h.value.end,
844
- start: h.value.start,
845
- "onUpdate:start": u[0] || (u[0] = (t) => h.value.start = t),
846
- end: h.value.end,
847
- "onUpdate:end": u[1] || (u[1] = (t) => h.value.end = t),
852
+ valueStart: d.value.start,
853
+ valueEnd: d.value.end,
854
+ start: d.value.start,
855
+ "onUpdate:start": u[0] || (u[0] = (t) => d.value.start = t),
856
+ end: d.value.end,
857
+ "onUpdate:end": u[1] || (u[1] = (t) => d.value.end = t),
848
858
  refreshStartPoint: e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex : 0,
849
- refreshEndPoint: e.value.style.chart.zoom.endIndex !== null ? e.value.style.chart.zoom.endIndex + 1 : E.value,
859
+ refreshEndPoint: e.value.style.chart.zoom.endIndex !== null ? e.value.style.chart.zoom.endIndex + 1 : T.value,
850
860
  enableRangeHandles: e.value.style.chart.zoom.enableRangeHandles,
851
861
  enableSelectionDrag: e.value.style.chart.zoom.enableSelectionDrag,
852
862
  onReset: ye
853
863
  }, {
854
- "reset-action": $(({ reset: t }) => [
855
- S(l.$slots, "reset-action", G(j({ reset: t })), void 0, !0)
864
+ "reset-action": A(({ reset: t }) => [
865
+ S(l.$slots, "reset-action", B(G({ reset: t })), void 0, !0)
856
866
  ]),
857
867
  _: 3
858
868
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"])) : v("", !0),
859
- e.value.style.chart.legend.show ? (a(), D($t, {
869
+ e.value.style.chart.legend.show ? (a(), D(It, {
860
870
  key: `legend_${_e.value}`,
861
871
  legendSet: De.value,
862
- config: st.value,
872
+ config: rt.value,
863
873
  onClickMarker: u[2] || (u[2] = ({ legend: t }) => re(t.uid))
864
874
  }, {
865
- item: $(({ legend: t, index: r }) => [
866
- d("div", {
875
+ item: A(({ legend: t, index: r }) => [
876
+ y("div", {
867
877
  onClick: (s) => re(t.uid),
868
- style: Q(`opacity:${C.value.includes(t.uid) ? 0.5 : 1}`)
878
+ style: Z(`opacity:${C.value.includes(t.uid) ? 0.5 : 1}`)
869
879
  }, [
870
- Me(m(t.name) + ": " + m(c(he)(
880
+ We(m(t.name) + ": " + m(c(he)(
871
881
  e.value.style.chart.layout.dataLabels.formatter,
872
882
  t.value,
873
883
  c(te)({
@@ -878,20 +888,20 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
878
888
  }),
879
889
  { datapoint: t, seriesIndex: r }
880
890
  )) + " ", 1),
881
- C.value.includes(t.uid) ? (a(), o("span", Dl, " ( - % ) ")) : (a(), o("span", Ol, " (" + m(isNaN(t.value / Te.value) ? "-" : c(te)({
882
- v: t.value / Te.value * 100,
891
+ C.value.includes(t.uid) ? (a(), o("span", Tl, " ( - % ) ")) : (a(), o("span", El, " (" + m(isNaN(t.value / Ee.value) ? "-" : c(te)({
892
+ v: t.value / Ee.value * 100,
883
893
  s: "%",
884
894
  r: e.value.style.chart.legend.roundingPercentage
885
895
  })) + ") ", 1))
886
- ], 12, Pl)
896
+ ], 12, Dl)
887
897
  ]),
888
898
  _: 1
889
899
  }, 8, ["legendSet", "config"])) : v("", !0),
890
900
  S(l.$slots, "legend", { legend: De.value }, void 0, !0),
891
- l.$slots.source ? (a(), o("div", Tl, [
901
+ l.$slots.source ? (a(), o("div", Vl, [
892
902
  S(l.$slots, "source", {}, void 0, !0)
893
903
  ], 512)) : v("", !0),
894
- K.value ? (a(), D(Nt, {
904
+ K.value ? (a(), D(Pt, {
895
905
  key: 10,
896
906
  hideDetails: "",
897
907
  config: {
@@ -907,8 +917,8 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
907
917
  }
908
918
  }
909
919
  }, {
910
- content: $(() => [
911
- (a(), D(St, {
920
+ content: A(() => [
921
+ (a(), D($t, {
912
922
  key: `table_${ke.value}`,
913
923
  colNames: R.value.colNames,
914
924
  head: R.value.head,
@@ -917,21 +927,21 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
917
927
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
918
928
  onClose: u[3] || (u[3] = (t) => U.value.showTable = !1)
919
929
  }, {
920
- th: $(({ th: t }) => [
921
- Me(m(t.name ?? t), 1)
930
+ th: A(({ th: t }) => [
931
+ We(m(t.name ?? t), 1)
922
932
  ]),
923
- td: $(({ td: t }) => [
924
- t.value === null ? (a(), o("span", El, "-")) : (a(), o("b", Vl, m(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + m(!isNaN(t.value) && t.value !== null ? Number(t.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : t) + m(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
925
- d("span", null, m(t.percentage && !isNaN(t.percentage) ? `(${Number(t.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
933
+ td: A(({ td: t }) => [
934
+ t.value === null ? (a(), o("span", Hl, "-")) : (a(), o("b", Rl, m(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + m(!isNaN(t.value) && t.value !== null ? Number(t.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : t) + m(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
935
+ y("span", null, m(t.percentage && !isNaN(t.percentage) ? `(${Number(t.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
926
936
  ]),
927
937
  _: 1
928
938
  }, 8, ["colNames", "head", "body", "config", "title"]))
929
939
  ]),
930
940
  _: 1
931
941
  }, 8, ["config"])) : v("", !0)
932
- ], 46, Et));
942
+ ], 46, Ht));
933
943
  }
934
- }, ta = /* @__PURE__ */ Tt(Hl, [["__scopeId", "data-v-7d7412e9"]]);
944
+ }, aa = /* @__PURE__ */ Vt(Ml, [["__scopeId", "data-v-0880a0ca"]]);
935
945
  export {
936
- ta as default
946
+ aa as default
937
947
  };