vue-data-ui 3.0.0-next.0 → 3.0.0-next.2

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 (102) hide show
  1. package/README.md +108 -67
  2. package/dist/{Arrow-CzFtSJ1v.js → Arrow-Dck2Ea5K.js} +1 -1
  3. package/dist/{BaseDraggableDialog-0S5xhs2P.js → BaseDraggableDialog-CatHZ1ns.js} +2 -2
  4. package/dist/{BaseIcon-DoDjTdD5.js → BaseIcon-BmZ4MREl.js} +1 -1
  5. package/dist/{ColorPicker-BGRchgqQ.js → ColorPicker-C1MXyD9Q.js} +2 -2
  6. package/dist/{DataTable-BBbOgI-a.js → DataTable-CgL0Rz0x.js} +2 -2
  7. package/dist/{Legend-Q4bOb-Nf.js → Legend-CYbP3Kfg.js} +12 -11
  8. package/dist/{NonSvgPenAndPaper-DNKRvsBB.js → NonSvgPenAndPaper-CcbcJm_U.js} +3 -3
  9. package/dist/{PackageVersion-D0VPY8-5.js → PackageVersion-CAkNkiIG.js} +1 -1
  10. package/dist/{PenAndPaper-DhBJsnob.js → PenAndPaper-Cx1-5zdD.js} +32 -32
  11. package/dist/{Shape-DbsLJ-SE.js → Shape-DBXkGxKt.js} +1 -1
  12. package/dist/{Slicer-DZEFp2GU.js → Slicer-nrMi5hzj.js} +2 -2
  13. package/dist/{SparkTooltip-CoOJR62O.js → SparkTooltip-fNzL4pIU.js} +1 -1
  14. package/dist/{Title-D29apS4l.js → Title-pVYRzQXY.js} +1 -1
  15. package/dist/Tooltip-NwATo4ZJ.js +157 -0
  16. package/dist/{UserOptions-Bdit7AWO.js → UserOptions-DAsRxxrf.js} +137 -129
  17. package/dist/{dom-to-png-BdPIrHOF.js → dom-to-png-BF_4H_6u.js} +1 -1
  18. package/dist/img-ku4zevVD.js +33 -0
  19. package/dist/{index-DMqAxz7R.js → index-BzfnuLnw.js} +1199 -1135
  20. package/dist/pdf-CguiIsUc.js +58 -0
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +1051 -217
  23. package/dist/types/vue-data-ui.d.ts +1051 -217
  24. package/dist/useLoading-Bt5Doa8m.js +28 -0
  25. package/dist/{useNestedProp-YgN3FV_8.js → useNestedProp-DorElw91.js} +1 -1
  26. package/dist/{usePrinter-COkTjv6C.js → usePrinter-C9qkgv0r.js} +2 -2
  27. package/dist/vue-data-ui-DQef_oFO.js +314 -0
  28. package/dist/vue-data-ui.js +13 -13
  29. package/dist/{vue-ui-3d-bar-Ojgjl20n.js → vue-ui-3d-bar-DPSamIA-.js} +261 -245
  30. package/dist/{vue-ui-accordion-P6eFHGQp.js → vue-ui-accordion-DgZK-qDz.js} +3 -3
  31. package/dist/{vue-ui-age-pyramid-IcMpAhiw.js → vue-ui-age-pyramid-DVeGKvf9.js} +233 -217
  32. package/dist/{vue-ui-annotator-Bk7d86-x.js → vue-ui-annotator-6ikkK-FK.js} +2 -2
  33. package/dist/{vue-ui-bullet-DCvWbCPk.js → vue-ui-bullet-Bg4hfFk2.js} +172 -156
  34. package/dist/{vue-ui-candlestick-DCf-88Yv.js → vue-ui-candlestick-Bi59FGXn.js} +271 -254
  35. package/dist/{vue-ui-carousel-table-DEsl0XUh.js → vue-ui-carousel-table-DitKhrFT.js} +17 -16
  36. package/dist/{vue-ui-chestnut-Cg10-3wu.js → vue-ui-chestnut-D8wGAZod.js} +419 -403
  37. package/dist/{vue-ui-chord-BWYzR6vf.js → vue-ui-chord-C-uTVCDP.js} +256 -240
  38. package/dist/{vue-ui-circle-pack-CO2Ra2-5.js → vue-ui-circle-pack-CPy6xcxv.js} +230 -214
  39. package/dist/{vue-ui-cursor-BbYHJDbV.js → vue-ui-cursor-Dd7vUd0q.js} +2 -2
  40. package/dist/{vue-ui-dashboard-DkCnNuse.js → vue-ui-dashboard-CKurbu8M.js} +62 -62
  41. package/dist/{vue-ui-digits-DRsphHt2.js → vue-ui-digits-DfdZI11G.js} +2 -2
  42. package/dist/{vue-ui-donut-evolution-B5F2-0bh.js → vue-ui-donut-evolution-CKbLO8yR.js} +370 -357
  43. package/dist/vue-ui-donut-tECBFvud.js +1532 -0
  44. package/dist/{vue-ui-dumbbell-DqqSxoSh.js → vue-ui-dumbbell-DI5Lj3r_.js} +216 -200
  45. package/dist/{vue-ui-flow-CTIcUJgV.js → vue-ui-flow-CjU48s9z.js} +217 -201
  46. package/dist/{vue-ui-funnel-k7KD7Xoc.js → vue-ui-funnel-DM_5vHZ4.js} +213 -197
  47. package/dist/{vue-ui-galaxy-C9EHaP4I.js → vue-ui-galaxy-ocvZgZJx.js} +215 -202
  48. package/dist/{vue-ui-gauge-CBiM_1-n.js → vue-ui-gauge-DajNoY-D.js} +220 -204
  49. package/dist/{vue-ui-gizmo-CAc7b2oK.js → vue-ui-gizmo-DTnzeQbm.js} +3 -3
  50. package/dist/{vue-ui-heatmap-B3ubrP2v.js → vue-ui-heatmap-CfBS8jQe.js} +244 -224
  51. package/dist/{vue-ui-history-plot-XCqccO3b.js → vue-ui-history-plot-BuOPWQoP.js} +268 -252
  52. package/dist/{vue-ui-kpi-DTGMDjaZ.js → vue-ui-kpi-DLGHOIRj.js} +3 -3
  53. package/dist/{vue-ui-mini-loader-Cn_7nvVq.js → vue-ui-mini-loader-CHAHi4c9.js} +2 -2
  54. package/dist/{vue-ui-molecule-BugMXFAK.js → vue-ui-molecule-R5-oDFeW.js} +204 -188
  55. package/dist/{vue-ui-mood-radar-Cv4dHZPL.js → vue-ui-mood-radar-Ddf2gaES.js} +206 -190
  56. package/dist/vue-ui-nested-donuts-CksklV83.js +1177 -0
  57. package/dist/{vue-ui-onion-Bha2hRAb.js → vue-ui-onion-D2n4zUkV.js} +196 -180
  58. package/dist/{vue-ui-parallel-coordinate-plot-DWJ2DWx4.js → vue-ui-parallel-coordinate-plot-CNWQqlxf.js} +194 -178
  59. package/dist/{vue-ui-quadrant-BKHZoTml.js → vue-ui-quadrant-CxNj2FEx.js} +321 -305
  60. package/dist/{vue-ui-quick-chart-D_k3lbU8.js → vue-ui-quick-chart-Bm_VmhJR.js} +347 -331
  61. package/dist/{vue-ui-radar-Co4EOjSk.js → vue-ui-radar-DSYMQJ6K.js} +193 -177
  62. package/dist/{vue-ui-rating-dtNN0EdX.js → vue-ui-rating-BiQpwXnc.js} +2 -2
  63. package/dist/{vue-ui-relation-circle-CR4UpQzM.js → vue-ui-relation-circle-Cdxe78Bm.js} +188 -172
  64. package/dist/{vue-ui-ridgeline-BKX97EnR.js → vue-ui-ridgeline-DpeM2hRi.js} +212 -196
  65. package/dist/{vue-ui-rings-EPTwyt6D.js → vue-ui-rings-BenmQHKv.js} +223 -210
  66. package/dist/{vue-ui-scatter-BlxzblSR.js → vue-ui-scatter-mDMY1H6U.js} +288 -273
  67. package/dist/{vue-ui-skeleton-CjN2ZdgT.js → vue-ui-skeleton-Ch_XkFuP.js} +3 -3
  68. package/dist/{vue-ui-smiley-DdF_ErYG.js → vue-ui-smiley-DTig5lTU.js} +2 -2
  69. package/dist/{vue-ui-spark-trend-RdOlCuT9.js → vue-ui-spark-trend-BkDsp8E0.js} +3 -3
  70. package/dist/{vue-ui-sparkbar-DWufRGcN.js → vue-ui-sparkbar-CgqoyBOm.js} +3 -3
  71. package/dist/{vue-ui-sparkgauge-IP1O3qyT.js → vue-ui-sparkgauge-B4jR_Y62.js} +3 -3
  72. package/dist/{vue-ui-sparkhistogram-Cnv9xZ8H.js → vue-ui-sparkhistogram-DfxjglLy.js} +4 -4
  73. package/dist/{vue-ui-sparkline-CYgeD5V3.js → vue-ui-sparkline-M3QR8xJE.js} +3 -3
  74. package/dist/{vue-ui-sparkstackbar-BCwoK9xd.js → vue-ui-sparkstackbar-B2Ls-Mb8.js} +3 -3
  75. package/dist/{vue-ui-stackbar-CqFIvfrK.js → vue-ui-stackbar-DIHkn6__.js} +497 -474
  76. package/dist/{vue-ui-strip-plot-Dq-kDRai.js → vue-ui-strip-plot-B_ZLbu2D.js} +241 -225
  77. package/dist/{vue-ui-table-vaIdQnPl.js → vue-ui-table-BhymhDOh.js} +3 -3
  78. package/dist/{vue-ui-table-heatmap-U_Td0cdh.js → vue-ui-table-heatmap-DokRh4dS.js} +26 -25
  79. package/dist/{vue-ui-table-sparkline-DkOaHx5L.js → vue-ui-table-sparkline-DxBZGKZJ.js} +8 -7
  80. package/dist/{vue-ui-thermometer-CzckBZgs.js → vue-ui-thermometer-e2L6IdF-.js} +170 -154
  81. package/dist/{vue-ui-timer-DSdUshUs.js → vue-ui-timer-BG2EwK3o.js} +5 -5
  82. package/dist/vue-ui-tiremarks-nzQH7woJ.js +358 -0
  83. package/dist/vue-ui-treemap-CZxyi6fl.js +965 -0
  84. package/dist/{vue-ui-vertical-bar-Dd4sYeAC.js → vue-ui-vertical-bar-DahdX1Sn.js} +382 -360
  85. package/dist/{vue-ui-waffle-DusUVY6y.js → vue-ui-waffle-D399D4UE.js} +234 -221
  86. package/dist/vue-ui-wheel-DtcwtHzJ.js +352 -0
  87. package/dist/{vue-ui-word-cloud-_7uYjJ5A.js → vue-ui-word-cloud-CTDceQsf.js} +249 -233
  88. package/dist/{vue-ui-world-COIyBHII.js → vue-ui-world-BjNSbqMZ.js} +239 -223
  89. package/dist/vue-ui-xy-BkTP-JpK.js +2958 -0
  90. package/dist/{vue-ui-xy-canvas-CuYRyub2.js → vue-ui-xy-canvas-BKAowbe0.js} +447 -431
  91. package/package.json +2 -2
  92. package/dist/Tooltip-hVZUY_s5.js +0 -149
  93. package/dist/img-BeMVTwmF.js +0 -20
  94. package/dist/pdf-DPxOdzfi.js +0 -51
  95. package/dist/useMouse-AicQS8Vf.js +0 -13
  96. package/dist/vue-data-ui-nceqWRts.js +0 -301
  97. package/dist/vue-ui-donut-DSE7ubVv.js +0 -1315
  98. package/dist/vue-ui-nested-donuts-CYe0Are_.js +0 -1154
  99. package/dist/vue-ui-tiremarks-B2WWklqG.js +0 -342
  100. package/dist/vue-ui-treemap-D1dgDhjG.js +0 -952
  101. package/dist/vue-ui-wheel-ClsKBh52.js +0 -336
  102. package/dist/vue-ui-xy-C_OUyzTC.js +0 -3135
