vue-data-ui 2.4.1 → 2.4.3

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 (218) hide show
  1. package/README.md +44 -44
  2. package/dist/{Arrow-BIs_9yK8.js → Arrow-C7lNL7sY.js} +1 -1
  3. package/dist/{Arrow-DpMf3yPs.cjs → Arrow-Dz6AomGr.cjs} +1 -1
  4. package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-BbvG1AlW.js} +7 -4
  5. package/dist/BaseIcon-uALK38Ov.cjs +1 -0
  6. package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DTzynbND.cjs} +1 -1
  7. package/dist/{DataTable-DL2agEJ3.js → DataTable-DYqC2pqu.js} +2 -2
  8. package/dist/{Legend-Dj9KiaLv.cjs → Legend-Cgw4lO2O.cjs} +1 -1
  9. package/dist/{Legend-DXLiSLHd.js → Legend-DNgTCgEK.js} +1 -1
  10. package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
  11. package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-VkaUzgmt.js} +1 -1
  12. package/dist/PenAndPaper-CDFVOo7X.cjs +1 -0
  13. package/dist/PenAndPaper-DAZYA8Ew.js +269 -0
  14. package/dist/{Shape-CO_Ak9Zm.js → Shape-Bwon0l0g.js} +1 -1
  15. package/dist/{Shape-7EC2UKDK.cjs → Shape-D2Dpshg1.cjs} +1 -1
  16. package/dist/{Slicer-BZfUZr1J.js → Slicer-TfpN2Cr4.js} +3 -3
  17. package/dist/{Slicer-CLAVjSQP.cjs → Slicer-uSjfNJjG.cjs} +1 -1
  18. package/dist/{Title-C-lm3Mkl.cjs → Title-0Tp4hZ4u.cjs} +1 -1
  19. package/dist/{Title-DYNLqCCT.js → Title-C5pIfQAz.js} +1 -1
  20. package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
  21. package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cz24YLfw.js} +1 -1
  22. package/dist/{index-DDXisDKy.js → index-Bya_q1J-.js} +883 -842
  23. package/dist/index-eFox7weK.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +22 -17
  26. package/dist/types/vue-data-ui.d.ts +22 -17
  27. package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-B33hazbH.js} +1 -1
  28. package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
  29. package/dist/usePrinter-CSRFnDBU.cjs +1 -0
  30. package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-CiHd1FwD.js} +230 -185
  31. package/dist/useResponsive-BY8tgM1n.js +188 -0
  32. package/dist/useResponsive-CodiGUOE.cjs +1 -0
  33. package/dist/vue-data-ui-BTtxyUc3.cjs +9 -0
  34. package/dist/vue-data-ui-Bduq4f2p.js +261 -0
  35. package/dist/vue-data-ui.cjs +1 -1
  36. package/dist/vue-data-ui.js +1 -1
  37. package/dist/vue-ui-3d-bar-B-P7PMHs.cjs +19 -0
  38. package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BUEq_VdY.js} +421 -390
  39. package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
  40. package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
  41. package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CH72tAMb.js} +255 -222
  42. package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
  43. package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-DPeJ2its.js} +1 -1
  44. package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
  45. package/dist/vue-ui-bullet-CtP3MlUT.js +464 -0
  46. package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
  47. package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
  48. package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DDil13a0.js} +278 -245
  49. package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
  50. package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
  51. package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-BczSJF6S.js} +322 -291
  52. package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
  53. package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
  55. package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
  56. package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
  57. package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
  58. package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
  59. package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
  60. package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-DUcp-fat.js} +376 -343
  61. package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
  62. package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-C_YMbTwq.js} +375 -344
  63. package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
  64. package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Buwngz_V.js} +294 -261
  65. package/dist/vue-ui-flow-Bz3c0K5P.js +515 -0
  66. package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
  67. package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-Cjh0XGTX.js} +212 -181
  68. package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
  69. package/dist/vue-ui-gauge-B1UvGkQa.js +527 -0
  70. package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
  71. package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
  72. package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
  73. package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-C-poazUw.js} +308 -277
  74. package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
  75. package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
  76. package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
  77. package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
  78. package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
  79. package/dist/vue-ui-molecule-BaJpDZND.js +805 -0
  80. package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
  81. package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-BUNDwsEI.js} +259 -228
  82. package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +1 -0
  83. package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +17 -0
  84. package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-mDy2hXa6.js} +371 -338
  85. package/dist/vue-ui-onion-DwFG3HAI.js +650 -0
  86. package/dist/vue-ui-onion-GWNoZRhw.cjs +5 -0
  87. package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +8 -0
  88. package/dist/vue-ui-parallel-coordinate-plot-ImET_zeo.js +719 -0
  89. package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-BeveRihK.js} +359 -326
  90. package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
  91. package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-DAhllTfa.js} +585 -552
  92. package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +15 -0
  93. package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
  94. package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-BllatzRa.js} +279 -246
  95. package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
  96. package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-D1ykV4xO.js} +2 -2
  97. package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
  98. package/dist/vue-ui-relation-circle-xv2l5Be9.js +358 -0
  99. package/dist/vue-ui-rings-B-ZcX6y1.js +602 -0
  100. package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
  101. package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-DG43ck1g.js} +440 -407
  102. package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
  103. package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
  104. package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
  105. package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
  106. package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
  107. package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
  108. package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
  109. package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
  110. package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
  111. package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
  112. package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
  113. package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
  114. package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
  115. package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-DRIKK6Ym.js} +74 -67
  116. package/dist/vue-ui-sparkhistogram-DnY4-Sdn.cjs +1 -0
  117. package/dist/vue-ui-sparkline-CAEs-gtK.cjs +1 -0
  118. package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
  119. package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
  120. package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
  121. package/dist/vue-ui-stackbar-ByOuJSdM.js +947 -0
  122. package/dist/vue-ui-stackbar-wun4S3C0.cjs +6 -0
  123. package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-CMD0MSqY.js} +297 -264
  124. package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
  125. package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-B75DJ39t.js} +1 -1
  126. package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
  127. package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-BO2ugWqD.js} +55 -48
  128. package/dist/vue-ui-table-heatmap-Ce93TyBF.cjs +1 -0
  129. package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
  130. package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
  131. package/dist/vue-ui-thermometer-Pq4PvSIP.js +447 -0
  132. package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
  133. package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
  134. package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
  135. package/dist/vue-ui-tiremarks-CU9HJIqf.js +310 -0
  136. package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
  137. package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
  138. package/dist/vue-ui-treemap-DY-lRAhC.js +825 -0
  139. package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
  140. package/dist/vue-ui-vertical-bar-CtnIKsM1.js +861 -0
  141. package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
  142. package/dist/vue-ui-waffle-reOsx-gJ.js +791 -0
  143. package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
  144. package/dist/vue-ui-wheel-kYxny3vn.js +291 -0
  145. package/dist/vue-ui-word-cloud-DbMqrHAf.js +607 -0
  146. package/dist/vue-ui-word-cloud-DwLY4QdB.cjs +1 -0
  147. package/dist/vue-ui-xy-CGWzriYn.cjs +3 -0
  148. package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-B0HTR7OV.js} +441 -408
  149. package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
  150. package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-rbACig0h.js} +824 -791
  151. package/package.json +1 -1
  152. package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
  153. package/dist/index-C7_6YjWN.cjs +0 -9
  154. package/dist/usePrinter-8EP4iaGm.cjs +0 -1
  155. package/dist/useResponsive-B3TrDDIG.cjs +0 -1
  156. package/dist/useResponsive-NZB-WLRF.js +0 -187
  157. package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
  158. package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
  159. package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
  160. package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
  161. package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
  162. package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
  163. package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
  164. package/dist/vue-ui-carousel-table-C0GDDSW9.cjs +0 -1
  165. package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
  166. package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
  167. package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
  168. package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
  169. package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
  170. package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
  171. package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
  172. package/dist/vue-ui-gauge-BXiy515T.js +0 -494
  173. package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
  174. package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
  175. package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
  176. package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
  177. package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
  178. package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
  179. package/dist/vue-ui-onion-D9o6Rcgu.js +0 -617
  180. package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
  181. package/dist/vue-ui-parallel-coordinate-plot-BcYrYXhG.js +0 -686
  182. package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
  183. package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
  184. package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
  185. package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
  186. package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
  187. package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
  188. package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
  189. package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
  190. package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
  191. package/dist/vue-ui-skeleton-CGV1dEUD.cjs +0 -41
  192. package/dist/vue-ui-spark-trend-BfoEoJEy.cjs +0 -1
  193. package/dist/vue-ui-sparkbar-DB2DeXti.cjs +0 -1
  194. package/dist/vue-ui-sparkgauge-CJepIY2u.cjs +0 -1
  195. package/dist/vue-ui-sparkhistogram-B7B36LLT.cjs +0 -1
  196. package/dist/vue-ui-sparkline-BcqmwDAb.cjs +0 -1
  197. package/dist/vue-ui-sparkstackbar-DT3aKNeV.cjs +0 -1
  198. package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
  199. package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
  200. package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
  201. package/dist/vue-ui-table-heatmap-Chvdf2Gi.cjs +0 -1
  202. package/dist/vue-ui-table-sparkline-DUUYQ5dH.cjs +0 -1
  203. package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
  204. package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
  205. package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
  206. package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
  207. package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
  208. package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
  209. package/dist/vue-ui-vertical-bar-CieqHVD5.js +0 -828
  210. package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
  211. package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
  212. package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
  213. package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
  214. package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
  215. package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
  216. package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
  217. package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
  218. package/dist/vue-ui-xy-canvas-DHs5sb3t.cjs +0 -9
