vue-data-ui 3.1.2 → 3.1.4

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 (93) hide show
  1. package/dist/{Arrow-BotYLY2I.js → Arrow-COJRk3pc.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Dkpr-qUQ.js → BaseDraggableDialog-BdAp3qr9.js} +2 -2
  3. package/dist/{BaseIcon-BLg8FaQ2.js → BaseIcon-B5nQNkmd.js} +1 -1
  4. package/dist/{ColorPicker-C2sMVpbA.js → ColorPicker-CPqHwp1V.js} +2 -2
  5. package/dist/{DataTable-BRN1-1ob.js → DataTable-CzO3oHys.js} +2 -2
  6. package/dist/Legend-BQqnf4BN.js +85 -0
  7. package/dist/{NonSvgPenAndPaper-Dp53d2re.js → NonSvgPenAndPaper-D_g27Foy.js} +3 -3
  8. package/dist/{PackageVersion-Jz9FlNXl.js → PackageVersion-7CxQB-mx.js} +1 -1
  9. package/dist/{PenAndPaper-TgGWddgD.js → PenAndPaper-C8hICPzL.js} +3 -3
  10. package/dist/{Shape-Bmpx9GRg.js → Shape-BEVQVI0z.js} +1 -1
  11. package/dist/{Slicer-DeWHn8zH.js → Slicer-Cmc94zkG.js} +11 -9
  12. package/dist/{SparkTooltip-C6fJOQ0j.js → SparkTooltip-BSgzljwP.js} +1 -1
  13. package/dist/Title-nHtPyPd9.js +88 -0
  14. package/dist/{Tooltip-le0yZk_t.js → Tooltip-RCWHeRDV.js} +1 -1
  15. package/dist/{UserOptions-DEFwuQIo.js → UserOptions-D3pVnvAB.js} +29 -29
  16. package/dist/{dom-to-png-C7V0EktO.js → dom-to-png-CcijTM69.js} +1 -1
  17. package/dist/{img-DvuphHeJ.js → img-Bl0o2UAr.js} +1 -1
  18. package/dist/{index-BFqW8WA0.js → index-INqbM37s.js} +2 -1
  19. package/dist/{pdf-Bdf65IBz.js → pdf-BeeAdG2m.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +11 -1
  22. package/dist/types/vue-data-ui.d.ts +11 -1
  23. package/dist/{useAutoSizeLabelsInsideViewbox-N1I6Rk6M.js → useAutoSizeLabelsInsideViewbox-DXkvjSDn.js} +1 -1
  24. package/dist/{useNestedProp-BSZCnuGl.js → useNestedProp-BKprMEaB.js} +1 -1
  25. package/dist/{usePrinter-DDIKRiOp.js → usePrinter-9WO5mDzj.js} +2 -2
  26. package/dist/{vue-data-ui-vwh3dolO.js → vue-data-ui-IMHc9Ta4.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-DNw3RWRt.js → vue-ui-3d-bar-D-1TVi2s.js} +6 -6
  29. package/dist/{vue-ui-accordion-Cv747Pg6.js → vue-ui-accordion-CQZjxT5U.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-B1Yun-v7.js → vue-ui-age-pyramid-B31NbBxS.js} +6 -6
  31. package/dist/{vue-ui-annotator-B_5hOApA.js → vue-ui-annotator-BmFYtzWW.js} +2 -2
  32. package/dist/{vue-ui-bullet-C2Aj7Lcx.js → vue-ui-bullet-BvMlcux3.js} +7 -7
  33. package/dist/{vue-ui-candlestick-BBYqZVUp.js → vue-ui-candlestick-CCrNcgjy.js} +7 -7
  34. package/dist/{vue-ui-carousel-table-DPIOnp9J.js → vue-ui-carousel-table-DrGj7_CL.js} +4 -4
  35. package/dist/{vue-ui-chestnut-C4B0wEFn.js → vue-ui-chestnut-Dz0E-AxZ.js} +5 -5
  36. package/dist/{vue-ui-chord-B9Zml1V7.js → vue-ui-chord-BxOzgPka.js} +8 -8
  37. package/dist/{vue-ui-circle-pack-CLn19BHH.js → vue-ui-circle-pack-CaWwzEF0.js} +6 -6
  38. package/dist/{vue-ui-cursor-AVEV-uv3.js → vue-ui-cursor-CG-oJITu.js} +2 -2
  39. package/dist/vue-ui-dashboard-BFLQYXuo.js +411 -0
  40. package/dist/{vue-ui-digits-Dr4OHGU0.js → vue-ui-digits-BlZsS_qz.js} +2 -2
  41. package/dist/{vue-ui-donut-xseR2SnT.js → vue-ui-donut-COXIRkz4.js} +8 -8
  42. package/dist/{vue-ui-donut-evolution-hJh-1Z48.js → vue-ui-donut-evolution-DSGLD4z5.js} +8 -8
  43. package/dist/{vue-ui-dumbbell-FdTx7uAG.js → vue-ui-dumbbell-DgUPMy2W.js} +7 -7
  44. package/dist/{vue-ui-flow-Bh6FqlC1.js → vue-ui-flow-E8_jp5Qc.js} +7 -7
  45. package/dist/{vue-ui-funnel-BlsKhHbk.js → vue-ui-funnel-NMcBpYTQ.js} +6 -6
  46. package/dist/{vue-ui-galaxy-C0B8stYi.js → vue-ui-galaxy-Cay4NZ6o.js} +7 -7
  47. package/dist/{vue-ui-gauge-B1-UiZwV.js → vue-ui-gauge-DWOH8_Z2.js} +8 -8
  48. package/dist/{vue-ui-gizmo-Df_SCjOI.js → vue-ui-gizmo-DtZu2tcU.js} +3 -3
  49. package/dist/{vue-ui-heatmap-NfRSd6fU.js → vue-ui-heatmap-Dk5515tQ.js} +7 -7
  50. package/dist/{vue-ui-history-plot-Ce-DJ8xC.js → vue-ui-history-plot-X_jPheWu.js} +7 -7
  51. package/dist/{vue-ui-kpi-CH3rWyiG.js → vue-ui-kpi-DwNsapLR.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-D9EVnpxk.js → vue-ui-mini-loader-uyATuTz5.js} +2 -2
  53. package/dist/{vue-ui-molecule-C973vfYh.js → vue-ui-molecule-BOeCt8b2.js} +5 -5
  54. package/dist/{vue-ui-mood-radar-DdLxBhlO.js → vue-ui-mood-radar-BeHjc5Ty.js} +7 -7
  55. package/dist/{vue-ui-nested-donuts-tARXMYzx.js → vue-ui-nested-donuts-CPoaD2py.js} +7 -7
  56. package/dist/{vue-ui-onion-BC9czZGG.js → vue-ui-onion-C8H8i77u.js} +8 -8
  57. package/dist/{vue-ui-parallel-coordinate-plot-CxDIkZKr.js → vue-ui-parallel-coordinate-plot-Cblzs6mf.js} +8 -8
  58. package/dist/{vue-ui-quadrant-Bpm5ZoTp.js → vue-ui-quadrant-BLYsMAey.js} +8 -8
  59. package/dist/{vue-ui-quick-chart-Bkc_JBCw.js → vue-ui-quick-chart-D-7cooqG.js} +111 -111
  60. package/dist/{vue-ui-radar-DVJQYNeL.js → vue-ui-radar-BBR8cYGx.js} +8 -8
  61. package/dist/{vue-ui-rating-DITnRSiS.js → vue-ui-rating-Ccn8aUMA.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-D_OTYUmS.js → vue-ui-relation-circle-SKeIJXHs.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-Gc1c4LXq.js → vue-ui-ridgeline-CuHSBPB8.js} +8 -8
  64. package/dist/{vue-ui-rings-CUT1N_kK.js → vue-ui-rings-SusI7pff.js} +8 -8
  65. package/dist/{vue-ui-scatter-DwnZHy0V.js → vue-ui-scatter-Do8NoLng.js} +8 -8
  66. package/dist/{vue-ui-skeleton-CeyaKpZd.js → vue-ui-skeleton-FONviv9G.js} +3 -3
  67. package/dist/{vue-ui-smiley-B9yNexWr.js → vue-ui-smiley-Bbt8bZxB.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DTYVcrHV.js → vue-ui-spark-trend-DB7RPBwQ.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BzxynYoW.js → vue-ui-sparkbar-B8inUR_m.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-DoznCX5h.js → vue-ui-sparkgauge-B4_YoY5M.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-DoZpd0H2.js → vue-ui-sparkhistogram-DXSLenC7.js} +4 -4
  72. package/dist/{vue-ui-sparkline-ZKit-hgG.js → vue-ui-sparkline-BQ6Voxky.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-DjoqH_Xs.js → vue-ui-sparkstackbar-BgFJQKhq.js} +4 -4
  74. package/dist/{vue-ui-stackbar-J-gxI4Xn.js → vue-ui-stackbar-CBB-kH1C.js} +9 -9
  75. package/dist/{vue-ui-strip-plot-CO7NVeFi.js → vue-ui-strip-plot-3gWivNhR.js} +7 -7
  76. package/dist/{vue-ui-table-rmbBw_0d.js → vue-ui-table-NJNp95Us.js} +156 -121
  77. package/dist/{vue-ui-table-heatmap-BEFdai_O.js → vue-ui-table-heatmap-CRzHSurU.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-CjgaQXbc.js → vue-ui-table-sparkline-DxGr1WNr.js} +4 -4
  79. package/dist/{vue-ui-thermometer--aqaJwFo.js → vue-ui-thermometer-B6NudPzq.js} +7 -7
  80. package/dist/{vue-ui-timer-qFNHDcU_.js → vue-ui-timer-DO3oJlhi.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-DA8fzQHo.js → vue-ui-tiremarks-Dv39xDlL.js} +6 -6
  82. package/dist/{vue-ui-treemap-DGC9zxon.js → vue-ui-treemap-D9jbccaW.js} +8 -8
  83. package/dist/{vue-ui-vertical-bar-DOCeCCqz.js → vue-ui-vertical-bar-CxJNWczK.js} +9 -9
  84. package/dist/{vue-ui-waffle-DD9jtkcQ.js → vue-ui-waffle-BMjk9LhH.js} +8 -8
  85. package/dist/{vue-ui-wheel-87VStrfJ.js → vue-ui-wheel-CMACWJLJ.js} +6 -6
  86. package/dist/{vue-ui-word-cloud-CCMfa9H1.js → vue-ui-word-cloud-BbwSabN0.js} +6 -6
  87. package/dist/{vue-ui-world-Cm3Hn1-2.js → vue-ui-world-DCp2i-uy.js} +6 -6
  88. package/dist/{vue-ui-xy-C2SnbN6w.js → vue-ui-xy-CRQHfrGQ.js} +277 -273
  89. package/dist/{vue-ui-xy-canvas-WxSJqoiF.js → vue-ui-xy-canvas-D-iziyn0.js} +10 -10
  90. package/package.json +1 -1
  91. package/dist/Legend-DLzeDl3-.js +0 -72
  92. package/dist/Title-AGmmsSi_.js +0 -61
  93. package/dist/vue-ui-dashboard-DwNYa1I4.js +0 -412
@@ -1,18 +1,18 @@
1
- import { useCssVars as Po, computed as x, ref as p, onMounted as jt, onBeforeUnmount as el, watch as ot, nextTick as Dt, onUpdated as Oo, createElementBlock as r, openBlock as s, createElementVNode as y, createCommentVNode as m, renderSlot as Q, normalizeStyle as _, createVNode as Et, withDirectives as ia, unref as v, Fragment as b, renderList as C, normalizeClass as Xe, withKeys as Ya, vModelText as Ga, toDisplayString as oe, defineAsyncComponent as Lt, useSlots as Fo, getCurrentInstance as Bo, toRefs as Ho, watchEffect as Ua, createBlock as Ze, createSlots as qa, withCtx as he, normalizeProps as Mt, guardReactiveProps as Ct, mergeProps as gl, Teleport as Vo, resolveDynamicComponent as Eo, vModelCheckbox as Do, createTextVNode as Za } from "vue";
2
- import { c as Vl, V as Dl, U as Wl, y as El, X as Wo, F as at, u as Xo, f as oa, t as Yo, d as Go, D as bl, ac as Ht, e as Uo, p as qo, ad as Fl, a9 as q, a4 as na, ae as Zo, h as W, af as Ka, ag as Ja, ah as Ko, ai as Qa, aj as ja, k as Le, ak as Jo, z as Qo, _ as eo, R as dt, i as Ke, x as Vt, s as lt, a7 as le, L as jo, al as Bl, I as en, am as At, C as Je, a as tn, b as ln, o as to, v as an, w as on, E as Qt } from "./index-BFqW8WA0.js";
1
+ import { useCssVars as Po, computed as x, ref as p, onMounted as jt, onBeforeUnmount as el, watch as ot, nextTick as Dt, onUpdated as Oo, createElementBlock as r, openBlock as s, createElementVNode as y, createCommentVNode as g, renderSlot as Q, normalizeStyle as _, createVNode as Et, withDirectives as ia, unref as v, Fragment as b, renderList as C, normalizeClass as Ye, withKeys as Ya, vModelText as Ga, toDisplayString as oe, defineAsyncComponent as Lt, useSlots as Fo, getCurrentInstance as Bo, toRefs as Ho, watchEffect as Ua, createBlock as Ke, createSlots as qa, withCtx as he, normalizeProps as Mt, guardReactiveProps as Ct, mergeProps as gl, Teleport as Vo, resolveDynamicComponent as Eo, vModelCheckbox as Do, createTextVNode as Za } from "vue";
2
+ import { c as Vl, V as Dl, U as Wl, y as El, X as Wo, F as at, u as Xo, f as oa, t as Yo, d as Go, D as bl, ac as Ht, e as Uo, p as qo, ad as Fl, a9 as q, a4 as na, ae as Zo, h as W, af as Ka, ag as Ja, ah as Ko, ai as Qa, aj as ja, k as Le, ak as Jo, z as Qo, _ as eo, R as dt, i as Je, x as Vt, s as lt, a7 as le, L as jo, al as Bl, I as en, am as At, C as Xe, a as tn, b as ln, o as to, v as an, w as on, E as Qt } from "./index-INqbM37s.js";
3
3
  import { t as sa, u as nn } from "./useResponsive-DfdjqQps.js";
4
- import { u as un } from "./usePrinter-DDIKRiOp.js";
4
+ import { u as un } from "./usePrinter-9WO5mDzj.js";
5
5
  import { u as sn, B as rn } from "./BaseScanner-BgWxam9d.js";
6
6
  import { u as lo, a as cn, l as vn } from "./useTimeLabels-BGFjWgrv.js";
7
- import { u as ua } from "./useNestedProp-BSZCnuGl.js";
7
+ import { u as ua } from "./useNestedProp-BKprMEaB.js";
8
8
  import { u as dn } from "./useTimeLabelCollider-CIsgDrl9.js";
9
- import hn from "./img-DvuphHeJ.js";
10
- import fn from "./Title-AGmmsSi_.js";
11
- import { S as mn } from "./Slicer-DeWHn8zH.js";
12
- import { _ as Hl } from "./Shape-Bmpx9GRg.js";
13
- import gn from "./BaseIcon-BLg8FaQ2.js";
9
+ import hn from "./img-Bl0o2UAr.js";
10
+ import fn from "./Title-nHtPyPd9.js";
11
+ import { S as mn } from "./Slicer-Cmc94zkG.js";
12
+ import { _ as Hl } from "./Shape-BEVQVI0z.js";
13
+ import gn from "./BaseIcon-B5nQNkmd.js";
14
14
  import { _ as ao } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- import bn from "./vue-ui-accordion-Cv747Pg6.js";
15
+ import bn from "./vue-ui-accordion-CQZjxT5U.js";
16
16
  const xn = {
17
17
  class: "vue-data-ui-slicer-labels",
18
18
  style: { position: "relative", "z-index": "1", "pointer-events": "none" }
@@ -156,36 +156,36 @@ const xn = {
156
156
  },
157
157
  emits: ["futureStart", "futureEnd", "update:start", "update:end", "reset", "trapMouse"],
158
158
  setup(N, { expose: Xl, emit: Yl }) {
159
- Po((g) => ({
160
- ef4890c2: zt.value,
161
- 20514013: Ge.value,
162
- "6d4a3344": Gl.value,
163
- "00868143": N.selectColor,
164
- 62429251: Tt.value
159
+ Po((m) => ({
160
+ "40f4c234": zt.value,
161
+ "777b275a": Ue.value,
162
+ "6d05494b": Gl.value,
163
+ "57b0688a": N.selectColor,
164
+ "8fed03d0": Tt.value
165
165
  }));
166
- const d = N, Ye = p(null), se = p(d.min), re = p(d.max), pt = x(() => !!d.minimap.length), tl = p(Vl()), Wt = p(!1), Xt = p(0), yt = x({
166
+ const d = N, Ge = p(null), se = p(d.min), re = p(d.max), pt = x(() => !!d.minimap.length), tl = p(Vl()), Wt = p(!1), Xt = p(0), yt = x({
167
167
  get() {
168
168
  return se.value;
169
169
  },
170
- set(g) {
171
- const h = Math.min(g, re.value - 1);
170
+ set(m) {
171
+ const h = Math.min(m, re.value - 1);
172
172
  se.value = h, ne.value && (ne.value.value = String(h)), fe("futureStart", h);
173
173
  }
174
174
  }), nt = x({
175
175
  get() {
176
176
  return re.value;
177
177
  },
178
- set(g) {
179
- const h = Math.max(g, se.value + 1);
178
+ set(m) {
179
+ const h = Math.max(m, se.value + 1);
180
180
  re.value = h, Z.value && (Z.value.value = String(h)), fe("futureEnd", h);
181
181
  }
182
182
  });
183
183
  jt(() => {
184
- const g = () => {
185
- Ye.value && (Xt.value = Ye.value.getBoundingClientRect().width);
184
+ const m = () => {
185
+ Ge.value && (Xt.value = Ge.value.getBoundingClientRect().width);
186
186
  };
187
- g();
188
- const h = sa(g, 50);
187
+ m();
188
+ const h = sa(m, 50);
189
189
  window.addEventListener("resize", h), el(() => {
190
190
  window.removeEventListener("resize", h);
191
191
  });
@@ -195,7 +195,7 @@ const xn = {
195
195
  clearTimeout(ll), fe("update:start", Number(se.value)), fe("update:end", Number(re.value)), Wt.value = !1;
196
196
  }
197
197
  const al = x(() => d.refreshEndPoint === null ? d.max : d.refreshEndPoint), fe = Yl, xe = x(() => {
198
- const g = d.max - d.min, h = (se.value - d.min) / g * 100, w = (re.value - d.min) / g * 100, X = (h + w) / 2, Pe = ut.value ? `calc(${X}% - ${Ae.value.width}px)` : He.value ? `calc(${X}%)` : `calc(${X}% - ${Ae.value.width / 2}px)`;
198
+ const m = d.max - d.min, h = (se.value - d.min) / m * 100, w = (re.value - d.min) / m * 100, X = (h + w) / 2, Pe = ut.value ? `calc(${X}% - ${Ae.value.width}px)` : He.value ? `calc(${X}%)` : `calc(${X}% - ${Ae.value.width / 2}px)`;
199
199
  return {
200
200
  left: `${h}%`,
201
201
  width: `${w - h}%`,
@@ -206,24 +206,24 @@ const xn = {
206
206
  arrowLeft: !He.value,
207
207
  arrowRight: !ut.value
208
208
  };
209
- }), He = x(() => Ye.value ? Ye.value.getBoundingClientRect().width * ((se.value - d.min) / (d.max - d.min)) - k.value / 2 < 0 : !1), ut = x(() => Ye.value ? Ye.value.getBoundingClientRect().width * ((re.value - d.min) / (d.max - d.min)) + wt.value / 2 > Ye.value.getBoundingClientRect().width : !1), zt = x(() => d.inputColor), Tt = x(() => d.background), Gl = x(() => `${d.selectColor}33`), Ge = x(() => d.borderColor), Yt = x(() => {
210
- let g = [];
209
+ }), He = x(() => Ge.value ? Ge.value.getBoundingClientRect().width * ((se.value - d.min) / (d.max - d.min)) - k.value / 2 < 0 : !1), ut = x(() => Ge.value ? Ge.value.getBoundingClientRect().width * ((re.value - d.min) / (d.max - d.min)) + wt.value / 2 > Ge.value.getBoundingClientRect().width : !1), zt = x(() => d.inputColor), Tt = x(() => d.background), Gl = x(() => `${d.selectColor}33`), Ue = x(() => d.borderColor), Yt = x(() => {
210
+ let m = [];
211
211
  for (let h = 0; h < d.minimap.length; h += 1)
212
- g.push(h);
213
- return g;
212
+ m.push(h);
213
+ return m;
214
214
  });
215
215
  function ht() {
216
216
  fe("reset");
217
217
  }
218
218
  ot(
219
219
  () => d.min,
220
- (g) => {
221
- Number(se.value) < Number(g) && (se.value = Number(g)), Number(re.value) < Number(g) && (re.value = Number(g));
220
+ (m) => {
221
+ Number(se.value) < Number(m) && (se.value = Number(m)), Number(re.value) < Number(m) && (re.value = Number(m));
222
222
  }
223
223
  ), ot(
224
224
  () => d.max,
225
- (g) => {
226
- Number(se.value) > Number(g) && (se.value = Number(g)), Number(re.value) > Number(g) && (re.value = Number(g));
225
+ (m) => {
226
+ Number(se.value) > Number(m) && (se.value = Number(m)), Number(re.value) > Number(m) && (re.value = Number(m));
227
227
  }
228
228
  );
229
229
  const It = p(null), j = p({
@@ -232,29 +232,29 @@ const xn = {
232
232
  }), Me = p(null);
233
233
  jt(() => {
234
234
  if (pt.value) {
235
- const g = sa(() => {
235
+ const m = sa(() => {
236
236
  const { width: h, height: w } = nn({
237
237
  chart: It.value
238
238
  });
239
239
  j.value.width = h, j.value.height = w - 47;
240
240
  });
241
- Me.value = new ResizeObserver(g), Me.value.observe(It.value);
241
+ Me.value = new ResizeObserver(m), Me.value.observe(It.value);
242
242
  }
243
243
  }), el(() => {
244
244
  Me.value && Me.value.disconnect();
245
245
  });
246
246
  const ol = x(() => Math.max(1, d.max - d.min)), kt = x(() => Math.max(1, d.minimap.length)), O = x(() => kt.value / ol.value);
247
- function nl(g) {
248
- const h = Math.floor((g - d.min) * O.value);
247
+ function nl(m) {
248
+ const h = Math.floor((m - d.min) * O.value);
249
249
  return Math.min(Math.max(0, h), kt.value);
250
250
  }
251
- function pe(g) {
252
- const h = Math.ceil((g - d.min) * O.value);
251
+ function pe(m) {
252
+ const h = Math.ceil((m - d.min) * O.value);
253
253
  return Math.min(Math.max(0, h), kt.value);
254
254
  }
255
255
  const ee = x(() => nl(se.value)), it = x(() => pe(re.value)), ye = x(() => d.minimap.length ? j.value.width / d.minimap.length : 0), ke = x(() => {
256
256
  if (!d.minimap.length) return [];
257
- const g = Math.max(...d.minimap), h = Math.min(...d.minimap) - 10, w = g - (h > 0 ? 0 : h), X = d.minimap.map((ql, $l) => ({
257
+ const m = Math.max(...d.minimap), h = Math.min(...d.minimap) - 10, w = m - (h > 0 ? 0 : h), X = d.minimap.map((ql, $l) => ({
258
258
  x: j.value.width / d.minimap.length * $l + ye.value / 2,
259
259
  y: j.value.height - (ql - h) / w * (j.value.height * 0.9)
260
260
  })), Pe = ee.value, St = Math.max(Pe + 1, it.value), Sl = d.smoothMinimap ? Dl(X) : Wl(X), qt = X.slice(Pe, St), _l = d.smoothMinimap ? Dl(qt) : Wl(qt);
@@ -266,71 +266,73 @@ const xn = {
266
266
  lastPlot: X[Math.max(0, St - 1)]
267
267
  };
268
268
  }), Ce = x(() => {
269
- const g = ee.value, h = Math.max(g + 1, it.value);
269
+ const m = ee.value, h = Math.max(m + 1, it.value);
270
270
  return {
271
- x: ye.value * g + ye.value / 2,
272
- width: ye.value * (h - g) - ye.value
271
+ x: ye.value * m + ye.value / 2,
272
+ width: ye.value * (h - m) - ye.value
273
273
  };
274
274
  }), Ie = p(d.minimapSelectedIndex);
275
- ot(() => d.minimapSelectedIndex, (g) => {
276
- if ([null, void 0].includes(g)) {
275
+ ot(() => d.minimapSelectedIndex, (m) => {
276
+ if ([null, void 0].includes(m)) {
277
277
  Ie.value = null;
278
278
  return;
279
279
  }
280
- Ie.value = nl(d.valueStart) + g;
280
+ Ie.value = nl(d.valueStart) + m;
281
281
  }, { immediate: !0 });
282
- function xl(g) {
283
- Ie.value = g;
282
+ function xl(m) {
283
+ Ie.value = m;
284
284
  const h = ee.value, w = it.value;
285
- g >= h && g < w && fe("trapMouse", g - h);
285
+ m >= h && m < w && fe("trapMouse", m - h);
286
286
  }
287
287
  const ft = p(0), ne = p(null), Z = p(null);
288
- function ul(g) {
289
- if (typeof g == "object" && g && "target" in g) {
290
- const w = g.target, X = "valueAsNumber" in w ? w.valueAsNumber : +w.value;
288
+ function ul(m) {
289
+ if (typeof m == "object" && m && "target" in m) {
290
+ const w = m.target, X = "valueAsNumber" in w ? w.valueAsNumber : +w.value;
291
291
  return Number.isFinite(X) ? X : NaN;
292
292
  }
293
- const h = +g;
293
+ const h = +m;
294
294
  return Number.isFinite(h) ? h : NaN;
295
295
  }
296
- function il(g) {
296
+ function il(m) {
297
297
  Wt.value = !0;
298
- const h = ul(g);
298
+ const h = ul(m);
299
299
  Number.isFinite(h) && (yt.value = h);
300
300
  }
301
- function sl(g) {
301
+ function sl(m) {
302
302
  Wt.value = !0;
303
- const h = ul(g);
303
+ const h = ul(m);
304
304
  Number.isFinite(h) && (nt.value = h);
305
305
  }
306
306
  const mt = x(() => d.valueEnd - d.valueStart), st = p(!1);
307
307
  let F = p(null);
308
308
  const pl = x(() => (Xt.value - 48) / (d.max - d.min)), rl = x(() => (Xt.value - 48) / (d.max - d.min) * mt.value), Gt = p(2.5), we = x(() => {
309
- const g = Xt.value - 48;
309
+ const m = Xt.value - 48;
310
310
  return Math.ceil(
311
- (d.max - d.min) / ((g - rl.value) / Gt.value)
311
+ (d.max - d.min) / ((m - rl.value) / Gt.value)
312
312
  );
313
313
  });
314
314
  let me = null, Ve = null, je = null, Ne = null;
315
- const $ = (g) => {
316
- if (Ue.value = !0, !d.enableSelectionDrag) return;
317
- const h = g.type === "touchstart", w = h && g.targetTouches && g.targetTouches[0] ? g.targetTouches[0] : null, X = h ? w ? w.target : null : g.target;
318
- !X || !(X instanceof Element) || X.classList && X.classList.contains("range-handle") || (st.value = !0, F.value = h ? w ? w.clientX : 0 : g.clientX, me = h ? "touchmove" : "mousemove", Ve = h ? "touchend" : "mouseup", je = h ? yl : Ul, Ne = h ? S : kl, window.addEventListener(me, je, { passive: !1 }), window.addEventListener(Ve, Ne));
315
+ const $ = (m) => {
316
+ if (qe.value = !0, !d.enableSelectionDrag) return;
317
+ const h = m.type === "touchstart";
318
+ h || m.stopPropagation();
319
+ const w = h && m.targetTouches && m.targetTouches[0] ? m.targetTouches[0] : null, X = h ? w ? w.target : null : m.target;
320
+ !X || !(X instanceof Element) || X.classList && X.classList.contains("range-handle") || (st.value = !0, F.value = h ? w ? w.clientX : 0 : m.clientX, me = h ? "touchmove" : "mousemove", Ve = h ? "touchend" : "mouseup", je = h ? yl : Ul, Ne = h ? S : kl, window.addEventListener(me, je, { passive: !1 }), window.addEventListener(Ve, Ne));
319
321
  };
320
- function Ul(g) {
321
- st.value && Ut(g.clientX);
322
+ function Ul(m) {
323
+ st.value && Ut(m.clientX);
322
324
  }
323
- function yl(g) {
324
- if (!st.value || !Ye.value) return;
325
- const h = g.target;
326
- if (!(h instanceof Element) || !Ye.value.contains(h) || h.classList && h.classList.contains("range-handle")) return;
327
- g.preventDefault();
328
- const w = g.targetTouches && g.targetTouches[0] ? g.targetTouches[0] : null;
325
+ function yl(m) {
326
+ if (!st.value || !Ge.value) return;
327
+ const h = m.target;
328
+ if (!(h instanceof Element) || !Ge.value.contains(h) || h.classList && h.classList.contains("range-handle")) return;
329
+ m.preventDefault();
330
+ const w = m.targetTouches && m.targetTouches[0] ? m.targetTouches[0] : null;
329
331
  w && Ut(w.clientX);
330
332
  }
331
- function Ut(g) {
333
+ function Ut(m) {
332
334
  if (!st.value) return;
333
- const h = g - F.value;
335
+ const h = m - F.value;
334
336
  if (Math.abs(h) > pl.value) {
335
337
  if (h > 0) {
336
338
  const w = Math.min(d.max, re.value + we.value);
@@ -339,7 +341,7 @@ const xn = {
339
341
  const w = Math.max(d.min, se.value - we.value);
340
342
  yt.value = w, nt.value = w + mt.value;
341
343
  }
342
- F.value = g;
344
+ F.value = m;
343
345
  }
344
346
  }
345
347
  function kl() {
@@ -351,7 +353,7 @@ const xn = {
351
353
  function Re() {
352
354
  st.value = !1, me && je && window.removeEventListener(me, je), Ve && Ne && window.removeEventListener(Ve, Ne), me = Ve = null, je = Ne = null, Qe();
353
355
  }
354
- const rt = p(!1), ct = p(null), t = p(null), k = p(1), wt = p(1), Ue = p(!1);
356
+ const rt = p(!1), ct = p(null), t = p(null), k = p(1), wt = p(1), qe = p(!1);
355
357
  function ge() {
356
358
  ct.value && (k.value = ct.value.getBoundingClientRect().width);
357
359
  }
@@ -359,8 +361,8 @@ const xn = {
359
361
  t.value && (wt.value = t.value.getBoundingClientRect().width);
360
362
  }
361
363
  const Nt = p(0);
362
- function wl(g) {
363
- Nt.value = g === "start" ? 1 : 0;
364
+ function wl(m) {
365
+ Nt.value = m === "start" ? 1 : 0;
364
366
  }
365
367
  const Rt = p(!1), Ae = p({
366
368
  width: 0,
@@ -371,9 +373,9 @@ const xn = {
371
373
  Rt.value = !1, Ae.value = { width: 0, left: 0 };
372
374
  return;
373
375
  }
374
- const g = ct.value.getBoundingClientRect(), h = t.value.getBoundingClientRect();
375
- Rt.value = g.x + g.width > h.x;
376
- const w = g.x + g.width / 2, X = h.x + h.width / 2, Pe = g.width + h.width, St = (w + X) / 2;
376
+ const m = ct.value.getBoundingClientRect(), h = t.value.getBoundingClientRect();
377
+ Rt.value = m.x + m.width > h.x;
378
+ const w = m.x + m.width / 2, X = h.x + h.width / 2, Pe = m.width + h.width, St = (w + X) / 2;
377
379
  Ae.value = {
378
380
  width: Pe,
379
381
  left: St - Pe / 2
@@ -386,7 +388,7 @@ const xn = {
386
388
  Dt(Se);
387
389
  }, { deep: !0 });
388
390
  const be = p(!1), f = x(() => {
389
- let g = { text: "" }, h = { text: "" };
391
+ let m = { text: "" }, h = { text: "" };
390
392
  if (be.value = !1, El(d.customFormat))
391
393
  try {
392
394
  const w = d.customFormat({
@@ -398,12 +400,12 @@ const xn = {
398
400
  seriesIndex: re.value - 1,
399
401
  datapoint: d.selectedSeries
400
402
  });
401
- typeof w == "string" && typeof X == "string" && (g.text = w, h.text = X, be.value = !0);
403
+ typeof w == "string" && typeof X == "string" && (m.text = w, h.text = X, be.value = !0);
402
404
  } catch {
403
405
  console.warn("Custom format cannot be applied on zoom labels."), be.value = !1;
404
406
  }
405
- return be.value || (g = d.usePreciseLabels ? d.preciseLabels.find((w) => w.absoluteIndex === se.value) : d.timeLabels.find((w) => w.absoluteIndex === se.value), h = d.usePreciseLabels ? d.preciseLabels.find((w) => w.absoluteIndex === re.value - 1) : d.timeLabels.find((w) => w.absoluteIndex === re.value - 1)), {
406
- left: g ? g.text : "",
407
+ return be.value || (m = d.usePreciseLabels ? d.preciseLabels.find((w) => w.absoluteIndex === se.value) : d.timeLabels.find((w) => w.absoluteIndex === se.value), h = d.usePreciseLabels ? d.preciseLabels.find((w) => w.absoluteIndex === re.value - 1) : d.timeLabels.find((w) => w.absoluteIndex === re.value - 1)), {
408
+ left: m ? m.text : "",
407
409
  right: h ? h.text : ""
408
410
  };
409
411
  });
@@ -412,18 +414,18 @@ const xn = {
412
414
  }), Xl({
413
415
  setStartValue: il,
414
416
  setEndValue: sl
415
- }), (g, h) => (s(), r("div", {
417
+ }), (m, h) => (s(), r("div", {
416
418
  "data-dom-to-png-ignore": "",
417
419
  style: { padding: "0 24px" },
418
420
  class: "vue-data-ui-zoom",
419
421
  ref_key: "zoomWrapper",
420
- ref: Ye,
422
+ ref: Ge,
421
423
  onMousedown: $,
422
424
  onTouchstart: $
423
425
  }, [
424
426
  y("div", xn, [
425
427
  N.valueStart !== N.refreshStartPoint || N.valueEnd !== al.value ? (s(), r("div", pn, [
426
- N.useResetSlot ? Q(g.$slots, "reset-action", {
428
+ N.useResetSlot ? Q(m.$slots, "reset-action", {
427
429
  key: 1,
428
430
  reset: ht
429
431
  }, void 0, !0) : (s(), r("button", {
@@ -442,15 +444,15 @@ const xn = {
442
444
  stroke: N.textColor
443
445
  }, null, 8, ["stroke"])
444
446
  ], 4))
445
- ])) : m("", !0)
447
+ ])) : g("", !0)
446
448
  ]),
447
449
  y("div", {
448
450
  class: "double-range-slider",
449
451
  ref_key: "minimapWrapper",
450
452
  ref: It,
451
453
  style: { "z-index": "0" },
452
- onMouseenter: h[13] || (h[13] = (w) => Ue.value = !0),
453
- onMouseleave: h[14] || (h[14] = (w) => Ue.value = !1)
454
+ onMouseenter: h[13] || (h[13] = (w) => qe.value = !0),
455
+ onMouseleave: h[14] || (h[14] = (w) => qe.value = !1)
454
456
  }, [
455
457
  pt.value ? (s(), r("div", yn, [
456
458
  (s(), r("svg", {
@@ -489,7 +491,7 @@ const xn = {
489
491
  width: Ce.value.width < 0 ? 0 : Ce.value.width,
490
492
  height: Math.max(j.value.height, 0),
491
493
  y: 0,
492
- fill: Ge.value,
494
+ fill: Ue.value,
493
495
  rx: N.minimapSelectionRadius,
494
496
  stroke: "none"
495
497
  }, null, 8, $n),
@@ -505,7 +507,7 @@ const xn = {
505
507
  height: Math.max(j.value.height, 0),
506
508
  y: 0,
507
509
  rx: N.minimapSelectionRadius,
508
- fill: Ge.value,
510
+ fill: Ue.value,
509
511
  style: _({
510
512
  opacity: st.value || Wt.value ? 0 : 1
511
513
  })
@@ -539,7 +541,7 @@ const xn = {
539
541
  cx: ke.value.firstPlot.x,
540
542
  cy: ke.value.firstPlot.y,
541
543
  "stroke-width": "0.5",
542
- stroke: Ge.value,
544
+ stroke: Ue.value,
543
545
  r: "3",
544
546
  fill: N.minimapLineColor
545
547
  }, null, 8, Tn),
@@ -547,7 +549,7 @@ const xn = {
547
549
  cx: ke.value.lastPlot.x,
548
550
  cy: ke.value.lastPlot.y,
549
551
  "stroke-width": "0.5",
550
- stroke: Ge.value,
552
+ stroke: Ue.value,
551
553
  r: "3",
552
554
  fill: N.minimapLineColor
553
555
  }, null, 8, In),
@@ -562,8 +564,8 @@ const xn = {
562
564
  "stroke-linecap": "round",
563
565
  "stroke-dasharray": "2",
564
566
  "stroke-width": "1"
565
- }, null, 8, Nn)) : m("", !0)
566
- ]))), 256)) : m("", !0),
567
+ }, null, 8, Nn)) : g("", !0)
568
+ ]))), 256)) : g("", !0),
567
569
  (s(!0), r(b, null, C(Yt.value, (w, X) => (s(), r("rect", {
568
570
  x: ye.value * X,
569
571
  y: 0,
@@ -581,10 +583,10 @@ const xn = {
581
583
  })
582
584
  }, null, 44, Rn))), 256))
583
585
  ], 8, kn))
584
- ])) : m("", !0),
586
+ ])) : g("", !0),
585
587
  h[16] || (h[16] = y("div", { class: "slider-track" }, null, -1)),
586
588
  y("div", {
587
- class: Xe({
589
+ class: Ye({
588
590
  "range-highlight": !0,
589
591
  move: N.enableSelectionDrag
590
592
  }),
@@ -600,7 +602,7 @@ const xn = {
600
602
  ref: ne,
601
603
  key: `range-min${ft.value}`,
602
604
  type: "range",
603
- class: Xe({ "range-left": !0, "range-handle": !0, "range-minimap": pt.value && N.verticalHandles }),
605
+ class: Ye({ "range-left": !0, "range-handle": !0, "range-minimap": pt.value && N.verticalHandles }),
604
606
  min: N.min,
605
607
  max: N.max,
606
608
  "onUpdate:modelValue": h[5] || (h[5] = (w) => yt.value = w),
@@ -618,13 +620,13 @@ const xn = {
618
620
  void 0,
619
621
  { number: !0 }
620
622
  ]
621
- ]) : m("", !0),
623
+ ]) : g("", !0),
622
624
  N.enableRangeHandles ? ia((s(), r("input", {
623
625
  key: 2,
624
626
  ref_key: "rangeEnd",
625
627
  ref: Z,
626
628
  type: "range",
627
- class: Xe({ "range-right": !0, "range-handle": !0, "range-minimap": pt.value && N.verticalHandles }),
629
+ class: Ye({ "range-right": !0, "range-handle": !0, "range-minimap": pt.value && N.verticalHandles }),
628
630
  min: N.min,
629
631
  max: N.max,
630
632
  "onUpdate:modelValue": h[9] || (h[9] = (w) => nt.value = w),
@@ -642,14 +644,14 @@ const xn = {
642
644
  void 0,
643
645
  { number: !0 }
644
646
  ]
645
- ]) : m("", !0),
647
+ ]) : g("", !0),
646
648
  f.value.left ? (s(), r("div", {
647
649
  key: 3,
648
650
  ref_key: "tooltipLeft",
649
651
  ref: ct,
650
- class: Xe({
652
+ class: Ye({
651
653
  "range-tooltip": !0,
652
- "range-tooltip-visible": Ue.value,
654
+ "range-tooltip-visible": qe.value,
653
655
  "range-tooltip-arrow": xe.value.arrowLeft && !N.verticalHandles,
654
656
  "range-tooltip-arrow-left": !xe.value.arrowLeft && !N.verticalHandles
655
657
  }),
@@ -657,17 +659,17 @@ const xn = {
657
659
  left: xe.value.tooltipLeft,
658
660
  color: v(at)(N.selectColor),
659
661
  backgroundColor: N.selectColor,
660
- border: `1px solid ${Ge.value}`,
662
+ border: `1px solid ${Ue.value}`,
661
663
  zIndex: `${Nt.value + 4}`,
662
664
  visibility: Rt.value || f.value.left === f.value.right ? "hidden" : "visible"
663
665
  })
664
- }, oe(f.value.left), 7)) : m("", !0),
666
+ }, oe(f.value.left), 7)) : g("", !0),
665
667
  (Rt.value || f.value.left === f.value.right) && (f.value.left || f.value.right) ? (s(), r("div", {
666
668
  key: 4,
667
669
  ref: "tooltipMerge",
668
- class: Xe({
670
+ class: Ye({
669
671
  "range-tooltip": !0,
670
- "range-tooltip-visible": Ue.value,
672
+ "range-tooltip-visible": qe.value,
671
673
  "range-tooltip-arrow": !0,
672
674
  "range-tooltip-arrow-left": !xe.value.arrowLeft && !N.verticalHandles,
673
675
  "range-tooltip-arrow-right": !xe.value.arrowRight && !N.verticalHandles
@@ -677,17 +679,17 @@ const xn = {
677
679
  width: Ae.value.width + "px",
678
680
  color: v(at)(N.selectColor),
679
681
  backgroundColor: N.selectColor,
680
- border: `1px solid ${Ge.value}`,
682
+ border: `1px solid ${Ue.value}`,
681
683
  zIndex: "4"
682
684
  })
683
- }, oe(f.value.left === f.value.right ? f.value.left : `${f.value.left} - ${f.value.right}`), 7)) : m("", !0),
685
+ }, oe(f.value.left === f.value.right ? f.value.left : `${f.value.left} - ${f.value.right}`), 7)) : g("", !0),
684
686
  f.value.right ? (s(), r("div", {
685
687
  key: 5,
686
688
  ref_key: "tooltipRight",
687
689
  ref: t,
688
- class: Xe({
690
+ class: Ye({
689
691
  "range-tooltip": !0,
690
- "range-tooltip-visible": Ue.value,
692
+ "range-tooltip-visible": qe.value,
691
693
  "range-tooltip-arrow": xe.value.arrowRight && !N.verticalHandles,
692
694
  "range-tooltip-arrow-right": !xe.value.arrowRight && !N.verticalHandles
693
695
  }),
@@ -695,15 +697,15 @@ const xn = {
695
697
  left: xe.value.tooltipRight,
696
698
  color: v(at)(N.selectColor),
697
699
  backgroundColor: N.selectColor,
698
- border: `1px solid ${Ge.value}`,
700
+ border: `1px solid ${Ue.value}`,
699
701
  zIndex: "4",
700
702
  visibility: Rt.value || f.value.left === f.value.right ? "hidden" : "visible"
701
703
  })
702
- }, oe(f.value.right), 7)) : m("", !0)
704
+ }, oe(f.value.right), 7)) : g("", !0)
703
705
  ], 544)
704
706
  ], 544));
705
707
  }
706
- }, Bn = /* @__PURE__ */ ao(Fn, [["__scopeId", "data-v-58fccd9f"]]), Hn = ["id"], Vn = ["id"], En = ["viewBox", "aria-label"], Dn = ["x", "y", "width", "height"], Wn = { key: 1 }, Xn = { class: "vue-ui-xy-grid" }, Yn = ["stroke", "x1", "x2", "y1", "y2"], Gn = ["stroke", "x1", "x2", "y1", "y2"], Un = { key: 1 }, qn = ["x1", "x2", "y1", "y2", "stroke"], Zn = ["x1", "x2", "y1", "y2", "stroke"], Kn = ["x1", "x2", "y1", "y2", "stroke"], Jn = { key: 3 }, Qn = ["d", "stroke"], jn = { key: 4 }, eu = ["d", "stroke"], tu = ["id"], lu = ["stop-color"], au = ["stop-color"], ou = ["stop-color"], nu = ["id"], uu = ["stop-color"], iu = ["stop-color"], su = ["stop-color"], ru = ["id"], cu = ["stop-color"], vu = ["stop-color"], du = ["id"], hu = ["stop-color"], fu = ["stop-color"], mu = ["id"], gu = ["stop-color"], bu = ["stop-color"], xu = ["x", "y", "height", "width", "fill"], pu = ["x", "y", "width"], yu = { key: 0 }, ku = ["x", "y", "height", "width", "fill"], wu = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Su = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], _u = ["width", "x", "y"], $u = { key: 0 }, Lu = ["id"], Mu = ["fill"], Cu = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Au = ["x", "y", "font-size", "fill"], zu = ["stroke", "x1", "x2", "y1", "y2"], Tu = { key: 3 }, Iu = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Nu = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Ru = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pu = ["fill", "font-size", "transform"], Ou = ["x1", "x2", "y1", "y2", "stroke"], Fu = ["x", "y", "font-size", "fill"], Bu = ["x1", "x2", "y1", "y2", "stroke"], Hu = ["x", "y", "font-size", "fill"], Vu = ["width", "x", "y"], Eu = { style: { width: "100%" } }, Du = { key: 0 }, Wu = ["id"], Xu = ["fill"], Yu = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Gu = ["x", "y", "font-size", "fill"], Uu = ["d", "stroke", "stroke-width", "stroke-dasharray"], qu = ["d", "stroke", "stroke-width", "stroke-dasharray"], Zu = { key: 6 }, Ku = { key: 7 }, Ju = ["d", "fill", "fill-opacity"], Qu = { key: 0 }, ju = ["d", "fill"], ei = ["d", "fill"], ti = ["d", "fill"], li = ["d", "fill"], ai = ["d", "stroke", "stroke-width", "stroke-dasharray"], oi = ["d", "stroke", "stroke-width", "stroke-dasharray"], ni = ["width", "x", "y"], ui = { style: { width: "100%" } }, ii = { key: 3 }, si = ["id"], ri = ["fill"], ci = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], vi = ["x", "y", "font-size", "fill"], di = { key: 8 }, hi = ["x", "y", "font-size", "fill"], fi = ["x", "y", "font-size", "fill", "font-weight"], mi = { key: 9 }, gi = ["x", "y", "font-size", "fill"], bi = { key: 10 }, xi = ["x", "y"], pi = ["innerHTML"], yi = ["x", "y"], ki = ["innerHTML"], wi = ["x1", "x2", "y1", "y2", "stroke"], Si = { key: 11 }, _i = ["x", "y", "font-size", "fill"], $i = { key: 12 }, Li = ["x", "y"], Mi = ["innerHTML"], Ci = ["x", "y"], Ai = ["innerHTML"], zi = ["x1", "x2", "y1", "y2", "stroke"], Ti = ["x", "y", "font-size", "fill", "innerHTML"], Ii = ["x", "y", "font-size", "fill", "innerHTML"], Ni = ["x", "y", "font-size", "fill", "innerHTML"], Ri = ["x", "y", "font-size", "fill", "innerHTML"], Pi = ["id"], Oi = ["stop-color"], Fi = ["stop-color"], Bi = ["x", "y", "width", "height", "fill", "onMouseenter"], Hi = ["font-size", "fill", "transform"], Vi = ["x", "y", "font-size", "fill"], Ei = ["text-anchor", "font-size", "fill", "transform", "onClick"], Di = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], Wi = { key: 15 }, Xi = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Yi = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Gi = ["y", "x", "width", "height", "fill"], Ui = ["id", "x", "y", "font-size", "fill", "text-anchor"], qi = {
708
+ }, Bn = /* @__PURE__ */ ao(Fn, [["__scopeId", "data-v-d0ba0095"]]), Hn = ["id"], Vn = ["id"], En = ["viewBox", "aria-label"], Dn = ["x", "y", "width", "height"], Wn = { key: 1 }, Xn = { class: "vue-ui-xy-grid" }, Yn = ["stroke", "x1", "x2", "y1", "y2"], Gn = ["stroke", "x1", "x2", "y1", "y2"], Un = { key: 1 }, qn = ["x1", "x2", "y1", "y2", "stroke"], Zn = ["x1", "x2", "y1", "y2", "stroke"], Kn = ["x1", "x2", "y1", "y2", "stroke"], Jn = { key: 3 }, Qn = ["d", "stroke"], jn = { key: 4 }, eu = ["d", "stroke"], tu = ["id"], lu = ["stop-color"], au = ["stop-color"], ou = ["stop-color"], nu = ["id"], uu = ["stop-color"], iu = ["stop-color"], su = ["stop-color"], ru = ["id"], cu = ["stop-color"], vu = ["stop-color"], du = ["id"], hu = ["stop-color"], fu = ["stop-color"], mu = ["id"], gu = ["stop-color"], bu = ["stop-color"], xu = ["x", "y", "height", "width", "fill"], pu = ["x", "y", "width"], yu = { key: 0 }, ku = ["x", "y", "height", "width", "fill"], wu = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Su = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], _u = ["width", "x", "y"], $u = { key: 0 }, Lu = ["id"], Mu = ["fill"], Cu = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Au = ["x", "y", "font-size", "fill"], zu = ["stroke", "x1", "x2", "y1", "y2"], Tu = { key: 3 }, Iu = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Nu = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Ru = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pu = ["fill", "font-size", "transform"], Ou = ["x1", "x2", "y1", "y2", "stroke"], Fu = ["x", "y", "font-size", "fill"], Bu = ["x1", "x2", "y1", "y2", "stroke"], Hu = ["x", "y", "font-size", "fill"], Vu = ["width", "x", "y"], Eu = { style: { width: "100%" } }, Du = { key: 0 }, Wu = ["id"], Xu = ["fill"], Yu = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Gu = ["x", "y", "font-size", "fill"], Uu = ["d", "stroke", "stroke-width", "stroke-dasharray"], qu = ["d", "stroke", "stroke-width", "stroke-dasharray"], Zu = { key: 6 }, Ku = { key: 7 }, Ju = ["d", "fill", "fill-opacity"], Qu = { key: 0 }, ju = ["d", "fill"], ei = ["d", "fill"], ti = ["d", "fill"], li = ["d", "fill"], ai = ["d", "stroke", "stroke-width", "stroke-dasharray"], oi = ["d", "stroke", "stroke-width", "stroke-dasharray"], ni = ["width", "x", "y"], ui = { style: { width: "100%" } }, ii = { key: 3 }, si = ["id"], ri = ["fill"], ci = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], vi = ["x", "y", "font-size", "fill"], di = { key: 8 }, hi = ["x", "y", "font-size", "fill"], fi = ["x", "y", "font-size", "fill", "font-weight"], mi = { key: 9 }, gi = ["x", "y", "font-size", "fill"], bi = { key: 10 }, xi = ["x", "y"], pi = ["innerHTML"], yi = ["x", "y"], ki = ["innerHTML"], wi = ["x1", "x2", "y1", "y2", "stroke"], Si = { key: 11 }, _i = ["x", "y", "font-size", "fill"], $i = { key: 12 }, Li = ["x", "y"], Mi = ["innerHTML"], Ci = ["x", "y"], Ai = ["innerHTML"], zi = ["x1", "x2", "y1", "y2", "stroke"], Ti = ["x", "y", "font-size", "fill", "innerHTML"], Ii = ["x", "y", "font-size", "fill", "innerHTML"], Ni = ["x", "y", "font-size", "fill", "innerHTML"], Ri = ["x", "y", "font-size", "fill", "innerHTML"], Pi = ["id"], Oi = ["stop-color"], Fi = ["stop-color"], Bi = ["x", "y", "width", "height", "fill", "onMouseenter"], Hi = ["font-size", "fill", "transform"], Vi = ["x", "y", "font-size", "fill"], Ei = ["text-anchor", "font-size", "fill", "transform", "onClick"], Di = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], Wi = { key: 15 }, Xi = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Yi = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Gi = ["y", "x", "width", "height", "fill"], Ui = ["id", "x", "y", "font-size", "fill", "text-anchor"], qi = {
707
709
  key: 16,
708
710
  style: { "pointer-events": "none" }
709
711
  }, Zi = ["x", "y"], Ki = ["innerHTML"], Ji = ["cx", "cy", "r", "fill"], Qi = ["data-start", "data-end"], ji = {
@@ -732,18 +734,18 @@ const xn = {
732
734
  }, cs = ["fill"], vs = ["innerHTML"], ds = ["id"], hs = ["onClick"], fs = {
733
735
  key: 0,
734
736
  viewBox: "0 0 20 12",
735
- height: "14",
736
- width: "20"
737
+ height: "1em",
738
+ width: "1.43em"
737
739
  }, ms = ["stroke", "fill"], gs = {
738
740
  key: 1,
739
741
  viewBox: "0 0 40 40",
740
- height: "14",
741
- width: "14"
742
+ height: "1em",
743
+ width: "1em"
742
744
  }, bs = ["fill"], xs = ["fill"], ps = {
743
745
  key: 2,
744
746
  viewBox: "0 0 12 12",
745
- height: "14",
746
- width: "14"
747
+ height: "1em",
748
+ width: "1em"
747
749
  }, ys = {
748
750
  style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
749
751
  "data-dom-to-png-ignore": ""
@@ -769,7 +771,7 @@ const xn = {
769
771
  },
770
772
  emits: ["selectTimeLabel", "selectX", "selectLegend"],
771
773
  setup(N, { expose: Xl, emit: Yl }) {
772
- const d = N, Ye = Lt(() => import("./DataTable-BRN1-1ob.js")), se = Lt(() => import("./Tooltip-le0yZk_t.js")), re = Lt(() => import("./UserOptions-DEFwuQIo.js")), pt = Lt(() => import("./BaseIcon-BLg8FaQ2.js")), tl = Lt(() => import("./vue-ui-table-sparkline-CjgaQXbc.js")), Wt = Lt(() => import("./PackageVersion-Jz9FlNXl.js")), Xt = Lt(() => import("./PenAndPaper-TgGWddgD.js")), yt = Lt(() => import("./BaseDraggableDialog-Dkpr-qUQ.js")), nt = Yl, ll = Fo(), Qe = Bo(), { vue_ui_xy: al } = Xo(), fe = p(null), xe = p(null), He = p(null), ut = p(null), zt = p(null), Tt = p(null), Gl = p(null), Ge = p(null), Yt = p(null), ht = p(null), It = p(null), j = p(null), Me = p(null), ol = p(null), kt = p(0), O = p(null), nl = p(!0), pe = p(600), ee = p(1e3), it = p("0 0 1000 600"), ye = p({ x: 0, y: 0 }), ke = p({ line: "line", bar: "bar", plot: "plot" }), Ce = p(!1), Ie = p(!1), xl = p(!1), ft = p(null), ne = p([]), Z = p(Vl()), ul = p(0), il = p(0), sl = p(0), mt = p(!0), st = p(0), F = p(null), pl = p(!1), rl = p(!0), Gt = p(!0), we = p(null), me = p({}), Ve = p(null), je = p(!1), Ne = p(null), $ = p(null), Ul = x(() => ({
774
+ const d = N, Ge = Lt(() => import("./DataTable-CzO3oHys.js")), se = Lt(() => import("./Tooltip-RCWHeRDV.js")), re = Lt(() => import("./UserOptions-D3pVnvAB.js")), pt = Lt(() => import("./BaseIcon-B5nQNkmd.js")), tl = Lt(() => import("./vue-ui-table-sparkline-DxGr1WNr.js")), Wt = Lt(() => import("./PackageVersion-7CxQB-mx.js")), Xt = Lt(() => import("./PenAndPaper-C8hICPzL.js")), yt = Lt(() => import("./BaseDraggableDialog-BdAp3qr9.js")), nt = Yl, ll = Fo(), Qe = Bo(), { vue_ui_xy: al } = Xo(), fe = p(null), xe = p(null), He = p(null), ut = p(null), zt = p(null), Tt = p(null), Gl = p(null), Ue = p(null), Yt = p(null), ht = p(null), It = p(null), j = p(null), Me = p(null), ol = p(null), kt = p(0), O = p(null), nl = p(!0), pe = p(600), ee = p(1e3), it = p("0 0 1000 600"), ye = p({ x: 0, y: 0 }), ke = p({ line: "line", bar: "bar", plot: "plot" }), Ce = p(!1), Ie = p(!1), xl = p(!1), ft = p(null), ne = p([]), Z = p(Vl()), ul = p(0), il = p(0), sl = p(0), mt = p(!0), st = p(0), F = p(null), pl = p(!1), rl = p(!0), Gt = p(!0), we = p(null), me = p({}), Ve = p(null), je = p(!1), Ne = p(null), $ = p(null), Ul = x(() => ({
773
775
  height: pe.value,
774
776
  width: ee.value
775
777
  }));
@@ -792,7 +794,7 @@ const xn = {
792
794
  type: "datasetSerieAttribute",
793
795
  property: "series (number[])",
794
796
  index: u,
795
- debug: Ue.value
797
+ debug: qe.value
796
798
  });
797
799
  });
798
800
  });
@@ -803,10 +805,10 @@ const xn = {
803
805
  userConfig: d.config,
804
806
  defaultConfig: al
805
807
  });
806
- return d.config && Je(d.config, "chart.highlightArea") && (Array.isArray(d.config.chart.highlightArea) ? l.chart.highlightArea = d.config.chart.highlightArea : l.chart.highlightArea = [d.config.chart.highlightArea]), d.config && Je(d.config, "chart.grid.labels.yAxis.scaleMin") ? l.chart.grid.labels.yAxis.scaleMin = d.config.chart.grid.labels.yAxis.scaleMin : l.chart.grid.labels.yAxis.scaleMin = null, d.config && Je(d.config, "chart.grid.labels.yAxis.scaleMax") ? l.chart.grid.labels.yAxis.scaleMax = d.config.chart.grid.labels.yAxis.scaleMax : l.chart.grid.labels.yAxis.scaleMax = null, d.config && Je(d.config, "chart.zoom.startIndex") ? l.chart.zoom.startIndex = d.config.chart.zoom.startIndex : l.chart.zoom.startIndex = null, d.config && Je(d.config, "chart.zoom.endIndex") ? l.chart.zoom.endIndex = d.config.chart.zoom.endIndex : l.chart.zoom.endIndex = null, d.config && Je(d.config, "chart.grid.labels.yAxis.groupColor") ? l.chart.grid.labels.yAxis.groupColor = d.config.chart.grid.labels.yAxis.groupColor : l.chart.grid.labels.yAxis.groupColor = null, d.config && d.config.chart.annotations && Array.isArray(d.config.chart.annotations) && d.config.chart.annotations.length ? l.chart.annotations = d.config.chart.annotations.map((u) => ua({
808
+ return d.config && Xe(d.config, "chart.highlightArea") && (Array.isArray(d.config.chart.highlightArea) ? l.chart.highlightArea = d.config.chart.highlightArea : l.chart.highlightArea = [d.config.chart.highlightArea]), d.config && Xe(d.config, "chart.grid.labels.yAxis.scaleMin") ? l.chart.grid.labels.yAxis.scaleMin = d.config.chart.grid.labels.yAxis.scaleMin : l.chart.grid.labels.yAxis.scaleMin = null, d.config && Xe(d.config, "chart.grid.labels.yAxis.scaleMax") ? l.chart.grid.labels.yAxis.scaleMax = d.config.chart.grid.labels.yAxis.scaleMax : l.chart.grid.labels.yAxis.scaleMax = null, d.config && Xe(d.config, "chart.zoom.startIndex") ? l.chart.zoom.startIndex = d.config.chart.zoom.startIndex : l.chart.zoom.startIndex = null, d.config && Xe(d.config, "chart.zoom.endIndex") ? l.chart.zoom.endIndex = d.config.chart.zoom.endIndex : l.chart.zoom.endIndex = null, d.config && Xe(d.config, "chart.grid.labels.yAxis.groupColor") ? l.chart.grid.labels.yAxis.groupColor = d.config.chart.grid.labels.yAxis.groupColor : l.chart.grid.labels.yAxis.groupColor = null, d.config && Xe(d.config, "chart.annotations") && Array.isArray(d.config.chart.annotations) && d.config.chart.annotations.length ? l.chart.annotations = d.config.chart.annotations.map((u) => ua({
807
809
  defaultConfig: al.chart.annotations[0],
808
810
  userConfig: u
809
- })) : l.chart.annotations = [], d.config && Je(d.config, "chart.grid.position") && d.config.chart.grid.position === "start" && d.dataset.length && d.dataset.some((u) => u.type === "bar") && (l.chart.grid.position = "middle", Je(d.config, "debug") && console.warn("Vue Data UI - VueUiXy - config.chart.grid.position was overriden to `middle` because your dataset contains a bar")), d.config && Je(d.config, "chart.grid.labels.yAxis.serieNameFormatter") ? l.chart.grid.labels.yAxis.serieNameFormatter = d.config.chart.grid.labels.yAxis.serieNameFormatter : l.chart.grid.labels.yAxis.serieNameFormatter = null, d.config && Je(d.config, "events.datapointEnter") ? l.events.datapointEnter = d.config.events.datapointEnter : l.events.datapointEnter = null, d.config && Je(d.config, "events.datapointLeave") ? l.events.datapointLeave = d.config.events.datapointLeave : l.events.datapointLeave = null, d.config && Je(d.config, "events.datapointClick") ? l.events.datapointClick = d.config.events.datapointClick : l.events.datapointClick = null, l.theme ? {
811
+ })) : l.chart.annotations = [], d.config && Xe(d.config, "chart.grid.position") && d.config.chart.grid.position === "start" && d.dataset.length && d.dataset.some((u) => u.type === "bar") && (l.chart.grid.position = "middle", Xe(d.config, "debug") && console.warn("Vue Data UI - VueUiXy - config.chart.grid.position was overriden to `middle` because your dataset contains a bar")), d.config && Xe(d.config, "chart.grid.labels.yAxis.serieNameFormatter") ? l.chart.grid.labels.yAxis.serieNameFormatter = d.config.chart.grid.labels.yAxis.serieNameFormatter : l.chart.grid.labels.yAxis.serieNameFormatter = null, d.config && Xe(d.config, "events.datapointEnter") ? l.events.datapointEnter = d.config.events.datapointEnter : l.events.datapointEnter = null, d.config && Xe(d.config, "events.datapointLeave") ? l.events.datapointLeave = d.config.events.datapointLeave : l.events.datapointLeave = null, d.config && Xe(d.config, "events.datapointClick") ? l.events.datapointClick = d.config.events.datapointClick : l.events.datapointClick = null, l.theme ? {
810
812
  ...ua({
811
813
  userConfig: ln.vue_ui_xy[l.theme] || d.config,
812
814
  defaultConfig: l
@@ -837,7 +839,7 @@ const xn = {
837
839
  useIndividualScale: t.value.chart.grid.labels.yAxis.useIndividualScale
838
840
  }, kl.value = !0);
839
841
  }
840
- const Ue = x(() => !!t.value.debug), { loading: ge, FINAL_DATASET: Se, manualLoading: Nt } = sn({
842
+ const qe = x(() => !!t.value.debug), { loading: ge, FINAL_DATASET: Se, manualLoading: Nt } = sn({
841
843
  ...Ho(d),
842
844
  FINAL_CONFIG: t,
843
845
  prepareConfig: rt,
@@ -932,9 +934,9 @@ const xn = {
932
934
  const Rt = wl((l, u) => na({ data: l, threshold: u })), Ae = (l) => Rt(l, t.value.downsample.threshold), be = x({
933
935
  get: () => Math.max(...Se.value.map((l) => Ae(l.series).length)),
934
936
  set: (l) => l
935
- }), f = p({ start: 0, end: be.value }), g = p({ start: 0, end: be.value }), h = x(() => t.value.chart.zoom.preview.enable && (g.value.start !== f.value.start || g.value.end !== f.value.end));
937
+ }), f = p({ start: 0, end: be.value }), m = p({ start: 0, end: be.value }), h = x(() => t.value.chart.zoom.preview.enable && (m.value.start !== f.value.start || m.value.end !== f.value.end));
936
938
  function w(l, u) {
937
- g.value[l] = u;
939
+ m.value[l] = u;
938
940
  }
939
941
  function X() {
940
942
  const l = Math.max(
@@ -942,10 +944,10 @@ const xn = {
942
944
  ...Se.value.map((n) => Ae(n.series).length)
943
945
  );
944
946
  let u = Math.max(0, Math.min(f.value.start ?? 0, l - 1)), e = Math.max(u + 1, Math.min(f.value.end ?? l, l));
945
- (!Number.isFinite(u) || !Number.isFinite(e) || e <= u) && (u = 0, e = l), f.value = { start: u, end: e }, g.value.start = u, g.value.end = e;
947
+ (!Number.isFinite(u) || !Number.isFinite(e) || e <= u) && (u = 0, e = l), f.value = { start: u, end: e }, m.value.start = u, m.value.end = e;
946
948
  }
947
949
  const Pe = x(() => {
948
- const { left: l, top: u, width: e, height: n } = c.value, a = f.value.start, o = f.value.end - a, z = e / o, B = g.value.start - a, E = g.value.end - a, L = Math.max(0, Math.min(o, B)), I = Math.max(0, Math.min(o, E));
950
+ const { left: l, top: u, width: e, height: n } = c.value, a = f.value.start, o = f.value.end - a, z = e / o, B = m.value.start - a, E = m.value.end - a, L = Math.max(0, Math.min(o, B)), I = Math.max(0, Math.min(o, E));
949
951
  return {
950
952
  x: l + L * z,
951
953
  y: u,
@@ -1003,7 +1005,7 @@ const xn = {
1003
1005
  absoluteValues: l.series,
1004
1006
  segregate: () => _a(l),
1005
1007
  isSegregated: ne.value.includes(l.id)
1006
- }))), qe = x(() => gt.value.map((l, u) => ({
1008
+ }))), Ze = x(() => gt.value.map((l, u) => ({
1007
1009
  ...l,
1008
1010
  series: l.series.map((e) => e + cl.value),
1009
1011
  absoluteValues: l.series
@@ -1032,7 +1034,7 @@ const xn = {
1032
1034
  });
1033
1035
  const ra = x(() => {
1034
1036
  let l = 0;
1035
- Ge.value && (l = Ge.value.getBBox().height);
1037
+ Ue.value && (l = Ue.value.getBBox().height);
1036
1038
  let u = 0;
1037
1039
  return ht.value && (u = Zl.value), l + u + S.value.xAxis;
1038
1040
  }), uo = x(() => Se.value.some((l) => l.useProgression)), c = x(() => {
@@ -1172,7 +1174,7 @@ const xn = {
1172
1174
  );
1173
1175
  });
1174
1176
  function ma(l, u) {
1175
- const e = qe.value.map((n) => ({
1177
+ const e = Ze.value.map((n) => ({
1176
1178
  shape: n.shape || null,
1177
1179
  name: n.name,
1178
1180
  color: n.color,
@@ -1199,7 +1201,7 @@ const xn = {
1199
1201
  k.value.isStacked = !k.value.isStacked, k.value.isStacked ? k.value.useIndividualScale = !0 : k.value.useIndividualScale = t.value.chart.grid.labels.yAxis.useIndividualScale;
1200
1202
  }
1201
1203
  function Ql(l) {
1202
- Ue.value && l.autoScaling && (t.value.chart.grid.labels.yAxis.useIndividualScale || console.warn(`VueUiXy (datapoint: ${l.name}) : autoScaling only works when config.chart.grid.labels.yAxis.useIndividualScale is set to true`), t.value.chart.grid.labels.yAxis.stacked || console.warn(`VueUiXy (datapoint: ${l.name}) : autoScaling only works when config.chart.grid.labels.yAxis.stacked is set to true`));
1204
+ qe.value && l.autoScaling && (t.value.chart.grid.labels.yAxis.useIndividualScale || console.warn(`VueUiXy (datapoint: ${l.name}) : autoScaling only works when config.chart.grid.labels.yAxis.useIndividualScale is set to true`), t.value.chart.grid.labels.yAxis.stacked || console.warn(`VueUiXy (datapoint: ${l.name}) : autoScaling only works when config.chart.grid.labels.yAxis.stacked is set to true`));
1203
1205
  }
1204
1206
  function fo(l, u) {
1205
1207
  const e = yl(l), n = Array(e).fill(0);
@@ -1213,7 +1215,7 @@ const xn = {
1213
1215
  async function Al() {
1214
1216
  await Dt(), await Dt();
1215
1217
  const { startIndex: l, endIndex: u } = t.value.chart.zoom, e = He.value, n = Math.max(...Se.value.map((a) => Ae(a.series).length));
1216
- f.value = { start: 0, end: n }, (l != null || u != null) && e ? (l != null ? (f.value.start = l, e.setStartValue(l)) : (f.value.start = 0, e.setStartValue(0)), u != null ? (f.value.end = u + 1, e.setEndValue(mo(u + 1))) : (f.value.end = n, e.setEndValue(n))) : (f.value = { start: 0, end: n }, kt.value += 1), g.value.start = f.value.start, g.value.end = f.value.end, X();
1218
+ f.value = { start: 0, end: n }, (l != null || u != null) && e ? (l != null ? (f.value.start = l, e.setStartValue(l)) : (f.value.start = 0, e.setStartValue(0)), u != null ? (f.value.end = u + 1, e.setEndValue(mo(u + 1))) : (f.value.end = n, e.setEndValue(n))) : (f.value = { start: 0, end: n }, kt.value += 1), m.value.start = f.value.start, m.value.end = f.value.end, X();
1217
1219
  }
1218
1220
  async function xa() {
1219
1221
  await Al();
@@ -1278,7 +1280,7 @@ const xn = {
1278
1280
  vl.value != null && po(vl.value);
1279
1281
  }
1280
1282
  function po(l) {
1281
- const u = qe.value.map((e) => ({
1283
+ const u = Ze.value.map((e) => ({
1282
1284
  name: e.name,
1283
1285
  value: [null, void 0, NaN].includes(e.absoluteValues[l]) ? null : e.absoluteValues[l],
1284
1286
  color: e.color,
@@ -1320,7 +1322,7 @@ const xn = {
1320
1322
  if (ne.value.length + 1 === gt.value.length) return;
1321
1323
  ne.value.push(l.id);
1322
1324
  }
1323
- nt("selectLegend", qe.value.map((u) => ({
1325
+ nt("selectLegend", Ze.value.map((u) => ({
1324
1326
  name: u.name,
1325
1327
  values: u.absoluteValues,
1326
1328
  color: u.color,
@@ -1350,7 +1352,7 @@ const xn = {
1350
1352
  ...l,
1351
1353
  series: Ae(l.series),
1352
1354
  id: `uniqueId_${u}`
1353
- })) : Se.value), Lo = x(() => qe.value.map((l) => {
1355
+ })) : Se.value), Lo = x(() => Ze.value.map((l) => {
1354
1356
  const u = l.absoluteValues.map((e) => [void 0, null].includes(e) ? 0 : e);
1355
1357
  return {
1356
1358
  id: l.id,
@@ -1405,7 +1407,7 @@ const xn = {
1405
1407
  e.push(l.map((i) => i.series[a] || 0).reduce((i, o) => (i || 0) + (o || 0), 0));
1406
1408
  const n = Math.min(...e);
1407
1409
  return e.map((a) => a + (n < 0 ? Math.abs(n) : 0));
1408
- }), bt = x(() => qe.value.map((l) => ({
1410
+ }), bt = x(() => Ze.value.map((l) => ({
1409
1411
  slotAbsoluteIndex: l.slotAbsoluteIndex,
1410
1412
  shape: l.shape || null,
1411
1413
  name: l.name,
@@ -1866,14 +1868,14 @@ const xn = {
1866
1868
  l += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;"><div style="width:20px">${i}</div> ${a.name}: <b>${t.value.chart.tooltip.showValue ? Le(
1867
1869
  a.type === "line" ? t.value.line.labels.formatter : a.type === "bar" ? t.value.bar.labels.formatter : t.value.plot.labels.formatter,
1868
1870
  a.value,
1869
- Ke({
1871
+ Je({
1870
1872
  p: a.prefix,
1871
1873
  v: a.value,
1872
1874
  s: a.suffix,
1873
1875
  r: t.value.chart.tooltip.roundingValue
1874
1876
  }),
1875
1877
  { datapoint: a }
1876
- ) : ""}</b> ${t.value.chart.tooltip.showPercentage ? `(${Ke({
1878
+ ) : ""}</b> ${t.value.chart.tooltip.showPercentage ? `(${Je({
1877
1879
  v: W(Math.abs(a.value) / u * 100),
1878
1880
  s: "%",
1879
1881
  r: t.value.chart.tooltip.roundingPercentage
@@ -1882,32 +1884,32 @@ const xn = {
1882
1884
  }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${t.value.chart.tooltip.color}">${l}</div>`;
1883
1885
  }), Na = x(() => {
1884
1886
  if (gt.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
1885
- const l = qe.value.map((e) => ({
1887
+ const l = Ze.value.map((e) => ({
1886
1888
  label: e.name,
1887
1889
  color: e.color,
1888
1890
  type: e.type
1889
1891
  })), u = [];
1890
1892
  return _e.value.forEach((e, n) => {
1891
1893
  const a = t.value.table.useDefaultTimeFormat ? [e.text] : [Kt.value(n + f.value.start, t.value.table.timeFormat)];
1892
- qe.value.forEach((i) => {
1894
+ Ze.value.forEach((i) => {
1893
1895
  a.push(Ee(i.absoluteValues[n]) ? Number(i.absoluteValues[n].toFixed(t.value.table.rounding)) : "");
1894
1896
  }), u.push(a);
1895
1897
  }), { head: l, body: u };
1896
1898
  }), Pl = x(() => {
1897
1899
  const l = t.value.table.showSum;
1898
- let u = [""].concat(qe.value.map((i) => i.name));
1900
+ let u = [""].concat(Ze.value.map((i) => i.name));
1899
1901
  l && (u = u.concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>'));
1900
1902
  let e = [];
1901
1903
  for (let i = 0; i < T.value; i += 1) {
1902
- const o = qe.value.map((z) => z.absoluteValues[i] ?? 0).reduce((z, B) => z + B, 0);
1904
+ const o = Ze.value.map((z) => z.absoluteValues[i] ?? 0).reduce((z, B) => z + B, 0);
1903
1905
  e.push(
1904
1906
  [
1905
1907
  t.value.table.useDefaultTimeFormat ? _e.value[i].text ?? "-" : Kt.value(i + f.value.start, t.value.table.timeFormat)
1906
- ].concat(qe.value.map(
1908
+ ].concat(Ze.value.map(
1907
1909
  (z) => Le(
1908
1910
  z.type === "line" ? t.value.line.labels.formatter : z.type === "bar" ? t.value.bar.labels.formatter : t.value.plot.labels.formatter,
1909
1911
  z.absoluteValues[i] ?? 0,
1910
- Ke({
1912
+ Je({
1911
1913
  p: z.prefix || t.value.chart.labels.prefix,
1912
1914
  v: z.absoluteValues[i] ?? 0,
1913
1915
  s: z.suffix || t.value.chart.labels.suffix,
@@ -1929,7 +1931,7 @@ const xn = {
1929
1931
  outline: t.value.table.td.outline
1930
1932
  },
1931
1933
  breakpoint: t.value.table.responsiveBreakpoint
1932
- }, a = [t.value.table.columnNames.period].concat(qe.value.map((i) => i.name)).concat(t.value.table.columnNames.total);
1934
+ }, a = [t.value.table.columnNames.period].concat(Ze.value.map((i) => i.name)).concat(t.value.table.columnNames.total);
1933
1935
  return { head: u, body: e, config: n, colNames: a };
1934
1936
  });
1935
1937
  function ta(l = null) {
@@ -1938,7 +1940,7 @@ const xn = {
1938
1940
  }
1939
1941
  function Ra(l, u = null) {
1940
1942
  xl.value = l;
1941
- const e = qe.value.map((n) => ({
1943
+ const e = Ze.value.map((n) => ({
1942
1944
  name: n.name,
1943
1945
  value: [null, void 0, NaN].includes(n.absoluteValues[u]) ? null : n.absoluteValues[u],
1944
1946
  color: n.color,
@@ -2005,16 +2007,16 @@ const xn = {
2005
2007
  to(d.dataset) ? (oa({
2006
2008
  componentName: "VueUiXy",
2007
2009
  type: "dataset",
2008
- debug: Ue.value
2010
+ debug: qe.value
2009
2011
  }), Nt.value = !0) : d.dataset.forEach((u, e) => {
2010
2012
  [null, void 0].includes(u.name) && (oa({
2011
2013
  componentName: "VueUiXy",
2012
2014
  type: "datasetSerieAttribute",
2013
2015
  property: "name (string)",
2014
2016
  index: e,
2015
- debug: Ue.value
2017
+ debug: qe.value
2016
2018
  }), Nt.value = !0);
2017
- }), Ue.value && d.dataset.forEach((u) => {
2019
+ }), qe.value && d.dataset.forEach((u) => {
2018
2020
  u.series.forEach((e, n) => {
2019
2021
  Fl(e) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
2020
2022
  -----> The serie '${u.name}' contains the value '${e}' at index ${n}.
@@ -2202,28 +2204,28 @@ const xn = {
2202
2204
  toggleFullscreen: Ba
2203
2205
  }), (l, u) => (s(), r("div", {
2204
2206
  id: `vue-ui-xy_${Z.value}`,
2205
- class: Xe(`vue-ui-xy ${Ie.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
2207
+ class: Ye(`vue-ui-xy ${Ie.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
2206
2208
  ref_key: "chart",
2207
2209
  ref: fe,
2208
2210
  style: _(`background:${t.value.chart.backgroundColor}; color:${t.value.chart.color};width:100%;font-family:${t.value.chart.fontFamily};${t.value.responsive ? "height: 100%" : ""}`),
2209
2211
  onMouseenter: u[10] || (u[10] = () => ha(!0)),
2210
2212
  onMouseleave: u[11] || (u[11] = () => ha(!1))
2211
2213
  }, [
2212
- t.value.chart.userOptions.buttons.annotator && we.value ? (s(), Ze(v(Xt), {
2214
+ t.value.chart.userOptions.buttons.annotator && we.value ? (s(), Ke(v(Xt), {
2213
2215
  key: 0,
2214
2216
  svgRef: we.value,
2215
2217
  backgroundColor: t.value.chart.backgroundColor,
2216
2218
  color: t.value.chart.color,
2217
2219
  active: Ce.value,
2218
2220
  onClose: Kl
2219
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
2221
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
2220
2222
  So.value ? (s(), r("div", {
2221
2223
  key: 1,
2222
2224
  ref_key: "noTitle",
2223
2225
  ref: Tt,
2224
2226
  class: "vue-data-ui-no-title-space",
2225
2227
  style: "height:36px; width: 100%; background:transparent"
2226
- }, null, 512)) : m("", !0),
2228
+ }, null, 512)) : g("", !0),
2227
2229
  t.value.chart.title.show ? (s(), r("div", {
2228
2230
  key: 2,
2229
2231
  ref_key: "chartTitle",
@@ -2231,7 +2233,7 @@ const xn = {
2231
2233
  class: "vue-ui-xy-title",
2232
2234
  style: _(`font-family:${t.value.chart.fontFamily}`)
2233
2235
  }, [
2234
- (s(), Ze(fn, {
2236
+ (s(), Ke(fn, {
2235
2237
  key: `title_${sl.value}`,
2236
2238
  config: {
2237
2239
  title: {
@@ -2244,11 +2246,11 @@ const xn = {
2244
2246
  }
2245
2247
  }
2246
2248
  }, null, 8, ["config"]))
2247
- ], 4)) : m("", !0),
2249
+ ], 4)) : g("", !0),
2248
2250
  y("div", {
2249
2251
  id: `legend-top-${Z.value}`
2250
2252
  }, null, 8, Vn),
2251
- t.value.chart.userOptions.show && (rl.value || Gt.value) ? (s(), Ze(v(re), {
2253
+ t.value.chart.userOptions.show && (rl.value || Gt.value) ? (s(), Ke(v(re), {
2252
2254
  ref_key: "userOptionsRef",
2253
2255
  ref: j,
2254
2256
  key: `user_options_${ul.value}`,
@@ -2359,12 +2361,12 @@ const xn = {
2359
2361
  ]),
2360
2362
  key: "9"
2361
2363
  } : void 0
2362
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasLabel", "hasTable", "hasStack", "hasFullscreen", "isStacked", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "tableDialog", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
2364
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasLabel", "hasTable", "hasStack", "hasFullscreen", "isStacked", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "tableDialog", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
2363
2365
  (s(), r("svg", {
2364
2366
  ref_key: "svgRef",
2365
2367
  ref: we,
2366
2368
  xmlns: "http://www.w3.org/2000/svg",
2367
- class: Xe([{ "vue-data-ui-fullscreen--on": Ie.value, "vue-data-ui-fulscreen--off": !Ie.value }, "vue-ui-xy-svg vue-data-ui-svg"]),
2369
+ class: Ye([{ "vue-data-ui-fullscreen--on": Ie.value, "vue-data-ui-fulscreen--off": !Ie.value }, "vue-ui-xy-svg vue-data-ui-svg"]),
2368
2370
  width: "100%",
2369
2371
  viewBox: it.value,
2370
2372
  style: _({
@@ -2397,7 +2399,7 @@ const xn = {
2397
2399
  }
2398
2400
  }, [
2399
2401
  Q(l.$slots, "chart-background", {}, void 0, !0)
2400
- ], 8, Dn)) : m("", !0),
2402
+ ], 8, Dn)) : g("", !0),
2401
2403
  T.value > 0 ? (s(), r("g", Wn, [
2402
2404
  y("g", Xn, [
2403
2405
  t.value.chart.grid.labels.xAxis.showBaseline ? (s(), r("line", {
@@ -2410,7 +2412,7 @@ const xn = {
2410
2412
  y2: v(q)(c.value.bottom),
2411
2413
  "stroke-linecap": "round",
2412
2414
  style: { animation: "none !important" }
2413
- }, null, 8, Yn)) : m("", !0),
2415
+ }, null, 8, Yn)) : g("", !0),
2414
2416
  k.value.useIndividualScale ? t.value.chart.grid.showHorizontalLines ? (s(!0), r(b, { key: 2 }, C(dl.value, (e) => (s(), r("g", null, [
2415
2417
  e.id === O.value && e.yLabels.length ? (s(!0), r(b, { key: 0 }, C(e.yLabels, (n) => (s(), r("line", {
2416
2418
  x1: c.value.left + te.value,
@@ -2430,8 +2432,8 @@ const xn = {
2430
2432
  "stroke-width": 0.5,
2431
2433
  "stroke-linecap": "round",
2432
2434
  style: { animation: "none !important" }
2433
- }, null, 8, Kn))), 256)) : m("", !0)
2434
- ]))), 256)) : m("", !0) : (s(), r(b, { key: 1 }, [
2435
+ }, null, 8, Kn))), 256)) : g("", !0)
2436
+ ]))), 256)) : g("", !0) : (s(), r(b, { key: 1 }, [
2435
2437
  t.value.chart.grid.labels.yAxis.showBaseline ? (s(), r("line", {
2436
2438
  key: 0,
2437
2439
  stroke: t.value.chart.grid.stroke,
@@ -2442,7 +2444,7 @@ const xn = {
2442
2444
  y2: v(q)(c.value.bottom),
2443
2445
  "stroke-linecap": "round",
2444
2446
  style: { animation: "none !important" }
2445
- }, null, 8, Gn)) : m("", !0),
2447
+ }, null, 8, Gn)) : g("", !0),
2446
2448
  t.value.chart.grid.showHorizontalLines ? (s(), r("g", Un, [
2447
2449
  (s(!0), r(b, null, C(Ma.value, (e) => (s(), r("line", {
2448
2450
  x1: c.value.left + te.value,
@@ -2454,7 +2456,7 @@ const xn = {
2454
2456
  "stroke-linecap": "round",
2455
2457
  style: { animation: "none !important" }
2456
2458
  }, null, 8, qn))), 256))
2457
- ])) : m("", !0)
2459
+ ])) : g("", !0)
2458
2460
  ], 64)),
2459
2461
  t.value.chart.grid.showVerticalLines ? (s(), r("g", Jn, [
2460
2462
  y("path", {
@@ -2464,7 +2466,7 @@ const xn = {
2464
2466
  "stroke-linecap": "round",
2465
2467
  style: { animation: "none !important" }
2466
2468
  }, null, 8, Qn)
2467
- ])) : m("", !0),
2469
+ ])) : g("", !0),
2468
2470
  t.value.chart.grid.labels.xAxisLabels.show ? (s(), r("g", jn, [
2469
2471
  y("path", {
2470
2472
  d: so.value,
@@ -2473,7 +2475,7 @@ const xn = {
2473
2475
  "stroke-linecap": "round",
2474
2476
  style: { animation: "none !important" }
2475
2477
  }, null, 8, eu)
2476
- ])) : m("", !0)
2478
+ ])) : g("", !0)
2477
2479
  ]),
2478
2480
  (s(!0), r(b, null, C(xt.value, (e, n) => (s(), r("defs", {
2479
2481
  key: `def_rect_${n}`
@@ -2603,9 +2605,9 @@ const xn = {
2603
2605
  y("div", {
2604
2606
  style: _(`padding:${e.caption.padding}px;text-align:${e.caption.textAlign};font-size:${e.caption.fontSize}px;color:${e.caption.color};font-weight:${e.caption.bold ? "bold" : "normal"}`)
2605
2607
  }, oe(e.caption.text), 5)
2606
- ], 12, pu)) : m("", !0)
2608
+ ], 12, pu)) : g("", !0)
2607
2609
  ]))), 256))
2608
- ], 64)) : m("", !0)
2610
+ ], 64)) : g("", !0)
2609
2611
  ]))), 256)),
2610
2612
  da.value ? (s(), r("g", yu, [
2611
2613
  (s(!0), r(b, null, C(T.value, (e, n) => (s(), r("g", {
@@ -2620,10 +2622,10 @@ const xn = {
2620
2622
  style: { transition: "none !important", animation: "none !important" }
2621
2623
  }, null, 8, ku)
2622
2624
  ]))), 128))
2623
- ])) : m("", !0),
2625
+ ])) : g("", !0),
2624
2626
  xt.value.length ? (s(!0), r(b, { key: 1 }, C(xt.value, (e, n) => (s(), r("g", {
2625
2627
  key: `serie_bar_${e.id}`,
2626
- class: Xe(`serie_bar_${n}`),
2628
+ class: Ye(`serie_bar_${n}`),
2627
2629
  style: _(`opacity:${O.value ? O.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2628
2630
  }, [
2629
2631
  (s(!0), r(b, null, C(e.plots, (a, i) => (s(), r("g", {
@@ -2642,7 +2644,7 @@ const xn = {
2642
2644
  style: _({
2643
2645
  transition: v(ge) || !t.value.bar.showTransition ? void 0 : `all ${t.value.bar.transitionDurationMs}ms ease-in-out`
2644
2646
  })
2645
- }, null, 12, wu)) : m("", !0),
2647
+ }, null, 12, wu)) : g("", !0),
2646
2648
  Ee(a.value) && l.$slots.pattern ? (s(), r("rect", {
2647
2649
  key: 1,
2648
2650
  x: zl(a) - Nl.value / 2,
@@ -2654,7 +2656,7 @@ const xn = {
2654
2656
  stroke: t.value.bar.border.useSerieColor ? e.color : t.value.bar.border.stroke,
2655
2657
  "stroke-width": t.value.bar.border.strokeWidth,
2656
2658
  style: _({ transition: v(ge) || !t.value.bar.showTransition ? void 0 : `all ${t.value.bar.transitionDurationMs}ms ease-in-out` })
2657
- }, null, 12, Su)) : m("", !0),
2659
+ }, null, 12, Su)) : g("", !0),
2658
2660
  a.comment && t.value.chart.comments.show ? (s(), r("foreignObject", {
2659
2661
  key: 2,
2660
2662
  style: { overflow: "visible" },
@@ -2666,7 +2668,7 @@ const xn = {
2666
2668
  Q(l.$slots, "plot-comment", {
2667
2669
  plot: { ...a, color: e.color, seriesIndex: n, datapointIndex: i }
2668
2670
  }, void 0, !0)
2669
- ], 8, _u)) : m("", !0)
2671
+ ], 8, _u)) : g("", !0)
2670
2672
  ]))), 128)),
2671
2673
  Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(v(le)(e.plots).trend) ? (s(), r("g", $u, [
2672
2674
  y("defs", null, [
@@ -2694,7 +2696,7 @@ const xn = {
2694
2696
  stroke: e.color,
2695
2697
  "stroke-dasharray": 2,
2696
2698
  "marker-end": `url(#bar_arrow_${n})`
2697
- }, null, 8, Cu)) : m("", !0),
2699
+ }, null, 8, Cu)) : g("", !0),
2698
2700
  e.plots.length > 1 ? (s(), r("text", {
2699
2701
  key: 1,
2700
2702
  "text-anchor": "middle",
@@ -2702,13 +2704,13 @@ const xn = {
2702
2704
  y: v(le)(e.plots).y2 - 6,
2703
2705
  "font-size": S.value.plotLabels,
2704
2706
  fill: e.color
2705
- }, oe(v(Ke)({
2707
+ }, oe(v(Je)({
2706
2708
  v: v(le)(e.plots).trend * 100,
2707
2709
  s: "%",
2708
2710
  r: 2
2709
- })), 9, Au)) : m("", !0)
2710
- ])) : m("", !0)
2711
- ], 6))), 128)) : m("", !0),
2711
+ })), 9, Au)) : g("", !0)
2712
+ ])) : g("", !0)
2713
+ ], 6))), 128)) : g("", !0),
2712
2714
  !k.value.useIndividualScale && t.value.chart.grid.labels.zeroLine.show ? (s(), r("line", {
2713
2715
  key: 2,
2714
2716
  stroke: t.value.chart.grid.stroke,
@@ -2719,7 +2721,7 @@ const xn = {
2719
2721
  y2: v(q)(ze.value),
2720
2722
  "stroke-linecap": "round",
2721
2723
  style: { animation: "none !important" }
2722
- }, null, 8, zu)) : m("", !0),
2724
+ }, null, 8, zu)) : g("", !0),
2723
2725
  t.value.chart.highlighter.useLine && (![null, void 0].includes($.value) || ![null, void 0].includes(F.value)) ? (s(), r("g", Tu, [
2724
2726
  y("line", {
2725
2727
  x1: c.value.left + c.value.width / T.value * (($.value !== null ? $.value : 0) || (F.value !== null ? F.value : 0)) + c.value.width / T.value / 2,
@@ -2732,7 +2734,7 @@ const xn = {
2732
2734
  "stroke-linecap": "round",
2733
2735
  style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
2734
2736
  }, null, 8, Iu)
2735
- ])) : m("", !0),
2737
+ ])) : g("", !0),
2736
2738
  t.value.chart.grid.frame.show ? (s(), r("rect", {
2737
2739
  key: 4,
2738
2740
  style: { pointerEvents: "none", transition: "none", animation: "none !important" },
@@ -2746,7 +2748,7 @@ const xn = {
2746
2748
  "stroke-linecap": t.value.chart.grid.frame.strokeLinecap,
2747
2749
  "stroke-linejoin": t.value.chart.grid.frame.strokeLinejoin,
2748
2750
  "stroke-dasharray": t.value.chart.grid.frame.strokeDasharray
2749
- }, null, 8, Nu)) : m("", !0),
2751
+ }, null, 8, Nu)) : g("", !0),
2750
2752
  t.value.chart.grid.labels.show ? (s(), r("g", {
2751
2753
  key: 5,
2752
2754
  ref_key: "scaleLabels",
@@ -2786,7 +2788,7 @@ const xn = {
2786
2788
  "stroke-width": 1,
2787
2789
  "stroke-linecap": "round",
2788
2790
  style: { animation: "none !important" }
2789
- }, null, 8, Ou)) : m("", !0)
2791
+ }, null, 8, Ou)) : g("", !0)
2790
2792
  ], 64))), 256)),
2791
2793
  (s(!0), r(b, null, C(e.yLabels, (n, a) => (s(), r("text", {
2792
2794
  x: e.x - 5 + te.value - c.value.individualOffsetX,
@@ -2797,7 +2799,7 @@ const xn = {
2797
2799
  }, oe(v(Le)(
2798
2800
  t.value.chart.grid.labels.yAxis.formatter,
2799
2801
  n.value,
2800
- v(Ke)({
2802
+ v(Je)({
2801
2803
  p: n.prefix,
2802
2804
  v: n.value,
2803
2805
  s: n.suffix,
@@ -2819,7 +2821,7 @@ const xn = {
2819
2821
  "stroke-width": "1",
2820
2822
  "stroke-linecap": "round",
2821
2823
  style: { animation: "none !important" }
2822
- }, null, 8, Bu)) : m("", !0),
2824
+ }, null, 8, Bu)) : g("", !0),
2823
2825
  e.value >= et.value.min && e.value <= et.value.max ? (s(), r("text", {
2824
2826
  key: 1,
2825
2827
  x: c.value.scaleLabelX - t.value.chart.grid.labels.yAxis.crosshairSize,
@@ -2830,24 +2832,24 @@ const xn = {
2830
2832
  }, oe(Ee(e.value) ? v(Le)(
2831
2833
  t.value.chart.grid.labels.yAxis.formatter,
2832
2834
  e.value,
2833
- v(Ke)({
2835
+ v(Je)({
2834
2836
  p: e.prefix,
2835
2837
  v: e.value,
2836
2838
  s: e.suffix,
2837
2839
  r: t.value.chart.grid.labels.yAxis.rounding
2838
2840
  })
2839
- ) : ""), 9, Hu)) : m("", !0)
2841
+ ) : ""), 9, Hu)) : g("", !0)
2840
2842
  ]))), 128))
2841
- ], 512)) : m("", !0),
2843
+ ], 512)) : g("", !0),
2842
2844
  (s(!0), r(b, null, C(tt.value, (e, n) => (s(), r("g", {
2843
2845
  key: `serie_plot_${e.id}`,
2844
- class: Xe(`serie_plot_${n}`),
2846
+ class: Ye(`serie_plot_${n}`),
2845
2847
  style: _(`opacity:${O.value ? O.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2846
2848
  }, [
2847
2849
  (s(!0), r(b, null, C(e.plots, (a, i) => (s(), r("g", {
2848
2850
  key: `circle_plot_${n}_${i}`
2849
2851
  }, [
2850
- a && Ee(a.value) ? (s(), Ze(Hl, {
2852
+ a && Ee(a.value) ? (s(), Ke(Hl, {
2851
2853
  key: 0,
2852
2854
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(e.shape) ? e.shape : "circle",
2853
2855
  color: t.value.plot.useGradient ? `url(#plotGradient_${n}_${Z.value})` : t.value.plot.dot.useSerieColor ? e.color : t.value.plot.dot.fill,
@@ -2856,7 +2858,7 @@ const xn = {
2856
2858
  stroke: t.value.plot.dot.useSerieColor ? t.value.chart.backgroundColor : e.color,
2857
2859
  strokeWidth: t.value.plot.dot.strokeWidth,
2858
2860
  transition: v(ge) || !t.value.plot.showTransition || $.value !== null && $.value === i || F.value !== null && F.value === i ? void 0 : `all ${t.value.plot.transitionDurationMs}ms ease-in-out`
2859
- }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth", "transition"])) : m("", !0),
2861
+ }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth", "transition"])) : g("", !0),
2860
2862
  a.comment && t.value.chart.comments.show ? (s(), r("foreignObject", {
2861
2863
  key: 1,
2862
2864
  style: { overflow: "visible" },
@@ -2870,7 +2872,7 @@ const xn = {
2870
2872
  plot: { ...a, color: e.color, seriesIndex: n, datapointIndex: i }
2871
2873
  }, void 0, !0)
2872
2874
  ])
2873
- ], 8, Vu)) : m("", !0)
2875
+ ], 8, Vu)) : g("", !0)
2874
2876
  ]))), 128)),
2875
2877
  Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(v(le)(e.plots).trend) ? (s(), r("g", Du, [
2876
2878
  y("defs", null, [
@@ -2898,7 +2900,7 @@ const xn = {
2898
2900
  stroke: e.color,
2899
2901
  "stroke-dasharray": 2,
2900
2902
  "marker-end": `url(#plot_arrow_${n})`
2901
- }, null, 8, Yu)) : m("", !0),
2903
+ }, null, 8, Yu)) : g("", !0),
2902
2904
  e.plots.length > 1 ? (s(), r("text", {
2903
2905
  key: 1,
2904
2906
  "text-anchor": "middle",
@@ -2906,16 +2908,16 @@ const xn = {
2906
2908
  y: v(le)(e.plots).y2 - 6,
2907
2909
  "font-size": S.value.plotLabels,
2908
2910
  fill: e.color
2909
- }, oe(v(Ke)({
2911
+ }, oe(v(Je)({
2910
2912
  v: v(le)(e.plots).trend * 100,
2911
2913
  s: "%",
2912
2914
  r: 2
2913
- })), 9, Gu)) : m("", !0)
2914
- ])) : m("", !0)
2915
+ })), 9, Gu)) : g("", !0)
2916
+ ])) : g("", !0)
2915
2917
  ], 6))), 128)),
