vue-data-ui 3.1.16 → 3.1.17

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 (88) hide show
  1. package/dist/{Arrow-5vUlLOBt.js → Arrow-DFX_NfRh.js} +1 -1
  2. package/dist/{BaseDraggableDialog-RzeiqHjP.js → BaseDraggableDialog-CrCjMg89.js} +2 -2
  3. package/dist/{BaseIcon-wGdAhoaF.js → BaseIcon-7s-tCFcQ.js} +1 -1
  4. package/dist/{ColorPicker-DNOgu-Rw.js → ColorPicker-BoLH_m_Z.js} +2 -2
  5. package/dist/{DataTable-JX5MWop0.js → DataTable-Dw6dxJk3.js} +2 -2
  6. package/dist/{Legend-QXKyEiPD.js → Legend-CjdnJGHq.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-BG4C0Flj.js → NonSvgPenAndPaper-tX2IXHuz.js} +3 -3
  8. package/dist/{PackageVersion-BSXHahdf.js → PackageVersion-D1HToLlZ.js} +1 -1
  9. package/dist/{PenAndPaper-ScGkrINJ.js → PenAndPaper-BKnXOYre.js} +3 -3
  10. package/dist/{Shape-B5nsWKct.js → Shape-6PexQroB.js} +1 -1
  11. package/dist/{Slicer-BP5JybRr.js → Slicer-BJkhMBk4.js} +2 -2
  12. package/dist/{SparkTooltip-qH7jdTTV.js → SparkTooltip-BtO1j0i1.js} +1 -1
  13. package/dist/{Title-Cs26H3hX.js → Title-BVMfF0uu.js} +1 -1
  14. package/dist/{Tooltip-BAx7Btsw.js → Tooltip-DBvmoYXU.js} +1 -1
  15. package/dist/{UserOptions-BLVLaZDQ.js → UserOptions-CKzW9w0Q.js} +2 -2
  16. package/dist/{dom-to-png-8xSfWIE3.js → dom-to-png-D0wlWRL9.js} +1 -1
  17. package/dist/{img-DYi-2xfu.js → img-CeCjiMpr.js} +1 -1
  18. package/dist/{index-D6OjIQeq.js → index-Lg17rmB1.js} +1 -1
  19. package/dist/{pdf-BE8YApaL.js → pdf-D5bgIg6W.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/{useAutoSizeLabelsInsideViewbox-CeJVwNle.js → useAutoSizeLabelsInsideViewbox-BxqMb3sU.js} +1 -1
  22. package/dist/{useNestedProp-QUe0ze7N.js → useNestedProp-DpwLJMsW.js} +1 -1
  23. package/dist/{usePrinter-BZ8rT5v2.js → usePrinter-DGI4Mlad.js} +2 -2
  24. package/dist/{vue-data-ui-C8k4Y_oL.js → vue-data-ui-lki09wwK.js} +64 -64
  25. package/dist/vue-data-ui.js +1 -1
  26. package/dist/{vue-ui-3d-bar-Bt5Fz91G.js → vue-ui-3d-bar-8b3VZcUI.js} +6 -6
  27. package/dist/{vue-ui-accordion-Cq060UfJ.js → vue-ui-accordion-BJG-ogQj.js} +3 -3
  28. package/dist/{vue-ui-age-pyramid-8y3q3bso.js → vue-ui-age-pyramid-Cr_dhyTO.js} +6 -6
  29. package/dist/{vue-ui-annotator-CiYwSoCc.js → vue-ui-annotator-ttaqcMTz.js} +2 -2
  30. package/dist/{vue-ui-bullet-1eQWn7Q3.js → vue-ui-bullet-DXvTj07g.js} +7 -7
  31. package/dist/{vue-ui-candlestick-CIlTxwGr.js → vue-ui-candlestick-B5NqFTXr.js} +7 -7
  32. package/dist/{vue-ui-carousel-table-CgwL2hyg.js → vue-ui-carousel-table-B0bpCRFh.js} +4 -4
  33. package/dist/{vue-ui-chestnut-DlpqIPgH.js → vue-ui-chestnut-Cby7Wcbu.js} +5 -5
  34. package/dist/{vue-ui-chord-EjxXbSFh.js → vue-ui-chord-Cxg8nwzZ.js} +8 -8
  35. package/dist/{vue-ui-circle-pack-DTCERNzf.js → vue-ui-circle-pack-Cc5e6dE3.js} +6 -6
  36. package/dist/{vue-ui-cursor-DvUoY7hb.js → vue-ui-cursor-D6MvR7jD.js} +2 -2
  37. package/dist/{vue-ui-dashboard-CXhJYlHM.js → vue-ui-dashboard-CaUM9n5b.js} +67 -67
  38. package/dist/{vue-ui-digits-BIyBotSz.js → vue-ui-digits-DsoHRv9p.js} +2 -2
  39. package/dist/{vue-ui-donut-BQZwtNJm.js → vue-ui-donut-Dxsq1gpz.js} +8 -8
  40. package/dist/{vue-ui-donut-evolution-UXTR4300.js → vue-ui-donut-evolution-CFu9WNVV.js} +8 -8
  41. package/dist/{vue-ui-dumbbell-g6zDDlZe.js → vue-ui-dumbbell-Cgb7ijQS.js} +7 -7
  42. package/dist/{vue-ui-flow-Ca_dZjw9.js → vue-ui-flow-Ucb9PdWP.js} +7 -7
  43. package/dist/{vue-ui-funnel-Om9LCUCJ.js → vue-ui-funnel-CV29tksj.js} +6 -6
  44. package/dist/{vue-ui-galaxy-BLUw06YE.js → vue-ui-galaxy-CVJb9_hA.js} +7 -7
  45. package/dist/{vue-ui-gauge-CK-pZBWT.js → vue-ui-gauge-ofpIH29X.js} +7 -7
  46. package/dist/{vue-ui-gizmo-BSxlb7sM.js → vue-ui-gizmo-Ci9kN9VQ.js} +3 -3
  47. package/dist/{vue-ui-heatmap-DZg46_w0.js → vue-ui-heatmap-BK_jorrw.js} +7 -7
  48. package/dist/{vue-ui-history-plot-D8sq7qDo.js → vue-ui-history-plot-Ce8BB4Tn.js} +7 -7
  49. package/dist/{vue-ui-kpi-CK4Sz-AD.js → vue-ui-kpi-DAHT9q6j.js} +3 -3
  50. package/dist/{vue-ui-mini-loader-D-potdmP.js → vue-ui-mini-loader-CuilTrcI.js} +2 -2
  51. package/dist/{vue-ui-molecule-B36nPur5.js → vue-ui-molecule-C6suewK-.js} +5 -5
  52. package/dist/{vue-ui-mood-radar-DaacpsBj.js → vue-ui-mood-radar-DPvGhgPI.js} +7 -7
  53. package/dist/{vue-ui-nested-donuts-UgIV0zrL.js → vue-ui-nested-donuts-BvPWp9Du.js} +7 -7
  54. package/dist/{vue-ui-onion-DWUFUuVG.js → vue-ui-onion-BZ0tfRV_.js} +8 -8
  55. package/dist/{vue-ui-parallel-coordinate-plot-DleqNzzO.js → vue-ui-parallel-coordinate-plot-DqFj8hbo.js} +8 -8
  56. package/dist/{vue-ui-quadrant-B_dlGzjJ.js → vue-ui-quadrant-Cg5e73ny.js} +8 -8
  57. package/dist/{vue-ui-quick-chart-Dyo1b6H6.js → vue-ui-quick-chart-sABlk5nb.js} +6 -6
  58. package/dist/{vue-ui-radar-NbR2uHg4.js → vue-ui-radar-DYcoGzSu.js} +8 -8
  59. package/dist/{vue-ui-rating-CryvFvr7.js → vue-ui-rating-1eguB-TH.js} +2 -2
  60. package/dist/{vue-ui-relation-circle-DF6dE4zW.js → vue-ui-relation-circle-BeWuQDkk.js} +7 -7
  61. package/dist/{vue-ui-ridgeline-8-dQ3bbv.js → vue-ui-ridgeline-CG7FefqU.js} +8 -8
  62. package/dist/{vue-ui-rings-B147Pr4Q.js → vue-ui-rings-2eedFGuC.js} +8 -8
  63. package/dist/{vue-ui-scatter-yKBu-zLG.js → vue-ui-scatter-CNtgNP5j.js} +8 -8
  64. package/dist/{vue-ui-skeleton-C-jwsbrt.js → vue-ui-skeleton-fqG3bKSz.js} +3 -3
  65. package/dist/{vue-ui-smiley-DFJ2-pxP.js → vue-ui-smiley-D4bvSF9S.js} +2 -2
  66. package/dist/{vue-ui-spark-trend-BU0OIb8g.js → vue-ui-spark-trend-GML5JJxY.js} +3 -3
  67. package/dist/{vue-ui-sparkbar-DRsv3ulD.js → vue-ui-sparkbar-D1FXZyQE.js} +3 -3
  68. package/dist/{vue-ui-sparkgauge-BfoO71Ji.js → vue-ui-sparkgauge-CHbbxg13.js} +3 -3
  69. package/dist/{vue-ui-sparkhistogram-DJtyI7Bl.js → vue-ui-sparkhistogram-BxYes64D.js} +4 -4
  70. package/dist/{vue-ui-sparkline-dHdyjp0m.js → vue-ui-sparkline-CS3F5TFN.js} +3 -3
  71. package/dist/{vue-ui-sparkstackbar-DQhZm6u2.js → vue-ui-sparkstackbar-CUSBwkUS.js} +3 -3
  72. package/dist/{vue-ui-stackbar-BEoSEdhL.js → vue-ui-stackbar-CDihyp-i.js} +9 -9
  73. package/dist/{vue-ui-strip-plot-CNqY9uEA.js → vue-ui-strip-plot-D6MFuKnN.js} +7 -7
  74. package/dist/{vue-ui-table-ywthhZy0.js → vue-ui-table-COT59wVb.js} +4 -4
  75. package/dist/{vue-ui-table-heatmap-DDR4_yLN.js → vue-ui-table-heatmap--e8yw5yS.js} +5 -5
  76. package/dist/{vue-ui-table-sparkline-qFmRMBGM.js → vue-ui-table-sparkline-DnSLwUNN.js} +4 -4
  77. package/dist/{vue-ui-thermometer-Dk534ePJ.js → vue-ui-thermometer-ByiRARW0.js} +7 -7
  78. package/dist/{vue-ui-timer-UVZZcr4T.js → vue-ui-timer-DOQVdVN2.js} +5 -5
  79. package/dist/{vue-ui-tiremarks-BaFMrJSV.js → vue-ui-tiremarks-BFXeJQNZ.js} +6 -6
  80. package/dist/{vue-ui-treemap-CuHOtSzw.js → vue-ui-treemap-s_O9rQUT.js} +8 -8
  81. package/dist/{vue-ui-vertical-bar-C-_UEN9K.js → vue-ui-vertical-bar-Bn-m5GKU.js} +9 -9
  82. package/dist/{vue-ui-waffle-BTUdTAI_.js → vue-ui-waffle-DmxaWHSw.js} +8 -8
  83. package/dist/{vue-ui-wheel-BaqvZwV1.js → vue-ui-wheel-zJ5U-h_D.js} +6 -6
  84. package/dist/{vue-ui-word-cloud-Iry997aF.js → vue-ui-word-cloud-BEnkOZdv.js} +6 -6
  85. package/dist/{vue-ui-world-B-iFEOiQ.js → vue-ui-world-CkqoTL4V.js} +6 -6
  86. package/dist/{vue-ui-xy-LlykHLgF.js → vue-ui-xy-Uqdl2nk-.js} +1012 -998
  87. package/dist/{vue-ui-xy-canvas-CvkmWMXw.js → vue-ui-xy-canvas-cIU8Y1sD.js} +10 -10
  88. package/package.json +1 -1
@@ -1,17 +1,17 @@
1
- import { useCssVars as Yo, computed as x, ref as y, onMounted as Ll, onBeforeUnmount as gl, watch as ht, onUpdated as ho, nextTick as Cl, createElementBlock as i, openBlock as n, createElementVNode as k, createCommentVNode as g, renderSlot as te, normalizeStyle as L, createVNode as ml, withDirectives as Oa, unref as h, Fragment as b, renderList as M, normalizeProps as Xt, mergeProps as Yt, normalizeClass as Ze, withKeys as fo, vModelText as mo, toDisplayString as re, defineAsyncComponent as Dt, useSlots as Go, getCurrentInstance as Uo, toRefs as qo, watchEffect as go, createBlock as ct, createSlots as xo, withCtx as we, guardReactiveProps as dl, Teleport as Zo, resolveDynamicComponent as Ko, vModelCheckbox as Jo, createTextVNode as bo } from "vue";
2
- import { c as xa, y as ba, X as Qo, F as dt, $ as ya, V as pa, a0 as ka, U as wa, a1 as yo, u as jo, f as Na, t as en, d as tn, D as Kl, af as hl, e as po, p as ko, ag as fa, ac as j, a7 as Pa, ah as ln, h as q, ai as an, aj as wo, ak as So, k as ze, al as on, z as nn, _ as $o, R as wt, i as lt, x as fl, s as vt, aa as ue, L as un, am as ma, I as sn, an as Wt, C as qe, a as rn, b as cn, o as _o, v as vn, w as dn, E as Ml } from "./index-D6OjIQeq.js";
1
+ import { useCssVars as Yo, computed as x, ref as y, onMounted as Ll, onBeforeUnmount as gl, watch as ht, onUpdated as ho, nextTick as Cl, createElementBlock as u, openBlock as n, createElementVNode as k, createCommentVNode as g, renderSlot as te, normalizeStyle as C, createVNode as ml, withDirectives as Oa, unref as h, Fragment as b, renderList as L, normalizeProps as Yt, mergeProps as Gt, normalizeClass as Ze, withKeys as fo, vModelText as mo, toDisplayString as re, defineAsyncComponent as Wt, useSlots as Go, getCurrentInstance as Uo, toRefs as qo, watchEffect as go, createBlock as ct, createSlots as xo, withCtx as we, guardReactiveProps as dl, Teleport as Zo, resolveDynamicComponent as Ko, vModelCheckbox as Jo, createTextVNode as bo } from "vue";
2
+ import { c as xa, y as ba, X as Qo, F as dt, $ as ya, V as pa, a0 as ka, U as wa, a1 as yo, u as jo, f as Na, t as en, d as tn, D as Kl, af as hl, e as po, p as ko, ag as fa, ac as j, a7 as Pa, ah as ln, h as q, ai as an, aj as wo, ak as So, k as ze, al as on, z as nn, _ as $o, R as wt, i as lt, x as fl, s as vt, aa as ie, L as un, am as ma, I as sn, an as Xt, C as qe, a as rn, b as cn, o as _o, v as vn, w as dn, E as Ml } from "./index-Lg17rmB1.js";
3
3
  import { t as Jl, d as hn, u as fn } from "./useResponsive-DfdjqQps.js";
4
- import { u as mn } from "./usePrinter-BZ8rT5v2.js";
4
+ import { u as mn } from "./usePrinter-DGI4Mlad.js";
5
5
  import { u as gn, B as xn } from "./BaseScanner-BgWxam9d.js";
6
6
  import { u as Mo, a as bn, l as yn } from "./useTimeLabels-BGFjWgrv.js";
7
- import { u as Fa } from "./useNestedProp-QUe0ze7N.js";
7
+ import { u as Fa } from "./useNestedProp-DpwLJMsW.js";
8
8
  import { u as pn } from "./useTimeLabelCollider-CIsgDrl9.js";
9
- import kn from "./img-DYi-2xfu.js";
10
- import wn from "./Title-Cs26H3hX.js";
11
- import { _ as ga } from "./Shape-B5nsWKct.js";
12
- import Sn from "./BaseIcon-wGdAhoaF.js";
9
+ import kn from "./img-CeCjiMpr.js";
10
+ import wn from "./Title-BVMfF0uu.js";
11
+ import { _ as ga } from "./Shape-6PexQroB.js";
12
+ import Sn from "./BaseIcon-7s-tCFcQ.js";
13
13
  import { _ as Lo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- import $n from "./vue-ui-accordion-Cq060UfJ.js";
14
+ import $n from "./vue-ui-accordion-BJG-ogQj.js";
15
15
  const _n = {
16
16
  class: "vue-data-ui-slicer-labels",
17
17
  style: { position: "relative", "z-index": "1", "pointer-events": "none" }
@@ -22,7 +22,7 @@ const _n = {
22
22
  key: 0,
23
23
  class: "minimap",
24
24
  style: { width: "100%" }
25
- }, Cn = ["xmlns", "viewBox"], An = ["id"], zn = ["stop-color"], Tn = ["width", "height", "stroke"], In = ["d", "stroke"], Nn = ["d", "fill"], Pn = ["x", "y", "width", "height", "fill"], Fn = ["d", "stroke"], Rn = ["cx", "cy", "fill", "stroke"], On = ["x", "width", "height", "fill", "rx"], Vn = ["x", "width", "height", "rx", "fill"], Bn = ["x", "width", "height", "fill", "rx"], En = ["x2", "y1", "y2", "stroke"], Hn = { key: "merged-tree" }, Dn = ["d", "fill"], Wn = ["d", "stroke"], Xn = ["cx", "cy", "stroke", "fill"], Yn = ["cx", "cy", "stroke", "fill"], Gn = { key: "split-tree" }, Un = ["x", "y", "width", "height", "fill"], qn = ["d", "stroke"], Zn = ["x", "height", "fill", "stroke"], Kn = ["x", "height", "fill", "stroke"], Jn = { key: "merged-tree" }, Qn = ["cx", "cy", "stroke", "fill"], jn = ["cx", "cy", "fill"], ei = ["cx", "cy", "stroke", "fill"], ti = ["cx", "cy", "fill"], li = { key: 11 }, ai = ["d", "stroke"], oi = ["cx", "cy", "fill", "stroke"], ni = ["cx", "cy", "stroke", "fill"], ii = ["cx", "cy", "fill"], ui = ["cx", "cy", "stroke", "fill"], si = ["cx", "cy", "fill"], ri = ["x", "height", "width", "onMouseenter"], ci = ["min", "max"], vi = ["min", "max"], Ra = 48, di = {
25
+ }, Cn = ["xmlns", "viewBox"], An = ["id"], zn = ["stop-color"], Tn = ["width", "height", "stroke"], In = ["d", "stroke"], Nn = ["d", "fill"], Pn = ["x", "y", "width", "height", "fill"], Fn = ["d", "stroke"], Rn = ["cx", "cy", "fill", "stroke"], On = ["x", "width", "height", "fill", "rx"], Vn = ["x", "width", "height", "rx", "fill"], Bn = ["x", "width", "height", "fill", "rx"], En = ["x2", "y1", "y2", "stroke"], Hn = { key: "merged-tree" }, Dn = ["d", "fill"], Wn = ["d", "stroke"], Xn = ["cx", "cy", "stroke", "fill"], Yn = ["cx", "cy", "stroke", "fill"], Gn = { key: "split-tree" }, Un = ["x", "y", "width", "height", "fill"], qn = ["d", "stroke"], Zn = ["x", "height", "fill", "stroke"], Kn = ["x", "height", "fill", "stroke"], Jn = { key: "merged-tree" }, Qn = ["cx", "cy", "stroke", "fill"], jn = ["cx", "cy", "fill"], eu = ["cx", "cy", "stroke", "fill"], tu = ["cx", "cy", "fill"], lu = { key: 11 }, au = ["d", "stroke"], ou = ["cx", "cy", "fill", "stroke"], nu = ["cx", "cy", "stroke", "fill"], uu = ["cx", "cy", "fill"], iu = ["cx", "cy", "stroke", "fill"], su = ["cx", "cy", "fill"], ru = ["x", "height", "width", "onMouseenter"], cu = ["min", "max"], vu = ["min", "max"], Ra = 48, du = {
26
26
  __name: "SlicerPreview",
27
27
  props: {
28
28
  immediate: {
@@ -190,23 +190,23 @@ const _n = {
190
190
  emits: ["futureStart", "futureEnd", "update:start", "update:end", "reset", "trapMouse"],
191
191
  setup($, { expose: Sa, emit: $a }) {
192
192
  Yo((v) => ({
193
- "7bb0ba06": Il.value,
194
- "5a1d2b71": ne.value,
195
- b078bfbc: mt.value,
196
- "3a526ca1": $.selectColor,
197
- "9964c2a2": Nl.value
193
+ "2a038cf8": Il.value,
194
+ "7c0dd528": ne.value,
195
+ "2dee3c46": mt.value,
196
+ bba352c8: $.selectColor,
197
+ d243d9ac: Nl.value
198
198
  }));
199
- const d = $, Le = y(null), he = y(d.min), ge = y(d.max), fe = x(() => !!d.minimap.length), Al = y(xa()), St = y(!1), It = x(() => fe.value && d.minimapCompact), zl = y(0), Gt = Jl((v) => Ce("futureStart", v), 0), xl = Jl((v) => Ce("futureEnd", v), 0), Ut = x({
200
- get: () => he.value,
199
+ const d = $, Le = y(null), ce = y(d.min), fe = y(d.max), me = x(() => !!d.minimap.length), Al = y(xa()), St = y(!1), Nt = x(() => me.value && d.minimapCompact), zl = y(0), Ut = Jl((v) => Ce("futureStart", v), 0), xl = Jl((v) => Ce("futureEnd", v), 0), qt = x({
200
+ get: () => ce.value,
201
201
  set(v) {
202
- const m = Math.min(v, ge.value - 1);
203
- m !== he.value && (he.value = m, el.value && (el.value.value = String(m)), d.immediate ? Ce("update:start", Number(m)) : St.value && Gt(m));
202
+ const m = Math.min(v, fe.value - 1);
203
+ m !== ce.value && (ce.value = m, Mt.value && (Mt.value.value = String(m)), d.immediate ? Ce("update:start", Number(m)) : St.value && Ut(m));
204
204
  }
205
205
  }), $t = x({
206
- get: () => ge.value,
206
+ get: () => fe.value,
207
207
  set(v) {
208
- const m = Math.max(v, he.value + 1);
209
- m !== ge.value && (ge.value = m, t.value && (t.value.value = String(m)), d.immediate ? Ce("update:end", Number(m)) : St.value && xl(m));
208
+ const m = Math.max(v, ce.value + 1);
209
+ m !== fe.value && (fe.value = m, t.value && (t.value.value = String(m)), d.immediate ? Ce("update:end", Number(m)) : St.value && xl(m));
210
210
  }
211
211
  });
212
212
  Ll(() => {
@@ -221,41 +221,41 @@ const _n = {
221
221
  });
222
222
  let Be = null;
223
223
  function Te() {
224
- clearTimeout(Be), d.immediate || (Ce("update:start", Number(he.value)), Ce("update:end", Number(ge.value))), St.value = !1;
224
+ clearTimeout(Be), d.immediate || (Ce("update:start", Number(ce.value)), Ce("update:end", Number(fe.value))), St.value = !1;
225
225
  }
226
226
  const Ke = x(() => d.refreshEndPoint === null ? d.max : d.refreshEndPoint), Ce = $a, ft = x(() => {
227
- if (It.value) {
227
+ if (Nt.value) {
228
228
  const m = Math.max(1, at.value - 1);
229
- return Nt.value / m * 100;
229
+ return Pt.value / m * 100;
230
230
  }
231
231
  const v = Math.max(1, d.max - d.min);
232
- return (he.value - d.min) / v * 100;
232
+ return (ce.value - d.min) / v * 100;
233
233
  }), _t = x(() => {
234
- if (It.value) {
234
+ if (Nt.value) {
235
235
  const m = Math.max(1, at.value - 1);
236
- return jt.value / m * 100;
236
+ return el.value / m * 100;
237
237
  }
238
238
  const v = Math.max(1, d.max - d.min);
239
- return (ge.value - d.min) / v * 100;
240
- }), Tl = x(() => (ft.value + _t.value) / 2), qt = x(() => {
239
+ return (fe.value - d.min) / v * 100;
240
+ }), Tl = x(() => (ft.value + _t.value) / 2), Zt = x(() => {
241
241
  if (!Le.value) return !1;
242
242
  const v = Math.max(1, d.max - d.min);
243
- return Le.value.getBoundingClientRect().width * ((he.value - d.min) / v) - pl.value / 2 < 0;
244
- }), Zt = x(() => {
243
+ return Le.value.getBoundingClientRect().width * ((ce.value - d.min) / v) - pl.value / 2 < 0;
244
+ }), Kt = x(() => {
245
245
  if (!Le.value) return !1;
246
246
  const v = Math.max(1, d.max - d.min), m = Le.value.getBoundingClientRect().width;
247
- return m * ((ge.value - d.min) / v) + c.value / 2 > m;
247
+ return m * ((fe.value - d.min) / v) + c.value / 2 > m;
248
248
  }), Se = x(() => {
249
- const v = Zt.value ? `calc(${Tl.value}% - ${Vt.value.width}px - 2px)` : qt.value ? `calc(${Tl.value}% - 8px)` : `calc(${Tl.value}% - ${Vt.value.width / 2}px - 4px)`;
249
+ const v = Kt.value ? `calc(${Tl.value}% - ${Bt.value.width}px - 2px)` : Zt.value ? `calc(${Tl.value}% - 8px)` : `calc(${Tl.value}% - ${Bt.value.width / 2}px - 4px)`;
250
250
  return {
251
251
  left: `${ft.value}%`,
252
252
  width: `${Math.max(0, _t.value - ft.value)}%`,
253
253
  background: d.selectColor,
254
- tooltipLeft: `calc(${ft.value}% - ${qt.value ? 9 : pl.value / 2 + 3.5}px)`,
255
- tooltipRight: `calc(${_t.value}% - ${Zt.value ? c.value - 9 : c.value / 2 - 3.5}px)`,
254
+ tooltipLeft: `calc(${ft.value}% - ${Zt.value ? 9 : pl.value / 2 + 3.5}px)`,
255
+ tooltipRight: `calc(${_t.value}% - ${Kt.value ? c.value - 9 : c.value / 2 - 3.5}px)`,
256
256
  tooltipCenter: v,
257
- arrowLeft: !qt.value,
258
- arrowRight: !Zt.value
257
+ arrowLeft: !Zt.value,
258
+ arrowRight: !Kt.value
259
259
  };
260
260
  }), Il = x(() => d.inputColor), Nl = x(() => d.background), mt = x(() => `${d.selectColor}33`), ne = x(() => d.borderColor), Ql = x(() => {
261
261
  let v = [];
@@ -269,26 +269,26 @@ const _n = {
269
269
  ht(
270
270
  () => d.min,
271
271
  (v) => {
272
- Number(he.value) < Number(v) && (he.value = Number(v)), Number(ge.value) < Number(v) && (ge.value = Number(v));
272
+ Number(ce.value) < Number(v) && (ce.value = Number(v)), Number(fe.value) < Number(v) && (fe.value = Number(v));
273
273
  }
274
274
  ), ht(
275
275
  () => d.max,
276
276
  (v) => {
277
- Number(he.value) > Number(v) && (he.value = Number(v)), Number(ge.value) > Number(v) && (ge.value = Number(v));
277
+ Number(ce.value) > Number(v) && (ce.value = Number(v)), Number(fe.value) > Number(v) && (fe.value = Number(v));
278
278
  }
279
279
  );
280
- const Kt = y(null), W = y({
280
+ const Jt = y(null), W = y({
281
281
  width: 1,
282
282
  height: 1
283
283
  }), le = y(null);
284
284
  Ll(() => {
285
- if (fe.value) {
285
+ if (me.value) {
286
286
  const v = Jl(() => {
287
- if (!Kt.value) return;
288
- const { width: m, height: f } = fn({ chart: Kt.value }), A = Math.max(0, Math.round(m)), z = Math.max(0, Math.round(f - 47));
289
- (A !== W.value.width || z !== W.value.height) && (W.value.width = A, W.value.height = z);
287
+ if (!Jt.value) return;
288
+ const { width: m, height: f } = fn({ chart: Jt.value }), _ = Math.max(0, Math.round(m)), z = Math.max(0, Math.round(f - 47));
289
+ (_ !== W.value.width || z !== W.value.height) && (W.value.width = _, W.value.height = z);
290
290
  }, 50);
291
- le.value = new ResizeObserver(v), le.value.observe(Kt.value);
291
+ le.value = new ResizeObserver(v), le.value.observe(Jt.value);
292
292
  }
293
293
  }), gl(() => {
294
294
  le.value && le.value.disconnect();
@@ -298,18 +298,18 @@ const _n = {
298
298
  const m = Math.floor(v - d.min);
299
299
  return Math.min(Math.max(0, m), at.value);
300
300
  }
301
- function Jt(v) {
301
+ function Qt(v) {
302
302
  const m = Math.ceil(v - d.min);
303
303
  return Math.min(Math.max(0, m), at.value);
304
304
  }
305
- const Ee = x(() => jl(he.value)), Pe = x(() => Jt(ge.value)), bl = x(() => Math.max(...d.allMinimaps.map((v) => v.series.length))), ae = x(() => {
305
+ const Ee = x(() => jl(ce.value)), Pe = x(() => Qt(fe.value)), bl = x(() => Math.max(...d.allMinimaps.map((v) => v.series.length))), ae = x(() => {
306
306
  if (!d.minimap.length) return 0;
307
307
  const v = Math.max(1, bl.value - (d.minimapCompact ? 1 : 0));
308
308
  return W.value.width / v;
309
- }), ce = x(() => d.allMinimaps.length ? d.allMinimaps.filter((v) => v.type === "bar").length : 0), Z = x(() => ae.value / (ce.value || 1) * 0.8);
309
+ }), ve = x(() => d.allMinimaps.length ? d.allMinimaps.filter((v) => v.type === "bar").length : 0), Z = x(() => ae.value / (ve.value || 1) * 0.8);
310
310
  function Pl(v, m, f) {
311
- const A = Z.value, z = Math.max(1, ce.value), D = bl.value - 1;
312
- return f === 0 ? v + A / 2 * m : f === D ? v - A / 2 * (z - m) : v - z * A / 2 + m * A;
311
+ const _ = Z.value, z = Math.max(1, ve.value), D = bl.value - 1;
312
+ return f === 0 ? v + _ / 2 * m : f === D ? v - _ / 2 * (z - m) : v - z * _ / 2 + m * _;
313
313
  }
314
314
  function Fl(v, m) {
315
315
  return [0, bl.value - 1].includes(m) ? Z.value / 2 : Z.value;
@@ -326,12 +326,12 @@ const _n = {
326
326
  const f = ea.value;
327
327
  return (1 - (Math.max(-1, Math.min(1, v / f)) + 1) / 2) * m;
328
328
  } else {
329
- const f = Math.min(0, He.value), A = Math.max(0, gt.value);
330
- return m - (v - f) / Math.max(1e-9, A - f) * m;
329
+ const f = Math.min(0, He.value), _ = Math.max(0, gt.value);
330
+ return m - (v - f) / Math.max(1e-9, _ - f) * m;
331
331
  }
332
332
  }, $e = x(() => yl(0));
333
333
  function ot(v, m, f) {
334
- const A = (D, ke, S) => Math.max(ke, Math.min(S, D));
334
+ const _ = (D, ke, S) => Math.max(ke, Math.min(S, D));
335
335
  if (m <= 0) {
336
336
  const D = Math.max(1e-9, 0 - v);
337
337
  return (ke) => f - (ke - v) / D * f;
@@ -340,10 +340,10 @@ const _n = {
340
340
  return (ke) => f - (ke - 0) / D * f;
341
341
  } else {
342
342
  const D = Math.max(1e-9, Math.max(Math.abs(v), Math.abs(m)));
343
- return (ke) => (1 - (A(ke / D, -1, 1) + 1) / 2) * f;
343
+ return (ke) => (1 - (_(ke / D, -1, 1) + 1) / 2) * f;
344
344
  }
345
345
  }
346
- function Qt(v, m = !1) {
346
+ function jt(v, m = !1) {
347
347
  if (!v || !v.length)
348
348
  return {
349
349
  fullSet: "",
@@ -357,64 +357,78 @@ const _n = {
357
357
  fullMarkers: [],
358
358
  selectionMarkers: []
359
359
  };
360
- const f = Math.max(1, W.value.height), A = ot(He.value, gt.value, f), z = v.length, D = Math.min(Math.max(0, Ee.value), Math.max(0, z - 1)), ke = Math.min(z, Math.max(D + 1, Pe.value)), S = v.map((Me, ul) => {
361
- const At = d.cutNullValues ? Me : Me === null ? 0 : Me, na = Number.isFinite(At), La = ae.value * ul + (d.minimapCompact ? 0 : ae.value / 2), Ca = A(0);
360
+ const f = Math.max(1, W.value.height), _ = ot(He.value, gt.value, f), z = v.length, D = Math.min(Math.max(0, Ee.value), Math.max(0, z - 1)), ke = Math.min(z, Math.max(D + 1, Pe.value)), S = v.map((Me, il) => {
361
+ const zt = d.cutNullValues ? Me : Me === null ? 0 : Me, na = Number.isFinite(zt), La = ae.value * il + (d.minimapCompact ? 0 : ae.value / 2), Ca = _(0);
362
362
  return {
363
363
  x: La,
364
- y: na ? A(At) : NaN,
365
- v: At,
366
- value: na ? At : null,
364
+ y: na ? _(zt) : NaN,
365
+ v: zt,
366
+ value: na ? zt : null,
367
367
  y0: Ca,
368
- i: ul
368
+ i: il
369
369
  };
370
- }), wl = (Me) => Me >= 0 && Me < S.length && Number.isFinite(S[Me]?.value), st = S.filter((Me) => Number.isFinite(Me.value) && !wl(Me.i - 1) && !wl(Me.i + 1)), Bt = st.filter((Me) => Me.i >= D && Me.i < ke), Ct = S.slice(D, ke), oa = S.length >= 2 ? d.smoothMinimap || m ? d.cutNullValues ? ya(S) : pa(S) : d.cutNullValues ? ka(S) : wa(S) : "", il = Ct.length >= 2 ? d.smoothMinimap || m ? d.cutNullValues ? ya(Ct) : pa(Ct) : d.cutNullValues ? ka(Ct) : wa(Ct) : "";
370
+ }), wl = (Me) => Me >= 0 && Me < S.length && Number.isFinite(S[Me]?.value), st = S.filter((Me) => Number.isFinite(Me.value) && !wl(Me.i - 1) && !wl(Me.i + 1)), Et = st.filter((Me) => Me.i >= D && Me.i < ke), At = S.slice(D, ke), oa = S.length >= 2 ? d.smoothMinimap || m ? d.cutNullValues ? ya(S) : pa(S) : d.cutNullValues ? ka(S) : wa(S) : "", ul = At.length >= 2 ? d.smoothMinimap || m ? d.cutNullValues ? ya(At) : pa(At) : d.cutNullValues ? ka(At) : wa(At) : "";
371
371
  return {
372
372
  fullSet: oa,
373
373
  points: S,
374
- selectionSet: il,
375
- sliced: Ct,
374
+ selectionSet: ul,
375
+ sliced: At,
376
376
  firstPlot: S[D] || null,
377
377
  lastPlot: S[Math.max(0, ke - 1)] || null,
378
378
  hasFull: S.length >= 2,
379
- hasSelection: Ct.length >= 2,
379
+ hasSelection: At.length >= 2,
380
380
  fullMarkers: st,
381
- selectionMarkers: Bt
381
+ selectionMarkers: Et
382
382
  };
383
383
  }
384
- const H = x(() => d.minimap.length ? Qt(d.minimap) : []), Je = x(() => d.allMinimaps.length ? d.allMinimaps.map((v, m) => {
385
- const f = Qt(v?.series || [], !!v.smooth), A = v?.id ?? v?.name ?? m;
384
+ const H = x(() => d.minimap.length ? jt(d.minimap) : []), Je = x(() => d.allMinimaps.length ? d.allMinimaps.map((v, m) => {
385
+ const f = jt(v?.series || [], !!v.smooth), _ = v?.id ?? v?.name ?? m;
386
386
  return {
387
- key: typeof A == "object" ? JSON.stringify(A) : String(A),
387
+ key: typeof _ == "object" ? JSON.stringify(_) : String(_),
388
388
  color: v?.color,
389
389
  ...f,
390
390
  isVisible: v.isVisible,
391
391
  type: v.type || "line"
392
392
  };
393
- }) : []), _ = x(() => {
393
+ }) : []), M = x(() => {
394
394
  const v = Ee.value, m = Math.max(v + 1, Pe.value);
395
395
  return {
396
396
  x: ae.value * v + (d.minimapCompact ? 0 : ae.value / 2),
397
397
  width: ae.value * (m - v) - ae.value
398
398
  };
399
- }), xt = y(d.minimapSelectedIndex), Vl = (v) => Math.round(d.min + v), Nt = x({
399
+ }), xt = y(d.minimapSelectedIndex), Vl = (v) => Math.round(d.min + v), Pt = x({
400
400
  get() {
401
- return It.value ? Ee.value : Ut.value;
401
+ return Nt.value ? Ee.value : Number(qt.value);
402
402
  },
403
403
  set(v) {
404
- It.value ? Mt(Vl(v)) : Mt(v);
404
+ if (Nt.value) {
405
+ const m = Math.round(+v || 0);
406
+ Lt(Vl(m));
407
+ } else {
408
+ let m = Math.round(+v || 0);
409
+ const f = Number(fe.value) - 1, _ = Math.min(Math.max(d.min, m), f);
410
+ Mt.value && (Mt.value.valueAsNumber = _), Lt(_);
411
+ }
405
412
  }
406
- }), jt = x({
413
+ }), el = x({
407
414
  get() {
408
- return It.value ? Math.max(Ee.value, Pe.value - 1) : $t.value;
415
+ return Nt.value ? Math.max(Ee.value, Pe.value - 1) : Number($t.value);
409
416
  },
410
417
  set(v) {
411
- It.value ? _e(Vl(v + 1)) : _e(v);
418
+ if (Nt.value) {
419
+ const m = Math.round(+v || 0);
420
+ _e(Vl(m + 1));
421
+ } else {
422
+ let m = Math.round(+v || 0);
423
+ const f = Number(ce.value) + 1, _ = Math.max(f, Math.min(m, d.max));
424
+ t.value && (t.value.valueAsNumber = _), _e(_);
425
+ }
412
426
  }
413
427
  });
414
- function C(v) {
428
+ function A(v) {
415
429
  xt.value = jl(d.valueStart) + v;
416
430
  }
417
- const De = hn(C, 60);
431
+ const De = hn(A, 60);
418
432
  ht(() => d.minimapSelectedIndex, (v, m) => {
419
433
  if ([null, void 0].includes(v)) {
420
434
  xt.value = null;
@@ -427,21 +441,21 @@ const _n = {
427
441
  const m = Ee.value, f = Pe.value;
428
442
  v >= m && v < f && !tt.value && Ce("trapMouse", v - m);
429
443
  }
430
- const el = y(null), t = y(null);
444
+ const Mt = y(null), t = y(null);
431
445
  function p(v) {
432
446
  if (typeof v == "object" && v && "target" in v) {
433
- const f = v.target, A = "valueAsNumber" in f ? f.valueAsNumber : +f.value;
434
- return Number.isFinite(A) ? A : NaN;
447
+ const f = v.target, _ = "valueAsNumber" in f ? f.valueAsNumber : +f.value;
448
+ return Number.isFinite(_) ? _ : NaN;
435
449
  }
436
450
  const m = +v;
437
451
  return Number.isFinite(m) ? m : NaN;
438
452
  }
439
453
  let tl = 0;
440
- function Mt(v) {
454
+ function Lt(v) {
441
455
  St.value = !0;
442
456
  const m = p(v);
443
457
  Number.isFinite(m) && (cancelAnimationFrame(tl), tl = requestAnimationFrame(() => {
444
- Ut.value = m;
458
+ qt.value = m;
445
459
  }));
446
460
  }
447
461
  let xe = 0;
@@ -455,39 +469,39 @@ const _n = {
455
469
  gl(() => {
456
470
  cancelAnimationFrame(tl), cancelAnimationFrame(xe);
457
471
  });
458
- const bt = x(() => d.valueEnd - d.valueStart), _a = x(() => bt.value < d.max - d.min), Pt = y(!1);
472
+ const bt = x(() => d.valueEnd - d.valueStart), _a = x(() => bt.value < d.max - d.min), Ft = y(!1);
459
473
  let yt = y(null);
460
- const Qe = x(() => (zl.value - 48) / (d.max - d.min) * bt.value), w = x(() => Math.max(1, zl.value - Ra - Qe.value)), We = x(() => Math.max(1, d.max - d.min - bt.value)), ta = x(() => We.value / w.value), El = y(0), Lt = y(0), Ma = y(0), Hl = y(0);
461
- let nt = null, it = null, ut = null, pt = null;
474
+ const Qe = x(() => (zl.value - 48) / (d.max - d.min) * bt.value), w = x(() => Math.max(1, zl.value - Ra - Qe.value)), We = x(() => Math.max(1, d.max - d.min - bt.value)), ta = x(() => We.value / w.value), El = y(0), Ct = y(0), Ma = y(0), Hl = y(0);
475
+ let nt = null, ut = null, it = null, pt = null;
462
476
  const ll = y(d.min);
463
- function Ft(v) {
477
+ function Rt(v) {
464
478
  if (!Le.value) return d.min;
465
- const m = Le.value.getBoundingClientRect(), f = m.left + Ra / 2, A = m.right - Ra / 2, z = Math.max(1, A - f), ke = (Math.max(f, Math.min(v, A)) - f) / z, S = Math.max(1, d.max - d.min);
479
+ const m = Le.value.getBoundingClientRect(), f = m.left + Ra / 2, _ = m.right - Ra / 2, z = Math.max(1, _ - f), ke = (Math.max(f, Math.min(v, _)) - f) / z, S = Math.max(1, d.max - d.min);
466
480
  return Math.round(d.min + ke * S);
467
481
  }
468
482
  const al = async (v) => {
469
- if (St.value = !0, Ot.value = !0, !d.enableSelectionDrag) return;
483
+ if (St.value = !0, Vt.value = !0, !d.enableSelectionDrag) return;
470
484
  const m = v.type === "touchstart";
471
485
  m || v.stopPropagation();
472
- const f = m && v.targetTouches && v.targetTouches[0] ? v.targetTouches[0] : null, A = m ? f ? f.target : null : v.target;
473
- if (!A || !(A instanceof Element) || A.classList && A.classList.contains("range-handle")) return;
474
- Pt.value = !0;
486
+ const f = m && v.targetTouches && v.targetTouches[0] ? v.targetTouches[0] : null, _ = m ? f ? f.target : null : v.target;
487
+ if (!_ || !(_ instanceof Element) || _.classList && _.classList.contains("range-handle")) return;
488
+ Ft.value = !0;
475
489
  const z = m ? f ? f.clientX : 0 : v.clientX;
476
490
  if (yt.value = z, El.value = z, d.focusOnDrag && !_a.value && Le.value) {
477
- ll.value = Ft(z);
491
+ ll.value = Rt(z);
478
492
  const D = Math.min(0.95, Math.max(0.05, d.focusRangeRatio)), ke = d.max - d.min, S = Math.max(1, Math.round(ke * D)), wl = Math.floor(S / 2);
479
493
  let st = ll.value - wl;
480
494
  st = Math.max(d.min, Math.min(st, d.max - S));
481
- const Bt = Math.min(d.max, st + S);
482
- Ut.value = st, $t.value = Bt, Gt(st), xl(Bt), yo(Le.value, "mouseup"), await Cl(), yo(Le.value, "mousedown", { clientX: z });
495
+ const Et = Math.min(d.max, st + S);
496
+ qt.value = st, $t.value = Et, Ut(st), xl(Et), yo(Le.value, "mouseup"), await Cl(), yo(Le.value, "mousedown", { clientX: z });
483
497
  }
484
- Lt.value = he.value, Ma.value = ge.value, Hl.value = ta.value, nt = m ? "touchmove" : "mousemove", it = m ? "touchend" : "mouseup", ut = m ? ol : Xe, pt = m ? Fe : et, window.addEventListener(nt, ut, { passive: !1 }), window.addEventListener(it, pt);
498
+ Ct.value = ce.value, Ma.value = fe.value, Hl.value = ta.value, nt = m ? "touchmove" : "mousemove", ut = m ? "touchend" : "mouseup", it = m ? ol : Xe, pt = m ? Fe : et, window.addEventListener(nt, it, { passive: !1 }), window.addEventListener(ut, pt);
485
499
  };
486
500
  function Xe(v) {
487
- Pt.value && je(v.clientX);
501
+ Ft.value && je(v.clientX);
488
502
  }
489
503
  function ol(v) {
490
- if (!Pt.value || !Le.value) return;
504
+ if (!Ft.value || !Le.value) return;
491
505
  const m = v.target;
492
506
  if (!(m instanceof Element) || !Le.value.contains(m) || m.classList && m.classList.contains("range-handle")) return;
493
507
  v.preventDefault();
@@ -495,12 +509,12 @@ const _n = {
495
509
  f && je(f.clientX);
496
510
  }
497
511
  function je(v) {
498
- if (!Pt.value) return;
499
- const m = Ft(El.value), A = Ft(v) - m;
500
- let z = Math.round(Lt.value + A);
512
+ if (!Ft.value) return;
513
+ const m = Rt(El.value), _ = Rt(v) - m;
514
+ let z = Math.round(Ct.value + _);
501
515
  z = Math.max(d.min, Math.min(z, d.max - bt.value));
502
516
  const D = z + bt.value;
503
- Ut.value = z, $t.value = D, Gt(z), xl(D);
517
+ qt.value = z, $t.value = D, Ut(z), xl(D);
504
518
  }
505
519
  function et() {
506
520
  la();
@@ -509,9 +523,9 @@ const _n = {
509
523
  la();
510
524
  }
511
525
  function la() {
512
- Pt.value = !1, nt && ut && window.removeEventListener(nt, ut), it && pt && window.removeEventListener(it, pt), nt = it = null, ut = pt = null, Te();
526
+ Ft.value = !1, nt && it && window.removeEventListener(nt, it), ut && pt && window.removeEventListener(ut, pt), nt = ut = null, it = pt = null, Te();
513
527
  }
514
- const tt = y(!1), nl = y(null), Rt = y(null), pl = y(1), c = y(1), Ot = y(!1);
528
+ const tt = y(!1), nl = y(null), Ot = y(null), pl = y(1), c = y(1), Vt = y(!1);
515
529
  function Dl() {
516
530
  if (nl.value) {
517
531
  const v = Math.round(nl.value.getBoundingClientRect().width);
@@ -519,8 +533,8 @@ const _n = {
519
533
  }
520
534
  }
521
535
  function kl() {
522
- if (Rt.value) {
523
- const v = Math.round(Rt.value.getBoundingClientRect().width);
536
+ if (Ot.value) {
537
+ const v = Math.round(Ot.value.getBoundingClientRect().width);
524
538
  v !== c.value && (c.value = v);
525
539
  }
526
540
  }
@@ -531,19 +545,19 @@ const _n = {
531
545
  function Wl(v) {
532
546
  aa.value = v === "start" ? 1 : 0;
533
547
  }
534
- const kt = y(!1), Vt = y({
548
+ const kt = y(!1), Bt = y({
535
549
  width: 0,
536
550
  left: 0
537
551
  });
538
- ht([he, ge], async () => {
539
- if (await Cl(), !nl.value || !Rt.value) {
540
- kt.value = !1, Vt.value = { width: 0, left: 0 };
552
+ ht([ce, fe], async () => {
553
+ if (await Cl(), !nl.value || !Ot.value) {
554
+ kt.value = !1, Bt.value = { width: 0, left: 0 };
541
555
  return;
542
556
  }
543
- const v = nl.value.getBoundingClientRect(), m = Rt.value.getBoundingClientRect();
557
+ const v = nl.value.getBoundingClientRect(), m = Ot.value.getBoundingClientRect();
544
558
  kt.value = v.x + v.width > m.x;
545
- const f = v.x + v.width / 2, A = m.x + m.width / 2, z = v.width + m.width, D = (f + A) / 2;
546
- Vt.value = {
559
+ const f = v.x + v.width / 2, _ = m.x + m.width / 2, z = v.width + m.width, D = (f + _) / 2;
560
+ Bt.value = {
547
561
  width: z,
548
562
  left: D - z / 2
549
563
  };
@@ -554,31 +568,31 @@ const _n = {
554
568
  }, { deep: !0 }), ht(() => d.labelRight, () => {
555
569
  Cl(kl);
556
570
  }, { deep: !0 });
557
- const me = x(() => {
571
+ const ge = x(() => {
558
572
  let v = "", m = "", f = !1;
559
573
  if (ba(d.customFormat))
560
574
  try {
561
- const A = d.customFormat({
562
- absoluteIndex: he.value,
563
- seriesIndex: he.value,
575
+ const _ = d.customFormat({
576
+ absoluteIndex: ce.value,
577
+ seriesIndex: ce.value,
564
578
  datapoint: d.selectedSeries
565
579
  }), z = d.customFormat({
566
- absoluteIndex: ge.value - 1,
580
+ absoluteIndex: fe.value - 1,
567
581
  seriesIndex: -1,
568
582
  datapoint: d.selectedSeries
569
583
  });
570
- typeof A == "string" && typeof z == "string" && (v = A, m = z, f = !0);
584
+ typeof _ == "string" && typeof z == "string" && (v = _, m = z, f = !0);
571
585
  } catch {
572
586
  f = !1;
573
587
  }
574
588
  if (!f) {
575
- const A = d.usePreciseLabels ? d.preciseLabels.find((D) => D.absoluteIndex === he.value) : d.timeLabels.find((D) => D.absoluteIndex === he.value), z = d.usePreciseLabels ? d.preciseLabels.find((D) => D.absoluteIndex === ge.value - 1) : d.timeLabels.find((D) => D.absoluteIndex === ge.value - 1);
576
- v = A ? A.text : "", m = z ? z.text : "";
589
+ const _ = d.usePreciseLabels ? d.preciseLabels.find((D) => D.absoluteIndex === ce.value) : d.timeLabels.find((D) => D.absoluteIndex === ce.value), z = d.usePreciseLabels ? d.preciseLabels.find((D) => D.absoluteIndex === fe.value - 1) : d.timeLabels.find((D) => D.absoluteIndex === fe.value - 1);
590
+ v = _ ? _.text : "", m = z ? z.text : "";
577
591
  }
578
592
  return { left: v, right: m };
579
593
  });
580
594
  gl(() => {
581
- le.value && le.value.disconnect(), nt && ut && window.removeEventListener(nt, ut), it && pt && window.removeEventListener(it, pt), nt = it = null, ut = pt = null, clearTimeout(Be);
595
+ le.value && le.value.disconnect(), nt && it && window.removeEventListener(nt, it), ut && pt && window.removeEventListener(ut, pt), nt = ut = null, it = pt = null, clearTimeout(Be);
582
596
  });
583
597
  const Xl = x(() => {
584
598
  if (!Ql.value.length) return null;
@@ -598,9 +612,9 @@ const _n = {
598
612
  return null;
599
613
  });
600
614
  return Sa({
601
- setStartValue: Mt,
615
+ setStartValue: Lt,
602
616
  setEndValue: _e
603
- }), (v, m) => (n(), i("div", {
617
+ }), (v, m) => (n(), u("div", {
604
618
  "data-dom-to-png-ignore": "",
605
619
  style: { padding: "0 24px" },
606
620
  class: "vue-data-ui-zoom",
@@ -610,17 +624,17 @@ const _n = {
610
624
  onTouchstart: al
611
625
  }, [
612
626
  k("div", _n, [
613
- $.valueStart !== $.refreshStartPoint || $.valueEnd !== Ke.value ? (n(), i("div", Mn, [
627
+ $.valueStart !== $.refreshStartPoint || $.valueEnd !== Ke.value ? (n(), u("div", Mn, [
614
628
  $.useResetSlot ? te(v.$slots, "reset-action", {
615
629
  key: 1,
616
630
  reset: E
617
- }, void 0, !0) : (n(), i("button", {
631
+ }, void 0, !0) : (n(), u("button", {
618
632
  key: 0,
619
633
  tabindex: "0",
620
634
  role: "button",
621
635
  class: "vue-data-ui-refresh-button",
622
- style: L({
623
- top: fe.value ? "36px" : "-16px",
636
+ style: C({
637
+ top: me.value ? "36px" : "-16px",
624
638
  pointerEvents: "all !important"
625
639
  }),
626
640
  onClick: E
@@ -635,13 +649,13 @@ const _n = {
635
649
  k("div", {
636
650
  class: "double-range-slider",
637
651
  ref_key: "minimapWrapper",
638
- ref: Kt,
652
+ ref: Jt,
639
653
  style: { "z-index": "0" },
640
- onMouseenter: m[11] || (m[11] = (f) => Ot.value = !0),
641
- onMouseleave: m[12] || (m[12] = (f) => Ot.value = !1)
654
+ onMouseenter: m[11] || (m[11] = (f) => Vt.value = !0),
655
+ onMouseleave: m[12] || (m[12] = (f) => Vt.value = !1)
642
656
  }, [
643
- fe.value ? (n(), i("div", Ln, [
644
- (n(), i("svg", {
657
+ me.value ? (n(), u("div", Ln, [
658
+ (n(), u("svg", {
645
659
  key: `mm-${$.minimapMerged ? "merged" : "split"}-${$.minimapCompact ? "compact" : "normal"}`,
646
660
  xmlns: h(Qo),
647
661
  viewBox: `0 0 ${Math.max(0, W.value.width)} ${Math.max(0, W.value.height)}`
@@ -664,7 +678,7 @@ const _n = {
664
678
  }, null, -1))
665
679
  ], 8, An)
666
680
  ]),
667
- $.minimapCompact ? (n(), i("rect", {
681
+ $.minimapCompact ? (n(), u("rect", {
668
682
  key: 0,
669
683
  class: "vue-ui-zoom-minimap-frame",
670
684
  x: 0,
@@ -675,7 +689,7 @@ const _n = {
675
689
  stroke: $.minimapFrameColor,
676
690
  rx: 3
677
691
  }, null, 8, Tn)) : g("", !0),
678
- $.minimapMerged ? (n(), i("path", {
692
+ $.minimapMerged ? (n(), u("path", {
679
693
  key: 1,
680
694
  d: `M${H.value.fullSet}`,
681
695
  stroke: `${$.minimapLineColor}`,
@@ -685,38 +699,38 @@ const _n = {
685
699
  "stroke-linejoin": "round",
686
700
  style: { opacity: "0.6" }
687
701
  }, null, 8, In)) : g("", !0),
688
- $.minimapMerged && !$.minimapCompact ? (n(), i("path", {
702
+ $.minimapMerged && !$.minimapCompact ? (n(), u("path", {
689
703
  key: 2,
690
704
  d: `M${ae.value / 2},${Math.max(W.value.height, 0)} ${H.value.fullSet} L${W.value.width - ae.value / 2},${Math.max(W.value.height, 0)}Z`,
691
705
  fill: `url(#${Al.value})`,
692
706
  stroke: "none",
693
707
  style: { opacity: "0.6" }
694
- }, null, 8, Nn)) : $.minimapMerged ? g("", !0) : (n(), i(b, { key: 3 }, [
695
- (n(!0), i(b, null, M(Je.value.filter((f) => f.type === "bar"), (f, A) => (n(), i("g", null, [
696
- (n(!0), i(b, null, M(f.points, (z, D) => (n(), i(b, null, [
697
- f.isVisible && !isNaN(z.y) ? (n(), i("rect", {
708
+ }, null, 8, Nn)) : $.minimapMerged ? g("", !0) : (n(), u(b, { key: 3 }, [
709
+ (n(!0), u(b, null, L(Je.value.filter((f) => f.type === "bar"), (f, _) => (n(), u("g", null, [
710
+ (n(!0), u(b, null, L(f.points, (z, D) => (n(), u(b, null, [
711
+ f.isVisible && !isNaN(z.y) ? (n(), u("rect", {
698
712
  key: 0,
699
- x: Pl(z.x, A, D),
713
+ x: Pl(z.x, _, D),
700
714
  y: z.v >= 0 ? z.y : z.y0,
701
- width: Fl(A, D),
715
+ width: Fl(_, D),
702
716
  height: z.v >= 0 ? z.y0 - z.y : z.y - z.y0,
703
717
  fill: f.color,
704
718
  style: { opacity: 0.6 }
705
719
  }, null, 8, Pn)) : g("", !0)
706
720
  ], 64))), 256))
707
721
  ]))), 256)),
708
- (n(!0), i(b, null, M(Je.value.filter((f) => f.type === "line"), (f) => (n(), i("g", null, [
709
- f.isVisible ? (n(), i("path", {
722
+ (n(!0), u(b, null, L(Je.value.filter((f) => f.type === "line"), (f) => (n(), u("g", null, [
723
+ f.isVisible ? (n(), u("path", {
710
724
  key: 0,
711
725
  d: `M ${f.fullSet}`,
712
726
  fill: "none",
713
727
  stroke: f.color,
714
728
  style: { opacity: "0.6" }
715
729
  }, null, 8, Fn)) : g("", !0),
716
- f.isVisible ? (n(!0), i(b, { key: 1 }, M(f.fullMarkers, (A) => (n(), i("circle", {
717
- key: `sel-dot-under-${f.key}-${A.i}`,
718
- cx: A.x,
719
- cy: A.y,
730
+ f.isVisible ? (n(!0), u(b, { key: 1 }, L(f.fullMarkers, (_) => (n(), u("circle", {
731
+ key: `sel-dot-under-${f.key}-${_.i}`,
732
+ cx: _.x,
733
+ cy: _.y,
720
734
  r: "2",
721
735
  fill: f.color,
722
736
  stroke: ne.value,
@@ -726,33 +740,33 @@ const _n = {
726
740
  ]))), 256))
727
741
  ], 64)),
728
742
  k("rect", {
729
- x: _.value.x,
743
+ x: M.value.x,
730
744
  y: 0,
731
- width: Math.max(0, _.value.width),
745
+ width: Math.max(0, M.value.width),
732
746
  height: Math.max(W.value.height, 0),
733
747
  fill: ne.value,
734
748
  rx: $.minimapSelectionRadius,
735
749
  stroke: "none"
736
750
  }, null, 8, On),
737
751
  k("rect", {
738
- x: _.value.x,
752
+ x: M.value.x,
739
753
  y: 0,
740
- width: _.value.width < 0 ? 0 : _.value.width,
754
+ width: M.value.width < 0 ? 0 : M.value.width,
741
755
  height: Math.max(W.value.height, 0),
742
756
  rx: $.minimapSelectionRadius,
743
757
  fill: ne.value,
744
- style: L({ opacity: Pt.value || St.value ? 0 : 1 })
758
+ style: C({ opacity: Ft.value || St.value ? 0 : 1 })
745
759
  }, null, 12, Vn),
746
760
  k("rect", {
747
- x: _.value.x,
761
+ x: M.value.x,
748
762
  y: 0,
749
- width: _.value.width < 0 ? 0 : _.value.width,
763
+ width: M.value.width < 0 ? 0 : M.value.width,
750
764
  height: Math.max(W.value.height, 0),
751
765
  fill: $.minimapSelectedColor,
752
766
  rx: $.minimapSelectionRadius,
753
- style: L({ opacity: $.minimapSelectedColorOpacity })
767
+ style: C({ opacity: $.minimapSelectedColorOpacity })
754
768
  }, null, 12, Bn),
755
- !$.minimapMerged && X.value < 0 ? (n(), i("line", {
769
+ !$.minimapMerged && X.value < 0 ? (n(), u("line", {
756
770
  key: 4,
757
771
  class: "slicer-minimap-zero-line",
758
772
  x1: 0,
@@ -762,16 +776,16 @@ const _n = {
762
776
  stroke: $.minimapFrameColor,
763
777
  "stroke-width": "0.5"
764
778
  }, null, 8, En)) : g("", !0),
765
- $.minimapMerged ? (n(), i("g", Hn, [
766
- H.value && H.value.sliced && H.value.sliced.length ? (n(), i(b, { key: 0 }, [
767
- H.value.selectionSet ? (n(), i("path", {
779
+ $.minimapMerged ? (n(), u("g", Hn, [
780
+ H.value && H.value.sliced && H.value.sliced.length ? (n(), u(b, { key: 0 }, [
781
+ H.value.selectionSet ? (n(), u("path", {
768
782
  key: 0,
769
783
  d: `M${H.value.sliced[0].x},${Math.max(W.value.height, 0)} ${H.value.selectionSet} L${H.value.sliced[H.value.sliced.length - 1].x},${Math.max(W.value.height, 0)}Z`,
770
784
  fill: `url(#${Al.value})`,
771
785
  stroke: "none",
772
786
  style: { opacity: "1" }
773
787
  }, null, 8, Dn)) : g("", !0),
774
- H.value.selectionSet ? (n(), i("path", {
788
+ H.value.selectionSet ? (n(), u("path", {
775
789
  key: 1,
776
790
  d: `M ${H.value.selectionSet}`,
777
791
  stroke: `${$.minimapLineColor}`,
@@ -781,7 +795,7 @@ const _n = {
781
795
  "stroke-linejoin": "round"
782
796
  }, null, 8, Wn)) : g("", !0)
783
797
  ], 64)) : g("", !0),
784
- H.value && H.value.firstPlot ? (n(), i("circle", {
798
+ H.value && H.value.firstPlot ? (n(), u("circle", {
785
799
  key: 1,
786
800
  cx: H.value.firstPlot.x,
787
801
  cy: H.value.firstPlot.y,
@@ -790,7 +804,7 @@ const _n = {
790
804
  r: "3",
791
805
  fill: $.minimapLineColor
792
806
  }, null, 8, Xn)) : g("", !0),
793
- H.value && H.value.lastPlot ? (n(), i("circle", {
807
+ H.value && H.value.lastPlot ? (n(), u("circle", {
794
808
  key: 2,
795
809
  cx: H.value.lastPlot.x,
796
810
  cy: H.value.lastPlot.y,
@@ -799,24 +813,24 @@ const _n = {
799
813
  r: "3",
800
814
  fill: $.minimapLineColor
801
815
  }, null, 8, Yn)) : g("", !0)
802
- ])) : (n(), i("g", Gn, [
803
- (n(!0), i(b, null, M(Je.value.filter((f) => f.type === "bar"), (f, A) => (n(), i("g", null, [
804
- (n(!0), i(b, null, M(f.points, (z, D) => (n(), i(b, null, [
805
- f && f.isVisible && !isNaN(z.y) ? (n(), i("rect", {
816
+ ])) : (n(), u("g", Gn, [
817
+ (n(!0), u(b, null, L(Je.value.filter((f) => f.type === "bar"), (f, _) => (n(), u("g", null, [
818
+ (n(!0), u(b, null, L(f.points, (z, D) => (n(), u(b, null, [
819
+ f && f.isVisible && !isNaN(z.y) ? (n(), u("rect", {
806
820
  key: 0,
807
- x: Pl(z.x, A, D),
821
+ x: Pl(z.x, _, D),
808
822
  y: z.v >= 0 ? z.y : z.y0,
809
- width: Fl(A, D),
823
+ width: Fl(_, D),
810
824
  height: z.v >= 0 ? z.y0 - z.y : z.y - z.y0,
811
825
  fill: f.color,
812
- style: L({ opacity: D >= Ut.value && D < $t.value ? 1 : 0 })
826
+ style: C({ opacity: D >= qt.value && D < $t.value ? 1 : 0 })
813
827
  }, null, 12, Un)) : g("", !0)
814
828
  ], 64))), 256))
815
829
  ]))), 256)),
816
- (n(!0), i(b, null, M(Je.value.filter((f) => f.type === "line"), (f) => (n(), i("g", {
830
+ (n(!0), u(b, null, L(Je.value.filter((f) => f.type === "line"), (f) => (n(), u("g", {
817
831
  key: String(f.key)
818
832
  }, [
819
- f && f.hasSelection && f.selectionSet && f.isVisible ? (n(), i("path", {
833
+ f && f.hasSelection && f.selectionSet && f.isVisible ? (n(), u("path", {
820
834
  key: 0,
821
835
  d: `M ${f.selectionSet}`,
822
836
  stroke: f.color,
@@ -827,10 +841,10 @@ const _n = {
827
841
  }, null, 8, qn)) : g("", !0)
828
842
  ]))), 128))
829
843
  ])),
830
- fe.value && $.minimapCompact ? (n(), i("rect", {
844
+ me.value && $.minimapCompact ? (n(), u("rect", {
831
845
  key: 7,
832
846
  class: "vue-ui-zoom-compact-minimap-handle",
833
- x: _.value.x - 8,
847
+ x: M.value.x - 8,
834
848
  y: 0,
835
849
  width: 8,
836
850
  height: W.value.height,
@@ -838,10 +852,10 @@ const _n = {
838
852
  stroke: $.textColor,
839
853
  rx: 3
840
854
  }, null, 8, Zn)) : g("", !0),
841
- fe.value && $.minimapCompact ? (n(), i("rect", {
855
+ me.value && $.minimapCompact ? (n(), u("rect", {
842
856
  key: 8,
843
857
  class: "vue-ui-zoom-compact-minimap-handle",
844
- x: _.value.x + _.value.width,
858
+ x: M.value.x + M.value.width,
845
859
  y: 0,
846
860
  width: 8,
847
861
  height: W.value.height,
@@ -849,9 +863,9 @@ const _n = {
849
863
  stroke: $.textColor,
850
864
  rx: 3
851
865
  }, null, 8, Kn)) : g("", !0),
852
- xt.value !== null && !tt.value ? (n(), i("line", Xt(Yt({ key: 9 }, Xl.value)), null, 16)) : g("", !0),
853
- $.minimapMerged ? (n(), i("g", Jn, [
854
- H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (n(), i("circle", {
866
+ xt.value !== null && !tt.value ? (n(), u("line", Yt(Gt({ key: 9 }, Xl.value)), null, 16)) : g("", !0),
867
+ $.minimapMerged ? (n(), u("g", Jn, [
868
+ H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (n(), u("circle", {
855
869
  key: 0,
856
870
  cx: H.value.firstPlot.x,
857
871
  cy: H.value.firstPlot.y,
@@ -860,14 +874,14 @@ const _n = {
860
874
  r: "4",
861
875
  fill: $.minimapLineColor
862
876
  }, null, 8, Qn)) : g("", !0),
863
- H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (n(), i("circle", {
877
+ H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (n(), u("circle", {
864
878
  key: 1,
865
879
  cx: H.value.firstPlot.x,
866
880
  cy: H.value.firstPlot.y,
867
881
  r: 2,
868
882
  fill: ne.value
869
883
  }, null, 8, jn)) : g("", !0),
870
- H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (n(), i("circle", {
884
+ H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (n(), u("circle", {
871
885
  key: 2,
872
886
  cx: H.value.lastPlot.x,
873
887
  cy: H.value.lastPlot.y,
@@ -875,19 +889,19 @@ const _n = {
875
889
  stroke: ne.value,
876
890
  r: "4",
877
891
  fill: $.minimapLineColor
878
- }, null, 8, ei)) : g("", !0),
879
- H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (n(), i("circle", {
892
+ }, null, 8, eu)) : g("", !0),
893
+ H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (n(), u("circle", {
880
894
  key: 3,
881
895
  cx: H.value.lastPlot.x,
882
896
  cy: H.value.lastPlot.y,
883
897
  r: "2",
884
898
  fill: ne.value
885
- }, null, 8, ti)) : g("", !0)
886
- ])) : (n(), i("g", li, [
887
- (n(!0), i(b, null, M(Je.value.filter((f) => f.type === "line"), (f) => (n(), i("g", {
899
+ }, null, 8, tu)) : g("", !0)
900
+ ])) : (n(), u("g", lu, [
901
+ (n(!0), u(b, null, L(Je.value.filter((f) => f.type === "line"), (f) => (n(), u("g", {
888
902
  key: String(f.key)
889
903
  }, [
890
- f && f.hasSelection && f.selectionSet && f.isVisible ? (n(), i("path", {
904
+ f && f.hasSelection && f.selectionSet && f.isVisible ? (n(), u("path", {
891
905
  key: 0,
892
906
  d: `M ${f.selectionSet}`,
893
907
  stroke: f.color,
@@ -895,17 +909,17 @@ const _n = {
895
909
  "stroke-width": "2",
896
910
  "stroke-linecap": "round",
897
911
  "stroke-linejoin": "round"
898
- }, null, 8, ai)) : g("", !0),
899
- f.isVisible ? (n(!0), i(b, { key: 1 }, M(f.selectionMarkers, (A) => (n(), i("circle", {
900
- key: `sel-dot-${f.key}-${A.i}`,
901
- cx: A.x,
902
- cy: A.y,
912
+ }, null, 8, au)) : g("", !0),
913
+ f.isVisible ? (n(!0), u(b, { key: 1 }, L(f.selectionMarkers, (_) => (n(), u("circle", {
914
+ key: `sel-dot-${f.key}-${_.i}`,
915
+ cx: _.x,
916
+ cy: _.y,
903
917
  r: "2.5",
904
918
  fill: f.color,
905
919
  stroke: ne.value,
906
920
  "stroke-width": "0.5"
907
- }, null, 8, oi))), 128)) : g("", !0),
908
- f && f.firstPlot && f.isVisible && f.firstPlot.value !== null ? (n(), i("circle", {
921
+ }, null, 8, ou))), 128)) : g("", !0),
922
+ f && f.firstPlot && f.isVisible && f.firstPlot.value !== null ? (n(), u("circle", {
909
923
  key: 2,
910
924
  cx: f.firstPlot.x,
911
925
  cy: f.firstPlot.y,
@@ -913,15 +927,15 @@ const _n = {
913
927
  stroke: ne.value,
914
928
  r: "4",
915
929
  fill: f.color
916
- }, null, 8, ni)) : g("", !0),
917
- f && f.firstPlot && f.isVisible && f.firstPlot.value !== null ? (n(), i("circle", {
930
+ }, null, 8, nu)) : g("", !0),
931
+ f && f.firstPlot && f.isVisible && f.firstPlot.value !== null ? (n(), u("circle", {
918
932
  key: 3,
919
933
  cx: f.firstPlot.x,
920
934
  cy: f.firstPlot.y,
921
935
  r: "2",
922
936
  fill: ne.value
923
- }, null, 8, ii)) : g("", !0),
924
- f && f.lastPlot && f.isVisible && f.lastPlot.value !== null ? (n(), i("circle", {
937
+ }, null, 8, uu)) : g("", !0),
938
+ f && f.lastPlot && f.isVisible && f.lastPlot.value !== null ? (n(), u("circle", {
925
939
  key: 4,
926
940
  cx: f.lastPlot.x,
927
941
  cy: f.lastPlot.y,
@@ -929,75 +943,75 @@ const _n = {
929
943
  stroke: ne.value,
930
944
  r: "4",
931
945
  fill: f.color
932
- }, null, 8, ui)) : g("", !0),
933
- f && f.lastPlot && f.isVisible && f.lastPlot.value !== null ? (n(), i("circle", {
946
+ }, null, 8, iu)) : g("", !0),
947
+ f && f.lastPlot && f.isVisible && f.lastPlot.value !== null ? (n(), u("circle", {
934
948
  key: 5,
935
949
  cx: f.lastPlot.x,
936
950
  cy: f.lastPlot.y,
937
951
  r: "2",
938
952
  fill: ne.value
939
- }, null, 8, si)) : g("", !0)
953
+ }, null, 8, su)) : g("", !0)
940
954
  ]))), 128))
941
955
  ])),
942
- (n(!0), i(b, null, M(Ql.value, (f, A) => (n(), i("rect", {
943
- x: ae.value * A - ($.minimapCompact ? ae.value / 2 : 0),
956
+ (n(!0), u(b, null, L(Ql.value, (f, _) => (n(), u("rect", {
957
+ x: ae.value * _ - ($.minimapCompact ? ae.value / 2 : 0),
944
958
  y: 0,
945
959
  height: Math.max(W.value.height, 0),
946
960
  width: ae.value < 0 ? 0 : ae.value,
947
961
  fill: "transparent",
948
- style: L([{ "pointer-events": "all !important" }, { cursor: f >= Ee.value && f < Pe.value && $.enableSelectionDrag ? tt.value ? "grabbing" : "grab" : "default" }]),
962
+ style: C([{ "pointer-events": "all !important" }, { cursor: f >= Ee.value && f < Pe.value && $.enableSelectionDrag ? tt.value ? "grabbing" : "grab" : "default" }]),
949
963
  onMousedown: m[0] || (m[0] = (z) => tt.value = !0),
950
964
  onMouseup: m[1] || (m[1] = (z) => tt.value = !1),
951
965
  onMouseenter: (z) => Bl(f),
952
966
  onMouseleave: m[2] || (m[2] = (z) => {
953
967
  xt.value = null, Ce("trapMouse", null);
954
968
  })
955
- }, null, 44, ri))), 256))
969
+ }, null, 44, ru))), 256))
956
970
  ], 8, Cn))
957
971
  ])) : g("", !0),
958
972
  k("div", {
959
973
  class: "slider-track",
960
- style: L({ visibility: fe.value && $.minimapCompact ? "hidden" : "visible" })
974
+ style: C({ visibility: me.value && $.minimapCompact ? "hidden" : "visible" })
961
975
  }, null, 4),
962
976
  k("div", {
963
977
  class: Ze({ "range-highlight": !0, move: $.enableSelectionDrag }),
964
978
  onMousedown: m[3] || (m[3] = (f) => tt.value = !0),
965
979
  onMouseup: m[4] || (m[4] = (f) => tt.value = !1),
966
- style: L({
980
+ style: C({
967
981
  ...Se.value,
968
982
  cursor: tt.value ? "grabbing" : "grab",
969
- visibility: fe.value && $.minimapCompact ? "hidden" : "visible"
983
+ visibility: me.value && $.minimapCompact ? "hidden" : "visible"
970
984
  })
971
985
  }, null, 38),
972
- $.enableRangeHandles ? Oa((n(), i("input", {
986
+ $.enableRangeHandles ? Oa((n(), u("input", {
973
987
  key: 1,
974
988
  ref_key: "rangeStart",
975
- ref: el,
989
+ ref: Mt,
976
990
  type: "range",
977
991
  class: Ze({
978
992
  "range-left": !0,
979
993
  "range-handle": !0,
980
- "range-minimap": fe.value && $.verticalHandles,
981
- "range-invisible": fe.value && $.minimapCompact
994
+ "range-minimap": me.value && $.verticalHandles,
995
+ "range-invisible": me.value && $.minimapCompact
982
996
  }),
983
997
  min: $.min,
984
- max: $.minimapCompact && fe.value ? Math.max(0, at.value - 1) : $.max,
985
- "onUpdate:modelValue": m[5] || (m[5] = (f) => Nt.value = f),
986
- onInput: m[6] || (m[6] = (f) => Nt.value = f.target.valueAsNumber),
998
+ max: $.minimapCompact && me.value ? Math.max(0, at.value - 1) : $.max,
999
+ "onUpdate:modelValue": m[5] || (m[5] = (f) => Pt.value = f),
1000
+ onInput: m[6] || (m[6] = (f) => Pt.value = f.target.valueAsNumber),
987
1001
  onChange: Te,
988
1002
  onKeyup: fo(Te, ["enter"]),
989
1003
  onBlur: Te,
990
1004
  onMouseenter: m[7] || (m[7] = (f) => Wl("start")),
991
1005
  onPointerup: Te
992
- }, null, 42, ci)), [
1006
+ }, null, 42, cu)), [
993
1007
  [
994
1008
  mo,
995
- Nt.value,
1009
+ Pt.value,
996
1010
  void 0,
997
1011
  { number: !0 }
998
1012
  ]
999
1013
  ]) : g("", !0),
1000
- $.enableRangeHandles ? Oa((n(), i("input", {
1014
+ $.enableRangeHandles ? Oa((n(), u("input", {
1001
1015
  key: 2,
1002
1016
  ref_key: "rangeEnd",
1003
1017
  ref: t,
@@ -1005,90 +1019,90 @@ const _n = {
1005
1019
  class: Ze({
1006
1020
  "range-right": !0,
1007
1021
  "range-handle": !0,
1008
- "range-minimap": fe.value && $.verticalHandles,
1009
- "range-invisible": fe.value && $.minimapCompact
1022
+ "range-minimap": me.value && $.verticalHandles,
1023
+ "range-invisible": me.value && $.minimapCompact
1010
1024
  }),
1011
1025
  min: $.min,
1012
- max: $.minimapCompact && fe.value ? Math.max(0, at.value - 1) : $.max,
1013
- "onUpdate:modelValue": m[8] || (m[8] = (f) => jt.value = f),
1014
- onInput: m[9] || (m[9] = (f) => jt.value = f.target.valueAsNumber),
1026
+ max: $.minimapCompact && me.value ? Math.max(0, at.value - 1) : $.max,
1027
+ "onUpdate:modelValue": m[8] || (m[8] = (f) => el.value = f),
1028
+ onInput: m[9] || (m[9] = (f) => el.value = f.target.valueAsNumber),
1015
1029
  onChange: Te,
1016
1030
  onKeyup: fo(Te, ["enter"]),
1017
1031
  onBlur: Te,
1018
1032
  onMouseenter: m[10] || (m[10] = (f) => Wl("end")),
1019
1033
  onPointerup: Te
1020
- }, null, 42, vi)), [
1034
+ }, null, 42, vu)), [
1021
1035
  [
1022
1036
  mo,
1023
- jt.value,
1037
+ el.value,
1024
1038
  void 0,
1025
1039
  { number: !0 }
1026
1040
  ]
1027
1041
  ]) : g("", !0),
1028
- me.value.left ? (n(), i("div", {
1042
+ ge.value.left ? (n(), u("div", {
1029
1043
  key: 3,
1030
1044
  ref_key: "tooltipLeft",
1031
1045
  ref: nl,
1032
1046
  class: Ze({
1033
1047
  "range-tooltip": !0,
1034
- "range-tooltip-visible": Ot.value,
1048
+ "range-tooltip-visible": Vt.value,
1035
1049
  "range-tooltip-arrow": Se.value.arrowLeft && !$.verticalHandles,
1036
1050
  "range-tooltip-arrow-left": !Se.value.arrowLeft && !$.verticalHandles
1037
1051
  }),
1038
- style: L({
1052
+ style: C({
1039
1053
  left: Se.value.tooltipLeft,
1040
1054
  color: h(dt)($.selectColor),
1041
1055
  backgroundColor: $.selectColor,
1042
1056
  border: `1px solid ${ne.value}`,
1043
1057
  zIndex: `${aa.value + 4}`,
1044
- visibility: kt.value || me.value.left === me.value.right ? "hidden" : "visible",
1045
- top: fe.value && $.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1058
+ visibility: kt.value || ge.value.left === ge.value.right ? "hidden" : "visible",
1059
+ top: me.value && $.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1046
1060
  })
1047
- }, re(me.value.left), 7)) : g("", !0),
1048
- (kt.value || me.value.left === me.value.right) && (me.value.left || me.value.right) ? (n(), i("div", {
1061
+ }, re(ge.value.left), 7)) : g("", !0),
1062
+ (kt.value || ge.value.left === ge.value.right) && (ge.value.left || ge.value.right) ? (n(), u("div", {
1049
1063
  key: 4,
1050
1064
  ref: "tooltipMerge",
1051
1065
  class: Ze({
1052
1066
  "range-tooltip": !0,
1053
- "range-tooltip-visible": Ot.value,
1067
+ "range-tooltip-visible": Vt.value,
1054
1068
  "range-tooltip-arrow": !0,
1055
1069
  "range-tooltip-arrow-left": !Se.value.arrowLeft && !$.verticalHandles,
1056
1070
  "range-tooltip-arrow-right": !Se.value.arrowRight && !$.verticalHandles
1057
1071
  }),
1058
- style: L({
1072
+ style: C({
1059
1073
  left: Se.value.tooltipCenter,
1060
- width: Vt.value.width + "px",
1074
+ width: Bt.value.width + "px",
1061
1075
  color: h(dt)($.selectColor),
1062
1076
  backgroundColor: $.selectColor,
1063
1077
  border: `1px solid ${ne.value}`,
1064
1078
  zIndex: "4",
1065
- top: fe.value && $.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1079
+ top: me.value && $.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1066
1080
  })
1067
- }, re(me.value.left === me.value.right ? me.value.left : `${me.value.left} - ${me.value.right}`), 7)) : g("", !0),
1068
- me.value.right ? (n(), i("div", {
1081
+ }, re(ge.value.left === ge.value.right ? ge.value.left : `${ge.value.left} - ${ge.value.right}`), 7)) : g("", !0),
1082
+ ge.value.right ? (n(), u("div", {
1069
1083
  key: 5,
1070
1084
  ref_key: "tooltipRight",
1071
- ref: Rt,
1085
+ ref: Ot,
1072
1086
  class: Ze({
1073
1087
  "range-tooltip": !0,
1074
- "range-tooltip-visible": Ot.value,
1088
+ "range-tooltip-visible": Vt.value,
1075
1089
  "range-tooltip-arrow": Se.value.arrowRight && !$.verticalHandles,
1076
1090
  "range-tooltip-arrow-right": !Se.value.arrowRight && !$.verticalHandles
1077
1091
  }),
1078
- style: L({
1092
+ style: C({
1079
1093
  left: Se.value.tooltipRight,
1080
1094
  color: h(dt)($.selectColor),
1081
1095
  backgroundColor: $.selectColor,
1082
1096
  border: `1px solid ${ne.value}`,
1083
1097
  zIndex: "4",
1084
- visibility: kt.value || me.value.left === me.value.right ? "hidden" : "visible",
1085
- top: fe.value && $.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1098
+ visibility: kt.value || ge.value.left === ge.value.right ? "hidden" : "visible",
1099
+ top: me.value && $.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1086
1100
  })
1087
- }, re(me.value.right), 7)) : g("", !0)
1101
+ }, re(ge.value.right), 7)) : g("", !0)
1088
1102
  ], 544)
1089
1103
  ], 544));
1090
1104
  }
1091
- }, hi = /* @__PURE__ */ Lo(di, [["__scopeId", "data-v-266dcf50"]]), fi = ["id"], mi = ["id"], gi = ["viewBox", "aria-label"], xi = ["x", "y", "width", "height"], bi = { key: 1 }, yi = { class: "vue-ui-xy-grid" }, pi = ["stroke", "x1", "x2", "y1", "y2"], ki = ["stroke", "x1", "x2", "y1", "y2"], wi = { key: 1 }, Si = ["x1", "x2", "y1", "y2", "stroke"], $i = ["x1", "x2", "y1", "y2", "stroke"], _i = ["x1", "x2", "y1", "y2", "stroke"], Mi = { key: 3 }, Li = ["d", "stroke"], Ci = { key: 4 }, Ai = ["d", "stroke"], zi = ["id"], Ti = ["stop-color"], Ii = ["stop-color"], Ni = ["stop-color"], Pi = ["id"], Fi = ["stop-color"], Ri = ["stop-color"], Oi = ["stop-color"], Vi = ["id"], Bi = ["stop-color"], Ei = ["stop-color"], Hi = ["id"], Di = ["stop-color"], Wi = ["stop-color"], Xi = ["id"], Yi = ["stop-color"], Gi = ["stop-color"], Ui = ["x", "y", "height", "width", "fill"], qi = ["x", "y", "width"], Zi = { key: 0 }, Ki = ["x", "y", "height", "width", "fill"], Ji = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Qi = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], ji = ["width", "x", "y"], eu = { key: 0 }, tu = ["id"], lu = ["fill"], au = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ou = ["x", "y", "font-size", "fill"], nu = ["stroke", "x1", "x2", "y1", "y2"], iu = { key: 3 }, uu = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], su = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], ru = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], cu = ["fill", "font-size", "transform"], vu = ["x1", "x2", "y1", "y2", "stroke"], du = ["x", "y", "font-size", "fill"], hu = ["x1", "x2", "y1", "y2", "stroke"], fu = ["x", "y", "font-size", "fill"], mu = ["width", "x", "y"], gu = { style: { width: "100%" } }, xu = { key: 0 }, bu = ["id"], yu = ["fill"], pu = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ku = ["x", "y", "font-size", "fill"], wu = ["d", "stroke", "stroke-width", "stroke-dasharray"], Su = ["d", "stroke", "stroke-width", "stroke-dasharray"], $u = { key: 6 }, _u = { key: 7 }, Mu = ["d", "fill", "fill-opacity"], Lu = { key: 0 }, Cu = ["d", "fill"], Au = ["d", "fill"], zu = ["d", "fill"], Tu = ["d", "fill"], Iu = ["d", "stroke", "stroke-width", "stroke-dasharray"], Nu = ["d", "stroke", "stroke-width", "stroke-dasharray"], Pu = ["width", "x", "y"], Fu = { style: { width: "100%" } }, Ru = { key: 3 }, Ou = ["id"], Vu = ["fill"], Bu = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Eu = ["x", "y", "font-size", "fill"], Hu = { key: 8 }, Du = ["x", "y", "font-size", "fill"], Wu = ["x", "y", "font-size", "fill", "font-weight"], Xu = { key: 9 }, Yu = ["x", "y", "font-size", "fill"], Gu = { key: 10 }, Uu = ["x", "y"], qu = ["innerHTML"], Zu = ["x", "y"], Ku = ["innerHTML"], Ju = ["x1", "x2", "y1", "y2", "stroke"], Qu = { key: 11 }, ju = ["x", "y", "font-size", "fill"], es = { key: 12 }, ts = ["x", "y"], ls = ["innerHTML"], as = ["x", "y"], os = ["innerHTML"], ns = ["x1", "x2", "y1", "y2", "stroke"], is = ["x", "y", "font-size", "fill", "innerHTML"], us = ["x", "y", "font-size", "fill", "innerHTML"], ss = ["x", "y", "font-size", "fill", "innerHTML"], rs = ["x", "y", "font-size", "fill", "innerHTML"], cs = ["id"], vs = ["stop-color"], ds = ["stop-color"], hs = ["x", "y", "width", "height", "fill", "onMouseenter"], fs = ["font-size", "fill", "transform"], ms = ["x", "y", "font-size", "fill"], gs = ["text-anchor", "font-size", "fill", "transform", "onClick"], xs = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], bs = { key: 15 }, ys = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], ps = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], ks = ["y", "x", "width", "height", "fill"], ws = ["id", "x", "y", "font-size", "fill", "text-anchor"], Ss = {
1105
+ }, hu = /* @__PURE__ */ Lo(du, [["__scopeId", "data-v-df735051"]]), fu = ["id"], mu = ["id"], gu = ["viewBox", "aria-label"], xu = ["x", "y", "width", "height"], bu = { key: 1 }, yu = { class: "vue-ui-xy-grid" }, pu = ["stroke", "x1", "x2", "y1", "y2"], ku = ["stroke", "x1", "x2", "y1", "y2"], wu = { key: 1 }, Su = ["x1", "x2", "y1", "y2", "stroke"], $u = ["x1", "x2", "y1", "y2", "stroke"], _u = ["x1", "x2", "y1", "y2", "stroke"], Mu = { key: 3 }, Lu = ["d", "stroke"], Cu = { key: 4 }, Au = ["d", "stroke"], zu = ["id"], Tu = ["stop-color"], Iu = ["stop-color"], Nu = ["stop-color"], Pu = ["id"], Fu = ["stop-color"], Ru = ["stop-color"], Ou = ["stop-color"], Vu = ["id"], Bu = ["stop-color"], Eu = ["stop-color"], Hu = ["id"], Du = ["stop-color"], Wu = ["stop-color"], Xu = ["id"], Yu = ["stop-color"], Gu = ["stop-color"], Uu = ["x", "y", "height", "width", "fill"], qu = ["x", "y", "width"], Zu = { key: 0 }, Ku = ["x", "y", "height", "width", "fill"], Ju = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Qu = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], ju = ["width", "x", "y"], ei = { key: 0 }, ti = ["id"], li = ["fill"], ai = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], oi = ["x", "y", "font-size", "fill"], ni = ["stroke", "x1", "x2", "y1", "y2"], ui = { key: 3 }, ii = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], si = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], ri = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ci = ["fill", "font-size", "transform"], vi = ["x1", "x2", "y1", "y2", "stroke"], di = ["x", "y", "font-size", "fill"], hi = ["x1", "x2", "y1", "y2", "stroke"], fi = ["x", "y", "font-size", "fill"], mi = ["width", "x", "y"], gi = { style: { width: "100%" } }, xi = { key: 0 }, bi = ["id"], yi = ["fill"], pi = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ki = ["x", "y", "font-size", "fill"], wi = ["d", "stroke", "stroke-width", "stroke-dasharray"], Si = ["d", "stroke", "stroke-width", "stroke-dasharray"], $i = { key: 6 }, _i = { key: 7 }, Mi = ["d", "fill", "fill-opacity"], Li = { key: 0 }, Ci = ["d", "fill"], Ai = ["d", "fill"], zi = ["d", "fill"], Ti = ["d", "fill"], Ii = ["d", "stroke", "stroke-width", "stroke-dasharray"], Ni = ["d", "stroke", "stroke-width", "stroke-dasharray"], Pi = ["width", "x", "y"], Fi = { style: { width: "100%" } }, Ri = { key: 3 }, Oi = ["id"], Vi = ["fill"], Bi = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ei = ["x", "y", "font-size", "fill"], Hi = { key: 8 }, Di = ["x", "y", "font-size", "fill"], Wi = ["x", "y", "font-size", "fill", "font-weight"], Xi = { key: 9 }, Yi = ["x", "y", "font-size", "fill"], Gi = { key: 10 }, Ui = ["x", "y"], qi = ["innerHTML"], Zi = ["x", "y"], Ki = ["innerHTML"], Ji = ["x1", "x2", "y1", "y2", "stroke"], Qi = { key: 11 }, ji = ["x", "y", "font-size", "fill"], es = { key: 12 }, ts = ["x", "y"], ls = ["innerHTML"], as = ["x", "y"], os = ["innerHTML"], ns = ["x1", "x2", "y1", "y2", "stroke"], us = ["x", "y", "font-size", "fill", "innerHTML"], is = ["x", "y", "font-size", "fill", "innerHTML"], ss = ["x", "y", "font-size", "fill", "innerHTML"], rs = ["x", "y", "font-size", "fill", "innerHTML"], cs = ["id"], vs = ["stop-color"], ds = ["stop-color"], hs = ["x", "y", "width", "height", "fill", "onMouseenter"], fs = ["font-size", "fill", "transform"], ms = ["x", "y", "font-size", "fill"], gs = ["text-anchor", "font-size", "fill", "transform", "onClick"], xs = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], bs = { key: 15 }, ys = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], ps = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], ks = ["y", "x", "width", "height", "fill"], ws = ["id", "x", "y", "font-size", "fill", "text-anchor"], Ss = {
1092
1106
  key: 16,
1093
1107
  style: { "pointer-events": "none" }
1094
1108
  }, $s = ["x", "y"], _s = ["innerHTML"], Ms = ["cx", "cy", "r", "fill"], Ls = ["data-start", "data-end"], Cs = {
@@ -1154,17 +1168,17 @@ const _n = {
1154
1168
  },
1155
1169
  emits: ["selectTimeLabel", "selectX", "selectLegend"],
1156
1170
  setup($, { expose: Sa, emit: $a }) {
1157
- const d = $, Le = Dt(() => import("./DataTable-JX5MWop0.js")), he = Dt(() => import("./Tooltip-BAx7Btsw.js")), ge = Dt(() => import("./UserOptions-BLVLaZDQ.js")), fe = Dt(() => import("./BaseIcon-wGdAhoaF.js")), Al = Dt(() => import("./vue-ui-table-sparkline-qFmRMBGM.js")), St = Dt(() => import("./PackageVersion-BSXHahdf.js")), It = Dt(() => import("./PenAndPaper-ScGkrINJ.js")), zl = Dt(() => import("./BaseDraggableDialog-RzeiqHjP.js")), Gt = $a, xl = Go(), Ut = Uo(), { vue_ui_xy: $t } = jo(), Be = y(null), Te = y(null), Ke = y(null), Ce = y(null), ft = y(null), _t = y(null), Tl = y(null), qt = y(null), Zt = y(null), Se = y(null), Il = y(null), Nl = y(null), mt = y(null), ne = y(null), Ql = y(0), E = y(null), Kt = y(!0), W = y(600), le = y(1e3), at = y("0 0 1000 600"), jl = y({ x: 0, y: 0 }), Jt = y({ line: "line", bar: "bar", plot: "plot" }), Ee = y(!1), Pe = y(!1), bl = y(!1), ae = y(null), ce = y([]), Z = y(xa()), Pl = y(0), Fl = y(0), Rl = y(0), He = y(!0), gt = y(0), X = y(null), ea = y(!1), Ol = y(!0), yl = y(!0), $e = y(null), ot = y({}), Qt = y(null), H = y(!1), Je = y(null), _ = y(null), xt = x(() => ({
1171
+ const d = $, Le = Wt(() => import("./DataTable-Dw6dxJk3.js")), ce = Wt(() => import("./Tooltip-DBvmoYXU.js")), fe = Wt(() => import("./UserOptions-CKzW9w0Q.js")), me = Wt(() => import("./BaseIcon-7s-tCFcQ.js")), Al = Wt(() => import("./vue-ui-table-sparkline-DnSLwUNN.js")), St = Wt(() => import("./PackageVersion-D1HToLlZ.js")), Nt = Wt(() => import("./PenAndPaper-BKnXOYre.js")), zl = Wt(() => import("./BaseDraggableDialog-CrCjMg89.js")), Ut = $a, xl = Go(), qt = Uo(), { vue_ui_xy: $t } = jo(), Be = y(null), Te = y(null), Ke = y(null), Ce = y(null), ft = y(null), _t = y(null), Tl = y(null), Zt = y(null), Kt = y(null), Se = y(null), Il = y(null), Nl = y(null), mt = y(null), ne = y(null), Ql = y(0), E = y(null), Jt = y(!0), W = y(600), le = y(1e3), at = y("0 0 1000 600"), jl = y({ x: 0, y: 0 }), Qt = y({ line: "line", bar: "bar", plot: "plot" }), Ee = y(!1), Pe = y(!1), bl = y(!1), ae = y(null), ve = y([]), Z = y(xa()), Pl = y(0), Fl = y(0), Rl = y(0), He = y(!0), gt = y(0), X = y(null), ea = y(!1), Ol = y(!0), yl = y(!0), $e = y(null), ot = y({}), jt = y(null), H = y(!1), Je = y(null), M = y(null), xt = x(() => ({
1158
1172
  height: W.value,
1159
1173
  width: le.value
1160
1174
  }));
1161
1175
  function Vl(l) {
1162
1176
  return Number.isFinite(l) ? Math.max(0, Math.floor(l)) : 0;
1163
1177
  }
1164
- function Nt(l, s, e = 0) {
1178
+ function Pt(l, s, e = 0) {
1165
1179
  return Number.isFinite(l) && Number.isFinite(s) && Math.abs(s) > 1e-9 ? l / s : e;
1166
1180
  }
1167
- const jt = y(!1), C = y({
1181
+ const el = y(!1), A = y({
1168
1182
  xAxis: 18,
1169
1183
  yAxis: 12,
1170
1184
  dataLabels: 20,
@@ -1177,7 +1191,7 @@ const _n = {
1177
1191
  type: "datasetSerieAttribute",
1178
1192
  property: "series (number[])",
1179
1193
  index: s,
1180
- debug: Mt.value
1194
+ debug: Lt.value
1181
1195
  });
1182
1196
  });
1183
1197
  });
@@ -1199,7 +1213,7 @@ const _n = {
1199
1213
  customPalette: rn[l.theme] || d.palette
1200
1214
  } : l;
1201
1215
  }
1202
- const el = x({
1216
+ const Mt = x({
1203
1217
  get() {
1204
1218
  return !!d.dataset && d.dataset.length;
1205
1219
  },
@@ -1214,21 +1228,21 @@ const _n = {
1214
1228
  useIndividualScale: !1
1215
1229
  });
1216
1230
  function tl() {
1217
- jt.value ? (p.value.isStacked = t.value.chart.grid.labels.yAxis.stacked, p.value.useIndividualScale == null && (p.value.useIndividualScale = t.value.chart.grid.labels.yAxis.useIndividualScale)) : (p.value = {
1231
+ el.value ? (p.value.isStacked = t.value.chart.grid.labels.yAxis.stacked, p.value.useIndividualScale == null && (p.value.useIndividualScale = t.value.chart.grid.labels.yAxis.useIndividualScale)) : (p.value = {
1218
1232
  dataLabels: { show: !0 },
1219
1233
  showTooltip: t.value.chart.tooltip.show === !0,
1220
1234
  showTable: t.value.showTable === !0,
1221
1235
  isStacked: t.value.chart.grid.labels.yAxis.stacked,
1222
1236
  useIndividualScale: t.value.chart.grid.labels.yAxis.useIndividualScale
1223
- }, jt.value = !0);
1237
+ }, el.value = !0);
1224
1238
  }
1225
- const Mt = x(() => !!t.value.debug), { loading: xe, FINAL_DATASET: _e, manualLoading: bt } = gn({
1239
+ const Lt = x(() => !!t.value.debug), { loading: xe, FINAL_DATASET: _e, manualLoading: bt } = gn({
1226
1240
  ...qo(d),
1227
1241
  FINAL_CONFIG: t,
1228
1242
  prepareConfig: Bl,
1229
1243
  callback: () => {
1230
1244
  Promise.resolve().then(async () => {
1231
- await ul(), p.value.showTable = t.value.showTable;
1245
+ await il(), p.value.showTable = t.value.showTable;
1232
1246
  });
1233
1247
  },
1234
1248
  skeletonDataset: [
@@ -1306,36 +1320,36 @@ const _n = {
1306
1320
  });
1307
1321
  function _a(l) {
1308
1322
  const s = /* @__PURE__ */ new WeakMap();
1309
- return (e, ...u) => {
1323
+ return (e, ...i) => {
1310
1324
  let a = s.get(e);
1311
- const r = JSON.stringify(u);
1325
+ const r = JSON.stringify(i);
1312
1326
  if (a && a.has(r)) return a.get(r);
1313
- const o = l(e, ...u);
1327
+ const o = l(e, ...i);
1314
1328
  return a || (a = /* @__PURE__ */ new Map(), s.set(e, a)), a.set(r, o), o;
1315
1329
  };
1316
1330
  }
1317
- const Pt = _a((l, s) => Pa({ data: l, threshold: s })), yt = (l) => Pt(l, t.value.downsample.threshold), Qe = x({
1331
+ const Ft = _a((l, s) => Pa({ data: l, threshold: s })), yt = (l) => Ft(l, t.value.downsample.threshold), Qe = x({
1318
1332
  get: () => Math.max(..._e.value.map((l) => yt(l.series).length)),
1319
1333
  set: (l) => l
1320
1334
  }), w = y({ start: 0, end: Qe.value }), We = y({ start: 0, end: Qe.value }), ta = x(() => t.value.chart.zoom.preview.enable && (We.value.start !== w.value.start || We.value.end !== w.value.end));
1321
1335
  function El(l, s) {
1322
1336
  We.value[l] = s;
1323
1337
  }
1324
- function Lt() {
1338
+ function Ct() {
1325
1339
  const l = Math.max(
1326
1340
  1,
1327
- ..._e.value.map((u) => yt(u.series).length)
1341
+ ..._e.value.map((i) => yt(i.series).length)
1328
1342
  );
1329
1343
  let s = Math.max(0, Math.min(w.value.start ?? 0, l - 1)), e = Math.max(s + 1, Math.min(w.value.end ?? l, l));
1330
1344
  (!Number.isFinite(s) || !Number.isFinite(e) || e <= s) && (s = 0, e = l), w.value = { start: s, end: e }, We.value.start = s, We.value.end = e, Ke.value && (Ke.value.setStartValue(s), Ke.value.setEndValue(e));
1331
1345
  }
1332
1346
  const Ma = x(() => {
1333
- const { left: l, top: s, width: e, height: u } = c.value, a = w.value.start, o = w.value.end - a, F = e / o, R = We.value.start - a, O = We.value.end - a, T = Math.max(0, Math.min(o, R)), N = Math.max(0, Math.min(o, O));
1347
+ const { left: l, top: s, width: e, height: i } = c.value, a = w.value.start, o = w.value.end - a, F = e / o, R = We.value.start - a, O = We.value.end - a, T = Math.max(0, Math.min(o, R)), N = Math.max(0, Math.min(o, O));
1334
1348
  return {
1335
1349
  x: l + T * F,
1336
1350
  y: s,
1337
1351
  width: (N - T) * F,
1338
- height: u,
1352
+ height: i,
1339
1353
  fill: t.value.chart.zoom.preview.fill,
1340
1354
  stroke: t.value.chart.zoom.preview.stroke,
1341
1355
  "stroke-width": t.value.chart.zoom.preview.strokeWidth,
@@ -1351,35 +1365,35 @@ const _n = {
1351
1365
  });
1352
1366
  ht(() => d.selectedXIndex, (l) => {
1353
1367
  if ([null, void 0].includes(d.selectedXIndex)) {
1354
- _.value = null;
1368
+ M.value = null;
1355
1369
  return;
1356
1370
  }
1357
1371
  const s = l - w.value.start;
1358
- s < 0 || l >= w.value.end ? _.value = null : _.value = s ?? null;
1372
+ s < 0 || l >= w.value.end ? M.value = null : M.value = s ?? null;
1359
1373
  }, { immediate: !0 });
1360
- const { isPrinting: Hl, isImaging: nt, generatePdf: it, generateImage: ut } = mn({
1374
+ const { isPrinting: Hl, isImaging: nt, generatePdf: ut, generateImage: it } = mn({
1361
1375
  elementId: `vue-ui-xy_${Z.value}`,
1362
1376
  fileName: t.value.chart.title.text || "vue-ui-xy",
1363
1377
  options: t.value.chart.userOptions.print
1364
- }), pt = y(!1), ll = x(() => tn(t.value.customPalette)), Ft = x(() => {
1378
+ }), pt = y(!1), ll = x(() => tn(t.value.customPalette)), Rt = x(() => {
1365
1379
  if (t.value.chart.grid.labels.yAxis.scaleMin !== null)
1366
1380
  return t.value.chart.grid.labels.yAxis.scaleMin;
1367
- const l = Math.min(...je.value.filter((s) => !ce.value.includes(s.id)).map((s) => Math.min(...s.series)));
1381
+ const l = Math.min(...je.value.filter((s) => !ve.value.includes(s.id)).map((s) => Math.min(...s.series)));
1368
1382
  return l > 0 ? 0 : l;
1369
1383
  }), al = x(() => {
1370
1384
  if (t.value.chart.grid.labels.yAxis.scaleMax)
1371
1385
  return t.value.chart.grid.labels.yAxis.scaleMax;
1372
- const l = Math.max(...je.value.filter((s) => !ce.value.includes(s.id)).map((s) => Math.max(...s.series)));
1373
- return Ft.value === l ? l + 1 : l;
1374
- }), Xe = x(() => t.value.chart.grid.labels.yAxis.useNiceScale ? Kl(Ft.value, al.value < 0 ? 0 : al.value, t.value.chart.grid.labels.yAxis.commonScaleSteps) : hl(Ft.value, al.value < 0 ? 0 : al.value, t.value.chart.grid.labels.yAxis.commonScaleSteps)), ol = x(() => [null, void 0].includes(t.value.chart.grid.labels.yAxis.scaleMin) ? Xe.value.min >= 0 ? 0 : Math.abs(Xe.value.min) : -Xe.value.min), je = x(() => Kt.value ? _e.value.map((l, s) => {
1375
- const e = yt(l.series), u = `uniqueId_${s}`;
1386
+ const l = Math.max(...je.value.filter((s) => !ve.value.includes(s.id)).map((s) => Math.max(...s.series)));
1387
+ return Rt.value === l ? l + 1 : l;
1388
+ }), Xe = x(() => t.value.chart.grid.labels.yAxis.useNiceScale ? Kl(Rt.value, al.value < 0 ? 0 : al.value, t.value.chart.grid.labels.yAxis.commonScaleSteps) : hl(Rt.value, al.value < 0 ? 0 : al.value, t.value.chart.grid.labels.yAxis.commonScaleSteps)), ol = x(() => [null, void 0].includes(t.value.chart.grid.labels.yAxis.scaleMin) ? Xe.value.min >= 0 ? 0 : Math.abs(Xe.value.min) : -Xe.value.min), je = x(() => Jt.value ? _e.value.map((l, s) => {
1389
+ const e = yt(l.series), i = `uniqueId_${s}`;
1376
1390
  return {
1377
1391
  ...l,
1378
1392
  slotAbsoluteIndex: s,
1379
1393
  series: e.map((a) => fa(a) ? a : null).slice(w.value.start, w.value.end),
1380
1394
  color: po(l.color ? l.color : ll.value[s] ? ll.value[s] : ko[s]),
1381
- id: u,
1382
- scaleLabel: l.scaleLabel || u
1395
+ id: i,
1396
+ scaleLabel: l.scaleLabel || i
1383
1397
  };
1384
1398
  }) : _e.value), et = x(() => je.value.map((l, s) => ({
1385
1399
  absoluteIndex: s,
@@ -1387,19 +1401,19 @@ const _n = {
1387
1401
  series: l.series.map((e) => e + ol.value),
1388
1402
  absoluteValues: l.series,
1389
1403
  segregate: () => Ga(l),
1390
- isSegregated: ce.value.includes(l.id)
1404
+ isSegregated: ve.value.includes(l.id)
1391
1405
  }))), Fe = x(() => je.value.map((l, s) => ({
1392
1406
  ...l,
1393
1407
  series: l.series.map((e) => e + ol.value),
1394
1408
  absoluteValues: l.series
1395
- })).filter((l) => !ce.value.includes(l.id)));
1409
+ })).filter((l) => !ve.value.includes(l.id)));
1396
1410
  function la() {
1397
1411
  let l = 0;
1398
1412
  Il.value && (l = Array.from(Il.value.querySelectorAll("text")).reduce((a, r) => {
1399
1413
  const o = r.getComputedTextLength();
1400
1414
  return (o > a ? o : a) + t.value.chart.grid.labels.yAxis.scaleValueOffsetX;
1401
1415
  }, 0));
1402
- const s = Zt.value ? Zt.value.getBoundingClientRect().width + t.value.chart.grid.labels.axis.yLabelOffsetX + C.value.yAxis : 0, e = t.value.chart.grid.labels.yAxis.crosshairSize;
1416
+ const s = Kt.value ? Kt.value.getBoundingClientRect().width + t.value.chart.grid.labels.axis.yLabelOffsetX + A.value.yAxis : 0, e = t.value.chart.grid.labels.yAxis.crosshairSize;
1403
1417
  return l + s + e;
1404
1418
  }
1405
1419
  const tt = y(0), nl = Jl((l) => {
@@ -1408,73 +1422,73 @@ const _n = {
1408
1422
  go((l) => {
1409
1423
  const s = Se.value;
1410
1424
  if (!s) return;
1411
- const e = new ResizeObserver((u) => {
1412
- nl(u[0].contentRect.height);
1425
+ const e = new ResizeObserver((i) => {
1426
+ nl(i[0].contentRect.height);
1413
1427
  });
1414
1428
  e.observe(s), l(() => e.disconnect());
1415
1429
  }), gl(() => {
1416
1430
  tt.value = 0;
1417
1431
  });
1418
- const Rt = x(() => {
1432
+ const Ot = x(() => {
1419
1433
  let l = 0;
1420
- qt.value && (l = qt.value.getBBox().height);
1434
+ Zt.value && (l = Zt.value.getBBox().height);
1421
1435
  let s = 0;
1422
- return Se.value && (s = tt.value), l + s + C.value.xAxis;
1436
+ return Se.value && (s = tt.value), l + s + A.value.xAxis;
1423
1437
  }), pl = x(() => _e.value.some((l) => l.useProgression)), c = x(() => {
1424
1438
  let l = 0;
1425
1439
  const s = 36;
1426
- t.value.chart.grid.labels.show && (p.value.useIndividualScale && !p.value.isStacked ? l = (_e.value.length - ce.value.length) * (t.value.chart.grid.labels.yAxis.labelWidth + s) : p.value.useIndividualScale && p.value.isStacked ? l = t.value.chart.grid.labels.yAxis.labelWidth + s : l = la());
1427
- const e = t.value.chart.labels.fontSize * 1.1, u = pl.value ? 24 : 6;
1440
+ t.value.chart.grid.labels.show && (p.value.useIndividualScale && !p.value.isStacked ? l = (_e.value.length - ve.value.length) * (t.value.chart.grid.labels.yAxis.labelWidth + s) : p.value.useIndividualScale && p.value.isStacked ? l = t.value.chart.grid.labels.yAxis.labelWidth + s : l = la());
1441
+ const e = t.value.chart.labels.fontSize * 1.1, i = pl.value ? 24 : 6;
1428
1442
  if (Se.value) {
1429
1443
  const o = Se.value.getBBox().x;
1430
1444
  o < 0 && (l += Math.abs(o));
1431
1445
  }
1432
- const a = le.value - l - t.value.chart.grid.labels.yAxis.crosshairSize - u - t.value.chart.padding.left - t.value.chart.padding.right, r = t.value.chart.grid.position === "middle" ? 0 : a / S.value / 2;
1446
+ const a = le.value - l - t.value.chart.grid.labels.yAxis.crosshairSize - i - t.value.chart.padding.left - t.value.chart.padding.right, r = t.value.chart.grid.position === "middle" ? 0 : a / S.value / 2;
1433
1447
  return {
1434
1448
  top: t.value.chart.padding.top + e,
1435
- right: le.value - u - t.value.chart.padding.right,
1436
- bottom: W.value - Rt.value - t.value.chart.padding.bottom - t.value.chart.grid.labels.axis.xLabelOffsetY,
1449
+ right: le.value - i - t.value.chart.padding.right,
1450
+ bottom: W.value - Ot.value - t.value.chart.padding.bottom - t.value.chart.grid.labels.axis.xLabelOffsetY,
1437
1451
  left: l + t.value.chart.grid.labels.yAxis.crosshairSize - r + t.value.chart.padding.left,
1438
- height: W.value - Rt.value - t.value.chart.padding.top - t.value.chart.padding.bottom - e - t.value.chart.grid.labels.axis.xLabelOffsetY,
1452
+ height: W.value - Ot.value - t.value.chart.padding.top - t.value.chart.padding.bottom - e - t.value.chart.grid.labels.axis.xLabelOffsetY,
1439
1453
  width: a,
1440
1454
  scaleLabelX: l,
1441
1455
  individualOffsetX: s
1442
1456
  };
1443
- }), Ot = x(() => {
1444
- const l = t.value.chart.grid.position === "middle" ? 1 : 0, s = S.value + l, e = j(c.value.top), u = j(c.value.bottom);
1457
+ }), Vt = x(() => {
1458
+ const l = t.value.chart.grid.position === "middle" ? 1 : 0, s = S.value + l, e = j(c.value.top), i = j(c.value.bottom);
1445
1459
  return Array.from({ length: s }).map((a, r) => {
1446
- const o = c.value.width / S.value * r + c.value.left + ie.value;
1447
- return `M${o},${e} L${o},${u}`;
1460
+ const o = c.value.width / S.value * r + c.value.left + ue.value;
1461
+ return `M${o},${e} L${o},${i}`;
1448
1462
  }).join(" ");
1449
1463
  }), Dl = x(() => {
1450
1464
  if (!t.value.chart.grid.labels.xAxis.showCrosshairs) return "";
1451
1465
  const l = c.value.width / S.value, s = t.value.chart.grid.labels.xAxis.crosshairSize, e = t.value.chart.grid.labels.xAxis.crosshairsAlwaysAtZero;
1452
- return D.value.map((u, a) => {
1453
- if (!u || !u.text) return null;
1466
+ return D.value.map((i, a) => {
1467
+ if (!i || !i.text) return null;
1454
1468
  const r = c.value.left + l * a + l / 2, o = e ? Ie.value - (Ie.value === c.value.bottom ? 0 : s / 2) : c.value.bottom, F = e ? Ie.value + s / (Ie.value === c.value.bottom ? 1 : 2) : c.value.bottom + s;
1455
1469
  return `M${r},${o} L${r},${F}`;
1456
1470
  }).filter(Boolean).join(" ");
1457
1471
  });
1458
1472
  function kl() {
1459
- return !!Ut?.vnode.props?.onSelectTimeLabel;
1473
+ return !!qt?.vnode.props?.onSelectTimeLabel;
1460
1474
  }
1461
1475
  function aa(l, s, e) {
1462
- if (!Qt.value) {
1463
- const u = document.createElement("canvas");
1464
- Qt.value = u.getContext("2d");
1476
+ if (!jt.value) {
1477
+ const i = document.createElement("canvas");
1478
+ jt.value = i.getContext("2d");
1465
1479
  }
1466
- return Qt.value.font = `normal ${l}px sans-serif`, Qt.value;
1480
+ return jt.value.font = `normal ${l}px sans-serif`, jt.value;
1467
1481
  }
1468
1482
  function Wl() {
1469
1483
  const l = Be.value.querySelectorAll(".vue-ui-xy-tag");
1470
1484
  l.length && Array.from(l).forEach((s) => s.style.opacity = "0");
1471
1485
  }
1472
- function kt(l, s, e, u, a) {
1473
- e && (ot.value[`${l}_${s}_${u}_${a}`] = e);
1486
+ function kt(l, s, e, i, a) {
1487
+ e && (ot.value[`${l}_${s}_${i}_${a}`] = e);
1474
1488
  }
1475
- const Vt = y(!1);
1476
- async function me(l = !1) {
1477
- await Cl(), Vt.value = l, ea.value && (yl.value = l);
1489
+ const Bt = y(!1);
1490
+ async function ge(l = !1) {
1491
+ await Cl(), Bt.value = l, ea.value && (yl.value = l);
1478
1492
  }
1479
1493
  function Xl() {
1480
1494
  Ee.value = !Ee.value;
@@ -1501,73 +1515,73 @@ const _n = {
1501
1515
  const l = t.value.chart.grid.labels.xAxisLabels.modulo;
1502
1516
  return v.value.length ? Math.min(l, [...new Set(v.value.map((s) => s.text))].length) : l;
1503
1517
  });
1504
- function A(l) {
1518
+ function _(l) {
1505
1519
  let s = null, e = null;
1506
- return (...u) => {
1507
- const a = JSON.stringify(u);
1508
- return a === s || (s = a, e = l(...u)), e;
1520
+ return (...i) => {
1521
+ const a = JSON.stringify(i);
1522
+ return a === s || (s = a, e = l(...i)), e;
1509
1523
  };
1510
1524
  }
1511
- const z = A((l, s, e, u, a, r, o, F) => {
1525
+ const z = _((l, s, e, i, a, r, o, F) => {
1512
1526
  if (l)
1513
- return u.length <= 2 ? u.map((B, se) => ({ text: B, absoluteIndex: se })) : u.map((B, se) => ({ text: se === 0 || se === u.length - 1 || o != null && se === o ? B : "", absoluteIndex: se }));
1527
+ return i.length <= 2 ? i.map((B, se) => ({ text: B, absoluteIndex: se })) : i.map((B, se) => ({ text: se === 0 || se === i.length - 1 || o != null && se === o ? B : "", absoluteIndex: se }));
1514
1528
  if (!s)
1515
- return u.map((Y, B) => ({ text: Y, absoluteIndex: B }));
1529
+ return i.map((Y, B) => ({ text: Y, absoluteIndex: B }));
1516
1530
  const R = Math.max(1, e || 1);
1517
1531
  if (F <= R)
1518
- return u.map((Y, B) => ({ text: Y, absoluteIndex: B }));
1532
+ return i.map((Y, B) => ({ text: Y, absoluteIndex: B }));
1519
1533
  const O = [];
1520
- for (let Y = 0; Y < u.length; Y += 1) {
1521
- const B = u[Y] ?? "";
1534
+ for (let Y = 0; Y < i.length; Y += 1) {
1535
+ const B = i[Y] ?? "";
1522
1536
  if (!B) continue;
1523
1537
  const se = r + Y - 1 >= 0 ? a[r + Y - 1] ?? "" : null;
1524
1538
  B !== se && O.push(Y);
1525
1539
  }
1526
1540
  if (!O.length)
1527
- return u.map((Y, B) => ({ text: "", absoluteIndex: B }));
1541
+ return i.map((Y, B) => ({ text: "", absoluteIndex: B }));
1528
1542
  const T = O.length, N = R, ee = Math.max(2, Math.min(N - 3, T)), I = Math.min(T, N + 3);
1529
1543
  let U = Math.min(N, T), V = 1 / 0;
1530
1544
  for (let Y = ee; Y <= I; Y += 1) {
1531
1545
  const B = (T - 1) % (Y - 1), se = Math.abs(Y - N), Oe = B * 10 + se;
1532
1546
  Oe < V && (V = Oe, U = Y);
1533
1547
  }
1534
- const de = /* @__PURE__ */ new Set();
1548
+ const he = /* @__PURE__ */ new Set();
1535
1549
  if (U <= 1)
1536
- de.add(O[Math.round((T - 1) / 2)]);
1550
+ he.add(O[Math.round((T - 1) / 2)]);
1537
1551
  else {
1538
1552
  const Y = (T - 1) / (U - 1);
1539
1553
  for (let B = 0; B < U; B += 1)
1540
- de.add(O[Math.round(B * Y)]);
1554
+ he.add(O[Math.round(B * Y)]);
1541
1555
  }
1542
- return u.map((Y, B) => ({
1543
- text: de.has(B) ? Y : "",
1556
+ return i.map((Y, B) => ({
1557
+ text: he.has(B) ? Y : "",
1544
1558
  absoluteIndex: B
1545
1559
  }));
1546
1560
  }), D = x(() => {
1547
- const l = t.value.chart.grid.labels.xAxisLabels, s = v.value || [], e = m.value || [], u = w.value.start ?? 0, a = _.value, r = S.value, o = s.map((R) => R?.text ?? ""), F = e.map((R) => R?.text ?? "");
1561
+ const l = t.value.chart.grid.labels.xAxisLabels, s = v.value || [], e = m.value || [], i = w.value.start ?? 0, a = M.value, r = S.value, o = s.map((R) => R?.text ?? ""), F = e.map((R) => R?.text ?? "");
1548
1562
  return z(
1549
1563
  !!l.showOnlyFirstAndLast,
1550
1564
  !!l.showOnlyAtModulo,
1551
1565
  Math.max(1, f.value || 1),
1552
1566
  o,
1553
1567
  F,
1554
- u,
1568
+ i,
1555
1569
  a,
1556
1570
  r
1557
1571
  );
1558
1572
  });
1559
1573
  function ke(l, s) {
1560
- const e = Fe.value.map((u) => ({
1561
- shape: u.shape || null,
1562
- name: u.name,
1563
- color: u.color,
1564
- type: u.type,
1565
- value: u.absoluteValues.find((a, r) => r === s),
1566
- comments: u.comments || [],
1567
- prefix: u.prefix || t.value.chart.labels.prefix,
1568
- suffix: u.suffix || t.value.chart.labels.suffix
1574
+ const e = Fe.value.map((i) => ({
1575
+ shape: i.shape || null,
1576
+ name: i.name,
1577
+ color: i.color,
1578
+ type: i.type,
1579
+ value: i.absoluteValues.find((a, r) => r === s),
1580
+ comments: i.comments || [],
1581
+ prefix: i.prefix || t.value.chart.labels.prefix,
1582
+ suffix: i.suffix || t.value.chart.labels.suffix
1569
1583
  }));
1570
- Gt("selectTimeLabel", {
1584
+ Ut("selectTimeLabel", {
1571
1585
  datapoint: e,
1572
1586
  absoluteIndex: l.absoluteIndex,
1573
1587
  label: l.text
@@ -1583,43 +1597,43 @@ const _n = {
1583
1597
  function st() {
1584
1598
  p.value.isStacked = !p.value.isStacked, p.value.isStacked ? p.value.useIndividualScale = !0 : p.value.useIndividualScale = t.value.chart.grid.labels.yAxis.useIndividualScale;
1585
1599
  }
1586
- function Bt(l) {
1587
- Mt.value && l.autoScaling && (t.value.chart.grid.labels.yAxis.useIndividualScale || console.warn(`VueUiXy (datapoint: ${l.name}) : autoScaling only works when config.chart.grid.labels.yAxis.useIndividualScale is set to true`), t.value.chart.grid.labels.yAxis.stacked || console.warn(`VueUiXy (datapoint: ${l.name}) : autoScaling only works when config.chart.grid.labels.yAxis.stacked is set to true`));
1600
+ function Et(l) {
1601
+ Lt.value && l.autoScaling && (t.value.chart.grid.labels.yAxis.useIndividualScale || console.warn(`VueUiXy (datapoint: ${l.name}) : autoScaling only works when config.chart.grid.labels.yAxis.useIndividualScale is set to true`), t.value.chart.grid.labels.yAxis.stacked || console.warn(`VueUiXy (datapoint: ${l.name}) : autoScaling only works when config.chart.grid.labels.yAxis.stacked is set to true`));
1588
1602
  }
1589
- function Ct(l, s) {
1590
- const e = Vl(l), u = Array(e).fill(0);
1591
- for (let a = 0; a < s.length && a < e; a += 1) u[a] = s[a] ?? 0;
1592
- return u;
1603
+ function At(l, s) {
1604
+ const e = Vl(l), i = Array(e).fill(0);
1605
+ for (let a = 0; a < s.length && a < e; a += 1) i[a] = s[a] ?? 0;
1606
+ return i;
1593
1607
  }
1594
1608
  function oa(l) {
1595
1609
  const s = Math.max(..._e.value.map((e) => yt(e.series).length));
1596
1610
  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;
1597
1611
  }
1598
- const il = y(!1), Me = y(!1);
1599
- function ul() {
1600
- if (!il.value) {
1601
- il.value = !0;
1612
+ const ul = y(!1), Me = y(!1);
1613
+ function il() {
1614
+ if (!ul.value) {
1615
+ ul.value = !0;
1602
1616
  try {
1603
- const { startIndex: l, endIndex: s } = t.value.chart.zoom, e = Math.max(..._e.value.map((r) => yt(r.series).length)), u = l ?? 0, a = s != null ? Math.min(oa(s + 1), e) : e;
1604
- At.value = !0, w.value.start = u, w.value.end = a, We.value.start = u, We.value.end = a, Lt(), Me.value = !0;
1617
+ const { startIndex: l, endIndex: s } = t.value.chart.zoom, e = Math.max(..._e.value.map((r) => yt(r.series).length)), i = l ?? 0, a = s != null ? Math.min(oa(s + 1), e) : e;
1618
+ zt.value = !0, w.value.start = i, w.value.end = a, We.value.start = i, We.value.end = a, Ct(), Me.value = !0;
1605
1619
  } finally {
1606
1620
  queueMicrotask(() => {
1607
- At.value = !1;
1608
- }), il.value = !1;
1621
+ zt.value = !1;
1622
+ }), ul.value = !1;
1609
1623
  }
1610
1624
  }
1611
1625
  }
1612
- const At = y(!1);
1626
+ const zt = y(!1);
1613
1627
  function na(l) {
1614
- il.value || At.value || l !== w.value.start && (w.value.start = l, We.value.start = l, Lt());
1628
+ ul.value || zt.value || l !== w.value.start && (w.value.start = l, We.value.start = l, Ct());
1615
1629
  }
1616
1630
  function La(l) {
1617
- if (il.value || At.value) return;
1631
+ if (ul.value || zt.value) return;
1618
1632
  const s = oa(l);
1619
- s !== w.value.end && (w.value.end = s, We.value.end = s, Lt());
1633
+ s !== w.value.end && (w.value.end = s, We.value.end = s, Ct());
1620
1634
  }
1621
1635
  async function Ca() {
1622
- await ul();
1636
+ await il();
1623
1637
  }
1624
1638
  function Ye(l) {
1625
1639
  return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(l);
@@ -1630,25 +1644,25 @@ const _n = {
1630
1644
  }
1631
1645
  const Ie = x(() => isNaN(sl(ol.value)) ? c.value.bottom : c.value.bottom - c.value.height * sl(ol.value));
1632
1646
  function Ba(l) {
1633
- const s = ![null, void 0].includes(t.value.chart.grid.labels.yAxis.scaleMin) && t.value.chart.grid.labels.yAxis.scaleMin > 0 && Ft.value >= 0 ? c.value.bottom : Ie.value;
1647
+ const s = ![null, void 0].includes(t.value.chart.grid.labels.yAxis.scaleMin) && t.value.chart.grid.labels.yAxis.scaleMin > 0 && Rt.value >= 0 ? c.value.bottom : Ie.value;
1634
1648
  return l.value >= 0 ? q(s - l.y <= 0 ? 1e-5 : s - l.y) : q(l.y - Ie.value <= 0 ? 1e-5 : l.y - Ie.value);
1635
1649
  }
1636
1650
  function Ea(l) {
1637
1651
  return l.value >= 0 ? q(l.zeroPosition - l.y <= 0 ? 1e-5 : l.zeroPosition - l.y) : q(l.y - l.zeroPosition <= 0 ? 1e-5 : l.zeroPosition - l.y);
1638
1652
  }
1639
- const ve = x(() => {
1640
- const l = Math.max(1, S.value), s = Math.max(1, c.value.width), e = Math.max(1, je.value.filter((u) => u.type === "bar" && !ce.value.includes(u.id)).length);
1653
+ const de = x(() => {
1654
+ const l = Math.max(1, S.value), s = Math.max(1, c.value.width), e = Math.max(1, je.value.filter((i) => i.type === "bar" && !ve.value.includes(i.id)).length);
1641
1655
  return {
1642
- bar: Nt(s, l * e, 1),
1643
- plot: Nt(s, l, 1),
1644
- line: Nt(s, l, 1)
1656
+ bar: Pt(s, l * e, 1),
1657
+ plot: Pt(s, l, 1),
1658
+ line: Pt(s, l, 1)
1645
1659
  };
1646
1660
  });
1647
1661
  function Sl() {
1648
- return p.value.useIndividualScale && p.value.isStacked ? ve.value.line - c.value.width / S.value * 0.1 : ve.value.bar;
1662
+ return p.value.useIndividualScale && p.value.isStacked ? de.value.line - c.value.width / S.value * 0.1 : de.value.bar;
1649
1663
  }
1650
- function ia(l) {
1651
- return p.value.useIndividualScale && p.value.isStacked ? l.x + c.value.width / S.value * 0.05 : l.x + ve.value.bar / 2;
1664
+ function ua(l) {
1665
+ return p.value.useIndividualScale && p.value.isStacked ? l.x + c.value.width / S.value * 0.05 : l.x + de.value.bar / 2;
1652
1666
  }
1653
1667
  function Ha(l) {
1654
1668
  return l.value >= 0 ? l.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(Ie.value) ? c.bottom.value : Ie.value;
@@ -1669,7 +1683,7 @@ const _n = {
1669
1683
  return { x: I.x, y: I.y, ok: !0 };
1670
1684
  }
1671
1685
  }
1672
- const e = s.getBoundingClientRect(), u = s.viewBox?.baseVal || { x: 0, y: 0, width: e.width, height: e.height }, a = Math.min(e.width / u.width, e.height / u.height), r = u.width * a, o = u.height * a, F = (e.width - r) / 2, R = (e.height - o) / 2, O = (l.clientX - e.left - F) / a + u.x, T = (l.clientY - e.top - R) / a + u.y;
1686
+ const e = s.getBoundingClientRect(), i = s.viewBox?.baseVal || { x: 0, y: 0, width: e.width, height: e.height }, a = Math.min(e.width / i.width, e.height / i.height), r = i.width * a, o = i.height * a, F = (e.width - r) / 2, R = (e.height - o) / 2, O = (l.clientX - e.left - F) / a + i.x, T = (l.clientY - e.top - R) / a + i.y;
1673
1687
  return { x: O, y: T, ok: !0 };
1674
1688
  }
1675
1689
  let rl = 0;
@@ -1678,26 +1692,26 @@ const _n = {
1678
1692
  rl = 0;
1679
1693
  const s = Wa(l);
1680
1694
  if (!s || !$e.value) {
1681
- ua();
1695
+ ia();
1682
1696
  return;
1683
1697
  }
1684
- const { left: e, right: u, top: a, bottom: r, width: o } = c.value;
1685
- if (s.x < e || s.x > u || s.y < a || s.y > r) {
1686
- ua();
1698
+ const { left: e, right: i, top: a, bottom: r, width: o } = c.value;
1699
+ if (s.x < e || s.x > i || s.y < a || s.y > r) {
1700
+ ia();
1687
1701
  return;
1688
1702
  }
1689
1703
  const F = s.x - e, R = o / S.value, O = Math.floor(F / R);
1690
- O >= 0 && O < S.value ? Yl.value !== O && (Yl.value = O, to(!0, O)) : ua();
1704
+ O >= 0 && O < S.value ? Yl.value !== O && (Yl.value = O, to(!0, O)) : ia();
1691
1705
  }));
1692
1706
  }
1693
- function ua() {
1707
+ function ia() {
1694
1708
  rl && (cancelAnimationFrame(rl), rl = 0), Yl.value = null, to(!1, null);
1695
1709
  }
1696
1710
  function Xa(l) {
1697
1711
  const s = Wa(l);
1698
1712
  if (s && $e.value) {
1699
- const { left: e, right: u, top: a, bottom: r, width: o } = c.value;
1700
- if (s.x >= e && s.x <= u && s.y >= a && s.y <= r) {
1713
+ const { left: e, right: i, top: a, bottom: r, width: o } = c.value;
1714
+ if (s.x >= e && s.x <= i && s.y >= a && s.y <= r) {
1701
1715
  const F = o / Math.max(1, S.value), R = Math.floor((s.x - e) / F);
1702
1716
  if (R >= 0 && R < S.value) {
1703
1717
  Ya(R);
@@ -1714,7 +1728,7 @@ const _n = {
1714
1728
  color: e.color,
1715
1729
  type: e.type
1716
1730
  }));
1717
- Gt(
1731
+ Ut(
1718
1732
  "selectX",
1719
1733
  {
1720
1734
  dataset: s,
@@ -1733,24 +1747,24 @@ const _n = {
1733
1747
  }
1734
1748
  async function zo({ scale: l = 2 } = {}) {
1735
1749
  if (!Be.value) return;
1736
- const { width: s, height: e } = Be.value.getBoundingClientRect(), u = s / e, { imageUri: a, base64: r } = await kn({ domElement: Be.value, base64: !0, img: !0, scale: l });
1750
+ const { width: s, height: e } = Be.value.getBoundingClientRect(), i = s / e, { imageUri: a, base64: r } = await kn({ domElement: Be.value, base64: !0, img: !0, scale: l });
1737
1751
  return {
1738
1752
  imageUri: a,
1739
1753
  base64: r,
1740
1754
  title: t.value.chart.title.text,
1741
1755
  width: s,
1742
1756
  height: e,
1743
- aspectRatio: u
1757
+ aspectRatio: i
1744
1758
  };
1745
1759
  }
1746
1760
  function Ga(l) {
1747
- if (ce.value.includes(l.id))
1748
- ce.value = ce.value.filter((s) => s !== l.id);
1761
+ if (ve.value.includes(l.id))
1762
+ ve.value = ve.value.filter((s) => s !== l.id);
1749
1763
  else {
1750
- if (ce.value.length + 1 === je.value.length) return;
1751
- ce.value.push(l.id);
1764
+ if (ve.value.length + 1 === je.value.length) return;
1765
+ ve.value.push(l.id);
1752
1766
  }
1753
- Gt("selectLegend", Fe.value.map((s) => ({
1767
+ Ut("selectLegend", Fe.value.map((s) => ({
1754
1768
  name: s.name,
1755
1769
  values: s.absoluteValues,
1756
1770
  color: s.color,
@@ -1776,7 +1790,7 @@ const _n = {
1776
1790
  to: Math.min(t.value.chart.highlightArea.to, Qe.value - 1)
1777
1791
  };
1778
1792
  return [{ ...l, span: l.from === l.to ? 1 : l.to < l.from ? 0 : l.to - l.from + 1 }];
1779
- }), qa = x(() => Kt.value ? _e.value.map((l, s) => ({
1793
+ }), qa = x(() => Jt.value ? _e.value.map((l, s) => ({
1780
1794
  ...l,
1781
1795
  series: yt(l.series),
1782
1796
  id: `uniqueId_${s}`,
@@ -1787,7 +1801,7 @@ const _n = {
1787
1801
  id: l.id,
1788
1802
  name: l.name,
1789
1803
  color: l.color,
1790
- values: Ct(S.value, s)
1804
+ values: At(S.value, s)
1791
1805
  };
1792
1806
  })), Fo = x(() => ({
1793
1807
  responsiveBreakpoint: t.value.table.responsiveBreakpoint,
@@ -1815,10 +1829,10 @@ const _n = {
1815
1829
  sparkline: {
1816
1830
  animation: { show: !1 }
1817
1831
  }
1818
- })), ie = x(() => t.value.chart.grid.position === "middle" ? 0 : c.value.width / S.value / 2), cl = x(() => ln(et.value.filter((l) => !ce.value.includes(l.id)))), P = x(() => {
1832
+ })), ue = x(() => t.value.chart.grid.position === "middle" ? 0 : c.value.width / S.value / 2), cl = x(() => ln(et.value.filter((l) => !ve.value.includes(l.id)))), P = x(() => {
1819
1833
  const l = Object.groupBy(cl.value, (e) => e.scaleLabel), s = {};
1820
- for (const [e, u] of Object.entries(l)) {
1821
- const a = u.flatMap((r) => r.absoluteValues);
1834
+ for (const [e, i] of Object.entries(l)) {
1835
+ const a = i.flatMap((r) => r.absoluteValues);
1822
1836
  s[e] = {
1823
1837
  min: Math.min(...a) || 0,
1824
1838
  max: Math.max(...a) || 1,
@@ -1827,25 +1841,25 @@ const _n = {
1827
1841
  }
1828
1842
  return s;
1829
1843
  }), Ro = x(() => {
1830
- const l = je.value.filter((s) => s.type === "bar").filter((s) => !ce.value.includes(s.id)).length;
1844
+ const l = je.value.filter((s) => s.type === "bar").filter((s) => !ve.value.includes(s.id)).length;
1831
1845
  return c.value.width / S.value / l - sa.value * l;
1832
- }), sa = x(() => ve.value.line * t.value.bar.periodGap), ra = x(() => Math.max(1e-5, Sl() - (p.value.useIndividualScale && p.value.isStacked ? 0 : sa.value))), ca = x(() => ra.value * Math.min(Math.abs(t.value.bar.innerGap), 0.95)), Oo = x(() => {
1846
+ }), sa = x(() => de.value.line * t.value.bar.periodGap), ra = x(() => Math.max(1e-5, Sl() - (p.value.useIndividualScale && p.value.isStacked ? 0 : sa.value))), ca = x(() => ra.value * Math.min(Math.abs(t.value.bar.innerGap), 0.95)), Oo = x(() => {
1833
1847
  if (!t.value.chart.zoom.minimap.show) return [];
1834
- const l = qa.value.filter((a) => !ce.value.includes(a.id)), s = Math.max(...l.map((a) => a.series.length)), e = [];
1848
+ const l = qa.value.filter((a) => !ve.value.includes(a.id)), s = Math.max(...l.map((a) => a.series.length)), e = [];
1835
1849
  for (let a = 0; a < s; a += 1)
1836
1850
  e.push(l.map((r) => r.series[a] || 0).reduce((r, o) => (r || 0) + (o || 0), 0));
1837
- const u = Math.min(...e);
1838
- return e.map((a) => a + (u < 0 ? Math.abs(u) : 0));
1851
+ const i = Math.min(...e);
1852
+ return e.map((a) => a + (i < 0 ? Math.abs(i) : 0));
1839
1853
  }), Vo = x(() => t.value.chart.zoom.minimap.show ? qa.value.map((s) => ({
1840
1854
  ...s,
1841
- isVisible: !ce.value.includes(s.id)
1842
- })) : []), zt = x(() => Fe.value.map((l) => ({
1855
+ isVisible: !ve.value.includes(s.id)
1856
+ })) : []), Tt = x(() => Fe.value.map((l) => ({
1843
1857
  slotAbsoluteIndex: l.slotAbsoluteIndex,
1844
1858
  shape: l.shape || null,
1845
1859
  name: l.name,
1846
1860
  color: l.color,
1847
1861
  type: l.type,
1848
- value: l.absoluteValues.find((s, e) => e === _.value),
1862
+ value: l.absoluteValues.find((s, e) => e === M.value),
1849
1863
  comments: l.comments || [],
1850
1864
  prefix: l.prefix || t.value.chart.labels.prefix,
1851
1865
  suffix: l.suffix || t.value.chart.labels.suffix
@@ -1861,27 +1875,27 @@ const _n = {
1861
1875
  (T) => T.show && (T.yAxis.yTop != null || T.yAxis.yBottom != null)
1862
1876
  );
1863
1877
  if (!s.length) return [];
1864
- const { left: e, right: u } = c.value, a = Ie.value, r = c.value.height, o = Xe.value.min, R = Xe.value.max - o, O = (T) => {
1878
+ const { left: e, right: i } = c.value, a = Ie.value, r = c.value.height, o = Xe.value.min, R = Xe.value.max - o, O = (T) => {
1865
1879
  const N = (T - 0) / R;
1866
1880
  return a - N * r;
1867
1881
  };
1868
1882
  return s.map((T) => {
1869
- const { yAxis: { yTop: N, yBottom: ee, label: I } } = T, U = N != null && ee != null && N !== ee, V = N == null ? null : O(N), de = ee == null ? null : O(ee), Y = aa(I.fontSize);
1883
+ const { yAxis: { yTop: N, yBottom: ee, label: I } } = T, U = N != null && ee != null && N !== ee, V = N == null ? null : O(N), he = ee == null ? null : O(ee), Y = aa(I.fontSize);
1870
1884
  Y.font = `${I.fontSize}px sans-serif`;
1871
- const B = Y.measureText(I.text).width, se = I.fontSize, Oe = (I.position === "start" ? e + I.padding.left : u - I.padding.right) + I.offsetX, Ge = (V != null && de != null ? Math.min(V, de) : V ?? de) - I.fontSize / 3 + I.offsetY - I.padding.top;
1885
+ const B = Y.measureText(I.text).width, se = I.fontSize, Oe = (I.position === "start" ? e + I.padding.left : i - I.padding.right) + I.offsetX, Ge = (V != null && he != null ? Math.min(V, he) : V ?? he) - I.fontSize / 3 + I.offsetY - I.padding.top;
1872
1886
  let J;
1873
1887
  I.textAnchor === "middle" ? J = Oe - B / 2 - I.padding.left : I.textAnchor === "end" ? J = Oe - B - I.padding.right : J = Oe - I.padding.left;
1874
1888
  const Q = Ge - se * 0.75 - I.padding.top;
1875
1889
  return {
1876
- show: ![V, de, Q].includes(NaN),
1890
+ show: ![V, he, Q].includes(NaN),
1877
1891
  id: `annotation_y_${xa()}`,
1878
1892
  hasArea: U,
1879
- areaHeight: U ? Math.abs(V - de) : 0,
1893
+ areaHeight: U ? Math.abs(V - he) : 0,
1880
1894
  yTop: V,
1881
- yBottom: de,
1895
+ yBottom: he,
1882
1896
  config: T.yAxis,
1883
1897
  x1: e,
1884
- x2: u,
1898
+ x2: i,
1885
1899
  _text: { x: Oe, y: Ge },
1886
1900
  _box: {
1887
1901
  x: J,
@@ -1898,14 +1912,14 @@ const _n = {
1898
1912
  });
1899
1913
  });
1900
1914
  function Ja(l, s) {
1901
- const e = l[s - 1], u = l[s + 1];
1902
- let a = !!e && !!u && e.value == null && u.value == null || !e && !!u && u.value == null || !!e && !u && e.value == null;
1915
+ const e = l[s - 1], i = l[s + 1];
1916
+ let a = !!e && !!i && e.value == null && i.value == null || !e && !!i && i.value == null || !!e && !i && e.value == null;
1903
1917
  return Ye(l[s].value) && a && t.value.line.cutNullValues;
1904
1918
  }
1905
- const Tt = x(() => {
1906
- const l = cl.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), s = l.length, e = t.value.chart.grid.labels.yAxis.gap, u = p.value.isStacked, a = u ? e * (s - 1) : 0, r = c.value.height - a;
1919
+ const It = x(() => {
1920
+ const l = cl.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), s = l.length, e = t.value.chart.grid.labels.yAxis.gap, i = p.value.isStacked, a = i ? e * (s - 1) : 0, r = c.value.height - a;
1907
1921
  return l.filter((o) => o.type === "bar").map((o, F) => {
1908
- Bt(o);
1922
+ Et(o);
1909
1923
  const R = P.value[o.scaleLabel].min, O = P.value[o.scaleLabel].max;
1910
1924
  o.absoluteValues.filter((K) => ![null, void 0].includes(K)).map((K) => (K - R) / (O - R));
1911
1925
  const T = {
@@ -1914,24 +1928,24 @@ const _n = {
1914
1928
  }, N = {
1915
1929
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
1916
1930
  min: o.scaleMin || Math.min(...o.absoluteValues.filter((K) => ![void 0, null].includes(K))) > 0 ? 0 : Math.min(...o.absoluteValues.filter((K) => ![null, void 0].includes(K)))
1917
- }, ee = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, I = 1.0000001, U = t.value.chart.grid.labels.yAxis.useNiceScale ? Kl(N.min, N.max === N.min ? N.max * I : N.max, ee) : hl(N.min, N.max === N.min ? N.max * I : N.max, ee), V = t.value.chart.grid.labels.yAxis.useNiceScale ? Kl(T.valueMin, T.valueMax === T.valueMin ? T.valueMax * I : T.valueMax, ee) : hl(T.valueMin, T.valueMax === T.valueMin ? T.valueMax * I : T.valueMax, ee), de = U.min >= 0 ? 0 : Math.abs(U.min), Y = 0, B = U.max + de, se = V.max + Math.abs(Y), Oe = o.stackIndex, _l = s - 1 - Oe, Ge = u ? 1 - o.cumulatedStackRatio : 0, J = u ? r * Ge + e * _l : 0, Q = u ? r * o.stackRatio : c.value.height, be = c.value.bottom - J - Q * de / B, Ue = c.value.bottom - J - Q * Y / se, Ne = et.value.filter((K) => K.type === "bar").filter((K) => !ce.value.includes(K.id)).length, ql = o.series.map((K, pe) => {
1918
- const Ht = p.value.useIndividualScale ? (o.absoluteValues[pe] + de) / B : sl(K), vl = p.value.useIndividualScale && p.value.isStacked ? c.value.left + c.value.width / S.value * pe : c.value.left + ve.value.bar * F + ve.value.bar * pe * Ne - Ro.value / 2 - F * sa.value;
1931
+ }, ee = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, I = 1.0000001, U = t.value.chart.grid.labels.yAxis.useNiceScale ? Kl(N.min, N.max === N.min ? N.max * I : N.max, ee) : hl(N.min, N.max === N.min ? N.max * I : N.max, ee), V = t.value.chart.grid.labels.yAxis.useNiceScale ? Kl(T.valueMin, T.valueMax === T.valueMin ? T.valueMax * I : T.valueMax, ee) : hl(T.valueMin, T.valueMax === T.valueMin ? T.valueMax * I : T.valueMax, ee), he = U.min >= 0 ? 0 : Math.abs(U.min), Y = 0, B = U.max + he, se = V.max + Math.abs(Y), Oe = o.stackIndex, _l = s - 1 - Oe, Ge = i ? 1 - o.cumulatedStackRatio : 0, J = i ? r * Ge + e * _l : 0, Q = i ? r * o.stackRatio : c.value.height, be = c.value.bottom - J - Q * he / B, Ue = c.value.bottom - J - Q * Y / se, Ne = et.value.filter((K) => K.type === "bar").filter((K) => !ve.value.includes(K.id)).length, ql = o.series.map((K, pe) => {
1932
+ const Dt = p.value.useIndividualScale ? (o.absoluteValues[pe] + he) / B : sl(K), vl = p.value.useIndividualScale && p.value.isStacked ? c.value.left + c.value.width / S.value * pe : c.value.left + de.value.bar * F + de.value.bar * pe * Ne - Ro.value / 2 - F * sa.value;
1919
1933
  return {
1920
1934
  yOffset: q(J),
1921
1935
  individualHeight: q(Q),
1922
1936
  x: q(vl),
1923
- y: c.value.bottom - J - Q * Ht,
1937
+ y: c.value.bottom - J - Q * Dt,
1924
1938
  value: o.absoluteValues[pe],
1925
1939
  zeroPosition: q(be),
1926
1940
  individualMax: q(B),
1927
1941
  comment: o.comments && o.comments.slice(w.value.start, w.value.end)[pe] || ""
1928
1942
  };
1929
- }), Ve = o.absoluteValues.map((K) => V.min >= 0 ? (K - Math.abs(V.min)) / (V.max - Math.abs(V.min)) : (K + Math.abs(V.min)) / (V.max + Math.abs(V.min))), Et = o.series.map((K, pe) => {
1930
- const Ht = p.value.useIndividualScale && p.value.isStacked ? c.value.left + c.value.width / S.value * pe : c.value.left - ve.value.bar / 2 + ve.value.bar * F + ve.value.bar * pe * et.value.filter((vl) => vl.type === "bar").filter((vl) => !ce.value.includes(vl.id)).length;
1943
+ }), Ve = o.absoluteValues.map((K) => V.min >= 0 ? (K - Math.abs(V.min)) / (V.max - Math.abs(V.min)) : (K + Math.abs(V.min)) / (V.max + Math.abs(V.min))), Ht = o.series.map((K, pe) => {
1944
+ const Dt = p.value.useIndividualScale && p.value.isStacked ? c.value.left + c.value.width / S.value * pe : c.value.left - de.value.bar / 2 + de.value.bar * F + de.value.bar * pe * et.value.filter((vl) => vl.type === "bar").filter((vl) => !ve.value.includes(vl.id)).length;
1931
1945
  return {
1932
1946
  yOffset: q(J),
1933
1947
  individualHeight: q(Q),
1934
- x: q(Ht),
1948
+ x: q(Dt),
1935
1949
  y: q(c.value.bottom - q(J) - (q(Q) * Ve[pe] || 0)),
1936
1950
  value: o.absoluteValues[pe],
1937
1951
  zeroPosition: q(be),
@@ -1963,14 +1977,14 @@ const _n = {
1963
1977
  individualScale: o.autoScaling ? V : U,
1964
1978
  individualMax: o.autoScaling ? se : B,
1965
1979
  zeroPosition: o.autoScaling ? Ue : be,
1966
- plots: o.autoScaling ? Et : ql,
1980
+ plots: o.autoScaling ? Ht : ql,
1967
1981
  groupId: P.value[o.scaleLabel].groupId
1968
1982
  };
1969
1983
  });
1970
1984
  }), Re = x(() => {
1971
- const l = cl.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), s = l.length, e = t.value.chart.grid.labels.yAxis.gap, u = p.value.isStacked, a = u ? e * (s - 1) : 0, r = c.value.height - a;
1985
+ const l = cl.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), s = l.length, e = t.value.chart.grid.labels.yAxis.gap, i = p.value.isStacked, a = i ? e * (s - 1) : 0, r = c.value.height - a;
1972
1986
  return l.filter((o) => o.type === "line").map((o, F) => {
1973
- Bt(o);
1987
+ Et(o);
1974
1988
  const R = P.value[o.scaleLabel].min, O = P.value[o.scaleLabel].max;
1975
1989
  o.absoluteValues.filter((G) => ![null, void 0].includes(G)).map((G) => (G - R) / (O - R));
1976
1990
  const T = {
@@ -1979,31 +1993,31 @@ const _n = {
1979
1993
  }, N = {
1980
1994
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
1981
1995
  min: o.scaleMin || (Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues))
1982
- }, ee = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, I = 1.0000001, U = t.value.chart.grid.labels.yAxis.useNiceScale ? Kl(N.min, N.max === N.min ? N.max * I : N.max, ee) : hl(N.min, N.max === N.min ? N.max * I : N.max, ee), V = t.value.chart.grid.labels.yAxis.useNiceScale ? Kl(T.valueMin, T.valueMax === T.valueMin ? T.valueMax * I : T.valueMax, ee) : hl(T.valueMin, T.valueMax === T.valueMin ? T.valueMax * I : T.valueMax, ee), de = U.min >= 0 ? 0 : Math.abs(U.min), Y = 0, B = U.max + Math.abs(de), se = V.max + Math.abs(Y), Oe = o.stackIndex, _l = s - 1 - Oe, Ge = u ? 1 - o.cumulatedStackRatio : 0, J = u ? r * Ge + e * _l : 0, Q = u ? r * o.stackRatio : c.value.height, be = c.value.bottom - J - Q * de / B, Ue = c.value.bottom - J - Q * Y / se, Ne = o.series.map((G, Ae) => {
1983
- const Xo = p.value.useIndividualScale ? (o.absoluteValues[Ae] + Math.abs(de)) / B : sl(G);
1996
+ }, ee = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, I = 1.0000001, U = t.value.chart.grid.labels.yAxis.useNiceScale ? Kl(N.min, N.max === N.min ? N.max * I : N.max, ee) : hl(N.min, N.max === N.min ? N.max * I : N.max, ee), V = t.value.chart.grid.labels.yAxis.useNiceScale ? Kl(T.valueMin, T.valueMax === T.valueMin ? T.valueMax * I : T.valueMax, ee) : hl(T.valueMin, T.valueMax === T.valueMin ? T.valueMax * I : T.valueMax, ee), he = U.min >= 0 ? 0 : Math.abs(U.min), Y = 0, B = U.max + Math.abs(he), se = V.max + Math.abs(Y), Oe = o.stackIndex, _l = s - 1 - Oe, Ge = i ? 1 - o.cumulatedStackRatio : 0, J = i ? r * Ge + e * _l : 0, Q = i ? r * o.stackRatio : c.value.height, be = c.value.bottom - J - Q * he / B, Ue = c.value.bottom - J - Q * Y / se, Ne = o.series.map((G, Ae) => {
1997
+ const Xo = p.value.useIndividualScale ? (o.absoluteValues[Ae] + Math.abs(he)) / B : sl(G);
1984
1998
  return {
1985
- x: q(c.value.left + ve.value.line / 2 + ve.value.line * Ae),
1999
+ x: q(c.value.left + de.value.line / 2 + de.value.line * Ae),
1986
2000
  y: q(c.value.bottom - J - Q * Xo),
1987
2001
  value: o.absoluteValues[Ae],
1988
2002
  comment: o.comments && o.comments.slice(w.value.start, w.value.end)[Ae] || ""
1989
2003
  };
1990
2004
  }), ql = o.absoluteValues.map((G) => V.min >= 0 ? (G - Math.abs(V.min)) / (V.max - Math.abs(V.min)) : (G + Math.abs(V.min)) / (V.max + Math.abs(V.min))), Ve = o.series.map((G, Ae) => [void 0, null].includes(o.absoluteValues[Ae]) ? {
1991
- x: q(c.value.left + ve.value.line / 2 + ve.value.line * Ae),
2005
+ x: q(c.value.left + de.value.line / 2 + de.value.line * Ae),
1992
2006
  y: be,
1993
2007
  value: o.absoluteValues[Ae],
1994
2008
  comment: o.comments && o.comments.slice(w.value.start, w.value.end)[Ae] || ""
1995
2009
  } : {
1996
- x: q(c.value.left + ve.value.line / 2 + ve.value.line * Ae),
2010
+ x: q(c.value.left + de.value.line / 2 + de.value.line * Ae),
1997
2011
  y: q(c.value.bottom - J - (Q * ql[Ae] || 0)),
1998
2012
  value: o.absoluteValues[Ae],
1999
2013
  comment: o.comments && o.comments.slice(w.value.start, w.value.end)[Ae] || ""
2000
- }), Et = t.value.line.cutNullValues ? ya(Ne) : pa(Ne.filter((G) => G.value !== null)), oe = t.value.line.cutNullValues ? ya(Ve) : pa(Ve.filter((G) => G.value !== null)), ye = t.value.line.cutNullValues ? ka(Ne) : wa(Ne.filter((G) => G.value !== null)), K = t.value.line.cutNullValues ? ka(Ve) : wa(Ve.filter((G) => G.value !== null)), pe = U.ticks.map((G) => ({
2014
+ }), Ht = t.value.line.cutNullValues ? ya(Ne) : pa(Ne.filter((G) => G.value !== null)), oe = t.value.line.cutNullValues ? ya(Ve) : pa(Ve.filter((G) => G.value !== null)), ye = t.value.line.cutNullValues ? ka(Ne) : wa(Ne.filter((G) => G.value !== null)), K = t.value.line.cutNullValues ? ka(Ve) : wa(Ve.filter((G) => G.value !== null)), pe = U.ticks.map((G) => ({
2001
2015
  y: G >= 0 ? be - Q * (G / B) : be + Q * Math.abs(G) / B,
2002
2016
  value: G,
2003
2017
  prefix: o.prefix || t.value.chart.labels.prefix,
2004
2018
  suffix: o.suffix || t.value.chart.labels.suffix,
2005
2019
  datapoint: o
2006
- })), Ht = V.ticks.map((G) => {
2020
+ })), Dt = V.ticks.map((G) => {
2007
2021
  const Ae = (G - V.min) / (V.max - V.min);
2008
2022
  return {
2009
2023
  y: G >= 0 ? Ue - Q * Ae : Ue + Q * Ae,
@@ -2013,18 +2027,18 @@ const _n = {
2013
2027
  datapoint: o
2014
2028
  };
2015
2029
  });
2016
- P.value[o.scaleLabel].name = o.name, P.value[o.scaleLabel].groupName = o.scaleLabel, P.value[o.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || o.color, P.value[o.scaleLabel].color = o.color, P.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Ht : pe, P.value[o.scaleLabel].zeroPosition = o.autoScaling ? Ue : be, P.value[o.scaleLabel].individualMax = o.autoScaling ? se : B, P.value[o.scaleLabel].scaleLabel = o.scaleLabel, P.value[o.scaleLabel].id = o.id, P.value[o.scaleLabel].yOffset = J, P.value[o.scaleLabel].individualHeight = Q, P.value[o.scaleLabel].autoScaleYLabels = Ht, P.value[o.scaleLabel].unique = cl.value.filter((G) => G.scaleLabel === o.scaleLabel).length === 1;
2030
+ P.value[o.scaleLabel].name = o.name, P.value[o.scaleLabel].groupName = o.scaleLabel, P.value[o.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || o.color, P.value[o.scaleLabel].color = o.color, P.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Dt : pe, P.value[o.scaleLabel].zeroPosition = o.autoScaling ? Ue : be, P.value[o.scaleLabel].individualMax = o.autoScaling ? se : B, P.value[o.scaleLabel].scaleLabel = o.scaleLabel, P.value[o.scaleLabel].id = o.id, P.value[o.scaleLabel].yOffset = J, P.value[o.scaleLabel].individualHeight = Q, P.value[o.scaleLabel].autoScaleYLabels = Dt, P.value[o.scaleLabel].unique = cl.value.filter((G) => G.scaleLabel === o.scaleLabel).length === 1;
2017
2031
  const vl = p.value.useIndividualScale ? o.autoScaling ? Ue : be : Ie.value, Zl = Math.max(Math.max(o.autoScaling ? Ue : pe.at(-1) ? pe.at(-1).y : 0, c.value.top), vl);
2018
2032
  return {
2019
2033
  ...o,
2020
2034
  yOffset: J,
2021
- autoScaleYLabels: Ht,
2035
+ autoScaleYLabels: Dt,
2022
2036
  individualHeight: Q,
2023
- scaleYLabels: o.autoScaling ? Ht : pe,
2037
+ scaleYLabels: o.autoScaling ? Dt : pe,
2024
2038
  individualScale: o.autoScaling ? V : U,
2025
2039
  individualMax: o.autoScaling ? se : B,
2026
2040
  zeroPosition: o.autoScaling ? Ue : be,
2027
- curve: o.autoScaling ? oe : Et,
2041
+ curve: o.autoScaling ? oe : Ht,
2028
2042
  plots: o.autoScaling ? Ve : Ne,
2029
2043
  area: o.useArea ? p.value.useIndividualScale ? t.value.line.cutNullValues ? wo(
2030
2044
  o.autoScaling ? Ve : Ne,
@@ -2043,9 +2057,9 @@ const _n = {
2043
2057
  };
2044
2058
  });
2045
2059
  }), rt = x(() => {
2046
- const l = cl.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), s = l.length, e = t.value.chart.grid.labels.yAxis.gap, u = p.value.isStacked, a = u ? e * (s - 1) : 0, r = c.value.height - a;
2060
+ const l = cl.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), s = l.length, e = t.value.chart.grid.labels.yAxis.gap, i = p.value.isStacked, a = i ? e * (s - 1) : 0, r = c.value.height - a;
2047
2061
  return l.filter((o) => o.type === "plot").map((o) => {
2048
- Bt(o);
2062
+ Et(o);
2049
2063
  const F = P.value[o.scaleLabel].min, R = P.value[o.scaleLabel].max;
2050
2064
  o.absoluteValues.filter((oe) => ![null, void 0].includes(oe)).map((oe) => (oe - F) / (R - F));
2051
2065
  const O = {
@@ -2054,16 +2068,16 @@ const _n = {
2054
2068
  }, T = {
2055
2069
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
2056
2070
  min: o.scaleMin || Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues)
2057
- }, N = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, ee = 1.0000001, I = hl(T.min, T.max === T.min ? T.max * ee : T.max, N), U = hl(O.valueMin, O.valueMax === O.valueMin ? O.valueMax * ee : O.valueMax, N), V = I.min >= 0 ? 0 : Math.abs(I.min), de = 0, Y = I.max + V, B = U.max + Math.abs(de), se = o.stackIndex, Oe = s - 1 - se, _l = u ? 1 - o.cumulatedStackRatio : 0, Ge = u ? r * _l + e * Oe : 0, J = u ? r * o.stackRatio : c.value.height, Q = c.value.bottom - Ge - J * V / Y, be = c.value.bottom - Ge - J * de / B, Ue = o.series.map((oe, ye) => {
2071
+ }, N = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, ee = 1.0000001, I = hl(T.min, T.max === T.min ? T.max * ee : T.max, N), U = hl(O.valueMin, O.valueMax === O.valueMin ? O.valueMax * ee : O.valueMax, N), V = I.min >= 0 ? 0 : Math.abs(I.min), he = 0, Y = I.max + V, B = U.max + Math.abs(he), se = o.stackIndex, Oe = s - 1 - se, _l = i ? 1 - o.cumulatedStackRatio : 0, Ge = i ? r * _l + e * Oe : 0, J = i ? r * o.stackRatio : c.value.height, Q = c.value.bottom - Ge - J * V / Y, be = c.value.bottom - Ge - J * he / B, Ue = o.series.map((oe, ye) => {
2058
2072
  const K = p.value.useIndividualScale ? (o.absoluteValues[ye] + Math.abs(V)) / Y : sl(oe);
2059
2073
  return {
2060
- x: q(c.value.left + ve.value.plot / 2 + ve.value.plot * ye),
2074
+ x: q(c.value.left + de.value.plot / 2 + de.value.plot * ye),
2061
2075
  y: q(c.value.bottom - Ge - J * K),
2062
2076
  value: o.absoluteValues[ye],
2063
2077
  comment: o.comments && o.comments.slice(w.value.start, w.value.end)[ye] || ""
2064
2078
  };
2065
2079
  }), Ne = o.absoluteValues.map((oe) => U.min >= 0 ? (oe - Math.abs(U.min)) / (U.max - Math.abs(U.min)) : (oe + Math.abs(U.min)) / (U.max + Math.abs(U.min))), ql = o.series.map((oe, ye) => ({
2066
- x: q(c.value.left + ve.value.plot / 2 + ve.value.plot * ye),
2080
+ x: q(c.value.left + de.value.plot / 2 + de.value.plot * ye),
2067
2081
  y: q(c.value.bottom - Ge - (J * Ne[ye] || 0)),
2068
2082
  value: o.absoluteValues[ye],
2069
2083
  comment: o.comments && o.comments.slice(w.value.start, w.value.end)[ye] || ""
@@ -2073,7 +2087,7 @@ const _n = {
2073
2087
  prefix: o.prefix || t.value.chart.labels.prefix,
2074
2088
  suffix: o.suffix || t.value.chart.labels.suffix,
2075
2089
  datapoint: o
2076
- })), Et = U.ticks.map((oe) => {
2090
+ })), Ht = U.ticks.map((oe) => {
2077
2091
  const ye = (oe - U.min) / (U.max - U.min);
2078
2092
  return {
2079
2093
  y: oe >= 0 ? be - J * ye : be + J * ye,
@@ -2083,12 +2097,12 @@ const _n = {
2083
2097
  datapoint: o
2084
2098
  };
2085
2099
  });
2086
- return P.value[o.scaleLabel].name = o.name, P.value[o.scaleLabel].groupName = o.scaleLabel, P.value[o.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || o.color, P.value[o.scaleLabel].color = o.color, P.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Et : Ve, P.value[o.scaleLabel].zeroPosition = o.autoScaling ? be : Q, P.value[o.scaleLabel].individualMax = o.autoScaling ? B : Y, P.value[o.scaleLabel].scaleLabel = o.scaleLabel, P.value[o.scaleLabel].id = o.id, P.value[o.scaleLabel].yOffset = Ge, P.value[o.scaleLabel].individualHeight = J, P.value[o.scaleLabel].autoScaleYLabels = Et, P.value[o.scaleLabel].unique = cl.value.filter((oe) => oe.scaleLabel === o.scaleLabel).length === 1, {
2100
+ return P.value[o.scaleLabel].name = o.name, P.value[o.scaleLabel].groupName = o.scaleLabel, P.value[o.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || o.color, P.value[o.scaleLabel].color = o.color, P.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Ht : Ve, P.value[o.scaleLabel].zeroPosition = o.autoScaling ? be : Q, P.value[o.scaleLabel].individualMax = o.autoScaling ? B : Y, P.value[o.scaleLabel].scaleLabel = o.scaleLabel, P.value[o.scaleLabel].id = o.id, P.value[o.scaleLabel].yOffset = Ge, P.value[o.scaleLabel].individualHeight = J, P.value[o.scaleLabel].autoScaleYLabels = Ht, P.value[o.scaleLabel].unique = cl.value.filter((oe) => oe.scaleLabel === o.scaleLabel).length === 1, {
2087
2101
  ...o,
2088
2102
  yOffset: Ge,
2089
- autoScaleYLabels: Et,
2103
+ autoScaleYLabels: Ht,
2090
2104
  individualHeight: J,
2091
- scaleYLabels: o.autoScaling ? Et : Ve,
2105
+ scaleYLabels: o.autoScaling ? Ht : Ve,
2092
2106
  individualScale: o.autoScaling ? U : I,
2093
2107
  individualMax: o.autoScaling ? B : Y,
2094
2108
  zeroPosition: o.autoScaling ? be : Q,
@@ -2109,7 +2123,7 @@ const _n = {
2109
2123
  yOffset: r.yOffset || 0,
2110
2124
  individualHeight: r.individualHeight || c.value.height,
2111
2125
  autoScaleYLabels: r.autoScaleYLabels
2112
- })), s = Tt.value.map((r) => ({
2126
+ })), s = It.value.map((r) => ({
2113
2127
  name: r.name,
2114
2128
  color: r.color,
2115
2129
  scale: r.individualScale,
@@ -2132,8 +2146,8 @@ const _n = {
2132
2146
  id: r.id,
2133
2147
  yOffset: r.yOffset || 0,
2134
2148
  individualHeight: r.individualHeight || c.value.height
2135
- })), u = p.value.useIndividualScale && !p.value.isStacked ? Object.values(P.value) : [...l, ...s, ...e], a = u.flatMap((r) => r).length;
2136
- return u.flatMap((r, o) => {
2149
+ })), i = p.value.useIndividualScale && !p.value.isStacked ? Object.values(P.value) : [...l, ...s, ...e], a = i.flatMap((r) => r).length;
2150
+ return i.flatMap((r, o) => {
2137
2151
  let F = 0;
2138
2152
  F = p.value.isStacked ? c.value.left : c.value.left / a * (o + 1);
2139
2153
  const R = p.value.useIndividualScale && !p.value.isStacked ? r.unique ? r.name : r.groupName : r.name;
@@ -2162,7 +2176,7 @@ const _n = {
2162
2176
  }), Qa = x(() => {
2163
2177
  const l = t.value.line.interLine || {}, s = l.pairs || [], e = l.colors || [];
2164
2178
  if (!s.length) return [];
2165
- const u = [];
2179
+ const i = [];
2166
2180
  return s.forEach((a, r) => {
2167
2181
  const [o, F] = Array.isArray(a) ? a : [a.a, a.b];
2168
2182
  if (!o || !F) return;
@@ -2179,14 +2193,14 @@ const _n = {
2179
2193
  sampleStepPx: 2,
2180
2194
  cutNullValues: t.value.line.cutNullValues
2181
2195
  }).forEach((I, U) => {
2182
- u.push({ ...I, key: `inter_${o}_${F}_${r}_${U}` });
2196
+ i.push({ ...I, key: `inter_${o}_${F}_${r}_${U}` });
2183
2197
  });
2184
- }), u;
2198
+ }), i;
2185
2199
  }), ja = x(() => ({
2186
- datapoint: zt.value,
2187
- seriesIndex: _.value,
2200
+ datapoint: Tt.value,
2201
+ seriesIndex: M.value,
2188
2202
  series: et.value,
2189
- bars: Tt.value,
2203
+ bars: It.value,
2190
2204
  lines: Re.value,
2191
2205
  plots: rt.value,
2192
2206
  config: t.value
@@ -2196,9 +2210,9 @@ const _n = {
2196
2210
  locale: yn[l.locale] || { months: [], shortMonths: [], days: [], shortDays: [] },
2197
2211
  januaryAsYear: l.januaryAsYear
2198
2212
  });
2199
- return (e, u) => {
2213
+ return (e, i) => {
2200
2214
  const r = t.value.chart.grid.labels.xAxisLabels.values?.[e];
2201
- return r == null ? "" : s.formatDate(new Date(r), u);
2215
+ return r == null ? "" : s.formatDate(new Date(r), i);
2202
2216
  };
2203
2217
  }), Aa = x(() => (t.value.chart.grid.labels.xAxisLabels.values || []).map((s, e) => ({
2204
2218
  text: $l.value(e, t.value.chart.zoom.timeFormat),
@@ -2212,57 +2226,57 @@ const _n = {
2212
2226
  const e = t.value.chart.zoom.customFormat;
2213
2227
  if (ba(e))
2214
2228
  try {
2215
- const u = e({
2229
+ const i = e({
2216
2230
  absoluteIndex: w.value.start,
2217
2231
  seriesIndex: w.value.start,
2218
- datapoint: zt.value
2232
+ datapoint: Tt.value
2219
2233
  }), a = e({
2220
2234
  absoluteIndex: w.value.end - 1,
2221
2235
  seriesIndex: w.value.end - 1,
2222
- datapoint: zt.value
2236
+ datapoint: Tt.value
2223
2237
  });
2224
- typeof u == "string" && typeof a == "string" && (l = u, s = a, va.value = !0);
2238
+ typeof i == "string" && typeof a == "string" && (l = i, s = a, va.value = !0);
2225
2239
  } catch {
2226
2240
  console.warn("Custom format cannot be applied on zoom labels."), va.value = !1;
2227
2241
  }
2228
2242
  if (!va.value) {
2229
2243
  l = t.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !t.value.chart.zoom.useDefaultFormat ? Aa.value[w.value.start]?.text || "" : v.value[0]?.text || "";
2230
- const u = Math.max(w.value.start, w.value.end - 1);
2231
- s = t.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !t.value.chart.zoom.useDefaultFormat ? Aa.value[u]?.text || "" : v.value.at(-1)?.text || "";
2244
+ const i = Math.max(w.value.start, w.value.end - 1);
2245
+ s = t.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !t.value.chart.zoom.useDefaultFormat ? Aa.value[i]?.text || "" : v.value.at(-1)?.text || "";
2232
2246
  }
2233
2247
  return { left: l, right: s };
2234
2248
  });
2235
2249
  const Bo = x(() => {
2236
- let l = "", s = zt.value.map((a) => a.value).filter((a) => fa(a) && a !== null).reduce((a, r) => Math.abs(a) + Math.abs(r), 0);
2237
- const e = v.value[_.value], u = t.value.chart.tooltip.customFormat;
2238
- if (ba(u) && nn(() => u({
2239
- absoluteIndex: _.value + w.value.start,
2240
- seriesIndex: _.value,
2241
- datapoint: zt.value,
2250
+ let l = "", s = Tt.value.map((a) => a.value).filter((a) => fa(a) && a !== null).reduce((a, r) => Math.abs(a) + Math.abs(r), 0);
2251
+ const e = v.value[M.value], i = t.value.chart.tooltip.customFormat;
2252
+ if (ba(i) && nn(() => i({
2253
+ absoluteIndex: M.value + w.value.start,
2254
+ seriesIndex: M.value,
2255
+ datapoint: Tt.value,
2242
2256
  series: et.value,
2243
- bars: Tt.value,
2257
+ bars: It.value,
2244
2258
  lines: Re.value,
2245
2259
  plots: rt.value,
2246
2260
  config: t.value
2247
2261
  })))
2248
- return u({
2249
- absoluteIndex: _.value + w.value.start,
2250
- seriesIndex: _.value,
2251
- datapoint: zt.value,
2262
+ return i({
2263
+ absoluteIndex: M.value + w.value.start,
2264
+ seriesIndex: M.value,
2265
+ datapoint: Tt.value,
2252
2266
  series: et.value,
2253
- bars: Tt.value,
2267
+ bars: It.value,
2254
2268
  lines: Re.value,
2255
2269
  plots: rt.value,
2256
2270
  config: t.value
2257
2271
  });
2258
2272
  if (e && e.text && t.value.chart.tooltip.showTimeLabel) {
2259
- const a = $l.value(_.value + w.value.start, t.value.chart.tooltip.timeFormat);
2273
+ const a = $l.value(M.value + w.value.start, t.value.chart.tooltip.timeFormat);
2260
2274
  l += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${t.value.chart.tooltip.borderColor}; width:100%">${t.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !t.value.chart.tooltip.useDefaultTimeFormat ? a : e.text}</div>`;
2261
2275
  }
2262
- return zt.value.forEach((a) => {
2276
+ return Tt.value.forEach((a) => {
2263
2277
  if (fa(a.value)) {
2264
2278
  let r = "", o = "";
2265
- switch (Jt.value[a.type]) {
2279
+ switch (Qt.value[a.type]) {
2266
2280
  case "bar":
2267
2281
  r = `<svg viewBox="0 0 40 40" height="14" width="14">${xl.pattern ? `<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${a.color}" />` : ""}<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${xl.pattern ? `url(#pattern_${Z.value}_${a.slotAbsoluteIndex}` : a.color}" /></svg>`;
2268
2282
  break;
@@ -2313,7 +2327,7 @@ const _n = {
2313
2327
  v: q(Math.abs(a.value) / s * 100),
2314
2328
  s: "%",
2315
2329
  r: t.value.chart.tooltip.roundingPercentage
2316
- })})` : ""}</div>`, t.value.chart.comments.showInTooltip && a.comments.length && a.comments.slice(w.value.start, w.value.end)[_.value] && (l += `<div class="vue-data-ui-tooltip-comment" style="background:${a.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${a.color}">${a.comments.slice(w.value.start, w.value.end)[_.value]}</div>`);
2330
+ })})` : ""}</div>`, t.value.chart.comments.showInTooltip && a.comments.length && a.comments.slice(w.value.start, w.value.end)[M.value] && (l += `<div class="vue-data-ui-tooltip-comment" style="background:${a.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${a.color}">${a.comments.slice(w.value.start, w.value.end)[M.value]}</div>`);
2317
2331
  }
2318
2332
  }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${t.value.chart.tooltip.color}">${l}</div>`;
2319
2333
  }), eo = x(() => {
@@ -2323,10 +2337,10 @@ const _n = {
2323
2337
  color: e.color,
2324
2338
  type: e.type
2325
2339
  })), s = [];
2326
- return v.value.forEach((e, u) => {
2327
- const a = t.value.table.useDefaultTimeFormat ? [e.text] : [$l.value(u + w.value.start, t.value.table.timeFormat)];
2340
+ return v.value.forEach((e, i) => {
2341
+ const a = t.value.table.useDefaultTimeFormat ? [e.text] : [$l.value(i + w.value.start, t.value.table.timeFormat)];
2328
2342
  Fe.value.forEach((r) => {
2329
- a.push(Ye(r.absoluteValues[u]) ? Number(r.absoluteValues[u].toFixed(t.value.table.rounding)) : "");
2343
+ a.push(Ye(r.absoluteValues[i]) ? Number(r.absoluteValues[i].toFixed(t.value.table.rounding)) : "");
2330
2344
  }), s.push(a);
2331
2345
  }), { head: l, body: s };
2332
2346
  }), da = x(() => {
@@ -2353,7 +2367,7 @@ const _n = {
2353
2367
  )).concat(l ? (o ?? 0).toFixed(t.value.table.rounding) : [])
2354
2368
  );
2355
2369
  }
2356
- const u = {
2370
+ const i = {
2357
2371
  th: {
2358
2372
  backgroundColor: t.value.table.th.backgroundColor,
2359
2373
  color: t.value.table.th.color,
@@ -2366,21 +2380,21 @@ const _n = {
2366
2380
  },
2367
2381
  breakpoint: t.value.table.responsiveBreakpoint
2368
2382
  }, a = [t.value.table.columnNames.period].concat(Fe.value.map((r) => r.name)).concat(t.value.table.columnNames.total);
2369
- return { head: s, body: e, config: u, colNames: a };
2383
+ return { head: s, body: e, config: i, colNames: a };
2370
2384
  });
2371
2385
  function za(l = null) {
2372
- const s = [[t.value.chart.title.text], [t.value.chart.title.subtitle.text], [""]], e = ["", ...eo.value.head.map((o) => o.label)], u = eo.value.body, a = s.concat([e]).concat(u), r = vn(a);
2386
+ const s = [[t.value.chart.title.text], [t.value.chart.title.subtitle.text], [""]], e = ["", ...eo.value.head.map((o) => o.label)], i = eo.value.body, a = s.concat([e]).concat(i), r = vn(a);
2373
2387
  l ? l(r) : dn({ csvContent: r, title: t.value.chart.title.text || "vue-ui-xy" });
2374
2388
  }
2375
2389
  function to(l, s = null) {
2376
2390
  bl.value = l;
2377
- const e = Fe.value.map((u) => ({
2378
- name: u.name,
2379
- value: [null, void 0, NaN].includes(u.absoluteValues[s]) ? null : u.absoluteValues[s],
2380
- color: u.color,
2381
- type: u.type
2391
+ const e = Fe.value.map((i) => ({
2392
+ name: i.name,
2393
+ value: [null, void 0, NaN].includes(i.absoluteValues[s]) ? null : i.absoluteValues[s],
2394
+ color: i.color,
2395
+ type: i.type
2382
2396
  }));
2383
- l ? (_.value = s, t.value.events.datapointEnter && t.value.events.datapointEnter({ datapoint: e, seriesIndex: s + w.value.start })) : (_.value = null, t.value.events.datapointLeave && t.value.events.datapointLeave({ datapoint: e, seriesIndex: s + w.value.start }));
2397
+ l ? (M.value = s, t.value.events.datapointEnter && t.value.events.datapointEnter({ datapoint: e, seriesIndex: s + w.value.start })) : (M.value = null, t.value.events.datapointLeave && t.value.events.datapointLeave({ datapoint: e, seriesIndex: s + w.value.start }));
2384
2398
  }
2385
2399
  function lo() {
2386
2400
  p.value.showTable = !p.value.showTable;
@@ -2394,30 +2408,30 @@ const _n = {
2394
2408
  function no(l) {
2395
2409
  Pe.value = l, Pl.value += 1;
2396
2410
  }
2397
- function io() {
2411
+ function uo() {
2398
2412
  if (!t.value.responsiveProportionalSizing) {
2399
- C.value.dataLabels = t.value.chart.grid.labels.fontSize, C.value.yAxis = t.value.chart.grid.labels.axis.fontSize, C.value.xAxis = t.value.chart.grid.labels.xAxisLabels.fontSize, C.value.plotLabels = t.value.chart.labels.fontSize, De.value.plot = t.value.plot.radius, De.value.line = t.value.line.radius;
2413
+ A.value.dataLabels = t.value.chart.grid.labels.fontSize, A.value.yAxis = t.value.chart.grid.labels.axis.fontSize, A.value.xAxis = t.value.chart.grid.labels.xAxisLabels.fontSize, A.value.plotLabels = t.value.chart.labels.fontSize, De.value.plot = t.value.plot.radius, De.value.line = t.value.line.radius;
2400
2414
  return;
2401
2415
  }
2402
- C.value.dataLabels = Ml({
2416
+ A.value.dataLabels = Ml({
2403
2417
  relator: W.value,
2404
2418
  adjuster: 400,
2405
2419
  source: t.value.chart.grid.labels.fontSize,
2406
2420
  threshold: 10,
2407
2421
  fallback: 10
2408
- }), C.value.yAxis = Ml({
2422
+ }), A.value.yAxis = Ml({
2409
2423
  relator: le.value,
2410
2424
  adjuster: 1e3,
2411
2425
  source: t.value.chart.grid.labels.axis.fontSize,
2412
2426
  threshold: 10,
2413
2427
  fallback: 10
2414
- }), C.value.xAxis = Ml({
2428
+ }), A.value.xAxis = Ml({
2415
2429
  relator: le.value,
2416
2430
  adjuster: 1e3,
2417
2431
  source: t.value.chart.grid.labels.xAxisLabels.fontSize,
2418
2432
  threshold: 10,
2419
2433
  fallback: 10
2420
- }), C.value.plotLabels = Ml({
2434
+ }), A.value.plotLabels = Ml({
2421
2435
  relator: le.value,
2422
2436
  adjuster: 800,
2423
2437
  source: t.value.chart.labels.fontSize,
@@ -2441,19 +2455,19 @@ const _n = {
2441
2455
  _o(d.dataset) ? (Na({
2442
2456
  componentName: "VueUiXy",
2443
2457
  type: "dataset",
2444
- debug: Mt.value
2458
+ debug: Lt.value
2445
2459
  }), bt.value = !0) : d.dataset.forEach((s, e) => {
2446
2460
  [null, void 0].includes(s.name) && (Na({
2447
2461
  componentName: "VueUiXy",
2448
2462
  type: "datasetSerieAttribute",
2449
2463
  property: "name (string)",
2450
2464
  index: e,
2451
- debug: Mt.value
2465
+ debug: Lt.value
2452
2466
  }), bt.value = !0);
2453
- }), Mt.value && d.dataset.forEach((s) => {
2454
- s.series.forEach((e, u) => {
2467
+ }), Lt.value && d.dataset.forEach((s) => {
2468
+ s.series.forEach((e, i) => {
2455
2469
  fa(e) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
2456
- -----> The serie '${s.name}' contains the value '${e}' at index ${u}.
2470
+ -----> The serie '${s.name}' contains the value '${e}' at index ${i}.
2457
2471
  '${e}' was converted to null to allow the chart to display.`);
2458
2472
  });
2459
2473
  }), _o(d.dataset) || (bt.value = t.value.loading), ea.value = t.value.chart.userOptions.showOnChartHover, Ol.value = t.value.chart.userOptions.keepStateOnChartLeave, yl.value = !t.value.chart.userOptions.showOnChartHover, tl();
@@ -2461,37 +2475,37 @@ const _n = {
2461
2475
  if (t.value.responsive) {
2462
2476
  const e = Be.value.parentNode;
2463
2477
  mt.value && (mt.value.unobserve(ne.value), mt.value.disconnect());
2464
- const { height: u, width: a } = e.getBoundingClientRect();
2478
+ const { height: i, width: a } = e.getBoundingClientRect();
2465
2479
  let r = null, o = 0;
2466
2480
  t.value.chart.title.show && Te.value && (r = Te.value, o = r.getBoundingClientRect().height);
2467
2481
  let F = null, R = 0;
2468
- t.value.chart.zoom.show && Qe.value > 6 && el.value && Ke.value && Ke.value.$el && (F = Ke.value.$el, R = F.getBoundingClientRect().height);
2482
+ t.value.chart.zoom.show && Qe.value > 6 && Mt.value && Ke.value && Ke.value.$el && (F = Ke.value.$el, R = F.getBoundingClientRect().height);
2469
2483
  let O = null, T = 0;
2470
2484
  t.value.chart.legend.show && Ce.value && (O = Ce.value, T = O.getBoundingClientRect().height);
2471
2485
  let N = 0;
2472
2486
  ft.value && (N = ft.value.getBoundingClientRect().height);
2473
2487
  let ee = 0;
2474
- _t.value && (ee = _t.value.getBoundingClientRect().height), W.value = u - o - T - R - N - ee - l, le.value = a, at.value = `0 0 ${le.value < 0 ? 10 : le.value} ${W.value < 0 ? 10 : W.value}`, io();
2488
+ _t.value && (ee = _t.value.getBoundingClientRect().height), W.value = i - o - T - R - N - ee - l, le.value = a, at.value = `0 0 ${le.value < 0 ? 10 : le.value} ${W.value < 0 ? 10 : W.value}`, uo();
2475
2489
  const I = new ResizeObserver((U) => {
2476
2490
  for (const V of U)
2477
2491
  t.value.chart.title.show && Te.value ? o = Te.value.getBoundingClientRect().height : o = 0, Ke.value && Ke.value.$el ? R = Ke.value.$el.getBoundingClientRect().height : R = 0, Ce.value ? T = Ce.value.getBoundingClientRect().height : T = 0, ft.value ? N = ft.value.getBoundingClientRect().height : N = 0, _t.value ? ee = _t.value.getBoundingClientRect().height : ee = 0, requestAnimationFrame(() => {
2478
- W.value = V.contentRect.height - o - T - R - N - ee - l, le.value = V.contentBoxSize[0].inlineSize, at.value = `0 0 ${le.value < 0 ? 10 : le.value} ${W.value < 0 ? 10 : W.value}`, io();
2492
+ W.value = V.contentRect.height - o - T - R - N - ee - l, le.value = V.contentBoxSize[0].inlineSize, at.value = `0 0 ${le.value < 0 ? 10 : le.value} ${W.value < 0 ? 10 : W.value}`, uo();
2479
2493
  });
2480
2494
  });
2481
2495
  mt.value = I, ne.value = e, I.observe(e);
2482
2496
  } else
2483
- W.value = t.value.chart.height, le.value = t.value.chart.width, C.value.dataLabels = t.value.chart.grid.labels.fontSize, C.value.yAxis = t.value.chart.grid.labels.axis.fontSize, C.value.xAxis = t.value.chart.grid.labels.xAxisLabels.fontSize, C.value.plotLabels = t.value.chart.labels.fontSize, De.value.plot = t.value.plot.radius, De.value.line = t.value.line.radius, at.value = `0 0 ${le.value} ${W.value}`;
2497
+ W.value = t.value.chart.height, le.value = t.value.chart.width, A.value.dataLabels = t.value.chart.grid.labels.fontSize, A.value.yAxis = t.value.chart.grid.labels.axis.fontSize, A.value.xAxis = t.value.chart.grid.labels.xAxisLabels.fontSize, A.value.plotLabels = t.value.chart.labels.fontSize, De.value.plot = t.value.plot.radius, De.value.line = t.value.line.radius, at.value = `0 0 ${le.value} ${W.value}`;
2484
2498
  }
2485
- function uo(l) {
2499
+ function io(l) {
2486
2500
  jl.value = {
2487
2501
  x: l.clientX,
2488
2502
  y: l.clientY
2489
2503
  };
2490
2504
  }
2491
2505
  Ll(() => {
2492
- Ta(), ul(), document.addEventListener("mousemove", uo, { passive: !0 }), document.addEventListener("scroll", Wl, { passive: !0 });
2506
+ Ta(), il(), document.addEventListener("mousemove", io, { passive: !0 }), document.addEventListener("scroll", Wl, { passive: !0 });
2493
2507
  }), gl(() => {
2494
- document.removeEventListener("scroll", Wl, { passive: !0 }), document.removeEventListener("mousemove", uo, { passive: !0 }), mt.value && (mt.value.unobserve(ne.value), mt.value.disconnect(), mt.value = null);
2508
+ document.removeEventListener("scroll", Wl, { passive: !0 }), document.removeEventListener("mousemove", io, { passive: !0 }), mt.value && (mt.value.unobserve(ne.value), mt.value.disconnect(), mt.value = null);
2495
2509
  }), pn({
2496
2510
  timeLabelsEls: Se,
2497
2511
  timeLabels: v,
@@ -2505,14 +2519,14 @@ const _n = {
2505
2519
  rotation: t.value.chart.grid.labels.xAxisLabels.autoRotate.angle
2506
2520
  });
2507
2521
  const ha = y(!1), so = y(null), ro = y(200), Eo = x(
2508
- () => _.value ?? X.value ?? 0
2522
+ () => M.value ?? X.value ?? 0
2509
2523
  );
2510
2524
  function Ho() {
2511
2525
  const l = Math.ceil(ro.value || 200);
2512
2526
  return Math.min(Math.max(l, 1), 200);
2513
2527
  }
2514
2528
  function Do() {
2515
- const l = Ho(), s = 200, e = Math.max(1, S.value), u = c.value.width / e, r = c.value.left + Eo.value * u + u / 2 - l / 2 - (s - l) / 2, o = c.value.left - (s - l) / 2, F = c.value.right - (s + l) / 2, R = Math.max(o, Math.min(r, F));
2529
+ const l = Ho(), s = 200, e = Math.max(1, S.value), i = c.value.width / e, r = c.value.left + Eo.value * i + i / 2 - l / 2 - (s - l) / 2, o = c.value.left - (s - l) / 2, F = c.value.right - (s + l) / 2, R = Math.max(o, Math.min(r, F));
2516
2530
  return q(R);
2517
2531
  }
2518
2532
  Ll(() => {
@@ -2521,34 +2535,34 @@ const _n = {
2521
2535
  cancelAnimationFrame(s), s = requestAnimationFrame(() => {
2522
2536
  ro.value = Math.min(Math.max(Math.ceil(r || 0), 1), 200);
2523
2537
  });
2524
- }, u = new ResizeObserver((r) => {
2538
+ }, i = new ResizeObserver((r) => {
2525
2539
  let o = r.find((F) => F.target === l) || r[0];
2526
2540
  o && e(o.contentRect.width || 200);
2527
2541
  }), a = go((r) => {
2528
2542
  const o = so.value;
2529
- l && l !== o && (u.unobserve(l), l = null), o && o !== l && (Cl(() => {
2543
+ l && l !== o && (i.unobserve(l), l = null), o && o !== l && (Cl(() => {
2530
2544
  o.offsetParent !== null && e(o.offsetWidth || o.getBoundingClientRect().width || 200);
2531
- }), u.observe(o), l = o), r(() => {
2532
- l && (u.unobserve(l), l = null);
2545
+ }), i.observe(o), l = o), r(() => {
2546
+ l && (i.unobserve(l), l = null);
2533
2547
  });
2534
2548
  });
2535
2549
  gl(() => {
2536
2550
  try {
2537
- l && u.unobserve(l), u.disconnect(), a();
2551
+ l && i.unobserve(l), i.disconnect(), a();
2538
2552
  } catch {
2539
2553
  }
2540
2554
  });
2541
2555
  });
2542
2556
  const Wo = x(() => {
2543
- if ([null, void 0].includes(_.value) && [null, void 0].includes(X.value)) return "";
2544
- const l = (_.value != null ? _.value : 0) || (X.value != null ? X.value : 0), s = t.value.chart.timeTag.customFormat;
2557
+ if ([null, void 0].includes(M.value) && [null, void 0].includes(X.value)) return "";
2558
+ const l = (M.value != null ? M.value : 0) || (X.value != null ? X.value : 0), s = t.value.chart.timeTag.customFormat;
2545
2559
  if (ha.value = !1, ba(s))
2546
2560
  try {
2547
2561
  const e = s({
2548
2562
  absoluteIndex: l + w.value.start,
2549
2563
  seriesIndex: l,
2550
- datapoint: zt.value,
2551
- bars: Tt.value,
2564
+ datapoint: Tt.value,
2565
+ bars: It.value,
2552
2566
  lines: Re.value,
2553
2567
  plots: rt.value,
2554
2568
  config: t.value
@@ -2565,9 +2579,9 @@ const _n = {
2565
2579
  Array.isArray(l) && l.length > 0 && (bt.value = !1), Qe.value = Math.max(..._e.value.map((s) => yt(s.series).length)), w.value = {
2566
2580
  start: 0,
2567
2581
  end: Qe.value
2568
- }, Ql.value += 1, gt.value += 1, Lt();
2582
+ }, Ql.value += 1, gt.value += 1, Ct();
2569
2583
  }, { deep: !0 }), ht(() => d.config, (l) => {
2570
- xe.value || (t.value = Bl()), Ta(), Rl.value += 1, Fl.value += 1, tl(), Lt();
2584
+ xe.value || (t.value = Bl()), Ta(), Rl.value += 1, Fl.value += 1, tl(), Ct();
2571
2585
  }, { deep: !0 });
2572
2586
  const Ia = y(!1);
2573
2587
  function co() {
@@ -2582,7 +2596,7 @@ const _n = {
2582
2596
  Ll(() => {
2583
2597
  co();
2584
2598
  const l = new ResizeObserver(() => {
2585
- co(), Ia.value && (Ta(), Lt(), ul());
2599
+ co(), Ia.value && (Ta(), Ct(), il());
2586
2600
  });
2587
2601
  Be.value?.parentNode && l.observe(Be.value.parentNode);
2588
2602
  }), ht(t, () => {
@@ -2627,8 +2641,8 @@ const _n = {
2627
2641
  return Sa({
2628
2642
  getData: Ao,
2629
2643
  getImage: zo,
2630
- generatePdf: it,
2631
- generateImage: ut,
2644
+ generatePdf: ut,
2645
+ generateImage: it,
2632
2646
  generateCsv: za,
2633
2647
  toggleStack: st,
2634
2648
  toggleTable: lo,
@@ -2636,17 +2650,17 @@ const _n = {
2636
2650
  toggleTooltip: oo,
2637
2651
  toggleAnnotator: Xl,
2638
2652
  toggleFullscreen: no
2639
- }), (l, s) => (n(), i("div", {
2653
+ }), (l, s) => (n(), u("div", {
2640
2654
  id: `vue-ui-xy_${Z.value}`,
2641
2655
  class: Ze(`vue-ui-xy ${Pe.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
2642
2656
  ref_key: "chart",
2643
2657
  ref: Be,
2644
- style: L(`background:${t.value.chart.backgroundColor}; color:${t.value.chart.color};width:100%;font-family:${t.value.chart.fontFamily};${t.value.responsive ? "height: 100%" : ""}`),
2645
- onMouseenter: s[6] || (s[6] = () => me(!0)),
2646
- onMouseleave: s[7] || (s[7] = () => me(!1)),
2658
+ style: C(`background:${t.value.chart.backgroundColor}; color:${t.value.chart.color};width:100%;font-family:${t.value.chart.fontFamily};${t.value.responsive ? "height: 100%" : ""}`),
2659
+ onMouseenter: s[6] || (s[6] = () => ge(!0)),
2660
+ onMouseleave: s[7] || (s[7] = () => ge(!1)),
2647
2661
  onClick: Xa
2648
2662
  }, [
2649
- t.value.chart.userOptions.buttons.annotator && $e.value ? (n(), ct(h(It), {
2663
+ t.value.chart.userOptions.buttons.annotator && $e.value ? (n(), ct(h(Nt), {
2650
2664
  key: 0,
2651
2665
  svgRef: $e.value,
2652
2666
  backgroundColor: t.value.chart.backgroundColor,
@@ -2654,19 +2668,19 @@ const _n = {
2654
2668
  active: Ee.value,
2655
2669
  onClose: Xl
2656
2670
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
2657
- Io.value ? (n(), i("div", {
2671
+ Io.value ? (n(), u("div", {
2658
2672
  key: 1,
2659
2673
  ref_key: "noTitle",
2660
2674
  ref: _t,
2661
2675
  class: "vue-data-ui-no-title-space",
2662
2676
  style: "height:36px; width: 100%; background:transparent"
2663
2677
  }, null, 512)) : g("", !0),
2664
- t.value.chart.title.show ? (n(), i("div", {
2678
+ t.value.chart.title.show ? (n(), u("div", {
2665
2679
  key: 2,
2666
2680
  ref_key: "chartTitle",
2667
2681
  ref: Te,
2668
2682
  class: "vue-ui-xy-title",
2669
- style: L(`font-family:${t.value.chart.fontFamily}`)
2683
+ style: C(`font-family:${t.value.chart.fontFamily}`)
2670
2684
  }, [
2671
2685
  (n(), ct(wn, {
2672
2686
  key: `title_${Rl.value}`,
@@ -2684,8 +2698,8 @@ const _n = {
2684
2698
  ], 4)) : g("", !0),
2685
2699
  k("div", {
2686
2700
  id: `legend-top-${Z.value}`
2687
- }, null, 8, mi),
2688
- t.value.chart.userOptions.show && (Ol.value || yl.value) ? (n(), ct(h(ge), {
2701
+ }, null, 8, mu),
2702
+ t.value.chart.userOptions.show && (Ol.value || yl.value) ? (n(), ct(h(fe), {
2689
2703
  ref_key: "userOptionsRef",
2690
2704
  ref: Nl,
2691
2705
  key: `user_options_${Pl.value}`,
@@ -2714,22 +2728,22 @@ const _n = {
2714
2728
  tableDialog: t.value.table.useDialog,
2715
2729
  printScale: t.value.chart.userOptions.print.scale,
2716
2730
  onToggleFullscreen: no,
2717
- onGeneratePdf: h(it),
2731
+ onGeneratePdf: h(ut),
2718
2732
  onGenerateCsv: za,
2719
- onGenerateImage: h(ut),
2733
+ onGenerateImage: h(it),
2720
2734
  onToggleTable: lo,
2721
2735
  onToggleLabels: ao,
2722
2736
  onToggleStack: st,
2723
2737
  onToggleTooltip: oo,
2724
2738
  onToggleAnnotator: Xl,
2725
- style: L({
2739
+ style: C({
2726
2740
  visibility: Ol.value ? yl.value ? "visible" : "hidden" : "visible"
2727
2741
  })
2728
2742
  }, xo({ _: 2 }, [
2729
2743
  l.$slots.menuIcon ? {
2730
2744
  name: "menuIcon",
2731
- fn: we(({ isOpen: e, color: u }) => [
2732
- te(l.$slots, "menuIcon", Xt(dl({ isOpen: e, color: u })), void 0, !0)
2745
+ fn: we(({ isOpen: e, color: i }) => [
2746
+ te(l.$slots, "menuIcon", Yt(dl({ isOpen: e, color: i })), void 0, !0)
2733
2747
  ]),
2734
2748
  key: "0"
2735
2749
  } : void 0,
@@ -2784,27 +2798,27 @@ const _n = {
2784
2798
  } : void 0,
2785
2799
  l.$slots.optionFullscreen ? {
2786
2800
  name: "optionFullscreen",
2787
- fn: we(({ toggleFullscreen: e, isFullscreen: u }) => [
2788
- te(l.$slots, "optionFullscreen", Xt(dl({ toggleFullscreen: e, isFullscreen: u })), void 0, !0)
2801
+ fn: we(({ toggleFullscreen: e, isFullscreen: i }) => [
2802
+ te(l.$slots, "optionFullscreen", Yt(dl({ toggleFullscreen: e, isFullscreen: i })), void 0, !0)
2789
2803
  ]),
2790
2804
  key: "8"
2791
2805
  } : void 0,
2792
2806
  l.$slots.optionAnnotator ? {
2793
2807
  name: "optionAnnotator",
2794
- fn: we(({ toggleAnnotator: e, isAnnotator: u }) => [
2795
- te(l.$slots, "optionAnnotator", Xt(dl({ toggleAnnotator: e, isAnnotator: u })), void 0, !0)
2808
+ fn: we(({ toggleAnnotator: e, isAnnotator: i }) => [
2809
+ te(l.$slots, "optionAnnotator", Yt(dl({ toggleAnnotator: e, isAnnotator: i })), void 0, !0)
2796
2810
  ]),
2797
2811
  key: "9"
2798
2812
  } : void 0
2799
2813
  ]), 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),
2800
- (n(), i("svg", {
2814
+ (n(), u("svg", {
2801
2815
  ref_key: "svgRef",
2802
2816
  ref: $e,
2803
2817
  xmlns: "http://www.w3.org/2000/svg",
2804
2818
  class: Ze([{ "vue-data-ui-fullscreen--on": Pe.value, "vue-data-ui-fulscreen--off": !Pe.value }, "vue-ui-xy-svg vue-data-ui-svg"]),
2805
2819
  width: "100%",
2806
2820
  viewBox: at.value,
2807
- style: L({
2821
+ style: C({
2808
2822
  background: "transparent",
2809
2823
  color: t.value.chart.color,
2810
2824
  fontFamily: t.value.chart.fontFamily
@@ -2814,7 +2828,7 @@ const _n = {
2814
2828
  "aria-live": "polite",
2815
2829
  preserveAspectRatio: "xMidYMid",
2816
2830
  onMousemove: Co,
2817
- onMouseleave: ua,
2831
+ onMouseleave: ia,
2818
2832
  onClick: Xa
2819
2833
  }, [
2820
2834
  k("g", {
@@ -2823,9 +2837,9 @@ const _n = {
2823
2837
  class: "vue-data-ui-g"
2824
2838
  }, [
2825
2839
  ml(h(St)),
2826
- l.$slots["chart-background"] ? (n(), i("foreignObject", {
2840
+ l.$slots["chart-background"] ? (n(), u("foreignObject", {
2827
2841
  key: 0,
2828
- x: c.value.left + ie.value < 0 ? 0 : c.value.left + ie.value,
2842
+ x: c.value.left + ue.value < 0 ? 0 : c.value.left + ue.value,
2829
2843
  y: c.value.top,
2830
2844
  width: c.value.width - (t.value.chart.grid.position === "middle" ? 0 : c.value.width / S.value) < 0 ? 0 : c.value.width - (t.value.chart.grid.position === "middle" ? 0 : c.value.width / S.value),
2831
2845
  height: c.value.height < 0 ? 0 : c.value.height,
@@ -2834,55 +2848,55 @@ const _n = {
2834
2848
  }
2835
2849
  }, [
2836
2850
  te(l.$slots, "chart-background", {}, void 0, !0)
2837
- ], 8, xi)) : g("", !0),
2838
- S.value > 0 ? (n(), i("g", bi, [
2839
- k("g", yi, [
2840
- t.value.chart.grid.labels.xAxis.showBaseline ? (n(), i("line", {
2851
+ ], 8, xu)) : g("", !0),
2852
+ S.value > 0 ? (n(), u("g", bu, [
2853
+ k("g", yu, [
2854
+ t.value.chart.grid.labels.xAxis.showBaseline ? (n(), u("line", {
2841
2855
  key: 0,
2842
2856
  stroke: t.value.chart.grid.stroke,
2843
2857
  "stroke-width": "1",
2844
- x1: c.value.left + ie.value,
2845
- x2: c.value.right - ie.value,
2858
+ x1: c.value.left + ue.value,
2859
+ x2: c.value.right - ue.value,
2846
2860
  y1: h(j)(c.value.bottom),
2847
2861
  y2: h(j)(c.value.bottom),
2848
2862
  "stroke-linecap": "round",
2849
2863
  style: { animation: "none !important" }
2850
- }, null, 8, pi)) : g("", !0),
2851
- p.value.useIndividualScale ? t.value.chart.grid.showHorizontalLines ? (n(!0), i(b, { key: 2 }, M(Gl.value, (e) => (n(), i("g", null, [
2852
- e.id === E.value && e.yLabels.length ? (n(!0), i(b, { key: 0 }, M(e.yLabels, (u) => (n(), i("line", {
2853
- x1: c.value.left + ie.value,
2854
- x2: c.value.right - ie.value,
2855
- y1: h(j)(u.y),
2856
- y2: h(j)(u.y),
2864
+ }, null, 8, pu)) : g("", !0),
2865
+ p.value.useIndividualScale ? t.value.chart.grid.showHorizontalLines ? (n(!0), u(b, { key: 2 }, L(Gl.value, (e) => (n(), u("g", null, [
2866
+ e.id === E.value && e.yLabels.length ? (n(!0), u(b, { key: 0 }, L(e.yLabels, (i) => (n(), u("line", {
2867
+ x1: c.value.left + ue.value,
2868
+ x2: c.value.right - ue.value,
2869
+ y1: h(j)(i.y),
2870
+ y2: h(j)(i.y),
2857
2871
  stroke: e.color,
2858
2872
  "stroke-width": 0.5,
2859
2873
  "stroke-linecap": "round",
2860
2874
  style: { animation: "none !important" }
2861
- }, null, 8, $i))), 256)) : e.yLabels.length ? (n(!0), i(b, { key: 1 }, M(e.yLabels, (u) => (n(), i("line", {
2862
- x1: c.value.left + ie.value,
2863
- x2: c.value.right - ie.value,
2864
- y1: h(j)(u.y),
2865
- y2: h(j)(u.y),
2875
+ }, null, 8, $u))), 256)) : e.yLabels.length ? (n(!0), u(b, { key: 1 }, L(e.yLabels, (i) => (n(), u("line", {
2876
+ x1: c.value.left + ue.value,
2877
+ x2: c.value.right - ue.value,
2878
+ y1: h(j)(i.y),
2879
+ y2: h(j)(i.y),
2866
2880
  stroke: t.value.chart.grid.stroke,
2867
2881
  "stroke-width": 0.5,
2868
2882
  "stroke-linecap": "round",
2869
2883
  style: { animation: "none !important" }
2870
- }, null, 8, _i))), 256)) : g("", !0)
2871
- ]))), 256)) : g("", !0) : (n(), i(b, { key: 1 }, [
2872
- t.value.chart.grid.labels.yAxis.showBaseline ? (n(), i("line", {
2884
+ }, null, 8, _u))), 256)) : g("", !0)
2885
+ ]))), 256)) : g("", !0) : (n(), u(b, { key: 1 }, [
2886
+ t.value.chart.grid.labels.yAxis.showBaseline ? (n(), u("line", {
2873
2887
  key: 0,
2874
2888
  stroke: t.value.chart.grid.stroke,
2875
2889
  "stroke-width": "1",
2876
- x1: c.value.left + ie.value,
2877
- x2: c.value.left + ie.value,
2890
+ x1: c.value.left + ue.value,
2891
+ x2: c.value.left + ue.value,
2878
2892
  y1: h(j)(c.value.top),
2879
2893
  y2: h(j)(c.value.bottom),
2880
2894
  "stroke-linecap": "round",
2881
2895
  style: { animation: "none !important" }
2882
- }, null, 8, ki)) : g("", !0),
2883
- t.value.chart.grid.showHorizontalLines ? (n(), i("g", wi, [
2884
- (n(!0), i(b, null, M(Za.value, (e) => (n(), i("line", {
2885
- x1: c.value.left + ie.value,
2896
+ }, null, 8, ku)) : g("", !0),
2897
+ t.value.chart.grid.showHorizontalLines ? (n(), u("g", wu, [
2898
+ (n(!0), u(b, null, L(Za.value, (e) => (n(), u("line", {
2899
+ x1: c.value.left + ue.value,
2886
2900
  x2: c.value.right,
2887
2901
  y1: h(j)(e.y),
2888
2902
  y2: h(j)(e.y),
@@ -2890,78 +2904,78 @@ const _n = {
2890
2904
  "stroke-width": 0.5,
2891
2905
  "stroke-linecap": "round",
2892
2906
  style: { animation: "none !important" }
2893
- }, null, 8, Si))), 256))
2907
+ }, null, 8, Su))), 256))
2894
2908
  ])) : g("", !0)
2895
2909
  ], 64)),
2896
- t.value.chart.grid.showVerticalLines ? (n(), i("g", Mi, [
2910
+ t.value.chart.grid.showVerticalLines ? (n(), u("g", Mu, [
2897
2911
  k("path", {
2898
- d: Ot.value,
2912
+ d: Vt.value,
2899
2913
  "stroke-width": 0.5,
2900
2914
  stroke: t.value.chart.grid.stroke,
2901
2915
  "stroke-linecap": "round",
2902
2916
  style: { animation: "none !important" }
2903
- }, null, 8, Li)
2917
+ }, null, 8, Lu)
2904
2918
  ])) : g("", !0),
2905
- t.value.chart.grid.labels.xAxisLabels.show ? (n(), i("g", Ci, [
2919
+ t.value.chart.grid.labels.xAxisLabels.show ? (n(), u("g", Cu, [
2906
2920
  k("path", {
2907
2921
  d: Dl.value,
2908
2922
  stroke: t.value.chart.grid.stroke,
2909
2923
  "stroke-width": 1,
2910
2924
  "stroke-linecap": "round",
2911
2925
  style: { animation: "none !important" }
2912
- }, null, 8, Ai)
2926
+ }, null, 8, Au)
2913
2927
  ])) : g("", !0)
2914
2928
  ]),
2915
- (n(!0), i(b, null, M(Tt.value, (e, u) => (n(), i("defs", {
2916
- key: `def_rect_${u}`
2929
+ (n(!0), u(b, null, L(It.value, (e, i) => (n(), u("defs", {
2930
+ key: `def_rect_${i}`
2917
2931
  }, [
2918
- l.$slots["bar-gradient"] ? te(l.$slots, "bar-gradient", Yt({
2932
+ l.$slots["bar-gradient"] ? te(l.$slots, "bar-gradient", Gt({
2919
2933
  key: 0,
2920
2934
  ref_for: !0
2921
- }, { series: e, positiveId: `rectGradient_pos_${u}_${Z.value}`, negativeId: `rectGradient_neg_${u}_${Z.value}` }), void 0, !0) : (n(), i(b, { key: 1 }, [
2935
+ }, { series: e, positiveId: `rectGradient_pos_${i}_${Z.value}`, negativeId: `rectGradient_neg_${i}_${Z.value}` }), void 0, !0) : (n(), u(b, { key: 1 }, [
2922
2936
  k("linearGradient", {
2923
- id: `rectGradient_pos_${u}_${Z.value}`,
2937
+ id: `rectGradient_pos_${i}_${Z.value}`,
2924
2938
  x2: "0%",
2925
2939
  y2: "100%"
2926
2940
  }, [
2927
2941
  k("stop", {
2928
2942
  offset: "0%",
2929
2943
  "stop-color": e.color
2930
- }, null, 8, Ti),
2944
+ }, null, 8, Tu),
2931
2945
  k("stop", {
2932
2946
  offset: "62%",
2933
2947
  "stop-color": `${h(fl)(e.color, 0.02)}`
2934
- }, null, 8, Ii),
2948
+ }, null, 8, Iu),
2935
2949
  k("stop", {
2936
2950
  offset: "100%",
2937
2951
  "stop-color": `${h(fl)(e.color, 0.05)}`
2938
- }, null, 8, Ni)
2939
- ], 8, zi),
2952
+ }, null, 8, Nu)
2953
+ ], 8, zu),
2940
2954
  k("linearGradient", {
2941
- id: `rectGradient_neg_${u}_${Z.value}`,
2955
+ id: `rectGradient_neg_${i}_${Z.value}`,
2942
2956
  x2: "0%",
2943
2957
  y2: "100%"
2944
2958
  }, [
2945
2959
  k("stop", {
2946
2960
  offset: "0%",
2947
2961
  "stop-color": `${h(fl)(e.color, 0.05)}`
2948
- }, null, 8, Fi),
2962
+ }, null, 8, Fu),
2949
2963
  k("stop", {
2950
2964
  offset: "38%",
2951
2965
  "stop-color": `${h(fl)(e.color, 0.02)}`
2952
- }, null, 8, Ri),
2966
+ }, null, 8, Ru),
2953
2967
  k("stop", {
2954
2968
  offset: "100%",
2955
2969
  "stop-color": e.color
2956
- }, null, 8, Oi)
2957
- ], 8, Pi)
2970
+ }, null, 8, Ou)
2971
+ ], 8, Pu)
2958
2972
  ], 64))
2959
2973
  ]))), 128)),
2960
- (n(!0), i(b, null, M(rt.value, (e, u) => (n(), i("defs", {
2961
- key: `def_plot_${u}`
2974
+ (n(!0), u(b, null, L(rt.value, (e, i) => (n(), u("defs", {
2975
+ key: `def_plot_${i}`
2962
2976
  }, [
2963
2977
  k("radialGradient", {
2964
- id: `plotGradient_${u}_${Z.value}`,
2978
+ id: `plotGradient_${i}_${Z.value}`,
2965
2979
  cx: "50%",
2966
2980
  cy: "50%",
2967
2981
  r: "50%",
@@ -2971,18 +2985,18 @@ const _n = {
2971
2985
  k("stop", {
2972
2986
  offset: "0%",
2973
2987
  "stop-color": `${h(fl)(e.color, 0.05)}`
2974
- }, null, 8, Bi),
2988
+ }, null, 8, Bu),
2975
2989
  k("stop", {
2976
2990
  offset: "100%",
2977
2991
  "stop-color": e.color
2978
- }, null, 8, Ei)
2979
- ], 8, Vi)
2992
+ }, null, 8, Eu)
2993
+ ], 8, Vu)
2980
2994
  ]))), 128)),
2981
- (n(!0), i(b, null, M(Re.value, (e, u) => (n(), i("defs", {
2995
+ (n(!0), u(b, null, L(Re.value, (e, i) => (n(), u("defs", {
2982
2996
  key: `def_line_${e.id}`
2983
2997
  }, [
2984
2998
  k("radialGradient", {
2985
- id: `lineGradient_${u}_${Z.value}`,
2999
+ id: `lineGradient_${i}_${Z.value}`,
2986
3000
  cx: "50%",
2987
3001
  cy: "50%",
2988
3002
  r: "50%",
@@ -2992,18 +3006,18 @@ const _n = {
2992
3006
  k("stop", {
2993
3007
  offset: "0%",
2994
3008
  "stop-color": `${h(fl)(e.color, 0.05)}`
2995
- }, null, 8, Di),
3009
+ }, null, 8, Du),
2996
3010
  k("stop", {
2997
3011
  offset: "100%",
2998
3012
  "stop-color": e.color
2999
- }, null, 8, Wi)
3000
- ], 8, Hi),
3001
- l.$slots["area-gradient"] ? te(l.$slots, "area-gradient", Yt({
3013
+ }, null, 8, Wu)
3014
+ ], 8, Hu),
3015
+ l.$slots["area-gradient"] ? te(l.$slots, "area-gradient", Gt({
3002
3016
  key: 0,
3003
3017
  ref_for: !0
3004
- }, { series: e, id: `areaGradient_${u}_${Z.value}` }), void 0, !0) : (n(), i("linearGradient", {
3018
+ }, { series: e, id: `areaGradient_${i}_${Z.value}` }), void 0, !0) : (n(), u("linearGradient", {
3005
3019
  key: 1,
3006
- id: `areaGradient_${u}_${Z.value}`,
3020
+ id: `areaGradient_${i}_${Z.value}`,
3007
3021
  x1: "0%",
3008
3022
  x2: "100%",
3009
3023
  y1: "0%",
@@ -3012,18 +3026,18 @@ const _n = {
3012
3026
  k("stop", {
3013
3027
  offset: "0%",
3014
3028
  "stop-color": `${h(vt)(h(fl)(e.color, 0.03), t.value.line.area.opacity)}`
3015
- }, null, 8, Yi),
3029
+ }, null, 8, Yu),
3016
3030
  k("stop", {
3017
3031
  offset: "100%",
3018
3032
  "stop-color": `${h(vt)(e.color, t.value.line.area.opacity)}`
3019
- }, null, 8, Gi)
3020
- ], 8, Xi))
3033
+ }, null, 8, Gu)
3034
+ ], 8, Xu))
3021
3035
  ]))), 128)),
3022
- (n(!0), i(b, null, M(No.value, (e) => (n(), i("g", null, [
3023
- e.show ? (n(), i(b, { key: 0 }, [
3024
- (n(!0), i(b, null, M(e.span, (u, a) => (n(), i("g", null, [
3036
+ (n(!0), u(b, null, L(No.value, (e) => (n(), u("g", null, [
3037
+ e.show ? (n(), u(b, { key: 0 }, [
3038
+ (n(!0), u(b, null, L(e.span, (i, a) => (n(), u("g", null, [
3025
3039
  k("rect", {
3026
- style: L({
3040
+ style: C({
3027
3041
  transition: "none",
3028
3042
  opacity: e.from + a >= w.value.start && e.from + a <= w.value.end - 1 ? 1 : 0
3029
3043
  }),
@@ -3032,14 +3046,14 @@ const _n = {
3032
3046
  height: c.value.height < 0 ? 10 : c.value.height,
3033
3047
  width: c.value.width / S.value < 0 ? 1e-5 : c.value.width / S.value,
3034
3048
  fill: h(vt)(e.color, e.opacity)
3035
- }, null, 12, Ui)
3049
+ }, null, 12, Uu)
3036
3050
  ]))), 256)),
3037
- (n(!0), i(b, null, M(e.span, (u, a) => (n(), i("g", null, [
3038
- e.caption.text && a === 0 ? (n(), i("foreignObject", {
3051
+ (n(!0), u(b, null, L(e.span, (i, a) => (n(), u("g", null, [
3052
+ e.caption.text && a === 0 ? (n(), u("foreignObject", {
3039
3053
  key: 0,
3040
3054
  x: c.value.left + c.value.width / S.value * (e.from + a - w.value.start) - (e.caption.width === "auto" ? 0 : e.caption.width / 2 - c.value.width / S.value * e.span / 2),
3041
3055
  y: c.value.top + e.caption.offsetY,
3042
- style: L({
3056
+ style: C({
3043
3057
  overflow: "visible",
3044
3058
  opacity: e.to >= w.value.start && e.from < w.value.end ? 1 : 0
3045
3059
  }),
@@ -3047,51 +3061,51 @@ const _n = {
3047
3061
  width: e.caption.width === "auto" ? c.value.width / S.value * e.span : e.caption.width
3048
3062
  }, [
3049
3063
  k("div", {
3050
- style: L(`padding:${e.caption.padding}px;text-align:${e.caption.textAlign};font-size:${e.caption.fontSize}px;color:${e.caption.color};font-weight:${e.caption.bold ? "bold" : "normal"}`)
3064
+ style: C(`padding:${e.caption.padding}px;text-align:${e.caption.textAlign};font-size:${e.caption.fontSize}px;color:${e.caption.color};font-weight:${e.caption.bold ? "bold" : "normal"}`)
3051
3065
  }, re(e.caption.text), 5)
3052
- ], 12, qi)) : g("", !0)
3066
+ ], 12, qu)) : g("", !0)
3053
3067
  ]))), 256))
3054
3068
  ], 64)) : g("", !0)
3055
3069
  ]))), 256)),
3056
- Vt.value ? (n(), i("g", Zi, [
3057
- (n(!0), i(b, null, M(S.value, (e, u) => (n(), i("g", {
3058
- key: `tooltip_trap_highlighter_${u}`
3070
+ Bt.value ? (n(), u("g", Zu, [
3071
+ (n(!0), u(b, null, L(S.value, (e, i) => (n(), u("g", {
3072
+ key: `tooltip_trap_highlighter_${i}`
3059
3073
  }, [
3060
3074
  k("rect", {
3061
- x: c.value.left + c.value.width / S.value * u,
3075
+ x: c.value.left + c.value.width / S.value * i,
3062
3076
  y: c.value.top,
3063
3077
  height: c.value.height < 0 ? 10 : c.value.height,
3064
3078
  width: c.value.width / S.value < 0 ? 1e-5 : c.value.width / S.value,
3065
- fill: [X.value, _.value, ae.value].includes(u) ? h(vt)(t.value.chart.highlighter.color, t.value.chart.highlighter.opacity) : "transparent",
3079
+ fill: [X.value, M.value, ae.value].includes(i) ? h(vt)(t.value.chart.highlighter.color, t.value.chart.highlighter.opacity) : "transparent",
3066
3080
  style: { transition: "none !important", animation: "none !important" }
3067
- }, null, 8, Ki)
3081
+ }, null, 8, Ku)
3068
3082
  ]))), 128))
3069
3083
  ])) : g("", !0),
3070
- Tt.value.length ? (n(!0), i(b, { key: 1 }, M(Tt.value, (e, u) => (n(), i("g", {
3084
+ It.value.length ? (n(!0), u(b, { key: 1 }, L(It.value, (e, i) => (n(), u("g", {
3071
3085
  key: `serie_bar_${e.id}`,
3072
- class: Ze(`serie_bar_${u}`),
3073
- style: L(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3086
+ class: Ze(`serie_bar_${i}`),
3087
+ style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3074
3088
  }, [
3075
- (n(!0), i(b, null, M(e.plots, (a, r) => (n(), i("g", {
3076
- key: `bar_plot_${u}_${r}`
3089
+ (n(!0), u(b, null, L(e.plots, (a, r) => (n(), u("g", {
3090
+ key: `bar_plot_${i}_${r}`
3077
3091
  }, [
3078
- Ye(a.value) ? (n(), i("rect", {
3092
+ Ye(a.value) ? (n(), u("rect", {
3079
3093
  key: 0,
3080
- x: ia(a) + ca.value / 2,
3094
+ x: ua(a) + ca.value / 2,
3081
3095
  y: p.value.useIndividualScale ? Da(a) : Ha(a),
3082
3096
  height: p.value.useIndividualScale ? Math.abs(Ea(a)) : Math.abs(Ba(a)),
3083
3097
  width: ra.value - ca.value,
3084
3098
  rx: t.value.bar.borderRadius,
3085
- fill: t.value.bar.useGradient ? a.value >= 0 ? `url(#rectGradient_pos_${u}_${Z.value})` : `url(#rectGradient_neg_${u}_${Z.value})` : e.color,
3099
+ fill: t.value.bar.useGradient ? a.value >= 0 ? `url(#rectGradient_pos_${i}_${Z.value})` : `url(#rectGradient_neg_${i}_${Z.value})` : e.color,
3086
3100
  stroke: t.value.bar.border.useSerieColor ? e.color : t.value.bar.border.stroke,
3087
3101
  "stroke-width": t.value.bar.border.strokeWidth,
3088
- style: L({
3102
+ style: C({
3089
3103
  transition: h(xe) || !t.value.bar.showTransition ? void 0 : `all ${t.value.bar.transitionDurationMs}ms ease-in-out`
3090
3104
  })
3091
- }, null, 12, Ji)) : g("", !0),
3092
- Ye(a.value) && l.$slots.pattern ? (n(), i("rect", {
3105
+ }, null, 12, Ju)) : g("", !0),
3106
+ Ye(a.value) && l.$slots.pattern ? (n(), u("rect", {
3093
3107
  key: 1,
3094
- x: ia(a) - ca.value / 2,
3108
+ x: ua(a) - ca.value / 2,
3095
3109
  y: p.value.useIndividualScale ? Da(a) : Ha(a),
3096
3110
  height: p.value.useIndividualScale ? Math.abs(Ea(a)) : Math.abs(Ba(a)),
3097
3111
  width: ra.value - ca.value,
@@ -3099,25 +3113,25 @@ const _n = {
3099
3113
  fill: `url(#pattern_${Z.value}_${e.slotAbsoluteIndex})`,
3100
3114
  stroke: t.value.bar.border.useSerieColor ? e.color : t.value.bar.border.stroke,
3101
3115
  "stroke-width": t.value.bar.border.strokeWidth,
3102
- style: L({ transition: h(xe) || !t.value.bar.showTransition ? void 0 : `all ${t.value.bar.transitionDurationMs}ms ease-in-out` })
3103
- }, null, 12, Qi)) : g("", !0),
3104
- a.comment && t.value.chart.comments.show ? (n(), i("foreignObject", {
3116
+ style: C({ transition: h(xe) || !t.value.bar.showTransition ? void 0 : `all ${t.value.bar.transitionDurationMs}ms ease-in-out` })
3117
+ }, null, 12, Qu)) : g("", !0),
3118
+ a.comment && t.value.chart.comments.show ? (n(), u("foreignObject", {
3105
3119
  key: 2,
3106
3120
  style: { overflow: "visible" },
3107
3121
  height: "12",
3108
3122
  width: ra.value / 2 + t.value.chart.comments.width,
3109
- x: ia(a) - t.value.chart.comments.width / 2 + t.value.chart.comments.offsetX,
3123
+ x: ua(a) - t.value.chart.comments.width / 2 + t.value.chart.comments.offsetX,
3110
3124
  y: h(q)(a.y) + t.value.chart.comments.offsetY + 6
3111
3125
  }, [
3112
3126
  te(l.$slots, "plot-comment", {
3113
- plot: { ...a, color: e.color, seriesIndex: u, datapointIndex: r }
3127
+ plot: { ...a, color: e.color, seriesIndex: i, datapointIndex: r }
3114
3128
  }, void 0, !0)
3115
- ], 8, ji)) : g("", !0)
3129
+ ], 8, ju)) : g("", !0)
3116
3130
  ]))), 128)),
3117
- Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(h(ue)(e.plots).trend) ? (n(), i("g", eu, [
3131
+ Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(h(ie)(e.plots).trend) ? (n(), u("g", ei, [
3118
3132
  k("defs", null, [
3119
3133
  k("marker", {
3120
- id: `bar_arrow_${u}`,
3134
+ id: `bar_arrow_${i}`,
3121
3135
  markerWidth: 7,
3122
3136
  markerHeight: 7,
3123
3137
  refX: "0",
@@ -3127,49 +3141,49 @@ const _n = {
3127
3141
  k("polygon", {
3128
3142
  points: `0 0, 7 ${7 / 2}, 0 7`,
3129
3143
  fill: e.color
3130
- }, null, 8, lu)
3131
- ], 8, tu)
3144
+ }, null, 8, li)
3145
+ ], 8, ti)
3132
3146
  ]),
3133
- e.plots.length > 1 ? (n(), i("line", {
3147
+ e.plots.length > 1 ? (n(), u("line", {
3134
3148
  key: 0,
3135
- x1: h(ue)(e.plots).x1 + Sl(),
3136
- x2: h(ue)(e.plots).x2 + Sl(),
3137
- y1: h(j)(h(ue)(e.plots).y1),
3138
- y2: h(j)(h(ue)(e.plots).y2),
3149
+ x1: h(ie)(e.plots).x1 + Sl(),
3150
+ x2: h(ie)(e.plots).x2 + Sl(),
3151
+ y1: h(j)(h(ie)(e.plots).y1),
3152
+ y2: h(j)(h(ie)(e.plots).y2),
3139
3153
  "stroke-width": 1,
3140
3154
  stroke: e.color,
3141
3155
  "stroke-dasharray": 2,
3142
- "marker-end": `url(#bar_arrow_${u})`
3143
- }, null, 8, au)) : g("", !0),
3144
- e.plots.length > 1 ? (n(), i("text", {
3156
+ "marker-end": `url(#bar_arrow_${i})`
3157
+ }, null, 8, ai)) : g("", !0),
3158
+ e.plots.length > 1 ? (n(), u("text", {
3145
3159
  key: 1,
3146
3160
  "text-anchor": "middle",
3147
- x: h(ue)(e.plots).x2 + Sl(),
3148
- y: h(ue)(e.plots).y2 - 6,
3149
- "font-size": C.value.plotLabels,
3161
+ x: h(ie)(e.plots).x2 + Sl(),
3162
+ y: h(ie)(e.plots).y2 - 6,
3163
+ "font-size": A.value.plotLabels,
3150
3164
  fill: e.color
3151
3165
  }, re(h(lt)({
3152
- v: h(ue)(e.plots).trend * 100,
3166
+ v: h(ie)(e.plots).trend * 100,
3153
3167
  s: "%",
3154
3168
  r: 2
3155
- })), 9, ou)) : g("", !0)
3169
+ })), 9, oi)) : g("", !0)
3156
3170
  ])) : g("", !0)
3157
3171
  ], 6))), 128)) : g("", !0),
3158
- !p.value.useIndividualScale && t.value.chart.grid.labels.zeroLine.show ? (n(), i("line", {
3172
+ !p.value.useIndividualScale && t.value.chart.grid.labels.zeroLine.show ? (n(), u("line", {
3159
3173
  key: 2,
3160
3174
  stroke: t.value.chart.grid.stroke,
3161
3175
  "stroke-width": "1",
3162
- x1: c.value.left + ie.value,
3176
+ x1: c.value.left + ue.value,
3163
3177
  x2: c.value.right,
3164
3178
  y1: h(j)(Ie.value),
3165
3179
  y2: h(j)(Ie.value),
3166
3180
  "stroke-linecap": "round",
3167
3181
  style: { animation: "none !important" }
3168
- }, null, 8, nu)) : g("", !0),
3169
- t.value.chart.highlighter.useLine && (![null, void 0].includes(_.value) || ![null, void 0].includes(X.value)) ? (n(), i("g", iu, [
3182
+ }, null, 8, ni)) : g("", !0),
3183
+ t.value.chart.highlighter.useLine && (![null, void 0].includes(M.value) || ![null, void 0].includes(X.value)) ? (n(), u("g", ui, [
3170
3184
  k("line", {
3171
- x1: c.value.left + c.value.width / S.value * ((_.value !== null ? _.value : 0) || (X.value !== null ? X.value : 0)) + c.value.width / S.value / 2,
3172
- x2: c.value.left + c.value.width / S.value * ((_.value !== null ? _.value : 0) || (X.value !== null ? X.value : 0)) + c.value.width / S.value / 2,
3185
+ x1: c.value.left + c.value.width / S.value * ((M.value !== null ? M.value : 0) || (X.value !== null ? X.value : 0)) + c.value.width / S.value / 2,
3186
+ x2: c.value.left + c.value.width / S.value * ((M.value !== null ? M.value : 0) || (X.value !== null ? X.value : 0)) + c.value.width / S.value / 2,
3173
3187
  y1: h(j)(c.value.top),
3174
3188
  y2: h(j)(c.value.bottom),
3175
3189
  stroke: t.value.chart.highlighter.color,
@@ -3177,12 +3191,12 @@ const _n = {
3177
3191
  "stroke-dasharray": t.value.chart.highlighter.lineDasharray,
3178
3192
  "stroke-linecap": "round",
3179
3193
  style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
3180
- }, null, 8, uu)
3194
+ }, null, 8, ii)
3181
3195
  ])) : g("", !0),
3182
- t.value.chart.grid.frame.show ? (n(), i("rect", {
3196
+ t.value.chart.grid.frame.show ? (n(), u("rect", {
3183
3197
  key: 4,
3184
3198
  style: { pointerEvents: "none", transition: "none", animation: "none !important" },
3185
- x: c.value.left + ie.value < 0 ? 0 : c.value.left + ie.value,
3199
+ x: c.value.left + ue.value < 0 ? 0 : c.value.left + ue.value,
3186
3200
  y: c.value.top,
3187
3201
  width: c.value.width - (t.value.chart.grid.position === "middle" ? 0 : c.value.width / S.value) < 0 ? 0 : c.value.width - (t.value.chart.grid.position === "middle" ? 0 : c.value.width / S.value),
3188
3202
  height: c.value.height < 0 ? 0 : c.value.height,
@@ -3192,85 +3206,85 @@ const _n = {
3192
3206
  "stroke-linecap": t.value.chart.grid.frame.strokeLinecap,
3193
3207
  "stroke-linejoin": t.value.chart.grid.frame.strokeLinejoin,
3194
3208
  "stroke-dasharray": t.value.chart.grid.frame.strokeDasharray
3195
- }, null, 8, su)) : g("", !0),
3196
- t.value.chart.grid.labels.show ? (n(), i("g", {
3209
+ }, null, 8, si)) : g("", !0),
3210
+ t.value.chart.grid.labels.show ? (n(), u("g", {
3197
3211
  key: 5,
3198
3212
  ref_key: "scaleLabels",
3199
3213
  ref: Il
3200
3214
  }, [
3201
- p.value.useIndividualScale ? (n(), i(b, { key: 0 }, [
3202
- (n(!0), i(b, null, M(Gl.value, (e) => (n(), i("g", null, [
3215
+ p.value.useIndividualScale ? (n(), u(b, { key: 0 }, [
3216
+ (n(!0), u(b, null, L(Gl.value, (e) => (n(), u("g", null, [
3203
3217
  k("line", {
3204
- x1: e.x + ie.value - c.value.individualOffsetX,
3205
- x2: e.x + ie.value - c.value.individualOffsetX,
3218
+ x1: e.x + ue.value - c.value.individualOffsetX,
3219
+ x2: e.x + ue.value - c.value.individualOffsetX,
3206
3220
  y1: p.value.isStacked ? h(j)(c.value.bottom - e.yOffset - e.individualHeight) : h(j)(c.value.top),
3207
3221
  y2: p.value.isStacked ? h(j)(c.value.bottom - e.yOffset) : h(j)(c.value.bottom),
3208
3222
  stroke: e.color,
3209
3223
  "stroke-width": t.value.chart.grid.stroke,
3210
3224
  "stroke-linecap": "round",
3211
- style: L(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out; animation: none !important`)
3212
- }, null, 12, ru)
3225
+ style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out; animation: none !important`)
3226
+ }, null, 12, ri)
3213
3227
  ]))), 256)),
3214
- (n(!0), i(b, null, M(Gl.value, (e) => (n(), i("g", {
3215
- style: L(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
3228
+ (n(!0), u(b, null, L(Gl.value, (e) => (n(), u("g", {
3229
+ style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
3216
3230
  }, [
3217
3231
  k("text", {
3218
3232
  fill: e.color,
3219
- "font-size": C.value.dataLabels * 0.8,
3233
+ "font-size": A.value.dataLabels * 0.8,
3220
3234
  "text-anchor": "middle",
3221
- transform: `translate(${e.x - C.value.dataLabels * 0.8 / 2 + ie.value}, ${p.value.isStacked ? c.value.bottom - e.yOffset - e.individualHeight / 2 : c.value.top + c.value.height / 2}) rotate(-90)`
3235
+ transform: `translate(${e.x - A.value.dataLabels * 0.8 / 2 + ue.value}, ${p.value.isStacked ? c.value.bottom - e.yOffset - e.individualHeight / 2 : c.value.top + c.value.height / 2}) rotate(-90)`
3222
3236
  }, re(e.name) + " " + re(e.scaleLabel && e.unique && e.scaleLabel !== e.id ? `-
3223
- ${e.scaleLabel}` : ""), 9, cu),
3224
- (n(!0), i(b, null, M(e.yLabels, (u, a) => (n(), i(b, null, [
3225
- t.value.chart.grid.labels.yAxis.showCrosshairs ? (n(), i("line", {
3237
+ ${e.scaleLabel}` : ""), 9, ci),
3238
+ (n(!0), u(b, null, L(e.yLabels, (i, a) => (n(), u(b, null, [
3239
+ t.value.chart.grid.labels.yAxis.showCrosshairs ? (n(), u("line", {
3226
3240
  key: 0,
3227
- x1: e.x + 3 + ie.value - t.value.chart.grid.labels.yAxis.crosshairSize - c.value.individualOffsetX,
3228
- x2: e.x + ie.value - c.value.individualOffsetX,
3229
- y1: h(j)(u.y),
3230
- y2: h(j)(u.y),
3241
+ x1: e.x + 3 + ue.value - t.value.chart.grid.labels.yAxis.crosshairSize - c.value.individualOffsetX,
3242
+ x2: e.x + ue.value - c.value.individualOffsetX,
3243
+ y1: h(j)(i.y),
3244
+ y2: h(j)(i.y),
3231
3245
  stroke: e.color,
3232
3246
  "stroke-width": 1,
3233
3247
  "stroke-linecap": "round",
3234
3248
  style: { animation: "none !important" }
3235
- }, null, 8, vu)) : g("", !0)
3249
+ }, null, 8, vi)) : g("", !0)
3236
3250
  ], 64))), 256)),
3237
- (n(!0), i(b, null, M(e.yLabels, (u, a) => (n(), i("text", {
3238
- x: e.x - 5 + ie.value - c.value.individualOffsetX,
3239
- y: h(j)(u.y) + C.value.dataLabels / 3,
3240
- "font-size": C.value.dataLabels,
3251
+ (n(!0), u(b, null, L(e.yLabels, (i, a) => (n(), u("text", {
3252
+ x: e.x - 5 + ue.value - c.value.individualOffsetX,
3253
+ y: h(j)(i.y) + A.value.dataLabels / 3,
3254
+ "font-size": A.value.dataLabels,
3241
3255
  "text-anchor": "end",
3242
3256
  fill: e.color
3243
3257
  }, re(h(ze)(
3244
3258
  t.value.chart.grid.labels.yAxis.formatter,
3245
- u.value,
3259
+ i.value,
3246
3260
  h(lt)({
3247
- p: u.prefix,
3248
- v: u.value,
3249
- s: u.suffix,
3261
+ p: i.prefix,
3262
+ v: i.value,
3263
+ s: i.suffix,
3250
3264
  r: t.value.chart.grid.labels.yAxis.rounding
3251
3265
  }),
3252
- { datapoint: u.datapoint, seriesIndex: a }
3253
- )), 9, du))), 256))
3266
+ { datapoint: i.datapoint, seriesIndex: a }
3267
+ )), 9, di))), 256))
3254
3268
  ], 4))), 256))
3255
- ], 64)) : (n(!0), i(b, { key: 1 }, M(Za.value, (e, u) => (n(), i("g", {
3256
- key: `yLabel_${u}`
3269
+ ], 64)) : (n(!0), u(b, { key: 1 }, L(Za.value, (e, i) => (n(), u("g", {
3270
+ key: `yLabel_${i}`
3257
3271
  }, [
3258
- Ye(e) && e.value >= Xe.value.min && e.value <= Xe.value.max && t.value.chart.grid.labels.yAxis.showCrosshairs ? (n(), i("line", {
3272
+ Ye(e) && e.value >= Xe.value.min && e.value <= Xe.value.max && t.value.chart.grid.labels.yAxis.showCrosshairs ? (n(), u("line", {
3259
3273
  key: 0,
3260
- x1: c.value.left + ie.value,
3261
- x2: c.value.left + ie.value - t.value.chart.grid.labels.yAxis.crosshairSize,
3274
+ x1: c.value.left + ue.value,
3275
+ x2: c.value.left + ue.value - t.value.chart.grid.labels.yAxis.crosshairSize,
3262
3276
  y1: h(j)(e.y),
3263
3277
  y2: h(j)(e.y),
3264
3278
  stroke: t.value.chart.grid.stroke,
3265
3279
  "stroke-width": "1",
3266
3280
  "stroke-linecap": "round",
3267
3281
  style: { animation: "none !important" }
3268
- }, null, 8, hu)) : g("", !0),
3269
- e.value >= Xe.value.min && e.value <= Xe.value.max ? (n(), i("text", {
3282
+ }, null, 8, hi)) : g("", !0),
3283
+ e.value >= Xe.value.min && e.value <= Xe.value.max ? (n(), u("text", {
3270
3284
  key: 1,
3271
3285
  x: c.value.scaleLabelX - t.value.chart.grid.labels.yAxis.crosshairSize,
3272
- y: h(q)(e.y + C.value.dataLabels / 3),
3273
- "font-size": C.value.dataLabels,
3286
+ y: h(q)(e.y + A.value.dataLabels / 3),
3287
+ "font-size": A.value.dataLabels,
3274
3288
  "text-anchor": "end",
3275
3289
  fill: t.value.chart.grid.labels.color
3276
3290
  }, re(Ye(e.value) ? h(ze)(
@@ -3282,28 +3296,28 @@ const _n = {
3282
3296
  s: e.suffix,
3283
3297
  r: t.value.chart.grid.labels.yAxis.rounding
3284
3298
  })
3285
- ) : ""), 9, fu)) : g("", !0)
3299
+ ) : ""), 9, fi)) : g("", !0)
3286
3300
  ]))), 128))
3287
3301
  ], 512)) : g("", !0),
3288
- (n(!0), i(b, null, M(rt.value, (e, u) => (n(), i("g", {
3302
+ (n(!0), u(b, null, L(rt.value, (e, i) => (n(), u("g", {
3289
3303
  key: `serie_plot_${e.id}`,
3290
- class: Ze(`serie_plot_${u}`),
3291
- style: L(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3304
+ class: Ze(`serie_plot_${i}`),
3305
+ style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3292
3306
  }, [
3293
- (n(!0), i(b, null, M(e.plots, (a, r) => (n(), i("g", {
3294
- key: `circle_plot_${u}_${r}`
3307
+ (n(!0), u(b, null, L(e.plots, (a, r) => (n(), u("g", {
3308
+ key: `circle_plot_${i}_${r}`
3295
3309
  }, [
3296
3310
  a && Ye(a.value) ? (n(), ct(ga, {
3297
3311
  key: 0,
3298
3312
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(e.shape) ? e.shape : "circle",
3299
- color: t.value.plot.useGradient ? `url(#plotGradient_${u}_${Z.value})` : t.value.plot.dot.useSerieColor ? e.color : t.value.plot.dot.fill,
3313
+ color: t.value.plot.useGradient ? `url(#plotGradient_${i}_${Z.value})` : t.value.plot.dot.useSerieColor ? e.color : t.value.plot.dot.fill,
3300
3314
  plot: { x: h(q)(a.x), y: h(q)(a.y) },
3301
- radius: _.value !== null && _.value === r || X.value !== null && X.value === r ? (De.value.plot || 6) * 1.5 : De.value.plot || 6,
3315
+ radius: M.value !== null && M.value === r || X.value !== null && X.value === r ? (De.value.plot || 6) * 1.5 : De.value.plot || 6,
3302
3316
  stroke: t.value.plot.dot.useSerieColor ? t.value.chart.backgroundColor : e.color,
3303
3317
  strokeWidth: t.value.plot.dot.strokeWidth,
3304
- transition: h(xe) || !t.value.plot.showTransition || _.value !== null && _.value === r || X.value !== null && X.value === r ? void 0 : `all ${t.value.plot.transitionDurationMs}ms ease-in-out`
3318
+ transition: h(xe) || !t.value.plot.showTransition || M.value !== null && M.value === r || X.value !== null && X.value === r ? void 0 : `all ${t.value.plot.transitionDurationMs}ms ease-in-out`
3305
3319
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth", "transition"])) : g("", !0),
3306
- a.comment && t.value.chart.comments.show ? (n(), i("foreignObject", {
3320
+ a.comment && t.value.chart.comments.show ? (n(), u("foreignObject", {
3307
3321
  key: 1,
3308
3322
  style: { overflow: "visible" },
3309
3323
  height: "12",
@@ -3311,17 +3325,17 @@ const _n = {
3311
3325
  x: a.x - t.value.chart.comments.width / 2 + t.value.chart.comments.offsetX,
3312
3326
  y: a.y + t.value.chart.comments.offsetY + 6
3313
3327
  }, [
3314
- k("div", gu, [
3328
+ k("div", gi, [
3315
3329
  te(l.$slots, "plot-comment", {
3316
- plot: { ...a, color: e.color, seriesIndex: u, datapointIndex: r }
3330
+ plot: { ...a, color: e.color, seriesIndex: i, datapointIndex: r }
3317
3331
  }, void 0, !0)
3318
3332
  ])
3319
- ], 8, mu)) : g("", !0)
3333
+ ], 8, mi)) : g("", !0)
3320
3334
  ]))), 128)),
3321
- Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(h(ue)(e.plots).trend) ? (n(), i("g", xu, [
3335
+ Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(h(ie)(e.plots).trend) ? (n(), u("g", xi, [
3322
3336
  k("defs", null, [
3323
3337
  k("marker", {
3324
- id: `plot_arrow_${u}`,
3338
+ id: `plot_arrow_${i}`,
3325
3339
  markerWidth: 7,
3326
3340
  markerHeight: 7,
3327
3341
  refX: "0",
@@ -3331,48 +3345,48 @@ const _n = {
3331
3345
  k("polygon", {
3332
3346
  points: `0 0, 7 ${7 / 2}, 0 7`,
3333
3347
  fill: e.color
3334
- }, null, 8, yu)
3335
- ], 8, bu)
3348
+ }, null, 8, yi)
3349
+ ], 8, bi)
3336
3350
  ]),
3337
- e.plots.length > 1 ? (n(), i("line", {
3351
+ e.plots.length > 1 ? (n(), u("line", {
3338
3352
  key: 0,
3339
- x1: h(ue)(e.plots).x1,
3340
- x2: h(ue)(e.plots).x2,
3341
- y1: h(j)(h(ue)(e.plots).y1),
3342
- y2: h(j)(h(ue)(e.plots).y2),
3353
+ x1: h(ie)(e.plots).x1,
3354
+ x2: h(ie)(e.plots).x2,
3355
+ y1: h(j)(h(ie)(e.plots).y1),
3356
+ y2: h(j)(h(ie)(e.plots).y2),
3343
3357
  "stroke-width": 1,
3344
3358
  stroke: e.color,
3345
3359
  "stroke-dasharray": 2,
3346
- "marker-end": `url(#plot_arrow_${u})`
3347
- }, null, 8, pu)) : g("", !0),
3348
- e.plots.length > 1 ? (n(), i("text", {
3360
+ "marker-end": `url(#plot_arrow_${i})`
3361
+ }, null, 8, pi)) : g("", !0),
3362
+ e.plots.length > 1 ? (n(), u("text", {
3349
3363
  key: 1,
3350
3364
  "text-anchor": "middle",
3351
- x: h(ue)(e.plots).x2,
3352
- y: h(ue)(e.plots).y2 - 6,
3353
- "font-size": C.value.plotLabels,
3365
+ x: h(ie)(e.plots).x2,
3366
+ y: h(ie)(e.plots).y2 - 6,
3367
+ "font-size": A.value.plotLabels,
3354
3368
  fill: e.color
3355
3369
  }, re(h(lt)({
3356
- v: h(ue)(e.plots).trend * 100,
3370
+ v: h(ie)(e.plots).trend * 100,
3357
3371
  s: "%",
3358
3372
  r: 2
3359
- })), 9, ku)) : g("", !0)
3373
+ })), 9, ki)) : g("", !0)
3360
3374
  ])) : g("", !0)
3361
3375
  ], 6))), 128)),
3362
- (n(!0), i(b, null, M(Re.value, (e, u) => (n(), i("g", {
3376
+ (n(!0), u(b, null, L(Re.value, (e, i) => (n(), u("g", {
3363
3377
  key: `serie_line_${e.id}`,
3364
- class: Ze(`serie_line_${u}`),
3365
- style: L(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3378
+ class: Ze(`serie_line_${i}`),
3379
+ style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3366
3380
  }, [
3367
- e.smooth && e.plots.length > 1 && e.curve ? (n(), i("path", {
3381
+ e.smooth && e.plots.length > 1 && e.curve ? (n(), u("path", {
3368
3382
  key: 0,
3369
3383
  d: `M${e.curve}`,
3370
3384
  stroke: t.value.chart.backgroundColor,
3371
3385
  "stroke-width": t.value.line.strokeWidth + 1,
3372
3386
  "stroke-dasharray": e.dashed ? t.value.line.strokeWidth * 2 : 0,
3373
3387
  fill: "none",
3374
- style: L({ transition: h(xe) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3375
- }, null, 12, wu)) : e.plots.length > 1 && e.straight ? (n(), i("path", {
3388
+ style: C({ transition: h(xe) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3389
+ }, null, 12, wi)) : e.plots.length > 1 && e.straight ? (n(), u("path", {
3376
3390
  key: 1,
3377
3391
  d: `M${e.straight}`,
3378
3392
  stroke: t.value.chart.backgroundColor,
@@ -3381,60 +3395,60 @@ const _n = {
3381
3395
  fill: "none",
3382
3396
  "stroke-linecap": "round",
3383
3397
  "stroke-linejoin": "round",
3384
- style: L({ transition: h(xe) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3385
- }, null, 12, Su)) : g("", !0)
3398
+ style: C({ transition: h(xe) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3399
+ }, null, 12, Si)) : g("", !0)
3386
3400
  ], 6))), 128)),
3387
- l.$slots.pattern ? (n(), i("defs", $u, [
3388
- (n(!0), i(b, null, M(je.value, (e, u) => te(l.$slots, "pattern", Yt({
3401
+ l.$slots.pattern ? (n(), u("defs", $i, [
3402
+ (n(!0), u(b, null, L(je.value, (e, i) => te(l.$slots, "pattern", Gt({
3389
3403
  key: `serie_pattern_slot_${e.id}`
3390
- }, { ref_for: !0 }, { ...e, seriesIndex: e.slotAbsoluteIndex, patternId: `pattern_${Z.value}_${u}` }), void 0, !0)), 128))
3404
+ }, { ref_for: !0 }, { ...e, seriesIndex: e.slotAbsoluteIndex, patternId: `pattern_${Z.value}_${i}` }), void 0, !0)), 128))
3391
3405
  ])) : g("", !0),
3392
- Qa.value.length && !p.value.isStacked ? (n(), i("g", _u, [
3393
- (n(!0), i(b, null, M(Qa.value, (e) => (n(), i("path", {
3406
+ Qa.value.length && !p.value.isStacked ? (n(), u("g", _i, [
3407
+ (n(!0), u(b, null, L(Qa.value, (e) => (n(), u("path", {
3394
3408
  key: e.key,
3395
3409
  d: e.d,
3396
3410
  fill: e.color,
3397
3411
  "fill-opacity": t.value.line.interLine.fillOpacity,
3398
3412
  stroke: "none",
3399
3413
  "pointer-events": "none",
3400
- style: L({ transition: h(xe) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3401
- }, null, 12, Mu))), 128))
3414
+ style: C({ transition: h(xe) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3415
+ }, null, 12, Mi))), 128))
3402
3416
  ])) : g("", !0),
3403
- (n(!0), i(b, null, M(Re.value, (e, u) => (n(), i("g", {
3417
+ (n(!0), u(b, null, L(Re.value, (e, i) => (n(), u("g", {
3404
3418
  key: `serie_line_above_${e.id}`,
3405
- class: Ze(`serie_line_${u}`),
3406
- style: L(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3419
+ class: Ze(`serie_line_${i}`),
3420
+ style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3407
3421
  }, [
3408
- e.useArea && e.plots.length > 1 ? (n(), i("g", Lu, [
3409
- e.smooth ? (n(!0), i(b, { key: 0 }, M(e.curveAreas, (a, r) => (n(), i(b, { key: r }, [
3410
- a ? (n(), i("path", {
3422
+ e.useArea && e.plots.length > 1 ? (n(), u("g", Li, [
3423
+ e.smooth ? (n(!0), u(b, { key: 0 }, L(e.curveAreas, (a, r) => (n(), u(b, { key: r }, [
3424
+ a ? (n(), u("path", {
3411
3425
  key: 0,
3412
3426
  d: a,
3413
- fill: t.value.line.area.useGradient ? `url(#areaGradient_${u}_${Z.value})` : h(vt)(e.color, t.value.line.area.opacity),
3414
- style: L({ transition: h(xe) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3415
- }, null, 12, Cu)) : g("", !0),
3416
- l.$slots.pattern && a ? (n(), i("path", {
3427
+ fill: t.value.line.area.useGradient ? `url(#areaGradient_${i}_${Z.value})` : h(vt)(e.color, t.value.line.area.opacity),
3428
+ style: C({ transition: h(xe) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3429
+ }, null, 12, Ci)) : g("", !0),
3430
+ l.$slots.pattern && a ? (n(), u("path", {
3417
3431
  key: 1,
3418
3432
  d: a,
3419
3433
  fill: `url(#pattern_${Z.value}_${e.slotAbsoluteIndex})`,
3420
- style: L({ transition: h(xe) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3421
- }, null, 12, Au)) : g("", !0)
3422
- ], 64))), 128)) : (n(!0), i(b, { key: 1 }, M(e.area.split(";"), (a, r) => (n(), i(b, { key: r }, [
3423
- a ? (n(), i("path", {
3434
+ style: C({ transition: h(xe) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3435
+ }, null, 12, Ai)) : g("", !0)
3436
+ ], 64))), 128)) : (n(!0), u(b, { key: 1 }, L(e.area.split(";"), (a, r) => (n(), u(b, { key: r }, [
3437
+ a ? (n(), u("path", {
3424
3438
  key: 0,
3425
3439
  d: `M${a}Z`,
3426
- fill: t.value.line.area.useGradient ? `url(#areaGradient_${u}_${Z.value})` : h(vt)(e.color, t.value.line.area.opacity),
3427
- style: L({ transition: h(xe) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3428
- }, null, 12, zu)) : g("", !0),
3429
- l.$slots.pattern && a ? (n(), i("path", {
3440
+ fill: t.value.line.area.useGradient ? `url(#areaGradient_${i}_${Z.value})` : h(vt)(e.color, t.value.line.area.opacity),
3441
+ style: C({ transition: h(xe) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3442
+ }, null, 12, zi)) : g("", !0),
3443
+ l.$slots.pattern && a ? (n(), u("path", {
3430
3444
  key: 1,
3431
3445
  d: `M${a}Z`,
3432
3446
  fill: `url(#pattern_${Z.value}_${e.slotAbsoluteIndex})`,
3433
- style: L({ transition: h(xe) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3434
- }, null, 12, Tu)) : g("", !0)
3447
+ style: C({ transition: h(xe) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3448
+ }, null, 12, Ti)) : g("", !0)
3435
3449
  ], 64))), 128))
3436
3450
  ])) : g("", !0),
3437
- e.smooth && e.plots.length > 1 && e.curve ? (n(), i("path", {
3451
+ e.smooth && e.plots.length > 1 && e.curve ? (n(), u("path", {
3438
3452
  key: 1,
3439
3453
  d: `M${e.curve}`,
3440
3454
  stroke: e.color,
@@ -3442,8 +3456,8 @@ const _n = {
3442
3456
  "stroke-dasharray": e.dashed ? t.value.line.strokeWidth * 2 : 0,
3443
3457
  fill: "none",
3444
3458
  "stroke-linecap": "round",
3445
- style: L({ transition: h(xe) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3446
- }, null, 12, Iu)) : e.plots.length > 1 && e.straight ? (n(), i("path", {
3459
+ style: C({ transition: h(xe) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3460
+ }, null, 12, Ii)) : e.plots.length > 1 && e.straight ? (n(), u("path", {
3447
3461
  key: 2,
3448
3462
  d: `M${e.straight}`,
3449
3463
  stroke: e.color,
@@ -3452,22 +3466,22 @@ const _n = {
3452
3466
  fill: "none",
3453
3467
  "stroke-linecap": "round",
3454
3468
  "stroke-linejoin": "round",
3455
- style: L({ transition: h(xe) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3456
- }, null, 12, Nu)) : g("", !0),
3457
- (n(!0), i(b, null, M(e.plots, (a, r) => (n(), i(b, {
3458
- key: `circle_line_${u}_${r}`
3469
+ style: C({ transition: h(xe) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3470
+ }, null, 12, Ni)) : g("", !0),
3471
+ (n(!0), u(b, null, L(e.plots, (a, r) => (n(), u(b, {
3472
+ key: `circle_line_${i}_${r}`
3459
3473
  }, [
3460
- !Ua.value.linePlot && a && Ye(a.value) || Ua.value.linePlot && a && Ye(a.value) && (_.value !== null && _.value === r || X.value !== null && X.value === r) || Ja(e.plots, r) ? (n(), ct(ga, {
3474
+ !Ua.value.linePlot && a && Ye(a.value) || Ua.value.linePlot && a && Ye(a.value) && (M.value !== null && M.value === r || X.value !== null && X.value === r) || Ja(e.plots, r) ? (n(), ct(ga, {
3461
3475
  key: 0,
3462
3476
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(e.shape) ? e.shape : "circle",
3463
- color: t.value.line.useGradient ? `url(#lineGradient_${u}_${Z.value})` : t.value.line.dot.useSerieColor ? e.color : t.value.line.dot.fill,
3477
+ color: t.value.line.useGradient ? `url(#lineGradient_${i}_${Z.value})` : t.value.line.dot.useSerieColor ? e.color : t.value.line.dot.fill,
3464
3478
  plot: { x: h(q)(a.x), y: h(q)(a.y) },
3465
- radius: _.value !== null && _.value === r || X.value !== null && X.value === r ? (De.value.line || 6) * 1.5 : (Ja(e.plots, r), De.value.line || 6),
3479
+ radius: M.value !== null && M.value === r || X.value !== null && X.value === r ? (De.value.line || 6) * 1.5 : (Ja(e.plots, r), De.value.line || 6),
3466
3480
  stroke: t.value.line.dot.useSerieColor ? t.value.chart.backgroundColor : e.color,
3467
3481
  strokeWidth: t.value.line.dot.strokeWidth,
3468
- transition: h(xe) || !t.value.line.showTransition || _.value !== null && _.value === r || X.value !== null && X.value === r ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out`
3482
+ transition: h(xe) || !t.value.line.showTransition || M.value !== null && M.value === r || X.value !== null && X.value === r ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out`
3469
3483
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth", "transition"])) : g("", !0),
3470
- a.comment && t.value.chart.comments.show ? (n(), i("foreignObject", {
3484
+ a.comment && t.value.chart.comments.show ? (n(), u("foreignObject", {
3471
3485
  key: 1,
3472
3486
  style: { overflow: "visible" },
3473
3487
  height: "12",
@@ -3475,17 +3489,17 @@ const _n = {
3475
3489
  x: a.x - t.value.chart.comments.width / 2 + t.value.chart.comments.offsetX,
3476
3490
  y: a.y + t.value.chart.comments.offsetY + 6
3477
3491
  }, [
3478
- k("div", Fu, [
3492
+ k("div", Fi, [
3479
3493
  te(l.$slots, "plot-comment", {
3480
- plot: { ...a, color: e.color, seriesIndex: u, datapointIndex: r }
3494
+ plot: { ...a, color: e.color, seriesIndex: i, datapointIndex: r }
3481
3495
  }, void 0, !0)
3482
3496
  ])
3483
- ], 8, Pu)) : g("", !0)
3497
+ ], 8, Pi)) : g("", !0)
3484
3498
  ], 64))), 128)),
3485
- Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(h(ue)(e.plots).trend) ? (n(), i("g", Ru, [
3499
+ Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(h(ie)(e.plots).trend) ? (n(), u("g", Ri, [
3486
3500
  k("defs", null, [
3487
3501
  k("marker", {
3488
- id: `line_arrow_${u}`,
3502
+ id: `line_arrow_${i}`,
3489
3503
  markerWidth: 7,
3490
3504
  markerHeight: 7,
3491
3505
  refX: "0",
@@ -3495,49 +3509,49 @@ const _n = {
3495
3509
  k("polygon", {
3496
3510
  points: `0 0, 7 ${7 / 2}, 0 7`,
3497
3511
  fill: e.color
3498
- }, null, 8, Vu)
3499
- ], 8, Ou)
3512
+ }, null, 8, Vi)
3513
+ ], 8, Oi)
3500
3514
  ]),
3501
- e.plots.length > 1 ? (n(), i("line", {
3515
+ e.plots.length > 1 ? (n(), u("line", {
3502
3516
  key: 0,
3503
- x1: h(ue)(e.plots).x1,
3504
- x2: h(ue)(e.plots).x2,
3505
- y1: h(j)(h(ue)(e.plots).y1),
3506
- y2: h(j)(h(ue)(e.plots).y2),
3517
+ x1: h(ie)(e.plots).x1,
3518
+ x2: h(ie)(e.plots).x2,
3519
+ y1: h(j)(h(ie)(e.plots).y1),
3520
+ y2: h(j)(h(ie)(e.plots).y2),
3507
3521
  "stroke-width": 1,
3508
3522
  stroke: e.color,
3509
3523
  "stroke-dasharray": 2,
3510
- "marker-end": `url(#line_arrow_${u})`
3511
- }, null, 8, Bu)) : g("", !0),
3512
- e.plots.length > 1 ? (n(), i("text", {
3524
+ "marker-end": `url(#line_arrow_${i})`
3525
+ }, null, 8, Bi)) : g("", !0),
3526
+ e.plots.length > 1 ? (n(), u("text", {
3513
3527
  key: 1,
3514
3528
  "text-anchor": "middle",
3515
- x: h(ue)(e.plots).x2,
3516
- y: h(ue)(e.plots).y2 - 6,
3517
- "font-size": C.value.plotLabels,
3529
+ x: h(ie)(e.plots).x2,
3530
+ y: h(ie)(e.plots).y2 - 6,
3531
+ "font-size": A.value.plotLabels,
3518
3532
  fill: e.color
3519
3533
  }, re(h(lt)({
3520
- v: h(ue)(e.plots).trend * 100,
3534
+ v: h(ie)(e.plots).trend * 100,
3521
3535
  s: "%",
3522
3536
  r: 2
3523
- })), 9, Eu)) : g("", !0)
3537
+ })), 9, Ei)) : g("", !0)
3524
3538
  ])) : g("", !0)
3525
3539
  ], 6))), 128)),
3526
- (t.value.bar.labels.show || t.value.bar.serieName.show) && p.value.dataLabels.show ? (n(), i("g", Hu, [
3527
- (n(!0), i(b, null, M(Tt.value, (e, u) => (n(), i(b, {
3540
+ (t.value.bar.labels.show || t.value.bar.serieName.show) && p.value.dataLabels.show ? (n(), u("g", Hi, [
3541
+ (n(!0), u(b, null, L(It.value, (e, i) => (n(), u(b, {
3528
3542
  key: `xLabel_bar_${e.id}`
3529
3543
  }, [
3530
- (n(!0), i(b, null, M(e.plots, (a, r) => (n(), i(b, {
3531
- key: `xLabel_bar_${u}_${r}`
3544
+ (n(!0), u(b, null, L(e.plots, (a, r) => (n(), u(b, {
3545
+ key: `xLabel_bar_${i}_${r}`
3532
3546
  }, [
3533
- a && (!Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || _.value !== null && _.value === r || X.value !== null && X.value === r) && t.value.bar.labels.show ? (n(), i("text", {
3547
+ a && (!Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || M.value !== null && M.value === r || X.value !== null && X.value === r) && t.value.bar.labels.show ? (n(), u("text", {
3534
3548
  key: 0,
3535
- x: p.value.useIndividualScale && p.value.isStacked ? a.x + ve.value.line / 2 : ia(a) + Sl() / 2 - sa.value / 2,
3549
+ x: p.value.useIndividualScale && p.value.isStacked ? a.x + de.value.line / 2 : ua(a) + Sl() / 2 - sa.value / 2,
3536
3550
  y: h(q)(a.y) + (a.value >= 0 ? t.value.bar.labels.offsetY : -t.value.bar.labels.offsetY * 3),
3537
3551
  "text-anchor": "middle",
3538
- "font-size": C.value.plotLabels,
3552
+ "font-size": A.value.plotLabels,
3539
3553
  fill: t.value.bar.labels.color,
3540
- style: L(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3554
+ style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3541
3555
  }, re(Ye(a.value) ? h(ze)(
3542
3556
  t.value.bar.labels.formatter,
3543
3557
  a.value,
@@ -3551,38 +3565,38 @@ const _n = {
3551
3565
  datapoint: a,
3552
3566
  serie: e
3553
3567
  }
3554
- ) : ""), 13, Du)) : g("", !0),
3555
- a && t.value.bar.serieName.show ? (n(), i("text", {
3568
+ ) : ""), 13, Di)) : g("", !0),
3569
+ a && t.value.bar.serieName.show ? (n(), u("text", {
3556
3570
  key: 1,
3557
- x: p.value.useIndividualScale && p.value.isStacked ? a.x + ve.value.line / 2 : a.x + Sl() * 1.1,
3571
+ x: p.value.useIndividualScale && p.value.isStacked ? a.x + de.value.line / 2 : a.x + Sl() * 1.1,
3558
3572
  y: a.y + (a.value > 0 ? t.value.bar.serieName.offsetY : -t.value.bar.serieName.offsetY * 3),
3559
3573
  "text-anchor": "middle",
3560
- "font-size": C.value.plotLabels,
3574
+ "font-size": A.value.plotLabels,
3561
3575
  fill: t.value.bar.serieName.useSerieColor ? e.color : t.value.bar.serieName.color,
3562
3576
  "font-weight": t.value.bar.serieName.bold ? "bold" : "normal",
3563
- style: L(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3577
+ style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3564
3578
  }, re(t.value.bar.serieName.useAbbreviation ? h(un)({
3565
3579
  source: e.name,
3566
3580
  length: t.value.bar.serieName.abbreviationSize
3567
- }) : e.name), 13, Wu)) : g("", !0)
3581
+ }) : e.name), 13, Wi)) : g("", !0)
3568
3582
  ], 64))), 128))
3569
3583
  ], 64))), 128))
3570
3584
  ])) : g("", !0),
3571
- t.value.plot.labels.show && p.value.dataLabels.show ? (n(), i("g", Xu, [
3572
- (n(!0), i(b, null, M(rt.value, (e, u) => (n(), i(b, {
3585
+ t.value.plot.labels.show && p.value.dataLabels.show ? (n(), u("g", Xi, [
3586
+ (n(!0), u(b, null, L(rt.value, (e, i) => (n(), u(b, {
3573
3587
  key: `xLabel_plot_${e.id}`
3574
3588
  }, [
3575
- (n(!0), i(b, null, M(e.plots, (a, r) => (n(), i(b, {
3576
- key: `xLabel_plot_${u}_${r}`
3589
+ (n(!0), u(b, null, L(e.plots, (a, r) => (n(), u(b, {
3590
+ key: `xLabel_plot_${i}_${r}`
3577
3591
  }, [
3578
- a && !Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || _.value !== null && _.value === r || X.value !== null && X.value === r ? (n(), i("text", {
3592
+ a && !Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || M.value !== null && M.value === r || X.value !== null && X.value === r ? (n(), u("text", {
3579
3593
  key: 0,
3580
3594
  x: a.x,
3581
3595
  y: a.y + t.value.plot.labels.offsetY,
3582
3596
  "text-anchor": "middle",
3583
- "font-size": C.value.plotLabels,
3597
+ "font-size": A.value.plotLabels,
3584
3598
  fill: t.value.plot.labels.color,
3585
- style: L(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3599
+ style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3586
3600
  }, re(Ye(a.value) ? h(ze)(
3587
3601
  t.value.plot.labels.formatter,
3588
3602
  a.value,
@@ -3596,18 +3610,18 @@ const _n = {
3596
3610
  datapoint: a,
3597
3611
  serie: e
3598
3612
  }
3599
- ) : ""), 13, Yu)) : g("", !0)
3613
+ ) : ""), 13, Yi)) : g("", !0)
3600
3614
  ], 64))), 128))
3601
3615
  ], 64))), 128))
3602
- ])) : (n(), i("g", Gu, [
3603
- (n(!0), i(b, null, M(rt.value, (e, u) => (n(), i(b, {
3616
+ ])) : (n(), u("g", Gi, [
3617
+ (n(!0), u(b, null, L(rt.value, (e, i) => (n(), u(b, {
3604
3618
  key: `xLabel_plot_${e.id}`
3605
3619
  }, [
3606
- (n(!0), i(b, null, M(e.plots, (a, r) => (n(), i(b, {
3607
- key: `xLabel_plot_${u}_${r}`
3620
+ (n(!0), u(b, null, L(e.plots, (a, r) => (n(), u(b, {
3621
+ key: `xLabel_plot_${i}_${r}`
3608
3622
  }, [
3609
- t.value.plot.tag.followValue ? (n(), i(b, { key: 1 }, [
3610
- [X.value, _.value, ae.value].includes(r) && e.useTag ? (n(), i("line", {
3623
+ t.value.plot.tag.followValue ? (n(), u(b, { key: 1 }, [
3624
+ [X.value, M.value, ae.value].includes(r) && e.useTag ? (n(), u("line", {
3611
3625
  key: 0,
3612
3626
  class: "vue-ui-xy-tag-plot",
3613
3627
  x1: c.value.left,
@@ -3618,18 +3632,18 @@ const _n = {
3618
3632
  "stroke-linecap": "round",
3619
3633
  "stroke-dasharray": "2",
3620
3634
  stroke: e.color
3621
- }, null, 8, Ju)) : g("", !0)
3622
- ], 64)) : (n(), i(b, { key: 0 }, [
3623
- a && r === 0 && e.useTag && e.useTag === "start" ? (n(), i("foreignObject", {
3635
+ }, null, 8, Ji)) : g("", !0)
3636
+ ], 64)) : (n(), u(b, { key: 0 }, [
3637
+ a && r === 0 && e.useTag && e.useTag === "start" ? (n(), u("foreignObject", {
3624
3638
  key: 0,
3625
3639
  x: a.x,
3626
3640
  y: a.y - 20,
3627
3641
  height: 24,
3628
3642
  width: "150",
3629
- style: L(`overflow: visible; opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3643
+ style: C(`overflow: visible; opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3630
3644
  }, [
3631
3645
  k("div", {
3632
- style: L(`padding: 3px; background:${h(vt)(e.color, 80)};color:${h(dt)(e.color)};width:fit-content;font-size:${C.value.plotLabels}px;border-radius: 2px;`),
3646
+ style: C(`padding: 3px; background:${h(vt)(e.color, 80)};color:${h(dt)(e.color)};width:fit-content;font-size:${A.value.plotLabels}px;border-radius: 2px;`),
3633
3647
  innerHTML: h(ze)(
3634
3648
  t.value.plot.tag.formatter,
3635
3649
  a.value,
@@ -3640,18 +3654,18 @@ const _n = {
3640
3654
  serieName: e.name
3641
3655
  }
3642
3656
  )
3643
- }, null, 12, qu)
3644
- ], 12, Uu)) : g("", !0),
3645
- a && r === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (n(), i("foreignObject", {
3657
+ }, null, 12, qi)
3658
+ ], 12, Ui)) : g("", !0),
3659
+ a && r === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (n(), u("foreignObject", {
3646
3660
  key: 1,
3647
- x: a.x - e.name.length * (C.value.plotLabels / 2),
3661
+ x: a.x - e.name.length * (A.value.plotLabels / 2),
3648
3662
  y: a.y - 20,
3649
3663
  height: 24,
3650
3664
  width: "150",
3651
- style: L(`overflow: visible; opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3665
+ style: C(`overflow: visible; opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3652
3666
  }, [
3653
3667
  k("div", {
3654
- style: L(`padding: 3px; background:${h(vt)(e.color, 80)};color:${h(dt)(e.color)};width:fit-content;font-size:${C.value.plotLabels}px;border-radius: 2px;`),
3668
+ style: C(`padding: 3px; background:${h(vt)(e.color, 80)};color:${h(dt)(e.color)};width:fit-content;font-size:${A.value.plotLabels}px;border-radius: 2px;`),
3655
3669
  innerHTML: h(ze)(
3656
3670
  t.value.plot.tag.formatter,
3657
3671
  a.value,
@@ -3662,27 +3676,27 @@ const _n = {
3662
3676
  serieName: e.name
3663
3677
  }
3664
3678
  )
3665
- }, null, 12, Ku)
3666
- ], 12, Zu)) : g("", !0)
3679
+ }, null, 12, Ki)
3680
+ ], 12, Zi)) : g("", !0)
3667
3681
  ], 64))
3668
3682
  ], 64))), 128))
3669
3683
  ], 64))), 128))
3670
3684
  ])),
3671
- t.value.line.labels.show && p.value.dataLabels.show ? (n(), i("g", Qu, [
3672
- (n(!0), i(b, null, M(Re.value, (e, u) => (n(), i(b, {
3685
+ t.value.line.labels.show && p.value.dataLabels.show ? (n(), u("g", Qi, [
3686
+ (n(!0), u(b, null, L(Re.value, (e, i) => (n(), u(b, {
3673
3687
  key: `xLabel_line_${e.id}`
3674
3688
  }, [
3675
- (n(!0), i(b, null, M(e.plots, (a, r) => (n(), i(b, {
3676
- key: `xLabel_line_${u}_${r}`
3689
+ (n(!0), u(b, null, L(e.plots, (a, r) => (n(), u(b, {
3690
+ key: `xLabel_line_${i}_${r}`
3677
3691
  }, [
3678
- a && !Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || _.value !== null && _.value === r || X.value !== null && X.value === r ? (n(), i("text", {
3692
+ a && !Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || M.value !== null && M.value === r || X.value !== null && X.value === r ? (n(), u("text", {
3679
3693
  key: 0,
3680
3694
  x: a.x,
3681
3695
  y: a.y + (a.value >= 0 ? t.value.line.labels.offsetY : -t.value.line.labels.offsetY * 3),
3682
3696
  "text-anchor": "middle",
3683
- "font-size": C.value.plotLabels,
3697
+ "font-size": A.value.plotLabels,
3684
3698
  fill: t.value.line.labels.color,
3685
- style: L(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3699
+ style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3686
3700
  }, re(Ye(a.value) ? h(ze)(
3687
3701
  t.value.line.labels.formatter,
3688
3702
  a.value,
@@ -3696,18 +3710,18 @@ const _n = {
3696
3710
  datapoint: a,
3697
3711
  serie: e
3698
3712
  }
3699
- ) : ""), 13, ju)) : g("", !0)
3713
+ ) : ""), 13, ji)) : g("", !0)
3700
3714
  ], 64))), 128))
3701
3715
  ], 64))), 128))
3702
- ])) : (n(), i("g", es, [
3703
- (n(!0), i(b, null, M(Re.value, (e, u) => (n(), i(b, {
3716
+ ])) : (n(), u("g", es, [
3717
+ (n(!0), u(b, null, L(Re.value, (e, i) => (n(), u(b, {
3704
3718
  key: `xLabel_line_${e.id}`
3705
3719
  }, [
3706
- (n(!0), i(b, null, M(e.plots, (a, r) => (n(), i(b, {
3707
- key: `xLabel_line_${u}_${r}`
3720
+ (n(!0), u(b, null, L(e.plots, (a, r) => (n(), u(b, {
3721
+ key: `xLabel_line_${i}_${r}`
3708
3722
  }, [
3709
- t.value.line.tag.followValue ? (n(), i(b, { key: 1 }, [
3710
- [X.value, _.value, ae.value].includes(r) && e.useTag ? (n(), i("line", {
3723
+ t.value.line.tag.followValue ? (n(), u(b, { key: 1 }, [
3724
+ [X.value, M.value, ae.value].includes(r) && e.useTag ? (n(), u("line", {
3711
3725
  key: 0,
3712
3726
  class: "vue-ui-xy-tag-line",
3713
3727
  x1: c.value.left,
@@ -3719,17 +3733,17 @@ const _n = {
3719
3733
  "stroke-dasharray": "2",
3720
3734
  stroke: e.color
3721
3735
  }, null, 8, ns)) : g("", !0)
3722
- ], 64)) : (n(), i(b, { key: 0 }, [
3723
- a && r === 0 && e.useTag && e.useTag === "start" ? (n(), i("foreignObject", {
3736
+ ], 64)) : (n(), u(b, { key: 0 }, [
3737
+ a && r === 0 && e.useTag && e.useTag === "start" ? (n(), u("foreignObject", {
3724
3738
  key: 0,
3725
3739
  x: a.x,
3726
3740
  y: a.y - 20,
3727
3741
  height: 24,
3728
3742
  width: "150",
3729
- style: L(`overflow: visible; opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3743
+ style: C(`overflow: visible; opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3730
3744
  }, [
3731
3745
  k("div", {
3732
- style: L(`padding: 3px; background:${h(vt)(e.color, 80)};color:${h(dt)(e.color)};width:fit-content;font-size:${C.value.plotLabels}px;border-radius: 2px;`),
3746
+ style: C(`padding: 3px; background:${h(vt)(e.color, 80)};color:${h(dt)(e.color)};width:fit-content;font-size:${A.value.plotLabels}px;border-radius: 2px;`),
3733
3747
  innerHTML: h(ze)(
3734
3748
  t.value.line.tag.formatter,
3735
3749
  a.value,
@@ -3742,16 +3756,16 @@ const _n = {
3742
3756
  )
3743
3757
  }, null, 12, ls)
3744
3758
  ], 12, ts)) : g("", !0),
3745
- a && r === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (n(), i("foreignObject", {
3759
+ a && r === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (n(), u("foreignObject", {
3746
3760
  key: 1,
3747
3761
  x: a.x,
3748
3762
  y: a.y - 20,
3749
3763
  height: 24,
3750
3764
  width: "150",
3751
- style: L(`overflow: visible; opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3765
+ style: C(`overflow: visible; opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3752
3766
  }, [
3753
3767
  k("div", {
3754
- style: L(`padding: 3px; background:${h(vt)(e.color, 80)};color:${h(dt)(e.color)};width:fit-content;font-size:${C.value.plotLabels}px;border-radius: 2px;`),
3768
+ style: C(`padding: 3px; background:${h(vt)(e.color, 80)};color:${h(dt)(e.color)};width:fit-content;font-size:${A.value.plotLabels}px;border-radius: 2px;`),
3755
3769
  innerHTML: h(ze)(
3756
3770
  t.value.line.tag.formatter,
3757
3771
  a.value,
@@ -3768,94 +3782,94 @@ const _n = {
3768
3782
  ], 64))), 128))
3769
3783
  ], 64))), 128))
3770
3784
  ])),
3771
- (n(!0), i(b, null, M(Re.value, (e, u) => (n(), i(b, {
3785
+ (n(!0), u(b, null, L(Re.value, (e, i) => (n(), u(b, {
3772
3786
  key: `xLabel_line_${e.id}`
3773
3787
  }, [
3774
- (n(!0), i(b, null, M(e.plots, (a, r) => (n(), i(b, {
3775
- key: `xLabel_line_${u}_${r}`
3788
+ (n(!0), u(b, null, L(e.plots, (a, r) => (n(), u(b, {
3789
+ key: `xLabel_line_${i}_${r}`
3776
3790
  }, [
3777
- a && r === 0 && e.showSerieName && e.showSerieName === "start" ? (n(), i("text", {
3791
+ a && r === 0 && e.showSerieName && e.showSerieName === "start" ? (n(), u("text", {
3778
3792
  key: 0,
3779
- x: a.x - C.value.plotLabels,
3793
+ x: a.x - A.value.plotLabels,
3780
3794
  y: a.y,
3781
- "font-size": C.value.plotLabels,
3795
+ "font-size": A.value.plotLabels,
3782
3796
  "text-anchor": "end",
3783
3797
  fill: e.color,
3784
3798
  innerHTML: h(ma)({
3785
3799
  content: e.name,
3786
- fontSize: C.value.plotLabels,
3800
+ fontSize: A.value.plotLabels,
3787
3801
  fill: e.color,
3788
- x: a.x - C.value.plotLabels,
3802
+ x: a.x - A.value.plotLabels,
3789
3803
  y: a.y,
3790
3804
  maxWords: 2
3791
3805
  }),
3792
- style: L(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3793
- }, null, 12, is)) : g("", !0),
3794
- a && r === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (n(), i("text", {
3806
+ style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3807
+ }, null, 12, us)) : g("", !0),
3808
+ a && r === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (n(), u("text", {
3795
3809
  key: 1,
3796
- x: a.x + C.value.plotLabels,
3810
+ x: a.x + A.value.plotLabels,
3797
3811
  y: a.y,
3798
- "font-size": C.value.plotLabels,
3812
+ "font-size": A.value.plotLabels,
3799
3813
  "text-anchor": "start",
3800
3814
  fill: e.color,
3801
3815
  innerHTML: h(ma)({
3802
3816
  content: e.name,
3803
- fontSize: C.value.plotLabels,
3817
+ fontSize: A.value.plotLabels,
3804
3818
  fill: e.color,
3805
- x: a.x + C.value.plotLabels,
3819
+ x: a.x + A.value.plotLabels,
3806
3820
  y: a.y,
3807
3821
  maxWords: 2
3808
3822
  }),
3809
- style: L(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3810
- }, null, 12, us)) : g("", !0)
3823
+ style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3824
+ }, null, 12, is)) : g("", !0)
3811
3825
  ], 64))), 128))
3812
3826
  ], 64))), 128)),
3813
- (n(!0), i(b, null, M(rt.value, (e, u) => (n(), i(b, {
3827
+ (n(!0), u(b, null, L(rt.value, (e, i) => (n(), u(b, {
3814
3828
  key: `xLabel_plot_${e.id}`
3815
3829
  }, [
3816
- (n(!0), i(b, null, M(e.plots, (a, r) => (n(), i(b, {
3817
- key: `xLabel_plot_${u}_${r}`
3830
+ (n(!0), u(b, null, L(e.plots, (a, r) => (n(), u(b, {
3831
+ key: `xLabel_plot_${i}_${r}`
3818
3832
  }, [
3819
- a && r === 0 && e.showSerieName && e.showSerieName === "start" ? (n(), i("text", {
3833
+ a && r === 0 && e.showSerieName && e.showSerieName === "start" ? (n(), u("text", {
3820
3834
  key: 0,
3821
- x: a.x - C.value.plotLabels,
3835
+ x: a.x - A.value.plotLabels,
3822
3836
  y: a.y,
3823
- "font-size": C.value.plotLabels,
3837
+ "font-size": A.value.plotLabels,
3824
3838
  "text-anchor": "end",
3825
3839
  fill: e.color,
3826
3840
  innerHTML: h(ma)({
3827
3841
  content: e.name,
3828
- fontSize: C.value.plotLabels,
3842
+ fontSize: A.value.plotLabels,
3829
3843
  fill: e.color,
3830
- x: a.x - C.value.plotLabels,
3844
+ x: a.x - A.value.plotLabels,
3831
3845
  y: a.y,
3832
3846
  maxWords: 2
3833
3847
  }),
3834
- style: L(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3848
+ style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3835
3849
  }, null, 12, ss)) : g("", !0),
3836
- a && r === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (n(), i("text", {
3850
+ a && r === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (n(), u("text", {
3837
3851
  key: 1,
3838
- x: a.x + C.value.plotLabels,
3852
+ x: a.x + A.value.plotLabels,
3839
3853
  y: a.y,
3840
- "font-size": C.value.plotLabels,
3854
+ "font-size": A.value.plotLabels,
3841
3855
  "text-anchor": "start",
3842
3856
  fill: e.color,
3843
3857
  innerHTML: h(ma)({
3844
3858
  content: e.name,
3845
- fontSize: C.value.plotLabels,
3859
+ fontSize: A.value.plotLabels,
3846
3860
  fill: e.color,
3847
- x: a.x + C.value.plotLabels,
3861
+ x: a.x + A.value.plotLabels,
3848
3862
  y: a.y,
3849
3863
  maxWords: 2
3850
3864
  }),
3851
- style: L(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3865
+ style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3852
3866
  }, null, 12, rs)) : g("", !0)
3853
3867
  ], 64))), 128))
3854
3868
  ], 64))), 128)),
3855
- p.value.useIndividualScale && !p.value.isStacked ? (n(), i(b, { key: 13 }, [
3869
+ p.value.useIndividualScale && !p.value.isStacked ? (n(), u(b, { key: 13 }, [
3856
3870
  k("defs", null, [
3857
- (n(!0), i(b, null, M(Gl.value, (e, u) => (n(), i("linearGradient", {
3858
- id: `individual_scale_gradient_${Z.value}_${u}`,
3871
+ (n(!0), u(b, null, L(Gl.value, (e, i) => (n(), u("linearGradient", {
3872
+ id: `individual_scale_gradient_${Z.value}_${i}`,
3859
3873
  x1: "0%",
3860
3874
  x2: "100%",
3861
3875
  y1: "0%",
@@ -3873,99 +3887,99 @@ const _n = {
3873
3887
  }, null, 8, ds)
3874
3888
  ], 8, cs))), 256))
3875
3889
  ]),
3876
- (n(!0), i(b, null, M(Gl.value, (e, u) => (n(), i("rect", {
3877
- x: e.x - t.value.chart.grid.labels.yAxis.labelWidth + ie.value - c.value.individualOffsetX,
3890
+ (n(!0), u(b, null, L(Gl.value, (e, i) => (n(), u("rect", {
3891
+ x: e.x - t.value.chart.grid.labels.yAxis.labelWidth + ue.value - c.value.individualOffsetX,
3878
3892
  y: c.value.top,
3879
3893
  width: t.value.chart.grid.labels.yAxis.labelWidth + c.value.individualOffsetX,
3880
3894
  height: c.value.height < 0 ? 10 : c.value.height,
3881
- fill: E.value === e.groupId ? `url(#individual_scale_gradient_${Z.value}_${u})` : "transparent",
3895
+ fill: E.value === e.groupId ? `url(#individual_scale_gradient_${Z.value}_${i})` : "transparent",
3882
3896
  onMouseenter: (a) => E.value = e.groupId,
3883
3897
  onMouseleave: s[0] || (s[0] = (a) => E.value = null)
3884
3898
  }, null, 40, hs))), 256))
3885
3899
  ], 64)) : g("", !0),
3886
3900
  k("g", null, [
3887
- t.value.chart.grid.labels.axis.yLabel && !p.value.useIndividualScale ? (n(), i("text", {
3901
+ t.value.chart.grid.labels.axis.yLabel && !p.value.useIndividualScale ? (n(), u("text", {
3888
3902
  key: 0,
3889
3903
  ref_key: "yAxisLabel",
3890
- ref: Zt,
3891
- "font-size": C.value.yAxis,
3904
+ ref: Kt,
3905
+ "font-size": A.value.yAxis,
3892
3906
  fill: t.value.chart.grid.labels.color,
3893
3907
  transform: `translate(${t.value.chart.grid.labels.axis.fontSize}, ${c.value.top + c.value.height / 2}) rotate(-90)`,
3894
3908
  "text-anchor": "middle",
3895
3909
  style: { transition: "none" }
3896
3910
  }, re(t.value.chart.grid.labels.axis.yLabel), 9, fs)) : g("", !0),
3897
- t.value.chart.grid.labels.axis.xLabel ? (n(), i("text", {
3911
+ t.value.chart.grid.labels.axis.xLabel ? (n(), u("text", {
3898
3912
  key: 1,
3899
3913
  ref_key: "xAxisLabel",
3900
- ref: qt,
3914
+ ref: Zt,
3901
3915
  "text-anchor": "middle",
3902
3916
  x: le.value / 2,
3903
3917
  y: W.value - 3,
3904
- "font-size": C.value.yAxis,
3918
+ "font-size": A.value.yAxis,
3905
3919
  fill: t.value.chart.grid.labels.color
3906
3920
  }, re(t.value.chart.grid.labels.axis.xLabel), 9, ms)) : g("", !0)
3907
3921
  ]),
3908
- t.value.chart.grid.labels.xAxisLabels.show ? (n(), i("g", {
3922
+ t.value.chart.grid.labels.xAxisLabels.show ? (n(), u("g", {
3909
3923
  key: 14,
3910
3924
  ref_key: "timeLabelsEls",
3911
3925
  ref: Se
3912
3926
  }, [
3913
- l.$slots["time-label"] ? (n(!0), i(b, { key: 0 }, M(D.value, (e, u) => te(l.$slots, "time-label", Yt({
3927
+ l.$slots["time-label"] ? (n(!0), u(b, { key: 0 }, L(D.value, (e, i) => te(l.$slots, "time-label", Gt({
3914
3928
  key: `time_label_${e.id}`,
3915
3929
  ref_for: !0
3916
3930
  }, {
3917
- x: c.value.left + c.value.width / S.value * u + c.value.width / S.value / 2,
3931
+ x: c.value.left + c.value.width / S.value * i + c.value.width / S.value / 2,
3918
3932
  y: c.value.bottom,
3919
- fontSize: C.value.xAxis,
3933
+ fontSize: A.value.xAxis,
3920
3934
  fill: t.value.chart.grid.labels.xAxisLabels.color,
3921
- transform: `translate(${c.value.left + c.value.width / S.value * u + c.value.width / S.value / 2}, ${c.value.bottom + C.value.xAxis * 1.3 + t.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${t.value.chart.grid.labels.xAxisLabels.rotation})`,
3935
+ transform: `translate(${c.value.left + c.value.width / S.value * i + c.value.width / S.value / 2}, ${c.value.bottom + A.value.xAxis * 1.3 + t.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${t.value.chart.grid.labels.xAxisLabels.rotation})`,
3922
3936
  absoluteIndex: e.absoluteIndex,
3923
3937
  content: e.text,
3924
3938
  textAnchor: t.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : t.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
3925
3939
  show: e && e.text
3926
- }), void 0, !0)), 128)) : (n(!0), i(b, { key: 1 }, M(D.value, (e, u) => (n(), i("g", {
3927
- key: `time_label_${u}`
3940
+ }), void 0, !0)), 128)) : (n(!0), u(b, { key: 1 }, L(D.value, (e, i) => (n(), u("g", {
3941
+ key: `time_label_${i}`
3928
3942
  }, [
3929
- e && e.text ? (n(), i(b, { key: 0 }, [
3943
+ e && e.text ? (n(), u(b, { key: 0 }, [
3930
3944
  String(e.text).includes(`
3931
- `) ? (n(), i("text", {
3945
+ `) ? (n(), u("text", {
3932
3946
  key: 1,
3933
3947
  class: "vue-data-ui-time-label",
3934
3948
  "text-anchor": t.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : t.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
3935
- "font-size": C.value.xAxis,
3949
+ "font-size": A.value.xAxis,
3936
3950
  fill: t.value.chart.grid.labels.xAxisLabels.color,
3937
- transform: `translate(${c.value.left + c.value.width / S.value * u + c.value.width / S.value / 2}, ${c.value.bottom + C.value.xAxis * 1.5}), rotate(${t.value.chart.grid.labels.xAxisLabels.rotation})`,
3938
- style: L({
3951
+ transform: `translate(${c.value.left + c.value.width / S.value * i + c.value.width / S.value / 2}, ${c.value.bottom + A.value.xAxis * 1.5}), rotate(${t.value.chart.grid.labels.xAxisLabels.rotation})`,
3952
+ style: C({
3939
3953
  cursor: kl() ? "pointer" : "default"
3940
3954
  }),
3941
3955
  innerHTML: h(sn)({
3942
3956
  content: String(e.text),
3943
- fontSize: C.value.xAxis,
3957
+ fontSize: A.value.xAxis,
3944
3958
  fill: t.value.chart.grid.labels.xAxisLabels.color,
3945
3959
  x: 0,
3946
3960
  y: 0
3947
3961
  }),
3948
- onClick: () => ke(e, u)
3949
- }, null, 12, xs)) : (n(), i("text", {
3962
+ onClick: () => ke(e, i)
3963
+ }, null, 12, xs)) : (n(), u("text", {
3950
3964
  key: 0,
3951
3965
  class: "vue-data-ui-time-label",
3952
3966
  "text-anchor": t.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : t.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
3953
- "font-size": C.value.xAxis,
3967
+ "font-size": A.value.xAxis,
3954
3968
  fill: t.value.chart.grid.labels.xAxisLabels.color,
3955
- transform: `translate(${c.value.left + c.value.width / S.value * u + c.value.width / S.value / 2}, ${c.value.bottom + C.value.xAxis * 1.5}), rotate(${t.value.chart.grid.labels.xAxisLabels.rotation})`,
3956
- style: L({
3969
+ transform: `translate(${c.value.left + c.value.width / S.value * i + c.value.width / S.value / 2}, ${c.value.bottom + A.value.xAxis * 1.5}), rotate(${t.value.chart.grid.labels.xAxisLabels.rotation})`,
3970
+ style: C({
3957
3971
  cursor: kl() ? "pointer" : "default"
3958
3972
  }),
3959
- onClick: () => ke(e, u)
3973
+ onClick: () => ke(e, i)
3960
3974
  }, re(e.text || ""), 13, gs))
3961
3975
  ], 64)) : g("", !0)
3962
3976
  ]))), 128))
3963
3977
  ], 512)) : g("", !0),
3964
- Ka.value.length && !p.value.isStacked ? (n(), i("g", bs, [
3965
- (n(!0), i(b, null, M(Ka.value, (e) => (n(), i("g", {
3978
+ Ka.value.length && !p.value.isStacked ? (n(), u("g", bs, [
3979
+ (n(!0), u(b, null, L(Ka.value, (e) => (n(), u("g", {
3966
3980
  key: e.uid
3967
3981
  }, [
3968
- e.yTop && e.show && isFinite(e.yTop) ? (n(), i("line", {
3982
+ e.yTop && e.show && isFinite(e.yTop) ? (n(), u("line", {
3969
3983
  key: 0,
3970
3984
  x1: e.x1,
3971
3985
  y1: e.yTop,
@@ -3977,7 +3991,7 @@ const _n = {
3977
3991
  "stroke-linecap": "round",
3978
3992
  style: { animation: "none !important" }
3979
3993
  }, null, 8, ys)) : g("", !0),
3980
- e.yBottom && e.show && isFinite(e.yBottom) ? (n(), i("line", {
3994
+ e.yBottom && e.show && isFinite(e.yBottom) ? (n(), u("line", {
3981
3995
  key: 1,
3982
3996
  x1: e.x1,
3983
3997
  y1: e.yBottom,
@@ -3989,7 +4003,7 @@ const _n = {
3989
4003
  "stroke-linecap": "round",
3990
4004
  style: { animation: "none !important" }
3991
4005
  }, null, 8, ps)) : g("", !0),
3992
- e.hasArea && e.show && isFinite(e.yTop) && isFinite(e.yBottom) ? (n(), i("rect", {
4006
+ e.hasArea && e.show && isFinite(e.yTop) && isFinite(e.yBottom) ? (n(), u("rect", {
3993
4007
  key: 2,
3994
4008
  y: Math.min(e.yTop, e.yBottom),
3995
4009
  x: e.x1,
@@ -3998,11 +4012,11 @@ const _n = {
3998
4012
  fill: h(vt)(e.config.area.fill, e.config.area.opacity),
3999
4013
  style: { animation: "none !important" }
4000
4014
  }, null, 8, ks)) : g("", !0),
4001
- e.config.label.text && e.show && isFinite(e._box.y) ? (n(), i("rect", Yt({
4015
+ e.config.label.text && e.show && isFinite(e._box.y) ? (n(), u("rect", Gt({
4002
4016
  key: 3,
4003
4017
  class: "vue-ui-xy-annotation-label-box"
4004
4018
  }, { ref_for: !0 }, e._box, { style: { animation: "none !important", transition: "none !important" } }), null, 16)) : g("", !0),
4005
- e.config.label.text && e.show && isFinite(e._text.y) ? (n(), i("text", {
4019
+ e.config.label.text && e.show && isFinite(e._text.y) ? (n(), u("text", {
4006
4020
  key: 4,
4007
4021
  id: e.id,
4008
4022
  class: "vue-ui-xy-annotation-label",
@@ -4014,8 +4028,8 @@ const _n = {
4014
4028
  }, re(e.config.label.text), 9, ws)) : g("", !0)
4015
4029
  ]))), 128))
4016
4030
  ])) : g("", !0),
4017
- t.value.chart.timeTag.show && (![null, void 0].includes(_.value) || ![null, void 0].includes(X.value)) ? (n(), i("g", Ss, [
4018
- (n(), i("foreignObject", {
4031
+ t.value.chart.timeTag.show && (![null, void 0].includes(M.value) || ![null, void 0].includes(X.value)) ? (n(), u("g", Ss, [
4032
+ (n(), u("foreignObject", {
4019
4033
  x: Do(),
4020
4034
  y: c.value.bottom,
4021
4035
  width: "200",
@@ -4026,54 +4040,54 @@ const _n = {
4026
4040
  ref_key: "timeTagEl",
4027
4041
  ref: so,
4028
4042
  class: "vue-ui-xy-time-tag",
4029
- style: L(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${t.value.chart.timeTag.backgroundColor};color:${t.value.chart.timeTag.color};font-size:${t.value.chart.timeTag.fontSize}px`),
4043
+ style: C(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${t.value.chart.timeTag.backgroundColor};color:${t.value.chart.timeTag.color};font-size:${t.value.chart.timeTag.fontSize}px`),
4030
4044
  innerHTML: Wo.value
4031
4045
  }, null, 12, _s)
4032
4046
  ], 8, $s)),
4033
4047
  k("circle", {
4034
- cx: c.value.left + c.value.width / S.value * ((_.value !== null ? _.value : 0) || (X.value !== null ? X.value : 0)) + c.value.width / S.value / 2,
4048
+ cx: c.value.left + c.value.width / S.value * ((M.value !== null ? M.value : 0) || (X.value !== null ? X.value : 0)) + c.value.width / S.value / 2,
4035
4049
  cy: c.value.bottom,
4036
4050
  r: t.value.chart.timeTag.circleMarker.radius,
4037
4051
  fill: t.value.chart.timeTag.circleMarker.color
4038
4052
  }, null, 8, Ms)
4039
4053
  ])) : g("", !0)
4040
4054
  ])) : g("", !0),
4041
- ta.value ? (n(), i("rect", Yt({ key: 2 }, Ma.value, {
4055
+ ta.value ? (n(), u("rect", Gt({ key: 2 }, Ma.value, {
4042
4056
  "data-start": w.value.start,
4043
4057
  "data-end": w.value.end
4044
4058
  }), null, 16, Ls)) : g("", !0),
4045
4059
  te(l.$slots, "svg", { svg: xt.value }, void 0, !0)
4046
4060
  ], 512)
4047
- ], 46, gi)),
4048
- l.$slots.watermark ? (n(), i("div", Cs, [
4049
- te(l.$slots, "watermark", Xt(dl({ isPrinting: h(Hl) || h(nt) })), void 0, !0)
4061
+ ], 46, gu)),
4062
+ l.$slots.watermark ? (n(), u("div", Cs, [
4063
+ te(l.$slots, "watermark", Yt(dl({ isPrinting: h(Hl) || h(nt) })), void 0, !0)
4050
4064
  ])) : g("", !0),
4051
- (n(!0), i(b, null, M(Re.value, (e, u) => (n(), i(b, {
4065
+ (n(!0), u(b, null, L(Re.value, (e, i) => (n(), u(b, {
4052
4066
  key: `tag_line_${e.id}`
4053
4067
  }, [
4054
- (n(!0), i(b, null, M(e.plots, (a, r) => (n(), i(b, {
4055
- key: `tag_line_${u}_${r}`
4068
+ (n(!0), u(b, null, L(e.plots, (a, r) => (n(), u(b, {
4069
+ key: `tag_line_${i}_${r}`
4056
4070
  }, [
4057
- [X.value, _.value, ae.value].includes(r) && e.useTag && e.useTag === "end" && t.value.line.tag.followValue ? (n(), i("div", {
4071
+ [X.value, M.value, ae.value].includes(r) && e.useTag && e.useTag === "end" && t.value.line.tag.followValue ? (n(), u("div", {
4058
4072
  key: 0,
4059
4073
  ref_for: !0,
4060
- ref: (o) => kt(u, r, o, "right", "line"),
4074
+ ref: (o) => kt(i, r, o, "right", "line"),
4061
4075
  class: "vue-ui-xy-tag",
4062
4076
  "data-tag": "right",
4063
- style: L({
4077
+ style: C({
4064
4078
  position: "fixed",
4065
- top: h(Wt)({
4079
+ top: h(Xt)({
4066
4080
  svgElement: $e.value,
4067
4081
  x: c.value.right + t.value.line.tag.fontSize / 1.5,
4068
4082
  y: a.y,
4069
- element: ot.value[`${u}_${r}_right_line`],
4083
+ element: ot.value[`${i}_${r}_right_line`],
4070
4084
  position: "right"
4071
4085
  }).top + "px",
4072
- left: h(Wt)({
4086
+ left: h(Xt)({
4073
4087
  svgElement: $e.value,
4074
4088
  x: c.value.right + t.value.line.tag.fontSize / 1.5,
4075
4089
  y: a.y,
4076
- element: ot.value[`${u}_${r}_right_line`],
4090
+ element: ot.value[`${i}_${r}_right_line`],
4077
4091
  position: "right"
4078
4092
  }).left + "px",
4079
4093
  height: "fit-content",
@@ -4085,7 +4099,7 @@ const _n = {
4085
4099
  opacity: 1
4086
4100
  })
4087
4101
  }, [
4088
- (n(), i("svg", As, [
4102
+ (n(), u("svg", As, [
4089
4103
  k("path", {
4090
4104
  d: "M 0,10 10,0 10,20 Z",
4091
4105
  fill: e.color,
@@ -4106,26 +4120,26 @@ const _n = {
4106
4120
  )
4107
4121
  }, null, 8, Ts)
4108
4122
  ], 4)) : g("", !0),
4109
- [X.value, _.value, ae.value].includes(r) && e.useTag && e.useTag === "start" && t.value.line.tag.followValue ? (n(), i("div", {
4123
+ [X.value, M.value, ae.value].includes(r) && e.useTag && e.useTag === "start" && t.value.line.tag.followValue ? (n(), u("div", {
4110
4124
  key: 1,
4111
4125
  ref_for: !0,
4112
- ref: (o) => kt(u, r, o, "left", "line"),
4126
+ ref: (o) => kt(i, r, o, "left", "line"),
4113
4127
  class: "vue-ui-xy-tag",
4114
4128
  "data-tag": "left",
4115
- style: L({
4129
+ style: C({
4116
4130
  position: "fixed",
4117
- top: h(Wt)({
4131
+ top: h(Xt)({
4118
4132
  svgElement: $e.value,
4119
4133
  x: c.value.left - t.value.line.tag.fontSize / 1.5,
4120
4134
  y: a.y,
4121
- element: ot.value[`${u}_${r}_left_line`],
4135
+ element: ot.value[`${i}_${r}_left_line`],
4122
4136
  position: "left"
4123
4137
  }).top + "px",
4124
- left: h(Wt)({
4138
+ left: h(Xt)({
4125
4139
  svgElement: $e.value,
4126
4140
  x: c.value.left - t.value.line.tag.fontSize / 1.5,
4127
4141
  y: a.y,
4128
- element: ot.value[`${u}_${r}_left_line`],
4142
+ element: ot.value[`${i}_${r}_left_line`],
4129
4143
  position: "left"
4130
4144
  }).left + "px",
4131
4145
  height: "fit-content",
@@ -4137,7 +4151,7 @@ const _n = {
4137
4151
  opacity: 1
4138
4152
  })
4139
4153
  }, [
4140
- (n(), i("svg", Is, [
4154
+ (n(), u("svg", Is, [
4141
4155
  k("path", {
4142
4156
  d: "M 0,0 10,10 0,20 Z",
4143
4157
  fill: e.color,
@@ -4160,32 +4174,32 @@ const _n = {
4160
4174
  ], 4)) : g("", !0)
4161
4175
  ], 64))), 128))
4162
4176
  ], 64))), 128)),
4163
- (n(!0), i(b, null, M(rt.value, (e, u) => (n(), i(b, {
4177
+ (n(!0), u(b, null, L(rt.value, (e, i) => (n(), u(b, {
4164
4178
  key: `tag_plot_${e.id}`
4165
4179
  }, [
4166
- (n(!0), i(b, null, M(e.plots, (a, r) => (n(), i(b, {
4167
- key: `tag_plot_${u}_${r}`
4180
+ (n(!0), u(b, null, L(e.plots, (a, r) => (n(), u(b, {
4181
+ key: `tag_plot_${i}_${r}`
4168
4182
  }, [
4169
- [X.value, _.value, ae.value].includes(r) && e.useTag && e.useTag === "end" && t.value.plot.tag.followValue ? (n(), i("div", {
4183
+ [X.value, M.value, ae.value].includes(r) && e.useTag && e.useTag === "end" && t.value.plot.tag.followValue ? (n(), u("div", {
4170
4184
  key: 0,
4171
4185
  ref_for: !0,
4172
- ref: (o) => kt(u, r, o, "right", "plot"),
4186
+ ref: (o) => kt(i, r, o, "right", "plot"),
4173
4187
  class: "vue-ui-xy-tag",
4174
4188
  "data-tag": "right",
4175
- style: L({
4189
+ style: C({
4176
4190
  position: "fixed",
4177
- top: h(Wt)({
4191
+ top: h(Xt)({
4178
4192
  svgElement: $e.value,
4179
4193
  x: c.value.right + t.value.plot.tag.fontSize / 1.5,
4180
4194
  y: a.y,
4181
- element: ot.value[`${u}_${r}_right_plot`],
4195
+ element: ot.value[`${i}_${r}_right_plot`],
4182
4196
  position: "right"
4183
4197
  }).top + "px",
4184
- left: h(Wt)({
4198
+ left: h(Xt)({
4185
4199
  svgElement: $e.value,
4186
4200
  x: c.value.right + t.value.plot.tag.fontSize / 1.5,
4187
4201
  y: a.y,
4188
- element: ot.value[`${u}_${r}_right_plot`],
4202
+ element: ot.value[`${i}_${r}_right_plot`],
4189
4203
  position: "right"
4190
4204
  }).left + "px",
4191
4205
  height: "fit-content",
@@ -4197,7 +4211,7 @@ const _n = {
4197
4211
  opacity: 1
4198
4212
  })
4199
4213
  }, [
4200
- (n(), i("svg", Fs, [
4214
+ (n(), u("svg", Fs, [
4201
4215
  k("path", {
4202
4216
  d: "M 0,10 10,0 10,20 Z",
4203
4217
  fill: e.color,
@@ -4218,26 +4232,26 @@ const _n = {
4218
4232
  )
4219
4233
  }, null, 8, Os)
4220
4234
  ], 4)) : g("", !0),
4221
- [X.value, _.value, ae.value].includes(r) && e.useTag && e.useTag === "start" && t.value.plot.tag.followValue ? (n(), i("div", {
4235
+ [X.value, M.value, ae.value].includes(r) && e.useTag && e.useTag === "start" && t.value.plot.tag.followValue ? (n(), u("div", {
4222
4236
  key: 1,
4223
4237
  ref_for: !0,
4224
- ref: (o) => kt(u, r, o, "left", "plot"),
4238
+ ref: (o) => kt(i, r, o, "left", "plot"),
4225
4239
  class: "vue-ui-xy-tag",
4226
4240
  "data-tag": "left",
4227
- style: L({
4241
+ style: C({
4228
4242
  position: "fixed",
4229
- top: h(Wt)({
4243
+ top: h(Xt)({
4230
4244
  svgElement: $e.value,
4231
4245
  x: c.value.left - t.value.plot.tag.fontSize / 1.5,
4232
4246
  y: a.y,
4233
- element: ot.value[`${u}_${r}_left_plot`],
4247
+ element: ot.value[`${i}_${r}_left_plot`],
4234
4248
  position: "left"
4235
4249
  }).top + "px",
4236
- left: h(Wt)({
4250
+ left: h(Xt)({
4237
4251
  svgElement: $e.value,
4238
4252
  x: c.value.left - t.value.plot.tag.fontSize / 1.5,
4239
4253
  y: a.y,
4240
- element: ot.value[`${u}_${r}_left_plot`],
4254
+ element: ot.value[`${i}_${r}_left_plot`],
4241
4255
  position: "left"
4242
4256
  }).left + "px",
4243
4257
  height: "fit-content",
@@ -4249,7 +4263,7 @@ const _n = {
4249
4263
  opacity: 1
4250
4264
  })
4251
4265
  }, [
4252
- (n(), i("svg", Vs, [
4266
+ (n(), u("svg", Vs, [
4253
4267
  k("path", {
4254
4268
  d: "M 0,0 10,10 0,20 Z",
4255
4269
  fill: e.color,
@@ -4272,7 +4286,7 @@ const _n = {
4272
4286
  ], 4)) : g("", !0)
4273
4287
  ], 64))), 128))
4274
4288
  ], 64))), 128)),
4275
- t.value.chart.zoom.show && Qe.value > 6 && el.value && Me.value ? (n(), ct(hi, {
4289
+ t.value.chart.zoom.show && Qe.value > 6 && Mt.value && Me.value ? (n(), ct(hu, {
4276
4290
  key: 5,
4277
4291
  ref_key: "chartSlicer",
4278
4292
  ref: Ke,
@@ -4285,7 +4299,7 @@ const _n = {
4285
4299
  end: w.value.end,
4286
4300
  "onUpdate:start": na,
4287
4301
  "onUpdate:end": La,
4288
- selectedSeries: zt.value,
4302
+ selectedSeries: Tt.value,
4289
4303
  customFormat: t.value.chart.zoom.customFormat,
4290
4304
  background: t.value.chart.zoom.color,
4291
4305
  fontSize: t.value.chart.zoom.fontSize,
@@ -4304,7 +4318,7 @@ const _n = {
4304
4318
  minimapSelectionRadius: t.value.chart.zoom.minimap.selectionRadius,
4305
4319
  minimapLineColor: t.value.chart.zoom.minimap.lineColor,
4306
4320
  minimapSelectedColorOpacity: t.value.chart.zoom.minimap.selectedColorOpacity,
4307
- minimapSelectedIndex: _.value,
4321
+ minimapSelectedIndex: M.value,
4308
4322
  minimapIndicatorColor: t.value.chart.zoom.minimap.indicatorColor,
4309
4323
  verticalHandles: t.value.chart.zoom.minimap.verticalHandles,
4310
4324
  refreshStartPoint: t.value.chart.zoom.startIndex !== null ? t.value.chart.zoom.startIndex : 0,
@@ -4326,7 +4340,7 @@ const _n = {
4326
4340
  isPreview: ta.value
4327
4341
  }, {
4328
4342
  "reset-action": we(({ reset: e }) => [
4329
- te(l.$slots, "reset-action", Xt(dl({ reset: e })), void 0, !0)
4343
+ te(l.$slots, "reset-action", Yt(dl({ reset: e })), void 0, !0)
4330
4344
  ]),
4331
4345
  _: 3
4332
4346
  }, 8, ["immediate", "max", "valueStart", "valueEnd", "start", "end", "selectedSeries", "customFormat", "background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "usePreciseLabels", "preciseLabels", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "verticalHandles", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "minimapCompact", "allMinimaps", "minimapMerged", "minimapFrameColor", "cutNullValues", "focusOnDrag", "focusRangeRatio", "timeLabels", "isPreview"])) : g("", !0),
@@ -4337,21 +4351,21 @@ const _n = {
4337
4351
  key: 6,
4338
4352
  to: t.value.chart.legend.position === "top" ? `#legend-top-${Z.value}` : `#legend-bottom-${Z.value}`
4339
4353
  }, [
4340
- t.value.chart.legend.show ? (n(), i("div", {
4354
+ t.value.chart.legend.show ? (n(), u("div", {
4341
4355
  key: 0,
4342
4356
  ref_key: "chartLegend",
4343
4357
  ref: Ce,
4344
4358
  class: "vue-ui-xy-legend",
4345
- style: L({
4359
+ style: C({
4346
4360
  fontSize: `var(--legend-font-size, ${t.value.chart.legend.fontSize ?? 14}px)`
4347
4361
  })
4348
4362
  }, [
4349
- (n(!0), i(b, null, M(et.value, (e, u) => (n(), i("div", {
4350
- key: `div_legend_item_${u}`,
4363
+ (n(!0), u(b, null, L(et.value, (e, i) => (n(), u("div", {
4364
+ key: `div_legend_item_${i}`,
4351
4365
  onClick: (a) => Ga(e),
4352
- class: Ze({ "vue-ui-xy-legend-item-alone": et.value.length === 1, "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": ce.value.includes(e.id) })
4366
+ class: Ze({ "vue-ui-xy-legend-item-alone": et.value.length === 1, "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": ve.value.includes(e.id) })
4353
4367
  }, [
4354
- Jt.value[e.type] === "line" ? (n(), i("svg", Ws, [
4368
+ Qt.value[e.type] === "line" ? (n(), u("svg", Ws, [
4355
4369
  k("rect", {
4356
4370
  x: "0",
4357
4371
  y: "7.5",
@@ -4370,8 +4384,8 @@ const _n = {
4370
4384
  stroke: t.value.chart.backgroundColor,
4371
4385
  strokeWidth: 0.5
4372
4386
  }, null, 8, ["color", "shape", "stroke"])
4373
- ])) : Jt.value[e.type] === "bar" ? (n(), i("svg", Ys, [
4374
- Jt.value[e.type] === "bar" && l.$slots.pattern ? (n(), i("rect", {
4387
+ ])) : Qt.value[e.type] === "bar" ? (n(), u("svg", Ys, [
4388
+ Qt.value[e.type] === "bar" && l.$slots.pattern ? (n(), u("rect", {
4375
4389
  key: 0,
4376
4390
  x: "4",
4377
4391
  y: "4",
@@ -4381,7 +4395,7 @@ const _n = {
4381
4395
  stroke: "none",
4382
4396
  fill: e.color
4383
4397
  }, null, 8, Gs)) : g("", !0),
4384
- Jt.value[e.type] === "bar" ? (n(), i("rect", {
4398
+ Qt.value[e.type] === "bar" ? (n(), u("rect", {
4385
4399
  key: 1,
4386
4400
  x: "4",
4387
4401
  y: "4",
@@ -4391,7 +4405,7 @@ const _n = {
4391
4405
  stroke: "none",
4392
4406
  fill: l.$slots.pattern ? `url(#pattern_${Z.value}_${e.slotAbsoluteIndex})` : e.color
4393
4407
  }, null, 8, Us)) : g("", !0)
4394
- ])) : (n(), i("svg", qs, [
4408
+ ])) : (n(), u("svg", qs, [
4395
4409
  ml(ga, {
4396
4410
  plot: { x: 6, y: 6 },
4397
4411
  radius: 5,
@@ -4400,10 +4414,10 @@ const _n = {
4400
4414
  }, null, 8, ["color", "shape"])
4401
4415
  ])),
4402
4416
  k("span", {
4403
- style: L(`color:${t.value.chart.legend.color}`)
4417
+ style: C(`color:${t.value.chart.legend.color}`)
4404
4418
  }, re(e.name), 5)
4405
4419
  ], 10, Ds))), 128))
4406
- ], 4)) : (n(), i("div", {
4420
+ ], 4)) : (n(), u("div", {
4407
4421
  key: 1,
4408
4422
  ref_key: "chartLegend",
4409
4423
  ref: Ce
@@ -4411,7 +4425,7 @@ const _n = {
4411
4425
  te(l.$slots, "legend", { legend: et.value }, void 0, !0)
4412
4426
  ], 512))
4413
4427
  ], 8, ["to"])) : g("", !0),
4414
- l.$slots.source ? (n(), i("div", {
4428
+ l.$slots.source ? (n(), u("div", {
4415
4429
  key: 7,
4416
4430
  ref_key: "source",
4417
4431
  ref: ft,
@@ -4419,7 +4433,7 @@ const _n = {
4419
4433
  }, [
4420
4434
  te(l.$slots, "source", {}, void 0, !0)
4421
4435
  ], 512)) : g("", !0),
4422
- ml(h(he), {
4436
+ ml(h(ce), {
4423
4437
  show: p.value.showTooltip && bl.value,
4424
4438
  backgroundColor: t.value.chart.tooltip.backgroundColor,
4425
4439
  color: t.value.chart.tooltip.color,
@@ -4440,21 +4454,21 @@ const _n = {
4440
4454
  smoothSnapThreshold: t.value.chart.tooltip.smoothSnapThreshold
4441
4455
  }, {
4442
4456
  "tooltip-before": we(() => [
4443
- te(l.$slots, "tooltip-before", Xt(dl({ ...ja.value })), void 0, !0)
4457
+ te(l.$slots, "tooltip-before", Yt(dl({ ...ja.value })), void 0, !0)
4444
4458
  ]),
4445
4459
  "tooltip-after": we(() => [
4446
- te(l.$slots, "tooltip-after", Xt(dl({ ...ja.value })), void 0, !0)
4460
+ te(l.$slots, "tooltip-after", Yt(dl({ ...ja.value })), void 0, !0)
4447
4461
  ]),
4448
4462
  _: 3
4449
4463
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
4450
- el.value && t.value.chart.userOptions.buttons.table ? (n(), ct(Ko(Ul.value.component), Yt({ key: 8 }, Ul.value.props, {
4464
+ Mt.value && t.value.chart.userOptions.buttons.table ? (n(), ct(Ko(Ul.value.component), Gt({ key: 8 }, Ul.value.props, {
4451
4465
  ref_key: "tableUnit",
4452
4466
  ref: Je,
4453
4467
  onClose: vo
4454
4468
  }), xo({
4455
4469
  content: we(() => [
4456
4470
  k("div", {
4457
- style: L(`${h(Hl) || t.value.table.useDialog ? "" : "max-height:400px"};${t.value.table.useDialog ? "height: fit-content; " : ""};overflow:auto;width:100%;${t.value.table.useDialog ? "" : "margin-top:48px"}`)
4471
+ style: C(`${h(Hl) || t.value.table.useDialog ? "" : "max-height:400px"};${t.value.table.useDialog ? "height: fit-content; " : ""};overflow:auto;width:100%;${t.value.table.useDialog ? "" : "margin-top:48px"}`)
4458
4472
  }, [
4459
4473
  k("div", Zs, [
4460
4474
  Oa(k("input", {
@@ -4467,7 +4481,7 @@ const _n = {
4467
4481
  onClick: s[5] || (s[5] = (e) => He.value = !He.value),
4468
4482
  style: { cursor: "pointer" }
4469
4483
  }, [
4470
- ml(h(fe), {
4484
+ ml(h(me), {
4471
4485
  name: "chartLine",
4472
4486
  size: 20,
4473
4487
  stroke: t.value.chart.color
@@ -4520,7 +4534,7 @@ const _n = {
4520
4534
  class: "vue-ui-user-options-button",
4521
4535
  onClick: s[3] || (s[3] = (e) => za(t.value.chart.userOptions.callbacks.csv))
4522
4536
  }, [
4523
- ml(h(fe), {
4537
+ ml(h(me), {
4524
4538
  name: "excel",
4525
4539
  stroke: Ul.value.props.color
4526
4540
  }, null, 8, ["stroke"])
@@ -4530,7 +4544,7 @@ const _n = {
4530
4544
  } : void 0
4531
4545
  ]), 1040)) : g("", !0),
4532
4546
  h(xe) ? (n(), ct(xn, { key: 9 })) : g("", !0)
4533
- ], 46, fi));
4547
+ ], 46, fu));
4534
4548
  }
4535
4549
  }, dr = /* @__PURE__ */ Lo(Js, [["__scopeId", "data-v-d218b34b"]]);
4536
4550
  export {