vue-data-ui 2.12.8-beta.3 → 2.13.0

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 (92) hide show
  1. package/README.md +10 -4
  2. package/dist/{Arrow-kQyQXUUg.js → Arrow-B2y3GYgv.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DLRFrsDT.js → BaseDraggableDialog-B3CZVeze.js} +2 -2
  4. package/dist/{BaseIcon-DaR0sIWZ.js → BaseIcon-P7wV92Er.js} +1 -1
  5. package/dist/{ColorPicker-Bj3sq9o7.js → ColorPicker-C7b6TR_9.js} +2 -2
  6. package/dist/{DataTable-BBqbcutV.js → DataTable-DBkfb6pd.js} +2 -2
  7. package/dist/{Legend-DRqzYrP9.js → Legend-DcDRW3Xd.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-CQIC2PMP.js → NonSvgPenAndPaper-DYA_rF1x.js} +3 -3
  9. package/dist/{PackageVersion-ClpqQxYT.js → PackageVersion-C5fpg4GN.js} +2 -2
  10. package/dist/{PenAndPaper-B-T7XvxF.js → PenAndPaper-BRkuVFb4.js} +3 -3
  11. package/dist/{Shape-DEWxbZ-l.js → Shape-CnD-h_98.js} +1 -1
  12. package/dist/{Slicer-o6jJH5bw.js → Slicer-CxdgZOQ7.js} +2 -2
  13. package/dist/{SparkTooltip-LPnbBoFu.js → SparkTooltip-BIAMOmfJ.js} +1 -1
  14. package/dist/{Title-apr_T9tg.js → Title-DoWqzga-.js} +1 -1
  15. package/dist/{Tooltip-BuHsMAfp.js → Tooltip-DYCBNM-_.js} +1 -1
  16. package/dist/{UserOptions-OVNxxnq5.js → UserOptions-B3q-xfQV.js} +16 -11
  17. package/dist/dom-to-png-4VVH9Qna.js +247 -0
  18. package/dist/img-Dy6IrSzX.js +20 -0
  19. package/dist/{index-CH_mJIWj.js → index-BXbyT0Qn.js} +6 -2
  20. package/dist/{pdf-Jun3ogRn.js → pdf-ZrUvUcH9.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +20 -3
  23. package/dist/types/vue-data-ui.d.ts +20 -3
  24. package/dist/{useNestedProp-rMR-JeOJ.js → useNestedProp-DVZpeH84.js} +1 -1
  25. package/dist/{usePrinter-DJ7WfWUs.js → usePrinter-aKh5-HcK.js} +2 -2
  26. package/dist/{vue-data-ui-D7AaTKU6.js → vue-data-ui-DUHiuRmY.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-BfLLrwWi.js → vue-ui-3d-bar-C3cqHCNp.js} +173 -173
  29. package/dist/{vue-ui-accordion-Ds4zkPIx.js → vue-ui-accordion-CXsjHe1y.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-C7ca5TG5.js → vue-ui-age-pyramid-B2EpIzV9.js} +179 -179
  31. package/dist/{vue-ui-annotator-DG2z1gw8.js → vue-ui-annotator-Czvbjx_j.js} +2 -2
  32. package/dist/{vue-ui-bullet-Dh25QAEH.js → vue-ui-bullet-ClY1tgTT.js} +6 -6
  33. package/dist/{vue-ui-candlestick-7Yo_kEV0.js → vue-ui-candlestick-BQ1RVdoH.js} +113 -113
  34. package/dist/{vue-ui-carousel-table-Det9Kwmy.js → vue-ui-carousel-table-UQjCOJJV.js} +94 -94
  35. package/dist/{vue-ui-chestnut-DLlFv6Uj.js → vue-ui-chestnut-DmEa8kef.js} +452 -452
  36. package/dist/{vue-ui-chord-BXlv5Z2x.js → vue-ui-chord-CEDZ-UcP.js} +17 -17
  37. package/dist/{vue-ui-circle-pack-DdRcdWmx.js → vue-ui-circle-pack-Bx_mLhCR.js} +116 -116
  38. package/dist/{vue-ui-cursor-Djtg6Ppw.js → vue-ui-cursor-D27qwk90.js} +2 -2
  39. package/dist/{vue-ui-dashboard-C4MDDCl6.js → vue-ui-dashboard-DKsYxh6J.js} +62 -62
  40. package/dist/{vue-ui-digits-8Ox6q1Ov.js → vue-ui-digits-CdDTbIAN.js} +2 -2
  41. package/dist/{vue-ui-donut-Hk4EaVhb.js → vue-ui-donut-DS-DfHIm.js} +149 -149
  42. package/dist/{vue-ui-donut-evolution-DzgYokPU.js → vue-ui-donut-evolution-XMEmv1DK.js} +109 -109
  43. package/dist/{vue-ui-dumbbell-CAC44_Hu.js → vue-ui-dumbbell-DAm5A4u3.js} +65 -65
  44. package/dist/{vue-ui-flow-CYWiZjrP.js → vue-ui-flow-CTbmqqmV.js} +12 -12
  45. package/dist/{vue-ui-funnel-C2eqxh_8.js → vue-ui-funnel-CihunDsZ.js} +65 -65
  46. package/dist/{vue-ui-galaxy-BBfg84E4.js → vue-ui-galaxy-CJHycmpt.js} +82 -82
  47. package/dist/{vue-ui-gauge-BJgJgef_.js → vue-ui-gauge-Bsc9wIKK.js} +5 -5
  48. package/dist/{vue-ui-gizmo-DBclpybR.js → vue-ui-gizmo-D6AciZZe.js} +3 -3
  49. package/dist/{vue-ui-heatmap-D65wOgqe.js → vue-ui-heatmap-in5WwNRr.js} +221 -221
  50. package/dist/{vue-ui-history-plot-CHhDy7Da.js → vue-ui-history-plot-C9IEmAmm.js} +232 -232
  51. package/dist/{vue-ui-kpi-uT6fsAaO.js → vue-ui-kpi-fDPWRpRZ.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CKVlBiYB.js → vue-ui-mini-loader-BeJRaP7N.js} +2 -2
  53. package/dist/{vue-ui-molecule-BwtHZtGN.js → vue-ui-molecule-BJbwA0F6.js} +30 -30
  54. package/dist/{vue-ui-mood-radar-Vf4_-R-m.js → vue-ui-mood-radar--YEOJ6q6.js} +75 -75
  55. package/dist/{vue-ui-nested-donuts-BVkSns4S.js → vue-ui-nested-donuts-BswKH0D6.js} +16 -16
  56. package/dist/{vue-ui-onion-UzMmwtvF.js → vue-ui-onion-BAw8X4iu.js} +70 -70
  57. package/dist/{vue-ui-parallel-coordinate-plot-Dk5T3ZAr.js → vue-ui-parallel-coordinate-plot-CYkzOe_Q.js} +11 -11
  58. package/dist/{vue-ui-quadrant-Ck7xALez.js → vue-ui-quadrant-BupqUnMn.js} +11 -11
  59. package/dist/{vue-ui-quick-chart-B62Pa0nG.js → vue-ui-quick-chart-BzpDL6CR.js} +5 -5
  60. package/dist/{vue-ui-radar-DMfv2hSb.js → vue-ui-radar-zPrbIZv5.js} +283 -282
  61. package/dist/{vue-ui-rating-CFYHJrxj.js → vue-ui-rating-DqCOz2LB.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-RWlfC5BI.js → vue-ui-relation-circle-DQp_zboM.js} +5 -5
  63. package/dist/{vue-ui-ridgeline-Bh93VzcO.js → vue-ui-ridgeline-DoJfX7Ii.js} +100 -100
  64. package/dist/{vue-ui-rings-CyX30Ccv.js → vue-ui-rings-Bk4QJYsW.js} +96 -96
  65. package/dist/{vue-ui-scatter-BEDnWByj.js → vue-ui-scatter-RxF0N8Zj.js} +164 -164
  66. package/dist/{vue-ui-skeleton-C6PWt_m5.js → vue-ui-skeleton-Fxr752Oi.js} +3 -3
  67. package/dist/{vue-ui-smiley-79itAe84.js → vue-ui-smiley-CNScIHKI.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-AaA4KuaH.js → vue-ui-spark-trend-CyMzdoJ9.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-CYBZeaor.js → vue-ui-sparkbar-DMTRPWwC.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-ElGarXVS.js → vue-ui-sparkgauge-itAGdTj_.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C_LV99i1.js → vue-ui-sparkhistogram-CZx5cF_r.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DwzCA8d6.js → vue-ui-sparkline-POYMl6cO.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-CobB11uw.js → vue-ui-sparkstackbar-C0EE8xrA.js} +3 -3
  74. package/dist/{vue-ui-stackbar-B4SxM5Ix.js → vue-ui-stackbar-B6ytrTFL.js} +37 -37
  75. package/dist/{vue-ui-strip-plot-9VK_Y3SC.js → vue-ui-strip-plot-u39z36tT.js} +80 -80
  76. package/dist/{vue-ui-table-DFTE1OH5.js → vue-ui-table-Cvmrm0sZ.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DvyJx0j7.js → vue-ui-table-heatmap-BOFRFilm.js} +57 -57
  78. package/dist/{vue-ui-table-sparkline-SGsBnQTK.js → vue-ui-table-sparkline-CMhk8rpj.js} +72 -72
  79. package/dist/{vue-ui-thermometer-DEMS6HXl.js → vue-ui-thermometer-Cxznchnu.js} +5 -5
  80. package/dist/{vue-ui-timer-CQ71yJ_N.js → vue-ui-timer-Du0Cskiy.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-CsN_QtUK.js → vue-ui-tiremarks-BzC40iBw.js} +5 -5
  82. package/dist/{vue-ui-treemap-B0CPNusH.js → vue-ui-treemap-D5Nk7usb.js} +297 -297
  83. package/dist/{vue-ui-vertical-bar-Cxv-ahMT.js → vue-ui-vertical-bar-BivMp4WH.js} +81 -81
  84. package/dist/{vue-ui-waffle-TgNNo9UX.js → vue-ui-waffle-DI0Ul1Tb.js} +50 -50
  85. package/dist/{vue-ui-wheel-Bq0ZLc-R.js → vue-ui-wheel-BfHsxhQq.js} +5 -5
  86. package/dist/{vue-ui-word-cloud-D28awCaT.js → vue-ui-word-cloud-ytYbdQKa.js} +67 -67
  87. package/dist/{vue-ui-world-BhUsfhY5.js → vue-ui-world-CiYvMEKb.js} +55 -55
  88. package/dist/{vue-ui-xy-CEFkua9H.js → vue-ui-xy-DxgCkZEV.js} +201 -182
  89. package/dist/{vue-ui-xy-canvas-oHhzL0ui.js → vue-ui-xy-canvas-R0tICTKy.js} +80 -80
  90. package/package.json +1 -1
  91. package/dist/dom-to-png-C0Ct8ClX.js +0 -243
  92. package/dist/img-P0SFFw37.js +0 -19
@@ -1,31 +1,31 @@
1
- import { useCssVars as lt, defineAsyncComponent as q, computed as m, ref as T, watch as at, shallowRef as ot, onMounted as st, onBeforeUnmount as ut, createElementBlock as o, openBlock as a, unref as s, normalizeStyle as h, normalizeClass as k, createBlock as Q, createCommentVNode as f, renderSlot as S, createSlots as nt, withCtx as B, normalizeProps as Z, guardReactiveProps as ee, createVNode as ze, createElementVNode as u, toDisplayString as c, Fragment as g, renderList as _, createTextVNode as te, withKeys as rt, nextTick as Ne } from "vue";
2
- import { u as it, c as ct, t as dt, p as P, a as vt, b as yt, g as ie, e as le, d as ce, o as ht, X as ft, s as F, w as Se, i as G, f as z, G as Fe, m as Ie, j as bt, k as K, n as V, q as pt, r as gt } from "./index-CH_mJIWj.js";
3
- import { u as Le } from "./useNestedProp-rMR-JeOJ.js";
4
- import { u as _t } from "./usePrinter-DJ7WfWUs.js";
5
- import { u as xt } from "./useUserOptionState-BIvW1Kz7.js";
6
- import { u as mt } from "./useChartAccessibility-9icAAmYg.js";
7
- import { _ as kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
- const wt = ["id"], $t = {
1
+ import { useCssVars as at, defineAsyncComponent as H, computed as m, ref as z, watch as ot, shallowRef as st, onMounted as ut, onBeforeUnmount as nt, createElementBlock as o, openBlock as a, unref as s, normalizeStyle as y, normalizeClass as k, createBlock as Z, createCommentVNode as h, renderSlot as F, createSlots as rt, withCtx as A, normalizeProps as ee, guardReactiveProps as te, createVNode as Ne, createElementVNode as u, toDisplayString as c, Fragment as p, renderList as g, createTextVNode as le, withKeys as it, nextTick as Se } from "vue";
2
+ import { u as ct, c as dt, t as vt, p as V, a as yt, b as ht, g as ce, e as ae, d as de, o as ft, X as bt, s as I, w as Fe, i as E, f as N, G as Ie, m as Le, j as pt, k as J, n as O, q as gt, r as _t } from "./index-BXbyT0Qn.js";
3
+ import { u as Pe } from "./useNestedProp-DVZpeH84.js";
4
+ import { u as xt } from "./usePrinter-aKh5-HcK.js";
5
+ import { u as mt } from "./useUserOptionState-BIvW1Kz7.js";
6
+ import { u as kt } from "./useChartAccessibility-9icAAmYg.js";
7
+ import { _ as wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
+ const $t = ["id"], Ct = {
9
9
  key: 1,
10
10
  ref: "noTitle",
11
11
  class: "vue-data-ui-no-title-space",
12
12
  style: "height:36px; width: 100%;background:transparent"
13
- }, Ct = ["xmlns", "viewBox"], Tt = ["width", "height"], zt = { key: 1 }, Nt = ["fill", "font-weight", "font-size", "x", "y"], St = ["fill", "font-weight", "font-size", "x", "y"], Ft = ["id"], It = ["stop-color"], Lt = ["stop-color"], Pt = ["id"], Vt = ["stop-color"], Ot = ["stop-color"], Rt = ["id"], Mt = ["stop-color"], Bt = ["stop-color"], At = ["stop-color"], jt = ["id"], Xt = ["stop-color"], Gt = ["stop-color"], Et = ["stop-color"], Ut = ["id"], Dt = ["stop-color"], Yt = ["stop-color"], qt = ["stop-color"], Ht = { key: 2 }, Wt = ["x", "y", "font-size", "font-weight", "fill"], Kt = ["x", "y", "font-size", "font-weight", "fill"], Jt = ["d", "stroke"], Qt = ["cx", "cy", "r", "fill"], Zt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], el = { key: 3 }, tl = ["x", "y", "font-size", "fill", "onClick"], ll = { key: 0 }, al = ["x", "y", "fill", "font-size", "font-weight"], ol = ["x", "y", "height", "width", "fill", "rx", "onClick"], sl = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], ul = { key: 4 }, nl = ["x", "y", "fill", "font-size", "onClick"], rl = ["d", "stroke"], il = ["fill", "cx", "cy", "r", "onClick"], cl = { key: 5 }, dl = ["x", "y", "font-size", "font-weight", "fill"], vl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], yl = ["y", "height", "width"], hl = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, fl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, bl = {
13
+ }, Tt = ["xmlns", "viewBox"], zt = ["width", "height"], Nt = { key: 1 }, St = ["fill", "font-weight", "font-size", "x", "y"], Ft = ["fill", "font-weight", "font-size", "x", "y"], It = ["id"], Lt = ["stop-color"], Pt = ["stop-color"], Vt = ["id"], Ot = ["stop-color"], Rt = ["stop-color"], Mt = ["id"], Bt = ["stop-color"], At = ["stop-color"], jt = ["stop-color"], Xt = ["id"], Gt = ["stop-color"], Et = ["stop-color"], Ut = ["stop-color"], Dt = ["id"], Yt = ["stop-color"], qt = ["stop-color"], Ht = ["stop-color"], Wt = { key: 2 }, Kt = ["x", "y", "font-size", "font-weight", "fill"], Jt = ["x", "y", "font-size", "font-weight", "fill"], Qt = ["d", "stroke"], Zt = ["cx", "cy", "r", "fill"], el = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], tl = { key: 3 }, ll = ["x", "y", "font-size", "fill", "onClick"], al = { key: 0 }, ol = ["x", "y", "fill", "font-size", "font-weight"], sl = ["x", "y", "height", "width", "fill", "rx", "onClick"], ul = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], nl = { key: 4 }, rl = ["x", "y", "fill", "font-size", "onClick"], il = ["d", "stroke"], cl = ["fill", "cx", "cy", "r", "onClick"], dl = { key: 5 }, vl = ["x", "y", "font-size", "font-weight", "fill"], yl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], hl = ["y", "height", "width"], fl = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, bl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, pl = {
14
14
  viewBox: "0 0 20 20",
15
15
  height: "16",
16
16
  width: "16"
17
- }, pl = ["fill"], gl = { key: 7 }, _l = ["y", "height", "width"], xl = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, ml = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, kl = {
17
+ }, gl = ["fill"], _l = { key: 7 }, xl = ["y", "height", "width"], ml = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, kl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, wl = {
18
18
  viewBox: "0 0 20 20",
19
19
  height: "16",
20
20
  width: "16"
21
- }, wl = ["fill"], $l = ["cx", "cy", "fill"], Cl = ["d", "stroke"], Tl = ["cx", "cy", "fill"], zl = ["d", "stroke"], Nl = ["cx", "cy", "fill"], Sl = ["cx", "cy", "fill"], Fl = ["x", "y", "fill", "font-size", "font-weight"], Il = ["x", "y", "fill", "font-size", "font-weight"], Ll = ["x", "text-anchor", "y", "fill", "font-size"], Pl = ["x", "text-anchor", "y", "fill", "font-size"], Vl = ["x", "text-anchor", "y", "fill", "font-size"], Ol = ["x", "text-anchor", "y", "fill", "font-size"], Rl = ["x", "text-anchor", "y", "fill", "font-size"], Ml = ["x", "y", "font-size", "fill"], Bl = ["x", "y", "font-size", "fill"], Al = ["x", "y", "font-size", "fill"], jl = {
21
+ }, $l = ["fill"], Cl = ["cx", "cy", "fill"], Tl = ["d", "stroke"], zl = ["cx", "cy", "fill"], Nl = ["d", "stroke"], Sl = ["cx", "cy", "fill"], Fl = ["cx", "cy", "fill"], Il = ["x", "y", "fill", "font-size", "font-weight"], Ll = ["x", "y", "fill", "font-size", "font-weight"], Pl = ["x", "text-anchor", "y", "fill", "font-size"], Vl = ["x", "text-anchor", "y", "fill", "font-size"], Ol = ["x", "text-anchor", "y", "fill", "font-size"], Rl = ["x", "text-anchor", "y", "fill", "font-size"], Ml = ["x", "text-anchor", "y", "fill", "font-size"], Bl = ["x", "y", "font-size", "fill"], Al = ["x", "y", "font-size", "fill"], jl = ["x", "y", "font-size", "fill"], Xl = {
22
22
  key: 4,
23
23
  class: "vue-data-ui-watermark"
24
- }, Xl = {
24
+ }, Gl = {
25
25
  key: 6,
26
26
  ref: "source",
27
27
  dir: "auto"
28
- }, Gl = { style: { "padding-top": "36px", position: "relative" } }, El = { class: "vue-ui-data-table" }, Ul = { key: 0 }, Dl = ["data-cell"], Yl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ql = { key: 0 }, Hl = { key: 1 }, Wl = ["data-cell"], Kl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Jl = { key: 0 }, Ql = { key: 1 }, Zl = ["data-cell"], ea = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ta = { key: 0 }, la = { key: 1 }, aa = ["data-cell"], oa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, sa = { key: 0 }, ua = { key: 1 }, na = ["data-cell"], ra = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ia = { key: 0 }, ca = { key: 1 }, da = ["data-cell"], va = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ya = { key: 0 }, ha = { key: 1 }, fa = ["data-cell"], ba = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, pa = { key: 0 }, ga = { key: 1 }, _a = ["data-cell"], xa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ma = ["data-cell"], ka = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, wa = ["data-cell"], $a = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ca = ["data-cell"], Ta = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, za = ["data-cell"], Na = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Sa = {
28
+ }, El = { style: { "padding-top": "36px", position: "relative" } }, Ul = { class: "vue-ui-data-table" }, Dl = { key: 0 }, Yl = ["data-cell"], ql = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Hl = { key: 0 }, Wl = { key: 1 }, Kl = ["data-cell"], Jl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ql = { key: 0 }, Zl = { key: 1 }, ea = ["data-cell"], ta = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, la = { key: 0 }, aa = { key: 1 }, oa = ["data-cell"], sa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ua = { 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 = ["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" } }, Na = ["data-cell"], Sa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Fa = {
29
29
  __name: "vue-ui-chestnut",
30
30
  props: {
31
31
  config: {
@@ -42,37 +42,37 @@ const wt = ["id"], $t = {
42
42
  }
43
43
  },
44
44
  emits: ["selectRoot", "selectBranch", "selectNut"],
45
- setup(Pe, { expose: Ve, emit: Oe }) {
46
- lt((l) => ({
47
- "5fc3545f": l.tdo
45
+ setup(Ve, { expose: Oe, emit: Re }) {
46
+ at((l) => ({
47
+ "69a9e7b7": l.tdo
48
48
  }));
49
- const Re = q(() => import("./PenAndPaper-B-T7XvxF.js")), Me = q(() => import("./vue-ui-accordion-Ds4zkPIx.js")), Be = q(() => import("./vue-ui-skeleton-C6PWt_m5.js")), Ae = q(() => import("./UserOptions-OVNxxnq5.js")), je = q(() => import("./PackageVersion-ClpqQxYT.js")), Xe = q(() => import("./BaseIcon-DaR0sIWZ.js")), { vue_ui_chestnut: Ge } = it(), O = Pe, H = m(() => !!O.dataset && O.dataset.length), w = T(ct()), de = T(null), Ee = T(null), ve = T(0), e = m({
50
- get: () => be(),
49
+ const Me = H(() => import("./PenAndPaper-BRkuVFb4.js")), Be = H(() => import("./vue-ui-accordion-CXsjHe1y.js")), Ae = H(() => import("./vue-ui-skeleton-Fxr752Oi.js")), je = H(() => import("./UserOptions-B3q-xfQV.js")), Xe = H(() => import("./PackageVersion-C5fpg4GN.js")), Ge = H(() => import("./BaseIcon-P7wV92Er.js")), { vue_ui_chestnut: Ee } = ct(), R = Ve, W = m(() => !!R.dataset && R.dataset.length), w = z(dt()), ve = z(null), Ue = z(null), ye = z(0), e = m({
50
+ get: () => pe(),
51
51
  set: (l) => l
52
- }), { userOptionsVisible: ae, setUserOptionsVisibility: ye, keepUserOptionState: he } = xt({ config: e.value }), { svgRef: fe } = mt({ config: e.value.style.chart.layout.title });
53
- function be() {
54
- const l = Le({
55
- userConfig: O.config,
56
- defaultConfig: Ge
52
+ }), { userOptionsVisible: oe, setUserOptionsVisibility: he, keepUserOptionState: fe } = mt({ config: e.value }), { svgRef: be } = kt({ config: e.value.style.chart.layout.title });
53
+ function pe() {
54
+ const l = Pe({
55
+ userConfig: R.config,
56
+ defaultConfig: Ee
57
57
  });
58
58
  return l.theme ? {
59
- ...Le({
60
- userConfig: vt.vue_ui_chestnut[l.theme] || O.config,
59
+ ...Pe({
60
+ userConfig: yt.vue_ui_chestnut[l.theme] || R.config,
61
61
  defaultConfig: l
62
62
  }),
63
- customPalette: dt[l.theme] || P
63
+ customPalette: vt[l.theme] || V
64
64
  } : l;
65
65
  }
66
- at(() => O.config, (l) => {
67
- e.value = be(), ae.value = !e.value.userOptions.showOnChartHover, E.value.showTable = e.value.table.show, $e();
66
+ ot(() => R.config, (l) => {
67
+ e.value = pe(), oe.value = !e.value.userOptions.showOnChartHover, U.value.showTable = e.value.table.show, Ce();
68
68
  }, { deep: !0 });
69
- const { isPrinting: pe, isImaging: ge, generatePdf: _e, generateImage: xe } = _t({
69
+ const { isPrinting: ge, isImaging: _e, generatePdf: xe, generateImage: me } = xt({
70
70
  elementId: `vue-ui-chestnut_${w.value}`,
71
71
  fileName: e.value.style.chart.layout.title.text || "vue-ui-chestnut",
72
72
  options: e.value.userOptions.print
73
- }), Ue = m(() => e.value.userOptions.show), oe = m(() => yt(e.value.customPalette)), E = T({
73
+ }), De = m(() => e.value.userOptions.show), se = m(() => ht(e.value.customPalette)), U = z({
74
74
  showTable: e.value.table.show
75
- }), se = T(null), me = T(!1), De = m(() => e.value.table.responsiveBreakpoint), r = T({
75
+ }), ue = z(null), ke = z(!1), Ye = m(() => e.value.table.responsiveBreakpoint), r = z({
76
76
  gap: 6,
77
77
  padding: {
78
78
  top: 102,
@@ -92,47 +92,47 @@ const wt = ["id"], $t = {
92
92
  width: r.value.width - (r.value.padding.left + r.value.padding.right),
93
93
  height: r.value.height - (r.value.padding.top + r.value.padding.bottom),
94
94
  seedX: r.value.padding.left + 64
95
- })), R = m(() => H.value ? O.dataset.flatMap((l) => (l.branches || []).map((i) => i.value || 0)).reduce((l, i) => l + i, 0) : 0), N = m(() => (O.dataset.forEach((l, i) => {
96
- ie({
95
+ })), M = m(() => W.value ? R.dataset.flatMap((l) => (l.branches || []).map((i) => i.value || 0)).reduce((l, i) => l + i, 0) : 0), S = m(() => (R.dataset.forEach((l, i) => {
96
+ ce({
97
97
  datasetObject: l,
98
98
  requiredAttributes: ["name", "branches"]
99
99
  }).forEach((t) => {
100
- le({
100
+ ae({
101
101
  componentName: "VueUiChestnut",
102
102
  type: "datasetSerieAttribute",
103
103
  property: t,
104
104
  index: i
105
105
  });
106
106
  }), l.branches && l.branches.forEach((t, n) => {
107
- ie({
107
+ ce({
108
108
  datasetObject: t,
109
109
  requiredAttributes: ["name", "value"]
110
110
  }).forEach((b) => {
111
- le({
111
+ ae({
112
112
  componentName: "VueUiChestnut",
113
113
  type: "datasetSerieAttribute",
114
114
  property: b,
115
115
  index: `${i} - ${n}`
116
116
  });
117
- }), t.breakdown && t.breakdown.forEach((b, y) => {
118
- ie({
117
+ }), t.breakdown && t.breakdown.forEach((b, x) => {
118
+ ce({
119
119
  datasetObject: b,
120
120
  requiredAttributes: ["name", "value"]
121
- }).forEach((p) => {
122
- le({
121
+ }).forEach((f) => {
122
+ ae({
123
123
  componentName: "VueUiChestnut",
124
124
  type: "datasetSerieAttribute",
125
- property: p,
126
- index: `${i} - ${n} - ${y}`
125
+ property: f,
126
+ index: `${i} - ${n} - ${x}`
127
127
  });
128
128
  });
129
129
  });
130
130
  });
131
- }), O.dataset.map((l, i) => {
131
+ }), R.dataset.map((l, i) => {
132
132
  const t = (l.branches || []).map((n) => n.value || 0).reduce((n, b) => n + b, 0);
133
133
  return {
134
134
  ...l,
135
- color: ce(l.color) || oe.value[i] || P[i] || P[i % P.length],
135
+ color: de(l.color) || se.value[i] || V[i] || V[i % V.length],
136
136
  id: l.id || `root_${i}_${w.value}`,
137
137
  type: "root",
138
138
  total: t,
@@ -141,117 +141,117 @@ const wt = ["id"], $t = {
141
141
  ...n,
142
142
  rootName: l.name,
143
143
  rootIndex: i,
144
- color: ce(l.color) || oe.value[i] || P[i] || P[i % P.length],
144
+ color: de(l.color) || se.value[i] || V[i] || V[i % V.length],
145
145
  value: n.value >= 0 ? n.value : 0,
146
146
  id: n.id || `branch_${i}_${b}_${w.value}`,
147
147
  proportionToRoot: n.value / t,
148
148
  type: "branch",
149
- breakdown: (n.breakdown || []).map((y, p) => ({
149
+ breakdown: (n.breakdown || []).map((x, f) => ({
150
150
  table: {
151
151
  rootName: l.name,
152
152
  rootValue: t,
153
- rootToTotal: t / R.value,
153
+ rootToTotal: t / M.value,
154
154
  branchName: n.name,
155
155
  branchValue: n.value,
156
- branchToTotal: n.value / R.value,
156
+ branchToTotal: n.value / M.value,
157
157
  branchToRoot: n.value / t,
158
- nutName: y.name,
159
- nutValue: y.value,
160
- nutToTotal: y.value / R.value,
161
- nutToRoot: y.value / t,
162
- nutToBranch: y.value / n.value
158
+ nutName: x.name,
159
+ nutValue: x.value,
160
+ nutToTotal: x.value / M.value,
161
+ nutToRoot: x.value / t,
162
+ nutToBranch: x.value / n.value
163
163
  },
164
- ...y,
164
+ ...x,
165
165
  type: "nut",
166
166
  branchName: n.name,
167
167
  rootName: l.name,
168
168
  branchTotal: n.value >= 0 ? n.value : 0,
169
- proportionToBranch: y.value / n.value,
170
- proportionToRoot: y.value / t,
171
- proportionToTree: y.value / R.value,
169
+ proportionToBranch: x.value / n.value,
170
+ proportionToRoot: x.value / t,
171
+ proportionToTree: x.value / M.value,
172
172
  rootIndex: i,
173
- id: y.id || `nut_${i}_${b}_${p}_${w.value}`,
174
- color: ce(y.color) || oe.value[p] || P[p] || P[p % P.length],
175
- value: y.value >= 0 ? y.value : 0
173
+ id: x.id || `nut_${i}_${b}_${f}_${w.value}`,
174
+ color: de(x.color) || se.value[f] || V[f] || V[f % V.length],
175
+ value: x.value >= 0 ? x.value : 0
176
176
  }))
177
177
  }))
178
178
  };
179
179
  })));
180
- function Ye() {
181
- return N.value;
180
+ function qe() {
181
+ return S.value;
182
182
  }
183
- const U = Oe, qe = m(() => N.value.flatMap((l) => l.branches).length), He = m(() => Math.max(...N.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), We = m(() => Math.max(...N.value.flatMap((l) => l.branches.map((i) => i.value)))), ke = m(() => 256 + r.value.padding.left), A = m(() => N.value.sort((l, i) => i.total - l.total).map((l, i) => {
184
- const t = C.value.height / N.value.length / 2, n = l.total / He.value * (t > 64 ? 64 : t);
183
+ const D = Re, He = m(() => S.value.flatMap((l) => l.branches).length), We = m(() => Math.max(...S.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), Ke = m(() => Math.max(...S.value.flatMap((l) => l.branches.map((i) => i.value)))), we = m(() => 256 + r.value.padding.left), j = m(() => S.value.sort((l, i) => i.total - l.total).map((l, i) => {
184
+ const t = C.value.height / S.value.length / 2, n = l.total / We.value * (t > 64 ? 64 : t);
185
185
  return {
186
186
  ...l,
187
187
  x: C.value.seedX,
188
- y: C.value.top + C.value.height / N.value.length * (i + 1) - (C.value.height / N.value.length / 2 + r.value.gap / 2),
188
+ y: C.value.top + C.value.height / S.value.length * (i + 1) - (C.value.height / S.value.length / 2 + r.value.gap / 2),
189
189
  r: n < r.value.branchSize / 2 ? r.value.branchSize / 2 : n
190
190
  };
191
- })), Ke = 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), Je = m(() => A.value.flatMap((l) => l.branches)), j = m(() => Je.value.sort((l, i) => i.value - l.value).map((l, i) => ({
191
+ })), Je = 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), Qe = m(() => j.value.flatMap((l) => l.branches)), X = m(() => Qe.value.sort((l, i) => i.value - l.value).map((l, i) => ({
192
192
  ...l,
193
193
  y1: i * r.value.branchSize + C.value.top + i * r.value.gap,
194
194
  y2: i * r.value.branchSize + r.value.branchSize,
195
- x1: ke.value,
196
- x2: 384 * l.value / We.value * Ke.value + ke.value
195
+ x1: we.value,
196
+ x2: 384 * l.value / Ke.value * Je.value + we.value
197
197
  })));
198
- function ue(l) {
199
- const i = A.value.find((t) => t.rootIndex === l.rootIndex);
198
+ function ne(l) {
199
+ const i = j.value.find((t) => t.rootIndex === l.rootIndex);
200
200
  return { x: i.x, y: i.y, r: i.r };
201
201
  }
202
- const d = T(null), M = T(null), x = T(null), I = T(null);
202
+ const d = z(null), B = z(null), _ = z(null), L = z(null);
203
203
  function $() {
204
- d.value = null, x.value = null, I.value = null;
204
+ d.value = null, _.value = null, L.value = null;
205
205
  }
206
- function L(l) {
207
- return I.value ? I.value === null ? !0 : l.type === "root" ? l.id === I.value.id : l.rootIndex === I.value.rootIndex : d.value === null && x.value === null ? !0 : l.type === "nut" ? d.value.id === l.id : l.type === "branch" ? x.value.id === l.id : l.type === "root" ? x.value && x.value.rootIndex === l.rootIndex || d.value && d.value.rootIndex === l.rootIndex : !1;
206
+ function P(l) {
207
+ return L.value ? L.value === null ? !0 : l.type === "root" ? l.id === L.value.id : l.rootIndex === L.value.rootIndex : d.value === null && _.value === null ? !0 : l.type === "nut" ? d.value.id === l.id : l.type === "branch" ? _.value.id === l.id : l.type === "root" ? _.value && _.value.rootIndex === l.rootIndex || d.value && d.value.rootIndex === l.rootIndex : !1;
208
208
  }
209
- function Qe(l) {
210
- $(), Ne(() => {
211
- d.value = l, x.value = l, M.value = Ie(
209
+ function Ze(l) {
210
+ $(), Se(() => {
211
+ d.value = l, _.value = l, B.value = Le(
212
212
  { series: l.breakdown, base: 1 },
213
213
  l.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
214
214
  l.y1 + r.value.branchSize / 2,
215
215
  80,
216
216
  80
217
- ), U("selectNut", l.breakdown);
217
+ ), D("selectNut", l.breakdown);
218
218
  });
219
219
  }
220
- function X() {
221
- d.value = null, M.value = null, U("selectNut", null);
220
+ function G() {
221
+ d.value = null, B.value = null, D("selectNut", null);
222
222
  }
223
- function ne(l) {
224
- x.value && x.value.id === l.id ? (x.value = null, $(), U("selectBranch", null)) : ($(), x.value = l, U("selectBranch", l));
223
+ function re(l) {
224
+ _.value && _.value.id === l.id ? (_.value = null, $(), D("selectBranch", null)) : ($(), _.value = l, D("selectBranch", l));
225
225
  }
226
- function we(l) {
227
- I.value && I.value.id === l.id ? ($(), U("selectRoot", null)) : ($(), I.value = l, U("selectRoot", l));
226
+ function $e(l) {
227
+ L.value && L.value.id === l.id ? ($(), D("selectRoot", null)) : ($(), L.value = l, D("selectRoot", l));
228
228
  }
229
- function Ze() {
229
+ function et() {
230
230
  return C.value.bottom - (d.value.y1 + 180) < 0 ? 0 : C.value.bottom;
231
231
  }
232
- function D(l) {
232
+ function Y(l) {
233
233
  return l.proportion * 100 > e.value.style.chart.layout.nuts.selected.labels.dataLabels.hideUnderValue;
234
234
  }
235
- const Y = ot(null);
236
- function et() {
237
- Y.value && Y.value.disconnect(), Y.value = new ResizeObserver((l) => {
235
+ const q = st(null);
236
+ function tt() {
237
+ q.value && q.value.disconnect(), q.value = new ResizeObserver((l) => {
238
238
  l.forEach((i) => {
239
- me.value = i.contentRect.width < De.value;
239
+ ke.value = i.contentRect.width < Ye.value;
240
240
  });
241
- }), se.value && Y.value.observe(se.value);
241
+ }), ue.value && q.value.observe(ue.value);
242
242
  }
243
- st(() => {
244
- $e();
245
- }), ut(() => {
246
- Y.value && Y.value.disconnect();
243
+ ut(() => {
244
+ Ce();
245
+ }), nt(() => {
246
+ q.value && q.value.disconnect();
247
247
  });
248
- function $e() {
249
- ht(O.dataset) && le({
248
+ function Ce() {
249
+ ft(R.dataset) && ae({
250
250
  componentName: "VueUiChestnut",
251
251
  type: "dataset"
252
252
  });
253
- const l = qe.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
254
- r.value.height = l, et();
253
+ const l = He.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
254
+ r.value.height = l, tt();
255
255
  }
256
256
  const v = m(() => {
257
257
  const l = [
@@ -267,155 +267,155 @@ const wt = ["id"], $t = {
267
267
  e.value.table.th.translations.nutToBranch,
268
268
  e.value.table.th.translations.nutToRoot,
269
269
  e.value.table.th.translations.nutToTotal
270
- ], i = N.value.flatMap((t, n) => t.branches.flatMap((b, y) => b.breakdown.flatMap((p, Fa) => p.table)));
270
+ ], i = S.value.flatMap((t, n) => t.branches.flatMap((b, x) => b.breakdown.flatMap((f, T) => f.table)));
271
271
  return { head: l, body: i };
272
272
  });
273
- function Ce() {
274
- Ne(() => {
275
- const l = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", R.value], [""]], i = v.value.head, t = v.value.body.map((y, p) => [
276
- v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootName,
277
- v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootValue,
278
- v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootToTotal,
279
- v.value.body[p - 1] && v.value.body[p - 1].branchName === y.branchName ? "" : y.branchName,
280
- v.value.body[p - 1] && v.value.body[p - 1].branchName === y.branchName ? "" : y.branchValue,
281
- v.value.body[p - 1] && v.value.body[p - 1].branchName === y.branchName ? "" : y.branchToRoot,
282
- v.value.body[p - 1] && v.value.body[p - 1].branchName === y.branchName ? "" : y.branchToTotal,
283
- y.nutName,
284
- y.nutValue,
285
- y.nutToBranch,
286
- y.nutToRoot,
287
- y.nutToTotal
288
- ]), n = l.concat([i]).concat(t), b = pt(n);
289
- gt({ csvContent: b, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
273
+ function Te(l = null) {
274
+ Se(() => {
275
+ const i = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", M.value], [""]], t = v.value.head, n = v.value.body.map((f, T) => [
276
+ v.value.body[T - 1] && v.value.body[T - 1].rootName === f.rootName ? "" : f.rootName,
277
+ v.value.body[T - 1] && v.value.body[T - 1].rootName === f.rootName ? "" : f.rootValue,
278
+ v.value.body[T - 1] && v.value.body[T - 1].rootName === f.rootName ? "" : f.rootToTotal,
279
+ v.value.body[T - 1] && v.value.body[T - 1].branchName === f.branchName ? "" : f.branchName,
280
+ v.value.body[T - 1] && v.value.body[T - 1].branchName === f.branchName ? "" : f.branchValue,
281
+ v.value.body[T - 1] && v.value.body[T - 1].branchName === f.branchName ? "" : f.branchToRoot,
282
+ v.value.body[T - 1] && v.value.body[T - 1].branchName === f.branchName ? "" : f.branchToTotal,
283
+ f.nutName,
284
+ f.nutValue,
285
+ f.nutToBranch,
286
+ f.nutToRoot,
287
+ f.nutToTotal
288
+ ]), b = i.concat([t]).concat(n), x = gt(b);
289
+ l ? l(x) : _t({ csvContent: x, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
290
290
  });
291
291
  }
292
- const W = T(!1);
293
- function tt(l) {
294
- W.value = l, ve.value += 1;
292
+ const K = z(!1);
293
+ function lt(l) {
294
+ K.value = l, ye.value += 1;
295
295
  }
296
- function Te() {
297
- E.value.showTable = !E.value.showTable;
296
+ function ze() {
297
+ U.value.showTable = !U.value.showTable;
298
298
  }
299
- const J = T(!1);
300
- function re() {
301
- J.value = !J.value;
299
+ const Q = z(!1);
300
+ function ie() {
301
+ Q.value = !Q.value;
302
302
  }
303
- return Ve({
304
- getData: Ye,
305
- generatePdf: _e,
306
- generateCsv: Ce,
307
- generateImage: xe,
308
- toggleTable: Te,
309
- toggleAnnotator: re
303
+ return Oe({
304
+ getData: qe,
305
+ generatePdf: xe,
306
+ generateCsv: Te,
307
+ generateImage: me,
308
+ toggleTable: ze,
309
+ toggleAnnotator: ie
310
310
  }), (l, i) => (a(), o("div", {
311
- class: k(`vue-ui-chestnut ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
311
+ class: k(`vue-ui-chestnut ${K.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
312
312
  ref_key: "chestnutChart",
313
- ref: de,
313
+ ref: ve,
314
314
  id: `vue-ui-chestnut_${w.value}`,
315
- style: h(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
316
- onMouseenter: i[2] || (i[2] = () => s(ye)(!0)),
317
- onMouseleave: i[3] || (i[3] = () => s(ye)(!1))
315
+ style: y(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
316
+ onMouseenter: i[2] || (i[2] = () => s(he)(!0)),
317
+ onMouseleave: i[3] || (i[3] = () => s(he)(!1))
318
318
  }, [
319
- e.value.userOptions.buttons.annotator ? (a(), Q(s(Re), {
319
+ e.value.userOptions.buttons.annotator ? (a(), Z(s(Me), {
320
320
  key: 0,
321
- svgRef: s(fe),
321
+ svgRef: s(be),
322
322
  backgroundColor: e.value.style.chart.backgroundColor,
323
323
  color: e.value.style.chart.color,
324
- active: J.value,
325
- onClose: re
326
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
327
- Ue.value ? (a(), o("div", $t, null, 512)) : f("", !0),
328
- e.value.userOptions.show && H.value && (s(he) || s(ae)) ? (a(), Q(s(Ae), {
324
+ active: Q.value,
325
+ onClose: ie
326
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
327
+ De.value ? (a(), o("div", Ct, null, 512)) : h("", !0),
328
+ e.value.userOptions.show && W.value && (s(fe) || s(oe)) ? (a(), Z(s(je), {
329
329
  ref_key: "details",
330
- ref: Ee,
331
- key: `user_options_${ve.value}`,
330
+ ref: Ue,
331
+ key: `user_options_${ye.value}`,
332
332
  backgroundColor: e.value.style.chart.backgroundColor,
333
333
  color: e.value.style.chart.color,
334
- isImaging: s(ge),
335
- isPrinting: s(pe),
334
+ isImaging: s(_e),
335
+ isPrinting: s(ge),
336
336
  uid: w.value,
337
337
  hasPdf: e.value.userOptions.buttons.pdf,
338
338
  hasImg: e.value.userOptions.buttons.img,
339
339
  hasXls: e.value.userOptions.buttons.csv,
340
340
  hasTable: e.value.userOptions.buttons.table,
341
341
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
342
- isFullscreen: W.value,
342
+ isFullscreen: K.value,
343
343
  titles: { ...e.value.userOptions.buttonTitles },
344
- chartElement: de.value,
344
+ chartElement: ve.value,
345
345
  position: e.value.userOptions.position,
346
346
  hasAnnotator: e.value.userOptions.buttons.annotator,
347
- isAnnotation: J.value,
347
+ isAnnotation: Q.value,
348
348
  callbacks: e.value.userOptions.callbacks,
349
- onToggleFullscreen: tt,
350
- onGeneratePdf: s(_e),
351
- onGenerateCsv: Ce,
352
- onGenerateImage: s(xe),
353
- onToggleTable: Te,
354
- onToggleAnnotator: re,
355
- style: h({
356
- visibility: s(he) ? s(ae) ? "visible" : "hidden" : "visible"
349
+ onToggleFullscreen: lt,
350
+ onGeneratePdf: s(xe),
351
+ onGenerateCsv: Te,
352
+ onGenerateImage: s(me),
353
+ onToggleTable: ze,
354
+ onToggleAnnotator: ie,
355
+ style: y({
356
+ visibility: s(fe) ? s(oe) ? "visible" : "hidden" : "visible"
357
357
  })
358
- }, nt({ _: 2 }, [
358
+ }, rt({ _: 2 }, [
359
359
  l.$slots.menuIcon ? {
360
360
  name: "menuIcon",
361
- fn: B(({ isOpen: t, color: n }) => [
362
- S(l.$slots, "menuIcon", Z(ee({ isOpen: t, color: n })), void 0, !0)
361
+ fn: A(({ isOpen: t, color: n }) => [
362
+ F(l.$slots, "menuIcon", ee(te({ isOpen: t, color: n })), void 0, !0)
363
363
  ]),
364
364
  key: "0"
365
365
  } : void 0,
366
366
  l.$slots.optionPdf ? {
367
367
  name: "optionPdf",
368
- fn: B(() => [
369
- S(l.$slots, "optionPdf", {}, void 0, !0)
368
+ fn: A(() => [
369
+ F(l.$slots, "optionPdf", {}, void 0, !0)
370
370
  ]),
371
371
  key: "1"
372
372
  } : void 0,
373
373
  l.$slots.optionCsv ? {
374
374
  name: "optionCsv",
375
- fn: B(() => [
376
- S(l.$slots, "optionCsv", {}, void 0, !0)
375
+ fn: A(() => [
376
+ F(l.$slots, "optionCsv", {}, void 0, !0)
377
377
  ]),
378
378
  key: "2"
379
379
  } : void 0,
380
380
  l.$slots.optionImg ? {
381
381
  name: "optionImg",
382
- fn: B(() => [
383
- S(l.$slots, "optionImg", {}, void 0, !0)
382
+ fn: A(() => [
383
+ F(l.$slots, "optionImg", {}, void 0, !0)
384
384
  ]),
385
385
  key: "3"
386
386
  } : void 0,
387
387
  l.$slots.optionTable ? {
388
388
  name: "optionTable",
389
- fn: B(() => [
390
- S(l.$slots, "optionTable", {}, void 0, !0)
389
+ fn: A(() => [
390
+ F(l.$slots, "optionTable", {}, void 0, !0)
391
391
  ]),
392
392
  key: "4"
393
393
  } : void 0,
394
394
  l.$slots.optionFullscreen ? {
395
395
  name: "optionFullscreen",
396
- fn: B(({ toggleFullscreen: t, isFullscreen: n }) => [
397
- S(l.$slots, "optionFullscreen", Z(ee({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
396
+ fn: A(({ toggleFullscreen: t, isFullscreen: n }) => [
397
+ F(l.$slots, "optionFullscreen", ee(te({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
398
398
  ]),
399
399
  key: "5"
400
400
  } : void 0,
401
401
  l.$slots.optionAnnotator ? {
402
402
  name: "optionAnnotator",
403
- fn: B(({ toggleAnnotator: t, isAnnotator: n }) => [
404
- S(l.$slots, "optionAnnotator", Z(ee({ toggleAnnotator: t, isAnnotator: n })), void 0, !0)
403
+ fn: A(({ toggleAnnotator: t, isAnnotator: n }) => [
404
+ F(l.$slots, "optionAnnotator", ee(te({ toggleAnnotator: t, isAnnotator: n })), void 0, !0)
405
405
  ]),
406
406
  key: "6"
407
407
  } : void 0
408
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
409
- r.value.height > 0 && H.value ? (a(), o("svg", {
408
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
409
+ r.value.height > 0 && W.value ? (a(), o("svg", {
410
410
  key: 3,
411
411
  ref_key: "svgRef",
412
- ref: fe,
413
- xmlns: s(ft),
414
- class: k({ "vue-data-ui-fullscreen--on": W.value, "vue-data-ui-fulscreen--off": !W.value }),
412
+ ref: be,
413
+ xmlns: s(bt),
414
+ class: k({ "vue-data-ui-fullscreen--on": K.value, "vue-data-ui-fulscreen--off": !K.value }),
415
415
  viewBox: `0 0 ${r.value.width <= 0 ? 10 : r.value.width} ${r.value.height <= 0 ? 10 : r.value.height}`,
416
- style: h(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
416
+ style: y(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
417
417
  }, [
418
- ze(s(je)),
418
+ Ne(s(Xe)),
419
419
  l.$slots["chart-background"] ? (a(), o("foreignObject", {
420
420
  key: 0,
421
421
  x: 0,
@@ -426,9 +426,9 @@ const wt = ["id"], $t = {
426
426
  pointerEvents: "none"
427
427
  }
428
428
  }, [
429
- S(l.$slots, "chart-background", {}, void 0, !0)
430
- ], 8, Tt)) : f("", !0),
431
- d.value ? f("", !0) : (a(), o("g", zt, [
429
+ F(l.$slots, "chart-background", {}, void 0, !0)
430
+ ], 8, zt)) : h("", !0),
431
+ d.value ? h("", !0) : (a(), o("g", Nt, [
432
432
  e.value.style.chart.layout.title.text ? (a(), o("text", {
433
433
  key: 0,
434
434
  "text-anchor": "middle",
@@ -438,7 +438,7 @@ const wt = ["id"], $t = {
438
438
  x: r.value.width / 2,
439
439
  y: 12 + e.value.style.chart.layout.title.fontSize + e.value.style.chart.layout.title.offsetY,
440
440
  onClick: $
441
- }, c(e.value.style.chart.layout.title.text), 9, Nt)) : f("", !0),
441
+ }, c(e.value.style.chart.layout.title.text), 9, St)) : h("", !0),
442
442
  e.value.style.chart.layout.title.subtitle.text ? (a(), o("text", {
443
443
  key: 1,
444
444
  "text-anchor": "middle",
@@ -448,10 +448,10 @@ const wt = ["id"], $t = {
448
448
  x: r.value.width / 2,
449
449
  y: 48 + e.value.style.chart.layout.title.subtitle.fontSize + e.value.style.chart.layout.title.subtitle.offsetY,
450
450
  onClick: $
451
- }, c(e.value.style.chart.layout.title.subtitle.text), 9, St)) : f("", !0)
451
+ }, c(e.value.style.chart.layout.title.subtitle.text), 9, Ft)) : h("", !0)
452
452
  ])),
453
453
  u("defs", null, [
454
- (a(!0), o(g, null, _(N.value, (t, n) => (a(), o("radialGradient", {
454
+ (a(!0), o(p, null, g(S.value, (t, n) => (a(), o("radialGradient", {
455
455
  cx: "50%",
456
456
  cy: "50%",
457
457
  r: "50%",
@@ -461,14 +461,14 @@ const wt = ["id"], $t = {
461
461
  }, [
462
462
  u("stop", {
463
463
  offset: "0%",
464
- "stop-color": s(F)(s(Se)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
465
- }, null, 8, It),
464
+ "stop-color": s(I)(s(Fe)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
465
+ }, null, 8, Lt),
466
466
  u("stop", {
467
467
  offset: "100%",
468
468
  "stop-color": t.color
469
- }, null, 8, Lt)
470
- ], 8, Ft))), 256)),
471
- (a(!0), o(g, null, _(N.value, (t) => (a(), o("linearGradient", {
469
+ }, null, 8, Pt)
470
+ ], 8, It))), 256)),
471
+ (a(!0), o(p, null, g(S.value, (t) => (a(), o("linearGradient", {
472
472
  x1: "0%",
473
473
  y1: "0%",
474
474
  x2: "100%",
@@ -478,12 +478,12 @@ const wt = ["id"], $t = {
478
478
  u("stop", {
479
479
  offset: "0%",
480
480
  "stop-color": t.color
481
- }, null, 8, Vt),
481
+ }, null, 8, Ot),
482
482
  u("stop", {
483
483
  offset: "100%",
484
- "stop-color": s(F)(s(Se)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
485
- }, null, 8, Ot)
486
- ], 8, Pt))), 256)),
484
+ "stop-color": s(I)(s(Fe)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
485
+ }, null, 8, Rt)
486
+ ], 8, Vt))), 256)),
487
487
  u("radialGradient", {
488
488
  cx: "50%",
489
489
  cy: "50%",
@@ -494,17 +494,17 @@ const wt = ["id"], $t = {
494
494
  }, [
495
495
  u("stop", {
496
496
  offset: "0%",
497
- "stop-color": s(F)("#FFFFFF", 0)
498
- }, null, 8, Mt),
497
+ "stop-color": s(I)("#FFFFFF", 0)
498
+ }, null, 8, Bt),
499
499
  u("stop", {
500
500
  offset: "80%",
501
- "stop-color": s(F)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
502
- }, null, 8, Bt),
501
+ "stop-color": s(I)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
502
+ }, null, 8, At),
503
503
  u("stop", {
504
504
  offset: "100%",
505
- "stop-color": s(F)("#FFFFFF", 0)
506
- }, null, 8, At)
507
- ], 8, Rt),
505
+ "stop-color": s(I)("#FFFFFF", 0)
506
+ }, null, 8, jt)
507
+ ], 8, Mt),
508
508
  u("radialGradient", {
509
509
  cx: "50%",
510
510
  cy: "50%",
@@ -515,17 +515,17 @@ const wt = ["id"], $t = {
515
515
  }, [
516
516
  u("stop", {
517
517
  offset: "0%",
518
- "stop-color": s(F)("#FFFFFF", 0)
519
- }, null, 8, Xt),
518
+ "stop-color": s(I)("#FFFFFF", 0)
519
+ }, null, 8, Gt),
520
520
  u("stop", {
521
521
  offset: "80%",
522
- "stop-color": s(F)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
523
- }, null, 8, Gt),
522
+ "stop-color": s(I)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
523
+ }, null, 8, Et),
524
524
  u("stop", {
525
525
  offset: "100%",
526
- "stop-color": s(F)("#FFFFFF", 0)
527
- }, null, 8, Et)
528
- ], 8, jt),
526
+ "stop-color": s(I)("#FFFFFF", 0)
527
+ }, null, 8, Ut)
528
+ ], 8, Xt),
529
529
  u("radialGradient", {
530
530
  cx: "50%",
531
531
  cy: "50%",
@@ -536,19 +536,19 @@ const wt = ["id"], $t = {
536
536
  }, [
537
537
  u("stop", {
538
538
  offset: "0%",
539
- "stop-color": s(F)(e.value.style.chart.backgroundColor, 100)
540
- }, null, 8, Dt),
539
+ "stop-color": s(I)(e.value.style.chart.backgroundColor, 100)
540
+ }, null, 8, Yt),
541
541
  u("stop", {
542
542
  offset: "80%",
543
- "stop-color": s(F)(e.value.style.chart.backgroundColor, 60)
544
- }, null, 8, Yt),
543
+ "stop-color": s(I)(e.value.style.chart.backgroundColor, 60)
544
+ }, null, 8, qt),
545
545
  u("stop", {
546
546
  offset: "100%",
547
- "stop-color": s(F)(e.value.style.chart.backgroundColor, 0)
548
- }, null, 8, qt)
549
- ], 8, Ut)
547
+ "stop-color": s(I)(e.value.style.chart.backgroundColor, 0)
548
+ }, null, 8, Ht)
549
+ ], 8, Dt)
550
550
  ]),
551
- e.value.style.chart.layout.grandTotal.show ? (a(), o("g", Ht, [
551
+ e.value.style.chart.layout.grandTotal.show ? (a(), o("g", Wt, [
552
552
  u("text", {
553
553
  x: C.value.seedX,
554
554
  y: 32 + e.value.style.chart.layout.grandTotal.offsetY,
@@ -557,7 +557,7 @@ const wt = ["id"], $t = {
557
557
  fill: e.value.style.chart.layout.grandTotal.color,
558
558
  "text-anchor": "middle",
559
559
  onClick: $
560
- }, c(e.value.style.chart.layout.grandTotal.text), 9, Wt),
560
+ }, c(e.value.style.chart.layout.grandTotal.text), 9, Kt),
561
561
  u("text", {
562
562
  x: C.value.seedX,
563
563
  y: 38 + e.value.style.chart.layout.grandTotal.fontSize + e.value.style.chart.layout.grandTotal.offsetY,
@@ -566,74 +566,74 @@ const wt = ["id"], $t = {
566
566
  fill: e.value.style.chart.layout.grandTotal.color,
567
567
  "text-anchor": "middle",
568
568
  onClick: $
569
- }, c(s(G)(
569
+ }, c(s(E)(
570
570
  e.value.style.chart.layout.grandTotal.formatter,
571
- R.value,
572
- s(z)({
571
+ M.value,
572
+ s(N)({
573
573
  p: e.value.style.chart.layout.grandTotal.prefix,
574
- v: R.value,
574
+ v: M.value,
575
575
  s: e.value.style.chart.layout.grandTotal.suffix,
576
576
  r: e.value.style.chart.layout.grandTotal.roundingValue
577
577
  })
578
- )), 9, Kt)
579
- ])) : f("", !0),
580
- (a(!0), o(g, null, _(j.value, (t) => (a(), o("g", null, [
581
- (a(!0), o(g, null, _(r.value.branchSize, (n, b) => (a(), o("path", {
578
+ )), 9, Jt)
579
+ ])) : h("", !0),
580
+ (a(!0), o(p, null, g(X.value, (t) => (a(), o("g", null, [
581
+ (a(!0), o(p, null, g(r.value.branchSize, (n, b) => (a(), o("path", {
582
582
  d: `M
583
583
  ${t.x1},${t.y1 + b}
584
584
  C${t.x1 - 20},${t.y1 + b}
585
585
  ${t.x1 - 80},${t.y1 + b}
586
- ${ue(t).x + ue(t).r / 2}, ${ue(t).y}
586
+ ${ne(t).x + ne(t).r / 2}, ${ne(t).y}
587
587
  `,
588
- stroke: s(F)(t.color, e.value.style.chart.layout.links.opacity),
588
+ stroke: s(I)(t.color, e.value.style.chart.layout.links.opacity),
589
589
  fill: "none",
590
590
  "stroke-width": "2",
591
591
  "shape-rendering": "cirspEdges",
592
- style: h(`opacity:${L(t) ? 1 : 0}`),
592
+ style: y(`opacity:${P(t) ? 1 : 0}`),
593
593
  onClick: $
594
- }, null, 12, Jt))), 256))
594
+ }, null, 12, Qt))), 256))
595
595
  ]))), 256)),
596
- (a(!0), o(g, null, _(A.value, (t) => (a(), o("circle", {
596
+ (a(!0), o(p, null, g(j.value, (t) => (a(), o("circle", {
597
597
  cx: t.x,
598
598
  cy: t.y,
599
599
  r: t.r,
600
600
  fill: e.value.style.chart.layout.roots.underlayerColor,
601
601
  stroke: "none",
602
- style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`)
603
- }, null, 12, Qt))), 256)),
604
- (a(!0), o(g, null, _(A.value, (t, n) => (a(), o("circle", {
602
+ style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`)
603
+ }, null, 12, Zt))), 256)),
604
+ (a(!0), o(p, null, g(j.value, (t, n) => (a(), o("circle", {
605
605
  cx: t.x,
606
606
  cy: t.y,
607
607
  r: t.r,
608
608
  fill: e.value.style.chart.layout.roots.useGradient ? `url(#root_gradient_${w.value}_${t.rootIndex})` : t.color,
609
609
  stroke: e.value.style.chart.layout.roots.stroke,
610
610
  "stroke-width": e.value.style.chart.layout.roots.strokeWidth,
611
- style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
612
- onClick: (b) => we(t)
613
- }, null, 12, Zt))), 256)),
614
- e.value.style.chart.layout.roots.labels.show ? (a(), o("g", el, [
615
- (a(!0), o(g, null, _(A.value, (t, n) => (a(), o("text", {
611
+ style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`),
612
+ onClick: (b) => $e(t)
613
+ }, null, 12, el))), 256)),
614
+ e.value.style.chart.layout.roots.labels.show ? (a(), o("g", tl, [
615
+ (a(!0), o(p, null, g(j.value, (t, n) => (a(), o("text", {
616
616
  x: t.x,
617
617
  y: t.y + e.value.style.chart.layout.roots.labels.fontSize / 2.6,
618
618
  "text-anchor": "middle",
619
619
  "font-size": e.value.style.chart.layout.roots.labels.fontSize,
620
- fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? s(Fe)(t.color) : e.value.style.chart.layout.roots.labels.color,
620
+ fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? s(Ie)(t.color) : e.value.style.chart.layout.roots.labels.color,
621
621
  "font-weight": "bold",
622
- style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
623
- onClick: (b) => we(t)
624
- }, c(s(G)(
622
+ style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`),
623
+ onClick: (b) => $e(t)
624
+ }, c(s(E)(
625
625
  e.value.style.chart.layout.roots.labels.formatter,
626
626
  t.total,
627
- s(z)({
627
+ s(N)({
628
628
  p: e.value.style.chart.layout.roots.labels.prefix,
629
629
  v: t.total,
630
630
  s: e.value.style.chart.layout.roots.labels.suffix,
631
631
  r: e.value.style.chart.layout.roots.labels.roundingValue
632
632
  }),
633
633
  { datapoint: t }
634
- )), 13, tl))), 256)),
635
- (a(!0), o(g, null, _(A.value, (t) => (a(), o("g", null, [
636
- d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || I.value && t.rootIndex === I.value.rootIndex ? (a(), o("g", ll, [
634
+ )), 13, ll))), 256)),
635
+ (a(!0), o(p, null, g(j.value, (t) => (a(), o("g", null, [
636
+ d.value && t.rootIndex === d.value.rootIndex || _.value && t.rootIndex === _.value.rootIndex || L.value && t.rootIndex === L.value.rootIndex ? (a(), o("g", al, [
637
637
  u("text", {
638
638
  x: t.x,
639
639
  y: t.y + t.r + 24,
@@ -642,11 +642,11 @@ const wt = ["id"], $t = {
642
642
  "font-size": e.value.style.chart.layout.roots.labels.name.fontSize,
643
643
  "font-weight": e.value.style.chart.layout.roots.labels.name.bold ? "bold" : "normal",
644
644
  onClick: $
645
- }, c(t.name), 9, al)
646
- ])) : f("", !0)
645
+ }, c(t.name), 9, ol)
646
+ ])) : h("", !0)
647
647
  ]))), 256))
648
- ])) : f("", !0),
649
- (a(!0), o(g, null, _(j.value, (t) => (a(), o("rect", {
648
+ ])) : h("", !0),
649
+ (a(!0), o(p, null, g(X.value, (t) => (a(), o("rect", {
650
650
  x: t.x1,
651
651
  y: t.y1,
652
652
  height: r.value.branchSize,
@@ -654,10 +654,10 @@ const wt = ["id"], $t = {
654
654
  fill: e.value.style.chart.layout.branches.underlayerColor,
655
655
  rx: e.value.style.chart.layout.branches.borderRadius,
656
656
  stroke: "none",
657
- style: h(`opacity:${L(t) ? 1 : 0.05}`),
658
- onClick: (n) => ne(t)
659
- }, null, 12, ol))), 256)),
660
- (a(!0), o(g, null, _(j.value, (t, n) => (a(), o("rect", {
657
+ style: y(`opacity:${P(t) ? 1 : 0.05}`),
658
+ onClick: (n) => re(t)
659
+ }, null, 12, sl))), 256)),
660
+ (a(!0), o(p, null, g(X.value, (t, n) => (a(), o("rect", {
661
661
  x: t.x1,
662
662
  y: t.y1,
663
663
  height: r.value.branchSize,
@@ -666,68 +666,68 @@ const wt = ["id"], $t = {
666
666
  rx: e.value.style.chart.layout.branches.borderRadius,
667
667
  stroke: e.value.style.chart.layout.branches.stroke,
668
668
  "stroke-width": e.value.style.chart.layout.branches.strokeWidth,
669
- style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
670
- onClick: (b) => ne(t)
671
- }, null, 12, sl))), 256)),
672
- e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", ul, [
673
- (a(!0), o(g, null, _(j.value, (t) => (a(), o("g", null, [
669
+ style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`),
670
+ onClick: (b) => re(t)
671
+ }, null, 12, ul))), 256)),
672
+ e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", nl, [
673
+ (a(!0), o(p, null, g(X.value, (t) => (a(), o("g", null, [
674
674
  t.proportionToRoot * 100 > e.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (a(), o("text", {
675
675
  key: 0,
676
676
  x: t.x1 + 6,
677
677
  y: t.y1 + r.value.branchSize / 1.5,
678
678
  "text-anchor": "start",
679
- fill: s(Fe)(t.color),
679
+ fill: s(Ie)(t.color),
680
680
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
681
681
  "font-weight": "bold",
682
- style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
683
- onClick: (n) => ne(t)
684
- }, c(s(G)(
682
+ style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`),
683
+ onClick: (n) => re(t)
684
+ }, c(s(E)(
685
685
  e.value.style.chart.layout.branches.labels.dataLabels.formatter,
686
686
  t.value,
687
- s(z)({
687
+ s(N)({
688
688
  p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
689
689
  v: t.value,
690
690
  s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
691
691
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
692
692
  }),
693
693
  { datapoint: t }
694
- )), 13, nl)) : f("", !0)
694
+ )), 13, rl)) : h("", !0)
695
695
  ]))), 256))
696
- ])) : f("", !0),
697
- (a(!0), o(g, null, _(j.value, (t, n) => (a(), o("g", null, [
698
- (a(!0), o(g, null, _(s(Ie)(
696
+ ])) : h("", !0),
697
+ (a(!0), o(p, null, g(X.value, (t, n) => (a(), o("g", null, [
698
+ (a(!0), o(p, null, g(s(Le)(
699
699
  { series: t.breakdown, base: 1 },
700
700
  t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
701
701
  t.y1 + r.value.branchSize / 2,
702
702
  r.value.branchSize / 3,
703
703
  r.value.branchSize / 3
704
- ), (b, y) => (a(), o("path", {
704
+ ), (b, x) => (a(), o("path", {
705
705
  d: b.path,
706
706
  stroke: b.color,
707
707
  "stroke-width": 10,
708
708
  fill: "none",
709
- style: h(`opacity:${L(t) ? 1 : 0.1}`)
710
- }, null, 12, rl))), 256)),
709
+ style: y(`opacity:${P(t) ? 1 : 0.1}`)
710
+ }, null, 12, il))), 256)),
711
711
  u("circle", {
712
712
  fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${w.value})` : "transparent",
713
713
  cx: t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
714
714
  cy: t.y1 + r.value.branchSize / 2,
715
715
  r: r.value.branchSize / 2 + 2,
716
- onClick: (b) => Qe(t),
717
- style: h(`cursor:pointer;opacity:${L(t) ? 1 : 0.1}`)
718
- }, null, 12, il)
716
+ onClick: (b) => Ze(t),
717
+ style: y(`cursor:pointer;opacity:${P(t) ? 1 : 0.1}`)
718
+ }, null, 12, cl)
719
719
  ]))), 256)),
720
- e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", cl, [
721
- (a(!0), o(g, null, _(j.value, (t) => (a(), o("text", {
720
+ e.value.style.chart.layout.branches.labels.show && !_.value ? (a(), o("g", dl, [
721
+ (a(!0), o(p, null, g(X.value, (t) => (a(), o("text", {
722
722
  x: t.x2 + r.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
723
723
  y: t.y1 + r.value.branchSize / 2 + 5,
724
724
  "font-size": e.value.style.chart.layout.branches.labels.fontSize,
725
725
  "font-weight": e.value.style.chart.layout.branches.labels.bold ? "bold" : "normal",
726
726
  fill: e.value.style.chart.layout.branches.labels.color,
727
727
  "text-anchor": "start",
728
- style: h(`opacity:${L(t) ? 1 : 0.1}`)
729
- }, c(t.name), 13, dl))), 256))
730
- ])) : f("", !0),
728
+ style: y(`opacity:${P(t) ? 1 : 0.1}`)
729
+ }, c(t.name), 13, vl))), 256))
730
+ ])) : h("", !0),
731
731
  u("line", {
732
732
  x1: 256 + r.value.padding.left,
733
733
  x2: 256 + r.value.padding.left,
@@ -735,8 +735,8 @@ const wt = ["id"], $t = {
735
735
  y2: C.value.bottom,
736
736
  stroke: e.value.style.chart.layout.verticalSeparator.stroke,
737
737
  "stroke-width": e.value.style.chart.layout.verticalSeparator.strokeWidth
738
- }, null, 8, vl),
739
- !d.value && !x.value ? (a(), o("foreignObject", {
738
+ }, null, 8, yl),
739
+ !d.value && !_.value ? (a(), o("foreignObject", {
740
740
  key: 6,
741
741
  x: 0,
742
742
  y: C.value.bottom,
@@ -745,25 +745,25 @@ const wt = ["id"], $t = {
745
745
  style: { overflow: "visible" },
746
746
  onClick: $
747
747
  }, [
748
- u("div", hl, [
749
- u("div", fl, [
750
- (a(!0), o(g, null, _(A.value, (t) => (a(), o("div", {
751
- style: h(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
748
+ u("div", fl, [
749
+ u("div", bl, [
750
+ (a(!0), o(p, null, g(j.value, (t) => (a(), o("div", {
751
+ style: y(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
752
752
  }, [
753
- (a(), o("svg", bl, [
753
+ (a(), o("svg", pl, [
754
754
  u("circle", {
755
755
  cx: "10",
756
756
  cy: "10",
757
757
  r: "10",
758
758
  fill: t.color,
759
759
  stroke: "none"
760
- }, null, 8, pl)
760
+ }, null, 8, gl)
761
761
  ])),
762
762
  u("span", null, c(t.name) + ":", 1),
763
- u("b", null, c(s(G)(
763
+ u("b", null, c(s(E)(
764
764
  e.value.style.chart.layout.roots.labels.formatter,
765
765
  t.total,
766
- s(z)({
766
+ s(N)({
767
767
  p: e.value.style.chart.layout.legend.prefix,
768
768
  v: t.total,
769
769
  s: e.value.style.chart.layout.legend.suffix,
@@ -771,60 +771,60 @@ const wt = ["id"], $t = {
771
771
  }),
772
772
  { datapoint: t }
773
773
  )), 1),
774
- te(" (" + c(s(z)({
775
- v: t.total / R.value * 100,
774
+ le(" (" + c(s(N)({
775
+ v: t.total / M.value * 100,
776
776
  s: "%",
777
777
  r: e.value.style.chart.layout.legend.roundingPercentage
778
778
  })) + ") ", 1)
779
779
  ], 4))), 256))
780
780
  ])
781
781
  ])
782
- ], 8, yl)) : f("", !0),
783
- d.value && M.value ? (a(), o("g", gl, [
782
+ ], 8, hl)) : h("", !0),
783
+ d.value && B.value ? (a(), o("g", _l, [
784
784
  (a(), o("foreignObject", {
785
785
  x: 0,
786
- y: Ze(),
786
+ y: et(),
787
787
  height: r.value.height - C.value.bottom,
788
788
  width: r.value.width,
789
789
  style: { overflow: "visible" },
790
790
  onClick: $
791
791
  }, [
792
- u("div", xl, [
792
+ u("div", ml, [
793
793
  u("b", null, c(d.value.name), 1),
794
- u("div", ml, [
795
- (a(!0), o(g, null, _(d.value.breakdown, (t, n) => (a(), o("div", {
796
- style: h(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
794
+ u("div", kl, [
795
+ (a(!0), o(p, null, g(d.value.breakdown, (t, n) => (a(), o("div", {
796
+ style: y(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
797
797
  }, [
798
- (a(), o("svg", kl, [
798
+ (a(), o("svg", wl, [
799
799
  u("circle", {
800
800
  cx: "10",
801
801
  cy: "10",
802
802
  r: "10",
803
803
  fill: t.color,
804
804
  stroke: "none"
805
- }, null, 8, wl)
805
+ }, null, 8, $l)
806
806
  ])),
807
807
  u("span", null, [
808
- te(c(t.name) + ": ", 1),
808
+ le(c(t.name) + ": ", 1),
809
809
  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),
810
- te(" (" + c((t.proportionToBranch * 100).toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "%)", 1)
810
+ le(" (" + c((t.proportionToBranch * 100).toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "%)", 1)
811
811
  ])
812
812
  ], 4))), 256))
813
813
  ])
814
814
  ])
815
- ], 8, _l)),
815
+ ], 8, xl)),
816
816
  u("circle", {
817
817
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
818
818
  cy: d.value.y1 + r.value.branchSize / 2,
819
819
  r: 256,
820
820
  fill: `url(#nut_underlayer_${w.value})`,
821
- onClick: X,
821
+ onClick: G,
822
822
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
823
- }, null, 10, $l),
824
- (a(!0), o(g, null, _(M.value, (t) => (a(), o("g", null, [
825
- D(t) ? (a(), o("path", {
823
+ }, null, 10, Cl),
824
+ (a(!0), o(p, null, g(B.value, (t) => (a(), o("g", null, [
825
+ Y(t) ? (a(), o("path", {
826
826
  key: 0,
827
- d: s(bt)(
827
+ d: s(pt)(
828
828
  t,
829
829
  {
830
830
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
@@ -842,40 +842,40 @@ const wt = ["id"], $t = {
842
842
  "stroke-linejoin": "round",
843
843
  fill: "none",
844
844
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
845
- }, null, 10, Cl)) : f("", !0)
845
+ }, null, 10, Tl)) : h("", !0)
846
846
  ]))), 256)),
847
847
  u("circle", {
848
848
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
849
849
  cy: d.value.y1 + r.value.branchSize / 2,
850
850
  r: 118,
851
851
  fill: e.value.style.chart.backgroundColor,
852
- onClick: X,
852
+ onClick: G,
853
853
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
854
- }, null, 10, Tl),
855
- (a(!0), o(g, null, _(M.value, (t) => (a(), o("path", {
854
+ }, null, 10, zl),
855
+ (a(!0), o(p, null, g(B.value, (t) => (a(), o("path", {
856
856
  d: t.path,
857
857
  stroke: t.color,
858
858
  "stroke-width": 64,
859
859
  fill: "none",
860
- onClick: X,
860
+ onClick: G,
861
861
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
862
- }, null, 10, zl))), 256)),
862
+ }, null, 10, Nl))), 256)),
863
863
  u("circle", {
864
864
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
865
865
  cy: d.value.y1 + r.value.branchSize / 2,
866
866
  r: 110,
867
867
  fill: `url(#nutpick_${w.value})`,
868
- onClick: X,
868
+ onClick: G,
869
869
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
870
- }, null, 10, Nl),
870
+ }, null, 10, Sl),
871
871
  u("circle", {
872
872
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
873
873
  cy: d.value.y1 + r.value.branchSize / 2,
874
874
  r: 64,
875
875
  fill: e.value.style.chart.backgroundColor,
876
- onClick: X,
876
+ onClick: G,
877
877
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
878
- }, null, 10, Sl),
878
+ }, null, 10, Fl),
879
879
  u("text", {
880
880
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
881
881
  y: d.value.y1 + 8,
@@ -883,9 +883,9 @@ const wt = ["id"], $t = {
883
883
  "font-size": e.value.style.chart.layout.nuts.selected.labels.core.total.fontSize,
884
884
  "font-weight": e.value.style.chart.layout.nuts.selected.labels.core.total.bold ? "bold" : "normal",
885
885
  "text-anchor": "middle",
886
- onClick: X,
886
+ onClick: G,
887
887
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
888
- }, c(e.value.translations.total), 11, Fl),
888
+ }, c(e.value.translations.total), 11, Il),
889
889
  u("text", {
890
890
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
891
891
  y: d.value.y1 + 36,
@@ -893,98 +893,98 @@ const wt = ["id"], $t = {
893
893
  "font-size": e.value.style.chart.layout.nuts.selected.labels.core.value.fontSize,
894
894
  "font-weight": e.value.style.chart.layout.nuts.selected.labels.core.value.bold ? "bold" : "normal",
895
895
  "text-anchor": "middle",
896
- onClick: X,
896
+ onClick: G,
897
897
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
898
- }, c(s(G)(
898
+ }, c(s(E)(
899
899
  e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
900
900
  d.value.value,
901
- s(z)({
901
+ s(N)({
902
902
  p: e.value.style.chart.layout.nuts.selected.labels.core.value.prefix,
903
903
  v: d.value.value,
904
904
  s: e.value.style.chart.layout.nuts.selected.labels.core.value.suffix,
905
905
  r: e.value.style.chart.layout.nuts.selected.roundingValue
906
906
  }),
907
907
  { datapoint: d.value }
908
- )), 11, Il),
909
- (a(!0), o(g, null, _(M.value, (t, n) => (a(), o("g", null, [
910
- D(t) ? (a(), o("text", {
908
+ )), 11, Ll),
909
+ (a(!0), o(p, null, g(B.value, (t, n) => (a(), o("g", null, [
910
+ Y(t) ? (a(), o("text", {
911
911
  key: 0,
912
- x: s(V)(t).x,
913
- "text-anchor": s(V)(t).anchor,
914
- y: s(K)(t) - e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 6,
912
+ x: s(O)(t).x,
913
+ "text-anchor": s(O)(t).anchor,
914
+ y: s(J)(t) - e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 6,
915
915
  fill: t.color,
916
916
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 2,
917
- style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
917
+ style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
918
918
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
919
- }, " ⬤ ", 14, Ll)) : f("", !0),
920
- D(t) ? (a(), o("text", {
919
+ }, " ⬤ ", 14, Pl)) : h("", !0),
920
+ Y(t) ? (a(), o("text", {
921
921
  key: 1,
922
- x: s(V)(t, !0).x,
923
- "text-anchor": s(V)(t, !0).anchor,
924
- y: s(K)(t),
922
+ x: s(O)(t, !0).x,
923
+ "text-anchor": s(O)(t, !0).anchor,
924
+ y: s(J)(t),
925
925
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
926
926
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
927
- style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
927
+ style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
928
928
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
929
- }, c(d.value.breakdown[n].name), 15, Pl)) : f("", !0)
929
+ }, c(d.value.breakdown[n].name), 15, Vl)) : h("", !0)
930
930
  ]))), 256)),
931
- (a(!0), o(g, null, _(M.value, (t, n) => (a(), o("g", null, [
932
- D(t) ? (a(), o("text", {
931
+ (a(!0), o(p, null, g(B.value, (t, n) => (a(), o("g", null, [
932
+ Y(t) ? (a(), o("text", {
933
933
  key: 0,
934
- x: s(V)(t, !0).x,
935
- "text-anchor": s(V)(t).anchor,
936
- y: s(K)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
934
+ x: s(O)(t, !0).x,
935
+ "text-anchor": s(O)(t).anchor,
936
+ y: s(J)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
937
937
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
938
938
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
939
- style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
939
+ style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
940
940
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
941
- }, c(s(z)({
941
+ }, c(s(N)({
942
942
  v: d.value.breakdown[n].value / d.value.value * 100,
943
943
  s: "%",
944
944
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
945
- })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[n].branchName) + " " + c(s(G)(
945
+ })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[n].branchName) + " " + c(s(E)(
946
946
  e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
947
947
  d.value.breakdown[n].value,
948
- s(z)({
948
+ s(N)({
949
949
  p: e.value.style.chart.layout.nuts.selected.labels.dataLabels.prefix,
950
950
  v: d.value.breakdown[n].value,
951
951
  s: e.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
952
952
  r: e.value.style.chart.layout.nuts.selected.roundingValue
953
953
  }),
954
- { datapoint: M.value, seriesIndex: n }
955
- )), 15, Vl)) : f("", !0),
956
- D(t) ? (a(), o("text", {
954
+ { datapoint: B.value, seriesIndex: n }
955
+ )), 15, Ol)) : h("", !0),
956
+ Y(t) ? (a(), o("text", {
957
957
  key: 1,
958
- x: s(V)(t, !0).x,
959
- "text-anchor": s(V)(t).anchor,
960
- y: s(K)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 2,
958
+ x: s(O)(t, !0).x,
959
+ "text-anchor": s(O)(t).anchor,
960
+ y: s(J)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 2,
961
961
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
962
962
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
963
- style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
963
+ style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
964
964
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
965
- }, c(s(z)({
965
+ }, c(s(N)({
966
966
  v: d.value.breakdown[n].proportionToRoot * 100,
967
967
  s: "%",
968
968
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
969
- })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[n].rootName), 15, Ol)) : f("", !0),
970
- D(t) ? (a(), o("text", {
969
+ })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[n].rootName), 15, Rl)) : h("", !0),
970
+ Y(t) ? (a(), o("text", {
971
971
  key: 2,
972
- x: s(V)(t, !0).x,
973
- "text-anchor": s(V)(t).anchor,
974
- y: s(K)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 3,
972
+ x: s(O)(t, !0).x,
973
+ "text-anchor": s(O)(t).anchor,
974
+ y: s(J)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 3,
975
975
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
976
976
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
977
- style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
977
+ style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
978
978
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
979
- }, c(s(z)({
979
+ }, c(s(N)({
980
980
  v: d.value.breakdown[n].proportionToTree * 100,
981
981
  s: "%",
982
982
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
983
- })) + " " + c(e.value.translations.proportionToTree), 15, Rl)) : f("", !0)
983
+ })) + " " + c(e.value.translations.proportionToTree), 15, Ml)) : h("", !0)
984
984
  ]))), 256))
985
- ])) : f("", !0),
986
- (a(!0), o(g, null, _(j.value, (t) => (a(), o("g", null, [
987
- x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
985
+ ])) : h("", !0),
986
+ (a(!0), o(p, null, g(X.value, (t) => (a(), o("g", null, [
987
+ _.value && _.value.id === t.id && !d.value ? (a(), o("text", {
988
988
  key: 0,
989
989
  x: t.x1 + 6,
990
990
  y: t.y1 + r.value.branchSize + 24,
@@ -993,18 +993,18 @@ const wt = ["id"], $t = {
993
993
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
994
994
  fill: e.value.style.chart.layout.branches.labels.color,
995
995
  onClick: $
996
- }, c(t.name) + ": " + c(s(G)(
996
+ }, c(t.name) + ": " + c(s(E)(
997
997
  e.value.style.chart.layout.branches.labels.dataLabels.formatter,
998
998
  t.value,
999
- s(z)({
999
+ s(N)({
1000
1000
  p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
1001
1001
  v: t.value,
1002
1002
  s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
1003
1003
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
1004
1004
  }),
1005
1005
  { datapoint: t }
1006
- )), 9, Ml)) : f("", !0),
1007
- x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
1006
+ )), 9, Bl)) : h("", !0),
1007
+ _.value && _.value.id === t.id && !d.value ? (a(), o("text", {
1008
1008
  key: 1,
1009
1009
  x: t.x1 + 6,
1010
1010
  y: t.y1 + r.value.branchSize + 48,
@@ -1012,12 +1012,12 @@ const wt = ["id"], $t = {
1012
1012
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1013
1013
  fill: e.value.style.chart.layout.branches.labels.color,
1014
1014
  onClick: $
1015
- }, c(s(z)({
1015
+ }, c(s(N)({
1016
1016
  v: t.proportionToRoot * 100,
1017
1017
  s: "%",
1018
1018
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
1019
- })) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, Bl)) : f("", !0),
1020
- x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
1019
+ })) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, Al)) : h("", !0),
1020
+ _.value && _.value.id === t.id && !d.value ? (a(), o("text", {
1021
1021
  key: 2,
1022
1022
  x: t.x1 + 6,
1023
1023
  y: t.y1 + r.value.branchSize + 72,
@@ -1025,18 +1025,18 @@ const wt = ["id"], $t = {
1025
1025
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1026
1026
  fill: e.value.style.chart.layout.branches.labels.color,
1027
1027
  onClick: $
1028
- }, c(s(z)({
1029
- v: t.value / R.value * 100,
1028
+ }, c(s(N)({
1029
+ v: t.value / M.value * 100,
1030
1030
  s: "%",
1031
1031
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
1032
- })) + " " + c(e.value.translations.proportionToTree), 9, Al)) : f("", !0)
1032
+ })) + " " + c(e.value.translations.proportionToTree), 9, jl)) : h("", !0)
1033
1033
  ]))), 256)),
1034
- S(l.$slots, "svg", { svg: r.value }, void 0, !0)
1035
- ], 14, Ct)) : f("", !0),
1036
- l.$slots.watermark ? (a(), o("div", jl, [
1037
- S(l.$slots, "watermark", Z(ee({ isPrinting: s(pe) || s(ge) })), void 0, !0)
1038
- ])) : f("", !0),
1039
- H.value ? f("", !0) : (a(), Q(s(Be), {
1034
+ F(l.$slots, "svg", { svg: r.value }, void 0, !0)
1035
+ ], 14, Tt)) : h("", !0),
1036
+ l.$slots.watermark ? (a(), o("div", Xl, [
1037
+ F(l.$slots, "watermark", ee(te({ isPrinting: s(ge) || s(_e) })), void 0, !0)
1038
+ ])) : h("", !0),
1039
+ W.value ? h("", !0) : (a(), Z(s(Ae), {
1040
1040
  key: 5,
1041
1041
  config: {
1042
1042
  type: "chestnut",
@@ -1048,15 +1048,15 @@ const wt = ["id"], $t = {
1048
1048
  }
1049
1049
  }
1050
1050
  }, null, 8, ["config"])),
1051
- S(l.$slots, "legend", { legend: N.value }, void 0, !0),
1052
- l.$slots.source ? (a(), o("div", Xl, [
1053
- S(l.$slots, "source", {}, void 0, !0)
1054
- ], 512)) : f("", !0),
1055
- H.value ? (a(), Q(s(Me), {
1051
+ F(l.$slots, "legend", { legend: S.value }, void 0, !0),
1052
+ l.$slots.source ? (a(), o("div", Gl, [
1053
+ F(l.$slots, "source", {}, void 0, !0)
1054
+ ], 512)) : h("", !0),
1055
+ W.value ? (a(), Z(s(Be), {
1056
1056
  key: 7,
1057
1057
  hideDetails: "",
1058
1058
  config: {
1059
- open: E.value.showTable,
1059
+ open: U.value.showTable,
1060
1060
  maxHeight: 1e4,
1061
1061
  body: {
1062
1062
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -1068,21 +1068,21 @@ const wt = ["id"], $t = {
1068
1068
  }
1069
1069
  }
1070
1070
  }, {
1071
- content: B(() => [
1071
+ content: A(() => [
1072
1072
  u("div", {
1073
1073
  ref_key: "tableContainer",
1074
- ref: se,
1074
+ ref: ue,
1075
1075
  class: "vue-ui-chestnut-table"
1076
1076
  }, [
1077
- u("div", Gl, [
1077
+ u("div", El, [
1078
1078
  u("div", {
1079
1079
  role: "button",
1080
1080
  tabindex: "0",
1081
- style: h(`width:32px; position: absolute; top: 0; left:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
1082
- onClick: i[0] || (i[0] = (t) => E.value.showTable = !1),
1083
- onKeypress: i[1] || (i[1] = rt((t) => E.value.showTable = !1, ["enter"]))
1081
+ 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};`),
1082
+ onClick: i[0] || (i[0] = (t) => U.value.showTable = !1),
1083
+ onKeypress: i[1] || (i[1] = it((t) => U.value.showTable = !1, ["enter"]))
1084
1084
  }, [
1085
- ze(s(Xe), {
1085
+ Ne(s(Ge), {
1086
1086
  name: "close",
1087
1087
  stroke: e.value.table.th.color,
1088
1088
  "stroke-width": 2
@@ -1090,129 +1090,129 @@ const wt = ["id"], $t = {
1090
1090
  ], 36),
1091
1091
  u("div", {
1092
1092
  style: { width: "100%" },
1093
- class: k({ "vue-ui-responsive": me.value })
1093
+ class: k({ "vue-ui-responsive": ke.value })
1094
1094
  }, [
1095
- u("table", El, [
1095
+ u("table", Ul, [
1096
1096
  u("caption", {
1097
- style: h({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
1097
+ style: y({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
1098
1098
  class: "vue-ui-data-table__caption"
1099
1099
  }, [
1100
- te(c(e.value.style.chart.layout.title.text) + " ", 1),
1101
- e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", Ul, c(e.value.style.chart.layout.title.subtitle.text), 1)) : f("", !0)
1100
+ le(c(e.value.style.chart.layout.title.text) + " ", 1),
1101
+ e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", Dl, c(e.value.style.chart.layout.title.subtitle.text), 1)) : h("", !0)
1102
1102
  ], 4),
1103
1103
  u("thead", null, [
1104
1104
  u("tr", {
1105
1105
  role: "row",
1106
- style: h(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1106
+ style: y(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1107
1107
  }, [
1108
- (a(!0), o(g, null, _(v.value.head, (t) => (a(), o("th", {
1109
- style: h(`outline:${e.value.table.th.outline}`)
1108
+ (a(!0), o(p, null, g(v.value.head, (t) => (a(), o("th", {
1109
+ style: y(`outline:${e.value.table.th.outline}`)
1110
1110
  }, c(t), 5))), 256))
1111
1111
  ], 4)
1112
1112
  ]),
1113
1113
  u("tbody", null, [
1114
- (a(!0), o(g, null, _(v.value.body, (t, n) => (a(), o("tr", {
1114
+ (a(!0), o(p, null, g(v.value.body, (t, n) => (a(), o("tr", {
1115
1115
  class: k({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": n % 2 === 0, "vue-ui-data-table__tbody__row-odd": n % 2 !== 0 }),
1116
- style: h(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1116
+ style: y(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1117
1117
  }, [
1118
1118
  u("td", {
1119
1119
  class: "vue-ui-data-table__tbody__td",
1120
- style: h(`outline:${e.value.table.td.outline}`),
1120
+ style: y(`outline:${e.value.table.td.outline}`),
1121
1121
  "data-cell": v.value.head[0]
1122
1122
  }, [
1123
- u("div", Yl, [
1124
- v.value.body[n - 1] && v.value.body[n - 1].rootName === t.rootName ? (a(), o("span", ql)) : (a(), o("span", Hl, c(t.rootName), 1))
1123
+ u("div", ql, [
1124
+ v.value.body[n - 1] && v.value.body[n - 1].rootName === t.rootName ? (a(), o("span", Hl)) : (a(), o("span", Wl, c(t.rootName), 1))
1125
1125
  ])
1126
- ], 12, Dl),
1126
+ ], 12, Yl),
1127
1127
  u("td", {
1128
1128
  class: "vue-ui-data-table__tbody__td",
1129
- style: h(`outline:${e.value.table.td.outline}`),
1129
+ style: y(`outline:${e.value.table.td.outline}`),
1130
1130
  "data-cell": v.value.head[1]
1131
1131
  }, [
1132
- u("div", Kl, [
1133
- v.value.body[n - 1] && v.value.body[n - 1].rootName === t.rootName ? (a(), o("span", Jl)) : (a(), o("span", Ql, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
1132
+ u("div", Jl, [
1133
+ v.value.body[n - 1] && v.value.body[n - 1].rootName === t.rootName ? (a(), o("span", Ql)) : (a(), o("span", Zl, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
1134
1134
  ])
1135
- ], 12, Wl),
1135
+ ], 12, Kl),
1136
1136
  u("td", {
1137
1137
  class: "vue-ui-data-table__tbody__td",
1138
- style: h(`outline:${e.value.table.td.outline}`),
1138
+ style: y(`outline:${e.value.table.td.outline}`),
1139
1139
  "data-cell": v.value.head[2]
1140
1140
  }, [
1141
- u("div", ea, [
1142
- v.value.body[n - 1] && v.value.body[n - 1].rootName === t.rootName ? (a(), o("span", ta)) : (a(), o("span", la, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1141
+ u("div", ta, [
1142
+ v.value.body[n - 1] && v.value.body[n - 1].rootName === t.rootName ? (a(), o("span", la)) : (a(), o("span", aa, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1143
1143
  ])
1144
- ], 12, Zl),
1144
+ ], 12, ea),
1145
1145
  u("td", {
1146
1146
  class: "vue-ui-data-table__tbody__td",
1147
- style: h(`outline:${e.value.table.td.outline}`),
1147
+ style: y(`outline:${e.value.table.td.outline}`),
1148
1148
  "data-cell": v.value.head[3]
1149
1149
  }, [
1150
- u("div", oa, [
1151
- v.value.body[n - 1] && v.value.body[n - 1].branchName === t.branchName ? (a(), o("span", sa)) : (a(), o("span", ua, c(t.branchName), 1))
1150
+ u("div", sa, [
1151
+ v.value.body[n - 1] && v.value.body[n - 1].branchName === t.branchName ? (a(), o("span", ua)) : (a(), o("span", na, c(t.branchName), 1))
1152
1152
  ])
1153
- ], 12, aa),
1153
+ ], 12, oa),
1154
1154
  u("td", {
1155
1155
  class: "vue-ui-data-table__tbody__td",
1156
- style: h(`outline:${e.value.table.td.outline}`),
1156
+ style: y(`outline:${e.value.table.td.outline}`),
1157
1157
  "data-cell": v.value.head[4]
1158
1158
  }, [
1159
- u("div", ra, [
1160
- v.value.body[n - 1] && v.value.body[n - 1].branchName === t.branchName ? (a(), o("span", ia)) : (a(), o("span", ca, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
1159
+ u("div", ia, [
1160
+ v.value.body[n - 1] && v.value.body[n - 1].branchName === t.branchName ? (a(), o("span", ca)) : (a(), o("span", da, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
1161
1161
  ])
1162
- ], 12, na),
1162
+ ], 12, ra),
1163
1163
  u("td", {
1164
1164
  class: "vue-ui-data-table__tbody__td",
1165
- style: h(`outline:${e.value.table.td.outline}`),
1165
+ style: y(`outline:${e.value.table.td.outline}`),
1166
1166
  "data-cell": v.value.head[5]
1167
1167
  }, [
1168
- u("div", va, [
1169
- v.value.body[n - 1] && v.value.body[n - 1].branchName === t.branchName ? (a(), o("span", ya)) : (a(), o("span", ha, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1168
+ u("div", ya, [
1169
+ v.value.body[n - 1] && v.value.body[n - 1].branchName === t.branchName ? (a(), o("span", ha)) : (a(), o("span", fa, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1170
1170
  ])
1171
- ], 12, da),
1171
+ ], 12, va),
1172
1172
  u("td", {
1173
1173
  class: "vue-ui-data-table__tbody__td",
1174
- style: h(`outline:${e.value.table.td.outline}`),
1174
+ style: y(`outline:${e.value.table.td.outline}`),
1175
1175
  "data-cell": v.value.head[6]
1176
1176
  }, [
1177
- u("div", ba, [
1178
- v.value.body[n - 1] && v.value.body[n - 1].branchName === t.branchName ? (a(), o("span", pa)) : (a(), o("span", ga, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1177
+ u("div", pa, [
1178
+ v.value.body[n - 1] && v.value.body[n - 1].branchName === t.branchName ? (a(), o("span", ga)) : (a(), o("span", _a, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1179
1179
  ])
1180
- ], 12, fa),
1180
+ ], 12, ba),
1181
1181
  u("td", {
1182
1182
  class: "vue-ui-data-table__tbody__td",
1183
- style: h(`outline:${e.value.table.td.outline}`),
1183
+ style: y(`outline:${e.value.table.td.outline}`),
1184
1184
  "data-cell": v.value.head[7]
1185
1185
  }, [
1186
- u("div", xa, c(t.nutName), 1)
1187
- ], 12, _a),
1186
+ u("div", ma, c(t.nutName), 1)
1187
+ ], 12, xa),
1188
1188
  u("td", {
1189
1189
  class: "vue-ui-data-table__tbody__td",
1190
- style: h(`outline:${e.value.table.td.outline}`),
1190
+ style: y(`outline:${e.value.table.td.outline}`),
1191
1191
  "data-cell": v.value.head[8]
1192
1192
  }, [
1193
- u("div", ka, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1194
- ], 12, ma),
1193
+ u("div", wa, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1194
+ ], 12, ka),
1195
1195
  u("td", {
1196
1196
  class: "vue-ui-data-table__tbody__td",
1197
- style: h(`outline:${e.value.table.td.outline}`),
1197
+ style: y(`outline:${e.value.table.td.outline}`),
1198
1198
  "data-cell": v.value.head[9]
1199
1199
  }, [
1200
- u("div", $a, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1201
- ], 12, wa),
1200
+ u("div", Ca, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1201
+ ], 12, $a),
1202
1202
  u("td", {
1203
1203
  class: "vue-ui-data-table__tbody__td",
1204
- style: h(`outline:${e.value.table.td.outline}`),
1204
+ style: y(`outline:${e.value.table.td.outline}`),
1205
1205
  "data-cell": v.value.head[10]
1206
1206
  }, [
1207
- u("div", Ta, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1208
- ], 12, Ca),
1207
+ u("div", za, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1208
+ ], 12, Ta),
1209
1209
  u("td", {
1210
1210
  class: "vue-ui-data-table__tbody__td",
1211
- style: h(`outline:${e.value.table.td.outline}`),
1211
+ style: y(`outline:${e.value.table.td.outline}`),
1212
1212
  "data-cell": v.value.head[11]
1213
1213
  }, [
1214
- u("div", Na, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1215
- ], 12, za)
1214
+ u("div", Sa, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1215
+ ], 12, Na)
1216
1216
  ], 6))), 256))
1217
1217
  ])
1218
1218
  ])
@@ -1221,10 +1221,10 @@ const wt = ["id"], $t = {
1221
1221
  ], 512)
1222
1222
  ]),
1223
1223
  _: 1
1224
- }, 8, ["config"])) : f("", !0)
1225
- ], 46, wt));
1224
+ }, 8, ["config"])) : h("", !0)
1225
+ ], 46, $t));
1226
1226
  }
1227
- }, Ba = /* @__PURE__ */ kt(Sa, [["__scopeId", "data-v-a913d301"]]);
1227
+ }, Ba = /* @__PURE__ */ wt(Fa, [["__scopeId", "data-v-4edbb77e"]]);
1228
1228
  export {
1229
1229
  Ba as default
1230
1230
  };