2916
2918
  (s(!0), r(b, null, C(Oe.value, (e, n) => (s(), r("g", {
2917
2919
  key: `serie_line_${e.id}`,
2918
- class: Xe(`serie_line_${n}`),
2920
+ class: Ye(`serie_line_${n}`),
2919
2921
  style: _(`opacity:${O.value ? O.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2920
2922
  }, [
2921
2923
  e.smooth && e.plots.length > 1 && e.curve ? (s(), r("path", {
@@ -2936,13 +2938,13 @@ const xn = {
2936
2938
  "stroke-linecap": "round",
2937
2939
  "stroke-linejoin": "round",
2938
2940
  style: _({ transition: v(ge) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
2939
- }, null, 12, qu)) : m("", !0)
2941
+ }, null, 12, qu)) : g("", !0)
2940
2942
  ], 6))), 128)),
2941
2943
  l.$slots.pattern ? (s(), r("defs", Zu, [
2942
2944
  (s(!0), r(b, null, C(gt.value, (e, n) => Q(l.$slots, "pattern", gl({
2943
2945
  key: `serie_pattern_slot_${e.id}`
2944
2946
  }, { ref_for: !0 }, { ...e, seriesIndex: e.slotAbsoluteIndex, patternId: `pattern_${Z.value}_${n}` }), void 0, !0)), 128))
2945
- ])) : m("", !0),
2947
+ ])) : g("", !0),
2946
2948
  za.value.length && !k.value.isStacked ? (s(), r("g", Ku, [
2947
2949
  (s(!0), r(b, null, C(za.value, (e) => (s(), r("path", {
2948
2950
  key: e.key,
@@ -2953,10 +2955,10 @@ const xn = {
2953
2955
  "pointer-events": "none",
2954
2956
  style: _({ transition: v(ge) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
2955
2957
  }, null, 12, Ju))), 128))
2956
- ])) : m("", !0),
2958
+ ])) : g("", !0),
2957
2959
  (s(!0), r(b, null, C(Oe.value, (e, n) => (s(), r("g", {
2958
2960
  key: `serie_line_above_${e.id}`,
2959
- class: Xe(`serie_line_${n}`),
2961
+ class: Ye(`serie_line_${n}`),
2960
2962
  style: _(`opacity:${O.value ? O.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2961
2963
  }, [
2962
2964
  e.useArea && e.plots.length > 1 ? (s(), r("g", Qu, [
@@ -2966,28 +2968,28 @@ const xn = {
2966
2968
  d: a,
2967
2969
  fill: t.value.line.area.useGradient ? `url(#areaGradient_${n}_${Z.value})` : v(lt)(e.color, t.value.line.area.opacity),
2968
2970
  style: _({ transition: v(ge) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
2969
- }, null, 12, ju)) : m("", !0),
2971
+ }, null, 12, ju)) : g("", !0),
2970
2972
  l.$slots.pattern && a ? (s(), r("path", {
2971
2973
  key: 1,
2972
2974
  d: a,
2973
2975
  fill: `url(#pattern_${Z.value}_${e.slotAbsoluteIndex})`,
2974
2976
  style: _({ transition: v(ge) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
2975
- }, null, 12, ei)) : m("", !0)
2977
+ }, null, 12, ei)) : g("", !0)
2976
2978
  ], 64))), 128)) : (s(!0), r(b, { key: 1 }, C(e.area.split(";"), (a, i) => (s(), r(b, { key: i }, [
2977
2979
  a ? (s(), r("path", {
2978
2980
  key: 0,
2979
2981
  d: `M${a}Z`,
2980
2982
  fill: t.value.line.area.useGradient ? `url(#areaGradient_${n}_${Z.value})` : v(lt)(e.color, t.value.line.area.opacity),
2981
2983
  style: _({ transition: v(ge) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
2982
- }, null, 12, ti)) : m("", !0),
2984
+ }, null, 12, ti)) : g("", !0),
2983
2985
  l.$slots.pattern && a ? (s(), r("path", {
2984
2986
  key: 1,
2985
2987
  d: `M${a}Z`,
2986
2988
  fill: `url(#pattern_${Z.value}_${e.slotAbsoluteIndex})`,
2987
2989
  style: _({ transition: v(ge) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
2988
- }, null, 12, li)) : m("", !0)
2990
+ }, null, 12, li)) : g("", !0)
2989
2991
  ], 64))), 128))
