vue-data-ui 2.3.76 → 2.3.78

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 (161) hide show
  1. package/dist/{Arrow-DY9RKUmG.js → Arrow-BCYtOwX7.js} +1 -1
  2. package/dist/{Arrow-D7M4-bW7.cjs → Arrow-DWkvIpW8.cjs} +1 -1
  3. package/dist/{BaseIcon-rwm-10Hu.js → BaseIcon-BIQXWVMS.js} +1 -1
  4. package/dist/{BaseIcon-DB7Apwv_.cjs → BaseIcon-Bcpzfk34.cjs} +1 -1
  5. package/dist/{DataTable-CsNozyz7.cjs → DataTable-C5TOiC61.cjs} +1 -1
  6. package/dist/{DataTable-e2fnfjXV.js → DataTable-y1lX5jVj.js} +2 -2
  7. package/dist/{Legend-5cQ0xZjK.js → Legend-BLXcdrri.js} +1 -1
  8. package/dist/{Legend-DgFd-O0m.cjs → Legend-CGGD8NhP.cjs} +1 -1
  9. package/dist/{Shape-CiTElr_0.js → Shape-CsoTtJx6.js} +1 -1
  10. package/dist/{Shape-yPECDLiP.cjs → Shape-qJYTY2BC.cjs} +1 -1
  11. package/dist/{Slicer-DaZgCKV7.cjs → Slicer-CZJXKSeE.cjs} +1 -1
  12. package/dist/{Slicer-DwBBu3kB.js → Slicer-DzJZ4axa.js} +12 -12
  13. package/dist/{Title-3EduyW4p.cjs → Title-BSpa3uge.cjs} +1 -1
  14. package/dist/{Title-gUz6GDA3.js → Title-Bx-VO3md.js} +1 -1
  15. package/dist/{Tooltip-DfSM1mNP.js → Tooltip-Dk-cimhQ.js} +23 -23
  16. package/dist/Tooltip-rmhZhv96.cjs +1 -0
  17. package/dist/index-CzjC8LfY.cjs +4 -0
  18. package/dist/{index-CaV1s-yZ.js → index-DP8dqFNd.js} +1147 -1145
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-tWCzZrLx.js → useNestedProp-B-oZxD4x.js} +1 -1
  21. package/dist/{useNestedProp-CisbRRo_.cjs → useNestedProp-CY7DebVH.cjs} +1 -1
  22. package/dist/{usePrinter-DzTaA1eh.cjs → usePrinter-DiLM6jav.cjs} +1 -1
  23. package/dist/{usePrinter-rvJyT65A.js → usePrinter-DiuHo4LO.js} +1 -1
  24. package/dist/{vue-data-ui-BGkWRPUY.cjs → vue-data-ui-Ce5IFSYA.cjs} +1 -1
  25. package/dist/{vue-data-ui-BO89gTtq.js → vue-data-ui-Ct7n5wkM.js} +57 -57
  26. package/dist/vue-data-ui.cjs +1 -1
  27. package/dist/vue-data-ui.js +9 -9
  28. package/dist/vue-ui-3d-bar-B_i2EoFu.cjs +19 -0
  29. package/dist/{vue-ui-3d-bar-CcTMIHiB.js → vue-ui-3d-bar-O3fB5J7V.js} +342 -342
  30. package/dist/{vue-ui-accordion-CpzGQ63y.js → vue-ui-accordion-Dl8zkZPk.js} +3 -3
  31. package/dist/{vue-ui-accordion-7e4Myhcg.cjs → vue-ui-accordion-DpI7fTKZ.cjs} +1 -1
  32. package/dist/{vue-ui-age-pyramid-D71ZLkVV.js → vue-ui-age-pyramid-BeiREI6d.js} +22 -22
  33. package/dist/vue-ui-age-pyramid-BsAfxkN4.cjs +1 -0
  34. package/dist/{vue-ui-annotator-B8Iu6cYt.js → vue-ui-annotator-0yje27Qq.js} +39 -39
  35. package/dist/{vue-ui-annotator-BKQrweqm.cjs → vue-ui-annotator-DpN-6IwB.cjs} +2 -2
  36. package/dist/{vue-ui-candlestick-Bx4QVkY0.js → vue-ui-candlestick-D9UteVvx.js} +34 -34
  37. package/dist/{vue-ui-candlestick-DAc1FQ-i.cjs → vue-ui-candlestick-lv78wnpS.cjs} +2 -2
  38. package/dist/{vue-ui-carousel-table-uFRqkghO.cjs → vue-ui-carousel-table-Br6FwMKM.cjs} +1 -1
  39. package/dist/{vue-ui-carousel-table-xuQG6bcH.js → vue-ui-carousel-table-jxZ3h5pq.js} +31 -31
  40. package/dist/{vue-ui-chestnut-Bo6rDcU7.js → vue-ui-chestnut-DXuHRJy4.js} +291 -288
  41. package/dist/vue-ui-chestnut-DbYHeNaL.cjs +6 -0
  42. package/dist/{vue-ui-cursor-C0KOqEOq.js → vue-ui-cursor-BzPbdVRJ.js} +20 -20
  43. package/dist/vue-ui-cursor-iss6SJ1Y.cjs +1 -0
  44. package/dist/{vue-ui-dashboard-BT71xS7P.js → vue-ui-dashboard-CGjWuFrI.js} +2 -2
  45. package/dist/{vue-ui-dashboard-0Hsjx-bO.cjs → vue-ui-dashboard-DKT82yQ4.cjs} +1 -1
  46. package/dist/{vue-ui-digits-BRqpKYvD.js → vue-ui-digits-BCguvLxB.js} +2 -2
  47. package/dist/{vue-ui-digits-C2ReH6w0.cjs → vue-ui-digits-BfwDCfYp.cjs} +1 -1
  48. package/dist/{vue-ui-donut-NQW-3prf.js → vue-ui-donut-DJTeGLVG.js} +209 -212
  49. package/dist/{vue-ui-donut-evolution-jbXQQGTc.js → vue-ui-donut-evolution-BaLDZNDG.js} +106 -106
  50. package/dist/vue-ui-donut-evolution-Bil1AIhX.cjs +1 -0
  51. package/dist/vue-ui-donut-uVPdO4UH.cjs +1 -0
  52. package/dist/{vue-ui-dumbbell-Dyz8xdtC.js → vue-ui-dumbbell-BqtDdV5w.js} +17 -17
  53. package/dist/{vue-ui-dumbbell-DXQSg6wa.cjs → vue-ui-dumbbell-DiL3xhKY.cjs} +1 -1
  54. package/dist/{vue-ui-flow-UqSNwH9d.cjs → vue-ui-flow-BVTbbsCK.cjs} +1 -1
  55. package/dist/{vue-ui-flow-BL3JWW1m.js → vue-ui-flow-zfTGon4s.js} +28 -28
  56. package/dist/{vue-ui-galaxy-Dx9nsOuM.js → vue-ui-galaxy-5iRb5sQ-.js} +22 -22
  57. package/dist/{vue-ui-galaxy-DTQWGvRH.cjs → vue-ui-galaxy-GSO_6KIe.cjs} +1 -1
  58. package/dist/vue-ui-gauge-Bz7oLa51.cjs +1 -0
  59. package/dist/{vue-ui-gauge-CLaKGi0-.js → vue-ui-gauge-DljHYdCS.js} +101 -110
  60. package/dist/{vue-ui-gizmo-of-4s5HG.js → vue-ui-gizmo-B-fxFOZy.js} +2 -2
  61. package/dist/{vue-ui-gizmo-Kitfqu0J.cjs → vue-ui-gizmo-KL0OJY2K.cjs} +1 -1
  62. package/dist/{vue-ui-heatmap-BIzjOMXO.js → vue-ui-heatmap-ketn_NV3.js} +17 -17
  63. package/dist/{vue-ui-heatmap-DUw2350O.cjs → vue-ui-heatmap-thMJPCfo.cjs} +1 -1
  64. package/dist/{vue-ui-kpi-By3YPwgo.js → vue-ui-kpi-Bxu8uZ21.js} +3 -3
  65. package/dist/{vue-ui-kpi-DyL2Hcz-.cjs → vue-ui-kpi-e1QWa8D4.cjs} +1 -1
  66. package/dist/{vue-ui-mini-loader-DnK3V2z2.js → vue-ui-mini-loader-BZ_2aV8O.js} +2 -2
  67. package/dist/{vue-ui-mini-loader-C048-8Kd.cjs → vue-ui-mini-loader-paRZQU8H.cjs} +1 -1
  68. package/dist/{vue-ui-molecule-BfhbIqa5.js → vue-ui-molecule-Bpp5unvI.js} +33 -33
  69. package/dist/{vue-ui-molecule-D-ahly6R.cjs → vue-ui-molecule-VOBL4Osc.cjs} +1 -1
  70. package/dist/{vue-ui-mood-radar-DXxEKr3x.js → vue-ui-mood-radar-BY8XP_Q5.js} +129 -132
  71. package/dist/vue-ui-mood-radar-CwtMLwP8.cjs +1 -0
  72. package/dist/{vue-ui-nested-donuts-BdUdHFd-.js → vue-ui-nested-donuts-5uuLi3If.js} +98 -98
  73. package/dist/{vue-ui-nested-donuts-C7qM_FRw.cjs → vue-ui-nested-donuts-CLnVnAiD.cjs} +2 -2
  74. package/dist/{vue-ui-onion-DX3gofXZ.cjs → vue-ui-onion-CMSPSSSG.cjs} +1 -1
  75. package/dist/{vue-ui-onion-D0vF5jBt.js → vue-ui-onion-zDy4ecPl.js} +9 -9
  76. package/dist/{vue-ui-parallel-coordinate-plot-DEx5kFYd.cjs → vue-ui-parallel-coordinate-plot-1PFxiI__.cjs} +1 -1
  77. package/dist/{vue-ui-parallel-coordinate-plot-CTZY-pY8.js → vue-ui-parallel-coordinate-plot-BeEkL7Dq.js} +24 -24
  78. package/dist/vue-ui-quadrant-Cx5z_c90.cjs +1 -0
  79. package/dist/{vue-ui-quadrant-ByY8GP3y.js → vue-ui-quadrant-MCIlbbsW.js} +35 -35
  80. package/dist/{vue-ui-quick-chart-DWZEgUJF.cjs → vue-ui-quick-chart-Xn-47NQG.cjs} +1 -1
  81. package/dist/{vue-ui-quick-chart-DTxJ__7j.js → vue-ui-quick-chart-r6Qa7qg_.js} +69 -69
  82. package/dist/{vue-ui-radar-DEED0rTz.cjs → vue-ui-radar-ANQ1wXFc.cjs} +1 -1
  83. package/dist/{vue-ui-radar-5UBmAU6W.js → vue-ui-radar-DFV5cFkl.js} +39 -39
  84. package/dist/{vue-ui-rating-Ce_Ewqtl.cjs → vue-ui-rating-BVzCbQbv.cjs} +1 -1
  85. package/dist/{vue-ui-rating-Dr6jquxh.js → vue-ui-rating-DYu1EuJF.js} +6 -6
  86. package/dist/{vue-ui-relation-circle-BU8i2miI.js → vue-ui-relation-circle-BAcmDQB_.js} +29 -29
  87. package/dist/vue-ui-relation-circle-DEM6C6Or.cjs +1 -0
  88. package/dist/{vue-ui-rings-Ctl3Jywh.js → vue-ui-rings-BiLlYpgu.js} +31 -31
  89. package/dist/{vue-ui-rings-OQ8a1Ruw.cjs → vue-ui-rings-Ce4G4hat.cjs} +2 -2
  90. package/dist/{vue-ui-scatter-BwJ_koWT.js → vue-ui-scatter-D2ndYfkQ.js} +95 -95
  91. package/dist/vue-ui-scatter-OtlcTCUF.cjs +1 -0
  92. package/dist/{vue-ui-screenshot-BS3L5vhN.js → vue-ui-screenshot-CKCNPn-e.js} +4 -4
  93. package/dist/{vue-ui-screenshot-bAVk3EPl.cjs → vue-ui-screenshot-DTQx4VsM.cjs} +1 -1
  94. package/dist/{vue-ui-skeleton-CvFX_ExX.js → vue-ui-skeleton-B30ZhUV7.js} +96 -96
  95. package/dist/vue-ui-skeleton-CwqzJlQf.cjs +41 -0
  96. package/dist/{vue-ui-smiley-CGYZpNt9.js → vue-ui-smiley-DzLvZR1k.js} +2 -2
  97. package/dist/{vue-ui-smiley-sF8QIso1.cjs → vue-ui-smiley-L6o24M6h.cjs} +1 -1
  98. package/dist/{vue-ui-spark-trend-B4XSSKl9.js → vue-ui-spark-trend-BKsmENbH.js} +21 -21
  99. package/dist/vue-ui-spark-trend-BoWeviHk.cjs +1 -0
  100. package/dist/{vue-ui-sparkbar-BbsJGDMZ.js → vue-ui-sparkbar-DNzZkp8z.js} +10 -10
  101. package/dist/vue-ui-sparkbar-DY3iOLo4.cjs +1 -0
  102. package/dist/{vue-ui-sparkgauge-D4w_i_QJ.js → vue-ui-sparkgauge-B2DngjVP.js} +8 -8
  103. package/dist/{vue-ui-sparkgauge-BKyQoI7C.cjs → vue-ui-sparkgauge-BlZ-lJm4.cjs} +1 -1
  104. package/dist/vue-ui-sparkhistogram-BUBewgdH.cjs +1 -0
  105. package/dist/{vue-ui-sparkhistogram-CYybrW-6.js → vue-ui-sparkhistogram-Co9N3BeQ.js} +111 -101
  106. package/dist/vue-ui-sparkline-BhL0mxXD.cjs +1 -0
  107. package/dist/{vue-ui-sparkline-DjN1SVdO.js → vue-ui-sparkline-Dpqo4aRJ.js} +34 -34
  108. package/dist/{vue-ui-sparkstackbar-BZ2bESBi.cjs → vue-ui-sparkstackbar-DtNbx3EV.cjs} +1 -1
  109. package/dist/{vue-ui-sparkstackbar-BLMhJxaN.js → vue-ui-sparkstackbar-_JwfRxF8.js} +5 -5
  110. package/dist/{vue-ui-stackbar-BTKOHUYc.js → vue-ui-stackbar-BtN7ZM7-.js} +202 -200
  111. package/dist/{vue-ui-stackbar-DRHaJFR8.cjs → vue-ui-stackbar-C7AWHP6m.cjs} +2 -2
  112. package/dist/{vue-ui-strip-plot-o6GTsGAT.js → vue-ui-strip-plot-6L9a7BSw.js} +26 -26
  113. package/dist/{vue-ui-strip-plot-DxQxFbWg.cjs → vue-ui-strip-plot-cgOFTunJ.cjs} +1 -1
  114. package/dist/{vue-ui-table-BFIj1Rgh.cjs → vue-ui-table-4Pf9tmFg.cjs} +1 -1
  115. package/dist/{vue-ui-table-CnquiTpr.js → vue-ui-table-BFYHRMCS.js} +1 -1
  116. package/dist/{vue-ui-table-heatmap-CZRIwv-Q.js → vue-ui-table-heatmap--kPCu8mA.js} +24 -24
  117. package/dist/{vue-ui-table-heatmap-CCGK12Fa.cjs → vue-ui-table-heatmap-CltKb2V9.cjs} +1 -1
  118. package/dist/{vue-ui-table-sparkline-DYmgfHz4.cjs → vue-ui-table-sparkline-B5OjJud8.cjs} +1 -1
  119. package/dist/{vue-ui-table-sparkline-B3zEeq6Z.js → vue-ui-table-sparkline-CsWx1Ksy.js} +26 -26
  120. package/dist/{vue-ui-thermometer-CzPRBt6c.cjs → vue-ui-thermometer-62_4QovL.cjs} +1 -1
  121. package/dist/{vue-ui-thermometer-BopiohUh.js → vue-ui-thermometer-nTD7sp8r.js} +40 -40
  122. package/dist/{vue-ui-timer-Bonw69Lt.cjs → vue-ui-timer-BU0s7Vt9.cjs} +1 -1
  123. package/dist/{vue-ui-timer-C7WkW8hK.js → vue-ui-timer-DMFHjnzA.js} +8 -8
  124. package/dist/{vue-ui-tiremarks-BurRtFv4.js → vue-ui-tiremarks-1X9B1VKM.js} +18 -18
  125. package/dist/{vue-ui-tiremarks-DkIGfq8t.cjs → vue-ui-tiremarks-mwBeBMJY.cjs} +1 -1
  126. package/dist/{vue-ui-treemap-DWy4voIr.js → vue-ui-treemap-CVTwqPFA.js} +29 -29
  127. package/dist/{vue-ui-treemap-CalhJmnp.cjs → vue-ui-treemap-DQmBbm7e.cjs} +1 -1
  128. package/dist/vue-ui-vertical-bar-BXiy8KRC.cjs +4 -0
  129. package/dist/{vue-ui-vertical-bar-CJW1YhtY.js → vue-ui-vertical-bar-Br6Z0A3F.js} +14 -14
  130. package/dist/{vue-ui-waffle-faQMBYNx.cjs → vue-ui-waffle-CLCsHw9j.cjs} +1 -1
  131. package/dist/{vue-ui-waffle-DB7X6nTS.js → vue-ui-waffle-DEXMh07q.js} +84 -84
  132. package/dist/{vue-ui-wheel-CryKap2E.js → vue-ui-wheel-CwjuVi6U.js} +24 -24
  133. package/dist/{vue-ui-wheel-BzjbGP6a.cjs → vue-ui-wheel-DSFKKX65.cjs} +1 -1
  134. package/dist/{vue-ui-word-cloud-COqUkvei.js → vue-ui-word-cloud-BKeD3fHb.js} +19 -19
  135. package/dist/{vue-ui-word-cloud-DJN9I4q4.cjs → vue-ui-word-cloud-DZS4hCeR.cjs} +1 -1
  136. package/dist/vue-ui-xy-B5aCogSL.cjs +3 -0
  137. package/dist/{vue-ui-xy-b1Z_HPsx.js → vue-ui-xy-DA3qqL8u.js} +351 -350
  138. package/dist/{vue-ui-xy-canvas-BgbLnY5B.js → vue-ui-xy-canvas-B7DH4RK5.js} +18 -18
  139. package/dist/vue-ui-xy-canvas-heCdqh5X.cjs +9 -0
  140. package/package.json +1 -1
  141. package/dist/Tooltip-DScSrYXJ.cjs +0 -1
  142. package/dist/index-BTgtr0F8.cjs +0 -4
  143. package/dist/vue-ui-3d-bar-DzmcGuqh.cjs +0 -19
  144. package/dist/vue-ui-age-pyramid-C7qr9EwB.cjs +0 -1
  145. package/dist/vue-ui-chestnut-DJkm72oD.cjs +0 -6
  146. package/dist/vue-ui-cursor-BQbeuW-k.cjs +0 -1
  147. package/dist/vue-ui-donut-evolution-DOe-cwLi.cjs +0 -1
  148. package/dist/vue-ui-donut-v81suIOX.cjs +0 -1
  149. package/dist/vue-ui-gauge-BUB7H0qA.cjs +0 -1
  150. package/dist/vue-ui-mood-radar-DD8R9BpJ.cjs +0 -1
  151. package/dist/vue-ui-quadrant-CgApzie6.cjs +0 -1
  152. package/dist/vue-ui-relation-circle-CRcQ6Zcy.cjs +0 -1
  153. package/dist/vue-ui-scatter-B8StSjt8.cjs +0 -1
  154. package/dist/vue-ui-skeleton-CMQzFTs9.cjs +0 -41
  155. package/dist/vue-ui-spark-trend-CdIoxaqb.cjs +0 -1
  156. package/dist/vue-ui-sparkbar-C3i1K7hi.cjs +0 -1
  157. package/dist/vue-ui-sparkhistogram-CvTYEmbz.cjs +0 -1
  158. package/dist/vue-ui-sparkline-CDowaDRS.cjs +0 -1
  159. package/dist/vue-ui-vertical-bar-rwWp-sai.cjs +0 -4
  160. package/dist/vue-ui-xy-BmA0tspd.cjs +0 -3
  161. package/dist/vue-ui-xy-canvas-DOM2Kq_s.cjs +0 -9
