vue-data-ui 3.25.3 → 3.25.5

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 (200) hide show
  1. package/README.md +13 -13
  2. package/dist/{Arrow-Bvx4_tSN.js → Arrow-DLn-pcrh.js} +1 -1
  3. package/dist/{BaseDraggableDialog-BCQY4Tir.js → BaseDraggableDialog-BM_R41j8.js} +2 -2
  4. package/dist/{BaseIcon-CVrQHhw1.js → BaseIcon-t83PDe9k.js} +1 -1
  5. package/dist/{BaseLegendToggle-BF-thEu0.js → BaseLegendToggle-__JnV08B.js} +1 -1
  6. package/dist/{BaseZoomControls-BAHeLgV8.js → BaseZoomControls-Xo16vFa4.js} +2 -2
  7. package/dist/{ColorPicker-B0CMtFkc.js → ColorPicker-Bn3MY7eL.js} +103 -101
  8. package/dist/{DataTable-BBpTEQY5.js → DataTable-COIO9gi4.js} +2 -2
  9. package/dist/{HillActions-ChMsbYib.js → HillActions-Cl-dNBZR.js} +1 -1
  10. package/dist/{Legend-DmitJZi5.js → Legend-X4kF4PvW.js} +2 -2
  11. package/dist/{NonSvgPenAndPaper-DNIpZGOP.js → NonSvgPenAndPaper-KXRhcsxM.js} +12 -12
  12. package/dist/{PackageVersion-hRJtldYi.js → PackageVersion-M2Ws-VwJ.js} +1 -1
  13. package/dist/{PenAndPaper-DzM1vUXR.js → PenAndPaper-BgH3m_LP.js} +30 -14
  14. package/dist/{Shape-BBKymE00.js → Shape-CIqU-p2F.js} +1 -1
  15. package/dist/{SlicerPreview-W4PWXK69.js → SlicerPreview-GvsdvE-h.js} +27 -27
  16. package/dist/{SparkTooltip-9hXY74AD.js → SparkTooltip-C-Y-mDrc.js} +1 -1
  17. package/dist/{Title-DIf1lG-_.js → Title-CPHi-evi.js} +1 -1
  18. package/dist/{Tooltip-C3jBTIhR.js → Tooltip-hhrkQ3Lk.js} +1 -1
  19. package/dist/{UserOptions-m0uxKoiy.js → UserOptions-f3Q0nqrj.js} +2 -2
  20. package/dist/components/arrow.js +1 -1
  21. package/dist/components/vue-ui-3d-bar.js +1 -1
  22. package/dist/components/vue-ui-accordion.js +1 -1
  23. package/dist/components/vue-ui-age-pyramid.js +1 -1
  24. package/dist/components/vue-ui-annotator.js +1 -1
  25. package/dist/components/vue-ui-bullet.js +1 -1
  26. package/dist/components/vue-ui-bump.js +1 -1
  27. package/dist/components/vue-ui-candlestick.js +1 -1
  28. package/dist/components/vue-ui-carousel-table.js +1 -1
  29. package/dist/components/vue-ui-chestnut.js +1 -1
  30. package/dist/components/vue-ui-chord.js +1 -1
  31. package/dist/components/vue-ui-circle-pack.js +1 -1
  32. package/dist/components/vue-ui-cursor.js +1 -1
  33. package/dist/components/vue-ui-dag.js +1 -1
  34. package/dist/components/vue-ui-dashboard.js +1 -1
  35. package/dist/components/vue-ui-digits.js +1 -1
  36. package/dist/components/vue-ui-donut-evolution.js +1 -1
  37. package/dist/components/vue-ui-donut.js +1 -1
  38. package/dist/components/vue-ui-dumbbell.js +1 -1
  39. package/dist/components/vue-ui-flow.js +1 -1
  40. package/dist/components/vue-ui-funnel.js +1 -1
  41. package/dist/components/vue-ui-galaxy.js +1 -1
  42. package/dist/components/vue-ui-gauge.js +1 -1
  43. package/dist/components/vue-ui-geo.js +1 -1
  44. package/dist/components/vue-ui-gizmo.js +1 -1
  45. package/dist/components/vue-ui-heatmap.js +1 -1
  46. package/dist/components/vue-ui-hill.js +1 -1
  47. package/dist/components/vue-ui-history-plot.js +1 -1
  48. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  49. package/dist/components/vue-ui-icon.js +1 -1
  50. package/dist/components/vue-ui-kpi.js +1 -1
  51. package/dist/components/vue-ui-label.js +1 -1
  52. package/dist/components/vue-ui-mini-loader.js +1 -1
  53. package/dist/components/vue-ui-molecule.js +1 -1
  54. package/dist/components/vue-ui-mood-radar.js +1 -1
  55. package/dist/components/vue-ui-nested-donuts.js +1 -1
  56. package/dist/components/vue-ui-onion.js +1 -1
  57. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  58. package/dist/components/vue-ui-quadrant.js +1 -1
  59. package/dist/components/vue-ui-quick-chart.js +1 -1
  60. package/dist/components/vue-ui-radar.js +1 -1
  61. package/dist/components/vue-ui-rating.js +1 -1
  62. package/dist/components/vue-ui-relation-circle.js +1 -1
  63. package/dist/components/vue-ui-ridgeline.js +1 -1
  64. package/dist/components/vue-ui-rings.js +1 -1
  65. package/dist/components/vue-ui-scatter.js +1 -1
  66. package/dist/components/vue-ui-skeleton.js +1 -1
  67. package/dist/components/vue-ui-smiley.js +1 -1
  68. package/dist/components/vue-ui-spark-trend.js +1 -1
  69. package/dist/components/vue-ui-sparkbar.js +1 -1
  70. package/dist/components/vue-ui-sparkgauge.js +1 -1
  71. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  72. package/dist/components/vue-ui-sparkline.js +1 -1
  73. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  74. package/dist/components/vue-ui-stackbar.js +1 -1
  75. package/dist/components/vue-ui-stackline.js +1 -1
  76. package/dist/components/vue-ui-strip-plot.js +1 -1
  77. package/dist/components/vue-ui-table-heatmap.js +1 -1
  78. package/dist/components/vue-ui-table-sparkline.js +1 -1
  79. package/dist/components/vue-ui-table.js +1 -1
  80. package/dist/components/vue-ui-thermometer.js +1 -1
  81. package/dist/components/vue-ui-timer.js +1 -1
  82. package/dist/components/vue-ui-tiremarks.js +1 -1
  83. package/dist/components/vue-ui-treemap.js +1 -1
  84. package/dist/components/vue-ui-vertical-bar.js +1 -1
  85. package/dist/components/vue-ui-waffle.js +1 -1
  86. package/dist/components/vue-ui-wheel.js +1 -1
  87. package/dist/components/vue-ui-word-cloud.js +1 -1
  88. package/dist/components/vue-ui-world.js +1 -1
  89. package/dist/components/vue-ui-xy-canvas.js +1 -1
  90. package/dist/components/vue-ui-xy.js +1 -1
  91. package/dist/{dom-to-png-DPcw-QzB.js → dom-to-png-C6cQJ5Hq.js} +1 -1
  92. package/dist/{exposedLib-BGrCpxDo.js → exposedLib-CG3aXJ-v.js} +9 -9
  93. package/dist/{img-IjqD_xWl.js → img-DhGApYG0.js} +1 -1
  94. package/dist/{labelUtils-Bgt85NUY.js → labelUtils-BXX2NzRe.js} +1 -1
  95. package/dist/{lib-C7t_vY8w.js → lib-Dql7cqyA.js} +200 -177
  96. package/dist/{package-NccReU84.js → package-ta2JoIjx.js} +1 -1
  97. package/dist/{pdf-HBji623H.js → pdf-Di5yPEw9.js} +1 -1
  98. package/dist/{render-common-CHj9aLwI.js → render-common-bvOuxfN3.js} +2 -2
  99. package/dist/ssr/vue-ui-donut.js +1 -1
  100. package/dist/ssr/vue-ui-xy.js +1 -1
  101. package/dist/ssr.js +2 -2
  102. package/dist/style.css +1 -1
  103. package/dist/types/vue-data-ui.d.ts +70 -1
  104. package/dist/types/vue-ui-annotator.d.ts +58 -2
  105. package/dist/{useConfig-CyCVHo81.js → useConfig-C_mX5pOZ.js} +1329 -1313
  106. package/dist/{useNestedProp-BfTgFMXF.js → useNestedProp-Chvyfpl-.js} +1 -1
  107. package/dist/{useObjectBindings-ByORl1rV.js → useObjectBindings-uXpBcVyo.js} +1 -1
  108. package/dist/{usePrinter-VVTuFI6H.js → usePrinter-DISD7q5m.js} +2 -2
  109. package/dist/utils.js +3 -3
  110. package/dist/{vue-data-ui-xQI9KcZd.js → vue-data-ui-BjdCpsRV.js} +70 -70
  111. package/dist/vue-data-ui.js +74 -74
  112. package/dist/vue-ui-3d-bar-C0aLR6lw.js +1831 -0
  113. package/dist/{vue-ui-accordion-DuARUUdY.js → vue-ui-accordion-DRf3NQyH.js} +4 -4
  114. package/dist/{vue-ui-age-pyramid-D-ggLbES.js → vue-ui-age-pyramid-DUcB3lYs.js} +219 -217
  115. package/dist/vue-ui-annotator-DZ0O8Xa5.js +3325 -0
  116. package/dist/vue-ui-bullet-DIOCMF2H.js +702 -0
  117. package/dist/{vue-ui-bump-DiH9-DLV.js → vue-ui-bump-DoHnD1Xy.js} +59 -57
  118. package/dist/{vue-ui-candlestick-B486ChH8.js → vue-ui-candlestick-Cf8TYPl5.js} +453 -447
  119. package/dist/vue-ui-carousel-table-k1cBJ1i1.js +467 -0
  120. package/dist/{vue-ui-chestnut-DGESmviK.js → vue-ui-chestnut-BMAuaeif.js} +278 -276
  121. package/dist/{vue-ui-chord-DQJ7RuvS.js → vue-ui-chord-DCe2iPjk.js} +37 -35
  122. package/dist/{vue-ui-circle-pack-YXuSpTIB.js → vue-ui-circle-pack-Eb5hS_z3.js} +34 -32
  123. package/dist/{vue-ui-cursor-Dju_nWZh.js → vue-ui-cursor-CQWLyEx0.js} +4 -4
  124. package/dist/{vue-ui-dag-C2f1v-IC.js → vue-ui-dag-BqlsutMj.js} +80 -78
  125. package/dist/{vue-ui-dashboard-pNI0se0n.js → vue-ui-dashboard-Be3MmkgS.js} +77 -75
  126. package/dist/{vue-ui-digits-C5Z_lpSZ.js → vue-ui-digits-BqdfbcKX.js} +4 -4
  127. package/dist/vue-ui-donut-CuQVKuZa.js +2415 -0
  128. package/dist/{vue-ui-donut-evolution-DQn-87Ak.js → vue-ui-donut-evolution-DckruxZ9.js} +378 -376
  129. package/dist/{vue-ui-donut-DZXYGFJc.js → vue-ui-donut-gzGZ42uH.js} +102 -102
  130. package/dist/{vue-ui-dumbbell-CDtBLV2m.js → vue-ui-dumbbell-BYU-hh2E.js} +142 -140
  131. package/dist/{vue-ui-flow-B0L2gQ3k.js → vue-ui-flow-DLRcNDLc.js} +46 -44
  132. package/dist/vue-ui-funnel-DjoqNN1U.js +749 -0
  133. package/dist/{vue-ui-galaxy-yF4pKrlD.js → vue-ui-galaxy-BhR4IOra.js} +249 -247
  134. package/dist/vue-ui-gauge-Cq161Kwp.js +934 -0
  135. package/dist/{vue-ui-geo-CFz30xe0.js → vue-ui-geo-Ca8kPYr-.js} +41 -39
  136. package/dist/{vue-ui-gizmo-ys9jjs02.js → vue-ui-gizmo-wUqHJICb.js} +4 -4
  137. package/dist/{vue-ui-heatmap-qigx4Z5I.js → vue-ui-heatmap-Bl5ymvi9.js} +186 -184
  138. package/dist/{vue-ui-hill-K3JKKF1b.js → vue-ui-hill-D6Y9Xy2K.js} +14 -12
  139. package/dist/vue-ui-history-plot-CvVjsdCL.js +1698 -0
  140. package/dist/vue-ui-horizontal-bar-3on3-H3B.js +1711 -0
  141. package/dist/{vue-ui-kpi-0W2GpUBQ.js → vue-ui-kpi-CUpRRIUf.js} +4 -4
  142. package/dist/{vue-ui-label-CBM2b0Aq.js → vue-ui-label-DR2qUZOG.js} +65 -65
  143. package/dist/{vue-ui-mini-loader-C-2BQ3hi.js → vue-ui-mini-loader-D8W-fERs.js} +3 -3
  144. package/dist/vue-ui-molecule-BExVLLgE.js +929 -0
  145. package/dist/{vue-ui-mood-radar-VCVoA-i7.js → vue-ui-mood-radar-TW251icr.js} +205 -203
  146. package/dist/{vue-ui-nested-donuts-CFPhvIy3.js → vue-ui-nested-donuts-CWzJKr3S.js} +129 -127
  147. package/dist/{vue-ui-onion-BMucjktR.js → vue-ui-onion-VaYZQK5i.js} +124 -122
  148. package/dist/{vue-ui-parallel-coordinate-plot-BhahYf50.js → vue-ui-parallel-coordinate-plot-RM25bxtf.js} +380 -378
  149. package/dist/{vue-ui-quadrant-77idomwS.js → vue-ui-quadrant-Dmtwow7n.js} +51 -49
  150. package/dist/{vue-ui-quick-chart-CNKuNur5.js → vue-ui-quick-chart-Cswm3_eI.js} +190 -188
  151. package/dist/{vue-ui-radar-CuT1AXHF.js → vue-ui-radar-C3GYthqu.js} +315 -313
  152. package/dist/{vue-ui-rating-CTuSylET.js → vue-ui-rating-CBdDXL80.js} +3 -3
  153. package/dist/vue-ui-relation-circle-BA0qy0kp.js +905 -0
  154. package/dist/{vue-ui-ridgeline-CijnGJ6-.js → vue-ui-ridgeline-C5skjBTe.js} +353 -344
  155. package/dist/{vue-ui-rings-DDGKIiGT.js → vue-ui-rings-BJ8yEQMw.js} +332 -330
  156. package/dist/vue-ui-scatter-DXg8ESgr.js +2405 -0
  157. package/dist/{vue-ui-skeleton-Clzzx8hc.js → vue-ui-skeleton-D_u8EWeW.js} +60 -60
  158. package/dist/{vue-ui-smiley-DILPVI14.js → vue-ui-smiley-DQOp87rr.js} +3 -3
  159. package/dist/{vue-ui-spark-trend-CYIyrTQj.js → vue-ui-spark-trend-CjCufXof.js} +9 -9
  160. package/dist/{vue-ui-sparkbar-C2HcYmPm.js → vue-ui-sparkbar-BniEM15a.js} +142 -142
  161. package/dist/{vue-ui-sparkgauge-BLJ0mImj.js → vue-ui-sparkgauge-BtyCrqTQ.js} +33 -33
  162. package/dist/{vue-ui-sparkhistogram-1FYy_qM3.js → vue-ui-sparkhistogram-DQdn3PW1.js} +27 -27
  163. package/dist/{vue-ui-sparkline-C11KKbIn.js → vue-ui-sparkline-9qkNNZG6.js} +254 -254
  164. package/dist/vue-ui-sparkstackbar-BXQlOdOk.js +738 -0
  165. package/dist/vue-ui-stackbar-CkjicNDv.js +2355 -0
  166. package/dist/vue-ui-stackline-BB1IZta8.js +2469 -0
  167. package/dist/vue-ui-strip-plot-DGLGuH6e.js +1740 -0
  168. package/dist/vue-ui-table-BXz_HY2g.js +1352 -0
  169. package/dist/{vue-ui-table-heatmap-Dj06PSQK.js → vue-ui-table-heatmap-XmDK1aHJ.js} +10 -10
  170. package/dist/{vue-ui-table-sparkline-1h7A5F1N.js → vue-ui-table-sparkline-MTEw3imE.js} +14 -14
  171. package/dist/{vue-ui-thermometer-CVKlj7fU.js → vue-ui-thermometer-CLx3SPRv.js} +36 -34
  172. package/dist/{vue-ui-timer-BWz6K56E.js → vue-ui-timer-BDWUNb6t.js} +6 -6
  173. package/dist/{vue-ui-tiremarks-D26MLo5F.js → vue-ui-tiremarks-DoaypTC-.js} +11 -9
  174. package/dist/{vue-ui-treemap-33VL-HnF.js → vue-ui-treemap-Bv7PgpiC.js} +45 -43
  175. package/dist/vue-ui-waffle-z2DhvSAx.js +1621 -0
  176. package/dist/{vue-ui-wheel-BPbR_-t8.js → vue-ui-wheel-DYLBJuFb.js} +31 -29
  177. package/dist/{vue-ui-word-cloud-RFcpvswb.js → vue-ui-word-cloud-CbpEhSdL.js} +32 -30
  178. package/dist/{vue-ui-world-CseHQjz7.js → vue-ui-world-C2atz4Xm.js} +120 -118
  179. package/dist/{vue-ui-xy-D_biv7Wg.js → vue-ui-xy-B3DQ6t46.js} +1496 -1490
  180. package/dist/{vue-ui-xy-C3UI9YIM.js → vue-ui-xy-CpA0W6zM.js} +424 -423
  181. package/dist/{vue-ui-xy-canvas-R1I0sffy.js → vue-ui-xy-canvas-CJefORWc.js} +78 -78
  182. package/package.json +1 -1
  183. package/dist/vue-ui-3d-bar-Cf5mJEzr.js +0 -1829
  184. package/dist/vue-ui-annotator-MvDwnq7k.js +0 -2886
  185. package/dist/vue-ui-bullet-DWe51l3b.js +0 -700
  186. package/dist/vue-ui-carousel-table-BPNQQVsu.js +0 -467
  187. package/dist/vue-ui-donut-CaMaNvIF.js +0 -2413
  188. package/dist/vue-ui-funnel-G5nO77o5.js +0 -747
  189. package/dist/vue-ui-gauge-DA92q6HZ.js +0 -932
  190. package/dist/vue-ui-history-plot-DUoXwHLn.js +0 -1696
  191. package/dist/vue-ui-horizontal-bar-C51hv9PU.js +0 -1709
  192. package/dist/vue-ui-molecule-B1ChvZql.js +0 -929
  193. package/dist/vue-ui-relation-circle-DxONGvTM.js +0 -903
  194. package/dist/vue-ui-scatter-Cwlhv9y6.js +0 -2403
  195. package/dist/vue-ui-sparkstackbar-B4H_cgzW.js +0 -738
  196. package/dist/vue-ui-stackbar-CBOAAVtS.js +0 -2349
  197. package/dist/vue-ui-stackline-24PeB3yN.js +0 -2463
  198. package/dist/vue-ui-strip-plot-C3Q1lECl.js +0 -1738
  199. package/dist/vue-ui-table-DMJWplCT.js +0 -1352
  200. package/dist/vue-ui-waffle-DIFpyE2V.js +0 -1619
