vue-data-ui 3.5.0 → 3.5.1

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 (144) hide show
  1. package/README.md +26 -0
  2. package/dist/{ColorPicker-J5wOPCeB.js → ColorPicker-ChuwChMo.js} +58 -56
  3. package/dist/{NonSvgPenAndPaper-C7TRn0_3.js → NonSvgPenAndPaper-DVgKKLIf.js} +1 -1
  4. package/dist/{PackageVersion-Cyx_s25h.js → PackageVersion-DQvyATVa.js} +1 -1
  5. package/dist/PenAndPaper-SZQIAgkg.js +388 -0
  6. package/dist/{Title-l36lOBMx.js → Title-isbiM8i8.js} +1 -1
  7. package/dist/components/vue-ui-3d-bar.js +1 -1
  8. package/dist/components/vue-ui-accordion.js +1 -1
  9. package/dist/components/vue-ui-age-pyramid.js +1 -1
  10. package/dist/components/vue-ui-annotator.js +1 -1
  11. package/dist/components/vue-ui-bullet.js +1 -1
  12. package/dist/components/vue-ui-candlestick.js +1 -1
  13. package/dist/components/vue-ui-carousel-table.js +1 -1
  14. package/dist/components/vue-ui-chestnut.js +1 -1
  15. package/dist/components/vue-ui-chord.js +1 -1
  16. package/dist/components/vue-ui-circle-pack.js +1 -1
  17. package/dist/components/vue-ui-cursor.js +1 -1
  18. package/dist/components/vue-ui-dashboard.js +1 -1
  19. package/dist/components/vue-ui-digits.js +1 -1
  20. package/dist/components/vue-ui-donut-evolution.js +1 -1
  21. package/dist/components/vue-ui-donut.js +1 -1
  22. package/dist/components/vue-ui-dumbbell.js +1 -1
  23. package/dist/components/vue-ui-flow.js +1 -1
  24. package/dist/components/vue-ui-funnel.js +1 -1
  25. package/dist/components/vue-ui-galaxy.js +1 -1
  26. package/dist/components/vue-ui-gauge.js +1 -1
  27. package/dist/components/vue-ui-gizmo.js +1 -1
  28. package/dist/components/vue-ui-heatmap.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-mini-loader.js +1 -1
  33. package/dist/components/vue-ui-molecule.js +1 -1
  34. package/dist/components/vue-ui-mood-radar.js +1 -1
  35. package/dist/components/vue-ui-nested-donuts.js +1 -1
  36. package/dist/components/vue-ui-onion.js +1 -1
  37. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  38. package/dist/components/vue-ui-quadrant.js +1 -1
  39. package/dist/components/vue-ui-quick-chart.js +1 -1
  40. package/dist/components/vue-ui-radar.js +1 -1
  41. package/dist/components/vue-ui-rating.js +1 -1
  42. package/dist/components/vue-ui-relation-circle.js +1 -1
  43. package/dist/components/vue-ui-ridgeline.js +1 -1
  44. package/dist/components/vue-ui-rings.js +1 -1
  45. package/dist/components/vue-ui-scatter.js +1 -1
  46. package/dist/components/vue-ui-skeleton.js +1 -1
  47. package/dist/components/vue-ui-smiley.js +1 -1
  48. package/dist/components/vue-ui-spark-trend.js +1 -1
  49. package/dist/components/vue-ui-sparkbar.js +1 -1
  50. package/dist/components/vue-ui-sparkgauge.js +1 -1
  51. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  52. package/dist/components/vue-ui-sparkline.js +1 -1
  53. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  54. package/dist/components/vue-ui-stackbar.js +1 -1
  55. package/dist/components/vue-ui-strip-plot.js +1 -1
  56. package/dist/components/vue-ui-table-heatmap.js +1 -1
  57. package/dist/components/vue-ui-table-sparkline.js +1 -1
  58. package/dist/components/vue-ui-table.js +1 -1
  59. package/dist/components/vue-ui-thermometer.js +1 -1
  60. package/dist/components/vue-ui-timer.js +1 -1
  61. package/dist/components/vue-ui-tiremarks.js +1 -1
  62. package/dist/components/vue-ui-treemap.js +1 -1
  63. package/dist/components/vue-ui-vertical-bar.js +1 -1
  64. package/dist/components/vue-ui-waffle.js +1 -1
  65. package/dist/components/vue-ui-wheel.js +1 -1
  66. package/dist/components/vue-ui-word-cloud.js +1 -1
  67. package/dist/components/vue-ui-world.js +1 -1
  68. package/dist/components/vue-ui-xy-canvas.js +1 -1
  69. package/dist/components/vue-ui-xy.js +1 -1
  70. package/dist/style.css +1 -1
  71. package/dist/types/vue-data-ui.d.ts +17 -8
  72. package/dist/{useNestedProp-BjZe1Y85.js → useNestedProp-DjGXw6S9.js} +22 -8
  73. package/dist/{vue-data-ui-DxgRqCAo.js → vue-data-ui-B_RxfmEm.js} +63 -63
  74. package/dist/vue-data-ui.js +64 -64
  75. package/dist/{vue-ui-3d-bar-DmNJp8SY.js → vue-ui-3d-bar-CMNYyVa2.js} +454 -434
  76. package/dist/{vue-ui-accordion-CZ0thhxa.js → vue-ui-accordion-CqhVCfc2.js} +1 -1
  77. package/dist/{vue-ui-age-pyramid-CPAP3sNY.js → vue-ui-age-pyramid-Vqa9iYXE.js} +180 -160
  78. package/dist/{vue-ui-annotator-BylDgUVb.js → vue-ui-annotator-nNv10fBm.js} +3 -3
  79. package/dist/{vue-ui-bullet-Ce6uvCQJ.js → vue-ui-bullet-BWEBeYV5.js} +190 -170
  80. package/dist/{vue-ui-candlestick-DewevWV_.js → vue-ui-candlestick-BoLzL0g1.js} +201 -181
  81. package/dist/{vue-ui-carousel-table-Dv1CDfE5.js → vue-ui-carousel-table-Bi6wvUUU.js} +2 -2
  82. package/dist/{vue-ui-chestnut-D9sdFZ4E.js → vue-ui-chestnut-BGz1TLXG.js} +375 -355
  83. package/dist/vue-ui-chord-CebhS7ln.js +1153 -0
  84. package/dist/{vue-ui-circle-pack-Be74QB_0.js → vue-ui-circle-pack-7PJVyKjp.js} +289 -269
  85. package/dist/{vue-ui-cursor-ik59bfC4.js → vue-ui-cursor-qYLAwvzn.js} +1 -1
  86. package/dist/vue-ui-dashboard-DcmMvhgM.js +432 -0
  87. package/dist/{vue-ui-digits-ByNNcWXi.js → vue-ui-digits-DyE8eU1m.js} +1 -1
  88. package/dist/{vue-ui-donut-BRGFcgxS.js → vue-ui-donut-CxZcJFTo.js} +462 -442
  89. package/dist/{vue-ui-donut-evolution-DJ0C-7jH.js → vue-ui-donut-evolution-BVYL-BUJ.js} +293 -273
  90. package/dist/{vue-ui-dumbbell-iQJ0BUhm.js → vue-ui-dumbbell-QxZn86A3.js} +210 -190
  91. package/dist/{vue-ui-flow-CTYFoib3.js → vue-ui-flow-DEI5LRch.js} +339 -319
  92. package/dist/{vue-ui-funnel-CG55Xcdy.js → vue-ui-funnel-B_A5orFg.js} +218 -198
  93. package/dist/{vue-ui-galaxy-BQrxjKZJ.js → vue-ui-galaxy-CUoDRr-O.js} +201 -181
  94. package/dist/{vue-ui-gauge-Tc-0NI0Y.js → vue-ui-gauge-46tSRZN5.js} +311 -291
  95. package/dist/{vue-ui-gizmo-P8h-gnLd.js → vue-ui-gizmo-BOgbsXao.js} +2 -2
  96. package/dist/{vue-ui-heatmap-BZimPzsL.js → vue-ui-heatmap-DKKjl1A2.js} +303 -283
  97. package/dist/{vue-ui-history-plot-BVzbuqYY.js → vue-ui-history-plot-C6p_aThr.js} +229 -209
  98. package/dist/{vue-ui-kpi-BGGff8LM.js → vue-ui-kpi-B1yJ83aF.js} +2 -2
  99. package/dist/{vue-ui-mini-loader-CSF-7TJL.js → vue-ui-mini-loader-BudcNBg-.js} +1 -1
  100. package/dist/{vue-ui-molecule-BALqwB8c.js → vue-ui-molecule-L90GnHee.js} +156 -136
  101. package/dist/{vue-ui-mood-radar-QJ5nlZby.js → vue-ui-mood-radar-Dhigm5rw.js} +266 -246
  102. package/dist/{vue-ui-nested-donuts-CmUabkkQ.js → vue-ui-nested-donuts-D0MCLs5n.js} +506 -486
  103. package/dist/{vue-ui-onion-DAOCf3f8.js → vue-ui-onion-B7yPJ3gL.js} +220 -200
  104. package/dist/{vue-ui-parallel-coordinate-plot-D8jTuFjq.js → vue-ui-parallel-coordinate-plot-DY21ivNe.js} +235 -215
  105. package/dist/{vue-ui-quadrant-CO52mSRY.js → vue-ui-quadrant-b0vMRaq-.js} +463 -443
  106. package/dist/{vue-ui-quick-chart-DEaVSldE.js → vue-ui-quick-chart-VK2EN7sh.js} +288 -268
  107. package/dist/{vue-ui-radar-C5V4hhbW.js → vue-ui-radar-B5Vkoz9M.js} +331 -311
  108. package/dist/{vue-ui-rating-CiMoFM_c.js → vue-ui-rating-BH4DW1ZY.js} +1 -1
  109. package/dist/{vue-ui-relation-circle-CbMM0Jka.js → vue-ui-relation-circle-XHbE-ZUX.js} +228 -208
  110. package/dist/{vue-ui-ridgeline-CXCIRDq6.js → vue-ui-ridgeline-CAMNq-p_.js} +242 -222
  111. package/dist/{vue-ui-rings-BpUcyqo7.js → vue-ui-rings-ImGOqm_J.js} +189 -169
  112. package/dist/{vue-ui-scatter--Dxe-hfO.js → vue-ui-scatter-CterNJYe.js} +275 -255
  113. package/dist/{vue-ui-skeleton-BWq-VDzg.js → vue-ui-skeleton-CykXHWj-.js} +2 -2
  114. package/dist/{vue-ui-smiley-sGFRbn31.js → vue-ui-smiley-DnGm6qrK.js} +1 -1
  115. package/dist/{vue-ui-spark-trend-T4J_YOa_.js → vue-ui-spark-trend-N1AsNQJA.js} +2 -2
  116. package/dist/{vue-ui-sparkbar-DnKP55Vu.js → vue-ui-sparkbar-Bvsi5DTT.js} +2 -2
  117. package/dist/{vue-ui-sparkgauge-BDQLP-zi.js → vue-ui-sparkgauge-DyJmWCWT.js} +2 -2
  118. package/dist/{vue-ui-sparkhistogram-Dm7QXrA-.js → vue-ui-sparkhistogram-5eKrkmSb.js} +143 -140
  119. package/dist/{vue-ui-sparkline-tXGDLHRy.js → vue-ui-sparkline-ChKAzlVq.js} +2 -2
  120. package/dist/{vue-ui-sparkstackbar-M53Nt07M.js → vue-ui-sparkstackbar-BXNy6nuw.js} +2 -2
  121. package/dist/vue-ui-stackbar-1IwvUYBO.js +1827 -0
  122. package/dist/{vue-ui-strip-plot-BX9i3wMn.js → vue-ui-strip-plot-B1wGxP8-.js} +245 -225
  123. package/dist/{vue-ui-table-7r02N9R9.js → vue-ui-table-DSsIrT4L.js} +3 -3
  124. package/dist/{vue-ui-table-heatmap-BqCEBoUf.js → vue-ui-table-heatmap-DXFHy7-E.js} +1 -1
  125. package/dist/{vue-ui-table-sparkline-DZaAh10E.js → vue-ui-table-sparkline-DpqY_4ay.js} +2 -2
  126. package/dist/vue-ui-thermometer-CMKvSA8p.js +584 -0
  127. package/dist/{vue-ui-timer-Ds-MJoW2.js → vue-ui-timer-BpdCY_wg.js} +3 -3
  128. package/dist/vue-ui-tiremarks-CNipzVli.js +450 -0
  129. package/dist/{vue-ui-treemap-BEvl8hiw.js → vue-ui-treemap-DPE8SY0_.js} +453 -433
  130. package/dist/{vue-ui-vertical-bar-D8dtM8sw.js → vue-ui-vertical-bar-ZU1GCbX0.js} +323 -303
  131. package/dist/{vue-ui-waffle-B3q-2SCR.js → vue-ui-waffle-z7nuSuSV.js} +219 -199
  132. package/dist/vue-ui-wheel-DLRoRjeM.js +663 -0
  133. package/dist/{vue-ui-word-cloud-ChT7uLbN.js → vue-ui-word-cloud-D2r5E3pP.js} +248 -228
  134. package/dist/{vue-ui-world-CdP4g_3_.js → vue-ui-world-goXYnTyM.js} +287 -267
  135. package/dist/{vue-ui-xy-B68qQ-gX.js → vue-ui-xy-NDDbNbds.js} +389 -369
  136. package/dist/{vue-ui-xy-canvas-DDngEA1s.js → vue-ui-xy-canvas-2a6NlQe3.js} +4 -4
  137. package/package.json +4 -4
  138. package/dist/PenAndPaper-DSvu9dwa.js +0 -373
  139. package/dist/vue-ui-chord-BG4dxKNA.js +0 -1133
  140. package/dist/vue-ui-dashboard-C4BLwHey.js +0 -412
  141. package/dist/vue-ui-stackbar-CkBOjryQ.js +0 -1724
  142. package/dist/vue-ui-thermometer-CFPt3MOv.js +0 -564
  143. package/dist/vue-ui-tiremarks-2eIQ6vxu.js +0 -430
  144. package/dist/vue-ui-wheel-BpirIgAG.js +0 -643
