vue-data-ui 2.16.6 → 2.17.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 (94) hide show
  1. package/README.md +84 -53
  2. package/dist/{Arrow-DCqxVwey.js → Arrow-BDCVJzQB.js} +1 -1
  3. package/dist/{BaseDraggableDialog-6DIKXIBU.js → BaseDraggableDialog-BvuWrldK.js} +2 -2
  4. package/dist/{BaseIcon-Bn996RXm.js → BaseIcon-D9Tz8ARD.js} +1 -1
  5. package/dist/{ColorPicker-OFfLkKNb.js → ColorPicker-wGf46G2G.js} +2 -2
  6. package/dist/{DataTable-CHBLjKtZ.js → DataTable-Dt-TIOyY.js} +2 -2
  7. package/dist/{Legend-nBXoxXJH.js → Legend-3LNqqLDg.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-Cls2idJS.js → NonSvgPenAndPaper-iDdMuUEo.js} +3 -3
  9. package/dist/{PackageVersion-Bg_9KCU-.js → PackageVersion-C-4Ee8BQ.js} +1 -1
  10. package/dist/{PenAndPaper-BPTpbnay.js → PenAndPaper-Cde-wJ3N.js} +32 -32
  11. package/dist/{Shape-Bnf512BA.js → Shape-C75836Jl.js} +1 -1
  12. package/dist/{Slicer-BrqtJG2E.js → Slicer-CpSu7plp.js} +2 -2
  13. package/dist/{SparkTooltip-C-rLATAw.js → SparkTooltip-B_GXa2tb.js} +1 -1
  14. package/dist/{Title-Gi81VwUM.js → Title-DpERl1yr.js} +1 -1
  15. package/dist/{Tooltip-CJxVw7-T.js → Tooltip-DA0bYKFG.js} +1 -1
  16. package/dist/{UserOptions-CBEK6_jo.js → UserOptions-DTEJ3UM_.js} +2 -2
  17. package/dist/{dom-to-png-CRHNL8VU.js → dom-to-png-DWDGYXFL.js} +1 -1
  18. package/dist/{img-BgOg8opa.js → img-utitT2Gd.js} +1 -1
  19. package/dist/{index-DvIXJm6t.js → index-CobsZUkv.js} +22 -8
  20. package/dist/{pdf-DhTxBrbJ.js → pdf-DWZ8IB56.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +999 -160
  23. package/dist/types/vue-data-ui.d.ts +999 -160
  24. package/dist/{useNestedProp-DrYHm61t.js → useNestedProp-BwL5wmVa.js} +1 -1
  25. package/dist/{usePrinter-CWnXbGMb.js → usePrinter-DPh6U_Qk.js} +2 -2
  26. package/dist/vue-data-ui-D7ZgRDQ_.js +312 -0
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-CtlB4p7i.js → vue-ui-3d-bar-ORUAjkg7.js} +246 -231
  29. package/dist/{vue-ui-accordion-D55kCO5G.js → vue-ui-accordion-UewqY6OI.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-DSshyUn-.js → vue-ui-age-pyramid-Yl4aRpNc.js} +225 -210
  31. package/dist/{vue-ui-annotator-DQSMv_k2.js → vue-ui-annotator-B1gqiBqq.js} +2 -2
  32. package/dist/{vue-ui-bullet-FeScjj7q.js → vue-ui-bullet-C307lCPt.js} +168 -153
  33. package/dist/{vue-ui-candlestick-Drupgyoi.js → vue-ui-candlestick-BE6PcEdh.js} +218 -203
  34. package/dist/{vue-ui-carousel-table-BTZQRZfO.js → vue-ui-carousel-table-Cpvjr677.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DLWjPwRL.js → vue-ui-chestnut-CUw74AgC.js} +412 -397
  36. package/dist/{vue-ui-chord-BgLbFBT9.js → vue-ui-chord-CCPGeAiY.js} +202 -187
  37. package/dist/{vue-ui-circle-pack-VXcRh2gy.js → vue-ui-circle-pack-dfyPiQmy.js} +222 -207
  38. package/dist/{vue-ui-cursor-DWmfnM25.js → vue-ui-cursor-C2zmfeoD.js} +2 -2
  39. package/dist/{vue-ui-dashboard-CGIocEHj.js → vue-ui-dashboard-CotAqRbX.js} +62 -62
  40. package/dist/{vue-ui-digits-BgQch3Fc.js → vue-ui-digits-7qJFCuoI.js} +2 -2
  41. package/dist/{vue-ui-donut-B59bCV5_.js → vue-ui-donut-D41WeqQU.js} +420 -411
  42. package/dist/{vue-ui-donut-evolution-CI8qBIQd.js → vue-ui-donut-evolution-Deg0dsYg.js} +352 -340
  43. package/dist/{vue-ui-dumbbell-CXv7sk88.js → vue-ui-dumbbell-DDwNoTPG.js} +214 -199
  44. package/dist/{vue-ui-flow-DxF0ELtv.js → vue-ui-flow-6oR7IMyi.js} +215 -200
  45. package/dist/{vue-ui-funnel-Bco8rqF8.js → vue-ui-funnel-BnXtOJmh.js} +212 -197
  46. package/dist/{vue-ui-galaxy-CaPJwwOj.js → vue-ui-galaxy-75XC8SpV.js} +213 -201
  47. package/dist/{vue-ui-gauge-D7arhDmb.js → vue-ui-gauge-w31j915C.js} +218 -203
  48. package/dist/{vue-ui-gizmo-Dwli-Mip.js → vue-ui-gizmo-bZqk6oZS.js} +3 -3
  49. package/dist/{vue-ui-heatmap-Cyn-ahGO.js → vue-ui-heatmap-BfU62tMW.js} +242 -223
  50. package/dist/{vue-ui-history-plot-C2AEToqx.js → vue-ui-history-plot-CFfco-Yj.js} +267 -252
  51. package/dist/{vue-ui-kpi-DKDibSdl.js → vue-ui-kpi-DaJ1U3wf.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-B8OVutUx.js → vue-ui-mini-loader-CF_2jAI8.js} +2 -2
  53. package/dist/{vue-ui-molecule-BVSrqIGw.js → vue-ui-molecule-Tdk3Gd8M.js} +207 -192
  54. package/dist/{vue-ui-mood-radar-DvlyS3RN.js → vue-ui-mood-radar-Dg5wS7W5.js} +204 -189
  55. package/dist/{vue-ui-nested-donuts-D9ssSus6.js → vue-ui-nested-donuts-CpRe0sQB.js} +248 -240
  56. package/dist/{vue-ui-onion-Buu4VX3u.js → vue-ui-onion-B8o4ft2v.js} +184 -169
  57. package/dist/{vue-ui-parallel-coordinate-plot-DFLUvhxD.js → vue-ui-parallel-coordinate-plot-zW-CNqWC.js} +192 -177
  58. package/dist/{vue-ui-quadrant-BMC7NBGd.js → vue-ui-quadrant-DiRtZ16w.js} +259 -244
  59. package/dist/{vue-ui-quick-chart-DB9RKUkb.js → vue-ui-quick-chart-BRlYC_yT.js} +324 -309
  60. package/dist/{vue-ui-radar-68NMPxxQ.js → vue-ui-radar-DKgX1Ibx.js} +195 -180
  61. package/dist/{vue-ui-rating-swH9kRr3.js → vue-ui-rating-DlklKr-X.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CT-EdSjO.js → vue-ui-relation-circle-MHiAp8dC.js} +186 -171
  63. package/dist/{vue-ui-ridgeline-DftROPaX.js → vue-ui-ridgeline-DA8verAe.js} +227 -212
  64. package/dist/{vue-ui-rings-M-9dPI5D.js → vue-ui-rings-Dh6lFqun.js} +214 -202
  65. package/dist/{vue-ui-scatter-CsGhaFJh.js → vue-ui-scatter-CLC5sTOi.js} +270 -256
  66. package/dist/{vue-ui-skeleton-BAOt2neL.js → vue-ui-skeleton-8s4xts8z.js} +3 -3
  67. package/dist/{vue-ui-smiley-7_kIgPg-.js → vue-ui-smiley-utuzw8uI.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DHlQQpwz.js → vue-ui-spark-trend-BODEqGRr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BnHhzuKf.js → vue-ui-sparkbar-B8MB-kn9.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-WtfkCK8g.js → vue-ui-sparkgauge-CuD7kTS3.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-B2u4XLVd.js → vue-ui-sparkhistogram-BYJszvna.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DKIyUlSm.js → vue-ui-sparkline-D77GyWzG.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BLGz2qIb.js → vue-ui-sparkstackbar-DNb1yD64.js} +3 -3
  74. package/dist/{vue-ui-stackbar-BDpMsTYe.js → vue-ui-stackbar-C6rjCYDD.js} +251 -236
  75. package/dist/{vue-ui-strip-plot-5qDcYPnR.js → vue-ui-strip-plot-B6cYojHQ.js} +239 -224
  76. package/dist/{vue-ui-table-Bg5HIQ3O.js → vue-ui-table-IC7SmWVd.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DmjNy1q1.js → vue-ui-table-heatmap-DHFpJMpA.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-CnkJkBk5.js → vue-ui-table-sparkline-D7wz-sCj.js} +4 -4
  79. package/dist/{vue-ui-thermometer-RlD-9mJf.js → vue-ui-thermometer-D-oiVT3n.js} +168 -153
  80. package/dist/{vue-ui-timer-Bes74INL.js → vue-ui-timer-C9jVyX5l.js} +5 -5
  81. package/dist/vue-ui-tiremarks-B1bM9Aoo.js +358 -0
  82. package/dist/{vue-ui-treemap-BG1Omm38.js → vue-ui-treemap-DX48YlU5.js} +374 -362
  83. package/dist/{vue-ui-vertical-bar-CwqQyZFX.js → vue-ui-vertical-bar-6SjKPQWR.js} +252 -237
  84. package/dist/{vue-ui-waffle-Ce3T4BPp.js → vue-ui-waffle-CYao9MMw.js} +232 -220
  85. package/dist/vue-ui-wheel-USuDhMwW.js +352 -0
  86. package/dist/vue-ui-word-cloud-TOBTs7yF.js +659 -0
  87. package/dist/{vue-ui-world-B9PxVO4n.js → vue-ui-world-C2qikqBa.js} +237 -222
  88. package/dist/{vue-ui-xy-DtJ7qJib.js → vue-ui-xy-DxwgKoO-.js} +557 -544
  89. package/dist/{vue-ui-xy-canvas-S6YpFgzs.js → vue-ui-xy-canvas-N69OpVn8.js} +395 -380
  90. package/package.json +1 -1
  91. package/dist/vue-data-ui-B8EWlMIK.js +0 -301
  92. package/dist/vue-ui-tiremarks-DiLS3akQ.js +0 -343
  93. package/dist/vue-ui-wheel-6B0WTkf2.js +0 -337
  94. package/dist/vue-ui-word-cloud-ByYZCOh7.js +0 -644
