vue-data-ui 2.12.8-beta.2 → 2.12.8-beta.4

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 +21 -0
  2. package/dist/{Arrow-HbfibAF0.js → Arrow-XoY1VXNf.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DGrErCX-.js → BaseDraggableDialog-CXe0WfN-.js} +2 -2
  4. package/dist/{BaseIcon-j0c6lJUs.js → BaseIcon-d4dmqhkb.js} +1 -1
  5. package/dist/{ColorPicker-DitXXl-H.js → ColorPicker-B3v0IhDO.js} +2 -2
  6. package/dist/{DataTable-CsoAI95B.js → DataTable-CmbjnjRg.js} +2 -2
  7. package/dist/{Legend-ZW-PFcHg.js → Legend-YPYnzTBz.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-DJTUaQ94.js → NonSvgPenAndPaper-SD-bH_GI.js} +3 -3
  9. package/dist/{PackageVersion-DCAZ9Z7V.js → PackageVersion-OcbP0WH2.js} +1 -1
  10. package/dist/{PenAndPaper-B9RP4oFj.js → PenAndPaper-BgPXmpGI.js} +3 -3
  11. package/dist/{Shape-BBbhObHC.js → Shape-WvXjwML_.js} +1 -1
  12. package/dist/{Slicer-Vh74fjdf.js → Slicer-CaMHCF_p.js} +2 -2
  13. package/dist/{SparkTooltip-CG-HMbX2.js → SparkTooltip-BTLad6y3.js} +1 -1
  14. package/dist/{Title-Dx8ctnVy.js → Title-CJcZXNtK.js} +1 -1
  15. package/dist/{Tooltip-COHlzpZI.js → Tooltip-dXp8FaUj.js} +1 -1
  16. package/dist/{UserOptions-CGn3YdRV.js → UserOptions-Cs7JW3dK.js} +154 -138
  17. package/dist/dom-to-png-DGfv21rX.js +247 -0
  18. package/dist/img-fdViJw1e.js +20 -0
  19. package/dist/{index-CbcpITE_.js → index-BzQ0j5xI.js} +190 -128
  20. package/dist/{pdf-Cy09nTjn.js → pdf-Bj65uPK-.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +60 -1
  23. package/dist/types/vue-data-ui.d.ts +60 -1
  24. package/dist/{useNestedProp-y56W8I7J.js → useNestedProp-DqpZEE3h.js} +1 -1
  25. package/dist/{usePrinter-u-gQiRNz.js → usePrinter-CpG5jh_z.js} +2 -2
  26. package/dist/{vue-data-ui-DGmMT-Yp.js → vue-data-ui-CeIncf6V.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-Du4TkjPV.js → vue-ui-3d-bar-fAJK0nIB.js} +175 -174
  29. package/dist/{vue-ui-accordion-BkA7rtwr.js → vue-ui-accordion-bpaEpjqI.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-bw7gLRlR.js → vue-ui-age-pyramid-D5w5EqmV.js} +200 -199
  31. package/dist/{vue-ui-annotator-C-_zXB7H.js → vue-ui-annotator-CSGemK-O.js} +2 -2
  32. package/dist/{vue-ui-bullet-BRnz7E8e.js → vue-ui-bullet-FPBahjOr.js} +9 -8
  33. package/dist/{vue-ui-candlestick-9cPPnO0t.js → vue-ui-candlestick-BpP9MQC2.js} +115 -114
  34. package/dist/{vue-ui-carousel-table-BJuSGbk2.js → vue-ui-carousel-table-lpdLFAfT.js} +80 -79
  35. package/dist/{vue-ui-chestnut-D2dnrdHT.js → vue-ui-chestnut-D5um0tmC.js} +453 -452
  36. package/dist/{vue-ui-chord-Rvygj27H.js → vue-ui-chord-CgrXXOgv.js} +43 -42
  37. package/dist/{vue-ui-circle-pack-BR79EDAC.js → vue-ui-circle-pack-Jk-Yd8T_.js} +143 -142
  38. package/dist/{vue-ui-cursor-K11x9TYc.js → vue-ui-cursor-BjmAMjTd.js} +2 -2
  39. package/dist/{vue-ui-dashboard-BgxqXwqN.js → vue-ui-dashboard-CQ0B1DMq.js} +62 -62
  40. package/dist/{vue-ui-digits-D7StMUym.js → vue-ui-digits-B3h4BufU.js} +2 -2
  41. package/dist/{vue-ui-donut-CyOg8kph.js → vue-ui-donut-DcjJqRof.js} +151 -150
  42. package/dist/{vue-ui-donut-evolution-CVhQaMNQ.js → vue-ui-donut-evolution-DmSbXlMu.js} +111 -110
  43. package/dist/{vue-ui-dumbbell-C7Wex4VO.js → vue-ui-dumbbell-BLcmTUd_.js} +54 -53
  44. package/dist/{vue-ui-flow-DFNdP-V9.js → vue-ui-flow-BmIGl6DC.js} +14 -13
  45. package/dist/{vue-ui-funnel-DqWcZVvF.js → vue-ui-funnel-BJfxaSQC.js} +75 -74
  46. package/dist/{vue-ui-galaxy-BhPbJqYr.js → vue-ui-galaxy-Cpnr2YW-.js} +84 -83
  47. package/dist/{vue-ui-gauge-sP6YPTJH.js → vue-ui-gauge-BhPFNziU.js} +33 -32
  48. package/dist/{vue-ui-gizmo-B4fq_bGX.js → vue-ui-gizmo-B2wA-kmz.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CpNjtuyD.js → vue-ui-heatmap-CpwNMx3i.js} +222 -221
  50. package/dist/{vue-ui-history-plot-CtgTg4fG.js → vue-ui-history-plot-DpxHqDZw.js} +234 -233
  51. package/dist/{vue-ui-kpi-CN2AE1VF.js → vue-ui-kpi-CvqXwiiE.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CYt8LlhO.js → vue-ui-mini-loader-DIjSfc7L.js} +2 -2
  53. package/dist/{vue-ui-molecule-D3kexAu_.js → vue-ui-molecule-3-vg0Re6.js} +44 -43
  54. package/dist/{vue-ui-mood-radar-hHqR8eS7.js → vue-ui-mood-radar-B7W7wGkW.js} +76 -75
  55. package/dist/{vue-ui-nested-donuts-DXwaOA_n.js → vue-ui-nested-donuts-ByoeDL-3.js} +53 -52
  56. package/dist/{vue-ui-onion-C7R2R5tf.js → vue-ui-onion-CNVwf4QX.js} +72 -71
  57. package/dist/{vue-ui-parallel-coordinate-plot-Dh772r8W.js → vue-ui-parallel-coordinate-plot-C0KJrBX8.js} +13 -12
  58. package/dist/{vue-ui-quadrant-jrOesLSU.js → vue-ui-quadrant-C-wPn5l5.js} +13 -12
  59. package/dist/{vue-ui-quick-chart-CtLnhGZA.js → vue-ui-quick-chart-SV-m_FhA.js} +8 -7
  60. package/dist/{vue-ui-radar-BikYRjfw.js → vue-ui-radar-DqOzvLUy.js} +283 -282
  61. package/dist/{vue-ui-rating-DUYbT-Ve.js → vue-ui-rating-CsZXcINB.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CjnDrflp.js → vue-ui-relation-circle-B0zxq02O.js} +75 -74
  63. package/dist/{vue-ui-ridgeline-o7-RpeJx.js → vue-ui-ridgeline-CykFyAin.js} +102 -101
  64. package/dist/{vue-ui-rings-Dinj5ws1.js → vue-ui-rings-DoJwXgd3.js} +110 -109
  65. package/dist/{vue-ui-scatter-CODAsxBq.js → vue-ui-scatter-BTT3BYrI.js} +166 -165
  66. package/dist/{vue-ui-skeleton-miKWlCAi.js → vue-ui-skeleton-CavMQlAm.js} +3 -3
  67. package/dist/{vue-ui-smiley-DwqlNm1O.js → vue-ui-smiley-DdT6TBz8.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-BjL35phT.js → vue-ui-spark-trend-D9q63V2-.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-2o2ZLL50.js → vue-ui-sparkbar-DCS_f__b.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-CMlBpOcc.js → vue-ui-sparkgauge-CGDjBHjo.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C7Ue-aaI.js → vue-ui-sparkhistogram-Ctpm0106.js} +4 -4
  72. package/dist/{vue-ui-sparkline-w29yzdZG.js → vue-ui-sparkline-BVyjNK_A.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-DbIxY7W3.js → vue-ui-sparkstackbar-BsNDucJO.js} +3 -3
  74. package/dist/{vue-ui-stackbar-CWqpeYW-.js → vue-ui-stackbar-DuGcJQ6F.js} +39 -38
  75. package/dist/{vue-ui-strip-plot-DyjQVaDX.js → vue-ui-strip-plot-C6vbloAI.js} +82 -81
  76. package/dist/{vue-ui-table-Bx82XIlz.js → vue-ui-table-Bb6pNaIM.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-RvSyx9L6.js → vue-ui-table-heatmap-_ypWL_z2.js} +77 -76
  78. package/dist/{vue-ui-table-sparkline-DebvtEV3.js → vue-ui-table-sparkline-_pPedR_D.js} +74 -73
  79. package/dist/{vue-ui-thermometer-yPKRIlqA.js → vue-ui-thermometer-CmLnTIU7.js} +22 -21
  80. package/dist/{vue-ui-timer-C15nOU7T.js → vue-ui-timer-CpAJT80M.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-C2G8HtiX.js → vue-ui-tiremarks-DXgmJClr.js} +38 -37
  82. package/dist/{vue-ui-treemap-cFhw0xSg.js → vue-ui-treemap-Ci2Yi9Gh.js} +109 -108
  83. package/dist/{vue-ui-vertical-bar-dWiOw4sV.js → vue-ui-vertical-bar-pn_EqFmU.js} +82 -81
  84. package/dist/{vue-ui-waffle-Uldnmn6D.js → vue-ui-waffle-vqh1kEDT.js} +33 -32
  85. package/dist/{vue-ui-wheel-Cz79iDLO.js → vue-ui-wheel-BCcK6wwZ.js} +8 -7
  86. package/dist/{vue-ui-word-cloud-BGeHV6hS.js → vue-ui-word-cloud-Bu8Giu0b.js} +110 -109
  87. package/dist/{vue-ui-world-D1Dy-4mh.js → vue-ui-world-CzRlg19V.js} +57 -56
  88. package/dist/{vue-ui-xy-BA7xWU7_.js → vue-ui-xy-0gHPOOwZ.js} +982 -856
  89. package/dist/{vue-ui-xy-canvas-B2kkKb64.js → vue-ui-xy-canvas-DuAgXbBB.js} +41 -40
  90. package/package.json +1 -1
  91. package/dist/dom-to-png-BjSUS-jY.js +0 -243
  92. package/dist/img-DWfzRJdv.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-CbcpITE_.js";
3
- import { u as Le } from "./useNestedProp-y56W8I7J.js";
4
- import { u as _t } from "./usePrinter-u-gQiRNz.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-BzQ0j5xI.js";
3
+ import { u as Pe } from "./useNestedProp-DqpZEE3h.js";
4
+ import { u as xt } from "./usePrinter-CpG5jh_z.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
- "2274334f": l.tdo
45
+ setup(Ve, { expose: Oe, emit: Re }) {
46
+ at((l) => ({
47
+ "69a9e7b7": l.tdo
48
48
  }));
49
- const Re = q(() => import("./PenAndPaper-B9RP4oFj.js")), Me = q(() => import("./vue-ui-accordion-BkA7rtwr.js")), Be = q(() => import("./vue-ui-skeleton-miKWlCAi.js")), Ae = q(() => import("./UserOptions-CGn3YdRV.js")), je = q(() => import("./PackageVersion-DCAZ9Z7V.js")), Xe = q(() => import("./BaseIcon-j0c6lJUs.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-BgPXmpGI.js")), Be = H(() => import("./vue-ui-accordion-bpaEpjqI.js")), Ae = H(() => import("./vue-ui-skeleton-CavMQlAm.js")), je = H(() => import("./UserOptions-Cs7JW3dK.js")), Xe = H(() => import("./PackageVersion-OcbP0WH2.js")), Ge = H(() => import("./BaseIcon-d4dmqhkb.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,154 +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,
348
- onToggleFullscreen: tt,
349
- onGeneratePdf: s(_e),
350
- onGenerateCsv: Ce,
351
- onGenerateImage: s(xe),
352
- onToggleTable: Te,
353
- onToggleAnnotator: re,
354
- style: h({
355
- visibility: s(he) ? s(ae) ? "visible" : "hidden" : "visible"
347
+ isAnnotation: Q.value,
348
+ callbacks: e.value.userOptions.callbacks,
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"
356
357
  })
357
- }, nt({ _: 2 }, [
358
+ }, rt({ _: 2 }, [
358
359
  l.$slots.menuIcon ? {
359
360
  name: "menuIcon",
360
- fn: B(({ isOpen: t, color: n }) => [
361
- 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)
362
363
  ]),
363
364
  key: "0"
364
365
  } : void 0,
365
366
  l.$slots.optionPdf ? {
366
367
  name: "optionPdf",
367
- fn: B(() => [
368
- S(l.$slots, "optionPdf", {}, void 0, !0)
368
+ fn: A(() => [
369
+ F(l.$slots, "optionPdf", {}, void 0, !0)
369
370
  ]),
370
371
  key: "1"
371
372
  } : void 0,
372
373
  l.$slots.optionCsv ? {
373
374
  name: "optionCsv",
374
- fn: B(() => [
375
- S(l.$slots, "optionCsv", {}, void 0, !0)
375
+ fn: A(() => [
376
+ F(l.$slots, "optionCsv", {}, void 0, !0)
376
377
  ]),
377
378
  key: "2"
378
379
  } : void 0,
379
380
  l.$slots.optionImg ? {
380
381
  name: "optionImg",
381
- fn: B(() => [
382
- S(l.$slots, "optionImg", {}, void 0, !0)
382
+ fn: A(() => [
383
+ F(l.$slots, "optionImg", {}, void 0, !0)
383
384
  ]),
384
385
  key: "3"
385
386
  } : void 0,
386
387
  l.$slots.optionTable ? {
387
388
  name: "optionTable",
388
- fn: B(() => [
389
- S(l.$slots, "optionTable", {}, void 0, !0)
389
+ fn: A(() => [
390
+ F(l.$slots, "optionTable", {}, void 0, !0)
390
391
  ]),
391
392
  key: "4"
392
393
  } : void 0,
393
394
  l.$slots.optionFullscreen ? {
394
395
  name: "optionFullscreen",
395
- fn: B(({ toggleFullscreen: t, isFullscreen: n }) => [
396
- 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)
397
398
  ]),
398
399
  key: "5"
399
400
  } : void 0,
400
401
  l.$slots.optionAnnotator ? {
401
402
  name: "optionAnnotator",
402
- fn: B(({ toggleAnnotator: t, isAnnotator: n }) => [
403
- 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)
404
405
  ]),
405
406
  key: "6"
406
407
  } : void 0
407
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
408
- 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", {
409
410
  key: 3,
410
411
  ref_key: "svgRef",
411
- ref: fe,
412
- xmlns: s(ft),
413
- 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 }),
414
415
  viewBox: `0 0 ${r.value.width <= 0 ? 10 : r.value.width} ${r.value.height <= 0 ? 10 : r.value.height}`,
415
- 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}`)
416
417
  }, [
417
- ze(s(je)),
418
+ Ne(s(Xe)),
418
419
  l.$slots["chart-background"] ? (a(), o("foreignObject", {
419
420
  key: 0,
420
421
  x: 0,
@@ -425,9 +426,9 @@ const wt = ["id"], $t = {
425
426
  pointerEvents: "none"
426
427
  }
427
428
  }, [
428
- S(l.$slots, "chart-background", {}, void 0, !0)
429
- ], 8, Tt)) : f("", !0),
430
- 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, [
431
432
  e.value.style.chart.layout.title.text ? (a(), o("text", {
432
433
  key: 0,
433
434
  "text-anchor": "middle",
@@ -437,7 +438,7 @@ const wt = ["id"], $t = {
437
438
  x: r.value.width / 2,
438
439
  y: 12 + e.value.style.chart.layout.title.fontSize + e.value.style.chart.layout.title.offsetY,
439
440
  onClick: $
440
- }, 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),
441
442
  e.value.style.chart.layout.title.subtitle.text ? (a(), o("text", {
442
443
  key: 1,
443
444
  "text-anchor": "middle",
@@ -447,10 +448,10 @@ const wt = ["id"], $t = {
447
448
  x: r.value.width / 2,
448
449
  y: 48 + e.value.style.chart.layout.title.subtitle.fontSize + e.value.style.chart.layout.title.subtitle.offsetY,
449
450
  onClick: $
450
- }, 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)
451
452
  ])),
452
453
  u("defs", null, [
453
- (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", {
454
455
  cx: "50%",
455
456
  cy: "50%",
456
457
  r: "50%",
@@ -460,14 +461,14 @@ const wt = ["id"], $t = {
460
461
  }, [
461
462
  u("stop", {
462
463
  offset: "0%",
463
- "stop-color": s(F)(s(Se)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
464
- }, 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),
465
466
  u("stop", {
466
467
  offset: "100%",
467
468
  "stop-color": t.color
468
- }, null, 8, Lt)
469
- ], 8, Ft))), 256)),
470
- (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", {
471
472
  x1: "0%",
472
473
  y1: "0%",
473
474
  x2: "100%",
@@ -477,12 +478,12 @@ const wt = ["id"], $t = {
477
478
  u("stop", {
478
479
  offset: "0%",
479
480
  "stop-color": t.color
480
- }, null, 8, Vt),
481
+ }, null, 8, Ot),
481
482
  u("stop", {
482
483
  offset: "100%",
483
- "stop-color": s(F)(s(Se)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
484
- }, null, 8, Ot)
485
- ], 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)),
486
487
  u("radialGradient", {
487
488
  cx: "50%",
488
489
  cy: "50%",
@@ -493,17 +494,17 @@ const wt = ["id"], $t = {
493
494
  }, [
494
495
  u("stop", {
495
496
  offset: "0%",
496
- "stop-color": s(F)("#FFFFFF", 0)
497
- }, null, 8, Mt),
497
+ "stop-color": s(I)("#FFFFFF", 0)
498
+ }, null, 8, Bt),
498
499
  u("stop", {
499
500
  offset: "80%",
500
- "stop-color": s(F)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
501
- }, null, 8, Bt),
501
+ "stop-color": s(I)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
502
+ }, null, 8, At),
502
503
  u("stop", {
503
504
  offset: "100%",
504
- "stop-color": s(F)("#FFFFFF", 0)
505
- }, null, 8, At)
506
- ], 8, Rt),
505
+ "stop-color": s(I)("#FFFFFF", 0)
506
+ }, null, 8, jt)
507
+ ], 8, Mt),
507
508
  u("radialGradient", {
508
509
  cx: "50%",
509
510
  cy: "50%",
@@ -514,17 +515,17 @@ const wt = ["id"], $t = {
514
515
  }, [
515
516
  u("stop", {
516
517
  offset: "0%",
517
- "stop-color": s(F)("#FFFFFF", 0)
518
- }, null, 8, Xt),
518
+ "stop-color": s(I)("#FFFFFF", 0)
519
+ }, null, 8, Gt),
519
520
  u("stop", {
520
521
  offset: "80%",
521
- "stop-color": s(F)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
522
- }, null, 8, Gt),
522
+ "stop-color": s(I)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
523
+ }, null, 8, Et),
523
524
  u("stop", {
524
525
  offset: "100%",
525
- "stop-color": s(F)("#FFFFFF", 0)
526
- }, null, 8, Et)
527
- ], 8, jt),
526
+ "stop-color": s(I)("#FFFFFF", 0)
527
+ }, null, 8, Ut)
528
+ ], 8, Xt),
528
529
  u("radialGradient", {
529
530
  cx: "50%",
530
531
  cy: "50%",
@@ -535,19 +536,19 @@ const wt = ["id"], $t = {
535
536
  }, [
536
537
  u("stop", {
537
538
  offset: "0%",
538
- "stop-color": s(F)(e.value.style.chart.backgroundColor, 100)
539
- }, null, 8, Dt),
539
+ "stop-color": s(I)(e.value.style.chart.backgroundColor, 100)
540
+ }, null, 8, Yt),
540
541
  u("stop", {
541
542
  offset: "80%",
542
- "stop-color": s(F)(e.value.style.chart.backgroundColor, 60)
543
- }, null, 8, Yt),
543
+ "stop-color": s(I)(e.value.style.chart.backgroundColor, 60)
544
+ }, null, 8, qt),
544
545
  u("stop", {
545
546
  offset: "100%",
546
- "stop-color": s(F)(e.value.style.chart.backgroundColor, 0)
547
- }, null, 8, qt)
548
- ], 8, Ut)
547
+ "stop-color": s(I)(e.value.style.chart.backgroundColor, 0)
548
+ }, null, 8, Ht)
549
+ ], 8, Dt)
549
550
  ]),
550
- e.value.style.chart.layout.grandTotal.show ? (a(), o("g", Ht, [
551
+ e.value.style.chart.layout.grandTotal.show ? (a(), o("g", Wt, [
551
552
  u("text", {
552
553
  x: C.value.seedX,
553
554
  y: 32 + e.value.style.chart.layout.grandTotal.offsetY,
@@ -556,7 +557,7 @@ const wt = ["id"], $t = {
556
557
  fill: e.value.style.chart.layout.grandTotal.color,
557
558
  "text-anchor": "middle",
558
559
  onClick: $
559
- }, c(e.value.style.chart.layout.grandTotal.text), 9, Wt),
560
+ }, c(e.value.style.chart.layout.grandTotal.text), 9, Kt),
560
561
  u("text", {
561
562
  x: C.value.seedX,
562
563
  y: 38 + e.value.style.chart.layout.grandTotal.fontSize + e.value.style.chart.layout.grandTotal.offsetY,
@@ -565,74 +566,74 @@ const wt = ["id"], $t = {
565
566
  fill: e.value.style.chart.layout.grandTotal.color,
566
567
  "text-anchor": "middle",
567
568
  onClick: $
568
- }, c(s(G)(
569
+ }, c(s(E)(
569
570
  e.value.style.chart.layout.grandTotal.formatter,
570
- R.value,
571
- s(z)({
571
+ M.value,
572
+ s(N)({
572
573
  p: e.value.style.chart.layout.grandTotal.prefix,
573
- v: R.value,
574
+ v: M.value,
574
575
  s: e.value.style.chart.layout.grandTotal.suffix,
575
576
  r: e.value.style.chart.layout.grandTotal.roundingValue
576
577
  })
577
- )), 9, Kt)
578
- ])) : f("", !0),
579
- (a(!0), o(g, null, _(j.value, (t) => (a(), o("g", null, [
580
- (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", {
581
582
  d: `M
582
583
  ${t.x1},${t.y1 + b}
583
584
  C${t.x1 - 20},${t.y1 + b}
584
585
  ${t.x1 - 80},${t.y1 + b}
585
- ${ue(t).x + ue(t).r / 2}, ${ue(t).y}
586
+ ${ne(t).x + ne(t).r / 2}, ${ne(t).y}
586
587
  `,
587
- 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),
588
589
  fill: "none",
589
590
  "stroke-width": "2",
590
591
  "shape-rendering": "cirspEdges",
591
- style: h(`opacity:${L(t) ? 1 : 0}`),
592
+ style: y(`opacity:${P(t) ? 1 : 0}`),
592
593
  onClick: $
593
- }, null, 12, Jt))), 256))
594
+ }, null, 12, Qt))), 256))
594
595
  ]))), 256)),
595
- (a(!0), o(g, null, _(A.value, (t) => (a(), o("circle", {
596
+ (a(!0), o(p, null, g(j.value, (t) => (a(), o("circle", {
596
597
  cx: t.x,
597
598
  cy: t.y,
598
599
  r: t.r,
599
600
  fill: e.value.style.chart.layout.roots.underlayerColor,
600
601
  stroke: "none",
601
- style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`)
602
- }, null, 12, Qt))), 256)),
603
- (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", {
604
605
  cx: t.x,
605
606
  cy: t.y,
606
607
  r: t.r,
607
608
  fill: e.value.style.chart.layout.roots.useGradient ? `url(#root_gradient_${w.value}_${t.rootIndex})` : t.color,
608
609
  stroke: e.value.style.chart.layout.roots.stroke,
609
610
  "stroke-width": e.value.style.chart.layout.roots.strokeWidth,
610
- style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
611
- onClick: (b) => we(t)
612
- }, null, 12, Zt))), 256)),
613
- e.value.style.chart.layout.roots.labels.show ? (a(), o("g", el, [
614
- (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", {
615
616
  x: t.x,
616
617
  y: t.y + e.value.style.chart.layout.roots.labels.fontSize / 2.6,
617
618
  "text-anchor": "middle",
618
619
  "font-size": e.value.style.chart.layout.roots.labels.fontSize,
619
- 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,
620
621
  "font-weight": "bold",
621
- style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
622
- onClick: (b) => we(t)
623
- }, c(s(G)(
622
+ style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`),
623
+ onClick: (b) => $e(t)
624
+ }, c(s(E)(
624
625
  e.value.style.chart.layout.roots.labels.formatter,
625
626
  t.total,
626
- s(z)({
627
+ s(N)({
627
628
  p: e.value.style.chart.layout.roots.labels.prefix,
628
629
  v: t.total,
629
630
  s: e.value.style.chart.layout.roots.labels.suffix,
630
631
  r: e.value.style.chart.layout.roots.labels.roundingValue
631
632
  }),
632
633
  { datapoint: t }
633
- )), 13, tl))), 256)),
634
- (a(!0), o(g, null, _(A.value, (t) => (a(), o("g", null, [
635
- 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, [
636
637
  u("text", {
637
638
  x: t.x,
638
639
  y: t.y + t.r + 24,
@@ -641,11 +642,11 @@ const wt = ["id"], $t = {
641
642
  "font-size": e.value.style.chart.layout.roots.labels.name.fontSize,
642
643
  "font-weight": e.value.style.chart.layout.roots.labels.name.bold ? "bold" : "normal",
643
644
  onClick: $
644
- }, c(t.name), 9, al)
645
- ])) : f("", !0)
645
+ }, c(t.name), 9, ol)
646
+ ])) : h("", !0)
646
647
  ]))), 256))
647
- ])) : f("", !0),
648
- (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", {
649
650
  x: t.x1,
650
651
  y: t.y1,
651
652
  height: r.value.branchSize,
@@ -653,10 +654,10 @@ const wt = ["id"], $t = {
653
654
  fill: e.value.style.chart.layout.branches.underlayerColor,
654
655
  rx: e.value.style.chart.layout.branches.borderRadius,
655
656
  stroke: "none",
656
- style: h(`opacity:${L(t) ? 1 : 0.05}`),
657
- onClick: (n) => ne(t)
658
- }, null, 12, ol))), 256)),
659
- (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", {
660
661
  x: t.x1,
661
662
  y: t.y1,
662
663
  height: r.value.branchSize,
@@ -665,68 +666,68 @@ const wt = ["id"], $t = {
665
666
  rx: e.value.style.chart.layout.branches.borderRadius,
666
667
  stroke: e.value.style.chart.layout.branches.stroke,
667
668
  "stroke-width": e.value.style.chart.layout.branches.strokeWidth,
668
- style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
669
- onClick: (b) => ne(t)
670
- }, null, 12, sl))), 256)),
671
- e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", ul, [
672
- (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, [
673
674
  t.proportionToRoot * 100 > e.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (a(), o("text", {
674
675
  key: 0,
675
676
  x: t.x1 + 6,
676
677
  y: t.y1 + r.value.branchSize / 1.5,
677
678
  "text-anchor": "start",
678
- fill: s(Fe)(t.color),
679
+ fill: s(Ie)(t.color),
679
680
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
680
681
  "font-weight": "bold",
681
- style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
682
- onClick: (n) => ne(t)
683
- }, c(s(G)(
682
+ style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`),
683
+ onClick: (n) => re(t)
684
+ }, c(s(E)(
684
685
  e.value.style.chart.layout.branches.labels.dataLabels.formatter,
685
686
  t.value,
686
- s(z)({
687
+ s(N)({
687
688
  p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
688
689
  v: t.value,
689
690
  s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
690
691
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
691
692
  }),
692
693
  { datapoint: t }
693
- )), 13, nl)) : f("", !0)
694
+ )), 13, rl)) : h("", !0)
694
695
  ]))), 256))
