vue-data-ui 3.1.9 → 3.1.10

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 (90) hide show
  1. package/dist/{Arrow-Bd2Nv1JR.js → Arrow-D7ZF4yAC.js} +1 -1
  2. package/dist/{BaseDraggableDialog-DnDgu3fu.js → BaseDraggableDialog-D9yisoCl.js} +2 -2
  3. package/dist/{BaseIcon-ClWpJKO3.js → BaseIcon-DW7Viin8.js} +8 -7
  4. package/dist/{ColorPicker-CGqCY0f7.js → ColorPicker-VAhVa4rn.js} +2 -2
  5. package/dist/{DataTable-BeFHXTQb.js → DataTable-DFJ-uXFk.js} +2 -2
  6. package/dist/{Legend-D_ryPoDQ.js → Legend-A-Th-THr.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-C0fUFsd1.js → NonSvgPenAndPaper-DHNAD3xm.js} +3 -3
  8. package/dist/{PackageVersion-nvqupdcz.js → PackageVersion-BzOBYV_n.js} +1 -1
  9. package/dist/{PenAndPaper-CdK_W5h2.js → PenAndPaper-DwI_W13k.js} +3 -3
  10. package/dist/{Shape-g1_KwK3i.js → Shape-ZsEI7pYU.js} +1 -1
  11. package/dist/{Slicer-BbsnAAIT.js → Slicer-DI7ooV9J.js} +195 -195
  12. package/dist/{SparkTooltip-BJY8zi7K.js → SparkTooltip-BWytmziW.js} +1 -1
  13. package/dist/{Title-DCLc6TCZ.js → Title-q7KLw8M1.js} +1 -1
  14. package/dist/{Tooltip-DI84H3Yz.js → Tooltip-Bv-2Sizc.js} +1 -1
  15. package/dist/{UserOptions-2XI1AOh5.js → UserOptions-BpcEmsVG.js} +2 -2
  16. package/dist/{dom-to-png-BbsbFKuu.js → dom-to-png-Bjv_BLOD.js} +1 -1
  17. package/dist/{img-DQnzQcOw.js → img-BE2EQi1c.js} +1 -1
  18. package/dist/{index-5vhIMiMJ.js → index-BX36v2yo.js} +1 -1
  19. package/dist/{pdf-BbD1z_VM.js → pdf-18i9-ATg.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +2 -1
  22. package/dist/types/vue-data-ui.d.ts +2 -1
  23. package/dist/{useAutoSizeLabelsInsideViewbox-lO6KBU08.js → useAutoSizeLabelsInsideViewbox-DPRYkfRK.js} +1 -1
  24. package/dist/{useNestedProp-BBcJUXV-.js → useNestedProp-DPKscaRF.js} +1 -1
  25. package/dist/{usePrinter-BxQRVOJV.js → usePrinter-CkHAOpuo.js} +2 -2
  26. package/dist/{vue-data-ui-CBSwx9_2.js → vue-data-ui-BOg8sJjs.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-DrVQXElH.js → vue-ui-3d-bar-D0wRvC7X.js} +6 -6
  29. package/dist/{vue-ui-accordion-CWkuC41h.js → vue-ui-accordion-B3bW7xEF.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-hfNlu-eT.js → vue-ui-age-pyramid-BgNlDsdI.js} +6 -6
  31. package/dist/{vue-ui-annotator-BdW7stIX.js → vue-ui-annotator-FnZfg_IR.js} +2 -2
  32. package/dist/{vue-ui-bullet-DH55M9hd.js → vue-ui-bullet-DG65DMoC.js} +7 -7
  33. package/dist/{vue-ui-candlestick-BdCIu_3Z.js → vue-ui-candlestick-CWhq0sic.js} +7 -7
  34. package/dist/{vue-ui-carousel-table-CYFqd5Do.js → vue-ui-carousel-table-D_4N_zyW.js} +4 -4
  35. package/dist/{vue-ui-chestnut-BAXJvE_P.js → vue-ui-chestnut-mU0wekHQ.js} +5 -5
  36. package/dist/{vue-ui-chord-CZvpyXPS.js → vue-ui-chord-Bauthp8h.js} +8 -8
  37. package/dist/{vue-ui-circle-pack-DIrNW31y.js → vue-ui-circle-pack-BJo7Ah6C.js} +6 -6
  38. package/dist/{vue-ui-cursor-DB5jBNc-.js → vue-ui-cursor-DoS_k3gd.js} +2 -2
  39. package/dist/{vue-ui-dashboard-NIsI1tyR.js → vue-ui-dashboard-CMEY9fct.js} +67 -67
  40. package/dist/{vue-ui-digits-D1E8vS1U.js → vue-ui-digits-HWlddr2q.js} +2 -2
  41. package/dist/{vue-ui-donut-Dcc640KU.js → vue-ui-donut-D0BmmhDm.js} +8 -8
  42. package/dist/{vue-ui-donut-evolution-FvABIk1B.js → vue-ui-donut-evolution-CF-bwSCu.js} +8 -8
  43. package/dist/{vue-ui-dumbbell-DwR1pCUC.js → vue-ui-dumbbell-CL3bnAxl.js} +7 -7
  44. package/dist/{vue-ui-flow-DAm9A_0v.js → vue-ui-flow-D09BoXGa.js} +7 -7
  45. package/dist/{vue-ui-funnel-CBzrS5BO.js → vue-ui-funnel-5i1Ml16Q.js} +6 -6
  46. package/dist/{vue-ui-galaxy-IJ_oreeF.js → vue-ui-galaxy-c34YNvy0.js} +7 -7
  47. package/dist/{vue-ui-gauge-o72yvW6N.js → vue-ui-gauge-7bYPGmPX.js} +7 -7
  48. package/dist/{vue-ui-gizmo-DfyGDDpf.js → vue-ui-gizmo-DBPnLM19.js} +3 -3
  49. package/dist/{vue-ui-heatmap-BGCYDLeT.js → vue-ui-heatmap-CZB8kVCa.js} +7 -7
  50. package/dist/{vue-ui-history-plot-WM4e1JlT.js → vue-ui-history-plot-CJrF-gJD.js} +7 -7
  51. package/dist/{vue-ui-kpi-BcDpOVCW.js → vue-ui-kpi-Bf_iS73w.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-pv8BRyQQ.js → vue-ui-mini-loader-1yQmJhh4.js} +2 -2
  53. package/dist/{vue-ui-molecule-D7oF0j_4.js → vue-ui-molecule-CgrbhjyE.js} +5 -5
  54. package/dist/{vue-ui-mood-radar-iPbyJzps.js → vue-ui-mood-radar-DVKE3IqF.js} +7 -7
  55. package/dist/{vue-ui-nested-donuts-BLceuaiq.js → vue-ui-nested-donuts-DfaFDyJU.js} +7 -7
  56. package/dist/{vue-ui-onion-Dnf_fWQJ.js → vue-ui-onion-CP5dDv9d.js} +8 -8
  57. package/dist/{vue-ui-parallel-coordinate-plot-DgqvrE6i.js → vue-ui-parallel-coordinate-plot-nfI8pAYr.js} +8 -8
  58. package/dist/{vue-ui-quadrant-B7_t3c1D.js → vue-ui-quadrant-CGQWSISU.js} +8 -8
  59. package/dist/{vue-ui-quick-chart-QBNsaoSx.js → vue-ui-quick-chart--x39nbnx.js} +6 -6
  60. package/dist/{vue-ui-radar-B5LY3bFz.js → vue-ui-radar-D3oVbCHs.js} +8 -8
  61. package/dist/{vue-ui-rating-M2LsJhF9.js → vue-ui-rating-CCyAo_wm.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-BDgDf-UH.js → vue-ui-relation-circle-hvO7jb5w.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-CF8EGKmN.js → vue-ui-ridgeline-qd61pVwF.js} +8 -8
  64. package/dist/{vue-ui-rings-CEf32Qd9.js → vue-ui-rings-CTqm8Wze.js} +8 -8
  65. package/dist/{vue-ui-scatter-B1Aafuh6.js → vue-ui-scatter-DG2hHPgl.js} +8 -8
  66. package/dist/{vue-ui-skeleton-DCf8RHTA.js → vue-ui-skeleton-CXEVl_P_.js} +3 -3
  67. package/dist/{vue-ui-smiley-D9TyN2I4.js → vue-ui-smiley-CIcyYyaY.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DcZNamSY.js → vue-ui-spark-trend-DXna0InO.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-CNmySZRR.js → vue-ui-sparkbar-BmXSYSt2.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-Du3pqhHb.js → vue-ui-sparkgauge-ep4qAjJm.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-DY33-6pA.js → vue-ui-sparkhistogram-C_j3n3sQ.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DQO2IGma.js → vue-ui-sparkline-5-MWpgzg.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BHgX0FAK.js → vue-ui-sparkstackbar-CBazbGz6.js} +3 -3
  74. package/dist/{vue-ui-stackbar-DTvmplPR.js → vue-ui-stackbar-COJoXl24.js} +9 -9
  75. package/dist/{vue-ui-strip-plot-CH3BNHOX.js → vue-ui-strip-plot-B_C57qzM.js} +7 -7
  76. package/dist/{vue-ui-table-DmOi42QJ.js → vue-ui-table-C7pJJO_J.js} +4 -4
  77. package/dist/{vue-ui-table-heatmap-D0XRMZEF.js → vue-ui-table-heatmap-B7am7f4J.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-SjzOqua1.js → vue-ui-table-sparkline-B7dymruQ.js} +4 -4
  79. package/dist/{vue-ui-thermometer-Dkb9wTy_.js → vue-ui-thermometer-QU8j9WyT.js} +7 -7
  80. package/dist/{vue-ui-timer-CeCAWDqf.js → vue-ui-timer-CDrQkfIG.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-B9XkzHFy.js → vue-ui-tiremarks-D_LL7f2n.js} +6 -6
  82. package/dist/{vue-ui-treemap-BCcXO9kM.js → vue-ui-treemap-DvPYeEwO.js} +8 -8
  83. package/dist/{vue-ui-vertical-bar-CRtBBzYM.js → vue-ui-vertical-bar-BJ4AGGrz.js} +9 -9
  84. package/dist/{vue-ui-waffle-DSNBPqTC.js → vue-ui-waffle-CJAclMm9.js} +8 -8
  85. package/dist/{vue-ui-wheel-BXQK9I22.js → vue-ui-wheel-91DucIre.js} +6 -6
  86. package/dist/{vue-ui-word-cloud-YLIzbhcv.js → vue-ui-word-cloud-DcqD79Yc.js} +6 -6
  87. package/dist/{vue-ui-world-eCTtZria.js → vue-ui-world-CqYbOhHA.js} +6 -6
  88. package/dist/{vue-ui-xy-C7u7xEoN.js → vue-ui-xy-DGaw_TPE.js} +248 -248
  89. package/dist/{vue-ui-xy-canvas-D_rqJLcT.js → vue-ui-xy-canvas-B5zK58aG.js} +10 -10
  90. package/package.json +1 -1
@@ -1,18 +1,18 @@
1
1
  import { useCssVars as Oo, computed as x, ref as y, onMounted as Sl, onBeforeUnmount as il, watch as mt, nextTick as ul, onUpdated as Bo, createElementBlock as i, openBlock as n, createElementVNode as w, createCommentVNode as g, renderSlot as Q, normalizeStyle as M, createVNode as nl, withDirectives as Ta, unref as v, Fragment as b, renderList as _, normalizeProps as zt, mergeProps as Ht, normalizeClass as Qe, withKeys as io, vModelText as uo, toDisplayString as ue, defineAsyncComponent as Ot, useSlots as Eo, getCurrentInstance as Ho, toRefs as Do, watchEffect as so, createBlock as at, createSlots as ro, withCtx as we, guardReactiveProps as Bt, Teleport as Wo, resolveDynamicComponent as Xo, vModelCheckbox as Yo, createTextVNode as co } from "vue";
2
- import { c as ca, y as va, X as Go, F as ht, $ as da, V as ha, a0 as ma, U as fa, u as Uo, f as Ca, t as qo, d as Zo, D as Wl, ae as al, e as vo, p as ho, af as ua, ab as J, a6 as Aa, ag as Ko, h as G, ah as Jo, ai as mo, aj as fo, k as ze, ak as Qo, z as jo, _ as go, R as yt, i as ot, x as ol, s as dt, a9 as ne, L as en, al as sa, I as tn, am as Et, C as Je, a as ln, b as an, o as xo, v as on, w as nn, E as wl } from "./index-5vhIMiMJ.js";
2
+ import { c as ca, y as va, X as Go, F as ht, $ as da, V as ha, a0 as ma, U as fa, u as Uo, f as Ca, t as qo, d as Zo, D as Xl, ae as al, e as vo, p as ho, af as ua, ab as J, a6 as Aa, ag as Ko, h as G, ah as Jo, ai as mo, aj as fo, k as Te, ak as Qo, z as jo, _ as go, R as yt, i as ot, x as ol, s as dt, a9 as ne, L as en, al as sa, I as tn, am as Et, C as Je, a as ln, b as an, o as xo, v as on, w as nn, E as wl } from "./index-BX36v2yo.js";
3
3
  import { t as Ia, d as un, u as sn } from "./useResponsive-DfdjqQps.js";
4
- import { u as rn } from "./usePrinter-BxQRVOJV.js";
4
+ import { u as rn } from "./usePrinter-CkHAOpuo.js";
5
5
  import { u as cn, B as vn } from "./BaseScanner-BgWxam9d.js";
6
6
  import { u as bo, a as dn, l as hn } from "./useTimeLabels-BGFjWgrv.js";
7
- import { u as za } from "./useNestedProp-BBcJUXV-.js";
7
+ import { u as za } from "./useNestedProp-DPKscaRF.js";
8
8
  import { u as mn } from "./useTimeLabelCollider-CIsgDrl9.js";
9
- import fn from "./img-DQnzQcOw.js";
10
- import gn from "./Title-DCLc6TCZ.js";
11
- import { S as xn } from "./Slicer-BbsnAAIT.js";
12
- import { _ as ra } from "./Shape-g1_KwK3i.js";
13
- import bn from "./BaseIcon-ClWpJKO3.js";
9
+ import fn from "./img-BE2EQi1c.js";
10
+ import gn from "./Title-q7KLw8M1.js";
11
+ import { S as xn } from "./Slicer-DI7ooV9J.js";
12
+ import { _ as ra } from "./Shape-ZsEI7pYU.js";
13
+ import bn from "./BaseIcon-DW7Viin8.js";
14
14
  import { _ as yo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- import yn from "./vue-ui-accordion-CWkuC41h.js";
15
+ import yn from "./vue-ui-accordion-B3bW7xEF.js";
16
16
  const pn = {
17
17
  class: "vue-data-ui-slicer-labels",
18
18
  style: { position: "relative", "z-index": "1", "pointer-events": "none" }
@@ -179,26 +179,26 @@ const pn = {
179
179
  emits: ["futureStart", "futureEnd", "update:start", "update:end", "reset", "trapMouse"],
180
180
  setup(S, { expose: ga, emit: xa }) {
181
181
  Oo((d) => ({
182
- "542cce68": Ll.value,
183
- "27bb5248": ae.value,
184
- ab916166: Cl.value,
185
- "6750cfe8": S.selectColor,
186
- "1ea91c9a": Nt.value
182
+ "0b66ced0": Ll.value,
183
+ db7bbde8: ae.value,
184
+ d9fa9506: Cl.value,
185
+ "7277623c": S.selectColor,
186
+ "830f626c": Nt.value
187
187
  }));
188
- const m = S, nt = y(null), xe = y(m.min), Se = y(m.max), he = x(() => !!m.minimap.length), $l = y(ca()), sl = y(!1), Tt = x(() => he.value && m.minimapCompact), _l = y(0), It = x({
188
+ const m = S, nt = y(null), ge = y(m.min), Se = y(m.max), he = x(() => !!m.minimap.length), $l = y(ca()), sl = y(!1), Tt = x(() => he.value && m.minimapCompact), _l = y(0), It = x({
189
189
  get() {
190
- return xe.value;
190
+ return ge.value;
191
191
  },
192
192
  set(d) {
193
193
  const f = Math.min(d, Se.value - 1);
194
- xe.value = f, Ie.value && (Ie.value.value = String(f)), Ge("futureStart", f);
194
+ ge.value = f, Ne.value && (Ne.value.value = String(f)), Ge("futureStart", f);
195
195
  }
196
196
  }), Dt = x({
197
197
  get() {
198
198
  return Se.value;
199
199
  },
200
200
  set(d) {
201
- const f = Math.max(d, xe.value + 1);
201
+ const f = Math.max(d, ge.value + 1);
202
202
  Se.value = f, Yt.value && (Yt.value.value = String(f)), Ge("futureEnd", f);
203
203
  }
204
204
  });
@@ -212,9 +212,9 @@ const pn = {
212
212
  window.removeEventListener("resize", f);
213
213
  });
214
214
  });
215
- let Xl = null;
215
+ let Yl = null;
216
216
  function Ye() {
217
- clearTimeout(Xl), Ge("update:start", Number(xe.value)), Ge("update:end", Number(Se.value)), sl.value = !1;
217
+ clearTimeout(Yl), Ge("update:start", Number(ge.value)), Ge("update:end", Number(Se.value)), sl.value = !1;
218
218
  }
219
219
  const je = x(() => m.refreshEndPoint === null ? m.max : m.refreshEndPoint), Ge = xa, Re = x(() => {
220
220
  if (Tt.value) {
@@ -222,7 +222,7 @@ const pn = {
222
222
  return hl.value / f * 100;
223
223
  }
224
224
  const d = Math.max(1, m.max - m.min);
225
- return (xe.value - m.min) / d * 100;
225
+ return (ge.value - m.min) / d * 100;
226
226
  }), ft = x(() => {
227
227
  if (Tt.value) {
228
228
  const f = Math.max(1, se.value - 1);
@@ -233,7 +233,7 @@ const pn = {
233
233
  }), pt = x(() => (Re.value + ft.value) / 2), kt = x(() => {
234
234
  if (!nt.value) return !1;
235
235
  const d = Math.max(1, m.max - m.min);
236
- return nt.value.getBoundingClientRect().width * ((xe.value - m.min) / d) - Me.value / 2 < 0;
236
+ return nt.value.getBoundingClientRect().width * ((ge.value - m.min) / d) - Ce.value / 2 < 0;
237
237
  }), Ml = x(() => {
238
238
  if (!nt.value) return !1;
239
239
  const d = Math.max(1, m.max - m.min), f = nt.value.getBoundingClientRect().width;
@@ -244,7 +244,7 @@ const pn = {
244
244
  left: `${Re.value}%`,
245
245
  width: `${Math.max(0, ft.value - Re.value)}%`,
246
246
  background: m.selectColor,
247
- tooltipLeft: `calc(${Re.value}% - ${kt.value ? 9 : Me.value / 2 + 3.5}px)`,
247
+ tooltipLeft: `calc(${Re.value}% - ${kt.value ? 9 : Ce.value / 2 + 3.5}px)`,
248
248
  tooltipRight: `calc(${ft.value}% - ${Ml.value ? xl.value - 9 : xl.value / 2 - 3.5}px)`,
249
249
  tooltipCenter: d,
250
250
  arrowLeft: !kt.value,
@@ -262,12 +262,12 @@ const pn = {
262
262
  mt(
263
263
  () => m.min,
264
264
  (d) => {
265
- Number(xe.value) < Number(d) && (xe.value = Number(d)), Number(Se.value) < Number(d) && (Se.value = Number(d));
265
+ Number(ge.value) < Number(d) && (ge.value = Number(d)), Number(Se.value) < Number(d) && (Se.value = Number(d));
266
266
  }
267
267
  ), mt(
268
268
  () => m.max,
269
269
  (d) => {
270
- Number(xe.value) > Number(d) && (xe.value = Number(d)), Number(Se.value) > Number(d) && (Se.value = Number(d));
270
+ Number(ge.value) > Number(d) && (ge.value = Number(d)), Number(Se.value) > Number(d) && (Se.value = Number(d));
271
271
  }
272
272
  );
273
273
  const Pt = y(null), $ = y({
@@ -296,7 +296,7 @@ const pn = {
296
296
  const f = Math.ceil(d - m.min);
297
297
  return Math.min(Math.max(0, f), se.value);
298
298
  }
299
- const St = x(() => re(xe.value)), et = x(() => cl(Se.value)), $t = x(() => Math.max(...m.allMinimaps.map((d) => d.series.length))), ee = x(() => {
299
+ const St = x(() => re(ge.value)), et = x(() => cl(Se.value)), $t = x(() => Math.max(...m.allMinimaps.map((d) => d.series.length))), ee = x(() => {
300
300
  if (!m.minimap.length) return 0;
301
301
  const d = Math.max(1, $t.value - (m.minimapCompact ? 1 : 0));
302
302
  return $.value.width / d;
@@ -314,7 +314,7 @@ const pn = {
314
314
  for (const f of m.allMinimaps)
315
315
  f?.isVisible && Array.isArray(f?.series) && d.push(...f.series.filter(Number.isFinite));
316
316
  return d.length ? { min: Math.min(...d), max: Math.max(...d) } : { min: 0, max: 1 };
317
- }), _t = x(() => zl.value.min), Ft = x(() => zl.value.max), Wt = x(() => _t.value < 0 && Ft.value > 0 || Ft.value <= 0 ? _t.value : 0), Tl = x(() => Math.max(1e-9, Math.max(Math.abs(_t.value), Math.abs(Ft.value)))), H = x(() => _t.value < 0 && Ft.value > 0), Yl = (d) => {
317
+ }), _t = x(() => zl.value.min), Ft = x(() => zl.value.max), Wt = x(() => _t.value < 0 && Ft.value > 0 || Ft.value <= 0 ? _t.value : 0), Tl = x(() => Math.max(1e-9, Math.max(Math.abs(_t.value), Math.abs(Ft.value)))), H = x(() => _t.value < 0 && Ft.value > 0), Gl = (d) => {
318
318
  const f = Math.max(1, $.value.height);
319
319
  if (H.value) {
320
320
  const h = Tl.value;
@@ -323,7 +323,7 @@ const pn = {
323
323
  const h = Math.min(0, _t.value), z = Math.max(0, Ft.value);
324
324
  return f - (d - h) / Math.max(1e-9, z - h) * f;
325
325
  }
326
- }, vl = x(() => Yl(0));
326
+ }, vl = x(() => Gl(0));
327
327
  function dl(d, f, h) {
328
328
  const z = (te, qe, Qt) => Math.max(qe, Math.min(Qt, te));
329
329
  if (f <= 0) {
@@ -337,7 +337,7 @@ const pn = {
337
337
  return (qe) => (1 - (z(qe / te, -1, 1) + 1) / 2) * h;
338
338
  }
339
339
  }
340
- function $e(d, f = !1) {
340
+ function Me(d, f = !1) {
341
341
  if (!d || !d.length)
342
342
  return {
343
343
  fullSet: "",
@@ -351,32 +351,32 @@ const pn = {
351
351
  fullMarkers: [],
352
352
  selectionMarkers: []
353
353
  };
354
- const h = Math.max(1, $.value.height), z = d.filter(Number.isFinite), C = z.length ? Math.min(...z) : 0, te = z.length ? Math.max(...z) : 0, qe = dl(C, te, h), Qt = d.length, bl = Math.min(Math.max(0, St.value), Math.max(0, Qt - 1)), jt = Math.min(Qt, Math.max(bl + 1, et.value)), Le = d.map((ge, Vl) => {
355
- const Ce = Number.isFinite(ge), jl = ee.value * Vl + (m.minimapCompact ? 0 : ee.value / 2), Lt = (C < 0 && te > 0, qe(0));
354
+ const h = Math.max(1, $.value.height), z = d.filter(Number.isFinite), C = z.length ? Math.min(...z) : 0, te = z.length ? Math.max(...z) : 0, qe = dl(C, te, h), Qt = d.length, bl = Math.min(Math.max(0, St.value), Math.max(0, Qt - 1)), jt = Math.min(Qt, Math.max(bl + 1, et.value)), Ae = d.map((be, Vl) => {
355
+ const $e = m.cutNullValues ? be : be === null ? 0 : be, Ol = Number.isFinite($e), Lt = ee.value * Vl + (m.minimapCompact ? 0 : ee.value / 2), _e = (C < 0 && te > 0, qe(0));
356
356
  return {
357
- x: jl,
358
- y: Ce ? qe(ge) : NaN,
359
- v: ge,
360
- value: Ce ? ge : null,
361
- y0: Lt,
357
+ x: Lt,
358
+ y: Ol ? qe($e) : NaN,
359
+ v: $e,
360
+ value: Ol ? $e : null,
361
+ y0: _e,
362
362
  i: Vl
363
363
  };
364
- }), P = (ge) => ge >= 0 && ge < Le.length && Number.isFinite(Le[ge]?.value), Rl = Le.filter((ge) => Number.isFinite(ge.value) && !P(ge.i - 1) && !P(ge.i + 1)), Ql = Rl.filter((ge) => ge.i >= bl && ge.i < jt), ct = Le.slice(bl, jt), ka = Le.length >= 2 ? m.smoothMinimap || f ? m.cutNullValues ? da(Le) : ha(Le) : m.cutNullValues ? ma(Le) : fa(Le) : "", wa = ct.length >= 2 ? m.smoothMinimap || f ? m.cutNullValues ? da(ct) : ha(ct) : m.cutNullValues ? ma(ct) : fa(ct) : "";
364
+ }), P = (be) => be >= 0 && be < Ae.length && Number.isFinite(Ae[be]?.value), Rl = Ae.filter((be) => Number.isFinite(be.value) && !P(be.i - 1) && !P(be.i + 1)), jl = Rl.filter((be) => be.i >= bl && be.i < jt), ct = Ae.slice(bl, jt), ka = Ae.length >= 2 ? m.smoothMinimap || f ? m.cutNullValues ? da(Ae) : ha(Ae) : m.cutNullValues ? ma(Ae) : fa(Ae) : "", wa = ct.length >= 2 ? m.smoothMinimap || f ? m.cutNullValues ? da(ct) : ha(ct) : m.cutNullValues ? ma(ct) : fa(ct) : "";
365
365
  return {
366
366
  fullSet: ka,
367
- points: Le,
367
+ points: Ae,
368
368
  selectionSet: wa,
369
369
  sliced: ct,
370
- firstPlot: Le[bl] || null,
371
- lastPlot: Le[Math.max(0, jt - 1)] || null,
372
- hasFull: Le.length >= 2,
370
+ firstPlot: Ae[bl] || null,
371
+ lastPlot: Ae[Math.max(0, jt - 1)] || null,
372
+ hasFull: Ae.length >= 2,
373
373
  hasSelection: ct.length >= 2,
374
374
  fullMarkers: Rl,
375
- selectionMarkers: Ql
375
+ selectionMarkers: jl
376
376
  };
377
377
  }
378
- const N = x(() => m.minimap.length ? $e(m.minimap) : []), gt = x(() => m.allMinimaps.length ? m.allMinimaps.map((d, f) => {
379
- const h = $e(d?.series || [], !!d.smooth), z = d?.id ?? d?.name ?? f;
378
+ const N = x(() => m.minimap.length ? Me(m.minimap) : []), gt = x(() => m.allMinimaps.length ? m.allMinimaps.map((d, f) => {
379
+ const h = Me(d?.series || [], !!d.smooth), z = d?.id ?? d?.name ?? f;
380
380
  return {
381
381
  key: typeof z == "object" ? JSON.stringify(z) : String(z),
382
382
  color: d?.color,
@@ -390,7 +390,7 @@ const pn = {
390
390
  x: ee.value * d + (m.minimapCompact ? 0 : ee.value / 2),
391
391
  width: ee.value * (f - d) - ee.value
392
392
  };
393
- }), Te = y(m.minimapSelectedIndex), A = (d) => Math.round(m.min + d), hl = x({
393
+ }), Ie = y(m.minimapSelectedIndex), A = (d) => Math.round(m.min + d), hl = x({
394
394
  get() {
395
395
  return Tt.value ? St.value : It.value;
396
396
  },
@@ -406,22 +406,22 @@ const pn = {
406
406
  }
407
407
  });
408
408
  function Il(d) {
409
- Te.value = re(m.valueStart) + d;
409
+ Ie.value = re(m.valueStart) + d;
410
410
  }
411
- const Gl = un(Il, 60);
411
+ const Ul = un(Il, 60);
412
412
  mt(() => m.minimapSelectedIndex, (d, f) => {
413
413
  if ([null, void 0].includes(d)) {
414
- Te.value = null;
414
+ Ie.value = null;
415
415
  return;
416
416
  }
417
- d !== f && Gl(d);
417
+ d !== f && Ul(d);
418
418
  }, { immediate: !0 });
419
419
  function L(d) {
420
- Te.value = d;
420
+ Ie.value = d;
421
421
  const f = St.value, h = et.value;
422
422
  d >= f && d < h && !He.value && Ge("trapMouse", d - f);
423
423
  }
424
- const Ie = y(null), Yt = y(null);
424
+ const Ne = y(null), Yt = y(null);
425
425
  function Gt(d) {
426
426
  if (typeof d == "object" && d && "target" in d) {
427
427
  const h = d.target, z = "valueAsNumber" in h ? h.valueAsNumber : +h.value;
@@ -451,7 +451,7 @@ const pn = {
451
451
  });
452
452
  const me = x(() => m.valueEnd - m.valueStart), fe = y(!1);
453
453
  let ml = y(null);
454
- const ba = x(() => (_l.value - 48) / (m.max - m.min) * me.value), ya = x(() => Math.max(1, _l.value - ui - ba.value)), st = x(() => Math.max(1, m.max - m.min - me.value)), Be = x(() => st.value / ya.value), p = y(0), tt = y(0), Ul = y(0), Nl = y(0);
454
+ const ba = x(() => (_l.value - 48) / (m.max - m.min) * me.value), ya = x(() => Math.max(1, _l.value - ui - ba.value)), st = x(() => Math.max(1, m.max - m.min - me.value)), Be = x(() => st.value / ya.value), p = y(0), tt = y(0), ql = y(0), Nl = y(0);
455
455
  let Ue = null, xt = null, lt = null, rt = null;
456
456
  const Pl = (d) => {
457
457
  if (bt.value = !0, !m.enableSelectionDrag) return;
@@ -461,9 +461,9 @@ const pn = {
461
461
  if (!z || !(z instanceof Element) || z.classList && z.classList.contains("range-handle")) return;
462
462
  fe.value = !0;
463
463
  const C = f ? h ? h.clientX : 0 : d.clientX;
464
- ml.value = C, p.value = C, tt.value = xe.value, Ul.value = Se.value, Nl.value = Be.value, Ue = f ? "touchmove" : "mousemove", xt = f ? "touchend" : "mouseup", lt = f ? pa : ql, rt = f ? gl : fl, window.addEventListener(Ue, lt, { passive: !1 }), window.addEventListener(xt, rt);
464
+ ml.value = C, p.value = C, tt.value = ge.value, ql.value = Se.value, Nl.value = Be.value, Ue = f ? "touchmove" : "mousemove", xt = f ? "touchend" : "mouseup", lt = f ? pa : Zl, rt = f ? gl : fl, window.addEventListener(Ue, lt, { passive: !1 }), window.addEventListener(xt, rt);
465
465
  };
466
- function ql(d) {
466
+ function Zl(d) {
467
467
  fe.value && qt(d.clientX);
468
468
  }
469
469
  function pa(d) {
@@ -491,27 +491,27 @@ const pn = {
491
491
  function Ee() {
492
492
  fe.value = !1, Ue && lt && window.removeEventListener(Ue, lt), xt && rt && window.removeEventListener(xt, rt), Ue = xt = null, lt = rt = null, Ye();
493
493
  }
494
- const He = y(!1), Ne = y(null), _e = y(null), Me = y(1), xl = y(1), bt = y(!1);
495
- function Zl() {
496
- Ne.value && (Me.value = Ne.value.getBoundingClientRect().width);
494
+ const He = y(!1), Pe = y(null), Le = y(null), Ce = y(1), xl = y(1), bt = y(!1);
495
+ function Kl() {
496
+ Pe.value && (Ce.value = Pe.value.getBoundingClientRect().width);
497
497
  }
498
498
  function Fl() {
499
- _e.value && (xl.value = _e.value.getBoundingClientRect().width);
499
+ Le.value && (xl.value = Le.value.getBoundingClientRect().width);
500
500
  }
501
- const Kl = y(0);
501
+ const Jl = y(0);
502
502
  function c(d) {
503
- Kl.value = d === "start" ? 1 : 0;
503
+ Jl.value = d === "start" ? 1 : 0;
504
504
  }
505
505
  const Zt = y(!1), Kt = y({
506
506
  width: 0,
507
507
  left: 0
508
508
  });
509
- mt([xe, Se], async () => {
510
- if (await ul(), !Ne.value || !_e.value) {
509
+ mt([ge, Se], async () => {
510
+ if (await ul(), !Pe.value || !Le.value) {
511
511
  Zt.value = !1, Kt.value = { width: 0, left: 0 };
512
512
  return;
513
513
  }
514
- const d = Ne.value.getBoundingClientRect(), f = _e.value.getBoundingClientRect();
514
+ const d = Pe.value.getBoundingClientRect(), f = Le.value.getBoundingClientRect();
515
515
  Zt.value = d.x + d.width > f.x;
516
516
  const h = d.x + d.width / 2, z = f.x + f.width / 2, C = d.width + f.width, te = (h + z) / 2;
517
517
  Kt.value = {
@@ -519,19 +519,19 @@ const pn = {
519
519
  left: te - C / 2
520
520
  };
521
521
  }), Bo(() => {
522
- Zl(), Fl();
522
+ Kl(), Fl();
523
523
  }), mt(() => m.labelLeft, () => {
524
- ul(Zl);
524
+ ul(Kl);
525
525
  }, { deep: !0 }), mt(() => m.labelRight, () => {
526
526
  ul(Fl);
527
527
  }, { deep: !0 });
528
- const Jt = y(!1), be = x(() => {
528
+ const Jt = y(!1), xe = x(() => {
529
529
  let d = { text: "" }, f = { text: "" };
530
530
  if (Jt.value = !1, va(m.customFormat))
531
531
  try {
532
532
  const h = m.customFormat({
533
- absoluteIndex: xe.value,
534
- seriesIndex: xe.value,
533
+ absoluteIndex: ge.value,
534
+ seriesIndex: ge.value,
535
535
  datapoint: m.selectedSeries
536
536
  }), z = m.customFormat({
537
537
  absoluteIndex: Se.value - 1,
@@ -542,18 +542,18 @@ const pn = {
542
542
  } catch {
543
543
  console.warn("Custom format cannot be applied on zoom labels."), Jt.value = !1;
544
544
  }
545
- return Jt.value || (d = m.usePreciseLabels ? m.preciseLabels.find((h) => h.absoluteIndex === xe.value) : m.timeLabels.find((h) => h.absoluteIndex === xe.value), f = m.usePreciseLabels ? m.preciseLabels.find((h) => h.absoluteIndex === Se.value - 1) : m.timeLabels.find((h) => h.absoluteIndex === Se.value - 1)), {
545
+ return Jt.value || (d = m.usePreciseLabels ? m.preciseLabels.find((h) => h.absoluteIndex === ge.value) : m.timeLabels.find((h) => h.absoluteIndex === ge.value), f = m.usePreciseLabels ? m.preciseLabels.find((h) => h.absoluteIndex === Se.value - 1) : m.timeLabels.find((h) => h.absoluteIndex === Se.value - 1)), {
546
546
  left: d ? d.text : "",
547
547
  right: f ? f.text : ""
548
548
  };
549
549
  });
550
550
  il(() => {
551
- wt.value && wt.value.disconnect(), Ue && lt && window.removeEventListener(Ue, lt), xt && rt && window.removeEventListener(xt, rt), Ue = xt = null, lt = rt = null, clearTimeout(Xl);
551
+ wt.value && wt.value.disconnect(), Ue && lt && window.removeEventListener(Ue, lt), xt && rt && window.removeEventListener(xt, rt), Ue = xt = null, lt = rt = null, clearTimeout(Yl);
552
552
  });
553
- const Jl = x(() => {
553
+ const Ql = x(() => {
554
554
  if (!it.value.length) return null;
555
- if (Te.value >= St.value && Te.value < et.value) {
556
- const d = Te.value;
555
+ if (Ie.value >= St.value && Ie.value < et.value) {
556
+ const d = Ie.value;
557
557
  return {
558
558
  x1: ee.value * d + (m.minimapCompact ? 0 : ee.value / 2),
559
559
  x2: ee.value * d + (m.minimapCompact ? 0 : ee.value / 2),
@@ -819,7 +819,7 @@ const pn = {
819
819
  stroke: S.textColor,
820
820
  rx: 3
821
821
  }, null, 8, Yn)) : g("", !0),
822
- Te.value !== null && !He.value ? (n(), i("line", zt(Ht({ key: 9 }, Jl.value)), null, 16)) : g("", !0),
822
+ Ie.value !== null && !He.value ? (n(), i("line", zt(Ht({ key: 9 }, Ql.value)), null, 16)) : g("", !0),
823
823
  S.minimapMerged ? (n(), i("g", Gn, [
824
824
  N.value && N.value.firstPlot && N.value.firstPlot.value !== null ? (n(), i("circle", {
825
825
  key: 0,
@@ -920,7 +920,7 @@ const pn = {
920
920
  onMouseup: f[1] || (f[1] = (C) => He.value = !1),
921
921
  onMouseenter: (C) => L(h),
922
922
  onMouseleave: f[2] || (f[2] = (C) => {
923
- Te.value = null, Ge("trapMouse", null);
923
+ Ie.value = null, Ge("trapMouse", null);
924
924
  })
925
925
  }, null, 44, oi))), 256))
926
926
  ], 8, Sn))
@@ -942,7 +942,7 @@ const pn = {
942
942
  S.enableRangeHandles ? Ta((n(), i("input", {
943
943
  key: 1,
944
944
  ref_key: "rangeStart",
945
- ref: Ie,
945
+ ref: Ne,
946
946
  type: "range",
947
947
  class: Qe({
948
948
  "range-left": !0,
@@ -995,10 +995,10 @@ const pn = {
995
995
  { number: !0 }
996
996
  ]
997
997
  ]) : g("", !0),
998
- be.value.left ? (n(), i("div", {
998
+ xe.value.left ? (n(), i("div", {
999
999
  key: 3,
1000
1000
  ref_key: "tooltipLeft",
1001
- ref: Ne,
1001
+ ref: Pe,
1002
1002
  class: Qe({
1003
1003
  "range-tooltip": !0,
1004
1004
  "range-tooltip-visible": bt.value,
@@ -1010,12 +1010,12 @@ const pn = {
1010
1010
  color: v(ht)(S.selectColor),
1011
1011
  backgroundColor: S.selectColor,
1012
1012
  border: `1px solid ${ae.value}`,
1013
- zIndex: `${Kl.value + 4}`,
1014
- visibility: Zt.value || be.value.left === be.value.right ? "hidden" : "visible",
1013
+ zIndex: `${Jl.value + 4}`,
1014
+ visibility: Zt.value || xe.value.left === xe.value.right ? "hidden" : "visible",
1015
1015
  top: he.value && S.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1016
1016
  })
1017
- }, ue(be.value.left), 7)) : g("", !0),
1018
- (Zt.value || be.value.left === be.value.right) && (be.value.left || be.value.right) ? (n(), i("div", {
1017
+ }, ue(xe.value.left), 7)) : g("", !0),
1018
+ (Zt.value || xe.value.left === xe.value.right) && (xe.value.left || xe.value.right) ? (n(), i("div", {
1019
1019
  key: 4,
1020
1020
  ref: "tooltipMerge",
1021
1021
  class: Qe({
@@ -1034,11 +1034,11 @@ const pn = {
1034
1034
  zIndex: "4",
1035
1035
  top: he.value && S.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1036
1036
  })
1037
- }, ue(be.value.left === be.value.right ? be.value.left : `${be.value.left} - ${be.value.right}`), 7)) : g("", !0),
1038
- be.value.right ? (n(), i("div", {
1037
+ }, ue(xe.value.left === xe.value.right ? xe.value.left : `${xe.value.left} - ${xe.value.right}`), 7)) : g("", !0),
1038
+ xe.value.right ? (n(), i("div", {
1039
1039
  key: 5,
1040
1040
  ref_key: "tooltipRight",
1041
- ref: _e,
1041
+ ref: Le,
1042
1042
  class: Qe({
1043
1043
  "range-tooltip": !0,
1044
1044
  "range-tooltip-visible": bt.value,
@@ -1051,14 +1051,14 @@ const pn = {
1051
1051
  backgroundColor: S.selectColor,
1052
1052
  border: `1px solid ${ae.value}`,
1053
1053
  zIndex: "4",
1054
- visibility: Zt.value || be.value.left === be.value.right ? "hidden" : "visible",
1054
+ visibility: Zt.value || xe.value.left === xe.value.right ? "hidden" : "visible",
1055
1055
  top: he.value && S.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1056
1056
  })
1057
- }, ue(be.value.right), 7)) : g("", !0)
1057
+ }, ue(xe.value.right), 7)) : g("", !0)
1058
1058
  ], 544)
1059
1059
  ], 544));
1060
1060
  }
1061
- }, ri = /* @__PURE__ */ yo(si, [["__scopeId", "data-v-e8e47fe9"]]), ci = ["id"], vi = ["id"], di = ["viewBox", "aria-label"], hi = ["x", "y", "width", "height"], mi = { key: 1 }, fi = { class: "vue-ui-xy-grid" }, gi = ["stroke", "x1", "x2", "y1", "y2"], xi = ["stroke", "x1", "x2", "y1", "y2"], bi = { key: 1 }, yi = ["x1", "x2", "y1", "y2", "stroke"], pi = ["x1", "x2", "y1", "y2", "stroke"], ki = ["x1", "x2", "y1", "y2", "stroke"], wi = { key: 3 }, Si = ["d", "stroke"], $i = { key: 4 }, _i = ["d", "stroke"], Mi = ["id"], Li = ["stop-color"], Ci = ["stop-color"], Ai = ["stop-color"], zi = ["id"], Ti = ["stop-color"], Ii = ["stop-color"], Ni = ["stop-color"], Pi = ["id"], Fi = ["stop-color"], Ri = ["stop-color"], Vi = ["id"], Oi = ["stop-color"], Bi = ["stop-color"], Ei = ["id"], Hi = ["stop-color"], Di = ["stop-color"], Wi = ["x", "y", "height", "width", "fill"], Xi = ["x", "y", "width"], Yi = { key: 0 }, Gi = ["x", "y", "height", "width", "fill"], Ui = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], qi = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Zi = ["width", "x", "y"], Ki = { key: 0 }, Ji = ["id"], Qi = ["fill"], ji = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], eu = ["x", "y", "font-size", "fill"], tu = ["stroke", "x1", "x2", "y1", "y2"], lu = { key: 3 }, au = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ou = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], nu = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], iu = ["fill", "font-size", "transform"], uu = ["x1", "x2", "y1", "y2", "stroke"], su = ["x", "y", "font-size", "fill"], ru = ["x1", "x2", "y1", "y2", "stroke"], cu = ["x", "y", "font-size", "fill"], vu = ["width", "x", "y"], du = { style: { width: "100%" } }, hu = { key: 0 }, mu = ["id"], fu = ["fill"], gu = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], xu = ["x", "y", "font-size", "fill"], bu = ["d", "stroke", "stroke-width", "stroke-dasharray"], yu = ["d", "stroke", "stroke-width", "stroke-dasharray"], pu = { key: 6 }, ku = { key: 7 }, wu = ["d", "fill", "fill-opacity"], Su = { key: 0 }, $u = ["d", "fill"], _u = ["d", "fill"], Mu = ["d", "fill"], Lu = ["d", "fill"], Cu = ["d", "stroke", "stroke-width", "stroke-dasharray"], Au = ["d", "stroke", "stroke-width", "stroke-dasharray"], zu = ["width", "x", "y"], Tu = { style: { width: "100%" } }, Iu = { key: 3 }, Nu = ["id"], Pu = ["fill"], Fu = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ru = ["x", "y", "font-size", "fill"], Vu = { key: 8 }, Ou = ["x", "y", "font-size", "fill"], Bu = ["x", "y", "font-size", "fill", "font-weight"], Eu = { key: 9 }, Hu = ["x", "y", "font-size", "fill"], Du = { key: 10 }, Wu = ["x", "y"], Xu = ["innerHTML"], Yu = ["x", "y"], Gu = ["innerHTML"], Uu = ["x1", "x2", "y1", "y2", "stroke"], qu = { key: 11 }, Zu = ["x", "y", "font-size", "fill"], Ku = { key: 12 }, Ju = ["x", "y"], Qu = ["innerHTML"], ju = ["x", "y"], es = ["innerHTML"], ts = ["x1", "x2", "y1", "y2", "stroke"], ls = ["x", "y", "font-size", "fill", "innerHTML"], as = ["x", "y", "font-size", "fill", "innerHTML"], os = ["x", "y", "font-size", "fill", "innerHTML"], ns = ["x", "y", "font-size", "fill", "innerHTML"], is = ["id"], us = ["stop-color"], ss = ["stop-color"], rs = ["x", "y", "width", "height", "fill", "onMouseenter"], cs = ["font-size", "fill", "transform"], vs = ["x", "y", "font-size", "fill"], ds = ["text-anchor", "font-size", "fill", "transform", "onClick"], hs = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], ms = { key: 15 }, fs = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], gs = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], xs = ["y", "x", "width", "height", "fill"], bs = ["id", "x", "y", "font-size", "fill", "text-anchor"], ys = {
1061
+ }, ri = /* @__PURE__ */ yo(si, [["__scopeId", "data-v-f0a40d04"]]), ci = ["id"], vi = ["id"], di = ["viewBox", "aria-label"], hi = ["x", "y", "width", "height"], mi = { key: 1 }, fi = { class: "vue-ui-xy-grid" }, gi = ["stroke", "x1", "x2", "y1", "y2"], xi = ["stroke", "x1", "x2", "y1", "y2"], bi = { key: 1 }, yi = ["x1", "x2", "y1", "y2", "stroke"], pi = ["x1", "x2", "y1", "y2", "stroke"], ki = ["x1", "x2", "y1", "y2", "stroke"], wi = { key: 3 }, Si = ["d", "stroke"], $i = { key: 4 }, _i = ["d", "stroke"], Mi = ["id"], Li = ["stop-color"], Ci = ["stop-color"], Ai = ["stop-color"], zi = ["id"], Ti = ["stop-color"], Ii = ["stop-color"], Ni = ["stop-color"], Pi = ["id"], Fi = ["stop-color"], Ri = ["stop-color"], Vi = ["id"], Oi = ["stop-color"], Bi = ["stop-color"], Ei = ["id"], Hi = ["stop-color"], Di = ["stop-color"], Wi = ["x", "y", "height", "width", "fill"], Xi = ["x", "y", "width"], Yi = { key: 0 }, Gi = ["x", "y", "height", "width", "fill"], Ui = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], qi = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Zi = ["width", "x", "y"], Ki = { key: 0 }, Ji = ["id"], Qi = ["fill"], ji = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], eu = ["x", "y", "font-size", "fill"], tu = ["stroke", "x1", "x2", "y1", "y2"], lu = { key: 3 }, au = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ou = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], nu = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], iu = ["fill", "font-size", "transform"], uu = ["x1", "x2", "y1", "y2", "stroke"], su = ["x", "y", "font-size", "fill"], ru = ["x1", "x2", "y1", "y2", "stroke"], cu = ["x", "y", "font-size", "fill"], vu = ["width", "x", "y"], du = { style: { width: "100%" } }, hu = { key: 0 }, mu = ["id"], fu = ["fill"], gu = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], xu = ["x", "y", "font-size", "fill"], bu = ["d", "stroke", "stroke-width", "stroke-dasharray"], yu = ["d", "stroke", "stroke-width", "stroke-dasharray"], pu = { key: 6 }, ku = { key: 7 }, wu = ["d", "fill", "fill-opacity"], Su = { key: 0 }, $u = ["d", "fill"], _u = ["d", "fill"], Mu = ["d", "fill"], Lu = ["d", "fill"], Cu = ["d", "stroke", "stroke-width", "stroke-dasharray"], Au = ["d", "stroke", "stroke-width", "stroke-dasharray"], zu = ["width", "x", "y"], Tu = { style: { width: "100%" } }, Iu = { key: 3 }, Nu = ["id"], Pu = ["fill"], Fu = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ru = ["x", "y", "font-size", "fill"], Vu = { key: 8 }, Ou = ["x", "y", "font-size", "fill"], Bu = ["x", "y", "font-size", "fill", "font-weight"], Eu = { key: 9 }, Hu = ["x", "y", "font-size", "fill"], Du = { key: 10 }, Wu = ["x", "y"], Xu = ["innerHTML"], Yu = ["x", "y"], Gu = ["innerHTML"], Uu = ["x1", "x2", "y1", "y2", "stroke"], qu = { key: 11 }, Zu = ["x", "y", "font-size", "fill"], Ku = { key: 12 }, Ju = ["x", "y"], Qu = ["innerHTML"], ju = ["x", "y"], es = ["innerHTML"], ts = ["x1", "x2", "y1", "y2", "stroke"], ls = ["x", "y", "font-size", "fill", "innerHTML"], as = ["x", "y", "font-size", "fill", "innerHTML"], os = ["x", "y", "font-size", "fill", "innerHTML"], ns = ["x", "y", "font-size", "fill", "innerHTML"], is = ["id"], us = ["stop-color"], ss = ["stop-color"], rs = ["x", "y", "width", "height", "fill", "onMouseenter"], cs = ["font-size", "fill", "transform"], vs = ["x", "y", "font-size", "fill"], ds = ["text-anchor", "font-size", "fill", "transform", "onClick"], hs = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], ms = { key: 15 }, fs = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], gs = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], xs = ["y", "x", "width", "height", "fill"], bs = ["id", "x", "y", "font-size", "fill", "text-anchor"], ys = {
1062
1062
  key: 16,
1063
1063
  style: { "pointer-events": "none" }
1064
1064
  }, ps = ["x", "y"], ks = ["innerHTML"], ws = ["cx", "cy", "r", "fill"], Ss = ["data-start", "data-end"], $s = {
@@ -1124,7 +1124,7 @@ const pn = {
1124
1124
  },
1125
1125
  emits: ["selectTimeLabel", "selectX", "selectLegend"],
1126
1126
  setup(S, { expose: ga, emit: xa }) {
1127
- const m = S, nt = Ot(() => import("./DataTable-BeFHXTQb.js")), xe = Ot(() => import("./Tooltip-DI84H3Yz.js")), Se = Ot(() => import("./UserOptions-2XI1AOh5.js")), he = Ot(() => import("./BaseIcon-ClWpJKO3.js")), $l = Ot(() => import("./vue-ui-table-sparkline-SjzOqua1.js")), sl = Ot(() => import("./PackageVersion-nvqupdcz.js")), Tt = Ot(() => import("./PenAndPaper-CdK_W5h2.js")), _l = Ot(() => import("./BaseDraggableDialog-DnDgu3fu.js")), It = xa, Dt = Eo(), Xl = Ho(), { vue_ui_xy: Ye } = Uo(), je = y(null), Ge = y(null), Re = y(null), ft = y(null), pt = y(null), kt = y(null), Ml = y(null), Ve = y(null), Ll = y(null), Nt = y(null), Cl = y(null), ae = y(null), it = y(null), rl = y(null), Pt = y(0), $ = y(null), wt = y(!0), se = y(600), re = y(1e3), cl = y("0 0 1000 600"), St = y({ x: 0, y: 0 }), et = y({ line: "line", bar: "bar", plot: "plot" }), $t = y(!1), ee = y(!1), Al = y(!1), ut = y(null), ce = y([]), U = y(ca()), zl = y(0), _t = y(0), Ft = y(0), Wt = y(!0), Tl = y(0), H = y(null), Yl = y(!1), vl = y(!0), dl = y(!0), $e = y(null), N = y({}), gt = y(null), Oe = y(!1), Te = y(null), A = y(null), hl = x(() => ({
1127
+ const m = S, nt = Ot(() => import("./DataTable-DFJ-uXFk.js")), ge = Ot(() => import("./Tooltip-Bv-2Sizc.js")), Se = Ot(() => import("./UserOptions-BpcEmsVG.js")), he = Ot(() => import("./BaseIcon-DW7Viin8.js")), $l = Ot(() => import("./vue-ui-table-sparkline-B7dymruQ.js")), sl = Ot(() => import("./PackageVersion-BzOBYV_n.js")), Tt = Ot(() => import("./PenAndPaper-DwI_W13k.js")), _l = Ot(() => import("./BaseDraggableDialog-D9yisoCl.js")), It = xa, Dt = Eo(), Yl = Ho(), { vue_ui_xy: Ye } = Uo(), je = y(null), Ge = y(null), Re = y(null), ft = y(null), pt = y(null), kt = y(null), Ml = y(null), Ve = y(null), Ll = y(null), Nt = y(null), Cl = y(null), ae = y(null), it = y(null), rl = y(null), Pt = y(0), $ = y(null), wt = y(!0), se = y(600), re = y(1e3), cl = y("0 0 1000 600"), St = y({ x: 0, y: 0 }), et = y({ line: "line", bar: "bar", plot: "plot" }), $t = y(!1), ee = y(!1), Al = y(!1), ut = y(null), ce = y([]), U = y(ca()), zl = y(0), _t = y(0), Ft = y(0), Wt = y(!0), Tl = y(0), H = y(null), Gl = y(!1), vl = y(!0), dl = y(!0), Me = y(null), N = y({}), gt = y(null), Oe = y(!1), Ie = y(null), A = y(null), hl = x(() => ({
1128
1128
  height: se.value,
1129
1129
  width: re.value
1130
1130
  }));
@@ -1134,12 +1134,12 @@ const pn = {
1134
1134
  function Il(l, s, e = 0) {
1135
1135
  return Number.isFinite(l) && Number.isFinite(s) && Math.abs(s) > 1e-9 ? l / s : e;
1136
1136
  }
1137
- const Gl = y(!1), L = y({
1137
+ const Ul = y(!1), L = y({
1138
1138
  xAxis: 18,
1139
1139
  yAxis: 12,
1140
1140
  dataLabels: 20,
1141
1141
  plotLabels: 10
1142
- }), Ie = y({ plot: 3, line: 3 });
1142
+ }), Ne = y({ plot: 3, line: 3 });
1143
1143
  Sl(() => {
1144
1144
  Oe.value = !0, m.dataset.length && m.dataset.forEach((l, s) => {
1145
1145
  [null, void 0].includes(l.series) && Ca({
@@ -1184,13 +1184,13 @@ const pn = {
1184
1184
  useIndividualScale: !1
1185
1185
  });
1186
1186
  function Ut() {
1187
- Gl.value ? (k.value.isStacked = t.value.chart.grid.labels.yAxis.stacked, k.value.useIndividualScale == null && (k.value.useIndividualScale = t.value.chart.grid.labels.yAxis.useIndividualScale)) : (k.value = {
1187
+ Ul.value ? (k.value.isStacked = t.value.chart.grid.labels.yAxis.stacked, k.value.useIndividualScale == null && (k.value.useIndividualScale = t.value.chart.grid.labels.yAxis.useIndividualScale)) : (k.value = {
1188
1188
  dataLabels: { show: !0 },
1189
1189
  showTooltip: t.value.chart.tooltip.show === !0,
1190
1190
  showTable: t.value.showTable === !0,
1191
1191
  isStacked: t.value.chart.grid.labels.yAxis.stacked,
1192
1192
  useIndividualScale: t.value.chart.grid.labels.yAxis.useIndividualScale
1193
- }, Gl.value = !0);
1193
+ }, Ul.value = !0);
1194
1194
  }
1195
1195
  const Mt = x(() => !!t.value.debug), { loading: me, FINAL_DATASET: fe, manualLoading: ml } = cn({
1196
1196
  ...Do(m),
@@ -1198,7 +1198,7 @@ const pn = {
1198
1198
  prepareConfig: Yt,
1199
1199
  callback: () => {
1200
1200
  Promise.resolve().then(async () => {
1201
- await ge(), k.value.showTable = t.value.showTable;
1201
+ await be(), k.value.showTable = t.value.showTable;
1202
1202
  });
1203
1203
  },
1204
1204
  skeletonDataset: [
@@ -1287,7 +1287,7 @@ const pn = {
1287
1287
  const ya = ba((l, s) => Aa({ data: l, threshold: s })), st = (l) => ya(l, t.value.downsample.threshold), Be = x({
1288
1288
  get: () => Math.max(...fe.value.map((l) => st(l.series).length)),
1289
1289
  set: (l) => l
1290
- }), p = y({ start: 0, end: Be.value }), tt = y({ start: 0, end: Be.value }), Ul = x(() => t.value.chart.zoom.preview.enable && (tt.value.start !== p.value.start || tt.value.end !== p.value.end));
1290
+ }), p = y({ start: 0, end: Be.value }), tt = y({ start: 0, end: Be.value }), ql = x(() => t.value.chart.zoom.preview.enable && (tt.value.start !== p.value.start || tt.value.end !== p.value.end));
1291
1291
  function Nl(l, s) {
1292
1292
  tt.value[l] = s;
1293
1293
  }
@@ -1327,21 +1327,21 @@ const pn = {
1327
1327
  const s = l - p.value.start;
1328
1328
  s < 0 || l >= p.value.end ? A.value = null : A.value = s ?? null;
1329
1329
  }, { immediate: !0 });
1330
- const { isPrinting: lt, isImaging: rt, generatePdf: Pl, generateImage: ql } = rn({
1330
+ const { isPrinting: lt, isImaging: rt, generatePdf: Pl, generateImage: Zl } = rn({
1331
1331
  elementId: `vue-ui-xy_${U.value}`,
1332
1332
  fileName: t.value.chart.title.text || "vue-ui-xy",
1333
1333
  options: t.value.chart.userOptions.print
1334
1334
  }), pa = y(!1), qt = x(() => Zo(t.value.customPalette)), fl = x(() => {
1335
1335
  if (t.value.chart.grid.labels.yAxis.scaleMin !== null)
1336
1336
  return t.value.chart.grid.labels.yAxis.scaleMin;
1337
- const l = Math.min(...Ne.value.filter((s) => !ce.value.includes(s.id)).map((s) => Math.min(...s.series)));
1337
+ const l = Math.min(...Pe.value.filter((s) => !ce.value.includes(s.id)).map((s) => Math.min(...s.series)));
1338
1338
  return l > 0 ? 0 : l;
1339
1339
  }), gl = x(() => {
1340
1340
  if (t.value.chart.grid.labels.yAxis.scaleMax)
1341
1341
  return t.value.chart.grid.labels.yAxis.scaleMax;
1342
- const l = Math.max(...Ne.value.filter((s) => !ce.value.includes(s.id)).map((s) => Math.max(...s.series)));
1342
+ const l = Math.max(...Pe.value.filter((s) => !ce.value.includes(s.id)).map((s) => Math.max(...s.series)));
1343
1343
  return fl.value === l ? l + 1 : l;
1344
- }), Ee = x(() => t.value.chart.grid.labels.yAxis.useNiceScale ? Wl(fl.value, gl.value < 0 ? 0 : gl.value, t.value.chart.grid.labels.yAxis.commonScaleSteps) : al(fl.value, gl.value < 0 ? 0 : gl.value, t.value.chart.grid.labels.yAxis.commonScaleSteps)), He = x(() => [null, void 0].includes(t.value.chart.grid.labels.yAxis.scaleMin) ? Ee.value.min >= 0 ? 0 : Math.abs(Ee.value.min) : -Ee.value.min), Ne = x(() => wt.value ? fe.value.map((l, s) => {
1344
+ }), Ee = x(() => t.value.chart.grid.labels.yAxis.useNiceScale ? Xl(fl.value, gl.value < 0 ? 0 : gl.value, t.value.chart.grid.labels.yAxis.commonScaleSteps) : al(fl.value, gl.value < 0 ? 0 : gl.value, t.value.chart.grid.labels.yAxis.commonScaleSteps)), He = x(() => [null, void 0].includes(t.value.chart.grid.labels.yAxis.scaleMin) ? Ee.value.min >= 0 ? 0 : Math.abs(Ee.value.min) : -Ee.value.min), Pe = x(() => wt.value ? fe.value.map((l, s) => {
1345
1345
  const e = st(l.series), u = `uniqueId_${s}`;
1346
1346
  return {
1347
1347
  ...l,
@@ -1351,14 +1351,14 @@ const pn = {
1351
1351
  id: u,
1352
1352
  scaleLabel: l.scaleLabel || u
1353
1353
  };
1354
- }) : fe.value), _e = x(() => Ne.value.map((l, s) => ({
1354
+ }) : fe.value), Le = x(() => Pe.value.map((l, s) => ({
1355
1355
  absoluteIndex: s,
1356
1356
  ...l,
1357
1357
  series: l.series.map((e) => e + He.value),
1358
1358
  absoluteValues: l.series,
1359
1359
  segregate: () => Va(l),
1360
1360
  isSegregated: ce.value.includes(l.id)
1361
- }))), Me = x(() => Ne.value.map((l, s) => ({
1361
+ }))), Ce = x(() => Pe.value.map((l, s) => ({
1362
1362
  ...l,
1363
1363
  series: l.series.map((e) => e + He.value),
1364
1364
  absoluteValues: l.series
@@ -1372,14 +1372,14 @@ const pn = {
1372
1372
  const s = Ll.value ? Ll.value.getBoundingClientRect().width + t.value.chart.grid.labels.axis.yLabelOffsetX + L.value.yAxis : 0, e = t.value.chart.grid.labels.yAxis.crosshairSize;
1373
1373
  return l + s + e;
1374
1374
  }
1375
- const bt = y(0), Zl = Ia((l) => {
1375
+ const bt = y(0), Kl = Ia((l) => {
1376
1376
  bt.value = l;
1377
1377
  }, 100);
1378
1378
  so((l) => {
1379
1379
  const s = Nt.value;
1380
1380
  if (!s) return;
1381
1381
  const e = new ResizeObserver((u) => {
1382
- Zl(u[0].contentRect.height);
1382
+ Kl(u[0].contentRect.height);
1383
1383
  });
1384
1384
  e.observe(s), l(() => e.disconnect());
1385
1385
  }), il(() => {
@@ -1390,11 +1390,11 @@ const pn = {
1390
1390
  Ve.value && (l = Ve.value.getBBox().height);
1391
1391
  let s = 0;
1392
1392
  return Nt.value && (s = bt.value), l + s + L.value.xAxis;
1393
- }), Kl = x(() => fe.value.some((l) => l.useProgression)), c = x(() => {
1393
+ }), Jl = x(() => fe.value.some((l) => l.useProgression)), c = x(() => {
1394
1394
  let l = 0;
1395
1395
  const s = 36;
1396
1396
  t.value.chart.grid.labels.show && (k.value.useIndividualScale && !k.value.isStacked ? l = (fe.value.length - ce.value.length) * (t.value.chart.grid.labels.yAxis.labelWidth + s) : k.value.useIndividualScale && k.value.isStacked ? l = t.value.chart.grid.labels.yAxis.labelWidth + s : l = xl());
1397
- const e = t.value.chart.labels.fontSize * 1.1, u = Kl.value ? 24 : 6;
1397
+ const e = t.value.chart.labels.fontSize * 1.1, u = Jl.value ? 24 : 6;
1398
1398
  if (Nt.value) {
1399
1399
  const o = Nt.value.getBBox().x;
1400
1400
  o < 0 && (l += Math.abs(o));
@@ -1421,21 +1421,21 @@ const pn = {
1421
1421
  const l = c.value.width / P.value, s = t.value.chart.grid.labels.xAxis.crosshairSize, e = t.value.chart.grid.labels.xAxis.crosshairsAlwaysAtZero;
1422
1422
  return jt.value.map((u, a) => {
1423
1423
  if (!u || !u.text) return null;
1424
- const r = c.value.left + l * a + l / 2, o = e ? Pe.value - (Pe.value === c.value.bottom ? 0 : s / 2) : c.value.bottom, R = e ? Pe.value + s / (Pe.value === c.value.bottom ? 1 : 2) : c.value.bottom + s;
1424
+ const r = c.value.left + l * a + l / 2, o = e ? _e.value - (_e.value === c.value.bottom ? 0 : s / 2) : c.value.bottom, R = e ? _e.value + s / (_e.value === c.value.bottom ? 1 : 2) : c.value.bottom + s;
1425
1425
  return `M${r},${o} L${r},${R}`;
1426
1426
  }).filter(Boolean).join(" ");
1427
1427
  });
1428
1428
  function Jt() {
1429
- return !!Xl?.vnode.props?.onSelectTimeLabel;
1429
+ return !!Yl?.vnode.props?.onSelectTimeLabel;
1430
1430
  }
1431
- function be(l, s, e) {
1431
+ function xe(l, s, e) {
1432
1432
  if (!gt.value) {
1433
1433
  const u = document.createElement("canvas");
1434
1434
  gt.value = u.getContext("2d");
1435
1435
  }
1436
1436
  return gt.value.font = `normal ${l}px sans-serif`, gt.value;
1437
1437
  }
1438
- function Jl() {
1438
+ function Ql() {
1439
1439
  const l = je.value.querySelectorAll(".vue-ui-xy-tag");
1440
1440
  l.length && Array.from(l).forEach((s) => s.style.opacity = "0");
1441
1441
  }
@@ -1444,7 +1444,7 @@ const pn = {
1444
1444
  }
1445
1445
  const f = y(!1);
1446
1446
  async function h(l = !1) {
1447
- await ul(), f.value = l, Yl.value && (dl.value = l);
1447
+ await ul(), f.value = l, Gl.value && (dl.value = l);
1448
1448
  }
1449
1449
  function z() {
1450
1450
  $t.value = !$t.value;
@@ -1526,8 +1526,8 @@ const pn = {
1526
1526
  r
1527
1527
  );
1528
1528
  });
1529
- function Le(l, s) {
1530
- const e = Me.value.map((u) => ({
1529
+ function Ae(l, s) {
1530
+ const e = Ce.value.map((u) => ({
1531
1531
  shape: u.shape || null,
1532
1532
  name: u.name,
1533
1533
  color: u.color,
@@ -1550,7 +1550,7 @@ const pn = {
1550
1550
  function Rl(l) {
1551
1551
  H.value = l;
1552
1552
  }
1553
- function Ql() {
1553
+ function jl() {
1554
1554
  k.value.isStacked = !k.value.isStacked, k.value.isStacked ? k.value.useIndividualScale = !0 : k.value.useIndividualScale = t.value.chart.grid.labels.yAxis.useIndividualScale;
1555
1555
  }
1556
1556
  function ct(l) {
@@ -1565,31 +1565,31 @@ const pn = {
1565
1565
  const s = Math.max(...fe.value.map((e) => st(e.series).length));
1566
1566
  return l > s ? s : l < 0 || t.value.chart.zoom.startIndex !== null && l < t.value.chart.zoom.startIndex ? t.value.chart.zoom.startIndex !== null ? t.value.chart.zoom.startIndex + 1 : 1 : l;
1567
1567
  }
1568
- async function ge() {
1568
+ async function be() {
1569
1569
  await ul(), await ul();
1570
1570
  const { startIndex: l, endIndex: s } = t.value.chart.zoom, e = Re.value, u = Math.max(...fe.value.map((a) => st(a.series).length));
1571
1571
  p.value = { start: 0, end: u }, (l != null || s != null) && e ? (l != null ? (p.value.start = l, e.setStartValue(l)) : (p.value.start = 0, e.setStartValue(0)), s != null ? (p.value.end = s + 1, e.setEndValue(wa(s + 1))) : (p.value.end = u, e.setEndValue(u))) : (p.value = { start: 0, end: u }, Pt.value += 1), tt.value.start = p.value.start, tt.value.end = p.value.end, Ue();
1572
1572
  }
1573
1573
  async function Vl() {
1574
- await ge();
1574
+ await be();
1575
1575
  }
1576
- function Ce(l) {
1576
+ function $e(l) {
1577
1577
  return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(l);
1578
1578
  }
1579
- const jl = x(() => Ee.value.max + He.value);
1579
+ const Ol = x(() => Ee.value.max + He.value);
1580
1580
  function Lt(l) {
1581
- return l / (Ce(jl.value) ? jl.value : 1);
1581
+ return l / ($e(Ol.value) ? Ol.value : 1);
1582
1582
  }
1583
- const Pe = x(() => isNaN(Lt(He.value)) ? c.value.bottom : c.value.bottom - c.value.height * Lt(He.value));
1583
+ const _e = x(() => isNaN(Lt(He.value)) ? c.value.bottom : c.value.bottom - c.value.height * Lt(He.value));
1584
1584
  function Na(l) {
1585
- const s = ![null, void 0].includes(t.value.chart.grid.labels.yAxis.scaleMin) && t.value.chart.grid.labels.yAxis.scaleMin > 0 && fl.value >= 0 ? c.value.bottom : Pe.value;
1586
- return l.value >= 0 ? G(s - l.y <= 0 ? 1e-5 : s - l.y) : G(l.y - Pe.value <= 0 ? 1e-5 : l.y - Pe.value);
1585
+ const s = ![null, void 0].includes(t.value.chart.grid.labels.yAxis.scaleMin) && t.value.chart.grid.labels.yAxis.scaleMin > 0 && fl.value >= 0 ? c.value.bottom : _e.value;
1586
+ return l.value >= 0 ? G(s - l.y <= 0 ? 1e-5 : s - l.y) : G(l.y - _e.value <= 0 ? 1e-5 : l.y - _e.value);
1587
1587
  }
1588
1588
  function Pa(l) {
1589
1589
  return l.value >= 0 ? G(l.zeroPosition - l.y <= 0 ? 1e-5 : l.zeroPosition - l.y) : G(l.y - l.zeroPosition <= 0 ? 1e-5 : l.zeroPosition - l.y);
1590
1590
  }
1591
1591
  const ve = x(() => {
1592
- const l = Math.max(1, P.value), s = Math.max(1, c.value.width), e = Math.max(1, Ne.value.filter((u) => u.type === "bar" && !ce.value.includes(u.id)).length);
1592
+ const l = Math.max(1, P.value), s = Math.max(1, c.value.width), e = Math.max(1, Pe.value.filter((u) => u.type === "bar" && !ce.value.includes(u.id)).length);
1593
1593
  return {
1594
1594
  bar: Il(s, l * e, 1),
1595
1595
  plot: Il(s, l, 1),
@@ -1603,12 +1603,12 @@ const pn = {
1603
1603
  return k.value.useIndividualScale && k.value.isStacked ? l.x + c.value.width / P.value * 0.05 : l.x + ve.value.bar / 2;
1604
1604
  }
1605
1605
  function Fa(l) {
1606
- return l.value >= 0 ? l.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(Pe.value) ? c.bottom.value : Pe.value;
1606
+ return l.value >= 0 ? l.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(_e.value) ? c.bottom.value : _e.value;
1607
1607
  }
1608
1608
  function Ra(l) {
1609
1609
  return l.value >= 0 ? l.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(l.zeroPosition) ? 0 : l.zeroPosition;
1610
1610
  }
1611
- const Ol = y(null);
1611
+ const Bl = y(null);
1612
1612
  let el = 0;
1613
1613
  function po(l, s, e) {
1614
1614
  return l >= e.left && l <= e.right && s >= e.top && s <= e.bottom;
@@ -1616,24 +1616,24 @@ const pn = {
1616
1616
  function ko(l) {
1617
1617
  if ($t.value) return;
1618
1618
  el && cancelAnimationFrame(el);
1619
- const s = $e.value?.getBoundingClientRect();
1619
+ const s = Me.value?.getBoundingClientRect();
1620
1620
  el = requestAnimationFrame(() => {
1621
1621
  if (el = 0, !s || !po(l.clientX, l.clientY, s)) {
1622
1622
  Sa();
1623
1623
  return;
1624
1624
  }
1625
- const u = $e.value.viewBox.baseVal.width / s.width, r = (l.clientX - s.left) * u - c.value.left, o = c.value.width / P.value, R = Math.floor(r / o);
1626
- R >= 0 && R < P.value ? Ol.value !== R && (Ol.value = R, Za(!0, R)) : Sa();
1625
+ const u = Me.value.viewBox.baseVal.width / s.width, r = (l.clientX - s.left) * u - c.value.left, o = c.value.width / P.value, R = Math.floor(r / o);
1626
+ R >= 0 && R < P.value ? Bl.value !== R && (Bl.value = R, Za(!0, R)) : Sa();
1627
1627
  });
1628
1628
  }
1629
1629
  function Sa() {
1630
- el && (cancelAnimationFrame(el), el = 0), Ol.value = null, Za(!1, null);
1630
+ el && (cancelAnimationFrame(el), el = 0), Bl.value = null, Za(!1, null);
1631
1631
  }
1632
1632
  function wo() {
1633
- Ol.value != null && So(Ol.value);
1633
+ Bl.value != null && So(Bl.value);
1634
1634
  }
1635
1635
  function So(l) {
1636
- const s = Me.value.map((e) => ({
1636
+ const s = Ce.value.map((e) => ({
1637
1637
  name: e.name,
1638
1638
  value: [null, void 0, NaN].includes(e.absoluteValues[l]) ? null : e.absoluteValues[l],
1639
1639
  color: e.color,
@@ -1649,7 +1649,7 @@ const pn = {
1649
1649
  ), t.value.events.datapointClick && t.value.events.datapointClick({ datapoint: s, seriesIndex: l + p.value.start });
1650
1650
  }
1651
1651
  function $o() {
1652
- return _e.value.map((l) => ({
1652
+ return Le.value.map((l) => ({
1653
1653
  values: l.absoluteValues,
1654
1654
  color: l.color,
1655
1655
  name: l.name,
@@ -1672,10 +1672,10 @@ const pn = {
1672
1672
  if (ce.value.includes(l.id))
1673
1673
  ce.value = ce.value.filter((s) => s !== l.id);
1674
1674
  else {
1675
- if (ce.value.length + 1 === Ne.value.length) return;
1675
+ if (ce.value.length + 1 === Pe.value.length) return;
1676
1676
  ce.value.push(l.id);
1677
1677
  }
1678
- It("selectLegend", Me.value.map((s) => ({
1678
+ It("selectLegend", Ce.value.map((s) => ({
1679
1679
  name: s.name,
1680
1680
  values: s.absoluteValues,
1681
1681
  color: s.color,
@@ -1706,7 +1706,7 @@ const pn = {
1706
1706
  series: st(l.series),
1707
1707
  id: `uniqueId_${s}`,
1708
1708
  color: vo(l.color ? l.color : qt.value[s] ? qt.value[s] : ho[s])
1709
- })) : fe.value), Ao = x(() => Me.value.map((l) => {
1709
+ })) : fe.value), Ao = x(() => Ce.value.map((l) => {
1710
1710
  const s = l.absoluteValues.map((e) => [void 0, null].includes(e) ? 0 : e);
1711
1711
  return {
1712
1712
  id: l.id,
@@ -1740,7 +1740,7 @@ const pn = {
1740
1740
  sparkline: {
1741
1741
  animation: { show: !1 }
1742
1742
  }
1743
- })), oe = x(() => t.value.chart.grid.position === "middle" ? 0 : c.value.width / P.value / 2), tl = x(() => Ko(_e.value.filter((l) => !ce.value.includes(l.id)))), F = x(() => {
1743
+ })), oe = x(() => t.value.chart.grid.position === "middle" ? 0 : c.value.width / P.value / 2), tl = x(() => Ko(Le.value.filter((l) => !ce.value.includes(l.id)))), F = x(() => {
1744
1744
  const l = Object.groupBy(tl.value, (e) => e.scaleLabel), s = {};
1745
1745
  for (const [e, u] of Object.entries(l)) {
1746
1746
  const a = u.flatMap((r) => r.absoluteValues);
@@ -1752,7 +1752,7 @@ const pn = {
1752
1752
  }
1753
1753
  return s;
1754
1754
  }), To = x(() => {
1755
- const l = Ne.value.filter((s) => s.type === "bar").filter((s) => !ce.value.includes(s.id)).length;
1755
+ const l = Pe.value.filter((s) => s.type === "bar").filter((s) => !ce.value.includes(s.id)).length;
1756
1756
  return c.value.width / P.value / l - ta.value * l;
1757
1757
  }), ta = x(() => ve.value.line * t.value.bar.periodGap), la = x(() => Math.max(1e-5, yl() - (k.value.useIndividualScale && k.value.isStacked ? 0 : ta.value))), aa = x(() => la.value * Math.min(Math.abs(t.value.bar.innerGap), 0.95)), Ea = x(() => {
1758
1758
  if (!t.value.chart.zoom.minimap.show) return [];
@@ -1764,7 +1764,7 @@ const pn = {
1764
1764
  }), Ha = x(() => t.value.chart.zoom.minimap.show ? Ba.value.map((s) => ({
1765
1765
  ...s,
1766
1766
  isVisible: !ce.value.includes(s.id)
1767
- })) : []), Ct = x(() => Me.value.map((l) => ({
1767
+ })) : []), Ct = x(() => Ce.value.map((l) => ({
1768
1768
  slotAbsoluteIndex: l.slotAbsoluteIndex,
1769
1769
  shape: l.shape || null,
1770
1770
  name: l.name,
@@ -1775,7 +1775,7 @@ const pn = {
1775
1775
  prefix: l.prefix || t.value.chart.labels.prefix,
1776
1776
  suffix: l.suffix || t.value.chart.labels.suffix
1777
1777
  }))), Da = x(() => Ee.value.ticks.map((l) => ({
1778
- y: l >= 0 ? Pe.value - c.value.height * Lt(l) : Pe.value + c.value.height * Lt(Math.abs(l)),
1778
+ y: l >= 0 ? _e.value - c.value.height * Lt(l) : _e.value + c.value.height * Lt(Math.abs(l)),
1779
1779
  value: l,
1780
1780
  prefix: t.value.chart.labels.prefix,
1781
1781
  suffix: t.value.chart.labels.suffix
@@ -1786,12 +1786,12 @@ const pn = {
1786
1786
  (T) => T.show && (T.yAxis.yTop != null || T.yAxis.yBottom != null)
1787
1787
  );
1788
1788
  if (!s.length) return [];
1789
- const { left: e, right: u } = c.value, a = Pe.value, r = c.value.height, o = Ee.value.min, E = Ee.value.max - o, X = (T) => {
1789
+ const { left: e, right: u } = c.value, a = _e.value, r = c.value.height, o = Ee.value.min, E = Ee.value.max - o, X = (T) => {
1790
1790
  const V = (T - 0) / E;
1791
1791
  return a - V * r;
1792
1792
  };
1793
1793
  return s.map((T) => {
1794
- const { yAxis: { yTop: V, yBottom: j, label: I } } = T, Y = V != null && j != null && V !== j, O = V == null ? null : X(V), de = j == null ? null : X(j), D = be(I.fontSize);
1794
+ const { yAxis: { yTop: V, yBottom: j, label: I } } = T, Y = V != null && j != null && V !== j, O = V == null ? null : X(V), de = j == null ? null : X(j), D = xe(I.fontSize);
1795
1795
  D.font = `${I.fontSize}px sans-serif`;
1796
1796
  const B = D.measureText(I.text).width, ie = I.fontSize, We = (I.position === "start" ? e + I.padding.left : u - I.padding.right) + I.offsetX, Ze = (O != null && de != null ? Math.min(O, de) : O ?? de) - I.fontSize / 3 + I.offsetY - I.padding.top;
1797
1797
  let Z;
@@ -1825,7 +1825,7 @@ const pn = {
1825
1825
  function Xa(l, s) {
1826
1826
  const e = l[s - 1], u = l[s + 1];
1827
1827
  let a = !!e && !!u && e.value == null && u.value == null || !e && !!u && u.value == null || !!e && !u && e.value == null;
1828
- return Ce(l[s].value) && a && t.value.line.cutNullValues;
1828
+ return $e(l[s].value) && a && t.value.line.cutNullValues;
1829
1829
  }
1830
1830
  const At = x(() => {
1831
1831
  const l = tl.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), s = l.length, e = t.value.chart.grid.labels.yAxis.gap, u = k.value.isStacked, a = u ? e * (s - 1) : 0, r = c.value.height - a;
@@ -1839,7 +1839,7 @@ const pn = {
1839
1839
  }, V = {
1840
1840
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
1841
1841
  min: o.scaleMin || Math.min(...o.absoluteValues.filter((q) => ![void 0, null].includes(q))) > 0 ? 0 : Math.min(...o.absoluteValues.filter((q) => ![null, void 0].includes(q)))
1842
- }, j = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, I = 1.0000001, Y = t.value.chart.grid.labels.yAxis.useNiceScale ? Wl(V.min, V.max === V.min ? V.max * I : V.max, j) : al(V.min, V.max === V.min ? V.max * I : V.max, j), O = t.value.chart.grid.labels.yAxis.useNiceScale ? Wl(T.valueMin, T.valueMax === T.valueMin ? T.valueMax * I : T.valueMax, j) : al(T.valueMin, T.valueMax === T.valueMin ? T.valueMax * I : T.valueMax, j), de = Y.min >= 0 ? 0 : Math.abs(Y.min), D = 0, B = Y.max + de, ie = O.max + Math.abs(D), We = o.stackIndex, kl = s - 1 - We, Ze = u ? 1 - o.cumulatedStackRatio : 0, Z = u ? r * Ze + e * kl : 0, K = u ? r * o.stackRatio : c.value.height, ye = c.value.bottom - Z - K * de / B, Ke = c.value.bottom - Z - K * D / ie, Fe = _e.value.filter((q) => q.type === "bar").filter((q) => !ce.value.includes(q.id)).length, Hl = o.series.map((q, ke) => {
1842
+ }, j = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, I = 1.0000001, Y = t.value.chart.grid.labels.yAxis.useNiceScale ? Xl(V.min, V.max === V.min ? V.max * I : V.max, j) : al(V.min, V.max === V.min ? V.max * I : V.max, j), O = t.value.chart.grid.labels.yAxis.useNiceScale ? Xl(T.valueMin, T.valueMax === T.valueMin ? T.valueMax * I : T.valueMax, j) : al(T.valueMin, T.valueMax === T.valueMin ? T.valueMax * I : T.valueMax, j), de = Y.min >= 0 ? 0 : Math.abs(Y.min), D = 0, B = Y.max + de, ie = O.max + Math.abs(D), We = o.stackIndex, kl = s - 1 - We, Ze = u ? 1 - o.cumulatedStackRatio : 0, Z = u ? r * Ze + e * kl : 0, K = u ? r * o.stackRatio : c.value.height, ye = c.value.bottom - Z - K * de / B, Ke = c.value.bottom - Z - K * D / ie, Fe = Le.value.filter((q) => q.type === "bar").filter((q) => !ce.value.includes(q.id)).length, Dl = o.series.map((q, ke) => {
1843
1843
  const Vt = k.value.useIndividualScale ? (o.absoluteValues[ke] + de) / B : Lt(q), ll = k.value.useIndividualScale && k.value.isStacked ? c.value.left + c.value.width / P.value * ke : c.value.left + ve.value.bar * R + ve.value.bar * ke * Fe - To.value / 2 - R * ta.value;
1844
1844
  return {
1845
1845
  yOffset: G(Z),
@@ -1852,7 +1852,7 @@ const pn = {
1852
1852
  comment: o.comments && o.comments.slice(p.value.start, p.value.end)[ke] || ""
1853
1853
  };
1854
1854
  }), Xe = o.absoluteValues.map((q) => O.min >= 0 ? (q - Math.abs(O.min)) / (O.max - Math.abs(O.min)) : (q + Math.abs(O.min)) / (O.max + Math.abs(O.min))), Rt = o.series.map((q, ke) => {
1855
- const Vt = k.value.useIndividualScale && k.value.isStacked ? c.value.left + c.value.width / P.value * ke : c.value.left - ve.value.bar / 2 + ve.value.bar * R + ve.value.bar * ke * _e.value.filter((ll) => ll.type === "bar").filter((ll) => !ce.value.includes(ll.id)).length;
1855
+ const Vt = k.value.useIndividualScale && k.value.isStacked ? c.value.left + c.value.width / P.value * ke : c.value.left - ve.value.bar / 2 + ve.value.bar * R + ve.value.bar * ke * Le.value.filter((ll) => ll.type === "bar").filter((ll) => !ce.value.includes(ll.id)).length;
1856
1856
  return {
1857
1857
  yOffset: G(Z),
1858
1858
  individualHeight: G(K),
@@ -1888,7 +1888,7 @@ const pn = {
1888
1888
  individualScale: o.autoScaling ? O : Y,
1889
1889
  individualMax: o.autoScaling ? ie : B,
1890
1890
  zeroPosition: o.autoScaling ? Ke : ye,
1891
- plots: o.autoScaling ? Rt : Hl,
1891
+ plots: o.autoScaling ? Rt : Dl,
1892
1892
  groupId: F.value[o.scaleLabel].groupId
1893
1893
  };
1894
1894
  });
@@ -1904,24 +1904,24 @@ const pn = {
1904
1904
  }, V = {
1905
1905
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
1906
1906
  min: o.scaleMin || (Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues))
1907
- }, j = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, I = 1.0000001, Y = t.value.chart.grid.labels.yAxis.useNiceScale ? Wl(V.min, V.max === V.min ? V.max * I : V.max, j) : al(V.min, V.max === V.min ? V.max * I : V.max, j), O = t.value.chart.grid.labels.yAxis.useNiceScale ? Wl(T.valueMin, T.valueMax === T.valueMin ? T.valueMax * I : T.valueMax, j) : al(T.valueMin, T.valueMax === T.valueMin ? T.valueMax * I : T.valueMax, j), de = Y.min >= 0 ? 0 : Math.abs(Y.min), D = 0, B = Y.max + Math.abs(de), ie = O.max + Math.abs(D), We = o.stackIndex, kl = s - 1 - We, Ze = u ? 1 - o.cumulatedStackRatio : 0, Z = u ? r * Ze + e * kl : 0, K = u ? r * o.stackRatio : c.value.height, ye = c.value.bottom - Z - K * de / B, Ke = c.value.bottom - Z - K * D / ie, Fe = o.series.map((W, Ae) => {
1908
- const Vo = k.value.useIndividualScale ? (o.absoluteValues[Ae] + Math.abs(de)) / B : Lt(W);
1907
+ }, j = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, I = 1.0000001, Y = t.value.chart.grid.labels.yAxis.useNiceScale ? Xl(V.min, V.max === V.min ? V.max * I : V.max, j) : al(V.min, V.max === V.min ? V.max * I : V.max, j), O = t.value.chart.grid.labels.yAxis.useNiceScale ? Xl(T.valueMin, T.valueMax === T.valueMin ? T.valueMax * I : T.valueMax, j) : al(T.valueMin, T.valueMax === T.valueMin ? T.valueMax * I : T.valueMax, j), de = Y.min >= 0 ? 0 : Math.abs(Y.min), D = 0, B = Y.max + Math.abs(de), ie = O.max + Math.abs(D), We = o.stackIndex, kl = s - 1 - We, Ze = u ? 1 - o.cumulatedStackRatio : 0, Z = u ? r * Ze + e * kl : 0, K = u ? r * o.stackRatio : c.value.height, ye = c.value.bottom - Z - K * de / B, Ke = c.value.bottom - Z - K * D / ie, Fe = o.series.map((W, ze) => {
1908
+ const Vo = k.value.useIndividualScale ? (o.absoluteValues[ze] + Math.abs(de)) / B : Lt(W);
1909
1909
  return {
1910
- x: G(c.value.left + ve.value.line / 2 + ve.value.line * Ae),
1910
+ x: G(c.value.left + ve.value.line / 2 + ve.value.line * ze),
1911
1911
  y: G(c.value.bottom - Z - K * Vo),
1912
- value: o.absoluteValues[Ae],
1913
- comment: o.comments && o.comments.slice(p.value.start, p.value.end)[Ae] || ""
1912
+ value: o.absoluteValues[ze],
1913
+ comment: o.comments && o.comments.slice(p.value.start, p.value.end)[ze] || ""
1914
1914
  };
1915
- }), Hl = o.absoluteValues.map((W) => O.min >= 0 ? (W - Math.abs(O.min)) / (O.max - Math.abs(O.min)) : (W + Math.abs(O.min)) / (O.max + Math.abs(O.min))), Xe = o.series.map((W, Ae) => [void 0, null].includes(o.absoluteValues[Ae]) ? {
1916
- x: G(c.value.left + ve.value.line / 2 + ve.value.line * Ae),
1915
+ }), Dl = o.absoluteValues.map((W) => O.min >= 0 ? (W - Math.abs(O.min)) / (O.max - Math.abs(O.min)) : (W + Math.abs(O.min)) / (O.max + Math.abs(O.min))), Xe = o.series.map((W, ze) => [void 0, null].includes(o.absoluteValues[ze]) ? {
1916
+ x: G(c.value.left + ve.value.line / 2 + ve.value.line * ze),
1917
1917
  y: ye,
1918
- value: o.absoluteValues[Ae],
1919
- comment: o.comments && o.comments.slice(p.value.start, p.value.end)[Ae] || ""
1918
+ value: o.absoluteValues[ze],
1919
+ comment: o.comments && o.comments.slice(p.value.start, p.value.end)[ze] || ""
1920
1920
  } : {
1921
- x: G(c.value.left + ve.value.line / 2 + ve.value.line * Ae),
1922
- y: G(c.value.bottom - Z - (K * Hl[Ae] || 0)),
1923
- value: o.absoluteValues[Ae],
1924
- comment: o.comments && o.comments.slice(p.value.start, p.value.end)[Ae] || ""
1921
+ x: G(c.value.left + ve.value.line / 2 + ve.value.line * ze),
1922
+ y: G(c.value.bottom - Z - (K * Dl[ze] || 0)),
1923
+ value: o.absoluteValues[ze],
1924
+ comment: o.comments && o.comments.slice(p.value.start, p.value.end)[ze] || ""
1925
1925
  }), Rt = t.value.line.cutNullValues ? da(Fe) : ha(Fe.filter((W) => W.value !== null)), le = t.value.line.cutNullValues ? da(Xe) : ha(Xe.filter((W) => W.value !== null)), pe = t.value.line.cutNullValues ? ma(Fe) : fa(Fe.filter((W) => W.value !== null)), q = t.value.line.cutNullValues ? ma(Xe) : fa(Xe.filter((W) => W.value !== null)), ke = Y.ticks.map((W) => ({
1926
1926
  y: W >= 0 ? ye - K * (W / B) : ye + K * Math.abs(W) / B,
1927
1927
  value: W,
@@ -1929,9 +1929,9 @@ const pn = {
1929
1929
  suffix: o.suffix || t.value.chart.labels.suffix,
1930
1930
  datapoint: o
1931
1931
  })), Vt = O.ticks.map((W) => {
1932
- const Ae = (W - O.min) / (O.max - O.min);
1932
+ const ze = (W - O.min) / (O.max - O.min);
1933
1933
  return {
1934
- y: W >= 0 ? Ke - K * Ae : Ke + K * Ae,
1934
+ y: W >= 0 ? Ke - K * ze : Ke + K * ze,
1935
1935
  value: W,
1936
1936
  prefix: o.prefix || t.value.chart.labels.prefix,
1937
1937
  suffix: o.suffix || t.value.chart.labels.suffix,
@@ -1939,7 +1939,7 @@ const pn = {
1939
1939
  };
1940
1940
  });
1941
1941
  F.value[o.scaleLabel].name = o.name, F.value[o.scaleLabel].groupName = o.scaleLabel, F.value[o.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || o.color, F.value[o.scaleLabel].color = o.color, F.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Vt : ke, F.value[o.scaleLabel].zeroPosition = o.autoScaling ? Ke : ye, F.value[o.scaleLabel].individualMax = o.autoScaling ? ie : B, F.value[o.scaleLabel].scaleLabel = o.scaleLabel, F.value[o.scaleLabel].id = o.id, F.value[o.scaleLabel].yOffset = Z, F.value[o.scaleLabel].individualHeight = K, F.value[o.scaleLabel].autoScaleYLabels = Vt, F.value[o.scaleLabel].unique = tl.value.filter((W) => W.scaleLabel === o.scaleLabel).length === 1;
1942
- const ll = k.value.useIndividualScale ? o.autoScaling ? Ke : ye : Pe.value, Dl = Math.max(Math.max(o.autoScaling ? Ke : ke.at(-1) ? ke.at(-1).y : 0, c.value.top), ll);
1942
+ const ll = k.value.useIndividualScale ? o.autoScaling ? Ke : ye : _e.value, Wl = Math.max(Math.max(o.autoScaling ? Ke : ke.at(-1) ? ke.at(-1).y : 0, c.value.top), ll);
1943
1943
  return {
1944
1944
  ...o,
1945
1945
  yOffset: Z,
@@ -1953,14 +1953,14 @@ const pn = {
1953
1953
  plots: o.autoScaling ? Xe : Fe,
1954
1954
  area: o.useArea ? k.value.useIndividualScale ? t.value.line.cutNullValues ? mo(
1955
1955
  o.autoScaling ? Xe : Fe,
1956
- Dl
1956
+ Wl
1957
1957
  ) : fo(
1958
1958
  o.autoScaling ? Xe.filter((W) => W.value !== null) : Fe.filter((W) => W.value !== null),
1959
- Dl
1960
- ) : t.value.line.cutNullValues ? mo(Fe, Dl) : fo(Fe.filter((W) => W.value !== null), Dl) : "",
1959
+ Wl
1960
+ ) : t.value.line.cutNullValues ? mo(Fe, Wl) : fo(Fe.filter((W) => W.value !== null), Wl) : "",
1961
1961
  curveAreas: o.useArea ? Jo(
1962
1962
  o.autoScaling ? t.value.line.cutNullValues ? Xe : Xe.filter((W) => W.value !== null) : t.value.line.cutNullValues ? Fe : Fe.filter((W) => W.value !== null),
1963
- Dl,
1963
+ Wl,
1964
1964
  t.value.line.cutNullValues
1965
1965
  ) : [],
1966
1966
  straight: o.autoScaling ? q : pe,
@@ -1987,7 +1987,7 @@ const pn = {
1987
1987
  value: o.absoluteValues[pe],
1988
1988
  comment: o.comments && o.comments.slice(p.value.start, p.value.end)[pe] || ""
1989
1989
  };
1990
- }), Fe = o.absoluteValues.map((le) => Y.min >= 0 ? (le - Math.abs(Y.min)) / (Y.max - Math.abs(Y.min)) : (le + Math.abs(Y.min)) / (Y.max + Math.abs(Y.min))), Hl = o.series.map((le, pe) => ({
1990
+ }), Fe = o.absoluteValues.map((le) => Y.min >= 0 ? (le - Math.abs(Y.min)) / (Y.max - Math.abs(Y.min)) : (le + Math.abs(Y.min)) / (Y.max + Math.abs(Y.min))), Dl = o.series.map((le, pe) => ({
1991
1991
  x: G(c.value.left + ve.value.plot / 2 + ve.value.plot * pe),
1992
1992
  y: G(c.value.bottom - Ze - (Z * Fe[pe] || 0)),
1993
1993
  value: o.absoluteValues[pe],
@@ -2017,11 +2017,11 @@ const pn = {
2017
2017
  individualScale: o.autoScaling ? Y : I,
2018
2018
  individualMax: o.autoScaling ? B : D,
2019
2019
  zeroPosition: o.autoScaling ? ye : K,
2020
- plots: o.autoScaling ? Hl : Ke,
2020
+ plots: o.autoScaling ? Dl : Ke,
2021
2021
  groupId: F.value[o.scaleLabel].groupId
2022
2022
  };
2023
2023
  });
2024
- }), Bl = x(() => {
2024
+ }), El = x(() => {
2025
2025
  const l = De.value.map((r) => ({
2026
2026
  name: r.name,
2027
2027
  color: r.color,
@@ -2067,7 +2067,7 @@ const pn = {
2067
2067
  id: r.id,
2068
2068
  groupId: r.groupId,
2069
2069
  scaleLabel: r.scaleLabel,
2070
- name: ze(
2070
+ name: Te(
2071
2071
  t.value.chart.grid.labels.yAxis.serieNameFormatter,
2072
2072
  E,
2073
2073
  E,
@@ -2110,7 +2110,7 @@ const pn = {
2110
2110
  }), Ga = x(() => ({
2111
2111
  datapoint: Ct.value,
2112
2112
  seriesIndex: A.value,
2113
- series: _e.value,
2113
+ series: Le.value,
2114
2114
  bars: At.value,
2115
2115
  lines: De.value,
2116
2116
  plots: vt.value,
@@ -2162,7 +2162,7 @@ const pn = {
2162
2162
  absoluteIndex: A.value + p.value.start,
2163
2163
  seriesIndex: A.value,
2164
2164
  datapoint: Ct.value,
2165
- series: _e.value,
2165
+ series: Le.value,
2166
2166
  bars: At.value,
2167
2167
  lines: De.value,
2168
2168
  plots: vt.value,
@@ -2172,7 +2172,7 @@ const pn = {
2172
2172
  absoluteIndex: A.value + p.value.start,
2173
2173
  seriesIndex: A.value,
2174
2174
  datapoint: Ct.value,
2175
- series: _e.value,
2175
+ series: Le.value,
2176
2176
  bars: At.value,
2177
2177
  lines: De.value,
2178
2178
  plots: vt.value,
@@ -2222,7 +2222,7 @@ const pn = {
2222
2222
  break;
2223
2223
  }
2224
2224
  }
2225
- l += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;"><div style="width:20px">${r}</div> ${a.name}: <b>${t.value.chart.tooltip.showValue ? ze(
2225
+ l += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;"><div style="width:20px">${r}</div> ${a.name}: <b>${t.value.chart.tooltip.showValue ? Te(
2226
2226
  a.type === "line" ? t.value.line.labels.formatter : a.type === "bar" ? t.value.bar.labels.formatter : t.value.plot.labels.formatter,
2227
2227
  a.value,
2228
2228
  ot({
@@ -2240,30 +2240,30 @@ const pn = {
2240
2240
  }
2241
2241
  }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${t.value.chart.tooltip.color}">${l}</div>`;
2242
2242
  }), qa = x(() => {
2243
- if (Ne.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
2244
- const l = Me.value.map((e) => ({
2243
+ if (Pe.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
2244
+ const l = Ce.value.map((e) => ({
2245
2245
  label: e.name,
2246
2246
  color: e.color,
2247
2247
  type: e.type
2248
2248
  })), s = [];
2249
2249
  return C.value.forEach((e, u) => {
2250
2250
  const a = t.value.table.useDefaultTimeFormat ? [e.text] : [pl.value(u + p.value.start, t.value.table.timeFormat)];
2251
- Me.value.forEach((r) => {
2252
- a.push(Ce(r.absoluteValues[u]) ? Number(r.absoluteValues[u].toFixed(t.value.table.rounding)) : "");
2251
+ Ce.value.forEach((r) => {
2252
+ a.push($e(r.absoluteValues[u]) ? Number(r.absoluteValues[u].toFixed(t.value.table.rounding)) : "");
2253
2253
  }), s.push(a);
2254
2254
  }), { head: l, body: s };
2255
2255
  }), na = x(() => {
2256
2256
  const l = t.value.table.showSum;
2257
- let s = [""].concat(Me.value.map((r) => r.name));
2257
+ let s = [""].concat(Ce.value.map((r) => r.name));
2258
2258
  l && (s = s.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>'));
2259
2259
  let e = [];
2260
2260
  for (let r = 0; r < P.value; r += 1) {
2261
- const o = Me.value.map((R) => R.absoluteValues[r] ?? 0).reduce((R, E) => R + E, 0);
2261
+ const o = Ce.value.map((R) => R.absoluteValues[r] ?? 0).reduce((R, E) => R + E, 0);
2262
2262
  e.push(
2263
2263
  [
2264
2264
  t.value.table.useDefaultTimeFormat ? C.value[r].text ?? "-" : pl.value(r + p.value.start, t.value.table.timeFormat)
2265
- ].concat(Me.value.map(
2266
- (R) => ze(
2265
+ ].concat(Ce.value.map(
2266
+ (R) => Te(
2267
2267
  R.type === "line" ? t.value.line.labels.formatter : R.type === "bar" ? t.value.bar.labels.formatter : t.value.plot.labels.formatter,
2268
2268
  R.absoluteValues[r] ?? 0,
2269
2269
  ot({
@@ -2288,7 +2288,7 @@ const pn = {
2288
2288
  outline: t.value.table.td.outline
2289
2289
  },
2290
2290
  breakpoint: t.value.table.responsiveBreakpoint
2291
- }, a = [t.value.table.columnNames.period].concat(Me.value.map((r) => r.name)).concat(t.value.table.columnNames.total);
2291
+ }, a = [t.value.table.columnNames.period].concat(Ce.value.map((r) => r.name)).concat(t.value.table.columnNames.total);
2292
2292
  return { head: s, body: e, config: u, colNames: a };
2293
2293
  });
2294
2294
  function _a(l = null) {
@@ -2297,7 +2297,7 @@ const pn = {
2297
2297
  }
2298
2298
  function Za(l, s = null) {
2299
2299
  Al.value = l;
2300
- const e = Me.value.map((u) => ({
2300
+ const e = Ce.value.map((u) => ({
2301
2301
  name: u.name,
2302
2302
  value: [null, void 0, NaN].includes(u.absoluteValues[s]) ? null : u.absoluteValues[s],
2303
2303
  color: u.color,
@@ -2319,7 +2319,7 @@ const pn = {
2319
2319
  }
2320
2320
  function eo() {
2321
2321
  if (!t.value.responsiveProportionalSizing) {
2322
- L.value.dataLabels = t.value.chart.grid.labels.fontSize, L.value.yAxis = t.value.chart.grid.labels.axis.fontSize, L.value.xAxis = t.value.chart.grid.labels.xAxisLabels.fontSize, L.value.plotLabels = t.value.chart.labels.fontSize, Ie.value.plot = t.value.plot.radius, Ie.value.line = t.value.line.radius;
2322
+ L.value.dataLabels = t.value.chart.grid.labels.fontSize, L.value.yAxis = t.value.chart.grid.labels.axis.fontSize, L.value.xAxis = t.value.chart.grid.labels.xAxisLabels.fontSize, L.value.plotLabels = t.value.chart.labels.fontSize, Ne.value.plot = t.value.plot.radius, Ne.value.line = t.value.line.radius;
2323
2323
  return;
2324
2324
  }
2325
2325
  L.value.dataLabels = wl({
@@ -2346,13 +2346,13 @@ const pn = {
2346
2346
  source: t.value.chart.labels.fontSize,
2347
2347
  threshold: 10,
2348
2348
  fallback: 10
2349
- }), Ie.value.plot = wl({
2349
+ }), Ne.value.plot = wl({
2350
2350
  relator: re.value,
2351
2351
  adjuster: 800,
2352
2352
  source: t.value.plot.radius,
2353
2353
  threshold: 1,
2354
2354
  fallback: 1
2355
- }), Ie.value.line = wl({
2355
+ }), Ne.value.line = wl({
2356
2356
  relator: re.value,
2357
2357
  adjuster: 800,
2358
2358
  source: t.value.line.radius,
@@ -2379,7 +2379,7 @@ const pn = {
2379
2379
  -----> The serie '${s.name}' contains the value '${e}' at index ${u}.
2380
2380
  '${e}' was converted to null to allow the chart to display.`);
2381
2381
  });
2382
- }), xo(m.dataset) || (ml.value = t.value.loading), Yl.value = t.value.chart.userOptions.showOnChartHover, vl.value = t.value.chart.userOptions.keepStateOnChartLeave, dl.value = !t.value.chart.userOptions.showOnChartHover, Ut();
2382
+ }), xo(m.dataset) || (ml.value = t.value.loading), Gl.value = t.value.chart.userOptions.showOnChartHover, vl.value = t.value.chart.userOptions.keepStateOnChartLeave, dl.value = !t.value.chart.userOptions.showOnChartHover, Ut();
2383
2383
  const l = 12;
2384
2384
  if (t.value.responsive) {
2385
2385
  const e = je.value.parentNode;
@@ -2403,7 +2403,7 @@ const pn = {
2403
2403
  });
2404
2404
  it.value = I, rl.value = e, I.observe(e);
2405
2405
  } else
2406
- se.value = t.value.chart.height, re.value = t.value.chart.width, L.value.dataLabels = t.value.chart.grid.labels.fontSize, L.value.yAxis = t.value.chart.grid.labels.axis.fontSize, L.value.xAxis = t.value.chart.grid.labels.xAxisLabels.fontSize, L.value.plotLabels = t.value.chart.labels.fontSize, Ie.value.plot = t.value.plot.radius, Ie.value.line = t.value.line.radius, cl.value = `0 0 ${re.value} ${se.value}`;
2406
+ se.value = t.value.chart.height, re.value = t.value.chart.width, L.value.dataLabels = t.value.chart.grid.labels.fontSize, L.value.yAxis = t.value.chart.grid.labels.axis.fontSize, L.value.xAxis = t.value.chart.grid.labels.xAxisLabels.fontSize, L.value.plotLabels = t.value.chart.labels.fontSize, Ne.value.plot = t.value.plot.radius, Ne.value.line = t.value.line.radius, cl.value = `0 0 ${re.value} ${se.value}`;
2407
2407
  }
2408
2408
  function to(l) {
2409
2409
  St.value = {
@@ -2412,9 +2412,9 @@ const pn = {
2412
2412
  };
2413
2413
  }
2414
2414
  Sl(() => {
2415
- Ma(), ge(), document.addEventListener("mousemove", to, { passive: !0 }), document.addEventListener("scroll", Jl, { passive: !0 });
2415
+ Ma(), be(), document.addEventListener("mousemove", to, { passive: !0 }), document.addEventListener("scroll", Ql, { passive: !0 });
2416
2416
  }), il(() => {
2417
- document.removeEventListener("scroll", Jl, { passive: !0 }), document.removeEventListener("mousemove", to, { passive: !0 }), it.value && (it.value.unobserve(rl.value), it.value.disconnect(), it.value = null);
2417
+ document.removeEventListener("scroll", Ql, { passive: !0 }), document.removeEventListener("mousemove", to, { passive: !0 }), it.value && (it.value.unobserve(rl.value), it.value.disconnect(), it.value = null);
2418
2418
  }), mn({
2419
2419
  timeLabelsEls: Nt,
2420
2420
  timeLabels: C,
@@ -2505,13 +2505,13 @@ const pn = {
2505
2505
  Sl(() => {
2506
2506
  oo();
2507
2507
  const l = new ResizeObserver(() => {
2508
- oo(), La.value && (Ma(), Ue(), ge());
2508
+ oo(), La.value && (Ma(), Ue(), be());
2509
2509
  });
2510
2510
  je.value?.parentNode && l.observe(je.value.parentNode);
2511
2511
  }), mt(t, () => {
2512
2512
  Ut();
2513
2513
  }, { immediate: !0 });
2514
- const El = x(() => {
2514
+ const Hl = x(() => {
2515
2515
  const l = t.value.table.useDialog && !t.value.showTable, s = k.value.showTable;
2516
2516
  return {
2517
2517
  component: l ? _l : yn,
@@ -2542,7 +2542,7 @@ const pn = {
2542
2542
  };
2543
2543
  });
2544
2544
  mt(() => k.value.showTable, (l) => {
2545
- t.value.showTable || (l && t.value.table.useDialog && Te.value ? Te.value.open() : Te.value && Te.value.close && Te.value.close());
2545
+ t.value.showTable || (l && t.value.table.useDialog && Ie.value ? Ie.value.open() : Ie.value && Ie.value.close && Ie.value.close());
2546
2546
  });
2547
2547
  function no() {
2548
2548
  k.value.showTable = !1, ae.value && ae.value.setTableIconState(!1);
@@ -2551,9 +2551,9 @@ const pn = {
2551
2551
  getData: $o,
2552
2552
  getImage: _o,
2553
2553
  generatePdf: Pl,
2554
- generateImage: ql,
2554
+ generateImage: Zl,
2555
2555
  generateCsv: _a,
2556
- toggleStack: Ql,
2556
+ toggleStack: jl,
2557
2557
  toggleTable: Ka,
2558
2558
  toggleLabels: Ja,
2559
2559
  toggleTooltip: Qa,
@@ -2568,9 +2568,9 @@ const pn = {
2568
2568
  onMouseenter: s[10] || (s[10] = () => h(!0)),
2569
2569
  onMouseleave: s[11] || (s[11] = () => h(!1))
2570
2570
  }, [
2571
- t.value.chart.userOptions.buttons.annotator && $e.value ? (n(), at(v(Tt), {
2571
+ t.value.chart.userOptions.buttons.annotator && Me.value ? (n(), at(v(Tt), {
2572
2572
  key: 0,
2573
- svgRef: $e.value,
2573
+ svgRef: Me.value,
2574
2574
  backgroundColor: t.value.chart.backgroundColor,
2575
2575
  color: t.value.chart.color,
2576
2576
  active: $t.value,
@@ -2638,10 +2638,10 @@ const pn = {
2638
2638
  onToggleFullscreen: ja,
2639
2639
  onGeneratePdf: v(Pl),
2640
2640
  onGenerateCsv: _a,
2641
- onGenerateImage: v(ql),
2641
+ onGenerateImage: v(Zl),
2642
2642
  onToggleTable: Ka,
2643
2643
  onToggleLabels: Ja,
2644
- onToggleStack: Ql,
2644
+ onToggleStack: jl,
2645
2645
  onToggleTooltip: Qa,
2646
2646
  onToggleAnnotator: z,
2647
2647
  style: M({
@@ -2721,7 +2721,7 @@ const pn = {
2721
2721
  ]), 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),
2722
2722
  (n(), i("svg", {
2723
2723
  ref_key: "svgRef",
2724
- ref: $e,
2724
+ ref: Me,
2725
2725
  xmlns: "http://www.w3.org/2000/svg",
2726
2726
  class: Qe([{ "vue-data-ui-fullscreen--on": ee.value, "vue-data-ui-fulscreen--off": !ee.value }, "vue-ui-xy-svg vue-data-ui-svg"]),
2727
2727
  width: "100%",
@@ -2770,7 +2770,7 @@ const pn = {
2770
2770
  "stroke-linecap": "round",
2771
2771
  style: { animation: "none !important" }
2772
2772
  }, null, 8, gi)) : g("", !0),
2773
- k.value.useIndividualScale ? t.value.chart.grid.showHorizontalLines ? (n(!0), i(b, { key: 2 }, _(Bl.value, (e) => (n(), i("g", null, [
2773
+ k.value.useIndividualScale ? t.value.chart.grid.showHorizontalLines ? (n(!0), i(b, { key: 2 }, _(El.value, (e) => (n(), i("g", null, [
2774
2774
  e.id === $.value && e.yLabels.length ? (n(!0), i(b, { key: 0 }, _(e.yLabels, (u) => (n(), i("line", {
2775
2775
  x1: c.value.left + oe.value,
2776
2776
  x2: c.value.right - oe.value,
@@ -2997,7 +2997,7 @@ const pn = {
2997
2997
  (n(!0), i(b, null, _(e.plots, (a, r) => (n(), i("g", {
2998
2998
  key: `bar_plot_${u}_${r}`
2999
2999
  }, [
3000
- Ce(a.value) ? (n(), i("rect", {
3000
+ $e(a.value) ? (n(), i("rect", {
3001
3001
  key: 0,
3002
3002
  x: ea(a) + aa.value / 2,
3003
3003
  y: k.value.useIndividualScale ? Ra(a) : Fa(a),
@@ -3011,7 +3011,7 @@ const pn = {
3011
3011
  transition: v(me) || !t.value.bar.showTransition ? void 0 : `all ${t.value.bar.transitionDurationMs}ms ease-in-out`
3012
3012
  })
3013
3013
  }, null, 12, Ui)) : g("", !0),
3014
- Ce(a.value) && l.$slots.pattern ? (n(), i("rect", {
3014
+ $e(a.value) && l.$slots.pattern ? (n(), i("rect", {
3015
3015
  key: 1,
3016
3016
  x: ea(a) - aa.value / 2,
3017
3017
  y: k.value.useIndividualScale ? Ra(a) : Fa(a),
@@ -3083,8 +3083,8 @@ const pn = {
3083
3083
  "stroke-width": "1",
3084
3084
  x1: c.value.left + oe.value,
3085
3085
  x2: c.value.right,
3086
- y1: v(J)(Pe.value),
3087
- y2: v(J)(Pe.value),
3086
+ y1: v(J)(_e.value),
3087
+ y2: v(J)(_e.value),
3088
3088
  "stroke-linecap": "round",
3089
3089
  style: { animation: "none !important" }
3090
3090
  }, null, 8, tu)) : g("", !0),
@@ -3121,7 +3121,7 @@ const pn = {
3121
3121
  ref: Cl
3122
3122
  }, [
3123
3123
  k.value.useIndividualScale ? (n(), i(b, { key: 0 }, [
3124
- (n(!0), i(b, null, _(Bl.value, (e) => (n(), i("g", null, [
3124
+ (n(!0), i(b, null, _(El.value, (e) => (n(), i("g", null, [
3125
3125
  w("line", {
3126
3126
  x1: e.x + oe.value - c.value.individualOffsetX,
3127
3127
  x2: e.x + oe.value - c.value.individualOffsetX,
@@ -3133,7 +3133,7 @@ const pn = {
3133
3133
  style: M(`opacity:${$.value ? $.value === e.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out; animation: none !important`)
3134
3134
  }, null, 12, nu)
3135
3135
  ]))), 256)),
3136
- (n(!0), i(b, null, _(Bl.value, (e) => (n(), i("g", {
3136
+ (n(!0), i(b, null, _(El.value, (e) => (n(), i("g", {
3137
3137
  style: M(`opacity:${$.value ? $.value === e.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
3138
3138
  }, [
3139
3139
  w("text", {
@@ -3162,7 +3162,7 @@ const pn = {
3162
3162
  "font-size": L.value.dataLabels,
3163
3163
  "text-anchor": "end",
3164
3164
  fill: e.color
3165
- }, ue(v(ze)(
3165
+ }, ue(v(Te)(
3166
3166
  t.value.chart.grid.labels.yAxis.formatter,
3167
3167
  u.value,
3168
3168
  v(ot)({
@@ -3177,7 +3177,7 @@ const pn = {
3177
3177
  ], 64)) : (n(!0), i(b, { key: 1 }, _(Da.value, (e, u) => (n(), i("g", {
3178
3178
  key: `yLabel_${u}`
3179
3179
  }, [
3180
- Ce(e) && e.value >= Ee.value.min && e.value <= Ee.value.max && t.value.chart.grid.labels.yAxis.showCrosshairs ? (n(), i("line", {
3180
+ $e(e) && e.value >= Ee.value.min && e.value <= Ee.value.max && t.value.chart.grid.labels.yAxis.showCrosshairs ? (n(), i("line", {
3181
3181
  key: 0,
3182
3182
  x1: c.value.left + oe.value,
3183
3183
  x2: c.value.left + oe.value - t.value.chart.grid.labels.yAxis.crosshairSize,
@@ -3195,7 +3195,7 @@ const pn = {
3195
3195
  "font-size": L.value.dataLabels,
3196
3196
  "text-anchor": "end",
3197
3197
  fill: t.value.chart.grid.labels.color
3198
- }, ue(Ce(e.value) ? v(ze)(
3198
+ }, ue($e(e.value) ? v(Te)(
3199
3199
  t.value.chart.grid.labels.yAxis.formatter,
3200
3200
  e.value,
3201
3201
  v(ot)({
@@ -3215,12 +3215,12 @@ const pn = {
3215
3215
  (n(!0), i(b, null, _(e.plots, (a, r) => (n(), i("g", {
3216
3216
  key: `circle_plot_${u}_${r}`
3217
3217
  }, [
3218
- a && Ce(a.value) ? (n(), at(ra, {
3218
+ a && $e(a.value) ? (n(), at(ra, {
3219
3219
  key: 0,
3220
3220
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(e.shape) ? e.shape : "circle",
3221
3221
  color: t.value.plot.useGradient ? `url(#plotGradient_${u}_${U.value})` : t.value.plot.dot.useSerieColor ? e.color : t.value.plot.dot.fill,
3222
3222
  plot: { x: v(G)(a.x), y: v(G)(a.y) },
3223
- radius: A.value !== null && A.value === r || H.value !== null && H.value === r ? (Ie.value.plot || 6) * 1.5 : Ie.value.plot || 6,
3223
+ radius: A.value !== null && A.value === r || H.value !== null && H.value === r ? (Ne.value.plot || 6) * 1.5 : Ne.value.plot || 6,
3224
3224
  stroke: t.value.plot.dot.useSerieColor ? t.value.chart.backgroundColor : e.color,
3225
3225
  strokeWidth: t.value.plot.dot.strokeWidth,
3226
3226
  transition: v(me) || !t.value.plot.showTransition || A.value !== null && A.value === r || H.value !== null && H.value === r ? void 0 : `all ${t.value.plot.transitionDurationMs}ms ease-in-out`
@@ -3307,7 +3307,7 @@ const pn = {
3307
3307
  }, null, 12, yu)) : g("", !0)
3308
3308
  ], 6))), 128)),
3309
3309
  l.$slots.pattern ? (n(), i("defs", pu, [
3310
- (n(!0), i(b, null, _(Ne.value, (e, u) => Q(l.$slots, "pattern", Ht({
3310
+ (n(!0), i(b, null, _(Pe.value, (e, u) => Q(l.$slots, "pattern", Ht({
3311
3311
  key: `serie_pattern_slot_${e.id}`
3312
3312
  }, { ref_for: !0 }, { ...e, seriesIndex: e.slotAbsoluteIndex, patternId: `pattern_${U.value}_${u}` }), void 0, !0)), 128))
3313
3313
  ])) : g("", !0),
@@ -3379,12 +3379,12 @@ const pn = {
3379
3379
  (n(!0), i(b, null, _(e.plots, (a, r) => (n(), i(b, {
3380
3380
  key: `circle_line_${u}_${r}`
3381
3381
  }, [
3382
- !Oa.value.linePlot && a && Ce(a.value) || Oa.value.linePlot && a && Ce(a.value) && (A.value !== null && A.value === r || H.value !== null && H.value === r) || Xa(e.plots, r) ? (n(), at(ra, {
3382
+ !Oa.value.linePlot && a && $e(a.value) || Oa.value.linePlot && a && $e(a.value) && (A.value !== null && A.value === r || H.value !== null && H.value === r) || Xa(e.plots, r) ? (n(), at(ra, {
3383
3383
  key: 0,
3384
3384
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(e.shape) ? e.shape : "circle",
3385
3385
  color: t.value.line.useGradient ? `url(#lineGradient_${u}_${U.value})` : t.value.line.dot.useSerieColor ? e.color : t.value.line.dot.fill,
3386
3386
  plot: { x: v(G)(a.x), y: v(G)(a.y) },
3387
- radius: A.value !== null && A.value === r || H.value !== null && H.value === r ? (Ie.value.line || 6) * 1.5 : (Xa(e.plots, r), Ie.value.line || 6),
3387
+ radius: A.value !== null && A.value === r || H.value !== null && H.value === r ? (Ne.value.line || 6) * 1.5 : (Xa(e.plots, r), Ne.value.line || 6),
3388
3388
  stroke: t.value.line.dot.useSerieColor ? t.value.chart.backgroundColor : e.color,
3389
3389
  strokeWidth: t.value.line.dot.strokeWidth,
3390
3390
  transition: v(me) || !t.value.line.showTransition || A.value !== null && A.value === r || H.value !== null && H.value === r ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out`
@@ -3460,7 +3460,7 @@ const pn = {
3460
3460
  "font-size": L.value.plotLabels,
3461
3461
  fill: t.value.bar.labels.color,
3462
3462
  style: M(`opacity:${$.value ? $.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3463
- }, ue(Ce(a.value) ? v(ze)(
3463
+ }, ue($e(a.value) ? v(Te)(
3464
3464
  t.value.bar.labels.formatter,
3465
3465
  a.value,
3466
3466
  v(ot)({
@@ -3505,7 +3505,7 @@ const pn = {
3505
3505
  "font-size": L.value.plotLabels,
3506
3506
  fill: t.value.plot.labels.color,
3507
3507
  style: M(`opacity:${$.value ? $.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3508
- }, ue(Ce(a.value) ? v(ze)(
3508
+ }, ue($e(a.value) ? v(Te)(
3509
3509
  t.value.plot.labels.formatter,
3510
3510
  a.value,
3511
3511
  v(ot)({
@@ -3552,7 +3552,7 @@ const pn = {
3552
3552
  }, [
3553
3553
  w("div", {
3554
3554
  style: M(`padding: 3px; background:${v(dt)(e.color, 80)};color:${v(ht)(e.color)};width:fit-content;font-size:${L.value.plotLabels}px;border-radius: 2px;`),
3555
- innerHTML: v(ze)(
3555
+ innerHTML: v(Te)(
3556
3556
  t.value.plot.tag.formatter,
3557
3557
  a.value,
3558
3558
  e.name,
@@ -3574,7 +3574,7 @@ const pn = {
3574
3574
  }, [
3575
3575
  w("div", {
3576
3576
  style: M(`padding: 3px; background:${v(dt)(e.color, 80)};color:${v(ht)(e.color)};width:fit-content;font-size:${L.value.plotLabels}px;border-radius: 2px;`),
3577
- innerHTML: v(ze)(
3577
+ innerHTML: v(Te)(
3578
3578
  t.value.plot.tag.formatter,
3579
3579
  a.value,
3580
3580
  e.name,
@@ -3605,7 +3605,7 @@ const pn = {
3605
3605
  "font-size": L.value.plotLabels,
3606
3606
  fill: t.value.line.labels.color,
3607
3607
  style: M(`opacity:${$.value ? $.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3608
- }, ue(Ce(a.value) ? v(ze)(
3608
+ }, ue($e(a.value) ? v(Te)(
3609
3609
  t.value.line.labels.formatter,
3610
3610
  a.value,
3611
3611
  v(ot)({
@@ -3652,7 +3652,7 @@ const pn = {
3652
3652
  }, [
3653
3653
  w("div", {
3654
3654
  style: M(`padding: 3px; background:${v(dt)(e.color, 80)};color:${v(ht)(e.color)};width:fit-content;font-size:${L.value.plotLabels}px;border-radius: 2px;`),
3655
- innerHTML: v(ze)(
3655
+ innerHTML: v(Te)(
3656
3656
  t.value.line.tag.formatter,
3657
3657
  a.value,
3658
3658
  e.name,
@@ -3674,7 +3674,7 @@ const pn = {
3674
3674
  }, [
3675
3675
  w("div", {
3676
3676
  style: M(`padding: 3px; background:${v(dt)(e.color, 80)};color:${v(ht)(e.color)};width:fit-content;font-size:${L.value.plotLabels}px;border-radius: 2px;`),
3677
- innerHTML: v(ze)(
3677
+ innerHTML: v(Te)(
3678
3678
  t.value.line.tag.formatter,
3679
3679
  a.value,
3680
3680
  e.name,
@@ -3776,7 +3776,7 @@ const pn = {
3776
3776
  ], 64))), 128)),
3777
3777
  k.value.useIndividualScale && !k.value.isStacked ? (n(), i(b, { key: 13 }, [
3778
3778
  w("defs", null, [
3779
- (n(!0), i(b, null, _(Bl.value, (e, u) => (n(), i("linearGradient", {
3779
+ (n(!0), i(b, null, _(El.value, (e, u) => (n(), i("linearGradient", {
3780
3780
  id: `individual_scale_gradient_${U.value}_${u}`,
3781
3781
  x1: "0%",
3782
3782
  x2: "100%",
@@ -3795,7 +3795,7 @@ const pn = {
3795
3795
  }, null, 8, ss)
3796
3796
  ], 8, is))), 256))
3797
3797
  ]),
3798
- (n(!0), i(b, null, _(Bl.value, (e, u) => (n(), i("rect", {
3798
+ (n(!0), i(b, null, _(El.value, (e, u) => (n(), i("rect", {
3799
3799
  x: e.x - t.value.chart.grid.labels.yAxis.labelWidth + oe.value - c.value.individualOffsetX,
3800
3800
  y: c.value.top,
3801
3801
  width: t.value.chart.grid.labels.yAxis.labelWidth + c.value.individualOffsetX,
@@ -3867,7 +3867,7 @@ const pn = {
3867
3867
  x: 0,
3868
3868
  y: 0
3869
3869
  }),
3870
- onClick: () => Le(e, u)
3870
+ onClick: () => Ae(e, u)
3871
3871
  }, null, 12, hs)) : (n(), i("text", {
3872
3872
  key: 0,
3873
3873
  class: "vue-data-ui-time-label",
@@ -3878,7 +3878,7 @@ const pn = {
3878
3878
  style: M({
3879
3879
  cursor: Jt() ? "pointer" : "default"
3880
3880
  }),
3881
- onClick: () => Le(e, u)
3881
+ onClick: () => Ae(e, u)
3882
3882
  }, ue(e.text || ""), 13, ds))
3883
3883
  ], 64)) : g("", !0)
3884
3884
  ]))), 128))
@@ -3960,7 +3960,7 @@ const pn = {
3960
3960
  }, null, 8, ws)
3961
3961
  ])) : g("", !0)
3962
3962
  ])) : g("", !0),
3963
- Ul.value ? (n(), i("rect", Ht({ key: 2 }, xt.value, {
3963
+ ql.value ? (n(), i("rect", Ht({ key: 2 }, xt.value, {
3964
3964
  "data-start": p.value.start,
3965
3965
  "data-end": p.value.end
3966
3966
  }), null, 16, Ss)) : g("", !0),
@@ -3985,14 +3985,14 @@ const pn = {
3985
3985
  style: M({
3986
3986
  position: "fixed",
3987
3987
  top: v(Et)({
3988
- svgElement: $e.value,
3988
+ svgElement: Me.value,
3989
3989
  x: c.value.right + t.value.line.tag.fontSize / 1.5,
3990
3990
  y: a.y,
3991
3991
  element: N.value[`${u}_${r}_right_line`],
3992
3992
  position: "right"
3993
3993
  }).top + "px",
3994
3994
  left: v(Et)({
3995
- svgElement: $e.value,
3995
+ svgElement: Me.value,
3996
3996
  x: c.value.right + t.value.line.tag.fontSize / 1.5,
3997
3997
  y: a.y,
3998
3998
  element: N.value[`${u}_${r}_right_line`],
@@ -4016,7 +4016,7 @@ const pn = {
4016
4016
  ])),
4017
4017
  w("div", {
4018
4018
  class: "vue-ui-xy-tag-content",
4019
- innerHTML: v(ze)(
4019
+ innerHTML: v(Te)(
4020
4020
  t.value.line.tag.formatter,
4021
4021
  a.value,
4022
4022
  e.name,
@@ -4037,14 +4037,14 @@ const pn = {
4037
4037
  style: M({
4038
4038
  position: "fixed",
4039
4039
  top: v(Et)({
4040
- svgElement: $e.value,
4040
+ svgElement: Me.value,
4041
4041
  x: c.value.left - t.value.line.tag.fontSize / 1.5,
4042
4042
  y: a.y,
4043
4043
  element: N.value[`${u}_${r}_left_line`],
4044
4044
  position: "left"
4045
4045
  }).top + "px",
4046
4046
  left: v(Et)({
4047
- svgElement: $e.value,
4047
+ svgElement: Me.value,
4048
4048
  x: c.value.left - t.value.line.tag.fontSize / 1.5,
4049
4049
  y: a.y,
4050
4050
  element: N.value[`${u}_${r}_left_line`],
@@ -4068,7 +4068,7 @@ const pn = {
4068
4068
  ])),
4069
4069
  w("div", {
4070
4070
  class: "vue-ui-xy-tag-content",
4071
- innerHTML: v(ze)(
4071
+ innerHTML: v(Te)(
4072
4072
  t.value.line.tag.formatter,
4073
4073
  a.value,
4074
4074
  e.name,
@@ -4097,14 +4097,14 @@ const pn = {
4097
4097
  style: M({
4098
4098
  position: "fixed",
4099
4099
  top: v(Et)({
4100
- svgElement: $e.value,
4100
+ svgElement: Me.value,
4101
4101
  x: c.value.right + t.value.plot.tag.fontSize / 1.5,
4102
4102
  y: a.y,
4103
4103
  element: N.value[`${u}_${r}_right_plot`],
4104
4104
  position: "right"
4105
4105
  }).top + "px",
4106
4106
  left: v(Et)({
4107
- svgElement: $e.value,
4107
+ svgElement: Me.value,
4108
4108
  x: c.value.right + t.value.plot.tag.fontSize / 1.5,
4109
4109
  y: a.y,
4110
4110
  element: N.value[`${u}_${r}_right_plot`],
@@ -4128,7 +4128,7 @@ const pn = {
4128
4128
  ])),
4129
4129
  w("div", {
4130
4130
  class: "vue-ui-xy-tag-content",
4131
- innerHTML: v(ze)(
4131
+ innerHTML: v(Te)(
4132
4132
  t.value.plot.tag.formatter,
4133
4133
  a.value,
4134
4134
  e.name,
@@ -4149,14 +4149,14 @@ const pn = {
4149
4149
  style: M({
4150
4150
  position: "fixed",
4151
4151
  top: v(Et)({
4152
- svgElement: $e.value,
4152
+ svgElement: Me.value,
4153
4153
  x: c.value.left - t.value.plot.tag.fontSize / 1.5,
4154
4154
  y: a.y,
4155
4155
  element: N.value[`${u}_${r}_left_plot`],
4156
4156
  position: "left"
4157
4157
  }).top + "px",
4158
4158
  left: v(Et)({
4159
- svgElement: $e.value,
4159
+ svgElement: Me.value,
4160
4160
  x: c.value.left - t.value.plot.tag.fontSize / 1.5,
4161
4161
  y: a.y,
4162
4162
  element: N.value[`${u}_${r}_left_plot`],
@@ -4180,7 +4180,7 @@ const pn = {
4180
4180
  ])),
4181
4181
  w("div", {
4182
4182
  class: "vue-ui-xy-tag-content",
4183
- innerHTML: v(ze)(
4183
+ innerHTML: v(Te)(
4184
4184
  t.value.plot.tag.formatter,
4185
4185
  a.value,
4186
4186
  e.name,
@@ -4243,7 +4243,7 @@ const pn = {
4243
4243
  onFutureStart: s[3] || (s[3] = (e) => Nl("start", e)),
4244
4244
  onFutureEnd: s[4] || (s[4] = (e) => Nl("end", e)),
4245
4245
  timeLabels: te.value,
4246
- isPreview: Ul.value
4246
+ isPreview: ql.value
4247
4247
  }, {
4248
4248
  "reset-action": we(({ reset: e }) => [
4249
4249
  Q(l.$slots, "reset-action", zt(Bt({ reset: e })), void 0, !0)
@@ -4315,10 +4315,10 @@ const pn = {
4315
4315
  fontSize: `var(--legend-font-size, ${t.value.chart.legend.fontSize ?? 14}px)`
4316
4316
  })
4317
4317
  }, [
4318
- (n(!0), i(b, null, _(_e.value, (e, u) => (n(), i("div", {
4318
+ (n(!0), i(b, null, _(Le.value, (e, u) => (n(), i("div", {
4319
4319
  key: `div_legend_item_${u}`,
4320
4320
  onClick: (a) => Va(e),
4321
- class: Qe({ "vue-ui-xy-legend-item-alone": _e.value.length === 1, "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": ce.value.includes(e.id) })
4321
+ class: Qe({ "vue-ui-xy-legend-item-alone": Le.value.length === 1, "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": ce.value.includes(e.id) })
4322
4322
  }, [
4323
4323
  et.value[e.type] === "line" ? (n(), i("svg", Bs, [
4324
4324
  w("rect", {
@@ -4377,7 +4377,7 @@ const pn = {
4377
4377
  ref_key: "chartLegend",
4378
4378
  ref: ft
4379
4379
  }, [
4380
- Q(l.$slots, "legend", { legend: _e.value }, void 0, !0)
4380
+ Q(l.$slots, "legend", { legend: Le.value }, void 0, !0)
4381
4381
  ], 512))
4382
4382
  ], 8, ["to"])) : g("", !0),
4383
4383
  l.$slots.source ? (n(), i("div", {
@@ -4388,7 +4388,7 @@ const pn = {
4388
4388
  }, [
4389
4389
  Q(l.$slots, "source", {}, void 0, !0)
4390
4390
  ], 512)) : g("", !0),
4391
- nl(v(xe), {
4391
+ nl(v(ge), {
4392
4392
  show: k.value.showTooltip && Al.value,
4393
4393
  backgroundColor: t.value.chart.tooltip.backgroundColor,
4394
4394
  color: t.value.chart.tooltip.color,
@@ -4416,9 +4416,9 @@ const pn = {
4416
4416
  ]),
4417
4417
  _: 3
4418
4418
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
4419
- Gt.value && t.value.chart.userOptions.buttons.table ? (n(), at(Xo(El.value.component), Ht({ key: 9 }, El.value.props, {
4419
+ Gt.value && t.value.chart.userOptions.buttons.table ? (n(), at(Xo(Hl.value.component), Ht({ key: 9 }, Hl.value.props, {
4420
4420
  ref_key: "tableUnit",
4421
- ref: Te,
4421
+ ref: Ie,
4422
4422
  onClose: no
4423
4423
  }), ro({
4424
4424
  content: we(() => [
@@ -4453,7 +4453,7 @@ const pn = {
4453
4453
  head: na.value.head,
4454
4454
  body: na.value.body,
4455
4455
  config: na.value.config,
4456
- title: t.value.table.useDialog ? "" : El.value.title,
4456
+ title: t.value.table.useDialog ? "" : Hl.value.title,
4457
4457
  withCloseButton: !t.value.table.useDialog,
4458
4458
  onClose: no
4459
4459
  }, {
@@ -4477,7 +4477,7 @@ const pn = {
4477
4477
  t.value.table.useDialog ? {
4478
4478
  name: "title",
4479
4479
  fn: we(() => [
4480
- co(ue(El.value.title), 1)
4480
+ co(ue(Hl.value.title), 1)
4481
4481
  ]),
4482
4482
  key: "0"
4483
4483
  } : void 0,
@@ -4491,7 +4491,7 @@ const pn = {
4491
4491
  }, [
4492
4492
  nl(v(he), {
4493
4493
  name: "excel",
4494
- stroke: El.value.props.color
4494
+ stroke: Hl.value.props.color
4495
4495
  }, null, 8, ["stroke"])
4496
4496
  ])
4497
4497
  ]),