@@ -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 Se, createElementVNode as u, toDisplayString as c, Fragment as p, renderList as g, createTextVNode as le, withKeys as it, nextTick as Ne } from "vue";
2
- import { u as ct, c as dt, t as vt, p as O, 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 S, F as Ie, m as Le, j as pt, k as J, n as V, q as gt, r as _t } from "./index-DvIXJm6t.js";
3
- import { u as Pe } from "./useNestedProp-DrYHm61t.js";
4
- import { u as xt } from "./usePrinter-CWnXbGMb.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-CobsZUkv.js";
3
+ import { u as Oe } from "./useNestedProp-BwL5wmVa.js";
4
+ import { u as mt } from "./usePrinter-DPh6U_Qk.js";
5
+ import { u as kt } from "./useUserOptionState-BIvW1Kz7.js";
6
+ import { u as wt } from "./useChartAccessibility-9icAAmYg.js";
7
+ import $t from "./img-utitT2Gd.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"], St = { key: 1 }, Nt = ["fill", "font-weight", "font-size", "x", "y"], Ft = ["fill", "font-weight", "font-size", "x", "y"], It = ["id"], Lt = ["stop-color"], Pt = ["stop-color"], Ot = ["id"], Vt = ["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"], Sl = ["d", "stroke"], Nl = ["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"], Ol = ["x", "text-anchor", "y", "fill", "font-size"], Vl = ["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" } }, Sa = ["data-cell"], Na = { 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(Oe, { expose: Ve, emit: Re }) {
46
- at((l) => ({
47
- "05fffe32": l.tdo
46
+ setup(Re, { expose: Ve, emit: Be }) {
47
+ ot((l) => ({
48
+ "41b0c792": l.tdo
48
49
  }));
49
- const Me = H(() => import("./PenAndPaper-BPTpbnay.js")), Be = H(() => import("./vue-ui-accordion-D55kCO5G.js")), Ae = H(() => import("./vue-ui-skeleton-BAOt2neL.js")), je = H(() => import("./UserOptions-CBEK6_jo.js")), Xe = H(() => import("./PackageVersion-Bg_9KCU-.js")), Ee = H(() => import("./BaseIcon-Bn996RXm.js")), { vue_ui_chestnut: Ge } = ct(), R = Oe, 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-Cde-wJ3N.js")), Ae = H(() => import("./vue-ui-accordion-UewqY6OI.js")), je = H(() => import("./vue-ui-skeleton-8s4xts8z.js")), Xe = H(() => import("./UserOptions-DTEJ3UM_.js")), Ee = H(() => import("./PackageVersion-C-4Ee8BQ.js")), Ge = H(() => import("./BaseIcon-D9Tz8ARD.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] || O
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,123 +93,123 @@ 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), N = 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] || O[i] || O[i % O.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] || O[i] || O[i % O.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] || O[f] || O[f % O.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
+ function He() {
181
182
  return N.value;
182
183
  }
183
- const D = Re, He = m(() => N.value.flatMap((l) => l.branches).length), We = m(() => Math.max(...N.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), Ke = 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) => {
184
- const t = C.value.height / N.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
189
  y: C.value.top + C.value.height / N.value.length * (i + 1) - (C.value.height / N.value.length / 2 + r.value.gap / 2),
189
- r: n < r.value.branchSize / 2 ? r.value.branchSize / 2 : n
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
- $(), Ne(() => {
211
- d.value = l, _.value = l, B.value = Le(
210
+ function et(l) {
211
+ $(), Fe(() => {
212
+ d.value = l, x.value = l, M.value = Pe(
212
213
  { series: l.breakdown, base: 1 },
213
214
  l.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
214
215
  l.y1 + r.value.branchSize / 2,
@@ -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 = N.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
- Ne(() => {
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,82 +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;
303
+ }
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
+ };
302
315
  }
303
316
  return Ve({
304
- getData: qe,
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
364
  printScale: e.value.userOptions.print.scale,
350
- onToggleFullscreen: lt,
351
- onGeneratePdf: s(xe),
365
+ onToggleFullscreen: ze,
366
+ onGeneratePdf: u(xe),
352
367
  onGenerateCsv: Te,
353
- onGenerateImage: s(me),
354
- onToggleTable: ze,
355
- onToggleAnnotator: ie,
368
+ onGenerateImage: u(me),
369
+ onToggleTable: Se,
370
+ onToggleAnnotator: ce,
356
371
  style: y({
357
- visibility: s(fe) ? s(oe) ? "visible" : "hidden" : "visible"
372
+ visibility: u(fe) ? u(se) ? "visible" : "hidden" : "visible"
358
373
  })
359
- }, rt({ _: 2 }, [
374
+ }, it({ _: 2 }, [
360
375
  l.$slots.menuIcon ? {
361
376
  name: "menuIcon",
362
- fn: A(({ isOpen: t, color: n }) => [
363
- 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)
364
379
  ]),
365
380
  key: "0"
366
381
  } : void 0,
@@ -394,15 +409,15 @@ const $t = ["id"], Ct = {
394
409
  } : void 0,
395
410
  l.$slots.optionFullscreen ? {
396
411
  name: "optionFullscreen",
397
- fn: A(({ toggleFullscreen: t, isFullscreen: n }) => [
398
- 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)
399
414
  ]),
400
415
  key: "5"
401
416
  } : void 0,
402
417
  l.$slots.optionAnnotator ? {
403
418
  name: "optionAnnotator",
404
- fn: A(({ toggleAnnotator: t, isAnnotator: n }) => [
405
- 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)
406
421
  ]),
407
422
  key: "6"
408
423
  } : void 0
@@ -411,12 +426,12 @@ const $t = ["id"], Ct = {
411
426
  key: 3,
412
427
  ref_key: "svgRef",
413
428
  ref: be,
414
- xmlns: s(bt),
415
- 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 }),
416
431
  viewBox: `0 0 ${r.value.width <= 0 ? 10 : r.value.width} ${r.value.height <= 0 ? 10 : r.value.height}`,
417
432
  style: y(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
418
433
  }, [
419
- Se(s(Xe)),
434
+ Ne(u(Ee)),
420
435
  l.$slots["chart-background"] ? (a(), o("foreignObject", {
421
436
  key: 0,
422
437
  x: 0,
@@ -428,8 +443,8 @@ const $t = ["id"], Ct = {
428
443
  }
429
444
  }, [
430
445
  F(l.$slots, "chart-background", {}, void 0, !0)
431
- ], 8, zt)) : h("", !0),
432
- d.value ? h("", !0) : (a(), o("g", St, [
446
+ ], 8, Nt)) : h("", !0),
447
+ d.value ? h("", !0) : (a(), o("g", Ft, [
433
448
  e.value.style.chart.layout.title.text ? (a(), o("text", {
434
449
  key: 0,
435
450
  "text-anchor": "middle",
@@ -439,7 +454,7 @@ const $t = ["id"], Ct = {
439
454
  x: r.value.width / 2,
440
455
  y: 12 + e.value.style.chart.layout.title.fontSize + e.value.style.chart.layout.title.offsetY,
441
456
  onClick: $
442
- }, c(e.value.style.chart.layout.title.text), 9, Nt)) : h("", !0),
457
+ }, c(e.value.style.chart.layout.title.text), 9, It)) : h("", !0),
443
458
  e.value.style.chart.layout.title.subtitle.text ? (a(), o("text", {
444
459
  key: 1,
445
460
  "text-anchor": "middle",
@@ -449,10 +464,10 @@ const $t = ["id"], Ct = {
449
464
  x: r.value.width / 2,
450
465
  y: 48 + e.value.style.chart.layout.title.subtitle.fontSize + e.value.style.chart.layout.title.subtitle.offsetY,
451
466
  onClick: $
452
- }, 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)
453
468
  ])),
454
- u("defs", null, [
455
- (a(!0), o(p, null, g(N.value, (t, n) => (a(), o("radialGradient", {
469
+ n("defs", null, [
470
+ (a(!0), o(p, null, g(N.value, (t, s) => (a(), o("radialGradient", {
456
471
  cx: "50%",
457
472
  cy: "50%",
458
473
  r: "50%",
@@ -460,15 +475,15 @@ const $t = ["id"], Ct = {
460
475
  fy: "50%",
461
476
  id: `root_gradient_${w.value}_${t.rootIndex}`
462
477
  }, [
463
- u("stop", {
478
+ n("stop", {
464
479
  offset: "0%",
465
- "stop-color": s(I)(s(Fe)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
466
- }, null, 8, Lt),
467
- 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", {
468
483
  offset: "100%",
469
484
  "stop-color": t.color
470
- }, null, 8, Pt)
471
- ], 8, It))), 256)),
485
+ }, null, 8, Rt)
486
+ ], 8, Pt))), 256)),
472
487
  (a(!0), o(p, null, g(N.value, (t) => (a(), o("linearGradient", {
473
488
  x1: "0%",
474
489
  y1: "0%",
@@ -476,16 +491,16 @@ const $t = ["id"], Ct = {
476
491
  y2: "0%",
477
492
  id: `branch_gradient_${w.value}_${t.rootIndex}`
478
493
  }, [
479
- u("stop", {
494
+ n("stop", {
480
495
  offset: "0%",
481
496
  "stop-color": t.color
482
- }, null, 8, Vt),
483
- u("stop", {
497
+ }, null, 8, Bt),
498
+ n("stop", {
484
499
  offset: "100%",
485
- "stop-color": s(I)(s(Fe)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
486
- }, null, 8, Rt)
487
- ], 8, Ot))), 256)),
488
- u("radialGradient", {
500
+ "stop-color": u(I)(u(Ie)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
501
+ }, null, 8, Mt)
502
+ ], 8, Vt))), 256)),
503
+ n("radialGradient", {
489
504
  cx: "50%",
490
505
  cy: "50%",
491
506
  r: "50%",
@@ -493,20 +508,20 @@ const $t = ["id"], Ct = {
493
508
  fy: "50%",
494
509
  id: `nutpick_${w.value}`
495
510
  }, [
496
- u("stop", {
511
+ n("stop", {
497
512
  offset: "0%",
498
- "stop-color": s(I)("#FFFFFF", 0)
499
- }, null, 8, Bt),
500
- u("stop", {
513
+ "stop-color": u(I)("#FFFFFF", 0)
514
+ }, null, 8, jt),
515
+ n("stop", {
501
516
  offset: "80%",
502
- "stop-color": s(I)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
503
- }, null, 8, At),
504
- u("stop", {
517
+ "stop-color": u(I)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
518
+ }, null, 8, Xt),
519
+ n("stop", {
505
520
  offset: "100%",
506
- "stop-color": s(I)("#FFFFFF", 0)
507
- }, null, 8, jt)
508
- ], 8, Mt),
509
- u("radialGradient", {
521
+ "stop-color": u(I)("#FFFFFF", 0)
522
+ }, null, 8, Et)
523
+ ], 8, At),
524
+ n("radialGradient", {
510
525
  cx: "50%",
511
526
  cy: "50%",
512
527
  r: "50%",
@@ -514,20 +529,20 @@ const $t = ["id"], Ct = {
514
529
  fy: "50%",
515
530
  id: `nut_${w.value}`
516
531
  }, [
517
- u("stop", {
532
+ n("stop", {
518
533
  offset: "0%",
519
- "stop-color": s(I)("#FFFFFF", 0)
520
- }, null, 8, Et),
521
- u("stop", {
534
+ "stop-color": u(I)("#FFFFFF", 0)
535
+ }, null, 8, Ut),
536
+ n("stop", {
522
537
  offset: "80%",
523
- "stop-color": s(I)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
524
- }, null, 8, Gt),
525
- u("stop", {
538
+ "stop-color": u(I)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
539
+ }, null, 8, Dt),
540
+ n("stop", {
526
541
  offset: "100%",
527
- "stop-color": s(I)("#FFFFFF", 0)
528
- }, null, 8, Ut)
529
- ], 8, Xt),
530
- u("radialGradient", {
542
+ "stop-color": u(I)("#FFFFFF", 0)
543
+ }, null, 8, Yt)
544
+ ], 8, Gt),
545
+ n("radialGradient", {
531
546
  cx: "50%",
532
547
  cy: "50%",
533
548
  r: "50%",
@@ -535,22 +550,22 @@ const $t = ["id"], Ct = {
535
550
  fy: "50%",
536
551
  id: `nut_underlayer_${w.value}`
537
552
  }, [
538
- u("stop", {
553
+ n("stop", {
539
554
  offset: "0%",
540
- "stop-color": s(I)(e.value.style.chart.backgroundColor, 100)
541
- }, null, 8, Yt),
542
- u("stop", {
555
+ "stop-color": u(I)(e.value.style.chart.backgroundColor, 100)
556
+ }, null, 8, Ht),
557
+ n("stop", {
543
558
  offset: "80%",
544
- "stop-color": s(I)(e.value.style.chart.backgroundColor, 60)
545
- }, null, 8, qt),
546
- u("stop", {
559
+ "stop-color": u(I)(e.value.style.chart.backgroundColor, 60)
560
+ }, null, 8, Wt),
561
+ n("stop", {
547
562
  offset: "100%",
548
- "stop-color": s(I)(e.value.style.chart.backgroundColor, 0)
549
- }, null, 8, Ht)
550
- ], 8, Dt)
563
+ "stop-color": u(I)(e.value.style.chart.backgroundColor, 0)
564
+ }, null, 8, Kt)
565
+ ], 8, qt)
551
566
  ]),
552
- e.value.style.chart.layout.grandTotal.show ? (a(), o("g", Wt, [
553
- u("text", {
567
+ e.value.style.chart.layout.grandTotal.show ? (a(), o("g", Jt, [
568
+ n("text", {
554
569
  x: C.value.seedX,
555
570
  y: 32 + e.value.style.chart.layout.grandTotal.offsetY,
556
571
  "font-size": e.value.style.chart.layout.grandTotal.fontSize,
@@ -558,8 +573,8 @@ const $t = ["id"], Ct = {
558
573
  fill: e.value.style.chart.layout.grandTotal.color,
559
574
  "text-anchor": "middle",
560
575
  onClick: $
561
- }, c(e.value.style.chart.layout.grandTotal.text), 9, Kt),
562
- u("text", {
576
+ }, c(e.value.style.chart.layout.grandTotal.text), 9, Qt),
577
+ n("text", {
563
578
  x: C.value.seedX,
564
579
  y: 38 + e.value.style.chart.layout.grandTotal.fontSize + e.value.style.chart.layout.grandTotal.offsetY,
565
580
  "font-size": e.value.style.chart.layout.grandTotal.fontSize,
@@ -567,32 +582,32 @@ const $t = ["id"], Ct = {
567
582
  fill: e.value.style.chart.layout.grandTotal.color,
568
583
  "text-anchor": "middle",
569
584
  onClick: $
570
- }, c(s(G)(
585
+ }, c(u(G)(
571
586
  e.value.style.chart.layout.grandTotal.formatter,
572
- M.value,
573
- s(S)({
587
+ B.value,
588
+ u(S)({
574
589
  p: e.value.style.chart.layout.grandTotal.prefix,
575
- v: M.value,
590
+ v: B.value,
576
591
  s: e.value.style.chart.layout.grandTotal.suffix,
577
592
  r: e.value.style.chart.layout.grandTotal.roundingValue
578
593
  })
579
- )), 9, Jt)
594
+ )), 9, Zt)
580
595
  ])) : h("", !0),
581
596
  (a(!0), o(p, null, g(X.value, (t) => (a(), o("g", null, [
582
- (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", {
583
598
  d: `M
584
599
  ${t.x1},${t.y1 + b}
585
600
  C${t.x1 - 20},${t.y1 + b}
586
601
  ${t.x1 - 80},${t.y1 + b}
587
- ${ne(t).x + ne(t).r / 2}, ${ne(t).y}
602
+ ${re(t).x + re(t).r / 2}, ${re(t).y}
588
603
  `,
589
- 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),
590
605
  fill: "none",
591
606
  "stroke-width": "2",
592
607
  "shape-rendering": "cirspEdges",
593
608
  style: y(`opacity:${P(t) ? 1 : 0}`),
594
609
  onClick: $
595
- }, null, 12, Qt))), 256))
610
+ }, null, 12, el))), 256))
596
611
  ]))), 256)),
597
612
  (a(!0), o(p, null, g(j.value, (t) => (a(), o("circle", {
598
613
  cx: t.x,
@@ -601,8 +616,8 @@ const $t = ["id"], Ct = {
601
616
  fill: e.value.style.chart.layout.roots.underlayerColor,
602
617
  stroke: "none",
603
618
  style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`)
604
- }, null, 12, Zt))), 256)),
605
- (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", {
606
621
  cx: t.x,
607
622
  cy: t.y,
608
623
  r: t.r,
@@ -611,31 +626,31 @@ const $t = ["id"], Ct = {
611
626
  "stroke-width": e.value.style.chart.layout.roots.strokeWidth,
612
627
  style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`),
613
628
  onClick: (b) => $e(t)
614
- }, null, 12, el))), 256)),
615
- e.value.style.chart.layout.roots.labels.show ? (a(), o("g", tl, [
616
- (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", {
617
632
  x: t.x,
618
633
  y: t.y + e.value.style.chart.layout.roots.labels.fontSize / 2.6,
619
634
  "text-anchor": "middle",
620
635
  "font-size": e.value.style.chart.layout.roots.labels.fontSize,
621
- 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,
622
637
  "font-weight": "bold",
623
638
  style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`),
624
639
  onClick: (b) => $e(t)
625
- }, c(s(G)(
640
+ }, c(u(G)(
626
641
  e.value.style.chart.layout.roots.labels.formatter,
627
642
  t.total,
628
- s(S)({
643
+ u(S)({
629
644
  p: e.value.style.chart.layout.roots.labels.prefix,
630
645
  v: t.total,
631
646
  s: e.value.style.chart.layout.roots.labels.suffix,
632
647
  r: e.value.style.chart.layout.roots.labels.roundingValue
633
648
  }),
634
649
  { datapoint: t }
635
- )), 13, ll))), 256)),
650
+ )), 13, ol))), 256)),
636
651
  (a(!0), o(p, null, g(j.value, (t) => (a(), o("g", null, [
637
- d.value && t.rootIndex === d.value.rootIndex || _.value && t.rootIndex === _.value.rootIndex || L.value && t.rootIndex === L.value.rootIndex ? (a(), o("g", al, [
638
- 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", {
639
654
  x: t.x,
640
655
  y: t.y + t.r + 24,
641
656
  "text-anchor": "middle",
@@ -643,7 +658,7 @@ const $t = ["id"], Ct = {
643
658
  "font-size": e.value.style.chart.layout.roots.labels.name.fontSize,
644
659
  "font-weight": e.value.style.chart.layout.roots.labels.name.bold ? "bold" : "normal",
645
660
  onClick: $
646
- }, c(t.name), 9, ol)
661
+ }, c(t.name), 9, ul)
647
662
  ])) : h("", !0)
648
663
  ]))), 256))
649
664
  ])) : h("", !0),
@@ -656,9 +671,9 @@ const $t = ["id"], Ct = {
656
671
  rx: e.value.style.chart.layout.branches.borderRadius,
657
672
  stroke: "none",
658
673
  style: y(`opacity:${P(t) ? 1 : 0.05}`),
659
- onClick: (n) => re(t)
660
- }, null, 12, sl))), 256)),
661
- (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", {
662
677
  x: t.x1,
663
678
  y: t.y1,
664
679
  height: r.value.branchSize,
@@ -668,57 +683,57 @@ const $t = ["id"], Ct = {
668
683
  stroke: e.value.style.chart.layout.branches.stroke,
669
684
  "stroke-width": e.value.style.chart.layout.branches.strokeWidth,
670
685
  style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`),
671
- onClick: (b) => re(t)
672
- }, null, 12, ul))), 256)),
673
- 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, [
674
689
  (a(!0), o(p, null, g(X.value, (t) => (a(), o("g", null, [
675
690
  t.proportionToRoot * 100 > e.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (a(), o("text", {
676
691
  key: 0,
677
692
  x: t.x1 + 6,
678
693
  y: t.y1 + r.value.branchSize / 1.5,
679
694
  "text-anchor": "start",
680
- fill: s(Ie)(t.color),
695
+ fill: u(Le)(t.color),
681
696
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
682
697
  "font-weight": "bold",
683
698
  style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`),
684
- onClick: (n) => re(t)
685
- }, c(s(G)(
699
+ onClick: (s) => ie(t)
700
+ }, c(u(G)(
686
701
  e.value.style.chart.layout.branches.labels.dataLabels.formatter,
687
702
  t.value,
688
- s(S)({
703
+ u(S)({
689
704
  p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
690
705
  v: t.value,
691
706
  s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
692
707
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
693
708
  }),
694
709
  { datapoint: t }
695
- )), 13, rl)) : h("", !0)
710
+ )), 13, cl)) : h("", !0)
696
711
  ]))), 256))
697
712
  ])) : h("", !0),
698
- (a(!0), o(p, null, g(X.value, (t, n) => (a(), o("g", null, [
699
- (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)(
700
715
  { series: t.breakdown, base: 1 },
701
716
  t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
702
717
  t.y1 + r.value.branchSize / 2,
703
718
  r.value.branchSize / 3,
704
719
  r.value.branchSize / 3
705
- ), (b, x) => (a(), o("path", {
720
+ ), (b, _) => (a(), o("path", {
706
721
  d: b.path,
707
722
  stroke: b.color,
708
723
  "stroke-width": 10,
709
724
  fill: "none",
710
725
  style: y(`opacity:${P(t) ? 1 : 0.1}`)
711
- }, null, 12, il))), 256)),
712
- u("circle", {
726
+ }, null, 12, dl))), 256)),
727
+ n("circle", {
713
728
  fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${w.value})` : "transparent",
714
729
  cx: t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
715
730
  cy: t.y1 + r.value.branchSize / 2,
716
731
  r: r.value.branchSize / 2 + 2,
717
- onClick: (b) => Ze(t),
732
+ onClick: (b) => et(t),
718
733
  style: y(`cursor:pointer;opacity:${P(t) ? 1 : 0.1}`)
719
- }, null, 12, cl)
734
+ }, null, 12, vl)
720
735
  ]))), 256)),
721
- 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, [
722
737
  (a(!0), o(p, null, g(X.value, (t) => (a(), o("text", {
723
738
  x: t.x2 + r.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
724
739
  y: t.y1 + r.value.branchSize / 2 + 5,
@@ -727,17 +742,17 @@ const $t = ["id"], Ct = {
727
742
  fill: e.value.style.chart.layout.branches.labels.color,
728
743
  "text-anchor": "start",
729
744
  style: y(`opacity:${P(t) ? 1 : 0.1}`)
730
- }, c(t.name), 13, vl))), 256))
745
+ }, c(t.name), 13, hl))), 256))
731
746
  ])) : h("", !0),
