vue-data-ui 2.4.50 → 2.4.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/README.md +12 -0
  2. package/dist/{Arrow-DuuEh1Nr.cjs → Arrow-2a_SwBgz.cjs} +1 -1
  3. package/dist/{Arrow-D1z9KkQN.js → Arrow-BUz63pb2.js} +1 -1
  4. package/dist/{BaseIcon-DemqZ_13.cjs → BaseIcon-BASl_NFX.cjs} +1 -1
  5. package/dist/{BaseIcon-BHwqOTt4.js → BaseIcon-CmiukQBl.js} +1 -1
  6. package/dist/{DataTable-CQ8fQnex.js → DataTable-DGf6RrOJ.js} +2 -2
  7. package/dist/{DataTable-CovKV5Yy.cjs → DataTable-G3ICK-5h.cjs} +1 -1
  8. package/dist/{Legend-Br7MWNDo.js → Legend-BLaZxMge.js} +1 -1
  9. package/dist/{Legend-Bbz-hKDf.cjs → Legend-BiuPlEMg.cjs} +1 -1
  10. package/dist/{PackageVersion-BEtuCME5.cjs → PackageVersion-Bj34UNnQ.cjs} +1 -1
  11. package/dist/{PackageVersion-BV3fHO46.js → PackageVersion-CxJghxYD.js} +1 -1
  12. package/dist/{PenAndPaper-BIcmfBvD.cjs → PenAndPaper-D9yQnc0e.cjs} +1 -1
  13. package/dist/{PenAndPaper-CCOywdmm.js → PenAndPaper-ZdZEumki.js} +3 -3
  14. package/dist/{Shape-B7Mekpyf.js → Shape-DIKzzpFm.js} +1 -1
  15. package/dist/{Shape-BD37ZaX9.cjs → Shape-yducHWd0.cjs} +1 -1
  16. package/dist/{Slicer-CWvkt-8k.cjs → Slicer-BHS9W4MJ.cjs} +1 -1
  17. package/dist/{Slicer-ahFReg7h.js → Slicer-Cxdl3cDt.js} +2 -2
  18. package/dist/{Title-C2siG5N2.cjs → Title-Bk_55doC.cjs} +1 -1
  19. package/dist/{Title-CIsKiWgN.js → Title-aSAft5dl.js} +1 -1
  20. package/dist/{Tooltip-CS4C58T7.cjs → Tooltip-G7ENx87_.cjs} +1 -1
  21. package/dist/{Tooltip-B1LgrF9R.js → Tooltip-smutPF--.js} +1 -1
  22. package/dist/{index-BtL_cLa8.js → index-BbPeL8Gp.js} +5 -1
  23. package/dist/index-DhDYBLBe.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +5 -1
  26. package/dist/types/vue-data-ui.d.ts +5 -1
  27. package/dist/{useNestedProp-CEAfm1tu.js → useNestedProp-BN8claGG.js} +1 -1
  28. package/dist/{useNestedProp-D_feh7A_.cjs → useNestedProp-BphUExEh.cjs} +1 -1
  29. package/dist/{usePrinter-B4xDG31F.cjs → usePrinter-2_QjJFdH.cjs} +1 -1
  30. package/dist/{usePrinter-sRt2SKr2.js → usePrinter-DaybDVqP.js} +1 -1
  31. package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
  32. package/dist/useUserOptionState-BgepsfED.cjs +1 -0
  33. package/dist/{vue-data-ui-CuEYAddV.cjs → vue-data-ui-C5vsHRHD.cjs} +1 -1
  34. package/dist/{vue-data-ui-NkhaiK6y.js → vue-data-ui-Ckbp-yIf.js} +60 -60
  35. package/dist/vue-data-ui.cjs +1 -1
  36. package/dist/vue-data-ui.js +1 -1
  37. package/dist/vue-ui-3d-bar-DUgumRsg.cjs +19 -0
  38. package/dist/{vue-ui-3d-bar-BeXYzdzu.js → vue-ui-3d-bar-wDYs3sVe.js} +345 -339
  39. package/dist/{vue-ui-accordion-Cjc683tN.js → vue-ui-accordion-5d5iVpr7.js} +3 -3
  40. package/dist/{vue-ui-accordion-CBxsUoGb.cjs → vue-ui-accordion-B7tNzRWB.cjs} +1 -1
  41. package/dist/{vue-ui-age-pyramid-rnt8M-Qz.js → vue-ui-age-pyramid-BH1khaaq.js} +260 -254
  42. package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +1 -0
  43. package/dist/{vue-ui-annotator-CFU5Zyfk.js → vue-ui-annotator-B9VKE_qz.js} +1 -1
  44. package/dist/{vue-ui-annotator-Yu-mHS2N.cjs → vue-ui-annotator-jXkB5XnD.cjs} +1 -1
  45. package/dist/{vue-ui-bullet-CRbW1ON6.js → vue-ui-bullet-BLi9CSZw.js} +152 -146
  46. package/dist/vue-ui-bullet-QrXtipbT.cjs +34 -0
  47. package/dist/{vue-ui-candlestick-D-ERLtI1.js → vue-ui-candlestick-Bjz1uFbv.js} +223 -217
  48. package/dist/vue-ui-candlestick-Da4ygGXR.cjs +2 -0
  49. package/dist/{vue-ui-carousel-table-I1m4HMWf.js → vue-ui-carousel-table-B6zgTL-W.js} +160 -154
  50. package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +1 -0
  51. package/dist/vue-ui-chestnut-C_N7EbjQ.cjs +6 -0
  52. package/dist/{vue-ui-chestnut-CqJRKECX.js → vue-ui-chestnut-D5HpkuIa.js} +237 -231
  53. package/dist/{vue-ui-cursor-S83QIsxQ.cjs → vue-ui-cursor-A_siHYBc.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-jrrdh8Lf.js → vue-ui-cursor-DZNIbvR2.js} +2 -2
  55. package/dist/{vue-ui-dashboard-DW1mIInG.cjs → vue-ui-dashboard-BfPJyiY9.cjs} +1 -1
  56. package/dist/{vue-ui-dashboard-DR_Bhwa3.js → vue-ui-dashboard-DCqe4BZg.js} +2 -2
  57. package/dist/{vue-ui-digits-1jZdiwHJ.js → vue-ui-digits-BEWCnojc.js} +2 -2
  58. package/dist/{vue-ui-digits-s5f9eFtW.cjs → vue-ui-digits-BEhLa3jI.cjs} +1 -1
  59. package/dist/vue-ui-donut-By3QRfkV.cjs +1 -0
  60. package/dist/{vue-ui-donut-evolution-DsHTZ9T2.js → vue-ui-donut-evolution-Cu6dmlT2.js} +300 -294
  61. package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +1 -0
  62. package/dist/{vue-ui-donut-BAYiPsxp.js → vue-ui-donut-g5ZLhYPx.js} +376 -370
  63. package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +9 -0
  64. package/dist/{vue-ui-dumbbell-DcMmBxLy.js → vue-ui-dumbbell-bb4-Ep6o.js} +256 -250
  65. package/dist/vue-ui-flow-CCvTnu7z.cjs +1 -0
  66. package/dist/{vue-ui-flow-BTXEmIQG.js → vue-ui-flow-hD0F6mTK.js} +164 -158
  67. package/dist/vue-ui-funnel-DKxAPRi_.cjs +1 -0
  68. package/dist/{vue-ui-funnel-BB_h0FKg.js → vue-ui-funnel-hcbE4yky.js} +178 -172
  69. package/dist/{vue-ui-galaxy-DlBk1FUz.js → vue-ui-galaxy-ByKjxVWV.js} +187 -181
  70. package/dist/vue-ui-galaxy-D2kmqwpI.cjs +1 -0
  71. package/dist/vue-ui-gauge-BFA_unjg.cjs +1 -0
  72. package/dist/{vue-ui-gauge-1SFhSMfU.js → vue-ui-gauge-PGirbe6O.js} +220 -214
  73. package/dist/{vue-ui-gizmo-C8rLR4n5.cjs → vue-ui-gizmo-CHMApil6.cjs} +1 -1
  74. package/dist/{vue-ui-gizmo-CtX6KFN2.js → vue-ui-gizmo-ChSfBYZ_.js} +3 -3
  75. package/dist/vue-ui-heatmap-C0VxwPhr.cjs +1 -0
  76. package/dist/{vue-ui-heatmap-BzyvTePn.js → vue-ui-heatmap-CK3FIWpo.js} +270 -264
  77. package/dist/vue-ui-history-plot-BmGodgUx.cjs +1 -0
  78. package/dist/{vue-ui-history-plot-BEoHuZ3N.js → vue-ui-history-plot-EmQ-Byiz.js} +236 -230
  79. package/dist/{vue-ui-kpi-LO4KKRR9.cjs → vue-ui-kpi-BdungaO2.cjs} +1 -1
  80. package/dist/{vue-ui-kpi-BYOyJjYg.js → vue-ui-kpi-DjC68pSz.js} +3 -3
  81. package/dist/{vue-ui-mini-loader-ChHdx5me.js → vue-ui-mini-loader-CzrblCCD.js} +2 -2
  82. package/dist/{vue-ui-mini-loader-wlUD77O6.cjs → vue-ui-mini-loader-jwL_pZjb.cjs} +1 -1
  83. package/dist/{vue-ui-molecule-Bo7XYpf-.js → vue-ui-molecule-DBQJQs4Y.js} +294 -289
  84. package/dist/vue-ui-molecule-Dzh-0SWI.cjs +1 -0
  85. package/dist/{vue-ui-mood-radar-DXj4Ce6l.js → vue-ui-mood-radar-Ca9wPZpJ.js} +205 -199
  86. package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +1 -0
  87. package/dist/{vue-ui-nested-donuts-BBLpNVwF.js → vue-ui-nested-donuts-C8at93dN.js} +286 -280
  88. package/dist/vue-ui-nested-donuts-DEdS6dpj.cjs +17 -0
  89. package/dist/{vue-ui-onion-DC8VIInA.js → vue-ui-onion-B-PXxNu6.js} +198 -192
  90. package/dist/vue-ui-onion-B2ioudP5.cjs +5 -0
  91. package/dist/{vue-ui-parallel-coordinate-plot-Cl1wiHsK.js → vue-ui-parallel-coordinate-plot-ByM3So9k.js} +236 -230
  92. package/dist/vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs +8 -0
  93. package/dist/{vue-ui-quadrant-b5cuEH9z.js → vue-ui-quadrant-BqOJBcsI.js} +255 -249
  94. package/dist/vue-ui-quadrant-CIr4i6cC.cjs +1 -0
  95. package/dist/{vue-ui-quick-chart-CFBPYw2J.js → vue-ui-quick-chart-BfXxT3KM.js} +474 -466
  96. package/dist/vue-ui-quick-chart-Bt9KA82P.cjs +15 -0
  97. package/dist/{vue-ui-radar-DP8360kx.js → vue-ui-radar-BKpD9xDr.js} +256 -250
  98. package/dist/vue-ui-radar-Czmsd_uv.cjs +1 -0
  99. package/dist/{vue-ui-rating-D7b-kfyp.cjs → vue-ui-rating-BE545aI4.cjs} +1 -1
  100. package/dist/{vue-ui-rating-DIthBSp_.js → vue-ui-rating-DQRuqev5.js} +2 -2
  101. package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +1 -0
  102. package/dist/vue-ui-relation-circle-nZ2nBpWX.js +498 -0
  103. package/dist/vue-ui-rings-B7JzZ3ub.cjs +2 -0
  104. package/dist/{vue-ui-rings-y9Zx-DaI.js → vue-ui-rings-C1PV0873.js} +177 -172
  105. package/dist/vue-ui-scatter-CTI943ks.cjs +1 -0
  106. package/dist/{vue-ui-scatter-Cbu5GDc1.js → vue-ui-scatter-dgs1m3-2.js} +310 -304
  107. package/dist/{vue-ui-screenshot-oH-YnZBE.cjs → vue-ui-screenshot--cHV0jG3.cjs} +1 -1
  108. package/dist/{vue-ui-screenshot-BZh_sgjP.js → vue-ui-screenshot-Dxj0l8Jg.js} +1 -1
  109. package/dist/{vue-ui-skeleton-DjFU2X3P.js → vue-ui-skeleton-Bniq21d9.js} +3 -3
  110. package/dist/{vue-ui-skeleton-Nuju6X7l.cjs → vue-ui-skeleton-lkPDknHn.cjs} +1 -1
  111. package/dist/{vue-ui-smiley-DtQVEc4B.cjs → vue-ui-smiley-CozXoiti.cjs} +1 -1
  112. package/dist/{vue-ui-smiley-DdnzzEYS.js → vue-ui-smiley-D4DAZIpA.js} +2 -2
  113. package/dist/{vue-ui-spark-trend-B36zW41F.cjs → vue-ui-spark-trend-CSqyvI_K.cjs} +1 -1
  114. package/dist/{vue-ui-spark-trend-CaIGk_53.js → vue-ui-spark-trend-ZqrwhwqS.js} +5 -5
  115. package/dist/{vue-ui-sparkbar-iQKGtxo8.cjs → vue-ui-sparkbar-Bph8KIjk.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-DixeozKp.js → vue-ui-sparkbar-q0G4GvFm.js} +4 -4
  117. package/dist/{vue-ui-sparkgauge-C01VB6KP.js → vue-ui-sparkgauge-DA_h9jcN.js} +4 -4
  118. package/dist/{vue-ui-sparkgauge-DEvgucF7.cjs → vue-ui-sparkgauge-nSAW83dN.cjs} +1 -1
  119. package/dist/{vue-ui-sparkhistogram-C_6lHF3O.js → vue-ui-sparkhistogram-B1WyBiq_.js} +5 -5
  120. package/dist/{vue-ui-sparkhistogram-CTUuxOma.cjs → vue-ui-sparkhistogram-BLYhRNpt.cjs} +1 -1
  121. package/dist/{vue-ui-sparkline-DrZWPGOG.cjs → vue-ui-sparkline-PNix1-R9.cjs} +1 -1
  122. package/dist/{vue-ui-sparkline-Btm4HVgi.js → vue-ui-sparkline-ccfl0s3m.js} +4 -4
  123. package/dist/{vue-ui-sparkstackbar-7pcfCNMr.cjs → vue-ui-sparkstackbar-DpuvEumy.cjs} +1 -1
  124. package/dist/{vue-ui-sparkstackbar-D0UGUm-1.js → vue-ui-sparkstackbar-PNKwVRu8.js} +5 -5
  125. package/dist/{vue-ui-stackbar-BPMDmY04.js → vue-ui-stackbar-BBYnF8qm.js} +367 -361
  126. package/dist/vue-ui-stackbar-D4AIFoQT.cjs +6 -0
  127. package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +1 -0
  128. package/dist/{vue-ui-strip-plot-BfWQMGXy.js → vue-ui-strip-plot-TVlnzXFq.js} +269 -263
  129. package/dist/{vue-ui-table-Cdo265Yt.cjs → vue-ui-table-CHdv3KuM.cjs} +1 -1
  130. package/dist/{vue-ui-table-D8GaLhM9.js → vue-ui-table-CsEajH9S.js} +1 -1
  131. package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +1 -0
  132. package/dist/vue-ui-table-heatmap-CubRipoB.js +262 -0
  133. package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +1 -0
  134. package/dist/{vue-ui-table-sparkline-DMHf03C9.js → vue-ui-table-sparkline-YV8DUOqh.js} +173 -167
  135. package/dist/vue-ui-thermometer-C6lMWRiF.cjs +1 -0
  136. package/dist/{vue-ui-thermometer-BCVqil7E.js → vue-ui-thermometer-DmMjSLc1.js} +170 -164
  137. package/dist/{vue-ui-timer-gxiLCP1n.cjs → vue-ui-timer-DteYgv9y.cjs} +1 -1
  138. package/dist/{vue-ui-timer-DF5HkeeS.js → vue-ui-timer-DvE_nqd9.js} +5 -5
  139. package/dist/vue-ui-tiremarks-CCrkDgjX.js +323 -0
  140. package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +1 -0
  141. package/dist/vue-ui-treemap-BzRVKqXL.cjs +1 -0
  142. package/dist/{vue-ui-treemap-CIZaPmbi.js → vue-ui-treemap-C4A4spvg.js} +243 -237
  143. package/dist/{vue-ui-vertical-bar-dQoTddqU.js → vue-ui-vertical-bar-8iL1xiaz.js} +238 -232
  144. package/dist/vue-ui-vertical-bar-B60lSXNq.cjs +4 -0
  145. package/dist/{vue-ui-waffle-CnvWOEVU.js → vue-ui-waffle-CaYNz-Kd.js} +316 -310
  146. package/dist/vue-ui-waffle-O8pAEf4X.cjs +1 -0
  147. package/dist/vue-ui-wheel-BRR2rGou.js +305 -0
  148. package/dist/vue-ui-wheel-CnFdB_B1.cjs +1 -0
  149. package/dist/vue-ui-word-cloud-X4mp280j.cjs +1 -0
  150. package/dist/{vue-ui-word-cloud-o3zU6r0-.js → vue-ui-word-cloud-y2GGxwoq.js} +246 -240
  151. package/dist/{vue-ui-xy-GR4PGBDy.js → vue-ui-xy-CXoWP8bh.js} +708 -697
  152. package/dist/vue-ui-xy-CbM75yXK.cjs +3 -0
  153. package/dist/{vue-ui-xy-canvas-BKGOnjut.js → vue-ui-xy-canvas-D7MrUJj7.js} +334 -328
  154. package/dist/vue-ui-xy-canvas-DWvIvSry.cjs +9 -0
  155. package/package.json +1 -1
  156. package/dist/index-DoD-GxZR.cjs +0 -9
  157. package/dist/vue-ui-3d-bar-RduHvzwG.cjs +0 -19
  158. package/dist/vue-ui-age-pyramid-DVtbyRJw.cjs +0 -1
  159. package/dist/vue-ui-bullet-Be5aYhtp.cjs +0 -34
  160. package/dist/vue-ui-candlestick-B6wSs-JC.cjs +0 -2
  161. package/dist/vue-ui-carousel-table-7reErH8M.cjs +0 -1
  162. package/dist/vue-ui-chestnut-D-WzX16q.cjs +0 -6
  163. package/dist/vue-ui-donut-Ce1SaXNu.cjs +0 -1
  164. package/dist/vue-ui-donut-evolution-DI8yeIa4.cjs +0 -1
  165. package/dist/vue-ui-dumbbell-CFJkwtM8.cjs +0 -9
  166. package/dist/vue-ui-flow-B4MtorhO.cjs +0 -1
  167. package/dist/vue-ui-funnel-DNL12vLQ.cjs +0 -1
  168. package/dist/vue-ui-galaxy-CmCZGOKz.cjs +0 -1
  169. package/dist/vue-ui-gauge-B7ieQMud.cjs +0 -1
  170. package/dist/vue-ui-heatmap-Bfi3KJwS.cjs +0 -1
  171. package/dist/vue-ui-history-plot-5kZ54hgy.cjs +0 -1
  172. package/dist/vue-ui-molecule-D-4cRS5w.cjs +0 -1
  173. package/dist/vue-ui-mood-radar-C3x_LH7Q.cjs +0 -1
  174. package/dist/vue-ui-nested-donuts-DrL7-SUd.cjs +0 -17
  175. package/dist/vue-ui-onion-8Vz3lPbn.cjs +0 -5
  176. package/dist/vue-ui-parallel-coordinate-plot-D6q4WQ0B.cjs +0 -8
  177. package/dist/vue-ui-quadrant-DBZS5jFQ.cjs +0 -1
  178. package/dist/vue-ui-quick-chart-Cno_1mzu.cjs +0 -15
  179. package/dist/vue-ui-radar-ChcBO21S.cjs +0 -1
  180. package/dist/vue-ui-relation-circle-C5pO0iHY.cjs +0 -1
  181. package/dist/vue-ui-relation-circle-D2iwmChn.js +0 -492
  182. package/dist/vue-ui-rings-C_NLJYs8.cjs +0 -2
  183. package/dist/vue-ui-scatter-BNeMGDNk.cjs +0 -1
  184. package/dist/vue-ui-stackbar-BwRdmPvB.cjs +0 -6
  185. package/dist/vue-ui-strip-plot-CLN9LikJ.cjs +0 -1
  186. package/dist/vue-ui-table-heatmap-C4DRSfsE.js +0 -256
  187. package/dist/vue-ui-table-heatmap-CDAf1IIk.cjs +0 -1
  188. package/dist/vue-ui-table-sparkline-Cw7NOiYx.cjs +0 -1
  189. package/dist/vue-ui-thermometer-7BORZJjd.cjs +0 -1
  190. package/dist/vue-ui-tiremarks-CwGnFx4f.cjs +0 -1
  191. package/dist/vue-ui-tiremarks-lidhcJsi.js +0 -317
  192. package/dist/vue-ui-treemap-BZ_LmiBK.cjs +0 -1
  193. package/dist/vue-ui-vertical-bar-venrkqjM.cjs +0 -4
  194. package/dist/vue-ui-waffle-oR54BbIg.cjs +0 -1
  195. package/dist/vue-ui-wheel-BUHZEzPr.cjs +0 -1
  196. package/dist/vue-ui-wheel-D3itrMku.js +0 -299
  197. package/dist/vue-ui-word-cloud-87gwksmM.cjs +0 -1
  198. package/dist/vue-ui-xy-D56pm4L0.cjs +0 -3
  199. package/dist/vue-ui-xy-canvas-uikeVe72.cjs +0 -9