@@ -1,24 +1,29 @@
1
- import { useCssVars as Xe, computed as $, ref as z, watch as Ge, onMounted as Ee, openBlock as a, createElementBlock as o, normalizeClass as m, normalizeStyle as h, createBlock as te, unref as n, createSlots as Ae, withCtx as U, renderSlot as M, normalizeProps as pe, guardReactiveProps as ge, createCommentVNode as f, createVNode as _e, toDisplayString as c, createElementVNode as s, Fragment as g, renderList as _, createTextVNode as W, withKeys as Ue, nextTick as xe } from "vue";
2
- import { u as De, c as Ye, t as qe, a as He, p as I, b as We, g as le, e as K, d as ae, o as Ke, X as Je, s as S, w as me, i as G, f as T, F as ke, m as we, j as Qe, k as P, n as H, q as Ze, r as et } from "./index-DDXisDKy.js";
3
- import { u as tt, U as lt } from "./usePrinter-8ofTb2MJ.js";
4
- import at from "./vue-ui-skeleton-B2sRnIXX.js";
5
- import ot from "./BaseIcon-CXDdkPfN.js";
6
- import st from "./vue-ui-accordion-D_1fE5EF.js";
7
- import { u as $e } from "./useNestedProp-S1UXxUgm.js";
8
- import { _ as ut } from "./PackageVersion-DtnhR89q.js";
9
- import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "font-weight", "font-size", "x", "y"], vt = ["fill", "font-weight", "font-size", "x", "y"], yt = ["id"], ht = ["stop-color"], ft = ["stop-color"], bt = ["id"], 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 = ["id"], Nt = ["stop-color"], St = ["stop-color"], Ft = ["stop-color"], Lt = { key: 1 }, It = ["x", "y", "font-size", "font-weight", "fill"], Pt = ["x", "y", "font-size", "font-weight", "fill"], Vt = ["d", "stroke"], Rt = ["cx", "cy", "r", "fill"], Bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], Mt = { key: 2 }, jt = ["x", "y", "font-size", "fill", "onClick"], Ot = { key: 0 }, Xt = ["x", "y", "fill", "font-size", "font-weight"], Gt = ["x", "y", "height", "width", "fill", "rx", "onClick"], Et = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], At = { key: 3 }, Ut = ["x", "y", "fill", "font-size", "onClick"], Dt = ["d", "stroke"], Yt = ["fill", "cx", "cy", "r", "onClick"], qt = { key: 4 }, Ht = ["x", "y", "font-size", "font-weight", "fill"], Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Kt = ["y", "height", "width"], Jt = { 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" } }, Zt = {
1
+ import { useCssVars as Ge, computed as $, ref as z, watch as Ee, onMounted as Ue, openBlock as a, createElementBlock as o, normalizeClass as m, normalizeStyle as h, createBlock as K, createCommentVNode as f, unref as n, createSlots as De, withCtx as X, renderSlot as I, normalizeProps as se, guardReactiveProps as ue, createVNode as me, toDisplayString as c, createElementVNode as s, Fragment as g, renderList as _, createTextVNode as J, withKeys as Ye, nextTick as ke } from "vue";
2
+ import { u as qe, c as He, t as We, a as Ke, p as P, b as Je, g as ne, e as Q, d as re, o as Qe, X as Ze, s as S, w as we, i as G, f as T, F as $e, m as Ce, j as et, k as V, n as H, q as tt, r as lt } from "./index-Bya_q1J-.js";
3
+ import { u as at, U as ot } from "./usePrinter-CiHd1FwD.js";
4
+ import st from "./vue-ui-skeleton-BYssP0K4.js";
5
+ import ut from "./BaseIcon-BbvG1AlW.js";
6
+ import nt from "./vue-ui-accordion-DfUfL2dI.js";
7
+ import { u as ze } from "./useNestedProp-B33hazbH.js";
8
+ import { _ as rt } from "./PackageVersion-VkaUzgmt.js";
9
+ import { P as it } from "./PenAndPaper-DAZYA8Ew.js";
10
+ import { _ as ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
+ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "font-weight", "font-size", "x", "y"], ft = ["fill", "font-weight", "font-size", "x", "y"], bt = ["id"], pt = ["stop-color"], gt = ["stop-color"], _t = ["id"], xt = ["stop-color"], mt = ["stop-color"], kt = ["id"], wt = ["stop-color"], $t = ["stop-color"], Ct = ["stop-color"], zt = ["id"], Tt = ["stop-color"], Nt = ["stop-color"], St = ["stop-color"], Ft = ["id"], Lt = ["stop-color"], It = ["stop-color"], Pt = ["stop-color"], Vt = { key: 1 }, Rt = ["x", "y", "font-size", "font-weight", "fill"], Bt = ["x", "y", "font-size", "font-weight", "fill"], Mt = ["d", "stroke"], jt = ["cx", "cy", "r", "fill"], At = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], Ot = { key: 2 }, Xt = ["x", "y", "font-size", "fill", "onClick"], Gt = { key: 0 }, Et = ["x", "y", "fill", "font-size", "font-weight"], Ut = ["x", "y", "height", "width", "fill", "rx", "onClick"], Dt = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], Yt = { key: 3 }, qt = ["x", "y", "fill", "font-size", "onClick"], Ht = ["d", "stroke"], Wt = ["fill", "cx", "cy", "r", "onClick"], Kt = { key: 4 }, Jt = ["x", "y", "font-size", "font-weight", "fill"], Qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], 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 = {
11
12
  viewBox: "0 0 20 20",
12
13
  height: "16",
13
14
  width: "16"
14
- }, el = ["fill"], tl = { key: 6 }, ll = ["y", "height", "width"], al = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, ol = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, sl = {
15
+ }, al = ["fill"], ol = { key: 6 }, sl = ["y", "height", "width"], ul = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, nl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, rl = {
15
16
  viewBox: "0 0 20 20",
16
17
  height: "16",
17
18
  width: "16"
18
- }, ul = ["fill"], nl = ["cx", "cy", "fill"], rl = ["d", "stroke"], il = ["cx", "cy", "fill"], cl = ["d", "stroke"], dl = ["cx", "cy", "fill"], vl = ["cx", "cy", "fill"], yl = ["x", "y", "fill", "font-size", "font-weight"], hl = ["x", "y", "fill", "font-size", "font-weight"], fl = ["x", "text-anchor", "y", "fill", "font-size"], bl = ["x", "text-anchor", "y", "fill", "font-size"], pl = ["x", "text-anchor", "y", "fill", "font-size"], gl = ["x", "text-anchor", "y", "fill", "font-size"], _l = ["x", "text-anchor", "y", "fill", "font-size"], xl = ["x", "y", "font-size", "fill"], ml = ["x", "y", "font-size", "fill"], kl = ["x", "y", "font-size", "fill"], wl = {
19
- key: 2,
19
+ }, il = ["fill"], cl = ["cx", "cy", "fill"], dl = ["d", "stroke"], vl = ["cx", "cy", "fill"], yl = ["d", "stroke"], hl = ["cx", "cy", "fill"], fl = ["cx", "cy", "fill"], bl = ["x", "y", "fill", "font-size", "font-weight"], pl = ["x", "y", "fill", "font-size", "font-weight"], gl = ["x", "text-anchor", "y", "fill", "font-size"], _l = ["x", "text-anchor", "y", "fill", "font-size"], xl = ["x", "text-anchor", "y", "fill", "font-size"], ml = ["x", "text-anchor", "y", "fill", "font-size"], kl = ["x", "text-anchor", "y", "fill", "font-size"], wl = ["x", "y", "font-size", "fill"], $l = ["x", "y", "font-size", "fill"], Cl = ["x", "y", "font-size", "fill"], zl = {
20
+ key: 3,
20
21
  class: "vue-data-ui-watermark"
21
- }, $l = { style: { "padding-top": "36px", position: "relative" } }, Cl = { class: "vue-ui-data-table" }, zl = { key: 0 }, Tl = ["data-cell"], Nl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Sl = { key: 0 }, Fl = { key: 1 }, Ll = ["data-cell"], Il = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Pl = { key: 0 }, Vl = { key: 1 }, Rl = ["data-cell"], Bl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ml = { key: 0 }, jl = { key: 1 }, Ol = ["data-cell"], Xl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Gl = { key: 0 }, El = { key: 1 }, Al = ["data-cell"], Ul = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Dl = { key: 0 }, Yl = { key: 1 }, ql = ["data-cell"], Hl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Wl = { key: 0 }, Kl = { key: 1 }, Jl = ["data-cell"], Ql = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Zl = { key: 0 }, ea = { key: 1 }, ta = ["data-cell"], la = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, aa = ["data-cell"], oa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, sa = ["data-cell"], ua = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, na = ["data-cell"], ra = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ia = ["data-cell"], ca = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, da = {
22
+ }, Tl = {
23
+ key: 5,
24
+ ref: "source",
25
+ dir: "auto"
26
+ }, Nl = { style: { "padding-top": "36px", position: "relative" } }, Sl = { class: "vue-ui-data-table" }, Fl = { key: 0 }, Ll = ["data-cell"], Il = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Pl = { key: 0 }, Vl = { key: 1 }, Rl = ["data-cell"], Bl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ml = { key: 0 }, jl = { key: 1 }, Al = ["data-cell"], Ol = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Xl = { key: 0 }, Gl = { key: 1 }, El = ["data-cell"], Ul = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Dl = { key: 0 }, Yl = { key: 1 }, ql = ["data-cell"], Hl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Wl = { key: 0 }, Kl = { key: 1 }, Jl = ["data-cell"], Ql = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Zl = { key: 0 }, ea = { key: 1 }, ta = ["data-cell"], la = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, aa = { key: 0 }, oa = { key: 1 }, sa = ["data-cell"], ua = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, na = ["data-cell"], ra = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ia = ["data-cell"], ca = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, da = ["data-cell"], va = { 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" } }, fa = {
22
27
  __name: "vue-ui-chestnut",
23
28
  props: {
24
29
  config: {
@@ -35,37 +40,37 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
35
40
  }
36
41
  },
37
42
  emits: ["selectRoot", "selectBranch", "selectNut"],
38
- setup(Ce, { expose: ze, emit: E }) {
39
- const V = Ce;
40
- Xe((l) => ({
41
- "1ff4e893": l.tdo
43
+ setup(Te, { expose: Ne, emit: E }) {
44
+ const R = Te;
45
+ Ge((l) => ({
46
+ "1dec6117": l.tdo
42
47
  }));
43
- const { vue_ui_chestnut: Te } = De(), D = $(() => !!V.dataset && V.dataset.length), k = z(Ye()), oe = z(null), Ne = z(null), se = z(0), e = $({
44
- get: () => ue(),
48
+ const { vue_ui_chestnut: Se } = qe(), D = $(() => !!R.dataset && R.dataset.length), k = z(He()), Z = z(null), Fe = z(null), ie = z(0), e = $({
49
+ get: () => ce(),
45
50
  set: (l) => l
46
51
  });
47
- function ue() {
48
- const l = $e({
49
- userConfig: V.config,
50
- defaultConfig: Te
52
+ function ce() {
53
+ const l = ze({
54
+ userConfig: R.config,
55
+ defaultConfig: Se
51
56
  });
52
57
  return l.theme ? {
53
- ...$e({
54
- userConfig: qe.vue_ui_chestnut[l.theme] || V.config,
58
+ ...ze({
59
+ userConfig: We.vue_ui_chestnut[l.theme] || R.config,
55
60
  defaultConfig: l
56
61
  }),
57
- customPalette: He[l.theme] || I
62
+ customPalette: Ke[l.theme] || P
58
63
  } : l;
59
64
  }
60
- Ge(() => V.config, (l) => {
61
- e.value = ue(), he();
65
+ Ee(() => R.config, (l) => {
66
+ e.value = ce(), ge();
62
67
  }, { deep: !0 });
63
- const { isPrinting: ne, isImaging: re, generatePdf: ie, generateImage: ce } = tt({
68
+ const { isPrinting: de, isImaging: ve, generatePdf: ye, generateImage: he } = at({
64
69
  elementId: `vue-ui-chestnut_${k.value}`,
65
70
  fileName: e.value.style.chart.layout.title.text || "vue-ui-chestnut"
66
- }), J = $(() => We(e.value.customPalette)), Y = z({
71
+ }), ee = $(() => Je(e.value.customPalette)), Y = z({
67
72
  showTable: e.value.table.show
68
- }), Q = z(null), de = z(!1), Se = $(() => e.value.table.responsiveBreakpoint), r = z({
73
+ }), te = z(null), fe = z(!1), Le = $(() => e.value.table.responsiveBreakpoint), r = z({
69
74
  gap: 6,
70
75
  padding: {
71
76
  top: 102,
@@ -85,34 +90,34 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
85
90
  width: r.value.width - (r.value.padding.left + r.value.padding.right),
86
91
  height: r.value.height - (r.value.padding.top + r.value.padding.bottom),
87
92
  seedX: r.value.padding.left + 64
88
- })), R = $(() => D.value ? V.dataset.flatMap((l) => (l.branches || []).map((i) => i.value || 0)).reduce((l, i) => l + i, 0) : 0), N = $(() => (V.dataset.forEach((l, i) => {
89
- le({
93
+ })), B = $(() => D.value ? R.dataset.flatMap((l) => (l.branches || []).map((i) => i.value || 0)).reduce((l, i) => l + i, 0) : 0), N = $(() => (R.dataset.forEach((l, i) => {
94
+ ne({
90
95
  datasetObject: l,
91
96
  requiredAttributes: ["name", "branches"]
92
97
  }).forEach((t) => {
93
- K({
98
+ Q({
94
99
  componentName: "VueUiChestnut",
95
100
  type: "datasetSerieAttribute",
96
101
  property: t,
97
102
  index: i
98
103
  });
99
104
  }), l.branches && l.branches.forEach((t, u) => {
100
- le({
105
+ ne({
101
106
  datasetObject: t,
102
107
  requiredAttributes: ["name", "value"]
103
108
  }).forEach((b) => {
104
- K({
109
+ Q({
105
110
  componentName: "VueUiChestnut",
106
111
  type: "datasetSerieAttribute",
107
112
  property: b,
108
113
  index: `${i} - ${u}`
109
114
  });
110
115
  }), t.breakdown && t.breakdown.forEach((b, y) => {
111
- le({
116
+ ne({
112
117
  datasetObject: b,
113
118
  requiredAttributes: ["name", "value"]
114
119
  }).forEach((p) => {
115
- K({
120
+ Q({
116
121
  componentName: "VueUiChestnut",
117
122
  type: "datasetSerieAttribute",
118
123
  property: p,
@@ -121,11 +126,11 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
121
126
  });
122
127
  });
123
128
  });
124
- }), V.dataset.map((l, i) => {
129
+ }), R.dataset.map((l, i) => {
125
130
  const t = (l.branches || []).map((u) => u.value || 0).reduce((u, b) => u + b, 0);
126
131
  return {
127
132
  ...l,
128
- color: ae(l.color) || J.value[i] || I[i] || I[i % I.length],
133
+ color: re(l.color) || ee.value[i] || P[i] || P[i % P.length],
129
134
  id: l.id || `root_${i}_${k.value}`,
130
135
  type: "root",
131
136
  total: t,
@@ -134,7 +139,7 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
134
139
  ...u,
135
140
  rootName: l.name,
136
141
  rootIndex: i,
137
- color: ae(l.color) || J.value[i] || I[i] || I[i % I.length],
142
+ color: re(l.color) || ee.value[i] || P[i] || P[i % P.length],
138
143
  value: u.value >= 0 ? u.value : 0,
139
144
  id: u.id || `branch_${i}_${b}_${k.value}`,
140
145
  proportionToRoot: u.value / t,
@@ -143,14 +148,14 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
143
148
  table: {
144
149
  rootName: l.name,
145
150
  rootValue: t,
146
- rootToTotal: t / R.value,
151
+ rootToTotal: t / B.value,
147
152
  branchName: u.name,
148
153
  branchValue: u.value,
149
- branchToTotal: u.value / R.value,
154
+ branchToTotal: u.value / B.value,
150
155
  branchToRoot: u.value / t,
151
156
  nutName: y.name,
152
157
  nutValue: y.value,
153
- nutToTotal: y.value / R.value,
158
+ nutToTotal: y.value / B.value,
154
159
  nutToRoot: y.value / t,
155
160
  nutToBranch: y.value / u.value
156
161
  },
@@ -161,47 +166,47 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
161
166
  branchTotal: u.value >= 0 ? u.value : 0,
162
167
  proportionToBranch: y.value / u.value,
163
168
  proportionToRoot: y.value / t,
164
- proportionToTree: y.value / R.value,
169
+ proportionToTree: y.value / B.value,
165
170
  rootIndex: i,
166
171
  id: y.id || `nut_${i}_${b}_${p}_${k.value}`,
167
- color: ae(y.color) || J.value[p] || I[p] || I[p % I.length],
172
+ color: re(y.color) || ee.value[p] || P[p] || P[p % P.length],
168
173
  value: y.value >= 0 ? y.value : 0
169
174
  }))
170
175
  }))
171
176
  };
172
177
  })));
173
- function Fe() {
178
+ function Ie() {
174
179
  return N.value;
175
180
  }
176
- const Le = $(() => N.value.flatMap((l) => l.branches).length), Ie = $(() => Math.max(...N.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), Pe = $(() => Math.max(...N.value.flatMap((l) => l.branches.map((i) => i.value)))), ve = $(() => 256 + r.value.padding.left), j = $(() => N.value.sort((l, i) => i.total - l.total).map((l, i) => {
177
- const t = C.value.height / N.value.length / 2, u = l.total / Ie.value * (t > 64 ? 64 : t);
181
+ const Pe = $(() => N.value.flatMap((l) => l.branches).length), Ve = $(() => Math.max(...N.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), Re = $(() => Math.max(...N.value.flatMap((l) => l.branches.map((i) => i.value)))), be = $(() => 256 + r.value.padding.left), j = $(() => N.value.sort((l, i) => i.total - l.total).map((l, i) => {
182
+ const t = C.value.height / N.value.length / 2, u = l.total / Ve.value * (t > 64 ? 64 : t);
178
183
  return {
179
184
  ...l,
180
185
  x: C.value.seedX,
181
186
  y: C.value.top + C.value.height / N.value.length * (i + 1) - (C.value.height / N.value.length / 2 + r.value.gap / 2),
182
187
  r: u < r.value.branchSize / 2 ? r.value.branchSize / 2 : u
183
188
  };
184
- })), Ve = $(() => 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), Re = $(() => j.value.flatMap((l) => l.branches)), O = $(() => Re.value.sort((l, i) => i.value - l.value).map((l, i) => ({
189
+ })), Be = $(() => 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), Me = $(() => j.value.flatMap((l) => l.branches)), A = $(() => Me.value.sort((l, i) => i.value - l.value).map((l, i) => ({
185
190
  ...l,
186
191
  y1: i * r.value.branchSize + C.value.top + i * r.value.gap,
187
192
  y2: i * r.value.branchSize + r.value.branchSize,
188
- x1: ve.value,
189
- x2: 384 * l.value / Pe.value * Ve.value + ve.value
193
+ x1: be.value,
194
+ x2: 384 * l.value / Re.value * Be.value + be.value
190
195
  })));
191
- function Z(l) {
196
+ function le(l) {
192
197
  const i = j.value.find((t) => t.rootIndex === l.rootIndex);
193
198
  return { x: i.x, y: i.y, r: i.r };
194
199
  }
195
- const d = z(null), B = z(null), x = z(null), F = z(null);
200
+ const d = z(null), M = z(null), x = z(null), F = z(null);
196
201
  function w() {
197
202
  d.value = null, x.value = null, F.value = null;
198
203
  }
199
204
  function L(l) {
200
205
  return F.value ? F.value === null ? !0 : l.type === "root" ? l.id === F.value.id : l.rootIndex === F.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;
201
206
  }
202
- function Be(l) {
203
- w(), xe(() => {
204
- d.value = l, x.value = l, B.value = we(
207
+ function je(l) {
208
+ w(), ke(() => {
209
+ d.value = l, x.value = l, M.value = Ce(
205
210
  { series: l.breakdown, base: 1 },
206
211
  l.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
207
212
  l.y1 + r.value.branchSize / 2,
@@ -210,39 +215,39 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
210
215
  ), E("selectNut", l.breakdown);
211
216
  });
212
217
  }
213
- function X() {
214
- d.value = null, B.value = null, E("selectNut", null);
218
+ function O() {
219
+ d.value = null, M.value = null, E("selectNut", null);
215
220
  }
216
- function ee(l) {
221
+ function ae(l) {
217
222
  x.value && x.value.id === l.id ? (x.value = null, w(), E("selectBranch", null)) : (w(), x.value = l, E("selectBranch", l));
218
223
  }
219
- function ye(l) {
224
+ function pe(l) {
220
225
  F.value && F.value.id === l.id ? (w(), E("selectRoot", null)) : (w(), F.value = l, E("selectRoot", l));
221
226
  }
222
- function Me() {
227
+ function Ae() {
223
228
  return C.value.bottom - (d.value.y1 + 180) < 0 ? 0 : C.value.bottom;
224
229
  }
225
- function A(l) {
230
+ function U(l) {
226
231
  return l.proportion * 100 > e.value.style.chart.layout.nuts.selected.labels.dataLabels.hideUnderValue;
227
232
  }
228
- function je() {
233
+ function Oe() {
229
234
  const l = new ResizeObserver((i) => {
230
235
  i.forEach((t) => {
231
- de.value = t.contentRect.width < Se.value;
236
+ fe.value = t.contentRect.width < Le.value;
232
237
  });
233
238
  });
234
- Q.value && l.observe(Q.value);
239
+ te.value && l.observe(te.value);
235
240
  }
236
- Ee(() => {
237
- he();
241
+ Ue(() => {
242
+ ge();
238
243
  });
239
- function he() {
240
- Ke(V.dataset) && K({
244
+ function ge() {
245
+ Qe(R.dataset) && Q({
241
246
  componentName: "VueUiChestnut",
242
247
  type: "dataset"
243
248
  });
244
- const l = Le.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
245
- r.value.height = l, je();
249
+ const l = Pe.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
250
+ r.value.height = l, Oe();
246
251
  }
247
252
  const v = $(() => {
248
253
  const l = [
@@ -258,12 +263,12 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
258
263
  e.value.table.th.translations.nutToBranch,
259
264
  e.value.table.th.translations.nutToRoot,
260
265
  e.value.table.th.translations.nutToTotal
261
- ], i = N.value.flatMap((t, u) => t.branches.flatMap((b, y) => b.breakdown.flatMap((p, va) => p.table)));
266
+ ], i = N.value.flatMap((t, u) => t.branches.flatMap((b, y) => b.breakdown.flatMap((p, ba) => p.table)));
262
267
  return { head: l, body: i };
263
268
  });
264
- function fe() {
265
- xe(() => {
266
- const l = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", R.value], [""]], i = v.value.head, t = v.value.body.map((y, p) => [
269
+ function _e() {
270
+ ke(() => {
271
+ const l = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", B.value], [""]], i = v.value.head, t = v.value.body.map((y, p) => [
267
272
  v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootName,
268
273
  v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootValue,
269
274
  v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootToTotal,
@@ -276,38 +281,51 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
276
281
  y.nutToBranch,
277
282
  y.nutToRoot,
278
283
  y.nutToTotal
279
- ]), u = l.concat([i]).concat(t), b = Ze(u);
280
- et({ csvContent: b, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
284
+ ]), u = l.concat([i]).concat(t), b = tt(u);
285
+ lt({ csvContent: b, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
281
286
  });
282
287
  }
283
288
  const q = z(!1);
284
- function Oe(l) {
285
- q.value = l, se.value += 1;
289
+ function Xe(l) {
290
+ q.value = l, ie.value += 1;
286
291
  }
287
- function be() {
292
+ function xe() {
288
293
  Y.value.showTable = !Y.value.showTable;
289
294
  }
290
- return ze({
291
- getData: Fe,
292
- generatePdf: ie,
293
- generateCsv: fe,
294
- generateImage: ce,
295
- toggleTable: be
295
+ const W = z(!1);
296
+ function oe() {
297
+ W.value = !W.value;
298
+ }
299
+ return Ne({
300
+ getData: Ie,
301
+ generatePdf: ye,
302
+ generateCsv: _e,
303
+ generateImage: he,
304
+ toggleTable: xe,
305
+ toggleAnnotator: oe
296
306
  }), (l, i) => (a(), o("div", {
297
307
  class: m(`vue-ui-chestnut ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
298
308
  ref_key: "chestnutChart",
299
- ref: oe,
309
+ ref: Z,
300
310
  id: `vue-ui-chestnut_${k.value}`,
301
311
  style: h(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;padding-top:36px;background:${e.value.style.chart.backgroundColor}`)
302
312
  }, [
303
- e.value.userOptions.show && D.value ? (a(), te(lt, {
313
+ e.value.userOptions.buttons.annotator ? (a(), K(it, {
314
+ key: 0,
315
+ parent: Z.value,
316
+ backgroundColor: e.value.style.chart.backgroundColor,
317
+ color: e.value.style.chart.color,
318
+ active: W.value,
319
+ onClose: oe
320
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : f("", !0),
321
+ e.value.userOptions.show && D.value ? (a(), K(ot, {
304
322
  ref_key: "details",
305
- ref: Ne,
306
- key: `user_options_${se.value}`,
323
+ ref: Fe,
324
+ key: `user_options_${ie.value}`,
307
325
  backgroundColor: e.value.style.chart.backgroundColor,
308
326
  color: e.value.style.chart.color,
309
- isImaging: n(re),
310
- isPrinting: n(ne),
327
+ isImaging: n(ve),
328
+ isPrinting: n(de),
311
329
  uid: k.value,
312
330
  hasPdf: e.value.userOptions.buttons.pdf,
313
331
  hasImg: e.value.userOptions.buttons.img,
@@ -316,59 +334,69 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
316
334
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
317
335
  isFullscreen: q.value,
318
336
  titles: { ...e.value.userOptions.buttonTitles },
319
- chartElement: oe.value,
337
+ chartElement: Z.value,
320
338
  position: e.value.userOptions.position,
321
- onToggleFullscreen: Oe,
322
- onGeneratePdf: n(ie),
323
- onGenerateCsv: fe,
324
- onGenerateImage: n(ce),
325
- onToggleTable: be
326
- }, Ae({ _: 2 }, [
339
+ hasAnnotator: e.value.userOptions.buttons.annotator,
340
+ isAnnotation: W.value,
341
+ onToggleFullscreen: Xe,
342
+ onGeneratePdf: n(ye),
343
+ onGenerateCsv: _e,
344
+ onGenerateImage: n(he),
345
+ onToggleTable: xe,
346
+ onToggleAnnotator: oe
347
+ }, De({ _: 2 }, [
327
348
  l.$slots.optionPdf ? {
328
349
  name: "optionPdf",
329
- fn: U(() => [
330
- M(l.$slots, "optionPdf", {}, void 0, !0)
350
+ fn: X(() => [
351
+ I(l.$slots, "optionPdf", {}, void 0, !0)
331
352
  ]),
332
353
  key: "0"
333
354
  } : void 0,
334
355
  l.$slots.optionCsv ? {
335
356
  name: "optionCsv",
336
- fn: U(() => [
337
- M(l.$slots, "optionCsv", {}, void 0, !0)
357
+ fn: X(() => [
358
+ I(l.$slots, "optionCsv", {}, void 0, !0)
338
359
  ]),
339
360
  key: "1"
340
361
  } : void 0,
341
362
  l.$slots.optionImg ? {
342
363
  name: "optionImg",
343
- fn: U(() => [
344
- M(l.$slots, "optionImg", {}, void 0, !0)
364
+ fn: X(() => [
365
+ I(l.$slots, "optionImg", {}, void 0, !0)
345
366
  ]),
346
367
  key: "2"
347
368
  } : void 0,
348
369
  l.$slots.optionTable ? {
349
370
  name: "optionTable",
350
- fn: U(() => [
351
- M(l.$slots, "optionTable", {}, void 0, !0)
371
+ fn: X(() => [
372
+ I(l.$slots, "optionTable", {}, void 0, !0)
352
373
  ]),
353
374
  key: "3"
354
375
  } : void 0,
355
376
  l.$slots.optionFullscreen ? {
356
377
  name: "optionFullscreen",
357
- fn: U(({ toggleFullscreen: t, isFullscreen: u }) => [
358
- M(l.$slots, "optionFullscreen", pe(ge({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
378
+ fn: X(({ toggleFullscreen: t, isFullscreen: u }) => [
379
+ I(l.$slots, "optionFullscreen", se(ue({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
359
380
  ]),
360
381
  key: "4"
382
+ } : void 0,
383
+ l.$slots.optionAnnotator ? {
384
+ name: "optionAnnotator",
385
+ fn: X(({ toggleAnnotator: t, isAnnotator: u }) => [
386
+ I(l.$slots, "optionAnnotator", se(ue({ toggleAnnotator: t, isAnnotator: u })), void 0, !0)
387
+ ]),
388
+ key: "5"
361
389
  } : void 0
362
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : f("", !0),
390
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : f("", !0),
363
391
  r.value.height > 0 && D.value ? (a(), o("svg", {
364
- key: 1,
365
- xmlns: n(Je),
392
+ key: 2,
393
+ xmlns: n(Ze),
366
394
  class: m({ "vue-data-ui-fullscreen--on": q.value, "vue-data-ui-fulscreen--off": !q.value }),
367
395
  viewBox: `0 0 ${r.value.width} ${r.value.height}`,
368
- style: h(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
396
+ style: h(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
369
397
  }, [
370
- _e(ut),
371
- d.value ? f("", !0) : (a(), o("g", ct, [
398
+ me(rt),
399
+ d.value ? f("", !0) : (a(), o("g", yt, [
372
400
  e.value.style.chart.layout.title.text ? (a(), o("text", {
373
401
  key: 0,
374
402
  "text-anchor": "middle",
@@ -378,7 +406,7 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
378
406
  x: r.value.width / 2,
379
407
  y: 12 + e.value.style.chart.layout.title.fontSize + e.value.style.chart.layout.title.offsetY,
380
408
  onClick: w
381
- }, c(e.value.style.chart.layout.title.text), 9, dt)) : f("", !0),
409
+ }, c(e.value.style.chart.layout.title.text), 9, ht)) : f("", !0),
382
410
  e.value.style.chart.layout.title.subtitle.text ? (a(), o("text", {
383
411
  key: 1,
384
412
  "text-anchor": "middle",
@@ -388,7 +416,7 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
388
416
  x: r.value.width / 2,
389
417
  y: 48 + e.value.style.chart.layout.title.subtitle.fontSize + e.value.style.chart.layout.title.subtitle.offsetY,
390
418
  onClick: w
391
- }, c(e.value.style.chart.layout.title.subtitle.text), 9, vt)) : f("", !0)
419
+ }, c(e.value.style.chart.layout.title.subtitle.text), 9, ft)) : f("", !0)
392
420
  ])),
393
421
  s("defs", null, [
394
422
  (a(!0), o(g, null, _(N.value, (t, u) => (a(), o("radialGradient", {
@@ -401,13 +429,13 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
401
429
  }, [
402
430
  s("stop", {
403
431
  offset: "0%",
404
- "stop-color": n(S)(n(me)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
405
- }, null, 8, ht),
432
+ "stop-color": n(S)(n(we)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
433
+ }, null, 8, pt),
406
434
  s("stop", {
407
435
  offset: "100%",
408
436
  "stop-color": t.color
409
- }, null, 8, ft)
410
- ], 8, yt))), 256)),
437
+ }, null, 8, gt)
438
+ ], 8, bt))), 256)),
411
439
  (a(!0), o(g, null, _(N.value, (t) => (a(), o("linearGradient", {
412
440
  x1: "0%",
413
441
  y1: "0%",
@@ -418,12 +446,12 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
418
446
  s("stop", {
419
447
  offset: "0%",
420
448
  "stop-color": t.color
421
- }, null, 8, pt),
449
+ }, null, 8, xt),
422
450
  s("stop", {
423
451
  offset: "100%",
424
- "stop-color": n(S)(n(me)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
425
- }, null, 8, gt)
426
- ], 8, bt))), 256)),
452
+ "stop-color": n(S)(n(we)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
453
+ }, null, 8, mt)
454
+ ], 8, _t))), 256)),
427
455
  s("radialGradient", {
428
456
  cx: "50%",
429
457
  cy: "50%",
@@ -435,16 +463,16 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
435
463
  s("stop", {
436
464
  offset: "0%",
437
465
  "stop-color": n(S)("#FFFFFF", 0)
438
- }, null, 8, xt),
466
+ }, null, 8, wt),
439
467
  s("stop", {
440
468
  offset: "80%",
441
469
  "stop-color": n(S)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
442
- }, null, 8, mt),
470
+ }, null, 8, $t),
443
471
  s("stop", {
444
472
  offset: "100%",
445
473
  "stop-color": n(S)("#FFFFFF", 0)
446
- }, null, 8, kt)
447
- ], 8, _t),
474
+ }, null, 8, Ct)
475
+ ], 8, kt),
448
476
  s("radialGradient", {
449
477
  cx: "50%",
450
478
  cy: "50%",
@@ -456,16 +484,16 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
456
484
  s("stop", {
457
485
  offset: "0%",
458
486
  "stop-color": n(S)("#FFFFFF", 0)
459
- }, null, 8, $t),
487
+ }, null, 8, Tt),
460
488
  s("stop", {
461
489
  offset: "80%",
462
490
  "stop-color": n(S)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
463
- }, null, 8, Ct),
491
+ }, null, 8, Nt),
464
492
  s("stop", {
465
493
  offset: "100%",
466
494
  "stop-color": n(S)("#FFFFFF", 0)
467
- }, null, 8, zt)
468
- ], 8, wt),
495
+ }, null, 8, St)
496
+ ], 8, zt),
469
497
  s("radialGradient", {
470
498
  cx: "50%",
471
499
  cy: "50%",
@@ -477,18 +505,18 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
477
505
  s("stop", {
478
506
  offset: "0%",
479
507
  "stop-color": n(S)(e.value.style.chart.backgroundColor, 100)
480
- }, null, 8, Nt),
508
+ }, null, 8, Lt),
481
509
  s("stop", {
482
510
  offset: "80%",
483
511
  "stop-color": n(S)(e.value.style.chart.backgroundColor, 60)
484
- }, null, 8, St),
512
+ }, null, 8, It),
485
513
  s("stop", {
486
514
  offset: "100%",
487
515
  "stop-color": n(S)(e.value.style.chart.backgroundColor, 0)
488
- }, null, 8, Ft)
489
- ], 8, Tt)
516
+ }, null, 8, Pt)
517
+ ], 8, Ft)
490
518
  ]),
491
- e.value.style.chart.layout.grandTotal.show ? (a(), o("g", Lt, [
519
+ e.value.style.chart.layout.grandTotal.show ? (a(), o("g", Vt, [
492
520
  s("text", {
493
521
  x: C.value.seedX,
494
522
  y: 32 + e.value.style.chart.layout.grandTotal.offsetY,
@@ -497,7 +525,7 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
497
525
  fill: e.value.style.chart.layout.grandTotal.color,
498
526
  "text-anchor": "middle",
499
527
  onClick: w
500
- }, c(e.value.style.chart.layout.grandTotal.text), 9, It),
528
+ }, c(e.value.style.chart.layout.grandTotal.text), 9, Rt),
501
529
  s("text", {
502
530
  x: C.value.seedX,
503
531
  y: 38 + e.value.style.chart.layout.grandTotal.fontSize + e.value.style.chart.layout.grandTotal.offsetY,
@@ -508,22 +536,22 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
508
536
  onClick: w
509
537
  }, c(n(G)(
510
538
  e.value.style.chart.layout.grandTotal.formatter,
511
- R.value,
539
+ B.value,
512
540
  n(T)({
513
541
  p: e.value.style.chart.layout.grandTotal.prefix,
514
- v: R.value,
542
+ v: B.value,
515
543
  s: e.value.style.chart.layout.grandTotal.suffix,
516
544
  r: e.value.style.chart.layout.grandTotal.roundingValue
517
545
  })
518
- )), 9, Pt)
546
+ )), 9, Bt)
519
547
  ])) : f("", !0),
520
- (a(!0), o(g, null, _(O.value, (t) => (a(), o("g", null, [
548
+ (a(!0), o(g, null, _(A.value, (t) => (a(), o("g", null, [
521
549
  (a(!0), o(g, null, _(r.value.branchSize, (u, b) => (a(), o("path", {
522
550
  d: `M
523
551
  ${t.x1},${t.y1 + b}
524
552
  C${t.x1 - 20},${t.y1 + b}
525
553
  ${t.x1 - 80},${t.y1 + b}
526
- ${Z(t).x + Z(t).r / 2}, ${Z(t).y}
554
+ ${le(t).x + le(t).r / 2}, ${le(t).y}
527
555
  `,
528
556
  stroke: n(S)(t.color, e.value.style.chart.layout.links.opacity),
529
557
  fill: "none",
@@ -531,7 +559,7 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
531
559
  "shape-rendering": "cirspEdges",
532
560
  style: h(`opacity:${L(t) ? 1 : 0}`),
533
561
  onClick: w
534
- }, null, 12, Vt))), 256))
562
+ }, null, 12, Mt))), 256))
535
563
  ]))), 256)),
536
564
  (a(!0), o(g, null, _(j.value, (t) => (a(), o("circle", {
537
565
  cx: t.x,
@@ -540,7 +568,7 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
540
568
  fill: e.value.style.chart.layout.roots.underlayerColor,
541
569
  stroke: "none",
542
570
  style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`)
543
- }, null, 12, Rt))), 256)),
571
+ }, null, 12, jt))), 256)),
544
572
  (a(!0), o(g, null, _(j.value, (t, u) => (a(), o("circle", {
545
573
  cx: t.x,
546
574
  cy: t.y,
@@ -549,18 +577,18 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
549
577
  stroke: e.value.style.chart.layout.roots.stroke,
550
578
  "stroke-width": e.value.style.chart.layout.roots.strokeWidth,
551
579
  style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
552
- onClick: (b) => ye(t)
553
- }, null, 12, Bt))), 256)),
554
- e.value.style.chart.layout.roots.labels.show ? (a(), o("g", Mt, [
580
+ onClick: (b) => pe(t)
581
+ }, null, 12, At))), 256)),
582
+ e.value.style.chart.layout.roots.labels.show ? (a(), o("g", Ot, [
555
583
  (a(!0), o(g, null, _(j.value, (t, u) => (a(), o("text", {
556
584
  x: t.x,
557
585
  y: t.y + e.value.style.chart.layout.roots.labels.fontSize / 2.6,
558
586
  "text-anchor": "middle",
559
587
  "font-size": e.value.style.chart.layout.roots.labels.fontSize,
560
- fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? n(ke)(t.color) : e.value.style.chart.layout.roots.labels.color,
588
+ fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? n($e)(t.color) : e.value.style.chart.layout.roots.labels.color,
561
589
  "font-weight": "bold",
562
590
  style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
563
- onClick: (b) => ye(t)
591
+ onClick: (b) => pe(t)
564
592
  }, c(n(G)(
565
593
  e.value.style.chart.layout.roots.labels.formatter,
566
594
  t.total,
@@ -571,9 +599,9 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
571
599
  r: e.value.style.chart.layout.roots.labels.roundingValue
572
600
  }),
573
601
  { datapoint: t }
574
- )), 13, jt))), 256)),
602
+ )), 13, Xt))), 256)),
575
603
  (a(!0), o(g, null, _(j.value, (t) => (a(), o("g", null, [
576
- d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || F.value && t.rootIndex === F.value.rootIndex ? (a(), o("g", Ot, [
604
+ d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || F.value && t.rootIndex === F.value.rootIndex ? (a(), o("g", Gt, [
577
605
  s("text", {
578
606
  x: t.x,
579
607
  y: t.y + t.r + 24,
@@ -582,11 +610,11 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
582
610
  "font-size": e.value.style.chart.layout.roots.labels.name.fontSize,
583
611
  "font-weight": e.value.style.chart.layout.roots.labels.name.bold ? "bold" : "normal",
584
612
  onClick: w
585
- }, c(t.name), 9, Xt)
613
+ }, c(t.name), 9, Et)
586
614
  ])) : f("", !0)
587
615
  ]))), 256))
588
616
  ])) : f("", !0),
589
- (a(!0), o(g, null, _(O.value, (t) => (a(), o("rect", {
617
+ (a(!0), o(g, null, _(A.value, (t) => (a(), o("rect", {
590
618
  x: t.x1,
591
619
  y: t.y1,
592
620
  height: r.value.branchSize,
@@ -595,9 +623,9 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
595
623
  rx: e.value.style.chart.layout.branches.borderRadius,
596
624
  stroke: "none",
597
625
  style: h(`opacity:${L(t) ? 1 : 0.05}`),
598
- onClick: (u) => ee(t)
599
- }, null, 12, Gt))), 256)),
600
- (a(!0), o(g, null, _(O.value, (t, u) => (a(), o("rect", {
626
+ onClick: (u) => ae(t)
627
+ }, null, 12, Ut))), 256)),
628
+ (a(!0), o(g, null, _(A.value, (t, u) => (a(), o("rect", {
601
629
  x: t.x1,
602
630
  y: t.y1,
603
631
  height: r.value.branchSize,
@@ -607,20 +635,20 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
607
635
  stroke: e.value.style.chart.layout.branches.stroke,
608
636
  "stroke-width": e.value.style.chart.layout.branches.strokeWidth,
609
637
  style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
610
- onClick: (b) => ee(t)
611
- }, null, 12, Et))), 256)),
612
- e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", At, [
613
- (a(!0), o(g, null, _(O.value, (t) => (a(), o("g", null, [
638
+ onClick: (b) => ae(t)
639
+ }, null, 12, Dt))), 256)),
640
+ e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", Yt, [
641
+ (a(!0), o(g, null, _(A.value, (t) => (a(), o("g", null, [
614
642
  t.proportionToRoot * 100 > e.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (a(), o("text", {
615
643
  key: 0,
616
644
  x: t.x1 + 6,
617
645
  y: t.y1 + r.value.branchSize / 1.5,
618
646
  "text-anchor": "start",
619
- fill: n(ke)(t.color),
647
+ fill: n($e)(t.color),
620
648
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
621
649
  "font-weight": "bold",
622
650
  style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
623
- onClick: (u) => ee(t)
651
+ onClick: (u) => ae(t)
624
652
  }, c(n(G)(
625
653
  e.value.style.chart.layout.branches.labels.dataLabels.formatter,
626
654
  t.value,
@@ -631,11 +659,11 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
631
659
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
632
660
  }),
633
661
  { datapoint: t }
634
- )), 13, Ut)) : f("", !0)
662
+ )), 13, qt)) : f("", !0)
635
663
  ]))), 256))
636
664
  ])) : f("", !0),
637
- (a(!0), o(g, null, _(O.value, (t, u) => (a(), o("g", null, [
638
- (a(!0), o(g, null, _(n(we)(
665
+ (a(!0), o(g, null, _(A.value, (t, u) => (a(), o("g", null, [
666
+ (a(!0), o(g, null, _(n(Ce)(
639
667
  { series: t.breakdown, base: 1 },
640
668
  t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
641
669
  t.y1 + r.value.branchSize / 2,
@@ -647,18 +675,18 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
647
675
  "stroke-width": 10,
648
676
  fill: "none",
649
677
  style: h(`opacity:${L(t) ? 1 : 0.1}`)
650
- }, null, 12, Dt))), 256)),
678
+ }, null, 12, Ht))), 256)),
651
679
  s("circle", {
652
680
  fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${k.value})` : "transparent",
653
681
  cx: t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
654
682
  cy: t.y1 + r.value.branchSize / 2,
655
683
  r: r.value.branchSize / 2 + 2,
656
- onClick: (b) => Be(t),
684
+ onClick: (b) => je(t),
657
685
  style: h(`cursor:pointer;opacity:${L(t) ? 1 : 0.1}`)
658
- }, null, 12, Yt)
686
+ }, null, 12, Wt)
659
687
  ]))), 256)),
660
- e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", qt, [
661
- (a(!0), o(g, null, _(O.value, (t) => (a(), o("text", {
688
+ e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", Kt, [
689
+ (a(!0), o(g, null, _(A.value, (t) => (a(), o("text", {
662
690
  x: t.x2 + r.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
663
691
  y: t.y1 + r.value.branchSize / 2 + 5,
664
692
  "font-size": e.value.style.chart.layout.branches.labels.fontSize,
@@ -666,7 +694,7 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
666
694
  fill: e.value.style.chart.layout.branches.labels.color,
667
695
  "text-anchor": "start",
668
696
  style: h(`opacity:${L(t) ? 1 : 0.1}`)
669
- }, c(t.name), 13, Ht))), 256))
697
+ }, c(t.name), 13, Jt))), 256))
670
698
  ])) : f("", !0),
671
699
  s("line", {
672
700
  x1: 256 + r.value.padding.left,
@@ -675,7 +703,7 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
675
703
  y2: C.value.bottom,
676
704
  stroke: e.value.style.chart.layout.verticalSeparator.stroke,
677
705
  "stroke-width": e.value.style.chart.layout.verticalSeparator.strokeWidth
678
- }, null, 8, Wt),
706
+ }, null, 8, Qt),
679
707
  !d.value && !x.value ? (a(), o("foreignObject", {
680
708
  key: 5,
681
709
  x: 0,
@@ -685,19 +713,19 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
685
713
  style: { overflow: "visible" },
686
714
  onClick: w
687
715
  }, [
688
- s("div", Jt, [
689
- s("div", Qt, [
716
+ s("div", el, [
717
+ s("div", tl, [
690
718
  (a(!0), o(g, null, _(j.value, (t) => (a(), o("div", {
691
719
  style: h(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
692
720
  }, [
693
- (a(), o("svg", Zt, [
721
+ (a(), o("svg", ll, [
694
722
  s("circle", {
695
723
  cx: "10",
696
724
  cy: "10",
697
725
  r: "10",
698
726
  fill: t.color,
699
727
  stroke: "none"
700
- }, null, 8, el)
728
+ }, null, 8, al)
701
729
  ])),
702
730
  s("span", null, c(t.name) + ":", 1),
703
731
  s("b", null, c(n(G)(
@@ -711,60 +739,60 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
711
739
  }),
712
740
  { datapoint: t }
713
741
  )), 1),
714
- W(" (" + c(n(T)({
715
- v: t.total / R.value * 100,
742
+ J(" (" + c(n(T)({
743
+ v: t.total / B.value * 100,
716
744
  s: "%",
717
745
  r: e.value.style.chart.layout.legend.roundingPercentage
718
746
  })) + ") ", 1)
719
747
  ], 4))), 256))
720
748
  ])
721
749
  ])
722
- ], 8, Kt)) : f("", !0),
723
- d.value && B.value ? (a(), o("g", tl, [
750
+ ], 8, Zt)) : f("", !0),
751
+ d.value && M.value ? (a(), o("g", ol, [
724
752
  (a(), o("foreignObject", {
725
753
  x: 0,
726
- y: Me(),
754
+ y: Ae(),
727
755
  height: r.value.height - C.value.bottom,
728
756
  width: r.value.width,
729
757
  style: { overflow: "visible" },
730
758
  onClick: w
731
759
  }, [
732
- s("div", al, [
760
+ s("div", ul, [
733
761
  s("b", null, c(d.value.name), 1),
734
- s("div", ol, [
762
+ s("div", nl, [
735
763
  (a(!0), o(g, null, _(d.value.breakdown, (t, u) => (a(), o("div", {
736
764
  style: h(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
737
765
  }, [
738
- (a(), o("svg", sl, [
766
+ (a(), o("svg", rl, [
739
767
  s("circle", {
740
768
  cx: "10",
741
769
  cy: "10",
742
770
  r: "10",
743
771
  fill: t.color,
744
772
  stroke: "none"
745
- }, null, 8, ul)
773
+ }, null, 8, il)
746
774
  ])),
747
775
  s("span", null, [
748
- W(c(t.name) + ": ", 1),
776
+ J(c(t.name) + ": ", 1),
749
777
  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),
750
- W(" (" + c((t.proportionToBranch * 100).toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "%)", 1)
778
+ J(" (" + c((t.proportionToBranch * 100).toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "%)", 1)
751
779
  ])
752
780
  ], 4))), 256))
753
781
  ])
754
782
  ])
755
- ], 8, ll)),
783
+ ], 8, sl)),
756
784
  s("circle", {
757
785
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
758
786
  cy: d.value.y1 + r.value.branchSize / 2,
759
787
  r: 256,
760
788
  fill: `url(#nut_underlayer_${k.value})`,
761
- onClick: X,
789
+ onClick: O,
762
790
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
763
- }, null, 10, nl),
764
- (a(!0), o(g, null, _(B.value, (t) => (a(), o("g", null, [
765
- A(t) ? (a(), o("path", {
791
+ }, null, 10, cl),
792
+ (a(!0), o(g, null, _(M.value, (t) => (a(), o("g", null, [
793
+ U(t) ? (a(), o("path", {
766
794
  key: 0,
767
- d: n(Qe)(
795
+ d: n(et)(
768
796
  t,
769
797
  {
770
798
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
@@ -782,40 +810,40 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
782
810
  "stroke-linejoin": "round",
783
811
  fill: "none",
784
812
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
785
- }, null, 10, rl)) : f("", !0)
813
+ }, null, 10, dl)) : f("", !0)
786
814
  ]))), 256)),
787
815
  s("circle", {
788
816
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
789
817
  cy: d.value.y1 + r.value.branchSize / 2,
790
818
  r: 118,
791
819
  fill: e.value.style.chart.backgroundColor,
792
- onClick: X,
820
+ onClick: O,
793
821
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
794
- }, null, 10, il),
795
- (a(!0), o(g, null, _(B.value, (t) => (a(), o("path", {
822
+ }, null, 10, vl),
823
+ (a(!0), o(g, null, _(M.value, (t) => (a(), o("path", {
796
824
  d: t.path,
797
825
  stroke: t.color,
798
826
  "stroke-width": 64,
799
827
  fill: "none",
800
- onClick: X,
828
+ onClick: O,
801
829
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
802
- }, null, 10, cl))), 256)),
830
+ }, null, 10, yl))), 256)),
803
831
  s("circle", {
804
832
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
805
833
  cy: d.value.y1 + r.value.branchSize / 2,
806
834
  r: 100,
807
835
  fill: `url(#nutpick_${k.value})`,
808
- onClick: X,
836
+ onClick: O,
809
837
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
810
- }, null, 10, dl),
838
+ }, null, 10, hl),
811
839
  s("circle", {
812
840
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
813
841
  cy: d.value.y1 + r.value.branchSize / 2,
814
842
  r: 48,
815
843
  fill: e.value.style.chart.backgroundColor,
816
- onClick: X,
844
+ onClick: O,
817
845
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
818
- }, null, 10, vl),
846
+ }, null, 10, fl),
819
847
  s("text", {
820
848
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
821
849
  y: d.value.y1 + 8,
@@ -823,9 +851,9 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
823
851
  "font-size": e.value.style.chart.layout.nuts.selected.labels.core.total.fontSize,
824
852
  "font-weight": e.value.style.chart.layout.nuts.selected.labels.core.total.bold ? "bold" : "normal",
825
853
  "text-anchor": "middle",
826
- onClick: X,
854
+ onClick: O,
827
855
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
828
- }, c(e.value.translations.total), 11, yl),
856
+ }, c(e.value.translations.total), 11, bl),
829
857
  s("text", {
830
858
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
831
859
  y: d.value.y1 + 36,
@@ -833,7 +861,7 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
833
861
  "font-size": e.value.style.chart.layout.nuts.selected.labels.core.value.fontSize,
834
862
  "font-weight": e.value.style.chart.layout.nuts.selected.labels.core.value.bold ? "bold" : "normal",
835
863
  "text-anchor": "middle",
836
- onClick: X,
864
+ onClick: O,
837
865
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
838
866
  }, c(n(G)(
839
867
  e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
@@ -845,34 +873,34 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
845
873
  r: e.value.style.chart.layout.nuts.selected.roundingValue
846
874
  }),
847
875
  { datapoint: d.value }
848
- )), 11, hl),
849
- (a(!0), o(g, null, _(B.value, (t, u) => (a(), o("g", null, [
850
- A(t) ? (a(), o("text", {
876
+ )), 11, pl),
877
+ (a(!0), o(g, null, _(M.value, (t, u) => (a(), o("g", null, [
878
+ U(t) ? (a(), o("text", {
851
879
  key: 0,
852
- x: n(P)(t).x,
853
- "text-anchor": n(P)(t).anchor,
880
+ x: n(V)(t).x,
881
+ "text-anchor": n(V)(t).anchor,
854
882
  y: n(H)(t),
855
883
  fill: t.color,
856
884
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
857
885
  style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
858
886
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
859
- }, " ⬤ ", 14, fl)) : f("", !0),
860
- A(t) ? (a(), o("text", {
887
+ }, " ⬤ ", 14, gl)) : f("", !0),
888
+ U(t) ? (a(), o("text", {
861
889
  key: 1,
862
- x: n(P)(t, !0).x,
863
- "text-anchor": n(P)(t, !0).anchor,
890
+ x: n(V)(t, !0).x,
891
+ "text-anchor": n(V)(t, !0).anchor,
864
892
  y: n(H)(t),
865
893
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
866
894
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
867
895
  style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
868
896
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
869
- }, c(d.value.breakdown[u].name), 15, bl)) : f("", !0)
897
+ }, c(d.value.breakdown[u].name), 15, _l)) : f("", !0)
870
898
  ]))), 256)),
871
- (a(!0), o(g, null, _(B.value, (t, u) => (a(), o("g", null, [
872
- A(t) ? (a(), o("text", {
899
+ (a(!0), o(g, null, _(M.value, (t, u) => (a(), o("g", null, [
900
+ U(t) ? (a(), o("text", {
873
901
  key: 0,
874
- x: n(P)(t, !0).x,
875
- "text-anchor": n(P)(t).anchor,
902
+ x: n(V)(t, !0).x,
903
+ "text-anchor": n(V)(t).anchor,
876
904
  y: n(H)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
877
905
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
878
906
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
@@ -891,12 +919,12 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
891
919
  s: e.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
892
920
  r: e.value.style.chart.layout.nuts.selected.roundingValue
893
921
  }),
894
- { datapoint: B.value, seriesIndex: u }
895
- )), 15, pl)) : f("", !0),
896
- A(t) ? (a(), o("text", {
922
+ { datapoint: M.value, seriesIndex: u }
923
+ )), 15, xl)) : f("", !0),
924
+ U(t) ? (a(), o("text", {
897
925
  key: 1,
898
- x: n(P)(t, !0).x,
899
- "text-anchor": n(P)(t).anchor,
926
+ x: n(V)(t, !0).x,
927
+ "text-anchor": n(V)(t).anchor,
900
928
  y: n(H)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 2,
901
929
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
902
930
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
@@ -906,11 +934,11 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
906
934
  v: d.value.breakdown[u].proportionToRoot * 100,
907
935
  s: "%",
908
936
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
909
- })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[u].rootName), 15, gl)) : f("", !0),
910
- A(t) ? (a(), o("text", {
937
+ })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[u].rootName), 15, ml)) : f("", !0),
938
+ U(t) ? (a(), o("text", {
911
939
  key: 2,
912
- x: n(P)(t, !0).x,
913
- "text-anchor": n(P)(t).anchor,
940
+ x: n(V)(t, !0).x,
941
+ "text-anchor": n(V)(t).anchor,
914
942
  y: n(H)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 3,
915
943
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
916
944
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
@@ -920,10 +948,10 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
920
948
  v: d.value.breakdown[u].proportionToTree * 100,
921
949
  s: "%",
922
950
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
923
- })) + " " + c(e.value.translations.proportionToTree), 15, _l)) : f("", !0)
951
+ })) + " " + c(e.value.translations.proportionToTree), 15, kl)) : f("", !0)
924
952
  ]))), 256))
925
953
  ])) : f("", !0),
926
- (a(!0), o(g, null, _(O.value, (t) => (a(), o("g", null, [
954
+ (a(!0), o(g, null, _(A.value, (t) => (a(), o("g", null, [
927
955
  x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
928
956
  key: 0,
929
957
  x: t.x1 + 6,
@@ -943,7 +971,7 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
943
971
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
944
972
  }),
945
973
  { datapoint: t }
946
- )), 9, xl)) : f("", !0),
974
+ )), 9, wl)) : f("", !0),
947
975
  x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
948
976
  key: 1,
949
977
  x: t.x1 + 6,
@@ -956,7 +984,7 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
956
984
  v: t.proportionToRoot * 100,
957
985
  s: "%",
958
986
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
959
- })) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, ml)) : f("", !0),
987
+ })) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, $l)) : f("", !0),
960
988
  x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
961
989
  key: 2,
962
990
  x: t.x1 + 6,
@@ -966,18 +994,18 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
966
994
  fill: e.value.style.chart.layout.branches.labels.color,
967
995
  onClick: w
968
996
  }, c(n(T)({
969
- v: t.value / R.value * 100,
997
+ v: t.value / B.value * 100,
970
998
  s: "%",
971
999
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
972
- })) + " " + c(e.value.translations.proportionToTree), 9, kl)) : f("", !0)
1000
+ })) + " " + c(e.value.translations.proportionToTree), 9, Cl)) : f("", !0)
973
1001
  ]))), 256)),
974
- M(l.$slots, "svg", { svg: r.value }, void 0, !0)
975
- ], 14, it)) : f("", !0),
976
- l.$slots.watermark ? (a(), o("div", wl, [
977
- M(l.$slots, "watermark", pe(ge({ isPrinting: n(ne) || n(re) })), void 0, !0)
1002
+ I(l.$slots, "svg", { svg: r.value }, void 0, !0)
1003
+ ], 14, vt)) : f("", !0),
1004
+ l.$slots.watermark ? (a(), o("div", zl, [
1005
+ I(l.$slots, "watermark", se(ue({ isPrinting: n(de) || n(ve) })), void 0, !0)
978
1006
  ])) : f("", !0),
979
- D.value ? f("", !0) : (a(), te(at, {
980
- key: 3,
1007
+ D.value ? f("", !0) : (a(), K(st, {
1008
+ key: 4,
981
1009
  config: {
982
1010
  type: "chestnut",
983
1011
  style: {
@@ -988,9 +1016,12 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
988
1016
  }
989
1017
  }
990
1018
  }, null, 8, ["config"])),
991
- M(l.$slots, "legend", { legend: N.value }, void 0, !0),
992
- D.value ? (a(), te(st, {
993
- key: 4,
1019
+ I(l.$slots, "legend", { legend: N.value }, void 0, !0),
1020
+ l.$slots.source ? (a(), o("div", Tl, [
1021
+ I(l.$slots, "source", {}, void 0, !0)
1022
+ ], 512)) : f("", !0),
1023
+ D.value ? (a(), K(nt, {
1024
+ key: 6,
994
1025
  hideDetails: "",
995
1026
  config: {
996
1027
  open: Y.value.showTable,
@@ -1005,21 +1036,21 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
1005
1036
  }
1006
1037
  }
1007
1038
  }, {
1008
- content: U(() => [
1039
+ content: X(() => [
1009
1040
  s("div", {
1010
1041
  ref_key: "tableContainer",
1011
- ref: Q,
1042
+ ref: te,
1012
1043
  class: "vue-ui-chestnut-table"
1013
1044
  }, [
1014
- s("div", $l, [
1045
+ s("div", Nl, [
1015
1046
  s("div", {
1016
1047
  role: "button",
1017
1048
  tabindex: "0",
1018
1049
  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};`),
1019
1050
  onClick: i[0] || (i[0] = (t) => Y.value.showTable = !1),
1020
- onKeypress: i[1] || (i[1] = Ue((t) => Y.value.showTable = !1, ["enter"]))
1051
+ onKeypress: i[1] || (i[1] = Ye((t) => Y.value.showTable = !1, ["enter"]))
1021
1052
  }, [
1022
- _e(ot, {
1053
+ me(ut, {
1023
1054
  name: "close",
1024
1055
  stroke: e.value.table.th.color,
1025
1056
  "stroke-width": 2
@@ -1027,15 +1058,15 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
1027
1058
  ], 36),
1028
1059
  s("div", {
1029
1060
  style: { width: "100%" },
1030
- class: m({ "vue-ui-responsive": de.value })
1061
+ class: m({ "vue-ui-responsive": fe.value })
1031
1062
  }, [
1032
- s("table", Cl, [
1063
+ s("table", Sl, [
1033
1064
  s("caption", {
1034
1065
  style: h({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
1035
1066
  class: "vue-ui-data-table__caption"
1036
1067
  }, [
1037
- W(c(e.value.style.chart.layout.title.text) + " ", 1),
1038
- e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", zl, c(e.value.style.chart.layout.title.subtitle.text), 1)) : f("", !0)
1068
+ J(c(e.value.style.chart.layout.title.text) + " ", 1),
1069
+ e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", Fl, c(e.value.style.chart.layout.title.subtitle.text), 1)) : f("", !0)
1039
1070
  ], 4),
1040
1071
  s("thead", null, [
1041
1072
  s("tr", {
@@ -1057,99 +1088,99 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
1057
1088
  style: h(`outline:${e.value.table.td.outline}`),
1058
1089
  "data-cell": v.value.head[0]
1059
1090
  }, [
1060
- s("div", Nl, [
1061
- v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Sl)) : (a(), o("span", Fl, c(t.rootName), 1))
1091
+ s("div", Il, [
1092
+ v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Pl)) : (a(), o("span", Vl, c(t.rootName), 1))
1062
1093
  ])
1063
- ], 12, Tl),
1094
+ ], 12, Ll),
1064
1095
  s("td", {
1065
1096
  class: "vue-ui-data-table__tbody__td",
1066
1097
  style: h(`outline:${e.value.table.td.outline}`),
1067
1098
  "data-cell": v.value.head[1]
1068
1099
  }, [
1069
- s("div", Il, [
1070
- v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Pl)) : (a(), o("span", Vl, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
1100
+ s("div", Bl, [
1101
+ v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Ml)) : (a(), o("span", jl, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
1071
1102
  ])
1072
- ], 12, Ll),
1103
+ ], 12, Rl),
1073
1104
  s("td", {
1074
1105
  class: "vue-ui-data-table__tbody__td",
1075
1106
  style: h(`outline:${e.value.table.td.outline}`),
1076
1107
  "data-cell": v.value.head[2]
1077
1108
  }, [
1078
- s("div", Bl, [
1079
- v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Ml)) : (a(), o("span", jl, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1109
+ s("div", Ol, [
1110
+ v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Xl)) : (a(), o("span", Gl, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1080
1111
  ])
1081
- ], 12, Rl),
1112
+ ], 12, Al),
1082
1113
  s("td", {
1083
1114
  class: "vue-ui-data-table__tbody__td",
1084
1115
  style: h(`outline:${e.value.table.td.outline}`),
1085
1116
  "data-cell": v.value.head[3]
1086
1117
  }, [
1087
- s("div", Xl, [
1088
- v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Gl)) : (a(), o("span", El, c(t.branchName), 1))
1118
+ s("div", Ul, [
1119
+ v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Dl)) : (a(), o("span", Yl, c(t.branchName), 1))
1089
1120
  ])
1090
- ], 12, Ol),
1121
+ ], 12, El),
1091
1122
  s("td", {
1092
1123
  class: "vue-ui-data-table__tbody__td",
1093
1124
  style: h(`outline:${e.value.table.td.outline}`),
1094
1125
  "data-cell": v.value.head[4]
1095
1126
  }, [
1096
- s("div", Ul, [
1097
- v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Dl)) : (a(), o("span", Yl, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
1127
+ s("div", Hl, [
1128
+ v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Wl)) : (a(), o("span", Kl, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
1098
1129
  ])
1099
- ], 12, Al),
1130
+ ], 12, ql),
1100
1131
  s("td", {
1101
1132
  class: "vue-ui-data-table__tbody__td",
1102
1133
  style: h(`outline:${e.value.table.td.outline}`),
1103
1134
  "data-cell": v.value.head[5]
1104
1135
  }, [
1105
- s("div", Hl, [
1106
- v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Wl)) : (a(), o("span", Kl, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1136
+ s("div", Ql, [
1137
+ v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Zl)) : (a(), o("span", ea, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1107
1138
  ])
1108
- ], 12, ql),
1139
+ ], 12, Jl),
1109
1140
  s("td", {
1110
1141
  class: "vue-ui-data-table__tbody__td",
1111
1142
  style: h(`outline:${e.value.table.td.outline}`),
1112
1143
  "data-cell": v.value.head[6]
1113
1144
  }, [
1114
- s("div", Ql, [
1115
- v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Zl)) : (a(), o("span", ea, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1145
+ s("div", la, [
1146
+ v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", aa)) : (a(), o("span", oa, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1116
1147
  ])
1117
- ], 12, Jl),
1148
+ ], 12, ta),
1118
1149
  s("td", {
1119
1150
  class: "vue-ui-data-table__tbody__td",
1120
1151
  style: h(`outline:${e.value.table.td.outline}`),
1121
1152
  "data-cell": v.value.head[7]
1122
1153
  }, [
1123
- s("div", la, c(t.nutName), 1)
1124
- ], 12, ta),
1154
+ s("div", ua, c(t.nutName), 1)
1155
+ ], 12, sa),
1125
1156
  s("td", {
1126
1157
  class: "vue-ui-data-table__tbody__td",
1127
1158
  style: h(`outline:${e.value.table.td.outline}`),
1128
1159
  "data-cell": v.value.head[8]
1129
1160
  }, [
1130
- s("div", oa, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1131
- ], 12, aa),
1161
+ s("div", ra, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1162
+ ], 12, na),
1132
1163
  s("td", {
1133
1164
  class: "vue-ui-data-table__tbody__td",
1134
1165
  style: h(`outline:${e.value.table.td.outline}`),
1135
1166
  "data-cell": v.value.head[9]
1136
1167
  }, [
1137
- s("div", ua, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1138
- ], 12, sa),
1168
+ s("div", ca, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1169
+ ], 12, ia),
1139
1170
  s("td", {
1140
1171
  class: "vue-ui-data-table__tbody__td",
1141
1172
  style: h(`outline:${e.value.table.td.outline}`),
1142
1173
  "data-cell": v.value.head[10]
1143
1174
  }, [
1144
- s("div", ra, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1145
- ], 12, na),
1175
+ s("div", va, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1176
+ ], 12, da),
1146
1177
  s("td", {
1147
1178
  class: "vue-ui-data-table__tbody__td",
1148
1179
  style: h(`outline:${e.value.table.td.outline}`),
1149
1180
  "data-cell": v.value.head[11]
1150
1181
  }, [
1151
- s("div", ca, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1152
- ], 12, ia)
1182
+ s("div", ha, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1183
+ ], 12, ya)
1153
1184
  ], 6))), 256))
1154
1185
  ])
1155
1186
  ])
@@ -1159,9 +1190,9 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
1159
1190
  ]),
1160
1191
  _: 1
1161
1192
  }, 8, ["config"])) : f("", !0)
1162
- ], 14, rt));
1193
+ ], 14, dt));
1163
1194
  }
1164
- }, ka = /* @__PURE__ */ nt(da, [["__scopeId", "data-v-c10dbcb5"]]);
1195
+ }, Ta = /* @__PURE__ */ ct(fa, [["__scopeId", "data-v-6536e115"]]);
1165
1196
  export {
1166
- ka as default
1197
+ Ta as default
1167
1198
  };