vue-data-ui 2.3.78 → 2.3.80

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 (142) hide show
  1. package/dist/{Arrow-BCYtOwX7.js → Arrow-BI2HWbkl.js} +1 -1
  2. package/dist/{Arrow-DWkvIpW8.cjs → Arrow-BwOfAkTh.cjs} +1 -1
  3. package/dist/{BaseIcon-BIQXWVMS.js → BaseIcon-BhdIp3HQ.js} +1 -1
  4. package/dist/{BaseIcon-Bcpzfk34.cjs → BaseIcon-DU-oJKBy.cjs} +1 -1
  5. package/dist/{DataTable-y1lX5jVj.js → DataTable-CThhaAYT.js} +2 -2
  6. package/dist/{DataTable-C5TOiC61.cjs → DataTable-ysqfWT9v.cjs} +1 -1
  7. package/dist/{Legend-CGGD8NhP.cjs → Legend-DtnPX_Dc.cjs} +1 -1
  8. package/dist/{Legend-BLXcdrri.js → Legend-DxRA5XXC.js} +1 -1
  9. package/dist/{Shape-qJYTY2BC.cjs → Shape-DJdHakOl.cjs} +1 -1
  10. package/dist/{Shape-CsoTtJx6.js → Shape-EntBaNbX.js} +1 -1
  11. package/dist/{Slicer-DzJZ4axa.js → Slicer-BLFTdmNs.js} +2 -2
  12. package/dist/{Slicer-CZJXKSeE.cjs → Slicer-xJl1pkRn.cjs} +1 -1
  13. package/dist/{Title-Bx-VO3md.js → Title-Bgh58KWs.js} +1 -1
  14. package/dist/{Title-BSpa3uge.cjs → Title-DOzi72Pu.cjs} +1 -1
  15. package/dist/{Tooltip-rmhZhv96.cjs → Tooltip-DWx3KcqE.cjs} +1 -1
  16. package/dist/{Tooltip-Dk-cimhQ.js → Tooltip-HqwVgkYT.js} +1 -1
  17. package/dist/{index-CzjC8LfY.cjs → index-BofUHMEw.cjs} +1 -1
  18. package/dist/{index-DP8dqFNd.js → index-C_xZ1jJj.js} +1 -1
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-B-oZxD4x.js → useNestedProp-9QKvGow8.js} +1 -1
  21. package/dist/{useNestedProp-CY7DebVH.cjs → useNestedProp-DGK0LGfN.cjs} +1 -1
  22. package/dist/{usePrinter-DiuHo4LO.js → usePrinter-BJ7GxAOO.js} +1 -1
  23. package/dist/{usePrinter-DiLM6jav.cjs → usePrinter-_JYb_33H.cjs} +1 -1
  24. package/dist/{vue-data-ui-Ce5IFSYA.cjs → vue-data-ui-BDRU4x1z.cjs} +1 -1
  25. package/dist/{vue-data-ui-Ct7n5wkM.js → vue-data-ui-MIo8xmC1.js} +57 -57
  26. package/dist/vue-data-ui.cjs +1 -1
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-B_i2EoFu.cjs → vue-ui-3d-bar-Clct1WMZ.cjs} +1 -1
  29. package/dist/{vue-ui-3d-bar-O3fB5J7V.js → vue-ui-3d-bar-Dul4M5zs.js} +7 -7
  30. package/dist/{vue-ui-accordion-DpI7fTKZ.cjs → vue-ui-accordion-XtygMpX7.cjs} +1 -1
  31. package/dist/{vue-ui-accordion-Dl8zkZPk.js → vue-ui-accordion-issoIPFd.js} +3 -3
  32. package/dist/{vue-ui-age-pyramid-BeiREI6d.js → vue-ui-age-pyramid-DnfnIupT.js} +8 -8
  33. package/dist/{vue-ui-age-pyramid-BsAfxkN4.cjs → vue-ui-age-pyramid-EsCLRd6s.cjs} +1 -1
  34. package/dist/{vue-ui-annotator-0yje27Qq.js → vue-ui-annotator-CmrenuBi.js} +1 -1
  35. package/dist/{vue-ui-annotator-DpN-6IwB.cjs → vue-ui-annotator-zFbcfeEs.cjs} +1 -1
  36. package/dist/{vue-ui-candlestick-lv78wnpS.cjs → vue-ui-candlestick-Bdo2RhhM.cjs} +1 -1
  37. package/dist/{vue-ui-candlestick-D9UteVvx.js → vue-ui-candlestick-DlwYwMdG.js} +9 -9
  38. package/dist/{vue-ui-carousel-table-Br6FwMKM.cjs → vue-ui-carousel-table-IN0an_Jc.cjs} +1 -1
  39. package/dist/{vue-ui-carousel-table-jxZ3h5pq.js → vue-ui-carousel-table-mo9C1GJ9.js} +4 -4
  40. package/dist/{vue-ui-chestnut-DbYHeNaL.cjs → vue-ui-chestnut-C9jiVBGB.cjs} +1 -1
  41. package/dist/{vue-ui-chestnut-DXuHRJy4.js → vue-ui-chestnut-DUeStDzz.js} +6 -6
  42. package/dist/{vue-ui-cursor-iss6SJ1Y.cjs → vue-ui-cursor-BoetT349.cjs} +1 -1
  43. package/dist/{vue-ui-cursor-BzPbdVRJ.js → vue-ui-cursor-x_Ai6P6S.js} +2 -2
  44. package/dist/{vue-ui-dashboard-CGjWuFrI.js → vue-ui-dashboard-B8IRsFc3.js} +2 -2
  45. package/dist/{vue-ui-dashboard-DKT82yQ4.cjs → vue-ui-dashboard-DUH23G5u.cjs} +1 -1
  46. package/dist/{vue-ui-digits-BCguvLxB.js → vue-ui-digits-BO5Bxyib.js} +2 -2
  47. package/dist/{vue-ui-digits-BfwDCfYp.cjs → vue-ui-digits-ByNeTvE4.cjs} +1 -1
  48. package/dist/vue-ui-donut-CDizH2x3.cjs +1 -0
  49. package/dist/{vue-ui-donut-DJTeGLVG.js → vue-ui-donut-DC6mZWdM.js} +318 -318
  50. package/dist/{vue-ui-donut-evolution-BaLDZNDG.js → vue-ui-donut-evolution-B2U3g0Yw.js} +9 -9
  51. package/dist/{vue-ui-donut-evolution-Bil1AIhX.cjs → vue-ui-donut-evolution-B7G4UB_e.cjs} +1 -1
  52. package/dist/{vue-ui-dumbbell-BqtDdV5w.js → vue-ui-dumbbell-81Azsrmw.js} +8 -8
  53. package/dist/{vue-ui-dumbbell-DiL3xhKY.cjs → vue-ui-dumbbell-DD7RtYjl.cjs} +1 -1
  54. package/dist/{vue-ui-flow-BVTbbsCK.cjs → vue-ui-flow-BbJmSWr4.cjs} +1 -1
  55. package/dist/{vue-ui-flow-zfTGon4s.js → vue-ui-flow-CTobijfD.js} +7 -7
  56. package/dist/{vue-ui-galaxy-5iRb5sQ-.js → vue-ui-galaxy-B9U-hTWd.js} +9 -9
  57. package/dist/{vue-ui-galaxy-GSO_6KIe.cjs → vue-ui-galaxy-BxkH3rZs.cjs} +1 -1
  58. package/dist/{vue-ui-gauge-DljHYdCS.js → vue-ui-gauge-BvS6Ep8K.js} +5 -5
  59. package/dist/{vue-ui-gauge-Bz7oLa51.cjs → vue-ui-gauge-DezT9Iw3.cjs} +1 -1
  60. package/dist/{vue-ui-gizmo-B-fxFOZy.js → vue-ui-gizmo-CCSV95Cw.js} +2 -2
  61. package/dist/{vue-ui-gizmo-KL0OJY2K.cjs → vue-ui-gizmo-CdGlyolL.cjs} +1 -1
  62. package/dist/{vue-ui-heatmap-ketn_NV3.js → vue-ui-heatmap-DQntMs3y.js} +8 -8
  63. package/dist/{vue-ui-heatmap-thMJPCfo.cjs → vue-ui-heatmap-Decb4BRV.cjs} +1 -1
  64. package/dist/{vue-ui-kpi-e1QWa8D4.cjs → vue-ui-kpi-MZSJlc3i.cjs} +1 -1
  65. package/dist/{vue-ui-kpi-Bxu8uZ21.js → vue-ui-kpi-yDsCX1qh.js} +3 -3
  66. package/dist/{vue-ui-mini-loader-BZ_2aV8O.js → vue-ui-mini-loader-DluKyWjA.js} +2 -2
  67. package/dist/{vue-ui-mini-loader-paRZQU8H.cjs → vue-ui-mini-loader-Dz3LxxFJ.cjs} +1 -1
  68. package/dist/{vue-ui-molecule-Bpp5unvI.js → vue-ui-molecule-BG1BbGts.js} +9 -9
  69. package/dist/{vue-ui-molecule-VOBL4Osc.cjs → vue-ui-molecule-rmhSL2tT.cjs} +1 -1
  70. package/dist/{vue-ui-mood-radar-BY8XP_Q5.js → vue-ui-mood-radar-EO6jRkGF.js} +9 -9
  71. package/dist/{vue-ui-mood-radar-CwtMLwP8.cjs → vue-ui-mood-radar-owAd1Twe.cjs} +1 -1
  72. package/dist/{vue-ui-nested-donuts-5uuLi3If.js → vue-ui-nested-donuts-HDfFuFhB.js} +302 -308
  73. package/dist/vue-ui-nested-donuts-u-4RFRIE.cjs +17 -0
  74. package/dist/{vue-ui-onion-CMSPSSSG.cjs → vue-ui-onion-BUOOD3WG.cjs} +1 -1
  75. package/dist/{vue-ui-onion-zDy4ecPl.js → vue-ui-onion-DqMY1iPE.js} +9 -9
  76. package/dist/{vue-ui-parallel-coordinate-plot-1PFxiI__.cjs → vue-ui-parallel-coordinate-plot-2JGpf8SJ.cjs} +1 -1
  77. package/dist/{vue-ui-parallel-coordinate-plot-BeEkL7Dq.js → vue-ui-parallel-coordinate-plot-CUU74I_R.js} +10 -10
  78. package/dist/{vue-ui-quadrant-Cx5z_c90.cjs → vue-ui-quadrant-BXUtKBlK.cjs} +1 -1
  79. package/dist/{vue-ui-quadrant-MCIlbbsW.js → vue-ui-quadrant-BrbrrHLN.js} +10 -10
  80. package/dist/{vue-ui-quick-chart-r6Qa7qg_.js → vue-ui-quick-chart-BeJMzQZr.js} +7 -7
  81. package/dist/{vue-ui-quick-chart-Xn-47NQG.cjs → vue-ui-quick-chart-CNn9Wt0K.cjs} +1 -1
  82. package/dist/{vue-ui-radar-DFV5cFkl.js → vue-ui-radar-BMbWx0XC.js} +10 -10
  83. package/dist/{vue-ui-radar-ANQ1wXFc.cjs → vue-ui-radar-yFYbYYI9.cjs} +1 -1
  84. package/dist/{vue-ui-rating-BVzCbQbv.cjs → vue-ui-rating-Ckh6xyv1.cjs} +1 -1
  85. package/dist/{vue-ui-rating-DYu1EuJF.js → vue-ui-rating-D19QGpzZ.js} +2 -2
  86. package/dist/{vue-ui-relation-circle-BAcmDQB_.js → vue-ui-relation-circle-DqdXa6V6.js} +5 -5
  87. package/dist/{vue-ui-relation-circle-DEM6C6Or.cjs → vue-ui-relation-circle-YH6EpWSC.cjs} +1 -1
  88. package/dist/{vue-ui-rings-BiLlYpgu.js → vue-ui-rings-CDqf78PA.js} +9 -9
  89. package/dist/{vue-ui-rings-Ce4G4hat.cjs → vue-ui-rings-Dbi3uWQh.cjs} +1 -1
  90. package/dist/{vue-ui-scatter-OtlcTCUF.cjs → vue-ui-scatter-Ch3iYYoX.cjs} +1 -1
  91. package/dist/{vue-ui-scatter-D2ndYfkQ.js → vue-ui-scatter-D3IFY9II.js} +10 -10
  92. package/dist/{vue-ui-screenshot-DTQx4VsM.cjs → vue-ui-screenshot-DBmmftjw.cjs} +1 -1
  93. package/dist/{vue-ui-screenshot-CKCNPn-e.js → vue-ui-screenshot-Xtz1BC-w.js} +1 -1
  94. package/dist/{vue-ui-skeleton-CwqzJlQf.cjs → vue-ui-skeleton-Bx_kbjKr.cjs} +1 -1
  95. package/dist/{vue-ui-skeleton-B30ZhUV7.js → vue-ui-skeleton-C3UWXP3Q.js} +2 -2
  96. package/dist/{vue-ui-smiley-L6o24M6h.cjs → vue-ui-smiley-BCorPn2E.cjs} +1 -1
  97. package/dist/{vue-ui-smiley-DzLvZR1k.js → vue-ui-smiley-FhcqViE3.js} +2 -2
  98. package/dist/{vue-ui-spark-trend-BoWeviHk.cjs → vue-ui-spark-trend-C1BmsVRe.cjs} +1 -1
  99. package/dist/{vue-ui-spark-trend-BKsmENbH.js → vue-ui-spark-trend-RJUm-CJC.js} +4 -4
  100. package/dist/{vue-ui-sparkbar-DNzZkp8z.js → vue-ui-sparkbar-C6sZ4mYK.js} +3 -3
  101. package/dist/{vue-ui-sparkbar-DY3iOLo4.cjs → vue-ui-sparkbar-CtQSQySy.cjs} +1 -1
  102. package/dist/{vue-ui-sparkgauge-B2DngjVP.js → vue-ui-sparkgauge-C1pOZo8V.js} +3 -3
  103. package/dist/{vue-ui-sparkgauge-BlZ-lJm4.cjs → vue-ui-sparkgauge-CoyqAUDp.cjs} +1 -1
  104. package/dist/{vue-ui-sparkhistogram-BUBewgdH.cjs → vue-ui-sparkhistogram-DvBJHfyk.cjs} +1 -1
  105. package/dist/{vue-ui-sparkhistogram-Co9N3BeQ.js → vue-ui-sparkhistogram-Mh93EuLF.js} +4 -4
  106. package/dist/{vue-ui-sparkline-BhL0mxXD.cjs → vue-ui-sparkline-CXIAmE5m.cjs} +1 -1
  107. package/dist/{vue-ui-sparkline-Dpqo4aRJ.js → vue-ui-sparkline-DiAIsoI3.js} +3 -3
  108. package/dist/{vue-ui-sparkstackbar-_JwfRxF8.js → vue-ui-sparkstackbar-Bb8ZtMfn.js} +3 -3
  109. package/dist/{vue-ui-sparkstackbar-DtNbx3EV.cjs → vue-ui-sparkstackbar-BePzQn-H.cjs} +1 -1
  110. package/dist/{vue-ui-stackbar-BtN7ZM7-.js → vue-ui-stackbar-B7KyGHZZ.js} +10 -10
  111. package/dist/{vue-ui-stackbar-C7AWHP6m.cjs → vue-ui-stackbar-BiNZ2pBZ.cjs} +1 -1
  112. package/dist/{vue-ui-strip-plot-6L9a7BSw.js → vue-ui-strip-plot-8d_juyi7.js} +9 -9
  113. package/dist/{vue-ui-strip-plot-cgOFTunJ.cjs → vue-ui-strip-plot-CY5rDwjh.cjs} +1 -1
  114. package/dist/{vue-ui-table-BFYHRMCS.js → vue-ui-table-CSm91gHM.js} +1 -1
  115. package/dist/{vue-ui-table-4Pf9tmFg.cjs → vue-ui-table-CoGh4xvF.cjs} +1 -1
  116. package/dist/{vue-ui-table-heatmap--kPCu8mA.js → vue-ui-table-heatmap-B30TipjK.js} +4 -4
  117. package/dist/{vue-ui-table-heatmap-CltKb2V9.cjs → vue-ui-table-heatmap-CwDproVr.cjs} +1 -1
  118. package/dist/{vue-ui-table-sparkline-B5OjJud8.cjs → vue-ui-table-sparkline-B8lCOsfc.cjs} +1 -1
  119. package/dist/{vue-ui-table-sparkline-CsWx1Ksy.js → vue-ui-table-sparkline-BcFIKA8V.js} +5 -5
  120. package/dist/{vue-ui-thermometer-nTD7sp8r.js → vue-ui-thermometer-CPqFKYwL.js} +5 -5
  121. package/dist/{vue-ui-thermometer-62_4QovL.cjs → vue-ui-thermometer-D6rDq4hj.cjs} +1 -1
  122. package/dist/{vue-ui-timer-BU0s7Vt9.cjs → vue-ui-timer-C70sw9Rc.cjs} +1 -1
  123. package/dist/{vue-ui-timer-DMFHjnzA.js → vue-ui-timer-DdQB8bF5.js} +4 -4
  124. package/dist/{vue-ui-tiremarks-1X9B1VKM.js → vue-ui-tiremarks-DDCOUKU9.js} +5 -5
  125. package/dist/{vue-ui-tiremarks-mwBeBMJY.cjs → vue-ui-tiremarks-o-KdCzZV.cjs} +1 -1
  126. package/dist/{vue-ui-treemap-CVTwqPFA.js → vue-ui-treemap-BOCZ8x4F.js} +9 -9
  127. package/dist/{vue-ui-treemap-DQmBbm7e.cjs → vue-ui-treemap-C3XRZk0P.cjs} +1 -1
  128. package/dist/{vue-ui-vertical-bar-BXiy8KRC.cjs → vue-ui-vertical-bar-C2ZIoY0I.cjs} +1 -1
  129. package/dist/{vue-ui-vertical-bar-Br6Z0A3F.js → vue-ui-vertical-bar-CAlQekf-.js} +9 -9
  130. package/dist/{vue-ui-waffle-DEXMh07q.js → vue-ui-waffle-CasLSUzY.js} +9 -9
  131. package/dist/{vue-ui-waffle-CLCsHw9j.cjs → vue-ui-waffle-D1eYO-NM.cjs} +1 -1
  132. package/dist/{vue-ui-wheel-DSFKKX65.cjs → vue-ui-wheel-C4ODblPX.cjs} +1 -1
  133. package/dist/{vue-ui-wheel-CwjuVi6U.js → vue-ui-wheel-CHn24pYD.js} +5 -5
  134. package/dist/{vue-ui-word-cloud-DZS4hCeR.cjs → vue-ui-word-cloud-XCS_A5_a.cjs} +1 -1
  135. package/dist/{vue-ui-word-cloud-BKeD3fHb.js → vue-ui-word-cloud-uGJLXPYv.js} +7 -7
  136. package/dist/{vue-ui-xy-B5aCogSL.cjs → vue-ui-xy-CH9wvh8w.cjs} +1 -1
  137. package/dist/{vue-ui-xy-DA3qqL8u.js → vue-ui-xy-KnfMOUv4.js} +12 -12
  138. package/dist/{vue-ui-xy-canvas-B7DH4RK5.js → vue-ui-xy-canvas-DVjSzeFt.js} +10 -10
  139. package/dist/{vue-ui-xy-canvas-heCdqh5X.cjs → vue-ui-xy-canvas-Yy7FaFLS.cjs} +1 -1
  140. package/package.json +1 -1
  141. package/dist/vue-ui-donut-uVPdO4UH.cjs +0 -1
  142. package/dist/vue-ui-nested-donuts-CLnVnAiD.cjs +0 -17
