vue-data-ui 3.19.8 → 3.19.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/README.md +1 -1
  2. package/dist/{PackageVersion-zJAUEmyB.js → PackageVersion-Dl9W5zJD.js} +1 -1
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-age-pyramid.js +1 -1
  5. package/dist/components/vue-ui-bullet.js +1 -1
  6. package/dist/components/vue-ui-bump.js +1 -1
  7. package/dist/components/vue-ui-candlestick.js +1 -1
  8. package/dist/components/vue-ui-carousel-table.js +1 -1
  9. package/dist/components/vue-ui-chestnut.js +1 -1
  10. package/dist/components/vue-ui-chord.js +1 -1
  11. package/dist/components/vue-ui-circle-pack.js +1 -1
  12. package/dist/components/vue-ui-cursor.js +1 -1
  13. package/dist/components/vue-ui-dag.js +1 -1
  14. package/dist/components/vue-ui-dashboard.js +1 -1
  15. package/dist/components/vue-ui-digits.js +1 -1
  16. package/dist/components/vue-ui-donut-evolution.js +1 -1
  17. package/dist/components/vue-ui-donut.js +1 -1
  18. package/dist/components/vue-ui-dumbbell.js +1 -1
  19. package/dist/components/vue-ui-flow.js +1 -1
  20. package/dist/components/vue-ui-funnel.js +1 -1
  21. package/dist/components/vue-ui-galaxy.js +1 -1
  22. package/dist/components/vue-ui-gauge.js +1 -1
  23. package/dist/components/vue-ui-geo.js +1 -1
  24. package/dist/components/vue-ui-gizmo.js +1 -1
  25. package/dist/components/vue-ui-heatmap.js +1 -1
  26. package/dist/components/vue-ui-history-plot.js +1 -1
  27. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  28. package/dist/components/vue-ui-kpi.js +1 -1
  29. package/dist/components/vue-ui-molecule.js +1 -1
  30. package/dist/components/vue-ui-mood-radar.js +1 -1
  31. package/dist/components/vue-ui-nested-donuts.js +1 -1
  32. package/dist/components/vue-ui-onion.js +1 -1
  33. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  34. package/dist/components/vue-ui-quadrant.js +1 -1
  35. package/dist/components/vue-ui-quick-chart.js +1 -1
  36. package/dist/components/vue-ui-radar.js +1 -1
  37. package/dist/components/vue-ui-relation-circle.js +1 -1
  38. package/dist/components/vue-ui-ridgeline.js +1 -1
  39. package/dist/components/vue-ui-rings.js +1 -1
  40. package/dist/components/vue-ui-scatter.js +1 -1
  41. package/dist/components/vue-ui-skeleton.js +1 -1
  42. package/dist/components/vue-ui-spark-trend.js +1 -1
  43. package/dist/components/vue-ui-sparkbar.js +1 -1
  44. package/dist/components/vue-ui-sparkgauge.js +1 -1
  45. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  46. package/dist/components/vue-ui-sparkline.js +1 -1
  47. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  48. package/dist/components/vue-ui-stackbar.js +1 -1
  49. package/dist/components/vue-ui-stackline.js +1 -1
  50. package/dist/components/vue-ui-strip-plot.js +1 -1
  51. package/dist/components/vue-ui-table-sparkline.js +1 -1
  52. package/dist/components/vue-ui-table.js +1 -1
  53. package/dist/components/vue-ui-thermometer.js +1 -1
  54. package/dist/components/vue-ui-timer.js +1 -1
  55. package/dist/components/vue-ui-tiremarks.js +1 -1
  56. package/dist/components/vue-ui-treemap.js +1 -1
  57. package/dist/components/vue-ui-vertical-bar.js +1 -1
  58. package/dist/components/vue-ui-waffle.js +1 -1
  59. package/dist/components/vue-ui-wheel.js +1 -1
  60. package/dist/components/vue-ui-word-cloud.js +1 -1
  61. package/dist/components/vue-ui-world.js +1 -1
  62. package/dist/components/vue-ui-xy-canvas.js +1 -1
  63. package/dist/components/vue-ui-xy.js +1 -1
  64. package/dist/style.css +1 -1
  65. package/dist/types/vue-ui-dag.d.ts +2 -0
  66. package/dist/{vue-data-ui-Dv8MNDbS.js → vue-data-ui-nsosW-n5.js} +61 -61
  67. package/dist/vue-data-ui.js +61 -61
  68. package/dist/{vue-ui-3d-bar-DVsF4qGd.js → vue-ui-3d-bar-CTvvvgBE.js} +1 -1
  69. package/dist/{vue-ui-age-pyramid-Bu3bocZx.js → vue-ui-age-pyramid-ckZtLlmH.js} +1 -1
  70. package/dist/{vue-ui-bullet-COSSZ7RU.js → vue-ui-bullet-3CkhGOSb.js} +1 -1
  71. package/dist/{vue-ui-bump-C1w-a4ad.js → vue-ui-bump-LQuPTOlm.js} +1 -1
  72. package/dist/{vue-ui-candlestick-zO0Jmsen.js → vue-ui-candlestick-BeO06tlH.js} +1 -1
  73. package/dist/{vue-ui-carousel-table-Q2uTIELA.js → vue-ui-carousel-table-nZJ1k6se.js} +1 -1
  74. package/dist/{vue-ui-chestnut-DdNKhXkN.js → vue-ui-chestnut-BWItE1hg.js} +1 -1
  75. package/dist/{vue-ui-chord-CYzGIRtA.js → vue-ui-chord-YflKRyWK.js} +1 -1
  76. package/dist/{vue-ui-circle-pack-Dp5_ugXW.js → vue-ui-circle-pack-DyTYvEg3.js} +1 -1
  77. package/dist/{vue-ui-cursor-DBViygOD.js → vue-ui-cursor-C5_wkWul.js} +1 -1
  78. package/dist/{vue-ui-dag-BA2vr2Ub.js → vue-ui-dag-mH0baWM3.js} +1 -1
  79. package/dist/{vue-ui-dashboard-D11FCHnp.js → vue-ui-dashboard-F7pEuJDh.js} +58 -58
  80. package/dist/{vue-ui-digits-CIXbRR97.js → vue-ui-digits-BYBtwXy_.js} +1 -1
  81. package/dist/{vue-ui-donut-BSanYbqb.js → vue-ui-donut-B3L7jeHL.js} +434 -432
  82. package/dist/{vue-ui-donut-evolution-BVttNIzH.js → vue-ui-donut-evolution-C46h0gLy.js} +356 -356
  83. package/dist/{vue-ui-dumbbell-D-KcBLOF.js → vue-ui-dumbbell-xekp1obI.js} +1 -1
  84. package/dist/{vue-ui-flow-Dly7N0Nb.js → vue-ui-flow-BYYyk5KL.js} +1 -1
  85. package/dist/{vue-ui-funnel-COwXzAbB.js → vue-ui-funnel-BfY509t-.js} +1 -1
  86. package/dist/{vue-ui-galaxy-Cg9VStNF.js → vue-ui-galaxy-D061gTYS.js} +260 -257
  87. package/dist/{vue-ui-gauge-DHWCS6jR.js → vue-ui-gauge-BRxZNBBS.js} +1 -1
  88. package/dist/{vue-ui-geo-CV0FBeuB.js → vue-ui-geo-BwOMFUVr.js} +1 -1
  89. package/dist/{vue-ui-gizmo-5rdIvscj.js → vue-ui-gizmo-CQsP8Nd3.js} +1 -1
  90. package/dist/{vue-ui-heatmap-kiQ6q3q4.js → vue-ui-heatmap-DOsulVoP.js} +1 -1
  91. package/dist/{vue-ui-history-plot-CgPjudHv.js → vue-ui-history-plot-CXW6lF42.js} +4 -8
  92. package/dist/{vue-ui-horizontal-bar-CpQCmBQD.js → vue-ui-horizontal-bar-CideXtlg.js} +4 -4
  93. package/dist/{vue-ui-kpi-Bz7QeCTV.js → vue-ui-kpi-CE-JFZ1o.js} +1 -1
  94. package/dist/{vue-ui-molecule-CvfwMxYY.js → vue-ui-molecule-B1Prm5Lk.js} +1 -1
  95. package/dist/{vue-ui-mood-radar-D0lanJ__.js → vue-ui-mood-radar-B29gVcTN.js} +1 -1
  96. package/dist/{vue-ui-nested-donuts-C-LWBXmg.js → vue-ui-nested-donuts-Bsx5f9Gv.js} +97 -94
  97. package/dist/{vue-ui-onion-u9hGe4VA.js → vue-ui-onion-MN-PjNJq.js} +3 -3
  98. package/dist/{vue-ui-parallel-coordinate-plot-BJ5OjYTH.js → vue-ui-parallel-coordinate-plot-C9zU7MP5.js} +91 -95
  99. package/dist/{vue-ui-quadrant-BVFJ5Vur.js → vue-ui-quadrant-h-QFG9O4.js} +3 -3
  100. package/dist/vue-ui-quick-chart-PAVz4c9z.js +2469 -0
  101. package/dist/{vue-ui-radar-BsRGxgXN.js → vue-ui-radar-D2pVd53z.js} +115 -112
  102. package/dist/{vue-ui-relation-circle-MxYh6hSt.js → vue-ui-relation-circle-BjB0J53V.js} +1 -1
  103. package/dist/{vue-ui-ridgeline-BtNEP6ba.js → vue-ui-ridgeline-DamvqiyJ.js} +3 -3
  104. package/dist/{vue-ui-rings-Pj7yMeOV.js → vue-ui-rings-DkHS5dwd.js} +105 -102
  105. package/dist/{vue-ui-scatter-DrS1nrwL.js → vue-ui-scatter-dFDowCVQ.js} +5 -5
  106. package/dist/{vue-ui-skeleton-Cqv1KG4y.js → vue-ui-skeleton-zhkS1cmh.js} +1 -1
  107. package/dist/{vue-ui-spark-trend-eHleRq-z.js → vue-ui-spark-trend-fQ10-UvM.js} +1 -1
  108. package/dist/{vue-ui-sparkbar-BHJTG_on.js → vue-ui-sparkbar-D5toou8V.js} +1 -1
  109. package/dist/{vue-ui-sparkgauge-DpAEwvLX.js → vue-ui-sparkgauge-DRZcIPYf.js} +1 -1
  110. package/dist/{vue-ui-sparkhistogram-BlMH_NJk.js → vue-ui-sparkhistogram-YizEqFdN.js} +1 -1
  111. package/dist/{vue-ui-sparkline-BAWc3ROJ.js → vue-ui-sparkline-w2nclIW0.js} +1 -1
  112. package/dist/vue-ui-sparkstackbar-CTShNXhW.js +662 -0
  113. package/dist/{vue-ui-stackbar-28FVVqVu.js → vue-ui-stackbar-BFLCEsRk.js} +404 -404
  114. package/dist/{vue-ui-stackline-DwtlEdOE.js → vue-ui-stackline-CU6s-hhv.js} +125 -125
  115. package/dist/{vue-ui-strip-plot-DX36qFKk.js → vue-ui-strip-plot-ByaDLFSL.js} +1 -1
  116. package/dist/{vue-ui-table-DdZ_DkqT.js → vue-ui-table-DuA_CfGn.js} +2 -2
  117. package/dist/{vue-ui-table-sparkline-BSV1jn7r.js → vue-ui-table-sparkline-Dfei_QrJ.js} +1 -1
  118. package/dist/{vue-ui-thermometer-Io8LdW1o.js → vue-ui-thermometer-biw3ivMI.js} +1 -1
  119. package/dist/{vue-ui-timer-BkdpZ-lw.js → vue-ui-timer-9LNNDl4q.js} +1 -1
  120. package/dist/{vue-ui-tiremarks-GC773Hw1.js → vue-ui-tiremarks-kF0Baqia.js} +1 -1
  121. package/dist/{vue-ui-treemap-C0dtbfbZ.js → vue-ui-treemap-BexKMBhz.js} +373 -373
  122. package/dist/{vue-ui-waffle-BvzfNmJC.js → vue-ui-waffle-Dq50j_uw.js} +1 -1
  123. package/dist/{vue-ui-wheel-Dm9V8TAH.js → vue-ui-wheel-BETHlWsO.js} +1 -1
  124. package/dist/{vue-ui-word-cloud-Ne_B9Elc.js → vue-ui-word-cloud-D1AQtzmT.js} +1 -1
  125. package/dist/{vue-ui-world-Bp38MZij.js → vue-ui-world-CcgbuSp_.js} +1 -1
  126. package/dist/{vue-ui-xy-BCeOqJYR.js → vue-ui-xy-BQ1YONCq.js} +280 -277
  127. package/dist/{vue-ui-xy-canvas-B06Rit63.js → vue-ui-xy-canvas-4ABYnasj.js} +3 -3
  128. package/package.json +1 -1
  129. package/dist/vue-ui-quick-chart-Cd5lGyph.js +0 -2471
  130. package/dist/vue-ui-sparkstackbar-BI8zG-DG.js +0 -662
@@ -459,7 +459,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
459
459
  "copyAlt"
460
460
  ],
461
461
  setup(e, { expose: We, emit: _t }) {
462
- let N = e, ti = et(() => import("./DataTable-DmE8Oo4i.js")), ni = et(() => import("./Tooltip-CuWEYGr3.js")), ri = et(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), ii = et(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), ai = et(() => import("./vue-ui-table-sparkline-BSV1jn7r.js").then((e) => e.n)), oi = et(() => import("./PackageVersion-zJAUEmyB.js").then((e) => e.t)), si = et(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), ci = et(() => import("./BaseDraggableDialog-DUUu2E2Q.js").then((e) => e.n)), li = _t, ui = ft(), di = tt(), { vue_ui_xy: fi } = je(), { isThemeValid: pi, warnInvalidTheme: mi } = Le(), hi = O(null), gi = O(null), _i = O(null), vi = O(null), yi = O(null), bi = O(null), xi = O(null), Si = O(null), Ci = O(null), wi = O(null), Ti = O(null), Ei = O(null), Di = O(null), Oi = O(null), ki = O(0), P = O(null), Ai = O(!0), ji = O(600), F = O(1e3), Mi = O("0 0 1000 600"), Ni = O({
462
+ let N = e, ti = et(() => import("./DataTable-DmE8Oo4i.js")), ni = et(() => import("./Tooltip-CuWEYGr3.js")), ri = et(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), ii = et(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), ai = et(() => import("./vue-ui-table-sparkline-Dfei_QrJ.js").then((e) => e.n)), oi = et(() => import("./PackageVersion-Dl9W5zJD.js").then((e) => e.t)), si = et(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), ci = et(() => import("./BaseDraggableDialog-DUUu2E2Q.js").then((e) => e.n)), li = _t, ui = ft(), di = tt(), { vue_ui_xy: fi } = je(), { isThemeValid: pi, warnInvalidTheme: mi } = Le(), hi = O(null), gi = O(null), _i = O(null), vi = O(null), yi = O(null), bi = O(null), xi = O(null), Si = O(null), Ci = O(null), wi = O(null), Ti = O(null), Ei = O(null), Di = O(null), Oi = O(null), ki = O(0), P = O(null), Ai = O(!0), ji = O(600), F = O(1e3), Mi = O("0 0 1000 600"), Ni = O({
463
463
  x: 0,
464
464
  y: 0
465
465
  }), Pi = O({
@@ -818,7 +818,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
818
818
  ...e,
819
819
  series: e.series.map((e) => e + Ja.value),
820
820
  absoluteValues: e.series,
821
- segregate: () => cs(e),
821
+ segregate: () => ls(e),
822
822
  isSegregated: I.value.includes(e.id)
823
823
  }))), Za = x(() => Ya.value.map((e, t) => ({
824
824
  ...e,
@@ -895,16 +895,16 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
895
895
  }), oo = x(() => {
896
896
  let e = +(H.value.chart.grid.position === "middle"), t = Z.value + e, n = v(Y.value?.top), r = v(Y.value?.bottom);
897
897
  return Array.from({ length: t }).map((e, t) => {
898
- let i = H.value.chart.grid.position === "middle" ? Ss(t) : xs(t);
898
+ let i = H.value.chart.grid.position === "middle" ? Cs(t) : Ss(t);
899
899
  return `M${i},${n} L${i},${r}`;
900
900
  }).join(" ");
901
901
  }), so = x(() => {
902
902
  if (!H.value.chart.grid.labels.xAxis.showCrosshairs) return "";
903
- bs.value;
903
+ xs.value;
904
904
  let e = H.value.chart.grid.labels.xAxis.crosshairSize, t = H.value.chart.grid.labels.xAxis.crosshairsAlwaysAtZero;
905
905
  return bo.value.map((n, r) => {
906
906
  if (!n || !n.text) return null;
907
- let i = xs(r);
907
+ let i = Ss(r);
908
908
  return `M${i},${t ? Vo.value - (Vo.value === Y.value?.bottom ? 0 : e / 2) : Y.value?.bottom} L${i},${t ? Vo.value + e / (Vo.value === Y.value?.bottom ? 1 : 2) : Y.value?.bottom + e}`;
909
909
  }).filter(Boolean).join(" ");
910
910
  });
@@ -1095,8 +1095,8 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1095
1095
  let e = Math.max(1, Z.value);
1096
1096
  return {
1097
1097
  bar: da(Math.max(1, Y.value.width), e * Math.max(1, Ya.value.filter((e) => e.type === "bar" && !I.value.includes(e.id)).length), 1),
1098
- plot: ys.value,
1099
- line: ys.value
1098
+ plot: bs.value,
1099
+ line: bs.value
1100
1100
  };
1101
1101
  });
1102
1102
  function qo() {
@@ -1166,19 +1166,19 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1166
1166
  ts();
1167
1167
  return;
1168
1168
  }
1169
- let s = Ts(t.x);
1170
- s == null ? ts() : Zo.value !== s && (Zo.value = s, ec(!0, s));
1169
+ let s = Es(t.x);
1170
+ s == null ? ts() : Zo.value !== s && (Zo.value = s, tc(!0, s));
1171
1171
  }));
