vue-data-ui 3.1.7 → 3.1.9

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 (92) hide show
  1. package/dist/{Arrow-BZ8rnWYn.js → Arrow-Bd2Nv1JR.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Bdva4JFr.js → BaseDraggableDialog-DnDgu3fu.js} +2 -2
  3. package/dist/{BaseIcon-BCS8aIf4.js → BaseIcon-ClWpJKO3.js} +1 -1
  4. package/dist/{ColorPicker-DF6PDOhr.js → ColorPicker-CGqCY0f7.js} +2 -2
  5. package/dist/{DataTable-Ddu14t59.js → DataTable-BeFHXTQb.js} +2 -2
  6. package/dist/{Legend-C3I0iaLM.js → Legend-D_ryPoDQ.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-LSG0MLRC.js → NonSvgPenAndPaper-C0fUFsd1.js} +3 -3
  8. package/dist/{PackageVersion-CtYY8jBZ.js → PackageVersion-nvqupdcz.js} +1 -1
  9. package/dist/{PenAndPaper-DtlEAsLw.js → PenAndPaper-CdK_W5h2.js} +3 -3
  10. package/dist/{Shape-B8Cdu8s1.js → Shape-g1_KwK3i.js} +1 -1
  11. package/dist/Slicer-BbsnAAIT.js +972 -0
  12. package/dist/{SparkTooltip-qMi3IzXb.js → SparkTooltip-BJY8zi7K.js} +1 -1
  13. package/dist/{Title-BUVvr0U8.js → Title-DCLc6TCZ.js} +1 -1
  14. package/dist/{Tooltip-VlJQQsYu.js → Tooltip-DI84H3Yz.js} +1 -1
  15. package/dist/{UserOptions-sSygisu3.js → UserOptions-2XI1AOh5.js} +2 -2
  16. package/dist/{dom-to-png-BqX4MBZN.js → dom-to-png-BbsbFKuu.js} +1 -1
  17. package/dist/{img-DN0--Lx6.js → img-DQnzQcOw.js} +1 -1
  18. package/dist/{index-BlRUhv0O.js → index-5vhIMiMJ.js} +123 -118
  19. package/dist/{pdf-Cm5HZB7J.js → pdf-BbD1z_VM.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +6 -0
  22. package/dist/types/vue-data-ui.d.ts +6 -0
  23. package/dist/{useAutoSizeLabelsInsideViewbox-wLT3gJAJ.js → useAutoSizeLabelsInsideViewbox-lO6KBU08.js} +1 -1
  24. package/dist/{useNestedProp-OxTlfHdh.js → useNestedProp-BBcJUXV-.js} +1 -1
  25. package/dist/{usePrinter-DR__HfSR.js → usePrinter-BxQRVOJV.js} +2 -2
  26. package/dist/{vue-data-ui-Ci8pH3va.js → vue-data-ui-CBSwx9_2.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-h-8AQQKD.js → vue-ui-3d-bar-DrVQXElH.js} +6 -6
  29. package/dist/{vue-ui-accordion-DejV6zJ2.js → vue-ui-accordion-CWkuC41h.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-yTcDoeqi.js → vue-ui-age-pyramid-hfNlu-eT.js} +6 -6
  31. package/dist/{vue-ui-annotator-HqsIz-FI.js → vue-ui-annotator-BdW7stIX.js} +2 -2
  32. package/dist/{vue-ui-bullet-Co4ZttnE.js → vue-ui-bullet-DH55M9hd.js} +7 -7
  33. package/dist/{vue-ui-candlestick-BQQR9K33.js → vue-ui-candlestick-BdCIu_3Z.js} +7 -7
  34. package/dist/{vue-ui-carousel-table-BzDik-6R.js → vue-ui-carousel-table-CYFqd5Do.js} +4 -4
  35. package/dist/{vue-ui-chestnut-5VG75w-T.js → vue-ui-chestnut-BAXJvE_P.js} +5 -5
  36. package/dist/{vue-ui-chord-5HE-ZTDA.js → vue-ui-chord-CZvpyXPS.js} +8 -8
  37. package/dist/{vue-ui-circle-pack-BVcr-3fG.js → vue-ui-circle-pack-DIrNW31y.js} +6 -6
  38. package/dist/{vue-ui-cursor-BDH4YPCA.js → vue-ui-cursor-DB5jBNc-.js} +2 -2
  39. package/dist/{vue-ui-dashboard-VtafJ36J.js → vue-ui-dashboard-NIsI1tyR.js} +67 -67
  40. package/dist/{vue-ui-digits-Bh5fmCge.js → vue-ui-digits-D1E8vS1U.js} +2 -2
  41. package/dist/{vue-ui-donut-PiILi3WQ.js → vue-ui-donut-Dcc640KU.js} +8 -8
  42. package/dist/{vue-ui-donut-evolution-DVp2UID9.js → vue-ui-donut-evolution-FvABIk1B.js} +8 -8
  43. package/dist/{vue-ui-dumbbell-DIX_gcC_.js → vue-ui-dumbbell-DwR1pCUC.js} +7 -7
  44. package/dist/{vue-ui-flow-DY64szfV.js → vue-ui-flow-DAm9A_0v.js} +7 -7
  45. package/dist/{vue-ui-funnel-DnQFZe9P.js → vue-ui-funnel-CBzrS5BO.js} +6 -6
  46. package/dist/{vue-ui-galaxy-C0TCFGXT.js → vue-ui-galaxy-IJ_oreeF.js} +7 -7
  47. package/dist/{vue-ui-gauge-BNIAJlUC.js → vue-ui-gauge-o72yvW6N.js} +7 -7
  48. package/dist/{vue-ui-gizmo-BnHruhLB.js → vue-ui-gizmo-DfyGDDpf.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CH_twICb.js → vue-ui-heatmap-BGCYDLeT.js} +7 -7
  50. package/dist/{vue-ui-history-plot-CtJrkyG8.js → vue-ui-history-plot-WM4e1JlT.js} +7 -7
  51. package/dist/{vue-ui-kpi-Co0app61.js → vue-ui-kpi-BcDpOVCW.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-DXrdP_7p.js → vue-ui-mini-loader-pv8BRyQQ.js} +2 -2
  53. package/dist/{vue-ui-molecule-C2cNArDQ.js → vue-ui-molecule-D7oF0j_4.js} +5 -5
  54. package/dist/{vue-ui-mood-radar-BrLLsYz5.js → vue-ui-mood-radar-iPbyJzps.js} +7 -7
  55. package/dist/{vue-ui-nested-donuts-DRysa4v_.js → vue-ui-nested-donuts-BLceuaiq.js} +9 -10
  56. package/dist/{vue-ui-onion-znQ-OGaR.js → vue-ui-onion-Dnf_fWQJ.js} +8 -8
  57. package/dist/{vue-ui-parallel-coordinate-plot-DIX2Hytk.js → vue-ui-parallel-coordinate-plot-DgqvrE6i.js} +8 -8
  58. package/dist/{vue-ui-quadrant-B4X5ePQQ.js → vue-ui-quadrant-B7_t3c1D.js} +8 -8
  59. package/dist/{vue-ui-quick-chart-Cm7iAsdB.js → vue-ui-quick-chart-QBNsaoSx.js} +606 -582
  60. package/dist/{vue-ui-radar-CMXnDLdC.js → vue-ui-radar-B5LY3bFz.js} +8 -8
  61. package/dist/{vue-ui-rating-wAMAKVA8.js → vue-ui-rating-M2LsJhF9.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-snHKlhA3.js → vue-ui-relation-circle-BDgDf-UH.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-Bx7_nnJ7.js → vue-ui-ridgeline-CF8EGKmN.js} +8 -8
  64. package/dist/{vue-ui-rings-BGTPLeaD.js → vue-ui-rings-CEf32Qd9.js} +8 -8
  65. package/dist/{vue-ui-scatter-D-rI3hK1.js → vue-ui-scatter-B1Aafuh6.js} +8 -8
  66. package/dist/{vue-ui-skeleton-B-6lN9xS.js → vue-ui-skeleton-DCf8RHTA.js} +3 -3
  67. package/dist/{vue-ui-smiley-DeLEE9m9.js → vue-ui-smiley-D9TyN2I4.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-BvrboxYt.js → vue-ui-spark-trend-DcZNamSY.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-nW5DeWC5.js → vue-ui-sparkbar-CNmySZRR.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-Isge2K7-.js → vue-ui-sparkgauge-Du3pqhHb.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-ChSw4gHY.js → vue-ui-sparkhistogram-DY33-6pA.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DH-VRt5o.js → vue-ui-sparkline-DQO2IGma.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-l45aaRR1.js → vue-ui-sparkstackbar-BHgX0FAK.js} +3 -3
  74. package/dist/{vue-ui-stackbar-ByVq83Og.js → vue-ui-stackbar-DTvmplPR.js} +9 -9
  75. package/dist/{vue-ui-strip-plot-CwooqV7G.js → vue-ui-strip-plot-CH3BNHOX.js} +7 -7
  76. package/dist/{vue-ui-table-BRPcCRq-.js → vue-ui-table-DmOi42QJ.js} +554 -520
  77. package/dist/{vue-ui-table-heatmap-CaAadUo0.js → vue-ui-table-heatmap-D0XRMZEF.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-Bt7VtPKK.js → vue-ui-table-sparkline-SjzOqua1.js} +4 -4
  79. package/dist/{vue-ui-thermometer-B-CWjknr.js → vue-ui-thermometer-Dkb9wTy_.js} +7 -7
  80. package/dist/{vue-ui-timer-CxLcOKNv.js → vue-ui-timer-CeCAWDqf.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-DYEZvwDv.js → vue-ui-tiremarks-B9XkzHFy.js} +6 -6
  82. package/dist/{vue-ui-treemap-CeuebtPa.js → vue-ui-treemap-BCcXO9kM.js} +8 -8
  83. package/dist/{vue-ui-vertical-bar-D8_txlgd.js → vue-ui-vertical-bar-CRtBBzYM.js} +9 -9
  84. package/dist/{vue-ui-waffle-B5Qe5PKA.js → vue-ui-waffle-DSNBPqTC.js} +8 -8
  85. package/dist/{vue-ui-wheel-CxpLOCGw.js → vue-ui-wheel-BXQK9I22.js} +6 -6
  86. package/dist/{vue-ui-word-cloud-DCoL3uD5.js → vue-ui-word-cloud-YLIzbhcv.js} +6 -6
  87. package/dist/{vue-ui-world-DmnwTNAv.js → vue-ui-world-eCTtZria.js} +6 -6
  88. package/dist/vue-ui-xy-C7u7xEoN.js +4507 -0
  89. package/dist/{vue-ui-xy-canvas-CJp0mlzr.js → vue-ui-xy-canvas-D_rqJLcT.js} +10 -10
  90. package/package.json +1 -1
  91. package/dist/Slicer-Bk01kWGC.js +0 -596
  92. package/dist/vue-ui-xy-CzdchisK.js +0 -4141
@@ -1,38 +1,38 @@
1
- import { defineAsyncComponent as Ce, ref as w, computed as N, toRefs as aa, watch as $e, shallowRef as It, onMounted as la, onBeforeUnmount as Et, nextTick as Tt, watchEffect as oa, createElementBlock as o, openBlock as a, normalizeStyle as O, normalizeClass as ce, createBlock as Ie, createCommentVNode as g, createElementVNode as L, createVNode as ke, unref as r, createSlots as na, withCtx as ee, renderSlot as U, normalizeProps as he, guardReactiveProps as fe, toDisplayString as M, Fragment as p, renderList as I, Teleport as ia, mergeProps as et } from "vue";
2
- import { u as ua, c as ra, t as sa, a as va, p as G, b as da, C as He, d as ca, G as ha, f as fa, o as ga, e as tt, m as ma, D as Pt, X as pa, n as xa, q as at, r as Ee, k as te, i as W, I as Ot, V as Rt, h as ae, y as qe, z as lt } from "./index-BlRUhv0O.js";
3
- import { t as Ft, u as ya } from "./useResponsive-DfdjqQps.js";
4
- import { u as ka } from "./usePrinter-DR__HfSR.js";
5
- import { u as Mt } from "./useNestedProp-OxTlfHdh.js";
6
- import { u as ba } from "./useTimeLabels-BGFjWgrv.js";
7
- import { u as Sa } from "./useChartAccessibility-9icAAmYg.js";
8
- import { u as wa } from "./useTimeLabelCollider-CIsgDrl9.js";
9
- import Aa from "./img-DN0--Lx6.js";
10
- import { S as La } from "./Slicer-Bk01kWGC.js";
11
- import { u as _a, B as za } from "./BaseScanner-BgWxam9d.js";
12
- import { _ as Ca } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const z = {
1
+ import { defineAsyncComponent as Ce, ref as A, computed as N, toRefs as la, watch as $e, shallowRef as It, onMounted as oa, onBeforeUnmount as Et, nextTick as Tt, watchEffect as na, createElementBlock as o, openBlock as l, normalizeStyle as M, normalizeClass as ce, createBlock as Ie, createCommentVNode as m, createElementVNode as _, createVNode as ke, unref as r, createSlots as ia, withCtx as te, renderSlot as U, normalizeProps as he, guardReactiveProps as fe, toDisplayString as F, Fragment as p, renderList as I, Teleport as ua, mergeProps as et } from "vue";
2
+ import { u as ra, c as sa, t as va, a as da, p as G, b as ca, C as He, d as ha, G as fa, f as ma, o as ga, e as tt, m as pa, D as Pt, X as xa, n as ya, q as at, r as Ee, k as ae, i as W, I as Mt, V as Ot, h as le, y as qe, z as lt } from "./index-5vhIMiMJ.js";
3
+ import { t as Rt, u as ka } from "./useResponsive-DfdjqQps.js";
4
+ import { u as ba } from "./usePrinter-BxQRVOJV.js";
5
+ import { u as Ft } from "./useNestedProp-BBcJUXV-.js";
6
+ import { u as Sa } from "./useTimeLabels-BGFjWgrv.js";
7
+ import { u as wa } from "./useChartAccessibility-9icAAmYg.js";
8
+ import { u as Aa } from "./useTimeLabelCollider-CIsgDrl9.js";
9
+ import La from "./img-DQnzQcOw.js";
10
+ import { S as _a } from "./Slicer-BbsnAAIT.js";
11
+ import { u as za, B as Ca } from "./BaseScanner-BgWxam9d.js";
12
+ import { _ as $a } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const L = {
14
14
  LINE: "LINE",
15
15
  BAR: "BAR",
16
16
  DONUT: "DONUT"
17
- }, $a = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
18
- function Ia({ dataset: h, barLineSwitch: P = 6, debug: S = !0 }) {
19
- let B = null, H = null, oe = 0;
20
- if ((typeof h == "number" || typeof h == "string") && S && console.warn(`The provided dataset (${h}) is not sufficient to build a chart`), Xe(h) && (le(h) && (h.length < P ? B = z.BAR : B = z.LINE, H = h, oe = h.length), We(h))) {
21
- if (!Ta(h))
17
+ }, Ia = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
18
+ function Ea({ dataset: h, barLineSwitch: P = 6, debug: S = !0 }) {
19
+ let B = null, H = null, ne = 0;
20
+ if ((typeof h == "number" || typeof h == "string") && S && console.warn(`The provided dataset (${h}) is not sufficient to build a chart`), Xe(h) && (oe(h) && (h.length < P ? B = L.BAR : B = L.LINE, H = h, ne = h.length), We(h))) {
21
+ if (!Pa(h))
22
22
  return S && console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
23
- const je = Object.keys(h[0]), F = Object.values(h[0]);
24
- if (!je.some((R) => Pa(R)))
23
+ const je = Object.keys(h[0]), R = Object.values(h[0]);
24
+ if (!je.some((O) => Ma(O)))
25
25
  return S && 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;
26
- Nt(F, (R) => typeof R == "number") && (B = z.DONUT, H = h), Nt(F, (R) => Array.isArray(R) && le(R)) && (Bt(h) > P ? B = z.LINE : B = z.BAR, oe = Bt(h), H = h.map((R) => ({
27
- ...R,
28
- data: Oa(R, (Te) => le(Te))
29
- }))), h = h.map((R) => Dt(R)), H = H.map((R) => Dt(R));
26
+ Nt(R, (O) => typeof O == "number") && (B = L.DONUT, H = h), Nt(R, (O) => Array.isArray(O) && oe(O)) && (Bt(h) > P ? B = L.LINE : B = L.BAR, ne = Bt(h), H = h.map((O) => ({
27
+ ...O,
28
+ data: Oa(O, (Te) => oe(Te))
29
+ }))), h = h.map((O) => Dt(O)), H = H.map((O) => Dt(O));
30
30
  }
31
31
  return {
32
32
  dataset: h,
33
33
  type: B,
34
34
  usableDataset: H,
35
- maxSeriesLength: oe
35
+ maxSeriesLength: ne
36
36
  };
37
37
  }
38
38
  function Ut(h) {
@@ -41,7 +41,7 @@ function Ut(h) {
41
41
  function Xe(h) {
42
42
  return Array.isArray(h);
43
43
  }
44
- function le(h) {
44
+ function oe(h) {
45
45
  if (!Xe(h) || Ut(h)) return !1;
46
46
  const P = h.map((S) => Number(S));
47
47
  return ![...new Set(P.flatMap((S) => typeof S == "number" && !isNaN(S)))].includes(!1);
@@ -49,27 +49,27 @@ function le(h) {
49
49
  function We(h) {
50
50
  return !Xe(h) || Ut(h) || !![...new Set(h.flatMap((S) => typeof S == "object" && !Array.isArray(S)))].includes(!1) ? !1 : !h.map((S) => Object.keys(S).length > 0).includes(!1);
51
51
  }
52
- function Ea(h, P) {
52
+ function Ta(h, P) {
53
53
  const S = Object.keys(h).sort(), B = Object.keys(P).sort();
54
54
  if (S.length !== B.length)
55
55
  return !1;
56
56
  for (let H = 0; H < S.length; H += 1) {
57
- const oe = S[H], be = B[H];
58
- if (oe !== be || typeof h[oe] != typeof P[be])
57
+ const ne = S[H], be = B[H];
58
+ if (ne !== be || typeof h[ne] != typeof P[be])
59
59
  return !1;
60
60
  }
61
61
  return !0;
62
62
  }
63
- function Ta(h) {
63
+ function Pa(h) {
64
64
  if (h.length <= 1) return !0;
65
65
  for (let P = 0; P < h.length; P += 1)
66
66
  for (let S = P + 1; S < h.length; S += 1)
67
- if (!Ea(h[P], h[S]))
67
+ if (!Ta(h[P], h[S]))
68
68
  return !1;
69
69
  return !0;
70
70
  }
71
- function Pa(h) {
72
- return $a.includes(h.toUpperCase());
71
+ function Ma(h) {
72
+ return Ia.includes(h.toUpperCase());
73
73
  }
74
74
  function Nt(h, P) {
75
75
  let S = [];
@@ -78,7 +78,7 @@ function Nt(h, P) {
78
78
  return S.includes(!0);
79
79
  }
80
80
  function Bt(h) {
81
- return Math.max(...[...h].flatMap((P) => Object.values(P).filter((S) => le(S)).map((S) => S.length)));
81
+ return Math.max(...[...h].flatMap((P) => Object.values(P).filter((S) => oe(S)).map((S) => S.length)));
82
82
  }
83
83
  function Oa(h, P) {
84
84
  return Object.values(h).filter((S) => P(S))[0];
@@ -89,55 +89,55 @@ function Dt(h) {
89
89
  h.hasOwnProperty(S) && (P[S.toUpperCase()] = h[S]);
90
90
  return P;
91
91
  }
92
- const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "width", "height"], Ba = ["x", "y", "width", "height"], Da = ["width", "height"], Ua = ["id"], Va = ["id"], Ha = ["id"], qa = ["flood-color"], Wa = {
92
+ const Ra = ["id"], Fa = ["id"], Na = ["xmlns", "viewBox"], Ba = ["x", "y", "width", "height"], Da = ["x", "y", "width", "height"], Ua = ["width", "height"], Va = ["id"], Ha = ["id"], qa = ["id"], Wa = ["flood-color"], Xa = {
93
93
  key: 0,
94
94
  class: "donut-label-connectors"
95
- }, Xa = ["d", "stroke", "stroke-width", "filter"], ja = ["cx", "cy", "r", "fill", "filter"], Ga = { class: "donut" }, Ya = ["d", "fill", "stroke", "stroke-width", "filter"], Za = ["d", "onMouseenter", "onMouseout", "onClick"], Ja = {
95
+ }, ja = ["d", "stroke", "stroke-width", "filter"], Ga = ["cx", "cy", "r", "fill", "filter"], Ya = { class: "donut" }, Za = ["d", "fill", "stroke", "stroke-width", "filter"], Ja = ["d", "onMouseenter", "onMouseout", "onClick"], Qa = {
96
96
  key: 1,
97
97
  class: "donut-labels quick-animation"
98
- }, Qa = ["cx", "cy", "fill", "stroke", "filter"], Ka = ["text-anchor", "x", "y", "fill", "font-size", "filter"], el = ["text-anchor", "x", "y", "fill", "font-size", "filter"], tl = {
98
+ }, Ka = ["cx", "cy", "fill", "stroke", "filter"], el = ["text-anchor", "x", "y", "fill", "font-size", "filter"], tl = ["text-anchor", "x", "y", "fill", "font-size", "filter"], al = {
99
99
  key: 2,
100
100
  class: "donut-hollow quick-animation"
101
- }, al = ["x", "y", "font-size", "fill"], ll = ["x", "y", "font-size", "fill"], ol = {
101
+ }, ll = ["x", "y", "font-size", "fill"], ol = ["x", "y", "font-size", "fill"], nl = {
102
102
  key: 0,
103
103
  class: "line-grid"
104
- }, nl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], il = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ul = {
104
+ }, il = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ul = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], rl = {
105
105
  key: 1,
106
106
  class: "line-axis"
107
- }, rl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], sl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], vl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], dl = ["x", "y", "font-size", "fill"], cl = {
107
+ }, sl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], vl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], dl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], cl = ["x", "y", "font-size", "fill"], hl = {
108
108
  key: 3,
109
109
  class: "periodLabels"
110
- }, hl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], fl = { key: 0 }, gl = ["font-size", "text-anchor", "fill", "transform"], ml = ["font-size", "text-anchor", "fill", "transform", "innerHTML"], pl = { class: "plots" }, xl = { class: "line-plot-series" }, yl = ["d", "stroke", "stroke-width"], kl = ["d", "stroke", "stroke-width"], bl = ["d", "stroke", "stroke-width"], Sl = ["d", "stroke", "stroke-width"], wl = ["cx", "cy", "fill", "stroke"], Al = {
110
+ }, fl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ml = { key: 0 }, gl = ["font-size", "text-anchor", "fill", "transform"], pl = ["font-size", "text-anchor", "fill", "transform", "innerHTML"], xl = { class: "plots" }, yl = { class: "line-plot-series" }, kl = ["d", "stroke", "stroke-width"], bl = ["d", "stroke", "stroke-width"], Sl = ["d", "stroke", "stroke-width"], wl = ["d", "stroke", "stroke-width"], Al = ["cx", "cy", "fill", "stroke"], Ll = {
111
111
  key: 4,
112
112
  class: "dataLabels"
113
- }, Ll = ["font-size", "fill", "x", "y"], _l = {
113
+ }, _l = ["font-size", "fill", "x", "y"], zl = {
114
114
  key: 5,
115
115
  class: "tooltip-traps"
116
- }, zl = ["x", "y", "height", "width", "fill", "onMouseenter", "onMouseleave", "onClick"], Cl = {
116
+ }, Cl = ["x", "y", "height", "width", "fill", "onMouseenter", "onMouseleave", "onClick"], $l = {
117
117
  key: 0,
118
118
  class: "line-grid"
119
- }, $l = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Il = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], El = {
119
+ }, Il = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], El = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Tl = {
120
120
  key: 1,
121
121
  class: "line-axis"
122
- }, Tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ol = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Rl = ["x", "y", "font-size", "fill"], Fl = {
122
+ }, Pl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ml = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ol = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Rl = ["x", "y", "font-size", "fill"], Fl = {
123
123
  key: 3,
124
124
  class: "periodLabels"
125
- }, Ml = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Nl = { key: 0 }, Bl = ["font-size", "text-anchor", "fill", "transform"], Dl = ["font-size", "text-anchor", "fill", "transform", "innerHTML"], Ul = { class: "plots" }, Vl = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], Hl = ["to"], ql = ["from", "to"], Wl = {
125
+ }, Nl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Bl = { key: 0 }, Dl = ["font-size", "text-anchor", "fill", "transform"], Ul = ["font-size", "text-anchor", "fill", "transform", "innerHTML"], Vl = { class: "plots" }, Hl = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], ql = ["to"], Wl = ["from", "to"], Xl = {
126
126
  key: 4,
127
127
  class: "dataLabels"
128
- }, Xl = ["x", "y", "font-size", "fill"], jl = {
128
+ }, jl = ["x", "y", "font-size", "fill"], Gl = {
129
129
  key: 5,
130
130
  class: "tooltip-traps"
131
- }, Gl = ["x", "y", "height", "width", "fill", "onMouseenter", "onMouseleave", "onClick"], Yl = {
131
+ }, Yl = ["x", "y", "height", "width", "fill", "onMouseenter", "onMouseleave", "onClick"], Zl = {
132
132
  key: 6,
133
133
  class: "axis-labels"
134
- }, Zl = ["font-size", "fill", "x", "y"], Jl = ["font-size", "fill", "x", "y"], Ql = ["font-size", "fill", "transform"], Kl = ["font-size", "fill", "transform"], eo = {
134
+ }, Jl = ["font-size", "fill", "x", "y"], Ql = ["font-size", "fill", "x", "y"], Kl = ["font-size", "fill", "transform"], eo = ["font-size", "fill", "transform"], to = {
135
135
  key: 5,
136
136
  class: "vue-data-ui-watermark"
137
- }, to = ["id"], ao = ["onClick"], lo = ["onClick"], oo = ["onClick"], no = {
137
+ }, ao = ["id"], lo = ["onClick"], oo = ["onClick"], no = ["onClick"], io = {
138
138
  key: 1,
139
139
  class: "vue-ui-quick-chart-not-processable"
140
- }, io = {
140
+ }, uo = {
141
141
  __name: "vue-ui-quick-chart",
142
142
  props: {
143
143
  config: {
@@ -155,12 +155,12 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
155
155
  },
156
156
  emits: ["selectDatapoint", "selectLegend"],
157
157
  setup(h, { expose: P, emit: S }) {
158
- const B = Ce(() => import("./BaseIcon-BCS8aIf4.js")), H = Ce(() => import("./PackageVersion-CtYY8jBZ.js")), oe = Ce(() => import("./PenAndPaper-DtlEAsLw.js")), be = Ce(() => import("./Tooltip-VlJQQsYu.js")), ot = Ce(() => import("./UserOptions-sSygisu3.js")), { vue_ui_quick_chart: je } = ua(), F = h, R = w(null), Te = w(null), nt = w(null), it = w(null), X = w(ra()), re = w(!1), Se = w(null), se = w(""), Z = w(null), ut = w(null), rt = w(null), A = w([]), st = w(0), Pe = w(0), vt = w(!1), J = w(null), Oe = w(null), dt = w(null), ct = w(null), Re = w("#FFFFFF"), e = w(Ze()), Ge = N(() => !!e.value.debug), { loading: D, FINAL_DATASET: Vt, manualLoading: ht } = _a({
159
- ...aa(F),
158
+ const B = Ce(() => import("./BaseIcon-ClWpJKO3.js")), H = Ce(() => import("./PackageVersion-nvqupdcz.js")), ne = Ce(() => import("./PenAndPaper-CdK_W5h2.js")), be = Ce(() => import("./Tooltip-DI84H3Yz.js")), ot = Ce(() => import("./UserOptions-2XI1AOh5.js")), { vue_ui_quick_chart: je } = ra(), R = h, O = A(null), Te = A(null), nt = A(null), it = A(null), X = A(sa()), re = A(!1), Se = A(null), se = A(""), Z = A(null), ut = A(null), rt = A(null), w = A([]), st = A(0), Pe = A(0), vt = A(!1), J = A(null), Me = A(null), dt = A(null), ct = A(null), Oe = A("#FFFFFF"), e = A(Ze()), Ge = N(() => !!e.value.debug), { loading: D, FINAL_DATASET: Vt, manualLoading: ht } = za({
159
+ ...la(R),
160
160
  FINAL_CONFIG: e,
161
161
  prepareConfig: Ze,
162
162
  skeletonDataset: [1, 2, 3, 5, 8, 13, 21, 34, 55, 89],
163
- skeletonConfig: sa({
163
+ skeletonConfig: va({
164
164
  defaultConfig: e.value,
165
165
  userConfig: {
166
166
  backgroundColor: "#99999930",
@@ -182,33 +182,33 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
182
182
  zoomEndIndex: null
183
183
  }
184
184
  })
185
- }), { svgRef: ft } = Sa({ config: { text: e.value.title } }), Ht = N(() => e.value.showUserOptionsOnChartHover), gt = N(() => e.value.keepUserOptionsStateOnChartLeave), Fe = w(!e.value.showUserOptionsOnChartHover), Ye = w(!1);
186
- function mt(l = !1) {
187
- Ye.value = l, Ht.value && (Fe.value = l);
185
+ }), { svgRef: ft } = wa({ config: { text: e.value.title } }), Ht = N(() => e.value.showUserOptionsOnChartHover), mt = N(() => e.value.keepUserOptionsStateOnChartLeave), Re = A(!e.value.showUserOptionsOnChartHover), Ye = A(!1);
186
+ function gt(a = !1) {
187
+ Ye.value = a, Ht.value && (Re.value = a);
188
188
  }
189
189
  function Ze() {
190
- const l = Mt({
191
- userConfig: F.config,
190
+ const a = Ft({
191
+ userConfig: R.config,
192
192
  defaultConfig: je
193
193
  });
194
194
  let c = {};
195
- return l.theme ? c = {
196
- ...Mt({
197
- userConfig: da.vue_ui_quick_chart[l.theme] || F.config,
198
- defaultConfig: l
195
+ return a.theme ? c = {
196
+ ...Ft({
197
+ userConfig: ca.vue_ui_quick_chart[a.theme] || R.config,
198
+ defaultConfig: a
199
199
  }),
200
- customPalette: va[l.theme] || G
201
- } : c = l, F.config && He(F.config, "zoomStartIndex") ? c.zoomStartIndex = F.config.zoomStartIndex : c.zoomStartIndex = null, F.config && He(F.config, "zoomEndIndex") ? c.zoomEndIndex = F.config.zoomEndIndex : c.zoomEndIndex = null, F.config && !He(F.config, "donutStroke") ? He(F.config, "backgroundColor") ? Re.value = F.config.backgroundColor : Re.value = "#FFFFFF" : Re.value = F.config.donutStroke, c;
200
+ customPalette: da[a.theme] || G
201
+ } : c = a, R.config && He(R.config, "zoomStartIndex") ? c.zoomStartIndex = R.config.zoomStartIndex : c.zoomStartIndex = null, R.config && He(R.config, "zoomEndIndex") ? c.zoomEndIndex = R.config.zoomEndIndex : c.zoomEndIndex = null, R.config && !He(R.config, "donutStroke") ? He(R.config, "backgroundColor") ? Oe.value = R.config.backgroundColor : Oe.value = "#FFFFFF" : Oe.value = R.config.donutStroke, c;
202
202
  }
203
- $e(() => F.config, (l) => {
204
- D.value || (e.value = Ze()), b.value.width = e.value.width, b.value.height = e.value.height, Fe.value = !e.value.showUserOptionsOnChartHover, yt(), me.value.showTooltip = e.value.showTooltip;
205
- }, { deep: !0 }), $e(() => F.dataset, (l) => {
206
- k.value = Ae.value, m.value.start = 0, m.value.end = k.value.maxSeriesLength, Pe.value += 1;
207
- }, { deep: !0 }), $e(() => F.dataset, (l) => {
208
- Array.isArray(l) && l.length > 0 && (ht.value = !1);
203
+ $e(() => R.config, (a) => {
204
+ D.value || (e.value = Ze()), b.value.width = e.value.width, b.value.height = e.value.height, Re.value = !e.value.showUserOptionsOnChartHover, yt(), ge.value.showTooltip = e.value.showTooltip;
205
+ }, { deep: !0 }), $e(() => R.dataset, (a) => {
206
+ k.value = Ae.value, g.value.start = 0, g.value.end = k.value.maxSeriesLength, Pe.value += 1;
207
+ }, { deep: !0 }), $e(() => R.dataset, (a) => {
208
+ Array.isArray(a) && a.length > 0 && (ht.value = !1);
209
209
  }, { immediate: !0 });
210
- const we = N(() => ca(e.value.customPalette)), ge = S, Ae = N(() => {
211
- const l = Ia({ debug: Ge.value, dataset: ha(Vt.value, [
210
+ const we = N(() => ha(e.value.customPalette)), me = S, Ae = N(() => {
211
+ const a = Ea({ debug: Ge.value, dataset: fa(Vt.value, [
212
212
  "serie",
213
213
  "series",
214
214
  "data",
@@ -216,42 +216,42 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
216
216
  "values",
217
217
  "num"
218
218
  ]), barLineSwitch: e.value.chartIsBarUnderDatasetLength });
219
- return !l && Ge.value && console.error("VueUiQuickChart : Dataset is not processable"), l;
220
- }), k = w(Ae.value), qt = N(() => !!k.value), $ = N(() => k.value ? k.value.type : null);
221
- $e(() => $.value, (l) => {
222
- l || fa({
219
+ return !a && Ge.value && console.error("VueUiQuickChart : Dataset is not processable"), a;
220
+ }), k = A(Ae.value), qt = N(() => !!k.value), C = N(() => k.value ? k.value.type : null);
221
+ $e(() => C.value, (a) => {
222
+ a || ma({
223
223
  componentName: "VueUiQuickChart",
224
224
  type: "dataset",
225
225
  debug: Ge.value
226
226
  });
227
227
  }, { immediate: !0 });
228
- const { isPrinting: Me, isImaging: Ne, generatePdf: pt, generateImage: xt } = ka({
229
- elementId: `${$.value}_${X.value}`,
230
- fileName: e.value.title || $.value,
228
+ const { isPrinting: Fe, isImaging: Ne, generatePdf: pt, generateImage: xt } = ba({
229
+ elementId: `${C.value}_${X.value}`,
230
+ fileName: e.value.title || C.value,
231
231
  options: e.value.userOptionsPrint
232
- }), Wt = N(() => e.value.showUserOptions && !e.value.title), b = w({
232
+ }), Wt = N(() => e.value.showUserOptions && !e.value.title), b = A({
233
233
  width: e.value.width,
234
234
  height: e.value.height
235
- }), me = w({
235
+ }), ge = A({
236
236
  showTooltip: e.value.showTooltip
237
237
  });
238
238
  $e(e, () => {
239
- me.value = {
239
+ ge.value = {
240
240
  showTooltip: e.value.showTooltip
241
241
  };
242
242
  }, { immediate: !0 });
243
- const ne = It(null), pe = It(null);
244
- la(() => {
243
+ const ie = It(null), pe = It(null);
244
+ oa(() => {
245
245
  vt.value = !0, yt();
246
246
  });
247
247
  function yt() {
248
- if (ga(F.dataset) || (ht.value = e.value.loading), e.value.responsive) {
249
- const l = Ft(() => {
250
- const { width: c, height: t } = ya({
251
- chart: R.value,
248
+ if (ga(R.dataset) || (ht.value = e.value.loading), e.value.responsive) {
249
+ const a = Rt(() => {
250
+ const { width: c, height: t } = ka({
251
+ chart: O.value,
252
252
  title: e.value.title ? Te.value : null,
253
253
  legend: e.value.showLegend ? nt.value : null,
254
- slicer: [z.BAR, z.LINE].includes($.value) && e.value.zoomXy && k.value.maxSeriesLength > 1 ? it.value : null,
254
+ slicer: [L.BAR, L.LINE].includes(C.value) && e.value.zoomXy && k.value.maxSeriesLength > 1 ? it.value : null,
255
255
  source: ut.value,
256
256
  noTitle: rt.value
257
257
  });
@@ -259,70 +259,70 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
259
259
  b.value.width = c, b.value.height = t;
260
260
  });
261
261
  });
262
- ne.value && (pe.value && ne.value.unobserve(pe.value), ne.value.disconnect()), ne.value = new ResizeObserver(l), pe.value = R.value.parentNode, ne.value.observe(pe.value);
262
+ ie.value && (pe.value && ie.value.unobserve(pe.value), ie.value.disconnect()), ie.value = new ResizeObserver(a), pe.value = O.value.parentNode, ie.value.observe(pe.value);
263
263
  }
264
264
  _t();
265
265
  }
266
266
  Et(() => {
267
- ne.value && (pe.value && ne.value.unobserve(pe.value), ne.value.disconnect());
267
+ ie.value && (pe.value && ie.value.unobserve(pe.value), ie.value.disconnect());
268
268
  });
269
269
  const Xt = N(() => {
270
- switch ($.value) {
271
- case z.LINE:
270
+ switch (C.value) {
271
+ case L.LINE:
272
272
  return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
273
- case z.BAR:
273
+ case L.BAR:
274
274
  return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
275
- case z.DONUT:
275
+ case L.DONUT:
276
276
  return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
277
277
  default:
278
278
  return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
279
279
  }
280
280
  });
281
- function kt(l) {
282
- return [...l].map((c) => c.value).reduce((c, t) => c + t, 0);
281
+ function kt(a) {
282
+ return [...a].map((c) => c.value).reduce((c, t) => c + t, 0);
283
283
  }
284
- function Le(l) {
285
- return e.value.blurOnHover && ![null, void 0].includes(Z.value) && Z.value !== l ? `url(#blur_${X.value})` : "";
284
+ function Le(a) {
285
+ return e.value.blurOnHover && ![null, void 0].includes(Z.value) && Z.value !== a ? `url(#blur_${X.value})` : "";
286
286
  }
287
- function bt(l, c) {
288
- A.value.includes(l) ? A.value = A.value.filter((t) => t !== l) : A.value.length < c && A.value.push(l);
287
+ function bt(a, c) {
288
+ w.value.includes(a) ? w.value = w.value.filter((t) => t !== a) : w.value.length < c && w.value.push(a);
289
289
  }
290
- const St = w(null), wt = w(null), Be = w(!1);
291
- function jt(l, c) {
290
+ const St = A(null), wt = A(null), Be = A(!1);
291
+ function jt(a, c) {
292
292
  Be.value = !0;
293
- let t = l.value;
294
- const i = Ae.value.dataset.find((u, x) => l.id === `donut_${x}`).VALUE;
295
- if (A.value.includes(l.id)) {
293
+ let t = a.value;
294
+ const i = Ae.value.dataset.find((u, x) => a.id === `donut_${x}`).VALUE;
295
+ if (w.value.includes(a.id)) {
296
296
  let u = function() {
297
297
  t > i ? (Be.value = !1, cancelAnimationFrame(wt.value), k.value = {
298
298
  ...k.value,
299
- dataset: k.value.dataset.map((x, _) => l.id === `donut_${_}` ? {
299
+ dataset: k.value.dataset.map((x, z) => a.id === `donut_${z}` ? {
300
300
  ...x,
301
301
  value: i,
302
302
  VALUE: i
303
303
  } : x)
304
304
  }) : (t += i * 0.025, k.value = {
305
305
  ...k.value,
306
- dataset: k.value.dataset.map((x, _) => l.id === `donut_${_}` ? {
306
+ dataset: k.value.dataset.map((x, z) => a.id === `donut_${z}` ? {
307
307
  ...x,
308
308
  value: t,
309
309
  VALUE: t
310
310
  } : x)
311
311
  }, wt.value = requestAnimationFrame(u));
312
312
  };
313
- A.value = A.value.filter((x) => x !== l.id), u();
313
+ w.value = w.value.filter((x) => x !== a.id), u();
314
314
  } else if (c.length > 1) {
315
315
  let u = function() {
316
- t < i / 100 ? (Be.value = !1, cancelAnimationFrame(St.value), A.value.push(l.id), k.value = {
316
+ t < i / 100 ? (Be.value = !1, cancelAnimationFrame(St.value), w.value.push(a.id), k.value = {
317
317
  ...k.value,
318
- dataset: k.value.dataset.map((x, _) => l.id === `donut_${_}` ? {
318
+ dataset: k.value.dataset.map((x, z) => a.id === `donut_${z}` ? {
319
319
  ...x,
320
320
  value: 0,
321
321
  VALUE: 0
322
322
  } : x)
323
323
  }) : (t /= 1.1, k.value = {
324
324
  ...k.value,
325
- dataset: k.value.dataset.map((x, _) => l.id === `donut_${_}` ? {
325
+ dataset: k.value.dataset.map((x, z) => a.id === `donut_${z}` ? {
326
326
  ...x,
327
327
  value: t,
328
328
  VALUE: t
@@ -332,25 +332,25 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
332
332
  u();
333
333
  }
334
334
  }
335
- const Q = w(null);
336
- function Gt(l) {
337
- Q.value = l;
335
+ const Q = A(null);
336
+ function Gt(a) {
337
+ Q.value = a;
338
338
  }
339
339
  const At = N(() => e.value.donutThicknessRatio < 0.01 ? 0.01 : e.value.donutThicknessRatio > 0.4 ? 0.4 : e.value.donutThicknessRatio), T = N(() => {
340
- if ($.value !== z.DONUT) return null;
341
- const l = k.value.dataset.map((f, C) => ({
340
+ if (C.value !== L.DONUT) return null;
341
+ const a = k.value.dataset.map((f, $) => ({
342
342
  ...f,
343
343
  value: f.VALUE || f.DATA || f.SERIE || f.VALUES || f.NUM || 0,
344
- name: f.NAME || f.DESCRIPTION || f.TITLE || f.LABEL || `Serie ${C}`,
345
- id: `donut_${C}`
346
- })).map((f, C) => ({
344
+ name: f.NAME || f.DESCRIPTION || f.TITLE || f.LABEL || `Serie ${$}`,
345
+ id: `donut_${$}`
346
+ })).map((f, $) => ({
347
347
  ...f,
348
- color: f.COLOR ? tt(f.COLOR) : we.value[C + e.value.paletteStartIndex] || G[C + e.value.paletteStartIndex] || G[(C + e.value.paletteStartIndex) % G.length],
348
+ color: f.COLOR ? tt(f.COLOR) : we.value[$ + e.value.paletteStartIndex] || G[$ + e.value.paletteStartIndex] || G[($ + e.value.paletteStartIndex) % G.length],
349
349
  immutableValue: f.value
350
350
  }));
351
- function c(f, C) {
351
+ function c(f, $) {
352
352
  return W({
353
- v: isNaN(f.value / kt(C)) ? 0 : f.value / kt(C) * 100,
353
+ v: isNaN(f.value / kt($)) ? 0 : f.value / kt($) * 100,
354
354
  s: "%",
355
355
  r: e.value.dataLabelRoundingPercentage
356
356
  });
@@ -358,28 +358,28 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
358
358
  function t(f) {
359
359
  return f.proportion * 100 > e.value.donutHideLabelUnderPercentage;
360
360
  }
361
- function i(f, C) {
361
+ function i(f, $) {
362
362
  const v = Ae.value.dataset.find((y, E) => `donut_${E}` === f).VALUE;
363
- return Math.abs(String(Number(v.toFixed(0))).length - String(Number(C.toFixed(0))).length);
363
+ return Math.abs(String(Number(v.toFixed(0))).length - String(Number($.toFixed(0))).length);
364
364
  }
365
- function u({ datapoint: f, seriesIndex: C }) {
366
- Se.value = { datapoint: f, seriesIndex: C, config: e.value, dataset: l }, Z.value = f.id;
365
+ function u({ datapoint: f, seriesIndex: $ }) {
366
+ Se.value = { datapoint: f, seriesIndex: $, config: e.value, dataset: a }, Z.value = f.id;
367
367
  const v = e.value.tooltipCustomFormat;
368
- if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: f, seriesIndex: C }), qe(v) && lt(() => v({
368
+ if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: f, seriesIndex: $ }), qe(v) && lt(() => v({
369
369
  datapoint: f,
370
- seriesIndex: C,
371
- series: l,
370
+ seriesIndex: $,
371
+ series: a,
372
372
  config: e.value
373
373
  })))
374
374
  se.value = v({
375
375
  datapoint: f,
376
- seriesIndex: C,
377
- series: l,
376
+ seriesIndex: $,
377
+ series: a,
378
378
  config: e.value
379
379
  });
380
380
  else {
381
381
  let n = "";
382
- n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${f.name}</div>`, n += `<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="${f.color}"/></svg>`, n += `<b>${te(
382
+ n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${f.name}</div>`, n += `<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="${f.color}"/></svg>`, n += `<b>${ae(
383
383
  e.value.formatter,
384
384
  f.value,
385
385
  W({
@@ -388,46 +388,46 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
388
388
  s: e.value.valueSuffix,
389
389
  r: e.value.dataLabelRoundingValue
390
390
  }),
391
- { datapoint: f, seriesIndex: C }
391
+ { datapoint: f, seriesIndex: $ }
392
392
  )}</b>`, n += `<span>(${W({ v: f.proportion * 100, s: "%", r: e.value.dataLabelRoundingPercentage })})</span></div>`, se.value = `<div>${n}</div>`;
393
393
  }
394
394
  re.value = !0;
395
395
  }
396
- function x({ datapoint: f, seriesIndex: C }) {
397
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: f, seriesIndex: C }), re.value = !1, Z.value = null, Q.value = null;
396
+ function x({ datapoint: f, seriesIndex: $ }) {
397
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: f, seriesIndex: $ }), re.value = !1, Z.value = null, Q.value = null;
398
398
  }
399
- function _({ datapoint: f, seriesIndex: C }) {
400
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: f, seriesIndex: C }), ge("selectDatapoint", f);
399
+ function z({ datapoint: f, seriesIndex: $ }) {
400
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: f, seriesIndex: $ }), me("selectDatapoint", f);
401
401
  }
402
- const ie = {
402
+ const ue = {
403
403
  centerX: b.value.width / 2,
404
404
  centerY: b.value.height / 2
405
- }, j = l.filter((f) => !A.value.includes(f.id)).map((f) => f.value || 0).reduce((f, C) => f + C, 0), ye = l.map((f, C) => ({
405
+ }, j = a.filter((f) => !w.value.includes(f.id)).map((f) => f.value || 0).reduce((f, $) => f + $, 0), ye = a.map((f, $) => ({
406
406
  ...f,
407
407
  proportion: (f.value || 0) / j,
408
408
  value: f.value || 0,
409
409
  absoluteValue: Ae.value.dataset.find((v, n) => `donut_${n}` === f.id).VALUE
410
- })), ve = b.value.width / 2, ue = b.value.height / 2, K = b.value.height * e.value.donutRadiusRatio;
410
+ })), ve = b.value.width / 2, K = b.value.height / 2, ee = b.value.height * e.value.donutRadiusRatio;
411
411
  return {
412
- dataset: ye.filter((f) => !A.value.includes(f.id)),
412
+ dataset: ye.filter((f) => !w.value.includes(f.id)),
413
413
  legend: ye,
414
- drawingArea: ie,
414
+ drawingArea: ue,
415
415
  displayArcPercentage: c,
416
416
  isArcBigEnough: t,
417
417
  useTooltip: u,
418
418
  killTooltip: x,
419
- selectDatapoint: _,
419
+ selectDatapoint: z,
420
420
  getSpaces: i,
421
421
  total: j,
422
422
  cx: ve,
423
- cy: ue,
424
- radius: K,
425
- chart: ma(
426
- { series: l.filter((f) => !A.value.includes(f.id)) },
423
+ cy: K,
424
+ radius: ee,
425
+ chart: pa(
426
+ { series: a.filter((f) => !w.value.includes(f.id)) },
427
427
  ve,
428
- ue,
429
- K,
430
428
  K,
429
+ ee,
430
+ ee,
431
431
  1.99999,
432
432
  2,
433
433
  1,
@@ -436,69 +436,69 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
436
436
  b.value.height * At.value
437
437
  )
438
438
  };
439
- }), m = w({
439
+ }), g = A({
440
440
  start: 0,
441
441
  end: k.value.maxSeriesLength
442
442
  });
443
443
  function Yt() {
444
444
  _t();
445
445
  }
446
- const Lt = w(null);
446
+ const Lt = A(null);
447
447
  async function _t() {
448
448
  await Tt(), await Tt();
449
- const { zoomStartIndex: l, zoomEndIndex: c } = e.value, t = Lt.value;
450
- (l != null || c != null) && t ? (l != null && t.setStartValue(l), c != null && t.setEndValue(Zt(c + 1))) : (m.value = {
449
+ const { zoomStartIndex: a, zoomEndIndex: c } = e.value, t = Lt.value;
450
+ (a != null || c != null) && t ? (a != null && t.setStartValue(a), c != null && t.setEndValue(Zt(c + 1))) : (g.value = {
451
451
  start: 0,
452
452
  end: k.value.maxSeriesLength
453
453
  }, Pe.value += 1);
454
454
  }
455
- function Zt(l) {
455
+ function Zt(a) {
456
456
  const c = k.value.maxSeriesLength;
457
- return l > c ? c : l < 0 || e.value.zoomStartIndex !== null && l < e.value.zoomStartIndex ? e.value.zoomStartIndex !== null ? e.value.zoomStartIndex + 1 : 1 : l;
457
+ return a > c ? c : a < 0 || e.value.zoomStartIndex !== null && a < e.value.zoomStartIndex ? e.value.zoomStartIndex !== null ? e.value.zoomStartIndex + 1 : 1 : a;
458
458
  }
459
459
  const Jt = N(() => {
460
- if (!e.value.zoomMinimap.show || $.value === z.DONUT) return [];
461
- let l = [];
462
- le(k.value.dataset) && (l = k.value.dataset), We(k.value.dataset) && (l = k.value.dataset.map((u, x) => ({
460
+ if (!e.value.zoomMinimap.show || C.value === L.DONUT) return [];
461
+ let a = [];
462
+ oe(k.value.dataset) && (a = k.value.dataset), We(k.value.dataset) && (a = k.value.dataset.map((u, x) => ({
463
463
  values: u.VALUE || u.DATA || u.SERIE || u.SERIES || u.VALUES || u.NUM || 0,
464
- id: $.value === z.LINE ? `line_${x}` : `bar_${x}`
465
- })).filter((u) => !A.value.includes(u.id)));
466
- const c = le(l) ? l.length : Math.max(...l.map((u) => u.values.length));
464
+ id: C.value === L.LINE ? `line_${x}` : `bar_${x}`
465
+ })).filter((u) => !w.value.includes(u.id)));
466
+ const c = oe(a) ? a.length : Math.max(...a.map((u) => u.values.length));
467
467
  let t = [];
468
- if (le(l))
469
- t = l;
468
+ if (oe(a))
469
+ t = a;
470
470
  else
471
471
  for (let u = 0; u < c; u += 1)
472
- t.push(l.map((x) => x.values[u] || 0).reduce((x, _) => (x || 0) + (_ || 0), 0));
472
+ t.push(a.map((x) => x.values[u] || 0).reduce((x, z) => (x || 0) + (z || 0), 0));
473
473
  const i = Math.min(...t);
474
474
  return t.map((u) => u + (i < 0 ? Math.abs(i) : 0));
475
475
  });
476
476
  function zt() {
477
- let l = 0;
478
- return Oe.value && (l = Array.from(Oe.value.querySelectorAll("text")).reduce((i, u) => {
477
+ let a = 0;
478
+ return Me.value && (a = Array.from(Me.value.querySelectorAll("text")).reduce((i, u) => {
479
479
  const x = u.getComputedTextLength();
480
480
  return x > i ? x : i;
481
- }, 0)), l + 4;
481
+ }, 0)), a + 4;
482
482
  }
483
- const Je = w(0), Qt = Ft((l) => {
484
- Je.value = l;
483
+ const Je = A(0), Qt = Rt((a) => {
484
+ Je.value = a;
485
485
  }, 100);
486
- oa((l) => {
486
+ na((a) => {
487
487
  const c = J.value;
488
488
  if (!c) return;
489
489
  const t = new ResizeObserver((i) => {
490
490
  Qt(i[0].contentRect.height);
491
491
  });
492
- t.observe(c), l(() => t.disconnect());
492
+ t.observe(c), a(() => t.disconnect());
493
493
  }), Et(() => {
494
494
  Je.value = 0;
495
495
  });
496
496
  const De = N(() => {
497
- let l = 0, c = 0;
498
- return J.value && (c = Je.value), l + c;
497
+ let a = 0, c = 0;
498
+ return J.value && (c = Je.value), a + c;
499
499
  }), d = N(() => {
500
- if ($.value !== z.LINE) return null;
501
- const l = {
500
+ if (C.value !== L.LINE) return null;
501
+ const a = {
502
502
  height: b.value.height,
503
503
  width: b.value.width
504
504
  };
@@ -510,16 +510,17 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
510
510
  const t = {
511
511
  left: c + e.value.xyPaddingLeft,
512
512
  top: e.value.xyPaddingTop,
513
- right: l.width - e.value.xyPaddingRight,
514
- bottom: l.height - e.value.xyPaddingBottom - De.value,
515
- width: Math.max(10, l.width - e.value.xyPaddingLeft - e.value.xyPaddingRight - c),
516
- height: Math.max(10, l.height - e.value.xyPaddingTop - e.value.xyPaddingBottom - De.value)
513
+ right: a.width - e.value.xyPaddingRight,
514
+ bottom: a.height - e.value.xyPaddingBottom - De.value,
515
+ width: Math.max(10, a.width - e.value.xyPaddingLeft - e.value.xyPaddingRight - c),
516
+ height: Math.max(10, a.height - e.value.xyPaddingTop - e.value.xyPaddingBottom - De.value)
517
517
  };
518
518
  let i = [];
519
- le(k.value.dataset) && (i = [
519
+ oe(k.value.dataset) && (i = [
520
520
  {
521
- values: k.value.dataset.slice(m.value.start, m.value.end),
522
- absoluteIndices: k.value.dataset.map((v, n) => n).slice(m.value.start, m.value.end),
521
+ values: k.value.dataset.slice(g.value.start, g.value.end),
522
+ absoluteValues: k.value.dataset,
523
+ absoluteIndices: k.value.dataset.map((v, n) => n).slice(g.value.start, g.value.end),
523
524
  name: e.value.title,
524
525
  color: we.value[e.value.paletteStartIndex] || G[e.value.paletteStartIndex],
525
526
  id: "line_0"
@@ -532,22 +533,23 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
532
533
  })).map((v, n) => ({
533
534
  ...v,
534
535
  color: v.COLOR ? tt(v.COLOR) : we.value[n + e.value.paletteStartIndex] || G[n + e.value.paletteStartIndex] || G[(n + e.value.paletteStartIndex) % G.length],
535
- values: v.values.slice(m.value.start, m.value.end),
536
- absoluteIndices: v.values.map((y, E) => E).slice(m.value.start, m.value.end)
536
+ values: v.values.slice(g.value.start, g.value.end),
537
+ absoluteValues: v.values,
538
+ absoluteIndices: v.values.map((y, E) => E).slice(g.value.start, g.value.end)
537
539
  })));
538
540
  const u = {
539
- max: Math.max(...i.filter((v) => !A.value.includes(v.id)).flatMap((v) => v.values)),
540
- min: Math.min(...i.filter((v) => !A.value.includes(v.id)).flatMap((v) => v.values)),
541
+ max: Math.max(...i.filter((v) => !w.value.includes(v.id)).flatMap((v) => v.values)),
542
+ min: Math.min(...i.filter((v) => !w.value.includes(v.id)).flatMap((v) => v.values)),
541
543
  maxSeries: Math.max(...i.map((v) => v.values.length))
542
- }, x = Pt(u.min < 0 ? u.min : 0, u.max < 0 ? 0 : u.max, e.value.xyScaleSegments), _ = u.min < 0 ? Math.abs(u.min) : 0, ie = u.max < 0 ? t.top : t.bottom - _ / (x.max + _) * t.height, j = t.width / u.maxSeries, ye = x.ticks.map((v) => ({
543
- y: t.bottom - t.height * ((v + _) / (x.max + _)),
544
+ }, x = Pt(u.min < 0 ? u.min : 0, u.max < 0 ? 0 : u.max, e.value.xyScaleSegments), z = u.min < 0 ? Math.abs(u.min) : 0, ue = u.max < 0 ? t.top : t.bottom - z / (x.max + z) * t.height, j = t.width / u.maxSeries, ye = x.ticks.map((v) => ({
545
+ y: t.bottom - t.height * ((v + z) / (x.max + z)),
544
546
  x: t.left - 8,
545
547
  value: v
546
548
  })), ve = i.map((v, n) => ({
547
549
  ...v,
548
550
  coordinates: v.values.map((y, E) => ({
549
551
  x: t.left + j * (E + 1) - j / 2,
550
- y: t.bottom - (y + _) / (x.max + _) * t.height,
552
+ y: t.bottom - (y + z) / (x.max + z) * t.height,
551
553
  value: y
552
554
  }))
553
555
  })).map((v) => {
@@ -559,19 +561,19 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
559
561
  linePath: n.join(" ")
560
562
  };
561
563
  });
562
- function ue(v) {
564
+ function K(v) {
563
565
  return i.map((n) => ({
564
566
  ...n,
565
567
  value: n.values[v],
566
568
  absoluteIndex: n.absoluteIndices[v]
567
- })).filter((n) => !A.value.includes(n.id));
569
+ })).filter((n) => !w.value.includes(n.id));
568
570
  }
569
- function K(v) {
571
+ function ee(v) {
570
572
  Z.value = v, Q.value = v;
571
- const n = ue(v);
573
+ const n = K(v);
572
574
  Se.value = { datapoint: n, seriesIndex: v, config: e.value, dataset: i };
573
575
  const y = e.value.tooltipCustomFormat;
574
- if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: n, seriesIndex: v + m.value.start }), qe(y) && lt(() => y({
576
+ if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: n, seriesIndex: v + g.value.start }), qe(y) && lt(() => y({
575
577
  datapoint: n,
576
578
  seriesIndex: v,
577
579
  series: i,
@@ -590,7 +592,7 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
590
592
  <div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
591
593
  <svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${V.color}"/></svg>
592
594
  <span>${V.name}:</span>
593
- <b>${te(
595
+ <b>${ae(
594
596
  e.value.formatter,
595
597
  V.value,
596
598
  W({
@@ -609,28 +611,28 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
609
611
  re.value = !0;
610
612
  }
611
613
  function f(v) {
612
- const n = ue(v);
613
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: n, seriesIndex: v + m.value.start }), Z.value = null, Q.value = null, re.value = !1;
614
+ const n = K(v);
615
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: n, seriesIndex: v + g.value.start }), Z.value = null, Q.value = null, re.value = !1;
614
616
  }
615
- function C(v) {
616
- const n = ue(v);
617
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: n, seriesIndex: v + m.value.start }), ge("selectDatapoint", n);
617
+ function $(v) {
618
+ const n = K(v);
619
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: n, seriesIndex: v + g.value.start }), me("selectDatapoint", n);
618
620
  }
619
621
  return {
620
- absoluteZero: ie,
621
- dataset: ve.filter((v) => !A.value.includes(v.id)),
622
+ absoluteZero: ue,
623
+ dataset: ve.filter((v) => !w.value.includes(v.id)),
622
624
  legend: ve,
623
625
  drawingArea: t,
624
626
  extremes: u,
625
627
  slotSize: j,
626
628
  yLabels: ye,
627
- useTooltip: K,
629
+ useTooltip: ee,
628
630
  killTooltip: f,
629
- selectDatapoint: C
631
+ selectDatapoint: $
630
632
  };
631
633
  }), s = N(() => {
632
- if ($.value !== z.BAR) return null;
633
- const l = {
634
+ if (C.value !== L.BAR) return null;
635
+ const a = {
634
636
  height: b.value.height,
635
637
  width: b.value.width
636
638
  };
@@ -642,16 +644,17 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
642
644
  const t = {
643
645
  left: c + e.value.xyPaddingLeft,
644
646
  top: e.value.xyPaddingTop,
645
- right: l.width - e.value.xyPaddingRight,
646
- bottom: l.height - e.value.xyPaddingBottom - De.value,
647
- width: Math.max(10, l.width - e.value.xyPaddingLeft - e.value.xyPaddingRight - c),
648
- height: Math.max(10, l.height - e.value.xyPaddingTop - e.value.xyPaddingBottom - De.value)
647
+ right: a.width - e.value.xyPaddingRight,
648
+ bottom: a.height - e.value.xyPaddingBottom - De.value,
649
+ width: Math.max(10, a.width - e.value.xyPaddingLeft - e.value.xyPaddingRight - c),
650
+ height: Math.max(10, a.height - e.value.xyPaddingTop - e.value.xyPaddingBottom - De.value)
649
651
  };
650
652
  let i = [];
651
- le(k.value.dataset) && (i = [
653
+ oe(k.value.dataset) && (i = [
652
654
  {
653
- values: k.value.dataset.slice(m.value.start, m.value.end),
654
- absoluteIndices: k.value.dataset.map((n, y) => y).slice(m.value.start, m.value.end),
655
+ values: k.value.dataset.slice(g.value.start, g.value.end),
656
+ absoluteValues: k.value.dataset,
657
+ absoluteIndices: k.value.dataset.map((n, y) => y).slice(g.value.start, g.value.end),
655
658
  name: e.value.title,
656
659
  color: we.value[e.value.paletteStartIndex] || G[e.value.paletteStartIndex],
657
660
  id: "bar_0"
@@ -664,55 +667,56 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
664
667
  })).map((n, y) => ({
665
668
  ...n,
666
669
  color: n.COLOR ? tt(n.COLOR) : we.value[y + e.value.paletteStartIndex] || G[y + e.value.paletteStartIndex] || G[(y + e.value.paletteStartIndex) % G.length],
667
- values: n.values.slice(m.value.start, m.value.end),
668
- absoluteIndices: n.values.map((E, V) => V).slice(m.value.start, m.value.end)
670
+ values: n.values.slice(g.value.start, g.value.end),
671
+ absoluteValues: n.values,
672
+ absoluteIndices: n.values.map((E, V) => V).slice(g.value.start, g.value.end)
669
673
  })));
670
674
  const u = {
671
- max: Math.max(...i.filter((n) => !A.value.includes(n.id)).flatMap((n) => n.values)) < 0 ? 0 : Math.max(...i.filter((n) => !A.value.includes(n.id)).flatMap((n) => n.values)),
672
- min: Math.min(...i.filter((n) => !A.value.includes(n.id)).flatMap((n) => n.values)),
673
- maxSeries: Math.max(...i.filter((n) => !A.value.includes(n.id)).map((n) => n.values.length))
674
- }, x = Pt(u.min < 0 ? u.min : 0, u.max, e.value.xyScaleSegments), _ = x.min < 0 ? Math.abs(x.min) : 0, ie = t.bottom - _ / (x.max + _) * t.height, j = t.width / u.maxSeries, ye = x.ticks.map((n) => ({
675
- y: t.bottom - t.height * ((n + _) / (x.max + _)),
675
+ max: Math.max(...i.filter((n) => !w.value.includes(n.id)).flatMap((n) => n.values)) < 0 ? 0 : Math.max(...i.filter((n) => !w.value.includes(n.id)).flatMap((n) => n.values)),
676
+ min: Math.min(...i.filter((n) => !w.value.includes(n.id)).flatMap((n) => n.values)),
677
+ maxSeries: Math.max(...i.filter((n) => !w.value.includes(n.id)).map((n) => n.values.length))
678
+ }, x = Pt(u.min < 0 ? u.min : 0, u.max, e.value.xyScaleSegments), z = x.min < 0 ? Math.abs(x.min) : 0, ue = t.bottom - z / (x.max + z) * t.height, j = t.width / u.maxSeries, ye = x.ticks.map((n) => ({
679
+ y: t.bottom - t.height * ((n + z) / (x.max + z)),
676
680
  x: t.left - 8,
677
681
  value: n
678
682
  })), ve = i.map((n, y) => ({
679
683
  ...n,
680
684
  coordinates: n.values.map((E, V) => {
681
- const q = (E + _) / (u.max + _) * t.height, _e = Math.abs(E) / Math.abs(u.min) * (t.height - ie), Ke = _ / (u.max + _) * t.height, ze = j / i.filter((de) => !A.value.includes(de.id)).length - e.value.barGap / i.filter((de) => !A.value.includes(de.id)).length;
685
+ const q = (E + z) / (u.max + z) * t.height, _e = Math.abs(E) / Math.abs(u.min) * (t.height - ue), Ke = z / (u.max + z) * t.height, ze = j / i.filter((de) => !w.value.includes(de.id)).length - e.value.barGap / i.filter((de) => !w.value.includes(de.id)).length;
682
686
  return {
683
687
  x: t.left + j * V + ze * y + e.value.barGap / 2,
684
- y: E > 0 ? t.bottom - q : ie,
688
+ y: E > 0 ? t.bottom - q : ue,
685
689
  height: E > 0 ? q - Ke : _e,
686
690
  value: E,
687
691
  width: ze
688
692
  };
689
693
  })
690
- })), ue = i.filter((n) => !A.value.includes(n.id)).map((n, y) => ({
694
+ })), K = i.filter((n) => !w.value.includes(n.id)).map((n, y) => ({
691
695
  ...n,
692
696
  coordinates: n.values.map((E, V) => {
693
- const q = (E + _) / (u.max + _) * t.height, _e = Math.abs(E) / (u.max + _) * t.height, Ke = _ / (u.max + _) * t.height, ze = j / i.filter((de) => !A.value.includes(de.id)).length - e.value.barGap / i.filter((de) => !A.value.includes(de.id)).length;
697
+ const q = (E + z) / (u.max + z) * t.height, _e = Math.abs(E) / (u.max + z) * t.height, Ke = z / (u.max + z) * t.height, ze = j / i.filter((de) => !w.value.includes(de.id)).length - e.value.barGap / i.filter((de) => !w.value.includes(de.id)).length;
694
698
  return {
695
699
  x: t.left + j * V + ze * y + e.value.barGap / 2,
696
- y: E > 0 ? t.bottom - q : ie,
700
+ y: E > 0 ? t.bottom - q : ue,
697
701
  height: E > 0 ? q - Ke : _e,
698
702
  value: E,
699
703
  width: ze
700
704
  };
701
705
  })
702
706
  }));
703
- function K(n) {
707
+ function ee(n) {
704
708
  return i.map((y) => ({
705
709
  ...y,
706
710
  value: y.values[n],
707
711
  absoluteIndex: y.absoluteIndices[n]
708
- })).filter((y) => !A.value.includes(y.id));
712
+ })).filter((y) => !w.value.includes(y.id));
709
713
  }
710
714
  function f(n) {
711
715
  Z.value = n, Q.value = n;
712
- const y = K(n);
716
+ const y = ee(n);
713
717
  Se.value = { datapoint: y, seriesIndex: n, config: e.value, dataset: i };
714
718
  const E = e.value.tooltipCustomFormat;
715
- if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: y, seriesIndex: n + m.value.start }), qe(E) && lt(() => E({
719
+ if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: y, seriesIndex: n + g.value.start }), qe(E) && lt(() => E({
716
720
  datapoint: y,
717
721
  seriesIndex: n,
718
722
  series: i,
@@ -731,7 +735,7 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
731
735
  <div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
732
736
  <svg viewBox="0 0 12 12" height="14" width="12"><rect x=0 y="0" width="12" height="12" rx="1" stroke="none" fill="${q.color}"/></svg>
733
737
  <span>${q.name}:</span>
734
- <b>${te(
738
+ <b>${ae(
735
739
  e.value.formatter,
736
740
  q.value,
737
741
  W({
@@ -749,49 +753,65 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
749
753
  }
750
754
  re.value = !0;
751
755
  }
752
- function C(n) {
753
- const y = K(n);
754
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: y, seriesIndex: n + m.value.start }), re.value = !1, Z.value = null, Q.value = null;
756
+ function $(n) {
757
+ const y = ee(n);
758
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: y, seriesIndex: n + g.value.start }), re.value = !1, Z.value = null, Q.value = null;
755
759
  }
756
760
  function v(n) {
757
- const y = K(n);
758
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: y, seriesIndex: n + m.value.start }), ge("selectDatapoint", y);
761
+ const y = ee(n);
762
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: y, seriesIndex: n + g.value.start }), me("selectDatapoint", y);
759
763
  }
760
764
  return {
761
- absoluteZero: ie,
762
- dataset: ue.filter((n) => !A.value.includes(n.id)),
765
+ absoluteZero: ue,
766
+ dataset: K.filter((n) => !w.value.includes(n.id)),
767
+ absoluteDataset: K,
763
768
  legend: ve,
764
769
  drawingArea: t,
765
770
  extremes: u,
766
771
  slotSize: j,
767
772
  yLabels: ye,
768
773
  useTooltip: f,
769
- killTooltip: C,
774
+ killTooltip: $,
770
775
  selectDatapoint: v
771
776
  };
772
- }), Y = N(() => ba({
777
+ }), Kt = N(() => {
778
+ if (C.value === L.LINE)
779
+ return d.value.legend.map((a) => (Math.min(...a.absoluteValues.map((c) => c ?? 0)), {
780
+ ...a,
781
+ isVisible: !w.value.includes(a.id),
782
+ type: "line",
783
+ series: a.absoluteValues
784
+ }));
785
+ if (C.value === L.BAR)
786
+ return s.value.absoluteDataset.map((a) => (Math.min(...a.absoluteValues.map((c) => c ?? 0)), {
787
+ ...a,
788
+ isVisible: !w.value.includes(a.id),
789
+ type: "bar",
790
+ series: a.absoluteValues
791
+ }));
792
+ }), Y = N(() => Sa({
773
793
  values: e.value.xyPeriods,
774
794
  maxDatapoints: k.value.maxSeriesLength,
775
795
  formatter: e.value.datetimeFormatter,
776
- start: m.value.start,
777
- end: m.value.end
796
+ start: g.value.start,
797
+ end: g.value.end
778
798
  })), xe = N(() => {
779
- const l = e.value.xyPeriodsModulo;
780
- return e.value.xyPeriods.length ? Math.min(l, [...new Set(Y.value.map((c) => c.text))].length) : l;
781
- }), Ue = w(!1);
782
- function Ct(l) {
783
- Ue.value = l, st.value += 1;
799
+ const a = e.value.xyPeriodsModulo;
800
+ return e.value.xyPeriods.length ? Math.min(a, [...new Set(Y.value.map((c) => c.text))].length) : a;
801
+ }), Ue = A(!1);
802
+ function Ct(a) {
803
+ Ue.value = a, st.value += 1;
784
804
  }
785
805
  function $t() {
786
- me.value.showTooltip = !me.value.showTooltip;
806
+ ge.value.showTooltip = !ge.value.showTooltip;
787
807
  }
788
- const Ve = w(!1);
808
+ const Ve = A(!1);
789
809
  function Qe() {
790
810
  Ve.value = !Ve.value;
791
811
  }
792
- async function Kt({ scale: l = 2 } = {}) {
793
- if (!R.value) return;
794
- const { width: c, height: t } = R.value.getBoundingClientRect(), i = c / t, { imageUri: u, base64: x } = await Aa({ domElement: R.value, base64: !0, img: !0, scale: l });
812
+ async function ea({ scale: a = 2 } = {}) {
813
+ if (!O.value) return;
814
+ const { width: c, height: t } = O.value.getBoundingClientRect(), i = c / t, { imageUri: u, base64: x } = await La({ domElement: O.value, base64: !0, img: !0, scale: a });
795
815
  return {
796
816
  imageUri: u,
797
817
  base64: x,
@@ -801,56 +821,56 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
801
821
  aspectRatio: i
802
822
  };
803
823
  }
804
- const ea = N(() => b.value.width), ta = N(() => b.value.height);
805
- return wa({
824
+ const ta = N(() => b.value.width), aa = N(() => b.value.height);
825
+ return Aa({
806
826
  timeLabelsEls: J,
807
827
  timeLabels: Y,
808
- slicer: m,
828
+ slicer: g,
809
829
  configRef: e,
810
830
  rotationPath: ["xyPeriodLabelsRotation"],
811
831
  autoRotatePath: ["xyPeriodLabelsAutoRotate", "enable"],
812
832
  isAutoSize: !1,
813
833
  rotation: e.value.xyPeriodLabelsAutoRotate.angle,
814
- height: ta.value,
815
- width: ea.value
834
+ height: aa.value,
835
+ width: ta.value
816
836
  }), P({
817
- getImage: Kt,
837
+ getImage: ea,
818
838
  generatePdf: pt,
819
839
  generateImage: xt,
820
840
  toggleTooltip: $t,
821
841
  toggleAnnotator: Qe,
822
842
  toggleFullscreen: Ct
823
- }), (l, c) => qt.value ? (a(), o("div", {
843
+ }), (a, c) => qt.value ? (l(), o("div", {
824
844
  key: 0,
825
- id: `${$.value}_${X.value}`,
845
+ id: `${C.value}_${X.value}`,
826
846
  ref_key: "quickChart",
827
- ref: R,
847
+ ref: O,
828
848
  class: ce({ "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": Ue.value }),
829
- style: O(`background:${e.value.backgroundColor};color:${e.value.color};font-family:${e.value.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
830
- onMouseenter: c[2] || (c[2] = () => mt(!0)),
831
- onMouseleave: c[3] || (c[3] = () => mt(!1))
849
+ style: M(`background:${e.value.backgroundColor};color:${e.value.color};font-family:${e.value.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
850
+ onMouseenter: c[2] || (c[2] = () => gt(!0)),
851
+ onMouseleave: c[3] || (c[3] = () => gt(!1))
832
852
  }, [
833
- e.value.userOptionsButtons.annotator ? (a(), Ie(r(oe), {
853
+ e.value.userOptionsButtons.annotator ? (l(), Ie(r(ne), {
834
854
  key: 0,
835
855
  svgRef: r(ft),
836
856
  backgroundColor: e.value.backgroundColor,
837
857
  color: e.value.color,
838
858
  active: Ve.value,
839
859
  onClose: Qe
840
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
841
- Wt.value ? (a(), o("div", {
860
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
861
+ Wt.value ? (l(), o("div", {
842
862
  key: 1,
843
863
  ref_key: "noTitle",
844
864
  ref: rt,
845
865
  class: "vue-data-ui-no-title-space",
846
866
  style: "height:36px; width: 100%;background:transparent"
847
- }, null, 512)) : g("", !0),
848
- e.value.showUserOptions && (gt.value || Fe.value) ? (a(), Ie(r(ot), {
867
+ }, null, 512)) : m("", !0),
868
+ e.value.showUserOptions && (mt.value || Re.value) ? (l(), Ie(r(ot), {
849
869
  ref: "details",
850
870
  key: `user_option_${st.value}`,
851
871
  backgroundColor: e.value.backgroundColor,
852
872
  color: e.value.color,
853
- isPrinting: r(Me),
873
+ isPrinting: r(Fe),
854
874
  isImaging: r(Ne),
855
875
  uid: X.value,
856
876
  hasTooltip: e.value.userOptionsButtons.tooltip && e.value.showTooltip,
@@ -858,10 +878,10 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
858
878
  hasImg: e.value.userOptionsButtons.img,
859
879
  hasFullscreen: e.value.userOptionsButtons.fullscreen,
860
880
  hasXls: !1,
861
- isTooltip: me.value.showTooltip,
881
+ isTooltip: ge.value.showTooltip,
862
882
  isFullscreen: Ue.value,
863
883
  titles: { ...e.value.userOptionsButtonTitles },
864
- chartElement: R.value,
884
+ chartElement: O.value,
865
885
  position: e.value.userOptionsPosition,
866
886
  hasAnnotator: e.value.userOptionsButtons.annotator,
867
887
  isAnnotation: Ve.value,
@@ -872,73 +892,73 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
872
892
  onGenerateImage: r(xt),
873
893
  onToggleTooltip: $t,
874
894
  onToggleAnnotator: Qe,
875
- style: O({
876
- visibility: gt.value ? Fe.value ? "visible" : "hidden" : "visible"
895
+ style: M({
896
+ visibility: mt.value ? Re.value ? "visible" : "hidden" : "visible"
877
897
  })
878
- }, na({ _: 2 }, [
879
- l.$slots.menuIcon ? {
898
+ }, ia({ _: 2 }, [
899
+ a.$slots.menuIcon ? {
880
900
  name: "menuIcon",
881
- fn: ee(({ isOpen: t, color: i }) => [
882
- U(l.$slots, "menuIcon", he(fe({ isOpen: t, color: i })), void 0, !0)
901
+ fn: te(({ isOpen: t, color: i }) => [
902
+ U(a.$slots, "menuIcon", he(fe({ isOpen: t, color: i })), void 0, !0)
883
903
  ]),
884
904
  key: "0"
885
905
  } : void 0,
886
- l.$slots.optionTooltip ? {
906
+ a.$slots.optionTooltip ? {
887
907
  name: "optionTooltip",
888
- fn: ee(() => [
889
- U(l.$slots, "optionTooltip", {}, void 0, !0)
908
+ fn: te(() => [
909
+ U(a.$slots, "optionTooltip", {}, void 0, !0)
890
910
  ]),
891
911
  key: "1"
892
912
  } : void 0,
893
- l.$slots.optionPdf ? {
913
+ a.$slots.optionPdf ? {
894
914
  name: "optionPdf",
895
- fn: ee(() => [
896
- U(l.$slots, "optionPdf", {}, void 0, !0)
915
+ fn: te(() => [
916
+ U(a.$slots, "optionPdf", {}, void 0, !0)
897
917
  ]),
898
918
  key: "2"
899
919
  } : void 0,
900
- l.$slots.optionImg ? {
920
+ a.$slots.optionImg ? {
901
921
  name: "optionImg",
902
- fn: ee(() => [
903
- U(l.$slots, "optionImg", {}, void 0, !0)
922
+ fn: te(() => [
923
+ U(a.$slots, "optionImg", {}, void 0, !0)
904
924
  ]),
905
925
  key: "3"
906
926
  } : void 0,
907
- l.$slots.optionFullscreen ? {
927
+ a.$slots.optionFullscreen ? {
908
928
  name: "optionFullscreen",
909
- fn: ee(({ toggleFullscreen: t, isFullscreen: i }) => [
910
- U(l.$slots, "optionFullscreen", he(fe({ toggleFullscreen: t, isFullscreen: i })), void 0, !0)
929
+ fn: te(({ toggleFullscreen: t, isFullscreen: i }) => [
930
+ U(a.$slots, "optionFullscreen", he(fe({ toggleFullscreen: t, isFullscreen: i })), void 0, !0)
911
931
  ]),
912
932
  key: "4"
913
933
  } : void 0,
914
- l.$slots.optionAnnotator ? {
934
+ a.$slots.optionAnnotator ? {
915
935
  name: "optionAnnotator",
916
- fn: ee(({ toggleAnnotator: t, isAnnotator: i }) => [
917
- U(l.$slots, "optionAnnotator", he(fe({ toggleAnnotator: t, isAnnotator: i })), void 0, !0)
936
+ fn: te(({ toggleAnnotator: t, isAnnotator: i }) => [
937
+ U(a.$slots, "optionAnnotator", he(fe({ toggleAnnotator: t, isAnnotator: i })), void 0, !0)
918
938
  ]),
919
939
  key: "5"
920
940
  } : void 0
921
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
922
- e.value.title ? (a(), o("div", {
941
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
942
+ e.value.title ? (l(), o("div", {
923
943
  key: 3,
924
944
  ref_key: "quickChartTitle",
925
945
  ref: Te,
926
946
  class: "vue-ui-quick-chart-title",
927
- style: O(`background:transparent;color:${e.value.color};font-size:${e.value.titleFontSize}px;font-weight:${e.value.titleBold ? "bold" : "normal"};text-align:${e.value.titleTextAlign}`)
928
- }, M(e.value.title), 5)) : g("", !0),
929
- L("div", {
947
+ style: M(`background:transparent;color:${e.value.color};font-size:${e.value.titleFontSize}px;font-weight:${e.value.titleBold ? "bold" : "normal"};text-align:${e.value.titleTextAlign}`)
948
+ }, F(e.value.title), 5)) : m("", !0),
949
+ _("div", {
930
950
  id: `legend-top-${X.value}`
931
951
  }, null, 8, Fa),
932
- $.value ? (a(), o("svg", {
952
+ C.value ? (l(), o("svg", {
933
953
  key: 4,
934
954
  ref_key: "svgRef",
935
955
  ref: ft,
936
- xmlns: r(pa),
956
+ xmlns: r(xa),
937
957
  viewBox: Xt.value,
938
- style: O(`max-width:100%;overflow:visible;background:transparent;color:${e.value.color}`)
958
+ style: M(`max-width:100%;overflow:visible;background:transparent;color:${e.value.color}`)
939
959
  }, [
940
960
  ke(r(H)),
941
- l.$slots["chart-background"] && $.value === z.BAR ? (a(), o("foreignObject", {
961
+ a.$slots["chart-background"] && C.value === L.BAR ? (l(), o("foreignObject", {
942
962
  key: 0,
943
963
  x: s.value.drawingArea.left,
944
964
  y: s.value.drawingArea.top,
@@ -948,9 +968,9 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
948
968
  pointerEvents: "none"
949
969
  }
950
970
  }, [
951
- U(l.$slots, "chart-background", {}, void 0, !0)
952
- ], 8, Na)) : g("", !0),
953
- l.$slots["chart-background"] && $.value === z.LINE ? (a(), o("foreignObject", {
971
+ U(a.$slots, "chart-background", {}, void 0, !0)
972
+ ], 8, Ba)) : m("", !0),
973
+ a.$slots["chart-background"] && C.value === L.LINE ? (l(), o("foreignObject", {
954
974
  key: 1,
955
975
  x: d.value.drawingArea.left,
956
976
  y: d.value.drawingArea.top,
@@ -960,9 +980,9 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
960
980
  pointerEvents: "none"
961
981
  }
962
982
  }, [
963
- U(l.$slots, "chart-background", {}, void 0, !0)
964
- ], 8, Ba)) : g("", !0),
965
- l.$slots["chart-background"] && $.value === z.DONUT ? (a(), o("foreignObject", {
983
+ U(a.$slots, "chart-background", {}, void 0, !0)
984
+ ], 8, Da)) : m("", !0),
985
+ a.$slots["chart-background"] && C.value === L.DONUT ? (l(), o("foreignObject", {
966
986
  key: 2,
967
987
  x: 0,
968
988
  y: 0,
@@ -972,80 +992,80 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
972
992
  pointerEvents: "none"
973
993
  }
974
994
  }, [
975
- U(l.$slots, "chart-background", {}, void 0, !0)
976
- ], 8, Da)) : g("", !0),
977
- L("defs", null, [
978
- L("filter", {
995
+ U(a.$slots, "chart-background", {}, void 0, !0)
996
+ ], 8, Ua)) : m("", !0),
997
+ _("defs", null, [
998
+ _("filter", {
979
999
  id: `blur_${X.value}`,
980
1000
  x: "-50%",
981
1001
  y: "-50%",
982
1002
  width: "200%",
983
1003
  height: "200%"
984
1004
  }, [
985
- L("feGaussianBlur", {
1005
+ _("feGaussianBlur", {
986
1006
  in: "SourceGraphic",
987
1007
  stdDeviation: 2,
988
1008
  id: `blur_std_${X.value}`
989
- }, null, 8, Va),
990
- c[4] || (c[4] = L("feColorMatrix", {
1009
+ }, null, 8, Ha),
1010
+ c[4] || (c[4] = _("feColorMatrix", {
991
1011
  type: "saturate",
992
1012
  values: "0"
993
1013
  }, null, -1))
994
- ], 8, Ua),
995
- L("filter", {
1014
+ ], 8, Va),
1015
+ _("filter", {
996
1016
  id: `shadow_${X.value}`,
997
1017
  "color-interpolation-filters": "sRGB"
998
1018
  }, [
999
- L("feDropShadow", {
1019
+ _("feDropShadow", {
1000
1020
  dx: "0",
1001
1021
  dy: "0",
1002
1022
  stdDeviation: "10",
1003
1023
  "flood-opacity": "0.5",
1004
1024
  "flood-color": e.value.donutShadowColor
1005
- }, null, 8, qa)
1006
- ], 8, Ha)
1025
+ }, null, 8, Wa)
1026
+ ], 8, qa)
1007
1027
  ]),
1008
- $.value === z.DONUT ? (a(), o(p, { key: 3 }, [
1009
- e.value.showDataLabels ? (a(), o("g", Wa, [
1010
- (a(!0), o(p, null, I(T.value.chart, (t, i) => (a(), o(p, null, [
1011
- T.value.isArcBigEnough(t) ? (a(), o("path", {
1028
+ C.value === L.DONUT ? (l(), o(p, { key: 3 }, [
1029
+ e.value.showDataLabels ? (l(), o("g", Xa, [
1030
+ (l(!0), o(p, null, I(T.value.chart, (t, i) => (l(), o(p, null, [
1031
+ T.value.isArcBigEnough(t) ? (l(), o("path", {
1012
1032
  key: 0,
1013
- d: r(xa)(t, { x: b.value.width / 2, y: b.value.height / 2 }, 16, 16, !1, !1, b.value.height * At.value, 12, e.value.donutCurvedMarkers),
1033
+ d: r(ya)(t, { x: b.value.width / 2, y: b.value.height / 2 }, 16, 16, !1, !1, b.value.height * At.value, 12, e.value.donutCurvedMarkers),
1014
1034
  stroke: t.color,
1015
1035
  "stroke-width": e.value.donutLabelMarkerStrokeWidth,
1016
1036
  "stroke-linecap": "round",
1017
1037
  "stroke-linejoin": "round",
1018
1038
  fill: "none",
1019
1039
  filter: Le(t.id)
1020
- }, null, 8, Xa)) : g("", !0)
1040
+ }, null, 8, ja)) : m("", !0)
1021
1041
  ], 64))), 256))
1022
- ])) : g("", !0),
1023
- L("circle", {
1042
+ ])) : m("", !0),
1043
+ _("circle", {
1024
1044
  cx: T.value.cx,
1025
1045
  cy: T.value.cy,
1026
1046
  r: T.value.radius,
1027
1047
  fill: e.value.backgroundColor,
1028
1048
  filter: e.value.donutUseShadow ? `url(#shadow_${X.value})` : ""
1029
- }, null, 8, ja),
1030
- L("g", Ga, [
1031
- (a(!0), o(p, null, I(T.value.chart, (t, i) => (a(), o("path", {
1049
+ }, null, 8, Ga),
1050
+ _("g", Ya, [
1051
+ (l(!0), o(p, null, I(T.value.chart, (t, i) => (l(), o("path", {
1032
1052
  d: t.arcSlice,
1033
1053
  fill: t.color,
1034
- stroke: Re.value,
1054
+ stroke: Oe.value,
1035
1055
  "stroke-width": e.value.donutStrokeWidth,
1036
1056
  filter: Le(t.id)
1037
- }, null, 8, Ya))), 256)),
1038
- (a(!0), o(p, null, I(T.value.chart, (t, i) => (a(), o("path", {
1057
+ }, null, 8, Za))), 256)),
1058
+ (l(!0), o(p, null, I(T.value.chart, (t, i) => (l(), o("path", {
1039
1059
  d: t.arcSlice,
1040
1060
  fill: "transparent",
1041
1061
  onMouseenter: (u) => T.value.useTooltip({ datapoint: t, seriesIndex: i }),
1042
1062
  onMouseout: (u) => T.value.killTooltip({ datapoint: t, seriesIndex: i }),
1043
1063
  onClick: (u) => T.value.selectDatapoint({ datapoint: t, seriesIndex: i })
1044
- }, null, 40, Za))), 256))
1064
+ }, null, 40, Ja))), 256))
1045
1065
  ]),
1046
- e.value.showDataLabels ? (a(), o("g", Ja, [
1047
- (a(!0), o(p, null, I(T.value.chart, (t, i) => (a(), o(p, null, [
1048
- T.value.isArcBigEnough(t) ? (a(), o("circle", {
1066
+ e.value.showDataLabels ? (l(), o("g", Qa, [
1067
+ (l(!0), o(p, null, I(T.value.chart, (t, i) => (l(), o(p, null, [
1068
+ T.value.isArcBigEnough(t) ? (l(), o("circle", {
1049
1069
  key: 0,
1050
1070
  cx: r(Ee)(t).x,
1051
1071
  cy: r(at)(t) - 3.7,
@@ -1054,8 +1074,8 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
1054
1074
  "stroke-width": 1,
1055
1075
  r: 3,
1056
1076
  filter: Le(t.id)
1057
- }, null, 8, Qa)) : g("", !0),
1058
- T.value.isArcBigEnough(t) ? (a(), o("text", {
1077
+ }, null, 8, Ka)) : m("", !0),
1078
+ T.value.isArcBigEnough(t) ? (l(), o("text", {
1059
1079
  key: 1,
1060
1080
  "text-anchor": r(Ee)(t, !0, 20).anchor,
1061
1081
  x: r(Ee)(t, !0).x,
@@ -1063,7 +1083,7 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
1063
1083
  fill: e.value.color,
1064
1084
  "font-size": e.value.dataLabelFontSize,
1065
1085
  filter: Le(t.id)
1066
- }, M(T.value.displayArcPercentage(t, T.value.chart)) + " (" + M(r(te)(
1086
+ }, F(T.value.displayArcPercentage(t, T.value.chart)) + " (" + F(r(ae)(
1067
1087
  e.value.formatter,
1068
1088
  t.value,
1069
1089
  r(W)({
@@ -1073,8 +1093,8 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
1073
1093
  r: e.value.dataLabelRoundingValue
1074
1094
  }),
1075
1095
  { datapoint: t, seriesIndex: i }
1076
- )) + ") ", 9, Ka)) : g("", !0),
1077
- T.value.isArcBigEnough(t, !0, 20) ? (a(), o("text", {
1096
+ )) + ") ", 9, el)) : m("", !0),
1097
+ T.value.isArcBigEnough(t, !0, 20) ? (l(), o("text", {
1078
1098
  key: 2,
1079
1099
  "text-anchor": r(Ee)(t).anchor,
1080
1100
  x: r(Ee)(t, !0).x,
@@ -1082,35 +1102,35 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
1082
1102
  fill: e.value.color,
1083
1103
  "font-size": e.value.dataLabelFontSize,
1084
1104
  filter: Le(t.id)
1085
- }, M(t.name), 9, el)) : g("", !0)
1105
+ }, F(t.name), 9, tl)) : m("", !0)
1086
1106
  ], 64))), 256))
1087
- ])) : g("", !0),
1088
- e.value.donutShowTotal ? (a(), o("g", tl, [
1089
- L("text", {
1107
+ ])) : m("", !0),
1108
+ e.value.donutShowTotal ? (l(), o("g", al, [
1109
+ _("text", {
1090
1110
  "text-anchor": "middle",
1091
1111
  x: T.value.drawingArea.centerX,
1092
1112
  y: T.value.drawingArea.centerY - e.value.donutTotalLabelFontSize / 2,
1093
1113
  "font-size": e.value.donutTotalLabelFontSize,
1094
1114
  fill: e.value.color
1095
- }, M(e.value.donutTotalLabelText), 9, al),
1096
- L("text", {
1115
+ }, F(e.value.donutTotalLabelText), 9, ll),
1116
+ _("text", {
1097
1117
  "text-anchor": "middle",
1098
1118
  x: T.value.drawingArea.centerX,
1099
1119
  y: T.value.drawingArea.centerY + e.value.donutTotalLabelFontSize,
1100
1120
  "font-size": e.value.donutTotalLabelFontSize,
1101
1121
  fill: e.value.color
1102
- }, M(r(W)({
1122
+ }, F(r(W)({
1103
1123
  p: e.value.valuePrefix,
1104
1124
  v: T.value.total,
1105
1125
  s: e.value.valueSuffix,
1106
1126
  r: e.value.dataLabelRoundingValue
1107
- })), 9, ll)
1108
- ])) : g("", !0)
1109
- ], 64)) : g("", !0),
1110
- $.value === z.LINE ? (a(), o(p, { key: 4 }, [
1111
- e.value.xyShowGrid ? (a(), o("g", ol, [
1112
- (a(!0), o(p, null, I(d.value.yLabels, (t) => (a(), o(p, null, [
1113
- t.y <= d.value.drawingArea.bottom ? (a(), o("line", {
1127
+ })), 9, ol)
1128
+ ])) : m("", !0)
1129
+ ], 64)) : m("", !0),
1130
+ C.value === L.LINE ? (l(), o(p, { key: 4 }, [
1131
+ e.value.xyShowGrid ? (l(), o("g", nl, [
1132
+ (l(!0), o(p, null, I(d.value.yLabels, (t) => (l(), o(p, null, [
1133
+ t.y <= d.value.drawingArea.bottom ? (l(), o("line", {
1114
1134
  key: 0,
1115
1135
  x1: d.value.drawingArea.left,
1116
1136
  x2: d.value.drawingArea.right,
@@ -1119,9 +1139,9 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
1119
1139
  stroke: e.value.xyGridStroke,
1120
1140
  "stroke-width": e.value.xyGridStrokeWidth,
1121
1141
  "stroke-linecap": "round"
1122
- }, null, 8, nl)) : g("", !0)
1142
+ }, null, 8, il)) : m("", !0)
1123
1143
  ], 64))), 256)),
1124
- (a(!0), o(p, null, I(d.value.extremes.maxSeries + 1, (t, i) => (a(), o("line", {
1144
+ (l(!0), o(p, null, I(d.value.extremes.maxSeries + 1, (t, i) => (l(), o("line", {
1125
1145
  x1: d.value.drawingArea.left + d.value.slotSize * i,
1126
1146
  x2: d.value.drawingArea.left + d.value.slotSize * i,
1127
1147
  y1: d.value.drawingArea.top,
@@ -1129,10 +1149,10 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
1129
1149
  stroke: e.value.xyGridStroke,
1130
1150
  "stroke-width": e.value.xyGridStrokeWidth,
1131
1151
  "stroke-linecap": "round"
1132
- }, null, 8, il))), 256))
1133
- ])) : g("", !0),
1134
- e.value.xyShowAxis ? (a(), o("g", ul, [
1135
- L("line", {
1152
+ }, null, 8, ul))), 256))
1153
+ ])) : m("", !0),
1154
+ e.value.xyShowAxis ? (l(), o("g", rl, [
1155
+ _("line", {
1136
1156
  x1: d.value.drawingArea.left,
1137
1157
  x2: d.value.drawingArea.left,
1138
1158
  y1: d.value.drawingArea.top,
@@ -1140,8 +1160,8 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
1140
1160
  stroke: e.value.xyAxisStroke,
1141
1161
  "stroke-width": e.value.xyAxisStrokeWidth,
1142
1162
  "stroke-linecap": "round"
1143
- }, null, 8, rl),
1144
- L("line", {
1163
+ }, null, 8, sl),
1164
+ _("line", {
1145
1165
  x1: d.value.drawingArea.left,
1146
1166
  x2: d.value.drawingArea.right,
1147
1167
  y1: isNaN(d.value.absoluteZero) ? d.value.drawingArea.bottom : d.value.absoluteZero,
@@ -1149,16 +1169,16 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
1149
1169
  stroke: e.value.xyAxisStroke,
1150
1170
  "stroke-width": e.value.xyAxisStrokeWidth,
1151
1171
  "stroke-linecap": "round"
1152
- }, null, 8, sl)
1153
- ])) : g("", !0),
1154
- e.value.xyShowScale ? (a(), o("g", {
1172
+ }, null, 8, vl)
1173
+ ])) : m("", !0),
1174
+ e.value.xyShowScale ? (l(), o("g", {
1155
1175
  key: 2,
1156
1176
  class: "yLabels",
1157
1177
  ref_key: "scaleLabels",
1158
- ref: Oe
1178
+ ref: Me
1159
1179
  }, [
1160
- (a(!0), o(p, null, I(d.value.yLabels, (t, i) => (a(), o(p, null, [
1161
- t.y <= d.value.drawingArea.bottom ? (a(), o("line", {
1180
+ (l(!0), o(p, null, I(d.value.yLabels, (t, i) => (l(), o(p, null, [
1181
+ t.y <= d.value.drawingArea.bottom ? (l(), o("line", {
1162
1182
  key: 0,
1163
1183
  x1: t.x + 4,
1164
1184
  x2: d.value.drawingArea.left,
@@ -1167,15 +1187,15 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
1167
1187
  stroke: e.value.xyAxisStroke,
1168
1188
  "stroke-width": e.value.xyAxisStrokeWidth,
1169
1189
  "stroke-linecap": "round"
1170
- }, null, 8, vl)) : g("", !0),
1171
- t.y <= d.value.drawingArea.bottom ? (a(), o("text", {
1190
+ }, null, 8, dl)) : m("", !0),
1191
+ t.y <= d.value.drawingArea.bottom ? (l(), o("text", {
1172
1192
  key: 1,
1173
1193
  x: t.x,
1174
1194
  y: t.y + e.value.xyLabelsYFontSize / 3,
1175
1195
  "text-anchor": "end",
1176
1196
  "font-size": e.value.xyLabelsYFontSize,
1177
1197
  fill: e.value.color
1178
- }, M(r(te)(
1198
+ }, F(r(ae)(
1179
1199
  e.value.formatter,
1180
1200
  t.value,
1181
1201
  r(W)({
@@ -1185,12 +1205,12 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
1185
1205
  r: e.value.dataLabelRoundingValue
1186
1206
  }),
1187
1207
  { datapoint: t, seriesIndex: i }
1188
- )), 9, dl)) : g("", !0)
1208
+ )), 9, cl)) : m("", !0)
1189
1209
  ], 64))), 256))
1190
- ], 512)) : g("", !0),
1191
- e.value.xyShowScale && e.value.xyPeriods.length ? (a(), o("g", cl, [
1192
- (a(!0), o(p, null, I(Y.value.map((t) => t.text), (t, i) => (a(), o(p, null, [
1193
- !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && i % Math.floor((m.value.end - m.value.start) / xe.value) === 0 || m.value.end - m.value.start <= xe.value ? (a(), o("line", {
1210
+ ], 512)) : m("", !0),
1211
+ e.value.xyShowScale && e.value.xyPeriods.length ? (l(), o("g", hl, [
1212
+ (l(!0), o(p, null, I(Y.value.map((t) => t.text), (t, i) => (l(), o(p, null, [
1213
+ !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && i % Math.floor((g.value.end - g.value.start) / xe.value) === 0 || g.value.end - g.value.start <= xe.value ? (l(), o("line", {
1194
1214
  key: 0,
1195
1215
  x1: d.value.drawingArea.left + d.value.slotSize * (i + 1) - d.value.slotSize / 2,
1196
1216
  x2: d.value.drawingArea.left + d.value.slotSize * (i + 1) - d.value.slotSize / 2,
@@ -1199,135 +1219,135 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
1199
1219
  stroke: e.value.xyAxisStroke,
1200
1220
  "stroke-width": e.value.xyAxisStrokeWidth,
1201
1221
  "stroke-linecap": "round"
1202
- }, null, 8, hl)) : g("", !0)
1222
+ }, null, 8, fl)) : m("", !0)
1203
1223
  ], 64))), 256)),
1204
- L("g", {
1224
+ _("g", {
1205
1225
  ref_key: "timeLabelsEls",
1206
1226
  ref: J
1207
1227
  }, [
1208
- (a(!0), o(p, null, I(Y.value.map((t) => t.text), (t, i) => (a(), o(p, null, [
1209
- !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && i % Math.floor((m.value.end - m.value.start) / xe.value) === 0 || m.value.end - m.value.start <= xe.value ? (a(), o("g", fl, [
1228
+ (l(!0), o(p, null, I(Y.value.map((t) => t.text), (t, i) => (l(), o(p, null, [
1229
+ !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && i % Math.floor((g.value.end - g.value.start) / xe.value) === 0 || g.value.end - g.value.start <= xe.value ? (l(), o("g", ml, [
1210
1230
  String(t).includes(`
1211
- `) ? (a(), o("text", {
1231
+ `) ? (l(), o("text", {
1212
1232
  key: 1,
1213
1233
  class: "vue-data-ui-time-label",
1214
1234
  "font-size": e.value.xyLabelsXFontSize,
1215
1235
  "text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1216
1236
  fill: e.value.color,
1217
1237
  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})`,
1218
- innerHTML: r(Ot)({
1238
+ innerHTML: r(Mt)({
1219
1239
  content: String(t),
1220
1240
  fontSize: e.value.xyLabelsXFontSize,
1221
1241
  fill: e.value.color,
1222
1242
  x: 0,
1223
1243
  y: 0
1224
1244
  })
1225
- }, null, 8, ml)) : (a(), o("text", {
1245
+ }, null, 8, pl)) : (l(), o("text", {
1226
1246
  key: 0,
1227
1247
  class: "vue-data-ui-time-label",
1228
1248
  "font-size": e.value.xyLabelsXFontSize,
1229
1249
  "text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1230
1250
  fill: e.value.color,
1231
1251
  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})`
1232
- }, M(t), 9, gl))
1233
- ])) : g("", !0)
1252
+ }, F(t), 9, gl))
1253
+ ])) : m("", !0)
1234
1254
  ], 64))), 256))
1235
1255
  ], 512)
1236
- ])) : g("", !0),
1237
- L("g", pl, [
1238
- (a(!0), o(p, null, I(d.value.dataset, (t, i) => (a(), o("g", xl, [
1239
- e.value.lineSmooth ? (a(), o(p, { key: 0 }, [
1240
- L("path", {
1241
- d: `M ${r(Rt)(t.coordinates)}`,
1256
+ ])) : m("", !0),
1257
+ _("g", xl, [
1258
+ (l(!0), o(p, null, I(d.value.dataset, (t, i) => (l(), o("g", yl, [
1259
+ e.value.lineSmooth ? (l(), o(p, { key: 0 }, [
1260
+ _("path", {
1261
+ d: `M ${r(Ot)(t.coordinates)}`,
1242
1262
  stroke: e.value.backgroundColor,
1243
1263
  "stroke-width": e.value.lineStrokeWidth + 1,
1244
1264
  "stroke-linecap": "round",
1245
1265
  fill: "none",
1246
1266
  class: ce({ "quick-animation": !r(D), "vue-data-ui-line-animated": e.value.lineAnimated && !r(D) }),
1247
- style: O({ transition: r(D) ? void 0 : "all 0.3s ease-in-out" })
1248
- }, null, 14, yl),
1249
- L("path", {
1250
- d: `M ${r(Rt)(t.coordinates)}`,
1267
+ style: M({ transition: r(D) ? void 0 : "all 0.3s ease-in-out" })
1268
+ }, null, 14, kl),
1269
+ _("path", {
1270
+ d: `M ${r(Ot)(t.coordinates)}`,
1251
1271
  stroke: t.color,
1252
1272
  "stroke-width": e.value.lineStrokeWidth,
1253
1273
  "stroke-linecap": "round",
1254
1274
  fill: "none",
1255
1275
  class: ce({ "quick-animation": !r(D), "vue-data-ui-line-animated": e.value.lineAnimated && !r(D) }),
1256
- style: O({ transition: r(D) ? void 0 : "all 0.3s ease-in-out" })
1257
- }, null, 14, kl)
1258
- ], 64)) : (a(), o(p, { key: 1 }, [
1259
- L("path", {
1276
+ style: M({ transition: r(D) ? void 0 : "all 0.3s ease-in-out" })
1277
+ }, null, 14, bl)
1278
+ ], 64)) : (l(), o(p, { key: 1 }, [
1279
+ _("path", {
1260
1280
  d: `M ${t.linePath}`,
1261
1281
  stroke: e.value.backgroundColor,
1262
1282
  "stroke-width": e.value.lineStrokeWidth + 1,
1263
1283
  "stroke-linecap": "round",
1264
1284
  fill: "none",
1265
1285
  class: ce({ "quick-animation": !r(D), "vue-data-ui-line-animated": e.value.lineAnimated && !r(D) }),
1266
- style: O({ transition: r(D) ? void 0 : "all 0.3s ease-in-out" })
1267
- }, null, 14, bl),
1268
- L("path", {
1286
+ style: M({ transition: r(D) ? void 0 : "all 0.3s ease-in-out" })
1287
+ }, null, 14, Sl),
1288
+ _("path", {
1269
1289
  d: `M ${t.linePath}`,
1270
1290
  stroke: t.color,
1271
1291
  "stroke-width": e.value.lineStrokeWidth,
1272
1292
  "stroke-linecap": "round",
1273
1293
  fill: "none",
1274
1294
  class: ce({ "quick-animation": !r(D), "vue-data-ui-line-animated": e.value.lineAnimated && !r(D) }),
1275
- style: O({ transition: r(D) ? void 0 : "all 0.3s ease-in-out" })
1276
- }, null, 14, Sl)
1295
+ style: M({ transition: r(D) ? void 0 : "all 0.3s ease-in-out" })
1296
+ }, null, 14, wl)
1277
1297
  ], 64)),
1278
- (a(!0), o(p, null, I(t.coordinates, (u, x) => (a(), o("circle", {
1298
+ (l(!0), o(p, null, I(t.coordinates, (u, x) => (l(), o("circle", {
1279
1299
  cx: u.x,
1280
- cy: r(ae)(u.y),
1300
+ cy: r(le)(u.y),
1281
1301
  r: 3,
1282
1302
  fill: t.color,
1283
1303
  stroke: e.value.backgroundColor,
1284
1304
  "stroke-width": "0.5",
1285
1305
  class: ce({ "quick-animation": !r(D) }),
1286
- style: O({ transition: r(D) ? void 0 : "all 0.3s ease-in-out" })
1287
- }, null, 14, wl))), 256))
1306
+ style: M({ transition: r(D) ? void 0 : "all 0.3s ease-in-out" })
1307
+ }, null, 14, Al))), 256))
1288
1308
  ]))), 256))
1289
1309
  ]),
1290
- e.value.showDataLabels ? (a(), o("g", Al, [
1291
- (a(!0), o(p, null, I(d.value.dataset, (t, i) => (a(), o(p, null, [
1292
- (a(!0), o(p, null, I(t.coordinates, (u, x) => (a(), o("text", {
1310
+ e.value.showDataLabels ? (l(), o("g", Ll, [
1311
+ (l(!0), o(p, null, I(d.value.dataset, (t, i) => (l(), o(p, null, [
1312
+ (l(!0), o(p, null, I(t.coordinates, (u, x) => (l(), o("text", {
1293
1313
  "text-anchor": "middle",
1294
1314
  "font-size": e.value.dataLabelFontSize,
1295
1315
  fill: t.color,
1296
1316
  x: u.x,
1297
- y: r(ae)(u.y) - e.value.dataLabelFontSize / 2,
1317
+ y: r(le)(u.y) - e.value.dataLabelFontSize / 2,
1298
1318
  class: "quick-animation",
1299
- style: O({ transition: r(D) ? void 0 : "all 0.3s ease-in-out" })
1300
- }, M(r(te)(
1319
+ style: M({ transition: r(D) ? void 0 : "all 0.3s ease-in-out" })
1320
+ }, F(r(ae)(
1301
1321
  e.value.formatter,
1302
- r(ae)(u.value),
1322
+ r(le)(u.value),
1303
1323
  r(W)({
1304
1324
  p: e.value.valuePrefix,
1305
- v: r(ae)(u.value),
1325
+ v: r(le)(u.value),
1306
1326
  s: e.value.valueSuffix,
1307
1327
  r: e.value.dataLabelRoundingValue
1308
1328
  }),
1309
1329
  { datapoint: u, seriesIndex: x }
1310
- )), 13, Ll))), 256))
1330
+ )), 13, _l))), 256))
1311
1331
  ], 64))), 256))
1312
- ])) : g("", !0),
1313
- Ye.value ? (a(), o("g", _l, [
1314
- (a(!0), o(p, null, I(d.value.extremes.maxSeries, (t, i) => (a(), o("rect", {
1332
+ ])) : m("", !0),
1333
+ Ye.value ? (l(), o("g", zl, [
1334
+ (l(!0), o(p, null, I(d.value.extremes.maxSeries, (t, i) => (l(), o("rect", {
1315
1335
  x: d.value.drawingArea.left + i * d.value.slotSize,
1316
1336
  y: d.value.drawingArea.top,
1317
1337
  height: d.value.drawingArea.height <= 0 ? 1e-5 : d.value.drawingArea.height,
1318
1338
  width: d.value.slotSize <= 0 ? 1e-5 : d.value.slotSize,
1319
1339
  fill: [Z.value, Q.value].includes(i) ? e.value.xyHighlighterColor : "transparent",
1320
- style: O(`opacity:${e.value.xyHighlighterOpacity}`),
1340
+ style: M(`opacity:${e.value.xyHighlighterOpacity}`),
1321
1341
  onMouseenter: (u) => d.value.useTooltip(i),
1322
1342
  onMouseleave: (u) => d.value.killTooltip(i),
1323
1343
  onClick: (u) => d.value.selectDatapoint(i)
1324
- }, null, 44, zl))), 256))
1325
- ])) : g("", !0)
1326
- ], 64)) : g("", !0),
1327
- $.value === z.BAR ? (a(), o(p, { key: 5 }, [
1328
- e.value.xyShowGrid ? (a(), o("g", Cl, [
1329
- (a(!0), o(p, null, I(s.value.yLabels, (t) => (a(), o(p, null, [
1330
- t.y <= s.value.drawingArea.bottom ? (a(), o("line", {
1344
+ }, null, 44, Cl))), 256))
1345
+ ])) : m("", !0)
1346
+ ], 64)) : m("", !0),
1347
+ C.value === L.BAR ? (l(), o(p, { key: 5 }, [
1348
+ e.value.xyShowGrid ? (l(), o("g", $l, [
1349
+ (l(!0), o(p, null, I(s.value.yLabels, (t) => (l(), o(p, null, [
1350
+ t.y <= s.value.drawingArea.bottom ? (l(), o("line", {
1331
1351
  key: 0,
1332
1352
  x1: s.value.drawingArea.left,
1333
1353
  x2: s.value.drawingArea.right,
@@ -1336,9 +1356,9 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
1336
1356
  stroke: e.value.xyGridStroke,
1337
1357
  "stroke-width": e.value.xyGridStrokeWidth,
1338
1358
  "stroke-linecap": "round"
1339
- }, null, 8, $l)) : g("", !0)
1359
+ }, null, 8, Il)) : m("", !0)
1340
1360
  ], 64))), 256)),
1341
- (a(!0), o(p, null, I(s.value.extremes.maxSeries + 1, (t, i) => (a(), o("line", {
1361
+ (l(!0), o(p, null, I(s.value.extremes.maxSeries + 1, (t, i) => (l(), o("line", {
1342
1362
  x1: s.value.drawingArea.left + s.value.slotSize * i,
1343
1363
  x2: s.value.drawingArea.left + s.value.slotSize * i,
1344
1364
  y1: s.value.drawingArea.top,
@@ -1346,10 +1366,10 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
1346
1366
  stroke: e.value.xyGridStroke,
1347
1367
  "stroke-width": e.value.xyGridStrokeWidth,
1348
1368
  "stroke-linecap": "round"
1349
- }, null, 8, Il))), 256))
1350
- ])) : g("", !0),
1351
- e.value.xyShowAxis ? (a(), o("g", El, [
1352
- L("line", {
1369
+ }, null, 8, El))), 256))
1370
+ ])) : m("", !0),
1371
+ e.value.xyShowAxis ? (l(), o("g", Tl, [
1372
+ _("line", {
1353
1373
  x1: s.value.drawingArea.left,
1354
1374
  x2: s.value.drawingArea.left,
1355
1375
  y1: s.value.drawingArea.top,
@@ -1357,8 +1377,8 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
1357
1377
  stroke: e.value.xyAxisStroke,
1358
1378
  "stroke-width": e.value.xyAxisStrokeWidth,
1359
1379
  "stroke-linecap": "round"
1360
- }, null, 8, Tl),
1361
- L("line", {
1380
+ }, null, 8, Pl),
1381
+ _("line", {
1362
1382
  x1: s.value.drawingArea.left,
1363
1383
  x2: s.value.drawingArea.right,
1364
1384
  y1: isNaN(s.value.absoluteZero) ? s.value.drawingArea.bottom : s.value.absoluteZero,
@@ -1366,16 +1386,16 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
1366
1386
  stroke: e.value.xyAxisStroke,
1367
1387
  "stroke-width": e.value.xyAxisStrokeWidth,
1368
1388
  "stroke-linecap": "round"
1369
- }, null, 8, Pl)
1370
- ])) : g("", !0),
1371
- e.value.xyShowScale ? (a(), o("g", {
1389
+ }, null, 8, Ml)
1390
+ ])) : m("", !0),
1391
+ e.value.xyShowScale ? (l(), o("g", {
1372
1392
  key: 2,
1373
1393
  class: "yLabels",
1374
1394
  ref_key: "scaleLabels",
1375
- ref: Oe
1395
+ ref: Me
1376
1396
  }, [
1377
- (a(!0), o(p, null, I(s.value.yLabels, (t, i) => (a(), o(p, null, [
1378
- t.y <= s.value.drawingArea.bottom ? (a(), o("line", {
1397
+ (l(!0), o(p, null, I(s.value.yLabels, (t, i) => (l(), o(p, null, [
1398
+ t.y <= s.value.drawingArea.bottom ? (l(), o("line", {
1379
1399
  key: 0,
1380
1400
  x1: t.x + 4,
1381
1401
  x2: s.value.drawingArea.left,
@@ -1384,15 +1404,15 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
1384
1404
  stroke: e.value.xyAxisStroke,
1385
1405
  "stroke-width": e.value.xyAxisStrokeWidth,
1386
1406
  "stroke-linecap": "round"
1387
- }, null, 8, Ol)) : g("", !0),
1388
- t.y <= s.value.drawingArea.bottom ? (a(), o("text", {
1407
+ }, null, 8, Ol)) : m("", !0),
1408
+ t.y <= s.value.drawingArea.bottom ? (l(), o("text", {
1389
1409
  key: 1,
1390
1410
  x: t.x,
1391
1411
  y: t.y + e.value.xyLabelsYFontSize / 3,
1392
1412
  "text-anchor": "end",
1393
1413
  "font-size": e.value.xyLabelsYFontSize,
1394
1414
  fill: e.value.color
1395
- }, M(r(te)(
1415
+ }, F(r(ae)(
1396
1416
  e.value.formatter,
1397
1417
  t.value,
1398
1418
  r(W)({
@@ -1402,11 +1422,11 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
1402
1422
  r: e.value.dataLabelRoundingValue
1403
1423
  }),
1404
1424
  { datapoint: t, seriesIndex: i }
1405
- )), 9, Rl)) : g("", !0)
1425
+ )), 9, Rl)) : m("", !0)
1406
1426
  ], 64))), 256))
1407
- ], 512)) : g("", !0),
1408
- e.value.xyShowScale && e.value.xyPeriods.length ? (a(), o("g", Fl, [
1409
- (a(!0), o(p, null, I(e.value.xyPeriods.slice(m.value.start, m.value.end), (t, i) => (a(), o("line", {
1427
+ ], 512)) : m("", !0),
1428
+ e.value.xyShowScale && e.value.xyPeriods.length ? (l(), o("g", Fl, [
1429
+ (l(!0), o(p, null, I(e.value.xyPeriods.slice(g.value.start, g.value.end), (t, i) => (l(), o("line", {
1410
1430
  x1: s.value.drawingArea.left + s.value.slotSize * (i + 1) - s.value.slotSize / 2,
1411
1431
  x2: s.value.drawingArea.left + s.value.slotSize * (i + 1) - s.value.slotSize / 2,
1412
1432
  y1: s.value.drawingArea.bottom,
@@ -1414,168 +1434,168 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
1414
1434
  stroke: e.value.xyAxisStroke,
1415
1435
  "stroke-width": e.value.xyAxisStrokeWidth,
1416
1436
  "stroke-linecap": "round"
1417
- }, null, 8, Ml))), 256)),
1418
- L("g", {
1437
+ }, null, 8, Nl))), 256)),
1438
+ _("g", {
1419
1439
  ref_key: "timeLabelsEls",
1420
1440
  ref: J
1421
1441
  }, [
1422
- (a(!0), o(p, null, I(Y.value.map((t) => t.text), (t, i) => (a(), o(p, null, [
1423
- !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && i % Math.floor((m.value.end - m.value.start) / xe.value) === 0 || m.value.end - m.value.start <= xe.value ? (a(), o("g", Nl, [
1442
+ (l(!0), o(p, null, I(Y.value.map((t) => t.text), (t, i) => (l(), o(p, null, [
1443
+ !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && i % Math.floor((g.value.end - g.value.start) / xe.value) === 0 || g.value.end - g.value.start <= xe.value ? (l(), o("g", Bl, [
1424
1444
  String(t).includes(`
1425
- `) ? (a(), o("text", {
1445
+ `) ? (l(), o("text", {
1426
1446
  key: 1,
1427
1447
  class: "vue-data-ui-time-label",
1428
1448
  "font-size": e.value.xyLabelsXFontSize,
1429
1449
  "text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1430
1450
  fill: e.value.color,
1431
1451
  transform: `translate(${s.value.drawingArea.left + s.value.slotSize * (i + 1) - s.value.slotSize / 2}, ${s.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`,
1432
- innerHTML: r(Ot)({
1452
+ innerHTML: r(Mt)({
1433
1453
  content: String(t),
1434
1454
  fontSize: e.value.xyLabelsXFontSize,
1435
1455
  fill: e.value.color,
1436
1456
  x: 0,
1437
1457
  y: 0
1438
1458
  })
1439
- }, null, 8, Dl)) : (a(), o("text", {
1459
+ }, null, 8, Ul)) : (l(), o("text", {
1440
1460
  key: 0,
1441
1461
  class: "vue-data-ui-time-label",
1442
1462
  "font-size": e.value.xyLabelsXFontSize,
1443
1463
  "text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1444
1464
  fill: e.value.color,
1445
1465
  transform: `translate(${s.value.drawingArea.left + s.value.slotSize * (i + 1) - s.value.slotSize / 2}, ${s.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`
1446
- }, M(t), 9, Bl))
1447
- ])) : g("", !0)
1466
+ }, F(t), 9, Dl))
1467
+ ])) : m("", !0)
1448
1468
  ], 64))), 256))
1449
1469
  ], 512)
1450
- ])) : g("", !0),
1451
- L("g", Ul, [
1452
- (a(!0), o(p, null, I(s.value.dataset, (t, i) => (a(), o(p, null, [
1453
- (a(!0), o(p, null, I(t.coordinates, (u, x) => (a(), o("rect", {
1470
+ ])) : m("", !0),
1471
+ _("g", Vl, [
1472
+ (l(!0), o(p, null, I(s.value.dataset, (t, i) => (l(), o(p, null, [
1473
+ (l(!0), o(p, null, I(t.coordinates, (u, x) => (l(), o("rect", {
1454
1474
  x: u.x,
1455
1475
  width: u.width <= 0 ? 1e-5 : u.width,
1456
- height: r(ae)(u.height <= 0 ? 1e-5 : u.height),
1457
- y: r(ae)(u.y),
1476
+ height: r(le)(u.height <= 0 ? 1e-5 : u.height),
1477
+ y: r(le)(u.y),
1458
1478
  fill: t.color,
1459
1479
  stroke: e.value.backgroundColor,
1460
1480
  "stroke-width": e.value.barStrokeWidth,
1461
1481
  "stroke-linecap": "round",
1462
1482
  class: ce({ "vue-data-ui-bar-animated": e.value.barAnimated && u.value < 0 && !r(D) })
1463
1483
  }, [
1464
- e.value.barAnimated && u.value > 0 && !r(Me) && !r(Ne) ? (a(), o("animate", {
1484
+ e.value.barAnimated && u.value > 0 && !r(Fe) && !r(Ne) ? (l(), o("animate", {
1465
1485
  key: 0,
1466
1486
  attributeName: "height",
1467
1487
  from: 0,
1468
1488
  to: u.height,
1469
1489
  dur: "0.5s"
1470
- }, null, 8, Hl)) : g("", !0),
1471
- e.value.barAnimated && u.value > 0 && !r(Me) && !r(Ne) ? (a(), o("animate", {
1490
+ }, null, 8, ql)) : m("", !0),
1491
+ e.value.barAnimated && u.value > 0 && !r(Fe) && !r(Ne) ? (l(), o("animate", {
1472
1492
  key: 1,
1473
1493
  attributeName: "y",
1474
1494
  from: s.value.absoluteZero,
1475
1495
  to: s.value.absoluteZero - u.height,
1476
1496
  dur: "0.5s"
1477
- }, null, 8, ql)) : g("", !0)
1478
- ], 10, Vl))), 256))
1497
+ }, null, 8, Wl)) : m("", !0)
1498
+ ], 10, Hl))), 256))
1479
1499
  ], 64))), 256))
1480
1500
  ]),
1481
- e.value.showDataLabels ? (a(), o("g", Wl, [
1482
- (a(!0), o(p, null, I(s.value.dataset, (t, i) => (a(), o(p, null, [
1483
- (a(!0), o(p, null, I(t.coordinates, (u, x) => (a(), o("text", {
1501
+ e.value.showDataLabels ? (l(), o("g", Xl, [
1502
+ (l(!0), o(p, null, I(s.value.dataset, (t, i) => (l(), o(p, null, [
1503
+ (l(!0), o(p, null, I(t.coordinates, (u, x) => (l(), o("text", {
1484
1504
  x: u.x + u.width / 2,
1485
- y: r(ae)(u.y) - e.value.dataLabelFontSize / 2,
1505
+ y: r(le)(u.y) - e.value.dataLabelFontSize / 2,
1486
1506
  "text-anchor": "middle",
1487
1507
  "font-size": e.value.dataLabelFontSize,
1488
1508
  fill: t.color,
1489
1509
  class: "quick-animation"
1490
- }, M(r(te)(
1510
+ }, F(r(ae)(
1491
1511
  e.value.formatter,
1492
- r(ae)(u.value),
1512
+ r(le)(u.value),
1493
1513
  r(W)({
1494
1514
  p: e.value.valuePrefix,
1495
- v: r(ae)(u.value),
1515
+ v: r(le)(u.value),
1496
1516
  s: e.value.valueSuffix,
1497
1517
  r: e.value.dataLabelRoundingValue
1498
1518
  }),
1499
1519
  { datapoint: u, seriesIndex: x }
1500
- )), 9, Xl))), 256))
1520
+ )), 9, jl))), 256))
1501
1521
  ], 64))), 256))
1502
- ])) : g("", !0),
1503
- Ye.value ? (a(), o("g", jl, [
1504
- (a(!0), o(p, null, I(s.value.extremes.maxSeries, (t, i) => (a(), o("rect", {
1522
+ ])) : m("", !0),
1523
+ Ye.value ? (l(), o("g", Gl, [
1524
+ (l(!0), o(p, null, I(s.value.extremes.maxSeries, (t, i) => (l(), o("rect", {
1505
1525
  x: s.value.drawingArea.left + i * s.value.slotSize,
1506
1526
  y: s.value.drawingArea.top,
1507
1527
  height: s.value.drawingArea.height <= 0 ? 1e-5 : s.value.drawingArea.height,
1508
1528
  width: s.value.slotSize <= 0 ? 1e-5 : s.value.slotSize,
1509
1529
  fill: [Z.value, Q.value].includes(i) ? e.value.xyHighlighterColor : "transparent",
1510
- style: O(`opacity:${e.value.xyHighlighterOpacity}`),
1530
+ style: M(`opacity:${e.value.xyHighlighterOpacity}`),
1511
1531
  onMouseenter: (u) => s.value.useTooltip(i),
1512
1532
  onMouseleave: (u) => s.value.killTooltip(i),
1513
1533
  onClick: (u) => s.value.selectDatapoint(i)
1514
- }, null, 44, Gl))), 256))
1515
- ])) : g("", !0)
1516
- ], 64)) : g("", !0),
1517
- [z.LINE, z.BAR].includes($.value) ? (a(), o("g", Yl, [
1518
- e.value.xAxisLabel && $.value === z.LINE ? (a(), o("g", {
1534
+ }, null, 44, Yl))), 256))
1535
+ ])) : m("", !0)
1536
+ ], 64)) : m("", !0),
1537
+ [L.LINE, L.BAR].includes(C.value) ? (l(), o("g", Zl, [
1538
+ e.value.xAxisLabel && C.value === L.LINE ? (l(), o("g", {
1519
1539
  key: 0,
1520
1540
  ref_key: "xAxisLabel",
1521
1541
  ref: dt
1522
1542
  }, [
1523
- L("text", {
1543
+ _("text", {
1524
1544
  "font-size": e.value.axisLabelsFontSize,
1525
1545
  fill: e.value.color,
1526
1546
  "text-anchor": "middle",
1527
1547
  x: d.value.drawingArea.left + d.value.drawingArea.width / 2,
1528
1548
  y: b.value.height - e.value.axisLabelsFontSize / 3
1529
- }, M(e.value.xAxisLabel), 9, Zl)
1530
- ], 512)) : g("", !0),
1531
- e.value.xAxisLabel && $.value === z.BAR ? (a(), o("g", {
1549
+ }, F(e.value.xAxisLabel), 9, Jl)
1550
+ ], 512)) : m("", !0),
1551
+ e.value.xAxisLabel && C.value === L.BAR ? (l(), o("g", {
1532
1552
  key: 1,
1533
1553
  ref_key: "xAxisLabel",
1534
1554
  ref: dt
1535
1555
  }, [
1536
- L("text", {
1556
+ _("text", {
1537
1557
  "font-size": e.value.axisLabelsFontSize,
1538
1558
  fill: e.value.color,
1539
1559
  "text-anchor": "middle",
1540
1560
  x: s.value.drawingArea.left + s.value.drawingArea.width / 2,
1541
1561
  y: b.value.height - e.value.axisLabelsFontSize / 3
1542
- }, M(e.value.xAxisLabel), 9, Jl)
1543
- ], 512)) : g("", !0),
1544
- e.value.yAxisLabel && $.value === z.LINE ? (a(), o("g", {
1562
+ }, F(e.value.xAxisLabel), 9, Ql)
1563
+ ], 512)) : m("", !0),
1564
+ e.value.yAxisLabel && C.value === L.LINE ? (l(), o("g", {
1545
1565
  key: 2,
1546
1566
  ref_key: "yAxisLabel",
1547
1567
  ref: ct
1548
1568
  }, [
1549
- L("text", {
1569
+ _("text", {
1550
1570
  "font-size": e.value.axisLabelsFontSize,
1551
1571
  fill: e.value.color,
1552
1572
  transform: `translate(${e.value.axisLabelsFontSize}, ${d.value.drawingArea.top + d.value.drawingArea.height / 2}) rotate(-90)`,
1553
1573
  "text-anchor": "middle"
1554
- }, M(e.value.yAxisLabel), 9, Ql)
1555
- ], 512)) : g("", !0),
1556
- e.value.yAxisLabel && $.value === z.BAR ? (a(), o("g", {
1574
+ }, F(e.value.yAxisLabel), 9, Kl)
1575
+ ], 512)) : m("", !0),
1576
+ e.value.yAxisLabel && C.value === L.BAR ? (l(), o("g", {
1557
1577
  key: 3,
1558
1578
  ref_key: "yAxisLabel",
1559
1579
  ref: ct
1560
1580
  }, [
1561
- L("text", {
1581
+ _("text", {
1562
1582
  "font-size": e.value.axisLabelsFontSize,
1563
1583
  fill: e.value.color,
1564
1584
  transform: `translate(${e.value.axisLabelsFontSize}, ${s.value.drawingArea.top + s.value.drawingArea.height / 2}) rotate(-90)`,
1565
1585
  "text-anchor": "middle"
1566
- }, M(e.value.yAxisLabel), 9, Kl)
1567
- ], 512)) : g("", !0)
1568
- ])) : g("", !0)
1569
- ], 12, Ma)) : g("", !0),
1570
- l.$slots.watermark ? (a(), o("div", eo, [
1571
- U(l.$slots, "watermark", he(fe({ isPrinting: r(Me) || r(Ne) })), void 0, !0)
1572
- ])) : g("", !0),
1573
- [z.BAR, z.LINE].includes($.value) && e.value.zoomXy && k.value.maxSeriesLength > 1 ? (a(), o("div", {
1586
+ }, F(e.value.yAxisLabel), 9, eo)
1587
+ ], 512)) : m("", !0)
1588
+ ])) : m("", !0)
1589
+ ], 12, Na)) : m("", !0),
1590
+ a.$slots.watermark ? (l(), o("div", to, [
1591
+ U(a.$slots, "watermark", he(fe({ isPrinting: r(Fe) || r(Ne) })), void 0, !0)
1592
+ ])) : m("", !0),
1593
+ [L.BAR, L.LINE].includes(C.value) && e.value.zoomXy && k.value.maxSeriesLength > 1 ? (l(), o("div", {
1574
1594
  key: `slicer_${Pe.value}`,
1575
1595
  ref_key: "quickChartSlicer",
1576
1596
  ref: it
1577
1597
  }, [
1578
- (a(), Ie(La, {
1598
+ (l(), Ie(_a, {
1579
1599
  ref_key: "slicerComponent",
1580
1600
  ref: Lt,
1581
1601
  key: `slicer_${Pe.value}`,
@@ -1583,15 +1603,15 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
1583
1603
  borderColor: e.value.backgroundColor,
1584
1604
  fontSize: e.value.zoomFontSize,
1585
1605
  useResetSlot: e.value.zoomUseResetSlot,
1586
- labelLeft: e.value.xyPeriods[m.value.start] ? Y.value[0].text : "",
1587
- labelRight: e.value.xyPeriods[m.value.end - 1] ? Y.value.at(-1).text : "",
1606
+ labelLeft: e.value.xyPeriods[g.value.start] ? Y.value[0].text : "",
1607
+ labelRight: e.value.xyPeriods[g.value.end - 1] ? Y.value.at(-1).text : "",
1588
1608
  textColor: e.value.color,
1589
1609
  inputColor: e.value.zoomColor,
1590
1610
  selectColor: e.value.zoomHighlightColor,
1591
1611
  max: k.value.maxSeriesLength,
1592
1612
  min: 0,
1593
- valueStart: m.value.start,
1594
- valueEnd: m.value.end,
1613
+ valueStart: g.value.start,
1614
+ valueEnd: g.value.end,
1595
1615
  smoothMinimap: e.value.zoomMinimap.smooth,
1596
1616
  minimapSelectedColor: e.value.zoomMinimap.selectedColor,
1597
1617
  minimapSelectedColorOpacity: e.value.zoomMinimap.selectedColorOpacity,
@@ -1601,59 +1621,63 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
1601
1621
  minimapIndicatorColor: e.value.zoomMinimap.indicatorColor,
1602
1622
  verticalHandles: e.value.zoomMinimap.verticalHandles,
1603
1623
  minimapSelectedIndex: Q.value,
1604
- start: m.value.start,
1605
- "onUpdate:start": c[0] || (c[0] = (t) => m.value.start = t),
1606
- end: m.value.end,
1607
- "onUpdate:end": c[1] || (c[1] = (t) => m.value.end = t),
1624
+ start: g.value.start,
1625
+ "onUpdate:start": c[0] || (c[0] = (t) => g.value.start = t),
1626
+ end: g.value.end,
1627
+ "onUpdate:end": c[1] || (c[1] = (t) => g.value.end = t),
1608
1628
  refreshStartPoint: e.value.zoomStartIndex !== null ? e.value.zoomStartIndex : 0,
1609
1629
  refreshEndPoint: e.value.zoomEndIndex !== null ? e.value.zoomEndIndex + 1 : k.value.maxSeriesLength,
1610
1630
  enableRangeHandles: e.value.zoomEnableRangeHandles,
1611
1631
  enableSelectionDrag: e.value.zoomEnableSelectionDrag,
1632
+ minimapCompact: e.value.zoomMinimap.compact,
1633
+ minimapMerged: e.value.zoomMinimap.merged,
1634
+ allMinimaps: Kt.value,
1635
+ minimapFrameColor: e.value.zoomMinimap.frameColor,
1612
1636
  onReset: Yt,
1613
1637
  onTrapMouse: Gt
1614
1638
  }, {
1615
- "reset-action": ee(({ reset: t }) => [
1616
- U(l.$slots, "reset-action", he(fe({ reset: t })), void 0, !0)
1639
+ "reset-action": te(({ reset: t }) => [
1640
+ U(a.$slots, "reset-action", he(fe({ reset: t })), void 0, !0)
1617
1641
  ]),
1618
1642
  _: 3
1619
- }, 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"]))
1620
- ])) : g("", !0),
1621
- L("div", {
1643
+ }, 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", "minimapCompact", "minimapMerged", "allMinimaps", "minimapFrameColor"]))
1644
+ ])) : m("", !0),
1645
+ _("div", {
1622
1646
  id: `legend-bottom-${X.value}`
1623
- }, null, 8, to),
1624
- vt.value ? (a(), Ie(ia, {
1647
+ }, null, 8, ao),
1648
+ vt.value ? (l(), Ie(ua, {
1625
1649
  key: 7,
1626
1650
  to: e.value.legendPosition === "top" ? `#legend-top-${X.value}` : `#legend-bottom-${X.value}`
1627
1651
  }, [
1628
- e.value.showLegend ? (a(), o("div", {
1652
+ e.value.showLegend ? (l(), o("div", {
1629
1653
  key: 0,
1630
1654
  ref_key: "quickChartLegend",
1631
1655
  ref: nt,
1632
1656
  class: "vue-ui-quick-chart-legend",
1633
- style: O(`background:transparent;color:${e.value.color}`)
1657
+ style: M(`background:transparent;color:${e.value.color}`)
1634
1658
  }, [
1635
- $.value === z.DONUT ? (a(!0), o(p, { key: 0 }, I(T.value.legend, (t, i) => (a(), o("div", {
1659
+ C.value === L.DONUT ? (l(!0), o(p, { key: 0 }, I(T.value.legend, (t, i) => (l(), o("div", {
1636
1660
  class: "vue-ui-quick-chart-legend-item",
1637
1661
  onClick: (u) => {
1638
- jt(t, T.value.dataset), ge("selectLegend", t);
1662
+ jt(t, T.value.dataset), me("selectLegend", t);
1639
1663
  },
1640
- style: O(`cursor: ${T.value.legend.length > 1 ? "pointer" : "default"}; opacity:${A.value.includes(t.id) ? "0.5" : "1"}`)
1664
+ style: M(`cursor: ${T.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1641
1665
  }, [
1642
- e.value.useCustomLegend ? U(l.$slots, "legend", et({
1666
+ e.value.useCustomLegend ? U(a.$slots, "legend", et({
1643
1667
  key: 0,
1644
1668
  ref_for: !0
1645
- }, { legend: t }), void 0, !0) : (a(), o(p, { key: 1 }, [
1669
+ }, { legend: t }), void 0, !0) : (l(), o(p, { key: 1 }, [
1646
1670
  ke(r(B), {
1647
1671
  name: e.value.legendIcon,
1648
1672
  stroke: t.color,
1649
1673
  size: e.value.legendIconSize
1650
1674
  }, null, 8, ["name", "stroke", "size"]),
1651
- L("span", {
1652
- style: O(`font-size:${e.value.legendFontSize}px`)
1653
- }, M(t.name), 5),
1654
- L("span", {
1655
- style: O(`font-size:${e.value.legendFontSize}px;font-variant-numeric:tabular-nums`)
1656
- }, M(A.value.includes(t.id) ? "-" : r(te)(
1675
+ _("span", {
1676
+ style: M(`font-size:${e.value.legendFontSize}px`)
1677
+ }, F(t.name), 5),
1678
+ _("span", {
1679
+ style: M(`font-size:${e.value.legendFontSize}px;font-variant-numeric:tabular-nums`)
1680
+ }, F(w.value.includes(t.id) ? "-" : r(ae)(
1657
1681
  e.value.formatter,
1658
1682
  t.absoluteValue,
1659
1683
  r(W)({
@@ -1664,76 +1688,76 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
1664
1688
  }),
1665
1689
  { datapoint: t, seriesIndex: i }
1666
1690
  )), 5),
1667
- A.value.includes(t.id) ? (a(), o("span", {
1691
+ w.value.includes(t.id) ? (l(), o("span", {
1668
1692
  key: 0,
1669
- style: O(`font-size:${e.value.legendFontSize}px`)
1670
- }, " ( - % ) ", 4)) : Be.value ? (a(), o("span", {
1693
+ style: M(`font-size:${e.value.legendFontSize}px`)
1694
+ }, " ( - % ) ", 4)) : Be.value ? (l(), o("span", {
1671
1695
  key: 1,
1672
- style: O(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1673
- }, " ( - % ) ", 4)) : (a(), o("span", {
1696
+ style: M(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1697
+ }, " ( - % ) ", 4)) : (l(), o("span", {
1674
1698
  key: 2,
1675
- style: O(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1676
- }, " (" + M(r(W)({
1699
+ style: M(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1700
+ }, " (" + F(r(W)({
1677
1701
  v: t.value / T.value.total * 100,
1678
1702
  s: "%",
1679
1703
  r: e.value.dataLabelRoundingPercentage
1680
1704
  })) + ") ", 5))
1681
1705
  ], 64))
1682
- ], 12, ao))), 256)) : g("", !0),
1683
- $.value === z.LINE ? (a(!0), o(p, { key: 1 }, I(d.value.legend, (t, i) => (a(), o("div", {
1706
+ ], 12, lo))), 256)) : m("", !0),
1707
+ C.value === L.LINE ? (l(!0), o(p, { key: 1 }, I(d.value.legend, (t, i) => (l(), o("div", {
1684
1708
  class: "vue-ui-quick-chart-legend-item",
1685
1709
  onClick: (u) => {
1686
- bt(t.id, d.value.legend.length - 1), ge("selectLegend", t);
1710
+ bt(t.id, d.value.legend.length - 1), me("selectLegend", t);
1687
1711
  },
1688
- style: O(`cursor: ${d.value.legend.length > 1 ? "pointer" : "default"}; opacity:${A.value.includes(t.id) ? "0.5" : "1"}`)
1712
+ style: M(`cursor: ${d.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1689
1713
  }, [
1690
- e.value.useCustomLegend ? U(l.$slots, "legend", et({
1714
+ e.value.useCustomLegend ? U(a.$slots, "legend", et({
1691
1715
  key: 0,
1692
1716
  ref_for: !0
1693
- }, { legend: t }), void 0, !0) : (a(), o(p, { key: 1 }, [
1717
+ }, { legend: t }), void 0, !0) : (l(), o(p, { key: 1 }, [
1694
1718
  ke(r(B), {
1695
1719
  name: e.value.legendIcon,
1696
1720
  stroke: t.color,
1697
1721
  size: e.value.legendIconSize
1698
1722
  }, null, 8, ["name", "stroke", "size"]),
1699
- L("span", {
1700
- style: O(`font-size:${e.value.legendFontSize}px`)
1701
- }, M(t.name), 5)
1723
+ _("span", {
1724
+ style: M(`font-size:${e.value.legendFontSize}px`)
1725
+ }, F(t.name), 5)
1702
1726
  ], 64))
1703
- ], 12, lo))), 256)) : g("", !0),
1704
- $.value === z.BAR ? (a(!0), o(p, { key: 2 }, I(s.value.legend, (t, i) => (a(), o("div", {
1727
+ ], 12, oo))), 256)) : m("", !0),
1728
+ C.value === L.BAR ? (l(!0), o(p, { key: 2 }, I(s.value.legend, (t, i) => (l(), o("div", {
1705
1729
  class: "vue-ui-quick-chart-legend-item",
1706
1730
  onClick: (u) => {
1707
- bt(t.id, s.value.legend.length - 1), ge("selectLegend", t);
1731
+ bt(t.id, s.value.legend.length - 1), me("selectLegend", t);
1708
1732
  },
1709
- style: O(`cursor: ${s.value.legend.length > 1 ? "pointer" : "default"}; opacity:${A.value.includes(t.id) ? "0.5" : "1"}`)
1733
+ style: M(`cursor: ${s.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1710
1734
  }, [
1711
- e.value.useCustomLegend ? U(l.$slots, "legend", et({
1735
+ e.value.useCustomLegend ? U(a.$slots, "legend", et({
1712
1736
  key: 0,
1713
1737
  ref_for: !0
1714
- }, { legend: t }), void 0, !0) : (a(), o(p, { key: 1 }, [
1738
+ }, { legend: t }), void 0, !0) : (l(), o(p, { key: 1 }, [
1715
1739
  ke(r(B), {
1716
1740
  name: e.value.legendIcon,
1717
1741
  stroke: t.color,
1718
1742
  size: e.value.legendIconSize
1719
1743
  }, null, 8, ["name", "stroke", "size"]),
1720
- L("span", {
1721
- style: O(`font-size:${e.value.legendFontSize}px`)
1722
- }, M(t.name), 5)
1744
+ _("span", {
1745
+ style: M(`font-size:${e.value.legendFontSize}px`)
1746
+ }, F(t.name), 5)
1723
1747
  ], 64))
1724
- ], 12, oo))), 256)) : g("", !0)
1725
- ], 4)) : g("", !0)
1726
- ], 8, ["to"])) : g("", !0),
1727
- l.$slots.source ? (a(), o("div", {
1748
+ ], 12, no))), 256)) : m("", !0)
1749
+ ], 4)) : m("", !0)
1750
+ ], 8, ["to"])) : m("", !0),
1751
+ a.$slots.source ? (l(), o("div", {
1728
1752
  key: 8,
1729
1753
  ref_key: "source",
1730
1754
  ref: ut,
1731
1755
  dir: "auto"
1732
1756
  }, [
1733
- U(l.$slots, "source", {}, void 0, !0)
1734
- ], 512)) : g("", !0),
1757
+ U(a.$slots, "source", {}, void 0, !0)
1758
+ ], 512)) : m("", !0),
1735
1759
  ke(r(be), {
1736
- show: me.value.showTooltip && re.value,
1760
+ show: ge.value.showTooltip && re.value,
1737
1761
  backgroundColor: e.value.backgroundColor,
1738
1762
  color: e.value.color,
1739
1763
  borderRadius: e.value.tooltipBorderRadius,
@@ -1743,7 +1767,7 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
1743
1767
  backgroundOpacity: e.value.tooltipBackgroundOpacity,
1744
1768
  position: e.value.tooltipPosition,
1745
1769
  offsetY: e.value.tooltipOffsetY,
1746
- parent: R.value,
1770
+ parent: O.value,
1747
1771
  content: se.value,
1748
1772
  isFullscreen: Ue.value,
1749
1773
  isCustom: r(qe)(e.value.tooltipCustomFormat),
@@ -1752,24 +1776,24 @@ const Ra = ["id"], Fa = ["id"], Ma = ["xmlns", "viewBox"], Na = ["x", "y", "widt
1752
1776
  smoothSnapThreshold: e.value.tooltipSmoothSnapThreshold,
1753
1777
  backdropFilter: e.value.tooltipBackdropFilter
1754
1778
  }, {
1755
- "tooltip-before": ee(() => [
1756
- U(l.$slots, "tooltip-before", he(fe({ ...Se.value })), void 0, !0)
1779
+ "tooltip-before": te(() => [
1780
+ U(a.$slots, "tooltip-before", he(fe({ ...Se.value })), void 0, !0)
1757
1781
  ]),
1758
- "tooltip-after": ee(() => [
1759
- U(l.$slots, "tooltip-after", he(fe({ ...Se.value })), void 0, !0)
1782
+ "tooltip-after": te(() => [
1783
+ U(a.$slots, "tooltip-after", he(fe({ ...Se.value })), void 0, !0)
1760
1784
  ]),
1761
1785
  _: 3
1762
1786
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "smoothForce", "smoothSnapThreshold", "backdropFilter"]),
1763
- r(D) ? (a(), Ie(za, { key: 9 })) : g("", !0)
1764
- ], 46, Ra)) : (a(), o("div", no, [
1787
+ r(D) ? (l(), Ie(Ca, { key: 9 })) : m("", !0)
1788
+ ], 46, Ra)) : (l(), o("div", io, [
1765
1789
  ke(r(B), {
1766
1790
  name: "circleCancel",
1767
1791
  stroke: "red"
1768
1792
  }),
1769
- c[5] || (c[5] = L("span", null, "Dataset is not processable", -1))
1793
+ c[5] || (c[5] = _("span", null, "Dataset is not processable", -1))
1770
1794
  ]));
1771
1795
  }
1772
- }, ko = /* @__PURE__ */ Ca(io, [["__scopeId", "data-v-46ff8501"]]);
1796
+ }, bo = /* @__PURE__ */ $a(uo, [["__scopeId", "data-v-b274f242"]]);
1773
1797
  export {
1774
- ko as default
1798
+ bo as default
1775
1799
  };