vue-data-ui 3.21.4 → 3.21.5

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 (140) hide show
  1. package/dist/{DataTable-DUWNbwQb.js → DataTable-G9aclxhk.js} +1 -1
  2. package/dist/{Legend-kCgqDRaO.js → Legend-CAStwHdx.js} +1 -1
  3. package/dist/{PackageVersion-CqsA0eNP.js → PackageVersion-BBQkpuwF.js} +1 -1
  4. package/dist/Shape-BubavoqO.js +143 -0
  5. package/dist/components/vue-ui-3d-bar.js +1 -1
  6. package/dist/components/vue-ui-age-pyramid.js +1 -1
  7. package/dist/components/vue-ui-bullet.js +1 -1
  8. package/dist/components/vue-ui-bump.js +1 -1
  9. package/dist/components/vue-ui-candlestick.js +1 -1
  10. package/dist/components/vue-ui-carousel-table.js +1 -1
  11. package/dist/components/vue-ui-chestnut.js +1 -1
  12. package/dist/components/vue-ui-chord.js +1 -1
  13. package/dist/components/vue-ui-circle-pack.js +1 -1
  14. package/dist/components/vue-ui-cursor.js +1 -1
  15. package/dist/components/vue-ui-dag.js +1 -1
  16. package/dist/components/vue-ui-dashboard.js +1 -1
  17. package/dist/components/vue-ui-digits.js +1 -1
  18. package/dist/components/vue-ui-donut-evolution.js +1 -1
  19. package/dist/components/vue-ui-donut.js +1 -1
  20. package/dist/components/vue-ui-dumbbell.js +1 -1
  21. package/dist/components/vue-ui-flow.js +1 -1
  22. package/dist/components/vue-ui-funnel.js +1 -1
  23. package/dist/components/vue-ui-galaxy.js +1 -1
  24. package/dist/components/vue-ui-gauge.js +1 -1
  25. package/dist/components/vue-ui-geo.js +1 -1
  26. package/dist/components/vue-ui-gizmo.js +1 -1
  27. package/dist/components/vue-ui-heatmap.js +1 -1
  28. package/dist/components/vue-ui-history-plot.js +1 -1
  29. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  30. package/dist/components/vue-ui-kpi.js +1 -1
  31. package/dist/components/vue-ui-molecule.js +1 -1
  32. package/dist/components/vue-ui-mood-radar.js +1 -1
  33. package/dist/components/vue-ui-nested-donuts.js +1 -1
  34. package/dist/components/vue-ui-onion.js +1 -1
  35. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  36. package/dist/components/vue-ui-quadrant.js +1 -1
  37. package/dist/components/vue-ui-quick-chart.js +1 -1
  38. package/dist/components/vue-ui-radar.js +1 -1
  39. package/dist/components/vue-ui-relation-circle.js +1 -1
  40. package/dist/components/vue-ui-ridgeline.js +1 -1
  41. package/dist/components/vue-ui-rings.js +1 -1
  42. package/dist/components/vue-ui-scatter.js +1 -1
  43. package/dist/components/vue-ui-skeleton.js +1 -1
  44. package/dist/components/vue-ui-spark-trend.js +1 -1
  45. package/dist/components/vue-ui-sparkbar.js +1 -1
  46. package/dist/components/vue-ui-sparkgauge.js +1 -1
  47. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  48. package/dist/components/vue-ui-sparkline.js +1 -1
  49. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  50. package/dist/components/vue-ui-stackbar.js +1 -1
  51. package/dist/components/vue-ui-stackline.js +1 -1
  52. package/dist/components/vue-ui-strip-plot.js +1 -1
  53. package/dist/components/vue-ui-table-heatmap.js +1 -1
  54. package/dist/components/vue-ui-table-sparkline.js +1 -1
  55. package/dist/components/vue-ui-table.js +1 -1
  56. package/dist/components/vue-ui-thermometer.js +1 -1
  57. package/dist/components/vue-ui-timer.js +1 -1
  58. package/dist/components/vue-ui-tiremarks.js +1 -1
  59. package/dist/components/vue-ui-treemap.js +1 -1
  60. package/dist/components/vue-ui-vertical-bar.js +1 -1
  61. package/dist/components/vue-ui-waffle.js +1 -1
  62. package/dist/components/vue-ui-wheel.js +1 -1
  63. package/dist/components/vue-ui-word-cloud.js +1 -1
  64. package/dist/components/vue-ui-world.js +1 -1
  65. package/dist/components/vue-ui-xy-canvas.js +1 -1
  66. package/dist/components/vue-ui-xy.js +1 -1
  67. package/dist/{package-DFCovsvL.js → package-B9u_i6YS.js} +1 -1
  68. package/dist/{render-common-DO90E2sI.js → render-common-g33Vg_dN.js} +1 -1
  69. package/dist/ssr/vue-ui-donut.js +1 -1
  70. package/dist/ssr/vue-ui-xy.js +1 -1
  71. package/dist/ssr.js +2 -2
  72. package/dist/style.css +1 -1
  73. package/dist/types/vue-data-ui.d.ts +13 -0
  74. package/dist/{vue-data-ui-D1pI7nEJ.js → vue-data-ui-DbZS2DJ_.js} +62 -62
  75. package/dist/vue-data-ui.js +62 -62
  76. package/dist/{vue-ui-3d-bar-Yx2y1ZaB.js → vue-ui-3d-bar-DNif3dg5.js} +1 -1
  77. package/dist/{vue-ui-age-pyramid-BEwljDac.js → vue-ui-age-pyramid-C48sXfLz.js} +1 -1
  78. package/dist/{vue-ui-bullet-BNAie0-T.js → vue-ui-bullet-BwRpjbhx.js} +2 -2
  79. package/dist/{vue-ui-bump-Bdb-v9HE.js → vue-ui-bump-DgtUJitf.js} +1 -1
  80. package/dist/{vue-ui-candlestick-D_X9Jic9.js → vue-ui-candlestick-Btrs-WzC.js} +1 -1
  81. package/dist/{vue-ui-carousel-table-DlqiWptP.js → vue-ui-carousel-table-BmKpLXI8.js} +1 -1
  82. package/dist/{vue-ui-chestnut-C3P2hFLQ.js → vue-ui-chestnut-BEkVPNtJ.js} +1 -1
  83. package/dist/{vue-ui-chord-Dk7CoMeX.js → vue-ui-chord-D77aAAAS.js} +3 -3
  84. package/dist/{vue-ui-circle-pack-C1fhaNIa.js → vue-ui-circle-pack-d6jsE_cp.js} +1 -1
  85. package/dist/{vue-ui-cursor-DJ1-clJ1.js → vue-ui-cursor-CmCyNFwz.js} +1 -1
  86. package/dist/{vue-ui-dag-kCdXgBQN.js → vue-ui-dag-ChIS35Cx.js} +1 -1
  87. package/dist/{vue-ui-dashboard-B16wooBO.js → vue-ui-dashboard-862_qG5Y.js} +59 -59
  88. package/dist/{vue-ui-digits-BD3fl69k.js → vue-ui-digits-UygMKLG4.js} +1 -1
  89. package/dist/{vue-ui-donut-CaSkEb_t.js → vue-ui-donut-1up9r9pp.js} +1 -1
  90. package/dist/{vue-ui-donut-C842oXD6.js → vue-ui-donut-CZPgbMEg.js} +3 -3
  91. package/dist/{vue-ui-donut-evolution-qyOZuoMv.js → vue-ui-donut-evolution-CD9vByCi.js} +2 -2
  92. package/dist/{vue-ui-dumbbell-BPXxa_aj.js → vue-ui-dumbbell-BDk_wh2X.js} +2 -2
  93. package/dist/{vue-ui-flow-D_HPUPw4.js → vue-ui-flow-47y8Z3Pz.js} +2 -2
  94. package/dist/{vue-ui-funnel-Cq-vcVeM.js → vue-ui-funnel-DTK9dGSj.js} +1 -1
  95. package/dist/{vue-ui-galaxy-qr0bCJyL.js → vue-ui-galaxy-CIP2DcFf.js} +2 -2
  96. package/dist/{vue-ui-gauge-BXqUvg1d.js → vue-ui-gauge-BswUlhGP.js} +1 -1
  97. package/dist/{vue-ui-geo-Dh_vSWhZ.js → vue-ui-geo-Wj3ajGwa.js} +1 -1
  98. package/dist/{vue-ui-gizmo-CCDQCpU3.js → vue-ui-gizmo-LtViOQ1V.js} +1 -1
  99. package/dist/{vue-ui-heatmap-BUDdzO9f.js → vue-ui-heatmap-BQkmmcdC.js} +1 -1
  100. package/dist/{vue-ui-history-plot-q57jkARW.js → vue-ui-history-plot-DYcQqHJY.js} +2 -2
  101. package/dist/{vue-ui-horizontal-bar-DgvXTZkY.js → vue-ui-horizontal-bar-fXyx1d3p.js} +3 -3
  102. package/dist/{vue-ui-kpi-DBg9dZq5.js → vue-ui-kpi-CA-ajg4w.js} +1 -1
  103. package/dist/{vue-ui-molecule-Dg8vE0Uu.js → vue-ui-molecule-Dsb5tSSz.js} +1 -1
  104. package/dist/{vue-ui-mood-radar-58aD7ptX.js → vue-ui-mood-radar-BvaIQhoq.js} +2 -2
  105. package/dist/{vue-ui-nested-donuts-DSLKnpDk.js → vue-ui-nested-donuts-HqIJDrOk.js} +2 -2
  106. package/dist/{vue-ui-onion-qysOUR7p.js → vue-ui-onion-VaCEUjPt.js} +2 -2
  107. package/dist/{vue-ui-parallel-coordinate-plot-DSxg5bKM.js → vue-ui-parallel-coordinate-plot-DbGFtMJW.js} +3 -3
  108. package/dist/{vue-ui-quadrant-ClyO4Hjn.js → vue-ui-quadrant-CCi4x76e.js} +3 -3
  109. package/dist/{vue-ui-quick-chart-BQKfigUs.js → vue-ui-quick-chart-YH55ZnPp.js} +1 -1
  110. package/dist/{vue-ui-radar-Ch6HCxYL.js → vue-ui-radar-B5erj8pZ.js} +2 -2
  111. package/dist/{vue-ui-relation-circle-CsdWbKOa.js → vue-ui-relation-circle-BH-v7yCR.js} +1 -1
  112. package/dist/{vue-ui-ridgeline-Cy4NA9vN.js → vue-ui-ridgeline-BdxOgy9h.js} +3 -3
  113. package/dist/{vue-ui-rings-BM0LgKNu.js → vue-ui-rings-Dk1dLyN8.js} +3 -3
  114. package/dist/{vue-ui-scatter-CDiY1zpe.js → vue-ui-scatter-Ddgga48P.js} +3 -3
  115. package/dist/{vue-ui-skeleton-CK8QF5Ve.js → vue-ui-skeleton-CY1T6qik.js} +1 -1
  116. package/dist/{vue-ui-spark-trend-CQ6T4zg9.js → vue-ui-spark-trend-CLgmlqIG.js} +1 -1
  117. package/dist/{vue-ui-sparkbar-DJPX7Zyv.js → vue-ui-sparkbar-DiswHN41.js} +1 -1
  118. package/dist/{vue-ui-sparkgauge-DdABZuXr.js → vue-ui-sparkgauge-4u4xtfjc.js} +1 -1
  119. package/dist/{vue-ui-sparkhistogram-hHwNfkT5.js → vue-ui-sparkhistogram-CN80CzE6.js} +2 -2
  120. package/dist/{vue-ui-sparkline-DYB-KzTn.js → vue-ui-sparkline-CLgI-0qG.js} +9 -3
  121. package/dist/{vue-ui-sparkstackbar-BBvYxpq8.js → vue-ui-sparkstackbar-Bt763Z5-.js} +1 -1
  122. package/dist/{vue-ui-stackbar-6P2rE6v4.js → vue-ui-stackbar-C9B75WK_.js} +3 -3
  123. package/dist/{vue-ui-stackline-8hAYg8Yl.js → vue-ui-stackline-CTzNic0Q.js} +3 -3
  124. package/dist/{vue-ui-strip-plot-CuwHNfgu.js → vue-ui-strip-plot-CqSXXOFR.js} +2 -2
  125. package/dist/{vue-ui-table-H9EiH7B1.js → vue-ui-table-C8Kchmqw.js} +2 -2
  126. package/dist/{vue-ui-table-heatmap-CKQFDb-p.js → vue-ui-table-heatmap-tX0UmcMb.js} +1 -1
  127. package/dist/{vue-ui-table-sparkline-nSGLGenO.js → vue-ui-table-sparkline-BUeZQnh5.js} +1 -1
  128. package/dist/{vue-ui-thermometer-DtK-lzqp.js → vue-ui-thermometer-NrNgrdmg.js} +1 -1
  129. package/dist/{vue-ui-timer-BjgLdqAb.js → vue-ui-timer-X1fY0iRg.js} +1 -1
  130. package/dist/{vue-ui-tiremarks-DcnL39zw.js → vue-ui-tiremarks-Bos7yO2u.js} +1 -1
  131. package/dist/{vue-ui-treemap-BZUsZ2yq.js → vue-ui-treemap-DoGshGmj.js} +2 -2
  132. package/dist/{vue-ui-waffle-oaMbR5Xr.js → vue-ui-waffle-DHnzcLJ4.js} +3 -3
  133. package/dist/{vue-ui-wheel-BE_CFU2l.js → vue-ui-wheel-CMMvOzIO.js} +1 -1
  134. package/dist/{vue-ui-word-cloud-N69utK_X.js → vue-ui-word-cloud-CKJhq4D5.js} +1 -1
  135. package/dist/{vue-ui-world-D08OxG2W.js → vue-ui-world-UQZszool.js} +2 -2
  136. package/dist/{vue-ui-xy-0UenJQG5.js → vue-ui-xy-BBYh_YDd.js} +1 -1
  137. package/dist/{vue-ui-xy-canvas-C_l3wNwV.js → vue-ui-xy-canvas-L2yEmjc-.js} +2 -2
  138. package/dist/{vue-ui-xy-B5hQ5b9t.js → vue-ui-xy-l2c4h8Jh.js} +500 -465
  139. package/package.json +1 -1
  140. package/dist/Shape-BxFtoF1z.js +0 -141
@@ -12,7 +12,7 @@ import { t as ze } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
12
  import { t as Be } from "./img-C_RNNswI.js";
13
13
  import { n as Ve } from "./Title-DH6G8_cZ.js";
14
14
  import { t as He } from "./vue_ui_xy-BA3-_LCx.js";
15
- import { t as Ue } from "./Shape-BxFtoF1z.js";
15
+ import { t as Ue } from "./Shape-BubavoqO.js";
16
16
  import { t as We } from "./_plugin-vue_export-helper-B3ysoDQm.js";
17
17
  import { t as Ge } from "./SlicerPreview-CZOlZJWD.js";
18
18
  import { t as Ke } from "./vue-ui-accordion-CJCSNX1M.js";
@@ -562,7 +562,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
562
562
  "copyAlt"
563
563
  ],