2990
- ])) : m("", !0),
2992
+ ])) : g("", !0),
2991
2993
  e.smooth && e.plots.length > 1 && e.curve ? (s(), r("path", {
2992
2994
  key: 1,
2993
2995
  d: `M${e.curve}`,
@@ -3007,11 +3009,11 @@ const xn = {
3007
3009
  "stroke-linecap": "round",
3008
3010
  "stroke-linejoin": "round",
3009
3011
  style: _({ transition: v(ge) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3010
- }, null, 12, oi)) : m("", !0),
3012
+ }, null, 12, oi)) : g("", !0),
3011
3013
  (s(!0), r(b, null, C(e.plots, (a, i) => (s(), r(b, {
3012
3014
  key: `circle_line_${n}_${i}`
3013
3015
  }, [
3014
- !$a.value.linePlot && a && Ee(a.value) || $a.value.linePlot && a && Ee(a.value) && ($.value !== null && $.value === i || F.value !== null && F.value === i) || Aa(e.plots, i) ? (s(), Ze(Hl, {
3016
+ !$a.value.linePlot && a && Ee(a.value) || $a.value.linePlot && a && Ee(a.value) && ($.value !== null && $.value === i || F.value !== null && F.value === i) || Aa(e.plots, i) ? (s(), Ke(Hl, {
3015
3017
  key: 0,
3016
3018
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(e.shape) ? e.shape : "circle",
3017
3019
  color: t.value.line.useGradient ? `url(#lineGradient_${n}_${Z.value})` : t.value.line.dot.useSerieColor ? e.color : t.value.line.dot.fill,
@@ -3020,7 +3022,7 @@ const xn = {
3020
3022
  stroke: t.value.line.dot.useSerieColor ? t.value.chart.backgroundColor : e.color,
3021
3023
  strokeWidth: t.value.line.dot.strokeWidth,
3022
3024
  transition: v(ge) || !t.value.line.showTransition || $.value !== null && $.value === i || F.value !== null && F.value === i ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out`
3023
- }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth", "transition"])) : m("", !0),
3025
+ }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth", "transition"])) : g("", !0),
3024
3026
  a.comment && t.value.chart.comments.show ? (s(), r("foreignObject", {
3025
3027
  key: 1,
3026
3028
  style: { overflow: "visible" },
@@ -3034,7 +3036,7 @@ const xn = {
3034
3036
  plot: { ...a, color: e.color, seriesIndex: n, datapointIndex: i }
3035
3037
  }, void 0, !0)
3036
3038
  ])
3037
- ], 8, ni)) : m("", !0)
3039
+ ], 8, ni)) : g("", !0)
3038
3040
  ], 64))), 128)),
3039
3041
  Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(v(le)(e.plots).trend) ? (s(), r("g", ii, [
3040
3042
  y("defs", null, [
@@ -3062,7 +3064,7 @@ const xn = {
3062
3064
  stroke: e.color,
3063
3065
  "stroke-dasharray": 2,
3064
3066
  "marker-end": `url(#line_arrow_${n})`
3065
- }, null, 8, ci)) : m("", !0),
3067
+ }, null, 8, ci)) : g("", !0),
3066
3068
  e.plots.length > 1 ? (s(), r("text", {
3067
3069
  key: 1,
3068
3070
  "text-anchor": "middle",
@@ -3070,12 +3072,12 @@ const xn = {
3070
3072
  y: v(le)(e.plots).y2 - 6,
3071
3073
  "font-size": S.value.plotLabels,
3072
3074
  fill: e.color
3073
- }, oe(v(Ke)({
3075
+ }, oe(v(Je)({
3074
3076
  v: v(le)(e.plots).trend * 100,
3075
3077
  s: "%",
3076
3078
  r: 2
3077
- })), 9, vi)) : m("", !0)
3078
- ])) : m("", !0)
3079
+ })), 9, vi)) : g("", !0)
3080
+ ])) : g("", !0)
3079
3081
  ], 6))), 128)),