1172
1172
  }
1173
1173
  function ts() {
1174
- $o &&= (cancelAnimationFrame($o), 0), Zo.value = null, ec(!1, null);
1174
+ $o &&= (cancelAnimationFrame($o), 0), Zo.value = null, tc(!1, null);
1175
1175
  }
1176
1176
  function ns(e) {
1177
1177
  let t = Qo(e);
1178
1178
  if (t && z.value) {
1179
1179
  let { left: e, right: n, top: r, bottom: i, width: a } = Y.value;
1180
1180
  if (t.x >= e && t.x <= n && t.y >= r && t.y <= i) {
1181
- let e = Ts(t.x);
1181
+ let e = Es(t.x);
1182
1182
  if (e != null) {
1183
1183
  rs(e);
1184
1184
  return;
@@ -1235,36 +1235,39 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1235
1235
  function os() {
1236
1236
  I.value.length ? I.value = [] : Xa.value.forEach((e) => {
1237
1237
  I.value.push(e.id);
1238
- });
1238
+ }), cs();
1239
1239
  }
1240
1240
  function ss(e, t) {
1241
- (e.key === "Enter" || e.key === " ") && (e.preventDefault(), cs(t));
1241
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), ls(t));
1242
1242
  }
1243
- function cs(e) {
1244
- if (I.value.includes(e.id)) I.value = I.value.filter((t) => t !== e.id);
1245
- else {
1246
- if (I.value.length + 1 === Ya.value.length) return;
1247
- I.value.push(e.id);
1248
- }
1243
+ function cs() {
1249
1244
  li("selectLegend", Za.value.map((e) => ({
1250
1245
  name: e.name,
1251
1246
  values: e.absoluteValues,
1252
1247
  color: e.color,
1253
1248
  type: e.type
1254
- }))), Ui.value += 1;
1249
+ })));
1255
1250
  }
1256
1251
  function ls(e) {
1257
- return Xa.value.length ? Xa.value.find((t) => t.name === e) || (H.value.debug && console.warn(`VueUiXy - Series name not found "${e}"`), null) : (H.value.debug && console.warn("VueUiXy - There are no series to show."), null);
1252
+ if (I.value.includes(e.id)) I.value = I.value.filter((t) => t !== e.id);
1253
+ else {
1254
+ if (I.value.length + 1 === Ya.value.length) return;
1255
+ I.value.push(e.id);
1256
+ }
1257
+ cs(), Ui.value += 1;
1258
1258
  }
1259
1259
  function us(e) {
1260
- let t = ls(e);
1261
- t !== null && I.value.includes(t.id) && cs({ id: t.id });
1260
+ return Xa.value.length ? Xa.value.find((t) => t.name === e) || (H.value.debug && console.warn(`VueUiXy - Series name not found "${e}"`), null) : (H.value.debug && console.warn("VueUiXy - There are no series to show."), null);
1262
1261
  }
1263
1262
  function ds(e) {
1264
- let t = ls(e);
1265
- t !== null && (I.value.includes(t.id) || cs({ id: t.id }));
1263
+ let t = us(e);
1264
+ t !== null && I.value.includes(t.id) && ls({ id: t.id });
1265
+ }
1266
+ function fs(e) {
1267
+ let t = us(e);
1268
+ t !== null && (I.value.includes(t.id) || ls({ id: t.id }));
1266
1269
  }
