vue-data-ui 3.22.7 → 3.22.9

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 (206) hide show
  1. package/dist/{Arrow-DaGI9u-b.js → Arrow-DdymhUfY.js} +1 -1
  2. package/dist/{BaseDraggableDialog-1wwwdwV2.js → BaseDraggableDialog-Av7Uxq5V.js} +2 -2
  3. package/dist/BaseIcon-UdRAvP2h.js +483 -0
  4. package/dist/{BaseLegendToggle-CHnlKalt.js → BaseLegendToggle-DWtet-Hh.js} +1 -1
  5. package/dist/{BaseZoomControls-C9bdZSCj.js → BaseZoomControls-BY2KLqs6.js} +2 -2
  6. package/dist/{ColorPicker-TB3KhY3j.js → ColorPicker-DR_ummtM.js} +2 -2
  7. package/dist/{DataTable-CVF7DoZn.js → DataTable-BxpTMgfK.js} +2 -2
  8. package/dist/DefGrad-DVBqDjhO.js +48 -0
  9. package/dist/{Legend-kAr7Vqqu.js → Legend-ROt6ugzW.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-CEiv7_gM.js → NonSvgPenAndPaper-B6EG_Sga.js} +3 -3
  11. package/dist/{PackageVersion-Dse0n05o.js → PackageVersion-D__dRVRA.js} +1 -1
  12. package/dist/{PenAndPaper-gaV1QPpP.js → PenAndPaper-DsXi7GJ-.js} +3 -3
  13. package/dist/{Shape-CiQIxyyT.js → Shape-UpH0a4Ur.js} +3 -3
  14. package/dist/{Slicer-6FOtg9py.js → Slicer-CW_XPIKL.js} +369 -364
  15. package/dist/{SlicerPreview-DUywypFu.js → SlicerPreview-CTz41lOu.js} +542 -537
  16. package/dist/{SparkTooltip-B-qsPj68.js → SparkTooltip-BTLN-Kex.js} +6 -6
  17. package/dist/{Title-PiTKr6sp.js → Title-CcNiYzEo.js} +1 -1
  18. package/dist/{Tooltip-B8yYfISA.js → Tooltip-CxOrWlFy.js} +1 -1
  19. package/dist/{UserOptions-BL9VlHop.js → UserOptions-trvJ26nz.js} +2 -2
  20. package/dist/components/arrow.js +1 -1
  21. package/dist/components/vue-ui-3d-bar.js +1 -1
  22. package/dist/components/vue-ui-accordion.js +1 -1
  23. package/dist/components/vue-ui-age-pyramid.js +1 -1
  24. package/dist/components/vue-ui-annotator.js +1 -1
  25. package/dist/components/vue-ui-bullet.js +1 -1
  26. package/dist/components/vue-ui-bump.js +1 -1
  27. package/dist/components/vue-ui-candlestick.js +1 -1
  28. package/dist/components/vue-ui-carousel-table.js +1 -1
  29. package/dist/components/vue-ui-chestnut.js +1 -1
  30. package/dist/components/vue-ui-chord.js +1 -1
  31. package/dist/components/vue-ui-circle-pack.js +1 -1
  32. package/dist/components/vue-ui-cursor.js +1 -1
  33. package/dist/components/vue-ui-dag.js +1 -1
  34. package/dist/components/vue-ui-dashboard.js +1 -1
  35. package/dist/components/vue-ui-digits.js +1 -1
  36. package/dist/components/vue-ui-donut-evolution.js +1 -1
  37. package/dist/components/vue-ui-donut.js +1 -1
  38. package/dist/components/vue-ui-dumbbell.js +1 -1
  39. package/dist/components/vue-ui-flow.js +1 -1
  40. package/dist/components/vue-ui-funnel.js +1 -1
  41. package/dist/components/vue-ui-galaxy.js +1 -1
  42. package/dist/components/vue-ui-gauge.js +1 -1
  43. package/dist/components/vue-ui-geo.js +1 -1
  44. package/dist/components/vue-ui-gizmo.js +1 -1
  45. package/dist/components/vue-ui-heatmap.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-mini-loader.js +1 -1
  51. package/dist/components/vue-ui-molecule.js +1 -1
  52. package/dist/components/vue-ui-mood-radar.js +1 -1
  53. package/dist/components/vue-ui-nested-donuts.js +1 -1
  54. package/dist/components/vue-ui-onion.js +1 -1
  55. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  56. package/dist/components/vue-ui-quadrant.js +1 -1
  57. package/dist/components/vue-ui-quick-chart.js +1 -1
  58. package/dist/components/vue-ui-radar.js +1 -1
  59. package/dist/components/vue-ui-rating.js +1 -1
  60. package/dist/components/vue-ui-relation-circle.js +1 -1
  61. package/dist/components/vue-ui-ridgeline.js +1 -1
  62. package/dist/components/vue-ui-rings.js +1 -1
  63. package/dist/components/vue-ui-scatter.js +1 -1
  64. package/dist/components/vue-ui-skeleton.js +1 -1
  65. package/dist/components/vue-ui-smiley.js +1 -1
  66. package/dist/components/vue-ui-spark-trend.js +1 -1
  67. package/dist/components/vue-ui-sparkbar.js +1 -1
  68. package/dist/components/vue-ui-sparkgauge.js +1 -1
  69. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  70. package/dist/components/vue-ui-sparkline.js +1 -1
  71. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  72. package/dist/components/vue-ui-stackbar.js +1 -1
  73. package/dist/components/vue-ui-stackline.js +1 -1
  74. package/dist/components/vue-ui-strip-plot.js +1 -1
  75. package/dist/components/vue-ui-table-heatmap.js +1 -1
  76. package/dist/components/vue-ui-table-sparkline.js +1 -1
  77. package/dist/components/vue-ui-table.js +1 -1
  78. package/dist/components/vue-ui-thermometer.js +1 -1
  79. package/dist/components/vue-ui-timer.js +1 -1
  80. package/dist/components/vue-ui-tiremarks.js +1 -1
  81. package/dist/components/vue-ui-treemap.js +1 -1
  82. package/dist/components/vue-ui-vertical-bar.js +1 -1
  83. package/dist/components/vue-ui-waffle.js +1 -1
  84. package/dist/components/vue-ui-wheel.js +1 -1
  85. package/dist/components/vue-ui-word-cloud.js +1 -1
  86. package/dist/components/vue-ui-world.js +1 -1
  87. package/dist/components/vue-ui-xy-canvas.js +1 -1
  88. package/dist/components/vue-ui-xy.js +1 -1
  89. package/dist/{dom-to-png-BZjYWNEg.js → dom-to-png-BbwhsRIr.js} +1 -1
  90. package/dist/exposedLib-VXFp3Z2c.js +19 -0
  91. package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
  92. package/dist/{img-B_abIg0o.js → img-DnP3eXuv.js} +1 -1
  93. package/dist/{labelUtils-CTDRZdP1.js → labelUtils-DBEh078l.js} +1 -1
  94. package/dist/{lib-EAmk-PgA.js → lib-JqW18y5I.js} +36 -30
  95. package/dist/{package-DeMimPej.js → package-ByOT60IK.js} +1 -1
  96. package/dist/{pdf-B6qrdEqB.js → pdf-hj3gzrE7.js} +1 -1
  97. package/dist/{render-common-DMai0gHB.js → render-common-D18VrP0h.js} +20 -20
  98. package/dist/ssr/vue-ui-donut.js +1 -1
  99. package/dist/ssr/vue-ui-xy.js +1 -1
  100. package/dist/ssr.js +2 -2
  101. package/dist/style.css +1 -1
  102. package/dist/types/utils.d.ts +18 -0
  103. package/dist/{useAutoSizeLabelsInsideViewbox-CyOGrdD_.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
  104. package/dist/{useNestedProp-D8XqxgOU.js → useNestedProp-DIuuzG1r.js} +1 -1
  105. package/dist/{usePrinter-DnGzpp6Q.js → usePrinter-CqqHmnBI.js} +2 -2
  106. package/dist/utils.js +24 -24
  107. package/dist/{vue-data-ui-D6qVWloL.js → vue-data-ui-ub3fCh6P.js} +68 -68
  108. package/dist/vue-data-ui.js +77 -77
  109. package/dist/vue-ui-3d-bar-taPI41_I.js +1825 -0
  110. package/dist/{vue-ui-accordion-Dzz8XhX3.js → vue-ui-accordion-CjAGqEJg.js} +3 -3
  111. package/dist/vue-ui-age-pyramid-jvQZbF8E.js +1247 -0
  112. package/dist/{vue-ui-annotator-DXZumSP8.js → vue-ui-annotator-BIucnT0L.js} +67 -67
  113. package/dist/vue-ui-bullet-CIATzlsk.js +710 -0
  114. package/dist/vue-ui-bump-D8MxltQE.js +1249 -0
  115. package/dist/vue-ui-candlestick-DULUMU-Q.js +1840 -0
  116. package/dist/vue-ui-carousel-table-BSmdexG7.js +455 -0
  117. package/dist/{vue-ui-chestnut-C3IbAdkQ.js → vue-ui-chestnut-BIh1nQ7q.js} +585 -553
  118. package/dist/vue-ui-chord-DL1M7cgL.js +1391 -0
  119. package/dist/{vue-ui-circle-pack-Cq4lkmee.js → vue-ui-circle-pack-C1Pgq6si.js} +424 -418
  120. package/dist/{vue-ui-cursor-DLJcFwRZ.js → vue-ui-cursor-d2uLAKTQ.js} +61 -61
  121. package/dist/{vue-ui-dag-DemsIecS.js → vue-ui-dag-CVh9FpZr.js} +43 -43
  122. package/dist/{vue-ui-dashboard-DWHD_wNN.js → vue-ui-dashboard-BH0N3ebj.js} +69 -69
  123. package/dist/{vue-ui-digits-sIKc85vS.js → vue-ui-digits-R6wi3J-Y.js} +3 -3
  124. package/dist/{vue-ui-donut-Dp6GW0dw.js → vue-ui-donut-BWDeVzLc.js} +201 -201
  125. package/dist/{vue-ui-donut-CLheJPcO.js → vue-ui-donut-BoZdciGh.js} +825 -816
  126. package/dist/{vue-ui-donut-evolution-zmRPpJLj.js → vue-ui-donut-evolution-CpC9EMro.js} +486 -474
  127. package/dist/{vue-ui-dumbbell-bSbgHd0U.js → vue-ui-dumbbell-DGA5Bfnl.js} +520 -486
  128. package/dist/{vue-ui-flow-q_M7O1BK.js → vue-ui-flow-CNczKwTh.js} +119 -119
  129. package/dist/vue-ui-funnel-CaD2tZCT.js +782 -0
  130. package/dist/{vue-ui-galaxy-DCCWmIyH.js → vue-ui-galaxy-v3cTbUiM.js} +342 -342
  131. package/dist/vue-ui-gauge-DxvMjfoc.js +926 -0
  132. package/dist/{vue-ui-geo-CM59rpnj.js → vue-ui-geo-BgmLkZZ2.js} +14 -14
  133. package/dist/{vue-ui-gizmo-D2RL6IVp.js → vue-ui-gizmo-n1kmcGeE.js} +66 -61
  134. package/dist/{vue-ui-heatmap-BX6PQxML.js → vue-ui-heatmap-dSTh8ah_.js} +163 -163
  135. package/dist/{vue-ui-history-plot-DaHAeQph.js → vue-ui-history-plot-N8BqMFVU.js} +572 -561
  136. package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +1689 -0
  137. package/dist/{vue-ui-kpi-DLbP7lJR.js → vue-ui-kpi-BKrUk9o8.js} +4 -4
  138. package/dist/{vue-ui-mini-loader-DPHzHsM7.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
  139. package/dist/vue-ui-molecule--kK1JfnP.js +931 -0
  140. package/dist/{vue-ui-mood-radar-CCWaPr0P.js → vue-ui-mood-radar-CpBRHQo_.js} +246 -241
  141. package/dist/vue-ui-nested-donuts-8Ehwcuns.js +1493 -0
  142. package/dist/vue-ui-onion-Cf6JiYTH.js +1200 -0
  143. package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +1416 -0
  144. package/dist/{vue-ui-quadrant-T_UmRAAy.js → vue-ui-quadrant-CxU0jiOm.js} +410 -404
  145. package/dist/vue-ui-quick-chart-BO98uEPl.js +2469 -0
  146. package/dist/{vue-ui-radar-CHjeGOMC.js → vue-ui-radar-eH2Qih4_.js} +323 -317
  147. package/dist/{vue-ui-rating-Bek8Tgr-.js → vue-ui-rating-CN-ZiAES.js} +137 -128
  148. package/dist/{vue-ui-relation-circle-DRZGQ_UX.js → vue-ui-relation-circle-BIcP-aAt.js} +167 -167
  149. package/dist/{vue-ui-ridgeline-DIODGiu8.js → vue-ui-ridgeline-ChXHzEJw.js} +538 -532
  150. package/dist/vue-ui-rings-J990vNbX.js +1252 -0
  151. package/dist/vue-ui-scatter-BeJB0EKg.js +2422 -0
  152. package/dist/{vue-ui-skeleton-Fmue6DAG.js → vue-ui-skeleton-DC2bZ0nk.js} +385 -382
  153. package/dist/{vue-ui-smiley-BVMI5vUy.js → vue-ui-smiley-Dyyu1je3.js} +119 -106
  154. package/dist/vue-ui-spark-trend-CpDX85H3.js +443 -0
  155. package/dist/vue-ui-sparkbar-DhIo1qsW.js +398 -0
  156. package/dist/{vue-ui-sparkgauge-DDNNBIdf.js → vue-ui-sparkgauge-D0Fo3Hts.js} +79 -74
  157. package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +576 -0
  158. package/dist/{vue-ui-sparkline-BNxdO-Bx.js → vue-ui-sparkline-ApivEMBP.js} +397 -384
  159. package/dist/{vue-ui-sparkstackbar-BfF5-Wg2.js → vue-ui-sparkstackbar-DsKQJx_n.js} +207 -195
  160. package/dist/{vue-ui-stackbar-B-2Me3d-.js → vue-ui-stackbar-Ds4hXATH.js} +595 -588
  161. package/dist/vue-ui-stackline-DJbcVvmN.js +2425 -0
  162. package/dist/vue-ui-strip-plot-C3ZHf4bD.js +1736 -0
  163. package/dist/{vue-ui-table-heatmap-D-Qrm3oX.js → vue-ui-table-heatmap-CNXNXXBU.js} +14 -14
  164. package/dist/vue-ui-table-sparkline-B9JJ4pFF.js +712 -0
  165. package/dist/{vue-ui-table-Dr1dK3d_.js → vue-ui-table-uudidrYt.js} +62 -62
  166. package/dist/vue-ui-thermometer-Bvw3oQb3.js +770 -0
  167. package/dist/{vue-ui-timer-B5bkNNHS.js → vue-ui-timer-5NAWw5BN.js} +94 -89
  168. package/dist/{vue-ui-tiremarks-Bn8b-ZSz.js → vue-ui-tiremarks-Caz_g1c5.js} +13 -13
  169. package/dist/vue-ui-treemap-F9upPyOI.js +1718 -0
  170. package/dist/vue-ui-waffle-Bk9AsrPp.js +1368 -0
  171. package/dist/{vue-ui-wheel-CeVwXtEX.js → vue-ui-wheel-DD6Q39BA.js} +130 -130
  172. package/dist/{vue-ui-word-cloud-D81-qJLw.js → vue-ui-word-cloud-BZLT5svo.js} +27 -27
  173. package/dist/vue-ui-world-DbEJN5NA.js +3027 -0
  174. package/dist/{vue-ui-xy-C2p9H2IX.js → vue-ui-xy-BYMAITk_.js} +1655 -1629
  175. package/dist/{vue-ui-xy-OhwS0kcZ.js → vue-ui-xy-Cn9Q8YPr.js} +116 -116
  176. package/dist/{vue-ui-xy-canvas-DLKDdH35.js → vue-ui-xy-canvas-Dcm2ftwm.js} +58 -58
  177. package/package.json +1 -1
  178. package/dist/BaseIcon-_-BX7be3.js +0 -502
  179. package/dist/exposedLib-Be0ifkti.js +0 -19
  180. package/dist/vue-ui-3d-bar-CjNuWXoA.js +0 -1757
  181. package/dist/vue-ui-age-pyramid-CC7Dxli-.js +0 -1238
  182. package/dist/vue-ui-bullet-Dde6FhbR.js +0 -710
  183. package/dist/vue-ui-bump-C5pni1JV.js +0 -1249
  184. package/dist/vue-ui-candlestick-Ctw65O4_.js +0 -1829
  185. package/dist/vue-ui-carousel-table-BEUvhUH0.js +0 -455
  186. package/dist/vue-ui-chord-5eCWG4br.js +0 -1391
  187. package/dist/vue-ui-funnel-BEZUEuuh.js +0 -777
  188. package/dist/vue-ui-gauge-B1ljgfE1.js +0 -920
  189. package/dist/vue-ui-horizontal-bar-CTW6l4n3.js +0 -1683
  190. package/dist/vue-ui-molecule-aD0SMTiX.js +0 -925
  191. package/dist/vue-ui-nested-donuts--BCPWkl7.js +0 -1487
  192. package/dist/vue-ui-onion-s4iMCGAP.js +0 -1200
  193. package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +0 -1416
  194. package/dist/vue-ui-quick-chart-D1OWBgQJ.js +0 -2469
  195. package/dist/vue-ui-rings-CcdUSXGG.js +0 -1246
  196. package/dist/vue-ui-scatter-CixnqLoi.js +0 -2413
  197. package/dist/vue-ui-spark-trend-DfZeLiWA.js +0 -438
  198. package/dist/vue-ui-sparkbar-Cl1e49sw.js +0 -393
  199. package/dist/vue-ui-sparkhistogram-ny_liYa6.js +0 -560
  200. package/dist/vue-ui-stackline-CdvVPQUM.js +0 -2419
  201. package/dist/vue-ui-strip-plot-CRXPXA5V.js +0 -1729
  202. package/dist/vue-ui-table-sparkline-C31Q32My.js +0 -712
  203. package/dist/vue-ui-thermometer-BUrtIfuo.js +0 -763
  204. package/dist/vue-ui-treemap-LMWiicop.js +0 -1713
  205. package/dist/vue-ui-waffle-B_L3gkky.js +0 -1362
  206. package/dist/vue-ui-world-B7npRmTa.js +0 -14264
@@ -1,66 +1,67 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Et as t, Gt as n, Lt as r, Ot as i, Q as a, Rt as o, S as ee, Ut as te, W as ne, X as re, b as ie, d as ae, i as s, jt as c, p as oe, q as l, r as se, t as ce, u, ut as le, w as ue } from "./lib-EAmk-PgA.js";
3
- import { t as de } from "./useConfig-DYM3f6EI.js";
4
- import { t as fe } from "./usePrinter-DnGzpp6Q.js";
5
- import { n as pe, t as me } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as he } from "./useSvgExport-SVIsDot8.js";
7
- import { t as ge } from "./useNestedProp-D8XqxgOU.js";
8
- import { t as _e } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as ve } from "./img-B_abIg0o.js";
10
- import { t as ye } from "./_plugin-vue_export-helper-B3ysoDQm.js";
11
- import { t as be } from "./A11yDataTable-DdRsVULz.js";
12
- import { t as xe } from "./useUserOptionState-DK-_1ddE.js";
13
- import { t as Se } from "./useChartAccessibility-DYqac8yF.js";
14
- import { t as Ce } from "./useTableResponsive-B24Uwt2E.js";
15
- import { t as we } from "./vue_ui_chestnut-D2oUhad6.js";
16
- import { Fragment as d, computed as f, createBlock as Te, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Ee, createTextVNode as De, createVNode as Oe, defineAsyncComponent as ke, guardReactiveProps as g, mergeProps as Ae, nextTick as je, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onMounted as Me, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Ne, toDisplayString as w, toRefs as Pe, unref as T, useCssVars as Fe, watch as Ie, withCtx as E, withKeys as Le } from "vue";
2
+ import { $ as t, Dt as n, G as r, J as i, Kt as a, Mt as o, Rt as s, S as ee, T as te, Wt as ne, Z as re, b as ie, d as ae, dt as oe, i as c, kt as se, p as ce, r as le, t as ue, u as l, zt as de } from "./lib-JqW18y5I.js";
3
+ import { t as fe } from "./useConfig-DYM3f6EI.js";
4
+ import { t as pe } from "./usePrinter-CqqHmnBI.js";
5
+ import { n as me, t as he } from "./BaseScanner-DZvpgOjM.js";
6
+ import { t as ge } from "./useSvgExport-SVIsDot8.js";
7
+ import { t as _e } from "./useNestedProp-DIuuzG1r.js";
8
+ import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as ye } from "./img-DnP3eXuv.js";
10
+ import { t as be } from "./_plugin-vue_export-helper-B3ysoDQm.js";
11
+ import { t as xe } from "./DefGrad-DVBqDjhO.js";
12
+ import { t as Se } from "./A11yDataTable-DdRsVULz.js";
13
+ import { t as Ce } from "./useUserOptionState-DK-_1ddE.js";
14
+ import { t as we } from "./useChartAccessibility-DYqac8yF.js";
15
+ import { t as Te } from "./useTableResponsive-B24Uwt2E.js";
16
+ import { t as Ee } from "./vue_ui_chestnut-D2oUhad6.js";
17
+ import { Fragment as u, computed as d, createBlock as De, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Oe, createTextVNode as ke, createVNode as h, defineAsyncComponent as Ae, guardReactiveProps as g, mergeProps as je, nextTick as Me, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onMounted as Ne, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Pe, toDisplayString as w, toRefs as Fe, unref as T, useCssVars as Ie, watch as Le, withCtx as E, withKeys as Re } from "vue";
17
18
  //#region src/components/vue-ui-chestnut.vue