@@ -1,31 +1,32 @@
1
- import { useCssVars as at, defineAsyncComponent as H, computed as m, ref as z, watch as ot, shallowRef as st, onMounted as ut, onBeforeUnmount as nt, createElementBlock as o, openBlock as a, unref as s, normalizeStyle as y, normalizeClass as k, createBlock as Z, createCommentVNode as h, renderSlot as F, createSlots as rt, withCtx as A, normalizeProps as ee, guardReactiveProps as te, createVNode as Ne, createElementVNode as u, toDisplayString as c, Fragment as p, renderList as g, createTextVNode as le, withKeys as it, nextTick as Se } from "vue";
2
- import { u as ct, c as dt, t as vt, p as V, a as yt, b as ht, g as ce, e as ae, d as de, o as ft, X as bt, s as I, w as Fe, i as G, f as N, F as Ie, m as Le, j as pt, k as J, n as O, q as gt, r as _t } from "./index-DMqAxz7R.js";
3
- import { u as Pe } from "./useNestedProp-YgN3FV_8.js";
4
- import { u as xt } from "./usePrinter-COkTjv6C.js";
5
- import { u as mt } from "./useUserOptionState-BIvW1Kz7.js";
6
- import { u as kt } from "./useChartAccessibility-9icAAmYg.js";
7
- import { _ as wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
- const $t = ["id"], Ct = {
1
+ import { useCssVars as ot, defineAsyncComponent as H, computed as m, ref as z, watch as st, shallowRef as ut, onMounted as nt, onBeforeUnmount as rt, createElementBlock as o, openBlock as a, unref as u, normalizeStyle as y, normalizeClass as k, createBlock as ee, createCommentVNode as h, renderSlot as F, createSlots as it, withCtx as A, normalizeProps as te, guardReactiveProps as le, createVNode as Ne, createElementVNode as n, toDisplayString as c, Fragment as p, renderList as g, createTextVNode as ae, withKeys as ct, nextTick as Fe } from "vue";
2
+ import { u as dt, c as vt, t as yt, p as O, a as ht, b as ft, g as de, e as oe, d as ve, o as bt, X as pt, s as I, w as Ie, i as G, f as S, F as Le, m as Pe, j as gt, k as Q, n as R, q as _t, r as xt } from "./index-BzfnuLnw.js";
3
+ import { u as Oe } from "./useNestedProp-DorElw91.js";
4
+ import { u as mt } from "./usePrinter-C9qkgv0r.js";
5
+ import { u as kt } from "./useUserOptionState-BIvW1Kz7.js";
6
+ import { u as wt } from "./useChartAccessibility-9icAAmYg.js";
7
+ import $t from "./img-ku4zevVD.js";
8
+ import { _ as Ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
+ const Tt = ["id"], zt = {
9
10
  key: 1,
10
11
  ref: "noTitle",
11
12
  class: "vue-data-ui-no-title-space",
12
13
  style: "height:36px; width: 100%;background:transparent"
13
- }, Tt = ["xmlns", "viewBox"], zt = ["width", "height"], Nt = { key: 1 }, St = ["fill", "font-weight", "font-size", "x", "y"], Ft = ["fill", "font-weight", "font-size", "x", "y"], It = ["id"], Lt = ["stop-color"], Pt = ["stop-color"], Vt = ["id"], Ot = ["stop-color"], Rt = ["stop-color"], Mt = ["id"], Bt = ["stop-color"], At = ["stop-color"], jt = ["stop-color"], Xt = ["id"], Et = ["stop-color"], Gt = ["stop-color"], Ut = ["stop-color"], Dt = ["id"], Yt = ["stop-color"], qt = ["stop-color"], Ht = ["stop-color"], Wt = { key: 2 }, Kt = ["x", "y", "font-size", "font-weight", "fill"], Jt = ["x", "y", "font-size", "font-weight", "fill"], Qt = ["d", "stroke"], Zt = ["cx", "cy", "r", "fill"], el = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], tl = { key: 3 }, ll = ["x", "y", "font-size", "fill", "onClick"], al = { key: 0 }, ol = ["x", "y", "fill", "font-size", "font-weight"], sl = ["x", "y", "height", "width", "fill", "rx", "onClick"], ul = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], nl = { key: 4 }, rl = ["x", "y", "fill", "font-size", "onClick"], il = ["d", "stroke"], cl = ["fill", "cx", "cy", "r", "onClick"], dl = { key: 5 }, vl = ["x", "y", "font-size", "font-weight", "fill"], yl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], hl = ["y", "height", "width"], fl = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, bl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, pl = {
14
+ }, St = ["xmlns", "viewBox"], Nt = ["width", "height"], Ft = { key: 1 }, It = ["fill", "font-weight", "font-size", "x", "y"], Lt = ["fill", "font-weight", "font-size", "x", "y"], Pt = ["id"], Ot = ["stop-color"], Rt = ["stop-color"], Vt = ["id"], Bt = ["stop-color"], Mt = ["stop-color"], At = ["id"], jt = ["stop-color"], Xt = ["stop-color"], Et = ["stop-color"], Gt = ["id"], Ut = ["stop-color"], Dt = ["stop-color"], Yt = ["stop-color"], qt = ["id"], Ht = ["stop-color"], Wt = ["stop-color"], Kt = ["stop-color"], Jt = { key: 2 }, Qt = ["x", "y", "font-size", "font-weight", "fill"], Zt = ["x", "y", "font-size", "font-weight", "fill"], el = ["d", "stroke"], tl = ["cx", "cy", "r", "fill"], ll = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], al = { key: 3 }, ol = ["x", "y", "font-size", "fill", "onClick"], sl = { key: 0 }, ul = ["x", "y", "fill", "font-size", "font-weight"], nl = ["x", "y", "height", "width", "fill", "rx", "onClick"], rl = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], il = { key: 4 }, cl = ["x", "y", "fill", "font-size", "onClick"], dl = ["d", "stroke"], vl = ["fill", "cx", "cy", "r", "onClick"], yl = { key: 5 }, hl = ["x", "y", "font-size", "font-weight", "fill"], fl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], bl = ["y", "height", "width"], pl = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, gl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, _l = {
14
15
  viewBox: "0 0 20 20",
15
16
  height: "16",
16
17
  width: "16"
17
- }, gl = ["fill"], _l = { key: 7 }, xl = ["y", "height", "width"], ml = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, kl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, wl = {
18
+ }, xl = ["fill"], ml = { key: 7 }, kl = ["y", "height", "width"], wl = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, $l = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, Cl = {
18
19
  viewBox: "0 0 20 20",
19
20
  height: "16",
20
21
  width: "16"
21
- }, $l = ["fill"], Cl = ["cx", "cy", "fill"], Tl = ["d", "stroke"], zl = ["cx", "cy", "fill"], Nl = ["d", "stroke"], Sl = ["cx", "cy", "fill"], Fl = ["cx", "cy", "fill"], Il = ["x", "y", "fill", "font-size", "font-weight"], Ll = ["x", "y", "fill", "font-size", "font-weight"], Pl = ["x", "text-anchor", "y", "fill", "font-size"], Vl = ["x", "text-anchor", "y", "fill", "font-size"], Ol = ["x", "text-anchor", "y", "fill", "font-size"], Rl = ["x", "text-anchor", "y", "fill", "font-size"], Ml = ["x", "text-anchor", "y", "fill", "font-size"], Bl = ["x", "y", "font-size", "fill"], Al = ["x", "y", "font-size", "fill"], jl = ["x", "y", "font-size", "fill"], Xl = {
22
+ }, Tl = ["fill"], zl = ["cx", "cy", "fill"], Sl = ["d", "stroke"], Nl = ["cx", "cy", "fill"], Fl = ["d", "stroke"], Il = ["cx", "cy", "fill"], Ll = ["cx", "cy", "fill"], Pl = ["x", "y", "fill", "font-size", "font-weight"], Ol = ["x", "y", "fill", "font-size", "font-weight"], Rl = ["x", "text-anchor", "y", "fill", "font-size"], Vl = ["x", "text-anchor", "y", "fill", "font-size"], Bl = ["x", "text-anchor", "y", "fill", "font-size"], Ml = ["x", "text-anchor", "y", "fill", "font-size"], Al = ["x", "text-anchor", "y", "fill", "font-size"], jl = ["x", "y", "font-size", "fill"], Xl = ["x", "y", "font-size", "fill"], El = ["x", "y", "font-size", "fill"], Gl = {
22
23
  key: 4,
23
24
  class: "vue-data-ui-watermark"
24
- }, El = {
25
+ }, Ul = {
25
26
  key: 6,
26
27
  ref: "source",
27
28
  dir: "auto"
28
- }, Gl = { style: { "padding-top": "36px", position: "relative" } }, Ul = { class: "vue-ui-data-table" }, Dl = { key: 0 }, Yl = ["data-cell"], ql = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Hl = { key: 0 }, Wl = { key: 1 }, Kl = ["data-cell"], Jl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ql = { key: 0 }, Zl = { key: 1 }, ea = ["data-cell"], ta = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, la = { key: 0 }, aa = { key: 1 }, oa = ["data-cell"], sa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ua = { key: 0 }, na = { key: 1 }, ra = ["data-cell"], ia = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ca = { key: 0 }, da = { key: 1 }, va = ["data-cell"], ya = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ha = { key: 0 }, fa = { key: 1 }, ba = ["data-cell"], pa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ga = { key: 0 }, _a = { key: 1 }, xa = ["data-cell"], ma = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ka = ["data-cell"], wa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, $a = ["data-cell"], Ca = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ta = ["data-cell"], za = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Na = ["data-cell"], Sa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Fa = {
29
+ }, Dl = { style: { "padding-top": "36px", position: "relative" } }, Yl = { class: "vue-ui-data-table" }, ql = { key: 0 }, Hl = ["data-cell"], Wl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Kl = { key: 0 }, Jl = { key: 1 }, Ql = ["data-cell"], Zl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ea = { key: 0 }, ta = { key: 1 }, la = ["data-cell"], aa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, oa = { key: 0 }, sa = { key: 1 }, ua = ["data-cell"], na = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ra = { key: 0 }, ia = { key: 1 }, ca = ["data-cell"], da = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, va = { key: 0 }, ya = { key: 1 }, ha = ["data-cell"], fa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ba = { key: 0 }, pa = { key: 1 }, ga = ["data-cell"], _a = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, xa = { key: 0 }, ma = { key: 1 }, ka = ["data-cell"], wa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, $a = ["data-cell"], Ca = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ta = ["data-cell"], za = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Sa = ["data-cell"], Na = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Fa = ["data-cell"], Ia = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, La = {
29
30
  __name: "vue-ui-chestnut",
30
31
  props: {
31
32
  config: {
@@ -42,37 +43,37 @@ const $t = ["id"], Ct = {
42
43
  }
43
44
  },
44
45
  emits: ["selectRoot", "selectBranch", "selectNut"],
45
- setup(Ve, { expose: Oe, emit: Re }) {
46
- at((l) => ({
47
- "69a9e7b7": l.tdo
46
+ setup(Re, { expose: Ve, emit: Be }) {
47
+ ot((l) => ({
48
+ "3b99dd82": l.tdo
48
49
  }));
49
- const Me = H(() => import("./PenAndPaper-DhBJsnob.js")), Be = H(() => import("./vue-ui-accordion-P6eFHGQp.js")), Ae = H(() => import("./vue-ui-skeleton-CjN2ZdgT.js")), je = H(() => import("./UserOptions-Bdit7AWO.js")), Xe = H(() => import("./PackageVersion-D0VPY8-5.js")), Ee = H(() => import("./BaseIcon-DoDjTdD5.js")), { vue_ui_chestnut: Ge } = ct(), R = Ve, W = m(() => !!R.dataset && R.dataset.length), w = z(dt()), ve = z(null), Ue = z(null), ye = z(0), e = m({
50
+ const Me = H(() => import("./PenAndPaper-Cx1-5zdD.js")), Ae = H(() => import("./vue-ui-accordion-DgZK-qDz.js")), je = H(() => import("./vue-ui-skeleton-Ch_XkFuP.js")), Xe = H(() => import("./UserOptions-DAsRxxrf.js")), Ee = H(() => import("./PackageVersion-CAkNkiIG.js")), Ge = H(() => import("./BaseIcon-BmZ4MREl.js")), { vue_ui_chestnut: Ue } = dt(), V = Re, W = m(() => !!V.dataset && V.dataset.length), w = z(vt()), K = z(null), De = z(null), ye = z(0), e = m({
50
51
  get: () => pe(),
51
52
  set: (l) => l
52
- }), { userOptionsVisible: oe, setUserOptionsVisibility: he, keepUserOptionState: fe } = mt({ config: e.value }), { svgRef: be } = kt({ config: e.value.style.chart.layout.title });
53
+ }), { userOptionsVisible: se, setUserOptionsVisibility: he, keepUserOptionState: fe } = kt({ config: e.value }), { svgRef: be } = wt({ config: e.value.style.chart.layout.title });
53
54
  function pe() {
54
- const l = Pe({
55
- userConfig: R.config,
56
- defaultConfig: Ge
55
+ const l = Oe({
56
+ userConfig: V.config,
57
+ defaultConfig: Ue
57
58
  });
58
59
  return l.theme ? {
59
- ...Pe({
60
- userConfig: yt.vue_ui_chestnut[l.theme] || R.config,
60
+ ...Oe({
61
+ userConfig: ht.vue_ui_chestnut[l.theme] || V.config,
61
62
  defaultConfig: l
62
63
  }),
63
- customPalette: vt[l.theme] || V
64
+ customPalette: yt[l.theme] || O
64
65
  } : l;
65
66
  }
66
- ot(() => R.config, (l) => {
67
- e.value = pe(), oe.value = !e.value.userOptions.showOnChartHover, U.value.showTable = e.value.table.show, Ce();
67
+ st(() => V.config, (l) => {
68
+ e.value = pe(), se.value = !e.value.userOptions.showOnChartHover, U.value.showTable = e.value.table.show, Ce();
68
69
  }, { deep: !0 });
69
- const { isPrinting: ge, isImaging: _e, generatePdf: xe, generateImage: me } = xt({
70
+ const { isPrinting: ge, isImaging: _e, generatePdf: xe, generateImage: me } = mt({
70
71
  elementId: `vue-ui-chestnut_${w.value}`,
71
72
  fileName: e.value.style.chart.layout.title.text || "vue-ui-chestnut",
72
73
  options: e.value.userOptions.print
73
- }), De = m(() => e.value.userOptions.show), se = m(() => ht(e.value.customPalette)), U = z({
74
+ }), Ye = m(() => e.value.userOptions.show), ue = m(() => ft(e.value.customPalette)), U = z({
74
75
  showTable: e.value.table.show
75
- }), ue = z(null), ke = z(!1), Ye = m(() => e.value.table.responsiveBreakpoint), r = z({
76
+ }), ne = z(null), ke = z(!1), qe = m(() => e.value.table.responsiveBreakpoint), r = z({
76
77
  gap: 6,
77
78
  padding: {
78
79
  top: 102,
@@ -92,124 +93,124 @@ const $t = ["id"], Ct = {
92
93
  width: r.value.width - (r.value.padding.left + r.value.padding.right),
93
94
  height: r.value.height - (r.value.padding.top + r.value.padding.bottom),
94
95
  seedX: r.value.padding.left + 64
95
- })), M = m(() => W.value ? R.dataset.flatMap((l) => (l.branches || []).map((i) => i.value || 0)).reduce((l, i) => l + i, 0) : 0), S = m(() => (R.dataset.forEach((l, i) => {
96
- ce({
96
+ })), B = m(() => W.value ? V.dataset.flatMap((l) => (l.branches || []).map((i) => i.value || 0)).reduce((l, i) => l + i, 0) : 0), N = m(() => (V.dataset.forEach((l, i) => {
97
+ de({
97
98
  datasetObject: l,
98
99
  requiredAttributes: ["name", "branches"]
99
100
  }).forEach((t) => {
100
- ae({
101
+ oe({
101
102
  componentName: "VueUiChestnut",
102
103
  type: "datasetSerieAttribute",
103
104
  property: t,
104
105
  index: i
105
106
  });
106
- }), l.branches && l.branches.forEach((t, n) => {
107
- ce({
107
+ }), l.branches && l.branches.forEach((t, s) => {
108
+ de({
108
109
  datasetObject: t,
109
110
  requiredAttributes: ["name", "value"]
110
111
  }).forEach((b) => {
111
- ae({
112
+ oe({
112
113
  componentName: "VueUiChestnut",
113
114
  type: "datasetSerieAttribute",
114
115
  property: b,
115
- index: `${i} - ${n}`
116
+ index: `${i} - ${s}`
116
117
  });
117
- }), t.breakdown && t.breakdown.forEach((b, x) => {
118
- ce({
118
+ }), t.breakdown && t.breakdown.forEach((b, _) => {
119
+ de({
119
120
  datasetObject: b,
120
121
  requiredAttributes: ["name", "value"]
121
122
  }).forEach((f) => {
122
- ae({
123
+ oe({
123
124
  componentName: "VueUiChestnut",
124
125
  type: "datasetSerieAttribute",
125
126
  property: f,
126
- index: `${i} - ${n} - ${x}`
127
+ index: `${i} - ${s} - ${_}`
127
128
  });
128
129
  });
129
130
  });
130
131
  });
131
- }), R.dataset.map((l, i) => {
132
- const t = (l.branches || []).map((n) => n.value || 0).reduce((n, b) => n + b, 0);
132
+ }), V.dataset.map((l, i) => {
133
+ const t = (l.branches || []).map((s) => s.value || 0).reduce((s, b) => s + b, 0);
133
134
  return {
134
135
  ...l,
135
- color: de(l.color) || se.value[i] || V[i] || V[i % V.length],
136
+ color: ve(l.color) || ue.value[i] || O[i] || O[i % O.length],
136
137
  id: l.id || `root_${i}_${w.value}`,
137
138
  type: "root",
138
139
  total: t,
139
140
  rootIndex: i,
140
- branches: (l.branches || []).map((n, b) => ({
141
- ...n,
141
+ branches: (l.branches || []).map((s, b) => ({
142
+ ...s,
142
143
  rootName: l.name,
143
144
  rootIndex: i,
144
- color: de(l.color) || se.value[i] || V[i] || V[i % V.length],
145
- value: n.value >= 0 ? n.value : 0,
146
- id: n.id || `branch_${i}_${b}_${w.value}`,
147
- proportionToRoot: n.value / t,
145
+ color: ve(l.color) || ue.value[i] || O[i] || O[i % O.length],
146
+ value: s.value >= 0 ? s.value : 0,
147
+ id: s.id || `branch_${i}_${b}_${w.value}`,
148
+ proportionToRoot: s.value / t,
148
149
  type: "branch",
149
- breakdown: (n.breakdown || []).map((x, f) => ({
150
+ breakdown: (s.breakdown || []).map((_, f) => ({
150
151
  table: {
151
152
  rootName: l.name,
152
153
  rootValue: t,
153
- rootToTotal: t / M.value,
154
- branchName: n.name,
155
- branchValue: n.value,
156
- branchToTotal: n.value / M.value,
157
- branchToRoot: n.value / t,
158
- nutName: x.name,
159
- nutValue: x.value,
160
- nutToTotal: x.value / M.value,
161
- nutToRoot: x.value / t,
162
- nutToBranch: x.value / n.value
154
+ rootToTotal: t / B.value,
155
+ branchName: s.name,
156
+ branchValue: s.value,
157
+ branchToTotal: s.value / B.value,
158
+ branchToRoot: s.value / t,
159
+ nutName: _.name,
160
+ nutValue: _.value,
161
+ nutToTotal: _.value / B.value,
162
+ nutToRoot: _.value / t,
163
+ nutToBranch: _.value / s.value
163
164
  },
164
- ...x,
165
+ ..._,
165
166
  type: "nut",
166
- branchName: n.name,
167
+ branchName: s.name,
167
168
  rootName: l.name,
168
- branchTotal: n.value >= 0 ? n.value : 0,
169
- proportionToBranch: x.value / n.value,
170
- proportionToRoot: x.value / t,
171
- proportionToTree: x.value / M.value,
169
+ branchTotal: s.value >= 0 ? s.value : 0,
170
+ proportionToBranch: _.value / s.value,
171
+ proportionToRoot: _.value / t,
172
+ proportionToTree: _.value / B.value,
172
173
  rootIndex: i,
173
- id: x.id || `nut_${i}_${b}_${f}_${w.value}`,
174
- color: de(x.color) || se.value[f] || V[f] || V[f % V.length],
175
- value: x.value >= 0 ? x.value : 0
174
+ id: _.id || `nut_${i}_${b}_${f}_${w.value}`,
175
+ color: ve(_.color) || ue.value[f] || O[f] || O[f % O.length],
176
+ value: _.value >= 0 ? _.value : 0
176
177
  }))
177
178
  }))
178
179
  };
179
180
  })));
180
- function qe() {
181
- return S.value;
181
+ function He() {
182
+ return N.value;
182
183
  }
183
- const D = Re, He = m(() => S.value.flatMap((l) => l.branches).length), We = m(() => Math.max(...S.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), Ke = m(() => Math.max(...S.value.flatMap((l) => l.branches.map((i) => i.value)))), we = m(() => 256 + r.value.padding.left), j = m(() => S.value.sort((l, i) => i.total - l.total).map((l, i) => {
184
- const t = C.value.height / S.value.length / 2, n = l.total / We.value * (t > 64 ? 64 : t);
184
+ const D = Be, We = m(() => N.value.flatMap((l) => l.branches).length), Ke = m(() => Math.max(...N.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), Je = m(() => Math.max(...N.value.flatMap((l) => l.branches.map((i) => i.value)))), we = m(() => 256 + r.value.padding.left), j = m(() => N.value.sort((l, i) => i.total - l.total).map((l, i) => {
185
+ const t = C.value.height / N.value.length / 2, s = l.total / Ke.value * (t > 64 ? 64 : t);
185
186
  return {
186
187
  ...l,
187
188
  x: C.value.seedX,
188
- y: C.value.top + C.value.height / S.value.length * (i + 1) - (C.value.height / S.value.length / 2 + r.value.gap / 2),
189
- r: n < r.value.branchSize / 2 ? r.value.branchSize / 2 : n
189
+ y: C.value.top + C.value.height / N.value.length * (i + 1) - (C.value.height / N.value.length / 2 + r.value.gap / 2),
190
+ r: s < r.value.branchSize / 2 ? r.value.branchSize / 2 : s
190
191
  };
191
- })), Je = m(() => e.value.style.chart.layout.branches.widthRatio <= 0 ? 0.1 : e.value.style.chart.layout.branches.widthRatio > 1.8 ? 1.8 : e.value.style.chart.layout.branches.widthRatio), Qe = m(() => j.value.flatMap((l) => l.branches)), X = m(() => Qe.value.sort((l, i) => i.value - l.value).map((l, i) => ({
192
+ })), Qe = m(() => e.value.style.chart.layout.branches.widthRatio <= 0 ? 0.1 : e.value.style.chart.layout.branches.widthRatio > 1.8 ? 1.8 : e.value.style.chart.layout.branches.widthRatio), Ze = m(() => j.value.flatMap((l) => l.branches)), X = m(() => Ze.value.sort((l, i) => i.value - l.value).map((l, i) => ({
192
193
  ...l,
193
194
  y1: i * r.value.branchSize + C.value.top + i * r.value.gap,
194
195
  y2: i * r.value.branchSize + r.value.branchSize,
195
196
  x1: we.value,
196
- x2: 384 * l.value / Ke.value * Je.value + we.value
197
+ x2: 384 * l.value / Je.value * Qe.value + we.value
197
198
  })));
198
- function ne(l) {
199
+ function re(l) {
199
200
  const i = j.value.find((t) => t.rootIndex === l.rootIndex);
200
201
  return { x: i.x, y: i.y, r: i.r };
201
202
  }
202
- const d = z(null), B = z(null), _ = z(null), L = z(null);
203
+ const d = z(null), M = z(null), x = z(null), L = z(null);
203
204
  function $() {
204
- d.value = null, _.value = null, L.value = null;
205
+ d.value = null, x.value = null, L.value = null;
205
206
  }
206
207
  function P(l) {
207
- return L.value ? L.value === null ? !0 : l.type === "root" ? l.id === L.value.id : l.rootIndex === L.value.rootIndex : d.value === null && _.value === null ? !0 : l.type === "nut" ? d.value.id === l.id : l.type === "branch" ? _.value.id === l.id : l.type === "root" ? _.value && _.value.rootIndex === l.rootIndex || d.value && d.value.rootIndex === l.rootIndex : !1;
208
+ 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;
208
209
  }
209
- function Ze(l) {
210
- $(), Se(() => {
211
- d.value = l, _.value = l, B.value = Le(
212
- { series: l.breakdown, base: 1 },
210
+ function et(l) {
211
+ $(), Fe(() => {
212
+ d.value = l, x.value = l, M.value = Pe(
213
+ { series: l.breakdown },
213
214
  l.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
214
215
  l.y1 + r.value.branchSize / 2,
215
216
  80,
@@ -218,40 +219,40 @@ const $t = ["id"], Ct = {
218
219
  });
219
220
  }
220
221
  function E() {
221
- d.value = null, B.value = null, D("selectNut", null);
222
+ d.value = null, M.value = null, D("selectNut", null);
222
223
  }
223
- function re(l) {
224
- _.value && _.value.id === l.id ? (_.value = null, $(), D("selectBranch", null)) : ($(), _.value = l, D("selectBranch", l));
224
+ function ie(l) {
225
+ x.value && x.value.id === l.id ? (x.value = null, $(), D("selectBranch", null)) : ($(), x.value = l, D("selectBranch", l));
225
226
  }
226
227
  function $e(l) {
227
228
  L.value && L.value.id === l.id ? ($(), D("selectRoot", null)) : ($(), L.value = l, D("selectRoot", l));
228
229
  }
229
- function et() {
230
+ function tt() {
230
231
  return C.value.bottom - (d.value.y1 + 180) < 0 ? 0 : C.value.bottom;
231
232
  }
232
233
  function Y(l) {
233
234
  return l.proportion * 100 > e.value.style.chart.layout.nuts.selected.labels.dataLabels.hideUnderValue;
234
235
  }
235
- const q = st(null);
236
- function tt() {
236
+ const q = ut(null);
237
+ function lt() {
237
238
  q.value && q.value.disconnect(), q.value = new ResizeObserver((l) => {
238
239
  l.forEach((i) => {
239
- ke.value = i.contentRect.width < Ye.value;
240
+ ke.value = i.contentRect.width < qe.value;
240
241
  });
241
- }), ue.value && q.value.observe(ue.value);
242
+ }), ne.value && q.value.observe(ne.value);
242
243
  }
243
- ut(() => {
244
+ nt(() => {
244
245
  Ce();
245
- }), nt(() => {
246
+ }), rt(() => {
246
247
  q.value && q.value.disconnect();
247
248
  });
248
249
  function Ce() {
249
- ft(R.dataset) && ae({
250
+ bt(V.dataset) && oe({
250
251
  componentName: "VueUiChestnut",
251
252
  type: "dataset"
252
253
  });
253
- const l = He.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
254
- r.value.height = l, tt();
254
+ const l = We.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
255
+ r.value.height = l, lt();
255
256
  }
256
257
  const v = m(() => {
257
258
  const l = [
@@ -267,12 +268,12 @@ const $t = ["id"], Ct = {
267
268
  e.value.table.th.translations.nutToBranch,
268
269
  e.value.table.th.translations.nutToRoot,
269
270
  e.value.table.th.translations.nutToTotal
270
- ], i = S.value.flatMap((t, n) => t.branches.flatMap((b, x) => b.breakdown.flatMap((f, T) => f.table)));
271
+ ], i = N.value.flatMap((t, s) => t.branches.flatMap((b, _) => b.breakdown.flatMap((f, T) => f.table)));
271
272
  return { head: l, body: i };
272
273
  });
273
274
  function Te(l = null) {
274
- Se(() => {
275
- const i = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", M.value], [""]], t = v.value.head, n = v.value.body.map((f, T) => [
275
+ Fe(() => {
276
+ const i = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", B.value], [""]], t = v.value.head, s = v.value.body.map((f, T) => [
276
277
  v.value.body[T - 1] && v.value.body[T - 1].rootName === f.rootName ? "" : f.rootName,
277
278
  v.value.body[T - 1] && v.value.body[T - 1].rootName === f.rootName ? "" : f.rootValue,
278
279
  v.value.body[T - 1] && v.value.body[T - 1].rootName === f.rootName ? "" : f.rootToTotal,
@@ -285,81 +286,96 @@ const $t = ["id"], Ct = {
285
286
  f.nutToBranch,
286
287
  f.nutToRoot,
287
288
  f.nutToTotal
288
- ]), b = i.concat([t]).concat(n), x = gt(b);
289
- l ? l(x) : _t({ csvContent: x, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
289
+ ]), b = i.concat([t]).concat(s), _ = _t(b);
290
+ l ? l(_) : xt({ csvContent: _, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
290
291
  });
291
292
  }
292
- const K = z(!1);
293
- function lt(l) {
294
- K.value = l, ye.value += 1;
293
+ const J = z(!1);
294
+ function ze(l) {
295
+ J.value = l, ye.value += 1;
295
296
  }
296
- function ze() {
297
+ function Se() {
297
298
  U.value.showTable = !U.value.showTable;
298
299
  }
299
- const Q = z(!1);
300
- function ie() {
301
- Q.value = !Q.value;
300
+ const Z = z(!1);
301
+ function ce() {
302
+ Z.value = !Z.value;
302
303
  }
303
- return Oe({
304
- getData: qe,
304
+ async function at({ scale: l = 2 } = {}) {
305
+ if (!K.value) return;
306
+ const { width: i, height: t } = K.value.getBoundingClientRect(), s = i / t, { imageUri: b, base64: _ } = await $t({ domElement: K.value, base64: !0, img: !0, scale: l });
307
+ return {
308
+ imageUri: b,
309
+ base64: _,
310
+ title: e.value.style.chart.layout.title.text,
311
+ width: i,
312
+ height: t,
313
+ aspectRatio: s
314
+ };
315
+ }
316
+ return Ve({
317
+ getData: He,
318
+ getImage: at,
305
319
  generatePdf: xe,
306
320
  generateCsv: Te,
307
321
  generateImage: me,
308
- toggleTable: ze,
309
- toggleAnnotator: ie
322
+ toggleTable: Se,
323
+ toggleAnnotator: ce,
324
+ toggleFullscreen: ze
310
325
  }), (l, i) => (a(), o("div", {
311
- class: k(`vue-ui-chestnut ${K.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
326
+ class: k(`vue-ui-chestnut ${J.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
312
327
  ref_key: "chestnutChart",
313
- ref: ve,
328
+ ref: K,
314
329
  id: `vue-ui-chestnut_${w.value}`,
315
330
  style: y(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
316
- onMouseenter: i[2] || (i[2] = () => s(he)(!0)),
317
- onMouseleave: i[3] || (i[3] = () => s(he)(!1))
331
+ onMouseenter: i[2] || (i[2] = () => u(he)(!0)),
332
+ onMouseleave: i[3] || (i[3] = () => u(he)(!1))
318
333
  }, [
319
- e.value.userOptions.buttons.annotator ? (a(), Z(s(Me), {
334
+ e.value.userOptions.buttons.annotator ? (a(), ee(u(Me), {
320
335
  key: 0,
321
- svgRef: s(be),
336
+ svgRef: u(be),
322
337
  backgroundColor: e.value.style.chart.backgroundColor,
323
338
  color: e.value.style.chart.color,
324
- active: Q.value,
325
- onClose: ie
339
+ active: Z.value,
340
+ onClose: ce
326
341
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
327
- De.value ? (a(), o("div", Ct, null, 512)) : h("", !0),
328
- e.value.userOptions.show && W.value && (s(fe) || s(oe)) ? (a(), Z(s(je), {
342
+ Ye.value ? (a(), o("div", zt, null, 512)) : h("", !0),
343
+ e.value.userOptions.show && W.value && (u(fe) || u(se)) ? (a(), ee(u(Xe), {
329
344
  ref_key: "details",
330
- ref: Ue,
345
+ ref: De,
331
346
  key: `user_options_${ye.value}`,
332
347
  backgroundColor: e.value.style.chart.backgroundColor,
333
348
  color: e.value.style.chart.color,
334
- isImaging: s(_e),
335
- isPrinting: s(ge),
349
+ isImaging: u(_e),
350
+ isPrinting: u(ge),
336
351
  uid: w.value,
337
352
  hasPdf: e.value.userOptions.buttons.pdf,
338
353
  hasImg: e.value.userOptions.buttons.img,
339
354
  hasXls: e.value.userOptions.buttons.csv,
340
355
  hasTable: e.value.userOptions.buttons.table,
341
356
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
342
- isFullscreen: K.value,
357
+ isFullscreen: J.value,
343
358
  titles: { ...e.value.userOptions.buttonTitles },
344
- chartElement: ve.value,
359
+ chartElement: K.value,
345
360
  position: e.value.userOptions.position,
346
361
  hasAnnotator: e.value.userOptions.buttons.annotator,
347
- isAnnotation: Q.value,
362
+ isAnnotation: Z.value,
348
363
  callbacks: e.value.userOptions.callbacks,
349
- onToggleFullscreen: lt,
350
- onGeneratePdf: s(xe),
364
+ printScale: e.value.userOptions.print.scale,
365
+ onToggleFullscreen: ze,
366
+ onGeneratePdf: u(xe),
351
367
  onGenerateCsv: Te,
352
- onGenerateImage: s(me),
353
- onToggleTable: ze,
354
- onToggleAnnotator: ie,
368
+ onGenerateImage: u(me),
369
+ onToggleTable: Se,
370
+ onToggleAnnotator: ce,
355
371
  style: y({
356
- visibility: s(fe) ? s(oe) ? "visible" : "hidden" : "visible"
372
+ visibility: u(fe) ? u(se) ? "visible" : "hidden" : "visible"
357
373
  })
358
- }, rt({ _: 2 }, [
374
+ }, it({ _: 2 }, [
359
375
  l.$slots.menuIcon ? {
360
376
  name: "menuIcon",
361
- fn: A(({ isOpen: t, color: n }) => [
362
- F(l.$slots, "menuIcon", ee(te({ isOpen: t, color: n })), void 0, !0)
377
+ fn: A(({ isOpen: t, color: s }) => [
378
+ F(l.$slots, "menuIcon", te(le({ isOpen: t, color: s })), void 0, !0)
363
379
  ]),
364
380
  key: "0"
365
381
  } : void 0,
@@ -393,29 +409,29 @@ const $t = ["id"], Ct = {
393
409
  } : void 0,
394
410
  l.$slots.optionFullscreen ? {
395
411
  name: "optionFullscreen",
396
- fn: A(({ toggleFullscreen: t, isFullscreen: n }) => [
397
- F(l.$slots, "optionFullscreen", ee(te({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
412
+ fn: A(({ toggleFullscreen: t, isFullscreen: s }) => [
413
+ F(l.$slots, "optionFullscreen", te(le({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
398
414
  ]),
399
415
  key: "5"
400
416
  } : void 0,
401
417
  l.$slots.optionAnnotator ? {
402
418
  name: "optionAnnotator",
403
- fn: A(({ toggleAnnotator: t, isAnnotator: n }) => [
404
- F(l.$slots, "optionAnnotator", ee(te({ toggleAnnotator: t, isAnnotator: n })), void 0, !0)
419
+ fn: A(({ toggleAnnotator: t, isAnnotator: s }) => [
420
+ F(l.$slots, "optionAnnotator", te(le({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
405
421
  ]),
406
422
  key: "6"
407
423
  } : void 0
408
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
424
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
409
425
  r.value.height > 0 && W.value ? (a(), o("svg", {
410
426
  key: 3,
411
427
  ref_key: "svgRef",
412
428
  ref: be,
413
- xmlns: s(bt),
414
- class: k({ "vue-data-ui-fullscreen--on": K.value, "vue-data-ui-fulscreen--off": !K.value }),
429
+ xmlns: u(pt),
430
+ class: k({ "vue-data-ui-fullscreen--on": J.value, "vue-data-ui-fulscreen--off": !J.value }),
415
431
  viewBox: `0 0 ${r.value.width <= 0 ? 10 : r.value.width} ${r.value.height <= 0 ? 10 : r.value.height}`,
416
432
  style: y(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
417
433
  }, [
418
- Ne(s(Xe)),
434
+ Ne(u(Ee)),
419
435
  l.$slots["chart-background"] ? (a(), o("foreignObject", {
420
436
  key: 0,
421
437
  x: 0,
@@ -427,8 +443,8 @@ const $t = ["id"], Ct = {
427
443
  }
428
444
  }, [
429
445
  F(l.$slots, "chart-background", {}, void 0, !0)
430
- ], 8, zt)) : h("", !0),
431
- d.value ? h("", !0) : (a(), o("g", Nt, [
446
+ ], 8, Nt)) : h("", !0),
447
+ d.value ? h("", !0) : (a(), o("g", Ft, [
432
448
  e.value.style.chart.layout.title.text ? (a(), o("text", {
433
449
  key: 0,
434
450
  "text-anchor": "middle",
@@ -438,7 +454,7 @@ const $t = ["id"], Ct = {
438
454
  x: r.value.width / 2,
439
455
  y: 12 + e.value.style.chart.layout.title.fontSize + e.value.style.chart.layout.title.offsetY,
440
456
  onClick: $
441
- }, c(e.value.style.chart.layout.title.text), 9, St)) : h("", !0),
457
+ }, c(e.value.style.chart.layout.title.text), 9, It)) : h("", !0),
442
458
  e.value.style.chart.layout.title.subtitle.text ? (a(), o("text", {
443
459
  key: 1,
444
460
  "text-anchor": "middle",
@@ -448,10 +464,10 @@ const $t = ["id"], Ct = {
448
464
  x: r.value.width / 2,
449
465
  y: 48 + e.value.style.chart.layout.title.subtitle.fontSize + e.value.style.chart.layout.title.subtitle.offsetY,
450
466
  onClick: $
451
- }, c(e.value.style.chart.layout.title.subtitle.text), 9, Ft)) : h("", !0)
467
+ }, c(e.value.style.chart.layout.title.subtitle.text), 9, Lt)) : h("", !0)
452
468
  ])),
453
- u("defs", null, [
454
- (a(!0), o(p, null, g(S.value, (t, n) => (a(), o("radialGradient", {
469
+ n("defs", null, [
470
+ (a(!0), o(p, null, g(N.value, (t, s) => (a(), o("radialGradient", {
455
471
  cx: "50%",
456
472
  cy: "50%",
457
473
  r: "50%",
@@ -459,32 +475,32 @@ const $t = ["id"], Ct = {
459
475
  fy: "50%",
460
476
  id: `root_gradient_${w.value}_${t.rootIndex}`
461
477
  }, [
462
- u("stop", {
478
+ n("stop", {
463
479
  offset: "0%",
464
- "stop-color": s(I)(s(Fe)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
465
- }, null, 8, Lt),
466
- u("stop", {
480
+ "stop-color": u(I)(u(Ie)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
481
+ }, null, 8, Ot),
482
+ n("stop", {
467
483
  offset: "100%",
468
484
  "stop-color": t.color
469
- }, null, 8, Pt)
470
- ], 8, It))), 256)),
471
- (a(!0), o(p, null, g(S.value, (t) => (a(), o("linearGradient", {
485
+ }, null, 8, Rt)
486
+ ], 8, Pt))), 256)),
487
+ (a(!0), o(p, null, g(N.value, (t) => (a(), o("linearGradient", {
472
488
  x1: "0%",
473
489
  y1: "0%",
474
490
  x2: "100%",
475
491
  y2: "0%",
476
492
  id: `branch_gradient_${w.value}_${t.rootIndex}`
477
493
  }, [
478
- u("stop", {
494
+ n("stop", {
479
495
  offset: "0%",
480
496
  "stop-color": t.color
481
- }, null, 8, Ot),
482
- u("stop", {
497
+ }, null, 8, Bt),
498
+ n("stop", {
483
499
  offset: "100%",
484
- "stop-color": s(I)(s(Fe)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
485
- }, null, 8, Rt)
500
+ "stop-color": u(I)(u(Ie)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
501
+ }, null, 8, Mt)
486
502
  ], 8, Vt))), 256)),
487
- u("radialGradient", {
503
+ n("radialGradient", {
488
504
  cx: "50%",
489
505
  cy: "50%",
490
506
  r: "50%",
@@ -492,20 +508,20 @@ const $t = ["id"], Ct = {
492
508
  fy: "50%",
493
509
  id: `nutpick_${w.value}`
494
510
  }, [
495
- u("stop", {
511
+ n("stop", {
496
512
  offset: "0%",
497
- "stop-color": s(I)("#FFFFFF", 0)
498
- }, null, 8, Bt),
499
- u("stop", {
513
+ "stop-color": u(I)("#FFFFFF", 0)
514
+ }, null, 8, jt),
515
+ n("stop", {
500
516
  offset: "80%",
501
- "stop-color": s(I)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
502
- }, null, 8, At),
503
- u("stop", {
517
+ "stop-color": u(I)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
518
+ }, null, 8, Xt),
519
+ n("stop", {
504
520
  offset: "100%",
505
- "stop-color": s(I)("#FFFFFF", 0)
506
- }, null, 8, jt)
507
- ], 8, Mt),
508
- u("radialGradient", {
521
+ "stop-color": u(I)("#FFFFFF", 0)
522
+ }, null, 8, Et)
523
+ ], 8, At),
524
+ n("radialGradient", {
509
525
  cx: "50%",
510
526
  cy: "50%",
511
527
  r: "50%",
@@ -513,20 +529,20 @@ const $t = ["id"], Ct = {
513
529
  fy: "50%",
514
530
  id: `nut_${w.value}`
515
531
  }, [
516
- u("stop", {
532
+ n("stop", {
517
533
  offset: "0%",
518
- "stop-color": s(I)("#FFFFFF", 0)
519
- }, null, 8, Et),
520
- u("stop", {
534
+ "stop-color": u(I)("#FFFFFF", 0)
535
+ }, null, 8, Ut),
536
+ n("stop", {
521
537
  offset: "80%",
522
- "stop-color": s(I)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
523
- }, null, 8, Gt),
524
- u("stop", {
538
+ "stop-color": u(I)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
539
+ }, null, 8, Dt),
540
+ n("stop", {
525
541
  offset: "100%",
526
- "stop-color": s(I)("#FFFFFF", 0)
527
- }, null, 8, Ut)
528
- ], 8, Xt),
529
- u("radialGradient", {
542
+ "stop-color": u(I)("#FFFFFF", 0)
543
+ }, null, 8, Yt)
544
+ ], 8, Gt),
545
+ n("radialGradient", {
530
546
  cx: "50%",
531
547
  cy: "50%",
532
548
  r: "50%",
@@ -534,22 +550,22 @@ const $t = ["id"], Ct = {
534
550
  fy: "50%",
535
551
  id: `nut_underlayer_${w.value}`
536
552
  }, [
537
- u("stop", {
553
+ n("stop", {
538
554
  offset: "0%",
539
- "stop-color": s(I)(e.value.style.chart.backgroundColor, 100)
540
- }, null, 8, Yt),
541
- u("stop", {
555
+ "stop-color": u(I)(e.value.style.chart.backgroundColor, 100)
556
+ }, null, 8, Ht),
557
+ n("stop", {
542
558
  offset: "80%",
543
- "stop-color": s(I)(e.value.style.chart.backgroundColor, 60)
544
- }, null, 8, qt),
545
- u("stop", {
559
+ "stop-color": u(I)(e.value.style.chart.backgroundColor, 60)
560
+ }, null, 8, Wt),
561
+ n("stop", {
546
562
  offset: "100%",
547
- "stop-color": s(I)(e.value.style.chart.backgroundColor, 0)
548
- }, null, 8, Ht)
549
- ], 8, Dt)
563
+ "stop-color": u(I)(e.value.style.chart.backgroundColor, 0)
564
+ }, null, 8, Kt)
565
+ ], 8, qt)
550
566
  ]),
551
- e.value.style.chart.layout.grandTotal.show ? (a(), o("g", Wt, [
552
- u("text", {
567
+ e.value.style.chart.layout.grandTotal.show ? (a(), o("g", Jt, [
568
+ n("text", {
553
569
  x: C.value.seedX,
554
570
  y: 32 + e.value.style.chart.layout.grandTotal.offsetY,
555
571
  "font-size": e.value.style.chart.layout.grandTotal.fontSize,
@@ -557,8 +573,8 @@ const $t = ["id"], Ct = {
557
573
  fill: e.value.style.chart.layout.grandTotal.color,
558
574
  "text-anchor": "middle",
559
575
  onClick: $
560
- }, c(e.value.style.chart.layout.grandTotal.text), 9, Kt),
561
- u("text", {
576
+ }, c(e.value.style.chart.layout.grandTotal.text), 9, Qt),
577
+ n("text", {
562
578
  x: C.value.seedX,
563
579
  y: 38 + e.value.style.chart.layout.grandTotal.fontSize + e.value.style.chart.layout.grandTotal.offsetY,
564
580
  "font-size": e.value.style.chart.layout.grandTotal.fontSize,
@@ -566,32 +582,32 @@ const $t = ["id"], Ct = {
566
582
  fill: e.value.style.chart.layout.grandTotal.color,
567
583
  "text-anchor": "middle",
568
584
  onClick: $
569
- }, c(s(G)(
585
+ }, c(u(G)(
570
586
  e.value.style.chart.layout.grandTotal.formatter,
571
- M.value,
572
- s(N)({
587
+ B.value,
588
+ u(S)({
573
589
  p: e.value.style.chart.layout.grandTotal.prefix,
574
- v: M.value,
590
+ v: B.value,
575
591
  s: e.value.style.chart.layout.grandTotal.suffix,
576
592
  r: e.value.style.chart.layout.grandTotal.roundingValue
577
593
  })
578
- )), 9, Jt)
594
+ )), 9, Zt)
579
595
  ])) : h("", !0),
580
596
  (a(!0), o(p, null, g(X.value, (t) => (a(), o("g", null, [
581
- (a(!0), o(p, null, g(r.value.branchSize, (n, b) => (a(), o("path", {
597
+ (a(!0), o(p, null, g(r.value.branchSize, (s, b) => (a(), o("path", {
582
598
  d: `M
583
599
  ${t.x1},${t.y1 + b}
584
600
  C${t.x1 - 20},${t.y1 + b}
585
601
  ${t.x1 - 80},${t.y1 + b}
586
- ${ne(t).x + ne(t).r / 2}, ${ne(t).y}
602
+ ${re(t).x + re(t).r / 2}, ${re(t).y}
587
603
  `,
588
- stroke: s(I)(t.color, e.value.style.chart.layout.links.opacity),
604
+ stroke: u(I)(t.color, e.value.style.chart.layout.links.opacity),
589
605
  fill: "none",
590
606
  "stroke-width": "2",
591
607
  "shape-rendering": "cirspEdges",
592
608
  style: y(`opacity:${P(t) ? 1 : 0}`),
593
609
  onClick: $
594
- }, null, 12, Qt))), 256))
610
+ }, null, 12, el))), 256))
595
611
  ]))), 256)),
596
612
  (a(!0), o(p, null, g(j.value, (t) => (a(), o("circle", {
597
613
  cx: t.x,
@@ -600,8 +616,8 @@ const $t = ["id"], Ct = {
600
616
  fill: e.value.style.chart.layout.roots.underlayerColor,
601
617
  stroke: "none",
602
618
  style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`)
603
- }, null, 12, Zt))), 256)),
604
- (a(!0), o(p, null, g(j.value, (t, n) => (a(), o("circle", {
619
+ }, null, 12, tl))), 256)),
620
+ (a(!0), o(p, null, g(j.value, (t, s) => (a(), o("circle", {
605
621
  cx: t.x,
606
622
  cy: t.y,
607
623
  r: t.r,
@@ -610,31 +626,31 @@ const $t = ["id"], Ct = {
610
626
  "stroke-width": e.value.style.chart.layout.roots.strokeWidth,
611
627
  style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`),
612
628
  onClick: (b) => $e(t)
613
- }, null, 12, el))), 256)),
614
- e.value.style.chart.layout.roots.labels.show ? (a(), o("g", tl, [
615
- (a(!0), o(p, null, g(j.value, (t, n) => (a(), o("text", {
629
+ }, null, 12, ll))), 256)),
630
+ e.value.style.chart.layout.roots.labels.show ? (a(), o("g", al, [
631
+ (a(!0), o(p, null, g(j.value, (t, s) => (a(), o("text", {
616
632
  x: t.x,
617
633
  y: t.y + e.value.style.chart.layout.roots.labels.fontSize / 2.6,
618
634
  "text-anchor": "middle",
619
635
  "font-size": e.value.style.chart.layout.roots.labels.fontSize,
620
- fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? s(Ie)(t.color) : e.value.style.chart.layout.roots.labels.color,
636
+ fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? u(Le)(t.color) : e.value.style.chart.layout.roots.labels.color,
621
637
  "font-weight": "bold",
622
638
  style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`),
623
639
  onClick: (b) => $e(t)
624
- }, c(s(G)(
640
+ }, c(u(G)(
625
641
  e.value.style.chart.layout.roots.labels.formatter,
626
642
  t.total,
627
- s(N)({
643
+ u(S)({
628
644
  p: e.value.style.chart.layout.roots.labels.prefix,
629
645
  v: t.total,
630
646
  s: e.value.style.chart.layout.roots.labels.suffix,
631
647
  r: e.value.style.chart.layout.roots.labels.roundingValue
632
648
  }),
633
649
  { datapoint: t }
634
- )), 13, ll))), 256)),
650
+ )), 13, ol))), 256)),
635
651
  (a(!0), o(p, null, g(j.value, (t) => (a(), o("g", null, [
636
- d.value && t.rootIndex === d.value.rootIndex || _.value && t.rootIndex === _.value.rootIndex || L.value && t.rootIndex === L.value.rootIndex ? (a(), o("g", al, [
637
- u("text", {
652
+ d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || L.value && t.rootIndex === L.value.rootIndex ? (a(), o("g", sl, [
653
+ n("text", {
638
654
  x: t.x,
639
655
  y: t.y + t.r + 24,
640
656
  "text-anchor": "middle",
@@ -642,7 +658,7 @@ const $t = ["id"], Ct = {
642
658
  "font-size": e.value.style.chart.layout.roots.labels.name.fontSize,
643
659
  "font-weight": e.value.style.chart.layout.roots.labels.name.bold ? "bold" : "normal",
644
660
  onClick: $
645
- }, c(t.name), 9, ol)
661
+ }, c(t.name), 9, ul)
646
662
  ])) : h("", !0)
647
663
  ]))), 256))
648
664
  ])) : h("", !0),
@@ -655,9 +671,9 @@ const $t = ["id"], Ct = {
655
671
  rx: e.value.style.chart.layout.branches.borderRadius,
656
672
  stroke: "none",
657
673
  style: y(`opacity:${P(t) ? 1 : 0.05}`),
658
- onClick: (n) => re(t)
659
- }, null, 12, sl))), 256)),
660
- (a(!0), o(p, null, g(X.value, (t, n) => (a(), o("rect", {
674
+ onClick: (s) => ie(t)
675
+ }, null, 12, nl))), 256)),
676
+ (a(!0), o(p, null, g(X.value, (t, s) => (a(), o("rect", {
661
677
  x: t.x1,
662
678
  y: t.y1,
663
679
  height: r.value.branchSize,
@@ -667,57 +683,57 @@ const $t = ["id"], Ct = {
667
683
  stroke: e.value.style.chart.layout.branches.stroke,
668
684
  "stroke-width": e.value.style.chart.layout.branches.strokeWidth,
669
685
  style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`),
670
- onClick: (b) => re(t)
671
- }, null, 12, ul))), 256)),
672
- e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", nl, [
686
+ onClick: (b) => ie(t)
687
+ }, null, 12, rl))), 256)),
688
+ e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", il, [
673
689
  (a(!0), o(p, null, g(X.value, (t) => (a(), o("g", null, [
674
690
  t.proportionToRoot * 100 > e.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (a(), o("text", {
675
691
  key: 0,
676
692
  x: t.x1 + 6,
677
693
  y: t.y1 + r.value.branchSize / 1.5,
678
694
  "text-anchor": "start",
679
- fill: s(Ie)(t.color),
695
+ fill: u(Le)(t.color),
680
696
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
681
697
  "font-weight": "bold",
682
698
  style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`),
683
- onClick: (n) => re(t)
684
- }, c(s(G)(
699
+ onClick: (s) => ie(t)
700
+ }, c(u(G)(
685
701
  e.value.style.chart.layout.branches.labels.dataLabels.formatter,
686
702
  t.value,
687
- s(N)({
703
+ u(S)({
688
704
  p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
689
705
  v: t.value,
690
706
  s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
691
707
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
692
708
  }),
693
709
  { datapoint: t }
694
- )), 13, rl)) : h("", !0)
710
+ )), 13, cl)) : h("", !0)
695
711
  ]))), 256))
696
712
  ])) : h("", !0),
697
- (a(!0), o(p, null, g(X.value, (t, n) => (a(), o("g", null, [
698
- (a(!0), o(p, null, g(s(Le)(
713
+ (a(!0), o(p, null, g(X.value, (t, s) => (a(), o("g", null, [
714
+ (a(!0), o(p, null, g(u(Pe)(
699
715
  { series: t.breakdown, base: 1 },
700
716
  t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
701
717
  t.y1 + r.value.branchSize / 2,
702
718
  r.value.branchSize / 3,
703
719
  r.value.branchSize / 3
704
- ), (b, x) => (a(), o("path", {
720
+ ), (b, _) => (a(), o("path", {
705
721
  d: b.path,
706
722
  stroke: b.color,
707
723
  "stroke-width": 10,
708
724
  fill: "none",
709
725
  style: y(`opacity:${P(t) ? 1 : 0.1}`)
710
- }, null, 12, il))), 256)),
711
- u("circle", {
726
+ }, null, 12, dl))), 256)),
727
+ n("circle", {
712
728
  fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${w.value})` : "transparent",
713
729
  cx: t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
714
730
  cy: t.y1 + r.value.branchSize / 2,
715
731
  r: r.value.branchSize / 2 + 2,
716
- onClick: (b) => Ze(t),
732
+ onClick: (b) => et(t),
717
733
  style: y(`cursor:pointer;opacity:${P(t) ? 1 : 0.1}`)
718
- }, null, 12, cl)
734
+ }, null, 12, vl)
719
735
  ]))), 256)),
720
- e.value.style.chart.layout.branches.labels.show && !_.value ? (a(), o("g", dl, [
736
+ e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", yl, [
721
737
  (a(!0), o(p, null, g(X.value, (t) => (a(), o("text", {
722
738
  x: t.x2 + r.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
723
739
  y: t.y1 + r.value.branchSize / 2 + 5,
@@ -726,17 +742,17 @@ const $t = ["id"], Ct = {
726
742
  fill: e.value.style.chart.layout.branches.labels.color,
727
743
  "text-anchor": "start",
728
744
  style: y(`opacity:${P(t) ? 1 : 0.1}`)
729
- }, c(t.name), 13, vl))), 256))
745
+ }, c(t.name), 13, hl))), 256))
730
746
  ])) : h("", !0),
731
- u("line", {
747
+ n("line", {
732
748
  x1: 256 + r.value.padding.left,
733
749
  x2: 256 + r.value.padding.left,
734
750
  y1: C.value.top,
735
751
  y2: C.value.bottom,
736
752
  stroke: e.value.style.chart.layout.verticalSeparator.stroke,
737
753
  "stroke-width": e.value.style.chart.layout.verticalSeparator.strokeWidth
738
- }, null, 8, yl),
739
- !d.value && !_.value ? (a(), o("foreignObject", {
754
+ }, null, 8, fl),
755
+ !d.value && !x.value ? (a(), o("foreignObject", {
740
756
  key: 6,
741
757
  x: 0,
742
758
  y: C.value.bottom,
@@ -745,25 +761,25 @@ const $t = ["id"], Ct = {
745
761
  style: { overflow: "visible" },
746
762
  onClick: $
747
763
  }, [
748
- u("div", fl, [
749
- u("div", bl, [
764
+ n("div", pl, [
765
+ n("div", gl, [
750
766
  (a(!0), o(p, null, g(j.value, (t) => (a(), o("div", {
751
767
  style: y(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
752
768
  }, [
753
- (a(), o("svg", pl, [
754
- u("circle", {
769
+ (a(), o("svg", _l, [
770
+ n("circle", {
755
771
  cx: "10",
756
772
  cy: "10",
757
773
  r: "10",
758
774
  fill: t.color,
759
775
  stroke: "none"
760
- }, null, 8, gl)
776
+ }, null, 8, xl)
761
777
  ])),
762
- u("span", null, c(t.name) + ":", 1),
763
- u("b", null, c(s(G)(
778
+ n("span", null, c(t.name) + ":", 1),
779
+ n("b", null, c(u(G)(
764
780
  e.value.style.chart.layout.roots.labels.formatter,
765
781
  t.total,
766
- s(N)({
782
+ u(S)({
767
783
  p: e.value.style.chart.layout.legend.prefix,
768
784
  v: t.total,
769
785
  s: e.value.style.chart.layout.legend.suffix,
@@ -771,60 +787,60 @@ const $t = ["id"], Ct = {
771
787
  }),
772
788
  { datapoint: t }
773
789
  )), 1),
774
- le(" (" + c(s(N)({
775
- v: t.total / M.value * 100,
790
+ ae(" (" + c(u(S)({
791
+ v: t.total / B.value * 100,
776
792
  s: "%",
777
793
  r: e.value.style.chart.layout.legend.roundingPercentage
778
794
  })) + ") ", 1)
779
795
  ], 4))), 256))
780
796
  ])
781
797
  ])
782
- ], 8, hl)) : h("", !0),
783
- d.value && B.value ? (a(), o("g", _l, [
798
+ ], 8, bl)) : h("", !0),
799
+ d.value && M.value ? (a(), o("g", ml, [
784
800
  (a(), o("foreignObject", {
785
801
  x: 0,
786
- y: et(),
802
+ y: tt(),
787
803
  height: r.value.height - C.value.bottom,
788
804
  width: r.value.width,
789
805
  style: { overflow: "visible" },
790
806
  onClick: $
791
807
  }, [
792
- u("div", ml, [
793
- u("b", null, c(d.value.name), 1),
794
- u("div", kl, [
795
- (a(!0), o(p, null, g(d.value.breakdown, (t, n) => (a(), o("div", {
808
+ n("div", wl, [
809
+ n("b", null, c(d.value.name), 1),
810
+ n("div", $l, [
811
+ (a(!0), o(p, null, g(d.value.breakdown, (t, s) => (a(), o("div", {
796
812
  style: y(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
797
813
  }, [
798
- (a(), o("svg", wl, [
799
- u("circle", {
814
+ (a(), o("svg", Cl, [
815
+ n("circle", {
800
816
  cx: "10",
801
817
  cy: "10",
802
818
  r: "10",
803
819
  fill: t.color,
804
820
  stroke: "none"
805
- }, null, 8, $l)
821
+ }, null, 8, Tl)
806
822
  ])),
807
- u("span", null, [
808
- le(c(t.name) + ": ", 1),
809
- u("b", null, c(e.value.style.chart.layout.legend.prefix) + " " + c(t.value.toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingValue)) + " " + c(e.value.style.chart.layout.legend.suffix), 1),
810
- le(" (" + c((t.proportionToBranch * 100).toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "%)", 1)
823
+ n("span", null, [
824
+ ae(c(t.name) + ": ", 1),
825
+ n("b", null, c(e.value.style.chart.layout.legend.prefix) + " " + c(t.value.toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingValue)) + " " + c(e.value.style.chart.layout.legend.suffix), 1),
826
+ ae(" (" + c((t.proportionToBranch * 100).toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "%)", 1)
811
827
  ])
812
828
  ], 4))), 256))
813
829
  ])
814
830
  ])
815
- ], 8, xl)),
816
- u("circle", {
831
+ ], 8, kl)),
832
+ n("circle", {
817
833
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
818
834
  cy: d.value.y1 + r.value.branchSize / 2,
819
835
  r: 256,
820
836
  fill: `url(#nut_underlayer_${w.value})`,
821
837
  onClick: E,
822
838
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
823
- }, null, 10, Cl),
824
- (a(!0), o(p, null, g(B.value, (t) => (a(), o("g", null, [
839
+ }, null, 10, zl),
840
+ (a(!0), o(p, null, g(M.value, (t) => (a(), o("g", null, [
825
841
  Y(t) ? (a(), o("path", {
826
842
  key: 0,
827
- d: s(pt)(
843
+ d: u(gt)(
828
844
  t,
829
845
  {
830
846
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
@@ -842,41 +858,41 @@ const $t = ["id"], Ct = {
842
858
  "stroke-linejoin": "round",
843
859
  fill: "none",
844
860
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
845
- }, null, 10, Tl)) : h("", !0)
861
+ }, null, 10, Sl)) : h("", !0)
846
862
  ]))), 256)),
847
- u("circle", {
863
+ n("circle", {
848
864
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
849
865
  cy: d.value.y1 + r.value.branchSize / 2,
850
866
  r: 118,
851
867
  fill: e.value.style.chart.backgroundColor,
852
868
  onClick: E,
853
869
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
854
- }, null, 10, zl),
855
- (a(!0), o(p, null, g(B.value, (t) => (a(), o("path", {
870
+ }, null, 10, Nl),
871
+ (a(!0), o(p, null, g(M.value, (t) => (a(), o("path", {
856
872
  d: t.path,
857
873
  stroke: t.color,
858
874
  "stroke-width": 64,
859
875
  fill: "none",
860
876
  onClick: E,
861
877
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
862
- }, null, 10, Nl))), 256)),
863
- u("circle", {
878
+ }, null, 10, Fl))), 256)),
879
+ n("circle", {
864
880
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
865
881
  cy: d.value.y1 + r.value.branchSize / 2,
866
882
  r: 110,
867
883
  fill: `url(#nutpick_${w.value})`,
868
884
  onClick: E,
869
885
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
870
- }, null, 10, Sl),
871
- u("circle", {
886
+ }, null, 10, Il),
887
+ n("circle", {
872
888
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
873
889
  cy: d.value.y1 + r.value.branchSize / 2,
874
890
  r: 64,
875
891
  fill: e.value.style.chart.backgroundColor,
876
892
  onClick: E,
877
893
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
878
- }, null, 10, Fl),
879
- u("text", {
894
+ }, null, 10, Ll),
895
+ n("text", {
880
896
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
881
897
  y: d.value.y1 + 8,
882
898
  fill: e.value.style.chart.layout.nuts.selected.labels.core.total.color,
@@ -885,8 +901,8 @@ const $t = ["id"], Ct = {
885
901
  "text-anchor": "middle",
886
902
  onClick: E,
887
903
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
888
- }, c(e.value.translations.total), 11, Il),
889
- u("text", {
904
+ }, c(e.value.translations.total), 11, Pl),
905
+ n("text", {
890
906
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
891
907
  y: d.value.y1 + 36,
892
908
  fill: e.value.style.chart.layout.nuts.selected.labels.core.value.color,
@@ -895,96 +911,96 @@ const $t = ["id"], Ct = {
895
911
  "text-anchor": "middle",
896
912
  onClick: E,
897
913
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
898
- }, c(s(G)(
914
+ }, c(u(G)(
899
915
  e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
900
916
  d.value.value,
901
- s(N)({
917
+ u(S)({
902
918
  p: e.value.style.chart.layout.nuts.selected.labels.core.value.prefix,
903
919
  v: d.value.value,
904
920
  s: e.value.style.chart.layout.nuts.selected.labels.core.value.suffix,
905
921
  r: e.value.style.chart.layout.nuts.selected.roundingValue
906
922
  }),
907
923
  { datapoint: d.value }
908
- )), 11, Ll),
909
- (a(!0), o(p, null, g(B.value, (t, n) => (a(), o("g", null, [
924
+ )), 11, Ol),
925
+ (a(!0), o(p, null, g(M.value, (t, s) => (a(), o("g", null, [
910
926
  Y(t) ? (a(), o("text", {
911
927
  key: 0,
912
- x: s(O)(t).x,
913
- "text-anchor": s(O)(t).anchor,
914
- y: s(J)(t) - e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 6,
928
+ x: u(R)(t).x,
929
+ "text-anchor": u(R)(t).anchor,
930
+ y: u(Q)(t) - e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 6,
915
931
  fill: t.color,
916
932
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 2,
917
933
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
918
934
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
919
- }, " ⬤ ", 14, Pl)) : h("", !0),
935
+ }, " ⬤ ", 14, Rl)) : h("", !0),
920
936
  Y(t) ? (a(), o("text", {
921
937
  key: 1,
922
- x: s(O)(t, !0).x,
923
- "text-anchor": s(O)(t, !0).anchor,
924
- y: s(J)(t),
938
+ x: u(R)(t, !0).x,
939
+ "text-anchor": u(R)(t, !0).anchor,
940
+ y: u(Q)(t),
925
941
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
926
942
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
927
943
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
928
944
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
929
- }, c(d.value.breakdown[n].name), 15, Vl)) : h("", !0)
945
+ }, c(d.value.breakdown[s].name), 15, Vl)) : h("", !0)
930
946
  ]))), 256)),
931
- (a(!0), o(p, null, g(B.value, (t, n) => (a(), o("g", null, [
947
+ (a(!0), o(p, null, g(M.value, (t, s) => (a(), o("g", null, [
932
948
  Y(t) ? (a(), o("text", {
933
949
  key: 0,
934
- x: s(O)(t, !0).x,
935
- "text-anchor": s(O)(t).anchor,
936
- y: s(J)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
950
+ x: u(R)(t, !0).x,
951
+ "text-anchor": u(R)(t).anchor,
952
+ y: u(Q)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
937
953
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
938
954
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
939
955
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
940
956
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
941
- }, c(s(N)({
942
- v: d.value.breakdown[n].value / d.value.value * 100,
957
+ }, c(u(S)({
958
+ v: d.value.breakdown[s].value / d.value.value * 100,
943
959
  s: "%",
944
960
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
945
- })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[n].branchName) + " " + c(s(G)(
961
+ })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].branchName) + " " + c(u(G)(
946
962
  e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
947
- d.value.breakdown[n].value,
948
- s(N)({
963
+ d.value.breakdown[s].value,
964
+ u(S)({
949
965
  p: e.value.style.chart.layout.nuts.selected.labels.dataLabels.prefix,
950
- v: d.value.breakdown[n].value,
966
+ v: d.value.breakdown[s].value,
951
967
  s: e.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
952
968
  r: e.value.style.chart.layout.nuts.selected.roundingValue
953
969
  }),
954
- { datapoint: B.value, seriesIndex: n }
955
- )), 15, Ol)) : h("", !0),
970
+ { datapoint: M.value, seriesIndex: s }
971
+ )), 15, Bl)) : h("", !0),
956
972
  Y(t) ? (a(), o("text", {
957
973
  key: 1,
958
- x: s(O)(t, !0).x,
959
- "text-anchor": s(O)(t).anchor,
960
- y: s(J)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 2,
974
+ x: u(R)(t, !0).x,
975
+ "text-anchor": u(R)(t).anchor,
976
+ y: u(Q)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 2,
961
977
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
962
978
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
963
979
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
964
980
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
965
- }, c(s(N)({
966
- v: d.value.breakdown[n].proportionToRoot * 100,
981
+ }, c(u(S)({
982
+ v: d.value.breakdown[s].proportionToRoot * 100,
967
983
  s: "%",
968
984
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
969
- })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[n].rootName), 15, Rl)) : h("", !0),
985
+ })) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].rootName), 15, Ml)) : h("", !0),
970
986
  Y(t) ? (a(), o("text", {
971
987
  key: 2,
972
- x: s(O)(t, !0).x,
973
- "text-anchor": s(O)(t).anchor,
974
- y: s(J)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 3,
988
+ x: u(R)(t, !0).x,
989
+ "text-anchor": u(R)(t).anchor,
990
+ y: u(Q)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 3,
975
991
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
976
992
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
977
993
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
978
994
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
979
- }, c(s(N)({
980
- v: d.value.breakdown[n].proportionToTree * 100,
995
+ }, c(u(S)({
996
+ v: d.value.breakdown[s].proportionToTree * 100,
981
997
  s: "%",
982
998
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
983
- })) + " " + c(e.value.translations.proportionToTree), 15, Ml)) : h("", !0)
999
+ })) + " " + c(e.value.translations.proportionToTree), 15, Al)) : h("", !0)
984
1000
  ]))), 256))
985
1001
  ])) : h("", !0),
986
1002
  (a(!0), o(p, null, g(X.value, (t) => (a(), o("g", null, [
987
- _.value && _.value.id === t.id && !d.value ? (a(), o("text", {
1003
+ x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
988
1004
  key: 0,
989
1005
  x: t.x1 + 6,
990
1006
  y: t.y1 + r.value.branchSize + 24,
@@ -993,18 +1009,18 @@ const $t = ["id"], Ct = {
993
1009
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
994
1010
  fill: e.value.style.chart.layout.branches.labels.color,
995
1011
  onClick: $
996
- }, c(t.name) + ": " + c(s(G)(
1012
+ }, c(t.name) + ": " + c(u(G)(
997
1013
  e.value.style.chart.layout.branches.labels.dataLabels.formatter,
998
1014
  t.value,
999
- s(N)({
1015
+ u(S)({
1000
1016
  p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
1001
1017
  v: t.value,
1002
1018
  s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
1003
1019
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
1004
1020
  }),
1005
1021
  { datapoint: t }
1006
- )), 9, Bl)) : h("", !0),
1007
- _.value && _.value.id === t.id && !d.value ? (a(), o("text", {
1022
+ )), 9, jl)) : h("", !0),
1023
+ x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
1008
1024
  key: 1,
1009
1025
  x: t.x1 + 6,
1010
1026
  y: t.y1 + r.value.branchSize + 48,
@@ -1012,12 +1028,12 @@ const $t = ["id"], Ct = {
1012
1028
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1013
1029
  fill: e.value.style.chart.layout.branches.labels.color,
1014
1030
  onClick: $
1015
- }, c(s(N)({
1031
+ }, c(u(S)({
1016
1032
  v: t.proportionToRoot * 100,
1017
1033
  s: "%",
1018
1034
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
1019
- })) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, Al)) : h("", !0),
1020
- _.value && _.value.id === t.id && !d.value ? (a(), o("text", {
1035
+ })) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, Xl)) : h("", !0),
1036
+ x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
1021
1037
  key: 2,
1022
1038
  x: t.x1 + 6,
1023
1039
  y: t.y1 + r.value.branchSize + 72,
@@ -1025,18 +1041,18 @@ const $t = ["id"], Ct = {
1025
1041
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1026
1042
  fill: e.value.style.chart.layout.branches.labels.color,
1027
1043
  onClick: $
1028
- }, c(s(N)({
1029
- v: t.value / M.value * 100,
1044
+ }, c(u(S)({
1045
+ v: t.value / B.value * 100,
1030
1046
  s: "%",
1031
1047
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
1032
- })) + " " + c(e.value.translations.proportionToTree), 9, jl)) : h("", !0)
1048
+ })) + " " + c(e.value.translations.proportionToTree), 9, El)) : h("", !0)
1033
1049
  ]))), 256)),
1034
1050
  F(l.$slots, "svg", { svg: r.value }, void 0, !0)
1035
- ], 14, Tt)) : h("", !0),
1036
- l.$slots.watermark ? (a(), o("div", Xl, [
1037
- F(l.$slots, "watermark", ee(te({ isPrinting: s(ge) || s(_e) })), void 0, !0)
1051
+ ], 14, St)) : h("", !0),
1052
+ l.$slots.watermark ? (a(), o("div", Gl, [
1053
+ F(l.$slots, "watermark", te(le({ isPrinting: u(ge) || u(_e) })), void 0, !0)
1038
1054
  ])) : h("", !0),
1039
- W.value ? h("", !0) : (a(), Z(s(Ae), {
1055
+ W.value ? h("", !0) : (a(), ee(u(je), {
1040
1056
  key: 5,
1041
1057
  config: {
1042
1058
  type: "chestnut",
@@ -1048,11 +1064,11 @@ const $t = ["id"], Ct = {
1048
1064
  }
1049
1065
  }
1050
1066
  }, null, 8, ["config"])),
1051
- F(l.$slots, "legend", { legend: S.value }, void 0, !0),
1052
- l.$slots.source ? (a(), o("div", El, [
1067
+ F(l.$slots, "legend", { legend: N.value }, void 0, !0),
1068
+ l.$slots.source ? (a(), o("div", Ul, [
1053
1069
  F(l.$slots, "source", {}, void 0, !0)
1054
1070
  ], 512)) : h("", !0),
1055
- W.value ? (a(), Z(s(Be), {
1071
+ W.value ? (a(), ee(u(Ae), {
1056
1072
  key: 7,
1057
1073
  hideDetails: "",
1058
1074
  config: {
@@ -1069,39 +1085,39 @@ const $t = ["id"], Ct = {
1069
1085
  }
1070
1086
  }, {
1071
1087
  content: A(() => [
1072
- u("div", {
1088
+ n("div", {
1073
1089
  ref_key: "tableContainer",
1074
- ref: ue,
1090
+ ref: ne,
1075
1091
  class: "vue-ui-chestnut-table"
1076
1092
  }, [
1077
- u("div", Gl, [
1078
- u("div", {
1093
+ n("div", Dl, [
1094
+ n("div", {
1079
1095
  role: "button",
1080
1096
  tabindex: "0",
1081
1097
  style: y(`width:32px; position: absolute; top: 0; left:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
1082
1098
  onClick: i[0] || (i[0] = (t) => U.value.showTable = !1),
1083
- onKeypress: i[1] || (i[1] = it((t) => U.value.showTable = !1, ["enter"]))
1099
+ onKeypress: i[1] || (i[1] = ct((t) => U.value.showTable = !1, ["enter"]))
1084
1100
  }, [
1085
- Ne(s(Ee), {
1101
+ Ne(u(Ge), {
1086
1102
  name: "close",
1087
1103
  stroke: e.value.table.th.color,
1088
1104
  "stroke-width": 2
1089
1105
  }, null, 8, ["stroke"])
1090
1106
  ], 36),
1091
- u("div", {
1107
+ n("div", {
1092
1108
  style: { width: "100%" },
1093
1109
  class: k({ "vue-ui-responsive": ke.value })
1094
1110
  }, [
1095
- u("table", Ul, [
1096
- u("caption", {
1111
+ n("table", Yl, [
1112
+ n("caption", {
1097
1113
  style: y({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
1098
1114
  class: "vue-ui-data-table__caption"
1099
1115
  }, [
1100
- le(c(e.value.style.chart.layout.title.text) + " ", 1),
1101
- e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", Dl, c(e.value.style.chart.layout.title.subtitle.text), 1)) : h("", !0)
1116
+ ae(c(e.value.style.chart.layout.title.text) + " ", 1),
1117
+ e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", ql, c(e.value.style.chart.layout.title.subtitle.text), 1)) : h("", !0)
1102
1118
  ], 4),
1103
- u("thead", null, [
1104
- u("tr", {
1119
+ n("thead", null, [
1120
+ n("tr", {
1105
1121
  role: "row",
1106
1122
  style: y(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1107
1123
  }, [
@@ -1110,109 +1126,109 @@ const $t = ["id"], Ct = {
1110
1126
  }, c(t), 5))), 256))
1111
1127
  ], 4)
1112
1128
  ]),
1113
- u("tbody", null, [
1114
- (a(!0), o(p, null, g(v.value.body, (t, n) => (a(), o("tr", {
1115
- class: k({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": n % 2 === 0, "vue-ui-data-table__tbody__row-odd": n % 2 !== 0 }),
1129
+ n("tbody", null, [
1130
+ (a(!0), o(p, null, g(v.value.body, (t, s) => (a(), o("tr", {
1131
+ class: k({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": s % 2 === 0, "vue-ui-data-table__tbody__row-odd": s % 2 !== 0 }),
1116
1132
  style: y(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1117
1133
  }, [
1118
- u("td", {
1134
+ n("td", {
1119
1135
  class: "vue-ui-data-table__tbody__td",
1120
1136
  style: y(`outline:${e.value.table.td.outline}`),
1121
1137
  "data-cell": v.value.head[0]
1122
1138
  }, [
1123
- u("div", ql, [
1124
- v.value.body[n - 1] && v.value.body[n - 1].rootName === t.rootName ? (a(), o("span", Hl)) : (a(), o("span", Wl, c(t.rootName), 1))
1139
+ n("div", Wl, [
1140
+ v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", Kl)) : (a(), o("span", Jl, c(t.rootName), 1))
1125
1141
  ])
1126
- ], 12, Yl),
1127
- u("td", {
1142
+ ], 12, Hl),
1143
+ n("td", {
1128
1144
  class: "vue-ui-data-table__tbody__td",
1129
1145
  style: y(`outline:${e.value.table.td.outline}`),
1130
1146
  "data-cell": v.value.head[1]
1131
1147
  }, [
1132
- u("div", Jl, [
1133
- v.value.body[n - 1] && v.value.body[n - 1].rootName === t.rootName ? (a(), o("span", Ql)) : (a(), o("span", Zl, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
1148
+ n("div", Zl, [
1149
+ v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", ea)) : (a(), o("span", ta, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
1134
1150
  ])
1135
- ], 12, Kl),
1136
- u("td", {
1151
+ ], 12, Ql),
1152
+ n("td", {
1137
1153
  class: "vue-ui-data-table__tbody__td",
1138
1154
  style: y(`outline:${e.value.table.td.outline}`),
1139
1155
  "data-cell": v.value.head[2]
1140
1156
  }, [
1141
- u("div", ta, [
1142
- v.value.body[n - 1] && v.value.body[n - 1].rootName === t.rootName ? (a(), o("span", la)) : (a(), o("span", aa, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1157
+ n("div", aa, [
1158
+ v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", oa)) : (a(), o("span", sa, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1143
1159
  ])
1144
- ], 12, ea),
1145
- u("td", {
1160
+ ], 12, la),
1161
+ n("td", {
1146
1162
  class: "vue-ui-data-table__tbody__td",
1147
1163
  style: y(`outline:${e.value.table.td.outline}`),
1148
1164
  "data-cell": v.value.head[3]
1149
1165
  }, [
1150
- u("div", sa, [
1151
- v.value.body[n - 1] && v.value.body[n - 1].branchName === t.branchName ? (a(), o("span", ua)) : (a(), o("span", na, c(t.branchName), 1))
1166
+ n("div", na, [
1167
+ v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", ra)) : (a(), o("span", ia, c(t.branchName), 1))
1152
1168
  ])
1153
- ], 12, oa),
1154
- u("td", {
1169
+ ], 12, ua),
1170
+ n("td", {
1155
1171
  class: "vue-ui-data-table__tbody__td",
1156
1172
  style: y(`outline:${e.value.table.td.outline}`),
1157
1173
  "data-cell": v.value.head[4]
1158
1174
  }, [
1159
- u("div", ia, [
1160
- v.value.body[n - 1] && v.value.body[n - 1].branchName === t.branchName ? (a(), o("span", ca)) : (a(), o("span", da, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
1175
+ n("div", da, [
1176
+ v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", va)) : (a(), o("span", ya, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
1161
1177
  ])
1162
- ], 12, ra),
1163
- u("td", {
1178
+ ], 12, ca),
1179
+ n("td", {
1164
1180
  class: "vue-ui-data-table__tbody__td",
1165
1181
  style: y(`outline:${e.value.table.td.outline}`),
1166
1182
  "data-cell": v.value.head[5]
1167
1183
  }, [
1168
- u("div", ya, [
1169
- v.value.body[n - 1] && v.value.body[n - 1].branchName === t.branchName ? (a(), o("span", ha)) : (a(), o("span", fa, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1184
+ n("div", fa, [
1185
+ v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", ba)) : (a(), o("span", pa, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1170
1186
  ])
1171
- ], 12, va),
1172
- u("td", {
1187
+ ], 12, ha),
1188
+ n("td", {
1173
1189
  class: "vue-ui-data-table__tbody__td",
1174
1190
  style: y(`outline:${e.value.table.td.outline}`),
1175
1191
  "data-cell": v.value.head[6]
1176
1192
  }, [
1177
- u("div", pa, [
1178
- v.value.body[n - 1] && v.value.body[n - 1].branchName === t.branchName ? (a(), o("span", ga)) : (a(), o("span", _a, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1193
+ n("div", _a, [
1194
+ v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", xa)) : (a(), o("span", ma, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
1179
1195
  ])
1180
- ], 12, ba),
1181
- u("td", {
1196
+ ], 12, ga),
1197
+ n("td", {
1182
1198
  class: "vue-ui-data-table__tbody__td",
1183
1199
  style: y(`outline:${e.value.table.td.outline}`),
1184
1200
  "data-cell": v.value.head[7]
1185
1201
  }, [
1186
- u("div", ma, c(t.nutName), 1)
1187
- ], 12, xa),
1188
- u("td", {
1202
+ n("div", wa, c(t.nutName), 1)
1203
+ ], 12, ka),
1204
+ n("td", {
1189
1205
  class: "vue-ui-data-table__tbody__td",
1190
1206
  style: y(`outline:${e.value.table.td.outline}`),
1191
1207
  "data-cell": v.value.head[8]
1192
1208
  }, [
1193
- u("div", wa, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1194
- ], 12, ka),
1195
- u("td", {
1209
+ n("div", Ca, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1210
+ ], 12, $a),
1211
+ n("td", {
1196
1212
  class: "vue-ui-data-table__tbody__td",
1197
1213
  style: y(`outline:${e.value.table.td.outline}`),
1198
1214
  "data-cell": v.value.head[9]
1199
1215
  }, [
1200
- u("div", Ca, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1201
- ], 12, $a),
1202
- u("td", {
1216
+ n("div", za, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1217
+ ], 12, Ta),
1218
+ n("td", {
1203
1219
  class: "vue-ui-data-table__tbody__td",
1204
1220
  style: y(`outline:${e.value.table.td.outline}`),
1205
1221
  "data-cell": v.value.head[10]
1206
1222
  }, [
1207
- u("div", za, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1208
- ], 12, Ta),
1209
- u("td", {
1223
+ n("div", Na, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1224
+ ], 12, Sa),
1225
+ n("td", {
1210
1226
  class: "vue-ui-data-table__tbody__td",
1211
1227
  style: y(`outline:${e.value.table.td.outline}`),
1212
1228
  "data-cell": v.value.head[11]
1213
1229
  }, [
1214
- u("div", Sa, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1215
- ], 12, Na)
1230
+ n("div", Ia, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1231
+ ], 12, Fa)
1216
1232
  ], 6))), 256))
1217
1233
  ])
1218
1234
  ])
@@ -1222,9 +1238,9 @@ const $t = ["id"], Ct = {
1222
1238
  ]),
1223
1239
  _: 1
1224
1240
  }, 8, ["config"])) : h("", !0)
1225
- ], 46, $t));
1241
+ ], 46, Tt));
1226
1242
  }
1227
- }, Ba = /* @__PURE__ */ wt(Fa, [["__scopeId", "data-v-4edbb77e"]]);
1243
+ }, Xa = /* @__PURE__ */ Ct(La, [["__scopeId", "data-v-21b8f426"]]);
1228
1244
  export {
1229
- Ba as default
1245
+ Xa as default
1230
1246
  };