vue-data-ui 2.4.2 → 2.4.4

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 (200) hide show
  1. package/README.md +3 -1
  2. package/dist/{Arrow-JuK2z9IB.js → Arrow-AxsI-FAh.js} +1 -1
  3. package/dist/{Arrow-DLTRnzcG.cjs → Arrow-W6XO2WVI.cjs} +1 -1
  4. package/dist/{BaseIcon-BGExhz6v.cjs → BaseIcon-BTn_oML7.cjs} +1 -1
  5. package/dist/{BaseIcon-rRli6Sfv.js → BaseIcon-BX3x6oa7.js} +1 -1
  6. package/dist/{DataTable-DTk7C4Pr.js → DataTable-BI1tjiA_.js} +2 -2
  7. package/dist/{DataTable-DJzhv96s.cjs → DataTable-RUQ1G_6L.cjs} +1 -1
  8. package/dist/{Legend-YZ7Hz3o1.cjs → Legend-B86sMXn7.cjs} +1 -1
  9. package/dist/{Legend-CYF2gpXG.js → Legend-CRMHjbGw.js} +1 -1
  10. package/dist/{PackageVersion-CvCRsT5_.js → PackageVersion-Clrfvyd8.js} +1 -1
  11. package/dist/{PackageVersion-DVZtsuy4.cjs → PackageVersion-CowXQ4IM.cjs} +1 -1
  12. package/dist/{PenAndPaper-Jb0pLt3G.js → PenAndPaper-BQzgk5kO.js} +2 -2
  13. package/dist/{PenAndPaper-CyXm-yVL.cjs → PenAndPaper-DBSxk9Xk.cjs} +1 -1
  14. package/dist/{Shape-BpPn4eWR.js → Shape-DYNtRer6.js} +1 -1
  15. package/dist/{Shape-X2F-QV_B.cjs → Shape-qK3MNdTg.cjs} +1 -1
  16. package/dist/{Slicer-CU7dRZR0.js → Slicer-DFPDip5U.js} +3 -3
  17. package/dist/{Slicer-CL0tP5a5.cjs → Slicer-NlxLkUso.cjs} +1 -1
  18. package/dist/{Title-5VmBwT4i.js → Title-710895ks.js} +1 -1
  19. package/dist/{Title-Co5jI5ed.cjs → Title-CUN1T6KC.cjs} +1 -1
  20. package/dist/{Tooltip-Bl6W8Zn7.cjs → Tooltip-BapDtYOM.cjs} +1 -1
  21. package/dist/{Tooltip-Cj4EF7v1.js → Tooltip-CPlG_yQU.js} +1 -1
  22. package/dist/index-CcykRspI.cjs +9 -0
  23. package/dist/{index-DnVHQ2xI.js → index-DCsPHn9C.js} +4 -1
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +4 -1
  26. package/dist/types/vue-data-ui.d.ts +4 -1
  27. package/dist/{useNestedProp-Cox0K0Y5.js → useNestedProp-DdSlLeTW.js} +1 -1
  28. package/dist/{useNestedProp-q7byAAIJ.cjs → useNestedProp-XtPlFP9O.cjs} +1 -1
  29. package/dist/{usePrinter-BCAFeO_J.cjs → usePrinter-BcE45wW6.cjs} +1 -1
  30. package/dist/{usePrinter-BEeNAqS5.js → usePrinter-siG3sKWo.js} +1 -1
  31. package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
  32. package/dist/useResponsive-CoxXLe23.js +189 -0
  33. package/dist/{vue-data-ui-CRLLZpt0.cjs → vue-data-ui-C0o1kZzC.cjs} +1 -1
  34. package/dist/{vue-data-ui-W7nnqn0v.js → vue-data-ui-D_MTGc8j.js} +58 -58
  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-BwBrUabe.js → vue-ui-3d-bar-BdzWvy4d.js} +41 -34
  38. package/dist/{vue-ui-3d-bar-bD_n6qL_.cjs → vue-ui-3d-bar-C298Bf3V.cjs} +2 -2
  39. package/dist/{vue-ui-accordion-xXgqfR2l.cjs → vue-ui-accordion-B7PTyFVk.cjs} +1 -1
  40. package/dist/{vue-ui-accordion-DspS4q3f.js → vue-ui-accordion-D4Er5Dy5.js} +3 -3
  41. package/dist/vue-ui-age-pyramid-BIcB5vtU.cjs +1 -0
  42. package/dist/{vue-ui-age-pyramid-CxBvm3uM.js → vue-ui-age-pyramid-CHEdFQb7.js} +185 -168
  43. package/dist/{vue-ui-annotator-BOofWpzv.js → vue-ui-annotator-CqM_1HlB.js} +1 -1
  44. package/dist/{vue-ui-annotator-C6T5_7ZV.cjs → vue-ui-annotator-eGtZcHeb.cjs} +1 -1
  45. package/dist/{vue-ui-bullet-DraC-oFu.js → vue-ui-bullet-DBk50kIe.js} +195 -158
  46. package/dist/vue-ui-bullet-DURgZGgp.cjs +34 -0
  47. package/dist/{vue-ui-candlestick-DQZ5eT1f.js → vue-ui-candlestick-Bo41qkGe.js} +263 -246
  48. package/dist/vue-ui-candlestick-CP4Z-29b.cjs +2 -0
  49. package/dist/{vue-ui-carousel-table-PdLjpH1p.js → vue-ui-carousel-table-CkNOqa9q.js} +76 -69
  50. package/dist/vue-ui-carousel-table-lMqx64wd.cjs +1 -0
  51. package/dist/{vue-ui-chestnut-ByI_O5hB.js → vue-ui-chestnut-CNWq-epB.js} +299 -286
  52. package/dist/vue-ui-chestnut-qxzF2ND7.cjs +6 -0
  53. package/dist/{vue-ui-cursor-BM74l93B.js → vue-ui-cursor-B4m30Gqz.js} +2 -2
  54. package/dist/{vue-ui-cursor-BvadpA2m.cjs → vue-ui-cursor-BEv39HVY.cjs} +1 -1
  55. package/dist/{vue-ui-dashboard-CoANBhAM.js → vue-ui-dashboard-BL9IgDDx.js} +2 -2
  56. package/dist/{vue-ui-dashboard-OP51Gs8I.cjs → vue-ui-dashboard-DnoXstlp.cjs} +1 -1
  57. package/dist/{vue-ui-digits-DioaBnkB.js → vue-ui-digits-CVPDJ6tl.js} +2 -2
  58. package/dist/{vue-ui-digits-C7jJJg9k.cjs → vue-ui-digits-D1RaU4V-.cjs} +1 -1
  59. package/dist/{vue-ui-donut-ldqSm_JV.js → vue-ui-donut-C65SAJKb.js} +374 -357
  60. package/dist/vue-ui-donut-CMC92CXL.cjs +1 -0
  61. package/dist/vue-ui-donut-evolution-7gIM4bVk.cjs +1 -0
  62. package/dist/{vue-ui-donut-evolution-DAb1xzNd.js → vue-ui-donut-evolution-BFbBlmBx.js} +240 -226
  63. package/dist/{vue-ui-dumbbell-Dg7PkiKJ.js → vue-ui-dumbbell-BnxRfvv0.js} +227 -210
  64. package/dist/vue-ui-dumbbell-OCo67ZKp.cjs +9 -0
  65. package/dist/vue-ui-flow-BPnpYrzb.cjs +1 -0
  66. package/dist/{vue-ui-flow-DKT7ZEnr.js → vue-ui-flow-Cra_F-tK.js} +150 -137
  67. package/dist/vue-ui-galaxy-3zTk9Pr1.cjs +1 -0
  68. package/dist/{vue-ui-galaxy-qAA9be3S.js → vue-ui-galaxy-DlJ7v0aD.js} +145 -132
  69. package/dist/{vue-ui-gauge-D8yVTIgP.js → vue-ui-gauge-CsqVvNxE.js} +210 -193
  70. package/dist/vue-ui-gauge-DcUNJZI1.cjs +1 -0
  71. package/dist/{vue-ui-gizmo-W6bTkg59.cjs → vue-ui-gizmo-BkkLoCyx.cjs} +1 -1
  72. package/dist/{vue-ui-gizmo-DC0uUwI3.js → vue-ui-gizmo-Peyy8li7.js} +3 -3
  73. package/dist/vue-ui-heatmap-DYb831An.cjs +1 -0
  74. package/dist/{vue-ui-heatmap-u1raIzBQ.js → vue-ui-heatmap-i4HFM04D.js} +203 -189
  75. package/dist/{vue-ui-kpi-DY_2WF7U.cjs → vue-ui-kpi-CCrdcv3r.cjs} +1 -1
  76. package/dist/{vue-ui-kpi-C-iTxMD2.js → vue-ui-kpi-gSKVVqZg.js} +3 -3
  77. package/dist/{vue-ui-mini-loader-Bfq2MNWu.cjs → vue-ui-mini-loader-CqutMcQI.cjs} +1 -1
  78. package/dist/{vue-ui-mini-loader-C7x7S0hi.js → vue-ui-mini-loader-D7Jk1LJb.js} +2 -2
  79. package/dist/{vue-ui-molecule-BFnOIxxs.js → vue-ui-molecule-CgdepnhM.js} +164 -151
  80. package/dist/vue-ui-molecule-CwUObXAx.cjs +1 -0
  81. package/dist/{vue-ui-mood-radar-CR1v5v2x.js → vue-ui-mood-radar-Bxro4962.js} +217 -203
  82. package/dist/vue-ui-mood-radar-RQFKS7Br.cjs +1 -0
  83. package/dist/{vue-ui-nested-donuts-DEiloQzq.js → vue-ui-nested-donuts-B7dXBejH.js} +342 -325
  84. package/dist/vue-ui-nested-donuts-D8ZGqIGC.cjs +17 -0
  85. package/dist/vue-ui-onion-Dtt0kw8E.cjs +5 -0
  86. package/dist/{vue-ui-onion-LsEhBe4x.js → vue-ui-onion-i52wztm0.js} +267 -250
  87. package/dist/vue-ui-parallel-coordinate-plot-DNK0BrBy.cjs +8 -0
  88. package/dist/{vue-ui-parallel-coordinate-plot-CTlIjJqG.js → vue-ui-parallel-coordinate-plot-DUssrm08.js} +241 -224
  89. package/dist/{vue-ui-quadrant-DKVVFufb.js → vue-ui-quadrant-BORPtgQO.js} +236 -219
  90. package/dist/vue-ui-quadrant-a_I5E71f.cjs +1 -0
  91. package/dist/vue-ui-quick-chart-BpPDfK78.cjs +15 -0
  92. package/dist/{vue-ui-quick-chart-8vJikiGH.js → vue-ui-quick-chart-yb1FzVdt.js} +469 -452
  93. package/dist/{vue-ui-radar-20QhOUer.js → vue-ui-radar-CoCbl19A.js} +198 -181
  94. package/dist/vue-ui-radar-DZMngiqq.cjs +1 -0
  95. package/dist/{vue-ui-rating-DRWJsve1.js → vue-ui-rating-D-zwuvLK.js} +2 -2
  96. package/dist/{vue-ui-rating-Bbzm5nUK.cjs → vue-ui-rating-nTJ8DDhG.cjs} +1 -1
  97. package/dist/vue-ui-relation-circle-CW9qozhJ.js +366 -0
  98. package/dist/vue-ui-relation-circle-Wj_yrVJc.cjs +1 -0
  99. package/dist/vue-ui-rings-BZaZIGEz.cjs +2 -0
  100. package/dist/{vue-ui-rings-DG8GCi3y.js → vue-ui-rings-Bx2GEh6d.js} +221 -204
  101. package/dist/{vue-ui-scatter-Hqu5-F2H.js → vue-ui-scatter-BARiPzro.js} +375 -358
  102. package/dist/vue-ui-scatter-C-i1NZgz.cjs +1 -0
  103. package/dist/{vue-ui-screenshot-cjiqbtLK.js → vue-ui-screenshot-CuiJqlfo.js} +1 -1
  104. package/dist/{vue-ui-screenshot-D8nxd5RV.cjs → vue-ui-screenshot-CwOoftGV.cjs} +1 -1
  105. package/dist/{vue-ui-skeleton-aZmkNzAe.js → vue-ui-skeleton-DNuwx6_y.js} +419 -379
  106. package/dist/vue-ui-skeleton-DpfJbsNA.cjs +41 -0
  107. package/dist/{vue-ui-smiley-ChNvxygm.js → vue-ui-smiley-BnX27B0k.js} +2 -2
  108. package/dist/{vue-ui-smiley-B1TA19Hv.cjs → vue-ui-smiley-DGE9NFBY.cjs} +1 -1
  109. package/dist/{vue-ui-spark-trend-CQxELQcf.js → vue-ui-spark-trend-CgCLrMox.js} +86 -79
  110. package/dist/vue-ui-spark-trend-aW-de-rX.cjs +1 -0
  111. package/dist/vue-ui-sparkbar-BLUXUlTY.cjs +1 -0
  112. package/dist/{vue-ui-sparkbar-0ixbKZzf.js → vue-ui-sparkbar-BXku33sq.js} +90 -83
  113. package/dist/{vue-ui-sparkgauge-pdYb7OwH.js → vue-ui-sparkgauge-Doi0iu0L.js} +57 -50
  114. package/dist/vue-ui-sparkgauge-RTiKvSMp.cjs +1 -0
  115. package/dist/{vue-ui-sparkhistogram-N69h2q0U.js → vue-ui-sparkhistogram-BnMvXlAP.js} +74 -67
  116. package/dist/vue-ui-sparkhistogram-C6AgJH1C.cjs +1 -0
  117. package/dist/{vue-ui-sparkline-2BKYZMOb.js → vue-ui-sparkline-DI7fq_MR.js} +134 -125
  118. package/dist/vue-ui-sparkline-DpVCQ6W9.cjs +1 -0
  119. package/dist/vue-ui-sparkstackbar-Bvuq2sLW.cjs +1 -0
  120. package/dist/{vue-ui-sparkstackbar-sh03cuOU.js → vue-ui-sparkstackbar-oNnE5z1C.js} +84 -77
  121. package/dist/{vue-ui-stackbar-B1si-1RM.js → vue-ui-stackbar-6g7b3yyu.js} +205 -196
  122. package/dist/{vue-ui-stackbar-Dy_saeSe.cjs → vue-ui-stackbar-aWJDGIKV.cjs} +2 -2
  123. package/dist/{vue-ui-strip-plot-BYn-QrTQ.js → vue-ui-strip-plot-BFM8HIM8.js} +265 -248
  124. package/dist/vue-ui-strip-plot-GdjjVxMN.cjs +1 -0
  125. package/dist/{vue-ui-table-DQORPCDJ.js → vue-ui-table-Cw4Yz-IE.js} +1 -1
  126. package/dist/{vue-ui-table-Ce4waJaj.cjs → vue-ui-table-XOPmDCOB.cjs} +1 -1
  127. package/dist/vue-ui-table-heatmap-Bh48bMuU.cjs +1 -0
  128. package/dist/{vue-ui-table-heatmap-Csp7Tx8N.js → vue-ui-table-heatmap-DeRCR8l6.js} +55 -48
  129. package/dist/vue-ui-table-sparkline-C25qj1w_.cjs +1 -0
  130. package/dist/{vue-ui-table-sparkline-DdwVrfUj.js → vue-ui-table-sparkline-w3H-od91.js} +88 -81
  131. package/dist/{vue-ui-thermometer-I6ZnlfAv.js → vue-ui-thermometer-BySEVhT8.js} +162 -149
  132. package/dist/vue-ui-thermometer-DZrusaGY.cjs +1 -0
  133. package/dist/{vue-ui-timer-COOXcn14.cjs → vue-ui-timer-1p6J6hTn.cjs} +1 -1
  134. package/dist/{vue-ui-timer-pi1SazTU.js → vue-ui-timer-BN-9a2lj.js} +6 -6
  135. package/dist/vue-ui-tiremarks-CvIJeWKE.cjs +1 -0
  136. package/dist/vue-ui-tiremarks-EzYdOMyf.js +317 -0
  137. package/dist/vue-ui-treemap-CzNOr1iR.cjs +1 -0
  138. package/dist/{vue-ui-treemap-3FNUlKxL.js → vue-ui-treemap-Da0f6vaF.js} +283 -266
  139. package/dist/vue-ui-vertical-bar-B9shdfqo.cjs +4 -0
  140. package/dist/vue-ui-vertical-bar-D1cBfu5p.js +869 -0
  141. package/dist/vue-ui-waffle-Cg-7Fazv.cjs +1 -0
  142. package/dist/{vue-ui-waffle-XecHJIc-.js → vue-ui-waffle-DM2LsEP7.js} +258 -241
  143. package/dist/vue-ui-wheel-B9cmixxi.js +299 -0
  144. package/dist/vue-ui-wheel-C-JukdTy.cjs +1 -0
  145. package/dist/vue-ui-word-cloud-BLMWYOPy.cjs +1 -0
  146. package/dist/{vue-ui-word-cloud-DnhXUn5x.js → vue-ui-word-cloud-Baz7RXN2.js} +192 -183
  147. package/dist/vue-ui-xy-BHeSkJQ3.cjs +3 -0
  148. package/dist/{vue-ui-xy-CqlRuFMc.js → vue-ui-xy-DVnzVSqE.js} +339 -319
  149. package/dist/{vue-ui-xy-canvas-C8c2X5fk.js → vue-ui-xy-canvas-A7PKnWBs.js} +255 -246
  150. package/dist/vue-ui-xy-canvas-DAd-B98z.cjs +9 -0
  151. package/package.json +1 -1
  152. package/dist/index-FfZRtJ6A.cjs +0 -9
  153. package/dist/useResponsive-B3TrDDIG.cjs +0 -1
  154. package/dist/useResponsive-NZB-WLRF.js +0 -187
  155. package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +0 -1
  156. package/dist/vue-ui-bullet-ChaEgXvR.cjs +0 -23
  157. package/dist/vue-ui-candlestick--hPCfMFH.cjs +0 -2
  158. package/dist/vue-ui-carousel-table-DpRQklDZ.cjs +0 -1
  159. package/dist/vue-ui-chestnut-ae6x87wl.cjs +0 -6
  160. package/dist/vue-ui-donut-CplNylps.cjs +0 -1
  161. package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +0 -1
  162. package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +0 -9
  163. package/dist/vue-ui-flow-BPt35d5K.cjs +0 -1
  164. package/dist/vue-ui-galaxy-e06PkTmp.cjs +0 -1
  165. package/dist/vue-ui-gauge-DiZVIU0D.cjs +0 -1
  166. package/dist/vue-ui-heatmap-CbZcv_2I.cjs +0 -1
  167. package/dist/vue-ui-molecule-CbKMLrDT.cjs +0 -1
  168. package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +0 -1
  169. package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +0 -17
  170. package/dist/vue-ui-onion-CLvvu4Ku.cjs +0 -5
  171. package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +0 -8
  172. package/dist/vue-ui-quadrant-OM5J1mG3.cjs +0 -1
  173. package/dist/vue-ui-quick-chart-gG5Ar8-i.cjs +0 -15
  174. package/dist/vue-ui-radar-CAaHjDO7.cjs +0 -1
  175. package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +0 -1
  176. package/dist/vue-ui-relation-circle-I45_Sk5l.js +0 -349
  177. package/dist/vue-ui-rings-B9WQ7S5m.cjs +0 -2
  178. package/dist/vue-ui-scatter-BZfg1YIN.cjs +0 -1
  179. package/dist/vue-ui-skeleton-Djv08J67.cjs +0 -41
  180. package/dist/vue-ui-spark-trend-BqrPr63O.cjs +0 -1
  181. package/dist/vue-ui-sparkbar-CrTEPTU5.cjs +0 -1
  182. package/dist/vue-ui-sparkgauge-BYxpe_WV.cjs +0 -1
  183. package/dist/vue-ui-sparkhistogram-D21XDUH2.cjs +0 -1
  184. package/dist/vue-ui-sparkline-Cf4m-Fxo.cjs +0 -1
  185. package/dist/vue-ui-sparkstackbar-dAS8XoJs.cjs +0 -1
  186. package/dist/vue-ui-strip-plot-D53LABpZ.cjs +0 -1
  187. package/dist/vue-ui-table-heatmap-EqHt-O7Y.cjs +0 -1
  188. package/dist/vue-ui-table-sparkline-DONmVOMh.cjs +0 -1
  189. package/dist/vue-ui-thermometer-hQBkMa7u.cjs +0 -1
  190. package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +0 -1
  191. package/dist/vue-ui-tiremarks-vdPQYiDp.js +0 -303
  192. package/dist/vue-ui-treemap-Cv0TSFQa.cjs +0 -1
  193. package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +0 -4
  194. package/dist/vue-ui-vertical-bar-DwxpB46q.js +0 -852
  195. package/dist/vue-ui-waffle-CKM0QyJN.cjs +0 -1
  196. package/dist/vue-ui-wheel-Bbih5sSL.js +0 -282
  197. package/dist/vue-ui-wheel-C0dJrzOJ.cjs +0 -1
  198. package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +0 -1
  199. package/dist/vue-ui-xy-BDpqVzAq.cjs +0 -3
  200. package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +0 -9