@@ -1,7 +1,7 @@
1
- import { defineAsyncComponent as F, ref as i, shallowRef as xt, computed as y, onMounted as dl, toRefs as hl, nextTick as Ie, watch as ie, watchEffect as yl, onBeforeUnmount as gl, createElementBlock as n, openBlock as u, unref as c, normalizeStyle as Z, normalizeClass as P, createBlock as D, createCommentVNode as v, createElementVNode as b, createSlots as kt, withCtx as x, renderSlot as A, normalizeProps as ee, guardReactiveProps as te, createVNode as wt, Fragment as $, renderList as z, toDisplayString as w, Teleport as fl, resolveDynamicComponent as bl, mergeProps as ml, createTextVNode as Te } from "vue";
2
- import { c as Ct, o as _t, f as ce, g as pl, t as xl, b as kl, p as ve, O as Lt, e as wl, h as De, a1 as Cl, m as At, T as Oe, a as Ne, d as de, X as _l, s as le, a2 as Ll, M as Al, V as Sl, W as $l, Y as St, P as zl, Q as Il, a3 as $t, a4 as Tl } from "./lib-C_mNZmhD.js";
1
+ import { defineAsyncComponent as B, ref as i, shallowRef as xt, computed as y, onMounted as dl, toRefs as hl, nextTick as Ie, watch as ie, watchEffect as yl, onBeforeUnmount as gl, createElementBlock as s, openBlock as u, unref as c, normalizeStyle as te, normalizeClass as P, createBlock as D, createCommentVNode as v, createElementVNode as m, withCtx as f, renderSlot as p, normalizeProps as R, guardReactiveProps as E, createSlots as kt, createVNode as wt, Fragment as $, renderList as z, toDisplayString as C, Teleport as fl, resolveDynamicComponent as bl, mergeProps as ml, createTextVNode as Te } from "vue";
2
+ import { c as Ct, o as Lt, f as ce, g as pl, t as xl, b as kl, p as ve, O as _t, e as wl, h as De, a1 as Cl, m as At, T as Oe, a as Ne, d as de, X as Ll, s as le, a2 as _l, M as Al, V as Sl, W as $l, Y as St, P as zl, Q as Il, a3 as $t, a4 as Tl } from "./lib-C_mNZmhD.js";
3
3
  import { t as zt, u as Dl } from "./useResponsive-DfdjqQps.js";
4
- import { u as Ol, a as It } from "./useNestedProp-BjZe1Y85.js";
4
+ import { u as Ol, a as It } from "./useNestedProp-DjGXw6S9.js";
5
5
  import { u as Nl } from "./usePrinter-DTzqpYKF.js";
6
6
  import { u as Pl, B as Rl } from "./BaseScanner-BgWxam9d.js";
7
7
  import { u as El } from "./useSvgExport-DrjCWun4.js";
@@ -10,12 +10,12 @@ import { u as Vl } from "./useUserOptionState-BIvW1Kz7.js";
10
10
  import { u as Bl } from "./useChartAccessibility-9icAAmYg.js";
11
11
  import { u as Ml } from "./useTimeLabelCollider-CIsgDrl9.js";
12
12
  import Hl from "./img-BecE5qXd.js";
13
- import Ul from "./Title-l36lOBMx.js";
13
+ import Ul from "./Title-isbiM8i8.js";
14
14
  import { t as Xl } from "./themes-AUNCOb2G.js";
15
15
  import Wl from "./Legend-G6GMcdAc.js";
16
16
  import { S as Gl } from "./Slicer-D2wm0coO.js";
17
17
  import { _ as Yl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
- const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "width", "height"], Kl = ["id"], Zl = ["stop-color"], ea = ["stop-color"], ta = ["id"], la = ["stop-color"], aa = ["stop-color"], oa = ["stop-color"], ua = { key: 1 }, sa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], na = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ra = { key: 0 }, ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ca = ["font-size", "fill", "transform"], va = ["x", "y", "font-size", "fill"], da = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ha = ["x", "y", "font-size", "fill", "font-weight"], ya = { key: 0 }, ga = ["text-anchor", "font-size", "fill", "transform"], fa = ["text-anchor", "font-size", "fill", "transform", "innerHTML"], ba = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ma = { key: 1 }, pa = ["cx", "cy", "r", "fill"], xa = { key: 0 }, ka = { key: 0 }, wa = ["d", "stroke"], Ca = ["text-anchor", "x", "y", "fill"], _a = ["cx", "cy", "r", "fill"], La = { key: 0 }, Aa = ["cx", "cy", "fill"], Sa = { key: 1 }, $a = ["d", "fill", "stroke"], za = { key: 2 }, Ia = ["d", "fill", "stroke"], Ta = ["x", "y", "font-size", "fill"], Da = ["x", "y", "width", "height", "fill"], Oa = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], Na = {
18
+ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "width", "height"], Kl = ["id"], Zl = ["stop-color"], ea = ["stop-color"], ta = ["id"], la = ["stop-color"], aa = ["stop-color"], oa = ["stop-color"], ua = { key: 1 }, na = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], sa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ra = { key: 0 }, ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ca = ["font-size", "fill", "transform"], va = ["x", "y", "font-size", "fill"], da = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ha = ["x", "y", "font-size", "fill", "font-weight"], ya = { key: 0 }, ga = ["text-anchor", "font-size", "fill", "transform"], fa = ["text-anchor", "font-size", "fill", "transform", "innerHTML"], ba = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ma = { key: 1 }, pa = ["cx", "cy", "r", "fill"], xa = { key: 0 }, ka = { key: 0 }, wa = ["d", "stroke"], Ca = ["text-anchor", "x", "y", "fill"], La = ["cx", "cy", "r", "fill"], _a = { key: 0 }, Aa = ["cx", "cy", "fill"], Sa = { key: 1 }, $a = ["d", "fill", "stroke"], za = { key: 2 }, Ia = ["d", "fill", "stroke"], Ta = ["x", "y", "font-size", "fill"], Da = ["x", "y", "width", "height", "fill"], Oa = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], Na = {
19
19
  key: 4,
20
20
  class: "vue-data-ui-watermark"
21
21
  }, Pa = ["id"], Ra = ["onClick"], Ea = { key: 0 }, Fa = { key: 1 }, Va = {
@@ -36,17 +36,17 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
36
36
  },
37
37
  emits: ["selectLegend"],