1267
- let fs = x(() => `${H.value.chart.title.text || "Chart visualization"}. ${H.value.chart.title.subtitle.text || ""}`), ps = x(() => ({ linePlot: Z.value > H.value.line.dot.hideAboveMaxSerieLength })), ms = x(() => H.value.chart.userOptions.show && (!H.value.chart.title.show || !H.value.chart.title.text)), hs = x(() => {
1270
+ let ps = x(() => `${H.value.chart.title.text || "Chart visualization"}. ${H.value.chart.title.subtitle.text || ""}`), ms = x(() => ({ linePlot: Z.value > H.value.line.dot.hideAboveMaxSerieLength })), hs = x(() => H.value.chart.userOptions.show && (!H.value.chart.title.show || !H.value.chart.title.text)), gs = x(() => {
1268
1271
  if (Array.isArray(H.value.chart.highlightArea)) return H.value.chart.highlightArea.map((e) => {
1269
1272
  let t = Math.min(e.to, G.value - 1);
1270
1273
  return {
@@ -1280,12 +1283,12 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1280
1283
  ...e,
1281
1284
  span: e.from === e.to ? 1 : e.to < e.from ? 0 : e.to - e.from + 1
1282
1285
  }];
1283
- }), gs = x(() => Ai.value ? W.value.map((e, t) => ({
1286
+ }), _s = x(() => Ai.value ? W.value.map((e, t) => ({
1284
1287
  ...e,
1285
1288
  series: Oa(e.series),
1286
1289
  id: `uniqueId_${t}`,
1287
1290
  color: Te(e.color ? e.color : za.value[t] ? za.value[t] : h[t])
1288
- })) : W.value), _s = x(() => Za.value.map((e) => {
1291
+ })) : W.value), vs = x(() => Za.value.map((e) => {
1289
1292
  let t = e.absoluteValues.map((e) => [void 0, null].includes(e) ? 0 : e);
1290
1293
  return {
1291
1294
  id: e.id,
@@ -1293,7 +1296,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1293
1296
  color: e.color,
1294
1297
  values: Eo(Z.value, t)
1295
1298
  };
1296
- })), vs = x(() => ({
1299
+ })), ys = x(() => ({
1297
1300
  responsiveBreakpoint: H.value.table.responsiveBreakpoint,
1298
1301
  roundingValues: H.value.table.rounding,
1299
1302
  showAverage: !1,
@@ -1302,7 +1305,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1302
1305
  fontFamily: H.value.chart.fontFamily,
1303
1306
  prefix: H.value.chart.labels.prefix,
1304
1307
  suffix: H.value.chart.labels.suffix,
1305
- colNames: X.value.map((e, t) => H.value.table.useDefaultTimeFormat ? e.text : Js.value(t + K.value.start, H.value.table.timeFormat)),
1308
+ colNames: X.value.map((e, t) => H.value.table.useDefaultTimeFormat ? e.text : Ys.value(t + K.value.start, H.value.table.timeFormat)),
1306
1309
  thead: {
1307
1310
  backgroundColor: H.value.table.th.backgroundColor,
1308
1311
  color: H.value.table.th.color,
@@ -1315,42 +1318,42 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1315
1318
  },
1316
1319
  userOptions: { show: !1 },
1317
1320
  sparkline: { animation: { show: !1 } }
1318
- })), ys = x(() => {
1321
+ })), bs = x(() => {
1319
1322
  let e = Math.max(0, Y.value?.width || 0);
1320
1323
  return H.value.chart.grid.position === "middle" ? da(e, Math.max(1, Z.value), 1) : da(e, Math.max(1, Z.value - 1), 0);
1321
- }), bs = x(() => H.value.chart.grid.position === "middle" ? ys.value : Z.value <= 1 ? Math.max(0, Y.value?.width || 0) : ys.value);
1322
- function xs(e) {
1323
- let t = Y.value?.left || 0;
1324
- return H.value.chart.grid.position === "middle" ? t + ys.value / 2 + ys.value * e : t + ys.value * e;
1325
- }
1324
+ }), xs = x(() => H.value.chart.grid.position === "middle" ? bs.value : Z.value <= 1 ? Math.max(0, Y.value?.width || 0) : bs.value);
1326
1325
  function Ss(e) {
1327
1326
  let t = Y.value?.left || 0;
1328
- return H.value.chart.grid.position === "middle" ? t + ys.value * e : Z.value <= 1 ? t : t + ys.value * e - ys.value / 2;
1327
+ return H.value.chart.grid.position === "middle" ? t + bs.value / 2 + bs.value * e : t + bs.value * e;
1329
1328
  }
1330
1329
  function Cs(e) {
1331
- return Math.max(Y.value?.left || 0, Ss(e));
1330
+ let t = Y.value?.left || 0;
1331
+ return H.value.chart.grid.position === "middle" ? t + bs.value * e : Z.value <= 1 ? t : t + bs.value * e - bs.value / 2;
1332
1332
  }
1333
1333
  function ws(e) {
1334
- let t = Y.value?.left || 0, n = Y.value?.right || 0, r = Ss(e), i = r + bs.value;
1335
- return Math.max(1e-5, Math.min(n, i) - Math.max(t, r));
1334
+ return Math.max(Y.value?.left || 0, Cs(e));
1336
1335
  }
1337
1336
  function Ts(e) {
1337
+ let t = Y.value?.left || 0, n = Y.value?.right || 0, r = Cs(e), i = r + xs.value;
1338
+ return Math.max(1e-5, Math.min(n, i) - Math.max(t, r));
1339
+ }
1340
+ function Es(e) {
1338
1341
  let t = Y.value?.left || 0, n = Y.value?.right || 0;
1339
1342
  for (let r = 0; r < Z.value; r += 1) {
1340
- let i = Math.max(t, Ss(r)), a = Math.min(n, Ss(r) + bs.value);
1343
+ let i = Math.max(t, Cs(r)), a = Math.min(n, Cs(r) + xs.value);
1341
1344
  if (e >= i && e <= a) return r;
1342
1345
  }
1343
1346
  return null;
1344
1347
  }
1345
- function Es(e) {
1346
- let t = Y.value?.left || 0, n = Y.value?.right || 0, r = Ss(e), i = r + bs.value;
1348
+ function Ds(e) {
1349
+ let t = Y.value?.left || 0, n = Y.value?.right || 0, r = Cs(e), i = r + xs.value;
1347
1350
  return Math.max(1e-5, Math.min(n, i) - Math.max(t, r));
1348
1351
  }
1349
- function Ds(e) {
1350
- return Math.max(1e-5, bs.value * e);
1352
+ function Os(e) {
1353
+ return Math.max(1e-5, xs.value * e);
1351
1354
  }
1352
- let Os = x(() => g(Xa.value.filter((e) => !I.value.includes(e.id))));
1353
- function ks(e, t) {
1355
+ let ks = x(() => g(Xa.value.filter((e) => !I.value.includes(e.id))));
1356
+ function As(e, t) {
1354
1357
  let n = Object.create(null);
1355
1358
  for (let r = 0; r < e.length; r += 1) {
1356
1359
  let i = e[r], a = String(t(i));
@@ -1359,7 +1362,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1359
1362
  return n;
1360
1363
  }
1361
1364
  let Q = x(() => {
1362
- let e = ks(Os.value, (e) => e.scaleLabel), t = {};
1365
+ let e = As(ks.value, (e) => e.scaleLabel), t = {};
1363
1366
  for (let [n, r] of Object.entries(e)) {
1364
1367
  let e = r.flatMap((e) => e.absoluteValues);
1365
1368
  t[n] = {
@@ -1369,19 +1372,19 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1369
1372
  };
1370
1373
  }
1371
1374
  return t;
1372
- }), As = x(() => {
1375
+ }), js = x(() => {
1373
1376
  let e = Ya.value.filter((e) => e.type === "bar").filter((e) => !I.value.includes(e.id)).length;
1374
- return Y.value.width / Z.value / e - js.value * e;
1375
- }), js = x(() => Ko.value.line * H.value.bar.periodGap), Ms = x(() => Math.max(1e-5, qo() - (U.value.useIndividualScale && U.value.isStacked ? 0 : js.value))), Ns = x(() => Ms.value * Math.min(Math.abs(H.value.bar.innerGap), .95)), Ps = x(() => {
1377
+ return Y.value.width / Z.value / e - Ms.value * e;
1378
+ }), Ms = x(() => Ko.value.line * H.value.bar.periodGap), Ns = x(() => Math.max(1e-5, qo() - (U.value.useIndividualScale && U.value.isStacked ? 0 : Ms.value))), Ps = x(() => Ns.value * Math.min(Math.abs(H.value.bar.innerGap), .95)), Fs = x(() => {
1376
1379
  if (!H.value.chart.zoom.minimap.show) return [];
1377
- let e = gs.value.filter((e) => !I.value.includes(e.id)), t = Math.max(...e.map((e) => e.series.length)), n = [];
1380
+ let e = _s.value.filter((e) => !I.value.includes(e.id)), t = Math.max(...e.map((e) => e.series.length)), n = [];
1378
1381
  for (let r = 0; r < t; r += 1) n.push(e.map((e) => e.series[r] || 0).reduce((e, t) => (e || 0) + (t || 0), 0));
1379
1382
  let r = Math.min(...n);
1380
1383
  return n.map((e) => e + (r < 0 ? Math.abs(r) : 0));
1381
- }), Fs = x(() => H.value.chart.zoom.minimap.show ? gs.value.map((e) => ({
1384
+ }), Is = x(() => H.value.chart.zoom.minimap.show ? _s.value.map((e) => ({
1382
1385
  ...e,
1383
1386
  isVisible: !I.value.includes(e.id)
1384
- })) : []), Is = x(() => Za.value.map((e) => ({
1387
+ })) : []), Ls = x(() => Za.value.map((e) => ({
1385
1388
  slotAbsoluteIndex: e.slotAbsoluteIndex,
1386
1389
  shape: e.shape || e.type === "bar" ? "square" : "circle",
1387
1390
  name: e.name,
@@ -1391,12 +1394,12 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1391
1394
  comments: e.comments || [],
1392
1395
  prefix: e.prefix || H.value.chart.labels.prefix,
1393
1396
  suffix: e.suffix || H.value.chart.labels.suffix
1394
- }))), Ls = x(() => q.value.ticks.map((e) => ({
1397
+ }))), Rs = x(() => q.value.ticks.map((e) => ({
1395
1398
  y: e >= 0 ? Vo.value - Y.value.height * Bo(e) : Vo.value + Y.value.height * Bo(Math.abs(e)),
1396
1399
  value: e,
1397
1400
  prefix: H.value.chart.labels.prefix,
1398
1401
  suffix: H.value.chart.labels.suffix
1399
- }))), Rs = x(() => {
1402
+ }))), zs = x(() => {
1400
1403
  let e = H.value.chart.annotations;
1401
1404
  if (!e || !Array.isArray(e) || e.every((e) => !e.show)) return [];
1402
1405
  let t = e.filter((e) => e.show && (e.yAxis.yTop != null || e.yAxis.yBottom != null));
@@ -1440,11 +1443,11 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1440
1443
  };
1441
1444
  });
1442
1445
  });
1443
- function zs(e, t) {
1446
+ function Bs(e, t) {
1444
1447
  let n = e[t - 1], r = e[t + 1], i = !!n && !!r && n.value == null && r.value == null || !n && !!r && r.value == null || !!n && !r && n.value == null;
1445
1448
  return Ro(e[t].value) && i && H.value.line.cutNullValues;
1446
1449
  }
1447
- function Bs({ datapoint: e, totalSeries: t, gap: n, usableHeight: r, autoScaleValueMin: i, autoScaleValueMax: a, individualExtremes: o, forceExactScale: s = !1 }) {
1450
+ function Vs({ datapoint: e, totalSeries: t, gap: n, usableHeight: r, autoScaleValueMin: i, autoScaleValueMax: a, individualExtremes: o, forceExactScale: s = !1 }) {
1448
1451
  let c = e.scaleSteps || H.value.chart.grid.labels.yAxis.commonScaleSteps, l = 1.0000001, u = s || !H.value.chart.grid.labels.yAxis.useNiceScale ? ue : de, ee = o.max === o.min ? o.max * l : o.max, te = a === i ? a * l : a, d = u(o.min, ee, c), f = u(i, te, c), p = d.min >= 0 ? 0 : Math.abs(d.min), m = d.max + Math.abs(p), ne = f.max + 0, re = e.stackIndex, ie = t - 1 - re, ae = U.value.isStacked ? 1 - e.cumulatedStackRatio : 0, oe = U.value.isStacked ? r * ae + n * ie : 0, h = U.value.isStacked ? r * e.stackRatio : Y.value.height;
1449
1452
  return {
1450
1453
  scaleSteps: c,
@@ -1460,8 +1463,8 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1460
1463
  autoScaleZeroPosition: Y.value?.bottom - oe - h * 0 / ne
1461
1464
  };
1462
1465
  }
1463
- let Vs = x(() => {
1464
- let e = Os.value.filter((e) => [
1466
+ let Hs = x(() => {
1467
+ let e = ks.value.filter((e) => [
1465
1468
  "bar",
1466
1469
  "line",
1467
1470
  "plot"
@@ -1475,7 +1478,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1475
1478
  }, c = {
1476
1479
  max: e.scaleMax || Math.max(...e.absoluteValues) || 1,
1477
1480
  min: e.scaleMin || Math.min(...e.absoluteValues.filter((e) => ![void 0, null].includes(e))) > 0 ? 0 : Math.min(...e.absoluteValues.filter((e) => ![null, void 0].includes(e)))
1478
- }, { individualScale: l, autoScaleSteps: u, individualZero: ee, individualMax: te, autoScaleMax: d, yOffset: f, individualHeight: p, zeroPosition: m, autoScaleZeroPosition: ne } = Bs({
1481
+ }, { individualScale: l, autoScaleSteps: u, individualZero: ee, individualMax: te, autoScaleMax: d, yOffset: f, individualHeight: p, zeroPosition: m, autoScaleZeroPosition: ne } = Vs({
1479
1482
  datapoint: e,
1480
1483
  totalSeries: t,
1481
1484
  gap: n,
@@ -1484,7 +1487,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1484
1487
  autoScaleValueMax: s.valueMax,
1485
1488
  individualExtremes: c
1486
1489
  }), re = Xa.value.filter((e) => e.type === "bar").filter((e) => !I.value.includes(e.id)).length, ie = e.series.map((t, n) => {
1487
- let i = U.value.useIndividualScale ? (e.absoluteValues[n] + ee) / te : Bo(t), a = U.value.useIndividualScale && U.value.isStacked ? Y.value?.left + Y.value.width / Z.value * n : Y.value?.left + Ko.value.bar * r + Ko.value.bar * n * re - As.value / 2 - r * js.value;
1490
+ let i = U.value.useIndividualScale ? (e.absoluteValues[n] + ee) / te : Bo(t), a = U.value.useIndividualScale && U.value.isStacked ? Y.value?.left + Y.value.width / Z.value * n : Y.value?.left + Ko.value.bar * r + Ko.value.bar * n * re - js.value / 2 - r * Ms.value;
1488
1491
  return {
1489
1492
  yOffset: y(f),
1490
1493
  individualHeight: y(p),
@@ -1523,7 +1526,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1523
1526
  datapoint: e
1524
1527
  };
1525
1528
  });
1526
- return Q.value[e.scaleLabel].name = e.name, Q.value[e.scaleLabel].groupName = e.scaleLabel, Q.value[e.scaleLabel].groupColor = H.value.chart.grid.labels.yAxis.groupColor || e.color, Q.value[e.scaleLabel].color = e.color, Q.value[e.scaleLabel].scaleYLabels = e.autoScaling ? se : h, Q.value[e.scaleLabel].zeroPosition = e.autoScaling ? ne : m, Q.value[e.scaleLabel].individualMax = e.autoScaling ? d : te, Q.value[e.scaleLabel].scaleLabel = e.scaleLabel, Q.value[e.scaleLabel].id = e.id, Q.value[e.scaleLabel].yOffset = f, Q.value[e.scaleLabel].individualHeight = p, Q.value[e.scaleLabel].autoScaleYLabels = se, Q.value[e.scaleLabel].unique = Os.value.filter((t) => t.scaleLabel === e.scaleLabel).length === 1, {
1529
+ return Q.value[e.scaleLabel].name = e.name, Q.value[e.scaleLabel].groupName = e.scaleLabel, Q.value[e.scaleLabel].groupColor = H.value.chart.grid.labels.yAxis.groupColor || e.color, Q.value[e.scaleLabel].color = e.color, Q.value[e.scaleLabel].scaleYLabels = e.autoScaling ? se : h, Q.value[e.scaleLabel].zeroPosition = e.autoScaling ? ne : m, Q.value[e.scaleLabel].individualMax = e.autoScaling ? d : te, Q.value[e.scaleLabel].scaleLabel = e.scaleLabel, Q.value[e.scaleLabel].id = e.id, Q.value[e.scaleLabel].yOffset = f, Q.value[e.scaleLabel].individualHeight = p, Q.value[e.scaleLabel].autoScaleYLabels = se, Q.value[e.scaleLabel].unique = ks.value.filter((t) => t.scaleLabel === e.scaleLabel).length === 1, {
1527
1530
  ...e,
1528
1531
  yOffset: f,
1529
1532
  autoScaleYLabels: se,
@@ -1537,7 +1540,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1537
1540
  };
1538
1541
  });
1539
1542
  }), $ = x(() => {
1540
- let e = Os.value.filter((e) => [
1543
+ let e = ks.value.filter((e) => [
1541
1544
  "bar",
1542
1545
  "line",
1543
1546
  "plot"
@@ -1551,7 +1554,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1551
1554
  }, ee = {
1552
1555
  max: e.scaleMax || Math.max(...e.absoluteValues) || 1,
1553
1556
  min: e.scaleMin || (Math.min(...e.absoluteValues) > 0 ? 0 : Math.min(...e.absoluteValues))
1554
- }, { individualScale: d, autoScaleSteps: p, individualZero: m, individualMax: re, autoScaleMax: ie, yOffset: ae, individualHeight: h, zeroPosition: se, autoScaleZeroPosition: ce } = Bs({
1557
+ }, { individualScale: d, autoScaleSteps: p, individualZero: m, individualMax: re, autoScaleMax: ie, yOffset: ae, individualHeight: h, zeroPosition: se, autoScaleZeroPosition: ce } = Vs({
1555
1558
  datapoint: e,
1556
1559
  totalSeries: t,
1557
1560
  gap: n,
@@ -1562,18 +1565,18 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1562
1565
  }), g = e.series.map((t, n) => {
1563
1566
  let r = U.value.useIndividualScale ? (e.absoluteValues[n] + Math.abs(m)) / re : Bo(t);
1564
1567
  return {
1565
- x: y(xs(n)),
1568
+ x: y(Ss(n)),
1566
1569
  y: y(Y.value?.bottom - ae - h * r),
1567
1570
  value: e.absoluteValues[n],
1568
1571
  comment: e.comments && e.comments.slice(K.value.start, K.value.end)[n] || ""
1569
1572
  };
1570
1573
  }), le = e.absoluteValues.map((e) => p.min >= 0 ? (e - Math.abs(p.min)) / (p.max - Math.abs(p.min)) : (e + Math.abs(p.min)) / (p.max + Math.abs(p.min))), _ = e.series.map((t, n) => [void 0, null].includes(e.absoluteValues[n]) ? {
1571
- x: y(xs(n)),
1574
+ x: y(Ss(n)),
1572
1575
  y: se,
1573
1576
  value: e.absoluteValues[n],
1574
1577
  comment: e.comments && e.comments.slice(K.value.start, K.value.end)[n] || ""
1575
1578
  } : {
1576
- x: y(xs(n)),
1579
+ x: y(Ss(n)),
1577
1580
  y: y(Y.value?.bottom - ae - (h * le[n] || 0)),
1578
1581
  value: e.absoluteValues[n],
1579
1582
  comment: e.comments && e.comments.slice(K.value.start, K.value.end)[n] || ""
@@ -1593,7 +1596,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1593
1596
  datapoint: e
1594
1597
  };
1595
1598
  });
1596
- Q.value[e.scaleLabel].name = e.name, Q.value[e.scaleLabel].groupName = e.scaleLabel, Q.value[e.scaleLabel].groupColor = H.value.chart.grid.labels.yAxis.groupColor || e.color, Q.value[e.scaleLabel].color = e.color, Q.value[e.scaleLabel].scaleYLabels = e.autoScaling ? xe : be, Q.value[e.scaleLabel].zeroPosition = e.autoScaling ? ce : se, Q.value[e.scaleLabel].individualMax = e.autoScaling ? ie : re, Q.value[e.scaleLabel].scaleLabel = e.scaleLabel, Q.value[e.scaleLabel].id = e.id, Q.value[e.scaleLabel].yOffset = ae, Q.value[e.scaleLabel].individualHeight = h, Q.value[e.scaleLabel].autoScaleYLabels = xe, Q.value[e.scaleLabel].unique = Os.value.filter((t) => t.scaleLabel === e.scaleLabel).length === 1;
1599
+ Q.value[e.scaleLabel].name = e.name, Q.value[e.scaleLabel].groupName = e.scaleLabel, Q.value[e.scaleLabel].groupColor = H.value.chart.grid.labels.yAxis.groupColor || e.color, Q.value[e.scaleLabel].color = e.color, Q.value[e.scaleLabel].scaleYLabels = e.autoScaling ? xe : be, Q.value[e.scaleLabel].zeroPosition = e.autoScaling ? ce : se, Q.value[e.scaleLabel].individualMax = e.autoScaling ? ie : re, Q.value[e.scaleLabel].scaleLabel = e.scaleLabel, Q.value[e.scaleLabel].id = e.id, Q.value[e.scaleLabel].yOffset = ae, Q.value[e.scaleLabel].individualHeight = h, Q.value[e.scaleLabel].autoScaleYLabels = xe, Q.value[e.scaleLabel].unique = ks.value.filter((t) => t.scaleLabel === e.scaleLabel).length === 1;
1597
1600
  let Se = U.value.useIndividualScale ? e.autoScaling ? ce : se : Va.value, we = Math.max(Math.max(e.autoScaling ? ce : be.at(-1) ? be.at(-1).y : 0, Y.value?.top), Se), Ee = e.autoScaling ? _ : g, De = H.value.line.cutNullValues ? Ee : Ee.filter((e) => e.value !== null), Oe = e.absoluteValues.filter((e) => ![
1598
1601
  null,
1599
1602
  void 0,
@@ -1621,8 +1624,8 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1621
1624
  groupId: Q.value[e.scaleLabel].groupId
1622
1625
  };
1623
1626
  });
1624
- }), Hs = x(() => {
1625
- let e = Os.value.filter((e) => [
1627
+ }), Us = x(() => {
1628
+ let e = ks.value.filter((e) => [
1626
1629
  "bar",
1627
1630
  "line",
1628
1631
  "plot"
@@ -1636,7 +1639,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1636
1639
  }, s = {
1637
1640
  max: e.scaleMax || Math.max(...e.absoluteValues) || 1,
1638
1641
  min: e.scaleMin || Math.min(...e.absoluteValues) > 0 ? 0 : Math.min(...e.absoluteValues)
1639
- }, { individualScale: c, autoScaleSteps: l, individualZero: u, individualMax: ee, autoScaleMax: te, yOffset: d, individualHeight: f, zeroPosition: p, autoScaleZeroPosition: m } = Bs({
1642
+ }, { individualScale: c, autoScaleSteps: l, individualZero: u, individualMax: ee, autoScaleMax: te, yOffset: d, individualHeight: f, zeroPosition: p, autoScaleZeroPosition: m } = Vs({
1640
1643
  datapoint: e,
1641
1644
  totalSeries: t,
1642
1645
  gap: n,
@@ -1648,13 +1651,13 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1648
1651
  }), ne = e.series.map((t, n) => {
1649
1652
  let r = U.value.useIndividualScale ? (e.absoluteValues[n] + Math.abs(u)) / ee : Bo(t);
1650
1653
  return {
1651
- x: y(xs(n)),
1654
+ x: y(Ss(n)),
1652
1655
  y: y(Y.value?.bottom - d - f * r),
1653
1656
  value: e.absoluteValues[n],
1654
1657
  comment: e.comments && e.comments.slice(K.value.start, K.value.end)[n] || ""
1655
1658
  };
1656
1659
  }), re = e.absoluteValues.map((e) => l.min >= 0 ? (e - Math.abs(l.min)) / (l.max - Math.abs(l.min)) : (e + Math.abs(l.min)) / (l.max + Math.abs(l.min))), ie = e.series.map((t, n) => ({
1657
- x: y(xs(n)),
1660
+ x: y(Ss(n)),
1658
1661
  y: y(Y.value?.bottom - d - (f * re[n] || 0)),
1659
1662
  value: e.absoluteValues[n],
1660
1663
  comment: e.comments && e.comments.slice(K.value.start, K.value.end)[n] || ""
@@ -1674,7 +1677,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1674
1677
  datapoint: e
1675
1678
  };
1676
1679
  });
1677
- return Q.value[e.scaleLabel].name = e.name, Q.value[e.scaleLabel].groupName = e.scaleLabel, Q.value[e.scaleLabel].groupColor = H.value.chart.grid.labels.yAxis.groupColor || e.color, Q.value[e.scaleLabel].color = e.color, Q.value[e.scaleLabel].scaleYLabels = e.autoScaling ? oe : ae, Q.value[e.scaleLabel].zeroPosition = e.autoScaling ? m : p, Q.value[e.scaleLabel].individualMax = e.autoScaling ? te : ee, Q.value[e.scaleLabel].scaleLabel = e.scaleLabel, Q.value[e.scaleLabel].id = e.id, Q.value[e.scaleLabel].yOffset = d, Q.value[e.scaleLabel].individualHeight = f, Q.value[e.scaleLabel].autoScaleYLabels = oe, Q.value[e.scaleLabel].unique = Os.value.filter((t) => t.scaleLabel === e.scaleLabel).length === 1, {
1680
+ return Q.value[e.scaleLabel].name = e.name, Q.value[e.scaleLabel].groupName = e.scaleLabel, Q.value[e.scaleLabel].groupColor = H.value.chart.grid.labels.yAxis.groupColor || e.color, Q.value[e.scaleLabel].color = e.color, Q.value[e.scaleLabel].scaleYLabels = e.autoScaling ? oe : ae, Q.value[e.scaleLabel].zeroPosition = e.autoScaling ? m : p, Q.value[e.scaleLabel].individualMax = e.autoScaling ? te : ee, Q.value[e.scaleLabel].scaleLabel = e.scaleLabel, Q.value[e.scaleLabel].id = e.id, Q.value[e.scaleLabel].yOffset = d, Q.value[e.scaleLabel].individualHeight = f, Q.value[e.scaleLabel].autoScaleYLabels = oe, Q.value[e.scaleLabel].unique = ks.value.filter((t) => t.scaleLabel === e.scaleLabel).length === 1, {
1678
1681
  ...e,
1679
1682
  yOffset: d,
1680
1683
  autoScaleYLabels: oe,
@@ -1687,7 +1690,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1687
1690
  groupId: Q.value[e.scaleLabel].groupId
1688
1691
  };
1689
1692
  });
1690
- }), Us = x(() => {
1693
+ }), Ws = x(() => {
1691
1694
  let e = $.value.map((e) => ({
1692
1695
  name: e.name,
1693
1696
  color: e.color,
@@ -1700,7 +1703,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1700
1703
  yOffset: e.yOffset || 0,
1701
1704
  individualHeight: e.individualHeight || Y.value.height,
1702
1705
  autoScaleYLabels: e.autoScaleYLabels
1703
- })), t = Vs.value.map((e) => ({
1706
+ })), t = Hs.value.map((e) => ({
1704
1707
  name: e.name,
1705
1708
  color: e.color,
1706
1709
  scale: e.individualScale,
@@ -1711,7 +1714,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1711
1714
  id: e.id,
1712
1715
  yOffset: e.yOffset || 0,
1713
1716
  individualHeight: e.individualHeight || Y.value.height
1714
- })), n = Hs.value.map((e) => ({
1717
+ })), n = Us.value.map((e) => ({
1715
1718
  name: e.name,
1716
1719
  color: e.color,
1717
1720
  scale: e.individualScale,
@@ -1748,7 +1751,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1748
1751
  }))
1749
1752
  };
1750
1753
  });
1751
- }), Ws = x(() => {
1754
+ }), Gs = x(() => {
1752
1755
  let e = H.value.line.interLine || {}, t = e.pairs || [], n = e.colors || [];
1753
1756
  if (!t.length) return [];
1754
1757
  let r = [];
@@ -1774,69 +1777,69 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1774
1777
  });
1775
1778
  });
1776
1779
  }), r;
1777
- }), Gs = x(() => ({
1780
+ }), Ks = x(() => ({
1778
1781
  timeLabel: X.value[B.value],
1779
- datapoint: Is.value,
1782
+ datapoint: Ls.value,
1780
1783
  seriesIndex: B.value,
1781
1784
  series: Xa.value,
1782
- bars: Vs.value,
1785
+ bars: Hs.value,
1783
1786
  lines: $.value,
1784
- plots: Hs.value,
1787
+ plots: Us.value,
1785
1788
  config: H.value
1786
- })), Ks = O({
1789
+ })), qs = O({
1787
1790
  months: [],
1788
1791
  shortMonths: [],
1789
1792
  days: [],
1790
1793
  shortDays: []
1791
- }), qs = 0;
1794
+ }), Js = 0;
1792
1795
  ht(() => {
1793
- let e = ++qs, t = H.value.chart.grid.labels.xAxisLabels.datetimeFormatter;
1796
+ let e = ++Js, t = H.value.chart.grid.labels.xAxisLabels.datetimeFormatter;
1794
1797
  (async () => {
1795
1798
  let n = await ke(t.locale).catch(() => ke("en"));
1796
- e === qs && (Ks.value = n.data);
1799
+ e === Js && (qs.value = n.data);
1797
1800
  })();
1798
1801
  });
1799
- let Js = x(() => {
1802
+ let Ys = x(() => {
1800
1803
  let e = H.value.chart.grid.labels.xAxisLabels.datetimeFormatter, t = Oe({
1801
1804
  useUTC: e.useUTC,
1802
- locale: Ks.value,
1805
+ locale: qs.value,
1803
1806
  januaryAsYear: e.januaryAsYear
1804
1807
  });
1805
1808
  return (e, n) => {
1806
1809
  let r = H.value.chart.grid.labels.xAxisLabels.values?.[e];
1807
1810
  return r == null ? "" : t.formatDate(new Date(r), n);
1808
1811
  };
1809
- }), Ys = x(() => (H.value.chart.grid.labels.xAxisLabels.values || []).map((e, t) => ({
1810
- text: Js.value(t, H.value.chart.zoom.timeFormat),
1812
+ }), Xs = x(() => (H.value.chart.grid.labels.xAxisLabels.values || []).map((e, t) => ({
1813
+ text: Ys.value(t, H.value.chart.zoom.timeFormat),
1811
1814
  absoluteIndex: t
1812
- }))), Xs = x(() => {
1813
- let e = "", t = Is.value.map((e) => e.value).filter((e) => _e(e) && e !== null).reduce((e, t) => Math.abs(e) + Math.abs(t), 0), n = X.value[B.value], i = H.value.chart.tooltip.customFormat;
1815
+ }))), Zs = x(() => {
1816
+ let e = "", t = Ls.value.map((e) => e.value).filter((e) => _e(e) && e !== null).reduce((e, t) => Math.abs(e) + Math.abs(t), 0), n = X.value[B.value], i = H.value.chart.tooltip.customFormat;
1814
1817
  if (be(i) && ye(() => i({
1815
1818
  absoluteIndex: B.value + K.value.start,
1816
1819
  seriesIndex: B.value,
1817
- datapoint: Is.value,
1820
+ datapoint: Ls.value,
1818
1821
  series: Xa.value,
1819
- bars: Vs.value,
1822
+ bars: Hs.value,
1820
1823
  lines: $.value,
1821
- plots: Hs.value,
1824
+ plots: Us.value,
1822
1825
  config: H.value,
1823
1826
  dateLabel: n
1824
1827
  }))) return i({
1825
1828
  absoluteIndex: B.value + K.value.start,
1826
1829
  seriesIndex: B.value,
1827
- datapoint: Is.value,
1830
+ datapoint: Ls.value,
1828
1831
  series: Xa.value,
1829
- bars: Vs.value,
1832
+ bars: Hs.value,
1830
1833
  lines: $.value,
1831
- plots: Hs.value,
1834
+ plots: Us.value,
1832
1835
  config: H.value,
1833
1836
  dateLabel: n
1834
1837
  });
1835
1838
  if (n && n.text && H.value.chart.tooltip.showTimeLabel) {
1836
- let t = Js.value(B.value + K.value.start, H.value.chart.tooltip.timeFormat);
1839
+ let t = Ys.value(B.value + K.value.start, H.value.chart.tooltip.timeFormat);
1837
1840
  e += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${H.value.chart.tooltip.borderColor}; width:100%">${H.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !H.value.chart.tooltip.useDefaultTimeFormat ? t : n.text}</div>`;
1838
1841
  }
1839
- return Is.value.forEach((n) => {
1842
+ return Ls.value.forEach((n) => {
1840
1843
  if (_e(n.value)) {
1841
1844
  let i = "", o = "";
1842
1845
  switch (Pi.value[n.type]) {
@@ -1995,7 +1998,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
1995
1998
  })})` : ""}</div>`, H.value.chart.comments.showInTooltip && n.comments.length && n.comments.slice(K.value.start, K.value.end)[B.value] && (e += `<div class="vue-data-ui-tooltip-comment" style="background:${n.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${n.color}">${n.comments.slice(K.value.start, K.value.end)[B.value]}</div>`);
1996
1999
  }
1997
2000
  }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${H.value.chart.tooltip.color}">${e}</div>`;
1998
- }), Zs = x(() => {
2001
+ }), Qs = x(() => {
1999
2002
  if (Ya.value.length === 0) return {
2000
2003
  head: [],
2001
2004
  body: [],
@@ -2008,7 +2011,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2008
2011
  type: e.type
2009
2012
  })), t = [];
2010
2013
  return X.value.forEach((e, n) => {
2011
- let r = H.value.table.useDefaultTimeFormat ? [e.text] : [Js.value(n + K.value.start, H.value.table.timeFormat)];
2014
+ let r = H.value.table.useDefaultTimeFormat ? [e.text] : [Ys.value(n + K.value.start, H.value.table.timeFormat)];
2012
2015
  Za.value.forEach((e) => {
2013
2016
  r.push(Ro(e.absoluteValues[n]) ? Number(e.absoluteValues[n].toFixed(H.value.table.rounding)) : "");
2014
2017
  }), t.push(r);
@@ -2016,13 +2019,13 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2016
2019
  head: e,
2017
2020
  body: t
2018
2021
  };
2019
- }), Qs = x(() => {
2022
+ }), $s = x(() => {
2020
2023
  let e = H.value.table.showSum, t = [""].concat(Za.value.map((e) => e.name));
2021
2024
  e && (t = t.concat(" <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2\" /></svg>"));
2022
2025
  let n = [];
2023
2026
  for (let t = 0; t < Z.value; t += 1) {
2024
2027
  let r = Za.value.map((e) => e.absoluteValues[t] ?? 0).reduce((e, t) => e + t, 0);
2025
- n.push([H.value.table.useDefaultTimeFormat ? X.value[t]?.text ?? "-" : Js.value(t + K.value.start, H.value.table.timeFormat)].concat(Za.value.map((e) => fe(e.type === "line" ? H.value.line.labels.formatter : e.type === "bar" ? H.value.bar.labels.formatter : H.value.plot.labels.formatter, e.absoluteValues[t] ?? 0, a({
2028
+ n.push([H.value.table.useDefaultTimeFormat ? X.value[t]?.text ?? "-" : Ys.value(t + K.value.start, H.value.table.timeFormat)].concat(Za.value.map((e) => fe(e.type === "line" ? H.value.line.labels.formatter : e.type === "bar" ? H.value.bar.labels.formatter : H.value.plot.labels.formatter, e.absoluteValues[t] ?? 0, a({
2026
2029
  p: e.prefix || H.value.chart.labels.prefix,
2027
2030
  v: e.absoluteValues[t] ?? 0,
2028
2031
  s: e.suffix || H.value.chart.labels.suffix,
@@ -2049,18 +2052,18 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2049
2052
  colNames: i
2050
2053
  };
2051
2054
  });
2052
- function $s(e = null) {
2055
+ function ec(e = null) {
2053
2056
  let t = [
2054
2057
  [H.value.chart.title.text],
2055
2058
  [H.value.chart.title.subtitle.text],
2056
2059
  [""]
2057
- ], n = ["", ...Zs.value.head.map((e) => e.label)], r = Zs.value.body, i = ie(t.concat([n]).concat(r));
2060
+ ], n = ["", ...Qs.value.head.map((e) => e.label)], r = Qs.value.body, i = ie(t.concat([n]).concat(r));
2058
2061
  e ? e(i) : l({
2059
2062
  csvContent: i,
2060
2063
  title: H.value.chart.title.text || "vue-ui-xy"
2061
2064
  });
2062
2065
  }
2063
- function ec(e, t = null) {
2066
+ function tc(e, t = null) {
2064
2067
  if (Qa.value) return;
2065
2068
  Li.value = e;
2066
2069
  let n = Za.value.map((e) => ({
@@ -2081,19 +2084,19 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2081
2084
  seriesIndex: t + K.value.start
2082
2085
  }));
2083
2086
  }
2084
- function tc() {
2087
+ function nc() {
2085
2088
  U.value.showTable = !U.value.showTable;
2086
2089
  }
2087
- function nc() {
2090
+ function rc() {
2088
2091
  U.value.dataLabels.show = !U.value.dataLabels.show;
2089
2092
  }
2090
- function rc() {
2093
+ function ic() {
2091
2094
  U.value.showTooltip = !U.value.showTooltip;
2092
2095
  }
2093
- function ic(e) {
2096
+ function ac(e) {
2094
2097
  Ii.value = e, zi.value += 1;
2095
2098
  }
2096
- function ac() {
2099
+ function oc() {
2097
2100
  if (!H.value.responsiveProportionalSizing) {
2098
2101
  V.value.dataLabels = H.value.chart.grid.labels.fontSize, V.value.yAxis = H.value.chart.grid.labels.axis.fontSize, V.value.xAxis = H.value.chart.grid.labels.xAxisLabels.fontSize, V.value.plotLabels = H.value.chart.labels.fontSize, ha.value.plot = H.value.plot.radius, ha.value.line = H.value.line.radius;
2099
2102
  return;
@@ -2136,7 +2139,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2136
2139
  fallback: 1
2137
2140
  });
2138
2141
  }
2139
- function oc() {
2142
+ function sc() {
2140
2143
  if (ae(N.dataset) ? (se({
2141
2144
  componentName: "VueUiXy",
2142
2145
  type: "dataset",
@@ -2165,26 +2168,26 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2165
2168
  let l = 0;
2166
2169
  yi.value && (l = yi.value.getBoundingClientRect().height);
2167
2170
  let u = 0;
2168
- bi.value && (u = bi.value.getBoundingClientRect().height), ji.value = t - i - c - o - l - u - 12, F.value = n, Mi.value = `0 0 ${F.value < 0 ? 10 : F.value} ${ji.value < 0 ? 10 : ji.value}`, ac();
2171
+ bi.value && (u = bi.value.getBoundingClientRect().height), ji.value = t - i - c - o - l - u - 12, F.value = n, Mi.value = `0 0 ${F.value < 0 ? 10 : F.value} ${ji.value < 0 ? 10 : ji.value}`, oc();
2169
2172
  let ee = new ResizeObserver((e) => {
2170
2173
  for (let t of e) i = H.value.chart.title.show && gi.value ? gi.value.getBoundingClientRect().height : 0, o = _i.value && _i.value.$el ? _i.value.$el.getBoundingClientRect().height : 0, c = vi.value ? vi.value.getBoundingClientRect().height : 0, l = yi.value ? yi.value.getBoundingClientRect().height : 0, u = bi.value ? bi.value.getBoundingClientRect().height : 0, requestAnimationFrame(() => {
2171
- ji.value = t.contentRect.height - i - c - o - l - u - 12, F.value = t.contentBoxSize[0].inlineSize ?? t.contentRect.width, Mi.value = `0 0 ${F.value < 0 ? 10 : F.value} ${ji.value < 0 ? 10 : ji.value}`, ac(), oa(), ca();
2174
+ ji.value = t.contentRect.height - i - c - o - l - u - 12, F.value = t.contentBoxSize[0].inlineSize ?? t.contentRect.width, Mi.value = `0 0 ${F.value < 0 ? 10 : F.value} ${ji.value < 0 ? 10 : ji.value}`, oc(), oa(), ca();
2172
2175
  });
2173
2176
  });
2174
2177
  Di.value = ee, Oi.value = e, ee.observe(e);
2175
2178
  } else ji.value = H.value.chart.height, F.value = H.value.chart.width, V.value.dataLabels = H.value.chart.grid.labels.fontSize, V.value.yAxis = H.value.chart.grid.labels.axis.fontSize, V.value.xAxis = H.value.chart.grid.labels.xAxisLabels.fontSize, V.value.plotLabels = H.value.chart.labels.fontSize, ha.value.plot = H.value.plot.radius, ha.value.line = H.value.line.radius, Mi.value = `0 0 ${F.value} ${ji.value}`;
2176
2179
  oa(), ca();
2177
2180
  }
2178
- function sc(e) {
2181
+ function cc(e) {
2179
2182
  Ni.value = {
2180
2183
  x: e.clientX,
2181
2184
  y: e.clientY
2182
2185
  };
2183
2186
  }
2184
2187
  st(() => {
2185
- oc(), No(), document.addEventListener("mousemove", sc, { passive: !0 }), document.addEventListener("scroll", uo, { passive: !0 });
2188
+ sc(), No(), document.addEventListener("mousemove", cc, { passive: !0 }), document.addEventListener("scroll", uo, { passive: !0 });
2186
2189
  }), ot(() => {
2187
- document.removeEventListener("scroll", uo, { passive: !0 }), document.removeEventListener("mousemove", sc, { passive: !0 }), Di.value &&= (Di.value.unobserve(Oi.value), Di.value.disconnect(), null);
2190
+ document.removeEventListener("scroll", uo, { passive: !0 }), document.removeEventListener("mousemove", cc, { passive: !0 }), Di.value &&= (Di.value.unobserve(Oi.value), Di.value.disconnect(), null);
2188
2191
  }), ze({
2189
2192
  timeLabelsEls: wi,
2190
2193
  timeLabels: X,
@@ -2210,25 +2213,25 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2210
2213
  width: F,
2211
2214
  rotation: H.value.chart.grid.labels.xAxisLabels.autoRotate.angle
2212
2215
  });
2213
- let cc = O(!1), lc = O(null), uc = O(200), dc = x(() => B.value ?? R.value ?? 0);
2214
- function fc() {
2215
- let e = Math.ceil(uc.value || 200);
2216
+ let lc = O(!1), uc = O(null), dc = O(200), fc = x(() => B.value ?? R.value ?? 0);
2217
+ function pc() {
2218
+ let e = Math.ceil(dc.value || 200);
2216
2219
  return Math.min(Math.max(e, 1), 200);
2217
2220
  }
2218
- function pc() {
2219
- let e = fc(), t = xs(dc.value) - e / 2 - (200 - e) / 2, n = Y.value?.left - (200 - e) / 2, r = Y.value?.right - (200 + e) / 2;
2221
+ function mc() {
2222
+ let e = pc(), t = Ss(fc.value) - e / 2 - (200 - e) / 2, n = Y.value?.left - (200 - e) / 2, r = Y.value?.right - (200 + e) / 2;
2220
2223
  return y(Math.max(n, Math.min(t, r)));
2221
2224
  }
2222
2225
  st(() => {
2223
2226
  let e = null, t = null, n = (e) => {
2224
2227
  cancelAnimationFrame(t), t = requestAnimationFrame(() => {
2225
- uc.value = Math.min(Math.max(Math.ceil(e || 0), 1), 200);
2228
+ dc.value = Math.min(Math.max(Math.ceil(e || 0), 1), 200);
2226
2229
  });
2227
2230
  }, r = new ResizeObserver((t) => {
2228
2231
  let r = t.find((t) => t.target === e) || t[0];
2229
2232
  r && n(r.contentRect.width || 200);
2230
2233
  }), i = ht((t) => {
2231
- let i = lc.value;
2234
+ let i = uc.value;
2232
2235
  e && e !== i && (r.unobserve(e), e = null), i && i !== e && (rt(() => {
2233
2236
  i.offsetParent !== null && n(i.offsetWidth || i.getBoundingClientRect().width || 200);
2234
2237
  }), r.observe(i), e = i), t(() => {
@@ -2241,26 +2244,26 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2241
2244
  } catch {}
2242
2245
  });
2243
2246
  });
2244
- let mc = x(() => {
2247
+ let hc = x(() => {
2245
2248
  if ([null, void 0].includes(B.value) && [null, void 0].includes(R.value)) return "";
2246
2249
  let e = (B.value == null ? 0 : B.value) || (R.value == null ? 0 : R.value), t = H.value.chart.timeTag.customFormat;
2247
- if (cc.value = !1, be(t)) try {
2250
+ if (lc.value = !1, be(t)) try {
2248
2251
  let n = t({
2249
2252
  absoluteIndex: e + K.value.start,
2250
2253
  seriesIndex: e,
2251
- datapoint: Is.value,
2252
- bars: Vs.value,
2254
+ datapoint: Ls.value,
2255
+ bars: Hs.value,
2253
2256
  lines: $.value,
2254
- plots: Hs.value,
2257
+ plots: Us.value,
2255
2258
  config: H.value
2256
2259
  });
2257
- if (typeof n == "string") return cc.value = !0, n;
2260
+ if (typeof n == "string") return lc.value = !0, n;
2258
2261
  } catch {
2259
- console.warn("Custom format cannot be applied on timeTag."), cc.value = !1;
2262
+ console.warn("Custom format cannot be applied on timeTag."), lc.value = !1;
2260
2263
  }
2261
- if (!cc.value) return [null, void 0].includes(X.value[e]) ? "" : H.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !H.value.chart.timeTag.useDefaultFormat ? Js.value(e + K.value.start, H.value.chart.timeTag.timeFormat) : X.value[e].text;
2264
+ if (!lc.value) return [null, void 0].includes(X.value[e]) ? "" : H.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !H.value.chart.timeTag.useDefaultFormat ? Ys.value(e + K.value.start, H.value.chart.timeTag.timeFormat) : X.value[e].text;
2262
2265
  });
2263
- function hc({ serie: e, plot: t, type: r }) {
2266
+ function gc({ serie: e, plot: t, type: r }) {
2264
2267
  return Ro(t.value) ? n({
2265
2268
  content: fe(H.value[r].labels.formatter, t.value, a({
2266
2269
  p: e.prefix || H.value.chart.labels.prefix,
@@ -2277,21 +2280,21 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2277
2280
  y: 0
2278
2281
  }) : "";
2279
2282
  }
2280
- function gc({ plot: e }) {
2283
+ function _c({ plot: e }) {
2281
2284
  let t = H.value.bar.labels.offsetY, n = Math.abs(Go(e)), r = e.value < 0, i = {
2282
- x: (U.value.useIndividualScale && U.value.isStacked ? e.x + Ko.value.line / 2 : Jo(e) + qo() / 2 - js.value / 2) + H.value.bar.labels.offsetX,
2285
+ x: (U.value.useIndividualScale && U.value.isStacked ? e.x + Ko.value.line / 2 : Jo(e) + qo() / 2 - Ms.value / 2) + H.value.bar.labels.offsetX,
2283
2286
  y: y(e.y) + (H.value.bar.labels.alwaysOnTop ? t - (r ? n : 0) : e.value >= 0 ? t : -t * 3)
2284
2287
  };
2285
2288
  return `translate(${i.x}, ${i.y}) rotate(${H.value.bar.labels.rotation})`;
2286
2289
  }
2287
- function _c({ plot: e, type: t }) {
2290
+ function vc({ plot: e, type: t }) {
2288
2291
  let n = H.value[t].labels.offsetY, r = {
2289
2292
  x: e.x + H.value[t].labels.offsetX,
2290
2293
  y: y(e.y) + (H.value[t].labels.alwaysOnTop || e.value >= 0 ? n : -n * 3)
2291
2294
  };
2292
2295
  return `translate(${r.x}, ${r.y}) rotate(${H.value[t].labels.rotation})`;
2293
2296
  }
2294
- function vc({ plot: e, type: t }) {
2297
+ function yc({ plot: e, type: t }) {
2295
2298
  if (H.value[t].labels.textAnchor != null) return H.value[t].labels.textAnchor;
2296
2299
  let n = e.value >= 0;
2297
2300
  return H.value[t].labels.rotation === 0 ? "middle" : H.value[t].labels.alwaysOnTop || n ? "start" : "end";
@@ -2318,28 +2321,28 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2318
2321
  };
2319
2322
  ki.value += 1, Ui.value += 1, oa(), ca(), Ma();
2320
2323
  }, { deep: !0 }), mt(() => N.config, (e) => {
2321
- wa.value || (H.value = ga()), oc(), Vi.value += 1, Bi.value += 1, ba(), oa(), ca(), H.value.chart.zoom.keepState && (G.value = Math.max(0, ...W.value.map((e) => Oa(e.series).length)), G.value > 0 && (!ko.value || K.value.start === 0 && K.value.end === 0) && No()), Ma();
2324
+ wa.value || (H.value = ga()), sc(), Vi.value += 1, Bi.value += 1, ba(), oa(), ca(), H.value.chart.zoom.keepState && (G.value = Math.max(0, ...W.value.map((e) => Oa(e.series).length)), G.value > 0 && (!ko.value || K.value.start === 0 && K.value.end === 0) && No()), Ma();
2322
2325
  }, { deep: !0 });
2323
- let yc = O(!1);
2324
- function bc() {
2326
+ let bc = O(!1);
2327
+ function xc() {
2325
2328
  let e = hi.value?.parentNode;
2326
2329
  if (!e) {
2327
- yc.value = !1;
2330
+ bc.value = !1;
2328
2331
  return;
2329
2332
  }
2330
2333
  let t = e.getBoundingClientRect();
2331
- yc.value = t.width > 2 && t.height > 2;
2334
+ bc.value = t.width > 2 && t.height > 2;
2332
2335
  }
2333
2336
  st(() => {
2334
- bc();
2337
+ xc();
2335
2338
  let e = new ResizeObserver(() => {
2336
- bc(), yc.value && (oc(), Ma(), H.value.chart.zoom.keepState || No());
2339
+ xc(), bc.value && (sc(), Ma(), H.value.chart.zoom.keepState || No());
2337
2340
  });
2338
2341
  hi.value?.parentNode && e.observe(hi.value.parentNode);
2339
2342
  }), mt(H, () => {
2340
2343
  ba();
2341
2344
  }, { immediate: !0 });
2342
- let xc = x(() => {
2345
+ let Sc = x(() => {
2343
2346
  let e = H.value.table.useDialog && !H.value.showTable, t = U.value.showTable;
2344
2347
  return {
2345
2348
  component: e ? ci : Ke,
@@ -2372,37 +2375,37 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2372
2375
  mt(() => U.value.showTable, (e) => {
2373
2376
  H.value.showTable || (e && H.value.table.useDialog && Xi.value ? Xi.value.open() : Xi.value && Xi.value.close && Xi.value.close());
2374
2377
  });
2375
- function Sc() {
2378
+ function Cc() {
2376
2379
  U.value.showTable = !1, Ei.value && Ei.value.setTableIconState(!1);
2377
2380
  }
2378
- let Cc = x(() => Xa.value.map((e) => ({
2381
+ let wc = x(() => Xa.value.map((e) => ({
2379
2382
  shape: e.type === "bar" ? "square" : e.shape ?? "circle",
2380
2383
  color: e.color,
2381
2384
  name: e.name
2382
- }))), wc = x(() => H.value.chart.backgroundColor), Tc = x(() => H.value.chart.legend), { exportSvg: Ec, getSvg: Dc } = Fe({
2385
+ }))), Tc = x(() => H.value.chart.backgroundColor), Ec = x(() => H.value.chart.legend), { exportSvg: Dc, getSvg: Oc } = Fe({
2383
2386
  svg: z,
2384
2387
  title: x(() => H.value.chart.title),
2385
- legend: Tc,
2386
- legendItems: Cc,
2387
- backgroundColor: wc
2388
+ legend: Ec,
2389
+ legendItems: wc,
2390
+ backgroundColor: Tc
2388
2391
  });
2389
- async function Oc({ isCb: e }) {
2392
+ async function kc({ isCb: e }) {
2390
2393
  Qi.value = !0, await rt();
2391
2394
  try {
2392
2395
  if (e) {
2393
- let { blob: e, url: t, text: n, dataUrl: r } = await Dc();
2396
+ let { blob: e, url: t, text: n, dataUrl: r } = await Oc();
2394
2397
  await Promise.resolve(H.value.chart.userOptions.callbacks.svg({
2395
2398
  blob: e,
2396
2399
  url: t,
2397
2400
  text: n,
2398
2401
  dataUrl: r
2399
2402
  }));
2400
- } else await Promise.resolve(Ec());
2403
+ } else await Promise.resolve(Dc());
2401
2404
  } finally {
2402
2405
  Qi.value = !1;
2403
2406
  }
2404
2407
  }
2405
- function kc(e) {
2408
+ function Ac(e) {
2406
2409
  if (e?.stage === "start") {
2407
2410
  Zi.value = !0;
2408
2411
  return;
@@ -2413,7 +2416,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2413
2416
  }
2414
2417
  La();
2415
2418
  }
2416
- async function Ac() {
2419
+ async function jc() {
2417
2420
  if (li("copyAlt", {
2418
2421
  config: {
2419
2422
  ...H.value,
@@ -2421,8 +2424,8 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2421
2424
  },
2422
2425
  dataset: {
2423
2426
  lines: $.value,
2424
- bars: Vs.value,
2425
- plots: Hs.value
2427
+ bars: Hs.value,
2428
+ plots: Us.value
2426
2429
  }
2427
2430
  }), !H.value.chart.userOptions.callbacks.altCopy) {
2428
2431
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
@@ -2435,19 +2438,19 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2435
2438
  },
2436
2439
  dataset: {
2437
2440
  lines: $.value,
2438
- bars: Vs.value,
2439
- plots: Hs.value
2441
+ bars: Hs.value,
2442
+ plots: Us.value
2440
2443
  }
2441
2444
  }));
2442
2445
  }
2443
- let jc = O(!1);
2444
- function Mc() {
2445
- K.value.end > K.value.start && ($i.value = null), po.value = !0, jc.value = !0;
2446
- }
2446
+ let Mc = O(!1);
2447
2447
  function Nc() {
2448
- $i.value = null, ts(), jc.value = !1, po.value = !1;
2448
+ K.value.end > K.value.start && ($i.value = null), po.value = !0, Mc.value = !0;
2449
+ }
2450
+ function Pc() {
2451
+ $i.value = null, ts(), Mc.value = !1, po.value = !1;
2449
2452
  }
2450
- function Pc(e) {
2453
+ function Fc(e) {
2451
2454
  if (!z.value || Fi.value || document.activeElement !== z.value) return;
2452
2455
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight";
2453
2456
  if (!t && !n || !K.value.end && K.value.end !== 0) return;
@@ -2455,19 +2458,19 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2455
2458
  if (r <= 0) return;
2456
2459
  e.preventDefault(), e.stopPropagation();
2457
2460
  let i = $i.value, a = Zo.value;
2458
- i !== null && i >= 0 && i < r ? n ? (i += 1, i >= r && (i = 0)) : t && (--i, i < 0 && (i = r - 1)) : a !== null && a >= 0 && a < r ? (i = n ? a + 1 : a - 1, i >= r && (i = 0), i < 0 && (i = r - 1)) : i = n ? 0 : r - 1, $i.value = i, Fc(i), ec(!0, i);
2461
+ i !== null && i >= 0 && i < r ? n ? (i += 1, i >= r && (i = 0)) : t && (--i, i < 0 && (i = r - 1)) : a !== null && a >= 0 && a < r ? (i = n ? a + 1 : a - 1, i >= r && (i = 0), i < 0 && (i = r - 1)) : i = n ? 0 : r - 1, $i.value = i, Ic(i), tc(!0, i);
2459
2462
  }
2460
- function Fc(e) {
2463
+ function Ic(e) {
2461
2464
  let t = K.value.end - K.value.start;
2462
2465
  if (t <= 0) return;
2463
2466
  let n = Y.value.width / t, r = c(Y.value.left + n * e + n / 2, Y.value.top + Y.value.height / 2, z.value);
2464
2467
  r && (ea.value = r);
2465
2468
  }
2466
- let Ic = x(() => {
2467
- if (!Qs.value) return null;
2469
+ let Lc = x(() => {
2470
+ if (!$s.value) return null;
2468
2471
  let e = H.value.table.showSum, t = [H.value.table.columnNames.period].concat(Za.value.map((e) => e.name));
2469
2472
  e && (t = t.concat(H.value.table.columnNames.total));
2470
- let n = Qs.value.body.slice(K.value.start, K.value.end);
2473
+ let n = $s.value.body.slice(K.value.start, K.value.end);
2471
2474
  return {
2472
2475
  headers: t,
2473
2476
  rows: n
@@ -2478,17 +2481,17 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2478
2481
  getImage: as,
2479
2482
  generatePdf: Ia,
2480
2483
  generateImage: La,
2481
- generateSvg: Oc,
2482
- generateCsv: $s,
2483
- hideSeries: ds,
2484
- showSeries: us,
2484
+ generateSvg: kc,
2485
+ generateCsv: ec,
2486
+ hideSeries: fs,
2487
+ showSeries: ds,
2485
2488
  toggleStack: wo,
2486
- toggleTable: tc,
2487
- toggleLabels: nc,
2488
- toggleTooltip: rc,
2489
+ toggleTable: nc,
2490
+ toggleLabels: rc,
2491
+ toggleTooltip: ic,
2489
2492
  toggleAnnotator: ho,
2490
- toggleFullscreen: ic,
2491
- copyAlt: Ac,
2493
+ toggleFullscreen: ac,
2494
+ copyAlt: jc,
2492
2495
  resetZoom: Lo
2493
2496
  }), (r, i) => (D(), C("div", {
2494
2497
  id: `vue-ui-xy_${L.value}`,
@@ -2504,11 +2507,11 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2504
2507
  id: `chart-instructions-${L.value}`,
2505
2508
  class: "sr-only"
2506
2509
  }, [w("p", null, ut(H.value.a11y.translations.keyboardNavigation), 1)], 8, yt),
2507
- Ic.value?.rows?.length ? (D(), Xe(Je, {
2510
+ Lc.value?.rows?.length ? (D(), Xe(Je, {
2508
2511
  key: 0,
2509
2512
  uid: L.value,
2510
- head: Ic.value.headers,
2511
- body: Ic.value.rows,
2513
+ head: Lc.value.headers,
2514
+ body: Lc.value.rows,
2512
2515
  notice: H.value.a11y.translations.tableAvailable,
2513
2516
  caption: H.value.a11y.translations.tableCaption
2514
2517
  }, null, 8, [
@@ -2541,7 +2544,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2541
2544
  "active",
2542
2545
  "isCursorPointer"
2543
2546
  ])) : S("", !0),
2544
- ms.value ? (D(), C("div", {
2547
+ hs.value ? (D(), C("div", {
2545
2548
  key: 2,
2546
2549
  ref_key: "noTitle",
2547
2550
  ref: bi,
@@ -2599,17 +2602,17 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2599
2602
  tableDialog: H.value.table.useDialog,
2600
2603
  printScale: H.value.chart.userOptions.print.scale,
2601
2604
  isCursorPointer: ya.value,
2602
- onToggleFullscreen: ic,
2605
+ onToggleFullscreen: ac,
2603
2606
  onGeneratePdf: j(Ia),
2604
- onGenerateCsv: $s,
2605
- onGenerateImage: kc,
2606
- onGenerateSvg: Oc,
2607
- onToggleTable: tc,
2608
- onToggleLabels: nc,
2607
+ onGenerateCsv: ec,
2608
+ onGenerateImage: Ac,
2609
+ onGenerateSvg: kc,
2610
+ onToggleTable: nc,
2611
+ onToggleLabels: rc,
2609
2612
  onToggleStack: wo,
2610
- onToggleTooltip: rc,
2613
+ onToggleTooltip: ic,
2611
2614
  onToggleAnnotator: ho,
2612
- onCopyAlt: Ac,
2615
+ onCopyAlt: jc,
2613
2616
  style: E({ visibility: Gi.value ? Ki.value ? "visible" : "hidden" : "visible" })
2614
2617
  }, Ze({ _: 2 }, [
2615
2618
  r.$slots.menuIcon ? {
@@ -2707,7 +2710,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2707
2710
  color: H.value.chart.color,
2708
2711
  fontFamily: H.value.chart.fontFamily
2709
2712
  }),
2710
- "aria-label": fs.value,
2713
+ "aria-label": ps.value,
2711
2714
  "aria-describedby": `chart-instructions-${L.value}`,
2712
2715
  "aria-live": "polite",
2713
2716
  role: "img",
@@ -2716,9 +2719,9 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2716
2719
  onMousemove: es,
2717
2720
  onMouseleave: ts,
2718
2721
  onClick: ns,
2719
- onFocus: Mc,
2720
- onBlur: Nc,
2721
- onKeydown: Pc
2722
+ onFocus: Nc,
2723
+ onBlur: Pc,
2724
+ onKeydown: Fc
2722
2725
  }, [w("g", {
2723
2726
  ref_key: "G",
2724
2727
  ref: xi,
@@ -2746,7 +2749,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2746
2749
  "stroke-linecap": "round",
2747
2750
  style: { animation: "none !important" }
2748
2751
  }, null, 8, Et)) : S("", !0),
2749
- U.value.useIndividualScale ? H.value.chart.grid.showHorizontalLines ? (D(!0), C(b, { key: 2 }, k(Us.value, (e) => (D(), C("g", null, [e.id === P.value && e.yLabels.length ? (D(!0), C(b, { key: 0 }, k(e.yLabels, (t) => (D(), C("line", {
2752
+ U.value.useIndividualScale ? H.value.chart.grid.showHorizontalLines ? (D(!0), C(b, { key: 2 }, k(Ws.value, (e) => (D(), C("g", null, [e.id === P.value && e.yLabels.length ? (D(!0), C(b, { key: 0 }, k(e.yLabels, (t) => (D(), C("line", {
2750
2753
  x1: Y.value?.left,
2751
2754
  x2: Y.value?.right,
2752
2755
  y1: j(v)(t.y),
@@ -2775,7 +2778,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2775
2778
  y2: j(v)(Y.value?.bottom),
2776
2779
  "stroke-linecap": "round",
2777
2780
  style: { animation: "none !important" }
2778
- }, null, 8, Dt)) : S("", !0), H.value.chart.grid.showHorizontalLines ? (D(), C("g", Ot, [(D(!0), C(b, null, k(Ls.value, (e) => (D(), C("line", {
2781
+ }, null, 8, Dt)) : S("", !0), H.value.chart.grid.showHorizontalLines ? (D(), C("g", Ot, [(D(!0), C(b, null, k(Rs.value, (e) => (D(), C("line", {
2779
2782
  x1: Y.value?.left,
2780
2783
  x2: Y.value?.right,
2781
2784
  y1: j(v)(e.y),
@@ -2800,7 +2803,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2800
2803
  style: { animation: "none !important" }
2801
2804
  }, null, 8, Ft)])) : S("", !0)
2802
2805
  ]),
2803
- (D(!0), C(b, null, k(Vs.value, (e, t) => (D(), C("defs", { key: `def_rect_${t}` }, [r.$slots["bar-gradient"] ? A(r.$slots, "bar-gradient", nt({
2806
+ (D(!0), C(b, null, k(Hs.value, (e, t) => (D(), C("defs", { key: `def_rect_${t}` }, [r.$slots["bar-gradient"] ? A(r.$slots, "bar-gradient", nt({
2804
2807
  key: 0,
2805
2808
  ref_for: !0
2806
2809
  }, {
@@ -2842,7 +2845,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2842
2845
  "stop-color": e.color
2843
2846
  }, null, 8, Ut)
2844
2847
  ], 8, Bt)], 64))]))), 128)),
2845
- (D(!0), C(b, null, k(Hs.value, (e, t) => (D(), C("defs", { key: `def_plot_${t}` }, [w("radialGradient", {
2848
+ (D(!0), C(b, null, k(Us.value, (e, t) => (D(), C("defs", { key: `def_plot_${t}` }, [w("radialGradient", {
2846
2849
  id: `plotGradient_${t}_${L.value}`,
2847
2850
  cx: "50%",
2848
2851
  cy: "50%",
@@ -2896,32 +2899,32 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2896
2899
  "stop-color": r,
2897
2900
  offset: j(t)(i, e.temperatureColors.length)
2898
2901
  }, null, 8, tn))), 128))], 8, en)])) : S("", !0)], 64))), 128)),
2899
- (D(!0), C(b, null, k(hs.value, (e) => (D(), C("g", null, [e.show ? (D(), C(b, { key: 0 }, [(D(!0), C(b, null, k(e.span, (t, n) => (D(), C("g", null, [w("rect", {
2902
+ (D(!0), C(b, null, k(gs.value, (e) => (D(), C("g", null, [e.show ? (D(), C(b, { key: 0 }, [(D(!0), C(b, null, k(e.span, (t, n) => (D(), C("g", null, [w("rect", {
2900
2903
  style: E({
2901
2904
  transition: "none",
2902
2905
  opacity: +(e.from + n >= K.value.start && e.from + n <= K.value.end - 1)
2903
2906
  }),
2904
- x: Cs(e.from + n - K.value.start),
2907
+ x: ws(e.from + n - K.value.start),
2905
2908
  y: Y.value?.top,
2906
2909
  height: Y.value.height < 0 ? 10 : Y.value.height,
2907
- width: ws(e.from + n - K.value.start),
2910
+ width: Ts(e.from + n - K.value.start),
2908
2911
  fill: j(me)(e.color, e.opacity)
2909
2912
  }, null, 12, nn)]))), 256)), (D(!0), C(b, null, k(e.span, (t, n) => (D(), C("g", null, [e.caption.text && n === 0 ? (D(), C("foreignObject", {
2910
2913
  key: 0,
2911
- x: Cs(e.from + n - K.value.start) - (e.caption.width === "auto" ? 0 : e.caption.width / 2 - Ds(e.span) / 2),
2914
+ x: ws(e.from + n - K.value.start) - (e.caption.width === "auto" ? 0 : e.caption.width / 2 - Os(e.span) / 2),
2912
2915
  y: Y.value?.top + e.caption.offsetY,
2913
2916
  style: E({
2914
2917
  overflow: "visible",
2915
2918
  opacity: +(e.to >= K.value.start && e.from < K.value.end)
2916
2919
  }),
2917
2920
  height: "1",
2918
- width: e.caption.width === "auto" ? Ds(e.span) : e.caption.width
2921
+ width: e.caption.width === "auto" ? Os(e.span) : e.caption.width
2919
2922
  }, [w("div", { style: E(`padding:${e.caption.padding}px;text-align:${e.caption.textAlign};font-size:${e.caption.fontSize}px;color:${e.caption.color};font-weight:${e.caption.bold ? "bold" : "normal"}`) }, ut(e.caption.text), 5)], 12, rn)) : S("", !0)]))), 256))], 64)) : S("", !0)]))), 256)),
2920
2923
  po.value ? (D(), C("g", an, [(D(!0), C(b, null, k(Z.value, (e, t) => (D(), C("g", { key: `tooltip_trap_highlighter_${t}` }, [w("rect", {
2921
- x: Cs(t),
2924
+ x: ws(t),
2922
2925
  y: Y.value?.top,
2923
2926
  height: Y.value.height < 0 ? 10 : Y.value.height,
2924
- width: Es(t),
2927
+ width: Ds(t),
2925
2928
  fill: [
2926
2929
  R.value,
2927
2930
  B.value,
@@ -2932,17 +2935,17 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2932
2935
  animation: "none !important"
2933
2936
  }
2934
2937
  }, null, 8, on)]))), 128))])) : S("", !0),
2935
- Vs.value.length ? (D(!0), C(b, { key: 1 }, k(Vs.value, (e, t) => (D(), C("g", {
2938
+ Hs.value.length ? (D(!0), C(b, { key: 1 }, k(Hs.value, (e, t) => (D(), C("g", {
2936
2939
  key: `serie_bar_${e.id}`,
2937
2940
  class: it(`serie_bar_${t}`),
2938
2941
  style: E(`opacity:${P.value ? P.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
2939
2942
  }, [(D(!0), C(b, null, k(e.plots, (n, i) => (D(), C("g", { key: `bar_plot_${t}_${i}` }, [
2940
2943
  Ro(n.value) ? (D(), C("rect", {
2941
2944
  key: 0,
2942
- x: Jo(n) + Ns.value / 2,
2945
+ x: Jo(n) + Ps.value / 2,
2943
2946
  y: U.value.useIndividualScale ? Xo(n) : Yo(n),
2944
2947
  height: U.value.useIndividualScale ? Math.abs(Go(n)) : Math.abs(Wo(n)),
2945
- width: Ms.value - Ns.value,
2948
+ width: Ns.value - Ps.value,
2946
2949
  rx: H.value.bar.borderRadius,
2947
2950
  fill: H.value.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${t}_${L.value})` : `url(#rectGradient_neg_${t}_${L.value})` : e.color,
2948
2951
  stroke: H.value.bar.border.useSerieColor ? e.color : H.value.bar.border.stroke,
@@ -2951,10 +2954,10 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2951
2954
  }, null, 12, sn)) : S("", !0),
2952
2955
  Ro(n.value) && r.$slots.pattern ? (D(), C("rect", {
2953
2956
  key: 1,
2954
- x: Jo(n) - Ns.value / 2,
2957
+ x: Jo(n) - Ps.value / 2,
2955
2958
  y: U.value.useIndividualScale ? Xo(n) : Yo(n),
2956
2959
  height: U.value.useIndividualScale ? Math.abs(Go(n)) : Math.abs(Wo(n)),
2957
- width: Ms.value - Ns.value,
2960
+ width: Ns.value - Ps.value,
2958
2961
  rx: H.value.bar.borderRadius,
2959
2962
  fill: `url(#pattern_${L.value}_${e.slotAbsoluteIndex})`,
2960
2963
  stroke: H.value.bar.border.useSerieColor ? e.color : H.value.bar.border.stroke,
@@ -2965,7 +2968,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2965
2968
  key: 2,
2966
2969
  style: { overflow: "visible" },
2967
2970
  height: "12",
2968
- width: Ms.value + H.value.chart.comments.width,
2971
+ width: Ns.value + H.value.chart.comments.width,
2969
2972
  x: Jo(n) - H.value.chart.comments.width / 2 + H.value.chart.comments.offsetX,
2970
2973
  y: j(y)(n.y) + H.value.chart.comments.offsetY + 6
2971
2974
  }, [A(r.$slots, "plot-comment", { plot: {
@@ -2987,8 +2990,8 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
2987
2990
  style: { animation: "none !important" }
2988
2991
  }, null, 8, un)) : S("", !0),
2989
2992
  H.value.chart.highlighter.useLine && (![null, void 0].includes(B.value) || ![null, void 0].includes(R.value)) ? (D(), C("g", dn, [w("line", {
2990
- x1: xs((B.value === null ? 0 : B.value) || (R.value === null ? 0 : R.value)),
2991
- x2: xs((B.value === null ? 0 : B.value) || (R.value === null ? 0 : R.value)),
2993
+ x1: Ss((B.value === null ? 0 : B.value) || (R.value === null ? 0 : R.value)),
2994
+ x2: Ss((B.value === null ? 0 : B.value) || (R.value === null ? 0 : R.value)),
2992
2995
  y1: j(v)(Y.value?.top),
2993
2996
  y2: j(v)(Y.value?.bottom),
2994
2997
  stroke: H.value.chart.highlighter.color,
@@ -3023,7 +3026,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3023
3026
  key: 5,
3024
3027
  ref_key: "scaleLabels",
3025
3028
  ref: Ti
3026
- }, [U.value.useIndividualScale ? (D(), C(b, { key: 0 }, [(D(!0), C(b, null, k(Us.value, (e) => (D(), C("g", null, [w("line", {
3029
+ }, [U.value.useIndividualScale ? (D(), C(b, { key: 0 }, [(D(!0), C(b, null, k(Ws.value, (e) => (D(), C("g", null, [w("line", {
3027
3030
  x1: U.value.isStacked ? J.value ? Y.value.right : Y.value.left : J.value ? e.x : e.x - Y.value.individualOffsetX,
3028
3031
  x2: U.value.isStacked ? J.value ? Y.value.right : Y.value.left : J.value ? e.x : e.x - Y.value.individualOffsetX,
3029
3032
  y1: U.value.isStacked ? j(v)(Y.value?.bottom - e.yOffset - e.individualHeight) : j(v)(Y.value?.top),
@@ -3032,7 +3035,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3032
3035
  "stroke-width": H.value.chart.grid.stroke,
3033
3036
  "stroke-linecap": "round",
3034
3037
  style: E(`opacity:${P.value ? P.value === e.groupId ? 1 : .3 : 1};transition:opacity 0.2s ease-in-out; animation: none !important`)
3035
- }, null, 12, mn)]))), 256)), (D(!0), C(b, null, k(Us.value, (e) => (D(), C("g", { style: E(`opacity:${P.value ? P.value === e.groupId ? 1 : .3 : 1};transition:opacity 0.2s ease-in-out`) }, [
3038
+ }, null, 12, mn)]))), 256)), (D(!0), C(b, null, k(Ws.value, (e) => (D(), C("g", { style: E(`opacity:${P.value ? P.value === e.groupId ? 1 : .3 : 1};transition:opacity 0.2s ease-in-out`) }, [
3036
3039
  w("text", {
3037
3040
  fill: e.color,
3038
3041
  "font-size": V.value.dataLabels * .8,
@@ -3064,7 +3067,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3064
3067
  datapoint: t.datapoint,
3065
3068
  seriesIndex: n
3066
3069
  })), 9, _n))), 256))
3067
- ], 4))), 256))], 64)) : (D(!0), C(b, { key: 1 }, k(Ls.value, (e, t) => (D(), C("g", { key: `yLabel_${t}` }, [Ro(e) && e.value >= q.value.min && e.value <= q.value.max && H.value.chart.grid.labels.yAxis.showCrosshairs ? (D(), C("line", {
3070
+ ], 4))), 256))], 64)) : (D(!0), C(b, { key: 1 }, k(Rs.value, (e, t) => (D(), C("g", { key: `yLabel_${t}` }, [Ro(e) && e.value >= q.value.min && e.value <= q.value.max && H.value.chart.grid.labels.yAxis.showCrosshairs ? (D(), C("line", {
3068
3071
  key: 0,
3069
3072
  x1: J.value ? Y.value?.right : Y.value?.left,
3070
3073
  x2: J.value ? Y.value?.right + H.value.chart.grid.labels.yAxis.crosshairSize : Y.value?.left - H.value.chart.grid.labels.yAxis.crosshairSize,
@@ -3086,7 +3089,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3086
3089
  s: e.suffix,
3087
3090
  r: H.value.chart.grid.labels.yAxis.rounding
3088
3091
  })) : ""), 9, yn)) : S("", !0)]))), 128))], 512)) : S("", !0),
3089
- (D(!0), C(b, null, k(Hs.value, (e, t) => (D(), C("g", {
3092
+ (D(!0), C(b, null, k(Us.value, (e, t) => (D(), C("g", {
3090
3093
  key: `serie_plot_${e.id}`,
3091
3094
  class: it(`serie_plot_${t}`),
3092
3095
  style: E(`opacity:${P.value ? P.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
@@ -3158,7 +3161,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3158
3161
  seriesIndex: e.slotAbsoluteIndex,
3159
3162
  patternId: `pattern_${L.value}_${t}`
3160
3163
  }), void 0, !0)), 128))])) : S("", !0),
3161
- Ws.value.length && !U.value.isStacked ? (D(), C("g", Tn, [(D(!0), C(b, null, k(Ws.value, (e) => (D(), C("path", {
3164
+ Gs.value.length && !U.value.isStacked ? (D(), C("g", Tn, [(D(!0), C(b, null, k(Gs.value, (e) => (D(), C("path", {
3162
3165
  key: e.key,
3163
3166
  d: e.d,
3164
3167
  fill: e.color,
@@ -3231,7 +3234,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3231
3234
  "stroke-linejoin": "round",
3232
3235
  style: E({ transition: j(wa) || !H.value.line.showTransition ? void 0 : `all ${H.value.line.transitionDurationMs}ms ease-in-out` })
3233
3236
  }, null, 12, Fn)) : S("", !0),
3234
- (D(!0), C(b, null, k(e.plots, (n, i) => (D(), C(b, { key: `circle_line_${t}_${i}` }, [!ps.value.linePlot && n && Ro(n.value) || ps.value.linePlot && n && Ro(n.value) && (B.value !== null && B.value === i || R.value !== null && R.value === i) || zs(e.plots, i) ? (D(), Xe(Ue, {
3237
+ (D(!0), C(b, null, k(e.plots, (n, i) => (D(), C(b, { key: `circle_line_${t}_${i}` }, [!ms.value.linePlot && n && Ro(n.value) || ms.value.linePlot && n && Ro(n.value) && (B.value !== null && B.value === i || R.value !== null && R.value === i) || Bs(e.plots, i) ? (D(), Xe(Ue, {
3235
3238
  key: 0,
3236
3239
  shape: [
3237
3240
  "triangle",
@@ -3246,7 +3249,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3246
3249
  x: j(y)(n.x),
3247
3250
  y: j(y)(n.y)
3248
3251
  },
3249
- radius: B.value !== null && B.value === i || R.value !== null && R.value === i ? (ha.value.line || 6) * 1.5 : (zs(e.plots, i), ha.value.line || 6),
3252
+ radius: B.value !== null && B.value === i || R.value !== null && R.value === i ? (ha.value.line || 6) * 1.5 : (Bs(e.plots, i), ha.value.line || 6),
3250
3253
  stroke: H.value.line.dot.useSerieColor ? H.value.chart.backgroundColor : e.color,
3251
3254
  strokeWidth: H.value.line.dot.strokeWidth,
3252
3255
  transition: j(wa) || !H.value.line.showTransition || B.value !== null && B.value === i || R.value !== null && R.value === i ? void 0 : `all ${H.value.line.transitionDurationMs}ms ease-in-out`
@@ -3272,19 +3275,19 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3272
3275
  datapointIndex: i
3273
3276
  } }, void 0, !0)])], 8, In)) : S("", !0)], 64))), 128))
3274
3277
  ], 6))), 128)),
3275
- (H.value.bar.labels.show || H.value.bar.serieName.show) && U.value.dataLabels.show ? (D(), C("g", Rn, [(D(!0), C(b, null, k(Vs.value, (e, t) => (D(), C(b, { key: `xLabel_bar_${e.id}` }, [(D(!0), C(b, null, k(e.plots, (n, r) => (D(), C(b, { key: `xLabel_bar_${t}_${r}` }, [n && (!Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || B.value !== null && B.value === r || R.value !== null && R.value === r) && H.value.bar.labels.show ? (D(), C("text", {
3278
+ (H.value.bar.labels.show || H.value.bar.serieName.show) && U.value.dataLabels.show ? (D(), C("g", Rn, [(D(!0), C(b, null, k(Hs.value, (e, t) => (D(), C(b, { key: `xLabel_bar_${e.id}` }, [(D(!0), C(b, null, k(e.plots, (n, r) => (D(), C(b, { key: `xLabel_bar_${t}_${r}` }, [n && (!Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || B.value !== null && B.value === r || R.value !== null && R.value === r) && H.value.bar.labels.show ? (D(), C("text", {
3276
3279
  key: 0,
3277
- "text-anchor": vc({
3280
+ "text-anchor": yc({
3278
3281
  plot: n,
3279
3282
  type: "bar"
3280
3283
  }),
3281
3284
  "font-size": V.value.plotLabels,
3282
- transform: gc({ plot: n }),
3285
+ transform: _c({ plot: n }),
3283
3286
  fill: H.value.bar.labels.color,
3284
3287
  stroke: H.value.chart.backgroundColor,
3285
3288
  "paint-order": "stroke",
3286
3289
  style: E(`opacity:${P.value ? P.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`),
3287
- innerHTML: hc({
3290
+ innerHTML: gc({
3288
3291
  serie: e,
3289
3292
  plot: n,
3290
3293
  type: "bar"
@@ -3302,13 +3305,13 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3302
3305
  source: e.name,
3303
3306
  length: H.value.bar.serieName.abbreviationSize
3304
3307
  }) : e.name), 13, Bn)) : S("", !0)], 64))), 128))], 64))), 128))])) : S("", !0),
3305
- H.value.plot.labels.show && U.value.dataLabels.show ? (D(), C("g", Vn, [(D(!0), C(b, null, k(Hs.value, (e, t) => (D(), C(b, { key: `xLabel_plot_${e.id}` }, [(D(!0), C(b, null, k(e.plots, (n, r) => (D(), C(b, { key: `xLabel_plot_${t}_${r}` }, [n && !Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || B.value !== null && B.value === r || R.value !== null && R.value === r ? (D(), C("text", {
3308
+ H.value.plot.labels.show && U.value.dataLabels.show ? (D(), C("g", Vn, [(D(!0), C(b, null, k(Us.value, (e, t) => (D(), C(b, { key: `xLabel_plot_${e.id}` }, [(D(!0), C(b, null, k(e.plots, (n, r) => (D(), C(b, { key: `xLabel_plot_${t}_${r}` }, [n && !Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || B.value !== null && B.value === r || R.value !== null && R.value === r ? (D(), C("text", {
3306
3309
  key: 0,
3307
- transform: _c({
3310
+ transform: vc({
3308
3311
  plot: n,
3309
3312
  type: "plot"
3310
3313
  }),
3311
- "text-anchor": vc({
3314
+ "text-anchor": yc({
3312
3315
  plot: n,
3313
3316
  type: "plot"
3314
3317
  }),
@@ -3317,12 +3320,12 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3317
3320
  stroke: H.value.chart.backgroundColor,
3318
3321
  "paint-order": "stroke",
3319
3322
  style: E(`opacity:${P.value ? P.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`),
3320
- innerHTML: hc({
3323
+ innerHTML: gc({
3321
3324
  serie: e,
3322
3325
  plot: n,
3323
3326
  type: "plot"
3324
3327
  })
3325
- }, null, 12, Hn)) : S("", !0)], 64))), 128))], 64))), 128))])) : (D(), C("g", Un, [(D(!0), C(b, null, k(Hs.value, (e, t) => (D(), C(b, { key: `xLabel_plot_${e.id}` }, [(D(!0), C(b, null, k(e.plots, (n, r) => (D(), C(b, { key: `xLabel_plot_${t}_${r}` }, [H.value.plot.tag.followValue ? (D(), C(b, { key: 1 }, [[
3328
+ }, null, 12, Hn)) : S("", !0)], 64))), 128))], 64))), 128))])) : (D(), C("g", Un, [(D(!0), C(b, null, k(Us.value, (e, t) => (D(), C(b, { key: `xLabel_plot_${e.id}` }, [(D(!0), C(b, null, k(e.plots, (n, r) => (D(), C(b, { key: `xLabel_plot_${t}_${r}` }, [H.value.plot.tag.followValue ? (D(), C(b, { key: 1 }, [[
3326
3329
  R.value,
3327
3330
  B.value,
3328
3331
  Ri.value
@@ -3368,11 +3371,11 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3368
3371
  }, null, 12, qn)], 12, Kn)) : S("", !0)], 64))], 64))), 128))], 64))), 128))])),
3369
3372
  H.value.line.labels.show && U.value.dataLabels.show ? (D(), C("g", Yn, [(D(!0), C(b, null, k($.value, (e, t) => (D(), C(b, { key: `xLabel_line_${e.id}` }, [(D(!0), C(b, null, k(e.plots, (n, r) => (D(), C(b, { key: `xLabel_line_${t}_${r}` }, [n && !Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || B.value !== null && B.value === r || R.value !== null && R.value === r ? (D(), C("text", {
3370
3373
  key: 0,
3371
- transform: _c({
3374
+ transform: vc({
3372
3375
  plot: n,
3373
3376
  type: "line"
3374
3377
  }),
3375
- "text-anchor": vc({
3378
+ "text-anchor": yc({
3376
3379
  plot: n,
3377
3380
  type: "line"
3378
3381
  }),
@@ -3381,7 +3384,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3381
3384
  stroke: H.value.chart.backgroundColor,
3382
3385
  "paint-order": "stroke",
3383
3386
  style: E(`opacity:${P.value ? P.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`),
3384
- innerHTML: hc({
3387
+ innerHTML: gc({
3385
3388
  serie: e,
3386
3389
  plot: n,
3387
3390
  type: "line"
@@ -3463,7 +3466,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3463
3466
  }),
3464
3467
  style: E(`opacity:${P.value ? P.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
3465
3468
  }, null, 12, ir)) : S("", !0)], 64))), 128))], 64))), 128)),
3466
- (D(!0), C(b, null, k(Hs.value, (e, t) => (D(), C(b, { key: `xLabel_plot_${e.id}` }, [(D(!0), C(b, null, k(e.plots, (n, r) => (D(), C(b, { key: `xLabel_plot_${t}_${r}` }, [n && r === 0 && e.showSerieName && e.showSerieName === "start" ? (D(), C("text", {
3469
+ (D(!0), C(b, null, k(Us.value, (e, t) => (D(), C(b, { key: `xLabel_plot_${e.id}` }, [(D(!0), C(b, null, k(e.plots, (n, r) => (D(), C(b, { key: `xLabel_plot_${t}_${r}` }, [n && r === 0 && e.showSerieName && e.showSerieName === "start" ? (D(), C("text", {
3467
3470
  key: 0,
3468
3471
  x: n.x - V.value.plotLabels,
3469
3472
  y: n.y,
@@ -3497,9 +3500,9 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3497
3500
  style: E(`opacity:${P.value ? P.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
3498
3501
  }, null, 12, or)) : S("", !0)], 64))), 128))], 64))), 128)),
3499
3502
  (D(!0), C(b, null, k([
3500
- ...Hs.value,
3503
+ ...Us.value,
3501
3504
  ...$.value,
3502
- ...Vs.value
3505
+ ...Hs.value
3503
3506
  ], (e, t) => (D(), C(b, { key: `progression-${t}` }, [Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(j(ge)(e.plots).trend) ? (D(), C("g", sr, [
3504
3507
  w("defs", null, [w("marker", {
3505
3508
  id: `progression_arrow_${t}`,
@@ -3562,7 +3565,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3562
3565
  r: 2
3563
3566
  })), 9, fr)) : S("", !0)
3564
3567
  ])) : S("", !0)], 64))), 128)),
3565
- U.value.useIndividualScale && !U.value.isStacked ? (D(), C(b, { key: 13 }, [w("defs", null, [(D(!0), C(b, null, k(Us.value, (e, t) => (D(), C("linearGradient", {
3568
+ U.value.useIndividualScale && !U.value.isStacked ? (D(), C(b, { key: 13 }, [w("defs", null, [(D(!0), C(b, null, k(Ws.value, (e, t) => (D(), C("linearGradient", {
3566
3569
  id: `individual_scale_gradient_${L.value}_${t}`,
3567
3570
  x1: J.value ? "100%" : "0%",
3568
3571
  x2: J.value ? "0%" : "100%",
@@ -3576,7 +3579,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3576
3579
  offset: "100%",
3577
3580
  "stop-color": e.color,
3578
3581
  "stop-opacity": "0.2"
3579
- }, null, 8, hr)], 8, pr))), 256))]), (D(!0), C(b, null, k(Us.value, (e, t) => (D(), C("rect", {
3582
+ }, null, 8, hr)], 8, pr))), 256))]), (D(!0), C(b, null, k(Ws.value, (e, t) => (D(), C("rect", {
3580
3583
  x: J.value ? e.x : e.x - H.value.chart.grid.labels.yAxis.labelWidth - Y.value.individualOffsetX,
3581
3584
  y: Y.value?.top,
3582
3585
  width: (J.value, H.value.chart.grid.labels.yAxis.labelWidth + Y.value.individualOffsetX),
@@ -3612,11 +3615,11 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3612
3615
  key: `time_label_${e.id}`,
3613
3616
  ref_for: !0
3614
3617
  }, {
3615
- x: xs(t),
3618
+ x: Ss(t),
3616
3619
  y: Y.value?.bottom,
3617
3620
  fontSize: V.value.xAxis,
3618
3621
  fill: H.value.chart.grid.labels.xAxisLabels.color,
3619
- transform: `translate(${xs(t)}, ${Y.value?.bottom + V.value.xAxis * 1.3 + H.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${H.value.chart.grid.labels.xAxisLabels.rotation})`,
3622
+ transform: `translate(${Ss(t)}, ${Y.value?.bottom + V.value.xAxis * 1.3 + H.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${H.value.chart.grid.labels.xAxisLabels.rotation})`,
3620
3623
  absoluteIndex: e.absoluteIndex,
3621
3624
  content: e.text,
3622
3625
  textAnchor: H.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : H.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
@@ -3627,7 +3630,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3627
3630
  "text-anchor": H.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : H.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
3628
3631
  "font-size": V.value.xAxis,
3629
3632
  fill: H.value.chart.grid.labels.xAxisLabels.color,
3630
- transform: `translate(${xs(t)}, ${Y.value?.bottom + V.value.xAxis * 1.5}), rotate(${H.value.chart.grid.labels.xAxisLabels.rotation})`,
3633
+ transform: `translate(${Ss(t)}, ${Y.value?.bottom + V.value.xAxis * 1.5}), rotate(${H.value.chart.grid.labels.xAxisLabels.rotation})`,
3631
3634
  style: E({ cursor: co() && ya.value ? "pointer" : "default" }),
3632
3635
  innerHTML: j(n)({
3633
3636
  content: String(e.text),
@@ -3643,11 +3646,11 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3643
3646
  "text-anchor": H.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : H.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
3644
3647
  "font-size": V.value.xAxis,
3645
3648
  fill: H.value.chart.grid.labels.xAxisLabels.color,
3646
- transform: `translate(${xs(t)}, ${Y.value?.bottom + V.value.xAxis * 1.5}), rotate(${H.value.chart.grid.labels.xAxisLabels.rotation})`,
3649
+ transform: `translate(${Ss(t)}, ${Y.value?.bottom + V.value.xAxis * 1.5}), rotate(${H.value.chart.grid.labels.xAxisLabels.rotation})`,
3647
3650
  style: E({ cursor: co() && ya.value ? "pointer" : "default" }),
3648
3651
  onClick: () => So(e, t)
3649
3652
  }, ut(e.text || ""), 13, yr))], 64)) : S("", !0)]))), 128))], 512)) : S("", !0),
3650
- Rs.value.length && !U.value.isStacked ? (D(), C("g", xr, [(D(!0), C(b, null, k(Rs.value, (e) => (D(), C("g", { key: e.uid }, [
3653
+ zs.value.length && !U.value.isStacked ? (D(), C("g", xr, [(D(!0), C(b, null, k(zs.value, (e) => (D(), C("g", { key: e.uid }, [
3651
3654
  e.yTop && e.show && isFinite(e.yTop) ? (D(), C("line", {
3652
3655
  key: 0,
3653
3656
  x1: e.x1,
@@ -3700,19 +3703,19 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3700
3703
  }, ut(e.config.label.text), 9, Tr)) : S("", !0)
3701
3704
  ]))), 128))])) : S("", !0),
3702
3705
  H.value.chart.timeTag.show && (![null, void 0].includes(B.value) || ![null, void 0].includes(R.value)) ? (D(), C("g", Er, [(D(), C("foreignObject", {
3703
- x: pc(),
3706
+ x: mc(),
3704
3707
  y: Y.value?.bottom,
3705
3708
  width: "200",
3706
3709
  height: "40",
3707
3710
  style: { overflow: "visible !important" }
3708
3711
  }, [w("div", {
3709
3712
  ref_key: "timeTagEl",
3710
- ref: lc,
3713
+ ref: uc,
3711
3714
  class: "vue-ui-xy-time-tag",
3712
3715
  style: E(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${H.value.chart.timeTag.backgroundColor};color:${H.value.chart.timeTag.color};font-size:${H.value.chart.timeTag.fontSize}px`),
3713
- innerHTML: mc.value
3716
+ innerHTML: hc.value
3714
3717
  }, null, 12, Or)], 8, Dr)), w("circle", {
3715
- cx: xs((B.value === null ? 0 : B.value) || (R.value === null ? 0 : R.value)),
3718
+ cx: Ss((B.value === null ? 0 : B.value) || (R.value === null ? 0 : R.value)),
3716
3719
  cy: Y.value?.bottom,
3717
3720
  r: H.value.chart.timeTag.circleMarker.radius,
3718
3721
  fill: H.value.chart.timeTag.circleMarker.color
@@ -3729,14 +3732,14 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3729
3732
  isPrintingSvg: Qi.value,
3730
3733
  data: [
3731
3734
  ...$.value,
3732
- ...Vs.value,
3733
- ...Hs.value
3735
+ ...Hs.value,
3736
+ ...Us.value
3734
3737
  ],
3735
3738
  drawingArea: Y.value
3736
3739
  } }, void 0, !0)
3737
3740
  ], 512)], 46, St)), r.$slots.hint ? (D(), C("div", jr, [A(r.$slots, "hint", at(T({
3738
3741
  hint: H.value.a11y.translations.keyboardNavigation,
3739
- isVisible: jc.value
3742
+ isVisible: Mc.value
3740
3743
  })), void 0, !0)])) : S("", !0)]),
3741
3744
  r.$slots.watermark ? (D(), C("div", Mr, [A(r.$slots, "watermark", at(T({ isPrinting: j(Pa) || j(Fa) || Zi.value || Qi.value })), void 0, !0)])) : S("", !0),
3742
3745
  (D(!0), C(b, null, k($.value, (e, t) => (D(), C(b, { key: `tag_line_${e.id}` }, [(D(!0), C(b, null, k(e.plots, (n, r) => (D(), C(b, { key: `tag_line_${t}_${r}` }, [[
@@ -3830,7 +3833,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3830
3833
  serieName: e.name
3831
3834
  })
3832
3835
  }, null, 8, Rr)], 4)) : S("", !0)], 64))), 128))], 64))), 128)),
3833
- (D(!0), C(b, null, k(Hs.value, (e, t) => (D(), C(b, { key: `tag_plot_${e.id}` }, [(D(!0), C(b, null, k(e.plots, (n, r) => (D(), C(b, { key: `tag_plot_${t}_${r}` }, [[
3836
+ (D(!0), C(b, null, k(Us.value, (e, t) => (D(), C(b, { key: `tag_plot_${e.id}` }, [(D(!0), C(b, null, k(e.plots, (n, r) => (D(), C(b, { key: `tag_plot_${t}_${r}` }, [[
3834
3837
  R.value,
3835
3838
  B.value,
3836
3839
  Ri.value
@@ -3926,7 +3929,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3926
3929
  ref_key: "chartSlicer",
3927
3930
  ref: _i,
3928
3931
  uuid: L.value,
3929
- allMinimaps: Fs.value,
3932
+ allMinimaps: Is.value,
3930
3933
  background: H.value.chart.zoom.color,
3931
3934
  borderColor: H.value.chart.backgroundColor,
3932
3935
  customFormat: H.value.chart.zoom.customFormat,
@@ -3945,7 +3948,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3945
3948
  labelRight: X.value.at(-1) ? X.value.at(-1).text : "",
3946
3949
  max: G.value,
3947
3950
  min: 0,
3948
- minimap: Ps.value,
3951
+ minimap: Fs.value,
3949
3952
  minimapCompact: H.value.chart.zoom.minimap.compact,
3950
3953
  minimapFrameColor: H.value.chart.zoom.minimap.frameColor,
3951
3954
  minimapIndicatorColor: H.value.chart.zoom.minimap.indicatorColor,
@@ -3955,11 +3958,11 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
3955
3958
  minimapSelectedColorOpacity: H.value.chart.zoom.minimap.selectedColorOpacity,
3956
3959
  minimapSelectedIndex: B.value,
3957
3960
  minimapSelectionRadius: H.value.chart.zoom.minimap.selectionRadius,
3958
- preciseLabels: Ys.value.length ? Ys.value : go.value,
3961
+ preciseLabels: Xs.value.length ? Xs.value : go.value,
3959
3962
  refreshEndPoint: H.value.chart.zoom.endIndex === null ? Math.max(...e.dataset.map((e) => Oa(e.series).length)) : H.value.chart.zoom.endIndex + 1,
3960
3963
  refreshStartPoint: H.value.chart.zoom.startIndex === null ? 0 : H.value.chart.zoom.startIndex,
3961
3964
  selectColor: H.value.chart.zoom.highlightColor,
3962
- selectedSeries: Is.value,
3965
+ selectedSeries: Ls.value,
3963
3966
  smoothMinimap: H.value.chart.zoom.minimap.smooth,
3964
3967
  start: K.value.start,
3965
3968
  textColor: H.value.chart.color,
@@ -4014,7 +4017,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
4014
4017
  "checked"
4015
4018
  ])) : S("", !0), (D(!0), C(b, null, k(Xa.value, (e, t) => (D(), C("div", {
4016
4019
  key: `div_legend_item_${t}`,
4017
- onClick: (t) => cs(e),
4020
+ onClick: (t) => ls(e),
4018
4021
  onKeydown: (t) => ss(t, e),
4019
4022
  role: "button",
4020
4023
  tabindex: "0",
@@ -4108,7 +4111,7 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
4108
4111
  offsetX: H.value.chart.tooltip.offsetX,
4109
4112
  offsetY: H.value.chart.tooltip.offsetY,
4110
4113
  parent: r.$refs.chart,
4111
- content: Xs.value,
4114
+ content: Zs.value,
4112
4115
  isFullscreen: Ii.value,
4113
4116
  isCustom: H.value.chart.tooltip.customFormat && typeof H.value.chart.tooltip.customFormat == "function",
4114
4117
  smooth: H.value.chart.tooltip.smooth,
@@ -4118,9 +4121,9 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
4118
4121
  isA11yMode: $i.value != null,
4119
4122
  a11yPosition: ea.value
4120
4123
  }, {
4121
- "tooltip-before": M(() => [A(r.$slots, "tooltip-before", at(T({ ...Gs.value })), void 0, !0)]),
4122
- tooltip: M(() => [A(r.$slots, "tooltip", at(T({ ...Gs.value })), void 0, !0)]),
4123
- "tooltip-after": M(() => [A(r.$slots, "tooltip-after", at(T({ ...Gs.value })), void 0, !0)]),
4124
+ "tooltip-before": M(() => [A(r.$slots, "tooltip-before", at(T({ ...Ks.value })), void 0, !0)]),
4125
+ tooltip: M(() => [A(r.$slots, "tooltip", at(T({ ...Ks.value })), void 0, !0)]),
4126
+ "tooltip-after": M(() => [A(r.$slots, "tooltip-after", at(T({ ...Ks.value })), void 0, !0)]),
4124
4127
  _: 3
4125
4128
  }, 8, [
4126
4129
  "teleportTo",
@@ -4146,10 +4149,10 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
4146
4149
  "isA11yMode",
4147
4150
  "a11yPosition"
4148
4151
  ]),
4149
- va.value && H.value.chart.userOptions.buttons.table ? (D(), Xe(ct(xc.value.component), nt({ key: 9 }, xc.value.props, {
4152
+ va.value && H.value.chart.userOptions.buttons.table ? (D(), Xe(ct(Sc.value.component), nt({ key: 9 }, Sc.value.props, {
4150
4153
  ref_key: "tableUnit",
4151
4154
  ref: Xi,
4152
- onClose: Sc
4155
+ onClose: Cc
4153
4156
  }), Ze({
4154
4157
  content: M(() => [w("div", { style: E(`${j(Pa) || H.value.table.useDialog ? "" : "max-height:400px"};${H.value.table.useDialog ? "height: fit-content; " : ""};overflow:auto;width:100%;${H.value.table.useDialog ? "" : "margin-top:48px"}`) }, [w("div", $r, [gt(w("input", {
4155
4158
  type: "checkbox",
@@ -4163,17 +4166,17 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
4163
4166
  stroke: H.value.chart.color
4164
4167
  }, null, 8, ["stroke"])], 4)]), Hi.value ? (D(), Xe(j(ai), {
4165
4168
  key: `sparkline_${Ui.value}`,
4166
- dataset: _s.value,
4167
- config: vs.value
4169
+ dataset: vs.value,
4170
+ config: ys.value
4168
4171
  }, null, 8, ["dataset", "config"])) : (D(), Xe(j(ti), {
4169
4172
  key: `table_${Bi.value}`,
4170
- colNames: Qs.value.colNames,
4171
- head: Qs.value.head,
4172
- body: Qs.value.body,
4173
- config: Qs.value.config,
4174
- title: H.value.table.useDialog ? "" : xc.value.title,
4173
+ colNames: $s.value.colNames,
4174
+ head: $s.value.head,
4175
+ body: $s.value.body,
4176
+ config: $s.value.config,
4177
+ title: H.value.table.useDialog ? "" : Sc.value.title,
4175
4178
  withCloseButton: !H.value.table.useDialog,
4176
- onClose: Sc
4179
+ onClose: Cc
4177
4180
  }, {
4178
4181
  th: M(({ th: e }) => [w("div", { innerHTML: e }, null, 8, ei)]),
4179
4182
  td: M(({ td: e }) => [Qe(ut(isNaN(Number(e)) ? e : j(a)({
@@ -4194,23 +4197,23 @@ var _t = /* @__PURE__ */ e({ default: () => N }), vt = ["id"], yt = ["id"], bt =
4194
4197
  _: 2
4195
4198
  }, [H.value.table.useDialog ? {
4196
4199
  name: "title",
4197
- fn: M(() => [Qe(ut(xc.value.title), 1)]),
4200
+ fn: M(() => [Qe(ut(Sc.value.title), 1)]),
4198
4201
  key: "0"
4199
4202
  } : void 0, H.value.table.useDialog ? {
4200
4203
  name: "actions",
4201
4204
  fn: M(() => [w("button", {
4202
4205
  tabindex: "0",
4203
4206
  class: "vue-ui-user-options-button",
4204
- onClick: i[3] ||= (e) => $s(H.value.chart.userOptions.callbacks.csv)
4207
+ onClick: i[3] ||= (e) => ec(H.value.chart.userOptions.callbacks.csv)
4205
4208
  }, [$e(j(ii), {
4206
4209
  name: "fileCsv",
4207
- stroke: xc.value.props.color
4210
+ stroke: Sc.value.props.color
4208
4211
  }, null, 8, ["stroke"])])]),
4209
4212
  key: "1"
4210
4213
  } : void 0]), 1040)) : S("", !0),
4211
4214
  A(r.$slots, "skeleton", {}, () => [j(wa) ? (D(), Xe(Pe, { key: 0 })) : S("", !0)], !0)
4212
4215
  ], 46, vt));
4213
4216
  }
4214
- }, [["__scopeId", "data-v-25ca945c"]]);
4217
+ }, [["__scopeId", "data-v-d184aafc"]]);
4215
4218
  //#endregion
4216
4219
  export { _t as n, N as t };