vue-data-ui 2.4.1 → 2.4.2

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 (201) hide show
  1. package/README.md +44 -44
  2. package/dist/{Arrow-DpMf3yPs.cjs → Arrow-DLTRnzcG.cjs} +1 -1
  3. package/dist/{Arrow-BIs_9yK8.js → Arrow-JuK2z9IB.js} +1 -1
  4. package/dist/BaseIcon-BGExhz6v.cjs +1 -0
  5. package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-rRli6Sfv.js} +7 -4
  6. package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DJzhv96s.cjs} +1 -1
  7. package/dist/{DataTable-DL2agEJ3.js → DataTable-DTk7C4Pr.js} +2 -2
  8. package/dist/{Legend-DXLiSLHd.js → Legend-CYF2gpXG.js} +1 -1
  9. package/dist/{Legend-Dj9KiaLv.cjs → Legend-YZ7Hz3o1.cjs} +1 -1
  10. package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-CvCRsT5_.js} +1 -1
  11. package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DVZtsuy4.cjs} +1 -1
  12. package/dist/PenAndPaper-CyXm-yVL.cjs +1 -0
  13. package/dist/PenAndPaper-Jb0pLt3G.js +269 -0
  14. package/dist/{Shape-CO_Ak9Zm.js → Shape-BpPn4eWR.js} +1 -1
  15. package/dist/{Shape-7EC2UKDK.cjs → Shape-X2F-QV_B.cjs} +1 -1
  16. package/dist/{Slicer-CLAVjSQP.cjs → Slicer-CL0tP5a5.cjs} +1 -1
  17. package/dist/{Slicer-BZfUZr1J.js → Slicer-CU7dRZR0.js} +2 -2
  18. package/dist/{Title-DYNLqCCT.js → Title-5VmBwT4i.js} +1 -1
  19. package/dist/{Title-C-lm3Mkl.cjs → Title-Co5jI5ed.cjs} +1 -1
  20. package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-Bl6W8Zn7.cjs} +1 -1
  21. package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cj4EF7v1.js} +1 -1
  22. package/dist/{index-DDXisDKy.js → index-DnVHQ2xI.js} +880 -842
  23. package/dist/index-FfZRtJ6A.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +18 -16
  26. package/dist/types/vue-data-ui.d.ts +18 -16
  27. package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-Cox0K0Y5.js} +1 -1
  28. package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-q7byAAIJ.cjs} +1 -1
  29. package/dist/usePrinter-BCAFeO_J.cjs +1 -0
  30. package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-BEeNAqS5.js} +230 -185
  31. package/dist/vue-data-ui-CRLLZpt0.cjs +9 -0
  32. package/dist/vue-data-ui-W7nnqn0v.js +261 -0
  33. package/dist/vue-data-ui.cjs +1 -1
  34. package/dist/vue-data-ui.js +1 -1
  35. package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BwBrUabe.js} +414 -390
  36. package/dist/vue-ui-3d-bar-bD_n6qL_.cjs +19 -0
  37. package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DspS4q3f.js} +3 -3
  38. package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-xXgqfR2l.cjs} +1 -1
  39. package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +1 -0
  40. package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CxBvm3uM.js} +218 -194
  41. package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-BOofWpzv.js} +1 -1
  42. package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-C6T5_7ZV.cjs} +1 -1
  43. package/dist/vue-ui-bullet-ChaEgXvR.cjs +23 -0
  44. package/dist/vue-ui-bullet-DraC-oFu.js +433 -0
  45. package/dist/vue-ui-candlestick--hPCfMFH.cjs +2 -0
  46. package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DQZ5eT1f.js} +267 -243
  47. package/dist/{vue-ui-carousel-table-C0GDDSW9.cjs → vue-ui-carousel-table-DpRQklDZ.cjs} +1 -1
  48. package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-PdLjpH1p.js} +4 -4
  49. package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-ByI_O5hB.js} +293 -269
  50. package/dist/vue-ui-chestnut-ae6x87wl.cjs +6 -0
  51. package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-BM74l93B.js} +2 -2
  52. package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-BvadpA2m.cjs} +1 -1
  53. package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-CoANBhAM.js} +2 -2
  54. package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-OP51Gs8I.cjs} +1 -1
  55. package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-C7jJJg9k.cjs} +1 -1
  56. package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-DioaBnkB.js} +2 -2
  57. package/dist/vue-ui-donut-CplNylps.cjs +1 -0
  58. package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +1 -0
  59. package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-DAb1xzNd.js} +330 -306
  60. package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-ldqSm_JV.js} +345 -321
  61. package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Dg7PkiKJ.js} +265 -241
  62. package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +9 -0
  63. package/dist/vue-ui-flow-BPt35d5K.cjs +1 -0
  64. package/dist/vue-ui-flow-DKT7ZEnr.js +508 -0
  65. package/dist/vue-ui-galaxy-e06PkTmp.cjs +1 -0
  66. package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-qAA9be3S.js} +193 -169
  67. package/dist/vue-ui-gauge-D8yVTIgP.js +518 -0
  68. package/dist/vue-ui-gauge-DiZVIU0D.cjs +1 -0
  69. package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DC0uUwI3.js} +3 -3
  70. package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-W6bTkg59.cjs} +1 -1
  71. package/dist/vue-ui-heatmap-CbZcv_2I.cjs +1 -0
  72. package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-u1raIzBQ.js} +252 -228
  73. package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-C-iTxMD2.js} +3 -3
  74. package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-DY_2WF7U.cjs} +1 -1
  75. package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-Bfq2MNWu.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-C7x7S0hi.js} +2 -2
  77. package/dist/vue-ui-molecule-BFnOIxxs.js +798 -0
  78. package/dist/vue-ui-molecule-CbKMLrDT.cjs +1 -0
  79. package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +1 -0
  80. package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-CR1v5v2x.js} +263 -239
  81. package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-DEiloQzq.js} +342 -318
  82. package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +17 -0
  83. package/dist/vue-ui-onion-CLvvu4Ku.cjs +5 -0
  84. package/dist/{vue-ui-onion-D9o6Rcgu.js → vue-ui-onion-LsEhBe4x.js} +226 -202
  85. package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +8 -0
  86. package/dist/{vue-ui-parallel-coordinate-plot-BcYrYXhG.js → vue-ui-parallel-coordinate-plot-CTlIjJqG.js} +243 -219
  87. package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-DKVVFufb.js} +350 -326
  88. package/dist/vue-ui-quadrant-OM5J1mG3.cjs +1 -0
  89. package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-8vJikiGH.js} +505 -481
  90. package/dist/vue-ui-quick-chart-gG5Ar8-i.cjs +15 -0
  91. package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-20QhOUer.js} +255 -231
  92. package/dist/vue-ui-radar-CAaHjDO7.cjs +1 -0
  93. package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-Bbzm5nUK.cjs} +1 -1
  94. package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-DRWJsve1.js} +2 -2
  95. package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +1 -0
  96. package/dist/vue-ui-relation-circle-I45_Sk5l.js +349 -0
  97. package/dist/vue-ui-rings-B9WQ7S5m.cjs +2 -0
  98. package/dist/vue-ui-rings-DG8GCi3y.js +593 -0
  99. package/dist/vue-ui-scatter-BZfg1YIN.cjs +1 -0
  100. package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-Hqu5-F2H.js} +369 -345
  101. package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-D8nxd5RV.cjs} +1 -1
  102. package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-cjiqbtLK.js} +1 -1
  103. package/dist/{vue-ui-skeleton-CGV1dEUD.cjs → vue-ui-skeleton-Djv08J67.cjs} +1 -1
  104. package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-aZmkNzAe.js} +3 -3
  105. package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-B1TA19Hv.cjs} +1 -1
  106. package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-ChNvxygm.js} +2 -2
  107. package/dist/{vue-ui-spark-trend-BfoEoJEy.cjs → vue-ui-spark-trend-BqrPr63O.cjs} +1 -1
  108. package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-CQxELQcf.js} +5 -5
  109. package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-0ixbKZzf.js} +4 -4
  110. package/dist/{vue-ui-sparkbar-DB2DeXti.cjs → vue-ui-sparkbar-CrTEPTU5.cjs} +1 -1
  111. package/dist/{vue-ui-sparkgauge-CJepIY2u.cjs → vue-ui-sparkgauge-BYxpe_WV.cjs} +1 -1
  112. package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-pdYb7OwH.js} +4 -4
  113. package/dist/{vue-ui-sparkhistogram-B7B36LLT.cjs → vue-ui-sparkhistogram-D21XDUH2.cjs} +1 -1
  114. package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-N69h2q0U.js} +5 -5
  115. package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-2BKYZMOb.js} +4 -4
  116. package/dist/{vue-ui-sparkline-BcqmwDAb.cjs → vue-ui-sparkline-Cf4m-Fxo.cjs} +1 -1
  117. package/dist/{vue-ui-sparkstackbar-DT3aKNeV.cjs → vue-ui-sparkstackbar-dAS8XoJs.cjs} +1 -1
  118. package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-sh03cuOU.js} +4 -4
  119. package/dist/vue-ui-stackbar-B1si-1RM.js +938 -0
  120. package/dist/vue-ui-stackbar-Dy_saeSe.cjs +6 -0
  121. package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-BYn-QrTQ.js} +274 -250
  122. package/dist/vue-ui-strip-plot-D53LABpZ.cjs +1 -0
  123. package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-Ce4waJaj.cjs} +1 -1
  124. package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-DQORPCDJ.js} +1 -1
  125. package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-Csp7Tx8N.js} +4 -4
  126. package/dist/{vue-ui-table-heatmap-Chvdf2Gi.cjs → vue-ui-table-heatmap-EqHt-O7Y.cjs} +1 -1
  127. package/dist/{vue-ui-table-sparkline-DUUYQ5dH.cjs → vue-ui-table-sparkline-DONmVOMh.cjs} +1 -1
  128. package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-DdwVrfUj.js} +5 -5
  129. package/dist/vue-ui-thermometer-I6ZnlfAv.js +440 -0
  130. package/dist/vue-ui-thermometer-hQBkMa7u.cjs +1 -0
  131. package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-COOXcn14.cjs} +1 -1
  132. package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-pi1SazTU.js} +5 -5
  133. package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +1 -0
  134. package/dist/vue-ui-tiremarks-vdPQYiDp.js +303 -0
  135. package/dist/vue-ui-treemap-3FNUlKxL.js +816 -0
  136. package/dist/vue-ui-treemap-Cv0TSFQa.cjs +1 -0
  137. package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +4 -0
  138. package/dist/{vue-ui-vertical-bar-CieqHVD5.js → vue-ui-vertical-bar-DwxpB46q.js} +312 -288
  139. package/dist/vue-ui-waffle-CKM0QyJN.cjs +1 -0
  140. package/dist/vue-ui-waffle-XecHJIc-.js +782 -0
  141. package/dist/vue-ui-wheel-Bbih5sSL.js +282 -0
  142. package/dist/vue-ui-wheel-C0dJrzOJ.cjs +1 -0
  143. package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +1 -0
  144. package/dist/vue-ui-word-cloud-DnhXUn5x.js +598 -0
  145. package/dist/vue-ui-xy-BDpqVzAq.cjs +3 -0
  146. package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-CqlRuFMc.js} +775 -751
  147. package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-C8c2X5fk.js} +409 -385
  148. package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +9 -0
  149. package/package.json +1 -1
  150. package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
  151. package/dist/index-C7_6YjWN.cjs +0 -9
  152. package/dist/usePrinter-8EP4iaGm.cjs +0 -1
  153. package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
  154. package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
  155. package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
  156. package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
  157. package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
  158. package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
  159. package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
  160. package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
  161. package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
  162. package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
  163. package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
  164. package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
  165. package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
  166. package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
  167. package/dist/vue-ui-gauge-BXiy515T.js +0 -494
  168. package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
  169. package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
  170. package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
  171. package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
  172. package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
  173. package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
  174. package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
  175. package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
  176. package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
  177. package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
  178. package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
  179. package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
  180. package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
  181. package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
  182. package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
  183. package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
  184. package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
  185. package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
  186. package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
  187. package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
  188. package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
  189. package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
  190. package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
  191. package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
  192. package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
  193. package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
  194. package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
  195. package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
  196. package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
  197. package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
  198. package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
  199. package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
  200. package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
  201. package/dist/vue-ui-xy-canvas-DHs5sb3t.cjs +0 -9
