vue-data-ui 3.22.14 → 3.23.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 (229) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +13 -1
  3. package/dist/{Arrow-Ci7Burxz.js → Arrow-CF0VFcBH.js} +1 -1
  4. package/dist/{BaseDraggableDialog-hyW32gLf.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
  5. package/dist/{BaseIcon-DJbOzCDs.js → BaseIcon-BfndwIWE.js} +4 -3
  6. package/dist/{BaseLegendToggle-DJU4VsLO.js → BaseLegendToggle-DZVucLnv.js} +1 -1
  7. package/dist/{BaseZoomControls-CwhpsHIL.js → BaseZoomControls-BZvCnZEi.js} +2 -2
  8. package/dist/{ColorPicker-BVWrKEQl.js → ColorPicker--ayG2YHf.js} +2 -2
  9. package/dist/{DataTable-rIsBpJMt.js → DataTable-BbKgJ5UI.js} +2 -2
  10. package/dist/HillActions-BD9j_sOU.js +187 -0
  11. package/dist/{Legend-DSPDFP3n.js → Legend-CQxUgOd-.js} +2 -2
  12. package/dist/{NonSvgPenAndPaper-DZyYthbM.js → NonSvgPenAndPaper-4ypecDg1.js} +22 -22
  13. package/dist/{PackageVersion-BUmadjVO.js → PackageVersion-D6d8SCp9.js} +1 -1
  14. package/dist/{PenAndPaper-D--sbRMA.js → PenAndPaper-DAE-tnEQ.js} +14 -14
  15. package/dist/{Shape-Dmh9jBFh.js → Shape-C21CMlWS.js} +3 -3
  16. package/dist/Slicer-CIk57nL4.js +1163 -0
  17. package/dist/{SlicerPreview-CCIb3v8u.js → SlicerPreview-wUw1hFwe.js} +384 -370
  18. package/dist/{SparkTooltip-GjWLZ39s.js → SparkTooltip-CjsbIhzi.js} +6 -6
  19. package/dist/Title-BE3qg9xl.js +87 -0
  20. package/dist/{Tooltip-CEbqzIhL.js → Tooltip-DhjyfHwz.js} +2 -2
  21. package/dist/{UserOptions-BknvMNU1.js → UserOptions-Dt98of5H.js} +2 -2
  22. package/dist/components/arrow.js +1 -1
  23. package/dist/components/vue-ui-3d-bar.js +1 -1
  24. package/dist/components/vue-ui-accordion.js +1 -1
  25. package/dist/components/vue-ui-age-pyramid.js +1 -1
  26. package/dist/components/vue-ui-annotator.js +1 -1
  27. package/dist/components/vue-ui-bullet.js +1 -1
  28. package/dist/components/vue-ui-bump.js +1 -1
  29. package/dist/components/vue-ui-candlestick.js +1 -1
  30. package/dist/components/vue-ui-carousel-table.js +1 -1
  31. package/dist/components/vue-ui-chestnut.js +1 -1
  32. package/dist/components/vue-ui-chord.js +1 -1
  33. package/dist/components/vue-ui-circle-pack.js +1 -1
  34. package/dist/components/vue-ui-cursor.js +1 -1
  35. package/dist/components/vue-ui-dag.js +1 -1
  36. package/dist/components/vue-ui-dashboard.js +1 -1
  37. package/dist/components/vue-ui-digits.js +1 -1
  38. package/dist/components/vue-ui-donut-evolution.js +1 -1
  39. package/dist/components/vue-ui-donut.js +1 -1
  40. package/dist/components/vue-ui-dumbbell.js +1 -1
  41. package/dist/components/vue-ui-flow.js +1 -1
  42. package/dist/components/vue-ui-funnel.js +1 -1
  43. package/dist/components/vue-ui-galaxy.js +1 -1
  44. package/dist/components/vue-ui-gauge.js +1 -1
  45. package/dist/components/vue-ui-geo.js +1 -1
  46. package/dist/components/vue-ui-gizmo.js +1 -1
  47. package/dist/components/vue-ui-heatmap.js +1 -1
  48. package/dist/components/vue-ui-hill.js +2 -0
  49. package/dist/components/vue-ui-history-plot.js +1 -1
  50. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  51. package/dist/components/vue-ui-icon.js +1 -1
  52. package/dist/components/vue-ui-kpi.js +1 -1
  53. package/dist/components/vue-ui-mini-loader.js +1 -1
  54. package/dist/components/vue-ui-molecule.js +1 -1
  55. package/dist/components/vue-ui-mood-radar.js +1 -1
  56. package/dist/components/vue-ui-nested-donuts.js +1 -1
  57. package/dist/components/vue-ui-onion.js +1 -1
  58. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  59. package/dist/components/vue-ui-quadrant.js +1 -1
  60. package/dist/components/vue-ui-quick-chart.js +1 -1
  61. package/dist/components/vue-ui-radar.js +1 -1
  62. package/dist/components/vue-ui-rating.js +1 -1
  63. package/dist/components/vue-ui-relation-circle.js +1 -1
  64. package/dist/components/vue-ui-ridgeline.js +1 -1
  65. package/dist/components/vue-ui-rings.js +1 -1
  66. package/dist/components/vue-ui-scatter.js +1 -1
  67. package/dist/components/vue-ui-skeleton.js +1 -1
  68. package/dist/components/vue-ui-smiley.js +1 -1
  69. package/dist/components/vue-ui-spark-trend.js +1 -1
  70. package/dist/components/vue-ui-sparkbar.js +1 -1
  71. package/dist/components/vue-ui-sparkgauge.js +1 -1
  72. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  73. package/dist/components/vue-ui-sparkline.js +1 -1
  74. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  75. package/dist/components/vue-ui-stackbar.js +1 -1
  76. package/dist/components/vue-ui-stackline.js +1 -1
  77. package/dist/components/vue-ui-strip-plot.js +1 -1
  78. package/dist/components/vue-ui-table-heatmap.js +1 -1
  79. package/dist/components/vue-ui-table-sparkline.js +1 -1
  80. package/dist/components/vue-ui-table.js +1 -1
  81. package/dist/components/vue-ui-thermometer.js +1 -1
  82. package/dist/components/vue-ui-timer.js +1 -1
  83. package/dist/components/vue-ui-tiremarks.js +1 -1
  84. package/dist/components/vue-ui-treemap.js +1 -1
  85. package/dist/components/vue-ui-vertical-bar.js +1 -1
  86. package/dist/components/vue-ui-waffle.js +1 -1
  87. package/dist/components/vue-ui-wheel.js +1 -1
  88. package/dist/components/vue-ui-word-cloud.js +1 -1
  89. package/dist/components/vue-ui-world.js +1 -1
  90. package/dist/components/vue-ui-xy-canvas.js +1 -1
  91. package/dist/components/vue-ui-xy.js +1 -1
  92. package/dist/composables.js +1 -1
  93. package/dist/{dom-to-png-BbPRUKX6.js → dom-to-png-BYIvdTe8.js} +1 -1
  94. package/dist/exposedLib-C0DPCgFj.js +28 -0
  95. package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
  96. package/dist/{img-zY7_pJz1.js → img-Bnokohej.js} +1 -1
  97. package/dist/{labelUtils-DYdYmN_Q.js → labelUtils-BeVpDvTJ.js} +1 -1
  98. package/dist/{lib-C-QGo8GG.js → lib-Bttd6u5E.js} +27 -12
  99. package/dist/{package-QmuZcjWs.js → package-KvlL5CqE.js} +1 -1
  100. package/dist/{pdf-CuSS-5_j.js → pdf-CVIDfCrS.js} +1 -1
  101. package/dist/{render-common-DasqIYp9.js → render-common-oDYGTc5P.js} +21 -21
  102. package/dist/ssr/vue-ui-donut.js +1 -1
  103. package/dist/ssr/vue-ui-xy.js +1 -1
  104. package/dist/ssr.js +2 -2
  105. package/dist/style.css +1 -1
  106. package/dist/types/vue-data-ui.d.ts +496 -0
  107. package/dist/types/vue-ui-hill.d.ts +90 -0
  108. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
  109. package/dist/{useConfig-C0V0eG7L.js → useConfig-D3scuR88.js} +774 -477
  110. package/dist/useHints-Dq_w2E8B.js +66 -0
  111. package/dist/{useNestedProp-BYfiWVP8.js → useNestedProp-vPNvh7rV.js} +5 -3
  112. package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Brg8mm5J.js} +3 -2
  113. package/dist/{usePrinter-C5ordS-4.js → usePrinter-DN5bYhTG.js} +2 -2
  114. package/dist/{useSvgExport-Ba9qBr9M.js → useSvgExport-DH-FfcqQ.js} +1 -1
  115. package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
  116. package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
  117. package/dist/useTransitions-g_zBREk2.js +39 -0
  118. package/dist/utils.js +14 -14
  119. package/dist/{vue-data-ui-D3jZ4lg1.js → vue-data-ui-DGWDPCwC.js} +85 -81
  120. package/dist/vue-data-ui.js +77 -76
  121. package/dist/vue-ui-3d-bar-C_Su9fve.js +1849 -0
  122. package/dist/{vue-ui-accordion-FimGHtuy.js → vue-ui-accordion-BxGriZik.js} +4 -4
  123. package/dist/vue-ui-age-pyramid-D4k1MkAL.js +1264 -0
  124. package/dist/vue-ui-annotator-CCtnM8Rv.js +2886 -0
  125. package/dist/vue-ui-bullet-DLZr2Uk8.js +724 -0
  126. package/dist/{vue-ui-bump-CG3WTTFy.js → vue-ui-bump-CcdzJZ9n.js} +334 -297
  127. package/dist/{vue-ui-candlestick-C3smYvQA.js → vue-ui-candlestick-EEEt7ORC.js} +468 -442
  128. package/dist/vue-ui-carousel-table-BicIpNAD.js +463 -0
  129. package/dist/{vue-ui-chestnut-i7FYoqi8.js → vue-ui-chestnut-BI7mC5dd.js} +523 -497
  130. package/dist/{vue-ui-chord-DCZo55QA.js → vue-ui-chord-DXaq8ZMu.js} +432 -426
  131. package/dist/vue-ui-circle-pack-XHJBMG51.js +1659 -0
  132. package/dist/{vue-ui-cursor-DEf_l0Xc.js → vue-ui-cursor-BqHr0n1Z.js} +61 -61
  133. package/dist/{vue-ui-dag-beo3-quD.js → vue-ui-dag-jMLVoQkb.js} +677 -674
  134. package/dist/vue-ui-dashboard-DVAUFETR.js +520 -0
  135. package/dist/{vue-ui-digits-BnMqGAhl.js → vue-ui-digits-Dy4gG6qm.js} +59 -51
  136. package/dist/vue-ui-donut-C0cWRLbU.js +2441 -0
  137. package/dist/{vue-ui-donut-Cr0uTWGk.js → vue-ui-donut-CYpxGBhl.js} +117 -116
  138. package/dist/{vue-ui-donut-evolution-D54NP3FP.js → vue-ui-donut-evolution-DwR47A2r.js} +534 -448
  139. package/dist/vue-ui-dumbbell-DxVbRjKR.js +1582 -0
  140. package/dist/{vue-ui-flow-CnateJjc.js → vue-ui-flow-DWaZF4FS.js} +415 -407
  141. package/dist/vue-ui-funnel-Bmpx5GHR.js +797 -0
  142. package/dist/vue-ui-galaxy-CWBP9oH9.js +1111 -0
  143. package/dist/vue-ui-gauge-ByE_txav.js +953 -0
  144. package/dist/{vue-ui-geo-DnO1RIFR.js → vue-ui-geo-ZA7CBy8f.js} +372 -357
  145. package/dist/{vue-ui-gizmo-DyxeSKIk.js → vue-ui-gizmo-SQCou0bQ.js} +57 -49
  146. package/dist/{vue-ui-heatmap-6Ja5LKYE.js → vue-ui-heatmap-CHd9gs_p.js} +473 -465
  147. package/dist/vue-ui-hill-BT183G-_.js +1768 -0
  148. package/dist/vue-ui-history-plot-BwnlC1mx.js +1723 -0
  149. package/dist/vue-ui-horizontal-bar-BUar2HUH.js +1733 -0
  150. package/dist/vue-ui-kpi-BF_9WWoo.js +104 -0
  151. package/dist/vue-ui-mini-loader-CvfukjXi.js +133 -0
  152. package/dist/vue-ui-molecule-Bi2CKHer.js +958 -0
  153. package/dist/{vue-ui-mood-radar-TWo57SKD.js → vue-ui-mood-radar-_zpbmvJs.js} +349 -341
  154. package/dist/{vue-ui-nested-donuts-W0TpPXIQ.js → vue-ui-nested-donuts-qHZAJ70u.js} +452 -416
  155. package/dist/vue-ui-onion-CB5RYIy5.js +1258 -0
  156. package/dist/vue-ui-parallel-coordinate-plot-BUwt-apg.js +1455 -0
  157. package/dist/{vue-ui-quadrant-BM9VLDcC.js → vue-ui-quadrant-CoROD3er.js} +636 -628
  158. package/dist/vue-ui-quick-chart-BcH7eY4-.js +2397 -0
  159. package/dist/{vue-ui-radar-BVz6Uq2k.js → vue-ui-radar-DGbaXGme.js} +380 -334
  160. package/dist/vue-ui-rating-Bo3zD3yW.js +360 -0
  161. package/dist/vue-ui-relation-circle-DaU1eTsG.js +925 -0
  162. package/dist/vue-ui-ridgeline-BCaGcyfk.js +1664 -0
  163. package/dist/{vue-ui-rings-DEZrfBYX.js → vue-ui-rings-BJUBn8_b.js} +450 -424
  164. package/dist/{vue-ui-scatter-owaIOpD0.js → vue-ui-scatter-Pcft1bUt.js} +721 -702
  165. package/dist/{vue-ui-skeleton-Cxszgax7.js → vue-ui-skeleton-EeJcGbCo.js} +395 -387
  166. package/dist/{vue-ui-smiley-DZBPvVeN.js → vue-ui-smiley-D0gibt5c.js} +128 -120
  167. package/dist/{vue-ui-spark-trend-CW4cLUqP.js → vue-ui-spark-trend-BRoQ7JpQ.js} +132 -117
  168. package/dist/{vue-ui-sparkbar-DeSSqv4v.js → vue-ui-sparkbar-DFp2k7-7.js} +119 -111
  169. package/dist/{vue-ui-sparkgauge-VSiPVgUQ.js → vue-ui-sparkgauge-D0Bq85Hs.js} +76 -68
  170. package/dist/vue-ui-sparkhistogram-BPln7v63.js +590 -0
  171. package/dist/{vue-ui-sparkline-DyZdAQMl.js → vue-ui-sparkline-C6Q45Dqp.js} +391 -365
  172. package/dist/vue-ui-sparkstackbar-CjK4bcQg.js +692 -0
  173. package/dist/vue-ui-stackbar-Ca8EPf3e.js +2353 -0
  174. package/dist/vue-ui-stackline-Pz5WWlWT.js +2467 -0
  175. package/dist/{vue-ui-strip-plot-BquHFKHA.js → vue-ui-strip-plot-Dw4MGDSO.js} +508 -487
  176. package/dist/vue-ui-table-Bjg-ujJu.js +1352 -0
  177. package/dist/vue-ui-table-heatmap-ljeYW8Wc.js +364 -0
  178. package/dist/{vue-ui-table-sparkline-CyGqW88t.js → vue-ui-table-sparkline-iRFmtK5S.js} +207 -181
  179. package/dist/vue-ui-thermometer-D8uiOaeA.js +777 -0
  180. package/dist/{vue-ui-timer-BVjydam-.js → vue-ui-timer-CYw983oL.js} +66 -58
  181. package/dist/vue-ui-tiremarks-CekiW2Ru.js +559 -0
  182. package/dist/vue-ui-treemap-h4VbnqPA.js +1760 -0
  183. package/dist/vue-ui-waffle-cu0w_s6L.js +1412 -0
  184. package/dist/{vue-ui-wheel-D-VVxvxY.js → vue-ui-wheel-tLvJadk5.js} +225 -217
  185. package/dist/{vue-ui-word-cloud-CcRch2t2.js → vue-ui-word-cloud-BjpGSsod.js} +440 -432
  186. package/dist/{vue-ui-world-BJq4PZqF.js → vue-ui-world-B4fCS3jN.js} +350 -342
  187. package/dist/{vue-ui-xy-D64AB5Qy.js → vue-ui-xy-7ZT9IRD8.js} +1639 -1595
  188. package/dist/{vue-ui-xy-canvas-mDqjPtxh.js → vue-ui-xy-canvas-BnLEwBpi.js} +459 -431
  189. package/dist/{vue-ui-xy-B8XBn08L.js → vue-ui-xy-gyNS0yH0.js} +216 -213
  190. package/dist/vue_ui_hill-dnltu0L-.js +368 -0
  191. package/package.json +4 -4
  192. package/dist/Slicer-JdCzBeYM.js +0 -1149
  193. package/dist/Title-Thf71-8D.js +0 -87
  194. package/dist/exposedLib-CfZhN94x.js +0 -25
  195. package/dist/useAutoSizeLabelsInsideViewbox-CSzmRywi.js +0 -50
  196. package/dist/useMountedDelay-BAjrhRJb.js +0 -14
  197. package/dist/vue-ui-3d-bar-D9-jAA5Z.js +0 -1824
  198. package/dist/vue-ui-age-pyramid-D4f-Agb7.js +0 -1246
  199. package/dist/vue-ui-annotator-P9E8hpJl.js +0 -2905
  200. package/dist/vue-ui-bullet-CKg0bShN.js +0 -709
  201. package/dist/vue-ui-carousel-table-BD_fxykj.js +0 -455
  202. package/dist/vue-ui-circle-pack--DUVDQx3.js +0 -1610
  203. package/dist/vue-ui-dashboard-mGLvP0UA.js +0 -512
  204. package/dist/vue-ui-donut-BCLG16Vb.js +0 -2418
  205. package/dist/vue-ui-dumbbell-DZ78WASa.js +0 -1564
  206. package/dist/vue-ui-funnel-DSpUMyDO.js +0 -781
  207. package/dist/vue-ui-galaxy-CxKafV1X.js +0 -1076
  208. package/dist/vue-ui-gauge-CegUK3FD.js +0 -925
  209. package/dist/vue-ui-history-plot-XOexkxeI.js +0 -1725
  210. package/dist/vue-ui-horizontal-bar-BCTdLxjK.js +0 -1689
  211. package/dist/vue-ui-kpi-EenGDZ-l.js +0 -96
  212. package/dist/vue-ui-mini-loader-CA7XxPk7.js +0 -125
  213. package/dist/vue-ui-molecule-5rpD2mlK.js +0 -932
  214. package/dist/vue-ui-onion-CDC9AGh1.js +0 -1199
  215. package/dist/vue-ui-parallel-coordinate-plot-DUOI7HoD.js +0 -1412
  216. package/dist/vue-ui-quick-chart-B8XCKef-.js +0 -2443
  217. package/dist/vue-ui-rating-B7ApWpIJ.js +0 -352
  218. package/dist/vue-ui-relation-circle-LVOR5VZ6.js +0 -917
  219. package/dist/vue-ui-ridgeline-BlyzSJHc.js +0 -1627
  220. package/dist/vue-ui-sparkhistogram-B5252IVr.js +0 -575
  221. package/dist/vue-ui-sparkstackbar-CiLgNzaI.js +0 -674
  222. package/dist/vue-ui-stackbar-Bwz6Z7M4.js +0 -2322
  223. package/dist/vue-ui-stackline-DX3YDRSg.js +0 -2427
  224. package/dist/vue-ui-table-DEhy61ln.js +0 -1339
  225. package/dist/vue-ui-table-heatmap-1LTxQfQX.js +0 -338
  226. package/dist/vue-ui-thermometer-CNvTQJUq.js +0 -769
  227. package/dist/vue-ui-tiremarks-3ZBAE8SA.js +0 -551
  228. package/dist/vue-ui-treemap-FqqXQvZw.js +0 -1727
  229. package/dist/vue-ui-waffle-B37Yx9uw.js +0 -1367