18
- var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve = {
19
+ var ze = /* @__PURE__ */ e({ default: () => jn }), Be = ["id"], Ve = ["id"], He = {
19
20
  "aria-live": "polite",
20
21
  class: "sr-only"
21
- }, He = {
22
+ }, Ue = {
22
23
  key: 2,
23
24
  ref: "noTitle",
24
25
  class: "vue-data-ui-no-title-space",
25
26
  style: "height:36px; width: 100%;background:transparent"
26
- }, Ue = { style: { position: "relative" } }, We = [
27
+ }, We = { style: { position: "relative" } }, Ge = [
27
28
  "xmlns",
28
29
  "aria-describedby",
29
30
  "viewBox"
30
- ], Ge = ["width", "height"], Ke = { key: 1 }, qe = [
31
+ ], Ke = ["width", "height"], qe = { key: 1 }, Je = [
31
32
  "fill",
32
33
  "font-weight",
33
34
  "font-size",
34
35
  "x",
35
36
  "y"
36
- ], Je = [
37
+ ], Ye = [
37
38
  "fill",
38
39
  "font-weight",
39
40
  "font-size",
40
41
  "x",
41
42
  "y"
42
- ], Ye = ["id"], Xe = ["stop-color"], Ze = ["stop-color"], Qe = ["id"], $e = ["stop-color"], et = ["stop-color"], tt = ["id"], nt = ["stop-color"], rt = ["stop-color"], it = ["stop-color"], at = ["id"], ot = ["stop-color"], st = ["stop-color"], ct = ["stop-color"], lt = ["id"], ut = ["stop-color"], dt = ["stop-color"], ft = ["stop-color"], pt = { key: 2 }, mt = [
43
+ ], Xe = { key: 2 }, Ze = [
43
44
  "x",
44
45
  "y",
45
46
  "font-size",
46
47
  "font-weight",
47
48
  "fill"
48
- ], ht = [
49
+ ], Qe = [
49
50
  "x",
50
51
  "y",
51
52
  "font-size",
52
53
  "font-weight",
53
54
  "fill"
54
- ], gt = ["id"], _t = ["stop-color"], vt = ["stop-color"], yt = [
55
+ ], $e = [
55
56
  "d",
56
57
  "stroke",
57
58
  "fill"
58
- ], bt = [
59
+ ], et = [
59
60
  "cx",
60
61
  "cy",
61
62
  "r",
62
63
  "fill"
63
- ], xt = [
64
+ ], tt = [
64
65
  "aria-label",
65
66
  "cx",
66
67
  "cy",
@@ -69,19 +70,19 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
69
70
  "stroke",
70
71
  "stroke-width",
71
72
  "onClick"
72
- ], St = { key: 3 }, Ct = [
73
+ ], nt = { key: 3 }, rt = [
73
74
  "x",
74
75
  "y",
75
76
  "font-size",
76
77
  "fill",
77
78
  "onClick"
78
- ], wt = { key: 0 }, Tt = [
79
+ ], it = { key: 0 }, at = [
79
80
  "x",
80
81
  "y",
81
82
  "fill",
82
83
  "font-size",
83
84
  "font-weight"
84
- ], Et = [
85
+ ], ot = [
85
86
  "x",
86
87
  "y",
87
88
  "height",
@@ -89,7 +90,7 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
89
90
  "fill",
90
91
  "rx",
91
92
  "onClick"
92
- ], Dt = [
93
+ ], st = [
93
94
  "aria-label",
94
95
  "x",
95
96
  "y",
@@ -100,241 +101,241 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
100
101
  "stroke",
101
102
  "stroke-width",
102
103
  "onClick"
103
- ], Ot = { key: 4 }, kt = [
104
+ ], ct = { key: 4 }, lt = [
104
105
  "x",
105
106
  "y",
106
107
  "fill",
107
108
  "font-size",
108
109
  "onClick"
109
- ], At = ["d", "stroke"], jt = [
110
+ ], ut = ["d", "stroke"], dt = [
110
111
  "aria-label",
111
112
  "fill",
112
113
  "cx",
113
114
  "cy",
114
115
  "r",
115
116
  "onClick"
116
- ], Mt = { key: 5 }, Nt = [
117
+ ], ft = { key: 5 }, pt = [
117
118
  "x",
118
119
  "y",
119
120
  "font-size",
120
121
  "font-weight",
121
122
  "fill"
122
- ], Pt = [
123
+ ], mt = [
123
124
  "x1",
124
125
  "x2",
125
126
  "y1",
126
127
  "y2",
127
128
  "stroke",
128
129
  "stroke-width"
129
- ], Ft = [
130
+ ], ht = [
130
131
  "y",
131
132
  "height",
132
133
  "width"
133
- ], It = { style: {
134
+ ], gt = { style: {
134
135
  width: "100%",
135
136
  height: "100%",
136
137
  display: "flex",
137
138
  "align-items": "center",
138
139
  "justify-content": "center",
139
140
  "flex-direction": "column"
140
- } }, Lt = { style: {
141
+ } }, _t = { style: {
141
142
  display: "flex",
142
143
  "align-items": "center",
143
144
  "justify-content": "center",
144
145
  gap: "12px",
145
146
  "flex-wrap": "wrap",
146
147
  "flex-direction": "row"
147
- } }, Rt = {
148
+ } }, vt = {
148
149
  viewBox: "0 0 20 20",
149
150
  height: "16",
150
151
  width: "16"
151
- }, zt = ["fill"], Bt = { key: 7 }, Vt = [
152
+ }, yt = ["fill"], bt = { key: 7 }, xt = [
152
153
  "y",
153
154
  "height",
154
155
  "width"
155
- ], Ht = { style: {
156
+ ], St = { style: {
156
157
  width: "100%",
157
158
  height: "100%",
158
159
  display: "flex",
159
160
  "align-items": "center",
160
161
  "justify-content": "center",
161
162
  "flex-direction": "column"
162
- } }, Ut = { style: {
163
+ } }, Ct = { style: {
163
164
  display: "flex",
164
165
  "align-items": "center",
165
166
  "justify-content": "center",
166
167
  gap: "12px",
167
168
  "flex-wrap": "wrap",
168
169
  "flex-direction": "row"
169
- } }, Wt = {
170
+ } }, wt = {
170
171
  viewBox: "0 0 20 20",
171
172
  height: "16",
172
173
  width: "16"
173
- }, Gt = ["fill"], Kt = [
174
+ }, Tt = ["fill"], Et = [
174
175
  "cx",
175
176
  "cy",
176
177
  "fill"
177
- ], qt = ["d", "stroke"], Jt = [
178
+ ], Dt = ["d", "stroke"], Ot = [
178
179
  "cx",
179
180
  "cy",
180
181
  "fill"
181
- ], Yt = ["d", "stroke"], Xt = [
182
+ ], kt = ["d", "stroke"], At = [
182
183
  "cx",
183
184
  "cy",
184
185
  "fill"
185
- ], Zt = [
186
+ ], jt = [
186
187
  "cx",
187
188
  "cy",
188
189
  "fill"
189
- ], Qt = [
190
+ ], Mt = [
190
191
  "x",
191
192
  "y",
192
193
  "fill",
193
194
  "font-size",
194
195
  "font-weight"
195
- ], $t = [
196
+ ], Nt = [
196
197
  "x",
197
198
  "y",
198
199
  "fill",
199
200
  "font-size",
200
201
  "font-weight"
201
- ], en = [
202
+ ], Pt = [
202
203
  "x",
203
204
  "text-anchor",
204
205
  "y",
205
206
  "fill",
206
207
  "font-size"
207
- ], tn = [
208
+ ], Ft = [
208
209
  "x",
209
210
  "text-anchor",
210
211
  "y",
211
212
  "fill",
212
213
  "font-size"
213
- ], nn = [
214
+ ], It = [
214
215
  "x",
215
216
  "text-anchor",
216
217
  "y",
217
218
  "fill",
218
219
  "font-size"
219
- ], rn = [
220
+ ], Lt = [
220
221
  "x",
221
222
  "text-anchor",
222
223
  "y",
223
224
  "fill",
224
225
  "font-size"
225
- ], an = [
226
+ ], Rt = [
226
227
  "x",
227
228
  "text-anchor",
228
229
  "y",
229
230
  "fill",
230
231
  "font-size"
231
- ], on = [
232
+ ], zt = [
232
233
  "x",
233
234
  "y",
234
235
  "font-size",
235
236
  "fill"
236
- ], sn = [
237
+ ], Bt = [
237
238
  "x",
238
239
  "y",
239
240
  "font-size",
240
241
  "fill"
241
- ], cn = [
242
+ ], Vt = [
242
243
  "x",
243
244
  "y",
244
245
  "font-size",
245
246
  "fill"
246
- ], ln = {
247
+ ], Ht = {
247
248
  key: 4,
248
249
  class: "vue-data-ui-watermark"
249
- }, un = {
250
+ }, Ut = {
250
251
  key: 5,
251
252
  ref: "source",
252
253
  dir: "auto"
253
- }, dn = { class: "vue-ui-data-table" }, fn = { key: 0 }, pn = ["data-cell"], mn = { style: {
254
+ }, Wt = { class: "vue-ui-data-table" }, Gt = { key: 0 }, Kt = ["data-cell"], qt = { style: {
254
255
  display: "flex",
255
256
  "align-items": "center",
256
257
  gap: "5px",
257
258
  "justify-content": "flex-end",
258
259
  width: "100%",
259
260
  "padding-right": "3px"
260
- } }, hn = { key: 0 }, gn = { key: 1 }, _n = ["data-cell"], vn = { style: {
261
+ } }, Jt = { key: 0 }, Yt = { key: 1 }, Xt = ["data-cell"], Zt = { style: {
261
262
  display: "flex",
262
263
  "align-items": "center",
263
264
  gap: "5px",
264
265
  "justify-content": "flex-end",
265
266
  width: "100%",
266
267
  "padding-right": "3px"
267
- } }, yn = { key: 0 }, bn = { key: 1 }, xn = ["data-cell"], Sn = { style: {
268
+ } }, Qt = { key: 0 }, $t = { key: 1 }, en = ["data-cell"], tn = { style: {
268
269
  display: "flex",
269
270
  "align-items": "center",
270
271
  gap: "5px",
271
272
  "justify-content": "flex-end",
272
273
  width: "100%",
273
274
  "padding-right": "3px"
274
- } }, Cn = { key: 0 }, wn = { key: 1 }, Tn = ["data-cell"], En = { style: {
275
+ } }, nn = { key: 0 }, rn = { key: 1 }, an = ["data-cell"], on = { style: {
275
276
  display: "flex",
276
277
  "align-items": "center",
277
278
  gap: "5px",
278
279
  "justify-content": "flex-end",
279
280
  width: "100%",
280
281
  "padding-right": "3px"
281
- } }, Dn = { key: 0 }, On = { key: 1 }, kn = ["data-cell"], An = { style: {
282
+ } }, sn = { key: 0 }, cn = { key: 1 }, ln = ["data-cell"], un = { style: {
282
283
  display: "flex",
283
284
  "align-items": "center",
284
285
  gap: "5px",
285
286
  "justify-content": "flex-end",
286
287
  width: "100%",
287
288
  "padding-right": "3px"
288
- } }, jn = { key: 0 }, Mn = { key: 1 }, Nn = ["data-cell"], Pn = { style: {
289
+ } }, dn = { key: 0 }, fn = { key: 1 }, pn = ["data-cell"], mn = { style: {
289
290
  display: "flex",
290
291
  "align-items": "center",
291
292
  gap: "5px",
292
293
  "justify-content": "flex-end",
293
294
  width: "100%",
294
295
  "padding-right": "3px"
295
- } }, Fn = { key: 0 }, In = { key: 1 }, Ln = ["data-cell"], Rn = { style: {
296
+ } }, hn = { key: 0 }, gn = { key: 1 }, _n = ["data-cell"], vn = { style: {
296
297
  display: "flex",
297
298
  "align-items": "center",
298
299
  gap: "5px",
299
300
  "justify-content": "flex-end",
300
301
  width: "100%",
301
302
  "padding-right": "3px"
302
- } }, zn = { key: 0 }, Bn = { key: 1 }, Vn = ["data-cell"], Hn = { style: {
303
+ } }, yn = { key: 0 }, bn = { key: 1 }, xn = ["data-cell"], Sn = { style: {
303
304
  display: "flex",
304
305
  "align-items": "center",
305
306
  gap: "5px",
306
307
  "justify-content": "flex-end",
307
308
  width: "100%",
308
309
  "padding-right": "3px"
309
- } }, Un = ["data-cell"], Wn = { style: {
310
+ } }, Cn = ["data-cell"], wn = { style: {
310
311
  display: "flex",
311
312
  "align-items": "center",
312
313
  gap: "5px",
313
314
  "justify-content": "flex-end",
314
315
  width: "100%",
315
316
  "padding-right": "3px"
316
- } }, Gn = ["data-cell"], Kn = { style: {
317
+ } }, Tn = ["data-cell"], En = { style: {
317
318
  display: "flex",
318
319
  "align-items": "center",
319
320
  gap: "5px",
320
321
  "justify-content": "flex-end",
321
322
  width: "100%",
322
323
  "padding-right": "3px"
323
- } }, qn = ["data-cell"], Jn = { style: {
324
+ } }, Dn = ["data-cell"], On = { style: {
324
325
  display: "flex",
325
326
  "align-items": "center",
326
327
  gap: "5px",
327
328
  "justify-content": "flex-end",
328
329
  width: "100%",
329
330
  "padding-right": "3px"
330
- } }, Yn = ["data-cell"], Xn = { style: {
331
+ } }, kn = ["data-cell"], An = { style: {
331
332
  display: "flex",
332
333
  "align-items": "center",
333
334
  gap: "5px",
334
335
  "justify-content": "flex-end",
335
336
  width: "100%",
336
337
  "padding-right": "3px"
337
- } }, Zn = /*#__PURE__*/ ye({
338
+ } }, jn = /*#__PURE__*/ be({
338
339
  __name: "vue-ui-chestnut",
339
340
  props: {
340
341
  config: {
@@ -356,15 +357,15 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
356
357
  "selectNut",
357
358
  "copyAlt"
358
359
  ],
359
- setup(e, { expose: ye, emit: Re }) {
360
- Fe((e) => ({ bd8a0696: e.tdo }));
361
- let Zn = ke(() => import("./BaseIcon-_-BX7be3.js").then((e) => e.n)), Qn = ke(() => import("./vue-ui-accordion-Dzz8XhX3.js").then((e) => e.n)), $n = ke(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), er = ke(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), tr = ke(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), nr = ke(() => import("./BaseDraggableDialog-1wwwdwV2.js").then((e) => e.n)), { vue_ui_chestnut: rr } = de(), { isThemeValid: ir, warnInvalidTheme: ar } = _e(), D = e, or = f(() => !!D.dataset && D.dataset.length), O = x(ne()), sr = x(null), cr = x(0), lr = x(null), ur = x(null), dr = x(!1), fr = x(!1), pr = x(!1), k = x(!1), A = x(""), j = x({
360
+ setup(e, { expose: be, emit: ze }) {
361
+ Ie((e) => ({ v62f21eec: e.tdo }));
362
+ let jn = Ae(() => import("./BaseIcon-UdRAvP2h.js").then((e) => e.n)), Mn = Ae(() => import("./vue-ui-accordion-CjAGqEJg.js").then((e) => e.n)), Nn = Ae(() => import("./PenAndPaper-DsXi7GJ-.js").then((e) => e.t)), Pn = Ae(() => import("./UserOptions-trvJ26nz.js").then((e) => e.n)), Fn = Ae(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), In = Ae(() => import("./BaseDraggableDialog-Av7Uxq5V.js").then((e) => e.n)), { vue_ui_chestnut: Ln } = fe(), { isThemeValid: Rn, warnInvalidTheme: zn } = ve(), D = e, Bn = d(() => !!D.dataset && D.dataset.length), O = x(r()), Vn = x(null), Hn = x(0), Un = x(null), Wn = x(null), Gn = x(!1), Kn = x(!1), qn = x(!1), k = x(!1), A = x(""), j = x({
362
363
  level: "root",
363
364
  rootIndex: 0,
364
365
  branchIndex: 0,
365
366
  nutIndex: 0,
366
367
  locked: !1
367
- }), M = x(xr()), N = f(() => M.value.userOptions.useCursorPointer), mr = f(() => n({
368
+ }), M = x(tr()), N = d(() => M.value.userOptions.useCursorPointer), Jn = d(() => a({
368
369
  defaultConfig: {
369
370
  userOptions: { show: !1 },
370
371
  table: { show: !1 },
@@ -389,10 +390,10 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
389
390
  } }
390
391
  },
391
392
  userConfig: M.value.skeletonConfig ?? {}
392
- })), { loading: hr, FINAL_DATASET: gr } = pe({
393
- ...Pe(D),
393
+ })), { loading: Yn, FINAL_DATASET: Xn } = me({
394
+ ...Fe(D),
394
395
  FINAL_CONFIG: M,
395
- prepareConfig: xr,
396
+ prepareConfig: tr,
396
397
  skeletonDataset: D.config?.skeletonDataset ?? [{
397
398
  name: "_",
398
399
  color: "#969696",
@@ -508,42 +509,42 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
508
509
  }
509
510
  ]
510
511
  }],
511
- skeletonConfig: n({
512
+ skeletonConfig: a({
512
513
  defaultConfig: M.value,
513
- userConfig: mr.value
514
+ userConfig: Jn.value
514
515
  })
515
- }), { userOptionsVisible: _r, setUserOptionsVisibility: vr, keepUserOptionState: yr } = xe({ config: M.value }), { svgRef: br } = Se({ config: M.value.style.chart.layout.title });
516
- function xr() {
517
- let e = ge({
516
+ }), { userOptionsVisible: Zn, setUserOptionsVisibility: Qn, keepUserOptionState: $n } = Ce({ config: M.value }), { svgRef: er } = we({ config: M.value.style.chart.layout.title });
517
+ function tr() {
518
+ let e = _e({
518
519
  userConfig: D.config,
519
- defaultConfig: rr
520
+ defaultConfig: Ln
520
521
  }), t = e.theme;
521
522
  if (!t) return e;
522
- if (!ir.value(e)) return ar(e), e;
523
- let n = ge({
524
- userConfig: we[t] || D.config,
523
+ if (!Rn.value(e)) return zn(e), e;
524
+ let n = _e({
525
+ userConfig: Ee[t] || D.config,
525
526
  defaultConfig: e
526
- }), r = ge({
527
+ }), r = _e({
527
528
  userConfig: D.config,
528
529
  defaultConfig: n
529
530
  });
530
531
  return {
531
532
  ...r,
532
- customPalette: r.customPalette.length ? r.customPalette : te[t] || c
533
+ customPalette: r.customPalette.length ? r.customPalette : ne[t] || o
533
534
  };
534
535
  }
535
- Ie(() => D.config, (e) => {
536
- M.value = xr(), _r.value = !M.value.userOptions.showOnChartHover, Or.value.showTable = M.value.table.show, qr();
536
+ Le(() => D.config, (e) => {
537
+ M.value = tr(), Zn.value = !M.value.userOptions.showOnChartHover, cr.value.showTable = M.value.table.show, Dr();
537
538
  }, { deep: !0 });
538
- let { isPrinting: Sr, isImaging: Cr, generatePdf: wr, generateImage: Tr } = fe({
539
+ let { isPrinting: nr, isImaging: rr, generatePdf: ir, generateImage: ar } = pe({
539
540
  elementId: `vue-ui-chestnut_${O.value}`,
540
541
  fileName: M.value.style.chart.layout.title.text || "vue-ui-chestnut",
541
542
  options: M.value.userOptions.print
542
- }), Er = f(() => M.value.userOptions.show), Dr = f(() => ee(M.value.customPalette)), Or = x({ showTable: M.value.table.show });
543
- Ie(M, () => {
544
- Or.value = { showTable: M.value.table.show };
543
+ }), or = d(() => M.value.userOptions.show), sr = d(() => ee(M.value.customPalette)), cr = x({ showTable: M.value.table.show });
544
+ Le(M, () => {
545
+ cr.value = { showTable: M.value.table.show };
545
546
  }, { immediate: !0 });
546
- let kr = x(null), Ar = f(() => M.value.table.responsiveBreakpoint), P = x({
547
+ let lr = x(null), ur = d(() => M.value.table.responsiveBreakpoint), P = x({
547
548
  gap: 6,
548
549
  padding: {
549
550
  top: 102,
@@ -555,7 +556,7 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
555
556
  height: 0,
556
557
  branchSize: 32,
557
558
  branchStart: 128
558
- }), F = f(() => ({
559
+ }), F = d(() => ({
559
560
  left: P.value.padding.left,
560
561
  top: P.value.padding.top,
561
562
  right: P.value.width - P.value.padding.right,
@@ -563,50 +564,50 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
563
564
  width: P.value.width - (P.value.padding.left + P.value.padding.right),
564
565
  height: P.value.height - (P.value.padding.top + P.value.padding.bottom),
565
566
  seedX: P.value.padding.left + 64
566
- })), I = f(() => gr.value.flatMap((e) => (e.branches || []).map((e) => e.value || 0)).reduce((e, t) => e + t, 0)), L = f(() => (gr.value.forEach((e, t) => {
567
- le({
567
+ })), I = d(() => Xn.value.flatMap((e) => (e.branches || []).map((e) => e.value || 0)).reduce((e, t) => e + t, 0)), L = d(() => (Xn.value.forEach((e, n) => {
568
+ oe({
568
569
  datasetObject: e,
569
570
  requiredAttributes: ["name", "branches"]
570
571
  }).forEach((e) => {
571
- a({
572
+ t({
572
573
  componentName: "VueUiChestnut",
573
574
  type: "datasetSerieAttribute",
574
575
  property: e,
575
- index: t,
576
- debug: Kr.value
576
+ index: n,
577
+ debug: Er.value
577
578
  });
578
- }), e.branches && e.branches.forEach((e, n) => {
579
- le({
579
+ }), e.branches && e.branches.forEach((e, r) => {
580
+ oe({
580
581
  datasetObject: e,
581
582
  requiredAttributes: ["name", "value"]
582
583
  }).forEach((e) => {
583
- a({
584
+ t({
584
585
  componentName: "VueUiChestnut",
585
586
  type: "datasetSerieAttribute",
586
587
  property: e,
587
- index: `${t} - ${n}`,
588
- debug: Kr.value
588
+ index: `${n} - ${r}`,
589
+ debug: Er.value
589
590
  });
590
- }), e.breakdown && e.breakdown.forEach((e, r) => {
591
- le({
591
+ }), e.breakdown && e.breakdown.forEach((e, i) => {
592
+ oe({
592
593
  datasetObject: e,
593
594
  requiredAttributes: ["name", "value"]
594
595
  }).forEach((e) => {
595
- a({
596
+ t({
596
597
  componentName: "VueUiChestnut",
597
598
  type: "datasetSerieAttribute",
598
599
  property: e,
599
- index: `${t} - ${n} - ${r}`,
600
- debug: Kr.value
600
+ index: `${n} - ${r} - ${i}`,
601
+ debug: Er.value
601
602
  });
602
603
  });
603
604
  });
604
605
  });
605
- }), gr.value.map((e, t) => {
606
+ }), Xn.value.map((e, t) => {
606
607
  let n = (e.branches || []).map((e) => e.value || 0).reduce((e, t) => e + t, 0);
607
608
  return {
608
609
  ...e,
609
- color: ie(e.color) || Dr.value[t] || c[t] || c[t % c.length],
610
+ color: ie(e.color) || sr.value[t] || o[t] || o[t % o.length],
610
611
  id: e.id || `root_${t}_${O.value}`,
611
612
  type: "root",
612
613
  total: n,
@@ -615,12 +616,12 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
615
616
  ...r,
616
617
  rootName: e.name,
617
618
  rootIndex: t,
618
- color: ie(e.color) || Dr.value[t] || c[t] || c[t % c.length],
619
+ color: ie(e.color) || sr.value[t] || o[t] || o[t % o.length],
619
620
  value: r.value >= 0 ? r.value : 0,
620
621
  id: r.id || `branch_${t}_${i}_${O.value}`,
621
622
  proportionToRoot: r.value / n,
622
623
  type: "branch",
623
- breakdown: (r.breakdown || []).map((a, o) => ({
624
+ breakdown: (r.breakdown || []).map((a, s) => ({
624
625
  table: {
625
626
  rootName: e.name,
626
627
  rootValue: n,
@@ -644,31 +645,31 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
644
645
  proportionToRoot: a.value / n,
645
646
  proportionToTree: a.value / I.value,
646
647
  rootIndex: t,
647
- id: a.id || `nut_${t}_${i}_${o}_${O.value}`,
648
- color: ie(a.color) || Dr.value[o] || c[o] || c[o % c.length],
648
+ id: a.id || `nut_${t}_${i}_${s}_${O.value}`,
649
+ color: ie(a.color) || sr.value[s] || o[s] || o[s % o.length],
649
650
  value: a.value >= 0 ? a.value : 0
650
651
  }))
651
652
  }))
652
653
  };
653
654
  })));
654
- function jr() {
655
+ function dr() {
655
656
  return L.value;
656
657
  }
657
- let R = Re, Mr = f(() => L.value.flatMap((e) => e.branches).length), Nr = f(() => Math.max(...L.value.map((e) => e.branches.map((e) => e.value).reduce((e, t) => e + t, 0)))), Pr = f(() => Math.max(...L.value.flatMap((e) => e.branches.map((e) => e.value)))), Fr = f(() => 256 + P.value.padding.left), z = f(() => L.value.sort((e, t) => t.total - e.total).map((e, t) => {
658
- let n = F.value.height / L.value.length / 2, r = e.total / Nr.value * (n > 64 ? 64 : n);
658
+ let R = ze, fr = d(() => L.value.flatMap((e) => e.branches).length), pr = d(() => Math.max(...L.value.map((e) => e.branches.map((e) => e.value).reduce((e, t) => e + t, 0)))), mr = d(() => Math.max(...L.value.flatMap((e) => e.branches.map((e) => e.value)))), hr = d(() => 256 + P.value.padding.left), z = d(() => L.value.sort((e, t) => t.total - e.total).map((e, t) => {
659
+ let n = F.value.height / L.value.length / 2, r = e.total / pr.value * (n > 64 ? 64 : n);
659
660
  return {
660
661
  ...e,
661
662
  x: F.value.seedX,
662
663
  y: F.value.top + F.value.height / L.value.length * (t + 1) - (F.value.height / L.value.length / 2 + P.value.gap / 2),
663
664
  r: r < P.value.branchSize / 2 ? P.value.branchSize / 2 : r
664
665
  };
665
- })), Ir = f(() => M.value.style.chart.layout.branches.widthRatio <= 0 ? .1 : M.value.style.chart.layout.branches.widthRatio > 1.8 ? 1.8 : M.value.style.chart.layout.branches.widthRatio), Lr = f(() => z.value.flatMap((e) => e.branches)), B = f(() => Lr.value.sort((e, t) => t.value - e.value).map((e, t) => ({
666
+ })), gr = d(() => M.value.style.chart.layout.branches.widthRatio <= 0 ? .1 : M.value.style.chart.layout.branches.widthRatio > 1.8 ? 1.8 : M.value.style.chart.layout.branches.widthRatio), _r = d(() => z.value.flatMap((e) => e.branches)), B = d(() => _r.value.sort((e, t) => t.value - e.value).map((e, t) => ({
666
667
  ...e,
667
668
  y1: t * P.value.branchSize + F.value.top + t * P.value.gap,
668
669
  y2: t * P.value.branchSize + P.value.branchSize,
669
- x1: Fr.value,
670
- x2: 384 * e.value / Pr.value * Ir.value + Fr.value
671
- }))), V = f(() => z.value), Rr = f(() => V.value.map((e) => B.value.filter((t) => t.rootIndex === e.rootIndex).sort((e, t) => e.y1 - t.y1))), zr = f(() => V.value.map((e, t) => Rr.value[t].map((e) => (e.breakdown || []).map((t, n) => ({
670
+ x1: hr.value,
671
+ x2: 384 * e.value / mr.value * gr.value + hr.value
672
+ }))), V = d(() => z.value), vr = d(() => V.value.map((e) => B.value.filter((t) => t.rootIndex === e.rootIndex).sort((e, t) => e.y1 - t.y1))), yr = d(() => V.value.map((e, t) => vr.value[t].map((e) => (e.breakdown || []).map((t, n) => ({
672
673
  ...t,
673
674
  nutIndex: n,
674
675
  rootIndex: e.rootIndex,
@@ -677,7 +678,7 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
677
678
  branchValue: e.value,
678
679
  rootName: e.rootName
679
680
  })))));
680
- function Br(e) {
681
+ function br(e) {
681
682
  let t = z.value.find((t) => t.rootIndex === e.rootIndex);
682
683
  return {
683
684
  x: t.x,
@@ -693,18 +694,18 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
693
694
  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 : !1;
694
695
  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 : !1;
695
696
  if (G.value) return e.type === "root" ? e.id === G.value.id : e.type === "branch" || e.type === "nut" ? e.rootIndex === G.value.rootIndex : !1;
696
- if (xi.value && k.value) {
697
+ if (ti.value && k.value) {
697
698
  if (j.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;
698
- if (j.value.level === "branch") return e.type === "root" ? Z.value && e.rootIndex === Z.value.rootIndex : e.type === "branch" ? yi.value && e.id === yi.value.id : (e.type, !1);
699
- if (j.value.level === "nut") return e.type === "root" ? Z.value && e.rootIndex === Z.value.rootIndex : e.type === "branch" ? bi.value && e.id === bi.value.id : e.type === "nut" ? bi.value && e.branchName === bi.value.name && e.rootIndex === bi.value.rootIndex : !1;
699
+ if (j.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 (j.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 : !1;
700
701
  }
701
702
  return !0;
702
703
  }
703
- function Vr(e) {
704
+ function xr(e) {
704
705
  K();
705
- let n = V.value.findIndex((t) => t.rootIndex === e.rootIndex), r = (Rr.value[n] || []).findIndex((t) => t.id === e.id);
706
- n !== -1 && (j.value.rootIndex = n), r !== -1 && (j.value.branchIndex = r), j.value.level = "nut", j.value.nutIndex = 0, je(() => {
707
- H.value = e, W.value = e, U.value = t({
706
+ let t = V.value.findIndex((t) => t.rootIndex === e.rootIndex), r = (vr.value[t] || []).findIndex((t) => t.id === e.id);
707
+ t !== -1 && (j.value.rootIndex = t), r !== -1 && (j.value.branchIndex = r), j.value.level = "nut", j.value.nutIndex = 0, Me(() => {
708
+ H.value = e, W.value = e, U.value = n({
708
709
  series: e.breakdown,
709
710
  base: 1
710
711
  }, e.x2 + 24 + M.value.style.chart.layout.nuts.offsetX, e.y1 + P.value.branchSize / 2, 80, 80), R("selectNut", e.breakdown), Q();
@@ -713,34 +714,34 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
713
714
  function J() {
714
715
  H.value = null, U.value = null, R("selectNut", null);
715
716
  }
716
- function Hr(e) {
717
- let t = V.value.findIndex((t) => t.rootIndex === e.rootIndex), n = (Rr.value[t] || []).findIndex((t) => t.id === e.id);
717
+ function Sr(e) {
718
+ let t = V.value.findIndex((t) => t.rootIndex === e.rootIndex), n = (vr.value[t] || []).findIndex((t) => t.id === e.id);
718
719
  t !== -1 && (j.value.rootIndex = t), n !== -1 && (j.value.branchIndex = n), j.value.level = "branch", j.value.nutIndex = 0, W.value && W.value.id === e.id ? (W.value = null, K(), R("selectBranch", null), Q()) : (K(), W.value = e, R("selectBranch", e), Q());
719
720
  }
720
- function Ur(e) {
721
+ function Cr(e) {
721
722
  let t = V.value.findIndex((t) => t.id === e.id);
722
723
  t !== -1 && (j.value.rootIndex = t), j.value.level = "root", j.value.branchIndex = 0, j.value.nutIndex = 0, G.value && G.value.id === e.id ? (K(), R("selectRoot", null), Q()) : (K(), G.value = e, R("selectRoot", e), Q());
723
724
  }
724
- function Wr() {
725
+ function wr() {
725
726
  return F.value.bottom - (H.value.y1 + 180) < 0 ? 0 : F.value.bottom;
726
727
  }
727
- function Gr(e) {
728
+ function Tr(e) {
728
729
  return e.proportion * 100 > M.value.style.chart.layout.nuts.selected.labels.dataLabels.hideUnderValue;
729
730
  }
730
- Me(() => {
731
- qr();
731
+ Ne(() => {
732
+ Dr();
732
733
  });
733
- let Kr = f(() => M.value.debug);
734
- function qr() {
735
- i(D.dataset) && a({
734
+ let Er = d(() => M.value.debug);
735
+ function Dr() {
736
+ se(D.dataset) && t({
736
737
  componentName: "VueUiChestnut",
737
738
  type: "dataset",
738
- debug: Kr.value
739
+ debug: Er.value
739
740
  });
740
- let e = Mr.value * (P.value.branchSize + P.value.gap) + P.value.padding.top + P.value.padding.bottom;
741
+ let e = fr.value * (P.value.branchSize + P.value.gap) + P.value.padding.top + P.value.padding.bottom;
741
742
  P.value.height = e;
742
743
  }
743
- let Y = f(() => ({
744
+ let Y = d(() => ({
744
745
  head: [
745
746
  M.value.table.th.translations.rootName,
746
747
  M.value.table.th.translations.rootValue,
@@ -757,8 +758,8 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
757
758
  ],
758
759
  body: L.value.flatMap((e, t) => e.branches.flatMap((e, t) => e.breakdown.flatMap((e, t) => e.table)))
759
760
  }));
760
- function Jr(e = null) {
761
- je(() => {
761
+ function Or(e = null) {
762
+ Me(() => {
762
763
  let t = [
763
764
  [M.value.style.chart.layout.title.text],
764
765
  [M.value.style.chart.layout.title.subtitle.text],
@@ -778,28 +779,28 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
778
779
  e.nutToBranch,
779
780
  e.nutToRoot,
780
781
  e.nutToTotal
781
- ]), i = ue(t.concat([n]).concat(r));
782
+ ]), i = te(t.concat([n]).concat(r));
782
783
  e ? e(i) : re({
783
784
  csvContent: i,
784
785
  title: M.value.style.chart.layout.title.text || "vue-ui-chestnut"
785
786
  });
786
787
  });
787
788
  }
788
- let Yr = x(!1);
789
- function Xr(e) {
790
- Yr.value = e, cr.value += 1;
789
+ let kr = x(!1);
790
+ function Ar(e) {
791
+ kr.value = e, Hn.value += 1;
791
792
  }
792
- function Zr() {
793
- Or.value.showTable = !Or.value.showTable;
793
+ function jr() {
794
+ cr.value.showTable = !cr.value.showTable;
794
795
  }
795
- let Qr = x(!1);
796
- function $r() {
797
- Qr.value = !Qr.value;
796
+ let Mr = x(!1);
797
+ function Nr() {
798
+ Mr.value = !Mr.value;
798
799
  }
799
- async function ei({ scale: e = 2 } = {}) {
800
- if (!sr.value) return;
801
- let { width: t, height: n } = sr.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ve({
802
- domElement: sr.value,
800
+ async function Pr({ scale: e = 2 } = {}) {
801
+ if (!Vn.value) return;
802
+ let { width: t, height: n } = Vn.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ye({
803
+ domElement: Vn.value,
803
804
  base64: !0,
804
805
  img: !0,
805
806
  scale: e
@@ -813,8 +814,8 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
813
814
  aspectRatio: r
814
815
  };
815
816
  }
816
- function ti(e) {
817
- let t = Br(e), n = e.x1, r = e.y1, i = P.value.branchSize, a = t.x + t.r / 2, o = t.y;
817
+ function Fr(e) {
818
+ let t = br(e), n = e.x1, r = e.y1, i = P.value.branchSize, a = t.x + t.r / 2, o = t.y;
818
819
  return [
819
820
  `M ${n},${r}`,
820
821
  `C ${n - 20},${r} ${n - 20},${r} ${a},${o}`,
@@ -822,18 +823,18 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
822
823
  "Z"
823
824
  ].join(" ");
824
825
  }
825
- let ni = f(() => {
826
- let e = M.value.table.useDialog && !M.value.table.show, t = Or.value.showTable;
826
+ let Ir = d(() => {
827
+ let e = M.value.table.useDialog && !M.value.table.show, t = cr.value.showTable;
827
828
  return {
828
- component: e ? nr : Qn,
829
+ component: e ? In : Mn,
829
830
  title: `${M.value.style.chart.layout.title.text}${M.value.style.chart.layout.title.subtitle.text ? `: ${M.value.style.chart.layout.title.subtitle.text}` : ""}`,
830
831
  props: e ? {
831
832
  backgroundColor: M.value.table.th.backgroundColor,
832
833
  color: M.value.table.th.color,
833
834
  headerColor: M.value.table.th.color,
834
835
  headerBg: M.value.table.th.backgroundColor,
835
- isFullscreen: Yr.value,
836
- fullscreenParent: sr.value,
836
+ isFullscreen: kr.value,
837
+ fullscreenParent: Vn.value,
837
838
  forcedWidth: Math.min(800, window.innerWidth * .8),
838
839
  isCursorPointer: N.value
839
840
  } : {
@@ -853,70 +854,70 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
853
854
  }
854
855
  };
855
856
  });
856
- Ie(() => Or.value.showTable, async (e) => {
857
- M.value.table.show || (e && M.value.table.useDialog && lr.value ? (await je(), lr.value.open()) : "close" in lr.value && lr.value.close());
857
+ Le(() => cr.value.showTable, async (e) => {
858
+ M.value.table.show || (e && M.value.table.useDialog && Un.value ? (await Me(), Un.value.open()) : "close" in Un.value && Un.value.close());
858
859
  });
859
- let { isResponsive: ri } = Ce(kr, Ar);
860
- function ii() {
861
- Or.value.showTable = !1, ur.value && ur.value.setTableIconState(!1);
860
+ let { isResponsive: Lr } = Te(lr, ur);
861
+ function Rr() {
862
+ cr.value.showTable = !1, Wn.value && Wn.value.setTableIconState(!1);
862
863
  }
863
- let ai = f(() => L.value.map((e, t) => ({
864
+ let zr = d(() => L.value.map((e, t) => ({
864
865
  ...e,
865
- display: `${e.name}: ${s(M.value.style.chart.layout.roots.labels.formatter, e.total, l({
866
+ display: `${e.name}: ${c(M.value.style.chart.layout.roots.labels.formatter, e.total, i({
866
867
  p: M.value.style.chart.layout.legend.prefix,
867
868
  v: e.total,
868
869
  s: M.value.style.chart.layout.legend.suffix,
869
870
  r: M.value.style.chart.layout.legend.roundingValue
870
- }), { datapoint: e })} (${l({
871
+ }), { datapoint: e })} (${i({
871
872
  v: e.total / I.value * 100,
872
873
  s: "%",
873
874
  r: M.value.style.chart.layout.legend.roundingPercentage
874
875
  })})`
875
- }))), oi = f(() => ai.value.map((e) => ({
876
+ }))), Br = d(() => zr.value.map((e) => ({
876
877
  color: e.color,
877
878
  name: e.display,
878
879
  shape: "circle"
879
- }))), si = f(() => M.value.style.chart.backgroundColor), ci = f(() => ({
880
+ }))), Vr = d(() => M.value.style.chart.backgroundColor), Hr = d(() => ({
880
881
  ...M.value.style.chart.layout.legend,
881
882
  textAlign: "center",
882
883
  show: !0,
883
884
  position: "bottom"
884
- })), { exportSvg: li, getSvg: ui } = he({
885
- svg: br,
886
- title: f(() => M.value.style.chart.layout.title),
887
- legend: ci,
888
- legendItems: oi,
889
- backgroundColor: si,
885
+ })), { exportSvg: Ur, getSvg: Wr } = ge({
886
+ svg: er,
887
+ title: d(() => M.value.style.chart.layout.title),
888
+ legend: Hr,
889
+ legendItems: Br,
890
+ backgroundColor: Vr,
890
891
  titleEmbedded: !0
891
892
  });
892
- async function di({ isCb: e }) {
893
- fr.value = !0, await je();
893
+ async function Gr({ isCb: e }) {
894
+ Kn.value = !0, await Me();
894
895
  try {
895
896
  if (e) {
896
- let { blob: e, url: t, text: n, dataUrl: r } = await ui();
897
+ let { blob: e, url: t, text: n, dataUrl: r } = await Wr();
897
898
  await Promise.resolve(M.value.userOptions.callbacks.svg({
898
899
  blob: e,
899
900
  url: t,
900
901
  text: n,
901
902
  dataUrl: r
902
903
  }));
903
- } else await Promise.resolve(li());
904
+ } else await Promise.resolve(Ur());
904
905
  } finally {
905
- fr.value = !1;
906
+ Kn.value = !1;
906
907
  }
907
908
  }
908
- function fi(e) {
909
+ function Kr(e) {
909
910
  if (e?.stage === "start") {
910
- dr.value = !0;
911
+ Gn.value = !0;
911
912
  return;
912
913
  }
913
914
  if (e?.stage === "end") {
914
- dr.value = !1;
915
+ Gn.value = !1;
915
916
  return;
916
917
  }
917
- Tr();
918
+ ar();
918
919
  }
919
- async function pi() {
920
+ async function qr() {
920
921
  if (R("copyAlt", {
921
922
  config: M.value,
922
923
  dataset: L.value
@@ -929,59 +930,59 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
929
930
  dataset: L.value
930
931
  }));
931
932
  }
932
- function mi(e) {
933
+ function Jr(e) {
933
934
  if (!e) return "";
934
- let t = l({
935
+ let t = i({
935
936
  p: M.value.style.chart.layout.legend.prefix,
936
937
  v: e.total,
937
938
  s: M.value.style.chart.layout.legend.suffix,
938
939
  r: M.value.style.chart.layout.legend.roundingValue
939
- }), n = l({
940
+ }), n = i({
940
941
  v: e.total / I.value * 100,
941
942
  s: "%",
942
943
  r: M.value.style.chart.layout.legend.roundingPercentage
943
944
  });
944
945
  return `Root ${e.name}. Value ${t}. ${n} of total.`;
945
946
  }
946
- function hi(e) {
947
+ function Yr(e) {
947
948
  if (!e) return "";
948
- let t = l({
949
+ let t = i({
949
950
  p: M.value.style.chart.layout.branches.labels.dataLabels.prefix,
950
951
  v: e.value,
951
952
  s: M.value.style.chart.layout.branches.labels.dataLabels.suffix,
952
953
  r: M.value.style.chart.layout.branches.labels.dataLabels.roundingValue
953
- }), n = l({
954
+ }), n = i({
954
955
  v: e.proportionToRoot * 100,
955
956
  s: "%",
956
957
  r: M.value.style.chart.layout.legend.roundingPercentage
957
958
  });
958
959
  return `Branch ${e.name}. Root ${e.rootName}. Value ${t}. ${n} of root ${e.rootName}.`;
959
960
  }
960
- function gi(e) {
961
+ function Xr(e) {
961
962
  if (!e) return "";
962
- let t = l({
963
+ let t = i({
963
964
  p: M.value.style.chart.layout.legend.prefix,
964
965
  v: e.value,
965
966
  s: M.value.style.chart.layout.legend.suffix,
966
967
  r: M.value.style.chart.layout.nuts.selected.labels.roundingValue
967
- }), n = l({
968
+ }), n = i({
968
969
  v: e.proportionToBranch * 100,
969
970
  s: "%",
970
971
  r: M.value.style.chart.layout.nuts.selected.labels.roundingPercentage
971
972
  });
972
973
  return `Nut ${e.name}. Branch ${e.branchName}. Root ${e.rootName}. Value ${t}. ${n} of branch ${e.branchName}.`;
973
974
  }
974
- let _i = f(() => V.value[j.value.rootIndex] || null), X = f(() => (Rr.value[j.value.rootIndex] || [])[j.value.branchIndex] || null), vi = f(() => ((zr.value[j.value.rootIndex] || [])[j.value.branchIndex] || [])[j.value.nutIndex] || null), Z = f(() => _i.value), yi = f(() => X.value), bi = f(() => j.value.level === "nut" ? X.value : null), xi = f(() => pr.value);
975
+ let Zr = d(() => V.value[j.value.rootIndex] || null), X = d(() => (vr.value[j.value.rootIndex] || [])[j.value.branchIndex] || null), Qr = d(() => ((yr.value[j.value.rootIndex] || [])[j.value.branchIndex] || [])[j.value.nutIndex] || null), Z = d(() => Zr.value), $r = d(() => X.value), ei = d(() => j.value.level === "nut" ? X.value : null), ti = d(() => qn.value);
975
976
  function Q() {
976
977
  if (j.value.level === "root") {
977
- A.value = mi(_i.value);
978
+ A.value = Jr(Zr.value);
978
979
  return;
979
980
  }
980
981
  if (j.value.level === "branch") {
981
- A.value = hi(X.value);
982
+ A.value = Yr(X.value);
982
983
  return;
983
984
  }
984
- j.value.level === "nut" && (A.value = gi(vi.value));
985
+ j.value.level === "nut" && (A.value = Xr(Qr.value));
985
986
  }
986
987
  function $() {
987
988
  j.value = {
@@ -992,23 +993,23 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
992
993
  locked: !1
993
994
  }, A.value = "";
994
995
  }
995
- function Si() {
996
- let e = Rr.value[j.value.rootIndex] || [];
996
+ function ni() {
997
+ let e = vr.value[j.value.rootIndex] || [];
997
998
  if (!e.length) {
998
999
  j.value.branchIndex = 0;
999
1000
  return;
1000
1001
  }
1001
1002
  j.value.branchIndex >= e.length && (j.value.branchIndex = 0), j.value.branchIndex < 0 && (j.value.branchIndex = e.length - 1);
1002
1003
  }
1003
- function Ci() {
1004
- let e = (zr.value[j.value.rootIndex] || [])[j.value.branchIndex] || [];
1004
+ function ri() {
1005
+ let e = (yr.value[j.value.rootIndex] || [])[j.value.branchIndex] || [];
1005
1006
  if (!e.length) {
1006
1007
  j.value.nutIndex = 0;
1007
1008
  return;
1008
1009
  }
1009
1010
  j.value.nutIndex >= e.length && (j.value.nutIndex = 0), j.value.nutIndex < 0 && (j.value.nutIndex = e.length - 1);
1010
1011
  }
1011
- function wi(e) {
1012
+ function ii(e) {
1012
1013
  if (j.value.level === "root") {
1013
1014
  let t = V.value.length;
1014
1015
  if (!t) return;
@@ -1016,21 +1017,21 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
1016
1017
  return;
1017
1018
  }
1018
1019
  if (j.value.level === "branch") {
1019
- j.value.branchIndex += e, Si(), j.value.nutIndex = 0, Q();
1020
+ j.value.branchIndex += e, ni(), j.value.nutIndex = 0, Q();
1020
1021
  return;
1021
1022
  }
1022
- j.value.level === "nut" && (j.value.nutIndex += e, Ci(), Q());
1023
+ j.value.level === "nut" && (j.value.nutIndex += e, ri(), Q());
1023
1024
  }
1024
- function Ti(e) {
1025
+ function ai(e) {
1025
1026
  if (e > 0) {
1026
1027
  if (j.value.level === "root") {
1027
- if (!(Rr.value[j.value.rootIndex] || []).length) return;
1028
+ if (!(vr.value[j.value.rootIndex] || []).length) return;
1028
1029
  j.value.level = "branch", j.value.branchIndex = 0, j.value.nutIndex = 0, Q();
1029
1030
  return;
1030
1031
  }
1031
1032
  if (j.value.level === "branch") {
1032
- if (!((zr.value[j.value.rootIndex] || [])[j.value.branchIndex] || []).length) return;
1033
- j.value.level = "nut", j.value.nutIndex = 0, X.value ? Vr(X.value) : Q();
1033
+ if (!((yr.value[j.value.rootIndex] || [])[j.value.branchIndex] || []).length) return;
1034
+ j.value.level = "nut", j.value.nutIndex = 0, X.value ? xr(X.value) : Q();
1034
1035
  return;
1035
1036
  }
1036
1037
  return;
@@ -1041,120 +1042,120 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
1041
1042
  }
1042
1043
  j.value.level === "branch" && (W.value = null, G.value = null, j.value.level = "root", j.value.nutIndex = 0, Q());
1043
1044
  }
1044
- function Ei() {
1045
- if (j.value.level === "root" && _i.value) {
1046
- Ur(_i.value), A.value = `${mi(_i.value)} selected.`;
1045
+ function oi() {
1046
+ if (j.value.level === "root" && Zr.value) {
1047
+ Cr(Zr.value), A.value = `${Jr(Zr.value)} selected.`;
1047
1048
  return;
1048
1049
  }
1049
1050
  if (j.value.level === "branch" && X.value) {
1050
- Hr(X.value), A.value = `${hi(X.value)} selected.`;
1051
+ Sr(X.value), A.value = `${Yr(X.value)} selected.`;
1051
1052
  return;
1052
1053
  }
1053
- j.value.level === "nut" && X.value && vi.value && (Vr(X.value), A.value = `${gi(vi.value)} details opened.`);
1054
+ j.value.level === "nut" && X.value && Qr.value && (xr(X.value), A.value = `${Xr(Qr.value)} details opened.`);
1054
1055
  }
1055
- function Di() {
1056
- pr.value = !0, k.value = !1;
1056
+ function si() {
1057
+ qn.value = !0, k.value = !1;
1057
1058
  }
1058
- function Oi() {
1059
- pr.value = !1, k.value = !1, A.value = "", !G.value && !W.value && !H.value && $();
1059
+ function ci() {
1060
+ qn.value = !1, k.value = !1, A.value = "", !G.value && !W.value && !H.value && $();
1060
1061
  }
1061
- function ki(e) {
1062
+ function li(e) {
1062
1063
  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";
1063
1064
  if (!(!t && !n && !r && !i && !a && !o)) {
1064
- if (e.preventDefault(), e.stopPropagation(), pr.value ||= !0, o) {
1065
+ if (e.preventDefault(), e.stopPropagation(), qn.value ||= !0, o) {
1065
1066
  K(), $(), k.value = !1;
1066
1067
  return;
1067
1068
  }
1068
1069
  if ((t || n || r || i) && (k.value = !0), t) {
1069
- wi(-1);
1070
+ ii(-1);
1070
1071
  return;
1071
1072
  }
1072
1073
  if (n) {
1073
- wi(1);
1074
+ ii(1);
1074
1075
  return;
1075
1076
  }
1076
1077
  if (r) {
1077
- Ti(-1);
1078
+ ai(-1);
1078
1079
  return;
1079
1080
  }
1080
1081
  if (i) {
1081
- Ti(1);
1082
+ ai(1);
1082
1083
  return;
1083
1084
  }
1084
- a && Ei();
1085
+ a && oi();
1085
1086
  }
1086
1087
  }
1087
- let Ai = f(() => ({
1088
+ let ui = d(() => ({
1088
1089
  headers: Y.value.head,
1089
1090
  rows: Y.value.body.map((e) => [
1090
1091
  e.rootName,
1091
1092
  e.rootValue,
1092
- l({
1093
+ i({
1093
1094
  v: e.rootToTotal * 100,
1094
1095
  s: "%",
1095
1096
  r: M.value.table.td.roundingPercentage
1096
1097
  }),
1097
1098
  e.branchName,
1098
1099
  e.branchValue,
1099
- l({
1100
+ i({
1100
1101
  v: e.branchToRoot * 100,
1101
1102
  s: "%",
1102
1103
  r: M.value.table.td.roundingPercentage
1103
1104
  }),
1104
- l({
1105
+ i({
1105
1106
  v: e.branchToTotal * 100,
1106
1107
  s: "%",
1107
1108
  r: M.value.table.td.roundingPercentage
1108
1109
  }),
1109
1110
  e.nutName,
1110
1111
  e.nutValue,
1111
- l({
1112
+ i({
1112
1113
  v: e.nutToBranch * 100,
1113
1114
  s: "%",
1114
1115
  r: M.value.table.td.roundingPercentage
1115
1116
  }),
1116
- l({
1117
+ i({
1117
1118
  v: e.nutToRoot * 100,
1118
1119
  s: "%",
1119
1120
  r: M.value.table.td.roundingPercentage
1120
1121
  }),
1121
- l({
1122
+ i({
1122
1123
  v: e.nutToTotal * 100,
1123
1124
  s: "%",
1124
1125
  r: M.value.table.td.roundingPercentage
1125
1126
  })
1126
1127
  ])
1127
1128
  }));
1128
- return ye({
1129
- getData: jr,
1130
- getImage: ei,
1131
- generatePdf: wr,
1132
- generateCsv: Jr,
1133
- generateImage: Tr,
1134
- generateSvg: di,
1135
- toggleTable: Zr,
1136
- toggleAnnotator: $r,
1137
- toggleFullscreen: Xr,
1138
- copyAlt: pi
1139
- }), (e, n) => (b(), m("div", {
1140
- class: _(`vue-data-ui-component vue-ui-chestnut ${Yr.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
1129
+ return be({
1130
+ getData: dr,
1131
+ getImage: Pr,
1132
+ generatePdf: ir,
1133
+ generateCsv: Or,
1134
+ generateImage: ar,
1135
+ generateSvg: Gr,
1136
+ toggleTable: jr,
1137
+ toggleAnnotator: Nr,
1138
+ toggleFullscreen: Ar,
1139
+ copyAlt: qr
1140
+ }), (e, t) => (b(), p("div", {
1141
+ class: _(`vue-data-ui-component vue-ui-chestnut ${kr.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
1141
1142
  ref_key: "chestnutChart",
1142
- ref: sr,
1143
+ ref: Vn,
1143
1144
  id: `vue-ui-chestnut_${O.value}`,
1144
1145
  style: y(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${M.value.style.chart.backgroundColor}`),
1145
- onMouseenter: n[12] ||= () => T(vr)(!0),
1146
- onMouseleave: n[13] ||= () => T(vr)(!1)
1146
+ onMouseenter: t[12] ||= () => T(Qn)(!0),
1147
+ onMouseleave: t[13] ||= () => T(Qn)(!1)
1147
1148
  }, [
1148
- h("div", {
1149
+ m("div", {
1149
1150
  id: `chart-instructions-${O.value}`,
1150
1151
  class: "sr-only"
1151
- }, [h("p", null, w(M.value.a11y.translations.keyboardNavigation), 1)], 8, Be),
1152
- h("div", Ve, w(A.value), 1),
1153
- Ai.value?.rows?.length ? (b(), Te(be, {
1152
+ }, [m("p", null, w(M.value.a11y.translations.keyboardNavigation), 1)], 8, Ve),
1153
+ m("div", He, w(A.value), 1),
1154
+ ui.value?.rows?.length ? (b(), De(Se, {
1154
1155
  key: 0,
1155
1156
  uid: O.value,
1156
- head: Ai.value.headers,
1157
- body: Ai.value.rows,
1157
+ head: ui.value.headers,
1158
+ body: ui.value.rows,
1158
1159
  notice: M.value.a11y.translations.tableAvailable,
1159
1160
  caption: M.value.a11y.translations.tableCaption
1160
1161
  }, null, 8, [
@@ -1163,15 +1164,15 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
1163
1164
  "body",
1164
1165
  "notice",
1165
1166
  "caption"
1166
- ])) : p("", !0),
1167
- M.value.userOptions.buttons.annotator ? (b(), Te(T($n), {
1167
+ ])) : f("", !0),
1168
+ M.value.userOptions.buttons.annotator ? (b(), De(T(Nn), {
1168
1169
  key: 1,
1169
- svgRef: T(br),
1170
+ svgRef: T(er),
1170
1171
  backgroundColor: M.value.style.chart.backgroundColor,
1171
1172
  color: M.value.style.chart.color,
1172
- active: Qr.value,
1173
+ active: Mr.value,
1173
1174
  isCursorPointer: N.value,
1174
- onClose: $r
1175
+ onClose: Nr
1175
1176
  }, {
1176
1177
  "annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1177
1178
  "annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", v(g({ color: t })), void 0, !0)]),
@@ -1186,16 +1187,16 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
1186
1187
  "color",
1187
1188
  "active",
1188
1189
  "isCursorPointer"
1189
- ])) : p("", !0),
1190
- Er.value ? (b(), m("div", He, null, 512)) : p("", !0),
1191
- M.value.userOptions.show && or.value && (T(yr) || T(_r)) ? (b(), Te(T(er), {
1190
+ ])) : f("", !0),
1191
+ or.value ? (b(), p("div", Ue, null, 512)) : f("", !0),
1192
+ M.value.userOptions.show && Bn.value && (T($n) || T(Zn)) ? (b(), De(T(Pn), {
1192
1193
  ref_key: "userOptionsRef",
1193
- ref: ur,
1194
- key: `user_options_${cr.value}`,
1194
+ ref: Wn,
1195
+ key: `user_options_${Hn.value}`,
1195
1196
  backgroundColor: M.value.style.chart.backgroundColor,
1196
1197
  color: M.value.style.chart.color,
1197
- isImaging: T(Cr),
1198
- isPrinting: T(Sr),
1198
+ isImaging: T(rr),
1199
+ isPrinting: T(nr),
1199
1200
  uid: O.value,
1200
1201
  hasPdf: M.value.userOptions.buttons.pdf,
1201
1202
  hasImg: M.value.userOptions.buttons.img,
@@ -1204,26 +1205,26 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
1204
1205
  hasTable: M.value.userOptions.buttons.table,
1205
1206
  hasFullscreen: M.value.userOptions.buttons.fullscreen,
1206
1207
  hasAltCopy: M.value.userOptions.buttons.altCopy,
1207
- isFullscreen: Yr.value,
1208
+ isFullscreen: kr.value,
1208
1209
  titles: { ...M.value.userOptions.buttonTitles },
1209
- chartElement: sr.value,
1210
+ chartElement: Vn.value,
1210
1211
  position: M.value.userOptions.position,
1211
1212
  hasAnnotator: M.value.userOptions.buttons.annotator,
1212
- isAnnotation: Qr.value,
1213
+ isAnnotation: Mr.value,
1213
1214
  callbacks: M.value.userOptions.callbacks,
1214
1215
  printScale: M.value.userOptions.print.scale,
1215
1216
  tableDialog: M.value.table.useDialog,
1216
1217
  isCursorPointer: N.value,
1217
- onToggleFullscreen: Xr,
1218
- onGeneratePdf: T(wr),
1219
- onGenerateCsv: Jr,
1220
- onGenerateImage: fi,
1221
- onGenerateSvg: di,
1222
- onToggleTable: Zr,
1223
- onToggleAnnotator: $r,
1224
- onCopyAlt: pi,
1225
- style: y({ visibility: T(yr) ? T(_r) ? "visible" : "hidden" : "visible" })
1226
- }, Ee({ _: 2 }, [
1218
+ onToggleFullscreen: Ar,
1219
+ onGeneratePdf: T(ir),
1220
+ onGenerateCsv: Or,
1221
+ onGenerateImage: Kr,
1222
+ onGenerateSvg: Gr,
1223
+ onToggleTable: jr,
1224
+ onToggleAnnotator: Nr,
1225
+ onCopyAlt: qr,
1226
+ style: y({ visibility: T($n) ? T(Zn) ? "visible" : "hidden" : "visible" })
1227
+ }, Oe({ _: 2 }, [
1227
1228
  e.$slots.menuIcon ? {
1228
1229
  name: "menuIcon",
1229
1230
  fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", v(g({
@@ -1313,34 +1314,34 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
1313
1314
  "isCursorPointer",
1314
1315
  "onGeneratePdf",
1315
1316
  "style"
1316
- ])) : p("", !0),
1317
- h("div", Ue, [P.value.height > 0 ? (b(), m("svg", {
1317
+ ])) : f("", !0),
1318
+ m("div", We, [P.value.height > 0 ? (b(), p("svg", {
1318
1319
  key: 0,
1319
1320
  ref_key: "svgRef",
1320
- ref: br,
1321
- xmlns: T(ce),
1321
+ ref: er,
1322
+ xmlns: T(ue),
1322
1323
  "aria-describedby": `chart-instructions-${O.value}`,
1323
1324
  class: _({
1324
- "vue-data-ui-fullscreen--on": Yr.value,
1325
- "vue-data-ui-fulscreen--off": !Yr.value
1325
+ "vue-data-ui-fullscreen--on": kr.value,
1326
+ "vue-data-ui-fulscreen--off": !kr.value
1326
1327
  }),
1327
1328
  viewBox: `0 0 ${P.value.width <= 0 ? 10 : P.value.width} ${P.value.height <= 0 ? 10 : P.value.height}`,
1328
1329
  style: y(`overflow:visible;background:transparent;color:${M.value.style.chart.color}`),
1329
1330
  tabindex: "0",
1330
- onFocus: Di,
1331
- onBlur: Oi,
1332
- onKeydown: ki
1331
+ onFocus: si,
1332
+ onBlur: ci,
1333
+ onKeydown: li
1333
1334
  }, [
1334
- Oe(T(tr)),
1335
- e.$slots["chart-background"] ? (b(), m("foreignObject", {
1335
+ h(T(Fn)),
1336
+ e.$slots["chart-background"] ? (b(), p("foreignObject", {
1336
1337
  key: 0,
1337
1338
  x: 0,
1338
1339
  y: 0,
1339
1340
  width: P.value.width <= 0 ? 10 : P.value.width,
1340
1341
  height: P.value.height <= 0 ? 10 : P.value.height,
1341
1342
  style: { pointerEvents: "none" }
1342
- }, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Ge)) : p("", !0),
1343
- H.value ? p("", !0) : (b(), m("g", Ke, [M.value.style.chart.layout.title.text ? (b(), m("text", {
1343
+ }, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Ke)) : f("", !0),
1344
+ H.value ? f("", !0) : (b(), p("g", qe, [M.value.style.chart.layout.title.text ? (b(), p("text", {
1344
1345
  key: 0,
1345
1346
  "text-anchor": "middle",
1346
1347
  fill: M.value.style.chart.layout.title.color,
@@ -1348,10 +1349,10 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
1348
1349
  "font-size": M.value.style.chart.layout.title.fontSize,
1349
1350
  x: P.value.width / 2,
1350
1351
  y: 12 + M.value.style.chart.layout.title.fontSize + M.value.style.chart.layout.title.offsetY,
1351
- onClick: n[0] ||= () => {
1352
+ onClick: t[0] ||= () => {
1352
1353
  K(), $(), k.value = !1;
1353
1354
  }
1354
- }, w(M.value.style.chart.layout.title.text), 9, qe)) : p("", !0), M.value.style.chart.layout.title.subtitle.text ? (b(), m("text", {
1355
+ }, w(M.value.style.chart.layout.title.text), 9, Je)) : f("", !0), M.value.style.chart.layout.title.subtitle.text ? (b(), p("text", {
1355
1356
  key: 1,
1356
1357
  "text-anchor": "middle",
1357
1358
  fill: M.value.style.chart.layout.title.subtitle.color,
@@ -1359,155 +1360,186 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
1359
1360
  "font-size": M.value.style.chart.layout.title.subtitle.fontSize,
1360
1361
  x: P.value.width / 2,
1361
1362
  y: 48 + M.value.style.chart.layout.title.subtitle.fontSize + M.value.style.chart.layout.title.subtitle.offsetY,
1362
- onClick: n[1] ||= () => {
1363
+ onClick: t[1] ||= () => {
1363
1364
  K(), $(), k.value = !1;
1364
1365
  }
1365
- }, w(M.value.style.chart.layout.title.subtitle.text), 9, Je)) : p("", !0)])),
1366
- h("defs", null, [
1367
- (b(!0), m(d, null, S(L.value, (e, t) => (b(), m("radialGradient", {
1366
+ }, w(M.value.style.chart.layout.title.subtitle.text), 9, Ye)) : f("", !0)])),
1367
+ m("defs", null, [
1368
+ (b(!0), p(u, null, S(L.value, (e, t) => (b(), De(xe, {
1369
+ t: "radial",
1368
1370
  cx: "50%",
1369
1371
  cy: "50%",
1370
1372
  r: "50%",
1371
1373
  fx: "50%",
1372
1374
  fy: "50%",
1373
- id: `root_gradient_${O.value}_${e.rootIndex}`
1374
- }, [h("stop", {
1375
- offset: "0%",
1376
- "stop-color": T(r)(T(o)(e.color, .05), 100 - M.value.style.chart.layout.roots.gradientIntensity)
1377
- }, null, 8, Xe), h("stop", {
1378
- offset: "100%",
1379
- "stop-color": e.color
1380
- }, null, 8, Ze)], 8, Ye))), 256)),
1381
- (b(!0), m(d, null, S(L.value, (e) => (b(), m("linearGradient", {
1375
+ id: `root_gradient_${O.value}_${e.rootIndex}`,
1376
+ key: `root_gradient_${O.value}_${e.rootIndex}`,
1377
+ stops: [[
1378
+ "0%",
1379
+ T(s)(T(de)(e.color, .05), 100 - M.value.style.chart.layout.roots.gradientIntensity),
1380
+ 1
1381
+ ], [
1382
+ "100%",
1383
+ e.color,
1384
+ 1
1385
+ ]]
1386
+ }, null, 8, ["id", "stops"]))), 128)),
1387
+ (b(!0), p(u, null, S(L.value, (e) => (b(), De(xe, {
1388
+ t: "linear",
1382
1389
  x1: "0%",
1383
1390
  y1: "0%",
1384
1391
  x2: "100%",
1385
1392
  y2: "0%",
1386
- id: `branch_gradient_${O.value}_${e.rootIndex}`
1387
- }, [h("stop", {
1388
- offset: "0%",
1389
- "stop-color": e.color
1390
- }, null, 8, $e), h("stop", {
1391
- offset: "100%",
1392
- "stop-color": T(r)(T(o)(e.color, .02), 100 - M.value.style.chart.layout.branches.gradientIntensity)
1393
- }, null, 8, et)], 8, Qe))), 256)),
1394
- h("radialGradient", {
1393
+ id: `branch_gradient_${O.value}_${e.rootIndex}`,
1394
+ key: `branch_gradient_${O.value}_${e.rootIndex}`,
1395
+ stops: [[
1396
+ "0%",
1397
+ e.color,
1398
+ 1
1399
+ ], [
1400
+ "100%",
1401
+ T(s)(T(de)(e.color, .02), 100 - M.value.style.chart.layout.branches.gradientIntensity),
1402
+ 1
1403
+ ]]
1404
+ }, null, 8, ["id", "stops"]))), 128)),
1405
+ h(xe, {
1406
+ t: "radial",
1395
1407
  cx: "50%",
1396
1408
  cy: "50%",
1397
1409
  r: "50%",
1398
1410
  fx: "50%",
1399
1411
  fy: "50%",
1400
- id: `nutpick_${O.value}`
1401
- }, [
1402
- h("stop", {
1403
- offset: "0%",
1404
- "stop-color": T(r)("#FFFFFF", 0)
1405
- }, null, 8, nt),
1406
- h("stop", {
1407
- offset: "80%",
1408
- "stop-color": T(r)("#FFFFFF", M.value.style.chart.layout.nuts.selected.gradientIntensity)
1409
- }, null, 8, rt),
1410
- h("stop", {
1411
- offset: "100%",
1412
- "stop-color": T(r)("#FFFFFF", 0)
1413
- }, null, 8, it)
1414
- ], 8, tt),
1415
- h("radialGradient", {
1412
+ id: `nutpick_${O.value}`,
1413
+ stops: [
1414
+ [
1415
+ "0%",
1416
+ T(s)("#FFFFFF", 0),
1417
+ 0
1418
+ ],
1419
+ [
1420
+ "80%",
1421
+ T(s)("#FFFFFF", M.value.style.chart.layout.nuts.selected.gradientIntensity),
1422
+ 1
1423
+ ],
1424
+ [
1425
+ "100%",
1426
+ T(s)("#FFFFFF", 0),
1427
+ 0
1428
+ ]
1429
+ ]
1430
+ }, null, 8, ["id", "stops"]),
1431
+ h(xe, {
1432
+ t: "radial",
1416
1433
  cx: "50%",
1417
1434
  cy: "50%",
1418
1435
  r: "50%",
1419
1436
  fx: "50%",
1420
1437
  fy: "50%",
1421
- id: `nut_${O.value}`
1422
- }, [
1423
- h("stop", {
1424
- offset: "0%",
1425
- "stop-color": T(r)("#FFFFFF", 0)
1426
- }, null, 8, ot),
1427
- h("stop", {
1428
- offset: "80%",
1429
- "stop-color": T(r)("#FFFFFF", M.value.style.chart.layout.nuts.gradientIntensity)
1430
- }, null, 8, st),
1431
- h("stop", {
1432
- offset: "100%",
1433
- "stop-color": T(r)("#FFFFFF", 0)
1434
- }, null, 8, ct)
1435
- ], 8, at),
1436
- h("radialGradient", {
1438
+ id: `nut_${O.value}`,
1439
+ stops: [
1440
+ [
1441
+ "0%",
1442
+ T(s)("#FFFFFF", 0),
1443
+ 0
1444
+ ],
1445
+ [
1446
+ "80%",
1447
+ T(s)("#FFFFFF", M.value.style.chart.layout.nuts.gradientIntensity),
1448
+ 1
1449
+ ],
1450
+ [
1451
+ "100%",
1452
+ T(s)("#FFFFFF", 0),
1453
+ 0
1454
+ ]
1455
+ ]
1456
+ }, null, 8, ["id", "stops"]),
1457
+ h(xe, {
1458
+ t: "radial",
1437
1459
  cx: "50%",
1438
1460
  cy: "50%",
1439
1461
  r: "50%",
1440
1462
  fx: "50%",
1441
1463
  fy: "50%",
1442
- id: `nut_underlayer_${O.value}`
1443
- }, [
1444
- h("stop", {
1445
- offset: "0%",
1446
- "stop-color": T(r)(M.value.style.chart.backgroundColor, 100)
1447
- }, null, 8, ut),
1448
- h("stop", {
1449
- offset: "80%",
1450
- "stop-color": T(r)(M.value.style.chart.backgroundColor, 60)
1451
- }, null, 8, dt),
1452
- h("stop", {
1453
- offset: "100%",
1454
- "stop-color": T(r)(M.value.style.chart.backgroundColor, 0)
1455
- }, null, 8, ft)
1456
- ], 8, lt)
1464
+ id: `nut_underlayer_${O.value}`,
1465
+ stops: [
1466
+ [
1467
+ "0%",
1468
+ T(s)(M.value.style.chart.backgroundColor, 100),
1469
+ 1
1470
+ ],
1471
+ [
1472
+ "80%",
1473
+ T(s)(M.value.style.chart.backgroundColor, 60),
1474
+ 1
1475
+ ],
1476
+ [
1477
+ "100%",
1478
+ T(s)(M.value.style.chart.backgroundColor, 0),
1479
+ 1
1480
+ ]
1481
+ ]
1482
+ }, null, 8, ["id", "stops"])
1457
1483
  ]),
1458
- M.value.style.chart.layout.grandTotal.show ? (b(), m("g", pt, [h("text", {
1484
+ M.value.style.chart.layout.grandTotal.show ? (b(), p("g", Xe, [m("text", {
1459
1485
  x: F.value.seedX,
1460
1486
  y: 32 + M.value.style.chart.layout.grandTotal.offsetY,
1461
1487
  "font-size": M.value.style.chart.layout.grandTotal.fontSize,
1462
1488
  "font-weight": M.value.style.chart.layout.grandTotal.bold ? "bold" : "normal",
1463
1489
  fill: M.value.style.chart.layout.grandTotal.color,
1464
1490
  "text-anchor": "middle",
1465
- onClick: n[2] ||= () => {
1491
+ onClick: t[2] ||= () => {
1466
1492
  K(), $(), k.value = !1;
1467
1493
  }
1468
- }, w(M.value.style.chart.layout.grandTotal.text), 9, mt), h("text", {
1494
+ }, w(M.value.style.chart.layout.grandTotal.text), 9, Ze), m("text", {
1469
1495
  x: F.value.seedX,
1470
1496
  y: 38 + M.value.style.chart.layout.grandTotal.fontSize + M.value.style.chart.layout.grandTotal.offsetY,
1471
1497
  "font-size": M.value.style.chart.layout.grandTotal.fontSize,
1472
1498
  "font-weight": M.value.style.chart.layout.grandTotal.bold ? "bold" : "normal",
1473
1499
  fill: M.value.style.chart.layout.grandTotal.color,
1474
1500
  "text-anchor": "middle",
1475
- onClick: n[3] ||= () => {
1501
+ onClick: t[3] ||= () => {
1476
1502
  K(), $(), k.value = !1;
1477
1503
  }
1478
- }, w(T(s)(M.value.style.chart.layout.grandTotal.formatter, I.value, T(l)({
1504
+ }, w(T(c)(M.value.style.chart.layout.grandTotal.formatter, I.value, T(i)({
1479
1505
  p: M.value.style.chart.layout.grandTotal.prefix,
1480
1506
  v: I.value,
1481
1507
  s: M.value.style.chart.layout.grandTotal.suffix,
1482
1508
  r: M.value.style.chart.layout.grandTotal.roundingValue
1483
- }))), 9, ht)])) : p("", !0),
1484
- (b(!0), m(d, null, S(B.value, (e) => (b(), m("g", null, [h("defs", null, [h("linearGradient", { id: `link_grad_${e.id}` }, [h("stop", {
1485
- offset: "0%",
1486
- "stop-color": e.color
1487
- }, null, 8, _t), h("stop", {
1488
- offset: "100%",
1489
- "stop-color": T(r)(e.color, M.value.style.chart.layout.links.opacity)
1490
- }, null, 8, vt)], 8, gt)]), h("path", {
1491
- d: ti(e),
1492
- stroke: T(r)(e.color, M.value.style.chart.layout.links.opacity),
1509
+ }))), 9, Qe)])) : f("", !0),
1510
+ (b(!0), p(u, null, S(B.value, (e) => (b(), p("g", null, [m("defs", null, [h(xe, {
1511
+ t: "linear",
1512
+ id: `link_grad_${e.id}`,
1513
+ stops: [[
1514
+ "0%",
1515
+ e.color,
1516
+ 1
1517
+ ], [
1518
+ "100%",
1519
+ T(s)(e.color, M.value.style.chart.layout.links.opacity),
1520
+ 1
1521
+ ]]
1522
+ }, null, 8, ["id", "stops"])]), m("path", {
1523
+ d: Fr(e),
1524
+ stroke: T(s)(e.color, M.value.style.chart.layout.links.opacity),
1493
1525
  fill: `url(#link_grad_${e.id})`,
1494
1526
  "stroke-linecap": "round",
1495
1527
  "stroke-linejoin": "round",
1496
1528
  style: y(`opacity:${+!!q(e)}`),
1497
- onClick: n[4] ||= () => {
1529
+ onClick: t[4] ||= () => {
1498
1530
  K(), $(), k.value = !1;
1499
1531
  }
1500
- }, null, 12, yt)]))), 256)),
1501
- (b(!0), m(d, null, S(z.value, (e) => (b(), m("circle", {
1532
+ }, null, 12, $e)]))), 256)),
1533
+ (b(!0), p(u, null, S(z.value, (e) => (b(), p("circle", {
1502
1534
  cx: e.x,
1503
1535
  cy: e.y,
1504
1536
  r: e.r,
1505
1537
  fill: M.value.style.chart.layout.roots.underlayerColor,
1506
1538
  stroke: "none",
1507
1539
  style: y(`cursor:${N.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`)
1508
- }, null, 12, bt))), 256)),
1509
- (b(!0), m(d, null, S(z.value, (e, t) => (b(), m("circle", {
1510
- "aria-label": mi(e),
1540
+ }, null, 12, et))), 256)),
1541
+ (b(!0), p(u, null, S(z.value, (e, t) => (b(), p("circle", {
1542
+ "aria-label": Jr(e),
1511
1543
  cx: e.x,
1512
1544
  cy: e.y,
1513
1545
  r: e.r,
@@ -1515,34 +1547,34 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
1515
1547
  stroke: M.value.style.chart.layout.roots.stroke,
1516
1548
  "stroke-width": M.value.style.chart.layout.roots.strokeWidth,
1517
1549
  style: y(`cursor:${N.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`),
1518
- onClick: (t) => Ur(e)
1519
- }, null, 12, xt))), 256)),
1520
- M.value.style.chart.layout.roots.labels.show ? (b(), m("g", St, [(b(!0), m(d, null, S(z.value, (e, t) => (b(), m("text", {
1550
+ onClick: (t) => Cr(e)
1551
+ }, null, 12, tt))), 256)),
1552
+ M.value.style.chart.layout.roots.labels.show ? (b(), p("g", nt, [(b(!0), p(u, null, S(z.value, (e, t) => (b(), p("text", {
1521
1553
  x: e.x,
1522
1554
  y: e.y + M.value.style.chart.layout.roots.labels.fontSize / 2.6,
1523
1555
  "text-anchor": "middle",
1524
1556
  "font-size": M.value.style.chart.layout.roots.labels.fontSize,
1525
- fill: M.value.style.chart.layout.roots.labels.adaptColorToBackground ? T(se)(e.color) : M.value.style.chart.layout.roots.labels.color,
1557
+ fill: M.value.style.chart.layout.roots.labels.adaptColorToBackground ? T(le)(e.color) : M.value.style.chart.layout.roots.labels.color,
1526
1558
  "font-weight": "bold",
1527
1559
  style: y(`cursor:${N.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`),
1528
- onClick: (t) => Ur(e)
1529
- }, w(T(s)(M.value.style.chart.layout.roots.labels.formatter, e.total, T(l)({
1560
+ onClick: (t) => Cr(e)
1561
+ }, w(T(c)(M.value.style.chart.layout.roots.labels.formatter, e.total, T(i)({
1530
1562
  p: M.value.style.chart.layout.roots.labels.prefix,
1531
1563
  v: e.total,
1532
1564
  s: M.value.style.chart.layout.roots.labels.suffix,
1533
1565
  r: M.value.style.chart.layout.roots.labels.roundingValue
1534
- }), { datapoint: e })), 13, Ct))), 256)), (b(!0), m(d, null, S(z.value, (e) => (b(), m("g", null, [H.value && e.rootIndex === H.value.rootIndex || W.value && e.rootIndex === W.value.rootIndex || G.value && e.rootIndex === G.value.rootIndex ? (b(), m("g", wt, [h("text", {
1566
+ }), { datapoint: e })), 13, rt))), 256)), (b(!0), p(u, null, S(z.value, (e) => (b(), p("g", null, [H.value && e.rootIndex === H.value.rootIndex || W.value && e.rootIndex === W.value.rootIndex || G.value && e.rootIndex === G.value.rootIndex ? (b(), p("g", it, [m("text", {
1535
1567
  x: e.x,
1536
1568
  y: e.y + e.r + 24,
1537
1569
  "text-anchor": "middle",
1538
1570
  fill: M.value.style.chart.layout.roots.labels.name.color,
1539
1571
  "font-size": M.value.style.chart.layout.roots.labels.name.fontSize,
1540
1572
  "font-weight": M.value.style.chart.layout.roots.labels.name.bold ? "bold" : "normal",
1541
- onClick: n[5] ||= () => {
1573
+ onClick: t[5] ||= () => {
1542
1574
  K(), $(), k.value = !1;
1543
1575
  }
1544
- }, w(e.name), 9, Tt)])) : p("", !0)]))), 256))])) : p("", !0),
1545
- (b(!0), m(d, null, S(B.value, (e) => (b(), m("rect", {
1576
+ }, w(e.name), 9, at)])) : f("", !0)]))), 256))])) : f("", !0),
1577
+ (b(!0), p(u, null, S(B.value, (e) => (b(), p("rect", {
1546
1578
  x: e.x1,
1547
1579
  y: e.y1,
1548
1580
  height: P.value.branchSize,
@@ -1551,10 +1583,10 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
1551
1583
  rx: M.value.style.chart.layout.branches.borderRadius,
1552
1584
  stroke: "none",
1553
1585
  style: y(`opacity:${q(e) ? 1 : .05}`),
1554
- onClick: (t) => Hr(e)
1555
- }, null, 12, Et))), 256)),
1556
- (b(!0), m(d, null, S(B.value, (e, t) => (b(), m("rect", {
1557
- "aria-label": hi(e),
1586
+ onClick: (t) => Sr(e)
1587
+ }, null, 12, ot))), 256)),
1588
+ (b(!0), p(u, null, S(B.value, (e, t) => (b(), p("rect", {
1589
+ "aria-label": Yr(e),
1558
1590
  x: e.x1,
1559
1591
  y: e.y1,
1560
1592
  height: P.value.branchSize,
@@ -1564,43 +1596,43 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
1564
1596
  stroke: M.value.style.chart.layout.branches.stroke,
1565
1597
  "stroke-width": M.value.style.chart.layout.branches.strokeWidth,
1566
1598
  style: y(`cursor:${N.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`),
1567
- onClick: (t) => Hr(e)
1568
- }, null, 12, Dt))), 256)),
1569
- M.value.style.chart.layout.branches.labels.dataLabels.show ? (b(), m("g", Ot, [(b(!0), m(d, null, S(B.value, (e) => (b(), m("g", null, [e.proportionToRoot * 100 > M.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (b(), m("text", {
1599
+ onClick: (t) => Sr(e)
1600
+ }, null, 12, st))), 256)),
1601
+ M.value.style.chart.layout.branches.labels.dataLabels.show ? (b(), p("g", ct, [(b(!0), p(u, null, S(B.value, (e) => (b(), p("g", null, [e.proportionToRoot * 100 > M.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (b(), p("text", {
1570
1602
  key: 0,
1571
1603
  x: e.x1 + 6,
1572
1604
  y: e.y1 + P.value.branchSize / 1.5,
1573
1605
  "text-anchor": "start",
1574
- fill: T(se)(e.color),
1606
+ fill: T(le)(e.color),
1575
1607
  "font-size": M.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1576
1608
  "font-weight": "bold",
1577
1609
  style: y(`cursor:${N.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`),
1578
- onClick: (t) => Hr(e)
1579
- }, w(T(s)(M.value.style.chart.layout.branches.labels.dataLabels.formatter, e.value, T(l)({
1610
+ onClick: (t) => Sr(e)
1611
+ }, w(T(c)(M.value.style.chart.layout.branches.labels.dataLabels.formatter, e.value, T(i)({
1580
1612
  p: M.value.style.chart.layout.branches.labels.dataLabels.prefix,
1581
1613
  v: e.value,
1582
1614
  s: M.value.style.chart.layout.branches.labels.dataLabels.suffix,
1583
1615
  r: M.value.style.chart.layout.branches.labels.dataLabels.roundingValue
1584
- }), { datapoint: e })), 13, kt)) : p("", !0)]))), 256))])) : p("", !0),
1585
- (b(!0), m(d, null, S(B.value, (e, n) => (b(), m("g", null, [(b(!0), m(d, null, S(T(t)({
1616
+ }), { datapoint: e })), 13, lt)) : f("", !0)]))), 256))])) : f("", !0),
1617
+ (b(!0), p(u, null, S(B.value, (e, t) => (b(), p("g", null, [(b(!0), p(u, null, S(T(n)({
1586
1618
  series: e.breakdown,
1587
1619
  base: 1
1588
- }, e.x2 + 24 + M.value.style.chart.layout.nuts.offsetX, e.y1 + P.value.branchSize / 2, P.value.branchSize / 3, P.value.branchSize / 3), (t, n) => (b(), m("path", {
1620
+ }, e.x2 + 24 + M.value.style.chart.layout.nuts.offsetX, e.y1 + P.value.branchSize / 2, P.value.branchSize / 3, P.value.branchSize / 3), (t, n) => (b(), p("path", {
1589
1621
  d: t.path,
1590
1622
  stroke: t.color,
1591
1623
  "stroke-width": 10,
1592
1624
  fill: "none",
1593
1625
  style: y(`opacity:${q(e) ? 1 : .1}`)
1594
- }, null, 12, At))), 256)), h("circle", {
1626
+ }, null, 12, ut))), 256)), m("circle", {
1595
1627
  "aria-label": `Open details for branch ${e.name} in root ${e.rootName}`,
1596
1628
  fill: M.value.style.chart.layout.nuts.useGradient ? `url(#nut_${O.value})` : "transparent",
1597
1629
  cx: e.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
1598
1630
  cy: e.y1 + P.value.branchSize / 2,
1599
1631
  r: P.value.branchSize / 2 + 2,
1600
- onClick: (t) => Vr(e),
1632
+ onClick: (t) => xr(e),
1601
1633
  style: y(`cursor:${N.value ? "pointer" : "default"};opacity:${q(e) ? 1 : .1}`)
1602
- }, null, 12, jt)]))), 256)),
1603
- M.value.style.chart.layout.branches.labels.show && !W.value ? (b(), m("g", Mt, [(b(!0), m(d, null, S(B.value, (e) => (b(), m("text", {
1634
+ }, null, 12, dt)]))), 256)),
1635
+ M.value.style.chart.layout.branches.labels.show && !W.value ? (b(), p("g", ft, [(b(!0), p(u, null, S(B.value, (e) => (b(), p("text", {
1604
1636
  x: e.x2 + P.value.branchSize + 24 + M.value.style.chart.layout.nuts.offsetX,
1605
1637
  y: e.y1 + P.value.branchSize / 2 + 5,
1606
1638
  "font-size": M.value.style.chart.layout.branches.labels.fontSize,
@@ -1608,16 +1640,16 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
1608
1640
  fill: M.value.style.chart.layout.branches.labels.color,
1609
1641
  "text-anchor": "start",
1610
1642
  style: y(`opacity:${q(e) ? 1 : .1}`)
1611
- }, w(e.name), 13, Nt))), 256))])) : p("", !0),
1612
- h("line", {
1643
+ }, w(e.name), 13, pt))), 256))])) : f("", !0),
1644
+ m("line", {
1613
1645
  x1: 256 + P.value.padding.left,
1614
1646
  x2: 256 + P.value.padding.left,
1615
1647
  y1: F.value.top,
1616
1648
  y2: F.value.bottom,
1617
1649
  stroke: M.value.style.chart.layout.verticalSeparator.stroke,
1618
1650
  "stroke-width": M.value.style.chart.layout.verticalSeparator.strokeWidth
1619
- }, null, 8, Pt),
1620
- !H.value && !W.value ? (b(), m("foreignObject", {
1651
+ }, null, 8, mt),
1652
+ !H.value && !W.value ? (b(), p("foreignObject", {
1621
1653
  key: 6,
1622
1654
  x: 0,
1623
1655
  y: F.value.bottom,
@@ -1625,61 +1657,61 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
1625
1657
  width: P.value.width,
1626
1658
  style: { overflow: "visible" },
1627
1659
  "data-no-svg-export": "",
1628
- onClick: n[6] ||= () => {
1660
+ onClick: t[6] ||= () => {
1629
1661
  K(), $(), k.value = !1;
1630
1662
  }
1631
- }, [h("div", It, [h("div", Lt, [(b(!0), m(d, null, S(z.value, (e) => (b(), m("div", { style: y(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${M.value.style.chart.layout.legend.fontSize}px;`) }, [(b(), m("svg", Rt, [h("circle", {
1663
+ }, [m("div", gt, [m("div", _t, [(b(!0), p(u, null, S(z.value, (e) => (b(), p("div", { style: y(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${M.value.style.chart.layout.legend.fontSize}px;`) }, [(b(), p("svg", vt, [m("circle", {
1632
1664
  cx: "10",
1633
1665
  cy: "10",
1634
1666
  r: "10",
1635
1667
  fill: e.color,
1636
1668
  stroke: "none"
1637
- }, null, 8, zt)])), T(hr) ? p("", !0) : (b(), m(d, { key: 0 }, [
1638
- h("span", null, w(e.name) + ":", 1),
1639
- h("b", null, w(T(s)(M.value.style.chart.layout.roots.labels.formatter, e.total, T(l)({
1669
+ }, null, 8, yt)])), T(Yn) ? f("", !0) : (b(), p(u, { key: 0 }, [
1670
+ m("span", null, w(e.name) + ":", 1),
1671
+ m("b", null, w(T(c)(M.value.style.chart.layout.roots.labels.formatter, e.total, T(i)({
1640
1672
  p: M.value.style.chart.layout.legend.prefix,
1641
1673
  v: e.total,
1642
1674
  s: M.value.style.chart.layout.legend.suffix,
1643
1675
  r: M.value.style.chart.layout.legend.roundingValue
1644
1676
  }), { datapoint: e })), 1),
1645
- De(" (" + w(T(l)({
1677
+ ke(" (" + w(T(i)({
1646
1678
  v: e.total / I.value * 100,
1647
1679
  s: "%",
1648
1680
  r: M.value.style.chart.layout.legend.roundingPercentage
1649
1681
  })) + ") ", 1)
1650
- ], 64))], 4))), 256))])])], 8, Ft)) : p("", !0),
1651
- H.value && U.value ? (b(), m("g", Bt, [
1652
- (b(), m("foreignObject", {
1682
+ ], 64))], 4))), 256))])])], 8, ht)) : f("", !0),
1683
+ H.value && U.value ? (b(), p("g", bt, [
1684
+ (b(), p("foreignObject", {
1653
1685
  x: 0,
1654
- y: Wr(),
1686
+ y: wr(),
1655
1687
  height: P.value.height - F.value.bottom,
1656
1688
  width: P.value.width,
1657
1689
  style: { overflow: "visible" },
1658
- onClick: n[7] ||= () => {
1690
+ onClick: t[7] ||= () => {
1659
1691
  K(), $(), k.value = !1;
1660
1692
  }
1661
- }, [h("div", Ht, [h("b", null, w(H.value.name), 1), h("div", Ut, [(b(!0), m(d, null, S(H.value.breakdown, (e, t) => (b(), m("div", { style: y(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${M.value.style.chart.layout.legend.fontSize}px;`) }, [(b(), m("svg", Wt, [h("circle", {
1693
+ }, [m("div", St, [m("b", null, w(H.value.name), 1), m("div", Ct, [(b(!0), p(u, null, S(H.value.breakdown, (e, t) => (b(), p("div", { style: y(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${M.value.style.chart.layout.legend.fontSize}px;`) }, [(b(), p("svg", wt, [m("circle", {
1662
1694
  cx: "10",
1663
1695
  cy: "10",
1664
1696
  r: "10",
1665
1697
  fill: e.color,
1666
1698
  stroke: "none"
1667
- }, null, 8, Gt)])), h("span", null, [
1668
- De(w(e.name) + ": ", 1),
1669
- h("b", null, w(M.value.style.chart.layout.legend.prefix) + " " + w(e.value.toFixed(M.value.style.chart.layout.nuts.selected.labels.roundingValue)) + " " + w(M.value.style.chart.layout.legend.suffix), 1),
1670
- De(" (" + w((e.proportionToBranch * 100).toFixed(M.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "%)", 1)
1671
- ])], 4))), 256))])])], 8, Vt)),
1672
- h("circle", {
1699
+ }, null, 8, Tt)])), m("span", null, [
1700
+ ke(w(e.name) + ": ", 1),
1701
+ m("b", null, w(M.value.style.chart.layout.legend.prefix) + " " + w(e.value.toFixed(M.value.style.chart.layout.nuts.selected.labels.roundingValue)) + " " + w(M.value.style.chart.layout.legend.suffix), 1),
1702
+ ke(" (" + w((e.proportionToBranch * 100).toFixed(M.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "%)", 1)
1703
+ ])], 4))), 256))])])], 8, xt)),
1704
+ m("circle", {
1673
1705
  cx: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
1674
1706
  cy: H.value.y1 + P.value.branchSize / 2,
1675
1707
  r: 256,
1676
1708
  fill: `url(#nut_underlayer_${O.value})`,
1677
1709
  onClick: J,
1678
1710
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1679
- }, null, 10, Kt),
1680
- (b(!0), m(d, null, S(U.value, (e) => (b(), m("g", null, [Gr(e) ? (b(), m("path", {
1711
+ }, null, 10, Et),
1712
+ (b(!0), p(u, null, S(U.value, (e) => (b(), p("g", null, [Tr(e) ? (b(), p("path", {
1681
1713
  key: 0,
1682
- d: T(oe)(e, {
1714
+ d: T(ce)(e, {
1683
1715
  x: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
1684
1716
  y: H.value.y1 + P.value.branchSize / 2
1685
1717
  }, 16, 16, !1, !1, 64),
@@ -1689,40 +1721,40 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
1689
1721
  "stroke-linejoin": "round",
1690
1722
  fill: "none",
1691
1723
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1692
- }, null, 10, qt)) : p("", !0)]))), 256)),
1693
- h("circle", {
1724
+ }, null, 10, Dt)) : f("", !0)]))), 256)),
1725
+ m("circle", {
1694
1726
  cx: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
1695
1727
  cy: H.value.y1 + P.value.branchSize / 2,
1696
1728
  r: 118,
1697
1729
  fill: M.value.style.chart.backgroundColor,
1698
1730
  onClick: J,
1699
1731
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1700
- }, null, 10, Jt),
1701
- (b(!0), m(d, null, S(U.value, (e) => (b(), m("path", {
1732
+ }, null, 10, Ot),
1733
+ (b(!0), p(u, null, S(U.value, (e) => (b(), p("path", {
1702
1734
  d: e.path,
1703
1735
  stroke: e.color,
1704
1736
  "stroke-width": 64,
1705
1737
  fill: "none",
1706
1738
  onClick: J,
1707
1739
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1708
- }, null, 10, Yt))), 256)),
1709
- h("circle", {
1740
+ }, null, 10, kt))), 256)),
1741
+ m("circle", {
1710
1742
  cx: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
1711
1743
  cy: H.value.y1 + P.value.branchSize / 2,
1712
1744
  r: 110,
1713
1745
  fill: `url(#nutpick_${O.value})`,
1714
1746
  onClick: J,
1715
1747
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1716
- }, null, 10, Xt),
1717
- h("circle", {
1748
+ }, null, 10, At),
1749
+ m("circle", {
1718
1750
  cx: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
1719
1751
  cy: H.value.y1 + P.value.branchSize / 2,
1720
1752
  r: 64,
1721
1753
  fill: M.value.style.chart.backgroundColor,
1722
1754
  onClick: J,
1723
1755
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1724
- }, null, 10, Zt),
1725
- h("text", {
1756
+ }, null, 10, jt),
1757
+ m("text", {
1726
1758
  x: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
1727
1759
  y: H.value.y1 + 8,
1728
1760
  fill: M.value.style.chart.layout.nuts.selected.labels.core.total.color,
@@ -1731,8 +1763,8 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
1731
1763
  "text-anchor": "middle",
1732
1764
  onClick: J,
1733
1765
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1734
- }, w(M.value.translations.total), 11, Qt),
1735
- h("text", {
1766
+ }, w(M.value.translations.total), 11, Mt),
1767
+ m("text", {
1736
1768
  x: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
1737
1769
  y: H.value.y1 + 36,
1738
1770
  fill: M.value.style.chart.layout.nuts.selected.labels.core.value.color,
@@ -1741,46 +1773,46 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
1741
1773
  "text-anchor": "middle",
1742
1774
  onClick: J,
1743
1775
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1744
- }, w(T(s)(M.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter, H.value.value, T(l)({
1776
+ }, w(T(c)(M.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter, H.value.value, T(i)({
1745
1777
  p: M.value.style.chart.layout.nuts.selected.labels.core.value.prefix,
1746
1778
  v: H.value.value,
1747
1779
  s: M.value.style.chart.layout.nuts.selected.labels.core.value.suffix,
1748
1780
  r: M.value.style.chart.layout.nuts.selected.roundingValue
1749
- }), { datapoint: H.value })), 11, $t),
1750
- (b(!0), m(d, null, S(U.value, (e, t) => (b(), m("g", null, [Gr(e) ? (b(), m("text", {
1781
+ }), { datapoint: H.value })), 11, Nt),
1782
+ (b(!0), p(u, null, S(U.value, (e, t) => (b(), p("g", null, [Tr(e) ? (b(), p("text", {
1751
1783
  key: 0,
1752
- x: T(u)(e).x,
1753
- "text-anchor": T(u)(e).anchor,
1784
+ x: T(l)(e).x,
1785
+ "text-anchor": T(l)(e).anchor,
1754
1786
  y: T(ae)(e) - M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 6,
1755
1787
  fill: e.color,
1756
1788
  "font-size": M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 2,
1757
1789
  style: y(`font-weight:${M.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1758
1790
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1759
- }, " ⬤ ", 14, en)) : p("", !0), Gr(e) ? (b(), m("text", {
1791
+ }, " ⬤ ", 14, Pt)) : f("", !0), Tr(e) ? (b(), p("text", {
1760
1792
  key: 1,
1761
- x: T(u)(e, !0).x,
1762
- "text-anchor": T(u)(e, !0).anchor,
1793
+ x: T(l)(e, !0).x,
1794
+ "text-anchor": T(l)(e, !0).anchor,
1763
1795
  y: T(ae)(e),
1764
1796
  fill: M.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
1765
1797
  "font-size": M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1766
1798
  style: y(`font-weight:${M.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1767
1799
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1768
- }, w(H.value.breakdown[t].name), 15, tn)) : p("", !0)]))), 256)),
1769
- (b(!0), m(d, null, S(U.value, (e, t) => (b(), m("g", null, [
1770
- Gr(e) ? (b(), m("text", {
1800
+ }, w(H.value.breakdown[t].name), 15, Ft)) : f("", !0)]))), 256)),
1801
+ (b(!0), p(u, null, S(U.value, (e, t) => (b(), p("g", null, [
1802
+ Tr(e) ? (b(), p("text", {
1771
1803
  key: 0,
1772
- x: T(u)(e, !0).x,
1773
- "text-anchor": T(u)(e).anchor,
1804
+ x: T(l)(e, !0).x,
1805
+ "text-anchor": T(l)(e).anchor,
1774
1806
  y: T(ae)(e) + M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1775
1807
  fill: M.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
1776
1808
  "font-size": M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1777
1809
  style: y(`font-weight:${M.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1778
1810
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1779
- }, w(T(l)({
1811
+ }, w(T(i)({
1780
1812
  v: H.value.breakdown[t].value / H.value.value * 100,
1781
1813
  s: "%",
1782
1814
  r: M.value.style.chart.layout.nuts.selected.labels.roundingPercentage
1783
- })) + " " + w(M.value.translations.of) + " " + w(H.value.breakdown[t].branchName) + " " + w(T(s)(M.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter, H.value.breakdown[t].value, T(l)({
1815
+ })) + " " + w(M.value.translations.of) + " " + w(H.value.breakdown[t].branchName) + " " + w(T(c)(M.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter, H.value.breakdown[t].value, T(i)({
1784
1816
  p: M.value.style.chart.layout.nuts.selected.labels.dataLabels.prefix,
1785
1817
  v: H.value.breakdown[t].value,
1786
1818
  s: M.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
@@ -1788,39 +1820,39 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
1788
1820
  }), {
1789
1821
  datapoint: U.value,
1790
1822
  seriesIndex: t
1791
- })), 15, nn)) : p("", !0),
1792
- Gr(e) ? (b(), m("text", {
1823
+ })), 15, It)) : f("", !0),
1824
+ Tr(e) ? (b(), p("text", {
1793
1825
  key: 1,
1794
- x: T(u)(e, !0).x,
1795
- "text-anchor": T(u)(e).anchor,
1826
+ x: T(l)(e, !0).x,
1827
+ "text-anchor": T(l)(e).anchor,
1796
1828
  y: T(ae)(e) + M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 2,
1797
1829
  fill: M.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
1798
1830
  "font-size": M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1799
1831
  style: y(`font-weight:${M.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1800
1832
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1801
- }, w(T(l)({
1833
+ }, w(T(i)({
1802
1834
  v: H.value.breakdown[t].proportionToRoot * 100,
1803
1835
  s: "%",
1804
1836
  r: M.value.style.chart.layout.nuts.selected.labels.roundingPercentage
1805
- })) + " " + w(M.value.translations.of) + " " + w(H.value.breakdown[t].rootName), 15, rn)) : p("", !0),
1806
- Gr(e) ? (b(), m("text", {
1837
+ })) + " " + w(M.value.translations.of) + " " + w(H.value.breakdown[t].rootName), 15, Lt)) : f("", !0),
1838
+ Tr(e) ? (b(), p("text", {
1807
1839
  key: 2,
1808
- x: T(u)(e, !0).x,
1809
- "text-anchor": T(u)(e).anchor,
1840
+ x: T(l)(e, !0).x,
1841
+ "text-anchor": T(l)(e).anchor,
1810
1842
  y: T(ae)(e) + M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 3,
1811
1843
  fill: M.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
1812
1844
  "font-size": M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1813
1845
  style: y(`font-weight:${M.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1814
1846
  class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1815
- }, w(T(l)({
1847
+ }, w(T(i)({
1816
1848
  v: H.value.breakdown[t].proportionToTree * 100,
1817
1849
  s: "%",
1818
1850
  r: M.value.style.chart.layout.nuts.selected.labels.roundingPercentage
1819
- })) + " " + w(M.value.translations.proportionToTree), 15, an)) : p("", !0)
1851
+ })) + " " + w(M.value.translations.proportionToTree), 15, Rt)) : f("", !0)
1820
1852
  ]))), 256))
1821
- ])) : p("", !0),
1822
- (b(!0), m(d, null, S(B.value, (e) => (b(), m("g", null, [
1823
- W.value && W.value.id === e.id && !H.value ? (b(), m("text", {
1853
+ ])) : f("", !0),
1854
+ (b(!0), p(u, null, S(B.value, (e) => (b(), p("g", null, [
1855
+ W.value && W.value.id === e.id && !H.value ? (b(), p("text", {
1824
1856
  key: 0,
1825
1857
  x: e.x1 + 6,
1826
1858
  y: e.y1 + P.value.branchSize + 24,
@@ -1828,81 +1860,81 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
1828
1860
  "text-anchor": "start",
1829
1861
  "font-size": M.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1830
1862
  fill: M.value.style.chart.layout.branches.labels.color,
1831
- onClick: n[8] ||= () => {
1863
+ onClick: t[8] ||= () => {
1832
1864
  K(), $(), k.value = !1;
1833
1865
  }
1834
- }, w(e.name) + ": " + w(T(s)(M.value.style.chart.layout.branches.labels.dataLabels.formatter, e.value, T(l)({
1866
+ }, w(e.name) + ": " + w(T(c)(M.value.style.chart.layout.branches.labels.dataLabels.formatter, e.value, T(i)({
1835
1867
  p: M.value.style.chart.layout.branches.labels.dataLabels.prefix,
1836
1868
  v: e.value,
1837
1869
  s: M.value.style.chart.layout.branches.labels.dataLabels.suffix,
1838
1870
  r: M.value.style.chart.layout.branches.labels.dataLabels.roundingValue
1839
- }), { datapoint: e })), 9, on)) : p("", !0),
1840
- W.value && W.value.id === e.id && !H.value ? (b(), m("text", {
1871
+ }), { datapoint: e })), 9, zt)) : f("", !0),
1872
+ W.value && W.value.id === e.id && !H.value ? (b(), p("text", {
1841
1873
  key: 1,
1842
1874
  x: e.x1 + 6,
1843
1875
  y: e.y1 + P.value.branchSize + 48,
1844
1876
  "text-anchor": "start",
1845
1877
  "font-size": M.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1846
1878
  fill: M.value.style.chart.layout.branches.labels.color,
1847
- onClick: n[9] ||= () => {
1879
+ onClick: t[9] ||= () => {
1848
1880
  K(), $(), k.value = !1;
1849
1881
  }
1850
- }, w(T(l)({
1882
+ }, w(T(i)({
1851
1883
  v: e.proportionToRoot * 100,
1852
1884
  s: "%",
1853
1885
  r: M.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
1854
- })) + " " + w(M.value.translations.of) + " " + w(e.rootName), 9, sn)) : p("", !0),
1855
- W.value && W.value.id === e.id && !H.value ? (b(), m("text", {
1886
+ })) + " " + w(M.value.translations.of) + " " + w(e.rootName), 9, Bt)) : f("", !0),
1887
+ W.value && W.value.id === e.id && !H.value ? (b(), p("text", {
1856
1888
  key: 2,
1857
1889
  x: e.x1 + 6,
1858
1890
  y: e.y1 + P.value.branchSize + 72,
1859
1891
  "text-anchor": "start",
1860
1892
  "font-size": M.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1861
1893
  fill: M.value.style.chart.layout.branches.labels.color,
1862
- onClick: n[10] ||= () => {
1894
+ onClick: t[10] ||= () => {
1863
1895
  K(), $(), k.value = !1;
1864
1896
  }
1865
- }, w(T(l)({
1897
+ }, w(T(i)({
1866
1898
  v: e.value / I.value * 100,
1867
1899
  s: "%",
1868
1900
  r: M.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
1869
- })) + " " + w(M.value.translations.proportionToTree), 9, cn)) : p("", !0)
1901
+ })) + " " + w(M.value.translations.proportionToTree), 9, Vt)) : f("", !0)
1870
1902
  ]))), 256)),
1871
1903
  C(e.$slots, "svg", { svg: {
1872
1904
  ...P.value,
1873
- isPrintingImg: T(Sr) || T(Cr) || dr.value,
1874
- isPrintingSvg: fr.value
1905
+ isPrintingImg: T(nr) || T(rr) || Gn.value,
1906
+ isPrintingSvg: Kn.value
1875
1907
  } }, void 0, !0)
1876
- ], 46, We)) : p("", !0)]),
1877
- e.$slots.watermark ? (b(), m("div", ln, [C(e.$slots, "watermark", v(g({ isPrinting: T(Sr) || T(Cr) || dr.value || fr.value })), void 0, !0)])) : p("", !0),
1908
+ ], 46, Ge)) : f("", !0)]),
1909
+ e.$slots.watermark ? (b(), p("div", Ht, [C(e.$slots, "watermark", v(g({ isPrinting: T(nr) || T(rr) || Gn.value || Kn.value })), void 0, !0)])) : f("", !0),
1878
1910
  C(e.$slots, "legend", { legend: L.value }, void 0, !0),
1879
- e.$slots.source ? (b(), m("div", un, [C(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1880
- or.value && M.value.userOptions.buttons.table ? (b(), Te(Ne(ni.value.component), Ae({ key: 6 }, ni.value.props, {
1911
+ e.$slots.source ? (b(), p("div", Ut, [C(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
1912
+ Bn.value && M.value.userOptions.buttons.table ? (b(), De(Pe(Ir.value.component), je({ key: 6 }, Ir.value.props, {
1881
1913
  ref_key: "tableUnit",
1882
- ref: lr,
1883
- onClose: ii
1884
- }), Ee({
1885
- content: E(() => [h("div", {
1914
+ ref: Un,
1915
+ onClose: Rr
1916
+ }), Oe({
1917
+ content: E(() => [m("div", {
1886
1918
  ref_key: "tableContainer",
1887
- ref: kr,
1919
+ ref: lr,
1888
1920
  class: "vue-ui-chestnut-table",
1889
1921
  style: y(`${M.value.table.useDialog ? "" : "max-height: 300px;margin-top:24px"}`)
1890
- }, [h("div", { style: y(`${M.value.table.useDialog ? "" : "padding-top:36px;"}position: relative`) }, [M.value.table.useDialog ? p("", !0) : (b(), m("div", {
1922
+ }, [m("div", { style: y(`${M.value.table.useDialog ? "" : "padding-top:36px;"}position: relative`) }, [M.value.table.useDialog ? f("", !0) : (b(), p("div", {
1891
1923
  key: 0,
1892
1924
  role: "button",
1893
1925
  tabindex: "0",
1894
1926
  style: y(`width:32px; position: absolute; top: 0; left:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:${N.value ? "pointer" : "default"}; background:${M.value.table.th.backgroundColor};`),
1895
- onClick: ii,
1896
- onKeypress: Le(ii, ["enter"])
1897
- }, [Oe(T(Zn), {
1927
+ onClick: Rr,
1928
+ onKeypress: Re(Rr, ["enter"])
1929
+ }, [h(T(jn), {
1898
1930
  name: "close",
1899
1931
  stroke: M.value.table.th.color,
1900
1932
  "stroke-width": 2
1901
- }, null, 8, ["stroke"])], 36)), h("div", {
1933
+ }, null, 8, ["stroke"])], 36)), m("div", {
1902
1934
  style: { width: "100%" },
1903
- class: _({ "vue-ui-responsive": T(ri) })
1904
- }, [h("table", dn, [
1905
- M.value.table.useDialog ? p("", !0) : (b(), m("caption", {
1935
+ class: _({ "vue-ui-responsive": T(Lr) })
1936
+ }, [m("table", Wt, [
1937
+ M.value.table.useDialog ? f("", !0) : (b(), p("caption", {
1906
1938
  key: 0,
1907
1939
  style: y({
1908
1940
  backgroundColor: M.value.table.th.backgroundColor,
@@ -1910,12 +1942,12 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
1910
1942
  outline: M.value.table.th.outline
1911
1943
  }),
1912
1944
  class: "vue-ui-data-table__caption"
1913
- }, [De(w(M.value.style.chart.layout.title.text) + " ", 1), M.value.style.chart.layout.title.subtitle.text ? (b(), m("span", fn, w(M.value.style.chart.layout.title.subtitle.text), 1)) : p("", !0)], 4)),
1914
- h("thead", null, [h("tr", {
1945
+ }, [ke(w(M.value.style.chart.layout.title.text) + " ", 1), M.value.style.chart.layout.title.subtitle.text ? (b(), p("span", Gt, w(M.value.style.chart.layout.title.subtitle.text), 1)) : f("", !0)], 4)),
1946
+ m("thead", null, [m("tr", {
1915
1947
  role: "row",
1916
1948
  style: y(`background:${M.value.table.th.backgroundColor};color:${M.value.table.th.color}`)
1917
- }, [(b(!0), m(d, null, S(Y.value.head, (e) => (b(), m("th", { style: y(`outline:${M.value.table.th.outline}`) }, w(e), 5))), 256))], 4)]),
1918
- h("tbody", null, [(b(!0), m(d, null, S(Y.value.body, (e, t) => (b(), m("tr", {
1949
+ }, [(b(!0), p(u, null, S(Y.value.head, (e) => (b(), p("th", { style: y(`outline:${M.value.table.th.outline}`) }, w(e), 5))), 256))], 4)]),
1950
+ m("tbody", null, [(b(!0), p(u, null, S(Y.value.body, (e, t) => (b(), p("tr", {
1919
1951
  class: _({
1920
1952
  "vue-ui-data-table__tbody__row": !0,
1921
1953
  "vue-ui-data-table__tbody__row-even": t % 2 == 0,
@@ -1923,88 +1955,88 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
1923
1955
  }),
1924
1956
  style: y(`background:${M.value.table.td.backgroundColor};color:${M.value.table.td.color}`)
1925
1957
  }, [
1926
- h("td", {
1958
+ m("td", {
1927
1959
  class: "vue-ui-data-table__tbody__td",
1928
1960
  style: y(`outline:${M.value.table.td.outline}`),
1929
1961
  "data-cell": Y.value.head[0]
1930
- }, [h("div", mn, [Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? (b(), m("span", hn)) : (b(), m("span", gn, w(e.rootName), 1))])], 12, pn),
1931
- h("td", {
1962
+ }, [m("div", qt, [Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? (b(), p("span", Jt)) : (b(), p("span", Yt, w(e.rootName), 1))])], 12, Kt),
1963
+ m("td", {
1932
1964
  class: "vue-ui-data-table__tbody__td",
1933
1965
  style: y(`outline:${M.value.table.td.outline}`),
1934
1966
  "data-cell": Y.value.head[1]
1935
- }, [h("div", vn, [Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? (b(), m("span", yn)) : (b(), m("span", bn, w(e.rootValue.toFixed(M.value.table.td.roundingValue)), 1))])], 12, _n),
1936
- h("td", {
1967
+ }, [m("div", Zt, [Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? (b(), p("span", Qt)) : (b(), p("span", $t, w(e.rootValue.toFixed(M.value.table.td.roundingValue)), 1))])], 12, Xt),
1968
+ m("td", {
1937
1969
  class: "vue-ui-data-table__tbody__td",
1938
1970
  style: y(`outline:${M.value.table.td.outline}`),
1939
1971
  "data-cell": Y.value.head[2]
1940
- }, [h("div", Sn, [Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? (b(), m("span", Cn)) : (b(), m("span", wn, w((e.rootToTotal * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1))])], 12, xn),
1941
- h("td", {
1972
+ }, [m("div", tn, [Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? (b(), p("span", nn)) : (b(), p("span", rn, w((e.rootToTotal * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1))])], 12, en),
1973
+ m("td", {
1942
1974
  class: "vue-ui-data-table__tbody__td",
1943
1975
  style: y(`outline:${M.value.table.td.outline}`),
1944
1976
  "data-cell": Y.value.head[3]
1945
- }, [h("div", En, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (b(), m("span", Dn)) : (b(), m("span", On, w(e.branchName), 1))])], 12, Tn),
1946
- h("td", {
1977
+ }, [m("div", on, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (b(), p("span", sn)) : (b(), p("span", cn, w(e.branchName), 1))])], 12, an),
1978
+ m("td", {
1947
1979
  class: "vue-ui-data-table__tbody__td",
1948
1980
  style: y(`outline:${M.value.table.td.outline}`),
1949
1981
  "data-cell": Y.value.head[4]
1950
- }, [h("div", An, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (b(), m("span", jn)) : (b(), m("span", Mn, w(e.branchValue.toFixed(M.value.table.td.roundingValue)), 1))])], 12, kn),
1951
- h("td", {
1982
+ }, [m("div", un, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (b(), p("span", dn)) : (b(), p("span", fn, w(e.branchValue.toFixed(M.value.table.td.roundingValue)), 1))])], 12, ln),
1983
+ m("td", {
1952
1984
  class: "vue-ui-data-table__tbody__td",
1953
1985
  style: y(`outline:${M.value.table.td.outline}`),
1954
1986
  "data-cell": Y.value.head[5]
1955
- }, [h("div", Pn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (b(), m("span", Fn)) : (b(), m("span", In, w((e.branchToRoot * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1))])], 12, Nn),
1956
- h("td", {
1987
+ }, [m("div", mn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (b(), p("span", hn)) : (b(), p("span", gn, w((e.branchToRoot * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1))])], 12, pn),
1988
+ m("td", {
1957
1989
  class: "vue-ui-data-table__tbody__td",
1958
1990
  style: y(`outline:${M.value.table.td.outline}`),
1959
1991
  "data-cell": Y.value.head[6]
1960
- }, [h("div", Rn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (b(), m("span", zn)) : (b(), m("span", Bn, w((e.branchToTotal * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1))])], 12, Ln),
1961
- h("td", {
1992
+ }, [m("div", vn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (b(), p("span", yn)) : (b(), p("span", bn, w((e.branchToTotal * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1))])], 12, _n),
1993
+ m("td", {
1962
1994
  class: "vue-ui-data-table__tbody__td",
1963
1995
  style: y(`outline:${M.value.table.td.outline}`),
1964
1996
  "data-cell": Y.value.head[7]
1965
- }, [h("div", Hn, w(e.nutName), 1)], 12, Vn),
1966
- h("td", {
1997
+ }, [m("div", Sn, w(e.nutName), 1)], 12, xn),
1998
+ m("td", {
1967
1999
  class: "vue-ui-data-table__tbody__td",
1968
2000
  style: y(`outline:${M.value.table.td.outline}`),
1969
2001
  "data-cell": Y.value.head[8]
1970
- }, [h("div", Wn, w(e.nutValue.toFixed(M.value.table.td.roundingValue)), 1)], 12, Un),
1971
- h("td", {
2002
+ }, [m("div", wn, w(e.nutValue.toFixed(M.value.table.td.roundingValue)), 1)], 12, Cn),
2003
+ m("td", {
1972
2004
  class: "vue-ui-data-table__tbody__td",
1973
2005
  style: y(`outline:${M.value.table.td.outline}`),
1974
2006
  "data-cell": Y.value.head[9]
1975
- }, [h("div", Kn, w((e.nutToBranch * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1)], 12, Gn),
1976
- h("td", {
2007
+ }, [m("div", En, w((e.nutToBranch * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1)], 12, Tn),
2008
+ m("td", {
1977
2009
  class: "vue-ui-data-table__tbody__td",
1978
2010
  style: y(`outline:${M.value.table.td.outline}`),
1979
2011
  "data-cell": Y.value.head[10]
1980
- }, [h("div", Jn, w((e.nutToRoot * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1)], 12, qn),
1981
- h("td", {
2012
+ }, [m("div", On, w((e.nutToRoot * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1)], 12, Dn),
2013
+ m("td", {
1982
2014
  class: "vue-ui-data-table__tbody__td",
1983
2015
  style: y(`outline:${M.value.table.td.outline}`),
1984
2016
  "data-cell": Y.value.head[11]
1985
- }, [h("div", Xn, w((e.nutToTotal * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1)], 12, Yn)
2017
+ }, [m("div", An, w((e.nutToTotal * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1)], 12, kn)
1986
2018
  ], 6))), 256))])
1987
2019
  ])], 2)], 4)], 4)]),
1988
2020
  _: 2
1989
2021
  }, [M.value.table.useDialog ? {
1990
2022
  name: "title",
1991
- fn: E(() => [De(w(ni.value.title), 1)]),
2023
+ fn: E(() => [ke(w(Ir.value.title), 1)]),
1992
2024
  key: "0"
1993
2025
  } : void 0, M.value.table.useDialog ? {
1994
2026
  name: "actions",
1995
- fn: E(() => [h("button", {
2027
+ fn: E(() => [m("button", {
1996
2028
  tabindex: "0",
1997
2029
  class: "vue-ui-user-options-button",
1998
- onClick: n[11] ||= (e) => Jr(M.value.userOptions.callbacks.csv)
1999
- }, [Oe(T(Zn), {
2030
+ onClick: t[11] ||= (e) => Or(M.value.userOptions.callbacks.csv)
2031
+ }, [h(T(jn), {
2000
2032
  name: "fileCsv",
2001
- stroke: ni.value.props.color
2033
+ stroke: Ir.value.props.color
2002
2034
  }, null, 8, ["stroke"])])]),
2003
2035
  key: "1"
2004
- } : void 0]), 1040)) : p("", !0),
2005
- C(e.$slots, "skeleton", {}, () => [T(hr) ? (b(), Te(me, { key: 0 })) : p("", !0)], !0)
2006
- ], 46, ze));
2036
+ } : void 0]), 1040)) : f("", !0),
2037
+ C(e.$slots, "skeleton", {}, () => [T(Yn) ? (b(), De(he, { key: 0 })) : f("", !0)], !0)
2038
+ ], 46, Be));
2007
2039
  }
2008
- }, [["__scopeId", "data-v-6db5d986"]]);
2040
+ }, [["__scopeId", "data-v-b3384a62"]]);
2009
2041
  //#endregion
2010
- export { Re as n, Zn as t };
2042
+ export { ze as n, jn as t };