vue-data-ui 3.1.1 → 3.1.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 (93) hide show
  1. package/dist/{Arrow-xQM7mBzd.js → Arrow-BotYLY2I.js} +1 -1
  2. package/dist/{BaseDraggableDialog-B2BQC0-h.js → BaseDraggableDialog-Dkpr-qUQ.js} +2 -2
  3. package/dist/{BaseIcon-DLesaZpW.js → BaseIcon-BLg8FaQ2.js} +5 -3
  4. package/dist/{ColorPicker-BKvJvFtX.js → ColorPicker-C2sMVpbA.js} +2 -2
  5. package/dist/{DataTable-BAf4Obr9.js → DataTable-BRN1-1ob.js} +2 -2
  6. package/dist/{Legend-8_V5egWW.js → Legend-DLzeDl3-.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-Cq4fHmA0.js → NonSvgPenAndPaper-Dp53d2re.js} +3 -3
  8. package/dist/{PackageVersion-Cv_ypT0N.js → PackageVersion-Jz9FlNXl.js} +1 -1
  9. package/dist/{PenAndPaper-B6OvfyHH.js → PenAndPaper-TgGWddgD.js} +3 -3
  10. package/dist/{Shape-Cjca5zta.js → Shape-Bmpx9GRg.js} +1 -1
  11. package/dist/{Slicer-6w3K8gAc.js → Slicer-DeWHn8zH.js} +2 -2
  12. package/dist/{SparkTooltip-BV4Z-NMp.js → SparkTooltip-C6fJOQ0j.js} +1 -1
  13. package/dist/{Title-Dz-j6ERs.js → Title-AGmmsSi_.js} +1 -1
  14. package/dist/{Tooltip-BTGOEC7w.js → Tooltip-le0yZk_t.js} +1 -1
  15. package/dist/{UserOptions-CsDlFB0L.js → UserOptions-DEFwuQIo.js} +125 -108
  16. package/dist/{dom-to-png-BOu5-Ohz.js → dom-to-png-C7V0EktO.js} +1 -1
  17. package/dist/{img-gBDz7xQQ.js → img-DvuphHeJ.js} +1 -1
  18. package/dist/{index-BKQqb9lF.js → index-BFqW8WA0.js} +97 -74
  19. package/dist/pdf-Bdf65IBz.js +79 -0
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +25 -2
  22. package/dist/types/vue-data-ui.d.ts +25 -2
  23. package/dist/{useAutoSizeLabelsInsideViewbox-IO2dh0Uq.js → useAutoSizeLabelsInsideViewbox-N1I6Rk6M.js} +1 -1
  24. package/dist/{useNestedProp-aBOhgs4U.js → useNestedProp-BSZCnuGl.js} +1 -1
  25. package/dist/{usePrinter-BzuXiubT.js → usePrinter-DDIKRiOp.js} +13 -12
  26. package/dist/{vue-data-ui-B6eM6hF3.js → vue-data-ui-vwh3dolO.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-DBeWmnvH.js → vue-ui-3d-bar-DNw3RWRt.js} +371 -366
  29. package/dist/{vue-ui-accordion-B5QeV3BK.js → vue-ui-accordion-Cv747Pg6.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-rZFdUsgz.js → vue-ui-age-pyramid-B1Yun-v7.js} +200 -195
  31. package/dist/{vue-ui-annotator-CCCuslrT.js → vue-ui-annotator-B_5hOApA.js} +2 -2
  32. package/dist/{vue-ui-bullet-DhJf9mvK.js → vue-ui-bullet-C2Aj7Lcx.js} +7 -7
  33. package/dist/{vue-ui-candlestick-CGVtDKqZ.js → vue-ui-candlestick-BBYqZVUp.js} +225 -220
  34. package/dist/{vue-ui-carousel-table-DLAR3WY8.js → vue-ui-carousel-table-DPIOnp9J.js} +4 -4
  35. package/dist/{vue-ui-chestnut-BXnSxoXB.js → vue-ui-chestnut-C4B0wEFn.js} +344 -340
  36. package/dist/{vue-ui-chord-DH_MwAKX.js → vue-ui-chord-B9Zml1V7.js} +272 -266
  37. package/dist/{vue-ui-circle-pack-Cx_E1R63.js → vue-ui-circle-pack-CLn19BHH.js} +6 -6
  38. package/dist/{vue-ui-cursor-CEvH1qDS.js → vue-ui-cursor-AVEV-uv3.js} +2 -2
  39. package/dist/vue-ui-dashboard-DwNYa1I4.js +412 -0
  40. package/dist/{vue-ui-digits-PTozKs3l.js → vue-ui-digits-Dr4OHGU0.js} +2 -2
  41. package/dist/{vue-ui-donut-evolution-DD7o-CxF.js → vue-ui-donut-evolution-hJh-1Z48.js} +310 -304
  42. package/dist/{vue-ui-donut-CsEtKJJD.js → vue-ui-donut-xseR2SnT.js} +348 -343
  43. package/dist/{vue-ui-dumbbell-DfPYl3fu.js → vue-ui-dumbbell-FdTx7uAG.js} +293 -287
  44. package/dist/{vue-ui-flow-CSTTZHwg.js → vue-ui-flow-Bh6FqlC1.js} +263 -257
  45. package/dist/{vue-ui-funnel-C-NUZqIo.js → vue-ui-funnel-BlsKhHbk.js} +206 -200
  46. package/dist/{vue-ui-galaxy-BwsZnU6T.js → vue-ui-galaxy-C0B8stYi.js} +243 -238
  47. package/dist/{vue-ui-gauge-D9MUneq0.js → vue-ui-gauge-B1-UiZwV.js} +7 -7
  48. package/dist/{vue-ui-gizmo-Dnzs9wSf.js → vue-ui-gizmo-Df_SCjOI.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CYaQIhy8.js → vue-ui-heatmap-NfRSd6fU.js} +405 -401
  50. package/dist/{vue-ui-history-plot-DMTFzl-_.js → vue-ui-history-plot-Ce-DJ8xC.js} +305 -299
  51. package/dist/{vue-ui-kpi-CkPotdff.js → vue-ui-kpi-CH3rWyiG.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CCE-bDOJ.js → vue-ui-mini-loader-D9EVnpxk.js} +2 -2
  53. package/dist/{vue-ui-molecule-DaN5lroq.js → vue-ui-molecule-C973vfYh.js} +188 -183
  54. package/dist/{vue-ui-mood-radar-tM0mmZh8.js → vue-ui-mood-radar-DdLxBhlO.js} +197 -192
  55. package/dist/{vue-ui-nested-donuts-RB4r6beI.js → vue-ui-nested-donuts-tARXMYzx.js} +326 -320
  56. package/dist/{vue-ui-onion-CxDozHg3.js → vue-ui-onion-BC9czZGG.js} +8 -8
  57. package/dist/{vue-ui-parallel-coordinate-plot-CK9nNExU.js → vue-ui-parallel-coordinate-plot-CxDIkZKr.js} +401 -395
  58. package/dist/{vue-ui-quadrant-C7tLJYn7.js → vue-ui-quadrant-Bpm5ZoTp.js} +339 -334
  59. package/dist/{vue-ui-quick-chart-MUBAkrHb.js → vue-ui-quick-chart-Bkc_JBCw.js} +6 -6
  60. package/dist/{vue-ui-radar-Br4K80I9.js → vue-ui-radar-DVJQYNeL.js} +248 -243
  61. package/dist/{vue-ui-rating-NtvT9r_M.js → vue-ui-rating-DITnRSiS.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CPQjAy1g.js → vue-ui-relation-circle-D_OTYUmS.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-C2M_Cjlh.js → vue-ui-ridgeline-Gc1c4LXq.js} +267 -263
  64. package/dist/{vue-ui-rings-DEru-cWN.js → vue-ui-rings-CUT1N_kK.js} +229 -224
  65. package/dist/{vue-ui-scatter-CJKkiKle.js → vue-ui-scatter-DwnZHy0V.js} +359 -354
  66. package/dist/{vue-ui-skeleton--twnjS2t.js → vue-ui-skeleton-CeyaKpZd.js} +3 -3
  67. package/dist/{vue-ui-smiley-CNccdPZ7.js → vue-ui-smiley-B9yNexWr.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-9BFkkC0u.js → vue-ui-spark-trend-DTYVcrHV.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-RYAThoA4.js → vue-ui-sparkbar-BzxynYoW.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-DkPlmgMF.js → vue-ui-sparkgauge-DoznCX5h.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-6EkCyYRF.js → vue-ui-sparkhistogram-DoZpd0H2.js} +4 -4
  72. package/dist/{vue-ui-sparkline-Bl3nj8zd.js → vue-ui-sparkline-ZKit-hgG.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-B88lA7iy.js → vue-ui-sparkstackbar-DjoqH_Xs.js} +3 -3
  74. package/dist/{vue-ui-stackbar-Csj7NhT6.js → vue-ui-stackbar-J-gxI4Xn.js} +310 -304
  75. package/dist/{vue-ui-strip-plot-yY9NsUUI.js → vue-ui-strip-plot-CO7NVeFi.js} +246 -240
  76. package/dist/{vue-ui-table-heatmap-BWU7CAWP.js → vue-ui-table-heatmap-BEFdai_O.js} +5 -5
  77. package/dist/{vue-ui-table-Dg6U31ex.js → vue-ui-table-rmbBw_0d.js} +3 -3
  78. package/dist/{vue-ui-table-sparkline-DV4Y9aRL.js → vue-ui-table-sparkline-CjgaQXbc.js} +4 -4
  79. package/dist/{vue-ui-thermometer-C3fKamV-.js → vue-ui-thermometer--aqaJwFo.js} +7 -7
  80. package/dist/{vue-ui-timer-6VAK9XyF.js → vue-ui-timer-qFNHDcU_.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-BB-KAkF7.js → vue-ui-tiremarks-DA8fzQHo.js} +6 -6
  82. package/dist/{vue-ui-treemap-GrXkD_3Z.js → vue-ui-treemap-DGC9zxon.js} +262 -256
  83. package/dist/{vue-ui-vertical-bar-Mmz6u4aX.js → vue-ui-vertical-bar-DOCeCCqz.js} +310 -306
  84. package/dist/{vue-ui-waffle-DzPVRUOA.js → vue-ui-waffle-DD9jtkcQ.js} +257 -252
  85. package/dist/{vue-ui-wheel-idRCvS5t.js → vue-ui-wheel-87VStrfJ.js} +6 -6
  86. package/dist/vue-ui-word-cloud-CCMfa9H1.js +817 -0
  87. package/dist/{vue-ui-world-D6s5Eph8.js → vue-ui-world-Cm3Hn1-2.js} +257 -252
  88. package/dist/{vue-ui-xy-BKTGSvfU.js → vue-ui-xy-C2SnbN6w.js} +1453 -1447
  89. package/dist/{vue-ui-xy-canvas-BOQyxVRl.js → vue-ui-xy-canvas-WxSJqoiF.js} +235 -229
  90. package/package.json +1 -1
  91. package/dist/pdf-Cjsn5GEE.js +0 -61
  92. package/dist/vue-ui-dashboard-CvduVgEy.js +0 -325
  93. package/dist/vue-ui-word-cloud-B2641uNP.js +0 -811
