vue-data-ui 2.3.28 → 2.3.29

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 (180) hide show
  1. package/README.md +15 -0
  2. package/dist/{Arrow-C6lQ94rK.cjs → Arrow-B8z06v67.cjs} +1 -1
  3. package/dist/{Arrow-BPoxM_Tq.js → Arrow-Bh7WeO_g.js} +1 -1
  4. package/dist/{BaseIcon-Op8_v5x7.js → BaseIcon-BG_bJS3R.js} +1 -1
  5. package/dist/{BaseIcon-BK5xYOzV.cjs → BaseIcon-DDCJA3rm.cjs} +1 -1
  6. package/dist/{DataTable-bEXuvNn5.js → DataTable-CsPidn0_.js} +23 -20
  7. package/dist/DataTable-Doh_4M84.cjs +1 -0
  8. package/dist/{Legend-BNfS77GS.cjs → Legend-B20rRwGi.cjs} +1 -1
  9. package/dist/{Legend-DwludSgp.js → Legend-CkQ_zypV.js} +1 -1
  10. package/dist/{Shape-COYAxpcP.js → Shape-B4gGeBLI.js} +1 -1
  11. package/dist/{Shape-CcWWIf-s.cjs → Shape-B8O8_E6l.cjs} +1 -1
  12. package/dist/{Slicer-DGkm-5p-.cjs → Slicer-BXveU40S.cjs} +1 -1
  13. package/dist/{Slicer-Cv-2s_-r.js → Slicer-DaEfxscP.js} +1 -1
  14. package/dist/{Title-DQz9dO4d.cjs → Title-BU6E8Xld.cjs} +1 -1
  15. package/dist/{Title-CtWGLaoz.js → Title-eBTH8iGJ.js} +1 -1
  16. package/dist/{Tooltip-D6BUVHr1.js → Tooltip-B11OahTD.js} +1 -1
  17. package/dist/{Tooltip-DQgBkgFk.cjs → Tooltip-Oicp_EIo.cjs} +1 -1
  18. package/dist/{index-BhCM2QF1.js → index-BlXzlBwZ.js} +443 -364
  19. package/dist/index-hKWfT7Wa.cjs +4 -0
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +65 -0
  22. package/dist/types/vue-data-ui.d.ts +65 -0
  23. package/dist/{useNestedProp-CH3PVhvc.js → useNestedProp-BoNl5H_z.js} +1 -1
  24. package/dist/{useNestedProp-C2H2jmU6.cjs → useNestedProp-Cggpoz7e.cjs} +1 -1
  25. package/dist/{usePrinter-B75HLwzw.js → usePrinter-CZ8F5Cth.js} +1 -1
  26. package/dist/{usePrinter-DTF28E03.cjs → usePrinter-DoYKBzst.cjs} +1 -1
  27. package/dist/{vue-data-ui-DdhV5Pth.js → vue-data-ui-BOqzG_nZ.js} +57 -57
  28. package/dist/{vue-data-ui-cqeqQWwY.cjs → vue-data-ui-CGgiWEo3.cjs} +1 -1
  29. package/dist/vue-data-ui.cjs +1 -1
  30. package/dist/vue-data-ui.js +6 -6
  31. package/dist/{vue-ui-3d-bar-gi0fEJUl.js → vue-ui-3d-bar-CjnVg4YI.js} +342 -294
  32. package/dist/vue-ui-3d-bar-CpntMt7p.cjs +19 -0
  33. package/dist/{vue-ui-accordion-CVrj6roI.cjs → vue-ui-accordion-CTYvdLLH.cjs} +1 -1
  34. package/dist/{vue-ui-accordion-CSZdj7wA.js → vue-ui-accordion-wHRG3nXl.js} +3 -3
  35. package/dist/vue-ui-age-pyramid-DDiL1Zje.cjs +1 -0
  36. package/dist/{vue-ui-age-pyramid-CFSWDX3d.js → vue-ui-age-pyramid-vmCwgRy9.js} +258 -219
  37. package/dist/{vue-ui-annotator-DqZU11ky.js → vue-ui-annotator-9FGJdNLY.js} +1 -1
  38. package/dist/{vue-ui-annotator-u5YbenPl.cjs → vue-ui-annotator-DQ3wKf9n.cjs} +1 -1
  39. package/dist/{vue-ui-candlestick-C3xswSm3.cjs → vue-ui-candlestick-6joQ9JKQ.cjs} +1 -1
  40. package/dist/{vue-ui-candlestick-Dph2PhZC.js → vue-ui-candlestick-DpMr2r0i.js} +9 -9
  41. package/dist/{vue-ui-carousel-table-0S6lSZnt.cjs → vue-ui-carousel-table-BV0EOLqU.cjs} +1 -1
  42. package/dist/{vue-ui-carousel-table-eY08SE2G.js → vue-ui-carousel-table-CgR4ADOz.js} +4 -4
  43. package/dist/{vue-ui-chestnut-BikYCrjQ.js → vue-ui-chestnut-Ca2878kV.js} +439 -347
  44. package/dist/vue-ui-chestnut-CxoCcw_B.cjs +6 -0
  45. package/dist/{vue-ui-cursor-OFgeAFSo.js → vue-ui-cursor-BW8C6oUc.js} +2 -2
  46. package/dist/{vue-ui-cursor-DUA57VkZ.cjs → vue-ui-cursor-DxF_gXQf.cjs} +1 -1
  47. package/dist/{vue-ui-dashboard-BTG0m9YL.cjs → vue-ui-dashboard-BGrVyITN.cjs} +1 -1
  48. package/dist/{vue-ui-dashboard-DA4M1Z0-.js → vue-ui-dashboard-DN4nErBZ.js} +2 -2
  49. package/dist/{vue-ui-digits-55Zmunkv.js → vue-ui-digits-CmSFSs5S.js} +2 -2
  50. package/dist/{vue-ui-digits-COxRiMVI.cjs → vue-ui-digits-CpSKBG2c.cjs} +1 -1
  51. package/dist/vue-ui-donut-BqfRwAIM.js +857 -0
  52. package/dist/vue-ui-donut-C29yXH3H.cjs +1 -0
  53. package/dist/vue-ui-donut-evolution-COFG73Xl.cjs +1 -0
  54. package/dist/vue-ui-donut-evolution-DIR7yBUC.js +839 -0
  55. package/dist/{vue-ui-dumbbell-BSFT-Bce.cjs → vue-ui-dumbbell-1NA60u3h.cjs} +2 -2
  56. package/dist/{vue-ui-dumbbell-BtEXt5Ox.js → vue-ui-dumbbell-BASuPAvI.js} +202 -187
  57. package/dist/{vue-ui-flow-BPEGOFRZ.cjs → vue-ui-flow-DBK7d0DQ.cjs} +1 -1
  58. package/dist/{vue-ui-flow-BBoXBTkC.js → vue-ui-flow-wq0aqc5r.js} +98 -93
  59. package/dist/vue-ui-galaxy-BgdVvk4N.cjs +1 -0
  60. package/dist/{vue-ui-galaxy-ZFEufIyy.js → vue-ui-galaxy-CFQ2hQAl.js} +180 -144
  61. package/dist/{vue-ui-gauge-CfZ9XJW_.cjs → vue-ui-gauge-C4_kEbgg.cjs} +1 -1
  62. package/dist/{vue-ui-gauge-BqZp_V5m.js → vue-ui-gauge-CIN265dN.js} +158 -149
  63. package/dist/vue-ui-gizmo-BpT3iwC9.cjs +1 -0
  64. package/dist/{vue-ui-gizmo-DitbWAJp.js → vue-ui-gizmo-DRXWEpqU.js} +63 -49
  65. package/dist/vue-ui-heatmap-CVD7FVfk.cjs +1 -0
  66. package/dist/vue-ui-heatmap-Dc0ft_Ga.js +644 -0
  67. package/dist/{vue-ui-kpi-BWuzEkyY.js → vue-ui-kpi-DDL1TvBP.js} +19 -10
  68. package/dist/{vue-ui-kpi-B2Bo26hh.cjs → vue-ui-kpi-WDZIt76s.cjs} +1 -1
  69. package/dist/{vue-ui-mini-loader-BwAWiK3k.js → vue-ui-mini-loader-B2C5U55l.js} +2 -2
  70. package/dist/{vue-ui-mini-loader-C_Nb-qVd.cjs → vue-ui-mini-loader-BcGSpUfg.cjs} +1 -1
  71. package/dist/{vue-ui-molecule-CSbXNrvu.cjs → vue-ui-molecule-C5BmRi2R.cjs} +1 -1
  72. package/dist/{vue-ui-molecule-BD2UW2lJ.js → vue-ui-molecule-CD3cPNOq.js} +9 -9
  73. package/dist/{vue-ui-mood-radar-CbMab8pJ.js → vue-ui-mood-radar-D0KbeV5j.js} +213 -187
  74. package/dist/vue-ui-mood-radar-afS64zg-.cjs +1 -0
  75. package/dist/{vue-ui-nested-donuts-SDaiotgC.js → vue-ui-nested-donuts-BGoc1RFX.js} +295 -228
  76. package/dist/vue-ui-nested-donuts-D-TeyOtL.cjs +17 -0
  77. package/dist/{vue-ui-onion-BamHJBdP.js → vue-ui-onion-B_khL0Kv.js} +230 -196
  78. package/dist/vue-ui-onion-CFdbWLu3.cjs +1 -0
  79. package/dist/{vue-ui-parallel-coordinate-plot-BaAa3t1h.cjs → vue-ui-parallel-coordinate-plot-BmXvVt8r.cjs} +2 -2
  80. package/dist/{vue-ui-parallel-coordinate-plot-1R4CyBdQ.js → vue-ui-parallel-coordinate-plot-CP4V0K8m.js} +87 -87
  81. package/dist/{vue-ui-quadrant-CKCLhAS7.js → vue-ui-quadrant-C1YbjeI7.js} +455 -397
  82. package/dist/vue-ui-quadrant-C6-A8Gx_.cjs +1 -0
  83. package/dist/vue-ui-quick-chart-ConXdEsU.cjs +15 -0
  84. package/dist/vue-ui-quick-chart-CtWhs_2c.js +1374 -0
  85. package/dist/{vue-ui-radar-BY-y8Mal.js → vue-ui-radar-B2vAPYa7.js} +237 -214
  86. package/dist/vue-ui-radar-DMJLLVWb.cjs +1 -0
  87. package/dist/{vue-ui-rating-DGEgzOaB.cjs → vue-ui-rating-DhZ0tltR.cjs} +1 -1
  88. package/dist/{vue-ui-rating-Bq1SsByA.js → vue-ui-rating-xGz4av68.js} +9 -9
  89. package/dist/{vue-ui-relation-circle-BPzLP6U6.js → vue-ui-relation-circle-BQK8wMQE.js} +5 -5
  90. package/dist/{vue-ui-relation-circle-pdZ79G9r.cjs → vue-ui-relation-circle-hb4Q051h.cjs} +1 -1
  91. package/dist/vue-ui-rings-D1EW3d4M.cjs +2 -0
  92. package/dist/{vue-ui-rings-C5ce6pEf.js → vue-ui-rings-ZKjhNx5K.js} +191 -162
  93. package/dist/{vue-ui-scatter-CMetujXJ.js → vue-ui-scatter-CHONk8k0.js} +437 -381
  94. package/dist/vue-ui-scatter-CMRe2b2K.cjs +1 -0
  95. package/dist/{vue-ui-screenshot-BqzljUT3.cjs → vue-ui-screenshot-DcKhT745.cjs} +1 -1
  96. package/dist/{vue-ui-screenshot--2aeIH_x.js → vue-ui-screenshot-DmGe5ptH.js} +6 -6
  97. package/dist/{vue-ui-skeleton-_VMQ594N.js → vue-ui-skeleton-CJ2R5R6u.js} +37 -37
  98. package/dist/{vue-ui-skeleton-B5Z4craS.cjs → vue-ui-skeleton-j-IOiy5w.cjs} +1 -1
  99. package/dist/{vue-ui-smiley-CL-bubXk.cjs → vue-ui-smiley-D5Jn6d5f.cjs} +1 -1
  100. package/dist/{vue-ui-smiley-Cty3e_yE.js → vue-ui-smiley-DXVcosKR.js} +2 -2
  101. package/dist/{vue-ui-spark-trend-DT1fMqf_.cjs → vue-ui-spark-trend-CWH3W7h3.cjs} +1 -1
  102. package/dist/{vue-ui-spark-trend-pgdWTEqG.js → vue-ui-spark-trend-Gg6TxR4m.js} +63 -58
  103. package/dist/vue-ui-sparkbar-BsoKTXr2.cjs +1 -0
  104. package/dist/vue-ui-sparkbar-DUx1qVzQ.js +280 -0
  105. package/dist/{vue-ui-sparkgauge-DdzlyDsm.cjs → vue-ui-sparkgauge-DPusPoRv.cjs} +1 -1
  106. package/dist/{vue-ui-sparkgauge-Dx2gFX6H.js → vue-ui-sparkgauge-xrvp9g87.js} +60 -50
  107. package/dist/vue-ui-sparkhistogram---JRg2R1.cjs +1 -0
  108. package/dist/{vue-ui-sparkhistogram-Bg_fJsT5.js → vue-ui-sparkhistogram-DzYXMNj8.js} +99 -90
  109. package/dist/{vue-ui-sparkline-WMI-RgkW.cjs → vue-ui-sparkline-1Z6GnwoN.cjs} +1 -1
  110. package/dist/{vue-ui-sparkline-BWl_B6LX.js → vue-ui-sparkline-CGWePkVI.js} +114 -105
  111. package/dist/{vue-ui-sparkstackbar-Skcshn6g.cjs → vue-ui-sparkstackbar-DCc68t8g.cjs} +1 -1
  112. package/dist/{vue-ui-sparkstackbar-MMGRG9eS.js → vue-ui-sparkstackbar-DFgeRAbQ.js} +52 -47
  113. package/dist/{vue-ui-stackbar-NZFO3R77.js → vue-ui-stackbar-B0dWToaf.js} +211 -196
  114. package/dist/vue-ui-stackbar-Cz0mT8Mo.cjs +15 -0
  115. package/dist/{vue-ui-strip-plot-CJmCgC_a.js → vue-ui-strip-plot-BFqd-S7c.js} +213 -198
  116. package/dist/vue-ui-strip-plot-DZt1Wq20.cjs +1 -0
  117. package/dist/{vue-ui-table-jJ3daLHe.cjs → vue-ui-table-CMvyMuc4.cjs} +1 -1
  118. package/dist/{vue-ui-table-B-vHHlRw.js → vue-ui-table-DtwEoIzI.js} +9 -9
  119. package/dist/{vue-ui-table-heatmap-YCyFyq8J.cjs → vue-ui-table-heatmap-3RSMOHkc.cjs} +1 -1
  120. package/dist/{vue-ui-table-heatmap-BfzDb2H7.js → vue-ui-table-heatmap-C8b3pE04.js} +12 -12
  121. package/dist/vue-ui-table-sparkline-BKOaVFtt.cjs +1 -0
  122. package/dist/vue-ui-table-sparkline-BrqhBv29.js +467 -0
  123. package/dist/vue-ui-thermometer-CKgIqM5y.cjs +1 -0
  124. package/dist/{vue-ui-thermometer-CdtG1AoI.js → vue-ui-thermometer-DMkLvJgE.js} +118 -108
  125. package/dist/{vue-ui-timer-Cb95XSdn.cjs → vue-ui-timer-D7fvoR77.cjs} +1 -1
  126. package/dist/{vue-ui-timer-DBqMb9iX.js → vue-ui-timer-RA9yfgBk.js} +8 -8
  127. package/dist/{vue-ui-tiremarks-CHKETcHr.js → vue-ui-tiremarks-B_EncUi6.js} +79 -71
  128. package/dist/{vue-ui-tiremarks-BqXfvQ4t.cjs → vue-ui-tiremarks-C7y6Mbxe.cjs} +1 -1
  129. package/dist/{vue-ui-treemap-DxKunHfW.js → vue-ui-treemap-BuGZgQsr.js} +274 -236
  130. package/dist/vue-ui-treemap-CfngjVUS.cjs +1 -0
  131. package/dist/vue-ui-vertical-bar-DKbq4bX4.cjs +4 -0
  132. package/dist/vue-ui-vertical-bar-T4bFd3JF.js +792 -0
  133. package/dist/vue-ui-waffle-BJFbhWnA.cjs +1 -0
  134. package/dist/vue-ui-waffle-CrxmrYsV.js +735 -0
  135. package/dist/{vue-ui-wheel-kMVi976p.cjs → vue-ui-wheel-BDRvKR1Z.cjs} +1 -1
  136. package/dist/{vue-ui-wheel-4HKXl04I.js → vue-ui-wheel-DOyC7NgR.js} +73 -65
  137. package/dist/{vue-ui-word-cloud-CrC3iKGd.js → vue-ui-word-cloud-DBxVNlJ3.js} +7 -7
  138. package/dist/{vue-ui-word-cloud-WgbYJhMF.cjs → vue-ui-word-cloud-Dmcelg3z.cjs} +1 -1
  139. package/dist/{vue-ui-xy-BN_H7q0X.js → vue-ui-xy-BIbvJSh2.js} +367 -288
  140. package/dist/vue-ui-xy-CVKaR90p.cjs +3 -0
  141. package/dist/vue-ui-xy-canvas-2AaNivzI.cjs +9 -0
  142. package/dist/{vue-ui-xy-canvas-DAY9Ylzs.js → vue-ui-xy-canvas-CXVni3kC.js} +284 -259
  143. package/package.json +1 -1
  144. package/dist/DataTable-B4_9ynlY.cjs +0 -1
  145. package/dist/index-Y23HeR26.cjs +0 -4
  146. package/dist/vue-ui-3d-bar-BB6yidY7.cjs +0 -19
  147. package/dist/vue-ui-age-pyramid-CrTadT86.cjs +0 -1
  148. package/dist/vue-ui-chestnut-C3XOHDgw.cjs +0 -6
  149. package/dist/vue-ui-donut-CG3VWjnG.js +0 -751
  150. package/dist/vue-ui-donut-JA9hlLlV.cjs +0 -1
  151. package/dist/vue-ui-donut-evolution-CA8sDbwX.js +0 -805
  152. package/dist/vue-ui-donut-evolution-_E0xUI9Y.cjs +0 -1
  153. package/dist/vue-ui-galaxy-DPrJum3L.cjs +0 -1
  154. package/dist/vue-ui-gizmo-CrSaW32p.cjs +0 -1
  155. package/dist/vue-ui-heatmap-CTRjjhmd.cjs +0 -1
  156. package/dist/vue-ui-heatmap-zV0pg2Q5.js +0 -606
  157. package/dist/vue-ui-mood-radar-zpxdsZ4u.cjs +0 -1
  158. package/dist/vue-ui-nested-donuts-07UI_VlW.cjs +0 -16
  159. package/dist/vue-ui-onion-DiychUul.cjs +0 -1
  160. package/dist/vue-ui-quadrant-DxLYb8Mk.cjs +0 -1
  161. package/dist/vue-ui-quick-chart-CAXuRSdm.js +0 -1318
  162. package/dist/vue-ui-quick-chart-DgCRM6WA.cjs +0 -13
  163. package/dist/vue-ui-radar-iETP_3US.cjs +0 -1
  164. package/dist/vue-ui-rings-DdpKT3DJ.cjs +0 -1
  165. package/dist/vue-ui-scatter-Dsc6RABP.cjs +0 -1
  166. package/dist/vue-ui-sparkbar-BVQPOz2O.js +0 -257
  167. package/dist/vue-ui-sparkbar-kfA-BPVJ.cjs +0 -1
  168. package/dist/vue-ui-sparkhistogram-B5xstgQG.cjs +0 -1
  169. package/dist/vue-ui-stackbar-DZ0CArmk.cjs +0 -15
  170. package/dist/vue-ui-strip-plot-Db_dqjd9.cjs +0 -1
  171. package/dist/vue-ui-table-sparkline-4Qbmxxsy.cjs +0 -1
  172. package/dist/vue-ui-table-sparkline-DZt-bo2D.js +0 -420
  173. package/dist/vue-ui-thermometer-HXWDU2wD.cjs +0 -1
  174. package/dist/vue-ui-treemap-CW9JmJ2d.cjs +0 -1
  175. package/dist/vue-ui-vertical-bar-83AMwsHD.cjs +0 -4
  176. package/dist/vue-ui-vertical-bar-DRLwZjIz.js +0 -745
  177. package/dist/vue-ui-waffle-BRuDxyDU.js +0 -650
  178. package/dist/vue-ui-waffle-BwUbvdOE.cjs +0 -1
  179. package/dist/vue-ui-xy-BXfP5pz5.cjs +0 -3
  180. package/dist/vue-ui-xy-canvas-NrhVgFsv.cjs +0 -9