3080
3082
  (t.value.bar.labels.show || t.value.bar.serieName.show) && k.value.dataLabels.show ? (s(), r("g", di, [
3081
3083
  (s(!0), r(b, null, C(xt.value, (e, n) => (s(), r(b, {
@@ -3095,7 +3097,7 @@ const xn = {
3095
3097
  }, oe(Ee(a.value) ? v(Le)(
3096
3098
  t.value.bar.labels.formatter,
3097
3099
  a.value,
3098
- v(Ke)({
3100
+ v(Je)({
3099
3101
  p: e.prefix || t.value.chart.labels.prefix,
3100
3102
  v: a.value,
3101
3103
  s: e.suffix || t.value.chart.labels.suffix,
@@ -3105,7 +3107,7 @@ const xn = {
3105
3107
  datapoint: a,
3106
3108
  serie: e
3107
3109
  }
3108
- ) : ""), 13, hi)) : m("", !0),
3110
+ ) : ""), 13, hi)) : g("", !0),
3109
3111
  a && t.value.bar.serieName.show ? (s(), r("text", {
3110
3112
  key: 1,
3111
3113
  x: k.value.useIndividualScale && k.value.isStacked ? a.x + ue.value.line / 2 : a.x + Zt() * 1.1,
@@ -3118,10 +3120,10 @@ const xn = {
3118
3120
  }, oe(t.value.bar.serieName.useAbbreviation ? v(jo)({
3119
3121
  source: e.name,
3120
3122
  length: t.value.bar.serieName.abbreviationSize
3121
- }) : e.name), 13, fi)) : m("", !0)
3123
+ }) : e.name), 13, fi)) : g("", !0)
3122
3124
  ], 64))), 128))