@@ -1,23 +1,23 @@
1
- import { useCssVars as Xe, computed as $, ref as z, watch as Oe, onMounted as Ee, openBlock as a, createElementBlock as o, normalizeClass as m, normalizeStyle as h, createBlock as te, unref as n, createSlots as Ge, withCtx as U, renderSlot as j, normalizeProps as ge, guardReactiveProps as _e, createCommentVNode as b, toDisplayString as c, createElementVNode as s, Fragment as p, renderList as g, createTextVNode as W, withKeys as Ae, createVNode 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, v as me, w as S, i as E, f as T, E as ke, m as we, j as Qe, k as P, n as H, q as Ze, r as et } from "./index-CaV1s-yZ.js";
3
- import { u as tt, U as lt } from "./usePrinter-rvJyT65A.js";
4
- import at from "./vue-ui-skeleton-CvFX_ExX.js";
5
- import ot from "./BaseIcon-rwm-10Hu.js";
6
- import st from "./vue-ui-accordion-CpzGQ63y.js";
7
- import { u as $e } from "./useNestedProp-tWCzZrLx.js";
1
+ import { useCssVars as Oe, computed as $, ref as z, watch as Xe, onMounted as Ge, openBlock as a, createElementBlock as o, normalizeClass as m, normalizeStyle as h, createBlock as te, unref as n, createSlots as Ee, withCtx as U, renderSlot as M, normalizeProps as pe, guardReactiveProps as ge, createCommentVNode as f, toDisplayString as c, createElementVNode as s, Fragment as g, renderList as _, createTextVNode as W, withKeys as Ae, createVNode as Ue, nextTick as _e } 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 xe, i as G, f as T, F as me, m as ke, j as Qe, k as P, n as H, q as Ze, r as et } from "./index-DP8dqFNd.js";
3
+ import { u as tt, U as lt } from "./usePrinter-DiuHo4LO.js";
4
+ import at from "./vue-ui-skeleton-B30ZhUV7.js";
5
+ import ot from "./BaseIcon-BIQXWVMS.js";
6
+ import st from "./vue-ui-accordion-Dl8zkZPk.js";
7
+ import { u as we } from "./useNestedProp-B-oZxD4x.js";
8
8
  import { _ as ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "font-weight", "font-size", "x", "y"], dt = ["fill", "font-weight", "font-size", "x", "y"], vt = ["id"], yt = ["stop-color"], ht = ["stop-color"], ft = ["id"], bt = ["stop-color"], pt = ["stop-color"], gt = ["id"], _t = ["stop-color"], 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 = { key: 1 }, Lt = ["x", "y", "font-size", "font-weight", "fill"], It = ["x", "y", "font-size", "font-weight", "fill"], Pt = ["d", "stroke"], Vt = ["cx", "cy", "r", "fill"], Rt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], Bt = { key: 2 }, Mt = ["x", "y", "font-size", "fill", "onClick"], jt = { key: 0 }, Xt = ["x", "y", "fill", "font-size", "font-weight"], Ot = ["x", "y", "height", "width", "fill", "rx", "onClick"], Et = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], Gt = { key: 3 }, At = ["x", "y", "fill", "font-size", "onClick"], Ut = ["d", "stroke"], Dt = ["cx", "cy", "fill", "onClick"], 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 = {
9
+ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "font-weight", "font-size", "x", "y"], dt = ["fill", "font-weight", "font-size", "x", "y"], vt = ["id"], yt = ["stop-color"], ht = ["stop-color"], ft = ["id"], bt = ["stop-color"], pt = ["stop-color"], gt = ["id"], _t = ["stop-color"], 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 = { key: 1 }, Lt = ["x", "y", "font-size", "font-weight", "fill"], It = ["x", "y", "font-size", "font-weight", "fill"], Pt = ["d", "stroke"], Vt = ["cx", "cy", "r", "fill"], Rt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], Bt = { key: 2 }, Mt = ["x", "y", "font-size", "fill", "onClick"], jt = { key: 0 }, Ot = ["x", "y", "fill", "font-size", "font-weight"], Xt = ["x", "y", "height", "width", "fill", "rx", "onClick"], Gt = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], Et = { key: 3 }, At = ["x", "y", "fill", "font-size", "onClick"], Ut = ["d", "stroke"], Dt = ["fill", "cx", "cy", "r", "onClick"], Yt = { key: 4 }, qt = ["x", "y", "font-size", "font-weight", "fill"], Ht = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wt = ["y", "height", "width"], Kt = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, Jt = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, Qt = {
10
10
  viewBox: "0 0 20 20",
11
11
  height: "16",
12
12
  width: "16"
13
- }, 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 = {
13
+ }, Zt = ["fill"], el = { key: 6 }, 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 = {
14
14
  viewBox: "0 0 20 20",
15
15
  height: "16",
16
16
  width: "16"
17
- }, ul = ["fill"], nl = ["d", "stroke"], rl = ["cx", "cy", "fill"], 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 = {
17
+ }, sl = ["fill"], ul = ["cx", "cy", "fill"], nl = ["d", "stroke"], rl = ["cx", "cy", "fill"], il = ["d", "stroke"], cl = ["cx", "cy", "fill"], dl = ["cx", "cy", "fill"], vl = ["x", "y", "fill", "font-size", "font-weight"], yl = ["x", "y", "fill", "font-size", "font-weight"], hl = ["x", "text-anchor", "y", "fill", "font-size"], fl = ["x", "text-anchor", "y", "fill", "font-size"], bl = ["x", "text-anchor", "y", "fill", "font-size"], pl = ["x", "text-anchor", "y", "fill", "font-size"], gl = ["x", "text-anchor", "y", "fill", "font-size"], _l = ["x", "y", "font-size", "fill"], xl = ["x", "y", "font-size", "fill"], ml = ["x", "y", "font-size", "fill"], kl = {
18
18
  key: 2,
19
19
  class: "vue-data-ui-watermark"
20
- }, $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 }, Xl = ["data-cell"], Ol = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, El = { key: 0 }, Gl = { 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 = {
20
+ }, wl = { style: { "padding-top": "36px", position: "relative" } }, $l = { class: "vue-ui-data-table" }, Cl = { key: 0 }, zl = ["data-cell"], Tl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Nl = { key: 0 }, Sl = { key: 1 }, 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"], Ol = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Xl = { key: 0 }, Gl = { key: 1 }, El = ["data-cell"], Al = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ul = { key: 0 }, Dl = { key: 1 }, Yl = ["data-cell"], ql = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Hl = { key: 0 }, Wl = { key: 1 }, Kl = ["data-cell"], Jl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ql = { 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 = ["data-cell"], aa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, oa = ["data-cell"], sa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ua = ["data-cell"], na = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ra = ["data-cell"], ia = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ca = {
21
21
  __name: "vue-ui-chestnut",
22
22
  props: {
23
23
  config: {
@@ -34,37 +34,37 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
34
34
  }
35
35
  },
36
36
  emits: ["selectRoot", "selectBranch", "selectNut"],
37
- setup(Ce, { expose: ze, emit: G }) {
38
- const V = Ce;
39
- Xe((l) => ({
40
- "611fedf6": l.tdo
37
+ setup($e, { expose: Ce, emit: E }) {
38
+ const V = $e;
39
+ Oe((l) => ({
40
+ "1f0e4d4b": l.tdo
41
41
  }));
42
- 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 = $({
42
+ const { vue_ui_chestnut: ze } = De(), D = $(() => !!V.dataset && V.dataset.length), k = z(Ye()), oe = z(null), Te = z(null), se = z(0), e = $({
43
43
  get: () => ue(),
44
44
  set: (l) => l
45
45
  });
46
46
  function ue() {
47
- const l = $e({
47
+ const l = we({
48
48
  userConfig: V.config,
49
- defaultConfig: Te
49
+ defaultConfig: ze
50
50
  });
51
51
  return l.theme ? {
52
- ...$e({
52
+ ...we({
53
53
  userConfig: qe.vue_ui_chestnut[l.theme] || V.config,
54
54
  defaultConfig: l
55
55
  }),
56
56
  customPalette: He[l.theme] || I
57
57
  } : l;
58
58
  }
59
- Oe(() => V.config, (l) => {
60
- e.value = ue(), fe();
59
+ Xe(() => V.config, (l) => {
60
+ e.value = ue(), he();
61
61
  }, { deep: !0 });
62
62
  const { isPrinting: ne, isImaging: re, generatePdf: ie, generateImage: ce } = tt({
63
63
  elementId: `vue-ui-chestnut_${k.value}`,
64
64
  fileName: e.value.style.chart.layout.title.text || "vue-ui-chestnut"
65
65
  }), J = $(() => We(e.value.customPalette)), Y = z({
66
66
  showTable: e.value.table.show
67
- }), Q = z(null), de = z(!1), Se = $(() => e.value.table.responsiveBreakpoint), r = z({
67
+ }), Q = z(null), de = z(!1), Ne = $(() => e.value.table.responsiveBreakpoint), r = z({
68
68
  gap: 6,
69
69
  padding: {
70
70
  top: 102,
@@ -99,29 +99,29 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
99
99
  le({
100
100
  datasetObject: t,
101
101
  requiredAttributes: ["name", "value"]
102
- }).forEach((f) => {
102
+ }).forEach((b) => {
103
103
  K({
104
104
  componentName: "VueUiChestnut",
105
105
  type: "datasetSerieAttribute",
106
- property: f,
106
+ property: b,
107
107
  index: `${i} - ${u}`
108
108
  });
109
- }), t.breakdown && t.breakdown.forEach((f, y) => {
109
+ }), t.breakdown && t.breakdown.forEach((b, y) => {
110
110
  le({
111
- datasetObject: f,
111
+ datasetObject: b,
112
112
  requiredAttributes: ["name", "value"]
113
- }).forEach((_) => {
113
+ }).forEach((p) => {
114
114
  K({
115
115
  componentName: "VueUiChestnut",
116
116
  type: "datasetSerieAttribute",
117
- property: _,
117
+ property: p,
118
118
  index: `${i} - ${u} - ${y}`
119
119
  });
120
120
  });
121
121
  });
122
122
  });
123
123
  }), V.dataset.map((l, i) => {
124
- const t = (l.branches || []).map((u) => u.value || 0).reduce((u, f) => u + f, 0);
124
+ const t = (l.branches || []).map((u) => u.value || 0).reduce((u, b) => u + b, 0);
125
125
  return {
126
126
  ...l,
127
127
  color: ae(l.color) || J.value[i] || I[i] || I[i % I.length],
@@ -129,16 +129,16 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
129
129
  type: "root",
130
130
  total: t,
131
131
  rootIndex: i,
132
- branches: (l.branches || []).map((u, f) => ({
132
+ branches: (l.branches || []).map((u, b) => ({
133
133
  ...u,
134
134
  rootName: l.name,
135
135
  rootIndex: i,
136
136
  color: ae(l.color) || J.value[i] || I[i] || I[i % I.length],
137
137
  value: u.value >= 0 ? u.value : 0,
138
- id: u.id || `branch_${i}_${f}_${k.value}`,
138
+ id: u.id || `branch_${i}_${b}_${k.value}`,
139
139
  proportionToRoot: u.value / t,
140
140
  type: "branch",
141
- breakdown: (u.breakdown || []).map((y, _) => ({
141
+ breakdown: (u.breakdown || []).map((y, p) => ({
142
142
  table: {
143
143
  rootName: l.name,
144
144
  rootValue: t,
@@ -162,64 +162,64 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
162
162
  proportionToRoot: y.value / t,
163
163
  proportionToTree: y.value / R.value,
164
164
  rootIndex: i,
165
- id: y.id || `nut_${i}_${f}_${_}_${k.value}`,
166
- color: ae(y.color) || J.value[_] || I[_] || I[_ % I.length],
165
+ id: y.id || `nut_${i}_${b}_${p}_${k.value}`,
166
+ color: ae(y.color) || J.value[p] || I[p] || I[p % I.length],
167
167
  value: y.value >= 0 ? y.value : 0
168
168
  }))
169
169
  }))
170
170
  };
171
171
  })));
172
- function Fe() {
172
+ function Se() {
173
173
  return N.value;
174
174
  }
175
- 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), X = $(() => N.value.sort((l, i) => i.total - l.total).map((l, i) => {
176
- const t = C.value.height / N.value.length / 2, u = l.total / Ie.value * (t > 64 ? 64 : t);
175
+ const Fe = $(() => N.value.flatMap((l) => l.branches).length), Le = $(() => Math.max(...N.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), Ie = $(() => 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) => {
176
+ const t = C.value.height / N.value.length / 2, u = l.total / Le.value * (t > 64 ? 64 : t);
177
177
  return {
178
178
  ...l,
179
179
  x: C.value.seedX,
180
180
  y: C.value.top + C.value.height / N.value.length * (i + 1) - (C.value.height / N.value.length / 2 + r.value.gap / 2),
181
181
  r: u < r.value.branchSize / 2 ? r.value.branchSize / 2 : u
182
182
  };
183
- })), 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 = $(() => X.value.flatMap((l) => l.branches)), B = $(() => Re.value.sort((l, i) => i.value - l.value).map((l, i) => ({
183
+ })), Pe = $(() => 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), Ve = $(() => j.value.flatMap((l) => l.branches)), O = $(() => Ve.value.sort((l, i) => i.value - l.value).map((l, i) => ({
184
184
  ...l,
185
185
  y1: i * r.value.branchSize + C.value.top + i * r.value.gap,
186
186
  y2: i * r.value.branchSize + r.value.branchSize,
187
187
  x1: ve.value,
188
- x2: 384 * l.value / Pe.value * Ve.value + ve.value
188
+ x2: 384 * l.value / Ie.value * Pe.value + ve.value
189
189
  })));
190
190
  function Z(l) {
191
- const i = X.value.find((t) => t.rootIndex === l.rootIndex);
191
+ const i = j.value.find((t) => t.rootIndex === l.rootIndex);
192
192
  return { x: i.x, y: i.y, r: i.r };
193
193
  }
194
- const v = z(null), M = z(null), x = z(null), F = z(null);
194
+ const d = z(null), B = z(null), x = z(null), F = z(null);
195
195
  function w() {
196
- v.value = null, x.value = null, F.value = null;
196
+ d.value = null, x.value = null, F.value = null;
197
197
  }
198
198
  function L(l) {
199
- return F.value ? F.value === null ? !0 : l.type === "root" ? l.id === F.value.id : l.rootIndex === F.value.rootIndex : v.value === null && x.value === null ? !0 : l.type === "nut" ? v.value.id === l.id : l.type === "branch" ? x.value.id === l.id : l.type === "root" ? x.value && x.value.rootIndex === l.rootIndex || v.value && v.value.rootIndex === l.rootIndex : !1;
199
+ 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;
200
200
  }
201
- function ye(l) {
202
- w(), xe(() => {
203
- v.value = l, x.value = l, M.value = we(
201
+ function Re(l) {
202
+ w(), _e(() => {
203
+ d.value = l, x.value = l, B.value = ke(
204
204
  { series: l.breakdown, base: 1 },
205
205
  l.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
206
206
  l.y1 + r.value.branchSize / 2,
207
207
  80,
208
208
  80
209
- ), G("selectNut", l.breakdown);
209
+ ), E("selectNut", l.breakdown);
210
210
  });
211
211
  }
212
- function O() {
213
- v.value = null, M.value = null, G("selectNut", null);
212
+ function X() {
213
+ d.value = null, B.value = null, E("selectNut", null);
214
214
  }
215
215
  function ee(l) {
216
- x.value && x.value.id === l.id ? (x.value = null, w(), G("selectBranch", null)) : (w(), x.value = l, G("selectBranch", l));
216
+ x.value && x.value.id === l.id ? (x.value = null, w(), E("selectBranch", null)) : (w(), x.value = l, E("selectBranch", l));
217
217
  }
218
- function he(l) {
219
- F.value && F.value.id === l.id ? (w(), G("selectRoot", null)) : (w(), F.value = l, G("selectRoot", l));
218
+ function ye(l) {
219
+ F.value && F.value.id === l.id ? (w(), E("selectRoot", null)) : (w(), F.value = l, E("selectRoot", l));
220
220
  }
221
221
  function Be() {
222
- return C.value.bottom - (v.value.y1 + 180) < 0 ? 0 : C.value.bottom;
222
+ return C.value.bottom - (d.value.y1 + 180) < 0 ? 0 : C.value.bottom;
223
223
  }
224
224
  function A(l) {
225
225
  return l.proportion * 100 > e.value.style.chart.layout.nuts.selected.labels.dataLabels.hideUnderValue;
@@ -227,23 +227,23 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
227
227
  function Me() {
228
228
  const l = new ResizeObserver((i) => {
229
229
  i.forEach((t) => {
230
- de.value = t.contentRect.width < Se.value;
230
+ de.value = t.contentRect.width < Ne.value;
231
231
  });
232
232
  });
233
233
  Q.value && l.observe(Q.value);
234
234
  }
235
- Ee(() => {
236
- fe();
235
+ Ge(() => {
236
+ he();
237
237
  });
238
- function fe() {
238
+ function he() {
239
239
  Ke(V.dataset) && K({
240
240
  componentName: "VueUiChestnut",
241
241
  type: "dataset"
242
242
  });
243
- const l = Le.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
243
+ const l = Fe.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
244
244
  r.value.height = l, Me();
245
245
  }
246
- const d = $(() => {
246
+ const v = $(() => {
247
247
  const l = [
248
248
  e.value.table.th.translations.rootName,
249
249
  e.value.table.th.translations.rootValue,
@@ -257,41 +257,41 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
257
257
  e.value.table.th.translations.nutToBranch,
258
258
  e.value.table.th.translations.nutToRoot,
259
259
  e.value.table.th.translations.nutToTotal
260
- ], i = N.value.flatMap((t, u) => t.branches.flatMap((f, y) => f.breakdown.flatMap((_, va) => _.table)));
260
+ ], i = N.value.flatMap((t, u) => t.branches.flatMap((b, y) => b.breakdown.flatMap((p, da) => p.table)));
261
261
  return { head: l, body: i };
262
262
  });
263
- function be() {
264
- xe(() => {
265
- const l = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", R.value], [""]], i = d.value.head, t = d.value.body.map((y, _) => [
266
- d.value.body[_ - 1] && d.value.body[_ - 1].rootName === y.rootName ? "" : y.rootName,
267
- d.value.body[_ - 1] && d.value.body[_ - 1].rootName === y.rootName ? "" : y.rootValue,
268
- d.value.body[_ - 1] && d.value.body[_ - 1].rootName === y.rootName ? "" : y.rootToTotal,
269
- d.value.body[_ - 1] && d.value.body[_ - 1].branchName === y.branchName ? "" : y.branchName,
270
- d.value.body[_ - 1] && d.value.body[_ - 1].branchName === y.branchName ? "" : y.branchValue,
271
- d.value.body[_ - 1] && d.value.body[_ - 1].branchName === y.branchName ? "" : y.branchToRoot,
272
- d.value.body[_ - 1] && d.value.body[_ - 1].branchName === y.branchName ? "" : y.branchToTotal,
263
+ function fe() {
264
+ _e(() => {
265
+ 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) => [
266
+ v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootName,
267
+ v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootValue,
268
+ v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootToTotal,
269
+ v.value.body[p - 1] && v.value.body[p - 1].branchName === y.branchName ? "" : y.branchName,
270
+ v.value.body[p - 1] && v.value.body[p - 1].branchName === y.branchName ? "" : y.branchValue,
271
+ v.value.body[p - 1] && v.value.body[p - 1].branchName === y.branchName ? "" : y.branchToRoot,
272
+ v.value.body[p - 1] && v.value.body[p - 1].branchName === y.branchName ? "" : y.branchToTotal,
273
273
  y.nutName,
274
274
  y.nutValue,
275
275
  y.nutToBranch,
276
276
  y.nutToRoot,
277
277
  y.nutToTotal
278
- ]), u = l.concat([i]).concat(t), f = Ze(u);
279
- et({ csvContent: f, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
278
+ ]), u = l.concat([i]).concat(t), b = Ze(u);
279
+ et({ csvContent: b, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
280
280
  });
281
281
  }
282
282
  const q = z(!1);
283
283
  function je(l) {
284
284
  q.value = l, se.value += 1;
285
285
  }
286
- function pe() {
286
+ function be() {
287
287
  Y.value.showTable = !Y.value.showTable;
288
288
  }
289
- return ze({
290
- getData: Fe,
289
+ return Ce({
290
+ getData: Se,
291
291
  generatePdf: ie,
292
- generateCsv: be,
292
+ generateCsv: fe,
293
293
  generateImage: ce,
294
- toggleTable: pe
294
+ toggleTable: be
295
295
  }), (l, i) => (a(), o("div", {
296
296
  class: m(`vue-ui-chestnut ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
297
297
  ref_key: "chestnutChart",
@@ -301,7 +301,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
301
301
  }, [
302
302
  e.value.userOptions.show && D.value ? (a(), te(lt, {
303
303
  ref_key: "details",
304
- ref: Ne,
304
+ ref: Te,
305
305
  key: `user_options_${se.value}`,
306
306
  backgroundColor: e.value.style.chart.backgroundColor,
307
307
  color: e.value.style.chart.color,
@@ -318,46 +318,46 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
318
318
  chartElement: oe.value,
319
319
  onToggleFullscreen: je,
320
320
  onGeneratePdf: n(ie),
321
- onGenerateCsv: be,
321
+ onGenerateCsv: fe,
322
322
  onGenerateImage: n(ce),
323
- onToggleTable: pe
324
- }, Ge({ _: 2 }, [
323
+ onToggleTable: be
324
+ }, Ee({ _: 2 }, [
325
325
  l.$slots.optionPdf ? {
326
326
  name: "optionPdf",
327
327
  fn: U(() => [
328
- j(l.$slots, "optionPdf", {}, void 0, !0)
328
+ M(l.$slots, "optionPdf", {}, void 0, !0)
329
329
  ]),
330
330
  key: "0"
331
331
  } : void 0,
332
332
  l.$slots.optionCsv ? {
333
333
  name: "optionCsv",
334
334
  fn: U(() => [
335
- j(l.$slots, "optionCsv", {}, void 0, !0)
335
+ M(l.$slots, "optionCsv", {}, void 0, !0)
336
336
  ]),
337
337
  key: "1"
338
338
  } : void 0,
339
339
  l.$slots.optionImg ? {
340
340
  name: "optionImg",
341
341
  fn: U(() => [
342
- j(l.$slots, "optionImg", {}, void 0, !0)
342
+ M(l.$slots, "optionImg", {}, void 0, !0)
343
343
  ]),
344
344
  key: "2"
345
345
  } : void 0,
346
346
  l.$slots.optionTable ? {
347
347
  name: "optionTable",
348
348
  fn: U(() => [
349
- j(l.$slots, "optionTable", {}, void 0, !0)
349
+ M(l.$slots, "optionTable", {}, void 0, !0)
350
350
  ]),
351
351
  key: "3"
352
352
  } : void 0,
353
353
  l.$slots.optionFullscreen ? {
354
354
  name: "optionFullscreen",
355
355
  fn: U(({ toggleFullscreen: t, isFullscreen: u }) => [
356
- j(l.$slots, "optionFullscreen", ge(_e({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
356
+ M(l.$slots, "optionFullscreen", pe(ge({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
357
357
  ]),
358
358
  key: "4"
359
359
  } : void 0
360
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : b("", !0),
360
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : f("", !0),
361
361
  r.value.height > 0 && D.value ? (a(), o("svg", {
362
362
  key: 1,
363
363
  xmlns: n(Je),
@@ -365,7 +365,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
365
365
  viewBox: `0 0 ${r.value.width} ${r.value.height}`,
366
366
  style: h(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
367
367
  }, [
368
- v.value ? b("", !0) : (a(), o("g", it, [
368
+ d.value ? f("", !0) : (a(), o("g", it, [
369
369
  e.value.style.chart.layout.title.text ? (a(), o("text", {
370
370
  key: 0,
371
371
  "text-anchor": "middle",
@@ -375,7 +375,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
375
375
  x: r.value.width / 2,
376
376
  y: 12 + e.value.style.chart.layout.title.fontSize + e.value.style.chart.layout.title.offsetY,
377
377
  onClick: w
378
- }, c(e.value.style.chart.layout.title.text), 9, ct)) : b("", !0),
378
+ }, c(e.value.style.chart.layout.title.text), 9, ct)) : f("", !0),
379
379
  e.value.style.chart.layout.title.subtitle.text ? (a(), o("text", {
380
380
  key: 1,
381
381
  "text-anchor": "middle",
@@ -385,10 +385,10 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
385
385
  x: r.value.width / 2,
386
386
  y: 48 + e.value.style.chart.layout.title.subtitle.fontSize + e.value.style.chart.layout.title.subtitle.offsetY,
387
387
  onClick: w
388
- }, c(e.value.style.chart.layout.title.subtitle.text), 9, dt)) : b("", !0)
388
+ }, c(e.value.style.chart.layout.title.subtitle.text), 9, dt)) : f("", !0)
389
389
  ])),
390
390
  s("defs", null, [
391
- (a(!0), o(p, null, g(N.value, (t, u) => (a(), o("radialGradient", {
391
+ (a(!0), o(g, null, _(N.value, (t, u) => (a(), o("radialGradient", {
392
392
  cx: "50%",
393
393
  cy: "50%",
394
394
  r: "50%",
@@ -398,14 +398,14 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
398
398
  }, [
399
399
  s("stop", {
400
400
  offset: "0%",
401
- "stop-color": `${n(me)(t.color, 0.05)}${n(S)[100 - e.value.style.chart.layout.roots.gradientIntensity]}`
401
+ "stop-color": n(S)(n(xe)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
402
402
  }, null, 8, yt),
403
403
  s("stop", {
404
404
  offset: "100%",
405
405
  "stop-color": t.color
406
406
  }, null, 8, ht)
407
407
  ], 8, vt))), 256)),
408
- (a(!0), o(p, null, g(N.value, (t) => (a(), o("linearGradient", {
408
+ (a(!0), o(g, null, _(N.value, (t) => (a(), o("linearGradient", {
409
409
  x1: "0%",
410
410
  y1: "0%",
411
411
  x2: "100%",
@@ -418,7 +418,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
418
418
  }, null, 8, bt),
419
419
  s("stop", {
420
420
  offset: "100%",
421
- "stop-color": `${n(me)(t.color, 0.02)}${n(S)[100 - e.value.style.chart.layout.branches.gradientIntensity]}`
421
+ "stop-color": n(S)(n(xe)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
422
422
  }, null, 8, pt)
423
423
  ], 8, ft))), 256)),
424
424
  s("radialGradient", {
@@ -431,15 +431,15 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
431
431
  }, [
432
432
  s("stop", {
433
433
  offset: "0%",
434
- "stop-color": `#FFFFFF${n(S)[0]}`
434
+ "stop-color": n(S)("#FFFFFF", 0)
435
435
  }, null, 8, _t),
436
436
  s("stop", {
437
437
  offset: "80%",
438
- "stop-color": `#FFFFFF${n(S)[e.value.style.chart.layout.nuts.selected.gradientIntensity]}`
438
+ "stop-color": n(S)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
439
439
  }, null, 8, xt),
440
440
  s("stop", {
441
441
  offset: "100%",
442
- "stop-color": `#FFFFFF${n(S)[0]}`
442
+ "stop-color": n(S)("#FFFFFF", 0)
443
443
  }, null, 8, mt)
444
444
  ], 8, gt),
445
445
  s("radialGradient", {
@@ -452,15 +452,15 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
452
452
  }, [
453
453
  s("stop", {
454
454
  offset: "0%",
455
- "stop-color": `#FFFFFF${n(S)[0]}`
455
+ "stop-color": n(S)("#FFFFFF", 0)
456
456
  }, null, 8, wt),
457
457
  s("stop", {
458
458
  offset: "80%",
459
- "stop-color": `#FFFFFF${n(S)[e.value.style.chart.layout.nuts.gradientIntensity]}`
459
+ "stop-color": n(S)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
460
460
  }, null, 8, $t),
461
461
  s("stop", {
462
462
  offset: "100%",
463
- "stop-color": `#FFFFFF${n(S)[0]}`
463
+ "stop-color": n(S)("#FFFFFF", 0)
464
464
  }, null, 8, Ct)
465
465
  ], 8, kt),
466
466
  s("radialGradient", {
@@ -473,15 +473,15 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
473
473
  }, [
474
474
  s("stop", {
475
475
  offset: "0%",
476
- "stop-color": `${e.value.style.chart.backgroundColor}${n(S)[100]}`
476
+ "stop-color": n(S)(e.value.style.chart.backgroundColor, 100)
477
477
  }, null, 8, Tt),
478
478
  s("stop", {
479
479
  offset: "80%",
480
- "stop-color": `${e.value.style.chart.backgroundColor}${n(S)[60]}`
480
+ "stop-color": n(S)(e.value.style.chart.backgroundColor, 60)
481
481
  }, null, 8, Nt),
482
482
  s("stop", {
483
483
  offset: "100%",
484
- "stop-color": `${e.value.style.chart.backgroundColor}${n(S)[0]}`
484
+ "stop-color": n(S)(e.value.style.chart.backgroundColor, 0)
485
485
  }, null, 8, St)
486
486
  ], 8, zt)
487
487
  ]),
@@ -503,7 +503,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
503
503
  fill: e.value.style.chart.layout.grandTotal.color,
504
504
  "text-anchor": "middle",
505
505
  onClick: w
506
- }, c(n(E)(
506
+ }, c(n(G)(
507
507
  e.value.style.chart.layout.grandTotal.formatter,
508
508
  R.value,
509
509
  n(T)({
@@ -513,16 +513,16 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
513
513
  r: e.value.style.chart.layout.grandTotal.roundingValue
514
514
  })
515
515
  )), 9, It)
516
- ])) : b("", !0),
517
- (a(!0), o(p, null, g(B.value, (t) => (a(), o("g", null, [
518
- (a(!0), o(p, null, g(r.value.branchSize, (u, f) => (a(), o("path", {
516
+ ])) : f("", !0),
517
+ (a(!0), o(g, null, _(O.value, (t) => (a(), o("g", null, [
518
+ (a(!0), o(g, null, _(r.value.branchSize, (u, b) => (a(), o("path", {
519
519
  d: `M
520
- ${t.x1},${t.y1 + f}
521
- C${t.x1 - 20},${t.y1 + f}
522
- ${t.x1 - 80},${t.y1 + f}
520
+ ${t.x1},${t.y1 + b}
521
+ C${t.x1 - 20},${t.y1 + b}
522
+ ${t.x1 - 80},${t.y1 + b}
523
523
  ${Z(t).x + Z(t).r / 2}, ${Z(t).y}
524
524
  `,
525
- stroke: `${t.color}${n(S)[e.value.style.chart.layout.links.opacity]}`,
525
+ stroke: n(S)(t.color, e.value.style.chart.layout.links.opacity),
526
526
  fill: "none",
527
527
  "stroke-width": "2",
528
528
  "shape-rendering": "cirspEdges",
@@ -530,7 +530,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
530
530
  onClick: w
531
531
  }, null, 12, Pt))), 256))
532
532
  ]))), 256)),
533
- (a(!0), o(p, null, g(X.value, (t) => (a(), o("circle", {
533
+ (a(!0), o(g, null, _(j.value, (t) => (a(), o("circle", {
534
534
  cx: t.x,
535
535
  cy: t.y,
536
536
  r: t.r,
@@ -538,7 +538,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
538
538
  stroke: "none",
539
539
  style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`)
540
540
  }, null, 12, Vt))), 256)),
541
- (a(!0), o(p, null, g(X.value, (t, u) => (a(), o("circle", {
541
+ (a(!0), o(g, null, _(j.value, (t, u) => (a(), o("circle", {
542
542
  cx: t.x,
543
543
  cy: t.y,
544
544
  r: t.r,
@@ -546,19 +546,19 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
546
546
  stroke: e.value.style.chart.layout.roots.stroke,
547
547
  "stroke-width": e.value.style.chart.layout.roots.strokeWidth,
548
548
  style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
549
- onClick: (f) => he(t)
549
+ onClick: (b) => ye(t)
550
550
  }, null, 12, Rt))), 256)),
551
551
  e.value.style.chart.layout.roots.labels.show ? (a(), o("g", Bt, [
552
- (a(!0), o(p, null, g(X.value, (t, u) => (a(), o("text", {
552
+ (a(!0), o(g, null, _(j.value, (t, u) => (a(), o("text", {
553
553
  x: t.x,
554
554
  y: t.y + e.value.style.chart.layout.roots.labels.fontSize / 2.6,
555
555
  "text-anchor": "middle",
556
556
  "font-size": e.value.style.chart.layout.roots.labels.fontSize,
557
- fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? n(ke)(t.color) : e.value.style.chart.layout.roots.labels.color,
557
+ fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? n(me)(t.color) : e.value.style.chart.layout.roots.labels.color,
558
558
  "font-weight": "bold",
559
559
  style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
560
- onClick: (f) => he(t)
561
- }, c(n(E)(
560
+ onClick: (b) => ye(t)
561
+ }, c(n(G)(
562
562
  e.value.style.chart.layout.roots.labels.formatter,
563
563
  t.total,
564
564
  n(T)({
@@ -569,8 +569,8 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
569
569
  }),
570
570
  { datapoint: t }
571
571
  )), 13, Mt))), 256)),
572
- (a(!0), o(p, null, g(X.value, (t) => (a(), o("g", null, [
573
- v.value && t.rootIndex === v.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || F.value && t.rootIndex === F.value.rootIndex ? (a(), o("g", jt, [
572
+ (a(!0), o(g, null, _(j.value, (t) => (a(), o("g", null, [
573
+ d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || F.value && t.rootIndex === F.value.rootIndex ? (a(), o("g", jt, [
574
574
  s("text", {
575
575
  x: t.x,
576
576
  y: t.y + t.r + 24,
@@ -579,11 +579,11 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
579
579
  "font-size": e.value.style.chart.layout.roots.labels.name.fontSize,
580
580
  "font-weight": e.value.style.chart.layout.roots.labels.name.bold ? "bold" : "normal",
581
581
  onClick: w
582
- }, c(t.name), 9, Xt)
583
- ])) : b("", !0)
582
+ }, c(t.name), 9, Ot)
583
+ ])) : f("", !0)
584
584
  ]))), 256))
585
- ])) : b("", !0),
586
- (a(!0), o(p, null, g(B.value, (t) => (a(), o("rect", {
585
+ ])) : f("", !0),
586
+ (a(!0), o(g, null, _(O.value, (t) => (a(), o("rect", {
587
587
  x: t.x1,
588
588
  y: t.y1,
589
589
  height: r.value.branchSize,
@@ -593,8 +593,8 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
593
593
  stroke: "none",
594
594
  style: h(`opacity:${L(t) ? 1 : 0.05}`),
595
595
  onClick: (u) => ee(t)
596
- }, null, 12, Ot))), 256)),
597
- (a(!0), o(p, null, g(B.value, (t, u) => (a(), o("rect", {
596
+ }, null, 12, Xt))), 256)),
597
+ (a(!0), o(g, null, _(O.value, (t, u) => (a(), o("rect", {
598
598
  x: t.x1,
599
599
  y: t.y1,
600
600
  height: r.value.branchSize,
@@ -604,21 +604,21 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
604
604
  stroke: e.value.style.chart.layout.branches.stroke,
605
605
  "stroke-width": e.value.style.chart.layout.branches.strokeWidth,
606
606
  style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
607
- onClick: (f) => ee(t)
608
- }, null, 12, Et))), 256)),
609
- e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", Gt, [
610
- (a(!0), o(p, null, g(B.value, (t) => (a(), o("g", null, [
607
+ onClick: (b) => ee(t)
608
+ }, null, 12, Gt))), 256)),
609
+ e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", Et, [
610
+ (a(!0), o(g, null, _(O.value, (t) => (a(), o("g", null, [
611
611
  t.proportionToRoot * 100 > e.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (a(), o("text", {
612
612
  key: 0,
613
613
  x: t.x1 + 6,
614
614
  y: t.y1 + r.value.branchSize / 1.5,
615
615
  "text-anchor": "start",
616
- fill: n(ke)(t.color),
616
+ fill: n(me)(t.color),
617
617
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
618
618
  "font-weight": "bold",
619
619
  style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
620
620
  onClick: (u) => ee(t)
621
- }, c(n(E)(
621
+ }, c(n(G)(
622
622
  e.value.style.chart.layout.branches.labels.dataLabels.formatter,
623
623
  t.value,
624
624
  n(T)({
@@ -628,42 +628,34 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
628
628
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
629
629
  }),
630
630
  { datapoint: t }
631
- )), 13, At)) : b("", !0)
631
+ )), 13, At)) : f("", !0)
632
632
  ]))), 256))
633
- ])) : b("", !0),
634
- (a(!0), o(p, null, g(B.value, (t, u) => (a(), o("g", null, [
635
- (a(!0), o(p, null, g(n(we)(
633
+ ])) : f("", !0),
634
+ (a(!0), o(g, null, _(O.value, (t, u) => (a(), o("g", null, [
635
+ (a(!0), o(g, null, _(n(ke)(
636
636
  { series: t.breakdown, base: 1 },
637
637
  t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
638
638
  t.y1 + r.value.branchSize / 2,
639
639
  r.value.branchSize / 3,
640
640
  r.value.branchSize / 3
641
- ), (f, y) => (a(), o("path", {
642
- d: f.path,
643
- stroke: f.color,
641
+ ), (b, y) => (a(), o("path", {
642
+ d: b.path,
643
+ stroke: b.color,
644
644
  "stroke-width": 10,
645
645
  fill: "none",
646
646
  style: h(`opacity:${L(t) ? 1 : 0.1}`)
647
647
  }, null, 12, Ut))), 256)),
648
- (a(!0), o(p, null, g(B.value, (f) => (a(), o("circle", {
649
- cx: f.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
650
- cy: f.y1 + r.value.branchSize / 2,
651
- r: 6,
652
- fill: e.value.style.chart.backgroundColor,
653
- onClick: (y) => ye(f),
654
- style: { cursor: "pointer" }
655
- }, null, 8, Dt))), 256)),
656
648
  s("circle", {
657
649
  fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${k.value})` : "transparent",
658
650
  cx: t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
659
651
  cy: t.y1 + r.value.branchSize / 2,
660
652
  r: r.value.branchSize / 2 + 2,
661
- onClick: (f) => ye(t),
653
+ onClick: (b) => Re(t),
662
654
  style: h(`cursor:pointer;opacity:${L(t) ? 1 : 0.1}`)
663
- }, null, 12, Yt)
655
+ }, null, 12, Dt)
664
656
  ]))), 256)),
665
- e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", qt, [
666
- (a(!0), o(p, null, g(B.value, (t) => (a(), o("text", {
657
+ e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", Yt, [
658
+ (a(!0), o(g, null, _(O.value, (t) => (a(), o("text", {
667
659
  x: t.x2 + r.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
668
660
  y: t.y1 + r.value.branchSize / 2 + 5,
669
661
  "font-size": e.value.style.chart.layout.branches.labels.fontSize,
@@ -671,8 +663,8 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
671
663
  fill: e.value.style.chart.layout.branches.labels.color,
672
664
  "text-anchor": "start",
673
665
  style: h(`opacity:${L(t) ? 1 : 0.1}`)
674
- }, c(t.name), 13, Ht))), 256))
675
- ])) : b("", !0),
666
+ }, c(t.name), 13, qt))), 256))
667
+ ])) : f("", !0),
676
668
  s("line", {
677
669
  x1: 256 + r.value.padding.left,
678
670
  x2: 256 + r.value.padding.left,
@@ -680,8 +672,8 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
680
672
  y2: C.value.bottom,
681
673
  stroke: e.value.style.chart.layout.verticalSeparator.stroke,
682
674
  "stroke-width": e.value.style.chart.layout.verticalSeparator.strokeWidth
683
- }, null, 8, Wt),
684
- !v.value && !x.value ? (a(), o("foreignObject", {
675
+ }, null, 8, Ht),
676
+ !d.value && !x.value ? (a(), o("foreignObject", {
685
677
  key: 5,
686
678
  x: 0,
687
679
  y: C.value.bottom,
@@ -690,22 +682,22 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
690
682
  style: { overflow: "visible" },
691
683
  onClick: w
692
684
  }, [
693
- s("div", Jt, [
694
- s("div", Qt, [
695
- (a(!0), o(p, null, g(X.value, (t) => (a(), o("div", {
685
+ s("div", Kt, [
686
+ s("div", Jt, [
687
+ (a(!0), o(g, null, _(j.value, (t) => (a(), o("div", {
696
688
  style: h(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
697
689
  }, [
698
- (a(), o("svg", Zt, [
690
+ (a(), o("svg", Qt, [
699
691
  s("circle", {
700
692
  cx: "10",
701
693
  cy: "10",
702
694
  r: "10",
703
695
  fill: t.color,
704
696
  stroke: "none"
705
- }, null, 8, el)
697
+ }, null, 8, Zt)
706
698
  ])),
707
699
  s("span", null, c(t.name) + ":", 1),
708
- s("b", null, c(n(E)(
700
+ s("b", null, c(n(G)(
709
701
  e.value.style.chart.layout.roots.labels.formatter,
710
702
  t.total,
711
703
  n(T)({
@@ -724,8 +716,8 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
724
716
  ], 4))), 256))
725
717
  ])
726
718
  ])
727
- ], 8, Kt)) : b("", !0),
728
- v.value && M.value ? (a(), o("g", tl, [
719
+ ], 8, Wt)) : f("", !0),
720
+ d.value && B.value ? (a(), o("g", el, [
729
721
  (a(), o("foreignObject", {
730
722
  x: 0,
731
723
  y: Be(),
@@ -734,20 +726,20 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
734
726
  style: { overflow: "visible" },
735
727
  onClick: w
736
728
  }, [
737
- s("div", al, [
738
- s("b", null, c(v.value.name), 1),
739
- s("div", ol, [
740
- (a(!0), o(p, null, g(v.value.breakdown, (t, u) => (a(), o("div", {
729
+ s("div", ll, [
730
+ s("b", null, c(d.value.name), 1),
731
+ s("div", al, [
732
+ (a(!0), o(g, null, _(d.value.breakdown, (t, u) => (a(), o("div", {
741
733
  style: h(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
742
734
  }, [
743
- (a(), o("svg", sl, [
735
+ (a(), o("svg", ol, [
744
736
  s("circle", {
745
737
  cx: "10",
746
738
  cy: "10",
747
739
  r: "10",
748
740
  fill: t.color,
749
741
  stroke: "none"
750
- }, null, 8, ul)
742
+ }, null, 8, sl)
751
743
  ])),
752
744
  s("span", null, [
753
745
  W(c(t.name) + ": ", 1),
@@ -757,90 +749,101 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
757
749
  ], 4))), 256))
758
750
  ])
759
751
  ])
760
- ], 8, ll)),
761
- (a(!0), o(p, null, g(M.value, (t) => (a(), o("g", null, [
752
+ ], 8, tl)),
753
+ s("circle", {
754
+ cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
755
+ cy: d.value.y1 + r.value.branchSize / 2,
756
+ r: 256,
757
+ fill: `url(#nut_underlayer_${k.value})`,
758
+ onClick: X,
759
+ class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
760
+ }, null, 10, ul),
761
+ (a(!0), o(g, null, _(B.value, (t) => (a(), o("g", null, [
762
762
  A(t) ? (a(), o("path", {
763
763
  key: 0,
764
- d: n(Qe)(t),
764
+ d: n(Qe)(
765
+ t,
766
+ {
767
+ x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
768
+ y: d.value.y1 + r.value.branchSize / 2
769
+ },
770
+ 16,
771
+ 16,
772
+ !1,
773
+ !1,
774
+ 64
775
+ ),
765
776
  stroke: t.color,
766
777
  "stroke-width": "1",
767
778
  "stroke-linecap": "round",
768
779
  "stroke-linejoin": "round",
769
780
  fill: "none",
770
781
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
771
- }, null, 10, nl)) : b("", !0)
782
+ }, null, 10, nl)) : f("", !0)
772
783
  ]))), 256)),
773
784
  s("circle", {
774
- cx: v.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
775
- cy: v.value.y1 + r.value.branchSize / 2,
776
- r: 256,
777
- fill: `url(#nut_underlayer_${k.value})`,
778
- onClick: O,
779
- class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
780
- }, null, 10, rl),
781
- s("circle", {
782
- cx: v.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
783
- cy: v.value.y1 + r.value.branchSize / 2,
785
+ cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
786
+ cy: d.value.y1 + r.value.branchSize / 2,
784
787
  r: 118,
785
788
  fill: e.value.style.chart.backgroundColor,
786
- onClick: O,
789
+ onClick: X,
787
790
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
788
- }, null, 10, il),
789
- (a(!0), o(p, null, g(M.value, (t) => (a(), o("path", {
791
+ }, null, 10, rl),
792
+ (a(!0), o(g, null, _(B.value, (t) => (a(), o("path", {
790
793
  d: t.path,
791
794
  stroke: t.color,
792
795
  "stroke-width": 64,
793
796
  fill: "none",
794
- onClick: O,
797
+ onClick: X,
795
798
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
796
- }, null, 10, cl))), 256)),
799
+ }, null, 10, il))), 256)),
797
800
  s("circle", {
798
- cx: v.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
799
- cy: v.value.y1 + r.value.branchSize / 2,
801
+ cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
802
+ cy: d.value.y1 + r.value.branchSize / 2,
800
803
  r: 100,
801
804
  fill: `url(#nutpick_${k.value})`,
802
- onClick: O,
805
+ onClick: X,
803
806
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
804
- }, null, 10, dl),
807
+ }, null, 10, cl),
805
808
  s("circle", {
806
- cx: v.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
807
- cy: v.value.y1 + r.value.branchSize / 2,
809
+ cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
810
+ cy: d.value.y1 + r.value.branchSize / 2,
808
811
  r: 48,
809
812
  fill: e.value.style.chart.backgroundColor,
810
- onClick: O,
813
+ onClick: X,
811
814
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
812
- }, null, 10, vl),
815
+ }, null, 10, dl),
813
816
  s("text", {
814
- x: v.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
815
- y: v.value.y1 + 8,
817
+ x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
818
+ y: d.value.y1 + 8,
816
819
  fill: e.value.style.chart.layout.nuts.selected.labels.core.total.color,
817
820
  "font-size": e.value.style.chart.layout.nuts.selected.labels.core.total.fontSize,
818
821
  "font-weight": e.value.style.chart.layout.nuts.selected.labels.core.total.bold ? "bold" : "normal",
819
822
  "text-anchor": "middle",
820
- onClick: O,
823
+ onClick: X,
821
824
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
822
- }, c(e.value.translations.total), 11, yl),
825
+ }, c(e.value.translations.total), 11, vl),
823
826
  s("text", {
824
- x: v.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
825
- y: v.value.y1 + 36,
827
+ x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
828
+ y: d.value.y1 + 36,
826
829
  fill: e.value.style.chart.layout.nuts.selected.labels.core.value.color,
827
830
  "font-size": e.value.style.chart.layout.nuts.selected.labels.core.value.fontSize,
828
831
  "font-weight": e.value.style.chart.layout.nuts.selected.labels.core.value.bold ? "bold" : "normal",
829
832
  "text-anchor": "middle",
830
- onClick: O,
833
+ onClick: X,
831
834
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
832
- }, c(n(E)(
835
+ }, c(n(G)(
833
836
  e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
834
- v.value.value,
837
+ d.value.value,
835
838
  n(T)({
836
839
  p: e.value.style.chart.layout.nuts.selected.labels.core.value.prefix,
837
- v: v.value.value,
840
+ v: d.value.value,
838
841
  s: e.value.style.chart.layout.nuts.selected.labels.core.value.suffix,
839
842
  r: e.value.style.chart.layout.nuts.selected.roundingValue
840
843
  }),
841
- { datapoint: v.value }
842
- )), 11, hl),
843
- (a(!0), o(p, null, g(M.value, (t, u) => (a(), o("g", null, [
844
+ { datapoint: d.value }
845
+ )), 11, yl),
846
+ (a(!0), o(g, null, _(B.value, (t, u) => (a(), o("g", null, [
844
847
  A(t) ? (a(), o("text", {
845
848
  key: 0,
846
849
  x: n(P)(t).x,
@@ -850,7 +853,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
850
853
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
851
854
  style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
852
855
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
853
- }, " ⬤ ", 14, fl)) : b("", !0),
856
+ }, " ⬤ ", 14, hl)) : f("", !0),
854
857
  A(t) ? (a(), o("text", {
855
858
  key: 1,
856
859
  x: n(P)(t, !0).x,
@@ -860,9 +863,9 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
860
863
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
861
864
  style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
862
865
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
863
- }, c(v.value.breakdown[u].name), 15, bl)) : b("", !0)
866
+ }, c(d.value.breakdown[u].name), 15, fl)) : f("", !0)
864
867
  ]))), 256)),
865
- (a(!0), o(p, null, g(M.value, (t, u) => (a(), o("g", null, [
868
+ (a(!0), o(g, null, _(B.value, (t, u) => (a(), o("g", null, [
866
869
  A(t) ? (a(), o("text", {
867
870
  key: 0,
868
871
  x: n(P)(t, !0).x,
@@ -873,20 +876,20 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
873
876
  style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
874
877
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
875
878
  }, c(n(T)({
876
- v: v.value.breakdown[u].value / v.value.value * 100,
879
+ v: d.value.breakdown[u].value / d.value.value * 100,
877
880
  s: "%",
878
881
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
879
- })) + " " + c(e.value.translations.of) + " " + c(v.value.breakdown[u].branchName) + " " + c(n(E)(
882
+ })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[u].branchName) + " " + c(n(G)(
880
883
  e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
881
- v.value.breakdown[u].value,
884
+ d.value.breakdown[u].value,
882
885
  n(T)({
883
886
  p: e.value.style.chart.layout.nuts.selected.labels.dataLabels.prefix,
884
- v: v.value.breakdown[u].value,
887
+ v: d.value.breakdown[u].value,
885
888
  s: e.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
886
889
  r: e.value.style.chart.layout.nuts.selected.roundingValue
887
890
  }),
888
- { datapoint: M.value, seriesIndex: u }
889
- )), 15, pl)) : b("", !0),
891
+ { datapoint: B.value, seriesIndex: u }
892
+ )), 15, bl)) : f("", !0),
890
893
  A(t) ? (a(), o("text", {
891
894
  key: 1,
892
895
  x: n(P)(t, !0).x,
@@ -897,10 +900,10 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
897
900
  style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
898
901
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
899
902
  }, c(n(T)({
900
- v: v.value.breakdown[u].proportionToRoot * 100,
903
+ v: d.value.breakdown[u].proportionToRoot * 100,
901
904
  s: "%",
902
905
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
903
- })) + " " + c(e.value.translations.of) + " " + c(v.value.breakdown[u].rootName), 15, gl)) : b("", !0),
906
+ })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[u].rootName), 15, pl)) : f("", !0),
904
907
  A(t) ? (a(), o("text", {
905
908
  key: 2,
906
909
  x: n(P)(t, !0).x,
@@ -911,14 +914,14 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
911
914
  style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
912
915
  class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
913
916
  }, c(n(T)({
914
- v: v.value.breakdown[u].proportionToTree * 100,
917
+ v: d.value.breakdown[u].proportionToTree * 100,
915
918
  s: "%",
916
919
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
917
- })) + " " + c(e.value.translations.proportionToTree), 15, _l)) : b("", !0)
920
+ })) + " " + c(e.value.translations.proportionToTree), 15, gl)) : f("", !0)
918
921
  ]))), 256))
919
- ])) : b("", !0),
920
- (a(!0), o(p, null, g(B.value, (t) => (a(), o("g", null, [
921
- x.value && x.value.id === t.id && !v.value ? (a(), o("text", {
922
+ ])) : f("", !0),
923
+ (a(!0), o(g, null, _(O.value, (t) => (a(), o("g", null, [
924
+ x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
922
925
  key: 0,
923
926
  x: t.x1 + 6,
924
927
  y: t.y1 + r.value.branchSize + 24,
@@ -927,7 +930,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
927
930
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
928
931
  fill: e.value.style.chart.layout.branches.labels.color,
929
932
  onClick: w
930
- }, c(t.name) + ": " + c(n(E)(
933
+ }, c(t.name) + ": " + c(n(G)(
931
934
  e.value.style.chart.layout.branches.labels.dataLabels.formatter,
932
935
  t.value,
933
936
  n(T)({
@@ -937,8 +940,8 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
937
940
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
938
941
  }),
939
942
  { datapoint: t }
940
- )), 9, xl)) : b("", !0),
941
- x.value && x.value.id === t.id && !v.value ? (a(), o("text", {
943
+ )), 9, _l)) : f("", !0),
944
+ x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
942
945
  key: 1,
943
946
  x: t.x1 + 6,
944
947
  y: t.y1 + r.value.branchSize + 48,
@@ -950,8 +953,8 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
950
953
  v: t.proportionToRoot * 100,
951
954
  s: "%",
952
955
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
953
- })) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, ml)) : b("", !0),
954
- x.value && x.value.id === t.id && !v.value ? (a(), o("text", {
956
+ })) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, xl)) : f("", !0),
957
+ x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
955
958
  key: 2,
956
959
  x: t.x1 + 6,
957
960
  y: t.y1 + r.value.branchSize + 72,
@@ -963,14 +966,14 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
963
966
  v: t.value / R.value * 100,
964
967
  s: "%",
965
968
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
966
- })) + " " + c(e.value.translations.proportionToTree), 9, kl)) : b("", !0)
969
+ })) + " " + c(e.value.translations.proportionToTree), 9, ml)) : f("", !0)
967
970
  ]))), 256)),
968
- j(l.$slots, "svg", { svg: r.value }, void 0, !0)
969
- ], 14, rt)) : b("", !0),
970
- l.$slots.watermark ? (a(), o("div", wl, [
971
- j(l.$slots, "watermark", ge(_e({ isPrinting: n(ne) || n(re) })), void 0, !0)
972
- ])) : b("", !0),
973
- D.value ? b("", !0) : (a(), te(at, {
971
+ M(l.$slots, "svg", { svg: r.value }, void 0, !0)
972
+ ], 14, rt)) : f("", !0),
973
+ l.$slots.watermark ? (a(), o("div", kl, [
974
+ M(l.$slots, "watermark", pe(ge({ isPrinting: n(ne) || n(re) })), void 0, !0)
975
+ ])) : f("", !0),
976
+ D.value ? f("", !0) : (a(), te(at, {
974
977
  key: 3,
975
978
  config: {
976
979
  type: "chestnut",
@@ -982,7 +985,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
982
985
  }
983
986
  }
984
987
  }, null, 8, ["config"])),
985
- j(l.$slots, "legend", { legend: N.value }, void 0, !0),
988
+ M(l.$slots, "legend", { legend: N.value }, void 0, !0),
986
989
  D.value ? (a(), te(st, {
987
990
  key: 4,
988
991
  hideDetails: "",
@@ -1005,7 +1008,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
1005
1008
  ref: Q,
1006
1009
  class: "vue-ui-chestnut-table"
1007
1010
  }, [
1008
- s("div", $l, [
1011
+ s("div", wl, [
1009
1012
  s("div", {
1010
1013
  role: "button",
1011
1014
  tabindex: "0",
@@ -1023,127 +1026,127 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
1023
1026
  style: { width: "100%" },
1024
1027
  class: m({ "vue-ui-responsive": de.value })
1025
1028
  }, [
1026
- s("table", Cl, [
1029
+ s("table", $l, [
1027
1030
  s("caption", {
1028
1031
  style: h({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
1029
1032
  class: "vue-ui-data-table__caption"
1030
1033
  }, [
1031
1034
  W(c(e.value.style.chart.layout.title.text) + " ", 1),
1032
- e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", zl, c(e.value.style.chart.layout.title.subtitle.text), 1)) : b("", !0)
1035
+ e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", Cl, c(e.value.style.chart.layout.title.subtitle.text), 1)) : f("", !0)
1033
1036
  ], 4),
1034
1037
  s("thead", null, [
1035
1038
  s("tr", {
1036
1039
  role: "row",
1037
1040
  style: h(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1038
1041
  }, [
1039
- (a(!0), o(p, null, g(d.value.head, (t) => (a(), o("th", {
1042
+ (a(!0), o(g, null, _(v.value.head, (t) => (a(), o("th", {
1040
1043
  style: h(`outline:${e.value.table.th.outline}`)
1041
1044
  }, c(t), 5))), 256))
1042
1045
  ], 4)
1043
1046
  ]),
1044
1047
  s("tbody", null, [
1045
- (a(!0), o(p, null, g(d.value.body, (t, u) => (a(), o("tr", {
1048
+ (a(!0), o(g, null, _(v.value.body, (t, u) => (a(), o("tr", {
1046
1049
  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 }),
1047
1050
  style: h(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1048
1051
  }, [
1049
1052
  s("td", {
1050
1053
  class: "vue-ui-data-table__tbody__td",
1051
1054
  style: h(`outline:${e.value.table.td.outline}`),
1052
- "data-cell": d.value.head[0]
1055
+ "data-cell": v.value.head[0]
1053
1056
  }, [
1054
- s("div", Nl, [
1055
- d.value.body[u - 1] && d.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Sl)) : (a(), o("span", Fl, c(t.rootName), 1))
1057
+ s("div", Tl, [
1058
+ v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Nl)) : (a(), o("span", Sl, c(t.rootName), 1))
1056
1059
  ])
1057
- ], 12, Tl),
1060
+ ], 12, zl),
1058
1061
  s("td", {
1059
1062
  class: "vue-ui-data-table__tbody__td",
1060
1063
  style: h(`outline:${e.value.table.td.outline}`),
1061
- "data-cell": d.value.head[1]
1064
+ "data-cell": v.value.head[1]
1062
1065
  }, [
1063
- s("div", Il, [
1064
- d.value.body[u - 1] && d.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))
1066
+ s("div", Ll, [
1067
+ v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Il)) : (a(), o("span", Pl, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
1065
1068
  ])
1066
- ], 12, Ll),
1069
+ ], 12, Fl),
1067
1070
  s("td", {
1068
1071
  class: "vue-ui-data-table__tbody__td",
1069
1072
  style: h(`outline:${e.value.table.td.outline}`),
1070
- "data-cell": d.value.head[2]
1073
+ "data-cell": v.value.head[2]
1071
1074
  }, [
1072
- s("div", Bl, [
1073
- d.value.body[u - 1] && d.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))
1075
+ s("div", Rl, [
1076
+ v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Bl)) : (a(), o("span", Ml, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1074
1077
  ])
1075
- ], 12, Rl),
1078
+ ], 12, Vl),
1076
1079
  s("td", {
1077
1080
  class: "vue-ui-data-table__tbody__td",
1078
1081
  style: h(`outline:${e.value.table.td.outline}`),
1079
- "data-cell": d.value.head[3]
1082
+ "data-cell": v.value.head[3]
1080
1083
  }, [
1081
1084
  s("div", Ol, [
1082
- d.value.body[u - 1] && d.value.body[u - 1].branchName === t.branchName ? (a(), o("span", El)) : (a(), o("span", Gl, c(t.branchName), 1))
1085
+ v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Xl)) : (a(), o("span", Gl, c(t.branchName), 1))
1083
1086
  ])
1084
- ], 12, Xl),
1087
+ ], 12, jl),
1085
1088
  s("td", {
1086
1089
  class: "vue-ui-data-table__tbody__td",
1087
1090
  style: h(`outline:${e.value.table.td.outline}`),
1088
- "data-cell": d.value.head[4]
1091
+ "data-cell": v.value.head[4]
1089
1092
  }, [
1090
- s("div", Ul, [
1091
- d.value.body[u - 1] && d.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))
1093
+ s("div", Al, [
1094
+ v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Ul)) : (a(), o("span", Dl, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
1092
1095
  ])
1093
- ], 12, Al),
1096
+ ], 12, El),
1094
1097
  s("td", {
1095
1098
  class: "vue-ui-data-table__tbody__td",
1096
1099
  style: h(`outline:${e.value.table.td.outline}`),
1097
- "data-cell": d.value.head[5]
1100
+ "data-cell": v.value.head[5]
1098
1101
  }, [
1099
- s("div", Hl, [
1100
- d.value.body[u - 1] && d.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))
1102
+ s("div", ql, [
1103
+ v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Hl)) : (a(), o("span", Wl, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1101
1104
  ])
1102
- ], 12, ql),
1105
+ ], 12, Yl),
1103
1106
  s("td", {
1104
1107
  class: "vue-ui-data-table__tbody__td",
1105
1108
  style: h(`outline:${e.value.table.td.outline}`),
1106
- "data-cell": d.value.head[6]
1109
+ "data-cell": v.value.head[6]
1107
1110
  }, [
1108
- s("div", Ql, [
1109
- d.value.body[u - 1] && d.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))
1111
+ s("div", Jl, [
1112
+ v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Ql)) : (a(), o("span", Zl, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1110
1113
  ])
1111
- ], 12, Jl),
1114
+ ], 12, Kl),
1112
1115
  s("td", {
1113
1116
  class: "vue-ui-data-table__tbody__td",
1114
1117
  style: h(`outline:${e.value.table.td.outline}`),
1115
- "data-cell": d.value.head[7]
1118
+ "data-cell": v.value.head[7]
1116
1119
  }, [
1117
- s("div", la, c(t.nutName), 1)
1118
- ], 12, ta),
1120
+ s("div", ta, c(t.nutName), 1)
1121
+ ], 12, ea),
1119
1122
  s("td", {
1120
1123
  class: "vue-ui-data-table__tbody__td",
1121
1124
  style: h(`outline:${e.value.table.td.outline}`),
1122
- "data-cell": d.value.head[8]
1125
+ "data-cell": v.value.head[8]
1123
1126
  }, [
1124
- s("div", oa, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1125
- ], 12, aa),
1127
+ s("div", aa, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1128
+ ], 12, la),
1126
1129
  s("td", {
1127
1130
  class: "vue-ui-data-table__tbody__td",
1128
1131
  style: h(`outline:${e.value.table.td.outline}`),
1129
- "data-cell": d.value.head[9]
1132
+ "data-cell": v.value.head[9]
1130
1133
  }, [
1131
- s("div", ua, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1132
- ], 12, sa),
1134
+ s("div", sa, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1135
+ ], 12, oa),
1133
1136
  s("td", {
1134
1137
  class: "vue-ui-data-table__tbody__td",
1135
1138
  style: h(`outline:${e.value.table.td.outline}`),
1136
- "data-cell": d.value.head[10]
1139
+ "data-cell": v.value.head[10]
1137
1140
  }, [
1138
- s("div", ra, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1139
- ], 12, na),
1141
+ s("div", na, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1142
+ ], 12, ua),
1140
1143
  s("td", {
1141
1144
  class: "vue-ui-data-table__tbody__td",
1142
1145
  style: h(`outline:${e.value.table.td.outline}`),
1143
- "data-cell": d.value.head[11]
1146
+ "data-cell": v.value.head[11]
1144
1147
  }, [
1145
- s("div", ca, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1146
- ], 12, ia)
1148
+ s("div", ia, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1149
+ ], 12, ra)
1147
1150
  ], 6))), 256))
1148
1151
  ])
1149
1152
  ])
@@ -1152,10 +1155,10 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
1152
1155
  ], 512)
1153
1156
  ]),
1154
1157
  _: 1
1155
- }, 8, ["config"])) : b("", !0)
1158
+ }, 8, ["config"])) : f("", !0)
1156
1159
  ], 14, nt));
1157
1160
  }
1158
- }, ma = /* @__PURE__ */ ut(da, [["__scopeId", "data-v-4a663614"]]);
1161
+ }, xa = /* @__PURE__ */ ut(ca, [["__scopeId", "data-v-be83cccc"]]);
1159
1162
  export {
1160
- ma as default
1163
+ xa as default
1161
1164
  };