vue-data-ui 2.3.99 → 2.4.0

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 (150) hide show
  1. package/dist/{Arrow-DwqF2Xky.cjs → Arrow-CbntjQjr.cjs} +1 -1
  2. package/dist/{Arrow-Dyp57i2e.js → Arrow-NcE21Ngm.js} +1 -1
  3. package/dist/{BaseIcon-BDeByyf-.cjs → BaseIcon-7IlvRUX2.cjs} +1 -1
  4. package/dist/{BaseIcon-DHB44s-g.js → BaseIcon-BUTpMnXi.js} +3 -3
  5. package/dist/{DataTable-CiVu-yQZ.cjs → DataTable-BwH-MU-S.cjs} +1 -1
  6. package/dist/{DataTable-Dv3mZD4M.js → DataTable-DAgyf9zN.js} +2 -2
  7. package/dist/{Legend-ComtyeZF.cjs → Legend-CHQgjBuK.cjs} +1 -1
  8. package/dist/{Legend-iUlykl4S.js → Legend-DBhpIX2x.js} +1 -1
  9. package/dist/PackageVersion-Djty0wb2.cjs +1 -0
  10. package/dist/{PackageVersion-DWAqn7t0.js → PackageVersion-wB6dCDZw.js} +1 -1
  11. package/dist/{Shape-CDqrt_yL.js → Shape-CQVJz33T.js} +1 -1
  12. package/dist/{Shape-D-cMBFx-.cjs → Shape-DQ0Hh2Gg.cjs} +1 -1
  13. package/dist/{Slicer-iAp8x_Wq.cjs → Slicer-CiSmaE0_.cjs} +1 -1
  14. package/dist/{Slicer-CQbVH6fI.js → Slicer-DXw23eOC.js} +2 -2
  15. package/dist/{Title-Bpx2Ub4Z.cjs → Title-BHmTg9iK.cjs} +1 -1
  16. package/dist/{Title-CDfZWgra.js → Title-DlVZnHjs.js} +1 -1
  17. package/dist/{Tooltip-0-aPeOmA.js → Tooltip-CveCRFgK.js} +1 -1
  18. package/dist/{Tooltip-D-JR_3NK.cjs → Tooltip-DBzXz806.cjs} +1 -1
  19. package/dist/{index-COTjlcVF.js → index-B0CpCD8z.js} +13 -6
  20. package/dist/index-Dfhvf8hT.cjs +9 -0
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +6 -0
  23. package/dist/types/vue-data-ui.d.ts +6 -0
  24. package/dist/{useNestedProp-CcjyiBlC.js → useNestedProp-DGWP4D-K.js} +1 -1
  25. package/dist/{useNestedProp-np0rM3ep.cjs → useNestedProp-iuDCMc2p.cjs} +1 -1
  26. package/dist/{usePrinter-DuYSC89K.cjs → usePrinter-BQQasUin.cjs} +1 -1
  27. package/dist/{usePrinter-5XpNgqjh.js → usePrinter-Dr30K4cu.js} +1 -1
  28. package/dist/{vue-data-ui-Bu3V-W6l.js → vue-data-ui-BdSFeW_X.js} +57 -57
  29. package/dist/{vue-data-ui-D3zaRZjl.cjs → vue-data-ui-BgVPGbxq.cjs} +1 -1
  30. package/dist/vue-data-ui.cjs +1 -1
  31. package/dist/vue-data-ui.js +1 -1
  32. package/dist/{vue-ui-3d-bar-DmM70v1H.js → vue-ui-3d-bar-C3hYrYTV.js} +8 -8
  33. package/dist/{vue-ui-3d-bar-C3EecSgn.cjs → vue-ui-3d-bar-DhHuwXZ1.cjs} +1 -1
  34. package/dist/{vue-ui-accordion-CzKJYxd2.js → vue-ui-accordion-CmENcGVW.js} +3 -3
  35. package/dist/{vue-ui-accordion-ZppPKpGK.cjs → vue-ui-accordion-Deyo7jw7.cjs} +1 -1
  36. package/dist/{vue-ui-age-pyramid-Bkyd3O37.js → vue-ui-age-pyramid-C075Lvfe.js} +9 -9
  37. package/dist/{vue-ui-age-pyramid-BhmOvXIW.cjs → vue-ui-age-pyramid-DaenyRp2.cjs} +1 -1
  38. package/dist/{vue-ui-annotator-Bmk4N4Co.js → vue-ui-annotator-Bb6fUz4x.js} +1 -1
  39. package/dist/{vue-ui-annotator-rwo7Hm5A.cjs → vue-ui-annotator-DslXalSQ.cjs} +1 -1
  40. package/dist/{vue-ui-candlestick-o8m1DAm8.js → vue-ui-candlestick-C4VEOmY_.js} +10 -10
  41. package/dist/{vue-ui-candlestick-CnYobq1k.cjs → vue-ui-candlestick-CnVzd826.cjs} +1 -1
  42. package/dist/{vue-ui-carousel-table-DLQcAZx4.cjs → vue-ui-carousel-table-Coq4gg_P.cjs} +1 -1
  43. package/dist/{vue-ui-carousel-table-DAck3_R_.js → vue-ui-carousel-table-DZfMMpZ7.js} +4 -4
  44. package/dist/{vue-ui-chestnut-r6lsB6H0.cjs → vue-ui-chestnut-CLnJ0jmo.cjs} +1 -1
  45. package/dist/{vue-ui-chestnut-BAQVvxrX.js → vue-ui-chestnut-CUnbj-Zb.js} +7 -7
  46. package/dist/{vue-ui-cursor-ucua7LYB.cjs → vue-ui-cursor-B9UvQwLp.cjs} +1 -1
  47. package/dist/{vue-ui-cursor-CYNxiijm.js → vue-ui-cursor-CtuPho-s.js} +2 -2
  48. package/dist/{vue-ui-dashboard-nnHIe25Y.js → vue-ui-dashboard-8gQ1bGCn.js} +2 -2
  49. package/dist/{vue-ui-dashboard-DhLCwsFn.cjs → vue-ui-dashboard-KMTRqXzR.cjs} +1 -1
  50. package/dist/{vue-ui-digits-CEI69I0y.cjs → vue-ui-digits-DSMNN4z_.cjs} +1 -1
  51. package/dist/{vue-ui-digits-BB3ZlyZ6.js → vue-ui-digits-DuEyX8op.js} +2 -2
  52. package/dist/{vue-ui-donut-Ba9Qhfte.js → vue-ui-donut-0xdYBc41.js} +362 -336
  53. package/dist/vue-ui-donut-C4ek9m3R.cjs +1 -0
  54. package/dist/{vue-ui-donut-evolution-BZaYmvPf.cjs → vue-ui-donut-evolution-B4TkwvNq.cjs} +1 -1
  55. package/dist/{vue-ui-donut-evolution-CJHa5S50.js → vue-ui-donut-evolution-DbojarYN.js} +10 -10
  56. package/dist/{vue-ui-dumbbell-D_reERJf.js → vue-ui-dumbbell-BxhWjCvR.js} +9 -9
  57. package/dist/{vue-ui-dumbbell-D6Yu9qxX.cjs → vue-ui-dumbbell-Cn3spRSv.cjs} +1 -1
  58. package/dist/{vue-ui-flow-1HFdth8-.cjs → vue-ui-flow-D00VdtGU.cjs} +1 -1
  59. package/dist/{vue-ui-flow-sBFdpbtF.js → vue-ui-flow-DreN8go4.js} +8 -8
  60. package/dist/{vue-ui-galaxy-ccP0yuQ3.js → vue-ui-galaxy-BddgLpP-.js} +10 -10
  61. package/dist/{vue-ui-galaxy-DO1moKk6.cjs → vue-ui-galaxy-DVN-S67V.cjs} +1 -1
  62. package/dist/{vue-ui-gauge-CuFpl36r.cjs → vue-ui-gauge-DYZYFzHP.cjs} +1 -1
  63. package/dist/{vue-ui-gauge-CYjZx4Zz.js → vue-ui-gauge-DoTctAHq.js} +6 -6
  64. package/dist/{vue-ui-gizmo-C3dyTngy.cjs → vue-ui-gizmo-DRASsqlp.cjs} +1 -1
  65. package/dist/{vue-ui-gizmo-DNZwsdp9.js → vue-ui-gizmo-hXBWaB0c.js} +3 -3
  66. package/dist/{vue-ui-heatmap-0qNGXzdN.js → vue-ui-heatmap-B43q8UHu.js} +9 -9
  67. package/dist/{vue-ui-heatmap-CLjngS-G.cjs → vue-ui-heatmap-ldCySJFf.cjs} +1 -1
  68. package/dist/{vue-ui-kpi-iclD49Wb.cjs → vue-ui-kpi-BiJnqtGR.cjs} +1 -1
  69. package/dist/{vue-ui-kpi-BiOt8Z9k.js → vue-ui-kpi-_GVnhxEd.js} +3 -3
  70. package/dist/{vue-ui-mini-loader-ASe27a1V.cjs → vue-ui-mini-loader-DVZtFcHw.cjs} +1 -1
  71. package/dist/{vue-ui-mini-loader-CBPZAUuP.js → vue-ui-mini-loader-qvtu5jtI.js} +2 -2
  72. package/dist/{vue-ui-molecule-uCEX5lMP.cjs → vue-ui-molecule-DP9jhODZ.cjs} +1 -1
  73. package/dist/{vue-ui-molecule-VqY8WZHi.js → vue-ui-molecule-Dpu7Xmu5.js} +10 -10
  74. package/dist/{vue-ui-mood-radar-RYbB7jdY.cjs → vue-ui-mood-radar-BR0INhYL.cjs} +1 -1
  75. package/dist/{vue-ui-mood-radar-B0cjzFkt.js → vue-ui-mood-radar-iZJ0B1Wf.js} +10 -10
  76. package/dist/{vue-ui-nested-donuts-DbBSbOjx.js → vue-ui-nested-donuts-CovQfZ81.js} +10 -10
  77. package/dist/{vue-ui-nested-donuts-Bfu90lZl.cjs → vue-ui-nested-donuts-CwIsGnyH.cjs} +1 -1
  78. package/dist/{vue-ui-onion-DJLGXvfr.js → vue-ui-onion-CJb2Pg0t.js} +10 -10
  79. package/dist/{vue-ui-onion-DK7lJvIH.cjs → vue-ui-onion-DjEChSmi.cjs} +1 -1
  80. package/dist/{vue-ui-parallel-coordinate-plot-BaZ5niQk.cjs → vue-ui-parallel-coordinate-plot-B8Kl6AMk.cjs} +1 -1
  81. package/dist/{vue-ui-parallel-coordinate-plot-B0_1Uh7a.js → vue-ui-parallel-coordinate-plot-CUA_fFC3.js} +11 -11
  82. package/dist/{vue-ui-quadrant-BCadkOrx.cjs → vue-ui-quadrant-CmdbW8yZ.cjs} +1 -1
  83. package/dist/{vue-ui-quadrant-CnAk8Np9.js → vue-ui-quadrant-IAIp5IZq.js} +11 -11
  84. package/dist/{vue-ui-quick-chart-BrgtffFL.js → vue-ui-quick-chart-Bb2RQ6qI.js} +8 -8
  85. package/dist/{vue-ui-quick-chart--4pkEtK0.cjs → vue-ui-quick-chart-DcEk6Ho7.cjs} +1 -1
  86. package/dist/{vue-ui-radar-C68BFXPH.cjs → vue-ui-radar-TjgO9_LA.cjs} +1 -1
  87. package/dist/{vue-ui-radar-CDlE8jus.js → vue-ui-radar-mIQMBRHx.js} +11 -11
  88. package/dist/vue-ui-rating-BGRWSTGr.cjs +1 -0
  89. package/dist/vue-ui-rating-DcJb7_bV.js +323 -0
  90. package/dist/{vue-ui-relation-circle-_5UsoCBf.js → vue-ui-relation-circle-f0fKvSSw.js} +6 -6
  91. package/dist/{vue-ui-relation-circle-0OvmIoRR.cjs → vue-ui-relation-circle-x4sKnxbi.cjs} +1 -1
  92. package/dist/{vue-ui-rings-Duu-Dbns.cjs → vue-ui-rings-B3mUyyQ9.cjs} +1 -1
  93. package/dist/{vue-ui-rings-BHVrR1L1.js → vue-ui-rings-M1PUv5Wu.js} +10 -10
  94. package/dist/{vue-ui-scatter-azoiHq_a.cjs → vue-ui-scatter-DF_nobsG.cjs} +1 -1
  95. package/dist/{vue-ui-scatter-CSfeAiML.js → vue-ui-scatter-DiQJtMz1.js} +11 -11
  96. package/dist/{vue-ui-screenshot-D2-GzcYt.cjs → vue-ui-screenshot-BdnW3WFN.cjs} +1 -1
  97. package/dist/{vue-ui-screenshot-DhMpdJsm.js → vue-ui-screenshot-QRt5bT48.js} +1 -1
  98. package/dist/{vue-ui-skeleton-CYgbDsKG.js → vue-ui-skeleton-DEv_1TFa.js} +3 -3
  99. package/dist/{vue-ui-skeleton-yOWIPVsZ.cjs → vue-ui-skeleton-fqwO2mHD.cjs} +1 -1
  100. package/dist/{vue-ui-smiley-DDn0IZKJ.js → vue-ui-smiley-BAr3XuJG.js} +405 -320
  101. package/dist/vue-ui-smiley-D-zRYR9g.cjs +2 -0
  102. package/dist/{vue-ui-spark-trend-BMdLIhg7.cjs → vue-ui-spark-trend-Br0GTMx_.cjs} +1 -1
  103. package/dist/{vue-ui-spark-trend-DxwmzstI.js → vue-ui-spark-trend-CS6jl2aN.js} +5 -5
  104. package/dist/{vue-ui-sparkbar-yocSweJn.cjs → vue-ui-sparkbar-N8aFbuJv.cjs} +1 -1
  105. package/dist/{vue-ui-sparkbar-Dk8VLc5p.js → vue-ui-sparkbar-tgfbnVYO.js} +4 -4
  106. package/dist/{vue-ui-sparkgauge-CdW6FTRw.cjs → vue-ui-sparkgauge--hgbxLQS.cjs} +1 -1
  107. package/dist/{vue-ui-sparkgauge-G7BowYq4.js → vue-ui-sparkgauge-CqH25hj7.js} +4 -4
  108. package/dist/{vue-ui-sparkhistogram-CkkEGb0a.js → vue-ui-sparkhistogram-Cry2PFGH.js} +5 -5
  109. package/dist/{vue-ui-sparkhistogram-BWulWwCi.cjs → vue-ui-sparkhistogram-vVRA6Z_l.cjs} +1 -1
  110. package/dist/{vue-ui-sparkline-CaetICAe.cjs → vue-ui-sparkline-BZir7JxD.cjs} +1 -1
  111. package/dist/{vue-ui-sparkline-LBi6ypp4.js → vue-ui-sparkline-DXwqMlzQ.js} +4 -4
  112. package/dist/{vue-ui-sparkstackbar-DxUkSfRG.js → vue-ui-sparkstackbar-CQjpberv.js} +4 -4
  113. package/dist/{vue-ui-sparkstackbar-CAJaJ3ZQ.cjs → vue-ui-sparkstackbar-Dc6tZvej.cjs} +1 -1
  114. package/dist/{vue-ui-stackbar-BP1YHhjl.js → vue-ui-stackbar-BF0M1KJf.js} +11 -11
  115. package/dist/{vue-ui-stackbar-BPyxp0m8.cjs → vue-ui-stackbar-BGmTwxvv.cjs} +1 -1
  116. package/dist/{vue-ui-strip-plot-BYJWkk2_.js → vue-ui-strip-plot-C8dme7tS.js} +10 -10
  117. package/dist/{vue-ui-strip-plot-BJSzqxzi.cjs → vue-ui-strip-plot-DT9Od_To.cjs} +1 -1
  118. package/dist/{vue-ui-table-CWHUBpqz.js → vue-ui-table-BvbXppa1.js} +1 -1
  119. package/dist/{vue-ui-table-C0-NQWi3.cjs → vue-ui-table-DGmUNjR_.cjs} +1 -1
  120. package/dist/{vue-ui-table-heatmap-9oVqDvLC.cjs → vue-ui-table-heatmap-Ch2UwsIw.cjs} +1 -1
  121. package/dist/{vue-ui-table-heatmap-uYQph968.js → vue-ui-table-heatmap-ccoLJyce.js} +4 -4
  122. package/dist/{vue-ui-table-sparkline-Bv39O2DT.js → vue-ui-table-sparkline-BZ8faxdR.js} +5 -5
  123. package/dist/{vue-ui-table-sparkline-BHJAP-Uh.cjs → vue-ui-table-sparkline-DT5a8gHs.cjs} +1 -1
  124. package/dist/{vue-ui-thermometer-JLaF8-hy.js → vue-ui-thermometer-BOs1_H4X.js} +6 -6
  125. package/dist/{vue-ui-thermometer-CqcNegd7.cjs → vue-ui-thermometer-Biv2CIsy.cjs} +1 -1
  126. package/dist/{vue-ui-timer-fu2zcs6f.cjs → vue-ui-timer-CNpKGbIg.cjs} +1 -1
  127. package/dist/{vue-ui-timer-B2ZQBIVg.js → vue-ui-timer-DE_m5wxu.js} +5 -5
  128. package/dist/{vue-ui-tiremarks-CXuGp82M.js → vue-ui-tiremarks-CTMS_E0z.js} +6 -6
  129. package/dist/{vue-ui-tiremarks-DzrCVTcA.cjs → vue-ui-tiremarks-YU4wuZl3.cjs} +1 -1
  130. package/dist/{vue-ui-treemap-CubutXgp.js → vue-ui-treemap-5Dm82baA.js} +10 -10
  131. package/dist/{vue-ui-treemap-DmEpWWkN.cjs → vue-ui-treemap-C0E1_DGA.cjs} +1 -1
  132. package/dist/{vue-ui-vertical-bar-BpyY1mcc.cjs → vue-ui-vertical-bar-CVZHDENz.cjs} +1 -1
  133. package/dist/{vue-ui-vertical-bar-Dqd4bZVC.js → vue-ui-vertical-bar-CVZI3v1Y.js} +10 -10
  134. package/dist/{vue-ui-waffle-D1n_ln-O.js → vue-ui-waffle-Bf4epEaH.js} +10 -10
  135. package/dist/{vue-ui-waffle-DzbRkTbY.cjs → vue-ui-waffle-DD09_Fdb.cjs} +1 -1
  136. package/dist/{vue-ui-wheel-BTJ9Ds5T.cjs → vue-ui-wheel-BybAQ0bR.cjs} +1 -1
  137. package/dist/{vue-ui-wheel-C-BFxhCO.js → vue-ui-wheel-DMvZZCzi.js} +6 -6
  138. package/dist/{vue-ui-word-cloud-DdbqYmZz.js → vue-ui-word-cloud-B8hdGDYI.js} +9 -9
  139. package/dist/{vue-ui-word-cloud-BZLUTH8A.cjs → vue-ui-word-cloud-MQ0kgdPw.cjs} +1 -1
  140. package/dist/{vue-ui-xy-BEB7zD0E.cjs → vue-ui-xy-B4C0WR56.cjs} +1 -1
  141. package/dist/{vue-ui-xy-CLJaG6lQ.js → vue-ui-xy-D3TaTkPR.js} +13 -13
  142. package/dist/{vue-ui-xy-canvas-DE1jTXbE.js → vue-ui-xy-canvas-ClETpddw.js} +10 -10
  143. package/dist/{vue-ui-xy-canvas-CJHNw8ek.cjs → vue-ui-xy-canvas-qbn0PHMN.cjs} +1 -1
  144. package/package.json +1 -1
  145. package/dist/PackageVersion-BqVp7cHC.cjs +0 -1
  146. package/dist/index-DQRLTu78.cjs +0 -9
  147. package/dist/vue-ui-donut-Cruh6AlQ.cjs +0 -1
  148. package/dist/vue-ui-rating-DV3d_vAO.cjs +0 -1
  149. package/dist/vue-ui-rating-DwTC908t.js +0 -271
  150. package/dist/vue-ui-smiley-BXV9UMjs.cjs +0 -2
