vue-data-ui 2.17.0 → 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 (91) hide show
  1. package/README.md +2 -1
  2. package/dist/{Arrow-BAEkZGzL.js → Arrow-BDCVJzQB.js} +1 -1
  3. package/dist/{BaseDraggableDialog-ChCkcmj_.js → BaseDraggableDialog-BvuWrldK.js} +2 -2
  4. package/dist/{BaseIcon-naqtCxVi.js → BaseIcon-D9Tz8ARD.js} +1 -1
  5. package/dist/{ColorPicker-CfIPgxcj.js → ColorPicker-wGf46G2G.js} +2 -2
  6. package/dist/{DataTable-D0VYDhfx.js → DataTable-Dt-TIOyY.js} +2 -2
  7. package/dist/{Legend-Bxlv67uY.js → Legend-3LNqqLDg.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-b_oVy-Dd.js → NonSvgPenAndPaper-iDdMuUEo.js} +3 -3
  9. package/dist/{PackageVersion-5TR4ocqp.js → PackageVersion-C-4Ee8BQ.js} +1 -1
  10. package/dist/{PenAndPaper-D6AqipIO.js → PenAndPaper-Cde-wJ3N.js} +3 -3
  11. package/dist/{Shape-DtFT5EJa.js → Shape-C75836Jl.js} +1 -1
  12. package/dist/{Slicer-CL6-MRI6.js → Slicer-CpSu7plp.js} +2 -2
  13. package/dist/{SparkTooltip-Bcv1aoA5.js → SparkTooltip-B_GXa2tb.js} +1 -1
  14. package/dist/{Title-B-2bV0SW.js → Title-DpERl1yr.js} +1 -1
  15. package/dist/{Tooltip-CoQnTnr-.js → Tooltip-DA0bYKFG.js} +1 -1
  16. package/dist/{UserOptions-Dd34lEKb.js → UserOptions-DTEJ3UM_.js} +2 -2
  17. package/dist/{dom-to-png-2AA0wHlX.js → dom-to-png-DWDGYXFL.js} +1 -1
  18. package/dist/{img-Y_hYz-ZC.js → img-utitT2Gd.js} +1 -1
  19. package/dist/{index-pPGk-uhD.js → index-CobsZUkv.js} +22 -8
  20. package/dist/{pdf-yfk3d1is.js → pdf-DWZ8IB56.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +63 -160
  23. package/dist/types/vue-data-ui.d.ts +63 -160
  24. package/dist/{useNestedProp-DjACxgdZ.js → useNestedProp-BwL5wmVa.js} +1 -1
  25. package/dist/{usePrinter-DDHcrl0A.js → usePrinter-DPh6U_Qk.js} +2 -2
  26. package/dist/{vue-data-ui-CIWxgKjd.js → vue-data-ui-D7ZgRDQ_.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-D5Wpdqfk.js → vue-ui-3d-bar-ORUAjkg7.js} +41 -34
  29. package/dist/{vue-ui-accordion-CVnA550V.js → vue-ui-accordion-UewqY6OI.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-BuAl-zC5.js → vue-ui-age-pyramid-Yl4aRpNc.js} +134 -127
  31. package/dist/{vue-ui-annotator-gl2A20m3.js → vue-ui-annotator-B1gqiBqq.js} +2 -2
  32. package/dist/{vue-ui-bullet-D-VMKpwe.js → vue-ui-bullet-C307lCPt.js} +90 -83
  33. package/dist/{vue-ui-candlestick-1r6YwiUV.js → vue-ui-candlestick-BE6PcEdh.js} +101 -94
  34. package/dist/{vue-ui-carousel-table-B6UJoNtP.js → vue-ui-carousel-table-Cpvjr677.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DnlBYpC5.js → vue-ui-chestnut-CUw74AgC.js} +270 -263
  36. package/dist/{vue-ui-chord-D3kpzYjp.js → vue-ui-chord-CCPGeAiY.js} +60 -53
  37. package/dist/{vue-ui-circle-pack-CHgdpoYu.js → vue-ui-circle-pack-dfyPiQmy.js} +121 -114
  38. package/dist/{vue-ui-cursor-63EAvElT.js → vue-ui-cursor-C2zmfeoD.js} +2 -2
  39. package/dist/{vue-ui-dashboard-Da6CPET-.js → vue-ui-dashboard-CotAqRbX.js} +62 -62
  40. package/dist/{vue-ui-digits-CA8pUKej.js → vue-ui-digits-7qJFCuoI.js} +2 -2
  41. package/dist/{vue-ui-donut-CKa7nFjt.js → vue-ui-donut-D41WeqQU.js} +244 -243
  42. package/dist/{vue-ui-donut-evolution-qeBEA4W8.js → vue-ui-donut-evolution-Deg0dsYg.js} +215 -211
  43. package/dist/{vue-ui-dumbbell-Bm0PvAKT.js → vue-ui-dumbbell-DDwNoTPG.js} +117 -110
  44. package/dist/{vue-ui-flow-C2dqXvrU.js → vue-ui-flow-6oR7IMyi.js} +105 -98
  45. package/dist/{vue-ui-funnel-Dvy5rRld.js → vue-ui-funnel-BnXtOJmh.js} +138 -131
  46. package/dist/{vue-ui-galaxy-Y8LYp5n2.js → vue-ui-galaxy-75XC8SpV.js} +150 -146
  47. package/dist/{vue-ui-gauge-BBo0jWAP.js → vue-ui-gauge-w31j915C.js} +125 -118
  48. package/dist/{vue-ui-gizmo-DjXfTOWn.js → vue-ui-gizmo-bZqk6oZS.js} +3 -3
  49. package/dist/{vue-ui-heatmap-BbxRpltP.js → vue-ui-heatmap-BfU62tMW.js} +155 -148
  50. package/dist/{vue-ui-history-plot-ChYf3Nvc.js → vue-ui-history-plot-CFfco-Yj.js} +141 -134
  51. package/dist/{vue-ui-kpi-Vfc5-JnE.js → vue-ui-kpi-DaJ1U3wf.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-C0-Nsz8K.js → vue-ui-mini-loader-CF_2jAI8.js} +2 -2
  53. package/dist/{vue-ui-molecule-B7Yu7vzF.js → vue-ui-molecule-Tdk3Gd8M.js} +141 -134
  54. package/dist/{vue-ui-mood-radar-C8JUTwNw.js → vue-ui-mood-radar-Dg5wS7W5.js} +126 -119
  55. package/dist/{vue-ui-nested-donuts-D0RgFifU.js → vue-ui-nested-donuts-CpRe0sQB.js} +244 -244
  56. package/dist/{vue-ui-onion-D4U7TL_N.js → vue-ui-onion-B8o4ft2v.js} +88 -81
  57. package/dist/{vue-ui-parallel-coordinate-plot-CXMT7Rjr.js → vue-ui-parallel-coordinate-plot-zW-CNqWC.js} +123 -116
  58. package/dist/{vue-ui-quadrant-B13pTVVZ.js → vue-ui-quadrant-DiRtZ16w.js} +151 -144
  59. package/dist/{vue-ui-quick-chart-C0UL4o63.js → vue-ui-quick-chart-BRlYC_yT.js} +39 -32
  60. package/dist/{vue-ui-radar-XpdiXnhz.js → vue-ui-radar-DKgX1Ibx.js} +58 -51
  61. package/dist/{vue-ui-rating-CM8ZrUb1.js → vue-ui-rating-DlklKr-X.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CYoFNekk.js → vue-ui-relation-circle-MHiAp8dC.js} +127 -120
  63. package/dist/{vue-ui-ridgeline-QUquE6ck.js → vue-ui-ridgeline-DA8verAe.js} +98 -91
  64. package/dist/{vue-ui-rings-DwT0IfOh.js → vue-ui-rings-Dh6lFqun.js} +208 -204
  65. package/dist/{vue-ui-scatter-zDpy1udm.js → vue-ui-scatter-CLC5sTOi.js} +172 -165
  66. package/dist/{vue-ui-skeleton-DJPjyNYn.js → vue-ui-skeleton-8s4xts8z.js} +3 -3
  67. package/dist/{vue-ui-smiley-DoDXl6k0.js → vue-ui-smiley-utuzw8uI.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-CniV6Cpr.js → vue-ui-spark-trend-BODEqGRr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-Ds2ITgwn.js → vue-ui-sparkbar-B8MB-kn9.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-CosfK-kw.js → vue-ui-sparkgauge-CuD7kTS3.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C7O1wPAJ.js → vue-ui-sparkhistogram-BYJszvna.js} +4 -4
  72. package/dist/{vue-ui-sparkline-B_iUj3F2.js → vue-ui-sparkline-D77GyWzG.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-DBhWrysr.js → vue-ui-sparkstackbar-DNb1yD64.js} +3 -3
  74. package/dist/{vue-ui-stackbar-C3aV4IcL.js → vue-ui-stackbar-C6rjCYDD.js} +61 -54
  75. package/dist/{vue-ui-strip-plot-Bvr1GAzH.js → vue-ui-strip-plot-B6cYojHQ.js} +116 -109
  76. package/dist/{vue-ui-table-DQKKRgyo.js → vue-ui-table-IC7SmWVd.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-Dyqj5XJC.js → vue-ui-table-heatmap-DHFpJMpA.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-D4RubyLj.js → vue-ui-table-sparkline-D7wz-sCj.js} +4 -4
  79. package/dist/{vue-ui-thermometer-B0FKI5cG.js → vue-ui-thermometer-D-oiVT3n.js} +88 -81
  80. package/dist/{vue-ui-timer-DUCBRIl-.js → vue-ui-timer-C9jVyX5l.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-CRt4UQZD.js → vue-ui-tiremarks-B1bM9Aoo.js} +127 -120
  82. package/dist/vue-ui-treemap-DX48YlU5.js +965 -0
  83. package/dist/{vue-ui-vertical-bar-C5fPYltO.js → vue-ui-vertical-bar-6SjKPQWR.js} +233 -226
  84. package/dist/{vue-ui-waffle-BpWLlfpg.js → vue-ui-waffle-CYao9MMw.js} +183 -179
  85. package/dist/{vue-ui-wheel-CTzuCroy.js → vue-ui-wheel-USuDhMwW.js} +121 -114
  86. package/dist/{vue-ui-word-cloud-BPokdaP1.js → vue-ui-word-cloud-TOBTs7yF.js} +152 -145
  87. package/dist/{vue-ui-world-CS6k-oil.js → vue-ui-world-C2qikqBa.js} +77 -70
  88. package/dist/{vue-ui-xy-CQ425kLR.js → vue-ui-xy-DxwgKoO-.js} +229 -222
  89. package/dist/{vue-ui-xy-canvas-D2IFwAr7.js → vue-ui-xy-canvas-N69OpVn8.js} +154 -147
  90. package/package.json +1 -1
  91. package/dist/vue-ui-treemap-CWP5nYDx.js +0 -961
@@ -1,15 +1,15 @@
1
- import { defineAsyncComponent as U, computed as $, ref as h, watch as at, onMounted as ot, nextTick as st, shallowRef as ut, onBeforeUnmount as Mt, createElementBlock as i, openBlock as n, unref as r, normalizeStyle as ue, normalizeClass as R, createBlock as B, createCommentVNode as m, createVNode as nt, createSlots as Et, withCtx as L, renderSlot as x, normalizeProps as X, guardReactiveProps as W, createElementVNode as g, Fragment as T, renderList as O, toDisplayString as I, withDirectives as rt, vShow as it, createTextVNode as ne } from "vue";
2
- import { u as Ut, c as Rt, t as Bt, p as Ce, a as Gt, G as D, o as Yt, e as q, b as Xt, d as Wt, m as _e, f as F, X as qt, s as Ht, L as Jt, k as Te, n as H, i as K, x as dt, q as Kt, r as Qt, y as Zt, v as Oe, T as ct } from "./index-pPGk-uhD.js";
1
+ import { defineAsyncComponent as R, computed as k, ref as h, watch as lt, onMounted as at, nextTick as ot, shallowRef as st, onBeforeUnmount as zt, createElementBlock as i, openBlock as n, unref as r, normalizeStyle as ue, normalizeClass as U, createBlock as B, createCommentVNode as m, createVNode as ut, createSlots as Mt, withCtx as L, renderSlot as x, normalizeProps as X, guardReactiveProps as W, createElementVNode as g, Fragment as T, renderList as O, toDisplayString as A, withDirectives as nt, vShow as rt, createTextVNode as Et } from "vue";
2
+ import { u as Rt, c as Ut, t as Bt, p as xe, a as Gt, G as z, o as Yt, e as q, b as Xt, d as Wt, m as Ce, f as F, X as qt, s as Ht, L as Jt, k as _e, n as H, i as K, x as it, q as Kt, r as Qt, y as Zt, v as Te, T as dt } from "./index-CobsZUkv.js";
3
3
  import { t as jt, u as el } from "./useResponsive-DfdjqQps.js";
4
- import { u as vt } from "./useNestedProp-DjACxgdZ.js";
5
- import { u as tl } from "./usePrinter-DDHcrl0A.js";
4
+ import { u as ct } from "./useNestedProp-BwL5wmVa.js";
5
+ import { u as tl } from "./usePrinter-DPh6U_Qk.js";
6
6
  import { u as ll } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as al } from "./useChartAccessibility-9icAAmYg.js";