@@ -1,34 +1,34 @@
1
- import { useCssVars as ct, defineAsyncComponent as H, computed as k, ref as z, toRefs as dt, watch as ye, onMounted as vt, nextTick as he, createElementBlock as o, openBlock as a, unref as u, normalizeStyle as y, normalizeClass as w, createBlock as le, createCommentVNode as h, renderSlot as F, createSlots as Re, withCtx as P, normalizeProps as ae, guardReactiveProps as oe, createVNode as fe, createElementVNode as n, toDisplayString as c, Fragment as g, renderList as _, createTextVNode as Z, resolveDynamicComponent as yt, mergeProps as ht, withKeys as ft } from "vue";
2
- import { u as bt, c as pt, t as gt, a as _t, p as R, b as xt, d as mt, g as be, f as se, e as pe, o as kt, X as wt, s as A, x as Oe, k as E, i as S, F as Ve, m as Be, n as Ct, q as J, r as O, v as $t, w as Tt } from "./index-BKQqb9lF.js";
3
- import { u as zt, B as At } from "./BaseScanner-BgWxam9d.js";
4
- import { u as St } from "./usePrinter-BzuXiubT.js";
5
- import { u as Me } from "./useNestedProp-aBOhgs4U.js";
6
- import { u as Nt } from "./useTableResponsive-Cbx-ACcP.js";
7
- import { u as Ft } from "./useUserOptionState-BIvW1Kz7.js";
1
+ import { useCssVars as dt, defineAsyncComponent as H, computed as k, ref as z, toRefs as vt, watch as fe, onMounted as yt, nextTick as be, createElementBlock as o, openBlock as a, unref as u, normalizeStyle as y, normalizeClass as w, createBlock as le, createCommentVNode as h, renderSlot as F, createSlots as Ve, withCtx as P, normalizeProps as ae, guardReactiveProps as oe, createVNode as pe, createElementVNode as n, toDisplayString as c, Fragment as g, renderList as _, createTextVNode as Z, resolveDynamicComponent as ht, mergeProps as ft, withKeys as bt } from "vue";
2
+ import { u as pt, c as gt, t as _t, a as xt, p as R, b as mt, d as kt, g as ge, f as se, e as _e, o as wt, X as Ct, s as A, x as Be, k as E, i as S, F as Me, m as je, n as $t, q as J, r as O, v as Tt, w as zt } from "./index-BFqW8WA0.js";
3
+ import { u as At, B as St } from "./BaseScanner-BgWxam9d.js";
4
+ import { u as Nt } from "./usePrinter-DDIKRiOp.js";
5
+ import { u as De } from "./useNestedProp-BSZCnuGl.js";
6
+ import { u as Ft } from "./useTableResponsive-Cbx-ACcP.js";
7
+ import { u as It } from "./useUserOptionState-BIvW1Kz7.js";
8
8
  import { u as Lt } from "./useChartAccessibility-9icAAmYg.js";