@@ -1,25 +1,34 @@
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 B, 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 I, 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 P, n as H, q as tt, r as lt } from "./index-DnVHQ2xI.js";
3
- import { u as at, U as ot } from "./usePrinter-BEeNAqS5.js";
4
- import st from "./vue-ui-skeleton-aZmkNzAe.js";
5
- import ut from "./BaseIcon-rRli6Sfv.js";
6
- import nt from "./vue-ui-accordion-DspS4q3f.js";
7
- import { u as ze } from "./useNestedProp-Cox0K0Y5.js";
8
- import { _ as rt } from "./PackageVersion-CvCRsT5_.js";
9
- import { P as it } from "./PenAndPaper-Jb0pLt3G.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 = {
1
+ import { useCssVars as Ee, computed as m, ref as T, watch as Ue, onMounted as De, openBlock as a, createElementBlock as o, normalizeClass as k, normalizeStyle as h, createBlock as K, createCommentVNode as f, unref as n, createSlots as Ye, 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 qe, nextTick as ke } from "vue";
2
+ import { u as He, c as We, t as Ke, a as Je, p as P, b as Qe, g as ne, e as Q, d as re, o as Ze, X as et, s as S, w as we, i as G, f as z, F as $e, m as Ce, j as tt, k as V, n as H, q as lt, r as at } from "./index-DCsPHn9C.js";
3
+ import { u as ot, U as st } from "./usePrinter-siG3sKWo.js";
4
+ import ut from "./vue-ui-skeleton-DNuwx6_y.js";
5
+ import nt from "./BaseIcon-BX3x6oa7.js";
6
+ import rt from "./vue-ui-accordion-D4Er5Dy5.js";
7
+ import { u as Te } from "./useNestedProp-DdSlLeTW.js";
8
+ import { _ as it } from "./PackageVersion-Clrfvyd8.js";
9
+ import { P as ct } from "./PenAndPaper-BQzgk5kO.js";
10
+ import { _ as dt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
+ const vt = ["id"], yt = {
12
+ key: 1,
13
+ ref: "noTitle",
14
+ class: "vue-data-ui-no-title-space",
15
+ style: "height:36px; width: 100%;background:transparent"
16
+ }, ht = ["xmlns", "viewBox"], ft = { key: 0 }, bt = ["fill", "font-weight", "font-size", "x", "y"], pt = ["fill", "font-weight", "font-size", "x", "y"], gt = ["id"], _t = ["stop-color"], xt = ["stop-color"], mt = ["id"], kt = ["stop-color"], wt = ["stop-color"], $t = ["id"], Ct = ["stop-color"], Tt = ["stop-color"], zt = ["stop-color"], Nt = ["id"], St = ["stop-color"], Ft = ["stop-color"], Lt = ["stop-color"], It = ["id"], Pt = ["stop-color"], Vt = ["stop-color"], Rt = ["stop-color"], Bt = { key: 1 }, Mt = ["x", "y", "font-size", "font-weight", "fill"], Ot = ["x", "y", "font-size", "font-weight", "fill"], jt = ["d", "stroke"], At = ["cx", "cy", "r", "fill"], Xt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], Gt = { key: 2 }, Et = ["x", "y", "font-size", "fill", "onClick"], Ut = { key: 0 }, Dt = ["x", "y", "fill", "font-size", "font-weight"], Yt = ["x", "y", "height", "width", "fill", "rx", "onClick"], qt = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], Ht = { key: 3 }, Wt = ["x", "y", "fill", "font-size", "onClick"], Kt = ["d", "stroke"], Jt = ["fill", "cx", "cy", "r", "onClick"], Qt = { key: 4 }, Zt = ["x", "y", "font-size", "font-weight", "fill"], el = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], tl = ["y", "height", "width"], ll = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, al = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, ol = {
12
17
  viewBox: "0 0 20 20",
13
18
  height: "16",
14
19
  width: "16"
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 = {
20
+ }, sl = ["fill"], ul = { key: 6 }, nl = ["y", "height", "width"], rl = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, il = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, cl = {
16
21
  viewBox: "0 0 20 20",
17
22
  height: "16",
18
23
  width: "16"
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,
24
+ }, dl = ["fill"], vl = ["cx", "cy", "fill"], yl = ["d", "stroke"], hl = ["cx", "cy", "fill"], fl = ["d", "stroke"], bl = ["cx", "cy", "fill"], pl = ["cx", "cy", "fill"], gl = ["x", "y", "fill", "font-size", "font-weight"], _l = ["x", "y", "fill", "font-size", "font-weight"], 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", "text-anchor", "y", "fill", "font-size"], $l = ["x", "text-anchor", "y", "fill", "font-size"], Cl = ["x", "y", "font-size", "fill"], Tl = ["x", "y", "font-size", "fill"], zl = ["x", "y", "font-size", "fill"], Nl = {
25
+ key: 4,
21
26
  class: "vue-data-ui-watermark"
22
- }, Tl = { style: { "padding-top": "36px", position: "relative" } }, Nl = { class: "vue-ui-data-table" }, Sl = { key: 0 }, Fl = ["data-cell"], Ll = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Il = { 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"], Al = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ol = { key: 0 }, Xl = { key: 1 }, Gl = ["data-cell"], El = { 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 = { key: 0 }, Zl = { key: 1 }, ea = ["data-cell"], ta = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, la = { key: 0 }, aa = { key: 1 }, 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 = ["data-cell"], ia = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ca = ["data-cell"], da = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, va = ["data-cell"], ya = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ha = {
27
+ }, Sl = {
28
+ key: 6,
29
+ ref: "source",
30
+ dir: "auto"
31
+ }, Fl = { style: { "padding-top": "36px", position: "relative" } }, Ll = { class: "vue-ui-data-table" }, Il = { key: 0 }, Pl = ["data-cell"], Vl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Rl = { key: 0 }, Bl = { key: 1 }, Ml = ["data-cell"], Ol = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, jl = { key: 0 }, Al = { key: 1 }, Xl = ["data-cell"], Gl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, El = { key: 0 }, Ul = { key: 1 }, Dl = ["data-cell"], Yl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ql = { key: 0 }, Hl = { key: 1 }, Wl = ["data-cell"], Kl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Jl = { key: 0 }, Ql = { key: 1 }, Zl = ["data-cell"], ea = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ta = { key: 0 }, la = { key: 1 }, aa = ["data-cell"], oa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, sa = { key: 0 }, ua = { key: 1 }, 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 = ["data-cell"], ba = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, pa = {
23
32
  __name: "vue-ui-chestnut",
24
33
  props: {
25
34
  config: {
@@ -36,37 +45,37 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
36
45
  }
37
46
  },
38
47
  emits: ["selectRoot", "selectBranch", "selectNut"],
39
- setup(Te, { expose: Ne, emit: E }) {
40
- const V = Te;
41
- Ge((l) => ({
42
- "91833a3a": l.tdo
48
+ setup(ze, { expose: Ne, emit: E }) {
49
+ const R = ze;
50
+ Ee((l) => ({
51
+ e1bbb6a4: l.tdo
43
52
  }));
44
- const { vue_ui_chestnut: Se } = qe(), D = $(() => !!V.dataset && V.dataset.length), k = z(He()), Z = z(null), Fe = z(null), ie = z(0), e = $({
53
+ const { vue_ui_chestnut: Se } = He(), D = m(() => !!R.dataset && R.dataset.length), w = T(We()), Z = T(null), Fe = T(null), ie = T(0), e = m({
45
54
  get: () => ce(),
46
55
  set: (l) => l
47
56
  });
48
57
  function ce() {
49
- const l = ze({
50
- userConfig: V.config,
58
+ const l = Te({
59
+ userConfig: R.config,
51
60
  defaultConfig: Se
52
61
  });
53
62
  return l.theme ? {
54
- ...ze({
55
- userConfig: We.vue_ui_chestnut[l.theme] || V.config,
63
+ ...Te({
64
+ userConfig: Ke.vue_ui_chestnut[l.theme] || R.config,
56
65
  defaultConfig: l
57
66
  }),
58
- customPalette: Ke[l.theme] || I
67
+ customPalette: Je[l.theme] || P
59
68
  } : l;
60
69
  }
61
- Ee(() => V.config, (l) => {
70
+ Ue(() => R.config, (l) => {
62
71
  e.value = ce(), ge();
63
72
  }, { deep: !0 });
64
- const { isPrinting: de, isImaging: ve, generatePdf: ye, generateImage: he } = at({
65
- elementId: `vue-ui-chestnut_${k.value}`,
73
+ const { isPrinting: de, isImaging: ve, generatePdf: ye, generateImage: he } = ot({
74
+ elementId: `vue-ui-chestnut_${w.value}`,
66
75
  fileName: e.value.style.chart.layout.title.text || "vue-ui-chestnut"
67
- }), ee = $(() => Je(e.value.customPalette)), Y = z({
76
+ }), Le = m(() => e.value.userOptions.show), ee = m(() => Qe(e.value.customPalette)), Y = T({
68
77
  showTable: e.value.table.show
69
- }), te = z(null), fe = z(!1), Le = $(() => e.value.table.responsiveBreakpoint), r = z({
78
+ }), te = T(null), fe = T(!1), Ie = m(() => e.value.table.responsiveBreakpoint), r = T({
70
79
  gap: 6,
71
80
  padding: {
72
81
  top: 102,
@@ -78,7 +87,7 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
78
87
  height: 0,
79
88
  branchSize: 32,
80
89
  branchStart: 128
81
- }), C = $(() => ({
90
+ }), C = m(() => ({
82
91
  left: r.value.padding.left,
83
92
  top: r.value.padding.top,
84
93
  right: r.value.width - r.value.padding.right,
@@ -86,7 +95,7 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
86
95
  width: r.value.width - (r.value.padding.left + r.value.padding.right),
87
96
  height: r.value.height - (r.value.padding.top + r.value.padding.bottom),
88
97
  seedX: r.value.padding.left + 64
89
- })), 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) => {
98
+ })), B = m(() => D.value ? R.dataset.flatMap((l) => (l.branches || []).map((i) => i.value || 0)).reduce((l, i) => l + i, 0) : 0), N = m(() => (R.dataset.forEach((l, i) => {
90
99
  ne({
91
100
  datasetObject: l,
92
101
  requiredAttributes: ["name", "branches"]
@@ -122,12 +131,12 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
122
131
  });
123
132
  });
124
133
  });
125
- }), V.dataset.map((l, i) => {
134
+ }), R.dataset.map((l, i) => {
126
135
  const t = (l.branches || []).map((u) => u.value || 0).reduce((u, b) => u + b, 0);
127
136
  return {
128
137
  ...l,
129
- color: re(l.color) || ee.value[i] || I[i] || I[i % I.length],
130
- id: l.id || `root_${i}_${k.value}`,
138
+ color: re(l.color) || ee.value[i] || P[i] || P[i % P.length],
139
+ id: l.id || `root_${i}_${w.value}`,
131
140
  type: "root",
132
141
  total: t,
133
142
  rootIndex: i,
@@ -135,23 +144,23 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
135
144
  ...u,
136
145
  rootName: l.name,
137
146
  rootIndex: i,
138
- color: re(l.color) || ee.value[i] || I[i] || I[i % I.length],
147
+ color: re(l.color) || ee.value[i] || P[i] || P[i % P.length],
139
148
  value: u.value >= 0 ? u.value : 0,
140
- id: u.id || `branch_${i}_${b}_${k.value}`,
149
+ id: u.id || `branch_${i}_${b}_${w.value}`,
141
150
  proportionToRoot: u.value / t,
142
151
  type: "branch",
143
152
  breakdown: (u.breakdown || []).map((y, p) => ({
144
153
  table: {
145
154
  rootName: l.name,
146
155
  rootValue: t,
147
- rootToTotal: t / R.value,
156
+ rootToTotal: t / B.value,
148
157
  branchName: u.name,
149
158
  branchValue: u.value,
150
- branchToTotal: u.value / R.value,
159
+ branchToTotal: u.value / B.value,
151
160
  branchToRoot: u.value / t,
152
161
  nutName: y.name,
153
162
  nutValue: y.value,
154
- nutToTotal: y.value / R.value,
163
+ nutToTotal: y.value / B.value,
155
164
  nutToRoot: y.value / t,
156
165
  nutToBranch: y.value / u.value
157
166
  },
@@ -162,46 +171,46 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
162
171
  branchTotal: u.value >= 0 ? u.value : 0,
163
172
  proportionToBranch: y.value / u.value,
164
173
  proportionToRoot: y.value / t,
165
- proportionToTree: y.value / R.value,
174
+ proportionToTree: y.value / B.value,
166
175
  rootIndex: i,
167
- id: y.id || `nut_${i}_${b}_${p}_${k.value}`,
168
- color: re(y.color) || ee.value[p] || I[p] || I[p % I.length],
176
+ id: y.id || `nut_${i}_${b}_${p}_${w.value}`,
177
+ color: re(y.color) || ee.value[p] || P[p] || P[p % P.length],
169
178
  value: y.value >= 0 ? y.value : 0
170
179
  }))
171
180
  }))
172
181
  };
173
182
  })));
174
- function Ie() {
183
+ function Pe() {
175
184
  return N.value;
176
185
  }
177
- 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) => {
178
- const t = C.value.height / N.value.length / 2, u = l.total / Ve.value * (t > 64 ? 64 : t);
186
+ const Ve = m(() => N.value.flatMap((l) => l.branches).length), Re = m(() => Math.max(...N.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), Be = m(() => Math.max(...N.value.flatMap((l) => l.branches.map((i) => i.value)))), be = m(() => 256 + r.value.padding.left), O = m(() => N.value.sort((l, i) => i.total - l.total).map((l, i) => {
187
+ const t = C.value.height / N.value.length / 2, u = l.total / Re.value * (t > 64 ? 64 : t);
179
188
  return {
180
189
  ...l,
181
190
  x: C.value.seedX,
182
191
  y: C.value.top + C.value.height / N.value.length * (i + 1) - (C.value.height / N.value.length / 2 + r.value.gap / 2),
183
192
  r: u < r.value.branchSize / 2 ? r.value.branchSize / 2 : u
184
193
  };
185
- })), 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) => ({
194
+ })), Me = m(() => 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), Oe = m(() => O.value.flatMap((l) => l.branches)), j = m(() => Oe.value.sort((l, i) => i.value - l.value).map((l, i) => ({
186
195
  ...l,
187
196
  y1: i * r.value.branchSize + C.value.top + i * r.value.gap,
188
197
  y2: i * r.value.branchSize + r.value.branchSize,
189
198
  x1: be.value,
190
- x2: 384 * l.value / Re.value * Be.value + be.value
199
+ x2: 384 * l.value / Be.value * Me.value + be.value
191
200
  })));
192
201
  function le(l) {
193
- const i = j.value.find((t) => t.rootIndex === l.rootIndex);
202
+ const i = O.value.find((t) => t.rootIndex === l.rootIndex);
194
203
  return { x: i.x, y: i.y, r: i.r };
195
204
  }
196
- const d = z(null), M = z(null), x = z(null), F = z(null);
197
- function w() {
205
+ const d = T(null), M = T(null), x = T(null), F = T(null);
206
+ function $() {
198
207
  d.value = null, x.value = null, F.value = null;
199
208
  }
200
209
  function L(l) {
201
210
  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;
202
211
  }
203
212
  function je(l) {
204
- w(), ke(() => {
213
+ $(), ke(() => {
205
214
  d.value = l, x.value = l, M.value = Ce(
206
215
  { series: l.breakdown, base: 1 },
207
216
  l.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
@@ -211,14 +220,14 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
211
220
  ), E("selectNut", l.breakdown);
212
221
  });
213
222
  }
214
- function O() {
223
+ function A() {
215
224
  d.value = null, M.value = null, E("selectNut", null);
216
225
  }
217
226
  function ae(l) {
218
- x.value && x.value.id === l.id ? (x.value = null, w(), E("selectBranch", null)) : (w(), x.value = l, E("selectBranch", l));
227
+ x.value && x.value.id === l.id ? (x.value = null, $(), E("selectBranch", null)) : ($(), x.value = l, E("selectBranch", l));
219
228
  }
220
229
  function pe(l) {
221
- F.value && F.value.id === l.id ? (w(), E("selectRoot", null)) : (w(), F.value = l, E("selectRoot", l));
230
+ F.value && F.value.id === l.id ? ($(), E("selectRoot", null)) : ($(), F.value = l, E("selectRoot", l));
222
231
  }
223
232
  function Ae() {
224
233
  return C.value.bottom - (d.value.y1 + 180) < 0 ? 0 : C.value.bottom;
@@ -226,26 +235,26 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
226
235
  function U(l) {
227
236
  return l.proportion * 100 > e.value.style.chart.layout.nuts.selected.labels.dataLabels.hideUnderValue;
228
237
  }
229
- function Oe() {
238
+ function Xe() {
230
239
  const l = new ResizeObserver((i) => {
231
240
  i.forEach((t) => {
232
- fe.value = t.contentRect.width < Le.value;
241
+ fe.value = t.contentRect.width < Ie.value;
233
242
  });
234
243
  });
235
244
  te.value && l.observe(te.value);
236
245
  }
237
- Ue(() => {
246
+ De(() => {
238
247
  ge();
239
248
  });
240
249
  function ge() {
241
- Qe(V.dataset) && Q({
250
+ Ze(R.dataset) && Q({
242
251
  componentName: "VueUiChestnut",
243
252
  type: "dataset"
244
253
  });
245
- const l = Pe.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
246
- r.value.height = l, Oe();
254
+ const l = Ve.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
255
+ r.value.height = l, Xe();
247
256
  }
248
- const v = $(() => {
257
+ const v = m(() => {
249
258
  const l = [
250
259
  e.value.table.th.translations.rootName,
251
260
  e.value.table.th.translations.rootValue,
@@ -259,12 +268,12 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
259
268
  e.value.table.th.translations.nutToBranch,
260
269
  e.value.table.th.translations.nutToRoot,
261
270
  e.value.table.th.translations.nutToTotal
262
- ], i = N.value.flatMap((t, u) => t.branches.flatMap((b, y) => b.breakdown.flatMap((p, fa) => p.table)));
271
+ ], i = N.value.flatMap((t, u) => t.branches.flatMap((b, y) => b.breakdown.flatMap((p, ga) => p.table)));
263
272
  return { head: l, body: i };
264
273
  });
265
274
  function _e() {
266
275
  ke(() => {
267
- 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) => [
276
+ 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) => [
268
277
  v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootName,
269
278
  v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootValue,
270
279
  v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootToTotal,
@@ -277,36 +286,36 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
277
286
  y.nutToBranch,
278
287
  y.nutToRoot,
279
288
  y.nutToTotal
280
- ]), u = l.concat([i]).concat(t), b = tt(u);
281
- lt({ csvContent: b, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
289
+ ]), u = l.concat([i]).concat(t), b = lt(u);
290
+ at({ csvContent: b, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
282
291
  });
283
292
  }
284
- const q = z(!1);
285
- function Xe(l) {
293
+ const q = T(!1);
294
+ function Ge(l) {
286
295
  q.value = l, ie.value += 1;
287
296
  }
288
297
  function xe() {
289
298
  Y.value.showTable = !Y.value.showTable;
290
299
  }
291
- const W = z(!1);
300
+ const W = T(!1);
292
301
  function oe() {
293
302
  W.value = !W.value;
294
303
  }
295
304
  return Ne({
296
- getData: Ie,
305
+ getData: Pe,
297
306
  generatePdf: ye,
298
307
  generateCsv: _e,
299
308
  generateImage: he,
300
309
  toggleTable: xe,
301
310
  toggleAnnotator: oe
302
311
  }), (l, i) => (a(), o("div", {
303
- class: m(`vue-ui-chestnut ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
312
+ class: k(`vue-ui-chestnut ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
304
313
  ref_key: "chestnutChart",
305
314
  ref: Z,
306
- id: `vue-ui-chestnut_${k.value}`,
307
- style: h(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;padding-top:36px;background:${e.value.style.chart.backgroundColor}`)
315
+ id: `vue-ui-chestnut_${w.value}`,
316
+ style: h(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`)
308
317
  }, [
309
- e.value.userOptions.buttons.annotator ? (a(), K(it, {
318
+ e.value.userOptions.buttons.annotator ? (a(), K(ct, {
310
319
  key: 0,
311
320
  parent: Z.value,
312
321
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -314,7 +323,8 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
314
323
  active: W.value,
315
324
  onClose: oe
316
325
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : f("", !0),
317
- e.value.userOptions.show && D.value ? (a(), K(ot, {
326
+ Le.value ? (a(), o("div", yt, null, 512)) : f("", !0),
327
+ e.value.userOptions.show && D.value ? (a(), K(st, {
318
328
  ref_key: "details",
319
329
  ref: Fe,
320
330
  key: `user_options_${ie.value}`,
@@ -322,7 +332,7 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
322
332
  color: e.value.style.chart.color,
323
333
  isImaging: n(ve),
324
334
  isPrinting: n(de),
325
- uid: k.value,
335
+ uid: w.value,
326
336
  hasPdf: e.value.userOptions.buttons.pdf,
327
337
  hasImg: e.value.userOptions.buttons.img,
328
338
  hasXls: e.value.userOptions.buttons.csv,
@@ -334,65 +344,65 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
334
344
  position: e.value.userOptions.position,
335
345
  hasAnnotator: e.value.userOptions.buttons.annotator,
336
346
  isAnnotation: W.value,
337
- onToggleFullscreen: Xe,
347
+ onToggleFullscreen: Ge,
338
348
  onGeneratePdf: n(ye),
339
349
  onGenerateCsv: _e,
340
350
  onGenerateImage: n(he),
341
351
  onToggleTable: xe,
342
352
  onToggleAnnotator: oe
343
- }, De({ _: 2 }, [
353
+ }, Ye({ _: 2 }, [
344
354
  l.$slots.optionPdf ? {
345
355
  name: "optionPdf",
346
356
  fn: X(() => [
347
- B(l.$slots, "optionPdf", {}, void 0, !0)
357
+ I(l.$slots, "optionPdf", {}, void 0, !0)
348
358
  ]),
349
359
  key: "0"
350
360
  } : void 0,
351
361
  l.$slots.optionCsv ? {
352
362
  name: "optionCsv",
353
363
  fn: X(() => [
354
- B(l.$slots, "optionCsv", {}, void 0, !0)
364
+ I(l.$slots, "optionCsv", {}, void 0, !0)
355
365
  ]),
356
366
  key: "1"
357
367
  } : void 0,
358
368
  l.$slots.optionImg ? {
359
369
  name: "optionImg",
360
370
  fn: X(() => [
361
- B(l.$slots, "optionImg", {}, void 0, !0)
371
+ I(l.$slots, "optionImg", {}, void 0, !0)
362
372
  ]),
363
373
  key: "2"
364
374
  } : void 0,
365
375
  l.$slots.optionTable ? {
366
376
  name: "optionTable",
367
377
  fn: X(() => [
368
- B(l.$slots, "optionTable", {}, void 0, !0)
378
+ I(l.$slots, "optionTable", {}, void 0, !0)
369
379
  ]),
370
380
  key: "3"
371
381
  } : void 0,
372
382
  l.$slots.optionFullscreen ? {
373
383
  name: "optionFullscreen",
374
384
  fn: X(({ toggleFullscreen: t, isFullscreen: u }) => [
375
- B(l.$slots, "optionFullscreen", se(ue({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
385
+ I(l.$slots, "optionFullscreen", se(ue({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
376
386
  ]),
377
387
  key: "4"
378
388
  } : void 0,
379
389
  l.$slots.optionAnnotator ? {
380
390
  name: "optionAnnotator",
381
391
  fn: X(({ toggleAnnotator: t, isAnnotator: u }) => [
382
- B(l.$slots, "optionAnnotator", se(ue({ toggleAnnotator: t, isAnnotator: u })), void 0, !0)
392
+ I(l.$slots, "optionAnnotator", se(ue({ toggleAnnotator: t, isAnnotator: u })), void 0, !0)
383
393
  ]),
384
394
  key: "5"
385
395
  } : void 0
386
396
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : f("", !0),
387
397
  r.value.height > 0 && D.value ? (a(), o("svg", {
388
- key: 2,
389
- xmlns: n(Ze),
390
- class: m({ "vue-data-ui-fullscreen--on": q.value, "vue-data-ui-fulscreen--off": !q.value }),
398
+ key: 3,
399
+ xmlns: n(et),
400
+ class: k({ "vue-data-ui-fullscreen--on": q.value, "vue-data-ui-fulscreen--off": !q.value }),
391
401
  viewBox: `0 0 ${r.value.width} ${r.value.height}`,
392
402
  style: h(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
393
403
  }, [
394
- me(rt),
395
- d.value ? f("", !0) : (a(), o("g", yt, [
404
+ me(it),
405
+ d.value ? f("", !0) : (a(), o("g", ft, [
396
406
  e.value.style.chart.layout.title.text ? (a(), o("text", {
397
407
  key: 0,
398
408
  "text-anchor": "middle",
@@ -401,8 +411,8 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
401
411
  "font-size": e.value.style.chart.layout.title.fontSize,
402
412
  x: r.value.width / 2,
403
413
  y: 12 + e.value.style.chart.layout.title.fontSize + e.value.style.chart.layout.title.offsetY,
404
- onClick: w
405
- }, c(e.value.style.chart.layout.title.text), 9, ht)) : f("", !0),
414
+ onClick: $
415
+ }, c(e.value.style.chart.layout.title.text), 9, bt)) : f("", !0),
406
416
  e.value.style.chart.layout.title.subtitle.text ? (a(), o("text", {
407
417
  key: 1,
408
418
  "text-anchor": "middle",
@@ -411,8 +421,8 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
411
421
  "font-size": e.value.style.chart.layout.title.subtitle.fontSize,
412
422
  x: r.value.width / 2,
413
423
  y: 48 + e.value.style.chart.layout.title.subtitle.fontSize + e.value.style.chart.layout.title.subtitle.offsetY,
414
- onClick: w
415
- }, c(e.value.style.chart.layout.title.subtitle.text), 9, ft)) : f("", !0)
424
+ onClick: $
425
+ }, c(e.value.style.chart.layout.title.subtitle.text), 9, pt)) : f("", !0)
416
426
  ])),
417
427
  s("defs", null, [
418
428
  (a(!0), o(g, null, _(N.value, (t, u) => (a(), o("radialGradient", {
@@ -421,98 +431,98 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
421
431
  r: "50%",
422
432
  fx: "50%",
423
433
  fy: "50%",
424
- id: `root_gradient_${k.value}_${t.rootIndex}`
434
+ id: `root_gradient_${w.value}_${t.rootIndex}`
425
435
  }, [
426
436
  s("stop", {
427
437
  offset: "0%",
428
438
  "stop-color": n(S)(n(we)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
429
- }, null, 8, pt),
439
+ }, null, 8, _t),
430
440
  s("stop", {
431
441
  offset: "100%",
432
442
  "stop-color": t.color
433
- }, null, 8, gt)
434
- ], 8, bt))), 256)),
443
+ }, null, 8, xt)
444
+ ], 8, gt))), 256)),
435
445
  (a(!0), o(g, null, _(N.value, (t) => (a(), o("linearGradient", {
436
446
  x1: "0%",
437
447
  y1: "0%",
438
448
  x2: "100%",
439
449
  y2: "0%",
440
- id: `branch_gradient_${k.value}_${t.rootIndex}`
450
+ id: `branch_gradient_${w.value}_${t.rootIndex}`
441
451
  }, [
442
452
  s("stop", {
443
453
  offset: "0%",
444
454
  "stop-color": t.color
445
- }, null, 8, xt),
455
+ }, null, 8, kt),
446
456
  s("stop", {
447
457
  offset: "100%",
448
458
  "stop-color": n(S)(n(we)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
449
- }, null, 8, mt)
450
- ], 8, _t))), 256)),
459
+ }, null, 8, wt)
460
+ ], 8, mt))), 256)),
451
461
  s("radialGradient", {
452
462
  cx: "50%",
453
463
  cy: "50%",
454
464
  r: "50%",
455
465
  fx: "50%",
456
466
  fy: "50%",
457
- id: `nutpick_${k.value}`
467
+ id: `nutpick_${w.value}`
458
468
  }, [
459
469
  s("stop", {
460
470
  offset: "0%",
461
471
  "stop-color": n(S)("#FFFFFF", 0)
462
- }, null, 8, wt),
472
+ }, null, 8, Ct),
463
473
  s("stop", {
464
474
  offset: "80%",
465
475
  "stop-color": n(S)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
466
- }, null, 8, $t),
476
+ }, null, 8, Tt),
467
477
  s("stop", {
468
478
  offset: "100%",
469
479
  "stop-color": n(S)("#FFFFFF", 0)
470
- }, null, 8, Ct)
471
- ], 8, kt),
480
+ }, null, 8, zt)
481
+ ], 8, $t),
472
482
  s("radialGradient", {
473
483
  cx: "50%",
474
484
  cy: "50%",
475
485
  r: "50%",
476
486
  fx: "50%",
477
487
  fy: "50%",
478
- id: `nut_${k.value}`
488
+ id: `nut_${w.value}`
479
489
  }, [
480
490
  s("stop", {
481
491
  offset: "0%",
482
492
  "stop-color": n(S)("#FFFFFF", 0)
483
- }, null, 8, Tt),
493
+ }, null, 8, St),
484
494
  s("stop", {
485
495
  offset: "80%",
486
496
  "stop-color": n(S)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
487
- }, null, 8, Nt),
497
+ }, null, 8, Ft),
488
498
  s("stop", {
489
499
  offset: "100%",
490
500
  "stop-color": n(S)("#FFFFFF", 0)
491
- }, null, 8, St)
492
- ], 8, zt),
501
+ }, null, 8, Lt)
502
+ ], 8, Nt),
493
503
  s("radialGradient", {
494
504
  cx: "50%",
495
505
  cy: "50%",
496
506
  r: "50%",
497
507
  fx: "50%",
498
508
  fy: "50%",
499
- id: `nut_underlayer_${k.value}`
509
+ id: `nut_underlayer_${w.value}`
500
510
  }, [
501
511
  s("stop", {
502
512
  offset: "0%",
503
513
  "stop-color": n(S)(e.value.style.chart.backgroundColor, 100)
504
- }, null, 8, Lt),
514
+ }, null, 8, Pt),
505
515
  s("stop", {
506
516
  offset: "80%",
507
517
  "stop-color": n(S)(e.value.style.chart.backgroundColor, 60)
508
- }, null, 8, It),
518
+ }, null, 8, Vt),
509
519
  s("stop", {
510
520
  offset: "100%",
511
521
  "stop-color": n(S)(e.value.style.chart.backgroundColor, 0)
512
- }, null, 8, Pt)
513
- ], 8, Ft)
522
+ }, null, 8, Rt)
523
+ ], 8, It)
514
524
  ]),
515
- e.value.style.chart.layout.grandTotal.show ? (a(), o("g", Vt, [
525
+ e.value.style.chart.layout.grandTotal.show ? (a(), o("g", Bt, [
516
526
  s("text", {
517
527
  x: C.value.seedX,
518
528
  y: 32 + e.value.style.chart.layout.grandTotal.offsetY,
@@ -520,8 +530,8 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
520
530
  "font-weight": e.value.style.chart.layout.grandTotal.bold ? "bold" : "normal",
521
531
  fill: e.value.style.chart.layout.grandTotal.color,
522
532
  "text-anchor": "middle",
523
- onClick: w
524
- }, c(e.value.style.chart.layout.grandTotal.text), 9, Rt),
533
+ onClick: $
534
+ }, c(e.value.style.chart.layout.grandTotal.text), 9, Mt),
525
535
  s("text", {
526
536
  x: C.value.seedX,
527
537
  y: 38 + e.value.style.chart.layout.grandTotal.fontSize + e.value.style.chart.layout.grandTotal.offsetY,
@@ -529,19 +539,19 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
529
539
  "font-weight": e.value.style.chart.layout.grandTotal.bold ? "bold" : "normal",
530
540
  fill: e.value.style.chart.layout.grandTotal.color,
531
541
  "text-anchor": "middle",
532
- onClick: w
542
+ onClick: $
533
543
  }, c(n(G)(
534
544
  e.value.style.chart.layout.grandTotal.formatter,
535
- R.value,
536
- n(T)({
545
+ B.value,
546
+ n(z)({
537
547
  p: e.value.style.chart.layout.grandTotal.prefix,
538
- v: R.value,
548
+ v: B.value,
539
549
  s: e.value.style.chart.layout.grandTotal.suffix,
540
550
  r: e.value.style.chart.layout.grandTotal.roundingValue
541
551
  })
542
- )), 9, Bt)
552
+ )), 9, Ot)
543
553
  ])) : f("", !0),
544
- (a(!0), o(g, null, _(A.value, (t) => (a(), o("g", null, [
554
+ (a(!0), o(g, null, _(j.value, (t) => (a(), o("g", null, [
545
555
  (a(!0), o(g, null, _(r.value.branchSize, (u, b) => (a(), o("path", {
546
556
  d: `M
547
557
  ${t.x1},${t.y1 + b}
@@ -554,29 +564,29 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
554
564
  "stroke-width": "2",
555
565
  "shape-rendering": "cirspEdges",
556
566
  style: h(`opacity:${L(t) ? 1 : 0}`),
557
- onClick: w
558
- }, null, 12, Mt))), 256))
567
+ onClick: $
568
+ }, null, 12, jt))), 256))
559
569
  ]))), 256)),
560
- (a(!0), o(g, null, _(j.value, (t) => (a(), o("circle", {
570
+ (a(!0), o(g, null, _(O.value, (t) => (a(), o("circle", {
561
571
  cx: t.x,
562
572
  cy: t.y,
563
573
  r: t.r,
564
574
  fill: e.value.style.chart.layout.roots.underlayerColor,
565
575
  stroke: "none",
566
576
  style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`)
567
- }, null, 12, jt))), 256)),
568
- (a(!0), o(g, null, _(j.value, (t, u) => (a(), o("circle", {
577
+ }, null, 12, At))), 256)),
578
+ (a(!0), o(g, null, _(O.value, (t, u) => (a(), o("circle", {
569
579
  cx: t.x,
570
580
  cy: t.y,
571
581
  r: t.r,
572
- fill: e.value.style.chart.layout.roots.useGradient ? `url(#root_gradient_${k.value}_${t.rootIndex})` : t.color,
582
+ fill: e.value.style.chart.layout.roots.useGradient ? `url(#root_gradient_${w.value}_${t.rootIndex})` : t.color,
573
583
  stroke: e.value.style.chart.layout.roots.stroke,
574
584
  "stroke-width": e.value.style.chart.layout.roots.strokeWidth,
575
585
  style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
576
586
  onClick: (b) => pe(t)
577
- }, null, 12, At))), 256)),
578
- e.value.style.chart.layout.roots.labels.show ? (a(), o("g", Ot, [
579
- (a(!0), o(g, null, _(j.value, (t, u) => (a(), o("text", {
587
+ }, null, 12, Xt))), 256)),
588
+ e.value.style.chart.layout.roots.labels.show ? (a(), o("g", Gt, [
589
+ (a(!0), o(g, null, _(O.value, (t, u) => (a(), o("text", {
580
590
  x: t.x,
581
591
  y: t.y + e.value.style.chart.layout.roots.labels.fontSize / 2.6,
582
592
  "text-anchor": "middle",
@@ -588,16 +598,16 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
588
598
  }, c(n(G)(
589
599
  e.value.style.chart.layout.roots.labels.formatter,
590
600
  t.total,
591
- n(T)({
601
+ n(z)({
592
602
  p: e.value.style.chart.layout.roots.labels.prefix,
593
603
  v: t.total,
594
604
  s: e.value.style.chart.layout.roots.labels.suffix,
595
605
  r: e.value.style.chart.layout.roots.labels.roundingValue
596
606
  }),
597
607
  { datapoint: t }
598
- )), 13, Xt))), 256)),
599
- (a(!0), o(g, null, _(j.value, (t) => (a(), o("g", null, [
600
- 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, [
608
+ )), 13, Et))), 256)),
609
+ (a(!0), o(g, null, _(O.value, (t) => (a(), o("g", null, [
610
+ d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || F.value && t.rootIndex === F.value.rootIndex ? (a(), o("g", Ut, [
601
611
  s("text", {
602
612
  x: t.x,
603
613
  y: t.y + t.r + 24,
@@ -605,12 +615,12 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
605
615
  fill: e.value.style.chart.layout.roots.labels.name.color,
606
616
  "font-size": e.value.style.chart.layout.roots.labels.name.fontSize,
607
617
  "font-weight": e.value.style.chart.layout.roots.labels.name.bold ? "bold" : "normal",
608
- onClick: w
609
- }, c(t.name), 9, Et)
618
+ onClick: $
619
+ }, c(t.name), 9, Dt)
610
620
  ])) : f("", !0)
611
621
  ]))), 256))
612
622
  ])) : f("", !0),
613
- (a(!0), o(g, null, _(A.value, (t) => (a(), o("rect", {
623
+ (a(!0), o(g, null, _(j.value, (t) => (a(), o("rect", {
614
624
  x: t.x1,
615
625
  y: t.y1,
616
626
  height: r.value.branchSize,
@@ -620,21 +630,21 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
620
630
  stroke: "none",
621
631
  style: h(`opacity:${L(t) ? 1 : 0.05}`),
622
632
  onClick: (u) => ae(t)
623
- }, null, 12, Ut))), 256)),
624
- (a(!0), o(g, null, _(A.value, (t, u) => (a(), o("rect", {
633
+ }, null, 12, Yt))), 256)),
634
+ (a(!0), o(g, null, _(j.value, (t, u) => (a(), o("rect", {
625
635
  x: t.x1,
626
636
  y: t.y1,
627
637
  height: r.value.branchSize,
628
638
  width: t.x2 - t.x1,
629
- fill: e.value.style.chart.layout.branches.useGradient ? `url(#branch_gradient_${k.value}_${t.rootIndex})` : t.color,
639
+ fill: e.value.style.chart.layout.branches.useGradient ? `url(#branch_gradient_${w.value}_${t.rootIndex})` : t.color,
630
640
  rx: e.value.style.chart.layout.branches.borderRadius,
631
641
  stroke: e.value.style.chart.layout.branches.stroke,
632
642
  "stroke-width": e.value.style.chart.layout.branches.strokeWidth,
633
643
  style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
634
644
  onClick: (b) => ae(t)
635
- }, null, 12, Dt))), 256)),
636
- e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", Yt, [
637
- (a(!0), o(g, null, _(A.value, (t) => (a(), o("g", null, [
645
+ }, null, 12, qt))), 256)),
646
+ e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", Ht, [
647
+ (a(!0), o(g, null, _(j.value, (t) => (a(), o("g", null, [
638
648
  t.proportionToRoot * 100 > e.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (a(), o("text", {
639
649
  key: 0,
640
650
  x: t.x1 + 6,
@@ -648,17 +658,17 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
648
658
  }, c(n(G)(
649
659
  e.value.style.chart.layout.branches.labels.dataLabels.formatter,
650
660
  t.value,
651
- n(T)({
661
+ n(z)({
652
662
  p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
653
663
  v: t.value,
654
664
  s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
655
665
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
656
666
  }),
657
667
  { datapoint: t }
658
- )), 13, qt)) : f("", !0)
668
+ )), 13, Wt)) : f("", !0)
659
669
  ]))), 256))
660
670
  ])) : f("", !0),
661
- (a(!0), o(g, null, _(A.value, (t, u) => (a(), o("g", null, [
671
+ (a(!0), o(g, null, _(j.value, (t, u) => (a(), o("g", null, [
662
672
  (a(!0), o(g, null, _(n(Ce)(
663
673
  { series: t.breakdown, base: 1 },
664
674
  t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
@@ -671,18 +681,18 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
671
681
  "stroke-width": 10,
672
682
  fill: "none",
673
683
  style: h(`opacity:${L(t) ? 1 : 0.1}`)
674
- }, null, 12, Ht))), 256)),
684
+ }, null, 12, Kt))), 256)),
675
685
  s("circle", {
676
- fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${k.value})` : "transparent",
686
+ fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${w.value})` : "transparent",
677
687
  cx: t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
678
688
  cy: t.y1 + r.value.branchSize / 2,
679
689
  r: r.value.branchSize / 2 + 2,
680
690
  onClick: (b) => je(t),
681
691
  style: h(`cursor:pointer;opacity:${L(t) ? 1 : 0.1}`)
682
- }, null, 12, Wt)
692
+ }, null, 12, Jt)
683
693
  ]))), 256)),
684
- e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", Kt, [
685
- (a(!0), o(g, null, _(A.value, (t) => (a(), o("text", {
694
+ e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", Qt, [
695
+ (a(!0), o(g, null, _(j.value, (t) => (a(), o("text", {
686
696
  x: t.x2 + r.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
687
697
  y: t.y1 + r.value.branchSize / 2 + 5,
688
698
  "font-size": e.value.style.chart.layout.branches.labels.fontSize,
@@ -690,7 +700,7 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
690
700
  fill: e.value.style.chart.layout.branches.labels.color,
691
701
  "text-anchor": "start",
692
702
  style: h(`opacity:${L(t) ? 1 : 0.1}`)
693
- }, c(t.name), 13, Jt))), 256))
703
+ }, c(t.name), 13, Zt))), 256))
694
704
  ])) : f("", !0),
695
705
  s("line", {
696
706
  x1: 256 + r.value.padding.left,
@@ -699,7 +709,7 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
699
709
  y2: C.value.bottom,
700
710
  stroke: e.value.style.chart.layout.verticalSeparator.stroke,
701
711
  "stroke-width": e.value.style.chart.layout.verticalSeparator.strokeWidth
702
- }, null, 8, Qt),
712
+ }, null, 8, el),
703
713
  !d.value && !x.value ? (a(), o("foreignObject", {
704
714
  key: 5,
705
715
  x: 0,
@@ -707,27 +717,27 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
707
717
  height: r.value.height - C.value.bottom,
708
718
  width: r.value.width,
709
719
  style: { overflow: "visible" },
710
- onClick: w
720
+ onClick: $
711
721
  }, [
712
- s("div", el, [
713
- s("div", tl, [
714
- (a(!0), o(g, null, _(j.value, (t) => (a(), o("div", {
722
+ s("div", ll, [
723
+ s("div", al, [
724
+ (a(!0), o(g, null, _(O.value, (t) => (a(), o("div", {
715
725
  style: h(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
716
726
  }, [
717
- (a(), o("svg", ll, [
727
+ (a(), o("svg", ol, [
718
728
  s("circle", {
719
729
  cx: "10",
720
730
  cy: "10",
721
731
  r: "10",
722
732
  fill: t.color,
723
733
  stroke: "none"
724
- }, null, 8, al)
734
+ }, null, 8, sl)
725
735
  ])),
726
736
  s("span", null, c(t.name) + ":", 1),
727
737
  s("b", null, c(n(G)(
728
738
  e.value.style.chart.layout.roots.labels.formatter,
729
739
  t.total,
730
- n(T)({
740
+ n(z)({
731
741
  p: e.value.style.chart.layout.legend.prefix,
732
742
  v: t.total,
733
743
  s: e.value.style.chart.layout.legend.suffix,
@@ -735,38 +745,38 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
735
745
  }),
736
746
  { datapoint: t }
737
747
  )), 1),
738
- J(" (" + c(n(T)({
739
- v: t.total / R.value * 100,
748
+ J(" (" + c(n(z)({
749
+ v: t.total / B.value * 100,
740
750
  s: "%",
741
751
  r: e.value.style.chart.layout.legend.roundingPercentage
742
752
  })) + ") ", 1)
743
753
  ], 4))), 256))
744
754
  ])
745
755
  ])
746
- ], 8, Zt)) : f("", !0),
747
- d.value && M.value ? (a(), o("g", ol, [
756
+ ], 8, tl)) : f("", !0),
757
+ d.value && M.value ? (a(), o("g", ul, [
748
758
  (a(), o("foreignObject", {
749
759
  x: 0,
750
760
  y: Ae(),
751
761
  height: r.value.height - C.value.bottom,
752
762
  width: r.value.width,
753
763
  style: { overflow: "visible" },
754
- onClick: w
764
+ onClick: $
755
765
  }, [
756
- s("div", ul, [
766
+ s("div", rl, [
757
767
  s("b", null, c(d.value.name), 1),
758
- s("div", nl, [
768
+ s("div", il, [
759
769
  (a(!0), o(g, null, _(d.value.breakdown, (t, u) => (a(), o("div", {
760
770
  style: h(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
761
771
  }, [
762
- (a(), o("svg", rl, [
772
+ (a(), o("svg", cl, [
763
773
  s("circle", {
764
774
  cx: "10",
765
775
  cy: "10",
766
776
  r: "10",
767
777
  fill: t.color,
768
778
  stroke: "none"
769
- }, null, 8, il)
779
+ }, null, 8, dl)
770
780
  ])),
771
781
  s("span", null, [
772
782
  J(c(t.name) + ": ", 1),
@@ -776,19 +786,19 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
776
786
  ], 4))), 256))
777
787
  ])
778
788
  ])
779
- ], 8, sl)),
789
+ ], 8, nl)),
780
790
  s("circle", {
781
791
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
782
792
  cy: d.value.y1 + r.value.branchSize / 2,
783
793
  r: 256,
784
- fill: `url(#nut_underlayer_${k.value})`,
785
- onClick: O,
786
- class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
787
- }, null, 10, cl),
794
+ fill: `url(#nut_underlayer_${w.value})`,
795
+ onClick: A,
796
+ class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
797
+ }, null, 10, vl),
788
798
  (a(!0), o(g, null, _(M.value, (t) => (a(), o("g", null, [
789
799
  U(t) ? (a(), o("path", {
790
800
  key: 0,
791
- d: n(et)(
801
+ d: n(tt)(
792
802
  t,
793
803
  {
794
804
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
@@ -805,41 +815,41 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
805
815
  "stroke-linecap": "round",
806
816
  "stroke-linejoin": "round",
807
817
  fill: "none",
808
- class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
809
- }, null, 10, dl)) : f("", !0)
818
+ class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
819
+ }, null, 10, yl)) : f("", !0)
810
820
  ]))), 256)),
811
821
  s("circle", {
812
822
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
813
823
  cy: d.value.y1 + r.value.branchSize / 2,
814
824
  r: 118,
815
825
  fill: e.value.style.chart.backgroundColor,
816
- onClick: O,
817
- class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
818
- }, null, 10, vl),
826
+ onClick: A,
827
+ class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
828
+ }, null, 10, hl),
819
829
  (a(!0), o(g, null, _(M.value, (t) => (a(), o("path", {
820
830
  d: t.path,
821
831
  stroke: t.color,
822
832
  "stroke-width": 64,
823
833
  fill: "none",
824
- onClick: O,
825
- class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
826
- }, null, 10, yl))), 256)),
834
+ onClick: A,
835
+ class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
836
+ }, null, 10, fl))), 256)),
827
837
  s("circle", {
828
838
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
829
839
  cy: d.value.y1 + r.value.branchSize / 2,
830
840
  r: 100,
831
- fill: `url(#nutpick_${k.value})`,
832
- onClick: O,
833
- class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
834
- }, null, 10, hl),
841
+ fill: `url(#nutpick_${w.value})`,
842
+ onClick: A,
843
+ class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
844
+ }, null, 10, bl),
835
845
  s("circle", {
836
846
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
837
847
  cy: d.value.y1 + r.value.branchSize / 2,
838
848
  r: 48,
839
849
  fill: e.value.style.chart.backgroundColor,
840
- onClick: O,
841
- class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
842
- }, null, 10, fl),
850
+ onClick: A,
851
+ class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
852
+ }, null, 10, pl),
843
853
  s("text", {
844
854
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
845
855
  y: d.value.y1 + 8,
@@ -847,9 +857,9 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
847
857
  "font-size": e.value.style.chart.layout.nuts.selected.labels.core.total.fontSize,
848
858
  "font-weight": e.value.style.chart.layout.nuts.selected.labels.core.total.bold ? "bold" : "normal",
849
859
  "text-anchor": "middle",
850
- onClick: O,
851
- class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
852
- }, c(e.value.translations.total), 11, bl),
860
+ onClick: A,
861
+ class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
862
+ }, c(e.value.translations.total), 11, gl),
853
863
  s("text", {
854
864
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
855
865
  y: d.value.y1 + 36,
@@ -857,97 +867,97 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
857
867
  "font-size": e.value.style.chart.layout.nuts.selected.labels.core.value.fontSize,
858
868
  "font-weight": e.value.style.chart.layout.nuts.selected.labels.core.value.bold ? "bold" : "normal",
859
869
  "text-anchor": "middle",
860
- onClick: O,
861
- class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
870
+ onClick: A,
871
+ class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
862
872
  }, c(n(G)(
863
873
  e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
864
874
  d.value.value,
865
- n(T)({
875
+ n(z)({
866
876
  p: e.value.style.chart.layout.nuts.selected.labels.core.value.prefix,
867
877
  v: d.value.value,
868
878
  s: e.value.style.chart.layout.nuts.selected.labels.core.value.suffix,
869
879
  r: e.value.style.chart.layout.nuts.selected.roundingValue
870
880
  }),
871
881
  { datapoint: d.value }
872
- )), 11, pl),
882
+ )), 11, _l),
873
883
  (a(!0), o(g, null, _(M.value, (t, u) => (a(), o("g", null, [
874
884
  U(t) ? (a(), o("text", {
875
885
  key: 0,
876
- x: n(P)(t).x,
877
- "text-anchor": n(P)(t).anchor,
886
+ x: n(V)(t).x,
887
+ "text-anchor": n(V)(t).anchor,
878
888
  y: n(H)(t),
879
889
  fill: t.color,
880
890
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
881
891
  style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
882
- class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
883
- }, " ⬤ ", 14, gl)) : f("", !0),
892
+ class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
893
+ }, " ⬤ ", 14, xl)) : f("", !0),
884
894
  U(t) ? (a(), o("text", {
885
895
  key: 1,
886
- x: n(P)(t, !0).x,
887
- "text-anchor": n(P)(t, !0).anchor,
896
+ x: n(V)(t, !0).x,
897
+ "text-anchor": n(V)(t, !0).anchor,
888
898
  y: n(H)(t),
889
899
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
890
900
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
891
901
  style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
892
- class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
893
- }, c(d.value.breakdown[u].name), 15, _l)) : f("", !0)
902
+ class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
903
+ }, c(d.value.breakdown[u].name), 15, ml)) : f("", !0)
894
904
  ]))), 256)),
895
905
  (a(!0), o(g, null, _(M.value, (t, u) => (a(), o("g", null, [
896
906
  U(t) ? (a(), o("text", {
897
907
  key: 0,
898
- x: n(P)(t, !0).x,
899
- "text-anchor": n(P)(t).anchor,
908
+ x: n(V)(t, !0).x,
909
+ "text-anchor": n(V)(t).anchor,
900
910
  y: n(H)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
901
911
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
902
912
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
903
913
  style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
904
- class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
905
- }, c(n(T)({
914
+ class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
915
+ }, c(n(z)({
906
916
  v: d.value.breakdown[u].value / d.value.value * 100,
907
917
  s: "%",
908
918
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
909
919
  })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[u].branchName) + " " + c(n(G)(
910
920
  e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
911
921
  d.value.breakdown[u].value,
912
- n(T)({
922
+ n(z)({
913
923
  p: e.value.style.chart.layout.nuts.selected.labels.dataLabels.prefix,
914
924
  v: d.value.breakdown[u].value,
915
925
  s: e.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
916
926
  r: e.value.style.chart.layout.nuts.selected.roundingValue
917
927
  }),
918
928
  { datapoint: M.value, seriesIndex: u }
919
- )), 15, xl)) : f("", !0),
929
+ )), 15, kl)) : f("", !0),
920
930
  U(t) ? (a(), o("text", {
921
931
  key: 1,
922
- x: n(P)(t, !0).x,
923
- "text-anchor": n(P)(t).anchor,
932
+ x: n(V)(t, !0).x,
933
+ "text-anchor": n(V)(t).anchor,
924
934
  y: n(H)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 2,
925
935
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
926
936
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
927
937
  style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
928
- class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
929
- }, c(n(T)({
938
+ class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
939
+ }, c(n(z)({
930
940
  v: d.value.breakdown[u].proportionToRoot * 100,
931
941
  s: "%",
932
942
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
933
- })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[u].rootName), 15, ml)) : f("", !0),
943
+ })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[u].rootName), 15, wl)) : f("", !0),
934
944
  U(t) ? (a(), o("text", {
935
945
  key: 2,
936
- x: n(P)(t, !0).x,
937
- "text-anchor": n(P)(t).anchor,
946
+ x: n(V)(t, !0).x,
947
+ "text-anchor": n(V)(t).anchor,
938
948
  y: n(H)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 3,
939
949
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
940
950
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
941
951
  style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
942
- class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
943
- }, c(n(T)({
952
+ class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
953
+ }, c(n(z)({
944
954
  v: d.value.breakdown[u].proportionToTree * 100,
945
955
  s: "%",
946
956
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
947
- })) + " " + c(e.value.translations.proportionToTree), 15, kl)) : f("", !0)
957
+ })) + " " + c(e.value.translations.proportionToTree), 15, $l)) : f("", !0)
948
958
  ]))), 256))
949
959
  ])) : f("", !0),
950
- (a(!0), o(g, null, _(A.value, (t) => (a(), o("g", null, [
960
+ (a(!0), o(g, null, _(j.value, (t) => (a(), o("g", null, [
951
961
  x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
952
962
  key: 0,
953
963
  x: t.x1 + 6,
@@ -956,18 +966,18 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
956
966
  "text-anchor": "start",
957
967
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
958
968
  fill: e.value.style.chart.layout.branches.labels.color,
959
- onClick: w
969
+ onClick: $
960
970
  }, c(t.name) + ": " + c(n(G)(
961
971
  e.value.style.chart.layout.branches.labels.dataLabels.formatter,
962
972
  t.value,
963
- n(T)({
973
+ n(z)({
964
974
  p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
965
975
  v: t.value,
966
976
  s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
967
977
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
968
978
  }),
969
979
  { datapoint: t }
970
- )), 9, wl)) : f("", !0),
980
+ )), 9, Cl)) : f("", !0),
971
981
  x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
972
982
  key: 1,
973
983
  x: t.x1 + 6,
@@ -975,12 +985,12 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
975
985
  "text-anchor": "start",
976
986
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
977
987
  fill: e.value.style.chart.layout.branches.labels.color,
978
- onClick: w
979
- }, c(n(T)({
988
+ onClick: $
989
+ }, c(n(z)({
980
990
  v: t.proportionToRoot * 100,
981
991
  s: "%",
982
992
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
983
- })) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, $l)) : f("", !0),
993
+ })) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, Tl)) : f("", !0),
984
994
  x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
985
995
  key: 2,
986
996
  x: t.x1 + 6,
@@ -988,20 +998,20 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
988
998
  "text-anchor": "start",
989
999
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
990
1000
  fill: e.value.style.chart.layout.branches.labels.color,
991
- onClick: w
992
- }, c(n(T)({
993
- v: t.value / R.value * 100,
1001
+ onClick: $
1002
+ }, c(n(z)({
1003
+ v: t.value / B.value * 100,
994
1004
  s: "%",
995
1005
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
996
- })) + " " + c(e.value.translations.proportionToTree), 9, Cl)) : f("", !0)
1006
+ })) + " " + c(e.value.translations.proportionToTree), 9, zl)) : f("", !0)
997
1007
  ]))), 256)),
