vue-data-ui 3.16.4 → 3.17.0

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 (148) hide show
  1. package/README.md +64 -46
  2. package/dist/{PackageVersion-1BHnPIBZ.js → PackageVersion-B3kmPxTR.js} +1 -1
  3. package/dist/{Slicer-DUycDH_N.js → Slicer-CIHwwuNR.js} +107 -110
  4. package/dist/SlicerPreview-BIvxyb5W.js +1484 -0
  5. package/dist/{Tooltip-Bf-kM3_A.js → Tooltip-C8KGyqQk.js} +19 -17
  6. package/dist/components/vue-ui-3d-bar.js +1 -1
  7. package/dist/components/vue-ui-accordion.js +1 -1
  8. package/dist/components/vue-ui-age-pyramid.js +1 -1
  9. package/dist/components/vue-ui-annotator.js +1 -1
  10. package/dist/components/vue-ui-bullet.js +1 -1
  11. package/dist/components/vue-ui-bump.js +1 -1
  12. package/dist/components/vue-ui-candlestick.js +1 -1
  13. package/dist/components/vue-ui-carousel-table.js +1 -1
  14. package/dist/components/vue-ui-chestnut.js +1 -1
  15. package/dist/components/vue-ui-chord.js +1 -1
  16. package/dist/components/vue-ui-circle-pack.js +1 -1
  17. package/dist/components/vue-ui-cursor.js +1 -1
  18. package/dist/components/vue-ui-dag.js +1 -1
  19. package/dist/components/vue-ui-dashboard.js +1 -1
  20. package/dist/components/vue-ui-digits.js +1 -1
  21. package/dist/components/vue-ui-donut-evolution.js +1 -1
  22. package/dist/components/vue-ui-donut.js +1 -1
  23. package/dist/components/vue-ui-dumbbell.js +1 -1
  24. package/dist/components/vue-ui-flow.js +1 -1
  25. package/dist/components/vue-ui-funnel.js +1 -1
  26. package/dist/components/vue-ui-galaxy.js +1 -1
  27. package/dist/components/vue-ui-gauge.js +1 -1
  28. package/dist/components/vue-ui-geo.js +1 -1
  29. package/dist/components/vue-ui-gizmo.js +1 -1
  30. package/dist/components/vue-ui-heatmap.js +1 -1
  31. package/dist/components/vue-ui-history-plot.js +1 -1
  32. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  33. package/dist/components/vue-ui-kpi.js +1 -1
  34. package/dist/components/vue-ui-mini-loader.js +1 -1
  35. package/dist/components/vue-ui-molecule.js +1 -1
  36. package/dist/components/vue-ui-mood-radar.js +1 -1
  37. package/dist/components/vue-ui-nested-donuts.js +1 -1
  38. package/dist/components/vue-ui-onion.js +1 -1
  39. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  40. package/dist/components/vue-ui-quadrant.js +1 -1
  41. package/dist/components/vue-ui-quick-chart.js +1 -1
  42. package/dist/components/vue-ui-radar.js +1 -1
  43. package/dist/components/vue-ui-rating.js +1 -1
  44. package/dist/components/vue-ui-relation-circle.js +1 -1
  45. package/dist/components/vue-ui-ridgeline.js +1 -1
  46. package/dist/components/vue-ui-rings.js +1 -1
  47. package/dist/components/vue-ui-scatter.js +1 -1
  48. package/dist/components/vue-ui-skeleton.js +1 -1
  49. package/dist/components/vue-ui-smiley.js +1 -1
  50. package/dist/components/vue-ui-spark-trend.js +1 -1
  51. package/dist/components/vue-ui-sparkbar.js +1 -1
  52. package/dist/components/vue-ui-sparkgauge.js +1 -1
  53. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  54. package/dist/components/vue-ui-sparkline.js +1 -1
  55. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  56. package/dist/components/vue-ui-stackbar.js +1 -1
  57. package/dist/components/vue-ui-stackline.js +1 -1
  58. package/dist/components/vue-ui-strip-plot.js +1 -1
  59. package/dist/components/vue-ui-table-heatmap.js +1 -1
  60. package/dist/components/vue-ui-table-sparkline.js +1 -1
  61. package/dist/components/vue-ui-table.js +1 -1
  62. package/dist/components/vue-ui-thermometer.js +1 -1
  63. package/dist/components/vue-ui-timer.js +1 -1
  64. package/dist/components/vue-ui-tiremarks.js +1 -1
  65. package/dist/components/vue-ui-treemap.js +1 -1
  66. package/dist/components/vue-ui-vertical-bar.js +1 -1
  67. package/dist/components/vue-ui-waffle.js +1 -1
  68. package/dist/components/vue-ui-wheel.js +1 -1
  69. package/dist/components/vue-ui-word-cloud.js +1 -1
  70. package/dist/components/vue-ui-world.js +1 -1
  71. package/dist/components/vue-ui-xy-canvas.js +1 -1
  72. package/dist/components/vue-ui-xy.js +1 -1
  73. package/dist/style.css +1 -1
  74. package/dist/types/vue-data-ui.d.ts +1 -1
  75. package/dist/{useConfig-CpJA0VZa.js → useConfig-ChRble71.js} +1 -0
  76. package/dist/{useObjectBindings-DToqZaRC.js → useObjectBindings-BVFCsss5.js} +1 -1
  77. package/dist/utils.js +1 -1
  78. package/dist/{vue-data-ui-D28lrXzG.js → vue-data-ui-BX3I-ZQt.js} +67 -67
  79. package/dist/vue-data-ui.js +68 -68
  80. package/dist/{vue-ui-3d-bar-BOrQb1Zm.js → vue-ui-3d-bar-DsSxN6Xl.js} +2 -2
  81. package/dist/{vue-ui-accordion-BF4v32wv.js → vue-ui-accordion-CnDW2UQL.js} +1 -1
  82. package/dist/{vue-ui-age-pyramid-txthNdz1.js → vue-ui-age-pyramid-DgAJXx1F.js} +112 -109
  83. package/dist/{vue-ui-annotator-U961V1Kc.js → vue-ui-annotator-BA4hRkfX.js} +2 -2
  84. package/dist/{vue-ui-bullet-BboXC-yM.js → vue-ui-bullet-BCuT1zVr.js} +2 -2
  85. package/dist/{vue-ui-bump-oRhoxgeR.js → vue-ui-bump-BTnwgB5Q.js} +2 -2
  86. package/dist/{vue-ui-candlestick-RAgVO1Hl.js → vue-ui-candlestick-BMvM7WIc.js} +148 -145
  87. package/dist/{vue-ui-carousel-table-BFqP05En.js → vue-ui-carousel-table-DCtWIG49.js} +2 -2
  88. package/dist/{vue-ui-chestnut-ComiA10N.js → vue-ui-chestnut-DJ0R3Aqx.js} +2 -2
  89. package/dist/{vue-ui-chord-D9dLOTr5.js → vue-ui-chord-BbWToSBq.js} +2 -2
  90. package/dist/{vue-ui-circle-pack-pqOFrf-X.js → vue-ui-circle-pack-CwuEfQPE.js} +117 -114
  91. package/dist/{vue-ui-cursor-BmAytuMu.js → vue-ui-cursor-C4MnK_CE.js} +2 -2
  92. package/dist/{vue-ui-dag-CuJNCfFw.js → vue-ui-dag-HKbeFOit.js} +2 -2
  93. package/dist/{vue-ui-dashboard-DDuu-xwh.js → vue-ui-dashboard-DTYz-idn.js} +65 -65
  94. package/dist/{vue-ui-digits-DYKnwhao.js → vue-ui-digits-CrFH4BlD.js} +2 -2
  95. package/dist/{vue-ui-donut-CbD2wI-a.js → vue-ui-donut-B1C7vzFY.js} +100 -97
  96. package/dist/{vue-ui-donut-evolution-BdA0k4Eg.js → vue-ui-donut-evolution-BUIQwZ-c.js} +3 -3
  97. package/dist/{vue-ui-dumbbell-CPbXszE_.js → vue-ui-dumbbell-Bq-X5L24.js} +2 -2
  98. package/dist/{vue-ui-flow-RyxU8f22.js → vue-ui-flow-DUn9hp_J.js} +141 -138
  99. package/dist/{vue-ui-funnel-Cda_iN_h.js → vue-ui-funnel-CNF2ULOQ.js} +2 -2
  100. package/dist/{vue-ui-galaxy-BNUPKqkV.js → vue-ui-galaxy-BzlU9OSU.js} +75 -72
  101. package/dist/{vue-ui-gauge-CihaQBsc.js → vue-ui-gauge-aF_V6ynK.js} +2 -2
  102. package/dist/{vue-ui-geo-Da95dDom.js → vue-ui-geo-xaZvHjAP.js} +116 -113
  103. package/dist/{vue-ui-gizmo-DzHN0cW5.js → vue-ui-gizmo-BGvS_AHj.js} +2 -2
  104. package/dist/{vue-ui-heatmap-DqQiO1Oz.js → vue-ui-heatmap-B_BmpyVy.js} +191 -188
  105. package/dist/{vue-ui-history-plot-DqeaH_61.js → vue-ui-history-plot-DsoLp3aL.js} +124 -121
  106. package/dist/{vue-ui-horizontal-bar-CX6TPm9_.js → vue-ui-horizontal-bar-JVjE88ZW.js} +218 -215
  107. package/dist/{vue-ui-kpi-OxZqguE4.js → vue-ui-kpi-B-v1zpd4.js} +2 -2
  108. package/dist/{vue-ui-mini-loader-DSQ9kcmW.js → vue-ui-mini-loader-CPfZsqWP.js} +1 -1
  109. package/dist/{vue-ui-molecule-CTm126iW.js → vue-ui-molecule-Di9_wsME.js} +61 -58
  110. package/dist/{vue-ui-mood-radar-C0E6bq6E.js → vue-ui-mood-radar-CetQpdnu.js} +2 -2
  111. package/dist/{vue-ui-nested-donuts-Bh0ZICKK.js → vue-ui-nested-donuts-Y-UMjjYV.js} +131 -128
  112. package/dist/{vue-ui-onion-QsjwjlCa.js → vue-ui-onion-MM3QZLzF.js} +142 -139
  113. package/dist/{vue-ui-parallel-coordinate-plot-wJcWVLAC.js → vue-ui-parallel-coordinate-plot-CcHmB0MQ.js} +91 -88
  114. package/dist/{vue-ui-quadrant-lJ7T6q87.js → vue-ui-quadrant-CQIMUggy.js} +58 -55
  115. package/dist/{vue-ui-quick-chart-CEMQYbSC.js → vue-ui-quick-chart-lwGufdDj.js} +235 -232
  116. package/dist/{vue-ui-radar-d7b-Y40r.js → vue-ui-radar-CS74L65M.js} +117 -114
  117. package/dist/{vue-ui-rating-hudM2QS0.js → vue-ui-rating-DiLLVHq3.js} +1 -1
  118. package/dist/{vue-ui-relation-circle-_PoDqM8x.js → vue-ui-relation-circle-D3dO8RTC.js} +2 -2
  119. package/dist/{vue-ui-ridgeline-BU_EA8-u.js → vue-ui-ridgeline-Dpvq9yp2.js} +2 -2
  120. package/dist/{vue-ui-rings-BQKtt-FQ.js → vue-ui-rings-D-45pPpZ.js} +122 -119
  121. package/dist/{vue-ui-scatter-Bh95G7ZD.js → vue-ui-scatter-BzCjfGB9.js} +121 -118
  122. package/dist/{vue-ui-skeleton-BIw-u4zp.js → vue-ui-skeleton-Dai-bZZw.js} +2 -2
  123. package/dist/{vue-ui-smiley-CQ_rGHFe.js → vue-ui-smiley-BioqmYwT.js} +1 -1
  124. package/dist/{vue-ui-spark-trend-D4QxExdm.js → vue-ui-spark-trend-DiC9V0VU.js} +2 -2
  125. package/dist/{vue-ui-sparkbar-BmiEOs4E.js → vue-ui-sparkbar-D6EsbW6u.js} +2 -2
  126. package/dist/{vue-ui-sparkgauge-hwEkTICS.js → vue-ui-sparkgauge-BHDXZgJH.js} +2 -2
  127. package/dist/{vue-ui-sparkhistogram-DEkO_5i3.js → vue-ui-sparkhistogram-DzuOjuNH.js} +2 -2
  128. package/dist/{vue-ui-sparkline-DFnG0CrA.js → vue-ui-sparkline-B-zOqzrC.js} +288 -276
  129. package/dist/{vue-ui-sparkstackbar-CQqUPbkU.js → vue-ui-sparkstackbar-bqKzIKSg.js} +147 -144
  130. package/dist/{vue-ui-stackbar-BcP_TA9R.js → vue-ui-stackbar-DPfxqQUG.js} +435 -424
  131. package/dist/{vue-ui-stackline-Bnuj-z-G.js → vue-ui-stackline-Ctqe1OuF.js} +627 -609
  132. package/dist/{vue-ui-strip-plot-B-tszwir.js → vue-ui-strip-plot-Dg2URhvc.js} +72 -69
  133. package/dist/{vue-ui-table-heatmap-DU7w6PrX.js → vue-ui-table-heatmap-Da6sqBlI.js} +1 -1
  134. package/dist/{vue-ui-table-sparkline-DHjZyVAg.js → vue-ui-table-sparkline-Bkv6Qz6V.js} +2 -2
  135. package/dist/{vue-ui-table-BVQyX-Yx.js → vue-ui-table-xrD-xqis.js} +3 -3
  136. package/dist/{vue-ui-thermometer-ZED83TXZ.js → vue-ui-thermometer-D7VVeA2i.js} +2 -2
  137. package/dist/{vue-ui-timer-Xg7H9EaE.js → vue-ui-timer-D7XYgZfb.js} +2 -2
  138. package/dist/{vue-ui-tiremarks-BDoU-BcX.js → vue-ui-tiremarks-i6e8GTI9.js} +2 -2
  139. package/dist/{vue-ui-treemap-BcS1k9hJ.js → vue-ui-treemap-D8Mbfeuc.js} +220 -217
  140. package/dist/{vue-ui-waffle-CSvzbC5u.js → vue-ui-waffle-7rVD530d.js} +123 -120
  141. package/dist/{vue-ui-wheel-BrLKEar8.js → vue-ui-wheel-HQNWtsvJ.js} +2 -2
  142. package/dist/{vue-ui-word-cloud-D05ZR0u7.js → vue-ui-word-cloud-DFAEbzUa.js} +159 -156
  143. package/dist/{vue-ui-world-CtPJIK5c.js → vue-ui-world-YvmrdfIm.js} +86 -83
  144. package/dist/vue-ui-xy-canvas-CEaAQ_tr.js +1819 -0
  145. package/dist/{vue-ui-xy-5mNo0EDu.js → vue-ui-xy-n4juEarQ.js} +402 -398
  146. package/package.json +1 -1
  147. package/dist/SlicerPreview-DTjwV0iY.js +0 -1372
  148. package/dist/vue-ui-xy-canvas-CaoWw3AU.js +0 -1810
@@ -1,7 +1,7 @@
1
- import { defineAsyncComponent as Re, useSlots as Nu, getCurrentInstance as Fu, ref as g, shallowRef as Vu, computed as b, onMounted as It, toRefs as Bu, watch as vt, watchEffect as sl, nextTick as Pt, onBeforeUnmount as Il, openBlock as i, createElementBlock as r, normalizeStyle as w, normalizeClass as Je, createElementVNode as y, toDisplayString as ue, createBlock as _e, createCommentVNode as h, unref as v, withCtx as X, renderSlot as F, normalizeProps as ge, guardReactiveProps as be, createSlots as lo, createVNode as dt, Fragment as d, renderList as k, mergeProps as Qe, Teleport as Ru, resolveDynamicComponent as Hu, withDirectives as Du, vModelCheckbox as Wu, createTextVNode as ao } from "vue";
2
- import { j as Pl, q as Ol, t as oo, n as Eu, D as uo, E as so, s as Nl, p as Fl, F as nl, G as W, H as Vl, I as Yu, J as Xu, K as O, L as no, c as io, M as ro, b as co, N as Gu, O as qu, P as Uu, Q as vo, R as ho, k as ve, S as Zu, T as fo, U as Ku, z as mo, A as Ie, l as Pe, v as je, u as Ce, V as Ju, a as Qu, W as He, d as il, Y as Se, Z as ju, _ as De, $ as Ot, m as es, o as go, a0 as ts, a1 as ls, a2 as ht, a3 as as } from "./lib-DBptbyyI.js";
1
+ import { defineAsyncComponent as Re, useSlots as Nu, getCurrentInstance as Fu, ref as g, shallowRef as Vu, computed as b, onMounted as It, toRefs as Bu, watch as vt, watchEffect as sl, nextTick as Pt, onBeforeUnmount as Pl, openBlock as i, createElementBlock as r, normalizeStyle as w, normalizeClass as Je, createElementVNode as y, toDisplayString as se, createBlock as _e, createCommentVNode as h, unref as v, withCtx as Y, renderSlot as O, normalizeProps as ve, guardReactiveProps as de, createSlots as lo, createVNode as dt, Fragment as d, renderList as k, mergeProps as Qe, Teleport as Ru, resolveDynamicComponent as Hu, withDirectives as Du, vModelCheckbox as Wu, createTextVNode as ao } from "vue";
2
+ import { j as Ol, q as Nl, t as oo, n as Eu, D as uo, E as so, s as Fl, p as Vl, F as nl, G as W, H as Bl, I as Yu, J as Xu, K as N, L as no, c as io, M as ro, b as co, N as Gu, O as qu, P as Uu, Q as vo, R as ho, k as he, S as Zu, T as fo, U as Ku, z as mo, A as Ie, l as Pe, v as je, u as Ce, V as Ju, a as Qu, W as He, d as il, Y as Se, Z as ju, _ as De, $ as Ot, m as es, o as go, a0 as ts, a1 as ls, a2 as ht, a3 as as } from "./lib-DBptbyyI.js";
3
3
  import { u as bo, a as po, b as os } from "./useTimeLabels-C-A2uZKi.js";
4
- import { u as us } from "./useConfig-CpJA0VZa.js";
4
+ import { u as us } from "./useConfig-ChRble71.js";
5
5
  import { u as ss } from "./usePrinter-CEpYU3r5.js";
6
6
  import { u as ns, B as is } from "./BaseScanner-BhhkKVoj.js";
7
7
  import { u as rs } from "./useSvgExport-ByUukOZt.js";
@@ -13,8 +13,8 @@ import hs from "./img-LXxMLmCg.js";
13
13
  import fs from "./Title-BeMKE1cj.js";
14
14
  import ms from "./vue_ui_xy-esktmpg-.js";
15
15
  import { _ as rl } from "./Shape-BKRUOeKk.js";
16
- import { S as gs } from "./SlicerPreview-DTjwV0iY.js";
17
- import bs from "./vue-ui-accordion-BF4v32wv.js";
16
+ import { S as gs } from "./SlicerPreview-BIvxyb5W.js";
17
+ import bs from "./vue-ui-accordion-CnDW2UQL.js";
18
18
  import { B as ps } from "./BaseLegendToggle-BQVIawmA.js";
19
19
  import { A as ys } from "./A11yDataTable-KcVAX2cP.js";
20
20
  import { _ as xs } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -92,8 +92,8 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
92
92
  },
93
93
  emits: ["selectTimeLabel", "selectX", "selectLegend", "zoomStart", "zoomEnd", "zoomReset", "copyAlt"],