@@ -1,21 +1,21 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, D as n, Ht as r, It as i, Jt as a, Nt as o, S as ee, Ut as te, X as s, Xt as ne, f as c, h as re, i as l, jt as ie, mt as ae, nt as oe, p as se, q as ce, r as le, t as ue, w as de } from "./lib-C7t_vY8w.js";
3
- import { n as fe, t as pe } from "./useHints-Dq_w2E8B.js";
4
- import { t as me } from "./useConfig-CyCVHo81.js";
5
- import { t as he } from "./usePrinter-VVTuFI6H.js";
6
- import { n as ge, t as _e } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as ve } from "./useNestedProp-BfTgFMXF.js";
8
- import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as be } from "./useChartExport-iwOqiIWX.js";
10
- import { t as xe } from "./img-IjqD_xWl.js";
11
- import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
- import { t as Ce } from "./DefGrad-DVBqDjhO.js";
13
- import { t as we } from "./A11yDataTable-DdRsVULz.js";
14
- import { t as Te } from "./useUserOptionState-DK-_1ddE.js";
15
- import { t as Ee } from "./useChartAccessibility-DYqac8yF.js";
16
- import { t as De } from "./useTableResponsive-BAqJPR68.js";
17
- import { t as Oe } from "./vue_ui_chestnut-D2oUhad6.js";
18
- import { Fragment as u, computed as d, createBlock as ke, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Ae, createTextVNode as je, createVNode as h, defineAsyncComponent as Me, guardReactiveProps as g, mergeProps as Ne, nextTick as Pe, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onMounted as Fe, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Ie, toDisplayString as w, toRefs as Le, unref as T, useCssVars as Re, watch as ze, withCtx as E, withKeys as Be } from "vue";
2
+ import { $ as t, D as n, Lt as r, Mt as i, Pt as a, S as o, Ut as s, Wt as ee, X as c, Yt as te, Zt as ne, f as l, h as re, ht as ie, i as u, nt as ae, p as oe, q as se, r as ce, t as le, w as ue } from "./lib-Dql7cqyA.js";
3
+ import { n as de, t as fe } from "./useHints-Dq_w2E8B.js";
4
+ import { t as pe } from "./useConfig-C_mX5pOZ.js";
5
+ import { t as me } from "./usePrinter-DISD7q5m.js";
6
+ import { n as he, t as ge } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as _e } from "./useNestedProp-Chvyfpl-.js";
8
+ import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as ye } from "./useChartExport-iwOqiIWX.js";
10
+ import { t as be } from "./img-DhGApYG0.js";
11
+ import { t as xe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
+ import { t as Se } from "./DefGrad-DVBqDjhO.js";
13
+ import { t as Ce } from "./A11yDataTable-DdRsVULz.js";
14
+ import { t as we } from "./useUserOptionState-DK-_1ddE.js";
15
+ import { t as Te } from "./useChartAccessibility-DYqac8yF.js";
16
+ import { t as Ee } from "./useTableResponsive-BAqJPR68.js";
17
+ import { t as De } from "./vue_ui_chestnut-D2oUhad6.js";
18
+ import { Fragment as d, computed as f, createBlock as Oe, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as ke, createTextVNode as Ae, createVNode as je, defineAsyncComponent as Me, guardReactiveProps as g, mergeProps as Ne, nextTick as Pe, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onMounted as Fe, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Ie, toDisplayString as w, toRefs as Le, unref as T, useCssVars as Re, watch as ze, withCtx as E, withKeys as Be } from "vue";
19
19
  //#region src/components/vue-ui-chestnut.vue
20
20
  var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We = {
21
21
  "aria-live": "polite",
@@ -336,7 +336,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
336
336
  "justify-content": "flex-end",
337
337
  width: "100%",
338
338
  "padding-right": "3px"
339
- } }, Nn = /*#__PURE__*/ Se({
339
+ } }, Nn = /*#__PURE__*/ xe({
340
340
  __name: "vue-ui-chestnut",
341
341
  props: {
342
342
  config: {
@@ -358,21 +358,21 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
358
358
  "selectNut",
359
359
  "copyAlt"
360
360
  ],
361
- setup(e, { expose: Se, emit: Ve }) {
362
- Re((e) => ({ v442dd34a: e.tdo }));
363
- let Nn = Me(() => import("./BaseIcon-CVrQHhw1.js").then((e) => e.n)), Pn = Me(() => import("./vue-ui-accordion-DuARUUdY.js").then((e) => e.n)), Fn = Me(() => import("./PenAndPaper-DzM1vUXR.js").then((e) => e.t)), In = Me(() => import("./UserOptions-m0uxKoiy.js").then((e) => e.n)), Ln = Me(() => import("./PackageVersion-hRJtldYi.js").then((e) => e.t)), Rn = Me(() => import("./BaseDraggableDialog-BCQY4Tir.js").then((e) => e.n)), { vue_ui_chestnut: zn } = me(), { isThemeValid: Bn, warnInvalidTheme: Vn } = ye(), D = e, Hn = d(() => !!D.dataset && D.dataset.length), O = x(ce()), Un = x(null), Wn = x(0), Gn = x(null), Kn = x(null), qn = x(!1), k = x(!1), A = x(""), j = x({
361
+ setup(e, { expose: xe, emit: Ve }) {
362
+ Re((e) => ({ a755cd70: e.tdo }));
363
+ let Nn = Me(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), Pn = Me(() => import("./vue-ui-accordion-DRf3NQyH.js").then((e) => e.n)), Fn = Me(() => import("./PenAndPaper-BgH3m_LP.js").then((e) => e.t)), In = Me(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), Ln = Me(() => import("./PackageVersion-M2Ws-VwJ.js").then((e) => e.t)), Rn = Me(() => import("./BaseDraggableDialog-BM_R41j8.js").then((e) => e.n)), { vue_ui_chestnut: zn } = pe(), { isThemeValid: Bn, warnInvalidTheme: Vn } = ve(), D = e, Hn = f(() => !!D.dataset && D.dataset.length), O = x(se()), Un = x(null), Wn = x(0), Gn = x(null), Kn = x(null), qn = x(!1), k = x(!1), A = x(""), j = x({
364
364
  level: "root",
365
365
  rootIndex: 0,
366
366
  branchIndex: 0,
367
367
  nutIndex: 0,
368
368
  locked: !1
369
369
  }), M = x(tr());
370
- fe({
370
+ de({
371
371
  config: () => M.value,
372
372
  dataset: () => D.dataset,
373
373
  component: "VueUiChestnut",
374
374
  rules: [
375
- pe.emptyArray,
375
+ fe.emptyArray,
376
376
  {
377
377
  test: (e) => e.some((e) => e?.branches && e.branches.length > 10),
378
378
  message: [
@@ -391,7 +391,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
391
391
  }
392
392
  ]
393
393
  });
394
- let N = d(() => M.value.userOptions.useCursorPointer), Jn = d(() => ne({
394
+ let N = f(() => M.value.userOptions.useCursorPointer), Jn = f(() => ne({
395
395
  defaultConfig: {
396
396
  userOptions: { show: !1 },
397
397
  table: { show: !1 },
@@ -416,7 +416,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
416
416
  } }
417
417
  },
418
418
  userConfig: M.value.skeletonConfig ?? {}
419
- })), { loading: Yn, FINAL_DATASET: Xn } = ge({
419
+ })), { loading: Yn, FINAL_DATASET: Xn } = he({
420
420
  ...Le(D),
421
421
  FINAL_CONFIG: M,
422
422
  prepareConfig: tr,
@@ -539,38 +539,38 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
539
539
  defaultConfig: M.value,
540
540
  userConfig: Jn.value
541
541
  })
542
- }), { userOptionsVisible: Zn, setUserOptionsVisibility: Qn, keepUserOptionState: $n } = Te({ config: M.value }), { svgRef: er } = Ee({ config: M.value.style.chart.layout.title });
542
+ }), { userOptionsVisible: Zn, setUserOptionsVisibility: Qn, keepUserOptionState: $n } = we({ config: M.value }), { svgRef: er } = Te({ config: M.value.style.chart.layout.title });
543
543
  function tr() {
544
- let e = ve({
544
+ let e = _e({
545
545
  userConfig: D.config,
546
546
  defaultConfig: zn
547
547
  }), t = e.theme;
548
548
  if (!t) return e;
549
549
  if (!Bn.value(e)) return Vn(e), e;
550
- let n = ve({
551
- userConfig: Oe[t] || D.config,
550
+ let n = _e({
551
+ userConfig: De[t] || D.config,
552
552
  defaultConfig: e
553
- }), r = ve({
553
+ }), i = _e({
554
554
  userConfig: D.config,
555
555
  defaultConfig: n
556
556
  });
557
557
  return {
558
- ...r,
559
- customPalette: r.customPalette.length ? r.customPalette : a[t] || i
558
+ ...i,
559
+ customPalette: i.customPalette.length ? i.customPalette : te[t] || r
560
560
  };
561
561
  }
562
562
  ze(() => D.config, (e) => {
563
563
  M.value = tr(), Zn.value = !M.value.userOptions.showOnChartHover, P.value.showTable = M.value.table.show, Dr();
564
564
  }, { deep: !0 });
565
- let { isPrinting: nr, isImaging: rr, generatePdf: ir, generateImage: ar } = he({
565
+ let { isPrinting: nr, isImaging: rr, generatePdf: ir, generateImage: ar } = me({
566
566
  elementId: `vue-ui-chestnut_${O.value}`,
567
567
  fileName: M.value.style.chart.layout.title.text || "vue-ui-chestnut",
568
568
  options: M.value.userOptions.print
569
- }), or = d(() => M.value.userOptions.show), sr = d(() => de(M.value.customPalette)), P = x({ showTable: M.value.table.show });
569
+ }), or = f(() => M.value.userOptions.show), sr = f(() => ue(M.value.customPalette)), P = x({ showTable: M.value.table.show });
570
570
  ze(M, () => {
571
571
  P.value = { showTable: M.value.table.show };
572
572
  }, { immediate: !0 });
573
- let cr = x(null), lr = d(() => M.value.table.responsiveBreakpoint), F = x({
573
+ let cr = x(null), lr = f(() => M.value.table.responsiveBreakpoint), F = x({
574
574
  gap: 6,
575
575
  padding: {
576
576
  top: 102,
@@ -582,7 +582,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
582
582
  height: 0,
583
583
  branchSize: 32,
584
584
  branchStart: 128
585
- }), I = d(() => ({
585
+ }), I = f(() => ({
586
586
  left: F.value.padding.left,
587
587
  top: F.value.padding.top,
588
588
  right: F.value.width - F.value.padding.right,
@@ -590,34 +590,34 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
590
590
  width: F.value.width - (F.value.padding.left + F.value.padding.right),
591
591
  height: F.value.height - (F.value.padding.top + F.value.padding.bottom),
592
592
  seedX: F.value.padding.left + 64
593
- })), L = d(() => Xn.value.flatMap((e) => (e.branches || []).map((e) => e.value || 0)).reduce((e, t) => e + t, 0)), ur = d(() => M.value.debug), R = d(() => (ur.value && Xn.value.forEach((e, t) => {
594
- ae({
593
+ })), L = f(() => Xn.value.flatMap((e) => (e.branches || []).map((e) => e.value || 0)).reduce((e, t) => e + t, 0)), ur = f(() => M.value.debug), R = f(() => (ur.value && Xn.value.forEach((e, t) => {
594
+ ie({
595
595
  datasetObject: e,
596
596
  requiredAttributes: ["name", "branches"]
597
597
  }).forEach((e) => {
598
- oe({
598
+ ae({
599
599
  componentName: "VueUiChestnut",
600
600
  type: "datasetSerieAttribute",
601
601
  property: e,
602
602
  index: t
603
603
  });
604
604
  }), e.branches && e.branches.forEach((e, n) => {
605
- ae({
605
+ ie({
606
606
  datasetObject: e,
607
607
  requiredAttributes: ["name", "value"]
608
608
  }).forEach((e) => {
609
- oe({
609
+ ae({
610
610
  componentName: "VueUiChestnut",
611
611
  type: "datasetSerieAttribute",
612
612
  property: e,
613
613
  index: `${t} - ${n}`
614
614
  });
615
615
  }), e.breakdown && e.breakdown.forEach((e, r) => {
616
- ae({
616
+ ie({
617
617
  datasetObject: e,
618
618
  requiredAttributes: ["name", "value"]
619
619
  }).forEach((e) => {
620
- oe({
620
+ ae({
621
621
  componentName: "VueUiChestnut",
622
622
  type: "datasetSerieAttribute",
623
623
  property: e,
@@ -630,47 +630,47 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
630
630
  let n = (e.branches || []).map((e) => e.value || 0).reduce((e, t) => e + t, 0);
631
631
  return {
632
632
  ...e,
633
- color: ee(e.color) || sr.value[t] || i[t] || i[t % i.length],
633
+ color: o(e.color) || sr.value[t] || r[t] || r[t % r.length],
634
634
  id: e.id || `root_${t}_${O.value}`,
635
635
  type: "root",
636
636
  total: n,
637
637
  rootIndex: t,
638
- branches: (e.branches || []).map((r, a) => ({
639
- ...r,
638
+ branches: (e.branches || []).map((i, a) => ({
639
+ ...i,
640
640
  rootName: e.name,
641
641
  rootIndex: t,
642
- color: ee(e.color) || sr.value[t] || i[t] || i[t % i.length],
643
- value: r.value >= 0 ? r.value : 0,
644
- id: r.id || `branch_${t}_${a}_${O.value}`,
645
- proportionToRoot: r.value / n,
642
+ color: o(e.color) || sr.value[t] || r[t] || r[t % r.length],
643
+ value: i.value >= 0 ? i.value : 0,
644
+ id: i.id || `branch_${t}_${a}_${O.value}`,
645
+ proportionToRoot: i.value / n,
646
646
  type: "branch",
647
- breakdown: (r.breakdown || []).map((o, te) => ({
647
+ breakdown: (i.breakdown || []).map((s, ee) => ({
648
648
  table: {
649
649
  rootName: e.name,
650
650
  rootValue: n,
651
651
  rootToTotal: n / L.value,
652
- branchName: r.name,
653
- branchValue: r.value,
654
- branchToTotal: r.value / L.value,
655
- branchToRoot: r.value / n,
656
- nutName: o.name,
657
- nutValue: o.value,
658
- nutToTotal: o.value / L.value,
659
- nutToRoot: o.value / n,
660
- nutToBranch: o.value / r.value
652
+ branchName: i.name,
653
+ branchValue: i.value,
654
+ branchToTotal: i.value / L.value,
655
+ branchToRoot: i.value / n,
656
+ nutName: s.name,
657
+ nutValue: s.value,
658
+ nutToTotal: s.value / L.value,
659
+ nutToRoot: s.value / n,
660
+ nutToBranch: s.value / i.value
661
661
  },
662
- ...o,
662
+ ...s,
663
663
  type: "nut",
664
- branchName: r.name,
664
+ branchName: i.name,
665
665
  rootName: e.name,
666
- branchTotal: r.value >= 0 ? r.value : 0,
667
- proportionToBranch: o.value / r.value,
668
- proportionToRoot: o.value / n,
669
- proportionToTree: o.value / L.value,
666
+ branchTotal: i.value >= 0 ? i.value : 0,
667
+ proportionToBranch: s.value / i.value,
668
+ proportionToRoot: s.value / n,
669
+ proportionToTree: s.value / L.value,
670
670
  rootIndex: t,
671
- id: o.id || `nut_${t}_${a}_${te}_${O.value}`,
672
- color: ee(o.color) || sr.value[te] || i[te] || i[te % i.length],
673
- value: o.value >= 0 ? o.value : 0
671
+ id: s.id || `nut_${t}_${a}_${ee}_${O.value}`,
672
+ color: o(s.color) || sr.value[ee] || r[ee] || r[ee % r.length],
673
+ value: s.value >= 0 ? s.value : 0
674
674
  }))
675
675
  }))
676
676
  };
@@ -678,7 +678,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
678
678
  function dr() {
679
679
  return R.value;
680
680
  }
681
- let z = Ve, fr = d(() => R.value.flatMap((e) => e.branches).length), pr = d(() => Math.max(...R.value.map((e) => e.branches.map((e) => e.value).reduce((e, t) => e + t, 0)))), mr = d(() => Math.max(...R.value.flatMap((e) => e.branches.map((e) => e.value)))), hr = d(() => 256 + F.value.padding.left), B = d(() => R.value.sort((e, t) => t.total - e.total).map((e, t) => {
681
+ let z = Ve, fr = f(() => R.value.flatMap((e) => e.branches).length), pr = f(() => Math.max(...R.value.map((e) => e.branches.map((e) => e.value).reduce((e, t) => e + t, 0)))), mr = f(() => Math.max(...R.value.flatMap((e) => e.branches.map((e) => e.value)))), hr = f(() => 256 + F.value.padding.left), B = f(() => R.value.sort((e, t) => t.total - e.total).map((e, t) => {
682
682
  let n = I.value.height / R.value.length / 2, r = e.total / pr.value * (n > 64 ? 64 : n);
683
683
  return {
684
684
  ...e,
@@ -686,13 +686,13 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
686
686
  y: I.value.top + I.value.height / R.value.length * (t + 1) - (I.value.height / R.value.length / 2 + F.value.gap / 2),
687
687
  r: r < F.value.branchSize / 2 ? F.value.branchSize / 2 : r
688
688
  };
689
- })), gr = d(() => M.value.style.chart.layout.branches.widthRatio <= 0 ? .1 : M.value.style.chart.layout.branches.widthRatio > 1.8 ? 1.8 : M.value.style.chart.layout.branches.widthRatio), _r = d(() => B.value.flatMap((e) => e.branches)), V = d(() => _r.value.sort((e, t) => t.value - e.value).map((e, t) => ({
689
+ })), gr = f(() => M.value.style.chart.layout.branches.widthRatio <= 0 ? .1 : M.value.style.chart.layout.branches.widthRatio > 1.8 ? 1.8 : M.value.style.chart.layout.branches.widthRatio), _r = f(() => B.value.flatMap((e) => e.branches)), V = f(() => _r.value.sort((e, t) => t.value - e.value).map((e, t) => ({
690
690
  ...e,
691
691
  y1: t * F.value.branchSize + I.value.top + t * F.value.gap,
692
692
  y2: t * F.value.branchSize + F.value.branchSize,
693
693
  x1: hr.value,
694
694
  x2: 384 * e.value / mr.value * gr.value + hr.value
695
- }))), vr = d(() => B.value), yr = d(() => vr.value.map((e) => V.value.filter((t) => t.rootIndex === e.rootIndex).sort((e, t) => e.y1 - t.y1))), br = d(() => vr.value.map((e, t) => yr.value[t].map((e) => (e.breakdown || []).map((t, n) => ({
695
+ }))), vr = f(() => B.value), yr = f(() => vr.value.map((e) => V.value.filter((t) => t.rootIndex === e.rootIndex).sort((e, t) => e.y1 - t.y1))), br = f(() => vr.value.map((e, t) => yr.value[t].map((e) => (e.breakdown || []).map((t, n) => ({
696
696
  ...t,
697
697
  nutIndex: n,
698
698
  rootIndex: e.rootIndex,
@@ -728,7 +728,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
728
728
  K();
729
729
  let t = vr.value.findIndex((t) => t.rootIndex === e.rootIndex), n = (yr.value[t] || []).findIndex((t) => t.id === e.id);
730
730
  t !== -1 && (j.value.rootIndex = t), n !== -1 && (j.value.branchIndex = n), j.value.level = "nut", j.value.nutIndex = 0, Pe(() => {
731
- H.value = e, W.value = e, U.value = ie({
731
+ H.value = e, W.value = e, U.value = i({
732
732
  series: e.breakdown,
733
733
  base: 1
734
734
  }, e.x2 + 24 + M.value.style.chart.layout.nuts.offsetX, e.y1 + F.value.branchSize / 2, 80, 80), z("selectNut", e.breakdown), Q();
@@ -755,7 +755,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
755
755
  Dr();
756
756
  });
757
757
  function Dr() {
758
- o(D.dataset) && oe({
758
+ a(D.dataset) && ae({
759
759
  componentName: "VueUiChestnut",
760
760
  type: "dataset",
761
761
  debug: ur.value
@@ -763,7 +763,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
763
763
  let e = fr.value * (F.value.branchSize + F.value.gap) + F.value.padding.top + F.value.padding.bottom;
764
764
  F.value.height = e;
765
765
  }
766
- let Y = d(() => ({
766
+ let Y = f(() => ({
767
767
  head: [
768
768
  M.value.table.th.translations.rootName,
769
769
  M.value.table.th.translations.rootValue,
@@ -801,9 +801,9 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
801
801
  e.nutToBranch,
802
802
  e.nutToRoot,
803
803
  e.nutToTotal
804
- ]), o = r.concat([i]).concat(a), ee = n(o);
805
- e ? e(ee) : t({
806
- csvContent: ee,
804
+ ]), o = r.concat([i]).concat(a), s = n(o);
805
+ e ? e(s) : t({
806
+ csvContent: s,
807
807
  title: M.value.style.chart.layout.title.text || "vue-ui-chestnut"
808
808
  });
809
809
  });
@@ -821,7 +821,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
821
821
  }
822
822
  async function Pr({ scale: e = 2 } = {}) {
823
823
  if (!Un.value) return;
824
- let { width: t, height: n } = Un.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await xe({
824
+ let { width: t, height: n } = Un.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await be({
825
825
  domElement: Un.value,
826
826
  base64: !0,
827
827
  img: !0,
@@ -845,7 +845,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
845
845
  "Z"
846
846
  ].join(" ");
847
847
  }
848
- let Ir = d(() => {
848
+ let Ir = f(() => {
849
849
  let e = M.value.table.useDialog && !M.value.table.show, t = P.value.showTable;
850
850
  return {
851
851
  component: e ? Rn : Pn,
@@ -879,32 +879,32 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
879
879
  ze(() => P.value.showTable, async (e) => {
880
880
  M.value.table.show || (e && M.value.table.useDialog && Gn.value ? (await Pe(), Gn.value.open()) : "close" in Gn.value && Gn.value.close());
881
881
  });
882
- let { isResponsive: Lr } = De(cr, lr);
882
+ let { isResponsive: Lr } = Ee(cr, lr);
883
883
  function Rr() {
884
884
  P.value.showTable = !1, Kn.value && Kn.value.setTableIconState(!1);
885
885
  }
886
- let zr = d(() => R.value.map((e, t) => ({
886
+ let zr = f(() => R.value.map((e, t) => ({
887
887
  ...e,
888
- display: `${e.name}: ${l(M.value.style.chart.layout.roots.labels.formatter, e.total, s({
888
+ display: `${e.name}: ${u(M.value.style.chart.layout.roots.labels.formatter, e.total, c({
889
889
  p: M.value.style.chart.layout.legend.prefix,
890
890
  v: e.total,
891
891
  s: M.value.style.chart.layout.legend.suffix,
892
892
  r: M.value.style.chart.layout.legend.roundingValue
893
- }), { datapoint: e })} (${s({
893
+ }), { datapoint: e })} (${c({
894
894
  v: e.total / L.value * 100,
895
895
  s: "%",
896
896
  r: M.value.style.chart.layout.legend.roundingPercentage
897
897
  })})`
898
- }))), Br = d(() => zr.value.map((e) => ({
898
+ }))), Br = f(() => zr.value.map((e) => ({
899
899
  color: e.color,
900
900
  name: e.display,
901
901
  shape: "circle"
902
- }))), Vr = d(() => M.value.style.chart.backgroundColor), Hr = d(() => ({
902
+ }))), Vr = f(() => M.value.style.chart.backgroundColor), Hr = f(() => ({
903
903
  ...M.value.style.chart.layout.legend,
904
904
  textAlign: "center",
905
905
  show: !0,
906
906
  position: "bottom"
907
- })), Ur = d(() => M.value.style.chart.layout.title), { isCallbackImaging: Wr, isCallbackSvg: Gr, generateSvg: Kr, onGenerateImage: qr } = be({
907
+ })), Ur = f(() => M.value.style.chart.layout.title), { isCallbackImaging: Wr, isCallbackSvg: Gr, generateSvg: Kr, onGenerateImage: qr } = ye({
908
908
  svg: er,
909
909
  title: Ur,
910
910
  legend: Hr,
@@ -929,12 +929,12 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
929
929
  }
930
930
  function Yr(e) {
931
931
  if (!e) return "";
932
- let t = s({
932
+ let t = c({
933
933
  p: M.value.style.chart.layout.legend.prefix,
934
934
  v: e.total,
935
935
  s: M.value.style.chart.layout.legend.suffix,
936
936
  r: M.value.style.chart.layout.legend.roundingValue
937
- }), n = s({
937
+ }), n = c({
938
938
  v: e.total / L.value * 100,
939
939
  s: "%",
940
940
  r: M.value.style.chart.layout.legend.roundingPercentage
@@ -943,12 +943,12 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
943
943
  }
944
944
  function Xr(e) {
945
945
  if (!e) return "";
946
- let t = s({
946
+ let t = c({
947
947
  p: M.value.style.chart.layout.branches.labels.dataLabels.prefix,
948
948
  v: e.value,
949
949
  s: M.value.style.chart.layout.branches.labels.dataLabels.suffix,
950
950
  r: M.value.style.chart.layout.branches.labels.dataLabels.roundingValue
951
- }), n = s({
951
+ }), n = c({
952
952
  v: e.proportionToRoot * 100,
953
953
  s: "%",
954
954
  r: M.value.style.chart.layout.legend.roundingPercentage
@@ -957,19 +957,19 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
957
957
  }
958
958
  function Zr(e) {
959
959
  if (!e) return "";
960
- let t = s({
960
+ let t = c({
961
961
  p: M.value.style.chart.layout.legend.prefix,
962
962
  v: e.value,
963
963
  s: M.value.style.chart.layout.legend.suffix,
964
964
  r: M.value.style.chart.layout.nuts.selected.labels.roundingValue
965
- }), n = s({
965
+ }), n = c({
966
966
  v: e.proportionToBranch * 100,
967
967
  s: "%",
968
968
  r: M.value.style.chart.layout.nuts.selected.labels.roundingPercentage
969
969
  });
970
970
  return `Nut ${e.name}. Branch ${e.branchName}. Root ${e.rootName}. Value ${t}. ${n} of branch ${e.branchName}.`;
971
971
  }
972
- let Qr = d(() => vr.value[j.value.rootIndex] || null), X = d(() => (yr.value[j.value.rootIndex] || [])[j.value.branchIndex] || null), $r = d(() => ((br.value[j.value.rootIndex] || [])[j.value.branchIndex] || [])[j.value.nutIndex] || null), Z = d(() => Qr.value), ei = d(() => X.value), ti = d(() => j.value.level === "nut" ? X.value : null), ni = d(() => qn.value);
972
+ let Qr = f(() => vr.value[j.value.rootIndex] || null), X = f(() => (yr.value[j.value.rootIndex] || [])[j.value.branchIndex] || null), $r = f(() => ((br.value[j.value.rootIndex] || [])[j.value.branchIndex] || [])[j.value.nutIndex] || null), Z = f(() => Qr.value), ei = f(() => X.value), ti = f(() => j.value.level === "nut" ? X.value : null), ni = f(() => qn.value);
973
973
  function Q() {
974
974
  if (j.value.level === "root") {
975
975
  A.value = Yr(Qr.value);
@@ -1082,48 +1082,48 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1082
1082
  a && si();
1083
1083
  }
1084
1084
  }
1085
- let di = d(() => ({
1085
+ let di = f(() => ({
1086
1086
  headers: Y.value.head,
1087
1087
  rows: Y.value.body.map((e) => [
1088
1088
  e.rootName,
1089
1089
  e.rootValue,
1090
- s({
1090
+ c({
1091
1091
  v: e.rootToTotal * 100,
1092
1092
  s: "%",
1093
1093
  r: M.value.table.td.roundingPercentage
1094
1094
  }),
1095
1095
  e.branchName,
1096
1096
  e.branchValue,
1097
- s({
1097
+ c({
1098
1098
  v: e.branchToRoot * 100,
1099
1099
  s: "%",
1100
1100
  r: M.value.table.td.roundingPercentage
1101
1101
  }),
1102
- s({
1102
+ c({
1103
1103
  v: e.branchToTotal * 100,
1104
1104
  s: "%",
1105
1105
  r: M.value.table.td.roundingPercentage
1106
1106
  }),
1107
1107
  e.nutName,
1108
1108
  e.nutValue,
1109
- s({
1109
+ c({
1110
1110
  v: e.nutToBranch * 100,
1111
1111
  s: "%",
1112
1112
  r: M.value.table.td.roundingPercentage
1113
1113
  }),
1114
- s({
1114
+ c({
1115
1115
  v: e.nutToRoot * 100,
1116
1116
  s: "%",
1117
1117
  r: M.value.table.td.roundingPercentage
1118
1118
  }),
1119
- s({
1119
+ c({
1120
1120
  v: e.nutToTotal * 100,
1121
1121
  s: "%",
1122
1122
  r: M.value.table.td.roundingPercentage
1123
1123
  })
1124
1124
  ])
1125
1125
  }));
1126
- return Se({
1126
+ return xe({
1127
1127
  getData: dr,
1128
1128
  getImage: Pr,
1129
1129
  generatePdf: ir,
@@ -1134,7 +1134,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1134
1134
  toggleAnnotator: Nr,
1135
1135
  toggleFullscreen: Ar,
1136
1136
  copyAlt: Jr
1137
- }), (e, t) => (b(), p("div", {
1137
+ }), (e, t) => (b(), m("div", {
1138
1138
  class: _(`vue-data-ui-component vue-ui-chestnut ${kr.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
1139
1139
  ref_key: "chestnutChart",
1140
1140
  ref: Un,
@@ -1143,12 +1143,12 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1143
1143
  onMouseenter: t[12] ||= () => T(Qn)(!0),
1144
1144
  onMouseleave: t[13] ||= () => T(Qn)(!1)
1145
1145
  }, [
1146
- m("div", {
1146
+ h("div", {
1147
1147
  id: `chart-instructions-${O.value}`,
1148
1148
  class: "sr-only"
1149
- }, [m("p", null, w(M.value.a11y.translations.keyboardNavigation), 1)], 8, Ue),
1150
- m("div", We, w(A.value), 1),
1151
- di.value?.rows?.length ? (b(), ke(we, {
1149
+ }, [h("p", null, w(M.value.a11y.translations.keyboardNavigation), 1)], 8, Ue),
1150
+ h("div", We, w(A.value), 1),
1151
+ di.value?.rows?.length ? (b(), Oe(Ce, {
1152
1152
  key: 0,
1153
1153
  uid: O.value,
1154
1154
  head: di.value.headers,
@@ -1161,14 +1161,15 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1161
1161
  "body",
1162
1162
  "notice",
1163
1163
  "caption"
1164
- ])) : f("", !0),
1165
- M.value.userOptions.buttons.annotator ? (b(), ke(T(Fn), {
1164
+ ])) : p("", !0),
1165
+ M.value.userOptions.buttons.annotator ? (b(), Oe(T(Fn), {
1166
1166
  key: 1,
1167
1167
  svgRef: T(er),
1168
1168
  backgroundColor: M.value.style.chart.backgroundColor,
1169
1169
  color: M.value.style.chart.color,
1170
1170
  active: Mr.value,
1171
1171
  isCursorPointer: N.value,
1172
+ palette: M.value.userOptions.annotatorPalette,
1172
1173
  onClose: Nr
1173
1174
  }, {
1174
1175
  "annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
@@ -1183,10 +1184,11 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1183
1184
  "backgroundColor",
1184
1185
  "color",
1185
1186
  "active",
1186
- "isCursorPointer"
1187
- ])) : f("", !0),
1188
- or.value ? (b(), p("div", Ge, null, 512)) : f("", !0),
1189
- M.value.userOptions.show && Hn.value && (T($n) || T(Zn)) ? (b(), ke(T(In), {
1187
+ "isCursorPointer",
1188
+ "palette"
1189
+ ])) : p("", !0),
1190
+ or.value ? (b(), m("div", Ge, null, 512)) : p("", !0),
1191
+ M.value.userOptions.show && Hn.value && (T($n) || T(Zn)) ? (b(), Oe(T(In), {
1190
1192
  ref_key: "userOptionsRef",
1191
1193
  ref: Kn,
1192
1194
  key: `user_options_${Wn.value}`,
@@ -1221,7 +1223,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1221
1223
  onToggleAnnotator: Nr,
1222
1224
  onCopyAlt: Jr,
1223
1225
  style: y({ visibility: T($n) ? T(Zn) ? "visible" : "hidden" : "visible" })
1224
- }, Ae({ _: 2 }, [
1226
+ }, ke({ _: 2 }, [
1225
1227
  e.$slots.menuIcon ? {
1226
1228
  name: "menuIcon",
1227
1229
  fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", v(g({
@@ -1286,12 +1288,12 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1286
1288
  fn: E(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1287
1289
  key: "10"
1288
1290
  } : void 0
1289
- ]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : f("", !0),
1290
- m("div", Ke, [F.value.height > 0 ? (b(), p("svg", {
1291
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : p("", !0),
1292
+ h("div", Ke, [F.value.height > 0 ? (b(), m("svg", {
1291
1293
  key: 0,
1292
1294
  ref_key: "svgRef",
1293
1295
  ref: er,
1294
- xmlns: T(ue),
1296
+ xmlns: T(le),
1295
1297
  "aria-describedby": `chart-instructions-${O.value}`,
1296
1298
  class: _({
1297
1299
  "vue-data-ui-fullscreen--on": kr.value,
@@ -1304,16 +1306,16 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1304
1306
  onBlur: li,
1305
1307
  onKeydown: ui
1306
1308
  }, [
1307
- h(T(Ln)),
1308
- e.$slots["chart-background"] ? (b(), p("foreignObject", {
1309
+ je(T(Ln)),
1310
+ e.$slots["chart-background"] ? (b(), m("foreignObject", {
1309
1311
  key: 0,
1310
1312
  x: 0,
1311
1313
  y: 0,
1312
1314
  width: F.value.width <= 0 ? 10 : F.value.width,
1313
1315
  height: F.value.height <= 0 ? 10 : F.value.height,
1314
1316
  style: { pointerEvents: "none" }
1315
- }, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Je)) : f("", !0),
1316
- H.value ? f("", !0) : (b(), p("g", Ye, [M.value.style.chart.layout.title.text ? (b(), p("text", {
1317
+ }, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Je)) : p("", !0),
1318
+ H.value ? p("", !0) : (b(), m("g", Ye, [M.value.style.chart.layout.title.text ? (b(), m("text", {
1317
1319
  key: 0,
1318
1320
  "text-anchor": "middle",
1319
1321
  fill: M.value.style.chart.layout.title.color,
@@ -1324,7 +1326,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1324
1326
  onClick: t[0] ||= () => {
1325
1327
  K(), $(), k.value = !1;
1326
1328
  }
1327
- }, w(M.value.style.chart.layout.title.text), 9, Xe)) : f("", !0), M.value.style.chart.layout.title.subtitle.text ? (b(), p("text", {
1329
+ }, w(M.value.style.chart.layout.title.text), 9, Xe)) : p("", !0), M.value.style.chart.layout.title.subtitle.text ? (b(), m("text", {
1328
1330
  key: 1,
1329
1331
  "text-anchor": "middle",
1330
1332
  fill: M.value.style.chart.layout.title.subtitle.color,
@@ -1335,9 +1337,9 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1335
1337
  onClick: t[1] ||= () => {
1336
1338
  K(), $(), k.value = !1;
1337
1339
  }
1338
- }, w(M.value.style.chart.layout.title.subtitle.text), 9, Ze)) : f("", !0)])),
1339
- m("defs", null, [
1340
- (b(!0), p(u, null, S(R.value, (e, t) => (b(), ke(Ce, {
1340
+ }, w(M.value.style.chart.layout.title.subtitle.text), 9, Ze)) : p("", !0)])),
1341
+ h("defs", null, [
1342
+ (b(!0), m(d, null, S(R.value, (e, t) => (b(), Oe(Se, {
1341
1343
  t: "radial",
1342
1344
  cx: "50%",
1343
1345
  cy: "50%",
@@ -1348,7 +1350,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1348
1350
  key: `root_gradient_${O.value}_${e.rootIndex}`,
1349
1351
  stops: [[
1350
1352
  "0%",
1351
- T(r)(T(te)(e.color, .05), 100 - M.value.style.chart.layout.roots.gradientIntensity),
1353
+ T(s)(T(ee)(e.color, .05), 100 - M.value.style.chart.layout.roots.gradientIntensity),
1352
1354
  1
1353
1355
  ], [
1354
1356
  "100%",
@@ -1356,7 +1358,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1356
1358
  1
1357
1359
  ]]
1358
1360
  }, null, 8, ["id", "stops"]))), 128)),
1359
- (b(!0), p(u, null, S(R.value, (e) => (b(), ke(Ce, {
1361
+ (b(!0), m(d, null, S(R.value, (e) => (b(), Oe(Se, {
1360
1362
  t: "linear",
1361
1363
  x1: "0%",
1362
1364
  y1: "0%",
@@ -1370,11 +1372,11 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1370
1372
  1
1371
1373
  ], [
1372
1374
  "100%",
1373
- T(r)(T(te)(e.color, .02), 100 - M.value.style.chart.layout.branches.gradientIntensity),
1375
+ T(s)(T(ee)(e.color, .02), 100 - M.value.style.chart.layout.branches.gradientIntensity),
1374
1376
  1
1375
1377
  ]]
1376
1378
  }, null, 8, ["id", "stops"]))), 128)),
1377
- h(Ce, {
1379
+ je(Se, {
1378
1380
  t: "radial",
1379
1381
  cx: "50%",
1380
1382
  cy: "50%",
@@ -1385,22 +1387,22 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1385
1387
  stops: [
1386
1388
  [
1387
1389
  "0%",
1388
- T(r)("#FFFFFF", 0),
1390
+ T(s)("#FFFFFF", 0),
1389
1391
  0
1390
1392
  ],
1391
1393
  [
1392
1394
  "80%",
1393
- T(r)("#FFFFFF", M.value.style.chart.layout.nuts.selected.gradientIntensity),
1395
+ T(s)("#FFFFFF", M.value.style.chart.layout.nuts.selected.gradientIntensity),
1394
1396
  1
1395
1397
  ],
1396
1398
  [
1397
1399
  "100%",
1398
- T(r)("#FFFFFF", 0),
1400
+ T(s)("#FFFFFF", 0),
1399
1401
  0
1400
1402
  ]
1401
1403
  ]
1402
1404
  }, null, 8, ["id", "stops"]),
1403
- h(Ce, {
1405
+ je(Se, {
1404
1406
  t: "radial",
1405
1407
  cx: "50%",
1406
1408
  cy: "50%",
@@ -1411,22 +1413,22 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1411
1413
  stops: [
1412
1414
  [
1413
1415
  "0%",
1414
- T(r)("#FFFFFF", 0),
1416
+ T(s)("#FFFFFF", 0),
1415
1417
  0
1416
1418
  ],
1417
1419
  [
1418
1420
  "80%",
1419
- T(r)("#FFFFFF", M.value.style.chart.layout.nuts.gradientIntensity),
1421
+ T(s)("#FFFFFF", M.value.style.chart.layout.nuts.gradientIntensity),
1420
1422
  1
1421
1423
  ],
1422
1424
  [
1423
1425
  "100%",
1424
- T(r)("#FFFFFF", 0),
1426
+ T(s)("#FFFFFF", 0),
1425
1427
  0
1426
1428
  ]
1427
1429
  ]
1428
1430
  }, null, 8, ["id", "stops"]),
1429
- h(Ce, {
1431
+ je(Se, {
1430
1432
  t: "radial",
1431
1433
  cx: "50%",
1432
1434
  cy: "50%",
@@ -1437,23 +1439,23 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1437
1439
  stops: [
1438
1440
  [
1439
1441
  "0%",
1440
- T(r)(M.value.style.chart.backgroundColor, 100),
1442
+ T(s)(M.value.style.chart.backgroundColor, 100),
1441
1443
  1
1442
1444
  ],
1443
1445
  [
1444
1446
  "80%",
1445
- T(r)(M.value.style.chart.backgroundColor, 60),
1447
+ T(s)(M.value.style.chart.backgroundColor, 60),
1446
1448
  1
1447
1449
  ],
1448
1450
  [
1449
1451
  "100%",
1450
- T(r)(M.value.style.chart.backgroundColor, 0),
1452
+ T(s)(M.value.style.chart.backgroundColor, 0),
1451
1453
  1
1452
1454
  ]
1453
1455
  ]
1454
1456
  }, null, 8, ["id", "stops"])
1455
1457
  ]),
1456
- M.value.style.chart.layout.grandTotal.show ? (b(), p("g", Qe, [m("text", {
1458
+ M.value.style.chart.layout.grandTotal.show ? (b(), m("g", Qe, [h("text", {
1457
1459
  x: I.value.seedX,
1458
1460
  y: 32 + M.value.style.chart.layout.grandTotal.offsetY,
1459
1461
  "font-size": M.value.style.chart.layout.grandTotal.fontSize,
@@ -1463,7 +1465,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1463
1465
  onClick: t[2] ||= () => {
1464
1466
  K(), $(), k.value = !1;
1465
1467
  }
1466
- }, w(M.value.style.chart.layout.grandTotal.text), 9, $e), m("text", {
1468
+ }, w(M.value.style.chart.layout.grandTotal.text), 9, $e), h("text", {
1467
1469
  x: I.value.seedX,
1468
1470
  y: 38 + M.value.style.chart.layout.grandTotal.fontSize + M.value.style.chart.layout.grandTotal.offsetY,
1469
1471
  "font-size": M.value.style.chart.layout.grandTotal.fontSize,
@@ -1473,13 +1475,13 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1473
1475
  onClick: t[3] ||= () => {
1474
1476
  K(), $(), k.value = !1;
1475
1477
  }
1476
- }, w(T(l)(M.value.style.chart.layout.grandTotal.formatter, L.value, T(s)({
1478
+ }, w(T(u)(M.value.style.chart.layout.grandTotal.formatter, L.value, T(c)({
1477
1479
  p: M.value.style.chart.layout.grandTotal.prefix,
1478
1480
  v: L.value,
1479
1481
  s: M.value.style.chart.layout.grandTotal.suffix,
1480
1482
  r: M.value.style.chart.layout.grandTotal.roundingValue
1481
- }))), 9, et)])) : f("", !0),
1482
- (b(!0), p(u, null, S(V.value, (e) => (b(), p("g", null, [m("defs", null, [h(Ce, {
1483
+ }))), 9, et)])) : p("", !0),
1484
+ (b(!0), m(d, null, S(V.value, (e) => (b(), m("g", null, [h("defs", null, [je(Se, {
1483
1485
  t: "linear",
1484
1486
  id: `link_grad_${e.id}`,
1485
1487
  stops: [[
@@ -1488,12 +1490,12 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1488
1490
  1
1489
1491
  ], [
1490
1492
  "100%",
1491
- T(r)(e.color, M.value.style.chart.layout.links.opacity),
1493
+ T(s)(e.color, M.value.style.chart.layout.links.opacity),
1492
1494
  1
1493
1495
  ]]
1494
- }, null, 8, ["id", "stops"])]), m("path", {
1496
+ }, null, 8, ["id", "stops"])]), h("path", {
1495
1497
  d: Fr(e),
1496
- stroke: T(r)(e.color, M.value.style.chart.layout.links.opacity),
1498
+ stroke: T(s)(e.color, M.value.style.chart.layout.links.opacity),
1497
1499
  fill: `url(#link_grad_${e.id})`,
1498
1500
  "stroke-linecap": "round",
1499
1501
  "stroke-linejoin": "round",
@@ -1502,7 +1504,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1502
1504
  K(), $(), k.value = !1;
1503
1505
  }
1504
1506
  }, null, 12, tt)]))), 256)),
1505
- (b(!0), p(u, null, S(B.value, (e) => (b(), p("circle", {
1507
+ (b(!0), m(d, null, S(B.value, (e) => (b(), m("circle", {
1506
1508
  cx: e.x,
1507
1509
  cy: e.y,
1508
1510
  r: e.r,
@@ -1510,7 +1512,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1510
1512
  stroke: "none",
1511
1513
  style: y(`cursor:${N.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`)
1512
1514
  }, null, 12, nt))), 256)),
1513
- (b(!0), p(u, null, S(B.value, (e, t) => (b(), p("circle", {
1515
+ (b(!0), m(d, null, S(B.value, (e, t) => (b(), m("circle", {
1514
1516
  "aria-label": Yr(e),
1515
1517
  cx: e.x,
1516
1518
  cy: e.y,
@@ -1521,21 +1523,21 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1521
1523
  style: y(`cursor:${N.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`),
1522
1524
  onClick: (t) => wr(e)
1523
1525
  }, null, 12, rt))), 256)),
1524
- M.value.style.chart.layout.roots.labels.show ? (b(), p("g", it, [(b(!0), p(u, null, S(B.value, (e, t) => (b(), p("text", {
1526
+ M.value.style.chart.layout.roots.labels.show ? (b(), m("g", it, [(b(!0), m(d, null, S(B.value, (e, t) => (b(), m("text", {
1525
1527
  x: e.x,
1526
1528
  y: e.y + M.value.style.chart.layout.roots.labels.fontSize / 2.6,
1527
1529
  "text-anchor": "middle",
1528
1530
  "font-size": M.value.style.chart.layout.roots.labels.fontSize,
1529
- fill: M.value.style.chart.layout.roots.labels.adaptColorToBackground ? T(le)(e.color) : M.value.style.chart.layout.roots.labels.color,
1531
+ fill: M.value.style.chart.layout.roots.labels.adaptColorToBackground ? T(ce)(e.color) : M.value.style.chart.layout.roots.labels.color,
1530
1532
  "font-weight": "bold",
1531
1533
  style: y(`cursor:${N.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`),
1532
1534
  onClick: (t) => wr(e)
1533
- }, w(T(l)(M.value.style.chart.layout.roots.labels.formatter, e.total, T(s)({
1535
+ }, w(T(u)(M.value.style.chart.layout.roots.labels.formatter, e.total, T(c)({
1534
1536
  p: M.value.style.chart.layout.roots.labels.prefix,
1535
1537
  v: e.total,
1536
1538
  s: M.value.style.chart.layout.roots.labels.suffix,
1537
1539
  r: M.value.style.chart.layout.roots.labels.roundingValue
1538
- }), { datapoint: e })), 13, at))), 256)), (b(!0), p(u, null, S(B.value, (e) => (b(), p("g", null, [H.value && e.rootIndex === H.value.rootIndex || W.value && e.rootIndex === W.value.rootIndex || G.value && e.rootIndex === G.value.rootIndex ? (b(), p("g", ot, [m("text", {
1540
+ }), { datapoint: e })), 13, at))), 256)), (b(!0), m(d, null, S(B.value, (e) => (b(), m("g", null, [H.value && e.rootIndex === H.value.rootIndex || W.value && e.rootIndex === W.value.rootIndex || G.value && e.rootIndex === G.value.rootIndex ? (b(), m("g", ot, [h("text", {
1539
1541
  x: e.x,
1540
1542
  y: e.y + e.r + 24,
1541
1543
  "text-anchor": "middle",
@@ -1545,8 +1547,8 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1545
1547
  onClick: t[5] ||= () => {
1546
1548
  K(), $(), k.value = !1;
1547
1549
  }
1548
- }, w(e.name), 9, st)])) : f("", !0)]))), 256))])) : f("", !0),
1549
- (b(!0), p(u, null, S(V.value, (e) => (b(), p("rect", {
1550
+ }, w(e.name), 9, st)])) : p("", !0)]))), 256))])) : p("", !0),
1551
+ (b(!0), m(d, null, S(V.value, (e) => (b(), m("rect", {
1550
1552
  x: e.x1,
1551
1553
  y: e.y1,
1552
1554
  height: F.value.branchSize,
@@ -1557,7 +1559,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1557
1559
  style: y(`opacity:${q(e) ? 1 : .05}`),
1558
1560
  onClick: (t) => Cr(e)
1559
1561
  }, null, 12, ct))), 256)),
1560
- (b(!0), p(u, null, S(V.value, (e, t) => (b(), p("rect", {
1562
+ (b(!0), m(d, null, S(V.value, (e, t) => (b(), m("rect", {
1561
1563
  "aria-label": Xr(e),
1562
1564
  x: e.x1,
1563
1565
  y: e.y1,
@@ -1570,32 +1572,32 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1570
1572
  style: y(`cursor:${N.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`),
1571
1573
  onClick: (t) => Cr(e)
1572
1574
  }, null, 12, lt))), 256)),
1573
- M.value.style.chart.layout.branches.labels.dataLabels.show ? (b(), p("g", ut, [(b(!0), p(u, null, S(V.value, (e) => (b(), p("g", null, [e.proportionToRoot * 100 > M.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (b(), p("text", {
1575
+ M.value.style.chart.layout.branches.labels.dataLabels.show ? (b(), m("g", ut, [(b(!0), m(d, null, S(V.value, (e) => (b(), m("g", null, [e.proportionToRoot * 100 > M.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (b(), m("text", {
1574
1576
  key: 0,
1575
1577
  x: e.x1 + 6,
1576
1578
  y: e.y1 + F.value.branchSize / 1.5,
1577
1579
  "text-anchor": "start",
1578
- fill: T(le)(e.color),
1580
+ fill: T(ce)(e.color),
1579
1581
  "font-size": M.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1580
1582
  "font-weight": "bold",
1581
1583
  style: y(`cursor:${N.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`),
1582
1584
  onClick: (t) => Cr(e)
1583
- }, w(T(l)(M.value.style.chart.layout.branches.labels.dataLabels.formatter, e.value, T(s)({
1585
+ }, w(T(u)(M.value.style.chart.layout.branches.labels.dataLabels.formatter, e.value, T(c)({
1584
1586
  p: M.value.style.chart.layout.branches.labels.dataLabels.prefix,
1585
1587
  v: e.value,
1586
1588
  s: M.value.style.chart.layout.branches.labels.dataLabels.suffix,
1587
1589
  r: M.value.style.chart.layout.branches.labels.dataLabels.roundingValue
1588
- }), { datapoint: e })), 13, dt)) : f("", !0)]))), 256))])) : f("", !0),
1589
- (b(!0), p(u, null, S(V.value, (e, t) => (b(), p("g", null, [(b(!0), p(u, null, S(T(ie)({
1590
+ }), { datapoint: e })), 13, dt)) : p("", !0)]))), 256))])) : p("", !0),
1591
+ (b(!0), m(d, null, S(V.value, (e, t) => (b(), m("g", null, [(b(!0), m(d, null, S(T(i)({
1590
1592
  series: e.breakdown,
1591
1593
  base: 1
1592
- }, e.x2 + 24 + M.value.style.chart.layout.nuts.offsetX, e.y1 + F.value.branchSize / 2, F.value.branchSize / 3, F.value.branchSize / 3), (t, n) => (b(), p("path", {
1594
+ }, e.x2 + 24 + M.value.style.chart.layout.nuts.offsetX, e.y1 + F.value.branchSize / 2, F.value.branchSize / 3, F.value.branchSize / 3), (t, n) => (b(), m("path", {
1593
1595
  d: t.path,
1594
1596
  stroke: t.color,
1595
1597
  "stroke-width": 10,
1596
1598
  fill: "none",
1597
1599
  style: y(`opacity:${q(e) ? 1 : .1}`)
1598
- }, null, 12, ft))), 256)), m("circle", {
1600
+ }, null, 12, ft))), 256)), h("circle", {
1599
1601
  "aria-label": `Open details for branch ${e.name} in root ${e.rootName}`,
1600
1602
  fill: M.value.style.chart.layout.nuts.useGradient ? `url(#nut_${O.value})` : "transparent",
1601
1603
  cx: e.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
@@ -1604,7 +1606,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1604
1606
  onClick: (t) => Sr(e),
1605
1607
  style: y(`cursor:${N.value ? "pointer" : "default"};opacity:${q(e) ? 1 : .1}`)
1606
1608
  }, null, 12, pt)]))), 256)),
1607
- M.value.style.chart.layout.branches.labels.show && !W.value ? (b(), p("g", mt, [(b(!0), p(u, null, S(V.value, (e) => (b(), p("text", {
1609
+ M.value.style.chart.layout.branches.labels.show && !W.value ? (b(), m("g", mt, [(b(!0), m(d, null, S(V.value, (e) => (b(), m("text", {
1608
1610
  x: e.x2 + F.value.branchSize + 24 + M.value.style.chart.layout.nuts.offsetX,
1609
1611
  y: e.y1 + F.value.branchSize / 2 + 5,
1610
1612
  "font-size": M.value.style.chart.layout.branches.labels.fontSize,
@@ -1612,8 +1614,8 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1612
1614
  fill: M.value.style.chart.layout.branches.labels.color,
1613
1615
  "text-anchor": "start",
1614
1616
  style: y(`opacity:${q(e) ? 1 : .1}`)
1615
- }, w(e.name), 13, ht))), 256))])) : f("", !0),
1616
- m("line", {
1617
+ }, w(e.name), 13, ht))), 256))])) : p("", !0),
1618
+ h("line", {
1617
1619
  x1: 256 + F.value.padding.left,
1618
1620
  x2: 256 + F.value.padding.left,
1619
1621
  y1: I.value.top,
@@ -1621,7 +1623,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1621
1623
  stroke: M.value.style.chart.layout.verticalSeparator.stroke,
1622
1624
  "stroke-width": M.value.style.chart.layout.verticalSeparator.strokeWidth
1623
1625
  }, null, 8, gt),
1624
- !H.value && !W.value ? (b(), p("foreignObject", {
1626
+ !H.value && !W.value ? (b(), m("foreignObject", {
1625
1627
  key: 6,
1626
1628
  x: 0,
1627
1629
  y: I.value.bottom,
@@ -1632,28 +1634,28 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1632
1634
  onClick: t[6] ||= () => {
1633
1635
  K(), $(), k.value = !1;
1634
1636
  }
1635
- }, [m("div", vt, [m("div", yt, [(b(!0), p(u, null, S(B.value, (e) => (b(), p("div", { style: y(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${M.value.style.chart.layout.legend.fontSize}px;`) }, [(b(), p("svg", bt, [m("circle", {
1637
+ }, [h("div", vt, [h("div", yt, [(b(!0), m(d, null, S(B.value, (e) => (b(), m("div", { style: y(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${M.value.style.chart.layout.legend.fontSize}px;`) }, [(b(), m("svg", bt, [h("circle", {
1636
1638
  cx: "10",
1637
1639
  cy: "10",
1638
1640
  r: "10",
1639
1641
  fill: e.color,
1640
1642
  stroke: "none"
1641
- }, null, 8, xt)])), T(Yn) ? f("", !0) : (b(), p(u, { key: 0 }, [
1642
- m("span", null, w(e.name) + ":", 1),
1643
- m("b", null, w(T(l)(M.value.style.chart.layout.roots.labels.formatter, e.total, T(s)({
1643
+ }, null, 8, xt)])), T(Yn) ? p("", !0) : (b(), m(d, { key: 0 }, [
1644
+ h("span", null, w(e.name) + ":", 1),
1645
+ h("b", null, w(T(u)(M.value.style.chart.layout.roots.labels.formatter, e.total, T(c)({
1644
1646
  p: M.value.style.chart.layout.legend.prefix,
1645
1647
  v: e.total,
1646
1648
  s: M.value.style.chart.layout.legend.suffix,
1647
1649
  r: M.value.style.chart.layout.legend.roundingValue
1648
1650
  }), { datapoint: e })), 1),
1649
- je(" (" + w(T(s)({
1651
+ Ae(" (" + w(T(c)({
1650
1652
  v: e.total / L.value * 100,
1651
1653
  s: "%",
1652
1654
  r: M.value.style.chart.layout.legend.roundingPercentage
1653
1655
  })) + ") ", 1)
1654
- ], 64))], 4))), 256))])])], 8, _t)) : f("", !0),
1655
- H.value && U.value ? (b(), p("g", St, [
1656
- (b(), p("foreignObject", {
1656
+ ], 64))], 4))), 256))])])], 8, _t)) : p("", !0),
1657
+ H.value && U.value ? (b(), m("g", St, [
1658
+ (b(), m("foreignObject", {
1657
1659
  x: 0,
1658
1660
  y: Tr(),
1659
1661
  height: F.value.height - I.value.bottom,
@@ -1662,18 +1664,18 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1662
1664
  onClick: t[7] ||= () => {
1663
1665
  K(), $(), k.value = !1;
1664
1666
  }
1665
- }, [m("div", wt, [m("b", null, w(H.value.name), 1), m("div", Tt, [(b(!0), p(u, null, S(H.value.breakdown, (e, t) => (b(), p("div", { style: y(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${M.value.style.chart.layout.legend.fontSize}px;`) }, [(b(), p("svg", Et, [m("circle", {
1667
+ }, [h("div", wt, [h("b", null, w(H.value.name), 1), h("div", Tt, [(b(!0), m(d, null, S(H.value.breakdown, (e, t) => (b(), m("div", { style: y(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${M.value.style.chart.layout.legend.fontSize}px;`) }, [(b(), m("svg", Et, [h("circle", {
1666
1668
  cx: "10",
1667
1669
  cy: "10",
1668
1670
  r: "10",
1669
1671
  fill: e.color,
1670
1672
  stroke: "none"
1671
- }, null, 8, Dt)])), m("span", null, [
1672
- je(w(e.name) + ": ", 1),
1673
- m("b", null, w(M.value.style.chart.layout.legend.prefix) + " " + w(e.value.toFixed(M.value.style.chart.layout.nuts.selected.labels.roundingValue)) + " " + w(M.value.style.chart.layout.legend.suffix), 1),
1674
- je(" (" + w((e.proportionToBranch * 100).toFixed(M.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "%)", 1)
1673
+ }, null, 8, Dt)])), h("span", null, [
1674
+ Ae(w(e.name) + ": ", 1),
1675
+ h("b", null, w(M.value.style.chart.layout.legend.prefix) + " " + w(e.value.toFixed(M.value.style.chart.layout.nuts.selected.labels.roundingValue)) + " " + w(M.value.style.chart.layout.legend.suffix), 1),
1676
+ Ae(" (" + w((e.proportionToBranch * 100).toFixed(M.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "%)", 1)
1675
1677
  ])], 4))), 256))])])], 8, Ct)),
1676
- m("circle", {
1678
+ h("circle", {
1677
1679
  cx: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
1678
1680
  cy: H.value.y1 + F.value.branchSize / 2,
1679
1681
  r: 256,
@@ -1681,7 +1683,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1681
1683
  onClick: J,
1682
1684
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1683
1685
  }, null, 10, Ot),
1684
- (b(!0), p(u, null, S(U.value, (e) => (b(), p("g", null, [Er(e) ? (b(), p("path", {
1686
+ (b(!0), m(d, null, S(U.value, (e) => (b(), m("g", null, [Er(e) ? (b(), m("path", {
1685
1687
  key: 0,
1686
1688
  d: T(re)(e, {
1687
1689
  x: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
@@ -1693,8 +1695,8 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1693
1695
  "stroke-linejoin": "round",
1694
1696
  fill: "none",
1695
1697
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1696
- }, null, 10, kt)) : f("", !0)]))), 256)),
1697
- m("circle", {
1698
+ }, null, 10, kt)) : p("", !0)]))), 256)),
1699
+ h("circle", {
1698
1700
  cx: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
1699
1701
  cy: H.value.y1 + F.value.branchSize / 2,
1700
1702
  r: 118,
@@ -1702,7 +1704,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1702
1704
  onClick: J,
1703
1705
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1704
1706
  }, null, 10, At),
1705
- (b(!0), p(u, null, S(U.value, (e) => (b(), p("path", {
1707
+ (b(!0), m(d, null, S(U.value, (e) => (b(), m("path", {
1706
1708
  d: e.path,
1707
1709
  stroke: e.color,
1708
1710
  "stroke-width": 64,
@@ -1710,7 +1712,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1710
1712
  onClick: J,
1711
1713
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1712
1714
  }, null, 10, jt))), 256)),
1713
- m("circle", {
1715
+ h("circle", {
1714
1716
  cx: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
1715
1717
  cy: H.value.y1 + F.value.branchSize / 2,
1716
1718
  r: 110,
@@ -1718,7 +1720,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1718
1720
  onClick: J,
1719
1721
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1720
1722
  }, null, 10, Mt),
1721
- m("circle", {
1723
+ h("circle", {
1722
1724
  cx: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
1723
1725
  cy: H.value.y1 + F.value.branchSize / 2,
1724
1726
  r: 64,
@@ -1726,7 +1728,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1726
1728
  onClick: J,
1727
1729
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1728
1730
  }, null, 10, Nt),
1729
- m("text", {
1731
+ h("text", {
1730
1732
  x: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
1731
1733
  y: H.value.y1 + 8,
1732
1734
  fill: M.value.style.chart.layout.nuts.selected.labels.core.total.color,
@@ -1736,7 +1738,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1736
1738
  onClick: J,
1737
1739
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1738
1740
  }, w(M.value.translations.total), 11, Pt),
1739
- m("text", {
1741
+ h("text", {
1740
1742
  x: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
1741
1743
  y: H.value.y1 + 36,
1742
1744
  fill: M.value.style.chart.layout.nuts.selected.labels.core.value.color,
@@ -1745,46 +1747,46 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1745
1747
  "text-anchor": "middle",
1746
1748
  onClick: J,
1747
1749
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1748
- }, w(T(l)(M.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter, H.value.value, T(s)({
1750
+ }, w(T(u)(M.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter, H.value.value, T(c)({
1749
1751
  p: M.value.style.chart.layout.nuts.selected.labels.core.value.prefix,
1750
1752
  v: H.value.value,
1751
1753
  s: M.value.style.chart.layout.nuts.selected.labels.core.value.suffix,
1752
1754
  r: M.value.style.chart.layout.nuts.selected.roundingValue
1753
1755
  }), { datapoint: H.value })), 11, Ft),
1754
- (b(!0), p(u, null, S(U.value, (e, t) => (b(), p("g", null, [Er(e) ? (b(), p("text", {
1756
+ (b(!0), m(d, null, S(U.value, (e, t) => (b(), m("g", null, [Er(e) ? (b(), m("text", {
1755
1757
  key: 0,
1756
- x: T(c)(e).x,
1757
- "text-anchor": T(c)(e).anchor,
1758
- y: T(se)(e) - M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 6,
1758
+ x: T(l)(e).x,
1759
+ "text-anchor": T(l)(e).anchor,
1760
+ y: T(oe)(e) - M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 6,
1759
1761
  fill: e.color,
1760
1762
  "font-size": M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 2,
1761
1763
  style: y(`font-weight:${M.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1762
1764
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1763
- }, " ⬤ ", 14, It)) : f("", !0), Er(e) ? (b(), p("text", {
1765
+ }, " ⬤ ", 14, It)) : p("", !0), Er(e) ? (b(), m("text", {
1764
1766
  key: 1,
1765
- x: T(c)(e, !0).x,
1766
- "text-anchor": T(c)(e, !0).anchor,
1767
- y: T(se)(e),
1767
+ x: T(l)(e, !0).x,
1768
+ "text-anchor": T(l)(e, !0).anchor,
1769
+ y: T(oe)(e),
1768
1770
  fill: M.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
1769
1771
  "font-size": M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1770
1772
  style: y(`font-weight:${M.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1771
1773
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1772
- }, w(H.value.breakdown[t].name), 15, Lt)) : f("", !0)]))), 256)),
1773
- (b(!0), p(u, null, S(U.value, (e, t) => (b(), p("g", null, [
1774
- Er(e) ? (b(), p("text", {
1774
+ }, w(H.value.breakdown[t].name), 15, Lt)) : p("", !0)]))), 256)),
1775
+ (b(!0), m(d, null, S(U.value, (e, t) => (b(), m("g", null, [
1776
+ Er(e) ? (b(), m("text", {
1775
1777
  key: 0,
1776
- x: T(c)(e, !0).x,
1777
- "text-anchor": T(c)(e).anchor,
1778
- y: T(se)(e) + M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1778
+ x: T(l)(e, !0).x,
1779
+ "text-anchor": T(l)(e).anchor,
1780
+ y: T(oe)(e) + M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1779
1781
  fill: M.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
1780
1782
  "font-size": M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1781
1783
  style: y(`font-weight:${M.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1782
1784
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1783
- }, w(T(s)({
1785
+ }, w(T(c)({
1784
1786
  v: H.value.breakdown[t].value / H.value.value * 100,
1785
1787
  s: "%",
1786
1788
  r: M.value.style.chart.layout.nuts.selected.labels.roundingPercentage
1787
- })) + " " + w(M.value.translations.of) + " " + w(H.value.breakdown[t].branchName) + " " + w(T(l)(M.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter, H.value.breakdown[t].value, T(s)({
1789
+ })) + " " + w(M.value.translations.of) + " " + w(H.value.breakdown[t].branchName) + " " + w(T(u)(M.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter, H.value.breakdown[t].value, T(c)({
1788
1790
  p: M.value.style.chart.layout.nuts.selected.labels.dataLabels.prefix,
1789
1791
  v: H.value.breakdown[t].value,
1790
1792
  s: M.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
@@ -1792,39 +1794,39 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1792
1794
  }), {
1793
1795
  datapoint: U.value,
1794
1796
  seriesIndex: t
1795
- })), 15, Rt)) : f("", !0),
1796
- Er(e) ? (b(), p("text", {
1797
+ })), 15, Rt)) : p("", !0),
1798
+ Er(e) ? (b(), m("text", {
1797
1799
  key: 1,
1798
- x: T(c)(e, !0).x,
1799
- "text-anchor": T(c)(e).anchor,
1800
- y: T(se)(e) + M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 2,
1800
+ x: T(l)(e, !0).x,
1801
+ "text-anchor": T(l)(e).anchor,
1802
+ y: T(oe)(e) + M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 2,
1801
1803
  fill: M.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
1802
1804
  "font-size": M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1803
1805
  style: y(`font-weight:${M.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1804
1806
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1805
- }, w(T(s)({
1807
+ }, w(T(c)({
1806
1808
  v: H.value.breakdown[t].proportionToRoot * 100,
1807
1809
  s: "%",
1808
1810
  r: M.value.style.chart.layout.nuts.selected.labels.roundingPercentage
1809
- })) + " " + w(M.value.translations.of) + " " + w(H.value.breakdown[t].rootName), 15, zt)) : f("", !0),
1810
- Er(e) ? (b(), p("text", {
1811
+ })) + " " + w(M.value.translations.of) + " " + w(H.value.breakdown[t].rootName), 15, zt)) : p("", !0),
1812
+ Er(e) ? (b(), m("text", {
1811
1813
  key: 2,
1812
- x: T(c)(e, !0).x,
1813
- "text-anchor": T(c)(e).anchor,
1814
- y: T(se)(e) + M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 3,
1814
+ x: T(l)(e, !0).x,
1815
+ "text-anchor": T(l)(e).anchor,
1816
+ y: T(oe)(e) + M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 3,
1815
1817
  fill: M.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
1816
1818
  "font-size": M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1817
1819
  style: y(`font-weight:${M.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1818
1820
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1819
- }, w(T(s)({
1821
+ }, w(T(c)({
1820
1822
  v: H.value.breakdown[t].proportionToTree * 100,
1821
1823
  s: "%",
1822
1824
  r: M.value.style.chart.layout.nuts.selected.labels.roundingPercentage
1823
- })) + " " + w(M.value.translations.proportionToTree), 15, Bt)) : f("", !0)
1825
+ })) + " " + w(M.value.translations.proportionToTree), 15, Bt)) : p("", !0)
1824
1826
  ]))), 256))
1825
- ])) : f("", !0),
1826
- (b(!0), p(u, null, S(V.value, (e) => (b(), p("g", null, [
1827
- W.value && W.value.id === e.id && !H.value ? (b(), p("text", {
1827
+ ])) : p("", !0),
1828
+ (b(!0), m(d, null, S(V.value, (e) => (b(), m("g", null, [
1829
+ W.value && W.value.id === e.id && !H.value ? (b(), m("text", {
1828
1830
  key: 0,
1829
1831
  x: e.x1 + 6,
1830
1832
  y: e.y1 + F.value.branchSize + 24,
@@ -1835,13 +1837,13 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1835
1837
  onClick: t[8] ||= () => {
1836
1838
  K(), $(), k.value = !1;
1837
1839
  }
1838
- }, w(e.name) + ": " + w(T(l)(M.value.style.chart.layout.branches.labels.dataLabels.formatter, e.value, T(s)({
1840
+ }, w(e.name) + ": " + w(T(u)(M.value.style.chart.layout.branches.labels.dataLabels.formatter, e.value, T(c)({
1839
1841
  p: M.value.style.chart.layout.branches.labels.dataLabels.prefix,
1840
1842
  v: e.value,
1841
1843
  s: M.value.style.chart.layout.branches.labels.dataLabels.suffix,
1842
1844
  r: M.value.style.chart.layout.branches.labels.dataLabels.roundingValue
1843
- }), { datapoint: e })), 9, Vt)) : f("", !0),
1844
- W.value && W.value.id === e.id && !H.value ? (b(), p("text", {
1845
+ }), { datapoint: e })), 9, Vt)) : p("", !0),
1846
+ W.value && W.value.id === e.id && !H.value ? (b(), m("text", {
1845
1847
  key: 1,
1846
1848
  x: e.x1 + 6,
1847
1849
  y: e.y1 + F.value.branchSize + 48,
@@ -1851,12 +1853,12 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1851
1853
  onClick: t[9] ||= () => {
1852
1854
  K(), $(), k.value = !1;
1853
1855
  }
1854
- }, w(T(s)({
1856
+ }, w(T(c)({
1855
1857
  v: e.proportionToRoot * 100,
1856
1858
  s: "%",
1857
1859
  r: M.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
1858
- })) + " " + w(M.value.translations.of) + " " + w(e.rootName), 9, Ht)) : f("", !0),
1859
- W.value && W.value.id === e.id && !H.value ? (b(), p("text", {
1860
+ })) + " " + w(M.value.translations.of) + " " + w(e.rootName), 9, Ht)) : p("", !0),
1861
+ W.value && W.value.id === e.id && !H.value ? (b(), m("text", {
1860
1862
  key: 2,
1861
1863
  x: e.x1 + 6,
1862
1864
  y: e.y1 + F.value.branchSize + 72,
@@ -1866,47 +1868,47 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1866
1868
  onClick: t[10] ||= () => {
1867
1869
  K(), $(), k.value = !1;
1868
1870
  }
1869
- }, w(T(s)({
1871
+ }, w(T(c)({
1870
1872
  v: e.value / L.value * 100,
1871
1873
  s: "%",
1872
1874
  r: M.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
1873
- })) + " " + w(M.value.translations.proportionToTree), 9, Ut)) : f("", !0)
1875
+ })) + " " + w(M.value.translations.proportionToTree), 9, Ut)) : p("", !0)
1874
1876
  ]))), 256)),
1875
1877
  C(e.$slots, "svg", { svg: {
1876
1878
  ...F.value,
1877
1879
  isPrintingImg: T(nr) || T(rr) || T(Wr),
1878
1880
  isPrintingSvg: T(Gr)
1879
1881
  } }, void 0, !0)
1880
- ], 46, qe)) : f("", !0)]),
1881
- e.$slots.watermark ? (b(), p("div", Wt, [C(e.$slots, "watermark", v(g({ isPrinting: T(nr) || T(rr) || T(Wr) || T(Gr) })), void 0, !0)])) : f("", !0),
1882
+ ], 46, qe)) : p("", !0)]),
1883
+ e.$slots.watermark ? (b(), m("div", Wt, [C(e.$slots, "watermark", v(g({ isPrinting: T(nr) || T(rr) || T(Wr) || T(Gr) })), void 0, !0)])) : p("", !0),
1882
1884
  C(e.$slots, "legend", { legend: R.value }, void 0, !0),
1883
- e.$slots.source ? (b(), p("div", Gt, [C(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
1884
- Hn.value && M.value.userOptions.buttons.table ? (b(), ke(Ie(Ir.value.component), Ne({ key: 6 }, Ir.value.props, {
1885
+ e.$slots.source ? (b(), m("div", Gt, [C(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1886
+ Hn.value && M.value.userOptions.buttons.table ? (b(), Oe(Ie(Ir.value.component), Ne({ key: 6 }, Ir.value.props, {
1885
1887
  ref_key: "tableUnit",
1886
1888
  ref: Gn,
1887
1889
  onClose: Rr
1888
- }), Ae({
1889
- content: E(() => [m("div", {
1890
+ }), ke({
1891
+ content: E(() => [h("div", {
1890
1892
  ref_key: "tableContainer",
1891
1893
  ref: cr,
1892
1894
  class: "vue-ui-chestnut-table",
1893
1895
  style: y(`${M.value.table.useDialog ? "" : "max-height: 300px;margin-top:24px"}`)
1894
- }, [m("div", { style: y(`${M.value.table.useDialog ? "" : "padding-top:36px;"}position: relative`) }, [M.value.table.useDialog ? f("", !0) : (b(), p("div", {
1896
+ }, [h("div", { style: y(`${M.value.table.useDialog ? "" : "padding-top:36px;"}position: relative`) }, [M.value.table.useDialog ? p("", !0) : (b(), m("div", {
1895
1897
  key: 0,
1896
1898
  role: "button",
1897
1899
  tabindex: "0",
1898
1900
  style: y(`width:32px; position: absolute; top: 0; left:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:${N.value ? "pointer" : "default"}; background:${M.value.table.th.backgroundColor};`),
1899
1901
  onClick: Rr,
1900
1902
  onKeypress: Be(Rr, ["enter"])
1901
- }, [h(T(Nn), {
1903
+ }, [je(T(Nn), {
1902
1904
  name: "close",
1903
1905
  stroke: M.value.table.th.color,
1904
1906
  "stroke-width": 2
1905
- }, null, 8, ["stroke"])], 36)), m("div", {
1907
+ }, null, 8, ["stroke"])], 36)), h("div", {
1906
1908
  style: { width: "100%" },
1907
1909
  class: _({ "vue-ui-responsive": T(Lr) })
1908
- }, [m("table", Kt, [
1909
- M.value.table.useDialog ? f("", !0) : (b(), p("caption", {
1910
+ }, [h("table", Kt, [
1911
+ M.value.table.useDialog ? p("", !0) : (b(), m("caption", {
1910
1912
  key: 0,
1911
1913
  style: y({
1912
1914
  backgroundColor: M.value.table.th.backgroundColor,
@@ -1914,12 +1916,12 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1914
1916
  outline: M.value.table.th.outline
1915
1917
  }),
1916
1918
  class: "vue-ui-data-table__caption"
1917
- }, [je(w(M.value.style.chart.layout.title.text) + " ", 1), M.value.style.chart.layout.title.subtitle.text ? (b(), p("span", qt, w(M.value.style.chart.layout.title.subtitle.text), 1)) : f("", !0)], 4)),
1918
- m("thead", null, [m("tr", {
1919
+ }, [Ae(w(M.value.style.chart.layout.title.text) + " ", 1), M.value.style.chart.layout.title.subtitle.text ? (b(), m("span", qt, w(M.value.style.chart.layout.title.subtitle.text), 1)) : p("", !0)], 4)),
1920
+ h("thead", null, [h("tr", {
1919
1921
  role: "row",
1920
1922
  style: y(`background:${M.value.table.th.backgroundColor};color:${M.value.table.th.color}`)
1921
- }, [(b(!0), p(u, null, S(Y.value.head, (e) => (b(), p("th", { style: y(`outline:${M.value.table.th.outline}`) }, w(e), 5))), 256))], 4)]),
1922
- m("tbody", null, [(b(!0), p(u, null, S(Y.value.body, (e, t) => (b(), p("tr", {
1923
+ }, [(b(!0), m(d, null, S(Y.value.head, (e) => (b(), m("th", { style: y(`outline:${M.value.table.th.outline}`) }, w(e), 5))), 256))], 4)]),
1924
+ h("tbody", null, [(b(!0), m(d, null, S(Y.value.body, (e, t) => (b(), m("tr", {
1923
1925
  class: _({
1924
1926
  "vue-ui-data-table__tbody__row": !0,
1925
1927
  "vue-ui-data-table__tbody__row-even": t % 2 == 0,
@@ -1927,88 +1929,88 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
1927
1929
  }),
1928
1930
  style: y(`background:${M.value.table.td.backgroundColor};color:${M.value.table.td.color}`)
1929
1931
  }, [
1930
- m("td", {
1932
+ h("td", {
1931
1933
  class: "vue-ui-data-table__tbody__td",
1932
1934
  style: y(`outline:${M.value.table.td.outline}`),
1933
1935
  "data-cell": Y.value.head[0]
1934
- }, [m("div", Yt, [Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? (b(), p("span", Xt)) : (b(), p("span", Zt, w(e.rootName), 1))])], 12, Jt),
1935
- m("td", {
1936
+ }, [h("div", Yt, [Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? (b(), m("span", Xt)) : (b(), m("span", Zt, w(e.rootName), 1))])], 12, Jt),
1937
+ h("td", {
1936
1938
  class: "vue-ui-data-table__tbody__td",
1937
1939
  style: y(`outline:${M.value.table.td.outline}`),
1938
1940
  "data-cell": Y.value.head[1]
1939
- }, [m("div", $t, [Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? (b(), p("span", en)) : (b(), p("span", tn, w(e.rootValue.toFixed(M.value.table.td.roundingValue)), 1))])], 12, Qt),
1940
- m("td", {
1941
+ }, [h("div", $t, [Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? (b(), m("span", en)) : (b(), m("span", tn, w(e.rootValue.toFixed(M.value.table.td.roundingValue)), 1))])], 12, Qt),
1942
+ h("td", {
1941
1943
  class: "vue-ui-data-table__tbody__td",
1942
1944
  style: y(`outline:${M.value.table.td.outline}`),
1943
1945
  "data-cell": Y.value.head[2]
1944
- }, [m("div", rn, [Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? (b(), p("span", an)) : (b(), p("span", on, w((e.rootToTotal * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1))])], 12, nn),
1945
- m("td", {
1946
+ }, [h("div", rn, [Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? (b(), m("span", an)) : (b(), m("span", on, w((e.rootToTotal * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1))])], 12, nn),
1947
+ h("td", {
1946
1948
  class: "vue-ui-data-table__tbody__td",
1947
1949
  style: y(`outline:${M.value.table.td.outline}`),
1948
1950
  "data-cell": Y.value.head[3]
1949
- }, [m("div", cn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (b(), p("span", ln)) : (b(), p("span", un, w(e.branchName), 1))])], 12, sn),
1950
- m("td", {
1951
+ }, [h("div", cn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (b(), m("span", ln)) : (b(), m("span", un, w(e.branchName), 1))])], 12, sn),
1952
+ h("td", {
1951
1953
  class: "vue-ui-data-table__tbody__td",
1952
1954
  style: y(`outline:${M.value.table.td.outline}`),
1953
1955
  "data-cell": Y.value.head[4]
1954
- }, [m("div", fn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (b(), p("span", pn)) : (b(), p("span", mn, w(e.branchValue.toFixed(M.value.table.td.roundingValue)), 1))])], 12, dn),
1955
- m("td", {
1956
+ }, [h("div", fn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (b(), m("span", pn)) : (b(), m("span", mn, w(e.branchValue.toFixed(M.value.table.td.roundingValue)), 1))])], 12, dn),
1957
+ h("td", {
1956
1958
  class: "vue-ui-data-table__tbody__td",
1957
1959
  style: y(`outline:${M.value.table.td.outline}`),
1958
1960
  "data-cell": Y.value.head[5]
1959
- }, [m("div", gn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (b(), p("span", _n)) : (b(), p("span", vn, w((e.branchToRoot * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1))])], 12, hn),
1960
- m("td", {
1961
+ }, [h("div", gn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (b(), m("span", _n)) : (b(), m("span", vn, w((e.branchToRoot * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1))])], 12, hn),
1962
+ h("td", {
1961
1963
  class: "vue-ui-data-table__tbody__td",
1962
1964
  style: y(`outline:${M.value.table.td.outline}`),
1963
1965
  "data-cell": Y.value.head[6]
1964
- }, [m("div", bn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (b(), p("span", xn)) : (b(), p("span", Sn, w((e.branchToTotal * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1))])], 12, yn),
1965
- m("td", {
1966
+ }, [h("div", bn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (b(), m("span", xn)) : (b(), m("span", Sn, w((e.branchToTotal * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1))])], 12, yn),
1967
+ h("td", {
1966
1968
  class: "vue-ui-data-table__tbody__td",
1967
1969
  style: y(`outline:${M.value.table.td.outline}`),
1968
1970
  "data-cell": Y.value.head[7]
1969
- }, [m("div", wn, w(e.nutName), 1)], 12, Cn),
1970
- m("td", {
1971
+ }, [h("div", wn, w(e.nutName), 1)], 12, Cn),
1972
+ h("td", {
1971
1973
  class: "vue-ui-data-table__tbody__td",
1972
1974
  style: y(`outline:${M.value.table.td.outline}`),
1973
1975
  "data-cell": Y.value.head[8]
1974
- }, [m("div", En, w(e.nutValue.toFixed(M.value.table.td.roundingValue)), 1)], 12, Tn),
1975
- m("td", {
1976
+ }, [h("div", En, w(e.nutValue.toFixed(M.value.table.td.roundingValue)), 1)], 12, Tn),
1977
+ h("td", {
1976
1978
  class: "vue-ui-data-table__tbody__td",
1977
1979
  style: y(`outline:${M.value.table.td.outline}`),
1978
1980
  "data-cell": Y.value.head[9]
1979
- }, [m("div", On, w((e.nutToBranch * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1)], 12, Dn),
1980
- m("td", {
1981
+ }, [h("div", On, w((e.nutToBranch * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1)], 12, Dn),
1982
+ h("td", {
1981
1983
  class: "vue-ui-data-table__tbody__td",
1982
1984
  style: y(`outline:${M.value.table.td.outline}`),
1983
1985
  "data-cell": Y.value.head[10]
1984
- }, [m("div", An, w((e.nutToRoot * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1)], 12, kn),
1985
- m("td", {
1986
+ }, [h("div", An, w((e.nutToRoot * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1)], 12, kn),
1987
+ h("td", {
1986
1988
  class: "vue-ui-data-table__tbody__td",
1987
1989
  style: y(`outline:${M.value.table.td.outline}`),
1988
1990
  "data-cell": Y.value.head[11]
1989
- }, [m("div", Mn, w((e.nutToTotal * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1)], 12, jn)
1991
+ }, [h("div", Mn, w((e.nutToTotal * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1)], 12, jn)
1990
1992
  ], 6))), 256))])
1991
1993
  ])], 2)], 4)], 4)]),
1992
1994
  _: 2
1993
1995
  }, [M.value.table.useDialog ? {
1994
1996
  name: "title",
1995
- fn: E(() => [je(w(Ir.value.title), 1)]),
1997
+ fn: E(() => [Ae(w(Ir.value.title), 1)]),
1996
1998
  key: "0"
1997
1999
  } : void 0, M.value.table.useDialog ? {
1998
2000
  name: "actions",
1999
- fn: E(() => [m("button", {
2001
+ fn: E(() => [h("button", {
2000
2002
  tabindex: "0",
2001
2003
  class: "vue-ui-user-options-button",
2002
2004
  onClick: t[11] ||= (e) => Or(M.value.userOptions.callbacks.csv)
2003
- }, [h(T(Nn), {
2005
+ }, [je(T(Nn), {
2004
2006
  name: "fileCsv",
2005
2007
  stroke: Ir.value.props.color
2006
2008
  }, null, 8, ["stroke"])])]),
2007
2009
  key: "1"
2008
- } : void 0]), 1040)) : f("", !0),
2009
- C(e.$slots, "skeleton", {}, () => [T(Yn) ? (b(), ke(_e, { key: 0 })) : f("", !0)], !0)
2010
+ } : void 0]), 1040)) : p("", !0),
2011
+ C(e.$slots, "skeleton", {}, () => [T(Yn) ? (b(), Oe(ge, { key: 0 })) : p("", !0)], !0)
2010
2012
  ], 46, He));
2011
2013
  }
2012
- }, [["__scopeId", "data-v-92e64679"]]);
2014
+ }, [["__scopeId", "data-v-c877d0ff"]]);
2013
2015
  //#endregion
2014
2016
  export { Ve as n, Nn as t };