vue-data-ui 3.0.23 → 3.1.1

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