998
- B(l.$slots, "svg", { svg: r.value }, void 0, !0)
999
- ], 14, vt)) : f("", !0),
1000
- l.$slots.watermark ? (a(), o("div", zl, [
1001
- B(l.$slots, "watermark", se(ue({ isPrinting: n(de) || n(ve) })), void 0, !0)
1008
+ I(l.$slots, "svg", { svg: r.value }, void 0, !0)
1009
+ ], 14, ht)) : f("", !0),
1010
+ l.$slots.watermark ? (a(), o("div", Nl, [
1011
+ I(l.$slots, "watermark", se(ue({ isPrinting: n(de) || n(ve) })), void 0, !0)
1002
1012
  ])) : f("", !0),
1003
- D.value ? f("", !0) : (a(), K(st, {
1004
- key: 4,
1013
+ D.value ? f("", !0) : (a(), K(ut, {
1014
+ key: 5,
1005
1015
  config: {
1006
1016
  type: "chestnut",
1007
1017
  style: {
@@ -1012,9 +1022,12 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
1012
1022
  }
1013
1023
  }
1014
1024
  }, null, 8, ["config"])),
1015
- B(l.$slots, "legend", { legend: N.value }, void 0, !0),
1016
- D.value ? (a(), K(nt, {
1017
- key: 5,
1025
+ I(l.$slots, "legend", { legend: N.value }, void 0, !0),
1026
+ l.$slots.source ? (a(), o("div", Sl, [
1027
+ I(l.$slots, "source", {}, void 0, !0)
1028
+ ], 512)) : f("", !0),
1029
+ D.value ? (a(), K(rt, {
1030
+ key: 7,
1018
1031
  hideDetails: "",
1019
1032
  config: {
1020
1033
  open: Y.value.showTable,
@@ -1035,15 +1048,15 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
1035
1048
  ref: te,
1036
1049
  class: "vue-ui-chestnut-table"
1037
1050
  }, [
1038
- s("div", Tl, [
1051
+ s("div", Fl, [
1039
1052
  s("div", {
1040
1053
  role: "button",
1041
1054
  tabindex: "0",
1042
1055
  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};`),
1043
1056
  onClick: i[0] || (i[0] = (t) => Y.value.showTable = !1),
1044
- onKeypress: i[1] || (i[1] = Ye((t) => Y.value.showTable = !1, ["enter"]))
1057
+ onKeypress: i[1] || (i[1] = qe((t) => Y.value.showTable = !1, ["enter"]))
1045
1058
  }, [
1046
- me(ut, {
1059
+ me(nt, {
1047
1060
  name: "close",
1048
1061
  stroke: e.value.table.th.color,
1049
1062
  "stroke-width": 2
@@ -1051,15 +1064,15 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
1051
1064
  ], 36),
1052
1065
  s("div", {
1053
1066
  style: { width: "100%" },
1054
- class: m({ "vue-ui-responsive": fe.value })
1067
+ class: k({ "vue-ui-responsive": fe.value })
1055
1068
  }, [
1056
- s("table", Nl, [
1069
+ s("table", Ll, [
1057
1070
  s("caption", {
1058
1071
  style: h({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
1059
1072
  class: "vue-ui-data-table__caption"
1060
1073
  }, [
1061
1074
  J(c(e.value.style.chart.layout.title.text) + " ", 1),
1062
- e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", Sl, c(e.value.style.chart.layout.title.subtitle.text), 1)) : f("", !0)
1075
+ e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", Il, c(e.value.style.chart.layout.title.subtitle.text), 1)) : f("", !0)
1063
1076
  ], 4),
1064
1077
  s("thead", null, [
1065
1078
  s("tr", {
@@ -1073,7 +1086,7 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
1073
1086
  ]),
1074
1087
  s("tbody", null, [
1075
1088
  (a(!0), o(g, null, _(v.value.body, (t, u) => (a(), o("tr", {
1076
- 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 }),
1089
+ class: k({ "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 }),
1077
1090
  style: h(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1078
1091
  }, [
1079
1092
  s("td", {
@@ -1081,99 +1094,99 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
1081
1094
  style: h(`outline:${e.value.table.td.outline}`),
1082
1095
  "data-cell": v.value.head[0]
1083
1096
  }, [
1084
- s("div", Ll, [
1085
- v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Il)) : (a(), o("span", Pl, c(t.rootName), 1))
1097
+ s("div", Vl, [
1098
+ v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Rl)) : (a(), o("span", Bl, c(t.rootName), 1))
1086
1099
  ])
1087
- ], 12, Fl),
1100
+ ], 12, Pl),
1088
1101
  s("td", {
1089
1102
  class: "vue-ui-data-table__tbody__td",
1090
1103
  style: h(`outline:${e.value.table.td.outline}`),
1091
1104
  "data-cell": v.value.head[1]
1092
1105
  }, [
1093
- s("div", Rl, [
1094
- v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Bl)) : (a(), o("span", Ml, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
1106
+ s("div", Ol, [
1107
+ v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", jl)) : (a(), o("span", Al, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
1095
1108
  ])
1096
- ], 12, Vl),
1109
+ ], 12, Ml),
1097
1110
  s("td", {
1098
1111
  class: "vue-ui-data-table__tbody__td",
1099
1112
  style: h(`outline:${e.value.table.td.outline}`),
1100
1113
  "data-cell": v.value.head[2]
1101
1114
  }, [
1102
- s("div", Al, [
1103
- v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Ol)) : (a(), o("span", Xl, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1115
+ s("div", Gl, [
1116
+ v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", El)) : (a(), o("span", Ul, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1104
1117
  ])
1105
- ], 12, jl),
1118
+ ], 12, Xl),
1106
1119
  s("td", {
1107
1120
  class: "vue-ui-data-table__tbody__td",
1108
1121
  style: h(`outline:${e.value.table.td.outline}`),
1109
1122
  "data-cell": v.value.head[3]
1110
1123
  }, [
1111
- s("div", El, [
1112
- v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Ul)) : (a(), o("span", Dl, c(t.branchName), 1))
1124
+ s("div", Yl, [
1125
+ v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", ql)) : (a(), o("span", Hl, c(t.branchName), 1))
1113
1126
  ])
1114
- ], 12, Gl),
1127
+ ], 12, Dl),
1115
1128
  s("td", {
1116
1129
  class: "vue-ui-data-table__tbody__td",
1117
1130
  style: h(`outline:${e.value.table.td.outline}`),
1118
1131
  "data-cell": v.value.head[4]
1119
1132
  }, [
1120
- s("div", ql, [
1121
- v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Hl)) : (a(), o("span", Wl, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
1133
+ s("div", Kl, [
1134
+ v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Jl)) : (a(), o("span", Ql, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
1122
1135
  ])
1123
- ], 12, Yl),
1136
+ ], 12, Wl),
1124
1137
  s("td", {
1125
1138
  class: "vue-ui-data-table__tbody__td",
1126
1139
  style: h(`outline:${e.value.table.td.outline}`),
1127
1140
  "data-cell": v.value.head[5]
1128
1141
  }, [
1129
- s("div", Jl, [
1130
- v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Ql)) : (a(), o("span", Zl, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1142
+ s("div", ea, [
1143
+ v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", ta)) : (a(), o("span", la, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1131
1144
  ])
1132
- ], 12, Kl),
1145
+ ], 12, Zl),
1133
1146
  s("td", {
1134
1147
  class: "vue-ui-data-table__tbody__td",
1135
1148
  style: h(`outline:${e.value.table.td.outline}`),
1136
1149
  "data-cell": v.value.head[6]
1137
1150
  }, [
1138
- s("div", ta, [
1139
- v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", la)) : (a(), o("span", aa, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1151
+ s("div", oa, [
1152
+ v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", sa)) : (a(), o("span", ua, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1140
1153
  ])
1141
- ], 12, ea),
1154
+ ], 12, aa),
1142
1155
  s("td", {
1143
1156
  class: "vue-ui-data-table__tbody__td",
1144
1157
  style: h(`outline:${e.value.table.td.outline}`),
1145
1158
  "data-cell": v.value.head[7]
1146
1159
  }, [
1147
- s("div", sa, c(t.nutName), 1)
1148
- ], 12, oa),
1160
+ s("div", ra, c(t.nutName), 1)
1161
+ ], 12, na),
1149
1162
  s("td", {
1150
1163
  class: "vue-ui-data-table__tbody__td",
1151
1164
  style: h(`outline:${e.value.table.td.outline}`),
1152
1165
  "data-cell": v.value.head[8]
1153
1166
  }, [
1154
- s("div", na, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1155
- ], 12, ua),
1167
+ s("div", ca, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1168
+ ], 12, ia),
1156
1169
  s("td", {
1157
1170
  class: "vue-ui-data-table__tbody__td",
1158
1171
  style: h(`outline:${e.value.table.td.outline}`),
1159
1172
  "data-cell": v.value.head[9]
1160
1173
  }, [
1161
- s("div", ia, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1162
- ], 12, ra),
1174
+ s("div", va, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1175
+ ], 12, da),
1163
1176
  s("td", {
1164
1177
  class: "vue-ui-data-table__tbody__td",
1165
1178
  style: h(`outline:${e.value.table.td.outline}`),
1166
1179
  "data-cell": v.value.head[10]
1167
1180
  }, [
1168
- s("div", da, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1169
- ], 12, ca),
1181
+ s("div", ha, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1182
+ ], 12, ya),
1170
1183
  s("td", {
1171
1184
  class: "vue-ui-data-table__tbody__td",
1172
1185
  style: h(`outline:${e.value.table.td.outline}`),
1173
1186
  "data-cell": v.value.head[11]
1174
1187
  }, [
1175
- s("div", ya, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1176
- ], 12, va)
1188
+ s("div", ba, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1189
+ ], 12, fa)
1177
1190
  ], 6))), 256))
1178
1191
  ])
1179
1192
  ])
@@ -1183,9 +1196,9 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
1183
1196
  ]),
1184
1197
  _: 1
1185
1198
  }, 8, ["config"])) : f("", !0)
1186
- ], 14, dt));
1199
+ ], 14, vt));
1187
1200
  }
1188
- }, za = /* @__PURE__ */ ct(ha, [["__scopeId", "data-v-ee92c440"]]);
1201
+ }, Sa = /* @__PURE__ */ dt(pa, [["__scopeId", "data-v-d77250e7"]]);
1189
1202
  export {
1190
- za as default
1203
+ Sa as default
1191
1204
  };