564
564
  setup(e, { expose: We, emit: Dt }) {
565
- let N = e, Ci = et(() => import("./DataTable-DUWNbwQb.js")), wi = et(() => import("./Tooltip-979Ytd8R.js")), Ti = et(() => import("./UserOptions-rx9hUnOy.js").then((e) => e.n)), Ei = et(() => import("./BaseIcon-CWXbczu_.js").then((e) => e.n)), Di = et(() => import("./vue-ui-table-sparkline-nSGLGenO.js").then((e) => e.n)), Oi = et(() => import("./PackageVersion-CqsA0eNP.js").then((e) => e.t)), ki = et(() => import("./PenAndPaper-z1woaB1V.js").then((e) => e.t)), Ai = et(() => import("./BaseDraggableDialog-O8jn9Lvi.js").then((e) => e.n)), ji = Dt, Mi = pt(), Ni = tt(), { vue_ui_xy: Pi } = je(), { isThemeValid: Fi, warnInvalidTheme: Ii } = Le(), Li = O(null), Ri = O(null), zi = O(null), Bi = O(null), Vi = O(null), Hi = O(null), Ui = O(null), Wi = O(null), Gi = O(null), Ki = O(null), qi = O(null), Ji = O(null), Yi = O(null), Xi = O(null), Zi = O(0), P = O(null), Qi = O(!0), $i = O(600), F = O(1e3), ea = O("0 0 1000 600"), ta = O({
565
+ let N = e, Ci = et(() => import("./DataTable-G9aclxhk.js")), wi = et(() => import("./Tooltip-979Ytd8R.js")), Ti = et(() => import("./UserOptions-rx9hUnOy.js").then((e) => e.n)), Ei = et(() => import("./BaseIcon-CWXbczu_.js").then((e) => e.n)), Di = et(() => import("./vue-ui-table-sparkline-BUeZQnh5.js").then((e) => e.n)), Oi = et(() => import("./PackageVersion-BBQkpuwF.js").then((e) => e.t)), ki = et(() => import("./PenAndPaper-z1woaB1V.js").then((e) => e.t)), Ai = et(() => import("./BaseDraggableDialog-O8jn9Lvi.js").then((e) => e.n)), ji = Dt, Mi = pt(), Ni = tt(), { vue_ui_xy: Pi } = je(), { isThemeValid: Fi, warnInvalidTheme: Ii } = Le(), Li = O(null), Ri = O(null), zi = O(null), Bi = O(null), Vi = O(null), Hi = O(null), Ui = O(null), Wi = O(null), Gi = O(null), Ki = O(null), qi = O(null), Ji = O(null), Yi = O(null), Xi = O(null), Zi = O(0), P = O(null), Qi = O(!0), $i = O(600), F = O(1e3), ea = O("0 0 1000 600"), ta = O({
566
566
  x: 0,
567
567
  y: 0
568
568
  }), na = O({
@@ -810,7 +810,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
810
810
  }
811
811
  function eo() {
812
812
  if (q.value) {
813
- let e = Tc.value.min, t = Tc.value.max, n = Number(G.value.start), r = Number(G.value.end);
813
+ let e = Mc.value.min, t = Mc.value.max, n = Number(G.value.start), r = Number(G.value.end);
814
814
  Number.isFinite(n) || (n = e), Number.isFinite(r) || (r = t), n = Math.max(e, Math.min(n, t)), r = Math.max(n, Math.min(r, t)), r <= n && (n = e, r = t), G.value = {
815
815
  start: n,
816
816
  end: r
@@ -860,7 +860,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
860
860
  if (e == null) return null;
861
861
  let t = Number(e);
862
862
  return Number.isFinite(t) ? t : null;
863
- }), lo = S(() => co.value === null ? _s.value : Y.value.bottom), uo = S(() => {
863
+ }), lo = S(() => co.value === null ? ws.value : Y.value.bottom), uo = S(() => {
864
864
  let e = H.value.chart.grid.labels.yAxis.scaleMax;
865
865
  if (e == null) return null;
866
866
  let t = Number(e);
@@ -930,7 +930,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
930
930
  y: e.y === null ? null : e.y + go.value
931
931
  })) : e.series.map((e) => e + go.value),
932
932
  absoluteValues: q.value ? e.series.map((e) => e.y) : e.series,
933
- segregate: () => Us(e),
933
+ segregate: () => Xs(e),
934
934
  isSegregated: I.value.includes(e.id)
935
935
  }))), xo = S(() => yo.value.map((e) => ({
936
936
  ...e,
@@ -956,7 +956,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
956
956
  }
957
957
  function wo(e) {
958
958
  let t = xo.value.filter((e) => ["line", "plot"].includes(e.type)).flatMap((t) => t.series.map((n, r) => {
959
- let i = wc(n);
959
+ let i = jc(n);
960
960
  return {
961
961
  datapoint: t,
962
962
  point: n,
@@ -967,11 +967,11 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
967
967
  };
968
968
  })).filter((e) => g(e.point?.x) && g(e.point?.y)).reduce((e, t) => !e || t.distance < e.distance ? t : e, null);
969
969
  if (!t) {
970
- Os.value = [], ks.value = null, xa.value = null;
970
+ Fs.value = [], Is.value = null, xa.value = null;
971
971
  return;
972
972
  }
973
973
  let n = Number(t.point.x);
974
- Os.value = xo.value.filter((e) => ["line", "plot"].includes(e.type)).map((e) => {
974
+ Fs.value = xo.value.filter((e) => ["line", "plot"].includes(e.type)).map((e) => {
975
975
  let t = e.series.findIndex((e) => Number(e.x) === n && g(e.y));
976
976
  if (t === -1) return null;
977
977
  let r = e.series[t];
@@ -979,19 +979,19 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
979
979
  datapoint: e,
980
980
  point: r,
981
981
  index: t,
982
- x: wc(r),
982
+ x: jc(r),
983
983
  y: r.y,
984
984
  distance: 0
985
985
  };
986
- }).filter(Boolean), ks.value = wc({ x: n }), xa.value = n;
986
+ }).filter(Boolean), Is.value = jc({ x: n }), xa.value = n;
987
987
  }
988
988
  function To(e) {
989
989
  if (!Number.isFinite(Number(e))) {
990
- Os.value = [], ks.value = null;
990
+ Fs.value = [], Is.value = null;
991
991
  return;
992
992
  }
993
- let t = wc({ x: Number(e) });
994
- wo(t), ks.value = t;
993
+ let t = jc({ x: Number(e) });
994
+ wo(t), Is.value = t;
995
995
  }
996
996
  let Eo = O(0), Do = O(0);
997
997
  function Oo() {
@@ -1048,21 +1048,21 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1048
1048
  };
1049
1049
  }), Mo = S(() => {
1050
1050
  let e = +(H.value.chart.grid.position === "middle"), t = Z.value + e, n = y(Y.value?.top), r = y(Y.value?.bottom);
1051
- return q.value ? H.value.chart.grid.position === "middle" ? Sc.value.map((e, t, i) => {
1051
+ return q.value ? H.value.chart.grid.position === "middle" ? kc.value.map((e, t, i) => {
1052
1052
  if (t === 0) return null;
1053
1053
  let a = i[t - 1], o = a.x + (e.x - a.x) / 2;
1054
1054
  return `M${o},${n} L${o},${r}`;
1055
- }).filter(Boolean).join(" ") : Sc.value.map((e) => `M${e.x},${n} L${e.x},${r}`).join(" ") : Array.from({ length: t }).map((e, t) => {
1056
- let i = H.value.chart.grid.position === "middle" ? rc(t) : nc(t);
1055
+ }).filter(Boolean).join(" ") : kc.value.map((e) => `M${e.x},${n} L${e.x},${r}`).join(" ") : Array.from({ length: t }).map((e, t) => {
1056
+ let i = H.value.chart.grid.position === "middle" ? uc(t) : lc(t);
1057
1057
  return `M${i},${n} L${i},${r}`;
1058
1058
  }).join(" ");
1059
1059
  }), No = S(() => {
1060
1060
  if (!H.value.chart.grid.labels.xAxis.showCrosshairs) return "";
1061
1061
  let e = H.value.chart.grid.labels.xAxis.crosshairSize, t = H.value.chart.grid.labels.xAxis.crosshairsAlwaysAtZero;
1062
- return (q.value ? Sc.value : Go.value).map((n, r) => {
1062
+ return (q.value ? kc.value : Go.value).map((n, r) => {
1063
1063
  if (!n || !n.text) return null;
1064
- let i = q.value ? n.x : nc(r);
1065
- return `M${i},${t ? _s.value - (_s.value === Y.value?.bottom ? 0 : e / 2) : Y.value?.bottom} L${i},${t ? _s.value + e / (_s.value === Y.value?.bottom ? 1 : 2) : Y.value?.bottom + e}`;
1064
+ let i = q.value ? n.x : lc(r);
1065
+ return `M${i},${t ? ws.value - (ws.value === Y.value?.bottom ? 0 : e / 2) : Y.value?.bottom} L${i},${t ? ws.value + e / (ws.value === Y.value?.bottom ? 1 : 2) : Y.value?.bottom + e}`;
1066
1066
  }).filter(Boolean).join(" ");
1067
1067
  });
1068
1068
  function Po() {
@@ -1168,12 +1168,12 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1168
1168
  }
1169
1169
  function Yo(e) {
1170
1170
  if (!q.value || !g(e)) {
1171
- xa.value = null, Os.value = [], ks.value = null;
1171
+ xa.value = null, Fs.value = [], Is.value = null;
1172
1172
  return;
1173
1173
  }
1174
1174
  xa.value = Number(e), To(Number(e));
1175
1175
  }
1176
- let Xo = S(() => q.value ? g(xa.value) || g(ks.value) : ![null, void 0].includes(B.value) || ![null, void 0].includes(R.value));
1176
+ let Xo = S(() => q.value ? g(xa.value) || g(Is.value) : ![null, void 0].includes(B.value) || ![null, void 0].includes(R.value));
1177
1177
  function Zo() {
1178
1178
  U.value.isStacked = !U.value.isStacked, U.value.isStacked ? U.value.useIndividualScale = !0 : U.value.useIndividualScale = H.value.chart.grid.labels.yAxis.useIndividualScale;
1179
1179
  }
@@ -1190,7 +1190,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1190
1190
  es.value = !0;
1191
1191
  try {
1192
1192
  if (q.value) {
1193
- let e = Tc.value.min, t = Tc.value.max;
1193
+ let e = Mc.value.min, t = Mc.value.max;
1194
1194
  ns.value = e, rs.value = t, G.value.start = e, G.value.end = t, Za.value.start = e, Za.value.end = t, ts.value = !0, zi.value && (zi.value.setStartValue(e), zi.value.setEndValue(t));
1195
1195
  return;
1196
1196
  }
@@ -1206,97 +1206,120 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1206
1206
  }
1207
1207
  }
1208
1208
  }
1209
- let as = O(!1);
1210
- function os(e) {
1209
+ let as = O(!1), os = O(!1), ss = null, cs = null, ls = {};
1210
+ function us(e = G.value) {
1211
+ return Number(e.end) - Number(e.start);
1212
+ }
1213
+ function ds() {
1214
+ ss &&= (cancelAnimationFrame(ss), null), cs &&= (cancelAnimationFrame(cs), null);
1215
+ }
1216
+ function fs(e) {
1217
+ ls = {
1218
+ ...ls,
1219
+ ...e
1220
+ }, ss && cancelAnimationFrame(ss), ss = requestAnimationFrame(() => {
1221
+ let e = us(), t = {
1222
+ ...G.value,
1223
+ ...ls
1224
+ };
1225
+ os.value = us(t) !== e, G.value = t, Za.value = { ...t }, ls = {}, ss = null, eo(), cs && cancelAnimationFrame(cs), cs = requestAnimationFrame(() => {
1226
+ os.value = !1, cs = null;
1227
+ });
1228
+ });
1229
+ }
1230
+ function ps(e) {
1211
1231
  if (es.value || as.value) return;
1212
1232
  let t = Number(e);
1213
1233
  ji("zoomStart", {
1214
1234
  index: t,
1215
1235
  isZoom: St(t, ns.value)
1216
- }), Number.isFinite(t) && t !== G.value.start && (G.value.start = t, Za.value.start = t, eo());
1236
+ }), Number.isFinite(t) && t !== G.value.start && fs({ start: t });
1217
1237
  }
1218
- function ss(e) {
1238
+ function ms(e) {
1219
1239
  if (es.value || as.value) return;
1220
1240
  if (q.value) {
1221
1241
  let t = Number(e);
1222
1242
  if (!Number.isFinite(t)) return;
1223
- let n = Math.max(Number(G.value.start) + 1 / 10 ** H.value.chart.grid.labels.xAxis.rounding, Math.min(t, Tc.value.max));
1243
+ let n = Math.max(Number(G.value.start) + 1 / 10 ** H.value.chart.grid.labels.xAxis.rounding, Math.min(t, Mc.value.max));
1224
1244
  if (ji("zoomEnd", {
1225
1245
  index: n,
1226
1246
  isZoom: St(n, rs.value)
1227
1247
  }), n === G.value.end) return;
1228
- G.value.end = n, Za.value.end = n, eo();
1248
+ fs({ end: n });
1229
1249
  return;
1230
1250
  }
1231
1251
  let t = $o(e);
1232
1252
  ji("zoomEnd", {
1233
1253
  index: t,
1234
1254
  isZoom: St(t, rs.value)
1235
- }), t !== G.value.end && (G.value.end = t, Za.value.end = t, eo());
1255
+ }), t !== G.value.end && fs({ end: t });
1236
1256
  }
