vue-data-ui 3.0.0-next.70 → 3.0.0-next.72

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/dist/{Arrow-fzydFjfE.js → Arrow-CMSMde41.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BwazM8ka.js → BaseDraggableDialog-BuO_En6p.js} +2 -2
  3. package/dist/{BaseIcon-BnbvQjs5.js → BaseIcon-C_HE-fPU.js} +1 -1
  4. package/dist/{ColorPicker-DR1Yr4kR.js → ColorPicker-Cn82Up5w.js} +2 -2
  5. package/dist/{DataTable-CKpA_OA_.js → DataTable-DMCB2CPj.js} +2 -2
  6. package/dist/{Legend-ChXhJNzd.js → Legend-C96fnhZD.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-CPOpM7Os.js → NonSvgPenAndPaper-BRi2CtMk.js} +3 -3
  8. package/dist/{PackageVersion-CBHvscRY.js → PackageVersion-B8cypgdJ.js} +1 -1
  9. package/dist/{PenAndPaper-BCcfYvgR.js → PenAndPaper-DjXtQYum.js} +3 -3
  10. package/dist/{Shape-C1rNfsMY.js → Shape-DZSz-yYr.js} +1 -1
  11. package/dist/{Slicer-D8a4Wv1q.js → Slicer-BOc4PzAR.js} +2 -2
  12. package/dist/{SparkTooltip-BUdf02cs.js → SparkTooltip-4K9Ezba0.js} +1 -1
  13. package/dist/{Title-feqCv0Si.js → Title-DnqOjg_N.js} +1 -1
  14. package/dist/{Tooltip-DQbksria.js → Tooltip-Cy2owh0T.js} +1 -1
  15. package/dist/{UserOptions-CGnAZpYs.js → UserOptions-Tx_9Xl_c.js} +2 -2
  16. package/dist/{dom-to-png-DTPmkDTK.js → dom-to-png-CDSxjzSn.js} +1 -1
  17. package/dist/{img-_RMhslMZ.js → img-D_LTOBii.js} +1 -1
  18. package/dist/{index-CnY41r21.js → index-Bzm4bjdY.js} +1380 -1337
  19. package/dist/{pdf-C02XBmhm.js → pdf-BZQLWJMc.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +12 -0
  22. package/dist/types/vue-data-ui.d.ts +12 -0
  23. package/dist/{useAutoSizeLabelsInsideViewbox-DVYZBwNc.js → useAutoSizeLabelsInsideViewbox-Rg0B250v.js} +1 -1
  24. package/dist/{useNestedProp-DtUATNAU.js → useNestedProp-FhaE2yv-.js} +1 -1
  25. package/dist/{usePrinter-CJ1uZx0D.js → usePrinter-DZsH7qQs.js} +2 -2
  26. package/dist/{vue-data-ui-DDBabVWX.js → vue-data-ui-0ns7pHNm.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-CtPXePUa.js → vue-ui-3d-bar-CY9hrF9C.js} +6 -6
  29. package/dist/{vue-ui-accordion-CnLY8CrQ.js → vue-ui-accordion-ywMTtl25.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-CvrNLE47.js → vue-ui-age-pyramid-Qd4BtrXy.js} +6 -6
  31. package/dist/{vue-ui-annotator-NuSwWka4.js → vue-ui-annotator-DmOJnYF9.js} +2 -2
  32. package/dist/{vue-ui-bullet-CpIVgkPB.js → vue-ui-bullet-B_xIDBAw.js} +7 -7
  33. package/dist/{vue-ui-candlestick-DGWKUeJp.js → vue-ui-candlestick-D3Vsh4Rw.js} +7 -7
  34. package/dist/{vue-ui-carousel-table-DWbQS8F3.js → vue-ui-carousel-table-D0UgiRmJ.js} +4 -4
  35. package/dist/{vue-ui-chestnut-K4-oOYff.js → vue-ui-chestnut-CbMOcXYQ.js} +664 -536
  36. package/dist/{vue-ui-chord-DqmP8yTR.js → vue-ui-chord-DDzp12Vp.js} +8 -8
  37. package/dist/{vue-ui-circle-pack-D_ufubH5.js → vue-ui-circle-pack-DOXx17NQ.js} +6 -6
  38. package/dist/{vue-ui-cursor-B0tP4woK.js → vue-ui-cursor-Bg-6DHbI.js} +2 -2
  39. package/dist/{vue-ui-dashboard-D_7qyx3P.js → vue-ui-dashboard-DY2lvJ7A.js} +62 -62
  40. package/dist/{vue-ui-digits-pUQErY07.js → vue-ui-digits-De2GmG2N.js} +2 -2
  41. package/dist/{vue-ui-donut-Dl__PVfq.js → vue-ui-donut-BWQ6g1O7.js} +8 -8
  42. package/dist/{vue-ui-donut-evolution-BCGGTZZI.js → vue-ui-donut-evolution-DAzSv9V-.js} +8 -8
  43. package/dist/{vue-ui-dumbbell-KzCa3k9g.js → vue-ui-dumbbell-B32YuCNM.js} +7 -7
  44. package/dist/{vue-ui-flow-B1AOqk14.js → vue-ui-flow-BZkt6OKd.js} +7 -7
  45. package/dist/{vue-ui-funnel-DCl9v71X.js → vue-ui-funnel-8WAXLQAo.js} +6 -6
  46. package/dist/vue-ui-galaxy-gfw2BThf.js +680 -0
  47. package/dist/{vue-ui-gauge-Cg4qAOEf.js → vue-ui-gauge-Ch5vl4T9.js} +7 -7
  48. package/dist/{vue-ui-gizmo-CQmMkODw.js → vue-ui-gizmo-CU8ddGLr.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CgkgUDI0.js → vue-ui-heatmap-YO1tESN5.js} +7 -7
  50. package/dist/{vue-ui-history-plot-CYvkTszV.js → vue-ui-history-plot-C41s9ybF.js} +7 -7
  51. package/dist/{vue-ui-kpi-BDuOZbc2.js → vue-ui-kpi-H6MYZwLY.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-BZaU_YD-.js → vue-ui-mini-loader-Bnjg3O7d.js} +2 -2
  53. package/dist/{vue-ui-molecule-HYjHgVuN.js → vue-ui-molecule-DF4leieh.js} +5 -5
  54. package/dist/{vue-ui-mood-radar-4pYtL93A.js → vue-ui-mood-radar-NrPILZdk.js} +7 -7
  55. package/dist/{vue-ui-nested-donuts-BVbvVm19.js → vue-ui-nested-donuts-BLnO_Mgf.js} +9 -9
  56. package/dist/{vue-ui-onion-DQg97Dwm.js → vue-ui-onion-66T65iJH.js} +8 -8
  57. package/dist/{vue-ui-parallel-coordinate-plot-KQ4FTUda.js → vue-ui-parallel-coordinate-plot-B5N_TkrQ.js} +8 -8
  58. package/dist/{vue-ui-quadrant-D8OU7TFs.js → vue-ui-quadrant-BoCrqBMk.js} +8 -8
  59. package/dist/{vue-ui-quick-chart-BOKDoHdK.js → vue-ui-quick-chart-B0VC0eh-.js} +6 -6
  60. package/dist/{vue-ui-radar-2hTf-Qrf.js → vue-ui-radar-CFVWdaIn.js} +8 -8
  61. package/dist/{vue-ui-rating-QriKDSO7.js → vue-ui-rating-A58gcO8T.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-DqLiKEHw.js → vue-ui-relation-circle-DU5SHiGv.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-CvFlsavM.js → vue-ui-ridgeline-DbL2yTIh.js} +8 -8
  64. package/dist/{vue-ui-rings-B2ges9Ud.js → vue-ui-rings-Bv6MCURJ.js} +8 -8
  65. package/dist/{vue-ui-scatter-DQJeFlv4.js → vue-ui-scatter-BmN7rTrR.js} +8 -8
  66. package/dist/{vue-ui-skeleton-Bghm5obp.js → vue-ui-skeleton-C4h4fFuO.js} +3 -3
  67. package/dist/{vue-ui-smiley-C3SkDNoz.js → vue-ui-smiley-7OtzDLyY.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-dd8h3N7H.js → vue-ui-spark-trend-CDJGeE9c.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BTj8M7fY.js → vue-ui-sparkbar-D77zOuEC.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-BBQAo-W1.js → vue-ui-sparkgauge-BksxAHf4.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C4ZEcb8S.js → vue-ui-sparkhistogram-dgigFSzZ.js} +4 -4
  72. package/dist/{vue-ui-sparkline-Bm3GpqJx.js → vue-ui-sparkline-Dy1tSgMy.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-Dde4iayd.js → vue-ui-sparkstackbar-DVPYzftP.js} +3 -3
  74. package/dist/{vue-ui-stackbar-DPvfNjwH.js → vue-ui-stackbar-BSsTXQJ2.js} +9 -9
  75. package/dist/{vue-ui-strip-plot-iZIN9U90.js → vue-ui-strip-plot-F41CWin2.js} +7 -7
  76. package/dist/{vue-ui-table-C4EoviSd.js → vue-ui-table-BmnsgnjO.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-D-eqO3LU.js → vue-ui-table-heatmap-GuaexCA-.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-CD7IH49g.js → vue-ui-table-sparkline-DktY9A1C.js} +4 -4
  79. package/dist/{vue-ui-thermometer-BKEFH2Xt.js → vue-ui-thermometer-EhgTVfFj.js} +7 -7
  80. package/dist/{vue-ui-timer-hhKj1gPp.js → vue-ui-timer-Cd3Yt7HA.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-CmNwCnVC.js → vue-ui-tiremarks-DjDnFHWc.js} +6 -6
  82. package/dist/{vue-ui-treemap-BL7T8x_B.js → vue-ui-treemap-BGLUEQit.js} +8 -8
  83. package/dist/{vue-ui-vertical-bar-CGn_OX3P.js → vue-ui-vertical-bar-DhVF0WZY.js} +9 -9
  84. package/dist/{vue-ui-waffle-qfT-wDhI.js → vue-ui-waffle-gXnHM7Qo.js} +8 -8
  85. package/dist/{vue-ui-wheel-B8J8C3AN.js → vue-ui-wheel-Ce2IQFq7.js} +6 -6
  86. package/dist/{vue-ui-word-cloud-B6oHFfEK.js → vue-ui-word-cloud-BDFn0rUl.js} +6 -6
  87. package/dist/{vue-ui-world-BEv_oTrC.js → vue-ui-world-Cev3j25p.js} +6 -6
  88. package/dist/{vue-ui-xy-DPBrciAR.js → vue-ui-xy-CNMFnao9.js} +9 -9
  89. package/dist/{vue-ui-xy-canvas-BXT3mXj5.js → vue-ui-xy-canvas-B04eI10U.js} +8 -8
  90. package/package.json +1 -1
  91. package/dist/vue-ui-galaxy-0rAzDHe5.js +0 -619
@@ -1,32 +1,33 @@
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, a as yt, p as O, b as ht, d as ft, g as de, f as oe, e as ve, o as bt, X as pt, s as I, x as Ie, k as G, i as S, F as Le, m as Pe, n as gt, q as Q, r as R, v as _t, w as xt } from "./index-CnY41r21.js";
3
- import { u as Oe } from "./useNestedProp-DtUATNAU.js";
4
- import { u as mt } from "./usePrinter-CJ1uZx0D.js";
5
- import { u as kt } from "./useUserOptionState-BIvW1Kz7.js";
6
- import { u as wt } from "./useChartAccessibility-9icAAmYg.js";
7
- import $t from "./img-_RMhslMZ.js";
8
- import { _ as Ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- const Tt = ["id"], zt = {
1
+ import { useCssVars as rt, defineAsyncComponent as K, computed as k, ref as z, toRefs as it, watch as Fe, shallowRef as ct, onMounted as dt, onBeforeUnmount as vt, createElementBlock as o, openBlock as a, unref as n, normalizeStyle as y, normalizeClass as w, createBlock as ee, createCommentVNode as f, renderSlot as F, createSlots as yt, withCtx as B, normalizeProps as te, guardReactiveProps as le, createVNode as Le, createElementVNode as u, toDisplayString as c, Fragment as g, renderList as _, createTextVNode as ae, withKeys as ht, nextTick as Ie } from "vue";
2
+ import { u as ft, c as bt, t as pt, a as gt, p as R, b as _t, d as xt, g as ve, f as oe, e as ye, o as mt, X as kt, s as A, x as Re, k as U, i as S, F as Pe, m as Oe, n as wt, q as Z, r as P, v as Ct, w as $t } from "./index-Bzm4bjdY.js";
3
+ import { u as Tt, B as zt } from "./useLoading-D7YHNtLX.js";
4
+ import { u as At } from "./usePrinter-DZsH7qQs.js";
5
+ import { u as Ve } from "./useNestedProp-FhaE2yv-.js";
6
+ import { u as St } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as Nt } from "./useChartAccessibility-9icAAmYg.js";
8
+ import Ft from "./img-D_LTOBii.js";
9
+ import { _ as Lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
+ const It = ["id"], Rt = {
10
11
  key: 1,
11
12
  ref: "noTitle",
12
13
  class: "vue-data-ui-no-title-space",
13
14
  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"], 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
+ }, Pt = ["xmlns", "viewBox"], Ot = ["width", "height"], Vt = { key: 1 }, Bt = ["fill", "font-weight", "font-size", "x", "y"], Mt = ["fill", "font-weight", "font-size", "x", "y"], jt = ["id"], Xt = ["stop-color"], Et = ["stop-color"], Gt = ["id"], Ut = ["stop-color"], Dt = ["stop-color"], Yt = ["id"], qt = ["stop-color"], Ht = ["stop-color"], Wt = ["stop-color"], Kt = ["id"], Zt = ["stop-color"], Jt = ["stop-color"], Qt = ["stop-color"], el = ["id"], tl = ["stop-color"], ll = ["stop-color"], al = ["stop-color"], ol = { key: 2 }, sl = ["x", "y", "font-size", "font-weight", "fill"], ul = ["x", "y", "font-size", "font-weight", "fill"], nl = ["id"], rl = ["stop-color"], il = ["stop-color"], cl = ["d", "stroke", "fill"], dl = ["cx", "cy", "r", "fill"], vl = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], yl = { key: 3 }, hl = ["x", "y", "font-size", "fill", "onClick"], fl = { key: 0 }, bl = ["x", "y", "fill", "font-size", "font-weight"], pl = ["x", "y", "height", "width", "fill", "rx", "onClick"], gl = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], _l = { key: 4 }, xl = ["x", "y", "fill", "font-size", "onClick"], ml = ["d", "stroke"], kl = ["fill", "cx", "cy", "r", "onClick"], wl = { key: 5 }, Cl = ["x", "y", "font-size", "font-weight", "fill"], $l = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Tl = ["y", "height", "width"], zl = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, Al = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, Sl = {
15
16
  viewBox: "0 0 20 20",
16
17
  height: "16",
17
18
  width: "16"
18
- }, xl = ["fill"], ml = { key: 7 }, kl = ["y", "height", "width"], wl = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, $l = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, Cl = {
19
+ }, Nl = ["fill"], Fl = { key: 7 }, Ll = ["y", "height", "width"], Il = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, Rl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, Pl = {
19
20
  viewBox: "0 0 20 20",
20
21
  height: "16",
21
22
  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"], 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
+ }, Ol = ["fill"], Vl = ["cx", "cy", "fill"], Bl = ["d", "stroke"], Ml = ["cx", "cy", "fill"], jl = ["d", "stroke"], Xl = ["cx", "cy", "fill"], El = ["cx", "cy", "fill"], Gl = ["x", "y", "fill", "font-size", "font-weight"], Ul = ["x", "y", "fill", "font-size", "font-weight"], Dl = ["x", "text-anchor", "y", "fill", "font-size"], Yl = ["x", "text-anchor", "y", "fill", "font-size"], ql = ["x", "text-anchor", "y", "fill", "font-size"], Hl = ["x", "text-anchor", "y", "fill", "font-size"], Wl = ["x", "text-anchor", "y", "fill", "font-size"], Kl = ["x", "y", "font-size", "fill"], Zl = ["x", "y", "font-size", "fill"], Jl = ["x", "y", "font-size", "fill"], Ql = {
23
24
  key: 4,
24
25
  class: "vue-data-ui-watermark"
25
- }, Ul = {
26
- key: 6,
26
+ }, ea = {
27
+ key: 5,
27
28
  ref: "source",
28
29
  dir: "auto"
29
- }, Dl = { style: { "padding-top": "36px", position: "relative" } }, Yl = { class: "vue-ui-data-table" }, ql = { key: 0 }, Hl = ["data-cell"], Wl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Kl = { key: 0 }, Jl = { key: 1 }, Ql = ["data-cell"], Zl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ea = { key: 0 }, ta = { key: 1 }, la = ["data-cell"], aa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, oa = { key: 0 }, sa = { key: 1 }, 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" } }, $a = ["data-cell"], Ca = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ta = ["data-cell"], za = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Sa = ["data-cell"], Na = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Fa = ["data-cell"], Ia = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, La = {
30
+ }, ta = { style: { "padding-top": "36px", position: "relative" } }, la = { class: "vue-ui-data-table" }, aa = { key: 0 }, oa = ["data-cell"], sa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ua = { key: 0 }, na = { key: 1 }, ra = ["data-cell"], ia = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ca = { key: 0 }, da = { key: 1 }, va = ["data-cell"], ya = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ha = { key: 0 }, fa = { key: 1 }, ba = ["data-cell"], pa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ga = { key: 0 }, _a = { key: 1 }, xa = ["data-cell"], ma = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ka = { key: 0 }, wa = { key: 1 }, Ca = ["data-cell"], $a = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ta = { key: 0 }, za = { key: 1 }, Aa = ["data-cell"], Sa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Na = { key: 0 }, Fa = { key: 1 }, La = ["data-cell"], Ia = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ra = ["data-cell"], Pa = { 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"], Xa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ea = {
30
31
  __name: "vue-ui-chestnut",
31
32
  props: {
32
33
  config: {
@@ -43,37 +44,150 @@ const Tt = ["id"], zt = {
43
44
  }
44
45
  },
45
46
  emits: ["selectRoot", "selectBranch", "selectNut"],
46
- setup(Re, { expose: Ve, emit: Be }) {
47
- ot((l) => ({
48
- "3b99dd82": l.tdo
47
+ setup(Be, { expose: Me, emit: je }) {
48
+ rt((l) => ({
49
+ "49657cde": l.tdo
49
50
  }));
50
- const Me = H(() => import("./PenAndPaper-BCcfYvgR.js")), Ae = H(() => import("./vue-ui-accordion-CnLY8CrQ.js")), je = H(() => import("./vue-ui-skeleton-Bghm5obp.js")), Xe = H(() => import("./UserOptions-CGnAZpYs.js")), Ee = H(() => import("./PackageVersion-CBHvscRY.js")), Ge = H(() => import("./BaseIcon-BnbvQjs5.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
- get: () => pe(),
52
- set: (l) => l
53
- }), { userOptionsVisible: se, setUserOptionsVisibility: he, keepUserOptionState: fe } = kt({ config: e.value }), { svgRef: be } = wt({ config: e.value.style.chart.layout.title });
54
- function pe() {
55
- const l = Oe({
56
- userConfig: V.config,
57
- defaultConfig: Ue
51
+ const Xe = K(() => import("./BaseIcon-C_HE-fPU.js")), Ee = K(() => import("./vue-ui-accordion-ywMTtl25.js")), Ge = K(() => import("./PenAndPaper-DjXtQYum.js")), Ue = K(() => import("./UserOptions-Tx_9Xl_c.js")), De = K(() => import("./PackageVersion-B8cypgdJ.js")), { vue_ui_chestnut: Ye } = ft(), M = Be, he = k(() => !!M.dataset && M.dataset.length), C = z(bt()), H = z(null), qe = z(null), fe = z(0), e = z(ne()), { loading: be, FINAL_DATASET: se } = Tt({
52
+ ...it(M),
53
+ FINAL_CONFIG: e,
54
+ prepareConfig: ne,
55
+ skeletonDataset: [
56
+ {
57
+ name: "_",
58
+ color: "#969696",
59
+ branches: [
60
+ {
61
+ name: "_",
62
+ value: 32,
63
+ breakdown: [
64
+ { name: "_", value: 16, color: "#CACACA" },
65
+ { name: "_", value: 16, color: "#6A6A6A" }
66
+ ]
67
+ },
68
+ {
69
+ name: "_",
70
+ value: 16,
71
+ breakdown: [
72
+ { name: "_", value: 8, color: "#CACACA" },
73
+ { name: "_", value: 8, color: "#6A6A6A" }
74
+ ]
75
+ },
76
+ {
77
+ name: "_",
78
+ value: 8,
79
+ breakdown: [
80
+ { name: "_", value: 4, color: "#CACACA" },
81
+ { name: "_", value: 4, color: "#6A6A6A" }
82
+ ]
83
+ },
84
+ {
85
+ name: "_",
86
+ value: 4,
87
+ breakdown: [
88
+ { name: "_", value: 2, color: "#CACACA" },
89
+ { name: "_", value: 2, color: "#6A6A6A" }
90
+ ]
91
+ }
92
+ ]
93
+ },
94
+ {
95
+ name: "_",
96
+ color: "#C4C4C4",
97
+ branches: [
98
+ {
99
+ name: "_",
100
+ value: 24,
101
+ breakdown: [
102
+ { name: "_", value: 12, color: "#CACACA" },
103
+ { name: "_", value: 12, color: "#6A6A6A" }
104
+ ]
105
+ },
106
+ {
107
+ name: "_",
108
+ value: 12,
109
+ breakdown: [
110
+ { name: "_", value: 6, color: "#CACACA" },
111
+ { name: "_", value: 6, color: "#6A6A6A" }
112
+ ]
113
+ },
114
+ {
115
+ name: "_",
116
+ value: 6,
117
+ breakdown: [
118
+ { name: "_", value: 3, color: "#CACACA" },
119
+ { name: "_", value: 3, color: "#6A6A6A" }
120
+ ]
121
+ },
122
+ {
123
+ name: "_",
124
+ value: 2,
125
+ breakdown: [
126
+ { name: "_", value: 1, color: "#CACACA" },
127
+ { name: "_", value: 1, color: "#6A6A6A" }
128
+ ]
129
+ }
130
+ ]
131
+ }
132
+ ],
133
+ skeletonConfig: pt({
134
+ defaultConfig: e.value,
135
+ userConfig: {
136
+ userOptions: { show: !1 },
137
+ table: { show: !1 },
138
+ style: {
139
+ chart: {
140
+ backgroundColor: "#99999930",
141
+ layout: {
142
+ grandTotal: { show: !1 },
143
+ roots: {
144
+ stroke: "#6A6A6A",
145
+ labels: { show: !1 }
146
+ },
147
+ verticalSeparator: { stroke: "transparent" },
148
+ branches: {
149
+ stroke: "#6A6A6A",
150
+ underlayerColor: "#6A6A6A90",
151
+ labels: {
152
+ show: !1,
153
+ dataLabels: { show: !1 }
154
+ }
155
+ }
156
+ }
157
+ }
158
+ }
159
+ }
160
+ })
161
+ }), { userOptionsVisible: ue, setUserOptionsVisibility: pe, keepUserOptionState: ge } = St({ config: e.value }), { svgRef: _e } = Nt({ config: e.value.style.chart.layout.title });
162
+ function ne() {
163
+ const l = Ve({
164
+ userConfig: M.config,
165
+ defaultConfig: Ye
58
166
  });
59
167
  return l.theme ? {
60
- ...Oe({
61
- userConfig: ht.vue_ui_chestnut[l.theme] || V.config,
168
+ ...Ve({
169
+ userConfig: _t.vue_ui_chestnut[l.theme] || M.config,
62
170
  defaultConfig: l
63
171
  }),
64
- customPalette: yt[l.theme] || O
172
+ customPalette: gt[l.theme] || R
65
173
  } : l;
66
174
  }
67
- st(() => V.config, (l) => {
68
- e.value = pe(), se.value = !e.value.userOptions.showOnChartHover, U.value.showTable = e.value.table.show, Ce();
175
+ Fe(() => M.config, (l) => {
176
+ e.value = ne(), ue.value = !e.value.userOptions.showOnChartHover, j.value.showTable = e.value.table.show, ze();
69
177
  }, { deep: !0 });
70
- const { isPrinting: ge, isImaging: _e, generatePdf: xe, generateImage: me } = mt({
71
- elementId: `vue-ui-chestnut_${w.value}`,
178
+ const { isPrinting: xe, isImaging: me, generatePdf: ke, generateImage: we } = At({
179
+ elementId: `vue-ui-chestnut_${C.value}`,
72
180
  fileName: e.value.style.chart.layout.title.text || "vue-ui-chestnut",
73
181
  options: e.value.userOptions.print
74
- }), Ye = m(() => e.value.userOptions.show), ue = m(() => ft(e.value.customPalette)), U = z({
182
+ }), He = k(() => e.value.userOptions.show), re = k(() => xt(e.value.customPalette)), j = z({
75
183
  showTable: e.value.table.show
76
- }), ne = z(null), ke = z(!1), qe = m(() => e.value.table.responsiveBreakpoint), r = z({
184
+ });
185
+ Fe(e, () => {
186
+ j.value = {
187
+ showTable: e.value.table.show
188
+ };
189
+ }, { immediate: !0 });
190
+ const ie = z(null), Ce = z(!1), We = k(() => e.value.table.responsiveBreakpoint), r = z({
77
191
  gap: 6,
78
192
  padding: {
79
193
  top: 102,
@@ -85,7 +199,7 @@ const Tt = ["id"], zt = {
85
199
  height: 0,
86
200
  branchSize: 32,
87
201
  branchStart: 128
88
- }), C = m(() => ({
202
+ }), T = k(() => ({
89
203
  left: r.value.padding.left,
90
204
  top: r.value.padding.top,
91
205
  right: r.value.width - r.value.padding.right,
@@ -93,8 +207,8 @@ const Tt = ["id"], zt = {
93
207
  width: r.value.width - (r.value.padding.left + r.value.padding.right),
94
208
  height: r.value.height - (r.value.padding.top + r.value.padding.bottom),
95
209
  seedX: r.value.padding.left + 64
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
- de({
210
+ })), O = k(() => se.value.flatMap((l) => (l.branches || []).map((i) => i.value || 0)).reduce((l, i) => l + i, 0)), N = k(() => (se.value.forEach((l, i) => {
211
+ ve({
98
212
  datasetObject: l,
99
213
  requiredAttributes: ["name", "branches"]
100
214
  }).forEach((t) => {
@@ -102,114 +216,117 @@ const Tt = ["id"], zt = {
102
216
  componentName: "VueUiChestnut",
103
217
  type: "datasetSerieAttribute",
104
218
  property: t,
105
- index: i
219
+ index: i,
220
+ debug: J.value
106
221
  });
107
222
  }), l.branches && l.branches.forEach((t, s) => {
108
- de({
223
+ ve({
109
224
  datasetObject: t,
110
225
  requiredAttributes: ["name", "value"]
111
- }).forEach((b) => {
226
+ }).forEach((p) => {
112
227
  oe({
113
228
  componentName: "VueUiChestnut",
114
229
  type: "datasetSerieAttribute",
115
- property: b,
116
- index: `${i} - ${s}`
230
+ property: p,
231
+ index: `${i} - ${s}`,
232
+ debug: J.value
117
233
  });
118
- }), t.breakdown && t.breakdown.forEach((b, _) => {
119
- de({
120
- datasetObject: b,
234
+ }), t.breakdown && t.breakdown.forEach((p, b) => {
235
+ ve({
236
+ datasetObject: p,
121
237
  requiredAttributes: ["name", "value"]
122
- }).forEach((f) => {
238
+ }).forEach((h) => {
123
239
  oe({
124
240
  componentName: "VueUiChestnut",
125
241
  type: "datasetSerieAttribute",
126
- property: f,
127
- index: `${i} - ${s} - ${_}`
242
+ property: h,
243
+ index: `${i} - ${s} - ${b}`,
244
+ debug: J.value
128
245
  });
129
246
  });
130
247
  });
131
248
  });
132
- }), V.dataset.map((l, i) => {
133
- const t = (l.branches || []).map((s) => s.value || 0).reduce((s, b) => s + b, 0);
249
+ }), se.value.map((l, i) => {
250
+ const t = (l.branches || []).map((s) => s.value || 0).reduce((s, p) => s + p, 0);
134
251
  return {
135
252
  ...l,
136
- color: ve(l.color) || ue.value[i] || O[i] || O[i % O.length],
137
- id: l.id || `root_${i}_${w.value}`,
253
+ color: ye(l.color) || re.value[i] || R[i] || R[i % R.length],
254
+ id: l.id || `root_${i}_${C.value}`,
138
255
  type: "root",
139
256
  total: t,
140
257
  rootIndex: i,
141
- branches: (l.branches || []).map((s, b) => ({
258
+ branches: (l.branches || []).map((s, p) => ({
142
259
  ...s,
143
260
  rootName: l.name,
144
261
  rootIndex: i,
145
- color: ve(l.color) || ue.value[i] || O[i] || O[i % O.length],
262
+ color: ye(l.color) || re.value[i] || R[i] || R[i % R.length],
146
263
  value: s.value >= 0 ? s.value : 0,
147
- id: s.id || `branch_${i}_${b}_${w.value}`,
264
+ id: s.id || `branch_${i}_${p}_${C.value}`,
148
265
  proportionToRoot: s.value / t,
149
266
  type: "branch",
150
- breakdown: (s.breakdown || []).map((_, f) => ({
267
+ breakdown: (s.breakdown || []).map((b, h) => ({
151
268
  table: {
152
269
  rootName: l.name,
153
270
  rootValue: t,
154
- rootToTotal: t / B.value,
271
+ rootToTotal: t / O.value,
155
272
  branchName: s.name,
156
273
  branchValue: s.value,
157
- branchToTotal: s.value / B.value,
274
+ branchToTotal: s.value / O.value,
158
275
  branchToRoot: s.value / t,
159
- nutName: _.name,
160
- nutValue: _.value,
161
- nutToTotal: _.value / B.value,
162
- nutToRoot: _.value / t,
163
- nutToBranch: _.value / s.value
276
+ nutName: b.name,
277
+ nutValue: b.value,
278
+ nutToTotal: b.value / O.value,
279
+ nutToRoot: b.value / t,
280
+ nutToBranch: b.value / s.value
164
281
  },
165
- ..._,
282
+ ...b,
166
283
  type: "nut",
167
284
  branchName: s.name,
168
285
  rootName: l.name,
169
286
  branchTotal: s.value >= 0 ? s.value : 0,
170
- proportionToBranch: _.value / s.value,
171
- proportionToRoot: _.value / t,
172
- proportionToTree: _.value / B.value,
287
+ proportionToBranch: b.value / s.value,
288
+ proportionToRoot: b.value / t,
289
+ proportionToTree: b.value / O.value,
173
290
  rootIndex: i,
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
291
+ id: b.id || `nut_${i}_${p}_${h}_${C.value}`,
292
+ color: ye(b.color) || re.value[h] || R[h] || R[h % R.length],
293
+ value: b.value >= 0 ? b.value : 0
177
294
  }))
178
295
  }))
179
296
  };
180
297
  })));
181
- function He() {
298
+ function Ke() {
182
299
  return N.value;
183
300
  }
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);
301
+ const D = je, Ze = k(() => N.value.flatMap((l) => l.branches).length), Je = k(() => Math.max(...N.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), Qe = k(() => Math.max(...N.value.flatMap((l) => l.branches.map((i) => i.value)))), $e = k(() => 256 + r.value.padding.left), X = k(() => N.value.sort((l, i) => i.total - l.total).map((l, i) => {
302
+ const t = T.value.height / N.value.length / 2, s = l.total / Je.value * (t > 64 ? 64 : t);
186
303
  return {
187
304
  ...l,
188
- x: C.value.seedX,
189
- y: C.value.top + C.value.height / N.value.length * (i + 1) - (C.value.height / N.value.length / 2 + r.value.gap / 2),
305
+ x: T.value.seedX,
306
+ y: T.value.top + T.value.height / N.value.length * (i + 1) - (T.value.height / N.value.length / 2 + r.value.gap / 2),
190
307
  r: s < r.value.branchSize / 2 ? r.value.branchSize / 2 : s
191
308
  };
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) => ({
309
+ })), et = 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), tt = k(() => X.value.flatMap((l) => l.branches)), E = k(() => tt.value.sort((l, i) => i.value - l.value).map((l, i) => ({
193
310
  ...l,
194
- y1: i * r.value.branchSize + C.value.top + i * r.value.gap,
311
+ y1: i * r.value.branchSize + T.value.top + i * r.value.gap,
195
312
  y2: i * r.value.branchSize + r.value.branchSize,
196
- x1: we.value,
197
- x2: 384 * l.value / Je.value * Qe.value + we.value
313
+ x1: $e.value,
314
+ x2: 384 * l.value / Qe.value * et.value + $e.value
198
315
  })));
199
- function re(l) {
200
- const i = j.value.find((t) => t.rootIndex === l.rootIndex);
316
+ function lt(l) {
317
+ const i = X.value.find((t) => t.rootIndex === l.rootIndex);
201
318
  return { x: i.x, y: i.y, r: i.r };
202
319
  }
203
- const d = z(null), M = z(null), x = z(null), L = z(null);
320
+ const d = z(null), V = z(null), x = z(null), L = z(null);
204
321
  function $() {
205
322
  d.value = null, x.value = null, L.value = null;
206
323
  }
207
- function P(l) {
324
+ function I(l) {
208
325
  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
326
  }
210
- function et(l) {
211
- $(), Fe(() => {
212
- d.value = l, x.value = l, M.value = Pe(
327
+ function at(l) {
328
+ $(), Ie(() => {
329
+ d.value = l, x.value = l, V.value = Oe(
213
330
  { series: l.breakdown },
214
331
  l.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
215
332
  l.y1 + r.value.branchSize / 2,
@@ -218,43 +335,45 @@ const Tt = ["id"], zt = {
218
335
  ), D("selectNut", l.breakdown);
219
336
  });
220
337
  }
221
- function E() {
222
- d.value = null, M.value = null, D("selectNut", null);
338
+ function G() {
339
+ d.value = null, V.value = null, D("selectNut", null);
223
340
  }
224
- function ie(l) {
341
+ function ce(l) {
225
342
  x.value && x.value.id === l.id ? (x.value = null, $(), D("selectBranch", null)) : ($(), x.value = l, D("selectBranch", l));
226
343
  }
227
- function $e(l) {
344
+ function Te(l) {
228
345
  L.value && L.value.id === l.id ? ($(), D("selectRoot", null)) : ($(), L.value = l, D("selectRoot", l));
229
346
  }
230
- function tt() {
231
- return C.value.bottom - (d.value.y1 + 180) < 0 ? 0 : C.value.bottom;
347
+ function ot() {
348
+ return T.value.bottom - (d.value.y1 + 180) < 0 ? 0 : T.value.bottom;
232
349
  }
233
350
  function Y(l) {
234
351
  return l.proportion * 100 > e.value.style.chart.layout.nuts.selected.labels.dataLabels.hideUnderValue;
235
352
  }
236
- const q = ut(null);
237
- function lt() {
353
+ const q = ct(null);
354
+ function st() {
238
355
  q.value && q.value.disconnect(), q.value = new ResizeObserver((l) => {
239
356
  l.forEach((i) => {
240
- ke.value = i.contentRect.width < qe.value;
357
+ Ce.value = i.contentRect.width < We.value;
241
358
  });
242
- }), ne.value && q.value.observe(ne.value);
359
+ }), ie.value && q.value.observe(ie.value);
243
360
  }
244
- nt(() => {
245
- Ce();
246
- }), rt(() => {
361
+ dt(() => {
362
+ ze();
363
+ }), vt(() => {
247
364
  q.value && q.value.disconnect();
248
365
  });
249
- function Ce() {
250
- bt(V.dataset) && oe({
366
+ const J = k(() => e.value.debug);
367
+ function ze() {
368
+ mt(M.dataset) && oe({
251
369
  componentName: "VueUiChestnut",
252
- type: "dataset"
370
+ type: "dataset",
371
+ debug: J.value
253
372
  });
254
- const l = We.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
255
- r.value.height = l, lt();
373
+ const l = Ze.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
374
+ r.value.height = l, st();
256
375
  }
257
- const v = m(() => {
376
+ const v = k(() => {
258
377
  const l = [
259
378
  e.value.table.th.translations.rootName,
260
379
  e.value.table.th.translations.rootValue,
@@ -268,170 +387,179 @@ const Tt = ["id"], zt = {
268
387
  e.value.table.th.translations.nutToBranch,
269
388
  e.value.table.th.translations.nutToRoot,
270
389
  e.value.table.th.translations.nutToTotal
271
- ], i = N.value.flatMap((t, s) => t.branches.flatMap((b, _) => b.breakdown.flatMap((f, T) => f.table)));
390
+ ], i = N.value.flatMap((t, s) => t.branches.flatMap((p, b) => p.breakdown.flatMap((h, m) => h.table)));
272
391
  return { head: l, body: i };
273
392
  });
274
- function Te(l = null) {
275
- Fe(() => {
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
- v.value.body[T - 1] && v.value.body[T - 1].rootName === f.rootName ? "" : f.rootName,
278
- v.value.body[T - 1] && v.value.body[T - 1].rootName === f.rootName ? "" : f.rootValue,
279
- v.value.body[T - 1] && v.value.body[T - 1].rootName === f.rootName ? "" : f.rootToTotal,
280
- v.value.body[T - 1] && v.value.body[T - 1].branchName === f.branchName ? "" : f.branchName,
281
- v.value.body[T - 1] && v.value.body[T - 1].branchName === f.branchName ? "" : f.branchValue,
282
- v.value.body[T - 1] && v.value.body[T - 1].branchName === f.branchName ? "" : f.branchToRoot,
283
- v.value.body[T - 1] && v.value.body[T - 1].branchName === f.branchName ? "" : f.branchToTotal,
284
- f.nutName,
285
- f.nutValue,
286
- f.nutToBranch,
287
- f.nutToRoot,
288
- f.nutToTotal
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" });
393
+ function Ae(l = null) {
394
+ Ie(() => {
395
+ const i = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", O.value], [""]], t = v.value.head, s = v.value.body.map((h, m) => [
396
+ v.value.body[m - 1] && v.value.body[m - 1].rootName === h.rootName ? "" : h.rootName,
397
+ v.value.body[m - 1] && v.value.body[m - 1].rootName === h.rootName ? "" : h.rootValue,
398
+ v.value.body[m - 1] && v.value.body[m - 1].rootName === h.rootName ? "" : h.rootToTotal,
399
+ v.value.body[m - 1] && v.value.body[m - 1].branchName === h.branchName ? "" : h.branchName,
400
+ v.value.body[m - 1] && v.value.body[m - 1].branchName === h.branchName ? "" : h.branchValue,
401
+ v.value.body[m - 1] && v.value.body[m - 1].branchName === h.branchName ? "" : h.branchToRoot,
402
+ v.value.body[m - 1] && v.value.body[m - 1].branchName === h.branchName ? "" : h.branchToTotal,
403
+ h.nutName,
404
+ h.nutValue,
405
+ h.nutToBranch,
406
+ h.nutToRoot,
407
+ h.nutToTotal
408
+ ]), p = i.concat([t]).concat(s), b = Ct(p);
409
+ l ? l(b) : $t({ csvContent: b, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
291
410
  });
292
411
  }
293
- const J = z(!1);
294
- function ze(l) {
295
- J.value = l, ye.value += 1;
412
+ const W = z(!1);
413
+ function Se(l) {
414
+ W.value = l, fe.value += 1;
296
415
  }
297
- function Se() {
298
- U.value.showTable = !U.value.showTable;
416
+ function Ne() {
417
+ j.value.showTable = !j.value.showTable;
299
418
  }
300
- const Z = z(!1);
301
- function ce() {
302
- Z.value = !Z.value;
419
+ const Q = z(!1);
420
+ function de() {
421
+ Q.value = !Q.value;
303
422
  }
304
- async function at({ scale: l = 2 } = {}) {
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 });
423
+ async function ut({ scale: l = 2 } = {}) {
424
+ if (!H.value) return;
425
+ const { width: i, height: t } = H.value.getBoundingClientRect(), s = i / t, { imageUri: p, base64: b } = await Ft({ domElement: H.value, base64: !0, img: !0, scale: l });
307
426
  return {
308
- imageUri: b,
309
- base64: _,
427
+ imageUri: p,
428
+ base64: b,
310
429
  title: e.value.style.chart.layout.title.text,
311
430
  width: i,
312
431
  height: t,
313
432
  aspectRatio: s
314
433
  };
315
434
  }
316
- return Ve({
317
- getData: He,
318
- getImage: at,
319
- generatePdf: xe,
320
- generateCsv: Te,
321
- generateImage: me,
322
- toggleTable: Se,
323
- toggleAnnotator: ce,
324
- toggleFullscreen: ze
435
+ function nt(l) {
436
+ const i = lt(l), t = l.x1, s = l.y1, p = r.value.branchSize, b = i.x + i.r / 2, h = i.y, m = 20;
437
+ return [
438
+ `M ${t},${s}`,
439
+ `C ${t - m},${s} ${t - m},${s} ${b},${h}`,
440
+ `C ${b},${h} ${t - m},${s + p} ${t},${s + p}`,
441
+ "Z"
442
+ ].join(" ");
443
+ }
444
+ return Me({
445
+ getData: Ke,
446
+ getImage: ut,
447
+ generatePdf: ke,
448
+ generateCsv: Ae,
449
+ generateImage: we,
450
+ toggleTable: Ne,
451
+ toggleAnnotator: de,
452
+ toggleFullscreen: Se
325
453
  }), (l, i) => (a(), o("div", {
326
- class: k(`vue-ui-chestnut ${J.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
454
+ class: w(`vue-ui-chestnut ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
327
455
  ref_key: "chestnutChart",
328
- ref: K,
329
- id: `vue-ui-chestnut_${w.value}`,
456
+ ref: H,
457
+ id: `vue-ui-chestnut_${C.value}`,
330
458
  style: y(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
331
- onMouseenter: i[2] || (i[2] = () => u(he)(!0)),
332
- onMouseleave: i[3] || (i[3] = () => u(he)(!1))
459
+ onMouseenter: i[2] || (i[2] = () => n(pe)(!0)),
460
+ onMouseleave: i[3] || (i[3] = () => n(pe)(!1))
333
461
  }, [
334
- e.value.userOptions.buttons.annotator ? (a(), ee(u(Me), {
462
+ e.value.userOptions.buttons.annotator ? (a(), ee(n(Ge), {
335
463
  key: 0,
336
- svgRef: u(be),
464
+ svgRef: n(_e),
337
465
  backgroundColor: e.value.style.chart.backgroundColor,
338
466
  color: e.value.style.chart.color,
339
- active: Z.value,
340
- onClose: ce
341
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
342
- Ye.value ? (a(), o("div", zt, null, 512)) : h("", !0),
343
- e.value.userOptions.show && W.value && (u(fe) || u(se)) ? (a(), ee(u(Xe), {
467
+ active: Q.value,
468
+ onClose: de
469
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
470
+ He.value ? (a(), o("div", Rt, null, 512)) : f("", !0),
471
+ e.value.userOptions.show && he.value && (n(ge) || n(ue)) ? (a(), ee(n(Ue), {
344
472
  ref_key: "details",
345
- ref: De,
346
- key: `user_options_${ye.value}`,
473
+ ref: qe,
474
+ key: `user_options_${fe.value}`,
347
475
  backgroundColor: e.value.style.chart.backgroundColor,
348
476
  color: e.value.style.chart.color,
349
- isImaging: u(_e),
350
- isPrinting: u(ge),
351
- uid: w.value,
477
+ isImaging: n(me),
478
+ isPrinting: n(xe),
479
+ uid: C.value,
352
480
  hasPdf: e.value.userOptions.buttons.pdf,
353
481
  hasImg: e.value.userOptions.buttons.img,
354
482
  hasXls: e.value.userOptions.buttons.csv,
355
483
  hasTable: e.value.userOptions.buttons.table,
356
484
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
357
- isFullscreen: J.value,
485
+ isFullscreen: W.value,
358
486
  titles: { ...e.value.userOptions.buttonTitles },
359
- chartElement: K.value,
487
+ chartElement: H.value,
360
488
  position: e.value.userOptions.position,
361
489
  hasAnnotator: e.value.userOptions.buttons.annotator,
362
- isAnnotation: Z.value,
490
+ isAnnotation: Q.value,
363
491
  callbacks: e.value.userOptions.callbacks,
364
492
  printScale: e.value.userOptions.print.scale,
365
- onToggleFullscreen: ze,
366
- onGeneratePdf: u(xe),
367
- onGenerateCsv: Te,
368
- onGenerateImage: u(me),
369
- onToggleTable: Se,
370
- onToggleAnnotator: ce,
493
+ onToggleFullscreen: Se,
494
+ onGeneratePdf: n(ke),
495
+ onGenerateCsv: Ae,
496
+ onGenerateImage: n(we),
497
+ onToggleTable: Ne,
498
+ onToggleAnnotator: de,
371
499
  style: y({
372
- visibility: u(fe) ? u(se) ? "visible" : "hidden" : "visible"
500
+ visibility: n(ge) ? n(ue) ? "visible" : "hidden" : "visible"
373
501
  })
374
- }, it({ _: 2 }, [
502
+ }, yt({ _: 2 }, [
375
503
  l.$slots.menuIcon ? {
376
504
  name: "menuIcon",
377
- fn: A(({ isOpen: t, color: s }) => [
505
+ fn: B(({ isOpen: t, color: s }) => [
378
506
  F(l.$slots, "menuIcon", te(le({ isOpen: t, color: s })), void 0, !0)
379
507
  ]),
380
508
  key: "0"
381
509
  } : void 0,
382
510
  l.$slots.optionPdf ? {
383
511
  name: "optionPdf",
384
- fn: A(() => [
512
+ fn: B(() => [
385
513
  F(l.$slots, "optionPdf", {}, void 0, !0)
386
514
  ]),
387
515
  key: "1"
388
516
  } : void 0,
389
517
  l.$slots.optionCsv ? {
390
518
  name: "optionCsv",
391
- fn: A(() => [
519
+ fn: B(() => [
392
520
  F(l.$slots, "optionCsv", {}, void 0, !0)
393
521
  ]),
394
522
  key: "2"
395
523
  } : void 0,
396
524
  l.$slots.optionImg ? {
397
525
  name: "optionImg",
398
- fn: A(() => [
526
+ fn: B(() => [
399
527
  F(l.$slots, "optionImg", {}, void 0, !0)
400
528
  ]),
401
529
  key: "3"
402
530
  } : void 0,
403
531
  l.$slots.optionTable ? {
404
532
  name: "optionTable",
405
- fn: A(() => [
533
+ fn: B(() => [
406
534
  F(l.$slots, "optionTable", {}, void 0, !0)
407
535
  ]),
408
536
  key: "4"
409
537
  } : void 0,
410
538
  l.$slots.optionFullscreen ? {
411
539
  name: "optionFullscreen",
412
- fn: A(({ toggleFullscreen: t, isFullscreen: s }) => [
540
+ fn: B(({ toggleFullscreen: t, isFullscreen: s }) => [
413
541
  F(l.$slots, "optionFullscreen", te(le({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
414
542
  ]),
415
543
  key: "5"
416
544
  } : void 0,
417
545
  l.$slots.optionAnnotator ? {
418
546
  name: "optionAnnotator",
419
- fn: A(({ toggleAnnotator: t, isAnnotator: s }) => [
547
+ fn: B(({ toggleAnnotator: t, isAnnotator: s }) => [
420
548
  F(l.$slots, "optionAnnotator", te(le({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
421
549
  ]),
422
550
  key: "6"
423
551
  } : void 0
424
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
425
- r.value.height > 0 && W.value ? (a(), o("svg", {
552
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
553
+ r.value.height > 0 ? (a(), o("svg", {
426
554
  key: 3,
427
555
  ref_key: "svgRef",
428
- ref: be,
429
- xmlns: u(pt),
430
- class: k({ "vue-data-ui-fullscreen--on": J.value, "vue-data-ui-fulscreen--off": !J.value }),
556
+ ref: _e,
557
+ xmlns: n(kt),
558
+ class: w({ "vue-data-ui-fullscreen--on": W.value, "vue-data-ui-fulscreen--off": !W.value }),
431
559
  viewBox: `0 0 ${r.value.width <= 0 ? 10 : r.value.width} ${r.value.height <= 0 ? 10 : r.value.height}`,
432
560
  style: y(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
433
561
  }, [
434
- Ne(u(Ee)),
562
+ Le(n(De)),
435
563
  l.$slots["chart-background"] ? (a(), o("foreignObject", {
436
564
  key: 0,
437
565
  x: 0,
@@ -443,8 +571,8 @@ const Tt = ["id"], zt = {
443
571
  }
444
572
  }, [
445
573
  F(l.$slots, "chart-background", {}, void 0, !0)
446
- ], 8, Nt)) : h("", !0),
447
- d.value ? h("", !0) : (a(), o("g", Ft, [
574
+ ], 8, Ot)) : f("", !0),
575
+ d.value ? f("", !0) : (a(), o("g", Vt, [
448
576
  e.value.style.chart.layout.title.text ? (a(), o("text", {
449
577
  key: 0,
450
578
  "text-anchor": "middle",
@@ -454,7 +582,7 @@ const Tt = ["id"], zt = {
454
582
  x: r.value.width / 2,
455
583
  y: 12 + e.value.style.chart.layout.title.fontSize + e.value.style.chart.layout.title.offsetY,
456
584
  onClick: $
457
- }, c(e.value.style.chart.layout.title.text), 9, It)) : h("", !0),
585
+ }, c(e.value.style.chart.layout.title.text), 9, Bt)) : f("", !0),
458
586
  e.value.style.chart.layout.title.subtitle.text ? (a(), o("text", {
459
587
  key: 1,
460
588
  "text-anchor": "middle",
@@ -464,193 +592,202 @@ const Tt = ["id"], zt = {
464
592
  x: r.value.width / 2,
465
593
  y: 48 + e.value.style.chart.layout.title.subtitle.fontSize + e.value.style.chart.layout.title.subtitle.offsetY,
466
594
  onClick: $
467
- }, c(e.value.style.chart.layout.title.subtitle.text), 9, Lt)) : h("", !0)
595
+ }, c(e.value.style.chart.layout.title.subtitle.text), 9, Mt)) : f("", !0)
468
596
  ])),
469
- n("defs", null, [
470
- (a(!0), o(p, null, g(N.value, (t, s) => (a(), o("radialGradient", {
597
+ u("defs", null, [
598
+ (a(!0), o(g, null, _(N.value, (t, s) => (a(), o("radialGradient", {
471
599
  cx: "50%",
472
600
  cy: "50%",
473
601
  r: "50%",
474
602
  fx: "50%",
475
603
  fy: "50%",
476
- id: `root_gradient_${w.value}_${t.rootIndex}`
604
+ id: `root_gradient_${C.value}_${t.rootIndex}`
477
605
  }, [
478
- n("stop", {
606
+ u("stop", {
479
607
  offset: "0%",
480
- "stop-color": u(I)(u(Ie)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
481
- }, null, 8, Ot),
482
- n("stop", {
608
+ "stop-color": n(A)(n(Re)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
609
+ }, null, 8, Xt),
610
+ u("stop", {
483
611
  offset: "100%",
484
612
  "stop-color": t.color
485
- }, null, 8, Rt)
486
- ], 8, Pt))), 256)),
487
- (a(!0), o(p, null, g(N.value, (t) => (a(), o("linearGradient", {
613
+ }, null, 8, Et)
614
+ ], 8, jt))), 256)),
615
+ (a(!0), o(g, null, _(N.value, (t) => (a(), o("linearGradient", {
488
616
  x1: "0%",
489
617
  y1: "0%",
490
618
  x2: "100%",
491
619
  y2: "0%",
492
- id: `branch_gradient_${w.value}_${t.rootIndex}`
620
+ id: `branch_gradient_${C.value}_${t.rootIndex}`
493
621
  }, [
494
- n("stop", {
622
+ u("stop", {
495
623
  offset: "0%",
496
624
  "stop-color": t.color
497
- }, null, 8, Bt),
498
- n("stop", {
625
+ }, null, 8, Ut),
626
+ u("stop", {
499
627
  offset: "100%",
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", {
628
+ "stop-color": n(A)(n(Re)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
629
+ }, null, 8, Dt)
630
+ ], 8, Gt))), 256)),
631
+ u("radialGradient", {
504
632
  cx: "50%",
505
633
  cy: "50%",
506
634
  r: "50%",
507
635
  fx: "50%",
508
636
  fy: "50%",
509
- id: `nutpick_${w.value}`
637
+ id: `nutpick_${C.value}`
510
638
  }, [
511
- n("stop", {
639
+ u("stop", {
512
640
  offset: "0%",
513
- "stop-color": u(I)("#FFFFFF", 0)
514
- }, null, 8, jt),
515
- n("stop", {
641
+ "stop-color": n(A)("#FFFFFF", 0)
642
+ }, null, 8, qt),
643
+ u("stop", {
516
644
  offset: "80%",
517
- "stop-color": u(I)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
518
- }, null, 8, Xt),
519
- n("stop", {
645
+ "stop-color": n(A)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
646
+ }, null, 8, Ht),
647
+ u("stop", {
520
648
  offset: "100%",
521
- "stop-color": u(I)("#FFFFFF", 0)
522
- }, null, 8, Et)
523
- ], 8, At),
524
- n("radialGradient", {
649
+ "stop-color": n(A)("#FFFFFF", 0)
650
+ }, null, 8, Wt)
651
+ ], 8, Yt),
652
+ u("radialGradient", {
525
653
  cx: "50%",
526
654
  cy: "50%",
527
655
  r: "50%",
528
656
  fx: "50%",
529
657
  fy: "50%",
530
- id: `nut_${w.value}`
658
+ id: `nut_${C.value}`
531
659
  }, [
532
- n("stop", {
660
+ u("stop", {
533
661
  offset: "0%",
534
- "stop-color": u(I)("#FFFFFF", 0)
535
- }, null, 8, Ut),
536
- n("stop", {
662
+ "stop-color": n(A)("#FFFFFF", 0)
663
+ }, null, 8, Zt),
664
+ u("stop", {
537
665
  offset: "80%",
538
- "stop-color": u(I)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
539
- }, null, 8, Dt),
540
- n("stop", {
666
+ "stop-color": n(A)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
667
+ }, null, 8, Jt),
668
+ u("stop", {
541
669
  offset: "100%",
542
- "stop-color": u(I)("#FFFFFF", 0)
543
- }, null, 8, Yt)
544
- ], 8, Gt),
545
- n("radialGradient", {
670
+ "stop-color": n(A)("#FFFFFF", 0)
671
+ }, null, 8, Qt)
672
+ ], 8, Kt),
673
+ u("radialGradient", {
546
674
  cx: "50%",
547
675
  cy: "50%",
548
676
  r: "50%",
549
677
  fx: "50%",
550
678
  fy: "50%",
551
- id: `nut_underlayer_${w.value}`
679
+ id: `nut_underlayer_${C.value}`
552
680
  }, [
553
- n("stop", {
681
+ u("stop", {
554
682
  offset: "0%",
555
- "stop-color": u(I)(e.value.style.chart.backgroundColor, 100)
556
- }, null, 8, Ht),
557
- n("stop", {
683
+ "stop-color": n(A)(e.value.style.chart.backgroundColor, 100)
684
+ }, null, 8, tl),
685
+ u("stop", {
558
686
  offset: "80%",
559
- "stop-color": u(I)(e.value.style.chart.backgroundColor, 60)
560
- }, null, 8, Wt),
561
- n("stop", {
687
+ "stop-color": n(A)(e.value.style.chart.backgroundColor, 60)
688
+ }, null, 8, ll),
689
+ u("stop", {
562
690
  offset: "100%",
563
- "stop-color": u(I)(e.value.style.chart.backgroundColor, 0)
564
- }, null, 8, Kt)
565
- ], 8, qt)
691
+ "stop-color": n(A)(e.value.style.chart.backgroundColor, 0)
692
+ }, null, 8, al)
693
+ ], 8, el)
566
694
  ]),
567
- e.value.style.chart.layout.grandTotal.show ? (a(), o("g", Jt, [
568
- n("text", {
569
- x: C.value.seedX,
695
+ e.value.style.chart.layout.grandTotal.show ? (a(), o("g", ol, [
696
+ u("text", {
697
+ x: T.value.seedX,
570
698
  y: 32 + e.value.style.chart.layout.grandTotal.offsetY,
571
699
  "font-size": e.value.style.chart.layout.grandTotal.fontSize,
572
700
  "font-weight": e.value.style.chart.layout.grandTotal.bold ? "bold" : "normal",
573
701
  fill: e.value.style.chart.layout.grandTotal.color,
574
702
  "text-anchor": "middle",
575
703
  onClick: $
576
- }, c(e.value.style.chart.layout.grandTotal.text), 9, Qt),
577
- n("text", {
578
- x: C.value.seedX,
704
+ }, c(e.value.style.chart.layout.grandTotal.text), 9, sl),
705
+ u("text", {
706
+ x: T.value.seedX,
579
707
  y: 38 + e.value.style.chart.layout.grandTotal.fontSize + e.value.style.chart.layout.grandTotal.offsetY,
580
708
  "font-size": e.value.style.chart.layout.grandTotal.fontSize,
581
709
  "font-weight": e.value.style.chart.layout.grandTotal.bold ? "bold" : "normal",
582
710
  fill: e.value.style.chart.layout.grandTotal.color,
583
711
  "text-anchor": "middle",
584
712
  onClick: $
585
- }, c(u(G)(
713
+ }, c(n(U)(
586
714
  e.value.style.chart.layout.grandTotal.formatter,
587
- B.value,
588
- u(S)({
715
+ O.value,
716
+ n(S)({
589
717
  p: e.value.style.chart.layout.grandTotal.prefix,
590
- v: B.value,
718
+ v: O.value,
591
719
  s: e.value.style.chart.layout.grandTotal.suffix,
592
720
  r: e.value.style.chart.layout.grandTotal.roundingValue
593
721
  })
594
- )), 9, Zt)
595
- ])) : h("", !0),
596
- (a(!0), o(p, null, g(X.value, (t) => (a(), o("g", null, [
597
- (a(!0), o(p, null, g(r.value.branchSize, (s, b) => (a(), o("path", {
598
- d: `M
599
- ${t.x1},${t.y1 + b}
600
- C${t.x1 - 20},${t.y1 + b}
601
- ${t.x1 - 80},${t.y1 + b}
602
- ${re(t).x + re(t).r / 2}, ${re(t).y}
603
- `,
604
- stroke: u(I)(t.color, e.value.style.chart.layout.links.opacity),
605
- fill: "none",
606
- "stroke-width": "2",
607
- "shape-rendering": "cirspEdges",
608
- style: y(`opacity:${P(t) ? 1 : 0}`),
722
+ )), 9, ul)
723
+ ])) : f("", !0),
724
+ (a(!0), o(g, null, _(E.value, (t) => (a(), o("g", null, [
725
+ u("defs", null, [
726
+ u("linearGradient", {
727
+ id: `link_grad_${t.id}`
728
+ }, [
729
+ u("stop", {
730
+ offset: "0%",
731
+ "stop-color": t.color
732
+ }, null, 8, rl),
733
+ u("stop", {
734
+ offset: "100%",
735
+ "stop-color": n(A)(t.color, e.value.style.chart.layout.links.opacity)
736
+ }, null, 8, il)
737
+ ], 8, nl)
738
+ ]),
739
+ u("path", {
740
+ d: nt(t),
741
+ stroke: n(A)(t.color, e.value.style.chart.layout.links.opacity),
742
+ fill: `url(#link_grad_${t.id})`,
743
+ "stroke-linecap": "round",
744
+ "stroke-linejoin": "round",
745
+ style: y(`opacity:${I(t) ? 1 : 0}`),
609
746
  onClick: $
610
- }, null, 12, el))), 256))
747
+ }, null, 12, cl)
611
748
  ]))), 256)),
612
- (a(!0), o(p, null, g(j.value, (t) => (a(), o("circle", {
749
+ (a(!0), o(g, null, _(X.value, (t) => (a(), o("circle", {
613
750
  cx: t.x,
614
751
  cy: t.y,
615
752
  r: t.r,
616
753
  fill: e.value.style.chart.layout.roots.underlayerColor,
617
754
  stroke: "none",
618
- style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`)
619
- }, null, 12, tl))), 256)),
620
- (a(!0), o(p, null, g(j.value, (t, s) => (a(), o("circle", {
755
+ style: y(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`)
756
+ }, null, 12, dl))), 256)),
757
+ (a(!0), o(g, null, _(X.value, (t, s) => (a(), o("circle", {
621
758
  cx: t.x,
622
759
  cy: t.y,
623
760
  r: t.r,
624
- fill: e.value.style.chart.layout.roots.useGradient ? `url(#root_gradient_${w.value}_${t.rootIndex})` : t.color,
761
+ fill: e.value.style.chart.layout.roots.useGradient ? `url(#root_gradient_${C.value}_${t.rootIndex})` : t.color,
625
762
  stroke: e.value.style.chart.layout.roots.stroke,
626
763
  "stroke-width": e.value.style.chart.layout.roots.strokeWidth,
627
- style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`),
628
- onClick: (b) => $e(t)
629
- }, null, 12, ll))), 256)),
630
- e.value.style.chart.layout.roots.labels.show ? (a(), o("g", al, [
631
- (a(!0), o(p, null, g(j.value, (t, s) => (a(), o("text", {
764
+ style: y(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`),
765
+ onClick: (p) => Te(t)
766
+ }, null, 12, vl))), 256)),
767
+ e.value.style.chart.layout.roots.labels.show ? (a(), o("g", yl, [
768
+ (a(!0), o(g, null, _(X.value, (t, s) => (a(), o("text", {
632
769
  x: t.x,
633
770
  y: t.y + e.value.style.chart.layout.roots.labels.fontSize / 2.6,
634
771
  "text-anchor": "middle",
635
772
  "font-size": e.value.style.chart.layout.roots.labels.fontSize,
636
- fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? u(Le)(t.color) : e.value.style.chart.layout.roots.labels.color,
773
+ fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? n(Pe)(t.color) : e.value.style.chart.layout.roots.labels.color,
637
774
  "font-weight": "bold",
638
- style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`),
639
- onClick: (b) => $e(t)
640
- }, c(u(G)(
775
+ style: y(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`),
776
+ onClick: (p) => Te(t)
777
+ }, c(n(U)(
641
778
  e.value.style.chart.layout.roots.labels.formatter,
642
779
  t.total,
643
- u(S)({
780
+ n(S)({
644
781
  p: e.value.style.chart.layout.roots.labels.prefix,
645
782
  v: t.total,
646
783
  s: e.value.style.chart.layout.roots.labels.suffix,
647
784
  r: e.value.style.chart.layout.roots.labels.roundingValue
648
785
  }),
649
786
  { datapoint: t }
650
- )), 13, ol))), 256)),
651
- (a(!0), o(p, null, g(j.value, (t) => (a(), o("g", null, [
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", {
787
+ )), 13, hl))), 256)),
788
+ (a(!0), o(g, null, _(X.value, (t) => (a(), o("g", null, [
789
+ d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || L.value && t.rootIndex === L.value.rootIndex ? (a(), o("g", fl, [
790
+ u("text", {
654
791
  x: t.x,
655
792
  y: t.y + t.r + 24,
656
793
  "text-anchor": "middle",
@@ -658,11 +795,11 @@ const Tt = ["id"], zt = {
658
795
  "font-size": e.value.style.chart.layout.roots.labels.name.fontSize,
659
796
  "font-weight": e.value.style.chart.layout.roots.labels.name.bold ? "bold" : "normal",
660
797
  onClick: $
661
- }, c(t.name), 9, ul)
662
- ])) : h("", !0)
798
+ }, c(t.name), 9, bl)
799
+ ])) : f("", !0)
663
800
  ]))), 256))
664
- ])) : h("", !0),
665
- (a(!0), o(p, null, g(X.value, (t) => (a(), o("rect", {
801
+ ])) : f("", !0),
802
+ (a(!0), o(g, null, _(E.value, (t) => (a(), o("rect", {
666
803
  x: t.x1,
667
804
  y: t.y1,
668
805
  height: r.value.branchSize,
@@ -670,177 +807,179 @@ const Tt = ["id"], zt = {
670
807
  fill: e.value.style.chart.layout.branches.underlayerColor,
671
808
  rx: e.value.style.chart.layout.branches.borderRadius,
672
809
  stroke: "none",
673
- style: y(`opacity:${P(t) ? 1 : 0.05}`),
674
- onClick: (s) => ie(t)
675
- }, null, 12, nl))), 256)),
676
- (a(!0), o(p, null, g(X.value, (t, s) => (a(), o("rect", {
810
+ style: y(`opacity:${I(t) ? 1 : 0.05}`),
811
+ onClick: (s) => ce(t)
812
+ }, null, 12, pl))), 256)),
813
+ (a(!0), o(g, null, _(E.value, (t, s) => (a(), o("rect", {
677
814
  x: t.x1,
678
815
  y: t.y1,
679
816
  height: r.value.branchSize,
680
817
  width: t.x2 - t.x1,
681
- fill: e.value.style.chart.layout.branches.useGradient ? `url(#branch_gradient_${w.value}_${t.rootIndex})` : t.color,
818
+ fill: e.value.style.chart.layout.branches.useGradient ? `url(#branch_gradient_${C.value}_${t.rootIndex})` : t.color,
682
819
  rx: e.value.style.chart.layout.branches.borderRadius,
683
820
  stroke: e.value.style.chart.layout.branches.stroke,
684
821
  "stroke-width": e.value.style.chart.layout.branches.strokeWidth,
685
- style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`),
686
- onClick: (b) => ie(t)
687
- }, null, 12, rl))), 256)),
688
- e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", il, [
689
- (a(!0), o(p, null, g(X.value, (t) => (a(), o("g", null, [
822
+ style: y(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`),
823
+ onClick: (p) => ce(t)
824
+ }, null, 12, gl))), 256)),
825
+ e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", _l, [
826
+ (a(!0), o(g, null, _(E.value, (t) => (a(), o("g", null, [
690
827
  t.proportionToRoot * 100 > e.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (a(), o("text", {
691
828
  key: 0,
692
829
  x: t.x1 + 6,
693
830
  y: t.y1 + r.value.branchSize / 1.5,
694
831
  "text-anchor": "start",
695
- fill: u(Le)(t.color),
832
+ fill: n(Pe)(t.color),
696
833
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
697
834
  "font-weight": "bold",
698
- style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`),
699
- onClick: (s) => ie(t)
700
- }, c(u(G)(
835
+ style: y(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`),
836
+ onClick: (s) => ce(t)
837
+ }, c(n(U)(
701
838
  e.value.style.chart.layout.branches.labels.dataLabels.formatter,
702
839
  t.value,
703
- u(S)({
840
+ n(S)({
704
841
  p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
705
842
  v: t.value,
706
843
  s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
707
844
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
708
845
  }),
709
846
  { datapoint: t }
710
- )), 13, cl)) : h("", !0)
847
+ )), 13, xl)) : f("", !0)
711
848
  ]))), 256))
712
- ])) : h("", !0),
713
- (a(!0), o(p, null, g(X.value, (t, s) => (a(), o("g", null, [
714
- (a(!0), o(p, null, g(u(Pe)(
849
+ ])) : f("", !0),
850
+ (a(!0), o(g, null, _(E.value, (t, s) => (a(), o("g", null, [
851
+ (a(!0), o(g, null, _(n(Oe)(
715
852
  { series: t.breakdown, base: 1 },
716
853
  t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
717
854
  t.y1 + r.value.branchSize / 2,
718
855
  r.value.branchSize / 3,
719
856
  r.value.branchSize / 3
720
- ), (b, _) => (a(), o("path", {
721
- d: b.path,
722
- stroke: b.color,
857
+ ), (p, b) => (a(), o("path", {
858
+ d: p.path,
859
+ stroke: p.color,
723
860
  "stroke-width": 10,
724
861
  fill: "none",
725
- style: y(`opacity:${P(t) ? 1 : 0.1}`)
726
- }, null, 12, dl))), 256)),
727
- n("circle", {
728
- fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${w.value})` : "transparent",
862
+ style: y(`opacity:${I(t) ? 1 : 0.1}`)
863
+ }, null, 12, ml))), 256)),
864
+ u("circle", {
865
+ fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${C.value})` : "transparent",
729
866
  cx: t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
730
867
  cy: t.y1 + r.value.branchSize / 2,
731
868
  r: r.value.branchSize / 2 + 2,
732
- onClick: (b) => et(t),
733
- style: y(`cursor:pointer;opacity:${P(t) ? 1 : 0.1}`)
734
- }, null, 12, vl)
869
+ onClick: (p) => at(t),
870
+ style: y(`cursor:pointer;opacity:${I(t) ? 1 : 0.1}`)
871
+ }, null, 12, kl)
735
872
  ]))), 256)),
736
- e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", yl, [
737
- (a(!0), o(p, null, g(X.value, (t) => (a(), o("text", {
873
+ e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", wl, [
874
+ (a(!0), o(g, null, _(E.value, (t) => (a(), o("text", {
738
875
  x: t.x2 + r.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
739
876
  y: t.y1 + r.value.branchSize / 2 + 5,
740
877
  "font-size": e.value.style.chart.layout.branches.labels.fontSize,
741
878
  "font-weight": e.value.style.chart.layout.branches.labels.bold ? "bold" : "normal",
742
879
  fill: e.value.style.chart.layout.branches.labels.color,
743
880
  "text-anchor": "start",
744
- style: y(`opacity:${P(t) ? 1 : 0.1}`)
745
- }, c(t.name), 13, hl))), 256))
746
- ])) : h("", !0),
747
- n("line", {
881
+ style: y(`opacity:${I(t) ? 1 : 0.1}`)
882
+ }, c(t.name), 13, Cl))), 256))
883
+ ])) : f("", !0),
884
+ u("line", {
748
885
  x1: 256 + r.value.padding.left,
749
886
  x2: 256 + r.value.padding.left,
750
- y1: C.value.top,
751
- y2: C.value.bottom,
887
+ y1: T.value.top,
888
+ y2: T.value.bottom,
752
889
  stroke: e.value.style.chart.layout.verticalSeparator.stroke,
753
890
  "stroke-width": e.value.style.chart.layout.verticalSeparator.strokeWidth
754
- }, null, 8, fl),
891
+ }, null, 8, $l),
755
892
  !d.value && !x.value ? (a(), o("foreignObject", {
756
893
  key: 6,
757
894
  x: 0,
758
- y: C.value.bottom,
759
- height: r.value.height - C.value.bottom,
895
+ y: T.value.bottom,
896
+ height: r.value.height - T.value.bottom,
760
897
  width: r.value.width,
761
898
  style: { overflow: "visible" },
762
899
  onClick: $
763
900
  }, [
764
- n("div", pl, [
765
- n("div", gl, [
766
- (a(!0), o(p, null, g(j.value, (t) => (a(), o("div", {
901
+ u("div", zl, [
902
+ u("div", Al, [
903
+ (a(!0), o(g, null, _(X.value, (t) => (a(), o("div", {
767
904
  style: y(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
768
905
  }, [
769
- (a(), o("svg", _l, [
770
- n("circle", {
906
+ (a(), o("svg", Sl, [
907
+ u("circle", {
771
908
  cx: "10",
772
909
  cy: "10",
773
910
  r: "10",
774
911
  fill: t.color,
775
912
  stroke: "none"
776
- }, null, 8, xl)
913
+ }, null, 8, Nl)
777
914
  ])),
778
- n("span", null, c(t.name) + ":", 1),
779
- n("b", null, c(u(G)(
780
- e.value.style.chart.layout.roots.labels.formatter,
781
- t.total,
782
- u(S)({
783
- p: e.value.style.chart.layout.legend.prefix,
784
- v: t.total,
785
- s: e.value.style.chart.layout.legend.suffix,
786
- r: e.value.style.chart.layout.legend.roundingValue
787
- }),
788
- { datapoint: t }
789
- )), 1),
790
- ae(" (" + c(u(S)({
791
- v: t.total / B.value * 100,
792
- s: "%",
793
- r: e.value.style.chart.layout.legend.roundingPercentage
794
- })) + ") ", 1)
915
+ n(be) ? f("", !0) : (a(), o(g, { key: 0 }, [
916
+ u("span", null, c(t.name) + ":", 1),
917
+ u("b", null, c(n(U)(
918
+ e.value.style.chart.layout.roots.labels.formatter,
919
+ t.total,
920
+ n(S)({
921
+ p: e.value.style.chart.layout.legend.prefix,
922
+ v: t.total,
923
+ s: e.value.style.chart.layout.legend.suffix,
924
+ r: e.value.style.chart.layout.legend.roundingValue
925
+ }),
926
+ { datapoint: t }
927
+ )), 1),
928
+ ae(" (" + c(n(S)({
929
+ v: t.total / O.value * 100,
930
+ s: "%",
931
+ r: e.value.style.chart.layout.legend.roundingPercentage
932
+ })) + ") ", 1)
933
+ ], 64))
795
934
  ], 4))), 256))
796
935
  ])
797
936
  ])
798
- ], 8, bl)) : h("", !0),
799
- d.value && M.value ? (a(), o("g", ml, [
937
+ ], 8, Tl)) : f("", !0),
938
+ d.value && V.value ? (a(), o("g", Fl, [
800
939
  (a(), o("foreignObject", {
801
940
  x: 0,
802
- y: tt(),
803
- height: r.value.height - C.value.bottom,
941
+ y: ot(),
942
+ height: r.value.height - T.value.bottom,
804
943
  width: r.value.width,
805
944
  style: { overflow: "visible" },
806
945
  onClick: $
807
946
  }, [
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", {
947
+ u("div", Il, [
948
+ u("b", null, c(d.value.name), 1),
949
+ u("div", Rl, [
950
+ (a(!0), o(g, null, _(d.value.breakdown, (t, s) => (a(), o("div", {
812
951
  style: y(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
813
952
  }, [
814
- (a(), o("svg", Cl, [
815
- n("circle", {
953
+ (a(), o("svg", Pl, [
954
+ u("circle", {
816
955
  cx: "10",
817
956
  cy: "10",
818
957
  r: "10",
819
958
  fill: t.color,
820
959
  stroke: "none"
821
- }, null, 8, Tl)
960
+ }, null, 8, Ol)
822
961
  ])),
823
- n("span", null, [
962
+ u("span", null, [
824
963
  ae(c(t.name) + ": ", 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),
964
+ 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),
826
965
  ae(" (" + c((t.proportionToBranch * 100).toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "%)", 1)
827
966
  ])
828
967
  ], 4))), 256))
829
968
  ])
830
969
  ])
831
- ], 8, kl)),
832
- n("circle", {
970
+ ], 8, Ll)),
971
+ u("circle", {
833
972
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
834
973
  cy: d.value.y1 + r.value.branchSize / 2,
835
974
  r: 256,
836
- fill: `url(#nut_underlayer_${w.value})`,
837
- onClick: E,
838
- class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
839
- }, null, 10, zl),
840
- (a(!0), o(p, null, g(M.value, (t) => (a(), o("g", null, [
975
+ fill: `url(#nut_underlayer_${C.value})`,
976
+ onClick: G,
977
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
978
+ }, null, 10, Vl),
979
+ (a(!0), o(g, null, _(V.value, (t) => (a(), o("g", null, [
841
980
  Y(t) ? (a(), o("path", {
842
981
  key: 0,
843
- d: u(gt)(
982
+ d: n(wt)(
844
983
  t,
845
984
  {
846
985
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
@@ -857,149 +996,149 @@ const Tt = ["id"], zt = {
857
996
  "stroke-linecap": "round",
858
997
  "stroke-linejoin": "round",
859
998
  fill: "none",
860
- class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
861
- }, null, 10, Sl)) : h("", !0)
999
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1000
+ }, null, 10, Bl)) : f("", !0)
862
1001
  ]))), 256)),
863
- n("circle", {
1002
+ u("circle", {
864
1003
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
865
1004
  cy: d.value.y1 + r.value.branchSize / 2,
866
1005
  r: 118,
867
1006
  fill: e.value.style.chart.backgroundColor,
868
- onClick: E,
869
- class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
870
- }, null, 10, Nl),
871
- (a(!0), o(p, null, g(M.value, (t) => (a(), o("path", {
1007
+ onClick: G,
1008
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1009
+ }, null, 10, Ml),
1010
+ (a(!0), o(g, null, _(V.value, (t) => (a(), o("path", {
872
1011
  d: t.path,
873
1012
  stroke: t.color,
874
1013
  "stroke-width": 64,
875
1014
  fill: "none",
876
- onClick: E,
877
- class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
878
- }, null, 10, Fl))), 256)),
879
- n("circle", {
1015
+ onClick: G,
1016
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1017
+ }, null, 10, jl))), 256)),
1018
+ u("circle", {
880
1019
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
881
1020
  cy: d.value.y1 + r.value.branchSize / 2,
882
1021
  r: 110,
883
- fill: `url(#nutpick_${w.value})`,
884
- onClick: E,
885
- class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
886
- }, null, 10, Il),
887
- n("circle", {
1022
+ fill: `url(#nutpick_${C.value})`,
1023
+ onClick: G,
1024
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1025
+ }, null, 10, Xl),
1026
+ u("circle", {
888
1027
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
889
1028
  cy: d.value.y1 + r.value.branchSize / 2,
890
1029
  r: 64,
891
1030
  fill: e.value.style.chart.backgroundColor,
892
- onClick: E,
893
- class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
894
- }, null, 10, Ll),
895
- n("text", {
1031
+ onClick: G,
1032
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1033
+ }, null, 10, El),
1034
+ u("text", {
896
1035
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
897
1036
  y: d.value.y1 + 8,
898
1037
  fill: e.value.style.chart.layout.nuts.selected.labels.core.total.color,
899
1038
  "font-size": e.value.style.chart.layout.nuts.selected.labels.core.total.fontSize,
900
1039
  "font-weight": e.value.style.chart.layout.nuts.selected.labels.core.total.bold ? "bold" : "normal",
901
1040
  "text-anchor": "middle",
902
- onClick: E,
903
- class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
904
- }, c(e.value.translations.total), 11, Pl),
905
- n("text", {
1041
+ onClick: G,
1042
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1043
+ }, c(e.value.translations.total), 11, Gl),
1044
+ u("text", {
906
1045
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
907
1046
  y: d.value.y1 + 36,
908
1047
  fill: e.value.style.chart.layout.nuts.selected.labels.core.value.color,
909
1048
  "font-size": e.value.style.chart.layout.nuts.selected.labels.core.value.fontSize,
910
1049
  "font-weight": e.value.style.chart.layout.nuts.selected.labels.core.value.bold ? "bold" : "normal",
911
1050
  "text-anchor": "middle",
912
- onClick: E,
913
- class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
914
- }, c(u(G)(
1051
+ onClick: G,
1052
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1053
+ }, c(n(U)(
915
1054
  e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
916
1055
  d.value.value,
917
- u(S)({
1056
+ n(S)({
918
1057
  p: e.value.style.chart.layout.nuts.selected.labels.core.value.prefix,
919
1058
  v: d.value.value,
920
1059
  s: e.value.style.chart.layout.nuts.selected.labels.core.value.suffix,
921
1060
  r: e.value.style.chart.layout.nuts.selected.roundingValue
922
1061
  }),
923
1062
  { datapoint: d.value }
924
- )), 11, Ol),
925
- (a(!0), o(p, null, g(M.value, (t, s) => (a(), o("g", null, [
1063
+ )), 11, Ul),
1064
+ (a(!0), o(g, null, _(V.value, (t, s) => (a(), o("g", null, [
926
1065
  Y(t) ? (a(), o("text", {
927
1066
  key: 0,
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,
1067
+ x: n(P)(t).x,
1068
+ "text-anchor": n(P)(t).anchor,
1069
+ y: n(Z)(t) - e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 6,
931
1070
  fill: t.color,
932
1071
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 2,
933
1072
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
934
- class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
935
- }, " ⬤ ", 14, Rl)) : h("", !0),
1073
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1074
+ }, " ⬤ ", 14, Dl)) : f("", !0),
936
1075
  Y(t) ? (a(), o("text", {
937
1076
  key: 1,
938
- x: u(R)(t, !0).x,
939
- "text-anchor": u(R)(t, !0).anchor,
940
- y: u(Q)(t),
1077
+ x: n(P)(t, !0).x,
1078
+ "text-anchor": n(P)(t, !0).anchor,
1079
+ y: n(Z)(t),
941
1080
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
942
1081
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
943
1082
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
944
- class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
945
- }, c(d.value.breakdown[s].name), 15, Vl)) : h("", !0)
1083
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1084
+ }, c(d.value.breakdown[s].name), 15, Yl)) : f("", !0)
946
1085
  ]))), 256)),
947
- (a(!0), o(p, null, g(M.value, (t, s) => (a(), o("g", null, [
1086
+ (a(!0), o(g, null, _(V.value, (t, s) => (a(), o("g", null, [
948
1087
  Y(t) ? (a(), o("text", {
949
1088
  key: 0,
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,
1089
+ x: n(P)(t, !0).x,
1090
+ "text-anchor": n(P)(t).anchor,
1091
+ y: n(Z)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
953
1092
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
954
1093
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
955
1094
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
956
- class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
957
- }, c(u(S)({
1095
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1096
+ }, c(n(S)({
958
1097
  v: d.value.breakdown[s].value / d.value.value * 100,
959
1098
  s: "%",
960
1099
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
961
- })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].branchName) + " " + c(u(G)(
1100
+ })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].branchName) + " " + c(n(U)(
962
1101
  e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
963
1102
  d.value.breakdown[s].value,
964
- u(S)({
1103
+ n(S)({
965
1104
  p: e.value.style.chart.layout.nuts.selected.labels.dataLabels.prefix,
966
1105
  v: d.value.breakdown[s].value,
967
1106
  s: e.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
968
1107
  r: e.value.style.chart.layout.nuts.selected.roundingValue
969
1108
  }),
970
- { datapoint: M.value, seriesIndex: s }
971
- )), 15, Bl)) : h("", !0),
1109
+ { datapoint: V.value, seriesIndex: s }
1110
+ )), 15, ql)) : f("", !0),
972
1111
  Y(t) ? (a(), o("text", {
973
1112
  key: 1,
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,
1113
+ x: n(P)(t, !0).x,
1114
+ "text-anchor": n(P)(t).anchor,
1115
+ y: n(Z)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 2,
977
1116
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
978
1117
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
979
1118
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
980
- class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
981
- }, c(u(S)({
1119
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1120
+ }, c(n(S)({
982
1121
  v: d.value.breakdown[s].proportionToRoot * 100,
983
1122
  s: "%",
984
1123
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
985
- })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].rootName), 15, Ml)) : h("", !0),
1124
+ })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].rootName), 15, Hl)) : f("", !0),
986
1125
  Y(t) ? (a(), o("text", {
987
1126
  key: 2,
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,
1127
+ x: n(P)(t, !0).x,
1128
+ "text-anchor": n(P)(t).anchor,
1129
+ y: n(Z)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 3,
991
1130
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
992
1131
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
993
1132
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
994
- class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
995
- }, c(u(S)({
1133
+ class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
1134
+ }, c(n(S)({
996
1135
  v: d.value.breakdown[s].proportionToTree * 100,
997
1136
  s: "%",
998
1137
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
999
- })) + " " + c(e.value.translations.proportionToTree), 15, Al)) : h("", !0)
1138
+ })) + " " + c(e.value.translations.proportionToTree), 15, Wl)) : f("", !0)
1000
1139
  ]))), 256))
1001
- ])) : h("", !0),
1002
- (a(!0), o(p, null, g(X.value, (t) => (a(), o("g", null, [
1140
+ ])) : f("", !0),
1141
+ (a(!0), o(g, null, _(E.value, (t) => (a(), o("g", null, [
1003
1142
  x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
1004
1143
  key: 0,
1005
1144
  x: t.x1 + 6,
@@ -1009,17 +1148,17 @@ const Tt = ["id"], zt = {
1009
1148
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1010
1149
  fill: e.value.style.chart.layout.branches.labels.color,
1011
1150
  onClick: $
1012
- }, c(t.name) + ": " + c(u(G)(
1151
+ }, c(t.name) + ": " + c(n(U)(
1013
1152
  e.value.style.chart.layout.branches.labels.dataLabels.formatter,
1014
1153
  t.value,
1015
- u(S)({
1154
+ n(S)({
1016
1155
  p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
1017
1156
  v: t.value,
1018
1157
  s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
1019
1158
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
1020
1159
  }),
1021
1160
  { datapoint: t }
1022
- )), 9, jl)) : h("", !0),
1161
+ )), 9, Kl)) : f("", !0),
1023
1162
  x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
1024
1163
  key: 1,
1025
1164
  x: t.x1 + 6,
@@ -1028,11 +1167,11 @@ const Tt = ["id"], zt = {
1028
1167
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1029
1168
  fill: e.value.style.chart.layout.branches.labels.color,
1030
1169
  onClick: $
1031
- }, c(u(S)({
1170
+ }, c(n(S)({
1032
1171
  v: t.proportionToRoot * 100,
1033
1172
  s: "%",
1034
1173
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
1035
- })) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, Xl)) : h("", !0),
1174
+ })) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, Zl)) : f("", !0),
1036
1175
  x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
1037
1176
  key: 2,
1038
1177
  x: t.x1 + 6,
@@ -1041,38 +1180,26 @@ const Tt = ["id"], zt = {
1041
1180
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1042
1181
  fill: e.value.style.chart.layout.branches.labels.color,
1043
1182
  onClick: $
1044
- }, c(u(S)({
1045
- v: t.value / B.value * 100,
1183
+ }, c(n(S)({
1184
+ v: t.value / O.value * 100,
1046
1185
  s: "%",
1047
1186
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
1048
- })) + " " + c(e.value.translations.proportionToTree), 9, El)) : h("", !0)
1187
+ })) + " " + c(e.value.translations.proportionToTree), 9, Jl)) : f("", !0)
1049
1188
  ]))), 256)),
1050
1189
  F(l.$slots, "svg", { svg: r.value }, void 0, !0)
1051
- ], 14, St)) : h("", !0),
1052
- l.$slots.watermark ? (a(), o("div", Gl, [
1053
- F(l.$slots, "watermark", te(le({ isPrinting: u(ge) || u(_e) })), void 0, !0)
1054
- ])) : h("", !0),
1055
- W.value ? h("", !0) : (a(), ee(u(je), {
1056
- key: 5,
1057
- config: {
1058
- type: "chestnut",
1059
- style: {
1060
- backgroundColor: e.value.style.chart.backgroundColor,
1061
- chestnut: {
1062
- color: "#CCCCCC"
1063
- }
1064
- }
1065
- }
1066
- }, null, 8, ["config"])),
1190
+ ], 14, Pt)) : f("", !0),
1191
+ l.$slots.watermark ? (a(), o("div", Ql, [
1192
+ F(l.$slots, "watermark", te(le({ isPrinting: n(xe) || n(me) })), void 0, !0)
1193
+ ])) : f("", !0),
1067
1194
  F(l.$slots, "legend", { legend: N.value }, void 0, !0),
1068
- l.$slots.source ? (a(), o("div", Ul, [
1195
+ l.$slots.source ? (a(), o("div", ea, [
1069
1196
  F(l.$slots, "source", {}, void 0, !0)
1070
- ], 512)) : h("", !0),
1071
- W.value ? (a(), ee(u(Ae), {
1072
- key: 7,
1197
+ ], 512)) : f("", !0),
1198
+ he.value ? (a(), ee(n(Ee), {
1199
+ key: 6,
1073
1200
  hideDetails: "",
1074
1201
  config: {
1075
- open: U.value.showTable,
1202
+ open: j.value.showTable,
1076
1203
  maxHeight: 1e4,
1077
1204
  body: {
1078
1205
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -1084,151 +1211,151 @@ const Tt = ["id"], zt = {
1084
1211
  }
1085
1212
  }
1086
1213
  }, {
1087
- content: A(() => [
1088
- n("div", {
1214
+ content: B(() => [
1215
+ u("div", {
1089
1216
  ref_key: "tableContainer",
1090
- ref: ne,
1217
+ ref: ie,
1091
1218
  class: "vue-ui-chestnut-table"
1092
1219
  }, [
1093
- n("div", Dl, [
1094
- n("div", {
1220
+ u("div", ta, [
1221
+ u("div", {
1095
1222
  role: "button",
1096
1223
  tabindex: "0",
1097
1224
  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};`),
1098
- onClick: i[0] || (i[0] = (t) => U.value.showTable = !1),
1099
- onKeypress: i[1] || (i[1] = ct((t) => U.value.showTable = !1, ["enter"]))
1225
+ onClick: i[0] || (i[0] = (t) => j.value.showTable = !1),
1226
+ onKeypress: i[1] || (i[1] = ht((t) => j.value.showTable = !1, ["enter"]))
1100
1227
  }, [
1101
- Ne(u(Ge), {
1228
+ Le(n(Xe), {
1102
1229
  name: "close",
1103
1230
  stroke: e.value.table.th.color,
1104
1231
  "stroke-width": 2
1105
1232
  }, null, 8, ["stroke"])
1106
1233
  ], 36),
1107
- n("div", {
1234
+ u("div", {
1108
1235
  style: { width: "100%" },
1109
- class: k({ "vue-ui-responsive": ke.value })
1236
+ class: w({ "vue-ui-responsive": Ce.value })
1110
1237
  }, [
1111
- n("table", Yl, [
1112
- n("caption", {
1238
+ u("table", la, [
1239
+ u("caption", {
1113
1240
  style: y({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
1114
1241
  class: "vue-ui-data-table__caption"
1115
1242
  }, [
1116
1243
  ae(c(e.value.style.chart.layout.title.text) + " ", 1),
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)
1244
+ e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", aa, c(e.value.style.chart.layout.title.subtitle.text), 1)) : f("", !0)
1118
1245
  ], 4),
1119
- n("thead", null, [
1120
- n("tr", {
1246
+ u("thead", null, [
1247
+ u("tr", {
1121
1248
  role: "row",
1122
1249
  style: y(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1123
1250
  }, [
1124
- (a(!0), o(p, null, g(v.value.head, (t) => (a(), o("th", {
1251
+ (a(!0), o(g, null, _(v.value.head, (t) => (a(), o("th", {
1125
1252
  style: y(`outline:${e.value.table.th.outline}`)
1126
1253
  }, c(t), 5))), 256))
1127
1254
  ], 4)
1128
1255
  ]),
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 }),
1256
+ u("tbody", null, [
1257
+ (a(!0), o(g, null, _(v.value.body, (t, s) => (a(), o("tr", {
1258
+ class: w({ "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 }),
1132
1259
  style: y(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1133
1260
  }, [
1134
- n("td", {
1261
+ u("td", {
1135
1262
  class: "vue-ui-data-table__tbody__td",
1136
1263
  style: y(`outline:${e.value.table.td.outline}`),
1137
1264
  "data-cell": v.value.head[0]
1138
1265
  }, [
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))
1266
+ u("div", sa, [
1267
+ v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", ua)) : (a(), o("span", na, c(t.rootName), 1))
1141
1268
  ])
1142
- ], 12, Hl),
1143
- n("td", {
1269
+ ], 12, oa),
1270
+ u("td", {
1144
1271
  class: "vue-ui-data-table__tbody__td",
1145
1272
  style: y(`outline:${e.value.table.td.outline}`),
1146
1273
  "data-cell": v.value.head[1]
1147
1274
  }, [
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))
1275
+ u("div", ia, [
1276
+ v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", ca)) : (a(), o("span", da, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
1150
1277
  ])
1151
- ], 12, Ql),
1152
- n("td", {
1278
+ ], 12, ra),
1279
+ u("td", {
1153
1280
  class: "vue-ui-data-table__tbody__td",
1154
1281
  style: y(`outline:${e.value.table.td.outline}`),
1155
1282
  "data-cell": v.value.head[2]
1156
1283
  }, [
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))
1284
+ u("div", ya, [
1285
+ v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", ha)) : (a(), o("span", fa, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1159
1286
  ])
1160
- ], 12, la),
1161
- n("td", {
1287
+ ], 12, va),
1288
+ u("td", {
1162
1289
  class: "vue-ui-data-table__tbody__td",
1163
1290
  style: y(`outline:${e.value.table.td.outline}`),
1164
1291
  "data-cell": v.value.head[3]
1165
1292
  }, [
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))
1293
+ u("div", pa, [
1294
+ v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", ga)) : (a(), o("span", _a, c(t.branchName), 1))
1168
1295
  ])
1169
- ], 12, ua),
1170
- n("td", {
1296
+ ], 12, ba),
1297
+ u("td", {
1171
1298
  class: "vue-ui-data-table__tbody__td",
1172
1299
  style: y(`outline:${e.value.table.td.outline}`),
1173
1300
  "data-cell": v.value.head[4]
1174
1301
  }, [
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))
1302
+ u("div", ma, [
1303
+ v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", ka)) : (a(), o("span", wa, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
1177
1304
  ])
1178
- ], 12, ca),
1179
- n("td", {
1305
+ ], 12, xa),
1306
+ u("td", {
1180
1307
  class: "vue-ui-data-table__tbody__td",
1181
1308
  style: y(`outline:${e.value.table.td.outline}`),
1182
1309
  "data-cell": v.value.head[5]
1183
1310
  }, [
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))
1311
+ u("div", $a, [
1312
+ v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Ta)) : (a(), o("span", za, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1186
1313
  ])
1187
- ], 12, ha),
1188
- n("td", {
1314
+ ], 12, Ca),
1315
+ u("td", {
1189
1316
  class: "vue-ui-data-table__tbody__td",
1190
1317
  style: y(`outline:${e.value.table.td.outline}`),
1191
1318
  "data-cell": v.value.head[6]
1192
1319
  }, [
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))
1320
+ u("div", Sa, [
1321
+ v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Na)) : (a(), o("span", Fa, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1195
1322
  ])
1196
- ], 12, ga),
1197
- n("td", {
1323
+ ], 12, Aa),
1324
+ u("td", {
1198
1325
  class: "vue-ui-data-table__tbody__td",
1199
1326
  style: y(`outline:${e.value.table.td.outline}`),
1200
1327
  "data-cell": v.value.head[7]
1201
1328
  }, [
1202
- n("div", wa, c(t.nutName), 1)
1203
- ], 12, ka),
1204
- n("td", {
1329
+ u("div", Ia, c(t.nutName), 1)
1330
+ ], 12, La),
1331
+ u("td", {
1205
1332
  class: "vue-ui-data-table__tbody__td",
1206
1333
  style: y(`outline:${e.value.table.td.outline}`),
1207
1334
  "data-cell": v.value.head[8]
1208
1335
  }, [
1209
- n("div", Ca, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1210
- ], 12, $a),
1211
- n("td", {
1336
+ u("div", Pa, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1337
+ ], 12, Ra),
1338
+ u("td", {
1212
1339
  class: "vue-ui-data-table__tbody__td",
1213
1340
  style: y(`outline:${e.value.table.td.outline}`),
1214
1341
  "data-cell": v.value.head[9]
1215
1342
  }, [
1216
- n("div", za, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1217
- ], 12, Ta),
1218
- n("td", {
1343
+ u("div", Va, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1344
+ ], 12, Oa),
1345
+ u("td", {
1219
1346
  class: "vue-ui-data-table__tbody__td",
1220
1347
  style: y(`outline:${e.value.table.td.outline}`),
1221
1348
  "data-cell": v.value.head[10]
1222
1349
  }, [
1223
- n("div", Na, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1224
- ], 12, Sa),
1225
- n("td", {
1350
+ u("div", Ma, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1351
+ ], 12, Ba),
1352
+ u("td", {
1226
1353
  class: "vue-ui-data-table__tbody__td",
1227
1354
  style: y(`outline:${e.value.table.td.outline}`),
1228
1355
  "data-cell": v.value.head[11]
1229
1356
  }, [
1230
- n("div", Ia, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1231
- ], 12, Fa)
1357
+ u("div", Xa, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1358
+ ], 12, ja)
1232
1359
  ], 6))), 256))
1233
1360
  ])
1234
1361
  ])
@@ -1237,10 +1364,11 @@ const Tt = ["id"], zt = {
1237
1364
  ], 512)
1238
1365
  ]),
1239
1366
  _: 1
1240
- }, 8, ["config"])) : h("", !0)
1241
- ], 46, Tt));
1367
+ }, 8, ["config"])) : f("", !0),
1368
+ n(be) ? (a(), ee(zt, { key: 7 })) : f("", !0)
1369
+ ], 46, It));
1242
1370
  }
1243
- }, Xa = /* @__PURE__ */ Ct(La, [["__scopeId", "data-v-21b8f426"]]);
1371
+ }, Ja = /* @__PURE__ */ Lt(Ea, [["__scopeId", "data-v-021d3e15"]]);
1244
1372
  export {
1245
- Xa as default
1373
+ Ja as default
1246
1374
  };