vue-data-ui 2.13.4 → 2.13.5-beta.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/dist/{Arrow-Cv5RKI2K.js → Arrow-C3OUEgpB.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CbNaTai1.js → BaseDraggableDialog-DnNYonqn.js} +2 -2
  3. package/dist/{BaseIcon-B90jg7Eo.js → BaseIcon-BXqxz5Sj.js} +1 -1
  4. package/dist/{ColorPicker-DrHXo6NB.js → ColorPicker-DoIZhU9b.js} +2 -2
  5. package/dist/{DataTable-DOdmEVBM.js → DataTable-Bj6Ydy9P.js} +2 -2
  6. package/dist/{Legend-D7As_VVi.js → Legend-t1_8zs04.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-Qe1IsvyR.js → NonSvgPenAndPaper-BpsI9iLs.js} +3 -3
  8. package/dist/{PackageVersion-CJ0MHPau.js → PackageVersion-BEHb0q4B.js} +2 -2
  9. package/dist/{PenAndPaper-CsV9xVqP.js → PenAndPaper-X98t5VLX.js} +3 -3
  10. package/dist/{Shape-CMT3DgWJ.js → Shape-CFhc5s4r.js} +1 -1
  11. package/dist/{Slicer-kZ-UNW0I.js → Slicer-CUzPIV_Q.js} +161 -161
  12. package/dist/{SparkTooltip-DgaaFrSC.js → SparkTooltip-DPOcU4g7.js} +1 -1
  13. package/dist/{Title-Cuxd1Hw4.js → Title-DflHEZT5.js} +1 -1
  14. package/dist/{Tooltip-nm6v9SvD.js → Tooltip-C3ynHP3c.js} +1 -1
  15. package/dist/{UserOptions-B4olqrwb.js → UserOptions-C1T-b-S9.js} +2 -2
  16. package/dist/{dom-to-png-JxvpNdgk.js → dom-to-png-RHCXezBI.js} +1 -1
  17. package/dist/{img-BrSPXg54.js → img-D0AKqn5i.js} +1 -1
  18. package/dist/{index-DXfqC_CG.js → index-BEMxBoT7.js} +702 -683
  19. package/dist/{pdf-CRNRsa97.js → pdf-BMzqplSX.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/{useNestedProp-CUF1PWxQ.js → useNestedProp-B6UPnf4L.js} +1 -1
  24. package/dist/{usePrinter-DGQh_spY.js → usePrinter-DWaS917G.js} +2 -2
  25. package/dist/useTimeLabels-Mrr0jrpL.js +242 -0
  26. package/dist/{vue-data-ui-tkhMq-bw.js → vue-data-ui-BfIuGUYs.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-Dwdfdqch.js → vue-ui-3d-bar-D0q_qgNm.js} +5 -5
  29. package/dist/{vue-ui-accordion-D-tjbzQS.js → vue-ui-accordion-C7e5Xia0.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-BZmYWVrS.js → vue-ui-age-pyramid-BsfkR8jg.js} +5 -5
  31. package/dist/{vue-ui-annotator-DBrXod-O.js → vue-ui-annotator-CW9fvw1T.js} +2 -2
  32. package/dist/{vue-ui-bullet-ur-PTrPw.js → vue-ui-bullet-DJHysSYg.js} +6 -6
  33. package/dist/{vue-ui-candlestick-72UivaQY.js → vue-ui-candlestick-CNMTAz8d.js} +96 -96
  34. package/dist/{vue-ui-carousel-table-CApme8lg.js → vue-ui-carousel-table-BWfzU6Qx.js} +4 -4
  35. package/dist/{vue-ui-chestnut-jcZZ8cOw.js → vue-ui-chestnut-cCfLknDI.js} +4 -4
  36. package/dist/{vue-ui-chord-A9jGFNM2.js → vue-ui-chord-DVg1z3y3.js} +7 -7
  37. package/dist/{vue-ui-circle-pack-DPnOBq40.js → vue-ui-circle-pack-0HQSE9cp.js} +5 -5
  38. package/dist/{vue-ui-cursor-Cby6-Vrh.js → vue-ui-cursor-ChpHp2H0.js} +2 -2
  39. package/dist/{vue-ui-dashboard-BGzORkrX.js → vue-ui-dashboard-F6_kHI3r.js} +62 -62
  40. package/dist/{vue-ui-digits-Dhxd38mc.js → vue-ui-digits-ShTxYTC8.js} +2 -2
  41. package/dist/{vue-ui-donut-DsFBb3Cl.js → vue-ui-donut-DP9WtSxW.js} +7 -7
  42. package/dist/{vue-ui-donut-evolution-B-Bo4b4Y.js → vue-ui-donut-evolution-YT5ZJW2Y.js} +320 -313
  43. package/dist/{vue-ui-dumbbell-EVSJdr9V.js → vue-ui-dumbbell-Bb4XqYRY.js} +6 -6
  44. package/dist/{vue-ui-flow-Cr1-ETyc.js → vue-ui-flow-C2SPlvhP.js} +6 -6
  45. package/dist/{vue-ui-funnel-BQ0LckzE.js → vue-ui-funnel-BhrXceny.js} +83 -83
  46. package/dist/{vue-ui-galaxy-_fwGK1PY.js → vue-ui-galaxy-C0PPYSd-.js} +4 -4
  47. package/dist/{vue-ui-gauge-BrnOoF9C.js → vue-ui-gauge-D6sNadFY.js} +5 -5
  48. package/dist/{vue-ui-gizmo-tgjSYkeV.js → vue-ui-gizmo-BC-o1DHn.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CamaTaei.js → vue-ui-heatmap-B8x1W-nI.js} +6 -6
  50. package/dist/{vue-ui-history-plot-DSBQu-9Y.js → vue-ui-history-plot-BAyk-3CM.js} +103 -103
  51. package/dist/{vue-ui-kpi-OCtgONK3.js → vue-ui-kpi-DIE6vcpv.js} +3 -3
  52. package/dist/{vue-ui-mini-loader--xzmMUNI.js → vue-ui-mini-loader-Cj071PI3.js} +2 -2
  53. package/dist/{vue-ui-molecule-DnkENzdw.js → vue-ui-molecule-DQO5BDp6.js} +4 -4
  54. package/dist/{vue-ui-mood-radar-DKP1rjSd.js → vue-ui-mood-radar-BYPd51VJ.js} +6 -6
  55. package/dist/{vue-ui-nested-donuts-CHwTDQ9J.js → vue-ui-nested-donuts-DTT__aTf.js} +6 -6
  56. package/dist/{vue-ui-onion-BxaynRPn.js → vue-ui-onion-DoUZQqBZ.js} +6 -6
  57. package/dist/{vue-ui-parallel-coordinate-plot-ohCDDK1Q.js → vue-ui-parallel-coordinate-plot-CjrOQscm.js} +175 -175
  58. package/dist/{vue-ui-quadrant-DXZsVWe3.js → vue-ui-quadrant-BXLvofYH.js} +7 -7
  59. package/dist/{vue-ui-quick-chart-C_ofgdSY.js → vue-ui-quick-chart-BWTN2358.js} +464 -457
  60. package/dist/{vue-ui-radar-CLa2PHHK.js → vue-ui-radar-Dv0eQPcW.js} +6 -6
  61. package/dist/{vue-ui-rating-GiRUw1Wv.js → vue-ui-rating-zyFM93Tp.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-BJ1M2Pnc.js → vue-ui-relation-circle-DIBkxk5e.js} +96 -96
  63. package/dist/{vue-ui-ridgeline-E_7xjHTY.js → vue-ui-ridgeline-B9z-ORep.js} +320 -311
  64. package/dist/{vue-ui-rings-BiOAND3T.js → vue-ui-rings-jtf8ll5F.js} +7 -7
  65. package/dist/{vue-ui-scatter-Bai9QSqI.js → vue-ui-scatter-CmvCQImE.js} +7 -7
  66. package/dist/{vue-ui-skeleton-B2N_3mr0.js → vue-ui-skeleton-7wen4XQb.js} +3 -3
  67. package/dist/{vue-ui-smiley-DAvm3IGu.js → vue-ui-smiley-DaGSvGIY.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-D4EwvdX0.js → vue-ui-spark-trend-DRTxC8eE.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-DM_2iDVI.js → vue-ui-sparkbar-gfE4GIbG.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-UW6sVQdV.js → vue-ui-sparkgauge-B4kyaulL.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-CF0JPKYB.js → vue-ui-sparkhistogram-BPPiIjWx.js} +4 -4
  72. package/dist/{vue-ui-sparkline-Dg8j2KTF.js → vue-ui-sparkline-BSs_4MC7.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-CqT_oEk7.js → vue-ui-sparkstackbar-DhJKC48a.js} +3 -3
  74. package/dist/vue-ui-stackbar-Bk7fp_vq.js +1130 -0
  75. package/dist/{vue-ui-strip-plot-BR66rY0G.js → vue-ui-strip-plot-CiVt2kbg.js} +73 -73
  76. package/dist/{vue-ui-table-Dk0eXTU9.js → vue-ui-table-fpLjUzPK.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-Brldpa0g.js → vue-ui-table-heatmap-H_ryeweZ.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-DxQrZBCR.js → vue-ui-table-sparkline-C1ma6_Ar.js} +4 -4
  79. package/dist/{vue-ui-thermometer-B_OrqIjE.js → vue-ui-thermometer-Ky-qjFCz.js} +5 -5
  80. package/dist/{vue-ui-timer-Cz0J-s5D.js → vue-ui-timer-BHYQNvLq.js} +8 -8
  81. package/dist/{vue-ui-tiremarks-B1B3h-Vi.js → vue-ui-tiremarks-ZvPq6eN_.js} +5 -5
  82. package/dist/{vue-ui-treemap-CMm6fSIO.js → vue-ui-treemap-NDD1qpZr.js} +7 -7
  83. package/dist/{vue-ui-vertical-bar-DA2Xpx46.js → vue-ui-vertical-bar-HdSfwFxS.js} +8 -8
  84. package/dist/{vue-ui-waffle-U3NxGQ3l.js → vue-ui-waffle-CDwAOcMT.js} +7 -7
  85. package/dist/{vue-ui-wheel-WNOVLYp8.js → vue-ui-wheel-B6kqjg11.js} +5 -5
  86. package/dist/{vue-ui-word-cloud-_TBCcmAV.js → vue-ui-word-cloud-BTMR_Fap.js} +5 -5
  87. package/dist/{vue-ui-world-DREkLtrD.js → vue-ui-world-CJ85QHjo.js} +5 -5
  88. package/dist/{vue-ui-xy-CIiqKrxF.js → vue-ui-xy-BlRRpP-g.js} +680 -668
  89. package/dist/{vue-ui-xy-canvas-ClHv-Wlu.js → vue-ui-xy-canvas-C6my3Rhf.js} +398 -390
  90. package/package.json +1 -1
  91. package/dist/vue-ui-stackbar-By7DVfJV.js +0 -1132
@@ -1,139 +1,140 @@
1
- import { defineAsyncComponent as de, ref as L, computed as U, watch as De, shallowRef as ct, onMounted as Et, onBeforeUnmount as Pt, nextTick as Re, createElementBlock as l, openBlock as a, normalizeStyle as R, normalizeClass as ce, createBlock as Me, createCommentVNode as g, createVNode as he, unref as f, createSlots as Ot, withCtx as G, renderSlot as M, normalizeProps as oe, guardReactiveProps as ne, toDisplayString as P, createElementVNode as _, Fragment as m, renderList as $, mergeProps as Ve } from "vue";
2
- import { u as Tt, c as Rt, t as Mt, p as q, a as Nt, C as ht, b as Ft, H as Ut, e as Bt, d as qe, m as Dt, D as ft, X as Vt, j as qt, k as He, n as _e, i as X, f as D, U as gt, v as Z, x as Ne, y as We } from "./index-DXfqC_CG.js";
3
- import { t as Ht, u as Wt } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as mt } from "./useNestedProp-CUF1PWxQ.js";
5
- import { u as jt } from "./usePrinter-DGQh_spY.js";
6
- import { u as Gt } from "./useChartAccessibility-9icAAmYg.js";
7
- import { S as Xt } from "./Slicer-kZ-UNW0I.js";
8
- import { _ as Zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
1
+ import { defineAsyncComponent as ce, ref as z, computed as U, watch as Ve, shallowRef as ht, onMounted as Ot, onBeforeUnmount as Tt, nextTick as Me, createElementBlock as l, openBlock as a, normalizeStyle as R, normalizeClass as he, createBlock as Ne, createCommentVNode as g, createVNode as fe, unref as f, createSlots as Pt, withCtx as G, renderSlot as M, normalizeProps as ne, guardReactiveProps as ue, toDisplayString as O, createElementVNode as _, Fragment as m, renderList as $, mergeProps as qe } from "vue";
2
+ import { u as Rt, c as Mt, t as Nt, p as q, a as Ft, C as ft, b as Ut, H as Dt, e as Bt, d as He, m as Vt, D as gt, X as qt, j as Ht, k as We, n as Le, i as X, f as B, U as mt, v as Z, x as Fe, y as je } from "./index-BEMxBoT7.js";
3
+ import { t as Wt, u as jt } from "./useResponsive-JZ9xq-JV.js";
4
+ import { u as pt } from "./useNestedProp-B6UPnf4L.js";
5
+ import { u as Gt } from "./usePrinter-DWaS917G.js";
6
+ import { u as Xt } from "./useChartAccessibility-9icAAmYg.js";
7
+ import { S as Zt } from "./Slicer-CUzPIV_Q.js";
8
+ import { u as Yt } from "./useTimeLabels-Mrr0jrpL.js";
9
+ import { _ as Jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
10
  const A = {
10
11
  LINE: "LINE",
11
12
  BAR: "BAR",
12
13
  DONUT: "DONUT"
13
- }, Yt = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
14
- function Jt({ dataset: c, barLineSwitch: C = 6 }) {
15
- let y = null, O = null, H = 0;
16
- if ((typeof c == "number" || typeof c == "string") && console.warn(`The provided dataset (${c}) is not sufficient to build a chart`), ze(c) && (Y(c) && (c.length < C ? y = A.BAR : y = A.LINE, O = c, H = c.length), Fe(c))) {
17
- if (!Kt(c))
14
+ }, Qt = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
15
+ function Kt({ dataset: c, barLineSwitch: C = 6 }) {
16
+ let y = null, T = null, H = 0;
17
+ if ((typeof c == "number" || typeof c == "string") && console.warn(`The provided dataset (${c}) is not sufficient to build a chart`), ze(c) && (Y(c) && (c.length < C ? y = A.BAR : y = A.LINE, T = c, H = c.length), Ue(c))) {
18
+ if (!ta(c))
18
19
  return console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
19
- const me = Object.keys(c[0]), Le = Object.values(c[0]);
20
- if (!me.some((N) => ea(N)))
20
+ const pe = Object.keys(c[0]), $e = Object.values(c[0]);
21
+ if (!pe.some((N) => aa(N)))
21
22
  return console.warn("The data type of the dataset objects in the array must contain one of the following keys: DATA, SERIES, VALUE, VALUES, NUM. Casing is not important."), !1;
22
- pt(Le, (N) => typeof N == "number") && (y = A.DONUT, O = c), pt(Le, (N) => Array.isArray(N) && Y(N)) && (yt(c) > C ? y = A.LINE : y = A.BAR, H = yt(c), O = c.map((N) => ({
23
+ yt($e, (N) => typeof N == "number") && (y = A.DONUT, T = c), yt($e, (N) => Array.isArray(N) && Y(N)) && (xt(c) > C ? y = A.LINE : y = A.BAR, H = xt(c), T = c.map((N) => ({
23
24
  ...N,
24
- data: ta(N, (B) => Y(B))
25
- }))), c = c.map((N) => xt(N)), O = O.map((N) => xt(N));
25
+ data: la(N, (D) => Y(D))
26
+ }))), c = c.map((N) => kt(N)), T = T.map((N) => kt(N));
26
27
  }
27
- return ze(c) && [...new Set(c.flatMap((me) => Array.isArray(me)))][0], {
28
+ return ze(c) && [...new Set(c.flatMap((pe) => Array.isArray(pe)))][0], {
28
29
  dataset: c,
29
30
  type: y,
30
- usableDataset: O,
31
+ usableDataset: T,
31
32
  maxSeriesLength: H
32
33
  };
33
34
  }
34
- function kt(c) {
35
+ function bt(c) {
35
36
  return !c || ze(c) && !c.length;
36
37
  }
37
38
  function ze(c) {
38
39
  return Array.isArray(c);
39
40
  }
40
41
  function Y(c) {
41
- if (!ze(c) || kt(c)) return !1;
42
+ if (!ze(c) || bt(c)) return !1;
42
43
  const C = c.map((y) => Number(y));
43
44
  return ![...new Set(C.flatMap((y) => typeof y == "number" && !isNaN(y)))].includes(!1);
44
45
  }
45
- function Fe(c) {
46
- return !ze(c) || kt(c) || !![...new Set(c.flatMap((y) => typeof y == "object" && !Array.isArray(y)))].includes(!1) ? !1 : !c.map((y) => Object.keys(y).length > 0).includes(!1);
46
+ function Ue(c) {
47
+ return !ze(c) || bt(c) || !![...new Set(c.flatMap((y) => typeof y == "object" && !Array.isArray(y)))].includes(!1) ? !1 : !c.map((y) => Object.keys(y).length > 0).includes(!1);
47
48
  }
48
- function Qt(c, C) {
49
- const y = Object.keys(c).sort(), O = Object.keys(C).sort();
50
- if (y.length !== O.length)
49
+ function ea(c, C) {
50
+ const y = Object.keys(c).sort(), T = Object.keys(C).sort();
51
+ if (y.length !== T.length)
51
52
  return !1;
52
53
  for (let H = 0; H < y.length; H += 1) {
53
- const fe = y[H], ge = O[H];
54
- if (fe !== ge || typeof c[fe] != typeof C[ge])
54
+ const ge = y[H], me = T[H];
55
+ if (ge !== me || typeof c[ge] != typeof C[me])
55
56
  return !1;
56
57
  }
57
58
  return !0;
58
59
  }
59
- function Kt(c) {
60
+ function ta(c) {
60
61
  if (c.length <= 1) return !0;
61
62
  for (let C = 0; C < c.length; C += 1)
62
63
  for (let y = C + 1; y < c.length; y += 1)
63
- if (!Qt(c[C], c[y]))
64
+ if (!ea(c[C], c[y]))
64
65
  return !1;
65
66
  return !0;
66
67
  }
67
- function ea(c) {
68
- return Yt.includes(c.toUpperCase());
68
+ function aa(c) {
69
+ return Qt.includes(c.toUpperCase());
69
70
  }
70
- function pt(c, C) {
71
+ function yt(c, C) {
71
72
  let y = [];
72
- for (let O = 0; O < c.length; O += 1)
73
- y.push(C(c[O]));
73
+ for (let T = 0; T < c.length; T += 1)
74
+ y.push(C(c[T]));
74
75
  return y.includes(!0);
75
76
  }
76
- function yt(c) {
77
+ function xt(c) {
77
78
  return Math.max(...[...c].flatMap((C) => Object.values(C).filter((y) => Y(y)).map((y) => y.length)));
78
79
  }
79
- function ta(c, C) {
80
+ function la(c, C) {
80
81
  return Object.values(c).filter((y) => C(y))[0];
81
82
  }
82
- function xt(c) {
83
+ function kt(c) {
83
84
  const C = {};
84
85
  for (let y in c)
85
86
  c.hasOwnProperty(y) && (C[y.toUpperCase()] = c[y]);
86
87
  return C;
87
88
  }
88
- const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"], na = ["x", "y", "width", "height"], ua = ["width", "height"], ia = ["id"], ra = ["id"], sa = ["id"], va = ["flood-color"], da = {
89
+ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"], ia = ["x", "y", "width", "height"], ra = ["width", "height"], sa = ["id"], va = ["id"], da = ["id"], ca = ["flood-color"], ha = {
89
90
  key: 0,
90
91
  class: "donut-label-connectors"
91
- }, ca = ["d", "stroke", "stroke-width", "filter"], ha = ["cx", "cy", "r", "fill", "filter"], fa = { class: "donut" }, ga = ["d", "fill", "stroke", "stroke-width", "filter"], ma = ["d", "onMouseenter", "onClick"], pa = {
92
+ }, fa = ["d", "stroke", "stroke-width", "filter"], ga = ["cx", "cy", "r", "fill", "filter"], ma = { class: "donut" }, pa = ["d", "fill", "stroke", "stroke-width", "filter"], ya = ["d", "onMouseenter", "onClick"], xa = {
92
93
  key: 1,
93
94
  class: "donut-labels quick-animation"
94
- }, ya = ["cx", "cy", "fill", "stroke", "filter"], xa = ["text-anchor", "x", "y", "fill", "font-size", "filter"], ka = ["text-anchor", "x", "y", "fill", "font-size", "filter"], ba = {
95
+ }, ka = ["cx", "cy", "fill", "stroke", "filter"], ba = ["text-anchor", "x", "y", "fill", "font-size", "filter"], Sa = ["text-anchor", "x", "y", "fill", "font-size", "filter"], wa = {
95
96
  key: 2,
96
97
  class: "donut-hollow quick-animation"
97
- }, Sa = ["x", "y", "font-size", "fill"], wa = ["x", "y", "font-size", "fill"], Aa = {
98
+ }, Aa = ["x", "y", "font-size", "fill"], _a = ["x", "y", "font-size", "fill"], La = {
98
99
  key: 0,
99
100
  class: "line-grid"
100
- }, _a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], za = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], La = {
101
+ }, za = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], $a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ca = {
101
102
  key: 1,
102
103
  class: "line-axis"
103
- }, $a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ca = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ia = {
104
+ }, Ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Oa = {
104
105
  key: 2,
105
106
  class: "yLabels"
106
- }, Ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pa = ["x", "y", "font-size", "fill"], Oa = {
107
+ }, Ta = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pa = ["x", "y", "font-size", "fill"], Ra = {
107
108
  key: 3,
108
109
  class: "periodLabels"
109
- }, Ta = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ra = ["font-size", "text-anchor", "fill", "transform"], Ma = { class: "plots" }, Na = { class: "line-plot-series" }, Fa = ["d", "stroke", "stroke-width"], Ua = ["d", "stroke", "stroke-width"], Ba = ["d", "stroke", "stroke-width"], Da = ["d", "stroke", "stroke-width"], Va = ["cx", "cy", "fill", "stroke"], qa = {
110
+ }, Ma = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Na = ["font-size", "text-anchor", "fill", "transform"], Fa = { class: "plots" }, Ua = { class: "line-plot-series" }, Da = ["d", "stroke", "stroke-width"], Ba = ["d", "stroke", "stroke-width"], Va = ["d", "stroke", "stroke-width"], qa = ["d", "stroke", "stroke-width"], Ha = ["cx", "cy", "fill", "stroke"], Wa = {
110
111
  key: 4,
111
112
  class: "dataLabels"
112
- }, Ha = ["font-size", "fill", "x", "y"], Wa = { class: "tooltip-traps" }, ja = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], Ga = {
113
+ }, ja = ["font-size", "fill", "x", "y"], Ga = { class: "tooltip-traps" }, Xa = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], Za = {
113
114
  key: 0,
114
115
  class: "line-grid"
115
- }, Xa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Za = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ya = {
116
+ }, Ya = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ja = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Qa = {
116
117
  key: 1,
117
118
  class: "line-axis"
118
- }, Ja = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Qa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ka = {
119
+ }, Ka = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], el = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], tl = {
119
120
  key: 2,
120
121
  class: "yLabels"
121
- }, el = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], tl = ["x", "y", "font-size", "fill"], al = {
122
+ }, al = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ll = ["x", "y", "font-size", "fill"], ol = {
122
123
  key: 3,
123
124
  class: "periodLabels"
124
- }, ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ol = ["font-size", "text-anchor", "transform", "fill"], nl = { class: "plots" }, ul = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], il = ["to"], rl = ["from", "to"], sl = {
125
+ }, nl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ul = ["font-size", "text-anchor", "transform", "fill"], il = { class: "plots" }, rl = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], sl = ["to"], vl = ["from", "to"], dl = {
125
126
  key: 4,
126
127
  class: "dataLabels"
127
- }, vl = ["x", "y", "font-size", "fill"], dl = { class: "tooltip-traps" }, cl = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], hl = {
128
+ }, cl = ["x", "y", "font-size", "fill"], hl = { class: "tooltip-traps" }, fl = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], gl = {
128
129
  key: 6,
129
130
  class: "axis-labels"
130
- }, fl = { key: 0 }, gl = ["font-size", "fill", "x", "y"], ml = { key: 1 }, pl = ["font-size", "fill", "x", "y"], yl = { key: 2 }, xl = ["font-size", "fill", "transform"], kl = { key: 3 }, bl = ["font-size", "fill", "transform"], Sl = {
131
+ }, ml = { key: 0 }, pl = ["font-size", "fill", "x", "y"], yl = { key: 1 }, xl = ["font-size", "fill", "x", "y"], kl = { key: 2 }, bl = ["font-size", "fill", "transform"], Sl = { key: 3 }, wl = ["font-size", "fill", "transform"], Al = {
131
132
  key: 6,
132
133
  class: "vue-data-ui-watermark"
133
- }, wl = ["onClick"], Al = ["onClick"], _l = ["onClick"], zl = {
134
+ }, _l = ["onClick"], Ll = ["onClick"], zl = ["onClick"], $l = {
134
135
  key: 1,
135
136
  class: "vue-ui-quick-chart-not-processable"
136
- }, Ll = {
137
+ }, Cl = {
137
138
  __name: "vue-ui-quick-chart",
138
139
  props: {
139
140
  config: {
@@ -151,34 +152,34 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
151
152
  },
152
153
  emits: ["selectDatapoint", "selectLegend"],
153
154
  setup(c, { expose: C, emit: y }) {
154
- const O = de(() => import("./BaseIcon-B90jg7Eo.js")), H = de(() => import("./PackageVersion-CJ0MHPau.js")), fe = de(() => import("./PenAndPaper-CsV9xVqP.js")), ge = de(() => import("./vue-ui-skeleton-B2N_3mr0.js")), me = de(() => import("./Tooltip-nm6v9SvD.js")), Le = de(() => import("./UserOptions-B4olqrwb.js")), { vue_ui_quick_chart: N } = Tt(), B = c, pe = L(null), je = L(null), Ge = L(null), Xe = L(null), J = L(Rt()), K = L(!1), ye = L(null), ee = L(""), W = L(null), Ze = L(null), Ye = L(null), w = L([]), Je = L(0), $e = L(0), e = U({
155
- get: () => tt(),
155
+ const T = ce(() => import("./BaseIcon-BXqxz5Sj.js")), H = ce(() => import("./PackageVersion-BEHb0q4B.js")), ge = ce(() => import("./PenAndPaper-X98t5VLX.js")), me = ce(() => import("./vue-ui-skeleton-7wen4XQb.js")), pe = ce(() => import("./Tooltip-C3ynHP3c.js")), $e = ce(() => import("./UserOptions-C1T-b-S9.js")), { vue_ui_quick_chart: N } = Rt(), D = c, ye = z(null), Ge = z(null), Xe = z(null), Ze = z(null), J = z(Mt()), ee = z(!1), xe = z(null), te = z(""), W = z(null), Ye = z(null), Je = z(null), w = z([]), Qe = z(0), Ce = z(0), e = U({
156
+ get: () => at(),
156
157
  set: (o) => o
157
- }), { svgRef: Qe } = Gt({ config: { text: e.value.title } }), bt = U(() => e.value.showUserOptionsOnChartHover), Ke = U(() => e.value.keepUserOptionsStateOnChartLeave), Ce = L(!e.value.showUserOptionsOnChartHover);
158
- function et(o = !1) {
159
- bt.value && (Ce.value = o);
158
+ }), { svgRef: Ke } = Xt({ config: { text: e.value.title } }), St = U(() => e.value.showUserOptionsOnChartHover), et = U(() => e.value.keepUserOptionsStateOnChartLeave), Ie = z(!e.value.showUserOptionsOnChartHover);
159
+ function tt(o = !1) {
160
+ St.value && (Ie.value = o);
160
161
  }
161
- function tt() {
162
- const o = mt({
163
- userConfig: B.config,
162
+ function at() {
163
+ const o = pt({
164
+ userConfig: D.config,
164
165
  defaultConfig: N
165
166
  });
166
167
  let s = {};
167
168
  return o.theme ? s = {
168
- ...mt({
169
- userConfig: Nt.vue_ui_quick_chart[o.theme] || B.config,
169
+ ...pt({
170
+ userConfig: Ft.vue_ui_quick_chart[o.theme] || D.config,
170
171
  defaultConfig: o
171
172
  }),
172
- customPalette: Mt[o.theme] || q
173
- } : s = o, B.config && ht(B.config, "zoomStartIndex") ? s.zoomStartIndex = B.config.zoomStartIndex : s.zoomStartIndex = null, B.config && ht(B.config, "zoomEndIndex") ? s.zoomEndIndex = B.config.zoomEndIndex : s.zoomEndIndex = null, s;
173
+ customPalette: Nt[o.theme] || q
174
+ } : s = o, D.config && ft(D.config, "zoomStartIndex") ? s.zoomStartIndex = D.config.zoomStartIndex : s.zoomStartIndex = null, D.config && ft(D.config, "zoomEndIndex") ? s.zoomEndIndex = D.config.zoomEndIndex : s.zoomEndIndex = null, s;
174
175
  }
175
- De(() => B.config, (o) => {
176
- e.value = tt(), b.value.width = e.value.width, b.value.height = e.value.height, Ce.value = !e.value.showUserOptionsOnChartHover, ot(), be.value.showTooltip = e.value.showTooltip;
177
- }, { deep: !0 }), De(() => B.dataset, (o) => {
178
- x.value = ke.value, p.value.start = 0, p.value.end = x.value.maxSeriesLength, $e.value += 1;
176
+ Ve(() => D.config, (o) => {
177
+ e.value = at(), b.value.width = e.value.width, b.value.height = e.value.height, Ie.value = !e.value.showUserOptionsOnChartHover, nt(), Se.value.showTooltip = e.value.showTooltip;
178
+ }, { deep: !0 }), Ve(() => D.dataset, (o) => {
179
+ p.value = be.value, x.value.start = 0, x.value.end = p.value.maxSeriesLength, Ce.value += 1;
179
180
  }, { deep: !0 });
180
- const xe = U(() => Ft(e.value.customPalette)), ue = y, ke = U(() => {
181
- const o = Jt({ dataset: Ut(B.dataset, [
181
+ const ke = U(() => Ut(e.value.customPalette)), ie = y, be = U(() => {
182
+ const o = Kt({ dataset: Dt(D.dataset, [
182
183
  "serie",
183
184
  "series",
184
185
  "data",
@@ -187,50 +188,50 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
187
188
  "num"
188
189
  ]), barLineSwitch: e.value.chartIsBarUnderDatasetLength });
189
190
  return o || console.error("VueUiQuickChart : Dataset is not processable"), o;
190
- }), x = L(ke.value), St = U(() => !!x.value), z = U(() => x.value ? x.value.type : null);
191
- De(() => z.value, (o) => {
191
+ }), p = z(be.value), wt = U(() => !!p.value), L = U(() => p.value ? p.value.type : null);
192
+ Ve(() => L.value, (o) => {
192
193
  o || Bt({
193
194
  componentName: "VueUiQuickChart",
194
195
  type: "dataset"
195
196
  });
196
197
  }, { immediate: !0 });
197
- const { isPrinting: Ie, isImaging: Ee, generatePdf: at, generateImage: lt } = jt({
198
- elementId: `${z.value}_${J.value}`,
199
- fileName: e.value.title || z.value,
198
+ const { isPrinting: Ee, isImaging: Oe, generatePdf: lt, generateImage: ot } = Gt({
199
+ elementId: `${L.value}_${J.value}`,
200
+ fileName: e.value.title || L.value,
200
201
  options: e.value.userOptionsPrint
201
- }), wt = U(() => e.value.showUserOptions && !e.value.title), b = L({
202
+ }), At = U(() => e.value.showUserOptions && !e.value.title), b = z({
202
203
  width: e.value.width,
203
204
  height: e.value.height
204
- }), be = L({
205
+ }), Se = z({
205
206
  showTooltip: e.value.showTooltip
206
- }), Q = ct(null), ie = ct(null);
207
- Et(() => {
208
- ot();
207
+ }), Q = ht(null), re = ht(null);
208
+ Ot(() => {
209
+ nt();
209
210
  });
210
- function ot() {
211
+ function nt() {
211
212
  if (e.value.responsive) {
212
- const o = Ht(() => {
213
- const { width: s, height: t } = Wt({
214
- chart: pe.value,
215
- title: e.value.title ? je.value : null,
216
- legend: e.value.showLegend ? Ge.value : null,
217
- slicer: [A.BAR, A.LINE].includes(z.value) && e.value.zoomXy && x.value.maxSeriesLength > 1 ? Xe.value : null,
218
- source: Ze.value,
219
- noTitle: Ye.value
213
+ const o = Wt(() => {
214
+ const { width: s, height: t } = jt({
215
+ chart: ye.value,
216
+ title: e.value.title ? Ge.value : null,
217
+ legend: e.value.showLegend ? Xe.value : null,
218
+ slicer: [A.BAR, A.LINE].includes(L.value) && e.value.zoomXy && p.value.maxSeriesLength > 1 ? Ze.value : null,
219
+ source: Ye.value,
220
+ noTitle: Je.value
220
221
  });
221
222
  requestAnimationFrame(() => {
222
223
  b.value.width = s, b.value.height = t;
223
224
  });
224
225
  });
225
- Q.value && (ie.value && Q.value.unobserve(ie.value), Q.value.disconnect()), Q.value = new ResizeObserver(o), ie.value = pe.value.parentNode, Q.value.observe(ie.value);
226
+ Q.value && (re.value && Q.value.unobserve(re.value), Q.value.disconnect()), Q.value = new ResizeObserver(o), re.value = ye.value.parentNode, Q.value.observe(re.value);
226
227
  }
227
- vt();
228
+ dt();
228
229
  }
229
- Pt(() => {
230
- Q.value && (ie.value && Q.value.unobserve(ie.value), Q.value.disconnect());
230
+ Tt(() => {
231
+ Q.value && (re.value && Q.value.unobserve(re.value), Q.value.disconnect());
231
232
  });
232
- const At = U(() => {
233
- switch (z.value) {
233
+ const _t = U(() => {
234
+ switch (L.value) {
234
235
  case A.LINE:
235
236
  return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
236
237
  case A.BAR:
@@ -241,79 +242,79 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
241
242
  return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
242
243
  }
243
244
  });
244
- function nt(o) {
245
+ function ut(o) {
245
246
  return [...o].map((s) => s.value).reduce((s, t) => s + t, 0);
246
247
  }
247
- function Se(o) {
248
+ function we(o) {
248
249
  return e.value.blurOnHover && ![null, void 0].includes(W.value) && W.value !== o ? `url(#blur_${J.value})` : "";
249
250
  }
250
- function ut(o, s) {
251
+ function it(o, s) {
251
252
  w.value.includes(o) ? w.value = w.value.filter((t) => t !== o) : w.value.length < s && w.value.push(o);
252
253
  }
253
- const it = L(null), rt = L(null), Pe = L(!1);
254
- function _t(o, s) {
255
- Pe.value = !0;
254
+ const rt = z(null), st = z(null), Te = z(!1);
255
+ function Lt(o, s) {
256
+ Te.value = !0;
256
257
  let t = o.value;
257
- const i = ke.value.dataset.find((r, h) => o.id === `donut_${h}`).VALUE;
258
+ const i = be.value.dataset.find((r, h) => o.id === `donut_${h}`).VALUE;
258
259
  if (w.value.includes(o.id)) {
259
260
  let r = function() {
260
- t > i ? (Pe.value = !1, cancelAnimationFrame(rt.value), x.value = {
261
- ...x.value,
262
- dataset: x.value.dataset.map((h, T) => o.id === `donut_${T}` ? {
261
+ t > i ? (Te.value = !1, cancelAnimationFrame(st.value), p.value = {
262
+ ...p.value,
263
+ dataset: p.value.dataset.map((h, P) => o.id === `donut_${P}` ? {
263
264
  ...h,
264
265
  value: i,
265
266
  VALUE: i
266
267
  } : h)
267
- }) : (t += i * 0.025, x.value = {
268
- ...x.value,
269
- dataset: x.value.dataset.map((h, T) => o.id === `donut_${T}` ? {
268
+ }) : (t += i * 0.025, p.value = {
269
+ ...p.value,
270
+ dataset: p.value.dataset.map((h, P) => o.id === `donut_${P}` ? {
270
271
  ...h,
271
272
  value: t,
272
273
  VALUE: t
273
274
  } : h)
274
- }, rt.value = requestAnimationFrame(r));
275
+ }, st.value = requestAnimationFrame(r));
275
276
  };
276
277
  w.value = w.value.filter((h) => h !== o.id), r();
277
278
  } else if (s.length > 1) {
278
279
  let r = function() {
279
- t < i / 100 ? (Pe.value = !1, cancelAnimationFrame(it.value), w.value.push(o.id), x.value = {
280
- ...x.value,
281
- dataset: x.value.dataset.map((h, T) => o.id === `donut_${T}` ? {
280
+ t < i / 100 ? (Te.value = !1, cancelAnimationFrame(rt.value), w.value.push(o.id), p.value = {
281
+ ...p.value,
282
+ dataset: p.value.dataset.map((h, P) => o.id === `donut_${P}` ? {
282
283
  ...h,
283
284
  value: 0,
284
285
  VALUE: 0
285
286
  } : h)
286
- }) : (t /= 1.1, x.value = {
287
- ...x.value,
288
- dataset: x.value.dataset.map((h, T) => o.id === `donut_${T}` ? {
287
+ }) : (t /= 1.1, p.value = {
288
+ ...p.value,
289
+ dataset: p.value.dataset.map((h, P) => o.id === `donut_${P}` ? {
289
290
  ...h,
290
291
  value: t,
291
292
  VALUE: t
292
293
  } : h)
293
- }, it.value = requestAnimationFrame(r));
294
+ }, rt.value = requestAnimationFrame(r));
294
295
  };
295
296
  r();
296
297
  }
297
298
  }
298
- const j = L(null);
299
+ const j = z(null);
299
300
  function zt(o) {
300
301
  j.value = o;
301
302
  }
302
- const st = U(() => e.value.donutThicknessRatio < 0.15 ? 0.15 : e.value.donutThicknessRatio > 0.4 ? 0.4 : e.value.donutThicknessRatio), I = U(() => {
303
- if (z.value !== A.DONUT) return null;
304
- const o = x.value.dataset.map((n, u) => ({
303
+ const vt = U(() => e.value.donutThicknessRatio < 0.15 ? 0.15 : e.value.donutThicknessRatio > 0.4 ? 0.4 : e.value.donutThicknessRatio), I = U(() => {
304
+ if (L.value !== A.DONUT) return null;
305
+ const o = p.value.dataset.map((n, u) => ({
305
306
  ...n,
306
307
  value: n.VALUE || n.DATA || n.SERIE || n.VALUES || n.NUM || 0,
307
308
  name: n.NAME || n.DESCRIPTION || n.TITLE || n.LABEL || `Serie ${u}`,
308
309
  id: `donut_${u}`
309
310
  })).map((n, u) => ({
310
311
  ...n,
311
- color: n.COLOR ? qe(n.COLOR) : xe.value[u + e.value.paletteStartIndex] || q[u + e.value.paletteStartIndex] || q[(u + e.value.paletteStartIndex) % q.length],
312
+ color: n.COLOR ? He(n.COLOR) : ke.value[u + e.value.paletteStartIndex] || q[u + e.value.paletteStartIndex] || q[(u + e.value.paletteStartIndex) % q.length],
312
313
  immutableValue: n.value
313
314
  }));
314
315
  function s(n, u) {
315
- return D({
316
- v: isNaN(n.value / nt(u)) ? 0 : n.value / nt(u) * 100,
316
+ return B({
317
+ v: isNaN(n.value / ut(u)) ? 0 : n.value / ut(u) * 100,
317
318
  s: "%",
318
319
  r: e.value.dataLabelRoundingPercentage
319
320
  });
@@ -322,19 +323,19 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
322
323
  return n.proportion * 100 > e.value.donutHideLabelUnderPercentage;
323
324
  }
324
325
  function i(n, u) {
325
- const S = ke.value.dataset.find((E, F) => `donut_${F}` === n).VALUE;
326
+ const S = be.value.dataset.find((E, F) => `donut_${F}` === n).VALUE;
326
327
  return Math.abs(String(Number(S.toFixed(0))).length - String(Number(u.toFixed(0))).length);
327
328
  }
328
329
  function r({ datapoint: n, seriesIndex: u }) {
329
- ye.value = { datapoint: n, seriesIndex: u, config: e.value, dataset: o }, W.value = n.id;
330
+ xe.value = { datapoint: n, seriesIndex: u, config: e.value, dataset: o }, W.value = n.id;
330
331
  const S = e.value.tooltipCustomFormat;
331
- if (Ne(S) && We(() => S({
332
+ if (Fe(S) && je(() => S({
332
333
  datapoint: n,
333
334
  seriesIndex: u,
334
335
  series: o,
335
336
  config: e.value
336
337
  })))
337
- ee.value = S({
338
+ te.value = S({
338
339
  datapoint: n,
339
340
  seriesIndex: u,
340
341
  series: o,
@@ -345,80 +346,80 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
345
346
  k += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${n.name}</div>`, k += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${n.color}"/></svg>`, k += `<b>${X(
346
347
  e.value.formatter,
347
348
  n.value,
348
- D({
349
+ B({
349
350
  p: e.value.valuePrefix,
350
351
  v: n.value,
351
352
  s: e.value.valueSuffix,
352
353
  r: e.value.dataLabelRoundingValue
353
354
  }),
354
355
  { datapoint: n, seriesIndex: u }
355
- )}</b>`, k += `<span>(${D({ v: n.proportion * 100, s: "%", r: e.value.dataLabelRoundingPercentage })})</span></div>`, ee.value = `<div>${k}</div>`;
356
+ )}</b>`, k += `<span>(${B({ v: n.proportion * 100, s: "%", r: e.value.dataLabelRoundingPercentage })})</span></div>`, te.value = `<div>${k}</div>`;
356
357
  }
357
- K.value = !0;
358
+ ee.value = !0;
358
359
  }
359
360
  function h() {
360
- K.value = !1, W.value = null, j.value = null;
361
+ ee.value = !1, W.value = null, j.value = null;
361
362
  }
362
- const T = {
363
+ const P = {
363
364
  centerX: b.value.width / 2,
364
365
  centerY: b.value.height / 2
365
- }, V = o.filter((n) => !w.value.includes(n.id)).map((n) => n.value || 0).reduce((n, u) => n + u, 0), se = o.map((n, u) => ({
366
+ }, V = o.filter((n) => !w.value.includes(n.id)).map((n) => n.value || 0).reduce((n, u) => n + u, 0), ve = o.map((n, u) => ({
366
367
  ...n,
367
368
  proportion: (n.value || 0) / V,
368
369
  value: n.value || 0,
369
- absoluteValue: ke.value.dataset.find((S, k) => `donut_${k}` === n.id).VALUE
370
- })), te = b.value.width / 2, ve = b.value.height / 2, ae = b.value.height * e.value.donutRadiusRatio;
370
+ absoluteValue: be.value.dataset.find((S, k) => `donut_${k}` === n.id).VALUE
371
+ })), ae = b.value.width / 2, de = b.value.height / 2, le = b.value.height * e.value.donutRadiusRatio;
371
372
  return {
372
- dataset: se.filter((n) => !w.value.includes(n.id)),
373
- legend: se,
374
- drawingArea: T,
373
+ dataset: ve.filter((n) => !w.value.includes(n.id)),
374
+ legend: ve,
375
+ drawingArea: P,
375
376
  displayArcPercentage: s,
376
377
  isArcBigEnough: t,
377
378
  useTooltip: r,
378
379
  killTooltip: h,
379
380
  getSpaces: i,
380
381
  total: V,
381
- cx: te,
382
- cy: ve,
383
- radius: ae,
384
- chart: Dt(
382
+ cx: ae,
383
+ cy: de,
384
+ radius: le,
385
+ chart: Vt(
385
386
  { series: o.filter((n) => !w.value.includes(n.id)) },
386
- te,
387
- ve,
388
- ae,
389
387
  ae,
388
+ de,
389
+ le,
390
+ le,
390
391
  1.99999,
391
392
  2,
392
393
  1,
393
394
  360,
394
395
  105.25,
395
- b.value.height * st.value
396
+ b.value.height * vt.value
396
397
  )
397
398
  };
398
- }), p = L({
399
+ }), x = z({
399
400
  start: 0,
400
- end: x.value.maxSeriesLength
401
+ end: p.value.maxSeriesLength
401
402
  });
402
- function Lt() {
403
- vt();
403
+ function $t() {
404
+ dt();
404
405
  }
405
- const re = L(null);
406
- async function vt() {
407
- (e.value.zoomStartIndex !== null || e.value.zoomEndIndex !== null) && re.value ? (e.value.zoomStartIndex !== null && (await Re(), await Re(), re.value && re.value.setStartValue(e.value.zoomStartIndex)), e.value.zoomEndIndex !== null && (await Re(), await Re(), re.value && re.value.setEndValue($t(e.value.zoomEndIndex + 1)))) : (p.value = {
406
+ const se = z(null);
407
+ async function dt() {
408
+ (e.value.zoomStartIndex !== null || e.value.zoomEndIndex !== null) && se.value ? (e.value.zoomStartIndex !== null && (await Me(), await Me(), se.value && se.value.setStartValue(e.value.zoomStartIndex)), e.value.zoomEndIndex !== null && (await Me(), await Me(), se.value && se.value.setEndValue(Ct(e.value.zoomEndIndex + 1)))) : (x.value = {
408
409
  start: 0,
409
- end: x.value.maxSeriesLength
410
- }, $e.value += 1);
410
+ end: p.value.maxSeriesLength
411
+ }, Ce.value += 1);
411
412
  }
412
- function $t(o) {
413
- const s = x.value.maxSeriesLength;
413
+ function Ct(o) {
414
+ const s = p.value.maxSeriesLength;
414
415
  return o > s ? s : o < 0 || e.value.zoomStartIndex !== null && o < e.value.zoomStartIndex ? e.value.zoomStartIndex !== null ? e.value.zoomStartIndex + 1 : 1 : o;
415
416
  }
416
- const Ct = U(() => {
417
- if (!e.value.zoomMinimap.show || z.value === A.DONUT) return [];
417
+ const It = U(() => {
418
+ if (!e.value.zoomMinimap.show || L.value === A.DONUT) return [];
418
419
  let o = [];
419
- Y(x.value.dataset) && (o = x.value.dataset), Fe(x.value.dataset) && (o = x.value.dataset.map((r, h) => ({
420
+ Y(p.value.dataset) && (o = p.value.dataset), Ue(p.value.dataset) && (o = p.value.dataset.map((r, h) => ({
420
421
  values: r.VALUE || r.DATA || r.SERIE || r.SERIES || r.VALUES || r.NUM || 0,
421
- id: z.value === A.LINE ? `line_${h}` : `bar_${h}`
422
+ id: L.value === A.LINE ? `line_${h}` : `bar_${h}`
422
423
  })).filter((r) => !w.value.includes(r.id)));
423
424
  const s = Y(o) ? o.length : Math.max(...o.map((r) => r.values.length));
424
425
  let t = [];
@@ -426,11 +427,11 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
426
427
  t = o;
427
428
  else
428
429
  for (let r = 0; r < s; r += 1)
429
- t.push(o.map((h) => h.values[r] || 0).reduce((h, T) => (h || 0) + (T || 0), 0));
430
+ t.push(o.map((h) => h.values[r] || 0).reduce((h, P) => (h || 0) + (P || 0), 0));
430
431
  const i = Math.min(...t);
431
432
  return t.map((r) => r + (i < 0 ? Math.abs(i) : 0));
432
433
  }), d = U(() => {
433
- if (z.value !== A.LINE) return null;
434
+ if (L.value !== A.LINE) return null;
434
435
  const o = {
435
436
  height: b.value.height,
436
437
  width: b.value.width
@@ -443,34 +444,34 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
443
444
  height: o.height - e.value.xyPaddingTop - e.value.xyPaddingBottom
444
445
  };
445
446
  let t = [];
446
- Y(x.value.dataset) && (t = [
447
+ Y(p.value.dataset) && (t = [
447
448
  {
448
- values: x.value.dataset.slice(p.value.start, p.value.end),
449
- absoluteIndices: x.value.dataset.map((n, u) => u).slice(p.value.start, p.value.end),
449
+ values: p.value.dataset.slice(x.value.start, x.value.end),
450
+ absoluteIndices: p.value.dataset.map((n, u) => u).slice(x.value.start, x.value.end),
450
451
  name: e.value.title,
451
- color: xe.value[e.value.paletteStartIndex] || q[e.value.paletteStartIndex],
452
+ color: ke.value[e.value.paletteStartIndex] || q[e.value.paletteStartIndex],
452
453
  id: "line_0"
453
454
  }
454
- ]), Fe(x.value.dataset) && (t = x.value.dataset.map((n, u) => ({
455
+ ]), Ue(p.value.dataset) && (t = p.value.dataset.map((n, u) => ({
455
456
  ...n,
456
457
  values: n.VALUE || n.DATA || n.SERIE || n.SERIES || n.VALUES || n.NUM || 0,
457
458
  name: n.NAME || n.DESCRIPTION || n.TITLE || n.LABEL || `Serie ${u}`,
458
459
  id: `line_${u}`
459
460
  })).map((n, u) => ({
460
461
  ...n,
461
- color: n.COLOR ? qe(n.COLOR) : xe.value[u + e.value.paletteStartIndex] || q[u + e.value.paletteStartIndex] || q[(u + e.value.paletteStartIndex) % q.length],
462
- values: n.values.slice(p.value.start, p.value.end),
463
- absoluteIndices: n.values.map((S, k) => k).slice(p.value.start, p.value.end)
462
+ color: n.COLOR ? He(n.COLOR) : ke.value[u + e.value.paletteStartIndex] || q[u + e.value.paletteStartIndex] || q[(u + e.value.paletteStartIndex) % q.length],
463
+ values: n.values.slice(x.value.start, x.value.end),
464
+ absoluteIndices: n.values.map((S, k) => k).slice(x.value.start, x.value.end)
464
465
  })));
465
466
  const i = {
466
467
  max: Math.max(...t.filter((n) => !w.value.includes(n.id)).flatMap((n) => n.values)),
467
468
  min: Math.min(...t.filter((n) => !w.value.includes(n.id)).flatMap((n) => n.values)),
468
469
  maxSeries: Math.max(...t.map((n) => n.values.length))
469
- }, r = ft(i.min < 0 ? i.min : 0, i.max < 0 ? 0 : i.max, e.value.xyScaleSegments), h = i.min < 0 ? Math.abs(i.min) : 0, T = i.max < 0 ? s.top : s.bottom - h / (r.max + h) * s.height, V = s.width / i.maxSeries, se = r.ticks.map((n) => ({
470
+ }, r = gt(i.min < 0 ? i.min : 0, i.max < 0 ? 0 : i.max, e.value.xyScaleSegments), h = i.min < 0 ? Math.abs(i.min) : 0, P = i.max < 0 ? s.top : s.bottom - h / (r.max + h) * s.height, V = s.width / i.maxSeries, ve = r.ticks.map((n) => ({
470
471
  y: s.bottom - s.height * ((n + h) / (r.max + h)),
471
472
  x: s.left - 8,
472
473
  value: n
473
- })), te = t.map((n, u) => ({
474
+ })), ae = t.map((n, u) => ({
474
475
  ...n,
475
476
  coordinates: n.values.map((S, k) => ({
476
477
  x: s.left + V * (k + 1) - V / 2,
@@ -486,22 +487,22 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
486
487
  linePath: u.join(" ")
487
488
  };
488
489
  });
489
- function ve(n) {
490
+ function de(n) {
490
491
  W.value = n, j.value = n;
491
492
  const u = t.map((k) => ({
492
493
  ...k,
493
494
  value: k.values[n],
494
495
  absoluteIndex: k.absoluteIndices[n]
495
496
  })).filter((k) => !w.value.includes(k.id));
496
- ye.value = { datapoint: u, seriesIndex: n, config: e.value, dataset: t };
497
+ xe.value = { datapoint: u, seriesIndex: n, config: e.value, dataset: t };
497
498
  const S = e.value.tooltipCustomFormat;
498
- if (Ne(S) && We(() => S({
499
+ if (Fe(S) && je(() => S({
499
500
  datapoint: u,
500
501
  seriesIndex: n,
501
502
  series: t,
502
503
  config: e.value
503
504
  })))
504
- ee.value = S({
505
+ te.value = S({
505
506
  datapoint: u,
506
507
  seriesIndex: n,
507
508
  series: t,
@@ -509,7 +510,7 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
509
510
  });
510
511
  else {
511
512
  let k = "";
512
- e.value.xyPeriods[u[0].absoluteIndex] && (k += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${e.value.xyPeriods[u[0].absoluteIndex]}</div>`), u.forEach((E, F) => {
513
+ K.value[u[0].absoluteIndex] && (k += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${K.value[u[0].absoluteIndex].text}</div>`), u.forEach((E, F) => {
513
514
  k += `
514
515
  <div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
515
516
  <svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${E.color}"/></svg>
@@ -517,7 +518,7 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
517
518
  <b>${X(
518
519
  e.value.formatter,
519
520
  E.value,
520
- D({
521
+ B({
521
522
  p: e.value.valuePrefix,
522
523
  v: E.value,
523
524
  s: e.value.valueSuffix,
@@ -528,26 +529,26 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
528
529
  </b>
529
530
  </div>
530
531
  `;
531
- }), ee.value = k;
532
+ }), te.value = k;
532
533
  }
533
- K.value = !0;
534
+ ee.value = !0;
534
535
  }
535
- function ae() {
536
- W.value = null, j.value = null, K.value = !1;
536
+ function le() {
537
+ W.value = null, j.value = null, ee.value = !1;
537
538
  }
538
539
  return {
539
- absoluteZero: T,
540
- dataset: te.filter((n) => !w.value.includes(n.id)),
541
- legend: te,
540
+ absoluteZero: P,
541
+ dataset: ae.filter((n) => !w.value.includes(n.id)),
542
+ legend: ae,
542
543
  drawingArea: s,
543
544
  extremes: i,
544
545
  slotSize: V,
545
- yLabels: se,
546
- useTooltip: ve,
547
- killTooltip: ae
546
+ yLabels: ve,
547
+ useTooltip: de,
548
+ killTooltip: le
548
549
  };
549
550
  }), v = U(() => {
550
- if (z.value !== A.BAR) return null;
551
+ if (L.value !== A.BAR) return null;
551
552
  const o = {
552
553
  height: b.value.height,
553
554
  width: b.value.width
@@ -560,74 +561,74 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
560
561
  height: o.height - e.value.xyPaddingTop - e.value.xyPaddingBottom
561
562
  };
562
563
  let t = [];
563
- Y(x.value.dataset) && (t = [
564
+ Y(p.value.dataset) && (t = [
564
565
  {
565
- values: x.value.dataset.slice(p.value.start, p.value.end),
566
- absoluteIndices: x.value.dataset.map((u, S) => S).slice(p.value.start, p.value.end),
566
+ values: p.value.dataset.slice(x.value.start, x.value.end),
567
+ absoluteIndices: p.value.dataset.map((u, S) => S).slice(x.value.start, x.value.end),
567
568
  name: e.value.title,
568
- color: xe.value[e.value.paletteStartIndex] || q[e.value.paletteStartIndex],
569
+ color: ke.value[e.value.paletteStartIndex] || q[e.value.paletteStartIndex],
569
570
  id: "bar_0"
570
571
  }
571
- ]), Fe(x.value.dataset) && (t = x.value.dataset.map((u, S) => ({
572
+ ]), Ue(p.value.dataset) && (t = p.value.dataset.map((u, S) => ({
572
573
  ...u,
573
574
  values: u.VALUE || u.DATA || u.SERIE || u.SERIES || u.VALUES || u.NUM || 0,
574
575
  name: u.NAME || u.DESCRIPTION || u.TITLE || u.LABEL || `Serie ${S}`,
575
576
  id: `bar_${S}`
576
577
  })).map((u, S) => ({
577
578
  ...u,
578
- color: u.COLOR ? qe(u.COLOR) : xe.value[S + e.value.paletteStartIndex] || q[S + e.value.paletteStartIndex] || q[(S + e.value.paletteStartIndex) % q.length],
579
- values: u.values.slice(p.value.start, p.value.end),
580
- absoluteIndices: u.values.map((k, E) => E).slice(p.value.start, p.value.end)
579
+ color: u.COLOR ? He(u.COLOR) : ke.value[S + e.value.paletteStartIndex] || q[S + e.value.paletteStartIndex] || q[(S + e.value.paletteStartIndex) % q.length],
580
+ values: u.values.slice(x.value.start, x.value.end),
581
+ absoluteIndices: u.values.map((k, E) => E).slice(x.value.start, x.value.end)
581
582
  })));
582
583
  const i = {
583
584
  max: Math.max(...t.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)) < 0 ? 0 : Math.max(...t.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)),
584
585
  min: Math.min(...t.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)),
585
586
  maxSeries: Math.max(...t.filter((u) => !w.value.includes(u.id)).map((u) => u.values.length))
586
- }, r = ft(i.min < 0 ? i.min : 0, i.max, e.value.xyScaleSegments), h = r.min < 0 ? Math.abs(r.min) : 0, T = s.bottom - h / (r.max + h) * s.height, V = s.width / i.maxSeries, se = r.ticks.map((u) => ({
587
+ }, r = gt(i.min < 0 ? i.min : 0, i.max, e.value.xyScaleSegments), h = r.min < 0 ? Math.abs(r.min) : 0, P = s.bottom - h / (r.max + h) * s.height, V = s.width / i.maxSeries, ve = r.ticks.map((u) => ({
587
588
  y: s.bottom - s.height * ((u + h) / (r.max + h)),
588
589
  x: s.left - 8,
589
590
  value: u
590
- })), te = t.map((u, S) => ({
591
+ })), ae = t.map((u, S) => ({
591
592
  ...u,
592
593
  coordinates: u.values.map((k, E) => {
593
- const F = (k + h) / (i.max + h) * s.height, we = Math.abs(k) / Math.abs(i.min) * (s.height - T), Be = h / (i.max + h) * s.height, Ae = V / t.filter((le) => !w.value.includes(le.id)).length - e.value.barGap / t.filter((le) => !w.value.includes(le.id)).length;
594
+ const F = (k + h) / (i.max + h) * s.height, Ae = Math.abs(k) / Math.abs(i.min) * (s.height - P), Be = h / (i.max + h) * s.height, _e = V / t.filter((oe) => !w.value.includes(oe.id)).length - e.value.barGap / t.filter((oe) => !w.value.includes(oe.id)).length;
594
595
  return {
595
- x: s.left + V * E + Ae * S + e.value.barGap / 2,
596
- y: k > 0 ? s.bottom - F : T,
597
- height: k > 0 ? F - Be : we,
596
+ x: s.left + V * E + _e * S + e.value.barGap / 2,
597
+ y: k > 0 ? s.bottom - F : P,
598
+ height: k > 0 ? F - Be : Ae,
598
599
  value: k,
599
- width: Ae
600
+ width: _e
600
601
  };
601
602
  })
602
- })), ve = t.filter((u) => !w.value.includes(u.id)).map((u, S) => ({
603
+ })), de = t.filter((u) => !w.value.includes(u.id)).map((u, S) => ({
603
604
  ...u,
604
605
  coordinates: u.values.map((k, E) => {
605
- const F = (k + h) / (i.max + h) * s.height, we = Math.abs(k) / (i.max + h) * s.height, Be = h / (i.max + h) * s.height, Ae = V / t.filter((le) => !w.value.includes(le.id)).length - e.value.barGap / t.filter((le) => !w.value.includes(le.id)).length;
606
+ const F = (k + h) / (i.max + h) * s.height, Ae = Math.abs(k) / (i.max + h) * s.height, Be = h / (i.max + h) * s.height, _e = V / t.filter((oe) => !w.value.includes(oe.id)).length - e.value.barGap / t.filter((oe) => !w.value.includes(oe.id)).length;
606
607
  return {
607
- x: s.left + V * E + Ae * S + e.value.barGap / 2,
608
- y: k > 0 ? s.bottom - F : T,
609
- height: k > 0 ? F - Be : we,
608
+ x: s.left + V * E + _e * S + e.value.barGap / 2,
609
+ y: k > 0 ? s.bottom - F : P,
610
+ height: k > 0 ? F - Be : Ae,
610
611
  value: k,
611
- width: Ae
612
+ width: _e
612
613
  };
613
614
  })
614
615
  }));
615
- function ae(u) {
616
+ function le(u) {
616
617
  W.value = u, j.value = u;
617
618
  const S = t.map((E) => ({
618
619
  ...E,
619
620
  value: E.values[u],
620
621
  absoluteIndex: E.absoluteIndices[u]
621
622
  })).filter((E) => !w.value.includes(E.id));
622
- ye.value = { datapoint: S, seriesIndex: u, config: e.value, dataset: t };
623
+ xe.value = { datapoint: S, seriesIndex: u, config: e.value, dataset: t };
623
624
  const k = e.value.tooltipCustomFormat;
624
- if (Ne(k) && We(() => k({
625
+ if (Fe(k) && je(() => k({
625
626
  datapoint: S,
626
627
  seriesIndex: u,
627
628
  series: t,
628
629
  config: e.value
629
630
  })))
630
- ee.value = k({
631
+ te.value = k({
631
632
  point: S,
632
633
  seriesIndex: u,
633
634
  series: t,
@@ -635,7 +636,7 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
635
636
  });
636
637
  else {
637
638
  let E = "";
638
- e.value.xyPeriods[S[0].absoluteIndex] && (E += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${e.value.xyPeriods[S[0].absoluteIndex]}</div>`), S.forEach((F, we) => {
639
+ K.value[S[0].absoluteIndex] && (E += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${K.value[S[0].absoluteIndex].text}</div>`), S.forEach((F, Ae) => {
639
640
  E += `
640
641
  <div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
641
642
  <svg viewBox="0 0 12 12" height="14" width="12"><rect x=0 y="0" width="12" height="12" rx="1" stroke="none" fill="${F.color}"/></svg>
@@ -643,110 +644,116 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
643
644
  <b>${X(
644
645
  e.value.formatter,
645
646
  F.value,
646
- D({
647
+ B({
647
648
  p: e.value.valuePrefix,
648
649
  v: F.value,
649
650
  s: e.value.valueSuffix,
650
651
  r: e.value.dataLabelRoundingValue
651
652
  }),
652
- { datapoint: F, seriesIndex: we }
653
+ { datapoint: F, seriesIndex: Ae }
653
654
  )}
654
655
  </b>
655
656
  </div>
656
657
  `;
657
- }), ee.value = E;
658
+ }), te.value = E;
658
659
  }
659
- K.value = !0;
660
+ ee.value = !0;
660
661
  }
661
662
  function n() {
662
- K.value = !1, W.value = null, j.value = null;
663
+ ee.value = !1, W.value = null, j.value = null;
663
664
  }
664
665
  return {
665
- absoluteZero: T,
666
- dataset: ve.filter((u) => !w.value.includes(u.id)),
667
- legend: te,
666
+ absoluteZero: P,
667
+ dataset: de.filter((u) => !w.value.includes(u.id)),
668
+ legend: ae,
668
669
  drawingArea: s,
669
670
  extremes: i,
670
671
  slotSize: V,
671
- yLabels: se,
672
- useTooltip: ae,
672
+ yLabels: ve,
673
+ useTooltip: le,
673
674
  killTooltip: n
674
675
  };
675
- }), Oe = L(!1);
676
- function It(o) {
677
- Oe.value = o, Je.value += 1;
676
+ }), K = U(() => Yt({
677
+ values: e.value.xyPeriods,
678
+ maxDatapoints: p.value.maxSeriesLength,
679
+ formatter: e.value.datetimeFormatter,
680
+ start: x.value.start,
681
+ end: x.value.end
682
+ })), Pe = z(!1);
683
+ function Et(o) {
684
+ Pe.value = o, Qe.value += 1;
678
685
  }
679
- function dt() {
680
- be.value.showTooltip = !be.value.showTooltip;
686
+ function ct() {
687
+ Se.value.showTooltip = !Se.value.showTooltip;
681
688
  }
682
- const Te = L(!1);
683
- function Ue() {
684
- Te.value = !Te.value;
689
+ const Re = z(!1);
690
+ function De() {
691
+ Re.value = !Re.value;
685
692
  }
686
693
  return C({
687
- generatePdf: at,
688
- generateImage: lt,
689
- toggleTooltip: dt,
690
- toggleAnnotator: Ue
691
- }), (o, s) => St.value ? (a(), l("div", {
694
+ generatePdf: lt,
695
+ generateImage: ot,
696
+ toggleTooltip: ct,
697
+ toggleAnnotator: De
698
+ }), (o, s) => wt.value ? (a(), l("div", {
692
699
  key: 0,
693
- id: `${z.value}_${J.value}`,
700
+ id: `${L.value}_${J.value}`,
694
701
  ref_key: "quickChart",
695
- ref: pe,
696
- class: ce({ "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": Oe.value }),
702
+ ref: ye,
703
+ class: he({ "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": Pe.value }),
697
704
  style: R(`background:${e.value.backgroundColor};color:${e.value.color};font-family:${e.value.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
698
- onMouseenter: s[5] || (s[5] = () => et(!0)),
699
- onMouseleave: s[6] || (s[6] = () => et(!1))
705
+ onMouseenter: s[5] || (s[5] = () => tt(!0)),
706
+ onMouseleave: s[6] || (s[6] = () => tt(!1))
700
707
  }, [
701
- e.value.userOptionsButtons.annotator ? (a(), Me(f(fe), {
708
+ e.value.userOptionsButtons.annotator ? (a(), Ne(f(ge), {
702
709
  key: 0,
703
- svgRef: f(Qe),
710
+ svgRef: f(Ke),
704
711
  backgroundColor: e.value.backgroundColor,
705
712
  color: e.value.color,
706
- active: Te.value,
707
- onClose: Ue
713
+ active: Re.value,
714
+ onClose: De
708
715
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
709
- wt.value ? (a(), l("div", {
716
+ At.value ? (a(), l("div", {
710
717
  key: 1,
711
718
  ref_key: "noTitle",
712
- ref: Ye,
719
+ ref: Je,
713
720
  class: "vue-data-ui-no-title-space",
714
721
  style: "height:36px; width: 100%;background:transparent"
715
722
  }, null, 512)) : g("", !0),
716
- e.value.showUserOptions && (Ke.value || Ce.value) ? (a(), Me(f(Le), {
723
+ e.value.showUserOptions && (et.value || Ie.value) ? (a(), Ne(f($e), {
717
724
  ref: "details",
718
- key: `user_option_${Je.value}`,
725
+ key: `user_option_${Qe.value}`,
719
726
  backgroundColor: e.value.backgroundColor,
720
727
  color: e.value.color,
721
- isPrinting: f(Ie),
722
- isImaging: f(Ee),
728
+ isPrinting: f(Ee),
729
+ isImaging: f(Oe),
723
730
  uid: J.value,
724
731
  hasTooltip: e.value.userOptionsButtons.tooltip && e.value.showTooltip,
725
732
  hasPdf: e.value.userOptionsButtons.pdf,
726
733
  hasImg: e.value.userOptionsButtons.img,
727
734
  hasFullscreen: e.value.userOptionsButtons.fullscreen,
728
735
  hasXls: !1,
729
- isTooltip: be.value.showTooltip,
730
- isFullscreen: Oe.value,
736
+ isTooltip: Se.value.showTooltip,
737
+ isFullscreen: Pe.value,
731
738
  titles: { ...e.value.userOptionsButtonTitles },
732
- chartElement: pe.value,
739
+ chartElement: ye.value,
733
740
  position: e.value.userOptionsPosition,
734
741
  hasAnnotator: e.value.userOptionsButtons.annotator,
735
- isAnnotation: Te.value,
742
+ isAnnotation: Re.value,
736
743
  callbacks: e.value.userOptionsCallbacks,
737
- onToggleFullscreen: It,
738
- onGeneratePdf: f(at),
739
- onGenerateImage: f(lt),
740
- onToggleTooltip: dt,
741
- onToggleAnnotator: Ue,
744
+ onToggleFullscreen: Et,
745
+ onGeneratePdf: f(lt),
746
+ onGenerateImage: f(ot),
747
+ onToggleTooltip: ct,
748
+ onToggleAnnotator: De,
742
749
  style: R({
743
- visibility: Ke.value ? Ce.value ? "visible" : "hidden" : "visible"
750
+ visibility: et.value ? Ie.value ? "visible" : "hidden" : "visible"
744
751
  })
745
- }, Ot({ _: 2 }, [
752
+ }, Pt({ _: 2 }, [
746
753
  o.$slots.menuIcon ? {
747
754
  name: "menuIcon",
748
755
  fn: G(({ isOpen: t, color: i }) => [
749
- M(o.$slots, "menuIcon", oe(ne({ isOpen: t, color: i })), void 0, !0)
756
+ M(o.$slots, "menuIcon", ne(ue({ isOpen: t, color: i })), void 0, !0)
750
757
  ]),
751
758
  key: "0"
752
759
  } : void 0,
@@ -774,14 +781,14 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
774
781
  o.$slots.optionFullscreen ? {
775
782
  name: "optionFullscreen",
776
783
  fn: G(({ toggleFullscreen: t, isFullscreen: i }) => [
777
- M(o.$slots, "optionFullscreen", oe(ne({ toggleFullscreen: t, isFullscreen: i })), void 0, !0)
784
+ M(o.$slots, "optionFullscreen", ne(ue({ toggleFullscreen: t, isFullscreen: i })), void 0, !0)
778
785
  ]),
779
786
  key: "4"
780
787
  } : void 0,
781
788
  o.$slots.optionAnnotator ? {
782
789
  name: "optionAnnotator",
783
790
  fn: G(({ toggleAnnotator: t, isAnnotator: i }) => [
784
- M(o.$slots, "optionAnnotator", oe(ne({ toggleAnnotator: t, isAnnotator: i })), void 0, !0)
791
+ M(o.$slots, "optionAnnotator", ne(ue({ toggleAnnotator: t, isAnnotator: i })), void 0, !0)
785
792
  ]),
786
793
  key: "5"
787
794
  } : void 0
@@ -789,20 +796,20 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
789
796
  e.value.title ? (a(), l("div", {
790
797
  key: 3,
791
798
  ref_key: "quickChartTitle",
792
- ref: je,
799
+ ref: Ge,
793
800
  class: "vue-ui-quick-chart-title",
794
801
  style: R(`background:transparent;color:${e.value.color};font-size:${e.value.titleFontSize}px;font-weight:${e.value.titleBold ? "bold" : "normal"};text-align:${e.value.titleTextAlign}`)
795
- }, P(e.value.title), 5)) : g("", !0),
796
- z.value ? (a(), l("svg", {
802
+ }, O(e.value.title), 5)) : g("", !0),
803
+ L.value ? (a(), l("svg", {
797
804
  key: 4,
798
805
  ref_key: "svgRef",
799
- ref: Qe,
800
- xmlns: f(Vt),
801
- viewBox: At.value,
806
+ ref: Ke,
807
+ xmlns: f(qt),
808
+ viewBox: _t.value,
802
809
  style: R(`max-width:100%;overflow:visible;background:transparent;color:${e.value.color}`)
803
810
  }, [
804
- he(f(H)),
805
- o.$slots["chart-background"] && z.value === A.BAR ? (a(), l("foreignObject", {
811
+ fe(f(H)),
812
+ o.$slots["chart-background"] && L.value === A.BAR ? (a(), l("foreignObject", {
806
813
  key: 0,
807
814
  x: v.value.drawingArea.left,
808
815
  y: v.value.drawingArea.top,
@@ -813,8 +820,8 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
813
820
  }
814
821
  }, [
815
822
  M(o.$slots, "chart-background", {}, void 0, !0)
816
- ], 8, oa)) : g("", !0),
817
- o.$slots["chart-background"] && z.value === A.LINE ? (a(), l("foreignObject", {
823
+ ], 8, ua)) : g("", !0),
824
+ o.$slots["chart-background"] && L.value === A.LINE ? (a(), l("foreignObject", {
818
825
  key: 1,
819
826
  x: d.value.drawingArea.left,
820
827
  y: d.value.drawingArea.top,
@@ -825,8 +832,8 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
825
832
  }
826
833
  }, [
827
834
  M(o.$slots, "chart-background", {}, void 0, !0)
828
- ], 8, na)) : g("", !0),
829
- o.$slots["chart-background"] && z.value === A.DONUT ? (a(), l("foreignObject", {
835
+ ], 8, ia)) : g("", !0),
836
+ o.$slots["chart-background"] && L.value === A.DONUT ? (a(), l("foreignObject", {
830
837
  key: 2,
831
838
  x: 0,
832
839
  y: 0,
@@ -837,7 +844,7 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
837
844
  }
838
845
  }, [
839
846
  M(o.$slots, "chart-background", {}, void 0, !0)
840
- ], 8, ua)) : g("", !0),
847
+ ], 8, ra)) : g("", !0),
841
848
  _("defs", null, [
842
849
  _("filter", {
843
850
  id: `blur_${J.value}`,
@@ -850,12 +857,12 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
850
857
  in: "SourceGraphic",
851
858
  stdDeviation: 2,
852
859
  id: `blur_std_${J.value}`
853
- }, null, 8, ra),
860
+ }, null, 8, va),
854
861
  s[7] || (s[7] = _("feColorMatrix", {
855
862
  type: "saturate",
856
863
  values: "0"
857
864
  }, null, -1))
858
- ], 8, ia),
865
+ ], 8, sa),
859
866
  _("filter", {
860
867
  id: `shadow_${J.value}`,
861
868
  "color-interpolation-filters": "sRGB"
@@ -866,22 +873,22 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
866
873
  stdDeviation: "10",
867
874
  "flood-opacity": "0.5",
868
875
  "flood-color": e.value.donutShadowColor
869
- }, null, 8, va)
870
- ], 8, sa)
876
+ }, null, 8, ca)
877
+ ], 8, da)
871
878
  ]),
872
- z.value === A.DONUT ? (a(), l(m, { key: 3 }, [
873
- e.value.showDataLabels ? (a(), l("g", da, [
879
+ L.value === A.DONUT ? (a(), l(m, { key: 3 }, [
880
+ e.value.showDataLabels ? (a(), l("g", ha, [
874
881
  (a(!0), l(m, null, $(I.value.chart, (t, i) => (a(), l(m, null, [
875
882
  I.value.isArcBigEnough(t) ? (a(), l("path", {
876
883
  key: 0,
877
- d: f(qt)(t, { x: b.value.width / 2, y: b.value.height / 2 }, 16, 16, !1, !1, b.value.height * st.value),
884
+ d: f(Ht)(t, { x: b.value.width / 2, y: b.value.height / 2 }, 16, 16, !1, !1, b.value.height * vt.value),
878
885
  stroke: t.color,
879
886
  "stroke-width": e.value.donutLabelMarkerStrokeWidth,
880
887
  "stroke-linecap": "round",
881
888
  "stroke-linejoin": "round",
882
889
  fill: "none",
883
- filter: Se(t.id)
884
- }, null, 8, ca)) : g("", !0)
890
+ filter: we(t.id)
891
+ }, null, 8, fa)) : g("", !0)
885
892
  ], 64))), 256))
886
893
  ])) : g("", !0),
887
894
  _("circle", {
@@ -890,89 +897,89 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
890
897
  r: I.value.radius,
891
898
  fill: e.value.backgroundColor,
892
899
  filter: e.value.donutUseShadow ? `url(#shadow_${J.value})` : ""
893
- }, null, 8, ha),
894
- _("g", fa, [
900
+ }, null, 8, ga),
901
+ _("g", ma, [
895
902
  (a(!0), l(m, null, $(I.value.chart, (t, i) => (a(), l("path", {
896
903
  d: t.arcSlice,
897
904
  fill: t.color,
898
905
  stroke: e.value.backgroundColor,
899
906
  "stroke-width": e.value.donutStrokeWidth,
900
- filter: Se(t.id)
901
- }, null, 8, ga))), 256)),
907
+ filter: we(t.id)
908
+ }, null, 8, pa))), 256)),
902
909
  (a(!0), l(m, null, $(I.value.chart, (t, i) => (a(), l("path", {
903
910
  d: t.arcSlice,
904
911
  fill: "transparent",
905
912
  onMouseenter: (r) => I.value.useTooltip({ datapoint: t, seriesIndex: i }),
906
913
  onMouseout: s[0] || (s[0] = (r) => I.value.killTooltip()),
907
- onClick: (r) => ue("selectDatapoint", t)
908
- }, null, 40, ma))), 256))
914
+ onClick: (r) => ie("selectDatapoint", t)
915
+ }, null, 40, ya))), 256))
909
916
  ]),
910
- e.value.showDataLabels ? (a(), l("g", pa, [
917
+ e.value.showDataLabels ? (a(), l("g", xa, [
911
918
  (a(!0), l(m, null, $(I.value.chart, (t, i) => (a(), l(m, null, [
912
919
  I.value.isArcBigEnough(t) ? (a(), l("circle", {
913
920
  key: 0,
914
- cx: f(_e)(t).x,
915
- cy: f(He)(t) - 3.7,
921
+ cx: f(Le)(t).x,
922
+ cy: f(We)(t) - 3.7,
916
923
  fill: t.color,
917
924
  stroke: e.value.backgroundColor,
918
925
  "stroke-width": 1,
919
926
  r: 3,
920
- filter: Se(t.id)
921
- }, null, 8, ya)) : g("", !0),
927
+ filter: we(t.id)
928
+ }, null, 8, ka)) : g("", !0),
922
929
  I.value.isArcBigEnough(t) ? (a(), l("text", {
923
930
  key: 1,
924
- "text-anchor": f(_e)(t, !0, 20).anchor,
925
- x: f(_e)(t, !0).x,
926
- y: f(He)(t),
931
+ "text-anchor": f(Le)(t, !0, 20).anchor,
932
+ x: f(Le)(t, !0).x,
933
+ y: f(We)(t),
927
934
  fill: e.value.color,
928
935
  "font-size": e.value.dataLabelFontSize,
929
- filter: Se(t.id)
930
- }, P(I.value.displayArcPercentage(t, I.value.chart)) + " (" + P(f(X)(
936
+ filter: we(t.id)
937
+ }, O(I.value.displayArcPercentage(t, I.value.chart)) + " (" + O(f(X)(
931
938
  e.value.formatter,
932
939
  t.value,
933
- f(D)({
940
+ f(B)({
934
941
  p: e.value.valuePrefix,
935
942
  v: t.value,
936
943
  s: e.value.valueSuffix,
937
944
  r: e.value.dataLabelRoundingValue
938
945
  }),
939
946
  { datapoint: t, seriesIndex: i }
940
- )) + ") ", 9, xa)) : g("", !0),
947
+ )) + ") ", 9, ba)) : g("", !0),
941
948
  I.value.isArcBigEnough(t, !0, 20) ? (a(), l("text", {
942
949
  key: 2,
943
- "text-anchor": f(_e)(t).anchor,
944
- x: f(_e)(t, !0).x,
945
- y: f(He)(t) + e.value.dataLabelFontSize,
950
+ "text-anchor": f(Le)(t).anchor,
951
+ x: f(Le)(t, !0).x,
952
+ y: f(We)(t) + e.value.dataLabelFontSize,
946
953
  fill: e.value.color,
947
954
  "font-size": e.value.dataLabelFontSize,
948
- filter: Se(t.id)
949
- }, P(t.name), 9, ka)) : g("", !0)
955
+ filter: we(t.id)
956
+ }, O(t.name), 9, Sa)) : g("", !0)
950
957
  ], 64))), 256))
951
958
  ])) : g("", !0),
952
- e.value.donutShowTotal ? (a(), l("g", ba, [
959
+ e.value.donutShowTotal ? (a(), l("g", wa, [
953
960
  _("text", {
954
961
  "text-anchor": "middle",
955
962
  x: I.value.drawingArea.centerX,
956
963
  y: I.value.drawingArea.centerY - e.value.donutTotalLabelFontSize / 2,
957
964
  "font-size": e.value.donutTotalLabelFontSize,
958
965
  fill: e.value.color
959
- }, P(e.value.donutTotalLabelText), 9, Sa),
966
+ }, O(e.value.donutTotalLabelText), 9, Aa),
960
967
  _("text", {
961
968
  "text-anchor": "middle",
962
969
  x: I.value.drawingArea.centerX,
963
970
  y: I.value.drawingArea.centerY + e.value.donutTotalLabelFontSize,
964
971
  "font-size": e.value.donutTotalLabelFontSize,
965
972
  fill: e.value.color
966
- }, P(f(D)({
973
+ }, O(f(B)({
967
974
  p: e.value.valuePrefix,
968
975
  v: I.value.total,
969
976
  s: e.value.valueSuffix,
970
977
  r: e.value.dataLabelRoundingValue
971
- })), 9, wa)
978
+ })), 9, _a)
972
979
  ])) : g("", !0)
973
980
  ], 64)) : g("", !0),
974
- z.value === A.LINE ? (a(), l(m, { key: 4 }, [
975
- e.value.xyShowGrid ? (a(), l("g", Aa, [
981
+ L.value === A.LINE ? (a(), l(m, { key: 4 }, [
982
+ e.value.xyShowGrid ? (a(), l("g", La, [
976
983
  (a(!0), l(m, null, $(d.value.yLabels, (t) => (a(), l(m, null, [
977
984
  t.y <= d.value.drawingArea.bottom ? (a(), l("line", {
978
985
  key: 0,
@@ -983,7 +990,7 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
983
990
  stroke: e.value.xyGridStroke,
984
991
  "stroke-width": e.value.xyGridStrokeWidth,
985
992
  "stroke-linecap": "round"
986
- }, null, 8, _a)) : g("", !0)
993
+ }, null, 8, za)) : g("", !0)
987
994
  ], 64))), 256)),
988
995
  (a(!0), l(m, null, $(d.value.extremes.maxSeries + 1, (t, i) => (a(), l("line", {
989
996
  x1: d.value.drawingArea.left + d.value.slotSize * i,
@@ -993,9 +1000,9 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
993
1000
  stroke: e.value.xyGridStroke,
994
1001
  "stroke-width": e.value.xyGridStrokeWidth,
995
1002
  "stroke-linecap": "round"
996
- }, null, 8, za))), 256))
1003
+ }, null, 8, $a))), 256))
997
1004
  ])) : g("", !0),
998
- e.value.xyShowAxis ? (a(), l("g", La, [
1005
+ e.value.xyShowAxis ? (a(), l("g", Ca, [
999
1006
  _("line", {
1000
1007
  x1: d.value.drawingArea.left,
1001
1008
  x2: d.value.drawingArea.left,
@@ -1004,7 +1011,7 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
1004
1011
  stroke: e.value.xyAxisStroke,
1005
1012
  "stroke-width": e.value.xyAxisStrokeWidth,
1006
1013
  "stroke-linecap": "round"
1007
- }, null, 8, $a),
1014
+ }, null, 8, Ia),
1008
1015
  _("line", {
1009
1016
  x1: d.value.drawingArea.left,
1010
1017
  x2: d.value.drawingArea.right,
@@ -1013,9 +1020,9 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
1013
1020
  stroke: e.value.xyAxisStroke,
1014
1021
  "stroke-width": e.value.xyAxisStrokeWidth,
1015
1022
  "stroke-linecap": "round"
1016
- }, null, 8, Ca)
1023
+ }, null, 8, Ea)
1017
1024
  ])) : g("", !0),
1018
- e.value.xyShowScale ? (a(), l("g", Ia, [
1025
+ e.value.xyShowScale ? (a(), l("g", Oa, [
1019
1026
  (a(!0), l(m, null, $(d.value.yLabels, (t, i) => (a(), l(m, null, [
1020
1027
  t.y <= d.value.drawingArea.bottom ? (a(), l("line", {
1021
1028
  key: 0,
@@ -1026,7 +1033,7 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
1026
1033
  stroke: e.value.xyAxisStroke,
1027
1034
  "stroke-width": e.value.xyAxisStrokeWidth,
1028
1035
  "stroke-linecap": "round"
1029
- }, null, 8, Ea)) : g("", !0),
1036
+ }, null, 8, Ta)) : g("", !0),
1030
1037
  t.y <= d.value.drawingArea.bottom ? (a(), l("text", {
1031
1038
  key: 1,
1032
1039
  x: t.x,
@@ -1034,10 +1041,10 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
1034
1041
  "text-anchor": "end",
1035
1042
  "font-size": e.value.xyLabelsYFontSize,
1036
1043
  fill: e.value.color
1037
- }, P(f(X)(
1044
+ }, O(f(X)(
1038
1045
  e.value.formatter,
1039
1046
  t.value,
1040
- f(D)({
1047
+ f(B)({
1041
1048
  p: e.value.valuePrefix,
1042
1049
  v: t.value,
1043
1050
  s: e.value.valueSuffix,
@@ -1047,9 +1054,9 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
1047
1054
  )), 9, Pa)) : g("", !0)
1048
1055
  ], 64))), 256))
1049
1056
  ])) : g("", !0),
1050
- e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", Oa, [
1051
- (a(!0), l(m, null, $(e.value.xyPeriods.slice(p.value.start, p.value.end), (t, i) => (a(), l(m, null, [
1052
- !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && i % Math.floor((p.value.end - p.value.start) / e.value.xyPeriodsModulo) === 0 || p.value.end - p.value.start <= e.value.xyPeriodsModulo ? (a(), l("line", {
1057
+ e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", Ra, [
1058
+ (a(!0), l(m, null, $(K.value.map((t) => t.text), (t, i) => (a(), l(m, null, [
1059
+ !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && i % Math.floor((x.value.end - x.value.start) / e.value.xyPeriodsModulo) === 0 || x.value.end - x.value.start <= e.value.xyPeriodsModulo ? (a(), l("line", {
1053
1060
  key: 0,
1054
1061
  x1: d.value.drawingArea.left + d.value.slotSize * (i + 1) - d.value.slotSize / 2,
1055
1062
  x2: d.value.drawingArea.left + d.value.slotSize * (i + 1) - d.value.slotSize / 2,
@@ -1058,37 +1065,37 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
1058
1065
  stroke: e.value.xyAxisStroke,
1059
1066
  "stroke-width": e.value.xyAxisStrokeWidth,
1060
1067
  "stroke-linecap": "round"
1061
- }, null, 8, Ta)) : g("", !0),
1062
- !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && i % Math.floor((p.value.end - p.value.start) / e.value.xyPeriodsModulo) === 0 || p.value.end - p.value.start <= e.value.xyPeriodsModulo ? (a(), l("text", {
1068
+ }, null, 8, Ma)) : g("", !0),
1069
+ !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && i % Math.floor((x.value.end - x.value.start) / e.value.xyPeriodsModulo) === 0 || x.value.end - x.value.start <= e.value.xyPeriodsModulo ? (a(), l("text", {
1063
1070
  key: 1,
1064
1071
  "font-size": e.value.xyLabelsXFontSize,
1065
1072
  "text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1066
1073
  fill: e.value.color,
1067
1074
  transform: `translate(${d.value.drawingArea.left + d.value.slotSize * (i + 1) - d.value.slotSize / 2}, ${d.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`
1068
- }, P(t), 9, Ra)) : g("", !0)
1075
+ }, O(t), 9, Na)) : g("", !0)
1069
1076
  ], 64))), 256))
1070
1077
  ])) : g("", !0),
1071
- _("g", Ma, [
1072
- (a(!0), l(m, null, $(d.value.dataset, (t, i) => (a(), l("g", Na, [
1078
+ _("g", Fa, [
1079
+ (a(!0), l(m, null, $(d.value.dataset, (t, i) => (a(), l("g", Ua, [
1073
1080
  e.value.lineSmooth ? (a(), l(m, { key: 0 }, [
1074
1081
  _("path", {
1075
- d: `M ${f(gt)(t.coordinates)}`,
1082
+ d: `M ${f(mt)(t.coordinates)}`,
1076
1083
  stroke: e.value.backgroundColor,
1077
1084
  "stroke-width": e.value.lineStrokeWidth + 1,
1078
1085
  "stroke-linecap": "round",
1079
1086
  fill: "none",
1080
- class: ce({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1087
+ class: he({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1081
1088
  style: { transition: "all 0.3s ease-in-out" }
1082
- }, null, 10, Fa),
1089
+ }, null, 10, Da),
1083
1090
  _("path", {
1084
- d: `M ${f(gt)(t.coordinates)}`,
1091
+ d: `M ${f(mt)(t.coordinates)}`,
1085
1092
  stroke: t.color,
1086
1093
  "stroke-width": e.value.lineStrokeWidth,
1087
1094
  "stroke-linecap": "round",
1088
1095
  fill: "none",
1089
- class: ce({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1096
+ class: he({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1090
1097
  style: { transition: "all 0.3s ease-in-out" }
1091
- }, null, 10, Ua)
1098
+ }, null, 10, Ba)
1092
1099
  ], 64)) : (a(), l(m, { key: 1 }, [
1093
1100
  _("path", {
1094
1101
  d: `M ${t.linePath}`,
@@ -1096,18 +1103,18 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
1096
1103
  "stroke-width": e.value.lineStrokeWidth + 1,
1097
1104
  "stroke-linecap": "round",
1098
1105
  fill: "none",
1099
- class: ce({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1106
+ class: he({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1100
1107
  style: { transition: "all 0.3s ease-in-out" }
1101
- }, null, 10, Ba),
1108
+ }, null, 10, Va),
1102
1109
  _("path", {
1103
1110
  d: `M ${t.linePath}`,
1104
1111
  stroke: t.color,
1105
1112
  "stroke-width": e.value.lineStrokeWidth,
1106
1113
  "stroke-linecap": "round",
1107
1114
  fill: "none",
1108
- class: ce({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1115
+ class: he({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1109
1116
  style: { transition: "all 0.3s ease-in-out" }
1110
- }, null, 10, Da)
1117
+ }, null, 10, qa)
1111
1118
  ], 64)),
1112
1119
  (a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("circle", {
1113
1120
  cx: r.x,
@@ -1118,10 +1125,10 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
1118
1125
  "stroke-width": "0.5",
1119
1126
  class: "quick-animation",
1120
1127
  style: { transition: "all 0.3s ease-in-out" }
1121
- }, null, 8, Va))), 256))
1128
+ }, null, 8, Ha))), 256))
1122
1129
  ]))), 256))
1123
1130
  ]),
1124
- e.value.showDataLabels ? (a(), l("g", qa, [
1131
+ e.value.showDataLabels ? (a(), l("g", Wa, [
1125
1132
  (a(!0), l(m, null, $(d.value.dataset, (t, i) => (a(), l(m, null, [
1126
1133
  (a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("text", {
1127
1134
  "text-anchor": "middle",
@@ -1131,20 +1138,20 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
1131
1138
  y: f(Z)(r.y) - e.value.dataLabelFontSize / 2,
1132
1139
  class: "quick-animation",
1133
1140
  style: { transition: "all 0.3s ease-in-out" }
1134
- }, P(f(X)(
1141
+ }, O(f(X)(
1135
1142
  e.value.formatter,
1136
1143
  f(Z)(r.value),
1137
- f(D)({
1144
+ f(B)({
1138
1145
  p: e.value.valuePrefix,
1139
1146
  v: f(Z)(r.value),
1140
1147
  s: e.value.valueSuffix,
1141
1148
  r: e.value.dataLabelRoundingValue
1142
1149
  }),
1143
1150
  { datapoint: r, seriesIndex: h }
1144
- )), 9, Ha))), 256))
1151
+ )), 9, ja))), 256))
1145
1152
  ], 64))), 256))
1146
1153
  ])) : g("", !0),
1147
- _("g", Wa, [
1154
+ _("g", Ga, [
1148
1155
  (a(!0), l(m, null, $(d.value.extremes.maxSeries, (t, i) => (a(), l("rect", {
1149
1156
  x: d.value.drawingArea.left + i * d.value.slotSize,
1150
1157
  y: d.value.drawingArea.top,
@@ -1154,15 +1161,15 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
1154
1161
  style: R(`opacity:${e.value.xyHighlighterOpacity}`),
1155
1162
  onMouseenter: (r) => d.value.useTooltip(i),
1156
1163
  onMouseleave: s[1] || (s[1] = (r) => d.value.killTooltip()),
1157
- onClick: (r) => ue("selectDatapoint", d.value.dataset.map((h) => ({
1164
+ onClick: (r) => ie("selectDatapoint", d.value.dataset.map((h) => ({
1158
1165
  ...h,
1159
1166
  value: h.values[i]
1160
1167
  })))
1161
- }, null, 44, ja))), 256))
1168
+ }, null, 44, Xa))), 256))
1162
1169
  ])
1163
1170
  ], 64)) : g("", !0),
1164
- z.value === A.BAR ? (a(), l(m, { key: 5 }, [
1165
- e.value.xyShowGrid ? (a(), l("g", Ga, [
1171
+ L.value === A.BAR ? (a(), l(m, { key: 5 }, [
1172
+ e.value.xyShowGrid ? (a(), l("g", Za, [
1166
1173
  (a(!0), l(m, null, $(v.value.yLabels, (t) => (a(), l(m, null, [
1167
1174
  t.y <= v.value.drawingArea.bottom ? (a(), l("line", {
1168
1175
  key: 0,
@@ -1173,7 +1180,7 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
1173
1180
  stroke: e.value.xyGridStroke,
1174
1181
  "stroke-width": e.value.xyGridStrokeWidth,
1175
1182
  "stroke-linecap": "round"
1176
- }, null, 8, Xa)) : g("", !0)
1183
+ }, null, 8, Ya)) : g("", !0)
1177
1184
  ], 64))), 256)),
1178
1185
  (a(!0), l(m, null, $(v.value.extremes.maxSeries + 1, (t, i) => (a(), l("line", {
1179
1186
  x1: v.value.drawingArea.left + v.value.slotSize * i,
@@ -1183,9 +1190,9 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
1183
1190
  stroke: e.value.xyGridStroke,
1184
1191
  "stroke-width": e.value.xyGridStrokeWidth,
1185
1192
  "stroke-linecap": "round"
1186
- }, null, 8, Za))), 256))
1193
+ }, null, 8, Ja))), 256))
1187
1194
  ])) : g("", !0),
1188
- e.value.xyShowAxis ? (a(), l("g", Ya, [
1195
+ e.value.xyShowAxis ? (a(), l("g", Qa, [
1189
1196
  _("line", {
1190
1197
  x1: v.value.drawingArea.left,
1191
1198
  x2: v.value.drawingArea.left,
@@ -1194,7 +1201,7 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
1194
1201
  stroke: e.value.xyAxisStroke,
1195
1202
  "stroke-width": e.value.xyAxisStrokeWidth,
1196
1203
  "stroke-linecap": "round"
1197
- }, null, 8, Ja),
1204
+ }, null, 8, Ka),
1198
1205
  _("line", {
1199
1206
  x1: v.value.drawingArea.left,
1200
1207
  x2: v.value.drawingArea.right,
@@ -1203,9 +1210,9 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
1203
1210
  stroke: e.value.xyAxisStroke,
1204
1211
  "stroke-width": e.value.xyAxisStrokeWidth,
1205
1212
  "stroke-linecap": "round"
1206
- }, null, 8, Qa)
1213
+ }, null, 8, el)
1207
1214
  ])) : g("", !0),
1208
- e.value.xyShowScale ? (a(), l("g", Ka, [
1215
+ e.value.xyShowScale ? (a(), l("g", tl, [
1209
1216
  (a(!0), l(m, null, $(v.value.yLabels, (t, i) => (a(), l(m, null, [
1210
1217
  t.y <= v.value.drawingArea.bottom ? (a(), l("line", {
1211
1218
  key: 0,
@@ -1216,7 +1223,7 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
1216
1223
  stroke: e.value.xyAxisStroke,
1217
1224
  "stroke-width": e.value.xyAxisStrokeWidth,
1218
1225
  "stroke-linecap": "round"
1219
- }, null, 8, el)) : g("", !0),
1226
+ }, null, 8, al)) : g("", !0),
1220
1227
  t.y <= v.value.drawingArea.bottom ? (a(), l("text", {
1221
1228
  key: 1,
1222
1229
  x: t.x,
@@ -1224,21 +1231,21 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
1224
1231
  "text-anchor": "end",
1225
1232
  "font-size": e.value.xyLabelsYFontSize,
1226
1233
  fill: e.value.color
1227
- }, P(f(X)(
1234
+ }, O(f(X)(
1228
1235
  e.value.formatter,
1229
1236
  t.value,
1230
- f(D)({
1237
+ f(B)({
1231
1238
  p: e.value.valuePrefix,
1232
1239
  v: t.value,
1233
1240
  s: e.value.valueSuffix,
1234
1241
  r: e.value.dataLabelRoundingValue
1235
1242
  }),
1236
1243
  { datapoint: t, seriesIndex: i }
1237
- )), 9, tl)) : g("", !0)
1244
+ )), 9, ll)) : g("", !0)
1238
1245
  ], 64))), 256))
1239
1246
  ])) : g("", !0),
1240
- e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", al, [
1241
- (a(!0), l(m, null, $(e.value.xyPeriods.slice(p.value.start, p.value.end), (t, i) => (a(), l("line", {
1247
+ e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", ol, [
1248
+ (a(!0), l(m, null, $(e.value.xyPeriods.slice(x.value.start, x.value.end), (t, i) => (a(), l("line", {
1242
1249
  x1: v.value.drawingArea.left + v.value.slotSize * (i + 1) - v.value.slotSize / 2,
1243
1250
  x2: v.value.drawingArea.left + v.value.slotSize * (i + 1) - v.value.slotSize / 2,
1244
1251
  y1: v.value.drawingArea.bottom,
@@ -1246,15 +1253,15 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
1246
1253
  stroke: e.value.xyAxisStroke,
1247
1254
  "stroke-width": e.value.xyAxisStrokeWidth,
1248
1255
  "stroke-linecap": "round"
1249
- }, null, 8, ll))), 256)),
1250
- (a(!0), l(m, null, $(e.value.xyPeriods.slice(p.value.start, p.value.end), (t, i) => (a(), l("text", {
1256
+ }, null, 8, nl))), 256)),
1257
+ (a(!0), l(m, null, $(K.value.map((t) => t.text), (t, i) => (a(), l("text", {
1251
1258
  "font-size": e.value.xyLabelsXFontSize,
1252
1259
  "text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1253
1260
  transform: `translate(${v.value.drawingArea.left + v.value.slotSize * (i + 1) - v.value.slotSize / 2}, ${v.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}) rotate(${e.value.xyPeriodLabelsRotation})`,
1254
1261
  fill: e.value.color
1255
- }, P(t), 9, ol))), 256))
1262
+ }, O(t), 9, ul))), 256))
1256
1263
  ])) : g("", !0),
1257
- _("g", nl, [
1264
+ _("g", il, [
1258
1265
  (a(!0), l(m, null, $(v.value.dataset, (t, i) => (a(), l(m, null, [
1259
1266
  (a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("rect", {
1260
1267
  x: r.x,
@@ -1265,26 +1272,26 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
1265
1272
  stroke: e.value.backgroundColor,
1266
1273
  "stroke-width": e.value.barStrokeWidth,
1267
1274
  "stroke-linecap": "round",
1268
- class: ce({ "vue-data-ui-bar-animated": e.value.barAnimated && r.value < 0 })
1275
+ class: he({ "vue-data-ui-bar-animated": e.value.barAnimated && r.value < 0 })
1269
1276
  }, [
1270
- e.value.barAnimated && r.value > 0 && !f(Ie) && !f(Ee) ? (a(), l("animate", {
1277
+ e.value.barAnimated && r.value > 0 && !f(Ee) && !f(Oe) ? (a(), l("animate", {
1271
1278
  key: 0,
1272
1279
  attributeName: "height",
1273
1280
  from: 0,
1274
1281
  to: r.height,
1275
1282
  dur: "0.5s"
1276
- }, null, 8, il)) : g("", !0),
1277
- e.value.barAnimated && r.value > 0 && !f(Ie) && !f(Ee) ? (a(), l("animate", {
1283
+ }, null, 8, sl)) : g("", !0),
1284
+ e.value.barAnimated && r.value > 0 && !f(Ee) && !f(Oe) ? (a(), l("animate", {
1278
1285
  key: 1,
1279
1286
  attributeName: "y",
1280
1287
  from: v.value.absoluteZero,
1281
1288
  to: v.value.absoluteZero - r.height,
1282
1289
  dur: "0.5s"
1283
- }, null, 8, rl)) : g("", !0)
1284
- ], 10, ul))), 256))
1290
+ }, null, 8, vl)) : g("", !0)
1291
+ ], 10, rl))), 256))
1285
1292
  ], 64))), 256))
1286
1293
  ]),
1287
- e.value.showDataLabels ? (a(), l("g", sl, [
1294
+ e.value.showDataLabels ? (a(), l("g", dl, [
1288
1295
  (a(!0), l(m, null, $(v.value.dataset, (t, i) => (a(), l(m, null, [
1289
1296
  (a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("text", {
1290
1297
  x: r.x + r.width / 2,
@@ -1293,20 +1300,20 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
1293
1300
  "font-size": e.value.dataLabelFontSize,
1294
1301
  fill: t.color,
1295
1302
  class: "quick-animation"
1296
- }, P(f(X)(
1303
+ }, O(f(X)(
1297
1304
  e.value.formatter,
1298
1305
  f(Z)(r.value),
1299
- f(D)({
1306
+ f(B)({
1300
1307
  p: e.value.valuePrefix,
1301
1308
  v: f(Z)(r.value),
1302
1309
  s: e.value.valueSuffix,
1303
1310
  r: e.value.dataLabelRoundingValue
1304
1311
  }),
1305
1312
  { datapoint: r, seriesIndex: h }
1306
- )), 9, vl))), 256))
1313
+ )), 9, cl))), 256))
1307
1314
  ], 64))), 256))
1308
1315
  ])) : g("", !0),
1309
- _("g", dl, [
1316
+ _("g", hl, [
1310
1317
  (a(!0), l(m, null, $(v.value.extremes.maxSeries, (t, i) => (a(), l("rect", {
1311
1318
  x: v.value.drawingArea.left + i * v.value.slotSize,
1312
1319
  y: v.value.drawingArea.top,
@@ -1316,51 +1323,51 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
1316
1323
  style: R(`opacity:${e.value.xyHighlighterOpacity}`),
1317
1324
  onMouseenter: (r) => v.value.useTooltip(i),
1318
1325
  onMouseleave: s[2] || (s[2] = (r) => v.value.killTooltip()),
1319
- onClick: (r) => ue("selectDatapoint", v.value.dataset.map((h) => ({
1326
+ onClick: (r) => ie("selectDatapoint", v.value.dataset.map((h) => ({
1320
1327
  ...h,
1321
1328
  value: h.values[i]
1322
1329
  })))
1323
- }, null, 44, cl))), 256))
1330
+ }, null, 44, fl))), 256))
1324
1331
  ])
1325
1332
  ], 64)) : g("", !0),
1326
- [A.LINE, A.BAR].includes(z.value) ? (a(), l("g", hl, [
1327
- e.value.xAxisLabel && z.value === A.LINE ? (a(), l("g", fl, [
1333
+ [A.LINE, A.BAR].includes(L.value) ? (a(), l("g", gl, [
1334
+ e.value.xAxisLabel && L.value === A.LINE ? (a(), l("g", ml, [
1328
1335
  _("text", {
1329
1336
  "font-size": e.value.axisLabelsFontSize,
1330
1337
  fill: e.value.color,
1331
1338
  "text-anchor": "middle",
1332
1339
  x: d.value.drawingArea.left + d.value.drawingArea.width / 2,
1333
1340
  y: b.value.height - e.value.axisLabelsFontSize / 3
1334
- }, P(e.value.xAxisLabel), 9, gl)
1341
+ }, O(e.value.xAxisLabel), 9, pl)
1335
1342
  ])) : g("", !0),
1336
- e.value.xAxisLabel && z.value === A.BAR ? (a(), l("g", ml, [
1343
+ e.value.xAxisLabel && L.value === A.BAR ? (a(), l("g", yl, [
1337
1344
  _("text", {
1338
1345
  "font-size": e.value.axisLabelsFontSize,
1339
1346
  fill: e.value.color,
1340
1347
  "text-anchor": "middle",
1341
1348
  x: v.value.drawingArea.left + v.value.drawingArea.width / 2,
1342
1349
  y: b.value.height - e.value.axisLabelsFontSize / 3
1343
- }, P(e.value.xAxisLabel), 9, pl)
1350
+ }, O(e.value.xAxisLabel), 9, xl)
1344
1351
  ])) : g("", !0),
1345
- e.value.yAxisLabel && z.value === A.LINE ? (a(), l("g", yl, [
1352
+ e.value.yAxisLabel && L.value === A.LINE ? (a(), l("g", kl, [
1346
1353
  _("text", {
1347
1354
  "font-size": e.value.axisLabelsFontSize,
1348
1355
  fill: e.value.color,
1349
1356
  transform: `translate(${e.value.axisLabelsFontSize}, ${d.value.drawingArea.top + d.value.drawingArea.height / 2}) rotate(-90)`,
1350
1357
  "text-anchor": "middle"
1351
- }, P(e.value.yAxisLabel), 9, xl)
1358
+ }, O(e.value.yAxisLabel), 9, bl)
1352
1359
  ])) : g("", !0),
1353
- e.value.yAxisLabel && z.value === A.BAR ? (a(), l("g", kl, [
1360
+ e.value.yAxisLabel && L.value === A.BAR ? (a(), l("g", Sl, [
1354
1361
  _("text", {
1355
1362
  "font-size": e.value.axisLabelsFontSize,
1356
1363
  fill: e.value.color,
1357
1364
  transform: `translate(${e.value.axisLabelsFontSize}, ${v.value.drawingArea.top + v.value.drawingArea.height / 2}) rotate(-90)`,
1358
1365
  "text-anchor": "middle"
1359
- }, P(e.value.yAxisLabel), 9, bl)
1366
+ }, O(e.value.yAxisLabel), 9, wl)
1360
1367
  ])) : g("", !0)
1361
1368
  ])) : g("", !0)
1362
- ], 12, la)) : g("", !0),
1363
- z.value ? g("", !0) : (a(), Me(f(ge), {
1369
+ ], 12, na)) : g("", !0),
1370
+ L.value ? g("", !0) : (a(), Ne(f(me), {
1364
1371
  key: 5,
1365
1372
  config: {
1366
1373
  type: "line",
@@ -1378,53 +1385,53 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
1378
1385
  }
1379
1386
  }
1380
1387
  }, null, 8, ["config"])),
1381
- o.$slots.watermark ? (a(), l("div", Sl, [
1382
- M(o.$slots, "watermark", oe(ne({ isPrinting: f(Ie) || f(Ee) })), void 0, !0)
1388
+ o.$slots.watermark ? (a(), l("div", Al, [
1389
+ M(o.$slots, "watermark", ne(ue({ isPrinting: f(Ee) || f(Oe) })), void 0, !0)
1383
1390
  ])) : g("", !0),
1384
- [A.BAR, A.LINE].includes(z.value) && e.value.zoomXy && x.value.maxSeriesLength > 1 ? (a(), l("div", {
1385
- key: `slicer_${$e.value}`,
1391
+ [A.BAR, A.LINE].includes(L.value) && e.value.zoomXy && p.value.maxSeriesLength > 1 ? (a(), l("div", {
1392
+ key: `slicer_${Ce.value}`,
1386
1393
  ref_key: "quickChartSlicer",
1387
- ref: Xe
1394
+ ref: Ze
1388
1395
  }, [
1389
- (a(), Me(Xt, {
1396
+ (a(), Ne(Zt, {
1390
1397
  ref_key: "slicerComponent",
1391
- ref: re,
1392
- key: `slicer_${$e.value}`,
1398
+ ref: se,
1399
+ key: `slicer_${Ce.value}`,
1393
1400
  background: e.value.zoomColor,
1394
1401
  borderColor: e.value.backgroundColor,
1395
1402
  fontSize: e.value.zoomFontSize,
1396
1403
  useResetSlot: e.value.zoomUseResetSlot,
1397
- labelLeft: e.value.xyPeriods[p.value.start] ? e.value.xyPeriods[p.value.start] : "",
1398
- labelRight: e.value.xyPeriods[p.value.end - 1] ? e.value.xyPeriods[p.value.end - 1] : "",
1404
+ labelLeft: e.value.xyPeriods[x.value.start] ? K.value[0].text : "",
1405
+ labelRight: e.value.xyPeriods[x.value.end - 1] ? K.value.at(-1).text : "",
1399
1406
  textColor: e.value.color,
1400
1407
  inputColor: e.value.zoomColor,
1401
1408
  selectColor: e.value.zoomHighlightColor,
1402
- max: x.value.maxSeriesLength,
1409
+ max: p.value.maxSeriesLength,
1403
1410
  min: 0,
1404
- valueStart: p.value.start,
1405
- valueEnd: p.value.end,
1411
+ valueStart: x.value.start,
1412
+ valueEnd: x.value.end,
1406
1413
  smoothMinimap: e.value.zoomMinimap.smooth,
1407
1414
  minimapSelectedColor: e.value.zoomMinimap.selectedColor,
1408
1415
  minimapSelectedColorOpacity: e.value.zoomMinimap.selectedColorOpacity,
1409
1416
  minimapSelectionRadius: e.value.zoomMinimap.selectionRadius,
1410
1417
  minimapLineColor: e.value.zoomMinimap.lineColor,
1411
- minimap: Ct.value,
1418
+ minimap: It.value,
1412
1419
  minimapIndicatorColor: e.value.zoomMinimap.indicatorColor,
1413
1420
  verticalHandles: e.value.zoomMinimap.verticalHandles,
1414
1421
  minimapSelectedIndex: j.value,
1415
- start: p.value.start,
1416
- "onUpdate:start": s[3] || (s[3] = (t) => p.value.start = t),
1417
- end: p.value.end,
1418
- "onUpdate:end": s[4] || (s[4] = (t) => p.value.end = t),
1422
+ start: x.value.start,
1423
+ "onUpdate:start": s[3] || (s[3] = (t) => x.value.start = t),
1424
+ end: x.value.end,
1425
+ "onUpdate:end": s[4] || (s[4] = (t) => x.value.end = t),
1419
1426
  refreshStartPoint: e.value.zoomStartIndex !== null ? e.value.zoomStartIndex : 0,
1420
- refreshEndPoint: e.value.zoomEndIndex !== null ? e.value.zoomEndIndex + 1 : x.value.maxSeriesLength,
1427
+ refreshEndPoint: e.value.zoomEndIndex !== null ? e.value.zoomEndIndex + 1 : p.value.maxSeriesLength,
1421
1428
  enableRangeHandles: e.value.zoomEnableRangeHandles,
1422
1429
  enableSelectionDrag: e.value.zoomEnableSelectionDrag,
1423
- onReset: Lt,
1430
+ onReset: $t,
1424
1431
  onTrapMouse: zt
1425
1432
  }, {
1426
1433
  "reset-action": G(({ reset: t }) => [
1427
- M(o.$slots, "reset-action", oe(ne({ reset: t })), void 0, !0)
1434
+ M(o.$slots, "reset-action", ne(ue({ reset: t })), void 0, !0)
1428
1435
  ]),
1429
1436
  _: 3
1430
1437
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "smoothMinimap", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectionRadius", "minimapLineColor", "minimap", "minimapIndicatorColor", "verticalHandles", "minimapSelectedIndex", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"]))
@@ -1432,35 +1439,35 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
1432
1439
  e.value.showLegend ? (a(), l("div", {
1433
1440
  key: 8,
1434
1441
  ref_key: "quickChartLegend",
1435
- ref: Ge,
1442
+ ref: Xe,
1436
1443
  class: "vue-ui-quick-chart-legend",
1437
1444
  style: R(`background:transparent;color:${e.value.color}`)
1438
1445
  }, [
1439
- z.value === A.DONUT ? (a(!0), l(m, { key: 0 }, $(I.value.legend, (t, i) => (a(), l("div", {
1446
+ L.value === A.DONUT ? (a(!0), l(m, { key: 0 }, $(I.value.legend, (t, i) => (a(), l("div", {
1440
1447
  class: "vue-ui-quick-chart-legend-item",
1441
1448
  onClick: (r) => {
1442
- _t(t, I.value.dataset), ue("selectLegend", t);
1449
+ Lt(t, I.value.dataset), ie("selectLegend", t);
1443
1450
  },
1444
1451
  style: R(`cursor: ${I.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1445
1452
  }, [
1446
- e.value.useCustomLegend ? M(o.$slots, "legend", Ve({
1453
+ e.value.useCustomLegend ? M(o.$slots, "legend", qe({
1447
1454
  key: 0,
1448
1455
  ref_for: !0
1449
1456
  }, { legend: t }), void 0, !0) : (a(), l(m, { key: 1 }, [
1450
- he(f(O), {
1457
+ fe(f(T), {
1451
1458
  name: e.value.legendIcon,
1452
1459
  stroke: t.color,
1453
1460
  size: e.value.legendIconSize
1454
1461
  }, null, 8, ["name", "stroke", "size"]),
1455
1462
  _("span", {
1456
1463
  style: R(`font-size:${e.value.legendFontSize}px`)
1457
- }, P(t.name), 5),
1464
+ }, O(t.name), 5),
1458
1465
  _("span", {
1459
1466
  style: R(`font-size:${e.value.legendFontSize}px;font-variant-numeric:tabular-nums`)
1460
- }, P(w.value.includes(t.id) ? "-" : f(X)(
1467
+ }, O(w.value.includes(t.id) ? "-" : f(X)(
1461
1468
  e.value.formatter,
1462
1469
  t.absoluteValue,
1463
- f(D)({
1470
+ f(B)({
1464
1471
  p: e.value.valuePrefix,
1465
1472
  v: t.absoluteValue,
1466
1473
  s: e.value.valueSuffix,
@@ -1471,72 +1478,72 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
1471
1478
  w.value.includes(t.id) ? (a(), l("span", {
1472
1479
  key: 0,
1473
1480
  style: R(`font-size:${e.value.legendFontSize}px`)
1474
- }, " ( - % ) ", 4)) : Pe.value ? (a(), l("span", {
1481
+ }, " ( - % ) ", 4)) : Te.value ? (a(), l("span", {
1475
1482
  key: 1,
1476
1483
  style: R(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1477
1484
  }, " ( - % ) ", 4)) : (a(), l("span", {
1478
1485
  key: 2,
1479
1486
  style: R(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1480
- }, " (" + P(f(D)({
1487
+ }, " (" + O(f(B)({
1481
1488
  v: t.value / I.value.total * 100,
1482
1489
  s: "%",
1483
1490
  r: e.value.dataLabelRoundingPercentage
1484
1491
  })) + ") ", 5))
1485
1492
  ], 64))
1486
- ], 12, wl))), 256)) : g("", !0),
1487
- z.value === A.LINE ? (a(!0), l(m, { key: 1 }, $(d.value.legend, (t, i) => (a(), l("div", {
1493
+ ], 12, _l))), 256)) : g("", !0),
1494
+ L.value === A.LINE ? (a(!0), l(m, { key: 1 }, $(d.value.legend, (t, i) => (a(), l("div", {
1488
1495
  class: "vue-ui-quick-chart-legend-item",
1489
1496
  onClick: (r) => {
1490
- ut(t.id, d.value.legend.length - 1), ue("selectLegend", t);
1497
+ it(t.id, d.value.legend.length - 1), ie("selectLegend", t);
1491
1498
  },
1492
1499
  style: R(`cursor: ${d.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1493
1500
  }, [
1494
- e.value.useCustomLegend ? M(o.$slots, "legend", Ve({
1501
+ e.value.useCustomLegend ? M(o.$slots, "legend", qe({
1495
1502
  key: 0,
1496
1503
  ref_for: !0
1497
1504
  }, { legend: t }), void 0, !0) : (a(), l(m, { key: 1 }, [
1498
- he(f(O), {
1505
+ fe(f(T), {
1499
1506
  name: e.value.legendIcon,
1500
1507
  stroke: t.color,
1501
1508
  size: e.value.legendIconSize
1502
1509
  }, null, 8, ["name", "stroke", "size"]),
1503
1510
  _("span", {
1504
1511
  style: R(`font-size:${e.value.legendFontSize}px`)
1505
- }, P(t.name), 5)
1512
+ }, O(t.name), 5)
1506
1513
  ], 64))
1507
- ], 12, Al))), 256)) : g("", !0),
1508
- z.value === A.BAR ? (a(!0), l(m, { key: 2 }, $(v.value.legend, (t, i) => (a(), l("div", {
1514
+ ], 12, Ll))), 256)) : g("", !0),
1515
+ L.value === A.BAR ? (a(!0), l(m, { key: 2 }, $(v.value.legend, (t, i) => (a(), l("div", {
1509
1516
  class: "vue-ui-quick-chart-legend-item",
1510
1517
  onClick: (r) => {
1511
- ut(t.id, v.value.legend.length - 1), ue("selectLegend", t);
1518
+ it(t.id, v.value.legend.length - 1), ie("selectLegend", t);
1512
1519
  },
1513
1520
  style: R(`cursor: ${v.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1514
1521
  }, [
1515
- e.value.useCustomLegend ? M(o.$slots, "legend", Ve({
1522
+ e.value.useCustomLegend ? M(o.$slots, "legend", qe({
1516
1523
  key: 0,
1517
1524
  ref_for: !0
1518
1525
  }, { legend: t }), void 0, !0) : (a(), l(m, { key: 1 }, [
1519
- he(f(O), {
1526
+ fe(f(T), {
1520
1527
  name: e.value.legendIcon,
1521
1528
  stroke: t.color,
1522
1529
  size: e.value.legendIconSize
1523
1530
  }, null, 8, ["name", "stroke", "size"]),
1524
1531
  _("span", {
1525
1532
  style: R(`font-size:${e.value.legendFontSize}px`)
1526
- }, P(t.name), 5)
1533
+ }, O(t.name), 5)
1527
1534
  ], 64))
1528
- ], 12, _l))), 256)) : g("", !0)
1535
+ ], 12, zl))), 256)) : g("", !0)
1529
1536
  ], 4)) : g("", !0),
1530
1537
  o.$slots.source ? (a(), l("div", {
1531
1538
  key: 9,
1532
1539
  ref_key: "source",
1533
- ref: Ze,
1540
+ ref: Ye,
1534
1541
  dir: "auto"
1535
1542
  }, [
1536
1543
  M(o.$slots, "source", {}, void 0, !0)
1537
1544
  ], 512)) : g("", !0),
1538
- he(f(me), {
1539
- show: be.value.showTooltip && K.value,
1545
+ fe(f(pe), {
1546
+ show: Se.value.showTooltip && ee.value,
1540
1547
  backgroundColor: e.value.backgroundColor,
1541
1548
  color: e.value.color,
1542
1549
  borderRadius: e.value.tooltipBorderRadius,
@@ -1546,28 +1553,28 @@ const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"]
1546
1553
  backgroundOpacity: e.value.tooltipBackgroundOpacity,
1547
1554
  position: e.value.tooltipPosition,
1548
1555
  offsetY: e.value.tooltipOffsetY,
1549
- parent: pe.value,
1550
- content: ee.value,
1551
- isFullscreen: Oe.value,
1552
- isCustom: f(Ne)(e.value.tooltipCustomFormat)
1556
+ parent: ye.value,
1557
+ content: te.value,
1558
+ isFullscreen: Pe.value,
1559
+ isCustom: f(Fe)(e.value.tooltipCustomFormat)
1553
1560
  }, {
1554
1561
  "tooltip-before": G(() => [
1555
- M(o.$slots, "tooltip-before", oe(ne({ ...ye.value })), void 0, !0)
1562
+ M(o.$slots, "tooltip-before", ne(ue({ ...xe.value })), void 0, !0)
1556
1563
  ]),
1557
1564
  "tooltip-after": G(() => [
1558
- M(o.$slots, "tooltip-after", oe(ne({ ...ye.value })), void 0, !0)
1565
+ M(o.$slots, "tooltip-after", ne(ue({ ...xe.value })), void 0, !0)
1559
1566
  ]),
1560
1567
  _: 3
1561
1568
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"])
1562
- ], 46, aa)) : (a(), l("div", zl, [
1563
- he(f(O), {
1569
+ ], 46, oa)) : (a(), l("div", $l, [
1570
+ fe(f(T), {
1564
1571
  name: "circleCancel",
1565
1572
  stroke: "red"
1566
1573
  }),
1567
1574
  s[8] || (s[8] = _("span", null, "Dataset is not processable", -1))
1568
1575
  ]));
1569
1576
  }
1570
- }, Ml = /* @__PURE__ */ Zt(Ll, [["__scopeId", "data-v-daf184af"]]);
1577
+ }, Ul = /* @__PURE__ */ Jt(Cl, [["__scopeId", "data-v-33008594"]]);
1571
1578
  export {
1572
- Ml as default
1579
+ Ul as default
1573
1580
  };