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,6 +1,6 @@
1
- import { useCssVars as _t, defineAsyncComponent as q, computed as g, ref as z, toRefs as xt, watch as be, onMounted as mt, nextTick as pe, createElementBlock as o, openBlock as a, unref as u, normalizeStyle as y, normalizeClass as w, createBlock as le, createCommentVNode as h, renderSlot as N, createSlots as Be, withCtx as I, normalizeProps as ae, guardReactiveProps as oe, createVNode as ge, createElementVNode as n, toDisplayString as c, Fragment as _, renderList as x, createTextVNode as J, resolveDynamicComponent as kt, mergeProps as wt, withKeys as Ct } from "vue";
2
- import { c as $t, t as Tt, b as zt, p as R, e as At, g as _e, f as se, h as xe, o as St, a as M, d as A, X as Nt, s as F, i as Me, J as je, T as De, V as Ft, W as Q, Y as V, P as It, Q as Lt } from "./lib-C_mNZmhD.js";
3
- import { u as Pt, a as Xe } from "./useNestedProp-BjZe1Y85.js";
1
+ import { useCssVars as _t, defineAsyncComponent as J, computed as g, ref as S, toRefs as mt, watch as be, onMounted as xt, nextTick as pe, createElementBlock as o, openBlock as a, unref as n, normalizeStyle as y, normalizeClass as C, createBlock as oe, createCommentVNode as h, renderSlot as w, withCtx as $, normalizeProps as B, guardReactiveProps as M, createSlots as Be, createVNode as ge, createElementVNode as u, toDisplayString as c, Fragment as _, renderList as m, createTextVNode as Z, resolveDynamicComponent as kt, mergeProps as wt, withKeys as Ct } from "vue";
2
+ import { c as $t, t as Tt, b as zt, p as R, e as At, g as _e, f as se, h as me, o as St, a as D, d as N, X as Nt, s as I, i as Me, J as je, T as De, V as Ft, W as ee, Y as V, P as It, Q as Lt } from "./lib-C_mNZmhD.js";
3
+ import { u as Pt, a as Xe } from "./useNestedProp-DjGXw6S9.js";
4
4
  import { u as Ot, B as Rt } from "./BaseScanner-BgWxam9d.js";
5
5
  import { u as Vt } from "./usePrinter-DTzqpYKF.js";
6
6
  import { u as Bt } from "./useSvgExport-DrjCWun4.js";