@@ -1,33 +1,33 @@
1
- import { computed as k, ref as d, watch as Fe, onMounted as Xe, onBeforeUnmount as We, openBlock as s, createElementBlock as n, normalizeClass as O, normalizeStyle as se, createBlock as P, createCommentVNode as y, unref as r, createSlots as He, withCtx as m, renderSlot as $, normalizeProps as q, guardReactiveProps as J, createElementVNode as b, Fragment as w, renderList as L, toDisplayString as F, createVNode as qe, createTextVNode as K, nextTick as Je, pushScopeId as Ke, popScopeId as Qe } from "vue";
2
- import { u as Ze, c as je, t as et, a as tt, p as Q, o as lt, e as A, b as at, G as Ie, d as ot, m as De, f as C, X as st, s as ut, I as nt, k as V, n as ue, i as R, x as ze, y as rt, q as it, r as dt } from "./index-DP8dqFNd.js";
3
- import { t as ct, u as vt } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as ht } from "./Title-Bx-VO3md.js";
5
- import { u as ft, U as yt } from "./usePrinter-DiuHo4LO.js";
6
- import { D as pt } from "./DataTable-y1lX5jVj.js";
7
- import { _ as bt } from "./Tooltip-Dk-cimhQ.js";
8
- import { L as gt } from "./Legend-BLXcdrri.js";
9
- import mt from "./vue-ui-skeleton-B30ZhUV7.js";
10
- import wt from "./vue-ui-accordion-Dl8zkZPk.js";
11
- import { u as Oe } from "./useNestedProp-B-oZxD4x.js";
1
+ import { computed as g, ref as d, watch as De, onMounted as qe, onBeforeUnmount as Je, openBlock as u, createElementBlock as n, normalizeClass as O, normalizeStyle as ue, createBlock as P, createCommentVNode as y, unref as r, createSlots as Ke, withCtx as m, renderSlot as $, normalizeProps as q, guardReactiveProps as J, createElementVNode as p, Fragment as x, renderList as S, toDisplayString as T, createVNode as Qe, createTextVNode as K, nextTick as Ze, pushScopeId as je, popScopeId as et } from "vue";
2
+ import { u as tt, c as lt, t as at, a as ot, p as Q, o as st, e as A, b as ut, G as ze, d as nt, m as Oe, f as L, X as rt, s as Pe, I as it, k as V, n as ne, i as G, x as Ae, y as dt, q as ct, r as vt } from "./index-C_xZ1jJj.js";
3
+ import { t as ft, u as ht } from "./useResponsive-NZB-WLRF.js";
4
+ import { _ as yt } from "./Title-Bgh58KWs.js";
5
+ import { u as pt, U as bt } from "./usePrinter-BJ7GxAOO.js";
6
+ import { D as gt } from "./DataTable-CThhaAYT.js";
7
+ import { _ as mt } from "./Tooltip-HqwVgkYT.js";
8
+ import { L as wt } from "./Legend-DxRA5XXC.js";
9
+ import kt from "./vue-ui-skeleton-C3UWXP3Q.js";
10
+ import _t from "./vue-ui-accordion-issoIPFd.js";
11
+ import { u as Ve } from "./useNestedProp-9QKvGow8.js";
12
12
  import { _ as xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const ne = (M) => (Ke("data-v-8ee0a3c3"), M = M(), Qe(), M), _t = ["id"], kt = ["xmlns", "viewBox"], $t = ["id", "fr"], Lt = /* @__PURE__ */ ne(() => /* @__PURE__ */ b("stop", {
13
+ const re = (M) => (je("data-v-e6e70e76"), M = M(), et(), M), $t = ["id"], Lt = ["xmlns", "viewBox"], Ct = ["id"], Ft = /* @__PURE__ */ re(() => /* @__PURE__ */ p("stop", {
14
14
  offset: "0%",
15
15
  "stop-color": "#FFFFFF",
16
16
  "stop-opacity": "0"
17
- }, null, -1)), Ct = ["offset", "stop-opacity"], St = /* @__PURE__ */ ne(() => /* @__PURE__ */ b("stop", {
17
+ }, null, -1)), St = ["offset", "stop-color"], Nt = ["offset", "stop-opacity"], Tt = /* @__PURE__ */ re(() => /* @__PURE__ */ p("stop", {
18
18
  offset: "100%",
19
19
  "stop-color": "#FFFFFF",
20
20
  "stop-opacity": "0"
21
- }, null, -1)), Nt = ["id"], Tt = ["id"], Ft = /* @__PURE__ */ ne(() => /* @__PURE__ */ b("feColorMatrix", {
21
+ }, null, -1)), It = ["id"], Dt = ["id"], zt = /* @__PURE__ */ re(() => /* @__PURE__ */ p("feColorMatrix", {
22
22
  type: "saturate",
23
23
  values: "0"
24
- }, null, -1)), It = ["id"], Dt = ["flood-color"], zt = ["cx", "cy", "r", "fill", "filter"], Ot = ["d", "fill", "stroke", "stroke-width", "filter"], Pt = { key: 0 }, At = ["d", "fill"], Vt = { key: 1 }, Mt = ["x", "y", "font-size", "font-weight", "fill"], Bt = { key: 2 }, Ut = ["filter"], Gt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Rt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Et = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Yt = ["d", "fill", "onMouseenter", "onClick"], Xt = {
24
+ }, null, -1)), Ot = ["id"], Pt = ["flood-color"], At = ["d", "fill", "stroke", "stroke-width", "filter"], Vt = { key: 0 }, Mt = ["d", "fill"], Bt = { key: 1 }, Ut = ["x", "y", "font-size", "font-weight", "fill"], Gt = { key: 2 }, Rt = ["filter"], Et = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Yt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Xt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Wt = ["d", "fill", "onMouseenter", "onClick"], Ht = {
25
25
  key: 3,
26
26
  class: "vue-data-ui-watermark"
27
- }, Wt = {
27
+ }, qt = {
28
28
  key: 0,
29
29
  class: "vue-ui-nested-donuts-legend-title"
30
- }, Ht = ["onClick"], qt = ["innerHTML"], Jt = {
30
+ }, Jt = ["onClick"], Kt = ["innerHTML"], Qt = {
31
31
  __name: "vue-ui-nested-donuts",
32
32
  props: {
33
33
  config: {
@@ -44,85 +44,85 @@ const ne = (M) => (Ke("data-v-8ee0a3c3"), M = M(), Qe(), M), _t = ["id"], kt = [
44
44
  }
45
45
  },
46
46
  emits: ["selectLegend", "selectDatapoint"],
47
- setup(M, { expose: Pe, emit: re }) {
48
- const I = M, { vue_ui_nested_donuts: Ae } = Ze(), E = k(() => !!I.dataset && I.dataset.length), g = d(je()), Z = d(!1), j = d(""), Ve = d(null), ie = d(0), B = d(null), de = d(null), ee = d(null), ce = d(0), ve = d(0), he = d(0), U = d(!1);
49
- function Me(t) {
50
- U.value = t, ie.value += 1;
47
+ setup(M, { expose: Me, emit: ie }) {
48
+ const I = M, { vue_ui_nested_donuts: Be } = tt(), R = g(() => !!I.dataset && I.dataset.length), w = d(lt()), Z = d(!1), j = d(""), Ue = d(null), de = d(0), B = d(null), ce = d(null), ee = d(null), ve = d(0), fe = d(0), he = d(0), U = d(!1);
49
+ function Ge(t) {
50
+ U.value = t, de.value += 1;
51
51
  }
52
- const e = k({
53
- get: () => fe(),
52
+ const e = g({
53
+ get: () => ye(),
54
54
  set: (t) => t
55
55
  });
56
- function fe() {
57
- const t = Oe({
56
+ function ye() {
57
+ const t = Ve({
58
58
  userConfig: I.config,
59
- defaultConfig: Ae
59
+ defaultConfig: Be
60
60
  });
61
61
  return t.theme ? {
62
- ...Oe({
63
- userConfig: et.vue_ui_nested_donuts[t.theme] || I.config,
62
+ ...Ve({
63
+ userConfig: at.vue_ui_nested_donuts[t.theme] || I.config,
64
64
  defaultConfig: t
65
65
  }),
66
- customPalette: tt[t.theme] || Q
66
+ customPalette: ot[t.theme] || Q
67
67
  } : t;
68
68
  }
69
- Fe(() => I.config, (t) => {
70
- e.value = fe(), ye(), ce.value += 1, ve.value += 1, he.value += 1;
69
+ De(() => I.config, (t) => {
70
+ e.value = ye(), pe(), ve.value += 1, fe.value += 1, he.value += 1;
71
71
  }, { deep: !0 });
72
- const Y = d(null);
73
- Xe(() => {
74
- ye();
72
+ const E = d(null);
73
+ qe(() => {
74
+ pe();
75
75
  });
76
- function ye() {
77
- if (lt(I.dataset) && A({
76
+ function pe() {
77
+ if (st(I.dataset) && A({
78
78
  componentName: "VueUiNestedDonuts",
79
79
  type: "dataset"
80
80
  }), e.value.responsive) {
81
- const t = ct(() => {
82
- const { width: u, height: a } = vt({
81
+ const t = ft(() => {
82
+ const { width: s, height: a } = ht({
83
83
  chart: B.value,
84
- title: e.value.style.chart.title.text ? de.value : null,
84
+ title: e.value.style.chart.title.text ? ce.value : null,
85
85
  legend: e.value.style.chart.legend.show ? ee.value : null
86
86
  });
87
- v.value.width = u, v.value.height = a;
87
+ f.value.width = s, f.value.height = a;
88
88
  });
89
- Y.value = new ResizeObserver(t), Y.value.observe(B.value.parentNode);
89
+ E.value = new ResizeObserver(t), E.value.observe(B.value.parentNode);
90
90
  }
91
91
  }
92
- We(() => {
93
- Y.value && Y.value.disconnect();
92
+ Je(() => {
93
+ E.value && E.value.disconnect();
94
94
  });
95
- const { isPrinting: pe, isImaging: be, generatePdf: ge, generateImage: me } = ft({
96
- elementId: `nested_donuts_${g.value}`,
95
+ const { isPrinting: be, isImaging: ge, generatePdf: me, generateImage: we } = pt({
96
+ elementId: `nested_donuts_${w.value}`,
97
97
  fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts"
98
- }), Be = k(() => at(e.value.customPalette)), x = d({
98
+ }), Re = g(() => ut(e.value.customPalette)), k = d({
99
99
  dataLabels: {
100
100
  show: e.value.style.chart.layout.labels.dataLabels.show
101
101
  },
102
102
  showTable: e.value.table.show,
103
103
  showTooltip: e.value.style.chart.tooltip.show
104
- }), v = d({
104
+ }), f = d({
105
105
  height: 512,
106
106
  width: 512
107
107
  });
108
- function Ue({ datapoint: t, index: u }) {
109
- re("selectDatapoint", { datapoint: t, index: u });
108
+ function Ee({ datapoint: t, index: s }) {
109
+ ie("selectDatapoint", { datapoint: t, index: s });
110
110
  }
111
- const f = d([]), S = k(() => (I.dataset.forEach((t, u) => {
111
+ const h = d([]), C = g(() => (I.dataset.forEach((t, s) => {
112
112
  [null, void 0].includes(t.name) && A({
113
113
  componentName: "VueUiNestedDonuts",
114
114
  type: "datasetSerieAttribute",
115
115
  property: "name",
116
- index: u
116
+ index: s
117
117
  }), [null, void 0].includes(t.series) ? A({
118
118
  componentName: "VueUiNestedDonuts",
119
119
  type: "datasetSerieAttribute",
120
120
  property: "series",
121
- index: u
121
+ index: s
122
122
  }) : t.series.length === 0 ? A({
123
123
  componentName: "VueUiNestedDonuts",
124
124
  type: "datasetAttributeEmpty",
125
- property: `series at index ${u}`
125
+ property: `series at index ${s}`
126
126
  }) : t.series.forEach((a, o) => {
127
127
  [null, void 0].includes(a.name) && A({
128
128
  componentName: "VueUiNestedDonuts",
@@ -138,162 +138,162 @@ const ne = (M) => (Ke("data-v-8ee0a3c3"), M = M(), Qe(), M), _t = ["id"], kt = [
138
138
  key: "serie"
139
139
  });
140
140
  });
141
- }), I.dataset.map((t, u) => ({
141
+ }), I.dataset.map((t, s) => ({
142
142
  ...t,
143
- total: t.series.filter((a) => !f.value.includes(a.id)).map((a) => Ie(a.values).reduce((o, l) => o + l, 0)).reduce((a, o) => a + o, 0),
144
- datasetIndex: u,
145
- id: `${g.value}_${u}`,
143
+ total: t.series.filter((a) => !h.value.includes(a.id)).map((a) => ze(a.values).reduce((o, l) => o + l, 0)).reduce((a, o) => a + o, 0),
144
+ datasetIndex: s,
145
+ id: `${w.value}_${s}`,
146
146
  series: t.series.map((a, o) => ({
147
147
  name: a.name,
148
148
  arcOf: t.name,
149
- arcOfId: `${g.value}_${u}`,
150
- id: `${g.value}_${u}_${o}`,
149
+ arcOfId: `${w.value}_${s}`,
150
+ id: `${w.value}_${s}_${o}`,
151
151
  seriesIndex: o,
152
- datasetIndex: u,
153
- color: ot(a.color) || Be.value[o] || Q[o] || Q[o % Q.length],
154
- value: Ie(a.values).reduce((l, i) => l + i, 0),
152
+ datasetIndex: s,
153
+ color: nt(a.color) || Re.value[o] || Q[o] || Q[o % Q.length],
154
+ value: ze(a.values).reduce((l, i) => l + i, 0),
155
155
  absoluteValues: a.values || []
156
156
  }))
157
- })))), N = k(() => Math.min(v.value.height, v.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), we = k(() => [...S.value].map((t, u) => {
158
- const a = t.series.filter((o) => !f.value.includes(o.id)).map((o) => o.value).reduce((o, l) => o + l, 0);
157
+ })))), F = g(() => Math.min(f.value.height, f.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), ke = g(() => [...C.value].map((t, s) => {
158
+ const a = t.series.filter((o) => !h.value.includes(o.id)).map((o) => o.value).reduce((o, l) => o + l, 0);
159
159
  return {
160
160
  ...t,
161
161
  total: a,
162
- series: t.series.filter((o) => !f.value.includes(o.id)).map((o) => ({
162
+ series: t.series.filter((o) => !h.value.includes(o.id)).map((o) => ({
163
163
  ...o,
164
164
  proportion: o.value / a
165
165
  }))
166
166
  };
167
167
  }));
168
- function Ge(t, u, a) {
168
+ function Ye(t, s, a) {
169
169
  let o = 0;
170
170
  for (let l = 0; l < t.length; l += 1)
171
171
  a.includes(t[l]) && (o += 1);
172
- return o < u;
172
+ return o < s;
173
173
  }
174
- const h = d(we.value);
175
- Fe(() => we.value, (t) => h.value = t);
176
- const xe = d(null), _e = d(null);
174
+ const v = d(ke.value);
175
+ De(() => ke.value, (t) => v.value = t);
176
+ const _e = d(null), xe = d(null);
177
177
  function te(t) {
178
- re("selectLegend", t);
179
- const u = S.value.flatMap((c) => c.series).find((c) => c.id === t.id), a = h.value.flatMap((c) => c.series).find((c) => c.id === t.id);
178
+ ie("selectLegend", t);
179
+ const s = C.value.flatMap((c) => c.series).find((c) => c.id === t.id), a = v.value.flatMap((c) => c.series).find((c) => c.id === t.id);
180
180
  let l = a ? a.value : 0;
181
- const i = S.value.find((c) => c.id === u.arcOfId).series.map((c) => c.id), p = Ge(i, i.length - 1, f.value);
182
- if (f.value.includes(t.id)) {
181
+ const i = C.value.find((c) => c.id === s.arcOfId).series.map((c) => c.id), b = Ye(i, i.length - 1, h.value);
182
+ if (h.value.includes(t.id)) {
183
183
  let c = function() {
184
- l > u.value ? (cancelAnimationFrame(xe.value), h.value = h.value.map((_) => ({
184
+ l > s.value ? (cancelAnimationFrame(_e.value), v.value = v.value.map((_) => ({
185
185
  ..._,
186
- series: _.series.map((T) => T.id == t.id ? {
187
- ...T,
188
- value: u.value
189
- } : T)
190
- }))) : (l += u.value * 0.025, h.value = h.value.map((_) => ({
186
+ series: _.series.map((N) => N.id == t.id ? {
187
+ ...N,
188
+ value: s.value
189
+ } : N)
190
+ }))) : (l += s.value * 0.025, v.value = v.value.map((_) => ({
191
191
  ..._,
192
- series: _.series.map((T) => T.id === t.id ? {
193
- ...T,
192
+ series: _.series.map((N) => N.id === t.id ? {
193
+ ...N,
194
194
  value: l
195
- } : T)
196
- })), xe.value = requestAnimationFrame(c));
195
+ } : N)
196
+ })), _e.value = requestAnimationFrame(c));
197
197
  };
198
- f.value = f.value.filter((_) => _ !== t.id), c();
199
- } else if (p) {
198
+ h.value = h.value.filter((_) => _ !== t.id), c();
199
+ } else if (b) {
200
200
  let c = function() {
201
- l < 0.1 ? (cancelAnimationFrame(_e.value), f.value.push(t.id), h.value = h.value.map((_, T) => ({
201
+ l < 0.1 ? (cancelAnimationFrame(xe.value), h.value.push(t.id), v.value = v.value.map((_, N) => ({
202
202
  ..._,
203
203
  series: _.series.map((z) => z.id === t.id ? {
204
204
  ...z,
205
205
  value: 0
206
206
  } : z)
207
- }))) : (l /= 1.1, h.value = h.value.map((_, T) => ({
207
+ }))) : (l /= 1.1, v.value = v.value.map((_, N) => ({
208
208
  ..._,
209
209
  series: _.series.map((z) => z.id === t.id ? {
210
210
  ...z,
211
211
  value: l
212
212
  } : z)
213
- })), _e.value = requestAnimationFrame(c));
213
+ })), xe.value = requestAnimationFrame(c));
214
214
  };
215
215
  c();
216
216
  }
217
217
  }
218
- const G = k(() => h.value.map((t, u) => {
219
- const a = u * N.value / S.value.length;
218
+ const le = g(() => F.value / C.value.length * e.value.style.chart.layout.donut.spacingRatio), $e = g(() => v.value.map((t, s) => F.value - s * F.value / C.value.length)), Y = g(() => v.value.map((t, s) => {
219
+ const a = s * F.value / C.value.length;
220
220
  return {
221
221
  ...t,
222
- radius: N.value - a,
223
- donut: De(
222
+ radius: F.value - a,
223
+ donut: Oe(
224
224
  { series: t.series },
225
- v.value.width / 2,
226
- v.value.height / 2,
227
- N.value - a,
228
- N.value - a,
225
+ f.value.width / 2,
226
+ f.value.height / 2,
227
+ F.value - a,
228
+ F.value - a,
229
229
  1.99999,
230
230
  2,
231
231
  1,
232
232
  360,
233
233
  105.25,
234
- N.value / S.value.length * e.value.style.chart.layout.donut.spacingRatio
234
+ le.value
235
235
  )
236
236
  };
237
- })), ke = k(() => [...S.value].map((t, u) => {
238
- const a = u * N.value / S.value.length;
237
+ })), Le = g(() => [...C.value].map((t, s) => {
238
+ const a = s * F.value / C.value.length;
239
239
  return {
240
240
  sizeRatio: a,
241
- donut: De(
241
+ donut: Oe(
242
242
  { series: [{ value: 1 }] },
243
- v.value.width / 2,
244
- v.value.height / 2,
245
- N.value - a,
246
- N.value - a,
243
+ f.value.width / 2,
244
+ f.value.height / 2,
245
+ F.value - a,
246
+ F.value - a,
247
247
  1.99999,
248
248
  2,
249
249
  1,
250
250
  360,
251
251
  105.25,
252
- N.value / S.value.length * e.value.style.chart.layout.donut.spacingRatio
252
+ F.value / C.value.length * e.value.style.chart.layout.donut.spacingRatio
253
253
  )[0]
254
254
  };
255
- })), $e = d(null), X = d(null), W = d(null), le = d(null);
256
- function Re({ datapoint: t, _relativeIndex: u, seriesIndex: a }) {
257
- $e.value = t.arcOfId, X.value = t.id, W.value = a, le.value = {
255
+ })), Ce = d(null), X = d(null), W = d(null), ae = d(null);
256
+ function Xe({ datapoint: t, _relativeIndex: s, seriesIndex: a }) {
257
+ Ce.value = t.arcOfId, X.value = t.id, W.value = a, ae.value = {
258
258
  datapoint: t,
259
259
  seriesIndex: a,
260
- series: h.value,
260
+ series: v.value,
261
261
  config: e.value
262
262
  };
263
263
  const o = e.value.style.chart.tooltip.customFormat;
264
- if (ze(o) && rt(() => o({
264
+ if (Ae(o) && dt(() => o({
265
265
  seriesIndex: a,
266
266
  datapoint: t,
267
- series: h.value,
267
+ series: v.value,
268
268
  config: e.value
269
269
  })))
270
270
  j.value = o({
271
271
  seriesIndex: a,
272
272
  datapoint: t,
273
- series: h.value,
273
+ series: v.value,
274
274
  config: e.value
275
275
  });
276
276
  else {
277
277
  let l = "";
278
- if (e.value.style.chart.tooltip.showAllItemsAtIndex && f.value.length === 0) {
279
- const i = h.value.map((p) => p.series.find((c) => c.seriesIndex === a));
280
- i.forEach((p, c) => {
281
- if (!p) return "";
278
+ if (e.value.style.chart.tooltip.showAllItemsAtIndex && h.value.length === 0) {
279
+ const i = v.value.map((b) => b.series.find((c) => c.seriesIndex === a));
280
+ i.forEach((b, c) => {
281
+ if (!b) return "";
282
282
  l += `
283
283
  <div style="display:flex; flex-direction: column; justify-content:flex-start; align-items:flex-start;padding:6px 0; ${c < i.length - 1 ? `border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor}` : ""}">
284
284
  <div style="display:flex; flex-direction: row; gap: 3px; justify-content:flex-start; align-items:center;">
285
285
  <svg viewBox="0 0 20 20" height="${e.value.style.chart.tooltip.fontSize}" width="${e.value.style.chart.tooltip.fontSize}">
286
- <circle cx="10" cy="10" r="10" fill="${p.color}"/>
286
+ <circle cx="10" cy="10" r="10" fill="${b.color}"/>
287
287
  </svg>
288
288
  <span>
289
- ${p.arcOf ?? ""} - ${p.name}
289
+ ${b.arcOf ?? ""} - ${b.name}
290
290
  </span>
291
291
  </div>
292
292
  <span>
293
- ${e.value.style.chart.tooltip.showValue ? `<b>${R(
293
+ ${e.value.style.chart.tooltip.showValue ? `<b>${G(
294
294
  e.value.style.chart.layout.labels.dataLabels.formatter,
295
295
  t.value,
296
- C({
296
+ L({
297
297
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
298
298
  v: t.value,
299
299
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -302,8 +302,8 @@ const ne = (M) => (Ke("data-v-8ee0a3c3"), M = M(), Qe(), M), _t = ["id"], kt = [
302
302
  { datapoint: t, seriesIndex: a }
303
303
  )}
304
304
  </b>` : ""}
305
- ${e.value.style.chart.tooltip.showPercentage ? `(${C({
306
- v: p.proportion * 100,
305
+ ${e.value.style.chart.tooltip.showPercentage ? `(${L({
306
+ v: b.proportion * 100,
307
307
  s: "%",
308
308
  r: e.value.style.chart.tooltip.roundingPercentage
309
309
  })})` : ""}
@@ -312,21 +312,21 @@ const ne = (M) => (Ke("data-v-8ee0a3c3"), M = M(), Qe(), M), _t = ["id"], kt = [
312
312
  `;
313
313
  });
314
314
  } else
315
- l += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.arcOf ?? ""} - ${t.name}</div>`, l += `<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="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (l += `<b>${R(
315
+ l += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.arcOf ?? ""} - ${t.name}</div>`, l += `<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="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (l += `<b>${G(
316
316
  e.value.style.chart.layout.labels.dataLabels.formatter,
317
317
  t.value,
318
- C({
318
+ L({
319
319
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
320
320
  v: t.value,
321
321
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
322
322
  r: e.value.style.chart.tooltip.roundingValue
323
323
  }),
324
324
  { datapoint: t, seriesIndex: a }
325
- )}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? l += `<span>(${C({
325
+ )}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? l += `<span>(${L({
326
326
  v: t.proportion * 100,
327
327
  s: "%",
328
328
  r: e.value.style.chart.tooltip.roundingPercentage
329
- })})</span></div>` : l += `<b>${C({
329
+ })})</span></div>` : l += `<b>${L({
330
330
  v: t.proportion * 100,
331
331
  s: "%",
332
332
  r: e.value.style.chart.tooltip.roundingPercentage
@@ -335,18 +335,18 @@ const ne = (M) => (Ke("data-v-8ee0a3c3"), M = M(), Qe(), M), _t = ["id"], kt = [
335
335
  }
336
336
  Z.value = !0;
337
337
  }
338
- function ae(t) {
338
+ function oe(t) {
339
339
  return t.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
340
340
  }
341
- function Le(t, u) {
341
+ function Fe(t, s) {
342
342
  if (!e.value.useBlurOnHover)
343
343
  return "";
344
- if (e.value.style.chart.tooltip.showAllItemsAtIndex && f.value.length === 0)
345
- return [null, void 0].includes(W.value) || W.value === u ? "" : `url(#blur_${g.value})`;
346
- if (!e.value.style.chart.tooltip.showAllItemsAtIndex || f.value.length)
347
- return [null, void 0].includes(X.value) || X.value === t.id ? "" : `url(#blur_${g.value})`;
344
+ if (e.value.style.chart.tooltip.showAllItemsAtIndex && h.value.length === 0)
345
+ return [null, void 0].includes(W.value) || W.value === s ? "" : `url(#blur_${w.value})`;
346
+ if (!e.value.style.chart.tooltip.showAllItemsAtIndex || h.value.length)
347
+ return [null, void 0].includes(X.value) || X.value === t.id ? "" : `url(#blur_${w.value})`;
348
348
  }
349
- const oe = k(() => S.value.map((t, u) => t.series.map((a, o) => ({
349
+ const se = g(() => C.value.map((t, s) => t.series.map((a, o) => ({
350
350
  name: a.name,
351
351
  color: a.color,
352
352
  value: a.value,
@@ -354,50 +354,50 @@ const ne = (M) => (Ke("data-v-8ee0a3c3"), M = M(), Qe(), M), _t = ["id"], kt = [
354
354
  arcOf: a.arcOf,
355
355
  id: a.id,
356
356
  seriesIndex: o,
357
- datasetIndex: u,
358
- total: t.series.filter((l) => !f.value.includes(l.id)).map((l) => l.value).reduce((l, i) => l + i, 0)
357
+ datasetIndex: s,
358
+ total: t.series.filter((l) => !h.value.includes(l.id)).map((l) => l.value).reduce((l, i) => l + i, 0)
359
359
  })).map((a) => ({
360
360
  ...a,
361
- opacity: f.value.includes(a.id) ? 0.5 : 1,
361
+ opacity: h.value.includes(a.id) ? 0.5 : 1,
362
362
  segregate: () => te(a),
363
- isSegregated: f.value.includes(a.id)
364
- })))), Ee = k(() => ({
363
+ isSegregated: h.value.includes(a.id)
364
+ })))), We = g(() => ({
365
365
  cy: "nested-donuts-legend",
366
366
  backgroundColor: e.value.style.chart.legend.backgroundColor,
367
367
  color: e.value.style.chart.legend.color,
368
368
  fontSize: e.value.style.chart.legend.fontSize,
369
369
  paddingBottom: 12,
370
370
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
371
- })), D = k(() => {
372
- const t = h.value.flatMap((a) => a.series.map((o) => ({
371
+ })), D = g(() => {
372
+ const t = v.value.flatMap((a) => a.series.map((o) => ({
373
373
  name: `${a.name} - ${o.name}`,
374
374
  color: o.color,
375
375
  total: a.total
376
- }))), u = h.value.flatMap((a) => a.series.map((o) => o.value));
377
- return { head: t, body: u };
376
+ }))), s = v.value.flatMap((a) => a.series.map((o) => o.value));
377
+ return { head: t, body: s };
378
378
  });
379
- function Ce() {
380
- Je(() => {
379
+ function Se() {
380
+ Ze(() => {
381
381
  const t = D.value.head.map((o, l) => [[
382
382
  o.name
383
- ], [D.value.body[l]], [isNaN(D.value.body[l] / o.total) ? "-" : D.value.body[l] / o.total * 100]]), u = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), a = it(u);
384
- dt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-nested-donuts" });
383
+ ], [D.value.body[l]], [isNaN(D.value.body[l] / o.total) ? "-" : D.value.body[l] / o.total * 100]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), a = ct(s);
384
+ vt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-nested-donuts" });
385
385
  });
386
386
  }
387
- const H = k(() => {
387
+ const H = g(() => {
388
388
  const t = [
389
389
  e.value.table.columnNames.series,
390
390
  e.value.table.columnNames.value,
391
391
  e.value.table.columnNames.percentage
392
- ], u = D.value.head.map((l, i) => {
393
- const p = C({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: D.value.body[i], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
392
+ ], s = D.value.head.map((l, i) => {
393
+ const b = L({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: D.value.body[i], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
394
394
  return [
395
395
  {
396
396
  color: l.color,
397
397
  name: l.name
398
398
  },
399
- p,
400
- isNaN(D.value.body[i] / l.total) ? "-" : C({
399
+ b,
400
+ isNaN(D.value.body[i] / l.total) ? "-" : L({
401
401
  v: D.value.body[i] / l.total * 100,
402
402
  s: "%",
403
403
  r: e.value.table.td.roundingPercentage
@@ -423,44 +423,44 @@ const ne = (M) => (Ke("data-v-8ee0a3c3"), M = M(), Qe(), M), _t = ["id"], kt = [
423
423
  e.value.table.columnNames.percentage
424
424
  ],
425
425
  head: t,
426
- body: u,
426
+ body: s,
427
427
  config: a
428
428
  };
429
429
  });
430
- function Ye() {
431
- return S.value;
432
- }
433
- function Se() {
434
- x.value.showTable = !x.value.showTable;
430
+ function He() {
431
+ return C.value;
435
432
  }
436
433
  function Ne() {
437
- x.value.dataLabels.show = !x.value.dataLabels.show;
434
+ k.value.showTable = !k.value.showTable;
438
435
  }
439
436
  function Te() {
440
- x.value.showTooltip = !x.value.showTooltip;
437
+ k.value.dataLabels.show = !k.value.dataLabels.show;
441
438
  }
442
- return Pe({
443
- getData: Ye,
444
- generatePdf: ge,
445
- generateCsv: Ce,
446
- generateImage: me,
447
- toggleTable: Se,
448
- toggleLabels: Ne,
449
- toggleTooltip: Te
450
- }), (t, u) => (s(), n("div", {
439
+ function Ie() {
440
+ k.value.showTooltip = !k.value.showTooltip;
441
+ }
442
+ return Me({
443
+ getData: He,
444
+ generatePdf: me,
445
+ generateCsv: Se,
446
+ generateImage: we,
447
+ toggleTable: Ne,
448
+ toggleLabels: Te,
449
+ toggleTooltip: Ie
450
+ }), (t, s) => (u(), n("div", {
451
451
  ref_key: "nestedDonutsChart",
452
452
  ref: B,
453
453
  class: O(`vue-ui-nested-donuts ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
454
- style: se(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${!e.value.style.chart.title.text && e.value.userOptions.show ? "padding-top:36px" : ""};background:${e.value.style.chart.backgroundColor}`),
455
- id: `nested_donuts_${g.value}`
454
+ style: ue(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${!e.value.style.chart.title.text && e.value.userOptions.show ? "padding-top:36px" : ""};background:${e.value.style.chart.backgroundColor}`),
455
+ id: `nested_donuts_${w.value}`
456
456
  }, [
457
- e.value.style.chart.title.text ? (s(), n("div", {
457
+ e.value.style.chart.title.text ? (u(), n("div", {
458
458
  key: 0,
459
459
  ref_key: "chartTitle",
460
- ref: de
460
+ ref: ce
461
461
  }, [
462
- (s(), P(ht, {
463
- key: `title_${ce.value}`,
462
+ (u(), P(yt, {
463
+ key: `title_${ve.value}`,
464
464
  config: {
465
465
  title: {
466
466
  cy: "donut-div-title",
@@ -473,14 +473,14 @@ const ne = (M) => (Ke("data-v-8ee0a3c3"), M = M(), Qe(), M), _t = ["id"], kt = [
473
473
  }
474
474
  }, null, 8, ["config"]))
475
475
  ], 512)) : y("", !0),
476
- e.value.userOptions.show && E.value ? (s(), P(yt, {
476
+ e.value.userOptions.show && R.value ? (u(), P(bt, {
477
477
  ref: "details",
478
- key: `user_option_${ie.value}`,
478
+ key: `user_option_${de.value}`,
479
479
  backgroundColor: e.value.style.chart.backgroundColor,
480
480
  color: e.value.style.chart.color,
481
- isPrinting: r(pe),
482
- isImaging: r(be),
483
- uid: g.value,
481
+ isPrinting: r(be),
482
+ isImaging: r(ge),
483
+ uid: w.value,
484
484
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
485
485
  hasPdf: e.value.userOptions.buttons.pdf,
486
486
  hasXls: e.value.userOptions.buttons.csv,
@@ -489,17 +489,17 @@ const ne = (M) => (Ke("data-v-8ee0a3c3"), M = M(), Qe(), M), _t = ["id"], kt = [
489
489
  hasLabel: e.value.userOptions.buttons.labels,
490
490
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
491
491
  isFullscreen: U.value,
492
- isTooltip: x.value.showTooltip,
492
+ isTooltip: k.value.showTooltip,
493
493
  titles: { ...e.value.userOptions.buttonTitles },
494
494
  chartElement: B.value,
495
- onToggleFullscreen: Me,
496
- onGeneratePdf: r(ge),
497
- onGenerateCsv: Ce,
498
- onGenerateImage: r(me),
499
- onToggleTable: Se,
500
- onToggleLabels: Ne,
501
- onToggleTooltip: Te
502
- }, He({ _: 2 }, [
495
+ onToggleFullscreen: Ge,
496
+ onGeneratePdf: r(me),
497
+ onGenerateCsv: Se,
498
+ onGenerateImage: r(we),
499
+ onToggleTable: Ne,
500
+ onToggleLabels: Te,
501
+ onToggleTooltip: Ie
502
+ }, Ke({ _: 2 }, [
503
503
  t.$slots.optionTooltip ? {
504
504
  name: "optionTooltip",
505
505
  fn: m(() => [
@@ -550,185 +550,179 @@ const ne = (M) => (Ke("data-v-8ee0a3c3"), M = M(), Qe(), M), _t = ["id"], kt = [
550
550
  key: "6"
551
551
  } : void 0
552
552
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
553
- E.value ? (s(), n("svg", {
553
+ R.value ? (u(), n("svg", {
554
554
  key: 2,
555
- xmlns: r(st),
555
+ xmlns: r(rt),
556
556
  class: O({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
557
- viewBox: `0 0 ${v.value.width <= 0 ? 1e-3 : v.value.width} ${v.value.height < 0 ? 1e-3 : v.value.height}`,
558
- style: se(`max-width:100%; overflow: visible; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
557
+ viewBox: `0 0 ${f.value.width <= 0 ? 1e-3 : f.value.width} ${f.value.height < 0 ? 1e-3 : f.value.height}`,
558
+ style: ue(`max-width:100%; overflow: visible; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
559
559
  }, [
560
- b("defs", null, [
561
- (s(!0), n(w, null, L(ke.value, (a, o) => (s(), n("radialGradient", {
562
- id: `radial_${g.value}_${o}`,
563
- cx: "50%",
564
- cy: "50%",
565
- r: "50%",
566
- fr: 30 - 1 * (o + 1) + "%"
560
+ p("defs", null, [
561
+ (u(!0), n(x, null, S(Le.value, (a, o) => (u(), n("radialGradient", {
562
+ id: `radial_${w.value}_${o}`
567
563
  }, [
568
- Lt,
569
- b("stop", {
570
- offset: 70 - 20 * o + "%",
564
+ Ft,
565
+ p("stop", {
566
+ offset: `${(1 - le.value / $e.value[o]) * 100}%`,
567
+ "stop-color": r(Pe)("#FFFFFF", 0),
568
+ "stop-opacity": "0"
569
+ }, null, 8, St),
570
+ p("stop", {
571
+ offset: `${(1 - le.value / $e.value[o] / 2) * 100}%`,
571
572
  "stop-color": "#FFFFFF",
572
573
  "stop-opacity": e.value.style.chart.gradientIntensity / 100
573
- }, null, 8, Ct),
574
- St
575
- ], 8, $t))), 256))
574
+ }, null, 8, Nt),
575
+ Tt
576
+ ], 8, Ct))), 256))
576
577
  ]),
577
- b("defs", null, [
578
- b("filter", {
579
- id: `blur_${g.value}`,
578
+ p("defs", null, [
579
+ p("filter", {
580
+ id: `blur_${w.value}`,
580
581
  x: "-50%",
581
582
  y: "-50%",
582
583
  width: "200%",
583
584
  height: "200%"
584
585
  }, [
585
- b("feGaussianBlur", {
586
+ p("feGaussianBlur", {
586
587
  in: "SourceGraphic",
587
588
  stdDeviation: 2,
588
- id: `blur_std_${g.value}`
589
- }, null, 8, Tt),
590
- Ft
591
- ], 8, Nt),
592
- b("filter", {
593
- id: `shadow_${g.value}`,
589
+ id: `blur_std_${w.value}`
590
+ }, null, 8, Dt),
591
+ zt
592
+ ], 8, It),
593
+ p("filter", {
594
+ id: `shadow_${w.value}`,
594
595
  "color-interpolation-filters": "sRGB"
595
596
  }, [
596
- b("feDropShadow", {
597
+ p("feDropShadow", {
597
598
  dx: "0",
598
599
  dy: "0",
599
600
  stdDeviation: "10",
600
601
  "flood-opacity": "0.5",
601
602
  "flood-color": e.value.style.chart.layout.donut.shadowColor
602
- }, null, 8, Dt)
603
- ], 8, It)
603
+ }, null, 8, Pt)
604
+ ], 8, Ot)
604
605
  ]),
605
- (s(!0), n(w, null, L(G.value, (a) => (s(), n("circle", {
606
- cx: v.value.width / 2,
607
- cy: v.value.height / 2,
608
- r: a.radius < 0 ? 1e-5 : a.radius,
609
- fill: e.value.style.chart.backgroundColor,
610
- filter: e.value.style.chart.layout.donut.useShadow ? `url(#shadow_${g.value})` : ""
611
- }, null, 8, zt))), 256)),
612
- (s(!0), n(w, null, L(G.value, (a, o) => (s(), n("g", null, [
613
- (s(!0), n(w, null, L(a.donut, (l, i) => (s(), n("g", null, [
614
- b("path", {
606
+ (u(!0), n(x, null, S(Y.value, (a, o) => (u(), n("g", null, [
607
+ (u(!0), n(x, null, S(a.donut, (l, i) => (u(), n("g", null, [
608
+ p("path", {
615
609
  class: "vue-ui-donut-arc-path",
616
610
  d: l.arcSlice,
617
- fill: r(ut)(l.color, 80),
611
+ fill: r(Pe)(l.color, 80),
618
612
  stroke: e.value.style.chart.backgroundColor,
619
613
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
620
- filter: Le(l, i)
621
- }, null, 8, Ot)
614
+ filter: Fe(l, i)
615
+ }, null, 8, At)
622
616
  ]))), 256))
623
617
  ]))), 256)),
624
- e.value.style.chart.useGradient ? (s(), n("g", Pt, [
625
- (s(!0), n(w, null, L(ke.value, (a, o) => (s(), n("g", null, [
626
- b("path", {
618
+ e.value.style.chart.useGradient ? (u(), n("g", Vt, [
619
+ (u(!0), n(x, null, S(Le.value, (a, o) => (u(), n("g", null, [
620
+ p("path", {
627
621
  d: a.donut.arcSlice,
628
- fill: `url(#radial_${g.value}_${o})`,
622
+ fill: `url(#radial_${w.value}_${o})`,
629
623
  stroke: "transparent",
630
624
  "stroke-width": "0"
631
- }, null, 8, At)
625
+ }, null, 8, Mt)
632
626
  ]))), 256))
633
627
  ])) : y("", !0),
634
- e.value.style.chart.layout.labels.dataLabels.showDonutName ? (s(), n("g", Vt, [
635
- (s(!0), n(w, null, L(G.value, (a, o) => (s(), n("g", null, [
636
- (s(!0), n(w, null, L(a.donut, (l, i) => (s(), n("g", null, [
637
- i === 0 && v.value.width && v.value.height ? (s(), n("text", {
628
+ e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), n("g", Bt, [
629
+ (u(!0), n(x, null, S(Y.value, (a, o) => (u(), n("g", null, [
630
+ (u(!0), n(x, null, S(a.donut, (l, i) => (u(), n("g", null, [
631
+ i === 0 && f.value.width && f.value.height ? (u(), n("text", {
638
632
  key: 0,
639
633
  class: O({ animated: e.value.useCssAnimation }),
640
- x: v.value.width / 2,
634
+ x: f.value.width / 2,
641
635
  y: l.startY - e.value.style.chart.layout.labels.dataLabels.fontSize + e.value.style.chart.layout.labels.dataLabels.donutNameOffsetY,
642
636
  "text-anchor": "middle",
643
637
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
644
638
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
645
639
  fill: e.value.style.chart.layout.labels.dataLabels.color
646
- }, F(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(nt)({ source: a.name, length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize }) : a.name), 11, Mt)) : y("", !0)
640
+ }, T(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(it)({ source: a.name, length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize }) : a.name), 11, Ut)) : y("", !0)
647
641
  ]))), 256))
648
642
  ]))), 256))
649
643
  ])) : y("", !0),
650
- e.value.style.chart.layout.labels.dataLabels.show ? (s(), n("g", Bt, [
651
- (s(!0), n(w, null, L(G.value, (a, o) => (s(), n("g", null, [
652
- (s(!0), n(w, null, L(a.donut, (l, i) => (s(), n("g", {
653
- filter: Le(l, i)
644
+ e.value.style.chart.layout.labels.dataLabels.show ? (u(), n("g", Gt, [
645
+ (u(!0), n(x, null, S(Y.value, (a, o) => (u(), n("g", null, [
646
+ (u(!0), n(x, null, S(a.donut, (l, i) => (u(), n("g", {
647
+ filter: Fe(l, i)
654
648
  }, [
655
- ae(l) && x.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage ? (s(), n("text", {
649
+ oe(l) && k.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage ? (u(), n("text", {
656
650
  key: 0,
657
651
  class: O({ animated: e.value.useCssAnimation }),
658
652
  "text-anchor": r(V)(l, !0).anchor,
659
653
  x: r(V)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
660
- y: r(ue)(l, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
654
+ y: r(ne)(l, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
661
655
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
662
656
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
663
657
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
664
- }, F(r(C)({ v: l.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11, Gt)) : y("", !0),
665
- ae(l) && x.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (s(), n("text", {
658
+ }, T(r(L)({ v: l.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11, Et)) : y("", !0),
659
+ oe(l) && k.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
666
660
  key: 1,
667
661
  class: O({ animated: e.value.useCssAnimation }),
668
662
  "text-anchor": r(V)(l, !0).anchor,
669
663
  x: r(V)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
670
- y: r(ue)(l, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY) + e.value.style.chart.layout.labels.dataLabels.fontSize,
664
+ y: r(ne)(l, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY) + e.value.style.chart.layout.labels.dataLabels.fontSize,
671
665
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
672
666
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
673
667
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
674
- }, " (" + F(r(R)(
668
+ }, " (" + T(r(G)(
675
669
  e.value.style.chart.layout.labels.dataLabels.formatter,
676
670
  l.value,
677
- r(C)({
671
+ r(L)({
678
672
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
679
673
  v: l.value,
680
674
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
681
675
  r: e.value.style.chart.layout.labels.dataLabels.roundingValue
682
676
  }),
683
677
  { datapoint: l, seriesIndex: o, datapointIndex: i }
684
- )) + ") ", 11, Rt)) : y("", !0),
685
- ae(l) && x.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (s(), n("text", {
678
+ )) + ") ", 11, Yt)) : y("", !0),
679
+ oe(l) && k.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
686
680
  key: 2,
687
681
  class: O({ animated: e.value.useCssAnimation }),
688
682
  "text-anchor": r(V)(l, !0).anchor,
689
683
  x: r(V)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
690
- y: r(ue)(l, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
684
+ y: r(ne)(l, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
691
685
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
692
686
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
693
687
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
694
- }, F(r(R)(
688
+ }, T(r(G)(
695
689
  e.value.style.chart.layout.labels.dataLabels.formatter,
696
690
  l.value,
697
- r(C)({
691
+ r(L)({
698
692
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
699
693
  v: l.value,
700
694
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
701
695
  r: e.value.style.chart.layout.labels.dataLabels.roundingValue
702
696
  }),
703
697
  { datapoint: l, seriesIndex: o, datapointIndex: i }
704
- )), 11, Et)) : y("", !0)
705
- ], 8, Ut))), 256))
698
+ )), 11, Xt)) : y("", !0)
699
+ ], 8, Rt))), 256))
706
700
  ]))), 256))
707
701
  ])) : y("", !0),
708
- (s(!0), n(w, null, L(G.value, (a, o) => (s(), n("g", null, [
709
- (s(!0), n(w, null, L(a.donut, (l, i) => (s(), n("g", null, [
710
- b("path", {
702
+ (u(!0), n(x, null, S(Y.value, (a, o) => (u(), n("g", null, [
703
+ (u(!0), n(x, null, S(a.donut, (l, i) => (u(), n("g", null, [
704
+ p("path", {
711
705
  "data-cy-donut-trap": "",
712
706
  d: l.arcSlice,
713
- fill: Ve.value === o ? "rgba(0,0,0,0.1)" : "transparent",
714
- onMouseenter: (p) => Re({
707
+ fill: Ue.value === o ? "rgba(0,0,0,0.1)" : "transparent",
708
+ onMouseenter: (b) => Xe({
715
709
  datapoint: l,
716
710
  relativeIndex: o,
717
711
  seriesIndex: l.seriesIndex
718
712
  }),
719
- onClick: (p) => Ue({ datapoint: l, index: i }),
720
- onMouseleave: u[0] || (u[0] = (p) => {
721
- Z.value = !1, $e.value = null, X.value = null, W.value = null;
713
+ onClick: (b) => Ee({ datapoint: l, index: i }),
714
+ onMouseleave: s[0] || (s[0] = (b) => {
715
+ Z.value = !1, Ce.value = null, X.value = null, W.value = null;
722
716
  })
723
- }, null, 40, Yt)
717
+ }, null, 40, Wt)
724
718
  ]))), 256))
725
719
  ]))), 256)),
726
- $(t.$slots, "svg", { svg: v.value }, void 0, !0)
727
- ], 14, kt)) : y("", !0),
728
- t.$slots.watermark ? (s(), n("div", Xt, [
729
- $(t.$slots, "watermark", q(J({ isPrinting: r(pe) || r(be) })), void 0, !0)
720
+ $(t.$slots, "svg", { svg: f.value }, void 0, !0)
721
+ ], 14, Lt)) : y("", !0),
722
+ t.$slots.watermark ? (u(), n("div", Ht, [
723
+ $(t.$slots, "watermark", q(J({ isPrinting: r(be) || r(ge) })), void 0, !0)
730
724
  ])) : y("", !0),
731
- E.value ? y("", !0) : (s(), P(mt, {
725
+ R.value ? y("", !0) : (u(), P(kt, {
732
726
  key: 4,
733
727
  config: {
734
728
  type: "donut",
@@ -740,8 +734,8 @@ const ne = (M) => (Ke("data-v-8ee0a3c3"), M = M(), Qe(), M), _t = ["id"], kt = [
740
734
  }
741
735
  }
742
736
  }, null, 8, ["config"])),
743
- qe(bt, {
744
- show: x.value.showTooltip && Z.value,
737
+ Qe(mt, {
738
+ show: k.value.showTooltip && Z.value,
745
739
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
746
740
  color: e.value.style.chart.tooltip.color,
747
741
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -753,40 +747,40 @@ const ne = (M) => (Ke("data-v-8ee0a3c3"), M = M(), Qe(), M), _t = ["id"], kt = [
753
747
  offsetY: e.value.style.chart.tooltip.offsetY,
754
748
  parent: B.value,
755
749
  content: j.value,
756
- isCustom: r(ze)(e.value.style.chart.tooltip.customFormat)
750
+ isCustom: r(Ae)(e.value.style.chart.tooltip.customFormat)
757
751
  }, {
758
752
  "tooltip-before": m(() => [
759
- $(t.$slots, "tooltip-before", q(J({ ...le.value })), void 0, !0)
753
+ $(t.$slots, "tooltip-before", q(J({ ...ae.value })), void 0, !0)
760
754
  ]),
761
755
  "tooltip-after": m(() => [
762
- $(t.$slots, "tooltip-after", q(J({ ...le.value })), void 0, !0)
756
+ $(t.$slots, "tooltip-after", q(J({ ...ae.value })), void 0, !0)
763
757
  ]),
764
758
  _: 3
765
759
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
766
- e.value.style.chart.legend.show ? (s(), n("div", {
760
+ e.value.style.chart.legend.show ? (u(), n("div", {
767
761
  key: 5,
768
762
  ref_key: "chartLegend",
769
763
  ref: ee,
770
- class: O({ "vue-ui-nested-donuts-legend": oe.value.length > 1 })
764
+ class: O({ "vue-ui-nested-donuts-legend": se.value.length > 1 })
771
765
  }, [
772
- (s(!0), n(w, null, L(oe.value, (a, o) => (s(), P(gt, {
766
+ (u(!0), n(x, null, S(se.value, (a, o) => (u(), P(wt, {
773
767
  key: `legend_${o}_${he.value}`,
774
768
  legendSet: a,
775
- config: Ee.value,
776
- onClickMarker: u[1] || (u[1] = ({ legend: l }) => te(l))
769
+ config: We.value,
770
+ onClickMarker: s[1] || (s[1] = ({ legend: l }) => te(l))
777
771
  }, {
778
772
  legendTitle: m(({ titleSet: l }) => [
779
- l[0] && l[0].arcOf ? (s(), n("div", Wt, F(l[0].arcOf), 1)) : y("", !0)
773
+ l[0] && l[0].arcOf ? (u(), n("div", qt, T(l[0].arcOf), 1)) : y("", !0)
780
774
  ]),
781
775
  item: m(({ legend: l, index: i }) => [
782
- b("div", {
783
- onClick: (p) => te(l),
784
- style: se(`opacity:${f.value.includes(l.id) ? 0.5 : 1}`)
776
+ p("div", {
777
+ onClick: (b) => te(l),
778
+ style: ue(`opacity:${h.value.includes(l.id) ? 0.5 : 1}`)
785
779
  }, [
786
- K(F(l.name) + ": " + F(r(R)(
780
+ K(T(l.name) + ": " + T(r(G)(
787
781
  e.value.style.chart.layout.labels.dataLabels.formatter,
788
782
  l.value,
789
- r(C)({
783
+ r(L)({
790
784
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
791
785
  v: l.value,
792
786
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -794,28 +788,28 @@ const ne = (M) => (Ke("data-v-8ee0a3c3"), M = M(), Qe(), M), _t = ["id"], kt = [
794
788
  }),
795
789
  { datapoint: l, seriesIndex: i }
796
790
  )) + " ", 1),
797
- f.value.includes(l.id) ? (s(), n(w, { key: 1 }, [
791
+ h.value.includes(l.id) ? (u(), n(x, { key: 1 }, [
798
792
  K(" ( - % ) ")
799
- ], 64)) : (s(), n(w, { key: 0 }, [
800
- K(" (" + F(isNaN(l.value / l.total) ? "-" : r(C)({ v: l.value / l.total * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })) + ") ", 1)
793
+ ], 64)) : (u(), n(x, { key: 0 }, [
794
+ K(" (" + T(isNaN(l.value / l.total) ? "-" : r(L)({ v: l.value / l.total * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })) + ") ", 1)
801
795
  ], 64))
802
- ], 12, Ht)
796
+ ], 12, Jt)
803
797
  ]),
804
798
  _: 2
805
799
  }, 1032, ["legendSet", "config"]))), 128))
806
800
  ], 2)) : y("", !0),
807
- e.value.style.chart.legend.show ? y("", !0) : (s(), n("div", {
801
+ e.value.style.chart.legend.show ? y("", !0) : (u(), n("div", {
808
802
  key: 6,
809
803
  ref_key: "chartLegend",
810
804
  ref: ee
811
805
  }, [
812
- $(t.$slots, "legend", { legend: oe.value }, void 0, !0)
806
+ $(t.$slots, "legend", { legend: se.value }, void 0, !0)
813
807
  ], 512)),
814
- E.value ? (s(), P(wt, {
808
+ R.value ? (u(), P(_t, {
815
809
  key: 7,
816
810
  hideDetails: "",
817
811
  config: {
818
- open: x.value.showTable,
812
+ open: k.value.showTable,
819
813
  maxHeight: 1e4,
820
814
  body: {
821
815
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -828,32 +822,32 @@ const ne = (M) => (Ke("data-v-8ee0a3c3"), M = M(), Qe(), M), _t = ["id"], kt = [
828
822
  }
829
823
  }, {
830
824
  content: m(() => [
831
- (s(), P(pt, {
832
- key: `table_${ve.value}`,
825
+ (u(), P(gt, {
826
+ key: `table_${fe.value}`,
833
827
  colNames: H.value.colNames,
834
828
  head: H.value.head,
835
829
  body: H.value.body,
836
830
  config: H.value.config,
837
831
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
838
- onClose: u[2] || (u[2] = (a) => x.value.showTable = !1)
832
+ onClose: s[2] || (s[2] = (a) => k.value.showTable = !1)
839
833
  }, {
840
834
  th: m(({ th: a }) => [
841
- b("div", {
835
+ p("div", {
842
836
  innerHTML: a,
843
837
  style: { display: "flex", "align-items": "center" }
844
- }, null, 8, qt)
838
+ }, null, 8, Kt)
845
839
  ]),
846
840
  td: m(({ td: a }) => [
847
- K(F(a.name || a), 1)
841
+ K(T(a.name || a), 1)
848
842
  ]),
849
843
  _: 1
850
844
  }, 8, ["colNames", "head", "body", "config", "title"]))
851
845
  ]),
852
846
  _: 1
853
847
  }, 8, ["config"])) : y("", !0)
854
- ], 14, _t));
848
+ ], 14, $t));
855
849
  }
856
- }, rl = /* @__PURE__ */ xt(Jt, [["__scopeId", "data-v-8ee0a3c3"]]);
850
+ }, dl = /* @__PURE__ */ xt(Qt, [["__scopeId", "data-v-e6e70e76"]]);
857
851
  export {
858
- rl as default
852
+ dl as default
859
853
  };