@@ -1,26 +1,26 @@
1
- import { computed as w, ref as d, onMounted as Je, onBeforeUnmount as Ke, watch as Oe, openBlock as u, createElementBlock as r, normalizeClass as ie, normalizeStyle as Y, renderSlot as k, createBlock as H, createCommentVNode as v, unref as s, createSlots as Qe, withCtx as L, normalizeProps as Q, guardReactiveProps as Z, createVNode as Ie, createElementVNode as f, Fragment as m, renderList as I, toDisplayString as _, createTextVNode as Ae, nextTick as Ze, pushScopeId as et, popScopeId as tt } from "vue";
2
- import { u as lt, o as at, e as De, g as ot, c as ut, b as st, d as Be, p as G, m as nt, G as rt, f as S, X as it, s as ee, w as vt, j as ct, H as F, i as X, k as b, n as te, t as dt, a as ht, x as yt, q as ft, r as pt } from "./index-COTjlcVF.js";
1
+ import { computed as k, ref as d, onMounted as Je, onBeforeUnmount as Ke, watch as Oe, openBlock as o, createElementBlock as n, normalizeClass as ie, normalizeStyle as Y, renderSlot as _, createBlock as H, createCommentVNode as v, unref as s, createSlots as Qe, withCtx as S, normalizeProps as Q, guardReactiveProps as Z, createVNode as Ie, createElementVNode as h, Fragment as m, renderList as I, toDisplayString as x, createTextVNode as De, nextTick as Ze, pushScopeId as et, popScopeId as tt } from "vue";
2
+ import { u as lt, o as at, e as Ae, g as ot, c as ut, b as st, d as Be, p as V, m as nt, G as rt, f as L, X as it, s as ee, w as vt, j as ct, H as F, i as X, k as b, n as te, t as dt, a as ht, x as yt, q as ft, r as pt } from "./index-B0CpCD8z.js";
3
3
  import { t as gt, u as bt } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as mt } from "./Title-CDfZWgra.js";
