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,19 +1,19 @@
1
- import { computed as b, ref as v, onMounted as Ye, onBeforeUnmount as He, watch as Ne, openBlock as s, createElementBlock as n, normalizeClass as ue, normalizeStyle as T, renderSlot as g, createBlock as V, createCommentVNode as d, unref as o, createSlots as We, withCtx as w, normalizeProps as Y, guardReactiveProps as H, createElementVNode as f, Fragment as M, renderList as W, toDisplayString as _, createTextVNode as Pe, createVNode as Xe, nextTick as qe, pushScopeId as Je, popScopeId as Ke } from "vue";
2
- import { u as Qe, o as Ze, e as Oe, g as el, c as ll, b as tl, d as Ae, p as D, m as al, f as C, X as ol, s as X, j as ul, F as sl, i as F, k as y, n as q, t as rl, a as nl, x as il, q as vl, r as cl } from "./index-DP8dqFNd.js";
1
+ import { computed as b, ref as v, onMounted as Ye, onBeforeUnmount as He, watch as Ne, openBlock as s, createElementBlock as n, normalizeClass as ue, normalizeStyle as F, renderSlot as g, createBlock as V, createCommentVNode as d, unref as o, createSlots as We, withCtx as w, normalizeProps as H, guardReactiveProps as W, createElementVNode as y, Fragment as M, renderList as X, toDisplayString as C, createTextVNode as Pe, createVNode as Xe, nextTick as qe, pushScopeId as Je, popScopeId as Ke } from "vue";
2
+ import { u as Qe, o as Ze, e as Oe, g as el, c as ll, b as tl, d as Ae, p as D, m as al, f as x, X as ol, s as q, j as ul, F as sl, i as T, k as f, n as J, t as rl, a as nl, x as il, q as vl, r as cl } from "./index-C_xZ1jJj.js";
3
3
  import { t as dl, u as hl } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as yl } from "./Title-Bx-VO3md.js";