9
- import It from "./img-gBDz7xQQ.js";
10
- import { _ as Pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- const Rt = ["id"], Ot = {
9
+ import Pt from "./img-DvuphHeJ.js";
10
+ import { _ as Rt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
+ const Ot = ["id"], Vt = {
12
12
  key: 1,
13
13
  ref: "noTitle",
14
14
  class: "vue-data-ui-no-title-space",
15
15
  style: "height:36px; width: 100%;background:transparent"
16
- }, Vt = ["xmlns", "viewBox"], Bt = ["width", "height"], Mt = { key: 1 }, jt = ["fill", "font-weight", "font-size", "x", "y"], Dt = ["fill", "font-weight", "font-size", "x", "y"], Xt = ["id"], Gt = ["stop-color"], Et = ["stop-color"], Ut = ["id"], Wt = ["stop-color"], Yt = ["stop-color"], qt = ["id"], Ht = ["stop-color"], Kt = ["stop-color"], Zt = ["stop-color"], Jt = ["id"], Qt = ["stop-color"], el = ["stop-color"], tl = ["stop-color"], ll = ["id"], al = ["stop-color"], ol = ["stop-color"], sl = ["stop-color"], ul = { key: 2 }, nl = ["x", "y", "font-size", "font-weight", "fill"], rl = ["x", "y", "font-size", "font-weight", "fill"], il = ["id"], cl = ["stop-color"], dl = ["stop-color"], vl = ["d", "stroke", "fill"], yl = ["cx", "cy", "r", "fill"], hl = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], fl = { key: 3 }, bl = ["x", "y", "font-size", "fill", "onClick"], pl = { key: 0 }, gl = ["x", "y", "fill", "font-size", "font-weight"], _l = ["x", "y", "height", "width", "fill", "rx", "onClick"], xl = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], ml = { key: 4 }, kl = ["x", "y", "fill", "font-size", "onClick"], wl = ["d", "stroke"], Cl = ["fill", "cx", "cy", "r", "onClick"], $l = { key: 5 }, Tl = ["x", "y", "font-size", "font-weight", "fill"], zl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Al = ["y", "height", "width"], Sl = { 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" } }, Fl = {
16
+ }, Bt = ["xmlns", "viewBox"], Mt = ["width", "height"], jt = { key: 1 }, Dt = ["fill", "font-weight", "font-size", "x", "y"], Xt = ["fill", "font-weight", "font-size", "x", "y"], Gt = ["id"], Et = ["stop-color"], Ut = ["stop-color"], Wt = ["id"], Yt = ["stop-color"], qt = ["stop-color"], Ht = ["id"], Kt = ["stop-color"], Zt = ["stop-color"], Jt = ["stop-color"], Qt = ["id"], el = ["stop-color"], tl = ["stop-color"], ll = ["stop-color"], al = ["id"], ol = ["stop-color"], sl = ["stop-color"], ul = ["stop-color"], nl = { key: 2 }, rl = ["x", "y", "font-size", "font-weight", "fill"], il = ["x", "y", "font-size", "font-weight", "fill"], cl = ["id"], dl = ["stop-color"], vl = ["stop-color"], yl = ["d", "stroke", "fill"], hl = ["cx", "cy", "r", "fill"], fl = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], bl = { key: 3 }, pl = ["x", "y", "font-size", "fill", "onClick"], gl = { key: 0 }, _l = ["x", "y", "fill", "font-size", "font-weight"], xl = ["x", "y", "height", "width", "fill", "rx", "onClick"], ml = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], kl = { key: 4 }, wl = ["x", "y", "fill", "font-size", "onClick"], Cl = ["d", "stroke"], $l = ["fill", "cx", "cy", "r", "onClick"], Tl = { key: 5 }, zl = ["x", "y", "font-size", "font-weight", "fill"], Al = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Sl = ["y", "height", "width"], Nl = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, Fl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, Il = {
17
17
  viewBox: "0 0 20 20",
18
18
  height: "16",
19
19
  width: "16"
20
- }, Ll = ["fill"], Il = { key: 7 }, Pl = ["y", "height", "width"], Rl = { 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" } }, Vl = {
20
+ }, Ll = ["fill"], Pl = { key: 7 }, Rl = ["y", "height", "width"], Ol = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, Vl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, Bl = {
21
21
  viewBox: "0 0 20 20",
22
22
  height: "16",
23
23
  width: "16"
24
- }, Bl = ["fill"], Ml = ["cx", "cy", "fill"], jl = ["d", "stroke"], Dl = ["cx", "cy", "fill"], Xl = ["d", "stroke"], Gl = ["cx", "cy", "fill"], El = ["cx", "cy", "fill"], Ul = ["x", "y", "fill", "font-size", "font-weight"], Wl = ["x", "y", "fill", "font-size", "font-weight"], Yl = ["x", "text-anchor", "y", "fill", "font-size"], ql = ["x", "text-anchor", "y", "fill", "font-size"], Hl = ["x", "text-anchor", "y", "fill", "font-size"], Kl = ["x", "text-anchor", "y", "fill", "font-size"], Zl = ["x", "text-anchor", "y", "fill", "font-size"], Jl = ["x", "y", "font-size", "fill"], Ql = ["x", "y", "font-size", "fill"], ea = ["x", "y", "font-size", "fill"], ta = {
24
+ }, Ml = ["fill"], jl = ["cx", "cy", "fill"], Dl = ["d", "stroke"], Xl = ["cx", "cy", "fill"], Gl = ["d", "stroke"], El = ["cx", "cy", "fill"], Ul = ["cx", "cy", "fill"], Wl = ["x", "y", "fill", "font-size", "font-weight"], Yl = ["x", "y", "fill", "font-size", "font-weight"], ql = ["x", "text-anchor", "y", "fill", "font-size"], Hl = ["x", "text-anchor", "y", "fill", "font-size"], Kl = ["x", "text-anchor", "y", "fill", "font-size"], Zl = ["x", "text-anchor", "y", "fill", "font-size"], Jl = ["x", "text-anchor", "y", "fill", "font-size"], Ql = ["x", "y", "font-size", "fill"], ea = ["x", "y", "font-size", "fill"], ta = ["x", "y", "font-size", "fill"], la = {
25
25
  key: 4,
26
26
  class: "vue-data-ui-watermark"
27
- }, la = {
27
+ }, aa = {
28
28
  key: 5,
29
29
  ref: "source",
30
30
  dir: "auto"
31
- }, aa = { class: "vue-ui-data-table" }, oa = { key: 0 }, sa = ["data-cell"], ua = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, na = { key: 0 }, ra = { key: 1 }, ia = ["data-cell"], ca = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, da = { key: 0 }, va = { key: 1 }, ya = ["data-cell"], ha = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, fa = { key: 0 }, ba = { key: 1 }, pa = ["data-cell"], ga = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, _a = { key: 0 }, xa = { key: 1 }, ma = ["data-cell"], ka = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, wa = { key: 0 }, Ca = { key: 1 }, $a = ["data-cell"], Ta = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, za = { key: 0 }, Aa = { key: 1 }, Sa = ["data-cell"], Na = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Fa = { key: 0 }, La = { key: 1 }, Ia = ["data-cell"], Pa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ra = ["data-cell"], Oa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Va = ["data-cell"], Ba = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ma = ["data-cell"], ja = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Da = ["data-cell"], Xa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ga = {
31
+ }, oa = { class: "vue-ui-data-table" }, sa = { key: 0 }, ua = ["data-cell"], na = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ra = { key: 0 }, ia = { key: 1 }, ca = ["data-cell"], da = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, va = { key: 0 }, ya = { key: 1 }, ha = ["data-cell"], fa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ba = { key: 0 }, pa = { key: 1 }, ga = ["data-cell"], _a = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, xa = { key: 0 }, ma = { key: 1 }, ka = ["data-cell"], wa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ca = { key: 0 }, $a = { key: 1 }, Ta = ["data-cell"], za = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Aa = { key: 0 }, Sa = { key: 1 }, Na = ["data-cell"], Fa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ia = { key: 0 }, La = { key: 1 }, Pa = ["data-cell"], Ra = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Oa = ["data-cell"], Va = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ba = ["data-cell"], Ma = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ja = ["data-cell"], Da = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Xa = ["data-cell"], Ga = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ea = {
32
32
  __name: "vue-ui-chestnut",
33
33
  props: {
34
34
  config: {
@@ -45,14 +45,14 @@ const Rt = ["id"], Ot = {
45
45
  }
46
46
  },
47
47
  emits: ["selectRoot", "selectBranch", "selectNut"],
48
- setup(je, { expose: De, emit: Xe }) {
49
- ct((l) => ({
50
- "2b7313b6": l.tdo
48
+ setup(Xe, { expose: Ge, emit: Ee }) {
49
+ dt((l) => ({
50
+ "566a3b9e": l.tdo
51
51
  }));
52
- const ge = H(() => import("./BaseIcon-DLesaZpW.js")), Ge = H(() => import("./vue-ui-accordion-B5QeV3BK.js")), Ee = H(() => import("./PenAndPaper-B6OvfyHH.js")), Ue = H(() => import("./UserOptions-CsDlFB0L.js")), We = H(() => import("./PackageVersion-Cv_ypT0N.js")), Ye = H(() => import("./BaseDraggableDialog-B2BQC0-h.js")), { vue_ui_chestnut: qe } = bt(), j = je, _e = k(() => !!j.dataset && j.dataset.length), C = z(pt()), U = z(null), He = z(null), xe = z(0), K = z(null), e = z(re()), { loading: me, FINAL_DATASET: ue } = zt({
53
- ...dt(j),
52
+ const xe = H(() => import("./BaseIcon-BLg8FaQ2.js")), Ue = H(() => import("./vue-ui-accordion-Cv747Pg6.js")), We = H(() => import("./PenAndPaper-TgGWddgD.js")), Ye = H(() => import("./UserOptions-DEFwuQIo.js")), qe = H(() => import("./PackageVersion-Jz9FlNXl.js")), He = H(() => import("./BaseDraggableDialog-Dkpr-qUQ.js")), { vue_ui_chestnut: Ke } = pt(), M = Xe, me = k(() => !!M.dataset && M.dataset.length), C = z(gt()), U = z(null), ke = z(0), K = z(null), ue = z(null), e = z(ie()), { loading: we, FINAL_DATASET: ne } = At({
53
+ ...vt(M),
54
54
  FINAL_CONFIG: e,
55
- prepareConfig: re,
55
+ prepareConfig: ie,
56
56
  skeletonDataset: [
57
57
  {
58
58
  name: "_",
@@ -131,7 +131,7 @@ const Rt = ["id"], Ot = {
131
131
  ]
132
132
  }
133
133
  ],
134
- skeletonConfig: gt({
134
+ skeletonConfig: _t({
135
135
  defaultConfig: e.value,
136
136
  userConfig: {
137
137
  userOptions: { show: !1 },
@@ -159,36 +159,36 @@ const Rt = ["id"], Ot = {
159
159
  }
160
160
  }
161
161
  })
162
- }), { userOptionsVisible: ne, setUserOptionsVisibility: ke, keepUserOptionState: we } = Ft({ config: e.value }), { svgRef: Ce } = Lt({ config: e.value.style.chart.layout.title });
163
- function re() {
164
- const l = Me({
165
- userConfig: j.config,
166
- defaultConfig: qe
162
+ }), { userOptionsVisible: re, setUserOptionsVisibility: Ce, keepUserOptionState: $e } = It({ config: e.value }), { svgRef: Te } = Lt({ config: e.value.style.chart.layout.title });
163
+ function ie() {
164
+ const l = De({
165
+ userConfig: M.config,
166
+ defaultConfig: Ke
167
167
  });
168
168
  return l.theme ? {
169
- ...Me({
170
- userConfig: xt.vue_ui_chestnut[l.theme] || j.config,
169
+ ...De({
170
+ userConfig: mt.vue_ui_chestnut[l.theme] || M.config,
171
171
  defaultConfig: l
172
172
  }),
173
- customPalette: _t[l.theme] || R
173
+ customPalette: xt[l.theme] || R
174
174
  } : l;
175
175
  }
176
- ye(() => j.config, (l) => {
177
- e.value = re(), ne.value = !e.value.userOptions.showOnChartHover, V.value.showTable = e.value.table.show, Le();
176
+ fe(() => M.config, (l) => {
177
+ e.value = ie(), re.value = !e.value.userOptions.showOnChartHover, j.value.showTable = e.value.table.show, Pe();
178
178
  }, { deep: !0 });
179
- const { isPrinting: $e, isImaging: Te, generatePdf: ze, generateImage: Ae } = St({
179
+ const { isPrinting: ze, isImaging: Ae, generatePdf: Se, generateImage: Ne } = Nt({
180
180
  elementId: `vue-ui-chestnut_${C.value}`,
181
181
  fileName: e.value.style.chart.layout.title.text || "vue-ui-chestnut",
182
182
  options: e.value.userOptions.print
183
- }), Ke = k(() => e.value.userOptions.show), ie = k(() => mt(e.value.customPalette)), V = z({
183
+ }), Ze = k(() => e.value.userOptions.show), ce = k(() => kt(e.value.customPalette)), j = z({
184
184
  showTable: e.value.table.show
185
185
  });
186
- ye(e, () => {
187
- V.value = {
186
+ fe(e, () => {
187
+ j.value = {
188
188
  showTable: e.value.table.show
189
189
  };
190
190
  }, { immediate: !0 });
191
- const Se = z(null), Ze = k(() => e.value.table.responsiveBreakpoint), i = z({
191
+ const Fe = z(null), Je = k(() => e.value.table.responsiveBreakpoint), r = z({
192
192
  gap: 6,
193
193
  padding: {
194
194
  top: 102,
@@ -201,15 +201,15 @@ const Rt = ["id"], Ot = {
201
201
  branchSize: 32,
202
202
  branchStart: 128
203
203
  }), T = k(() => ({
204
- left: i.value.padding.left,
205
- top: i.value.padding.top,
206
- right: i.value.width - i.value.padding.right,
207
- bottom: i.value.height - i.value.padding.bottom,
208
- width: i.value.width - (i.value.padding.left + i.value.padding.right),
209
- height: i.value.height - (i.value.padding.top + i.value.padding.bottom),
210
- seedX: i.value.padding.left + 64
211
- })), B = k(() => ue.value.flatMap((l) => (l.branches || []).map((r) => r.value || 0)).reduce((l, r) => l + r, 0)), N = k(() => (ue.value.forEach((l, r) => {
212
- be({
204
+ left: r.value.padding.left,
205
+ top: r.value.padding.top,
206
+ right: r.value.width - r.value.padding.right,
207
+ bottom: r.value.height - r.value.padding.bottom,
208
+ width: r.value.width - (r.value.padding.left + r.value.padding.right),
209
+ height: r.value.height - (r.value.padding.top + r.value.padding.bottom),
210
+ seedX: r.value.padding.left + 64
211
+ })), V = k(() => ne.value.flatMap((l) => (l.branches || []).map((i) => i.value || 0)).reduce((l, i) => l + i, 0)), N = k(() => (ne.value.forEach((l, i) => {
212
+ ge({
213
213
  datasetObject: l,
214
214
  requiredAttributes: ["name", "branches"]
215
215
  }).forEach((t) => {
@@ -217,11 +217,11 @@ const Rt = ["id"], Ot = {
217
217
  componentName: "VueUiChestnut",
218
218
  type: "datasetSerieAttribute",
219
219
  property: t,
220
- index: r,
220
+ index: i,
221
221
  debug: Q.value
222
222
  });
223
223
  }), l.branches && l.branches.forEach((t, s) => {
224
- be({
224
+ ge({
225
225
  datasetObject: t,
226
226
  requiredAttributes: ["name", "value"]
227
227
  }).forEach((p) => {
@@ -229,11 +229,11 @@ const Rt = ["id"], Ot = {
229
229
  componentName: "VueUiChestnut",
230
230
  type: "datasetSerieAttribute",
231
231
  property: p,
232
- index: `${r} - ${s}`,
232
+ index: `${i} - ${s}`,
233
233
  debug: Q.value
234
234
  });
235
235
  }), t.breakdown && t.breakdown.forEach((p, b) => {
236
- be({
236
+ ge({
237
237
  datasetObject: p,
238
238
  requiredAttributes: ["name", "value"]
239
239
  }).forEach((f) => {
@@ -241,42 +241,42 @@ const Rt = ["id"], Ot = {
241
241
  componentName: "VueUiChestnut",
242
242
  type: "datasetSerieAttribute",
243
243
  property: f,
244
- index: `${r} - ${s} - ${b}`,
244
+ index: `${i} - ${s} - ${b}`,
245
245
  debug: Q.value
246
246
  });
247
247
  });
248
248
  });
249
249
  });
250
- }), ue.value.map((l, r) => {
250
+ }), ne.value.map((l, i) => {
251
251
  const t = (l.branches || []).map((s) => s.value || 0).reduce((s, p) => s + p, 0);
252
252
  return {
253
253
  ...l,
254
- color: pe(l.color) || ie.value[r] || R[r] || R[r % R.length],
255
- id: l.id || `root_${r}_${C.value}`,
254
+ color: _e(l.color) || ce.value[i] || R[i] || R[i % R.length],
255
+ id: l.id || `root_${i}_${C.value}`,
256
256
  type: "root",
257
257
  total: t,
258
- rootIndex: r,
258
+ rootIndex: i,
259
259
  branches: (l.branches || []).map((s, p) => ({
260
260
  ...s,
261
261
  rootName: l.name,
262
- rootIndex: r,
263
- color: pe(l.color) || ie.value[r] || R[r] || R[r % R.length],
262
+ rootIndex: i,
263
+ color: _e(l.color) || ce.value[i] || R[i] || R[i % R.length],
264
264
  value: s.value >= 0 ? s.value : 0,
265
- id: s.id || `branch_${r}_${p}_${C.value}`,
265
+ id: s.id || `branch_${i}_${p}_${C.value}`,
266
266
  proportionToRoot: s.value / t,
267
267
  type: "branch",
268
268
  breakdown: (s.breakdown || []).map((b, f) => ({
269
269
  table: {
270
270
  rootName: l.name,
271
271
  rootValue: t,
272
- rootToTotal: t / B.value,
272
+ rootToTotal: t / V.value,
273
273
  branchName: s.name,
274
274
  branchValue: s.value,
275
- branchToTotal: s.value / B.value,
275
+ branchToTotal: s.value / V.value,
276
276
  branchToRoot: s.value / t,
277
277
  nutName: b.name,
278
278
  nutValue: b.value,
279
- nutToTotal: b.value / B.value,
279
+ nutToTotal: b.value / V.value,
280
280
  nutToRoot: b.value / t,
281
281
  nutToBranch: b.value / s.value
282
282
  },
@@ -287,82 +287,82 @@ const Rt = ["id"], Ot = {
287
287
  branchTotal: s.value >= 0 ? s.value : 0,
288
288
  proportionToBranch: b.value / s.value,
289
289
  proportionToRoot: b.value / t,
290
- proportionToTree: b.value / B.value,
291
- rootIndex: r,
292
- id: b.id || `nut_${r}_${p}_${f}_${C.value}`,
293
- color: pe(b.color) || ie.value[f] || R[f] || R[f % R.length],
290
+ proportionToTree: b.value / V.value,
291
+ rootIndex: i,
292
+ id: b.id || `nut_${i}_${p}_${f}_${C.value}`,
293
+ color: _e(b.color) || ce.value[f] || R[f] || R[f % R.length],
294
294
  value: b.value >= 0 ? b.value : 0
295
295
  }))
296
296
  }))
297
297
  };
298
298
  })));
299
- function Je() {
299
+ function Qe() {
300
300
  return N.value;
301
301
  }
302
- const W = Xe, Qe = k(() => N.value.flatMap((l) => l.branches).length), et = k(() => Math.max(...N.value.map((l) => l.branches.map((r) => r.value).reduce((r, t) => r + t, 0)))), tt = k(() => Math.max(...N.value.flatMap((l) => l.branches.map((r) => r.value)))), Ne = k(() => 256 + i.value.padding.left), D = k(() => N.value.sort((l, r) => r.total - l.total).map((l, r) => {
303
- const t = T.value.height / N.value.length / 2, s = l.total / et.value * (t > 64 ? 64 : t);
302
+ const W = Ee, et = k(() => N.value.flatMap((l) => l.branches).length), tt = k(() => Math.max(...N.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), lt = k(() => Math.max(...N.value.flatMap((l) => l.branches.map((i) => i.value)))), Ie = k(() => 256 + r.value.padding.left), D = k(() => N.value.sort((l, i) => i.total - l.total).map((l, i) => {
303
+ const t = T.value.height / N.value.length / 2, s = l.total / tt.value * (t > 64 ? 64 : t);
304
304
  return {
305
305
  ...l,
306
306
  x: T.value.seedX,
307
- y: T.value.top + T.value.height / N.value.length * (r + 1) - (T.value.height / N.value.length / 2 + i.value.gap / 2),
308
- r: s < i.value.branchSize / 2 ? i.value.branchSize / 2 : s
307
+ y: T.value.top + T.value.height / N.value.length * (i + 1) - (T.value.height / N.value.length / 2 + r.value.gap / 2),
308
+ r: s < r.value.branchSize / 2 ? r.value.branchSize / 2 : s
309
309
  };
310
- })), lt = k(() => 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), at = k(() => D.value.flatMap((l) => l.branches)), X = k(() => at.value.sort((l, r) => r.value - l.value).map((l, r) => ({
310
+ })), at = k(() => 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), ot = k(() => D.value.flatMap((l) => l.branches)), X = k(() => ot.value.sort((l, i) => i.value - l.value).map((l, i) => ({
311
311
  ...l,
312
- y1: r * i.value.branchSize + T.value.top + r * i.value.gap,
313
- y2: r * i.value.branchSize + i.value.branchSize,
314
- x1: Ne.value,
315
- x2: 384 * l.value / tt.value * lt.value + Ne.value
312
+ y1: i * r.value.branchSize + T.value.top + i * r.value.gap,
313
+ y2: i * r.value.branchSize + r.value.branchSize,
314
+ x1: Ie.value,
315
+ x2: 384 * l.value / lt.value * at.value + Ie.value
316
316
  })));
317
- function ot(l) {
318
- const r = D.value.find((t) => t.rootIndex === l.rootIndex);
319
- return { x: r.x, y: r.y, r: r.r };
317
+ function st(l) {
318
+ const i = D.value.find((t) => t.rootIndex === l.rootIndex);
319
+ return { x: i.x, y: i.y, r: i.r };
320
320
  }
321
- const d = z(null), M = z(null), x = z(null), L = z(null);
321
+ const d = z(null), B = z(null), x = z(null), I = z(null);
322
322
  function $() {
323
- d.value = null, x.value = null, L.value = null;
323
+ d.value = null, x.value = null, I.value = null;
324
324
  }
325
- function I(l) {
326
- return L.value ? L.value === null ? !0 : l.type === "root" ? l.id === L.value.id : l.rootIndex === L.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;
325
+ function L(l) {
326
+ return I.value ? I.value === null ? !0 : l.type === "root" ? l.id === I.value.id : l.rootIndex === I.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;
327
327
  }
328
- function st(l) {
329
- $(), he(() => {
330
- d.value = l, x.value = l, M.value = Be(
328
+ function ut(l) {
329
+ $(), be(() => {
330
+ d.value = l, x.value = l, B.value = je(
331
331
  { series: l.breakdown },
332
332
  l.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
333
- l.y1 + i.value.branchSize / 2,
333
+ l.y1 + r.value.branchSize / 2,
334
334
  80,
335
335
  80
336
336
  ), W("selectNut", l.breakdown);
337
337
  });
338
338
  }
339
339
  function G() {
340
- d.value = null, M.value = null, W("selectNut", null);
340
+ d.value = null, B.value = null, W("selectNut", null);
341
341
  }
342
- function ce(l) {
342
+ function de(l) {
343
343
  x.value && x.value.id === l.id ? (x.value = null, $(), W("selectBranch", null)) : ($(), x.value = l, W("selectBranch", l));
344
344
  }
345
- function Fe(l) {
346
- L.value && L.value.id === l.id ? ($(), W("selectRoot", null)) : ($(), L.value = l, W("selectRoot", l));
345
+ function Le(l) {
346
+ I.value && I.value.id === l.id ? ($(), W("selectRoot", null)) : ($(), I.value = l, W("selectRoot", l));
347
347
  }
348
- function ut() {
348
+ function nt() {
349
349
  return T.value.bottom - (d.value.y1 + 180) < 0 ? 0 : T.value.bottom;
350
350
  }
351
351
  function Y(l) {
352
352
  return l.proportion * 100 > e.value.style.chart.layout.nuts.selected.labels.dataLabels.hideUnderValue;
353
353
  }
354
- vt(() => {
355
- Le();
354
+ yt(() => {
355
+ Pe();
356
356
  });
357
357
  const Q = k(() => e.value.debug);
358
- function Le() {
359
- kt(j.dataset) && se({
358
+ function Pe() {
359
+ wt(M.dataset) && se({
360
360
  componentName: "VueUiChestnut",
361
361
  type: "dataset",
362
362
  debug: Q.value
363
363
  });
364
- const l = Qe.value * (i.value.branchSize + i.value.gap) + i.value.padding.top + i.value.padding.bottom;
365
- i.value.height = l;
364
+ const l = et.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
365
+ r.value.height = l;
366
366
  }
367
367
  const v = k(() => {
368
368
  const l = [
@@ -378,12 +378,12 @@ const Rt = ["id"], Ot = {
378
378
  e.value.table.th.translations.nutToBranch,
379
379
  e.value.table.th.translations.nutToRoot,
380
380
  e.value.table.th.translations.nutToTotal
381
- ], r = N.value.flatMap((t, s) => t.branches.flatMap((p, b) => p.breakdown.flatMap((f, m) => f.table)));
382
- return { head: l, body: r };
381
+ ], i = N.value.flatMap((t, s) => t.branches.flatMap((p, b) => p.breakdown.flatMap((f, m) => f.table)));
382
+ return { head: l, body: i };
383
383
  });
384
- function de(l = null) {
385
- he(() => {
386
- const r = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", B.value], [""]], t = v.value.head, s = v.value.body.map((f, m) => [
384
+ function ve(l = null) {
385
+ be(() => {
386
+ const i = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", V.value], [""]], t = v.value.head, s = v.value.body.map((f, m) => [
387
387
  v.value.body[m - 1] && v.value.body[m - 1].rootName === f.rootName ? "" : f.rootName,
388
388
  v.value.body[m - 1] && v.value.body[m - 1].rootName === f.rootName ? "" : f.rootValue,
389
389
  v.value.body[m - 1] && v.value.body[m - 1].rootName === f.rootName ? "" : f.rootToTotal,
@@ -396,35 +396,35 @@ const Rt = ["id"], Ot = {
396
396
  f.nutToBranch,
397
397
  f.nutToRoot,
398
398
  f.nutToTotal
399
- ]), p = r.concat([t]).concat(s), b = $t(p);
400
- l ? l(b) : Tt({ csvContent: b, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
399
+ ]), p = i.concat([t]).concat(s), b = Tt(p);
400
+ l ? l(b) : zt({ csvContent: b, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
401
401
  });
402
402
  }
403
403
  const q = z(!1);
404
- function Ie(l) {
405
- q.value = l, xe.value += 1;
404
+ function Re(l) {
405
+ q.value = l, ke.value += 1;
406
406
  }
407
- function Pe() {
408
- V.value.showTable = !V.value.showTable;
407
+ function Oe() {
408
+ j.value.showTable = !j.value.showTable;
409
409
  }
410
410
  const ee = z(!1);
411
- function ve() {
411
+ function ye() {
412
412
  ee.value = !ee.value;
413
413
  }
414
- async function nt({ scale: l = 2 } = {}) {
414
+ async function rt({ scale: l = 2 } = {}) {
415
415
  if (!U.value) return;
416
- const { width: r, height: t } = U.value.getBoundingClientRect(), s = r / t, { imageUri: p, base64: b } = await It({ domElement: U.value, base64: !0, img: !0, scale: l });
416
+ const { width: i, height: t } = U.value.getBoundingClientRect(), s = i / t, { imageUri: p, base64: b } = await Pt({ domElement: U.value, base64: !0, img: !0, scale: l });
417
417
  return {
418
418
  imageUri: p,
419
419
  base64: b,
420
420
  title: e.value.style.chart.layout.title.text,
421
- width: r,
421
+ width: i,
422
422
  height: t,
423
423
  aspectRatio: s
424
424
  };
425
425
  }
426
- function rt(l) {
427
- const r = ot(l), t = l.x1, s = l.y1, p = i.value.branchSize, b = r.x + r.r / 2, f = r.y, m = 20;
426
+ function it(l) {
427
+ const i = st(l), t = l.x1, s = l.y1, p = r.value.branchSize, b = i.x + i.r / 2, f = i.y, m = 20;
428
428
  return [
429
429
  `M ${t},${s}`,
430
430
  `C ${t - m},${s} ${t - m},${s} ${b},${f}`,
@@ -433,9 +433,9 @@ const Rt = ["id"], Ot = {
433
433
  ].join(" ");
434
434
  }
435
435
  const te = k(() => {
436
- const l = e.value.table.useDialog && !e.value.table.show, r = V.value.showTable;
436
+ const l = e.value.table.useDialog && !e.value.table.show, i = j.value.showTable;
437
437
  return {
438
- component: l ? Ye : Ge,
438
+ component: l ? He : Ue,
439
439
  title: `${e.value.style.chart.layout.title.text}${e.value.style.chart.layout.title.subtitle.text ? `: ${e.value.style.chart.layout.title.subtitle.text}` : ""}`,
440
440
  props: l ? {
441
441
  backgroundColor: e.value.table.th.backgroundColor,
@@ -448,7 +448,7 @@ const Rt = ["id"], Ot = {
448
448
  } : {
449
449
  hideDetails: !0,
450
450
  config: {
451
- open: r,
451
+ open: i,
452
452
  maxHeight: 1e4,
453
453
  body: {
454
454
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -462,45 +462,48 @@ const Rt = ["id"], Ot = {
462
462
  }
463
463
  };
464
464
  });
465
- ye(() => V.value.showTable, async (l) => {
466
- e.value.table.show || (l && e.value.table.useDialog && K.value ? (await he(), K.value.open()) : "close" in K.value && K.value.close());
465
+ fe(() => j.value.showTable, async (l) => {
466
+ e.value.table.show || (l && e.value.table.useDialog && K.value ? (await be(), K.value.open()) : "close" in K.value && K.value.close());
467
467
  });
468
- const { isResponsive: it } = Nt(Se, Ze);
469
- return De({
470
- getData: Je,
471
- getImage: nt,
472
- generatePdf: ze,
473
- generateCsv: de,
474
- generateImage: Ae,
475
- toggleTable: Pe,
476
- toggleAnnotator: ve,
477
- toggleFullscreen: Ie
478
- }), (l, r) => (a(), o("div", {
468
+ const { isResponsive: ct } = Ft(Fe, Je);
469
+ function he() {
470
+ j.value.showTable = !1, ue.value && ue.value.setTableIconState(!1);
471
+ }
472
+ return Ge({
473
+ getData: Qe,
474
+ getImage: rt,
475
+ generatePdf: Se,
476
+ generateCsv: ve,
477
+ generateImage: Ne,
478
+ toggleTable: Oe,
479
+ toggleAnnotator: ye,
480
+ toggleFullscreen: Re
481
+ }), (l, i) => (a(), o("div", {
479
482
  class: w(`vue-ui-chestnut ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
480
483
  ref_key: "chestnutChart",
481
484
  ref: U,
482
485
  id: `vue-ui-chestnut_${C.value}`,
483
486
  style: y(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
484
- onMouseenter: r[4] || (r[4] = () => u(ke)(!0)),
485
- onMouseleave: r[5] || (r[5] = () => u(ke)(!1))
487
+ onMouseenter: i[1] || (i[1] = () => u(Ce)(!0)),
488
+ onMouseleave: i[2] || (i[2] = () => u(Ce)(!1))
486
489
  }, [
487
- e.value.userOptions.buttons.annotator ? (a(), le(u(Ee), {
490
+ e.value.userOptions.buttons.annotator ? (a(), le(u(We), {
488
491
  key: 0,
489
- svgRef: u(Ce),
492
+ svgRef: u(Te),
490
493
  backgroundColor: e.value.style.chart.backgroundColor,
491
494
  color: e.value.style.chart.color,
492
495
  active: ee.value,
493
- onClose: ve
496
+ onClose: ye
494
497
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
495
- Ke.value ? (a(), o("div", Ot, null, 512)) : h("", !0),
496
- e.value.userOptions.show && _e.value && (u(we) || u(ne)) ? (a(), le(u(Ue), {
497
- ref_key: "details",
498
- ref: He,
499
- key: `user_options_${xe.value}`,
498
+ Ze.value ? (a(), o("div", Vt, null, 512)) : h("", !0),
499
+ e.value.userOptions.show && me.value && (u($e) || u(re)) ? (a(), le(u(Ye), {
500
+ ref_key: "userOptionsRef",
501
+ ref: ue,
502
+ key: `user_options_${ke.value}`,
500
503
  backgroundColor: e.value.style.chart.backgroundColor,
501
504
  color: e.value.style.chart.color,
502
- isImaging: u(Te),
503
- isPrinting: u($e),
505
+ isImaging: u(Ae),
506
+ isPrinting: u(ze),
504
507
  uid: C.value,
505
508
  hasPdf: e.value.userOptions.buttons.pdf,
506
509
  hasImg: e.value.userOptions.buttons.img,
@@ -515,16 +518,17 @@ const Rt = ["id"], Ot = {
515
518
  isAnnotation: ee.value,
516
519
  callbacks: e.value.userOptions.callbacks,
517
520
  printScale: e.value.userOptions.print.scale,
518
- onToggleFullscreen: Ie,
519
- onGeneratePdf: u(ze),
520
- onGenerateCsv: de,
521
- onGenerateImage: u(Ae),
522
- onToggleTable: Pe,
523
- onToggleAnnotator: ve,
521
+ tableDialog: e.value.table.useDialog,
522
+ onToggleFullscreen: Re,
523
+ onGeneratePdf: u(Se),
524
+ onGenerateCsv: ve,
525
+ onGenerateImage: u(Ne),
526
+ onToggleTable: Oe,
527
+ onToggleAnnotator: ye,
524
528
  style: y({
525
- visibility: u(we) ? u(ne) ? "visible" : "hidden" : "visible"
529
+ visibility: u($e) ? u(re) ? "visible" : "hidden" : "visible"
526
530
  })
527
- }, Re({ _: 2 }, [
531
+ }, Ve({ _: 2 }, [
528
532
  l.$slots.menuIcon ? {
529
533
  name: "menuIcon",
530
534
  fn: P(({ isOpen: t, color: s }) => [
@@ -574,50 +578,50 @@ const Rt = ["id"], Ot = {
574
578
  ]),
575
579
  key: "6"
576
580
  } : void 0
577
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
578
- i.value.height > 0 ? (a(), o("svg", {
581
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
582
+ r.value.height > 0 ? (a(), o("svg", {
579
583
  key: 3,
580
584
  ref_key: "svgRef",
581
- ref: Ce,
582
- xmlns: u(wt),
585
+ ref: Te,
586
+ xmlns: u(Ct),
583
587
  class: w({ "vue-data-ui-fullscreen--on": q.value, "vue-data-ui-fulscreen--off": !q.value }),
584
- viewBox: `0 0 ${i.value.width <= 0 ? 10 : i.value.width} ${i.value.height <= 0 ? 10 : i.value.height}`,
588
+ viewBox: `0 0 ${r.value.width <= 0 ? 10 : r.value.width} ${r.value.height <= 0 ? 10 : r.value.height}`,
585
589
  style: y(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
586
590
  }, [
587
- fe(u(We)),
591
+ pe(u(qe)),
588
592
  l.$slots["chart-background"] ? (a(), o("foreignObject", {
589
593
  key: 0,
590
594
  x: 0,
591
595
  y: 0,
592
- width: i.value.width <= 0 ? 10 : i.value.width,
593
- height: i.value.height <= 0 ? 10 : i.value.height,
596
+ width: r.value.width <= 0 ? 10 : r.value.width,
597
+ height: r.value.height <= 0 ? 10 : r.value.height,
594
598
  style: {
595
599
  pointerEvents: "none"
596
600
  }
597
601
  }, [
598
602
  F(l.$slots, "chart-background", {}, void 0, !0)
599
- ], 8, Bt)) : h("", !0),
600
- d.value ? h("", !0) : (a(), o("g", Mt, [
603
+ ], 8, Mt)) : h("", !0),
604
+ d.value ? h("", !0) : (a(), o("g", jt, [
601
605
  e.value.style.chart.layout.title.text ? (a(), o("text", {
602
606
  key: 0,
603
607
  "text-anchor": "middle",
604
608
  fill: e.value.style.chart.layout.title.color,
605
609
  "font-weight": e.value.style.chart.layout.title.bold ? "bold" : "normal",
606
610
  "font-size": e.value.style.chart.layout.title.fontSize,
607
- x: i.value.width / 2,
611
+ x: r.value.width / 2,
608
612
  y: 12 + e.value.style.chart.layout.title.fontSize + e.value.style.chart.layout.title.offsetY,
609
613
  onClick: $
610
- }, c(e.value.style.chart.layout.title.text), 9, jt)) : h("", !0),
614
+ }, c(e.value.style.chart.layout.title.text), 9, Dt)) : h("", !0),
611
615
  e.value.style.chart.layout.title.subtitle.text ? (a(), o("text", {
612
616
  key: 1,
613
617
  "text-anchor": "middle",
614
618
  fill: e.value.style.chart.layout.title.subtitle.color,
615
619
  "font-weight": e.value.style.chart.layout.title.subtitle.bold ? "bold" : "normal",
616
620
  "font-size": e.value.style.chart.layout.title.subtitle.fontSize,
617
- x: i.value.width / 2,
621
+ x: r.value.width / 2,
618
622
  y: 48 + e.value.style.chart.layout.title.subtitle.fontSize + e.value.style.chart.layout.title.subtitle.offsetY,
619
623
  onClick: $
620
- }, c(e.value.style.chart.layout.title.subtitle.text), 9, Dt)) : h("", !0)
624
+ }, c(e.value.style.chart.layout.title.subtitle.text), 9, Xt)) : h("", !0)
621
625
  ])),
622
626
  n("defs", null, [
623
627
  (a(!0), o(g, null, _(N.value, (t, s) => (a(), o("radialGradient", {
@@ -630,13 +634,13 @@ const Rt = ["id"], Ot = {
630
634
  }, [
631
635
  n("stop", {
632
636
  offset: "0%",
633
- "stop-color": u(A)(u(Oe)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
634
- }, null, 8, Gt),
637
+ "stop-color": u(A)(u(Be)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
638
+ }, null, 8, Et),
635
639
  n("stop", {
636
640
  offset: "100%",
637
641
  "stop-color": t.color
638
- }, null, 8, Et)
639
- ], 8, Xt))), 256)),
642
+ }, null, 8, Ut)
643
+ ], 8, Gt))), 256)),
640
644
  (a(!0), o(g, null, _(N.value, (t) => (a(), o("linearGradient", {
641
645
  x1: "0%",
642
646
  y1: "0%",
@@ -647,12 +651,12 @@ const Rt = ["id"], Ot = {
647
651
  n("stop", {
648
652
  offset: "0%",
649
653
  "stop-color": t.color
650
- }, null, 8, Wt),
654
+ }, null, 8, Yt),
651
655
  n("stop", {
652
656
  offset: "100%",
653
- "stop-color": u(A)(u(Oe)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
654
- }, null, 8, Yt)
655
- ], 8, Ut))), 256)),
657
+ "stop-color": u(A)(u(Be)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
658
+ }, null, 8, qt)
659
+ ], 8, Wt))), 256)),
656
660
  n("radialGradient", {
657
661
  cx: "50%",
658
662
  cy: "50%",
@@ -664,16 +668,16 @@ const Rt = ["id"], Ot = {
664
668
  n("stop", {
665
669
  offset: "0%",
666
670
  "stop-color": u(A)("#FFFFFF", 0)
667
- }, null, 8, Ht),
671
+ }, null, 8, Kt),
668
672
  n("stop", {
669
673
  offset: "80%",
670
674
  "stop-color": u(A)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
671
- }, null, 8, Kt),
675
+ }, null, 8, Zt),
672
676
  n("stop", {
673
677
  offset: "100%",
674
678
  "stop-color": u(A)("#FFFFFF", 0)
675
- }, null, 8, Zt)
676
- ], 8, qt),
679
+ }, null, 8, Jt)
680
+ ], 8, Ht),
677
681
  n("radialGradient", {
678
682
  cx: "50%",
679
683
  cy: "50%",
@@ -685,16 +689,16 @@ const Rt = ["id"], Ot = {
685
689
  n("stop", {
686
690
  offset: "0%",
687
691
  "stop-color": u(A)("#FFFFFF", 0)
688
- }, null, 8, Qt),
692
+ }, null, 8, el),
689
693
  n("stop", {
690
694
  offset: "80%",
691
695
  "stop-color": u(A)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
692
- }, null, 8, el),
696
+ }, null, 8, tl),
693
697
  n("stop", {
694
698
  offset: "100%",
695
699
  "stop-color": u(A)("#FFFFFF", 0)
696
- }, null, 8, tl)
697
- ], 8, Jt),
700
+ }, null, 8, ll)
701
+ ], 8, Qt),
698
702
  n("radialGradient", {
699
703
  cx: "50%",
700
704
  cy: "50%",
@@ -706,18 +710,18 @@ const Rt = ["id"], Ot = {
706
710
  n("stop", {
707
711
  offset: "0%",
708
712
  "stop-color": u(A)(e.value.style.chart.backgroundColor, 100)
709
- }, null, 8, al),
713
+ }, null, 8, ol),
710
714
  n("stop", {
711
715
  offset: "80%",
712
716
  "stop-color": u(A)(e.value.style.chart.backgroundColor, 60)
713
- }, null, 8, ol),
717
+ }, null, 8, sl),
714
718
  n("stop", {
715
719
  offset: "100%",
716
720
  "stop-color": u(A)(e.value.style.chart.backgroundColor, 0)
717
- }, null, 8, sl)
718
- ], 8, ll)
721
+ }, null, 8, ul)
722
+ ], 8, al)
719
723
  ]),
720
- e.value.style.chart.layout.grandTotal.show ? (a(), o("g", ul, [
724
+ e.value.style.chart.layout.grandTotal.show ? (a(), o("g", nl, [
721
725
  n("text", {
722
726
  x: T.value.seedX,
723
727
  y: 32 + e.value.style.chart.layout.grandTotal.offsetY,
@@ -726,7 +730,7 @@ const Rt = ["id"], Ot = {
726
730
  fill: e.value.style.chart.layout.grandTotal.color,
727
731
  "text-anchor": "middle",
728
732
  onClick: $
729
- }, c(e.value.style.chart.layout.grandTotal.text), 9, nl),
733
+ }, c(e.value.style.chart.layout.grandTotal.text), 9, rl),
730
734
  n("text", {
731
735
  x: T.value.seedX,
732
736
  y: 38 + e.value.style.chart.layout.grandTotal.fontSize + e.value.style.chart.layout.grandTotal.offsetY,
@@ -737,14 +741,14 @@ const Rt = ["id"], Ot = {
737
741
  onClick: $
738
742
  }, c(u(E)(
739
743
  e.value.style.chart.layout.grandTotal.formatter,
740
- B.value,
744
+ V.value,
741
745
  u(S)({
742
746
  p: e.value.style.chart.layout.grandTotal.prefix,
743
- v: B.value,
747
+ v: V.value,
744
748
  s: e.value.style.chart.layout.grandTotal.suffix,
745
749
  r: e.value.style.chart.layout.grandTotal.roundingValue
746
750
  })
747
- )), 9, rl)
751
+ )), 9, il)
748
752
  ])) : h("", !0),
749
753
  (a(!0), o(g, null, _(X.value, (t) => (a(), o("g", null, [
750
754
  n("defs", null, [
@@ -754,22 +758,22 @@ const Rt = ["id"], Ot = {
754
758
  n("stop", {
755
759
  offset: "0%",
756
760
  "stop-color": t.color
757
- }, null, 8, cl),
761
+ }, null, 8, dl),
758
762
  n("stop", {
759
763
  offset: "100%",
760
764
  "stop-color": u(A)(t.color, e.value.style.chart.layout.links.opacity)
761
- }, null, 8, dl)
762
- ], 8, il)
765
+ }, null, 8, vl)
766
+ ], 8, cl)
763
767
  ]),
764
768
  n("path", {
765
- d: rt(t),
769
+ d: it(t),
766
770
  stroke: u(A)(t.color, e.value.style.chart.layout.links.opacity),
767
771
  fill: `url(#link_grad_${t.id})`,
768
772
  "stroke-linecap": "round",
769
773
  "stroke-linejoin": "round",
770
- style: y(`opacity:${I(t) ? 1 : 0}`),
774
+ style: y(`opacity:${L(t) ? 1 : 0}`),
771
775
  onClick: $
772
- }, null, 12, vl)
776
+ }, null, 12, yl)
773
777
  ]))), 256)),
774
778
  (a(!0), o(g, null, _(D.value, (t) => (a(), o("circle", {
775
779
  cx: t.x,
@@ -777,8 +781,8 @@ const Rt = ["id"], Ot = {
777
781
  r: t.r,
778
782
  fill: e.value.style.chart.layout.roots.underlayerColor,
779
783
  stroke: "none",
780
- style: y(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`)
781
- }, null, 12, yl))), 256)),
784
+ style: y(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`)
785
+ }, null, 12, hl))), 256)),
782
786
  (a(!0), o(g, null, _(D.value, (t, s) => (a(), o("circle", {
783
787
  cx: t.x,
784
788
  cy: t.y,
@@ -786,19 +790,19 @@ const Rt = ["id"], Ot = {
786
790
  fill: e.value.style.chart.layout.roots.useGradient ? `url(#root_gradient_${C.value}_${t.rootIndex})` : t.color,
787
791
  stroke: e.value.style.chart.layout.roots.stroke,
788
792
  "stroke-width": e.value.style.chart.layout.roots.strokeWidth,
789
- style: y(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`),
790
- onClick: (p) => Fe(t)
791
- }, null, 12, hl))), 256)),
792
- e.value.style.chart.layout.roots.labels.show ? (a(), o("g", fl, [
793
+ style: y(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
794
+ onClick: (p) => Le(t)
795
+ }, null, 12, fl))), 256)),
796
+ e.value.style.chart.layout.roots.labels.show ? (a(), o("g", bl, [
793
797
  (a(!0), o(g, null, _(D.value, (t, s) => (a(), o("text", {
794
798
  x: t.x,
795
799
  y: t.y + e.value.style.chart.layout.roots.labels.fontSize / 2.6,
796
800
  "text-anchor": "middle",
797
801
  "font-size": e.value.style.chart.layout.roots.labels.fontSize,
798
- fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? u(Ve)(t.color) : e.value.style.chart.layout.roots.labels.color,
802
+ fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? u(Me)(t.color) : e.value.style.chart.layout.roots.labels.color,
799
803
  "font-weight": "bold",
800
- style: y(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`),
801
- onClick: (p) => Fe(t)
804
+ style: y(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
805
+ onClick: (p) => Le(t)
802
806
  }, c(u(E)(
803
807
  e.value.style.chart.layout.roots.labels.formatter,
804
808
  t.total,
@@ -809,9 +813,9 @@ const Rt = ["id"], Ot = {
809
813
  r: e.value.style.chart.layout.roots.labels.roundingValue
810
814
  }),
811
815
  { datapoint: t }
812
- )), 13, bl))), 256)),
816
+ )), 13, pl))), 256)),
813
817
  (a(!0), o(g, null, _(D.value, (t) => (a(), o("g", null, [
814
- d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || L.value && t.rootIndex === L.value.rootIndex ? (a(), o("g", pl, [
818
+ d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || I.value && t.rootIndex === I.value.rootIndex ? (a(), o("g", gl, [
815
819
  n("text", {
816
820
  x: t.x,
817
821
  y: t.y + t.r + 24,
@@ -820,45 +824,45 @@ const Rt = ["id"], Ot = {
820
824
  "font-size": e.value.style.chart.layout.roots.labels.name.fontSize,
821
825
  "font-weight": e.value.style.chart.layout.roots.labels.name.bold ? "bold" : "normal",
822
826
  onClick: $
823
- }, c(t.name), 9, gl)
827
+ }, c(t.name), 9, _l)
824
828
  ])) : h("", !0)
825
829
  ]))), 256))
826
830
  ])) : h("", !0),
827
831
  (a(!0), o(g, null, _(X.value, (t) => (a(), o("rect", {
828
832
  x: t.x1,
829
833
  y: t.y1,
830
- height: i.value.branchSize,
834
+ height: r.value.branchSize,
831
835
  width: t.x2 - t.x1,
832
836
  fill: e.value.style.chart.layout.branches.underlayerColor,
833
837
  rx: e.value.style.chart.layout.branches.borderRadius,
834
838
  stroke: "none",
835
- style: y(`opacity:${I(t) ? 1 : 0.05}`),
836
- onClick: (s) => ce(t)
837
- }, null, 12, _l))), 256)),
839
+ style: y(`opacity:${L(t) ? 1 : 0.05}`),
840
+ onClick: (s) => de(t)
841
+ }, null, 12, xl))), 256)),
838
842
  (a(!0), o(g, null, _(X.value, (t, s) => (a(), o("rect", {
839
843
  x: t.x1,
840
844
  y: t.y1,
841
- height: i.value.branchSize,
845
+ height: r.value.branchSize,
842
846
  width: t.x2 - t.x1,
843
847
  fill: e.value.style.chart.layout.branches.useGradient ? `url(#branch_gradient_${C.value}_${t.rootIndex})` : t.color,
844
848
  rx: e.value.style.chart.layout.branches.borderRadius,
845
849
  stroke: e.value.style.chart.layout.branches.stroke,
846
850
  "stroke-width": e.value.style.chart.layout.branches.strokeWidth,
847
- style: y(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`),
848
- onClick: (p) => ce(t)
849
- }, null, 12, xl))), 256)),
850
- e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", ml, [
851
+ style: y(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
852
+ onClick: (p) => de(t)
853
+ }, null, 12, ml))), 256)),
854
+ e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", kl, [
851
855
  (a(!0), o(g, null, _(X.value, (t) => (a(), o("g", null, [
852
856
  t.proportionToRoot * 100 > e.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (a(), o("text", {
853
857
  key: 0,
854
858
  x: t.x1 + 6,
855
- y: t.y1 + i.value.branchSize / 1.5,
859
+ y: t.y1 + r.value.branchSize / 1.5,
856
860
  "text-anchor": "start",
857
- fill: u(Ve)(t.color),
861
+ fill: u(Me)(t.color),
858
862
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
859
863
  "font-weight": "bold",
860
- style: y(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`),
861
- onClick: (s) => ce(t)
864
+ style: y(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
865
+ onClick: (s) => de(t)
862
866
  }, c(u(E)(
863
867
  e.value.style.chart.layout.branches.labels.dataLabels.formatter,
864
868
  t.value,
@@ -869,66 +873,66 @@ const Rt = ["id"], Ot = {
869
873
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
870
874
  }),
871
875
  { datapoint: t }
872
- )), 13, kl)) : h("", !0)
876
+ )), 13, wl)) : h("", !0)
873
877
  ]))), 256))
874
878
  ])) : h("", !0),
875
879
  (a(!0), o(g, null, _(X.value, (t, s) => (a(), o("g", null, [
876
- (a(!0), o(g, null, _(u(Be)(
880
+ (a(!0), o(g, null, _(u(je)(
877
881
  { series: t.breakdown, base: 1 },
878
882
  t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
879
- t.y1 + i.value.branchSize / 2,
880
- i.value.branchSize / 3,
881
- i.value.branchSize / 3
883
+ t.y1 + r.value.branchSize / 2,
884
+ r.value.branchSize / 3,
885
+ r.value.branchSize / 3
882
886
  ), (p, b) => (a(), o("path", {
883
887
  d: p.path,
884
888
  stroke: p.color,
885
889
  "stroke-width": 10,
886
890
  fill: "none",
887
- style: y(`opacity:${I(t) ? 1 : 0.1}`)
888
- }, null, 12, wl))), 256)),
891
+ style: y(`opacity:${L(t) ? 1 : 0.1}`)
892
+ }, null, 12, Cl))), 256)),
889
893
  n("circle", {
890
894
  fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${C.value})` : "transparent",
891
895
  cx: t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
892
- cy: t.y1 + i.value.branchSize / 2,
893
- r: i.value.branchSize / 2 + 2,
894
- onClick: (p) => st(t),
895
- style: y(`cursor:pointer;opacity:${I(t) ? 1 : 0.1}`)
896
- }, null, 12, Cl)
896
+ cy: t.y1 + r.value.branchSize / 2,
897
+ r: r.value.branchSize / 2 + 2,
898
+ onClick: (p) => ut(t),
899
+ style: y(`cursor:pointer;opacity:${L(t) ? 1 : 0.1}`)
900
+ }, null, 12, $l)
897
901
  ]))), 256)),
898
- e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", $l, [
902
+ e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", Tl, [
899
903
  (a(!0), o(g, null, _(X.value, (t) => (a(), o("text", {
900
- x: t.x2 + i.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
901
- y: t.y1 + i.value.branchSize / 2 + 5,
904
+ x: t.x2 + r.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
905
+ y: t.y1 + r.value.branchSize / 2 + 5,
902
906
  "font-size": e.value.style.chart.layout.branches.labels.fontSize,
903
907
  "font-weight": e.value.style.chart.layout.branches.labels.bold ? "bold" : "normal",
904
908
  fill: e.value.style.chart.layout.branches.labels.color,
905
909
  "text-anchor": "start",
906
- style: y(`opacity:${I(t) ? 1 : 0.1}`)
907
- }, c(t.name), 13, Tl))), 256))
910
+ style: y(`opacity:${L(t) ? 1 : 0.1}`)
911
+ }, c(t.name), 13, zl))), 256))
908
912
  ])) : h("", !0),
909
913
  n("line", {
910
- x1: 256 + i.value.padding.left,
911
- x2: 256 + i.value.padding.left,
914
+ x1: 256 + r.value.padding.left,
915
+ x2: 256 + r.value.padding.left,
912
916
  y1: T.value.top,
913
917
  y2: T.value.bottom,
914
918
  stroke: e.value.style.chart.layout.verticalSeparator.stroke,
915
919
  "stroke-width": e.value.style.chart.layout.verticalSeparator.strokeWidth
916
- }, null, 8, zl),
920
+ }, null, 8, Al),
917
921
  !d.value && !x.value ? (a(), o("foreignObject", {
918
922
  key: 6,
919
923
  x: 0,
920
924
  y: T.value.bottom,
921
- height: i.value.height - T.value.bottom,
922
- width: i.value.width,
925
+ height: r.value.height - T.value.bottom,
926
+ width: r.value.width,
923
927
  style: { overflow: "visible" },
924
928
  onClick: $
925
929
  }, [
926
- n("div", Sl, [
927
- n("div", Nl, [
930
+ n("div", Nl, [
931
+ n("div", Fl, [
928
932
  (a(!0), o(g, null, _(D.value, (t) => (a(), o("div", {
929
933
  style: y(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
930
934
  }, [
931
- (a(), o("svg", Fl, [
935
+ (a(), o("svg", Il, [
932
936
  n("circle", {
933
937
  cx: "10",
934
938
  cy: "10",
@@ -937,7 +941,7 @@ const Rt = ["id"], Ot = {
937
941
  stroke: "none"
938
942
  }, null, 8, Ll)
939
943
  ])),
940
- u(me) ? h("", !0) : (a(), o(g, { key: 0 }, [
944
+ u(we) ? h("", !0) : (a(), o(g, { key: 0 }, [
941
945
  n("span", null, c(t.name) + ":", 1),
942
946
  n("b", null, c(u(E)(
943
947
  e.value.style.chart.layout.roots.labels.formatter,
@@ -951,7 +955,7 @@ const Rt = ["id"], Ot = {
951
955
  { datapoint: t }
952
956
  )), 1),
953
957
  Z(" (" + c(u(S)({
954
- v: t.total / B.value * 100,
958
+ v: t.total / V.value * 100,
955
959
  s: "%",
956
960
  r: e.value.style.chart.layout.legend.roundingPercentage
957
961
  })) + ") ", 1)
@@ -959,30 +963,30 @@ const Rt = ["id"], Ot = {
959
963
  ], 4))), 256))
960
964
  ])
961
965
  ])
962
- ], 8, Al)) : h("", !0),
963
- d.value && M.value ? (a(), o("g", Il, [
966
+ ], 8, Sl)) : h("", !0),
967
+ d.value && B.value ? (a(), o("g", Pl, [
964
968
  (a(), o("foreignObject", {
965
969
  x: 0,
966
- y: ut(),
967
- height: i.value.height - T.value.bottom,
968
- width: i.value.width,
970
+ y: nt(),
971
+ height: r.value.height - T.value.bottom,
972
+ width: r.value.width,
969
973
  style: { overflow: "visible" },
970
974
  onClick: $
971
975
  }, [
972
- n("div", Rl, [
976
+ n("div", Ol, [
973
977
  n("b", null, c(d.value.name), 1),
974
- n("div", Ol, [
978
+ n("div", Vl, [
975
979
  (a(!0), o(g, null, _(d.value.breakdown, (t, s) => (a(), o("div", {
976
980
  style: y(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
977
981
  }, [
978
- (a(), o("svg", Vl, [
982
+ (a(), o("svg", Bl, [
979
983
  n("circle", {
980
984
  cx: "10",
981
985
  cy: "10",
982
986
  r: "10",
983
987
  fill: t.color,
984
988
  stroke: "none"
985
- }, null, 8, Bl)
989
+ }, null, 8, Ml)
986
990
  ])),
987
991
  n("span", null, [
988
992
  Z(c(t.name) + ": ", 1),
@@ -992,23 +996,23 @@ const Rt = ["id"], Ot = {
992
996
  ], 4))), 256))
993
997
  ])
994
998
  ])
995
- ], 8, Pl)),
999
+ ], 8, Rl)),
996
1000
  n("circle", {
997
1001
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
998
- cy: d.value.y1 + i.value.branchSize / 2,
1002
+ cy: d.value.y1 + r.value.branchSize / 2,
999
1003
  r: 256,
1000
1004
  fill: `url(#nut_underlayer_${C.value})`,
1001
1005
  onClick: G,
1002
1006
  class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1003
- }, null, 10, Ml),
1004
- (a(!0), o(g, null, _(M.value, (t) => (a(), o("g", null, [
1007
+ }, null, 10, jl),
1008
+ (a(!0), o(g, null, _(B.value, (t) => (a(), o("g", null, [
1005
1009
  Y(t) ? (a(), o("path", {
1006
1010
  key: 0,
1007
- d: u(Ct)(
1011
+ d: u($t)(
1008
1012
  t,
1009
1013
  {
1010
1014
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
1011
- y: d.value.y1 + i.value.branchSize / 2
1015
+ y: d.value.y1 + r.value.branchSize / 2
1012
1016
  },
1013
1017
  16,
1014
1018
  16,
@@ -1022,40 +1026,40 @@ const Rt = ["id"], Ot = {
1022
1026
  "stroke-linejoin": "round",
1023
1027
  fill: "none",
1024
1028
  class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1025
- }, null, 10, jl)) : h("", !0)
1029
+ }, null, 10, Dl)) : h("", !0)
1026
1030
  ]))), 256)),
1027
1031
  n("circle", {
1028
1032
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
1029
- cy: d.value.y1 + i.value.branchSize / 2,
1033
+ cy: d.value.y1 + r.value.branchSize / 2,
1030
1034
  r: 118,
1031
1035
  fill: e.value.style.chart.backgroundColor,
1032
1036
  onClick: G,
1033
1037
  class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1034
- }, null, 10, Dl),
1035
- (a(!0), o(g, null, _(M.value, (t) => (a(), o("path", {
1038
+ }, null, 10, Xl),
1039
+ (a(!0), o(g, null, _(B.value, (t) => (a(), o("path", {
1036
1040
  d: t.path,
1037
1041
  stroke: t.color,
1038
1042
  "stroke-width": 64,
1039
1043
  fill: "none",
1040
1044
  onClick: G,
1041
1045
  class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1042
- }, null, 10, Xl))), 256)),
1046
+ }, null, 10, Gl))), 256)),
1043
1047
  n("circle", {
1044
1048
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
1045
- cy: d.value.y1 + i.value.branchSize / 2,
1049
+ cy: d.value.y1 + r.value.branchSize / 2,
1046
1050
  r: 110,
1047
1051
  fill: `url(#nutpick_${C.value})`,
1048
1052
  onClick: G,
1049
1053
  class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1050
- }, null, 10, Gl),
1054
+ }, null, 10, El),
1051
1055
  n("circle", {
1052
1056
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
1053
- cy: d.value.y1 + i.value.branchSize / 2,
1057
+ cy: d.value.y1 + r.value.branchSize / 2,
1054
1058
  r: 64,
1055
1059
  fill: e.value.style.chart.backgroundColor,
1056
1060
  onClick: G,
1057
1061
  class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1058
- }, null, 10, El),
1062
+ }, null, 10, Ul),
1059
1063
  n("text", {
1060
1064
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
1061
1065
  y: d.value.y1 + 8,
@@ -1065,7 +1069,7 @@ const Rt = ["id"], Ot = {
1065
1069
  "text-anchor": "middle",
1066
1070
  onClick: G,
1067
1071
  class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1068
- }, c(e.value.translations.total), 11, Ul),
1072
+ }, c(e.value.translations.total), 11, Wl),
1069
1073
  n("text", {
1070
1074
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
1071
1075
  y: d.value.y1 + 36,
@@ -1085,8 +1089,8 @@ const Rt = ["id"], Ot = {
1085
1089
  r: e.value.style.chart.layout.nuts.selected.roundingValue
1086
1090
  }),
1087
1091
  { datapoint: d.value }
1088
- )), 11, Wl),
1089
- (a(!0), o(g, null, _(M.value, (t, s) => (a(), o("g", null, [
1092
+ )), 11, Yl),
1093
+ (a(!0), o(g, null, _(B.value, (t, s) => (a(), o("g", null, [
1090
1094
  Y(t) ? (a(), o("text", {
1091
1095
  key: 0,
1092
1096
  x: u(O)(t).x,
@@ -1096,7 +1100,7 @@ const Rt = ["id"], Ot = {
1096
1100
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 2,
1097
1101
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1098
1102
  class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1099
- }, " ⬤ ", 14, Yl)) : h("", !0),
1103
+ }, " ⬤ ", 14, ql)) : h("", !0),
1100
1104
  Y(t) ? (a(), o("text", {
1101
1105
  key: 1,
1102
1106
  x: u(O)(t, !0).x,
@@ -1106,9 +1110,9 @@ const Rt = ["id"], Ot = {
1106
1110
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
1107
1111
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
1108
1112
  class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1109
- }, c(d.value.breakdown[s].name), 15, ql)) : h("", !0)
1113
+ }, c(d.value.breakdown[s].name), 15, Hl)) : h("", !0)
1110
1114
  ]))), 256)),
1111
- (a(!0), o(g, null, _(M.value, (t, s) => (a(), o("g", null, [
1115
+ (a(!0), o(g, null, _(B.value, (t, s) => (a(), o("g", null, [
1112
1116
  Y(t) ? (a(), o("text", {
1113
1117
  key: 0,
1114
1118
  x: u(O)(t, !0).x,
@@ -1131,8 +1135,8 @@ const Rt = ["id"], Ot = {
1131
1135
  s: e.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
1132
1136
  r: e.value.style.chart.layout.nuts.selected.roundingValue
1133
1137
  }),
1134
- { datapoint: M.value, seriesIndex: s }
1135
- )), 15, Hl)) : h("", !0),
1138
+ { datapoint: B.value, seriesIndex: s }
1139
+ )), 15, Kl)) : h("", !0),
1136
1140
  Y(t) ? (a(), o("text", {
1137
1141
  key: 1,
1138
1142
  x: u(O)(t, !0).x,
@@ -1146,7 +1150,7 @@ const Rt = ["id"], Ot = {
1146
1150
  v: d.value.breakdown[s].proportionToRoot * 100,
1147
1151
  s: "%",
1148
1152
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
1149
- })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].rootName), 15, Kl)) : h("", !0),
1153
+ })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].rootName), 15, Zl)) : h("", !0),
1150
1154
  Y(t) ? (a(), o("text", {
1151
1155
  key: 2,
1152
1156
  x: u(O)(t, !0).x,
@@ -1160,14 +1164,14 @@ const Rt = ["id"], Ot = {
1160
1164
  v: d.value.breakdown[s].proportionToTree * 100,
1161
1165
  s: "%",
1162
1166
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
1163
- })) + " " + c(e.value.translations.proportionToTree), 15, Zl)) : h("", !0)
1167
+ })) + " " + c(e.value.translations.proportionToTree), 15, Jl)) : h("", !0)
1164
1168
  ]))), 256))
1165
1169
  ])) : h("", !0),
1166
1170
  (a(!0), o(g, null, _(X.value, (t) => (a(), o("g", null, [
1167
1171
  x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
1168
1172
  key: 0,
1169
1173
  x: t.x1 + 6,
1170
- y: t.y1 + i.value.branchSize + 24,
1174
+ y: t.y1 + r.value.branchSize + 24,
1171
1175
  "font-weight": "bold",
1172
1176
  "text-anchor": "start",
1173
1177
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
@@ -1183,11 +1187,11 @@ const Rt = ["id"], Ot = {
1183
1187
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
1184
1188
  }),
1185
1189
  { datapoint: t }
1186
- )), 9, Jl)) : h("", !0),
1190
+ )), 9, Ql)) : h("", !0),
1187
1191
  x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
1188
1192
  key: 1,
1189
1193
  x: t.x1 + 6,
1190
- y: t.y1 + i.value.branchSize + 48,
1194
+ y: t.y1 + r.value.branchSize + 48,
1191
1195
  "text-anchor": "start",
1192
1196
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1193
1197
  fill: e.value.style.chart.layout.branches.labels.color,
@@ -1196,39 +1200,39 @@ const Rt = ["id"], Ot = {
1196
1200
  v: t.proportionToRoot * 100,
1197
1201
  s: "%",
1198
1202
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
1199
- })) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, Ql)) : h("", !0),
1203
+ })) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, ea)) : h("", !0),
1200
1204
  x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
1201
1205
  key: 2,
1202
1206
  x: t.x1 + 6,
1203
- y: t.y1 + i.value.branchSize + 72,
1207
+ y: t.y1 + r.value.branchSize + 72,
1204
1208
  "text-anchor": "start",
1205
1209
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1206
1210
  fill: e.value.style.chart.layout.branches.labels.color,
1207
1211
  onClick: $
1208
1212
  }, c(u(S)({
1209
- v: t.value / B.value * 100,
1213
+ v: t.value / V.value * 100,
1210
1214
  s: "%",
1211
1215
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
1212
- })) + " " + c(e.value.translations.proportionToTree), 9, ea)) : h("", !0)
1216
+ })) + " " + c(e.value.translations.proportionToTree), 9, ta)) : h("", !0)
1213
1217
  ]))), 256)),