695
- ])) : f("", !0),
696
- (a(!0), o(g, null, _(j.value, (t, n) => (a(), o("g", null, [
697
- (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)(
698
699
  { series: t.breakdown, base: 1 },
699
700
  t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
700
701
  t.y1 + r.value.branchSize / 2,
701
702
  r.value.branchSize / 3,
702
703
  r.value.branchSize / 3
703
- ), (b, y) => (a(), o("path", {
704
+ ), (b, x) => (a(), o("path", {
704
705
  d: b.path,
705
706
  stroke: b.color,
706
707
  "stroke-width": 10,
707
708
  fill: "none",
708
- style: h(`opacity:${L(t) ? 1 : 0.1}`)
709
- }, null, 12, rl))), 256)),
709
+ style: y(`opacity:${P(t) ? 1 : 0.1}`)
710
+ }, null, 12, il))), 256)),
710
711
  u("circle", {
711
712
  fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${w.value})` : "transparent",
712
713
  cx: t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
713
714
  cy: t.y1 + r.value.branchSize / 2,
714
715
  r: r.value.branchSize / 2 + 2,
715
- onClick: (b) => Qe(t),
716
- style: h(`cursor:pointer;opacity:${L(t) ? 1 : 0.1}`)
717
- }, null, 12, il)
716
+ onClick: (b) => Ze(t),
717
+ style: y(`cursor:pointer;opacity:${P(t) ? 1 : 0.1}`)
718
+ }, null, 12, cl)
718
719
  ]))), 256)),
719
- e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", cl, [
720
- (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", {
721
722
  x: t.x2 + r.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
722
723
  y: t.y1 + r.value.branchSize / 2 + 5,
723
724
  "font-size": e.value.style.chart.layout.branches.labels.fontSize,
724
725
  "font-weight": e.value.style.chart.layout.branches.labels.bold ? "bold" : "normal",
725
726
  fill: e.value.style.chart.layout.branches.labels.color,
726
727
  "text-anchor": "start",
727
- style: h(`opacity:${L(t) ? 1 : 0.1}`)
728
- }, c(t.name), 13, dl))), 256))
729
- ])) : f("", !0),
728
+ style: y(`opacity:${P(t) ? 1 : 0.1}`)
729
+ }, c(t.name), 13, vl))), 256))
730
+ ])) : h("", !0),
730
731
  u("line", {
731
732
  x1: 256 + r.value.padding.left,
732
733
  x2: 256 + r.value.padding.left,
@@ -734,8 +735,8 @@ const wt = ["id"], $t = {
734
735
  y2: C.value.bottom,
735
736
  stroke: e.value.style.chart.layout.verticalSeparator.stroke,
736
737
  "stroke-width": e.value.style.chart.layout.verticalSeparator.strokeWidth
737
- }, null, 8, vl),
738
- !d.value && !x.value ? (a(), o("foreignObject", {
738
+ }, null, 8, yl),
739
+ !d.value && !_.value ? (a(), o("foreignObject", {
739
740
  key: 6,
740
741
  x: 0,
741
742
  y: C.value.bottom,
@@ -744,25 +745,25 @@ const wt = ["id"], $t = {
744
745
  style: { overflow: "visible" },
745
746
  onClick: $
746
747
  }, [
747
- u("div", hl, [
748
- u("div", fl, [
749
- (a(!0), o(g, null, _(A.value, (t) => (a(), o("div", {
750
- 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;`)
751
752
  }, [
752
- (a(), o("svg", bl, [
753
+ (a(), o("svg", pl, [
753
754
  u("circle", {
754
755
  cx: "10",
755
756
  cy: "10",
756
757
  r: "10",
757
758
  fill: t.color,
758
759
  stroke: "none"
759
- }, null, 8, pl)
760
+ }, null, 8, gl)
760
761
  ])),
761
762
  u("span", null, c(t.name) + ":", 1),
762
- u("b", null, c(s(G)(
763
+ u("b", null, c(s(E)(
763
764
  e.value.style.chart.layout.roots.labels.formatter,
764
765
  t.total,
765
- s(z)({
766
+ s(N)({
766
767
  p: e.value.style.chart.layout.legend.prefix,
767
768
  v: t.total,
768
769
  s: e.value.style.chart.layout.legend.suffix,
@@ -770,60 +771,60 @@ const wt = ["id"], $t = {
770
771
  }),
771
772
  { datapoint: t }
772
773
  )), 1),
773
- te(" (" + c(s(z)({
774
- v: t.total / R.value * 100,
774
+ le(" (" + c(s(N)({
775
+ v: t.total / M.value * 100,
775
776
  s: "%",
776
777
  r: e.value.style.chart.layout.legend.roundingPercentage
777
778
  })) + ") ", 1)
778
779
  ], 4))), 256))
779
780
  ])
780
781
  ])
781
- ], 8, yl)) : f("", !0),
782
- d.value && M.value ? (a(), o("g", gl, [
782
+ ], 8, hl)) : h("", !0),
783
+ d.value && B.value ? (a(), o("g", _l, [
783
784
  (a(), o("foreignObject", {
784
785
  x: 0,
785
- y: Ze(),
786
+ y: et(),
786
787
  height: r.value.height - C.value.bottom,
787
788
  width: r.value.width,
788
789
  style: { overflow: "visible" },
789
790
  onClick: $
790
791
  }, [
791
- u("div", xl, [
792
+ u("div", ml, [
792
793
  u("b", null, c(d.value.name), 1),
793
- u("div", ml, [
794
- (a(!0), o(g, null, _(d.value.breakdown, (t, n) => (a(), o("div", {
795
- 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;`)
796
797
  }, [
797
- (a(), o("svg", kl, [
798
+ (a(), o("svg", wl, [
798
799
  u("circle", {
799
800
  cx: "10",
800
801
  cy: "10",
801
802
  r: "10",
802
803
  fill: t.color,
803
804
  stroke: "none"
804
- }, null, 8, wl)
805
+ }, null, 8, $l)
805
806
  ])),
806
807
  u("span", null, [
807
- te(c(t.name) + ": ", 1),
808
+ le(c(t.name) + ": ", 1),
808
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),
809
- 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)
810
811
  ])
811
812
  ], 4))), 256))
812
813
  ])
813
814
  ])
814
- ], 8, _l)),
815
+ ], 8, xl)),
815
816
  u("circle", {
816
817
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
817
818
  cy: d.value.y1 + r.value.branchSize / 2,
818
819
  r: 256,
819
820
  fill: `url(#nut_underlayer_${w.value})`,
820
- onClick: X,
821
+ onClick: G,
821
822
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
822
- }, null, 10, $l),
823
- (a(!0), o(g, null, _(M.value, (t) => (a(), o("g", null, [
824
- 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", {
825
826
  key: 0,
826
- d: s(bt)(
827
+ d: s(pt)(
827
828
  t,
828
829
  {
829
830
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
@@ -841,40 +842,40 @@ const wt = ["id"], $t = {
841
842
  "stroke-linejoin": "round",
842
843
  fill: "none",
843
844
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
844
- }, null, 10, Cl)) : f("", !0)
845
+ }, null, 10, Tl)) : h("", !0)
845
846
  ]))), 256)),
846
847
  u("circle", {
847
848
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
848
849
  cy: d.value.y1 + r.value.branchSize / 2,
849
850
  r: 118,
850
851
  fill: e.value.style.chart.backgroundColor,
851
- onClick: X,
852
+ onClick: G,
852
853
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
853
- }, null, 10, Tl),
854
- (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", {
855
856
  d: t.path,
856
857
  stroke: t.color,
857
858
  "stroke-width": 64,
858
859
  fill: "none",
859
- onClick: X,
860
+ onClick: G,
860
861
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
861
- }, null, 10, zl))), 256)),
862
+ }, null, 10, Nl))), 256)),
862
863
  u("circle", {
863
864
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
864
865
  cy: d.value.y1 + r.value.branchSize / 2,
865
866
  r: 110,
866
867
  fill: `url(#nutpick_${w.value})`,
867
- onClick: X,
868
+ onClick: G,
868
869
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
869
- }, null, 10, Nl),
870
+ }, null, 10, Sl),
870
871
  u("circle", {
871
872
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
872
873
  cy: d.value.y1 + r.value.branchSize / 2,
873
874
  r: 64,
874
875
  fill: e.value.style.chart.backgroundColor,
875
- onClick: X,
876
+ onClick: G,
876
877
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
877
- }, null, 10, Sl),
878
+ }, null, 10, Fl),
878
879
  u("text", {
879
880
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
880
881
  y: d.value.y1 + 8,
@@ -882,9 +883,9 @@ const wt = ["id"], $t = {
882
883
  "font-size": e.value.style.chart.layout.nuts.selected.labels.core.total.fontSize,
883
884
  "font-weight": e.value.style.chart.layout.nuts.selected.labels.core.total.bold ? "bold" : "normal",
884
885
  "text-anchor": "middle",
885
- onClick: X,
886
+ onClick: G,
886
887
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
887
- }, c(e.value.translations.total), 11, Fl),
888
+ }, c(e.value.translations.total), 11, Il),
888
889
  u("text", {
889
890
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
890
891
  y: d.value.y1 + 36,
@@ -892,98 +893,98 @@ const wt = ["id"], $t = {
892
893
  "font-size": e.value.style.chart.layout.nuts.selected.labels.core.value.fontSize,
893
894
  "font-weight": e.value.style.chart.layout.nuts.selected.labels.core.value.bold ? "bold" : "normal",
894
895
  "text-anchor": "middle",
895
- onClick: X,
896
+ onClick: G,
896
897
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
897
- }, c(s(G)(
898
+ }, c(s(E)(
898
899
  e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
899
900
  d.value.value,
900
- s(z)({
901
+ s(N)({
901
902
  p: e.value.style.chart.layout.nuts.selected.labels.core.value.prefix,
902
903
  v: d.value.value,
903
904
  s: e.value.style.chart.layout.nuts.selected.labels.core.value.suffix,
904
905
  r: e.value.style.chart.layout.nuts.selected.roundingValue
905
906
  }),
906
907
  { datapoint: d.value }
907
- )), 11, Il),
908
- (a(!0), o(g, null, _(M.value, (t, n) => (a(), o("g", null, [
909
- 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", {
910
911
  key: 0,
911
- x: s(V)(t).x,
912
- "text-anchor": s(V)(t).anchor,
913
- 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,
914
915
  fill: t.color,
915
916
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 2,
916
- 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" : ""}`),
917
918
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
918
- }, " ⬤ ", 14, Ll)) : f("", !0),
919
- D(t) ? (a(), o("text", {
919
+ }, " ⬤ ", 14, Pl)) : h("", !0),
920
+ Y(t) ? (a(), o("text", {
920
921
  key: 1,
921
- x: s(V)(t, !0).x,
922
- "text-anchor": s(V)(t, !0).anchor,
923
- y: s(K)(t),
922
+ x: s(O)(t, !0).x,
923
+ "text-anchor": s(O)(t, !0).anchor,
924
+ y: s(J)(t),
924
925
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
925
926
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
926
- 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" : ""}`),
927
928
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
928
- }, c(d.value.breakdown[n].name), 15, Pl)) : f("", !0)
929
+ }, c(d.value.breakdown[n].name), 15, Vl)) : h("", !0)
929
930
  ]))), 256)),