@@ -1,24 +1,25 @@
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 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 = {
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 = { 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 = {
22
23
  __name: "vue-ui-chestnut",
23
24
  props: {
24
25
  config: {
@@ -35,37 +36,37 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
35
36
  }
36
37
  },
37
38
  emits: ["selectRoot", "selectBranch", "selectNut"],
38
- setup(Ce, { expose: ze, emit: E }) {
39
- const V = Ce;
40
- Xe((l) => ({
41
- "1ff4e893": l.tdo
39
+ setup(Te, { expose: Ne, emit: E }) {
40
+ const V = Te;
41
+ Ge((l) => ({
42
+ "91833a3a": l.tdo
42
43
  }));
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(),
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 = $({
45
+ get: () => ce(),
45
46
  set: (l) => l
46
47
  });
47
- function ue() {
48
- const l = $e({
48
+ function ce() {
49
+ const l = ze({
49
50
  userConfig: V.config,
50
- defaultConfig: Te
51
+ defaultConfig: Se
51
52
  });
52
53
  return l.theme ? {
53
- ...$e({
54
- userConfig: qe.vue_ui_chestnut[l.theme] || V.config,
54
+ ...ze({
55
+ userConfig: We.vue_ui_chestnut[l.theme] || V.config,
55
56
  defaultConfig: l
56
57
  }),
57
- customPalette: He[l.theme] || I
58
+ customPalette: Ke[l.theme] || I
58
59
  } : l;
59
60
  }
60
- Ge(() => V.config, (l) => {
61
- e.value = ue(), he();
61
+ Ee(() => V.config, (l) => {
62
+ e.value = ce(), ge();
62
63
  }, { deep: !0 });
63
- const { isPrinting: ne, isImaging: re, generatePdf: ie, generateImage: ce } = tt({
64
+ const { isPrinting: de, isImaging: ve, generatePdf: ye, generateImage: he } = at({
64
65
  elementId: `vue-ui-chestnut_${k.value}`,
65
66
  fileName: e.value.style.chart.layout.title.text || "vue-ui-chestnut"
66
- }), J = $(() => We(e.value.customPalette)), Y = z({
67
+ }), ee = $(() => Je(e.value.customPalette)), Y = z({
67
68
  showTable: e.value.table.show
68
- }), Q = z(null), de = z(!1), Se = $(() => e.value.table.responsiveBreakpoint), r = z({
69
+ }), te = z(null), fe = z(!1), Le = $(() => e.value.table.responsiveBreakpoint), r = z({
69
70
  gap: 6,
70
71
  padding: {
71
72
  top: 102,
@@ -86,33 +87,33 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
86
87
  height: r.value.height - (r.value.padding.top + r.value.padding.bottom),
87
88
  seedX: r.value.padding.left + 64
88
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) => {
89
- le({
90
+ ne({
90
91
  datasetObject: l,
91
92
  requiredAttributes: ["name", "branches"]
92
93
  }).forEach((t) => {
93
- K({
94
+ Q({
94
95
  componentName: "VueUiChestnut",
95
96
  type: "datasetSerieAttribute",
96
97
  property: t,
97
98
  index: i
98
99
  });
99
100
  }), l.branches && l.branches.forEach((t, u) => {
100
- le({
101
+ ne({
101
102
  datasetObject: t,
102
103
  requiredAttributes: ["name", "value"]
103
104
  }).forEach((b) => {
104
- K({
105
+ Q({
105
106
  componentName: "VueUiChestnut",
106
107
  type: "datasetSerieAttribute",
107
108
  property: b,
108
109
  index: `${i} - ${u}`
109
110
  });
110
111
  }), t.breakdown && t.breakdown.forEach((b, y) => {
111
- le({
112
+ ne({
112
113
  datasetObject: b,
113
114
  requiredAttributes: ["name", "value"]
114
115
  }).forEach((p) => {
115
- K({
116
+ Q({
116
117
  componentName: "VueUiChestnut",
117
118
  type: "datasetSerieAttribute",
118
119
  property: p,
@@ -125,7 +126,7 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
125
126
  const t = (l.branches || []).map((u) => u.value || 0).reduce((u, b) => u + b, 0);
126
127
  return {
127
128
  ...l,
128
- color: ae(l.color) || J.value[i] || I[i] || I[i % I.length],
129
+ color: re(l.color) || ee.value[i] || I[i] || I[i % I.length],
129
130
  id: l.id || `root_${i}_${k.value}`,
130
131
  type: "root",
131
132
  total: t,
@@ -134,7 +135,7 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
134
135
  ...u,
135
136
  rootName: l.name,
136
137
  rootIndex: i,
137
- color: ae(l.color) || J.value[i] || I[i] || I[i % I.length],
138
+ color: re(l.color) || ee.value[i] || I[i] || I[i % I.length],
138
139
  value: u.value >= 0 ? u.value : 0,
139
140
  id: u.id || `branch_${i}_${b}_${k.value}`,
140
141
  proportionToRoot: u.value / t,
@@ -164,44 +165,44 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
164
165
  proportionToTree: y.value / R.value,
165
166
  rootIndex: i,
166
167
  id: y.id || `nut_${i}_${b}_${p}_${k.value}`,
167
- color: ae(y.color) || J.value[p] || I[p] || I[p % I.length],
168
+ color: re(y.color) || ee.value[p] || I[p] || I[p % I.length],
168
169
  value: y.value >= 0 ? y.value : 0
169
170
  }))
170
171
  }))
171
172
  };
172
173
  })));
173
- function Fe() {
174
+ function Ie() {
174
175
  return N.value;
175
176
  }
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);
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);
178
179
  return {
179
180
  ...l,
180
181
  x: C.value.seedX,
181
182
  y: C.value.top + C.value.height / N.value.length * (i + 1) - (C.value.height / N.value.length / 2 + r.value.gap / 2),
182
183
  r: u < r.value.branchSize / 2 ? r.value.branchSize / 2 : u
183
184
  };
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) => ({
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) => ({
185
186
  ...l,
186
187
  y1: i * r.value.branchSize + C.value.top + i * r.value.gap,
187
188
  y2: i * r.value.branchSize + r.value.branchSize,
188
- x1: ve.value,
189
- x2: 384 * l.value / Pe.value * Ve.value + ve.value
189
+ x1: be.value,
190
+ x2: 384 * l.value / Re.value * Be.value + be.value
190
191
  })));
191
- function Z(l) {
192
+ function le(l) {
192
193
  const i = j.value.find((t) => t.rootIndex === l.rootIndex);
193
194
  return { x: i.x, y: i.y, r: i.r };
194
195
  }
195
- const d = z(null), B = z(null), x = z(null), F = z(null);
196
+ const d = z(null), M = z(null), x = z(null), F = z(null);
196
197
  function w() {
197
198
  d.value = null, x.value = null, F.value = null;
198
199
  }
199
200
  function L(l) {
200
201
  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
202
  }
202
- function Be(l) {
203
- w(), xe(() => {
204
- d.value = l, x.value = l, B.value = we(
203
+ function je(l) {
204
+ w(), ke(() => {
205
+ d.value = l, x.value = l, M.value = Ce(
205
206
  { series: l.breakdown, base: 1 },
206
207
  l.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
207
208
  l.y1 + r.value.branchSize / 2,
@@ -210,39 +211,39 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
210
211
  ), E("selectNut", l.breakdown);
211
212
  });
212
213
  }
213
- function X() {
214
- d.value = null, B.value = null, E("selectNut", null);
214
+ function O() {
215
+ d.value = null, M.value = null, E("selectNut", null);
215
216
  }
216
- function ee(l) {
217
+ function ae(l) {
217
218
  x.value && x.value.id === l.id ? (x.value = null, w(), E("selectBranch", null)) : (w(), x.value = l, E("selectBranch", l));
218
219
  }
219
- function ye(l) {
220
+ function pe(l) {
220
221
  F.value && F.value.id === l.id ? (w(), E("selectRoot", null)) : (w(), F.value = l, E("selectRoot", l));
221
222
  }
222
- function Me() {
223
+ function Ae() {
223
224
  return C.value.bottom - (d.value.y1 + 180) < 0 ? 0 : C.value.bottom;
224
225
  }
225
- function A(l) {
226
+ function U(l) {
226
227
  return l.proportion * 100 > e.value.style.chart.layout.nuts.selected.labels.dataLabels.hideUnderValue;
227
228
  }
228
- function je() {
229
+ function Oe() {
229
230
  const l = new ResizeObserver((i) => {
230
231
  i.forEach((t) => {
231
- de.value = t.contentRect.width < Se.value;
232
+ fe.value = t.contentRect.width < Le.value;
232
233
  });
233
234
  });
234
- Q.value && l.observe(Q.value);
235
+ te.value && l.observe(te.value);
235
236
  }
236
- Ee(() => {
237
- he();
237
+ Ue(() => {
238
+ ge();
238
239
  });
239
- function he() {
240
- Ke(V.dataset) && K({
240
+ function ge() {
241
+ Qe(V.dataset) && Q({
241
242
  componentName: "VueUiChestnut",
242
243
  type: "dataset"
243
244
  });
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();
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();
246
247
  }
247
248
  const v = $(() => {
248
249
  const l = [
@@ -258,11 +259,11 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
258
259
  e.value.table.th.translations.nutToBranch,
259
260
  e.value.table.th.translations.nutToRoot,
260
261
  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)));
262
+ ], i = N.value.flatMap((t, u) => t.branches.flatMap((b, y) => b.breakdown.flatMap((p, fa) => p.table)));
262
263
  return { head: l, body: i };
263
264
  });
264
- function fe() {
265
- xe(() => {
265
+ function _e() {
266
+ ke(() => {
266
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) => [
267
268
  v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootName,
268
269
  v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootValue,
@@ -276,38 +277,51 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
276
277
  y.nutToBranch,
277
278
  y.nutToRoot,
278
279
  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" });
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" });
281
282
  });
282
283
  }
283
284
  const q = z(!1);
284
- function Oe(l) {
285
- q.value = l, se.value += 1;
285
+ function Xe(l) {
286
+ q.value = l, ie.value += 1;
286
287
  }
287
- function be() {
288
+ function xe() {
288
289
  Y.value.showTable = !Y.value.showTable;
289
290
  }
290
- return ze({
291
- getData: Fe,
292
- generatePdf: ie,
293
- generateCsv: fe,
294
- generateImage: ce,
295
- toggleTable: be
291
+ const W = z(!1);
292
+ function oe() {
293
+ W.value = !W.value;
294
+ }
295
+ return Ne({
296
+ getData: Ie,
297
+ generatePdf: ye,
298
+ generateCsv: _e,
299
+ generateImage: he,
300
+ toggleTable: xe,
301
+ toggleAnnotator: oe
296
302
  }), (l, i) => (a(), o("div", {
297
303
  class: m(`vue-ui-chestnut ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
298
304
  ref_key: "chestnutChart",
299
- ref: oe,
305
+ ref: Z,
300
306
  id: `vue-ui-chestnut_${k.value}`,
301
307
  style: h(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;padding-top:36px;background:${e.value.style.chart.backgroundColor}`)
302
308
  }, [
303
- e.value.userOptions.show && D.value ? (a(), te(lt, {
309
+ e.value.userOptions.buttons.annotator ? (a(), K(it, {
310
+ key: 0,
311
+ parent: Z.value,
312
+ backgroundColor: e.value.style.chart.backgroundColor,
313
+ color: e.value.style.chart.color,
314
+ active: W.value,
315
+ onClose: oe
316
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : f("", !0),
317
+ e.value.userOptions.show && D.value ? (a(), K(ot, {
304
318
  ref_key: "details",
305
- ref: Ne,
306
- key: `user_options_${se.value}`,
319
+ ref: Fe,
320
+ key: `user_options_${ie.value}`,
307
321
  backgroundColor: e.value.style.chart.backgroundColor,
308
322
  color: e.value.style.chart.color,
309
- isImaging: n(re),
310
- isPrinting: n(ne),
323
+ isImaging: n(ve),
324
+ isPrinting: n(de),
311
325
  uid: k.value,
312
326
  hasPdf: e.value.userOptions.buttons.pdf,
313
327
  hasImg: e.value.userOptions.buttons.img,
@@ -316,59 +330,69 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
316
330
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
317
331
  isFullscreen: q.value,
318
332
  titles: { ...e.value.userOptions.buttonTitles },
319
- chartElement: oe.value,
333
+ chartElement: Z.value,
320
334
  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 }, [
335
+ hasAnnotator: e.value.userOptions.buttons.annotator,
336
+ isAnnotation: W.value,
337
+ onToggleFullscreen: Xe,
338
+ onGeneratePdf: n(ye),
339
+ onGenerateCsv: _e,
340
+ onGenerateImage: n(he),
341
+ onToggleTable: xe,
342
+ onToggleAnnotator: oe
343
+ }, De({ _: 2 }, [
327
344
  l.$slots.optionPdf ? {
328
345
  name: "optionPdf",
329
- fn: U(() => [
330
- M(l.$slots, "optionPdf", {}, void 0, !0)
346
+ fn: X(() => [
347
+ B(l.$slots, "optionPdf", {}, void 0, !0)
331
348
  ]),
332
349
  key: "0"
333
350
  } : void 0,
334
351
  l.$slots.optionCsv ? {
335
352
  name: "optionCsv",
336
- fn: U(() => [
337
- M(l.$slots, "optionCsv", {}, void 0, !0)
353
+ fn: X(() => [
354
+ B(l.$slots, "optionCsv", {}, void 0, !0)
338
355
  ]),
339
356
  key: "1"
340
357
  } : void 0,
341
358
  l.$slots.optionImg ? {
342
359
  name: "optionImg",
343
- fn: U(() => [
344
- M(l.$slots, "optionImg", {}, void 0, !0)
360
+ fn: X(() => [
361
+ B(l.$slots, "optionImg", {}, void 0, !0)
345
362
  ]),
346
363
  key: "2"
347
364
  } : void 0,
348
365
  l.$slots.optionTable ? {
349
366
  name: "optionTable",
350
- fn: U(() => [
351
- M(l.$slots, "optionTable", {}, void 0, !0)
367
+ fn: X(() => [
368
+ B(l.$slots, "optionTable", {}, void 0, !0)
352
369
  ]),
353
370
  key: "3"
354
371
  } : void 0,
355
372
  l.$slots.optionFullscreen ? {
356
373
  name: "optionFullscreen",
357
- fn: U(({ toggleFullscreen: t, isFullscreen: u }) => [
358
- M(l.$slots, "optionFullscreen", pe(ge({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
374
+ fn: X(({ toggleFullscreen: t, isFullscreen: u }) => [
375
+ B(l.$slots, "optionFullscreen", se(ue({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
359
376
  ]),
360
377
  key: "4"
378
+ } : void 0,
379
+ l.$slots.optionAnnotator ? {
380
+ name: "optionAnnotator",
381
+ fn: X(({ toggleAnnotator: t, isAnnotator: u }) => [
382
+ B(l.$slots, "optionAnnotator", se(ue({ toggleAnnotator: t, isAnnotator: u })), void 0, !0)
383
+ ]),
384
+ key: "5"
361
385
  } : void 0
362
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : f("", !0),
386
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : f("", !0),
363
387
  r.value.height > 0 && D.value ? (a(), o("svg", {
364
- key: 1,
365
- xmlns: n(Je),
388
+ key: 2,
389
+ xmlns: n(Ze),
366
390
  class: m({ "vue-data-ui-fullscreen--on": q.value, "vue-data-ui-fulscreen--off": !q.value }),
367
391
  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}`)
392
+ style: h(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
369
393
  }, [
370
- _e(ut),
371
- d.value ? f("", !0) : (a(), o("g", ct, [
394
+ me(rt),
395
+ d.value ? f("", !0) : (a(), o("g", yt, [
372
396
  e.value.style.chart.layout.title.text ? (a(), o("text", {
373
397
  key: 0,
374
398
  "text-anchor": "middle",
@@ -378,7 +402,7 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
378
402
  x: r.value.width / 2,
379
403
  y: 12 + e.value.style.chart.layout.title.fontSize + e.value.style.chart.layout.title.offsetY,
380
404
  onClick: w
381
- }, c(e.value.style.chart.layout.title.text), 9, dt)) : f("", !0),
405
+ }, c(e.value.style.chart.layout.title.text), 9, ht)) : f("", !0),
382
406
  e.value.style.chart.layout.title.subtitle.text ? (a(), o("text", {
383
407
  key: 1,
384
408
  "text-anchor": "middle",
@@ -388,7 +412,7 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
388
412
  x: r.value.width / 2,
389
413
  y: 48 + e.value.style.chart.layout.title.subtitle.fontSize + e.value.style.chart.layout.title.subtitle.offsetY,
390
414
  onClick: w
391
- }, c(e.value.style.chart.layout.title.subtitle.text), 9, vt)) : f("", !0)
415
+ }, c(e.value.style.chart.layout.title.subtitle.text), 9, ft)) : f("", !0)
392
416
  ])),
393
417
  s("defs", null, [
394
418
  (a(!0), o(g, null, _(N.value, (t, u) => (a(), o("radialGradient", {
@@ -401,13 +425,13 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
401
425
  }, [
402
426
  s("stop", {
403
427
  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),
428
+ "stop-color": n(S)(n(we)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
429
+ }, null, 8, pt),
406
430
  s("stop", {
407
431
  offset: "100%",
408
432
  "stop-color": t.color
409
- }, null, 8, ft)
410
- ], 8, yt))), 256)),
433
+ }, null, 8, gt)
434
+ ], 8, bt))), 256)),
411
435
  (a(!0), o(g, null, _(N.value, (t) => (a(), o("linearGradient", {
412
436
  x1: "0%",
413
437
  y1: "0%",
@@ -418,12 +442,12 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
418
442
  s("stop", {
419
443
  offset: "0%",
420
444
  "stop-color": t.color
421
- }, null, 8, pt),
445
+ }, null, 8, xt),
422
446
  s("stop", {
423
447
  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)),
448
+ "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)),
427
451
  s("radialGradient", {
428
452
  cx: "50%",
429
453
  cy: "50%",
@@ -435,16 +459,16 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
435
459
  s("stop", {
436
460
  offset: "0%",
437
461
  "stop-color": n(S)("#FFFFFF", 0)
438
- }, null, 8, xt),
462
+ }, null, 8, wt),
439
463
  s("stop", {
440
464
  offset: "80%",
441
465
  "stop-color": n(S)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
442
- }, null, 8, mt),
466
+ }, null, 8, $t),
443
467
  s("stop", {
444
468
  offset: "100%",
445
469
  "stop-color": n(S)("#FFFFFF", 0)
446
- }, null, 8, kt)
447
- ], 8, _t),
470
+ }, null, 8, Ct)
471
+ ], 8, kt),
448
472
  s("radialGradient", {
449
473
  cx: "50%",
450
474
  cy: "50%",
@@ -456,16 +480,16 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
456
480
  s("stop", {
457
481
  offset: "0%",
458
482
  "stop-color": n(S)("#FFFFFF", 0)
459
- }, null, 8, $t),
483
+ }, null, 8, Tt),
460
484
  s("stop", {
461
485
  offset: "80%",
462
486
  "stop-color": n(S)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
463
- }, null, 8, Ct),
487
+ }, null, 8, Nt),
464
488
  s("stop", {
465
489
  offset: "100%",
466
490
  "stop-color": n(S)("#FFFFFF", 0)
467
- }, null, 8, zt)
468
- ], 8, wt),
491
+ }, null, 8, St)
492
+ ], 8, zt),
469
493
  s("radialGradient", {
470
494
  cx: "50%",
471
495
  cy: "50%",
@@ -477,18 +501,18 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
477
501
  s("stop", {
478
502
  offset: "0%",
479
503
  "stop-color": n(S)(e.value.style.chart.backgroundColor, 100)
480
- }, null, 8, Nt),
504
+ }, null, 8, Lt),
481
505
  s("stop", {
482
506
  offset: "80%",
483
507
  "stop-color": n(S)(e.value.style.chart.backgroundColor, 60)
484
- }, null, 8, St),
508
+ }, null, 8, It),
485
509
  s("stop", {
486
510
  offset: "100%",
487
511
  "stop-color": n(S)(e.value.style.chart.backgroundColor, 0)
488
- }, null, 8, Ft)
489
- ], 8, Tt)
512
+ }, null, 8, Pt)
513
+ ], 8, Ft)
490
514
  ]),
491
- e.value.style.chart.layout.grandTotal.show ? (a(), o("g", Lt, [
515
+ e.value.style.chart.layout.grandTotal.show ? (a(), o("g", Vt, [
492
516
  s("text", {
493
517
  x: C.value.seedX,
494
518
  y: 32 + e.value.style.chart.layout.grandTotal.offsetY,
@@ -497,7 +521,7 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
497
521
  fill: e.value.style.chart.layout.grandTotal.color,
498
522
  "text-anchor": "middle",
499
523
  onClick: w
500
- }, c(e.value.style.chart.layout.grandTotal.text), 9, It),
524
+ }, c(e.value.style.chart.layout.grandTotal.text), 9, Rt),
501
525
  s("text", {
502
526
  x: C.value.seedX,
503
527
  y: 38 + e.value.style.chart.layout.grandTotal.fontSize + e.value.style.chart.layout.grandTotal.offsetY,
@@ -515,15 +539,15 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
515
539
  s: e.value.style.chart.layout.grandTotal.suffix,
516
540
  r: e.value.style.chart.layout.grandTotal.roundingValue
517
541
  })
518
- )), 9, Pt)
542
+ )), 9, Bt)
519
543
  ])) : f("", !0),
520
- (a(!0), o(g, null, _(O.value, (t) => (a(), o("g", null, [
544
+ (a(!0), o(g, null, _(A.value, (t) => (a(), o("g", null, [
521
545
  (a(!0), o(g, null, _(r.value.branchSize, (u, b) => (a(), o("path", {
522
546
  d: `M
523
547
  ${t.x1},${t.y1 + b}
524
548
  C${t.x1 - 20},${t.y1 + b}
525
549
  ${t.x1 - 80},${t.y1 + b}
526
- ${Z(t).x + Z(t).r / 2}, ${Z(t).y}
550
+ ${le(t).x + le(t).r / 2}, ${le(t).y}
527
551
  `,
528
552
  stroke: n(S)(t.color, e.value.style.chart.layout.links.opacity),
529
553
  fill: "none",
@@ -531,7 +555,7 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
531
555
  "shape-rendering": "cirspEdges",
532
556
  style: h(`opacity:${L(t) ? 1 : 0}`),
533
557
  onClick: w
534
- }, null, 12, Vt))), 256))
558
+ }, null, 12, Mt))), 256))
535
559
  ]))), 256)),
536
560
  (a(!0), o(g, null, _(j.value, (t) => (a(), o("circle", {
537
561
  cx: t.x,
@@ -540,7 +564,7 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
540
564
  fill: e.value.style.chart.layout.roots.underlayerColor,
541
565
  stroke: "none",
542
566
  style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`)
543
- }, null, 12, Rt))), 256)),
567
+ }, null, 12, jt))), 256)),
544
568
  (a(!0), o(g, null, _(j.value, (t, u) => (a(), o("circle", {
545
569
  cx: t.x,
546
570
  cy: t.y,
@@ -549,18 +573,18 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
549
573
  stroke: e.value.style.chart.layout.roots.stroke,
550
574
  "stroke-width": e.value.style.chart.layout.roots.strokeWidth,
551
575
  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, [
576
+ onClick: (b) => pe(t)
577
+ }, null, 12, At))), 256)),
578
+ e.value.style.chart.layout.roots.labels.show ? (a(), o("g", Ot, [
555
579
  (a(!0), o(g, null, _(j.value, (t, u) => (a(), o("text", {
556
580
  x: t.x,
557
581
  y: t.y + e.value.style.chart.layout.roots.labels.fontSize / 2.6,
558
582
  "text-anchor": "middle",
559
583
  "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,
584
+ fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? n($e)(t.color) : e.value.style.chart.layout.roots.labels.color,
561
585
  "font-weight": "bold",
562
586
  style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
563
- onClick: (b) => ye(t)
587
+ onClick: (b) => pe(t)
564
588
  }, c(n(G)(
565
589
  e.value.style.chart.layout.roots.labels.formatter,
566
590
  t.total,
@@ -571,9 +595,9 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
571
595
  r: e.value.style.chart.layout.roots.labels.roundingValue
572
596
  }),
573
597
  { datapoint: t }
574
- )), 13, jt))), 256)),
598
+ )), 13, Xt))), 256)),
575
599
  (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, [
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, [
577
601
  s("text", {
578
602
  x: t.x,
579
603
  y: t.y + t.r + 24,
@@ -582,11 +606,11 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
582
606
  "font-size": e.value.style.chart.layout.roots.labels.name.fontSize,
583
607
  "font-weight": e.value.style.chart.layout.roots.labels.name.bold ? "bold" : "normal",
584
608
  onClick: w
585
- }, c(t.name), 9, Xt)
609
+ }, c(t.name), 9, Et)
586
610
  ])) : f("", !0)
587
611
  ]))), 256))
588
612
  ])) : f("", !0),
589
- (a(!0), o(g, null, _(O.value, (t) => (a(), o("rect", {
613
+ (a(!0), o(g, null, _(A.value, (t) => (a(), o("rect", {
590
614
  x: t.x1,
591
615
  y: t.y1,
592
616
  height: r.value.branchSize,
@@ -595,9 +619,9 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
595
619
  rx: e.value.style.chart.layout.branches.borderRadius,
596
620
  stroke: "none",
597
621
  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", {
622
+ onClick: (u) => ae(t)
623
+ }, null, 12, Ut))), 256)),
624
+ (a(!0), o(g, null, _(A.value, (t, u) => (a(), o("rect", {
601
625
  x: t.x1,
602
626
  y: t.y1,
603
627
  height: r.value.branchSize,
@@ -607,20 +631,20 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
607
631
  stroke: e.value.style.chart.layout.branches.stroke,
608
632
  "stroke-width": e.value.style.chart.layout.branches.strokeWidth,
609
633
  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, [
634
+ 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, [
614
638
  t.proportionToRoot * 100 > e.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (a(), o("text", {
615
639
  key: 0,
616
640
  x: t.x1 + 6,
617
641
  y: t.y1 + r.value.branchSize / 1.5,
618
642
  "text-anchor": "start",
619
- fill: n(ke)(t.color),
643
+ fill: n($e)(t.color),
620
644
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
621
645
  "font-weight": "bold",
622
646
  style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
623
- onClick: (u) => ee(t)
647
+ onClick: (u) => ae(t)
624
648
  }, c(n(G)(
625
649
  e.value.style.chart.layout.branches.labels.dataLabels.formatter,
626
650
  t.value,
@@ -631,11 +655,11 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
631
655
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
632
656
  }),
633
657
  { datapoint: t }
634
- )), 13, Ut)) : f("", !0)
658
+ )), 13, qt)) : f("", !0)
635
659
  ]))), 256))
636
660
  ])) : f("", !0),
637
- (a(!0), o(g, null, _(O.value, (t, u) => (a(), o("g", null, [
638
- (a(!0), o(g, null, _(n(we)(
661
+ (a(!0), o(g, null, _(A.value, (t, u) => (a(), o("g", null, [
662
+ (a(!0), o(g, null, _(n(Ce)(
639
663
  { series: t.breakdown, base: 1 },
640
664
  t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
641
665
  t.y1 + r.value.branchSize / 2,
@@ -647,18 +671,18 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
647
671
  "stroke-width": 10,
648
672
  fill: "none",
649
673
  style: h(`opacity:${L(t) ? 1 : 0.1}`)
650
- }, null, 12, Dt))), 256)),
674
+ }, null, 12, Ht))), 256)),
651
675
  s("circle", {
652
676
  fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${k.value})` : "transparent",
653
677
  cx: t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
654
678
  cy: t.y1 + r.value.branchSize / 2,
655
679
  r: r.value.branchSize / 2 + 2,
656
- onClick: (b) => Be(t),
680
+ onClick: (b) => je(t),
657
681
  style: h(`cursor:pointer;opacity:${L(t) ? 1 : 0.1}`)
658
- }, null, 12, Yt)
682
+ }, null, 12, Wt)
659
683
  ]))), 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", {
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", {
662
686
  x: t.x2 + r.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
663
687
  y: t.y1 + r.value.branchSize / 2 + 5,
664
688
  "font-size": e.value.style.chart.layout.branches.labels.fontSize,
@@ -666,7 +690,7 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
666
690
  fill: e.value.style.chart.layout.branches.labels.color,
667
691
  "text-anchor": "start",
668
692
  style: h(`opacity:${L(t) ? 1 : 0.1}`)
669
- }, c(t.name), 13, Ht))), 256))
693
+ }, c(t.name), 13, Jt))), 256))
670
694
  ])) : f("", !0),
671
695
  s("line", {
672
696
  x1: 256 + r.value.padding.left,
@@ -675,7 +699,7 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
675
699
  y2: C.value.bottom,
676
700
  stroke: e.value.style.chart.layout.verticalSeparator.stroke,
677
701
  "stroke-width": e.value.style.chart.layout.verticalSeparator.strokeWidth
678
- }, null, 8, Wt),
702
+ }, null, 8, Qt),
679
703
  !d.value && !x.value ? (a(), o("foreignObject", {
680
704
  key: 5,
681
705
  x: 0,
@@ -685,19 +709,19 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
685
709
  style: { overflow: "visible" },
686
710
  onClick: w
687
711
  }, [
688
- s("div", Jt, [
689
- s("div", Qt, [
712
+ s("div", el, [
713
+ s("div", tl, [
690
714
  (a(!0), o(g, null, _(j.value, (t) => (a(), o("div", {
691
715
  style: h(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
692
716
  }, [
693
- (a(), o("svg", Zt, [
717
+ (a(), o("svg", ll, [
694
718
  s("circle", {
695
719
  cx: "10",
696
720
  cy: "10",
697
721
  r: "10",
698
722
  fill: t.color,
699
723
  stroke: "none"
700
- }, null, 8, el)
724
+ }, null, 8, al)
701
725
  ])),
702
726
  s("span", null, c(t.name) + ":", 1),
703
727
  s("b", null, c(n(G)(
@@ -711,7 +735,7 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
711
735
  }),
712
736
  { datapoint: t }
713
737
  )), 1),
714
- W(" (" + c(n(T)({
738
+ J(" (" + c(n(T)({
715
739
  v: t.total / R.value * 100,
716
740
  s: "%",
717
741
  r: e.value.style.chart.layout.legend.roundingPercentage
@@ -719,52 +743,52 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
719
743
  ], 4))), 256))
720
744
  ])
721
745
  ])
722
- ], 8, Kt)) : f("", !0),
723
- d.value && B.value ? (a(), o("g", tl, [
746
+ ], 8, Zt)) : f("", !0),
747
+ d.value && M.value ? (a(), o("g", ol, [
724
748
  (a(), o("foreignObject", {
725
749
  x: 0,
726
- y: Me(),
750
+ y: Ae(),
727
751
  height: r.value.height - C.value.bottom,
728
752
  width: r.value.width,
729
753
  style: { overflow: "visible" },
730
754
  onClick: w
731
755
  }, [
732
- s("div", al, [
756
+ s("div", ul, [
733
757
  s("b", null, c(d.value.name), 1),
734
- s("div", ol, [
758
+ s("div", nl, [
735
759
  (a(!0), o(g, null, _(d.value.breakdown, (t, u) => (a(), o("div", {
736
760
  style: h(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
737
761
  }, [
738
- (a(), o("svg", sl, [
762
+ (a(), o("svg", rl, [
739
763
  s("circle", {
740
764
  cx: "10",
741
765
  cy: "10",
742
766
  r: "10",
743
767
  fill: t.color,
744
768
  stroke: "none"
745
- }, null, 8, ul)
769
+ }, null, 8, il)
746
770
  ])),
747
771
  s("span", null, [
748
- W(c(t.name) + ": ", 1),
772
+ J(c(t.name) + ": ", 1),
749
773
  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)
774
+ J(" (" + c((t.proportionToBranch * 100).toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "%)", 1)
751
775
  ])
752
776
  ], 4))), 256))
753
777
  ])
754
778
  ])
755
- ], 8, ll)),
779
+ ], 8, sl)),
756
780
  s("circle", {
757
781
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
758
782
  cy: d.value.y1 + r.value.branchSize / 2,
759
783
  r: 256,
760
784
  fill: `url(#nut_underlayer_${k.value})`,
761
- onClick: X,
785
+ onClick: O,
762
786
  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", {
787
+ }, null, 10, cl),
788
+ (a(!0), o(g, null, _(M.value, (t) => (a(), o("g", null, [
789
+ U(t) ? (a(), o("path", {
766
790
  key: 0,
767
- d: n(Qe)(
791
+ d: n(et)(
768
792
  t,
769
793
  {
770
794
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
@@ -782,40 +806,40 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
782
806
  "stroke-linejoin": "round",
783
807
  fill: "none",
784
808
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
785
- }, null, 10, rl)) : f("", !0)
809
+ }, null, 10, dl)) : f("", !0)
786
810
  ]))), 256)),
787
811
  s("circle", {
788
812
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
789
813
  cy: d.value.y1 + r.value.branchSize / 2,
790
814
  r: 118,
791
815
  fill: e.value.style.chart.backgroundColor,
792
- onClick: X,
816
+ onClick: O,
793
817
  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", {
818
+ }, null, 10, vl),
819
+ (a(!0), o(g, null, _(M.value, (t) => (a(), o("path", {
796
820
  d: t.path,
797
821
  stroke: t.color,
798
822
  "stroke-width": 64,
799
823
  fill: "none",
800
- onClick: X,
824
+ onClick: O,
801
825
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
802
- }, null, 10, cl))), 256)),
826
+ }, null, 10, yl))), 256)),
803
827
  s("circle", {
804
828
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
805
829
  cy: d.value.y1 + r.value.branchSize / 2,
806
830
  r: 100,
807
831
  fill: `url(#nutpick_${k.value})`,
808
- onClick: X,
832
+ onClick: O,
809
833
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
810
- }, null, 10, dl),
834
+ }, null, 10, hl),
811
835
  s("circle", {
812
836
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
813
837
  cy: d.value.y1 + r.value.branchSize / 2,
814
838
  r: 48,
815
839
  fill: e.value.style.chart.backgroundColor,
816
- onClick: X,
840
+ onClick: O,
817
841
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
818
- }, null, 10, vl),
842
+ }, null, 10, fl),
819
843
  s("text", {
820
844
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
821
845
  y: d.value.y1 + 8,
@@ -823,9 +847,9 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
823
847
  "font-size": e.value.style.chart.layout.nuts.selected.labels.core.total.fontSize,
824
848
  "font-weight": e.value.style.chart.layout.nuts.selected.labels.core.total.bold ? "bold" : "normal",
825
849
  "text-anchor": "middle",
826
- onClick: X,
850
+ onClick: O,
827
851
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
828
- }, c(e.value.translations.total), 11, yl),
852
+ }, c(e.value.translations.total), 11, bl),
829
853
  s("text", {
830
854
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
831
855
  y: d.value.y1 + 36,
@@ -833,7 +857,7 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
833
857
  "font-size": e.value.style.chart.layout.nuts.selected.labels.core.value.fontSize,
834
858
  "font-weight": e.value.style.chart.layout.nuts.selected.labels.core.value.bold ? "bold" : "normal",
835
859
  "text-anchor": "middle",
836
- onClick: X,
860
+ onClick: O,
837
861
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
838
862
  }, c(n(G)(
839
863
  e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
@@ -845,9 +869,9 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
845
869
  r: e.value.style.chart.layout.nuts.selected.roundingValue
846
870
  }),
847
871
  { 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", {
872
+ )), 11, pl),
873
+ (a(!0), o(g, null, _(M.value, (t, u) => (a(), o("g", null, [
874
+ U(t) ? (a(), o("text", {
851
875
  key: 0,
852
876
  x: n(P)(t).x,
853
877
  "text-anchor": n(P)(t).anchor,
@@ -856,8 +880,8 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
856
880
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
857
881
  style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
858
882
  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", {
883
+ }, " ⬤ ", 14, gl)) : f("", !0),
884
+ U(t) ? (a(), o("text", {
861
885
  key: 1,
862
886
  x: n(P)(t, !0).x,
863
887
  "text-anchor": n(P)(t, !0).anchor,
@@ -866,10 +890,10 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
866
890
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
867
891
  style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
868
892
  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)
893
+ }, c(d.value.breakdown[u].name), 15, _l)) : f("", !0)
870
894
  ]))), 256)),
871
- (a(!0), o(g, null, _(B.value, (t, u) => (a(), o("g", null, [
872
- A(t) ? (a(), o("text", {
895
+ (a(!0), o(g, null, _(M.value, (t, u) => (a(), o("g", null, [
896
+ U(t) ? (a(), o("text", {
873
897
  key: 0,
874
898
  x: n(P)(t, !0).x,
875
899
  "text-anchor": n(P)(t).anchor,
@@ -891,9 +915,9 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
891
915
  s: e.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
892
916
  r: e.value.style.chart.layout.nuts.selected.roundingValue
893
917
  }),
894
- { datapoint: B.value, seriesIndex: u }
895
- )), 15, pl)) : f("", !0),
896
- A(t) ? (a(), o("text", {
918
+ { datapoint: M.value, seriesIndex: u }
919
+ )), 15, xl)) : f("", !0),
920
+ U(t) ? (a(), o("text", {
897
921
  key: 1,
898
922
  x: n(P)(t, !0).x,
899
923
  "text-anchor": n(P)(t).anchor,
@@ -906,8 +930,8 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
906
930
  v: d.value.breakdown[u].proportionToRoot * 100,
907
931
  s: "%",
908
932
  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", {
933
+ })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[u].rootName), 15, ml)) : f("", !0),
934
+ U(t) ? (a(), o("text", {
911
935
  key: 2,
912
936
  x: n(P)(t, !0).x,
913
937
  "text-anchor": n(P)(t).anchor,
@@ -920,10 +944,10 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
920
944
  v: d.value.breakdown[u].proportionToTree * 100,
921
945
  s: "%",
922
946
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
923
- })) + " " + c(e.value.translations.proportionToTree), 15, _l)) : f("", !0)
947
+ })) + " " + c(e.value.translations.proportionToTree), 15, kl)) : f("", !0)
924
948
  ]))), 256))
925
949
  ])) : f("", !0),
926
- (a(!0), o(g, null, _(O.value, (t) => (a(), o("g", null, [
950
+ (a(!0), o(g, null, _(A.value, (t) => (a(), o("g", null, [
927
951
  x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
928
952
  key: 0,
929
953
  x: t.x1 + 6,
@@ -943,7 +967,7 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
943
967
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
944
968
  }),
945
969
  { datapoint: t }
946
- )), 9, xl)) : f("", !0),
970
+ )), 9, wl)) : f("", !0),
947
971
  x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
948
972
  key: 1,
949
973
  x: t.x1 + 6,
@@ -956,7 +980,7 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
956
980
  v: t.proportionToRoot * 100,
957
981
  s: "%",
958
982
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
959
- })) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, ml)) : f("", !0),
983
+ })) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, $l)) : f("", !0),
960
984
  x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
961
985
  key: 2,
962
986
  x: t.x1 + 6,
@@ -969,15 +993,15 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
969
993
  v: t.value / R.value * 100,
970
994
  s: "%",
971
995
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
972
- })) + " " + c(e.value.translations.proportionToTree), 9, kl)) : f("", !0)
996
+ })) + " " + c(e.value.translations.proportionToTree), 9, Cl)) : f("", !0)
973
997
  ]))), 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)
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)
978
1002
  ])) : f("", !0),
979
- D.value ? f("", !0) : (a(), te(at, {
980
- key: 3,
1003
+ D.value ? f("", !0) : (a(), K(st, {
1004
+ key: 4,
981
1005
  config: {
982
1006
  type: "chestnut",
983
1007
  style: {
@@ -988,9 +1012,9 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
988
1012
  }
989
1013
  }
990
1014
  }, null, 8, ["config"])),
991
- M(l.$slots, "legend", { legend: N.value }, void 0, !0),
992
- D.value ? (a(), te(st, {
993
- key: 4,
1015
+ B(l.$slots, "legend", { legend: N.value }, void 0, !0),
1016
+ D.value ? (a(), K(nt, {
1017
+ key: 5,
994
1018
  hideDetails: "",
995
1019
  config: {
996
1020
  open: Y.value.showTable,
@@ -1005,21 +1029,21 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
1005
1029
  }
1006
1030
  }
1007
1031
  }, {
1008
- content: U(() => [
1032
+ content: X(() => [
1009
1033
  s("div", {
1010
1034
  ref_key: "tableContainer",
1011
- ref: Q,
1035
+ ref: te,
1012
1036
  class: "vue-ui-chestnut-table"
1013
1037
  }, [
1014
- s("div", $l, [
1038
+ s("div", Tl, [
1015
1039
  s("div", {
1016
1040
  role: "button",
1017
1041
  tabindex: "0",
1018
1042
  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
1043
  onClick: i[0] || (i[0] = (t) => Y.value.showTable = !1),
1020
- onKeypress: i[1] || (i[1] = Ue((t) => Y.value.showTable = !1, ["enter"]))
1044
+ onKeypress: i[1] || (i[1] = Ye((t) => Y.value.showTable = !1, ["enter"]))
1021
1045
  }, [
1022
- _e(ot, {
1046
+ me(ut, {
1023
1047
  name: "close",
1024
1048
  stroke: e.value.table.th.color,
1025
1049
  "stroke-width": 2
@@ -1027,15 +1051,15 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
1027
1051
  ], 36),
1028
1052
  s("div", {
1029
1053
  style: { width: "100%" },
1030
- class: m({ "vue-ui-responsive": de.value })
1054
+ class: m({ "vue-ui-responsive": fe.value })
1031
1055
  }, [
1032
- s("table", Cl, [
1056
+ s("table", Nl, [
1033
1057
  s("caption", {
1034
1058
  style: h({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
1035
1059
  class: "vue-ui-data-table__caption"
1036
1060
  }, [
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)
1061
+ 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)
1039
1063
  ], 4),
1040
1064
  s("thead", null, [
1041
1065
  s("tr", {
@@ -1057,99 +1081,99 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
1057
1081
  style: h(`outline:${e.value.table.td.outline}`),
1058
1082
  "data-cell": v.value.head[0]
1059
1083
  }, [
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))
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))
1062
1086
  ])
1063
- ], 12, Tl),
1087
+ ], 12, Fl),
1064
1088
  s("td", {
1065
1089
  class: "vue-ui-data-table__tbody__td",
1066
1090
  style: h(`outline:${e.value.table.td.outline}`),
1067
1091
  "data-cell": v.value.head[1]
1068
1092
  }, [
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))
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))
1071
1095
  ])
1072
- ], 12, Ll),
1096
+ ], 12, Vl),
1073
1097
  s("td", {
1074
1098
  class: "vue-ui-data-table__tbody__td",
1075
1099
  style: h(`outline:${e.value.table.td.outline}`),
1076
1100
  "data-cell": v.value.head[2]
1077
1101
  }, [
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))
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))
1080
1104
  ])
1081
- ], 12, Rl),
1105
+ ], 12, jl),
1082
1106
  s("td", {
1083
1107
  class: "vue-ui-data-table__tbody__td",
1084
1108
  style: h(`outline:${e.value.table.td.outline}`),
1085
1109
  "data-cell": v.value.head[3]
1086
1110
  }, [
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))
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))
1089
1113
  ])
1090
- ], 12, Ol),
1114
+ ], 12, Gl),
1091
1115
  s("td", {
1092
1116
  class: "vue-ui-data-table__tbody__td",
1093
1117
  style: h(`outline:${e.value.table.td.outline}`),
1094
1118
  "data-cell": v.value.head[4]
1095
1119
  }, [
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))
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))
1098
1122
  ])
1099
- ], 12, Al),
1123
+ ], 12, Yl),
1100
1124
  s("td", {
1101
1125
  class: "vue-ui-data-table__tbody__td",
1102
1126
  style: h(`outline:${e.value.table.td.outline}`),
1103
1127
  "data-cell": v.value.head[5]
1104
1128
  }, [
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))
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))
1107
1131
  ])