@@ -1,28 +1,29 @@
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-BtL_cLa8.js";
3
- import { _ as xt } from "./Title-CIsKiWgN.js";
4
- import { u as pt, U as kt } from "./usePrinter-sRt2SKr2.js";
5
- import { D as _t } from "./DataTable-CQ8fQnex.js";
6
- import { L as Ct } from "./Legend-Br7MWNDo.js";
7
- import wt from "./vue-ui-skeleton-DjFU2X3P.js";
8
- import { S as Lt } from "./Slicer-ahFReg7h.js";
9
- import zt from "./vue-ui-accordion-Cjc683tN.js";
10
- import { u as Xe } from "./useNestedProp-CEAfm1tu.js";
11
- import { _ as At } from "./PackageVersion-BV3fHO46.js";
12
- import { P as St } from "./PenAndPaper-CCOywdmm.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 = {
1
+ import { computed as p, ref as m, onMounted as nt, watch as Me, openBlock as a, createElementBlock as u, normalizeClass as P, normalizeStyle as q, unref as c, createBlock as T, createCommentVNode as v, createSlots as rt, withCtx as I, renderSlot as F, normalizeProps as J, guardReactiveProps as Q, createVNode as it, createElementVNode as d, Fragment as k, renderList as _, toDisplayString as b, withKeys as ct, createTextVNode as He, nextTick as X } from "vue";
2
+ import { u as vt, o as dt, e as Z, g as ht, c as Ue, t as yt, a as ft, p as ee, C as We, b as gt, J as mt, d as ve, D as Re, m as de, X as bt, s as G, E as xt, i as he, f as te, j as Xe, k as le, n as Ge, K as je, q as pt, r as kt } from "./index-BbPeL8Gp.js";
3
+ import { _ as _t } from "./Title-aSAft5dl.js";
4
+ import { u as Ct, U as wt } from "./usePrinter-DaybDVqP.js";
5
+ import { D as Lt } from "./DataTable-DGf6RrOJ.js";
6
+ import { L as zt } from "./Legend-BLaZxMge.js";
7
+ import St from "./vue-ui-skeleton-Bniq21d9.js";
8
+ import { S as At } from "./Slicer-Cxdl3cDt.js";
9
+ import $t from "./vue-ui-accordion-5d5iVpr7.js";
10
+ import { u as Be } from "./useNestedProp-BN8claGG.js";
11
+ import { _ as Nt } from "./PackageVersion-CxJghxYD.js";
12
+ import { P as It } from "./PenAndPaper-ZdZEumki.js";
13
+ import { u as Ft } from "./useUserOptionState-BIvW1Kz7.js";
14
+ import { _ as Pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const Ot = ["id"], Tt = ["xmlns", "viewBox"], Dt = ["id"], Et = ["stop-color"], Vt = ["stop-color"], Mt = ["id"], Ht = ["stop-color"], Ut = ["stop-color"], Wt = ["stop-color"], Rt = { key: 0 }, Xt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], jt = { key: 0 }, Bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Yt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Kt = ["x", "y", "font-size", "fill", "font-weight"], qt = ["text-anchor", "font-size", "fill", "transform"], Jt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Qt = { key: 1 }, Zt = ["cx", "cy", "r", "fill"], el = { key: 0 }, tl = { key: 0 }, ll = ["d", "stroke"], al = ["text-anchor", "x", "y", "fill"], ol = ["cx", "cy", "r", "fill"], ul = { key: 0 }, sl = ["cx", "cy", "fill"], nl = { key: 1 }, rl = ["d", "fill", "stroke"], il = { key: 2 }, cl = ["d", "fill", "stroke"], vl = ["x", "y", "font-size", "fill"], dl = ["x", "y", "width", "fill", "onClick"], hl = ["x", "y", "width", "height", "onMouseenter", "onClick"], yl = {
15
16
  key: 3,
16
17
  "data-cy-zoom": "",
17
18
  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
+ }, fl = ["x", "y", "width", "height", "fill"], gl = ["x1", "y1", "x2", "y2", "stroke"], ml = ["x1", "y2", "x2", "y1", "stroke"], bl = ["onKeypress", "cx", "cy", "r"], xl = ["d", "stroke"], pl = ["cx", "cy", "r", "fill"], kl = ["d", "fill", "stroke"], _l = { class: "vue-ui-donut-evolution-focus" }, Cl = ["text-anchor", "x", "y", "fill"], wl = ["cx", "cy", "r", "fill"], Ll = ["cx", "cy", "r", "fill"], zl = ["x", "y", "fill"], Sl = ["x", "y", "font-size", "fill"], Al = {
19
20
  key: 5,
20
21
  class: "vue-data-ui-watermark"
21
- }, Ll = ["onClick"], zl = { key: 0 }, Al = { key: 1 }, Sl = {
22
+ }, $l = ["onClick"], Nl = { key: 0 }, Il = { key: 1 }, Fl = {
22
23
  key: 9,
23
24
  ref: "source",
24
25
  dir: "auto"
25
- }, $l = { key: 0 }, Nl = { key: 1 }, Il = {
26
+ }, Pl = { key: 0 }, Ol = { key: 1 }, Tl = {
26
27
  __name: "vue-ui-donut-evolution",
27
28
  props: {
28
29
  config: {
@@ -39,8 +40,8 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
39
40
  }
40
41
  },
41
42
  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({
43
+ setup(Ye, { expose: Ke, emit: ye }) {
44
+ const x = Ye, { vue_ui_donut_evolution: qe } = vt(), j = p(() => !!x.dataset && x.dataset.length), h = m({
44
45
  start: 0,
45
46
  end: Math.max(...x.dataset.map((l) => l.values.length))
46
47
  });
@@ -49,63 +50,63 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
49
50
  }
50
51
  const V = m(null);
51
52
  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
+ (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(Je(e.value.style.chart.zoom.endIndex + 1)))) : (h.value = {
53
54
  start: 0,
54
- end: O.value
55
+ end: E.value
55
56
  }, xe.value += 1);
56
57
  }
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;
58
+ function Je(l) {
59
+ const o = E.value;
60
+ return l > o ? o : 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
  }
61
- ot(() => {
62
+ nt(() => {
62
63
  me();
63
64
  });
64
65
  function me() {
65
- it(x.dataset) ? Q({
66
+ dt(x.dataset) ? Z({
66
67
  componentName: "VueUiDonutEvolution",
67
68
  type: "dataset"
68
- }) : x.dataset.length && x.dataset.forEach((l, u) => {
69
- ct({
69
+ }) : x.dataset.length && x.dataset.forEach((l, o) => {
70
+ ht({
70
71
  datasetObject: l,
71
72
  requiredAttributes: ["name", "values"]
72
73
  }).forEach((t) => {
73
- Q({
74
+ Z({
74
75
  componentName: "VueUiDonutEvolution",
75
76
  type: "datasetSerieAttribute",
76
77
  property: t,
77
- index: u
78
+ index: o
78
79
  });
79
80
  });
80
81
  }), ge();
81
82
  }
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(),
83
+ const D = m(Ue()), C = m([]), g = m(null), ae = m(null), S = m(!1), A = m(null), oe = m(null), Qe = m(null), be = m(0), xe = m(0), pe = m(0), ke = m(0), _e = m(0), e = p({
84
+ get: () => ze(),
84
85
  set: (l) => l
85
- });
86
- function Ce() {
87
- const l = Xe({
86
+ }), { userOptionsVisible: Ce, setUserOptionsVisibility: we, keepUserOptionState: Le } = Ft({ config: e.value });
87
+ function ze() {
88
+ const l = Be({
88
89
  userConfig: x.config,
89
- defaultConfig: Be
90
+ defaultConfig: qe
90
91
  });
91
- let u = {};
92
- return l.theme ? u = {
93
- ...Xe({
94
- userConfig: vt.vue_ui_donut_evolution[l.theme] || x.config,
92
+ let o = {};
93
+ return l.theme ? o = {
94
+ ...Be({
95
+ userConfig: yt.vue_ui_donut_evolution[l.theme] || x.config,
95
96
  defaultConfig: l
96
97
  }),
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;
98
+ customPalette: ft[l.theme] || ee
99
+ } : o = l, x.config && We(x.config, "style.chart.zoom.startIndex") ? o.style.chart.zoom.startIndex = x.config.style.chart.zoom.startIndex : o.style.chart.zoom.startIndex = null, x.config && We(x.config, "style.chart.zoom.endIndex") ? o.style.chart.zoom.endIndex = x.config.style.chart.zoom.endIndex : o.style.chart.zoom.endIndex = null, o;
99
100
  }
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) => {
101
+ Me(() => x.config, (l) => {
102
+ e.value = ze(), me(), pe.value += 1, ke.value += 1, _e.value += 1;
103
+ }, { deep: !0 }), Me(() => x.dataset, (l) => {
103
104
  fe();
104
105
  }, { deep: !0 });
105
- const { isPrinting: we, isImaging: Le, generatePdf: ze, generateImage: Ae } = pt({
106
- elementId: E.value,
106
+ const { isPrinting: Se, isImaging: Ae, generatePdf: $e, generateImage: Ne } = Ct({
107
+ elementId: D.value,
107
108
  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
+ }), Ze = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), et = p(() => gt(e.value.customPalette)), B = m({
109
110
  showTable: e.value.table.show
110
111
  }), n = p(() => ({
111
112
  top: e.value.style.chart.layout.padding.top,
@@ -113,73 +114,73 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
113
114
  bottom: e.value.style.chart.layout.padding.bottom,
114
115
  left: e.value.style.chart.layout.padding.left
115
116
  })), 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
+ const l = e.value.style.chart.layout.height, o = e.value.style.chart.layout.width, t = l - n.value.top - n.value.bottom, r = o - n.value.left - n.value.right;
117
118
  return {
118
119
  absoluteHeight: l,
119
- absoluteWidth: u,
120
+ absoluteWidth: o,
120
121
  centerX: n.value.left + r / 2,
121
122
  centerY: n.value.top + t / 2,
122
123
  height: t,
123
124
  width: r
124
125
  };
125
- }), T = p(() => (x.dataset.forEach((l, u) => {
126
- [null, void 0].includes(l.name) && Q({
126
+ }), O = p(() => (x.dataset.forEach((l, o) => {
127
+ [null, void 0].includes(l.name) && Z({
127
128
  componentName: "VueUiDonutEvolution",
128
129
  type: "datasetSerieAttribute",
129
130
  property: "name",
130
- index: u
131
- }), [null, void 0].includes(l.values) && Q({
131
+ index: o
132
+ }), [null, void 0].includes(l.values) && Z({
132
133
  componentName: "VueUiDonutEvolution",
133
134
  type: "datasetSerieAttribute",
134
135
  property: "values",
135
- index: u
136
+ index: o
136
137
  });
137
- }), x.dataset.map((l, u) => ({
138
+ }), x.dataset.map((l, o) => ({
138
139
  ...l,
139
- values: yt(l.values),
140
- color: ve(l.color) || Je.value[u] || Z[u] || Z[u % Z.length],
140
+ values: mt(l.values),
141
+ color: ve(l.color) || et.value[o] || ee[o] || ee[o % ee.length],
141
142
  length: (l.values || []).length,
142
- uid: Ve()
143
- })))), R = p(() => T.value.filter((l) => !C.value.includes(l.uid)).map((l) => ({
143
+ uid: Ue()
144
+ })))), W = p(() => O.value.filter((l) => !C.value.includes(l.uid)).map((l) => ({
144
145
  ...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(() => {
146
+ values: l.values.filter((o, t) => t >= h.value.start && t <= h.value.end)
147
+ }))), E = p(() => Math.max(...W.value.map((l) => l.length))), L = p(() => i.value.width / (h.value.end - h.value.start)), w = p(() => {
147
148
  const l = [];
148
149
  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
+ const f = W.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), ce = f.map((N) => N / $), U = n.value.left + L.value * s + L.value / 2;
150
151
  l.push({
151
152
  index: s,
152
- percentages: ie,
153
+ percentages: ce,
153
154
  subtotal: y || $ < 0 ? null : $,
154
155
  values: f,
155
- x: W
156
+ x: U
156
157
  });
157
158
  }
158
- const u = 0, t = Math.max(...l.map((s) => s.subtotal)), r = l.length === 1 ? t * 2 : t;
159
+ const o = 0, t = Math.max(...l.map((s) => s.subtotal)), r = l.length === 1 ? t * 2 : t;
159
160
  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
+ const y = L.value / 2 * 0.7, $ = y > i.value.width / 16 ? i.value.width / 16 : y, ce = g.value === s.index ? i.value.width / 16 : $, U = 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 / Re(o, r, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
161
162
  return {
162
163
  ...s,
163
164
  y: N,
164
165
  radius: $,
165
- activeRadius: ie,
166
- hoverRadius: W,
166
+ activeRadius: ce,
167
+ hoverRadius: U,
167
168
  donut: de({
168
- series: R.value.map((z, De) => ({
169
+ series: W.value.map((z, Ve) => ({
169
170
  color: z.color,
170
171
  name: z.name,
171
172
  value: z.values[f] ?? 0
172
173
  }))
173
174
  }, s.x, N, $, $, 1.99999, 2, 1, 360, 105.25, $ / 2),
174
175
  donutHover: de({
175
- series: R.value.map((z, De) => ({
176
+ series: W.value.map((z, Ve) => ({
176
177
  color: z.color,
177
178
  name: z.name,
178
179
  value: z.values[f] ?? 0
179
180
  }))
180
- }, s.x, N, W, W, 1.99999, 2, 1, 360, 105.25, W / 2),
181
+ }, s.x, N, U, U, 1.99999, 2, 1, 360, 105.25, U / 2),
181
182
  donutFocus: de({
182
- series: R.value.map((z, De) => ({
183
+ series: W.value.map((z, Ve) => ({
183
184
  color: z.color,
184
185
  name: z.name,
185
186
  value: z.values[f] ?? 0
@@ -188,61 +189,61 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
188
189
  };
189
190
  });
190
191
  });
191
- function Y(l, u, t) {
192
+ function Y(l, o, t) {
192
193
  return he(
193
194
  e.value.style.chart.layout.dataLabels.formatter,
194
195
  l,
195
- ee({
196
+ te({
196
197
  p: e.value.style.chart.layout.dataLabels.prefix,
197
198
  v: l,
198
199
  s: e.value.style.chart.layout.dataLabels.suffix,
199
200
  r: e.value.style.chart.layout.dataLabels.rounding
200
201
  }),
201
- { datapoint: u, index: t }
202
+ { datapoint: o, index: t }
202
203
  );
203
204
  }
204
- const oe = p(() => ({
205
+ const ue = p(() => ({
205
206
  max: Math.max(...w.value.map((l) => l.subtotal)),
206
207
  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);
208
+ })), M = p(() => {
209
+ const l = w.value.length === 1 ? ue.value.max * 2 : ue.value.max;
210
+ return Re(ue.value.min, l, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
210
211
  });
211
- function Qe(l) {
212
- return l / H.value.max;
212
+ function tt(l) {
213
+ return l / M.value.max;
213
214
  }
214
- const Ze = p(() => H.value.ticks.map((l) => ({
215
- y: i.value.absoluteHeight - n.value.bottom - i.value.height * Qe(l),
215
+ const lt = p(() => M.value.ticks.map((l) => ({
216
+ y: i.value.absoluteHeight - n.value.bottom - i.value.height * tt(l),
216
217
  value: l
217
218
  })));
218
- function Se(l, u) {
219
- return isNaN(l.value / Ue(u, "value")) ? 0 : (l.value / Ue(u, "value") * 100).toFixed(0) + "%";
219
+ function Ie(l, o) {
220
+ return isNaN(l.value / je(o, "value")) ? 0 : (l.value / je(o, "value") * 100).toFixed(0) + "%";
220
221
  }
221
- function $e() {
222
- A.value || (g.value = null, le.value = null);
222
+ function Fe() {
223
+ S.value || (g.value = null, ae.value = null);
223
224
  }
224
- function et(l) {
225
- A.value || (g.value = l.index, le.value = l);
225
+ function at(l) {
226
+ S.value || (g.value = l.index, ae.value = l);
226
227
  }
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));
228
+ const se = m(null);
229
+ function ne(l, o) {
230
+ l.subtotal && (ae.value = null, g.value = null, S.value = !0, A.value = l, [null, void 0].includes(o) || (se.value = o));
230
231
  }
231
- function Ne() {
232
- S.value = null, A.value = !1, ue.value = null;
232
+ function Pe() {
233
+ A.value = null, S.value = !1, se.value = null;
233
234
  }
234
- const Ie = p(() => T.value.map((l, u) => ({
235
+ const Oe = p(() => O.value.map((l, o) => ({
235
236
  name: l.name,
236
237
  value: l.values.slice(h.value.start, h.value.end).reduce((t, r) => t + r, 0),
237
238
  shape: "circle",
238
239
  uid: l.uid,
239
240
  color: l.color
240
- })).sort((l, u) => u.value - l.value).map((l) => ({
241
+ })).sort((l, o) => o.value - l.value).map((l) => ({
241
242
  ...l,
242
243
  opacity: C.value.includes(l.uid) ? 0.5 : 1,
243
- segregate: () => ne(l.uid),
244
+ segregate: () => re(l.uid),
244
245
  isSegregated: C.value.includes(l.uid)
245
- }))), Fe = p(() => w.value.map((l) => l.subtotal).reduce((l, u) => l + u, 0)), tt = p(() => ({
246
+ }))), Te = p(() => w.value.map((l) => l.subtotal).reduce((l, o) => l + o, 0)), ot = p(() => ({
246
247
  cy: "donut-div-legend",
247
248
  backgroundColor: e.value.style.chart.legend.backgroundColor,
248
249
  color: e.value.style.chart.legend.color,
@@ -250,24 +251,24 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
250
251
  paddingBottom: 12,
251
252
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
252
253
  }));
253
- function ne(l) {
254
+ function re(l) {
254
255
  if (C.value.includes(l))
255
- C.value = C.value.filter((u) => u !== l), ye("selectLegend", null);
256
+ C.value = C.value.filter((o) => o !== l), ye("selectLegend", null);
256
257
  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));
258
+ if (C.value.length === O.value.length - 1) return;
259
+ C.value.push(l), ye("selectLegend", O.value.find((o) => o.uid === l));
259
260
  }
260
- S.value && se(w.value.find((u, t) => t === ue.value));
261
+ A.value && ne(w.value.find((o, t) => t === se.value));
261
262
  }
262
- const M = p(() => {
263
- const l = [""].concat(T.value.filter((s) => !C.value.includes(s.uid)).map((s) => ({
263
+ const H = p(() => {
264
+ const l = [""].concat(O.value.filter((s) => !C.value.includes(s.uid)).map((s) => ({
264
265
  name: s.name,
265
266
  color: s.color
266
267
  }))).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) => ({
268
+ let o = [];
269
+ for (let s = 0; s < E.value; s += 1) {
270
+ const f = O.value.filter((y) => !C.value.includes(y.uid)).map((y) => y.values[s] ?? 0).reduce((y, $) => y + $, 0);
271
+ o.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[s] ?? "-"].concat(O.value.filter((y) => !C.value.includes(y.uid)).map((y) => ({
271
272
  value: y.values[s] ?? 0,
272
273
  percentage: y.values[s] ? y.values[s] / f * 100 : 0
273
274
  }))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(f.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
@@ -286,64 +287,66 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
286
287
  breakpoint: e.value.table.responsiveBreakpoint
287
288
  }, r = [
288
289
  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 };
290
+ ].concat(O.value.filter((s) => !C.value.includes(s.uid)).map((s) => s.name)).concat(e.value.table.columnNames.total);
291
+ return { head: l, body: o, config: t, colNames: r };
291
292
  });
292
- function lt() {
293
- return T.value;
293
+ function ut() {
294
+ return O.value;
294
295
  }
295
- function Pe() {
296
+ function De() {
296
297
  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" });
298
+ const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = [...H.value.head.map((f) => f.name ?? f)], t = [...H.value.body.map((f) => f.map((y) => y.value ?? y))], r = l.concat([o]).concat(t), s = pt(r);
299
+ kt({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
299
300
  });
300
301
  }
301
- const U = m(!1);
302
- function at(l) {
303
- U.value = l, be.value += 1;
302
+ const R = m(!1);
303
+ function st(l) {
304
+ R.value = l, be.value += 1;
304
305
  }
305
- function Te() {
306
+ function Ee() {
306
307
  B.value.showTable = !B.value.showTable;
307
308
  }
308
309
  const K = m(!1);
309
- function re() {
310
+ function ie() {
310
311
  K.value = !K.value;
311
312
  }
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", {
313
+ return Ke({
314
+ getData: ut,
315
+ generatePdf: $e,
316
+ generateCsv: De,
317
+ generateImage: Ne,
318
+ toggleTable: Ee,
319
+ toggleAnnotator: ie
320
+ }), (l, o) => (a(), u("div", {
320
321
  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
322
+ ref: oe,
323
+ class: P(`vue-ui-donut-evolution ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
324
+ style: q(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
325
+ id: D.value,
326
+ onMouseenter: o[4] || (o[4] = () => c(we)(!0)),
327
+ onMouseleave: o[5] || (o[5] = () => c(we)(!1))
325
328
  }, [
326
- e.value.userOptions.buttons.annotator ? (a(), D(St, {
329
+ e.value.userOptions.buttons.annotator ? (a(), T(It, {
327
330
  key: 0,
328
- parent: ae.value,
331
+ parent: oe.value,
329
332
  backgroundColor: e.value.style.chart.backgroundColor,
330
333
  color: e.value.style.chart.color,
331
334
  active: K.value,
332
- onClose: re
335
+ onClose: ie
333
336
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : v("", !0),
334
- qe.value ? (a(), o("div", {
337
+ Ze.value ? (a(), u("div", {
335
338
  key: 1,
336
339
  ref_key: "noTitle",
337
- ref: Ke,
340
+ ref: Qe,
338
341
  class: "vue-data-ui-no-title-space",
339
342
  style: "height:36px; width: 100%;background:transparent"
340
343
  }, null, 512)) : v("", !0),
341
- e.value.style.chart.title.text ? (a(), o("div", {
344
+ e.value.style.chart.title.text ? (a(), u("div", {
342
345
  key: 2,
343
346
  style: "width:100%;background:transparent;padding-bottom:24px",
344
- onMouseleave: $e
347
+ onMouseleave: Fe
345
348
  }, [
346
- (a(), D(xt, {
349
+ (a(), T(_t, {
347
350
  key: `title_${pe.value}`,
348
351
  config: {
349
352
  title: {
@@ -357,32 +360,35 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
357
360
  }
358
361
  }, null, 8, ["config"]))
359
362
  ], 32)) : v("", !0),
360
- e.value.userOptions.show && j.value ? (a(), D(kt, {
363
+ e.value.userOptions.show && j.value && (c(Le) || c(Ce)) ? (a(), T(wt, {
361
364
  ref: "details",
362
365
  key: `user_options_${be.value}`,
363
366
  backgroundColor: e.value.style.chart.backgroundColor,
364
367
  color: e.value.style.chart.color,
365
- isPrinting: c(we),
366
- isImaging: c(Le),
367
- uid: E.value,
368
+ isPrinting: c(Se),
369
+ isImaging: c(Ae),
370
+ uid: D.value,
368
371
  hasPdf: e.value.userOptions.buttons.pdf,
369
372
  hasImg: e.value.userOptions.buttons.img,
370
373
  hasXls: e.value.userOptions.buttons.csv,
371
374
  hasTable: e.value.userOptions.buttons.table,
372
375
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
373
- isFullscreen: U.value,
376
+ isFullscreen: R.value,
374
377
  titles: { ...e.value.userOptions.buttonTitles },
375
- chartElement: ae.value,
378
+ chartElement: oe.value,
376
379
  position: e.value.userOptions.position,
377
380
  hasAnnotator: e.value.userOptions.buttons.annotator,
378
381
  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 }, [
382
+ onToggleFullscreen: st,
383
+ onGeneratePdf: c($e),
384
+ onGenerateCsv: De,
385
+ onGenerateImage: c(Ne),
386
+ onToggleTable: Ee,
387
+ onToggleAnnotator: ie,
388
+ style: q({
389
+ visibility: c(Le) ? c(Ce) ? "visible" : "hidden" : "visible"
390
+ })
391
+ }, rt({ _: 2 }, [
386
392
  l.$slots.optionPdf ? {
387
393
  name: "optionPdf",
388
394
  fn: I(() => [
@@ -414,29 +420,29 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
414
420
  l.$slots.optionFullscreen ? {
415
421
  name: "optionFullscreen",
416
422
  fn: I(({ toggleFullscreen: t, isFullscreen: r }) => [
417
- F(l.$slots, "optionFullscreen", q(J({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
423
+ F(l.$slots, "optionFullscreen", J(Q({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
418
424
  ]),
419
425
  key: "4"
420
426
  } : void 0,
421
427
  l.$slots.optionAnnotator ? {
422
428
  name: "optionAnnotator",
423
429
  fn: I(({ toggleAnnotator: t, isAnnotator: r }) => [
424
- F(l.$slots, "optionAnnotator", q(J({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
430
+ F(l.$slots, "optionAnnotator", J(Q({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
425
431
  ]),
426
432
  key: "5"
427
433
  } : 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", {
434
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
435
+ j.value ? (a(), u("svg", {
430
436
  key: 4,
431
- xmlns: c(ft),
432
- class: P({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
437
+ xmlns: c(bt),
438
+ class: P({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
433
439
  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}`)
440
+ style: q(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
435
441
  }, [
436
- st(At),
442
+ it(Nt),
437
443
  d("defs", null, [
438
444
  d("linearGradient", {
439
- id: `hover_${E.value}`,
445
+ id: `hover_${D.value}`,
440
446
  x1: "0%",
441
447
  y1: "0%",
442
448
  x2: "0%",
@@ -445,30 +451,30 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
445
451
  d("stop", {
446
452
  offset: "0%",
447
453
  "stop-color": c(G)(e.value.style.chart.backgroundColor, e.value.style.chart.layout.highlighter.opacity)
448
- }, null, 8, Pt),
454
+ }, null, 8, Et),
449
455
  d("stop", {
450
456
  offset: "100%",
451
457
  "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),
458
+ }, null, 8, Vt)
459
+ ], 8, Dt),
454
460
  d("radialGradient", {
455
- id: `focus_${E.value}`
461
+ id: `focus_${D.value}`
456
462
  }, [
457
463
  d("stop", {
458
464
  offset: "0%",
459
465
  "stop-color": c(G)(c(ve)(e.value.style.chart.backgroundColor), 0)
460
- }, null, 8, Et),
466
+ }, null, 8, Ht),
461
467
  d("stop", {
462
468
  offset: "77%",
463
469
  "stop-color": c(G)("#FFFFFF", 30)
464
- }, null, 8, Ot),
470
+ }, null, 8, Ut),
465
471
  d("stop", {
466
472
  offset: "100%",
467
473
  "stop-color": c(G)(c(ve)(e.value.style.chart.backgroundColor), 0)
468
- }, null, 8, Vt)
469
- ], 8, Dt)
474
+ }, null, 8, Wt)
475
+ ], 8, Mt)
470
476
  ]),
471
- e.value.style.chart.layout.grid.show ? (a(), o("g", Ht, [
477
+ e.value.style.chart.layout.grid.show ? (a(), u("g", Rt, [
472
478
  d("line", {
473
479
  x1: n.value.left,
474
480
  x2: n.value.left,
@@ -477,7 +483,7 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
477
483
  stroke: e.value.style.chart.layout.grid.stroke,
478
484
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
479
485
  "stroke-linecap": "round"
480
- }, null, 8, Mt),
486
+ }, null, 8, Xt),
481
487
  d("line", {
482
488
  x1: n.value.left,
483
489
  x2: i.value.absoluteWidth - n.value.right,
@@ -486,9 +492,9 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
486
492
  stroke: e.value.style.chart.layout.grid.stroke,
487
493
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
488
494
  "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", {
495
+ }, null, 8, Gt),
496
+ e.value.style.chart.layout.grid.showVerticalLines ? (a(), u("g", jt, [
497
+ (a(!0), u(k, null, _(h.value.end - h.value.start, (t, r) => (a(), u("line", {
492
498
  x1: n.value.left + (r + 1) * L.value,
493
499
  x2: n.value.left + (r + 1) * L.value,
494
500
  y1: n.value.top,
@@ -496,15 +502,15 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
496
502
  stroke: e.value.style.chart.layout.grid.stroke,
497
503
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
498
504
  "stroke-linecap": "round"
499
- }, null, 8, Ut))), 256))
505
+ }, null, 8, Bt))), 256))
500
506
  ])) : v("", !0)
501
507
  ])) : v("", !0),
502
- e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (a(), o("g", {
508
+ e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (a(), u("g", {
503
509
  key: 1,
504
- class: P({ "donut-opacity": !0, "donut-behind": g.value !== null || A.value })
510
+ class: P({ "donut-opacity": !0, "donut-behind": g.value !== null || S.value })
505
511
  }, [
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", {
512
+ (a(!0), u(k, null, _(lt.value, (t, r) => (a(), u("g", null, [
513
+ t.value >= M.value.min && t.value <= M.value.max ? (a(), u("line", {
508
514
  key: 0,
509
515
  x1: n.value.left,
510
516
  x2: n.value.left - 5,
@@ -512,8 +518,8 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
512
518
  y2: t.y,
513
519
  stroke: e.value.style.chart.layout.grid.stroke,
514
520
  "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", {
521
+ }, null, 8, Yt)) : v("", !0),
522
+ t.value >= M.value.min && t.value <= M.value.max ? (a(), u("text", {
517
523
  key: 1,
518
524
  x: n.value.left - 8 + e.value.style.chart.layout.grid.yAxis.dataLabels.offsetX,
519
525
  y: t.y + e.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
@@ -521,37 +527,37 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
521
527
  "text-anchor": "end",
522
528
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
523
529
  "font-weight": e.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
524
- }, b(c(gt)(t.value) ? c(he)(
530
+ }, b(c(xt)(t.value) ? c(he)(
525
531
  e.value.style.chart.layout.dataLabels.formatter,
526
532
  t.value,
527
- c(ee)({
533
+ c(te)({
528
534
  p: e.value.style.chart.layout.dataLabels.prefix,
529
535
  v: t.value,
530
536
  s: e.value.style.chart.layout.dataLabels.suffix,
531
537
  r: e.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
532
538
  }),
533
539
  { datapoint: t, seriesIndex: r }
534
- ) : ""), 9, Gt)) : v("", !0)
540
+ ) : ""), 9, Kt)) : v("", !0)
535
541
  ]))), 256))
536
542
  ], 2)) : v("", !0),
537
- e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (a(), o("g", {
543
+ e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (a(), u("g", {
538
544
  key: 2,
539
- class: P({ "donut-opacity": !0, "donut-behind": A.value })
545
+ class: P({ "donut-opacity": !0, "donut-behind": S.value })
540
546
  }, [
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", {
547
+ (a(!0), u(k, null, _(h.value.end - h.value.start, (t, r) => (a(), u("g", null, [
548
+ 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(), u("text", {
543
549
  key: 0,
544
550
  "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
551
  "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
546
552
  fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
547
553
  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)
554
+ }, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(r) + Number(h.value.start)] ?? ""), 9, qt)) : v("", !0)
549
555
  ]))), 256))
550
556
  ], 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", {
557
+ (a(!0), u(k, null, _(w.value, (t, r) => (a(), u("g", null, [
558
+ e.value.style.chart.layout.line.show && r < w.value.length - 1 && ![t.subtotal, w.value[r + 1].subtotal].includes(null) ? (a(), u("line", {
553
559
  key: 0,
554
- class: P({ "donut-opacity": !0, "donut-behind": g.value !== null || A.value }),
560
+ class: P({ "donut-opacity": !0, "donut-behind": g.value !== null || S.value }),
555
561
  x1: t.x,
556
562
  y1: t.y,
557
563
  x2: w.value[r + 1].x,
@@ -560,42 +566,42 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
560
566
  "stroke-width": e.value.style.chart.layout.line.strokeWidth,
561
567
  "stroke-linecap": "round",
562
568
  "stroke-linejoin": "round"
563
- }, null, 10, Bt)) : v("", !0),
564
- t.subtotal !== null ? (a(), o("g", Yt, [
565
- t.subtotal ? (a(), o("circle", {
569
+ }, null, 10, Jt)) : v("", !0),
570
+ t.subtotal !== null ? (a(), u("g", Qt, [
571
+ t.subtotal ? (a(), u("circle", {
566
572
  key: 0,
567
573
  cx: t.x,
568
574
  cy: t.y,
569
575
  r: t.activeRadius,
570
576
  fill: e.value.style.chart.backgroundColor
571
- }, null, 8, Kt)) : v("", !0)
577
+ }, null, 8, Zt)) : v("", !0)
572
578
  ])) : v("", !0)
573
579
  ]))), 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 })
580
+ (a(!0), u(k, null, _(w.value, (t, r) => (a(), u("g", {
581
+ class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || S.value })
576
582
  }, [
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, [
583
+ t.subtotal ? (a(), u("g", el, [
584
+ g.value !== null && g.value === r ? (a(), u("g", tl, [
585
+ (a(!0), u(k, null, _(t.donutHover, (s) => (a(), u("g", null, [
580
586
  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),
587
+ d: c(Xe)(s, { x: s.center.endX, y: s.center.endY }, 12, 12, { x: t.x, y: t.y }, !0, 20),
582
588
  stroke: s.color,
583
589
  "stroke-width": "1",
584
590
  "stroke-linecap": "round",
585
591
  "stroke-linejoin": "round",
586
592
  fill: "none"
587
- }, null, 8, Qt)
593
+ }, null, 8, ll)
588
594
  ]))), 256)),
589
- (a(!0), o(k, null, _(t.donutHover, (s, f) => (a(), o("g", null, [
595
+ (a(!0), u(k, null, _(t.donutHover, (s, f) => (a(), u("g", null, [
590
596
  d("text", {
591
597
  "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),
598
+ "text-anchor": c(le)(s, !0, 0).anchor,
599
+ x: c(le)(s, !0, 3).x,
600
+ y: c(Ge)(s),
595
601
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
596
602
  "font-size": 8,
597
603
  "font-weight": "bold"
598
- }, b(s.name) + ": " + b(Se(s, t.donut)) + " (" + b(s.value === null ? "-" : Y(s.value, s, f)) + ") ", 9, Zt)
604
+ }, b(s.name) + ": " + b(Ie(s, t.donut)) + " (" + b(s.value === null ? "-" : Y(s.value, s, f)) + ") ", 9, al)
599
605
  ]))), 256)),
600
606
  d("g", null, [
601
607
  d("circle", {
@@ -603,42 +609,42 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
603
609
  cy: t.y,
604
610
  r: t.hoverRadius,
605
611
  fill: e.value.style.chart.backgroundColor
606
- }, null, 8, el)
612
+ }, null, 8, ol)
607
613
  ])
608
614
  ])) : v("", !0)
609
615
  ])) : v("", !0)
610
616
  ], 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 })
617
+ (a(!0), u(k, null, _(w.value, (t, r) => (a(), u("g", {
618
+ class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || S.value })
613
619
  }, [
614
- t.subtotal !== null ? (a(), o("g", tl, [
615
- t.subtotal === 0 ? (a(), o("circle", {
620
+ t.subtotal !== null ? (a(), u("g", ul, [
621
+ t.subtotal === 0 ? (a(), u("circle", {
616
622
  key: 0,
617
623
  cx: t.x,
618
624
  cy: t.y,
619
625
  r: 3,
620
626
  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", {
627
+ }, null, 8, sl)) : g.value !== null && g.value === r ? (a(), u("g", nl, [
628
+ (a(!0), u(k, null, _(t.donutHover, (s, f) => (a(), u("path", {
623
629
  d: s.arcSlice,
624
630
  fill: `${s.color}`,
625
631
  "stroke-width": 1,
626
632
  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", {
633
+ }, null, 8, rl))), 256))
634
+ ])) : (a(), u("g", il, [
635
+ (a(!0), u(k, null, _(t.donut, (s, f) => (a(), u("path", {
630
636
  d: s.arcSlice,
631
637
  fill: `${s.color}`,
632
638
  "stroke-width": 0.5,
633
639
  stroke: e.value.style.chart.backgroundColor
634
- }, null, 8, sl))), 256))
640
+ }, null, 8, cl))), 256))
635
641
  ]))
636
642
  ])) : v("", !0)
637
643
  ], 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 })
644
+ (a(!0), u(k, null, _(w.value, (t, r) => (a(), u("g", {
645
+ class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || S.value })
640
646
  }, [
641
- t.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (a(), o("text", {
647
+ t.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (a(), u("text", {
642
648
  key: 0,
643
649
  "text-anchor": "middle",
644
650
  x: t.x,
@@ -646,30 +652,30 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
646
652
  "font-size": e.value.style.chart.layout.dataLabels.fontSize,
647
653
  "font-weight": "bold",
648
654
  fill: e.value.style.chart.layout.dataLabels.color
649
- }, b(Y(t.subtotal, t, r)), 9, nl)) : v("", !0)
655
+ }, b(Y(t.subtotal, t, r)), 9, vl)) : v("", !0)
650
656
  ], 2))), 256)),
651
- (a(!0), o(k, null, _(w.value, (t, r) => (a(), o("rect", {
657
+ (a(!0), u(k, null, _(w.value, (t, r) => (a(), u("rect", {
652
658
  x: n.value.left + r * L.value,
653
659
  y: i.value.absoluteHeight - n.value.bottom - 10,
654
660
  width: L.value,
655
661
  height: 10,
656
- fill: g.value === t.index ? `url(#hover_${E.value})` : "transparent",
657
- onClick: (s) => se(t, r),
662
+ fill: g.value === t.index ? `url(#hover_${D.value})` : "transparent",
663
+ onClick: (s) => ne(t, r),
658
664
  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", {
665
+ }, null, 10, dl))), 256)),
666
+ (a(!0), u(k, null, _(w.value, (t, r) => (a(), u("rect", {
661
667
  "data-cy-trap": "",
662
668
  x: n.value.left + r * L.value,
663
669
  y: n.value.top,
664
670
  width: L.value,
665
671
  height: i.value.height,
666
672
  fill: "transparent",
667
- onMouseenter: (s) => et(t),
668
- onMouseleave: $e,
669
- onClick: (s) => se(t, r),
673
+ onMouseenter: (s) => at(t),
674
+ onMouseleave: Fe,
675
+ onClick: (s) => ne(t, r),
670
676
  class: P({ "donut-hover": g.value === t.index && t.subtotal })
671
- }, null, 42, il))), 256)),
672
- A.value ? (a(), o("g", cl, [
677
+ }, null, 42, hl))), 256)),
678
+ S.value ? (a(), u("g", yl, [
673
679
  d("rect", {
674
680
  rx: 4,
675
681
  x: n.value.left,
@@ -678,7 +684,7 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
678
684
  height: i.value.height,
679
685
  fill: e.value.style.chart.backgroundColor,
680
686
  style: { filter: "drop-shadow(0 12px 12px rgba(0,0,0,0.3))" }
681
- }, null, 8, vl),
687
+ }, null, 8, fl),
682
688
  d("line", {
683
689
  "data-html2canvas-ignore": "",
684
690
  x1: i.value.absoluteWidth - n.value.right - 15,
@@ -688,7 +694,7 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
688
694
  "stroke-linecap": "round",
689
695
  stroke: e.value.style.chart.color,
690
696
  "stroke-width": "1.5"
691
- }, null, 8, dl),
697
+ }, null, 8, gl),
692
698
  d("line", {
693
699
  "data-html2canvas-ignore": "",
694
700
  x1: i.value.absoluteWidth - n.value.right - 15,
@@ -698,65 +704,65 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
698
704
  "stroke-linecap": "round",
699
705
  stroke: e.value.style.chart.color,
700
706
  "stroke-width": "1.5"
701
- }, null, 8, hl),
707
+ }, null, 8, ml),
702
708
  d("circle", {
703
709
  "data-cy-close": "",
704
- onClick: Ne,
705
- onKeypress: nt(Ne, ["enter"]),
710
+ onClick: Pe,
711
+ onKeypress: ct(Pe, ["enter"]),
706
712
  cx: i.value.absoluteWidth - n.value.right - i.value.width / 40,
707
713
  cy: n.value.top + i.value.height / 30,
708
714
  r: i.value.height / 12,
709
715
  fill: "transparent",
710
716
  style: { cursor: "pointer" },
711
717
  tabindex: "0"
712
- }, null, 40, yl),
713
- (a(!0), o(k, null, _(S.value.donutFocus, (t) => (a(), o("g", null, [
718
+ }, null, 40, bl),
719
+ (a(!0), u(k, null, _(A.value.donutFocus, (t) => (a(), u("g", null, [
714
720
  d("path", {
715
721
  "data-cy-zoom-donut": "",
716
- d: c(We)(t, { x: i.value.centerX, y: i.value.centerY }, 12, 12, !1, !1, 15),
722
+ d: c(Xe)(t, { x: i.value.centerX, y: i.value.centerY }, 12, 12, !1, !1, 15),
717
723
  stroke: t.color,
718
724
  "stroke-width": "1",
719
725
  "stroke-linecap": "round",
720
726
  "stroke-linejoin": "round",
721
727
  fill: "none",
722
728
  class: "vue-ui-donut-evolution-focus"
723
- }, null, 8, fl)
729
+ }, null, 8, xl)
724
730
  ]))), 256)),
725
731
  d("circle", {
726
732
  cx: n.value.left + i.value.width / 2,
727
733
  cy: n.value.top + i.value.height / 2,
728
734
  r: i.value.height / 7,
729
735
  fill: e.value.style.chart.backgroundColor
730
- }, null, 8, gl),
731
- (a(!0), o(k, null, _(S.value.donutFocus, (t, r) => (a(), o("path", {
736
+ }, null, 8, pl),
737
+ (a(!0), u(k, null, _(A.value.donutFocus, (t, r) => (a(), u("path", {
732
738
  d: t.arcSlice,
733
739
  fill: `${t.color}`,
734
740
  "stroke-width": 1,
735
741
  stroke: e.value.style.chart.backgroundColor,
736
742
  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, [
743
+ }, null, 8, kl))), 256)),
744
+ (a(!0), u(k, null, _(A.value.donutFocus, (t, r) => (a(), u("g", _l, [
739
745
  d("text", {
740
- "text-anchor": c(te)(t, !0, 20).anchor,
741
- x: c(te)(t, !0, 10).x,
742
- y: c(Re)(t),
746
+ "text-anchor": c(le)(t, !0, 20).anchor,
747
+ x: c(le)(t, !0, 10).x,
748
+ y: c(Ge)(t),
743
749
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
744
750
  "font-size": 10,
745
751
  "font-weight": "bold"
746
- }, b(t.name) + ": " + b(Se(t, S.value.donutFocus)) + " (" + b(t.value === null ? "-" : Y(t.value, t, r)) + ") ", 9, xl)
752
+ }, b(t.name) + ": " + b(Ie(t, A.value.donutFocus)) + " (" + b(t.value === null ? "-" : Y(t.value, t, r)) + ") ", 9, Cl)
747
753
  ]))), 256)),
748
754
  d("circle", {
749
755
  cx: n.value.left + i.value.width / 2,
750
756
  cy: n.value.top + i.value.height / 2,
751
757
  r: i.value.height / 3.8,
752
- fill: `url(#focus_${E.value})`
753
- }, null, 8, pl),
758
+ fill: `url(#focus_${D.value})`
759
+ }, null, 8, wl),
754
760
  d("circle", {
755
761
  cx: n.value.left + i.value.width / 2,
756
762
  cy: n.value.top + i.value.height / 2,
757
763
  r: i.value.height / 7.7,
758
764
  fill: e.value.style.chart.backgroundColor
759
- }, null, 8, kl),
765
+ }, null, 8, Ll),
760
766
  d("text", {
761
767
  "text-anchor": "middle",
762
768
  x: n.value.left + i.value.width / 2,
@@ -765,21 +771,21 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
765
771
  "font-weight": "bold",
766
772
  fill: e.value.style.chart.layout.dataLabels.color,
767
773
  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", {
774
+ }, b(Y(A.value.subtotal, A.value, null)), 9, zl),
775
+ e.value.style.chart.layout.grid.xAxis.dataLabels.values[A.value.index] ? (a(), u("text", {
770
776
  key: 0,
771
777
  x: n.value.left + 6,
772
778
  y: n.value.top + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2,
773
779
  "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 1.6,
774
780
  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)
781
+ }, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(A.value.index) + Number(h.value.start)]), 9, Sl)) : v("", !0)
776
782
  ])) : v("", !0),
777
783
  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)
784
+ ], 14, Tt)) : v("", !0),
785
+ l.$slots.watermark ? (a(), u("div", Al, [
786
+ F(l.$slots, "watermark", J(Q({ isPrinting: c(Se) || c(Ae) })), void 0, !0)
781
787
  ])) : v("", !0),
782
- j.value ? v("", !0) : (a(), D(wt, {
788
+ j.value ? v("", !0) : (a(), T(St, {
783
789
  key: 6,
784
790
  config: {
785
791
  type: "donutEvolution",
@@ -796,7 +802,7 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
796
802
  }
797
803
  }
798
804
  }, null, 8, ["config"])),
799
- O.value > 1 && e.value.style.chart.zoom.show ? (a(), D(Lt, {
805
+ E.value > 1 && e.value.style.chart.zoom.show ? (a(), T(At, {
800
806
  ref_key: "slicerComponent",
801
807
  ref: V,
802
808
  key: `slicer_${xe.value}`,
@@ -809,39 +815,39 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
809
815
  textColor: e.value.style.chart.color,
810
816
  inputColor: e.value.style.chart.zoom.color,
811
817
  selectColor: e.value.style.chart.zoom.highlightColor,
812
- max: O.value,
818
+ max: E.value,
813
819
  min: 0,
814
820
  valueStart: h.value.start,
815
821
  valueEnd: h.value.end,
816
822
  start: h.value.start,
817
- "onUpdate:start": u[0] || (u[0] = (t) => h.value.start = t),
823
+ "onUpdate:start": o[0] || (o[0] = (t) => h.value.start = t),
818
824
  end: h.value.end,
819
- "onUpdate:end": u[1] || (u[1] = (t) => h.value.end = t),
825
+ "onUpdate:end": o[1] || (o[1] = (t) => h.value.end = t),
820
826
  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,
827
+ refreshEndPoint: e.value.style.chart.zoom.endIndex !== null ? e.value.style.chart.zoom.endIndex + 1 : E.value,
822
828
  onReset: fe
823
829
  }, {
824
830
  "reset-action": I(({ reset: t }) => [
825
- F(l.$slots, "reset-action", q(J({ reset: t })), void 0, !0)
831
+ F(l.$slots, "reset-action", J(Q({ reset: t })), void 0, !0)
826
832
  ]),
827
833
  _: 3
828
834
  }, 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, {
835
+ e.value.style.chart.legend.show ? (a(), T(zt, {
830
836
  key: `legend_${_e.value}`,
831
- legendSet: Ie.value,
832
- config: tt.value,
833
- onClickMarker: u[2] || (u[2] = ({ legend: t }) => ne(t.uid))
837
+ legendSet: Oe.value,
838
+ config: ot.value,
839
+ onClickMarker: o[2] || (o[2] = ({ legend: t }) => re(t.uid))
834
840
  }, {
835
841
  item: I(({ legend: t, index: r }) => [
836
842
  d("div", {
837
843
  "data-cy-legend-item": "",
838
- onClick: (s) => ne(t.uid),
839
- style: ce(`opacity:${C.value.includes(t.uid) ? 0.5 : 1}`)
844
+ onClick: (s) => re(t.uid),
845
+ style: q(`opacity:${C.value.includes(t.uid) ? 0.5 : 1}`)
840
846
  }, [
841
- Oe(b(t.name) + ": " + b(c(he)(
847
+ He(b(t.name) + ": " + b(c(he)(
842
848
  e.value.style.chart.layout.dataLabels.formatter,
843
849
  t.value,
844
- c(ee)({
850
+ c(te)({
845
851
  p: e.value.style.chart.layout.dataLabels.prefix,
846
852
  v: t.value,
847
853
  s: e.value.style.chart.layout.dataLabels.suffix,
@@ -849,20 +855,20 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
849
855
  }),
850
856
  { datapoint: t, seriesIndex: r }
851
857
  )) + " ", 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,
858
+ C.value.includes(t.uid) ? (a(), u("span", Il, " ( - % ) ")) : (a(), u("span", Nl, " (" + b(isNaN(t.value / Te.value) ? "-" : c(te)({
859
+ v: t.value / Te.value * 100,
854
860
  s: "%",
855
861
  r: e.value.style.chart.legend.roundingPercentage
856
862
  })) + ") ", 1))
857
- ], 12, Ll)
863
+ ], 12, $l)
858
864
  ]),
859
865
  _: 1
860
866
  }, 8, ["legendSet", "config"])) : v("", !0),
861
- F(l.$slots, "legend", { legend: Ie.value }, void 0, !0),
862
- l.$slots.source ? (a(), o("div", Sl, [
867
+ F(l.$slots, "legend", { legend: Oe.value }, void 0, !0),
868
+ l.$slots.source ? (a(), u("div", Fl, [
863
869
  F(l.$slots, "source", {}, void 0, !0)
864
870
  ], 512)) : v("", !0),
865
- j.value ? (a(), D(zt, {
871
+ j.value ? (a(), T($t, {
866
872
  key: 10,
867
873
  hideDetails: "",
868
874
  config: {
@@ -879,20 +885,20 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
879
885
  }
880
886
  }, {
881
887
  content: I(() => [
882
- (a(), D(_t, {
888
+ (a(), T(Lt, {
883
889
  key: `table_${ke.value}`,
884
- colNames: M.value.colNames,
885
- head: M.value.head,
886
- body: M.value.body,
887
- config: M.value.config,
890
+ colNames: H.value.colNames,
891
+ head: H.value.head,
892
+ body: H.value.body,
893
+ config: H.value.config,
888
894
  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)
895
+ onClose: o[3] || (o[3] = (t) => B.value.showTable = !1)
890
896
  }, {
891
897
  th: I(({ th: t }) => [
892
- Oe(b(t.name ?? t), 1)
898
+ He(b(t.name ?? t), 1)
893
899
  ]),
894
900
  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)),
901
+ t.value === null ? (a(), u("span", Pl, "-")) : (a(), u("b", Ol, 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
902
  d("span", null, b(t.percentage && !isNaN(t.percentage) ? `(${Number(t.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
897
903
  ]),
898
904
  _: 1
@@ -900,9 +906,9 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
900
906
  ]),
901
907
  _: 1
902
908
  }, 8, ["config"])) : v("", !0)
903
- ], 14, Nt));
909
+ ], 46, Ot));
904
910
  }
905
- }, Gl = /* @__PURE__ */ $t(Il, [["__scopeId", "data-v-390e9759"]]);
911
+ }, ql = /* @__PURE__ */ Pt(Tl, [["__scopeId", "data-v-49a97983"]]);
906
912
  export {
907
- Gl as default
913
+ ql as default
908
914
  };