vue-data-ui 3.0.1 → 3.0.3

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/dist/{Arrow-DQoWnUfD.js → Arrow-CUUMjZed.js} +1 -1
  2. package/dist/{BaseDraggableDialog-DEw6oieL.js → BaseDraggableDialog-DgADqZE_.js} +2 -2
  3. package/dist/{BaseIcon-DEl03NUZ.js → BaseIcon-DLm6QTwr.js} +1 -1
  4. package/dist/{ColorPicker-CrivFZqC.js → ColorPicker-Crz_B792.js} +2 -2
  5. package/dist/{DataTable-ClgCsiJA.js → DataTable-CWzb1j8d.js} +2 -2
  6. package/dist/{Legend-CMvJ6X5j.js → Legend-CevCqVZ5.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-B2Wvbl3p.js → NonSvgPenAndPaper-DOG92bzo.js} +3 -3
  8. package/dist/{PackageVersion-CD5VH_Al.js → PackageVersion-n4qokxnx.js} +1 -1
  9. package/dist/{PenAndPaper-D3WRn-G2.js → PenAndPaper-C_R9vJkU.js} +3 -3
  10. package/dist/{Shape-Adi9i_-f.js → Shape-BHVN6hj0.js} +1 -1
  11. package/dist/{Slicer-t6e1t2iM.js → Slicer-BBjJsLlJ.js} +2 -2
  12. package/dist/{SparkTooltip-B8OnBSvk.js → SparkTooltip-BHlSggBm.js} +1 -1
  13. package/dist/{Title-xTWR-Vil.js → Title-CINHji0n.js} +1 -1
  14. package/dist/{Tooltip-BH3CiANh.js → Tooltip-hfdFRoLp.js} +1 -1
  15. package/dist/{UserOptions-CKKPgDLV.js → UserOptions-r0epwyXR.js} +2 -2
  16. package/dist/{dom-to-png-C4hj491O.js → dom-to-png-m7MwDfMh.js} +1 -1
  17. package/dist/{img-Vb4QHAHI.js → img-CBdOMFyn.js} +1 -1
  18. package/dist/{index-Dzc2Gi60.js → index-DrRiscPm.js} +908 -871
  19. package/dist/{pdf-ddpqw-dt.js → pdf-CITAFtf8.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +23 -0
  22. package/dist/types/vue-data-ui.d.ts +23 -0
  23. package/dist/{useAutoSizeLabelsInsideViewbox-CN_Jh8Hr.js → useAutoSizeLabelsInsideViewbox-C0d8h29h.js} +1 -1
  24. package/dist/{useNestedProp-CjnS13nF.js → useNestedProp-BXhArS-K.js} +1 -1
  25. package/dist/{usePrinter-DBRh8ZvS.js → usePrinter-CZk2ISUm.js} +2 -2
  26. package/dist/{vue-data-ui-B7ztqj9-.js → vue-data-ui-omyV52aJ.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-DUmYPtHl.js → vue-ui-3d-bar-ByS7XX4A.js} +6 -6
  29. package/dist/{vue-ui-accordion-CPk8wAuj.js → vue-ui-accordion-s_m_NJzJ.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-Bv5HmeXj.js → vue-ui-age-pyramid-BJRjKF9G.js} +6 -6
  31. package/dist/{vue-ui-annotator-KXWlIhtd.js → vue-ui-annotator-BcdnqcBy.js} +2 -2
  32. package/dist/{vue-ui-bullet-B4N4mBk9.js → vue-ui-bullet-D82pT7tL.js} +199 -186
  33. package/dist/{vue-ui-candlestick-DENvPnUO.js → vue-ui-candlestick-ThIDj7Q5.js} +7 -7
  34. package/dist/{vue-ui-carousel-table-vC2bHBaY.js → vue-ui-carousel-table-BHOAO0Gj.js} +4 -4
  35. package/dist/{vue-ui-chestnut-2nS0StrY.js → vue-ui-chestnut-3sjb4gzU.js} +5 -5
  36. package/dist/{vue-ui-chord-CyfS6vNM.js → vue-ui-chord-CfVEqNV6.js} +377 -366
  37. package/dist/{vue-ui-circle-pack-C4JR-0fx.js → vue-ui-circle-pack-u4ABWUZI.js} +6 -6
  38. package/dist/{vue-ui-cursor-BgeSDtQh.js → vue-ui-cursor-ByfhuSzG.js} +2 -2
  39. package/dist/{vue-ui-dashboard-9DWUBJ-I.js → vue-ui-dashboard-CBCck-UI.js} +62 -62
  40. package/dist/{vue-ui-digits-BQO7IBFA.js → vue-ui-digits-BU-8e-1s.js} +2 -2
  41. package/dist/{vue-ui-donut-evolution-B870IrQA.js → vue-ui-donut-evolution-B4lDDX7G.js} +388 -377
  42. package/dist/{vue-ui-donut-C-ZJXJ74.js → vue-ui-donut-g5x3IpMV.js} +345 -334
  43. package/dist/{vue-ui-dumbbell-Cfs2Uotx.js → vue-ui-dumbbell-BJ8qcUud.js} +354 -343
  44. package/dist/{vue-ui-flow-DnaUVVAD.js → vue-ui-flow-CRwGogHq.js} +299 -288
  45. package/dist/{vue-ui-funnel-B9s-H5ZG.js → vue-ui-funnel-DzF_UOAJ.js} +6 -6
  46. package/dist/{vue-ui-galaxy-BoJOczdh.js → vue-ui-galaxy-BqunXfkx.js} +252 -241
  47. package/dist/{vue-ui-gauge-qjm4BqZR.js → vue-ui-gauge-DPjvYyeF.js} +7 -7
  48. package/dist/{vue-ui-gizmo-fn7ZaMTI.js → vue-ui-gizmo-CU7HsWOV.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CIBDKhh8.js → vue-ui-heatmap-CFh-br8X.js} +7 -7
  50. package/dist/{vue-ui-history-plot-bbNxldYG.js → vue-ui-history-plot-OdhJu988.js} +283 -270
  51. package/dist/{vue-ui-kpi-BX-2jhLx.js → vue-ui-kpi-CVp3sMeg.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-Bn1Bb8-J.js → vue-ui-mini-loader-LtGcTTh2.js} +2 -2
  53. package/dist/{vue-ui-molecule-DQ3qFtBq.js → vue-ui-molecule-DklqwI8c.js} +5 -5
  54. package/dist/{vue-ui-mood-radar-Cf-ehIo1.js → vue-ui-mood-radar-CGuHZngw.js} +264 -253
  55. package/dist/{vue-ui-nested-donuts-CWg5BEi-.js → vue-ui-nested-donuts-CHrryP89.js} +377 -366
  56. package/dist/{vue-ui-onion-sHgQTYfa.js → vue-ui-onion-n74T6frI.js} +265 -254
  57. package/dist/{vue-ui-parallel-coordinate-plot-Ki3ITp_s.js → vue-ui-parallel-coordinate-plot-DtQi0qWp.js} +276 -265
  58. package/dist/{vue-ui-quadrant-BIVqW7U7.js → vue-ui-quadrant-CZn3Ab1f.js} +356 -345
  59. package/dist/{vue-ui-quick-chart-C_hvHc1b.js → vue-ui-quick-chart-CUBOj0Y6.js} +639 -628
  60. package/dist/{vue-ui-radar-RZUPyPwB.js → vue-ui-radar-BAazL3Qv.js} +254 -243
  61. package/dist/{vue-ui-rating-BI8Vk7dO.js → vue-ui-rating-CPa7MotU.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-TVMUEtxK.js → vue-ui-relation-circle-g6pCa6y9.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-DQeXHQG4.js → vue-ui-ridgeline-C_Mpseru.js} +8 -8
  64. package/dist/{vue-ui-rings-BH81WmMS.js → vue-ui-rings-grCm0xEc.js} +250 -239
  65. package/dist/{vue-ui-scatter-Cy7Tz_An.js → vue-ui-scatter-CEr615c-.js} +383 -372
  66. package/dist/{vue-ui-skeleton-CF50qQxr.js → vue-ui-skeleton-BaqJKjqR.js} +3 -3
  67. package/dist/{vue-ui-smiley-CrFXEbJs.js → vue-ui-smiley-DyIfQ5KW.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DtHArnot.js → vue-ui-spark-trend-CqVF6MXT.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-CIOwFFgA.js → vue-ui-sparkbar-DwSd_DZu.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-E0DdGotz.js → vue-ui-sparkgauge-Bm4UGamr.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-Dm7WoyjY.js → vue-ui-sparkhistogram-DTZK4gCA.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DoW6DDKT.js → vue-ui-sparkline-DGfIevXQ.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BJnPUWY4.js → vue-ui-sparkstackbar-RT_LpLKL.js} +3 -3
  74. package/dist/{vue-ui-stackbar-Du42smPs.js → vue-ui-stackbar-9Yxdd7ko.js} +443 -432
  75. package/dist/{vue-ui-strip-plot-DnenGI-d.js → vue-ui-strip-plot--2bdwjUL.js} +7 -7
  76. package/dist/{vue-ui-table-BQOQVlHr.js → vue-ui-table-BSNxwgTV.js} +4 -9
  77. package/dist/{vue-ui-table-heatmap-BzK4_gsP.js → vue-ui-table-heatmap-BaK9FRE1.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-B-IwcT8I.js → vue-ui-table-sparkline-Dbi7H7Xb.js} +4 -4
  79. package/dist/{vue-ui-thermometer-06ao_Pj5.js → vue-ui-thermometer-9EIYVN0g.js} +7 -7
  80. package/dist/{vue-ui-timer-CxQq4roK.js → vue-ui-timer-OH8HQjpu.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-CuTxkByj.js → vue-ui-tiremarks-D6JpH-vv.js} +6 -6
  82. package/dist/{vue-ui-treemap-BgHhRpiV.js → vue-ui-treemap-DqEQgjj-.js} +356 -345
  83. package/dist/{vue-ui-vertical-bar-CAcsUUCo.js → vue-ui-vertical-bar-BfnMDmGN.js} +9 -9
  84. package/dist/{vue-ui-waffle-Ct3Upw3m.js → vue-ui-waffle-BJu7n_i7.js} +306 -295
  85. package/dist/{vue-ui-wheel-oz06Kt-p.js → vue-ui-wheel-KDWfx0os.js} +6 -6
  86. package/dist/{vue-ui-word-cloud-BRy7fg4S.js → vue-ui-word-cloud-Dcg3uI2O.js} +6 -6
  87. package/dist/{vue-ui-world-CTV-YfFN.js → vue-ui-world-SYtMz1jo.js} +343 -329
  88. package/dist/{vue-ui-xy-canvas-BZdhKUIp.js → vue-ui-xy-canvas-BGJg2doK.js} +305 -294
  89. package/dist/vue-ui-xy-qzB1oN1A.js +3819 -0
  90. package/package.json +1 -1
  91. package/dist/vue-ui-xy-DqCy9dpa.js +0 -3808
@@ -1,22 +1,22 @@
1
- import { defineAsyncComponent as V, ref as c, shallowRef as vt, computed as f, onMounted as jt, toRefs as qt, nextTick as Ce, watch as Le, watchEffect as Jt, onBeforeUnmount as Kt, createElementBlock as n, openBlock as u, unref as i, normalizeStyle as J, normalizeClass as N, createBlock as T, createCommentVNode as v, createElementVNode as p, createSlots as Qt, withCtx as _, renderSlot as S, normalizeProps as K, guardReactiveProps as Q, createVNode as Zt, Fragment as z, renderList as $, toDisplayString as m, createTextVNode as dt } from "vue";
2
- import { u as el, c as ht, o as yt, f as se, g as tl, t as ll, a as al, p as ne, b as ol, C as ft, d as ul, e as _e, G as sl, D as gt, m as Ae, X as nl, s as Z, H as rl, k as Se, i as re, I as il, n as cl, q as vl, r as mt, v as dl, w as hl, J as bt, K as yl } from "./index-Dzc2Gi60.js";
3
- import { u as fl } from "./useChartAccessibility-9icAAmYg.js";
4
- import { u as xt } from "./useNestedProp-CjnS13nF.js";
5
- import { u as gl } from "./usePrinter-DBRh8ZvS.js";
6
- import { u as ml } from "./useTimeLabels-DkzmKfZn.js";
7
- import { u as bl } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as xl } from "./useTimeLabelCollider-CIsgDrl9.js";
9
- import pl from "./Legend-CMvJ6X5j.js";
10
- import { S as kl } from "./Slicer-t6e1t2iM.js";
11
- import wl from "./Title-xTWR-Vil.js";
12
- import Cl from "./img-Vb4QHAHI.js";
13
- import { t as pt, u as Ll } from "./useResponsive-DfdjqQps.js";
14
- import { u as _l, B as Al } from "./useLoading-D7YHNtLX.js";
15
- import { _ as Sl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"], Nl = ["id"], Tl = ["stop-color"], Ol = ["stop-color"], Pl = ["id"], Dl = ["stop-color"], Fl = ["stop-color"], El = ["stop-color"], Rl = { key: 1 }, Vl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ml = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Hl = { key: 0 }, Bl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ul = ["font-size", "fill", "transform"], Xl = ["x", "y", "font-size", "fill"], Gl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wl = ["x", "y", "font-size", "fill", "font-weight"], Yl = { key: 0 }, jl = ["text-anchor", "font-size", "fill", "transform"], ql = ["text-anchor", "font-size", "fill", "transform", "innerHTML"], Jl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Kl = { key: 1 }, Ql = ["cx", "cy", "r", "fill"], Zl = { key: 0 }, ea = { key: 0 }, ta = ["d", "stroke"], la = ["text-anchor", "x", "y", "fill"], aa = ["cx", "cy", "r", "fill"], oa = { key: 0 }, ua = ["cx", "cy", "fill"], sa = { key: 1 }, na = ["d", "fill", "stroke"], ra = { key: 2 }, ia = ["d", "fill", "stroke"], ca = ["x", "y", "font-size", "fill"], va = ["x", "y", "width", "height", "fill"], da = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], ha = {
1
+ import { defineAsyncComponent as M, ref as c, shallowRef as dt, computed as f, onMounted as qt, toRefs as Jt, nextTick as _e, watch as Ce, watchEffect as Kt, onBeforeUnmount as Qt, createElementBlock as n, openBlock as o, unref as i, normalizeStyle as J, normalizeClass as O, createBlock as T, createCommentVNode as v, createElementVNode as m, createSlots as Zt, withCtx as L, renderSlot as S, normalizeProps as K, guardReactiveProps as Q, createVNode as el, Fragment as z, renderList as $, toDisplayString as b, Teleport as tl, createTextVNode as ht } from "vue";
2
+ import { u as ll, c as yt, o as ft, f as se, g as al, t as ol, a as ul, p as ne, b as sl, C as gt, d as nl, e as Le, G as rl, D as mt, m as Ae, X as il, s as Z, H as cl, k as Se, i as re, I as vl, n as dl, q as hl, r as bt, v as yl, w as fl, J as xt, K as gl } from "./index-DrRiscPm.js";
3
+ import { u as ml } from "./useChartAccessibility-9icAAmYg.js";
4
+ import { u as pt } from "./useNestedProp-BXhArS-K.js";
5
+ import { u as bl } from "./usePrinter-CZk2ISUm.js";
6
+ import { u as xl } from "./useTimeLabels-DkzmKfZn.js";
7
+ import { u as pl } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { u as kl } from "./useTimeLabelCollider-CIsgDrl9.js";
9
+ import wl from "./Legend-CevCqVZ5.js";
10
+ import { S as _l } from "./Slicer-BBjJsLlJ.js";
11
+ import Cl from "./Title-CINHji0n.js";
12
+ import Ll from "./img-CBdOMFyn.js";
13
+ import { t as kt, u as Al } from "./useResponsive-DfdjqQps.js";
14
+ import { u as Sl, B as zl } from "./useLoading-D7YHNtLX.js";
15
+ import { _ as $l } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const Il = ["id"], Tl = ["id"], Nl = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"], Pl = ["id"], Dl = ["stop-color"], Fl = ["stop-color"], El = ["id"], Rl = ["stop-color"], Vl = ["stop-color"], Ml = ["stop-color"], Hl = { key: 1 }, Bl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ul = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Xl = { key: 0 }, Gl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wl = ["font-size", "fill", "transform"], Yl = ["x", "y", "font-size", "fill"], jl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ql = ["x", "y", "font-size", "fill", "font-weight"], Jl = { key: 0 }, Kl = ["text-anchor", "font-size", "fill", "transform"], Ql = ["text-anchor", "font-size", "fill", "transform", "innerHTML"], Zl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ea = { key: 1 }, ta = ["cx", "cy", "r", "fill"], la = { key: 0 }, aa = { key: 0 }, oa = ["d", "stroke"], ua = ["text-anchor", "x", "y", "fill"], sa = ["cx", "cy", "r", "fill"], na = { key: 0 }, ra = ["cx", "cy", "fill"], ia = { key: 1 }, ca = ["d", "fill", "stroke"], va = { key: 2 }, da = ["d", "fill", "stroke"], ha = ["x", "y", "font-size", "fill"], ya = ["x", "y", "width", "height", "fill"], fa = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], ga = {
17
17
  key: 4,
18
18
  class: "vue-data-ui-watermark"
19
- }, ya = ["onClick"], fa = { key: 0 }, ga = { key: 1 }, ma = {
19
+ }, ma = ["id"], ba = ["onClick"], xa = { key: 0 }, pa = { key: 1 }, ka = {
20
20
  __name: "vue-ui-donut-evolution",
21
21
  props: {
22
22
  config: {
@@ -33,19 +33,19 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
33
33
  }
34
34
  },
35
35
  emits: ["selectLegend"],
36
- setup(kt, { expose: wt, emit: Ct }) {
37
- const Lt = V(() => import("./vue-ui-accordion-CPk8wAuj.js")), _t = V(() => import("./BaseDraggableDialog-DEw6oieL.js")), At = V(() => import("./DataTable-ClgCsiJA.js")), St = V(() => import("./PackageVersion-CD5VH_Al.js")), zt = V(() => import("./PenAndPaper-D3WRn-G2.js")), $t = V(() => import("./UserOptions-CKKPgDLV.js")), It = V(() => import("./vue-ui-donut-C-ZJXJ74.js")), { vue_ui_donut_evolution: Nt } = el(), b = kt, M = c(ht()), w = c([]), g = c(null), ee = c(null), ie = c(!1), E = c(null), P = c(null), Tt = c(null), ze = c(0), $e = c(0), Ie = c(0), Ne = c(0), Te = c(0), ce = c(null), te = c(null), ve = c(null), de = c(null), Oe = c(null), Pe = c(null), De = c(null), Fe = c(null), Ee = c(null), he = c(!1), Y = vt(null), le = vt(null), Re = c(null), Ve = Ct, Me = f(() => !!b.dataset && b.dataset.length);
38
- jt(() => {
39
- He();
36
+ setup(wt, { expose: _t, emit: Ct }) {
37
+ const Lt = M(() => import("./vue-ui-accordion-s_m_NJzJ.js")), At = M(() => import("./BaseDraggableDialog-DgADqZE_.js")), St = M(() => import("./DataTable-CWzb1j8d.js")), zt = M(() => import("./PackageVersion-n4qokxnx.js")), $t = M(() => import("./PenAndPaper-C_R9vJkU.js")), It = M(() => import("./UserOptions-r0epwyXR.js")), Tt = M(() => import("./vue-ui-donut-g5x3IpMV.js")), { vue_ui_donut_evolution: Nt } = ll(), x = wt, N = c(yt()), w = c([]), g = c(null), ee = c(null), ie = c(!1), R = c(null), D = c(null), Ot = c(null), ze = c(0), $e = c(0), Ie = c(0), Te = c(0), Ne = c(0), ce = c(null), te = c(null), ve = c(null), de = c(null), Oe = c(!1), Pe = c(null), De = c(null), Fe = c(null), Ee = c(null), Re = c(null), he = c(!1), Y = dt(null), le = dt(null), Ve = c(null), Me = Ct, He = f(() => !!x.dataset && x.dataset.length);
38
+ qt(() => {
39
+ Oe.value = !0, Be();
40
40
  });
41
41
  const ae = f(() => !!e.value.debug);
42
- function He() {
43
- if (yt(b.dataset) ? (se({
42
+ function Be() {
43
+ if (ft(x.dataset) ? (se({
44
44
  componentName: "VueUiDonutEvolution",
45
45
  type: "dataset",
46
46
  debug: ae.value
47
- }), oe.value = !0) : b.dataset.length && b.dataset.forEach((t, a) => {
48
- tl({
47
+ }), oe.value = !0) : x.dataset.length && x.dataset.forEach((t, a) => {
48
+ al({
49
49
  datasetObject: t,
50
50
  requiredAttributes: ["name", "values"]
51
51
  }).forEach((l) => {
@@ -57,29 +57,29 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
57
57
  debug: ae.value
58
58
  }), oe.value = !0;
59
59
  });
60
- }), yt(b.dataset) || (oe.value = e.value.loading), setTimeout(() => {
60
+ }), ft(x.dataset) || (oe.value = e.value.loading), setTimeout(() => {
61
61
  he.value = !0;
62
62
  }, 10), fe(), e.value.responsive) {
63
- const t = pt(() => {
63
+ const t = kt(() => {
64
64
  he.value = !1;
65
- const { width: a, height: l } = Ll({
66
- chart: P.value,
67
- title: e.value.style.chart.title.text ? Oe.value : null,
68
- legend: e.value.style.chart.legend.show ? Pe.value : null,
69
- slicer: e.value.style.chart.zoom.show && Ue.value > 1 ? Ee.value : null,
70
- source: De.value
65
+ const { width: a, height: l } = Al({
66
+ chart: D.value,
67
+ title: e.value.style.chart.title.text ? Pe.value : null,
68
+ legend: e.value.style.chart.legend.show ? De.value : null,
69
+ slicer: e.value.style.chart.zoom.show && Xe.value > 1 ? Re.value : null,
70
+ source: Fe.value
71
71
  });
72
72
  requestAnimationFrame(() => {
73
- H.value.width = a, H.value.height = l - 12, clearTimeout(Re.value), Re.value = setTimeout(() => {
73
+ H.value.width = a, H.value.height = l - 12, clearTimeout(Ve.value), Ve.value = setTimeout(() => {
74
74
  he.value = !0;
75
75
  }, 10);
76
76
  });
77
77
  });
78
- Y.value && (le.value && Y.value.unobserve(le.value), Y.value.disconnect()), Y.value = new ResizeObserver(t), le.value = P.value.parentNode, Y.value.observe(le.value);
78
+ Y.value && (le.value && Y.value.unobserve(le.value), Y.value.disconnect()), Y.value = new ResizeObserver(t), le.value = D.value.parentNode, Y.value.observe(le.value);
79
79
  }
80
80
  }
81
- const e = c(me()), { loading: Be, FINAL_DATASET: ye, manualLoading: oe } = _l({
82
- ...qt(b),
81
+ const e = c(me()), { loading: Ue, FINAL_DATASET: ye, manualLoading: oe } = Sl({
82
+ ...Jt(x),
83
83
  FINAL_CONFIG: e,
84
84
  prepareConfig: me,
85
85
  callback: () => {
@@ -104,7 +104,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
104
104
  color: "#CACACA"
105
105
  }
106
106
  ],
107
- skeletonConfig: ll({
107
+ skeletonConfig: ol({
108
108
  defaultConfig: e.value,
109
109
  userConfig: {
110
110
  useCssAnimation: !1,
@@ -149,105 +149,105 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
149
149
  }), H = c({
150
150
  width: e.value.style.chart.layout.width,
151
151
  height: e.value.style.chart.layout.height
152
- }), Ue = f(() => Math.max(...ye.value.map((t) => t.values.length))), h = c({
152
+ }), Xe = f(() => Math.max(...ye.value.map((t) => t.values.length))), h = c({
153
153
  start: 0,
154
- end: Ue.value
154
+ end: Xe.value
155
155
  });
156
- function Xe() {
156
+ function Ge() {
157
157
  fe();
158
158
  }
159
159
  async function fe() {
160
- await Ce(), await Ce();
161
- const { startIndex: t, endIndex: a } = e.value.style.chart.zoom, l = Fe.value;
162
- (t != null || a != null) && l ? (t != null && l.setStartValue(t), a != null && l.setEndValue(Ot(a + 1))) : (h.value = {
160
+ await _e(), await _e();
161
+ const { startIndex: t, endIndex: a } = e.value.style.chart.zoom, l = Ee.value;
162
+ (t != null || a != null) && l ? (t != null && l.setStartValue(t), a != null && l.setEndValue(Pt(a + 1))) : (h.value = {
163
163
  start: 0,
164
- end: D.value
164
+ end: F.value
165
165
  }, $e.value += 1);
166
166
  }
167
- function Ot(t) {
168
- const a = D.value;
167
+ function Pt(t) {
168
+ const a = F.value;
169
169
  return t > a ? a : t < 0 || e.value.style.chart.zoom.startIndex !== null && t < e.value.style.chart.zoom.startIndex ? e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex + 1 : 1 : t;
170
170
  }
171
- const { userOptionsVisible: ge, setUserOptionsVisibility: Ge, keepUserOptionState: We } = bl({ config: e.value }), { svgRef: Ye } = fl({ config: e.value.style.chart.title });
171
+ const { userOptionsVisible: ge, setUserOptionsVisibility: We, keepUserOptionState: Ye } = pl({ config: e.value }), { svgRef: je } = ml({ config: e.value.style.chart.title });
172
172
  function me() {
173
- const t = xt({
174
- userConfig: b.config,
173
+ const t = pt({
174
+ userConfig: x.config,
175
175
  defaultConfig: Nt
176
176
  });
177
177
  let a = {};
178
178
  return t.theme ? a = {
179
- ...xt({
180
- userConfig: ol.vue_ui_donut_evolution[t.theme] || b.config,
179
+ ...pt({
180
+ userConfig: sl.vue_ui_donut_evolution[t.theme] || x.config,
181
181
  defaultConfig: t
182
182
  }),
183
- customPalette: al[t.theme] || ne
184
- } : a = t, b.config && ft(b.config, "style.chart.zoom.startIndex") ? a.style.chart.zoom.startIndex = b.config.style.chart.zoom.startIndex : a.style.chart.zoom.startIndex = null, b.config && ft(b.config, "style.chart.zoom.endIndex") ? a.style.chart.zoom.endIndex = b.config.style.chart.zoom.endIndex : a.style.chart.zoom.endIndex = null, a;
183
+ customPalette: ul[t.theme] || ne
184
+ } : a = t, x.config && gt(x.config, "style.chart.zoom.startIndex") ? a.style.chart.zoom.startIndex = x.config.style.chart.zoom.startIndex : a.style.chart.zoom.startIndex = null, x.config && gt(x.config, "style.chart.zoom.endIndex") ? a.style.chart.zoom.endIndex = x.config.style.chart.zoom.endIndex : a.style.chart.zoom.endIndex = null, a;
185
185
  }
186
- Le(() => b.config, (t) => {
187
- Be.value || (e.value = me()), ge.value = !e.value.userOptions.showOnChartHover, He(), Ie.value += 1, Ne.value += 1, Te.value += 1, B.value.showTable = e.value.table.show;
188
- }, { deep: !0 }), Le(() => b.dataset, (t) => {
189
- Array.isArray(t) && t.length > 0 && (oe.value = !1), Xe();
186
+ Ce(() => x.config, (t) => {
187
+ Ue.value || (e.value = me()), ge.value = !e.value.userOptions.showOnChartHover, Be(), Ie.value += 1, Te.value += 1, Ne.value += 1, B.value.showTable = e.value.table.show;
188
+ }, { deep: !0 }), Ce(() => x.dataset, (t) => {
189
+ Array.isArray(t) && t.length > 0 && (oe.value = !1), Ge();
190
190
  }, { deep: !0 });
191
- const { isPrinting: je, isImaging: qe, generatePdf: Je, generateImage: Ke } = gl({
192
- elementId: M.value,
191
+ const { isPrinting: qe, isImaging: Je, generatePdf: Ke, generateImage: Qe } = bl({
192
+ elementId: N.value,
193
193
  fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution",
194
194
  options: e.value.userOptions.print
195
- }), Pt = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Dt = f(() => ul(e.value.customPalette)), B = c({
195
+ }), Dt = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ft = f(() => nl(e.value.customPalette)), B = c({
196
196
  showTable: e.value.table.show
197
197
  });
198
- Le(e, () => {
198
+ Ce(e, () => {
199
199
  B.value = {
200
200
  showTable: e.value.table.show
201
201
  };
202
202
  }, { immediate: !0 });
203
- const R = f(() => ({
203
+ const V = f(() => ({
204
204
  top: e.value.style.chart.layout.padding.top,
205
205
  right: e.value.style.chart.layout.padding.right,
206
206
  bottom: e.value.style.chart.layout.padding.bottom,
207
207
  left: e.value.style.chart.layout.padding.left
208
208
  }));
209
- function Ft() {
209
+ function Et() {
210
210
  let t = 0;
211
- ce.value && (t = Array.from(ce.value.querySelectorAll("text")).reduce((o, y) => {
211
+ ce.value && (t = Array.from(ce.value.querySelectorAll("text")).reduce((u, y) => {
212
212
  const d = y.getComputedTextLength();
213
- return (d > o ? d : o) + e.value.style.chart.layout.grid.axis.yLabelOffsetX;
213
+ return (d > u ? d : u) + e.value.style.chart.layout.grid.axis.yLabelOffsetX;
214
214
  }, 0));
215
215
  const a = de.value ? de.value.getBoundingClientRect().width + e.value.style.chart.layout.grid.axis.yLabelOffsetX + e.value.style.chart.layout.grid.axis.fontSize : 0;
216
216
  return t + a + 5;
217
217
  }
218
- const be = c(0), Et = pt((t) => {
218
+ const be = c(0), Rt = kt((t) => {
219
219
  be.value = t;
220
220
  }, 100);
221
- Jt((t) => {
221
+ Kt((t) => {
222
222
  const a = te.value;
223
223
  if (!a) return;
224
224
  const l = new ResizeObserver((s) => {
225
- Et(s[0].contentRect.height);
225
+ Rt(s[0].contentRect.height);
226
226
  });
227
227
  l.observe(a), t(() => l.disconnect());
228
- }), Kt(() => {
228
+ }), Qt(() => {
229
229
  be.value = 0;
230
230
  });
231
- const Qe = f(() => {
231
+ const Ze = f(() => {
232
232
  let t = 0;
233
233
  ve.value && (t = ve.value.getBBox().height);
234
234
  let a = 0;
235
235
  return te.value && (a = be.value), t + a + e.value.style.chart.layout.grid.axis.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
236
236
  }), r = f(() => {
237
- const t = Ft(), a = e.value.style.chart.layout.dataLabels.fontSize * 3, l = H.value.width, s = H.value.height, o = R.value.left + t, y = l - R.value.right, d = l - o - R.value.right, x = s - R.value.top - R.value.bottom - a - Qe.value, W = R.value.top + a, F = s - R.value.bottom - Qe.value;
237
+ const t = Et(), a = e.value.style.chart.layout.dataLabels.fontSize * 3, l = H.value.width, s = H.value.height, u = V.value.left + t, y = l - V.value.right, d = l - u - V.value.right, p = s - V.value.top - V.value.bottom - a - Ze.value, W = V.value.top + a, E = s - V.value.bottom - Ze.value;
238
238
  return {
239
239
  top: W,
240
- left: o,
240
+ left: u,
241
241
  right: y,
242
- bottom: F,
242
+ bottom: E,
243
243
  absoluteHeight: s,
244
244
  absoluteWidth: l,
245
- centerX: o + Math.max(10, d) / 2,
246
- centerY: W + Math.max(10, x) / 2,
245
+ centerX: u + Math.max(10, d) / 2,
246
+ centerY: W + Math.max(10, p) / 2,
247
247
  width: Math.max(10, d),
248
- height: Math.max(10, x)
248
+ height: Math.max(10, p)
249
249
  };
250
- }), O = f(() => (ye.value.forEach((t, a) => {
250
+ }), P = f(() => (ye.value.forEach((t, a) => {
251
251
  [null, void 0].includes(t.name) && se({
252
252
  componentName: "VueUiDonutEvolution",
253
253
  type: "datasetSerieAttribute",
@@ -263,56 +263,56 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
263
263
  });
264
264
  }), ye.value.map((t, a) => ({
265
265
  ...t,
266
- values: sl(t.values),
267
- color: _e(t.color) || Dt.value[a] || ne[a] || ne[a % ne.length],
266
+ values: rl(t.values),
267
+ color: Le(t.color) || Ft.value[a] || ne[a] || ne[a % ne.length],
268
268
  length: (t.values || []).length,
269
- uid: ht()
270
- })))), j = f(() => O.value.filter((t) => !w.value.includes(t.uid)).map((t) => ({
269
+ uid: yt()
270
+ })))), j = f(() => P.value.filter((t) => !w.value.includes(t.uid)).map((t) => ({
271
271
  ...t,
272
272
  values: t.values.filter((a, l) => l >= h.value.start && l <= h.value.end)
273
- }))), D = f(() => Math.max(...j.value.map((t) => t.length))), C = f(() => ml({
273
+ }))), F = f(() => Math.max(...j.value.map((t) => t.length))), _ = f(() => xl({
274
274
  values: e.value.style.chart.layout.grid.xAxis.dataLabels.values,
275
- maxDatapoints: D.value,
275
+ maxDatapoints: F.value,
276
276
  formatter: e.value.style.chart.layout.grid.xAxis.dataLabels.datetimeFormatter,
277
277
  start: h.value.start,
278
278
  end: h.value.end
279
- })), k = f(() => r.value.width / (h.value.end - h.value.start)), L = f(() => {
279
+ })), k = f(() => r.value.width / (h.value.end - h.value.start)), C = f(() => {
280
280
  const t = [];
281
- for (let o = 0; o < h.value.end - h.value.start; o += 1) {
282
- const y = j.value.map((I) => I.values[o] ?? null), d = y.filter((I) => [void 0, null].includes(I)).length === y.length, x = y.reduce((I, A) => I + A, 0), W = y.map((I) => I / x), F = r.value.left + k.value * o + k.value / 2;
281
+ for (let u = 0; u < h.value.end - h.value.start; u += 1) {
282
+ const y = j.value.map((I) => I.values[u] ?? null), d = y.filter((I) => [void 0, null].includes(I)).length === y.length, p = y.reduce((I, A) => I + A, 0), W = y.map((I) => I / p), E = r.value.left + k.value * u + k.value / 2;
283
283
  t.push({
284
- index: o,
284
+ index: u,
285
285
  percentages: W,
286
- subtotal: d || x < 0 ? null : x,
286
+ subtotal: d || p < 0 ? null : p,
287
287
  values: y,
288
- x: F
288
+ x: E
289
289
  });
290
290
  }
291
- const a = 0, l = Math.max(...t.map((o) => o.subtotal)), s = t.length === 1 ? l * 2 : l;
292
- return t.map((o, y) => {
293
- const d = Math.min(r.value.width / 24, k.value / 2 * 0.7), x = d > r.value.width / 16 ? r.value.width / 16 : d, W = g.value === o.index ? r.value.width / 16 : x, F = t.length > 4 ? d * 2 : d * 2 > k.value / 2 * 0.7 ? k.value / 2 * 0.7 : d * 2, I = r.value.bottom - r.value.height * o.subtotal / gt(a, s, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
291
+ const a = 0, l = Math.max(...t.map((u) => u.subtotal)), s = t.length === 1 ? l * 2 : l;
292
+ return t.map((u, y) => {
293
+ const d = Math.min(r.value.width / 24, k.value / 2 * 0.7), p = d > r.value.width / 16 ? r.value.width / 16 : d, W = g.value === u.index ? r.value.width / 16 : p, E = t.length > 4 ? d * 2 : d * 2 > k.value / 2 * 0.7 ? k.value / 2 * 0.7 : d * 2, I = r.value.bottom - r.value.height * u.subtotal / mt(a, s, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
294
294
  return {
295
- ...o,
295
+ ...u,
296
296
  y: I,
297
- radius: x,
297
+ radius: p,
298
298
  activeRadius: W,
299
- hoverRadius: F,
299
+ hoverRadius: E,
300
300
  donut: Ae({
301
- series: j.value.map((A, ct) => ({
301
+ series: j.value.map((A, vt) => ({
302
302
  color: A.color,
303
303
  name: A.name,
304
304
  value: A.values[y] ?? 0
305
305
  }))
306
- }, o.x, I, x, x, 1.99999, 2, 1, 360, 105.25, x / 2),
306
+ }, u.x, I, p, p, 1.99999, 2, 1, 360, 105.25, p / 2),
307
307
  donutHover: Ae({
308
- series: j.value.map((A, ct) => ({
308
+ series: j.value.map((A, vt) => ({
309
309
  color: A.color,
310
310
  name: A.name,
311
311
  value: A.values[y] ?? 0
312
312
  }))
313
- }, o.x, I, F, F, 1.99999, 2, 1, 360, 105.25, F / 2),
313
+ }, u.x, I, E, E, 1.99999, 2, 1, 360, 105.25, E / 2),
314
314
  donutFocus: Ae({
315
- series: j.value.map((A, ct) => ({
315
+ series: j.value.map((A, vt) => ({
316
316
  color: A.color,
317
317
  name: A.name,
318
318
  value: A.values[y] ?? 0
@@ -321,7 +321,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
321
321
  };
322
322
  });
323
323
  });
324
- function Ze(t, a, l) {
324
+ function et(t, a, l) {
325
325
  return Se(
326
326
  e.value.style.chart.layout.dataLabels.formatter,
327
327
  t,
@@ -335,33 +335,33 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
335
335
  );
336
336
  }
337
337
  const xe = f(() => ({
338
- max: Math.max(...L.value.map((t) => t.subtotal)),
338
+ max: Math.max(...C.value.map((t) => t.subtotal)),
339
339
  min: 0
340
340
  })), U = f(() => {
341
- const t = L.value.length === 1 ? xe.value.max * 2 : xe.value.max;
342
- return gt(xe.value.min, t, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
341
+ const t = C.value.length === 1 ? xe.value.max * 2 : xe.value.max;
342
+ return mt(xe.value.min, t, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
343
343
  });
344
- function Rt(t) {
344
+ function Vt(t) {
345
345
  return t / U.value.max;
346
346
  }
347
- const Vt = f(() => U.value.ticks.map((t) => ({
348
- y: r.value.bottom - r.value.height * Rt(t),
347
+ const Mt = f(() => U.value.ticks.map((t) => ({
348
+ y: r.value.bottom - r.value.height * Vt(t),
349
349
  value: t
350
350
  })));
351
- function Mt(t, a) {
352
- return isNaN(t.value / bt(a, "value")) ? 0 : (t.value / bt(a, "value") * 100).toFixed(0) + "%";
351
+ function Ht(t, a) {
352
+ return isNaN(t.value / xt(a, "value")) ? 0 : (t.value / xt(a, "value") * 100).toFixed(0) + "%";
353
353
  }
354
- function et(t) {
354
+ function tt(t) {
355
355
  g.value = null, ee.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.seriesIndex + h.value.start });
356
356
  }
357
- function Ht(t) {
357
+ function Bt(t) {
358
358
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.index + h.value.start }), g.value = t.index, ee.value = t;
359
359
  }
360
360
  const q = c(null);
361
- function tt(t, a) {
362
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.index + h.value.start }), !(!t.subtotal || !e.value.style.chart.dialog.show) && (ee.value = null, g.value = null, ie.value = !0, E.value = t, Xt(t), [null, void 0].includes(a) || (q.value = a));
361
+ function lt(t, a) {
362
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.index + h.value.start }), !(!t.subtotal || !e.value.style.chart.dialog.show) && (ee.value = null, g.value = null, ie.value = !0, R.value = t, Gt(t), [null, void 0].includes(a) || (q.value = a));
363
363
  }
364
- const lt = f(() => O.value.map((t, a) => ({
364
+ const at = f(() => P.value.map((t, a) => ({
365
365
  name: t.name,
366
366
  value: t.values.slice(h.value.start, h.value.end).reduce((l, s) => l + s, 0),
367
367
  shape: "circle",
@@ -372,7 +372,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
372
372
  opacity: w.value.includes(t.uid) ? 0.5 : 1,
373
373
  segregate: () => pe(t.uid),
374
374
  isSegregated: w.value.includes(t.uid)
375
- }))), at = f(() => L.value.map((t) => t.subtotal).reduce((t, a) => t + a, 0)), Bt = f(() => ({
375
+ }))), ot = f(() => C.value.map((t) => t.subtotal).reduce((t, a) => t + a, 0)), Ut = f(() => ({
376
376
  cy: "donut-div-legend",
377
377
  backgroundColor: e.value.style.chart.legend.backgroundColor,
378
378
  color: e.value.style.chart.legend.color,
@@ -382,24 +382,24 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
382
382
  }));
383
383
  function pe(t) {
384
384
  if (w.value.includes(t))
385
- w.value = w.value.filter((a) => a !== t), Ve("selectLegend", null);
385
+ w.value = w.value.filter((a) => a !== t), Me("selectLegend", null);
386
386
  else {
387
- if (w.value.length === O.value.length - 1) return;
388
- w.value.push(t), Ve("selectLegend", O.value.find((a) => a.uid === t));
387
+ if (w.value.length === P.value.length - 1) return;
388
+ w.value.push(t), Me("selectLegend", P.value.find((a) => a.uid === t));
389
389
  }
390
- E.value && tt(L.value.find((a, l) => l === q.value));
390
+ R.value && lt(C.value.find((a, l) => l === q.value));
391
391
  }
392
392
  const X = f(() => {
393
- const t = [""].concat(O.value.filter((o) => !w.value.includes(o.uid)).map((o) => ({
394
- name: o.name,
395
- color: o.color
393
+ const t = [""].concat(P.value.filter((u) => !w.value.includes(u.uid)).map((u) => ({
394
+ name: u.name,
395
+ color: u.color
396
396
  }))).concat(["Σ"]);
397
397
  let a = [];
398
- for (let o = 0; o < D.value; o += 1) {
399
- const y = O.value.filter((d) => !w.value.includes(d.uid)).map((d) => d.values[o] ?? 0).reduce((d, x) => d + x, 0);
400
- a.push([C[o] ? C[o].text : "-"].concat(O.value.filter((d) => !w.value.includes(d.uid)).map((d) => ({
401
- value: d.values[o] ?? 0,
402
- percentage: d.values[o] ? d.values[o] / y * 100 : 0
398
+ for (let u = 0; u < F.value; u += 1) {
399
+ const y = P.value.filter((d) => !w.value.includes(d.uid)).map((d) => d.values[u] ?? 0).reduce((d, p) => d + p, 0);
400
+ a.push([_[u] ? _[u].text : "-"].concat(P.value.filter((d) => !w.value.includes(d.uid)).map((d) => ({
401
+ value: d.values[u] ?? 0,
402
+ percentage: d.values[u] ? d.values[u] / y * 100 : 0
403
403
  }))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(y.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
404
404
  }
405
405
  const l = {
@@ -416,49 +416,49 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
416
416
  breakpoint: e.value.table.responsiveBreakpoint
417
417
  }, s = [
418
418
  e.value.table.columnNames.period
419
- ].concat(O.value.filter((o) => !w.value.includes(o.uid)).map((o) => o.name)).concat(e.value.table.columnNames.total);
419
+ ].concat(P.value.filter((u) => !w.value.includes(u.uid)).map((u) => u.name)).concat(e.value.table.columnNames.total);
420
420
  return { head: t, body: a, config: l, colNames: s };
421
421
  });
422
- function Ut() {
423
- return O.value;
422
+ function Xt() {
423
+ return P.value;
424
424
  }
425
- function ot(t = null) {
426
- Ce(() => {
427
- const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = [...X.value.head.map((d) => d.name ?? d)], s = [...X.value.body.map((d) => d.map((x) => x.value ?? x))], o = a.concat([l]).concat(s), y = dl(o);
428
- t ? t(y) : hl({ csvContent: y, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
425
+ function ut(t = null) {
426
+ _e(() => {
427
+ const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = [...X.value.head.map((d) => d.name ?? d)], s = [...X.value.body.map((d) => d.map((p) => p.value ?? p))], u = a.concat([l]).concat(s), y = yl(u);
428
+ t ? t(y) : fl({ csvContent: y, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
429
429
  });
430
430
  }
431
431
  const G = c(!1);
432
- function ut(t) {
432
+ function st(t) {
433
433
  G.value = t, ze.value += 1;
434
434
  }
435
- function st() {
435
+ function nt() {
436
436
  B.value.showTable = !B.value.showTable;
437
437
  }
438
438
  const ue = c(!1);
439
439
  function ke() {
440
440
  ue.value = !ue.value;
441
441
  }
442
- function nt(t) {
442
+ function rt(t) {
443
443
  return t.proportion * 100 > e.value.style.chart.donuts.hover.hideLabelsUnderValue;
444
444
  }
445
- const rt = c([]), it = c({}), we = c(null);
446
- function Xt(t) {
447
- rt.value = t.donut.map((a) => ({
445
+ const it = c([]), ct = c({}), we = c(null);
446
+ function Gt(t) {
447
+ it.value = t.donut.map((a) => ({
448
448
  name: a.name,
449
449
  values: [a.value],
450
450
  color: a.color
451
- })), it.value = yl({
451
+ })), ct.value = gl({
452
452
  ...e.value.style.chart.dialog.donutChart,
453
453
  responsive: !0,
454
454
  theme: e.value.theme
455
455
  }), we.value && we.value.open();
456
456
  }
457
- async function Gt({ scale: t = 2 } = {}) {
458
- if (!P.value) return;
459
- const { width: a, height: l } = P.value.getBoundingClientRect(), s = a / l, { imageUri: o, base64: y } = await Cl({ domElement: P.value, base64: !0, img: !0, scale: t });
457
+ async function Wt({ scale: t = 2 } = {}) {
458
+ if (!D.value) return;
459
+ const { width: a, height: l } = D.value.getBoundingClientRect(), s = a / l, { imageUri: u, base64: y } = await Ll({ domElement: D.value, base64: !0, img: !0, scale: t });
460
460
  return {
461
- imageUri: o,
461
+ imageUri: u,
462
462
  base64: y,
463
463
  title: e.value.style.chart.title.text,
464
464
  width: a,
@@ -466,59 +466,59 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
466
466
  aspectRatio: s
467
467
  };
468
468
  }
469
- const Wt = f(() => H.value.width), Yt = f(() => H.value.height);
470
- return xl({
469
+ const Yt = f(() => H.value.width), jt = f(() => H.value.height);
470
+ return kl({
471
471
  timeLabelsEls: te,
472
- timeLabels: C,
472
+ timeLabels: _,
473
473
  slicer: h,
474
474
  configRef: e,
475
475
  rotationPath: ["style", "chart", "layout", "grid", "xAxis", "dataLabels", "rotation"],
476
476
  autoRotatePath: ["style", "chart", "layout", "grid", "xAxis", "dataLabels", "autoRotate", "enable"],
477
477
  isAutoSize: !1,
478
- width: Wt,
479
- height: Yt,
478
+ width: Yt,
479
+ height: jt,
480
480
  rotation: e.value.style.chart.layout.grid.xAxis.dataLabels.autoRotate.angle
481
- }), wt({
482
- getData: Ut,
483
- getImage: Gt,
484
- generatePdf: Je,
485
- generateCsv: ot,
486
- generateImage: Ke,
487
- toggleTable: st,
481
+ }), _t({
482
+ getData: Xt,
483
+ getImage: Wt,
484
+ generatePdf: Ke,
485
+ generateCsv: ut,
486
+ generateImage: Qe,
487
+ toggleTable: nt,
488
488
  toggleAnnotator: ke,
489
- toggleFullscreen: ut
490
- }), (t, a) => (u(), n("div", {
489
+ toggleFullscreen: st
490
+ }), (t, a) => (o(), n("div", {
491
491
  ref_key: "donutEvolutionChart",
492
- ref: P,
493
- class: N(`vue-ui-donut-evolution ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
492
+ ref: D,
493
+ class: O(`vue-ui-donut-evolution ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
494
494
  style: J(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
495
- id: M.value,
496
- onMouseenter: a[5] || (a[5] = () => i(Ge)(!0)),
497
- onMouseleave: a[6] || (a[6] = () => i(Ge)(!1))
495
+ id: N.value,
496
+ onMouseenter: a[5] || (a[5] = () => i(We)(!0)),
497
+ onMouseleave: a[6] || (a[6] = () => i(We)(!1))
498
498
  }, [
499
- e.value.userOptions.buttons.annotator ? (u(), T(i(zt), {
499
+ e.value.userOptions.buttons.annotator ? (o(), T(i($t), {
500
500
  key: 0,
501
- svgRef: i(Ye),
501
+ svgRef: i(je),
502
502
  backgroundColor: e.value.style.chart.backgroundColor,
503
503
  color: e.value.style.chart.color,
504
504
  active: ue.value,
505
505
  onClose: ke
506
506
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : v("", !0),
507
- Pt.value ? (u(), n("div", {
507
+ Dt.value ? (o(), n("div", {
508
508
  key: 1,
509
509
  ref_key: "noTitle",
510
- ref: Tt,
510
+ ref: Ot,
511
511
  class: "vue-data-ui-no-title-space",
512
512
  style: "height:36px; width: 100%;background:transparent"
513
513
  }, null, 512)) : v("", !0),
514
- e.value.style.chart.title.text ? (u(), n("div", {
514
+ e.value.style.chart.title.text ? (o(), n("div", {
515
515
  key: 2,
516
516
  ref_key: "chartTitle",
517
- ref: Oe,
517
+ ref: Pe,
518
518
  style: "width:100%;background:transparent;padding-bottom:24px",
519
- onMouseleave: et
519
+ onMouseleave: tt
520
520
  }, [
521
- (u(), T(wl, {
521
+ (o(), T(Cl, {
522
522
  key: `title_${Ie.value}`,
523
523
  config: {
524
524
  title: {
@@ -532,14 +532,17 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
532
532
  }
533
533
  }, null, 8, ["config"]))
534
534
  ], 544)) : v("", !0),
535
- e.value.userOptions.show && Me.value && (i(We) || i(ge)) ? (u(), T(i($t), {
535
+ m("div", {
536
+ id: `legend-top-${N.value}`
537
+ }, null, 8, Tl),
538
+ e.value.userOptions.show && He.value && (i(Ye) || i(ge)) ? (o(), T(i(It), {
536
539
  ref: "details",
537
540
  key: `user_options_${ze.value}`,
538
541
  backgroundColor: e.value.style.chart.backgroundColor,
539
542
  color: e.value.style.chart.color,
540
- isPrinting: i(je),
541
- isImaging: i(qe),
542
- uid: M.value,
543
+ isPrinting: i(qe),
544
+ isImaging: i(Je),
545
+ uid: N.value,
543
546
  hasPdf: e.value.userOptions.buttons.pdf,
544
547
  hasImg: e.value.userOptions.buttons.img,
545
548
  hasXls: e.value.userOptions.buttons.csv,
@@ -547,82 +550,82 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
547
550
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
548
551
  isFullscreen: G.value,
549
552
  titles: { ...e.value.userOptions.buttonTitles },
550
- chartElement: P.value,
553
+ chartElement: D.value,
551
554
  position: e.value.userOptions.position,
552
555
  hasAnnotator: e.value.userOptions.buttons.annotator,
553
556
  isAnnotation: ue.value,
554
557
  callbacks: e.value.userOptions.callbacks,
555
558
  printScale: e.value.userOptions.print.scale,
556
- onToggleFullscreen: ut,
557
- onGeneratePdf: i(Je),
558
- onGenerateCsv: ot,
559
- onGenerateImage: i(Ke),
560
- onToggleTable: st,
559
+ onToggleFullscreen: st,
560
+ onGeneratePdf: i(Ke),
561
+ onGenerateCsv: ut,
562
+ onGenerateImage: i(Qe),
563
+ onToggleTable: nt,
561
564
  onToggleAnnotator: ke,
562
565
  style: J({
563
- visibility: i(We) ? i(ge) ? "visible" : "hidden" : "visible"
566
+ visibility: i(Ye) ? i(ge) ? "visible" : "hidden" : "visible"
564
567
  })
565
- }, Qt({ _: 2 }, [
568
+ }, Zt({ _: 2 }, [
566
569
  t.$slots.menuIcon ? {
567
570
  name: "menuIcon",
568
- fn: _(({ isOpen: l, color: s }) => [
571
+ fn: L(({ isOpen: l, color: s }) => [
569
572
  S(t.$slots, "menuIcon", K(Q({ isOpen: l, color: s })), void 0, !0)
570
573
  ]),
571
574
  key: "0"
572
575
  } : void 0,
573
576
  t.$slots.optionPdf ? {
574
577
  name: "optionPdf",
575
- fn: _(() => [
578
+ fn: L(() => [
576
579
  S(t.$slots, "optionPdf", {}, void 0, !0)
577
580
  ]),
578
581
  key: "1"
579
582
  } : void 0,
580
583
  t.$slots.optionCsv ? {
581
584
  name: "optionCsv",
582
- fn: _(() => [
585
+ fn: L(() => [
583
586
  S(t.$slots, "optionCsv", {}, void 0, !0)
584
587
  ]),
585
588
  key: "2"
586
589
  } : void 0,
587
590
  t.$slots.optionImg ? {
588
591
  name: "optionImg",
589
- fn: _(() => [
592
+ fn: L(() => [
590
593
  S(t.$slots, "optionImg", {}, void 0, !0)
591
594
  ]),
592
595
  key: "3"
593
596
  } : void 0,
594
597
  t.$slots.optionTable ? {
595
598
  name: "optionTable",
596
- fn: _(() => [
599
+ fn: L(() => [
597
600
  S(t.$slots, "optionTable", {}, void 0, !0)
598
601
  ]),
599
602
  key: "4"
600
603
  } : void 0,
601
604
  t.$slots.optionFullscreen ? {
602
605
  name: "optionFullscreen",
603
- fn: _(({ toggleFullscreen: l, isFullscreen: s }) => [
606
+ fn: L(({ toggleFullscreen: l, isFullscreen: s }) => [
604
607
  S(t.$slots, "optionFullscreen", K(Q({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
605
608
  ]),
606
609
  key: "5"
607
610
  } : void 0,
608
611
  t.$slots.optionAnnotator ? {
609
612
  name: "optionAnnotator",
610
- fn: _(({ toggleAnnotator: l, isAnnotator: s }) => [
613
+ fn: L(({ toggleAnnotator: l, isAnnotator: s }) => [
611
614
  S(t.$slots, "optionAnnotator", K(Q({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
612
615
  ]),
613
616
  key: "6"
614
617
  } : void 0
615
618
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
616
- (u(), n("svg", {
619
+ (o(), n("svg", {
617
620
  ref_key: "svgRef",
618
- ref: Ye,
619
- xmlns: i(nl),
620
- class: N({ "vue-data-ui-fullscreen--on": G.value, "vue-data-ui-fulscreen--off": !G.value }),
621
+ ref: je,
622
+ xmlns: i(il),
623
+ class: O({ "vue-data-ui-fullscreen--on": G.value, "vue-data-ui-fulscreen--off": !G.value }),
621
624
  viewBox: `0 0 ${r.value.absoluteWidth} ${r.value.absoluteHeight}`,
622
625
  style: J(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
623
626
  }, [
624
- Zt(i(St)),
625
- t.$slots["chart-background"] ? (u(), n("foreignObject", {
627
+ el(i(zt)),
628
+ t.$slots["chart-background"] ? (o(), n("foreignObject", {
626
629
  key: 0,
627
630
  x: r.value.left,
628
631
  y: r.value.top,
@@ -633,43 +636,43 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
633
636
  }
634
637
  }, [
635
638
  S(t.$slots, "chart-background", {}, void 0, !0)
636
- ], 8, Il)) : v("", !0),
637
- p("defs", null, [
638
- p("linearGradient", {
639
- id: `hover_${M.value}`,
639
+ ], 8, Ol)) : v("", !0),
640
+ m("defs", null, [
641
+ m("linearGradient", {
642
+ id: `hover_${N.value}`,
640
643
  x1: "0%",
641
644
  y1: "0%",
642
645
  x2: "0%",
643
646
  y2: "100%"
644
647
  }, [
645
- p("stop", {
648
+ m("stop", {
646
649
  offset: "0%",
647
650
  "stop-color": i(Z)(e.value.style.chart.backgroundColor, e.value.style.chart.layout.highlighter.opacity)
648
- }, null, 8, Tl),
649
- p("stop", {
651
+ }, null, 8, Dl),
652
+ m("stop", {
650
653
  offset: "100%",
651
654
  "stop-color": i(Z)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity)
652
- }, null, 8, Ol)
653
- ], 8, Nl),
654
- p("radialGradient", {
655
- id: `focus_${M.value}`
655
+ }, null, 8, Fl)
656
+ ], 8, Pl),
657
+ m("radialGradient", {
658
+ id: `focus_${N.value}`
656
659
  }, [
657
- p("stop", {
660
+ m("stop", {
658
661
  offset: "0%",
659
- "stop-color": i(Z)(i(_e)(e.value.style.chart.backgroundColor), 0)
660
- }, null, 8, Dl),
661
- p("stop", {
662
+ "stop-color": i(Z)(i(Le)(e.value.style.chart.backgroundColor), 0)
663
+ }, null, 8, Rl),
664
+ m("stop", {
662
665
  offset: "77%",
663
666
  "stop-color": i(Z)("#FFFFFF", 30)
664
- }, null, 8, Fl),
665
- p("stop", {
667
+ }, null, 8, Vl),
668
+ m("stop", {
666
669
  offset: "100%",
667
- "stop-color": i(Z)(i(_e)(e.value.style.chart.backgroundColor), 0)
668
- }, null, 8, El)
669
- ], 8, Pl)
670
+ "stop-color": i(Z)(i(Le)(e.value.style.chart.backgroundColor), 0)
671
+ }, null, 8, Ml)
672
+ ], 8, El)
670
673
  ]),
671
- e.value.style.chart.layout.grid.show ? (u(), n("g", Rl, [
672
- p("line", {
674
+ e.value.style.chart.layout.grid.show ? (o(), n("g", Hl, [
675
+ m("line", {
673
676
  x1: r.value.left,
674
677
  x2: r.value.left,
675
678
  y1: r.value.top,
@@ -677,8 +680,8 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
677
680
  stroke: e.value.style.chart.layout.grid.stroke,
678
681
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
679
682
  "stroke-linecap": "round"
680
- }, null, 8, Vl),
681
- p("line", {
683
+ }, null, 8, Bl),
684
+ m("line", {
682
685
  x1: r.value.left,
683
686
  x2: r.value.right,
684
687
  y1: r.value.bottom,
@@ -686,9 +689,9 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
686
689
  stroke: e.value.style.chart.layout.grid.stroke,
687
690
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
688
691
  "stroke-linecap": "round"
689
- }, null, 8, Ml),
690
- e.value.style.chart.layout.grid.showVerticalLines ? (u(), n("g", Hl, [
691
- (u(!0), n(z, null, $(h.value.end - h.value.start, (l, s) => (u(), n("line", {
692
+ }, null, 8, Ul),
693
+ e.value.style.chart.layout.grid.showVerticalLines ? (o(), n("g", Xl, [
694
+ (o(!0), n(z, null, $(h.value.end - h.value.start, (l, s) => (o(), n("line", {
692
695
  x1: r.value.left + (s + 1) * k.value,
693
696
  x2: r.value.left + (s + 1) * k.value,
694
697
  y1: r.value.top,
@@ -696,11 +699,11 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
696
699
  stroke: e.value.style.chart.layout.grid.stroke,
697
700
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
698
701
  "stroke-linecap": "round"
699
- }, null, 8, Bl))), 256))
702
+ }, null, 8, Gl))), 256))
700
703
  ])) : v("", !0)
701
704
  ])) : v("", !0),
702
- p("g", null, [
703
- e.value.style.chart.layout.grid.axis.yLabel ? (u(), n("text", {
705
+ m("g", null, [
706
+ e.value.style.chart.layout.grid.axis.yLabel ? (o(), n("text", {
704
707
  key: 0,
705
708
  ref_key: "yAxisLabel",
706
709
  ref: de,
@@ -709,8 +712,8 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
709
712
  transform: `translate(${e.value.style.chart.layout.grid.axis.fontSize}, ${r.value.top + r.value.height / 2}) rotate(-90)`,
710
713
  "text-anchor": "middle",
711
714
  style: { transition: "none" }
712
- }, m(e.value.style.chart.layout.grid.axis.yLabel), 9, Ul)) : v("", !0),
713
- e.value.style.chart.layout.grid.axis.xLabel ? (u(), n("text", {
715
+ }, b(e.value.style.chart.layout.grid.axis.yLabel), 9, Wl)) : v("", !0),
716
+ e.value.style.chart.layout.grid.axis.xLabel ? (o(), n("text", {
714
717
  key: 1,
715
718
  ref_key: "xAxisLabel",
716
719
  ref: ve,
@@ -719,16 +722,16 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
719
722
  y: r.value.absoluteHeight - 3,
720
723
  "font-size": e.value.style.chart.layout.grid.axis.fontSize,
721
724
  fill: e.value.style.chart.layout.grid.axis.color
722
- }, m(e.value.style.chart.layout.grid.axis.xLabel), 9, Xl)) : v("", !0)
725
+ }, b(e.value.style.chart.layout.grid.axis.xLabel), 9, Yl)) : v("", !0)
723
726
  ]),
724
- e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (u(), n("g", {
727
+ e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (o(), n("g", {
725
728
  key: 2,
726
729
  ref_key: "scaleLabels",
727
730
  ref: ce,
728
- class: N({ "donut-opacity": !0, "donut-behind": g.value !== null })
731
+ class: O({ "donut-opacity": !0, "donut-behind": g.value !== null })
729
732
  }, [
730
- (u(!0), n(z, null, $(Vt.value, (l, s) => (u(), n("g", null, [
731
- l.value >= U.value.min && l.value <= U.value.max ? (u(), n("line", {
733
+ (o(!0), n(z, null, $(Mt.value, (l, s) => (o(), n("g", null, [
734
+ l.value >= U.value.min && l.value <= U.value.max ? (o(), n("line", {
732
735
  key: 0,
733
736
  x1: r.value.left,
734
737
  x2: r.value.left - 5,
@@ -736,8 +739,8 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
736
739
  y2: l.y,
737
740
  stroke: e.value.style.chart.layout.grid.stroke,
738
741
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
739
- }, null, 8, Gl)) : v("", !0),
740
- l.value >= U.value.min && l.value <= U.value.max ? (u(), n("text", {
742
+ }, null, 8, jl)) : v("", !0),
743
+ l.value >= U.value.min && l.value <= U.value.max ? (o(), n("text", {
741
744
  key: 1,
742
745
  x: r.value.left,
743
746
  y: l.y + e.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
@@ -745,7 +748,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
745
748
  "text-anchor": "end",
746
749
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
747
750
  "font-weight": e.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
748
- }, m(i(rl)(l.value) ? i(Se)(
751
+ }, b(i(cl)(l.value) ? i(Se)(
749
752
  e.value.style.chart.layout.dataLabels.formatter,
750
753
  l.value,
751
754
  i(re)({
@@ -755,136 +758,136 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
755
758
  r: e.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
756
759
  }),
757
760
  { datapoint: l, seriesIndex: s }
758
- ) : ""), 9, Wl)) : v("", !0)
761
+ ) : ""), 9, ql)) : v("", !0)
759
762
  ]))), 256))
760
763
  ], 2)) : v("", !0),
761
- e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (u(), n("g", {
764
+ e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (o(), n("g", {
762
765
  key: 3,
763
766
  ref_key: "timeLabelsEls",
764
767
  ref: te,
765
- class: N({ "donut-opacity": !0 })
768
+ class: O({ "donut-opacity": !0 })
766
769
  }, [
767
- (u(!0), n(z, null, $(h.value.end - h.value.start, (l, s) => (u(), n("g", null, [
768
- (e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (s === 0 || s === D.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) && C.value[s] && C.value[s].text ? (u(), n("g", Yl, [
769
- String(C.value[s].text).includes(`
770
- `) ? (u(), n("text", {
770
+ (o(!0), n(z, null, $(h.value.end - h.value.start, (l, s) => (o(), n("g", null, [
771
+ (e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (s === 0 || s === F.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) && _.value[s] && _.value[s].text ? (o(), n("g", Jl, [
772
+ String(_.value[s].text).includes(`
773
+ `) ? (o(), n("text", {
771
774
  key: 1,
772
775
  class: "vue-data-ui-time-label",
773
776
  "text-anchor": e.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
774
777
  "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
775
778
  fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
776
779
  transform: `translate(${r.value.left + k.value * s + k.value / 2}, ${r.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`,
777
- innerHTML: i(il)({
778
- content: String(C.value[s].text),
780
+ innerHTML: i(vl)({
781
+ content: String(_.value[s].text),
779
782
  fontSize: e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
780
783
  fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
781
784
  x: 0,
782
785
  y: 0
783
786
  })
784
- }, null, 8, ql)) : (u(), n("text", {
787
+ }, null, 8, Ql)) : (o(), n("text", {
785
788
  key: 0,
786
789
  class: "vue-data-ui-time-label",
787
790
  "text-anchor": e.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
788
791
  "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
789
792
  fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
790
793
  transform: `translate(${r.value.left + k.value * s + k.value / 2}, ${r.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
791
- }, m(C.value[s].text || ""), 9, jl))
794
+ }, b(_.value[s].text || ""), 9, Kl))
792
795
  ])) : v("", !0)
793
796
  ]))), 256))
794
797
  ], 512)) : v("", !0),
795
- (u(!0), n(z, null, $(L.value, (l, s) => (u(), n("g", null, [
796
- e.value.style.chart.layout.line.show && s < L.value.length - 1 && ![l.subtotal, L.value[s + 1].subtotal].includes(null) ? (u(), n("line", {
798
+ (o(!0), n(z, null, $(C.value, (l, s) => (o(), n("g", null, [
799
+ e.value.style.chart.layout.line.show && s < C.value.length - 1 && ![l.subtotal, C.value[s + 1].subtotal].includes(null) ? (o(), n("line", {
797
800
  key: 0,
798
- class: N({ "donut-opacity": !0, "donut-behind": g.value !== null }),
801
+ class: O({ "donut-opacity": !0, "donut-behind": g.value !== null }),
799
802
  x1: l.x,
800
803
  y1: l.y,
801
- x2: L.value[s + 1].x,
802
- y2: L.value[s + 1].y,
804
+ x2: C.value[s + 1].x,
805
+ y2: C.value[s + 1].y,
803
806
  stroke: e.value.style.chart.layout.line.stroke,
804
807
  "stroke-width": e.value.style.chart.layout.line.strokeWidth,
805
808
  "stroke-linecap": "round",
806
809
  "stroke-linejoin": "round"
807
- }, null, 10, Jl)) : v("", !0),
808
- l.subtotal !== null ? (u(), n("g", Kl, [
809
- l.subtotal ? (u(), n("circle", {
810
+ }, null, 10, Zl)) : v("", !0),
811
+ l.subtotal !== null ? (o(), n("g", ea, [
812
+ l.subtotal ? (o(), n("circle", {
810
813
  key: 0,
811
814
  cx: l.x,
812
815
  cy: l.y,
813
816
  r: l.activeRadius,
814
817
  fill: e.value.style.chart.backgroundColor
815
- }, null, 8, Ql)) : v("", !0)
818
+ }, null, 8, ta)) : v("", !0)
816
819
  ])) : v("", !0)
817
820
  ]))), 256)),
818
- (u(!0), n(z, null, $(L.value, (l, s) => (u(), n("g", {
819
- class: N({ "donut-opacity": !0, "donut-behind": s !== g.value && g.value !== null })
821
+ (o(!0), n(z, null, $(C.value, (l, s) => (o(), n("g", {
822
+ class: O({ "donut-opacity": !0, "donut-behind": s !== g.value && g.value !== null })
820
823
  }, [
821
- l.subtotal ? (u(), n("g", Zl, [
822
- g.value !== null && g.value === s ? (u(), n("g", ea, [
823
- (u(!0), n(z, null, $(l.donutHover, (o) => (u(), n("g", null, [
824
- nt(o) ? (u(), n("path", {
824
+ l.subtotal ? (o(), n("g", la, [
825
+ g.value !== null && g.value === s ? (o(), n("g", aa, [
826
+ (o(!0), n(z, null, $(l.donutHover, (u) => (o(), n("g", null, [
827
+ rt(u) ? (o(), n("path", {
825
828
  key: 0,
826
- d: i(cl)(o, { x: o.center.endX, y: o.center.endY }, 12, 12, { x: l.x, y: l.y }, !1, 20),
827
- stroke: o.color,
829
+ d: i(dl)(u, { x: u.center.endX, y: u.center.endY }, 12, 12, { x: l.x, y: l.y }, !1, 20),
830
+ stroke: u.color,
828
831
  "stroke-width": "1",
829
832
  "stroke-linecap": "round",
830
833
  "stroke-linejoin": "round",
831
834
  fill: "none"
832
- }, null, 8, ta)) : v("", !0)
835
+ }, null, 8, oa)) : v("", !0)
833
836
  ]))), 256)),
834
- (u(!0), n(z, null, $(l.donutHover, (o, y) => (u(), n("g", null, [
835
- nt(o) ? (u(), n("text", {
837
+ (o(!0), n(z, null, $(l.donutHover, (u, y) => (o(), n("g", null, [
838
+ rt(u) ? (o(), n("text", {
836
839
  key: 0,
837
840
  "data-cy-hover-label": "",
838
- "text-anchor": i(mt)(o, !0, 0).anchor,
839
- x: i(mt)(o, !0, 9).x,
840
- y: i(vl)(o, 14, 10),
841
+ "text-anchor": i(bt)(u, !0, 0).anchor,
842
+ x: i(bt)(u, !0, 9).x,
843
+ y: i(hl)(u, 14, 10),
841
844
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
842
845
  "font-size": 8,
843
846
  "font-weight": "bold"
844
- }, m(o.name) + ": " + m(Mt(o, l.donut)) + " (" + m(o.value === null ? "-" : Ze(o.value, o, y)) + ") ", 9, la)) : v("", !0)
847
+ }, b(u.name) + ": " + b(Ht(u, l.donut)) + " (" + b(u.value === null ? "-" : et(u.value, u, y)) + ") ", 9, ua)) : v("", !0)
845
848
  ]))), 256)),
846
- p("g", null, [
847
- p("circle", {
849
+ m("g", null, [
850
+ m("circle", {
848
851
  cx: l.x,
849
852
  cy: l.y,
850
853
  r: l.hoverRadius,
851
854
  fill: e.value.style.chart.backgroundColor
852
- }, null, 8, aa)
855
+ }, null, 8, sa)
853
856
  ])
854
857
  ])) : v("", !0)
855
858
  ])) : v("", !0)
856
859
  ], 2))), 256)),
857
- (u(!0), n(z, null, $(L.value, (l, s) => (u(), n("g", {
858
- class: N({ "donut-opacity": !0, "donut-behind": s !== g.value && g.value !== null })
860
+ (o(!0), n(z, null, $(C.value, (l, s) => (o(), n("g", {
861
+ class: O({ "donut-opacity": !0, "donut-behind": s !== g.value && g.value !== null })
859
862
  }, [
860
- l.subtotal !== null ? (u(), n("g", oa, [
861
- l.subtotal === 0 ? (u(), n("circle", {
863
+ l.subtotal !== null ? (o(), n("g", na, [
864
+ l.subtotal === 0 ? (o(), n("circle", {
862
865
  key: 0,
863
866
  cx: l.x,
864
867
  cy: l.y,
865
868
  r: 3,
866
869
  fill: e.value.style.chart.color
867
- }, null, 8, ua)) : g.value !== null && g.value === s ? (u(), n("g", sa, [
868
- (u(!0), n(z, null, $(l.donutHover, (o, y) => (u(), n("path", {
869
- d: o.arcSlice,
870
- fill: `${o.color}`,
870
+ }, null, 8, ra)) : g.value !== null && g.value === s ? (o(), n("g", ia, [
871
+ (o(!0), n(z, null, $(l.donutHover, (u, y) => (o(), n("path", {
872
+ d: u.arcSlice,
873
+ fill: `${u.color}`,
871
874
  "stroke-width": 1,
872
875
  stroke: e.value.style.chart.backgroundColor
873
- }, null, 8, na))), 256))
874
- ])) : (u(), n("g", ra, [
875
- (u(!0), n(z, null, $(l.donut, (o, y) => (u(), n("path", {
876
- d: o.arcSlice,
877
- fill: `${o.color}`,
876
+ }, null, 8, ca))), 256))
877
+ ])) : (o(), n("g", va, [
878
+ (o(!0), n(z, null, $(l.donut, (u, y) => (o(), n("path", {
879
+ d: u.arcSlice,
880
+ fill: `${u.color}`,
878
881
  "stroke-width": 0.5,
879
882
  stroke: e.value.style.chart.backgroundColor
880
- }, null, 8, ia))), 256))
883
+ }, null, 8, da))), 256))
881
884
  ]))
882
885
  ])) : v("", !0)
883
886
  ], 2))), 256)),
884
- (u(!0), n(z, null, $(L.value, (l, s) => (u(), n("g", {
885
- class: N({ "donut-opacity": !0, "donut-behind": s !== g.value && g.value !== null || ie.value && s !== E.value.index })
887
+ (o(!0), n(z, null, $(C.value, (l, s) => (o(), n("g", {
888
+ class: O({ "donut-opacity": !0, "donut-behind": s !== g.value && g.value !== null || ie.value && s !== R.value.index })
886
889
  }, [
887
- l.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (u(), n("text", {
890
+ l.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (o(), n("text", {
888
891
  key: 0,
889
892
  "text-anchor": "middle",
890
893
  x: l.x,
@@ -892,56 +895,56 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
892
895
  "font-size": e.value.style.chart.layout.dataLabels.fontSize,
893
896
  "font-weight": "bold",
894
897
  fill: e.value.style.chart.layout.dataLabels.color
895
- }, m(Ze(l.subtotal, l, s)), 9, ca)) : v("", !0)
898
+ }, b(et(l.subtotal, l, s)), 9, ha)) : v("", !0)
896
899
  ], 2))), 256)),
897
- (u(!0), n(z, null, $(L.value, (l, s) => (u(), n("rect", {
900
+ (o(!0), n(z, null, $(C.value, (l, s) => (o(), n("rect", {
898
901
  x: r.value.left + s * k.value,
899
902
  y: r.value.top,
900
903
  width: k.value,
901
904
  height: r.value.height,
902
- fill: [g.value, q.value].includes(l.index) ? `url(#hover_${M.value})` : "transparent",
903
- class: N({ "donut-hover": l.subtotal && [g.value, q.value].includes(l.index) }),
905
+ fill: [g.value, q.value].includes(l.index) ? `url(#hover_${N.value})` : "transparent",
906
+ class: O({ "donut-hover": l.subtotal && [g.value, q.value].includes(l.index) }),
904
907
  style: {
905
908
  pointerEvents: "none"
906
909
  }
907
- }, null, 10, va))), 256)),
908
- (u(!0), n(z, null, $(L.value, (l, s) => (u(), n("rect", {
910
+ }, null, 10, ya))), 256)),
911
+ (o(!0), n(z, null, $(C.value, (l, s) => (o(), n("rect", {
909
912
  "data-cy-trap": "",
910
913
  x: r.value.left + s * k.value,
911
914
  y: r.value.top,
912
915
  width: k.value,
913
916
  height: r.value.height,
914
917
  fill: "transparent",
915
- onMouseenter: (o) => Ht(l),
916
- onMouseleave: (o) => et(l),
917
- onClick: (o) => tt(l, s),
918
- class: N({ "donut-hover": g.value === l.index && l.subtotal })
919
- }, null, 42, da))), 256)),
918
+ onMouseenter: (u) => Bt(l),
919
+ onMouseleave: (u) => tt(l),
920
+ onClick: (u) => lt(l, s),
921
+ class: O({ "donut-hover": g.value === l.index && l.subtotal })
922
+ }, null, 42, fa))), 256)),
920
923
  S(t.$slots, "svg", { svg: r.value }, void 0, !0)
921
- ], 14, $l)),
922
- t.$slots.watermark ? (u(), n("div", ha, [
923
- S(t.$slots, "watermark", K(Q({ isPrinting: i(je) || i(qe) })), void 0, !0)
924
+ ], 14, Nl)),
925
+ t.$slots.watermark ? (o(), n("div", ga, [
926
+ S(t.$slots, "watermark", K(Q({ isPrinting: i(qe) || i(Je) })), void 0, !0)
924
927
  ])) : v("", !0),
925
- p("div", {
928
+ m("div", {
926
929
  ref_key: "chartSlicer",
927
- ref: Ee,
930
+ ref: Re,
928
931
  style: J(`width:100%;background:${e.value.style.chart.backgroundColor}`),
929
932
  "data-dom-to-png-ignore": ""
930
933
  }, [
931
- D.value > 1 && e.value.style.chart.zoom.show ? (u(), T(kl, {
934
+ F.value > 1 && e.value.style.chart.zoom.show ? (o(), T(_l, {
932
935
  ref_key: "slicerComponent",
933
- ref: Fe,
936
+ ref: Ee,
934
937
  key: `slicer_${$e.value}`,
935
938
  background: e.value.style.chart.zoom.color,
936
939
  borderColor: e.value.style.chart.backgroundColor,
937
940
  fontSize: e.value.style.chart.zoom.fontSize,
938
941
  useResetSlot: e.value.style.chart.zoom.useResetSlot,
939
- labelLeft: C.value[0] ? C.value[0].text : "",
940
- labelRight: C.value.at(-1) ? C.value.at(-1).text : "",
942
+ labelLeft: _.value[0] ? _.value[0].text : "",
943
+ labelRight: _.value.at(-1) ? _.value.at(-1).text : "",
941
944
  textColor: e.value.style.chart.color,
942
945
  inputColor: e.value.style.chart.zoom.color,
943
946
  selectColor: e.value.style.chart.zoom.highlightColor,
944
- max: D.value,
947
+ max: F.value,
945
948
  min: 0,
946
949
  valueStart: h.value.start,
947
950
  valueEnd: h.value.end,
@@ -950,61 +953,69 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
950
953
  end: h.value.end,
951
954
  "onUpdate:end": a[1] || (a[1] = (l) => h.value.end = l),
952
955
  refreshStartPoint: e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex : 0,
953
- refreshEndPoint: e.value.style.chart.zoom.endIndex !== null ? e.value.style.chart.zoom.endIndex + 1 : D.value,
956
+ refreshEndPoint: e.value.style.chart.zoom.endIndex !== null ? e.value.style.chart.zoom.endIndex + 1 : F.value,
954
957
  enableRangeHandles: e.value.style.chart.zoom.enableRangeHandles,
955
958
  enableSelectionDrag: e.value.style.chart.zoom.enableSelectionDrag,
956
- onReset: Xe
959
+ onReset: Ge
957
960
  }, {
958
- "reset-action": _(({ reset: l }) => [
961
+ "reset-action": L(({ reset: l }) => [
959
962
  S(t.$slots, "reset-action", K(Q({ reset: l })), void 0, !0)
960
963
  ]),
961
964
  _: 3
962
965
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"])) : v("", !0)
963
966
  ], 4),
964
- p("div", {
965
- ref_key: "chartLegend",
966
- ref: Pe
967
- }, [
968
- e.value.style.chart.legend.show ? (u(), T(pl, {
969
- key: `legend_${Te.value}`,
970
- legendSet: lt.value,
971
- config: Bt.value,
972
- onClickMarker: a[2] || (a[2] = ({ legend: l }) => pe(l.uid))
973
- }, {
974
- item: _(({ legend: l, index: s }) => [
975
- p("div", {
976
- onClick: (o) => pe(l.uid),
977
- style: J(`opacity:${w.value.includes(l.uid) ? 0.5 : 1}`)
978
- }, m(l.name) + m(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + m(e.value.style.chart.legend.showValue ? i(Se)(
979
- e.value.style.chart.layout.dataLabels.formatter,
980
- l.value,
981
- i(re)({
982
- p: e.value.style.chart.layout.dataLabels.prefix,
983
- v: l.value,
984
- s: e.value.style.chart.layout.dataLabels.suffix,
985
- r: e.value.style.chart.legend.roundingValue
986
- }),
987
- { datapoint: l, seriesIndex: s }
988
- ) : "") + " " + m(e.value.style.chart.legend.showPercentage ? w.value.includes(l.uid) ? `${e.value.style.chart.legend.showValue ? "(" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(l.value / at.value) ? "-" : i(re)({
989
- v: l.value / at.value * 100,
990
- s: "%",
991
- r: e.value.style.chart.legend.roundingPercentage
992
- })}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""), 13, ya)
993
- ]),
994
- _: 1
995
- }, 8, ["legendSet", "config"])) : v("", !0),
996
- S(t.$slots, "legend", { legend: lt.value }, void 0, !0)
997
- ], 512),
998
- t.$slots.source ? (u(), n("div", {
967
+ m("div", {
968
+ id: `legend-bottom-${N.value}`
969
+ }, null, 8, ma),
970
+ Oe.value ? (o(), T(tl, {
999
971
  key: 5,
972
+ to: e.value.style.chart.legend.position === "top" ? `#legend-top-${N.value}` : `#legend-bottom-${N.value}`
973
+ }, [
974
+ m("div", {
975
+ ref_key: "chartLegend",
976
+ ref: De
977
+ }, [
978
+ e.value.style.chart.legend.show ? (o(), T(wl, {
979
+ key: `legend_${Ne.value}`,
980
+ legendSet: at.value,
981
+ config: Ut.value,
982
+ onClickMarker: a[2] || (a[2] = ({ legend: l }) => pe(l.uid))
983
+ }, {
984
+ item: L(({ legend: l, index: s }) => [
985
+ m("div", {
986
+ onClick: (u) => pe(l.uid),
987
+ style: J(`opacity:${w.value.includes(l.uid) ? 0.5 : 1}`)
988
+ }, b(l.name) + b(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + b(e.value.style.chart.legend.showValue ? i(Se)(
989
+ e.value.style.chart.layout.dataLabels.formatter,
990
+ l.value,
991
+ i(re)({
992
+ p: e.value.style.chart.layout.dataLabels.prefix,
993
+ v: l.value,
994
+ s: e.value.style.chart.layout.dataLabels.suffix,
995
+ r: e.value.style.chart.legend.roundingValue
996
+ }),
997
+ { datapoint: l, seriesIndex: s }
998
+ ) : "") + " " + b(e.value.style.chart.legend.showPercentage ? w.value.includes(l.uid) ? `${e.value.style.chart.legend.showValue ? "(" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(l.value / ot.value) ? "-" : i(re)({
999
+ v: l.value / ot.value * 100,
1000
+ s: "%",
1001
+ r: e.value.style.chart.legend.roundingPercentage
1002
+ })}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""), 13, ba)
1003
+ ]),
1004
+ _: 1
1005
+ }, 8, ["legendSet", "config"])) : v("", !0),
1006
+ S(t.$slots, "legend", { legend: at.value }, void 0, !0)
1007
+ ], 512)
1008
+ ], 8, ["to"])) : v("", !0),
1009
+ t.$slots.source ? (o(), n("div", {
1010
+ key: 6,
1000
1011
  ref_key: "source",
1001
- ref: De,
1012
+ ref: Fe,
1002
1013
  dir: "auto"
1003
1014
  }, [
1004
1015
  S(t.$slots, "source", {}, void 0, !0)
1005
1016
  ], 512)) : v("", !0),
1006
- Me.value ? (u(), T(i(Lt), {
1007
- key: 6,
1017
+ He.value ? (o(), T(i(Lt), {
1018
+ key: 7,
1008
1019
  hideDetails: "",
1009
1020
  config: {
1010
1021
  open: B.value.showTable,
@@ -1019,9 +1030,9 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
1019
1030
  }
1020
1031
  }
1021
1032
  }, {
1022
- content: _(() => [
1023
- (u(), T(i(At), {
1024
- key: `table_${Ne.value}`,
1033
+ content: L(() => [
1034
+ (o(), T(i(St), {
1035
+ key: `table_${Te.value}`,
1025
1036
  colNames: X.value.colNames,
1026
1037
  head: X.value.head,
1027
1038
  body: X.value.body,
@@ -1029,48 +1040,48 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Il = ["x", "y", "width", "height"]
1029
1040
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
1030
1041
  onClose: a[3] || (a[3] = (l) => B.value.showTable = !1)
1031
1042
  }, {
1032
- th: _(({ th: l }) => [
1033
- dt(m(l.name ?? l), 1)
1043
+ th: L(({ th: l }) => [
1044
+ ht(b(l.name ?? l), 1)
1034
1045
  ]),
1035
- td: _(({ td: l }) => [
1036
- l.value === null ? (u(), n("span", fa, "-")) : (u(), n("b", ga, m(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + m(!isNaN(l.value) && l.value !== null ? Number(l.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : l) + m(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
1037
- p("span", null, m(l.percentage && !isNaN(l.percentage) ? `(${Number(l.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
1046
+ td: L(({ td: l }) => [
1047
+ l.value === null ? (o(), n("span", xa, "-")) : (o(), n("b", pa, b(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + b(!isNaN(l.value) && l.value !== null ? Number(l.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : l) + b(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
1048
+ m("span", null, b(l.percentage && !isNaN(l.percentage) ? `(${Number(l.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
1038
1049
  ]),
1039
1050
  _: 1
1040
1051
  }, 8, ["colNames", "head", "body", "config", "title"]))
1041
1052
  ]),
1042
1053
  _: 1
1043
1054
  }, 8, ["config"])) : v("", !0),
1044
- e.value.style.chart.dialog.show ? (u(), T(i(_t), {
1045
- key: 7,
1055
+ e.value.style.chart.dialog.show ? (o(), T(i(At), {
1056
+ key: 8,
1046
1057
  ref_key: "dialog",
1047
1058
  ref: we,
1048
1059
  onClose: a[4] || (a[4] = (l) => {
1049
- E.value = null, ie.value = !1, ee.value = null, g.value = null, q.value = null;
1060
+ R.value = null, ie.value = !1, ee.value = null, g.value = null, q.value = null;
1050
1061
  }),
1051
1062
  backgroundColor: e.value.style.chart.dialog.backgroundColor,
1052
1063
  color: e.value.style.chart.dialog.color,
1053
1064
  headerBg: e.value.style.chart.dialog.header.backgroundColor,
1054
1065
  headerColor: e.value.style.chart.dialog.header.color,
1055
1066
  isFullscreen: G.value,
1056
- fullscreenParent: P.value
1067
+ fullscreenParent: D.value
1057
1068
  }, {
1058
- title: _(() => [
1059
- dt(m(C.value[Number(E.value.index)] ? C.value[Number(E.value.index)].text : ""), 1)
1069
+ title: L(() => [
1070
+ ht(b(_.value[Number(R.value.index)] ? _.value[Number(R.value.index)].text : ""), 1)
1060
1071
  ]),
1061
- default: _(() => [
1062
- E.value ? (u(), T(i(It), {
1072
+ default: L(() => [
1073
+ R.value ? (o(), T(i(Tt), {
1063
1074
  key: 0,
1064
- config: it.value,
1065
- dataset: rt.value
1075
+ config: ct.value,
1076
+ dataset: it.value
1066
1077
  }, null, 8, ["config", "dataset"])) : v("", !0)
1067
1078
  ]),
1068
1079
  _: 1
1069
1080
  }, 8, ["backgroundColor", "color", "headerBg", "headerColor", "isFullscreen", "fullscreenParent"])) : v("", !0),
1070
- i(Be) ? (u(), T(Al, { key: 8 })) : v("", !0)
1071
- ], 46, zl));
1081
+ i(Ue) ? (o(), T(zl, { key: 9 })) : v("", !0)
1082
+ ], 46, Il));
1072
1083
  }
1073
- }, Oa = /* @__PURE__ */ Sl(ma, [["__scopeId", "data-v-58bc97c2"]]);
1084
+ }, Ea = /* @__PURE__ */ $l(ka, [["__scopeId", "data-v-7a81cb76"]]);
1074
1085
  export {
1075
- Oa as default
1086
+ Ea as default
1076
1087
  };