1108
- ], 12, ql),
1132
+ ], 12, Kl),
1109
1133
  s("td", {
1110
1134
  class: "vue-ui-data-table__tbody__td",
1111
1135
  style: h(`outline:${e.value.table.td.outline}`),
1112
1136
  "data-cell": v.value.head[6]
1113
1137
  }, [
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))
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))
1116
1140
  ])
1117
- ], 12, Jl),
1141
+ ], 12, ea),
1118
1142
  s("td", {
1119
1143
  class: "vue-ui-data-table__tbody__td",
1120
1144
  style: h(`outline:${e.value.table.td.outline}`),
1121
1145
  "data-cell": v.value.head[7]
1122
1146
  }, [
1123
- s("div", la, c(t.nutName), 1)
1124
- ], 12, ta),
1147
+ s("div", sa, c(t.nutName), 1)
1148
+ ], 12, oa),
1125
1149
  s("td", {
1126
1150
  class: "vue-ui-data-table__tbody__td",
1127
1151
  style: h(`outline:${e.value.table.td.outline}`),
1128
1152
  "data-cell": v.value.head[8]
1129
1153
  }, [
1130
- s("div", oa, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1131
- ], 12, aa),
1154
+ s("div", na, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1155
+ ], 12, ua),
1132
1156
  s("td", {
1133
1157
  class: "vue-ui-data-table__tbody__td",
1134
1158
  style: h(`outline:${e.value.table.td.outline}`),
1135
1159
  "data-cell": v.value.head[9]
1136
1160
  }, [
1137
- s("div", ua, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1138
- ], 12, sa),
1161
+ s("div", ia, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1162
+ ], 12, ra),
1139
1163
  s("td", {
1140
1164
  class: "vue-ui-data-table__tbody__td",
1141
1165
  style: h(`outline:${e.value.table.td.outline}`),
1142
1166
  "data-cell": v.value.head[10]
1143
1167
  }, [
1144
- s("div", ra, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1145
- ], 12, na),
1168
+ s("div", da, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1169
+ ], 12, ca),
1146
1170
  s("td", {
1147
1171
  class: "vue-ui-data-table__tbody__td",
1148
1172
  style: h(`outline:${e.value.table.td.outline}`),
1149
1173
  "data-cell": v.value.head[11]
1150
1174
  }, [
1151
- s("div", ca, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1152
- ], 12, ia)
1175
+ s("div", ya, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1176
+ ], 12, va)
1153
1177
  ], 6))), 256))
1154
1178
  ])
1155
1179
  ])
@@ -1159,9 +1183,9 @@ const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "fo
1159
1183
  ]),
1160
1184
  _: 1
1161
1185
  }, 8, ["config"])) : f("", !0)
1162
- ], 14, rt));
1186
+ ], 14, dt));
1163
1187
  }
1164
- }, ka = /* @__PURE__ */ nt(da, [["__scopeId", "data-v-c10dbcb5"]]);
1188
+ }, za = /* @__PURE__ */ ct(ha, [["__scopeId", "data-v-ee92c440"]]);
1165
1189
  export {
1166
- ka as default
1190
+ za as default
1167
1191
  };