@@ -1,67 +1,68 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, Bt as n, C as r, E as i, Gt as a, K as o, Nt as s, Ot as ee, Q as te, Y as c, d as l, et as ne, f as re, ft as ie, i as u, m as ae, qt as oe, r as se, t as ce, x as le, zt as d } from "./lib-C-QGo8GG.js";
3
- import { t as ue } from "./useConfig-C0V0eG7L.js";
4
- import { t as de } from "./usePrinter-C5ordS-4.js";
5
- import { n as fe, t as pe } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as me } from "./useSvgExport-Ba9qBr9M.js";
7
- import { t as he } from "./useNestedProp-BYfiWVP8.js";
8
- import { t as ge } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as _e } from "./img-zY7_pJz1.js";
10
- import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
11
- import { t as ye } from "./DefGrad-DVBqDjhO.js";
12
- import { t as be } from "./A11yDataTable-DdRsVULz.js";
13
- import { t as xe } from "./useUserOptionState-DK-_1ddE.js";
14
- import { t as Se } from "./useChartAccessibility-DYqac8yF.js";
15
- import { t as Ce } from "./useTableResponsive-BAqJPR68.js";
16
- import { t as we } from "./vue_ui_chestnut-D2oUhad6.js";
17
- import { Fragment as f, computed as p, createBlock as Te, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Ee, createTextVNode as De, createVNode as Oe, defineAsyncComponent as ke, guardReactiveProps as _, mergeProps as Ae, nextTick as je, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onMounted as Me, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Ne, toDisplayString as T, toRefs as Pe, unref as E, useCssVars as Fe, watch as Ie, withCtx as D, withKeys as Le } from "vue";
2
+ import { $ as t, Bt as n, D as r, Jt as i, Kt as a, Pt as o, S as ee, Vt as te, X as s, f as c, h as ne, i as l, jt as re, kt as ie, p as ae, pt as oe, q as se, r as ce, t as le, tt as ue, w as de } from "./lib-Bttd6u5E.js";
3
+ import { n as fe, t as pe } from "./useHints-Dq_w2E8B.js";
4
+ import { t as me } from "./useConfig-D3scuR88.js";
5
+ import { t as he } from "./usePrinter-DN5bYhTG.js";
6
+ import { n as ge, t as _e } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as ve } from "./useSvgExport-DH-FfcqQ.js";
8
+ import { t as ye } from "./useNestedProp-vPNvh7rV.js";
9
+ import { t as be } from "./useThemeCheck-C43Tcqmk.js";
10
+ import { t as xe } from "./img-Bnokohej.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 f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as ke, createTextVNode as Ae, createVNode as g, defineAsyncComponent as je, guardReactiveProps as _, mergeProps as Me, nextTick as Ne, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onMounted as Pe, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Fe, toDisplayString as T, toRefs as Ie, unref as E, useCssVars as Le, watch as Re, withCtx as D, withKeys as ze } from "vue";
18
19
  //#region src/components/vue-ui-chestnut.vue