5
- import { u as wt, U as kt } from "./usePrinter-5XpNgqjh.js";
6
- import { D as xt } from "./DataTable-Dv3mZD4M.js";
7
- import { _ as _t } from "./Tooltip-0-aPeOmA.js";
8
- import { L as Ct } from "./Legend-iUlykl4S.js";
9
- import $t from "./vue-ui-skeleton-CYgbDsKG.js";
10
- import Pt from "./vue-ui-accordion-CzKJYxd2.js";
11
- import { u as Me } from "./useNestedProp-CcjyiBlC.js";
12
- import { _ as Lt } from "./PackageVersion-DWAqn7t0.js";
13
- import { _ as St } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const Ft = (U) => (et("data-v-3151515d"), U = U(), tt(), U), zt = ["id"], Tt = ["xmlns", "viewBox"], Yt = { key: 0 }, Xt = ["id"], Nt = ["stop-color"], Ot = ["offset", "stop-color"], It = ["offset", "stop-color"], At = ["stop-color"], Dt = { key: 1 }, Bt = ["id", "cx", "cy"], Mt = ["stop-color", "stop-opacity"], Vt = ["stop-color"], Gt = ["id"], jt = ["id"], Ht = /* @__PURE__ */ Ft(() => /* @__PURE__ */ f("feColorMatrix", {
4
+ import { _ as mt } from "./Title-DlVZnHjs.js";
5
+ import { u as wt, U as kt } from "./usePrinter-Dr30K4cu.js";
6
+ import { D as _t } from "./DataTable-DAgyf9zN.js";
7
+ import { _ as xt } from "./Tooltip-CveCRFgK.js";
8
+ import { L as Ct } from "./Legend-DBhpIX2x.js";
9
+ import $t from "./vue-ui-skeleton-DEv_1TFa.js";
10
+ import Pt from "./vue-ui-accordion-CmENcGVW.js";
11
+ import { u as Me } from "./useNestedProp-DGWP4D-K.js";
12
+ import { _ as St } from "./PackageVersion-wB6dCDZw.js";
13
+ import { _ as Lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const Ft = (R) => (et("data-v-159f668e"), R = R(), tt(), R), zt = ["id"], Tt = ["xmlns", "viewBox"], Yt = { key: 0 }, Xt = ["id"], Nt = ["stop-color"], Ot = ["offset", "stop-color"], It = ["offset", "stop-color"], Dt = ["stop-color"], At = { key: 1 }, Bt = ["id", "cx", "cy"], Mt = ["stop-color", "stop-opacity"], Gt = ["stop-color"], Vt = ["id"], jt = ["id"], Ht = /* @__PURE__ */ Ft(() => /* @__PURE__ */ h("feColorMatrix", {
15
15
  type: "saturate",
16
16
  values: "0"
17
- }, null, -1)), Ut = ["id"], Et = ["flood-color"], Rt = ["d", "stroke", "filter"], Wt = ["x1", "y1", "x2", "y2", "stroke", "filter"], qt = ["cx", "cy", "r", "fill", "filter"], Jt = ["stroke", "d"], Kt = ["d", "fill", "stroke", "stroke-width", "filter"], Qt = { key: 0 }, Zt = ["stroke", "d"], el = ["d", "fill", "stroke", "stroke-width", "filter"], tl = { key: 1 }, ll = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], al = ["cx", "cy", "r", "stroke"], ol = ["cx", "cy", "r", "fill"], ul = { key: 0 }, sl = ["d", "fill", "onMouseenter", "onClick"], nl = { key: 1 }, rl = ["cx", "cy", "r", "fill"], il = ["x", "y", "fill", "font-size"], vl = ["x", "y", "fill", "font-size"], cl = ["x", "y", "fill", "font-size"], dl = ["x", "y", "fill", "font-size"], hl = ["filter"], yl = { key: 0 }, fl = ["x", "y"], pl = { key: 1 }, gl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], bl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], ml = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], wl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], kl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], xl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], _l = { key: 2 }, Cl = ["x", "y", "width"], $l = ["x", "y", "width"], Pl = {
17
+ }, null, -1)), Rt = ["id"], Ut = ["flood-color"], Et = ["id"], Wt = ["flood-color"], qt = ["d", "stroke", "filter"], Jt = ["x1", "y1", "x2", "y2", "stroke", "filter"], Kt = ["cx", "cy", "r", "fill", "filter"], Qt = ["stroke", "d"], Zt = ["d", "fill", "stroke", "stroke-width", "filter"], el = { key: 0 }, tl = ["stroke", "d"], ll = { key: 0 }, al = ["d", "stroke", "stroke-width", "filter"], ol = ["d", "fill", "stroke", "stroke-width", "filter"], ul = { key: 1 }, sl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], nl = ["cx", "cy", "r", "stroke"], rl = ["cx", "cy", "r", "fill"], il = { key: 0 }, vl = ["d", "fill", "onMouseenter", "onClick"], cl = { key: 1 }, dl = ["cx", "cy", "r", "fill"], hl = ["x", "y", "fill", "font-size"], yl = ["x", "y", "fill", "font-size"], fl = ["x", "y", "fill", "font-size"], pl = ["x", "y", "fill", "font-size"], gl = ["filter"], bl = { key: 0 }, ml = ["x", "y"], wl = { key: 1 }, kl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], _l = ["cx", "cy", "fill", "stroke", "filter", "onClick"], xl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Cl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], $l = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Pl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Sl = { key: 2 }, Ll = ["x", "y", "width"], Fl = ["x", "y", "width"], zl = {
18
18
  key: 3,
19
19
  class: "vue-data-ui-watermark"
20
- }, Ll = ["onClick"], Sl = {
20
+ }, Tl = ["onClick"], Yl = {
21
21
  key: 0,
22
22
  style: { "font-variant-numeric": "tabular-nums" }
23
- }, Fl = { key: 1 }, zl = ["innerHTML"], Tl = {
23
+ }, Xl = { key: 1 }, Nl = ["innerHTML"], Ol = {
24
24
  __name: "vue-ui-donut",
25
25
  props: {
26
26
  config: {
@@ -37,87 +37,87 @@ const Ft = (U) => (et("data-v-3151515d"), U = U(), tt(), U), zt = ["id"], Tt = [
37
37
  }
38
38
  },
39
39
  emits: ["selectLegend", "selectDatapoint"],
40
- setup(U, { expose: Ve, emit: ve }) {
41
- const N = U, { vue_ui_donut: Ge } = lt(), E = w({
40
+ setup(R, { expose: Ge, emit: ve }) {
41
+ const N = R, { vue_ui_donut: Ve } = lt(), U = k({
42
42
  get() {
43
43
  return !!N.dataset && N.dataset.length;
44
44
  },
45
45
  set(l) {
46
46
  return l;
47
47
  }
48
- }), R = d(null), ce = d(null), de = d(null), le = d(null), he = d(0), ye = d(0), fe = d(0);
48
+ }), E = d(null), ce = d(null), de = d(null), le = d(null), he = d(0), ye = d(0), fe = d(0);
49
49
  Je(() => {
50
50
  pe();
51
51
  }), Ke(() => {
52
52
  le.value && le.value.disconnect();
53
53
  });
54
54
  function pe() {
55
- if (at(N.dataset) ? De({
55
+ if (at(N.dataset) ? Ae({
56
56
  componentName: "VueUiDonut",
57
57
  type: "dataset"
58
- }) : N.dataset.forEach((l, n) => {
58
+ }) : N.dataset.forEach((l, r) => {
59
59
  ot({
60
60
  datasetObject: l,
61
61
  requiredAttributes: ["name", "values"]
62
62
  }).forEach((t) => {
63
- E.value = !1, De({
63
+ U.value = !1, Ae({
64
64
  componentName: "VueUiDonut",
65
65
  type: "datasetSerieAttribute",
66
66
  property: t,
67
- index: n
67
+ index: r
68
68
  });
69
69
  });
70
70
  }), e.value.responsive) {
71
71
  const l = gt(() => {
72
- const { width: n, height: t } = bt({
73
- chart: R.value,
72
+ const { width: r, height: t } = bt({
73
+ chart: E.value,
74
74
  title: e.value.style.chart.title.text ? ce.value : null,
75
75
  legend: e.value.style.chart.legend.show ? de.value : null
76
76
  });
77
- o.value.width = n, o.value.height = t;
77
+ u.value.width = r, u.value.height = t;
78
78
  });
79
- le.value = new ResizeObserver(l), le.value.observe(R.value.parentNode);
79
+ le.value = new ResizeObserver(l), le.value.observe(E.value.parentNode);
80
80
  }
81
81
  }
82
- const x = d(ut()), je = d(null), ae = d(!1), ue = d(""), P = d(null), ge = d(0);
82
+ const w = d(ut()), je = d(null), ae = d(!1), ue = d(""), P = d(null), ge = d(0);
83
83
  function be() {
84
84
  const l = Me({
85
85
  userConfig: N.config,
86
- defaultConfig: Ge
86
+ defaultConfig: Ve
87
87
  });
88
88
  return l.theme ? {
89
89
  ...Me({
90
90
  userConfig: dt.vue_ui_donut[l.theme] || N.config,
91
91
  defaultConfig: l
92
92
  }),
93
- customPalette: ht[l.theme] || G
93
+ customPalette: ht[l.theme] || V
94
94
  } : l;
95
95
  }
96
- const e = w({
96
+ const e = k({
97
97
  get: () => be(),
98
98
  set: (l) => l
99
99
  });
100
100
  Oe(() => N.config, (l) => {
101
101
  e.value = be(), pe(), he.value += 1, ye.value += 1, fe.value += 1;
102
102
  }, { deep: !0 });
103
- const { isPrinting: me, isImaging: we, generatePdf: ke, generateImage: xe } = wt({
104
- elementId: `donut__${x.value}`,
103
+ const { isPrinting: me, isImaging: we, generatePdf: ke, generateImage: _e } = wt({
104
+ elementId: `donut__${w.value}`,
105
105
  fileName: e.value.style.chart.title.text || "vue-ui-donut"
106
- }), _e = w(() => st(e.value.customPalette)), h = d({
106
+ }), xe = k(() => st(e.value.customPalette)), y = d({
107
107
  dataLabels: {
108
108
  show: e.value.style.chart.layout.labels.dataLabels.show
109
109
  },
110
110
  showTable: e.value.table.show,
111
111
  showTooltip: e.value.style.chart.tooltip.show
112
- }), o = d({
112
+ }), u = d({
113
113
  height: 360,
114
114
  width: 512
115
- }), W = w(() => {
116
- const l = e.value.style.chart.layout.donut.strokeWidth / 512, n = o.value.width * l, t = n > C.value ? C.value : n;
115
+ }), W = k(() => {
116
+ const l = e.value.style.chart.layout.donut.strokeWidth / 512, r = u.value.width * l, t = r > C.value ? C.value : r;
117
117
  return t < 24 ? 24 : t;
118
- }), M = w(() => N.dataset.map((l, n) => ({
118
+ }), M = k(() => N.dataset.map((l, r) => ({
119
119
  name: l.name,
120
- color: Be(l.color) || _e.value[n] || G[n] || G[n % G.length],
120
+ color: Be(l.color) || xe.value[r] || V[r] || V[r % V.length],
121
121
  value: l.values.reduce((t, a) => t + a, 0),
122
122
  absoluteValues: l.values,
123
123
  comment: l.comment || ""
@@ -130,97 +130,97 @@ const Ft = (U) => (et("data-v-3151515d"), U = U(), tt(), U), zt = ["id"], Tt = [
130
130
  value: l.value
131
131
  }));
132
132
  }
133
- const O = d([]), Ce = d(null), $e = d(null), V = d(!1);
133
+ const O = d([]), Ce = d(null), $e = d(null), G = d(!1);
134
134
  function Pe(l) {
135
- const n = M.value.find((i, g) => g === l);
135
+ const r = M.value.find((i, g) => g === l);
136
136
  let a = z.value.find((i, g) => g === l).value;
137
137
  if (O.value.includes(l)) {
138
138
  let g = function() {
139
- a > i ? (cancelAnimationFrame(Ce.value), z.value = z.value.map((y, re) => l === re ? {
140
- ...y,
139
+ a > i ? (cancelAnimationFrame(Ce.value), z.value = z.value.map((p, re) => l === re ? {
140
+ ...p,
141
141
  value: i
142
- } : y), V.value = !1) : (V.value = !0, a += i * 0.025, z.value = z.value.map((y, re) => l === re ? {
143
- ...y,
142
+ } : p), G.value = !1) : (G.value = !0, a += i * 0.025, z.value = z.value.map((p, re) => l === re ? {
143
+ ...p,
144
144
  value: a
145
- } : y), Ce.value = requestAnimationFrame(g));
145
+ } : p), Ce.value = requestAnimationFrame(g));
146
146
  };
147
- O.value = O.value.filter((y) => y !== l);
148
- const i = n.value;
147
+ O.value = O.value.filter((p) => p !== l);
148
+ const i = r.value;
149
149
  g();
150
150
  } else if (O.value.length < M.value.length - 1) {
151
151
  let i = function() {
152
- a < 0.1 ? (cancelAnimationFrame($e.value), O.value.push(l), z.value = z.value.map((g, y) => l === y ? {
152
+ a < 0.1 ? (cancelAnimationFrame($e.value), O.value.push(l), z.value = z.value.map((g, p) => l === p ? {
153
153
  ...g,
154
154
  value: 0
155
- } : g), V.value = !1) : (V.value = !0, a /= 1.1, z.value = z.value.map((g, y) => l === y ? {
155
+ } : g), G.value = !1) : (G.value = !0, a /= 1.1, z.value = z.value.map((g, p) => l === p ? {
156
156
  ...g,
157
157
  value: a
158
158
  } : g), $e.value = requestAnimationFrame(i));
159
159
  };
160
160
  i();
161
161
  }
162
- ve("selectLegend", A.value.map((i) => ({
162
+ ve("selectLegend", D.value.map((i) => ({
163
163
  name: i.name,
164
164
  color: i.color,
165
165
  value: i.value
166
166
  })));
167
167
  }
168
- const A = w(() => (z.value.forEach((l, n) => {
168
+ const D = k(() => (z.value.forEach((l, r) => {
169
169
  if ([null, void 0].includes(l.values))
170
170
  return {
171
171
  ...l,
172
172
  values: []
173
173
  };
174
- }), z.value.map((l, n) => ({
174
+ }), z.value.map((l, r) => ({
175
175
  ...l,
176
- seriesIndex: n
177
- })).filter((l, n) => !O.value.includes(n)))), Le = w(() => N.dataset.map((l, n) => ({
176
+ seriesIndex: r
177
+ })).filter((l, r) => !O.value.includes(r)))), Se = k(() => N.dataset.map((l, r) => ({
178
178
  name: l.name,
179
- color: Be(l.color) || _e.value[n] || G[n] || G[n % G.length],
179
+ color: Be(l.color) || xe.value[r] || V[r] || V[r % V.length],
180
180
  value: (l.values || []).reduce((t, a) => t + a, 0),
181
181
  shape: "circle"
182
- })).map((l, n) => ({
182
+ })).map((l, r) => ({
183
183
  ...l,
184
184
  proportion: l.value / N.dataset.map((t) => (t.values || []).reduce((a, i) => a + i, 0)).reduce((t, a) => t + a, 0),
185
- opacity: O.value.includes(n) ? 0.5 : 1,
186
- segregate: () => Pe(n),
187
- isSegregated: O.value.includes(n)
188
- }))), Ue = w(() => ({
185
+ opacity: O.value.includes(r) ? 0.5 : 1,
186
+ segregate: () => Pe(r),
187
+ isSegregated: O.value.includes(r)
188
+ }))), Re = k(() => ({
189
189
  cy: "donut-div-legend",
190
190
  backgroundColor: e.value.style.chart.legend.backgroundColor,
191
191
  color: e.value.style.chart.legend.color,
192
192
  fontSize: e.value.style.chart.legend.fontSize,
193
193
  paddingBottom: 12,
194
194
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
195
- })), C = w(() => {
196
- const l = Math.min(o.value.width / 3, o.value.height / 3);
195
+ })), C = k(() => {
196
+ const l = Math.min(u.value.width / 3, u.value.height / 3);
197
197
  return l < 55 ? 55 : l;
198
- }), p = w(() => nt({ series: A.value }, o.value.width / 2, o.value.height / 2, C.value, C.value, 1.99999, 2, 1, 360, 105.25, W.value)), c = w(() => {
199
- const l = Math.max(...A.value.map((t) => t.value)), n = A.value.map((t) => t.value / l);
198
+ }), f = k(() => nt({ series: D.value }, u.value.width / 2, u.value.height / 2, C.value, C.value, 1.99999, 2, 1, 360, 105.25, W.value)), c = k(() => {
199
+ const l = Math.max(...D.value.map((t) => t.value)), r = D.value.map((t) => t.value / l);
200
200
  return rt({
201
- series: n,
201
+ series: r,
202
202
  center: {
203
- x: o.value.width / 2,
204
- y: o.value.height / 2
203
+ x: u.value.width / 2,
204
+ y: u.value.height / 2
205
205
  },
206
- maxRadius: Math.min(o.value.width, o.value.height) / 3
206
+ maxRadius: Math.min(u.value.width, u.value.height) / 3
207
207
  });
208
208
  });
209
209
  function j(l) {
210
- return l.x > o.value.width / 2 + 6 ? "start" : l.x < o.value.width / 2 - 6 ? "end" : "middle";
210
+ return l.x > u.value.width / 2 + 6 ? "start" : l.x < u.value.width / 2 - 6 ? "end" : "middle";
211
211
  }
212
- function Ee(l) {
213
- return l.middlePoint.y > o.value.height / 2 ? F({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 100, centerX: o.value.width / 2, centerY: o.value.height / 2 }).y : F({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 0, centerX: o.value.width / 2, centerY: o.value.height / 2 }).y - 100;
212
+ function Ue(l) {
213
+ return l.middlePoint.y > u.value.height / 2 ? F({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 100, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y : F({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 0, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y - 100;
214
214
  }
215
215
  function T(l) {
216
216
  return l.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
217
217
  }
218
- function se(l, n) {
219
- const t = l.value / Re(n);
218
+ function se(l, r) {
219
+ const t = l.value / Ee(r);
220
220
  return isNaN(t) ? 0 : X(
221
221
  e.value.style.chart.layout.labels.percentage.formatter,
222
222
  t * 100,
223
- S({
223
+ L({
224
224
  v: t * 100,
225
225
  s: "%",
226
226
  r: e.value.style.chart.layout.labels.percentage.rounding
@@ -228,23 +228,23 @@ const Ft = (U) => (et("data-v-3151515d"), U = U(), tt(), U), zt = ["id"], Tt = [
228
228
  { datapoint: l }
229
229
  );
230
230
  }
231
- function Re(l) {
232
- return [...l].map((n) => n.value).reduce((n, t) => n + t, 0);
231
+ function Ee(l) {
232
+ return [...l].map((r) => r.value).reduce((r, t) => r + t, 0);
233
233
  }
234
- const $ = w(() => A.value.map((l) => l.value).reduce((l, n) => l + n, 0)), Se = w(() => $.value / A.value.length), ne = d(null), q = d(!1);
235
- function Fe({ datapoint: l, relativeIndex: n, seriesIndex: t, show: a = !1 }) {
236
- ne.value = { datapoint: l, seriesIndex: t, config: e.value, series: M.value }, ae.value = a, P.value = n;
234
+ const $ = k(() => D.value.map((l) => l.value).reduce((l, r) => l + r, 0)), Le = k(() => $.value / D.value.length), ne = d(null), q = d(!1);
235
+ function Fe({ datapoint: l, relativeIndex: r, seriesIndex: t, show: a = !1 }) {
236
+ ne.value = { datapoint: l, seriesIndex: t, config: e.value, series: M.value }, ae.value = a, P.value = r;
237
237
  let i = "";
238
238
  const g = e.value.style.chart.tooltip.customFormat;
239
239
  if (q.value = !1, yt(g))
240
240
  try {
241
- const y = g({
241
+ const p = g({
242
242
  seriesIndex: t,
243
243
  datapoint: l,
244
244
  series: M.value,
245
245
  config: e.value
246
246
  });
247
- typeof y == "string" && (ue.value = y, q.value = !0);
247
+ typeof p == "string" && (ue.value = p, q.value = !0);
248
248
  } catch {
249
249
  console.warn("Custom format cannot be applied."), q.value = !1;
250
250
  }
@@ -252,7 +252,7 @@ const Ft = (U) => (et("data-v-3151515d"), U = U(), tt(), U), zt = ["id"], Tt = [
252
252
  if (i += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, i += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${l.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (i += `<b>${X(
253
253
  e.value.style.chart.layout.labels.value.formatter,
254
254
  l.value,
255
- S({
255
+ L({
256
256
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
257
257
  v: l.value,
258
258
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -260,61 +260,61 @@ const Ft = (U) => (et("data-v-3151515d"), U = U(), tt(), U), zt = ["id"], Tt = [
260
260
  }),
261
261
  {
262
262
  datapoint: l,
263
- relativeIndex: n,
263
+ relativeIndex: r,
264
264
  seriesIndex: t
265
265
  }
266
266
  )}</b>`), e.value.style.chart.tooltip.showPercentage) {
267
- const y = X(
267
+ const p = X(
268
268
  e.value.style.chart.layout.labels.percentage.formatter,
269
269
  l.proportion * 100,
270
- S({
270
+ L({
271
271
  v: l.proportion * 100,
272
272
  s: "%",
273
273
  r: e.value.style.chart.tooltip.roundingPercentage
274
274
  }),
275
275
  {
276
276
  datapoint: l,
277
- relativeIndex: n,
277
+ relativeIndex: r,
278
278
  seriesIndex: t
279
279
  }
280
280
  );
281
- e.value.style.chart.tooltip.showValue ? i += `<span>(${y})</span></div>` : i += `<b>${y}</b></div>`;
281
+ e.value.style.chart.tooltip.showValue ? i += `<span>(${p})</span></div>` : i += `<b>${p}</b></div>`;
282
282
  }
283
283
  e.value.style.chart.comments.showInTooltip && l.comment && (i += `<div class="vue-data-ui-tooltip-comment" style="background:${l.color}20; padding: 6px; margin-bottom: 6px; margin-top:6px; border-left: 1px solid ${l.color}">${l.comment}</div>`), ue.value = `<div>${i}</div>`;
284
284
  }
285
285
  }
286
286
  function J(l) {
287
- return e.value.useBlurOnHover && ![null, void 0].includes(P.value) && P.value !== l ? `url(#blur_${x.value})` : "";
287
+ return e.value.useBlurOnHover && ![null, void 0].includes(P.value) && P.value !== l ? `url(#blur_${w.value})` : "";
288
288
  }
289
- const D = w(() => {
290
- const l = A.value.map((t) => ({
289
+ const A = k(() => {
290
+ const l = D.value.map((t) => ({
291
291
  name: t.name,
292
292
  color: t.color
293
- })), n = A.value.map((t) => t.value);
294
- return { head: l, body: n };
293
+ })), r = D.value.map((t) => t.value);
294
+ return { head: l, body: r };
295
295
  });
296
296
  function ze() {
297
297
  Ze(() => {
298
- const l = D.value.head.map((a, i) => [[
298
+ const l = A.value.head.map((a, i) => [[
299
299
  a.name
300
- ], [D.value.body[i]], [isNaN(D.value.body[i] / $.value) ? "-" : D.value.body[i] / $.value * 100]]), n = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), t = ft(n);
300
+ ], [A.value.body[i]], [isNaN(A.value.body[i] / $.value) ? "-" : A.value.body[i] / $.value * 100]]), r = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), t = ft(r);
301
301
  pt({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-donut" });
302
302
  });
303
303
  }
304
- const oe = w(() => {
304
+ const oe = k(() => {
305
305
  const l = [
306
306
  ' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
307
- S({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: $.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
307
+ L({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: $.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
308
308
  "100%"
309
- ], n = D.value.head.map((i, g) => {
310
- const y = S({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: D.value.body[g], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
309
+ ], r = A.value.head.map((i, g) => {
310
+ const p = L({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: A.value.body[g], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
311
311
  return [
312
312
  {
313
313
  color: i.color,
314
314
  name: i.name
315
315
  },
316
- y,
317
- isNaN(D.value.body[g] / $.value) ? "-" : (D.value.body[g] / $.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
316
+ p,
317
+ isNaN(A.value.body[g] / $.value) ? "-" : (A.value.body[g] / $.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
318
318
  ];
319
319
  }), t = {
320
320
  th: {
@@ -336,52 +336,52 @@ const Ft = (U) => (et("data-v-3151515d"), U = U(), tt(), U), zt = ["id"], Tt = [
336
336
  e.value.table.columnNames.percentage
337
337
  ],
338
338
  head: l,
339
- body: n,
339
+ body: r,
340
340
  config: t
341
341
  };
342
342
  }), K = d(!1);
343
343
  function We(l) {
344
344
  K.value = l, ge.value += 1;
345
345
  }
346
- const Te = w(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
346
+ const Te = k(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
347
347
  function qe(l) {
348
- return l.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((n) => "-").join("");
348
+ return l.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((r) => "-").join("");
349
349
  }
350
- function B(l, n) {
351
- ve("selectDatapoint", { datapoint: l, index: n });
350
+ function B(l, r) {
351
+ ve("selectDatapoint", { datapoint: l, index: r });
352
352
  }
353
353
  function Ye() {
354
- h.value.showTable = !h.value.showTable;
354
+ y.value.showTable = !y.value.showTable;
355
355
  }
356
356
  function Xe() {
357
- h.value.dataLabels.show = !h.value.dataLabels.show;
357
+ y.value.dataLabels.show = !y.value.dataLabels.show;
358
358
  }
359
359
  function Ne() {
360
- h.value.showTooltip = !h.value.showTooltip;
360
+ y.value.showTooltip = !y.value.showTooltip;
361
361
  }
362
- return Ve({
362
+ return Ge({
363
363
  getData: He,
364
364
  generatePdf: ke,
365
365
  generateCsv: ze,
366
- generateImage: xe,
366
+ generateImage: _e,
367
367
  toggleTable: Ye,
368
368
  toggleLabels: Xe,
369
369
  toggleTooltip: Ne
370
- }), (l, n) => (u(), r("div", {
370
+ }), (l, r) => (o(), n("div", {
371
371
  ref_key: "donutChart",
372
- ref: R,
372
+ ref: E,
373
373
  class: ie(`vue-ui-donut ${K.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
374
374
  style: Y(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
375
- id: `donut__${x.value}`
375
+ id: `donut__${w.value}`
376
376
  }, [
377
- k(l.$slots, "userConfig", {}, void 0, !0),
378
- e.value.style.chart.title.text ? (u(), r("div", {
377
+ _(l.$slots, "userConfig", {}, void 0, !0),
378
+ e.value.style.chart.title.text ? (o(), n("div", {
379
379
  key: 0,
380
380
  ref_key: "chartTitle",
381
381
  ref: ce,
382
382
  style: "width:100%;background:transparent;padding-bottom:24px"
383
383
  }, [
384
- (u(), H(mt, {
384
+ (o(), H(mt, {
385
385
  key: `title_${he.value}`,
386
386
  config: {
387
387
  title: {
@@ -395,7 +395,7 @@ const Ft = (U) => (et("data-v-3151515d"), U = U(), tt(), U), zt = ["id"], Tt = [
395
395
  }
396
396
  }, null, 8, ["config"]))
397
397
  ], 512)) : v("", !0),
398
- e.value.userOptions.show && E.value ? (u(), H(kt, {
398
+ e.value.userOptions.show && U.value ? (o(), H(kt, {
399
399
  ref_key: "details",
400
400
  ref: je,
401
401
  key: `user_option_${ge.value}`,
@@ -403,7 +403,7 @@ const Ft = (U) => (et("data-v-3151515d"), U = U(), tt(), U), zt = ["id"], Tt = [
403
403
  color: e.value.style.chart.color,
404
404
  isPrinting: s(me),
405
405
  isImaging: s(we),
406
- uid: x.value,
406
+ uid: w.value,
407
407
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
408
408
  hasPdf: e.value.userOptions.buttons.pdf,
409
409
  hasImg: e.value.userOptions.buttons.img,
@@ -412,165 +412,181 @@ const Ft = (U) => (et("data-v-3151515d"), U = U(), tt(), U), zt = ["id"], Tt = [
412
412
  hasLabel: e.value.userOptions.buttons.labels,
413
413
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
414
414
  isFullscreen: K.value,
415
- chartElement: R.value,
415
+ chartElement: E.value,
416
416
  position: e.value.userOptions.position,
417
- isTooltip: h.value.showTooltip,
417
+ isTooltip: y.value.showTooltip,
418
418
  titles: { ...e.value.userOptions.buttonTitles },
419
419
  onToggleFullscreen: We,
420
420
  onGeneratePdf: s(ke),
421
421
  onGenerateCsv: ze,
422
- onGenerateImage: s(xe),
422
+ onGenerateImage: s(_e),
423
423
  onToggleTable: Ye,
424
424
  onToggleLabels: Xe,
425
425
  onToggleTooltip: Ne
426
426
  }, Qe({ _: 2 }, [
427
427
  l.$slots.optionTooltip ? {
428
428
  name: "optionTooltip",
429
- fn: L(() => [
430
- k(l.$slots, "optionTooltip", {}, void 0, !0)
429
+ fn: S(() => [
430
+ _(l.$slots, "optionTooltip", {}, void 0, !0)
431
431
  ]),
432
432
  key: "0"
433
433
  } : void 0,
434
434
  l.$slots.optionPdf ? {
435
435
  name: "optionPdf",
436
- fn: L(() => [
437
- k(l.$slots, "optionPdf", {}, void 0, !0)
436
+ fn: S(() => [
437
+ _(l.$slots, "optionPdf", {}, void 0, !0)
438
438
  ]),
439
439
  key: "1"
440
440
  } : void 0,
441
441
  l.$slots.optionCsv ? {
442
442
  name: "optionCsv",
443
- fn: L(() => [
444
- k(l.$slots, "optionCsv", {}, void 0, !0)
443
+ fn: S(() => [
444
+ _(l.$slots, "optionCsv", {}, void 0, !0)
445
445
  ]),
446
446
  key: "2"
447
447
  } : void 0,
448
448
  l.$slots.optionImg ? {
449
449
  name: "optionImg",
450
- fn: L(() => [
451
- k(l.$slots, "optionImg", {}, void 0, !0)
450
+ fn: S(() => [
451
+ _(l.$slots, "optionImg", {}, void 0, !0)
452
452
  ]),
453
453
  key: "3"
454
454
  } : void 0,
455
455
  l.$slots.optionTable ? {
456
456
  name: "optionTable",
457
- fn: L(() => [
458
- k(l.$slots, "optionTable", {}, void 0, !0)
457
+ fn: S(() => [
458
+ _(l.$slots, "optionTable", {}, void 0, !0)
459
459
  ]),
460
460
  key: "4"
461
461
  } : void 0,
462
462
  l.$slots.optionLabels ? {
463
463
  name: "optionLabels",
464
- fn: L(() => [
465
- k(l.$slots, "optionLabels", {}, void 0, !0)
464
+ fn: S(() => [
465
+ _(l.$slots, "optionLabels", {}, void 0, !0)
466
466
  ]),
467
467
  key: "5"
468
468
  } : void 0,
469
469
  l.$slots.optionFullscreen ? {
470
470
  name: "optionFullscreen",
471
- fn: L(({ toggleFullscreen: t, isFullscreen: a }) => [
472
- k(l.$slots, "optionFullscreen", Q(Z({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
471
+ fn: S(({ toggleFullscreen: t, isFullscreen: a }) => [
472
+ _(l.$slots, "optionFullscreen", Q(Z({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
473
473
  ]),
474
474
  key: "6"
475
475
  } : void 0
476
476
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "onGeneratePdf", "onGenerateImage"])) : v("", !0),
477
- E.value ? (u(), r("svg", {
477
+ U.value ? (o(), n("svg", {
478
478
  key: 2,
479
479
  xmlns: s(it),
480
480
  class: ie({ "vue-data-ui-fullscreen--on": K.value, "vue-data-ui-fulscreen--off": !K.value }),
481
- viewBox: `0 0 ${o.value.width <= 0 ? 10 : o.value.width} ${o.value.height <= 0 ? 10 : o.value.height}`,
481
+ viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
482
482
  style: Y(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
483
483
  }, [
484
- Ie(Lt),
485
- e.value.type === "classic" ? (u(), r("defs", Yt, [
486
- e.value.style.chart.useGradient ? (u(), r("radialGradient", {
484
+ Ie(St),
485
+ e.value.type === "classic" ? (o(), n("defs", Yt, [
486
+ e.value.style.chart.useGradient ? (o(), n("radialGradient", {
487
487
  key: 0,
488
- id: `gradient_${x.value}`
488
+ id: `gradient_${w.value}`
489
489
  }, [
490
- f("stop", {
490
+ h("stop", {
491
491
  offset: "0%",
492
492
  "stop-color": s(ee)(e.value.style.chart.backgroundColor, 0),
493
493
  "stop-opacity": "0"
494
494
  }, null, 8, Nt),
495
- f("stop", {
495
+ h("stop", {
496
496
  offset: `${(1 - W.value / C.value) * 100}%`,
497
497
  "stop-color": s(ee)("#FFFFFF", 0),
498
498
  "stop-opacity": "0"
499
499
  }, null, 8, Ot),
500
- f("stop", {
500
+ h("stop", {
501
501
  offset: `${(1 - W.value / C.value / 2) * 100}%`,
502
502
  "stop-color": s(ee)("#FFFFFF", e.value.style.chart.gradientIntensity)
503
503
  }, null, 8, It),
504
- f("stop", {
504
+ h("stop", {
505
505
  offset: "100%",
506
506
  "stop-color": s(ee)(e.value.style.chart.backgroundColor, 0),
507
507
  "stop-opacity": "0"
508
- }, null, 8, At)
508
+ }, null, 8, Dt)
509
509
  ], 8, Xt)) : v("", !0)
510
510
  ])) : v("", !0),
511
- e.value.type === "polar" ? (u(), r("defs", Dt, [
512
- (u(!0), r(m, null, I(c.value, (t, a) => (u(), r("radialGradient", {
513
- id: `polar_gradient_${a}_${x.value}`,
514
- cx: t.middlePoint.x / o.value.width * 100 + "%",
515
- cy: t.middlePoint.y / o.value.height * 100 + "%",
511
+ e.value.type === "polar" ? (o(), n("defs", At, [
512
+ (o(!0), n(m, null, I(c.value, (t, a) => (o(), n("radialGradient", {
513
+ id: `polar_gradient_${a}_${w.value}`,
514
+ cx: t.middlePoint.x / u.value.width * 100 + "%",
515
+ cy: t.middlePoint.y / u.value.height * 100 + "%",
516
516
  r: "62%"
517
517
  }, [
518
- f("stop", {
518
+ h("stop", {
519
519
  offset: "0%",
520
- "stop-color": s(vt)(p.value[a].color, 0.05),
520
+ "stop-color": s(vt)(f.value[a].color, 0.05),
521
521
  "stop-opacity": e.value.style.chart.gradientIntensity / 100
522
522
  }, null, 8, Mt),
523
- f("stop", {
523
+ h("stop", {
524
524
  offset: "100%",
525
- "stop-color": p.value[a].color
526
- }, null, 8, Vt)
525
+ "stop-color": f.value[a].color
526
+ }, null, 8, Gt)
527
527
  ], 8, Bt))), 256))
528
528
  ])) : v("", !0),
529
- f("defs", null, [
530
- f("filter", {
531
- id: `blur_${x.value}`,
529
+ h("defs", null, [
530
+ h("filter", {
531
+ id: `blur_${w.value}`,
532
532
  x: "-50%",
533
533
  y: "-50%",
534
534
  width: "200%",
535
535
  height: "200%"
536
536
  }, [
537
- f("feGaussianBlur", {
537
+ h("feGaussianBlur", {
538
538
  in: "SourceGraphic",
539
539
  stdDeviation: 2,
540
- id: `blur_std_${x.value}`
540
+ id: `blur_std_${w.value}`
541
541
  }, null, 8, jt),
542
542
  Ht
543
- ], 8, Gt),
544
- f("filter", {
545
- id: `shadow_${x.value}`,
543
+ ], 8, Vt),
544
+ h("filter", {
545
+ id: `shadow_${w.value}`,
546
546
  "color-interpolation-filters": "sRGB"
547
547
  }, [
548
- f("feDropShadow", {
548
+ h("feDropShadow", {
549
549
  dx: "0",
550
550
  dy: "0",
551
551
  stdDeviation: "10",
552
552
  "flood-opacity": "0.5",
553
553
  "flood-color": e.value.style.chart.layout.donut.shadowColor
554
- }, null, 8, Et)
555
- ], 8, Ut)
554
+ }, null, 8, Ut)
555
+ ], 8, Rt),
556
+ h("filter", {
557
+ id: `drop_shadow_${w.value}`,
558
+ "color-interpolation-filters": "sRGB",
559
+ x: "-50%",
560
+ y: "-50%",
561
+ width: "200%",
562
+ height: "200%"
563
+ }, [
564
+ h("feDropShadow", {
565
+ dx: "0",
566
+ dy: "0",
567
+ stdDeviation: "3",
568
+ "flood-opacity": "1",
569
+ "flood-color": e.value.style.chart.layout.donut.shadowColor
570
+ }, null, 8, Wt)
571
+ ], 8, Et)
556
572
  ]),
557
- e.value.type === "classic" ? (u(!0), r(m, { key: 2 }, I(p.value, (t, a) => (u(), r("g", null, [
558
- T(t) && h.value.dataLabels.show ? (u(), r("path", {
573
+ e.value.type === "classic" ? (o(!0), n(m, { key: 2 }, I(f.value, (t, a) => (o(), n("g", null, [
574
+ T(t) && y.value.dataLabels.show ? (o(), n("path", {
559
575
  key: 0,
560
- d: s(ct)(t, { x: o.value.width / 2, y: o.value.height / 2 }, 16, 16, !1, !1, W.value),
576
+ d: s(ct)(t, { x: u.value.width / 2, y: u.value.height / 2 }, 16, 16, !1, !1, W.value),
561
577
  stroke: t.color,
562
578
  "stroke-width": "1",
563
579
  "stroke-linecap": "round",
564
580
  "stroke-linejoin": "round",
565
581
  fill: "none",
566
582
  filter: J(a)
567
- }, null, 8, Rt)) : v("", !0)
583
+ }, null, 8, qt)) : v("", !0)
568
584
  ]))), 256)) : v("", !0),
569
- e.value.type === "polar" ? (u(!0), r(m, { key: 3 }, I(p.value, (t, a) => (u(), r("g", null, [
570
- T(t) && h.value.dataLabels.show ? (u(), r("line", {
585
+ e.value.type === "polar" ? (o(!0), n(m, { key: 3 }, I(f.value, (t, a) => (o(), n("g", null, [
586
+ T(t) && y.value.dataLabels.show ? (o(), n("line", {
571
587
  key: 0,
572
- x1: s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: o.value.width / 2, centerY: o.value.height / 2 }).x,
573
- y1: s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: o.value.width / 2, centerY: o.value.height / 2 }).y,
588
+ x1: s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
589
+ y1: s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y,
574
590
  x2: c.value[a].middlePoint.x,
575
591
  y2: c.value[a].middlePoint.y,
576
592
  stroke: t.color,
@@ -579,77 +595,87 @@ const Ft = (U) => (et("data-v-3151515d"), U = U(), tt(), U), zt = ["id"], Tt = [
579
595
  "stroke-linejoin": "round",
580
596
  fill: "none",
581
597
  filter: J(a)
582
- }, null, 8, Wt)) : v("", !0)
598
+ }, null, 8, Jt)) : v("", !0)
583
599
  ]))), 256)) : v("", !0),
584
- e.value.type === "classic" ? (u(), r("circle", {
600
+ e.value.type === "classic" ? (o(), n("circle", {
585
601
  key: 4,
586
- cx: o.value.width / 2,
587
- cy: o.value.height / 2,
602
+ cx: u.value.width / 2,
603
+ cy: u.value.height / 2,
588
604
  r: C.value <= 0 ? 10 : C.value,
589
605
  fill: e.value.style.chart.backgroundColor,
590
- filter: e.value.style.chart.layout.donut.useShadow ? `url(#shadow_${x.value})` : ""
591
- }, null, 8, qt)) : v("", !0),
592
- $.value && e.value.type === "classic" ? (u(), r(m, { key: 5 }, [
593
- (u(!0), r(m, null, I(p.value, (t, a) => (u(), r("path", {
606
+ filter: e.value.style.chart.layout.donut.useShadow ? `url(#shadow_${w.value})` : ""
607
+ }, null, 8, Kt)) : v("", !0),
608
+ $.value && e.value.type === "classic" ? (o(), n(m, { key: 5 }, [
609
+ (o(!0), n(m, null, I(f.value, (t, a) => (o(), n("path", {
594
610
  stroke: e.value.style.chart.backgroundColor,
595
611
  d: t.arcSlice,
596
612
  fill: "#FFFFFF"
597
- }, null, 8, Jt))), 256)),
598
- (u(!0), r(m, null, I(p.value, (t, a) => (u(), r("path", {
613
+ }, null, 8, Qt))), 256)),
614
+ (o(!0), n(m, null, I(f.value, (t, a) => (o(), n("path", {
599
615
  class: "vue-ui-donut-arc-path",
600
616
  d: t.arcSlice,
601
617
  fill: s(ee)(t.color, 80),
602
618
  stroke: e.value.style.chart.backgroundColor,
603
619
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
604
620
  filter: J(a)
605
- }, null, 8, Kt))), 256))
621
+ }, null, 8, Zt))), 256))
606
622
  ], 64)) : v("", !0),
607
- $.value && e.value.type === "polar" ? (u(), r(m, { key: 6 }, [
608
- p.value.length > 1 ? (u(), r("g", Qt, [
609
- (u(!0), r(m, null, I(p.value, (t, a) => (u(), r("path", {
623
+ $.value && e.value.type === "polar" ? (o(), n(m, { key: 6 }, [
624
+ f.value.length > 1 ? (o(), n("g", el, [
625
+ (o(!0), n(m, null, I(f.value, (t, a) => (o(), n("path", {
610
626
  stroke: e.value.style.chart.backgroundColor,
611
627
  d: c.value[a].path,
612
628
  fill: "#FFFFFF"
613
- }, null, 8, Zt))), 256)),
614
- (u(!0), r(m, null, I(p.value, (t, a) => (u(), r("path", {
629
+ }, null, 8, tl))), 256)),
630
+ e.value.style.chart.layout.donut.useShadow ? (o(), n("g", ll, [
631
+ (o(!0), n(m, null, I(f.value, (t, a) => (o(), n("path", {
632
+ class: "vue-ui-donut-arc-path",
633
+ d: c.value[a].path,
634
+ fill: "transparent",
635
+ stroke: e.value.style.chart.backgroundColor,
636
+ "stroke-width": e.value.style.chart.layout.donut.borderWidth,
637
+ filter: `url(#drop_shadow_${w.value})`
638
+ }, null, 8, al))), 256))
639
+ ])) : v("", !0),
640
+ (o(!0), n(m, null, I(f.value, (t, a) => (o(), n("path", {
615
641
  class: "vue-ui-donut-arc-path",
616
642
  d: c.value[a].path,
617
- fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${a}_${x.value})` : t.color,
643
+ fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${a}_${w.value})` : t.color,
618
644
  stroke: e.value.style.chart.backgroundColor,
619
645
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
620
646
  filter: J(a)
621
- }, null, 8, el))), 256))
622
- ])) : (u(), r("g", tl, [
623
- f("circle", {
624
- cx: o.value.width / 2,
625
- cy: o.value.height / 2,
647
+ }, null, 8, ol))), 256))
648
+ ])) : (o(), n("g", ul, [
649
+ h("circle", {
650
+ cx: u.value.width / 2,
651
+ cy: u.value.height / 2,
626
652
  r: C.value,
627
- fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${x.value})` : p.value[0].color,
653
+ fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${w.value})` : f.value[0].color,
628
654
  stroke: e.value.style.chart.backgroundColor,
629
655
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
630
- }, null, 8, ll)
656
+ }, null, 8, sl)
631
657
  ]))
632
- ], 64)) : (u(), r("circle", {
658
+ ], 64)) : (o(), n("circle", {
633
659
  key: 7,
634
- cx: o.value.width / 2,
635
- cy: o.value.height / 2,
660
+ cx: u.value.width / 2,
661
+ cy: u.value.height / 2,
636
662
  r: C.value <= 0 ? 10 : C.value,
637
663
  fill: "transparent",
638
664
  stroke: e.value.style.chart.backgroundColor
639
- }, null, 8, al)),
640
- e.value.style.chart.useGradient && e.value.type === "classic" ? (u(), r("circle", {
665
+ }, null, 8, nl)),
666
+ e.value.style.chart.useGradient && e.value.type === "classic" ? (o(), n("circle", {
641
667
  key: 8,
642
- cx: o.value.width / 2,
643
- cy: o.value.height / 2,
668
+ cx: u.value.width / 2,
669
+ cy: u.value.height / 2,
644
670
  r: (
645
671
  /* This might require adjustments */
646
672
  C.value <= 0 ? 10 : C.value
647
673
  ),
648
- fill: `url(#gradient_${x.value})`
649
- }, null, 8, ol)) : v("", !0),
650
- $.value ? (u(), r(m, { key: 9 }, [
651
- p.value.length > 1 || e.value.type === "classic" ? (u(), r("g", ul, [
652
- (u(!0), r(m, null, I(p.value, (t, a) => (u(), r("path", {
674
+ fill: `url(#gradient_${w.value})`
675
+ }, null, 8, rl)) : v("", !0),
676
+ $.value ? (o(), n(m, { key: 9 }, [
677
+ f.value.length > 1 || e.value.type === "classic" ? (o(), n("g", il, [
678
+ (o(!0), n(m, null, I(f.value, (t, a) => (o(), n("path", {
653
679
  "data-cy-donut-trap": "",
654
680
  d: e.value.type === "classic" ? t.arcSlice : c.value[a].path,
655
681
  fill: P.value === a ? "rgba(0,0,0,0.1)" : "transparent",
@@ -659,113 +685,113 @@ const Ft = (U) => (et("data-v-3151515d"), U = U(), tt(), U), zt = ["id"], Tt = [
659
685
  seriesIndex: t.seriesIndex,
660
686
  show: !0
661
687
  }),
662
- onMouseleave: n[0] || (n[0] = (i) => {
688
+ onMouseleave: r[0] || (r[0] = (i) => {
663
689
  ae.value = !1, P.value = null;
664
690
  }),
665
691
  onClick: (i) => B(t, a)
666
- }, null, 40, sl))), 256))
667
- ])) : (u(), r("g", nl, [
668
- f("circle", {
669
- cx: o.value.width / 2,
670
- cy: o.value.height / 2,
692
+ }, null, 40, vl))), 256))
693
+ ])) : (o(), n("g", cl, [
694
+ h("circle", {
695
+ cx: u.value.width / 2,
696
+ cy: u.value.height / 2,
671
697
  r: C.value,
672
698
  fill: P.value === l.i ? "rgba(0,0,0,0.1)" : "transparent",
673
699
  "data-cy-donut-trap": "",
674
- onMouseenter: n[1] || (n[1] = (t) => Fe({
675
- datapoint: p.value[0],
700
+ onMouseenter: r[1] || (r[1] = (t) => Fe({
701
+ datapoint: f.value[0],
676
702
  relativeIndex: 0,
677
- seriesIndex: p.value[0].seriesIndex,
703
+ seriesIndex: f.value[0].seriesIndex,
678
704
  show: !0
679
705
  })),
680
- onMouseleave: n[2] || (n[2] = (t) => {
706
+ onMouseleave: r[2] || (r[2] = (t) => {
681
707
  ae.value = !1, P.value = null;
682
708
  }),
683
- onClick: n[3] || (n[3] = (t) => B(p.value[0], l.i))
684
- }, null, 40, rl)
709
+ onClick: r[3] || (r[3] = (t) => B(f.value[0], l.i))
710
+ }, null, 40, dl)
685
711
  ]))
686
712
  ], 64)) : v("", !0),
687
- e.value.type === "classic" ? (u(), r(m, { key: 10 }, [
688
- e.value.style.chart.layout.labels.hollow.total.show ? (u(), r("text", {
713
+ e.value.type === "classic" ? (o(), n(m, { key: 10 }, [
714
+ e.value.style.chart.layout.labels.hollow.total.show ? (o(), n("text", {
689
715
  key: 0,
690
716
  "text-anchor": "middle",
691
- x: o.value.width / 2,
692
- y: o.value.height / 2 - (e.value.style.chart.layout.labels.hollow.average.show ? e.value.style.chart.layout.labels.hollow.total.fontSize : 0) + e.value.style.chart.layout.labels.hollow.total.offsetY,
717
+ x: u.value.width / 2,
718
+ y: u.value.height / 2 - (e.value.style.chart.layout.labels.hollow.average.show ? e.value.style.chart.layout.labels.hollow.total.fontSize : 0) + e.value.style.chart.layout.labels.hollow.total.offsetY,
693
719
  fill: e.value.style.chart.layout.labels.hollow.total.color,
694
720
  "font-size": e.value.style.chart.layout.labels.hollow.total.fontSize,
695
721
  style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
696
- }, _(e.value.style.chart.layout.labels.hollow.total.text), 13, il)) : v("", !0),
697
- e.value.style.chart.layout.labels.hollow.total.show ? (u(), r("text", {
722
+ }, x(e.value.style.chart.layout.labels.hollow.total.text), 13, hl)) : v("", !0),
723
+ e.value.style.chart.layout.labels.hollow.total.show ? (o(), n("text", {
698
724
  key: 1,
699
725
  "text-anchor": "middle",
700
- x: o.value.width / 2,
701
- y: o.value.height / 2 + e.value.style.chart.layout.labels.hollow.total.fontSize - (e.value.style.chart.layout.labels.hollow.average.show ? e.value.style.chart.layout.labels.hollow.total.fontSize : 0) + e.value.style.chart.layout.labels.hollow.total.value.offsetY,
726
+ x: u.value.width / 2,
727
+ y: u.value.height / 2 + e.value.style.chart.layout.labels.hollow.total.fontSize - (e.value.style.chart.layout.labels.hollow.average.show ? e.value.style.chart.layout.labels.hollow.total.fontSize : 0) + e.value.style.chart.layout.labels.hollow.total.value.offsetY,
702
728
  fill: e.value.style.chart.layout.labels.hollow.total.value.color,
703
729
  "font-size": e.value.style.chart.layout.labels.hollow.total.value.fontSize,
704
730
  style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
705
- }, _(s(X)(
731
+ }, x(s(X)(
706
732
  e.value.style.chart.layout.labels.hollow.total.value.formatter,
707
733
  $.value,
708
- s(S)({
734
+ s(L)({
709
735
  p: e.value.style.chart.layout.labels.hollow.total.value.prefix,
710
736
  v: $.value,
711
737
  s: e.value.style.chart.layout.labels.hollow.total.value.suffix
712
738
  })
713
- )), 13, vl)) : v("", !0),
714
- e.value.style.chart.layout.labels.hollow.average.show ? (u(), r("text", {
739
+ )), 13, yl)) : v("", !0),
740
+ e.value.style.chart.layout.labels.hollow.average.show ? (o(), n("text", {
715
741
  key: 2,
716
742
  "text-anchor": "middle",
717
- x: o.value.width / 2,
718
- y: o.value.height / 2 + (e.value.style.chart.layout.labels.hollow.total.show ? e.value.style.chart.layout.labels.hollow.average.fontSize : 0) + e.value.style.chart.layout.labels.hollow.average.offsetY,
743
+ x: u.value.width / 2,
744
+ y: u.value.height / 2 + (e.value.style.chart.layout.labels.hollow.total.show ? e.value.style.chart.layout.labels.hollow.average.fontSize : 0) + e.value.style.chart.layout.labels.hollow.average.offsetY,
719
745
  fill: e.value.style.chart.layout.labels.hollow.average.color,
720
746
  "font-size": e.value.style.chart.layout.labels.hollow.average.fontSize,
721
747
  style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
722
- }, _(e.value.style.chart.layout.labels.hollow.average.text), 13, cl)) : v("", !0),
723
- e.value.style.chart.layout.labels.hollow.average.show ? (u(), r("text", {
748
+ }, x(e.value.style.chart.layout.labels.hollow.average.text), 13, fl)) : v("", !0),
749
+ e.value.style.chart.layout.labels.hollow.average.show ? (o(), n("text", {
724
750
  key: 3,
725
751
  "text-anchor": "middle",
726
- x: o.value.width / 2,
727
- y: o.value.height / 2 + (e.value.style.chart.layout.labels.hollow.total.show ? e.value.style.chart.layout.labels.hollow.average.fontSize : 0) + e.value.style.chart.layout.labels.hollow.average.fontSize + e.value.style.chart.layout.labels.hollow.average.value.offsetY,
752
+ x: u.value.width / 2,
753
+ y: u.value.height / 2 + (e.value.style.chart.layout.labels.hollow.total.show ? e.value.style.chart.layout.labels.hollow.average.fontSize : 0) + e.value.style.chart.layout.labels.hollow.average.fontSize + e.value.style.chart.layout.labels.hollow.average.value.offsetY,
728
754
  fill: e.value.style.chart.layout.labels.hollow.average.value.color,
729
755
  "font-size": e.value.style.chart.layout.labels.hollow.average.value.fontSize,
730
756
  style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
731
- }, _(V.value ? "--" : s(X)(
757
+ }, x(G.value ? "--" : s(X)(
732
758
  e.value.style.chart.layout.labels.hollow.average.value.formatter,
733
- Se.value,
734
- s(S)({
759
+ Le.value,
760
+ s(L)({
735
761
  p: e.value.style.chart.layout.labels.hollow.average.value.prefix,
736
- v: Se.value,
762
+ v: Le.value,
737
763
  s: e.value.style.chart.layout.labels.hollow.average.value.suffix,
738
764
  r: e.value.style.chart.layout.labels.hollow.average.value.rounding
739
765
  })
740
- )), 13, dl)) : v("", !0)
766
+ )), 13, pl)) : v("", !0)
741
767
  ], 64)) : v("", !0),
742
- (u(!0), r(m, null, I(p.value, (t, a) => (u(), r("g", {
768
+ (o(!0), n(m, null, I(f.value, (t, a) => (o(), n("g", {
743
769
  filter: J(a),
744
770
  class: ie({ animated: e.value.useCssAnimation })
745
771
  }, [
746
- e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (u(), r("g", yl, [
747
- (u(), r("foreignObject", {
772
+ e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(), n("g", bl, [
773
+ (o(), n("foreignObject", {
748
774
  x: s(b)(t, !0).anchor === "end" ? s(b)(t).x - 120 : s(b)(t, !0).anchor === "middle" ? s(b)(t).x - 60 : s(b)(t).x,
749
775
  y: s(te)(t) - (Te.value ? 20 : 0),
750
776
  width: "120",
751
777
  height: "60",
752
778
  style: { overflow: "visible" }
753
779
  }, [
754
- f("div", null, [
755
- k(l.$slots, "dataLabel", Q(Z({
780
+ h("div", null, [
781
+ _(l.$slots, "dataLabel", Q(Z({
756
782
  datapoint: t,
757
783
  isBlur: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a,
758
784
  isSafari: Te.value,
759
- isVisible: T(t) && h.value.dataLabels.show,
785
+ isVisible: T(t) && y.value.dataLabels.show,
760
786
  textAlign: s(b)(t, !0, 16, !0).anchor,
761
787
  flexAlign: s(b)(t, !0, 16).anchor,
762
- percentage: se(t, p.value)
788
+ percentage: se(t, f.value)
763
789
  })), void 0, !0)
764
790
  ])
765
- ], 8, fl))
766
- ])) : (u(), r("g", pl, [
767
- e.value.type === "classic" ? (u(), r(m, { key: 0 }, [
768
- T(t) && h.value.dataLabels.show ? (u(), r("circle", {
791
+ ], 8, ml))
792
+ ])) : (o(), n("g", wl, [
793
+ e.value.type === "classic" ? (o(), n(m, { key: 0 }, [
794
+ T(t) && y.value.dataLabels.show ? (o(), n("circle", {
769
795
  key: 0,
770
796
  cx: s(b)(t).x,
771
797
  cy: s(te)(t) - 3.5,
@@ -773,25 +799,25 @@ const Ft = (U) => (et("data-v-3151515d"), U = U(), tt(), U), zt = ["id"], Tt = [
773
799
  stroke: e.value.style.chart.backgroundColor,
774
800
  "stroke-width": 1,
775
801
  r: 3,
776
- filter: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a ? "" : `url(#blur_${x.value})`,
802
+ filter: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a ? "" : `url(#blur_${w.value})`,
777
803
  onClick: (i) => B(t, a)
778
- }, null, 8, gl)) : v("", !0)
804
+ }, null, 8, kl)) : v("", !0)
779
805
  ], 64)) : v("", !0),
780
- e.value.type === "polar" ? (u(), r(m, { key: 1 }, [
781
- T(t) && h.value.dataLabels.show ? (u(), r("circle", {
806
+ e.value.type === "polar" ? (o(), n(m, { key: 1 }, [
807
+ T(t) && y.value.dataLabels.show ? (o(), n("circle", {
782
808
  key: 0,
783
- cx: s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: o.value.width / 2, centerY: o.value.height / 2 }).x,
784
- cy: s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: o.value.width / 2, centerY: o.value.height / 2 }).y,
809
+ cx: s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
810
+ cy: s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y,
785
811
  fill: t.color,
786
812
  stroke: e.value.style.chart.backgroundColor,
787
813
  "stroke-width": 1,
788
814
  r: 3,
789
- filter: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a ? "" : `url(#blur_${x.value})`,
815
+ filter: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a ? "" : `url(#blur_${w.value})`,
790
816
  onClick: (i) => B(t, a)
791
- }, null, 8, bl)) : v("", !0)
817
+ }, null, 8, _l)) : v("", !0)
792
818
  ], 64)) : v("", !0),
793
- e.value.type === "classic" ? (u(), r(m, { key: 2 }, [
794
- T(t) && h.value.dataLabels.show ? (u(), r("text", {
819
+ e.value.type === "classic" ? (o(), n(m, { key: 2 }, [
820
+ T(t) && y.value.dataLabels.show ? (o(), n("text", {
795
821
  key: 0,
796
822
  "text-anchor": s(b)(t, !0, 12).anchor,
797
823
  x: s(b)(t, !0, 12).x,
@@ -800,18 +826,18 @@ const Ft = (U) => (et("data-v-3151515d"), U = U(), tt(), U), zt = ["id"], Tt = [
800
826
  "font-size": e.value.style.chart.layout.labels.percentage.fontSize,
801
827
  style: Y(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
802
828
  onClick: (i) => B(t, a)
803
- }, _(se(t, p.value)) + " " + _(e.value.style.chart.layout.labels.value.show ? `(${s(X)(
829
+ }, x(se(t, f.value)) + " " + x(e.value.style.chart.layout.labels.value.show ? `(${s(X)(
804
830
  e.value.style.chart.layout.labels.value.formatter,
805
831
  t.value,
806
- s(S)({
832
+ s(L)({
807
833
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
808
834
  v: t.value,
809
835
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
810
836
  r: e.value.style.chart.layout.labels.value.rounding
811
837
  }),
812
838
  { datapoint: t }
813
- )})` : ""), 13, ml)) : v("", !0),
814
- T(t) && h.value.dataLabels.show ? (u(), r("text", {
839
+ )})` : ""), 13, xl)) : v("", !0),
840
+ T(t) && y.value.dataLabels.show ? (o(), n("text", {
815
841
  key: 1,
816
842
  "text-anchor": s(b)(t).anchor,
817
843
  x: s(b)(t, !0, 12).x,
@@ -820,43 +846,43 @@ const Ft = (U) => (et("data-v-3151515d"), U = U(), tt(), U), zt = ["id"], Tt = [
820
846
  "font-size": e.value.style.chart.layout.labels.name.fontSize,
821
847
  style: Y(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
822
848
  onClick: (i) => B(t, a)
823
- }, _(t.name), 13, wl)) : v("", !0)
849
+ }, x(t.name), 13, Cl)) : v("", !0)
824
850
  ], 64)) : v("", !0),
825
- e.value.type === "polar" ? (u(), r(m, { key: 3 }, [
826
- T(t) && h.value.dataLabels.show ? (u(), r("text", {
851
+ e.value.type === "polar" ? (o(), n(m, { key: 3 }, [
852
+ T(t) && y.value.dataLabels.show ? (o(), n("text", {
827
853
  key: 0,
828
854
  "text-anchor": j(c.value[a].middlePoint),
829
- x: s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: o.value.width / 2, centerY: o.value.height / 2 }).x,
830
- y: s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: o.value.width / 2, centerY: o.value.height / 2 }).y,
855
+ x: s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
856
+ y: s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y,
831
857
  fill: e.value.style.chart.layout.labels.percentage.color,
832
858
  "font-size": e.value.style.chart.layout.labels.percentage.fontSize,
833
859
  style: Y(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
834
860
  onClick: (i) => B(t, a)
835
- }, _(se(t, p.value)) + " " + _(e.value.style.chart.layout.labels.value.show ? `(${s(X)(
861
+ }, x(se(t, f.value)) + " " + x(e.value.style.chart.layout.labels.value.show ? `(${s(X)(
836
862
  e.value.style.chart.layout.labels.value.formatter,
837
863
  t.value,
838
- s(S)({
864
+ s(L)({
839
865
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
840
866
  v: t.value,
841
867
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
842
868
  r: e.value.style.chart.layout.labels.value.rounding
843
869
  }),
844
870
  { datapoint: t }
845
- )})` : ""), 13, kl)) : v("", !0),
846
- T(t) && h.value.dataLabels.show ? (u(), r("text", {
871
+ )})` : ""), 13, $l)) : v("", !0),
872
+ T(t) && y.value.dataLabels.show ? (o(), n("text", {
847
873
  key: 1,
848
874
  "text-anchor": j(c.value[a].middlePoint),
849
- x: s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: o.value.width / 2, centerY: o.value.height / 2 }).x,
850
- y: s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: o.value.width / 2, centerY: o.value.height / 2 }).y + e.value.style.chart.layout.labels.percentage.fontSize,
875
+ x: s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
876
+ y: s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y + e.value.style.chart.layout.labels.percentage.fontSize,
851
877
  fill: e.value.style.chart.layout.labels.name.color,
852
878
  "font-size": e.value.style.chart.layout.labels.name.fontSize,
853
879
  style: Y(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
854
880
  onClick: (i) => B(t, a)
855
- }, _(t.name), 13, xl)) : v("", !0)
881
+ }, x(t.name), 13, Pl)) : v("", !0)
856
882
  ], 64)) : v("", !0)
857
883
  ])),
858
- h.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (u(), r("g", _l, [
859
- T(t) && e.value.type === "classic" ? (u(), r("foreignObject", {
884
+ y.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(), n("g", Sl, [
885
+ T(t) && e.value.type === "classic" ? (o(), n("foreignObject", {
860
886
  key: 0,
861
887
  x: e.value.style.chart.comments.offsetX + (s(b)(t, !0).anchor === "end" ? s(b)(t).x - e.value.style.chart.comments.width : s(b)(t, !0).anchor === "middle" ? s(b)(t).x - e.value.style.chart.comments.width / 2 : s(b)(t).x),
862
888
  y: s(te)(t) + 24 + e.value.style.chart.comments.offsetY,
@@ -864,34 +890,34 @@ const Ft = (U) => (et("data-v-3151515d"), U = U(), tt(), U), zt = ["id"], Tt = [
864
890
  height: "200",
865
891
  style: { overflow: "visible", "pointer-events": "none" }
866
892
  }, [
867
- f("div", null, [
868
- k(l.$slots, "plot-comment", {
893
+ h("div", null, [
894
+ _(l.$slots, "plot-comment", {
869
895
  plot: { ...t, textAlign: s(b)(t, !0, 16, !0).anchor, flexAlign: s(b)(t, !0, 16).anchor }
870
896
  }, void 0, !0)
871
897
  ])
872
- ], 8, Cl)) : v("", !0),
873
- T(t) && e.value.type === "polar" ? (u(), r("foreignObject", {
898
+ ], 8, Ll)) : v("", !0),
899
+ T(t) && e.value.type === "polar" ? (o(), n("foreignObject", {
874
900
  key: 1,
875
- x: e.value.style.chart.comments.offsetX + (j(c.value[a].middlePoint) === "end" ? s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: o.value.width / 2, centerY: o.value.height / 2 }).x - e.value.style.chart.comments.width : j(c.value[a].middlePoint) === "middle" ? s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: o.value.width / 2, centerY: o.value.height / 2 }).x - e.value.style.chart.comments.width / 2 : s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: o.value.width / 2, centerY: o.value.height / 2 }).x),
876
- y: Ee(c.value[a]) + e.value.style.chart.comments.offsetY,
901
+ x: e.value.style.chart.comments.offsetX + (j(c.value[a].middlePoint) === "end" ? s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x - e.value.style.chart.comments.width : j(c.value[a].middlePoint) === "middle" ? s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x - e.value.style.chart.comments.width / 2 : s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x),
902
+ y: Ue(c.value[a]) + e.value.style.chart.comments.offsetY,
877
903
  width: e.value.style.chart.comments.width,
878
904
  height: "200",
879
905
  style: { overflow: "visible", "pointer-events": "none" }
880
906
  }, [
881
- f("div", null, [
882
- k(l.$slots, "plot-comment", {
907
+ h("div", null, [
908
+ _(l.$slots, "plot-comment", {
883
909
  plot: { ...t, textAlign: j(c.value[a].middlePoint), flexAlign: j(c.value[a].middlePoint) }
884
910
  }, void 0, !0)
885
911
  ])
886
- ], 8, $l)) : v("", !0)
912
+ ], 8, Fl)) : v("", !0)
887
913
  ])) : v("", !0)
888
- ], 10, hl))), 256)),
889
- k(l.$slots, "svg", { svg: o.value }, void 0, !0)
914
+ ], 10, gl))), 256)),
915
+ _(l.$slots, "svg", { svg: u.value }, void 0, !0)
890
916
  ], 14, Tt)) : v("", !0),
891
- l.$slots.watermark ? (u(), r("div", Pl, [
892
- k(l.$slots, "watermark", Q(Z({ isPrinting: s(me) || s(we) })), void 0, !0)
917
+ l.$slots.watermark ? (o(), n("div", zl, [
918
+ _(l.$slots, "watermark", Q(Z({ isPrinting: s(me) || s(we) })), void 0, !0)
893
919
  ])) : v("", !0),
894
- E.value ? v("", !0) : (u(), H($t, {
920
+ U.value ? v("", !0) : (o(), H($t, {
895
921
  key: 4,
896
922
  config: {
897
923
  type: "donut",
@@ -904,25 +930,25 @@ const Ft = (U) => (et("data-v-3151515d"), U = U(), tt(), U), zt = ["id"], Tt = [
904
930
  }
905
931
  }
906
932
  }, null, 8, ["config"])),
907
- f("div", {
933
+ h("div", {
908
934
  ref_key: "chartLegend",
909
935
  ref: de
910
936
  }, [
911
- e.value.style.chart.legend.show ? (u(), H(Ct, {
937
+ e.value.style.chart.legend.show ? (o(), H(Ct, {
912
938
  key: `legend_${fe.value}`,
913
- legendSet: Le.value,
914
- config: Ue.value,
915
- onClickMarker: n[4] || (n[4] = ({ i: t }) => Pe(t))
939
+ legendSet: Se.value,
940
+ config: Re.value,
941
+ onClickMarker: r[4] || (r[4] = ({ i: t }) => Pe(t))
916
942
  }, {
917
- item: L(({ legend: t, index: a }) => [
918
- f("div", {
943
+ item: S(({ legend: t, index: a }) => [
944
+ h("div", {
919
945
  onClick: (i) => t.segregate(),
920
946
  style: Y(`opacity:${O.value.includes(a) ? 0.5 : 1}`)
921
947
  }, [
922
- Ae(_(t.name) + ": " + _(s(X)(
948
+ De(x(t.name) + ": " + x(s(X)(
923
949
  e.value.style.chart.layout.labels.value.formatter,
924
950
  t.value,
925
- s(S)({
951
+ s(L)({
926
952
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
927
953
  v: t.value,
928
954
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -933,23 +959,23 @@ const Ft = (U) => (et("data-v-3151515d"), U = U(), tt(), U), zt = ["id"], Tt = [
933
959
  index: a
934
960
  }
935
961
  )) + " ", 1),
936
- O.value.includes(a) ? (u(), r("span", Fl, " ( " + _(qe(t.proportion * 100)) + " % ) ", 1)) : (u(), r("span", Sl, " (" + _(isNaN(t.value / $.value) ? "-" : s(X)(
962
+ O.value.includes(a) ? (o(), n("span", Xl, " ( " + x(qe(t.proportion * 100)) + " % ) ", 1)) : (o(), n("span", Yl, " (" + x(isNaN(t.value / $.value) ? "-" : s(X)(
937
963
  e.value.style.chart.layout.labels.percentage.formatter,
938
- V.value ? t.proportion * 100 : t.value / $.value * 100,
939
- s(S)({
940
- v: V.value ? t.proportion * 100 : t.value / $.value * 100,
964
+ G.value ? t.proportion * 100 : t.value / $.value * 100,
965
+ s(L)({
966
+ v: G.value ? t.proportion * 100 : t.value / $.value * 100,
941
967
  s: "%",
942
968
  r: e.value.style.chart.legend.roundingPercentage
943
969
  })
944
970
  )) + ") ", 1))
945
- ], 12, Ll)
971
+ ], 12, Tl)
946
972
  ]),
947
973
  _: 1
948
974
  }, 8, ["legendSet", "config"])) : v("", !0),
949
- k(l.$slots, "legend", { legend: Le.value }, void 0, !0)
975
+ _(l.$slots, "legend", { legend: Se.value }, void 0, !0)
950
976
  ], 512),
951
- Ie(_t, {
952
- show: h.value.showTooltip && ae.value,
977
+ Ie(xt, {
978
+ show: y.value.showTooltip && ae.value,
953
979
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
954
980
  color: e.value.style.chart.tooltip.color,
955
981
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -959,23 +985,23 @@ const Ft = (U) => (et("data-v-3151515d"), U = U(), tt(), U), zt = ["id"], Tt = [
959
985
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
960
986
  position: e.value.style.chart.tooltip.position,
961
987
  offsetY: e.value.style.chart.tooltip.offsetY,
962
- parent: R.value,
988
+ parent: E.value,
963
989
  content: ue.value,
964
990
  isCustom: q.value
965
991
  }, {
966
- "tooltip-before": L(() => [
967
- k(l.$slots, "tooltip-before", Q(Z({ ...ne.value })), void 0, !0)
992
+ "tooltip-before": S(() => [
993
+ _(l.$slots, "tooltip-before", Q(Z({ ...ne.value })), void 0, !0)
968
994
  ]),
969
- "tooltip-after": L(() => [
970
- k(l.$slots, "tooltip-after", Q(Z({ ...ne.value })), void 0, !0)
995
+ "tooltip-after": S(() => [
996
+ _(l.$slots, "tooltip-after", Q(Z({ ...ne.value })), void 0, !0)
971
997
  ]),
972
998
  _: 3
973
999
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
974
- E.value ? (u(), H(Pt, {
1000
+ U.value ? (o(), H(Pt, {
975
1001
  key: 5,
976
1002
  hideDetails: "",
977
1003
  config: {
978
- open: h.value.showTable,
1004
+ open: y.value.showTable,
979
1005
  maxHeight: 1e4,
980
1006
  body: {
981
1007
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -987,27 +1013,27 @@ const Ft = (U) => (et("data-v-3151515d"), U = U(), tt(), U), zt = ["id"], Tt = [
987
1013
  }
988
1014
  }
989
1015
  }, {
990
- content: L(() => [
991
- (u(), H(xt, {
1016
+ content: S(() => [
1017
+ (o(), H(_t, {
992
1018
  key: `table_${ye.value}`,
993
1019
  colNames: oe.value.colNames,
994
1020
  head: oe.value.head,
995
1021
  body: oe.value.body,
996
1022
  config: oe.value.config,
997
1023
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
998
- onClose: n[5] || (n[5] = (t) => h.value.showTable = !1)
1024
+ onClose: r[5] || (r[5] = (t) => y.value.showTable = !1)
999
1025
  }, {
1000
- th: L(({ th: t }) => [
1001
- f("div", {
1026
+ th: S(({ th: t }) => [
1027
+ h("div", {
1002
1028
  innerHTML: t,
1003
1029
  style: { display: "flex", "align-items": "center" }
1004
- }, null, 8, zl)
1030
+ }, null, 8, Nl)
1005
1031
  ]),
1006
- td: L(({ td: t }) => [
1007
- Ae(_(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : s(X)(
1032
+ td: S(({ td: t }) => [
1033
+ De(x(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : s(X)(
1008
1034
  e.value.style.chart.layout.labels.percentage.formatter,
1009
1035
  t,
1010
- s(S)({
1036
+ s(L)({
1011
1037
  v: t,
1012
1038
  s: "%",
1013
1039
  r: e.value.style.chart.layout.labels.percentage.rounding
@@ -1015,7 +1041,7 @@ const Ft = (U) => (et("data-v-3151515d"), U = U(), tt(), U), zt = ["id"], Tt = [
1015
1041
  ) : s(X)(
1016
1042
  e.value.style.chart.layout.labels.value.formatter,
1017
1043
  t,
1018
- s(S)({
1044
+ s(L)({
1019
1045
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1020
1046
  v: t,
1021
1047
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -1030,7 +1056,7 @@ const Ft = (U) => (et("data-v-3151515d"), U = U(), tt(), U), zt = ["id"], Tt = [
1030
1056
  }, 8, ["config"])) : v("", !0)
1031
1057
  ], 14, zt));
1032
1058
  }
1033
- }, Ul = /* @__PURE__ */ St(Tl, [["__scopeId", "data-v-3151515d"]]);
1059
+ }, ql = /* @__PURE__ */ Lt(Ol, [["__scopeId", "data-v-159f668e"]]);
1034
1060
  export {
1035
- Ul as default
1061
+ ql as default
1036
1062
  };