1214
- F(l.$slots, "svg", { svg: i.value }, void 0, !0)
1215
- ], 14, Vt)) : h("", !0),
1216
- l.$slots.watermark ? (a(), o("div", ta, [
1217
- F(l.$slots, "watermark", ae(oe({ isPrinting: u($e) || u(Te) })), void 0, !0)
1218
+ F(l.$slots, "svg", { svg: r.value }, void 0, !0)
1219
+ ], 14, Bt)) : h("", !0),
1220
+ l.$slots.watermark ? (a(), o("div", la, [
1221
+ F(l.$slots, "watermark", ae(oe({ isPrinting: u(ze) || u(Ae) })), void 0, !0)
1218
1222
  ])) : h("", !0),
1219
1223
  F(l.$slots, "legend", { legend: N.value }, void 0, !0),
1220
- l.$slots.source ? (a(), o("div", la, [
1224
+ l.$slots.source ? (a(), o("div", aa, [
1221
1225
  F(l.$slots, "source", {}, void 0, !0)
1222
1226
  ], 512)) : h("", !0),
1223
- _e.value ? (a(), le(yt(te.value.component), ht({ key: 6 }, te.value.props, {
1227
+ me.value ? (a(), le(ht(te.value.component), ft({ key: 6 }, te.value.props, {
1224
1228
  ref_key: "tableUnit",
1225
1229
  ref: K,
1226
- onClose: r[3] || (r[3] = (t) => V.value.showTable = !1)
1227
- }), Re({
1230
+ onClose: he
1231
+ }), Ve({
1228
1232
  content: P(() => [
1229
1233
  n("div", {
1230
1234
  ref_key: "tableContainer",
1231
- ref: Se,
1235
+ ref: Fe,
1232
1236
  class: "vue-ui-chestnut-table",
1233
1237
  style: y(`${e.value.table.useDialog ? "" : "max-height: 300px;margin-top:24px"}`)
1234
1238
  }, [
@@ -1240,10 +1244,10 @@ const Rt = ["id"], Ot = {
1240
1244
  role: "button",
1241
1245
  tabindex: "0",
1242
1246
  style: y(`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};`),
1243
- onClick: r[1] || (r[1] = (t) => V.value.showTable = !1),
1244
- onKeypress: r[2] || (r[2] = ft((t) => V.value.showTable = !1, ["enter"]))
1247
+ onClick: he,
1248
+ onKeypress: bt(he, ["enter"])
1245
1249
  }, [
1246
- fe(u(ge), {
1250
+ pe(u(xe), {
1247
1251
  name: "close",
1248
1252
  stroke: e.value.table.th.color,
1249
1253
  "stroke-width": 2
@@ -1251,16 +1255,16 @@ const Rt = ["id"], Ot = {
1251
1255
  ], 36)),
1252
1256
  n("div", {
1253
1257
  style: { width: "100%" },
1254
- class: w({ "vue-ui-responsive": u(it) })
1258
+ class: w({ "vue-ui-responsive": u(ct) })
1255
1259
  }, [
1256
- n("table", aa, [
1260
+ n("table", oa, [
1257
1261
  e.value.table.useDialog ? h("", !0) : (a(), o("caption", {
1258
1262
  key: 0,
1259
1263
  style: y({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
1260
1264
  class: "vue-ui-data-table__caption"
1261
1265
  }, [
1262
1266
  Z(c(e.value.style.chart.layout.title.text) + " ", 1),
1263
- e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", oa, c(e.value.style.chart.layout.title.subtitle.text), 1)) : h("", !0)
1267
+ e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", sa, c(e.value.style.chart.layout.title.subtitle.text), 1)) : h("", !0)
1264
1268
  ], 4)),
1265
1269
  n("thead", null, [
1266
1270
  n("tr", {
@@ -1282,99 +1286,99 @@ const Rt = ["id"], Ot = {
1282
1286
  style: y(`outline:${e.value.table.td.outline}`),
1283
1287
  "data-cell": v.value.head[0]
1284
1288
  }, [
1285
- n("div", ua, [
1286
- v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", na)) : (a(), o("span", ra, c(t.rootName), 1))
1289
+ n("div", na, [
1290
+ v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", ra)) : (a(), o("span", ia, c(t.rootName), 1))
1287
1291
  ])
1288
- ], 12, sa),
1292
+ ], 12, ua),
1289
1293
  n("td", {
1290
1294
  class: "vue-ui-data-table__tbody__td",
1291
1295
  style: y(`outline:${e.value.table.td.outline}`),
1292
1296
  "data-cell": v.value.head[1]
1293
1297
  }, [
1294
- n("div", ca, [
1295
- v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", da)) : (a(), o("span", va, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
1298
+ n("div", da, [
1299
+ v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", va)) : (a(), o("span", ya, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
1296
1300
  ])
1297
- ], 12, ia),
1301
+ ], 12, ca),
1298
1302
  n("td", {
1299
1303
  class: "vue-ui-data-table__tbody__td",
1300
1304
  style: y(`outline:${e.value.table.td.outline}`),
1301
1305
  "data-cell": v.value.head[2]
1302
1306
  }, [
1303
- n("div", ha, [
1304
- v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", fa)) : (a(), o("span", ba, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1307
+ n("div", fa, [
1308
+ v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", ba)) : (a(), o("span", pa, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1305
1309
  ])
1306
- ], 12, ya),
1310
+ ], 12, ha),
1307
1311
  n("td", {
1308
1312
  class: "vue-ui-data-table__tbody__td",
1309
1313
  style: y(`outline:${e.value.table.td.outline}`),
1310
1314
  "data-cell": v.value.head[3]
1311
1315
  }, [
1312
- n("div", ga, [
1313
- v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", _a)) : (a(), o("span", xa, c(t.branchName), 1))
1316
+ n("div", _a, [
1317
+ v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", xa)) : (a(), o("span", ma, c(t.branchName), 1))
1314
1318
  ])
1315
- ], 12, pa),
1319
+ ], 12, ga),
1316
1320
  n("td", {
1317
1321
  class: "vue-ui-data-table__tbody__td",
1318
1322
  style: y(`outline:${e.value.table.td.outline}`),
1319
1323
  "data-cell": v.value.head[4]
1320
1324
  }, [
1321
- n("div", ka, [
1322
- v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", wa)) : (a(), o("span", Ca, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
1325
+ n("div", wa, [
1326
+ v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Ca)) : (a(), o("span", $a, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
1323
1327
  ])
1324
- ], 12, ma),
1328
+ ], 12, ka),
1325
1329
  n("td", {
1326
1330
  class: "vue-ui-data-table__tbody__td",
1327
1331
  style: y(`outline:${e.value.table.td.outline}`),
1328
1332
  "data-cell": v.value.head[5]
1329
1333
  }, [
1330
- n("div", Ta, [
1331
- v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", za)) : (a(), o("span", Aa, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1334
+ n("div", za, [
1335
+ v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Aa)) : (a(), o("span", Sa, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1332
1336
  ])
1333
- ], 12, $a),
1337
+ ], 12, Ta),
1334
1338
  n("td", {
1335
1339
  class: "vue-ui-data-table__tbody__td",
1336
1340
  style: y(`outline:${e.value.table.td.outline}`),
1337
1341
  "data-cell": v.value.head[6]
1338
1342
  }, [
1339
- n("div", Na, [
1340
- v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Fa)) : (a(), o("span", La, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1343
+ n("div", Fa, [
1344
+ v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Ia)) : (a(), o("span", La, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1341
1345
  ])
1342
- ], 12, Sa),
1346
+ ], 12, Na),
1343
1347
  n("td", {
1344
1348
  class: "vue-ui-data-table__tbody__td",
1345
1349
  style: y(`outline:${e.value.table.td.outline}`),
1346
1350
  "data-cell": v.value.head[7]
1347
1351
  }, [
1348
- n("div", Pa, c(t.nutName), 1)
1349
- ], 12, Ia),
1352
+ n("div", Ra, c(t.nutName), 1)
1353
+ ], 12, Pa),
1350
1354
  n("td", {
1351
1355
  class: "vue-ui-data-table__tbody__td",
1352
1356
  style: y(`outline:${e.value.table.td.outline}`),
1353
1357
  "data-cell": v.value.head[8]
1354
1358
  }, [
1355
- n("div", Oa, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1356
- ], 12, Ra),
1359
+ n("div", Va, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1360
+ ], 12, Oa),
1357
1361
  n("td", {
1358
1362
  class: "vue-ui-data-table__tbody__td",
1359
1363
  style: y(`outline:${e.value.table.td.outline}`),
1360
1364
  "data-cell": v.value.head[9]
1361
1365
  }, [
1362
- n("div", Ba, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1363
- ], 12, Va),
1366
+ n("div", Ma, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1367
+ ], 12, Ba),
1364
1368
  n("td", {
1365
1369
  class: "vue-ui-data-table__tbody__td",
1366
1370
  style: y(`outline:${e.value.table.td.outline}`),
1367
1371
  "data-cell": v.value.head[10]
1368
1372
  }, [
1369
- n("div", ja, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1370
- ], 12, Ma),
1373
+ n("div", Da, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1374
+ ], 12, ja),
1371
1375
  n("td", {
1372
1376
  class: "vue-ui-data-table__tbody__td",
1373
1377
  style: y(`outline:${e.value.table.td.outline}`),
1374
1378
  "data-cell": v.value.head[11]
1375
1379
  }, [
1376
- n("div", Xa, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1377
- ], 12, Da)
1380
+ n("div", Ga, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1381
+ ], 12, Xa)
1378
1382
  ], 6))), 256))
1379
1383
  ])
1380
1384
  ])
@@ -1397,9 +1401,9 @@ const Rt = ["id"], Ot = {
1397
1401
  n("button", {
1398
1402
  tabindex: "0",
1399
1403
  class: "vue-ui-user-options-button",
1400
- onClick: r[0] || (r[0] = (t) => de(e.value.userOptions.callbacks.csv))
1404
+ onClick: i[0] || (i[0] = (t) => ve(e.value.userOptions.callbacks.csv))
1401
1405
  }, [
1402
- fe(u(ge), {
1406
+ pe(u(xe), {
1403
1407
  name: "excel",
1404
1408
  stroke: te.value.props.color
1405
1409
  }, null, 8, ["stroke"])
@@ -1408,10 +1412,10 @@ const Rt = ["id"], Ot = {
1408
1412
  key: "1"
1409
1413
  } : void 0
1410
1414
  ]), 1040)) : h("", !0),
1411
- u(me) ? (a(), le(At, { key: 7 })) : h("", !0)
1412
- ], 46, Rt));
1415
+ u(we) ? (a(), le(St, { key: 7 })) : h("", !0)
1416
+ ], 46, Ot));
1413
1417
  }
1414
- }, eo = /* @__PURE__ */ Pt(Ga, [["__scopeId", "data-v-e363d8af"]]);
1418
+ }, to = /* @__PURE__ */ Rt(Ea, [["__scopeId", "data-v-08d09099"]]);
1415
1419
  export {
1416
- eo as default
1420
+ to as default
1417
1421
  };