3123
3125
  ], 64))), 128))
3124
- ])) : m("", !0),
3126
+ ])) : g("", !0),
3125
3127
  t.value.plot.labels.show && k.value.dataLabels.show ? (s(), r("g", mi, [
3126
3128
  (s(!0), r(b, null, C(tt.value, (e, n) => (s(), r(b, {
3127
3129
  key: `xLabel_plot_${e.id}`
@@ -3140,7 +3142,7 @@ const xn = {
3140
3142
  }, oe(Ee(a.value) ? v(Le)(
3141
3143
  t.value.plot.labels.formatter,
3142
3144
  a.value,
3143
- v(Ke)({
3145
+ v(Je)({
3144
3146
  p: e.prefix || t.value.chart.labels.prefix,
3145
3147
  v: a.value,
3146
3148
  s: e.suffix || t.value.chart.labels.suffix,
@@ -3150,7 +3152,7 @@ const xn = {
3150
3152
  datapoint: a,
3151
3153
  serie: e
3152
3154
  }
3153
- ) : ""), 13, gi)) : m("", !0)
3155
+ ) : ""), 13, gi)) : g("", !0)
3154
3156
  ], 64))), 128))
3155
3157
  ], 64))), 128))
3156
3158
  ])) : (s(), r("g", bi, [
@@ -3172,7 +3174,7 @@ const xn = {
3172
3174
  "stroke-linecap": "round",
3173
3175
  "stroke-dasharray": "2",
3174
3176
  stroke: e.color
3175
- }, null, 8, wi)) : m("", !0)
3177
+ }, null, 8, wi)) : g("", !0)
3176
3178
  ], 64)) : (s(), r(b, { key: 0 }, [
3177
3179
  a && i === 0 && e.useTag && e.useTag === "start" ? (s(), r("foreignObject", {
3178
3180
  key: 0,
@@ -3195,7 +3197,7 @@ const xn = {
3195
3197
  }
3196
3198
  )
3197
3199
  }, null, 12, pi)
3198
- ], 12, xi)) : m("", !0),
3200
+ ], 12, xi)) : g("", !0),
3199
3201
  a && i === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (s(), r("foreignObject", {
3200
3202
  key: 1,
3201
3203
  x: a.x - e.name.length * (S.value.plotLabels / 2),
@@ -3217,7 +3219,7 @@ const xn = {
3217
3219
  }
3218
3220
  )
3219
3221
  }, null, 12, ki)