732
- u("line", {
747
+ n("line", {
733
748
  x1: 256 + r.value.padding.left,
734
749
  x2: 256 + r.value.padding.left,
735
750
  y1: C.value.top,
736
751
  y2: C.value.bottom,
737
752
  stroke: e.value.style.chart.layout.verticalSeparator.stroke,
738
753
  "stroke-width": e.value.style.chart.layout.verticalSeparator.strokeWidth
739
- }, null, 8, yl),
740
- !d.value && !_.value ? (a(), o("foreignObject", {
754
+ }, null, 8, fl),
755
+ !d.value && !x.value ? (a(), o("foreignObject", {
741
756
  key: 6,
742
757
  x: 0,
743
758
  y: C.value.bottom,
@@ -746,25 +761,25 @@ const $t = ["id"], Ct = {
746
761
  style: { overflow: "visible" },
747
762
  onClick: $
748
763
  }, [
749
- u("div", fl, [
750
- u("div", bl, [
764
+ n("div", pl, [
765
+ n("div", gl, [
751
766
  (a(!0), o(p, null, g(j.value, (t) => (a(), o("div", {
752
767
  style: y(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
753
768
  }, [
754
- (a(), o("svg", pl, [
755
- u("circle", {
769
+ (a(), o("svg", _l, [
770
+ n("circle", {
756
771
  cx: "10",
757
772
  cy: "10",
758
773
  r: "10",
759
774
  fill: t.color,
760
775
  stroke: "none"
761
- }, null, 8, gl)
776
+ }, null, 8, xl)
762
777
  ])),
763
- u("span", null, c(t.name) + ":", 1),
764
- u("b", null, c(s(G)(
778
+ n("span", null, c(t.name) + ":", 1),
779
+ n("b", null, c(u(G)(
765
780
  e.value.style.chart.layout.roots.labels.formatter,
766
781
  t.total,
767
- s(S)({
782
+ u(S)({
768
783
  p: e.value.style.chart.layout.legend.prefix,
769
784
  v: t.total,
770
785
  s: e.value.style.chart.layout.legend.suffix,
@@ -772,60 +787,60 @@ const $t = ["id"], Ct = {
772
787
  }),
773
788
  { datapoint: t }
774
789
  )), 1),
775
- le(" (" + c(s(S)({
776
- v: t.total / M.value * 100,
790
+ ae(" (" + c(u(S)({
791
+ v: t.total / B.value * 100,
777
792
  s: "%",
778
793
  r: e.value.style.chart.layout.legend.roundingPercentage
779
794
  })) + ") ", 1)
780
795
  ], 4))), 256))
781
796
  ])
782
797
  ])
783
- ], 8, hl)) : h("", !0),
784
- d.value && B.value ? (a(), o("g", _l, [
798
+ ], 8, bl)) : h("", !0),
799
+ d.value && M.value ? (a(), o("g", ml, [
785
800
  (a(), o("foreignObject", {
786
801
  x: 0,
787
- y: et(),
802
+ y: tt(),
788
803
  height: r.value.height - C.value.bottom,
789
804
  width: r.value.width,
790
805
  style: { overflow: "visible" },
791
806
  onClick: $
792
807
  }, [
793
- u("div", ml, [
794
- u("b", null, c(d.value.name), 1),
795
- u("div", kl, [
796
- (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", {
797
812
  style: y(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
798
813
  }, [
799
- (a(), o("svg", wl, [
800
- u("circle", {
814
+ (a(), o("svg", Cl, [
815
+ n("circle", {
801
816
  cx: "10",
802
817
  cy: "10",
803
818
  r: "10",
804
819
  fill: t.color,
805
820
  stroke: "none"
806
- }, null, 8, $l)
821
+ }, null, 8, Tl)
807
822
  ])),
808
- u("span", null, [
809
- le(c(t.name) + ": ", 1),
810
- 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),
811
- 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)
812
827
  ])
813
828
  ], 4))), 256))
814
829
  ])
815
830
  ])
816
- ], 8, xl)),
817
- u("circle", {
831
+ ], 8, kl)),
832
+ n("circle", {
818
833
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
819
834
  cy: d.value.y1 + r.value.branchSize / 2,
820
835
  r: 256,
821
836
  fill: `url(#nut_underlayer_${w.value})`,
822
837
  onClick: E,
823
838
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
824
- }, null, 10, Cl),
825
- (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, [
826
841
  Y(t) ? (a(), o("path", {
827
842
  key: 0,
828
- d: s(pt)(
843
+ d: u(gt)(
829
844
  t,
830
845
  {
831
846
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
@@ -843,41 +858,41 @@ const $t = ["id"], Ct = {
843
858
  "stroke-linejoin": "round",
844
859
  fill: "none",
845
860
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
846
- }, null, 10, Tl)) : h("", !0)
861
+ }, null, 10, Sl)) : h("", !0)
847
862
  ]))), 256)),
848
- u("circle", {
863
+ n("circle", {
849
864
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
850
865
  cy: d.value.y1 + r.value.branchSize / 2,
851
866
  r: 118,
852
867
  fill: e.value.style.chart.backgroundColor,
853
868
  onClick: E,
854
869
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
855
- }, null, 10, zl),
856
- (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", {
857
872
  d: t.path,
858
873
  stroke: t.color,
859
874
  "stroke-width": 64,
860
875
  fill: "none",
861
876
  onClick: E,
862
877
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
863
- }, null, 10, Sl))), 256)),
864
- u("circle", {
878
+ }, null, 10, Fl))), 256)),
879
+ n("circle", {
865
880
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
866
881
  cy: d.value.y1 + r.value.branchSize / 2,
867
882
  r: 110,
868
883
  fill: `url(#nutpick_${w.value})`,
869
884
  onClick: E,
870
885
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
871
- }, null, 10, Nl),
872
- u("circle", {
886
+ }, null, 10, Il),
887
+ n("circle", {
873
888
  cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
874
889
  cy: d.value.y1 + r.value.branchSize / 2,
875
890
  r: 64,
876
891
  fill: e.value.style.chart.backgroundColor,
877
892
  onClick: E,
878
893
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
879
- }, null, 10, Fl),
880
- u("text", {
894
+ }, null, 10, Ll),
895
+ n("text", {
881
896
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
882
897
  y: d.value.y1 + 8,
883
898
  fill: e.value.style.chart.layout.nuts.selected.labels.core.total.color,
@@ -886,8 +901,8 @@ const $t = ["id"], Ct = {
886
901
  "text-anchor": "middle",
887
902
  onClick: E,
888
903
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
889
- }, c(e.value.translations.total), 11, Il),
890
- u("text", {
904
+ }, c(e.value.translations.total), 11, Pl),
905
+ n("text", {
891
906
  x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
892
907
  y: d.value.y1 + 36,
893
908
  fill: e.value.style.chart.layout.nuts.selected.labels.core.value.color,
@@ -896,96 +911,96 @@ const $t = ["id"], Ct = {
896
911
  "text-anchor": "middle",
897
912
  onClick: E,
898
913
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
899
- }, c(s(G)(
914
+ }, c(u(G)(
900
915
  e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
901
916
  d.value.value,
902
- s(S)({
917
+ u(S)({
903
918
  p: e.value.style.chart.layout.nuts.selected.labels.core.value.prefix,
904
919
  v: d.value.value,
905
920
  s: e.value.style.chart.layout.nuts.selected.labels.core.value.suffix,
906
921
  r: e.value.style.chart.layout.nuts.selected.roundingValue
907
922
  }),
908
923
  { datapoint: d.value }
909
- )), 11, Ll),
910
- (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, [
911
926
  Y(t) ? (a(), o("text", {
912
927
  key: 0,
913
- x: s(V)(t).x,
914
- "text-anchor": s(V)(t).anchor,
915
- 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,
916
931
  fill: t.color,
917
932
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 2,
918
933
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
919
934
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
920
- }, " ⬤ ", 14, Pl)) : h("", !0),
935
+ }, " ⬤ ", 14, Rl)) : h("", !0),
921
936
  Y(t) ? (a(), o("text", {
922
937
  key: 1,
923
- x: s(V)(t, !0).x,
924
- "text-anchor": s(V)(t, !0).anchor,
925
- y: s(J)(t),
938
+ x: u(R)(t, !0).x,
939
+ "text-anchor": u(R)(t, !0).anchor,
940
+ y: u(Q)(t),
926
941
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
927
942
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
928
943
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
929
944
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
930
- }, c(d.value.breakdown[n].name), 15, Ol)) : h("", !0)
945
+ }, c(d.value.breakdown[s].name), 15, Vl)) : h("", !0)
931
946
  ]))), 256)),
932
- (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, [
933
948
  Y(t) ? (a(), o("text", {
934
949
  key: 0,
935
- x: s(V)(t, !0).x,
936
- "text-anchor": s(V)(t).anchor,
937
- 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,
938
953
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
939
954
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
940
955
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
941
956
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
942
- }, c(s(S)({
943
- 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,
944
959
  s: "%",
945
960
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
946
- })) + " " + 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)(
947
962
  e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
948
- d.value.breakdown[n].value,
949
- s(S)({
963
+ d.value.breakdown[s].value,
964
+ u(S)({
950
965
  p: e.value.style.chart.layout.nuts.selected.labels.dataLabels.prefix,
951
- v: d.value.breakdown[n].value,
966
+ v: d.value.breakdown[s].value,
952
967
  s: e.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
953
968
  r: e.value.style.chart.layout.nuts.selected.roundingValue
954
969
  }),
955
- { datapoint: B.value, seriesIndex: n }
956
- )), 15, Vl)) : h("", !0),
970
+ { datapoint: M.value, seriesIndex: s }
971
+ )), 15, Bl)) : h("", !0),
957
972
  Y(t) ? (a(), o("text", {
958
973
  key: 1,
959
- x: s(V)(t, !0).x,
960
- "text-anchor": s(V)(t).anchor,
961
- 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,
962
977
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
963
978
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
964
979
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
965
980
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
966
- }, c(s(S)({
967
- v: d.value.breakdown[n].proportionToRoot * 100,
981
+ }, c(u(S)({
982
+ v: d.value.breakdown[s].proportionToRoot * 100,
968
983
  s: "%",
969
984
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
970
- })) + " " + 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),
971
986
  Y(t) ? (a(), o("text", {
972
987
  key: 2,
973
- x: s(V)(t, !0).x,
974
- "text-anchor": s(V)(t).anchor,
975
- 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,
976
991
  fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
977
992
  "font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
978
993
  style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
979
994
  class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
980
- }, c(s(S)({
981
- v: d.value.breakdown[n].proportionToTree * 100,
995
+ }, c(u(S)({
996
+ v: d.value.breakdown[s].proportionToTree * 100,
982
997
  s: "%",
983
998
  r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
984
- })) + " " + c(e.value.translations.proportionToTree), 15, Ml)) : h("", !0)
999
+ })) + " " + c(e.value.translations.proportionToTree), 15, Al)) : h("", !0)
985
1000
  ]))), 256))
