vue-data-ui 2.17.0 → 2.17.1

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 (91) hide show
  1. package/README.md +2 -1
  2. package/dist/{Arrow-BAEkZGzL.js → Arrow-BDCVJzQB.js} +1 -1
  3. package/dist/{BaseDraggableDialog-ChCkcmj_.js → BaseDraggableDialog-BvuWrldK.js} +2 -2
  4. package/dist/{BaseIcon-naqtCxVi.js → BaseIcon-D9Tz8ARD.js} +1 -1
  5. package/dist/{ColorPicker-CfIPgxcj.js → ColorPicker-wGf46G2G.js} +2 -2
  6. package/dist/{DataTable-D0VYDhfx.js → DataTable-Dt-TIOyY.js} +2 -2
  7. package/dist/{Legend-Bxlv67uY.js → Legend-3LNqqLDg.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-b_oVy-Dd.js → NonSvgPenAndPaper-iDdMuUEo.js} +3 -3
  9. package/dist/{PackageVersion-5TR4ocqp.js → PackageVersion-C-4Ee8BQ.js} +1 -1
  10. package/dist/{PenAndPaper-D6AqipIO.js → PenAndPaper-Cde-wJ3N.js} +3 -3
  11. package/dist/{Shape-DtFT5EJa.js → Shape-C75836Jl.js} +1 -1
  12. package/dist/{Slicer-CL6-MRI6.js → Slicer-CpSu7plp.js} +2 -2
  13. package/dist/{SparkTooltip-Bcv1aoA5.js → SparkTooltip-B_GXa2tb.js} +1 -1
  14. package/dist/{Title-B-2bV0SW.js → Title-DpERl1yr.js} +1 -1
  15. package/dist/{Tooltip-CoQnTnr-.js → Tooltip-DA0bYKFG.js} +1 -1
  16. package/dist/{UserOptions-Dd34lEKb.js → UserOptions-DTEJ3UM_.js} +2 -2
  17. package/dist/{dom-to-png-2AA0wHlX.js → dom-to-png-DWDGYXFL.js} +1 -1
  18. package/dist/{img-Y_hYz-ZC.js → img-utitT2Gd.js} +1 -1
  19. package/dist/{index-pPGk-uhD.js → index-CobsZUkv.js} +22 -8
  20. package/dist/{pdf-yfk3d1is.js → pdf-DWZ8IB56.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +63 -160
  23. package/dist/types/vue-data-ui.d.ts +63 -160
  24. package/dist/{useNestedProp-DjACxgdZ.js → useNestedProp-BwL5wmVa.js} +1 -1
  25. package/dist/{usePrinter-DDHcrl0A.js → usePrinter-DPh6U_Qk.js} +2 -2
  26. package/dist/{vue-data-ui-CIWxgKjd.js → vue-data-ui-D7ZgRDQ_.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-D5Wpdqfk.js → vue-ui-3d-bar-ORUAjkg7.js} +41 -34
  29. package/dist/{vue-ui-accordion-CVnA550V.js → vue-ui-accordion-UewqY6OI.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-BuAl-zC5.js → vue-ui-age-pyramid-Yl4aRpNc.js} +134 -127
  31. package/dist/{vue-ui-annotator-gl2A20m3.js → vue-ui-annotator-B1gqiBqq.js} +2 -2
  32. package/dist/{vue-ui-bullet-D-VMKpwe.js → vue-ui-bullet-C307lCPt.js} +90 -83
  33. package/dist/{vue-ui-candlestick-1r6YwiUV.js → vue-ui-candlestick-BE6PcEdh.js} +101 -94
  34. package/dist/{vue-ui-carousel-table-B6UJoNtP.js → vue-ui-carousel-table-Cpvjr677.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DnlBYpC5.js → vue-ui-chestnut-CUw74AgC.js} +270 -263
  36. package/dist/{vue-ui-chord-D3kpzYjp.js → vue-ui-chord-CCPGeAiY.js} +60 -53
  37. package/dist/{vue-ui-circle-pack-CHgdpoYu.js → vue-ui-circle-pack-dfyPiQmy.js} +121 -114
  38. package/dist/{vue-ui-cursor-63EAvElT.js → vue-ui-cursor-C2zmfeoD.js} +2 -2
  39. package/dist/{vue-ui-dashboard-Da6CPET-.js → vue-ui-dashboard-CotAqRbX.js} +62 -62
  40. package/dist/{vue-ui-digits-CA8pUKej.js → vue-ui-digits-7qJFCuoI.js} +2 -2
  41. package/dist/{vue-ui-donut-CKa7nFjt.js → vue-ui-donut-D41WeqQU.js} +244 -243
  42. package/dist/{vue-ui-donut-evolution-qeBEA4W8.js → vue-ui-donut-evolution-Deg0dsYg.js} +215 -211
  43. package/dist/{vue-ui-dumbbell-Bm0PvAKT.js → vue-ui-dumbbell-DDwNoTPG.js} +117 -110
  44. package/dist/{vue-ui-flow-C2dqXvrU.js → vue-ui-flow-6oR7IMyi.js} +105 -98
  45. package/dist/{vue-ui-funnel-Dvy5rRld.js → vue-ui-funnel-BnXtOJmh.js} +138 -131
  46. package/dist/{vue-ui-galaxy-Y8LYp5n2.js → vue-ui-galaxy-75XC8SpV.js} +150 -146
  47. package/dist/{vue-ui-gauge-BBo0jWAP.js → vue-ui-gauge-w31j915C.js} +125 -118
  48. package/dist/{vue-ui-gizmo-DjXfTOWn.js → vue-ui-gizmo-bZqk6oZS.js} +3 -3
  49. package/dist/{vue-ui-heatmap-BbxRpltP.js → vue-ui-heatmap-BfU62tMW.js} +155 -148
  50. package/dist/{vue-ui-history-plot-ChYf3Nvc.js → vue-ui-history-plot-CFfco-Yj.js} +141 -134
  51. package/dist/{vue-ui-kpi-Vfc5-JnE.js → vue-ui-kpi-DaJ1U3wf.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-C0-Nsz8K.js → vue-ui-mini-loader-CF_2jAI8.js} +2 -2
  53. package/dist/{vue-ui-molecule-B7Yu7vzF.js → vue-ui-molecule-Tdk3Gd8M.js} +141 -134
  54. package/dist/{vue-ui-mood-radar-C8JUTwNw.js → vue-ui-mood-radar-Dg5wS7W5.js} +126 -119
  55. package/dist/{vue-ui-nested-donuts-D0RgFifU.js → vue-ui-nested-donuts-CpRe0sQB.js} +244 -244
  56. package/dist/{vue-ui-onion-D4U7TL_N.js → vue-ui-onion-B8o4ft2v.js} +88 -81
  57. package/dist/{vue-ui-parallel-coordinate-plot-CXMT7Rjr.js → vue-ui-parallel-coordinate-plot-zW-CNqWC.js} +123 -116
  58. package/dist/{vue-ui-quadrant-B13pTVVZ.js → vue-ui-quadrant-DiRtZ16w.js} +151 -144
  59. package/dist/{vue-ui-quick-chart-C0UL4o63.js → vue-ui-quick-chart-BRlYC_yT.js} +39 -32
  60. package/dist/{vue-ui-radar-XpdiXnhz.js → vue-ui-radar-DKgX1Ibx.js} +58 -51
  61. package/dist/{vue-ui-rating-CM8ZrUb1.js → vue-ui-rating-DlklKr-X.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CYoFNekk.js → vue-ui-relation-circle-MHiAp8dC.js} +127 -120
  63. package/dist/{vue-ui-ridgeline-QUquE6ck.js → vue-ui-ridgeline-DA8verAe.js} +98 -91
  64. package/dist/{vue-ui-rings-DwT0IfOh.js → vue-ui-rings-Dh6lFqun.js} +208 -204
  65. package/dist/{vue-ui-scatter-zDpy1udm.js → vue-ui-scatter-CLC5sTOi.js} +172 -165
  66. package/dist/{vue-ui-skeleton-DJPjyNYn.js → vue-ui-skeleton-8s4xts8z.js} +3 -3
  67. package/dist/{vue-ui-smiley-DoDXl6k0.js → vue-ui-smiley-utuzw8uI.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-CniV6Cpr.js → vue-ui-spark-trend-BODEqGRr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-Ds2ITgwn.js → vue-ui-sparkbar-B8MB-kn9.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-CosfK-kw.js → vue-ui-sparkgauge-CuD7kTS3.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C7O1wPAJ.js → vue-ui-sparkhistogram-BYJszvna.js} +4 -4
  72. package/dist/{vue-ui-sparkline-B_iUj3F2.js → vue-ui-sparkline-D77GyWzG.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-DBhWrysr.js → vue-ui-sparkstackbar-DNb1yD64.js} +3 -3
  74. package/dist/{vue-ui-stackbar-C3aV4IcL.js → vue-ui-stackbar-C6rjCYDD.js} +61 -54
  75. package/dist/{vue-ui-strip-plot-Bvr1GAzH.js → vue-ui-strip-plot-B6cYojHQ.js} +116 -109
  76. package/dist/{vue-ui-table-DQKKRgyo.js → vue-ui-table-IC7SmWVd.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-Dyqj5XJC.js → vue-ui-table-heatmap-DHFpJMpA.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-D4RubyLj.js → vue-ui-table-sparkline-D7wz-sCj.js} +4 -4
  79. package/dist/{vue-ui-thermometer-B0FKI5cG.js → vue-ui-thermometer-D-oiVT3n.js} +88 -81
  80. package/dist/{vue-ui-timer-DUCBRIl-.js → vue-ui-timer-C9jVyX5l.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-CRt4UQZD.js → vue-ui-tiremarks-B1bM9Aoo.js} +127 -120
  82. package/dist/vue-ui-treemap-DX48YlU5.js +965 -0
  83. package/dist/{vue-ui-vertical-bar-C5fPYltO.js → vue-ui-vertical-bar-6SjKPQWR.js} +233 -226
  84. package/dist/{vue-ui-waffle-BpWLlfpg.js → vue-ui-waffle-CYao9MMw.js} +183 -179
  85. package/dist/{vue-ui-wheel-CTzuCroy.js → vue-ui-wheel-USuDhMwW.js} +121 -114
  86. package/dist/{vue-ui-word-cloud-BPokdaP1.js → vue-ui-word-cloud-TOBTs7yF.js} +152 -145
  87. package/dist/{vue-ui-world-CS6k-oil.js → vue-ui-world-C2qikqBa.js} +77 -70
  88. package/dist/{vue-ui-xy-CQ425kLR.js → vue-ui-xy-DxwgKoO-.js} +229 -222
  89. package/dist/{vue-ui-xy-canvas-D2IFwAr7.js → vue-ui-xy-canvas-N69OpVn8.js} +154 -147
  90. package/package.json +1 -1
  91. package/dist/vue-ui-treemap-CWP5nYDx.js +0 -961
@@ -1,17 +1,17 @@
1
- import { useCssVars as ot, defineAsyncComponent as H, computed as m, ref as z, watch as st, shallowRef as ut, onMounted as nt, onBeforeUnmount as rt, createElementBlock as o, openBlock as a, unref as s, normalizeStyle as y, normalizeClass as k, createBlock as ee, createCommentVNode as h, renderSlot as F, createSlots as it, withCtx as A, normalizeProps as te, guardReactiveProps as le, createVNode as Ne, createElementVNode as u, toDisplayString as c, Fragment as p, renderList as g, createTextVNode as ae, withKeys as ct, nextTick as Fe } from "vue";
2
- import { u as dt, c as vt, t as yt, p as O, a as ht, b as ft, g as de, e as oe, d as ve, o as bt, X as pt, s as I, w as Ie, i as G, f as S, F as Le, m as Pe, j as gt, k as J, n as V, q as _t, r as xt } from "./index-pPGk-uhD.js";
3
- import { u as Oe } from "./useNestedProp-DjACxgdZ.js";
4
- import { u as mt } from "./usePrinter-DDHcrl0A.js";
1
+ import { useCssVars as ot, defineAsyncComponent as H, computed as m, ref as z, watch as st, shallowRef as ut, onMounted as nt, onBeforeUnmount as rt, createElementBlock as o, openBlock as a, unref as u, normalizeStyle as y, normalizeClass as k, createBlock as ee, createCommentVNode as h, renderSlot as F, createSlots as it, withCtx as A, normalizeProps as te, guardReactiveProps as le, createVNode as Ne, createElementVNode as n, toDisplayString as c, Fragment as p, renderList as g, createTextVNode as ae, withKeys as ct, nextTick as Fe } from "vue";
2
+ import { u as dt, c as vt, t as yt, p as O, a as ht, b as ft, g as de, e as oe, d as ve, o as bt, X as pt, s as I, w as Ie, i as G, f as S, F as Le, m as Pe, j as gt, k as Q, n as R, q as _t, r as xt } from "./index-CobsZUkv.js";
3
+ import { u as Oe } from "./useNestedProp-BwL5wmVa.js";
4
+ import { u as mt } from "./usePrinter-DPh6U_Qk.js";
5
5
  import { u as kt } from "./useUserOptionState-BIvW1Kz7.js";
6
6
  import { u as wt } from "./useChartAccessibility-9icAAmYg.js";
7
- import $t from "./img-Y_hYz-ZC.js";
7
+ import $t from "./img-utitT2Gd.js";
8
8
  import { _ as Ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  const Tt = ["id"], zt = {
10
10
  key: 1,
11
11
  ref: "noTitle",
12
12
  class: "vue-data-ui-no-title-space",
13
13
  style: "height:36px; width: 100%;background:transparent"
14
- }, St = ["xmlns", "viewBox"], Nt = ["width", "height"], Ft = { key: 1 }, It = ["fill", "font-weight", "font-size", "x", "y"], Lt = ["fill", "font-weight", "font-size", "x", "y"], Pt = ["id"], Ot = ["stop-color"], Vt = ["stop-color"], Rt = ["id"], Mt = ["stop-color"], Bt = ["stop-color"], At = ["id"], jt = ["stop-color"], Xt = ["stop-color"], Et = ["stop-color"], Gt = ["id"], Ut = ["stop-color"], Dt = ["stop-color"], Yt = ["stop-color"], qt = ["id"], Ht = ["stop-color"], Wt = ["stop-color"], Kt = ["stop-color"], Jt = { key: 2 }, Qt = ["x", "y", "font-size", "font-weight", "fill"], Zt = ["x", "y", "font-size", "font-weight", "fill"], el = ["d", "stroke"], tl = ["cx", "cy", "r", "fill"], ll = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], al = { key: 3 }, ol = ["x", "y", "font-size", "fill", "onClick"], sl = { key: 0 }, ul = ["x", "y", "fill", "font-size", "font-weight"], nl = ["x", "y", "height", "width", "fill", "rx", "onClick"], rl = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], il = { key: 4 }, cl = ["x", "y", "fill", "font-size", "onClick"], dl = ["d", "stroke"], vl = ["fill", "cx", "cy", "r", "onClick"], yl = { key: 5 }, hl = ["x", "y", "font-size", "font-weight", "fill"], fl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], bl = ["y", "height", "width"], pl = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, gl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, _l = {
14
+ }, St = ["xmlns", "viewBox"], Nt = ["width", "height"], Ft = { key: 1 }, It = ["fill", "font-weight", "font-size", "x", "y"], Lt = ["fill", "font-weight", "font-size", "x", "y"], Pt = ["id"], Ot = ["stop-color"], Rt = ["stop-color"], Vt = ["id"], Bt = ["stop-color"], Mt = ["stop-color"], At = ["id"], jt = ["stop-color"], Xt = ["stop-color"], Et = ["stop-color"], Gt = ["id"], Ut = ["stop-color"], Dt = ["stop-color"], Yt = ["stop-color"], qt = ["id"], Ht = ["stop-color"], Wt = ["stop-color"], Kt = ["stop-color"], Jt = { key: 2 }, Qt = ["x", "y", "font-size", "font-weight", "fill"], Zt = ["x", "y", "font-size", "font-weight", "fill"], el = ["d", "stroke"], tl = ["cx", "cy", "r", "fill"], ll = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], al = { key: 3 }, ol = ["x", "y", "font-size", "fill", "onClick"], sl = { key: 0 }, ul = ["x", "y", "fill", "font-size", "font-weight"], nl = ["x", "y", "height", "width", "fill", "rx", "onClick"], rl = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], il = { key: 4 }, cl = ["x", "y", "fill", "font-size", "onClick"], dl = ["d", "stroke"], vl = ["fill", "cx", "cy", "r", "onClick"], yl = { key: 5 }, hl = ["x", "y", "font-size", "font-weight", "fill"], fl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], bl = ["y", "height", "width"], pl = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, gl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, _l = {
15
15
  viewBox: "0 0 20 20",
16
16
  height: "16",
17
17
  width: "16"
@@ -19,7 +19,7 @@ const Tt = ["id"], zt = {
19
19
  viewBox: "0 0 20 20",
20
20
  height: "16",
21
21
  width: "16"
22
- }, Tl = ["fill"], zl = ["cx", "cy", "fill"], Sl = ["d", "stroke"], Nl = ["cx", "cy", "fill"], Fl = ["d", "stroke"], Il = ["cx", "cy", "fill"], Ll = ["cx", "cy", "fill"], Pl = ["x", "y", "fill", "font-size", "font-weight"], Ol = ["x", "y", "fill", "font-size", "font-weight"], Vl = ["x", "text-anchor", "y", "fill", "font-size"], Rl = ["x", "text-anchor", "y", "fill", "font-size"], Ml = ["x", "text-anchor", "y", "fill", "font-size"], Bl = ["x", "text-anchor", "y", "fill", "font-size"], Al = ["x", "text-anchor", "y", "fill", "font-size"], jl = ["x", "y", "font-size", "fill"], Xl = ["x", "y", "font-size", "fill"], El = ["x", "y", "font-size", "fill"], Gl = {
22
+ }, Tl = ["fill"], zl = ["cx", "cy", "fill"], Sl = ["d", "stroke"], Nl = ["cx", "cy", "fill"], Fl = ["d", "stroke"], Il = ["cx", "cy", "fill"], Ll = ["cx", "cy", "fill"], Pl = ["x", "y", "fill", "font-size", "font-weight"], Ol = ["x", "y", "fill", "font-size", "font-weight"], Rl = ["x", "text-anchor", "y", "fill", "font-size"], Vl = ["x", "text-anchor", "y", "fill", "font-size"], Bl = ["x", "text-anchor", "y", "fill", "font-size"], Ml = ["x", "text-anchor", "y", "fill", "font-size"], Al = ["x", "text-anchor", "y", "fill", "font-size"], jl = ["x", "y", "font-size", "fill"], Xl = ["x", "y", "font-size", "fill"], El = ["x", "y", "font-size", "fill"], Gl = {
23
23
  key: 4,
24
24
  class: "vue-data-ui-watermark"
25
25
  }, Ul = {
@@ -43,28 +43,28 @@ const Tt = ["id"], zt = {
43
43
  }
44
44
  },
45
45
  emits: ["selectRoot", "selectBranch", "selectNut"],
46
- setup(Ve, { expose: Re, emit: Me }) {
46
+ setup(Re, { expose: Ve, emit: Be }) {
47
47
  ot((l) => ({
48
- "543c3ede": l.tdo
48
+ "41b0c792": l.tdo
49
49
  }));
50
- const Be = H(() => import("./PenAndPaper-D6AqipIO.js")), Ae = H(() => import("./vue-ui-accordion-CVnA550V.js")), je = H(() => import("./vue-ui-skeleton-DJPjyNYn.js")), Xe = H(() => import("./UserOptions-Dd34lEKb.js")), Ee = H(() => import("./PackageVersion-5TR4ocqp.js")), Ge = H(() => import("./BaseIcon-naqtCxVi.js")), { vue_ui_chestnut: Ue } = dt(), R = Ve, W = m(() => !!R.dataset && R.dataset.length), w = z(vt()), Q = z(null), De = z(null), ye = z(0), e = m({
50
+ const Me = H(() => import("./PenAndPaper-Cde-wJ3N.js")), Ae = H(() => import("./vue-ui-accordion-UewqY6OI.js")), je = H(() => import("./vue-ui-skeleton-8s4xts8z.js")), Xe = H(() => import("./UserOptions-DTEJ3UM_.js")), Ee = H(() => import("./PackageVersion-C-4Ee8BQ.js")), Ge = H(() => import("./BaseIcon-D9Tz8ARD.js")), { vue_ui_chestnut: Ue } = dt(), V = Re, W = m(() => !!V.dataset && V.dataset.length), w = z(vt()), K = z(null), De = z(null), ye = z(0), e = m({
51
51
  get: () => pe(),
52
52
  set: (l) => l
53
53
  }), { userOptionsVisible: se, setUserOptionsVisibility: he, keepUserOptionState: fe } = kt({ config: e.value }), { svgRef: be } = wt({ config: e.value.style.chart.layout.title });
54
54
  function pe() {
55
55
  const l = Oe({
56
- userConfig: R.config,
56
+ userConfig: V.config,
57
57
  defaultConfig: Ue
58
58
  });
59
59
  return l.theme ? {
60
60
  ...Oe({
61
- userConfig: ht.vue_ui_chestnut[l.theme] || R.config,
61
+ userConfig: ht.vue_ui_chestnut[l.theme] || V.config,
62
62
  defaultConfig: l
63
63
  }),
64
64
  customPalette: yt[l.theme] || O
65
65
  } : l;
66
66
  }
67
- st(() => R.config, (l) => {
67
+ st(() => V.config, (l) => {
68
68
  e.value = pe(), se.value = !e.value.userOptions.showOnChartHover, U.value.showTable = e.value.table.show, Ce();
69
69
  }, { deep: !0 });
70
70
  const { isPrinting: ge, isImaging: _e, generatePdf: xe, generateImage: me } = mt({
@@ -93,7 +93,7 @@ const Tt = ["id"], zt = {
93
93
  width: r.value.width - (r.value.padding.left + r.value.padding.right),
94
94
  height: r.value.height - (r.value.padding.top + r.value.padding.bottom),
95
95
  seedX: r.value.padding.left + 64
96
- })), M = m(() => W.value ? R.dataset.flatMap((l) => (l.branches || []).map((i) => i.value || 0)).reduce((l, i) => l + i, 0) : 0), N = m(() => (R.dataset.forEach((l, i) => {
96
+ })), B = m(() => W.value ? V.dataset.flatMap((l) => (l.branches || []).map((i) => i.value || 0)).reduce((l, i) => l + i, 0) : 0), N = m(() => (V.dataset.forEach((l, i) => {
97
97
  de({
98
98
  datasetObject: l,
99
99
  requiredAttributes: ["name", "branches"]
@@ -104,7 +104,7 @@ const Tt = ["id"], zt = {
104
104
  property: t,
105
105
  index: i
106
106
  });
107
- }), l.branches && l.branches.forEach((t, n) => {
107
+ }), l.branches && l.branches.forEach((t, s) => {
108
108
  de({
109
109
  datasetObject: t,
110
110
  requiredAttributes: ["name", "value"]
@@ -113,9 +113,9 @@ const Tt = ["id"], zt = {
113
113
  componentName: "VueUiChestnut",
114
114
  type: "datasetSerieAttribute",
115
115
  property: b,
116
- index: `${i} - ${n}`
116
+ index: `${i} - ${s}`
117
117
  });
118
- }), t.breakdown && t.breakdown.forEach((b, x) => {
118
+ }), t.breakdown && t.breakdown.forEach((b, _) => {
119
119
  de({
120
120
  datasetObject: b,
121
121
  requiredAttributes: ["name", "value"]
@@ -124,13 +124,13 @@ const Tt = ["id"], zt = {
124
124
  componentName: "VueUiChestnut",
125
125
  type: "datasetSerieAttribute",
126
126
  property: f,
127
- index: `${i} - ${n} - ${x}`
127
+ index: `${i} - ${s} - ${_}`
128
128
  });
129
129
  });
130
130
  });
131
131
  });
132
- }), R.dataset.map((l, i) => {
133
- const t = (l.branches || []).map((n) => n.value || 0).reduce((n, b) => n + b, 0);
132
+ }), V.dataset.map((l, i) => {
133
+ const t = (l.branches || []).map((s) => s.value || 0).reduce((s, b) => s + b, 0);
134
134
  return {
135
135
  ...l,
136
136
  color: ve(l.color) || ue.value[i] || O[i] || O[i % O.length],
@@ -138,42 +138,42 @@ const Tt = ["id"], zt = {
138
138
  type: "root",
139
139
  total: t,
140
140
  rootIndex: i,
141
- branches: (l.branches || []).map((n, b) => ({
142
- ...n,
141
+ branches: (l.branches || []).map((s, b) => ({
142
+ ...s,
143
143
  rootName: l.name,
144
144
  rootIndex: i,
145
145
  color: ve(l.color) || ue.value[i] || O[i] || O[i % O.length],
146
- value: n.value >= 0 ? n.value : 0,
147
- id: n.id || `branch_${i}_${b}_${w.value}`,
148
- proportionToRoot: n.value / t,
146
+ value: s.value >= 0 ? s.value : 0,
147
+ id: s.id || `branch_${i}_${b}_${w.value}`,
148
+ proportionToRoot: s.value / t,
149
149
  type: "branch",
150
- breakdown: (n.breakdown || []).map((x, f) => ({
150
+ breakdown: (s.breakdown || []).map((_, f) => ({
151
151
  table: {
152
152
  rootName: l.name,
153
153
  rootValue: t,
154
- rootToTotal: t / M.value,
155
- branchName: n.name,
156
- branchValue: n.value,
157
- branchToTotal: n.value / M.value,
158
- branchToRoot: n.value / t,
159
- nutName: x.name,
160
- nutValue: x.value,
161
- nutToTotal: x.value / M.value,
162
- nutToRoot: x.value / t,
163
- nutToBranch: x.value / n.value
154
+ rootToTotal: t / B.value,
155
+ branchName: s.name,
156
+ branchValue: s.value,
157
+ branchToTotal: s.value / B.value,
158
+ branchToRoot: s.value / t,
159
+ nutName: _.name,
160
+ nutValue: _.value,
161
+ nutToTotal: _.value / B.value,
162
+ nutToRoot: _.value / t,
163
+ nutToBranch: _.value / s.value
164
164
  },
165
- ...x,
165
+ ..._,
166
166
  type: "nut",
167
- branchName: n.name,
167
+ branchName: s.name,
168
168
  rootName: l.name,
169
- branchTotal: n.value >= 0 ? n.value : 0,
170
- proportionToBranch: x.value / n.value,
171
- proportionToRoot: x.value / t,
172
- proportionToTree: x.value / M.value,
169
+ branchTotal: s.value >= 0 ? s.value : 0,
170
+ proportionToBranch: _.value / s.value,
171
+ proportionToRoot: _.value / t,
172
+ proportionToTree: _.value / B.value,
173
173
  rootIndex: i,
174
- id: x.id || `nut_${i}_${b}_${f}_${w.value}`,
175
- color: ve(x.color) || ue.value[f] || O[f] || O[f % O.length],
176
- value: x.value >= 0 ? x.value : 0
174
+ id: _.id || `nut_${i}_${b}_${f}_${w.value}`,
175
+ color: ve(_.color) || ue.value[f] || O[f] || O[f % O.length],
176
+ value: _.value >= 0 ? _.value : 0
177
177
  }))
178
178
  }))
179
179
  };
@@ -181,13 +181,13 @@ const Tt = ["id"], zt = {
181
181
  function He() {
182
182
  return N.value;
183
183
  }
184
- const D = Me, We = m(() => N.value.flatMap((l) => l.branches).length), Ke = m(() => Math.max(...N.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), Je = m(() => Math.max(...N.value.flatMap((l) => l.branches.map((i) => i.value)))), we = m(() => 256 + r.value.padding.left), j = m(() => N.value.sort((l, i) => i.total - l.total).map((l, i) => {
185
- const t = C.value.height / N.value.length / 2, n = l.total / Ke.value * (t > 64 ? 64 : t);
184
+ const D = Be, We = m(() => N.value.flatMap((l) => l.branches).length), Ke = m(() => Math.max(...N.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), Je = m(() => Math.max(...N.value.flatMap((l) => l.branches.map((i) => i.value)))), we = m(() => 256 + r.value.padding.left), j = m(() => N.value.sort((l, i) => i.total - l.total).map((l, i) => {
185
+ const t = C.value.height / N.value.length / 2, s = l.total / Ke.value * (t > 64 ? 64 : t);
186
186
  return {
187
187
  ...l,
188
188
  x: C.value.seedX,
189
189
  y: C.value.top + C.value.height / N.value.length * (i + 1) - (C.value.height / N.value.length / 2 + r.value.gap / 2),
190
- r: n < r.value.branchSize / 2 ? r.value.branchSize / 2 : n
190
+ r: s < r.value.branchSize / 2 ? r.value.branchSize / 2 : s
191
191
  };
192
192
  })), Qe = m(() => e.value.style.chart.layout.branches.widthRatio <= 0 ? 0.1 : e.value.style.chart.layout.branches.widthRatio > 1.8 ? 1.8 : e.value.style.chart.layout.branches.widthRatio), Ze = m(() => j.value.flatMap((l) => l.branches)), X = m(() => Ze.value.sort((l, i) => i.value - l.value).map((l, i) => ({
193
193
  ...l,
@@ -200,16 +200,16 @@ const Tt = ["id"], zt = {
200
200
  const i = j.value.find((t) => t.rootIndex === l.rootIndex);
201
201
  return { x: i.x, y: i.y, r: i.r };
202
202
  }
203
- const d = z(null), B = z(null), _ = z(null), L = z(null);
203
+ const d = z(null), M = z(null), x = z(null), L = z(null);
204
204
  function $() {
205
- d.value = null, _.value = null, L.value = null;
205
+ d.value = null, x.value = null, L.value = null;
206
206
  }
207
207
  function P(l) {
208
- return L.value ? L.value === null ? !0 : l.type === "root" ? l.id === L.value.id : l.rootIndex === L.value.rootIndex : d.value === null && _.value === null ? !0 : l.type === "nut" ? d.value.id === l.id : l.type === "branch" ? _.value.id === l.id : l.type === "root" ? _.value && _.value.rootIndex === l.rootIndex || d.value && d.value.rootIndex === l.rootIndex : !1;
208
+ 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;
209
209
  }
210
210
  function et(l) {
211
211
  $(), Fe(() => {
212
- d.value = l, _.value = l, B.value = Pe(
212
+ d.value = l, x.value = l, M.value = Pe(
213
213
  { series: l.breakdown, base: 1 },
214
214
  l.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
215
215
  l.y1 + r.value.branchSize / 2,
@@ -219,10 +219,10 @@ const Tt = ["id"], zt = {
219
219
  });
220
220
  }
221
221
  function E() {
222
- d.value = null, B.value = null, D("selectNut", null);
222
+ d.value = null, M.value = null, D("selectNut", null);
223
223
  }
224
224
  function ie(l) {
225
- _.value && _.value.id === l.id ? (_.value = null, $(), D("selectBranch", null)) : ($(), _.value = l, D("selectBranch", l));
225
+ x.value && x.value.id === l.id ? (x.value = null, $(), D("selectBranch", null)) : ($(), x.value = l, D("selectBranch", l));
226
226
  }
227
227
  function $e(l) {
228
228
  L.value && L.value.id === l.id ? ($(), D("selectRoot", null)) : ($(), L.value = l, D("selectRoot", l));
@@ -247,7 +247,7 @@ const Tt = ["id"], zt = {
247
247
  q.value && q.value.disconnect();
248
248
  });
249
249
  function Ce() {
250
- bt(R.dataset) && oe({
250
+ bt(V.dataset) && oe({
251
251
  componentName: "VueUiChestnut",
252
252
  type: "dataset"
253
253
  });
@@ -268,12 +268,12 @@ const Tt = ["id"], zt = {
268
268
  e.value.table.th.translations.nutToBranch,
269
269
  e.value.table.th.translations.nutToRoot,
270
270
  e.value.table.th.translations.nutToTotal
271
- ], i = N.value.flatMap((t, n) => t.branches.flatMap((b, x) => b.breakdown.flatMap((f, T) => f.table)));
271
+ ], i = N.value.flatMap((t, s) => t.branches.flatMap((b, _) => b.breakdown.flatMap((f, T) => f.table)));
272
272
  return { head: l, body: i };
273
273
  });
274
274
  function Te(l = null) {
275
275
  Fe(() => {
276
- const i = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", M.value], [""]], t = v.value.head, n = v.value.body.map((f, T) => [
276
+ const i = [[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, T) => [
277
277
  v.value.body[T - 1] && v.value.body[T - 1].rootName === f.rootName ? "" : f.rootName,
278
278
  v.value.body[T - 1] && v.value.body[T - 1].rootName === f.rootName ? "" : f.rootValue,
279
279
  v.value.body[T - 1] && v.value.body[T - 1].rootName === f.rootName ? "" : f.rootToTotal,
@@ -286,13 +286,13 @@ const Tt = ["id"], zt = {
286
286
  f.nutToBranch,
287
287
  f.nutToRoot,
288
288
  f.nutToTotal
289
- ]), b = i.concat([t]).concat(n), x = _t(b);
290
- l ? l(x) : xt({ csvContent: x, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
289
+ ]), b = i.concat([t]).concat(s), _ = _t(b);
290
+ l ? l(_) : xt({ csvContent: _, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
291
291
  });
292
292
  }
293
- const K = z(!1);
293
+ const J = z(!1);
294
294
  function ze(l) {
295
- K.value = l, ye.value += 1;
295
+ J.value = l, ye.value += 1;
296
296
  }
297
297
  function Se() {
298
298
  U.value.showTable = !U.value.showTable;
@@ -302,11 +302,18 @@ const Tt = ["id"], zt = {
302
302
  Z.value = !Z.value;
303
303
  }
304
304
  async function at({ scale: l = 2 } = {}) {
305
- if (!Q.value) return;
306
- const { imageUri: i, base64: t } = await $t({ domElement: Q.value, base64: !0, img: !0, scale: l });
307
- return { imageUri: i, base64: t };
305
+ if (!K.value) return;
306
+ const { width: i, height: t } = K.value.getBoundingClientRect(), s = i / t, { imageUri: b, base64: _ } = await $t({ domElement: K.value, base64: !0, img: !0, scale: l });
307
+ return {
308
+ imageUri: b,
309
+ base64: _,
310
+ title: e.value.style.chart.layout.title.text,
311
+ width: i,
312
+ height: t,
313
+ aspectRatio: s
314
+ };
308
315
  }
309
- return Re({
316
+ return Ve({
310
317
  getData: He,
311
318
  getImage: at,
312
319
  generatePdf: xe,
@@ -316,59 +323,59 @@ const Tt = ["id"], zt = {
316
323
  toggleAnnotator: ce,
317
324
  toggleFullscreen: ze
318
325
  }), (l, i) => (a(), o("div", {
319
- class: k(`vue-ui-chestnut ${K.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
326
+ class: k(`vue-ui-chestnut ${J.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
320
327
  ref_key: "chestnutChart",
321
- ref: Q,
328
+ ref: K,
322
329
  id: `vue-ui-chestnut_${w.value}`,
323
330
  style: y(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
324
- onMouseenter: i[2] || (i[2] = () => s(he)(!0)),
325
- onMouseleave: i[3] || (i[3] = () => s(he)(!1))
331
+ onMouseenter: i[2] || (i[2] = () => u(he)(!0)),
332
+ onMouseleave: i[3] || (i[3] = () => u(he)(!1))
326
333
  }, [
327
- e.value.userOptions.buttons.annotator ? (a(), ee(s(Be), {
334
+ e.value.userOptions.buttons.annotator ? (a(), ee(u(Me), {
328
335
  key: 0,
329
- svgRef: s(be),
336
+ svgRef: u(be),
330
337
  backgroundColor: e.value.style.chart.backgroundColor,
331
338
  color: e.value.style.chart.color,
332
339
  active: Z.value,
333
340
  onClose: ce
334
341
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
335
342
  Ye.value ? (a(), o("div", zt, null, 512)) : h("", !0),
336
- e.value.userOptions.show && W.value && (s(fe) || s(se)) ? (a(), ee(s(Xe), {
343
+ e.value.userOptions.show && W.value && (u(fe) || u(se)) ? (a(), ee(u(Xe), {
337
344
  ref_key: "details",
338
345
  ref: De,
339
346
  key: `user_options_${ye.value}`,
340
347
  backgroundColor: e.value.style.chart.backgroundColor,
341
348
  color: e.value.style.chart.color,
342
- isImaging: s(_e),
343
- isPrinting: s(ge),
349
+ isImaging: u(_e),
350
+ isPrinting: u(ge),
344
351
  uid: w.value,
345
352
  hasPdf: e.value.userOptions.buttons.pdf,
346
353
  hasImg: e.value.userOptions.buttons.img,
347
354
  hasXls: e.value.userOptions.buttons.csv,
348
355
  hasTable: e.value.userOptions.buttons.table,
349
356
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
350
- isFullscreen: K.value,
357
+ isFullscreen: J.value,
351
358
  titles: { ...e.value.userOptions.buttonTitles },
352
- chartElement: Q.value,
359
+ chartElement: K.value,
353
360
  position: e.value.userOptions.position,
354
361
  hasAnnotator: e.value.userOptions.buttons.annotator,
355
362
  isAnnotation: Z.value,
356
363
  callbacks: e.value.userOptions.callbacks,
357
364
  printScale: e.value.userOptions.print.scale,
358
365
  onToggleFullscreen: ze,
359
- onGeneratePdf: s(xe),
366
+ onGeneratePdf: u(xe),
360
367
  onGenerateCsv: Te,
361
- onGenerateImage: s(me),
368
+ onGenerateImage: u(me),
362
369
  onToggleTable: Se,
363
370
  onToggleAnnotator: ce,
364
371
  style: y({
365
- visibility: s(fe) ? s(se) ? "visible" : "hidden" : "visible"
372
+ visibility: u(fe) ? u(se) ? "visible" : "hidden" : "visible"
366
373
  })
367
374
  }, it({ _: 2 }, [
368
375
  l.$slots.menuIcon ? {
369
376
  name: "menuIcon",
370
- fn: A(({ isOpen: t, color: n }) => [
371
- F(l.$slots, "menuIcon", te(le({ isOpen: t, color: n })), void 0, !0)
377
+ fn: A(({ isOpen: t, color: s }) => [
378
+ F(l.$slots, "menuIcon", te(le({ isOpen: t, color: s })), void 0, !0)
372
379
  ]),
373
380
  key: "0"
374
381
  } : void 0,
@@ -402,15 +409,15 @@ const Tt = ["id"], zt = {
402
409
  } : void 0,
403
410
  l.$slots.optionFullscreen ? {
404
411
  name: "optionFullscreen",
405
- fn: A(({ toggleFullscreen: t, isFullscreen: n }) => [
406
- F(l.$slots, "optionFullscreen", te(le({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
412
+ fn: A(({ toggleFullscreen: t, isFullscreen: s }) => [
413
+ F(l.$slots, "optionFullscreen", te(le({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
407
414
  ]),
408
415
  key: "5"
409
416
  } : void 0,
410
417
  l.$slots.optionAnnotator ? {
411
418
  name: "optionAnnotator",
412
- fn: A(({ toggleAnnotator: t, isAnnotator: n }) => [
413
- F(l.$slots, "optionAnnotator", te(le({ toggleAnnotator: t, isAnnotator: n })), void 0, !0)
419
+ fn: A(({ toggleAnnotator: t, isAnnotator: s }) => [
420
+ F(l.$slots, "optionAnnotator", te(le({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
414
421
  ]),
415
422
  key: "6"
416
423
  } : void 0
@@ -419,12 +426,12 @@ const Tt = ["id"], zt = {
419
426
  key: 3,
420
427
  ref_key: "svgRef",
421
428
  ref: be,
422
- xmlns: s(pt),
423
- class: k({ "vue-data-ui-fullscreen--on": K.value, "vue-data-ui-fulscreen--off": !K.value }),
429
+ xmlns: u(pt),
430
+ class: k({ "vue-data-ui-fullscreen--on": J.value, "vue-data-ui-fulscreen--off": !J.value }),
424
431
  viewBox: `0 0 ${r.value.width <= 0 ? 10 : r.value.width} ${r.value.height <= 0 ? 10 : r.value.height}`,
425
432
  style: y(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
426
433
  }, [
427
- Ne(s(Ee)),
434
+ Ne(u(Ee)),
428
435
  l.$slots["chart-background"] ? (a(), o("foreignObject", {
429
436
  key: 0,
430
437
  x: 0,
@@ -459,8 +466,8 @@ const Tt = ["id"], zt = {
459
466
  onClick: $
460
467
  }, c(e.value.style.chart.layout.title.subtitle.text), 9, Lt)) : h("", !0)
461
468
  ])),
462
- u("defs", null, [
463
- (a(!0), o(p, null, g(N.value, (t, n) => (a(), o("radialGradient", {
469
+ n("defs", null, [
470
+ (a(!0), o(p, null, g(N.value, (t, s) => (a(), o("radialGradient", {
464
471
  cx: "50%",
465
472
  cy: "50%",
466
473
  r: "50%",
@@ -468,14 +475,14 @@ const Tt = ["id"], zt = {
468
475
  fy: "50%",
469
476
  id: `root_gradient_${w.value}_${t.rootIndex}`
470
477
  }, [
471
- u("stop", {
478
+ n("stop", {
472
479
  offset: "0%",
473
- "stop-color": s(I)(s(Ie)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
480
+ "stop-color": u(I)(u(Ie)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
474
481
  }, null, 8, Ot),
475
- u("stop", {
482
+ n("stop", {
476
483
  offset: "100%",
477
484
  "stop-color": t.color
478
- }, null, 8, Vt)
485
+ }, null, 8, Rt)
479
486
  ], 8, Pt))), 256)),
480
487
  (a(!0), o(p, null, g(N.value, (t) => (a(), o("linearGradient", {
481
488
  x1: "0%",
@@ -484,16 +491,16 @@ const Tt = ["id"], zt = {
484
491
  y2: "0%",
485
492
  id: `branch_gradient_${w.value}_${t.rootIndex}`
486
493
  }, [
487
- u("stop", {
494
+ n("stop", {
488
495
  offset: "0%",
489
496
  "stop-color": t.color
490
- }, null, 8, Mt),
491
- u("stop", {
497
+ }, null, 8, Bt),
498
+ n("stop", {
492
499
  offset: "100%",
493
- "stop-color": s(I)(s(Ie)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
494
- }, null, 8, Bt)
495
- ], 8, Rt))), 256)),
496
- u("radialGradient", {
500
+ "stop-color": u(I)(u(Ie)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
501
+ }, null, 8, Mt)
502
+ ], 8, Vt))), 256)),
503
+ n("radialGradient", {
497
504
  cx: "50%",
498
505
  cy: "50%",
499
506
  r: "50%",
@@ -501,20 +508,20 @@ const Tt = ["id"], zt = {
501
508
  fy: "50%",
502
509
  id: `nutpick_${w.value}`
503
510
  }, [
504
- u("stop", {
511
+ n("stop", {
505
512
  offset: "0%",
506
- "stop-color": s(I)("#FFFFFF", 0)
513
+ "stop-color": u(I)("#FFFFFF", 0)
507
514
  }, null, 8, jt),
508
- u("stop", {
515
+ n("stop", {
509
516
  offset: "80%",
510
- "stop-color": s(I)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
517
+ "stop-color": u(I)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
511
518
  }, null, 8, Xt),
512
- u("stop", {
519
+ n("stop", {
513
520
  offset: "100%",
514
- "stop-color": s(I)("#FFFFFF", 0)
521
+ "stop-color": u(I)("#FFFFFF", 0)
515
522
  }, null, 8, Et)
516
523
  ], 8, At),
517
- u("radialGradient", {
524
+ n("radialGradient", {
518
525
  cx: "50%",
519
526
  cy: "50%",
520
527
  r: "50%",
@@ -522,20 +529,20 @@ const Tt = ["id"], zt = {
522
529
  fy: "50%",
523
530
  id: `nut_${w.value}`
524
531
  }, [
525
- u("stop", {
532
+ n("stop", {
526
533
  offset: "0%",
527
- "stop-color": s(I)("#FFFFFF", 0)
534
+ "stop-color": u(I)("#FFFFFF", 0)
528
535
  }, null, 8, Ut),
529
- u("stop", {
536
+ n("stop", {
530
537
  offset: "80%",
531
- "stop-color": s(I)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
538
+ "stop-color": u(I)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
532
539
  }, null, 8, Dt),
533
- u("stop", {
540
+ n("stop", {
534
541
  offset: "100%",
535
- "stop-color": s(I)("#FFFFFF", 0)
542
+ "stop-color": u(I)("#FFFFFF", 0)
536
543
  }, null, 8, Yt)
537
544
  ], 8, Gt),
538
- u("radialGradient", {
545
+ n("radialGradient", {
539
546
  cx: "50%",
540
547
  cy: "50%",
541
548
  r: "50%",
@@ -543,22 +550,22 @@ const Tt = ["id"], zt = {
543
550
  fy: "50%",
544
551
  id: `nut_underlayer_${w.value}`
545
552
  }, [
546
- u("stop", {
553
+ n("stop", {
547
554
  offset: "0%",
548
- "stop-color": s(I)(e.value.style.chart.backgroundColor, 100)
555
+ "stop-color": u(I)(e.value.style.chart.backgroundColor, 100)
549
556
  }, null, 8, Ht),
550
- u("stop", {
557
+ n("stop", {
551
558
  offset: "80%",
552
- "stop-color": s(I)(e.value.style.chart.backgroundColor, 60)
559
+ "stop-color": u(I)(e.value.style.chart.backgroundColor, 60)
553
560
  }, null, 8, Wt),
554
- u("stop", {
561
+ n("stop", {
555
562
  offset: "100%",
556
- "stop-color": s(I)(e.value.style.chart.backgroundColor, 0)
563
+ "stop-color": u(I)(e.value.style.chart.backgroundColor, 0)
557
564
  }, null, 8, Kt)
558
565
  ], 8, qt)
559
566
  ]),
560
567
  e.value.style.chart.layout.grandTotal.show ? (a(), o("g", Jt, [
561
- u("text", {
568
+ n("text", {
562
569
  x: C.value.seedX,
563
570
  y: 32 + e.value.style.chart.layout.grandTotal.offsetY,
564
571
  "font-size": e.value.style.chart.layout.grandTotal.fontSize,
@@ -567,7 +574,7 @@ const Tt = ["id"], zt = {
567
574
  "text-anchor": "middle",
568
575
  onClick: $
569
576
  }, c(e.value.style.chart.layout.grandTotal.text), 9, Qt),
570
- u("text", {
577
+ n("text", {
571
578
  x: C.value.seedX,
572
579
  y: 38 + e.value.style.chart.layout.grandTotal.fontSize + e.value.style.chart.layout.grandTotal.offsetY,
573
580
  "font-size": e.value.style.chart.layout.grandTotal.fontSize,
@@ -575,26 +582,26 @@ const Tt = ["id"], zt = {
575
582
  fill: e.value.style.chart.layout.grandTotal.color,
576
583
  "text-anchor": "middle",
577
584
  onClick: $
578
- }, c(s(G)(
585
+ }, c(u(G)(
579
586
  e.value.style.chart.layout.grandTotal.formatter,
580
- M.value,
581
- s(S)({
587
+ B.value,
588
+ u(S)({
582
589
  p: e.value.style.chart.layout.grandTotal.prefix,
583
- v: M.value,
590
+ v: B.value,
584
591
  s: e.value.style.chart.layout.grandTotal.suffix,
585
592
  r: e.value.style.chart.layout.grandTotal.roundingValue
586
593
  })
587
594
  )), 9, Zt)
588
595
  ])) : h("", !0),
589
596
  (a(!0), o(p, null, g(X.value, (t) => (a(), o("g", null, [
590
- (a(!0), o(p, null, g(r.value.branchSize, (n, b) => (a(), o("path", {
597
+ (a(!0), o(p, null, g(r.value.branchSize, (s, b) => (a(), o("path", {
591
598
  d: `M
592
599
  ${t.x1},${t.y1 + b}
593
600
  C${t.x1 - 20},${t.y1 + b}
594
601
  ${t.x1 - 80},${t.y1 + b}
595
602
  ${re(t).x + re(t).r / 2}, ${re(t).y}
596
603
  `,
597
- stroke: s(I)(t.color, e.value.style.chart.layout.links.opacity),
604
+ stroke: u(I)(t.color, e.value.style.chart.layout.links.opacity),
598
605
  fill: "none",
599
606
  "stroke-width": "2",
600
607
  "shape-rendering": "cirspEdges",
@@ -610,7 +617,7 @@ const Tt = ["id"], zt = {
610
617
  stroke: "none",
611
618
  style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`)
612
619
  }, null, 12, tl))), 256)),
613
- (a(!0), o(p, null, g(j.value, (t, n) => (a(), o("circle", {
620
+ (a(!0), o(p, null, g(j.value, (t, s) => (a(), o("circle", {
614
621
  cx: t.x,
615
622
  cy: t.y,
616
623
  r: t.r,
@@ -621,19 +628,19 @@ const Tt = ["id"], zt = {
621
628
  onClick: (b) => $e(t)
622
629
  }, null, 12, ll))), 256)),
623
630
  e.value.style.chart.layout.roots.labels.show ? (a(), o("g", al, [
624
- (a(!0), o(p, null, g(j.value, (t, n) => (a(), o("text", {
631
+ (a(!0), o(p, null, g(j.value, (t, s) => (a(), o("text", {
625
632
  x: t.x,
626
633
  y: t.y + e.value.style.chart.layout.roots.labels.fontSize / 2.6,
627
634
  "text-anchor": "middle",
628
635
  "font-size": e.value.style.chart.layout.roots.labels.fontSize,
629
- fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? s(Le)(t.color) : e.value.style.chart.layout.roots.labels.color,
636
+ fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? u(Le)(t.color) : e.value.style.chart.layout.roots.labels.color,
630
637
  "font-weight": "bold",
631
638
  style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`),
632
639
  onClick: (b) => $e(t)
633
- }, c(s(G)(
640
+ }, c(u(G)(
634
641
  e.value.style.chart.layout.roots.labels.formatter,
635
642
  t.total,
636
- s(S)({
643
+ u(S)({
637
644
  p: e.value.style.chart.layout.roots.labels.prefix,
638
645
  v: t.total,
639
646
  s: e.value.style.chart.layout.roots.labels.suffix,
@@ -642,8 +649,8 @@ const Tt = ["id"], zt = {
642
649
  { datapoint: t }
643
650
  )), 13, ol))), 256)),
644
651
  (a(!0), o(p, null, g(j.value, (t) => (a(), o("g", null, [
645
- d.value && t.rootIndex === d.value.rootIndex || _.value && t.rootIndex === _.value.rootIndex || L.value && t.rootIndex === L.value.rootIndex ? (a(), o("g", sl, [
646
- u("text", {
652
+ d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || L.value && t.rootIndex === L.value.rootIndex ? (a(), o("g", sl, [
653
+ n("text", {
647
654
  x: t.x,
648
655
  y: t.y + t.r + 24,
649
656
  "text-anchor": "middle",
@@ -664,9 +671,9 @@ const Tt = ["id"], zt = {
664
671
  rx: e.value.style.chart.layout.branches.borderRadius,
665
672
  stroke: "none",
666
673
  style: y(`opacity:${P(t) ? 1 : 0.05}`),
667
- onClick: (n) => ie(t)
674
+ onClick: (s) => ie(t)
668
675
  }, null, 12, nl))), 256)),
669
- (a(!0), o(p, null, g(X.value, (t, n) => (a(), o("rect", {
676
+ (a(!0), o(p, null, g(X.value, (t, s) => (a(), o("rect", {
670
677
  x: t.x1,
671
678
  y: t.y1,
672
679
  height: r.value.branchSize,
@@ -685,15 +692,15 @@ const Tt = ["id"], zt = {
685
692
  x: t.x1 + 6,
686
693
  y: t.y1 + r.value.branchSize / 1.5,
687
694
  "text-anchor": "start",
688
- fill: s(Le)(t.color),
695
+ fill: u(Le)(t.color),
689
696
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
690
697
  "font-weight": "bold",
691
698
  style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`),
692
- onClick: (n) => ie(t)
693
- }, c(s(G)(
699
+ onClick: (s) => ie(t)
700
+ }, c(u(G)(
694
701
  e.value.style.chart.layout.branches.labels.dataLabels.formatter,
695
702
  t.value,
696
- s(S)({
703
+ u(S)({
697
704
  p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
698
705
  v: t.value,
699
706
  s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
@@ -703,21 +710,21 @@ const Tt = ["id"], zt = {
703
710
  )), 13, cl)) : h("", !0)
704
711
  ]))), 256))
705
712
  ])) : h("", !0),
706
- (a(!0), o(p, null, g(X.value, (t, n) => (a(), o("g", null, [
707
- (a(!0), o(p, null, g(s(Pe)(
713
+ (a(!0), o(p, null, g(X.value, (t, s) => (a(), o("g", null, [
714
+ (a(!0), o(p, null, g(u(Pe)(
708
715
  { series: t.breakdown, base: 1 },
709
716
  t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
710
717
  t.y1 + r.value.branchSize / 2,
711
718
  r.value.branchSize / 3,
712
719
  r.value.branchSize / 3
713
- ), (b, x) => (a(), o("path", {
720
+ ), (b, _) => (a(), o("path", {
714
721
  d: b.path,
715
722
  stroke: b.color,
716
723
  "stroke-width": 10,
717
724
  fill: "none",
718
725
  style: y(`opacity:${P(t) ? 1 : 0.1}`)
719
726
  }, null, 12, dl))), 256)),
720
- u("circle", {
727
+ n("circle", {
721
728
  fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${w.value})` : "transparent",
722
729
  cx: t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
723
730
  cy: t.y1 + r.value.branchSize / 2,
@@ -726,7 +733,7 @@ const Tt = ["id"], zt = {
726
733
  style: y(`cursor:pointer;opacity:${P(t) ? 1 : 0.1}`)
727
734
  }, null, 12, vl)
728
735
  ]))), 256)),
729
- e.value.style.chart.layout.branches.labels.show && !_.value ? (a(), o("g", yl, [
736
+ e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", yl, [
730
737
  (a(!0), o(p, null, g(X.value, (t) => (a(), o("text", {
731
738
  x: t.x2 + r.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
732
739
  y: t.y1 + r.value.branchSize / 2 + 5,
@@ -737,7 +744,7 @@ const Tt = ["id"], zt = {
737
744
  style: y(`opacity:${P(t) ? 1 : 0.1}`)
738
745
  }, c(t.name), 13, hl))), 256))
739
746
  ])) : h("", !0),
740
- u("line", {
747
+ n("line", {
741
748
  x1: 256 + r.value.padding.left,
742
749
  x2: 256 + r.value.padding.left,
743
750
  y1: C.value.top,
@@ -745,7 +752,7 @@ const Tt = ["id"], zt = {
745
752
  stroke: e.value.style.chart.layout.verticalSeparator.stroke,
746
753
  "stroke-width": e.value.style.chart.layout.verticalSeparator.strokeWidth
747
754
  }, null, 8, fl),
748
- !d.value && !_.value ? (a(), o("foreignObject", {
755
+ !d.value && !x.value ? (a(), o("foreignObject", {
749
756
  key: 6,
750
757
  x: 0,
751
758
  y: C.value.bottom,
@@ -754,13 +761,13 @@ const Tt = ["id"], zt = {
754
761
  style: { overflow: "visible" },
755
762
  onClick: $
756
763
  }, [
757
- u("div", pl, [
758
- u("div", gl, [
764
+ n("div", pl, [
765
+ n("div", gl, [
759
766
  (a(!0), o(p, null, g(j.value, (t) => (a(), o("div", {
760
767
  style: y(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
761
768
  }, [
762
769
  (a(), o("svg", _l, [
763
- u("circle", {
770
+ n("circle", {
764
771
  cx: "10",
765
772
  cy: "10",
766
773
  r: "10",
@@ -768,11 +775,11 @@ const Tt = ["id"], zt = {
768
775
  stroke: "none"
769
776
  }, null, 8, xl)
770
777
  ])),
771
- u("span", null, c(t.name) + ":", 1),
772
- u("b", null, c(s(G)(
778
+ n("span", null, c(t.name) + ":", 1),
779
+ n("b", null, c(u(G)(
773
780
  e.value.style.chart.layout.roots.labels.formatter,
774
781
  t.total,
775
- s(S)({
782
+ u(S)({
776
783
  p: e.value.style.chart.layout.legend.prefix,
777
784
  v: t.total,
778
785
  s: e.value.style.chart.layout.legend.suffix,
@@ -780,8 +787,8 @@ const Tt = ["id"], zt = {
780
787
  }),
781
788
  { datapoint: t }
782
789
  )), 1),
783
- ae(" (" + c(s(S)({
784
- v: t.total / M.value * 100,
790
+ ae(" (" + c(u(S)({
791
+ v: t.total / B.value * 100,
785
792
  s: "%",
786
793
  r: e.value.style.chart.layout.legend.roundingPercentage
787
794
  })) + ") ", 1)
@@ -789,7 +796,7 @@ const Tt = ["id"], zt = {
789
796
  ])
790
797
  ])
791
798
  ], 8, bl)) : h("", !0),
792
- d.value && B.value ? (a(), o("g", ml, [
799
+ d.value && M.value ? (a(), o("g", ml, [
793
800
  (a(), o("foreignObject", {
794
801
  x: 0,
795
802
  y: tt(),
@@ -798,14 +805,14 @@ const Tt = ["id"], zt = {
798
805
  style: { overflow: "visible" },
799
806
  onClick: $
800
807
  }, [
801
- u("div", wl, [
802
- u("b", null, c(d.value.name), 1),
803
- u("div", $l, [
804
- (a(!0), o(p, null, g(d.value.breakdown, (t, n) => (a(), o("div", {
808
+ n("div", wl, [
809
+ n("b", null, c(d.value.name), 1),
810
+ n("div", $l, [
811
+ (a(!0), o(p, null, g(d.value.breakdown, (t, s) => (a(), o("div", {
805
812
  style: y(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
806
813
  }, [
807
814
  (a(), o("svg", Cl, [
808
- u("circle", {
815
+ n("circle", {
809
816
  cx: "10",
810
817
  cy: "10",
811
818
  r: "10",
@@ -813,16 +820,16 @@ const Tt = ["id"], zt = {
813
820
  stroke: "none"
814
821
  }, null, 8, Tl)
815
822
  ])),
816
- u("span", null, [
823
+ n("span", null, [
817
824
  ae(c(t.name) + ": ", 1),
818
- u("b", null, c(e.value.style.chart.layout.legend.prefix) + " " + c(t.value.toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingValue)) + " " + c(e.value.style.chart.layout.legend.suffix), 1),
825
+ n("b", null, c(e.value.style.chart.layout.legend.prefix) + " " + c(t.value.toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingValue)) + " " + c(e.value.style.chart.layout.legend.suffix), 1),
819
826
  ae(" (" + c((t.proportionToBranch * 100).toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "%)", 1)
820
827
  ])
821
828
  ], 4))), 256))
822
829
  ])
823
830
  ])
824
831
  ], 8, kl)),
825
- u("circle", {
832
+ n("circle", {
826
833
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
827
834
  cy: d.value.y1 + r.value.branchSize / 2,
828
835
  r: 256,
@@ -830,10 +837,10 @@ const Tt = ["id"], zt = {
830
837
  onClick: E,
831
838
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
832
839
  }, null, 10, zl),
833
- (a(!0), o(p, null, g(B.value, (t) => (a(), o("g", null, [
840
+ (a(!0), o(p, null, g(M.value, (t) => (a(), o("g", null, [
834
841
  Y(t) ? (a(), o("path", {
835
842
  key: 0,
836
- d: s(gt)(
843
+ d: u(gt)(
837
844
  t,
838
845
  {
839
846
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
@@ -853,7 +860,7 @@ const Tt = ["id"], zt = {
853
860
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
854
861
  }, null, 10, Sl)) : h("", !0)
855
862
  ]))), 256)),
856
- u("circle", {
863
+ n("circle", {
857
864
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
858
865
  cy: d.value.y1 + r.value.branchSize / 2,
859
866
  r: 118,
@@ -861,7 +868,7 @@ const Tt = ["id"], zt = {
861
868
  onClick: E,
862
869
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
863
870
  }, null, 10, Nl),
864
- (a(!0), o(p, null, g(B.value, (t) => (a(), o("path", {
871
+ (a(!0), o(p, null, g(M.value, (t) => (a(), o("path", {
865
872
  d: t.path,
866
873
  stroke: t.color,
867
874
  "stroke-width": 64,
@@ -869,7 +876,7 @@ const Tt = ["id"], zt = {
869
876
  onClick: E,
870
877
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
871
878
  }, null, 10, Fl))), 256)),
872
- u("circle", {
879
+ n("circle", {
873
880
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
874
881
  cy: d.value.y1 + r.value.branchSize / 2,
875
882
  r: 110,
@@ -877,7 +884,7 @@ const Tt = ["id"], zt = {
877
884
  onClick: E,
878
885
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
879
886
  }, null, 10, Il),
880
- u("circle", {
887
+ n("circle", {
881
888
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
882
889
  cy: d.value.y1 + r.value.branchSize / 2,
883
890
  r: 64,
@@ -885,7 +892,7 @@ const Tt = ["id"], zt = {
885
892
  onClick: E,
886
893
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
887
894
  }, null, 10, Ll),
888
- u("text", {
895
+ n("text", {
889
896
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
890
897
  y: d.value.y1 + 8,
891
898
  fill: e.value.style.chart.layout.nuts.selected.labels.core.total.color,
@@ -895,7 +902,7 @@ const Tt = ["id"], zt = {
895
902
  onClick: E,
896
903
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
897
904
  }, c(e.value.translations.total), 11, Pl),
898
- u("text", {
905
+ n("text", {
899
906
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
900
907
  y: d.value.y1 + 36,
901
908
  fill: e.value.style.chart.layout.nuts.selected.labels.core.value.color,
@@ -904,10 +911,10 @@ const Tt = ["id"], zt = {
904
911
  "text-anchor": "middle",
905
912
  onClick: E,
906
913
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
907
- }, c(s(G)(
914
+ }, c(u(G)(
908
915
  e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
909
916
  d.value.value,
910
- s(S)({
917
+ u(S)({
911
918
  p: e.value.style.chart.layout.nuts.selected.labels.core.value.prefix,
912
919
  v: d.value.value,
913
920
  s: e.value.style.chart.layout.nuts.selected.labels.core.value.suffix,
@@ -915,85 +922,85 @@ const Tt = ["id"], zt = {
915
922
  }),
916
923
  { datapoint: d.value }
917
924
  )), 11, Ol),
918
- (a(!0), o(p, null, g(B.value, (t, n) => (a(), o("g", null, [
925
+ (a(!0), o(p, null, g(M.value, (t, s) => (a(), o("g", null, [
919
926
  Y(t) ? (a(), o("text", {
920
927
  key: 0,
921
- x: s(V)(t).x,
922
- "text-anchor": s(V)(t).anchor,
923
- y: s(J)(t) - e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 6,
928
+ x: u(R)(t).x,
929
+ "text-anchor": u(R)(t).anchor,
930
+ y: u(Q)(t) - e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 6,
924
931
  fill: t.color,
925
932
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 2,
926
933
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
927
934
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
928
- }, " ⬤ ", 14, Vl)) : h("", !0),
935
+ }, " ⬤ ", 14, Rl)) : h("", !0),
929
936
  Y(t) ? (a(), o("text", {
930
937
  key: 1,
931
- x: s(V)(t, !0).x,
932
- "text-anchor": s(V)(t, !0).anchor,
933
- y: s(J)(t),
938
+ x: u(R)(t, !0).x,
939
+ "text-anchor": u(R)(t, !0).anchor,
940
+ y: u(Q)(t),
934
941
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
935
942
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
936
943
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
937
944
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
938
- }, c(d.value.breakdown[n].name), 15, Rl)) : h("", !0)
945
+ }, c(d.value.breakdown[s].name), 15, Vl)) : h("", !0)
939
946
  ]))), 256)),
940
- (a(!0), o(p, null, g(B.value, (t, n) => (a(), o("g", null, [
947
+ (a(!0), o(p, null, g(M.value, (t, s) => (a(), o("g", null, [
941
948
  Y(t) ? (a(), o("text", {
942
949
  key: 0,
943
- x: s(V)(t, !0).x,
944
- "text-anchor": s(V)(t).anchor,
945
- y: s(J)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
950
+ x: u(R)(t, !0).x,
951
+ "text-anchor": u(R)(t).anchor,
952
+ y: u(Q)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
946
953
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
947
954
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
948
955
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
949
956
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
950
- }, c(s(S)({
951
- v: d.value.breakdown[n].value / d.value.value * 100,
957
+ }, c(u(S)({
958
+ v: d.value.breakdown[s].value / d.value.value * 100,
952
959
  s: "%",
953
960
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
954
- })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[n].branchName) + " " + c(s(G)(
961
+ })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].branchName) + " " + c(u(G)(
955
962
  e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
956
- d.value.breakdown[n].value,
957
- s(S)({
963
+ d.value.breakdown[s].value,
964
+ u(S)({
958
965
  p: e.value.style.chart.layout.nuts.selected.labels.dataLabels.prefix,
959
- v: d.value.breakdown[n].value,
966
+ v: d.value.breakdown[s].value,
960
967
  s: e.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
961
968
  r: e.value.style.chart.layout.nuts.selected.roundingValue
962
969
  }),
963
- { datapoint: B.value, seriesIndex: n }
964
- )), 15, Ml)) : h("", !0),
970
+ { datapoint: M.value, seriesIndex: s }
971
+ )), 15, Bl)) : h("", !0),
965
972
  Y(t) ? (a(), o("text", {
966
973
  key: 1,
967
- x: s(V)(t, !0).x,
968
- "text-anchor": s(V)(t).anchor,
969
- y: s(J)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 2,
974
+ x: u(R)(t, !0).x,
975
+ "text-anchor": u(R)(t).anchor,
976
+ y: u(Q)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 2,
970
977
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
971
978
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
972
979
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
973
980
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
974
- }, c(s(S)({
975
- v: d.value.breakdown[n].proportionToRoot * 100,
981
+ }, c(u(S)({
982
+ v: d.value.breakdown[s].proportionToRoot * 100,
976
983
  s: "%",
977
984
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
978
- })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[n].rootName), 15, Bl)) : h("", !0),
985
+ })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].rootName), 15, Ml)) : h("", !0),
979
986
  Y(t) ? (a(), o("text", {
980
987
  key: 2,
981
- x: s(V)(t, !0).x,
982
- "text-anchor": s(V)(t).anchor,
983
- y: s(J)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 3,
988
+ x: u(R)(t, !0).x,
989
+ "text-anchor": u(R)(t).anchor,
990
+ y: u(Q)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 3,
984
991
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
985
992
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
986
993
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
987
994
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
988
- }, c(s(S)({
989
- v: d.value.breakdown[n].proportionToTree * 100,
995
+ }, c(u(S)({
996
+ v: d.value.breakdown[s].proportionToTree * 100,
990
997
  s: "%",
991
998
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
992
999
  })) + " " + c(e.value.translations.proportionToTree), 15, Al)) : h("", !0)
993
1000
  ]))), 256))
994
1001
  ])) : h("", !0),
995
1002
  (a(!0), o(p, null, g(X.value, (t) => (a(), o("g", null, [
996
- _.value && _.value.id === t.id && !d.value ? (a(), o("text", {
1003
+ x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
997
1004
  key: 0,
998
1005
  x: t.x1 + 6,
999
1006
  y: t.y1 + r.value.branchSize + 24,
@@ -1002,10 +1009,10 @@ const Tt = ["id"], zt = {
1002
1009
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1003
1010
  fill: e.value.style.chart.layout.branches.labels.color,
1004
1011
  onClick: $
1005
- }, c(t.name) + ": " + c(s(G)(
1012
+ }, c(t.name) + ": " + c(u(G)(
1006
1013
  e.value.style.chart.layout.branches.labels.dataLabels.formatter,
1007
1014
  t.value,
1008
- s(S)({
1015
+ u(S)({
1009
1016
  p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
1010
1017
  v: t.value,
1011
1018
  s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
@@ -1013,7 +1020,7 @@ const Tt = ["id"], zt = {
1013
1020
  }),
1014
1021
  { datapoint: t }
1015
1022
  )), 9, jl)) : h("", !0),
1016
- _.value && _.value.id === t.id && !d.value ? (a(), o("text", {
1023
+ x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
1017
1024
  key: 1,
1018
1025
  x: t.x1 + 6,
1019
1026
  y: t.y1 + r.value.branchSize + 48,
@@ -1021,12 +1028,12 @@ const Tt = ["id"], zt = {
1021
1028
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1022
1029
  fill: e.value.style.chart.layout.branches.labels.color,
1023
1030
  onClick: $
1024
- }, c(s(S)({
1031
+ }, c(u(S)({
1025
1032
  v: t.proportionToRoot * 100,
1026
1033
  s: "%",
1027
1034
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
1028
1035
  })) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, Xl)) : h("", !0),
1029
- _.value && _.value.id === t.id && !d.value ? (a(), o("text", {
1036
+ x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
1030
1037
  key: 2,
1031
1038
  x: t.x1 + 6,
1032
1039
  y: t.y1 + r.value.branchSize + 72,
@@ -1034,8 +1041,8 @@ const Tt = ["id"], zt = {
1034
1041
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1035
1042
  fill: e.value.style.chart.layout.branches.labels.color,
1036
1043
  onClick: $
1037
- }, c(s(S)({
1038
- v: t.value / M.value * 100,
1044
+ }, c(u(S)({
1045
+ v: t.value / B.value * 100,
1039
1046
  s: "%",
1040
1047
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
1041
1048
  })) + " " + c(e.value.translations.proportionToTree), 9, El)) : h("", !0)
@@ -1043,9 +1050,9 @@ const Tt = ["id"], zt = {
1043
1050
  F(l.$slots, "svg", { svg: r.value }, void 0, !0)
1044
1051
  ], 14, St)) : h("", !0),
1045
1052
  l.$slots.watermark ? (a(), o("div", Gl, [
1046
- F(l.$slots, "watermark", te(le({ isPrinting: s(ge) || s(_e) })), void 0, !0)
1053
+ F(l.$slots, "watermark", te(le({ isPrinting: u(ge) || u(_e) })), void 0, !0)
1047
1054
  ])) : h("", !0),
1048
- W.value ? h("", !0) : (a(), ee(s(je), {
1055
+ W.value ? h("", !0) : (a(), ee(u(je), {
1049
1056
  key: 5,
1050
1057
  config: {
1051
1058
  type: "chestnut",
@@ -1061,7 +1068,7 @@ const Tt = ["id"], zt = {
1061
1068
  l.$slots.source ? (a(), o("div", Ul, [
1062
1069
  F(l.$slots, "source", {}, void 0, !0)
1063
1070
  ], 512)) : h("", !0),
1064
- W.value ? (a(), ee(s(Ae), {
1071
+ W.value ? (a(), ee(u(Ae), {
1065
1072
  key: 7,
1066
1073
  hideDetails: "",
1067
1074
  config: {
@@ -1078,39 +1085,39 @@ const Tt = ["id"], zt = {
1078
1085
  }
1079
1086
  }, {
1080
1087
  content: A(() => [
1081
- u("div", {
1088
+ n("div", {
1082
1089
  ref_key: "tableContainer",
1083
1090
  ref: ne,
1084
1091
  class: "vue-ui-chestnut-table"
1085
1092
  }, [
1086
- u("div", Dl, [
1087
- u("div", {
1093
+ n("div", Dl, [
1094
+ n("div", {
1088
1095
  role: "button",
1089
1096
  tabindex: "0",
1090
1097
  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};`),
1091
1098
  onClick: i[0] || (i[0] = (t) => U.value.showTable = !1),
1092
1099
  onKeypress: i[1] || (i[1] = ct((t) => U.value.showTable = !1, ["enter"]))
1093
1100
  }, [
1094
- Ne(s(Ge), {
1101
+ Ne(u(Ge), {
1095
1102
  name: "close",
1096
1103
  stroke: e.value.table.th.color,
1097
1104
  "stroke-width": 2
1098
1105
  }, null, 8, ["stroke"])
1099
1106
  ], 36),
1100
- u("div", {
1107
+ n("div", {
1101
1108
  style: { width: "100%" },
1102
1109
  class: k({ "vue-ui-responsive": ke.value })
1103
1110
  }, [
1104
- u("table", Yl, [
1105
- u("caption", {
1111
+ n("table", Yl, [
1112
+ n("caption", {
1106
1113
  style: y({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
1107
1114
  class: "vue-ui-data-table__caption"
1108
1115
  }, [
1109
1116
  ae(c(e.value.style.chart.layout.title.text) + " ", 1),
1110
1117
  e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", ql, c(e.value.style.chart.layout.title.subtitle.text), 1)) : h("", !0)
1111
1118
  ], 4),
1112
- u("thead", null, [
1113
- u("tr", {
1119
+ n("thead", null, [
1120
+ n("tr", {
1114
1121
  role: "row",
1115
1122
  style: y(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1116
1123
  }, [
@@ -1119,108 +1126,108 @@ const Tt = ["id"], zt = {
1119
1126
  }, c(t), 5))), 256))
1120
1127
  ], 4)
1121
1128
  ]),
1122
- u("tbody", null, [
1123
- (a(!0), o(p, null, g(v.value.body, (t, n) => (a(), o("tr", {
1124
- class: k({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": n % 2 === 0, "vue-ui-data-table__tbody__row-odd": n % 2 !== 0 }),
1129
+ n("tbody", null, [
1130
+ (a(!0), o(p, null, g(v.value.body, (t, s) => (a(), o("tr", {
1131
+ class: k({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": s % 2 === 0, "vue-ui-data-table__tbody__row-odd": s % 2 !== 0 }),
1125
1132
  style: y(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1126
1133
  }, [
1127
- u("td", {
1134
+ n("td", {
1128
1135
  class: "vue-ui-data-table__tbody__td",
1129
1136
  style: y(`outline:${e.value.table.td.outline}`),
1130
1137
  "data-cell": v.value.head[0]
1131
1138
  }, [
1132
- u("div", Wl, [
1133
- v.value.body[n - 1] && v.value.body[n - 1].rootName === t.rootName ? (a(), o("span", Kl)) : (a(), o("span", Jl, c(t.rootName), 1))
1139
+ n("div", Wl, [
1140
+ v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", Kl)) : (a(), o("span", Jl, c(t.rootName), 1))
1134
1141
  ])
1135
1142
  ], 12, Hl),
1136
- u("td", {
1143
+ n("td", {
1137
1144
  class: "vue-ui-data-table__tbody__td",
1138
1145
  style: y(`outline:${e.value.table.td.outline}`),
1139
1146
  "data-cell": v.value.head[1]
1140
1147
  }, [
1141
- u("div", Zl, [
1142
- v.value.body[n - 1] && v.value.body[n - 1].rootName === t.rootName ? (a(), o("span", ea)) : (a(), o("span", ta, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
1148
+ n("div", Zl, [
1149
+ v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", ea)) : (a(), o("span", ta, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
1143
1150
  ])
1144
1151
  ], 12, Ql),
1145
- u("td", {
1152
+ n("td", {
1146
1153
  class: "vue-ui-data-table__tbody__td",
1147
1154
  style: y(`outline:${e.value.table.td.outline}`),
1148
1155
  "data-cell": v.value.head[2]
1149
1156
  }, [
1150
- u("div", aa, [
1151
- v.value.body[n - 1] && v.value.body[n - 1].rootName === t.rootName ? (a(), o("span", oa)) : (a(), o("span", sa, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1157
+ n("div", aa, [
1158
+ v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", oa)) : (a(), o("span", sa, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1152
1159
  ])
1153
1160
  ], 12, la),
1154
- u("td", {
1161
+ n("td", {
1155
1162
  class: "vue-ui-data-table__tbody__td",
1156
1163
  style: y(`outline:${e.value.table.td.outline}`),
1157
1164
  "data-cell": v.value.head[3]
1158
1165
  }, [
1159
- u("div", na, [
1160
- v.value.body[n - 1] && v.value.body[n - 1].branchName === t.branchName ? (a(), o("span", ra)) : (a(), o("span", ia, c(t.branchName), 1))
1166
+ n("div", na, [
1167
+ v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", ra)) : (a(), o("span", ia, c(t.branchName), 1))
1161
1168
  ])
1162
1169
  ], 12, ua),
1163
- u("td", {
1170
+ n("td", {
1164
1171
  class: "vue-ui-data-table__tbody__td",
1165
1172
  style: y(`outline:${e.value.table.td.outline}`),
1166
1173
  "data-cell": v.value.head[4]
1167
1174
  }, [
1168
- u("div", da, [
1169
- v.value.body[n - 1] && v.value.body[n - 1].branchName === t.branchName ? (a(), o("span", va)) : (a(), o("span", ya, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
1175
+ n("div", da, [
1176
+ v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", va)) : (a(), o("span", ya, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
1170
1177
  ])
1171
1178
  ], 12, ca),
1172
- u("td", {
1179
+ n("td", {
1173
1180
  class: "vue-ui-data-table__tbody__td",
1174
1181
  style: y(`outline:${e.value.table.td.outline}`),
1175
1182
  "data-cell": v.value.head[5]
1176
1183
  }, [
1177
- u("div", fa, [
1178
- v.value.body[n - 1] && v.value.body[n - 1].branchName === t.branchName ? (a(), o("span", ba)) : (a(), o("span", pa, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1184
+ n("div", fa, [
1185
+ v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", ba)) : (a(), o("span", pa, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1179
1186
  ])
1180
1187
  ], 12, ha),
1181
- u("td", {
1188
+ n("td", {
1182
1189
  class: "vue-ui-data-table__tbody__td",
1183
1190
  style: y(`outline:${e.value.table.td.outline}`),
1184
1191
  "data-cell": v.value.head[6]
1185
1192
  }, [
1186
- u("div", _a, [
1187
- v.value.body[n - 1] && v.value.body[n - 1].branchName === t.branchName ? (a(), o("span", xa)) : (a(), o("span", ma, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1193
+ n("div", _a, [
1194
+ v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", xa)) : (a(), o("span", ma, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1188
1195
  ])
1189
1196
  ], 12, ga),
1190
- u("td", {
1197
+ n("td", {
1191
1198
  class: "vue-ui-data-table__tbody__td",
1192
1199
  style: y(`outline:${e.value.table.td.outline}`),
1193
1200
  "data-cell": v.value.head[7]
1194
1201
  }, [
1195
- u("div", wa, c(t.nutName), 1)
1202
+ n("div", wa, c(t.nutName), 1)
1196
1203
  ], 12, ka),
1197
- u("td", {
1204
+ n("td", {
1198
1205
  class: "vue-ui-data-table__tbody__td",
1199
1206
  style: y(`outline:${e.value.table.td.outline}`),
1200
1207
  "data-cell": v.value.head[8]
1201
1208
  }, [
1202
- u("div", Ca, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1209
+ n("div", Ca, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1203
1210
  ], 12, $a),
1204
- u("td", {
1211
+ n("td", {
1205
1212
  class: "vue-ui-data-table__tbody__td",
1206
1213
  style: y(`outline:${e.value.table.td.outline}`),
1207
1214
  "data-cell": v.value.head[9]
1208
1215
  }, [
1209
- u("div", za, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1216
+ n("div", za, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1210
1217
  ], 12, Ta),
1211
- u("td", {
1218
+ n("td", {
1212
1219
  class: "vue-ui-data-table__tbody__td",
1213
1220
  style: y(`outline:${e.value.table.td.outline}`),
1214
1221
  "data-cell": v.value.head[10]
1215
1222
  }, [
1216
- u("div", Na, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1223
+ n("div", Na, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1217
1224
  ], 12, Sa),
1218
- u("td", {
1225
+ n("td", {
1219
1226
  class: "vue-ui-data-table__tbody__td",
1220
1227
  style: y(`outline:${e.value.table.td.outline}`),
1221
1228
  "data-cell": v.value.head[11]
1222
1229
  }, [
1223
- u("div", Ia, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1230
+ n("div", Ia, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1224
1231
  ], 12, Fa)
1225
1232
  ], 6))), 256))
1226
1233
  ])
@@ -1233,7 +1240,7 @@ const Tt = ["id"], zt = {
1233
1240
  }, 8, ["config"])) : h("", !0)
1234
1241
  ], 46, Tt));
1235
1242
  }
1236
- }, Xa = /* @__PURE__ */ Ct(La, [["__scopeId", "data-v-8fcdeaf3"]]);
1243
+ }, Xa = /* @__PURE__ */ Ct(La, [["__scopeId", "data-v-fb2a0fa7"]]);
1237
1244
  export {
1238
1245
  Xa as default
1239
1246
  };