930
- (a(!0), o(g, null, _(M.value, (t, n) => (a(), o("g", null, [
931
- 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", {
932
933
  key: 0,
933
- x: s(V)(t, !0).x,
934
- "text-anchor": s(V)(t).anchor,
935
- 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,
936
937
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
937
938
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
938
- 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" : ""}`),
939
940
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
940
- }, c(s(z)({
941
+ }, c(s(N)({
941
942
  v: d.value.breakdown[n].value / d.value.value * 100,
942
943
  s: "%",
943
944
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
944
- })) + " " + 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)(
945
946
  e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
946
947
  d.value.breakdown[n].value,
947
- s(z)({
948
+ s(N)({
948
949
  p: e.value.style.chart.layout.nuts.selected.labels.dataLabels.prefix,
949
950
  v: d.value.breakdown[n].value,
950
951
  s: e.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
951
952
  r: e.value.style.chart.layout.nuts.selected.roundingValue
952
953
  }),
953
- { datapoint: M.value, seriesIndex: n }
954
- )), 15, Vl)) : f("", !0),
955
- D(t) ? (a(), o("text", {
954
+ { datapoint: B.value, seriesIndex: n }
955
+ )), 15, Ol)) : h("", !0),
956
+ Y(t) ? (a(), o("text", {
956
957
  key: 1,
957
- x: s(V)(t, !0).x,
958
- "text-anchor": s(V)(t).anchor,
959
- 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,
960
961
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
961
962
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
962
- 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" : ""}`),
963
964
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
964
- }, c(s(z)({
965
+ }, c(s(N)({
965
966
  v: d.value.breakdown[n].proportionToRoot * 100,
966
967
  s: "%",
967
968
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
968
- })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[n].rootName), 15, Ol)) : f("", !0),
969
- 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", {
970
971
  key: 2,
971
- x: s(V)(t, !0).x,
972
- "text-anchor": s(V)(t).anchor,
973
- 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,
974
975
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
975
976
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
976
- 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" : ""}`),
977
978
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
978
- }, c(s(z)({
979
+ }, c(s(N)({
979
980
  v: d.value.breakdown[n].proportionToTree * 100,
980
981
  s: "%",
981
982
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
982
- })) + " " + c(e.value.translations.proportionToTree), 15, Rl)) : f("", !0)
983
+ })) + " " + c(e.value.translations.proportionToTree), 15, Ml)) : h("", !0)
983
984
  ]))), 256))