986
1001
  ])) : h("", !0),
987
1002
  (a(!0), o(p, null, g(X.value, (t) => (a(), o("g", null, [
988
- _.value && _.value.id === t.id && !d.value ? (a(), o("text", {
1003
+ x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
989
1004
  key: 0,
990
1005
  x: t.x1 + 6,
991
1006
  y: t.y1 + r.value.branchSize + 24,
@@ -994,18 +1009,18 @@ const $t = ["id"], Ct = {
994
1009
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
995
1010
  fill: e.value.style.chart.layout.branches.labels.color,
996
1011
  onClick: $
997
- }, c(t.name) + ": " + c(s(G)(
1012
+ }, c(t.name) + ": " + c(u(G)(
998
1013
  e.value.style.chart.layout.branches.labels.dataLabels.formatter,
999
1014
  t.value,
1000
- s(S)({
1015
+ u(S)({
1001
1016
  p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
1002
1017
  v: t.value,
1003
1018
  s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
1004
1019
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
1005
1020
  }),
1006
1021
  { datapoint: t }
1007
- )), 9, Bl)) : h("", !0),
1008
- _.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", {
1009
1024
  key: 1,
1010
1025
  x: t.x1 + 6,
1011
1026
  y: t.y1 + r.value.branchSize + 48,
@@ -1013,12 +1028,12 @@ const $t = ["id"], Ct = {
1013
1028
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1014
1029
  fill: e.value.style.chart.layout.branches.labels.color,
1015
1030
  onClick: $
1016
- }, c(s(S)({
1031
+ }, c(u(S)({
1017
1032
  v: t.proportionToRoot * 100,
1018
1033
  s: "%",
1019
1034
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
1020
- })) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, Al)) : h("", !0),
1021
- _.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", {
1022
1037
  key: 2,
1023
1038
  x: t.x1 + 6,
1024
1039
  y: t.y1 + r.value.branchSize + 72,
@@ -1026,18 +1041,18 @@ const $t = ["id"], Ct = {
1026
1041
  "font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
1027
1042
  fill: e.value.style.chart.layout.branches.labels.color,
1028
1043
  onClick: $
1029
- }, c(s(S)({
1030
- v: t.value / M.value * 100,
1044
+ }, c(u(S)({
1045
+ v: t.value / B.value * 100,
1031
1046
  s: "%",
1032
1047
  r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
1033
- })) + " " + c(e.value.translations.proportionToTree), 9, jl)) : h("", !0)
1048
+ })) + " " + c(e.value.translations.proportionToTree), 9, El)) : h("", !0)
1034
1049
  ]))), 256)),