@@ -15,7 +15,7 @@ const Ut = ["id"], Wt = {
15
15
  ref: "noTitle",
16
16
  class: "vue-data-ui-no-title-space",
17
17
  style: "height:36px; width: 100%;background:transparent"
18
- }, Yt = ["xmlns", "viewBox"], Ht = ["width", "height"], qt = { key: 1 }, Kt = ["fill", "font-weight", "font-size", "x", "y"], Jt = ["fill", "font-weight", "font-size", "x", "y"], Qt = ["id"], Zt = ["stop-color"], el = ["stop-color"], tl = ["id"], ll = ["stop-color"], al = ["stop-color"], ol = ["id"], sl = ["stop-color"], ul = ["stop-color"], nl = ["stop-color"], rl = ["id"], il = ["stop-color"], cl = ["stop-color"], dl = ["stop-color"], vl = ["id"], yl = ["stop-color"], hl = ["stop-color"], fl = ["stop-color"], bl = { key: 2 }, pl = ["x", "y", "font-size", "font-weight", "fill"], gl = ["x", "y", "font-size", "font-weight", "fill"], _l = ["id"], xl = ["stop-color"], ml = ["stop-color"], kl = ["d", "stroke", "fill"], wl = ["cx", "cy", "r", "fill"], Cl = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], $l = { key: 3 }, Tl = ["x", "y", "font-size", "fill", "onClick"], zl = { key: 0 }, Al = ["x", "y", "fill", "font-size", "font-weight"], Sl = ["x", "y", "height", "width", "fill", "rx", "onClick"], Nl = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], Fl = { key: 4 }, Il = ["x", "y", "fill", "font-size", "onClick"], Ll = ["d", "stroke"], Pl = ["fill", "cx", "cy", "r", "onClick"], Ol = { key: 5 }, Rl = ["x", "y", "font-size", "font-weight", "fill"], Vl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Bl = ["y", "height", "width"], Ml = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, jl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, Dl = {
18
+ }, Yt = ["xmlns", "viewBox"], Ht = ["width", "height"], qt = { key: 1 }, Kt = ["fill", "font-weight", "font-size", "x", "y"], Jt = ["fill", "font-weight", "font-size", "x", "y"], Qt = ["id"], Zt = ["stop-color"], el = ["stop-color"], tl = ["id"], ll = ["stop-color"], al = ["stop-color"], ol = ["id"], sl = ["stop-color"], nl = ["stop-color"], ul = ["stop-color"], rl = ["id"], il = ["stop-color"], cl = ["stop-color"], dl = ["stop-color"], vl = ["id"], yl = ["stop-color"], hl = ["stop-color"], fl = ["stop-color"], bl = { key: 2 }, pl = ["x", "y", "font-size", "font-weight", "fill"], gl = ["x", "y", "font-size", "font-weight", "fill"], _l = ["id"], ml = ["stop-color"], xl = ["stop-color"], kl = ["d", "stroke", "fill"], wl = ["cx", "cy", "r", "fill"], Cl = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], $l = { key: 3 }, Tl = ["x", "y", "font-size", "fill", "onClick"], zl = { key: 0 }, Al = ["x", "y", "fill", "font-size", "font-weight"], Sl = ["x", "y", "height", "width", "fill", "rx", "onClick"], Nl = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], Fl = { key: 4 }, Il = ["x", "y", "fill", "font-size", "onClick"], Ll = ["d", "stroke"], Pl = ["fill", "cx", "cy", "r", "onClick"], Ol = { key: 5 }, Rl = ["x", "y", "font-size", "font-weight", "fill"], Vl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Bl = ["y", "height", "width"], Ml = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, jl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, Dl = {
19
19
  viewBox: "0 0 20 20",
20
20
  height: "16",
21
21
  width: "16"
@@ -23,14 +23,14 @@ const Ut = ["id"], Wt = {
23
23
  viewBox: "0 0 20 20",
24
24
  height: "16",
25
25
  width: "16"
26
- }, Hl = ["fill"], ql = ["cx", "cy", "fill"], Kl = ["d", "stroke"], Jl = ["cx", "cy", "fill"], Ql = ["d", "stroke"], Zl = ["cx", "cy", "fill"], ea = ["cx", "cy", "fill"], ta = ["x", "y", "fill", "font-size", "font-weight"], la = ["x", "y", "fill", "font-size", "font-weight"], aa = ["x", "text-anchor", "y", "fill", "font-size"], oa = ["x", "text-anchor", "y", "fill", "font-size"], sa = ["x", "text-anchor", "y", "fill", "font-size"], ua = ["x", "text-anchor", "y", "fill", "font-size"], na = ["x", "text-anchor", "y", "fill", "font-size"], ra = ["x", "y", "font-size", "fill"], ia = ["x", "y", "font-size", "fill"], ca = ["x", "y", "font-size", "fill"], da = {
26
+ }, Hl = ["fill"], ql = ["cx", "cy", "fill"], Kl = ["d", "stroke"], Jl = ["cx", "cy", "fill"], Ql = ["d", "stroke"], Zl = ["cx", "cy", "fill"], ea = ["cx", "cy", "fill"], ta = ["x", "y", "fill", "font-size", "font-weight"], la = ["x", "y", "fill", "font-size", "font-weight"], aa = ["x", "text-anchor", "y", "fill", "font-size"], oa = ["x", "text-anchor", "y", "fill", "font-size"], sa = ["x", "text-anchor", "y", "fill", "font-size"], na = ["x", "text-anchor", "y", "fill", "font-size"], ua = ["x", "text-anchor", "y", "fill", "font-size"], ra = ["x", "y", "font-size", "fill"], ia = ["x", "y", "font-size", "fill"], ca = ["x", "y", "font-size", "fill"], da = {
27
27
  key: 4,
28
28
  class: "vue-data-ui-watermark"
29
29
  }, va = {
30
30
  key: 5,
31
31
  ref: "source",
32
32
  dir: "auto"
33
- }, ya = { class: "vue-ui-data-table" }, ha = { key: 0 }, fa = ["data-cell"], ba = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, pa = { key: 0 }, ga = { key: 1 }, _a = ["data-cell"], xa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ma = { key: 0 }, ka = { key: 1 }, wa = ["data-cell"], Ca = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, $a = { key: 0 }, Ta = { key: 1 }, za = ["data-cell"], Aa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Sa = { key: 0 }, Na = { key: 1 }, Fa = ["data-cell"], Ia = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, La = { key: 0 }, Pa = { key: 1 }, Oa = ["data-cell"], Ra = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Va = { key: 0 }, Ba = { key: 1 }, Ma = ["data-cell"], ja = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Da = { key: 0 }, Xa = { key: 1 }, Ea = ["data-cell"], Ga = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ua = ["data-cell"], Wa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ya = ["data-cell"], Ha = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, qa = ["data-cell"], Ka = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ja = ["data-cell"], Qa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Za = {
33
+ }, ya = { class: "vue-ui-data-table" }, ha = { key: 0 }, fa = ["data-cell"], ba = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, pa = { key: 0 }, ga = { key: 1 }, _a = ["data-cell"], ma = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, xa = { key: 0 }, ka = { key: 1 }, wa = ["data-cell"], Ca = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, $a = { key: 0 }, Ta = { key: 1 }, za = ["data-cell"], Aa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Sa = { key: 0 }, Na = { key: 1 }, Fa = ["data-cell"], Ia = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, La = { key: 0 }, Pa = { key: 1 }, Oa = ["data-cell"], Ra = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Va = { key: 0 }, Ba = { key: 1 }, Ma = ["data-cell"], ja = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Da = { key: 0 }, Xa = { key: 1 }, Ea = ["data-cell"], Ga = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ua = ["data-cell"], Wa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ya = ["data-cell"], Ha = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, qa = ["data-cell"], Ka = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ja = ["data-cell"], Qa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Za = {
34
34
  __name: "vue-ui-chestnut",
35
35
  props: {
36
36
  config: {
@@ -49,10 +49,10 @@ const Ut = ["id"], Wt = {
49
49
  emits: ["selectRoot", "selectBranch", "selectNut"],
50
50
  setup(Ee, { expose: Ge, emit: Ue }) {
51
51
  _t((l) => ({
52
- bd69c364: l.tdo
52
+ d8cda1fa: l.tdo
53
53
  }));
54
- const me = q(() => import("./BaseIcon-BmMbm4d0.js")), We = q(() => import("./vue-ui-accordion-CZ0thhxa.js")), Ye = q(() => import("./PenAndPaper-DSvu9dwa.js")), He = q(() => import("./UserOptions-CGnQt6Fd.js")), qe = q(() => import("./PackageVersion-Cyx_s25h.js")), Ke = q(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_chestnut: Je } = Pt(), j = Ee, ke = g(() => !!j.dataset && j.dataset.length), C = z($t()), U = z(null), we = z(0), K = z(null), ue = z(null), e = z(ce()), { loading: Ce, FINAL_DATASET: ne } = Ot({
55
- ...xt(j),
54
+ const xe = J(() => import("./BaseIcon-BmMbm4d0.js")), We = J(() => import("./vue-ui-accordion-CqhVCfc2.js")), Ye = J(() => import("./PenAndPaper-SZQIAgkg.js")), He = J(() => import("./UserOptions-CGnQt6Fd.js")), qe = J(() => import("./PackageVersion-DQvyATVa.js")), Ke = J(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_chestnut: Je } = Pt(), X = Ee, ke = g(() => !!X.dataset && X.dataset.length), T = S($t()), Y = S(null), we = S(0), Q = S(null), ne = S(null), e = S(ce()), { loading: Ce, FINAL_DATASET: ue } = Ot({
55
+ ...mt(X),
56
56
  FINAL_CONFIG: e,
57
57
  prepareConfig: ce,
58
58
  skeletonDataset: [
@@ -164,33 +164,33 @@ const Ut = ["id"], Wt = {
164
164
  }), { userOptionsVisible: re, setUserOptionsVisibility: $e, keepUserOptionState: Te } = jt({ config: e.value }), { svgRef: ie } = Dt({ config: e.value.style.chart.layout.title });
165
165
  function ce() {
166
166
  const l = Xe({
167
- userConfig: j.config,
167
+ userConfig: X.config,
168
168
  defaultConfig: Je
169
169
  });
170
170
  return l.theme ? {
171
171
  ...Xe({
172
- userConfig: Et.vue_ui_chestnut[l.theme] || j.config,
172
+ userConfig: Et.vue_ui_chestnut[l.theme] || X.config,
173
173
  defaultConfig: l
174
174
  }),
175
175
  customPalette: zt[l.theme] || R
176
176
  } : l;
177
177
  }
178
- be(() => j.config, (l) => {
179
- e.value = ce(), re.value = !e.value.userOptions.showOnChartHover, D.value.showTable = e.value.table.show, Pe();
178
+ be(() => X.config, (l) => {
179
+ e.value = ce(), re.value = !e.value.userOptions.showOnChartHover, E.value.showTable = e.value.table.show, Pe();
180
180
  }, { deep: !0 });
181
181
  const { isPrinting: ze, isImaging: Ae, generatePdf: Se, generateImage: Ne } = Vt({
182
- elementId: `vue-ui-chestnut_${C.value}`,
182
+ elementId: `vue-ui-chestnut_${T.value}`,
183
183
  fileName: e.value.style.chart.layout.title.text || "vue-ui-chestnut",
184
184
  options: e.value.userOptions.print
185
- }), Qe = g(() => e.value.userOptions.show), de = g(() => At(e.value.customPalette)), D = z({
185
+ }), Qe = g(() => e.value.userOptions.show), de = g(() => At(e.value.customPalette)), E = S({
186
186
  showTable: e.value.table.show
187
187
  });
188
188
  be(e, () => {
189
- D.value = {
189
+ E.value = {
190
190
  showTable: e.value.table.show
191
191
  };
192
192
  }, { immediate: !0 });
193
- const Fe = z(null), Ze = g(() => e.value.table.responsiveBreakpoint), r = z({
193
+ const Fe = S(null), Ze = g(() => e.value.table.responsiveBreakpoint), r = S({
194
194
  gap: 6,
195
195
  padding: {
196
196
  top: 102,
@@ -202,7 +202,7 @@ const Ut = ["id"], Wt = {
202
202
  height: 0,
203
203
  branchSize: 32,
204
204
  branchStart: 128
205
- }), T = g(() => ({
205
+ }), A = g(() => ({
206
206
  left: r.value.padding.left,
207
207
  top: r.value.padding.top,
208
208
  right: r.value.width - r.value.padding.right,
@@ -210,7 +210,7 @@ const Ut = ["id"], Wt = {
210
210
  width: r.value.width - (r.value.padding.left + r.value.padding.right),
211
211
  height: r.value.height - (r.value.padding.top + r.value.padding.bottom),
212
212
  seedX: r.value.padding.left + 64
213
- })), L = g(() => ne.value.flatMap((l) => (l.branches || []).map((i) => i.value || 0)).reduce((l, i) => l + i, 0)), S = g(() => (ne.value.forEach((l, i) => {
213
+ })), L = g(() => ue.value.flatMap((l) => (l.branches || []).map((i) => i.value || 0)).reduce((l, i) => l + i, 0)), F = g(() => (ue.value.forEach((l, i) => {
214
214
  _e({
215
215
  datasetObject: l,
216
216
  requiredAttributes: ["name", "branches"]
@@ -220,7 +220,7 @@ const Ut = ["id"], Wt = {
220
220
  type: "datasetSerieAttribute",
221
221
  property: t,
222
222
  index: i,
223
- debug: Z.value
223
+ debug: te.value
224
224
  });
225
225
  }), l.branches && l.branches.forEach((t, s) => {
226
226
  _e({
@@ -232,7 +232,7 @@ const Ut = ["id"], Wt = {
232
232
  type: "datasetSerieAttribute",
233
233
  property: b,
234
234
  index: `${i} - ${s}`,
235
- debug: Z.value
235
+ debug: te.value
236
236
  });
237
237
  }), t.breakdown && t.breakdown.forEach((b, p) => {
238
238
  _e({
@@ -244,17 +244,17 @@ const Ut = ["id"], Wt = {
244
244
  type: "datasetSerieAttribute",
245
245
  property: f,
246
246
  index: `${i} - ${s} - ${p}`,
247
- debug: Z.value
247
+ debug: te.value
248
248
  });
249
249
  });
250
250
  });
251
251
  });
252
- }), ne.value.map((l, i) => {
252
+ }), ue.value.map((l, i) => {
253
253
  const t = (l.branches || []).map((s) => s.value || 0).reduce((s, b) => s + b, 0);
254
254
  return {
255
255
  ...l,
256
- color: xe(l.color) || de.value[i] || R[i] || R[i % R.length],
257
- id: l.id || `root_${i}_${C.value}`,
256
+ color: me(l.color) || de.value[i] || R[i] || R[i % R.length],
257
+ id: l.id || `root_${i}_${T.value}`,
258
258
  type: "root",
259
259
  total: t,
260
260
  rootIndex: i,
@@ -262,9 +262,9 @@ const Ut = ["id"], Wt = {
262
262
  ...s,
263
263
  rootName: l.name,
264
264
  rootIndex: i,
265
- color: xe(l.color) || de.value[i] || R[i] || R[i % R.length],
265
+ color: me(l.color) || de.value[i] || R[i] || R[i % R.length],
266
266
  value: s.value >= 0 ? s.value : 0,
267
- id: s.id || `branch_${i}_${b}_${C.value}`,
267
+ id: s.id || `branch_${i}_${b}_${T.value}`,
268
268
  proportionToRoot: s.value / t,
269
269
  type: "branch",
270
270
  breakdown: (s.breakdown || []).map((p, f) => ({
@@ -291,77 +291,77 @@ const Ut = ["id"], Wt = {
291
291
  proportionToRoot: p.value / t,
292
292
  proportionToTree: p.value / L.value,
293
293
  rootIndex: i,
294
- id: p.id || `nut_${i}_${b}_${f}_${C.value}`,
295
- color: xe(p.color) || de.value[f] || R[f] || R[f % R.length],
294
+ id: p.id || `nut_${i}_${b}_${f}_${T.value}`,
295
+ color: me(p.color) || de.value[f] || R[f] || R[f % R.length],
296
296
  value: p.value >= 0 ? p.value : 0
297
297
  }))
298
298
  }))
299
299
  };
300
300
  })));
301
301
  function et() {
302
- return S.value;
302
+ return F.value;
303
303
  }
304
- const W = Ue, tt = g(() => S.value.flatMap((l) => l.branches).length), lt = g(() => Math.max(...S.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), at = g(() => Math.max(...S.value.flatMap((l) => l.branches.map((i) => i.value)))), Ie = g(() => 256 + r.value.padding.left), X = g(() => S.value.sort((l, i) => i.total - l.total).map((l, i) => {
305
- const t = T.value.height / S.value.length / 2, s = l.total / lt.value * (t > 64 ? 64 : t);
304
+ const H = Ue, tt = g(() => F.value.flatMap((l) => l.branches).length), lt = g(() => Math.max(...F.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), at = g(() => Math.max(...F.value.flatMap((l) => l.branches.map((i) => i.value)))), Ie = g(() => 256 + r.value.padding.left), G = g(() => F.value.sort((l, i) => i.total - l.total).map((l, i) => {
305
+ const t = A.value.height / F.value.length / 2, s = l.total / lt.value * (t > 64 ? 64 : t);
306
306
  return {
307
307
  ...l,
308
- x: T.value.seedX,
309
- y: T.value.top + T.value.height / S.value.length * (i + 1) - (T.value.height / S.value.length / 2 + r.value.gap / 2),
308
+ x: A.value.seedX,
309
+ y: A.value.top + A.value.height / F.value.length * (i + 1) - (A.value.height / F.value.length / 2 + r.value.gap / 2),
310
310
  r: s < r.value.branchSize / 2 ? r.value.branchSize / 2 : s
311
311
  };
312
- })), ot = g(() => e.value.style.chart.layout.branches.widthRatio <= 0 ? 0.1 : e.value.style.chart.layout.branches.widthRatio > 1.8 ? 1.8 : e.value.style.chart.layout.branches.widthRatio), st = g(() => X.value.flatMap((l) => l.branches)), E = g(() => st.value.sort((l, i) => i.value - l.value).map((l, i) => ({
312
+ })), ot = g(() => e.value.style.chart.layout.branches.widthRatio <= 0 ? 0.1 : e.value.style.chart.layout.branches.widthRatio > 1.8 ? 1.8 : e.value.style.chart.layout.branches.widthRatio), st = g(() => G.value.flatMap((l) => l.branches)), U = g(() => st.value.sort((l, i) => i.value - l.value).map((l, i) => ({
313
313
  ...l,
314
- y1: i * r.value.branchSize + T.value.top + i * r.value.gap,
314
+ y1: i * r.value.branchSize + A.value.top + i * r.value.gap,
315
315
  y2: i * r.value.branchSize + r.value.branchSize,
316
316
  x1: Ie.value,
317
317
  x2: 384 * l.value / at.value * ot.value + Ie.value
318
318
  })));
319
- function ut(l) {
320
- const i = X.value.find((t) => t.rootIndex === l.rootIndex);
319
+ function nt(l) {
320
+ const i = G.value.find((t) => t.rootIndex === l.rootIndex);
321
321
  return { x: i.x, y: i.y, r: i.r };
322
322
  }
323
- const d = z(null), B = z(null), m = z(null), P = z(null);
324
- function $() {
325
- d.value = null, m.value = null, P.value = null;
323
+ const d = S(null), j = S(null), x = S(null), P = S(null);
324
+ function z() {
325
+ d.value = null, x.value = null, P.value = null;
326
326
  }
327
327
  function O(l) {
328
- return P.value ? P.value === null ? !0 : l.type === "root" ? l.id === P.value.id : l.rootIndex === P.value.rootIndex : d.value === null && m.value === null ? !0 : l.type === "nut" ? d.value.id === l.id : l.type === "branch" ? m.value.id === l.id : l.type === "root" ? m.value && m.value.rootIndex === l.rootIndex || d.value && d.value.rootIndex === l.rootIndex : !1;
328
+ return P.value ? P.value === null ? !0 : l.type === "root" ? l.id === P.value.id : l.rootIndex === P.value.rootIndex : d.value === null && x.value === null ? !0 : l.type === "nut" ? d.value.id === l.id : l.type === "branch" ? x.value.id === l.id : l.type === "root" ? x.value && x.value.rootIndex === l.rootIndex || d.value && d.value.rootIndex === l.rootIndex : !1;
329
329
  }
330
- function nt(l) {
331
- $(), pe(() => {
332
- d.value = l, m.value = l, B.value = De(
330
+ function ut(l) {
331
+ z(), pe(() => {
332
+ d.value = l, x.value = l, j.value = De(
333
333
  { series: l.breakdown },
334
334
  l.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
335
335
  l.y1 + r.value.branchSize / 2,
336
336
  80,
337
337
  80
338
- ), W("selectNut", l.breakdown);
338
+ ), H("selectNut", l.breakdown);
339
339
  });
340
340
  }
341
- function G() {
342
- d.value = null, B.value = null, W("selectNut", null);
341
+ function W() {
342
+ d.value = null, j.value = null, H("selectNut", null);
343
343
  }
344
344
  function ve(l) {
345
- m.value && m.value.id === l.id ? (m.value = null, $(), W("selectBranch", null)) : ($(), m.value = l, W("selectBranch", l));
345
+ x.value && x.value.id === l.id ? (x.value = null, z(), H("selectBranch", null)) : (z(), x.value = l, H("selectBranch", l));
346
346
  }
347
347
  function Le(l) {
348
- P.value && P.value.id === l.id ? ($(), W("selectRoot", null)) : ($(), P.value = l, W("selectRoot", l));
348
+ P.value && P.value.id === l.id ? (z(), H("selectRoot", null)) : (z(), P.value = l, H("selectRoot", l));
349
349
  }
350
350
  function rt() {
351
- return T.value.bottom - (d.value.y1 + 180) < 0 ? 0 : T.value.bottom;
351
+ return A.value.bottom - (d.value.y1 + 180) < 0 ? 0 : A.value.bottom;
352
352
  }
353
- function Y(l) {
353
+ function q(l) {
354
354
  return l.proportion * 100 > e.value.style.chart.layout.nuts.selected.labels.dataLabels.hideUnderValue;
355
355
  }
356
- mt(() => {
356
+ xt(() => {
357
357
  Pe();
358
358
  });
359
- const Z = g(() => e.value.debug);
359
+ const te = g(() => e.value.debug);
360
360
  function Pe() {
361
- St(j.dataset) && se({
361
+ St(X.dataset) && se({
362
362
  componentName: "VueUiChestnut",
363
363
  type: "dataset",
364
- debug: Z.value
364
+ debug: te.value
365
365
  });
366
366
  const l = tt.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
367
367
  r.value.height = l;
@@ -380,7 +380,7 @@ const Ut = ["id"], Wt = {
380
380
  e.value.table.th.translations.nutToBranch,
381
381
  e.value.table.th.translations.nutToRoot,
382
382
  e.value.table.th.translations.nutToTotal
383
- ], i = S.value.flatMap((t, s) => t.branches.flatMap((b, p) => b.breakdown.flatMap((f, k) => f.table)));
383
+ ], i = F.value.flatMap((t, s) => t.branches.flatMap((b, p) => b.breakdown.flatMap((f, k) => f.table)));
384
384
  return { head: l, body: i };
385
385
  });
386
386
  function ye(l = null) {
@@ -402,20 +402,20 @@ const Ut = ["id"], Wt = {
402
402
  l ? l(p) : Lt({ csvContent: p, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
403
403
  });
404
404
  }
405
- const H = z(!1);
405
+ const K = S(!1);
406
406
  function Oe(l) {
407
- H.value = l, we.value += 1;
407
+ K.value = l, we.value += 1;
408
408
  }
409
409
  function Re() {
410
- D.value.showTable = !D.value.showTable;
410
+ E.value.showTable = !E.value.showTable;
411
411
  }
412
- const ee = z(!1);
412
+ const le = S(!1);
413
413
  function he() {
414
- ee.value = !ee.value;
414
+ le.value = !le.value;
415
415
  }
416
416
  async function it({ scale: l = 2 } = {}) {
417
- if (!U.value) return;
418
- const { width: i, height: t } = U.value.getBoundingClientRect(), s = i / t, { imageUri: b, base64: p } = await Xt({ domElement: U.value, base64: !0, img: !0, scale: l });
417
+ if (!Y.value) return;
418
+ const { width: i, height: t } = Y.value.getBoundingClientRect(), s = i / t, { imageUri: b, base64: p } = await Xt({ domElement: Y.value, base64: !0, img: !0, scale: l });
419
419
  return {
420
420
  imageUri: b,
421
421
  base64: p,
@@ -426,7 +426,7 @@ const Ut = ["id"], Wt = {
426
426
  };
427
427
  }
428
428
  function ct(l) {
429
- const i = ut(l), t = l.x1, s = l.y1, b = r.value.branchSize, p = i.x + i.r / 2, f = i.y, k = 20;
429
+ const i = nt(l), t = l.x1, s = l.y1, b = r.value.branchSize, p = i.x + i.r / 2, f = i.y, k = 20;
430
430
  return [
431
431
  `M ${t},${s}`,
432
432
  `C ${t - k},${s} ${t - k},${s} ${p},${f}`,
@@ -434,8 +434,8 @@ const Ut = ["id"], Wt = {
434
434
  "Z"
435
435
  ].join(" ");
436
436
  }
437
- const te = g(() => {
438
- const l = e.value.table.useDialog && !e.value.table.show, i = D.value.showTable;
437
+ const ae = g(() => {
438
+ const l = e.value.table.useDialog && !e.value.table.show, i = E.value.showTable;
439
439
  return {
440
440
  component: l ? Ke : We,
441
441
  title: `${e.value.style.chart.layout.title.text}${e.value.style.chart.layout.title.subtitle.text ? `: ${e.value.style.chart.layout.title.subtitle.text}` : ""}`,
@@ -444,8 +444,8 @@ const Ut = ["id"], Wt = {
444
444
  color: e.value.table.th.color,
445
445
  headerColor: e.value.table.th.color,
446
446
  headerBg: e.value.table.th.backgroundColor,
447
- isFullscreen: H.value,
448
- fullscreenParent: U.value,
447
+ isFullscreen: K.value,
448
+ fullscreenParent: Y.value,
449
449
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
450
450
  } : {
451
451
  hideDetails: !0,
@@ -464,26 +464,26 @@ const Ut = ["id"], Wt = {
464
464
  }
465
465
  };
466
466
  });
467
- be(() => D.value.showTable, async (l) => {
468
- e.value.table.show || (l && e.value.table.useDialog && K.value ? (await pe(), K.value.open()) : "close" in K.value && K.value.close());
467
+ be(() => E.value.showTable, async (l) => {
468
+ e.value.table.show || (l && e.value.table.useDialog && Q.value ? (await pe(), Q.value.open()) : "close" in Q.value && Q.value.close());
469
469
  });
470
470
  const { isResponsive: dt } = Mt(Fe, Ze);
471
471
  function fe() {
472
- D.value.showTable = !1, ue.value && ue.value.setTableIconState(!1);
472
+ E.value.showTable = !1, ne.value && ne.value.setTableIconState(!1);
473
473
  }
474
- const vt = g(() => S.value.map((l, i) => ({
474
+ const vt = g(() => F.value.map((l, i) => ({
475
475
  ...l,
476
- display: `${l.name}: ${M(
476
+ display: `${l.name}: ${D(
477
477
  e.value.style.chart.layout.roots.labels.formatter,
478
478
  l.total,
479
- A({
479
+ N({
480
480
  p: e.value.style.chart.layout.legend.prefix,
481
481
  v: l.total,
482
482
  s: e.value.style.chart.layout.legend.suffix,
483
483
  r: e.value.style.chart.layout.legend.roundingValue
484
484
  }),
485
485
  { datapoint: l }
486
- )} (${A({
486
+ )} (${N({
487
487
  v: l.total / L.value * 100,
488
488
  s: "%",
489
489
  r: e.value.style.chart.layout.legend.roundingPercentage
@@ -523,111 +523,131 @@ const Ut = ["id"], Wt = {
523
523
  toggleAnnotator: he,
524
524
  toggleFullscreen: Oe
525
525
  }), (l, i) => (a(), o("div", {
526
- class: w(`vue-data-ui-component vue-ui-chestnut ${H.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
526
+ class: C(`vue-data-ui-component vue-ui-chestnut ${K.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
527
527
  ref_key: "chestnutChart",
528
- ref: U,
529
- id: `vue-ui-chestnut_${C.value}`,
528
+ ref: Y,
529
+ id: `vue-ui-chestnut_${T.value}`,
530
530
  style: y(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
531
- onMouseenter: i[1] || (i[1] = () => u($e)(!0)),
532
- onMouseleave: i[2] || (i[2] = () => u($e)(!1))
531
+ onMouseenter: i[1] || (i[1] = () => n($e)(!0)),
532
+ onMouseleave: i[2] || (i[2] = () => n($e)(!1))
533
533
  }, [
534
- e.value.userOptions.buttons.annotator ? (a(), le(u(Ye), {
534
+ e.value.userOptions.buttons.annotator ? (a(), oe(n(Ye), {
535
535
  key: 0,
536
- svgRef: u(ie),
536
+ svgRef: n(ie),
537
537
  backgroundColor: e.value.style.chart.backgroundColor,
538
538
  color: e.value.style.chart.color,
539
- active: ee.value,
539
+ active: le.value,
540
540
  onClose: he
541
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
541
+ }, {
542
+ "annotator-action-close": $(() => [
543
+ w(l.$slots, "annotator-action-close", {}, void 0, !0)
544
+ ]),
545
+ "annotator-action-color": $(({ color: t }) => [
546
+ w(l.$slots, "annotator-action-color", B(M({ color: t })), void 0, !0)
547
+ ]),
548
+ "annotator-action-draw": $(({ mode: t }) => [
549
+ w(l.$slots, "annotator-action-draw", B(M({ mode: t })), void 0, !0)
550
+ ]),
551
+ "annotator-action-undo": $(({ disabled: t }) => [
552
+ w(l.$slots, "annotator-action-undo", B(M({ disabled: t })), void 0, !0)
553
+ ]),
554
+ "annotator-action-redo": $(({ disabled: t }) => [
555
+ w(l.$slots, "annotator-action-redo", B(M({ disabled: t })), void 0, !0)
556
+ ]),
557
+ "annotator-action-delete": $(({ disabled: t }) => [
558
+ w(l.$slots, "annotator-action-delete", B(M({ disabled: t })), void 0, !0)
559
+ ]),
560
+ _: 3
561
+ }, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
542
562
  Qe.value ? (a(), o("div", Wt, null, 512)) : h("", !0),
543
- e.value.userOptions.show && ke.value && (u(Te) || u(re)) ? (a(), le(u(He), {
563
+ e.value.userOptions.show && ke.value && (n(Te) || n(re)) ? (a(), oe(n(He), {
544
564
  ref_key: "userOptionsRef",
545
- ref: ue,
565
+ ref: ne,
546
566
  key: `user_options_${we.value}`,
547
567
  backgroundColor: e.value.style.chart.backgroundColor,
548
568
  color: e.value.style.chart.color,
549
- isImaging: u(Ae),
550
- isPrinting: u(ze),
551
- uid: C.value,
569
+ isImaging: n(Ae),
570
+ isPrinting: n(ze),
571
+ uid: T.value,
552
572
  hasPdf: e.value.userOptions.buttons.pdf,
553
573
  hasImg: e.value.userOptions.buttons.img,
554
574
  hasSvg: e.value.userOptions.buttons.svg,
555
575
  hasXls: e.value.userOptions.buttons.csv,
556
576
  hasTable: e.value.userOptions.buttons.table,
557
577
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
558
- isFullscreen: H.value,
578
+ isFullscreen: K.value,
559
579
  titles: { ...e.value.userOptions.buttonTitles },
560
- chartElement: U.value,
580
+ chartElement: Y.value,
561
581
  position: e.value.userOptions.position,
562
582
  hasAnnotator: e.value.userOptions.buttons.annotator,
563
- isAnnotation: ee.value,
583
+ isAnnotation: le.value,
564
584
  callbacks: e.value.userOptions.callbacks,
565
585
  printScale: e.value.userOptions.print.scale,
566
586
  tableDialog: e.value.table.useDialog,
567
587
  onToggleFullscreen: Oe,
568
- onGeneratePdf: u(Se),
588
+ onGeneratePdf: n(Se),
569
589
  onGenerateCsv: ye,
570
- onGenerateImage: u(Ne),
590
+ onGenerateImage: n(Ne),
571
591
  onGenerateSvg: Ve,
572
592
  onToggleTable: Re,
573
593
  onToggleAnnotator: he,
574
594
  style: y({
575
- visibility: u(Te) ? u(re) ? "visible" : "hidden" : "visible"
595
+ visibility: n(Te) ? n(re) ? "visible" : "hidden" : "visible"
576
596
  })
577
597
  }, Be({ _: 2 }, [
578
598
  l.$slots.menuIcon ? {
579
599
  name: "menuIcon",
580
- fn: I(({ isOpen: t, color: s }) => [
581
- N(l.$slots, "menuIcon", ae(oe({ isOpen: t, color: s })), void 0, !0)
600
+ fn: $(({ isOpen: t, color: s }) => [
601
+ w(l.$slots, "menuIcon", B(M({ isOpen: t, color: s })), void 0, !0)
582
602
  ]),
583
603
  key: "0"
584
604
  } : void 0,
585
605
  l.$slots.optionPdf ? {
586
606
  name: "optionPdf",
587
- fn: I(() => [
588
- N(l.$slots, "optionPdf", {}, void 0, !0)
607
+ fn: $(() => [
608
+ w(l.$slots, "optionPdf", {}, void 0, !0)
589
609
  ]),
590
610
  key: "1"
591
611
  } : void 0,
592
612
  l.$slots.optionCsv ? {
593
613
  name: "optionCsv",
594
- fn: I(() => [
595
- N(l.$slots, "optionCsv", {}, void 0, !0)
614
+ fn: $(() => [
615
+ w(l.$slots, "optionCsv", {}, void 0, !0)
596
616
  ]),
597
617
  key: "2"
598
618
  } : void 0,
599
619
  l.$slots.optionImg ? {
600
620
  name: "optionImg",
601
- fn: I(() => [
602
- N(l.$slots, "optionImg", {}, void 0, !0)
621
+ fn: $(() => [
622
+ w(l.$slots, "optionImg", {}, void 0, !0)
603
623
  ]),
604
624
  key: "3"
605
625
  } : void 0,
606
626
  l.$slots.optionSvg ? {
607
627
  name: "optionSvg",
608
- fn: I(() => [
609
- N(l.$slots, "optionSvg", {}, void 0, !0)
628
+ fn: $(() => [
629
+ w(l.$slots, "optionSvg", {}, void 0, !0)
610
630
  ]),
611
631
  key: "4"
612
632
  } : void 0,
613
633
  l.$slots.optionTable ? {
614
634
  name: "optionTable",
615
- fn: I(() => [
616
- N(l.$slots, "optionTable", {}, void 0, !0)
635
+ fn: $(() => [
636
+ w(l.$slots, "optionTable", {}, void 0, !0)
617
637
  ]),
618
638
  key: "5"
619
639
  } : void 0,
620
640
  l.$slots.optionFullscreen ? {
621
641
  name: "optionFullscreen",
622
- fn: I(({ toggleFullscreen: t, isFullscreen: s }) => [
623
- N(l.$slots, "optionFullscreen", ae(oe({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
642
+ fn: $(({ toggleFullscreen: t, isFullscreen: s }) => [
643
+ w(l.$slots, "optionFullscreen", B(M({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
624
644
  ]),
625
645
  key: "6"
626
646
  } : void 0,
627
647
  l.$slots.optionAnnotator ? {
628
648
  name: "optionAnnotator",
629
- fn: I(({ toggleAnnotator: t, isAnnotator: s }) => [
630
- N(l.$slots, "optionAnnotator", ae(oe({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
649
+ fn: $(({ toggleAnnotator: t, isAnnotator: s }) => [
650
+ w(l.$slots, "optionAnnotator", B(M({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
631
651
  ]),
632
652
  key: "7"
633
653
  } : void 0
@@ -636,12 +656,12 @@ const Ut = ["id"], Wt = {
636
656
  key: 3,
637
657
  ref_key: "svgRef",
638
658
  ref: ie,
639
- xmlns: u(Nt),
640
- class: w({ "vue-data-ui-fullscreen--on": H.value, "vue-data-ui-fulscreen--off": !H.value }),
659
+ xmlns: n(Nt),
660
+ class: C({ "vue-data-ui-fullscreen--on": K.value, "vue-data-ui-fulscreen--off": !K.value }),
641
661
  viewBox: `0 0 ${r.value.width <= 0 ? 10 : r.value.width} ${r.value.height <= 0 ? 10 : r.value.height}`,
642
662
  style: y(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
643
663
  }, [
644
- ge(u(qe)),
664
+ ge(n(qe)),
645
665
  l.$slots["chart-background"] ? (a(), o("foreignObject", {
646
666
  key: 0,
647
667
  x: 0,
@@ -652,7 +672,7 @@ const Ut = ["id"], Wt = {
652
672
  pointerEvents: "none"
653
673
  }
654
674
  }, [
655
- N(l.$slots, "chart-background", {}, void 0, !0)
675
+ w(l.$slots, "chart-background", {}, void 0, !0)
656
676
  ], 8, Ht)) : h("", !0),
657
677
  d.value ? h("", !0) : (a(), o("g", qt, [
658
678
  e.value.style.chart.layout.title.text ? (a(), o("text", {
@@ -663,7 +683,7 @@ const Ut = ["id"], Wt = {
663
683
  "font-size": e.value.style.chart.layout.title.fontSize,
664
684
  x: r.value.width / 2,
665
685
  y: 12 + e.value.style.chart.layout.title.fontSize + e.value.style.chart.layout.title.offsetY,
666
- onClick: $
686
+ onClick: z
667
687
  }, c(e.value.style.chart.layout.title.text), 9, Kt)) : h("", !0),
668
688
  e.value.style.chart.layout.title.subtitle.text ? (a(), o("text", {
669
689
  key: 1,
@@ -673,129 +693,129 @@ const Ut = ["id"], Wt = {
673
693
  "font-size": e.value.style.chart.layout.title.subtitle.fontSize,
674
694
  x: r.value.width / 2,
675
695
  y: 48 + e.value.style.chart.layout.title.subtitle.fontSize + e.value.style.chart.layout.title.subtitle.offsetY,
676
- onClick: $
696
+ onClick: z
677
697
  }, c(e.value.style.chart.layout.title.subtitle.text), 9, Jt)) : h("", !0)
678
698
  ])),
679
- n("defs", null, [
680
- (a(!0), o(_, null, x(S.value, (t, s) => (a(), o("radialGradient", {
699
+ u("defs", null, [
700
+ (a(!0), o(_, null, m(F.value, (t, s) => (a(), o("radialGradient", {
681
701
  cx: "50%",
682
702
  cy: "50%",
683
703
  r: "50%",
684
704
  fx: "50%",
685
705
  fy: "50%",
686
- id: `root_gradient_${C.value}_${t.rootIndex}`
706
+ id: `root_gradient_${T.value}_${t.rootIndex}`
687
707
  }, [
688
- n("stop", {
708
+ u("stop", {
689
709
  offset: "0%",
690
- "stop-color": u(F)(u(Me)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
710
+ "stop-color": n(I)(n(Me)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
691
711
  }, null, 8, Zt),
692
- n("stop", {
712
+ u("stop", {
693
713
  offset: "100%",
694
714
  "stop-color": t.color
695
715
  }, null, 8, el)
696
716
  ], 8, Qt))), 256)),
697
- (a(!0), o(_, null, x(S.value, (t) => (a(), o("linearGradient", {
717
+ (a(!0), o(_, null, m(F.value, (t) => (a(), o("linearGradient", {
698
718
  x1: "0%",
699
719
  y1: "0%",
700
720
  x2: "100%",
701
721
  y2: "0%",
702
- id: `branch_gradient_${C.value}_${t.rootIndex}`
722
+ id: `branch_gradient_${T.value}_${t.rootIndex}`
703
723
  }, [
704
- n("stop", {
724
+ u("stop", {
705
725
  offset: "0%",
706
726
  "stop-color": t.color
707
727
  }, null, 8, ll),
708
- n("stop", {
728
+ u("stop", {
709
729
  offset: "100%",
710
- "stop-color": u(F)(u(Me)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
730
+ "stop-color": n(I)(n(Me)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
711
731
  }, null, 8, al)
712
732
  ], 8, tl))), 256)),
713
- n("radialGradient", {
733
+ u("radialGradient", {
714
734
  cx: "50%",
715
735
  cy: "50%",
716
736
  r: "50%",
717
737
  fx: "50%",
718
738
  fy: "50%",
719
- id: `nutpick_${C.value}`
739
+ id: `nutpick_${T.value}`
720
740
  }, [
721
- n("stop", {
741
+ u("stop", {
722
742
  offset: "0%",
723
- "stop-color": u(F)("#FFFFFF", 0)
743
+ "stop-color": n(I)("#FFFFFF", 0)
724
744
  }, null, 8, sl),
725
- n("stop", {
745
+ u("stop", {
726
746
  offset: "80%",
727
- "stop-color": u(F)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
728
- }, null, 8, ul),
729
- n("stop", {
747
+ "stop-color": n(I)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
748
+ }, null, 8, nl),
749
+ u("stop", {
730
750
  offset: "100%",
731
- "stop-color": u(F)("#FFFFFF", 0)
732
- }, null, 8, nl)
751
+ "stop-color": n(I)("#FFFFFF", 0)
752
+ }, null, 8, ul)
733
753
  ], 8, ol),
734
- n("radialGradient", {
754
+ u("radialGradient", {
735
755
  cx: "50%",
736
756
  cy: "50%",
737
757
  r: "50%",
738
758
  fx: "50%",
739
759
  fy: "50%",
740
- id: `nut_${C.value}`
760
+ id: `nut_${T.value}`
741
761
  }, [
742
- n("stop", {
762
+ u("stop", {
743
763
  offset: "0%",
744
- "stop-color": u(F)("#FFFFFF", 0)
764
+ "stop-color": n(I)("#FFFFFF", 0)
745
765
  }, null, 8, il),
746
- n("stop", {
766
+ u("stop", {
747
767
  offset: "80%",
748
- "stop-color": u(F)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
768
+ "stop-color": n(I)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
749
769
  }, null, 8, cl),
750
- n("stop", {
770
+ u("stop", {
751
771
  offset: "100%",
752
- "stop-color": u(F)("#FFFFFF", 0)
772
+ "stop-color": n(I)("#FFFFFF", 0)
753
773
  }, null, 8, dl)
754
774
  ], 8, rl),
755
- n("radialGradient", {
775
+ u("radialGradient", {
756
776
  cx: "50%",
757
777
  cy: "50%",
758
778
  r: "50%",
759
779
  fx: "50%",
760
780
  fy: "50%",
761
- id: `nut_underlayer_${C.value}`
781
+ id: `nut_underlayer_${T.value}`
762
782
  }, [
763
- n("stop", {
783
+ u("stop", {
764
784
  offset: "0%",
765
- "stop-color": u(F)(e.value.style.chart.backgroundColor, 100)
785
+ "stop-color": n(I)(e.value.style.chart.backgroundColor, 100)
766
786
  }, null, 8, yl),
767
- n("stop", {
787
+ u("stop", {
768
788
  offset: "80%",
769
- "stop-color": u(F)(e.value.style.chart.backgroundColor, 60)
789
+ "stop-color": n(I)(e.value.style.chart.backgroundColor, 60)
770
790
  }, null, 8, hl),
771
- n("stop", {
791
+ u("stop", {
772
792
  offset: "100%",
773
- "stop-color": u(F)(e.value.style.chart.backgroundColor, 0)
793
+ "stop-color": n(I)(e.value.style.chart.backgroundColor, 0)
774
794
  }, null, 8, fl)
775
795
  ], 8, vl)
776
796
  ]),
777
797
  e.value.style.chart.layout.grandTotal.show ? (a(), o("g", bl, [
778
- n("text", {
779
- x: T.value.seedX,
798
+ u("text", {
799
+ x: A.value.seedX,
780
800
  y: 32 + e.value.style.chart.layout.grandTotal.offsetY,
781
801
  "font-size": e.value.style.chart.layout.grandTotal.fontSize,
782
802
  "font-weight": e.value.style.chart.layout.grandTotal.bold ? "bold" : "normal",
783
803
  fill: e.value.style.chart.layout.grandTotal.color,
784
804
  "text-anchor": "middle",
785
- onClick: $
805
+ onClick: z
786
806
  }, c(e.value.style.chart.layout.grandTotal.text), 9, pl),
787
- n("text", {
788
- x: T.value.seedX,
807
+ u("text", {
808
+ x: A.value.seedX,
789
809
  y: 38 + e.value.style.chart.layout.grandTotal.fontSize + e.value.style.chart.layout.grandTotal.offsetY,
790
810
  "font-size": e.value.style.chart.layout.grandTotal.fontSize,
791
811
  "font-weight": e.value.style.chart.layout.grandTotal.bold ? "bold" : "normal",
792
812
  fill: e.value.style.chart.layout.grandTotal.color,
793
813
  "text-anchor": "middle",
794
- onClick: $
795
- }, c(u(M)(
814
+ onClick: z
815
+ }, c(n(D)(
796
816
  e.value.style.chart.layout.grandTotal.formatter,
797
817
  L.value,
798
- u(A)({
818
+ n(N)({
799
819
  p: e.value.style.chart.layout.grandTotal.prefix,
800
820
  v: L.value,
801
821
  s: e.value.style.chart.layout.grandTotal.suffix,
@@ -803,32 +823,32 @@ const Ut = ["id"], Wt = {
803
823
  })
804
824
  )), 9, gl)
805
825
  ])) : h("", !0),
806
- (a(!0), o(_, null, x(E.value, (t) => (a(), o("g", null, [
807
- n("defs", null, [
808
- n("linearGradient", {
826
+ (a(!0), o(_, null, m(U.value, (t) => (a(), o("g", null, [
827
+ u("defs", null, [
828
+ u("linearGradient", {
809
829
  id: `link_grad_${t.id}`
810
830
  }, [
811
- n("stop", {
831
+ u("stop", {
812
832
  offset: "0%",
813
833
  "stop-color": t.color
814
- }, null, 8, xl),
815
- n("stop", {
834
+ }, null, 8, ml),
835
+ u("stop", {
816
836
  offset: "100%",
817
- "stop-color": u(F)(t.color, e.value.style.chart.layout.links.opacity)
818
- }, null, 8, ml)
837
+ "stop-color": n(I)(t.color, e.value.style.chart.layout.links.opacity)
838
+ }, null, 8, xl)
819
839
  ], 8, _l)
820
840
  ]),
821
- n("path", {
841
+ u("path", {
822
842
  d: ct(t),
823
- stroke: u(F)(t.color, e.value.style.chart.layout.links.opacity),
843
+ stroke: n(I)(t.color, e.value.style.chart.layout.links.opacity),
824
844
  fill: `url(#link_grad_${t.id})`,
825
845
  "stroke-linecap": "round",
826
846
  "stroke-linejoin": "round",
827
847
  style: y(`opacity:${O(t) ? 1 : 0}`),
828
- onClick: $
848
+ onClick: z
829
849
  }, null, 12, kl)
830
850
  ]))), 256)),
831
- (a(!0), o(_, null, x(X.value, (t) => (a(), o("circle", {
851
+ (a(!0), o(_, null, m(G.value, (t) => (a(), o("circle", {
832
852
  cx: t.x,
833
853
  cy: t.y,
834
854
  r: t.r,
@@ -836,30 +856,30 @@ const Ut = ["id"], Wt = {
836
856
  stroke: "none",
837
857
  style: y(`cursor:pointer; opacity:${O(t) ? 1 : 0.05}`)
838
858
  }, null, 12, wl))), 256)),
839
- (a(!0), o(_, null, x(X.value, (t, s) => (a(), o("circle", {
859
+ (a(!0), o(_, null, m(G.value, (t, s) => (a(), o("circle", {
840
860
  cx: t.x,
841
861
  cy: t.y,
842
862
  r: t.r,
843
- fill: e.value.style.chart.layout.roots.useGradient ? `url(#root_gradient_${C.value}_${t.rootIndex})` : t.color,
863
+ fill: e.value.style.chart.layout.roots.useGradient ? `url(#root_gradient_${T.value}_${t.rootIndex})` : t.color,
844
864
  stroke: e.value.style.chart.layout.roots.stroke,
845
865
  "stroke-width": e.value.style.chart.layout.roots.strokeWidth,
846
866
  style: y(`cursor:pointer; opacity:${O(t) ? 1 : 0.05}`),
847
867
  onClick: (b) => Le(t)
848
868
  }, null, 12, Cl))), 256)),
849
869
  e.value.style.chart.layout.roots.labels.show ? (a(), o("g", $l, [
850
- (a(!0), o(_, null, x(X.value, (t, s) => (a(), o("text", {
870
+ (a(!0), o(_, null, m(G.value, (t, s) => (a(), o("text", {
851
871
  x: t.x,
852
872
  y: t.y + e.value.style.chart.layout.roots.labels.fontSize / 2.6,
853
873
  "text-anchor": "middle",
854
874
  "font-size": e.value.style.chart.layout.roots.labels.fontSize,
855
- fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? u(je)(t.color) : e.value.style.chart.layout.roots.labels.color,
875
+ fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? n(je)(t.color) : e.value.style.chart.layout.roots.labels.color,
856
876
  "font-weight": "bold",
857
877
  style: y(`cursor:pointer; opacity:${O(t) ? 1 : 0.05}`),
858
878
  onClick: (b) => Le(t)
859
- }, c(u(M)(
879
+ }, c(n(D)(
860
880
  e.value.style.chart.layout.roots.labels.formatter,
861
881
  t.total,
862
- u(A)({
882
+ n(N)({
863
883
  p: e.value.style.chart.layout.roots.labels.prefix,
864
884
  v: t.total,
865
885
  s: e.value.style.chart.layout.roots.labels.suffix,
@@ -867,21 +887,21 @@ const Ut = ["id"], Wt = {
867
887
  }),
868
888
  { datapoint: t }
869
889
  )), 13, Tl))), 256)),
870
- (a(!0), o(_, null, x(X.value, (t) => (a(), o("g", null, [
871
- d.value && t.rootIndex === d.value.rootIndex || m.value && t.rootIndex === m.value.rootIndex || P.value && t.rootIndex === P.value.rootIndex ? (a(), o("g", zl, [
872
- n("text", {
890
+ (a(!0), o(_, null, m(G.value, (t) => (a(), o("g", null, [
891
+ d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || P.value && t.rootIndex === P.value.rootIndex ? (a(), o("g", zl, [
892
+ u("text", {
873
893
  x: t.x,
874
894
  y: t.y + t.r + 24,
875
895
  "text-anchor": "middle",
876
896
  fill: e.value.style.chart.layout.roots.labels.name.color,
877
897
  "font-size": e.value.style.chart.layout.roots.labels.name.fontSize,
878
898
  "font-weight": e.value.style.chart.layout.roots.labels.name.bold ? "bold" : "normal",
879
- onClick: $
899
+ onClick: z
880
900
  }, c(t.name), 9, Al)
881
901
  ])) : h("", !0)
882
902
  ]))), 256))
883
903
  ])) : h("", !0),
884
- (a(!0), o(_, null, x(E.value, (t) => (a(), o("rect", {
904
+ (a(!0), o(_, null, m(U.value, (t) => (a(), o("rect", {
885
905
  x: t.x1,
886
906
  y: t.y1,
887
907
  height: r.value.branchSize,
@@ -892,12 +912,12 @@ const Ut = ["id"], Wt = {
892
912
  style: y(`opacity:${O(t) ? 1 : 0.05}`),
893
913
  onClick: (s) => ve(t)
894
914
  }, null, 12, Sl))), 256)),
895
- (a(!0), o(_, null, x(E.value, (t, s) => (a(), o("rect", {
915
+ (a(!0), o(_, null, m(U.value, (t, s) => (a(), o("rect", {
896
916
  x: t.x1,
897
917
  y: t.y1,
898
918
  height: r.value.branchSize,
899
919
  width: t.x2 - t.x1,
900
- fill: e.value.style.chart.layout.branches.useGradient ? `url(#branch_gradient_${C.value}_${t.rootIndex})` : t.color,
920
+ fill: e.value.style.chart.layout.branches.useGradient ? `url(#branch_gradient_${T.value}_${t.rootIndex})` : t.color,
901
921
  rx: e.value.style.chart.layout.branches.borderRadius,
902
922
  stroke: e.value.style.chart.layout.branches.stroke,
903
923
  "stroke-width": e.value.style.chart.layout.branches.strokeWidth,
@@ -905,21 +925,21 @@ const Ut = ["id"], Wt = {
905
925
  onClick: (b) => ve(t)
906
926
  }, null, 12, Nl))), 256)),
907
927
  e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", Fl, [
908
- (a(!0), o(_, null, x(E.value, (t) => (a(), o("g", null, [
928
+ (a(!0), o(_, null, m(U.value, (t) => (a(), o("g", null, [
909
929
  t.proportionToRoot * 100 > e.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (a(), o("text", {
910
930
  key: 0,
911
931
  x: t.x1 + 6,
912
932
  y: t.y1 + r.value.branchSize / 1.5,
913
933
  "text-anchor": "start",
914
- fill: u(je)(t.color),
934
+ fill: n(je)(t.color),
915
935
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
916
936
  "font-weight": "bold",
917
937
  style: y(`cursor:pointer; opacity:${O(t) ? 1 : 0.05}`),
918
938
  onClick: (s) => ve(t)
919
- }, c(u(M)(
939
+ }, c(n(D)(
920
940
  e.value.style.chart.layout.branches.labels.dataLabels.formatter,
921
941
  t.value,
922
- u(A)({
942
+ n(N)({
923
943
  p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
924
944
  v: t.value,
925
945
  s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
@@ -929,8 +949,8 @@ const Ut = ["id"], Wt = {
929
949
  )), 13, Il)) : h("", !0)
930
950
  ]))), 256))
931
951
  ])) : h("", !0),
932
- (a(!0), o(_, null, x(E.value, (t, s) => (a(), o("g", null, [
933
- (a(!0), o(_, null, x(u(De)(
952
+ (a(!0), o(_, null, m(U.value, (t, s) => (a(), o("g", null, [
953
+ (a(!0), o(_, null, m(n(De)(
934
954
  { series: t.breakdown, base: 1 },
935
955
  t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
936
956
  t.y1 + r.value.branchSize / 2,
@@ -943,17 +963,17 @@ const Ut = ["id"], Wt = {
943
963
  fill: "none",
944
964
  style: y(`opacity:${O(t) ? 1 : 0.1}`)
945
965
  }, null, 12, Ll))), 256)),
946
- n("circle", {
947
- fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${C.value})` : "transparent",
966
+ u("circle", {
967
+ fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${T.value})` : "transparent",
948
968
  cx: t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
949
969
  cy: t.y1 + r.value.branchSize / 2,
950
970
  r: r.value.branchSize / 2 + 2,
951
- onClick: (b) => nt(t),
971
+ onClick: (b) => ut(t),
952
972
  style: y(`cursor:pointer;opacity:${O(t) ? 1 : 0.1}`)
953
973
  }, null, 12, Pl)
954
974
  ]))), 256)),
955
- e.value.style.chart.layout.branches.labels.show && !m.value ? (a(), o("g", Ol, [
956
- (a(!0), o(_, null, x(E.value, (t) => (a(), o("text", {
975
+ e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", Ol, [
976
+ (a(!0), o(_, null, m(U.value, (t) => (a(), o("text", {
957
977
  x: t.x2 + r.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
958
978
  y: t.y1 + r.value.branchSize / 2 + 5,
959
979
  "font-size": e.value.style.chart.layout.branches.labels.fontSize,
@@ -963,31 +983,31 @@ const Ut = ["id"], Wt = {
963
983
  style: y(`opacity:${O(t) ? 1 : 0.1}`)
964
984
  }, c(t.name), 13, Rl))), 256))
965
985
  ])) : h("", !0),
966
- n("line", {
986
+ u("line", {
967
987
  x1: 256 + r.value.padding.left,
968
988
  x2: 256 + r.value.padding.left,
969
- y1: T.value.top,
970
- y2: T.value.bottom,
989
+ y1: A.value.top,
990
+ y2: A.value.bottom,
971
991
  stroke: e.value.style.chart.layout.verticalSeparator.stroke,
972
992
  "stroke-width": e.value.style.chart.layout.verticalSeparator.strokeWidth
973
993
  }, null, 8, Vl),
974
- !d.value && !m.value ? (a(), o("foreignObject", {
994
+ !d.value && !x.value ? (a(), o("foreignObject", {
975
995
  key: 6,
976
996
  x: 0,
977
- y: T.value.bottom,
978
- height: r.value.height - T.value.bottom,
997
+ y: A.value.bottom,
998
+ height: r.value.height - A.value.bottom,
979
999
  width: r.value.width,
980
1000
  style: { overflow: "visible" },
981
1001
  "data-no-svg-export": "",
982
- onClick: $
1002
+ onClick: z
983
1003
  }, [
984
- n("div", Ml, [
985
- n("div", jl, [
986
- (a(!0), o(_, null, x(X.value, (t) => (a(), o("div", {
1004
+ u("div", Ml, [
1005
+ u("div", jl, [
1006
+ (a(!0), o(_, null, m(G.value, (t) => (a(), o("div", {
987
1007
  style: y(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
988
1008
  }, [
989
1009
  (a(), o("svg", Dl, [
990
- n("circle", {
1010
+ u("circle", {
991
1011
  cx: "10",
992
1012
  cy: "10",
993
1013
  r: "10",
@@ -995,12 +1015,12 @@ const Ut = ["id"], Wt = {
995
1015
  stroke: "none"
996
1016
  }, null, 8, Xl)
997
1017
  ])),
998
- u(Ce) ? h("", !0) : (a(), o(_, { key: 0 }, [
999
- n("span", null, c(t.name) + ":", 1),
1000
- n("b", null, c(u(M)(
1018
+ n(Ce) ? h("", !0) : (a(), o(_, { key: 0 }, [
1019
+ u("span", null, c(t.name) + ":", 1),
1020
+ u("b", null, c(n(D)(
1001
1021
  e.value.style.chart.layout.roots.labels.formatter,
1002
1022
  t.total,
1003
- u(A)({
1023
+ n(N)({
1004
1024
  p: e.value.style.chart.layout.legend.prefix,
1005
1025
  v: t.total,
1006
1026
  s: e.value.style.chart.layout.legend.suffix,
@@ -1008,7 +1028,7 @@ const Ut = ["id"], Wt = {
1008
1028
  }),
1009
1029
  { datapoint: t }
1010
1030
  )), 1),
1011
- J(" (" + c(u(A)({
1031
+ Z(" (" + c(n(N)({
1012
1032
  v: t.total / L.value * 100,
1013
1033
  s: "%",
1014
1034
  r: e.value.style.chart.layout.legend.roundingPercentage
@@ -1018,23 +1038,23 @@ const Ut = ["id"], Wt = {
1018
1038
  ])
1019
1039
  ])
1020
1040
  ], 8, Bl)) : h("", !0),
1021
- d.value && B.value ? (a(), o("g", El, [
1041
+ d.value && j.value ? (a(), o("g", El, [
1022
1042
  (a(), o("foreignObject", {
1023
1043
  x: 0,
1024
1044
  y: rt(),
1025
- height: r.value.height - T.value.bottom,
1045
+ height: r.value.height - A.value.bottom,
1026
1046
  width: r.value.width,
1027
1047
  style: { overflow: "visible" },
1028
- onClick: $
1048
+ onClick: z
1029
1049
  }, [
1030
- n("div", Ul, [
1031
- n("b", null, c(d.value.name), 1),
1032
- n("div", Wl, [
1033
- (a(!0), o(_, null, x(d.value.breakdown, (t, s) => (a(), o("div", {
1050
+ u("div", Ul, [
1051
+ u("b", null, c(d.value.name), 1),
1052
+ u("div", Wl, [
1053
+ (a(!0), o(_, null, m(d.value.breakdown, (t, s) => (a(), o("div", {
1034
1054
  style: y(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
1035
1055
  }, [
1036
1056
  (a(), o("svg", Yl, [
1037
- n("circle", {
1057
+ u("circle", {
1038
1058
  cx: "10",
1039
1059
  cy: "10",
1040
1060
  r: "10",
@@ -1042,27 +1062,27 @@ const Ut = ["id"], Wt = {
1042
1062
  stroke: "none"
1043
1063
  }, null, 8, Hl)
1044
1064
  ])),
1045
- n("span", null, [
1046
- J(c(t.name) + ": ", 1),
1047
- n("b", null, c(e.value.style.chart.layout.legend.prefix) + " " + c(t.value.toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingValue)) + " " + c(e.value.style.chart.layout.legend.suffix), 1),
1048
- J(" (" + c((t.proportionToBranch * 100).toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "%)", 1)
1065
+ u("span", null, [
1066
+ Z(c(t.name) + ": ", 1),
1067
+ u("b", null, c(e.value.style.chart.layout.legend.prefix) + " " + c(t.value.toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingValue)) + " " + c(e.value.style.chart.layout.legend.suffix), 1),
1068
+ Z(" (" + c((t.proportionToBranch * 100).toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "%)", 1)
1049
1069
  ])
1050
1070
  ], 4))), 256))
1051
1071
  ])
1052
1072
  ])
1053
1073
  ], 8, Gl)),
1054
- n("circle", {
1074
+ u("circle", {
1055
1075
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
1056
1076
  cy: d.value.y1 + r.value.branchSize / 2,
1057
1077
  r: 256,
1058
- fill: `url(#nut_underlayer_${C.value})`,
1059
- onClick: G,
1060
- class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1078
+ fill: `url(#nut_underlayer_${T.value})`,
1079
+ onClick: W,
1080
+ class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1061
1081
  }, null, 10, ql),
1062
- (a(!0), o(_, null, x(B.value, (t) => (a(), o("g", null, [
1063
- Y(t) ? (a(), o("path", {
1082
+ (a(!0), o(_, null, m(j.value, (t) => (a(), o("g", null, [
1083
+ q(t) ? (a(), o("path", {
1064
1084
  key: 0,
1065
- d: u(Ft)(
1085
+ d: n(Ft)(
1066
1086
  t,
1067
1087
  {
1068
1088
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
@@ -1079,64 +1099,64 @@ const Ut = ["id"], Wt = {
1079
1099
  "stroke-linecap": "round",
1080
1100
  "stroke-linejoin": "round",
1081
1101
  fill: "none",
1082
- class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1102
+ class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1083
1103
  }, null, 10, Kl)) : h("", !0)
1084
1104
  ]))), 256)),
1085
- n("circle", {
1105
+ u("circle", {
1086
1106
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
1087
1107
  cy: d.value.y1 + r.value.branchSize / 2,
1088
1108
  r: 118,
1089
1109
  fill: e.value.style.chart.backgroundColor,
1090
- onClick: G,
1091
- class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1110
+ onClick: W,
1111
+ class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1092
1112
  }, null, 10, Jl),
1093
- (a(!0), o(_, null, x(B.value, (t) => (a(), o("path", {
1113
+ (a(!0), o(_, null, m(j.value, (t) => (a(), o("path", {
1094
1114
  d: t.path,
1095
1115
  stroke: t.color,
1096
1116
  "stroke-width": 64,
1097
1117
  fill: "none",
1098
- onClick: G,
1099
- class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1118
+ onClick: W,
1119
+ class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1100
1120
  }, null, 10, Ql))), 256)),
1101
- n("circle", {
1121
+ u("circle", {
1102
1122
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
1103
1123
  cy: d.value.y1 + r.value.branchSize / 2,
1104
1124
  r: 110,
1105
- fill: `url(#nutpick_${C.value})`,
1106
- onClick: G,
1107
- class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1125
+ fill: `url(#nutpick_${T.value})`,
1126
+ onClick: W,
1127
+ class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1108
1128
  }, null, 10, Zl),
1109
- n("circle", {
1129
+ u("circle", {
1110
1130
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
1111
1131
  cy: d.value.y1 + r.value.branchSize / 2,
1112
1132
  r: 64,
1113
1133
  fill: e.value.style.chart.backgroundColor,
1114
- onClick: G,
1115
- class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1134
+ onClick: W,
1135
+ class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1116
1136
  }, null, 10, ea),
1117
- n("text", {
1137
+ u("text", {
1118
1138
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
1119
1139
  y: d.value.y1 + 8,
1120
1140
  fill: e.value.style.chart.layout.nuts.selected.labels.core.total.color,
1121
1141
  "font-size": e.value.style.chart.layout.nuts.selected.labels.core.total.fontSize,
1122
1142
  "font-weight": e.value.style.chart.layout.nuts.selected.labels.core.total.bold ? "bold" : "normal",
1123
1143
  "text-anchor": "middle",
1124
- onClick: G,
1125
- class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1144
+ onClick: W,
1145
+ class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1126
1146
  }, c(e.value.translations.total), 11, ta),
1127
- n("text", {
1147
+ u("text", {
1128
1148
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
1129
1149
  y: d.value.y1 + 36,
1130
1150
  fill: e.value.style.chart.layout.nuts.selected.labels.core.value.color,
1131
1151
  "font-size": e.value.style.chart.layout.nuts.selected.labels.core.value.fontSize,
1132
1152
  "font-weight": e.value.style.chart.layout.nuts.selected.labels.core.value.bold ? "bold" : "normal",
1133
1153
  "text-anchor": "middle",
1134
- onClick: G,
1135
- class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1136
- }, c(u(M)(
1154
+ onClick: W,
1155
+ class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1156
+ }, c(n(D)(
1137
1157
  e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
1138
1158
  d.value.value,
1139
- u(A)({
1159
+ n(N)({
1140
1160
  p: e.value.style.chart.layout.nuts.selected.labels.core.value.prefix,
1141
1161
  v: d.value.value,
1142
1162
  s: e.value.style.chart.layout.nuts.selected.labels.core.value.suffix,
@@ -1144,85 +1164,85 @@ const Ut = ["id"], Wt = {
1144
1164
  }),
1145
1165
  { datapoint: d.value }
1146
1166
  )), 11, la),
1147
- (a(!0), o(_, null, x(B.value, (t, s) => (a(), o("g", null, [
1148
- Y(t) ? (a(), o("text", {
1167
+ (a(!0), o(_, null, m(j.value, (t, s) => (a(), o("g", null, [
1168
+ q(t) ? (a(), o("text", {
1149
1169
  key: 0,
1150
- x: u(V)(t).x,
1151
- "text-anchor": u(V)(t).anchor,
1152
- y: u(Q)(t) - e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 6,
1170
+ x: n(V)(t).x,
1171
+ "text-anchor": n(V)(t).anchor,
1172
+ y: n(ee)(t) - e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 6,
1153
1173
  fill: t.color,
1154
1174
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 2,
1155
1175
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1156
- class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1176
+ class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1157
1177
  }, " ⬤ ", 14, aa)) : h("", !0),
1158
- Y(t) ? (a(), o("text", {
1178
+ q(t) ? (a(), o("text", {
1159
1179
  key: 1,
1160
- x: u(V)(t, !0).x,
1161
- "text-anchor": u(V)(t, !0).anchor,
1162
- y: u(Q)(t),
1180
+ x: n(V)(t, !0).x,
1181
+ "text-anchor": n(V)(t, !0).anchor,
1182
+ y: n(ee)(t),
1163
1183
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
1164
1184
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1165
1185
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1166
- class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1186
+ class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1167
1187
  }, c(d.value.breakdown[s].name), 15, oa)) : h("", !0)
1168
1188
  ]))), 256)),
1169
- (a(!0), o(_, null, x(B.value, (t, s) => (a(), o("g", null, [
1170
- Y(t) ? (a(), o("text", {
1189
+ (a(!0), o(_, null, m(j.value, (t, s) => (a(), o("g", null, [
1190
+ q(t) ? (a(), o("text", {
1171
1191
  key: 0,
1172
- x: u(V)(t, !0).x,
1173
- "text-anchor": u(V)(t).anchor,
1174
- y: u(Q)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1192
+ x: n(V)(t, !0).x,
1193
+ "text-anchor": n(V)(t).anchor,
1194
+ y: n(ee)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1175
1195
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
1176
1196
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1177
1197
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1178
- class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1179
- }, c(u(A)({
1198
+ class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1199
+ }, c(n(N)({
1180
1200
  v: d.value.breakdown[s].value / d.value.value * 100,
1181
1201
  s: "%",
1182
1202
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
1183
- })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].branchName) + " " + c(u(M)(
1203
+ })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].branchName) + " " + c(n(D)(
1184
1204
  e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
1185
1205
  d.value.breakdown[s].value,
1186
- u(A)({
1206
+ n(N)({
1187
1207
  p: e.value.style.chart.layout.nuts.selected.labels.dataLabels.prefix,
1188
1208
  v: d.value.breakdown[s].value,
1189
1209
  s: e.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
1190
1210
  r: e.value.style.chart.layout.nuts.selected.roundingValue
1191
1211
  }),
1192
- { datapoint: B.value, seriesIndex: s }
1212
+ { datapoint: j.value, seriesIndex: s }
1193
1213
  )), 15, sa)) : h("", !0),
1194
- Y(t) ? (a(), o("text", {
1214
+ q(t) ? (a(), o("text", {
1195
1215
  key: 1,
1196
- x: u(V)(t, !0).x,
1197
- "text-anchor": u(V)(t).anchor,
1198
- y: u(Q)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 2,
1216
+ x: n(V)(t, !0).x,
1217
+ "text-anchor": n(V)(t).anchor,
1218
+ y: n(ee)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 2,
1199
1219
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
1200
1220
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1201
1221
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1202
- class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1203
- }, c(u(A)({
1222
+ class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1223
+ }, c(n(N)({
1204
1224
  v: d.value.breakdown[s].proportionToRoot * 100,
1205
1225
  s: "%",
1206
1226
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
1207
- })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].rootName), 15, ua)) : h("", !0),
1208
- Y(t) ? (a(), o("text", {
1227
+ })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].rootName), 15, na)) : h("", !0),
1228
+ q(t) ? (a(), o("text", {
1209
1229
  key: 2,
1210
- x: u(V)(t, !0).x,
1211
- "text-anchor": u(V)(t).anchor,
1212
- y: u(Q)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 3,
1230
+ x: n(V)(t, !0).x,
1231
+ "text-anchor": n(V)(t).anchor,
1232
+ y: n(ee)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 3,
1213
1233
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
1214
1234
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1215
1235
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1216
- class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1217
- }, c(u(A)({
1236
+ class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1237
+ }, c(n(N)({
1218
1238
  v: d.value.breakdown[s].proportionToTree * 100,
1219
1239
  s: "%",
1220
1240
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
1221
- })) + " " + c(e.value.translations.proportionToTree), 15, na)) : h("", !0)
1241
+ })) + " " + c(e.value.translations.proportionToTree), 15, ua)) : h("", !0)
1222
1242
  ]))), 256))
1223
1243
  ])) : h("", !0),
1224
- (a(!0), o(_, null, x(E.value, (t) => (a(), o("g", null, [
1225
- m.value && m.value.id === t.id && !d.value ? (a(), o("text", {
1244
+ (a(!0), o(_, null, m(U.value, (t) => (a(), o("g", null, [
1245
+ x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
1226
1246
  key: 0,
1227
1247
  x: t.x1 + 6,
1228
1248
  y: t.y1 + r.value.branchSize + 24,
@@ -1230,11 +1250,11 @@ const Ut = ["id"], Wt = {
1230
1250
  "text-anchor": "start",
1231
1251
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1232
1252
  fill: e.value.style.chart.layout.branches.labels.color,
1233
- onClick: $
1234
- }, c(t.name) + ": " + c(u(M)(
1253
+ onClick: z
1254
+ }, c(t.name) + ": " + c(n(D)(
1235
1255
  e.value.style.chart.layout.branches.labels.dataLabels.formatter,
1236
1256
  t.value,
1237
- u(A)({
1257
+ n(N)({
1238
1258
  p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
1239
1259
  v: t.value,
1240
1260
  s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
@@ -1242,55 +1262,55 @@ const Ut = ["id"], Wt = {
1242
1262
  }),
1243
1263
  { datapoint: t }
1244
1264
  )), 9, ra)) : h("", !0),
1245
- m.value && m.value.id === t.id && !d.value ? (a(), o("text", {
1265
+ x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
1246
1266
  key: 1,
1247
1267
  x: t.x1 + 6,
1248
1268
  y: t.y1 + r.value.branchSize + 48,
1249
1269
  "text-anchor": "start",
1250
1270
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1251
1271
  fill: e.value.style.chart.layout.branches.labels.color,
1252
- onClick: $
1253
- }, c(u(A)({
1272
+ onClick: z
1273
+ }, c(n(N)({
1254
1274
  v: t.proportionToRoot * 100,
1255
1275
  s: "%",
1256
1276
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
1257
1277
  })) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, ia)) : h("", !0),
1258
- m.value && m.value.id === t.id && !d.value ? (a(), o("text", {
1278
+ x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
1259
1279
  key: 2,
1260
1280
  x: t.x1 + 6,
1261
1281
  y: t.y1 + r.value.branchSize + 72,
1262
1282
  "text-anchor": "start",
1263
1283
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1264
1284
  fill: e.value.style.chart.layout.branches.labels.color,
1265
- onClick: $
1266
- }, c(u(A)({
1285
+ onClick: z
1286
+ }, c(n(N)({
1267
1287
  v: t.value / L.value * 100,
1268
1288
  s: "%",
1269
1289
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
1270
1290
  })) + " " + c(e.value.translations.proportionToTree), 9, ca)) : h("", !0)
1271
1291
  ]))), 256)),
1272
- N(l.$slots, "svg", { svg: r.value }, void 0, !0)
1292
+ w(l.$slots, "svg", { svg: r.value }, void 0, !0)
1273
1293
  ], 14, Yt)) : h("", !0),
1274
1294
  l.$slots.watermark ? (a(), o("div", da, [
1275
- N(l.$slots, "watermark", ae(oe({ isPrinting: u(ze) || u(Ae) })), void 0, !0)
1295
+ w(l.$slots, "watermark", B(M({ isPrinting: n(ze) || n(Ae) })), void 0, !0)
1276
1296
  ])) : h("", !0),
1277
- N(l.$slots, "legend", { legend: S.value }, void 0, !0),
1297
+ w(l.$slots, "legend", { legend: F.value }, void 0, !0),
1278
1298
  l.$slots.source ? (a(), o("div", va, [
1279
- N(l.$slots, "source", {}, void 0, !0)
1299
+ w(l.$slots, "source", {}, void 0, !0)
1280
1300
  ], 512)) : h("", !0),
1281
- ke.value && e.value.userOptions.buttons.table ? (a(), le(kt(te.value.component), wt({ key: 6 }, te.value.props, {
1301
+ ke.value && e.value.userOptions.buttons.table ? (a(), oe(kt(ae.value.component), wt({ key: 6 }, ae.value.props, {
1282
1302
  ref_key: "tableUnit",
1283
- ref: K,
1303
+ ref: Q,
1284
1304
  onClose: fe
1285
1305
  }), Be({
1286
- content: I(() => [
1287
- n("div", {
1306
+ content: $(() => [
1307
+ u("div", {
1288
1308
  ref_key: "tableContainer",
1289
1309
  ref: Fe,
1290
1310
  class: "vue-ui-chestnut-table",
1291
1311
  style: y(`${e.value.table.useDialog ? "" : "max-height: 300px;margin-top:24px"}`)
1292
1312
  }, [
1293
- n("div", {
1313
+ u("div", {
1294
1314
  style: y(`${e.value.table.useDialog ? "" : "padding-top:36px;"}position: relative`)
1295
1315
  }, [
1296
1316
  e.value.table.useDialog ? h("", !0) : (a(), o("div", {
@@ -1301,137 +1321,137 @@ const Ut = ["id"], Wt = {
1301
1321
  onClick: fe,
1302
1322
  onKeypress: Ct(fe, ["enter"])
1303
1323
  }, [
1304
- ge(u(me), {
1324
+ ge(n(xe), {
1305
1325
  name: "close",
1306
1326
  stroke: e.value.table.th.color,
1307
1327
  "stroke-width": 2
1308
1328
  }, null, 8, ["stroke"])
1309
1329
  ], 36)),
1310
- n("div", {
1330
+ u("div", {
1311
1331
  style: { width: "100%" },
1312
- class: w({ "vue-ui-responsive": u(dt) })
1332
+ class: C({ "vue-ui-responsive": n(dt) })
1313
1333
  }, [
1314
- n("table", ya, [
1334
+ u("table", ya, [
1315
1335
  e.value.table.useDialog ? h("", !0) : (a(), o("caption", {
1316
1336
  key: 0,
1317
1337
  style: y({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
1318
1338
  class: "vue-ui-data-table__caption"
1319
1339
  }, [
1320
- J(c(e.value.style.chart.layout.title.text) + " ", 1),
1340
+ Z(c(e.value.style.chart.layout.title.text) + " ", 1),
1321
1341
  e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", ha, c(e.value.style.chart.layout.title.subtitle.text), 1)) : h("", !0)
1322
1342
  ], 4)),
1323
- n("thead", null, [
1324
- n("tr", {
1343
+ u("thead", null, [
1344
+ u("tr", {
1325
1345
  role: "row",
1326
1346
  style: y(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1327
1347
  }, [
1328
- (a(!0), o(_, null, x(v.value.head, (t) => (a(), o("th", {
1348
+ (a(!0), o(_, null, m(v.value.head, (t) => (a(), o("th", {
1329
1349
  style: y(`outline:${e.value.table.th.outline}`)
1330
1350
  }, c(t), 5))), 256))
1331
1351
  ], 4)
1332
1352
  ]),
1333
- n("tbody", null, [
1334
- (a(!0), o(_, null, x(v.value.body, (t, s) => (a(), o("tr", {
1335
- class: w({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": s % 2 === 0, "vue-ui-data-table__tbody__row-odd": s % 2 !== 0 }),
1353
+ u("tbody", null, [
1354
+ (a(!0), o(_, null, m(v.value.body, (t, s) => (a(), o("tr", {
1355
+ class: C({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": s % 2 === 0, "vue-ui-data-table__tbody__row-odd": s % 2 !== 0 }),
1336
1356
  style: y(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1337
1357
  }, [
1338
- n("td", {
1358
+ u("td", {
1339
1359
  class: "vue-ui-data-table__tbody__td",
1340
1360
  style: y(`outline:${e.value.table.td.outline}`),
1341
1361
  "data-cell": v.value.head[0]
1342
1362
  }, [
1343
- n("div", ba, [
1363
+ u("div", ba, [
1344
1364
  v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", pa)) : (a(), o("span", ga, c(t.rootName), 1))
1345
1365
  ])
1346
1366
  ], 12, fa),
1347
- n("td", {
1367
+ u("td", {
1348
1368
  class: "vue-ui-data-table__tbody__td",
1349
1369
  style: y(`outline:${e.value.table.td.outline}`),
1350
1370
  "data-cell": v.value.head[1]
1351
1371
  }, [
1352
- n("div", xa, [
1353
- v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", ma)) : (a(), o("span", ka, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
1372
+ u("div", ma, [
1373
+ v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", xa)) : (a(), o("span", ka, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
1354
1374
  ])
1355
1375
  ], 12, _a),
1356
- n("td", {
1376
+ u("td", {
1357
1377
  class: "vue-ui-data-table__tbody__td",
1358
1378
  style: y(`outline:${e.value.table.td.outline}`),
1359
1379
  "data-cell": v.value.head[2]
1360
1380
  }, [
1361
- n("div", Ca, [
1381
+ u("div", Ca, [
1362
1382
  v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", $a)) : (a(), o("span", Ta, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1363
1383
  ])
1364
1384
  ], 12, wa),
1365
- n("td", {
1385
+ u("td", {
1366
1386
  class: "vue-ui-data-table__tbody__td",
1367
1387
  style: y(`outline:${e.value.table.td.outline}`),
1368
1388
  "data-cell": v.value.head[3]
1369
1389
  }, [
1370
- n("div", Aa, [
1390
+ u("div", Aa, [
1371
1391
  v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Sa)) : (a(), o("span", Na, c(t.branchName), 1))
1372
1392
  ])
1373
1393
  ], 12, za),
1374
- n("td", {
1394
+ u("td", {
1375
1395
  class: "vue-ui-data-table__tbody__td",
1376
1396
  style: y(`outline:${e.value.table.td.outline}`),
1377
1397
  "data-cell": v.value.head[4]
1378
1398
  }, [
1379
- n("div", Ia, [
1399
+ u("div", Ia, [
1380
1400
  v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", La)) : (a(), o("span", Pa, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
1381
1401
  ])
1382
1402
  ], 12, Fa),
1383
- n("td", {
1403
+ u("td", {
1384
1404
  class: "vue-ui-data-table__tbody__td",
1385
1405
  style: y(`outline:${e.value.table.td.outline}`),
1386
1406
  "data-cell": v.value.head[5]
1387
1407
  }, [
1388
- n("div", Ra, [
1408
+ u("div", Ra, [
1389
1409
  v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Va)) : (a(), o("span", Ba, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1390
1410
  ])
1391
1411
  ], 12, Oa),
1392
- n("td", {
1412
+ u("td", {
1393
1413
  class: "vue-ui-data-table__tbody__td",
1394
1414
  style: y(`outline:${e.value.table.td.outline}`),
1395
1415
  "data-cell": v.value.head[6]
1396
1416
  }, [
1397
- n("div", ja, [
1417
+ u("div", ja, [
1398
1418
  v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Da)) : (a(), o("span", Xa, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1399
1419
  ])
1400
1420
  ], 12, Ma),
1401
- n("td", {
1421
+ u("td", {
1402
1422
  class: "vue-ui-data-table__tbody__td",
1403
1423
  style: y(`outline:${e.value.table.td.outline}`),
1404
1424
  "data-cell": v.value.head[7]
1405
1425
  }, [
1406
- n("div", Ga, c(t.nutName), 1)
1426
+ u("div", Ga, c(t.nutName), 1)
1407
1427
  ], 12, Ea),
1408
- n("td", {
1428
+ u("td", {
1409
1429
  class: "vue-ui-data-table__tbody__td",
1410
1430
  style: y(`outline:${e.value.table.td.outline}`),
1411
1431
  "data-cell": v.value.head[8]
1412
1432
  }, [
1413
- n("div", Wa, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1433
+ u("div", Wa, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1414
1434
  ], 12, Ua),
1415
- n("td", {
1435
+ u("td", {
1416
1436
  class: "vue-ui-data-table__tbody__td",
1417
1437
  style: y(`outline:${e.value.table.td.outline}`),
1418
1438
  "data-cell": v.value.head[9]
1419
1439
  }, [
1420
- n("div", Ha, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1440
+ u("div", Ha, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1421
1441
  ], 12, Ya),
1422
- n("td", {
1442
+ u("td", {
1423
1443
  class: "vue-ui-data-table__tbody__td",
1424
1444
  style: y(`outline:${e.value.table.td.outline}`),
1425
1445
  "data-cell": v.value.head[10]
1426
1446
  }, [
1427
- n("div", Ka, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1447
+ u("div", Ka, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1428
1448
  ], 12, qa),
1429
- n("td", {
1449
+ u("td", {
1430
1450
  class: "vue-ui-data-table__tbody__td",
1431
1451
  style: y(`outline:${e.value.table.td.outline}`),
1432
1452
  "data-cell": v.value.head[11]
1433
1453
  }, [
1434
- n("div", Qa, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1454
+ u("div", Qa, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1435
1455
  ], 12, Ja)
1436
1456
  ], 6))), 256))
1437
1457
  ])
@@ -1444,32 +1464,32 @@ const Ut = ["id"], Wt = {
1444
1464
  }, [
1445
1465
  e.value.table.useDialog ? {
1446
1466
  name: "title",
1447
- fn: I(() => [
1448
- J(c(te.value.title), 1)
1467
+ fn: $(() => [
1468
+ Z(c(ae.value.title), 1)
1449
1469
  ]),
1450
1470
  key: "0"
1451
1471
  } : void 0,
1452
1472
  e.value.table.useDialog ? {
1453
1473
  name: "actions",
1454
- fn: I(() => [
1455
- n("button", {
1474
+ fn: $(() => [
1475
+ u("button", {
1456
1476
  tabindex: "0",
1457
1477
  class: "vue-ui-user-options-button",
1458
1478
  onClick: i[0] || (i[0] = (t) => ye(e.value.userOptions.callbacks.csv))
1459
1479
  }, [
1460
- ge(u(me), {
1480
+ ge(n(xe), {
1461
1481
  name: "excel",
1462
- stroke: te.value.props.color
1482
+ stroke: ae.value.props.color
1463
1483
  }, null, 8, ["stroke"])
1464
1484
  ])
1465
1485
  ]),
1466
1486
  key: "1"
1467
1487
  } : void 0
1468
1488
  ]), 1040)) : h("", !0),
1469
- u(Ce) ? (a(), le(Rt, { key: 7 })) : h("", !0)
1489
+ n(Ce) ? (a(), oe(Rt, { key: 7 })) : h("", !0)
1470
1490
  ], 46, Ut));
1471
1491
  }
1472
- }, yo = /* @__PURE__ */ Gt(Za, [["__scopeId", "data-v-b231d430"]]);
1492
+ }, yo = /* @__PURE__ */ Gt(Za, [["__scopeId", "data-v-4eb32f3c"]]);
1473
1493
  export {
1474
1494
  yo as default
1475
1495
  };