984
- ])) : f("", !0),
985
- (a(!0), o(g, null, _(j.value, (t) => (a(), o("g", null, [
986
- 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", {
987
988
  key: 0,
988
989
  x: t.x1 + 6,
989
990
  y: t.y1 + r.value.branchSize + 24,
@@ -992,18 +993,18 @@ const wt = ["id"], $t = {
992
993
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
993
994
  fill: e.value.style.chart.layout.branches.labels.color,
994
995
  onClick: $
995
- }, c(t.name) + ": " + c(s(G)(
996
+ }, c(t.name) + ": " + c(s(E)(
996
997
  e.value.style.chart.layout.branches.labels.dataLabels.formatter,
997
998
  t.value,
998
- s(z)({
999
+ s(N)({
999
1000
  p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
1000
1001
  v: t.value,
1001
1002
  s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
1002
1003
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
1003
1004
  }),
1004
1005
  { datapoint: t }
1005
- )), 9, Ml)) : f("", !0),
1006
- 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", {
1007
1008
  key: 1,
1008
1009
  x: t.x1 + 6,
1009
1010
  y: t.y1 + r.value.branchSize + 48,
@@ -1011,12 +1012,12 @@ const wt = ["id"], $t = {
1011
1012
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1012
1013
  fill: e.value.style.chart.layout.branches.labels.color,
1013
1014
  onClick: $
1014
- }, c(s(z)({
1015
+ }, c(s(N)({
1015
1016
  v: t.proportionToRoot * 100,
1016
1017
  s: "%",
1017
1018
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
1018
- })) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, Bl)) : f("", !0),
1019
- 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", {
1020
1021
  key: 2,
1021
1022
  x: t.x1 + 6,
1022
1023
  y: t.y1 + r.value.branchSize + 72,
@@ -1024,18 +1025,18 @@ const wt = ["id"], $t = {
1024
1025
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1025
1026
  fill: e.value.style.chart.layout.branches.labels.color,
1026
1027
  onClick: $
1027
- }, c(s(z)({
1028
- v: t.value / R.value * 100,
1028
+ }, c(s(N)({
1029
+ v: t.value / M.value * 100,
1029
1030
  s: "%",
1030
1031
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
1031
- })) + " " + c(e.value.translations.proportionToTree), 9, Al)) : f("", !0)
1032
+ })) + " " + c(e.value.translations.proportionToTree), 9, jl)) : h("", !0)
1032
1033
  ]))), 256)),