3220
- ], 12, yi)) : m("", !0)
3222
+ ], 12, yi)) : g("", !0)
3221
3223
  ], 64))
3222
3224
  ], 64))), 128))
3223
3225
  ], 64))), 128))
@@ -3240,7 +3242,7 @@ const xn = {
3240
3242
  }, oe(Ee(a.value) ? v(Le)(
3241
3243
  t.value.line.labels.formatter,
3242
3244
  a.value,
3243
- v(Ke)({
3245
+ v(Je)({
3244
3246
  p: e.prefix || t.value.chart.labels.prefix,
3245
3247
  v: a.value,
3246
3248
  s: e.suffix || t.value.chart.labels.suffix,
@@ -3250,7 +3252,7 @@ const xn = {
3250
3252
  datapoint: a,
3251
3253
  serie: e
3252
3254
  }
3253
- ) : ""), 13, _i)) : m("", !0)
3255
+ ) : ""), 13, _i)) : g("", !0)
3254
3256
  ], 64))), 128))
3255
3257
  ], 64))), 128))
3256
3258
  ])) : (s(), r("g", $i, [
@@ -3272,7 +3274,7 @@ const xn = {
3272
3274
  "stroke-linecap": "round",
3273
3275
  "stroke-dasharray": "2",
3274
3276
  stroke: e.color
3275
- }, null, 8, zi)) : m("", !0)
3277
+ }, null, 8, zi)) : g("", !0)
3276
3278
  ], 64)) : (s(), r(b, { key: 0 }, [
3277
3279
  a && i === 0 && e.useTag && e.useTag === "start" ? (s(), r("foreignObject", {
3278
3280
  key: 0,
@@ -3295,7 +3297,7 @@ const xn = {
3295
3297
  }
3296
3298
  )
3297
3299
  }, null, 12, Mi)
3298
- ], 12, Li)) : m("", !0),
3300
+ ], 12, Li)) : g("", !0),
3299
3301
  a && i === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (s(), r("foreignObject", {
3300
3302
  key: 1,
3301
3303
  x: a.x,
@@ -3317,7 +3319,7 @@ const xn = {
3317
3319
  }
3318
3320
  )
3319
3321
  }, null, 12, Ai)
