vue-data-ui 3.0.17 → 3.0.19

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-BUPQR2G4.js → Arrow-B10wNNjm.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CzkHS5si.js → BaseDraggableDialog-r0MI0h0T.js} +2 -2
  3. package/dist/{BaseIcon-xyB9D1pA.js → BaseIcon-ChTY8am9.js} +1 -1
  4. package/dist/{ColorPicker-Cb4Flxwu.js → ColorPicker-CdJv_ag3.js} +2 -2
  5. package/dist/{DataTable-D5jcKSEP.js → DataTable-BEwx7iZw.js} +2 -2
  6. package/dist/{Legend-cvVLEFcw.js → Legend-C4NnDxLl.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-yPGrFiQ4.js → NonSvgPenAndPaper-DTX8A0EM.js} +3 -3
  8. package/dist/{PackageVersion-CvI7dfPE.js → PackageVersion-DoMO2moW.js} +1 -1
  9. package/dist/{PenAndPaper-ByuyUNh2.js → PenAndPaper-Iki1v7S8.js} +3 -3
  10. package/dist/{Shape-Dn4xCkhb.js → Shape-Ctz7zV1f.js} +1 -1
  11. package/dist/{Slicer-D6stZJ6_.js → Slicer-Djsp3gTq.js} +2 -2
  12. package/dist/{SparkTooltip-BJpOcNPA.js → SparkTooltip-RiX7Jbzt.js} +1 -1
  13. package/dist/{Title-D_WUff_Y.js → Title-Bps0YvMG.js} +1 -1
  14. package/dist/{Tooltip-CZV_BR2c.js → Tooltip-BBiJO0gB.js} +1 -1
  15. package/dist/{UserOptions-ZcUANK_c.js → UserOptions-DYEGbZZq.js} +2 -2
  16. package/dist/{dom-to-png-B_c5U1KX.js → dom-to-png-BeUBSBh8.js} +1 -1
  17. package/dist/{img-CUZp-9tT.js → img-D4b1fSBK.js} +1 -1
  18. package/dist/{index-FPxvoief.js → index-BK2gTS2z.js} +1 -1
  19. package/dist/{pdf-BQdP4qEx.js → pdf-Hoy997SC.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/{useAutoSizeLabelsInsideViewbox-BOEYVAI_.js → useAutoSizeLabelsInsideViewbox-DhHMRZMc.js} +1 -1
  22. package/dist/{useNestedProp-DzVMdkPE.js → useNestedProp-wbpqNuaf.js} +1 -1
  23. package/dist/{usePrinter-M0JhvX8r.js → usePrinter-BwlToysn.js} +2 -2
  24. package/dist/{vue-data-ui-BtZ0NkLV.js → vue-data-ui-Df3NrfpT.js} +64 -64
  25. package/dist/vue-data-ui.js +1 -1
  26. package/dist/{vue-ui-3d-bar-68r5eL4m.js → vue-ui-3d-bar-fNmiJhy2.js} +6 -6
  27. package/dist/{vue-ui-accordion-u-pE5AEw.js → vue-ui-accordion-8-UDMRYy.js} +3 -3
  28. package/dist/{vue-ui-age-pyramid-CZgDP5ON.js → vue-ui-age-pyramid-B4h0Qphz.js} +6 -6
  29. package/dist/{vue-ui-annotator-ykVZA4ga.js → vue-ui-annotator-FoI7oxMi.js} +2 -2
  30. package/dist/{vue-ui-bullet-BKZe1klo.js → vue-ui-bullet-CVlUcHJT.js} +7 -7
  31. package/dist/{vue-ui-candlestick-BiEnPu20.js → vue-ui-candlestick-BJ6SV9l3.js} +90 -90
  32. package/dist/{vue-ui-carousel-table-DizqUzW2.js → vue-ui-carousel-table-DgSa3Dii.js} +4 -4
  33. package/dist/{vue-ui-chestnut-Db9AmXXR.js → vue-ui-chestnut-DglohqkW.js} +5 -5
  34. package/dist/{vue-ui-chord-D_Fu289O.js → vue-ui-chord-BdOvNz9k.js} +8 -8
  35. package/dist/{vue-ui-circle-pack-_2rvcgPO.js → vue-ui-circle-pack-CqL-pecW.js} +6 -6
  36. package/dist/{vue-ui-cursor-BGUkW6bz.js → vue-ui-cursor-Dw3TTc1Z.js} +2 -2
  37. package/dist/{vue-ui-dashboard-CACU8tqW.js → vue-ui-dashboard-CwISXxXi.js} +62 -62
  38. package/dist/{vue-ui-digits-B4-KFEj0.js → vue-ui-digits-wFn4C01a.js} +2 -2
  39. package/dist/{vue-ui-donut-evolution-BQe6iCFb.js → vue-ui-donut-evolution-DUbc13rQ.js} +71 -71
  40. package/dist/{vue-ui-donut-B1GmuATW.js → vue-ui-donut-rVje6tYH.js} +8 -8
  41. package/dist/{vue-ui-dumbbell-hAgVOFYv.js → vue-ui-dumbbell-DhYC3FHY.js} +7 -7
  42. package/dist/{vue-ui-flow-Cjw1F1EQ.js → vue-ui-flow-BYCq7Squ.js} +7 -7
  43. package/dist/{vue-ui-funnel-DxN3_Q5d.js → vue-ui-funnel-DLN52Y3S.js} +6 -6
  44. package/dist/{vue-ui-galaxy-CcXisqah.js → vue-ui-galaxy-BrtjmM5C.js} +5 -5
  45. package/dist/{vue-ui-gauge-DM4t5Y_a.js → vue-ui-gauge-B1eYgWnt.js} +7 -7
  46. package/dist/{vue-ui-gizmo-CbwGU4tH.js → vue-ui-gizmo-CXscbX-p.js} +3 -3
  47. package/dist/{vue-ui-heatmap-DagGZ1a2.js → vue-ui-heatmap-07ikAAn-.js} +7 -7
  48. package/dist/{vue-ui-history-plot-C_8thHuP.js → vue-ui-history-plot-CaFgfd1w.js} +7 -7
  49. package/dist/{vue-ui-kpi-BabguWm3.js → vue-ui-kpi-Di4nZcOl.js} +3 -3
  50. package/dist/{vue-ui-mini-loader-8rpOo_4B.js → vue-ui-mini-loader-Dl4gzoeA.js} +2 -2
  51. package/dist/{vue-ui-molecule-DZ0O2nx-.js → vue-ui-molecule-DqLHB4uM.js} +5 -5
  52. package/dist/{vue-ui-mood-radar-xSf3Dq2u.js → vue-ui-mood-radar-e3zwLOeJ.js} +7 -7
  53. package/dist/{vue-ui-nested-donuts-BLudObDe.js → vue-ui-nested-donuts-DUzG68zT.js} +7 -7
  54. package/dist/{vue-ui-onion-FxCDw1HB.js → vue-ui-onion-B5c1pN-w.js} +8 -8
  55. package/dist/{vue-ui-parallel-coordinate-plot-BF3CHzSy.js → vue-ui-parallel-coordinate-plot-8SbOpodj.js} +8 -8
  56. package/dist/{vue-ui-quadrant-DYADhMJO.js → vue-ui-quadrant-DhNSAy_Z.js} +8 -8
  57. package/dist/{vue-ui-quick-chart-Bu-fq-bT.js → vue-ui-quick-chart-C95i0yzR.js} +6 -6
  58. package/dist/{vue-ui-radar-CfRc8umQ.js → vue-ui-radar-DYMGGc4O.js} +8 -8
  59. package/dist/{vue-ui-rating-Clq7xuBB.js → vue-ui-rating-Dji5CCj8.js} +2 -2
  60. package/dist/{vue-ui-relation-circle-C-bGpsP0.js → vue-ui-relation-circle-DX_0ivpZ.js} +7 -7
  61. package/dist/{vue-ui-ridgeline-AjzApr3m.js → vue-ui-ridgeline-zCA-s_Xk.js} +8 -8
  62. package/dist/{vue-ui-rings-1Pj_2A9U.js → vue-ui-rings-EJt2wBKA.js} +8 -8
  63. package/dist/{vue-ui-scatter-BHkSGYtY.js → vue-ui-scatter-B_NvBjKA.js} +8 -8
  64. package/dist/{vue-ui-skeleton-uolO3H7L.js → vue-ui-skeleton-CYaullH7.js} +3 -3
  65. package/dist/{vue-ui-smiley-C42TbD2C.js → vue-ui-smiley-D9hYUCpL.js} +2 -2
  66. package/dist/{vue-ui-spark-trend-CGWWYkOY.js → vue-ui-spark-trend-C5UQ9c2b.js} +3 -3
  67. package/dist/{vue-ui-sparkbar-DHX5aYQt.js → vue-ui-sparkbar-BnDY5i2c.js} +3 -3
  68. package/dist/{vue-ui-sparkgauge-DToUIHu1.js → vue-ui-sparkgauge-Ck7Ms-bH.js} +3 -3
  69. package/dist/{vue-ui-sparkhistogram-gFxgNqYu.js → vue-ui-sparkhistogram-unAWlHCR.js} +4 -4
  70. package/dist/{vue-ui-sparkline-72DukbMK.js → vue-ui-sparkline-YAZRZg0d.js} +3 -3
  71. package/dist/{vue-ui-sparkstackbar-DDXK9P4e.js → vue-ui-sparkstackbar-Dwh_3DE7.js} +3 -3
  72. package/dist/{vue-ui-stackbar-rx0Fxh0e.js → vue-ui-stackbar-Bosf1IS4.js} +11 -11
  73. package/dist/{vue-ui-strip-plot-5dsRP2yk.js → vue-ui-strip-plot-B5h03jRG.js} +7 -7
  74. package/dist/{vue-ui-table-ByG9jsR_.js → vue-ui-table-TtZZHn8u.js} +3 -3
  75. package/dist/{vue-ui-table-heatmap-CwRQnjOd.js → vue-ui-table-heatmap-B8RsyCxw.js} +5 -5
  76. package/dist/{vue-ui-table-sparkline-CMW71OVJ.js → vue-ui-table-sparkline-CT6erH9m.js} +4 -4
  77. package/dist/{vue-ui-thermometer-D6ShCr7E.js → vue-ui-thermometer-ChKkfw4B.js} +7 -7
  78. package/dist/{vue-ui-timer-Cq8IiIq0.js → vue-ui-timer-BwqmRg6H.js} +5 -5
  79. package/dist/{vue-ui-tiremarks-DN1kPCuc.js → vue-ui-tiremarks-GrxhQzkE.js} +6 -6
  80. package/dist/{vue-ui-treemap-DMAe9tkY.js → vue-ui-treemap-BLIm7IIV.js} +8 -8
  81. package/dist/{vue-ui-vertical-bar-CFAQnB5o.js → vue-ui-vertical-bar-3HGjfme1.js} +9 -9
  82. package/dist/{vue-ui-waffle-CDxiee8r.js → vue-ui-waffle-mhjk5UJv.js} +8 -8
  83. package/dist/{vue-ui-wheel-DU-LT0Eh.js → vue-ui-wheel-FjFGwncA.js} +6 -6
  84. package/dist/{vue-ui-word-cloud-Bpyb6-d9.js → vue-ui-word-cloud-DAntd3Ow.js} +6 -6
  85. package/dist/{vue-ui-world-DxrhbFBm.js → vue-ui-world-BfV5RAqS.js} +6 -6
  86. package/dist/{vue-ui-xy-Dr406GVq.js → vue-ui-xy-DngUqo7y.js} +255 -255
  87. package/dist/{vue-ui-xy-canvas-pI2s0gPy.js → vue-ui-xy-canvas-B8WXWhgk.js} +10 -10
  88. package/package.json +1 -1
@@ -1,16 +1,16 @@
1
- import { useCssVars as Ao, computed as x, ref as b, onMounted as tl, onBeforeUnmount as ll, watch as vt, nextTick as Et, onUpdated as zo, createElementBlock as r, openBlock as s, createElementVNode as y, createCommentVNode as f, renderSlot as j, normalizeStyle as $, createVNode as el, withDirectives as aa, unref as v, Fragment as g, renderList as C, normalizeClass as Ee, withKeys as Ea, vModelText as Wa, toDisplayString as ne, defineAsyncComponent as St, useSlots as Io, getCurrentInstance as To, toRefs as No, watchEffect as Da, createBlock as Ue, createSlots as Ro, withCtx as ye, normalizeProps as _t, guardReactiveProps as $t, mergeProps as Rl, Teleport as Po, vModelCheckbox as Oo, createTextVNode as Fo } from "vue";
2
- import { c as Hl, V as Bl, U as El, y as Vl, X as Ho, F as tt, u as Vo, f as ea, t as Bo, d as Eo, D as pl, ac as Vt, e as Wo, p as Do, ad as Pl, a9 as q, a4 as ta, ae as Xo, h as D, af as Xa, ag as Ya, ah as Yo, ai as Ga, aj as Ua, k as Le, ak as Go, z as Uo, _ as qa, R as ct, i as qe, x as Bt, s as et, a7 as te, L as qo, al as Ol, I as Zo, am as Lt, C as Ze, a as Ko, b as Jo, o as Za, v as Qo, w as jo, E as jt } from "./index-FPxvoief.js";
1
+ import { useCssVars as Ao, computed as x, ref as p, onMounted as tl, onBeforeUnmount as ll, watch as vt, nextTick as Et, onUpdated as zo, createElementBlock as r, openBlock as s, createElementVNode as y, createCommentVNode as f, renderSlot as j, normalizeStyle as $, createVNode as el, withDirectives as aa, unref as v, Fragment as g, renderList as C, normalizeClass as Ee, withKeys as Ea, vModelText as Da, toDisplayString as ne, defineAsyncComponent as St, useSlots as Io, getCurrentInstance as To, toRefs as No, watchEffect as Wa, createBlock as Ue, createSlots as Ro, withCtx as ye, normalizeProps as _t, guardReactiveProps as $t, mergeProps as Rl, Teleport as Po, vModelCheckbox as Oo, createTextVNode as Fo } from "vue";
2
+ import { c as Hl, V as Bl, U as El, y as Vl, X as Ho, F as tt, u as Vo, f as ea, t as Bo, d as Eo, D as pl, ac as Vt, e as Do, p as Wo, ad as Pl, a9 as q, a4 as ta, ae as Xo, h as W, af as Xa, ag as Ya, ah as Yo, ai as Ga, aj as Ua, k as Le, ak as Go, z as Uo, _ as qa, R as ct, i as qe, x as Bt, s as et, a7 as te, L as qo, al as Ol, I as Zo, am as Lt, C as Ze, a as Ko, b as Jo, o as Za, v as Qo, w as jo, E as jt } from "./index-BK2gTS2z.js";
3
3
  import { t as oa, u as en } from "./useResponsive-DfdjqQps.js";
4
- import { u as tn } from "./usePrinter-M0JhvX8r.js";
4
+ import { u as tn } from "./usePrinter-BwlToysn.js";
5
5
  import { u as ln, B as an } from "./useLoading-D7YHNtLX.js";
6
- import { u as la } from "./useNestedProp-DzVMdkPE.js";
6
+ import { u as la } from "./useNestedProp-wbpqNuaf.js";
7
7
  import { u as Ka, a as on, l as nn } from "./useTimeLabels-4la0yDx0.js";
8
8
  import { u as un } from "./useTimeLabelCollider-CIsgDrl9.js";
9
- import sn from "./img-CUZp-9tT.js";
10
- import rn from "./Title-D_WUff_Y.js";
11
- import { S as cn } from "./Slicer-D6stZJ6_.js";
12
- import { _ as Fl } from "./Shape-Dn4xCkhb.js";
13
- import vn from "./BaseIcon-xyB9D1pA.js";
9
+ import sn from "./img-D4b1fSBK.js";
10
+ import rn from "./Title-Bps0YvMG.js";
11
+ import { S as cn } from "./Slicer-Djsp3gTq.js";
12
+ import { _ as Fl } from "./Shape-Ctz7zV1f.js";
13
+ import vn from "./BaseIcon-ChTY8am9.js";
14
14
  import { _ as Ja } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
15
  const dn = {
16
16
  class: "vue-data-ui-slicer-labels",
@@ -22,7 +22,7 @@ const dn = {
22
22
  key: 0,
23
23
  class: "minimap",
24
24
  style: { width: "100%" }
25
- }, mn = ["xmlns", "viewBox"], gn = ["id"], xn = ["stop-color"], bn = ["d", "stroke"], pn = ["x", "width", "height", "fill", "rx"], yn = ["d", "fill"], kn = ["x", "width", "height", "rx", "fill"], wn = ["x", "width", "height", "fill", "rx"], Sn = ["d", "fill"], _n = ["d", "stroke"], $n = ["cx", "cy", "stroke", "fill"], Ln = ["cx", "cy", "stroke", "fill"], Mn = ["x1", "x2", "y2", "stroke"], Cn = ["x", "height", "width", "onMouseenter"], An = ["min", "max"], zn = ["min", "max"], In = {
25
+ }, mn = ["xmlns", "viewBox"], gn = ["id"], bn = ["stop-color"], xn = ["d", "stroke"], pn = ["x", "width", "height", "fill", "rx"], yn = ["d", "fill"], kn = ["x", "width", "height", "rx", "fill"], wn = ["x", "width", "height", "fill", "rx"], Sn = ["d", "fill"], _n = ["d", "stroke"], $n = ["cx", "cy", "stroke", "fill"], Ln = ["cx", "cy", "stroke", "fill"], Mn = ["x1", "x2", "y2", "stroke"], Cn = ["x", "height", "width", "onMouseenter"], An = ["min", "max"], zn = ["min", "max"], In = {
26
26
  __name: "SlicerPreview",
27
27
  props: {
28
28
  background: {
@@ -154,21 +154,21 @@ const dn = {
154
154
  }
155
155
  },
156
156
  emits: ["futureStart", "futureEnd", "update:start", "update:end", "reset", "trapMouse"],
157
- setup(N, { expose: Wl, emit: Dl }) {
157
+ setup(N, { expose: Dl, emit: Wl }) {
158
158
  Ao((m) => ({
159
159
  ef4890c2: Ct.value,
160
- 20514013: De.value,
160
+ 20514013: We.value,
161
161
  "6d4a3344": Xl.value,
162
162
  "00868143": N.selectColor,
163
163
  62429251: At.value
164
164
  }));
165
- const d = N, We = b(null), ve = b(d.min), de = b(d.max), Mt = x(() => !!d.minimap.length), al = b(Hl()), Wt = b(!1), Dt = b(0), pt = x({
165
+ const d = N, De = p(null), ve = p(d.min), de = p(d.max), Mt = x(() => !!d.minimap.length), al = p(Hl()), Dt = p(!1), Wt = p(0), pt = x({
166
166
  get() {
167
167
  return ve.value;
168
168
  },
169
169
  set(m) {
170
170
  const h = Math.min(m, de.value - 1);
171
- ve.value = h, Z.value && (Z.value.value = String(h)), be("futureStart", h);
171
+ ve.value = h, Z.value && (Z.value.value = String(h)), xe("futureStart", h);
172
172
  }
173
173
  }), lt = x({
174
174
  get() {
@@ -176,12 +176,12 @@ const dn = {
176
176
  },
177
177
  set(m) {
178
178
  const h = Math.max(m, ve.value + 1);
179
- de.value = h, Gt.value && (Gt.value.value = String(h)), be("futureEnd", h);
179
+ de.value = h, Gt.value && (Gt.value.value = String(h)), xe("futureEnd", h);
180
180
  }
181
181
  });
182
182
  tl(() => {
183
183
  const m = () => {
184
- We.value && (Dt.value = We.value.getBoundingClientRect().width);
184
+ De.value && (Wt.value = De.value.getBoundingClientRect().width);
185
185
  };
186
186
  m();
187
187
  const h = oa(m, 50);
@@ -191,10 +191,10 @@ const dn = {
191
191
  });
192
192
  let ol = null;
193
193
  function Ke() {
194
- clearTimeout(ol), be("update:start", Number(ve.value)), be("update:end", Number(de.value)), Wt.value = !1;
194
+ clearTimeout(ol), xe("update:start", Number(ve.value)), xe("update:end", Number(de.value)), Dt.value = !1;
195
195
  }
196
- const nl = x(() => d.refreshEndPoint === null ? d.max : d.refreshEndPoint), be = Dl, ke = x(() => {
197
- const m = d.max - d.min, h = (ve.value - d.min) / m * 100, w = (de.value - d.min) / m * 100, Y = (h + w) / 2, Ce = at.value ? `calc(${Y}% - ${p.value.width}px)` : Oe.value ? `calc(${Y}%)` : `calc(${Y}% - ${p.value.width / 2}px)`;
196
+ const nl = x(() => d.refreshEndPoint === null ? d.max : d.refreshEndPoint), xe = Wl, ke = x(() => {
197
+ const m = d.max - d.min, h = (ve.value - d.min) / m * 100, w = (de.value - d.min) / m * 100, Y = (h + w) / 2, Ce = at.value ? `calc(${Y}% - ${b.value.width}px)` : Oe.value ? `calc(${Y}%)` : `calc(${Y}% - ${b.value.width / 2}px)`;
198
198
  return {
199
199
  left: `${h}%`,
200
200
  width: `${w - h}%`,
@@ -205,14 +205,14 @@ const dn = {
205
205
  arrowLeft: !Oe.value,
206
206
  arrowRight: !at.value
207
207
  };
208
- }), Oe = x(() => We.value ? We.value.getBoundingClientRect().width * ((ve.value - d.min) / (d.max - d.min)) - mt.value / 2 < 0 : !1), at = x(() => We.value ? We.value.getBoundingClientRect().width * ((de.value - d.min) / (d.max - d.min)) + se.value / 2 > We.value.getBoundingClientRect().width : !1), Ct = x(() => d.inputColor), At = x(() => d.background), Xl = x(() => `${d.selectColor}33`), De = x(() => d.borderColor), Xt = x(() => {
208
+ }), Oe = x(() => De.value ? De.value.getBoundingClientRect().width * ((ve.value - d.min) / (d.max - d.min)) - mt.value / 2 < 0 : !1), at = x(() => De.value ? De.value.getBoundingClientRect().width * ((de.value - d.min) / (d.max - d.min)) + se.value / 2 > De.value.getBoundingClientRect().width : !1), Ct = x(() => d.inputColor), At = x(() => d.background), Xl = x(() => `${d.selectColor}33`), We = x(() => d.borderColor), Xt = x(() => {
209
209
  let m = [];
210
210
  for (let h = 0; h < d.minimap.length; h += 1)
211
211
  m.push(h);
212
212
  return m;
213
213
  });
214
214
  function dt() {
215
- be("reset");
215
+ xe("reset");
216
216
  }
217
217
  vt(
218
218
  () => d.min,
@@ -225,10 +225,10 @@ const dn = {
225
225
  Number(ve.value) > Number(m) && (ve.value = Number(m)), Number(de.value) > Number(m) && (de.value = Number(m));
226
226
  }
227
227
  );
228
- const zt = b(null), K = b({
228
+ const zt = p(null), K = p({
229
229
  width: 1,
230
230
  height: 1
231
- }), ot = b(null);
231
+ }), ot = p(null);
232
232
  tl(() => {
233
233
  if (Mt.value) {
234
234
  const m = oa(() => {
@@ -270,7 +270,7 @@ const dn = {
270
270
  x: ie.value * m + ie.value / 2,
271
271
  width: ie.value * (h - m) - ie.value
272
272
  };
273
- }), ht = b(d.minimapSelectedIndex);
273
+ }), ht = p(d.minimapSelectedIndex);
274
274
  vt(() => d.minimapSelectedIndex, (m) => {
275
275
  if ([null, void 0].includes(m)) {
276
276
  ht.value = null;
@@ -281,9 +281,9 @@ const dn = {
281
281
  function ft(m) {
282
282
  ht.value = m;
283
283
  const h = nt.value, w = It.value;
284
- m >= h && m < w && be("trapMouse", m - h);
284
+ m >= h && m < w && xe("trapMouse", m - h);
285
285
  }
286
- const he = b(0), Z = b(null), Gt = b(null);
286
+ const he = p(0), Z = p(null), Gt = p(null);
287
287
  function il(m) {
288
288
  if (typeof m == "object" && m && "target" in m) {
289
289
  const w = m.target, Y = "valueAsNumber" in w ? w.valueAsNumber : +w.value;
@@ -293,19 +293,19 @@ const dn = {
293
293
  return Number.isFinite(h) ? h : NaN;
294
294
  }
295
295
  function sl(m) {
296
- Wt.value = !0;
296
+ Dt.value = !0;
297
297
  const h = il(m);
298
298
  Number.isFinite(h) && (pt.value = h);
299
299
  }
300
300
  function yt(m) {
301
- Wt.value = !0;
301
+ Dt.value = !0;
302
302
  const h = il(m);
303
303
  Number.isFinite(h) && (lt.value = h);
304
304
  }
305
- const Tt = x(() => d.valueEnd - d.valueStart), F = b(!1);
306
- let Ut = b(null);
307
- const rl = x(() => (Dt.value - 48) / (d.max - d.min)), qt = x(() => (Dt.value - 48) / (d.max - d.min) * Tt.value), Me = b(2.5), Xe = x(() => {
308
- const m = Dt.value - 48;
305
+ const Tt = x(() => d.valueEnd - d.valueStart), F = p(!1);
306
+ let Ut = p(null);
307
+ const rl = x(() => (Wt.value - 48) / (d.max - d.min)), qt = x(() => (Wt.value - 48) / (d.max - d.min) * Tt.value), Me = p(2.5), Xe = x(() => {
308
+ const m = Wt.value - 48;
309
309
  return Math.ceil(
310
310
  (d.max - d.min) / ((m - qt.value) / Me.value)
311
311
  );
@@ -320,9 +320,9 @@ const dn = {
320
320
  F.value && k(m.clientX);
321
321
  }
322
322
  function yl(m) {
323
- if (!F.value || !We.value) return;
323
+ if (!F.value || !De.value) return;
324
324
  const h = m.target;
325
- if (!(h instanceof Element) || !We.value.contains(h) || h.classList && h.classList.contains("range-handle")) return;
325
+ if (!(h instanceof Element) || !De.value.contains(h) || h.classList && h.classList.contains("range-handle")) return;
326
326
  m.preventDefault();
327
327
  const w = m.targetTouches && m.targetTouches[0] ? m.targetTouches[0] : null;
328
328
  w && k(w.clientX);
@@ -350,30 +350,30 @@ const dn = {
350
350
  function Ie() {
351
351
  F.value = !1, Fe && S && window.removeEventListener(Fe, S), Je && ut && window.removeEventListener(Je, ut), Fe = Je = null, S = ut = null, Ke();
352
352
  }
353
- const it = b(!1), st = b(null), t = b(null), mt = b(1), se = b(1), re = b(!1);
353
+ const it = p(!1), st = p(null), t = p(null), mt = p(1), se = p(1), re = p(!1);
354
354
  function Nt() {
355
355
  st.value && (mt.value = st.value.getBoundingClientRect().width);
356
356
  }
357
357
  function kl() {
358
358
  t.value && (se.value = t.value.getBoundingClientRect().width);
359
359
  }
360
- const wl = b(0);
360
+ const wl = p(0);
361
361
  function Ye(m) {
362
362
  wl.value = m === "start" ? 1 : 0;
363
363
  }
364
- const xe = b(!1), p = b({
364
+ const be = p(!1), b = p({
365
365
  width: 0,
366
366
  left: 0
367
367
  });
368
368
  vt([ve, de], async () => {
369
369
  if (await Et(), !st.value || !t.value) {
370
- xe.value = !1, p.value = { width: 0, left: 0 };
370
+ be.value = !1, b.value = { width: 0, left: 0 };
371
371
  return;
372
372
  }
373
373
  const m = st.value.getBoundingClientRect(), h = t.value.getBoundingClientRect();
374
- xe.value = m.x + m.width > h.x;
374
+ be.value = m.x + m.width > h.x;
375
375
  const w = m.x + m.width / 2, Y = h.x + h.width / 2, Ce = m.width + h.width, Rt = (w + Y) / 2;
376
- p.value = {
376
+ b.value = {
377
377
  width: Ce,
378
378
  left: Rt - Ce / 2
379
379
  };
@@ -384,7 +384,7 @@ const dn = {
384
384
  }, { deep: !0 }), vt(() => d.labelRight, () => {
385
385
  Et(kl);
386
386
  }, { deep: !0 });
387
- const Te = b(!1), ce = x(() => {
387
+ const Te = p(!1), ce = x(() => {
388
388
  let m = { text: "" }, h = { text: "" };
389
389
  if (Te.value = !1, Vl(d.customFormat))
390
390
  try {
@@ -408,7 +408,7 @@ const dn = {
408
408
  });
409
409
  return ll(() => {
410
410
  ot.value && ot.value.disconnect(), Fe && S && window.removeEventListener(Fe, S), Je && ut && window.removeEventListener(Je, ut), Fe = Je = null, S = ut = null, clearTimeout(ol);
411
- }), Wl({
411
+ }), Dl({
412
412
  setStartValue: sl,
413
413
  setEndValue: yt
414
414
  }), (m, h) => (s(), r("div", {
@@ -416,7 +416,7 @@ const dn = {
416
416
  style: { padding: "0 24px" },
417
417
  class: "vue-data-ui-zoom",
418
418
  ref_key: "zoomWrapper",
419
- ref: We,
419
+ ref: De,
420
420
  onMousedown: cl,
421
421
  onTouchstart: cl
422
422
  }, [
@@ -467,7 +467,7 @@ const dn = {
467
467
  y("stop", {
468
468
  offset: "0%",
469
469
  "stop-color": `${N.minimapLineColor}50`
470
- }, null, 8, xn),
470
+ }, null, 8, bn),
471
471
  h[15] || (h[15] = y("stop", {
472
472
  offset: "100%",
473
473
  "stop-color": "transparent"
@@ -482,13 +482,13 @@ const dn = {
482
482
  "stroke-linecap": "round",
483
483
  "stroke-linejoin": "round",
484
484
  style: { opacity: "1" }
485
- }, null, 8, bn),
485
+ }, null, 8, xn),
486
486
  y("rect", {
487
487
  x: Se.value.x,
488
488
  width: Se.value.width < 0 ? 0 : Se.value.width,
489
489
  height: Math.max(K.value.height, 0),
490
490
  y: 0,
491
- fill: De.value,
491
+ fill: We.value,
492
492
  rx: N.minimapSelectionRadius,
493
493
  stroke: "none"
494
494
  }, null, 8, pn),
@@ -504,9 +504,9 @@ const dn = {
504
504
  height: Math.max(K.value.height, 0),
505
505
  y: 0,
506
506
  rx: N.minimapSelectionRadius,
507
- fill: De.value,
507
+ fill: We.value,
508
508
  style: $({
509
- opacity: F.value || Wt.value ? 0 : 1
509
+ opacity: F.value || Dt.value ? 0 : 1
510
510
  })
511
511
  }, null, 12, kn),
512
512
  y("rect", {
@@ -538,7 +538,7 @@ const dn = {
538
538
  cx: we.value.firstPlot.x,
539
539
  cy: we.value.firstPlot.y,
540
540
  "stroke-width": "0.5",
541
- stroke: De.value,
541
+ stroke: We.value,
542
542
  r: "3",
543
543
  fill: N.minimapLineColor
544
544
  }, null, 8, $n),
@@ -546,7 +546,7 @@ const dn = {
546
546
  cx: we.value.lastPlot.x,
547
547
  cy: we.value.lastPlot.y,
548
548
  "stroke-width": "0.5",
549
- stroke: De.value,
549
+ stroke: We.value,
550
550
  r: "3",
551
551
  fill: N.minimapLineColor
552
552
  }, null, 8, Ln),
@@ -576,7 +576,7 @@ const dn = {
576
576
  onMouseup: h[1] || (h[1] = (Ce) => it.value = !1),
577
577
  onMouseenter: (Ce) => ft(w),
578
578
  onMouseleave: h[2] || (h[2] = (Ce) => {
579
- ht.value = null, be("trapMouse", null);
579
+ ht.value = null, xe("trapMouse", null);
580
580
  })
581
581
  }, null, 44, Cn))), 256))
582
582
  ], 8, mn))
@@ -612,7 +612,7 @@ const dn = {
612
612
  onPointerup: Ke
613
613
  }, null, 42, An)), [
614
614
  [
615
- Wa,
615
+ Da,
616
616
  pt.value,
617
617
  void 0,
618
618
  { number: !0 }
@@ -636,7 +636,7 @@ const dn = {
636
636
  onPointerup: Ke
637
637
  }, null, 42, zn)), [
638
638
  [
639
- Wa,
639
+ Da,
640
640
  lt.value,
641
641
  void 0,
642
642
  { number: !0 }
@@ -656,12 +656,12 @@ const dn = {
656
656
  left: ke.value.tooltipLeft,
657
657
  color: v(tt)(N.selectColor),
658
658
  backgroundColor: N.selectColor,
659
- border: `1px solid ${De.value}`,
659
+ border: `1px solid ${We.value}`,
660
660
  zIndex: `${wl.value + 4}`,
661
- visibility: xe.value || ce.value.left === ce.value.right ? "hidden" : "visible"
661
+ visibility: be.value || ce.value.left === ce.value.right ? "hidden" : "visible"
662
662
  })
663
663
  }, ne(ce.value.left), 7)) : f("", !0),
664
- (xe.value || ce.value.left === ce.value.right) && (ce.value.left || ce.value.right) ? (s(), r("div", {
664
+ (be.value || ce.value.left === ce.value.right) && (ce.value.left || ce.value.right) ? (s(), r("div", {
665
665
  key: 4,
666
666
  ref: "tooltipMerge",
667
667
  class: Ee({
@@ -673,10 +673,10 @@ const dn = {
673
673
  }),
674
674
  style: $({
675
675
  left: ke.value.tooltipCenter,
676
- width: p.value.width + "px",
676
+ width: b.value.width + "px",
677
677
  color: v(tt)(N.selectColor),
678
678
  backgroundColor: N.selectColor,
679
- border: `1px solid ${De.value}`,
679
+ border: `1px solid ${We.value}`,
680
680
  zIndex: "4"
681
681
  })
682
682
  }, ne(ce.value.left === ce.value.right ? ce.value.left : `${ce.value.left} - ${ce.value.right}`), 7)) : f("", !0),
@@ -694,18 +694,18 @@ const dn = {
694
694
  left: ke.value.tooltipRight,
695
695
  color: v(tt)(N.selectColor),
696
696
  backgroundColor: N.selectColor,
697
- border: `1px solid ${De.value}`,
697
+ border: `1px solid ${We.value}`,
698
698
  zIndex: "4",
699
- visibility: xe.value || ce.value.left === ce.value.right ? "hidden" : "visible"
699
+ visibility: be.value || ce.value.left === ce.value.right ? "hidden" : "visible"
700
700
  })
701
701
  }, ne(ce.value.right), 7)) : f("", !0)
702
702
  ], 544)
703
703
  ], 544));
704
704
  }
705
- }, Tn = /* @__PURE__ */ Ja(In, [["__scopeId", "data-v-58fccd9f"]]), Nn = ["id"], Rn = ["id"], Pn = ["viewBox", "aria-label"], On = ["x", "y", "width", "height"], Fn = { key: 1 }, Hn = { class: "vue-ui-xy-grid" }, Vn = ["stroke", "x1", "x2", "y1", "y2"], Bn = ["stroke", "x1", "x2", "y1", "y2"], En = { key: 1 }, Wn = ["x1", "x2", "y1", "y2", "stroke"], Dn = ["x1", "x2", "y1", "y2", "stroke"], Xn = ["x1", "x2", "y1", "y2", "stroke"], Yn = { key: 3 }, Gn = ["d", "stroke"], Un = { key: 4 }, qn = ["d", "stroke"], Zn = ["id"], Kn = ["stop-color"], Jn = ["stop-color"], Qn = ["stop-color"], jn = ["id"], eu = ["stop-color"], tu = ["stop-color"], lu = ["stop-color"], au = ["id"], ou = ["stop-color"], nu = ["stop-color"], uu = ["id"], iu = ["stop-color"], su = ["stop-color"], ru = ["id"], cu = ["stop-color"], vu = ["stop-color"], du = ["x", "y", "height", "width", "fill"], hu = ["x", "y", "width"], fu = { key: 0 }, mu = ["x", "y", "height", "width", "fill"], gu = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], xu = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], bu = ["width", "x", "y"], pu = { key: 0 }, yu = ["id"], ku = ["fill"], wu = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Su = ["x", "y", "font-size", "fill"], _u = ["stroke", "x1", "x2", "y1", "y2"], $u = { key: 3 }, Lu = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Mu = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Cu = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Au = ["fill", "font-size", "transform"], zu = ["x1", "x2", "y1", "y2", "stroke"], Iu = ["x", "y", "font-size", "fill"], Tu = ["x1", "x2", "y1", "y2", "stroke"], Nu = ["x", "y", "font-size", "fill"], Ru = ["width", "x", "y"], Pu = { style: { width: "100%" } }, Ou = { key: 0 }, Fu = ["id"], Hu = ["fill"], Vu = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Bu = ["x", "y", "font-size", "fill"], Eu = ["d", "stroke", "stroke-width", "stroke-dasharray"], Wu = ["d", "stroke", "stroke-width", "stroke-dasharray"], Du = { key: 6 }, Xu = { key: 7 }, Yu = ["d", "fill", "fill-opacity"], Gu = { key: 0 }, Uu = ["d", "fill"], qu = ["d", "fill"], Zu = ["d", "fill"], Ku = ["d", "fill"], Ju = ["d", "stroke", "stroke-width", "stroke-dasharray"], Qu = ["d", "stroke", "stroke-width", "stroke-dasharray"], ju = ["width", "x", "y"], ei = { style: { width: "100%" } }, ti = { key: 3 }, li = ["id"], ai = ["fill"], oi = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ni = ["x", "y", "font-size", "fill"], ui = { key: 8 }, ii = ["x", "y", "font-size", "fill"], si = ["x", "y", "font-size", "fill", "font-weight"], ri = { key: 9 }, ci = ["x", "y", "font-size", "fill"], vi = { key: 10 }, di = ["x", "y"], hi = ["innerHTML"], fi = ["x", "y"], mi = ["innerHTML"], gi = ["x1", "x2", "y1", "y2", "stroke"], xi = { key: 11 }, bi = ["x", "y", "font-size", "fill"], pi = { key: 12 }, yi = ["x", "y"], ki = ["innerHTML"], wi = ["x", "y"], Si = ["innerHTML"], _i = ["x1", "x2", "y1", "y2", "stroke"], $i = ["x", "y", "font-size", "fill", "innerHTML"], Li = ["x", "y", "font-size", "fill", "innerHTML"], Mi = ["x", "y", "font-size", "fill", "innerHTML"], Ci = ["x", "y", "font-size", "fill", "innerHTML"], Ai = ["id"], zi = ["stop-color"], Ii = ["stop-color"], Ti = ["x", "y", "width", "height", "fill", "onMouseenter"], Ni = ["font-size", "fill", "transform"], Ri = ["x", "y", "font-size", "fill"], Pi = ["text-anchor", "font-size", "fill", "transform", "onClick"], Oi = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], Fi = { key: 15 }, Hi = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Vi = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Bi = ["y", "x", "width", "height", "fill"], Ei = ["id", "x", "y", "font-size", "fill", "text-anchor"], Wi = {
705
+ }, Tn = /* @__PURE__ */ Ja(In, [["__scopeId", "data-v-58fccd9f"]]), Nn = ["id"], Rn = ["id"], Pn = ["viewBox", "aria-label"], On = ["x", "y", "width", "height"], Fn = { key: 1 }, Hn = { class: "vue-ui-xy-grid" }, Vn = ["stroke", "x1", "x2", "y1", "y2"], Bn = ["stroke", "x1", "x2", "y1", "y2"], En = { key: 1 }, Dn = ["x1", "x2", "y1", "y2", "stroke"], Wn = ["x1", "x2", "y1", "y2", "stroke"], Xn = ["x1", "x2", "y1", "y2", "stroke"], Yn = { key: 3 }, Gn = ["d", "stroke"], Un = { key: 4 }, qn = ["d", "stroke"], Zn = ["id"], Kn = ["stop-color"], Jn = ["stop-color"], Qn = ["stop-color"], jn = ["id"], eu = ["stop-color"], tu = ["stop-color"], lu = ["stop-color"], au = ["id"], ou = ["stop-color"], nu = ["stop-color"], uu = ["id"], iu = ["stop-color"], su = ["stop-color"], ru = ["id"], cu = ["stop-color"], vu = ["stop-color"], du = ["x", "y", "height", "width", "fill"], hu = ["x", "y", "width"], fu = { key: 0 }, mu = ["x", "y", "height", "width", "fill"], gu = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], bu = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], xu = ["width", "x", "y"], pu = { key: 0 }, yu = ["id"], ku = ["fill"], wu = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Su = ["x", "y", "font-size", "fill"], _u = ["stroke", "x1", "x2", "y1", "y2"], $u = { key: 3 }, Lu = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Mu = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Cu = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Au = ["fill", "font-size", "transform"], zu = ["x1", "x2", "y1", "y2", "stroke"], Iu = ["x", "y", "font-size", "fill"], Tu = ["x1", "x2", "y1", "y2", "stroke"], Nu = ["x", "y", "font-size", "fill"], Ru = ["width", "x", "y"], Pu = { style: { width: "100%" } }, Ou = { key: 0 }, Fu = ["id"], Hu = ["fill"], Vu = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Bu = ["x", "y", "font-size", "fill"], Eu = ["d", "stroke", "stroke-width", "stroke-dasharray"], Du = ["d", "stroke", "stroke-width", "stroke-dasharray"], Wu = { key: 6 }, Xu = { key: 7 }, Yu = ["d", "fill", "fill-opacity"], Gu = { key: 0 }, Uu = ["d", "fill"], qu = ["d", "fill"], Zu = ["d", "fill"], Ku = ["d", "fill"], Ju = ["d", "stroke", "stroke-width", "stroke-dasharray"], Qu = ["d", "stroke", "stroke-width", "stroke-dasharray"], ju = ["width", "x", "y"], ei = { style: { width: "100%" } }, ti = { key: 3 }, li = ["id"], ai = ["fill"], oi = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ni = ["x", "y", "font-size", "fill"], ui = { key: 8 }, ii = ["x", "y", "font-size", "fill"], si = ["x", "y", "font-size", "fill", "font-weight"], ri = { key: 9 }, ci = ["x", "y", "font-size", "fill"], vi = { key: 10 }, di = ["x", "y"], hi = ["innerHTML"], fi = ["x", "y"], mi = ["innerHTML"], gi = ["x1", "x2", "y1", "y2", "stroke"], bi = { key: 11 }, xi = ["x", "y", "font-size", "fill"], pi = { key: 12 }, yi = ["x", "y"], ki = ["innerHTML"], wi = ["x", "y"], Si = ["innerHTML"], _i = ["x1", "x2", "y1", "y2", "stroke"], $i = ["x", "y", "font-size", "fill", "innerHTML"], Li = ["x", "y", "font-size", "fill", "innerHTML"], Mi = ["x", "y", "font-size", "fill", "innerHTML"], Ci = ["x", "y", "font-size", "fill", "innerHTML"], Ai = ["id"], zi = ["stop-color"], Ii = ["stop-color"], Ti = ["x", "y", "width", "height", "fill", "onMouseenter"], Ni = ["font-size", "fill", "transform"], Ri = ["x", "y", "font-size", "fill"], Pi = ["text-anchor", "font-size", "fill", "transform", "onClick"], Oi = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], Fi = { key: 15 }, Hi = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Vi = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Bi = ["y", "x", "width", "height", "fill"], Ei = ["id", "x", "y", "font-size", "fill", "text-anchor"], Di = {
706
706
  key: 16,
707
707
  style: { "pointer-events": "none" }
708
- }, Di = ["x", "y"], Xi = ["innerHTML"], Yi = ["cx", "cy", "r", "fill"], Gi = ["data-start", "data-end"], Ui = {
708
+ }, Wi = ["x", "y"], Xi = ["innerHTML"], Yi = ["cx", "cy", "r", "fill"], Gi = ["data-start", "data-end"], Ui = {
709
709
  key: 4,
710
710
  class: "vue-data-ui-watermark"
711
711
  }, qi = {
@@ -767,8 +767,8 @@ const dn = {
767
767
  }
768
768
  },
769
769
  emits: ["selectTimeLabel", "selectX", "selectLegend"],
770
- setup(N, { expose: Wl, emit: Dl }) {
771
- const d = N, We = St(() => import("./DataTable-D5jcKSEP.js")), ve = St(() => import("./Tooltip-CZV_BR2c.js")), de = St(() => import("./UserOptions-ZcUANK_c.js")), Mt = St(() => import("./BaseIcon-xyB9D1pA.js")), al = St(() => import("./vue-ui-table-sparkline-CMW71OVJ.js")), Wt = St(() => import("./vue-ui-accordion-u-pE5AEw.js")), Dt = St(() => import("./PackageVersion-CvI7dfPE.js")), pt = St(() => import("./PenAndPaper-ByuyUNh2.js")), lt = Dl, ol = Io(), Ke = To(), { vue_ui_xy: nl } = Vo(), be = b(null), ke = b(null), Oe = b(null), at = b(null), Ct = b(null), At = b(null), Xl = b(null), De = b(null), Xt = b(null), dt = b(null), zt = b(null), K = b(null), ot = b(null), Yt = b(0), O = b(null), ul = b(!0), pe = b(600), ue = b(1e3), nt = b("0 0 1000 600"), It = b({ x: 0, y: 0 }), ie = b({ line: "line", bar: "bar", plot: "plot" }), we = b(!1), Se = b(!1), ht = b(!1), ft = b(null), he = b([]), Z = b(Hl()), Gt = b(0), il = b(0), sl = b(0), yt = b(!0), Tt = b(0), F = b(null), Ut = b(!1), rl = b(!0), qt = b(!0), Me = b(null), Xe = b({}), Fe = b(null), Je = b(!1), S = b(null), ut = x(() => ({
770
+ setup(N, { expose: Dl, emit: Wl }) {
771
+ const d = N, De = St(() => import("./DataTable-BEwx7iZw.js")), ve = St(() => import("./Tooltip-BBiJO0gB.js")), de = St(() => import("./UserOptions-DYEGbZZq.js")), Mt = St(() => import("./BaseIcon-ChTY8am9.js")), al = St(() => import("./vue-ui-table-sparkline-CT6erH9m.js")), Dt = St(() => import("./vue-ui-accordion-8-UDMRYy.js")), Wt = St(() => import("./PackageVersion-DoMO2moW.js")), pt = St(() => import("./PenAndPaper-Iki1v7S8.js")), lt = Wl, ol = Io(), Ke = To(), { vue_ui_xy: nl } = Vo(), xe = p(null), ke = p(null), Oe = p(null), at = p(null), Ct = p(null), At = p(null), Xl = p(null), We = p(null), Xt = p(null), dt = p(null), zt = p(null), K = p(null), ot = p(null), Yt = p(0), O = p(null), ul = p(!0), pe = p(600), ue = p(1e3), nt = p("0 0 1000 600"), It = p({ x: 0, y: 0 }), ie = p({ line: "line", bar: "bar", plot: "plot" }), we = p(!1), Se = p(!1), ht = p(!1), ft = p(null), he = p([]), Z = p(Hl()), Gt = p(0), il = p(0), sl = p(0), yt = p(!0), Tt = p(0), F = p(null), Ut = p(!1), rl = p(!0), qt = p(!0), Me = p(null), Xe = p({}), Fe = p(null), Je = p(!1), S = p(null), ut = x(() => ({
772
772
  height: pe.value,
773
773
  width: ue.value
774
774
  }));
@@ -778,7 +778,7 @@ const dn = {
778
778
  function vl(l, u, e = 0) {
779
779
  return Number.isFinite(l) && Number.isFinite(u) && Math.abs(u) > 1e-9 ? l / u : e;
780
780
  }
781
- const yl = b(!1), k = b({
781
+ const yl = p(!1), k = p({
782
782
  dataLabels: { show: !0 },
783
783
  showTooltip: !0,
784
784
  showTable: !1,
@@ -794,12 +794,12 @@ const dn = {
794
794
  useIndividualScale: t.value.chart.grid.labels.yAxis.useIndividualScale
795
795
  }, yl.value = !0);
796
796
  }
797
- const _ = b({
797
+ const _ = p({
798
798
  xAxis: 18,
799
799
  yAxis: 12,
800
800
  dataLabels: 20,
801
801
  plotLabels: 10
802
- }), Ie = b({ plot: 3, line: 3 });
802
+ }), Ie = p({ plot: 3, line: 3 });
803
803
  tl(() => {
804
804
  Je.value = !0, d.dataset.length && d.dataset.forEach((l, u) => {
805
805
  [null, void 0].includes(l.series) && ea({
@@ -836,7 +836,7 @@ const dn = {
836
836
  set(l) {
837
837
  return l;
838
838
  }
839
- }), t = b(it()), mt = x(() => !!t.value.debug), { loading: se, FINAL_DATASET: re, manualLoading: Nt } = ln({
839
+ }), t = p(it()), mt = x(() => !!t.value.debug), { loading: se, FINAL_DATASET: re, manualLoading: Nt } = ln({
840
840
  ...No(d),
841
841
  FINAL_CONFIG: t,
842
842
  prepareConfig: it,
@@ -928,10 +928,10 @@ const dn = {
928
928
  return a || (a = /* @__PURE__ */ new Map(), u.set(e, a)), a.set(i, o), o;
929
929
  };
930
930
  }
931
- const wl = kl((l, u) => ta({ data: l, threshold: u })), Ye = (l) => wl(l, t.value.downsample.threshold), xe = x({
931
+ const wl = kl((l, u) => ta({ data: l, threshold: u })), Ye = (l) => wl(l, t.value.downsample.threshold), be = x({
932
932
  get: () => Math.max(...re.value.map((l) => Ye(l.series).length)),
933
933
  set: (l) => l
934
- }), p = b({ start: 0, end: xe.value }), Te = b({ start: 0, end: xe.value }), ce = x(() => t.value.chart.zoom.preview.enable && (Te.value.start !== p.value.start || Te.value.end !== p.value.end));
934
+ }), b = p({ start: 0, end: be.value }), Te = p({ start: 0, end: be.value }), ce = x(() => t.value.chart.zoom.preview.enable && (Te.value.start !== b.value.start || Te.value.end !== b.value.end));
935
935
  function m(l, u) {
936
936
  Te.value[l] = u;
937
937
  }
@@ -940,11 +940,11 @@ const dn = {
940
940
  1,
941
941
  ...re.value.map((n) => Ye(n.series).length)
942
942
  );
943
- let u = Math.max(0, Math.min(p.value.start ?? 0, l - 1)), e = Math.max(u + 1, Math.min(p.value.end ?? l, l));
944
- (!Number.isFinite(u) || !Number.isFinite(e) || e <= u) && (u = 0, e = l), p.value = { start: u, end: e }, Te.value.start = u, Te.value.end = e;
943
+ let u = Math.max(0, Math.min(b.value.start ?? 0, l - 1)), e = Math.max(u + 1, Math.min(b.value.end ?? l, l));
944
+ (!Number.isFinite(u) || !Number.isFinite(e) || e <= u) && (u = 0, e = l), b.value = { start: u, end: e }, Te.value.start = u, Te.value.end = e;
945
945
  }
946
946
  const w = x(() => {
947
- const { left: l, top: u, width: e, height: n } = c.value, a = p.value.start, o = p.value.end - a, z = e / o, H = Te.value.start - a, E = Te.value.end - a, L = Math.max(0, Math.min(o, H)), T = Math.max(0, Math.min(o, E));
947
+ const { left: l, top: u, width: e, height: n } = c.value, a = b.value.start, o = b.value.end - a, z = e / o, H = Te.value.start - a, E = Te.value.end - a, L = Math.max(0, Math.min(o, H)), T = Math.max(0, Math.min(o, E));
948
948
  return {
949
949
  x: l + L * z,
950
950
  y: u,
@@ -968,14 +968,14 @@ const dn = {
968
968
  S.value = null;
969
969
  return;
970
970
  }
971
- const u = l - p.value.start;
972
- u < 0 || l >= p.value.end ? S.value = null : S.value = u ?? null;
971
+ const u = l - b.value.start;
972
+ u < 0 || l >= b.value.end ? S.value = null : S.value = u ?? null;
973
973
  }, { immediate: !0 });
974
974
  const { isPrinting: Y, isImaging: Ce, generatePdf: Rt, generateImage: Sl } = tn({
975
975
  elementId: `vue-ui-xy_${Z.value}`,
976
976
  fileName: t.value.chart.title.text || "vue-ui-xy",
977
977
  options: t.value.chart.userOptions.print
978
- }), hl = b(!1), _l = x(() => Eo(t.value.customPalette)), Zt = x(() => {
978
+ }), hl = p(!1), _l = x(() => Eo(t.value.customPalette)), Zt = x(() => {
979
979
  if (t.value.chart.grid.labels.yAxis.scaleMin !== null)
980
980
  return t.value.chart.grid.labels.yAxis.scaleMin;
981
981
  const l = Math.min(...gt.value.filter((u) => !he.value.includes(u.id)).map((u) => Math.min(...u.series)));
@@ -990,8 +990,8 @@ const dn = {
990
990
  return {
991
991
  ...l,
992
992
  slotAbsoluteIndex: u,
993
- series: e.map((a) => Pl(a) ? a : null).slice(p.value.start, p.value.end),
994
- color: Wo(l.color ? l.color : _l.value[u] ? _l.value[u] : Do[u]),
993
+ series: e.map((a) => Pl(a) ? a : null).slice(b.value.start, b.value.end),
994
+ color: Do(l.color ? l.color : _l.value[u] ? _l.value[u] : Wo[u]),
995
995
  id: n,
996
996
  scaleLabel: l.scaleLabel || n
997
997
  };
@@ -1016,10 +1016,10 @@ const dn = {
1016
1016
  const u = Xt.value ? Xt.value.getBoundingClientRect().width + t.value.chart.grid.labels.axis.yLabelOffsetX + _.value.yAxis : 0, e = t.value.chart.grid.labels.yAxis.crosshairSize;
1017
1017
  return l + u + e;
1018
1018
  }
1019
- const Yl = b(0), ja = oa((l) => {
1019
+ const Yl = p(0), ja = oa((l) => {
1020
1020
  Yl.value = l;
1021
1021
  }, 100);
1022
- Da((l) => {
1022
+ Wa((l) => {
1023
1023
  const u = dt.value;
1024
1024
  if (!u) return;
1025
1025
  const e = new ResizeObserver((n) => {
@@ -1031,7 +1031,7 @@ const dn = {
1031
1031
  });
1032
1032
  const na = x(() => {
1033
1033
  let l = 0;
1034
- De.value && (l = De.value.getBBox().height);
1034
+ We.value && (l = We.value.getBBox().height);
1035
1035
  let u = 0;
1036
1036
  return dt.value && (u = Yl.value), l + u + _.value.xAxis;
1037
1037
  }), eo = x(() => re.value.some((l) => l.useProgression)), c = x(() => {
@@ -1080,13 +1080,13 @@ const dn = {
1080
1080
  return Fe.value.font = `normal ${l}px sans-serif`, Fe.value;
1081
1081
  }
1082
1082
  function ia() {
1083
- const l = be.value.querySelectorAll(".vue-ui-xy-tag");
1083
+ const l = xe.value.querySelectorAll(".vue-ui-xy-tag");
1084
1084
  l.length && Array.from(l).forEach((u) => u.style.opacity = "0");
1085
1085
  }
1086
1086
  function $l(l, u, e, n, a) {
1087
1087
  e && (Xe.value[`${l}_${u}_${n}_${a}`] = e);
1088
1088
  }
1089
- const sa = b(!1);
1089
+ const sa = p(!1);
1090
1090
  async function ra(l = !1) {
1091
1091
  await Et(), sa.value = l, Ut.value && (qt.value = l);
1092
1092
  }
@@ -1099,8 +1099,8 @@ const dn = {
1099
1099
  values: t.value.chart.grid.labels.xAxisLabels.values,
1100
1100
  maxDatapoints: l,
1101
1101
  formatter: t.value.chart.grid.labels.xAxisLabels.datetimeFormatter,
1102
- start: p.value.start,
1103
- end: p.value.end
1102
+ start: b.value.start,
1103
+ end: b.value.end
1104
1104
  });
1105
1105
  }), ca = x(() => {
1106
1106
  const l = Math.max(...re.value.map((u) => ta({ data: u.series, threshold: t.value.downsample.threshold }).length));
@@ -1109,7 +1109,7 @@ const dn = {
1109
1109
  maxDatapoints: l,
1110
1110
  formatter: t.value.chart.grid.labels.xAxisLabels.datetimeFormatter,
1111
1111
  start: 0,
1112
- end: xe.value
1112
+ end: be.value
1113
1113
  });
1114
1114
  }), oo = x(() => {
1115
1115
  const l = t.value.chart.grid.labels.xAxisLabels.modulo;
@@ -1140,17 +1140,17 @@ const dn = {
1140
1140
  if (!E.length)
1141
1141
  return n.map((V, P) => ({ text: "", absoluteIndex: P }));
1142
1142
  const L = E.length, T = H, J = Math.max(2, Math.min(T - 3, L)), M = Math.min(L, T + 3);
1143
- let W = Math.min(T, L), R = 1 / 0;
1143
+ let D = Math.min(T, L), R = 1 / 0;
1144
1144
  for (let V = J; V <= M; V += 1) {
1145
1145
  const P = (L - 1) % (V - 1), le = Math.abs(V - T), Re = P * 10 + le;
1146
- Re < R && (R = Re, W = V);
1146
+ Re < R && (R = Re, D = V);
1147
1147
  }
1148
1148
  const oe = /* @__PURE__ */ new Set();
1149
- if (W <= 1)
1149
+ if (D <= 1)
1150
1150
  oe.add(E[Math.round((L - 1) / 2)]);
1151
1151
  else {
1152
- const V = (L - 1) / (W - 1);
1153
- for (let P = 0; P < W; P += 1)
1152
+ const V = (L - 1) / (D - 1);
1153
+ for (let P = 0; P < D; P += 1)
1154
1154
  oe.add(E[Math.round(P * V)]);
1155
1155
  }
1156
1156
  return n.map((V, P) => ({
@@ -1158,7 +1158,7 @@ const dn = {
1158
1158
  absoluteIndex: P
1159
1159
  }));
1160
1160
  }), Ul = x(() => {
1161
- const l = t.value.chart.grid.labels.xAxisLabels, u = _e.value || [], e = ca.value || [], n = p.value.start ?? 0, a = S.value, i = I.value, o = u.map((H) => H?.text ?? ""), z = e.map((H) => H?.text ?? "");
1161
+ const l = t.value.chart.grid.labels.xAxisLabels, u = _e.value || [], e = ca.value || [], n = b.value.start ?? 0, a = S.value, i = I.value, o = u.map((H) => H?.text ?? ""), z = e.map((H) => H?.text ?? "");
1162
1162
  return uo(
1163
1163
  !!l.showOnlyFirstAndLast,
1164
1164
  !!l.showOnlyAtModulo,
@@ -1188,7 +1188,7 @@ const dn = {
1188
1188
  });
1189
1189
  }
1190
1190
  const I = x(() => {
1191
- const l = cl((p.value.end ?? 0) - (p.value.start ?? 0));
1191
+ const l = cl((b.value.end ?? 0) - (b.value.start ?? 0));
1192
1192
  return Math.max(1, l);
1193
1193
  });
1194
1194
  function da(l) {
@@ -1212,7 +1212,7 @@ const dn = {
1212
1212
  async function Ll() {
1213
1213
  await Et(), await Et();
1214
1214
  const { startIndex: l, endIndex: u } = t.value.chart.zoom, e = Oe.value, n = Math.max(...re.value.map((a) => Ye(a.series).length));
1215
- (l != null || u != null) && e ? (l != null && (p.value.start = l, e.setStartValue(l)), u != null && (p.value.end = u + 1, e.setEndValue(so(u + 1)))) : (p.value = { start: 0, end: n }, Yt.value += 1), Te.value.start = p.value.start, Te.value.end = p.value.end, h();
1215
+ b.value = { start: 0, end: n }, (l != null || u != null) && e ? (l != null ? (b.value.start = l, e.setStartValue(l)) : (b.value.start = 0, e.setStartValue(0)), u != null ? (b.value.end = u + 1, e.setEndValue(so(u + 1))) : (b.value.end = n, e.setEndValue(n))) : (b.value = { start: 0, end: n }, Yt.value += 1), Te.value.start = b.value.start, Te.value.end = b.value.end, h();
1216
1216
  }
1217
1217
  async function fa() {
1218
1218
  await Ll();
@@ -1227,10 +1227,10 @@ const dn = {
1227
1227
  const Ae = x(() => isNaN(Pt(fl.value)) ? c.value.bottom : c.value.bottom - c.value.height * Pt(fl.value));
1228
1228
  function ga(l) {
1229
1229
  const u = ![null, void 0].includes(t.value.chart.grid.labels.yAxis.scaleMin) && t.value.chart.grid.labels.yAxis.scaleMin > 0 && Zt.value >= 0 ? c.value.bottom : Ae.value;
1230
- return l.value >= 0 ? D(u - l.y <= 0 ? 1e-5 : u - l.y) : D(l.y - Ae.value <= 0 ? 1e-5 : l.y - Ae.value);
1230
+ return l.value >= 0 ? W(u - l.y <= 0 ? 1e-5 : u - l.y) : W(l.y - Ae.value <= 0 ? 1e-5 : l.y - Ae.value);
1231
1231
  }
1232
- function xa(l) {
1233
- return l.value >= 0 ? D(l.zeroPosition - l.y <= 0 ? 1e-5 : l.zeroPosition - l.y) : D(l.y - l.zeroPosition <= 0 ? 1e-5 : l.zeroPosition - l.y);
1232
+ function ba(l) {
1233
+ return l.value >= 0 ? W(l.zeroPosition - l.y <= 0 ? 1e-5 : l.zeroPosition - l.y) : W(l.y - l.zeroPosition <= 0 ? 1e-5 : l.zeroPosition - l.y);
1234
1234
  }
1235
1235
  const ae = x(() => {
1236
1236
  const l = Math.max(1, I.value), u = Math.max(1, c.value.width), e = Math.max(1, gt.value.filter((n) => n.type === "bar" && !he.value.includes(n.id)).length);
@@ -1246,13 +1246,13 @@ const dn = {
1246
1246
  function Ml(l) {
1247
1247
  return k.value.useIndividualScale && k.value.isStacked ? l.x + c.value.width / I.value * 0.05 : l.x + ae.value.bar / 2;
1248
1248
  }
1249
- function ba(l) {
1249
+ function xa(l) {
1250
1250
  return l.value >= 0 ? l.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(Ae.value) ? c.bottom.value : Ae.value;
1251
1251
  }
1252
1252
  function pa(l) {
1253
1253
  return l.value >= 0 ? l.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(l.zeroPosition) ? 0 : l.zeroPosition;
1254
1254
  }
1255
- const ml = b(null);
1255
+ const ml = p(null);
1256
1256
  let Ot = 0;
1257
1257
  function ro(l, u, e) {
1258
1258
  return l >= e.left && l <= e.right && u >= e.top && u <= e.bottom;
@@ -1290,7 +1290,7 @@ const dn = {
1290
1290
  index: l,
1291
1291
  indexLabel: t.value.chart.grid.labels.xAxisLabels.values[l]
1292
1292
  }
1293
- ), t.value.events.datapointClick && t.value.events.datapointClick({ datapoint: u, seriesIndex: l + p.value.start });
1293
+ ), t.value.events.datapointClick && t.value.events.datapointClick({ datapoint: u, seriesIndex: l + b.value.start });
1294
1294
  }
1295
1295
  function fo() {
1296
1296
  return rt.value.map((l) => ({
@@ -1301,8 +1301,8 @@ const dn = {
1301
1301
  }));
1302
1302
  }
1303
1303
  async function mo({ scale: l = 2 } = {}) {
1304
- if (!be.value) return;
1305
- const { width: u, height: e } = be.value.getBoundingClientRect(), n = u / e, { imageUri: a, base64: i } = await sn({ domElement: be.value, base64: !0, img: !0, scale: l });
1304
+ if (!xe.value) return;
1305
+ const { width: u, height: e } = xe.value.getBoundingClientRect(), n = u / e, { imageUri: a, base64: i } = await sn({ domElement: xe.value, base64: !0, img: !0, scale: l });
1306
1306
  return {
1307
1307
  imageUri: a,
1308
1308
  base64: i,
@@ -1331,10 +1331,10 @@ const dn = {
1331
1331
  return `${l}. ${u}`;
1332
1332
  }), ka = x(() => ({
1333
1333
  linePlot: I.value > t.value.line.dot.hideAboveMaxSerieLength
1334
- })), xo = x(() => t.value.chart.userOptions.show && (!t.value.chart.title.show || !t.value.chart.title.text)), bo = x(() => {
1334
+ })), bo = x(() => t.value.chart.userOptions.show && (!t.value.chart.title.show || !t.value.chart.title.text)), xo = x(() => {
1335
1335
  if (Array.isArray(t.value.chart.highlightArea))
1336
1336
  return t.value.chart.highlightArea.map((u) => {
1337
- const e = Math.min(u.to, xe.value - 1);
1337
+ const e = Math.min(u.to, be.value - 1);
1338
1338
  return {
1339
1339
  ...u,
1340
1340
  span: u.from === e ? 1 : e < u.from ? 0 : e - u.from + 1
@@ -1342,7 +1342,7 @@ const dn = {
1342
1342
  });
1343
1343
  const l = {
1344
1344
  ...t.value.chart.highlightArea,
1345
- to: Math.min(t.value.chart.highlightArea.to, xe.value - 1)
1345
+ to: Math.min(t.value.chart.highlightArea.to, be.value - 1)
1346
1346
  };
1347
1347
  return [{ ...l, span: l.from === l.to ? 1 : l.to < l.from ? 0 : l.to - l.from + 1 }];
1348
1348
  }), po = x(() => ul.value ? re.value.map((l, u) => ({
@@ -1401,7 +1401,7 @@ const dn = {
1401
1401
  e.push(l.map((i) => i.series[a] || 0).reduce((i, o) => (i || 0) + (o || 0), 0));
1402
1402
  const n = Math.min(...e);
1403
1403
  return e.map((a) => a + (n < 0 ? Math.abs(n) : 0));
1404
- }), xt = x(() => Ge.value.map((l) => ({
1404
+ }), bt = x(() => Ge.value.map((l) => ({
1405
1405
  slotAbsoluteIndex: l.slotAbsoluteIndex,
1406
1406
  shape: l.shape || null,
1407
1407
  name: l.name,
@@ -1428,7 +1428,7 @@ const dn = {
1428
1428
  return a - T * i;
1429
1429
  };
1430
1430
  return u.map((L) => {
1431
- const { yAxis: { yTop: T, yBottom: J, label: M } } = L, W = T != null && J != null && T !== J, R = T == null ? null : E(T), oe = J == null ? null : E(J), V = ao(M.fontSize);
1431
+ const { yAxis: { yTop: T, yBottom: J, label: M } } = L, D = T != null && J != null && T !== J, R = T == null ? null : E(T), oe = J == null ? null : E(J), V = ao(M.fontSize);
1432
1432
  V.font = `${M.fontSize}px sans-serif`;
1433
1433
  const P = V.measureText(M.text).width, le = M.fontSize, Re = (M.position === "start" ? e + M.padding.left : n - M.padding.right) + M.offsetX, Ve = (R != null && oe != null ? Math.min(R, oe) : R ?? oe) - M.fontSize / 3 + M.offsetY - M.padding.top;
1434
1434
  let G;
@@ -1437,8 +1437,8 @@ const dn = {
1437
1437
  return {
1438
1438
  show: ![R, oe, U].includes(NaN),
1439
1439
  id: `annotation_y_${Hl()}`,
1440
- hasArea: W,
1441
- areaHeight: W ? Math.abs(R - oe) : 0,
1440
+ hasArea: D,
1441
+ areaHeight: D ? Math.abs(R - oe) : 0,
1442
1442
  yTop: R,
1443
1443
  yBottom: oe,
1444
1444
  config: L.yAxis,
@@ -1464,7 +1464,7 @@ const dn = {
1464
1464
  let a = !!e && !!n && e.value == null && n.value == null || !e && !!n && n.value == null || !!e && !n && e.value == null;
1465
1465
  return He(l[u].value) && a && t.value.line.cutNullValues;
1466
1466
  }
1467
- const bt = x(() => {
1467
+ const xt = x(() => {
1468
1468
  const l = Ft.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), u = l.length, e = t.value.chart.grid.labels.yAxis.gap, n = k.value.isStacked, a = n ? e * (u - 1) : 0, i = c.value.height - a;
1469
1469
  return l.filter((o) => o.type === "bar").map((o, z) => {
1470
1470
  ql(o);
@@ -1476,31 +1476,31 @@ const dn = {
1476
1476
  }, T = {
1477
1477
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
1478
1478
  min: o.scaleMin || Math.min(...o.absoluteValues.filter((X) => ![void 0, null].includes(X))) > 0 ? 0 : Math.min(...o.absoluteValues.filter((X) => ![null, void 0].includes(X)))
1479
- }, J = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, M = 1.0000001, W = t.value.chart.grid.labels.yAxis.useNiceScale ? pl(T.min, T.max === T.min ? T.max * M : T.max, J) : Vt(T.min, T.max === T.min ? T.max * M : T.max, J), R = t.value.chart.grid.labels.yAxis.useNiceScale ? pl(L.valueMin, L.valueMax === L.valueMin ? L.valueMax * M : L.valueMax, J) : Vt(L.valueMin, L.valueMax === L.valueMin ? L.valueMax * M : L.valueMax, J), oe = W.min >= 0 ? 0 : Math.abs(W.min), V = 0, P = W.max + oe, le = R.max + Math.abs(V), Re = o.stackIndex, Qt = u - 1 - Re, Ve = n ? 1 - o.cumulatedStackRatio : 0, G = n ? i * Ve + e * Qt : 0, U = n ? i * o.stackRatio : c.value.height, fe = c.value.bottom - G - U * oe / P, Be = c.value.bottom - G - U * V / le, ze = rt.value.filter((X) => X.type === "bar").filter((X) => !he.value.includes(X.id)).length, xl = o.series.map((X, ge) => {
1479
+ }, J = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, M = 1.0000001, D = t.value.chart.grid.labels.yAxis.useNiceScale ? pl(T.min, T.max === T.min ? T.max * M : T.max, J) : Vt(T.min, T.max === T.min ? T.max * M : T.max, J), R = t.value.chart.grid.labels.yAxis.useNiceScale ? pl(L.valueMin, L.valueMax === L.valueMin ? L.valueMax * M : L.valueMax, J) : Vt(L.valueMin, L.valueMax === L.valueMin ? L.valueMax * M : L.valueMax, J), oe = D.min >= 0 ? 0 : Math.abs(D.min), V = 0, P = D.max + oe, le = R.max + Math.abs(V), Re = o.stackIndex, Qt = u - 1 - Re, Ve = n ? 1 - o.cumulatedStackRatio : 0, G = n ? i * Ve + e * Qt : 0, U = n ? i * o.stackRatio : c.value.height, fe = c.value.bottom - G - U * oe / P, Be = c.value.bottom - G - U * V / le, ze = rt.value.filter((X) => X.type === "bar").filter((X) => !he.value.includes(X.id)).length, bl = o.series.map((X, ge) => {
1480
1480
  const wt = k.value.useIndividualScale ? (o.absoluteValues[ge] + oe) / P : Pt(X), Ht = k.value.useIndividualScale && k.value.isStacked ? c.value.left + c.value.width / I.value * ge : c.value.left + ae.value.bar * z + ae.value.bar * ge * ze - wo.value / 2 - z * Cl.value;
1481
1481
  return {
1482
- yOffset: D(G),
1483
- individualHeight: D(U),
1484
- x: D(Ht),
1482
+ yOffset: W(G),
1483
+ individualHeight: W(U),
1484
+ x: W(Ht),
1485
1485
  y: c.value.bottom - G - U * wt,
1486
1486
  value: o.absoluteValues[ge],
1487
- zeroPosition: D(fe),
1488
- individualMax: D(P),
1489
- comment: o.comments && o.comments.slice(p.value.start, p.value.end)[ge] || ""
1487
+ zeroPosition: W(fe),
1488
+ individualMax: W(P),
1489
+ comment: o.comments && o.comments.slice(b.value.start, b.value.end)[ge] || ""
1490
1490
  };
1491
1491
  }), Pe = o.absoluteValues.map((X) => R.min >= 0 ? (X - Math.abs(R.min)) / (R.max - Math.abs(R.min)) : (X + Math.abs(R.min)) / (R.max + Math.abs(R.min))), kt = o.series.map((X, ge) => {
1492
1492
  const wt = k.value.useIndividualScale && k.value.isStacked ? c.value.left + c.value.width / I.value * ge : c.value.left - ae.value.bar / 2 + ae.value.bar * z + ae.value.bar * ge * rt.value.filter((Ht) => Ht.type === "bar").filter((Ht) => !he.value.includes(Ht.id)).length;
1493
1493
  return {
1494
- yOffset: D(G),
1495
- individualHeight: D(U),
1496
- x: D(wt),
1497
- y: D(c.value.bottom - D(G) - (D(U) * Pe[ge] || 0)),
1494
+ yOffset: W(G),
1495
+ individualHeight: W(U),
1496
+ x: W(wt),
1497
+ y: W(c.value.bottom - W(G) - (W(U) * Pe[ge] || 0)),
1498
1498
  value: o.absoluteValues[ge],
1499
- zeroPosition: D(fe),
1500
- individualMax: D(P),
1501
- comment: o.comments && o.comments.slice(p.value.start, p.value.end)[ge] || ""
1499
+ zeroPosition: W(fe),
1500
+ individualMax: W(P),
1501
+ comment: o.comments && o.comments.slice(b.value.start, b.value.end)[ge] || ""
1502
1502
  };
1503
- }), Q = W.ticks.map((X) => ({
1503
+ }), Q = D.ticks.map((X) => ({
1504
1504
  y: X >= 0 ? fe - U * (X / P) : fe + U * Math.abs(X) / P,
1505
1505
  value: X,
1506
1506
  prefix: o.prefix || t.value.chart.labels.prefix,
@@ -1522,10 +1522,10 @@ const dn = {
1522
1522
  autoScaleYLabels: me,
1523
1523
  individualHeight: U,
1524
1524
  scaleYLabels: o.autoScaling ? me : Q,
1525
- individualScale: o.autoScaling ? R : W,
1525
+ individualScale: o.autoScaling ? R : D,
1526
1526
  individualMax: o.autoScaling ? le : P,
1527
1527
  zeroPosition: o.autoScaling ? Be : fe,
1528
- plots: o.autoScaling ? kt : xl,
1528
+ plots: o.autoScaling ? kt : bl,
1529
1529
  groupId: A.value[o.scaleLabel].groupId
1530
1530
  };
1531
1531
  });
@@ -1541,25 +1541,25 @@ const dn = {
1541
1541
  }, T = {
1542
1542
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
1543
1543
  min: o.scaleMin || (Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues))
1544
- }, J = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, M = 1.0000001, W = t.value.chart.grid.labels.yAxis.useNiceScale ? pl(T.min, T.max === T.min ? T.max * M : T.max, J) : Vt(T.min, T.max === T.min ? T.max * M : T.max, J), R = t.value.chart.grid.labels.yAxis.useNiceScale ? pl(L.valueMin, L.valueMax === L.valueMin ? L.valueMax * M : L.valueMax, J) : Vt(L.valueMin, L.valueMax === L.valueMin ? L.valueMax * M : L.valueMax, J), oe = W.min >= 0 ? 0 : Math.abs(W.min), V = 0, P = W.max + Math.abs(oe), le = R.max + Math.abs(V), Re = o.stackIndex, Qt = u - 1 - Re, Ve = n ? 1 - o.cumulatedStackRatio : 0, G = n ? i * Ve + e * Qt : 0, U = n ? i * o.stackRatio : c.value.height, fe = c.value.bottom - G - U * oe / P, Be = c.value.bottom - G - U * V / le, ze = o.series.map((B, $e) => {
1544
+ }, J = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, M = 1.0000001, D = t.value.chart.grid.labels.yAxis.useNiceScale ? pl(T.min, T.max === T.min ? T.max * M : T.max, J) : Vt(T.min, T.max === T.min ? T.max * M : T.max, J), R = t.value.chart.grid.labels.yAxis.useNiceScale ? pl(L.valueMin, L.valueMax === L.valueMin ? L.valueMax * M : L.valueMax, J) : Vt(L.valueMin, L.valueMax === L.valueMin ? L.valueMax * M : L.valueMax, J), oe = D.min >= 0 ? 0 : Math.abs(D.min), V = 0, P = D.max + Math.abs(oe), le = R.max + Math.abs(V), Re = o.stackIndex, Qt = u - 1 - Re, Ve = n ? 1 - o.cumulatedStackRatio : 0, G = n ? i * Ve + e * Qt : 0, U = n ? i * o.stackRatio : c.value.height, fe = c.value.bottom - G - U * oe / P, Be = c.value.bottom - G - U * V / le, ze = o.series.map((B, $e) => {
1545
1545
  const Co = k.value.useIndividualScale ? (o.absoluteValues[$e] + Math.abs(oe)) / P : Pt(B);
1546
1546
  return {
1547
- x: D(c.value.left + ae.value.line / 2 + ae.value.line * $e),
1548
- y: D(c.value.bottom - G - U * Co),
1547
+ x: W(c.value.left + ae.value.line / 2 + ae.value.line * $e),
1548
+ y: W(c.value.bottom - G - U * Co),
1549
1549
  value: o.absoluteValues[$e],
1550
- comment: o.comments && o.comments.slice(p.value.start, p.value.end)[$e] || ""
1550
+ comment: o.comments && o.comments.slice(b.value.start, b.value.end)[$e] || ""
1551
1551
  };
1552
- }), xl = o.absoluteValues.map((B) => R.min >= 0 ? (B - Math.abs(R.min)) / (R.max - Math.abs(R.min)) : (B + Math.abs(R.min)) / (R.max + Math.abs(R.min))), Pe = o.series.map((B, $e) => [void 0, null].includes(o.absoluteValues[$e]) ? {
1553
- x: D(c.value.left + ae.value.line / 2 + ae.value.line * $e),
1552
+ }), bl = o.absoluteValues.map((B) => R.min >= 0 ? (B - Math.abs(R.min)) / (R.max - Math.abs(R.min)) : (B + Math.abs(R.min)) / (R.max + Math.abs(R.min))), Pe = o.series.map((B, $e) => [void 0, null].includes(o.absoluteValues[$e]) ? {
1553
+ x: W(c.value.left + ae.value.line / 2 + ae.value.line * $e),
1554
1554
  y: fe,
1555
1555
  value: o.absoluteValues[$e],
1556
- comment: o.comments && o.comments.slice(p.value.start, p.value.end)[$e] || ""
1556
+ comment: o.comments && o.comments.slice(b.value.start, b.value.end)[$e] || ""
1557
1557
  } : {
1558
- x: D(c.value.left + ae.value.line / 2 + ae.value.line * $e),
1559
- y: D(c.value.bottom - G - (U * xl[$e] || 0)),
1558
+ x: W(c.value.left + ae.value.line / 2 + ae.value.line * $e),
1559
+ y: W(c.value.bottom - G - (U * bl[$e] || 0)),
1560
1560
  value: o.absoluteValues[$e],
1561
- comment: o.comments && o.comments.slice(p.value.start, p.value.end)[$e] || ""
1562
- }), kt = t.value.line.cutNullValues ? Xa(ze) : Bl(ze.filter((B) => B.value !== null)), Q = t.value.line.cutNullValues ? Xa(Pe) : Bl(Pe.filter((B) => B.value !== null)), me = t.value.line.cutNullValues ? Ya(ze) : El(ze.filter((B) => B.value !== null)), X = t.value.line.cutNullValues ? Ya(Pe) : El(Pe.filter((B) => B.value !== null)), ge = W.ticks.map((B) => ({
1561
+ comment: o.comments && o.comments.slice(b.value.start, b.value.end)[$e] || ""
1562
+ }), kt = t.value.line.cutNullValues ? Xa(ze) : Bl(ze.filter((B) => B.value !== null)), Q = t.value.line.cutNullValues ? Xa(Pe) : Bl(Pe.filter((B) => B.value !== null)), me = t.value.line.cutNullValues ? Ya(ze) : El(ze.filter((B) => B.value !== null)), X = t.value.line.cutNullValues ? Ya(Pe) : El(Pe.filter((B) => B.value !== null)), ge = D.ticks.map((B) => ({
1563
1563
  y: B >= 0 ? fe - U * (B / P) : fe + U * Math.abs(B) / P,
1564
1564
  value: B,
1565
1565
  prefix: o.prefix || t.value.chart.labels.prefix,
@@ -1576,28 +1576,28 @@ const dn = {
1576
1576
  };
1577
1577
  });
1578
1578
  A.value[o.scaleLabel].name = o.name, A.value[o.scaleLabel].groupName = o.scaleLabel, A.value[o.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || o.color, A.value[o.scaleLabel].color = o.color, A.value[o.scaleLabel].scaleYLabels = o.autoScaling ? wt : ge, A.value[o.scaleLabel].zeroPosition = o.autoScaling ? Be : fe, A.value[o.scaleLabel].individualMax = o.autoScaling ? le : P, A.value[o.scaleLabel].scaleLabel = o.scaleLabel, A.value[o.scaleLabel].id = o.id, A.value[o.scaleLabel].yOffset = G, A.value[o.scaleLabel].individualHeight = U, A.value[o.scaleLabel].autoScaleYLabels = wt, A.value[o.scaleLabel].unique = Ft.value.filter((B) => B.scaleLabel === o.scaleLabel).length === 1;
1579
- const Ht = k.value.useIndividualScale ? o.autoScaling ? Be : fe : Ae.value, bl = Math.max(Math.max(o.autoScaling ? Be : ge.at(-1) ? ge.at(-1).y : 0, c.value.top), Ht);
1579
+ const Ht = k.value.useIndividualScale ? o.autoScaling ? Be : fe : Ae.value, xl = Math.max(Math.max(o.autoScaling ? Be : ge.at(-1) ? ge.at(-1).y : 0, c.value.top), Ht);
1580
1580
  return {
1581
1581
  ...o,
1582
1582
  yOffset: G,
1583
1583
  autoScaleYLabels: wt,
1584
1584
  individualHeight: U,
1585
1585
  scaleYLabels: o.autoScaling ? wt : ge,
1586
- individualScale: o.autoScaling ? R : W,
1586
+ individualScale: o.autoScaling ? R : D,
1587
1587
  individualMax: o.autoScaling ? le : P,
1588
1588
  zeroPosition: o.autoScaling ? Be : fe,
1589
1589
  curve: o.autoScaling ? Q : kt,
1590
1590
  plots: o.autoScaling ? Pe : ze,
1591
1591
  area: o.useArea ? k.value.useIndividualScale ? t.value.line.cutNullValues ? Ga(
1592
1592
  o.autoScaling ? Pe : ze,
1593
- bl
1593
+ xl
1594
1594
  ) : Ua(
1595
1595
  o.autoScaling ? Pe.filter((B) => B.value !== null) : ze.filter((B) => B.value !== null),
1596
- bl
1597
- ) : t.value.line.cutNullValues ? Ga(ze, bl) : Ua(ze.filter((B) => B.value !== null), bl) : "",
1596
+ xl
1597
+ ) : t.value.line.cutNullValues ? Ga(ze, xl) : Ua(ze.filter((B) => B.value !== null), xl) : "",
1598
1598
  curveAreas: o.useArea ? Yo(
1599
1599
  o.autoScaling ? t.value.line.cutNullValues ? Pe : Pe.filter((B) => B.value !== null) : t.value.line.cutNullValues ? ze : ze.filter((B) => B.value !== null),
1600
- bl,
1600
+ xl,
1601
1601
  t.value.line.cutNullValues
1602
1602
  ) : [],
1603
1603
  straight: o.autoScaling ? X : me,
@@ -1616,27 +1616,27 @@ const dn = {
1616
1616
  }, L = {
1617
1617
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
1618
1618
  min: o.scaleMin || Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues)
1619
- }, T = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, J = 1.0000001, M = Vt(L.min, L.max === L.min ? L.max * J : L.max, T), W = Vt(E.valueMin, E.valueMax === E.valueMin ? E.valueMax * J : E.valueMax, T), R = M.min >= 0 ? 0 : Math.abs(M.min), oe = 0, V = M.max + R, P = W.max + Math.abs(oe), le = o.stackIndex, Re = u - 1 - le, Qt = n ? 1 - o.cumulatedStackRatio : 0, Ve = n ? i * Qt + e * Re : 0, G = n ? i * o.stackRatio : c.value.height, U = c.value.bottom - Ve - G * R / V, fe = c.value.bottom - Ve - G * oe / P, Be = o.series.map((Q, me) => {
1619
+ }, T = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, J = 1.0000001, M = Vt(L.min, L.max === L.min ? L.max * J : L.max, T), D = Vt(E.valueMin, E.valueMax === E.valueMin ? E.valueMax * J : E.valueMax, T), R = M.min >= 0 ? 0 : Math.abs(M.min), oe = 0, V = M.max + R, P = D.max + Math.abs(oe), le = o.stackIndex, Re = u - 1 - le, Qt = n ? 1 - o.cumulatedStackRatio : 0, Ve = n ? i * Qt + e * Re : 0, G = n ? i * o.stackRatio : c.value.height, U = c.value.bottom - Ve - G * R / V, fe = c.value.bottom - Ve - G * oe / P, Be = o.series.map((Q, me) => {
1620
1620
  const X = k.value.useIndividualScale ? (o.absoluteValues[me] + Math.abs(R)) / V : Pt(Q);
1621
1621
  return {
1622
- x: D(c.value.left + ae.value.plot / 2 + ae.value.plot * me),
1623
- y: D(c.value.bottom - Ve - G * X),
1622
+ x: W(c.value.left + ae.value.plot / 2 + ae.value.plot * me),
1623
+ y: W(c.value.bottom - Ve - G * X),
1624
1624
  value: o.absoluteValues[me],
1625
- comment: o.comments && o.comments.slice(p.value.start, p.value.end)[me] || ""
1625
+ comment: o.comments && o.comments.slice(b.value.start, b.value.end)[me] || ""
1626
1626
  };
1627
- }), ze = o.absoluteValues.map((Q) => W.min >= 0 ? (Q - Math.abs(W.min)) / (W.max - Math.abs(W.min)) : (Q + Math.abs(W.min)) / (W.max + Math.abs(W.min))), xl = o.series.map((Q, me) => ({
1628
- x: D(c.value.left + ae.value.plot / 2 + ae.value.plot * me),
1629
- y: D(c.value.bottom - Ve - (G * ze[me] || 0)),
1627
+ }), ze = o.absoluteValues.map((Q) => D.min >= 0 ? (Q - Math.abs(D.min)) / (D.max - Math.abs(D.min)) : (Q + Math.abs(D.min)) / (D.max + Math.abs(D.min))), bl = o.series.map((Q, me) => ({
1628
+ x: W(c.value.left + ae.value.plot / 2 + ae.value.plot * me),
1629
+ y: W(c.value.bottom - Ve - (G * ze[me] || 0)),
1630
1630
  value: o.absoluteValues[me],
1631
- comment: o.comments && o.comments.slice(p.value.start, p.value.end)[me] || ""
1631
+ comment: o.comments && o.comments.slice(b.value.start, b.value.end)[me] || ""
1632
1632
  })), Pe = M.ticks.map((Q) => ({
1633
1633
  y: Q >= 0 ? U - G * (Q / V) : U + G * Math.abs(Q) / V,
1634
1634
  value: Q,
1635
1635
  prefix: o.prefix || t.value.chart.labels.prefix,
1636
1636
  suffix: o.suffix || t.value.chart.labels.suffix,
1637
1637
  datapoint: o
1638
- })), kt = W.ticks.map((Q) => {
1639
- const me = (Q - W.min) / (W.max - W.min);
1638
+ })), kt = D.ticks.map((Q) => {
1639
+ const me = (Q - D.min) / (D.max - D.min);
1640
1640
  return {
1641
1641
  y: Q >= 0 ? fe - G * me : fe + G * me,
1642
1642
  value: Q,
@@ -1651,10 +1651,10 @@ const dn = {
1651
1651
  autoScaleYLabels: kt,
1652
1652
  individualHeight: G,
1653
1653
  scaleYLabels: o.autoScaling ? kt : Pe,
1654
- individualScale: o.autoScaling ? W : M,
1654
+ individualScale: o.autoScaling ? D : M,
1655
1655
  individualMax: o.autoScaling ? P : V,
1656
1656
  zeroPosition: o.autoScaling ? fe : U,
1657
- plots: o.autoScaling ? xl : Be,
1657
+ plots: o.autoScaling ? bl : Be,
1658
1658
  groupId: A.value[o.scaleLabel].groupId
1659
1659
  };
1660
1660
  });
@@ -1671,7 +1671,7 @@ const dn = {
1671
1671
  yOffset: i.yOffset || 0,
1672
1672
  individualHeight: i.individualHeight || c.value.height,
1673
1673
  autoScaleYLabels: i.autoScaleYLabels
1674
- })), u = bt.value.map((i) => ({
1674
+ })), u = xt.value.map((i) => ({
1675
1675
  name: i.name,
1676
1676
  color: i.color,
1677
1677
  scale: i.individualScale,
@@ -1740,15 +1740,15 @@ const dn = {
1740
1740
  colorLineB: T,
1741
1741
  sampleStepPx: 2,
1742
1742
  cutNullValues: t.value.line.cutNullValues
1743
- }).forEach((M, W) => {
1744
- n.push({ ...M, key: `inter_${o}_${z}_${i}_${W}` });
1743
+ }).forEach((M, D) => {
1744
+ n.push({ ...M, key: `inter_${o}_${z}_${i}_${D}` });
1745
1745
  });
1746
1746
  }), n;
1747
1747
  }), Ma = x(() => ({
1748
- datapoint: xt.value,
1748
+ datapoint: bt.value,
1749
1749
  seriesIndex: S.value,
1750
1750
  series: rt.value,
1751
- bars: bt.value,
1751
+ bars: xt.value,
1752
1752
  lines: Ne.value,
1753
1753
  plots: je.value,
1754
1754
  config: t.value
@@ -1765,7 +1765,7 @@ const dn = {
1765
1765
  }), Jl = x(() => (t.value.chart.grid.labels.xAxisLabels.values || []).map((u, e) => ({
1766
1766
  text: Kl.value(e, t.value.chart.zoom.timeFormat),
1767
1767
  absoluteIndex: e
1768
- }))), Il = b(!1), Ca = x(() => {
1768
+ }))), Il = p(!1), Ca = x(() => {
1769
1769
  let l = "", u = "";
1770
1770
  if (t.value.chart.zoom.preview.enable)
1771
1771
  return { left: l, right: u };
@@ -1774,52 +1774,52 @@ const dn = {
1774
1774
  if (Vl(e))
1775
1775
  try {
1776
1776
  const n = e({
1777
- absoluteIndex: p.value.start,
1778
- seriesIndex: p.value.start,
1779
- datapoint: xt.value
1777
+ absoluteIndex: b.value.start,
1778
+ seriesIndex: b.value.start,
1779
+ datapoint: bt.value
1780
1780
  }), a = e({
1781
- absoluteIndex: p.value.end - 1,
1782
- seriesIndex: p.value.end - 1,
1783
- datapoint: xt.value
1781
+ absoluteIndex: b.value.end - 1,
1782
+ seriesIndex: b.value.end - 1,
1783
+ datapoint: bt.value
1784
1784
  });
1785
1785
  typeof n == "string" && typeof a == "string" && (l = n, u = a, Il.value = !0);
1786
1786
  } catch {
1787
1787
  console.warn("Custom format cannot be applied on zoom labels."), Il.value = !1;
1788
1788
  }
1789
1789
  if (!Il.value) {
1790
- l = t.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable ? Jl.value[p.value.start]?.text || "" : _e.value[0]?.text || "";
1791
- const n = Math.max(p.value.start, p.value.end - 1);
1792
- u = t.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable ? Jl.value[n]?.text || "" : _e.value.at(-1)?.text || "";
1790
+ l = t.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !t.value.chart.zoom.useDefaultFormat ? Jl.value[b.value.start]?.text || "" : _e.value[0]?.text || "";
1791
+ const n = Math.max(b.value.start, b.value.end - 1);
1792
+ u = t.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !t.value.chart.zoom.useDefaultFormat ? Jl.value[n]?.text || "" : _e.value.at(-1)?.text || "";
1793
1793
  }
1794
1794
  return { left: l, right: u };
1795
1795
  }), So = x(() => {
1796
- let l = "", u = xt.value.map((a) => a.value).filter((a) => Pl(a) && a !== null).reduce((a, i) => Math.abs(a) + Math.abs(i), 0);
1796
+ let l = "", u = bt.value.map((a) => a.value).filter((a) => Pl(a) && a !== null).reduce((a, i) => Math.abs(a) + Math.abs(i), 0);
1797
1797
  const e = _e.value[S.value], n = t.value.chart.tooltip.customFormat;
1798
1798
  if (Vl(n) && Uo(() => n({
1799
- absoluteIndex: S.value + p.value.start,
1799
+ absoluteIndex: S.value + b.value.start,
1800
1800
  seriesIndex: S.value,
1801
- datapoint: xt.value,
1801
+ datapoint: bt.value,
1802
1802
  series: rt.value,
1803
- bars: bt.value,
1803
+ bars: xt.value,
1804
1804
  lines: Ne.value,
1805
1805
  plots: je.value,
1806
1806
  config: t.value
1807
1807
  })))
1808
1808
  return n({
1809
- absoluteIndex: S.value + p.value.start,
1809
+ absoluteIndex: S.value + b.value.start,
1810
1810
  seriesIndex: S.value,
1811
- datapoint: xt.value,
1811
+ datapoint: bt.value,
1812
1812
  series: rt.value,
1813
- bars: bt.value,
1813
+ bars: xt.value,
1814
1814
  lines: Ne.value,
1815
1815
  plots: je.value,
1816
1816
  config: t.value
1817
1817
  });
1818
1818
  if (e && e.text && t.value.chart.tooltip.showTimeLabel) {
1819
- const a = Kl.value(S.value + p.value.start, t.value.chart.tooltip.timeFormat);
1819
+ const a = Kl.value(S.value + b.value.start, t.value.chart.tooltip.timeFormat);
1820
1820
  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>`;
1821
1821
  }
1822
- return xt.value.forEach((a) => {
1822
+ return bt.value.forEach((a) => {
1823
1823
  if (Pl(a.value)) {
1824
1824
  let i = "", o = "";
1825
1825
  switch (ie.value[a.type]) {
@@ -1870,10 +1870,10 @@ const dn = {
1870
1870
  }),
1871
1871
  { datapoint: a }
1872
1872
  ) : ""}</b> ${t.value.chart.tooltip.showPercentage ? `(${qe({
1873
- v: D(Math.abs(a.value) / u * 100),
1873
+ v: W(Math.abs(a.value) / u * 100),
1874
1874
  s: "%",
1875
1875
  r: t.value.chart.tooltip.roundingPercentage
1876
- })})` : ""}</div>`, t.value.chart.comments.showInTooltip && a.comments.length && a.comments.slice(p.value.start, p.value.end)[S.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(p.value.start, p.value.end)[S.value]}</div>`);
1876
+ })})` : ""}</div>`, t.value.chart.comments.showInTooltip && a.comments.length && a.comments.slice(b.value.start, b.value.end)[S.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(b.value.start, b.value.end)[S.value]}</div>`);
1877
1877
  }
1878
1878
  }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${t.value.chart.tooltip.color}">${l}</div>`;
1879
1879
  }), Aa = x(() => {
@@ -1940,7 +1940,7 @@ const dn = {
1940
1940
  color: n.color,
1941
1941
  type: n.type
1942
1942
  }));
1943
- l ? (S.value = u, t.value.events.datapointEnter && t.value.events.datapointEnter({ datapoint: e, seriesIndex: u + p.value.start })) : (S.value = null, t.value.events.datapointLeave && t.value.events.datapointLeave({ datapoint: e, seriesIndex: u + p.value.start }));
1943
+ l ? (S.value = u, t.value.events.datapointEnter && t.value.events.datapointEnter({ datapoint: e, seriesIndex: u + b.value.start })) : (S.value = null, t.value.events.datapointLeave && t.value.events.datapointLeave({ datapoint: e, seriesIndex: u + b.value.start }));
1944
1944
  }
1945
1945
  function Ta() {
1946
1946
  k.value.showTable = !k.value.showTable;
@@ -2019,21 +2019,21 @@ const dn = {
2019
2019
  }), Za(d.dataset) || (Nt.value = t.value.loading), Ut.value = t.value.chart.userOptions.showOnChartHover, rl.value = t.value.chart.userOptions.keepStateOnChartLeave, qt.value = !t.value.chart.userOptions.showOnChartHover, dl();
2020
2020
  const l = 12;
2021
2021
  if (t.value.responsive) {
2022
- const e = be.value.parentNode;
2022
+ const e = xe.value.parentNode;
2023
2023
  K.value && (K.value.unobserve(ot.value), K.value.disconnect());
2024
2024
  const { height: n, width: a } = e.getBoundingClientRect();
2025
2025
  let i = null, o = 0;
2026
2026
  t.value.chart.title.show && ke.value && (i = ke.value, o = i.getBoundingClientRect().height);
2027
2027
  let z = null, H = 0;
2028
- t.value.chart.zoom.show && xe.value > 6 && st.value && Oe.value && Oe.value.$el && (z = Oe.value.$el, H = z.getBoundingClientRect().height);
2028
+ t.value.chart.zoom.show && be.value > 6 && st.value && Oe.value && Oe.value.$el && (z = Oe.value.$el, H = z.getBoundingClientRect().height);
2029
2029
  let E = null, L = 0;
2030
2030
  t.value.chart.legend.show && at.value && (E = at.value, L = E.getBoundingClientRect().height);
2031
2031
  let T = 0;
2032
2032
  Ct.value && (T = Ct.value.getBoundingClientRect().height);
2033
2033
  let J = 0;
2034
2034
  At.value && (J = At.value.getBoundingClientRect().height), pe.value = n - o - L - H - T - J - l, ue.value = a, nt.value = `0 0 ${ue.value < 0 ? 10 : ue.value} ${pe.value < 0 ? 10 : pe.value}`, Oa();
2035
- const M = new ResizeObserver((W) => {
2036
- for (const R of W)
2035
+ const M = new ResizeObserver((D) => {
2036
+ for (const R of D)
2037
2037
  t.value.chart.title.show && ke.value ? o = ke.value.getBoundingClientRect().height : o = 0, Oe.value && Oe.value.$el ? H = Oe.value.$el.getBoundingClientRect().height : H = 0, at.value ? L = at.value.getBoundingClientRect().height : L = 0, Ct.value ? T = Ct.value.getBoundingClientRect().height : T = 0, At.value ? J = At.value.getBoundingClientRect().height : J = 0, requestAnimationFrame(() => {
2038
2038
  pe.value = R.contentRect.height - o - L - H - T - J - l, ue.value = R.contentBoxSize[0].inlineSize, nt.value = `0 0 ${ue.value < 0 ? 10 : ue.value} ${pe.value < 0 ? 10 : pe.value}`, Oa();
2039
2039
  });
@@ -2055,7 +2055,7 @@ const dn = {
2055
2055
  }), un({
2056
2056
  timeLabelsEls: dt,
2057
2057
  timeLabels: _e,
2058
- slicer: p,
2058
+ slicer: b,
2059
2059
  configRef: t,
2060
2060
  rotationPath: ["chart", "grid", "labels", "xAxisLabels", "rotation"],
2061
2061
  autoRotatePath: ["chart", "grid", "labels", "xAxisLabels", "autoRotate", "enable"],
@@ -2064,7 +2064,7 @@ const dn = {
2064
2064
  width: ue,
2065
2065
  rotation: t.value.chart.grid.labels.xAxisLabels.autoRotate.angle
2066
2066
  });
2067
- const Nl = b(!1), Ha = b(null), Va = b(200), _o = x(
2067
+ const Nl = p(!1), Ha = p(null), Va = p(200), _o = x(
2068
2068
  () => S.value ?? F.value ?? 0
2069
2069
  );
2070
2070
  function $o() {
@@ -2073,7 +2073,7 @@ const dn = {
2073
2073
  }
2074
2074
  function Lo() {
2075
2075
  const l = $o(), u = 200, e = Math.max(1, I.value), n = c.value.width / e, i = c.value.left + _o.value * n + n / 2 - l / 2 - (u - l) / 2, o = c.value.left - (u - l) / 2, z = c.value.right - (u + l) / 2, H = Math.max(o, Math.min(i, z));
2076
- return D(H);
2076
+ return W(H);
2077
2077
  }
2078
2078
  tl(() => {
2079
2079
  let l = null, u = null;
@@ -2084,7 +2084,7 @@ const dn = {
2084
2084
  }, n = new ResizeObserver((i) => {
2085
2085
  let o = i.find((z) => z.target === l) || i[0];
2086
2086
  o && e(o.contentRect.width || 200);
2087
- }), a = Da((i) => {
2087
+ }), a = Wa((i) => {
2088
2088
  const o = Ha.value;
2089
2089
  l && l !== o && (n.unobserve(l), l = null), o && o !== l && (Et(() => {
2090
2090
  o.offsetParent !== null && e(o.offsetWidth || o.getBoundingClientRect().width || 200);
@@ -2105,10 +2105,10 @@ const dn = {
2105
2105
  if (Nl.value = !1, Vl(u))
2106
2106
  try {
2107
2107
  const e = u({
2108
- absoluteIndex: l + p.value.start,
2108
+ absoluteIndex: l + b.value.start,
2109
2109
  seriesIndex: l,
2110
- datapoint: xt.value,
2111
- bars: bt.value,
2110
+ datapoint: bt.value,
2111
+ bars: xt.value,
2112
2112
  lines: Ne.value,
2113
2113
  plots: je.value,
2114
2114
  config: t.value
@@ -2119,19 +2119,19 @@ const dn = {
2119
2119
  console.warn("Custom format cannot be applied on timeTag."), Nl.value = !1;
2120
2120
  }
2121
2121
  if (!Nl.value)
2122
- return [null, void 0].includes(_e.value[l]) ? "" : t.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !t.value.chart.timeTag.useDefaultFormat ? Kl.value(l + p.value.start, t.value.chart.timeTag.timeFormat) : _e.value[l].text;
2122
+ return [null, void 0].includes(_e.value[l]) ? "" : t.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !t.value.chart.timeTag.useDefaultFormat ? Kl.value(l + b.value.start, t.value.chart.timeTag.timeFormat) : _e.value[l].text;
2123
2123
  });
2124
2124
  vt(() => d.dataset, (l) => {
2125
- Array.isArray(l) && l.length > 0 && (Nt.value = !1), xe.value = Math.max(...re.value.map((u) => Ye(u.series).length)), p.value = {
2125
+ Array.isArray(l) && l.length > 0 && (Nt.value = !1), be.value = Math.max(...re.value.map((u) => Ye(u.series).length)), b.value = {
2126
2126
  start: 0,
2127
- end: xe.value
2127
+ end: be.value
2128
2128
  }, Yt.value += 1, Tt.value += 1, h();
2129
2129
  }, { deep: !0 }), vt(() => d.config, (l) => {
2130
2130
  se.value || (t.value = it()), Ql(), sl.value += 1, il.value += 1, dl(), h();
2131
2131
  }, { deep: !0 });
2132
- const jl = b(!1);
2132
+ const jl = p(!1);
2133
2133
  function Ba() {
2134
- const l = be.value?.parentNode;
2134
+ const l = xe.value?.parentNode;
2135
2135
  if (!l) {
2136
2136
  jl.value = !1;
2137
2137
  return;
@@ -2144,10 +2144,10 @@ const dn = {
2144
2144
  const l = new ResizeObserver(() => {
2145
2145
  Ba(), jl.value && (Ql(), h(), Ll());
2146
2146
  });
2147
- be.value?.parentNode && l.observe(be.value.parentNode);
2147
+ xe.value?.parentNode && l.observe(xe.value.parentNode);
2148
2148
  }), vt(t, () => {
2149
2149
  dl();
2150
- }, { immediate: !0 }), Wl({
2150
+ }, { immediate: !0 }), Dl({
2151
2151
  getData: fo,
2152
2152
  getImage: mo,
2153
2153
  generatePdf: Rt,
@@ -2163,7 +2163,7 @@ const dn = {
2163
2163
  id: `vue-ui-xy_${Z.value}`,
2164
2164
  class: Ee(`vue-ui-xy ${Se.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
2165
2165
  ref_key: "chart",
2166
- ref: be,
2166
+ ref: xe,
2167
2167
  style: $(`background:${t.value.chart.backgroundColor}; color:${t.value.chart.color};width:100%;font-family:${t.value.chart.fontFamily};${t.value.responsive ? "height: 100%" : ""}`),
2168
2168
  onMouseenter: u[10] || (u[10] = () => ra(!0)),
2169
2169
  onMouseleave: u[11] || (u[11] = () => ra(!1))
@@ -2176,7 +2176,7 @@ const dn = {
2176
2176
  active: we.value,
2177
2177
  onClose: Gl
2178
2178
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
2179
- xo.value ? (s(), r("div", {
2179
+ bo.value ? (s(), r("div", {
2180
2180
  key: 1,
2181
2181
  ref_key: "noTitle",
2182
2182
  ref: At,
@@ -2342,7 +2342,7 @@ const dn = {
2342
2342
  ref: Xl,
2343
2343
  class: "vue-data-ui-g"
2344
2344
  }, [
2345
- el(v(Dt)),
2345
+ el(v(Wt)),
2346
2346
  l.$slots["chart-background"] ? (s(), r("foreignObject", {
2347
2347
  key: 0,
2348
2348
  x: c.value.left + ee.value < 0 ? 0 : c.value.left + ee.value,
@@ -2378,7 +2378,7 @@ const dn = {
2378
2378
  "stroke-width": 0.5,
2379
2379
  "stroke-linecap": "round",
2380
2380
  style: { animation: "none !important" }
2381
- }, null, 8, Dn))), 256)) : e.yLabels.length ? (s(!0), r(g, { key: 1 }, C(e.yLabels, (n) => (s(), r("line", {
2381
+ }, null, 8, Wn))), 256)) : e.yLabels.length ? (s(!0), r(g, { key: 1 }, C(e.yLabels, (n) => (s(), r("line", {
2382
2382
  x1: c.value.left + ee.value,
2383
2383
  x2: c.value.right - ee.value,
2384
2384
  y1: v(q)(n.y),
@@ -2410,7 +2410,7 @@ const dn = {
2410
2410
  "stroke-width": 0.5,
2411
2411
  "stroke-linecap": "round",
2412
2412
  style: { animation: "none !important" }
2413
- }, null, 8, Wn))), 256))
2413
+ }, null, 8, Dn))), 256))
2414
2414
  ])) : f("", !0)
2415
2415
  ], 64)),
2416
2416
  t.value.chart.grid.showVerticalLines ? (s(), r("g", Yn, [
@@ -2432,7 +2432,7 @@ const dn = {
2432
2432
  }, null, 8, qn)
2433
2433
  ])) : f("", !0)
2434
2434
  ]),
2435
- (s(!0), r(g, null, C(bt.value, (e, n) => (s(), r("defs", {
2435
+ (s(!0), r(g, null, C(xt.value, (e, n) => (s(), r("defs", {
2436
2436
  key: `def_rect_${n}`
2437
2437
  }, [
2438
2438
  y("linearGradient", {
@@ -2530,15 +2530,15 @@ const dn = {
2530
2530
  }, null, 8, vu)
2531
2531
  ], 8, ru)
2532
2532
  ]))), 128)),
2533
- (s(!0), r(g, null, C(bo.value, (e) => (s(), r("g", null, [
2533
+ (s(!0), r(g, null, C(xo.value, (e) => (s(), r("g", null, [
2534
2534
  e.show ? (s(), r(g, { key: 0 }, [
2535
2535
  (s(!0), r(g, null, C(e.span, (n, a) => (s(), r("g", null, [
2536
2536
  y("rect", {
2537
2537
  style: $({
2538
2538
  transition: "none",
2539
- opacity: e.from + a >= p.value.start && e.from + a <= p.value.end - 1 ? 1 : 0
2539
+ opacity: e.from + a >= b.value.start && e.from + a <= b.value.end - 1 ? 1 : 0
2540
2540
  }),
2541
- x: c.value.left + c.value.width / I.value * (e.from + a - p.value.start),
2541
+ x: c.value.left + c.value.width / I.value * (e.from + a - b.value.start),
2542
2542
  y: c.value.top,
2543
2543
  height: c.value.height < 0 ? 10 : c.value.height,
2544
2544
  width: c.value.width / I.value < 0 ? 1e-5 : c.value.width / I.value,
@@ -2548,11 +2548,11 @@ const dn = {
2548
2548
  (s(!0), r(g, null, C(e.span, (n, a) => (s(), r("g", null, [
2549
2549
  e.caption.text && a === 0 ? (s(), r("foreignObject", {
2550
2550
  key: 0,
2551
- x: c.value.left + c.value.width / I.value * (e.from + a - p.value.start) - (e.caption.width === "auto" ? 0 : e.caption.width / 2 - c.value.width / I.value * e.span / 2),
2551
+ x: c.value.left + c.value.width / I.value * (e.from + a - b.value.start) - (e.caption.width === "auto" ? 0 : e.caption.width / 2 - c.value.width / I.value * e.span / 2),
2552
2552
  y: c.value.top + e.caption.offsetY,
2553
2553
  style: $({
2554
2554
  overflow: "visible",
2555
- opacity: e.to >= p.value.start && e.from < p.value.end ? 1 : 0
2555
+ opacity: e.to >= b.value.start && e.from < b.value.end ? 1 : 0
2556
2556
  }),
2557
2557
  height: "1",
2558
2558
  width: e.caption.width === "auto" ? c.value.width / I.value * e.span : e.caption.width
@@ -2578,7 +2578,7 @@ const dn = {
2578
2578
  }, null, 8, mu)
2579
2579
  ]))), 128))
2580
2580
  ])) : f("", !0),
2581
- bt.value.length ? (s(!0), r(g, { key: 1 }, C(bt.value, (e, n) => (s(), r("g", {
2581
+ xt.value.length ? (s(!0), r(g, { key: 1 }, C(xt.value, (e, n) => (s(), r("g", {
2582
2582
  key: `serie_bar_${e.id}`,
2583
2583
  class: Ee(`serie_bar_${n}`),
2584
2584
  style: $(`opacity:${O.value ? O.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
@@ -2589,8 +2589,8 @@ const dn = {
2589
2589
  He(a.value) ? (s(), r("rect", {
2590
2590
  key: 0,
2591
2591
  x: Ml(a) + zl.value / 2,
2592
- y: k.value.useIndividualScale ? pa(a) : ba(a),
2593
- height: k.value.useIndividualScale ? Math.abs(xa(a)) : Math.abs(ga(a)),
2592
+ y: k.value.useIndividualScale ? pa(a) : xa(a),
2593
+ height: k.value.useIndividualScale ? Math.abs(ba(a)) : Math.abs(ga(a)),
2594
2594
  width: Al.value - zl.value,
2595
2595
  rx: t.value.bar.borderRadius,
2596
2596
  fill: t.value.bar.useGradient ? a.value >= 0 ? `url(#rectGradient_pos_${n}_${Z.value})` : `url(#rectGradient_neg_${n}_${Z.value})` : e.color,
@@ -2603,27 +2603,27 @@ const dn = {
2603
2603
  He(a.value) && l.$slots.pattern ? (s(), r("rect", {
2604
2604
  key: 1,
2605
2605
  x: Ml(a) - zl.value / 2,
2606
- y: k.value.useIndividualScale ? pa(a) : ba(a),
2607
- height: k.value.useIndividualScale ? Math.abs(xa(a)) : Math.abs(ga(a)),
2606
+ y: k.value.useIndividualScale ? pa(a) : xa(a),
2607
+ height: k.value.useIndividualScale ? Math.abs(ba(a)) : Math.abs(ga(a)),
2608
2608
  width: Al.value - zl.value,
2609
2609
  rx: t.value.bar.borderRadius,
2610
2610
  fill: `url(#pattern_${Z.value}_${e.slotAbsoluteIndex})`,
2611
2611
  stroke: t.value.bar.border.useSerieColor ? e.color : t.value.bar.border.stroke,
2612
2612
  "stroke-width": t.value.bar.border.strokeWidth,
2613
2613
  style: $({ transition: v(se) || !t.value.bar.showTransition ? void 0 : `all ${t.value.bar.transitionDurationMs}ms ease-in-out` })
2614
- }, null, 12, xu)) : f("", !0),
2614
+ }, null, 12, bu)) : f("", !0),
2615
2615
  a.comment && t.value.chart.comments.show ? (s(), r("foreignObject", {
2616
2616
  key: 2,
2617
2617
  style: { overflow: "visible" },
2618
2618
  height: "12",
2619
2619
  width: Al.value / 2 + t.value.chart.comments.width,
2620
2620
  x: Ml(a) - t.value.chart.comments.width / 2 + t.value.chart.comments.offsetX,
2621
- y: v(D)(a.y) + t.value.chart.comments.offsetY + 6
2621
+ y: v(W)(a.y) + t.value.chart.comments.offsetY + 6
2622
2622
  }, [
2623
2623
  j(l.$slots, "plot-comment", {
2624
2624
  plot: { ...a, color: e.color, seriesIndex: n, datapointIndex: i }
2625
2625
  }, void 0, !0)
2626
- ], 8, bu)) : f("", !0)
2626
+ ], 8, xu)) : f("", !0)
2627
2627
  ]))), 128)),
2628
2628
  Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(v(te)(e.plots).trend) ? (s(), r("g", pu, [
2629
2629
  y("defs", null, [
@@ -2780,7 +2780,7 @@ const dn = {
2780
2780
  e.value >= Qe.value.min && e.value <= Qe.value.max ? (s(), r("text", {
2781
2781
  key: 1,
2782
2782
  x: c.value.scaleLabelX - t.value.chart.grid.labels.yAxis.crosshairSize,
2783
- y: v(D)(e.y + _.value.dataLabels / 3),
2783
+ y: v(W)(e.y + _.value.dataLabels / 3),
2784
2784
  "font-size": _.value.dataLabels,
2785
2785
  "text-anchor": "end",
2786
2786
  fill: t.value.chart.grid.labels.color
@@ -2808,7 +2808,7 @@ const dn = {
2808
2808
  key: 0,
2809
2809
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(e.shape) ? e.shape : "circle",
2810
2810
  color: t.value.plot.useGradient ? `url(#plotGradient_${n}_${Z.value})` : t.value.plot.dot.useSerieColor ? e.color : t.value.plot.dot.fill,
2811
- plot: { x: v(D)(a.x), y: v(D)(a.y) },
2811
+ plot: { x: v(W)(a.x), y: v(W)(a.y) },
2812
2812
  radius: S.value !== null && S.value === i || F.value !== null && F.value === i ? (Ie.value.plot || 6) * 1.5 : Ie.value.plot || 6,
2813
2813
  stroke: t.value.plot.dot.useSerieColor ? t.value.chart.backgroundColor : e.color,
2814
2814
  strokeWidth: t.value.plot.dot.strokeWidth,
@@ -2893,9 +2893,9 @@ const dn = {
2893
2893
  "stroke-linecap": "round",
2894
2894
  "stroke-linejoin": "round",
2895
2895
  style: $({ transition: v(se) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
2896
- }, null, 12, Wu)) : f("", !0)
2896
+ }, null, 12, Du)) : f("", !0)
2897
2897
  ], 6))), 128)),
2898
- l.$slots.pattern ? (s(), r("defs", Du, [
2898
+ l.$slots.pattern ? (s(), r("defs", Wu, [
2899
2899
  (s(!0), r(g, null, C(gt.value, (e, n) => j(l.$slots, "pattern", Rl({
2900
2900
  key: `serie_pattern_slot_${e.id}`
2901
2901
  }, { ref_for: !0 }, { ...e, seriesIndex: e.slotAbsoluteIndex, patternId: `pattern_${Z.value}_${n}` }), void 0, !0)), 128))
@@ -2972,7 +2972,7 @@ const dn = {
2972
2972
  key: 0,
2973
2973
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(e.shape) ? e.shape : "circle",
2974
2974
  color: t.value.line.useGradient ? `url(#lineGradient_${n}_${Z.value})` : t.value.line.dot.useSerieColor ? e.color : t.value.line.dot.fill,
2975
- plot: { x: v(D)(a.x), y: v(D)(a.y) },
2975
+ plot: { x: v(W)(a.x), y: v(W)(a.y) },
2976
2976
  radius: S.value !== null && S.value === i || F.value !== null && F.value === i ? (Ie.value.line || 6) * 1.5 : ($a(e.plots, i), Ie.value.line || 6),
2977
2977
  stroke: t.value.line.dot.useSerieColor ? t.value.chart.backgroundColor : e.color,
2978
2978
  strokeWidth: t.value.line.dot.strokeWidth,
@@ -3035,7 +3035,7 @@ const dn = {
3035
3035
  ])) : f("", !0)
3036
3036
  ], 6))), 128)),
3037
3037
  (t.value.bar.labels.show || t.value.bar.serieName.show) && k.value.dataLabels.show ? (s(), r("g", ui, [
3038
- (s(!0), r(g, null, C(bt.value, (e, n) => (s(), r(g, {
3038
+ (s(!0), r(g, null, C(xt.value, (e, n) => (s(), r(g, {
3039
3039
  key: `xLabel_bar_${e.id}`
3040
3040
  }, [
3041
3041
  (s(!0), r(g, null, C(e.plots, (a, i) => (s(), r(g, {
@@ -3044,7 +3044,7 @@ const dn = {
3044
3044
  a && (!Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || S.value !== null && S.value === i || F.value !== null && F.value === i) && t.value.bar.labels.show ? (s(), r("text", {
3045
3045
  key: 0,
3046
3046
  x: k.value.useIndividualScale && k.value.isStacked ? a.x + ae.value.line / 2 : Ml(a) + Jt() / 2 - Cl.value / 2,
3047
- y: v(D)(a.y) + (a.value >= 0 ? t.value.bar.labels.offsetY : -t.value.bar.labels.offsetY * 3),
3047
+ y: v(W)(a.y) + (a.value >= 0 ? t.value.bar.labels.offsetY : -t.value.bar.labels.offsetY * 3),
3048
3048
  "text-anchor": "middle",
3049
3049
  "font-size": _.value.plotLabels,
3050
3050
  fill: t.value.bar.labels.color,
@@ -3179,7 +3179,7 @@ const dn = {
3179
3179
  ], 64))), 128))
3180
3180
  ], 64))), 128))
3181
3181
  ])),
3182
- t.value.line.labels.show && k.value.dataLabels.show ? (s(), r("g", xi, [
3182
+ t.value.line.labels.show && k.value.dataLabels.show ? (s(), r("g", bi, [
3183
3183
  (s(!0), r(g, null, C(Ne.value, (e, n) => (s(), r(g, {
3184
3184
  key: `xLabel_line_${e.id}`
3185
3185
  }, [
@@ -3207,7 +3207,7 @@ const dn = {
3207
3207
  datapoint: a,
3208
3208
  serie: e
3209
3209
  }
3210
- ) : ""), 13, bi)) : f("", !0)
3210
+ ) : ""), 13, xi)) : f("", !0)
3211
3211
  ], 64))), 128))
3212
3212
  ], 64))), 128))
3213
3213
  ])) : (s(), r("g", pi, [
@@ -3408,7 +3408,7 @@ const dn = {
3408
3408
  t.value.chart.grid.labels.axis.xLabel ? (s(), r("text", {
3409
3409
  key: 1,
3410
3410
  ref_key: "xAxisLabel",
3411
- ref: De,
3411
+ ref: We,
3412
3412
  "text-anchor": "middle",
3413
3413
  x: ue.value / 2,
3414
3414
  y: pe.value - 3,
@@ -3505,7 +3505,7 @@ const dn = {
3505
3505
  y: Math.min(e.yTop, e.yBottom),
3506
3506
  x: e.x1,
3507
3507
  width: c.value.width,
3508
- height: v(D)(e.areaHeight, 0),
3508
+ height: v(W)(e.areaHeight, 0),
3509
3509
  fill: v(et)(e.config.area.fill, e.config.area.opacity),
3510
3510
  style: { animation: "none !important" }
3511
3511
  }, null, 8, Bi)) : f("", !0),
@@ -3525,7 +3525,7 @@ const dn = {
3525
3525
  }, ne(e.config.label.text), 9, Ei)) : f("", !0)
3526
3526
  ]))), 128))
3527
3527
  ])) : f("", !0),
3528
- t.value.chart.timeTag.show && (![null, void 0].includes(S.value) || ![null, void 0].includes(F.value)) ? (s(), r("g", Wi, [
3528
+ t.value.chart.timeTag.show && (![null, void 0].includes(S.value) || ![null, void 0].includes(F.value)) ? (s(), r("g", Di, [
3529
3529
  (s(), r("foreignObject", {
3530
3530
  x: Lo(),
3531
3531
  y: c.value.bottom,
@@ -3540,7 +3540,7 @@ const dn = {
3540
3540
  style: $(`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`),
3541
3541
  innerHTML: Mo.value
3542
3542
  }, null, 12, Xi)
3543
- ], 8, Di)),
3543
+ ], 8, Wi)),
3544
3544
  y("circle", {
3545
3545
  cx: c.value.left + c.value.width / I.value * ((S.value !== null ? S.value : 0) || (F.value !== null ? F.value : 0)) + c.value.width / I.value / 2,
3546
3546
  cy: c.value.bottom,
@@ -3550,8 +3550,8 @@ const dn = {
3550
3550
  ])) : f("", !0)
3551
3551
  ])) : f("", !0),
3552
3552
  ce.value ? (s(), r("rect", Rl({ key: 2 }, w.value, {
3553
- "data-start": p.value.start,
3554
- "data-end": p.value.end
3553
+ "data-start": b.value.start,
3554
+ "data-end": b.value.end
3555
3555
  }), null, 16, Gi)) : f("", !0),
3556
3556
  j(l.$slots, "svg", { svg: ut.value }, void 0, !0)
3557
3557
  ], 512)
@@ -3784,19 +3784,19 @@ const dn = {
3784
3784
  ], 64))), 128))
3785
3785
  ], 64))), 128)),
3786
3786
  t.value.chart.zoom.preview.enable ? (s(), r(g, { key: 5 }, [
3787
- t.value.chart.zoom.show && xe.value > 6 && st.value ? (s(), Ue(Tn, {
3787
+ t.value.chart.zoom.show && be.value > 6 && st.value ? (s(), Ue(Tn, {
3788
3788
  ref_key: "chartSlicer",
3789
3789
  ref: Oe,
3790
3790
  key: `slicer_${Yt.value}`,
3791
- max: xe.value,
3791
+ max: be.value,
3792
3792
  min: 0,
3793
- valueStart: p.value.start,
3794
- valueEnd: p.value.end,
3795
- start: p.value.start,
3796
- "onUpdate:start": u[1] || (u[1] = (e) => p.value.start = e),
3797
- end: p.value.end,
3798
- "onUpdate:end": u[2] || (u[2] = (e) => p.value.end = e),
3799
- selectedSeries: xt.value,
3793
+ valueStart: b.value.start,
3794
+ valueEnd: b.value.end,
3795
+ start: b.value.start,
3796
+ "onUpdate:start": u[1] || (u[1] = (e) => b.value.start = e),
3797
+ end: b.value.end,
3798
+ "onUpdate:end": u[2] || (u[2] = (e) => b.value.end = e),
3799
+ selectedSeries: bt.value,
3800
3800
  customFormat: t.value.chart.zoom.customFormat,
3801
3801
  background: t.value.chart.zoom.color,
3802
3802
  fontSize: t.value.chart.zoom.fontSize,
@@ -3835,18 +3835,18 @@ const dn = {
3835
3835
  _: 3
3836
3836
  }, 8, ["max", "valueStart", "valueEnd", "start", "end", "selectedSeries", "customFormat", "background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "usePreciseLabels", "preciseLabels", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "verticalHandles", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "timeLabels", "isPreview"])) : f("", !0)
3837
3837
  ], 64)) : (s(), r(g, { key: 6 }, [
3838
- t.value.chart.zoom.show && xe.value > 6 && st.value ? (s(), Ue(cn, {
3838
+ t.value.chart.zoom.show && be.value > 6 && st.value ? (s(), Ue(cn, {
3839
3839
  ref_key: "chartSlicer",
3840
3840
  ref: Oe,
3841
3841
  key: `slicer_${Yt.value}`,
3842
- max: xe.value,
3842
+ max: be.value,
3843
3843
  min: 0,
3844
- valueStart: p.value.start,
3845
- valueEnd: p.value.end,
3846
- start: p.value.start,
3847
- "onUpdate:start": u[5] || (u[5] = (e) => p.value.start = e),
3848
- end: p.value.end,
3849
- "onUpdate:end": u[6] || (u[6] = (e) => p.value.end = e),
3844
+ valueStart: b.value.start,
3845
+ valueEnd: b.value.end,
3846
+ start: b.value.start,
3847
+ "onUpdate:start": u[5] || (u[5] = (e) => b.value.start = e),
3848
+ end: b.value.end,
3849
+ "onUpdate:end": u[6] || (u[6] = (e) => b.value.end = e),
3850
3850
  background: t.value.chart.zoom.color,
3851
3851
  fontSize: t.value.chart.zoom.fontSize,
3852
3852
  useResetSlot: t.value.chart.zoom.useResetSlot,
@@ -3991,7 +3991,7 @@ const dn = {
3991
3991
  ]),
3992
3992
  _: 3
3993
3993
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
3994
- st.value ? (s(), Ue(v(Wt), {
3994
+ st.value ? (s(), Ue(v(Dt), {
3995
3995
  key: 9,
3996
3996
  hideDetails: "",
3997
3997
  config: {
@@ -4033,7 +4033,7 @@ const dn = {
4033
4033
  key: `sparkline_${Tt.value}`,
4034
4034
  dataset: yo.value,
4035
4035
  config: ko.value
4036
- }, null, 8, ["dataset", "config"])) : (s(), Ue(v(We), {
4036
+ }, null, 8, ["dataset", "config"])) : (s(), Ue(v(De), {
4037
4037
  key: `table_${il.value}`,
4038
4038
  colNames: Tl.value.colNames,
4039
4039
  head: Tl.value.head,
@@ -4062,7 +4062,7 @@ const dn = {
4062
4062
  v(se) ? (s(), Ue(an, { key: 10 })) : f("", !0)
4063
4063
  ], 46, Nn));
4064
4064
  }
4065
- }, Is = /* @__PURE__ */ Ja(gs, [["__scopeId", "data-v-c8aa6d89"]]);
4065
+ }, Is = /* @__PURE__ */ Ja(gs, [["__scopeId", "data-v-5bcabf3a"]]);
4066
4066
  export {
4067
4067
  Is as default
4068
4068
  };