19
- var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve = {
20
+ var Be = /* @__PURE__ */ e({ default: () => Mn }), Ve = ["id"], He = ["id"], Ue = {
20
21
  "aria-live": "polite",
21
22
  class: "sr-only"
22
- }, He = {
23
+ }, We = {
23
24
  key: 2,
24
25
  ref: "noTitle",
25
26
  class: "vue-data-ui-no-title-space",
26
27
  style: "height:36px; width: 100%;background:transparent"
27
- }, Ue = { style: { position: "relative" } }, We = [
28
+ }, Ge = { style: { position: "relative" } }, Ke = [
28
29
  "xmlns",
29
30
  "aria-describedby",
30
31
  "viewBox"
31
- ], Ge = ["width", "height"], Ke = { key: 1 }, qe = [
32
+ ], qe = ["width", "height"], Je = { key: 1 }, Ye = [
32
33
  "fill",
33
34
  "font-weight",
34
35
  "font-size",
35
36
  "x",
36
37
  "y"
37
- ], Je = [
38
+ ], Xe = [
38
39
  "fill",
39
40
  "font-weight",
40
41
  "font-size",
41
42
  "x",
42
43
  "y"
43
- ], Ye = { key: 2 }, Xe = [
44
+ ], Ze = { key: 2 }, Qe = [
44
45
  "x",
45
46
  "y",
46
47
  "font-size",
47
48
  "font-weight",
48
49
  "fill"
49
- ], Ze = [
50
+ ], $e = [
50
51
  "x",
51
52
  "y",
52
53
  "font-size",
53
54
  "font-weight",
54
55
  "fill"
55
- ], Qe = [
56
+ ], et = [
56
57
  "d",
57
58
  "stroke",
58
59
  "fill"
59
- ], $e = [
60
+ ], tt = [
60
61
  "cx",
61
62
  "cy",
62
63
  "r",
63
64
  "fill"
64
- ], et = [
65
+ ], nt = [
65
66
  "aria-label",
66
67
  "cx",
67
68
  "cy",
@@ -70,19 +71,19 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
70
71
  "stroke",
71
72
  "stroke-width",
72
73
  "onClick"
73
- ], tt = { key: 3 }, nt = [
74
+ ], rt = { key: 3 }, it = [
74
75
  "x",
75
76
  "y",
76
77
  "font-size",
77
78
  "fill",
78
79
  "onClick"
79
- ], rt = { key: 0 }, it = [
80
+ ], at = { key: 0 }, ot = [
80
81
  "x",
81
82
  "y",
82
83
  "fill",
83
84
  "font-size",
84
85
  "font-weight"
85
- ], at = [
86
+ ], st = [
86
87
  "x",
87
88
  "y",
88
89
  "height",
@@ -90,7 +91,7 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
90
91
  "fill",
91
92
  "rx",
92
93
  "onClick"
93
- ], ot = [
94
+ ], ct = [
94
95
  "aria-label",
95
96
  "x",
96
97
  "y",
@@ -101,241 +102,241 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
101
102
  "stroke",
102
103
  "stroke-width",
103
104
  "onClick"
104
- ], st = { key: 4 }, ct = [
105
+ ], lt = { key: 4 }, ut = [
105
106
  "x",
106
107
  "y",
107
108
  "fill",
108
109
  "font-size",
109
110
  "onClick"
110
- ], lt = ["d", "stroke"], ut = [
111
+ ], dt = ["d", "stroke"], ft = [
111
112
  "aria-label",
112
113
  "fill",
113
114
  "cx",
114
115
  "cy",
115
116
  "r",
116
117
  "onClick"
117
- ], dt = { key: 5 }, ft = [
118
+ ], pt = { key: 5 }, mt = [
118
119
  "x",
119
120
  "y",
120
121
  "font-size",
121
122
  "font-weight",
122
123
  "fill"
123
- ], pt = [
124
+ ], ht = [
124
125
  "x1",
125
126
  "x2",
126
127
  "y1",
127
128
  "y2",
128
129
  "stroke",
129
130
  "stroke-width"
130
- ], mt = [
131
+ ], gt = [
131
132
  "y",
132
133
  "height",
133
134
  "width"
134
- ], ht = { style: {
135
+ ], _t = { style: {
135
136
  width: "100%",
136
137
  height: "100%",
137
138
  display: "flex",
138
139
  "align-items": "center",
139
140
  "justify-content": "center",
140
141
  "flex-direction": "column"
141
- } }, gt = { style: {
142
+ } }, vt = { style: {
142
143
  display: "flex",
143
144
  "align-items": "center",
144
145
  "justify-content": "center",
145
146
  gap: "12px",
146
147
  "flex-wrap": "wrap",
147
148
  "flex-direction": "row"
148
- } }, _t = {
149
+ } }, yt = {
149
150
  viewBox: "0 0 20 20",
150
151
  height: "16",
151
152
  width: "16"
152
- }, vt = ["fill"], yt = { key: 7 }, bt = [
153
+ }, bt = ["fill"], xt = { key: 7 }, St = [
153
154
  "y",
154
155
  "height",
155
156
  "width"
156
- ], xt = { style: {
157
+ ], Ct = { style: {
157
158
  width: "100%",
158
159
  height: "100%",
159
160
  display: "flex",
160
161
  "align-items": "center",
161
162
  "justify-content": "center",
162
163
  "flex-direction": "column"
163
- } }, St = { style: {
164
+ } }, wt = { style: {
164
165
  display: "flex",
165
166
  "align-items": "center",
166
167
  "justify-content": "center",
167
168
  gap: "12px",
168
169
  "flex-wrap": "wrap",
169
170
  "flex-direction": "row"
170
- } }, Ct = {
171
+ } }, Tt = {
171
172
  viewBox: "0 0 20 20",
172
173
  height: "16",
173
174
  width: "16"
174
- }, wt = ["fill"], Tt = [
175
+ }, Et = ["fill"], Dt = [
175
176
  "cx",
176
177
  "cy",
177
178
  "fill"
178
- ], Et = ["d", "stroke"], Dt = [
179
+ ], Ot = ["d", "stroke"], kt = [
179
180
  "cx",
180
181
  "cy",
181
182
  "fill"
182
- ], Ot = ["d", "stroke"], kt = [
183
+ ], At = ["d", "stroke"], jt = [
183
184
  "cx",
184
185
  "cy",
185
186
  "fill"
186
- ], At = [
187
+ ], Mt = [
187
188
  "cx",
188
189
  "cy",
189
190
  "fill"
190
- ], jt = [
191
+ ], Nt = [
191
192
  "x",
192
193
  "y",
193
194
  "fill",
194
195
  "font-size",
195
196
  "font-weight"
196
- ], Mt = [
197
+ ], Pt = [
197
198
  "x",
198
199
  "y",
199
200
  "fill",
200
201
  "font-size",
201
202
  "font-weight"
202
- ], Nt = [
203
+ ], Ft = [
203
204
  "x",
204
205
  "text-anchor",
205
206
  "y",
206
207
  "fill",
207
208
  "font-size"
208
- ], Pt = [
209
+ ], It = [
209
210
  "x",
210
211
  "text-anchor",
211
212
  "y",
212
213
  "fill",
213
214
  "font-size"
214
- ], Ft = [
215
+ ], Lt = [
215
216
  "x",
216
217
  "text-anchor",
217
218
  "y",
218
219
  "fill",
219
220
  "font-size"
220
- ], It = [
221
+ ], Rt = [
221
222
  "x",
222
223
  "text-anchor",
223
224
  "y",
224
225
  "fill",
225
226
  "font-size"
226
- ], Lt = [
227
+ ], zt = [
227
228
  "x",
228
229
  "text-anchor",
229
230
  "y",
230
231
  "fill",
231
232
  "font-size"
232
- ], Rt = [
233
+ ], Bt = [
233
234
  "x",
234
235
  "y",
235
236
  "font-size",
236
237
  "fill"
237
- ], zt = [
238
+ ], Vt = [
238
239
  "x",
239
240
  "y",
240
241
  "font-size",
241
242
  "fill"
242
- ], Bt = [
243
+ ], Ht = [
243
244
  "x",
244
245
  "y",
245
246
  "font-size",
246
247
  "fill"
247
- ], Vt = {
248
+ ], Ut = {
248
249
  key: 4,
249
250
  class: "vue-data-ui-watermark"
250
- }, Ht = {
251
+ }, Wt = {
251
252
  key: 5,
252
253
  ref: "source",
253
254
  dir: "auto"
254
- }, Ut = { class: "vue-ui-data-table" }, Wt = { key: 0 }, Gt = ["data-cell"], Kt = { style: {
255
+ }, Gt = { class: "vue-ui-data-table" }, Kt = { key: 0 }, qt = ["data-cell"], Jt = { style: {
255
256
  display: "flex",
256
257
  "align-items": "center",
257
258
  gap: "5px",
258
259
  "justify-content": "flex-end",
259
260
  width: "100%",
260
261
  "padding-right": "3px"
261
- } }, qt = { key: 0 }, Jt = { key: 1 }, Yt = ["data-cell"], Xt = { style: {
262
+ } }, Yt = { key: 0 }, Xt = { key: 1 }, Zt = ["data-cell"], Qt = { style: {
262
263
  display: "flex",
263
264
  "align-items": "center",
264
265
  gap: "5px",
265
266
  "justify-content": "flex-end",
266
267
  width: "100%",
267
268
  "padding-right": "3px"
268
- } }, Zt = { key: 0 }, Qt = { key: 1 }, $t = ["data-cell"], en = { style: {
269
+ } }, $t = { key: 0 }, en = { key: 1 }, tn = ["data-cell"], nn = { style: {
269
270
  display: "flex",
270
271
  "align-items": "center",
271
272
  gap: "5px",
272
273
  "justify-content": "flex-end",
273
274
  width: "100%",
274
275
  "padding-right": "3px"
275
- } }, tn = { key: 0 }, nn = { key: 1 }, rn = ["data-cell"], an = { style: {
276
+ } }, rn = { key: 0 }, an = { key: 1 }, on = ["data-cell"], sn = { style: {
276
277
  display: "flex",
277
278
  "align-items": "center",
278
279
  gap: "5px",
279
280
  "justify-content": "flex-end",
280
281
  width: "100%",
281
282
  "padding-right": "3px"
282
- } }, on = { key: 0 }, sn = { key: 1 }, cn = ["data-cell"], ln = { style: {
283
+ } }, cn = { key: 0 }, ln = { key: 1 }, un = ["data-cell"], dn = { style: {
283
284
  display: "flex",
284
285
  "align-items": "center",
285
286
  gap: "5px",
286
287
  "justify-content": "flex-end",
287
288
  width: "100%",
288
289
  "padding-right": "3px"
289
- } }, un = { key: 0 }, dn = { key: 1 }, fn = ["data-cell"], pn = { style: {
290
+ } }, fn = { key: 0 }, pn = { key: 1 }, mn = ["data-cell"], hn = { style: {
290
291
  display: "flex",
291
292
  "align-items": "center",
292
293
  gap: "5px",
293
294
  "justify-content": "flex-end",
294
295
  width: "100%",
295
296
  "padding-right": "3px"
296
- } }, mn = { key: 0 }, hn = { key: 1 }, gn = ["data-cell"], _n = { style: {
297
+ } }, gn = { key: 0 }, _n = { key: 1 }, vn = ["data-cell"], yn = { style: {
297
298
  display: "flex",
298
299
  "align-items": "center",
299
300
  gap: "5px",
300
301
  "justify-content": "flex-end",
301
302
  width: "100%",
302
303
  "padding-right": "3px"
303
- } }, vn = { key: 0 }, yn = { key: 1 }, bn = ["data-cell"], xn = { style: {
304
+ } }, bn = { key: 0 }, xn = { key: 1 }, Sn = ["data-cell"], Cn = { style: {
304
305
  display: "flex",
305
306
  "align-items": "center",
306
307
  gap: "5px",
307
308
  "justify-content": "flex-end",
308
309
  width: "100%",
309
310
  "padding-right": "3px"
310
- } }, Sn = ["data-cell"], Cn = { style: {
311
+ } }, wn = ["data-cell"], Tn = { style: {
311
312
  display: "flex",
312
313
  "align-items": "center",
313
314
  gap: "5px",
314
315
  "justify-content": "flex-end",
315
316
  width: "100%",
316
317
  "padding-right": "3px"
317
- } }, wn = ["data-cell"], Tn = { style: {
318
+ } }, En = ["data-cell"], Dn = { style: {
318
319
  display: "flex",
319
320
  "align-items": "center",
320
321
  gap: "5px",
321
322
  "justify-content": "flex-end",
322
323
  width: "100%",
323
324
  "padding-right": "3px"
324
- } }, En = ["data-cell"], Dn = { style: {
325
+ } }, On = ["data-cell"], kn = { style: {
325
326
  display: "flex",
326
327
  "align-items": "center",
327
328
  gap: "5px",
328
329
  "justify-content": "flex-end",
329
330
  width: "100%",
330
331
  "padding-right": "3px"
331
- } }, On = ["data-cell"], kn = { style: {
332
+ } }, An = ["data-cell"], jn = { style: {
332
333
  display: "flex",
333
334
  "align-items": "center",
334
335
  gap: "5px",
335
336
  "justify-content": "flex-end",
336
337
  width: "100%",
337
338
  "padding-right": "3px"
338
- } }, An = /*#__PURE__*/ ve({
339
+ } }, Mn = /*#__PURE__*/ Se({
339
340
  __name: "vue-ui-chestnut",
340
341
  props: {
341
342
  config: {
@@ -357,15 +358,40 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
357
358
  "selectNut",
358
359
  "copyAlt"
359
360
  ],
360
- setup(e, { expose: ve, emit: Re }) {
361
- Fe((e) => ({ v62f21eec: e.tdo }));
362
- let An = ke(() => import("./BaseIcon-DJbOzCDs.js").then((e) => e.n)), jn = ke(() => import("./vue-ui-accordion-FimGHtuy.js").then((e) => e.n)), Mn = ke(() => import("./PenAndPaper-D--sbRMA.js").then((e) => e.t)), Nn = ke(() => import("./UserOptions-BknvMNU1.js").then((e) => e.n)), Pn = ke(() => import("./PackageVersion-BUmadjVO.js").then((e) => e.t)), Fn = ke(() => import("./BaseDraggableDialog-hyW32gLf.js").then((e) => e.n)), { vue_ui_chestnut: In } = ue(), { isThemeValid: Ln, warnInvalidTheme: Rn } = ge(), O = e, zn = p(() => !!O.dataset && O.dataset.length), k = S(o()), Bn = S(null), Vn = S(0), Hn = S(null), Un = S(null), Wn = S(!1), Gn = S(!1), Kn = S(!1), A = S(!1), j = S(""), M = S({
361
+ setup(e, { expose: Se, emit: Be }) {
362
+ Le((e) => ({ cec01d7a: e.tdo }));
363
+ let Mn = je(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), Nn = je(() => import("./vue-ui-accordion-BxGriZik.js").then((e) => e.n)), Pn = je(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), Fn = je(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), In = je(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), Ln = je(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_chestnut: Rn } = me(), { isThemeValid: zn, warnInvalidTheme: Bn } = be(), O = e, Vn = d(() => !!O.dataset && O.dataset.length), k = S(se()), Hn = S(null), Un = S(0), Wn = S(null), Gn = S(null), Kn = S(!1), qn = S(!1), Jn = S(!1), A = S(!1), j = S(""), M = S({
363
364
  level: "root",
364
365
  rootIndex: 0,
365
366
  branchIndex: 0,
366
367
  nutIndex: 0,
367
368
  locked: !1
368
- }), N = S(er()), P = p(() => N.value.userOptions.useCursorPointer), qn = p(() => oe({
369
+ }), N = S(nr());
370
+ fe({
371
+ config: () => N.value,
372
+ dataset: () => O.dataset,
373
+ component: "VueUiChestnut",
374
+ rules: [
375
+ pe.emptyArray,
376
+ {
377
+ test: (e) => e.some((e) => e?.branches && e.branches.length > 10),
378
+ message: [
379
+ "👀 Some root has > 10 branches, which can make the chart heavy. Consider:",
380
+ "",
381
+ "▶️ Grouping some branches in broader categories."
382
+ ]
383
+ },
384
+ {
385
+ test: (e) => e.some((e) => e?.branches && e.branches.some((e) => e?.breakdown && e?.breakdown.length > 6)),
386
+ message: [
387
+ "👀 Some donuts have > 6 series. Consider:",
388
+ "",
389
+ "▶️ Grouping small values into an \"Other\" category."
390
+ ]
391
+ }
392
+ ]
393
+ });
394
+ let P = d(() => N.value.userOptions.useCursorPointer), Yn = d(() => i({
369
395
  defaultConfig: {
370
396
  userOptions: { show: !1 },
371
397
  table: { show: !1 },
@@ -390,10 +416,10 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
390
416
  } }
391
417
  },
392
418
  userConfig: N.value.skeletonConfig ?? {}
393
- })), { loading: Jn, FINAL_DATASET: Yn } = fe({
394
- ...Pe(O),
419
+ })), { loading: Xn, FINAL_DATASET: Zn } = ge({
420
+ ...Ie(O),
395
421
  FINAL_CONFIG: N,
396
- prepareConfig: er,
422
+ prepareConfig: nr,
397
423
  skeletonDataset: O.config?.skeletonDataset ?? [{
398
424
  name: "_",
399
425
  color: "#969696",
@@ -509,42 +535,42 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
509
535
  }
510
536
  ]
511
537
  }],
512
- skeletonConfig: oe({
538
+ skeletonConfig: i({
513
539
  defaultConfig: N.value,
514
- userConfig: qn.value
540
+ userConfig: Yn.value
515
541
  })
516
- }), { userOptionsVisible: Xn, setUserOptionsVisibility: Zn, keepUserOptionState: Qn } = xe({ config: N.value }), { svgRef: $n } = Se({ config: N.value.style.chart.layout.title });
517
- function er() {
518
- let e = he({
542
+ }), { userOptionsVisible: Qn, setUserOptionsVisibility: $n, keepUserOptionState: er } = Te({ config: N.value }), { svgRef: tr } = Ee({ config: N.value.style.chart.layout.title });
543
+ function nr() {
544
+ let e = ye({
519
545
  userConfig: O.config,
520
- defaultConfig: In
546
+ defaultConfig: Rn
521
547
  }), t = e.theme;
522
548
  if (!t) return e;
523
- if (!Ln.value(e)) return Rn(e), e;
524
- let n = he({
525
- userConfig: we[t] || O.config,
549
+ if (!zn.value(e)) return Bn(e), e;
550
+ let n = ye({
551
+ userConfig: Oe[t] || O.config,
526
552
  defaultConfig: e
527
- }), r = he({
553
+ }), r = ye({
528
554
  userConfig: O.config,
529
555
  defaultConfig: n
530
556
  });
531
557
  return {
532
558
  ...r,
533
- customPalette: r.customPalette.length ? r.customPalette : a[t] || s
559
+ customPalette: r.customPalette.length ? r.customPalette : a[t] || o
534
560
  };
535
561
  }
536
- Ie(() => O.config, (e) => {
537
- N.value = er(), Xn.value = !N.value.userOptions.showOnChartHover, F.value.showTable = N.value.table.show, Dr();
562
+ Re(() => O.config, (e) => {
563
+ N.value = nr(), Qn.value = !N.value.userOptions.showOnChartHover, F.value.showTable = N.value.table.show, kr();
538
564
  }, { deep: !0 });
539
- let { isPrinting: tr, isImaging: nr, generatePdf: rr, generateImage: ir } = de({
565
+ let { isPrinting: rr, isImaging: ir, generatePdf: ar, generateImage: or } = he({
540
566
  elementId: `vue-ui-chestnut_${k.value}`,
541
567
  fileName: N.value.style.chart.layout.title.text || "vue-ui-chestnut",
542
568
  options: N.value.userOptions.print
543
- }), ar = p(() => N.value.userOptions.show), or = p(() => r(N.value.customPalette)), F = S({ showTable: N.value.table.show });
544
- Ie(N, () => {
569
+ }), sr = d(() => N.value.userOptions.show), cr = d(() => de(N.value.customPalette)), F = S({ showTable: N.value.table.show });
570
+ Re(N, () => {
545
571
  F.value = { showTable: N.value.table.show };
546
572
  }, { immediate: !0 });
547
- let sr = S(null), cr = p(() => N.value.table.responsiveBreakpoint), I = S({
573
+ let lr = S(null), ur = d(() => N.value.table.responsiveBreakpoint), I = S({
548
574
  gap: 6,
549
575
  padding: {
550
576
  top: 102,
@@ -556,7 +582,7 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
556
582
  height: 0,
557
583
  branchSize: 32,
558
584
  branchStart: 128
559
- }), L = p(() => ({
585
+ }), L = d(() => ({
560
586
  left: I.value.padding.left,
561
587
  top: I.value.padding.top,
562
588
  right: I.value.width - I.value.padding.right,
@@ -564,50 +590,50 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
564
590
  width: I.value.width - (I.value.padding.left + I.value.padding.right),
565
591
  height: I.value.height - (I.value.padding.top + I.value.padding.bottom),
566
592
  seedX: I.value.padding.left + 64
567
- })), R = p(() => Yn.value.flatMap((e) => (e.branches || []).map((e) => e.value || 0)).reduce((e, t) => e + t, 0)), z = p(() => (Yn.value.forEach((e, t) => {
568
- ie({
593
+ })), R = d(() => Zn.value.flatMap((e) => (e.branches || []).map((e) => e.value || 0)).reduce((e, t) => e + t, 0)), z = d(() => (Zn.value.forEach((e, t) => {
594
+ oe({
569
595
  datasetObject: e,
570
596
  requiredAttributes: ["name", "branches"]
571
597
  }).forEach((e) => {
572
- ne({
598
+ ue({
573
599
  componentName: "VueUiChestnut",
574
600
  type: "datasetSerieAttribute",
575
601
  property: e,
576
602
  index: t,
577
- debug: Er.value
603
+ debug: Or.value
578
604
  });
579
605
  }), e.branches && e.branches.forEach((e, n) => {
580
- ie({
606
+ oe({
581
607
  datasetObject: e,
582
608
  requiredAttributes: ["name", "value"]
583
609
  }).forEach((e) => {
584
- ne({
610
+ ue({
585
611
  componentName: "VueUiChestnut",
586
612
  type: "datasetSerieAttribute",
587
613
  property: e,
588
614
  index: `${t} - ${n}`,
589
- debug: Er.value
615
+ debug: Or.value
590
616
  });
591
617
  }), e.breakdown && e.breakdown.forEach((e, r) => {
592
- ie({
618
+ oe({
593
619
  datasetObject: e,
594
620
  requiredAttributes: ["name", "value"]
595
621
  }).forEach((e) => {
596
- ne({
622
+ ue({
597
623
  componentName: "VueUiChestnut",
598
624
  type: "datasetSerieAttribute",
599
625
  property: e,
600
626
  index: `${t} - ${n} - ${r}`,
601
- debug: Er.value
627
+ debug: Or.value
602
628
  });
603
629
  });
604
630
  });
605
631
  });
606
- }), Yn.value.map((e, t) => {
632
+ }), Zn.value.map((e, t) => {
607
633
  let n = (e.branches || []).map((e) => e.value || 0).reduce((e, t) => e + t, 0);
608
634
  return {
609
635
  ...e,
610
- color: le(e.color) || or.value[t] || s[t] || s[t % s.length],
636
+ color: ee(e.color) || cr.value[t] || o[t] || o[t % o.length],
611
637
  id: e.id || `root_${t}_${k.value}`,
612
638
  type: "root",
613
639
  total: n,
@@ -616,12 +642,12 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
616
642
  ...r,
617
643
  rootName: e.name,
618
644
  rootIndex: t,
619
- color: le(e.color) || or.value[t] || s[t] || s[t % s.length],
645
+ color: ee(e.color) || cr.value[t] || o[t] || o[t % o.length],
620
646
  value: r.value >= 0 ? r.value : 0,
621
647
  id: r.id || `branch_${t}_${i}_${k.value}`,
622
648
  proportionToRoot: r.value / n,
623
649
  type: "branch",
624
- breakdown: (r.breakdown || []).map((a, o) => ({
650
+ breakdown: (r.breakdown || []).map((a, te) => ({
625
651
  table: {
626
652
  rootName: e.name,
627
653
  rootValue: n,
@@ -645,31 +671,31 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
645
671
  proportionToRoot: a.value / n,
646
672
  proportionToTree: a.value / R.value,
647
673
  rootIndex: t,
648
- id: a.id || `nut_${t}_${i}_${o}_${k.value}`,
649
- color: le(a.color) || or.value[o] || s[o] || s[o % s.length],
674
+ id: a.id || `nut_${t}_${i}_${te}_${k.value}`,
675
+ color: ee(a.color) || cr.value[te] || o[te] || o[te % o.length],
650
676
  value: a.value >= 0 ? a.value : 0
651
677
  }))
652
678
  }))
653
679
  };
654
680
  })));
655
- function lr() {
681
+ function dr() {
656
682
  return z.value;
657
683
  }
658
- let ur = Re, dr = p(() => z.value.flatMap((e) => e.branches).length), fr = p(() => Math.max(...z.value.map((e) => e.branches.map((e) => e.value).reduce((e, t) => e + t, 0)))), pr = p(() => Math.max(...z.value.flatMap((e) => e.branches.map((e) => e.value)))), mr = p(() => 256 + I.value.padding.left), B = p(() => z.value.sort((e, t) => t.total - e.total).map((e, t) => {
659
- let n = L.value.height / z.value.length / 2, r = e.total / fr.value * (n > 64 ? 64 : n);
684
+ let fr = Be, pr = d(() => z.value.flatMap((e) => e.branches).length), mr = d(() => Math.max(...z.value.map((e) => e.branches.map((e) => e.value).reduce((e, t) => e + t, 0)))), hr = d(() => Math.max(...z.value.flatMap((e) => e.branches.map((e) => e.value)))), gr = d(() => 256 + I.value.padding.left), B = d(() => z.value.sort((e, t) => t.total - e.total).map((e, t) => {
685
+ let n = L.value.height / z.value.length / 2, r = e.total / mr.value * (n > 64 ? 64 : n);
660
686
  return {
661
687
  ...e,
662
688
  x: L.value.seedX,
663
689
  y: L.value.top + L.value.height / z.value.length * (t + 1) - (L.value.height / z.value.length / 2 + I.value.gap / 2),
664
690
  r: r < I.value.branchSize / 2 ? I.value.branchSize / 2 : r
665
691
  };
666
- })), hr = p(() => N.value.style.chart.layout.branches.widthRatio <= 0 ? .1 : N.value.style.chart.layout.branches.widthRatio > 1.8 ? 1.8 : N.value.style.chart.layout.branches.widthRatio), gr = p(() => B.value.flatMap((e) => e.branches)), V = p(() => gr.value.sort((e, t) => t.value - e.value).map((e, t) => ({
692
+ })), _r = d(() => N.value.style.chart.layout.branches.widthRatio <= 0 ? .1 : N.value.style.chart.layout.branches.widthRatio > 1.8 ? 1.8 : N.value.style.chart.layout.branches.widthRatio), vr = d(() => B.value.flatMap((e) => e.branches)), V = d(() => vr.value.sort((e, t) => t.value - e.value).map((e, t) => ({
667
693
  ...e,
668
694
  y1: t * I.value.branchSize + L.value.top + t * I.value.gap,
669
695
  y2: t * I.value.branchSize + I.value.branchSize,
670
- x1: mr.value,
671
- x2: 384 * e.value / pr.value * hr.value + mr.value
672
- }))), _r = p(() => B.value), vr = p(() => _r.value.map((e) => V.value.filter((t) => t.rootIndex === e.rootIndex).sort((e, t) => e.y1 - t.y1))), yr = p(() => _r.value.map((e, t) => vr.value[t].map((e) => (e.breakdown || []).map((t, n) => ({
696
+ x1: gr.value,
697
+ x2: 384 * e.value / hr.value * _r.value + gr.value
698
+ }))), yr = d(() => B.value), br = d(() => yr.value.map((e) => V.value.filter((t) => t.rootIndex === e.rootIndex).sort((e, t) => e.y1 - t.y1))), xr = d(() => yr.value.map((e, t) => br.value[t].map((e) => (e.breakdown || []).map((t, n) => ({
673
699
  ...t,
674
700
  nutIndex: n,
675
701
  rootIndex: e.rootIndex,
@@ -678,7 +704,7 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
678
704
  branchValue: e.value,
679
705
  rootName: e.rootName
680
706
  })))));
681
- function br(e) {
707
+ function Sr(e) {
682
708
  let t = B.value.find((t) => t.rootIndex === e.rootIndex);
683
709
  return {
684
710
  x: t.x,
@@ -694,54 +720,54 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
694
720
  if (H.value) return e.type === "root" ? e.rootIndex === H.value.rootIndex : e.type === "branch" ? e.id === H.value.id : e.type === "nut" && e.branchName === H.value.name && e.rootIndex === H.value.rootIndex;
695
721
  if (W.value) return e.type === "root" ? e.rootIndex === W.value.rootIndex : e.type === "branch" ? e.id === W.value.id : e.type === "nut" && e.branchName === W.value.name && e.rootIndex === W.value.rootIndex;
696
722
  if (G.value) return e.type === "root" ? e.id === G.value.id : e.type === "branch" || e.type === "nut" ? e.rootIndex === G.value.rootIndex : !1;
697
- if (ti.value && A.value) {
723
+ if (ii.value && A.value) {
698
724
  if (M.value.level === "root") return e.type === "root" ? Z.value && e.id === Z.value.id : e.type === "branch" || e.type === "nut" ? Z.value && e.rootIndex === Z.value.rootIndex : !1;
699
- if (M.value.level === "branch") return e.type === "root" ? Z.value && e.rootIndex === Z.value.rootIndex : e.type === "branch" ? $r.value && e.id === $r.value.id : (e.type, !1);
700
- if (M.value.level === "nut") return e.type === "root" ? Z.value && e.rootIndex === Z.value.rootIndex : e.type === "branch" ? ei.value && e.id === ei.value.id : e.type === "nut" && ei.value && e.branchName === ei.value.name && e.rootIndex === ei.value.rootIndex;
725
+ if (M.value.level === "branch") return e.type === "root" ? Z.value && e.rootIndex === Z.value.rootIndex : e.type === "branch" ? ni.value && e.id === ni.value.id : (e.type, !1);
726
+ if (M.value.level === "nut") return e.type === "root" ? Z.value && e.rootIndex === Z.value.rootIndex : e.type === "branch" ? ri.value && e.id === ri.value.id : e.type === "nut" && ri.value && e.branchName === ri.value.name && e.rootIndex === ri.value.rootIndex;
701
727
  }
702
728
  return !0;
703
729
  }
704
- function xr(e) {
730
+ function Cr(e) {
705
731
  K();
706
- let t = _r.value.findIndex((t) => t.rootIndex === e.rootIndex), n = (vr.value[t] || []).findIndex((t) => t.id === e.id);
707
- t !== -1 && (M.value.rootIndex = t), n !== -1 && (M.value.branchIndex = n), M.value.level = "nut", M.value.nutIndex = 0, je(() => {
708
- H.value = e, W.value = e, U.value = ee({
732
+ let t = yr.value.findIndex((t) => t.rootIndex === e.rootIndex), n = (br.value[t] || []).findIndex((t) => t.id === e.id);
733
+ t !== -1 && (M.value.rootIndex = t), n !== -1 && (M.value.branchIndex = n), M.value.level = "nut", M.value.nutIndex = 0, Ne(() => {
734
+ H.value = e, W.value = e, U.value = ie({
709
735
  series: e.breakdown,
710
736
  base: 1
711
- }, e.x2 + 24 + N.value.style.chart.layout.nuts.offsetX, e.y1 + I.value.branchSize / 2, 80, 80), ur("selectNut", e.breakdown), Q();
737
+ }, e.x2 + 24 + N.value.style.chart.layout.nuts.offsetX, e.y1 + I.value.branchSize / 2, 80, 80), fr("selectNut", e.breakdown), Q();
712
738
  });
713
739
  }
714
740
  function J() {
715
- H.value = null, U.value = null, ur("selectNut", null);
741
+ H.value = null, U.value = null, fr("selectNut", null);
716
742
  }
717
- function Sr(e) {
718
- let t = _r.value.findIndex((t) => t.rootIndex === e.rootIndex), n = (vr.value[t] || []).findIndex((t) => t.id === e.id);
719
- t !== -1 && (M.value.rootIndex = t), n !== -1 && (M.value.branchIndex = n), M.value.level = "branch", M.value.nutIndex = 0, W.value && W.value.id === e.id ? (W.value = null, K(), ur("selectBranch", null), Q()) : (K(), W.value = e, ur("selectBranch", e), Q());
743
+ function wr(e) {
744
+ let t = yr.value.findIndex((t) => t.rootIndex === e.rootIndex), n = (br.value[t] || []).findIndex((t) => t.id === e.id);
745
+ t !== -1 && (M.value.rootIndex = t), n !== -1 && (M.value.branchIndex = n), M.value.level = "branch", M.value.nutIndex = 0, W.value && W.value.id === e.id ? (W.value = null, K(), fr("selectBranch", null), Q()) : (K(), W.value = e, fr("selectBranch", e), Q());
720
746
  }
721
- function Cr(e) {
722
- let t = _r.value.findIndex((t) => t.id === e.id);
723
- t !== -1 && (M.value.rootIndex = t), M.value.level = "root", M.value.branchIndex = 0, M.value.nutIndex = 0, G.value && G.value.id === e.id ? (K(), ur("selectRoot", null), Q()) : (K(), G.value = e, ur("selectRoot", e), Q());
747
+ function Tr(e) {
748
+ let t = yr.value.findIndex((t) => t.id === e.id);
749
+ t !== -1 && (M.value.rootIndex = t), M.value.level = "root", M.value.branchIndex = 0, M.value.nutIndex = 0, G.value && G.value.id === e.id ? (K(), fr("selectRoot", null), Q()) : (K(), G.value = e, fr("selectRoot", e), Q());
724
750
  }
725
- function wr() {
751
+ function Er() {
726
752
  return L.value.bottom - (H.value.y1 + 180) < 0 ? 0 : L.value.bottom;
727
753
  }
728
- function Tr(e) {
754
+ function Dr(e) {
729
755
  return e.proportion * 100 > N.value.style.chart.layout.nuts.selected.labels.dataLabels.hideUnderValue;
730
756
  }
731
- Me(() => {
732
- Dr();
757
+ Pe(() => {
758
+ kr();
733
759
  });
734
- let Er = p(() => N.value.debug);
735
- function Dr() {
736
- t(O.dataset) && ne({
760
+ let Or = d(() => N.value.debug);
761
+ function kr() {
762
+ re(O.dataset) && ue({
737
763
  componentName: "VueUiChestnut",
738
764
  type: "dataset",
739
- debug: Er.value
765
+ debug: Or.value
740
766
  });
741
- let e = dr.value * (I.value.branchSize + I.value.gap) + I.value.padding.top + I.value.padding.bottom;
767
+ let e = pr.value * (I.value.branchSize + I.value.gap) + I.value.padding.top + I.value.padding.bottom;
742
768
  I.value.height = e;
743
769
  }
744
- let Y = p(() => ({
770
+ let Y = d(() => ({
745
771
  head: [
746
772
  N.value.table.th.translations.rootName,
747
773
  N.value.table.th.translations.rootValue,
@@ -758,15 +784,15 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
758
784
  ],
759
785
  body: z.value.flatMap((e, t) => e.branches.flatMap((e, t) => e.breakdown.flatMap((e, t) => e.table)))
760
786
  }));
761
- function Or(e = null) {
762
- je(() => {
763
- let t = [
787
+ function Ar(e = null) {
788
+ Ne(() => {
789
+ let n = [
764
790
  [N.value.style.chart.layout.title.text],
765
791
  [N.value.style.chart.layout.title.subtitle.text],
766
792
  [""],
767
793
  ["Grand total", R.value],
768
794
  [""]
769
- ], n = Y.value.head, r = Y.value.body.map((e, t) => [
795
+ ], i = Y.value.head, a = Y.value.body.map((e, t) => [
770
796
  Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? "" : e.rootName,
771
797
  Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? "" : e.rootValue,
772
798
  Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? "" : e.rootToTotal,
@@ -779,28 +805,28 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
779
805
  e.nutToBranch,
780
806
  e.nutToRoot,
781
807
  e.nutToTotal
782
- ]), a = i(t.concat([n]).concat(r));
783
- e ? e(a) : te({
784
- csvContent: a,
808
+ ]), o = n.concat([i]).concat(a), ee = r(o);
809
+ e ? e(ee) : t({
810
+ csvContent: ee,
785
811
  title: N.value.style.chart.layout.title.text || "vue-ui-chestnut"
786
812
  });
787
813
  });
788
814
  }
789
- let kr = S(!1);
790
- function Ar(e) {
791
- kr.value = e, Vn.value += 1;
815
+ let jr = S(!1);
816
+ function Mr(e) {
817
+ jr.value = e, Un.value += 1;
792
818
  }
793
- function jr() {
819
+ function Nr() {
794
820
  F.value.showTable = !F.value.showTable;
795
821
  }
796
- let Mr = S(!1);
797
- function Nr() {
798
- Mr.value = !Mr.value;
822
+ let Pr = S(!1);
823
+ function Fr() {
824
+ Pr.value = !Pr.value;
799
825
  }
800
- async function Pr({ scale: e = 2 } = {}) {
801
- if (!Bn.value) return;
802
- let { width: t, height: n } = Bn.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await _e({
803
- domElement: Bn.value,
826
+ async function Ir({ scale: e = 2 } = {}) {
827
+ if (!Hn.value) return;
828
+ let { width: t, height: n } = Hn.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await xe({
829
+ domElement: Hn.value,
804
830
  base64: !0,
805
831
  img: !0,
806
832
  scale: e
@@ -814,8 +840,8 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
814
840
  aspectRatio: r
815
841
  };
816
842
  }
817
- function Fr(e) {
818
- let t = br(e), n = e.x1, r = e.y1, i = I.value.branchSize, a = t.x + t.r / 2, o = t.y;
843
+ function Lr(e) {
844
+ let t = Sr(e), n = e.x1, r = e.y1, i = I.value.branchSize, a = t.x + t.r / 2, o = t.y;
819
845
  return [
820
846
  `M ${n},${r}`,
821
847
  `C ${n - 20},${r} ${n - 20},${r} ${a},${o}`,
@@ -823,18 +849,18 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
823
849
  "Z"
824
850
  ].join(" ");
825
851
  }
826
- let Ir = p(() => {
852
+ let Rr = d(() => {
827
853
  let e = N.value.table.useDialog && !N.value.table.show, t = F.value.showTable;
828
854
  return {
829
- component: e ? Fn : jn,
855
+ component: e ? Ln : Nn,
830
856
  title: `${N.value.style.chart.layout.title.text}${N.value.style.chart.layout.title.subtitle.text ? `: ${N.value.style.chart.layout.title.subtitle.text}` : ""}`,
831
857
  props: e ? {
832
858
  backgroundColor: N.value.table.th.backgroundColor,
833
859
  color: N.value.table.th.color,
834
860
  headerColor: N.value.table.th.color,
835
861
  headerBg: N.value.table.th.backgroundColor,
836
- isFullscreen: kr.value,
837
- fullscreenParent: Bn.value,
862
+ isFullscreen: jr.value,
863
+ fullscreenParent: Hn.value,
838
864
  forcedWidth: Math.min(800, window.innerWidth * .8),
839
865
  isCursorPointer: P.value
840
866
  } : {
@@ -854,71 +880,71 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
854
880
  }
855
881
  };
856
882
  });
857
- Ie(() => F.value.showTable, async (e) => {
858
- N.value.table.show || (e && N.value.table.useDialog && Hn.value ? (await je(), Hn.value.open()) : "close" in Hn.value && Hn.value.close());
883
+ Re(() => F.value.showTable, async (e) => {
884
+ N.value.table.show || (e && N.value.table.useDialog && Wn.value ? (await Ne(), Wn.value.open()) : "close" in Wn.value && Wn.value.close());
859
885
  });
860
- let { isResponsive: Lr } = Ce(sr, cr);
861
- function Rr() {
862
- F.value.showTable = !1, Un.value && Un.value.setTableIconState(!1);
886
+ let { isResponsive: zr } = De(lr, ur);
887
+ function Br() {
888
+ F.value.showTable = !1, Gn.value && Gn.value.setTableIconState(!1);
863
889
  }
864
- let zr = p(() => z.value.map((e, t) => ({
890
+ let Vr = d(() => z.value.map((e, t) => ({
865
891
  ...e,
866
- display: `${e.name}: ${u(N.value.style.chart.layout.roots.labels.formatter, e.total, c({
892
+ display: `${e.name}: ${l(N.value.style.chart.layout.roots.labels.formatter, e.total, s({
867
893
  p: N.value.style.chart.layout.legend.prefix,
868
894
  v: e.total,
869
895
  s: N.value.style.chart.layout.legend.suffix,
870
896
  r: N.value.style.chart.layout.legend.roundingValue
871
- }), { datapoint: e })} (${c({
897
+ }), { datapoint: e })} (${s({
872
898
  v: e.total / R.value * 100,
873
899
  s: "%",
874
900
  r: N.value.style.chart.layout.legend.roundingPercentage
875
901
  })})`
876
- }))), Br = p(() => zr.value.map((e) => ({
902
+ }))), Hr = d(() => Vr.value.map((e) => ({
877
903
  color: e.color,
878
904
  name: e.display,
879
905
  shape: "circle"
880
- }))), Vr = p(() => N.value.style.chart.backgroundColor), Hr = p(() => ({
906
+ }))), Ur = d(() => N.value.style.chart.backgroundColor), Wr = d(() => ({
881
907
  ...N.value.style.chart.layout.legend,
882
908
  textAlign: "center",
883
909
  show: !0,
884
910
  position: "bottom"
885
- })), { exportSvg: Ur, getSvg: Wr } = me({
886
- svg: $n,
887
- title: p(() => N.value.style.chart.layout.title),
888
- legend: Hr,
889
- legendItems: Br,
890
- backgroundColor: Vr,
911
+ })), Gr = d(() => N.value.style.chart.layout.title), { exportSvg: Kr, getSvg: qr } = ve({
912
+ svg: tr,
913
+ title: Gr,
914
+ legend: Wr,
915
+ legendItems: Hr,
916
+ backgroundColor: Ur,
891
917
  titleEmbedded: !0
892
918
  });
893
- async function Gr({ isCb: e }) {
894
- Gn.value = !0, await je();
919
+ async function Jr({ isCb: e }) {
920
+ qn.value = !0, await Ne();
895
921
  try {
896
922
  if (e) {
897
- let { blob: e, url: t, text: n, dataUrl: r } = await Wr();
923
+ let { blob: e, url: t, text: n, dataUrl: r } = await qr();
898
924
  await Promise.resolve(N.value.userOptions.callbacks.svg({
899
925
  blob: e,
900
926
  url: t,
901
927
  text: n,
902
928
  dataUrl: r
903
929
  }));
904
- } else await Promise.resolve(Ur());
930
+ } else await Promise.resolve(Kr());
905
931
  } finally {
906
- Gn.value = !1;
932
+ qn.value = !1;
907
933
  }
908
934
  }
909
- function Kr(e) {
935
+ function Yr(e) {
910
936
  if (e?.stage === "start") {
911
- Wn.value = !0;
937
+ Kn.value = !0;
912
938
  return;
913
939
  }
914
940
  if (e?.stage === "end") {
915
- Wn.value = !1;
941
+ Kn.value = !1;
916
942
  return;
917
943
  }
918
- ir();
944
+ or();
919
945
  }
920
- async function qr() {
921
- if (ur("copyAlt", {
946
+ async function Xr() {
947
+ if (fr("copyAlt", {
922
948
  config: N.value,
923
949
  dataset: z.value
924
950
  }), !N.value.userOptions.callbacks.altCopy) {
@@ -930,59 +956,59 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
930
956
  dataset: z.value
931
957
  }));
932
958
  }
933
- function Jr(e) {
959
+ function Zr(e) {
934
960
  if (!e) return "";
935
- let t = c({
961
+ let t = s({
936
962
  p: N.value.style.chart.layout.legend.prefix,
937
963
  v: e.total,
938
964
  s: N.value.style.chart.layout.legend.suffix,
939
965
  r: N.value.style.chart.layout.legend.roundingValue
940
- }), n = c({
966
+ }), n = s({
941
967
  v: e.total / R.value * 100,
942
968
  s: "%",
943
969
  r: N.value.style.chart.layout.legend.roundingPercentage
944
970
  });
945
971
  return `Root ${e.name}. Value ${t}. ${n} of total.`;
946
972
  }
947
- function Yr(e) {
973
+ function Qr(e) {
948
974
  if (!e) return "";
949
- let t = c({
975
+ let t = s({
950
976
  p: N.value.style.chart.layout.branches.labels.dataLabels.prefix,
951
977
  v: e.value,
952
978
  s: N.value.style.chart.layout.branches.labels.dataLabels.suffix,
953
979
  r: N.value.style.chart.layout.branches.labels.dataLabels.roundingValue
954
- }), n = c({
980
+ }), n = s({
955
981
  v: e.proportionToRoot * 100,
956
982
  s: "%",
957
983
  r: N.value.style.chart.layout.legend.roundingPercentage
958
984
  });
959
985
  return `Branch ${e.name}. Root ${e.rootName}. Value ${t}. ${n} of root ${e.rootName}.`;
960
986
  }
961
- function Xr(e) {
987
+ function $r(e) {
962
988
  if (!e) return "";
963
- let t = c({
989
+ let t = s({
964
990
  p: N.value.style.chart.layout.legend.prefix,
965
991
  v: e.value,
966
992
  s: N.value.style.chart.layout.legend.suffix,
967
993
  r: N.value.style.chart.layout.nuts.selected.labels.roundingValue
968
- }), n = c({
994
+ }), n = s({
969
995
  v: e.proportionToBranch * 100,
970
996
  s: "%",
971
997
  r: N.value.style.chart.layout.nuts.selected.labels.roundingPercentage
972
998
  });
973
999
  return `Nut ${e.name}. Branch ${e.branchName}. Root ${e.rootName}. Value ${t}. ${n} of branch ${e.branchName}.`;
974
1000
  }
975
- let Zr = p(() => _r.value[M.value.rootIndex] || null), X = p(() => (vr.value[M.value.rootIndex] || [])[M.value.branchIndex] || null), Qr = p(() => ((yr.value[M.value.rootIndex] || [])[M.value.branchIndex] || [])[M.value.nutIndex] || null), Z = p(() => Zr.value), $r = p(() => X.value), ei = p(() => M.value.level === "nut" ? X.value : null), ti = p(() => Kn.value);
1001
+ let ei = d(() => yr.value[M.value.rootIndex] || null), X = d(() => (br.value[M.value.rootIndex] || [])[M.value.branchIndex] || null), ti = d(() => ((xr.value[M.value.rootIndex] || [])[M.value.branchIndex] || [])[M.value.nutIndex] || null), Z = d(() => ei.value), ni = d(() => X.value), ri = d(() => M.value.level === "nut" ? X.value : null), ii = d(() => Jn.value);
976
1002
  function Q() {
977
1003
  if (M.value.level === "root") {
978
- j.value = Jr(Zr.value);
1004
+ j.value = Zr(ei.value);
979
1005
  return;
980
1006
  }
981
1007
  if (M.value.level === "branch") {
982
- j.value = Yr(X.value);
1008
+ j.value = Qr(X.value);
983
1009
  return;
984
1010
  }
985
- M.value.level === "nut" && (j.value = Xr(Qr.value));
1011
+ M.value.level === "nut" && (j.value = $r(ti.value));
986
1012
  }
987
1013
  function $() {
988
1014
  M.value = {
@@ -993,45 +1019,45 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
993
1019
  locked: !1
994
1020
  }, j.value = "";
995
1021
  }
996
- function ni() {
997
- let e = vr.value[M.value.rootIndex] || [];
1022
+ function ai() {
1023
+ let e = br.value[M.value.rootIndex] || [];
998
1024
  if (!e.length) {
999
1025
  M.value.branchIndex = 0;
1000
1026
  return;
1001
1027
  }
1002
1028
  M.value.branchIndex >= e.length && (M.value.branchIndex = 0), M.value.branchIndex < 0 && (M.value.branchIndex = e.length - 1);
1003
1029
  }
1004
- function ri() {
1005
- let e = (yr.value[M.value.rootIndex] || [])[M.value.branchIndex] || [];
1030
+ function oi() {
1031
+ let e = (xr.value[M.value.rootIndex] || [])[M.value.branchIndex] || [];
1006
1032
  if (!e.length) {
1007
1033
  M.value.nutIndex = 0;
1008
1034
  return;
1009
1035
  }
1010
1036
  M.value.nutIndex >= e.length && (M.value.nutIndex = 0), M.value.nutIndex < 0 && (M.value.nutIndex = e.length - 1);
1011
1037
  }
1012
- function ii(e) {
1038
+ function si(e) {
1013
1039
  if (M.value.level === "root") {
1014
- let t = _r.value.length;
1040
+ let t = yr.value.length;
1015
1041
  if (!t) return;
1016
1042
  M.value.rootIndex += e, M.value.rootIndex >= t && (M.value.rootIndex = 0), M.value.rootIndex < 0 && (M.value.rootIndex = t - 1), M.value.branchIndex = 0, M.value.nutIndex = 0, Q();
1017
1043
  return;
1018
1044
  }
1019
1045
  if (M.value.level === "branch") {
1020
- M.value.branchIndex += e, ni(), M.value.nutIndex = 0, Q();
1046
+ M.value.branchIndex += e, ai(), M.value.nutIndex = 0, Q();
1021
1047
  return;
1022
1048
  }
1023
- M.value.level === "nut" && (M.value.nutIndex += e, ri(), Q());
1049
+ M.value.level === "nut" && (M.value.nutIndex += e, oi(), Q());
1024
1050
  }
1025
- function ai(e) {
1051
+ function ci(e) {
1026
1052
  if (e > 0) {
1027
1053
  if (M.value.level === "root") {
1028
- if (!(vr.value[M.value.rootIndex] || []).length) return;
1054
+ if (!(br.value[M.value.rootIndex] || []).length) return;
1029
1055
  M.value.level = "branch", M.value.branchIndex = 0, M.value.nutIndex = 0, Q();
1030
1056
  return;
1031
1057
  }
1032
1058
  if (M.value.level === "branch") {
1033
- if (!((yr.value[M.value.rootIndex] || [])[M.value.branchIndex] || []).length) return;
1034
- M.value.level = "nut", M.value.nutIndex = 0, X.value ? xr(X.value) : Q();
1059
+ if (!((xr.value[M.value.rootIndex] || [])[M.value.branchIndex] || []).length) return;
1060
+ M.value.level = "nut", M.value.nutIndex = 0, X.value ? Cr(X.value) : Q();
1035
1061
  return;
1036
1062
  }
1037
1063
  return;
@@ -1042,120 +1068,120 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1042
1068
  }
1043
1069
  M.value.level === "branch" && (W.value = null, G.value = null, M.value.level = "root", M.value.nutIndex = 0, Q());
1044
1070
  }
1045
- function oi() {
1046
- if (M.value.level === "root" && Zr.value) {
1047
- Cr(Zr.value), j.value = `${Jr(Zr.value)} selected.`;
1071
+ function li() {
1072
+ if (M.value.level === "root" && ei.value) {
1073
+ Tr(ei.value), j.value = `${Zr(ei.value)} selected.`;
1048
1074
  return;
1049
1075
  }
1050
1076
  if (M.value.level === "branch" && X.value) {
1051
- Sr(X.value), j.value = `${Yr(X.value)} selected.`;
1077
+ wr(X.value), j.value = `${Qr(X.value)} selected.`;
1052
1078
  return;
1053
1079
  }
1054
- M.value.level === "nut" && X.value && Qr.value && (xr(X.value), j.value = `${Xr(Qr.value)} details opened.`);
1080
+ M.value.level === "nut" && X.value && ti.value && (Cr(X.value), j.value = `${$r(ti.value)} details opened.`);
1055
1081
  }
1056
- function si() {
1057
- Kn.value = !0, A.value = !1;
1082
+ function ui() {
1083
+ Jn.value = !0, A.value = !1;
1058
1084
  }
1059
- function ci() {
1060
- Kn.value = !1, A.value = !1, j.value = "", !G.value && !W.value && !H.value && $();
1085
+ function di() {
1086
+ Jn.value = !1, A.value = !1, j.value = "", !G.value && !W.value && !H.value && $();
1061
1087
  }
1062
- function li(e) {
1088
+ function fi(e) {
1063
1089
  let t = e.key === "ArrowUp", n = e.key === "ArrowDown", r = e.key === "ArrowLeft", i = e.key === "ArrowRight", a = e.key === "Enter" || e.key === " ", o = e.key === "Escape";
1064
1090
  if (!(!t && !n && !r && !i && !a && !o)) {
1065
- if (e.preventDefault(), e.stopPropagation(), Kn.value ||= !0, o) {
1091
+ if (e.preventDefault(), e.stopPropagation(), Jn.value ||= !0, o) {
1066
1092
  K(), $(), A.value = !1;
1067
1093
  return;
1068
1094
  }
1069
1095
  if ((t || n || r || i) && (A.value = !0), t) {
1070
- ii(-1);
1096
+ si(-1);
1071
1097
  return;
1072
1098
  }
1073
1099
  if (n) {
1074
- ii(1);
1100
+ si(1);
1075
1101
  return;
1076
1102
  }
1077
1103
  if (r) {
1078
- ai(-1);
1104
+ ci(-1);
1079
1105
  return;
1080
1106
  }
1081
1107
  if (i) {
1082
- ai(1);
1108
+ ci(1);
1083
1109
  return;
1084
1110
  }
1085
- a && oi();
1111
+ a && li();
1086
1112
  }
1087
1113
  }
1088
- let ui = p(() => ({
1114
+ let pi = d(() => ({
1089
1115
  headers: Y.value.head,
1090
1116
  rows: Y.value.body.map((e) => [
1091
1117
  e.rootName,
1092
1118
  e.rootValue,
1093
- c({
1119
+ s({
1094
1120
  v: e.rootToTotal * 100,
1095
1121
  s: "%",
1096
1122
  r: N.value.table.td.roundingPercentage
1097
1123
  }),
1098
1124
  e.branchName,
1099
1125
  e.branchValue,
1100
- c({
1126
+ s({
1101
1127
  v: e.branchToRoot * 100,
1102
1128
  s: "%",
1103
1129
  r: N.value.table.td.roundingPercentage
1104
1130
  }),
1105
- c({
1131
+ s({
1106
1132
  v: e.branchToTotal * 100,
1107
1133
  s: "%",
1108
1134
  r: N.value.table.td.roundingPercentage
1109
1135
  }),
1110
1136
  e.nutName,
1111
1137
  e.nutValue,
1112
- c({
1138
+ s({
1113
1139
  v: e.nutToBranch * 100,
1114
1140
  s: "%",
1115
1141
  r: N.value.table.td.roundingPercentage
1116
1142
  }),
1117
- c({
1143
+ s({
1118
1144
  v: e.nutToRoot * 100,
1119
1145
  s: "%",
1120
1146
  r: N.value.table.td.roundingPercentage
1121
1147
  }),
1122
- c({
1148
+ s({
1123
1149
  v: e.nutToTotal * 100,
1124
1150
  s: "%",
1125
1151
  r: N.value.table.td.roundingPercentage
1126
1152
  })
1127
1153
  ])
1128
1154
  }));
1129
- return ve({
1130
- getData: lr,
1131
- getImage: Pr,
1132
- generatePdf: rr,
1133
- generateCsv: Or,
1134
- generateImage: ir,
1135
- generateSvg: Gr,
1136
- toggleTable: jr,
1137
- toggleAnnotator: Nr,
1138
- toggleFullscreen: Ar,
1139
- copyAlt: qr
1140
- }), (e, t) => (x(), h("div", {
1141
- class: v(`vue-data-ui-component vue-ui-chestnut ${kr.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
1155
+ return Se({
1156
+ getData: dr,
1157
+ getImage: Ir,
1158
+ generatePdf: ar,
1159
+ generateCsv: Ar,
1160
+ generateImage: or,
1161
+ generateSvg: Jr,
1162
+ toggleTable: Nr,
1163
+ toggleAnnotator: Fr,
1164
+ toggleFullscreen: Mr,
1165
+ copyAlt: Xr
1166
+ }), (e, t) => (x(), m("div", {
1167
+ class: v(`vue-data-ui-component vue-ui-chestnut ${jr.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
1142
1168
  ref_key: "chestnutChart",
1143
- ref: Bn,
1169
+ ref: Hn,
1144
1170
  id: `vue-ui-chestnut_${k.value}`,
1145
1171
  style: b(`font-family:${N.value.style.fontFamily};width:100%; text-align:center;background:${N.value.style.chart.backgroundColor}`),
1146
- onMouseenter: t[12] ||= () => E(Zn)(!0),
1147
- onMouseleave: t[13] ||= () => E(Zn)(!1)
1172
+ onMouseenter: t[12] ||= () => E($n)(!0),
1173
+ onMouseleave: t[13] ||= () => E($n)(!1)
1148
1174
  }, [
1149
- g("div", {
1175
+ h("div", {
1150
1176
  id: `chart-instructions-${k.value}`,
1151
1177
  class: "sr-only"
1152
- }, [g("p", null, T(N.value.a11y.translations.keyboardNavigation), 1)], 8, Be),
1153
- g("div", Ve, T(j.value), 1),
1154
- ui.value?.rows?.length ? (x(), Te(be, {
1178
+ }, [h("p", null, T(N.value.a11y.translations.keyboardNavigation), 1)], 8, He),
1179
+ h("div", Ue, T(j.value), 1),
1180
+ pi.value?.rows?.length ? (x(), f(we, {
1155
1181
  key: 0,
1156
1182
  uid: k.value,
1157
- head: ui.value.headers,
1158
- body: ui.value.rows,
1183
+ head: pi.value.headers,
1184
+ body: pi.value.rows,
1159
1185
  notice: N.value.a11y.translations.tableAvailable,
1160
1186
  caption: N.value.a11y.translations.tableCaption
1161
1187
  }, null, 8, [
@@ -1164,15 +1190,15 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1164
1190
  "body",
1165
1191
  "notice",
1166
1192
  "caption"
1167
- ])) : m("", !0),
1168
- N.value.userOptions.buttons.annotator ? (x(), Te(E(Mn), {
1193
+ ])) : p("", !0),
1194
+ N.value.userOptions.buttons.annotator ? (x(), f(E(Pn), {
1169
1195
  key: 1,
1170
- svgRef: E($n),
1196
+ svgRef: E(tr),
1171
1197
  backgroundColor: N.value.style.chart.backgroundColor,
1172
1198
  color: N.value.style.chart.color,
1173
- active: Mr.value,
1199
+ active: Pr.value,
1174
1200
  isCursorPointer: P.value,
1175
- onClose: Nr
1201
+ onClose: Fr
1176
1202
  }, {
1177
1203
  "annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1178
1204
  "annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
@@ -1187,16 +1213,16 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1187
1213
  "color",
1188
1214
  "active",
1189
1215
  "isCursorPointer"
1190
- ])) : m("", !0),
1191
- ar.value ? (x(), h("div", He, null, 512)) : m("", !0),
1192
- N.value.userOptions.show && zn.value && (E(Qn) || E(Xn)) ? (x(), Te(E(Nn), {
1216
+ ])) : p("", !0),
1217
+ sr.value ? (x(), m("div", We, null, 512)) : p("", !0),
1218
+ N.value.userOptions.show && Vn.value && (E(er) || E(Qn)) ? (x(), f(E(Fn), {
1193
1219
  ref_key: "userOptionsRef",
1194
- ref: Un,
1195
- key: `user_options_${Vn.value}`,
1220
+ ref: Gn,
1221
+ key: `user_options_${Un.value}`,
1196
1222
  backgroundColor: N.value.style.chart.backgroundColor,
1197
1223
  color: N.value.style.chart.color,
1198
- isImaging: E(nr),
1199
- isPrinting: E(tr),
1224
+ isImaging: E(ir),
1225
+ isPrinting: E(rr),
1200
1226
  uid: k.value,
1201
1227
  hasPdf: N.value.userOptions.buttons.pdf,
1202
1228
  hasImg: N.value.userOptions.buttons.img,
@@ -1205,26 +1231,26 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1205
1231
  hasTable: N.value.userOptions.buttons.table,
1206
1232
  hasFullscreen: N.value.userOptions.buttons.fullscreen,
1207
1233
  hasAltCopy: N.value.userOptions.buttons.altCopy,
1208
- isFullscreen: kr.value,
1234
+ isFullscreen: jr.value,
1209
1235
  titles: { ...N.value.userOptions.buttonTitles },
1210
- chartElement: Bn.value,
1236
+ chartElement: Hn.value,
1211
1237
  position: N.value.userOptions.position,
1212
1238
  hasAnnotator: N.value.userOptions.buttons.annotator,
1213
- isAnnotation: Mr.value,
1239
+ isAnnotation: Pr.value,
1214
1240
  callbacks: N.value.userOptions.callbacks,
1215
1241
  printScale: N.value.userOptions.print.scale,
1216
1242
  tableDialog: N.value.table.useDialog,
1217
1243
  isCursorPointer: P.value,
1218
- onToggleFullscreen: Ar,
1219
- onGeneratePdf: E(rr),
1220
- onGenerateCsv: Or,
1221
- onGenerateImage: Kr,
1222
- onGenerateSvg: Gr,
1223
- onToggleTable: jr,
1224
- onToggleAnnotator: Nr,
1225
- onCopyAlt: qr,
1226
- style: b({ visibility: E(Qn) ? E(Xn) ? "visible" : "hidden" : "visible" })
1227
- }, Ee({ _: 2 }, [
1244
+ onToggleFullscreen: Mr,
1245
+ onGeneratePdf: E(ar),
1246
+ onGenerateCsv: Ar,
1247
+ onGenerateImage: Yr,
1248
+ onGenerateSvg: Jr,
1249
+ onToggleTable: Nr,
1250
+ onToggleAnnotator: Fr,
1251
+ onCopyAlt: Xr,
1252
+ style: b({ visibility: E(er) ? E(Qn) ? "visible" : "hidden" : "visible" })
1253
+ }, ke({ _: 2 }, [
1228
1254
  e.$slots.menuIcon ? {
1229
1255
  name: "menuIcon",
1230
1256
  fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(_({
@@ -1314,34 +1340,34 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1314
1340
  "isCursorPointer",
1315
1341
  "onGeneratePdf",
1316
1342
  "style"
1317
- ])) : m("", !0),
1318
- g("div", Ue, [I.value.height > 0 ? (x(), h("svg", {
1343
+ ])) : p("", !0),
1344
+ h("div", Ge, [I.value.height > 0 ? (x(), m("svg", {
1319
1345
  key: 0,
1320
1346
  ref_key: "svgRef",
1321
- ref: $n,
1322
- xmlns: E(ce),
1347
+ ref: tr,
1348
+ xmlns: E(le),
1323
1349
  "aria-describedby": `chart-instructions-${k.value}`,
1324
1350
  class: v({
1325
- "vue-data-ui-fullscreen--on": kr.value,
1326
- "vue-data-ui-fulscreen--off": !kr.value
1351
+ "vue-data-ui-fullscreen--on": jr.value,
1352
+ "vue-data-ui-fulscreen--off": !jr.value
1327
1353
  }),
1328
1354
  viewBox: `0 0 ${I.value.width <= 0 ? 10 : I.value.width} ${I.value.height <= 0 ? 10 : I.value.height}`,
1329
1355
  style: b(`overflow:visible;background:transparent;color:${N.value.style.chart.color}`),
1330
1356
  tabindex: "0",
1331
- onFocus: si,
1332
- onBlur: ci,
1333
- onKeydown: li
1357
+ onFocus: ui,
1358
+ onBlur: di,
1359
+ onKeydown: fi
1334
1360
  }, [
1335
- Oe(E(Pn)),
1336
- e.$slots["chart-background"] ? (x(), h("foreignObject", {
1361
+ g(E(In)),
1362
+ e.$slots["chart-background"] ? (x(), m("foreignObject", {
1337
1363
  key: 0,
1338
1364
  x: 0,
1339
1365
  y: 0,
1340
1366
  width: I.value.width <= 0 ? 10 : I.value.width,
1341
1367
  height: I.value.height <= 0 ? 10 : I.value.height,
1342
1368
  style: { pointerEvents: "none" }
1343
- }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Ge)) : m("", !0),
1344
- H.value ? m("", !0) : (x(), h("g", Ke, [N.value.style.chart.layout.title.text ? (x(), h("text", {
1369
+ }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, qe)) : p("", !0),
1370
+ H.value ? p("", !0) : (x(), m("g", Je, [N.value.style.chart.layout.title.text ? (x(), m("text", {
1345
1371
  key: 0,
1346
1372
  "text-anchor": "middle",
1347
1373
  fill: N.value.style.chart.layout.title.color,
@@ -1352,7 +1378,7 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1352
1378
  onClick: t[0] ||= () => {
1353
1379
  K(), $(), A.value = !1;
1354
1380
  }
1355
- }, T(N.value.style.chart.layout.title.text), 9, qe)) : m("", !0), N.value.style.chart.layout.title.subtitle.text ? (x(), h("text", {
1381
+ }, T(N.value.style.chart.layout.title.text), 9, Ye)) : p("", !0), N.value.style.chart.layout.title.subtitle.text ? (x(), m("text", {
1356
1382
  key: 1,
1357
1383
  "text-anchor": "middle",
1358
1384
  fill: N.value.style.chart.layout.title.subtitle.color,
@@ -1363,9 +1389,9 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1363
1389
  onClick: t[1] ||= () => {
1364
1390
  K(), $(), A.value = !1;
1365
1391
  }
1366
- }, T(N.value.style.chart.layout.title.subtitle.text), 9, Je)) : m("", !0)])),
1367
- g("defs", null, [
1368
- (x(!0), h(f, null, C(z.value, (e, t) => (x(), Te(ye, {
1392
+ }, T(N.value.style.chart.layout.title.subtitle.text), 9, Xe)) : p("", !0)])),
1393
+ h("defs", null, [
1394
+ (x(!0), m(u, null, C(z.value, (e, t) => (x(), f(Ce, {
1369
1395
  t: "radial",
1370
1396
  cx: "50%",
1371
1397
  cy: "50%",
@@ -1376,7 +1402,7 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1376
1402
  key: `root_gradient_${k.value}_${e.rootIndex}`,
1377
1403
  stops: [[
1378
1404
  "0%",
1379
- E(d)(E(n)(e.color, .05), 100 - N.value.style.chart.layout.roots.gradientIntensity),
1405
+ E(n)(E(te)(e.color, .05), 100 - N.value.style.chart.layout.roots.gradientIntensity),
1380
1406
  1
1381
1407
  ], [
1382
1408
  "100%",
@@ -1384,7 +1410,7 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1384
1410
  1
1385
1411
  ]]
1386
1412
  }, null, 8, ["id", "stops"]))), 128)),
1387
- (x(!0), h(f, null, C(z.value, (e) => (x(), Te(ye, {
1413
+ (x(!0), m(u, null, C(z.value, (e) => (x(), f(Ce, {
1388
1414
  t: "linear",
1389
1415
  x1: "0%",
1390
1416
  y1: "0%",
@@ -1398,11 +1424,11 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1398
1424
  1
1399
1425
  ], [
1400
1426
  "100%",
1401
- E(d)(E(n)(e.color, .02), 100 - N.value.style.chart.layout.branches.gradientIntensity),
1427
+ E(n)(E(te)(e.color, .02), 100 - N.value.style.chart.layout.branches.gradientIntensity),
1402
1428
  1
1403
1429
  ]]
1404
1430
  }, null, 8, ["id", "stops"]))), 128)),
1405
- Oe(ye, {
1431
+ g(Ce, {
1406
1432
  t: "radial",
1407
1433
  cx: "50%",
1408
1434
  cy: "50%",
@@ -1413,22 +1439,22 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1413
1439
  stops: [
1414
1440
  [
1415
1441
  "0%",
1416
- E(d)("#FFFFFF", 0),
1442
+ E(n)("#FFFFFF", 0),
1417
1443
  0
1418
1444
  ],
1419
1445
  [
1420
1446
  "80%",
1421
- E(d)("#FFFFFF", N.value.style.chart.layout.nuts.selected.gradientIntensity),
1447
+ E(n)("#FFFFFF", N.value.style.chart.layout.nuts.selected.gradientIntensity),
1422
1448
  1
1423
1449
  ],
1424
1450
  [
1425
1451
  "100%",
1426
- E(d)("#FFFFFF", 0),
1452
+ E(n)("#FFFFFF", 0),
1427
1453
  0
1428
1454
  ]
1429
1455
  ]
1430
1456
  }, null, 8, ["id", "stops"]),
1431
- Oe(ye, {
1457
+ g(Ce, {
1432
1458
  t: "radial",
1433
1459
  cx: "50%",
1434
1460
  cy: "50%",
@@ -1439,22 +1465,22 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1439
1465
  stops: [
1440
1466
  [
1441
1467
  "0%",
1442
- E(d)("#FFFFFF", 0),
1468
+ E(n)("#FFFFFF", 0),
1443
1469
  0
1444
1470
  ],
1445
1471
  [
1446
1472
  "80%",
1447
- E(d)("#FFFFFF", N.value.style.chart.layout.nuts.gradientIntensity),
1473
+ E(n)("#FFFFFF", N.value.style.chart.layout.nuts.gradientIntensity),
1448
1474
  1
1449
1475
  ],
1450
1476
  [
1451
1477
  "100%",
1452
- E(d)("#FFFFFF", 0),
1478
+ E(n)("#FFFFFF", 0),
1453
1479
  0
1454
1480
  ]
1455
1481
  ]
1456
1482
  }, null, 8, ["id", "stops"]),
1457
- Oe(ye, {
1483
+ g(Ce, {
1458
1484
  t: "radial",
1459
1485
  cx: "50%",
1460
1486
  cy: "50%",
@@ -1465,23 +1491,23 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1465
1491
  stops: [
1466
1492
  [
1467
1493
  "0%",
1468
- E(d)(N.value.style.chart.backgroundColor, 100),
1494
+ E(n)(N.value.style.chart.backgroundColor, 100),
1469
1495
  1
1470
1496
  ],
1471
1497
  [
1472
1498
  "80%",
1473
- E(d)(N.value.style.chart.backgroundColor, 60),
1499
+ E(n)(N.value.style.chart.backgroundColor, 60),
1474
1500
  1
1475
1501
  ],
1476
1502
  [
1477
1503
  "100%",
1478
- E(d)(N.value.style.chart.backgroundColor, 0),
1504
+ E(n)(N.value.style.chart.backgroundColor, 0),
1479
1505
  1
1480
1506
  ]
1481
1507
  ]
1482
1508
  }, null, 8, ["id", "stops"])
1483
1509
  ]),
1484
- N.value.style.chart.layout.grandTotal.show ? (x(), h("g", Ye, [g("text", {
1510
+ N.value.style.chart.layout.grandTotal.show ? (x(), m("g", Ze, [h("text", {
1485
1511
  x: L.value.seedX,
1486
1512
  y: 32 + N.value.style.chart.layout.grandTotal.offsetY,
1487
1513
  "font-size": N.value.style.chart.layout.grandTotal.fontSize,
@@ -1491,7 +1517,7 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1491
1517
  onClick: t[2] ||= () => {
1492
1518
  K(), $(), A.value = !1;
1493
1519
  }
1494
- }, T(N.value.style.chart.layout.grandTotal.text), 9, Xe), g("text", {
1520
+ }, T(N.value.style.chart.layout.grandTotal.text), 9, Qe), h("text", {
1495
1521
  x: L.value.seedX,
1496
1522
  y: 38 + N.value.style.chart.layout.grandTotal.fontSize + N.value.style.chart.layout.grandTotal.offsetY,
1497
1523
  "font-size": N.value.style.chart.layout.grandTotal.fontSize,
@@ -1501,13 +1527,13 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1501
1527
  onClick: t[3] ||= () => {
1502
1528
  K(), $(), A.value = !1;
1503
1529
  }
1504
- }, T(E(u)(N.value.style.chart.layout.grandTotal.formatter, R.value, E(c)({
1530
+ }, T(E(l)(N.value.style.chart.layout.grandTotal.formatter, R.value, E(s)({
1505
1531
  p: N.value.style.chart.layout.grandTotal.prefix,
1506
1532
  v: R.value,
1507
1533
  s: N.value.style.chart.layout.grandTotal.suffix,
1508
1534
  r: N.value.style.chart.layout.grandTotal.roundingValue
1509
- }))), 9, Ze)])) : m("", !0),
1510
- (x(!0), h(f, null, C(V.value, (e) => (x(), h("g", null, [g("defs", null, [Oe(ye, {
1535
+ }))), 9, $e)])) : p("", !0),
1536
+ (x(!0), m(u, null, C(V.value, (e) => (x(), m("g", null, [h("defs", null, [g(Ce, {
1511
1537
  t: "linear",
1512
1538
  id: `link_grad_${e.id}`,
1513
1539
  stops: [[
@@ -1516,12 +1542,12 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1516
1542
  1
1517
1543
  ], [
1518
1544
  "100%",
1519
- E(d)(e.color, N.value.style.chart.layout.links.opacity),
1545
+ E(n)(e.color, N.value.style.chart.layout.links.opacity),
1520
1546
  1
1521
1547
  ]]
1522
- }, null, 8, ["id", "stops"])]), g("path", {
1523
- d: Fr(e),
1524
- stroke: E(d)(e.color, N.value.style.chart.layout.links.opacity),
1548
+ }, null, 8, ["id", "stops"])]), h("path", {
1549
+ d: Lr(e),
1550
+ stroke: E(n)(e.color, N.value.style.chart.layout.links.opacity),
1525
1551
  fill: `url(#link_grad_${e.id})`,
1526
1552
  "stroke-linecap": "round",
1527
1553
  "stroke-linejoin": "round",
@@ -1529,17 +1555,17 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1529
1555
  onClick: t[4] ||= () => {
1530
1556
  K(), $(), A.value = !1;
1531
1557
  }
1532
- }, null, 12, Qe)]))), 256)),
1533
- (x(!0), h(f, null, C(B.value, (e) => (x(), h("circle", {
1558
+ }, null, 12, et)]))), 256)),
1559
+ (x(!0), m(u, null, C(B.value, (e) => (x(), m("circle", {
1534
1560
  cx: e.x,
1535
1561
  cy: e.y,
1536
1562
  r: e.r,
1537
1563
  fill: N.value.style.chart.layout.roots.underlayerColor,
1538
1564
  stroke: "none",
1539
1565
  style: b(`cursor:${P.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`)
1540
- }, null, 12, $e))), 256)),
1541
- (x(!0), h(f, null, C(B.value, (e, t) => (x(), h("circle", {
1542
- "aria-label": Jr(e),
1566
+ }, null, 12, tt))), 256)),
1567
+ (x(!0), m(u, null, C(B.value, (e, t) => (x(), m("circle", {
1568
+ "aria-label": Zr(e),
1543
1569
  cx: e.x,
1544
1570
  cy: e.y,
1545
1571
  r: e.r,
@@ -1547,23 +1573,23 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1547
1573
  stroke: N.value.style.chart.layout.roots.stroke,
1548
1574
  "stroke-width": N.value.style.chart.layout.roots.strokeWidth,
1549
1575
  style: b(`cursor:${P.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`),
1550
- onClick: (t) => Cr(e)
1551
- }, null, 12, et))), 256)),
1552
- N.value.style.chart.layout.roots.labels.show ? (x(), h("g", tt, [(x(!0), h(f, null, C(B.value, (e, t) => (x(), h("text", {
1576
+ onClick: (t) => Tr(e)
1577
+ }, null, 12, nt))), 256)),
1578
+ N.value.style.chart.layout.roots.labels.show ? (x(), m("g", rt, [(x(!0), m(u, null, C(B.value, (e, t) => (x(), m("text", {
1553
1579
  x: e.x,
1554
1580
  y: e.y + N.value.style.chart.layout.roots.labels.fontSize / 2.6,
1555
1581
  "text-anchor": "middle",
1556
1582
  "font-size": N.value.style.chart.layout.roots.labels.fontSize,
1557
- fill: N.value.style.chart.layout.roots.labels.adaptColorToBackground ? E(se)(e.color) : N.value.style.chart.layout.roots.labels.color,
1583
+ fill: N.value.style.chart.layout.roots.labels.adaptColorToBackground ? E(ce)(e.color) : N.value.style.chart.layout.roots.labels.color,
1558
1584
  "font-weight": "bold",
1559
1585
  style: b(`cursor:${P.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`),
1560
- onClick: (t) => Cr(e)
1561
- }, T(E(u)(N.value.style.chart.layout.roots.labels.formatter, e.total, E(c)({
1586
+ onClick: (t) => Tr(e)
1587
+ }, T(E(l)(N.value.style.chart.layout.roots.labels.formatter, e.total, E(s)({
1562
1588
  p: N.value.style.chart.layout.roots.labels.prefix,
1563
1589
  v: e.total,
1564
1590
  s: N.value.style.chart.layout.roots.labels.suffix,
1565
1591
  r: N.value.style.chart.layout.roots.labels.roundingValue
1566
- }), { datapoint: e })), 13, nt))), 256)), (x(!0), h(f, null, C(B.value, (e) => (x(), h("g", null, [H.value && e.rootIndex === H.value.rootIndex || W.value && e.rootIndex === W.value.rootIndex || G.value && e.rootIndex === G.value.rootIndex ? (x(), h("g", rt, [g("text", {
1592
+ }), { datapoint: e })), 13, it))), 256)), (x(!0), m(u, null, C(B.value, (e) => (x(), m("g", null, [H.value && e.rootIndex === H.value.rootIndex || W.value && e.rootIndex === W.value.rootIndex || G.value && e.rootIndex === G.value.rootIndex ? (x(), m("g", at, [h("text", {
1567
1593
  x: e.x,
1568
1594
  y: e.y + e.r + 24,
1569
1595
  "text-anchor": "middle",
@@ -1573,8 +1599,8 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1573
1599
  onClick: t[5] ||= () => {
1574
1600
  K(), $(), A.value = !1;
1575
1601
  }
1576
- }, T(e.name), 9, it)])) : m("", !0)]))), 256))])) : m("", !0),
1577
- (x(!0), h(f, null, C(V.value, (e) => (x(), h("rect", {
1602
+ }, T(e.name), 9, ot)])) : p("", !0)]))), 256))])) : p("", !0),
1603
+ (x(!0), m(u, null, C(V.value, (e) => (x(), m("rect", {
1578
1604
  x: e.x1,
1579
1605
  y: e.y1,
1580
1606
  height: I.value.branchSize,
@@ -1583,10 +1609,10 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1583
1609
  rx: N.value.style.chart.layout.branches.borderRadius,
1584
1610
  stroke: "none",
1585
1611
  style: b(`opacity:${q(e) ? 1 : .05}`),
1586
- onClick: (t) => Sr(e)
1587
- }, null, 12, at))), 256)),
1588
- (x(!0), h(f, null, C(V.value, (e, t) => (x(), h("rect", {
1589
- "aria-label": Yr(e),
1612
+ onClick: (t) => wr(e)
1613
+ }, null, 12, st))), 256)),
1614
+ (x(!0), m(u, null, C(V.value, (e, t) => (x(), m("rect", {
1615
+ "aria-label": Qr(e),
1590
1616
  x: e.x1,
1591
1617
  y: e.y1,
1592
1618
  height: I.value.branchSize,
@@ -1596,43 +1622,43 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1596
1622
  stroke: N.value.style.chart.layout.branches.stroke,
1597
1623
  "stroke-width": N.value.style.chart.layout.branches.strokeWidth,
1598
1624
  style: b(`cursor:${P.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`),
1599
- onClick: (t) => Sr(e)
1600
- }, null, 12, ot))), 256)),
1601
- N.value.style.chart.layout.branches.labels.dataLabels.show ? (x(), h("g", st, [(x(!0), h(f, null, C(V.value, (e) => (x(), h("g", null, [e.proportionToRoot * 100 > N.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (x(), h("text", {
1625
+ onClick: (t) => wr(e)
1626
+ }, null, 12, ct))), 256)),
1627
+ N.value.style.chart.layout.branches.labels.dataLabels.show ? (x(), m("g", lt, [(x(!0), m(u, null, C(V.value, (e) => (x(), m("g", null, [e.proportionToRoot * 100 > N.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (x(), m("text", {
1602
1628
  key: 0,
1603
1629
  x: e.x1 + 6,
1604
1630
  y: e.y1 + I.value.branchSize / 1.5,
1605
1631
  "text-anchor": "start",
1606
- fill: E(se)(e.color),
1632
+ fill: E(ce)(e.color),
1607
1633
  "font-size": N.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1608
1634
  "font-weight": "bold",
1609
1635
  style: b(`cursor:${P.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`),
1610
- onClick: (t) => Sr(e)
1611
- }, T(E(u)(N.value.style.chart.layout.branches.labels.dataLabels.formatter, e.value, E(c)({
1636
+ onClick: (t) => wr(e)
1637
+ }, T(E(l)(N.value.style.chart.layout.branches.labels.dataLabels.formatter, e.value, E(s)({
1612
1638
  p: N.value.style.chart.layout.branches.labels.dataLabels.prefix,
1613
1639
  v: e.value,
1614
1640
  s: N.value.style.chart.layout.branches.labels.dataLabels.suffix,
1615
1641
  r: N.value.style.chart.layout.branches.labels.dataLabels.roundingValue
1616
- }), { datapoint: e })), 13, ct)) : m("", !0)]))), 256))])) : m("", !0),
1617
- (x(!0), h(f, null, C(V.value, (e, t) => (x(), h("g", null, [(x(!0), h(f, null, C(E(ee)({
1642
+ }), { datapoint: e })), 13, ut)) : p("", !0)]))), 256))])) : p("", !0),
1643
+ (x(!0), m(u, null, C(V.value, (e, t) => (x(), m("g", null, [(x(!0), m(u, null, C(E(ie)({
1618
1644
  series: e.breakdown,
1619
1645
  base: 1
1620
- }, e.x2 + 24 + N.value.style.chart.layout.nuts.offsetX, e.y1 + I.value.branchSize / 2, I.value.branchSize / 3, I.value.branchSize / 3), (t, n) => (x(), h("path", {
1646
+ }, e.x2 + 24 + N.value.style.chart.layout.nuts.offsetX, e.y1 + I.value.branchSize / 2, I.value.branchSize / 3, I.value.branchSize / 3), (t, n) => (x(), m("path", {
1621
1647
  d: t.path,
1622
1648
  stroke: t.color,
1623
1649
  "stroke-width": 10,
1624
1650
  fill: "none",
1625
1651
  style: b(`opacity:${q(e) ? 1 : .1}`)
1626
- }, null, 12, lt))), 256)), g("circle", {
1652
+ }, null, 12, dt))), 256)), h("circle", {
1627
1653
  "aria-label": `Open details for branch ${e.name} in root ${e.rootName}`,
1628
1654
  fill: N.value.style.chart.layout.nuts.useGradient ? `url(#nut_${k.value})` : "transparent",
1629
1655
  cx: e.x2 + 24 + N.value.style.chart.layout.nuts.offsetX,
1630
1656
  cy: e.y1 + I.value.branchSize / 2,
1631
1657
  r: I.value.branchSize / 2 + 2,
1632
- onClick: (t) => xr(e),
1658
+ onClick: (t) => Cr(e),
1633
1659
  style: b(`cursor:${P.value ? "pointer" : "default"};opacity:${q(e) ? 1 : .1}`)
1634
- }, null, 12, ut)]))), 256)),
1635
- N.value.style.chart.layout.branches.labels.show && !W.value ? (x(), h("g", dt, [(x(!0), h(f, null, C(V.value, (e) => (x(), h("text", {
1660
+ }, null, 12, ft)]))), 256)),
1661
+ N.value.style.chart.layout.branches.labels.show && !W.value ? (x(), m("g", pt, [(x(!0), m(u, null, C(V.value, (e) => (x(), m("text", {
1636
1662
  x: e.x2 + I.value.branchSize + 24 + N.value.style.chart.layout.nuts.offsetX,
1637
1663
  y: e.y1 + I.value.branchSize / 2 + 5,
1638
1664
  "font-size": N.value.style.chart.layout.branches.labels.fontSize,
@@ -1640,16 +1666,16 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1640
1666
  fill: N.value.style.chart.layout.branches.labels.color,
1641
1667
  "text-anchor": "start",
1642
1668
  style: b(`opacity:${q(e) ? 1 : .1}`)
1643
- }, T(e.name), 13, ft))), 256))])) : m("", !0),
1644
- g("line", {
1669
+ }, T(e.name), 13, mt))), 256))])) : p("", !0),
1670
+ h("line", {
1645
1671
  x1: 256 + I.value.padding.left,
1646
1672
  x2: 256 + I.value.padding.left,
1647
1673
  y1: L.value.top,
1648
1674
  y2: L.value.bottom,
1649
1675
  stroke: N.value.style.chart.layout.verticalSeparator.stroke,
1650
1676
  "stroke-width": N.value.style.chart.layout.verticalSeparator.strokeWidth
1651
- }, null, 8, pt),
1652
- !H.value && !W.value ? (x(), h("foreignObject", {
1677
+ }, null, 8, ht),
1678
+ !H.value && !W.value ? (x(), m("foreignObject", {
1653
1679
  key: 6,
1654
1680
  x: 0,
1655
1681
  y: L.value.bottom,
@@ -1660,58 +1686,58 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1660
1686
  onClick: t[6] ||= () => {
1661
1687
  K(), $(), A.value = !1;
1662
1688
  }
1663
- }, [g("div", ht, [g("div", gt, [(x(!0), h(f, null, C(B.value, (e) => (x(), h("div", { style: b(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${N.value.style.chart.layout.legend.fontSize}px;`) }, [(x(), h("svg", _t, [g("circle", {
1689
+ }, [h("div", _t, [h("div", vt, [(x(!0), m(u, null, C(B.value, (e) => (x(), m("div", { style: b(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${N.value.style.chart.layout.legend.fontSize}px;`) }, [(x(), m("svg", yt, [h("circle", {
1664
1690
  cx: "10",
1665
1691
  cy: "10",
1666
1692
  r: "10",
1667
1693
  fill: e.color,
1668
1694
  stroke: "none"
1669
- }, null, 8, vt)])), E(Jn) ? m("", !0) : (x(), h(f, { key: 0 }, [
1670
- g("span", null, T(e.name) + ":", 1),
1671
- g("b", null, T(E(u)(N.value.style.chart.layout.roots.labels.formatter, e.total, E(c)({
1695
+ }, null, 8, bt)])), E(Xn) ? p("", !0) : (x(), m(u, { key: 0 }, [
1696
+ h("span", null, T(e.name) + ":", 1),
1697
+ h("b", null, T(E(l)(N.value.style.chart.layout.roots.labels.formatter, e.total, E(s)({
1672
1698
  p: N.value.style.chart.layout.legend.prefix,
1673
1699
  v: e.total,
1674
1700
  s: N.value.style.chart.layout.legend.suffix,
1675
1701
  r: N.value.style.chart.layout.legend.roundingValue
1676
1702
  }), { datapoint: e })), 1),
1677
- De(" (" + T(E(c)({
1703
+ Ae(" (" + T(E(s)({
1678
1704
  v: e.total / R.value * 100,
1679
1705
  s: "%",
1680
1706
  r: N.value.style.chart.layout.legend.roundingPercentage
1681
1707
  })) + ") ", 1)
1682
- ], 64))], 4))), 256))])])], 8, mt)) : m("", !0),
1683
- H.value && U.value ? (x(), h("g", yt, [
1684
- (x(), h("foreignObject", {
1708
+ ], 64))], 4))), 256))])])], 8, gt)) : p("", !0),
1709
+ H.value && U.value ? (x(), m("g", xt, [
1710
+ (x(), m("foreignObject", {
1685
1711
  x: 0,
1686
- y: wr(),
1712
+ y: Er(),
1687
1713
  height: I.value.height - L.value.bottom,
1688
1714
  width: I.value.width,
1689
1715
  style: { overflow: "visible" },
1690
1716
  onClick: t[7] ||= () => {
1691
1717
  K(), $(), A.value = !1;
1692
1718
  }
1693
- }, [g("div", xt, [g("b", null, T(H.value.name), 1), g("div", St, [(x(!0), h(f, null, C(H.value.breakdown, (e, t) => (x(), h("div", { style: b(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${N.value.style.chart.layout.legend.fontSize}px;`) }, [(x(), h("svg", Ct, [g("circle", {
1719
+ }, [h("div", Ct, [h("b", null, T(H.value.name), 1), h("div", wt, [(x(!0), m(u, null, C(H.value.breakdown, (e, t) => (x(), m("div", { style: b(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${N.value.style.chart.layout.legend.fontSize}px;`) }, [(x(), m("svg", Tt, [h("circle", {
1694
1720
  cx: "10",
1695
1721
  cy: "10",
1696
1722
  r: "10",
1697
1723
  fill: e.color,
1698
1724
  stroke: "none"
1699
- }, null, 8, wt)])), g("span", null, [
1700
- De(T(e.name) + ": ", 1),
1701
- g("b", null, T(N.value.style.chart.layout.legend.prefix) + " " + T(e.value.toFixed(N.value.style.chart.layout.nuts.selected.labels.roundingValue)) + " " + T(N.value.style.chart.layout.legend.suffix), 1),
1702
- De(" (" + T((e.proportionToBranch * 100).toFixed(N.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "%)", 1)
1703
- ])], 4))), 256))])])], 8, bt)),
1704
- g("circle", {
1725
+ }, null, 8, Et)])), h("span", null, [
1726
+ Ae(T(e.name) + ": ", 1),
1727
+ h("b", null, T(N.value.style.chart.layout.legend.prefix) + " " + T(e.value.toFixed(N.value.style.chart.layout.nuts.selected.labels.roundingValue)) + " " + T(N.value.style.chart.layout.legend.suffix), 1),
1728
+ Ae(" (" + T((e.proportionToBranch * 100).toFixed(N.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "%)", 1)
1729
+ ])], 4))), 256))])])], 8, St)),
1730
+ h("circle", {
1705
1731
  cx: H.value.x2 + 24 + N.value.style.chart.layout.nuts.offsetX,
1706
1732
  cy: H.value.y1 + I.value.branchSize / 2,
1707
1733
  r: 256,
1708
1734
  fill: `url(#nut_underlayer_${k.value})`,
1709
1735
  onClick: J,
1710
1736
  class: v(N.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1711
- }, null, 10, Tt),
1712
- (x(!0), h(f, null, C(U.value, (e) => (x(), h("g", null, [Tr(e) ? (x(), h("path", {
1737
+ }, null, 10, Dt),
1738
+ (x(!0), m(u, null, C(U.value, (e) => (x(), m("g", null, [Dr(e) ? (x(), m("path", {
1713
1739
  key: 0,
1714
- d: E(ae)(e, {
1740
+ d: E(ne)(e, {
1715
1741
  x: H.value.x2 + 24 + N.value.style.chart.layout.nuts.offsetX,
1716
1742
  y: H.value.y1 + I.value.branchSize / 2
1717
1743
  }, 16, 16, !1, !1, 64),
@@ -1721,40 +1747,40 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1721
1747
  "stroke-linejoin": "round",
1722
1748
  fill: "none",
1723
1749
  class: v(N.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1724
- }, null, 10, Et)) : m("", !0)]))), 256)),
1725
- g("circle", {
1750
+ }, null, 10, Ot)) : p("", !0)]))), 256)),
1751
+ h("circle", {
1726
1752
  cx: H.value.x2 + 24 + N.value.style.chart.layout.nuts.offsetX,
1727
1753
  cy: H.value.y1 + I.value.branchSize / 2,
1728
1754
  r: 118,
1729
1755
  fill: N.value.style.chart.backgroundColor,
1730
1756
  onClick: J,
1731
1757
  class: v(N.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1732
- }, null, 10, Dt),
1733
- (x(!0), h(f, null, C(U.value, (e) => (x(), h("path", {
1758
+ }, null, 10, kt),
1759
+ (x(!0), m(u, null, C(U.value, (e) => (x(), m("path", {
1734
1760
  d: e.path,
1735
1761
  stroke: e.color,
1736
1762
  "stroke-width": 64,
1737
1763
  fill: "none",
1738
1764
  onClick: J,
1739
1765
  class: v(N.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1740
- }, null, 10, Ot))), 256)),
1741
- g("circle", {
1766
+ }, null, 10, At))), 256)),
1767
+ h("circle", {
1742
1768
  cx: H.value.x2 + 24 + N.value.style.chart.layout.nuts.offsetX,
1743
1769
  cy: H.value.y1 + I.value.branchSize / 2,
1744
1770
  r: 110,
1745
1771
  fill: `url(#nutpick_${k.value})`,
1746
1772
  onClick: J,
1747
1773
  class: v(N.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1748
- }, null, 10, kt),
1749
- g("circle", {
1774
+ }, null, 10, jt),
1775
+ h("circle", {
1750
1776
  cx: H.value.x2 + 24 + N.value.style.chart.layout.nuts.offsetX,
1751
1777
  cy: H.value.y1 + I.value.branchSize / 2,
1752
1778
  r: 64,
1753
1779
  fill: N.value.style.chart.backgroundColor,
1754
1780
  onClick: J,
1755
1781
  class: v(N.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1756
- }, null, 10, At),
1757
- g("text", {
1782
+ }, null, 10, Mt),
1783
+ h("text", {
1758
1784
  x: H.value.x2 + 24 + N.value.style.chart.layout.nuts.offsetX,
1759
1785
  y: H.value.y1 + 8,
1760
1786
  fill: N.value.style.chart.layout.nuts.selected.labels.core.total.color,
@@ -1763,8 +1789,8 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1763
1789
  "text-anchor": "middle",
1764
1790
  onClick: J,
1765
1791
  class: v(N.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1766
- }, T(N.value.translations.total), 11, jt),
1767
- g("text", {
1792
+ }, T(N.value.translations.total), 11, Nt),
1793
+ h("text", {
1768
1794
  x: H.value.x2 + 24 + N.value.style.chart.layout.nuts.offsetX,
1769
1795
  y: H.value.y1 + 36,
1770
1796
  fill: N.value.style.chart.layout.nuts.selected.labels.core.value.color,
@@ -1773,46 +1799,46 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1773
1799
  "text-anchor": "middle",
1774
1800
  onClick: J,
1775
1801
  class: v(N.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1776
- }, T(E(u)(N.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter, H.value.value, E(c)({
1802
+ }, T(E(l)(N.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter, H.value.value, E(s)({
1777
1803
  p: N.value.style.chart.layout.nuts.selected.labels.core.value.prefix,
1778
1804
  v: H.value.value,
1779
1805
  s: N.value.style.chart.layout.nuts.selected.labels.core.value.suffix,
1780
1806
  r: N.value.style.chart.layout.nuts.selected.roundingValue
1781
- }), { datapoint: H.value })), 11, Mt),
1782
- (x(!0), h(f, null, C(U.value, (e, t) => (x(), h("g", null, [Tr(e) ? (x(), h("text", {
1807
+ }), { datapoint: H.value })), 11, Pt),
1808
+ (x(!0), m(u, null, C(U.value, (e, t) => (x(), m("g", null, [Dr(e) ? (x(), m("text", {
1783
1809
  key: 0,
1784
- x: E(l)(e).x,
1785
- "text-anchor": E(l)(e).anchor,
1786
- y: E(re)(e) - N.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 6,
1810
+ x: E(c)(e).x,
1811
+ "text-anchor": E(c)(e).anchor,
1812
+ y: E(ae)(e) - N.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 6,
1787
1813
  fill: e.color,
1788
1814
  "font-size": N.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 2,
1789
1815
  style: b(`font-weight:${N.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1790
1816
  class: v(N.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1791
- }, " ⬤ ", 14, Nt)) : m("", !0), Tr(e) ? (x(), h("text", {
1817
+ }, " ⬤ ", 14, Ft)) : p("", !0), Dr(e) ? (x(), m("text", {
1792
1818
  key: 1,
1793
- x: E(l)(e, !0).x,
1794
- "text-anchor": E(l)(e, !0).anchor,
1795
- y: E(re)(e),
1819
+ x: E(c)(e, !0).x,
1820
+ "text-anchor": E(c)(e, !0).anchor,
1821
+ y: E(ae)(e),
1796
1822
  fill: N.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
1797
1823
  "font-size": N.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1798
1824
  style: b(`font-weight:${N.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1799
1825
  class: v(N.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1800
- }, T(H.value.breakdown[t].name), 15, Pt)) : m("", !0)]))), 256)),
1801
- (x(!0), h(f, null, C(U.value, (e, t) => (x(), h("g", null, [
1802
- Tr(e) ? (x(), h("text", {
1826
+ }, T(H.value.breakdown[t].name), 15, It)) : p("", !0)]))), 256)),
1827
+ (x(!0), m(u, null, C(U.value, (e, t) => (x(), m("g", null, [
1828
+ Dr(e) ? (x(), m("text", {
1803
1829
  key: 0,
1804
- x: E(l)(e, !0).x,
1805
- "text-anchor": E(l)(e).anchor,
1806
- y: E(re)(e) + N.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1830
+ x: E(c)(e, !0).x,
1831
+ "text-anchor": E(c)(e).anchor,
1832
+ y: E(ae)(e) + N.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1807
1833
  fill: N.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
1808
1834
  "font-size": N.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1809
1835
  style: b(`font-weight:${N.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1810
1836
  class: v(N.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1811
- }, T(E(c)({
1837
+ }, T(E(s)({
1812
1838
  v: H.value.breakdown[t].value / H.value.value * 100,
1813
1839
  s: "%",
1814
1840
  r: N.value.style.chart.layout.nuts.selected.labels.roundingPercentage
1815
- })) + " " + T(N.value.translations.of) + " " + T(H.value.breakdown[t].branchName) + " " + T(E(u)(N.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter, H.value.breakdown[t].value, E(c)({
1841
+ })) + " " + T(N.value.translations.of) + " " + T(H.value.breakdown[t].branchName) + " " + T(E(l)(N.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter, H.value.breakdown[t].value, E(s)({
1816
1842
  p: N.value.style.chart.layout.nuts.selected.labels.dataLabels.prefix,
1817
1843
  v: H.value.breakdown[t].value,
1818
1844
  s: N.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
@@ -1820,39 +1846,39 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1820
1846
  }), {
1821
1847
  datapoint: U.value,
1822
1848
  seriesIndex: t
1823
- })), 15, Ft)) : m("", !0),
1824
- Tr(e) ? (x(), h("text", {
1849
+ })), 15, Lt)) : p("", !0),
1850
+ Dr(e) ? (x(), m("text", {
1825
1851
  key: 1,
1826
- x: E(l)(e, !0).x,
1827
- "text-anchor": E(l)(e).anchor,
1828
- y: E(re)(e) + N.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 2,
1852
+ x: E(c)(e, !0).x,
1853
+ "text-anchor": E(c)(e).anchor,
1854
+ y: E(ae)(e) + N.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 2,
1829
1855
  fill: N.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
1830
1856
  "font-size": N.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1831
1857
  style: b(`font-weight:${N.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1832
1858
  class: v(N.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1833
- }, T(E(c)({
1859
+ }, T(E(s)({
1834
1860
  v: H.value.breakdown[t].proportionToRoot * 100,
1835
1861
  s: "%",
1836
1862
  r: N.value.style.chart.layout.nuts.selected.labels.roundingPercentage
1837
- })) + " " + T(N.value.translations.of) + " " + T(H.value.breakdown[t].rootName), 15, It)) : m("", !0),
1838
- Tr(e) ? (x(), h("text", {
1863
+ })) + " " + T(N.value.translations.of) + " " + T(H.value.breakdown[t].rootName), 15, Rt)) : p("", !0),
1864
+ Dr(e) ? (x(), m("text", {
1839
1865
  key: 2,
1840
- x: E(l)(e, !0).x,
1841
- "text-anchor": E(l)(e).anchor,
1842
- y: E(re)(e) + N.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 3,
1866
+ x: E(c)(e, !0).x,
1867
+ "text-anchor": E(c)(e).anchor,
1868
+ y: E(ae)(e) + N.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 3,
1843
1869
  fill: N.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
1844
1870
  "font-size": N.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1845
1871
  style: b(`font-weight:${N.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1846
1872
  class: v(N.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1847
- }, T(E(c)({
1873
+ }, T(E(s)({
1848
1874
  v: H.value.breakdown[t].proportionToTree * 100,
1849
1875
  s: "%",
1850
1876
  r: N.value.style.chart.layout.nuts.selected.labels.roundingPercentage
1851
- })) + " " + T(N.value.translations.proportionToTree), 15, Lt)) : m("", !0)
1877
+ })) + " " + T(N.value.translations.proportionToTree), 15, zt)) : p("", !0)
1852
1878
  ]))), 256))
1853
- ])) : m("", !0),
1854
- (x(!0), h(f, null, C(V.value, (e) => (x(), h("g", null, [
1855
- W.value && W.value.id === e.id && !H.value ? (x(), h("text", {
1879
+ ])) : p("", !0),
1880
+ (x(!0), m(u, null, C(V.value, (e) => (x(), m("g", null, [
1881
+ W.value && W.value.id === e.id && !H.value ? (x(), m("text", {
1856
1882
  key: 0,
1857
1883
  x: e.x1 + 6,
1858
1884
  y: e.y1 + I.value.branchSize + 24,
@@ -1863,13 +1889,13 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1863
1889
  onClick: t[8] ||= () => {
1864
1890
  K(), $(), A.value = !1;
1865
1891
  }
1866
- }, T(e.name) + ": " + T(E(u)(N.value.style.chart.layout.branches.labels.dataLabels.formatter, e.value, E(c)({
1892
+ }, T(e.name) + ": " + T(E(l)(N.value.style.chart.layout.branches.labels.dataLabels.formatter, e.value, E(s)({
1867
1893
  p: N.value.style.chart.layout.branches.labels.dataLabels.prefix,
1868
1894
  v: e.value,
1869
1895
  s: N.value.style.chart.layout.branches.labels.dataLabels.suffix,
1870
1896
  r: N.value.style.chart.layout.branches.labels.dataLabels.roundingValue
1871
- }), { datapoint: e })), 9, Rt)) : m("", !0),
1872
- W.value && W.value.id === e.id && !H.value ? (x(), h("text", {
1897
+ }), { datapoint: e })), 9, Bt)) : p("", !0),
1898
+ W.value && W.value.id === e.id && !H.value ? (x(), m("text", {
1873
1899
  key: 1,
1874
1900
  x: e.x1 + 6,
1875
1901
  y: e.y1 + I.value.branchSize + 48,
@@ -1879,12 +1905,12 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1879
1905
  onClick: t[9] ||= () => {
1880
1906
  K(), $(), A.value = !1;
1881
1907
  }
1882
- }, T(E(c)({
1908
+ }, T(E(s)({
1883
1909
  v: e.proportionToRoot * 100,
1884
1910
  s: "%",
1885
1911
  r: N.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
1886
- })) + " " + T(N.value.translations.of) + " " + T(e.rootName), 9, zt)) : m("", !0),
1887
- W.value && W.value.id === e.id && !H.value ? (x(), h("text", {
1912
+ })) + " " + T(N.value.translations.of) + " " + T(e.rootName), 9, Vt)) : p("", !0),
1913
+ W.value && W.value.id === e.id && !H.value ? (x(), m("text", {
1888
1914
  key: 2,
1889
1915
  x: e.x1 + 6,
1890
1916
  y: e.y1 + I.value.branchSize + 72,
@@ -1894,47 +1920,47 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1894
1920
  onClick: t[10] ||= () => {
1895
1921
  K(), $(), A.value = !1;
1896
1922
  }
1897
- }, T(E(c)({
1923
+ }, T(E(s)({
1898
1924
  v: e.value / R.value * 100,
1899
1925
  s: "%",
1900
1926
  r: N.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
1901
- })) + " " + T(N.value.translations.proportionToTree), 9, Bt)) : m("", !0)
1927
+ })) + " " + T(N.value.translations.proportionToTree), 9, Ht)) : p("", !0)
1902
1928
  ]))), 256)),
1903
1929
  w(e.$slots, "svg", { svg: {
1904
1930
  ...I.value,
1905
- isPrintingImg: E(tr) || E(nr) || Wn.value,
1906
- isPrintingSvg: Gn.value
1931
+ isPrintingImg: E(rr) || E(ir) || Kn.value,
1932
+ isPrintingSvg: qn.value
1907
1933
  } }, void 0, !0)
1908
- ], 46, We)) : m("", !0)]),
1909
- e.$slots.watermark ? (x(), h("div", Vt, [w(e.$slots, "watermark", y(_({ isPrinting: E(tr) || E(nr) || Wn.value || Gn.value })), void 0, !0)])) : m("", !0),
1934
+ ], 46, Ke)) : p("", !0)]),
1935
+ e.$slots.watermark ? (x(), m("div", Ut, [w(e.$slots, "watermark", y(_({ isPrinting: E(rr) || E(ir) || Kn.value || qn.value })), void 0, !0)])) : p("", !0),
1910
1936
  w(e.$slots, "legend", { legend: z.value }, void 0, !0),
1911
- e.$slots.source ? (x(), h("div", Ht, [w(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
1912
- zn.value && N.value.userOptions.buttons.table ? (x(), Te(Ne(Ir.value.component), Ae({ key: 6 }, Ir.value.props, {
1937
+ e.$slots.source ? (x(), m("div", Wt, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1938
+ Vn.value && N.value.userOptions.buttons.table ? (x(), f(Fe(Rr.value.component), Me({ key: 6 }, Rr.value.props, {
1913
1939
  ref_key: "tableUnit",
1914
- ref: Hn,
1915
- onClose: Rr
1916
- }), Ee({
1917
- content: D(() => [g("div", {
1940
+ ref: Wn,
1941
+ onClose: Br
1942
+ }), ke({
1943
+ content: D(() => [h("div", {
1918
1944
  ref_key: "tableContainer",
1919
- ref: sr,
1945
+ ref: lr,
1920
1946
  class: "vue-ui-chestnut-table",
1921
1947
  style: b(`${N.value.table.useDialog ? "" : "max-height: 300px;margin-top:24px"}`)
1922
- }, [g("div", { style: b(`${N.value.table.useDialog ? "" : "padding-top:36px;"}position: relative`) }, [N.value.table.useDialog ? m("", !0) : (x(), h("div", {
1948
+ }, [h("div", { style: b(`${N.value.table.useDialog ? "" : "padding-top:36px;"}position: relative`) }, [N.value.table.useDialog ? p("", !0) : (x(), m("div", {
1923
1949
  key: 0,
1924
1950
  role: "button",
1925
1951
  tabindex: "0",
1926
1952
  style: b(`width:32px; position: absolute; top: 0; left:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:${P.value ? "pointer" : "default"}; background:${N.value.table.th.backgroundColor};`),
1927
- onClick: Rr,
1928
- onKeypress: Le(Rr, ["enter"])
1929
- }, [Oe(E(An), {
1953
+ onClick: Br,
1954
+ onKeypress: ze(Br, ["enter"])
1955
+ }, [g(E(Mn), {
1930
1956
  name: "close",
1931
1957
  stroke: N.value.table.th.color,
1932
1958
  "stroke-width": 2
1933
- }, null, 8, ["stroke"])], 36)), g("div", {
1959
+ }, null, 8, ["stroke"])], 36)), h("div", {
1934
1960
  style: { width: "100%" },
1935
- class: v({ "vue-ui-responsive": E(Lr) })
1936
- }, [g("table", Ut, [
1937
- N.value.table.useDialog ? m("", !0) : (x(), h("caption", {
1961
+ class: v({ "vue-ui-responsive": E(zr) })
1962
+ }, [h("table", Gt, [
1963
+ N.value.table.useDialog ? p("", !0) : (x(), m("caption", {
1938
1964
  key: 0,
1939
1965
  style: b({
1940
1966
  backgroundColor: N.value.table.th.backgroundColor,
@@ -1942,12 +1968,12 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1942
1968
  outline: N.value.table.th.outline
1943
1969
  }),
1944
1970
  class: "vue-ui-data-table__caption"
1945
- }, [De(T(N.value.style.chart.layout.title.text) + " ", 1), N.value.style.chart.layout.title.subtitle.text ? (x(), h("span", Wt, T(N.value.style.chart.layout.title.subtitle.text), 1)) : m("", !0)], 4)),
1946
- g("thead", null, [g("tr", {
1971
+ }, [Ae(T(N.value.style.chart.layout.title.text) + " ", 1), N.value.style.chart.layout.title.subtitle.text ? (x(), m("span", Kt, T(N.value.style.chart.layout.title.subtitle.text), 1)) : p("", !0)], 4)),
1972
+ h("thead", null, [h("tr", {
1947
1973
  role: "row",
1948
1974
  style: b(`background:${N.value.table.th.backgroundColor};color:${N.value.table.th.color}`)
1949
- }, [(x(!0), h(f, null, C(Y.value.head, (e) => (x(), h("th", { style: b(`outline:${N.value.table.th.outline}`) }, T(e), 5))), 256))], 4)]),
1950
- g("tbody", null, [(x(!0), h(f, null, C(Y.value.body, (e, t) => (x(), h("tr", {
1975
+ }, [(x(!0), m(u, null, C(Y.value.head, (e) => (x(), m("th", { style: b(`outline:${N.value.table.th.outline}`) }, T(e), 5))), 256))], 4)]),
1976
+ h("tbody", null, [(x(!0), m(u, null, C(Y.value.body, (e, t) => (x(), m("tr", {
1951
1977
  class: v({
1952
1978
  "vue-ui-data-table__tbody__row": !0,
1953
1979
  "vue-ui-data-table__tbody__row-even": t % 2 == 0,
@@ -1955,88 +1981,88 @@ var Re = /* @__PURE__ */ e({ default: () => An }), ze = ["id"], Be = ["id"], Ve
1955
1981
  }),
1956
1982
  style: b(`background:${N.value.table.td.backgroundColor};color:${N.value.table.td.color}`)
1957
1983
  }, [
1958
- g("td", {
1984
+ h("td", {
1959
1985
  class: "vue-ui-data-table__tbody__td",
1960
1986
  style: b(`outline:${N.value.table.td.outline}`),
1961
1987
  "data-cell": Y.value.head[0]
1962
- }, [g("div", Kt, [Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? (x(), h("span", qt)) : (x(), h("span", Jt, T(e.rootName), 1))])], 12, Gt),
1963
- g("td", {
1988
+ }, [h("div", Jt, [Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? (x(), m("span", Yt)) : (x(), m("span", Xt, T(e.rootName), 1))])], 12, qt),
1989
+ h("td", {
1964
1990
  class: "vue-ui-data-table__tbody__td",
1965
1991
  style: b(`outline:${N.value.table.td.outline}`),
1966
1992
  "data-cell": Y.value.head[1]
1967
- }, [g("div", Xt, [Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? (x(), h("span", Zt)) : (x(), h("span", Qt, T(e.rootValue.toFixed(N.value.table.td.roundingValue)), 1))])], 12, Yt),
1968
- g("td", {
1993
+ }, [h("div", Qt, [Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? (x(), m("span", $t)) : (x(), m("span", en, T(e.rootValue.toFixed(N.value.table.td.roundingValue)), 1))])], 12, Zt),
1994
+ h("td", {
1969
1995
  class: "vue-ui-data-table__tbody__td",
1970
1996
  style: b(`outline:${N.value.table.td.outline}`),
1971
1997
  "data-cell": Y.value.head[2]
1972
- }, [g("div", en, [Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? (x(), h("span", tn)) : (x(), h("span", nn, T((e.rootToTotal * 100).toFixed(N.value.table.td.roundingPercentage)) + "% ", 1))])], 12, $t),
1973
- g("td", {
1998
+ }, [h("div", nn, [Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? (x(), m("span", rn)) : (x(), m("span", an, T((e.rootToTotal * 100).toFixed(N.value.table.td.roundingPercentage)) + "% ", 1))])], 12, tn),
1999
+ h("td", {
1974
2000
  class: "vue-ui-data-table__tbody__td",
1975
2001
  style: b(`outline:${N.value.table.td.outline}`),
1976
2002
  "data-cell": Y.value.head[3]
1977
- }, [g("div", an, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (x(), h("span", on)) : (x(), h("span", sn, T(e.branchName), 1))])], 12, rn),
1978
- g("td", {
2003
+ }, [h("div", sn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (x(), m("span", cn)) : (x(), m("span", ln, T(e.branchName), 1))])], 12, on),
2004
+ h("td", {
1979
2005
  class: "vue-ui-data-table__tbody__td",
1980
2006
  style: b(`outline:${N.value.table.td.outline}`),
1981
2007
  "data-cell": Y.value.head[4]
1982
- }, [g("div", ln, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (x(), h("span", un)) : (x(), h("span", dn, T(e.branchValue.toFixed(N.value.table.td.roundingValue)), 1))])], 12, cn),
1983
- g("td", {
2008
+ }, [h("div", dn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (x(), m("span", fn)) : (x(), m("span", pn, T(e.branchValue.toFixed(N.value.table.td.roundingValue)), 1))])], 12, un),
2009
+ h("td", {
1984
2010
  class: "vue-ui-data-table__tbody__td",
1985
2011
  style: b(`outline:${N.value.table.td.outline}`),
1986
2012
  "data-cell": Y.value.head[5]
1987
- }, [g("div", pn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (x(), h("span", mn)) : (x(), h("span", hn, T((e.branchToRoot * 100).toFixed(N.value.table.td.roundingPercentage)) + "% ", 1))])], 12, fn),
1988
- g("td", {
2013
+ }, [h("div", hn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (x(), m("span", gn)) : (x(), m("span", _n, T((e.branchToRoot * 100).toFixed(N.value.table.td.roundingPercentage)) + "% ", 1))])], 12, mn),
2014
+ h("td", {
1989
2015
  class: "vue-ui-data-table__tbody__td",
1990
2016
  style: b(`outline:${N.value.table.td.outline}`),
1991
2017
  "data-cell": Y.value.head[6]
1992
- }, [g("div", _n, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (x(), h("span", vn)) : (x(), h("span", yn, T((e.branchToTotal * 100).toFixed(N.value.table.td.roundingPercentage)) + "% ", 1))])], 12, gn),
1993
- g("td", {
2018
+ }, [h("div", yn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (x(), m("span", bn)) : (x(), m("span", xn, T((e.branchToTotal * 100).toFixed(N.value.table.td.roundingPercentage)) + "% ", 1))])], 12, vn),
2019
+ h("td", {
1994
2020
  class: "vue-ui-data-table__tbody__td",
1995
2021
  style: b(`outline:${N.value.table.td.outline}`),
1996
2022
  "data-cell": Y.value.head[7]
1997
- }, [g("div", xn, T(e.nutName), 1)], 12, bn),
1998
- g("td", {
2023
+ }, [h("div", Cn, T(e.nutName), 1)], 12, Sn),
2024
+ h("td", {
1999
2025
  class: "vue-ui-data-table__tbody__td",
2000
2026
  style: b(`outline:${N.value.table.td.outline}`),
2001
2027
  "data-cell": Y.value.head[8]
2002
- }, [g("div", Cn, T(e.nutValue.toFixed(N.value.table.td.roundingValue)), 1)], 12, Sn),
2003
- g("td", {
2028
+ }, [h("div", Tn, T(e.nutValue.toFixed(N.value.table.td.roundingValue)), 1)], 12, wn),
2029
+ h("td", {
2004
2030
  class: "vue-ui-data-table__tbody__td",
2005
2031
  style: b(`outline:${N.value.table.td.outline}`),
2006
2032
  "data-cell": Y.value.head[9]
2007
- }, [g("div", Tn, T((e.nutToBranch * 100).toFixed(N.value.table.td.roundingPercentage)) + "% ", 1)], 12, wn),
2008
- g("td", {
2033
+ }, [h("div", Dn, T((e.nutToBranch * 100).toFixed(N.value.table.td.roundingPercentage)) + "% ", 1)], 12, En),
2034
+ h("td", {
2009
2035
  class: "vue-ui-data-table__tbody__td",
2010
2036
  style: b(`outline:${N.value.table.td.outline}`),
2011
2037
  "data-cell": Y.value.head[10]
2012
- }, [g("div", Dn, T((e.nutToRoot * 100).toFixed(N.value.table.td.roundingPercentage)) + "% ", 1)], 12, En),
2013
- g("td", {
2038
+ }, [h("div", kn, T((e.nutToRoot * 100).toFixed(N.value.table.td.roundingPercentage)) + "% ", 1)], 12, On),
2039
+ h("td", {
2014
2040
  class: "vue-ui-data-table__tbody__td",
2015
2041
  style: b(`outline:${N.value.table.td.outline}`),
2016
2042
  "data-cell": Y.value.head[11]
2017
- }, [g("div", kn, T((e.nutToTotal * 100).toFixed(N.value.table.td.roundingPercentage)) + "% ", 1)], 12, On)
2043
+ }, [h("div", jn, T((e.nutToTotal * 100).toFixed(N.value.table.td.roundingPercentage)) + "% ", 1)], 12, An)
2018
2044
  ], 6))), 256))])
2019
2045
  ])], 2)], 4)], 4)]),
2020
2046
  _: 2
2021
2047
  }, [N.value.table.useDialog ? {
2022
2048
  name: "title",
2023
- fn: D(() => [De(T(Ir.value.title), 1)]),
2049
+ fn: D(() => [Ae(T(Rr.value.title), 1)]),
2024
2050
  key: "0"
2025
2051
  } : void 0, N.value.table.useDialog ? {
2026
2052
  name: "actions",
2027
- fn: D(() => [g("button", {
2053
+ fn: D(() => [h("button", {
2028
2054
  tabindex: "0",
2029
2055
  class: "vue-ui-user-options-button",
2030
- onClick: t[11] ||= (e) => Or(N.value.userOptions.callbacks.csv)
2031
- }, [Oe(E(An), {
2056
+ onClick: t[11] ||= (e) => Ar(N.value.userOptions.callbacks.csv)
2057
+ }, [g(E(Mn), {
2032
2058
  name: "fileCsv",
2033
- stroke: Ir.value.props.color
2059
+ stroke: Rr.value.props.color
2034
2060
  }, null, 8, ["stroke"])])]),
2035
2061
  key: "1"
2036
- } : void 0]), 1040)) : m("", !0),
2037
- w(e.$slots, "skeleton", {}, () => [E(Jn) ? (x(), Te(pe, { key: 0 })) : m("", !0)], !0)
2038
- ], 46, ze));
2062
+ } : void 0]), 1040)) : p("", !0),
2063
+ w(e.$slots, "skeleton", {}, () => [E(Xn) ? (x(), f(_e, { key: 0 })) : p("", !0)], !0)
2064
+ ], 46, Ve));
2039
2065
  }
2040
- }, [["__scopeId", "data-v-b3384a62"]]);
2066
+ }, [["__scopeId", "data-v-d912346e"]]);
2041
2067
  //#endregion
2042
- export { Re as n, An as t };
2068
+ export { Be as n, Mn as t };