94
94
  setup(cl, { expose: yo, emit: xo }) {
95
- const T = cl, ko = Re(() => import("./DataTable-DT2kIdQ6.js")), _o = Re(() => import("./Tooltip-Bf-kM3_A.js")), wo = Re(() => import("./UserOptions-rW2fRf3V.js")), Bl = Re(() => import("./BaseIcon-Cb3zzG6s.js")), So = Re(() => import("./vue-ui-table-sparkline-DHjZyVAg.js")), $o = Re(() => import("./PackageVersion-1BHnPIBZ.js")), Lo = Re(() => import("./PenAndPaper-Ct3qJ4lA.js")), Mo = Re(() => import("./BaseDraggableDialog-CIb-iD9g.js")), We = xo, Rl = Nu(), Ao = Fu(), { vue_ui_xy: ft } = us(), { isThemeValid: Co, warnInvalidTheme: To } = cs(), $e = g(null), mt = g(null), Te = g(null), et = g(null), gt = g(null), bt = g(null), zo = g(null), vl = g(null), dl = g(null), Ft = g(null), hl = g(null), fl = g(null), Ne = g(null), ml = g(null), Io = g(0), C = g(null), Hl = g(!0), de = g(600), ee = g(1e3), Vt = g("0 0 1000 600"), Po = g({ x: 0, y: 0 }), pt = g({ line: "line", bar: "bar", plot: "plot" }), tt = g(!1), Ee = g(!1), Dl = g(!1), Ye = g(null), G = g([]), z = g(Pl()), Wl = g(0), El = g(0), Yl = g(0), yt = g(!0), gl = g(0), P = g(null), Xl = g(!1), bl = g(!0), Bt = g(!0), ae = g(null), Oe = g({}), Rt = g(null), Gl = g(!1), lt = g(null), Ht = g(!1), Dt = g(!1), _ = g(null), at = g(null), ql = g({ x: 0, y: 0 }), Ul = Vu(null), Zl = g(!1), Kl = g(0), Jl = g(0), Ql = vs({
96
- elementRef: Ul,
95
+ const T = cl, ko = Re(() => import("./DataTable-DT2kIdQ6.js")), _o = Re(() => import("./Tooltip-C8KGyqQk.js")), wo = Re(() => import("./UserOptions-rW2fRf3V.js")), Rl = Re(() => import("./BaseIcon-Cb3zzG6s.js")), So = Re(() => import("./vue-ui-table-sparkline-Bkv6Qz6V.js")), $o = Re(() => import("./PackageVersion-B3kmPxTR.js")), Lo = Re(() => import("./PenAndPaper-Ct3qJ4lA.js")), Mo = Re(() => import("./BaseDraggableDialog-CIb-iD9g.js")), We = xo, Hl = Nu(), Ao = Fu(), { vue_ui_xy: ft } = us(), { isThemeValid: Co, warnInvalidTheme: To } = cs(), $e = g(null), mt = g(null), Te = g(null), et = g(null), gt = g(null), bt = g(null), zo = g(null), vl = g(null), dl = g(null), Ft = g(null), hl = g(null), fl = g(null), Ne = g(null), ml = g(null), Io = g(0), C = g(null), Dl = g(!0), fe = g(600), ee = g(1e3), Vt = g("0 0 1000 600"), Po = g({ x: 0, y: 0 }), pt = g({ line: "line", bar: "bar", plot: "plot" }), tt = g(!1), Ee = g(!1), Wl = g(!1), Ye = g(null), G = g([]), z = g(Ol()), El = g(0), Yl = g(0), Xl = g(0), yt = g(!0), gl = g(0), P = g(null), Gl = g(!1), bl = g(!0), Bt = g(!0), ae = g(null), Oe = g({}), Rt = g(null), ql = g(!1), lt = g(null), Ht = g(!1), Dt = g(!1), _ = g(null), at = g(null), Ul = g({ x: 0, y: 0 }), Zl = Vu(null), Kl = g(!1), Jl = g(0), Ql = g(0), jl = vs({
96
+ elementRef: Zl,
97
97
  minimumWidth: 2,
98
98
  minimumHeight: 2,
99
99
  stableFramesRequired: 2,
@@ -103,9 +103,9 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
103
103
  }
104
104
  });
105
105
  function xt() {
106
- Ul.value = $e.value?.parentNode ?? null;
106
+ Zl.value = $e.value?.parentNode ?? null;
107
107
  }
108
- function jl() {
108
+ function ea() {
109
109
  return new Promise((l) => {
110
110
  requestAnimationFrame(() => {
111
111
  requestAnimationFrame(l);
@@ -113,35 +113,35 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
113
113
  });
114
114
  }
115
115
  async function ot() {
116
- const l = ++Jl.value;
117
- Zl.value = !1, await Pt(), await jl(), await jl(), l === Jl.value && (Kl.value += 1, Zl.value = !0);
116
+ const l = ++Ql.value;
117
+ Kl.value = !1, await Pt(), await ea(), await ea(), l === Ql.value && (Jl.value += 1, Kl.value = !0);
118
118
  }
119
119
  const Oo = b(() => ({
120
- height: de.value,
120
+ height: fe.value,
121
121
  width: ee.value
122
122
  }));
123
- function ea(l) {
123
+ function ta(l) {
124
124
  return Number.isFinite(l) ? Math.max(0, Math.floor(l)) : 0;
125
125
  }
126
126
  function pl(l, o, e = 0) {
127
127
  return Number.isFinite(l) && Number.isFinite(o) && Math.abs(o) > 1e-9 ? l / o : e;
128
128
  }
129
- const ta = g(!1), x = g({
129
+ const la = g(!1), x = g({
130
130
  xAxis: 18,
131
131
  yAxis: 12,
132
132
  dataLabels: 20,
133
133
  plotLabels: 10
134
134
  }), Le = g({ plot: 3, line: 3 });
135
135
  It(() => {
136
- Gl.value = !0, T.dataset.length && T.dataset.forEach((l, o) => {
137
- [null, void 0].includes(l.series) && Ol({
136
+ ql.value = !0, T.dataset.length && T.dataset.forEach((l, o) => {
137
+ [null, void 0].includes(l.series) && Nl({
138
138
  componentName: "VueUiXy",
139
139
  type: "datasetSerieAttribute",
140
140
  property: "series (number[])",
141
141
  index: o,
142
142
  debug: kt.value
143
143
  });
144
- }), xt(), Ql.start(), ot();
144
+ }), xt(), jl.start(), ot();
145
145
  });
146
146
  function yl() {
147
147
  if (!Object.keys(T.config || {}).length)
@@ -153,10 +153,10 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
153
153
  T.config && Ot(T.config, "chart.highlightArea") && (Array.isArray(T.config.chart.highlightArea) ? l.chart.highlightArea = T.config.chart.highlightArea : l.chart.highlightArea = [T.config.chart.highlightArea]), T.config && Ot(T.config, "chart.annotations") && Array.isArray(T.config.chart.annotations) && T.config.chart.annotations.length ? l.chart.annotations = T.config.chart.annotations.map((a) => Nt({
154
154
  defaultConfig: ft.chart.annotations[0],
155
155
  userConfig: a
156
- })) : l.chart.annotations = [], T.config && Ot(T.config, "chart.grid.position") && T.config.chart.grid.position === "start" && T.dataset.length && T.dataset.some((a) => a.type === "bar") && (l.chart.grid.position = "middle", Ot(T.config, "debug") && console.warn("Vue Data UI - VueUiXy - config.chart.grid.position was overriden to `middle` because your dataset contains a bar")), T.config && Ot(T.config, "chart.highlightArea") && (Array.isArray(T.config.chart.highlightArea) ? l.chart.highlightArea = T.config.chart.highlightArea.map((a) => la({
156
+ })) : l.chart.annotations = [], T.config && Ot(T.config, "chart.grid.position") && T.config.chart.grid.position === "start" && T.dataset.length && T.dataset.some((a) => a.type === "bar") && (l.chart.grid.position = "middle", Ot(T.config, "debug") && console.warn("Vue Data UI - VueUiXy - config.chart.grid.position was overriden to `middle` because your dataset contains a bar")), T.config && Ot(T.config, "chart.highlightArea") && (Array.isArray(T.config.chart.highlightArea) ? l.chart.highlightArea = T.config.chart.highlightArea.map((a) => aa({
157
157
  defaultConfig: ft.chart.highlightArea,
158
158
  userConfig: a
159
- })) : l.chart.highlightArea = la({
159
+ })) : l.chart.highlightArea = aa({
160
160
  defaultConfig: ft.chart.highlightArea,
161
161
  userConfig: T.config.chart.highlightArea
162
162
  }));
@@ -173,10 +173,10 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
173
173
  });
174
174
  return {
175
175
  ...s,
176
- customPalette: s.customPalette.length ? s.customPalette : es[o] || Fl
176
+ customPalette: s.customPalette.length ? s.customPalette : es[o] || Vl
177
177
  };
178
178
  }
179
- function la({ defaultConfig: l, userConfig: o }) {
179
+ function aa({ defaultConfig: l, userConfig: o }) {
180
180
  return Nt({
181
181
  defaultConfig: l,
182
182
  userConfig: o
@@ -197,13 +197,13 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
197
197
  useIndividualScale: !1
198
198
  });
199
199
  function kl() {
200
- ta.value ? (f.value.showTooltip = t.value.chart.tooltip.show === !0, f.value.showTable = t.value.showTable === !0, f.value.isStacked = t.value.chart.grid.labels.yAxis.stacked, f.value.useIndividualScale == null && (f.value.useIndividualScale = t.value.chart.grid.labels.yAxis.useIndividualScale)) : (f.value = {
200
+ la.value ? (f.value.showTooltip = t.value.chart.tooltip.show === !0, f.value.showTable = t.value.showTable === !0, f.value.isStacked = t.value.chart.grid.labels.yAxis.stacked, f.value.useIndividualScale == null && (f.value.useIndividualScale = t.value.chart.grid.labels.yAxis.useIndividualScale)) : (f.value = {
201
201
  dataLabels: { show: !0 },
202
202
  showTooltip: t.value.chart.tooltip.show === !0,
203
203
  showTable: t.value.showTable === !0,
204
204
  isStacked: t.value.chart.grid.labels.yAxis.stacked,
205
205
  useIndividualScale: t.value.chart.grid.labels.yAxis.useIndividualScale
206
- }, ta.value = !0);
206
+ }, la.value = !0);
207
207
  }
208
208
  const kt = b(() => !!t.value.debug), No = b(() => oo({
209
209
  defaultConfig: {
@@ -300,11 +300,11 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
300
300
  return a || (a = /* @__PURE__ */ new Map(), o.set(e, a)), a.set(n, u), u;
301
301
  };
302
302
  }
303
- const Bo = Vo((l, o) => Vl({ data: l, threshold: o })), Fe = (l) => Bo(l, t.value.downsample.threshold), ze = b({
303
+ const Bo = Vo((l, o) => Bl({ data: l, threshold: o })), Fe = (l) => Bo(l, t.value.downsample.threshold), ze = b({
304
304
  get: () => Math.max(...pe.value.map((l) => Fe(l.series).length)),
305
305
  set: (l) => l
306
- }), m = g({ start: 0, end: ze.value }), Me = g({ start: 0, end: ze.value }), aa = b(() => t.value.chart.zoom.preview.enable && (Me.value.start !== m.value.start || Me.value.end !== m.value.end));
307
- function oa(l, o) {
306
+ }), m = g({ start: 0, end: ze.value }), Me = g({ start: 0, end: ze.value }), oa = b(() => t.value.chart.zoom.preview.enable && (Me.value.start !== m.value.start || Me.value.end !== m.value.end));
307
+ function ua(l, o) {
308
308
  Me.value[l] = o;
309
309
  }
310
310
  function ut() {
@@ -343,7 +343,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
343
343
  const o = l - m.value.start;
344
344
  o < 0 || l >= m.value.end ? _.value = null : _.value = o ?? null;
345
345
  }, { immediate: !0 });
346
- const { isPrinting: Et, isImaging: _l, generatePdf: ua, generateImage: sa } = ss({
346
+ const { isPrinting: Et, isImaging: _l, generatePdf: sa, generateImage: na } = ss({
347
347
  elementId: `vue-ui-xy_${z.value}`,
348
348
  fileName: t.value.chart.title.text || "vue-ui-xy",
349
349
  options: t.value.chart.userOptions.print
@@ -352,45 +352,45 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
352
352
  if (l == null) return null;
353
353
  const o = Number(l);
354
354
  return Number.isFinite(o) ? o : null;
355
- }), Do = b(() => st.value !== null ? c.value.bottom : he.value), _t = b(() => {
355
+ }), Do = b(() => st.value !== null ? c.value.bottom : me.value), _t = b(() => {
356
356
  const l = t.value.chart.grid.labels.yAxis.scaleMax;
357
357
  if (l == null) return null;
358
358
  const o = Number(l);
359
359
  return Number.isFinite(o) ? o : null;
360
- }), na = b(() => st.value !== null || _t.value !== null), ia = b(() => {
360
+ }), ia = b(() => st.value !== null || _t.value !== null), ra = b(() => {
361
361
  const l = Ve.value.filter((o) => !G.value.includes(o.id)).flatMap((o) => Array.isArray(o.series) ? o.series : []).filter(Number.isFinite);
362
362
  return l.length ? {
363
363
  min: Math.min(...l),
364
364
  max: Math.max(...l)
365
365
  } : { min: 0, max: 1 };
366
366
  });
367
- function ra(l, o) {
367
+ function ca(l, o) {
368
368
  let e = Number.isFinite(l) ? l : 0, s = Number.isFinite(o) ? o : 1;
369
369
  return e === s ? s = e + 1 : e > s && ([e, s] = [s, e]), { min: e, max: s };
370
370
  }
371
371
  const Xt = b(() => {
372
- const { min: l, max: o } = ia.value;
373
- if (!na.value) {
372
+ const { min: l, max: o } = ra.value;
373
+ if (!ia.value) {
374
374
  const u = l;
375
375
  return u > 0 ? 0 : u;
376
376
  }
377
377
  const e = st.value !== null ? st.value : l > 0 ? 0 : l, s = _t.value !== null ? _t.value : o, a = l < e ? l : e, n = o > s ? o : s;
378
- return ra(a, n).min;
378
+ return ca(a, n).min;
379
379
  }), Gt = b(() => {
380
- const { min: l, max: o } = ia.value;
381
- if (!na.value) {
380
+ const { min: l, max: o } = ra.value;
381
+ if (!ia.value) {
382
382
  const u = o;
383
383
  return Xt.value === u ? u + 1 : u;
384
384
  }
385
385
  const e = st.value !== null ? st.value : l > 0 ? 0 : l, s = _t.value !== null ? _t.value : o, a = l < e ? l : e, n = o > s ? o : s;
386
- return ra(a, n).max;
387
- }), Ae = b(() => t.value.chart.grid.labels.yAxis.useNiceScale ? uo(Xt.value, Gt.value < 0 ? 0 : Gt.value, t.value.chart.grid.labels.yAxis.commonScaleSteps) : so(Xt.value, Gt.value < 0 ? 0 : Gt.value, t.value.chart.grid.labels.yAxis.commonScaleSteps)), wt = b(() => [null, void 0].includes(t.value.chart.grid.labels.yAxis.scaleMin) ? Ae.value.min >= 0 ? 0 : Math.abs(Ae.value.min) : -Ae.value.min), Ve = b(() => Hl.value ? pe.value.map((l, o) => {
386
+ return ca(a, n).max;
387
+ }), Ae = b(() => t.value.chart.grid.labels.yAxis.useNiceScale ? uo(Xt.value, Gt.value < 0 ? 0 : Gt.value, t.value.chart.grid.labels.yAxis.commonScaleSteps) : so(Xt.value, Gt.value < 0 ? 0 : Gt.value, t.value.chart.grid.labels.yAxis.commonScaleSteps)), wt = b(() => [null, void 0].includes(t.value.chart.grid.labels.yAxis.scaleMin) ? Ae.value.min >= 0 ? 0 : Math.abs(Ae.value.min) : -Ae.value.min), Ve = b(() => Dl.value ? pe.value.map((l, o) => {
388
388
  const e = Fe(l.series), s = `uniqueId_${o}`;
389
389
  return {
390
390
  ...l,
391
391
  slotAbsoluteIndex: o,
392
392
  series: e.map((a) => nl(a) ? a : null).slice(m.value.start, m.value.end),
393
- color: Nl(l.color ? l.color : Yt.value[o] ? Yt.value[o] : Fl[o]),
393
+ color: Fl(l.color ? l.color : Yt.value[o] ? Yt.value[o] : Vl[o]),
394
394
  id: s,
395
395
  scaleLabel: l.scaleLabel || s
396
396
  };
@@ -416,7 +416,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
416
416
  return l + o + e;
417
417
  }
418
418
  const St = g(0), nt = g(0);
419
- function ca() {
419
+ function va() {
420
420
  const l = Ft.value;
421
421
  if (!l) {
422
422
  St.value = 0, nt.value = 0;
@@ -429,7 +429,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
429
429
  St.value = 0, nt.value = 0;
430
430
  }
431
431
  }
432
- const va = b(() => {
432
+ const da = b(() => {
433
433
  let l = 0;
434
434
  if (vl.value)
435
435
  try {
@@ -439,7 +439,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
439
439
  }
440
440
  return l + St.value + x.value.xAxis;
441
441
  }), Yo = b(() => pe.value.some((l) => l.useProgression)), c = b(() => {
442
- Kl.value;
442
+ Jl.value;
443
443
  let l = 0;
444
444
  const o = 36;
445
445
  t.value.chart.grid.labels.show && (f.value.useIndividualScale && !f.value.isStacked ? l = (pe.value.length - G.value.length) * (t.value.chart.grid.labels.yAxis.labelWidth + o) : f.value.useIndividualScale && f.value.isStacked ? l = t.value.chart.grid.labels.yAxis.labelWidth + o : l = Eo());
@@ -449,9 +449,9 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
449
449
  return {
450
450
  top: t.value.chart.padding?.top + e,
451
451
  right: ee.value - s - t.value.chart.padding?.right,
452
- bottom: de.value - va.value - t.value.chart.padding?.bottom - t.value.chart.grid.labels.axis.xLabelOffsetY,
452
+ bottom: fe.value - da.value - t.value.chart.padding?.bottom - t.value.chart.grid.labels.axis.xLabelOffsetY,
453
453
  left: l + t.value.chart.grid.labels.yAxis.crosshairSize - n + t.value.chart.padding?.left,
454
- height: de.value - va.value - t.value.chart.padding?.top - t.value.chart.padding?.bottom - e - t.value.chart.grid.labels.axis.xLabelOffsetY,
454
+ height: fe.value - da.value - t.value.chart.padding?.top - t.value.chart.padding?.bottom - e - t.value.chart.grid.labels.axis.xLabelOffsetY,
455
455
  width: a,
456
456
  scaleLabelX: l,
457
457
  individualOffsetX: o
@@ -467,11 +467,11 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
467
467
  const l = c.value.width / $.value, o = t.value.chart.grid.labels.xAxis.crosshairSize, e = t.value.chart.grid.labels.xAxis.crosshairsAlwaysAtZero;
468
468
  return Kt.value.map((s, a) => {
469
469
  if (!s || !s.text) return null;
470
- const n = c.value?.left + l * a + l / 2, u = e ? he.value - (he.value === c.value?.bottom ? 0 : o / 2) : c.value?.bottom, S = e ? he.value + o / (he.value === c.value?.bottom ? 1 : 2) : c.value?.bottom + o;
470
+ const n = c.value?.left + l * a + l / 2, u = e ? me.value - (me.value === c.value?.bottom ? 0 : o / 2) : c.value?.bottom, S = e ? me.value + o / (me.value === c.value?.bottom ? 1 : 2) : c.value?.bottom + o;
471
471
  return `M${n},${u} L${n},${S}`;
472
472
  }).filter(Boolean).join(" ");
473
473
  });
474
- function da() {
474
+ function ha() {
475
475
  return !!Ao?.vnode.props?.onSelectTimeLabel;
476
476
  }
477
477
  function qo(l, o, e) {
@@ -481,7 +481,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
481
481
  }
482
482
  return Rt.value.font = `normal ${l}px sans-serif`, Rt.value;
483
483
  }
484
- function ha() {
484
+ function fa() {
485
485
  const l = $e.value.querySelectorAll(".vue-ui-xy-tag");
486
486
  l.length && Array.from(l).forEach((o) => o.style.opacity = "0");
487
487
  }
@@ -489,20 +489,20 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
489
489
  e && (Oe.value[`${l}_${o}_${s}_${a}`] = e);
490
490
  }
491
491
  const Ut = g(!1);
492
- async function fa(l = !1) {
493
- await Pt(), Ut.value = l, Xl.value && (Bt.value = l);
492
+ async function ma(l = !1) {
493
+ await Pt(), Ut.value = l, Gl.value && (Bt.value = l);
494
494
  }
495
495
  function wl() {
496
496
  tt.value = !tt.value;
497
497
  }
498
- const se = g([]), Zt = g([]);
499
- let ma = 0;
498
+ const oe = g([]), Zt = g([]);
499
+ let ga = 0;
500
500
  sl(() => {
501
- const l = ++ma;
501
+ const l = ++ga;
502
502
  (async () => {
503
503
  const o = Math.max(
504
504
  ...pe.value.map(
505
- (s) => Vl({
505
+ (s) => Bl({
506
506
  data: s.series,
507
507
  threshold: t.value.downsample.threshold
508
508
  }).length
@@ -514,16 +514,16 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
514
514
  start: m.value.start,
515
515
  end: m.value.end
516
516
  });
517
- l === ma && (se.value = e);
517
+ l === ga && (oe.value = e);
518
518
  })();
519
519
  });
520
- let ga = 0;
520
+ let ba = 0;
521
521
  sl(() => {
522
- const l = ++ga;
522
+ const l = ++ba;
523
523
  (async () => {
524
524
  const o = Math.max(
525
525
  ...pe.value.map(
526
- (s) => Vl({
526
+ (s) => Bl({
527
527
  data: s.series,
528
528
  threshold: t.value.downsample.threshold
529
529
  }).length
@@ -535,14 +535,14 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
535
535
  start: 0,
536
536
  end: ze.value
537
537
  });
538
- l === ga && (Zt.value = e);
538
+ l === ba && (Zt.value = e);
539
539
  })();
540
540
  });
541
541
  const Uo = b(() => {
542
542
  const l = t.value.chart.grid.labels.xAxisLabels.modulo;
543
- return se.value.length ? Math.min(l, [...new Set(se.value.map((o) => o.text))].length) : l;
543
+ return oe.value.length ? Math.min(l, [...new Set(oe.value.map((o) => o.text))].length) : l;
544
544
  }), Kt = b(() => {
545
- const l = t.value.chart.grid.labels.xAxisLabels, o = se.value || [], e = Zt.value || [], s = m.value.start ?? 0, a = _.value, n = $.value, u = o.map((M) => M?.text ?? ""), S = e.map((M) => M?.text ?? "");
545
+ const l = t.value.chart.grid.labels.xAxisLabels, o = oe.value || [], e = Zt.value || [], s = m.value.start ?? 0, a = _.value, n = $.value, u = o.map((M) => M?.text ?? ""), S = e.map((M) => M?.text ?? "");
546
546
  return Yu(
547
547
  !!l.showOnlyFirstAndLast,
548
548
  !!l.showOnlyAtModulo,
@@ -556,28 +556,28 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
556
556
  }), Zo = b(() => (Kt.value || []).map((l) => l?.text ?? "").join("|"));
557
557
  It(() => {
558
558
  requestAnimationFrame(() => {
559
- ca();
559
+ va();
560
560
  }), vt(
561
561
  [
562
562
  () => Zo.value,
563
563
  () => t.value.chart.grid.labels.xAxisLabels.rotation,
564
564
  () => x.value.xAxis,
565
565
  () => ee.value,
566
- () => de.value
566
+ () => fe.value
567
567
  ],
568
568
  async () => {
569
569
  await Pt(), requestAnimationFrame(() => {
570
- ca();
570
+ va();
571
571
  });
572
572
  },
573
573
  { flush: "post" }
574
574
  );
575
- }), Il(() => {
576
- St.value = 0, nt.value = 0, Ql.stop();
575
+ }), Pl(() => {
576
+ St.value = 0, nt.value = 0, jl.stop();
577
577
  });
578
- function ba(l, o) {
578
+ function pa(l, o) {
579
579
  const e = ye.value.map((s) => ({
580
- shape: s.shape || null,
580
+ shape: s.shape ?? s.type === "bar" ? "square" : "circle",
581
581
  name: s.name,
582
582
  color: s.color,
583
583
  type: s.type,
@@ -593,29 +593,29 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
593
593
  });
594
594
  }
595
595
  const $ = b(() => {
596
- const l = ea((m.value.end ?? 0) - (m.value.start ?? 0));
596
+ const l = ta((m.value.end ?? 0) - (m.value.start ?? 0));
597
597
  return Math.max(1, l);
598
598
  });
599
599
  function Ko(l) {
600
600
  P.value = l;
601
601
  }
602
- function pa() {
602
+ function ya() {
603
603
  f.value.isStacked = !f.value.isStacked, f.value.isStacked ? f.value.useIndividualScale = !0 : f.value.useIndividualScale = t.value.chart.grid.labels.yAxis.useIndividualScale;
604
604
  }
605
605
  function Sl(l) {
606
606
  kt.value && l.autoScaling && (t.value.chart.grid.labels.yAxis.useIndividualScale || console.warn(`VueUiXy (datapoint: ${l.name}) : autoScaling only works when config.chart.grid.labels.yAxis.useIndividualScale is set to true`), t.value.chart.grid.labels.yAxis.stacked || console.warn(`VueUiXy (datapoint: ${l.name}) : autoScaling only works when config.chart.grid.labels.yAxis.stacked is set to true`));
607
607
  }
608
608
  function Jo(l, o) {
609
- const e = ea(l), s = Array(e).fill(0);
609
+ const e = ta(l), s = Array(e).fill(0);
610
610
  for (let a = 0; a < o.length && a < e; a += 1) s[a] = o[a] ?? 0;
611
611
  return s;
612
612
  }
613
- function ya(l) {
613
+ function xa(l) {
614
614
  const o = Math.max(...pe.value.map((e) => Fe(e.series).length));
615
615
  return l > o ? o : l < 0 || t.value.chart.zoom.startIndex !== null && l < t.value.chart.zoom.startIndex ? t.value.chart.zoom.startIndex !== null ? t.value.chart.zoom.startIndex + 1 : 1 : l;
616
616
  }
617
- const $t = g(!1), xa = g(!1), ka = g(0), _a = g(0);
618
- function wa(l, o) {
617
+ const $t = g(!1), ka = g(!1), _a = g(0), wa = g(0);
618
+ function Sa(l, o) {
619
619
  const e = Number(l), s = Number(o);
620
620
  return !Number.isFinite(e) || !Number.isFinite(s) ? !1 : !Object.is(e, s);
621
621
  }
@@ -624,9 +624,9 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
624
624
  $t.value = !0;
625
625
  try {
626
626
  const { startIndex: l, endIndex: o } = t.value.chart.zoom, e = Math.max(...pe.value.map((n) => Fe(n.series).length));
627
- ka.value = 0, _a.value = e;
628
- const s = l ?? 0, a = o != null ? Math.min(ya(o + 1), e) : e;
629
- Qt.value = !0, m.value.start = s, m.value.end = a, Me.value.start = s, Me.value.end = a, ut(), xa.value = !0;
627
+ _a.value = 0, wa.value = e;
628
+ const s = l ?? 0, a = o != null ? Math.min(xa(o + 1), e) : e;
629
+ Qt.value = !0, m.value.start = s, m.value.end = a, Me.value.start = s, Me.value.end = a, ut(), ka.value = !0;
630
630
  } finally {
631
631
  queueMicrotask(() => {
632
632
  Qt.value = !1;
@@ -640,15 +640,15 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
640
640
  const o = Number(l);
641
641
  We("zoomStart", {
642
642
  index: o,
643
- isZoom: wa(o, ka.value)
643
+ isZoom: Sa(o, _a.value)
644
644
  }), Number.isFinite(o) && o !== m.value.start && (m.value.start = o, Me.value.start = o, ut());
645
645
  }
646
646
  function jo(l) {
647
647
  if ($t.value || Qt.value) return;
648
- const o = ya(l);
648
+ const o = xa(l);
649
649
  We("zoomEnd", {
650
650
  index: o,
651
- isZoom: wa(o, _a.value)
651
+ isZoom: Sa(o, wa.value)
652
652
  }), o !== m.value.end && (m.value.end = o, Me.value.end = o, ut());
653
653
  }
654
654
  async function eu() {
@@ -657,17 +657,17 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
657
657
  function xe(l) {
658
658
  return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(l);
659
659
  }
660
- const Sa = b(() => Ae.value.max + wt.value);
660
+ const $a = b(() => Ae.value.max + wt.value);
661
661
  function Ge(l) {
662
- return l / (xe(Sa.value) ? Sa.value : 1);
663
- }
664
- const he = b(() => isNaN(Ge(wt.value)) ? c.value?.bottom : c.value?.bottom - c.value.height * Ge(wt.value));
665
- function $a(l) {
666
- const o = ![null, void 0].includes(t.value.chart.grid.labels.yAxis.scaleMin) && t.value.chart.grid.labels.yAxis.scaleMin > 0 && Xt.value >= 0 ? c.value?.bottom : he.value;
667
- return l.value >= 0 ? O(o - l.y <= 0 ? 1e-5 : o - l.y) : O(l.y - he.value <= 0 ? 1e-5 : l.y - he.value);
662
+ return l / (xe($a.value) ? $a.value : 1);
668
663
  }
664
+ const me = b(() => isNaN(Ge(wt.value)) ? c.value?.bottom : c.value?.bottom - c.value.height * Ge(wt.value));
669
665
  function La(l) {
670
- return l.value >= 0 ? O(l.zeroPosition - l.y <= 0 ? 1e-5 : l.zeroPosition - l.y) : O(l.y - l.zeroPosition <= 0 ? 1e-5 : l.zeroPosition - l.y);
666
+ const o = ![null, void 0].includes(t.value.chart.grid.labels.yAxis.scaleMin) && t.value.chart.grid.labels.yAxis.scaleMin > 0 && Xt.value >= 0 ? c.value?.bottom : me.value;
667
+ return l.value >= 0 ? N(o - l.y <= 0 ? 1e-5 : o - l.y) : N(l.y - me.value <= 0 ? 1e-5 : l.y - me.value);
668
+ }
669
+ function Ma(l) {
670
+ return l.value >= 0 ? N(l.zeroPosition - l.y <= 0 ? 1e-5 : l.zeroPosition - l.y) : N(l.y - l.zeroPosition <= 0 ? 1e-5 : l.zeroPosition - l.y);
671
671
  }
672
672
  const J = b(() => {
673
673
  const l = Math.max(1, $.value), o = Math.max(1, c.value.width), e = Math.max(1, Ve.value.filter((s) => s.type === "bar" && !G.value.includes(s.id)).length);
@@ -683,22 +683,22 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
683
683
  function jt(l) {
684
684
  return f.value.useIndividualScale && f.value.isStacked ? l.x + c.value.width / $.value * 0.05 : l.x + J.value.bar / 2;
685
685
  }
686
- function Ma(l) {
687
- return l.value >= 0 ? l.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(he.value) ? c?.bottom.value : he.value;
688
- }
689
686
  function Aa(l) {
687
+ return l.value >= 0 ? l.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(me.value) ? c?.bottom.value : me.value;
688
+ }
689
+ function Ca(l) {
690
690
  return l.value >= 0 ? l.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(l.zeroPosition) ? 0 : l.zeroPosition;
691
691
  }
692
692
  const it = g(null);
693
- function Ca(l) {
693
+ function Ta(l) {
694
694
  const o = ae.value;
695
695
  if (!o) return null;
696
696
  if (o.createSVGPoint && o.getScreenCTM) {
697
697
  const D = o.createSVGPoint();
698
698
  D.x = l.clientX, D.y = l.clientY;
699
- const N = o.getScreenCTM();
700
- if (N) {
701
- const p = D.matrixTransform(N.inverse());
699
+ const F = o.getScreenCTM();
700
+ if (F) {
701
+ const p = D.matrixTransform(F.inverse());
702
702
  return { x: p.x, y: p.y, ok: !0 };
703
703
  }
704
704
  }
@@ -709,7 +709,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
709
709
  function tu(l) {
710
710
  at.value = null, !tt.value && (qe && cancelAnimationFrame(qe), qe = requestAnimationFrame(() => {
711
711
  qe = 0;
712
- const o = Ca(l);
712
+ const o = Ta(l);
713
713
  if (!o || !ae.value) {
714
714
  Lt();
715
715
  return;
@@ -720,27 +720,27 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
720
720
  return;
721
721
  }
722
722
  const S = o.x - e, M = u / $.value, I = Math.floor(S / M);
723
- I >= 0 && I < $.value ? it.value !== I && (it.value = I, Ml(!0, I)) : Lt();
723
+ I >= 0 && I < $.value ? it.value !== I && (it.value = I, Al(!0, I)) : Lt();
724
724
  }));
725
725
  }
726
726
  function Lt() {
727
- qe && (cancelAnimationFrame(qe), qe = 0), it.value = null, Ml(!1, null);
727
+ qe && (cancelAnimationFrame(qe), qe = 0), it.value = null, Al(!1, null);
728
728
  }
729
- function Ta(l) {
730
- const o = Ca(l);
729
+ function za(l) {
730
+ const o = Ta(l);
731
731
  if (o && ae.value) {
732
732
  const { left: e, right: s, top: a, bottom: n, width: u } = c.value;
733
733
  if (o.x >= e && o.x <= s && o.y >= a && o.y <= n) {
734
734
  const S = u / Math.max(1, $.value), M = Math.floor((o.x - e) / S);
735
735
  if (M >= 0 && M < $.value) {
736
- za(M);
736
+ Ia(M);
737
737
  return;
738
738
  }
739
739
  }
740
740
  }
741
- it.value != null && za(it.value);
741
+ it.value != null && Ia(it.value);
742
742
  }
743
- function za(l) {
743
+ function Ia(l) {
744
744
  const o = ye.value.map((e) => ({
745
745
  name: e.name,
746
746
  value: [null, void 0, NaN].includes(e.absoluteValues[l]) ? null : e.absoluteValues[l],
@@ -798,24 +798,24 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
798
798
  type: o.type
799
799
  }))), gl.value += 1;
800
800
  }
801
- function Ia(l) {
801
+ function Pa(l) {
802
802
  if (!ie.value.length)
803
803
  return t.value.debug && console.warn("VueUiXy - There are no series to show."), null;
804
804
  const o = ie.value.find((e) => e.name === l);
805
805
  return o || (t.value.debug && console.warn(`VueUiXy - Series name not found "${l}"`), null);
806
806
  }
807
807
  function su(l) {
808
- const o = Ia(l);
808
+ const o = Pa(l);
809
809
  o !== null && G.value.includes(o.id) && Mt({ id: o.id });
810
810
  }
811
811
  function nu(l) {
812
- const o = Ia(l);
812
+ const o = Pa(l);
813
813
  o !== null && (G.value.includes(o.id) || Mt({ id: o.id }));
814
814
  }
815
815
  const iu = b(() => {
816
816
  const l = t.value.chart.title.text || "Chart visualization", o = t.value.chart.title.subtitle.text || "";
817
817
  return `${l}. ${o}`;
818
- }), Pa = b(() => ({
818
+ }), Oa = b(() => ({
819
819
  linePlot: $.value > t.value.line.dot.hideAboveMaxSerieLength
820
820
  })), ru = b(() => t.value.chart.userOptions.show && (!t.value.chart.title.show || !t.value.chart.title.text)), cu = b(() => {
821
821
  if (Array.isArray(t.value.chart.highlightArea))
@@ -831,11 +831,11 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
831
831
  to: Math.min(t.value.chart.highlightArea.to, ze.value - 1)
832
832
  };
833
833
  return [{ ...l, span: l.from === l.to ? 1 : l.to < l.from ? 0 : l.to - l.from + 1 }];
834
- }), Oa = b(() => Hl.value ? pe.value.map((l, o) => ({
834
+ }), Na = b(() => Dl.value ? pe.value.map((l, o) => ({
835
835
  ...l,
836
836
  series: Fe(l.series),
837
837
  id: `uniqueId_${o}`,
838
- color: Nl(l.color ? l.color : Yt.value[o] ? Yt.value[o] : Fl[o])
838
+ color: Fl(l.color ? l.color : Yt.value[o] ? Yt.value[o] : Vl[o])
839
839
  })) : pe.value), vu = b(() => ye.value.map((l) => {
840
840
  const o = l.absoluteValues.map((e) => [void 0, null].includes(e) ? 0 : e);
841
841
  return {
@@ -853,7 +853,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
853
853
  fontFamily: t.value.chart.fontFamily,
854
854
  prefix: t.value.chart.labels.prefix,
855
855
  suffix: t.value.chart.labels.suffix,
856
- colNames: se.value.map((l, o) => t.value.table.useDefaultTimeFormat ? l.text : rt.value(o + m.value.start, t.value.table.timeFormat)),
856
+ colNames: oe.value.map((l, o) => t.value.table.useDefaultTimeFormat ? l.text : rt.value(o + m.value.start, t.value.table.timeFormat)),
857
857
  thead: {
858
858
  backgroundColor: t.value.table.th.backgroundColor,
859
859
  color: t.value.table.th.color,
@@ -886,7 +886,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
886
886
  o[e] = {
887
887
  min: Math.min(...a) || 0,
888
888
  max: Math.max(...a) || 1,
889
- groupId: `scale_group_${Pl()}`
889
+ groupId: `scale_group_${Ol()}`
890
890
  };
891
891
  }
892
892
  return o;
@@ -895,17 +895,17 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
895
895
  return c.value.width / $.value / l - el.value * l;
896
896
  }), el = b(() => J.value.line * t.value.bar.periodGap), tl = b(() => Math.max(1e-5, Be() - (f.value.useIndividualScale && f.value.isStacked ? 0 : el.value))), ll = b(() => tl.value * Math.min(Math.abs(t.value.bar.innerGap), 0.95)), mu = b(() => {
897
897
  if (!t.value.chart.zoom.minimap.show) return [];
898
- const l = Oa.value.filter((a) => !G.value.includes(a.id)), o = Math.max(...l.map((a) => a.series.length)), e = [];
898
+ const l = Na.value.filter((a) => !G.value.includes(a.id)), o = Math.max(...l.map((a) => a.series.length)), e = [];
899
899
  for (let a = 0; a < o; a += 1)
900
900
  e.push(l.map((n) => n.series[a] || 0).reduce((n, u) => (n || 0) + (u || 0), 0));
901
901
  const s = Math.min(...e);
902
902
  return e.map((a) => a + (s < 0 ? Math.abs(s) : 0));
903
- }), gu = b(() => t.value.chart.zoom.minimap.show ? Oa.value.map((o) => ({
903
+ }), gu = b(() => t.value.chart.zoom.minimap.show ? Na.value.map((o) => ({
904
904
  ...o,
905
905
  isVisible: !G.value.includes(o.id)
906
906
  })) : []), Ze = b(() => ye.value.map((l) => ({
907
907
  slotAbsoluteIndex: l.slotAbsoluteIndex,
908
- shape: l.shape || null,
908
+ shape: l.shape || l.type === "bar" ? "square" : "circle",
909
909
  name: l.name,
910
910
  color: l.color,
911
911
  type: l.type,
@@ -913,32 +913,32 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
913
913
  comments: l.comments || [],
914
914
  prefix: l.prefix || t.value.chart.labels.prefix,
915
915
  suffix: l.suffix || t.value.chart.labels.suffix
916
- }))), Na = b(() => Ae.value.ticks.map((l) => ({
917
- y: l >= 0 ? he.value - c.value.height * Ge(l) : he.value + c.value.height * Ge(Math.abs(l)),
916
+ }))), Fa = b(() => Ae.value.ticks.map((l) => ({
917
+ y: l >= 0 ? me.value - c.value.height * Ge(l) : me.value + c.value.height * Ge(Math.abs(l)),
918
918
  value: l,
919
919
  prefix: t.value.chart.labels.prefix,
920
920
  suffix: t.value.chart.labels.suffix
921
- }))), Fa = b(() => {
921
+ }))), Va = b(() => {
922
922
  const l = t.value.chart.annotations;
923
923
  if (!l || !Array.isArray(l) || l.every((V) => !V.show)) return [];
924
924
  const o = l.filter(
925
925
  (V) => V.show && (V.yAxis.yTop != null || V.yAxis.yBottom != null)
926
926
  );
927
927
  if (!o.length) return [];
928
- const { left: e, right: s } = c.value, a = he.value, n = c.value.height, u = Ae.value.min, M = Ae.value.max - u, I = (V) => {
928
+ const { left: e, right: s } = c.value, a = me.value, n = c.value.height, u = Ae.value.min, M = Ae.value.max - u, I = (V) => {
929
929
  const D = (V - 0) / M;
930
930
  return a - D * n;
931
931
  };
932
932
  return o.map((V) => {
933
- const { yAxis: { yTop: D, yBottom: N, label: p } } = V, te = D != null && N != null && D !== N, B = D == null ? null : I(D), Q = N == null ? null : I(N), Y = qo(p.fontSize);
934
- Y.font = `${p.fontSize}px sans-serif`;
935
- const H = Y.measureText(p.text).width, U = p.fontSize, j = (p.position === "start" ? e + p.padding?.left : s - p.padding?.right) + p.offsetX, we = (B != null && Q != null ? Math.min(B, Q) : B ?? Q) - p.fontSize / 3 + p.offsetY - p.padding?.top;
933
+ const { yAxis: { yTop: D, yBottom: F, label: p } } = V, te = D != null && F != null && D !== F, B = D == null ? null : I(D), Q = F == null ? null : I(F), X = qo(p.fontSize);
934
+ X.font = `${p.fontSize}px sans-serif`;
935
+ const H = X.measureText(p.text).width, U = p.fontSize, j = (p.position === "start" ? e + p.padding?.left : s - p.padding?.right) + p.offsetX, we = (B != null && Q != null ? Math.min(B, Q) : B ?? Q) - p.fontSize / 3 + p.offsetY - p.padding?.top;
936
936
  let Z;
937
937
  p.textAnchor === "middle" ? Z = j - H / 2 - p.padding?.left : p.textAnchor === "end" ? Z = j - H - p.padding?.right : Z = j - p.padding?.left;
938
- const me = we - U * 0.75 - p.padding?.top;
938
+ const be = we - U * 0.75 - p.padding?.top;
939
939
  return {
940
- show: ![B, Q, me].includes(NaN),
941
- id: `annotation_y_${Pl()}`,
940
+ show: ![B, Q, be].includes(NaN),
941
+ id: `annotation_y_${Ol()}`,
942
942
  hasArea: te,
943
943
  areaHeight: te ? Math.abs(B - Q) : 0,
944
944
  yTop: B,
@@ -949,7 +949,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
949
949
  _text: { x: j, y: we },
950
950
  _box: {
951
951
  x: Z,
952
- y: me,
952
+ y: be,
953
953
  width: H + p.padding?.left + p.padding?.right,
954
954
  height: U + p.padding?.top + p.padding?.bottom,
955
955
  fill: p.backgroundColor,
@@ -961,7 +961,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
961
961
  };
962
962
  });
963
963
  });
964
- function Va(l, o) {
964
+ function Ba(l, o) {
965
965
  const e = l[o - 1], s = l[o + 1];
966
966
  let a = !!e && !!s && e.value == null && s.value == null || !e && !!s && s.value == null || !!e && !s && e.value == null;
967
967
  return xe(l[o].value) && a && t.value.line.cutNullValues;
@@ -976,26 +976,26 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
976
976
  individualExtremes: u,
977
977
  forceExactScale: S = !1
978
978
  }) {
979
- const M = l.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, I = 1.0000001, V = S || !t.value.chart.grid.labels.yAxis.useNiceScale ? so : uo, D = u.max === u.min ? u.max * I : u.max, N = n === a ? n * I : n, p = V(
979
+ const M = l.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, I = 1.0000001, V = S || !t.value.chart.grid.labels.yAxis.useNiceScale ? so : uo, D = u.max === u.min ? u.max * I : u.max, F = n === a ? n * I : n, p = V(
980
980
  u.min,
981
981
  D,
982
982
  M
983
983
  ), te = V(
984
984
  a,
985
- N,
985
+ F,
986
986
  M
987
- ), B = p.min >= 0 ? 0 : Math.abs(p.min), Q = 0, Y = p.max + Math.abs(B), H = te.max + Math.abs(Q), U = l.stackIndex, j = o - 1 - U, K = f.value.isStacked ? 1 - l.cumulatedStackRatio : 0, we = f.value.isStacked ? s * K + e * j : 0, Z = f.value.isStacked ? s * l.stackRatio : c.value.height, me = c.value?.bottom - we - Z * B / Y, E = c.value?.bottom - we - Z * Q / H;
987
+ ), B = p.min >= 0 ? 0 : Math.abs(p.min), Q = 0, X = p.max + Math.abs(B), H = te.max + Math.abs(Q), U = l.stackIndex, j = o - 1 - U, K = f.value.isStacked ? 1 - l.cumulatedStackRatio : 0, we = f.value.isStacked ? s * K + e * j : 0, Z = f.value.isStacked ? s * l.stackRatio : c.value.height, be = c.value?.bottom - we - Z * B / X, E = c.value?.bottom - we - Z * Q / H;
988
988
  return {
989
989
  scaleSteps: M,
990
990
  individualScale: p,
991
991
  autoScaleSteps: te,
992
992
  individualZero: B,
993
993
  autoScaleZero: Q,
994
- individualMax: Y,
994
+ individualMax: X,
995
995
  autoScaleMax: H,
996
996
  yOffset: we,
997
997
  individualHeight: Z,
998
- zeroPosition: me,
998
+ zeroPosition: be,
999
999
  autoScaleZeroPosition: E
1000
1000
  };
1001
1001
  }
@@ -1012,12 +1012,12 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1012
1012
  max: u.scaleMax || Math.max(...u.absoluteValues) || 1,
1013
1013
  min: u.scaleMin || Math.min(...u.absoluteValues.filter((R) => ![void 0, null].includes(R))) > 0 ? 0 : Math.min(...u.absoluteValues.filter((R) => ![null, void 0].includes(R)))
1014
1014
  }, {
1015
- individualScale: N,
1015
+ individualScale: F,
1016
1016
  autoScaleSteps: p,
1017
1017
  individualZero: te,
1018
1018
  individualMax: B,
1019
1019
  autoScaleMax: Q,
1020
- yOffset: Y,
1020
+ yOffset: X,
1021
1021
  individualHeight: H,
1022
1022
  zeroPosition: U,
1023
1023
  autoScaleZeroPosition: j
@@ -1032,28 +1032,28 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1032
1032
  }), K = ie.value.filter((R) => R.type === "bar").filter((R) => !G.value.includes(R.id)).length, we = u.series.map((R, re) => {
1033
1033
  const Tt = f.value.useIndividualScale ? (u.absoluteValues[re] + te) / B : Ge(R), Ke = f.value.useIndividualScale && f.value.isStacked ? c.value?.left + c.value.width / $.value * re : c.value?.left + J.value.bar * S + J.value.bar * re * K - fu.value / 2 - S * el.value;
1034
1034
  return {
1035
- yOffset: O(Y),
1036
- individualHeight: O(H),
1037
- x: O(Ke),
1038
- y: c.value?.bottom - Y - H * Tt,
1035
+ yOffset: N(X),
1036
+ individualHeight: N(H),
1037
+ x: N(Ke),
1038
+ y: c.value?.bottom - X - H * Tt,
1039
1039
  value: u.absoluteValues[re],
1040
- zeroPosition: O(U),
1041
- individualMax: O(B),
1040
+ zeroPosition: N(U),
1041
+ individualMax: N(B),
1042
1042
  comment: u.comments && u.comments.slice(m.value.start, m.value.end)[re] || ""
1043
1043
  };
1044
- }), Z = u.absoluteValues.map((R) => p.min >= 0 ? (R - Math.abs(p.min)) / (p.max - Math.abs(p.min)) : (R + Math.abs(p.min)) / (p.max + Math.abs(p.min))), me = u.series.map((R, re) => {
1044
+ }), Z = u.absoluteValues.map((R) => p.min >= 0 ? (R - Math.abs(p.min)) / (p.max - Math.abs(p.min)) : (R + Math.abs(p.min)) / (p.max + Math.abs(p.min))), be = u.series.map((R, re) => {
1045
1045
  const Tt = f.value.useIndividualScale && f.value.isStacked ? c.value?.left + c.value.width / $.value * re : c.value?.left - J.value.bar / 2 + J.value.bar * S + J.value.bar * re * ie.value.filter((Ke) => Ke.type === "bar").filter((Ke) => !G.value.includes(Ke.id)).length;
1046
1046
  return {
1047
- yOffset: O(Y),
1048
- individualHeight: O(H),
1049
- x: O(Tt),
1050
- y: O(c.value?.bottom - O(Y) - (O(H) * Z[re] || 0)),
1047
+ yOffset: N(X),
1048
+ individualHeight: N(H),
1049
+ x: N(Tt),
1050
+ y: N(c.value?.bottom - N(X) - (N(H) * Z[re] || 0)),
1051
1051
  value: u.absoluteValues[re],
1052
- zeroPosition: O(U),
1053
- individualMax: O(B),
1052
+ zeroPosition: N(U),
1053
+ individualMax: N(B),
1054
1054
  comment: u.comments && u.comments.slice(m.value.start, m.value.end)[re] || ""
1055
1055
  };
1056
- }), E = N.ticks.map((R) => ({
1056
+ }), E = F.ticks.map((R) => ({
1057
1057
  y: R >= 0 ? U - H * (R / B) : U + H * Math.abs(R) / B,
1058
1058
  value: R,
1059
1059
  prefix: u.prefix || t.value.chart.labels.prefix,
@@ -1069,20 +1069,20 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1069
1069
  datapoint: u
1070
1070
  };
1071
1071
  });
1072
- return L.value[u.scaleLabel].name = u.name, L.value[u.scaleLabel].groupName = u.scaleLabel, L.value[u.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || u.color, L.value[u.scaleLabel].color = u.color, L.value[u.scaleLabel].scaleYLabels = u.autoScaling ? le : E, L.value[u.scaleLabel].zeroPosition = u.autoScaling ? j : U, L.value[u.scaleLabel].individualMax = u.autoScaling ? Q : B, L.value[u.scaleLabel].scaleLabel = u.scaleLabel, L.value[u.scaleLabel].id = u.id, L.value[u.scaleLabel].yOffset = Y, L.value[u.scaleLabel].individualHeight = H, L.value[u.scaleLabel].autoScaleYLabels = le, L.value[u.scaleLabel].unique = Ue.value.filter((R) => R.scaleLabel === u.scaleLabel).length === 1, {
1072
+ return L.value[u.scaleLabel].name = u.name, L.value[u.scaleLabel].groupName = u.scaleLabel, L.value[u.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || u.color, L.value[u.scaleLabel].color = u.color, L.value[u.scaleLabel].scaleYLabels = u.autoScaling ? le : E, L.value[u.scaleLabel].zeroPosition = u.autoScaling ? j : U, L.value[u.scaleLabel].individualMax = u.autoScaling ? Q : B, L.value[u.scaleLabel].scaleLabel = u.scaleLabel, L.value[u.scaleLabel].id = u.id, L.value[u.scaleLabel].yOffset = X, L.value[u.scaleLabel].individualHeight = H, L.value[u.scaleLabel].autoScaleYLabels = le, L.value[u.scaleLabel].unique = Ue.value.filter((R) => R.scaleLabel === u.scaleLabel).length === 1, {
1073
1073
  ...u,
1074
- yOffset: Y,
1074
+ yOffset: X,
1075
1075
  autoScaleYLabels: le,
1076
1076
  individualHeight: H,
1077
1077
  scaleYLabels: u.autoScaling ? le : E,
1078
- individualScale: u.autoScaling ? p : N,
1078
+ individualScale: u.autoScaling ? p : F,
1079
1079
  individualMax: u.autoScaling ? Q : B,
1080
1080
  zeroPosition: u.autoScaling ? j : U,
1081
- plots: u.autoScaling ? me : we,
1081
+ plots: u.autoScaling ? be : we,
1082
1082
  groupId: L.value[u.scaleLabel].groupId
1083
1083
  };
1084
1084
  });
1085
- }), oe = b(() => {
1085
+ }), ue = b(() => {
1086
1086
  const l = Ue.value.filter((u) => ["bar", "line", "plot"].includes(u.type)), o = l.length, e = t.value.chart.grid.labels.yAxis.gap, a = f.value.isStacked ? e * (o - 1) : 0, n = c.value.height - a;
1087
1087
  return l.filter((u) => u.type === "line").map((u, S) => {
1088
1088
  Sl(u);
@@ -1095,12 +1095,12 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1095
1095
  max: u.scaleMax || Math.max(...u.absoluteValues) || 1,
1096
1096
  min: u.scaleMin || (Math.min(...u.absoluteValues) > 0 ? 0 : Math.min(...u.absoluteValues))
1097
1097
  }, {
1098
- individualScale: N,
1098
+ individualScale: F,
1099
1099
  autoScaleSteps: p,
1100
1100
  individualZero: te,
1101
1101
  individualMax: B,
1102
1102
  autoScaleMax: Q,
1103
- yOffset: Y,
1103
+ yOffset: X,
1104
1104
  individualHeight: H,
1105
1105
  zeroPosition: U,
1106
1106
  autoScaleZeroPosition: j
@@ -1115,22 +1115,22 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1115
1115
  }), K = u.series.map((A, ce) => {
1116
1116
  const Ou = f.value.useIndividualScale ? (u.absoluteValues[ce] + Math.abs(te)) / B : Ge(A);
1117
1117
  return {
1118
- x: O(c.value?.left + J.value.line / 2 + J.value.line * ce),
1119
- y: O(c.value?.bottom - Y - H * Ou),
1118
+ x: N(c.value?.left + J.value.line / 2 + J.value.line * ce),
1119
+ y: N(c.value?.bottom - X - H * Ou),
1120
1120
  value: u.absoluteValues[ce],
1121
1121
  comment: u.comments && u.comments.slice(m.value.start, m.value.end)[ce] || ""
1122
1122
  };
1123
1123
  }), we = u.absoluteValues.map((A) => p.min >= 0 ? (A - Math.abs(p.min)) / (p.max - Math.abs(p.min)) : (A + Math.abs(p.min)) / (p.max + Math.abs(p.min))), Z = u.series.map((A, ce) => [void 0, null].includes(u.absoluteValues[ce]) ? {
1124
- x: O(c.value?.left + J.value.line / 2 + J.value.line * ce),
1124
+ x: N(c.value?.left + J.value.line / 2 + J.value.line * ce),
1125
1125
  y: U,
1126
1126
  value: u.absoluteValues[ce],
1127
1127
  comment: u.comments && u.comments.slice(m.value.start, m.value.end)[ce] || ""
1128
1128
  } : {
1129
- x: O(c.value?.left + J.value.line / 2 + J.value.line * ce),
1130
- y: O(c.value?.bottom - Y - (H * we[ce] || 0)),
1129
+ x: N(c.value?.left + J.value.line / 2 + J.value.line * ce),
1130
+ y: N(c.value?.bottom - X - (H * we[ce] || 0)),
1131
1131
  value: u.absoluteValues[ce],
1132
1132
  comment: u.comments && u.comments.slice(m.value.start, m.value.end)[ce] || ""
1133
- }), me = u.dashIndices && Array.isArray(u.dashIndices) && u?.dashIndices?.length > 0, E = t.value.line.cutNullValues ? no(K) : io(K.filter((A) => A.value !== null)), le = t.value.line.cutNullValues ? no(Z) : io(Z.filter((A) => A.value !== null)), R = t.value.line.cutNullValues ? ro(K) : co(K.filter((A) => A.value !== null)), re = t.value.line.cutNullValues ? ro(Z) : co(Z.filter((A) => A.value !== null)), Tt = me ? Gu(t.value.line.cutNullValues ? K : K.filter((A) => A.value !== null), u.dashIndices.map((A) => A - m.value.start)) : [], Ke = me ? qu(t.value.line.cutNullValues ? K : K.filter((A) => A.value !== null), u.dashIndices.map((A) => A - m.value.start)) : [], ol = N.ticks.map((A) => ({
1133
+ }), be = u.dashIndices && Array.isArray(u.dashIndices) && u?.dashIndices?.length > 0, E = t.value.line.cutNullValues ? no(K) : io(K.filter((A) => A.value !== null)), le = t.value.line.cutNullValues ? no(Z) : io(Z.filter((A) => A.value !== null)), R = t.value.line.cutNullValues ? ro(K) : co(K.filter((A) => A.value !== null)), re = t.value.line.cutNullValues ? ro(Z) : co(Z.filter((A) => A.value !== null)), Tt = be ? Gu(t.value.line.cutNullValues ? K : K.filter((A) => A.value !== null), u.dashIndices.map((A) => A - m.value.start)) : [], Ke = be ? qu(t.value.line.cutNullValues ? K : K.filter((A) => A.value !== null), u.dashIndices.map((A) => A - m.value.start)) : [], ol = F.ticks.map((A) => ({
1134
1134
  y: A >= 0 ? U - H * (A / B) : U + H * Math.abs(A) / B,
1135
1135
  value: A,
1136
1136
  prefix: u.prefix || t.value.chart.labels.prefix,
@@ -1146,7 +1146,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1146
1146
  datapoint: u
1147
1147
  };
1148
1148
  });
1149
- L.value[u.scaleLabel].name = u.name, L.value[u.scaleLabel].groupName = u.scaleLabel, L.value[u.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || u.color, L.value[u.scaleLabel].color = u.color, L.value[u.scaleLabel].scaleYLabels = u.autoScaling ? ul : ol, L.value[u.scaleLabel].zeroPosition = u.autoScaling ? j : U, L.value[u.scaleLabel].individualMax = u.autoScaling ? Q : B, L.value[u.scaleLabel].scaleLabel = u.scaleLabel, L.value[u.scaleLabel].id = u.id, L.value[u.scaleLabel].yOffset = Y, L.value[u.scaleLabel].individualHeight = H, L.value[u.scaleLabel].autoScaleYLabels = ul, L.value[u.scaleLabel].unique = Ue.value.filter((A) => A.scaleLabel === u.scaleLabel).length === 1;
1149
+ L.value[u.scaleLabel].name = u.name, L.value[u.scaleLabel].groupName = u.scaleLabel, L.value[u.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || u.color, L.value[u.scaleLabel].color = u.color, L.value[u.scaleLabel].scaleYLabels = u.autoScaling ? ul : ol, L.value[u.scaleLabel].zeroPosition = u.autoScaling ? j : U, L.value[u.scaleLabel].individualMax = u.autoScaling ? Q : B, L.value[u.scaleLabel].scaleLabel = u.scaleLabel, L.value[u.scaleLabel].id = u.id, L.value[u.scaleLabel].yOffset = X, L.value[u.scaleLabel].individualHeight = H, L.value[u.scaleLabel].autoScaleYLabels = ul, L.value[u.scaleLabel].unique = Ue.value.filter((A) => A.scaleLabel === u.scaleLabel).length === 1;
1150
1150
  const Pu = f.value.useIndividualScale ? u.autoScaling ? j : U : Do.value, zt = Math.max(
1151
1151
  Math.max(
1152
1152
  u.autoScaling ? j : ol.at(-1) ? ol.at(-1).y : 0,
@@ -1156,19 +1156,19 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1156
1156
  );
1157
1157
  return {
1158
1158
  ...u,
1159
- temperatureColors: u.temperatureColors ? u.temperatureColors.map((A) => Nl(A)) : null,
1160
- yOffset: Y,
1159
+ temperatureColors: u.temperatureColors ? u.temperatureColors.map((A) => Fl(A)) : null,
1160
+ yOffset: X,
1161
1161
  autoScaleYLabels: ul,
1162
1162
  individualHeight: H,
1163
1163
  scaleYLabels: u.autoScaling ? ul : ol,
1164
- individualScale: u.autoScaling ? p : N,
1164
+ individualScale: u.autoScaling ? p : F,
1165
1165
  individualMax: u.autoScaling ? Q : B,
1166
1166
  zeroPosition: u.autoScaling ? j : U,
1167
1167
  curve: u.autoScaling ? le : E,
1168
1168
  plots: u.autoScaling ? Z : K,
1169
1169
  dashedStraight: Tt,
1170
1170
  dashedSmooth: Ke,
1171
- hasDashedSegments: me,
1171
+ hasDashedSegments: be,
1172
1172
  area: u.useArea ? f.value.useIndividualScale ? t.value.line.cutNullValues ? vo(
1173
1173
  u.autoScaling ? Z : K,
1174
1174
  zt
@@ -1185,7 +1185,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1185
1185
  groupId: L.value[u.scaleLabel].groupId
1186
1186
  };
1187
1187
  });
1188
- }), fe = b(() => {
1188
+ }), ge = b(() => {
1189
1189
  const l = Ue.value.filter((u) => ["bar", "line", "plot"].includes(u.type)), o = l.length, e = t.value.chart.grid.labels.yAxis.gap, a = f.value.isStacked ? e * (o - 1) : 0, n = c.value.height - a;
1190
1190
  return l.filter((u) => u.type === "plot").map((u) => {
1191
1191
  Sl(u);
@@ -1199,12 +1199,12 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1199
1199
  min: u.scaleMin || Math.min(...u.absoluteValues) > 0 ? 0 : Math.min(...u.absoluteValues)
1200
1200
  }, {
1201
1201
  individualScale: D,
1202
- autoScaleSteps: N,
1202
+ autoScaleSteps: F,
1203
1203
  individualZero: p,
1204
1204
  individualMax: te,
1205
1205
  autoScaleMax: B,
1206
1206
  yOffset: Q,
1207
- individualHeight: Y,
1207
+ individualHeight: X,
1208
1208
  zeroPosition: H,
1209
1209
  autoScaleZeroPosition: U
1210
1210
  } = $l({
@@ -1219,39 +1219,39 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1219
1219
  }), j = u.series.map((E, le) => {
1220
1220
  const R = f.value.useIndividualScale ? (u.absoluteValues[le] + Math.abs(p)) / te : Ge(E);
1221
1221
  return {
1222
- x: O(c.value?.left + J.value.plot / 2 + J.value.plot * le),
1223
- y: O(c.value?.bottom - Q - Y * R),
1222
+ x: N(c.value?.left + J.value.plot / 2 + J.value.plot * le),
1223
+ y: N(c.value?.bottom - Q - X * R),
1224
1224
  value: u.absoluteValues[le],
1225
1225
  comment: u.comments && u.comments.slice(m.value.start, m.value.end)[le] || ""
1226
1226
  };
1227
- }), K = u.absoluteValues.map((E) => N.min >= 0 ? (E - Math.abs(N.min)) / (N.max - Math.abs(N.min)) : (E + Math.abs(N.min)) / (N.max + Math.abs(N.min))), we = u.series.map((E, le) => ({
1228
- x: O(c.value?.left + J.value.plot / 2 + J.value.plot * le),
1229
- y: O(c.value?.bottom - Q - (Y * K[le] || 0)),
1227
+ }), K = u.absoluteValues.map((E) => F.min >= 0 ? (E - Math.abs(F.min)) / (F.max - Math.abs(F.min)) : (E + Math.abs(F.min)) / (F.max + Math.abs(F.min))), we = u.series.map((E, le) => ({
1228
+ x: N(c.value?.left + J.value.plot / 2 + J.value.plot * le),
1229
+ y: N(c.value?.bottom - Q - (X * K[le] || 0)),
1230
1230
  value: u.absoluteValues[le],
1231
1231
  comment: u.comments && u.comments.slice(m.value.start, m.value.end)[le] || ""
1232
1232
  })), Z = D.ticks.map((E) => ({
1233
- y: E >= 0 ? H - Y * (E / te) : H + Y * Math.abs(E) / te,
1233
+ y: E >= 0 ? H - X * (E / te) : H + X * Math.abs(E) / te,
1234
1234
  value: E,
1235
1235
  prefix: u.prefix || t.value.chart.labels.prefix,
1236
1236
  suffix: u.suffix || t.value.chart.labels.suffix,
1237
1237
  datapoint: u
1238
- })), me = N.ticks.map((E) => {
1239
- const le = (E - N.min) / (N.max - N.min);
1238
+ })), be = F.ticks.map((E) => {
1239
+ const le = (E - F.min) / (F.max - F.min);
1240
1240
  return {
1241
- y: E >= 0 ? U - Y * le : U + Y * le,
1241
+ y: E >= 0 ? U - X * le : U + X * le,
1242
1242
  value: E,
1243
1243
  prefix: u.prefix || t.value.chart.labels.prefix,
1244
1244
  suffix: u.suffix || t.value.chart.labels.suffix,
1245
1245
  datapoint: u
1246
1246
  };
1247
1247
  });
1248
- return L.value[u.scaleLabel].name = u.name, L.value[u.scaleLabel].groupName = u.scaleLabel, L.value[u.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || u.color, L.value[u.scaleLabel].color = u.color, L.value[u.scaleLabel].scaleYLabels = u.autoScaling ? me : Z, L.value[u.scaleLabel].zeroPosition = u.autoScaling ? U : H, L.value[u.scaleLabel].individualMax = u.autoScaling ? B : te, L.value[u.scaleLabel].scaleLabel = u.scaleLabel, L.value[u.scaleLabel].id = u.id, L.value[u.scaleLabel].yOffset = Q, L.value[u.scaleLabel].individualHeight = Y, L.value[u.scaleLabel].autoScaleYLabels = me, L.value[u.scaleLabel].unique = Ue.value.filter((E) => E.scaleLabel === u.scaleLabel).length === 1, {
1248
+ return L.value[u.scaleLabel].name = u.name, L.value[u.scaleLabel].groupName = u.scaleLabel, L.value[u.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || u.color, L.value[u.scaleLabel].color = u.color, L.value[u.scaleLabel].scaleYLabels = u.autoScaling ? be : Z, L.value[u.scaleLabel].zeroPosition = u.autoScaling ? U : H, L.value[u.scaleLabel].individualMax = u.autoScaling ? B : te, L.value[u.scaleLabel].scaleLabel = u.scaleLabel, L.value[u.scaleLabel].id = u.id, L.value[u.scaleLabel].yOffset = Q, L.value[u.scaleLabel].individualHeight = X, L.value[u.scaleLabel].autoScaleYLabels = be, L.value[u.scaleLabel].unique = Ue.value.filter((E) => E.scaleLabel === u.scaleLabel).length === 1, {
1249
1249
  ...u,
1250
1250
  yOffset: Q,
1251
- autoScaleYLabels: me,
1252
- individualHeight: Y,
1253
- scaleYLabels: u.autoScaling ? me : Z,
1254
- individualScale: u.autoScaling ? N : D,
1251
+ autoScaleYLabels: be,
1252
+ individualHeight: X,
1253
+ scaleYLabels: u.autoScaling ? be : Z,
1254
+ individualScale: u.autoScaling ? F : D,
1255
1255
  individualMax: u.autoScaling ? B : te,
1256
1256
  zeroPosition: u.autoScaling ? U : H,
1257
1257
  plots: u.autoScaling ? we : j,
@@ -1259,7 +1259,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1259
1259
  };
1260
1260
  });
1261
1261
  }), At = b(() => {
1262
- const l = oe.value.map((n) => ({
1262
+ const l = ue.value.map((n) => ({
1263
1263
  name: n.name,
1264
1264
  color: n.color,
1265
1265
  scale: n.individualScale,
@@ -1282,7 +1282,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1282
1282
  id: n.id,
1283
1283
  yOffset: n.yOffset || 0,
1284
1284
  individualHeight: n.individualHeight || c.value.height
1285
- })), e = fe.value.map((n) => ({
1285
+ })), e = ge.value.map((n) => ({
1286
1286
  name: n.name,
1287
1287
  color: n.color,
1288
1288
  scale: n.individualScale,
@@ -1304,7 +1304,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1304
1304
  id: n.id,
1305
1305
  groupId: n.groupId,
1306
1306
  scaleLabel: n.scaleLabel,
1307
- name: ve(
1307
+ name: he(
1308
1308
  t.value.chart.grid.labels.yAxis.serieNameFormatter,
1309
1309
  M,
1310
1310
  M,
@@ -1321,14 +1321,14 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1321
1321
  }))
1322
1322
  };
1323
1323
  });
1324
- }), Ba = b(() => {
1324
+ }), Ra = b(() => {
1325
1325
  const l = t.value.line.interLine || {}, o = l.pairs || [], e = l.colors || [];
1326
1326
  if (!o.length) return [];
1327
1327
  const s = [];
1328
1328
  return o.forEach((a, n) => {
1329
1329
  const [u, S] = Array.isArray(a) ? a : [a.a, a.b];
1330
1330
  if (!u || !S) return;
1331
- const M = oe.value.find((p) => p.name === u), I = oe.value.find((p) => p.name === S);
1331
+ const M = ue.value.find((p) => p.name === u), I = ue.value.find((p) => p.name === S);
1332
1332
  if (!M || !I || M.type !== "line" || I.type !== "line") return;
1333
1333
  const V = e?.[n]?.[0] ?? M.color, D = e?.[n]?.[1] ?? I.color;
1334
1334
  Zu({
@@ -1344,13 +1344,14 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1344
1344
  s.push({ ...p, key: `inter_${u}_${S}_${n}_${te}` });
1345
1345
  });
1346
1346
  }), s;
1347
- }), Ra = b(() => ({
1347
+ }), Ll = b(() => ({
1348
+ timeLabel: oe.value[_.value],
1348
1349
  datapoint: Ze.value,
1349
1350
  seriesIndex: _.value,
1350
1351
  series: ie.value,
1351
1352
  bars: ke.value,
1352
- lines: oe.value,
1353
- plots: fe.value,
1353
+ lines: ue.value,
1354
+ plots: ge.value,
1354
1355
  config: t.value
1355
1356
  })), Ha = g({ months: [], shortMonths: [], days: [], shortDays: [] });
1356
1357
  let Da = 0;
@@ -1376,15 +1377,15 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1376
1377
  absoluteIndex: e
1377
1378
  }))), bu = b(() => {
1378
1379
  let l = "", o = Ze.value.map((a) => a.value).filter((a) => nl(a) && a !== null).reduce((a, n) => Math.abs(a) + Math.abs(n), 0);
1379
- const e = se.value[_.value], s = t.value.chart.tooltip.customFormat;
1380
+ const e = oe.value[_.value], s = t.value.chart.tooltip.customFormat;
1380
1381
  if (fo(s) && Ku(() => s({
1381
1382
  absoluteIndex: _.value + m.value.start,
1382
1383
  seriesIndex: _.value,
1383
1384
  datapoint: Ze.value,
1384
1385
  series: ie.value,
1385
1386
  bars: ke.value,
1386
- lines: oe.value,
1387
- plots: fe.value,
1387
+ lines: ue.value,
1388
+ plots: ge.value,
1388
1389
  config: t.value,
1389
1390
  dateLabel: e
1390
1391
  })))
@@ -1394,8 +1395,8 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1394
1395
  datapoint: Ze.value,
1395
1396
  series: ie.value,
1396
1397
  bars: ke.value,
1397
- lines: oe.value,
1398
- plots: fe.value,
1398
+ lines: ue.value,
1399
+ plots: ge.value,
1399
1400
  config: t.value,
1400
1401
  dateLabel: e
1401
1402
  });
@@ -1408,7 +1409,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1408
1409
  let n = "", u = "";
1409
1410
  switch (pt.value[a.type]) {
1410
1411
  case "bar":
1411
- n = `<svg viewBox="0 0 40 40" height="14" width="14">${Rl.pattern ? `<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${a.color}" />` : ""}<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${Rl.pattern ? `url(#pattern_${z.value}_${a.slotAbsoluteIndex}` : a.color}" /></svg>`;
1412
+ n = `<svg viewBox="0 0 40 40" height="14" width="14">${Hl.pattern ? `<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${a.color}" />` : ""}<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${Hl.pattern ? `url(#pattern_${z.value}_${a.slotAbsoluteIndex}` : a.color}" /></svg>`;
1412
1413
  break;
1413
1414
  case "line":
1414
1415
  !a.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(a.shape) ? u = `<circle cx="10" cy="8" r="4" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${a.color}" />` : a.shape === "triangle" ? u = `<path d="${Ie({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${a.color}" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "square" ? u = `<path d="${Ie({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${a.color}" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "diamond" ? u = `<path d="${Ie({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${a.color}" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "pentagon" ? u = `<path d="${Ie({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${a.color}" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "hexagon" ? u = `<path d="${Ie({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${a.color}" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "star" && (u = `<polygon stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${a.color}" points="${mo({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), n = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${a.color}" />${u}</svg>`;
@@ -1443,7 +1444,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1443
1444
  break;
1444
1445
  }
1445
1446
  }
1446
- l += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;"><div style="width:20px">${n}</div> ${a.name}: <b>${t.value.chart.tooltip.showValue ? ve(
1447
+ l += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;"><div style="width:20px">${n}</div> ${a.name}: <b>${t.value.chart.tooltip.showValue ? he(
1447
1448
  a.type === "line" ? t.value.line.labels.formatter : a.type === "bar" ? t.value.bar.labels.formatter : t.value.plot.labels.formatter,
1448
1449
  a.value,
1449
1450
  Pe({
@@ -1454,7 +1455,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1454
1455
  }),
1455
1456
  { datapoint: a }
1456
1457
  ) : ""}</b> ${t.value.chart.tooltip.showPercentage ? `(${Pe({
1457
- v: O(Math.abs(a.value) / o * 100),
1458
+ v: N(Math.abs(a.value) / o * 100),
1458
1459
  s: "%",
1459
1460
  r: t.value.chart.tooltip.roundingPercentage
1460
1461
  })})` : ""}</div>`, t.value.chart.comments.showInTooltip && a.comments.length && a.comments.slice(m.value.start, m.value.end)[_.value] && (l += `<div class="vue-data-ui-tooltip-comment" style="background:${a.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${a.color}">${a.comments.slice(m.value.start, m.value.end)[_.value]}</div>`);
@@ -1467,7 +1468,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1467
1468
  color: e.color,
1468
1469
  type: e.type
1469
1470
  })), o = [];
1470
- return se.value.forEach((e, s) => {
1471
+ return oe.value.forEach((e, s) => {
1471
1472
  const a = t.value.table.useDefaultTimeFormat ? [e.text] : [rt.value(s + m.value.start, t.value.table.timeFormat)];
1472
1473
  ye.value.forEach((n) => {
1473
1474
  a.push(xe(n.absoluteValues[s]) ? Number(n.absoluteValues[s].toFixed(t.value.table.rounding)) : "");
@@ -1482,9 +1483,9 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1482
1483
  const u = ye.value.map((S) => S.absoluteValues[n] ?? 0).reduce((S, M) => S + M, 0);
1483
1484
  e.push(
1484
1485
  [
1485
- t.value.table.useDefaultTimeFormat ? se.value[n]?.text ?? "-" : rt.value(n + m.value.start, t.value.table.timeFormat)
1486
+ t.value.table.useDefaultTimeFormat ? oe.value[n]?.text ?? "-" : rt.value(n + m.value.start, t.value.table.timeFormat)
1486
1487
  ].concat(ye.value.map(
1487
- (S) => ve(
1488
+ (S) => he(
1488
1489
  S.type === "line" ? t.value.line.labels.formatter : S.type === "bar" ? t.value.bar.labels.formatter : t.value.plot.labels.formatter,
1489
1490
  S.absoluteValues[n] ?? 0,
1490
1491
  Pe({
@@ -1512,13 +1513,13 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1512
1513
  }, a = [t.value.table.columnNames.period].concat(ye.value.map((n) => n.name)).concat(t.value.table.columnNames.total);
1513
1514
  return { head: o, body: e, config: s, colNames: a };
1514
1515
  });
1515
- function Ll(l = null) {
1516
+ function Ml(l = null) {
1516
1517
  const o = [[t.value.chart.title.text], [t.value.chart.title.subtitle.text], [""]], e = ["", ...Ea.value.head.map((u) => u.label)], s = Ea.value.body, a = o.concat([e]).concat(s), n = ts(a);
1517
1518
  l ? l(n) : ls({ csvContent: n, title: t.value.chart.title.text || "vue-ui-xy" });
1518
1519
  }
1519
- function Ml(l, o = null) {
1520
+ function Al(l, o = null) {
1520
1521
  if (Wo.value) return;
1521
- Dl.value = l;
1522
+ Wl.value = l;
1522
1523
  const e = ye.value.map((s) => ({
1523
1524
  name: s.name,
1524
1525
  value: [null, void 0, NaN].includes(s.absoluteValues[o]) ? null : s.absoluteValues[o],
@@ -1537,7 +1538,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1537
1538
  f.value.showTooltip = !f.value.showTooltip;
1538
1539
  }
1539
1540
  function qa(l) {
1540
- Ee.value = l, Wl.value += 1;
1541
+ Ee.value = l, El.value += 1;
1541
1542
  }
1542
1543
  function Ua() {
1543
1544
  if (!t.value.responsiveProportionalSizing) {
@@ -1545,7 +1546,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1545
1546
  return;
1546
1547
  }
1547
1548
  x.value.dataLabels = ht({
1548
- relator: de.value,
1549
+ relator: fe.value,
1549
1550
  adjuster: 400,
1550
1551
  source: t.value.chart.grid.labels.fontSize,
1551
1552
  threshold: 10,
@@ -1582,13 +1583,13 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1582
1583
  fallback: 1
1583
1584
  });
1584
1585
  }
1585
- function Al() {
1586
- go(T.dataset) ? (Ol({
1586
+ function Cl() {
1587
+ go(T.dataset) ? (Nl({
1587
1588
  componentName: "VueUiXy",
1588
1589
  type: "dataset",
1589
1590
  debug: kt.value
1590
1591
  }), Wt.value = !0) : T.dataset.forEach((o, e) => {
1591
- [null, void 0].includes(o.name) && (Ol({
1592
+ [null, void 0].includes(o.name) && (Nl({
1592
1593
  componentName: "VueUiXy",
1593
1594
  type: "datasetSerieAttribute",
1594
1595
  property: "name (string)",
@@ -1601,7 +1602,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1601
1602
  -----> The serie '${o.name}' contains the value '${e}' at index ${s}.
1602
1603
  '${e}' was converted to null to allow the chart to display.`);
1603
1604
  });
1604
- }), go(T.dataset) || (Wt.value = t.value.loading), Xl.value = t.value.chart.userOptions.showOnChartHover, bl.value = t.value.chart.userOptions.keepStateOnChartLeave, Bt.value = !t.value.chart.userOptions.showOnChartHover, kl();
1605
+ }), go(T.dataset) || (Wt.value = t.value.loading), Gl.value = t.value.chart.userOptions.showOnChartHover, bl.value = t.value.chart.userOptions.keepStateOnChartLeave, Bt.value = !t.value.chart.userOptions.showOnChartHover, kl();
1605
1606
  const l = 12;
1606
1607
  if (t.value.responsive) {
1607
1608
  const e = $e.value.parentNode;
@@ -1615,17 +1616,17 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1615
1616
  t.value.chart.legend.show && et.value && (I = et.value, V = I.getBoundingClientRect().height);
1616
1617
  let D = 0;
1617
1618
  gt.value && (D = gt.value.getBoundingClientRect().height);
1618
- let N = 0;
1619
- bt.value && (N = bt.value.getBoundingClientRect().height), de.value = s - u - V - M - D - N - l, ee.value = a, Vt.value = `0 0 ${ee.value < 0 ? 10 : ee.value} ${de.value < 0 ? 10 : de.value}`, Ua();
1619
+ let F = 0;
1620
+ bt.value && (F = bt.value.getBoundingClientRect().height), fe.value = s - u - V - M - D - F - l, ee.value = a, Vt.value = `0 0 ${ee.value < 0 ? 10 : ee.value} ${fe.value < 0 ? 10 : fe.value}`, Ua();
1620
1621
  const p = new ResizeObserver((te) => {
1621
1622
  for (const B of te)
1622
- t.value.chart.title.show && mt.value ? u = mt.value.getBoundingClientRect().height : u = 0, Te.value && Te.value.$el ? M = Te.value.$el.getBoundingClientRect().height : M = 0, et.value ? V = et.value.getBoundingClientRect().height : V = 0, gt.value ? D = gt.value.getBoundingClientRect().height : D = 0, bt.value ? N = bt.value.getBoundingClientRect().height : N = 0, requestAnimationFrame(() => {
1623
- de.value = B.contentRect.height - u - V - M - D - N - l, ee.value = B.contentBoxSize[0].inlineSize ?? B.contentRect.width, Vt.value = `0 0 ${ee.value < 0 ? 10 : ee.value} ${de.value < 0 ? 10 : de.value}`, Ua(), xt(), ot();
1623
+ t.value.chart.title.show && mt.value ? u = mt.value.getBoundingClientRect().height : u = 0, Te.value && Te.value.$el ? M = Te.value.$el.getBoundingClientRect().height : M = 0, et.value ? V = et.value.getBoundingClientRect().height : V = 0, gt.value ? D = gt.value.getBoundingClientRect().height : D = 0, bt.value ? F = bt.value.getBoundingClientRect().height : F = 0, requestAnimationFrame(() => {
1624
+ fe.value = B.contentRect.height - u - V - M - D - F - l, ee.value = B.contentBoxSize[0].inlineSize ?? B.contentRect.width, Vt.value = `0 0 ${ee.value < 0 ? 10 : ee.value} ${fe.value < 0 ? 10 : fe.value}`, Ua(), xt(), ot();
1624
1625
  });
1625
1626
  });
1626
1627
  Ne.value = p, ml.value = e, p.observe(e);
1627
1628
  } else
1628
- de.value = t.value.chart.height, ee.value = t.value.chart.width, x.value.dataLabels = t.value.chart.grid.labels.fontSize, x.value.yAxis = t.value.chart.grid.labels.axis.fontSize, x.value.xAxis = t.value.chart.grid.labels.xAxisLabels.fontSize, x.value.plotLabels = t.value.chart.labels.fontSize, Le.value.plot = t.value.plot.radius, Le.value.line = t.value.line.radius, Vt.value = `0 0 ${ee.value} ${de.value}`;
1629
+ fe.value = t.value.chart.height, ee.value = t.value.chart.width, x.value.dataLabels = t.value.chart.grid.labels.fontSize, x.value.yAxis = t.value.chart.grid.labels.axis.fontSize, x.value.xAxis = t.value.chart.grid.labels.xAxisLabels.fontSize, x.value.plotLabels = t.value.chart.labels.fontSize, Le.value.plot = t.value.plot.radius, Le.value.line = t.value.line.radius, Vt.value = `0 0 ${ee.value} ${fe.value}`;
1629
1630
  xt(), ot();
1630
1631
  }
1631
1632
  function Za(l) {
@@ -1635,18 +1636,18 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1635
1636
  };
1636
1637
  }
1637
1638
  It(() => {
1638
- Al(), Jt(), document.addEventListener("mousemove", Za, { passive: !0 }), document.addEventListener("scroll", ha, { passive: !0 });
1639
- }), Il(() => {
1640
- document.removeEventListener("scroll", ha, { passive: !0 }), document.removeEventListener("mousemove", Za, { passive: !0 }), Ne.value && (Ne.value.unobserve(ml.value), Ne.value.disconnect(), Ne.value = null);
1639
+ Cl(), Jt(), document.addEventListener("mousemove", Za, { passive: !0 }), document.addEventListener("scroll", fa, { passive: !0 });
1640
+ }), Pl(() => {
1641
+ document.removeEventListener("scroll", fa, { passive: !0 }), document.removeEventListener("mousemove", Za, { passive: !0 }), Ne.value && (Ne.value.unobserve(ml.value), Ne.value.disconnect(), Ne.value = null);
1641
1642
  }), ds({
1642
1643
  timeLabelsEls: Ft,
1643
- timeLabels: se,
1644
+ timeLabels: oe,
1644
1645
  slicer: m,
1645
1646
  configRef: t,
1646
1647
  rotationPath: ["chart", "grid", "labels", "xAxisLabels", "rotation"],
1647
1648
  autoRotatePath: ["chart", "grid", "labels", "xAxisLabels", "autoRotate", "enable"],
1648
1649
  isAutoSize: Ho,
1649
- height: de,
1650
+ height: fe,
1650
1651
  width: ee,
1651
1652
  rotation: t.value.chart.grid.labels.xAxisLabels.autoRotate.angle
1652
1653
  });
@@ -1659,7 +1660,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1659
1660
  }
1660
1661
  function xu() {
1661
1662
  const l = yu(), o = 200, e = Math.max(1, $.value), s = c.value.width / e, n = c.value?.left + pu.value * s + s / 2 - l / 2 - (o - l) / 2, u = c.value?.left - (o - l) / 2, S = c.value?.right - (o + l) / 2, M = Math.max(u, Math.min(n, S));
1662
- return O(M);
1663
+ return N(M);
1663
1664
  }
1664
1665
  It(() => {
1665
1666
  let l = null, o = null;
@@ -1678,7 +1679,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1678
1679
  l && (s.unobserve(l), l = null);
1679
1680
  });
1680
1681
  });
1681
- Il(() => {
1682
+ Pl(() => {
1682
1683
  try {
1683
1684
  l && s.unobserve(l), s.disconnect(), a();
1684
1685
  } catch {
@@ -1695,8 +1696,8 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1695
1696
  seriesIndex: l,
1696
1697
  datapoint: Ze.value,
1697
1698
  bars: ke.value,
1698
- lines: oe.value,
1699
- plots: fe.value,
1699
+ lines: ue.value,
1700
+ plots: ge.value,
1700
1701
  config: t.value
1701
1702
  });
1702
1703
  if (typeof e == "string")
@@ -1705,7 +1706,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1705
1706
  console.warn("Custom format cannot be applied on timeTag."), al.value = !1;
1706
1707
  }
1707
1708
  if (!al.value)
1708
- return [null, void 0].includes(se.value[l]) ? "" : t.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !t.value.chart.timeTag.useDefaultFormat ? rt.value(l + m.value.start, t.value.chart.timeTag.timeFormat) : se.value[l].text;
1709
+ return [null, void 0].includes(oe.value[l]) ? "" : t.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !t.value.chart.timeTag.useDefaultFormat ? rt.value(l + m.value.start, t.value.chart.timeTag.timeFormat) : oe.value[l].text;
1709
1710
  });
1710
1711
  vt(() => T.dataset, (l) => {
1711
1712
  Array.isArray(l) && l.length > 0 && (Wt.value = !1), ze.value = Math.max(...pe.value.map((o) => Fe(o.series).length)), m.value = {
@@ -1713,22 +1714,22 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1713
1714
  end: ze.value
1714
1715
  }, Io.value += 1, gl.value += 1, xt(), ot(), ut();
1715
1716
  }, { deep: !0 }), vt(() => T.config, (l) => {
1716
- ne.value || (t.value = yl()), Al(), Yl.value += 1, El.value += 1, kl(), xt(), ot(), ut();
1717
+ ne.value || (t.value = yl()), Cl(), Xl.value += 1, Yl.value += 1, kl(), xt(), ot(), ut();
1717
1718
  }, { deep: !0 });
1718
- const Cl = g(!1);
1719
+ const Tl = g(!1);
1719
1720
  function Qa() {
1720
1721
  const l = $e.value?.parentNode;
1721
1722
  if (!l) {
1722
- Cl.value = !1;
1723
+ Tl.value = !1;
1723
1724
  return;
1724
1725
  }
1725
1726
  const o = l.getBoundingClientRect();
1726
- Cl.value = o.width > 2 && o.height > 2;
1727
+ Tl.value = o.width > 2 && o.height > 2;
1727
1728
  }
1728
1729
  It(() => {
1729
1730
  Qa();
1730
1731
  const l = new ResizeObserver(() => {
1731
- Qa(), Cl.value && (Al(), ut(), Jt());
1732
+ Qa(), Tl.value && (Cl(), ut(), Jt());
1732
1733
  });
1733
1734
  $e.value?.parentNode && l.observe($e.value.parentNode);
1734
1735
  }), vt(t, () => {
@@ -1802,18 +1803,18 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1802
1803
  Ht.value = !1;
1803
1804
  return;
1804
1805
  }
1805
- sa();
1806
+ na();
1806
1807
  }
1807
1808
  async function to() {
1808
1809
  if (We("copyAlt", {
1809
1810
  config: {
1810
1811
  ...t.value,
1811
- formattedDates: se.value
1812
+ formattedDates: oe.value
1812
1813
  },
1813
1814
  dataset: {
1814
- lines: oe.value,
1815
+ lines: ue.value,
1815
1816
  bars: ke.value,
1816
- plots: fe.value
1817
+ plots: ge.value
1817
1818
  }
1818
1819
  }), !t.value.chart.userOptions.callbacks.altCopy) {
1819
1820
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
@@ -1822,21 +1823,21 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1822
1823
  await Promise.resolve(t.value.chart.userOptions.callbacks.altCopy({
1823
1824
  config: {
1824
1825
  ...t.value,
1825
- formattedDates: se.value
1826
+ formattedDates: oe.value
1826
1827
  },
1827
1828
  dataset: {
1828
- lines: oe.value,
1829
+ lines: ue.value,
1829
1830
  bars: ke.value,
1830
- plots: fe.value
1831
+ plots: ge.value
1831
1832
  }
1832
1833
  }));
1833
1834
  }
1834
- const Tl = g(!1);
1835
+ const zl = g(!1);
1835
1836
  function Cu() {
1836
- m.value.end > m.value.start && (at.value = null), Ut.value = !0, Tl.value = !0;
1837
+ m.value.end > m.value.start && (at.value = null), Ut.value = !0, zl.value = !0;
1837
1838
  }
1838
1839
  function Tu() {
1839
- at.value = null, Lt(), Tl.value = !1, Ut.value = !1;
1840
+ at.value = null, Lt(), zl.value = !1, Ut.value = !1;
1840
1841
  }
1841
1842
  function zu(l) {
1842
1843
  if (!ae.value || tt.value || document.activeElement !== ae.value) return;
@@ -1847,15 +1848,15 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1847
1848
  l.preventDefault(), l.stopPropagation();
1848
1849
  let a = at.value;
1849
1850
  const n = it.value, u = a !== null && a >= 0 && a < s, S = n !== null && n >= 0 && n < s;
1850
- u ? e ? (a += 1, a >= s && (a = 0)) : o && (a -= 1, a < 0 && (a = s - 1)) : S ? (a = e ? n + 1 : n - 1, a >= s && (a = 0), a < 0 && (a = s - 1)) : e ? a = 0 : a = s - 1, at.value = a, Iu(a), Ml(!0, a);
1851
+ u ? e ? (a += 1, a >= s && (a = 0)) : o && (a -= 1, a < 0 && (a = s - 1)) : S ? (a = e ? n + 1 : n - 1, a >= s && (a = 0), a < 0 && (a = s - 1)) : e ? a = 0 : a = s - 1, at.value = a, Iu(a), Al(!0, a);
1851
1852
  }
1852
1853
  function Iu(l) {
1853
1854
  const o = m.value.end - m.value.start;
1854
1855
  if (o <= 0) return;
1855
1856
  const e = c.value.width / o, s = c.value.left + e * l + e / 2, a = c.value.top + c.value.height / 2, n = as(s, a, ae.value);
1856
- n && (ql.value = n);
1857
+ n && (Ul.value = n);
1857
1858
  }
1858
- const zl = b(() => {
1859
+ const Il = b(() => {
1859
1860
  if (!ct.value) return null;
1860
1861
  const l = t.value.table.showSum;
1861
1862
  let o = [t.value.table.columnNames.period].concat(ye.value.map((s) => s.name));
@@ -1869,13 +1870,13 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1869
1870
  return yo({
1870
1871
  getData: lu,
1871
1872
  getImage: au,
1872
- generatePdf: ua,
1873
- generateImage: sa,
1873
+ generatePdf: sa,
1874
+ generateImage: na,
1874
1875
  generateSvg: eo,
1875
- generateCsv: Ll,
1876
+ generateCsv: Ml,
1876
1877
  hideSeries: nu,
1877
1878
  showSeries: su,
1878
- toggleStack: pa,
1879
+ toggleStack: ya,
1879
1880
  toggleTable: Ya,
1880
1881
  toggleLabels: Xa,
1881
1882
  toggleTooltip: Ga,
@@ -1888,21 +1889,21 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1888
1889
  ref_key: "chart",
1889
1890
  ref: $e,
1890
1891
  style: w(`background:${t.value.chart.backgroundColor}; color:${t.value.chart.color};width:100%;font-family:${t.value.chart.fontFamily};${t.value.responsive ? "height: 100%" : ""}`),
1891
- onMouseenter: o[6] || (o[6] = () => fa(!0)),
1892
- onMouseleave: o[7] || (o[7] = () => fa(!1)),
1893
- onClick: Ta
1892
+ onMouseenter: o[6] || (o[6] = () => ma(!0)),
1893
+ onMouseleave: o[7] || (o[7] = () => ma(!1)),
1894
+ onClick: za
1894
1895
  }, [
1895
1896
  y("div", {
1896
1897
  id: `chart-instructions-${z.value}`,
1897
1898
  class: "sr-only"
1898
1899
  }, [
1899
- y("p", null, ue(t.value.a11y.translations.keyboardNavigation), 1)
1900
+ y("p", null, se(t.value.a11y.translations.keyboardNavigation), 1)
1900
1901
  ], 8, _s),
1901
- zl.value?.rows?.length ? (i(), _e(ys, {
1902
+ Il.value?.rows?.length ? (i(), _e(ys, {
1902
1903
  key: 0,
1903
1904
  uid: z.value,
1904
- head: zl.value.headers,
1905
- body: zl.value.rows,
1905
+ head: Il.value.headers,
1906
+ body: Il.value.rows,
1906
1907
  notice: t.value.a11y.translations.tableAvailable,
1907
1908
  caption: t.value.a11y.translations.tableCaption
1908
1909
  }, null, 8, ["uid", "head", "body", "notice", "caption"])) : h("", !0),
@@ -1915,23 +1916,23 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1915
1916
  isCursorPointer: Xe.value,
1916
1917
  onClose: wl
1917
1918
  }, {
1918
- "annotator-action-close": X(() => [
1919
- F(l.$slots, "annotator-action-close", {}, void 0, !0)
1919
+ "annotator-action-close": Y(() => [
1920
+ O(l.$slots, "annotator-action-close", {}, void 0, !0)
1920
1921
  ]),
1921
- "annotator-action-color": X(({ color: e }) => [
1922
- F(l.$slots, "annotator-action-color", ge(be({ color: e })), void 0, !0)
1922
+ "annotator-action-color": Y(({ color: e }) => [
1923
+ O(l.$slots, "annotator-action-color", ve(de({ color: e })), void 0, !0)
1923
1924
  ]),
1924
- "annotator-action-draw": X(({ mode: e }) => [
1925
- F(l.$slots, "annotator-action-draw", ge(be({ mode: e })), void 0, !0)
1925
+ "annotator-action-draw": Y(({ mode: e }) => [
1926
+ O(l.$slots, "annotator-action-draw", ve(de({ mode: e })), void 0, !0)
1926
1927
  ]),
1927
- "annotator-action-undo": X(({ disabled: e }) => [
1928
- F(l.$slots, "annotator-action-undo", ge(be({ disabled: e })), void 0, !0)
1928
+ "annotator-action-undo": Y(({ disabled: e }) => [
1929
+ O(l.$slots, "annotator-action-undo", ve(de({ disabled: e })), void 0, !0)
1929
1930
  ]),
1930
- "annotator-action-redo": X(({ disabled: e }) => [
1931
- F(l.$slots, "annotator-action-redo", ge(be({ disabled: e })), void 0, !0)
1931
+ "annotator-action-redo": Y(({ disabled: e }) => [
1932
+ O(l.$slots, "annotator-action-redo", ve(de({ disabled: e })), void 0, !0)
1932
1933
  ]),
1933
- "annotator-action-delete": X(({ disabled: e }) => [
1934
- F(l.$slots, "annotator-action-delete", ge(be({ disabled: e })), void 0, !0)
1934
+ "annotator-action-delete": Y(({ disabled: e }) => [
1935
+ O(l.$slots, "annotator-action-delete", ve(de({ disabled: e })), void 0, !0)
1935
1936
  ]),
1936
1937
  _: 3
1937
1938
  }, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : h("", !0),
@@ -1950,7 +1951,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1950
1951
  style: w(`font-family:${t.value.chart.fontFamily}`)
1951
1952
  }, [
1952
1953
  (i(), _e(fs, {
1953
- key: `title_${Yl.value}`,
1954
+ key: `title_${Xl.value}`,
1954
1955
  config: {
1955
1956
  title: {
1956
1957
  cy: "xy-div-title",
@@ -1969,7 +1970,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1969
1970
  t.value.chart.userOptions.show && (bl.value || Bt.value) ? (i(), _e(v(wo), {
1970
1971
  ref_key: "userOptionsRef",
1971
1972
  ref: fl,
1972
- key: `user_options_${Wl.value}`,
1973
+ key: `user_options_${El.value}`,
1973
1974
  backgroundColor: t.value.chart.backgroundColor,
1974
1975
  color: t.value.chart.color,
1975
1976
  isPrinting: v(Et),
@@ -1998,13 +1999,13 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
1998
1999
  printScale: t.value.chart.userOptions.print.scale,
1999
2000
  isCursorPointer: Xe.value,
2000
2001
  onToggleFullscreen: qa,
2001
- onGeneratePdf: v(ua),
2002
- onGenerateCsv: Ll,
2002
+ onGeneratePdf: v(sa),
2003
+ onGenerateCsv: Ml,
2003
2004
  onGenerateImage: Au,
2004
2005
  onGenerateSvg: eo,
2005
2006
  onToggleTable: Ya,
2006
2007
  onToggleLabels: Xa,
2007
- onToggleStack: pa,
2008
+ onToggleStack: ya,
2008
2009
  onToggleTooltip: Ga,
2009
2010
  onToggleAnnotator: wl,
2010
2011
  onCopyAlt: to,
@@ -2014,85 +2015,85 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2014
2015
  }, lo({ _: 2 }, [
2015
2016
  l.$slots.menuIcon ? {
2016
2017
  name: "menuIcon",
2017
- fn: X(({ isOpen: e, color: s }) => [
2018
- F(l.$slots, "menuIcon", ge(be({ isOpen: e, color: s })), void 0, !0)
2018
+ fn: Y(({ isOpen: e, color: s }) => [
2019
+ O(l.$slots, "menuIcon", ve(de({ isOpen: e, color: s })), void 0, !0)
2019
2020
  ]),
2020
2021
  key: "0"
2021
2022
  } : void 0,
2022
2023
  l.$slots.optionTooltip ? {
2023
2024
  name: "optionTooltip",
2024
- fn: X(() => [
2025
- F(l.$slots, "optionTooltip", {}, void 0, !0)
2025
+ fn: Y(() => [
2026
+ O(l.$slots, "optionTooltip", {}, void 0, !0)
2026
2027
  ]),
2027
2028
  key: "1"
2028
2029
  } : void 0,
2029
2030
  l.$slots.optionPdf ? {
2030
2031
  name: "optionPdf",
2031
- fn: X(() => [
2032
- F(l.$slots, "optionPdf", {}, void 0, !0)
2032
+ fn: Y(() => [
2033
+ O(l.$slots, "optionPdf", {}, void 0, !0)
2033
2034
  ]),
2034
2035
  key: "2"
2035
2036
  } : void 0,
2036
2037
  l.$slots.optionCsv ? {
2037
2038
  name: "optionCsv",
2038
- fn: X(() => [
2039
- F(l.$slots, "optionCsv", {}, void 0, !0)
2039
+ fn: Y(() => [
2040
+ O(l.$slots, "optionCsv", {}, void 0, !0)
2040
2041
  ]),
2041
2042
  key: "3"
2042
2043
  } : void 0,
2043
2044
  l.$slots.optionImg ? {
2044
2045
  name: "optionImg",
2045
- fn: X(() => [
2046
- F(l.$slots, "optionImg", {}, void 0, !0)
2046
+ fn: Y(() => [
2047
+ O(l.$slots, "optionImg", {}, void 0, !0)
2047
2048
  ]),
2048
2049
  key: "4"
2049
2050
  } : void 0,
2050
2051
  l.$slots.optionSvg ? {
2051
2052
  name: "optionSvg",
2052
- fn: X(() => [
2053
- F(l.$slots, "optionSvg", {}, void 0, !0)
2053
+ fn: Y(() => [
2054
+ O(l.$slots, "optionSvg", {}, void 0, !0)
2054
2055
  ]),
2055
2056
  key: "5"
2056
2057
  } : void 0,
2057
2058
  l.$slots.optionTable ? {
2058
2059
  name: "optionTable",
2059
- fn: X(() => [
2060
- F(l.$slots, "optionTable", {}, void 0, !0)
2060
+ fn: Y(() => [
2061
+ O(l.$slots, "optionTable", {}, void 0, !0)
2061
2062
  ]),
2062
2063
  key: "6"
2063
2064
  } : void 0,
2064
2065
  l.$slots.optionLabels ? {
2065
2066
  name: "optionLabels",
2066
- fn: X(() => [
2067
- F(l.$slots, "optionLabels", {}, void 0, !0)
2067
+ fn: Y(() => [
2068
+ O(l.$slots, "optionLabels", {}, void 0, !0)
2068
2069
  ]),
2069
2070
  key: "7"
2070
2071
  } : void 0,
2071
2072
  l.$slots.optionStack ? {
2072
2073
  name: "optionStack",
2073
- fn: X(({ isStack: e }) => [
2074
- F(l.$slots, "optionStack", ge(be({ isStack: e })), void 0, !0)
2074
+ fn: Y(({ isStack: e }) => [
2075
+ O(l.$slots, "optionStack", ve(de({ isStack: e })), void 0, !0)
2075
2076
  ]),
2076
2077
  key: "8"
2077
2078
  } : void 0,
2078
2079
  l.$slots.optionFullscreen ? {
2079
2080
  name: "optionFullscreen",
2080
- fn: X(({ toggleFullscreen: e, isFullscreen: s }) => [
2081
- F(l.$slots, "optionFullscreen", ge(be({ toggleFullscreen: e, isFullscreen: s })), void 0, !0)
2081
+ fn: Y(({ toggleFullscreen: e, isFullscreen: s }) => [
2082
+ O(l.$slots, "optionFullscreen", ve(de({ toggleFullscreen: e, isFullscreen: s })), void 0, !0)
2082
2083
  ]),
2083
2084
  key: "9"
2084
2085
  } : void 0,
2085
2086
  l.$slots.optionAnnotator ? {
2086
2087
  name: "optionAnnotator",
2087
- fn: X(({ toggleAnnotator: e, isAnnotator: s }) => [
2088
- F(l.$slots, "optionAnnotator", ge(be({ toggleAnnotator: e, isAnnotator: s })), void 0, !0)
2088
+ fn: Y(({ toggleAnnotator: e, isAnnotator: s }) => [
2089
+ O(l.$slots, "optionAnnotator", ve(de({ toggleAnnotator: e, isAnnotator: s })), void 0, !0)
2089
2090
  ]),
2090
2091
  key: "10"
2091
2092
  } : void 0,
2092
2093
  l.$slots.optionAltCopy ? {
2093
2094
  name: "optionAltCopy",
2094
- fn: X(({ altCopy: e }) => [
2095
- F(l.$slots, "optionAltCopy", ge(be({ altCopy: e })), void 0, !0)
2095
+ fn: Y(({ altCopy: e }) => [
2096
+ O(l.$slots, "optionAltCopy", ve(de({ altCopy: e })), void 0, !0)
2096
2097
  ]),
2097
2098
  key: "11"
2098
2099
  } : void 0
@@ -2118,7 +2119,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2118
2119
  preserveAspectRatio: "xMidYMid",
2119
2120
  onMousemove: tu,
2120
2121
  onMouseleave: Lt,
2121
- onClick: Ta,
2122
+ onClick: za,
2122
2123
  onFocus: Cu,
2123
2124
  onBlur: Tu,
2124
2125
  onKeydown: zu
@@ -2139,7 +2140,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2139
2140
  pointerEvents: "none"
2140
2141
  }
2141
2142
  }, [
2142
- F(l.$slots, "chart-background", {}, void 0, !0)
2143
+ O(l.$slots, "chart-background", {}, void 0, !0)
2143
2144
  ], 8, Ls)) : h("", !0),
2144
2145
  $.value > 0 ? (i(), r("g", Ms, [
2145
2146
  y("g", As, [
@@ -2187,7 +2188,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2187
2188
  style: { animation: "none !important" }
2188
2189
  }, null, 8, Ts)) : h("", !0),
2189
2190
  t.value.chart.grid.showHorizontalLines ? (i(), r("g", zs, [
2190
- (i(!0), r(d, null, k(Na.value, (e) => (i(), r("line", {
2191
+ (i(!0), r(d, null, k(Fa.value, (e) => (i(), r("line", {
2191
2192
  x1: c.value?.left + q.value,
2192
2193
  x2: c.value?.right,
2193
2194
  y1: v(W)(e.y),
@@ -2221,7 +2222,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2221
2222
  (i(!0), r(d, null, k(ke.value, (e, s) => (i(), r("defs", {
2222
2223
  key: `def_rect_${s}`
2223
2224
  }, [
2224
- l.$slots["bar-gradient"] ? F(l.$slots, "bar-gradient", Qe({
2225
+ l.$slots["bar-gradient"] ? O(l.$slots, "bar-gradient", Qe({
2225
2226
  key: 0,
2226
2227
  ref_for: !0
2227
2228
  }, { series: e, positiveId: `rectGradient_pos_${s}_${z.value}`, negativeId: `rectGradient_neg_${s}_${z.value}` }), void 0, !0) : (i(), r(d, { key: 1 }, [
@@ -2263,7 +2264,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2263
2264
  ], 8, Es)
2264
2265
  ], 64))
2265
2266
  ]))), 128)),
2266
- (i(!0), r(d, null, k(fe.value, (e, s) => (i(), r("defs", {
2267
+ (i(!0), r(d, null, k(ge.value, (e, s) => (i(), r("defs", {
2267
2268
  key: `def_plot_${s}`
2268
2269
  }, [
2269
2270
  y("radialGradient", {
@@ -2284,7 +2285,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2284
2285
  }, null, 8, Zs)
2285
2286
  ], 8, qs)
2286
2287
  ]))), 128)),
2287
- (i(!0), r(d, null, k(oe.value, (e, s) => (i(), r(d, {
2288
+ (i(!0), r(d, null, k(ue.value, (e, s) => (i(), r(d, {
2288
2289
  key: `def_line_${e.id}`
2289
2290
  }, [
2290
2291
  y("defs", null, [
@@ -2305,7 +2306,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2305
2306
  "stop-color": e.color
2306
2307
  }, null, 8, Qs)
2307
2308
  ], 8, Ks),
2308
- l.$slots["area-gradient"] ? F(l.$slots, "area-gradient", Qe({
2309
+ l.$slots["area-gradient"] ? O(l.$slots, "area-gradient", Qe({
2309
2310
  key: 0,
2310
2311
  ref_for: !0
2311
2312
  }, { series: e, id: `areaGradient_${s}_${z.value}` }), void 0, !0) : (i(), r("linearGradient", {
@@ -2368,7 +2369,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2368
2369
  }, [
2369
2370
  y("div", {
2370
2371
  style: w(`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"}`)
2371
- }, ue(e.caption.text), 5)
2372
+ }, se(e.caption.text), 5)
2372
2373
  ], 12, sn)) : h("", !0)
2373
2374
  ]))), 256))
2374
2375
  ], 64)) : h("", !0)
@@ -2398,8 +2399,8 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2398
2399
  xe(a.value) ? (i(), r("rect", {
2399
2400
  key: 0,
2400
2401
  x: jt(a) + ll.value / 2,
2401
- y: f.value.useIndividualScale ? Aa(a) : Ma(a),
2402
- height: f.value.useIndividualScale ? Math.abs(La(a)) : Math.abs($a(a)),
2402
+ y: f.value.useIndividualScale ? Ca(a) : Aa(a),
2403
+ height: f.value.useIndividualScale ? Math.abs(Ma(a)) : Math.abs(La(a)),
2403
2404
  width: tl.value - ll.value,
2404
2405
  rx: t.value.bar.borderRadius,
2405
2406
  fill: t.value.bar.useGradient ? a.value >= 0 ? `url(#rectGradient_pos_${s}_${z.value})` : `url(#rectGradient_neg_${s}_${z.value})` : e.color,
@@ -2412,8 +2413,8 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2412
2413
  xe(a.value) && l.$slots.pattern ? (i(), r("rect", {
2413
2414
  key: 1,
2414
2415
  x: jt(a) - ll.value / 2,
2415
- y: f.value.useIndividualScale ? Aa(a) : Ma(a),
2416
- height: f.value.useIndividualScale ? Math.abs(La(a)) : Math.abs($a(a)),
2416
+ y: f.value.useIndividualScale ? Ca(a) : Aa(a),
2417
+ height: f.value.useIndividualScale ? Math.abs(Ma(a)) : Math.abs(La(a)),
2417
2418
  width: tl.value - ll.value,
2418
2419
  rx: t.value.bar.borderRadius,
2419
2420
  fill: `url(#pattern_${z.value}_${e.slotAbsoluteIndex})`,
@@ -2427,9 +2428,9 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2427
2428
  height: "12",
2428
2429
  width: tl.value + t.value.chart.comments.width,
2429
2430
  x: jt(a) - t.value.chart.comments.width / 2 + t.value.chart.comments.offsetX,
2430
- y: v(O)(a.y) + t.value.chart.comments.offsetY + 6
2431
+ y: v(N)(a.y) + t.value.chart.comments.offsetY + 6
2431
2432
  }, [
2432
- F(l.$slots, "plot-comment", {
2433
+ O(l.$slots, "plot-comment", {
2433
2434
  plot: { ...a, color: e.color, seriesIndex: s, datapointIndex: n }
2434
2435
  }, void 0, !0)
2435
2436
  ], 8, dn)) : h("", !0)
@@ -2441,8 +2442,8 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2441
2442
  "stroke-width": "1",
2442
2443
  x1: c.value?.left + q.value,
2443
2444
  x2: c.value?.right,
2444
- y1: v(W)(he.value),
2445
- y2: v(W)(he.value),
2445
+ y1: v(W)(me.value),
2446
+ y2: v(W)(me.value),
2446
2447
  "stroke-linecap": "round",
2447
2448
  style: { animation: "none !important" }
2448
2449
  }, null, 8, hn)) : h("", !0),
@@ -2499,7 +2500,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2499
2500
  "font-size": x.value.dataLabels * 0.8,
2500
2501
  "text-anchor": "middle",
2501
2502
  transform: `translate(${e.x - x.value.dataLabels * 0.8 / 2 + q.value}, ${f.value.isStacked ? c.value?.bottom - e.yOffset - e.individualHeight / 2 : c.value?.top + c.value.height / 2}) rotate(-90)`
2502
- }, ue(e.name) + " " + ue(e.scaleLabel && e.unique && e.scaleLabel !== e.id ? `-
2503
+ }, se(e.name) + " " + se(e.scaleLabel && e.unique && e.scaleLabel !== e.id ? `-
2503
2504
  ${e.scaleLabel}` : ""), 9, pn),
2504
2505
  (i(!0), r(d, null, k(e.yLabels, (s, a) => (i(), r(d, null, [
2505
2506
  t.value.chart.grid.labels.yAxis.showCrosshairs ? (i(), r("line", {
@@ -2520,7 +2521,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2520
2521
  "font-size": x.value.dataLabels,
2521
2522
  "text-anchor": "end",
2522
2523
  fill: e.color
2523
- }, ue(v(ve)(
2524
+ }, se(v(he)(
2524
2525
  t.value.chart.grid.labels.yAxis.formatter,
2525
2526
  s.value,
2526
2527
  v(Pe)({
@@ -2532,7 +2533,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2532
2533
  { datapoint: s.datapoint, seriesIndex: a }
2533
2534
  )), 9, xn))), 256))
2534
2535
  ], 4))), 256))
2535
- ], 64)) : (i(!0), r(d, { key: 1 }, k(Na.value, (e, s) => (i(), r("g", {
2536
+ ], 64)) : (i(!0), r(d, { key: 1 }, k(Fa.value, (e, s) => (i(), r("g", {
2536
2537
  key: `yLabel_${s}`
2537
2538
  }, [
2538
2539
  xe(e) && e.value >= Ae.value.min && e.value <= Ae.value.max && t.value.chart.grid.labels.yAxis.showCrosshairs ? (i(), r("line", {
@@ -2549,11 +2550,11 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2549
2550
  e.value >= Ae.value.min && e.value <= Ae.value.max ? (i(), r("text", {
2550
2551
  key: 1,
2551
2552
  x: c.value.scaleLabelX - t.value.chart.grid.labels.yAxis.crosshairSize,
2552
- y: v(O)(e.y + x.value.dataLabels / 3),
2553
+ y: v(N)(e.y + x.value.dataLabels / 3),
2553
2554
  "font-size": x.value.dataLabels,
2554
2555
  "text-anchor": "end",
2555
2556
  fill: t.value.chart.grid.labels.color
2556
- }, ue(xe(e.value) ? v(ve)(
2557
+ }, se(xe(e.value) ? v(he)(
2557
2558
  t.value.chart.grid.labels.yAxis.formatter,
2558
2559
  e.value,
2559
2560
  v(Pe)({
@@ -2565,7 +2566,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2565
2566
  ) : ""), 9, _n)) : h("", !0)
2566
2567
  ]))), 128))
2567
2568
  ], 512)) : h("", !0),
2568
- (i(!0), r(d, null, k(fe.value, (e, s) => (i(), r("g", {
2569
+ (i(!0), r(d, null, k(ge.value, (e, s) => (i(), r("g", {
2569
2570
  key: `serie_plot_${e.id}`,
2570
2571
  class: Je(`serie_plot_${s}`),
2571
2572
  style: w(`opacity:${C.value ? C.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
@@ -2577,7 +2578,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2577
2578
  key: 0,
2578
2579
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(e.shape) ? e.shape : "circle",
2579
2580
  color: t.value.plot.useGradient ? `url(#plotGradient_${s}_${z.value})` : t.value.plot.dot.useSerieColor ? e.color : t.value.plot.dot.fill,
2580
- plot: { x: v(O)(a.x), y: v(O)(a.y) },
2581
+ plot: { x: v(N)(a.x), y: v(N)(a.y) },
2581
2582
  radius: _.value !== null && _.value === n || P.value !== null && P.value === n ? (Le.value.plot || 6) * 1.5 : Le.value.plot || 6,
2582
2583
  stroke: t.value.plot.dot.useSerieColor ? t.value.chart.backgroundColor : e.color,
2583
2584
  strokeWidth: t.value.plot.dot.strokeWidth,
@@ -2592,14 +2593,14 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2592
2593
  y: a.y + t.value.chart.comments.offsetY + 6
2593
2594
  }, [
2594
2595
  y("div", Sn, [
2595
- F(l.$slots, "plot-comment", {
2596
+ O(l.$slots, "plot-comment", {
2596
2597
  plot: { ...a, color: e.color, seriesIndex: s, datapointIndex: n }
2597
2598
  }, void 0, !0)
2598
2599
  ])
2599
2600
  ], 8, wn)) : h("", !0)
2600
2601
  ]))), 128))
2601
2602
  ], 6))), 128)),
2602
- (i(!0), r(d, null, k(oe.value, (e, s) => (i(), r("g", {
2603
+ (i(!0), r(d, null, k(ue.value, (e, s) => (i(), r("g", {
2603
2604
  key: `serie_line_${e.id}`,
2604
2605
  class: Je(`serie_line_${s}`),
2605
2606
  style: w(`opacity:${C.value ? C.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
@@ -2625,12 +2626,12 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2625
2626
  }, null, 12, Ln)) : h("", !0)
2626
2627
  ], 6))), 128)),
2627
2628
  l.$slots.pattern ? (i(), r("defs", Mn, [
2628
- (i(!0), r(d, null, k(Ve.value, (e, s) => F(l.$slots, "pattern", Qe({
2629
+ (i(!0), r(d, null, k(Ve.value, (e, s) => O(l.$slots, "pattern", Qe({
2629
2630
  key: `serie_pattern_slot_${e.id}`
2630
2631
  }, { ref_for: !0 }, { ...e, seriesIndex: e.slotAbsoluteIndex, patternId: `pattern_${z.value}_${s}` }), void 0, !0)), 128))
2631
2632
  ])) : h("", !0),
2632
- Ba.value.length && !f.value.isStacked ? (i(), r("g", An, [
2633
- (i(!0), r(d, null, k(Ba.value, (e) => (i(), r("path", {
2633
+ Ra.value.length && !f.value.isStacked ? (i(), r("g", An, [
2634
+ (i(!0), r(d, null, k(Ra.value, (e) => (i(), r("path", {
2634
2635
  key: e.key,
2635
2636
  d: e.d,
2636
2637
  fill: e.color,
@@ -2640,7 +2641,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2640
2641
  style: w({ transition: v(ne) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
2641
2642
  }, null, 12, Cn))), 128))
2642
2643
  ])) : h("", !0),
2643
- (i(!0), r(d, null, k(oe.value, (e, s) => (i(), r("g", {
2644
+ (i(!0), r(d, null, k(ue.value, (e, s) => (i(), r("g", {
2644
2645
  key: `serie_line_above_${e.id}`,
2645
2646
  class: Je(`serie_line_${s}`),
2646
2647
  style: w(`opacity:${C.value ? C.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
@@ -2717,12 +2718,12 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2717
2718
  (i(!0), r(d, null, k(e.plots, (a, n) => (i(), r(d, {
2718
2719
  key: `circle_line_${s}_${n}`
2719
2720
  }, [
2720
- !Pa.value.linePlot && a && xe(a.value) || Pa.value.linePlot && a && xe(a.value) && (_.value !== null && _.value === n || P.value !== null && P.value === n) || Va(e.plots, n) ? (i(), _e(rl, {
2721
+ !Oa.value.linePlot && a && xe(a.value) || Oa.value.linePlot && a && xe(a.value) && (_.value !== null && _.value === n || P.value !== null && P.value === n) || Ba(e.plots, n) ? (i(), _e(rl, {
2721
2722
  key: 0,
2722
2723
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(e.shape) ? e.shape : "circle",
2723
2724
  color: t.value.line.useGradient ? `url(#lineGradient_${s}_${z.value})` : t.value.line.dot.useSerieColor ? e.color : t.value.line.dot.fill,
2724
- plot: { x: v(O)(a.x), y: v(O)(a.y) },
2725
- radius: _.value !== null && _.value === n || P.value !== null && P.value === n ? (Le.value.line || 6) * 1.5 : (Va(e.plots, n), Le.value.line || 6),
2725
+ plot: { x: v(N)(a.x), y: v(N)(a.y) },
2726
+ radius: _.value !== null && _.value === n || P.value !== null && P.value === n ? (Le.value.line || 6) * 1.5 : (Ba(e.plots, n), Le.value.line || 6),
2726
2727
  stroke: t.value.line.dot.useSerieColor ? t.value.chart.backgroundColor : e.color,
2727
2728
  strokeWidth: t.value.line.dot.strokeWidth,
2728
2729
  transition: v(ne) || !t.value.line.showTransition || _.value !== null && _.value === n || P.value !== null && P.value === n ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out`
@@ -2736,7 +2737,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2736
2737
  y: a.y + t.value.chart.comments.offsetY + 6
2737
2738
  }, [
2738
2739
  y("div", Hn, [
2739
- F(l.$slots, "plot-comment", {
2740
+ O(l.$slots, "plot-comment", {
2740
2741
  plot: { ...a, color: e.color, seriesIndex: s, datapointIndex: n }
2741
2742
  }, void 0, !0)
2742
2743
  ])
@@ -2753,12 +2754,12 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2753
2754
  a && (!Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || _.value !== null && _.value === n || P.value !== null && P.value === n) && t.value.bar.labels.show ? (i(), r("text", {
2754
2755
  key: 0,
2755
2756
  x: f.value.useIndividualScale && f.value.isStacked ? a.x + J.value.line / 2 : jt(a) + Be() / 2 - el.value / 2,
2756
- y: v(O)(a.y) + (a.value >= 0 ? t.value.bar.labels.offsetY : -t.value.bar.labels.offsetY * 3),
2757
+ y: v(N)(a.y) + (a.value >= 0 ? t.value.bar.labels.offsetY : -t.value.bar.labels.offsetY * 3),
2757
2758
  "text-anchor": "middle",
2758
2759
  "font-size": x.value.plotLabels,
2759
2760
  fill: t.value.bar.labels.color,
2760
2761
  style: w(`opacity:${C.value ? C.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2761
- }, ue(xe(a.value) ? v(ve)(
2762
+ }, se(xe(a.value) ? v(he)(
2762
2763
  t.value.bar.labels.formatter,
2763
2764
  a.value,
2764
2765
  v(Pe)({
@@ -2781,7 +2782,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2781
2782
  fill: t.value.bar.serieName.useSerieColor ? e.color : t.value.bar.serieName.color,
2782
2783
  "font-weight": t.value.bar.serieName.bold ? "bold" : "normal",
2783
2784
  style: w(`opacity:${C.value ? C.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2784
- }, ue(t.value.bar.serieName.useAbbreviation ? v(Qu)({
2785
+ }, se(t.value.bar.serieName.useAbbreviation ? v(Qu)({
2785
2786
  source: e.name,
2786
2787
  length: t.value.bar.serieName.abbreviationSize
2787
2788
  }) : e.name), 13, En)) : h("", !0)
@@ -2789,7 +2790,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2789
2790
  ], 64))), 128))
2790
2791
  ])) : h("", !0),
2791
2792
  t.value.plot.labels.show && f.value.dataLabels.show ? (i(), r("g", Yn, [
2792
- (i(!0), r(d, null, k(fe.value, (e, s) => (i(), r(d, {
2793
+ (i(!0), r(d, null, k(ge.value, (e, s) => (i(), r(d, {
2793
2794
  key: `xLabel_plot_${e.id}`
2794
2795
  }, [
2795
2796
  (i(!0), r(d, null, k(e.plots, (a, n) => (i(), r(d, {
@@ -2803,7 +2804,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2803
2804
  "font-size": x.value.plotLabels,
2804
2805
  fill: t.value.plot.labels.color,
2805
2806
  style: w(`opacity:${C.value ? C.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2806
- }, ue(xe(a.value) ? v(ve)(
2807
+ }, se(xe(a.value) ? v(he)(
2807
2808
  t.value.plot.labels.formatter,
2808
2809
  a.value,
2809
2810
  v(Pe)({
@@ -2820,7 +2821,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2820
2821
  ], 64))), 128))
2821
2822
  ], 64))), 128))
2822
2823
  ])) : (i(), r("g", Gn, [
2823
- (i(!0), r(d, null, k(fe.value, (e, s) => (i(), r(d, {
2824
+ (i(!0), r(d, null, k(ge.value, (e, s) => (i(), r(d, {
2824
2825
  key: `xLabel_plot_${e.id}`
2825
2826
  }, [
2826
2827
  (i(!0), r(d, null, k(e.plots, (a, n) => (i(), r(d, {
@@ -2850,7 +2851,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2850
2851
  }, [
2851
2852
  y("div", {
2852
2853
  style: w(`padding: 3px; background:${v(Ce)(e.color, 80)};color:${v(He)(e.color)};width:fit-content;font-size:${x.value.plotLabels}px;border-radius: 2px;`),
2853
- innerHTML: v(ve)(
2854
+ innerHTML: v(he)(
2854
2855
  t.value.plot.tag.formatter,
2855
2856
  a.value,
2856
2857
  e.name,
@@ -2872,7 +2873,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2872
2873
  }, [
2873
2874
  y("div", {
2874
2875
  style: w(`padding: 3px; background:${v(Ce)(e.color, 80)};color:${v(He)(e.color)};width:fit-content;font-size:${x.value.plotLabels}px;border-radius: 2px;`),
2875
- innerHTML: v(ve)(
2876
+ innerHTML: v(he)(
2876
2877
  t.value.plot.tag.formatter,
2877
2878
  a.value,
2878
2879
  e.name,
@@ -2889,7 +2890,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2889
2890
  ], 64))), 128))
2890
2891
  ])),
2891
2892
  t.value.line.labels.show && f.value.dataLabels.show ? (i(), r("g", Qn, [
2892
- (i(!0), r(d, null, k(oe.value, (e, s) => (i(), r(d, {
2893
+ (i(!0), r(d, null, k(ue.value, (e, s) => (i(), r(d, {
2893
2894
  key: `xLabel_line_${e.id}`
2894
2895
  }, [
2895
2896
  (i(!0), r(d, null, k(e.plots, (a, n) => (i(), r(d, {
@@ -2903,7 +2904,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2903
2904
  "font-size": x.value.plotLabels,
2904
2905
  fill: t.value.line.labels.color,
2905
2906
  style: w(`opacity:${C.value ? C.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2906
- }, ue(xe(a.value) ? v(ve)(
2907
+ }, se(xe(a.value) ? v(he)(
2907
2908
  t.value.line.labels.formatter,
2908
2909
  a.value,
2909
2910
  v(Pe)({
@@ -2920,7 +2921,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2920
2921
  ], 64))), 128))
2921
2922
  ], 64))), 128))
2922
2923
  ])) : (i(), r("g", ei, [
2923
- (i(!0), r(d, null, k(oe.value, (e, s) => (i(), r(d, {
2924
+ (i(!0), r(d, null, k(ue.value, (e, s) => (i(), r(d, {
2924
2925
  key: `xLabel_line_${e.id}`
2925
2926
  }, [
2926
2927
  (i(!0), r(d, null, k(e.plots, (a, n) => (i(), r(d, {
@@ -2950,7 +2951,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2950
2951
  }, [
2951
2952
  y("div", {
2952
2953
  style: w(`padding: 3px; background:${v(Ce)(e.color, 80)};color:${v(He)(e.color)};width:fit-content;font-size:${x.value.plotLabels}px;border-radius: 2px;`),
2953
- innerHTML: v(ve)(
2954
+ innerHTML: v(he)(
2954
2955
  t.value.line.tag.formatter,
2955
2956
  a.value,
2956
2957
  e.name,
@@ -2972,7 +2973,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2972
2973
  }, [
2973
2974
  y("div", {
2974
2975
  style: w(`padding: 3px; background:${v(Ce)(e.color, 80)};color:${v(He)(e.color)};width:fit-content;font-size:${x.value.plotLabels}px;border-radius: 2px;`),
2975
- innerHTML: v(ve)(
2976
+ innerHTML: v(he)(
2976
2977
  t.value.line.tag.formatter,
2977
2978
  a.value,
2978
2979
  e.name,
@@ -2988,7 +2989,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
2988
2989
  ], 64))), 128))
2989
2990
  ], 64))), 128))
2990
2991
  ])),
2991
- (i(!0), r(d, null, k(oe.value, (e, s) => (i(), r(d, {
2992
+ (i(!0), r(d, null, k(ue.value, (e, s) => (i(), r(d, {
2992
2993
  key: `xLabel_line_${e.id}`
2993
2994
  }, [
2994
2995
  (i(!0), r(d, null, k(e.plots, (a, n) => (i(), r(d, {
@@ -3030,7 +3031,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3030
3031
  }, null, 12, ni)) : h("", !0)
3031
3032
  ], 64))), 128))
3032
3033
  ], 64))), 128)),
3033
- (i(!0), r(d, null, k(fe.value, (e, s) => (i(), r(d, {
3034
+ (i(!0), r(d, null, k(ge.value, (e, s) => (i(), r(d, {
3034
3035
  key: `xLabel_plot_${e.id}`
3035
3036
  }, [
3036
3037
  (i(!0), r(d, null, k(e.plots, (a, n) => (i(), r(d, {
@@ -3072,7 +3073,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3072
3073
  }, null, 12, ri)) : h("", !0)
3073
3074
  ], 64))), 128))
3074
3075
  ], 64))), 128)),
3075
- (i(!0), r(d, null, k([...fe.value, ...oe.value, ...ke.value], (e, s) => (i(), r(d, {
3076
+ (i(!0), r(d, null, k([...ge.value, ...ue.value, ...ke.value], (e, s) => (i(), r(d, {
3076
3077
  key: `progression-${s}`
3077
3078
  }, [
3078
3079
  Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(v(Se)(e.plots).trend) ? (i(), r("g", ci, [
@@ -3135,7 +3136,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3135
3136
  "stroke-linecap": "round",
3136
3137
  "stroke-linejoin": "round",
3137
3138
  "paint-order": "stroke fill"
3138
- }, ue(v(Pe)({
3139
+ }, se(v(Pe)({
3139
3140
  v: v(Se)(e.plots).trend * 100,
3140
3141
  s: "%",
3141
3142
  r: 2
@@ -3183,24 +3184,24 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3183
3184
  transform: `translate(${t.value.chart.grid.labels.axis.fontSize}, ${c.value?.top + c.value.height / 2}) rotate(-90)`,
3184
3185
  "text-anchor": "middle",
3185
3186
  style: { transition: "none" }
3186
- }, ue(t.value.chart.grid.labels.axis.yLabel), 9, xi)) : h("", !0),
3187
+ }, se(t.value.chart.grid.labels.axis.yLabel), 9, xi)) : h("", !0),
3187
3188
  t.value.chart.grid.labels.axis.xLabel ? (i(), r("text", {
3188
3189
  key: 1,
3189
3190
  ref_key: "xAxisLabel",
3190
3191
  ref: vl,
3191
3192
  "text-anchor": "middle",
3192
3193
  x: ee.value / 2,
3193
- y: de.value - 3,
3194
+ y: fe.value - 3,
3194
3195
  "font-size": x.value.yAxis,
3195
3196
  fill: t.value.chart.grid.labels.color
3196
- }, ue(t.value.chart.grid.labels.axis.xLabel), 9, ki)) : h("", !0)
3197
+ }, se(t.value.chart.grid.labels.axis.xLabel), 9, ki)) : h("", !0)
3197
3198
  ]),
3198
3199
  t.value.chart.grid.labels.xAxisLabels.show ? (i(), r("g", {
3199
3200
  key: 14,
3200
3201
  ref_key: "timeLabelsEls",
3201
3202
  ref: Ft
3202
3203
  }, [
3203
- l.$slots["time-label"] ? (i(!0), r(d, { key: 0 }, k(Kt.value, (e, s) => F(l.$slots, "time-label", Qe({
3204
+ l.$slots["time-label"] ? (i(!0), r(d, { key: 0 }, k(Kt.value, (e, s) => O(l.$slots, "time-label", Qe({
3204
3205
  key: `time_label_${e.id}`,
3205
3206
  ref_for: !0
3206
3207
  }, {
@@ -3226,7 +3227,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3226
3227
  fill: t.value.chart.grid.labels.xAxisLabels.color,
3227
3228
  transform: `translate(${c.value?.left + c.value.width / $.value * s + c.value.width / $.value / 2}, ${c.value?.bottom + x.value.xAxis * 1.5}), rotate(${t.value.chart.grid.labels.xAxisLabels.rotation})`,
3228
3229
  style: w({
3229
- cursor: da() && Xe.value ? "pointer" : "default"
3230
+ cursor: ha() && Xe.value ? "pointer" : "default"
3230
3231
  }),
3231
3232
  innerHTML: v(ju)({
3232
3233
  content: String(e.text),
@@ -3235,7 +3236,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3235
3236
  x: 0,
3236
3237
  y: 0
3237
3238
  }),
3238
- onClick: () => ba(e, s)
3239
+ onClick: () => pa(e, s)
3239
3240
  }, null, 12, wi)) : (i(), r("text", {
3240
3241
  key: 0,
3241
3242
  class: "vue-data-ui-time-label",
@@ -3244,15 +3245,15 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3244
3245
  fill: t.value.chart.grid.labels.xAxisLabels.color,
3245
3246
  transform: `translate(${c.value?.left + c.value.width / $.value * s + c.value.width / $.value / 2}, ${c.value?.bottom + x.value.xAxis * 1.5}), rotate(${t.value.chart.grid.labels.xAxisLabels.rotation})`,
3246
3247
  style: w({
3247
- cursor: da() && Xe.value ? "pointer" : "default"
3248
+ cursor: ha() && Xe.value ? "pointer" : "default"
3248
3249
  }),
3249
- onClick: () => ba(e, s)
3250
- }, ue(e.text || ""), 13, _i))
3250
+ onClick: () => pa(e, s)
3251
+ }, se(e.text || ""), 13, _i))
3251
3252
  ], 64)) : h("", !0)
3252
3253
  ]))), 128))
3253
3254
  ], 512)) : h("", !0),
3254
- Fa.value.length && !f.value.isStacked ? (i(), r("g", Si, [
3255
- (i(!0), r(d, null, k(Fa.value, (e) => (i(), r("g", {
3255
+ Va.value.length && !f.value.isStacked ? (i(), r("g", Si, [
3256
+ (i(!0), r(d, null, k(Va.value, (e) => (i(), r("g", {
3256
3257
  key: e.uid
3257
3258
  }, [
3258
3259
  e.yTop && e.show && isFinite(e.yTop) ? (i(), r("line", {
@@ -3284,7 +3285,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3284
3285
  y: Math.min(e.yTop, e.yBottom),
3285
3286
  x: e.x1,
3286
3287
  width: c.value.width,
3287
- height: v(O)(e.areaHeight, 0),
3288
+ height: v(N)(e.areaHeight, 0),
3288
3289
  fill: v(Ce)(e.config.area.fill, e.config.area.opacity),
3289
3290
  style: { animation: "none !important" }
3290
3291
  }, null, 8, Mi)) : h("", !0),
@@ -3301,7 +3302,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3301
3302
  "font-size": e.config.label.fontSize,
3302
3303
  fill: e.config.label.color,
3303
3304
  "text-anchor": e.config.label.textAnchor
3304
- }, ue(e.config.label.text), 9, Ai)) : h("", !0)
3305
+ }, se(e.config.label.text), 9, Ai)) : h("", !0)
3305
3306
  ]))), 128))
3306
3307
  ])) : h("", !0),
3307
3308
  t.value.chart.timeTag.show && (![null, void 0].includes(_.value) || ![null, void 0].includes(P.value)) ? (i(), r("g", Ci, [
@@ -3328,29 +3329,29 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3328
3329
  }, null, 8, Ii)
3329
3330
  ])) : h("", !0)
3330
3331
  ])) : h("", !0),
3331
- aa.value ? (i(), r("rect", Qe({ key: 2 }, Ro.value, {
3332
+ oa.value ? (i(), r("rect", Qe({ key: 2 }, Ro.value, {
3332
3333
  "data-start": m.value.start,
3333
3334
  "data-end": m.value.end
3334
3335
  }), null, 16, Pi)) : h("", !0),
3335
- F(l.$slots, "svg", {
3336
+ O(l.$slots, "svg", {
3336
3337
  svg: {
3337
3338
  ...Oo.value,
3338
3339
  isPrintingImg: v(Et) | v(_l) | Ht.value,
3339
3340
  isPrintingSvg: Dt.value,
3340
- data: [...oe.value, ...ke.value, ...fe.value],
3341
+ data: [...ue.value, ...ke.value, ...ge.value],
3341
3342
  drawingArea: c.value
3342
3343
  }
3343
3344
  }, void 0, !0)
3344
3345
  ], 512)
3345
3346
  ], 46, $s)),
3346
3347
  l.$slots.hint ? (i(), r("div", Oi, [
3347
- F(l.$slots, "hint", ge(be({ hint: t.value.a11y.translations.keyboardNavigation, isVisible: Tl.value })), void 0, !0)
3348
+ O(l.$slots, "hint", ve(de({ hint: t.value.a11y.translations.keyboardNavigation, isVisible: zl.value })), void 0, !0)
3348
3349
  ])) : h("", !0)
3349
3350
  ]),
3350
3351
  l.$slots.watermark ? (i(), r("div", Ni, [
3351
- F(l.$slots, "watermark", ge(be({ isPrinting: v(Et) || v(_l) || Ht.value || Dt.value })), void 0, !0)
3352
+ O(l.$slots, "watermark", ve(de({ isPrinting: v(Et) || v(_l) || Ht.value || Dt.value })), void 0, !0)
3352
3353
  ])) : h("", !0),
3353
- (i(!0), r(d, null, k(oe.value, (e, s) => (i(), r(d, {
3354
+ (i(!0), r(d, null, k(ue.value, (e, s) => (i(), r(d, {
3354
3355
  key: `tag_line_${e.id}`
3355
3356
  }, [
3356
3357
  (i(!0), r(d, null, k(e.plots, (a, n) => (i(), r(d, {
@@ -3396,7 +3397,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3396
3397
  ])),
3397
3398
  y("div", {
3398
3399
  class: "vue-ui-xy-tag-content",
3399
- innerHTML: v(ve)(
3400
+ innerHTML: v(he)(
3400
3401
  t.value.line.tag.formatter,
3401
3402
  a.value,
3402
3403
  e.name,
@@ -3448,7 +3449,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3448
3449
  ])),
3449
3450
  y("div", {
3450
3451
  class: "vue-ui-xy-tag-content",
3451
- innerHTML: v(ve)(
3452
+ innerHTML: v(he)(
3452
3453
  t.value.line.tag.formatter,
3453
3454
  a.value,
3454
3455
  e.name,
@@ -3462,7 +3463,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3462
3463
  ], 4)) : h("", !0)
3463
3464
  ], 64))), 128))
3464
3465
  ], 64))), 128)),
3465
- (i(!0), r(d, null, k(fe.value, (e, s) => (i(), r(d, {
3466
+ (i(!0), r(d, null, k(ge.value, (e, s) => (i(), r(d, {
3466
3467
  key: `tag_plot_${e.id}`
3467
3468
  }, [
3468
3469
  (i(!0), r(d, null, k(e.plots, (a, n) => (i(), r(d, {
@@ -3508,7 +3509,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3508
3509
  ])),
3509
3510
  y("div", {
3510
3511
  class: "vue-ui-xy-tag-content",
3511
- innerHTML: v(ve)(
3512
+ innerHTML: v(he)(
3512
3513
  t.value.plot.tag.formatter,
3513
3514
  a.value,
3514
3515
  e.name,
@@ -3560,7 +3561,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3560
3561
  ])),
3561
3562
  y("div", {
3562
3563
  class: "vue-ui-xy-tag-content",
3563
- innerHTML: v(ve)(
3564
+ innerHTML: v(he)(
3564
3565
  t.value.plot.tag.formatter,
3565
3566
  a.value,
3566
3567
  e.name,
@@ -3574,7 +3575,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3574
3575
  ], 4)) : h("", !0)
3575
3576
  ], 64))), 128))
3576
3577
  ], 64))), 128)),
3577
- t.value.chart.zoom.show && ze.value > 6 && xl.value && xa.value ? (i(), _e(gs, {
3578
+ t.value.chart.zoom.show && ze.value > 6 && xl.value && ka.value ? (i(), _e(gs, {
3578
3579
  key: 6,
3579
3580
  ref_key: "chartSlicer",
3580
3581
  ref: Te,
@@ -3593,9 +3594,9 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3593
3594
  useResetSlot: t.value.chart.zoom.useResetSlot,
3594
3595
  immediate: !t.value.chart.zoom.preview.enable,
3595
3596
  inputColor: t.value.chart.zoom.color,
3596
- isPreview: aa.value,
3597
- labelLeft: se.value[0] ? se.value[0].text : "",
3598
- labelRight: se.value.at(-1) ? se.value.at(-1).text : "",
3597
+ isPreview: oa.value,
3598
+ labelLeft: oe.value[0] ? oe.value[0].text : "",
3599
+ labelRight: oe.value.at(-1) ? oe.value.at(-1).text : "",
3599
3600
  max: ze.value,
3600
3601
  min: 0,
3601
3602
  minimap: mu.value,
@@ -3632,22 +3633,22 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3632
3633
  handleFill: t.value.chart.zoom.minimap.handleFill,
3633
3634
  handleWidth: t.value.chart.zoom.minimap.handleWidth,
3634
3635
  isCursorPointer: Xe.value,
3635
- onFutureEnd: o[1] || (o[1] = (e) => oa("end", e)),
3636
- onFutureStart: o[2] || (o[2] = (e) => oa("start", e)),
3636
+ onFutureEnd: o[1] || (o[1] = (e) => ua("end", e)),
3637
+ onFutureStart: o[2] || (o[2] = (e) => ua("start", e)),
3637
3638
  onReset: eu,
3638
3639
  onTrapMouse: Ko,
3639
3640
  "onUpdate:end": jo,
3640
3641
  "onUpdate:start": Qo
3641
3642
  }, {
3642
- "reset-action": X(({ reset: e }) => [
3643
- F(l.$slots, "reset-action", ge(be({ reset: e })), void 0, !0)
3643
+ "reset-action": Y(({ reset: e }) => [
3644
+ O(l.$slots, "reset-action", ve(de({ reset: e })), void 0, !0)
3644
3645
  ]),
3645
3646
  _: 3
3646
3647
  }, 8, ["uuid", "allMinimaps", "background", "borderColor", "customFormat", "cutNullValues", "enableRangeHandles", "enableSelectionDrag", "end", "focusOnDrag", "focusRangeRatio", "fontSize", "useResetSlot", "immediate", "inputColor", "isPreview", "labelLeft", "labelRight", "max", "minimap", "minimapCompact", "minimapFrameColor", "minimapIndicatorColor", "minimapLineColor", "minimapMerged", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapSelectionRadius", "preciseLabels", "refreshEndPoint", "refreshStartPoint", "selectColor", "selectedSeries", "smoothMinimap", "start", "textColor", "timeLabels", "usePreciseLabels", "valueEnd", "valueStart", "verticalHandles", "minScale", "maxScale", "maxWidth", "additionalMinimapHeight", "handleType", "handleIconColor", "handleBorderWidth", "handleBorderColor", "handleFill", "handleWidth", "isCursorPointer"])) : h("", !0),
3647
3648
  y("div", {
3648
3649
  id: `legend-bottom-${z.value}`
3649
3650
  }, null, 8, Ui),
3650
- Gl.value ? (i(), _e(Ru, {
3651
+ ql.value ? (i(), _e(Ru, {
3651
3652
  key: 7,
3652
3653
  to: t.value.chart.legend.position === "top" ? `#legend-top-${z.value}` : `#legend-bottom-${z.value}`
3653
3654
  }, [
@@ -3733,14 +3734,14 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3733
3734
  ])),
3734
3735
  y("span", {
3735
3736
  style: w(`color:${t.value.chart.legend.color}`)
3736
- }, ue(e.name), 5)
3737
+ }, se(e.name), 5)
3737
3738
  ], 46, Zi))), 128))
3738
3739
  ], 4)) : (i(), r("div", {
3739
3740
  key: 1,
3740
3741
  ref_key: "chartLegend",
3741
3742
  ref: et
3742
3743
  }, [
3743
- F(l.$slots, "legend", { legend: ie.value }, void 0, !0)
3744
+ O(l.$slots, "legend", { legend: ie.value }, void 0, !0)
3744
3745
  ], 512))
3745
3746
  ], 8, ["to"])) : h("", !0),
3746
3747
  l.$slots.source ? (i(), r("div", {
@@ -3749,11 +3750,11 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3749
3750
  ref: gt,
3750
3751
  dir: "auto"
3751
3752
  }, [
3752
- F(l.$slots, "source", {}, void 0, !0)
3753
+ O(l.$slots, "source", {}, void 0, !0)
3753
3754
  ], 512)) : h("", !0),
3754
3755
  dt(v(_o), {
3755
3756
  teleportTo: t.value.chart.tooltip.teleportTo,
3756
- show: f.value.showTooltip && Dl.value,
3757
+ show: f.value.showTooltip && Wl.value,
3757
3758
  backgroundColor: t.value.chart.tooltip.backgroundColor,
3758
3759
  color: t.value.chart.tooltip.color,
3759
3760
  fontSize: t.value.chart.tooltip.fontSize,
@@ -3772,13 +3773,16 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3772
3773
  smoothForce: t.value.chart.tooltip.smoothForce,
3773
3774
  smoothSnapThreshold: t.value.chart.tooltip.smoothSnapThreshold,
3774
3775
  isA11yMode: at.value != null,
3775
- a11yPosition: ql.value
3776
+ a11yPosition: Ul.value
3776
3777
  }, {
3777
- "tooltip-before": X(() => [
3778
- F(l.$slots, "tooltip-before", ge(be({ ...Ra.value })), void 0, !0)
3778
+ "tooltip-before": Y(() => [
3779
+ O(l.$slots, "tooltip-before", ve(de({ ...Ll.value })), void 0, !0)
3780
+ ]),
3781
+ tooltip: Y(() => [
3782
+ O(l.$slots, "tooltip", ve(de({ ...Ll.value })), void 0, !0)
3779
3783
  ]),
3780
- "tooltip-after": X(() => [
3781
- F(l.$slots, "tooltip-after", ge(be({ ...Ra.value })), void 0, !0)
3784
+ "tooltip-after": Y(() => [
3785
+ O(l.$slots, "tooltip-after", ve(de({ ...Ll.value })), void 0, !0)
3782
3786
  ]),
3783
3787
  _: 3
3784
3788
  }, 8, ["teleportTo", "show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"]),
@@ -3787,7 +3791,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3787
3791
  ref: lt,
3788
3792
  onClose: ja
3789
3793
  }), lo({
3790
- content: X(() => [
3794
+ content: Y(() => [
3791
3795
  y("div", {
3792
3796
  style: w(`${v(Et) || t.value.table.useDialog ? "" : "max-height:400px"};${t.value.table.useDialog ? "height: fit-content; " : ""};overflow:auto;width:100%;${t.value.table.useDialog ? "" : "margin-top:48px"}`)
3793
3797
  }, [
@@ -3804,7 +3808,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3804
3808
  cursor: Xe.value ? "pointer" : "default"
3805
3809
  })
3806
3810
  }, [
3807
- dt(v(Bl), {
3811
+ dt(v(Rl), {
3808
3812
  name: "chartLine",
3809
3813
  size: 20,
3810
3814
  stroke: t.value.chart.color
@@ -3816,7 +3820,7 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3816
3820
  dataset: vu.value,
3817
3821
  config: du.value
3818
3822
  }, null, 8, ["dataset", "config"])) : (i(), _e(v(ko), {
3819
- key: `table_${El.value}`,
3823
+ key: `table_${Yl.value}`,
3820
3824
  colNames: ct.value.colNames,
3821
3825
  head: ct.value.head,
3822
3826
  body: ct.value.body,
@@ -3825,11 +3829,11 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3825
3829
  withCloseButton: !t.value.table.useDialog,
3826
3830
  onClose: ja
3827
3831
  }, {
3828
- th: X(({ th: e }) => [
3832
+ th: Y(({ th: e }) => [
3829
3833
  y("div", { innerHTML: e }, null, 8, ar)
3830
3834
  ]),
3831
- td: X(({ td: e }) => [
3832
- ao(ue(isNaN(Number(e)) ? e : v(Pe)({
3835
+ td: Y(({ td: e }) => [
3836
+ ao(se(isNaN(Number(e)) ? e : v(Pe)({
3833
3837
  p: t.value.chart.labels.prefix,
3834
3838
  v: e,
3835
3839
  s: t.value.chart.labels.suffix,
@@ -3844,20 +3848,20 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3844
3848
  }, [
3845
3849
  t.value.table.useDialog ? {
3846
3850
  name: "title",
3847
- fn: X(() => [
3848
- ao(ue(Ct.value.title), 1)
3851
+ fn: Y(() => [
3852
+ ao(se(Ct.value.title), 1)
3849
3853
  ]),
3850
3854
  key: "0"
3851
3855
  } : void 0,
3852
3856
  t.value.table.useDialog ? {
3853
3857
  name: "actions",
3854
- fn: X(() => [
3858
+ fn: Y(() => [
3855
3859
  y("button", {
3856
3860
  tabindex: "0",
3857
3861
  class: "vue-ui-user-options-button",
3858
- onClick: o[3] || (o[3] = (e) => Ll(t.value.chart.userOptions.callbacks.csv))
3862
+ onClick: o[3] || (o[3] = (e) => Ml(t.value.chart.userOptions.callbacks.csv))
3859
3863
  }, [
3860
- dt(v(Bl), {
3864
+ dt(v(Rl), {
3861
3865
  name: "fileCsv",
3862
3866
  stroke: Ct.value.props.color
3863
3867
  }, null, 8, ["stroke"])
@@ -3866,12 +3870,12 @@ const ks = ["id"], _s = ["id"], ws = ["id"], Ss = { style: { position: "relative
3866
3870
  key: "1"
3867
3871
  } : void 0
3868
3872
  ]), 1040)) : h("", !0),
3869
- F(l.$slots, "skeleton", {}, () => [
3873
+ O(l.$slots, "skeleton", {}, () => [
3870
3874
  v(ne) ? (i(), _e(is, { key: 0 })) : h("", !0)
3871
3875
  ], !0)
3872
3876
  ], 46, ks));
3873
3877
  }
3874
- }, $r = /* @__PURE__ */ xs(or, [["__scopeId", "data-v-bb9bd5fa"]]);
3878
+ }, $r = /* @__PURE__ */ xs(or, [["__scopeId", "data-v-6d9ff0e2"]]);
3875
3879
  export {
3876
3880
  $r as default
3877
3881
  };