1033
- S(l.$slots, "svg", { svg: r.value }, void 0, !0)
1034
- ], 14, Ct)) : f("", !0),
1035
- l.$slots.watermark ? (a(), o("div", jl, [
1036
- S(l.$slots, "watermark", Z(ee({ isPrinting: s(pe) || s(ge) })), void 0, !0)
1037
- ])) : f("", !0),
1038
- 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), {
1039
1040
  key: 5,
1040
1041
  config: {
1041
1042
  type: "chestnut",
@@ -1047,15 +1048,15 @@ const wt = ["id"], $t = {
1047
1048
  }
1048
1049
  }
1049
1050
  }, null, 8, ["config"])),
1050
- S(l.$slots, "legend", { legend: N.value }, void 0, !0),
1051
- l.$slots.source ? (a(), o("div", Xl, [
1052
- S(l.$slots, "source", {}, void 0, !0)
1053
- ], 512)) : f("", !0),
1054
- 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), {
1055
1056
  key: 7,
1056
1057
  hideDetails: "",
1057
1058
  config: {
1058
- open: E.value.showTable,
1059
+ open: U.value.showTable,
1059
1060
  maxHeight: 1e4,
1060
1061
  body: {
1061
1062
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -1067,21 +1068,21 @@ const wt = ["id"], $t = {
1067
1068
  }
1068
1069
  }
1069
1070
  }, {
1070
- content: B(() => [
1071
+ content: A(() => [
1071
1072
  u("div", {
1072
1073
  ref_key: "tableContainer",
1073
- ref: se,
1074
+ ref: ue,
1074
1075
  class: "vue-ui-chestnut-table"
1075
1076
  }, [
1076
- u("div", Gl, [
1077
+ u("div", El, [
1077
1078
  u("div", {
1078
1079
  role: "button",
1079
1080
  tabindex: "0",
1080
- 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};`),
1081
- onClick: i[0] || (i[0] = (t) => E.value.showTable = !1),
1082
- 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"]))
1083
1084
  }, [
1084
- ze(s(Xe), {
1085
+ Ne(s(Ge), {
1085
1086
  name: "close",
1086
1087
  stroke: e.value.table.th.color,
1087
1088
  "stroke-width": 2
@@ -1089,129 +1090,129 @@ const wt = ["id"], $t = {
1089
1090
  ], 36),
1090
1091
  u("div", {
1091
1092
  style: { width: "100%" },
1092
- class: k({ "vue-ui-responsive": me.value })
1093
+ class: k({ "vue-ui-responsive": ke.value })
1093
1094
  }, [
1094
- u("table", El, [
1095
+ u("table", Ul, [
1095
1096
  u("caption", {
1096
- 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 }),
1097
1098
  class: "vue-ui-data-table__caption"
1098
1099
  }, [
1099
- te(c(e.value.style.chart.layout.title.text) + " ", 1),
1100
- 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)
1101
1102
  ], 4),
1102
1103
  u("thead", null, [
1103
1104
  u("tr", {
1104
1105
  role: "row",
1105
- 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}`)
1106
1107
  }, [
1107
- (a(!0), o(g, null, _(v.value.head, (t) => (a(), o("th", {
1108
- 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}`)
1109
1110
  }, c(t), 5))), 256))
1110
1111
  ], 4)
1111
1112
  ]),
1112
1113
  u("tbody", null, [
1113
- (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", {
1114
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 }),
1115
- 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}`)
1116
1117
  }, [
1117
1118
  u("td", {
1118
1119
  class: "vue-ui-data-table__tbody__td",
1119
- style: h(`outline:${e.value.table.td.outline}`),
1120
+ style: y(`outline:${e.value.table.td.outline}`),
1120
1121
  "data-cell": v.value.head[0]
1121
1122
  }, [
1122
- u("div", Yl, [
1123
- 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))
1124
1125
  ])
1125
- ], 12, Dl),
1126
+ ], 12, Yl),
1126
1127
  u("td", {
1127
1128
  class: "vue-ui-data-table__tbody__td",
1128
- style: h(`outline:${e.value.table.td.outline}`),
1129
+ style: y(`outline:${e.value.table.td.outline}`),
1129
1130
  "data-cell": v.value.head[1]
1130
1131
  }, [
1131
- u("div", Kl, [
1132
- 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))
1133
1134
  ])
1134
- ], 12, Wl),
1135
+ ], 12, Kl),
1135
1136
  u("td", {
1136
1137
  class: "vue-ui-data-table__tbody__td",
1137
- style: h(`outline:${e.value.table.td.outline}`),
1138
+ style: y(`outline:${e.value.table.td.outline}`),
1138
1139
  "data-cell": v.value.head[2]
1139
1140
  }, [
1140
- u("div", ea, [
1141
- 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))
1142
1143
  ])
1143
- ], 12, Zl),
1144
+ ], 12, ea),
1144
1145
  u("td", {
1145
1146
  class: "vue-ui-data-table__tbody__td",
1146
- style: h(`outline:${e.value.table.td.outline}`),
1147
+ style: y(`outline:${e.value.table.td.outline}`),
1147
1148
  "data-cell": v.value.head[3]
1148
1149
  }, [
1149
- u("div", oa, [
1150
- 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))
1151
1152
  ])
1152
- ], 12, aa),
1153
+ ], 12, oa),
1153
1154
  u("td", {
1154
1155
  class: "vue-ui-data-table__tbody__td",
1155
- style: h(`outline:${e.value.table.td.outline}`),
1156
+ style: y(`outline:${e.value.table.td.outline}`),
1156
1157
  "data-cell": v.value.head[4]
1157
1158
  }, [
1158
- u("div", ra, [
1159
- 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))
1160
1161
  ])