38
38
  setup(Tt, { expose: Dt, emit: Ot }) {
39
- const Nt = F(() => import("./vue-ui-accordion-CZ0thhxa.js")), Pt = F(() => import("./BaseIcon-BmMbm4d0.js")), Rt = F(() => import("./DataTable-BT7VF2ua.js")), Et = F(() => import("./PackageVersion-Cyx_s25h.js")), Ft = F(() => import("./PenAndPaper-DSvu9dwa.js")), Vt = F(() => import("./UserOptions-CGnQt6Fd.js")), Bt = F(() => import("./vue-ui-donut-BRGFcgxS.js")), Pe = F(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_donut_evolution: Mt } = Ol(), m = Tt, O = i(Ct()), k = i([]), f = i(null), ae = i(null), he = i(!1), V = i(null), R = i(null), Ht = i(null), Re = i(0), Ee = i(0), Fe = i(0), Ve = i(0), Be = i(0), ye = i(null), oe = i(null), ge = i(null), fe = i(null), Me = i(!1), j = i(null), be = i(null), He = i(null), Ue = i(null), Xe = i(null), We = i(null), Ge = i(null), me = i(!1), q = xt(null), ue = xt(null), Ye = i(null), je = Ot, qe = y(() => !!m.dataset && m.dataset.length);
39
+ const Nt = B(() => import("./vue-ui-accordion-CqhVCfc2.js")), Pt = B(() => import("./BaseIcon-BmMbm4d0.js")), Rt = B(() => import("./DataTable-BT7VF2ua.js")), Et = B(() => import("./PackageVersion-DQvyATVa.js")), Ft = B(() => import("./PenAndPaper-SZQIAgkg.js")), Vt = B(() => import("./UserOptions-CGnQt6Fd.js")), Bt = B(() => import("./vue-ui-donut-CxZcJFTo.js")), Pe = B(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_donut_evolution: Mt } = Ol(), x = Tt, O = i(Ct()), w = i([]), b = i(null), ae = i(null), he = i(!1), M = i(null), F = i(null), Ht = i(null), Re = i(0), Ee = i(0), Fe = i(0), Ve = i(0), Be = i(0), ye = i(null), oe = i(null), ge = i(null), fe = i(null), Me = i(!1), Q = i(null), be = i(null), He = i(null), Ue = i(null), Xe = i(null), We = i(null), Ge = i(null), me = i(!1), J = xt(null), ue = xt(null), Ye = i(null), je = Ot, qe = y(() => !!x.dataset && x.dataset.length);
40
40
  dl(() => {
41
41
  Me.value = !0, Qe();
42
42
  });
43
- const se = y(() => !!e.value.debug);
43
+ const ne = y(() => !!e.value.debug);
44
44
  function Qe() {
45
- if (_t(m.dataset) ? (ce({
45
+ if (Lt(x.dataset) ? (ce({
46
46
  componentName: "VueUiDonutEvolution",
47
47
  type: "dataset",
48
- debug: se.value
49
- }), ne.value = !0) : m.dataset.length && m.dataset.forEach((t, a) => {
48
+ debug: ne.value
49
+ }), se.value = !0) : x.dataset.length && x.dataset.forEach((t, a) => {
50
50
  pl({
51
51
  datasetObject: t,
52
52
  requiredAttributes: ["name", "values"]
@@ -56,32 +56,32 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
56
56
  type: "datasetSerieAttribute",
57
57
  property: l,
58
58
  index: a,
59
- debug: se.value
60
- }), ne.value = !0;
59
+ debug: ne.value
60
+ }), se.value = !0;
61
61
  });
62
- }), _t(m.dataset) || (ne.value = e.value.loading), setTimeout(() => {
62
+ }), Lt(x.dataset) || (se.value = e.value.loading), setTimeout(() => {
63
63
  me.value = !0;
64
64
  }, 10), xe(), e.value.responsive) {
65
65
  const t = zt(() => {
66
66
  me.value = !1;
67
67
  const { width: a, height: l } = Dl({
68
- chart: R.value,
68
+ chart: F.value,
69
69
  title: e.value.style.chart.title.text ? He.value : null,
70
70
  legend: e.value.style.chart.legend.show ? Ue.value : null,
71
71
  slicer: e.value.style.chart.zoom.show && Ke.value > 1 ? Ge.value : null,
72
72
  source: Xe.value
73
73
  });
74
74
  requestAnimationFrame(() => {
75
- X.value.width = a, X.value.height = l - 12, clearTimeout(Ye.value), Ye.value = setTimeout(() => {
75
+ G.value.width = a, G.value.height = l - 12, clearTimeout(Ye.value), Ye.value = setTimeout(() => {
76
76
  me.value = !0;
77
77
  }, 10);
78
78
  });
79
79
  });
80
- q.value && (ue.value && q.value.unobserve(ue.value), q.value.disconnect()), q.value = new ResizeObserver(t), ue.value = R.value.parentNode, q.value.observe(ue.value);
80
+ J.value && (ue.value && J.value.unobserve(ue.value), J.value.disconnect()), J.value = new ResizeObserver(t), ue.value = F.value.parentNode, J.value.observe(ue.value);
81
81
  }
82
82
  }
83
- const e = i(Ce()), { loading: Je, FINAL_DATASET: pe, manualLoading: ne } = Pl({
84
- ...hl(m),
83
+ const e = i(Ce()), { loading: Je, FINAL_DATASET: pe, manualLoading: se } = Pl({
84
+ ...hl(x),
85
85
  FINAL_CONFIG: e,
86
86
  prepareConfig: Ce,
87
87
  callback: () => {
@@ -148,7 +148,7 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
148
148
  }
149
149
  }
150
150
  })
151
- }), X = i({
151
+ }), G = i({
152
152
  width: e.value.style.chart.layout.width,
153
153
  height: e.value.style.chart.layout.height
154
154
  }), Ke = y(() => Math.max(...pe.value.map((t) => t.values.length))), h = i({
@@ -173,36 +173,36 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
173
173
  const { userOptionsVisible: ke, setUserOptionsVisibility: et, keepUserOptionState: tt } = Vl({ config: e.value }), { svgRef: we } = Bl({ config: e.value.style.chart.title });
174
174
  function Ce() {
175
175
  const t = It({
176
- userConfig: m.config,
176
+ userConfig: x.config,
177
177
  defaultConfig: Mt
178
178
  });
179
179
  let a = {};
180
180
  return t.theme ? a = {
181
181
  ...It({
182
- userConfig: Xl.vue_ui_donut_evolution[t.theme] || m.config,
182
+ userConfig: Xl.vue_ui_donut_evolution[t.theme] || x.config,
183
183
  defaultConfig: t
184
184
  }),
185
185
  customPalette: kl[t.theme] || ve
186
- } : a = t, m.config && Lt(m.config, "style.chart.zoom.startIndex") ? a.style.chart.zoom.startIndex = m.config.style.chart.zoom.startIndex : a.style.chart.zoom.startIndex = null, m.config && Lt(m.config, "style.chart.zoom.endIndex") ? a.style.chart.zoom.endIndex = m.config.style.chart.zoom.endIndex : a.style.chart.zoom.endIndex = null, a;
186
+ } : a = t, x.config && _t(x.config, "style.chart.zoom.startIndex") ? a.style.chart.zoom.startIndex = x.config.style.chart.zoom.startIndex : a.style.chart.zoom.startIndex = null, x.config && _t(x.config, "style.chart.zoom.endIndex") ? a.style.chart.zoom.endIndex = x.config.style.chart.zoom.endIndex : a.style.chart.zoom.endIndex = null, a;
187
187
  }
188
- ie(() => m.config, (t) => {
189
- Je.value || (e.value = Ce()), ke.value = !e.value.userOptions.showOnChartHover, Qe(), Fe.value += 1, Ve.value += 1, Be.value += 1, B.value.showTable = e.value.table.show;
190
- }, { deep: !0 }), ie(() => m.dataset, (t) => {
191
- Array.isArray(t) && t.length > 0 && (ne.value = !1), Ze();
188
+ ie(() => x.config, (t) => {
189
+ Je.value || (e.value = Ce()), ke.value = !e.value.userOptions.showOnChartHover, Qe(), Fe.value += 1, Ve.value += 1, Be.value += 1, H.value.showTable = e.value.table.show;
190
+ }, { deep: !0 }), ie(() => x.dataset, (t) => {
191
+ Array.isArray(t) && t.length > 0 && (se.value = !1), Ze();
192
192
  }, { deep: !0 });
193
193
  const { isPrinting: lt, isImaging: at, generatePdf: ot, generateImage: ut } = Nl({
194
194
  elementId: O.value,
195
195
  fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution",
196
196
  options: e.value.userOptions.print
197
- }), Xt = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), Wt = y(() => wl(e.value.customPalette)), B = i({
197
+ }), Xt = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), Wt = y(() => wl(e.value.customPalette)), H = i({
198
198
  showTable: e.value.table.show
199
199
  });
200
200
  ie(e, () => {
201
- B.value = {
201
+ H.value = {
202
202
  showTable: e.value.table.show
203
203
  };
204
204
  }, { immediate: !0 });
205
- const M = y(() => ({
205
+ const U = y(() => ({
206
206
  top: e.value.style.chart.layout.padding.top,
207
207
  right: e.value.style.chart.layout.padding.right,
208
208
  bottom: e.value.style.chart.layout.padding.bottom,
@@ -217,37 +217,37 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
217
217
  const a = fe.value ? fe.value.getBoundingClientRect().width + e.value.style.chart.layout.grid.axis.yLabelOffsetX + e.value.style.chart.layout.grid.axis.fontSize : 0;
218
218
  return t + a + 5;
219
219
  }
220
- const _e = i(0), Yt = zt((t) => {
221
- _e.value = t;
220
+ const Le = i(0), Yt = zt((t) => {
221
+ Le.value = t;
222
222
  }, 100);
223
223
  yl((t) => {
224
224
  const a = oe.value;
225
225
  if (!a) return;
226
- const l = new ResizeObserver((s) => {
227
- Yt(s[0].contentRect.height);
226
+ const l = new ResizeObserver((n) => {
227
+ Yt(n[0].contentRect.height);
228
228
  });
229
229
  l.observe(a), t(() => l.disconnect());
230
230
  }), gl(() => {
231
- _e.value = 0;
231
+ Le.value = 0;
232
232
  });
233
- const st = y(() => {
233
+ const nt = y(() => {
234
234
  let t = 0;
235
235
  ge.value && (t = ge.value.getBBox().height);
236
236
  let a = 0;
237
- return oe.value && (a = _e.value), t + a + e.value.style.chart.layout.grid.axis.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
237
+ return oe.value && (a = Le.value), t + a + e.value.style.chart.layout.grid.axis.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
238
238
  }), r = y(() => {
239
- const t = Gt(), a = e.value.style.chart.layout.dataLabels.fontSize * 3, l = X.value.width, s = X.value.height, o = M.value.left + t, g = l - M.value.right, d = l - o - M.value.right, p = s - M.value.top - M.value.bottom - a - st.value, Y = M.value.top + a, E = s - M.value.bottom - st.value;
239
+ const t = Gt(), a = e.value.style.chart.layout.dataLabels.fontSize * 3, l = G.value.width, n = G.value.height, o = U.value.left + t, g = l - U.value.right, d = l - o - U.value.right, k = n - U.value.top - U.value.bottom - a - nt.value, q = U.value.top + a, V = n - U.value.bottom - nt.value;
240
240
  return {
241
- top: Y,
241
+ top: q,
242
242
  left: o,
243
243
  right: g,
244
- bottom: E,
245
- absoluteHeight: s,
244
+ bottom: V,
245
+ absoluteHeight: n,
246
246
  absoluteWidth: l,
247
247
  centerX: o + Math.max(10, d) / 2,
248
- centerY: Y + Math.max(10, p) / 2,
248
+ centerY: q + Math.max(10, k) / 2,
249
249
  width: Math.max(10, d),
250
- height: Math.max(10, p)
250
+ height: Math.max(10, k)
251
251
  };
252
252
  }), N = y(() => (pe.value.forEach((t, a) => {
253
253
  [null, void 0].includes(t.name) && ce({
@@ -255,13 +255,13 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
255
255
  type: "datasetSerieAttribute",
256
256
  property: "name",
257
257
  index: a,
258
- debug: se.value
258
+ debug: ne.value
259
259
  }), [null, void 0].includes(t.values) && ce({
260
260
  componentName: "VueUiDonutEvolution",
261
261
  type: "datasetSerieAttribute",
262
262
  property: "values",
263
263
  index: a,
264
- debug: se.value
264
+ debug: ne.value
265
265
  });
266
266
  }), pe.value.map((t, a) => ({
267
267
  ...t,
@@ -269,52 +269,52 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
269
269
  color: De(t.color) || Wt.value[a] || ve[a] || ve[a % ve.length],
270
270
  length: (t.values || []).length,
271
271
  uid: Ct()
272
- })))), H = y(() => N.value.filter((t) => !k.value.includes(t.uid)).map((t) => ({
272
+ })))), X = y(() => N.value.filter((t) => !w.value.includes(t.uid)).map((t) => ({
273
273
  ...t,
274
274
  values: t.values.filter((a, l) => l >= h.value.start && l <= h.value.end)
275
- }))), I = y(() => Math.max(...H.value.map((t) => t.length))), _ = y(() => Fl({
275
+ }))), I = y(() => Math.max(...X.value.map((t) => t.length))), _ = y(() => Fl({
276
276
  values: e.value.style.chart.layout.grid.xAxis.dataLabels.values,
277
277
  maxDatapoints: I.value,
278
278
  formatter: e.value.style.chart.layout.grid.xAxis.dataLabels.datetimeFormatter,
279
279
  start: h.value.start,
280
280
  end: h.value.end
281
- })), C = y(() => r.value.width / (h.value.end - h.value.start)), L = y(() => {
281
+ })), L = y(() => r.value.width / (h.value.end - h.value.start)), A = y(() => {
282
282
  const t = [];
283
283
  for (let o = 0; o < h.value.end - h.value.start; o += 1) {
284
- const g = H.value.map((T) => T.values[o] ?? null), d = g.filter((T) => [void 0, null].includes(T)).length === g.length, p = g.reduce((T, S) => T + S, 0), Y = g.map((T) => T / p), E = r.value.left + C.value * o + C.value / 2;
284
+ const g = X.value.map((T) => T.values[o] ?? null), d = g.filter((T) => [void 0, null].includes(T)).length === g.length, k = g.reduce((T, S) => T + S, 0), q = g.map((T) => T / k), V = r.value.left + L.value * o + L.value / 2;
285
285
  t.push({
286
286
  index: o,
287
- percentages: Y,
288
- subtotal: d || p < 0 ? null : p,
287
+ percentages: q,
288
+ subtotal: d || k < 0 ? null : k,
289
289
  values: g,
290
- x: E
290
+ x: V
291
291
  });
292
292
  }
293
- const a = 0, l = Math.max(...t.map((o) => o.subtotal)), s = t.length === 1 ? l * 2 : l;
293
+ const a = 0, l = Math.max(...t.map((o) => o.subtotal)), n = t.length === 1 ? l * 2 : l;
294
294
  return t.map((o, g) => {
295
- const d = Math.min(r.value.width / 24, C.value / 2 * 0.7), p = d > r.value.width / 16 ? r.value.width / 16 : d, Y = f.value === o.index ? r.value.width / 16 : p, E = t.length > 4 ? d * 2 : d * 2 > C.value / 2 * 0.7 ? C.value / 2 * 0.7 : d * 2, T = r.value.bottom - r.value.height * o.subtotal / At(a, s, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
295
+ const d = Math.min(r.value.width / 24, L.value / 2 * 0.7), k = d > r.value.width / 16 ? r.value.width / 16 : d, q = b.value === o.index ? r.value.width / 16 : k, V = t.length > 4 ? d * 2 : d * 2 > L.value / 2 * 0.7 ? L.value / 2 * 0.7 : d * 2, T = r.value.bottom - r.value.height * o.subtotal / At(a, n, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
296
296
  return {
297
297
  ...o,
298
298
  y: T,
299
- radius: p,
300
- activeRadius: Y,
301
- hoverRadius: E,
299
+ radius: k,
300
+ activeRadius: q,
301
+ hoverRadius: V,
302
302
  donut: Oe({
303
- series: H.value.map((S, pt) => ({
303
+ series: X.value.map((S, pt) => ({
304
304
  color: S.color,
305
305
  name: S.name,
306
306
  value: S.values[g] ?? 0
307
307
  }))
308
- }, o.x, T, p, p, 1.99999, 2, 1, 360, 105.25, p / 2),
308
+ }, o.x, T, k, k, 1.99999, 2, 1, 360, 105.25, k / 2),
309
309
  donutHover: Oe({
310
- series: H.value.map((S, pt) => ({
310
+ series: X.value.map((S, pt) => ({
311
311
  color: S.color,
312
312
  name: S.name,
313
313
  value: S.values[g] ?? 0
314
314
  }))
315
- }, o.x, T, E, E, 1.99999, 2, 1, 360, 105.25, E / 2),
315
+ }, o.x, T, V, V, 1.99999, 2, 1, 360, 105.25, V / 2),
316
316
  donutFocus: Oe({
317
- series: H.value.map((S, pt) => ({
317
+ series: X.value.map((S, pt) => ({
318
318
  color: S.color,
319
319
  name: S.name,
320
320
  value: S.values[g] ?? 0
@@ -323,7 +323,7 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
323
323
  };
324
324
  });
325
325
  });
326
- function nt(t, a, l) {
326
+ function st(t, a, l) {
327
327
  return Ne(
328
328
  e.value.style.chart.layout.dataLabels.formatter,
329
329
  t,
@@ -336,17 +336,17 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
336
336
  { datapoint: a, index: l }
337
337
  );
338
338
  }
339
- const Le = y(() => ({
340
- max: Math.max(...L.value.map((t) => t.subtotal)),
339
+ const _e = y(() => ({
340
+ max: Math.max(...A.value.map((t) => t.subtotal)),
341
341
  min: 0
342
- })), W = y(() => {
343
- const t = L.value.length === 1 ? Le.value.max * 2 : Le.value.max;
344
- return At(Le.value.min, t, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
342
+ })), Y = y(() => {
343
+ const t = A.value.length === 1 ? _e.value.max * 2 : _e.value.max;
344
+ return At(_e.value.min, t, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
345
345
  });
346
346
  function jt(t) {
347
- return t / W.value.max;
347
+ return t / Y.value.max;
348
348
  }
349
- const qt = y(() => W.value.ticks.map((t) => ({
349
+ const qt = y(() => Y.value.ticks.map((t) => ({
350
350
  y: r.value.bottom - r.value.height * jt(t),
351
351
  value: t
352
352
  })));
@@ -354,26 +354,26 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
354
354
  return isNaN(t.value / $t(a, "value")) ? 0 : (t.value / $t(a, "value") * 100).toFixed(0) + "%";
355
355
  }
356
356
  function rt(t) {
357
- f.value = null, ae.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.seriesIndex + h.value.start });
357
+ b.value = null, ae.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.seriesIndex + h.value.start });
358
358
  }
359
359
  function Jt(t) {
360
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.index + h.value.start }), f.value = t.index, ae.value = t;
360
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.index + h.value.start }), b.value = t.index, ae.value = t;
361
361
  }
362
- const Q = i(null);
362
+ const K = i(null);
363
363
  function it(t, a) {
364
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.index + h.value.start }), !(!t.subtotal || !e.value.style.chart.dialog.show) && (ae.value = null, f.value = null, he.value = !0, V.value = t, ll(t), [null, void 0].includes(a) || (Q.value = a));
364
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.index + h.value.start }), !(!t.subtotal || !e.value.style.chart.dialog.show) && (ae.value = null, b.value = null, he.value = !0, M.value = t, ll(t), [null, void 0].includes(a) || (K.value = a));
365
365
  }
366
366
  const Ae = y(() => N.value.map((t, a) => ({
367
367
  name: t.name,
368
- value: t.values.slice(h.value.start, h.value.end).reduce((l, s) => l + s, 0),
368
+ value: t.values.slice(h.value.start, h.value.end).reduce((l, n) => l + n, 0),
369
369
  shape: "circle",
370
370
  uid: t.uid,
371
371
  color: t.color
372
372
  })).sort((t, a) => a.value - t.value).map((t, a) => ({
373
373
  ...t,
374
- opacity: k.value.includes(t.uid) ? 0.5 : 1,
375
- segregate: () => J(t.uid),
376
- isSegregated: k.value.includes(t.uid),
374
+ opacity: w.value.includes(t.uid) ? 0.5 : 1,
375
+ segregate: () => Z(t.uid),
376
+ isSegregated: w.value.includes(t.uid),
377
377
  display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? Ne(
378
378
  e.value.style.chart.layout.dataLabels.formatter,
379
379
  t.value,
@@ -384,12 +384,12 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
384
384
  r: e.value.style.chart.legend.roundingValue
385
385
  }),
386
386
  { datapoint: t, seriesIndex: a }
387
- ) : ""}${e.value.style.chart.legend.showPercentage ? k.value.includes(t.uid) ? `${e.value.style.chart.legend.showValue ? " (" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? " (" : ""}${isNaN(t.value / ct.value) ? "-" : de({
387
+ ) : ""}${e.value.style.chart.legend.showPercentage ? w.value.includes(t.uid) ? `${e.value.style.chart.legend.showValue ? " (" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? " (" : ""}${isNaN(t.value / ct.value) ? "-" : de({
388
388
  v: t.value / ct.value * 100,
389
389
  s: "%",
390
390
  r: e.value.style.chart.legend.roundingPercentage
391
391
  })}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
392
- }))), ct = y(() => L.value.map((t) => t.subtotal).reduce((t, a) => t + a, 0)), Kt = y(() => ({
392
+ }))), ct = y(() => A.value.map((t) => t.subtotal).reduce((t, a) => t + a, 0)), Kt = y(() => ({
393
393
  cy: "donut-div-legend",
394
394
  backgroundColor: e.value.style.chart.legend.backgroundColor,
395
395
  color: e.value.style.chart.legend.color,
@@ -397,14 +397,14 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
397
397
  paddingBottom: 12,
398
398
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
399
399
  }));
400
- function J(t) {
401
- if (k.value.includes(t))
402
- k.value = k.value.filter((a) => a !== t), je("selectLegend", H.value);
400
+ function Z(t) {
401
+ if (w.value.includes(t))
402
+ w.value = w.value.filter((a) => a !== t), je("selectLegend", X.value);
403
403
  else {
404
- if (k.value.length === N.value.length - 1) return;
405
- k.value.push(t), je("selectLegend", H.value);
404
+ if (w.value.length === N.value.length - 1) return;
405
+ w.value.push(t), je("selectLegend", X.value);
406
406
  }
407
- V.value && it(L.value.find((a, l) => l === Q.value));
407
+ M.value && it(A.value.find((a, l) => l === K.value));
408
408
  }
409
409
  function vt(t) {
410
410
  if (!N.value.length)
@@ -414,21 +414,21 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
414
414
  }
415
415
  function Zt(t) {
416
416
  const a = vt(t);
417
- a !== null && k.value.includes(a.uid) && J(a.uid);
417
+ a !== null && w.value.includes(a.uid) && Z(a.uid);
418
418
  }
419
419
  function el(t) {
420
420
  const a = vt(t);
421
- a !== null && (k.value.includes(a.uid) || J(a.uid));
421
+ a !== null && (w.value.includes(a.uid) || Z(a.uid));
422
422
  }
423
- const G = y(() => {
424
- const t = [""].concat(N.value.filter((o) => !k.value.includes(o.uid)).map((o) => ({
423
+ const j = y(() => {
424
+ const t = [""].concat(N.value.filter((o) => !w.value.includes(o.uid)).map((o) => ({
425
425
  name: o.name,
426
426
  color: o.color
427
427
  }))).concat(["Σ"]);
428
428
  let a = [];
429
429
  for (let o = 0; o < I.value; o += 1) {
430
- const g = N.value.filter((d) => !k.value.includes(d.uid)).map((d) => d.values[o] ?? 0).reduce((d, p) => d + p, 0);
431
- a.push([_.value[o] ? _.value[o].text : "-"].concat(N.value.filter((d) => !k.value.includes(d.uid)).map((d) => ({
430
+ const g = N.value.filter((d) => !w.value.includes(d.uid)).map((d) => d.values[o] ?? 0).reduce((d, k) => d + k, 0);
431
+ a.push([_.value[o] ? _.value[o].text : "-"].concat(N.value.filter((d) => !w.value.includes(d.uid)).map((d) => ({
432
432
  value: d.values[o] ?? 0,
433
433
  percentage: d.values[o] ? d.values[o] / g * 100 : 0
434
434
  }))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(g.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
@@ -445,26 +445,26 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
445
445
  outline: e.value.table.td.outline
446
446
  },
447
447
  breakpoint: e.value.table.responsiveBreakpoint
448
- }, s = [
448
+ }, n = [
449
449
  e.value.table.columnNames.period
450
- ].concat(N.value.filter((o) => !k.value.includes(o.uid)).map((o) => o.name)).concat(e.value.table.columnNames.total);
451
- return { head: t, body: a, config: l, colNames: s };
450
+ ].concat(N.value.filter((o) => !w.value.includes(o.uid)).map((o) => o.name)).concat(e.value.table.columnNames.total);
451
+ return { head: t, body: a, config: l, colNames: n };
452
452
  });
453
453
  function tl() {
454
454
  return N.value;
455
455
  }
456
456
  function Se(t = null) {
457
457
  Ie(() => {
458
- const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = [...G.value.head.map((d) => d.name ?? d)], s = [...G.value.body.map((d) => d.map((p) => p.value ?? p))], o = a.concat([l]).concat(s), g = zl(o);
458
+ const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = [...j.value.head.map((d) => d.name ?? d)], n = [...j.value.body.map((d) => d.map((k) => k.value ?? k))], o = a.concat([l]).concat(n), g = zl(o);
459
459
  t ? t(g) : Il({ csvContent: g, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
460
460
  });
461
461
  }
462
- const U = i(!1);
462
+ const W = i(!1);
463
463
  function dt(t) {
464
- U.value = t, Re.value += 1;
464
+ W.value = t, Re.value += 1;
465
465
  }
466
466
  function ht() {
467
- B.value.showTable = !B.value.showTable;
467
+ H.value.showTable = !H.value.showTable;
468
468
  }
469
469
  const re = i(!1);
470
470
  function $e() {
@@ -486,18 +486,18 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
486
486
  }), ze.value && ze.value.open();
487
487
  }
488
488
  async function al({ scale: t = 2 } = {}) {
489
- if (!R.value) return;
490
- const { width: a, height: l } = R.value.getBoundingClientRect(), s = a / l, { imageUri: o, base64: g } = await Hl({ domElement: R.value, base64: !0, img: !0, scale: t });
489
+ if (!F.value) return;
490
+ const { width: a, height: l } = F.value.getBoundingClientRect(), n = a / l, { imageUri: o, base64: g } = await Hl({ domElement: F.value, base64: !0, img: !0, scale: t });
491
491
  return {
492
492
  imageUri: o,
493
493
  base64: g,
494
494
  title: e.value.style.chart.title.text,
495
495
  width: a,
496
496
  height: l,
497
- aspectRatio: s
497
+ aspectRatio: n
498
498
  };
499
499
  }
500
- const ol = y(() => X.value.width), ul = y(() => X.value.height);
500
+ const ol = y(() => G.value.width), ul = y(() => G.value.height);
501
501
  Ml({
502
502
  timeLabelsEls: oe,
503
503
  timeLabels: _,
@@ -510,8 +510,8 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
510
510
  height: ul,
511
511
  rotation: e.value.style.chart.layout.grid.xAxis.dataLabels.autoRotate.angle
512
512
  });
513
- const K = y(() => {
514
- const t = e.value.table.useDialog && !e.value.table.show, a = B.value.showTable;
513
+ const ee = y(() => {
514
+ const t = e.value.table.useDialog && !e.value.table.show, a = H.value.showTable;
515
515
  return {
516
516
  component: t ? Pe : Nt,
517
517
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
@@ -520,8 +520,8 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
520
520
  color: e.value.table.th.color,
521
521
  headerColor: e.value.table.th.color,
522
522
  headerBg: e.value.table.th.backgroundColor,
523
- isFullscreen: U.value,
524
- fullscreenParent: R.value,
523
+ isFullscreen: W.value,
524
+ fullscreenParent: F.value,
525
525
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
526
526
  } : {
527
527
  hideDetails: !0,
@@ -540,26 +540,26 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
540
540
  }
541
541
  };
542
542
  });
543
- ie(() => B.value.showTable, (t) => {
544
- e.value.table.show || (t && e.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
543
+ ie(() => H.value.showTable, (t) => {
544
+ e.value.table.show || (t && e.value.table.useDialog && Q.value ? Q.value.open() : "close" in Q.value && Q.value.close());
545
545
  });
546
546
  function bt() {
547
- B.value.showTable = !1, be.value && be.value.setTableIconState(!1);
547
+ H.value.showTable = !1, be.value && be.value.setTableIconState(!1);
548
548
  }
549
- const sl = y(() => Ae.value.map((t) => ({
549
+ const nl = y(() => Ae.value.map((t) => ({
550
550
  ...t,
551
551
  name: t.display
552
- }))), nl = y(() => e.value.style.chart.backgroundColor), rl = y(() => e.value.style.chart.legend), il = y(() => e.value.style.chart.title), { exportSvg: cl, getSvg: vl } = El({
552
+ }))), sl = y(() => e.value.style.chart.backgroundColor), rl = y(() => e.value.style.chart.legend), il = y(() => e.value.style.chart.title), { exportSvg: cl, getSvg: vl } = El({
553
553
  svg: we,
554
554
  title: il,
555
555
  legend: rl,
556
- legendItems: sl,
557
- backgroundColor: nl
556
+ legendItems: nl,
557
+ backgroundColor: sl
558
558
  });
559
559
  async function mt({ isCb: t }) {
560
560
  if (t) {
561
- const { blob: a, url: l, text: s, dataUrl: o } = await vl();
562
- e.value.userOptions.callbacks.svg({ blob: a, url: l, text: s, dataUrl: o });
561
+ const { blob: a, url: l, text: n, dataUrl: o } = await vl();
562
+ e.value.userOptions.callbacks.svg({ blob: a, url: l, text: n, dataUrl: o });
563
563
  } else
564
564
  cl();
565
565
  }
@@ -575,11 +575,11 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
575
575
  toggleTable: ht,
576
576
  toggleAnnotator: $e,
577
577
  toggleFullscreen: dt
578
- }), (t, a) => (u(), n("div", {
578
+ }), (t, a) => (u(), s("div", {
579
579
  ref_key: "donutEvolutionChart",
580
- ref: R,
581
- class: P(`vue-data-ui-component vue-ui-donut-evolution ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
582
- style: Z(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
580
+ ref: F,
581
+ class: P(`vue-data-ui-component vue-ui-donut-evolution ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
582
+ style: te(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
583
583
  id: O.value,
584
584
  onMouseenter: a[5] || (a[5] = () => c(et)(!0)),
585
585
  onMouseleave: a[6] || (a[6] = () => c(et)(!1))
@@ -591,15 +591,35 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
591
591
  color: e.value.style.chart.color,
592
592
  active: re.value,
593
593
  onClose: $e
594
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : v("", !0),
595
- Xt.value ? (u(), n("div", {
594
+ }, {
595
+ "annotator-action-close": f(() => [
596
+ p(t.$slots, "annotator-action-close", {}, void 0, !0)
597
+ ]),
598
+ "annotator-action-color": f(({ color: l }) => [
599
+ p(t.$slots, "annotator-action-color", R(E({ color: l })), void 0, !0)
600
+ ]),
601
+ "annotator-action-draw": f(({ mode: l }) => [
602
+ p(t.$slots, "annotator-action-draw", R(E({ mode: l })), void 0, !0)
603
+ ]),
604
+ "annotator-action-undo": f(({ disabled: l }) => [
605
+ p(t.$slots, "annotator-action-undo", R(E({ disabled: l })), void 0, !0)
606
+ ]),
607
+ "annotator-action-redo": f(({ disabled: l }) => [
608
+ p(t.$slots, "annotator-action-redo", R(E({ disabled: l })), void 0, !0)
609
+ ]),
610
+ "annotator-action-delete": f(({ disabled: l }) => [
611
+ p(t.$slots, "annotator-action-delete", R(E({ disabled: l })), void 0, !0)
612
+ ]),
613
+ _: 3
614
+ }, 8, ["svgRef", "backgroundColor", "color", "active"])) : v("", !0),
615
+ Xt.value ? (u(), s("div", {
596
616
  key: 1,
597
617
  ref_key: "noTitle",
598
618
  ref: Ht,
599
619
  class: "vue-data-ui-no-title-space",
600
620
  style: "height:36px; width: 100%;background:transparent"
601
621
  }, null, 512)) : v("", !0),
602
- e.value.style.chart.title.text ? (u(), n("div", {
622
+ e.value.style.chart.title.text ? (u(), s("div", {
603
623
  key: 2,
604
624
  ref_key: "chartTitle",
605
625
  ref: He,
@@ -620,7 +640,7 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
620
640
  }
621
641
  }, null, 8, ["config"]))
622
642
  ], 544)) : v("", !0),
623
- b("div", {
643
+ m("div", {
624
644
  id: `legend-top-${O.value}`
625
645
  }, null, 8, ql),
626
646
  e.value.userOptions.show && qe.value && (c(tt) || c(ke)) ? (u(), D(c(Vt), {
@@ -638,9 +658,9 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
638
658
  hasXls: e.value.userOptions.buttons.csv,
639
659
  hasTable: e.value.userOptions.buttons.table,
640
660
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
641
- isFullscreen: U.value,
661
+ isFullscreen: W.value,
642
662
  titles: { ...e.value.userOptions.buttonTitles },
643
- chartElement: R.value,
663
+ chartElement: F.value,
644
664
  position: e.value.userOptions.position,
645
665
  hasAnnotator: e.value.userOptions.buttons.annotator,
646
666
  isAnnotation: re.value,
@@ -654,77 +674,77 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
654
674
  onGenerateSvg: mt,
655
675
  onToggleTable: ht,
656
676
  onToggleAnnotator: $e,
657
- style: Z({
677
+ style: te({
658
678
  visibility: c(tt) ? c(ke) ? "visible" : "hidden" : "visible"
659
679
  })
660
680
  }, kt({ _: 2 }, [
661
681
  t.$slots.menuIcon ? {
662
682
  name: "menuIcon",
663
- fn: x(({ isOpen: l, color: s }) => [
664
- A(t.$slots, "menuIcon", ee(te({ isOpen: l, color: s })), void 0, !0)
683
+ fn: f(({ isOpen: l, color: n }) => [
684
+ p(t.$slots, "menuIcon", R(E({ isOpen: l, color: n })), void 0, !0)
665
685
  ]),
666
686
  key: "0"
667
687
  } : void 0,
668
688
  t.$slots.optionPdf ? {
669
689
  name: "optionPdf",
670
- fn: x(() => [
671
- A(t.$slots, "optionPdf", {}, void 0, !0)
690
+ fn: f(() => [
691
+ p(t.$slots, "optionPdf", {}, void 0, !0)
672
692
  ]),
673
693
  key: "1"
674
694
  } : void 0,
675
695
  t.$slots.optionCsv ? {
676
696
  name: "optionCsv",
677
- fn: x(() => [
678
- A(t.$slots, "optionCsv", {}, void 0, !0)
697
+ fn: f(() => [
698
+ p(t.$slots, "optionCsv", {}, void 0, !0)
679
699
  ]),
680
700
  key: "2"
681
701
  } : void 0,
682
702
  t.$slots.optionImg ? {
683
703
  name: "optionImg",
684
- fn: x(() => [
685
- A(t.$slots, "optionImg", {}, void 0, !0)
704
+ fn: f(() => [
705
+ p(t.$slots, "optionImg", {}, void 0, !0)
686
706
  ]),
687
707
  key: "3"
688
708
  } : void 0,
689
709
  t.$slots.optionSvg ? {
690
710
  name: "optionSvg",
691
- fn: x(() => [
692
- A(t.$slots, "optionSvg", {}, void 0, !0)
711
+ fn: f(() => [
712
+ p(t.$slots, "optionSvg", {}, void 0, !0)
693
713
  ]),
694
714
  key: "4"
695
715
  } : void 0,
696
716
  t.$slots.optionTable ? {
697
717
  name: "optionTable",
698
- fn: x(() => [
699
- A(t.$slots, "optionTable", {}, void 0, !0)
718
+ fn: f(() => [
719
+ p(t.$slots, "optionTable", {}, void 0, !0)
700
720
  ]),
701
721
  key: "5"
702
722
  } : void 0,
703
723
  t.$slots.optionFullscreen ? {
704
724
  name: "optionFullscreen",
705
- fn: x(({ toggleFullscreen: l, isFullscreen: s }) => [
706
- A(t.$slots, "optionFullscreen", ee(te({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
725
+ fn: f(({ toggleFullscreen: l, isFullscreen: n }) => [
726
+ p(t.$slots, "optionFullscreen", R(E({ toggleFullscreen: l, isFullscreen: n })), void 0, !0)
707
727
  ]),
708
728
  key: "6"
709
729
  } : void 0,
710
730
  t.$slots.optionAnnotator ? {
711
731
  name: "optionAnnotator",
712
- fn: x(({ toggleAnnotator: l, isAnnotator: s }) => [
713
- A(t.$slots, "optionAnnotator", ee(te({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
732
+ fn: f(({ toggleAnnotator: l, isAnnotator: n }) => [
733
+ p(t.$slots, "optionAnnotator", R(E({ toggleAnnotator: l, isAnnotator: n })), void 0, !0)
714
734
  ]),
715
735
  key: "7"
716
736
  } : void 0
717
737
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
718
- (u(), n("svg", {
738
+ (u(), s("svg", {
719
739
  ref_key: "svgRef",
720
740
  ref: we,
721
- xmlns: c(_l),
722
- class: P({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
741
+ xmlns: c(Ll),
742
+ class: P({ "vue-data-ui-fullscreen--on": W.value, "vue-data-ui-fulscreen--off": !W.value }),
723
743
  viewBox: `0 0 ${r.value.absoluteWidth} ${r.value.absoluteHeight}`,
724
- style: Z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
744
+ style: te(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
725
745
  }, [
726
746
  wt(c(Et)),
727
- t.$slots["chart-background"] ? (u(), n("foreignObject", {
747
+ t.$slots["chart-background"] ? (u(), s("foreignObject", {
728
748
  key: 0,
729
749
  x: r.value.left,
730
750
  y: r.value.top,
@@ -734,44 +754,44 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
734
754
  pointerEvents: "none"
735
755
  }
736
756
  }, [
737
- A(t.$slots, "chart-background", {}, void 0, !0)
757
+ p(t.$slots, "chart-background", {}, void 0, !0)
738
758
  ], 8, Jl)) : v("", !0),
739
- b("defs", null, [
740
- b("linearGradient", {
759
+ m("defs", null, [
760
+ m("linearGradient", {
741
761
  id: `hover_${O.value}`,
742
762
  x1: "0%",
743
763
  y1: "0%",
744
764
  x2: "0%",
745
765
  y2: "100%"
746
766
  }, [
747
- b("stop", {
767
+ m("stop", {
748
768
  offset: "0%",
749
769
  "stop-color": c(le)(e.value.style.chart.backgroundColor, e.value.style.chart.layout.highlighter.opacity)
750
770
  }, null, 8, Zl),
751
- b("stop", {
771
+ m("stop", {
752
772
  offset: "100%",
753
773
  "stop-color": c(le)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity)
754
774
  }, null, 8, ea)
755
775
  ], 8, Kl),
756
- b("radialGradient", {
776
+ m("radialGradient", {
757
777
  id: `focus_${O.value}`
758
778
  }, [
759
- b("stop", {
779
+ m("stop", {
760
780
  offset: "0%",
761
781
  "stop-color": c(le)(c(De)(e.value.style.chart.backgroundColor), 0)
762
782
  }, null, 8, la),
763
- b("stop", {
783
+ m("stop", {
764
784
  offset: "77%",
765
785
  "stop-color": c(le)("#FFFFFF", 30)
766
786
  }, null, 8, aa),
767
- b("stop", {
787
+ m("stop", {
768
788
  offset: "100%",
769
789
  "stop-color": c(le)(c(De)(e.value.style.chart.backgroundColor), 0)
770
790
  }, null, 8, oa)
771
791
  ], 8, ta)
772
792
  ]),
773
- e.value.style.chart.layout.grid.show ? (u(), n("g", ua, [
774
- b("line", {
793
+ e.value.style.chart.layout.grid.show ? (u(), s("g", ua, [
794
+ m("line", {
775
795
  x1: r.value.left,
776
796
  x2: r.value.left,
777
797
  y1: r.value.top,
@@ -779,8 +799,8 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
779
799
  stroke: e.value.style.chart.layout.grid.stroke,
780
800
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
781
801
  "stroke-linecap": "round"
782
- }, null, 8, sa),
783
- b("line", {
802
+ }, null, 8, na),
803
+ m("line", {
784
804
  x1: r.value.left,
785
805
  x2: r.value.right,
786
806
  y1: r.value.bottom,
@@ -788,11 +808,11 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
788
808
  stroke: e.value.style.chart.layout.grid.stroke,
789
809
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
790
810
  "stroke-linecap": "round"
791
- }, null, 8, na),
792
- e.value.style.chart.layout.grid.showVerticalLines ? (u(), n("g", ra, [
793
- (u(!0), n($, null, z(h.value.end - h.value.start, (l, s) => (u(), n("line", {
794
- x1: r.value.left + (s + 1) * C.value,
795
- x2: r.value.left + (s + 1) * C.value,
811
+ }, null, 8, sa),
812
+ e.value.style.chart.layout.grid.showVerticalLines ? (u(), s("g", ra, [
813
+ (u(!0), s($, null, z(h.value.end - h.value.start, (l, n) => (u(), s("line", {
814
+ x1: r.value.left + (n + 1) * L.value,
815
+ x2: r.value.left + (n + 1) * L.value,
796
816
  y1: r.value.top,
797
817
  y2: r.value.bottom,
798
818
  stroke: e.value.style.chart.layout.grid.stroke,
@@ -801,8 +821,8 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
801
821
  }, null, 8, ia))), 256))
802
822
  ])) : v("", !0)
803
823
  ])) : v("", !0),
804
- b("g", null, [
805
- e.value.style.chart.layout.grid.axis.yLabel ? (u(), n("text", {
824
+ m("g", null, [
825
+ e.value.style.chart.layout.grid.axis.yLabel ? (u(), s("text", {
806
826
  key: 0,
807
827
  ref_key: "yAxisLabel",
808
828
  ref: fe,
@@ -811,8 +831,8 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
811
831
  transform: `translate(${e.value.style.chart.layout.grid.axis.fontSize}, ${r.value.top + r.value.height / 2}) rotate(-90)`,
812
832
  "text-anchor": "middle",
813
833
  style: { transition: "none" }
814
- }, w(e.value.style.chart.layout.grid.axis.yLabel), 9, ca)) : v("", !0),
815
- e.value.style.chart.layout.grid.axis.xLabel ? (u(), n("text", {
834
+ }, C(e.value.style.chart.layout.grid.axis.yLabel), 9, ca)) : v("", !0),
835
+ e.value.style.chart.layout.grid.axis.xLabel ? (u(), s("text", {
816
836
  key: 1,
817
837
  ref_key: "xAxisLabel",
818
838
  ref: ge,
@@ -821,16 +841,16 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
821
841
  y: r.value.absoluteHeight - 3,
822
842
  "font-size": e.value.style.chart.layout.grid.axis.fontSize,
823
843
  fill: e.value.style.chart.layout.grid.axis.color
824
- }, w(e.value.style.chart.layout.grid.axis.xLabel), 9, va)) : v("", !0)
844
+ }, C(e.value.style.chart.layout.grid.axis.xLabel), 9, va)) : v("", !0)
825
845
  ]),
826
- e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (u(), n("g", {
846
+ e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (u(), s("g", {
827
847
  key: 2,
828
848
  ref_key: "scaleLabels",
829
849
  ref: ye,
830
- class: P({ "donut-opacity": !0, "donut-behind": f.value !== null })
850
+ class: P({ "donut-opacity": !0, "donut-behind": b.value !== null })
831
851
  }, [
832
- (u(!0), n($, null, z(qt.value, (l, s) => (u(), n("g", null, [
833
- l.value >= W.value.min && l.value <= W.value.max ? (u(), n("line", {
852
+ (u(!0), s($, null, z(qt.value, (l, n) => (u(), s("g", null, [
853
+ l.value >= Y.value.min && l.value <= Y.value.max ? (u(), s("line", {
834
854
  key: 0,
835
855
  x1: r.value.left,
836
856
  x2: r.value.left - 5,
@@ -839,7 +859,7 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
839
859
  stroke: e.value.style.chart.layout.grid.stroke,
840
860
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
841
861
  }, null, 8, da)) : v("", !0),
842
- l.value >= W.value.min && l.value <= W.value.max ? (u(), n("text", {
862
+ l.value >= Y.value.min && l.value <= Y.value.max ? (u(), s("text", {
843
863
  key: 1,
844
864
  x: r.value.left,
845
865
  y: l.y + e.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
@@ -847,7 +867,7 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
847
867
  "text-anchor": "end",
848
868
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
849
869
  "font-weight": e.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
850
- }, w(c(Ll)(l.value) ? c(Ne)(
870
+ }, C(c(_l)(l.value) ? c(Ne)(
851
871
  e.value.style.chart.layout.dataLabels.formatter,
852
872
  l.value,
853
873
  c(de)({
@@ -856,59 +876,59 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
856
876
  s: e.value.style.chart.layout.dataLabels.suffix,
857
877
  r: e.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
858
878
  }),
859
- { datapoint: l, seriesIndex: s }
879
+ { datapoint: l, seriesIndex: n }
860
880
  ) : ""), 9, ha)) : v("", !0)
861
881
  ]))), 256))
862
882
  ], 2)) : v("", !0),
863
- e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (u(), n("g", {
883
+ e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (u(), s("g", {
864
884
  key: 3,
865
885
  ref_key: "timeLabelsEls",
866
886
  ref: oe,
867
887
  class: P({ "donut-opacity": !0 })
868
888
  }, [
869
- (u(!0), n($, null, z(h.value.end - h.value.start, (l, s) => (u(), n("g", null, [
870
- (e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (s === 0 || s === I.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) && _.value[s] && _.value[s].text ? (u(), n("g", ya, [
871
- String(_.value[s].text).includes(`
872
- `) ? (u(), n("text", {
889
+ (u(!0), s($, null, z(h.value.end - h.value.start, (l, n) => (u(), s("g", null, [
890
+ (e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (n === 0 || n === I.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) && _.value[n] && _.value[n].text ? (u(), s("g", ya, [
891
+ String(_.value[n].text).includes(`
892
+ `) ? (u(), s("text", {
873
893
  key: 1,
874
894
  class: "vue-data-ui-time-label",
875
895
  "text-anchor": e.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
876
896
  "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
877
897
  fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
878
- transform: `translate(${r.value.left + C.value * s + C.value / 2}, ${r.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`,
898
+ transform: `translate(${r.value.left + L.value * n + L.value / 2}, ${r.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`,
879
899
  innerHTML: c(Al)({
880
- content: String(_.value[s].text),
900
+ content: String(_.value[n].text),
881
901
  fontSize: e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
882
902
  fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
883
903
  x: 0,
884
904
  y: 0
885
905
  })
886
- }, null, 8, fa)) : (u(), n("text", {
906
+ }, null, 8, fa)) : (u(), s("text", {
887
907
  key: 0,
888
908
  class: "vue-data-ui-time-label",
889
909
  "text-anchor": e.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
890
910
  "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
891
911
  fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
892
- transform: `translate(${r.value.left + C.value * s + C.value / 2}, ${r.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
893
- }, w(_.value[s].text || ""), 9, ga))
912
+ transform: `translate(${r.value.left + L.value * n + L.value / 2}, ${r.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
913
+ }, C(_.value[n].text || ""), 9, ga))
894
914
  ])) : v("", !0)
895
915
  ]))), 256))
896
916
  ], 512)) : v("", !0),
897
- (u(!0), n($, null, z(L.value, (l, s) => (u(), n("g", null, [
898
- e.value.style.chart.layout.line.show && s < L.value.length - 1 && ![l.subtotal, L.value[s + 1].subtotal].includes(null) ? (u(), n("line", {
917
+ (u(!0), s($, null, z(A.value, (l, n) => (u(), s("g", null, [
918
+ e.value.style.chart.layout.line.show && n < A.value.length - 1 && ![l.subtotal, A.value[n + 1].subtotal].includes(null) ? (u(), s("line", {
899
919
  key: 0,
900
- class: P({ "donut-opacity": !0, "donut-behind": f.value !== null }),
920
+ class: P({ "donut-opacity": !0, "donut-behind": b.value !== null }),
901
921
  x1: l.x,
902
922
  y1: l.y,
903
- x2: L.value[s + 1].x,
904
- y2: L.value[s + 1].y,
923
+ x2: A.value[n + 1].x,
924
+ y2: A.value[n + 1].y,
905
925
  stroke: e.value.style.chart.layout.line.stroke,
906
926
  "stroke-width": e.value.style.chart.layout.line.strokeWidth,
907
927
  "stroke-linecap": "round",
908
928
  "stroke-linejoin": "round"
909
929
  }, null, 10, ba)) : v("", !0),
910
- l.subtotal !== null ? (u(), n("g", ma, [
911
- l.subtotal ? (u(), n("circle", {
930
+ l.subtotal !== null ? (u(), s("g", ma, [
931
+ l.subtotal ? (u(), s("circle", {
912
932
  key: 0,
913
933
  cx: l.x,
914
934
  cy: l.y,
@@ -917,13 +937,13 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
917
937
  }, null, 8, pa)) : v("", !0)
918
938
  ])) : v("", !0)
919
939
  ]))), 256)),
920
- (u(!0), n($, null, z(L.value, (l, s) => (u(), n("g", {
921
- class: P({ "donut-opacity": !0, "donut-behind": s !== f.value && f.value !== null })
940
+ (u(!0), s($, null, z(A.value, (l, n) => (u(), s("g", {
941
+ class: P({ "donut-opacity": !0, "donut-behind": n !== b.value && b.value !== null })
922
942
  }, [
923
- l.subtotal ? (u(), n("g", xa, [
924
- f.value !== null && f.value === s ? (u(), n("g", ka, [
925
- (u(!0), n($, null, z(l.donutHover, (o) => (u(), n("g", null, [
926
- yt(o) ? (u(), n("path", {
943
+ l.subtotal ? (u(), s("g", xa, [
944
+ b.value !== null && b.value === n ? (u(), s("g", ka, [
945
+ (u(!0), s($, null, z(l.donutHover, (o) => (u(), s("g", null, [
946
+ yt(o) ? (u(), s("path", {
927
947
  key: 0,
928
948
  d: c(Sl)(o, { x: o.center.endX, y: o.center.endY }, 12, 12, { x: l.x, y: l.y }, !1, 20),
929
949
  stroke: o.color,
@@ -933,8 +953,8 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
933
953
  fill: "none"
934
954
  }, null, 8, wa)) : v("", !0)
935
955
  ]))), 256)),
936
- (u(!0), n($, null, z(l.donutHover, (o, g) => (u(), n("g", null, [
937
- yt(o) ? (u(), n("text", {
956
+ (u(!0), s($, null, z(l.donutHover, (o, g) => (u(), s("g", null, [
957
+ yt(o) ? (u(), s("text", {
938
958
  key: 0,
939
959
  "data-cy-hover-label": "",
940
960
  "text-anchor": c(St)(o, !0, 0).anchor,
@@ -943,38 +963,38 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
943
963
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
944
964
  "font-size": 8,
945
965
  "font-weight": "bold"
946
- }, w(o.name) + ": " + w(Qt(o, l.donut)) + " (" + w(o.value === null ? "-" : nt(o.value, o, g)) + ") ", 9, Ca)) : v("", !0)
966
+ }, C(o.name) + ": " + C(Qt(o, l.donut)) + " (" + C(o.value === null ? "-" : st(o.value, o, g)) + ") ", 9, Ca)) : v("", !0)
947
967
  ]))), 256)),
948
- b("g", null, [
949
- b("circle", {
968
+ m("g", null, [
969
+ m("circle", {
950
970
  cx: l.x,
951
971
  cy: l.y,
952
972
  r: l.hoverRadius,
953
973
  fill: e.value.style.chart.backgroundColor
954
- }, null, 8, _a)
974
+ }, null, 8, La)
955
975
  ])
956
976
  ])) : v("", !0)
957
977
  ])) : v("", !0)
958
978
  ], 2))), 256)),
959
- (u(!0), n($, null, z(L.value, (l, s) => (u(), n("g", {
960
- class: P({ "donut-opacity": !0, "donut-behind": s !== f.value && f.value !== null })
979
+ (u(!0), s($, null, z(A.value, (l, n) => (u(), s("g", {
980
+ class: P({ "donut-opacity": !0, "donut-behind": n !== b.value && b.value !== null })
961
981
  }, [
962
- l.subtotal !== null ? (u(), n("g", La, [
963
- l.subtotal === 0 ? (u(), n("circle", {
982
+ l.subtotal !== null ? (u(), s("g", _a, [
983
+ l.subtotal === 0 ? (u(), s("circle", {
964
984
  key: 0,
965
985
  cx: l.x,
966
986
  cy: l.y,
967
987
  r: 3,
968
988
  fill: e.value.style.chart.color
969
- }, null, 8, Aa)) : f.value !== null && f.value === s ? (u(), n("g", Sa, [
970
- (u(!0), n($, null, z(l.donutHover, (o, g) => (u(), n("path", {
989
+ }, null, 8, Aa)) : b.value !== null && b.value === n ? (u(), s("g", Sa, [
990
+ (u(!0), s($, null, z(l.donutHover, (o, g) => (u(), s("path", {
971
991
  d: o.arcSlice,
972
992
  fill: `${o.color}`,
973
993
  "stroke-width": 1,
974
994
  stroke: e.value.style.chart.backgroundColor
975
995
  }, null, 8, $a))), 256))
976
- ])) : (u(), n("g", za, [
977
- (u(!0), n($, null, z(l.donut, (o, g) => (u(), n("path", {
996
+ ])) : (u(), s("g", za, [
997
+ (u(!0), s($, null, z(l.donut, (o, g) => (u(), s("path", {
978
998
  d: o.arcSlice,
979
999
  fill: `${o.color}`,
980
1000
  "stroke-width": 0.5,
@@ -983,51 +1003,51 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
983
1003
  ]))
984
1004
  ])) : v("", !0)
985
1005
  ], 2))), 256)),
986
- (u(!0), n($, null, z(L.value, (l, s) => (u(), n("g", {
987
- class: P({ "donut-opacity": !0, "donut-behind": s !== f.value && f.value !== null || he.value && s !== V.value.index })
1006
+ (u(!0), s($, null, z(A.value, (l, n) => (u(), s("g", {
1007
+ class: P({ "donut-opacity": !0, "donut-behind": n !== b.value && b.value !== null || he.value && n !== M.value.index })
988
1008
  }, [
989
- l.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (u(), n("text", {
1009
+ l.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (u(), s("text", {
990
1010
  key: 0,
991
1011
  "text-anchor": "middle",
992
1012
  x: l.x,
993
- y: f.value === l.index && l.subtotal ? l.y + e.value.style.chart.layout.dataLabels.fontSize / 3 : l.y - l.radius - e.value.style.chart.layout.dataLabels.fontSize + e.value.style.chart.layout.dataLabels.offsetY,
1013
+ y: b.value === l.index && l.subtotal ? l.y + e.value.style.chart.layout.dataLabels.fontSize / 3 : l.y - l.radius - e.value.style.chart.layout.dataLabels.fontSize + e.value.style.chart.layout.dataLabels.offsetY,
994
1014
  "font-size": e.value.style.chart.layout.dataLabels.fontSize,
995
1015
  "font-weight": "bold",
996
1016
  fill: e.value.style.chart.layout.dataLabels.color
997
- }, w(nt(l.subtotal, l, s)), 9, Ta)) : v("", !0)
1017
+ }, C(st(l.subtotal, l, n)), 9, Ta)) : v("", !0)
998
1018
  ], 2))), 256)),
999
- (u(!0), n($, null, z(L.value, (l, s) => (u(), n("rect", {
1000
- x: r.value.left + s * C.value,
1019
+ (u(!0), s($, null, z(A.value, (l, n) => (u(), s("rect", {
1020
+ x: r.value.left + n * L.value,
1001
1021
  y: r.value.top,
1002
- width: C.value,
1022
+ width: L.value,
1003
1023
  height: r.value.height,
1004
- fill: [f.value, Q.value].includes(l.index) ? `url(#hover_${O.value})` : "transparent",
1005
- class: P({ "donut-hover": l.subtotal && [f.value, Q.value].includes(l.index) }),
1024
+ fill: [b.value, K.value].includes(l.index) ? `url(#hover_${O.value})` : "transparent",
1025
+ class: P({ "donut-hover": l.subtotal && [b.value, K.value].includes(l.index) }),
1006
1026
  style: {
1007
1027
  pointerEvents: "none"
1008
1028
  }
1009
1029
  }, null, 10, Da))), 256)),
1010
- (u(!0), n($, null, z(L.value, (l, s) => (u(), n("rect", {
1030
+ (u(!0), s($, null, z(A.value, (l, n) => (u(), s("rect", {
1011
1031
  "data-cy-trap": "",
1012
- x: r.value.left + s * C.value,
1032
+ x: r.value.left + n * L.value,
1013
1033
  y: r.value.top,
1014
- width: C.value,
1034
+ width: L.value,
1015
1035
  height: r.value.height,
1016
1036
  fill: "transparent",
1017
1037
  onMouseenter: (o) => Jt(l),
1018
1038
  onMouseleave: (o) => rt(l),
1019
- onClick: (o) => it(l, s),
1020
- class: P({ "donut-hover": f.value === l.index && l.subtotal })
1039
+ onClick: (o) => it(l, n),
1040
+ class: P({ "donut-hover": b.value === l.index && l.subtotal })
1021
1041
  }, null, 42, Oa))), 256)),
1022
- A(t.$slots, "svg", { svg: r.value }, void 0, !0)
1042
+ p(t.$slots, "svg", { svg: r.value }, void 0, !0)
1023
1043
  ], 14, Ql)),
1024
- t.$slots.watermark ? (u(), n("div", Na, [
1025
- A(t.$slots, "watermark", ee(te({ isPrinting: c(lt) || c(at) })), void 0, !0)
1044
+ t.$slots.watermark ? (u(), s("div", Na, [
1045
+ p(t.$slots, "watermark", R(E({ isPrinting: c(lt) || c(at) })), void 0, !0)
1026
1046
  ])) : v("", !0),
1027
- b("div", {
1047
+ m("div", {
1028
1048
  ref_key: "chartSlicer",
1029
1049
  ref: Ge,
1030
- style: Z(`width:100%;background:${e.value.style.chart.backgroundColor}`),
1050
+ style: te(`width:100%;background:${e.value.style.chart.backgroundColor}`),
1031
1051
  "data-dom-to-png-ignore": ""
1032
1052
  }, [
1033
1053
  I.value > 1 && e.value.style.chart.zoom.show ? (u(), D(Gl, {
@@ -1059,20 +1079,20 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
1059
1079
  focusRangeRatio: e.value.style.chart.zoom.focusRangeRatio,
1060
1080
  onReset: Ze
1061
1081
  }, {
1062
- "reset-action": x(({ reset: l }) => [
1063
- A(t.$slots, "reset-action", ee(te({ reset: l })), void 0, !0)
1082
+ "reset-action": f(({ reset: l }) => [
1083
+ p(t.$slots, "reset-action", R(E({ reset: l })), void 0, !0)
1064
1084
  ]),
1065
1085
  _: 3
1066
1086
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "focusOnDrag", "focusRangeRatio"])) : v("", !0)
1067
1087
  ], 4),
1068
- b("div", {
1088
+ m("div", {
1069
1089
  id: `legend-bottom-${O.value}`
1070
1090
  }, null, 8, Pa),
1071
1091
  Me.value ? (u(), D(fl, {
1072
1092
  key: 5,
1073
1093
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${O.value}` : `#legend-bottom-${O.value}`
1074
1094
  }, [
1075
- b("div", {
1095
+ m("div", {
1076
1096
  ref_key: "chartLegend",
1077
1097
  ref: Ue
1078
1098
  }, [
@@ -1080,49 +1100,49 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
1080
1100
  key: `legend_${Be.value}`,
1081
1101
  legendSet: Ae.value,
1082
1102
  config: Kt.value,
1083
- onClickMarker: a[2] || (a[2] = ({ legend: l }) => J(l.uid))
1103
+ onClickMarker: a[2] || (a[2] = ({ legend: l }) => Z(l.uid))
1084
1104
  }, {
1085
- item: x(({ legend: l, index: s }) => [
1086
- b("div", {
1087
- onClick: (o) => J(l.uid),
1088
- style: Z(`opacity:${k.value.includes(l.uid) ? 0.5 : 1}`)
1089
- }, w(l.display), 13, Ra)
1105
+ item: f(({ legend: l, index: n }) => [
1106
+ m("div", {
1107
+ onClick: (o) => Z(l.uid),
1108
+ style: te(`opacity:${w.value.includes(l.uid) ? 0.5 : 1}`)
1109
+ }, C(l.display), 13, Ra)
1090
1110
  ]),
1091
1111
  _: 1
1092
1112
  }, 8, ["legendSet", "config"])) : v("", !0),
1093
- A(t.$slots, "legend", { legend: Ae.value }, void 0, !0)
1113
+ p(t.$slots, "legend", { legend: Ae.value }, void 0, !0)
1094
1114
  ], 512)
1095
1115
  ], 8, ["to"])) : v("", !0),
1096
- t.$slots.source ? (u(), n("div", {
1116
+ t.$slots.source ? (u(), s("div", {
1097
1117
  key: 6,
1098
1118
  ref_key: "source",
1099
1119
  ref: Xe,
1100
1120
  dir: "auto"
1101
1121
  }, [
1102
- A(t.$slots, "source", {}, void 0, !0)
1122
+ p(t.$slots, "source", {}, void 0, !0)
1103
1123
  ], 512)) : v("", !0),
1104
- qe.value && e.value.userOptions.buttons.table ? (u(), D(bl(K.value.component), ml({ key: 7 }, K.value.props, {
1124
+ qe.value && e.value.userOptions.buttons.table ? (u(), D(bl(ee.value.component), ml({ key: 7 }, ee.value.props, {
1105
1125
  ref_key: "tableUnit",
1106
- ref: j,
1126
+ ref: Q,
1107
1127
  onClose: bt
1108
1128
  }), kt({
1109
- content: x(() => [
1129
+ content: f(() => [
1110
1130
  (u(), D(c(Rt), {
1111
1131
  key: `table_${Ve.value}`,
1112
- colNames: G.value.colNames,
1113
- head: G.value.head,
1114
- body: G.value.body,
1115
- config: G.value.config,
1116
- title: e.value.table.useDialog ? "" : K.value.title,
1132
+ colNames: j.value.colNames,
1133
+ head: j.value.head,
1134
+ body: j.value.body,
1135
+ config: j.value.config,
1136
+ title: e.value.table.useDialog ? "" : ee.value.title,
1117
1137
  withCloseButton: !e.value.table.useDialog,
1118
1138
  onClose: bt
1119
1139
  }, {
1120
- th: x(({ th: l }) => [
1121
- Te(w(l.name ?? l), 1)
1140
+ th: f(({ th: l }) => [
1141
+ Te(C(l.name ?? l), 1)
1122
1142
  ]),
1123
- td: x(({ td: l }) => [
1124
- l.value === null ? (u(), n("span", Ea, "-")) : (u(), n("b", Fa, w(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + w(!isNaN(l.value) && l.value !== null ? Number(l.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : l) + w(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
1125
- b("span", null, w(l.percentage && !isNaN(l.percentage) ? `(${Number(l.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
1143
+ td: f(({ td: l }) => [
1144
+ l.value === null ? (u(), s("span", Ea, "-")) : (u(), s("b", Fa, C(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + C(!isNaN(l.value) && l.value !== null ? Number(l.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : l) + C(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
1145
+ m("span", null, C(l.percentage && !isNaN(l.percentage) ? `(${Number(l.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
1126
1146
  ]),
1127
1147
  _: 1
1128
1148
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -1131,22 +1151,22 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
1131
1151
  }, [
1132
1152
  e.value.table.useDialog ? {
1133
1153
  name: "title",
1134
- fn: x(() => [
1135
- Te(w(K.value.title), 1)
1154
+ fn: f(() => [
1155
+ Te(C(ee.value.title), 1)
1136
1156
  ]),
1137
1157
  key: "0"
1138
1158
  } : void 0,
1139
1159
  e.value.table.useDialog ? {
1140
1160
  name: "actions",
1141
- fn: x(() => [
1142
- b("button", {
1161
+ fn: f(() => [
1162
+ m("button", {
1143
1163
  tabindex: "0",
1144
1164
  class: "vue-ui-user-options-button",
1145
1165
  onClick: a[3] || (a[3] = (l) => Se(e.value.userOptions.callbacks.csv))
1146
1166
  }, [
1147
1167
  wt(c(Pt), {
1148
1168
  name: "excel",
1149
- stroke: K.value.props.color
1169
+ stroke: ee.value.props.color
1150
1170
  }, null, 8, ["stroke"])
1151
1171
  ])
1152
1172
  ]),
@@ -1158,20 +1178,20 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
1158
1178
  ref_key: "dialog",
1159
1179
  ref: ze,
1160
1180
  onClose: a[4] || (a[4] = (l) => {
1161
- V.value = null, he.value = !1, ae.value = null, f.value = null, Q.value = null;
1181
+ M.value = null, he.value = !1, ae.value = null, b.value = null, K.value = null;
1162
1182
  }),
1163
1183
  backgroundColor: e.value.style.chart.dialog.backgroundColor,
1164
1184
  color: e.value.style.chart.dialog.color,
1165
1185
  headerBg: e.value.style.chart.dialog.header.backgroundColor,
1166
1186
  headerColor: e.value.style.chart.dialog.header.color,
1167
- isFullscreen: U.value,
1168
- fullscreenParent: R.value
1187
+ isFullscreen: W.value,
1188
+ fullscreenParent: F.value
1169
1189
  }, {
1170
- title: x(() => [
1171
- Te(w(_.value[Number(V.value.index)] ? _.value[Number(V.value.index)].text : ""), 1)
1190
+ title: f(() => [
1191
+ Te(C(_.value[Number(M.value.index)] ? _.value[Number(M.value.index)].text : ""), 1)
1172
1192
  ]),
1173
- content: x(() => [
1174
- V.value ? (u(), D(c(Bt), {
1193
+ content: f(() => [
1194
+ M.value ? (u(), D(c(Bt), {
1175
1195
  key: 0,
1176
1196
  config: ft.value,
1177
1197
  dataset: gt.value
@@ -1182,7 +1202,7 @@ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "widt
1182
1202
  c(Je) ? (u(), D(Rl, { key: 9 })) : v("", !0)
1183
1203
  ], 46, jl));
1184
1204
  }
1185
- }, ao = /* @__PURE__ */ Yl(Va, [["__scopeId", "data-v-dae6987b"]]);
1205
+ }, ao = /* @__PURE__ */ Yl(Va, [["__scopeId", "data-v-d491ac71"]]);
1186
1206
  export {
1187
1207
  ao as default
1188
1208
  };