vue-data-ui 3.6.0 → 3.7.0

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 (199) hide show
  1. package/README.md +26 -26
  2. package/dist/{Arrow-BGVin3AS.js → Arrow-CWYIBV-7.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DhKIof09.js → BaseDraggableDialog-CRF94NJQ.js} +2 -2
  4. package/dist/{BaseIcon-DLFL0M4-.js → BaseIcon-CofSxalQ.js} +1 -1
  5. package/dist/{ColorPicker-CjIJvLdc.js → ColorPicker-e1-OSGlQ.js} +10 -10
  6. package/dist/{DataTable-UCyd_BQI.js → DataTable-CHaOCmsE.js} +2 -2
  7. package/dist/{Legend-D9ZTJKjh.js → Legend-Web3GjlR.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-a2UzZL0y.js → NonSvgPenAndPaper-CjYFLlns.js} +3 -3
  9. package/dist/{PackageVersion-D_4Hr4S4.js → PackageVersion-Bq_mtsqr.js} +1 -1
  10. package/dist/{PenAndPaper-BJSMejV9.js → PenAndPaper-HCZQTkqi.js} +20 -20
  11. package/dist/{Shape-CNXKB8O0.js → Shape-DE6X_t31.js} +3 -3
  12. package/dist/{Slicer-CJfhtoVn.js → Slicer-BFBBG6xv.js} +23 -23
  13. package/dist/{SlicerPreview-wXjV4LWO.js → SlicerPreview-D76aSViW.js} +2 -2
  14. package/dist/{SparkTooltip-BEewz-_Q.js → SparkTooltip-B2rpVWE1.js} +6 -6
  15. package/dist/{Title-Bb1VWCtR.js → Title-DfFUb9hd.js} +1 -1
  16. package/dist/{Tooltip-oWCO1HKy.js → Tooltip-WD0Ros6G.js} +1 -1
  17. package/dist/{UserOptions-BqmUW9Kp.js → UserOptions-B3I-s3Lw.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +3 -3
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +3 -3
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +3 -3
  24. package/dist/components/vue-ui-candlestick.js +3 -3
  25. package/dist/components/vue-ui-carousel-table.js +1 -1
  26. package/dist/components/vue-ui-chestnut.js +3 -3
  27. package/dist/components/vue-ui-chord.js +3 -3
  28. package/dist/components/vue-ui-circle-pack.js +3 -3
  29. package/dist/components/vue-ui-cursor.js +1 -1
  30. package/dist/components/vue-ui-dashboard.js +1 -1
  31. package/dist/components/vue-ui-digits.js +1 -1
  32. package/dist/components/vue-ui-donut-evolution.js +2 -2
  33. package/dist/components/vue-ui-donut.js +3 -3
  34. package/dist/components/vue-ui-dumbbell.js +3 -3
  35. package/dist/components/vue-ui-flow.js +3 -3
  36. package/dist/components/vue-ui-funnel.js +2 -2
  37. package/dist/components/vue-ui-galaxy.js +1 -1
  38. package/dist/components/vue-ui-gauge.js +1 -1
  39. package/dist/components/vue-ui-gizmo.js +1 -1
  40. package/dist/components/vue-ui-heatmap.js +1 -1
  41. package/dist/components/vue-ui-history-plot.js +3 -3
  42. package/dist/components/vue-ui-horizontal-bar.js +3 -3
  43. package/dist/components/vue-ui-icon.js +1 -1
  44. package/dist/components/vue-ui-kpi.js +1 -1
  45. package/dist/components/vue-ui-mini-loader.js +1 -1
  46. package/dist/components/vue-ui-molecule.js +3 -3
  47. package/dist/components/vue-ui-mood-radar.js +3 -3
  48. package/dist/components/vue-ui-nested-donuts.js +2 -2
  49. package/dist/components/vue-ui-onion.js +3 -3
  50. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  51. package/dist/components/vue-ui-quadrant.js +3 -3
  52. package/dist/components/vue-ui-quick-chart.js +3 -3
  53. package/dist/components/vue-ui-radar.js +3 -3
  54. package/dist/components/vue-ui-rating.js +1 -1
  55. package/dist/components/vue-ui-relation-circle.js +3 -3
  56. package/dist/components/vue-ui-ridgeline.js +3 -3
  57. package/dist/components/vue-ui-rings.js +3 -3
  58. package/dist/components/vue-ui-scatter.js +3 -3
  59. package/dist/components/vue-ui-skeleton.js +1 -1
  60. package/dist/components/vue-ui-smiley.js +1 -1
  61. package/dist/components/vue-ui-spark-trend.js +1 -1
  62. package/dist/components/vue-ui-sparkbar.js +2 -2
  63. package/dist/components/vue-ui-sparkgauge.js +3 -3
  64. package/dist/components/vue-ui-sparkhistogram.js +3 -3
  65. package/dist/components/vue-ui-sparkline.js +3 -3
  66. package/dist/components/vue-ui-sparkstackbar.js +2 -2
  67. package/dist/components/vue-ui-stackbar.js +3 -3
  68. package/dist/components/vue-ui-stackline.js +1 -1
  69. package/dist/components/vue-ui-strip-plot.js +3 -3
  70. package/dist/components/vue-ui-table-heatmap.js +1 -1
  71. package/dist/components/vue-ui-table-sparkline.js +2 -2
  72. package/dist/components/vue-ui-table.js +1 -1
  73. package/dist/components/vue-ui-thermometer.js +3 -3
  74. package/dist/components/vue-ui-timer.js +1 -1
  75. package/dist/components/vue-ui-tiremarks.js +2 -2
  76. package/dist/components/vue-ui-treemap.js +3 -3
  77. package/dist/components/vue-ui-vertical-bar.js +1 -1
  78. package/dist/components/vue-ui-waffle.js +2 -2
  79. package/dist/components/vue-ui-wheel.js +1 -1
  80. package/dist/components/vue-ui-word-cloud.js +3 -3
  81. package/dist/components/vue-ui-world.js +1 -1
  82. package/dist/components/vue-ui-xy-canvas.js +3 -3
  83. package/dist/components/vue-ui-xy.js +3 -3
  84. package/dist/{dom-to-png--BNgrTZV.js → dom-to-png-CH2DfsJe.js} +1 -1
  85. package/dist/{img-BecE5qXd.js → img-DUzJeMlr.js} +1 -1
  86. package/dist/{lib-C_mNZmhD.js → lib-C5BH09_g.js} +111 -110
  87. package/dist/{pdf-DuG5j3Wv.js → pdf-BSWQncok.js} +1 -1
  88. package/dist/style.css +1 -1
  89. package/dist/types/vue-data-ui.d.ts +1 -0
  90. package/dist/{useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js → useAutoSizeLabelsInsideViewbox-DOALwU4q.js} +7 -7
  91. package/dist/{useNestedProp-CIoDlpHu.js → useNestedProp-CWo6bftQ.js} +1 -1
  92. package/dist/{usePrinter-DTzqpYKF.js → usePrinter-DCJzEiS8.js} +2 -2
  93. package/dist/useThemeCheck-DGJ31Vi5.js +32 -0
  94. package/dist/{useTimeLabels-BGFjWgrv.js → useTimeLabels-C5qMhpbe.js} +50 -49
  95. package/dist/{vue-data-ui-BWuOXu_s.js → vue-data-ui-ByLTJx5V.js} +78 -78
  96. package/dist/vue-data-ui.js +225 -205
  97. package/dist/{vue-ui-3d-bar-BNQAuLqF.js → vue-ui-3d-bar-Dkds4k5N.js} +546 -517
  98. package/dist/{vue-ui-accordion-SSLXLlNz.js → vue-ui-accordion-DSdZUn2C.js} +3 -3
  99. package/dist/vue-ui-age-pyramid-C-fwZRYE.js +960 -0
  100. package/dist/{vue-ui-annotator-34Ld0u5M.js → vue-ui-annotator-DRaH8hXn.js} +7 -7
  101. package/dist/vue-ui-bullet-BKVJRjGh.js +657 -0
  102. package/dist/{vue-ui-candlestick-BcChw-8c.js → vue-ui-candlestick-BKFWHU4O.js} +596 -561
  103. package/dist/{vue-ui-carousel-table-Cp_od0lI.js → vue-ui-carousel-table-VmPH6y2g.js} +48 -48
  104. package/dist/{vue-ui-chestnut-DTaIsP72.js → vue-ui-chestnut-DpMHe-OI.js} +534 -505
  105. package/dist/vue-ui-chord-Djdr0PY_.js +1182 -0
  106. package/dist/vue-ui-circle-pack-CyUqNJQt.js +832 -0
  107. package/dist/{vue-ui-cursor-lW-dVs_k.js → vue-ui-cursor-BMe8ZiV6.js} +2 -2
  108. package/dist/{vue-ui-dashboard-DIymn9Cx.js → vue-ui-dashboard-eBXj-KCw.js} +140 -140
  109. package/dist/{vue-ui-digits-YHA3fA0j.js → vue-ui-digits-D382I0-w.js} +2 -2
  110. package/dist/{vue-ui-donut-BaDmbWLh.js → vue-ui-donut-BLb0kj_P.js} +634 -602
  111. package/dist/vue-ui-donut-evolution-BqrldXpI.js +1243 -0
  112. package/dist/vue-ui-dumbbell-BuZT5a-d.js +1258 -0
  113. package/dist/vue-ui-flow-LLp6ntEP.js +1026 -0
  114. package/dist/vue-ui-funnel-pILUR-OG.js +743 -0
  115. package/dist/vue-ui-galaxy-X6yiw8kx.js +837 -0
  116. package/dist/vue-ui-gauge-DBh-vFb9.js +864 -0
  117. package/dist/{vue-ui-gizmo-E33_xZte.js → vue-ui-gizmo-DtyEukIP.js} +3 -3
  118. package/dist/{vue-ui-heatmap-DJXMvFPp.js → vue-ui-heatmap-mkD6QkXo.js} +501 -466
  119. package/dist/vue-ui-history-plot-CyTaBaxA.js +1239 -0
  120. package/dist/{vue-ui-kpi-C-XuLBVQ.js → vue-ui-kpi-CKMZDc3n.js} +3 -3
  121. package/dist/{vue-ui-mini-loader-DawncJvl.js → vue-ui-mini-loader-BN72OfS0.js} +2 -2
  122. package/dist/vue-ui-molecule-UzQ3o5HW.js +782 -0
  123. package/dist/vue-ui-mood-radar-C2zkRLGy.js +930 -0
  124. package/dist/vue-ui-nested-donuts-B5OpvmJ9.js +1454 -0
  125. package/dist/vue-ui-onion-DbhIOGtF.js +944 -0
  126. package/dist/vue-ui-parallel-coordinate-plot-Dv_T4mWW.js +1080 -0
  127. package/dist/{vue-ui-quadrant-B2bLWyCm.js → vue-ui-quadrant-CG6_CWsQ.js} +510 -481
  128. package/dist/{vue-ui-quick-chart-J_RmCwI_.js → vue-ui-quick-chart-DOeRhk7r.js} +795 -758
  129. package/dist/vue-ui-radar-DdHa9Hsh.js +1013 -0
  130. package/dist/{vue-ui-rating-CBS8zaQd.js → vue-ui-rating-DtzmtJwF.js} +26 -26
  131. package/dist/vue-ui-relation-circle-B5lL4l9w.js +670 -0
  132. package/dist/vue-ui-ridgeline-3pk4Mlft.js +1302 -0
  133. package/dist/vue-ui-rings-DhyrjrZi.js +884 -0
  134. package/dist/vue-ui-scatter-DKCD70mi.js +1619 -0
  135. package/dist/{vue-ui-skeleton-DsrlMELy.js → vue-ui-skeleton-CzzdmraB.js} +3 -3
  136. package/dist/{vue-ui-smiley-P_8WIBDD.js → vue-ui-smiley-OYyM-ukP.js} +2 -2
  137. package/dist/vue-ui-spark-trend-BMTcxeCT.js +364 -0
  138. package/dist/vue-ui-sparkbar-DVk1JiPL.js +381 -0
  139. package/dist/vue-ui-sparkgauge-Cq9Nw_xu.js +260 -0
  140. package/dist/vue-ui-sparkhistogram-PFHlCE_k.js +411 -0
  141. package/dist/vue-ui-sparkline-BHHwO_cV.js +549 -0
  142. package/dist/vue-ui-sparkstackbar-BosVkkiC.js +470 -0
  143. package/dist/vue-ui-stackbar-Djk5CPUy.js +1867 -0
  144. package/dist/vue-ui-stackline-mU4CSol9.js +1963 -0
  145. package/dist/{vue-ui-strip-plot-CTtivaxm.js → vue-ui-strip-plot-CZQSL0GK.js} +343 -314
  146. package/dist/{vue-ui-table-CHt3AQiq.js → vue-ui-table-DMM090pe.js} +5 -5
  147. package/dist/vue-ui-table-heatmap-vQEFrjCX.js +307 -0
  148. package/dist/{vue-ui-table-sparkline-D5MckwMl.js → vue-ui-table-sparkline-CQJc0mJY.js} +292 -263
  149. package/dist/vue-ui-thermometer-D1uxoVeZ.js +613 -0
  150. package/dist/{vue-ui-timer-B-Xa6ALH.js → vue-ui-timer-jTnS3ES5.js} +25 -25
  151. package/dist/vue-ui-tiremarks-Bv-oIFVV.js +477 -0
  152. package/dist/vue-ui-treemap-B9MVtunp.js +1359 -0
  153. package/dist/{vue-ui-vertical-bar-D9XQe_ud.js → vue-ui-vertical-bar-BSbDj5qZ.js} +520 -485
  154. package/dist/{vue-ui-waffle-Bk98w86A.js → vue-ui-waffle-DIALVfvc.js} +376 -347
  155. package/dist/vue-ui-wheel-aUhrFpGk.js +690 -0
  156. package/dist/vue-ui-word-cloud-DZmMWsUu.js +904 -0
  157. package/dist/{vue-ui-world-xOY__pp8.js → vue-ui-world-CVLlgp2f.js} +57 -57
  158. package/dist/vue-ui-xy-Cy7mOurZ.js +3455 -0
  159. package/dist/vue-ui-xy-canvas-Cr13t9M5.js +1599 -0
  160. package/dist/vue_ui_vertical_bar-CELc39b8.js +18 -0
  161. package/package.json +5 -5
  162. package/dist/themes-DH-N_ePR.js +0 -54
  163. package/dist/vue-ui-age-pyramid-DsOlpJBh.js +0 -933
  164. package/dist/vue-ui-bullet-Ci4lO4_W.js +0 -630
  165. package/dist/vue-ui-chord-BKC--Nbq.js +0 -1153
  166. package/dist/vue-ui-circle-pack-B3sfU0Vo.js +0 -803
  167. package/dist/vue-ui-donut-evolution-BqUzmyW2.js +0 -1208
  168. package/dist/vue-ui-dumbbell-CWKTrzsm.js +0 -1231
  169. package/dist/vue-ui-flow-SMbuDPdL.js +0 -991
  170. package/dist/vue-ui-funnel-3fRlMBzq.js +0 -716
  171. package/dist/vue-ui-galaxy-CFZ1xYD5.js +0 -808
  172. package/dist/vue-ui-gauge-DJpbjfpL.js +0 -835
  173. package/dist/vue-ui-history-plot-CvPMx5Lg.js +0 -1204
  174. package/dist/vue-ui-molecule-CasngKZI.js +0 -753
  175. package/dist/vue-ui-mood-radar-DGz2TQi4.js +0 -903
  176. package/dist/vue-ui-nested-donuts-Bjjz2sWG.js +0 -1419
  177. package/dist/vue-ui-onion-DwTIY6i1.js +0 -915
  178. package/dist/vue-ui-parallel-coordinate-plot-DedxvtPN.js +0 -1051
  179. package/dist/vue-ui-radar-D1rz2RnH.js +0 -984
  180. package/dist/vue-ui-relation-circle-DUfRwwo1.js +0 -641
  181. package/dist/vue-ui-ridgeline-DKPWMWRc.js +0 -1273
  182. package/dist/vue-ui-rings-BY0EQGLb.js +0 -855
  183. package/dist/vue-ui-scatter-ky9p5Pgh.js +0 -1590
  184. package/dist/vue-ui-spark-trend-DkJn_3FI.js +0 -337
  185. package/dist/vue-ui-sparkbar-qB1fmgej.js +0 -352
  186. package/dist/vue-ui-sparkgauge-BezFN_Rc.js +0 -233
  187. package/dist/vue-ui-sparkhistogram-DGt5b8FR.js +0 -384
  188. package/dist/vue-ui-sparkline-D7Wx1ejg.js +0 -514
  189. package/dist/vue-ui-sparkstackbar-DtO7-yim.js +0 -441
  190. package/dist/vue-ui-stackbar-Dr48I48D.js +0 -1832
  191. package/dist/vue-ui-stackline-Juns5Yh4.js +0 -1928
  192. package/dist/vue-ui-table-heatmap-Cn-56b5F.js +0 -282
  193. package/dist/vue-ui-thermometer-BOidpwAZ.js +0 -584
  194. package/dist/vue-ui-tiremarks-BsTyVS2P.js +0 -450
  195. package/dist/vue-ui-treemap-BWTaY91B.js +0 -1330
  196. package/dist/vue-ui-wheel-nj73b_Dc.js +0 -663
  197. package/dist/vue-ui-word-cloud-Dcaogr-D.js +0 -875
  198. package/dist/vue-ui-xy-BT67faLv.js +0 -3424
  199. package/dist/vue-ui-xy-canvas-BoB7-4QK.js +0 -1564
@@ -1,36 +1,53 @@
1
- import { useCssVars as _t, defineAsyncComponent as J, computed as g, ref as S, toRefs as mt, watch as be, onMounted as xt, nextTick as pe, createElementBlock as o, openBlock as a, unref as n, normalizeStyle as y, normalizeClass as C, createBlock as oe, createCommentVNode as h, renderSlot as w, withCtx as $, normalizeProps as B, guardReactiveProps as M, createSlots as Be, createVNode as ge, createElementVNode as u, toDisplayString as c, Fragment as _, renderList as m, createTextVNode as Z, resolveDynamicComponent as kt, mergeProps as wt, withKeys as Ct } from "vue";
2
- import { c as $t, t as Tt, b as zt, p as R, e as At, g as _e, f as se, h as me, o as St, a as D, d as N, X as Nt, s as I, i as Me, J as je, T as De, V as Ft, W as ee, Y as V, P as It, Q as Lt } from "./lib-C_mNZmhD.js";
3
- import { u as Pt, a as Xe } from "./useNestedProp-CIoDlpHu.js";
4
- import { u as Ot, B as Rt } from "./BaseScanner-BgWxam9d.js";
5
- import { u as Vt } from "./usePrinter-DTzqpYKF.js";
6
- import { u as Bt } from "./useSvgExport-DrjCWun4.js";
7
- import { u as Mt } from "./useTableResponsive-Cbx-ACcP.js";
8
- import { u as jt } from "./useUserOptionState-BIvW1Kz7.js";
9
- import { u as Dt } from "./useChartAccessibility-9icAAmYg.js";
10
- import Xt from "./img-BecE5qXd.js";
11
- import { t as Et } from "./themes-DH-N_ePR.js";
12
- import { _ as Gt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const Ut = ["id"], Wt = {
1
+ import { useCssVars as zt, defineAsyncComponent as Z, computed as g, ref as S, toRefs as St, watch as fe, onMounted as Ft, nextTick as pe, createElementBlock as o, openBlock as a, unref as n, normalizeStyle as y, normalizeClass as w, createBlock as oe, createCommentVNode as h, renderSlot as C, withCtx as A, normalizeProps as R, guardReactiveProps as E, createSlots as Ee, createVNode as ge, createElementVNode as u, toDisplayString as c, Fragment as _, renderList as m, createTextVNode as Q, resolveDynamicComponent as Nt, mergeProps as Bt, withKeys as Dt } from "vue";
2
+ import { c as Lt, t as It, i as Ot, p as O, j as Pt, k as _e, g as se, l as me, o as Rt, a as j, d as F, X as Et, s as B, h as Ve, w as Me, Z as je, _ as Vt, $ as ee, a0 as P, u as Mt, q as jt } from "./lib-C5BH09_g.js";
3
+ import { u as Xt, a as xe } from "./useNestedProp-CWo6bftQ.js";
4
+ import { u as Gt, B as Ut } from "./BaseScanner-BgWxam9d.js";
5
+ import { u as Wt } from "./usePrinter-DCJzEiS8.js";
6
+ import { u as Yt } from "./useSvgExport-DrjCWun4.js";
7
+ import { u as qt } from "./useThemeCheck-DGJ31Vi5.js";
8
+ import { u as Ht } from "./useTableResponsive-Cbx-ACcP.js";
9
+ import { u as Kt } from "./useUserOptionState-BIvW1Kz7.js";
10
+ import { u as Zt } from "./useChartAccessibility-9icAAmYg.js";
11
+ import Jt from "./img-DUzJeMlr.js";
12
+ import { _ as Qt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { grandTotal: { color: "#CCCCCC" }, roots: { stroke: "#1A1A1A", labels: { name: { color: "#CCCCCC" } } }, verticalSeparator: { stroke: "#1A1A1A" }, branches: { labels: { color: "#CCCCCC" } }, nuts: { selected: { labels: { dataLabels: { color: "#CCCCCC" }, core: { total: { color: "#CCCCCC" }, value: { color: "#CCCCCC" } } } } }, legend: { color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Ge = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { grandTotal: { color: "#424242" }, roots: { stroke: "#FFF8E1", labels: { name: { color: "#424242" } } }, verticalSeparator: { stroke: "#FFF8E1" }, branches: { borderRadius: 0, labels: { color: "#424242" } }, nuts: { selected: { labels: { dataLabels: { color: "#424242" }, core: { total: { color: "#424242" }, value: { color: "#424242" } } } } }, legend: { color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } } } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Ue = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { grandTotal: { color: "#BDBDBD" }, roots: { stroke: "#1E1E1E", labels: { name: { color: "#BDBDBD" } } }, verticalSeparator: { stroke: "#1E1E1E" }, branches: { borderRadius: 0, labels: { color: "#BDBDBD" } }, nuts: { selected: { labels: { dataLabels: { color: "#BDBDBD" }, core: { total: { color: "#BDBDBD" }, value: { color: "#BDBDBD" } } } } }, legend: { color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, We = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { grandTotal: { color: "#99CC99" }, roots: { stroke: "#1A1A1A", labels: { name: { color: "#AACCAA" } } }, verticalSeparator: { stroke: "#1A1A1A" }, branches: { borderRadius: 0, labels: { color: "#AACCAA" } }, nuts: { selected: { labels: { dataLabels: { color: "#AACCAA" }, core: { total: { color: "#99CC99" }, value: { color: "#AACCAA" } } } } }, legend: { color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, Ye = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { grandTotal: { color: "#A0AC94" }, roots: { stroke: "#fbfafa", labels: { name: { color: "#A0AC94" } } }, verticalSeparator: { stroke: "#fbfafa" }, branches: { borderRadius: 12, labels: { color: "#A0AC94" } }, nuts: { selected: { labels: { dataLabels: { color: "#A0AC94" }, core: { total: { color: "#8A9892" }, value: { color: "#A0AC94" } } } } }, legend: { color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, qe = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { grandTotal: { color: "#61747E" }, roots: { stroke: "#f6f6fb", labels: { name: { color: "#8A9892" } } }, verticalSeparator: { stroke: "#f6f6fb" }, branches: { borderRadius: 0, labels: { color: "#8A9892" } }, nuts: { selected: { labels: { dataLabels: { color: "#8A9892" }, core: { total: { color: "#8A9892" }, value: { color: "#61747E" } } } } }, legend: { color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#61747E" } } } } } }, He = {
14
+ default: {},
15
+ dark: Xe,
16
+ celebration: Ge,
17
+ celebrationNight: Ue,
18
+ hack: We,
19
+ zen: Ye,
20
+ concrete: qe
21
+ }, Co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22
+ __proto__: null,
23
+ celebration: Ge,
24
+ celebrationNight: Ue,
25
+ concrete: qe,
26
+ dark: Xe,
27
+ default: He,
28
+ hack: We,
29
+ zen: Ye
30
+ }, Symbol.toStringTag, { value: "Module" })), el = ["id"], tl = {
14
31
  key: 1,
15
32
  ref: "noTitle",
16
33
  class: "vue-data-ui-no-title-space",
17
34
  style: "height:36px; width: 100%;background:transparent"
18
- }, Yt = ["xmlns", "viewBox"], Ht = ["width", "height"], qt = { key: 1 }, Kt = ["fill", "font-weight", "font-size", "x", "y"], Jt = ["fill", "font-weight", "font-size", "x", "y"], Qt = ["id"], Zt = ["stop-color"], el = ["stop-color"], tl = ["id"], ll = ["stop-color"], al = ["stop-color"], ol = ["id"], sl = ["stop-color"], nl = ["stop-color"], ul = ["stop-color"], rl = ["id"], il = ["stop-color"], cl = ["stop-color"], dl = ["stop-color"], vl = ["id"], yl = ["stop-color"], hl = ["stop-color"], fl = ["stop-color"], bl = { key: 2 }, pl = ["x", "y", "font-size", "font-weight", "fill"], gl = ["x", "y", "font-size", "font-weight", "fill"], _l = ["id"], ml = ["stop-color"], xl = ["stop-color"], kl = ["d", "stroke", "fill"], wl = ["cx", "cy", "r", "fill"], Cl = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], $l = { key: 3 }, Tl = ["x", "y", "font-size", "fill", "onClick"], zl = { key: 0 }, Al = ["x", "y", "fill", "font-size", "font-weight"], Sl = ["x", "y", "height", "width", "fill", "rx", "onClick"], Nl = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], Fl = { key: 4 }, Il = ["x", "y", "fill", "font-size", "onClick"], Ll = ["d", "stroke"], Pl = ["fill", "cx", "cy", "r", "onClick"], Ol = { key: 5 }, Rl = ["x", "y", "font-size", "font-weight", "fill"], Vl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Bl = ["y", "height", "width"], Ml = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, jl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, Dl = {
35
+ }, ll = ["xmlns", "viewBox"], al = ["width", "height"], ol = { key: 1 }, sl = ["fill", "font-weight", "font-size", "x", "y"], nl = ["fill", "font-weight", "font-size", "x", "y"], ul = ["id"], rl = ["stop-color"], il = ["stop-color"], cl = ["id"], dl = ["stop-color"], vl = ["stop-color"], yl = ["id"], hl = ["stop-color"], bl = ["stop-color"], fl = ["stop-color"], pl = ["id"], gl = ["stop-color"], _l = ["stop-color"], ml = ["stop-color"], xl = ["id"], kl = ["stop-color"], Cl = ["stop-color"], wl = ["stop-color"], Al = { key: 2 }, $l = ["x", "y", "font-size", "font-weight", "fill"], Tl = ["x", "y", "font-size", "font-weight", "fill"], zl = ["id"], Sl = ["stop-color"], Fl = ["stop-color"], Nl = ["d", "stroke", "fill"], Bl = ["cx", "cy", "r", "fill"], Dl = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], Ll = { key: 3 }, Il = ["x", "y", "font-size", "fill", "onClick"], Ol = { key: 0 }, Pl = ["x", "y", "fill", "font-size", "font-weight"], Rl = ["x", "y", "height", "width", "fill", "rx", "onClick"], El = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], Vl = { key: 4 }, Ml = ["x", "y", "fill", "font-size", "onClick"], jl = ["d", "stroke"], Xl = ["fill", "cx", "cy", "r", "onClick"], Gl = { key: 5 }, Ul = ["x", "y", "font-size", "font-weight", "fill"], Wl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Yl = ["y", "height", "width"], ql = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, Hl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, Kl = {
19
36
  viewBox: "0 0 20 20",
20
37
  height: "16",
21
38
  width: "16"
22
- }, Xl = ["fill"], El = { key: 7 }, Gl = ["y", "height", "width"], Ul = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, Wl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, Yl = {
39
+ }, Zl = ["fill"], Jl = { key: 7 }, Ql = ["y", "height", "width"], ea = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, ta = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, la = {
23
40
  viewBox: "0 0 20 20",
24
41
  height: "16",
25
42
  width: "16"
26
- }, Hl = ["fill"], ql = ["cx", "cy", "fill"], Kl = ["d", "stroke"], Jl = ["cx", "cy", "fill"], Ql = ["d", "stroke"], Zl = ["cx", "cy", "fill"], ea = ["cx", "cy", "fill"], ta = ["x", "y", "fill", "font-size", "font-weight"], la = ["x", "y", "fill", "font-size", "font-weight"], aa = ["x", "text-anchor", "y", "fill", "font-size"], oa = ["x", "text-anchor", "y", "fill", "font-size"], sa = ["x", "text-anchor", "y", "fill", "font-size"], na = ["x", "text-anchor", "y", "fill", "font-size"], ua = ["x", "text-anchor", "y", "fill", "font-size"], ra = ["x", "y", "font-size", "fill"], ia = ["x", "y", "font-size", "fill"], ca = ["x", "y", "font-size", "fill"], da = {
43
+ }, aa = ["fill"], oa = ["cx", "cy", "fill"], sa = ["d", "stroke"], na = ["cx", "cy", "fill"], ua = ["d", "stroke"], ra = ["cx", "cy", "fill"], ia = ["cx", "cy", "fill"], ca = ["x", "y", "fill", "font-size", "font-weight"], da = ["x", "y", "fill", "font-size", "font-weight"], va = ["x", "text-anchor", "y", "fill", "font-size"], ya = ["x", "text-anchor", "y", "fill", "font-size"], ha = ["x", "text-anchor", "y", "fill", "font-size"], ba = ["x", "text-anchor", "y", "fill", "font-size"], fa = ["x", "text-anchor", "y", "fill", "font-size"], pa = ["x", "y", "font-size", "fill"], ga = ["x", "y", "font-size", "fill"], _a = ["x", "y", "font-size", "fill"], ma = {
27
44
  key: 4,
28
45
  class: "vue-data-ui-watermark"
29
- }, va = {
46
+ }, xa = {
30
47
  key: 5,
31
48
  ref: "source",
32
49
  dir: "auto"
33
- }, ya = { class: "vue-ui-data-table" }, ha = { key: 0 }, fa = ["data-cell"], ba = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, pa = { key: 0 }, ga = { key: 1 }, _a = ["data-cell"], ma = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, xa = { key: 0 }, ka = { key: 1 }, wa = ["data-cell"], Ca = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, $a = { key: 0 }, Ta = { key: 1 }, za = ["data-cell"], Aa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Sa = { key: 0 }, Na = { key: 1 }, Fa = ["data-cell"], Ia = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, La = { key: 0 }, Pa = { key: 1 }, Oa = ["data-cell"], Ra = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Va = { key: 0 }, Ba = { key: 1 }, Ma = ["data-cell"], ja = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Da = { key: 0 }, Xa = { key: 1 }, Ea = ["data-cell"], Ga = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ua = ["data-cell"], Wa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ya = ["data-cell"], Ha = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, qa = ["data-cell"], Ka = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ja = ["data-cell"], Qa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Za = {
50
+ }, ka = { class: "vue-ui-data-table" }, Ca = { key: 0 }, wa = ["data-cell"], Aa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, $a = { key: 0 }, Ta = { key: 1 }, za = ["data-cell"], Sa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Fa = { key: 0 }, Na = { key: 1 }, Ba = ["data-cell"], Da = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, La = { key: 0 }, Ia = { key: 1 }, Oa = ["data-cell"], Pa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ra = { key: 0 }, Ea = { key: 1 }, Va = ["data-cell"], Ma = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ja = { key: 0 }, Xa = { key: 1 }, Ga = ["data-cell"], Ua = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Wa = { key: 0 }, Ya = { key: 1 }, qa = ["data-cell"], Ha = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ka = { key: 0 }, Za = { key: 1 }, Ja = ["data-cell"], Qa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, eo = ["data-cell"], to = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, lo = ["data-cell"], ao = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, oo = ["data-cell"], so = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, no = ["data-cell"], uo = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ro = {
34
51
  __name: "vue-ui-chestnut",
35
52
  props: {
36
53
  config: {
@@ -47,12 +64,12 @@ const Ut = ["id"], Wt = {
47
64
  }
48
65
  },
49
66
  emits: ["selectRoot", "selectBranch", "selectNut"],
50
- setup(Ee, { expose: Ge, emit: Ue }) {
51
- _t((l) => ({
52
- d8cda1fa: l.tdo
67
+ setup(Ke, { expose: Ze, emit: Je }) {
68
+ zt((l) => ({
69
+ v2e18205a: l.tdo
53
70
  }));
54
- const xe = J(() => import("./BaseIcon-DLFL0M4-.js")), We = J(() => import("./vue-ui-accordion-SSLXLlNz.js")), Ye = J(() => import("./PenAndPaper-BJSMejV9.js")), He = J(() => import("./UserOptions-BqmUW9Kp.js")), qe = J(() => import("./PackageVersion-D_4Hr4S4.js")), Ke = J(() => import("./BaseDraggableDialog-DhKIof09.js")), { vue_ui_chestnut: Je } = Pt(), X = Ee, ke = g(() => !!X.dataset && X.dataset.length), T = S($t()), Y = S(null), we = S(0), Q = S(null), ne = S(null), e = S(ce()), { loading: Ce, FINAL_DATASET: ue } = Ot({
55
- ...mt(X),
71
+ const ke = Z(() => import("./BaseIcon-CofSxalQ.js")), Qe = Z(() => import("./vue-ui-accordion-DSdZUn2C.js")), et = Z(() => import("./PenAndPaper-HCZQTkqi.js")), tt = Z(() => import("./UserOptions-B3I-s3Lw.js")), lt = Z(() => import("./PackageVersion-Bq_mtsqr.js")), at = Z(() => import("./BaseDraggableDialog-CRF94NJQ.js")), { vue_ui_chestnut: ot } = Xt(), { isThemeValid: st, warnInvalidTheme: nt } = qt(), V = Ke, Ce = g(() => !!V.dataset && V.dataset.length), $ = S(Lt()), Y = S(null), we = S(0), J = S(null), ne = S(null), e = S(ce()), { loading: Ae, FINAL_DATASET: ue } = Gt({
72
+ ...St(V),
56
73
  FINAL_CONFIG: e,
57
74
  prepareConfig: ce,
58
75
  skeletonDataset: [
@@ -133,7 +150,7 @@ const Ut = ["id"], Wt = {
133
150
  ]
134
151
  }
135
152
  ],
136
- skeletonConfig: Tt({
153
+ skeletonConfig: It({
137
154
  defaultConfig: e.value,
138
155
  userConfig: {
139
156
  userOptions: { show: !1 },
@@ -161,36 +178,43 @@ const Ut = ["id"], Wt = {
161
178
  }
162
179
  }
163
180
  })
164
- }), { userOptionsVisible: re, setUserOptionsVisibility: $e, keepUserOptionState: Te } = jt({ config: e.value }), { svgRef: ie } = Dt({ config: e.value.style.chart.layout.title });
181
+ }), { userOptionsVisible: re, setUserOptionsVisibility: $e, keepUserOptionState: Te } = Kt({ config: e.value }), { svgRef: ie } = Zt({ config: e.value.style.chart.layout.title });
165
182
  function ce() {
166
- const l = Xe({
167
- userConfig: X.config,
168
- defaultConfig: Je
183
+ const l = xe({
184
+ userConfig: V.config,
185
+ defaultConfig: ot
186
+ }), r = l.theme;
187
+ if (!r) return l;
188
+ if (!st.value(l))
189
+ return nt(l), l;
190
+ const t = xe({
191
+ userConfig: He[r] || V.config,
192
+ defaultConfig: l
193
+ }), s = xe({
194
+ userConfig: V.config,
195
+ defaultConfig: t
169
196
  });
170
- return l.theme ? {
171
- ...Xe({
172
- userConfig: Et.vue_ui_chestnut[l.theme] || X.config,
173
- defaultConfig: l
174
- }),
175
- customPalette: zt[l.theme] || R
176
- } : l;
197
+ return {
198
+ ...s,
199
+ customPalette: s.customPalette.length ? s.customPalette : Ot[r] || O
200
+ };
177
201
  }
178
- be(() => X.config, (l) => {
179
- e.value = ce(), re.value = !e.value.userOptions.showOnChartHover, E.value.showTable = e.value.table.show, Pe();
202
+ fe(() => V.config, (l) => {
203
+ e.value = ce(), re.value = !e.value.userOptions.showOnChartHover, X.value.showTable = e.value.table.show, Ie();
180
204
  }, { deep: !0 });
181
- const { isPrinting: ze, isImaging: Ae, generatePdf: Se, generateImage: Ne } = Vt({
182
- elementId: `vue-ui-chestnut_${T.value}`,
205
+ const { isPrinting: ze, isImaging: Se, generatePdf: Fe, generateImage: Ne } = Wt({
206
+ elementId: `vue-ui-chestnut_${$.value}`,
183
207
  fileName: e.value.style.chart.layout.title.text || "vue-ui-chestnut",
184
208
  options: e.value.userOptions.print
185
- }), Qe = g(() => e.value.userOptions.show), de = g(() => At(e.value.customPalette)), E = S({
209
+ }), ut = g(() => e.value.userOptions.show), de = g(() => Pt(e.value.customPalette)), X = S({
186
210
  showTable: e.value.table.show
187
211
  });
188
- be(e, () => {
189
- E.value = {
212
+ fe(e, () => {
213
+ X.value = {
190
214
  showTable: e.value.table.show
191
215
  };
192
216
  }, { immediate: !0 });
193
- const Fe = S(null), Ze = g(() => e.value.table.responsiveBreakpoint), r = S({
217
+ const Be = S(null), rt = g(() => e.value.table.responsiveBreakpoint), i = S({
194
218
  gap: 6,
195
219
  padding: {
196
220
  top: 102,
@@ -202,15 +226,15 @@ const Ut = ["id"], Wt = {
202
226
  height: 0,
203
227
  branchSize: 32,
204
228
  branchStart: 128
205
- }), A = g(() => ({
206
- left: r.value.padding.left,
207
- top: r.value.padding.top,
208
- right: r.value.width - r.value.padding.right,
209
- bottom: r.value.height - r.value.padding.bottom,
210
- width: r.value.width - (r.value.padding.left + r.value.padding.right),
211
- height: r.value.height - (r.value.padding.top + r.value.padding.bottom),
212
- seedX: r.value.padding.left + 64
213
- })), L = g(() => ue.value.flatMap((l) => (l.branches || []).map((i) => i.value || 0)).reduce((l, i) => l + i, 0)), F = g(() => (ue.value.forEach((l, i) => {
229
+ }), z = g(() => ({
230
+ left: i.value.padding.left,
231
+ top: i.value.padding.top,
232
+ right: i.value.width - i.value.padding.right,
233
+ bottom: i.value.height - i.value.padding.bottom,
234
+ width: i.value.width - (i.value.padding.left + i.value.padding.right),
235
+ height: i.value.height - (i.value.padding.top + i.value.padding.bottom),
236
+ seedX: i.value.padding.left + 64
237
+ })), D = g(() => ue.value.flatMap((l) => (l.branches || []).map((r) => r.value || 0)).reduce((l, r) => l + r, 0)), N = g(() => (ue.value.forEach((l, r) => {
214
238
  _e({
215
239
  datasetObject: l,
216
240
  requiredAttributes: ["name", "branches"]
@@ -219,66 +243,66 @@ const Ut = ["id"], Wt = {
219
243
  componentName: "VueUiChestnut",
220
244
  type: "datasetSerieAttribute",
221
245
  property: t,
222
- index: i,
246
+ index: r,
223
247
  debug: te.value
224
248
  });
225
249
  }), l.branches && l.branches.forEach((t, s) => {
226
250
  _e({
227
251
  datasetObject: t,
228
252
  requiredAttributes: ["name", "value"]
229
- }).forEach((b) => {
253
+ }).forEach((f) => {
230
254
  se({
231
255
  componentName: "VueUiChestnut",
232
256
  type: "datasetSerieAttribute",
233
- property: b,
234
- index: `${i} - ${s}`,
257
+ property: f,
258
+ index: `${r} - ${s}`,
235
259
  debug: te.value
236
260
  });
237
- }), t.breakdown && t.breakdown.forEach((b, p) => {
261
+ }), t.breakdown && t.breakdown.forEach((f, p) => {
238
262
  _e({
239
- datasetObject: b,
263
+ datasetObject: f,
240
264
  requiredAttributes: ["name", "value"]
241
- }).forEach((f) => {
265
+ }).forEach((b) => {
242
266
  se({
243
267
  componentName: "VueUiChestnut",
244
268
  type: "datasetSerieAttribute",
245
- property: f,
246
- index: `${i} - ${s} - ${p}`,
269
+ property: b,
270
+ index: `${r} - ${s} - ${p}`,
247
271
  debug: te.value
248
272
  });
249
273
  });
250
274
  });
251
275
  });
252
- }), ue.value.map((l, i) => {
253
- const t = (l.branches || []).map((s) => s.value || 0).reduce((s, b) => s + b, 0);
276
+ }), ue.value.map((l, r) => {
277
+ const t = (l.branches || []).map((s) => s.value || 0).reduce((s, f) => s + f, 0);
254
278
  return {
255
279
  ...l,
256
- color: me(l.color) || de.value[i] || R[i] || R[i % R.length],
257
- id: l.id || `root_${i}_${T.value}`,
280
+ color: me(l.color) || de.value[r] || O[r] || O[r % O.length],
281
+ id: l.id || `root_${r}_${$.value}`,
258
282
  type: "root",
259
283
  total: t,
260
- rootIndex: i,
261
- branches: (l.branches || []).map((s, b) => ({
284
+ rootIndex: r,
285
+ branches: (l.branches || []).map((s, f) => ({
262
286
  ...s,
263
287
  rootName: l.name,
264
- rootIndex: i,
265
- color: me(l.color) || de.value[i] || R[i] || R[i % R.length],
288
+ rootIndex: r,
289
+ color: me(l.color) || de.value[r] || O[r] || O[r % O.length],
266
290
  value: s.value >= 0 ? s.value : 0,
267
- id: s.id || `branch_${i}_${b}_${T.value}`,
291
+ id: s.id || `branch_${r}_${f}_${$.value}`,
268
292
  proportionToRoot: s.value / t,
269
293
  type: "branch",
270
- breakdown: (s.breakdown || []).map((p, f) => ({
294
+ breakdown: (s.breakdown || []).map((p, b) => ({
271
295
  table: {
272
296
  rootName: l.name,
273
297
  rootValue: t,
274
- rootToTotal: t / L.value,
298
+ rootToTotal: t / D.value,
275
299
  branchName: s.name,
276
300
  branchValue: s.value,
277
- branchToTotal: s.value / L.value,
301
+ branchToTotal: s.value / D.value,
278
302
  branchToRoot: s.value / t,
279
303
  nutName: p.name,
280
304
  nutValue: p.value,
281
- nutToTotal: p.value / L.value,
305
+ nutToTotal: p.value / D.value,
282
306
  nutToRoot: p.value / t,
283
307
  nutToBranch: p.value / s.value
284
308
  },
@@ -289,82 +313,82 @@ const Ut = ["id"], Wt = {
289
313
  branchTotal: s.value >= 0 ? s.value : 0,
290
314
  proportionToBranch: p.value / s.value,
291
315
  proportionToRoot: p.value / t,
292
- proportionToTree: p.value / L.value,
293
- rootIndex: i,
294
- id: p.id || `nut_${i}_${b}_${f}_${T.value}`,
295
- color: me(p.color) || de.value[f] || R[f] || R[f % R.length],
316
+ proportionToTree: p.value / D.value,
317
+ rootIndex: r,
318
+ id: p.id || `nut_${r}_${f}_${b}_${$.value}`,
319
+ color: me(p.color) || de.value[b] || O[b] || O[b % O.length],
296
320
  value: p.value >= 0 ? p.value : 0
297
321
  }))
298
322
  }))
299
323
  };
300
324
  })));
301
- function et() {
302
- return F.value;
325
+ function it() {
326
+ return N.value;
303
327
  }
304
- const H = Ue, tt = g(() => F.value.flatMap((l) => l.branches).length), lt = g(() => Math.max(...F.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), at = g(() => Math.max(...F.value.flatMap((l) => l.branches.map((i) => i.value)))), Ie = g(() => 256 + r.value.padding.left), G = g(() => F.value.sort((l, i) => i.total - l.total).map((l, i) => {
305
- const t = A.value.height / F.value.length / 2, s = l.total / lt.value * (t > 64 ? 64 : t);
328
+ const q = Je, ct = g(() => N.value.flatMap((l) => l.branches).length), dt = g(() => Math.max(...N.value.map((l) => l.branches.map((r) => r.value).reduce((r, t) => r + t, 0)))), vt = g(() => Math.max(...N.value.flatMap((l) => l.branches.map((r) => r.value)))), De = g(() => 256 + i.value.padding.left), G = g(() => N.value.sort((l, r) => r.total - l.total).map((l, r) => {
329
+ const t = z.value.height / N.value.length / 2, s = l.total / dt.value * (t > 64 ? 64 : t);
306
330
  return {
307
331
  ...l,
308
- x: A.value.seedX,
309
- y: A.value.top + A.value.height / F.value.length * (i + 1) - (A.value.height / F.value.length / 2 + r.value.gap / 2),
310
- r: s < r.value.branchSize / 2 ? r.value.branchSize / 2 : s
332
+ x: z.value.seedX,
333
+ y: z.value.top + z.value.height / N.value.length * (r + 1) - (z.value.height / N.value.length / 2 + i.value.gap / 2),
334
+ r: s < i.value.branchSize / 2 ? i.value.branchSize / 2 : s
311
335
  };
312
- })), ot = g(() => e.value.style.chart.layout.branches.widthRatio <= 0 ? 0.1 : e.value.style.chart.layout.branches.widthRatio > 1.8 ? 1.8 : e.value.style.chart.layout.branches.widthRatio), st = g(() => G.value.flatMap((l) => l.branches)), U = g(() => st.value.sort((l, i) => i.value - l.value).map((l, i) => ({
336
+ })), yt = g(() => e.value.style.chart.layout.branches.widthRatio <= 0 ? 0.1 : e.value.style.chart.layout.branches.widthRatio > 1.8 ? 1.8 : e.value.style.chart.layout.branches.widthRatio), ht = g(() => G.value.flatMap((l) => l.branches)), U = g(() => ht.value.sort((l, r) => r.value - l.value).map((l, r) => ({
313
337
  ...l,
314
- y1: i * r.value.branchSize + A.value.top + i * r.value.gap,
315
- y2: i * r.value.branchSize + r.value.branchSize,
316
- x1: Ie.value,
317
- x2: 384 * l.value / at.value * ot.value + Ie.value
338
+ y1: r * i.value.branchSize + z.value.top + r * i.value.gap,
339
+ y2: r * i.value.branchSize + i.value.branchSize,
340
+ x1: De.value,
341
+ x2: 384 * l.value / vt.value * yt.value + De.value
318
342
  })));
319
- function nt(l) {
320
- const i = G.value.find((t) => t.rootIndex === l.rootIndex);
321
- return { x: i.x, y: i.y, r: i.r };
343
+ function bt(l) {
344
+ const r = G.value.find((t) => t.rootIndex === l.rootIndex);
345
+ return { x: r.x, y: r.y, r: r.r };
322
346
  }
323
- const d = S(null), j = S(null), x = S(null), P = S(null);
324
- function z() {
325
- d.value = null, x.value = null, P.value = null;
347
+ const d = S(null), M = S(null), x = S(null), L = S(null);
348
+ function T() {
349
+ d.value = null, x.value = null, L.value = null;
326
350
  }
327
- function O(l) {
328
- return P.value ? P.value === null ? !0 : l.type === "root" ? l.id === P.value.id : l.rootIndex === P.value.rootIndex : d.value === null && x.value === null ? !0 : l.type === "nut" ? d.value.id === l.id : l.type === "branch" ? x.value.id === l.id : l.type === "root" ? x.value && x.value.rootIndex === l.rootIndex || d.value && d.value.rootIndex === l.rootIndex : !1;
351
+ function I(l) {
352
+ return L.value ? L.value === null ? !0 : l.type === "root" ? l.id === L.value.id : l.rootIndex === L.value.rootIndex : d.value === null && x.value === null ? !0 : l.type === "nut" ? d.value.id === l.id : l.type === "branch" ? x.value.id === l.id : l.type === "root" ? x.value && x.value.rootIndex === l.rootIndex || d.value && d.value.rootIndex === l.rootIndex : !1;
329
353
  }
330
- function ut(l) {
331
- z(), pe(() => {
332
- d.value = l, x.value = l, j.value = De(
354
+ function ft(l) {
355
+ T(), pe(() => {
356
+ d.value = l, x.value = l, M.value = je(
333
357
  { series: l.breakdown },
334
358
  l.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
335
- l.y1 + r.value.branchSize / 2,
359
+ l.y1 + i.value.branchSize / 2,
336
360
  80,
337
361
  80
338
- ), H("selectNut", l.breakdown);
362
+ ), q("selectNut", l.breakdown);
339
363
  });
340
364
  }
341
365
  function W() {
342
- d.value = null, j.value = null, H("selectNut", null);
366
+ d.value = null, M.value = null, q("selectNut", null);
343
367
  }
344
368
  function ve(l) {
345
- x.value && x.value.id === l.id ? (x.value = null, z(), H("selectBranch", null)) : (z(), x.value = l, H("selectBranch", l));
369
+ x.value && x.value.id === l.id ? (x.value = null, T(), q("selectBranch", null)) : (T(), x.value = l, q("selectBranch", l));
346
370
  }
347
371
  function Le(l) {
348
- P.value && P.value.id === l.id ? (z(), H("selectRoot", null)) : (z(), P.value = l, H("selectRoot", l));
372
+ L.value && L.value.id === l.id ? (T(), q("selectRoot", null)) : (T(), L.value = l, q("selectRoot", l));
349
373
  }
350
- function rt() {
351
- return A.value.bottom - (d.value.y1 + 180) < 0 ? 0 : A.value.bottom;
374
+ function pt() {
375
+ return z.value.bottom - (d.value.y1 + 180) < 0 ? 0 : z.value.bottom;
352
376
  }
353
- function q(l) {
377
+ function H(l) {
354
378
  return l.proportion * 100 > e.value.style.chart.layout.nuts.selected.labels.dataLabels.hideUnderValue;
355
379
  }
356
- xt(() => {
357
- Pe();
380
+ Ft(() => {
381
+ Ie();
358
382
  });
359
383
  const te = g(() => e.value.debug);
360
- function Pe() {
361
- St(X.dataset) && se({
384
+ function Ie() {
385
+ Rt(V.dataset) && se({
362
386
  componentName: "VueUiChestnut",
363
387
  type: "dataset",
364
388
  debug: te.value
365
389
  });
366
- const l = tt.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
367
- r.value.height = l;
390
+ const l = ct.value * (i.value.branchSize + i.value.gap) + i.value.padding.top + i.value.padding.bottom;
391
+ i.value.height = l;
368
392
  }
369
393
  const v = g(() => {
370
394
  const l = [
@@ -380,64 +404,64 @@ const Ut = ["id"], Wt = {
380
404
  e.value.table.th.translations.nutToBranch,
381
405
  e.value.table.th.translations.nutToRoot,
382
406
  e.value.table.th.translations.nutToTotal
383
- ], i = F.value.flatMap((t, s) => t.branches.flatMap((b, p) => b.breakdown.flatMap((f, k) => f.table)));
384
- return { head: l, body: i };
407
+ ], r = N.value.flatMap((t, s) => t.branches.flatMap((f, p) => f.breakdown.flatMap((b, k) => b.table)));
408
+ return { head: l, body: r };
385
409
  });
386
410
  function ye(l = null) {
387
411
  pe(() => {
388
- const i = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", L.value], [""]], t = v.value.head, s = v.value.body.map((f, k) => [
389
- v.value.body[k - 1] && v.value.body[k - 1].rootName === f.rootName ? "" : f.rootName,
390
- v.value.body[k - 1] && v.value.body[k - 1].rootName === f.rootName ? "" : f.rootValue,
391
- v.value.body[k - 1] && v.value.body[k - 1].rootName === f.rootName ? "" : f.rootToTotal,
392
- v.value.body[k - 1] && v.value.body[k - 1].branchName === f.branchName ? "" : f.branchName,
393
- v.value.body[k - 1] && v.value.body[k - 1].branchName === f.branchName ? "" : f.branchValue,
394
- v.value.body[k - 1] && v.value.body[k - 1].branchName === f.branchName ? "" : f.branchToRoot,
395
- v.value.body[k - 1] && v.value.body[k - 1].branchName === f.branchName ? "" : f.branchToTotal,
396
- f.nutName,
397
- f.nutValue,
398
- f.nutToBranch,
399
- f.nutToRoot,
400
- f.nutToTotal
401
- ]), b = i.concat([t]).concat(s), p = It(b);
402
- l ? l(p) : Lt({ csvContent: p, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
412
+ const r = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", D.value], [""]], t = v.value.head, s = v.value.body.map((b, k) => [
413
+ v.value.body[k - 1] && v.value.body[k - 1].rootName === b.rootName ? "" : b.rootName,
414
+ v.value.body[k - 1] && v.value.body[k - 1].rootName === b.rootName ? "" : b.rootValue,
415
+ v.value.body[k - 1] && v.value.body[k - 1].rootName === b.rootName ? "" : b.rootToTotal,
416
+ v.value.body[k - 1] && v.value.body[k - 1].branchName === b.branchName ? "" : b.branchName,
417
+ v.value.body[k - 1] && v.value.body[k - 1].branchName === b.branchName ? "" : b.branchValue,
418
+ v.value.body[k - 1] && v.value.body[k - 1].branchName === b.branchName ? "" : b.branchToRoot,
419
+ v.value.body[k - 1] && v.value.body[k - 1].branchName === b.branchName ? "" : b.branchToTotal,
420
+ b.nutName,
421
+ b.nutValue,
422
+ b.nutToBranch,
423
+ b.nutToRoot,
424
+ b.nutToTotal
425
+ ]), f = r.concat([t]).concat(s), p = Mt(f);
426
+ l ? l(p) : jt({ csvContent: p, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
403
427
  });
404
428
  }
405
429
  const K = S(!1);
406
430
  function Oe(l) {
407
431
  K.value = l, we.value += 1;
408
432
  }
409
- function Re() {
410
- E.value.showTable = !E.value.showTable;
433
+ function Pe() {
434
+ X.value.showTable = !X.value.showTable;
411
435
  }
412
436
  const le = S(!1);
413
437
  function he() {
414
438
  le.value = !le.value;
415
439
  }
416
- async function it({ scale: l = 2 } = {}) {
440
+ async function gt({ scale: l = 2 } = {}) {
417
441
  if (!Y.value) return;
418
- const { width: i, height: t } = Y.value.getBoundingClientRect(), s = i / t, { imageUri: b, base64: p } = await Xt({ domElement: Y.value, base64: !0, img: !0, scale: l });
442
+ const { width: r, height: t } = Y.value.getBoundingClientRect(), s = r / t, { imageUri: f, base64: p } = await Jt({ domElement: Y.value, base64: !0, img: !0, scale: l });
419
443
  return {
420
- imageUri: b,
444
+ imageUri: f,
421
445
  base64: p,
422
446
  title: e.value.style.chart.layout.title.text,
423
- width: i,
447
+ width: r,
424
448
  height: t,
425
449
  aspectRatio: s
426
450
  };
427
451
  }
428
- function ct(l) {
429
- const i = nt(l), t = l.x1, s = l.y1, b = r.value.branchSize, p = i.x + i.r / 2, f = i.y, k = 20;
452
+ function _t(l) {
453
+ const r = bt(l), t = l.x1, s = l.y1, f = i.value.branchSize, p = r.x + r.r / 2, b = r.y, k = 20;
430
454
  return [
431
455
  `M ${t},${s}`,
432
- `C ${t - k},${s} ${t - k},${s} ${p},${f}`,
433
- `C ${p},${f} ${t - k},${s + b} ${t},${s + b}`,
456
+ `C ${t - k},${s} ${t - k},${s} ${p},${b}`,
457
+ `C ${p},${b} ${t - k},${s + f} ${t},${s + f}`,
434
458
  "Z"
435
459
  ].join(" ");
436
460
  }
437
461
  const ae = g(() => {
438
- const l = e.value.table.useDialog && !e.value.table.show, i = E.value.showTable;
462
+ const l = e.value.table.useDialog && !e.value.table.show, r = X.value.showTable;
439
463
  return {
440
- component: l ? Ke : We,
464
+ component: l ? at : Qe,
441
465
  title: `${e.value.style.chart.layout.title.text}${e.value.style.chart.layout.title.subtitle.text ? `: ${e.value.style.chart.layout.title.subtitle.text}` : ""}`,
442
466
  props: l ? {
443
467
  backgroundColor: e.value.table.th.backgroundColor,
@@ -450,7 +474,7 @@ const Ut = ["id"], Wt = {
450
474
  } : {
451
475
  hideDetails: !0,
452
476
  config: {
453
- open: i,
477
+ open: r,
454
478
  maxHeight: 1e4,
455
479
  body: {
456
480
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -464,74 +488,74 @@ const Ut = ["id"], Wt = {
464
488
  }
465
489
  };
466
490
  });
467
- be(() => E.value.showTable, async (l) => {
468
- e.value.table.show || (l && e.value.table.useDialog && Q.value ? (await pe(), Q.value.open()) : "close" in Q.value && Q.value.close());
491
+ fe(() => X.value.showTable, async (l) => {
492
+ e.value.table.show || (l && e.value.table.useDialog && J.value ? (await pe(), J.value.open()) : "close" in J.value && J.value.close());
469
493
  });
470
- const { isResponsive: dt } = Mt(Fe, Ze);
471
- function fe() {
472
- E.value.showTable = !1, ne.value && ne.value.setTableIconState(!1);
494
+ const { isResponsive: mt } = Ht(Be, rt);
495
+ function be() {
496
+ X.value.showTable = !1, ne.value && ne.value.setTableIconState(!1);
473
497
  }
474
- const vt = g(() => F.value.map((l, i) => ({
498
+ const xt = g(() => N.value.map((l, r) => ({
475
499
  ...l,
476
- display: `${l.name}: ${D(
500
+ display: `${l.name}: ${j(
477
501
  e.value.style.chart.layout.roots.labels.formatter,
478
502
  l.total,
479
- N({
503
+ F({
480
504
  p: e.value.style.chart.layout.legend.prefix,
481
505
  v: l.total,
482
506
  s: e.value.style.chart.layout.legend.suffix,
483
507
  r: e.value.style.chart.layout.legend.roundingValue
484
508
  }),
485
509
  { datapoint: l }
486
- )} (${N({
487
- v: l.total / L.value * 100,
510
+ )} (${F({
511
+ v: l.total / D.value * 100,
488
512
  s: "%",
489
513
  r: e.value.style.chart.layout.legend.roundingPercentage
490
514
  })})`
491
- }))), yt = g(() => vt.value.map((l) => ({
515
+ }))), kt = g(() => xt.value.map((l) => ({
492
516
  color: l.color,
493
517
  name: l.display,
494
518
  shape: "circle"
495
- }))), ht = g(() => e.value.style.chart.backgroundColor), ft = g(() => ({
519
+ }))), Ct = g(() => e.value.style.chart.backgroundColor), wt = g(() => ({
496
520
  ...e.value.style.chart.layout.legend,
497
521
  textAlign: "center",
498
522
  show: !0,
499
523
  position: "bottom"
500
- })), bt = g(() => e.value.style.chart.layout.title), { exportSvg: pt, getSvg: gt } = Bt({
524
+ })), At = g(() => e.value.style.chart.layout.title), { exportSvg: $t, getSvg: Tt } = Yt({
501
525
  svg: ie,
502
- title: bt,
503
- legend: ft,
504
- legendItems: yt,
505
- backgroundColor: ht,
526
+ title: At,
527
+ legend: wt,
528
+ legendItems: kt,
529
+ backgroundColor: Ct,
506
530
  titleEmbedded: !0
507
531
  });
508
- async function Ve({ isCb: l }) {
532
+ async function Re({ isCb: l }) {
509
533
  if (l) {
510
- const { blob: i, url: t, text: s, dataUrl: b } = await gt();
511
- e.value.userOptions.callbacks.svg({ blob: i, url: t, text: s, dataUrl: b });
534
+ const { blob: r, url: t, text: s, dataUrl: f } = await Tt();
535
+ e.value.userOptions.callbacks.svg({ blob: r, url: t, text: s, dataUrl: f });
512
536
  } else
513
- pt();
537
+ $t();
514
538
  }
515
- return Ge({
516
- getData: et,
517
- getImage: it,
518
- generatePdf: Se,
539
+ return Ze({
540
+ getData: it,
541
+ getImage: gt,
542
+ generatePdf: Fe,
519
543
  generateCsv: ye,
520
544
  generateImage: Ne,
521
- generateSvg: Ve,
522
- toggleTable: Re,
545
+ generateSvg: Re,
546
+ toggleTable: Pe,
523
547
  toggleAnnotator: he,
524
548
  toggleFullscreen: Oe
525
- }), (l, i) => (a(), o("div", {
526
- class: C(`vue-data-ui-component vue-ui-chestnut ${K.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
549
+ }), (l, r) => (a(), o("div", {
550
+ class: w(`vue-data-ui-component vue-ui-chestnut ${K.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
527
551
  ref_key: "chestnutChart",
528
552
  ref: Y,
529
- id: `vue-ui-chestnut_${T.value}`,
553
+ id: `vue-ui-chestnut_${$.value}`,
530
554
  style: y(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
531
- onMouseenter: i[1] || (i[1] = () => n($e)(!0)),
532
- onMouseleave: i[2] || (i[2] = () => n($e)(!1))
555
+ onMouseenter: r[1] || (r[1] = () => n($e)(!0)),
556
+ onMouseleave: r[2] || (r[2] = () => n($e)(!1))
533
557
  }, [
534
- e.value.userOptions.buttons.annotator ? (a(), oe(n(Ye), {
558
+ e.value.userOptions.buttons.annotator ? (a(), oe(n(et), {
535
559
  key: 0,
536
560
  svgRef: n(ie),
537
561
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -539,36 +563,36 @@ const Ut = ["id"], Wt = {
539
563
  active: le.value,
540
564
  onClose: he
541
565
  }, {
542
- "annotator-action-close": $(() => [
543
- w(l.$slots, "annotator-action-close", {}, void 0, !0)
566
+ "annotator-action-close": A(() => [
567
+ C(l.$slots, "annotator-action-close", {}, void 0, !0)
544
568
  ]),
545
- "annotator-action-color": $(({ color: t }) => [
546
- w(l.$slots, "annotator-action-color", B(M({ color: t })), void 0, !0)
569
+ "annotator-action-color": A(({ color: t }) => [
570
+ C(l.$slots, "annotator-action-color", R(E({ color: t })), void 0, !0)
547
571
  ]),
548
- "annotator-action-draw": $(({ mode: t }) => [
549
- w(l.$slots, "annotator-action-draw", B(M({ mode: t })), void 0, !0)
572
+ "annotator-action-draw": A(({ mode: t }) => [
573
+ C(l.$slots, "annotator-action-draw", R(E({ mode: t })), void 0, !0)
550
574
  ]),
551
- "annotator-action-undo": $(({ disabled: t }) => [
552
- w(l.$slots, "annotator-action-undo", B(M({ disabled: t })), void 0, !0)
575
+ "annotator-action-undo": A(({ disabled: t }) => [
576
+ C(l.$slots, "annotator-action-undo", R(E({ disabled: t })), void 0, !0)
553
577
  ]),
554
- "annotator-action-redo": $(({ disabled: t }) => [
555
- w(l.$slots, "annotator-action-redo", B(M({ disabled: t })), void 0, !0)
578
+ "annotator-action-redo": A(({ disabled: t }) => [
579
+ C(l.$slots, "annotator-action-redo", R(E({ disabled: t })), void 0, !0)
556
580
  ]),
557
- "annotator-action-delete": $(({ disabled: t }) => [
558
- w(l.$slots, "annotator-action-delete", B(M({ disabled: t })), void 0, !0)
581
+ "annotator-action-delete": A(({ disabled: t }) => [
582
+ C(l.$slots, "annotator-action-delete", R(E({ disabled: t })), void 0, !0)
559
583
  ]),
560
584
  _: 3
561
585
  }, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
562
- Qe.value ? (a(), o("div", Wt, null, 512)) : h("", !0),
563
- e.value.userOptions.show && ke.value && (n(Te) || n(re)) ? (a(), oe(n(He), {
586
+ ut.value ? (a(), o("div", tl, null, 512)) : h("", !0),
587
+ e.value.userOptions.show && Ce.value && (n(Te) || n(re)) ? (a(), oe(n(tt), {
564
588
  ref_key: "userOptionsRef",
565
589
  ref: ne,
566
590
  key: `user_options_${we.value}`,
567
591
  backgroundColor: e.value.style.chart.backgroundColor,
568
592
  color: e.value.style.chart.color,
569
- isImaging: n(Ae),
593
+ isImaging: n(Se),
570
594
  isPrinting: n(ze),
571
- uid: T.value,
595
+ uid: $.value,
572
596
  hasPdf: e.value.userOptions.buttons.pdf,
573
597
  hasImg: e.value.userOptions.buttons.img,
574
598
  hasSvg: e.value.userOptions.buttons.svg,
@@ -585,243 +609,243 @@ const Ut = ["id"], Wt = {
585
609
  printScale: e.value.userOptions.print.scale,
586
610
  tableDialog: e.value.table.useDialog,
587
611
  onToggleFullscreen: Oe,
588
- onGeneratePdf: n(Se),
612
+ onGeneratePdf: n(Fe),
589
613
  onGenerateCsv: ye,
590
614
  onGenerateImage: n(Ne),
591
- onGenerateSvg: Ve,
592
- onToggleTable: Re,
615
+ onGenerateSvg: Re,
616
+ onToggleTable: Pe,
593
617
  onToggleAnnotator: he,
594
618
  style: y({
595
619
  visibility: n(Te) ? n(re) ? "visible" : "hidden" : "visible"
596
620
  })
597
- }, Be({ _: 2 }, [
621
+ }, Ee({ _: 2 }, [
598
622
  l.$slots.menuIcon ? {
599
623
  name: "menuIcon",
600
- fn: $(({ isOpen: t, color: s }) => [
601
- w(l.$slots, "menuIcon", B(M({ isOpen: t, color: s })), void 0, !0)
624
+ fn: A(({ isOpen: t, color: s }) => [
625
+ C(l.$slots, "menuIcon", R(E({ isOpen: t, color: s })), void 0, !0)
602
626
  ]),
603
627
  key: "0"
604
628
  } : void 0,
605
629
  l.$slots.optionPdf ? {
606
630
  name: "optionPdf",
607
- fn: $(() => [
608
- w(l.$slots, "optionPdf", {}, void 0, !0)
631
+ fn: A(() => [
632
+ C(l.$slots, "optionPdf", {}, void 0, !0)
609
633
  ]),
610
634
  key: "1"
611
635
  } : void 0,
612
636
  l.$slots.optionCsv ? {
613
637
  name: "optionCsv",
614
- fn: $(() => [
615
- w(l.$slots, "optionCsv", {}, void 0, !0)
638
+ fn: A(() => [
639
+ C(l.$slots, "optionCsv", {}, void 0, !0)
616
640
  ]),
617
641
  key: "2"
618
642
  } : void 0,
619
643
  l.$slots.optionImg ? {
620
644
  name: "optionImg",
621
- fn: $(() => [
622
- w(l.$slots, "optionImg", {}, void 0, !0)
645
+ fn: A(() => [
646
+ C(l.$slots, "optionImg", {}, void 0, !0)
623
647
  ]),
624
648
  key: "3"
625
649
  } : void 0,
626
650
  l.$slots.optionSvg ? {
627
651
  name: "optionSvg",
628
- fn: $(() => [
629
- w(l.$slots, "optionSvg", {}, void 0, !0)
652
+ fn: A(() => [
653
+ C(l.$slots, "optionSvg", {}, void 0, !0)
630
654
  ]),
631
655
  key: "4"
632
656
  } : void 0,
633
657
  l.$slots.optionTable ? {
634
658
  name: "optionTable",
635
- fn: $(() => [
636
- w(l.$slots, "optionTable", {}, void 0, !0)
659
+ fn: A(() => [
660
+ C(l.$slots, "optionTable", {}, void 0, !0)
637
661
  ]),
638
662
  key: "5"
639
663
  } : void 0,
640
664
  l.$slots.optionFullscreen ? {
641
665
  name: "optionFullscreen",
642
- fn: $(({ toggleFullscreen: t, isFullscreen: s }) => [
643
- w(l.$slots, "optionFullscreen", B(M({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
666
+ fn: A(({ toggleFullscreen: t, isFullscreen: s }) => [
667
+ C(l.$slots, "optionFullscreen", R(E({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
644
668
  ]),
645
669
  key: "6"
646
670
  } : void 0,
647
671
  l.$slots.optionAnnotator ? {
648
672
  name: "optionAnnotator",
649
- fn: $(({ toggleAnnotator: t, isAnnotator: s }) => [
650
- w(l.$slots, "optionAnnotator", B(M({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
673
+ fn: A(({ toggleAnnotator: t, isAnnotator: s }) => [
674
+ C(l.$slots, "optionAnnotator", R(E({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
651
675
  ]),
652
676
  key: "7"
653
677
  } : void 0
654
678
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
655
- r.value.height > 0 ? (a(), o("svg", {
679
+ i.value.height > 0 ? (a(), o("svg", {
656
680
  key: 3,
657
681
  ref_key: "svgRef",
658
682
  ref: ie,
659
- xmlns: n(Nt),
660
- class: C({ "vue-data-ui-fullscreen--on": K.value, "vue-data-ui-fulscreen--off": !K.value }),
661
- viewBox: `0 0 ${r.value.width <= 0 ? 10 : r.value.width} ${r.value.height <= 0 ? 10 : r.value.height}`,
683
+ xmlns: n(Et),
684
+ class: w({ "vue-data-ui-fullscreen--on": K.value, "vue-data-ui-fulscreen--off": !K.value }),
685
+ viewBox: `0 0 ${i.value.width <= 0 ? 10 : i.value.width} ${i.value.height <= 0 ? 10 : i.value.height}`,
662
686
  style: y(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
663
687
  }, [
664
- ge(n(qe)),
688
+ ge(n(lt)),
665
689
  l.$slots["chart-background"] ? (a(), o("foreignObject", {
666
690
  key: 0,
667
691
  x: 0,
668
692
  y: 0,
669
- width: r.value.width <= 0 ? 10 : r.value.width,
670
- height: r.value.height <= 0 ? 10 : r.value.height,
693
+ width: i.value.width <= 0 ? 10 : i.value.width,
694
+ height: i.value.height <= 0 ? 10 : i.value.height,
671
695
  style: {
672
696
  pointerEvents: "none"
673
697
  }
674
698
  }, [
675
- w(l.$slots, "chart-background", {}, void 0, !0)
676
- ], 8, Ht)) : h("", !0),
677
- d.value ? h("", !0) : (a(), o("g", qt, [
699
+ C(l.$slots, "chart-background", {}, void 0, !0)
700
+ ], 8, al)) : h("", !0),
701
+ d.value ? h("", !0) : (a(), o("g", ol, [
678
702
  e.value.style.chart.layout.title.text ? (a(), o("text", {
679
703
  key: 0,
680
704
  "text-anchor": "middle",
681
705
  fill: e.value.style.chart.layout.title.color,
682
706
  "font-weight": e.value.style.chart.layout.title.bold ? "bold" : "normal",
683
707
  "font-size": e.value.style.chart.layout.title.fontSize,
684
- x: r.value.width / 2,
708
+ x: i.value.width / 2,
685
709
  y: 12 + e.value.style.chart.layout.title.fontSize + e.value.style.chart.layout.title.offsetY,
686
- onClick: z
687
- }, c(e.value.style.chart.layout.title.text), 9, Kt)) : h("", !0),
710
+ onClick: T
711
+ }, c(e.value.style.chart.layout.title.text), 9, sl)) : h("", !0),
688
712
  e.value.style.chart.layout.title.subtitle.text ? (a(), o("text", {
689
713
  key: 1,
690
714
  "text-anchor": "middle",
691
715
  fill: e.value.style.chart.layout.title.subtitle.color,
692
716
  "font-weight": e.value.style.chart.layout.title.subtitle.bold ? "bold" : "normal",
693
717
  "font-size": e.value.style.chart.layout.title.subtitle.fontSize,
694
- x: r.value.width / 2,
718
+ x: i.value.width / 2,
695
719
  y: 48 + e.value.style.chart.layout.title.subtitle.fontSize + e.value.style.chart.layout.title.subtitle.offsetY,
696
- onClick: z
697
- }, c(e.value.style.chart.layout.title.subtitle.text), 9, Jt)) : h("", !0)
720
+ onClick: T
721
+ }, c(e.value.style.chart.layout.title.subtitle.text), 9, nl)) : h("", !0)
698
722
  ])),
699
723
  u("defs", null, [
700
- (a(!0), o(_, null, m(F.value, (t, s) => (a(), o("radialGradient", {
724
+ (a(!0), o(_, null, m(N.value, (t, s) => (a(), o("radialGradient", {
701
725
  cx: "50%",
702
726
  cy: "50%",
703
727
  r: "50%",
704
728
  fx: "50%",
705
729
  fy: "50%",
706
- id: `root_gradient_${T.value}_${t.rootIndex}`
730
+ id: `root_gradient_${$.value}_${t.rootIndex}`
707
731
  }, [
708
732
  u("stop", {
709
733
  offset: "0%",
710
- "stop-color": n(I)(n(Me)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
711
- }, null, 8, Zt),
734
+ "stop-color": n(B)(n(Ve)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
735
+ }, null, 8, rl),
712
736
  u("stop", {
713
737
  offset: "100%",
714
738
  "stop-color": t.color
715
- }, null, 8, el)
716
- ], 8, Qt))), 256)),
717
- (a(!0), o(_, null, m(F.value, (t) => (a(), o("linearGradient", {
739
+ }, null, 8, il)
740
+ ], 8, ul))), 256)),
741
+ (a(!0), o(_, null, m(N.value, (t) => (a(), o("linearGradient", {
718
742
  x1: "0%",
719
743
  y1: "0%",
720
744
  x2: "100%",
721
745
  y2: "0%",
722
- id: `branch_gradient_${T.value}_${t.rootIndex}`
746
+ id: `branch_gradient_${$.value}_${t.rootIndex}`
723
747
  }, [
724
748
  u("stop", {
725
749
  offset: "0%",
726
750
  "stop-color": t.color
727
- }, null, 8, ll),
751
+ }, null, 8, dl),
728
752
  u("stop", {
729
753
  offset: "100%",
730
- "stop-color": n(I)(n(Me)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
731
- }, null, 8, al)
732
- ], 8, tl))), 256)),
754
+ "stop-color": n(B)(n(Ve)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
755
+ }, null, 8, vl)
756
+ ], 8, cl))), 256)),
733
757
  u("radialGradient", {
734
758
  cx: "50%",
735
759
  cy: "50%",
736
760
  r: "50%",
737
761
  fx: "50%",
738
762
  fy: "50%",
739
- id: `nutpick_${T.value}`
763
+ id: `nutpick_${$.value}`
740
764
  }, [
741
765
  u("stop", {
742
766
  offset: "0%",
743
- "stop-color": n(I)("#FFFFFF", 0)
744
- }, null, 8, sl),
767
+ "stop-color": n(B)("#FFFFFF", 0)
768
+ }, null, 8, hl),
745
769
  u("stop", {
746
770
  offset: "80%",
747
- "stop-color": n(I)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
748
- }, null, 8, nl),
771
+ "stop-color": n(B)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
772
+ }, null, 8, bl),
749
773
  u("stop", {
750
774
  offset: "100%",
751
- "stop-color": n(I)("#FFFFFF", 0)
752
- }, null, 8, ul)
753
- ], 8, ol),
775
+ "stop-color": n(B)("#FFFFFF", 0)
776
+ }, null, 8, fl)
777
+ ], 8, yl),
754
778
  u("radialGradient", {
755
779
  cx: "50%",
756
780
  cy: "50%",
757
781
  r: "50%",
758
782
  fx: "50%",
759
783
  fy: "50%",
760
- id: `nut_${T.value}`
784
+ id: `nut_${$.value}`
761
785
  }, [
762
786
  u("stop", {
763
787
  offset: "0%",
764
- "stop-color": n(I)("#FFFFFF", 0)
765
- }, null, 8, il),
788
+ "stop-color": n(B)("#FFFFFF", 0)
789
+ }, null, 8, gl),
766
790
  u("stop", {
767
791
  offset: "80%",
768
- "stop-color": n(I)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
769
- }, null, 8, cl),
792
+ "stop-color": n(B)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
793
+ }, null, 8, _l),
770
794
  u("stop", {
771
795
  offset: "100%",
772
- "stop-color": n(I)("#FFFFFF", 0)
773
- }, null, 8, dl)
774
- ], 8, rl),
796
+ "stop-color": n(B)("#FFFFFF", 0)
797
+ }, null, 8, ml)
798
+ ], 8, pl),
775
799
  u("radialGradient", {
776
800
  cx: "50%",
777
801
  cy: "50%",
778
802
  r: "50%",
779
803
  fx: "50%",
780
804
  fy: "50%",
781
- id: `nut_underlayer_${T.value}`
805
+ id: `nut_underlayer_${$.value}`
782
806
  }, [
783
807
  u("stop", {
784
808
  offset: "0%",
785
- "stop-color": n(I)(e.value.style.chart.backgroundColor, 100)
786
- }, null, 8, yl),
809
+ "stop-color": n(B)(e.value.style.chart.backgroundColor, 100)
810
+ }, null, 8, kl),
787
811
  u("stop", {
788
812
  offset: "80%",
789
- "stop-color": n(I)(e.value.style.chart.backgroundColor, 60)
790
- }, null, 8, hl),
813
+ "stop-color": n(B)(e.value.style.chart.backgroundColor, 60)
814
+ }, null, 8, Cl),
791
815
  u("stop", {
792
816
  offset: "100%",
793
- "stop-color": n(I)(e.value.style.chart.backgroundColor, 0)
794
- }, null, 8, fl)
795
- ], 8, vl)
817
+ "stop-color": n(B)(e.value.style.chart.backgroundColor, 0)
818
+ }, null, 8, wl)
819
+ ], 8, xl)
796
820
  ]),
797
- e.value.style.chart.layout.grandTotal.show ? (a(), o("g", bl, [
821
+ e.value.style.chart.layout.grandTotal.show ? (a(), o("g", Al, [
798
822
  u("text", {
799
- x: A.value.seedX,
823
+ x: z.value.seedX,
800
824
  y: 32 + e.value.style.chart.layout.grandTotal.offsetY,
801
825
  "font-size": e.value.style.chart.layout.grandTotal.fontSize,
802
826
  "font-weight": e.value.style.chart.layout.grandTotal.bold ? "bold" : "normal",
803
827
  fill: e.value.style.chart.layout.grandTotal.color,
804
828
  "text-anchor": "middle",
805
- onClick: z
806
- }, c(e.value.style.chart.layout.grandTotal.text), 9, pl),
829
+ onClick: T
830
+ }, c(e.value.style.chart.layout.grandTotal.text), 9, $l),
807
831
  u("text", {
808
- x: A.value.seedX,
832
+ x: z.value.seedX,
809
833
  y: 38 + e.value.style.chart.layout.grandTotal.fontSize + e.value.style.chart.layout.grandTotal.offsetY,
810
834
  "font-size": e.value.style.chart.layout.grandTotal.fontSize,
811
835
  "font-weight": e.value.style.chart.layout.grandTotal.bold ? "bold" : "normal",
812
836
  fill: e.value.style.chart.layout.grandTotal.color,
813
837
  "text-anchor": "middle",
814
- onClick: z
815
- }, c(n(D)(
838
+ onClick: T
839
+ }, c(n(j)(
816
840
  e.value.style.chart.layout.grandTotal.formatter,
817
- L.value,
818
- n(N)({
841
+ D.value,
842
+ n(F)({
819
843
  p: e.value.style.chart.layout.grandTotal.prefix,
820
- v: L.value,
844
+ v: D.value,
821
845
  s: e.value.style.chart.layout.grandTotal.suffix,
822
846
  r: e.value.style.chart.layout.grandTotal.roundingValue
823
847
  })
824
- )), 9, gl)
848
+ )), 9, Tl)
825
849
  ])) : h("", !0),
826
850
  (a(!0), o(_, null, m(U.value, (t) => (a(), o("g", null, [
827
851
  u("defs", null, [
@@ -831,22 +855,22 @@ const Ut = ["id"], Wt = {
831
855
  u("stop", {
832
856
  offset: "0%",
833
857
  "stop-color": t.color
834
- }, null, 8, ml),
858
+ }, null, 8, Sl),
835
859
  u("stop", {
836
860
  offset: "100%",
837
- "stop-color": n(I)(t.color, e.value.style.chart.layout.links.opacity)
838
- }, null, 8, xl)
839
- ], 8, _l)
861
+ "stop-color": n(B)(t.color, e.value.style.chart.layout.links.opacity)
862
+ }, null, 8, Fl)
863
+ ], 8, zl)
840
864
  ]),
841
865
  u("path", {
842
- d: ct(t),
843
- stroke: n(I)(t.color, e.value.style.chart.layout.links.opacity),
866
+ d: _t(t),
867
+ stroke: n(B)(t.color, e.value.style.chart.layout.links.opacity),
844
868
  fill: `url(#link_grad_${t.id})`,
845
869
  "stroke-linecap": "round",
846
870
  "stroke-linejoin": "round",
847
- style: y(`opacity:${O(t) ? 1 : 0}`),
848
- onClick: z
849
- }, null, 12, kl)
871
+ style: y(`opacity:${I(t) ? 1 : 0}`),
872
+ onClick: T
873
+ }, null, 12, Nl)
850
874
  ]))), 256)),
851
875
  (a(!0), o(_, null, m(G.value, (t) => (a(), o("circle", {
852
876
  cx: t.x,
@@ -854,41 +878,41 @@ const Ut = ["id"], Wt = {
854
878
  r: t.r,
855
879
  fill: e.value.style.chart.layout.roots.underlayerColor,
856
880
  stroke: "none",
857
- style: y(`cursor:pointer; opacity:${O(t) ? 1 : 0.05}`)
858
- }, null, 12, wl))), 256)),
881
+ style: y(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`)
882
+ }, null, 12, Bl))), 256)),
859
883
  (a(!0), o(_, null, m(G.value, (t, s) => (a(), o("circle", {
860
884
  cx: t.x,
861
885
  cy: t.y,
862
886
  r: t.r,
863
- fill: e.value.style.chart.layout.roots.useGradient ? `url(#root_gradient_${T.value}_${t.rootIndex})` : t.color,
887
+ fill: e.value.style.chart.layout.roots.useGradient ? `url(#root_gradient_${$.value}_${t.rootIndex})` : t.color,
864
888
  stroke: e.value.style.chart.layout.roots.stroke,
865
889
  "stroke-width": e.value.style.chart.layout.roots.strokeWidth,
866
- style: y(`cursor:pointer; opacity:${O(t) ? 1 : 0.05}`),
867
- onClick: (b) => Le(t)
868
- }, null, 12, Cl))), 256)),
869
- e.value.style.chart.layout.roots.labels.show ? (a(), o("g", $l, [
890
+ style: y(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`),
891
+ onClick: (f) => Le(t)
892
+ }, null, 12, Dl))), 256)),
893
+ e.value.style.chart.layout.roots.labels.show ? (a(), o("g", Ll, [
870
894
  (a(!0), o(_, null, m(G.value, (t, s) => (a(), o("text", {
871
895
  x: t.x,
872
896
  y: t.y + e.value.style.chart.layout.roots.labels.fontSize / 2.6,
873
897
  "text-anchor": "middle",
874
898
  "font-size": e.value.style.chart.layout.roots.labels.fontSize,
875
- fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? n(je)(t.color) : e.value.style.chart.layout.roots.labels.color,
899
+ fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? n(Me)(t.color) : e.value.style.chart.layout.roots.labels.color,
876
900
  "font-weight": "bold",
877
- style: y(`cursor:pointer; opacity:${O(t) ? 1 : 0.05}`),
878
- onClick: (b) => Le(t)
879
- }, c(n(D)(
901
+ style: y(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`),
902
+ onClick: (f) => Le(t)
903
+ }, c(n(j)(
880
904
  e.value.style.chart.layout.roots.labels.formatter,
881
905
  t.total,
882
- n(N)({
906
+ n(F)({
883
907
  p: e.value.style.chart.layout.roots.labels.prefix,
884
908
  v: t.total,
885
909
  s: e.value.style.chart.layout.roots.labels.suffix,
886
910
  r: e.value.style.chart.layout.roots.labels.roundingValue
887
911
  }),
888
912
  { datapoint: t }
889
- )), 13, Tl))), 256)),
913
+ )), 13, Il))), 256)),
890
914
  (a(!0), o(_, null, m(G.value, (t) => (a(), o("g", null, [
891
- d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || P.value && t.rootIndex === P.value.rootIndex ? (a(), o("g", zl, [
915
+ d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || L.value && t.rootIndex === L.value.rootIndex ? (a(), o("g", Ol, [
892
916
  u("text", {
893
917
  x: t.x,
894
918
  y: t.y + t.r + 24,
@@ -896,131 +920,131 @@ const Ut = ["id"], Wt = {
896
920
  fill: e.value.style.chart.layout.roots.labels.name.color,
897
921
  "font-size": e.value.style.chart.layout.roots.labels.name.fontSize,
898
922
  "font-weight": e.value.style.chart.layout.roots.labels.name.bold ? "bold" : "normal",
899
- onClick: z
900
- }, c(t.name), 9, Al)
923
+ onClick: T
924
+ }, c(t.name), 9, Pl)
901
925
  ])) : h("", !0)
902
926
  ]))), 256))
903
927
  ])) : h("", !0),
904
928
  (a(!0), o(_, null, m(U.value, (t) => (a(), o("rect", {
905
929
  x: t.x1,
906
930
  y: t.y1,
907
- height: r.value.branchSize,
931
+ height: i.value.branchSize,
908
932
  width: t.x2 - t.x1,
909
933
  fill: e.value.style.chart.layout.branches.underlayerColor,
910
934
  rx: e.value.style.chart.layout.branches.borderRadius,
911
935
  stroke: "none",
912
- style: y(`opacity:${O(t) ? 1 : 0.05}`),
936
+ style: y(`opacity:${I(t) ? 1 : 0.05}`),
913
937
  onClick: (s) => ve(t)
914
- }, null, 12, Sl))), 256)),
938
+ }, null, 12, Rl))), 256)),
915
939
  (a(!0), o(_, null, m(U.value, (t, s) => (a(), o("rect", {
916
940
  x: t.x1,
917
941
  y: t.y1,
918
- height: r.value.branchSize,
942
+ height: i.value.branchSize,
919
943
  width: t.x2 - t.x1,
920
- fill: e.value.style.chart.layout.branches.useGradient ? `url(#branch_gradient_${T.value}_${t.rootIndex})` : t.color,
944
+ fill: e.value.style.chart.layout.branches.useGradient ? `url(#branch_gradient_${$.value}_${t.rootIndex})` : t.color,
921
945
  rx: e.value.style.chart.layout.branches.borderRadius,
922
946
  stroke: e.value.style.chart.layout.branches.stroke,
923
947
  "stroke-width": e.value.style.chart.layout.branches.strokeWidth,
924
- style: y(`cursor:pointer; opacity:${O(t) ? 1 : 0.05}`),
925
- onClick: (b) => ve(t)
926
- }, null, 12, Nl))), 256)),
927
- e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", Fl, [
948
+ style: y(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`),
949
+ onClick: (f) => ve(t)
950
+ }, null, 12, El))), 256)),
951
+ e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", Vl, [
928
952
  (a(!0), o(_, null, m(U.value, (t) => (a(), o("g", null, [
929
953
  t.proportionToRoot * 100 > e.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (a(), o("text", {
930
954
  key: 0,
931
955
  x: t.x1 + 6,
932
- y: t.y1 + r.value.branchSize / 1.5,
956
+ y: t.y1 + i.value.branchSize / 1.5,
933
957
  "text-anchor": "start",
934
- fill: n(je)(t.color),
958
+ fill: n(Me)(t.color),
935
959
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
936
960
  "font-weight": "bold",
937
- style: y(`cursor:pointer; opacity:${O(t) ? 1 : 0.05}`),
961
+ style: y(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`),
938
962
  onClick: (s) => ve(t)
939
- }, c(n(D)(
963
+ }, c(n(j)(
940
964
  e.value.style.chart.layout.branches.labels.dataLabels.formatter,
941
965
  t.value,
942
- n(N)({
966
+ n(F)({
943
967
  p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
944
968
  v: t.value,
945
969
  s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
946
970
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
947
971
  }),
948
972
  { datapoint: t }
949
- )), 13, Il)) : h("", !0)
973
+ )), 13, Ml)) : h("", !0)
950
974
  ]))), 256))
951
975
  ])) : h("", !0),
952
976
  (a(!0), o(_, null, m(U.value, (t, s) => (a(), o("g", null, [
953
- (a(!0), o(_, null, m(n(De)(
977
+ (a(!0), o(_, null, m(n(je)(
954
978
  { series: t.breakdown, base: 1 },
955
979
  t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
956
- t.y1 + r.value.branchSize / 2,
957
- r.value.branchSize / 3,
958
- r.value.branchSize / 3
959
- ), (b, p) => (a(), o("path", {
960
- d: b.path,
961
- stroke: b.color,
980
+ t.y1 + i.value.branchSize / 2,
981
+ i.value.branchSize / 3,
982
+ i.value.branchSize / 3
983
+ ), (f, p) => (a(), o("path", {
984
+ d: f.path,
985
+ stroke: f.color,
962
986
  "stroke-width": 10,
963
987
  fill: "none",
964
- style: y(`opacity:${O(t) ? 1 : 0.1}`)
965
- }, null, 12, Ll))), 256)),
988
+ style: y(`opacity:${I(t) ? 1 : 0.1}`)
989
+ }, null, 12, jl))), 256)),
966
990
  u("circle", {
967
- fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${T.value})` : "transparent",
991
+ fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${$.value})` : "transparent",
968
992
  cx: t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
969
- cy: t.y1 + r.value.branchSize / 2,
970
- r: r.value.branchSize / 2 + 2,
971
- onClick: (b) => ut(t),
972
- style: y(`cursor:pointer;opacity:${O(t) ? 1 : 0.1}`)
973
- }, null, 12, Pl)
993
+ cy: t.y1 + i.value.branchSize / 2,
994
+ r: i.value.branchSize / 2 + 2,
995
+ onClick: (f) => ft(t),
996
+ style: y(`cursor:pointer;opacity:${I(t) ? 1 : 0.1}`)
997
+ }, null, 12, Xl)
974
998
  ]))), 256)),
975
- e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", Ol, [
999
+ e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", Gl, [
976
1000
  (a(!0), o(_, null, m(U.value, (t) => (a(), o("text", {
977
- x: t.x2 + r.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
978
- y: t.y1 + r.value.branchSize / 2 + 5,
1001
+ x: t.x2 + i.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
1002
+ y: t.y1 + i.value.branchSize / 2 + 5,
979
1003
  "font-size": e.value.style.chart.layout.branches.labels.fontSize,
980
1004
  "font-weight": e.value.style.chart.layout.branches.labels.bold ? "bold" : "normal",
981
1005
  fill: e.value.style.chart.layout.branches.labels.color,
982
1006
  "text-anchor": "start",
983
- style: y(`opacity:${O(t) ? 1 : 0.1}`)
984
- }, c(t.name), 13, Rl))), 256))
1007
+ style: y(`opacity:${I(t) ? 1 : 0.1}`)
1008
+ }, c(t.name), 13, Ul))), 256))
985
1009
  ])) : h("", !0),
986
1010
  u("line", {
987
- x1: 256 + r.value.padding.left,
988
- x2: 256 + r.value.padding.left,
989
- y1: A.value.top,
990
- y2: A.value.bottom,
1011
+ x1: 256 + i.value.padding.left,
1012
+ x2: 256 + i.value.padding.left,
1013
+ y1: z.value.top,
1014
+ y2: z.value.bottom,
991
1015
  stroke: e.value.style.chart.layout.verticalSeparator.stroke,
992
1016
  "stroke-width": e.value.style.chart.layout.verticalSeparator.strokeWidth
993
- }, null, 8, Vl),
1017
+ }, null, 8, Wl),
994
1018
  !d.value && !x.value ? (a(), o("foreignObject", {
995
1019
  key: 6,
996
1020
  x: 0,
997
- y: A.value.bottom,
998
- height: r.value.height - A.value.bottom,
999
- width: r.value.width,
1021
+ y: z.value.bottom,
1022
+ height: i.value.height - z.value.bottom,
1023
+ width: i.value.width,
1000
1024
  style: { overflow: "visible" },
1001
1025
  "data-no-svg-export": "",
1002
- onClick: z
1026
+ onClick: T
1003
1027
  }, [
1004
- u("div", Ml, [
1005
- u("div", jl, [
1028
+ u("div", ql, [
1029
+ u("div", Hl, [
1006
1030
  (a(!0), o(_, null, m(G.value, (t) => (a(), o("div", {
1007
1031
  style: y(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
1008
1032
  }, [
1009
- (a(), o("svg", Dl, [
1033
+ (a(), o("svg", Kl, [
1010
1034
  u("circle", {
1011
1035
  cx: "10",
1012
1036
  cy: "10",
1013
1037
  r: "10",
1014
1038
  fill: t.color,
1015
1039
  stroke: "none"
1016
- }, null, 8, Xl)
1040
+ }, null, 8, Zl)
1017
1041
  ])),
1018
- n(Ce) ? h("", !0) : (a(), o(_, { key: 0 }, [
1042
+ n(Ae) ? h("", !0) : (a(), o(_, { key: 0 }, [
1019
1043
  u("span", null, c(t.name) + ":", 1),
1020
- u("b", null, c(n(D)(
1044
+ u("b", null, c(n(j)(
1021
1045
  e.value.style.chart.layout.roots.labels.formatter,
1022
1046
  t.total,
1023
- n(N)({
1047
+ n(F)({
1024
1048
  p: e.value.style.chart.layout.legend.prefix,
1025
1049
  v: t.total,
1026
1050
  s: e.value.style.chart.layout.legend.suffix,
@@ -1028,8 +1052,8 @@ const Ut = ["id"], Wt = {
1028
1052
  }),
1029
1053
  { datapoint: t }
1030
1054
  )), 1),
1031
- Z(" (" + c(n(N)({
1032
- v: t.total / L.value * 100,
1055
+ Q(" (" + c(n(F)({
1056
+ v: t.total / D.value * 100,
1033
1057
  s: "%",
1034
1058
  r: e.value.style.chart.layout.legend.roundingPercentage
1035
1059
  })) + ") ", 1)
@@ -1037,56 +1061,56 @@ const Ut = ["id"], Wt = {
1037
1061
  ], 4))), 256))
1038
1062
  ])
1039
1063
  ])
1040
- ], 8, Bl)) : h("", !0),
1041
- d.value && j.value ? (a(), o("g", El, [
1064
+ ], 8, Yl)) : h("", !0),
1065
+ d.value && M.value ? (a(), o("g", Jl, [
1042
1066
  (a(), o("foreignObject", {
1043
1067
  x: 0,
1044
- y: rt(),
1045
- height: r.value.height - A.value.bottom,
1046
- width: r.value.width,
1068
+ y: pt(),
1069
+ height: i.value.height - z.value.bottom,
1070
+ width: i.value.width,
1047
1071
  style: { overflow: "visible" },
1048
- onClick: z
1072
+ onClick: T
1049
1073
  }, [
1050
- u("div", Ul, [
1074
+ u("div", ea, [
1051
1075
  u("b", null, c(d.value.name), 1),
1052
- u("div", Wl, [
1076
+ u("div", ta, [
1053
1077
  (a(!0), o(_, null, m(d.value.breakdown, (t, s) => (a(), o("div", {
1054
1078
  style: y(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
1055
1079
  }, [
1056
- (a(), o("svg", Yl, [
1080
+ (a(), o("svg", la, [
1057
1081
  u("circle", {
1058
1082
  cx: "10",
1059
1083
  cy: "10",
1060
1084
  r: "10",
1061
1085
  fill: t.color,
1062
1086
  stroke: "none"
1063
- }, null, 8, Hl)
1087
+ }, null, 8, aa)
1064
1088
  ])),
1065
1089
  u("span", null, [
1066
- Z(c(t.name) + ": ", 1),
1090
+ Q(c(t.name) + ": ", 1),
1067
1091
  u("b", null, c(e.value.style.chart.layout.legend.prefix) + " " + c(t.value.toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingValue)) + " " + c(e.value.style.chart.layout.legend.suffix), 1),
1068
- Z(" (" + c((t.proportionToBranch * 100).toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "%)", 1)
1092
+ Q(" (" + c((t.proportionToBranch * 100).toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "%)", 1)
1069
1093
  ])
1070
1094
  ], 4))), 256))
1071
1095
  ])
1072
1096
  ])
1073
- ], 8, Gl)),
1097
+ ], 8, Ql)),
1074
1098
  u("circle", {
1075
1099
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
1076
- cy: d.value.y1 + r.value.branchSize / 2,
1100
+ cy: d.value.y1 + i.value.branchSize / 2,
1077
1101
  r: 256,
1078
- fill: `url(#nut_underlayer_${T.value})`,
1102
+ fill: `url(#nut_underlayer_${$.value})`,
1079
1103
  onClick: W,
1080
- class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1081
- }, null, 10, ql),
1082
- (a(!0), o(_, null, m(j.value, (t) => (a(), o("g", null, [
1083
- q(t) ? (a(), o("path", {
1104
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1105
+ }, null, 10, oa),
1106
+ (a(!0), o(_, null, m(M.value, (t) => (a(), o("g", null, [
1107
+ H(t) ? (a(), o("path", {
1084
1108
  key: 0,
1085
- d: n(Ft)(
1109
+ d: n(Vt)(
1086
1110
  t,
1087
1111
  {
1088
1112
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
1089
- y: d.value.y1 + r.value.branchSize / 2
1113
+ y: d.value.y1 + i.value.branchSize / 2
1090
1114
  },
1091
1115
  16,
1092
1116
  16,
@@ -1099,41 +1123,41 @@ const Ut = ["id"], Wt = {
1099
1123
  "stroke-linecap": "round",
1100
1124
  "stroke-linejoin": "round",
1101
1125
  fill: "none",
1102
- class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1103
- }, null, 10, Kl)) : h("", !0)
1126
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1127
+ }, null, 10, sa)) : h("", !0)
1104
1128
  ]))), 256)),
1105
1129
  u("circle", {
1106
1130
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
1107
- cy: d.value.y1 + r.value.branchSize / 2,
1131
+ cy: d.value.y1 + i.value.branchSize / 2,
1108
1132
  r: 118,
1109
1133
  fill: e.value.style.chart.backgroundColor,
1110
1134
  onClick: W,
1111
- class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1112
- }, null, 10, Jl),
1113
- (a(!0), o(_, null, m(j.value, (t) => (a(), o("path", {
1135
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1136
+ }, null, 10, na),
1137
+ (a(!0), o(_, null, m(M.value, (t) => (a(), o("path", {
1114
1138
  d: t.path,
1115
1139
  stroke: t.color,
1116
1140
  "stroke-width": 64,
1117
1141
  fill: "none",
1118
1142
  onClick: W,
1119
- class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1120
- }, null, 10, Ql))), 256)),
1143
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1144
+ }, null, 10, ua))), 256)),
1121
1145
  u("circle", {
1122
1146
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
1123
- cy: d.value.y1 + r.value.branchSize / 2,
1147
+ cy: d.value.y1 + i.value.branchSize / 2,
1124
1148
  r: 110,
1125
- fill: `url(#nutpick_${T.value})`,
1149
+ fill: `url(#nutpick_${$.value})`,
1126
1150
  onClick: W,
1127
- class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1128
- }, null, 10, Zl),
1151
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1152
+ }, null, 10, ra),
1129
1153
  u("circle", {
1130
1154
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
1131
- cy: d.value.y1 + r.value.branchSize / 2,
1155
+ cy: d.value.y1 + i.value.branchSize / 2,
1132
1156
  r: 64,
1133
1157
  fill: e.value.style.chart.backgroundColor,
1134
1158
  onClick: W,
1135
- class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1136
- }, null, 10, ea),
1159
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1160
+ }, null, 10, ia),
1137
1161
  u("text", {
1138
1162
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
1139
1163
  y: d.value.y1 + 8,
@@ -1142,8 +1166,8 @@ const Ut = ["id"], Wt = {
1142
1166
  "font-weight": e.value.style.chart.layout.nuts.selected.labels.core.total.bold ? "bold" : "normal",
1143
1167
  "text-anchor": "middle",
1144
1168
  onClick: W,
1145
- class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1146
- }, c(e.value.translations.total), 11, ta),
1169
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1170
+ }, c(e.value.translations.total), 11, ca),
1147
1171
  u("text", {
1148
1172
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
1149
1173
  y: d.value.y1 + 36,
@@ -1152,161 +1176,161 @@ const Ut = ["id"], Wt = {
1152
1176
  "font-weight": e.value.style.chart.layout.nuts.selected.labels.core.value.bold ? "bold" : "normal",
1153
1177
  "text-anchor": "middle",
1154
1178
  onClick: W,
1155
- class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1156
- }, c(n(D)(
1179
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1180
+ }, c(n(j)(
1157
1181
  e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
1158
1182
  d.value.value,
1159
- n(N)({
1183
+ n(F)({
1160
1184
  p: e.value.style.chart.layout.nuts.selected.labels.core.value.prefix,
1161
1185
  v: d.value.value,
1162
1186
  s: e.value.style.chart.layout.nuts.selected.labels.core.value.suffix,
1163
1187
  r: e.value.style.chart.layout.nuts.selected.roundingValue
1164
1188
  }),
1165
1189
  { datapoint: d.value }
1166
- )), 11, la),
1167
- (a(!0), o(_, null, m(j.value, (t, s) => (a(), o("g", null, [
1168
- q(t) ? (a(), o("text", {
1190
+ )), 11, da),
1191
+ (a(!0), o(_, null, m(M.value, (t, s) => (a(), o("g", null, [
1192
+ H(t) ? (a(), o("text", {
1169
1193
  key: 0,
1170
- x: n(V)(t).x,
1171
- "text-anchor": n(V)(t).anchor,
1194
+ x: n(P)(t).x,
1195
+ "text-anchor": n(P)(t).anchor,
1172
1196
  y: n(ee)(t) - e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 6,
1173
1197
  fill: t.color,
1174
1198
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 2,
1175
1199
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1176
- class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1177
- }, " ⬤ ", 14, aa)) : h("", !0),
1178
- q(t) ? (a(), o("text", {
1200
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1201
+ }, " ⬤ ", 14, va)) : h("", !0),
1202
+ H(t) ? (a(), o("text", {
1179
1203
  key: 1,
1180
- x: n(V)(t, !0).x,
1181
- "text-anchor": n(V)(t, !0).anchor,
1204
+ x: n(P)(t, !0).x,
1205
+ "text-anchor": n(P)(t, !0).anchor,
1182
1206
  y: n(ee)(t),
1183
1207
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
1184
1208
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1185
1209
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1186
- class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1187
- }, c(d.value.breakdown[s].name), 15, oa)) : h("", !0)
1210
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1211
+ }, c(d.value.breakdown[s].name), 15, ya)) : h("", !0)
1188
1212
  ]))), 256)),
1189
- (a(!0), o(_, null, m(j.value, (t, s) => (a(), o("g", null, [
1190
- q(t) ? (a(), o("text", {
1213
+ (a(!0), o(_, null, m(M.value, (t, s) => (a(), o("g", null, [
1214
+ H(t) ? (a(), o("text", {
1191
1215
  key: 0,
1192
- x: n(V)(t, !0).x,
1193
- "text-anchor": n(V)(t).anchor,
1216
+ x: n(P)(t, !0).x,
1217
+ "text-anchor": n(P)(t).anchor,
1194
1218
  y: n(ee)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1195
1219
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
1196
1220
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1197
1221
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1198
- class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1199
- }, c(n(N)({
1222
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1223
+ }, c(n(F)({
1200
1224
  v: d.value.breakdown[s].value / d.value.value * 100,
1201
1225
  s: "%",
1202
1226
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
1203
- })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].branchName) + " " + c(n(D)(
1227
+ })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].branchName) + " " + c(n(j)(
1204
1228
  e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
1205
1229
  d.value.breakdown[s].value,
1206
- n(N)({
1230
+ n(F)({
1207
1231
  p: e.value.style.chart.layout.nuts.selected.labels.dataLabels.prefix,
1208
1232
  v: d.value.breakdown[s].value,
1209
1233
  s: e.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
1210
1234
  r: e.value.style.chart.layout.nuts.selected.roundingValue
1211
1235
  }),
1212
- { datapoint: j.value, seriesIndex: s }
1213
- )), 15, sa)) : h("", !0),
1214
- q(t) ? (a(), o("text", {
1236
+ { datapoint: M.value, seriesIndex: s }
1237
+ )), 15, ha)) : h("", !0),
1238
+ H(t) ? (a(), o("text", {
1215
1239
  key: 1,
1216
- x: n(V)(t, !0).x,
1217
- "text-anchor": n(V)(t).anchor,
1240
+ x: n(P)(t, !0).x,
1241
+ "text-anchor": n(P)(t).anchor,
1218
1242
  y: n(ee)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 2,
1219
1243
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
1220
1244
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1221
1245
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1222
- class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1223
- }, c(n(N)({
1246
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1247
+ }, c(n(F)({
1224
1248
  v: d.value.breakdown[s].proportionToRoot * 100,
1225
1249
  s: "%",
1226
1250
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
1227
- })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].rootName), 15, na)) : h("", !0),
1228
- q(t) ? (a(), o("text", {
1251
+ })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].rootName), 15, ba)) : h("", !0),
1252
+ H(t) ? (a(), o("text", {
1229
1253
  key: 2,
1230
- x: n(V)(t, !0).x,
1231
- "text-anchor": n(V)(t).anchor,
1254
+ x: n(P)(t, !0).x,
1255
+ "text-anchor": n(P)(t).anchor,
1232
1256
  y: n(ee)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 3,
1233
1257
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
1234
1258
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1235
1259
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1236
- class: C(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1237
- }, c(n(N)({
1260
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1261
+ }, c(n(F)({
1238
1262
  v: d.value.breakdown[s].proportionToTree * 100,
1239
1263
  s: "%",
1240
1264
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
1241
- })) + " " + c(e.value.translations.proportionToTree), 15, ua)) : h("", !0)
1265
+ })) + " " + c(e.value.translations.proportionToTree), 15, fa)) : h("", !0)
1242
1266
  ]))), 256))
1243
1267
  ])) : h("", !0),
1244
1268
  (a(!0), o(_, null, m(U.value, (t) => (a(), o("g", null, [
1245
1269
  x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
1246
1270
  key: 0,
1247
1271
  x: t.x1 + 6,
1248
- y: t.y1 + r.value.branchSize + 24,
1272
+ y: t.y1 + i.value.branchSize + 24,
1249
1273
  "font-weight": "bold",
1250
1274
  "text-anchor": "start",
1251
1275
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1252
1276
  fill: e.value.style.chart.layout.branches.labels.color,
1253
- onClick: z
1254
- }, c(t.name) + ": " + c(n(D)(
1277
+ onClick: T
1278
+ }, c(t.name) + ": " + c(n(j)(
1255
1279
  e.value.style.chart.layout.branches.labels.dataLabels.formatter,
1256
1280
  t.value,
1257
- n(N)({
1281
+ n(F)({
1258
1282
  p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
1259
1283
  v: t.value,
1260
1284
  s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
1261
1285
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
1262
1286
  }),
1263
1287
  { datapoint: t }
1264
- )), 9, ra)) : h("", !0),
1288
+ )), 9, pa)) : h("", !0),
1265
1289
  x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
1266
1290
  key: 1,
1267
1291
  x: t.x1 + 6,
1268
- y: t.y1 + r.value.branchSize + 48,
1292
+ y: t.y1 + i.value.branchSize + 48,
1269
1293
  "text-anchor": "start",
1270
1294
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1271
1295
  fill: e.value.style.chart.layout.branches.labels.color,
1272
- onClick: z
1273
- }, c(n(N)({
1296
+ onClick: T
1297
+ }, c(n(F)({
1274
1298
  v: t.proportionToRoot * 100,
1275
1299
  s: "%",
1276
1300
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
1277
- })) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, ia)) : h("", !0),
1301
+ })) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, ga)) : h("", !0),
1278
1302
  x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
1279
1303
  key: 2,
1280
1304
  x: t.x1 + 6,
1281
- y: t.y1 + r.value.branchSize + 72,
1305
+ y: t.y1 + i.value.branchSize + 72,
1282
1306
  "text-anchor": "start",
1283
1307
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1284
1308
  fill: e.value.style.chart.layout.branches.labels.color,
1285
- onClick: z
1286
- }, c(n(N)({
1287
- v: t.value / L.value * 100,
1309
+ onClick: T
1310
+ }, c(n(F)({
1311
+ v: t.value / D.value * 100,
1288
1312
  s: "%",
1289
1313
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
1290
- })) + " " + c(e.value.translations.proportionToTree), 9, ca)) : h("", !0)
1314
+ })) + " " + c(e.value.translations.proportionToTree), 9, _a)) : h("", !0)
1291
1315
  ]))), 256)),
1292
- w(l.$slots, "svg", { svg: r.value }, void 0, !0)
1293
- ], 14, Yt)) : h("", !0),
1294
- l.$slots.watermark ? (a(), o("div", da, [
1295
- w(l.$slots, "watermark", B(M({ isPrinting: n(ze) || n(Ae) })), void 0, !0)
1316
+ C(l.$slots, "svg", { svg: i.value }, void 0, !0)
1317
+ ], 14, ll)) : h("", !0),
1318
+ l.$slots.watermark ? (a(), o("div", ma, [
1319
+ C(l.$slots, "watermark", R(E({ isPrinting: n(ze) || n(Se) })), void 0, !0)
1296
1320
  ])) : h("", !0),
1297
- w(l.$slots, "legend", { legend: F.value }, void 0, !0),
1298
- l.$slots.source ? (a(), o("div", va, [
1299
- w(l.$slots, "source", {}, void 0, !0)
1321
+ C(l.$slots, "legend", { legend: N.value }, void 0, !0),
1322
+ l.$slots.source ? (a(), o("div", xa, [
1323
+ C(l.$slots, "source", {}, void 0, !0)
1300
1324
  ], 512)) : h("", !0),
1301
- ke.value && e.value.userOptions.buttons.table ? (a(), oe(kt(ae.value.component), wt({ key: 6 }, ae.value.props, {
1325
+ Ce.value && e.value.userOptions.buttons.table ? (a(), oe(Nt(ae.value.component), Bt({ key: 6 }, ae.value.props, {
1302
1326
  ref_key: "tableUnit",
1303
- ref: Q,
1304
- onClose: fe
1305
- }), Be({
1306
- content: $(() => [
1327
+ ref: J,
1328
+ onClose: be
1329
+ }), Ee({
1330
+ content: A(() => [
1307
1331
  u("div", {
1308
1332
  ref_key: "tableContainer",
1309
- ref: Fe,
1333
+ ref: Be,
1310
1334
  class: "vue-ui-chestnut-table",
1311
1335
  style: y(`${e.value.table.useDialog ? "" : "max-height: 300px;margin-top:24px"}`)
1312
1336
  }, [
@@ -1318,10 +1342,10 @@ const Ut = ["id"], Wt = {
1318
1342
  role: "button",
1319
1343
  tabindex: "0",
1320
1344
  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:pointer; background:${e.value.table.th.backgroundColor};`),
1321
- onClick: fe,
1322
- onKeypress: Ct(fe, ["enter"])
1345
+ onClick: be,
1346
+ onKeypress: Dt(be, ["enter"])
1323
1347
  }, [
1324
- ge(n(xe), {
1348
+ ge(n(ke), {
1325
1349
  name: "close",
1326
1350
  stroke: e.value.table.th.color,
1327
1351
  "stroke-width": 2
@@ -1329,16 +1353,16 @@ const Ut = ["id"], Wt = {
1329
1353
  ], 36)),
1330
1354
  u("div", {
1331
1355
  style: { width: "100%" },
1332
- class: C({ "vue-ui-responsive": n(dt) })
1356
+ class: w({ "vue-ui-responsive": n(mt) })
1333
1357
  }, [
1334
- u("table", ya, [
1358
+ u("table", ka, [
1335
1359
  e.value.table.useDialog ? h("", !0) : (a(), o("caption", {
1336
1360
  key: 0,
1337
1361
  style: y({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
1338
1362
  class: "vue-ui-data-table__caption"
1339
1363
  }, [
1340
- Z(c(e.value.style.chart.layout.title.text) + " ", 1),
1341
- e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", ha, c(e.value.style.chart.layout.title.subtitle.text), 1)) : h("", !0)
1364
+ Q(c(e.value.style.chart.layout.title.text) + " ", 1),
1365
+ e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", Ca, c(e.value.style.chart.layout.title.subtitle.text), 1)) : h("", !0)
1342
1366
  ], 4)),
1343
1367
  u("thead", null, [
1344
1368
  u("tr", {
@@ -1352,7 +1376,7 @@ const Ut = ["id"], Wt = {
1352
1376
  ]),
1353
1377
  u("tbody", null, [
1354
1378
  (a(!0), o(_, null, m(v.value.body, (t, s) => (a(), o("tr", {
1355
- class: C({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": s % 2 === 0, "vue-ui-data-table__tbody__row-odd": s % 2 !== 0 }),
1379
+ class: w({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": s % 2 === 0, "vue-ui-data-table__tbody__row-odd": s % 2 !== 0 }),
1356
1380
  style: y(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1357
1381
  }, [
1358
1382
  u("td", {
@@ -1360,99 +1384,99 @@ const Ut = ["id"], Wt = {
1360
1384
  style: y(`outline:${e.value.table.td.outline}`),
1361
1385
  "data-cell": v.value.head[0]
1362
1386
  }, [
1363
- u("div", ba, [
1364
- v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", pa)) : (a(), o("span", ga, c(t.rootName), 1))
1387
+ u("div", Aa, [
1388
+ v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", $a)) : (a(), o("span", Ta, c(t.rootName), 1))
1365
1389
  ])
1366
- ], 12, fa),
1390
+ ], 12, wa),
1367
1391
  u("td", {
1368
1392
  class: "vue-ui-data-table__tbody__td",
1369
1393
  style: y(`outline:${e.value.table.td.outline}`),
1370
1394
  "data-cell": v.value.head[1]
1371
1395
  }, [
1372
- u("div", ma, [
1373
- v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", xa)) : (a(), o("span", ka, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
1396
+ u("div", Sa, [
1397
+ v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", Fa)) : (a(), o("span", Na, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
1374
1398
  ])
1375
- ], 12, _a),
1399
+ ], 12, za),
1376
1400
  u("td", {
1377
1401
  class: "vue-ui-data-table__tbody__td",
1378
1402
  style: y(`outline:${e.value.table.td.outline}`),
1379
1403
  "data-cell": v.value.head[2]
1380
1404
  }, [
1381
- u("div", Ca, [
1382
- v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", $a)) : (a(), o("span", Ta, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1405
+ u("div", Da, [
1406
+ v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", La)) : (a(), o("span", Ia, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1383
1407
  ])
1384
- ], 12, wa),
1408
+ ], 12, Ba),
1385
1409
  u("td", {
1386
1410
  class: "vue-ui-data-table__tbody__td",
1387
1411
  style: y(`outline:${e.value.table.td.outline}`),
1388
1412
  "data-cell": v.value.head[3]
1389
1413
  }, [
1390
- u("div", Aa, [
1391
- v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Sa)) : (a(), o("span", Na, c(t.branchName), 1))
1414
+ u("div", Pa, [
1415
+ v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Ra)) : (a(), o("span", Ea, c(t.branchName), 1))
1392
1416
  ])
1393
- ], 12, za),
1417
+ ], 12, Oa),
1394
1418
  u("td", {
1395
1419
  class: "vue-ui-data-table__tbody__td",
1396
1420
  style: y(`outline:${e.value.table.td.outline}`),
1397
1421
  "data-cell": v.value.head[4]
1398
1422
  }, [
1399
- u("div", Ia, [
1400
- v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", La)) : (a(), o("span", Pa, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
1423
+ u("div", Ma, [
1424
+ v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", ja)) : (a(), o("span", Xa, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
1401
1425
  ])
1402
- ], 12, Fa),
1426
+ ], 12, Va),
1403
1427
  u("td", {
1404
1428
  class: "vue-ui-data-table__tbody__td",
1405
1429
  style: y(`outline:${e.value.table.td.outline}`),
1406
1430
  "data-cell": v.value.head[5]
1407
1431
  }, [
1408
- u("div", Ra, [
1409
- v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Va)) : (a(), o("span", Ba, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1432
+ u("div", Ua, [
1433
+ v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Wa)) : (a(), o("span", Ya, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1410
1434
  ])
1411
- ], 12, Oa),
1435
+ ], 12, Ga),
1412
1436
  u("td", {
1413
1437
  class: "vue-ui-data-table__tbody__td",
1414
1438
  style: y(`outline:${e.value.table.td.outline}`),
1415
1439
  "data-cell": v.value.head[6]
1416
1440
  }, [
1417
- u("div", ja, [
1418
- v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Da)) : (a(), o("span", Xa, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1441
+ u("div", Ha, [
1442
+ v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Ka)) : (a(), o("span", Za, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1419
1443
  ])
1420
- ], 12, Ma),
1444
+ ], 12, qa),
1421
1445
  u("td", {
1422
1446
  class: "vue-ui-data-table__tbody__td",
1423
1447
  style: y(`outline:${e.value.table.td.outline}`),
1424
1448
  "data-cell": v.value.head[7]
1425
1449
  }, [
1426
- u("div", Ga, c(t.nutName), 1)
1427
- ], 12, Ea),
1450
+ u("div", Qa, c(t.nutName), 1)
1451
+ ], 12, Ja),
1428
1452
  u("td", {
1429
1453
  class: "vue-ui-data-table__tbody__td",
1430
1454
  style: y(`outline:${e.value.table.td.outline}`),
1431
1455
  "data-cell": v.value.head[8]
1432
1456
  }, [
1433
- u("div", Wa, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1434
- ], 12, Ua),
1457
+ u("div", to, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1458
+ ], 12, eo),
1435
1459
  u("td", {
1436
1460
  class: "vue-ui-data-table__tbody__td",
1437
1461
  style: y(`outline:${e.value.table.td.outline}`),
1438
1462
  "data-cell": v.value.head[9]
1439
1463
  }, [
1440
- u("div", Ha, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1441
- ], 12, Ya),
1464
+ u("div", ao, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1465
+ ], 12, lo),
1442
1466
  u("td", {
1443
1467
  class: "vue-ui-data-table__tbody__td",
1444
1468
  style: y(`outline:${e.value.table.td.outline}`),
1445
1469
  "data-cell": v.value.head[10]
1446
1470
  }, [
1447
- u("div", Ka, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1448
- ], 12, qa),
1471
+ u("div", so, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1472
+ ], 12, oo),
1449
1473
  u("td", {
1450
1474
  class: "vue-ui-data-table__tbody__td",
1451
1475
  style: y(`outline:${e.value.table.td.outline}`),
1452
1476
  "data-cell": v.value.head[11]
1453
1477
  }, [
1454
- u("div", Qa, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1455
- ], 12, Ja)
1478
+ u("div", uo, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1479
+ ], 12, no)
1456
1480
  ], 6))), 256))
1457
1481
  ])
1458
1482
  ])
@@ -1464,20 +1488,20 @@ const Ut = ["id"], Wt = {
1464
1488
  }, [
1465
1489
  e.value.table.useDialog ? {
1466
1490
  name: "title",
1467
- fn: $(() => [
1468
- Z(c(ae.value.title), 1)
1491
+ fn: A(() => [
1492
+ Q(c(ae.value.title), 1)
1469
1493
  ]),
1470
1494
  key: "0"
1471
1495
  } : void 0,
1472
1496
  e.value.table.useDialog ? {
1473
1497
  name: "actions",
1474
- fn: $(() => [
1498
+ fn: A(() => [
1475
1499
  u("button", {
1476
1500
  tabindex: "0",
1477
1501
  class: "vue-ui-user-options-button",
1478
- onClick: i[0] || (i[0] = (t) => ye(e.value.userOptions.callbacks.csv))
1502
+ onClick: r[0] || (r[0] = (t) => ye(e.value.userOptions.callbacks.csv))
1479
1503
  }, [
1480
- ge(n(xe), {
1504
+ ge(n(ke), {
1481
1505
  name: "excel",
1482
1506
  stroke: ae.value.props.color
1483
1507
  }, null, 8, ["stroke"])
@@ -1486,10 +1510,15 @@ const Ut = ["id"], Wt = {
1486
1510
  key: "1"
1487
1511
  } : void 0
1488
1512
  ]), 1040)) : h("", !0),
1489
- n(Ce) ? (a(), oe(Rt, { key: 7 })) : h("", !0)
1490
- ], 46, Ut));
1513
+ n(Ae) ? (a(), oe(Ut, { key: 7 })) : h("", !0)
1514
+ ], 46, el));
1491
1515
  }
1492
- }, yo = /* @__PURE__ */ Gt(Za, [["__scopeId", "data-v-4eb32f3c"]]);
1516
+ }, io = /* @__PURE__ */ Qt(ro, [["__scopeId", "data-v-6e30b6b8"]]), wo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1517
+ __proto__: null,
1518
+ default: io
1519
+ }, Symbol.toStringTag, { value: "Module" }));
1493
1520
  export {
1494
- yo as default
1521
+ Co as a,
1522
+ wo as b,
1523
+ io as v
1495
1524
  };