8
- import ol from "./Title-B-2bV0SW.js";
9
- import sl from "./Legend-Bxlv67uY.js";
10
- import ul from "./img-Y_hYz-ZC.js";
8
+ import ol from "./Title-DpERl1yr.js";
9
+ import sl from "./Legend-3LNqqLDg.js";
10
+ import ul from "./img-utitT2Gd.js";
11
11
  import { _ as nl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["id"], vl = ["offset", "stop-color"], hl = ["offset", "stop-opacity"], fl = ["id"], pl = ["id"], yl = ["id"], bl = ["flood-color"], gl = ["d", "fill", "stroke", "stroke-width", "filter"], ml = ["d", "fill", "stroke", "stroke-width"], wl = { key: 1 }, kl = ["d", "fill"], $l = { key: 2 }, Ll = ["x", "y", "font-size", "font-weight", "fill"], xl = { key: 3 }, Cl = ["filter"], _l = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], Tl = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], Ol = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Fl = ["d", "fill", "onMouseenter", "onClick"], Nl = {
12
+ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["id"], vl = ["offset", "stop-color"], hl = ["offset", "stop-opacity"], fl = ["id"], pl = ["id"], yl = ["id"], bl = ["flood-color"], gl = ["d", "fill", "stroke", "stroke-width", "filter"], ml = ["d", "fill", "stroke", "stroke-width"], wl = { key: 1 }, $l = ["d", "fill"], kl = { key: 2 }, Ll = ["x", "y", "font-size", "font-weight", "fill"], xl = { key: 3 }, Cl = ["filter"], _l = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], Tl = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], Ol = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Fl = ["d", "fill", "onMouseenter", "onClick"], Nl = {
13
13
  key: 5,
14
14
  class: "vue-data-ui-watermark"
15
15
  }, Sl = {
@@ -32,38 +32,38 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
32
32
  }
33
33
  },
34
34
  emits: ["selectLegend", "selectDatapoint"],