3320
- ], 12, Ci)) : m("", !0)
3322
+ ], 12, Ci)) : g("", !0)
3321
3323
  ], 64))
3322
3324
  ], 64))), 128))
3323
3325
  ], 64))), 128))
@@ -3344,7 +3346,7 @@ const xn = {
3344
3346
  maxWords: 2
3345
3347
  }),
3346
3348
  style: _(`opacity:${O.value ? O.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3347
- }, null, 12, Ti)) : m("", !0),
3349
+ }, null, 12, Ti)) : g("", !0),
3348
3350
  a && i === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (s(), r("text", {
3349
3351
  key: 1,
3350
3352
  x: a.x + S.value.plotLabels,
@@ -3361,7 +3363,7 @@ const xn = {
3361
3363
  maxWords: 2
3362
3364
  }),
3363
3365
  style: _(`opacity:${O.value ? O.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3364
- }, null, 12, Ii)) : m("", !0)
3366
+ }, null, 12, Ii)) : g("", !0)
3365
3367
  ], 64))), 128))
3366
3368
  ], 64))), 128)),
3367
3369
  (s(!0), r(b, null, C(tt.value, (e, n) => (s(), r(b, {
@@ -3386,7 +3388,7 @@ const xn = {
3386
3388
  maxWords: 2
3387
3389
  }),
3388
3390
  style: _(`opacity:${O.value ? O.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3389
- }, null, 12, Ni)) : m("", !0),
3391
+ }, null, 12, Ni)) : g("", !0),
3390
3392
  a && i === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (s(), r("text", {
3391
3393
  key: 1,
3392
3394
  x: a.x + S.value.plotLabels,
@@ -3403,7 +3405,7 @@ const xn = {
3403
3405
  maxWords: 2
3404
3406
  }),
3405
3407
  style: _(`opacity:${O.value ? O.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3406
- }, null, 12, Ri)) : m("", !0)
3408
+ }, null, 12, Ri)) : g("", !0)
3407
3409
  ], 64))), 128))
3408
3410
  ], 64))), 128)),
3409
3411
  k.value.useIndividualScale && !k.value.isStacked ? (s(), r(b, { key: 13 }, [
@@ -3436,7 +3438,7 @@ const xn = {
3436
3438
  onMouseenter: (a) => O.value = e.groupId,
3437
3439
  onMouseleave: u[0] || (u[0] = (a) => O.value = null)
3438
3440
  }, null, 40, Bi))), 256))