@@ -1,23 +1,23 @@
1
- import { useCssVars as Re, computed as $, ref as z, onMounted as Be, openBlock as a, createElementBlock as o, normalizeClass as m, normalizeStyle as h, createBlock as Q, unref as d, createSlots as Me, withCtx as E, renderSlot as B, normalizeProps as he, guardReactiveProps as fe, createCommentVNode as b, toDisplayString as n, createElementVNode as s, Fragment as p, renderList as g, createTextVNode as Y, withKeys as je, createVNode as Xe, nextTick as be } from "vue";
2
- import { u as Oe, c as Ge, t as Ee, a as Ae, p as I, b as Ue, g as Z, e as H, d as ee, o as De, X as Ye, s as pe, r as F, C as ge, m as _e, i as qe, j as L, k as q, n as He, q as We } from "./index-BhCM2QF1.js";
3
- import { u as Ke, U as Je } from "./usePrinter-B75HLwzw.js";
4
- import Qe from "./vue-ui-skeleton-_VMQ594N.js";
5
- import Ze from "./BaseIcon-Op8_v5x7.js";
6
- import et from "./vue-ui-accordion-CSZdj7wA.js";
7
- import { u as xe } from "./useNestedProp-CH3PVhvc.js";
8
- import { _ as tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "font-weight", "font-size", "x", "y"], ut = ["fill", "font-weight", "font-size", "x", "y"], nt = ["id"], rt = ["stop-color"], it = ["stop-color"], ct = ["id"], dt = ["stop-color"], vt = ["stop-color"], yt = ["id"], ht = ["stop-color"], ft = ["stop-color"], bt = ["stop-color"], pt = ["id"], gt = ["stop-color"], _t = ["stop-color"], xt = ["stop-color"], mt = ["id"], kt = ["stop-color"], wt = ["stop-color"], $t = ["stop-color"], Ct = { key: 1 }, zt = ["x", "y", "font-size", "font-weight", "fill"], Tt = ["x", "y", "font-size", "font-weight", "fill"], Ft = ["d", "stroke"], Nt = ["cx", "cy", "r", "fill"], St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], It = { key: 2 }, Lt = ["x", "y", "font-size", "fill", "onClick"], Pt = { key: 0 }, Vt = ["x", "y", "fill", "font-size", "font-weight"], Rt = ["x", "y", "height", "width", "fill", "rx", "onClick"], Bt = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], Mt = { key: 3 }, jt = ["x", "y", "fill", "font-size", "onClick"], Xt = ["d", "stroke"], Ot = ["cx", "cy", "fill", "onClick"], Gt = ["fill", "cx", "cy", "r", "onClick"], Et = { key: 4 }, At = ["x", "y", "font-size", "font-weight", "fill"], Ut = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = ["y", "height", "width"], Yt = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, qt = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, Ht = {
1
+ import { useCssVars as Me, computed as $, ref as z, onMounted as je, openBlock as a, createElementBlock as o, normalizeClass as m, normalizeStyle as h, createBlock as ee, unref as n, createSlots as Xe, withCtx as U, renderSlot as j, normalizeProps as be, guardReactiveProps as pe, createCommentVNode as b, toDisplayString as c, createElementVNode as s, Fragment as p, renderList as g, createTextVNode as W, withKeys as Oe, createVNode as Ge, nextTick as ge } from "vue";
2
+ import { u as Ee, c as Ae, t as Ue, a as De, p as I, b as Ye, g as te, e as K, d as le, o as qe, X as He, s as _e, v as S, i as G, f as T, D as xe, m as me, j as We, k as P, n as H, q as Ke, r as Je } from "./index-BlXzlBwZ.js";
3
+ import { u as Qe, U as Ze } from "./usePrinter-CZ8F5Cth.js";
4
+ import et from "./vue-ui-skeleton-CJ2R5R6u.js";
5
+ import tt from "./BaseIcon-BG_bJS3R.js";
6
+ import lt from "./vue-ui-accordion-wHRG3nXl.js";
7
+ import { u as ke } from "./useNestedProp-BoNl5H_z.js";
8
+ import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
+ const ot = ["id"], st = ["xmlns", "viewBox"], ut = { key: 0 }, nt = ["fill", "font-weight", "font-size", "x", "y"], rt = ["fill", "font-weight", "font-size", "x", "y"], it = ["id"], ct = ["stop-color"], dt = ["stop-color"], vt = ["id"], yt = ["stop-color"], ht = ["stop-color"], ft = ["id"], bt = ["stop-color"], pt = ["stop-color"], gt = ["stop-color"], _t = ["id"], xt = ["stop-color"], mt = ["stop-color"], kt = ["stop-color"], wt = ["id"], $t = ["stop-color"], Ct = ["stop-color"], zt = ["stop-color"], Tt = { key: 1 }, Nt = ["x", "y", "font-size", "font-weight", "fill"], St = ["x", "y", "font-size", "font-weight", "fill"], Ft = ["d", "stroke"], Lt = ["cx", "cy", "r", "fill"], It = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], Pt = { key: 2 }, Vt = ["x", "y", "font-size", "fill", "onClick"], Rt = { key: 0 }, Bt = ["x", "y", "fill", "font-size", "font-weight"], Mt = ["x", "y", "height", "width", "fill", "rx", "onClick"], jt = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], Xt = { key: 3 }, Ot = ["x", "y", "fill", "font-size", "onClick"], Gt = ["d", "stroke"], Et = ["cx", "cy", "fill", "onClick"], At = ["fill", "cx", "cy", "r", "onClick"], Ut = { key: 4 }, Dt = ["x", "y", "font-size", "font-weight", "fill"], Yt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], qt = ["y", "height", "width"], Ht = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, Wt = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, Kt = {
10
10
  viewBox: "0 0 20 20",
11
11
  height: "16",
12
12
  width: "16"
13
- }, Wt = ["fill"], Kt = { key: 6 }, Jt = ["y", "height", "width"], Qt = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, Zt = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, el = {
13
+ }, Jt = ["fill"], Qt = { key: 6 }, Zt = ["y", "height", "width"], el = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, tl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, ll = {
14
14
  viewBox: "0 0 20 20",
15
15
  height: "16",
16
16
  width: "16"
17
- }, tl = ["fill"], ll = ["d", "stroke"], al = ["cx", "cy", "fill"], ol = ["cx", "cy", "fill"], sl = ["d", "stroke"], ul = ["cx", "cy", "fill"], nl = ["cx", "cy", "fill"], rl = ["x", "y", "fill", "font-size", "font-weight"], il = ["x", "y", "fill", "font-size", "font-weight"], cl = ["x", "text-anchor", "y", "fill", "font-size"], dl = ["x", "text-anchor", "y", "fill", "font-size"], vl = ["x", "text-anchor", "y", "fill", "font-size"], yl = ["x", "text-anchor", "y", "fill", "font-size"], hl = ["x", "text-anchor", "y", "fill", "font-size"], fl = ["x", "y", "font-size", "fill"], bl = ["x", "y", "font-size", "fill"], pl = ["x", "y", "font-size", "fill"], gl = {
17
+ }, al = ["fill"], ol = ["d", "stroke"], sl = ["cx", "cy", "fill"], ul = ["cx", "cy", "fill"], nl = ["d", "stroke"], rl = ["cx", "cy", "fill"], il = ["cx", "cy", "fill"], cl = ["x", "y", "fill", "font-size", "font-weight"], dl = ["x", "y", "fill", "font-size", "font-weight"], vl = ["x", "text-anchor", "y", "fill", "font-size"], yl = ["x", "text-anchor", "y", "fill", "font-size"], hl = ["x", "text-anchor", "y", "fill", "font-size"], fl = ["x", "text-anchor", "y", "fill", "font-size"], bl = ["x", "text-anchor", "y", "fill", "font-size"], pl = ["x", "y", "font-size", "fill"], gl = ["x", "y", "font-size", "fill"], _l = ["x", "y", "font-size", "fill"], xl = {
18
18
  key: 2,
19
19
  class: "vue-data-ui-watermark"
20
- }, _l = { style: { "padding-top": "36px", position: "relative" } }, xl = { class: "vue-ui-data-table" }, ml = { key: 0 }, kl = ["data-cell"], wl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, $l = { key: 0 }, Cl = { key: 1 }, zl = ["data-cell"], Tl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Fl = { key: 0 }, Nl = { key: 1 }, Sl = ["data-cell"], Il = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ll = { key: 0 }, Pl = { key: 1 }, Vl = ["data-cell"], Rl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Bl = { key: 0 }, Ml = { key: 1 }, jl = ["data-cell"], Xl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ol = { key: 0 }, Gl = { key: 1 }, El = ["data-cell"], Al = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ul = { key: 0 }, Dl = { key: 1 }, Yl = ["data-cell"], ql = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Hl = { key: 0 }, Wl = { key: 1 }, Kl = ["data-cell"], Jl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ql = ["data-cell"], Zl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ea = ["data-cell"], ta = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, la = ["data-cell"], aa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, oa = ["data-cell"], sa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ua = {
20
+ }, ml = { style: { "padding-top": "36px", position: "relative" } }, kl = { class: "vue-ui-data-table" }, wl = { key: 0 }, $l = ["data-cell"], Cl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, zl = { key: 0 }, Tl = { key: 1 }, Nl = ["data-cell"], Sl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Fl = { key: 0 }, Ll = { key: 1 }, Il = ["data-cell"], Pl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Vl = { key: 0 }, Rl = { key: 1 }, Bl = ["data-cell"], Ml = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, jl = { key: 0 }, Xl = { key: 1 }, Ol = ["data-cell"], Gl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, El = { key: 0 }, Al = { key: 1 }, Ul = ["data-cell"], Dl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Yl = { key: 0 }, ql = { key: 1 }, Hl = ["data-cell"], Wl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Kl = { key: 0 }, Jl = { key: 1 }, Ql = ["data-cell"], Zl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ea = ["data-cell"], ta = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, la = ["data-cell"], aa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, oa = ["data-cell"], sa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ua = ["data-cell"], na = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ra = {
21
21
  __name: "vue-ui-chestnut",
22
22
  props: {
23
23
  config: {
@@ -34,29 +34,29 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
34
34
  }
35
35
  },
36
36
  emits: ["selectRoot", "selectBranch", "selectNut"],
37
- setup(me, { expose: ke, emit: O }) {
38
- const P = me;
39
- Re((l) => ({
40
- "3f25f622": l.tdo
37
+ setup(we, { expose: $e, emit: E }) {
38
+ const R = we;
39
+ Me((l) => ({
40
+ "545cdfba": l.tdo
41
41
  }));
42
- const { vue_ui_chestnut: we } = Oe(), A = $(() => !!P.dataset && P.dataset.length), k = z(Ge()), te = z(null), $e = z(null), le = z(0), e = $(() => {
43
- const l = xe({
44
- userConfig: P.config,
45
- defaultConfig: we
42
+ const { vue_ui_chestnut: Ce } = Ee(), D = $(() => !!R.dataset && R.dataset.length), k = z(Ae()), ae = z(null), ze = z(null), oe = z(0), e = $(() => {
43
+ const l = ke({
44
+ userConfig: R.config,
45
+ defaultConfig: Ce
46
46
  });
47
47
  return l.theme ? {
48
- ...xe({
49
- userConfig: Ee.vue_ui_chestnut[l.theme] || P.config,
48
+ ...ke({
49
+ userConfig: Ue.vue_ui_chestnut[l.theme] || R.config,
50
50
  defaultConfig: l
51
51
  }),
52
- customPalette: Ae[l.theme] || I
52
+ customPalette: De[l.theme] || I
53
53
  } : l;
54
- }), { isPrinting: ae, isImaging: oe, generatePdf: se, generateImage: ue } = Ke({
54
+ }), { isPrinting: se, isImaging: ue, generatePdf: ne, generateImage: re } = Qe({
55
55
  elementId: `vue-ui-chestnut_${k.value}`,
56
56
  fileName: e.value.style.chart.layout.title.text || "vue-ui-chestnut"
57
- }), W = $(() => Ue(e.value.customPalette)), U = z({
57
+ }), J = $(() => Ye(e.value.customPalette)), Y = z({
58
58
  showTable: e.value.table.show
59
- }), ne = z(null), re = z(!1), Ce = $(() => e.value.table.responsiveBreakpoint), r = z({
59
+ }), ie = z(null), ce = z(!1), Te = $(() => e.value.table.responsiveBreakpoint), r = z({
60
60
  gap: 6,
61
61
  padding: {
62
62
  top: 102,
@@ -76,34 +76,34 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
76
76
  width: r.value.width - (r.value.padding.left + r.value.padding.right),
77
77
  height: r.value.height - (r.value.padding.top + r.value.padding.bottom),
78
78
  seedX: r.value.padding.left + 64
79
- })), V = $(() => A.value ? P.dataset.flatMap((l) => l.branches.map((i) => i.value)).reduce((l, i) => l + i) : 0), T = $(() => (P.dataset.forEach((l, i) => {
80
- Z({
79
+ })), V = $(() => D.value ? R.dataset.flatMap((l) => l.branches.map((i) => i.value)).reduce((l, i) => l + i) : 0), N = $(() => (R.dataset.forEach((l, i) => {
80
+ te({
81
81
  datasetObject: l,
82
82
  requiredAttributes: ["name", "branches"]
83
83
  }).forEach((t) => {
84
- H({
84
+ K({
85
85
  componentName: "VueUiChestnut",
86
86
  type: "datasetSerieAttribute",
87
87
  property: t,
88
88
  index: i
89
89
  });
90
90
  }), l.branches && l.branches.forEach((t, u) => {
91
- Z({
91
+ te({
92
92
  datasetObject: t,
93
93
  requiredAttributes: ["name", "value"]
94
94
  }).forEach((f) => {
95
- H({
95
+ K({
96
96
  componentName: "VueUiChestnut",
97
97
  type: "datasetSerieAttribute",
98
98
  property: f,
99
99
  index: `${i} - ${u}`
100
100
  });
101
101
  }), t.breakdown && t.breakdown.forEach((f, y) => {
102
- Z({
102
+ te({
103
103
  datasetObject: f,
104
104
  requiredAttributes: ["name", "value"]
105
105
  }).forEach((_) => {
106
- H({
106
+ K({
107
107
  componentName: "VueUiChestnut",
108
108
  type: "datasetSerieAttribute",
109
109
  property: _,
@@ -112,11 +112,11 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
112
112
  });
113
113
  });
114
114
  });
115
- }), P.dataset.map((l, i) => {
115
+ }), R.dataset.map((l, i) => {
116
116
  const t = l.branches.map((u) => u.value).reduce((u, f) => u + f);
117
117
  return {
118
118
  ...l,
119
- color: ee(l.color) || W.value[i] || I[i] || I[i % I.length],
119
+ color: le(l.color) || J.value[i] || I[i] || I[i % I.length],
120
120
  id: l.id || `root_${i}_${k.value}`,
121
121
  type: "root",
122
122
  total: t,
@@ -125,7 +125,7 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
125
125
  ...u,
126
126
  rootName: l.name,
127
127
  rootIndex: i,
128
- color: ee(l.color) || W.value[i] || I[i] || I[i % I.length],
128
+ color: le(l.color) || J.value[i] || I[i] || I[i % I.length],
129
129
  value: u.value >= 0 ? u.value : 0,
130
130
  id: u.id || `branch_${i}_${f}_${k.value}`,
131
131
  proportionToRoot: u.value / t,
@@ -155,83 +155,83 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
155
155
  proportionToTree: y.value / V.value,
156
156
  rootIndex: i,
157
157
  id: y.id || `nut_${i}_${f}_${_}_${k.value}`,
158
- color: ee(y.color) || W.value[_] || I[_] || I[_ % I.length],
158
+ color: le(y.color) || J.value[_] || I[_] || I[_ % I.length],
159
159
  value: y.value >= 0 ? y.value : 0
160
160
  }))
161
161
  }))
162
162
  };
163
163
  })));
164
- function ze() {
165
- return T.value;
164
+ function Ne() {
165
+ return N.value;
166
166
  }
167
- const Te = $(() => T.value.flatMap((l) => l.branches).length), Fe = $(() => Math.max(...T.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), Ne = $(() => Math.max(...T.value.flatMap((l) => l.branches.map((i) => i.value)))), ie = $(() => 256 + r.value.padding.left), M = $(() => T.value.sort((l, i) => i.total - l.total).map((l, i) => {
168
- const t = C.value.height / T.value.length / 2, u = l.total / Fe.value * (t > 64 ? 64 : t);
167
+ const Se = $(() => N.value.flatMap((l) => l.branches).length), Fe = $(() => Math.max(...N.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), Le = $(() => Math.max(...N.value.flatMap((l) => l.branches.map((i) => i.value)))), de = $(() => 256 + r.value.padding.left), X = $(() => N.value.sort((l, i) => i.total - l.total).map((l, i) => {
168
+ const t = C.value.height / N.value.length / 2, u = l.total / Fe.value * (t > 64 ? 64 : t);
169
169
  return {
170
170
  ...l,
171
171
  x: C.value.seedX,
172
- y: C.value.top + C.value.height / T.value.length * (i + 1) - (C.value.height / T.value.length / 2 + r.value.gap / 2),
172
+ y: C.value.top + C.value.height / N.value.length * (i + 1) - (C.value.height / N.value.length / 2 + r.value.gap / 2),
173
173
  r: u < r.value.branchSize / 2 ? r.value.branchSize / 2 : u
174
174
  };
175
- })), Se = $(() => 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), Ie = $(() => M.value.flatMap((l) => l.branches)), R = $(() => Ie.value.sort((l, i) => i.value - l.value).map((l, i) => ({
175
+ })), Ie = $(() => 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), Pe = $(() => X.value.flatMap((l) => l.branches)), B = $(() => Pe.value.sort((l, i) => i.value - l.value).map((l, i) => ({
176
176
  ...l,
177
177
  y1: i * r.value.branchSize + C.value.top + i * r.value.gap,
178
178
  y2: i * r.value.branchSize + r.value.branchSize,
179
- x1: ie.value,
180
- x2: 384 * l.value / Ne.value * Se.value + ie.value
179
+ x1: de.value,
180
+ x2: 384 * l.value / Le.value * Ie.value + de.value
181
181
  })));
182
- function K(l) {
183
- const i = M.value.find((t) => t.rootIndex === l.rootIndex);
182
+ function Q(l) {
183
+ const i = X.value.find((t) => t.rootIndex === l.rootIndex);
184
184
  return { x: i.x, y: i.y, r: i.r };
185
185
  }
186
- const v = z(null), j = z(null), x = z(null), N = z(null);
186
+ const v = z(null), M = z(null), x = z(null), F = z(null);
187
187
  function w() {
188
- v.value = null, x.value = null, N.value = null;
188
+ v.value = null, x.value = null, F.value = null;
189
189
  }
190
- function S(l) {
191
- return N.value ? N.value === null ? !0 : l.type === "root" ? l.id === N.value.id : l.rootIndex === N.value.rootIndex : v.value === null && x.value === null ? !0 : l.type === "nut" ? v.value.id === l.id : l.type === "branch" ? x.value.id === l.id : l.type === "root" ? x.value && x.value.rootIndex === l.rootIndex || v.value && v.value.rootIndex === l.rootIndex : !1;
190
+ function L(l) {
191
+ return F.value ? F.value === null ? !0 : l.type === "root" ? l.id === F.value.id : l.rootIndex === F.value.rootIndex : v.value === null && x.value === null ? !0 : l.type === "nut" ? v.value.id === l.id : l.type === "branch" ? x.value.id === l.id : l.type === "root" ? x.value && x.value.rootIndex === l.rootIndex || v.value && v.value.rootIndex === l.rootIndex : !1;
192
192
  }
193
- function ce(l) {
194
- w(), be(() => {
195
- v.value = l, x.value = l, j.value = _e(
193
+ function ve(l) {
194
+ w(), ge(() => {
195
+ v.value = l, x.value = l, M.value = me(
196
196
  { series: l.breakdown, base: 1 },
197
197
  l.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
198
198
  l.y1 + r.value.branchSize / 2,
199
199
  80,
200
200
  80
201
- ), O("selectNut", l.breakdown);
201
+ ), E("selectNut", l.breakdown);
202
202
  });
203
203
  }
204
- function X() {
205
- v.value = null, j.value = null, O("selectNut", null);
204
+ function O() {
205
+ v.value = null, M.value = null, E("selectNut", null);
206
206
  }
207
- function J(l) {
208
- x.value && x.value.id === l.id ? (x.value = null, w(), O("selectBranch", null)) : (w(), x.value = l, O("selectBranch", l));
207
+ function Z(l) {
208
+ x.value && x.value.id === l.id ? (x.value = null, w(), E("selectBranch", null)) : (w(), x.value = l, E("selectBranch", l));
209
209
  }
210
- function de(l) {
211
- N.value && N.value.id === l.id ? (w(), O("selectRoot", null)) : (w(), N.value = l, O("selectRoot", l));
210
+ function ye(l) {
211
+ F.value && F.value.id === l.id ? (w(), E("selectRoot", null)) : (w(), F.value = l, E("selectRoot", l));
212
212
  }
213
- function Le() {
213
+ function Ve() {
214
214
  return C.value.bottom - (v.value.y1 + 180) < 0 ? 0 : C.value.bottom;
215
215
  }
216
- function G(l) {
216
+ function A(l) {
217
217
  return l.proportion * 100 > e.value.style.chart.layout.nuts.selected.labels.dataLabels.hideUnderValue;
218
218
  }
219
- function Pe() {
219
+ function Re() {
220
220
  new ResizeObserver((i) => {
221
221
  i.forEach((t) => {
222
- re.value = t.contentRect.width < Ce.value;
222
+ ce.value = t.contentRect.width < Te.value;
223
223
  });
224
- }).observe(ne.value);
224
+ }).observe(ie.value);
225
225
  }
226
- Be(() => {
227
- De(P.dataset) && H({
226
+ je(() => {
227
+ qe(R.dataset) && K({
228
228
  componentName: "VueUiChestnut",
229
229
  type: "dataset"
230
230
  });
231
- const l = Te.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
232
- r.value.height = l, Pe();
231
+ const l = Se.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
232
+ r.value.height = l, Re();
233
233
  });
234
- const c = $(() => {
234
+ const d = $(() => {
235
235
  const l = [
236
236
  e.value.table.th.translations.rootName,
237
237
  e.value.table.th.translations.rootValue,
@@ -245,115 +245,115 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
245
245
  e.value.table.th.translations.nutToBranch,
246
246
  e.value.table.th.translations.nutToRoot,
247
247
  e.value.table.th.translations.nutToTotal
248
- ], i = T.value.flatMap((t, u) => t.branches.flatMap((f, y) => f.breakdown.flatMap((_, na) => _.table)));
248
+ ], i = N.value.flatMap((t, u) => t.branches.flatMap((f, y) => f.breakdown.flatMap((_, ia) => _.table)));
249
249
  return { head: l, body: i };
250
250
  });
251
- function ve() {
252
- be(() => {
253
- const l = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", V.value], [""]], i = c.value.head, t = c.value.body.map((y, _) => [
254
- c.value.body[_ - 1] && c.value.body[_ - 1].rootName === y.rootName ? "" : y.rootName,
255
- c.value.body[_ - 1] && c.value.body[_ - 1].rootName === y.rootName ? "" : y.rootValue,
256
- c.value.body[_ - 1] && c.value.body[_ - 1].rootName === y.rootName ? "" : y.rootToTotal,
257
- c.value.body[_ - 1] && c.value.body[_ - 1].branchName === y.branchName ? "" : y.branchName,
258
- c.value.body[_ - 1] && c.value.body[_ - 1].branchName === y.branchName ? "" : y.branchValue,
259
- c.value.body[_ - 1] && c.value.body[_ - 1].branchName === y.branchName ? "" : y.branchToRoot,
260
- c.value.body[_ - 1] && c.value.body[_ - 1].branchName === y.branchName ? "" : y.branchToTotal,
251
+ function he() {
252
+ ge(() => {
253
+ const l = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", V.value], [""]], i = d.value.head, t = d.value.body.map((y, _) => [
254
+ d.value.body[_ - 1] && d.value.body[_ - 1].rootName === y.rootName ? "" : y.rootName,
255
+ d.value.body[_ - 1] && d.value.body[_ - 1].rootName === y.rootName ? "" : y.rootValue,
256
+ d.value.body[_ - 1] && d.value.body[_ - 1].rootName === y.rootName ? "" : y.rootToTotal,
257
+ d.value.body[_ - 1] && d.value.body[_ - 1].branchName === y.branchName ? "" : y.branchName,
258
+ d.value.body[_ - 1] && d.value.body[_ - 1].branchName === y.branchName ? "" : y.branchValue,
259
+ d.value.body[_ - 1] && d.value.body[_ - 1].branchName === y.branchName ? "" : y.branchToRoot,
260
+ d.value.body[_ - 1] && d.value.body[_ - 1].branchName === y.branchName ? "" : y.branchToTotal,
261
261
  y.nutName,
262
262
  y.nutValue,
263
263
  y.nutToBranch,
264
264
  y.nutToRoot,
265
265
  y.nutToTotal
266
- ]), u = l.concat([i]).concat(t), f = He(u);
267
- We({ csvContent: f, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
266
+ ]), u = l.concat([i]).concat(t), f = Ke(u);
267
+ Je({ csvContent: f, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
268
268
  });
269
269
  }
270
- const D = z(!1);
271
- function Ve(l) {
272
- D.value = l, le.value += 1;
270
+ const q = z(!1);
271
+ function Be(l) {
272
+ q.value = l, oe.value += 1;
273
273
  }
274
- function ye() {
275
- U.value.showTable = !U.value.showTable;
274
+ function fe() {
275
+ Y.value.showTable = !Y.value.showTable;
276
276
  }
277
- return ke({
278
- getData: ze,
279
- generatePdf: se,
280
- generateCsv: ve,
281
- generateImage: ue,
282
- toggleTable: ye
277
+ return $e({
278
+ getData: Ne,
279
+ generatePdf: ne,
280
+ generateCsv: he,
281
+ generateImage: re,
282
+ toggleTable: fe
283
283
  }), (l, i) => (a(), o("div", {
284
- class: m(`vue-ui-chestnut ${D.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
284
+ class: m(`vue-ui-chestnut ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
285
285
  ref_key: "chestnutChart",
286
- ref: te,
286
+ ref: ae,
287
287
  id: `vue-ui-chestnut_${k.value}`,
288
288
  style: h(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;padding-top:36px;background:${e.value.style.chart.backgroundColor}`)
289
289
  }, [
290
- e.value.userOptions.show && A.value ? (a(), Q(Je, {
290
+ e.value.userOptions.show && D.value ? (a(), ee(Ze, {
291
291
  ref_key: "details",
292
- ref: $e,
293
- key: `user_options_${le.value}`,
292
+ ref: ze,
293
+ key: `user_options_${oe.value}`,
294
294
  backgroundColor: e.value.style.chart.backgroundColor,
295
295
  color: e.value.style.chart.color,
296
- isImaging: d(oe),
297
- isPrinting: d(ae),
296
+ isImaging: n(ue),
297
+ isPrinting: n(se),
298
298
  uid: k.value,
299
299
  hasPdf: e.value.userOptions.buttons.pdf,
300
300
  hasImg: e.value.userOptions.buttons.img,
301
301
  hasXls: e.value.userOptions.buttons.csv,
302
302
  hasTable: e.value.userOptions.buttons.table,
303
303
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
304
- isFullscreen: D.value,
304
+ isFullscreen: q.value,
305
305
  titles: { ...e.value.userOptions.buttonTitles },
306
- chartElement: te.value,
307
- onToggleFullscreen: Ve,
308
- onGeneratePdf: d(se),
309
- onGenerateCsv: ve,
310
- onGenerateImage: d(ue),
311
- onToggleTable: ye
312
- }, Me({ _: 2 }, [
306
+ chartElement: ae.value,
307
+ onToggleFullscreen: Be,
308
+ onGeneratePdf: n(ne),
309
+ onGenerateCsv: he,
310
+ onGenerateImage: n(re),
311
+ onToggleTable: fe
312
+ }, Xe({ _: 2 }, [
313
313
  l.$slots.optionPdf ? {
314
314
  name: "optionPdf",
315
- fn: E(() => [
316
- B(l.$slots, "optionPdf", {}, void 0, !0)
315
+ fn: U(() => [
316
+ j(l.$slots, "optionPdf", {}, void 0, !0)
317
317
  ]),
318
318
  key: "0"
319
319
  } : void 0,
320
320
  l.$slots.optionCsv ? {
321
321
  name: "optionCsv",
322
- fn: E(() => [
323
- B(l.$slots, "optionCsv", {}, void 0, !0)
322
+ fn: U(() => [
323
+ j(l.$slots, "optionCsv", {}, void 0, !0)
324
324
  ]),
325
325
  key: "1"
326
326
  } : void 0,
327
327
  l.$slots.optionImg ? {
328
328
  name: "optionImg",
329
- fn: E(() => [
330
- B(l.$slots, "optionImg", {}, void 0, !0)
329
+ fn: U(() => [
330
+ j(l.$slots, "optionImg", {}, void 0, !0)
331
331
  ]),
332
332
  key: "2"
333
333
  } : void 0,
334
334
  l.$slots.optionTable ? {
335
335
  name: "optionTable",
336
- fn: E(() => [
337
- B(l.$slots, "optionTable", {}, void 0, !0)
336
+ fn: U(() => [
337
+ j(l.$slots, "optionTable", {}, void 0, !0)
338
338
  ]),
339
339
  key: "3"
340
340
  } : void 0,
341
341
  l.$slots.optionFullscreen ? {
342
342
  name: "optionFullscreen",
343
- fn: E(({ toggleFullscreen: t, isFullscreen: u }) => [
344
- B(l.$slots, "optionFullscreen", he(fe({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
343
+ fn: U(({ toggleFullscreen: t, isFullscreen: u }) => [
344
+ j(l.$slots, "optionFullscreen", be(pe({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
345
345
  ]),
346
346
  key: "4"
347
347
  } : void 0
348
348
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : b("", !0),
349
- r.value.height > 0 && A.value ? (a(), o("svg", {
349
+ r.value.height > 0 && D.value ? (a(), o("svg", {
350
350
  key: 1,
351
- xmlns: d(Ye),
352
- class: m({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
351
+ xmlns: n(He),
352
+ class: m({ "vue-data-ui-fullscreen--on": q.value, "vue-data-ui-fulscreen--off": !q.value }),
353
353
  viewBox: `0 0 ${r.value.width} ${r.value.height}`,
354
354
  style: h(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
355
355
  }, [
356
- v.value ? b("", !0) : (a(), o("g", ot, [
356
+ v.value ? b("", !0) : (a(), o("g", ut, [
357
357
  e.value.style.chart.layout.title.text ? (a(), o("text", {
358
358
  key: 0,
359
359
  "text-anchor": "middle",
@@ -363,7 +363,7 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
363
363
  x: r.value.width / 2,
364
364
  y: 12 + e.value.style.chart.layout.title.fontSize + e.value.style.chart.layout.title.offsetY,
365
365
  onClick: w
366
- }, n(e.value.style.chart.layout.title.text), 9, st)) : b("", !0),
366
+ }, c(e.value.style.chart.layout.title.text), 9, nt)) : b("", !0),
367
367
  e.value.style.chart.layout.title.subtitle.text ? (a(), o("text", {
368
368
  key: 1,
369
369
  "text-anchor": "middle",
@@ -373,10 +373,10 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
373
373
  x: r.value.width / 2,
374
374
  y: 48 + e.value.style.chart.layout.title.subtitle.fontSize + e.value.style.chart.layout.title.subtitle.offsetY,
375
375
  onClick: w
376
- }, n(e.value.style.chart.layout.title.subtitle.text), 9, ut)) : b("", !0)
376
+ }, c(e.value.style.chart.layout.title.subtitle.text), 9, rt)) : b("", !0)
377
377
  ])),
378
378
  s("defs", null, [
379
- (a(!0), o(p, null, g(T.value, (t, u) => (a(), o("radialGradient", {
379
+ (a(!0), o(p, null, g(N.value, (t, u) => (a(), o("radialGradient", {
380
380
  cx: "50%",
381
381
  cy: "50%",
382
382
  r: "50%",
@@ -386,14 +386,14 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
386
386
  }, [
387
387
  s("stop", {
388
388
  offset: "0%",
389
- "stop-color": `${d(pe)(t.color, 0.05)}${d(F)[100 - e.value.style.chart.layout.roots.gradientIntensity]}`
390
- }, null, 8, rt),
389
+ "stop-color": `${n(_e)(t.color, 0.05)}${n(S)[100 - e.value.style.chart.layout.roots.gradientIntensity]}`
390
+ }, null, 8, ct),
391
391
  s("stop", {
392
392
  offset: "100%",
393
393
  "stop-color": t.color
394
- }, null, 8, it)
395
- ], 8, nt))), 256)),
396
- (a(!0), o(p, null, g(T.value, (t) => (a(), o("linearGradient", {
394
+ }, null, 8, dt)
395
+ ], 8, it))), 256)),
396
+ (a(!0), o(p, null, g(N.value, (t) => (a(), o("linearGradient", {
397
397
  x1: "0%",
398
398
  y1: "0%",
399
399
  x2: "100%",
@@ -403,12 +403,12 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
403
403
  s("stop", {
404
404
  offset: "0%",
405
405
  "stop-color": t.color
406
- }, null, 8, dt),
406
+ }, null, 8, yt),
407
407
  s("stop", {
408
408
  offset: "100%",
409
- "stop-color": `${d(pe)(t.color, 0.02)}${d(F)[100 - e.value.style.chart.layout.branches.gradientIntensity]}`
410
- }, null, 8, vt)
411
- ], 8, ct))), 256)),
409
+ "stop-color": `${n(_e)(t.color, 0.02)}${n(S)[100 - e.value.style.chart.layout.branches.gradientIntensity]}`
410
+ }, null, 8, ht)
411
+ ], 8, vt))), 256)),
412
412
  s("radialGradient", {
413
413
  cx: "50%",
414
414
  cy: "50%",
@@ -419,17 +419,17 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
419
419
  }, [
420
420
  s("stop", {
421
421
  offset: "0%",
422
- "stop-color": `#FFFFFF${d(F)[0]}`
423
- }, null, 8, ht),
422
+ "stop-color": `#FFFFFF${n(S)[0]}`
423
+ }, null, 8, bt),
424
424
  s("stop", {
425
425
  offset: "80%",
426
- "stop-color": `#FFFFFF${d(F)[e.value.style.chart.layout.nuts.selected.gradientIntensity]}`
427
- }, null, 8, ft),
426
+ "stop-color": `#FFFFFF${n(S)[e.value.style.chart.layout.nuts.selected.gradientIntensity]}`
427
+ }, null, 8, pt),
428
428
  s("stop", {
429
429
  offset: "100%",
430
- "stop-color": `#FFFFFF${d(F)[0]}`
431
- }, null, 8, bt)
432
- ], 8, yt),
430
+ "stop-color": `#FFFFFF${n(S)[0]}`
431
+ }, null, 8, gt)
432
+ ], 8, ft),
433
433
  s("radialGradient", {
434
434
  cx: "50%",
435
435
  cy: "50%",
@@ -440,17 +440,17 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
440
440
  }, [
441
441
  s("stop", {
442
442
  offset: "0%",
443
- "stop-color": `#FFFFFF${d(F)[0]}`
444
- }, null, 8, gt),
443
+ "stop-color": `#FFFFFF${n(S)[0]}`
444
+ }, null, 8, xt),
445
445
  s("stop", {
446
446
  offset: "80%",
447
- "stop-color": `#FFFFFF${d(F)[e.value.style.chart.layout.nuts.gradientIntensity]}`
448
- }, null, 8, _t),
447
+ "stop-color": `#FFFFFF${n(S)[e.value.style.chart.layout.nuts.gradientIntensity]}`
448
+ }, null, 8, mt),
449
449
  s("stop", {
450
450
  offset: "100%",
451
- "stop-color": `#FFFFFF${d(F)[0]}`
452
- }, null, 8, xt)
453
- ], 8, pt),
451
+ "stop-color": `#FFFFFF${n(S)[0]}`
452
+ }, null, 8, kt)
453
+ ], 8, _t),
454
454
  s("radialGradient", {
455
455
  cx: "50%",
456
456
  cy: "50%",
@@ -461,19 +461,19 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
461
461
  }, [
462
462
  s("stop", {
463
463
  offset: "0%",
464
- "stop-color": `${e.value.style.chart.backgroundColor}${d(F)[100]}`
465
- }, null, 8, kt),
464
+ "stop-color": `${e.value.style.chart.backgroundColor}${n(S)[100]}`
465
+ }, null, 8, $t),
466
466
  s("stop", {
467
467
  offset: "80%",
468
- "stop-color": `${e.value.style.chart.backgroundColor}${d(F)[60]}`
469
- }, null, 8, wt),
468
+ "stop-color": `${e.value.style.chart.backgroundColor}${n(S)[60]}`
469
+ }, null, 8, Ct),
470
470
  s("stop", {
471
471
  offset: "100%",
472
- "stop-color": `${e.value.style.chart.backgroundColor}${d(F)[0]}`
473
- }, null, 8, $t)
474
- ], 8, mt)
472
+ "stop-color": `${e.value.style.chart.backgroundColor}${n(S)[0]}`
473
+ }, null, 8, zt)
474
+ ], 8, wt)
475
475
  ]),
476
- e.value.style.chart.layout.grandTotal.show ? (a(), o("g", Ct, [
476
+ e.value.style.chart.layout.grandTotal.show ? (a(), o("g", Tt, [
477
477
  s("text", {
478
478
  x: C.value.seedX,
479
479
  y: 32 + e.value.style.chart.layout.grandTotal.offsetY,
@@ -482,7 +482,7 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
482
482
  fill: e.value.style.chart.layout.grandTotal.color,
483
483
  "text-anchor": "middle",
484
484
  onClick: w
485
- }, n(e.value.style.chart.layout.grandTotal.text), 9, zt),
485
+ }, c(e.value.style.chart.layout.grandTotal.text), 9, Nt),
486
486
  s("text", {
487
487
  x: C.value.seedX,
488
488
  y: 38 + e.value.style.chart.layout.grandTotal.fontSize + e.value.style.chart.layout.grandTotal.offsetY,
@@ -491,55 +491,74 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
491
491
  fill: e.value.style.chart.layout.grandTotal.color,
492
492
  "text-anchor": "middle",
493
493
  onClick: w
494
- }, n(e.value.style.chart.layout.grandTotal.prefix) + " " + n(V.value.toFixed(e.value.style.chart.layout.grandTotal.roundingValue)) + " " + n(e.value.style.chart.layout.grandTotal.suffix), 9, Tt)
494
+ }, c(n(G)(
495
+ e.value.style.chart.layout.grandTotal.formatter,
496
+ V.value,
497
+ n(T)({
498
+ p: e.value.style.chart.layout.grandTotal.prefix,
499
+ v: V.value,
500
+ s: e.value.style.chart.layout.grandTotal.suffix,
501
+ r: e.value.style.chart.layout.grandTotal.roundingValue
502
+ })
503
+ )), 9, St)
495
504
  ])) : b("", !0),
496
- (a(!0), o(p, null, g(R.value, (t) => (a(), o("g", null, [
505
+ (a(!0), o(p, null, g(B.value, (t) => (a(), o("g", null, [
497
506
  (a(!0), o(p, null, g(r.value.branchSize, (u, f) => (a(), o("path", {
498
507
  d: `M
499
508
  ${t.x1},${t.y1 + f}
500
509
  C${t.x1 - 20},${t.y1 + f}
501
510
  ${t.x1 - 80},${t.y1 + f}
502
- ${K(t).x + K(t).r / 2}, ${K(t).y}
511
+ ${Q(t).x + Q(t).r / 2}, ${Q(t).y}
503
512
  `,
504
- stroke: `${t.color}${d(F)[e.value.style.chart.layout.links.opacity]}`,
513
+ stroke: `${t.color}${n(S)[e.value.style.chart.layout.links.opacity]}`,
505
514
  fill: "none",
506
515
  "stroke-width": "2",
507
516
  "shape-rendering": "cirspEdges",
508
- style: h(`opacity:${S(t) ? 1 : 0}`),
517
+ style: h(`opacity:${L(t) ? 1 : 0}`),
509
518
  onClick: w
510
519
  }, null, 12, Ft))), 256))
511
520
  ]))), 256)),
512
- (a(!0), o(p, null, g(M.value, (t) => (a(), o("circle", {
521
+ (a(!0), o(p, null, g(X.value, (t) => (a(), o("circle", {
513
522
  cx: t.x,
514
523
  cy: t.y,
515
524
  r: t.r,
516
525
  fill: e.value.style.chart.layout.roots.underlayerColor,
517
526
  stroke: "none",
518
- style: h(`cursor:pointer; opacity:${S(t) ? 1 : 0.05}`)
519
- }, null, 12, Nt))), 256)),
520
- (a(!0), o(p, null, g(M.value, (t, u) => (a(), o("circle", {
527
+ style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`)
528
+ }, null, 12, Lt))), 256)),
529
+ (a(!0), o(p, null, g(X.value, (t, u) => (a(), o("circle", {
521
530
  cx: t.x,
522
531
  cy: t.y,
523
532
  r: t.r,
524
533
  fill: e.value.style.chart.layout.roots.useGradient ? `url(#root_gradient_${k.value}_${t.rootIndex})` : t.color,
525
534
  stroke: e.value.style.chart.layout.roots.stroke,
526
535
  "stroke-width": e.value.style.chart.layout.roots.strokeWidth,
527
- style: h(`cursor:pointer; opacity:${S(t) ? 1 : 0.05}`),
528
- onClick: (f) => de(t)
529
- }, null, 12, St))), 256)),
530
- e.value.style.chart.layout.roots.labels.show ? (a(), o("g", It, [
531
- (a(!0), o(p, null, g(M.value, (t, u) => (a(), o("text", {
536
+ style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
537
+ onClick: (f) => ye(t)
538
+ }, null, 12, It))), 256)),
539
+ e.value.style.chart.layout.roots.labels.show ? (a(), o("g", Pt, [
540
+ (a(!0), o(p, null, g(X.value, (t, u) => (a(), o("text", {
532
541
  x: t.x,
533
542
  y: t.y + e.value.style.chart.layout.roots.labels.fontSize / 2.6,
534
543
  "text-anchor": "middle",
535
544
  "font-size": e.value.style.chart.layout.roots.labels.fontSize,
536
- fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? d(ge)(t.color) : e.value.style.chart.layout.roots.labels.color,
545
+ fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? n(xe)(t.color) : e.value.style.chart.layout.roots.labels.color,
537
546
  "font-weight": "bold",
538
- style: h(`cursor:pointer; opacity:${S(t) ? 1 : 0.05}`),
539
- onClick: (f) => de(t)
540
- }, n(e.value.style.chart.layout.roots.labels.prefix) + " " + n(t.total.toFixed(e.value.style.chart.layout.roots.labels.roundingValue)) + " " + n(e.value.style.chart.layout.roots.labels.suffix), 13, Lt))), 256)),
541
- (a(!0), o(p, null, g(M.value, (t) => (a(), o("g", null, [
542
- v.value && t.rootIndex === v.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || N.value && t.rootIndex === N.value.rootIndex ? (a(), o("g", Pt, [
547
+ style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
548
+ onClick: (f) => ye(t)
549
+ }, c(n(G)(
550
+ e.value.style.chart.layout.roots.labels.formatter,
551
+ t.total,
552
+ n(T)({
553
+ p: e.value.style.chart.layout.roots.labels.prefix,
554
+ v: t.total,
555
+ s: e.value.style.chart.layout.roots.labels.suffix,
556
+ r: e.value.style.chart.layout.roots.labels.roundingValue
557
+ }),
558
+ { datapoint: t }
559
+ )), 13, Vt))), 256)),
560
+ (a(!0), o(p, null, g(X.value, (t) => (a(), o("g", null, [
561
+ v.value && t.rootIndex === v.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || F.value && t.rootIndex === F.value.rootIndex ? (a(), o("g", Rt, [
543
562
  s("text", {
544
563
  x: t.x,
545
564
  y: t.y + t.r + 24,
@@ -548,11 +567,11 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
548
567
  "font-size": e.value.style.chart.layout.roots.labels.name.fontSize,
549
568
  "font-weight": e.value.style.chart.layout.roots.labels.name.bold ? "bold" : "normal",
550
569
  onClick: w
551
- }, n(t.name), 9, Vt)
570
+ }, c(t.name), 9, Bt)
552
571
  ])) : b("", !0)
553
572
  ]))), 256))
554
573
  ])) : b("", !0),
555
- (a(!0), o(p, null, g(R.value, (t) => (a(), o("rect", {
574
+ (a(!0), o(p, null, g(B.value, (t) => (a(), o("rect", {
556
575
  x: t.x1,
557
576
  y: t.y1,
558
577
  height: r.value.branchSize,
@@ -560,10 +579,10 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
560
579
  fill: e.value.style.chart.layout.branches.underlayerColor,
561
580
  rx: e.value.style.chart.layout.branches.borderRadius,
562
581
  stroke: "none",
563
- style: h(`opacity:${S(t) ? 1 : 0.05}`),
564
- onClick: (u) => J(t)
565
- }, null, 12, Rt))), 256)),
566
- (a(!0), o(p, null, g(R.value, (t, u) => (a(), o("rect", {
582
+ style: h(`opacity:${L(t) ? 1 : 0.05}`),
583
+ onClick: (u) => Z(t)
584
+ }, null, 12, Mt))), 256)),
585
+ (a(!0), o(p, null, g(B.value, (t, u) => (a(), o("rect", {
567
586
  x: t.x1,
568
587
  y: t.y1,
569
588
  height: r.value.branchSize,
@@ -572,26 +591,36 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
572
591
  rx: e.value.style.chart.layout.branches.borderRadius,
573
592
  stroke: e.value.style.chart.layout.branches.stroke,
574
593
  "stroke-width": e.value.style.chart.layout.branches.strokeWidth,
575
- style: h(`cursor:pointer; opacity:${S(t) ? 1 : 0.05}`),
576
- onClick: (f) => J(t)
577
- }, null, 12, Bt))), 256)),
578
- e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", Mt, [
579
- (a(!0), o(p, null, g(R.value, (t) => (a(), o("g", null, [
594
+ style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
595
+ onClick: (f) => Z(t)
596
+ }, null, 12, jt))), 256)),
597
+ e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", Xt, [
598
+ (a(!0), o(p, null, g(B.value, (t) => (a(), o("g", null, [
580
599
  t.proportionToRoot * 100 > e.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (a(), o("text", {
581
600
  key: 0,
582
601
  x: t.x1 + 6,
583
602
  y: t.y1 + r.value.branchSize / 1.5,
584
603
  "text-anchor": "start",
585
- fill: d(ge)(t.color),
604
+ fill: n(xe)(t.color),
586
605
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
587
606
  "font-weight": "bold",
588
- style: h(`cursor:pointer; opacity:${S(t) ? 1 : 0.05}`),
589
- onClick: (u) => J(t)
590
- }, n(e.value.style.chart.layout.branches.labels.dataLabels.prefix) + " " + n(t.value.toFixed(e.value.style.chart.layout.branches.labels.dataLabels.roundingValue)) + " " + n(e.value.style.chart.layout.branches.labels.dataLabels.suffix), 13, jt)) : b("", !0)
607
+ style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
608
+ onClick: (u) => Z(t)
609
+ }, c(n(G)(
610
+ e.value.style.chart.layout.branches.labels.dataLabels.formatter,
611
+ t.value,
612
+ n(T)({
613
+ p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
614
+ v: t.value,
615
+ s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
616
+ r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
617
+ }),
618
+ { datapoint: t }
619
+ )), 13, Ot)) : b("", !0)
591
620
  ]))), 256))
592
621
  ])) : b("", !0),
593
- (a(!0), o(p, null, g(R.value, (t, u) => (a(), o("g", null, [
594
- (a(!0), o(p, null, g(d(_e)(
622
+ (a(!0), o(p, null, g(B.value, (t, u) => (a(), o("g", null, [
623
+ (a(!0), o(p, null, g(n(me)(
595
624
  { series: t.breakdown, base: 1 },
596
625
  t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
597
626
  t.y1 + r.value.branchSize / 2,
@@ -602,35 +631,35 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
602
631
  stroke: f.color,
603
632
  "stroke-width": 10,
604
633
  fill: "none",
605
- style: h(`opacity:${S(t) ? 1 : 0.1}`)
606
- }, null, 12, Xt))), 256)),
607
- (a(!0), o(p, null, g(R.value, (f) => (a(), o("circle", {
634
+ style: h(`opacity:${L(t) ? 1 : 0.1}`)
635
+ }, null, 12, Gt))), 256)),
636
+ (a(!0), o(p, null, g(B.value, (f) => (a(), o("circle", {
608
637
  cx: f.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
609
638
  cy: f.y1 + r.value.branchSize / 2,
610
639
  r: 6,
611
640
  fill: e.value.style.chart.backgroundColor,
612
- onClick: (y) => ce(f),
641
+ onClick: (y) => ve(f),
613
642
  style: { cursor: "pointer" }
614
- }, null, 8, Ot))), 256)),
643
+ }, null, 8, Et))), 256)),
615
644
  s("circle", {
616
645
  fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${k.value})` : "transparent",
617
646
  cx: t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
618
647
  cy: t.y1 + r.value.branchSize / 2,
619
648
  r: r.value.branchSize / 2 + 2,
620
- onClick: (f) => ce(t),
621
- style: h(`cursor:pointer;opacity:${S(t) ? 1 : 0.1}`)
622
- }, null, 12, Gt)
649
+ onClick: (f) => ve(t),
650
+ style: h(`cursor:pointer;opacity:${L(t) ? 1 : 0.1}`)
651
+ }, null, 12, At)
623
652
  ]))), 256)),
624
- e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", Et, [
625
- (a(!0), o(p, null, g(R.value, (t) => (a(), o("text", {
653
+ e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", Ut, [
654
+ (a(!0), o(p, null, g(B.value, (t) => (a(), o("text", {
626
655
  x: t.x2 + r.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
627
656
  y: t.y1 + r.value.branchSize / 2 + 5,
628
657
  "font-size": e.value.style.chart.layout.branches.labels.fontSize,
629
658
  "font-weight": e.value.style.chart.layout.branches.labels.bold ? "bold" : "normal",
630
659
  fill: e.value.style.chart.layout.branches.labels.color,
631
660
  "text-anchor": "start",
632
- style: h(`opacity:${S(t) ? 1 : 0.1}`)
633
- }, n(t.name), 13, At))), 256))
661
+ style: h(`opacity:${L(t) ? 1 : 0.1}`)
662
+ }, c(t.name), 13, Dt))), 256))
634
663
  ])) : b("", !0),
635
664
  s("line", {
636
665
  x1: 256 + r.value.padding.left,
@@ -639,7 +668,7 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
639
668
  y2: C.value.bottom,
640
669
  stroke: e.value.style.chart.layout.verticalSeparator.stroke,
641
670
  "stroke-width": e.value.style.chart.layout.verticalSeparator.strokeWidth
642
- }, null, 8, Ut),
671
+ }, null, 8, Yt),
643
672
  !v.value && !x.value ? (a(), o("foreignObject", {
644
673
  key: 5,
645
674
  x: 0,
@@ -649,113 +678,126 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
649
678
  style: { overflow: "visible" },
650
679
  onClick: w
651
680
  }, [
652
- s("div", Yt, [
653
- s("div", qt, [
654
- (a(!0), o(p, null, g(M.value, (t) => (a(), o("div", {
681
+ s("div", Ht, [
682
+ s("div", Wt, [
683
+ (a(!0), o(p, null, g(X.value, (t) => (a(), o("div", {
655
684
  style: h(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
656
685
  }, [
657
- (a(), o("svg", Ht, [
686
+ (a(), o("svg", Kt, [
658
687
  s("circle", {
659
688
  cx: "10",
660
689
  cy: "10",
661
690
  r: "10",
662
691
  fill: t.color,
663
692
  stroke: "none"
664
- }, null, 8, Wt)
693
+ }, null, 8, Jt)
665
694
  ])),
666
- s("span", null, n(t.name) + ":", 1),
667
- Y(),
668
- s("b", null, n(e.value.style.chart.layout.legend.prefix) + " " + n(t.total.toFixed(e.value.style.chart.layout.legend.roundingValue)) + " " + n(e.value.style.chart.layout.legend.suffix), 1),
669
- Y("(" + n((t.total / V.value * 100).toFixed(e.value.style.chart.layout.legend.roundingPercentage)) + "%) ", 1)
695
+ s("span", null, c(t.name) + ":", 1),
696
+ s("b", null, c(n(G)(
697
+ e.value.style.chart.layout.roots.labels.formatter,
698
+ t.total,
699
+ n(T)({
700
+ p: e.value.style.chart.layout.legend.prefix,
701
+ v: t.total,
702
+ s: e.value.style.chart.layout.legend.suffix,
703
+ r: e.value.style.chart.layout.legend.roundingValue
704
+ }),
705
+ { datapoint: t }
706
+ )), 1),
707
+ W(" (" + c(n(T)({
708
+ v: t.total / V.value * 100,
709
+ s: "%",
710
+ r: e.value.style.chart.layout.legend.roundingPercentage
711
+ })) + ") ", 1)
670
712
  ], 4))), 256))
671
713
  ])
672
714
  ])
673
- ], 8, Dt)) : b("", !0),
674
- v.value && j.value ? (a(), o("g", Kt, [
715
+ ], 8, qt)) : b("", !0),
716
+ v.value && M.value ? (a(), o("g", Qt, [
675
717
  (a(), o("foreignObject", {
676
718
  x: 0,
677
- y: Le(),
719
+ y: Ve(),
678
720
  height: r.value.height - C.value.bottom,
679
721
  width: r.value.width,
680
722
  style: { overflow: "visible" },
681
723
  onClick: w
682
724
  }, [
683
- s("div", Qt, [
684
- s("b", null, n(v.value.name), 1),
685
- s("div", Zt, [
725
+ s("div", el, [
726
+ s("b", null, c(v.value.name), 1),
727
+ s("div", tl, [
686
728
  (a(!0), o(p, null, g(v.value.breakdown, (t, u) => (a(), o("div", {
687
729
  style: h(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
688
730
  }, [
689
- (a(), o("svg", el, [
731
+ (a(), o("svg", ll, [
690
732
  s("circle", {
691
733
  cx: "10",
692
734
  cy: "10",
693
735
  r: "10",
694
736
  fill: t.color,
695
737
  stroke: "none"
696
- }, null, 8, tl)
738
+ }, null, 8, al)
697
739
  ])),
698
740
  s("span", null, [
699
- Y(n(t.name) + ": ", 1),
700
- s("b", null, n(e.value.style.chart.layout.legend.prefix) + " " + n(t.value.toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingValue)) + " " + n(e.value.style.chart.layout.legend.suffix), 1),
701
- Y(" (" + n((t.proportionToBranch * 100).toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "%)", 1)
741
+ W(c(t.name) + ": ", 1),
742
+ s("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),
743
+ W(" (" + c((t.proportionToBranch * 100).toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "%)", 1)
702
744
  ])
703
745
  ], 4))), 256))
704
746
  ])
705
747
  ])
706
- ], 8, Jt)),
707
- (a(!0), o(p, null, g(j.value, (t) => (a(), o("g", null, [
708
- G(t) ? (a(), o("path", {
748
+ ], 8, Zt)),
749
+ (a(!0), o(p, null, g(M.value, (t) => (a(), o("g", null, [
750
+ A(t) ? (a(), o("path", {
709
751
  key: 0,
710
- d: d(qe)(t),
752
+ d: n(We)(t),
711
753
  stroke: t.color,
712
754
  "stroke-width": "1",
713
755
  "stroke-linecap": "round",
714
756
  "stroke-linejoin": "round",
715
757
  fill: "none",
716
758
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
717
- }, null, 10, ll)) : b("", !0)
759
+ }, null, 10, ol)) : b("", !0)
718
760
  ]))), 256)),
719
761
  s("circle", {
720
762
  cx: v.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
721
763
  cy: v.value.y1 + r.value.branchSize / 2,
722
764
  r: 256,
723
765
  fill: `url(#nut_underlayer_${k.value})`,
724
- onClick: X,
766
+ onClick: O,
725
767
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
726
- }, null, 10, al),
768
+ }, null, 10, sl),
727
769
  s("circle", {
728
770
  cx: v.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
729
771
  cy: v.value.y1 + r.value.branchSize / 2,
730
772
  r: 118,
731
773
  fill: e.value.style.chart.backgroundColor,
732
- onClick: X,
774
+ onClick: O,
733
775
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
734
- }, null, 10, ol),
735
- (a(!0), o(p, null, g(j.value, (t) => (a(), o("path", {
776
+ }, null, 10, ul),
777
+ (a(!0), o(p, null, g(M.value, (t) => (a(), o("path", {
736
778
  d: t.path,
737
779
  stroke: t.color,
738
780
  "stroke-width": 64,
739
781
  fill: "none",
740
- onClick: X,
782
+ onClick: O,
741
783
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
742
- }, null, 10, sl))), 256)),
784
+ }, null, 10, nl))), 256)),
743
785
  s("circle", {
744
786
  cx: v.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
745
787
  cy: v.value.y1 + r.value.branchSize / 2,
746
788
  r: 100,
747
789
  fill: `url(#nutpick_${k.value})`,
748
- onClick: X,
790
+ onClick: O,
749
791
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
750
- }, null, 10, ul),
792
+ }, null, 10, rl),
751
793
  s("circle", {
752
794
  cx: v.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
753
795
  cy: v.value.y1 + r.value.branchSize / 2,
754
796
  r: 48,
755
797
  fill: e.value.style.chart.backgroundColor,
756
- onClick: X,
798
+ onClick: O,
757
799
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
758
- }, null, 10, nl),
800
+ }, null, 10, il),
759
801
  s("text", {
760
802
  x: v.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
761
803
  y: v.value.y1 + 8,
@@ -763,9 +805,9 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
763
805
  "font-size": e.value.style.chart.layout.nuts.selected.labels.core.total.fontSize,
764
806
  "font-weight": e.value.style.chart.layout.nuts.selected.labels.core.total.bold ? "bold" : "normal",
765
807
  "text-anchor": "middle",
766
- onClick: X,
808
+ onClick: O,
767
809
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
768
- }, n(e.value.translations.total), 11, rl),
810
+ }, c(e.value.translations.total), 11, cl),
769
811
  s("text", {
770
812
  x: v.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
771
813
  y: v.value.y1 + 36,
@@ -773,65 +815,97 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
773
815
  "font-size": e.value.style.chart.layout.nuts.selected.labels.core.value.fontSize,
774
816
  "font-weight": e.value.style.chart.layout.nuts.selected.labels.core.value.bold ? "bold" : "normal",
775
817
  "text-anchor": "middle",
776
- onClick: X,
818
+ onClick: O,
777
819
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
778
- }, n(e.value.style.chart.layout.nuts.selected.labels.core.value.prefix) + " " + n(v.value.value.toFixed(e.value.style.chart.layout.nuts.selected.roundingValue)) + " " + n(e.value.style.chart.layout.nuts.selected.labels.core.value.suffix), 11, il),
779
- (a(!0), o(p, null, g(j.value, (t, u) => (a(), o("g", null, [
780
- G(t) ? (a(), o("text", {
820
+ }, c(n(G)(
821
+ e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
822
+ v.value.value,
823
+ n(T)({
824
+ p: e.value.style.chart.layout.nuts.selected.labels.core.value.prefix,
825
+ v: v.value.value,
826
+ s: e.value.style.chart.layout.nuts.selected.labels.core.value.suffix,
827
+ r: e.value.style.chart.layout.nuts.selected.roundingValue
828
+ }),
829
+ { datapoint: v.value }
830
+ )), 11, dl),
831
+ (a(!0), o(p, null, g(M.value, (t, u) => (a(), o("g", null, [
832
+ A(t) ? (a(), o("text", {
781
833
  key: 0,
782
- x: d(L)(t).x,
783
- "text-anchor": d(L)(t).anchor,
784
- y: d(q)(t),
834
+ x: n(P)(t).x,
835
+ "text-anchor": n(P)(t).anchor,
836
+ y: n(H)(t),
785
837
  fill: t.color,
786
838
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
787
839
  style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
788
840
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
789
- }, " ⬤ ", 14, cl)) : b("", !0),
790
- G(t) ? (a(), o("text", {
841
+ }, " ⬤ ", 14, vl)) : b("", !0),
842
+ A(t) ? (a(), o("text", {
791
843
  key: 1,
792
- x: d(L)(t, !0).x,
793
- "text-anchor": d(L)(t, !0).anchor,
794
- y: d(q)(t),
844
+ x: n(P)(t, !0).x,
845
+ "text-anchor": n(P)(t, !0).anchor,
846
+ y: n(H)(t),
795
847
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
796
848
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
797
849
  style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
798
850
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
799
- }, n(v.value.breakdown[u].name), 15, dl)) : b("", !0)
851
+ }, c(v.value.breakdown[u].name), 15, yl)) : b("", !0)
800
852
  ]))), 256)),
801
- (a(!0), o(p, null, g(j.value, (t, u) => (a(), o("g", null, [
802
- G(t) ? (a(), o("text", {
853
+ (a(!0), o(p, null, g(M.value, (t, u) => (a(), o("g", null, [
854
+ A(t) ? (a(), o("text", {
803
855
  key: 0,
804
- x: d(L)(t, !0).x,
805
- "text-anchor": d(L)(t).anchor,
806
- y: d(q)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
856
+ x: n(P)(t, !0).x,
857
+ "text-anchor": n(P)(t).anchor,
858
+ y: n(H)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
807
859
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
808
860
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
809
861
  style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
810
862
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
811
- }, n((v.value.breakdown[u].value / v.value.value * 100).toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "% " + n(e.value.translations.of) + " " + n(v.value.breakdown[u].branchName) + " (" + n(e.value.style.chart.layout.nuts.selected.labels.dataLabels.prefix) + " " + n(v.value.breakdown[u].value) + " " + n(e.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix) + ") ", 15, vl)) : b("", !0),
812
- G(t) ? (a(), o("text", {
863
+ }, c(n(T)({
864
+ v: v.value.breakdown[u].value / v.value.value * 100,
865
+ s: "%",
866
+ r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
867
+ })) + " " + c(e.value.translations.of) + " " + c(v.value.breakdown[u].branchName) + " " + c(n(G)(
868
+ e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
869
+ v.value.breakdown[u].value,
870
+ n(T)({
871
+ p: e.value.style.chart.layout.nuts.selected.labels.dataLabels.prefix,
872
+ v: v.value.breakdown[u].value,
873
+ s: e.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
874
+ r: e.value.style.chart.layout.nuts.selected.roundingValue
875
+ }),
876
+ { datapoint: M.value, seriesIndex: u }
877
+ )), 15, hl)) : b("", !0),
878
+ A(t) ? (a(), o("text", {
813
879
  key: 1,
814
- x: d(L)(t, !0).x,
815
- "text-anchor": d(L)(t).anchor,
816
- y: d(q)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 2,
880
+ x: n(P)(t, !0).x,
881
+ "text-anchor": n(P)(t).anchor,
882
+ y: n(H)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 2,
817
883
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
818
884
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
819
885
  style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
820
886
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
821
- }, n((v.value.breakdown[u].proportionToRoot * 100).toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "% " + n(e.value.translations.of) + " " + n(v.value.breakdown[u].rootName), 15, yl)) : b("", !0),
822
- G(t) ? (a(), o("text", {
887
+ }, c(n(T)({
888
+ v: v.value.breakdown[u].proportionToRoot * 100,
889
+ s: "%",
890
+ r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
891
+ })) + " " + c(e.value.translations.of) + " " + c(v.value.breakdown[u].rootName), 15, fl)) : b("", !0),
892
+ A(t) ? (a(), o("text", {
823
893
  key: 2,
824
- x: d(L)(t, !0).x,
825
- "text-anchor": d(L)(t).anchor,
826
- y: d(q)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 3,
894
+ x: n(P)(t, !0).x,
895
+ "text-anchor": n(P)(t).anchor,
896
+ y: n(H)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 3,
827
897
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
828
898
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
829
899
  style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
830
900
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
831
- }, n((v.value.breakdown[u].proportionToTree * 100).toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "% " + n(e.value.translations.proportionToTree), 15, hl)) : b("", !0)
901
+ }, c(n(T)({
902
+ v: v.value.breakdown[u].proportionToTree * 100,
903
+ s: "%",
904
+ r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
905
+ })) + " " + c(e.value.translations.proportionToTree), 15, bl)) : b("", !0)
832
906
  ]))), 256))
833
907
  ])) : b("", !0),
834
- (a(!0), o(p, null, g(R.value, (t) => (a(), o("g", null, [
908
+ (a(!0), o(p, null, g(B.value, (t) => (a(), o("g", null, [
835
909
  x.value && x.value.id === t.id && !v.value ? (a(), o("text", {
836
910
  key: 0,
837
911
  x: t.x1 + 6,
@@ -841,7 +915,17 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
841
915
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
842
916
  fill: e.value.style.chart.layout.branches.labels.color,
843
917
  onClick: w
844
- }, n(t.name) + ": " + n(e.value.style.chart.layout.branches.labels.dataLabels.prefix) + " " + n(t.value.toFixed(e.value.style.chart.layout.branches.labels.dataLabels.roundingValue)) + " " + n(e.value.style.chart.layout.branches.labels.dataLabels.suffix), 9, fl)) : b("", !0),
918
+ }, c(t.name) + ": " + c(n(G)(
919
+ e.value.style.chart.layout.branches.labels.dataLabels.formatter,
920
+ t.value,
921
+ n(T)({
922
+ p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
923
+ v: t.value,
924
+ s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
925
+ r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
926
+ }),
927
+ { datapoint: t }
928
+ )), 9, pl)) : b("", !0),
845
929
  x.value && x.value.id === t.id && !v.value ? (a(), o("text", {
846
930
  key: 1,
847
931
  x: t.x1 + 6,
@@ -850,7 +934,11 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
850
934
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
851
935
  fill: e.value.style.chart.layout.branches.labels.color,
852
936
  onClick: w
853
- }, n((t.proportionToRoot * 100).toFixed(e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage)) + "% " + n(e.value.translations.of) + " " + n(t.rootName), 9, bl)) : b("", !0),
937
+ }, c(n(T)({
938
+ v: t.proportionToRoot * 100,
939
+ s: "%",
940
+ r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
941
+ })) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, gl)) : b("", !0),
854
942
  x.value && x.value.id === t.id && !v.value ? (a(), o("text", {
855
943
  key: 2,
856
944
  x: t.x1 + 6,
@@ -859,14 +947,18 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
859
947
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
860
948
  fill: e.value.style.chart.layout.branches.labels.color,
861
949
  onClick: w
862
- }, n((t.value / V.value * 100).toFixed(e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage)) + "% " + n(e.value.translations.proportionToTree), 9, pl)) : b("", !0)
950
+ }, c(n(T)({
951
+ v: t.value / V.value * 100,
952
+ s: "%",
953
+ r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
954
+ })) + " " + c(e.value.translations.proportionToTree), 9, _l)) : b("", !0)
863
955
  ]))), 256)),
864
- B(l.$slots, "svg", { svg: r.value }, void 0, !0)
865
- ], 14, at)) : b("", !0),
866
- l.$slots.watermark ? (a(), o("div", gl, [
867
- B(l.$slots, "watermark", he(fe({ isPrinting: d(ae) || d(oe) })), void 0, !0)
956
+ j(l.$slots, "svg", { svg: r.value }, void 0, !0)
957
+ ], 14, st)) : b("", !0),
958
+ l.$slots.watermark ? (a(), o("div", xl, [
959
+ j(l.$slots, "watermark", be(pe({ isPrinting: n(se) || n(ue) })), void 0, !0)
868
960
  ])) : b("", !0),
869
- A.value ? b("", !0) : (a(), Q(Qe, {
961
+ D.value ? b("", !0) : (a(), ee(et, {
870
962
  key: 3,
871
963
  config: {
872
964
  type: "chestnut",
@@ -878,12 +970,12 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
878
970
  }
879
971
  }
880
972
  }, null, 8, ["config"])),
881
- B(l.$slots, "legend", { legend: T.value }, void 0, !0),
882
- A.value ? (a(), Q(et, {
973
+ j(l.$slots, "legend", { legend: N.value }, void 0, !0),
974
+ D.value ? (a(), ee(lt, {
883
975
  key: 4,
884
976
  hideDetails: "",
885
977
  config: {
886
- open: U.value.showTable,
978
+ open: Y.value.showTable,
887
979
  maxHeight: 1e4,
888
980
  body: {
889
981
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -895,21 +987,21 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
895
987
  }
896
988
  }
897
989
  }, {
898
- content: E(() => [
990
+ content: U(() => [
899
991
  s("div", {
900
992
  ref_key: "tableContainer",
901
- ref: ne,
993
+ ref: ie,
902
994
  class: "vue-ui-chestnut-table"
903
995
  }, [
904
- s("div", _l, [
996
+ s("div", ml, [
905
997
  s("div", {
906
998
  role: "button",
907
999
  tabindex: "0",
908
1000
  style: h(`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};`),
909
- onClick: i[0] || (i[0] = (t) => U.value.showTable = !1),
910
- onKeypress: i[1] || (i[1] = je((t) => U.value.showTable = !1, ["enter"]))
1001
+ onClick: i[0] || (i[0] = (t) => Y.value.showTable = !1),
1002
+ onKeypress: i[1] || (i[1] = Oe((t) => Y.value.showTable = !1, ["enter"]))
911
1003
  }, [
912
- Xe(Ze, {
1004
+ Ge(tt, {
913
1005
  name: "close",
914
1006
  stroke: e.value.table.th.color,
915
1007
  "stroke-width": 2
@@ -917,129 +1009,129 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
917
1009
  ], 36),
918
1010
  s("div", {
919
1011
  style: { width: "100%" },
920
- class: m({ "vue-ui-responsive": re.value })
1012
+ class: m({ "vue-ui-responsive": ce.value })
921
1013
  }, [
922
- s("table", xl, [
1014
+ s("table", kl, [
923
1015
  s("caption", {
924
1016
  style: h({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
925
1017
  class: "vue-ui-data-table__caption"
926
1018
  }, [
927
- Y(n(e.value.style.chart.layout.title.text) + " ", 1),
928
- e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", ml, n(e.value.style.chart.layout.title.subtitle.text), 1)) : b("", !0)
1019
+ W(c(e.value.style.chart.layout.title.text) + " ", 1),
1020
+ e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", wl, c(e.value.style.chart.layout.title.subtitle.text), 1)) : b("", !0)
929
1021
  ], 4),
930
1022
  s("thead", null, [
931
1023
  s("tr", {
932
1024
  role: "row",
933
1025
  style: h(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
934
1026
  }, [
935
- (a(!0), o(p, null, g(c.value.head, (t) => (a(), o("th", {
1027
+ (a(!0), o(p, null, g(d.value.head, (t) => (a(), o("th", {
936
1028
  style: h(`outline:${e.value.table.th.outline}`)
937
- }, n(t), 5))), 256))
1029
+ }, c(t), 5))), 256))
938
1030
  ], 4)
939
1031
  ]),
940
1032
  s("tbody", null, [
941
- (a(!0), o(p, null, g(c.value.body, (t, u) => (a(), o("tr", {
1033
+ (a(!0), o(p, null, g(d.value.body, (t, u) => (a(), o("tr", {
942
1034
  class: m({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": u % 2 === 0, "vue-ui-data-table__tbody__row-odd": u % 2 !== 0 }),
943
1035
  style: h(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
944
1036
  }, [
945
1037
  s("td", {
946
1038
  class: "vue-ui-data-table__tbody__td",
947
1039
  style: h(`outline:${e.value.table.td.outline}`),
948
- "data-cell": c.value.head[0]
1040
+ "data-cell": d.value.head[0]
949
1041
  }, [
950
- s("div", wl, [
951
- c.value.body[u - 1] && c.value.body[u - 1].rootName === t.rootName ? (a(), o("span", $l)) : (a(), o("span", Cl, n(t.rootName), 1))
1042
+ s("div", Cl, [
1043
+ d.value.body[u - 1] && d.value.body[u - 1].rootName === t.rootName ? (a(), o("span", zl)) : (a(), o("span", Tl, c(t.rootName), 1))
952
1044
  ])
953
- ], 12, kl),
1045
+ ], 12, $l),
954
1046
  s("td", {
955
1047
  class: "vue-ui-data-table__tbody__td",
956
1048
  style: h(`outline:${e.value.table.td.outline}`),
957
- "data-cell": c.value.head[1]
1049
+ "data-cell": d.value.head[1]
958
1050
  }, [
959
- s("div", Tl, [
960
- c.value.body[u - 1] && c.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Fl)) : (a(), o("span", Nl, n(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
1051
+ s("div", Sl, [
1052
+ d.value.body[u - 1] && d.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Fl)) : (a(), o("span", Ll, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
961
1053
  ])
962
- ], 12, zl),
1054
+ ], 12, Nl),
963
1055
  s("td", {
964
1056
  class: "vue-ui-data-table__tbody__td",
965
1057
  style: h(`outline:${e.value.table.td.outline}`),
966
- "data-cell": c.value.head[2]
1058
+ "data-cell": d.value.head[2]
967
1059
  }, [
968
- s("div", Il, [
969
- c.value.body[u - 1] && c.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Ll)) : (a(), o("span", Pl, n((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1060
+ s("div", Pl, [
1061
+ d.value.body[u - 1] && d.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Vl)) : (a(), o("span", Rl, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
970
1062
  ])
971
- ], 12, Sl),
1063
+ ], 12, Il),
972
1064
  s("td", {
973
1065
  class: "vue-ui-data-table__tbody__td",
974
1066
  style: h(`outline:${e.value.table.td.outline}`),
975
- "data-cell": c.value.head[3]
1067
+ "data-cell": d.value.head[3]
976
1068
  }, [
977
- s("div", Rl, [
978
- c.value.body[u - 1] && c.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Bl)) : (a(), o("span", Ml, n(t.branchName), 1))
1069
+ s("div", Ml, [
1070
+ d.value.body[u - 1] && d.value.body[u - 1].branchName === t.branchName ? (a(), o("span", jl)) : (a(), o("span", Xl, c(t.branchName), 1))
979
1071
  ])
980
- ], 12, Vl),
1072
+ ], 12, Bl),
981
1073
  s("td", {
982
1074
  class: "vue-ui-data-table__tbody__td",
983
1075
  style: h(`outline:${e.value.table.td.outline}`),
984
- "data-cell": c.value.head[4]
1076
+ "data-cell": d.value.head[4]
985
1077
  }, [
986
- s("div", Xl, [
987
- c.value.body[u - 1] && c.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Ol)) : (a(), o("span", Gl, n(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
1078
+ s("div", Gl, [
1079
+ d.value.body[u - 1] && d.value.body[u - 1].branchName === t.branchName ? (a(), o("span", El)) : (a(), o("span", Al, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
988
1080
  ])
989
- ], 12, jl),
1081
+ ], 12, Ol),
990
1082
  s("td", {
991
1083
  class: "vue-ui-data-table__tbody__td",
992
1084
  style: h(`outline:${e.value.table.td.outline}`),
993
- "data-cell": c.value.head[5]
1085
+ "data-cell": d.value.head[5]
994
1086
  }, [
995
- s("div", Al, [
996
- c.value.body[u - 1] && c.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Ul)) : (a(), o("span", Dl, n((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1087
+ s("div", Dl, [
1088
+ d.value.body[u - 1] && d.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Yl)) : (a(), o("span", ql, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
997
1089
  ])
998
- ], 12, El),
1090
+ ], 12, Ul),
999
1091
  s("td", {
1000
1092
  class: "vue-ui-data-table__tbody__td",
1001
1093
  style: h(`outline:${e.value.table.td.outline}`),
1002
- "data-cell": c.value.head[6]
1094
+ "data-cell": d.value.head[6]
1003
1095
  }, [
1004
- s("div", ql, [
1005
- c.value.body[u - 1] && c.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Hl)) : (a(), o("span", Wl, n((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1096
+ s("div", Wl, [
1097
+ d.value.body[u - 1] && d.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Kl)) : (a(), o("span", Jl, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1006
1098
  ])
1007
- ], 12, Yl),
1099
+ ], 12, Hl),
1008
1100
  s("td", {
1009
1101
  class: "vue-ui-data-table__tbody__td",
1010
1102
  style: h(`outline:${e.value.table.td.outline}`),
1011
- "data-cell": c.value.head[7]
1103
+ "data-cell": d.value.head[7]
1012
1104
  }, [
1013
- s("div", Jl, n(t.nutName), 1)
1014
- ], 12, Kl),
1105
+ s("div", Zl, c(t.nutName), 1)
1106
+ ], 12, Ql),
1015
1107
  s("td", {
1016
1108
  class: "vue-ui-data-table__tbody__td",
1017
1109
  style: h(`outline:${e.value.table.td.outline}`),
1018
- "data-cell": c.value.head[8]
1110
+ "data-cell": d.value.head[8]
1019
1111
  }, [
1020
- s("div", Zl, n(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1021
- ], 12, Ql),
1112
+ s("div", ta, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1113
+ ], 12, ea),
1022
1114
  s("td", {
1023
1115
  class: "vue-ui-data-table__tbody__td",
1024
1116
  style: h(`outline:${e.value.table.td.outline}`),
1025
- "data-cell": c.value.head[9]
1117
+ "data-cell": d.value.head[9]
1026
1118
  }, [
1027
- s("div", ta, n((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1028
- ], 12, ea),
1119
+ s("div", aa, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1120
+ ], 12, la),
1029
1121
  s("td", {
1030
1122
  class: "vue-ui-data-table__tbody__td",
1031
1123
  style: h(`outline:${e.value.table.td.outline}`),
1032
- "data-cell": c.value.head[10]
1124
+ "data-cell": d.value.head[10]
1033
1125
  }, [
1034
- s("div", aa, n((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1035
- ], 12, la),
1126
+ s("div", sa, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1127
+ ], 12, oa),
1036
1128
  s("td", {
1037
1129
  class: "vue-ui-data-table__tbody__td",
1038
1130
  style: h(`outline:${e.value.table.td.outline}`),
1039
- "data-cell": c.value.head[11]
1131
+ "data-cell": d.value.head[11]
1040
1132
  }, [
1041
- s("div", sa, n((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1042
- ], 12, oa)
1133
+ s("div", na, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1134
+ ], 12, ua)
1043
1135
  ], 6))), 256))
1044
1136
  ])
1045
1137
  ])
@@ -1049,9 +1141,9 @@ const lt = ["id"], at = ["xmlns", "viewBox"], ot = { key: 0 }, st = ["fill", "fo
1049
1141
  ]),
1050
1142
  _: 1
1051
1143
  }, 8, ["config"])) : b("", !0)
1052
- ], 14, lt));
1144
+ ], 14, ot));
1053
1145
  }
1054
- }, ba = /* @__PURE__ */ tt(ua, [["__scopeId", "data-v-b9c759e0"]]);
1146
+ }, ga = /* @__PURE__ */ at(ra, [["__scopeId", "data-v-bdbb359d"]]);
1055
1147
  export {
1056
- ba as default
1148
+ ga as default
1057
1149
  };