35
- setup(ht, { expose: ft, emit: pt }) {
36
- const yt = U(() => import("./vue-ui-accordion-CVnA550V.js")), bt = U(() => import("./DataTable-D0VYDhfx.js")), gt = U(() => import("./PackageVersion-5TR4ocqp.js")), mt = U(() => import("./PenAndPaper-D6AqipIO.js")), wt = U(() => import("./vue-ui-skeleton-DJPjyNYn.js")), kt = U(() => import("./Tooltip-CoQnTnr-.js")), $t = U(() => import("./UserOptions-Dd34lEKb.js")), { vue_ui_nested_donuts: Lt } = Ut(), C = ht, Q = $(() => !!C.dataset && C.dataset.length), y = h(Rt()), re = h(!1), ie = h(""), xt = h(null), Fe = h(0), z = h(null), Ne = h(null), de = h(null), Se = h(null), Ae = h(null), Ie = h(0), Ve = h(0), Pe = h(0), M = h(!0), E = h([]), J = h([]), G = h(!1);
37
- function De(l) {
38
- G.value = l, Fe.value += 1;
35
+ setup(vt, { expose: ht, emit: ft }) {
36
+ const pt = R(() => import("./vue-ui-accordion-UewqY6OI.js")), yt = R(() => import("./DataTable-Dt-TIOyY.js")), bt = R(() => import("./PackageVersion-C-4Ee8BQ.js")), gt = R(() => import("./PenAndPaper-Cde-wJ3N.js")), mt = R(() => import("./vue-ui-skeleton-8s4xts8z.js")), wt = R(() => import("./Tooltip-DA0bYKFG.js")), $t = R(() => import("./UserOptions-DTEJ3UM_.js")), { vue_ui_nested_donuts: kt } = Rt(), C = vt, Q = k(() => !!C.dataset && C.dataset.length), y = h(Ut()), ne = h(!1), re = h(""), Lt = h(null), Oe = h(0), V = h(null), Fe = h(null), ie = h(null), Ne = h(null), Se = h(null), Ae = h(0), Ie = h(0), Ve = h(0), M = h(!0), E = h([]), J = h([]), G = h(!1);
37
+ function Pe(l) {
38
+ G.value = l, Oe.value += 1;
39
39
  }
40
- const e = $({
41
- get: () => Ue(),
40
+ const e = k({
41
+ get: () => Ee(),
42
42
  set: (l) => l
43
- }), { userOptionsVisible: ce, setUserOptionsVisibility: ze, keepUserOptionState: Me } = ll({ config: e.value }), { svgRef: Ee } = al({
43
+ }), { userOptionsVisible: de, setUserOptionsVisibility: De, keepUserOptionState: ze } = ll({ config: e.value }), { svgRef: Me } = al({
44
44
  config: e.value.style.chart.title
45
45
  });
46
- function Ue() {
47
- const l = vt({
46
+ function Ee() {
47
+ const l = ct({
48
48
  userConfig: C.config,
49
- defaultConfig: Lt
49
+ defaultConfig: kt
50
50
  });
51
51
  return l.theme ? {
52
- ...vt({
52
+ ...ct({
53
53
  userConfig: Gt.vue_ui_nested_donuts[l.theme] || C.config,
54
54
  defaultConfig: l
55
55
  }),
56
- customPalette: Bt[l.theme] || Ce
56
+ customPalette: Bt[l.theme] || xe
57
57
  } : l;
58
58
  }
59
- at(
59
+ lt(
60
60
  () => C.config,
61
61
  (l) => {
62
- e.value = Ue(), ce.value = !e.value.userOptions.showOnChartHover, ve(), Ie.value += 1, Ve.value += 1, Pe.value += 1, k.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, k.value.showTable = e.value.table.show, k.value.showTooltip = e.value.style.chart.tooltip.show, f.value.width = e.value.style.chart.width, f.value.height = e.value.style.chart.height;
62
+ e.value = Ee(), de.value = !e.value.userOptions.showOnChartHover, ce(), Ae.value += 1, Ie.value += 1, Ve.value += 1, $.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, $.value.showTable = e.value.table.show, $.value.showTooltip = e.value.style.chart.tooltip.show, f.value.width = e.value.style.chart.width, f.value.height = e.value.style.chart.height;
63
63
  },
64
64
  { deep: !0 }
65
65
  );
66
- const Re = $(() => {
66
+ const Re = k(() => {
67
67
  const { top: l, right: s, bottom: a, left: o } = e.value.style.chart.padding;
68
68
  return {
69
69
  css: `padding:${l}px ${s}px ${a}px ${o}px`,
@@ -73,7 +73,7 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
73
73
  left: o
74
74
  };
75
75
  });
76
- function Ct(l, s = 1e3, a = 50) {
76
+ function xt(l, s = 1e3, a = 50) {
77
77
  return new Promise((o) => {
78
78
  const t = l.length;
79
79
  E.value = Array(t).fill(0), J.value = [];
@@ -82,28 +82,28 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
82
82
  setTimeout(() => {
83
83
  const N = performance.now();
84
84
  function d(p) {
85
- const _ = Math.min((p - N) / s, 1), ge = ct(_), me = c * ge;
86
- E.value[v] = me, E.value = [...E.value];
85
+ const _ = Math.min((p - N) / s, 1), be = dt(_), ge = c * be;
86
+ E.value[v] = ge, E.value = [...E.value];
87
87
  const oe = [];
88
- let we = 0;
89
- C.dataset.forEach((se, ke) => {
90
- const Vt = Oe(se.series.reduce(
91
- (Le, xe) => Le + Oe(D(xe.values).reduce((Dt, zt) => Dt + zt, 0)),
88
+ let me = 0;
89
+ C.dataset.forEach((se, we) => {
90
+ const It = Te(se.series.reduce(
91
+ (ke, Le) => ke + Te(z(Le.values).reduce((Pt, Dt) => Pt + Dt, 0)),
92
92
  0
93
- )), Pt = Oe(E.value.slice(we, we + se.series.length).reduce((Le, xe) => Le + xe, 0)), $e = Vt - Pt;
93
+ )), Vt = Te(E.value.slice(me, me + se.series.length).reduce((ke, Le) => ke + Le, 0)), $e = It - Vt;
94
94
  $e > Number.MIN_VALUE && oe.push({
95
95
  name: "__ghost__",
96
96
  arcOf: se.name,
97
- arcOfId: `${y.value}_${ke}`,
98
- id: `ghost_${y.value}_${ke}`,
97
+ arcOfId: `${y.value}_${we}`,
98
+ id: `ghost_${y.value}_${we}`,
99
99
  seriesIndex: -1,
100
- datasetIndex: ke,
100
+ datasetIndex: we,
101
101
  color: "transparent",
102
102
  value: $e,
103
103
  fullValue: $e,
104
104
  absoluteValues: [],
105
105
  ghost: !0
106
- }), we += se.series.length;
106
+ }), me += se.series.length;
107
107
  }), J.value = oe, _ < 1 ? requestAnimationFrame(d) : (u += 1, u === t && o());
108
108
  }
109
109
  requestAnimationFrame(d);
@@ -111,14 +111,14 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
111
111
  });
112
112
  });
113
113
  }
114
- ot(async () => {
115
- if (ve(), e.value.startAnimation?.show) {
114
+ at(async () => {
115
+ if (ce(), e.value.startAnimation?.show) {
116
116
  const s = C.dataset.flatMap((a) => a.series).map(
117
- (a) => D(a.values).reduce((o, t) => o + t, 0)
117
+ (a) => z(a.values).reduce((o, t) => o + t, 0)
118
118
  );
119
119
  E.value = s.map(() => 0), M.value = !0, J.value = C.dataset.map((a, o) => {
120
120
  const t = a.series.reduce(
121
- (u, c) => u + D(c.values).reduce((v, N) => v + N, 0),
121
+ (u, c) => u + z(c.values).reduce((v, N) => v + N, 0),
122
122
  0
123
123
  );
124
124
  return {
@@ -134,7 +134,7 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
134
134
  absoluteValues: [],
135
135
  ghost: !0
136
136
  };
137
- }), await st(), Ct(
137
+ }), await ot(), xt(
138
138
  s,
139
139
  e.value.startAnimation.durationMs,
140
140
  e.value.startAnimation.staggerMs
@@ -144,39 +144,39 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
144
144
  } else
145
145
  M.value = !1;
146
146
  });
147
- const V = ut(null), Y = ut(null);
148
- ot(() => {
149
- ve();
147
+ const P = st(null), Y = st(null);
148
+ at(() => {
149
+ ce();
150
150
  });
151
- function ve() {
151
+ function ce() {
152
152
  if (Yt(C.dataset) && q({
153
153
  componentName: "VueUiNestedDonuts",
154
154
  type: "dataset"
155
155
  }), e.value.responsive) {
156
156
  const l = jt(() => {
157
157
  const { width: s, height: a } = el({
158
- chart: z.value,
159
- title: e.value.style.chart.title.text ? Ne.value : null,
160
- legend: e.value.style.chart.legend.show ? de.value : null,
161
- source: Se.value,
162
- noTitle: Ae.value,
158
+ chart: V.value,
159
+ title: e.value.style.chart.title.text ? Fe.value : null,
160
+ legend: e.value.style.chart.legend.show ? ie.value : null,
161
+ source: Ne.value,
162
+ noTitle: Se.value,
163
163
  padding: Re.value
164
164
  });
165
165
  requestAnimationFrame(() => {
166
166
  f.value.width = s, f.value.height = a;
167
167
  });
168
168
  });
169
- V.value && (Y.value && V.value.unobserve(Y.value), V.value.disconnect()), V.value = new ResizeObserver(l), Y.value = z.value.parentNode, V.value.observe(Y.value);
169
+ P.value && (Y.value && P.value.unobserve(Y.value), P.value.disconnect()), P.value = new ResizeObserver(l), Y.value = V.value.parentNode, P.value.observe(Y.value);
170
170
  }
171
171
  }
172
- Mt(() => {
173
- V.value && (Y.value && V.value.unobserve(Y.value), V.value.disconnect());
172
+ zt(() => {
173
+ P.value && (Y.value && P.value.unobserve(Y.value), P.value.disconnect());
174
174
  });
175
- const { isPrinting: Be, isImaging: Ge, generatePdf: Ye, generateImage: Xe } = tl({
175
+ const { isPrinting: Ue, isImaging: Be, generatePdf: Ge, generateImage: Ye } = tl({
176
176
  elementId: `nested_donuts_${y.value}`,
177
177
  fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts",
178
178
  options: e.value.userOptions.print
179
- }), _t = $(() => e.value.userOptions.show && !e.value.style.chart.title.text), Tt = $(() => Xt(e.value.customPalette)), k = h({
179
+ }), Ct = k(() => e.value.userOptions.show && !e.value.style.chart.title.text), _t = k(() => Xt(e.value.customPalette)), $ = h({
180
180
  dataLabels: {
181
181
  show: e.value.style.chart.layout.labels.dataLabels.show
182
182
  },
@@ -185,17 +185,17 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
185
185
  }), f = h({
186
186
  width: e.value.style.chart.width,
187
187
  height: e.value.style.chart.height
188
- }), We = pt;
189
- function Ot({ datapoint: l, index: s }) {
190
- We("selectDatapoint", { datapoint: l, index: s });
188
+ }), Xe = ft;
189
+ function Tt({ datapoint: l, index: s }) {
190
+ Xe("selectDatapoint", { datapoint: l, index: s });
191
191
  }
192
- function qe({
192
+ function We({
193
193
  from: l,
194
194
  to: s,
195
195
  duration: a,
196
196
  onUpdate: o,
197
197
  onDone: t,
198
- easing: u = ct
198
+ easing: u = dt
199
199
  }) {
200
200
  const c = performance.now();
201
201
  function v(N) {
@@ -204,7 +204,7 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
204
204
  }
205
205
  requestAnimationFrame(v);
206
206
  }
207
- const w = h([]), S = $(() => {
207
+ const w = h([]), S = k(() => {
208
208
  C.dataset.forEach((s, a) => {
209
209
  [null, void 0].includes(s.name) && q({
210
210
  componentName: "VueUiNestedDonuts",
@@ -239,11 +239,11 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
239
239
  let l = 0;
240
240
  return C.dataset.map((s, a) => ({
241
241
  ...s,
242
- total: s.series.filter((o) => !w.value.includes(o.id)).map((o) => D(o.values).reduce((t, u) => t + u, 0)).reduce((o, t) => o + t, 0),
242
+ total: s.series.filter((o) => !w.value.includes(o.id)).map((o) => z(o.values).reduce((t, u) => t + u, 0)).reduce((o, t) => o + t, 0),
243
243
  datasetIndex: a,
244
244
  id: `${y.value}_${a}`,
245
245
  series: s.series.map((o, t) => {
246
- const u = D(o.values).reduce((c, v) => c + v, 0);
246
+ const u = z(o.values).reduce((c, v) => c + v, 0);
247
247
  return {
248
248
  name: o.name,
249
249
  arcOf: s.name,
@@ -251,13 +251,13 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
251
251
  id: `${y.value}_${a}_${t}`,
252
252
  seriesIndex: t,
253
253
  datasetIndex: a,
254
- color: Wt(o.color) || Tt.value[t] || Ce[t % Ce.length],
254
+ color: Wt(o.color) || _t.value[t] || xe[t % xe.length],
255
255
  value: M.value ? E.value[l++] ?? 0 : u,
256
256
  absoluteValues: o.values || []
257
257
  };
258
258
  })
259
259
  }));
260
- }), A = $(() => Math.min(f.value.height, f.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), He = $(() => [...S.value].map((l, s) => {
260
+ }), I = k(() => Math.min(f.value.height, f.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), qe = k(() => [...S.value].map((l, s) => {
261
261
  const a = l.series.filter((o) => !w.value.includes(o.id)).map((o) => o.value).reduce((o, t) => o + t, 0);
262
262
  return {
263
263
  ...l,
@@ -268,23 +268,23 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
268
268
  }))
269
269
  };
270
270
  }));
271
- function Ft(l, s, a) {
271
+ function Ot(l, s, a) {
272
272
  let o = 0;
273
273
  for (let t = 0; t < l.length; t += 1)
274
274
  a.includes(l[t]) && (o += 1);
275
275
  return o < s;
276
276
  }
277
- const b = h(He.value);
278
- at(
279
- () => He.value,
277
+ const b = h(qe.value);
278
+ lt(
279
+ () => qe.value,
280
280
  (l) => b.value = l
281
281
  );
282
- function he(l) {
283
- We("selectLegend", l);
282
+ function ve(l) {
283
+ Xe("selectLegend", l);
284
284
  const s = C.dataset.flatMap(
285
- (d, p) => d.series.map((_, ge) => ({
286
- value: D(_.values).reduce((me, oe) => me + oe, 0),
287
- id: `${y.value}_${p}_${ge}`,
285
+ (d, p) => d.series.map((_, be) => ({
286
+ value: z(_.values).reduce((ge, oe) => ge + oe, 0),
287
+ id: `${y.value}_${p}_${be}`,
288
288
  arcOfId: `${y.value}_${p}`
289
289
  }))
290
290
  ).find((d) => d.id === l.id);
@@ -295,12 +295,12 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
295
295
  (d) => d.id === s.arcOfId
296
296
  );
297
297
  if (!c) return;
298
- const v = c.series.map((d) => d.id), N = Ft(
298
+ const v = c.series.map((d) => d.id), N = Ot(
299
299
  v,
300
300
  v.length - 1,
301
301
  w.value
302
302
  );
303
- w.value.includes(l.id) ? (w.value = w.value.filter((d) => d !== l.id), e.value.serieToggleAnimation.show ? qe({
303
+ w.value.includes(l.id) ? (w.value = w.value.filter((d) => d !== l.id), e.value.serieToggleAnimation.show ? We({
304
304
  from: u,
305
305
  to: a,
306
306
  duration: e.value.serieToggleAnimation.durationMs,
@@ -313,7 +313,7 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
313
313
  }) : b.value = b.value.map((d) => ({
314
314
  ...d,
315
315
  series: d.series.map((p) => p.id === l.id ? { ...p, value: a } : p)
316
- }))) : N && (e.value.serieToggleAnimation.show ? qe({
316
+ }))) : N && (e.value.serieToggleAnimation.show ? We({
317
317
  from: u,
318
318
  to: 0,
319
319
  duration: e.value.serieToggleAnimation.durationMs,
@@ -331,11 +331,11 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
331
331
  series: d.series.map((p) => p.id === l.id ? { ...p, value: 0 } : p)
332
332
  })), w.value.push(l.id)));
333
333
  }
334
- const Z = $(() => A.value / S.value.length * e.value.style.chart.layout.donut.spacingRatio), Je = $(() => b.value.map((l, s) => A.value - s * A.value / S.value.length)), j = $(() => b.value.map((l, s) => {
335
- const a = Math.abs(l.series.map((v) => v.value).reduce((v, N) => v + N, 0)) > 0, o = A.value - s * A.value / b.value.length, t = M.value ? J.value.find((v) => v.datasetIndex === s) : null, u = [...l.series, ...t ? [t] : []].map((v) => ({
334
+ const Z = k(() => I.value / S.value.length * e.value.style.chart.layout.donut.spacingRatio), He = k(() => b.value.map((l, s) => I.value - s * I.value / S.value.length)), j = k(() => b.value.map((l, s) => {
335
+ const a = Math.abs(l.series.map((v) => v.value).reduce((v, N) => v + N, 0)) > 0, o = I.value - s * I.value / b.value.length, t = M.value ? J.value.find((v) => v.datasetIndex === s) : null, u = [...l.series, ...t ? [t] : []].map((v) => ({
336
336
  ...v,
337
337
  value: v.value < 1e-11 ? Number.MIN_VALUE : v.value
338
- })), c = _e(
338
+ })), c = Ce(
339
339
  { series: [
340
340
  { name: "_", color: e.value.style.chart.layout.donut.emptyFill, value: 1 }
341
341
  ] },
@@ -355,7 +355,7 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
355
355
  hasData: a,
356
356
  radius: o,
357
357
  skeleton: c,
358
- donut: _e(
358
+ donut: Ce(
359
359
  { series: u },
360
360
  f.value.width / 2,
361
361
  f.value.height / 2,
@@ -369,34 +369,34 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
369
369
  Z.value
370
370
  )
371
371
  };
372
- })), Ke = $(() => [...S.value].map((l, s) => {
373
- const a = s * A.value / S.value.length;
372
+ })), Je = k(() => [...S.value].map((l, s) => {
373
+ const a = s * I.value / S.value.length;
374
374
  return {
375
375
  sizeRatio: a,
376
- donut: _e(
376
+ donut: Ce(
377
377
  { series: [{ value: 1 }] },
378
378
  f.value.width / 2,
379
379
  f.value.height / 2,
380
- A.value - a,
381
- A.value - a,
380
+ I.value - a,
381
+ I.value - a,
382
382
  1.99999,
383
383
  2,
384
384
  1,
385
385
  360,
386
386
  105.25,
387
- A.value / S.value.length * e.value.style.chart.layout.donut.spacingRatio
387
+ I.value / S.value.length * e.value.style.chart.layout.donut.spacingRatio
388
388
  )[0]
389
389
  };
390
- })), Qe = h(null), ee = h(null), te = h(null), fe = h(null);
391
- function Nt({ datapoint: l, _relativeIndex: s, seriesIndex: a }) {
392
- Qe.value = l.arcOfId, ee.value = l.id, te.value = a, fe.value = {
390
+ })), Ke = h(null), ee = h(null), te = h(null), he = h(null);
391
+ function Ft({ datapoint: l, _relativeIndex: s, seriesIndex: a }) {
392
+ Ke.value = l.arcOfId, ee.value = l.id, te.value = a, he.value = {
393
393
  datapoint: l,
394
394
  seriesIndex: a,
395
395
  series: b.value,
396
396
  config: e.value
397
397
  };
398
398
  const o = e.value.style.chart.tooltip.customFormat;
399
- if (dt(o) && Zt(
399
+ if (it(o) && Zt(
400
400
  () => o({
401
401
  seriesIndex: a,
402
402
  datapoint: l,
@@ -404,7 +404,7 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
404
404
  config: e.value
405
405
  })
406
406
  ))
407
- ie.value = o({
407
+ re.value = o({
408
408
  seriesIndex: a,
409
409
  datapoint: l,
410
410
  series: b.value,
@@ -468,14 +468,14 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
468
468
  s: "%",
469
469
  r: e.value.style.chart.tooltip.roundingPercentage
470
470
  })}</b></div>`);
471
- ie.value = `<div style="font-size:${e.value.style.chart.tooltip.fontSize}px">${t}</div>`;
471
+ re.value = `<div style="font-size:${e.value.style.chart.tooltip.fontSize}px">${t}</div>`;
472
472
  }
473
- re.value = !0;
473
+ ne.value = !0;
474
474
  }
475
- function pe(l) {
475
+ function fe(l) {
476
476
  return l.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
477
477
  }
478
- function Ze(l, s) {
478
+ function Qe(l, s) {
479
479
  if (!e.value.useBlurOnHover)
480
480
  return "";
481
481
  if (e.value.style.chart.tooltip.showAllItemsAtIndex && w.value.length === 0)
@@ -483,19 +483,19 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
483
483
  if (!e.value.style.chart.tooltip.showAllItemsAtIndex || w.value.length)
484
484
  return [null, void 0].includes(ee.value) || ee.value === l.id ? "" : `url(#blur_${y.value})`;
485
485
  }
486
- const ye = $(() => S.value.map((l, s) => {
486
+ const pe = k(() => S.value.map((l, s) => {
487
487
  const a = l.series.filter(
488
488
  (t) => !w.value.includes(t.id)
489
489
  ), o = M.value ? a.map((t) => {
490
490
  const u = C.dataset[s].series.findIndex(
491
491
  (c) => c.name === t.name
492
492
  );
493
- return D(
493
+ return z(
494
494
  C.dataset[s].series[u].values
495
495
  ).reduce((c, v) => c + v, 0);
496
496
  }).reduce((t, u) => t + u, 0) : a.map((t) => t.value).reduce((t, u) => t + u, 0);
497
497
  return l.series.map((t, u) => {
498
- const c = D(C.dataset[s].series[u].values).reduce(
498
+ const c = z(C.dataset[s].series[u].values).reduce(
499
499
  (N, d) => N + d,
500
500
  0
501
501
  ), v = M.value ? c : t.value;
@@ -510,18 +510,18 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
510
510
  datasetIndex: s,
511
511
  total: o,
512
512
  opacity: w.value.includes(t.id) ? 0.5 : 1,
513
- segregate: () => he(t),
513
+ segregate: () => ve(t),
514
514
  isSegregated: w.value.includes(t.id)
515
515
  };
516
516
  });
517
- })), St = $(() => ({
517
+ })), Nt = k(() => ({
518
518
  cy: "nested-donuts-legend",
519
519
  backgroundColor: e.value.style.chart.legend.backgroundColor,
520
520
  color: e.value.style.chart.legend.color,
521
521
  fontSize: e.value.style.chart.legend.fontSize,
522
522
  paddingBottom: 12,
523
523
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
524
- })), P = $(() => {
524
+ })), D = k(() => {
525
525
  const l = b.value.flatMap((a) => a.series.map((o) => ({
526
526
  name: `${a.name} - ${o.name}`,
527
527
  color: o.color,
@@ -529,13 +529,13 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
529
529
  }))), s = b.value.flatMap((a) => a.series.map((o) => o.value));
530
530
  return { head: l, body: s };
531
531
  });
532
- function je(l = null) {
533
- st(() => {
534
- const s = P.value.head.map((t, u) => [
532
+ function Ze(l = null) {
533
+ ot(() => {
534
+ const s = D.value.head.map((t, u) => [
535
535
  [t.name],
536
- [P.value.body[u]],
536
+ [D.value.body[u]],
537
537
  [
538
- isNaN(P.value.body[u] / t.total) ? "-" : P.value.body[u] / t.total * 100
538
+ isNaN(D.value.body[u] / t.total) ? "-" : D.value.body[u] / t.total * 100
539
539
  ]
540
540
  ]), a = [
541
541
  [e.value.style.chart.title.text],
@@ -548,15 +548,15 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
548
548
  });
549
549
  });
550
550
  }
551
- const le = $(() => {
551
+ const le = k(() => {
552
552
  const l = [
553
553
  e.value.table.columnNames.series,
554
554
  e.value.table.columnNames.value,
555
555
  e.value.table.columnNames.percentage
556
- ], s = P.value.head.map((t, u) => {
556
+ ], s = D.value.head.map((t, u) => {
557
557
  const c = F({
558
558
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
559
- v: P.value.body[u],
559
+ v: D.value.body[u],
560
560
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
561
561
  r: e.value.table.td.roundingValue
562
562
  });
@@ -566,8 +566,8 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
566
566
  name: t.name
567
567
  },
568
568
  c,
569
- isNaN(P.value.body[u] / t.total) ? "-" : F({
570
- v: P.value.body[u] / t.total * 100,
569
+ isNaN(D.value.body[u] / t.total) ? "-" : F({
570
+ v: D.value.body[u] / t.total * 100,
571
571
  s: "%",
572
572
  r: e.value.table.td.roundingPercentage
573
573
  })
@@ -596,69 +596,76 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
596
596
  config: a
597
597
  };
598
598
  });
599
- function At() {
599
+ function St() {
600
600
  return S.value;
601
601
  }
602
+ function je() {
603
+ $.value.showTable = !$.value.showTable;
604
+ }
602
605
  function et() {
603
- k.value.showTable = !k.value.showTable;
606
+ $.value.dataLabels.show = !$.value.dataLabels.show;
604
607
  }
605
608
  function tt() {
606
- k.value.dataLabels.show = !k.value.dataLabels.show;
607
- }
608
- function lt() {
609
- k.value.showTooltip = !k.value.showTooltip;
609
+ $.value.showTooltip = !$.value.showTooltip;
610
610
  }
611
611
  const ae = h(!1);
612
- function be() {
612
+ function ye() {
613
613
  ae.value = !ae.value;
614
614
  }
615
- async function It({ scale: l = 2 } = {}) {
616
- if (!z.value) return;
617
- const { imageUri: s, base64: a } = await ul({ domElement: z.value, base64: !0, img: !0, scale: l });
618
- return { imageUri: s, base64: a };
615
+ async function At({ scale: l = 2 } = {}) {
616
+ if (!V.value) return;
617
+ const { width: s, height: a } = V.value.getBoundingClientRect(), o = s / a, { imageUri: t, base64: u } = await ul({ domElement: V.value, base64: !0, img: !0, scale: l });
618
+ return {
619
+ imageUri: t,
620
+ base64: u,
621
+ title: e.value.style.chart.title.text,
622
+ width: s,
623
+ height: a,
624
+ aspectRatio: o
625
+ };
619
626
  }
620
- return ft({
621
- getData: At,
622
- getImage: It,
623
- generatePdf: Ye,
624
- generateCsv: je,
625
- generateImage: Xe,
626
- toggleTable: et,
627
- toggleLabels: tt,
628
- toggleTooltip: lt,
629
- toggleAnnotator: be,
630
- toggleFullscreen: De
627
+ return ht({
628
+ getData: St,
629
+ getImage: At,
630
+ generatePdf: Ge,
631
+ generateCsv: Ze,
632
+ generateImage: Ye,
633
+ toggleTable: je,
634
+ toggleLabels: et,
635
+ toggleTooltip: tt,
636
+ toggleAnnotator: ye,
637
+ toggleFullscreen: Pe
631
638
  }), (l, s) => (n(), i("div", {
632
639
  ref_key: "nestedDonutsChart",
633
- ref: z,
634
- class: R(`vue-ui-nested-donuts ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
640
+ ref: V,
641
+ class: U(`vue-ui-nested-donuts ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
635
642
  style: ue(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
636
643
  id: `nested_donuts_${y.value}`,
637
- onMouseenter: s[3] || (s[3] = () => r(ze)(!0)),
638
- onMouseleave: s[4] || (s[4] = () => r(ze)(!1))
644
+ onMouseenter: s[3] || (s[3] = () => r(De)(!0)),
645
+ onMouseleave: s[4] || (s[4] = () => r(De)(!1))
639
646
  }, [
640
- e.value.userOptions.buttons.annotator ? (n(), B(r(mt), {
647
+ e.value.userOptions.buttons.annotator ? (n(), B(r(gt), {
641
648
  key: 0,
642
- svgRef: r(Ee),
649
+ svgRef: r(Me),
643
650
  backgroundColor: e.value.style.chart.backgroundColor,
644
651
  color: e.value.style.chart.color,
645
652
  active: ae.value,
646
- onClose: be
653
+ onClose: ye
647
654
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
648
- _t.value ? (n(), i("div", {
655
+ Ct.value ? (n(), i("div", {
649
656
  key: 1,
650
657
  ref_key: "noTitle",
651
- ref: Ae,
658
+ ref: Se,
652
659
  class: "vue-data-ui-no-title-space",
653
660
  style: "height:36px; width: 100%;background:transparent"
654
661
  }, null, 512)) : m("", !0),
655
662
  e.value.style.chart.title.text ? (n(), i("div", {
656
663
  key: 2,
657
664
  ref_key: "chartTitle",
658
- ref: Ne
665
+ ref: Fe
659
666
  }, [
660
667
  (n(), B(ol, {
661
- key: `title_${Ie.value}`,
668
+ key: `title_${Ae.value}`,
662
669
  config: {
663
670
  title: {
664
671
  cy: "donut-div-title",
@@ -671,13 +678,13 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
671
678
  }
672
679
  }, null, 8, ["config"]))
673
680
  ], 512)) : m("", !0),
674
- e.value.userOptions.show && Q.value && (r(Me) || r(ce)) ? (n(), B(r($t), {
681
+ e.value.userOptions.show && Q.value && (r(ze) || r(de)) ? (n(), B(r($t), {
675
682
  ref: "details",
676
- key: `user_option_${Fe.value}`,
683
+ key: `user_option_${Oe.value}`,
677
684
  backgroundColor: e.value.style.chart.backgroundColor,
678
685
  color: e.value.style.chart.color,
679
- isPrinting: r(Be),
680
- isImaging: r(Ge),
686
+ isPrinting: r(Ue),
687
+ isImaging: r(Be),
681
688
  uid: y.value,
682
689
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
683
690
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -687,26 +694,26 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
687
694
  hasLabel: e.value.userOptions.buttons.labels,
688
695
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
689
696
  isFullscreen: G.value,
690
- isTooltip: k.value.showTooltip,
697
+ isTooltip: $.value.showTooltip,
691
698
  titles: { ...e.value.userOptions.buttonTitles },
692
- chartElement: z.value,
699
+ chartElement: V.value,
693
700
  position: e.value.userOptions.position,
694
701
  hasAnnotator: e.value.userOptions.buttons.annotator,
695
702
  isAnnotation: ae.value,
696
703
  callbacks: e.value.userOptions.callbacks,
697
704
  printScale: e.value.userOptions.print.scale,
698
- onToggleFullscreen: De,
699
- onGeneratePdf: r(Ye),
700
- onGenerateCsv: je,
701
- onGenerateImage: r(Xe),
702
- onToggleTable: et,
703
- onToggleLabels: tt,
704
- onToggleTooltip: lt,
705
- onToggleAnnotator: be,
705
+ onToggleFullscreen: Pe,
706
+ onGeneratePdf: r(Ge),
707
+ onGenerateCsv: Ze,
708
+ onGenerateImage: r(Ye),
709
+ onToggleTable: je,
710
+ onToggleLabels: et,
711
+ onToggleTooltip: tt,
712
+ onToggleAnnotator: ye,
706
713
  style: ue({
707
- visibility: r(Me) ? r(ce) ? "visible" : "hidden" : "visible"
714
+ visibility: r(ze) ? r(de) ? "visible" : "hidden" : "visible"
708
715
  })
709
- }, Et({ _: 2 }, [
716
+ }, Mt({ _: 2 }, [
710
717
  l.$slots.menuIcon ? {
711
718
  name: "menuIcon",
712
719
  fn: L(({ isOpen: a, color: o }) => [
@@ -774,16 +781,16 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
774
781
  Q.value ? (n(), i("svg", {
775
782
  key: 4,
776
783
  ref_key: "svgRef",
777
- ref: Ee,
784
+ ref: Me,
778
785
  xmlns: r(qt),
779
- class: R({
786
+ class: U({
780
787
  "vue-data-ui-fullscreen--on": G.value,
781
788
  "vue-data-ui-fulscreen--off": !G.value
782
789
  }),
783
790
  viewBox: `0 0 ${f.value.width <= 0 ? 1e-3 : f.value.width} ${f.value.height < 0 ? 1e-3 : f.value.height}`,
784
791
  style: ue(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${Re.value.css}`)
785
792
  }, [
786
- nt(r(gt)),
793
+ ut(r(bt)),
787
794
  l.$slots["chart-background"] ? (n(), i("foreignObject", {
788
795
  key: 0,
789
796
  x: 0,
@@ -797,7 +804,7 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
797
804
  x(l.$slots, "chart-background", {}, void 0, !0)
798
805
  ], 8, dl)) : m("", !0),
799
806
  g("defs", null, [
800
- (n(!0), i(T, null, O(Ke.value, (a, o) => (n(), i("radialGradient", {
807
+ (n(!0), i(T, null, O(Je.value, (a, o) => (n(), i("radialGradient", {
801
808
  id: `radial_${y.value}_${o}`
802
809
  }, [
803
810
  s[5] || (s[5] = g("stop", {
@@ -806,12 +813,12 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
806
813
  "stop-opacity": "0"
807
814
  }, null, -1)),
808
815
  g("stop", {
809
- offset: `${(1 - Z.value / Je.value[o]) * 100}%`,
816
+ offset: `${(1 - Z.value / He.value[o]) * 100}%`,
810
817
  "stop-color": r(Ht)("#FFFFFF", 0),
811
818
  "stop-opacity": "0"
812
819
  }, null, 8, vl),
813
820
  g("stop", {
814
- offset: `${(1 - Z.value / Je.value[o] / 2) * 100}%`,
821
+ offset: `${(1 - Z.value / He.value[o] / 2) * 100}%`,
815
822
  "stop-color": "#FFFFFF",
816
823
  "stop-opacity": e.value.style.chart.gradientIntensity / 100
817
824
  }, null, 8, hl),
@@ -861,7 +868,7 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
861
868
  fill: t.color,
862
869
  stroke: e.value.style.chart.backgroundColor,
863
870
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
864
- filter: Ze(t, u)
871
+ filter: Qe(t, u)
865
872
  }, null, 8, gl)
866
873
  ]))), 256)) : (n(!0), i(T, { key: 1 }, O(a.skeleton, (t, u) => (n(), i("g", null, [
867
874
  g("path", {
@@ -874,28 +881,28 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
874
881
  ]))), 256))
875
882
  ]))), 256)),
876
883
  e.value.style.chart.useGradient ? (n(), i("g", wl, [
877
- (n(!0), i(T, null, O(Ke.value, (a, o) => (n(), i("g", null, [
884
+ (n(!0), i(T, null, O(Je.value, (a, o) => (n(), i("g", null, [
878
885
  g("path", {
879
886
  d: a.donut.arcSlice,
880
887
  fill: `url(#radial_${y.value}_${o})`,
881
888
  stroke: "transparent",
882
889
  "stroke-width": "0"
883
- }, null, 8, kl)
890
+ }, null, 8, $l)
884
891
  ]))), 256))
885
892
  ])) : m("", !0),
886
- e.value.style.chart.layout.labels.dataLabels.showDonutName ? (n(), i("g", $l, [
893
+ e.value.style.chart.layout.labels.dataLabels.showDonutName ? (n(), i("g", kl, [
887
894
  (n(!0), i(T, null, O(j.value, (a, o) => (n(), i("g", null, [
888
895
  (n(!0), i(T, null, O(a.donut, (t, u) => (n(), i("g", null, [
889
896
  u === 0 && f.value.width && f.value.height ? (n(), i("text", {
890
897
  key: 0,
891
- class: R({ animated: e.value.useCssAnimation }),
898
+ class: U({ animated: e.value.useCssAnimation }),
892
899
  x: f.value.width / 2,
893
900
  y: t.startY - e.value.style.chart.layout.labels.dataLabels.fontSize + e.value.style.chart.layout.labels.dataLabels.donutNameOffsetY,
894
901
  "text-anchor": "middle",
895
902
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
896
903
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
897
904
  fill: e.value.style.chart.layout.labels.dataLabels.color
898
- }, I(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(Jt)({
905
+ }, A(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(Jt)({
899
906
  source: a.name,
900
907
  length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
901
908
  }) : a.name), 11, Ll)) : m("", !0)
@@ -905,18 +912,18 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
905
912
  e.value.style.chart.layout.labels.dataLabels.show ? (n(), i("g", xl, [
906
913
  (n(!0), i(T, null, O(j.value, (a, o) => (n(), i("g", null, [
907
914
  (n(!0), i(T, null, O(a.donut.filter((t) => !t.ghost), (t, u) => (n(), i("g", {
908
- filter: Ze(t, u)
915
+ filter: Qe(t, u)
909
916
  }, [
910
- rt(g("text", {
911
- class: R({ animated: e.value.useCssAnimation }),
912
- opacity: pe(t) ? 1 : 0,
917
+ nt(g("text", {
918
+ class: U({ animated: e.value.useCssAnimation }),
919
+ opacity: fe(t) ? 1 : 0,
913
920
  "text-anchor": r(H)(t, !0).anchor,
914
921
  x: r(H)(
915
922
  t,
916
923
  !1,
917
924
  e.value.style.chart.layout.labels.dataLabels.offsetX
918
925
  ).x || 0,
919
- y: r(Te)(
926
+ y: r(_e)(
920
927
  t,
921
928
  e.value.style.chart.layout.labels.dataLabels.offsetY,
922
929
  e.value.style.chart.layout.labels.dataLabels.offsetY
@@ -924,26 +931,26 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
924
931
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? t.color : e.value.style.chart.layout.labels.dataLabels.color,
925
932
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
926
933
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
927
- }, I(r(F)({
934
+ }, A(r(F)({
928
935
  v: t.proportion * 100,
929
936
  s: "%",
930
937
  r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage
931
938
  })), 11, _l), [
932
939
  [
933
- it,
934
- k.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage
940
+ rt,
941
+ $.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage
935
942
  ]
936
943
  ]),
937
- rt(g("text", {
938
- class: R({ animated: e.value.useCssAnimation }),
939
- opacity: pe(t) ? 1 : 0,
944
+ nt(g("text", {
945
+ class: U({ animated: e.value.useCssAnimation }),
946
+ opacity: fe(t) ? 1 : 0,
940
947
  "text-anchor": r(H)(t, !0).anchor,
941
948
  x: r(H)(
942
949
  t,
943
950
  !1,
944
951
  e.value.style.chart.layout.labels.dataLabels.offsetX
945
952
  ).x || 0,
946
- y: r(Te)(
953
+ y: r(_e)(
947
954
  t,
948
955
  e.value.style.chart.layout.labels.dataLabels.offsetY,
949
956
  e.value.style.chart.layout.labels.dataLabels.offsetY
@@ -951,7 +958,7 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
951
958
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? t.color : e.value.style.chart.layout.labels.dataLabels.color,
952
959
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
953
960
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
954
- }, " (" + I(r(K)(
961
+ }, " (" + A(r(K)(
955
962
  e.value.style.chart.layout.labels.dataLabels.formatter,
956
963
  t.value,
957
964
  r(F)({
@@ -963,20 +970,20 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
963
970
  { datapoint: t, seriesIndex: o, datapointIndex: u }
964
971
  )) + ") ", 11, Tl), [
965
972
  [
966
- it,
967
- k.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue
973
+ rt,
974
+ $.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue
968
975
  ]
969
976
  ]),
970
- pe(t) && k.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (n(), i("text", {
977
+ fe(t) && $.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (n(), i("text", {
971
978
  key: 0,
972
- class: R({ animated: e.value.useCssAnimation }),
979
+ class: U({ animated: e.value.useCssAnimation }),
973
980
  "text-anchor": r(H)(t, !0).anchor,
974
981
  x: r(H)(
975
982
  t,
976
983
  !1,
977
984
  e.value.style.chart.layout.labels.dataLabels.offsetX
978
985
  ).x || 0,
979
- y: r(Te)(
986
+ y: r(_e)(
980
987
  t,
981
988
  e.value.style.chart.layout.labels.dataLabels.offsetY,
982
989
  e.value.style.chart.layout.labels.dataLabels.offsetY
@@ -984,7 +991,7 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
984
991
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? t.color : e.value.style.chart.layout.labels.dataLabels.color,
985
992
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
986
993
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
987
- }, I(r(K)(
994
+ }, A(r(K)(
988
995
  e.value.style.chart.layout.labels.dataLabels.formatter,
989
996
  t.value,
990
997
  r(F)({
@@ -1002,14 +1009,14 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
1002
1009
  (n(!0), i(T, null, O(a.donut, (t, u) => (n(), i("g", null, [
1003
1010
  g("path", {
1004
1011
  d: t.arcSlice,
1005
- fill: xt.value === o ? "rgba(0,0,0,0.1)" : "transparent",
1006
- onMouseenter: (c) => Nt({
1012
+ fill: Lt.value === o ? "rgba(0,0,0,0.1)" : "transparent",
1013
+ onMouseenter: (c) => Ft({
1007
1014
  datapoint: t,
1008
1015
  seriesIndex: t.seriesIndex
1009
1016
  }),
1010
- onClick: (c) => Ot({ datapoint: t, index: u }),
1017
+ onClick: (c) => Tt({ datapoint: t, index: u }),
1011
1018
  onMouseleave: s[0] || (s[0] = (c) => {
1012
- re.value = !1, Qe.value = null, ee.value = null, te.value = null;
1019
+ ne.value = !1, Ke.value = null, ee.value = null, te.value = null;
1013
1020
  })
1014
1021
  }, null, 40, Fl)
1015
1022
  ]))), 256))
@@ -1017,9 +1024,9 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
1017
1024
  x(l.$slots, "svg", { svg: f.value }, void 0, !0)
1018
1025
  ], 14, il)) : m("", !0),
1019
1026
  l.$slots.watermark ? (n(), i("div", Nl, [
1020
- x(l.$slots, "watermark", X(W({ isPrinting: r(Be) || r(Ge) })), void 0, !0)
1027
+ x(l.$slots, "watermark", X(W({ isPrinting: r(Ue) || r(Be) })), void 0, !0)
1021
1028
  ])) : m("", !0),
1022
- Q.value ? m("", !0) : (n(), B(r(wt), {
1029
+ Q.value ? m("", !0) : (n(), B(r(mt), {
1023
1030
  key: 6,
1024
1031
  config: {
1025
1032
  type: "donut",
@@ -1031,8 +1038,8 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
1031
1038
  }
1032
1039
  }
1033
1040
  }, null, 8, ["config"])),
1034
- nt(r(kt), {
1035
- show: k.value.showTooltip && re.value,
1041
+ ut(r(wt), {
1042
+ show: $.value.showTooltip && ne.value,
1036
1043
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1037
1044
  color: e.value.style.chart.tooltip.color,
1038
1045
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -1042,60 +1049,53 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
1042
1049
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
1043
1050
  position: e.value.style.chart.tooltip.position,
1044
1051
  offsetY: e.value.style.chart.tooltip.offsetY,
1045
- parent: z.value,
1046
- content: ie.value,
1052
+ parent: V.value,
1053
+ content: re.value,
1047
1054
  isFullscreen: G.value,
1048
- isCustom: r(dt)(e.value.style.chart.tooltip.customFormat)
1055
+ isCustom: r(it)(e.value.style.chart.tooltip.customFormat)
1049
1056
  }, {
1050
1057
  "tooltip-before": L(() => [
1051
- x(l.$slots, "tooltip-before", X(W({ ...fe.value })), void 0, !0)
1058
+ x(l.$slots, "tooltip-before", X(W({ ...he.value })), void 0, !0)
1052
1059
  ]),
1053
1060
  "tooltip-after": L(() => [
1054
- x(l.$slots, "tooltip-after", X(W({ ...fe.value })), void 0, !0)
1061
+ x(l.$slots, "tooltip-after", X(W({ ...he.value })), void 0, !0)
1055
1062
  ]),
1056
1063
  _: 3
1057
1064
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
1058
1065
  e.value.style.chart.legend.show ? (n(), i("div", {
1059
1066
  key: 7,
1060
1067
  ref_key: "chartLegend",
1061
- ref: de,
1062
- class: R({ "vue-ui-nested-donuts-legend": ye.value.length > 1 })
1068
+ ref: ie,
1069
+ class: U({ "vue-ui-nested-donuts-legend": pe.value.length > 1 })
1063
1070
  }, [
1064
- (n(!0), i(T, null, O(ye.value, (a, o) => (n(), B(sl, {
1065
- key: `legend_${o}_${Pe.value}`,
1071
+ (n(!0), i(T, null, O(pe.value, (a, o) => (n(), B(sl, {
1072
+ key: `legend_${o}_${Ve.value}`,
1066
1073
  legendSet: a,
1067
- config: St.value,
1068
- onClickMarker: s[1] || (s[1] = ({ legend: t }) => he(t))
1074
+ config: Nt.value,
1075
+ onClickMarker: s[1] || (s[1] = ({ legend: t }) => ve(t))
1069
1076
  }, {
1070
1077
  legendTitle: L(({ titleSet: t }) => [
1071
- t[0] && t[0].arcOf ? (n(), i("div", Sl, I(t[0].arcOf), 1)) : m("", !0)
1078
+ t[0] && t[0].arcOf ? (n(), i("div", Sl, A(t[0].arcOf), 1)) : m("", !0)
1072
1079
  ]),
1073
1080
  item: L(({ legend: t, index: u }) => [
1074
1081
  g("div", {
1075
- onClick: (c) => he(t),
1082
+ onClick: (c) => ve(t),
1076
1083
  style: ue(`opacity:${w.value.includes(t.id) ? 0.5 : 1}`)
1077
- }, [
1078
- ne(I(t.name) + ": " + I(r(K)(
1079
- e.value.style.chart.layout.labels.dataLabels.formatter,
1080
- t.value,
1081
- r(F)({
1082
- p: e.value.style.chart.layout.labels.dataLabels.prefix,
1083
- v: t.value,
1084
- s: e.value.style.chart.layout.labels.dataLabels.suffix,
1085
- r: e.value.style.chart.legend.roundingValue
1086
- }),
1087
- { datapoint: t, seriesIndex: u }
1088
- )) + " ", 1),
1089
- w.value.includes(t.id) ? (n(), i(T, { key: 1 }, [
1090
- ne(" ( - % ) ")
1091
- ], 64)) : (n(), i(T, { key: 0 }, [
1092
- ne(" (" + I(isNaN(t.value / t.total) ? "-" : r(F)({
1093
- v: t.value / t.total * 100,
1094
- s: "%",
1095
- r: e.value.style.chart.legend.roundingPercentage
1096
- })) + ") ", 1)
1097
- ], 64))
1098
- ], 12, Al)
1084
+ }, A(t.name) + A(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + A(e.value.style.chart.legend.showValue ? r(K)(
1085
+ e.value.style.chart.layout.labels.dataLabels.formatter,
1086
+ t.value,
1087
+ r(F)({
1088
+ p: e.value.style.chart.layout.labels.dataLabels.prefix,
1089
+ v: t.value,
1090
+ s: e.value.style.chart.layout.labels.dataLabels.suffix,
1091
+ r: e.value.style.chart.legend.roundingValue
1092
+ }),
1093
+ { datapoint: t, seriesIndex: u }
1094
+ ) : "") + " " + A(e.value.style.chart.legend.showPercentage ? w.value.includes(t.id) ? `${e.value.style.chart.legend.showValue ? "(" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(t.value / t.total) ? "-" : r(F)({
1095
+ v: t.value / t.total * 100,
1096
+ s: "%",
1097
+ r: e.value.style.chart.legend.roundingPercentage
1098
+ })}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""), 13, Al)
1099
1099
  ]),
1100
1100
  _: 2
1101
1101
  }, 1032, ["legendSet", "config"]))), 128))
@@ -1103,23 +1103,23 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
1103
1103
  e.value.style.chart.legend.show ? m("", !0) : (n(), i("div", {
1104
1104
  key: 8,
1105
1105
  ref_key: "chartLegend",
1106
- ref: de
1106
+ ref: ie
1107
1107
  }, [
1108
- x(l.$slots, "legend", { legend: ye.value }, void 0, !0)
1108
+ x(l.$slots, "legend", { legend: pe.value }, void 0, !0)
1109
1109
  ], 512)),
1110
1110
  l.$slots.source ? (n(), i("div", {
1111
1111
  key: 9,
1112
1112
  ref_key: "source",
1113
- ref: Se,
1113
+ ref: Ne,
1114
1114
  dir: "auto"
1115
1115
  }, [
1116
1116
  x(l.$slots, "source", {}, void 0, !0)
1117
1117
  ], 512)) : m("", !0),
1118
- Q.value ? (n(), B(r(yt), {
1118
+ Q.value ? (n(), B(r(pt), {
1119
1119
  key: 10,
1120
1120
  hideDetails: "",
1121
1121
  config: {
1122
- open: k.value.showTable,
1122
+ open: $.value.showTable,
1123
1123
  maxHeight: 1e4,
1124
1124
  body: {
1125
1125
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -1132,14 +1132,14 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
1132
1132
  }
1133
1133
  }, {
1134
1134
  content: L(() => [
1135
- (n(), B(r(bt), {
1136
- key: `table_${Ve.value}`,
1135
+ (n(), B(r(yt), {
1136
+ key: `table_${Ie.value}`,
1137
1137
  colNames: le.value.colNames,
1138
1138
  head: le.value.head,
1139
1139
  body: le.value.body,
1140
1140
  config: le.value.config,
1141
1141
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
1142
- onClose: s[2] || (s[2] = (a) => k.value.showTable = !1)
1142
+ onClose: s[2] || (s[2] = (a) => $.value.showTable = !1)
1143
1143
  }, {
1144
1144
  th: L(({ th: a }) => [
1145
1145
  g("div", {
@@ -1148,7 +1148,7 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
1148
1148
  }, null, 8, Il)
1149
1149
  ]),
1150
1150
  td: L(({ td: a }) => [
1151
- ne(I(a.name || a), 1)
1151
+ Et(A(a.name || a), 1)
1152
1152
  ]),
1153
1153
  _: 1
1154
1154
  }, 8, ["colNames", "head", "body", "config", "title"]))
@@ -1157,7 +1157,7 @@ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["i
1157
1157
  }, 8, ["config"])) : m("", !0)
1158
1158
  ], 46, rl));
1159
1159
  }
1160
- }, Wl = /* @__PURE__ */ nl(Vl, [["__scopeId", "data-v-6a801edc"]]);
1160
+ }, Wl = /* @__PURE__ */ nl(Vl, [["__scopeId", "data-v-4c602cbf"]]);
1161
1161
  export {
1162
1162
  Wl as default
1163
1163
  };