1161
- ], 12, na),
1162
+ ], 12, ra),
1162
1163
  u("td", {
1163
1164
  class: "vue-ui-data-table__tbody__td",
1164
- style: h(`outline:${e.value.table.td.outline}`),
1165
+ style: y(`outline:${e.value.table.td.outline}`),
1165
1166
  "data-cell": v.value.head[5]
1166
1167
  }, [
1167
- u("div", va, [
1168
- 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))
1169
1170
  ])
1170
- ], 12, da),
1171
+ ], 12, va),
1171
1172
  u("td", {
1172
1173
  class: "vue-ui-data-table__tbody__td",
1173
- style: h(`outline:${e.value.table.td.outline}`),
1174
+ style: y(`outline:${e.value.table.td.outline}`),
1174
1175
  "data-cell": v.value.head[6]
1175
1176
  }, [
1176
- u("div", ba, [
1177
- 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))
1178
1179
  ])
1179
- ], 12, fa),
1180
+ ], 12, ba),
1180
1181
  u("td", {
1181
1182
  class: "vue-ui-data-table__tbody__td",
1182
- style: h(`outline:${e.value.table.td.outline}`),
1183
+ style: y(`outline:${e.value.table.td.outline}`),
1183
1184
  "data-cell": v.value.head[7]
1184
1185
  }, [
1185
- u("div", xa, c(t.nutName), 1)
1186
- ], 12, _a),
1186
+ u("div", ma, c(t.nutName), 1)
1187
+ ], 12, xa),
1187
1188
  u("td", {
1188
1189
  class: "vue-ui-data-table__tbody__td",
1189
- style: h(`outline:${e.value.table.td.outline}`),
1190
+ style: y(`outline:${e.value.table.td.outline}`),
1190
1191
  "data-cell": v.value.head[8]
1191
1192
  }, [
1192
- u("div", ka, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1193
- ], 12, ma),
1193
+ u("div", wa, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1194
+ ], 12, ka),
1194
1195
  u("td", {
1195
1196
  class: "vue-ui-data-table__tbody__td",
1196
- style: h(`outline:${e.value.table.td.outline}`),
1197
+ style: y(`outline:${e.value.table.td.outline}`),
1197
1198
  "data-cell": v.value.head[9]
1198
1199
  }, [
1199
- u("div", $a, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1200
- ], 12, wa),
1200
+ u("div", Ca, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1201
+ ], 12, $a),
1201
1202
  u("td", {
1202
1203
  class: "vue-ui-data-table__tbody__td",
1203
- style: h(`outline:${e.value.table.td.outline}`),
1204
+ style: y(`outline:${e.value.table.td.outline}`),
1204
1205
  "data-cell": v.value.head[10]
1205
1206
  }, [
1206
- u("div", Ta, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1207
- ], 12, Ca),
1207
+ u("div", za, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1208
+ ], 12, Ta),
1208
1209
  u("td", {
1209
1210
  class: "vue-ui-data-table__tbody__td",
1210
- style: h(`outline:${e.value.table.td.outline}`),
1211
+ style: y(`outline:${e.value.table.td.outline}`),
1211
1212
  "data-cell": v.value.head[11]
1212
1213
  }, [
1213
- u("div", Na, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1214
- ], 12, za)
1214
+ u("div", Sa, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1215
+ ], 12, Na)
1215
1216
  ], 6))), 256))
1216
1217
  ])
1217
1218
  ])
@@ -1220,10 +1221,10 @@ const wt = ["id"], $t = {
1220
1221
  ], 512)
1221
1222
  ]),
1222
1223
  _: 1
1223
- }, 8, ["config"])) : f("", !0)
1224
- ], 46, wt));
1224
+ }, 8, ["config"])) : h("", !0)
1225
+ ], 46, $t));
1225
1226
  }
1226
- }, Ba = /* @__PURE__ */ kt(Sa, [["__scopeId", "data-v-e4b07f8f"]]);
1227
+ }, Ba = /* @__PURE__ */ wt(Fa, [["__scopeId", "data-v-4edbb77e"]]);
1227
1228
  export {
1228
1229
  Ba as default
1229
1230
  };