5
- import { u as fl, U as pl } from "./usePrinter-DiuHo4LO.js";
6
- import { D as bl } from "./DataTable-y1lX5jVj.js";
7
- import { _ as gl } from "./Tooltip-Dk-cimhQ.js";
8
- import { L as ml } from "./Legend-BLXcdrri.js";
9
- import wl from "./vue-ui-skeleton-B30ZhUV7.js";
10
- import kl from "./vue-ui-accordion-Dl8zkZPk.js";
11
- import { u as De } from "./useNestedProp-B-oZxD4x.js";
4
+ import { _ as fl } from "./Title-Bgh58KWs.js";
5
+ import { u as yl, U as pl } from "./usePrinter-BJ7GxAOO.js";
6
+ import { D as bl } from "./DataTable-CThhaAYT.js";
7
+ import { _ as gl } from "./Tooltip-HqwVgkYT.js";
8
+ import { L as ml } from "./Legend-DxRA5XXC.js";
9
+ import wl from "./vue-ui-skeleton-C3UWXP3Q.js";
10
+ import kl from "./vue-ui-accordion-issoIPFd.js";
11
+ import { u as De } from "./useNestedProp-9QKvGow8.js";
12
12
  import { _ as _l } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = ["xmlns", "viewBox"], Sl = ["id"], Ll = ["stop-color"], Tl = ["stop-color"], Fl = ["stop-color"], zl = ["stop-color"], Nl = ["id"], Pl = ["id"], Ol = /* @__PURE__ */ Cl(() => /* @__PURE__ */ f("feColorMatrix", {
13
+ const Cl = (G) => (Je("data-v-036ff913"), G = G(), Ke(), G), xl = ["id"], $l = ["xmlns", "viewBox"], Sl = ["id"], Ll = ["stop-color"], Fl = ["offset", "stop-color"], Tl = ["offset", "stop-color"], zl = ["stop-color"], Nl = ["id"], Pl = ["id"], Ol = /* @__PURE__ */ Cl(() => /* @__PURE__ */ y("feColorMatrix", {
14
14
  type: "saturate",
15
15
  values: "0"
16
- }, null, -1)), Al = ["id"], Dl = ["flood-color"], Il = ["d", "stroke", "filter"], Bl = ["cx", "cy", "r", "fill", "filter"], Vl = ["stroke", "d"], Ml = ["d", "fill", "stroke", "stroke-width", "filter"], Gl = ["cx", "cy", "r", "fill", "stroke"], Ul = ["cx", "cy", "r", "fill"], El = ["d", "fill", "onMouseenter", "onClick"], jl = ["x", "y", "fill", "font-size"], Rl = ["x", "y", "fill", "font-size"], Yl = ["x", "y", "fill", "font-size"], Hl = ["x", "y", "fill", "font-size"], Wl = ["filter"], Xl = { key: 0 }, ql = ["x", "y"], Jl = { key: 1 }, Kl = ["cx", "cy", "fill", "filter", "onClick"], Ql = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Zl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], et = { key: 2 }, lt = ["x", "y", "width"], tt = {
16
+ }, null, -1)), Al = ["id"], Dl = ["flood-color"], Il = ["d", "stroke", "filter"], Bl = ["cx", "cy", "r", "fill", "filter"], Vl = ["stroke", "d"], Ml = ["d", "fill", "stroke", "stroke-width", "filter"], Gl = ["cx", "cy", "r", "fill", "stroke"], Ul = ["cx", "cy", "r", "fill"], jl = ["d", "fill", "onMouseenter", "onClick"], El = ["x", "y", "fill", "font-size"], Rl = ["x", "y", "fill", "font-size"], Yl = ["x", "y", "fill", "font-size"], Hl = ["x", "y", "fill", "font-size"], Wl = ["filter"], Xl = { key: 0 }, ql = ["x", "y"], Jl = { key: 1 }, Kl = ["cx", "cy", "fill", "filter", "onClick"], Ql = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Zl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], et = { key: 2 }, lt = ["x", "y", "width"], tt = {
17
17
  key: 3,
18
18
  class: "vue-data-ui-watermark"
19
19
  }, at = ["onClick"], ot = {
@@ -37,70 +37,70 @@ const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = [
37
37
  },
38
38
  emits: ["selectLegend", "selectDatapoint"],
39
39
  setup(G, { expose: Ie, emit: se }) {
40
- const $ = G, { vue_ui_donut: Be } = Qe(), U = b({
40
+ const S = G, { vue_ui_donut: Be } = Qe(), U = b({
41
41
  get() {
42
- return !!$.dataset && $.dataset.length;
42
+ return !!S.dataset && S.dataset.length;
43
43
  },
44
- set(l) {
45
- return l;
44
+ set(t) {
45
+ return t;
46
46
  }
47
- }), E = v(null), re = v(null), ne = v(null), J = v(null), ie = v(0), ve = v(0), ce = v(0);
47
+ }), j = v(null), re = v(null), ne = v(null), K = v(null), ie = v(0), ve = v(0), ce = v(0);
48
48
  Ye(() => {
49
49
  de();
50
50
  }), He(() => {
51
- J.value && J.value.disconnect();
51
+ K.value && K.value.disconnect();
52
52
  });
53
53
  function de() {
54
- if (Ze($.dataset) ? Oe({
54
+ if (Ze(S.dataset) ? Oe({
55
55
  componentName: "VueUiDonut",
56
56
  type: "dataset"
57
- }) : $.dataset.forEach((l, a) => {
57
+ }) : S.dataset.forEach((t, a) => {
58
58
  el({
59
- datasetObject: l,
59
+ datasetObject: t,
60
60
  requiredAttributes: ["name", "values"]
61
- }).forEach((t) => {
61
+ }).forEach((l) => {
62
62
  U.value = !1, Oe({
63
63
  componentName: "VueUiDonut",
64
64
  type: "datasetSerieAttribute",
65
- property: t,
65
+ property: l,
66
66
  index: a
67
67
  });
68
68
  });
69
69
  }), e.value.responsive) {
70
- const l = dl(() => {
71
- const { width: a, height: t } = hl({
72
- chart: E.value,
70
+ const t = dl(() => {
71
+ const { width: a, height: l } = hl({
72
+ chart: j.value,
73
73
  title: e.value.style.chart.title.text ? re.value : null,
74
74
  legend: e.value.style.chart.legend.show ? ne.value : null
75
75
  });
76
- i.value.width = a, i.value.height = t;
76
+ i.value.width = a, i.value.height = l;
77
77
  });
78
- J.value = new ResizeObserver(l), J.value.observe(E.value.parentNode);
78
+ K.value = new ResizeObserver(t), K.value.observe(j.value.parentNode);
79
79
  }
80
80
  }
81
- const x = v(ll()), Ve = v(null), Z = v(!1), ee = v(""), z = v(null), he = v(0);
82
- function ye() {
83
- const l = De({
84
- userConfig: $.config,
81
+ const $ = v(ll()), Ve = v(null), ee = v(!1), le = v(""), z = v(null), he = v(0);
82
+ function fe() {
83
+ const t = De({
84
+ userConfig: S.config,
85
85
  defaultConfig: Be
86
86
  });
87
- return l.theme ? {
87
+ return t.theme ? {
88
88
  ...De({
89
- userConfig: rl.vue_ui_donut[l.theme] || $.config,
90
- defaultConfig: l
89
+ userConfig: rl.vue_ui_donut[t.theme] || S.config,
90
+ defaultConfig: t
91
91
  }),
92
- customPalette: nl[l.theme] || D
93
- } : l;
92
+ customPalette: nl[t.theme] || D
93
+ } : t;
94
94
  }
95
95
  const e = b({
96
- get: () => ye(),
97
- set: (l) => l
96
+ get: () => fe(),
97
+ set: (t) => t
98
98
  });
99
- Ne(() => $.config, (l) => {
100
- e.value = ye(), de(), ie.value += 1, ve.value += 1, ce.value += 1;
99
+ Ne(() => S.config, (t) => {
100
+ e.value = fe(), de(), ie.value += 1, ve.value += 1, ce.value += 1;
101
101
  }, { deep: !0 });
102
- const { isPrinting: fe, isImaging: pe, generatePdf: be, generateImage: ge } = fl({
103
- elementId: `donut__${x.value}`,
102
+ const { isPrinting: ye, isImaging: pe, generatePdf: be, generateImage: ge } = yl({
103
+ elementId: `donut__${$.value}`,
104
104
  fileName: e.value.style.chart.title.text || "vue-ui-donut"
105
105
  }), me = b(() => tl(e.value.customPalette)), p = v({
106
106
  dataLabels: {
@@ -111,47 +111,47 @@ const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = [
111
111
  }), i = v({
112
112
  height: 360,
113
113
  width: 512
114
- }), le = b(() => {
115
- const l = e.value.style.chart.layout.donut.strokeWidth / 512, a = i.value.width * l;
116
- return a > L.value ? L.value : a;
117
- }), P = b(() => $.dataset.map((l, a) => ({
118
- name: l.name,
119
- color: Ae(l.color) || me.value[a] || D[a] || D[a % D.length],
120
- value: l.values.reduce((t, u) => t + u, 0),
121
- absoluteValues: l.values,
122
- comment: l.comment || ""
114
+ }), E = b(() => {
115
+ const t = e.value.style.chart.layout.donut.strokeWidth / 512, a = i.value.width * t, l = a > _.value ? _.value : a;
116
+ return l < 24 ? 24 : l;
117
+ }), P = b(() => S.dataset.map((t, a) => ({
118
+ name: t.name,
119
+ color: Ae(t.color) || me.value[a] || D[a] || D[a % D.length],
120
+ value: t.values.reduce((l, u) => l + u, 0),
121
+ absoluteValues: t.values,
122
+ comment: t.comment || ""
123
123
  }))), k = v(P.value);
124
- Ne(() => P.value, (l) => k.value = l);
124
+ Ne(() => P.value, (t) => k.value = t);
125
125
  function Me() {
126
- return P.value.map((l) => ({
127
- name: l.name,
128
- color: l.color,
129
- value: l.value
126
+ return P.value.map((t) => ({
127
+ name: t.name,
128
+ color: t.color,
129
+ value: t.value
130
130
  }));
131
131
  }
132
- const S = v([]), we = v(null), ke = v(null), O = v(!1);
133
- function _e(l) {
134
- const a = P.value.find((r, h) => h === l);
135
- let u = k.value.find((r, h) => h === l).value;
136
- if (S.value.includes(l)) {
132
+ const L = v([]), we = v(null), ke = v(null), O = v(!1);
133
+ function _e(t) {
134
+ const a = P.value.find((r, h) => h === t);
135
+ let u = k.value.find((r, h) => h === t).value;
136
+ if (L.value.includes(t)) {
137
137
  let h = function() {
138
- u > r ? (cancelAnimationFrame(we.value), k.value = k.value.map((c, oe) => l === oe ? {
138
+ u > r ? (cancelAnimationFrame(we.value), k.value = k.value.map((c, oe) => t === oe ? {
139
139
  ...c,
140
140
  value: r
141
- } : c), O.value = !1) : (O.value = !0, u += r * 0.025, k.value = k.value.map((c, oe) => l === oe ? {
141
+ } : c), O.value = !1) : (O.value = !0, u += r * 0.025, k.value = k.value.map((c, oe) => t === oe ? {
142
142
  ...c,
143
143
  value: u
144
144
  } : c), we.value = requestAnimationFrame(h));
145
145
  };
146
- S.value = S.value.filter((c) => c !== l);
146
+ L.value = L.value.filter((c) => c !== t);
147
147
  const r = a.value;
148
148
  h();
149
- } else if (S.value.length < P.value.length - 1) {
149
+ } else if (L.value.length < P.value.length - 1) {
150
150
  let r = function() {
151
- u < 0.1 ? (cancelAnimationFrame(ke.value), S.value.push(l), k.value = k.value.map((h, c) => l === c ? {
151
+ u < 0.1 ? (cancelAnimationFrame(ke.value), L.value.push(t), k.value = k.value.map((h, c) => t === c ? {
152
152
  ...h,
153
153
  value: 0
154
- } : h), O.value = !1) : (O.value = !0, u /= 1.1, k.value = k.value.map((h, c) => l === c ? {
154
+ } : h), O.value = !1) : (O.value = !0, u /= 1.1, k.value = k.value.map((h, c) => t === c ? {
155
155
  ...h,
156
156
  value: u
157
157
  } : h), ke.value = requestAnimationFrame(r));
@@ -164,26 +164,26 @@ const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = [
164
164
  value: r.value
165
165
  })));
166
166
  }
167
- const I = b(() => (k.value.forEach((l, a) => {
168
- if ([null, void 0].includes(l.values))
167
+ const I = b(() => (k.value.forEach((t, a) => {
168
+ if ([null, void 0].includes(t.values))
169
169
  return {
170
- ...l,
170
+ ...t,
171
171
  values: []
172
172
  };
173
- }), k.value.map((l, a) => ({
174
- ...l,
173
+ }), k.value.map((t, a) => ({
174
+ ...t,
175
175
  seriesIndex: a
176
- })).filter((l, a) => !S.value.includes(a)))), Ce = b(() => $.dataset.map((l, a) => ({
177
- name: l.name,
178
- color: Ae(l.color) || me.value[a] || D[a] || D[a % D.length],
179
- value: (l.values || []).reduce((t, u) => t + u, 0),
176
+ })).filter((t, a) => !L.value.includes(a)))), Ce = b(() => S.dataset.map((t, a) => ({
177
+ name: t.name,
178
+ color: Ae(t.color) || me.value[a] || D[a] || D[a % D.length],
179
+ value: (t.values || []).reduce((l, u) => l + u, 0),
180
180
  shape: "circle"
181
- })).map((l, a) => ({
182
- ...l,
183
- proportion: l.value / $.dataset.map((t) => (t.values || []).reduce((u, r) => u + r, 0)).reduce((t, u) => t + u, 0),
184
- opacity: S.value.includes(a) ? 0.5 : 1,
181
+ })).map((t, a) => ({
182
+ ...t,
183
+ proportion: t.value / S.dataset.map((l) => (l.values || []).reduce((u, r) => u + r, 0)).reduce((l, u) => l + u, 0),
184
+ opacity: L.value.includes(a) ? 0.5 : 1,
185
185
  segregate: () => _e(a),
186
- isSegregated: S.value.includes(a)
186
+ isSegregated: L.value.includes(a)
187
187
  }))), Ge = b(() => ({
188
188
  cy: "donut-div-legend",
189
189
  backgroundColor: e.value.style.chart.legend.backgroundColor,
@@ -191,106 +191,106 @@ const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = [
191
191
  fontSize: e.value.style.chart.legend.fontSize,
192
192
  paddingBottom: 12,
193
193
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
194
- })), L = b(() => {
195
- const l = Math.min(i.value.width / 3, i.value.height / 3);
196
- return l < 55 ? 55 : l;
197
- }), A = b(() => al({ series: I.value }, i.value.width / 2, i.value.height / 2, L.value, L.value, 1.99999, 2, 1, 360, 105.25, le.value));
198
- function B(l) {
199
- return l.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
194
+ })), _ = b(() => {
195
+ const t = Math.min(i.value.width / 3, i.value.height / 3);
196
+ return t < 55 ? 55 : t;
197
+ }), A = b(() => al({ series: I.value }, i.value.width / 2, i.value.height / 2, _.value, _.value, 1.99999, 2, 1, 360, 105.25, E.value));
198
+ function B(t) {
199
+ return t.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
200
200
  }
201
- function xe(l, a) {
202
- const t = l.value / Ue(a);
203
- return isNaN(t) ? 0 : F(
201
+ function xe(t, a) {
202
+ const l = t.value / Ue(a);
203
+ return isNaN(l) ? 0 : T(
204
204
  e.value.style.chart.layout.labels.percentage.formatter,
205
- t * 100,
206
- C({
207
- v: t * 100,
205
+ l * 100,
206
+ x({
207
+ v: l * 100,
208
208
  s: "%",
209
209
  r: e.value.style.chart.layout.labels.percentage.rounding
210
210
  }),
211
- { datapoint: l }
211
+ { datapoint: t }
212
212
  );
213
213
  }
214
- function Ue(l) {
215
- return [...l].map((a) => a.value).reduce((a, t) => a + t, 0);
214
+ function Ue(t) {
215
+ return [...t].map((a) => a.value).reduce((a, l) => a + l, 0);
216
216
  }
217
- const m = b(() => I.value.map((l) => l.value).reduce((l, a) => l + a, 0)), $e = b(() => m.value / I.value.length), te = v(null), j = v(!1);
218
- function Ee({ datapoint: l, relativeIndex: a, seriesIndex: t, show: u = !1 }) {
219
- te.value = { datapoint: l, seriesIndex: t, config: e.value, series: P.value }, Z.value = u, z.value = a;
217
+ const m = b(() => I.value.map((t) => t.value).reduce((t, a) => t + a, 0)), $e = b(() => m.value / I.value.length), te = v(null), R = v(!1);
218
+ function je({ datapoint: t, relativeIndex: a, seriesIndex: l, show: u = !1 }) {
219
+ te.value = { datapoint: t, seriesIndex: l, config: e.value, series: P.value }, ee.value = u, z.value = a;
220
220
  let r = "";
221
221
  const h = e.value.style.chart.tooltip.customFormat;
222
- if (j.value = !1, il(h))
222
+ if (R.value = !1, il(h))
223
223
  try {
224
224
  const c = h({
225
- seriesIndex: t,
226
- datapoint: l,
225
+ seriesIndex: l,
226
+ datapoint: t,
227
227
  series: P.value,
228
228
  config: e.value
229
229
  });
230
- typeof c == "string" && (ee.value = c, j.value = !0);
230
+ typeof c == "string" && (le.value = c, R.value = !0);
231
231
  } catch {
232
- console.warn("Custom format cannot be applied."), j.value = !1;
232
+ console.warn("Custom format cannot be applied."), R.value = !1;
233
233
  }
234
- if (!j.value) {
235
- if (r += `<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>`, r += `<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 && (r += `<b>${F(
234
+ if (!R.value) {
235
+ if (r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, r += `<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 && (r += `<b>${T(
236
236
  e.value.style.chart.layout.labels.value.formatter,
237
- l.value,
238
- C({
237
+ t.value,
238
+ x({
239
239
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
240
- v: l.value,
240
+ v: t.value,
241
241
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
242
242
  r: e.value.style.chart.tooltip.roundingValue
243
243
  }),
244
244
  {
245
- datapoint: l,
245
+ datapoint: t,
246
246
  relativeIndex: a,
247
- seriesIndex: t
247
+ seriesIndex: l
248
248
  }
249
249
  )}</b>`), e.value.style.chart.tooltip.showPercentage) {
250
- const c = F(
250
+ const c = T(
251
251
  e.value.style.chart.layout.labels.percentage.formatter,
252
- l.proportion * 100,
253
- C({
254
- v: l.proportion * 100,
252
+ t.proportion * 100,
253
+ x({
254
+ v: t.proportion * 100,
255
255
  s: "%",
256
256
  r: e.value.style.chart.tooltip.roundingPercentage
257
257
  }),
258
258
  {
259
- datapoint: l,
259
+ datapoint: t,
260
260
  relativeIndex: a,
261
- seriesIndex: t
261
+ seriesIndex: l
262
262
  }
263
263
  );
264
264
  e.value.style.chart.tooltip.showValue ? r += `<span>(${c})</span></div>` : r += `<b>${c}%</b></div>`;
265
265
  }
266
- e.value.style.chart.comments.showInTooltip && l.comment && (r += `<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>`), ee.value = `<div>${r}</div>`;
266
+ e.value.style.chart.comments.showInTooltip && t.comment && (r += `<div class="vue-data-ui-tooltip-comment" style="background:${t.color}20; padding: 6px; margin-bottom: 6px; margin-top:6px; border-left: 1px solid ${t.color}">${t.comment}</div>`), le.value = `<div>${r}</div>`;
267
267
  }
268
268
  }
269
- function ae(l) {
270
- return e.value.useBlurOnHover && ![null, void 0].includes(z.value) && z.value !== l ? `url(#blur_${x.value})` : "";
269
+ function ae(t) {
270
+ return e.value.useBlurOnHover && ![null, void 0].includes(z.value) && z.value !== t ? `url(#blur_${$.value})` : "";
271
271
  }
272
272
  const N = b(() => {
273
- const l = I.value.map((t) => ({
274
- name: t.name,
275
- color: t.color
276
- })), a = I.value.map((t) => t.value);
277
- return { head: l, body: a };
273
+ const t = I.value.map((l) => ({
274
+ name: l.name,
275
+ color: l.color
276
+ })), a = I.value.map((l) => l.value);
277
+ return { head: t, body: a };
278
278
  });
279
279
  function Se() {
280
280
  qe(() => {
281
- const l = N.value.head.map((u, r) => [[
281
+ const t = N.value.head.map((u, r) => [[
282
282
  u.name
283
- ], [N.value.body[r]], [isNaN(N.value.body[r] / m.value) ? "-" : N.value.body[r] / m.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), t = vl(a);
284
- cl({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-donut" });
283
+ ], [N.value.body[r]], [isNaN(N.value.body[r] / m.value) ? "-" : N.value.body[r] / m.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = vl(a);
284
+ cl({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-donut" });
285
285
  });
286
286
  }
287
- const K = b(() => {
288
- const l = [
287
+ const Q = b(() => {
288
+ const t = [
289
289
  ' <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>',
290
- C({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: m.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
290
+ x({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: m.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
291
291
  "100%"
292
292
  ], a = N.value.head.map((r, h) => {
293
- const c = C({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: N.value.body[h], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
293
+ const c = x({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: N.value.body[h], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
294
294
  return [
295
295
  {
296
296
  color: r.color,
@@ -299,7 +299,7 @@ const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = [
299
299
  c,
300
300
  isNaN(N.value.body[h] / m.value) ? "-" : (N.value.body[h] / m.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
301
301
  ];
302
- }), t = {
302
+ }), l = {
303
303
  th: {
304
304
  backgroundColor: e.value.table.th.backgroundColor,
305
305
  color: e.value.table.th.color,
@@ -318,25 +318,25 @@ const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = [
318
318
  e.value.table.columnNames.value,
319
319
  e.value.table.columnNames.percentage
320
320
  ],
321
- head: l,
321
+ head: t,
322
322
  body: a,
323
- config: t
323
+ config: l
324
324
  };
325
- }), R = v(!1);
326
- function je(l) {
327
- R.value = l, he.value += 1;
325
+ }), Y = v(!1);
326
+ function Ee(t) {
327
+ Y.value = t, he.value += 1;
328
328
  }
329
329
  const Le = b(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
330
- function Re(l) {
331
- return l.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((a) => "-").join("");
330
+ function Re(t) {
331
+ return t.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((a) => "-").join("");
332
332
  }
333
- function Q(l, a) {
334
- se("selectDatapoint", { datapoint: l, index: a });
333
+ function Z(t, a) {
334
+ se("selectDatapoint", { datapoint: t, index: a });
335
335
  }
336
- function Te() {
336
+ function Fe() {
337
337
  p.value.showTable = !p.value.showTable;
338
338
  }
339
- function Fe() {
339
+ function Te() {
340
340
  p.value.dataLabels.show = !p.value.dataLabels.show;
341
341
  }
342
342
  function ze() {
@@ -347,24 +347,24 @@ const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = [
347
347
  generatePdf: be,
348
348
  generateCsv: Se,
349
349
  generateImage: ge,
350
- toggleTable: Te,
351
- toggleLabels: Fe,
350
+ toggleTable: Fe,
351
+ toggleLabels: Te,
352
352
  toggleTooltip: ze
353
- }), (l, a) => (s(), n("div", {
353
+ }), (t, a) => (s(), n("div", {
354
354
  ref_key: "donutChart",
355
- ref: E,
356
- class: ue(`vue-ui-donut ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
357
- style: T(`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}`),
358
- id: `donut__${x.value}`
355
+ ref: j,
356
+ class: ue(`vue-ui-donut ${Y.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
357
+ style: F(`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}`),
358
+ id: `donut__${$.value}`
359
359
  }, [
360
- g(l.$slots, "userConfig", {}, void 0, !0),
360
+ g(t.$slots, "userConfig", {}, void 0, !0),
361
361
  e.value.style.chart.title.text ? (s(), n("div", {
362
362
  key: 0,
363
363
  ref_key: "chartTitle",
364
364
  ref: re,
365
- style: T(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`)
365
+ style: F(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`)
366
366
  }, [
367
- (s(), V(yl, {
367
+ (s(), V(fl, {
368
368
  key: `title_${ie.value}`,
369
369
  config: {
370
370
  title: {
@@ -384,9 +384,9 @@ const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = [
384
384
  key: `user_option_${he.value}`,
385
385
  backgroundColor: e.value.style.chart.backgroundColor,
386
386
  color: e.value.style.chart.color,
387
- isPrinting: o(fe),
387
+ isPrinting: o(ye),
388
388
  isImaging: o(pe),
389
- uid: x.value,
389
+ uid: $.value,
390
390
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
391
391
  hasPdf: e.value.userOptions.buttons.pdf,
392
392
  hasImg: e.value.userOptions.buttons.img,
@@ -394,64 +394,64 @@ const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = [
394
394
  hasTable: e.value.userOptions.buttons.table,
395
395
  hasLabel: e.value.userOptions.buttons.labels,
396
396
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
397
- isFullscreen: R.value,
398
- chartElement: E.value,
397
+ isFullscreen: Y.value,
398
+ chartElement: j.value,
399
399
  isTooltip: p.value.showTooltip,
400
400
  titles: { ...e.value.userOptions.buttonTitles },
401
- onToggleFullscreen: je,
401
+ onToggleFullscreen: Ee,
402
402
  onGeneratePdf: o(be),
403
403
  onGenerateCsv: Se,
404
404
  onGenerateImage: o(ge),
405
- onToggleTable: Te,
406
- onToggleLabels: Fe,
405
+ onToggleTable: Fe,
406
+ onToggleLabels: Te,
407
407
  onToggleTooltip: ze
408
408
  }, We({ _: 2 }, [
409
- l.$slots.optionTooltip ? {
409
+ t.$slots.optionTooltip ? {
410
410
  name: "optionTooltip",
411
411
  fn: w(() => [
412
- g(l.$slots, "optionTooltip", {}, void 0, !0)
412
+ g(t.$slots, "optionTooltip", {}, void 0, !0)
413
413
  ]),
414
414
  key: "0"
415
415
  } : void 0,
416
- l.$slots.optionPdf ? {
416
+ t.$slots.optionPdf ? {
417
417
  name: "optionPdf",
418
418
  fn: w(() => [
419
- g(l.$slots, "optionPdf", {}, void 0, !0)
419
+ g(t.$slots, "optionPdf", {}, void 0, !0)
420
420
  ]),
421
421
  key: "1"
422
422
  } : void 0,
423
- l.$slots.optionCsv ? {
423
+ t.$slots.optionCsv ? {
424
424
  name: "optionCsv",
425
425
  fn: w(() => [
426
- g(l.$slots, "optionCsv", {}, void 0, !0)
426
+ g(t.$slots, "optionCsv", {}, void 0, !0)
427
427
  ]),
428
428
  key: "2"
429
429
  } : void 0,
430
- l.$slots.optionImg ? {
430
+ t.$slots.optionImg ? {
431
431
  name: "optionImg",
432
432
  fn: w(() => [
433
- g(l.$slots, "optionImg", {}, void 0, !0)
433
+ g(t.$slots, "optionImg", {}, void 0, !0)
434
434
  ]),
435
435
  key: "3"
436
436
  } : void 0,
437
- l.$slots.optionTable ? {
437
+ t.$slots.optionTable ? {
438
438
  name: "optionTable",
439
439
  fn: w(() => [
440
- g(l.$slots, "optionTable", {}, void 0, !0)
440
+ g(t.$slots, "optionTable", {}, void 0, !0)
441
441
  ]),
442
442
  key: "4"
443
443
  } : void 0,
444
- l.$slots.optionLabels ? {
444
+ t.$slots.optionLabels ? {
445
445
  name: "optionLabels",
446
446
  fn: w(() => [
447
- g(l.$slots, "optionLabels", {}, void 0, !0)
447
+ g(t.$slots, "optionLabels", {}, void 0, !0)
448
448
  ]),
449
449
  key: "5"
450
450
  } : void 0,
451
- l.$slots.optionFullscreen ? {
451
+ t.$slots.optionFullscreen ? {
452
452
  name: "optionFullscreen",
453
- fn: w(({ toggleFullscreen: t, isFullscreen: u }) => [
454
- g(l.$slots, "optionFullscreen", Y(H({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
453
+ fn: w(({ toggleFullscreen: l, isFullscreen: u }) => [
454
+ g(t.$slots, "optionFullscreen", H(W({ toggleFullscreen: l, isFullscreen: u })), void 0, !0)
455
455
  ]),
456
456
  key: "6"
457
457
  } : void 0
@@ -459,56 +459,56 @@ const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = [
459
459
  U.value ? (s(), n("svg", {
460
460
  key: 2,
461
461
  xmlns: o(ol),
462
- class: ue({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
462
+ class: ue({ "vue-data-ui-fullscreen--on": Y.value, "vue-data-ui-fulscreen--off": !Y.value }),
463
463
  viewBox: `0 0 ${i.value.width <= 0 ? 10 : i.value.width} ${i.value.height <= 0 ? 10 : i.value.height}`,
464
- style: T(`max-width:100%; overflow: visible; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
464
+ style: F(`max-width:100%; overflow: visible; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
465
465
  }, [
466
- f("defs", null, [
466
+ y("defs", null, [
467
467
  e.value.style.chart.useGradient ? (s(), n("radialGradient", {
468
468
  key: 0,
469
- id: `gradient_${x.value}`
469
+ id: `gradient_${$.value}`
470
470
  }, [
471
- f("stop", {
471
+ y("stop", {
472
472
  offset: "0%",
473
- "stop-color": o(X)(e.value.style.chart.backgroundColor, 0),
473
+ "stop-color": o(q)(e.value.style.chart.backgroundColor, 0),
474
474
  "stop-opacity": "0"
475
475
  }, null, 8, Ll),
476
- f("stop", {
477
- offset: "60%",
478
- "stop-color": o(X)(e.value.style.chart.backgroundColor, 0),
476
+ y("stop", {
477
+ offset: `${(1 - E.value / _.value) * 100}%`,
478
+ "stop-color": o(q)("#FFFFFF", 0),
479
479
  "stop-opacity": "0"
480
- }, null, 8, Tl),
481
- f("stop", {
482
- offset: "77%",
483
- "stop-color": o(X)("#FFFFFF", e.value.style.chart.gradientIntensity)
484
480
  }, null, 8, Fl),
485
- f("stop", {
481
+ y("stop", {
482
+ offset: `${(1 - E.value / _.value / 2) * 100}%`,
483
+ "stop-color": o(q)("#FFFFFF", e.value.style.chart.gradientIntensity)
484
+ }, null, 8, Tl),
485
+ y("stop", {
486
486
  offset: "100%",
487
- "stop-color": o(X)(e.value.style.chart.backgroundColor, 0),
487
+ "stop-color": o(q)(e.value.style.chart.backgroundColor, 0),
488
488
  "stop-opacity": "0"
489
489
  }, null, 8, zl)
490
490
  ], 8, Sl)) : d("", !0)
491
491
  ]),
492
- f("defs", null, [
493
- f("filter", {
494
- id: `blur_${x.value}`,
492
+ y("defs", null, [
493
+ y("filter", {
494
+ id: `blur_${$.value}`,
495
495
  x: "-50%",
496
496
  y: "-50%",
497
497
  width: "200%",
498
498
  height: "200%"
499
499
  }, [
500
- f("feGaussianBlur", {
500
+ y("feGaussianBlur", {
501
501
  in: "SourceGraphic",
502
502
  stdDeviation: 2,
503
- id: `blur_std_${x.value}`
503
+ id: `blur_std_${$.value}`
504
504
  }, null, 8, Pl),
505
505
  Ol
506
506
  ], 8, Nl),
507
- f("filter", {
508
- id: `shadow_${x.value}`,
507
+ y("filter", {
508
+ id: `shadow_${$.value}`,
509
509
  "color-interpolation-filters": "sRGB"
510
510
  }, [
511
- f("feDropShadow", {
511
+ y("feDropShadow", {
512
512
  dx: "0",
513
513
  dy: "0",
514
514
  stdDeviation: "10",
@@ -517,11 +517,11 @@ const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = [
517
517
  }, null, 8, Dl)
518
518
  ], 8, Al)
519
519
  ]),
520
- (s(!0), n(M, null, W(A.value, (t, u) => (s(), n("g", null, [
521
- B(t) && p.value.dataLabels.show ? (s(), n("path", {
520
+ (s(!0), n(M, null, X(A.value, (l, u) => (s(), n("g", null, [
521
+ B(l) && p.value.dataLabels.show ? (s(), n("path", {
522
522
  key: 0,
523
- d: o(ul)(t, { x: i.value.width / 2, y: i.value.height / 2 }, 16, 16, !1, !1, le.value),
524
- stroke: t.color,
523
+ d: o(ul)(l, { x: i.value.width / 2, y: i.value.height / 2 }, 16, 16, !1, !1, E.value),
524
+ stroke: l.color,
525
525
  "stroke-width": "1",
526
526
  "stroke-linecap": "round",
527
527
  "stroke-linejoin": "round",
@@ -529,23 +529,23 @@ const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = [
529
529
  filter: ae(u)
530
530
  }, null, 8, Il)) : d("", !0)
531
531
  ]))), 256)),
532
- f("circle", {
532
+ y("circle", {
533
533
  cx: i.value.width / 2,
534
534
  cy: i.value.height / 2,
535
- r: L.value <= 0 ? 10 : L.value,
535
+ r: _.value <= 0 ? 10 : _.value,
536
536
  fill: e.value.style.chart.backgroundColor,
537
- filter: e.value.style.chart.layout.donut.useShadow ? `url(#shadow_${x.value})` : ""
537
+ filter: e.value.style.chart.layout.donut.useShadow ? `url(#shadow_${$.value})` : ""
538
538
  }, null, 8, Bl),
539
539
  m.value ? (s(), n(M, { key: 0 }, [
540
- (s(!0), n(M, null, W(A.value, (t, u) => (s(), n("path", {
540
+ (s(!0), n(M, null, X(A.value, (l, u) => (s(), n("path", {
541
541
  stroke: e.value.style.chart.backgroundColor,
542
- d: t.arcSlice,
542
+ d: l.arcSlice,
543
543
  fill: "#FFFFFF"
544
544
  }, null, 8, Vl))), 256)),
545
- (s(!0), n(M, null, W(A.value, (t, u) => (s(), n("path", {
545
+ (s(!0), n(M, null, X(A.value, (l, u) => (s(), n("path", {
546
546
  class: "vue-ui-donut-arc-path",
547
- d: t.arcSlice,
548
- fill: o(X)(t.color, 80),
547
+ d: l.arcSlice,
548
+ fill: o(q)(l.color, 80),
549
549
  stroke: e.value.style.chart.backgroundColor,
550
550
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
551
551
  filter: ae(u)
@@ -554,7 +554,7 @@ const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = [
554
554
  key: 1,
555
555
  cx: i.value.width / 2,
556
556
  cy: i.value.height / 2,
557
- r: L.value <= 0 ? 10 : L.value,
557
+ r: _.value <= 0 ? 10 : _.value,
558
558
  fill: e.value.style.chart.backgroundColor,
559
559
  stroke: o(sl)(e.value.style.chart.background)
560
560
  }, null, 8, Gl)),
@@ -564,25 +564,25 @@ const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = [
564
564
  cy: i.value.height / 2,
565
565
  r: (
566
566
  /* This might require adjustments */
567
- L.value <= 0 ? 10 : L.value
567
+ _.value <= 0 ? 10 : _.value
568
568
  ),
569
- fill: `url(#gradient_${x.value})`
569
+ fill: `url(#gradient_${$.value})`
570
570
  }, null, 8, Ul)) : d("", !0),
571
- m.value ? (s(!0), n(M, { key: 3 }, W(A.value, (t, u) => (s(), n("path", {
571
+ m.value ? (s(!0), n(M, { key: 3 }, X(A.value, (l, u) => (s(), n("path", {
572
572
  "data-cy-donut-trap": "",
573
- d: t.arcSlice,
573
+ d: l.arcSlice,
574
574
  fill: z.value === u ? "rgba(0,0,0,0.1)" : "transparent",
575
- onMouseenter: (r) => Ee({
576
- datapoint: t,
575
+ onMouseenter: (r) => je({
576
+ datapoint: l,
577
577
  relativeIndex: u,
578
- seriesIndex: t.seriesIndex,
578
+ seriesIndex: l.seriesIndex,
579
579
  show: !0
580
580
  }),
581
581
  onMouseleave: a[0] || (a[0] = (r) => {
582
- Z.value = !1, z.value = null;
582
+ ee.value = !1, z.value = null;
583
583
  }),
584
- onClick: (r) => Q(t, u)
585
- }, null, 40, El))), 256)) : d("", !0),
584
+ onClick: (r) => Z(l, u)
585
+ }, null, 40, jl))), 256)) : d("", !0),
586
586
  e.value.style.chart.layout.labels.hollow.total.show ? (s(), n("text", {
587
587
  key: 4,
588
588
  "text-anchor": "middle",
@@ -590,8 +590,8 @@ const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = [
590
590
  y: i.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,
591
591
  fill: e.value.style.chart.layout.labels.hollow.total.color,
592
592
  "font-size": e.value.style.chart.layout.labels.hollow.total.fontSize,
593
- style: T(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
594
- }, _(e.value.style.chart.layout.labels.hollow.total.text), 13, jl)) : d("", !0),
593
+ style: F(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
594
+ }, C(e.value.style.chart.layout.labels.hollow.total.text), 13, El)) : d("", !0),
595
595
  e.value.style.chart.layout.labels.hollow.total.show ? (s(), n("text", {
596
596
  key: 5,
597
597
  "text-anchor": "middle",
@@ -599,11 +599,11 @@ const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = [
599
599
  y: i.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,
600
600
  fill: e.value.style.chart.layout.labels.hollow.total.value.color,
601
601
  "font-size": e.value.style.chart.layout.labels.hollow.total.value.fontSize,
602
- style: T(`font-weight:${e.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
603
- }, _(o(F)(
602
+ style: F(`font-weight:${e.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
603
+ }, C(o(T)(
604
604
  e.value.style.chart.layout.labels.hollow.total.value.formatter,
605
605
  m.value,
606
- o(C)({
606
+ o(x)({
607
607
  p: e.value.style.chart.layout.labels.hollow.total.value.prefix,
608
608
  v: m.value,
609
609
  s: e.value.style.chart.layout.labels.hollow.total.value.suffix
@@ -616,8 +616,8 @@ const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = [
616
616
  y: i.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,
617
617
  fill: e.value.style.chart.layout.labels.hollow.average.color,
618
618
  "font-size": e.value.style.chart.layout.labels.hollow.average.fontSize,
619
- style: T(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
620
- }, _(e.value.style.chart.layout.labels.hollow.average.text), 13, Yl)) : d("", !0),
619
+ style: F(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
620
+ }, C(e.value.style.chart.layout.labels.hollow.average.text), 13, Yl)) : d("", !0),
621
621
  e.value.style.chart.layout.labels.hollow.average.show ? (s(), n("text", {
622
622
  key: 7,
623
623
  "text-anchor": "middle",
@@ -625,103 +625,103 @@ const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = [
625
625
  y: i.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,
626
626
  fill: e.value.style.chart.layout.labels.hollow.average.value.color,
627
627
  "font-size": e.value.style.chart.layout.labels.hollow.average.value.fontSize,
628
- style: T(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
629
- }, _(O.value ? "--" : o(F)(
628
+ style: F(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
629
+ }, C(O.value ? "--" : o(T)(
630
630
  e.value.style.chart.layout.labels.hollow.average.value.formatter,
631
631
  $e.value,
632
- o(C)({
632
+ o(x)({
633
633
  p: e.value.style.chart.layout.labels.hollow.average.value.prefix,
634
634
  v: $e.value,
635
635
  s: e.value.style.chart.layout.labels.hollow.average.value.suffix,
636
636
  r: e.value.style.chart.layout.labels.hollow.average.value.rounding
637
637
  })
638
638
  )), 13, Hl)) : d("", !0),
639
- (s(!0), n(M, null, W(A.value, (t, u) => (s(), n("g", {
639
+ (s(!0), n(M, null, X(A.value, (l, u) => (s(), n("g", {
640
640
  filter: ae(u),
641
641
  class: ue({ animated: e.value.useCssAnimation })
642
642
  }, [
643
643
  e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (s(), n("g", Xl, [
644
644
  (s(), n("foreignObject", {
645
- x: o(y)(t, !0).anchor === "end" ? o(y)(t).x - 120 : o(y)(t, !0).anchor === "middle" ? o(y)(t).x - 60 : o(y)(t).x,
646
- y: o(q)(t) - (Le.value ? 20 : 0),
645
+ x: o(f)(l, !0).anchor === "end" ? o(f)(l).x - 120 : o(f)(l, !0).anchor === "middle" ? o(f)(l).x - 60 : o(f)(l).x,
646
+ y: o(J)(l) - (Le.value ? 20 : 0),
647
647
  width: "120",
648
648
  height: "60",
649
649
  style: { overflow: "visible" }
650
650
  }, [
651
- f("div", null, [
652
- g(l.$slots, "dataLabel", Y(H({
653
- datapoint: t,
651
+ y("div", null, [
652
+ g(t.$slots, "dataLabel", H(W({
653
+ datapoint: l,
654
654
  isBlur: !e.value.useBlurOnHover || [null, void 0].includes(z.value) || z.value === u,
655
655
  isSafari: Le.value,
656
- isVisible: B(t) && p.value.dataLabels.show,
657
- textAlign: o(y)(t, !0, 16, !0).anchor,
658
- flexAlign: o(y)(t, !0, 16).anchor,
659
- percentage: xe(t, A.value)
656
+ isVisible: B(l) && p.value.dataLabels.show,
657
+ textAlign: o(f)(l, !0, 16, !0).anchor,
658
+ flexAlign: o(f)(l, !0, 16).anchor,
659
+ percentage: xe(l, A.value)
660
660
  })), void 0, !0)
661
661
  ])
662
662
  ], 8, ql))
663
663
  ])) : (s(), n("g", Jl, [
664
- B(t) && p.value.dataLabels.show ? (s(), n("circle", {
664
+ B(l) && p.value.dataLabels.show ? (s(), n("circle", {
665
665
  key: 0,
666
- cx: o(y)(t).x,
667
- cy: o(q)(t) - 3.5,
668
- fill: t.color,
666
+ cx: o(f)(l).x,
667
+ cy: o(J)(l) - 3.5,
668
+ fill: l.color,
669
669
  r: 3,
670
- filter: !e.value.useBlurOnHover || [null, void 0].includes(z.value) || z.value === u ? "" : `url(#blur_${x.value})`,
671
- onClick: (r) => Q(t, u)
670
+ filter: !e.value.useBlurOnHover || [null, void 0].includes(z.value) || z.value === u ? "" : `url(#blur_${$.value})`,
671
+ onClick: (r) => Z(l, u)
672
672
  }, null, 8, Kl)) : d("", !0),
673
- B(t) && p.value.dataLabels.show ? (s(), n("text", {
673
+ B(l) && p.value.dataLabels.show ? (s(), n("text", {
674
674
  key: 1,
675
- "text-anchor": o(y)(t, !0, 12).anchor,
676
- x: o(y)(t, !0, 12).x,
677
- y: o(q)(t),
675
+ "text-anchor": o(f)(l, !0, 12).anchor,
676
+ x: o(f)(l, !0, 12).x,
677
+ y: o(J)(l),
678
678
  fill: e.value.style.chart.layout.labels.percentage.color,
679
679
  "font-size": e.value.style.chart.layout.labels.percentage.fontSize,
680
- style: T(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
681
- onClick: (r) => Q(t, u)
682
- }, _(xe(t, A.value)) + " " + _(e.value.style.chart.layout.labels.value.show ? `(${o(F)(
680
+ style: F(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
681
+ onClick: (r) => Z(l, u)
682
+ }, C(xe(l, A.value)) + " " + C(e.value.style.chart.layout.labels.value.show ? `(${o(T)(
683
683
  e.value.style.chart.layout.labels.value.formatter,
684
- t.value,
685
- o(C)({
684
+ l.value,
685
+ o(x)({
686
686
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
687
- v: t.value,
687
+ v: l.value,
688
688
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
689
689
  r: e.value.style.chart.layout.labels.value.rounding
690
690
  }),
691
- { datapoint: t }
691
+ { datapoint: l }
692
692
  )})` : ""), 13, Ql)) : d("", !0),
693
- B(t) && p.value.dataLabels.show ? (s(), n("text", {
693
+ B(l) && p.value.dataLabels.show ? (s(), n("text", {
694
694
  key: 2,
695
- "text-anchor": o(y)(t).anchor,
696
- x: o(y)(t, !0, 12).x,
697
- y: o(q)(t) + e.value.style.chart.layout.labels.percentage.fontSize,
695
+ "text-anchor": o(f)(l).anchor,
696
+ x: o(f)(l, !0, 12).x,
697
+ y: o(J)(l) + e.value.style.chart.layout.labels.percentage.fontSize,
698
698
  fill: e.value.style.chart.layout.labels.name.color,
699
699
  "font-size": e.value.style.chart.layout.labels.name.fontSize,
700
- style: T(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
701
- onClick: (r) => Q(t, u)
702
- }, _(t.name), 13, Zl)) : d("", !0)
700
+ style: F(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
701
+ onClick: (r) => Z(l, u)
702
+ }, C(l.name), 13, Zl)) : d("", !0)
703
703
  ])),
704
- p.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (s(), n("g", et, [
705
- B(t) ? (s(), n("foreignObject", {
704
+ p.value.dataLabels.show && e.value.style.chart.comments.show && l.comment ? (s(), n("g", et, [
705
+ B(l) ? (s(), n("foreignObject", {
706
706
  key: 0,
707
- x: e.value.style.chart.comments.offsetX + (o(y)(t, !0).anchor === "end" ? o(y)(t).x - e.value.style.chart.comments.width : o(y)(t, !0).anchor === "middle" ? o(y)(t).x - e.value.style.chart.comments.width / 2 : o(y)(t).x),
708
- y: o(q)(t) + 24 + e.value.style.chart.comments.offsetY,
707
+ x: e.value.style.chart.comments.offsetX + (o(f)(l, !0).anchor === "end" ? o(f)(l).x - e.value.style.chart.comments.width : o(f)(l, !0).anchor === "middle" ? o(f)(l).x - e.value.style.chart.comments.width / 2 : o(f)(l).x),
708
+ y: o(J)(l) + 24 + e.value.style.chart.comments.offsetY,
709
709
  width: e.value.style.chart.comments.width,
710
710
  height: "200",
711
711
  style: { overflow: "visible", "pointer-events": "none" }
712
712
  }, [
713
- f("div", null, [
714
- g(l.$slots, "plot-comment", {
715
- plot: { ...t, textAlign: o(y)(t, !0, 16, !0).anchor, flexAlign: o(y)(t, !0, 16).anchor }
713
+ y("div", null, [
714
+ g(t.$slots, "plot-comment", {
715
+ plot: { ...l, textAlign: o(f)(l, !0, 16, !0).anchor, flexAlign: o(f)(l, !0, 16).anchor }
716
716
  }, void 0, !0)
717
717
  ])
718
718
  ], 8, lt)) : d("", !0)
719
719
  ])) : d("", !0)
720
720
  ], 10, Wl))), 256)),
721
- g(l.$slots, "svg", { svg: i.value }, void 0, !0)
721
+ g(t.$slots, "svg", { svg: i.value }, void 0, !0)
722
722
  ], 14, $l)) : d("", !0),
723
- l.$slots.watermark ? (s(), n("div", tt, [
724
- g(l.$slots, "watermark", Y(H({ isPrinting: o(fe) || o(pe) })), void 0, !0)
723
+ t.$slots.watermark ? (s(), n("div", tt, [
724
+ g(t.$slots, "watermark", H(W({ isPrinting: o(ye) || o(pe) })), void 0, !0)
725
725
  ])) : d("", !0),
726
726
  U.value ? d("", !0) : (s(), V(wl, {
727
727
  key: 4,
@@ -731,12 +731,12 @@ const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = [
731
731
  backgroundColor: e.value.style.chart.backgroundColor,
732
732
  donut: {
733
733
  color: "#CCCCCC",
734
- strokeWidth: le.value * 0.8
734
+ strokeWidth: E.value * 0.8
735
735
  }
736
736
  }
737
737
  }
738
738
  }, null, 8, ["config"])),
739
- f("div", {
739
+ y("div", {
740
740
  ref_key: "chartLegend",
741
741
  ref: ne
742
742
  }, [
@@ -744,32 +744,32 @@ const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = [
744
744
  key: `legend_${ce.value}`,
745
745
  legendSet: Ce.value,
746
746
  config: Ge.value,
747
- onClickMarker: a[1] || (a[1] = ({ i: t }) => _e(t))
747
+ onClickMarker: a[1] || (a[1] = ({ i: l }) => _e(l))
748
748
  }, {
749
- item: w(({ legend: t, index: u }) => [
750
- f("div", {
751
- onClick: (r) => t.segregate(),
752
- style: T(`opacity:${S.value.includes(u) ? 0.5 : 1}`)
749
+ item: w(({ legend: l, index: u }) => [
750
+ y("div", {
751
+ onClick: (r) => l.segregate(),
752
+ style: F(`opacity:${L.value.includes(u) ? 0.5 : 1}`)
753
753
  }, [
754
- Pe(_(t.name) + ": " + _(o(F)(
754
+ Pe(C(l.name) + ": " + C(o(T)(
755
755
  e.value.style.chart.layout.labels.value.formatter,
756
- t.value,
757
- o(C)({
756
+ l.value,
757
+ o(x)({
758
758
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
759
- v: t.value,
759
+ v: l.value,
760
760
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
761
761
  r: e.value.style.chart.legend.roundingValue
762
762
  }),
763
763
  {
764
- datapoint: t,
764
+ datapoint: l,
765
765
  index: u
766
766
  }
767
767
  )) + " ", 1),
768
- S.value.includes(u) ? (s(), n("span", ut, " ( " + _(Re(t.proportion * 100)) + " % ) ", 1)) : (s(), n("span", ot, " (" + _(isNaN(t.value / m.value) ? "-" : o(F)(
768
+ L.value.includes(u) ? (s(), n("span", ut, " ( " + C(Re(l.proportion * 100)) + " % ) ", 1)) : (s(), n("span", ot, " (" + C(isNaN(l.value / m.value) ? "-" : o(T)(
769
769
  e.value.style.chart.layout.labels.percentage.formatter,
770
- O.value ? t.proportion * 100 : t.value / m.value * 100,
771
- o(C)({
772
- v: O.value ? t.proportion * 100 : t.value / m.value * 100,
770
+ O.value ? l.proportion * 100 : l.value / m.value * 100,
771
+ o(x)({
772
+ v: O.value ? l.proportion * 100 : l.value / m.value * 100,
773
773
  s: "%",
774
774
  r: e.value.style.chart.legend.roundingPercentage
775
775
  })
@@ -778,10 +778,10 @@ const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = [
778
778
  ]),
779
779
  _: 1
780
780
  }, 8, ["legendSet", "config"])) : d("", !0),
781
- g(l.$slots, "legend", { legend: Ce.value }, void 0, !0)
781
+ g(t.$slots, "legend", { legend: Ce.value }, void 0, !0)
782
782
  ], 512),
783
783
  Xe(gl, {
784
- show: p.value.showTooltip && Z.value,
784
+ show: p.value.showTooltip && ee.value,
785
785
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
786
786
  color: e.value.style.chart.tooltip.color,
787
787
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -791,15 +791,15 @@ const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = [
791
791
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
792
792
  position: e.value.style.chart.tooltip.position,
793
793
  offsetY: e.value.style.chart.tooltip.offsetY,
794
- parent: E.value,
795
- content: ee.value,
796
- isCustom: j.value
794
+ parent: j.value,
795
+ content: le.value,
796
+ isCustom: R.value
797
797
  }, {
798
798
  "tooltip-before": w(() => [
799
- g(l.$slots, "tooltip-before", Y(H({ ...te.value })), void 0, !0)
799
+ g(t.$slots, "tooltip-before", H(W({ ...te.value })), void 0, !0)
800
800
  ]),
801
801
  "tooltip-after": w(() => [
802
- g(l.$slots, "tooltip-after", Y(H({ ...te.value })), void 0, !0)
802
+ g(t.$slots, "tooltip-after", H(W({ ...te.value })), void 0, !0)
803
803
  ]),
804
804
  _: 3
805
805
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
@@ -822,34 +822,34 @@ const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = [
822
822
  content: w(() => [
823
823
  (s(), V(bl, {
824
824
  key: `table_${ve.value}`,
825
- colNames: K.value.colNames,
826
- head: K.value.head,
827
- body: K.value.body,
828
- config: K.value.config,
825
+ colNames: Q.value.colNames,
826
+ head: Q.value.head,
827
+ body: Q.value.body,
828
+ config: Q.value.config,
829
829
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
830
- onClose: a[2] || (a[2] = (t) => p.value.showTable = !1)
830
+ onClose: a[2] || (a[2] = (l) => p.value.showTable = !1)
831
831
  }, {
832
- th: w(({ th: t }) => [
833
- f("div", {
834
- innerHTML: t,
832
+ th: w(({ th: l }) => [
833
+ y("div", {
834
+ innerHTML: l,
835
835
  style: { display: "flex", "align-items": "center" }
836
836
  }, null, 8, st)
837
837
  ]),
838
- td: w(({ td: t }) => [
839
- Pe(_(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? o(F)(
838
+ td: w(({ td: l }) => [
839
+ Pe(C(l.name ? l.name : isNaN(Number(l)) ? l.includes("%") ? o(T)(
840
840
  e.value.style.chart.layout.labels.percentage.formatter,
841
- t,
842
- o(C)({
843
- v: t,
841
+ l,
842
+ o(x)({
843
+ v: l,
844
844
  s: "%",
845
845
  r: e.value.style.chart.layout.labels.percentage.rounding
846
846
  })
847
- ) : t : o(F)(
847
+ ) : l : o(T)(
848
848
  e.value.style.chart.layout.labels.value.formatter,
849
- t,
850
- o(C)({
849
+ l,
850
+ o(x)({
851
851
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
852
- v: t,
852
+ v: l,
853
853
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
854
854
  r: e.value.style.chart.layout.labels.value.rounding
855
855
  })
@@ -862,7 +862,7 @@ const Cl = (G) => (Je("data-v-21a9622a"), G = G(), Ke(), G), xl = ["id"], $l = [
862
862
  }, 8, ["config"])) : d("", !0)
863
863
  ], 14, xl));
864
864
  }
865
- }, wt = /* @__PURE__ */ _l(rt, [["__scopeId", "data-v-21a9622a"]]);
865
+ }, wt = /* @__PURE__ */ _l(rt, [["__scopeId", "data-v-036ff913"]]);
866
866
  export {
867
867
  wt as default
868
868
  };