3439
- ], 64)) : m("", !0),
3441
+ ], 64)) : g("", !0),
3440
3442
  y("g", null, [
3441
3443
  t.value.chart.grid.labels.axis.yLabel && !k.value.useIndividualScale ? (s(), r("text", {
3442
3444
  key: 0,
@@ -3447,17 +3449,17 @@ const xn = {
3447
3449
  transform: `translate(${t.value.chart.grid.labels.axis.fontSize}, ${c.value.top + c.value.height / 2}) rotate(-90)`,
3448
3450
  "text-anchor": "middle",
3449
3451
  style: { transition: "none" }
3450
- }, oe(t.value.chart.grid.labels.axis.yLabel), 9, Hi)) : m("", !0),
3452
+ }, oe(t.value.chart.grid.labels.axis.yLabel), 9, Hi)) : g("", !0),
3451
3453
  t.value.chart.grid.labels.axis.xLabel ? (s(), r("text", {
3452
3454
  key: 1,
3453
3455
  ref_key: "xAxisLabel",
3454
- ref: Ge,
3456
+ ref: Ue,
3455
3457
  "text-anchor": "middle",
3456
3458
  x: ee.value / 2,
3457
3459
  y: pe.value - 3,
3458
3460
  "font-size": S.value.yAxis,
3459
3461
  fill: t.value.chart.grid.labels.color
3460
- }, oe(t.value.chart.grid.labels.axis.xLabel), 9, Vi)) : m("", !0)
3462
+ }, oe(t.value.chart.grid.labels.axis.xLabel), 9, Vi)) : g("", !0)
3461
3463
  ]),
3462
3464
  t.value.chart.grid.labels.xAxisLabels.show ? (s(), r("g", {
3463
3465
  key: 14,
@@ -3512,9 +3514,9 @@ const xn = {
3512
3514
  }),
3513
3515
  onClick: () => ma(e, n)
3514
3516
  }, oe(e.text || ""), 13, Ei))
3515
- ], 64)) : m("", !0)
3517
+ ], 64)) : g("", !0)
3516
3518
  ]))), 128))
3517
- ], 512)) : m("", !0),
3519
+ ], 512)) : g("", !0),
3518
3520
  Ca.value.length && !k.value.isStacked ? (s(), r("g", Wi, [
3519
3521
  (s(!0), r(b, null, C(Ca.value, (e) => (s(), r("g", {
3520
3522
  key: e.uid
@@ -3530,7 +3532,7 @@ const xn = {
3530
3532
  "stroke-dasharray": e.config.line.strokeDasharray,
3531
3533
  "stroke-linecap": "round",
3532
3534
  style: { animation: "none !important" }
3533
- }, null, 8, Xi)) : m("", !0),
3535
+ }, null, 8, Xi)) : g("", !0),
3534
3536
  e.yBottom && e.show && isFinite(e.yBottom) ? (s(), r("line", {
3535
3537
  key: 1,
3536
3538
  x1: e.x1,
@@ -3542,7 +3544,7 @@ const xn = {
3542
3544
  "stroke-dasharray": e.config.line.strokeDasharray,
3543
3545
  "stroke-linecap": "round",
3544
3546
  style: { animation: "none !important" }
3545
- }, null, 8, Yi)) : m("", !0),
3547
+ }, null, 8, Yi)) : g("", !0),
3546
3548
  e.hasArea && e.show && isFinite(e.yTop) && isFinite(e.yBottom) ? (s(), r("rect", {
3547
3549
  key: 2,
3548
3550
  y: Math.min(e.yTop, e.yBottom),
@@ -3551,11 +3553,11 @@ const xn = {
3551
3553
  height: v(W)(e.areaHeight, 0),
3552
3554
  fill: v(lt)(e.config.area.fill, e.config.area.opacity),
3553
3555
  style: { animation: "none !important" }
3554
- }, null, 8, Gi)) : m("", !0),
3556
+ }, null, 8, Gi)) : g("", !0),
3555
3557
  e.config.label.text && e.show && isFinite(e._box.y) ? (s(), r("rect", gl({
3556
3558
  key: 3,
3557
3559
  class: "vue-ui-xy-annotation-label-box"
3558
- }, { ref_for: !0 }, e._box, { style: { animation: "none !important", transition: "none !important" } }), null, 16)) : m("", !0),
3560
+ }, { ref_for: !0 }, e._box, { style: { animation: "none !important", transition: "none !important" } }), null, 16)) : g("", !0),
3559
3561
  e.config.label.text && e.show && isFinite(e._text.y) ? (s(), r("text", {
3560
3562
  key: 4,
3561
3563
  id: e.id,
@@ -3565,9 +3567,9 @@ const xn = {
3565
3567
  "font-size": e.config.label.fontSize,
3566
3568
  fill: e.config.label.color,
3567
3569
  "text-anchor": e.config.label.textAnchor
3568
- }, oe(e.config.label.text), 9, Ui)) : m("", !0)
3570
+ }, oe(e.config.label.text), 9, Ui)) : g("", !0)
3569
3571
  ]))), 128))
3570
- ])) : m("", !0),
3572
+ ])) : g("", !0),
3571
3573
  t.value.chart.timeTag.show && (![null, void 0].includes($.value) || ![null, void 0].includes(F.value)) ? (s(), r("g", qi, [
3572
3574
  (s(), r("foreignObject", {
3573
3575
  x: Io(),
@@ -3590,18 +3592,18 @@ const xn = {
3590
3592
  r: t.value.chart.timeTag.circleMarker.radius,
3591
3593
  fill: t.value.chart.timeTag.circleMarker.color
3592
3594
  }, null, 8, Ji)
3593
- ])) : m("", !0)
3594
- ])) : m("", !0),
3595
+ ])) : g("", !0)
3596
+ ])) : g("", !0),
3595
3597
  h.value ? (s(), r("rect", gl({ key: 2 }, Pe.value, {
3596
3598
  "data-start": f.value.start,
3597
3599
  "data-end": f.value.end
3598
- }), null, 16, Qi)) : m("", !0),
3600
+ }), null, 16, Qi)) : g("", !0),
3599
3601
  Q(l.$slots, "svg", { svg: Ul.value }, void 0, !0)
3600
3602
  ], 512)
3601
3603
  ], 46, En)),
3602
3604
  l.$slots.watermark ? (s(), r("div", ji, [
3603
3605
  Q(l.$slots, "watermark", Mt(Ct({ isPrinting: v(St) || v(Sl) })), void 0, !0)
3604
- ])) : m("", !0),
3606
+ ])) : g("", !0),
3605
3607
  (s(!0), r(b, null, C(Oe.value, (e, n) => (s(), r(b, {
3606
3608
  key: `tag_line_${e.id}`
3607
3609
  }, [
@@ -3659,7 +3661,7 @@ const xn = {
3659
3661
  }
3660
3662
  )
3661
3663
  }, null, 8, ls)
3662
- ], 4)) : m("", !0),
3664
+ ], 4)) : g("", !0),
3663
3665
  [F.value, $.value, ft.value].includes(i) && e.useTag && e.useTag === "start" && t.value.line.tag.followValue ? (s(), r("div", {
3664
3666
  key: 1,
3665
3667
  ref_for: !0,
@@ -3711,7 +3713,7 @@ const xn = {
3711
3713
  }
3712
3714
  )
3713
3715
  }, null, 8, ns)
3714
- ], 4)) : m("", !0)
3716
+ ], 4)) : g("", !0)
3715
3717
  ], 64))), 128))
3716
3718
  ], 64))), 128)),
3717
3719
  (s(!0), r(b, null, C(tt.value, (e, n) => (s(), r(b, {
@@ -3771,7 +3773,7 @@ const xn = {
3771
3773
  }
3772
3774
  )
3773
3775
  }, null, 8, ss)
3774
- ], 4)) : m("", !0),
3776
+ ], 4)) : g("", !0),
3775
3777
  [F.value, $.value, ft.value].includes(i) && e.useTag && e.useTag === "start" && t.value.plot.tag.followValue ? (s(), r("div", {
3776
3778
  key: 1,
3777
3779
  ref_for: !0,
@@ -3823,11 +3825,11 @@ const xn = {
3823
3825
  }
3824
3826
  )
3825
3827
  }, null, 8, vs)
3826
- ], 4)) : m("", !0)
3828
+ ], 4)) : g("", !0)
3827
3829
  ], 64))), 128))
3828
3830
  ], 64))), 128)),
3829
3831
  t.value.chart.zoom.preview.enable ? (s(), r(b, { key: 5 }, [
3830
- t.value.chart.zoom.show && be.value > 6 && ct.value ? (s(), Ze(Bn, {
3832
+ t.value.chart.zoom.show && be.value > 6 && ct.value ? (s(), Ke(Bn, {
3831
3833
  ref_key: "chartSlicer",
3832
3834
  ref: He,
3833
3835
  key: `slicer_${kt.value}`,
@@ -3876,9 +3878,9 @@ const xn = {
3876
3878
  Q(l.$slots, "reset-action", Mt(Ct({ reset: e })), void 0, !0)
3877
3879
  ]),
3878
3880
  _: 3
3879
- }, 8, ["max", "valueStart", "valueEnd", "start", "end", "selectedSeries", "customFormat", "background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "usePreciseLabels", "preciseLabels", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "verticalHandles", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "timeLabels", "isPreview"])) : m("", !0)
3881
+ }, 8, ["max", "valueStart", "valueEnd", "start", "end", "selectedSeries", "customFormat", "background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "usePreciseLabels", "preciseLabels", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "verticalHandles", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "timeLabels", "isPreview"])) : g("", !0)
3880
3882
  ], 64)) : (s(), r(b, { key: 6 }, [
3881
- t.value.chart.zoom.show && be.value > 6 && ct.value ? (s(), Ze(mn, {
3883
+ t.value.chart.zoom.show && be.value > 6 && ct.value ? (s(), Ke(mn, {
3882
3884
  ref_key: "chartSlicer",
3883
3885
  ref: He,
3884
3886
  key: `slicer_${kt.value}`,
@@ -3919,12 +3921,12 @@ const xn = {
3919
3921
  Q(l.$slots, "reset-action", Mt(Ct({ reset: e })), void 0, !0)
3920
3922
  ]),
3921
3923
  _: 3
3922
- }, 8, ["max", "valueStart", "valueEnd", "start", "end", "background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "verticalHandles", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"])) : m("", !0)
3924
+ }, 8, ["max", "valueStart", "valueEnd", "start", "end", "background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "verticalHandles", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"])) : g("", !0)
3923
3925
  ], 64)),
3924
3926
  y("div", {
3925
3927
  id: `legend-bottom-${Z.value}`
3926
3928
  }, null, 8, ds),
3927
- je.value ? (s(), Ze(Vo, {
3929
+ je.value ? (s(), Ke(Vo, {
3928
3930
  key: 7,
3929
3931
  to: t.value.chart.legend.position === "top" ? `#legend-top-${Z.value}` : `#legend-bottom-${Z.value}`
3930
3932
  }, [
@@ -3933,12 +3935,14 @@ const xn = {
3933
3935
  ref_key: "chartLegend",
3934
3936
  ref: ut,
3935
3937
  class: "vue-ui-xy-legend",
3936
- style: _(`font-size:${t.value.chart.legend.fontSize}px`)
3938
+ style: _({
3939
+ fontSize: `var(--legend-font-size, ${t.value.chart.legend.fontSize ?? 14}px)`
3940
+ })
3937
3941
  }, [
3938
3942
  (s(!0), r(b, null, C(vt.value, (e, n) => (s(), r("div", {
3939
3943
  key: `div_legend_item_${n}`,
3940
3944
  onClick: (a) => _a(e),
3941
- class: Xe({ "vue-ui-xy-legend-item-alone": vt.value.length === 1, "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": ne.value.includes(e.id) })
3945
+ class: Ye({ "vue-ui-xy-legend-item-alone": vt.value.length === 1, "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": ne.value.includes(e.id) })
3942
3946
  }, [
3943
3947
  ke.value[e.type] === "line" ? (s(), r("svg", fs, [
3944
3948
  y("rect", {
@@ -3969,7 +3973,7 @@ const xn = {
3969
3973
  width: "32",
3970
3974
  stroke: "none",
3971
3975
  fill: e.color
3972
- }, null, 8, bs)) : m("", !0),
3976
+ }, null, 8, bs)) : g("", !0),
3973
3977
  ke.value[e.type] === "bar" ? (s(), r("rect", {
3974
3978
  key: 1,
3975
3979
  x: "4",
@@ -3979,7 +3983,7 @@ const xn = {
3979
3983
  width: "32",
3980
3984
  stroke: "none",
3981
3985
  fill: l.$slots.pattern ? `url(#pattern_${Z.value}_${e.slotAbsoluteIndex})` : e.color
3982
- }, null, 8, xs)) : m("", !0)
3986
+ }, null, 8, xs)) : g("", !0)
3983
3987
  ])) : (s(), r("svg", ps, [
3984
3988
  Et(Hl, {
3985
3989
  plot: { x: 6, y: 6 },
@@ -3999,7 +4003,7 @@ const xn = {
3999
4003
  }, [
4000
4004
  Q(l.$slots, "legend", { legend: vt.value }, void 0, !0)
4001
4005
  ], 512))
4002
- ], 8, ["to"])) : m("", !0),
4006
+ ], 8, ["to"])) : g("", !0),
4003
4007
  l.$slots.source ? (s(), r("div", {
4004
4008
  key: 8,
4005
4009
  ref_key: "source",
@@ -4007,7 +4011,7 @@ const xn = {
4007
4011
  dir: "auto"
4008
4012
  }, [
4009
4013
  Q(l.$slots, "source", {}, void 0, !0)
4010
- ], 512)) : m("", !0),
4014
+ ], 512)) : g("", !0),
4011
4015
  Et(v(se), {
4012
4016
  show: k.value.showTooltip && xl.value,
4013
4017
  backgroundColor: t.value.chart.tooltip.backgroundColor,
@@ -4034,7 +4038,7 @@ const xn = {
4034
4038
  ]),
4035
4039
  _: 3
4036
4040
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
4037
- ct.value ? (s(), Ze(Eo(hl.value.component), gl({ key: 9 }, hl.value.props, {
4041
+ ct.value ? (s(), Ke(Eo(hl.value.component), gl({ key: 9 }, hl.value.props, {
4038
4042
  ref_key: "tableUnit",
4039
4043
  ref: Ne,
4040
4044
  onClose: Xa
@@ -4061,11 +4065,11 @@ const xn = {
4061
4065
  }, null, 8, ["stroke"])
4062
4066
  ])
4063
4067
  ]),
4064
- mt.value ? (s(), Ze(v(tl), {
4068
+ mt.value ? (s(), Ke(v(tl), {
4065
4069
  key: `sparkline_${st.value}`,
4066
4070
  dataset: Lo.value,
4067
4071
  config: Mo.value
4068
- }, null, 8, ["dataset", "config"])) : (s(), Ze(v(Ye), {
4072
+ }, null, 8, ["dataset", "config"])) : (s(), Ke(v(Ge), {
4069
4073
  key: `table_${il.value}`,
4070
4074
  colNames: Pl.value.colNames,
4071
4075
  head: Pl.value.head,
@@ -4079,7 +4083,7 @@ const xn = {
4079
4083
  y("div", { innerHTML: e }, null, 8, ks)
4080
4084
  ]),
4081
4085
  td: he(({ td: e }) => [
4082
- Za(oe(isNaN(Number(e)) ? e : v(Ke)({
4086
+ Za(oe(isNaN(Number(e)) ? e : v(Je)({
4083
4087
  p: t.value.chart.labels.prefix,
4084
4088
  v: e,
4085
4089
  s: t.value.chart.labels.suffix,
@@ -4115,11 +4119,11 @@ const xn = {
4115
4119
  ]),
4116
4120
  key: "1"
4117
4121
  } : void 0
4118
- ]), 1040)) : m("", !0),
4119
- v(ge) ? (s(), Ze(rn, { key: 10 })) : m("", !0)
4122
+ ]), 1040)) : g("", !0),
4123
+ v(ge) ? (s(), Ke(rn, { key: 10 })) : g("", !0)
4120
4124
  ], 46, Hn));
4121
4125
  }
4122
- }, Bs = /* @__PURE__ */ ao(ws, [["__scopeId", "data-v-4ed64bd5"]]);
4126
+ }, Bs = /* @__PURE__ */ ao(ws, [["__scopeId", "data-v-73bc8804"]]);
4123
4127
  export {
4124
4128
  Bs as default
4125
4129
  };