1035
1050
  F(l.$slots, "svg", { svg: r.value }, void 0, !0)
1036
- ], 14, Tt)) : h("", !0),
1037
- l.$slots.watermark ? (a(), o("div", Xl, [
1038
- 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)
1039
1054
  ])) : h("", !0),
1040
- W.value ? h("", !0) : (a(), Z(s(Ae), {
1055
+ W.value ? h("", !0) : (a(), ee(u(je), {
1041
1056
  key: 5,
1042
1057
  config: {
1043
1058
  type: "chestnut",
@@ -1050,10 +1065,10 @@ const $t = ["id"], Ct = {
1050
1065
  }
1051
1066
  }, null, 8, ["config"])),
1052
1067
  F(l.$slots, "legend", { legend: N.value }, void 0, !0),
1053
- l.$slots.source ? (a(), o("div", El, [
1068
+ l.$slots.source ? (a(), o("div", Ul, [
1054
1069
  F(l.$slots, "source", {}, void 0, !0)
1055
1070
  ], 512)) : h("", !0),
1056
- W.value ? (a(), Z(s(Be), {
1071
+ W.value ? (a(), ee(u(Ae), {
1057
1072
  key: 7,
1058
1073
  hideDetails: "",
1059
1074
  config: {
@@ -1070,39 +1085,39 @@ const $t = ["id"], Ct = {
1070
1085
  }
1071
1086
  }, {
1072
1087
  content: A(() => [
1073
- u("div", {
1088
+ n("div", {
1074
1089
  ref_key: "tableContainer",
1075
- ref: ue,
1090
+ ref: ne,
1076
1091
  class: "vue-ui-chestnut-table"
1077
1092
  }, [
1078
- u("div", Gl, [
1079
- u("div", {
1093
+ n("div", Dl, [
1094
+ n("div", {
1080
1095
  role: "button",
1081
1096
  tabindex: "0",
1082
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};`),
1083
1098
  onClick: i[0] || (i[0] = (t) => U.value.showTable = !1),
1084
- 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"]))
1085
1100
  }, [
1086
- Se(s(Ee), {
1101
+ Ne(u(Ge), {
1087
1102
  name: "close",
1088
1103
  stroke: e.value.table.th.color,
1089
1104
  "stroke-width": 2
1090
1105
  }, null, 8, ["stroke"])
1091
1106
  ], 36),
1092
- u("div", {
1107
+ n("div", {
1093
1108
  style: { width: "100%" },
1094
1109
  class: k({ "vue-ui-responsive": ke.value })
1095
1110
  }, [
1096
- u("table", Ul, [
1097
- u("caption", {
1111
+ n("table", Yl, [
1112
+ n("caption", {
1098
1113
  style: y({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
1099
1114
  class: "vue-ui-data-table__caption"
1100
1115
  }, [
1101
- le(c(e.value.style.chart.layout.title.text) + " ", 1),
1102
- 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)
1103
1118
  ], 4),
1104
- u("thead", null, [
1105
- u("tr", {
1119
+ n("thead", null, [
1120
+ n("tr", {
1106
1121
  role: "row",
1107
1122
  style: y(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1108
1123
  }, [
@@ -1111,109 +1126,109 @@ const $t = ["id"], Ct = {
1111
1126
  }, c(t), 5))), 256))
1112
1127
  ], 4)
1113
1128
  ]),
1114
- u("tbody", null, [
1115
- (a(!0), o(p, null, g(v.value.body, (t, n) => (a(), o("tr", {
1116
- 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 }),
1117
1132
  style: y(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1118
1133
  }, [
1119
- u("td", {
1134
+ n("td", {
1120
1135
  class: "vue-ui-data-table__tbody__td",
1121
1136
  style: y(`outline:${e.value.table.td.outline}`),
1122
1137
  "data-cell": v.value.head[0]
1123
1138
  }, [
1124
- u("div", ql, [
1125
- 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))
1126
1141
  ])
1127
- ], 12, Yl),
1128
- u("td", {
1142
+ ], 12, Hl),
1143
+ n("td", {
1129
1144
  class: "vue-ui-data-table__tbody__td",
1130
1145
  style: y(`outline:${e.value.table.td.outline}`),
1131
1146
  "data-cell": v.value.head[1]
1132
1147
  }, [
1133
- u("div", Jl, [
1134
- 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))
1135
1150
  ])
1136
- ], 12, Kl),
1137
- u("td", {
1151
+ ], 12, Ql),
1152
+ n("td", {
1138
1153
  class: "vue-ui-data-table__tbody__td",
1139
1154
  style: y(`outline:${e.value.table.td.outline}`),
1140
1155
  "data-cell": v.value.head[2]
1141
1156
  }, [
1142
- u("div", ta, [
1143
- 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))
1144
1159
  ])
1145
- ], 12, ea),
1146
- u("td", {
1160
+ ], 12, la),
1161
+ n("td", {
1147
1162
  class: "vue-ui-data-table__tbody__td",
1148
1163
  style: y(`outline:${e.value.table.td.outline}`),
1149
1164
  "data-cell": v.value.head[3]
1150
1165
  }, [
1151
- u("div", sa, [
1152
- 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))
1153
1168
  ])
1154
- ], 12, oa),
1155
- u("td", {
1169
+ ], 12, ua),
1170
+ n("td", {
1156
1171
  class: "vue-ui-data-table__tbody__td",
1157
1172
  style: y(`outline:${e.value.table.td.outline}`),
1158
1173
  "data-cell": v.value.head[4]
1159
1174
  }, [
1160
- u("div", ia, [
1161
- 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))
1162
1177
  ])
1163
- ], 12, ra),
1164
- u("td", {
1178
+ ], 12, ca),
1179
+ n("td", {
1165
1180
  class: "vue-ui-data-table__tbody__td",
1166
1181
  style: y(`outline:${e.value.table.td.outline}`),
1167
1182
  "data-cell": v.value.head[5]
1168
1183
  }, [
1169
- u("div", ya, [
1170
- 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))
1171
1186
  ])
1172
- ], 12, va),
1173
- u("td", {
1187
+ ], 12, ha),
1188
+ n("td", {
1174
1189
  class: "vue-ui-data-table__tbody__td",
1175
1190
  style: y(`outline:${e.value.table.td.outline}`),
1176
1191
  "data-cell": v.value.head[6]
1177
1192
  }, [
1178
- u("div", pa, [
1179
- 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))
1180
1195
  ])
1181
- ], 12, ba),
1182
- u("td", {
1196
+ ], 12, ga),
1197
+ n("td", {
1183
1198
  class: "vue-ui-data-table__tbody__td",
1184
1199
  style: y(`outline:${e.value.table.td.outline}`),
1185
1200
  "data-cell": v.value.head[7]
1186
1201
  }, [
1187
- u("div", ma, c(t.nutName), 1)
1188
- ], 12, xa),
1189
- u("td", {
1202
+ n("div", wa, c(t.nutName), 1)
1203
+ ], 12, ka),
1204
+ n("td", {
1190
1205
  class: "vue-ui-data-table__tbody__td",
1191
1206
  style: y(`outline:${e.value.table.td.outline}`),
1192
1207
  "data-cell": v.value.head[8]
1193
1208
  }, [
1194
- u("div", wa, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1195
- ], 12, ka),
1196
- u("td", {
1209
+ n("div", Ca, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
1210
+ ], 12, $a),
1211
+ n("td", {
1197
1212
  class: "vue-ui-data-table__tbody__td",
1198
1213
  style: y(`outline:${e.value.table.td.outline}`),
1199
1214
  "data-cell": v.value.head[9]
1200
1215
  }, [
1201
- u("div", Ca, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1202
- ], 12, $a),
1203
- u("td", {
1216
+ n("div", za, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1217
+ ], 12, Ta),
1218
+ n("td", {
1204
1219
  class: "vue-ui-data-table__tbody__td",
1205
1220
  style: y(`outline:${e.value.table.td.outline}`),
1206
1221
  "data-cell": v.value.head[10]
1207
1222
  }, [
1208
- u("div", za, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1209
- ], 12, Ta),
1210
- u("td", {
1223
+ n("div", Na, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1224
+ ], 12, Sa),
1225
+ n("td", {
1211
1226
  class: "vue-ui-data-table__tbody__td",
1212
1227
  style: y(`outline:${e.value.table.td.outline}`),
1213
1228
  "data-cell": v.value.head[11]
1214
1229
  }, [
1215
- u("div", Na, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1216
- ], 12, Sa)
1230
+ n("div", Ia, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
1231
+ ], 12, Fa)
1217
1232
  ], 6))), 256))
1218
1233
  ])
1219
1234
  ])
@@ -1223,9 +1238,9 @@ const $t = ["id"], Ct = {
1223
1238
  ]),
1224
1239
  _: 1
1225
1240
  }, 8, ["config"])) : h("", !0)
1226
- ], 46, $t));
1241
+ ], 46, Tt));
1227
1242
  }
1228
- }, Ba = /* @__PURE__ */ wt(Fa, [["__scopeId", "data-v-421c2c56"]]);
1243
+ }, Xa = /* @__PURE__ */ Ct(La, [["__scopeId", "data-v-fb2a0fa7"]]);
1229
1244
  export {
1230
- Ba as default
1245
+ Xa as default
1231
1246
  };