1237
- async function cs() {
1238
- await is(), ji("zoomReset");
1257
+ async function hs() {
1258
+ let e = us();
1259
+ os.value = !0, await is(), us() === e ? os.value = !1 : (await it(), cs && cancelAnimationFrame(cs), cs = requestAnimationFrame(() => {
1260
+ os.value = !1, cs = null;
1261
+ })), ji("zoomReset");
1239
1262
  }
1240
- let ls = S(() => K.value.max + go.value);
1241
- function us(e) {
1242
- return e / (vt(ls.value) ? ls.value : 1);
1263
+ let gs = S(() => K.value.max + go.value);
1264
+ function _s(e) {
1265
+ return e / (vt(gs.value) ? gs.value : 1);
1243
1266
  }
1244
- let ds = S(() => H.value.chart.grid.labels.yAxis.reverse);
1245
- function fs(e) {
1246
- return ds.value ? 1 - e : e;
1267
+ let vs = S(() => H.value.chart.grid.labels.yAxis.reverse);
1268
+ function ys(e) {
1269
+ return vs.value ? 1 - e : e;
1247
1270
  }
1248
- function ps({ ratio: e, yOffset: t = 0, individualHeight: n }) {
1249
- let r = fs(e);
1271
+ function bs({ ratio: e, yOffset: t = 0, individualHeight: n }) {
1272
+ let r = ys(e);
1250
1273
  return Y.value?.bottom - t - n * r;
1251
1274
  }
1252
- function ms({ value: e, scaleMin: t, scaleMax: n, yOffset: r = 0, individualHeight: i }) {
1253
- return ps({
1275
+ function xs({ value: e, scaleMin: t, scaleMax: n, yOffset: r = 0, individualHeight: i }) {
1276
+ return bs({
1254
1277
  ratio: (e - t) / (n - t || 1),
1255
1278
  yOffset: r,
1256
1279
  individualHeight: i
1257
1280
  });
1258
1281
  }
1259
- let hs = S(() => H.value.chart.grid.labels.xAxis.reverse);
1260
- function gs(e) {
1261
- return hs.value ? 1 - e : e;
1282
+ let Ss = S(() => H.value.chart.grid.labels.xAxis.reverse);
1283
+ function Cs(e) {
1284
+ return Ss.value ? 1 - e : e;
1262
1285
  }
1263
- let _s = S(() => isNaN(us(go.value)) ? Y.value?.bottom : Y.value?.bottom - Y.value.height * us(go.value));
1264
- function vs(e) {
1286
+ let ws = S(() => isNaN(_s(go.value)) ? Y.value?.bottom : Y.value?.bottom - Y.value.height * _s(go.value));
1287
+ function Ts(e) {
1265
1288
  let t = K.value.min, n = K.value.max - t;
1266
1289
  return !Number.isFinite(e) || !Number.isFinite(n) || n === 0 ? Y.value?.bottom : Y.value?.bottom - Y.value.height * ((e - t) / n);
1267
1290
  }
1268
- let ys = S(() => K.value.min <= 0 && K.value.max >= 0 ? vs(0) : K.value.min > 0 ? vs(K.value.min) : vs(K.value.max));
1269
- function bs(e) {
1270
- let t = ![null, void 0].includes(H.value.chart.grid.labels.yAxis.scaleMin) && H.value.chart.grid.labels.yAxis.scaleMin > 0 && mo.value >= 0 ? Y.value?.bottom : _s.value;
1271
- return e.value >= 0 ? b(t - e.y <= 0 ? 1e-5 : t - e.y) : b(e.y - _s.value <= 0 ? 1e-5 : e.y - _s.value);
1291
+ let Es = S(() => K.value.min <= 0 && K.value.max >= 0 ? Ts(0) : K.value.min > 0 ? Ts(K.value.min) : Ts(K.value.max));
1292
+ function Ds(e) {
1293
+ let t = ![null, void 0].includes(H.value.chart.grid.labels.yAxis.scaleMin) && H.value.chart.grid.labels.yAxis.scaleMin > 0 && mo.value >= 0 ? Y.value?.bottom : ws.value;
1294
+ return e.value >= 0 ? b(t - e.y <= 0 ? 1e-5 : t - e.y) : b(e.y - ws.value <= 0 ? 1e-5 : e.y - ws.value);
1272
1295
  }
1273
- function xs(e) {
1296
+ function Os(e) {
1274
1297
  return e.value >= 0 ? b(e.zeroPosition - e.y <= 0 ? 1e-5 : e.zeroPosition - e.y) : b(e.y - e.zeroPosition <= 0 ? 1e-5 : e.zeroPosition - e.y);
1275
1298
  }
1276
- let Ss = S(() => {
1299
+ let ks = S(() => {
1277
1300
  let e = Math.max(1, Z.value);
1278
1301
  return {
1279
1302
  bar: Tt(Math.max(1, Y.value.width), e * Math.max(1, yo.value.filter((e) => e.type === "bar" && !I.value.includes(e.id)).length), 1),
1280
- plot: ec.value,
1281
- line: ec.value
1303
+ plot: sc.value,
1304
+ line: sc.value
1282
1305
  };
1283
1306
  });
1284
- function Cs() {
1285
- return U.value.useIndividualScale && U.value.isStacked ? Ss.value.line - Y.value.width / Z.value * .1 : Ss.value.bar;
1307
+ function As() {
1308
+ return U.value.useIndividualScale && U.value.isStacked ? ks.value.line - Y.value.width / Z.value * .1 : ks.value.bar;
1286
1309
  }
1287
- function ws(e) {
1288
- return U.value.useIndividualScale && U.value.isStacked ? e.x + Y.value.width / Z.value * .05 : e.x + Ss.value.bar / 2;
1310
+ function js(e) {
1311
+ return U.value.useIndividualScale && U.value.isStacked ? e.x + Y.value.width / Z.value * .05 : e.x + ks.value.bar / 2;
1289
1312
  }
1290
- function Ts(e) {
1313
+ function Ms(e) {
1291
1314
  return e.value >= 0 ? e.y : [
1292
1315
  null,
1293
1316
  void 0,
1294
1317
  NaN,
1295
1318
  Infinity,
1296
1319
  -Infinity
1297
- ].includes(_s.value) ? Y?.bottom.value : _s.value;
1320
+ ].includes(ws.value) ? Y?.bottom.value : ws.value;
1298
1321
  }
1299
- function Es(e) {
1322
+ function Ns(e) {
1300
1323
  return e.value >= 0 ? e.y : [
1301
1324
  null,
1302
1325
  void 0,
@@ -1305,18 +1328,18 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1305
1328
  -Infinity
1306
1329
  ].includes(e.zeroPosition) ? 0 : e.zeroPosition;
1307
1330
  }
1308
- let Ds = O(null), Os = O([]), ks = O(null), As = S(() => q.value ? [...new Set(xo.value.flatMap((e) => e.series || []).filter((e) => g(e?.x) && g(e?.y)).map((e) => Number(e.x)))].sort((e, t) => wc({ x: e }) - wc({ x: t })) : []);
1309
- function js(e) {
1310
- let t = As.value[e];
1331
+ let Ps = O(null), Fs = O([]), Is = O(null), Ls = S(() => q.value ? [...new Set(xo.value.flatMap((e) => e.series || []).filter((e) => g(e?.x) && g(e?.y)).map((e) => Number(e.x)))].sort((e, t) => jc({ x: e }) - jc({ x: t })) : []);
1332
+ function Rs(e) {
1333
+ let t = Ls.value[e];
1311
1334
  if (!g(t)) {
1312
- Os.value = [], ks.value = null, xa.value = null, aa.value = !1;
1335
+ Fs.value = [], Is.value = null, xa.value = null, aa.value = !1;
1313
1336
  return;
1314
1337
  }
1315
1338
  To(Number(t));
1316
- let n = De(wc({ x: Number(t) }), Y.value.top + Y.value.height / 2, z.value);
1339
+ let n = De(jc({ x: Number(t) }), Y.value.top + Y.value.height / 2, z.value);
1317
1340
  n && (Ca.value = n), B.value = e, Sa.value = e, aa.value = !0;
1318
1341
  }
1319
- function Ms(e) {
1342
+ function zs(e) {
1320
1343
  let t = z.value;
1321
1344
  if (!t) return null;
1322
1345
  if (t.createSVGPoint && t.getScreenCTM) {
@@ -1344,46 +1367,46 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1344
1367
  ok: !0
1345
1368
  };
1346
1369
  }
1347
- let Ns = 0;
1348
- function Ps(e) {
1349
- Sa.value = null, !ra.value && (Ns && cancelAnimationFrame(Ns), Ns = requestAnimationFrame(() => {
1350
- Ns = 0;
1351
- let t = Ms(e);
1370
+ let Bs = 0;
1371
+ function Vs(e) {
1372
+ Sa.value = null, !ra.value && (Bs && cancelAnimationFrame(Bs), Bs = requestAnimationFrame(() => {
1373
+ Bs = 0;
1374
+ let t = zs(e);
1352
1375
  if (!t || !z.value) {
1353
- Fs();
1376
+ Hs();
1354
1377
  return;
1355
1378
  }
1356
1379
  let { left: n, right: r, top: i, bottom: a, width: o } = Y.value;
1357
1380
  if (t.x < n || t.x > r || t.y < i || t.y > a) {
1358
- Fs();
1381
+ Hs();
1359
1382
  return;
1360
1383
  }
1361
1384
  if (q.value) {
1362
- wo(t.x), Uc(!0, B.value ?? 0);
1385
+ wo(t.x), Xc(!0, B.value ?? 0);
1363
1386
  return;
1364
1387
  }
1365
- let s = oc(t.x);
1366
- s == null ? Fs() : Ds.value !== s && (Ds.value = s, Uc(!0, s));
1388
+ let s = pc(t.x);
1389
+ s == null ? Hs() : Ps.value !== s && (Ps.value = s, Xc(!0, s));
1367
1390
  }));
1368
1391
  }
1369
- function Fs() {
1370
- Ns &&= (cancelAnimationFrame(Ns), 0), Ds.value = null, R.value = null, xa.value = null, Uc(!1, null), Os.value = [], ks.value = null;
1392
+ function Hs() {
1393
+ Bs &&= (cancelAnimationFrame(Bs), 0), Ps.value = null, R.value = null, xa.value = null, Xc(!1, null), Fs.value = [], Is.value = null;
1371
1394
  }
1372
- function Is(e) {
1373
- let t = Ms(e);
1395
+ function Us(e) {
1396
+ let t = zs(e);
1374
1397
  if (t && z.value) {
1375
1398
  let { left: e, right: n, top: r, bottom: i, width: a } = Y.value;
1376
1399
  if (t.x >= e && t.x <= n && t.y >= r && t.y <= i) {
1377
- let e = oc(t.x);
1400
+ let e = pc(t.x);
1378
1401
  if (e != null) {
1379
- Ls(e);
1402
+ Ws(e);
1380
1403
  return;
1381
1404
  }
1382
1405
  }
1383
1406
  }
1384
- Ds.value != null && Ls(Ds.value);
1407
+ Ps.value != null && Ws(Ps.value);
1385
1408
  }
1386
- function Ls(e) {
1409
+ function Ws(e) {
1387
1410
  let t = xo.value.map((t) => ({
1388
1411
  name: t.name,
1389
1412
  value: [
@@ -1403,7 +1426,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1403
1426
  seriesIndex: e + G.value.start
1404
1427
  });
1405
1428
  }
1406
- function Rs() {
1429
+ function Gs() {
1407
1430
  return bo.value.map((e) => ({
1408
1431
  values: e.absoluteValues,
1409
1432
  color: e.color,
@@ -1411,7 +1434,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1411
1434
  type: e.type
1412
1435
  }));
1413
1436
  }
1414
- async function zs({ scale: e = 2 } = {}) {
1437
+ async function Ks({ scale: e = 2 } = {}) {
1415
1438
  if (!Li.value) return;
1416
1439
  let { width: t, height: n } = Li.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Be({
1417
1440
  domElement: Li.value,
@@ -1428,15 +1451,15 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1428
1451
  aspectRatio: r
1429
1452
  };
1430
1453
  }
1431
- function Bs() {
1454
+ function qs() {
1432
1455
  I.value.length ? I.value = [] : bo.value.forEach((e) => {
1433
1456
  I.value.push(e.id);
1434
- }), Hs();
1457
+ }), Ys();
1435
1458
  }
1436
- function Vs(e, t) {
1437
- (e.key === "Enter" || e.key === " ") && (e.preventDefault(), Us(t));
1459
+ function Js(e, t) {
1460
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), Xs(t));
1438
1461
  }
1439
- function Hs() {
1462
+ function Ys() {
1440
1463
  ji("selectLegend", xo.value.map((e) => ({
1441
1464
  name: e.name,
1442
1465
  values: e.absoluteValues,
@@ -1444,26 +1467,26 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1444
1467
  type: e.type
1445
1468
  })));
1446
1469
  }
1447
- function Us(e) {
1470
+ function Xs(e) {
1448
1471
  if (I.value.includes(e.id)) I.value = I.value.filter((t) => t !== e.id);
1449
1472
  else {
1450
1473
  if (I.value.length + 1 === yo.value.length) return;
1451
1474
  I.value.push(e.id);
1452
1475
  }
1453
- Hs(), da.value += 1;
1476
+ Ys(), da.value += 1;
1454
1477
  }
1455
- function Ws(e) {
1478
+ function Zs(e) {
1456
1479
  return bo.value.length ? bo.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);
1457
1480
  }
1458
- function Gs(e) {
1459
- let t = Ws(e);
1460
- t !== null && I.value.includes(t.id) && Us({ id: t.id });
1481
+ function Qs(e) {
1482
+ let t = Zs(e);
1483
+ t !== null && I.value.includes(t.id) && Xs({ id: t.id });
1461
1484
  }
1462
- function Ks(e) {
1463
- let t = Ws(e);
1464
- t !== null && (I.value.includes(t.id) || Us({ id: t.id }));
1485
+ function $s(e) {
1486
+ let t = Zs(e);
1487
+ t !== null && (I.value.includes(t.id) || Xs({ id: t.id }));
1465
1488
  }
1466
- let qs = S(() => `${H.value.chart.title.text || "Chart visualization"}. ${H.value.chart.title.subtitle.text || ""}`), Js = S(() => ({ linePlot: Z.value > H.value.line.dot.hideAboveMaxSerieLength })), Ys = S(() => H.value.chart.userOptions.show && (!H.value.chart.title.show || !H.value.chart.title.text)), Xs = S(() => {
1489
+ let ec = S(() => `${H.value.chart.title.text || "Chart visualization"}. ${H.value.chart.title.subtitle.text || ""}`), tc = S(() => ({ linePlot: Z.value > H.value.line.dot.hideAboveMaxSerieLength })), nc = S(() => H.value.chart.userOptions.show && (!H.value.chart.title.show || !H.value.chart.title.text)), rc = S(() => {
1467
1490
  if (Array.isArray(H.value.chart.highlightArea)) return H.value.chart.highlightArea.map((e) => {
1468
1491
  let t = Math.min(e.to, Xa.value - 1);
1469
1492
  return {
@@ -1479,12 +1502,12 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1479
1502
  ...e,
1480
1503
  span: e.from === e.to ? 1 : e.to < e.from ? 0 : e.to - e.from + 1
1481
1504
  }];
1482
- }), Zs = S(() => Qi.value ? W.value.map((e, t) => ({
1505
+ }), ic = S(() => Qi.value ? W.value.map((e, t) => ({
1483
1506
  ...e,
1484
1507
  series: Ya(e.series),
1485
1508
  id: `uniqueId_${t}`,
1486
1509
  color: Te(e.color ? e.color : so.value[t] ? so.value[t] : p[t])
1487
- })) : W.value), Qs = S(() => xo.value.map((e) => {
1510
+ })) : W.value), ac = S(() => xo.value.map((e) => {
1488
1511
  let t = e.absoluteValues.map((e) => [void 0, null].includes(e) ? 0 : e);
1489
1512
  return {
1490
1513
  id: e.id,
@@ -1492,7 +1515,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1492
1515
  color: e.color,
1493
1516
  values: yt(Z.value, t)
1494
1517
  };
1495
- })), $s = S(() => ({
1518
+ })), oc = S(() => ({
1496
1519
  responsiveBreakpoint: H.value.table.responsiveBreakpoint,
1497
1520
  roundingValues: H.value.table.rounding,
1498
1521
  showAverage: !1,
@@ -1501,7 +1524,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1501
1524
  fontFamily: H.value.chart.fontFamily,
1502
1525
  prefix: H.value.chart.labels.prefix,
1503
1526
  suffix: H.value.chart.labels.suffix,
1504
- colNames: X.value.map((e, t) => H.value.table.useDefaultTimeFormat ? e.text : Lc.value(t + G.value.start, H.value.table.timeFormat)),
1527
+ colNames: X.value.map((e, t) => H.value.table.useDefaultTimeFormat ? e.text : Wc.value(t + G.value.start, H.value.table.timeFormat)),
1505
1528
  thead: {
1506
1529
  backgroundColor: H.value.table.th.backgroundColor,
1507
1530
  color: H.value.table.th.color,
@@ -1514,42 +1537,42 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1514
1537
  },
1515
1538
  userOptions: { show: !1 },
1516
1539
  sparkline: { animation: { show: !1 } }
1517
- })), ec = S(() => {
1540
+ })), sc = S(() => {
1518
1541
  let e = Math.max(0, Y.value?.width || 0);
1519
1542
  return H.value.chart.grid.position === "middle" ? Tt(e, Math.max(1, Z.value), 1) : Tt(e, Math.max(1, Z.value - 1), 0);
1520
- }), tc = S(() => H.value.chart.grid.position === "middle" ? ec.value : Z.value <= 1 ? Math.max(0, Y.value?.width || 0) : ec.value);
1521
- function nc(e) {
1543
+ }), cc = S(() => H.value.chart.grid.position === "middle" ? sc.value : Z.value <= 1 ? Math.max(0, Y.value?.width || 0) : sc.value);
1544
+ function lc(e) {
1522
1545
  let t = Y.value?.left || 0;
1523
- return H.value.chart.grid.position === "middle" ? t + ec.value / 2 + ec.value * e : t + ec.value * e;
1546
+ return H.value.chart.grid.position === "middle" ? t + sc.value / 2 + sc.value * e : t + sc.value * e;
1524
1547
  }
1525
- function rc(e) {
1548
+ function uc(e) {
1526
1549
  let t = Y.value?.left || 0;
1527
- return H.value.chart.grid.position === "middle" ? t + ec.value * e : Z.value <= 1 ? t : t + ec.value * e - ec.value / 2;
1550
+ return H.value.chart.grid.position === "middle" ? t + sc.value * e : Z.value <= 1 ? t : t + sc.value * e - sc.value / 2;
1528
1551
  }
1529
- function ic(e) {
1530
- return Math.max(Y.value?.left || 0, rc(e));
1552
+ function dc(e) {
1553
+ return Math.max(Y.value?.left || 0, uc(e));
1531
1554
  }
1532
- function ac(e) {
1533
- let t = Y.value?.left || 0, n = Y.value?.right || 0, r = rc(e), i = r + tc.value;
1555
+ function fc(e) {
1556
+ let t = Y.value?.left || 0, n = Y.value?.right || 0, r = uc(e), i = r + cc.value;
1534
1557
  return Math.max(1e-5, Math.min(n, i) - Math.max(t, r));
1535
1558
  }
1536
- function oc(e) {
1559
+ function pc(e) {
1537
1560
  let t = Y.value?.left || 0, n = Y.value?.right || 0;
1538
1561
  for (let r = 0; r < Z.value; r += 1) {
1539
- let i = Math.max(t, rc(r)), a = Math.min(n, rc(r) + tc.value);
1562
+ let i = Math.max(t, uc(r)), a = Math.min(n, uc(r) + cc.value);
1540
1563
  if (e >= i && e <= a) return r;
1541
1564
  }
1542
1565
  return null;
1543
1566
  }
1544
- function sc(e) {
1545
- let t = Y.value?.left || 0, n = Y.value?.right || 0, r = rc(e), i = r + tc.value;
1567
+ function mc(e) {
1568
+ let t = Y.value?.left || 0, n = Y.value?.right || 0, r = uc(e), i = r + cc.value;
1546
1569
  return Math.max(1e-5, Math.min(n, i) - Math.max(t, r));
1547
1570
  }
1548
- function cc(e) {
1549
- return Math.max(1e-5, tc.value * e);
1571
+ function hc(e) {
1572
+ return Math.max(1e-5, cc.value * e);
1550
1573
  }
1551
- let lc = S(() => _(bo.value.filter((e) => !I.value.includes(e.id)))), Q = S(() => {
1552
- let e = bt(lc.value, (e) => e.scaleLabel), t = {};
1574
+ let gc = S(() => _(bo.value.filter((e) => !I.value.includes(e.id)))), Q = S(() => {
1575
+ let e = bt(gc.value, (e) => e.scaleLabel), t = {};
1553
1576
  for (let [n, r] of Object.entries(e)) {
1554
1577
  let e = r.flatMap((e) => e.absoluteValues);
1555
1578
  t[n] = {
@@ -1559,19 +1582,19 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1559
1582
  };
1560
1583
  }
1561
1584
  return t;
1562
- }), uc = S(() => {
1585
+ }), _c = S(() => {
1563
1586
  let e = yo.value.filter((e) => e.type === "bar").filter((e) => !I.value.includes(e.id)).length;
1564
- return Y.value.width / Z.value / e - dc.value * e;
1565
- }), dc = S(() => Ss.value.line * H.value.bar.periodGap), fc = S(() => Math.max(1e-5, Cs() - (U.value.useIndividualScale && U.value.isStacked ? 0 : dc.value))), pc = S(() => fc.value * Math.min(Math.abs(H.value.bar.innerGap), .95)), mc = S(() => {
1587
+ return Y.value.width / Z.value / e - vc.value * e;
1588
+ }), vc = S(() => ks.value.line * H.value.bar.periodGap), yc = S(() => Math.max(1e-5, As() - (U.value.useIndividualScale && U.value.isStacked ? 0 : vc.value))), bc = S(() => yc.value * Math.min(Math.abs(H.value.bar.innerGap), .95)), xc = S(() => {
1566
1589
  if (!H.value.chart.zoom.minimap.show) return [];
1567
- let e = Zs.value.filter((e) => !I.value.includes(e.id)), t = Math.max(...e.map((e) => e.series.length)), n = [];
1590
+ let e = ic.value.filter((e) => !I.value.includes(e.id)), t = Math.max(...e.map((e) => e.series.length)), n = [];
1568
1591
  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));
1569
1592
  let r = Math.min(...n);
1570
1593
  return n.map((e) => e + (r < 0 ? Math.abs(r) : 0));
1571
- }), hc = S(() => H.value.chart.zoom.minimap.show ? Zs.value.map((e) => ({
1594
+ }), Sc = S(() => H.value.chart.zoom.minimap.show ? ic.value.map((e) => ({
1572
1595
  ...e,
1573
1596
  isVisible: !I.value.includes(e.id)
1574
- })) : []), gc = S(() => q.value ? Os.value.map((e) => ({
1597
+ })) : []), Cc = S(() => q.value ? Fs.value.map((e) => ({
1575
1598
  slotAbsoluteIndex: e.datapoint.slotAbsoluteIndex,
1576
1599
  shape: e.datapoint.shape || e.datapoint.type === "bar" ? "square" : "circle",
1577
1600
  name: e.datapoint.name,
@@ -1592,20 +1615,20 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1592
1615
  comments: e.comments || [],
1593
1616
  prefix: e.prefix || H.value.chart.labels.prefix,
1594
1617
  suffix: e.suffix || H.value.chart.labels.suffix
1595
- }))), _c = S(() => K.value.ticks.map((e) => {
1596
- let t = e >= 0 ? _s.value - Y.value.height * us(e) : _s.value + Y.value.height * us(Math.abs(e));
1618
+ }))), wc = S(() => K.value.ticks.map((e) => {
1619
+ let t = e >= 0 ? ws.value - Y.value.height * _s(e) : ws.value + Y.value.height * _s(Math.abs(e));
1597
1620
  return {
1598
- y: ds.value ? Y.value.top + Y.value.bottom - t : t,
1621
+ y: vs.value ? Y.value.top + Y.value.bottom - t : t,
1599
1622
  value: e,
1600
1623
  prefix: H.value.chart.labels.prefix,
1601
1624
  suffix: H.value.chart.labels.suffix
1602
1625
  };
1603
- })), vc = S(() => {
1626
+ })), Tc = S(() => {
1604
1627
  let e = H.value.chart.annotations;
1605
1628
  if (!e || !Array.isArray(e) || e.every((e) => !e.show)) return [];
1606
1629
  let t = e.filter((e) => e.show && (e.yAxis.yTop != null || e.yAxis.yBottom != null));
1607
1630
  if (!t.length) return [];
1608
- let { left: n, right: r } = Y.value, i = _s.value, a = Y.value.height, o = K.value.min, c = K.value.max - o, l = (e) => i - (e - 0) / c * a;
1631
+ let { left: n, right: r } = Y.value, i = ws.value, a = Y.value.height, o = K.value.min, c = K.value.max - o, l = (e) => i - (e - 0) / c * a;
1609
1632
  return t.map((e) => {
1610
1633
  let { yAxis: { yTop: t, yBottom: i, label: a } } = e, o = t != null && i != null && t !== i, c = t == null ? null : l(t), u = i == null ? null : l(i), ee = Fo(a.fontSize);
1611
1634
  ee.font = `${a.fontSize}px sans-serif`;
@@ -1644,11 +1667,11 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1644
1667
  };
1645
1668
  });
1646
1669
  });
1647
- function yc(e, t) {
1670
+ function Ec(e, t) {
1648
1671
  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;
1649
1672
  return vt(e[t].value) && i && H.value.line.cutNullValues;
1650
1673
  }
1651
- let bc = S(() => {
1674
+ let Dc = S(() => {
1652
1675
  let e = yo.value.flatMap((e) => e.series.map((e) => e.x)).filter(Number.isFinite);
1653
1676
  if (!e.length) return {
1654
1677
  min: 0,
@@ -1659,15 +1682,15 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1659
1682
  min: t,
1660
1683
  max: t === n ? n + 1 : n
1661
1684
  };
1662
- }), xc = S(() => {
1663
- let e = H.value.chart.grid.labels.xAxis.commonScaleSteps, t = H.value.chart.grid.labels.xAxis.scaleMin, n = H.value.chart.grid.labels.xAxis.scaleMax, r = t !== null && Number.isFinite(Number(t)) ? Number(t) : bc.value.min, i = n !== null && Number.isFinite(Number(n)) ? Number(n) : bc.value.max, a = H.value.chart.grid.labels.xAxis.useNiceScale ? fe(r, i, e) : ue(r, i, e);
1685
+ }), Oc = S(() => {
1686
+ let e = H.value.chart.grid.labels.xAxis.commonScaleSteps, t = H.value.chart.grid.labels.xAxis.scaleMin, n = H.value.chart.grid.labels.xAxis.scaleMax, r = t !== null && Number.isFinite(Number(t)) ? Number(t) : Dc.value.min, i = n !== null && Number.isFinite(Number(n)) ? Number(n) : Dc.value.max, a = H.value.chart.grid.labels.xAxis.useNiceScale ? fe(r, i, e) : ue(r, i, e);
1664
1687
  if (H.value.chart.grid.position !== "start") return a;
1665
1688
  let o = a.ticks.length > 1 ? a.ticks[1] - a.ticks[0] : 1;
1666
1689
  return {
1667
1690
  ...a,
1668
1691
  max: a.max + o
1669
1692
  };
1670
- }), Sc = S(() => q.value ? (hs.value ? [...xc.value.ticks].reverse() : [...xc.value.ticks]).map((e, t) => ({
1693
+ }), kc = S(() => q.value ? (Ss.value ? [...Oc.value.ticks].reverse() : [...Oc.value.ticks]).map((e, t) => ({
1671
1694
  id: `continuous_x_label_${t}`,
1672
1695
  text: v(H.value.chart.grid.labels.xAxis.formatter, e, o({
1673
1696
  v: e,
@@ -1679,17 +1702,17 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1679
1702
  seriesIndex: t
1680
1703
  }),
1681
1704
  value: e,
1682
- x: wc({ x: e }),
1705
+ x: jc({ x: e }),
1683
1706
  index: t
1684
1707
  })) : Go.value);
1685
- function Cc(e, t) {
1686
- return q.value ? e.x : nc(t);
1708
+ function Ac(e, t) {
1709
+ return q.value ? e.x : lc(t);
1687
1710
  }
1688
- function wc({ x: e }) {
1689
- let t = xc.value.max - xc.value.min || 1, n = gs((e - xc.value.min) / t);
1711
+ function jc({ x: e }) {
1712
+ let t = Oc.value.max - Oc.value.min || 1, n = Cs((e - Oc.value.min) / t);
1690
1713
  return Y.value.left + Y.value.width * n;
1691
1714
  }
1692
- let Tc = S(() => {
1715
+ let Mc = S(() => {
1693
1716
  let e = W.value.flatMap((e) => e.series || []).filter(xt).map((e) => Number(e.x)).filter(Number.isFinite);
1694
1717
  if (!e.length) return {
1695
1718
  min: 0,
@@ -1700,11 +1723,11 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1700
1723
  min: t,
1701
1724
  max: t === n ? n + 1 : n
1702
1725
  };
1703
- }), Ec = S(() => q.value ? Tc.value.min : 0), Dc = S(() => q.value ? Tc.value.max : Xa.value);
1704
- function Oc(e, t) {
1705
- return q.value ? e.x == null || e.y == null ? null : wc(e) : nc(t);
1726
+ }), Nc = S(() => q.value ? Mc.value.min : 0), Pc = S(() => q.value ? Mc.value.max : Xa.value);
1727
+ function Fc(e, t) {
1728
+ return q.value ? e.x == null || e.y == null ? null : jc(e) : lc(t);
1706
1729
  }
1707
- function kc({ datapoint: e, totalSeries: t, gap: n, usableHeight: r, autoScaleValueMin: i, autoScaleValueMax: a, individualExtremes: o, forceExactScale: s = !1 }) {
1730
+ function Ic({ datapoint: e, totalSeries: t, gap: n, usableHeight: r, autoScaleValueMin: i, autoScaleValueMax: a, individualExtremes: o, forceExactScale: s = !1 }) {
1708
1731
  let c = e.scaleSteps || H.value.chart.grid.labels.yAxis.commonScaleSteps, l = 1.0000001, u = s || !H.value.chart.grid.labels.yAxis.useNiceScale ? ue : fe, 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), ne = d.max + Math.abs(p), m = 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;
1709
1732
  return {
1710
1733
  scaleSteps: c,
@@ -1720,8 +1743,8 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1720
1743
  autoScaleZeroPosition: Y.value?.bottom - oe - h * 0 / m
1721
1744
  };
1722
1745
  }
1723
- let Ac = S(() => {
1724
- let e = lc.value.filter((e) => [
1746
+ let Lc = S(() => {
1747
+ let e = gc.value.filter((e) => [
1725
1748
  "bar",
1726
1749
  "line",
1727
1750
  "plot"
@@ -1735,7 +1758,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1735
1758
  }, c = {
1736
1759
  max: e.scaleMax || Math.max(...e.absoluteValues) || 1,
1737
1760
  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)))
1738
- }, { individualScale: l, autoScaleSteps: u, individualZero: ee, individualMax: te, autoScaleMax: d, yOffset: f, individualHeight: p, zeroPosition: ne, autoScaleZeroPosition: m } = kc({
1761
+ }, { individualScale: l, autoScaleSteps: u, individualZero: ee, individualMax: te, autoScaleMax: d, yOffset: f, individualHeight: p, zeroPosition: ne, autoScaleZeroPosition: m } = Ic({
1739
1762
  datapoint: e,
1740
1763
  totalSeries: t,
1741
1764
  gap: n,
@@ -1744,12 +1767,12 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1744
1767
  autoScaleValueMax: s.valueMax,
1745
1768
  individualExtremes: c
1746
1769
  }), re = bo.value.filter((e) => e.type === "bar").filter((e) => !I.value.includes(e.id)).length, ie = e.series.map((t, n) => {
1747
- let i = U.value.useIndividualScale ? (e.absoluteValues[n] + ee) / te : us(t), a = U.value.useIndividualScale && U.value.isStacked ? Y.value?.left + Y.value.width / Z.value * n : Y.value?.left + Ss.value.bar * r + Ss.value.bar * n * re - uc.value / 2 - r * dc.value;
1770
+ let i = U.value.useIndividualScale ? (e.absoluteValues[n] + ee) / te : _s(t), a = U.value.useIndividualScale && U.value.isStacked ? Y.value?.left + Y.value.width / Z.value * n : Y.value?.left + ks.value.bar * r + ks.value.bar * n * re - _c.value / 2 - r * vc.value;
1748
1771
  return {
1749
1772
  yOffset: b(f),
1750
1773
  individualHeight: b(p),
1751
1774
  x: b(a),
1752
- y: ps({
1775
+ y: bs({
1753
1776
  ratio: i,
1754
1777
  yOffset: f,
1755
1778
  individualHeight: p
@@ -1760,12 +1783,12 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1760
1783
  comment: e.comments && e.comments.slice(G.value.start, G.value.end)[n] || ""
1761
1784
  };
1762
1785
  }), ae = e.absoluteValues.map((e) => u.min >= 0 ? (e - Math.abs(u.min)) / (u.max - Math.abs(u.min)) : (e + Math.abs(u.min)) / (u.max + Math.abs(u.min))), oe = e.series.map((t, n) => {
1763
- let i = U.value.useIndividualScale && U.value.isStacked ? Y.value?.left + Y.value.width / Z.value * n : Y.value?.left - Ss.value.bar / 2 + Ss.value.bar * r + Ss.value.bar * n * bo.value.filter((e) => e.type === "bar").filter((e) => !I.value.includes(e.id)).length;
1786
+ let i = U.value.useIndividualScale && U.value.isStacked ? Y.value?.left + Y.value.width / Z.value * n : Y.value?.left - ks.value.bar / 2 + ks.value.bar * r + ks.value.bar * n * bo.value.filter((e) => e.type === "bar").filter((e) => !I.value.includes(e.id)).length;
1764
1787
  return {
1765
1788
  yOffset: b(f),
1766
1789
  individualHeight: b(p),
1767
1790
  x: b(i),
1768
- y: b(ps({
1791
+ y: b(bs({
1769
1792
  ratio: ae[n] || 0,
1770
1793
  yOffset: b(f),
1771
1794
  individualHeight: b(p)
@@ -1776,7 +1799,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1776
1799
  comment: e.comments && e.comments.slice(G.value.start, G.value.end)[n] || ""
1777
1800
  };
1778
1801
  }), h = l.ticks.map((t) => ({
1779
- y: ms({
1802
+ y: xs({
1780
1803
  value: t,
1781
1804
  scaleMin: l.min,
1782
1805
  scaleMax: l.max,
@@ -1788,7 +1811,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1788
1811
  suffix: e.suffix || H.value.chart.labels.suffix,
1789
1812
  datapoint: e
1790
1813
  })), se = u.ticks.map((t) => ({
1791
- y: ps({
1814
+ y: bs({
1792
1815
  ratio: (t - u.min) / (u.max - u.min || 1),
1793
1816
  yOffset: f,
1794
1817
  individualHeight: p
@@ -1798,7 +1821,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1798
1821
  suffix: e.suffix || H.value.chart.labels.suffix,
1799
1822
  datapoint: e
1800
1823
  }));
1801
- 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 ? m : ne, 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 = lc.value.filter((t) => t.scaleLabel === e.scaleLabel).length === 1, {
1824
+ 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 ? m : ne, 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 = gc.value.filter((t) => t.scaleLabel === e.scaleLabel).length === 1, {
1802
1825
  ...e,
1803
1826
  yOffset: f,
1804
1827
  autoScaleYLabels: se,
@@ -1812,7 +1835,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1812
1835
  };
1813
1836
  });
1814
1837
  }), $ = S(() => {
1815
- let e = lc.value.filter((e) => [
1838
+ let e = gc.value.filter((e) => [
1816
1839
  "bar",
1817
1840
  "line",
1818
1841
  "plot"
@@ -1826,7 +1849,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1826
1849
  }, u = {
1827
1850
  max: e.scaleMax || Math.max(...e.absoluteValues) || 1,
1828
1851
  min: e.scaleMin || (Math.min(...e.absoluteValues) > 0 ? 0 : Math.min(...e.absoluteValues))
1829
- }, { individualScale: d, autoScaleSteps: p, individualZero: ne, individualMax: m, autoScaleMax: ie, yOffset: oe, individualHeight: h, zeroPosition: se, autoScaleZeroPosition: g } = kc({
1852
+ }, { individualScale: d, autoScaleSteps: p, individualZero: ne, individualMax: m, autoScaleMax: ie, yOffset: oe, individualHeight: h, zeroPosition: se, autoScaleZeroPosition: g } = Ic({
1830
1853
  datapoint: e,
1831
1854
  totalSeries: t,
1832
1855
  gap: n,
@@ -1842,11 +1865,11 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1842
1865
  value: null,
1843
1866
  comment: e.comments && e.comments.slice(G.value.start, G.value.end)[n] || ""
1844
1867
  };
1845
- let r = U.value.useIndividualScale ? (e.absoluteValues[n] + Math.abs(ne)) / m : us(vo(t));
1868
+ let r = U.value.useIndividualScale ? (e.absoluteValues[n] + Math.abs(ne)) / m : _s(vo(t));
1846
1869
  return {
1847
1870
  index: n,
1848
- x: b(Oc(t, n)),
1849
- y: b(ps({
1871
+ x: b(Fc(t, n)),
1872
+ y: b(bs({
1850
1873
  ratio: r,
1851
1874
  yOffset: oe,
1852
1875
  individualHeight: h
@@ -1862,14 +1885,14 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1862
1885
  comment: e.comments && e.comments.slice(G.value.start, G.value.end)[n] || ""
1863
1886
  } : [void 0, null].includes(e.absoluteValues[n]) ? {
1864
1887
  index: n,
1865
- x: b(Oc(t, n)),
1888
+ x: b(Fc(t, n)),
1866
1889
  y: se,
1867
1890
  value: e.absoluteValues[n],
1868
1891
  comment: e.comments && e.comments.slice(G.value.start, G.value.end)[n] || ""
1869
1892
  } : {
1870
1893
  index: n,
1871
- x: b(Oc(t, n)),
1872
- y: b(ps({
1894
+ x: b(Fc(t, n)),
1895
+ y: b(bs({
1873
1896
  ratio: ce[n] || 0,
1874
1897
  yOffset: oe,
1875
1898
  individualHeight: h
@@ -1877,7 +1900,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1877
1900
  value: e.absoluteValues[n],
1878
1901
  comment: e.comments && e.comments.slice(G.value.start, G.value.end)[n] || ""
1879
1902
  }), ue = e.dashIndices && Array.isArray(e.dashIndices) && e?.dashIndices?.length > 0, de = H.value.line.cutNullValues ? he(_) : _e(_.filter((e) => e.value !== null)), fe = H.value.line.cutNullValues ? he(le) : _e(le.filter((e) => e.value !== null)), pe = H.value.line.cutNullValues ? ee(_) : l(_.filter((e) => e.value !== null)), v = H.value.line.cutNullValues ? ee(le) : l(le.filter((e) => e.value !== null)), me = i(H.value.line.cutNullValues ? _ : _.filter((e) => e.value !== null)), ge = i(H.value.line.cutNullValues ? le : le.filter((e) => e.value !== null)), ve = ue ? re(H.value.line.cutNullValues ? _ : _.filter((e) => e.value !== null), e.dashIndices.map((e) => e - G.value.start)) : [], ye = ue ? te(H.value.line.cutNullValues ? _ : _.filter((e) => e.value !== null), e.dashIndices.map((e) => e - G.value.start)) : [], y = d.ticks.map((t) => ({
1880
- y: ms({
1903
+ y: xs({
1881
1904
  value: t,
1882
1905
  scaleMin: d.min,
1883
1906
  scaleMax: d.max,
@@ -1889,7 +1912,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1889
1912
  suffix: e.suffix || H.value.chart.labels.suffix,
1890
1913
  datapoint: e
1891
1914
  })), be = p.ticks.map((t) => ({
1892
- y: ps({
1915
+ y: bs({
1893
1916
  ratio: (t - p.min) / (p.max - p.min || 1),
1894
1917
  yOffset: oe,
1895
1918
  individualHeight: h
@@ -1899,7 +1922,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1899
1922
  suffix: e.suffix || H.value.chart.labels.suffix,
1900
1923
  datapoint: e
1901
1924
  }));
1902
- 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 ? be : y, Q.value[e.scaleLabel].zeroPosition = e.autoScaling ? g : se, Q.value[e.scaleLabel].individualMax = e.autoScaling ? ie : m, Q.value[e.scaleLabel].scaleLabel = e.scaleLabel, Q.value[e.scaleLabel].id = e.id, Q.value[e.scaleLabel].yOffset = oe, Q.value[e.scaleLabel].individualHeight = h, Q.value[e.scaleLabel].autoScaleYLabels = be, Q.value[e.scaleLabel].unique = lc.value.filter((t) => t.scaleLabel === e.scaleLabel).length === 1;
1925
+ 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 ? be : y, Q.value[e.scaleLabel].zeroPosition = e.autoScaling ? g : se, Q.value[e.scaleLabel].individualMax = e.autoScaling ? ie : m, Q.value[e.scaleLabel].scaleLabel = e.scaleLabel, Q.value[e.scaleLabel].id = e.id, Q.value[e.scaleLabel].yOffset = oe, Q.value[e.scaleLabel].individualHeight = h, Q.value[e.scaleLabel].autoScaleYLabels = be, Q.value[e.scaleLabel].unique = gc.value.filter((t) => t.scaleLabel === e.scaleLabel).length === 1;
1903
1926
  let xe = U.value.useIndividualScale ? e.autoScaling ? g : se : lo.value, Se = Math.max(Math.max(e.autoScaling ? g : y.at(-1) ? y.at(-1).y : 0, Y.value?.top), xe), we = e.autoScaling ? le : _, Ee = H.value.line.cutNullValues ? we : we.filter((e) => e.value !== null), De = e.absoluteValues.filter((e) => ![
1904
1927
  null,
1905
1928
  void 0,
@@ -1927,8 +1950,8 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1927
1950
  groupId: Q.value[e.scaleLabel].groupId
1928
1951
  };
1929
1952
  });
1930
- }), jc = S(() => {
1931
- let e = lc.value.filter((e) => [
1953
+ }), Rc = S(() => {
1954
+ let e = gc.value.filter((e) => [
1932
1955
  "bar",
1933
1956
  "line",
1934
1957
  "plot"
@@ -1942,7 +1965,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1942
1965
  }, s = {
1943
1966
  max: e.scaleMax || Math.max(...e.absoluteValues) || 1,
1944
1967
  min: e.scaleMin || Math.min(...e.absoluteValues) > 0 ? 0 : Math.min(...e.absoluteValues)
1945
- }, { individualScale: c, autoScaleSteps: l, individualZero: u, individualMax: ee, autoScaleMax: te, yOffset: d, individualHeight: f, zeroPosition: p, autoScaleZeroPosition: ne } = kc({
1968
+ }, { individualScale: c, autoScaleSteps: l, individualZero: u, individualMax: ee, autoScaleMax: te, yOffset: d, individualHeight: f, zeroPosition: p, autoScaleZeroPosition: ne } = Ic({
1946
1969
  datapoint: e,
1947
1970
  totalSeries: t,
1948
1971
  gap: n,
@@ -1959,11 +1982,11 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1959
1982
  value: null,
1960
1983
  comment: e.comments && e.comments.slice(G.value.start, G.value.end)[n] || ""
1961
1984
  };
1962
- let r = U.value.useIndividualScale ? (e.absoluteValues[n] + Math.abs(u)) / ee : us(vo(t));
1985
+ let r = U.value.useIndividualScale ? (e.absoluteValues[n] + Math.abs(u)) / ee : _s(vo(t));
1963
1986
  return {
1964
1987
  index: n,
1965
- x: b(Oc(t, n)),
1966
- y: b(ps({
1988
+ x: b(Fc(t, n)),
1989
+ y: b(bs({
1967
1990
  ratio: r,
1968
1991
  yOffset: d,
1969
1992
  individualHeight: f
@@ -1979,8 +2002,8 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1979
2002
  comment: e.comments && e.comments.slice(G.value.start, G.value.end)[n] || ""
1980
2003
  } : {
1981
2004
  index: n,
1982
- x: b(Oc(t, n)),
1983
- y: b(ps({
2005
+ x: b(Fc(t, n)),
2006
+ y: b(bs({
1984
2007
  ratio: re[n] || 0,
1985
2008
  yOffset: d,
1986
2009
  individualHeight: f
@@ -1988,7 +2011,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
1988
2011
  value: e.absoluteValues[n],
1989
2012
  comment: e.comments && e.comments.slice(G.value.start, G.value.end)[n] || ""
1990
2013
  }), ae = c.ticks.map((t) => ({
1991
- y: ms({
2014
+ y: xs({
1992
2015
  value: t,
1993
2016
  scaleMin: c.min,
1994
2017
  scaleMax: c.max,
@@ -2000,7 +2023,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2000
2023
  suffix: e.suffix || H.value.chart.labels.suffix,
2001
2024
  datapoint: e
2002
2025
  })), oe = l.ticks.map((t) => ({
2003
- y: ps({
2026
+ y: bs({
2004
2027
  ratio: (t - l.min) / (l.max - l.min || 1),
2005
2028
  yOffset: d,
2006
2029
  individualHeight: f
@@ -2010,7 +2033,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2010
2033
  suffix: e.suffix || H.value.chart.labels.suffix,
2011
2034
  datapoint: e
2012
2035
  }));
2013
- 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 ? ne : 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 = lc.value.filter((t) => t.scaleLabel === e.scaleLabel).length === 1, {
2036
+ 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 ? ne : 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 = gc.value.filter((t) => t.scaleLabel === e.scaleLabel).length === 1, {
2014
2037
  ...e,
2015
2038
  yOffset: d,
2016
2039
  autoScaleYLabels: oe,
@@ -2023,7 +2046,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2023
2046
  groupId: Q.value[e.scaleLabel].groupId
2024
2047
  };
2025
2048
  });
2026
- }), Mc = S(() => {
2049
+ }), zc = S(() => {
2027
2050
  let e = $.value.map((e) => ({
2028
2051
  name: e.name,
2029
2052
  color: e.color,
@@ -2036,7 +2059,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2036
2059
  yOffset: e.yOffset || 0,
2037
2060
  individualHeight: e.individualHeight || Y.value.height,
2038
2061
  autoScaleYLabels: e.autoScaleYLabels
2039
- })), t = Ac.value.map((e) => ({
2062
+ })), t = Lc.value.map((e) => ({
2040
2063
  name: e.name,
2041
2064
  color: e.color,
2042
2065
  scale: e.individualScale,
@@ -2047,7 +2070,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2047
2070
  id: e.id,
2048
2071
  yOffset: e.yOffset || 0,
2049
2072
  individualHeight: e.individualHeight || Y.value.height
2050
- })), n = jc.value.map((e) => ({
2073
+ })), n = Rc.value.map((e) => ({
2051
2074
  name: e.name,
2052
2075
  color: e.color,
2053
2076
  scale: e.individualScale,
@@ -2079,7 +2102,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2079
2102
  individualHeight: e.individualHeight,
2080
2103
  x: n,
2081
2104
  yLabels: e.scaleYLabels || e.scale.ticks.map((t) => ({
2082
- y: ms({
2105
+ y: xs({
2083
2106
  value: t,
2084
2107
  scaleMin: e.scale.min,
2085
2108
  scaleMax: e.scale.max,
@@ -2090,7 +2113,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2090
2113
  }))
2091
2114
  };
2092
2115
  });
2093
- }), Nc = S(() => {
2116
+ }), Bc = S(() => {
2094
2117
  let e = H.value.line.interLine || {}, t = e.pairs || [], n = e.colors || [];
2095
2118
  if (!t.length) return [];
2096
2119
  let r = [];
@@ -2116,44 +2139,52 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2116
2139
  });
2117
2140
  });
2118
2141
  }), r;
2119
- }), Pc = S(() => ({
2120
- timeLabel: X.value[B.value],
2121
- datapoint: gc.value,
2122
- seriesIndex: B.value,
2123
- series: bo.value,
2124
- bars: Ac.value,
2125
- lines: $.value,
2126
- plots: jc.value,
2127
- config: H.value
2128
- })), Fc = O({
2142
+ }), Vc = S(() => {
2143
+ let e = Fs.value[0]?.index ?? null, t = q.value ? e : B.value;
2144
+ return {
2145
+ timeLabel: q.value ? {
2146
+ text: String(Fs.value[0]?.point.raw?.x ?? Fs.value[0]?.point.x),
2147
+ absoluteIndex: e
2148
+ } : X.value[B.value],
2149
+ datapoint: Cc.value,
2150
+ seriesIndex: B.value,
2151
+ selectedIndex: t,
2152
+ absoluteIndex: q.value ? e : B.value + G.value.start,
2153
+ series: bo.value,
2154
+ bars: Lc.value,
2155
+ lines: $.value,
2156
+ plots: Rc.value,
2157
+ config: H.value
2158
+ };
2159
+ }), Hc = O({
2129
2160
  months: [],
2130
2161
  shortMonths: [],
2131
2162
  days: [],
2132
2163
  shortDays: []
2133
- }), Ic = 0;
2164
+ }), Uc = 0;
2134
2165
  gt(() => {
2135
- let e = ++Ic, t = H.value.chart.grid.labels.xAxisLabels.datetimeFormatter;
2166
+ let e = ++Uc, t = H.value.chart.grid.labels.xAxisLabels.datetimeFormatter;
2136
2167
  (async () => {
2137
2168
  let n = await ke(t.locale).catch(() => ke("en"));
2138
- e === Ic && (Fc.value = n.data);
2169
+ e === Uc && (Hc.value = n.data);
2139
2170
  })();
2140
2171
  });
2141
- let Lc = S(() => {
2172
+ let Wc = S(() => {
2142
2173
  let e = H.value.chart.grid.labels.xAxisLabels.datetimeFormatter, t = Oe({
2143
2174
  useUTC: e.useUTC,
2144
- locale: Fc.value,
2175
+ locale: Hc.value,
2145
2176
  januaryAsYear: e.januaryAsYear
2146
2177
  });
2147
2178
  return (e, n) => {
2148
2179
  let r = H.value.chart.grid.labels.xAxisLabels.values?.[e];
2149
2180
  return r == null ? "" : t.formatDate(new Date(r), n);
2150
2181
  };
2151
- }), Rc = S(() => (H.value.chart.grid.labels.xAxisLabels.values || []).map((e, t) => ({
2152
- text: Lc.value(t, H.value.chart.zoom.timeFormat),
2182
+ }), Gc = S(() => (H.value.chart.grid.labels.xAxisLabels.values || []).map((e, t) => ({
2183
+ text: Wc.value(t, H.value.chart.zoom.timeFormat),
2153
2184
  absoluteIndex: t
2154
- }))), zc = S(() => {
2155
- let e = "", t = gc.value.map((e) => e.value).filter((e) => de(e) && e !== null).reduce((e, t) => Math.abs(e) + Math.abs(t), 0), n = q.value ? { text: v(H.value.chart.grid.labels.xAxis.formatter, Os.value[0]?.point.raw?.x ?? Os.value[0]?.point.x, o({
2156
- v: Os.value[0]?.point.raw?.x ?? Os.value[0]?.point.x,
2185
+ }))), Kc = S(() => {
2186
+ let e = "", t = Cc.value.map((e) => e.value).filter((e) => de(e) && e !== null).reduce((e, t) => Math.abs(e) + Math.abs(t), 0), n = q.value ? { text: v(H.value.chart.grid.labels.xAxis.formatter, Fs.value[0]?.point.raw?.x ?? Fs.value[0]?.point.x, o({
2187
+ v: Fs.value[0]?.point.raw?.x ?? Fs.value[0]?.point.x,
2157
2188
  r: H.value.chart.tooltip.roundingValue
2158
2189
  }), {
2159
2190
  datapoint: null,
@@ -2162,29 +2193,29 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2162
2193
  if (pe(i) && me(() => i({
2163
2194
  absoluteIndex: B.value + G.value.start,
2164
2195
  seriesIndex: B.value,
2165
- datapoint: gc.value,
2196
+ datapoint: Cc.value,
2166
2197
  series: bo.value,
2167
- bars: Ac.value,
2198
+ bars: Lc.value,
2168
2199
  lines: $.value,
2169
- plots: jc.value,
2200
+ plots: Rc.value,
2170
2201
  config: H.value,
2171
2202
  dateLabel: n
2172
2203
  }))) return i({
2173
2204
  absoluteIndex: B.value + G.value.start,
2174
2205
  seriesIndex: B.value,
2175
- datapoint: gc.value,
2206
+ datapoint: Cc.value,
2176
2207
  series: bo.value,
2177
- bars: Ac.value,
2208
+ bars: Lc.value,
2178
2209
  lines: $.value,
2179
- plots: jc.value,
2210
+ plots: Rc.value,
2180
2211
  config: H.value,
2181
2212
  dateLabel: n
2182
2213
  });
2183
2214
  if (n && n.text && H.value.chart.tooltip.showTimeLabel) {
2184
- let t = Lc.value(B.value + G.value.start, H.value.chart.tooltip.timeFormat);
2215
+ let t = Wc.value(B.value + G.value.start, H.value.chart.tooltip.timeFormat);
2185
2216
  q.value || (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>`);
2186
2217
  }
2187
- return gc.value.forEach((i) => {
2218
+ return Cc.value.forEach((i) => {
2188
2219
  if (de(i.value)) {
2189
2220
  let a = "", s = "";
2190
2221
  switch (na.value[i.type]) {
@@ -2336,7 +2367,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2336
2367
  v: i.value,
2337
2368
  s: i.suffix,
2338
2369
  r: H.value.chart.tooltip.roundingValue
2339
- }), { datapoint: i }) : "", l = H.value.chart.tooltip.showValue ? n.text : "", u = q.value ? `
2370
+ }), { datapoint: i }) : "", l = H.value.chart.tooltip.showValue ? n?.text ?? "" : "", u = q.value ? `
2340
2371
  <span>${H.value.chart.grid.labels.axis.xLabel || "X"}: </span>
2341
2372
  <span>${l}</span>,
2342
2373
  <span>${H.value.chart.grid.labels.axis.yLabel || "Y"}: </span>
@@ -2359,7 +2390,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2359
2390
  })})` : ""}</div>`, H.value.chart.comments.showInTooltip && i.comments.length && i.comments.slice(G.value.start, G.value.end)[B.value] && (e += `<div class="vue-data-ui-tooltip-comment" style="background:${i.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${i.color}">${i.comments.slice(G.value.start, G.value.end)[B.value]}</div>`);
2360
2391
  }
2361
2392
  }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${H.value.chart.tooltip.color}">${e}</div>`;
2362
- }), Bc = S(() => {
2393
+ }), qc = S(() => {
2363
2394
  if (yo.value.length === 0) return {
2364
2395
  head: [],
2365
2396
  body: [],
@@ -2372,7 +2403,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2372
2403
  type: e.type
2373
2404
  })), t = [];
2374
2405
  return X.value.forEach((e, n) => {
2375
- let r = H.value.table.useDefaultTimeFormat ? [e.text] : [Lc.value(n + G.value.start, H.value.table.timeFormat)];
2406
+ let r = H.value.table.useDefaultTimeFormat ? [e.text] : [Wc.value(n + G.value.start, H.value.table.timeFormat)];
2376
2407
  xo.value.forEach((e) => {
2377
2408
  r.push(vt(e.absoluteValues[n]) ? Number(e.absoluteValues[n].toFixed(H.value.table.rounding)) : "");
2378
2409
  }), t.push(r);
@@ -2380,13 +2411,13 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2380
2411
  head: e,
2381
2412
  body: t
2382
2413
  };
2383
- }), Vc = S(() => {
2414
+ }), Jc = S(() => {
2384
2415
  let e = H.value.table.showSum, t = [""].concat(xo.value.map((e) => e.name));
2385
2416
  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>"));
2386
2417
  let n = [];
2387
2418
  for (let t = 0; t < Z.value; t += 1) {
2388
2419
  let r = xo.value.map((e) => e.absoluteValues[t] ?? 0).reduce((e, t) => e + t, 0);
2389
- n.push([H.value.table.useDefaultTimeFormat ? X.value[t]?.text ?? "-" : Lc.value(t + G.value.start, H.value.table.timeFormat)].concat(xo.value.map((e) => v(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, o({
2420
+ n.push([H.value.table.useDefaultTimeFormat ? X.value[t]?.text ?? "-" : Wc.value(t + G.value.start, H.value.table.timeFormat)].concat(xo.value.map((e) => v(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, o({
2390
2421
  p: e.prefix || H.value.chart.labels.prefix,
2391
2422
  v: e.absoluteValues[t] ?? 0,
2392
2423
  s: e.suffix || H.value.chart.labels.suffix,
@@ -2413,18 +2444,18 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2413
2444
  colNames: i
2414
2445
  };
2415
2446
  });
2416
- function Hc(e = null) {
2447
+ function Yc(e = null) {
2417
2448
  let t = [
2418
2449
  [H.value.chart.title.text],
2419
2450
  [H.value.chart.title.subtitle.text],
2420
2451
  [""]
2421
- ], n = ["", ...Bc.value.head.map((e) => e.label)], r = Bc.value.body, i = ie(t.concat([n]).concat(r));
2452
+ ], n = ["", ...qc.value.head.map((e) => e.label)], r = qc.value.body, i = ie(t.concat([n]).concat(r));
2422
2453
  e ? e(i) : u({
2423
2454
  csvContent: i,
2424
2455
  title: H.value.chart.title.text || "vue-ui-xy"
2425
2456
  });
2426
2457
  }
2427
- function Uc(e, t = null) {
2458
+ function Xc(e, t = null) {
2428
2459
  if (So.value) return;
2429
2460
  aa.value = e;
2430
2461
  let n = xo.value.map((e) => ({
@@ -2445,19 +2476,19 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2445
2476
  seriesIndex: t + G.value.start
2446
2477
  }));
2447
2478
  }
2448
- function Wc() {
2479
+ function Zc() {
2449
2480
  U.value.showTable = !U.value.showTable;
2450
2481
  }
2451
- function Gc() {
2482
+ function Qc() {
2452
2483
  U.value.dataLabels.show = !U.value.dataLabels.show;
2453
2484
  }
2454
- function Kc() {
2485
+ function $c() {
2455
2486
  U.value.showTooltip = !U.value.showTooltip;
2456
2487
  }
2457
- function qc(e) {
2488
+ function el(e) {
2458
2489
  ia.value = e, sa.value += 1;
2459
2490
  }
2460
- function Jc() {
2491
+ function tl() {
2461
2492
  if (!H.value.responsiveProportionalSizing) {
2462
2493
  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, Ia.value.plot = H.value.plot.radius, Ia.value.line = H.value.line.radius, Ia.value.selectedLine = H.value.line.dot.selectedRadius;
2463
2494
  return;
@@ -2506,7 +2537,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2506
2537
  fallback: 0
2507
2538
  });
2508
2539
  }
2509
- function Yc() {
2540
+ function nl() {
2510
2541
  if (oe(N.dataset) ? (se({
2511
2542
  componentName: "VueUiXy",
2512
2543
  type: "dataset",
@@ -2535,26 +2566,26 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2535
2566
  let l = 0;
2536
2567
  Vi.value && (l = Vi.value.getBoundingClientRect().height);
2537
2568
  let u = 0;
2538
- Hi.value && (u = Hi.value.getBoundingClientRect().height), $i.value = t - i - c - o - l - u - 12, F.value = n, ea.value = `0 0 ${F.value < 0 ? 10 : F.value} ${$i.value < 0 ? 10 : $i.value}`, Jc();
2569
+ Hi.value && (u = Hi.value.getBoundingClientRect().height), $i.value = t - i - c - o - l - u - 12, F.value = n, ea.value = `0 0 ${F.value < 0 ? 10 : F.value} ${$i.value < 0 ? 10 : $i.value}`, tl();
2539
2570
  let ee = new ResizeObserver((e) => {
2540
2571
  for (let t of e) i = H.value.chart.title.show && Ri.value ? Ri.value.getBoundingClientRect().height : 0, o = zi.value && zi.value.$el ? zi.value.$el.getBoundingClientRect().height : 0, c = Bi.value ? Bi.value.getBoundingClientRect().height : 0, l = Vi.value ? Vi.value.getBoundingClientRect().height : 0, u = Hi.value ? Hi.value.getBoundingClientRect().height : 0, requestAnimationFrame(() => {
2541
- $i.value = t.contentRect.height - i - c - o - l - u - 12, F.value = t.contentBoxSize[0].inlineSize ?? t.contentRect.width, ea.value = `0 0 ${F.value < 0 ? 10 : F.value} ${$i.value < 0 ? 10 : $i.value}`, Jc(), ka(), ja();
2572
+ $i.value = t.contentRect.height - i - c - o - l - u - 12, F.value = t.contentBoxSize[0].inlineSize ?? t.contentRect.width, ea.value = `0 0 ${F.value < 0 ? 10 : F.value} ${$i.value < 0 ? 10 : $i.value}`, tl(), ka(), ja();
2542
2573
  });
2543
2574
  });
2544
2575
  Yi.value = ee, Xi.value = e, ee.observe(e);
2545
2576
  } else $i.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, Ia.value.plot = H.value.plot.radius, Ia.value.line = H.value.line.radius, Ia.value.selectedLine = H.value.line.dot.selectedRadius, ea.value = `0 0 ${F.value} ${$i.value}`;
2546
2577
  ka(), ja();
2547
2578
  }
2548
- function Xc(e) {
2579
+ function rl(e) {
2549
2580
  ta.value = {
2550
2581
  x: e.clientX,
2551
2582
  y: e.clientY
2552
2583
  };
2553
2584
  }
2554
2585
  ct(() => {
2555
- Yc(), is(), document.addEventListener("mousemove", Xc, { passive: !0 }), document.addEventListener("scroll", Io, { passive: !0 });
2586
+ nl(), is(), document.addEventListener("mousemove", rl, { passive: !0 }), document.addEventListener("scroll", Io, { passive: !0 });
2556
2587
  }), st(() => {
2557
- document.removeEventListener("scroll", Io, { passive: !0 }), document.removeEventListener("mousemove", Xc, { passive: !0 }), Yi.value &&= (Yi.value.unobserve(Xi.value), Yi.value.disconnect(), null);
2588
+ document.removeEventListener("scroll", Io, { passive: !0 }), document.removeEventListener("mousemove", rl, { passive: !0 }), Yi.value &&= (Yi.value.unobserve(Xi.value), Yi.value.disconnect(), null), ds();
2558
2589
  }), ze({
2559
2590
  timeLabelsEls: Ki,
2560
2591
  timeLabels: X,
@@ -2580,30 +2611,30 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2580
2611
  width: F,
2581
2612
  rotation: H.value.chart.grid.labels.xAxisLabels.autoRotate.angle
2582
2613
  });
2583
- let Zc = O(!1), Qc = O(null), $c = O(200), el = S(() => B.value ?? R.value ?? 0), tl = S(() => {
2614
+ let il = O(!1), al = O(null), ol = O(200), sl = S(() => B.value ?? R.value ?? 0), cl = S(() => {
2584
2615
  if (!q.value) return null;
2585
2616
  if (g(xa.value)) return Number(xa.value);
2586
- let e = Os.value[0];
2617
+ let e = Fs.value[0];
2587
2618
  return g(e?.point?.x) ? Number(e.point.x) : null;
2588
2619
  });
2589
- function nl() {
2590
- let e = Math.ceil($c.value || 200);
2620
+ function ll() {
2621
+ let e = Math.ceil(ol.value || 200);
2591
2622
  return Math.min(Math.max(e, 1), 200);
2592
2623
  }
2593
- function rl() {
2594
- let e = nl(), t = (q.value && g(tl.value) ? wc({ x: tl.value }) : nc(el.value)) - e / 2 - (200 - e) / 2, n = Y.value?.left - (200 - e) / 2, r = Y.value?.right - (200 + e) / 2;
2624
+ function ul() {
2625
+ let e = ll(), t = (q.value && g(cl.value) ? jc({ x: cl.value }) : lc(sl.value)) - e / 2 - (200 - e) / 2, n = Y.value?.left - (200 - e) / 2, r = Y.value?.right - (200 + e) / 2;
2595
2626
  return b(Math.max(n, Math.min(t, r)));
2596
2627
  }
2597
2628
  ct(() => {
2598
2629
  let e = null, t = null, n = (e) => {
2599
2630
  cancelAnimationFrame(t), t = requestAnimationFrame(() => {
2600
- $c.value = Math.min(Math.max(Math.ceil(e || 0), 1), 200);
2631
+ ol.value = Math.min(Math.max(Math.ceil(e || 0), 1), 200);
2601
2632
  });
2602
2633
  }, r = new ResizeObserver((t) => {
2603
2634
  let r = t.find((t) => t.target === e) || t[0];
2604
2635
  r && n(r.contentRect.width || 200);
2605
2636
  }), i = gt((t) => {
2606
- let i = Qc.value;
2637
+ let i = al.value;
2607
2638
  e && e !== i && (r.unobserve(e), e = null), i && i !== e && (it(() => {
2608
2639
  i.offsetParent !== null && n(i.offsetWidth || i.getBoundingClientRect().width || 200);
2609
2640
  }), r.observe(i), e = i), t(() => {
@@ -2616,26 +2647,26 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2616
2647
  } catch {}
2617
2648
  });
2618
2649
  });
2619
- let il = S(() => {
2650
+ let dl = S(() => {
2620
2651
  if (q.value) {
2621
- if (!Number.isFinite(Number(tl.value))) return "";
2652
+ if (!Number.isFinite(Number(cl.value))) return "";
2622
2653
  } else if ([null, void 0].includes(B.value) && [null, void 0].includes(R.value)) return "";
2623
2654
  let e = (B.value == null ? 0 : B.value) || (R.value == null ? 0 : R.value), t = H.value.chart.timeTag.customFormat;
2624
- if (Zc.value = !1, q.value) {
2625
- let e = tl.value;
2655
+ if (il.value = !1, q.value) {
2656
+ let e = cl.value;
2626
2657
  if (pe(t)) try {
2627
2658
  let n = t({
2628
2659
  absoluteIndex: e,
2629
2660
  seriesIndex: e,
2630
- datapoint: gc.value,
2631
- bars: Ac.value,
2661
+ datapoint: Cc.value,
2662
+ bars: Lc.value,
2632
2663
  lines: $.value,
2633
- plots: jc.value,
2664
+ plots: Rc.value,
2634
2665
  config: H.value
2635
2666
  });
2636
- if (typeof n == "string") return Zc.value = !0, n;
2667
+ if (typeof n == "string") return il.value = !0, n;
2637
2668
  } catch {
2638
- console.warn("Custom format cannot be applied on timeTag."), Zc.value = !1;
2669
+ console.warn("Custom format cannot be applied on timeTag."), il.value = !1;
2639
2670
  }
2640
2671
  return o({
2641
2672
  v: e,
@@ -2646,19 +2677,19 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2646
2677
  let n = t({
2647
2678
  absoluteIndex: e + G.value.start,
2648
2679
  seriesIndex: e,
2649
- datapoint: gc.value,
2650
- bars: Ac.value,
2680
+ datapoint: Cc.value,
2681
+ bars: Lc.value,
2651
2682
  lines: $.value,
2652
- plots: jc.value,
2683
+ plots: Rc.value,
2653
2684
  config: H.value
2654
2685
  });
2655
- if (typeof n == "string") return Zc.value = !0, n;
2686
+ if (typeof n == "string") return il.value = !0, n;
2656
2687
  } catch {
2657
- console.warn("Custom format cannot be applied on timeTag."), Zc.value = !1;
2688
+ console.warn("Custom format cannot be applied on timeTag."), il.value = !1;
2658
2689
  }
2659
- if (!Zc.value) return [null, void 0].includes(X.value[e]) ? "" : H.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !H.value.chart.timeTag.useDefaultFormat ? Lc.value(e + G.value.start, H.value.chart.timeTag.timeFormat) : X.value[e].text;
2690
+ if (!il.value) return [null, void 0].includes(X.value[e]) ? "" : H.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !H.value.chart.timeTag.useDefaultFormat ? Wc.value(e + G.value.start, H.value.chart.timeTag.timeFormat) : X.value[e].text;
2660
2691
  });
2661
- function al({ serie: e, plot: n, type: r }) {
2692
+ function fl({ serie: e, plot: n, type: r }) {
2662
2693
  if (!vt(n.value)) return "";
2663
2694
  let i = o({
2664
2695
  p: e.prefix || H.value.chart.labels.prefix,
@@ -2680,40 +2711,40 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2680
2711
  y: 0
2681
2712
  });
2682
2713
  }
2683
- function ol({ plot: e }) {
2684
- let t = H.value.bar.labels.offsetY, n = Math.abs(xs(e)), r = e.value < 0, i = {
2685
- x: (U.value.useIndividualScale && U.value.isStacked ? e.x + Ss.value.line / 2 : ws(e) + Cs() / 2 - dc.value / 2) + H.value.bar.labels.offsetX,
2714
+ function pl({ plot: e }) {
2715
+ let t = H.value.bar.labels.offsetY, n = Math.abs(Os(e)), r = e.value < 0, i = {
2716
+ x: (U.value.useIndividualScale && U.value.isStacked ? e.x + ks.value.line / 2 : js(e) + As() / 2 - vc.value / 2) + H.value.bar.labels.offsetX,
2686
2717
  y: b(e.y) + (H.value.bar.labels.alwaysOnTop ? t - (r ? n : 0) : e.value >= 0 ? t : -t * 3)
2687
2718
  };
2688
2719
  return `translate(${i.x}, ${i.y}) rotate(${H.value.bar.labels.rotation})`;
2689
2720
  }
2690
- function sl({ plot: e, type: t }) {
2721
+ function ml({ plot: e, type: t }) {
2691
2722
  let n = H.value[t].labels.offsetY, r = {
2692
2723
  x: e.x + H.value[t].labels.offsetX,
2693
2724
  y: b(e.y) + (H.value[t].labels.alwaysOnTop || e.value >= 0 ? n : -n * 3)
2694
2725
  };
2695
2726
  return `translate(${r.x}, ${r.y}) rotate(${H.value[t].labels.rotation})`;
2696
2727
  }
2697
- function cl({ plot: e, type: t }) {
2728
+ function hl({ plot: e, type: t }) {
2698
2729
  if (H.value[t].labels.textAnchor != null) return H.value[t].labels.textAnchor;
2699
2730
  let n = e.value >= 0;
2700
2731
  return H.value[t].labels.rotation === 0 ? "middle" : H.value[t].labels.alwaysOnTop || n ? "start" : "end";
2701
2732
  }
2702
- let ll = S(() => q.value ? g(xa.value) ? wc({ x: Number(xa.value) }) : g(ks.value) ? ks.value : null : nc((B.value === null ? 0 : B.value) || (R.value === null ? 0 : R.value))), ul = S(() => H.value.chart.highlighter.crosshairs.show && Xo.value), dl = S(() => [
2733
+ let gl = S(() => q.value ? g(xa.value) ? jc({ x: Number(xa.value) }) : g(Is.value) ? Is.value : null : lc((B.value === null ? 0 : B.value) || (R.value === null ? 0 : R.value))), _l = S(() => H.value.chart.highlighter.crosshairs.show && Xo.value), vl = S(() => [
2703
2734
  ...$.value,
2704
- ...jc.value,
2705
- ...Ac.value
2706
- ].flatMap((e) => (e.plots || []).filter((t, n) => ml(e, t, n)).filter((e) => vt(e.value)).map((t) => ({
2735
+ ...Rc.value,
2736
+ ...Lc.value
2737
+ ].flatMap((e) => (e.plots || []).filter((t, n) => xl(e, t, n)).filter((e) => vt(e.value)).map((t) => ({
2707
2738
  ...t,
2708
2739
  serie: e,
2709
2740
  x: b(t.x),
2710
2741
  y: b(t.y)
2711
- })))), fl = S(() => {
2712
- if (!ul.value) return null;
2742
+ })))), yl = S(() => {
2743
+ if (!_l.value) return null;
2713
2744
  if (q.value) {
2714
- let e = Os.value[0], t = e?.point?.raw?.x ?? e?.point?.x;
2745
+ let e = Fs.value[0], t = e?.point?.raw?.x ?? e?.point?.x;
2715
2746
  return g(t) ? {
2716
- x: ll.value,
2747
+ x: gl.value,
2717
2748
  text: v(H.value.chart.grid.labels.xAxis.formatter, t, o({
2718
2749
  v: t,
2719
2750
  r: H.value.chart.tooltip.roundingValue
@@ -2722,15 +2753,15 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2722
2753
  }
2723
2754
  let e = B.value === null ? R.value : B.value;
2724
2755
  return e == null ? null : {
2725
- x: nc(e),
2756
+ x: lc(e),
2726
2757
  text: X.value[e]?.text ?? ""
2727
2758
  };
2728
2759
  });
2729
- function pl(e) {
2760
+ function bl(e) {
2730
2761
  return H.value.chart.grid.labels.yAxis.position === "right" ? Y.value.right : Y.value.left;
2731
2762
  }
2732
- function ml(e, t, n) {
2733
- return q.value ? Os.value.some((n) => n.datapoint.id === e.id && n.index === t.index) : B.value !== null && B.value === n || R.value !== null && R.value === n;
2763
+ function xl(e, t, n) {
2764
+ return q.value ? Fs.value.some((n) => n.datapoint.id === e.id && n.index === t.index) : B.value !== null && B.value === n || R.value !== null && R.value === n;
2734
2765
  }
2735
2766
  ht(() => N.dataset, (e) => {
2736
2767
  if (Array.isArray(e) && e.length > 0 && (qa.value = !1), H.value.chart.zoom.keepState) {
@@ -2754,28 +2785,28 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2754
2785
  };
2755
2786
  Zi.value += 1, da.value += 1, ka(), ja(), eo();
2756
2787
  }, { deep: !0 }), ht(() => N.config, (e) => {
2757
- Ka.value || (H.value = Ra()), Yc(), la.value += 1, ca.value += 1, Ha(), ka(), ja(), H.value.chart.zoom.keepState && (Xa.value = Math.max(0, ...W.value.map((e) => Ya(e.series).length)), Xa.value > 0 && (!ts.value || G.value.start === 0 && G.value.end === 0) && is()), eo();
2788
+ Ka.value || (H.value = Ra()), nl(), la.value += 1, ca.value += 1, Ha(), ka(), ja(), H.value.chart.zoom.keepState && (Xa.value = Math.max(0, ...W.value.map((e) => Ya(e.series).length)), Xa.value > 0 && (!ts.value || G.value.start === 0 && G.value.end === 0) && is()), eo();
2758
2789
  }, { deep: !0 });
2759
- let hl = O(!1);
2760
- function gl() {
2790
+ let Sl = O(!1);
2791
+ function Cl() {
2761
2792
  let e = Li.value?.parentNode;
2762
2793
  if (!e) {
2763
- hl.value = !1;
2794
+ Sl.value = !1;
2764
2795
  return;
2765
2796
  }
2766
2797
  let t = e.getBoundingClientRect();
2767
- hl.value = t.width > 2 && t.height > 2;
2798
+ Sl.value = t.width > 2 && t.height > 2;
2768
2799
  }
2769
2800
  ct(() => {
2770
- gl();
2801
+ Cl();
2771
2802
  let e = new ResizeObserver(() => {
2772
- gl(), hl.value && (Yc(), eo(), H.value.chart.zoom.keepState || is());
2803
+ Cl(), Sl.value && (nl(), eo(), H.value.chart.zoom.keepState || is());
2773
2804
  });
2774
2805
  Li.value?.parentNode && e.observe(Li.value.parentNode);
2775
2806
  }), ht(H, () => {
2776
2807
  Ha();
2777
2808
  }, { immediate: !0 });
2778
- let _l = S(() => {
2809
+ let wl = S(() => {
2779
2810
  let e = H.value.table.useDialog && !H.value.showTable, t = U.value.showTable;
2780
2811
  return {
2781
2812
  component: e ? Ai : Ke,
@@ -2808,37 +2839,37 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2808
2839
  ht(() => U.value.showTable, (e) => {
2809
2840
  H.value.showTable || (e && H.value.table.useDialog && va.value ? va.value.open() : va.value && va.value.close && va.value.close());
2810
2841
  });
2811
- function vl() {
2842
+ function Tl() {
2812
2843
  U.value.showTable = !1, Ji.value && Ji.value.setTableIconState(!1);
2813
2844
  }
2814
- let yl = S(() => bo.value.map((e) => ({
2845
+ let El = S(() => bo.value.map((e) => ({
2815
2846
  shape: e.type === "bar" ? "square" : e.shape ?? "circle",
2816
2847
  color: e.color,
2817
2848
  name: e.name
2818
- }))), bl = S(() => H.value.chart.backgroundColor), xl = S(() => H.value.chart.legend), { exportSvg: Sl, getSvg: Cl } = Fe({
2849
+ }))), Dl = S(() => H.value.chart.backgroundColor), Ol = S(() => H.value.chart.legend), { exportSvg: kl, getSvg: Al } = Fe({
2819
2850
  svg: z,
2820
2851
  title: S(() => H.value.chart.title),
2821
- legend: xl,
2822
- legendItems: yl,
2823
- backgroundColor: bl
2852
+ legend: Ol,
2853
+ legendItems: El,
2854
+ backgroundColor: Dl
2824
2855
  });
2825
- async function wl({ isCb: e }) {
2856
+ async function jl({ isCb: e }) {
2826
2857
  ba.value = !0, await it();
2827
2858
  try {
2828
2859
  if (e) {
2829
- let { blob: e, url: t, text: n, dataUrl: r } = await Cl();
2860
+ let { blob: e, url: t, text: n, dataUrl: r } = await Al();
2830
2861
  await Promise.resolve(H.value.chart.userOptions.callbacks.svg({
2831
2862
  blob: e,
2832
2863
  url: t,
2833
2864
  text: n,
2834
2865
  dataUrl: r
2835
2866
  }));
2836
- } else await Promise.resolve(Sl());
2867
+ } else await Promise.resolve(kl());
2837
2868
  } finally {
2838
2869
  ba.value = !1;
2839
2870
  }
2840
2871
  }
2841
- function Tl(e) {
2872
+ function Ml(e) {
2842
2873
  if (e?.stage === "start") {
2843
2874
  ya.value = !0;
2844
2875
  return;
@@ -2849,7 +2880,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2849
2880
  }
2850
2881
  ao();
2851
2882
  }
2852
- async function El() {
2883
+ async function Nl() {
2853
2884
  if (ji("copyAlt", {
2854
2885
  config: {
2855
2886
  ...H.value,
@@ -2857,8 +2888,8 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2857
2888
  },
2858
2889
  dataset: {
2859
2890
  lines: $.value,
2860
- bars: Ac.value,
2861
- plots: jc.value
2891
+ bars: Lc.value,
2892
+ plots: Rc.value
2862
2893
  }
2863
2894
  }), !H.value.chart.userOptions.callbacks.altCopy) {
2864
2895
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
@@ -2871,67 +2902,67 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2871
2902
  },
2872
2903
  dataset: {
2873
2904
  lines: $.value,
2874
- bars: Ac.value,
2875
- plots: jc.value
2905
+ bars: Lc.value,
2906
+ plots: Rc.value
2876
2907
  }
2877
2908
  }));
2878
2909
  }
2879
- let Dl = O(!1);
2880
- function Ol() {
2881
- G.value.end > G.value.start && (Sa.value = null), Ro.value = !0, Dl.value = !0;
2910
+ let Pl = O(!1);
2911
+ function Fl() {
2912
+ G.value.end > G.value.start && (Sa.value = null), Ro.value = !0, Pl.value = !0;
2882
2913
  }
2883
- function kl() {
2884
- Sa.value = null, Fs(), Dl.value = !1, Ro.value = !1;
2914
+ function Il() {
2915
+ Sa.value = null, Hs(), Pl.value = !1, Ro.value = !1;
2885
2916
  }
2886
- function Al(e) {
2917
+ function Ll(e) {
2887
2918
  if (!z.value || ra.value || document.activeElement !== z.value) return;
2888
2919
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight";
2889
2920
  if (!t && !n || !G.value.end && G.value.end !== 0) return;
2890
2921
  let r = G.value.end - G.value.start;
2891
2922
  if (r <= 0) return;
2892
2923
  if (e.preventDefault(), e.stopPropagation(), q.value) {
2893
- let e = As.value.length;
2924
+ let e = Ls.value.length;
2894
2925
  if (!e) return;
2895
2926
  let r = Sa.value;
2896
- r !== null && r >= 0 && r < e ? n ? (r += 1, r >= e && (r = 0)) : t && (--r, r < 0 && (r = e - 1)) : r = n ? 0 : e - 1, js(r);
2927
+ r !== null && r >= 0 && r < e ? n ? (r += 1, r >= e && (r = 0)) : t && (--r, r < 0 && (r = e - 1)) : r = n ? 0 : e - 1, Rs(r);
2897
2928
  return;
2898
2929
  }
2899
- let i = Sa.value, a = Ds.value;
2900
- 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, Sa.value = i, jl(i), Uc(!0, i);
2930
+ let i = Sa.value, a = Ps.value;
2931
+ 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, Sa.value = i, Rl(i), Xc(!0, i);
2901
2932
  }
2902
- function jl(e) {
2933
+ function Rl(e) {
2903
2934
  let t = G.value.end - G.value.start;
2904
2935
  if (t <= 0) return;
2905
2936
  let n = Y.value.width / t, r = De(Y.value.left + n * e + n / 2, Y.value.top + Y.value.height / 2, z.value);
2906
2937
  r && (Ca.value = r);
2907
2938
  }
2908
- let Ml = S(() => {
2909
- if (!Vc.value) return null;
2939
+ let zl = S(() => {
2940
+ if (!Jc.value) return null;
2910
2941
  let e = H.value.table.showSum, t = [H.value.table.columnNames.period].concat(xo.value.map((e) => e.name));
2911
2942
  e && (t = t.concat(H.value.table.columnNames.total));
2912
- let n = Vc.value.body.slice(G.value.start, G.value.end);
2943
+ let n = Jc.value.body.slice(G.value.start, G.value.end);
2913
2944
  return {
2914
2945
  headers: t,
2915
2946
  rows: n
2916
2947
  };
2917
2948
  });
2918
2949
  return We({
2919
- getData: Rs,
2920
- getImage: zs,
2950
+ getData: Gs,
2951
+ getImage: Ks,
2921
2952
  generatePdf: io,
2922
2953
  generateImage: ao,
2923
- generateSvg: wl,
2924
- generateCsv: Hc,
2925
- hideSeries: Ks,
2926
- showSeries: Gs,
2954
+ generateSvg: jl,
2955
+ generateCsv: Yc,
2956
+ hideSeries: $s,
2957
+ showSeries: Qs,
2927
2958
  toggleStack: Zo,
2928
- toggleTable: Wc,
2929
- toggleLabels: Gc,
2930
- toggleTooltip: Kc,
2959
+ toggleTable: Zc,
2960
+ toggleLabels: Qc,
2961
+ toggleTooltip: $c,
2931
2962
  toggleAnnotator: Bo,
2932
- toggleFullscreen: qc,
2933
- copyAlt: El,
2934
- resetZoom: cs
2963
+ toggleFullscreen: el,
2964
+ copyAlt: Nl,
2965
+ resetZoom: hs
2935
2966
  }), (n, r) => (D(), w("div", {
2936
2967
  id: `vue-ui-xy_${L.value}`,
2937
2968
  class: at(`vue-data-ui-component vue-ui-xy ${ia.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${H.value.useCssAnimation ? "" : "vue-ui-dna"}`),
@@ -2940,17 +2971,17 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2940
2971
  style: E(`background:${H.value.chart.backgroundColor}; color:${H.value.chart.color};width:100%;font-family:${H.value.chart.fontFamily};${H.value.responsive ? "height: 100%" : ""}`),
2941
2972
  onMouseenter: r[6] ||= () => zo(!0),
2942
2973
  onMouseleave: r[7] ||= () => zo(!1),
2943
- onClick: Is
2974
+ onClick: Us
2944
2975
  }, [
2945
2976
  T("div", {
2946
2977
  id: `chart-instructions-${L.value}`,
2947
2978
  class: "sr-only"
2948
2979
  }, [T("p", null, dt(H.value.a11y.translations.keyboardNavigation), 1)], 8, kt),
2949
- Ml.value?.rows?.length ? (D(), Xe(Je, {
2980
+ zl.value?.rows?.length ? (D(), Xe(Je, {
2950
2981
  key: 0,
2951
2982
  uid: L.value,
2952
- head: Ml.value.headers,
2953
- body: Ml.value.rows,
2983
+ head: zl.value.headers,
2984
+ body: zl.value.rows,
2954
2985
  notice: H.value.a11y.translations.tableAvailable,
2955
2986
  caption: H.value.a11y.translations.tableCaption
2956
2987
  }, null, 8, [
@@ -2983,7 +3014,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
2983
3014
  "active",
2984
3015
  "isCursorPointer"
2985
3016
  ])) : C("", !0),
2986
- Ys.value ? (D(), w("div", {
3017
+ nc.value ? (D(), w("div", {
2987
3018
  key: 2,
2988
3019
  ref_key: "noTitle",
2989
3020
  ref: Hi,
@@ -3041,17 +3072,17 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3041
3072
  tableDialog: H.value.table.useDialog,
3042
3073
  printScale: H.value.chart.userOptions.print.scale,
3043
3074
  isCursorPointer: Va.value,
3044
- onToggleFullscreen: qc,
3075
+ onToggleFullscreen: el,
3045
3076
  onGeneratePdf: j(io),
3046
- onGenerateCsv: Hc,
3047
- onGenerateImage: Tl,
3048
- onGenerateSvg: wl,
3049
- onToggleTable: Wc,
3050
- onToggleLabels: Gc,
3077
+ onGenerateCsv: Yc,
3078
+ onGenerateImage: Ml,
3079
+ onGenerateSvg: jl,
3080
+ onToggleTable: Zc,
3081
+ onToggleLabels: Qc,
3051
3082
  onToggleStack: Zo,
3052
- onToggleTooltip: Kc,
3083
+ onToggleTooltip: $c,
3053
3084
  onToggleAnnotator: Bo,
3054
- onCopyAlt: El,
3085
+ onCopyAlt: Nl,
3055
3086
  style: E({ visibility: pa.value ? ma.value ? "visible" : "hidden" : "visible" })
3056
3087
  }, Ze({ _: 2 }, [
3057
3088
  n.$slots.menuIcon ? {
@@ -3149,18 +3180,18 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3149
3180
  color: H.value.chart.color,
3150
3181
  fontFamily: H.value.chart.fontFamily
3151
3182
  }),
3152
- "aria-label": qs.value,
3183
+ "aria-label": ec.value,
3153
3184
  "aria-describedby": `chart-instructions-${L.value}`,
3154
3185
  "aria-live": "polite",
3155
3186
  role: "img",
3156
3187
  tabindex: "0",
3157
3188
  preserveAspectRatio: "xMidYMid",
3158
- onMousemove: Ps,
3159
- onMouseleave: Fs,
3160
- onClick: Is,
3161
- onFocus: Ol,
3162
- onBlur: kl,
3163
- onKeydown: Al
3189
+ onMousemove: Vs,
3190
+ onMouseleave: Hs,
3191
+ onClick: Us,
3192
+ onFocus: Fl,
3193
+ onBlur: Il,
3194
+ onKeydown: Ll
3164
3195
  }, [T("g", {
3165
3196
  ref_key: "G",
3166
3197
  ref: Ui,
@@ -3188,7 +3219,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3188
3219
  "stroke-linecap": "round",
3189
3220
  style: { animation: "none !important" }
3190
3221
  }, null, 8, It)) : C("", !0),
3191
- U.value.useIndividualScale ? H.value.chart.grid.showHorizontalLines ? (D(!0), w(x, { key: 2 }, k(Mc.value, (e) => (D(), w("g", null, [e.id === P.value && e.yLabels.length ? (D(!0), w(x, { key: 0 }, k(e.yLabels, (t) => (D(), w("line", {
3222
+ U.value.useIndividualScale ? H.value.chart.grid.showHorizontalLines ? (D(!0), w(x, { key: 2 }, k(zc.value, (e) => (D(), w("g", null, [e.id === P.value && e.yLabels.length ? (D(!0), w(x, { key: 0 }, k(e.yLabels, (t) => (D(), w("line", {
3192
3223
  x1: Y.value?.left,
3193
3224
  x2: Y.value?.right,
3194
3225
  y1: j(y)(t.y),
@@ -3217,7 +3248,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3217
3248
  y2: j(y)(Y.value?.bottom),
3218
3249
  "stroke-linecap": "round",
3219
3250
  style: { animation: "none !important" }
3220
- }, null, 8, Lt)) : C("", !0), H.value.chart.grid.showHorizontalLines ? (D(), w("g", Rt, [(D(!0), w(x, null, k(_c.value, (e) => (D(), w("line", {
3251
+ }, null, 8, Lt)) : C("", !0), H.value.chart.grid.showHorizontalLines ? (D(), w("g", Rt, [(D(!0), w(x, null, k(wc.value, (e) => (D(), w("line", {
3221
3252
  x1: Y.value?.left,
3222
3253
  x2: Y.value?.right,
3223
3254
  y1: j(y)(e.y),
@@ -3242,7 +3273,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3242
3273
  style: { animation: "none !important" }
3243
3274
  }, null, 8, Gt)])) : C("", !0)
3244
3275
  ]),
3245
- (D(!0), w(x, null, k(Ac.value, (e, t) => (D(), w("defs", { key: `def_rect_${t}` }, [n.$slots["bar-gradient"] ? A(n.$slots, "bar-gradient", rt({
3276
+ (D(!0), w(x, null, k(Lc.value, (e, t) => (D(), w("defs", { key: `def_rect_${t}` }, [n.$slots["bar-gradient"] ? A(n.$slots, "bar-gradient", rt({
3246
3277
  key: 0,
3247
3278
  ref_for: !0
3248
3279
  }, {
@@ -3284,7 +3315,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3284
3315
  "stop-color": e.color
3285
3316
  }, null, 8, $t)
3286
3317
  ], 8, Xt)], 64))]))), 128)),
3287
- (D(!0), w(x, null, k(jc.value, (e, t) => (D(), w("defs", { key: `def_plot_${t}` }, [T("radialGradient", {
3318
+ (D(!0), w(x, null, k(Rc.value, (e, t) => (D(), w("defs", { key: `def_plot_${t}` }, [T("radialGradient", {
3288
3319
  id: `plotGradient_${t}_${L.value}`,
3289
3320
  cx: "50%",
3290
3321
  cy: "50%",
@@ -3338,32 +3369,32 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3338
3369
  "stop-color": n,
3339
3370
  offset: j(d)(r, e.temperatureColors.length)
3340
3371
  }, null, 8, fn))), 128))], 8, dn)])) : C("", !0)], 64))), 128)),
3341
- (D(!0), w(x, null, k(Xs.value, (e) => (D(), w("g", null, [e.show ? (D(), w(x, { key: 0 }, [(D(!0), w(x, null, k(e.span, (t, n) => (D(), w("g", null, [T("rect", {
3372
+ (D(!0), w(x, null, k(rc.value, (e) => (D(), w("g", null, [e.show ? (D(), w(x, { key: 0 }, [(D(!0), w(x, null, k(e.span, (t, n) => (D(), w("g", null, [T("rect", {
3342
3373
  style: E({
3343
3374
  transition: "none",
3344
3375
  opacity: +(e.from + n >= G.value.start && e.from + n <= G.value.end - 1)
3345
3376
  }),
3346
- x: ic(e.from + n - G.value.start),
3377
+ x: dc(e.from + n - G.value.start),
3347
3378
  y: Y.value?.top,
3348
3379
  height: Y.value.height < 0 ? 10 : Y.value.height,
3349
- width: ac(e.from + n - G.value.start),
3380
+ width: fc(e.from + n - G.value.start),
3350
3381
  fill: j(m)(e.color, e.opacity)
3351
3382
  }, null, 12, pn)]))), 256)), (D(!0), w(x, null, k(e.span, (t, n) => (D(), w("g", null, [e.caption.text && n === 0 ? (D(), w("foreignObject", {
3352
3383
  key: 0,
3353
- x: ic(e.from + n - G.value.start) - (e.caption.width === "auto" ? 0 : e.caption.width / 2 - cc(e.span) / 2),
3384
+ x: dc(e.from + n - G.value.start) - (e.caption.width === "auto" ? 0 : e.caption.width / 2 - hc(e.span) / 2),
3354
3385
  y: Y.value?.top + e.caption.offsetY,
3355
3386
  style: E({
3356
3387
  overflow: "visible",
3357
3388
  opacity: +(e.to >= G.value.start && e.from < G.value.end)
3358
3389
  }),
3359
3390
  height: "1",
3360
- width: e.caption.width === "auto" ? cc(e.span) : e.caption.width
3391
+ width: e.caption.width === "auto" ? hc(e.span) : e.caption.width
3361
3392
  }, [T("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"}`) }, dt(e.caption.text), 5)], 12, mn)) : C("", !0)]))), 256))], 64)) : C("", !0)]))), 256)),
3362
3393
  Ro.value && !q.value ? (D(), w("g", hn, [(D(!0), w(x, null, k(Z.value, (e, t) => (D(), w("g", { key: `tooltip_trap_highlighter_${t}` }, [T("rect", {
3363
- x: ic(t),
3394
+ x: dc(t),
3364
3395
  y: Y.value?.top,
3365
3396
  height: Y.value.height < 0 ? 10 : Y.value.height,
3366
- width: sc(t),
3397
+ width: mc(t),
3367
3398
  fill: [
3368
3399
  R.value,
3369
3400
  B.value,
@@ -3374,17 +3405,17 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3374
3405
  animation: "none !important"
3375
3406
  }
3376
3407
  }, null, 8, gn)]))), 128))])) : C("", !0),
3377
- Ac.value.length ? (D(!0), w(x, { key: 1 }, k(Ac.value, (e, t) => (D(), w("g", {
3408
+ Lc.value.length ? (D(!0), w(x, { key: 1 }, k(Lc.value, (e, t) => (D(), w("g", {
3378
3409
  key: `serie_bar_${e.id}`,
3379
3410
  class: at(`serie_bar_${t}`),
3380
3411
  style: E(`opacity:${P.value ? P.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
3381
3412
  }, [(D(!0), w(x, null, k(e.plots, (r, i) => (D(), w("g", { key: `bar_plot_${t}_${i}` }, [
3382
3413
  j(vt)(r.value) ? (D(), w("rect", {
3383
3414
  key: 0,
3384
- x: ws(r) + pc.value / 2,
3385
- y: U.value.useIndividualScale ? Es(r) : Ts(r),
3386
- height: U.value.useIndividualScale ? Math.abs(xs(r)) : Math.abs(bs(r)),
3387
- width: fc.value - pc.value,
3415
+ x: js(r) + bc.value / 2,
3416
+ y: U.value.useIndividualScale ? Ns(r) : Ms(r),
3417
+ height: U.value.useIndividualScale ? Math.abs(Os(r)) : Math.abs(Ds(r)),
3418
+ width: yc.value - bc.value,
3388
3419
  rx: H.value.bar.borderRadius,
3389
3420
  fill: H.value.bar.useGradient ? r.value >= 0 ? `url(#rectGradient_pos_${t}_${L.value})` : `url(#rectGradient_neg_${t}_${L.value})` : e.color,
3390
3421
  stroke: H.value.bar.border.useSerieColor ? e.color : H.value.bar.border.stroke,
@@ -3393,10 +3424,10 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3393
3424
  }, null, 12, _n)) : C("", !0),
3394
3425
  j(vt)(r.value) && n.$slots.pattern ? (D(), w("rect", {
3395
3426
  key: 1,
3396
- x: ws(r) - pc.value / 2,
3397
- y: U.value.useIndividualScale ? Es(r) : Ts(r),
3398
- height: U.value.useIndividualScale ? Math.abs(xs(r)) : Math.abs(bs(r)),
3399
- width: fc.value - pc.value,
3427
+ x: js(r) - bc.value / 2,
3428
+ y: U.value.useIndividualScale ? Ns(r) : Ms(r),
3429
+ height: U.value.useIndividualScale ? Math.abs(Os(r)) : Math.abs(Ds(r)),
3430
+ width: yc.value - bc.value,
3400
3431
  rx: H.value.bar.borderRadius,
3401
3432
  fill: `url(#pattern_${L.value}_${e.slotAbsoluteIndex})`,
3402
3433
  stroke: H.value.bar.border.useSerieColor ? e.color : H.value.bar.border.stroke,
@@ -3407,8 +3438,8 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3407
3438
  key: 2,
3408
3439
  style: { overflow: "visible" },
3409
3440
  height: "12",
3410
- width: fc.value + H.value.chart.comments.width,
3411
- x: ws(r) - H.value.chart.comments.width / 2 + H.value.chart.comments.offsetX,
3441
+ width: yc.value + H.value.chart.comments.width,
3442
+ x: js(r) - H.value.chart.comments.width / 2 + H.value.chart.comments.offsetX,
3412
3443
  y: j(b)(r.y) + H.value.chart.comments.offsetY + 6
3413
3444
  }, [A(n.$slots, "plot-comment", { plot: {
3414
3445
  ...r,
@@ -3423,14 +3454,14 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3423
3454
  "stroke-width": "1",
3424
3455
  x1: Y.value?.left,
3425
3456
  x2: Y.value?.right,
3426
- y1: j(y)(ys.value),
3427
- y2: j(y)(ys.value),
3457
+ y1: j(y)(Es.value),
3458
+ y2: j(y)(Es.value),
3428
3459
  "stroke-linecap": "round",
3429
3460
  style: { animation: "none !important" }
3430
3461
  }, null, 8, bn)) : C("", !0),
3431
3462
  !H.value.chart.highlighter.crosshairs.show && (H.value.chart.highlighter.useLine || q.value) && Xo.value ? (D(), w("g", xn, [T("line", {
3432
- x1: ll.value,
3433
- x2: ll.value,
3463
+ x1: gl.value,
3464
+ x2: gl.value,
3434
3465
  y1: j(y)(Y.value?.top),
3435
3466
  y2: j(y)(Y.value?.bottom),
3436
3467
  stroke: H.value.chart.highlighter.color,
@@ -3443,10 +3474,10 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3443
3474
  "pointer-events": "none"
3444
3475
  }
3445
3476
  }, null, 8, Sn)])) : C("", !0),
3446
- ul.value ? (D(), w("g", Cn, [(D(!0), w(x, null, k(dl.value, (e) => (D(), w("g", { key: `crosshair_${e.serie.id}_${e.index}` }, [
3477
+ _l.value ? (D(), w("g", Cn, [(D(!0), w(x, null, k(vl.value, (e) => (D(), w("g", { key: `crosshair_${e.serie.id}_${e.index}` }, [
3447
3478
  T("line", {
3448
3479
  x1: H.value.chart.highlighter.crosshairs.stopOnPoint ? j(y)(e.x) : Y.value.left,
3449
- x2: H.value.chart.highlighter.crosshairs.stopOnPoint ? j(y)(pl(e.x)) : Y.value.right,
3480
+ x2: H.value.chart.highlighter.crosshairs.stopOnPoint ? j(y)(bl(e.x)) : Y.value.right,
3450
3481
  y1: j(y)(e.y),
3451
3482
  y2: j(y)(e.y),
3452
3483
  stroke: H.value.chart.highlighter.crosshairs.stroke,
@@ -3467,7 +3498,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3467
3498
  style: { "pointer-events": "none" }
3468
3499
  }, null, 8, Tn),
3469
3500
  T("circle", {
3470
- cx: j(y)(pl(e.x)),
3501
+ cx: j(y)(bl(e.x)),
3471
3502
  cy: j(y)(e.y),
3472
3503
  r: H.value.chart.highlighter.crosshairs.dot.radius,
3473
3504
  fill: H.value.chart.highlighter.crosshairs.dot.fill,
@@ -3498,9 +3529,9 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3498
3529
  key: 6,
3499
3530
  ref_key: "scaleLabels",
3500
3531
  ref: qi,
3501
- opacity: ul.value ? .2 : 1,
3532
+ opacity: _l.value ? .2 : 1,
3502
3533
  style: { transition: "opacity 0.2s" }
3503
- }, [U.value.useIndividualScale ? (D(), w(x, { key: 0 }, [(D(!0), w(x, null, k(Mc.value, (e) => (D(), w("g", null, [T("line", {
3534
+ }, [U.value.useIndividualScale ? (D(), w(x, { key: 0 }, [(D(!0), w(x, null, k(zc.value, (e) => (D(), w("g", null, [T("line", {
3504
3535
  x1: U.value.isStacked ? J.value ? Y.value.right : Y.value.left : J.value ? e.x : e.x - Y.value.individualOffsetX,
3505
3536
  x2: U.value.isStacked ? J.value ? Y.value.right : Y.value.left : J.value ? e.x : e.x - Y.value.individualOffsetX,
3506
3537
  y1: U.value.isStacked ? j(y)(Y.value?.bottom - e.yOffset - e.individualHeight) : j(y)(Y.value?.top),
@@ -3509,7 +3540,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3509
3540
  "stroke-width": H.value.chart.grid.stroke,
3510
3541
  "stroke-linecap": "round",
3511
3542
  style: E(`opacity:${P.value ? P.value === e.groupId ? 1 : .3 : 1};transition:opacity 0.2s ease-in-out; animation: none !important`)
3512
- }, null, 12, kn)]))), 256)), (D(!0), w(x, null, k(Mc.value, (e) => (D(), w("g", { style: E(`opacity:${P.value ? P.value === e.groupId ? 1 : .3 : 1};transition:opacity 0.2s ease-in-out`) }, [
3543
+ }, null, 12, kn)]))), 256)), (D(!0), w(x, null, k(zc.value, (e) => (D(), w("g", { style: E(`opacity:${P.value ? P.value === e.groupId ? 1 : .3 : 1};transition:opacity 0.2s ease-in-out`) }, [
3513
3544
  T("text", {
3514
3545
  fill: e.color,
3515
3546
  "font-size": V.value.dataLabels * .8,
@@ -3541,7 +3572,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3541
3572
  datapoint: t.datapoint,
3542
3573
  seriesIndex: n
3543
3574
  })), 9, Mn))), 256))
3544
- ], 4))), 256))], 64)) : (D(!0), w(x, { key: 1 }, k(_c.value, (e, t) => (D(), w("g", { key: `yLabel_${t}` }, [j(vt)(e) && e.value >= K.value.min && e.value <= K.value.max && H.value.chart.grid.labels.yAxis.showCrosshairs ? (D(), w("line", {
3575
+ ], 4))), 256))], 64)) : (D(!0), w(x, { key: 1 }, k(wc.value, (e, t) => (D(), w("g", { key: `yLabel_${t}` }, [j(vt)(e) && e.value >= K.value.min && e.value <= K.value.max && H.value.chart.grid.labels.yAxis.showCrosshairs ? (D(), w("line", {
3545
3576
  key: 0,
3546
3577
  x1: J.value ? Y.value?.right : Y.value?.left,
3547
3578
  x2: J.value ? Y.value?.right + H.value.chart.grid.labels.yAxis.crosshairSize : Y.value?.left - H.value.chart.grid.labels.yAxis.crosshairSize,
@@ -3563,7 +3594,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3563
3594
  s: e.suffix,
3564
3595
  r: H.value.chart.grid.labels.yAxis.rounding
3565
3596
  })) : ""), 9, Pn)) : C("", !0)]))), 128))], 8, On)) : C("", !0),
3566
- ul.value ? (D(), w("g", Fn, [(D(!0), w(x, null, k(dl.value, (e) => (D(), w("text", {
3597
+ _l.value ? (D(), w("g", Fn, [(D(!0), w(x, null, k(vl.value, (e) => (D(), w("text", {
3567
3598
  key: `crosshair_y_label_${e.serie.id}_${e.index}`,
3568
3599
  transform: `translate(${J.value ? Y.value.right + H.value.chart.grid.labels.yAxis.crosshairSize + H.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : Y.value.scaleLabelX - H.value.chart.grid.labels.yAxis.crosshairSize}, ${j(y)(e.y) + V.value.dataLabels / 3})`,
3569
3600
  "font-size": V.value.dataLabels,
@@ -3583,8 +3614,8 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3583
3614
  datapoint: e.serie,
3584
3615
  seriesIndex: e.index
3585
3616
  })), 9, In))), 128))])) : C("", !0),
3586
- fl.value ? (D(), w("g", Ln, [T("circle", {
3587
- cx: ll.value,
3617
+ yl.value ? (D(), w("g", Ln, [T("circle", {
3618
+ cx: gl.value,
3588
3619
  cy: j(y)(Y.value?.bottom),
3589
3620
  r: H.value.chart.highlighter.crosshairs.dot.radius,
3590
3621
  fill: H.value.chart.highlighter.crosshairs.dot.fill,
@@ -3596,7 +3627,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3596
3627
  "pointer-events": "none"
3597
3628
  }
3598
3629
  }, null, 8, Rn)])) : C("", !0),
3599
- (D(!0), w(x, null, k(jc.value, (e, t) => (D(), w("g", {
3630
+ (D(!0), w(x, null, k(Rc.value, (e, t) => (D(), w("g", {
3600
3631
  key: `serie_plot_${e.id}`,
3601
3632
  class: at(`serie_plot_${t}`),
3602
3633
  style: E(`opacity:${P.value ? P.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
@@ -3615,10 +3646,11 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3615
3646
  x: j(b)(r.x),
3616
3647
  y: j(b)(r.y)
3617
3648
  },
3618
- radius: ml(e, r, i) ? (Ia.value.plot || 6) * 1.5 : (yc(e.plots, i), Ia.value.plot || 6),
3649
+ radius: xl(e, r, i) ? (Ia.value.plot || 6) * 1.5 : (Ec(e.plots, i), Ia.value.plot || 6),
3619
3650
  stroke: H.value.plot.dot.useSerieColor ? H.value.chart.backgroundColor : e.color,
3620
3651
  strokeWidth: H.value.plot.dot.strokeWidth,
3621
- transition: j(Ka) || !H.value.plot.showTransition || ml(e, r, i) ? void 0 : `all ${H.value.plot.transitionDurationMs}ms ease-in-out`
3652
+ transition: j(Ka) || os.value || !H.value.plot.showTransition || xl(e, r, i) ? void 0 : `all ${H.value.plot.transitionDurationMs}ms ease-in-out`,
3653
+ still: os.value
3622
3654
  }, null, 8, [
3623
3655
  "shape",
3624
3656
  "color",
@@ -3626,7 +3658,8 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3626
3658
  "radius",
3627
3659
  "stroke",
3628
3660
  "strokeWidth",
3629
- "transition"
3661
+ "transition",
3662
+ "still"
3630
3663
  ])) : C("", !0), r.comment && H.value.chart.comments.show ? (D(), w("foreignObject", {
3631
3664
  key: 1,
3632
3665
  style: { overflow: "visible" },
@@ -3668,7 +3701,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3668
3701
  seriesIndex: e.slotAbsoluteIndex,
3669
3702
  patternId: `pattern_${L.value}_${t}`
3670
3703
  }), void 0, !0)), 128))])) : C("", !0),
3671
- Nc.value.length && !U.value.isStacked ? (D(), w("g", Wn, [(D(!0), w(x, null, k(Nc.value, (e) => (D(), w("path", {
3704
+ Bc.value.length && !U.value.isStacked ? (D(), w("g", Wn, [(D(!0), w(x, null, k(Bc.value, (e) => (D(), w("path", {
3672
3705
  key: e.key,
3673
3706
  d: e.d,
3674
3707
  fill: e.color,
@@ -3741,7 +3774,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3741
3774
  "stroke-linejoin": "round",
3742
3775
  style: E({ transition: j(Ka) || !H.value.line.showTransition ? void 0 : `all ${H.value.line.transitionDurationMs}ms ease-in-out` })
3743
3776
  }, null, 12, er)) : C("", !0),
3744
- (D(!0), w(x, null, k(e.plots, (r, i) => (D(), w(x, { key: `circle_line_${t}_${i}` }, [!Js.value.linePlot && r && j(vt)(r.value) || Js.value.linePlot && r && j(vt)(r.value) && (B.value !== null && B.value === i || R.value !== null && R.value === i) || yc(e.plots, i) ? (D(), Xe(Ue, {
3777
+ (D(!0), w(x, null, k(e.plots, (r, i) => (D(), w(x, { key: `circle_line_${t}_${i}` }, [!tc.value.linePlot && r && j(vt)(r.value) || tc.value.linePlot && r && j(vt)(r.value) && (B.value !== null && B.value === i || R.value !== null && R.value === i) || Ec(e.plots, i) ? (D(), Xe(Ue, {
3745
3778
  key: 0,
3746
3779
  shape: [
3747
3780
  "triangle",
@@ -3756,10 +3789,11 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3756
3789
  x: j(b)(r.x),
3757
3790
  y: j(b)(r.y)
3758
3791
  },
3759
- radius: ml(e, r, i) ? La.value || 0 : (yc(e.plots, i), Ia.value.line || 0),
3792
+ radius: xl(e, r, i) ? La.value || 0 : (Ec(e.plots, i), Ia.value.line || 0),
3760
3793
  stroke: H.value.line.dot.useSerieColor ? H.value.chart.backgroundColor : e.color,
3761
3794
  strokeWidth: H.value.line.dot.strokeWidth,
3762
- transition: j(Ka) || !H.value.line.showTransition || ml(e, r, i) ? void 0 : `all ${H.value.line.transitionDurationMs}ms ease-in-out`
3795
+ transition: j(Ka) || os.value || !H.value.line.showTransition || xl(e, r, i) ? void 0 : `all ${H.value.line.transitionDurationMs}ms ease-in-out`,
3796
+ still: os.value
3763
3797
  }, null, 8, [
3764
3798
  "shape",
3765
3799
  "color",
@@ -3767,7 +3801,8 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3767
3801
  "radius",
3768
3802
  "stroke",
3769
3803
  "strokeWidth",
3770
- "transition"
3804
+ "transition",
3805
+ "still"
3771
3806
  ])) : C("", !0), r.comment && H.value.chart.comments.show ? (D(), w("foreignObject", {
3772
3807
  key: 1,
3773
3808
  style: { overflow: "visible" },
@@ -3782,26 +3817,26 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3782
3817
  datapointIndex: i
3783
3818
  } }, void 0, !0)])], 8, tr)) : C("", !0)], 64))), 128))
3784
3819
  ], 6))), 128)),
3785
- (H.value.bar.labels.show || H.value.bar.serieName.show) && U.value.dataLabels.show ? (D(), w("g", rr, [(D(!0), w(x, null, k(Ac.value, (e, t) => (D(), w(x, { key: `xLabel_bar_${e.id}` }, [(D(!0), w(x, null, k(e.plots, (n, r) => (D(), w(x, { 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(), w("text", {
3820
+ (H.value.bar.labels.show || H.value.bar.serieName.show) && U.value.dataLabels.show ? (D(), w("g", rr, [(D(!0), w(x, null, k(Lc.value, (e, t) => (D(), w(x, { key: `xLabel_bar_${e.id}` }, [(D(!0), w(x, null, k(e.plots, (n, r) => (D(), w(x, { 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(), w("text", {
3786
3821
  key: 0,
3787
- "text-anchor": cl({
3822
+ "text-anchor": hl({
3788
3823
  plot: n,
3789
3824
  type: "bar"
3790
3825
  }),
3791
3826
  "font-size": V.value.plotLabels,
3792
- transform: ol({ plot: n }),
3827
+ transform: pl({ plot: n }),
3793
3828
  fill: H.value.bar.labels.color,
3794
3829
  stroke: H.value.chart.backgroundColor,
3795
3830
  "paint-order": "stroke",
3796
3831
  style: E(`opacity:${P.value ? P.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`),
3797
- innerHTML: al({
3832
+ innerHTML: fl({
3798
3833
  serie: e,
3799
3834
  plot: n,
3800
3835
  type: "bar"
3801
3836
  })
3802
3837
  }, null, 12, ir)) : C("", !0), n && H.value.bar.serieName.show ? (D(), w("text", {
3803
3838
  key: 1,
3804
- x: U.value.useIndividualScale && U.value.isStacked ? n.x + Ss.value.line / 2 : n.x + Cs() * 1.1,
3839
+ x: U.value.useIndividualScale && U.value.isStacked ? n.x + ks.value.line / 2 : n.x + As() * 1.1,
3805
3840
  y: n.y + (n.value > 0 ? H.value.bar.serieName.offsetY : -H.value.bar.serieName.offsetY * 3),
3806
3841
  "text-anchor": "middle",
3807
3842
  "font-size": V.value.plotLabels,
@@ -3812,13 +3847,13 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3812
3847
  source: e.name,
3813
3848
  length: H.value.bar.serieName.abbreviationSize
3814
3849
  }) : e.name), 13, ar)) : C("", !0)], 64))), 128))], 64))), 128))])) : C("", !0),
3815
- H.value.plot.labels.show && U.value.dataLabels.show ? (D(), w("g", or, [(D(!0), w(x, null, k(jc.value, (e, t) => (D(), w(x, { key: `xLabel_plot_${e.id}` }, [(D(!0), w(x, null, k(e.plots, (n, r) => (D(), w(x, { key: `xLabel_plot_${t}_${r}` }, [n && !Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || ml(e, n, r) ? (D(), w("text", {
3850
+ H.value.plot.labels.show && U.value.dataLabels.show ? (D(), w("g", or, [(D(!0), w(x, null, k(Rc.value, (e, t) => (D(), w(x, { key: `xLabel_plot_${e.id}` }, [(D(!0), w(x, null, k(e.plots, (n, r) => (D(), w(x, { key: `xLabel_plot_${t}_${r}` }, [n && !Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || xl(e, n, r) ? (D(), w("text", {
3816
3851
  key: 0,
3817
- transform: sl({
3852
+ transform: ml({
3818
3853
  plot: n,
3819
3854
  type: "plot"
3820
3855
  }),
3821
- "text-anchor": cl({
3856
+ "text-anchor": hl({
3822
3857
  plot: n,
3823
3858
  type: "plot"
3824
3859
  }),
@@ -3827,12 +3862,12 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3827
3862
  stroke: H.value.chart.backgroundColor,
3828
3863
  "paint-order": "stroke",
3829
3864
  style: E(`opacity:${P.value ? P.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`),
3830
- innerHTML: al({
3865
+ innerHTML: fl({
3831
3866
  serie: e,
3832
3867
  plot: n,
3833
3868
  type: "plot"
3834
3869
  })
3835
- }, null, 12, sr)) : C("", !0)], 64))), 128))], 64))), 128))])) : (D(), w("g", cr, [(D(!0), w(x, null, k(jc.value, (e, t) => (D(), w(x, { key: `xLabel_plot_${e.id}` }, [(D(!0), w(x, null, k(e.plots, (n, r) => (D(), w(x, { key: `xLabel_plot_${t}_${r}` }, [H.value.plot.tag.followValue ? (D(), w(x, { key: 1 }, [[
3870
+ }, null, 12, sr)) : C("", !0)], 64))), 128))], 64))), 128))])) : (D(), w("g", cr, [(D(!0), w(x, null, k(Rc.value, (e, t) => (D(), w(x, { key: `xLabel_plot_${e.id}` }, [(D(!0), w(x, null, k(e.plots, (n, r) => (D(), w(x, { key: `xLabel_plot_${t}_${r}` }, [H.value.plot.tag.followValue ? (D(), w(x, { key: 1 }, [[
3836
3871
  R.value,
3837
3872
  B.value,
3838
3873
  oa.value
@@ -3876,13 +3911,13 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3876
3911
  serieName: e.name
3877
3912
  })
3878
3913
  }, null, 12, fr)], 12, dr)) : C("", !0)], 64))], 64))), 128))], 64))), 128))])),
3879
- H.value.line.labels.show && U.value.dataLabels.show ? (D(), w("g", mr, [(D(!0), w(x, null, k($.value, (e, t) => (D(), w(x, { key: `xLabel_line_${e.id}` }, [(D(!0), w(x, null, k(e.plots, (n, r) => (D(), w(x, { key: `xLabel_line_${t}_${r}` }, [n && !Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || ml(e, n, r) ? (D(), w("text", {
3914
+ H.value.line.labels.show && U.value.dataLabels.show ? (D(), w("g", mr, [(D(!0), w(x, null, k($.value, (e, t) => (D(), w(x, { key: `xLabel_line_${e.id}` }, [(D(!0), w(x, null, k(e.plots, (n, r) => (D(), w(x, { key: `xLabel_line_${t}_${r}` }, [n && !Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || xl(e, n, r) ? (D(), w("text", {
3880
3915
  key: 0,
3881
- transform: sl({
3916
+ transform: ml({
3882
3917
  plot: n,
3883
3918
  type: "line"
3884
3919
  }),
3885
- "text-anchor": cl({
3920
+ "text-anchor": hl({
3886
3921
  plot: n,
3887
3922
  type: "line"
3888
3923
  }),
@@ -3891,7 +3926,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3891
3926
  stroke: H.value.chart.backgroundColor,
3892
3927
  "paint-order": "stroke",
3893
3928
  style: E(`opacity:${P.value ? P.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`),
3894
- innerHTML: al({
3929
+ innerHTML: fl({
3895
3930
  serie: e,
3896
3931
  plot: n,
3897
3932
  type: "line"
@@ -3973,7 +4008,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
3973
4008
  }),
3974
4009
  style: E(`opacity:${P.value ? P.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
3975
4010
  }, null, 12, Cr)) : C("", !0)], 64))), 128))], 64))), 128)),
3976
- (D(!0), w(x, null, k(jc.value, (e, t) => (D(), w(x, { key: `xLabel_plot_${e.id}` }, [(D(!0), w(x, null, k(e.plots, (n, r) => (D(), w(x, { key: `xLabel_plot_${t}_${r}` }, [n && r === 0 && e.showSerieName && e.showSerieName === "start" ? (D(), w("text", {
4011
+ (D(!0), w(x, null, k(Rc.value, (e, t) => (D(), w(x, { key: `xLabel_plot_${e.id}` }, [(D(!0), w(x, null, k(e.plots, (n, r) => (D(), w(x, { key: `xLabel_plot_${t}_${r}` }, [n && r === 0 && e.showSerieName && e.showSerieName === "start" ? (D(), w("text", {
3977
4012
  key: 0,
3978
4013
  x: n.x - V.value.plotLabels,
3979
4014
  y: n.y,
@@ -4007,9 +4042,9 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
4007
4042
  style: E(`opacity:${P.value ? P.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
4008
4043
  }, null, 12, Tr)) : C("", !0)], 64))), 128))], 64))), 128)),
4009
4044
  (D(!0), w(x, null, k([
4010
- ...jc.value,
4045
+ ...Rc.value,
4011
4046
  ...$.value,
4012
- ...Ac.value
4047
+ ...Lc.value
4013
4048
  ], (e, t) => (D(), w(x, { key: `progression-${t}` }, [Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(j(ve)(e.plots).trend) ? (D(), w("g", Er, [
4014
4049
  T("defs", null, [T("marker", {
4015
4050
  id: `progression_arrow_${t}`,
@@ -4030,8 +4065,8 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
4030
4065
  }, null, 8, Or)], 8, Dr)]),
4031
4066
  e.plots.length > 1 ? (D(), w("line", {
4032
4067
  key: 0,
4033
- x1: j(ve)(e.plots).x1 + (e.type === "bar" ? Cs() : 0),
4034
- x2: j(ve)(e.plots).x2 + (e.type === "bar" ? Cs() : 0),
4068
+ x1: j(ve)(e.plots).x1 + (e.type === "bar" ? As() : 0),
4069
+ x2: j(ve)(e.plots).x2 + (e.type === "bar" ? As() : 0),
4035
4070
  y1: j(y)(j(ve)(e.plots).y1),
4036
4071
  y2: j(y)(j(ve)(e.plots).y2),
4037
4072
  "stroke-width": 1,
@@ -4043,8 +4078,8 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
4043
4078
  }, null, 8, kr)) : C("", !0),
4044
4079
  e.plots.length > 1 ? (D(), w("line", {
4045
4080
  key: 1,
4046
- x1: j(ve)(e.plots).x1 + (e.type === "bar" ? Cs() : 0),
4047
- x2: j(ve)(e.plots).x2 + (e.type === "bar" ? Cs() : 0),
4081
+ x1: j(ve)(e.plots).x1 + (e.type === "bar" ? As() : 0),
4082
+ x2: j(ve)(e.plots).x2 + (e.type === "bar" ? As() : 0),
4048
4083
  y1: j(y)(j(ve)(e.plots).y1),
4049
4084
  y2: j(y)(j(ve)(e.plots).y2),
4050
4085
  "stroke-width": 1,
@@ -4057,7 +4092,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
4057
4092
  e.plots.length > 1 ? (D(), w("text", {
4058
4093
  key: 2,
4059
4094
  "text-anchor": "middle",
4060
- x: j(ve)(e.plots).x2 + (e.type === "bar" ? Cs() : 0),
4095
+ x: j(ve)(e.plots).x2 + (e.type === "bar" ? As() : 0),
4061
4096
  y: j(ve)(e.plots).y2 - 12,
4062
4097
  "font-size": V.value.plotLabels,
4063
4098
  fill: e.color,
@@ -4072,7 +4107,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
4072
4107
  r: 2
4073
4108
  })), 9, jr)) : C("", !0)
4074
4109
  ])) : C("", !0)], 64))), 128)),
4075
- U.value.useIndividualScale && !U.value.isStacked ? (D(), w(x, { key: 16 }, [T("defs", null, [(D(!0), w(x, null, k(Mc.value, (e, t) => (D(), w("linearGradient", {
4110
+ U.value.useIndividualScale && !U.value.isStacked ? (D(), w(x, { key: 16 }, [T("defs", null, [(D(!0), w(x, null, k(zc.value, (e, t) => (D(), w("linearGradient", {
4076
4111
  id: `individual_scale_gradient_${L.value}_${t}`,
4077
4112
  x1: J.value ? "100%" : "0%",
4078
4113
  x2: J.value ? "0%" : "100%",
@@ -4086,7 +4121,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
4086
4121
  offset: "100%",
4087
4122
  "stop-color": e.color,
4088
4123
  "stop-opacity": "0.2"
4089
- }, null, 8, Pr)], 8, Mr))), 256))]), (D(!0), w(x, null, k(Mc.value, (e, t) => (D(), w("rect", {
4124
+ }, null, 8, Pr)], 8, Mr))), 256))]), (D(!0), w(x, null, k(zc.value, (e, t) => (D(), w("rect", {
4090
4125
  x: J.value ? e.x : e.x - H.value.chart.grid.labels.yAxis.labelWidth - Y.value.individualOffsetX,
4091
4126
  y: Y.value?.top,
4092
4127
  width: (J.value, H.value.chart.grid.labels.yAxis.labelWidth + Y.value.individualOffsetX),
@@ -4118,28 +4153,28 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
4118
4153
  key: 17,
4119
4154
  ref_key: "timeLabelsEls",
4120
4155
  ref: Ki,
4121
- opacity: ul.value ? .1 : 1,
4156
+ opacity: _l.value ? .1 : 1,
4122
4157
  style: { transition: "opacity 0.2s" }
4123
- }, [n.$slots["time-label"] ? (D(!0), w(x, { key: 0 }, k(Sc.value, (e, t) => A(n.$slots, "time-label", rt({
4158
+ }, [n.$slots["time-label"] ? (D(!0), w(x, { key: 0 }, k(kc.value, (e, t) => A(n.$slots, "time-label", rt({
4124
4159
  key: `time_label_${e.id}`,
4125
4160
  ref_for: !0
4126
4161
  }, {
4127
- x: Cc(e, t),
4162
+ x: Ac(e, t),
4128
4163
  y: Y.value?.bottom,
4129
4164
  fontSize: V.value.xAxis,
4130
4165
  fill: H.value.chart.grid.labels.xAxisLabels.color,
4131
- transform: `translate(${Cc(e, t)}, ${Y.value?.bottom + V.value.xAxis * 1.3 + H.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${H.value.chart.grid.labels.xAxisLabels.rotation})`,
4166
+ transform: `translate(${Ac(e, t)}, ${Y.value?.bottom + V.value.xAxis * 1.3 + H.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${H.value.chart.grid.labels.xAxisLabels.rotation})`,
4132
4167
  absoluteIndex: e.absoluteIndex,
4133
4168
  content: e.text,
4134
4169
  textAnchor: H.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : H.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
4135
4170
  show: e && e.text
4136
- }), void 0, !0)), 128)) : (D(!0), w(x, { key: 1 }, k(Sc.value, (e, n) => (D(), w("g", { key: `time_label_${n}` }, [e && e.text ? (D(), w(x, { key: 0 }, [String(e.text).includes("\n") ? (D(), w("text", {
4171
+ }), void 0, !0)), 128)) : (D(!0), w(x, { key: 1 }, k(kc.value, (e, n) => (D(), w("g", { key: `time_label_${n}` }, [e && e.text ? (D(), w(x, { key: 0 }, [String(e.text).includes("\n") ? (D(), w("text", {
4137
4172
  key: 1,
4138
4173
  class: "vue-data-ui-time-label",
4139
4174
  "text-anchor": H.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : H.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
4140
4175
  "font-size": V.value.xAxis,
4141
4176
  fill: H.value.chart.grid.labels.xAxisLabels.color,
4142
- transform: `translate(${Cc(e, n)}, ${Y.value?.bottom + V.value.xAxis * 1.5}), rotate(${H.value.chart.grid.labels.xAxisLabels.rotation})`,
4177
+ transform: `translate(${Ac(e, n)}, ${Y.value?.bottom + V.value.xAxis * 1.5}), rotate(${H.value.chart.grid.labels.xAxisLabels.rotation})`,
4143
4178
  style: E({ cursor: Po() && Va.value ? "pointer" : "default" }),
4144
4179
  innerHTML: j(t)({
4145
4180
  content: String(e.text),
@@ -4155,16 +4190,16 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
4155
4190
  "text-anchor": H.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : H.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
4156
4191
  "font-size": V.value.xAxis,
4157
4192
  fill: H.value.chart.grid.labels.xAxisLabels.color,
4158
- transform: `translate(${Cc(e, n)}, ${Y.value?.bottom + V.value.xAxis * 1.5}), rotate(${H.value.chart.grid.labels.xAxisLabels.rotation})`,
4193
+ transform: `translate(${Ac(e, n)}, ${Y.value?.bottom + V.value.xAxis * 1.5}), rotate(${H.value.chart.grid.labels.xAxisLabels.rotation})`,
4159
4194
  style: E({ cursor: Po() && Va.value ? "pointer" : "default" }),
4160
4195
  onClick: () => qo(e, n)
4161
4196
  }, dt(e.text || ""), 13, zr))], 64)) : C("", !0)]))), 128))], 8, Rr)) : C("", !0),
4162
- fl.value ? (D(), w("g", Vr, [T("text", {
4197
+ yl.value ? (D(), w("g", Vr, [T("text", {
4163
4198
  class: "vue-data-ui-time-label",
4164
4199
  "text-anchor": H.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : H.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
4165
4200
  "font-size": V.value.xAxis,
4166
4201
  fill: H.value.chart.grid.labels.xAxisLabels.color,
4167
- transform: `translate(${fl.value.x}, ${Y.value?.bottom + V.value.xAxis * 1.5}), rotate(${H.value.chart.grid.labels.xAxisLabels.rotation})`,
4202
+ transform: `translate(${yl.value.x}, ${Y.value?.bottom + V.value.xAxis * 1.5}), rotate(${H.value.chart.grid.labels.xAxisLabels.rotation})`,
4168
4203
  "font-weight": "bold",
4169
4204
  style: {
4170
4205
  transition: "none !important",
@@ -4172,14 +4207,14 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
4172
4207
  "pointer-events": "none"
4173
4208
  },
4174
4209
  innerHTML: j(t)({
4175
- content: String(fl.value.text),
4210
+ content: String(yl.value.text),
4176
4211
  fontSize: V.value.xAxis,
4177
4212
  fill: H.value.chart.grid.labels.xAxisLabels.color,
4178
4213
  x: 0,
4179
4214
  y: 0
4180
4215
  })
4181
4216
  }, null, 8, Hr)])) : C("", !0),
4182
- vc.value.length && !U.value.isStacked ? (D(), w("g", Ur, [(D(!0), w(x, null, k(vc.value, (e) => (D(), w("g", { key: e.uid }, [
4217
+ Tc.value.length && !U.value.isStacked ? (D(), w("g", Ur, [(D(!0), w(x, null, k(Tc.value, (e) => (D(), w("g", { key: e.uid }, [
4183
4218
  e.yTop && e.show && isFinite(e.yTop) ? (D(), w("line", {
4184
4219
  key: 0,
4185
4220
  x1: e.x1,
@@ -4231,20 +4266,20 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
4231
4266
  "text-anchor": e.config.label.textAnchor
4232
4267
  }, dt(e.config.label.text), 9, qr)) : C("", !0)
4233
4268
  ]))), 128))])) : C("", !0),
4234
- !ul.value && H.value.chart.timeTag.show && (q.value ? j(g)(tl.value) : ![null, void 0].includes(B.value) || ![null, void 0].includes(R.value)) ? (D(), w("g", Jr, [(D(), w("foreignObject", {
4235
- x: rl(),
4269
+ !_l.value && H.value.chart.timeTag.show && (q.value ? j(g)(cl.value) : ![null, void 0].includes(B.value) || ![null, void 0].includes(R.value)) ? (D(), w("g", Jr, [(D(), w("foreignObject", {
4270
+ x: ul(),
4236
4271
  y: Y.value?.bottom,
4237
4272
  width: "200",
4238
4273
  height: "40",
4239
4274
  style: { overflow: "visible !important" }
4240
4275
  }, [T("div", {
4241
4276
  ref_key: "timeTagEl",
4242
- ref: Qc,
4277
+ ref: al,
4243
4278
  class: "vue-ui-xy-time-tag",
4244
4279
  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`),
4245
- innerHTML: il.value
4280
+ innerHTML: dl.value
4246
4281
  }, null, 12, Xr)], 8, Yr)), T("circle", {
4247
- cx: q.value && j(g)(tl.value) ? wc({ x: tl.value }) : nc((B.value === null ? 0 : B.value) || (R.value === null ? 0 : R.value)),
4282
+ cx: q.value && j(g)(cl.value) ? jc({ x: cl.value }) : lc((B.value === null ? 0 : B.value) || (R.value === null ? 0 : R.value)),
4248
4283
  cy: Y.value?.bottom,
4249
4284
  r: H.value.chart.timeTag.circleMarker.radius,
4250
4285
  fill: H.value.chart.timeTag.circleMarker.color
@@ -4261,14 +4296,14 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
4261
4296
  isPrintingSvg: ba.value,
4262
4297
  data: [
4263
4298
  ...$.value,
4264
- ...Ac.value,
4265
- ...jc.value
4299
+ ...Lc.value,
4300
+ ...Rc.value
4266
4301
  ],
4267
4302
  drawingArea: Y.value
4268
4303
  } }, void 0, !0)
4269
4304
  ], 512)], 46, Mt)), n.$slots.hint ? (D(), w("div", $r, [A(n.$slots, "hint", ot(nt({
4270
4305
  hint: H.value.a11y.translations.keyboardNavigation,
4271
- isVisible: Dl.value
4306
+ isVisible: Pl.value
4272
4307
  })), void 0, !0)])) : C("", !0)]),
4273
4308
  n.$slots.watermark ? (D(), w("div", ei, [A(n.$slots, "watermark", ot(nt({ isPrinting: j(no) || j(ro) || ya.value || ba.value })), void 0, !0)])) : C("", !0),
4274
4309
  (D(!0), w(x, null, k($.value, (e, t) => (D(), w(x, { key: `tag_line_${e.id}` }, [(D(!0), w(x, null, k(e.plots, (n, r) => (D(), w(x, { key: `tag_line_${t}_${r}` }, [[
@@ -4362,7 +4397,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
4362
4397
  serieName: e.name
4363
4398
  })
4364
4399
  }, null, 8, oi)], 4)) : C("", !0)], 64))), 128))], 64))), 128)),
4365
- (D(!0), w(x, null, k(jc.value, (e, t) => (D(), w(x, { key: `tag_plot_${e.id}` }, [(D(!0), w(x, null, k(e.plots, (n, r) => (D(), w(x, { key: `tag_plot_${t}_${r}` }, [[
4400
+ (D(!0), w(x, null, k(Rc.value, (e, t) => (D(), w(x, { key: `tag_plot_${e.id}` }, [(D(!0), w(x, null, k(e.plots, (n, r) => (D(), w(x, { key: `tag_plot_${t}_${r}` }, [[
4366
4401
  R.value,
4367
4402
  B.value,
4368
4403
  oa.value
@@ -4458,7 +4493,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
4458
4493
  ref_key: "chartSlicer",
4459
4494
  ref: zi,
4460
4495
  uuid: L.value,
4461
- allMinimaps: hc.value,
4496
+ allMinimaps: Sc.value,
4462
4497
  background: H.value.chart.zoom.color,
4463
4498
  borderColor: H.value.chart.backgroundColor,
4464
4499
  customFormat: H.value.chart.zoom.customFormat,
@@ -4475,11 +4510,11 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
4475
4510
  isPreview: Qa.value,
4476
4511
  labelLeft: X.value[0] ? X.value[0].text : "",
4477
4512
  labelRight: X.value.at(-1) ? X.value.at(-1).text : "",
4478
- max: Dc.value,
4479
- min: Ec.value,
4513
+ max: Pc.value,
4514
+ min: Nc.value,
4480
4515
  precision: q.value ? H.value.chart.grid.labels.xAxis.rounding : 0,
4481
4516
  useValueRange: q.value,
4482
- minimap: mc.value,
4517
+ minimap: xc.value,
4483
4518
  minimapCompact: H.value.chart.zoom.minimap.compact,
4484
4519
  minimapFrameColor: H.value.chart.zoom.minimap.frameColor,
4485
4520
  minimapIndicatorColor: H.value.chart.zoom.minimap.indicatorColor,
@@ -4489,11 +4524,11 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
4489
4524
  minimapSelectedColorOpacity: H.value.chart.zoom.minimap.selectedColorOpacity,
4490
4525
  minimapSelectedIndex: q.value ? xa.value : B.value ?? R.value,
4491
4526
  minimapSelectionRadius: H.value.chart.zoom.minimap.selectionRadius,
4492
- preciseLabels: Rc.value.length ? Rc.value : Vo.value,
4493
- refreshStartPoint: q.value ? Ec.value : H.value.chart.zoom.startIndex === null ? 0 : H.value.chart.zoom.startIndex,
4494
- refreshEndPoint: q.value ? Dc.value : H.value.chart.zoom.endIndex === null ? Math.max(...e.dataset.map((e) => Ya(e.series).length)) : H.value.chart.zoom.endIndex + 1,
4527
+ preciseLabels: Gc.value.length ? Gc.value : Vo.value,
4528
+ refreshStartPoint: q.value ? Nc.value : H.value.chart.zoom.startIndex === null ? 0 : H.value.chart.zoom.startIndex,
4529
+ refreshEndPoint: q.value ? Pc.value : H.value.chart.zoom.endIndex === null ? Math.max(...e.dataset.map((e) => Ya(e.series).length)) : H.value.chart.zoom.endIndex + 1,
4495
4530
  selectColor: H.value.chart.zoom.highlightColor,
4496
- selectedSeries: gc.value,
4531
+ selectedSeries: Cc.value,
4497
4532
  smoothMinimap: H.value.chart.zoom.minimap.smooth,
4498
4533
  start: G.value.start,
4499
4534
  textColor: H.value.chart.color,
@@ -4515,11 +4550,11 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
4515
4550
  isCursorPointer: Va.value,
4516
4551
  onFutureEnd: r[1] ||= (e) => $a("end", e),
4517
4552
  onFutureStart: r[2] ||= (e) => $a("start", e),
4518
- onReset: cs,
4553
+ onReset: hs,
4519
4554
  onTrapMouse: Jo,
4520
4555
  onTrapMouseValue: Yo,
4521
- "onUpdate:end": ss,
4522
- "onUpdate:start": os
4556
+ "onUpdate:end": ms,
4557
+ "onUpdate:start": ps
4523
4558
  }, {
4524
4559
  "reset-action": M(({ reset: e }) => [A(n.$slots, "reset-action", ot(nt({ reset: e })), void 0, !0)]),
4525
4560
  _: 3
@@ -4541,7 +4576,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
4541
4576
  color: H.value.chart.legend.selectAllToggle.color,
4542
4577
  fontSize: H.value.chart.legend.fontSize,
4543
4578
  checked: I.value.length > 0,
4544
- onToggle: Bs
4579
+ onToggle: qs
4545
4580
  }, null, 8, [
4546
4581
  "backgroundColor",
4547
4582
  "color",
@@ -4549,8 +4584,8 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
4549
4584
  "checked"
4550
4585
  ])) : C("", !0), (D(!0), w(x, null, k(bo.value, (e, t) => (D(), w("div", {
4551
4586
  key: `div_legend_item_${t}`,
4552
- onClick: (t) => Us(e),
4553
- onKeydown: (t) => Vs(t, e),
4587
+ onClick: (t) => Xs(e),
4588
+ onKeydown: (t) => Js(t, e),
4554
4589
  role: "button",
4555
4590
  tabindex: "0",
4556
4591
  class: at({
@@ -4643,7 +4678,7 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
4643
4678
  offsetX: H.value.chart.tooltip.offsetX,
4644
4679
  offsetY: H.value.chart.tooltip.offsetY,
4645
4680
  parent: n.$refs.chart,
4646
- content: zc.value,
4681
+ content: Kc.value,
4647
4682
  isFullscreen: ia.value,
4648
4683
  isCustom: H.value.chart.tooltip.customFormat && typeof H.value.chart.tooltip.customFormat == "function",
4649
4684
  smooth: H.value.chart.tooltip.smooth,
@@ -4653,9 +4688,9 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
4653
4688
  isA11yMode: Sa.value != null,
4654
4689
  a11yPosition: Ca.value
4655
4690
  }, {
4656
- "tooltip-before": M(() => [A(n.$slots, "tooltip-before", ot(nt({ ...Pc.value })), void 0, !0)]),
4657
- tooltip: M(() => [A(n.$slots, "tooltip", ot(nt({ ...Pc.value })), void 0, !0)]),
4658
- "tooltip-after": M(() => [A(n.$slots, "tooltip-after", ot(nt({ ...Pc.value })), void 0, !0)]),
4691
+ "tooltip-before": M(() => [A(n.$slots, "tooltip-before", ot(nt({ ...Vc.value })), void 0, !0)]),
4692
+ tooltip: M(() => [A(n.$slots, "tooltip", ot(nt({ ...Vc.value })), void 0, !0)]),
4693
+ "tooltip-after": M(() => [A(n.$slots, "tooltip-after", ot(nt({ ...Vc.value })), void 0, !0)]),
4659
4694
  _: 3
4660
4695
  }, 8, [
4661
4696
  "teleportTo",
@@ -4681,10 +4716,10 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
4681
4716
  "isA11yMode",
4682
4717
  "a11yPosition"
4683
4718
  ]),
4684
- Ba.value && H.value.chart.userOptions.buttons.table ? (D(), Xe(lt(_l.value.component), rt({ key: 9 }, _l.value.props, {
4719
+ Ba.value && H.value.chart.userOptions.buttons.table ? (D(), Xe(lt(wl.value.component), rt({ key: 9 }, wl.value.props, {
4685
4720
  ref_key: "tableUnit",
4686
4721
  ref: va,
4687
- onClose: vl
4722
+ onClose: Tl
4688
4723
  }), Ze({
4689
4724
  content: M(() => [T("div", { style: E(`${j(no) || 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"}`) }, [T("div", xi, [_t(T("input", {
4690
4725
  type: "checkbox",
@@ -4698,17 +4733,17 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
4698
4733
  stroke: H.value.chart.color
4699
4734
  }, null, 8, ["stroke"])], 4)]), ua.value ? (D(), Xe(j(Di), {
4700
4735
  key: `sparkline_${da.value}`,
4701
- dataset: Qs.value,
4702
- config: $s.value
4736
+ dataset: ac.value,
4737
+ config: oc.value
4703
4738
  }, null, 8, ["dataset", "config"])) : (D(), Xe(j(Ci), {
4704
4739
  key: `table_${ca.value}`,
4705
- colNames: Vc.value.colNames,
4706
- head: Vc.value.head,
4707
- body: Vc.value.body,
4708
- config: Vc.value.config,
4709
- title: H.value.table.useDialog ? "" : _l.value.title,
4740
+ colNames: Jc.value.colNames,
4741
+ head: Jc.value.head,
4742
+ body: Jc.value.body,
4743
+ config: Jc.value.config,
4744
+ title: H.value.table.useDialog ? "" : wl.value.title,
4710
4745
  withCloseButton: !H.value.table.useDialog,
4711
- onClose: vl
4746
+ onClose: Tl
4712
4747
  }, {
4713
4748
  th: M(({ th: e }) => [T("div", { innerHTML: e }, null, 8, Si)]),
4714
4749
  td: M(({ td: e }) => [Qe(dt(isNaN(Number(e)) ? e : j(o)({
@@ -4729,23 +4764,23 @@ var Dt = /* @__PURE__ */ e({ default: () => N }), Ot = ["id"], kt = ["id"], At =
4729
4764
  _: 2
4730
4765
  }, [H.value.table.useDialog ? {
4731
4766
  name: "title",
4732
- fn: M(() => [Qe(dt(_l.value.title), 1)]),
4767
+ fn: M(() => [Qe(dt(wl.value.title), 1)]),
4733
4768
  key: "0"
4734
4769
  } : void 0, H.value.table.useDialog ? {
4735
4770
  name: "actions",
4736
4771
  fn: M(() => [T("button", {
4737
4772
  tabindex: "0",
4738
4773
  class: "vue-ui-user-options-button",
4739
- onClick: r[3] ||= (e) => Hc(H.value.chart.userOptions.callbacks.csv)
4774
+ onClick: r[3] ||= (e) => Yc(H.value.chart.userOptions.callbacks.csv)
4740
4775
  }, [$e(j(Ei), {
4741
4776
  name: "fileCsv",
4742
- stroke: _l.value.props.color
4777
+ stroke: wl.value.props.color
4743
4778
  }, null, 8, ["stroke"])])]),
4744
4779
  key: "1"
4745
4780
  } : void 0]), 1040)) : C("", !0),
4746
4781
  A(n.$slots, "skeleton", {}, () => [j(Ka) ? (D(), Xe(Pe, { key: 0 })) : C("", !0)], !0)
4747
4782
  ], 46, Ot));
4748
4783
  }
4749
- }, [["__scopeId", "data-v-5958e674"]]);
4784
+ }, [["__scopeId", "data-v-aec8831a"]]);
4750
4785
  //#endregion
4751
4786
  export { Dt as n, N as t };