vue-data-ui 3.4.1 → 3.4.3

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 (134) hide show
  1. package/dist/{PackageVersion-VpPtLYhK.js → PackageVersion-Df-8U2yE.js} +1 -1
  2. package/dist/{Title-CFmv95In.js → Title-D7_5ICX_.js} +1 -1
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-accordion.js +1 -1
  5. package/dist/components/vue-ui-age-pyramid.js +1 -1
  6. package/dist/components/vue-ui-annotator.js +1 -1
  7. package/dist/components/vue-ui-bullet.js +1 -1
  8. package/dist/components/vue-ui-candlestick.js +1 -1
  9. package/dist/components/vue-ui-carousel-table.js +1 -1
  10. package/dist/components/vue-ui-chestnut.js +1 -1
  11. package/dist/components/vue-ui-chord.js +1 -1
  12. package/dist/components/vue-ui-circle-pack.js +1 -1
  13. package/dist/components/vue-ui-cursor.js +1 -1
  14. package/dist/components/vue-ui-dashboard.js +1 -1
  15. package/dist/components/vue-ui-digits.js +1 -1
  16. package/dist/components/vue-ui-donut-evolution.js +1 -1
  17. package/dist/components/vue-ui-donut.js +1 -1
  18. package/dist/components/vue-ui-dumbbell.js +1 -1
  19. package/dist/components/vue-ui-flow.js +1 -1
  20. package/dist/components/vue-ui-funnel.js +1 -1
  21. package/dist/components/vue-ui-galaxy.js +1 -1
  22. package/dist/components/vue-ui-gauge.js +1 -1
  23. package/dist/components/vue-ui-gizmo.js +1 -1
  24. package/dist/components/vue-ui-heatmap.js +1 -1
  25. package/dist/components/vue-ui-history-plot.js +1 -1
  26. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  27. package/dist/components/vue-ui-kpi.js +1 -1
  28. package/dist/components/vue-ui-mini-loader.js +1 -1
  29. package/dist/components/vue-ui-molecule.js +1 -1
  30. package/dist/components/vue-ui-mood-radar.js +1 -1
  31. package/dist/components/vue-ui-nested-donuts.js +1 -1
  32. package/dist/components/vue-ui-onion.js +1 -1
  33. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  34. package/dist/components/vue-ui-quadrant.js +1 -1
  35. package/dist/components/vue-ui-quick-chart.js +1 -1
  36. package/dist/components/vue-ui-radar.js +1 -1
  37. package/dist/components/vue-ui-rating.js +1 -1
  38. package/dist/components/vue-ui-relation-circle.js +1 -1
  39. package/dist/components/vue-ui-ridgeline.js +1 -1
  40. package/dist/components/vue-ui-rings.js +1 -1
  41. package/dist/components/vue-ui-scatter.js +1 -1
  42. package/dist/components/vue-ui-skeleton.js +1 -1
  43. package/dist/components/vue-ui-smiley.js +1 -1
  44. package/dist/components/vue-ui-spark-trend.js +1 -1
  45. package/dist/components/vue-ui-sparkbar.js +1 -1
  46. package/dist/components/vue-ui-sparkgauge.js +1 -1
  47. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  48. package/dist/components/vue-ui-sparkline.js +1 -1
  49. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  50. package/dist/components/vue-ui-stackbar.js +1 -1
  51. package/dist/components/vue-ui-strip-plot.js +1 -1
  52. package/dist/components/vue-ui-table-heatmap.js +1 -1
  53. package/dist/components/vue-ui-table-sparkline.js +1 -1
  54. package/dist/components/vue-ui-table.js +1 -1
  55. package/dist/components/vue-ui-thermometer.js +1 -1
  56. package/dist/components/vue-ui-timer.js +1 -1
  57. package/dist/components/vue-ui-tiremarks.js +1 -1
  58. package/dist/components/vue-ui-treemap.js +1 -1
  59. package/dist/components/vue-ui-vertical-bar.js +1 -1
  60. package/dist/components/vue-ui-waffle.js +1 -1
  61. package/dist/components/vue-ui-wheel.js +1 -1
  62. package/dist/components/vue-ui-word-cloud.js +1 -1
  63. package/dist/components/vue-ui-world.js +1 -1
  64. package/dist/components/vue-ui-xy-canvas.js +1 -1
  65. package/dist/components/vue-ui-xy.js +1 -1
  66. package/dist/style.css +1 -1
  67. package/dist/{themes-Dw-dDudK.js → themes-AUNCOb2G.js} +5 -5
  68. package/dist/types/vue-data-ui.d.ts +8 -0
  69. package/dist/{useNestedProp-B7CiTRDS.js → useNestedProp-CtheCta-.js} +4 -2
  70. package/dist/{vue-data-ui-oDJui39L.js → vue-data-ui-OfJx8jSP.js} +63 -63
  71. package/dist/vue-data-ui.js +65 -65
  72. package/dist/{vue-ui-3d-bar-wycTM073.js → vue-ui-3d-bar-Bp-sqsyU.js} +4 -4
  73. package/dist/{vue-ui-accordion-BKkTS12x.js → vue-ui-accordion-DXdd_qAk.js} +1 -1
  74. package/dist/{vue-ui-age-pyramid-C5NUZ_Y7.js → vue-ui-age-pyramid-CUVtajBe.js} +4 -4
  75. package/dist/{vue-ui-annotator-DkSYrnwb.js → vue-ui-annotator-D5GKadj6.js} +2 -2
  76. package/dist/{vue-ui-bullet-CIsX5UJw.js → vue-ui-bullet-rQoLiK2b.js} +4 -4
  77. package/dist/{vue-ui-candlestick-BRFx3_KK.js → vue-ui-candlestick-D7eCxbQ8.js} +479 -456
  78. package/dist/{vue-ui-carousel-table-hJySHJTu.js → vue-ui-carousel-table-Bu8HSJRc.js} +2 -2
  79. package/dist/{vue-ui-chestnut-D4GjvQh0.js → vue-ui-chestnut-BqyduBAg.js} +3 -3
  80. package/dist/{vue-ui-chord-By2NOs0N.js → vue-ui-chord-VTRyVBx4.js} +4 -4
  81. package/dist/{vue-ui-circle-pack-OCmAkTNs.js → vue-ui-circle-pack-DIXUixuK.js} +4 -4
  82. package/dist/{vue-ui-cursor-iuati4v1.js → vue-ui-cursor-TFVxgVEa.js} +1 -1
  83. package/dist/{vue-ui-dashboard-C7fwU9xb.js → vue-ui-dashboard-DeFPygcZ.js} +63 -63
  84. package/dist/{vue-ui-digits-eYxf3UFN.js → vue-ui-digits-B6cIiy1Z.js} +1 -1
  85. package/dist/{vue-ui-donut-dVVBUQJz.js → vue-ui-donut-B3kaTm1I.js} +4 -4
  86. package/dist/{vue-ui-donut-evolution-BoWGaQP0.js → vue-ui-donut-evolution-CGxyHap0.js} +4 -4
  87. package/dist/{vue-ui-dumbbell-YMPZ3CVA.js → vue-ui-dumbbell-BpHU2gPm.js} +4 -4
  88. package/dist/{vue-ui-flow-BE62rVS3.js → vue-ui-flow-B1jwV-to.js} +4 -4
  89. package/dist/{vue-ui-funnel-kNpDFAWo.js → vue-ui-funnel-C07ghZCo.js} +4 -4
  90. package/dist/{vue-ui-galaxy-BBBiXXyk.js → vue-ui-galaxy-C2aCa9u0.js} +4 -4
  91. package/dist/{vue-ui-gauge-PQNTTl3Y.js → vue-ui-gauge-BymG1mO4.js} +4 -4
  92. package/dist/{vue-ui-gizmo-D3gQxQz3.js → vue-ui-gizmo-BjPbDZKf.js} +2 -2
  93. package/dist/{vue-ui-heatmap-CKWQButF.js → vue-ui-heatmap-D2udHyOO.js} +5 -5
  94. package/dist/{vue-ui-history-plot-DYFzdR4Z.js → vue-ui-history-plot-C1v5py9J.js} +4 -4
  95. package/dist/{vue-ui-kpi-N8s0i48S.js → vue-ui-kpi-4fToBGEE.js} +2 -2
  96. package/dist/{vue-ui-mini-loader-Db-9iQcC.js → vue-ui-mini-loader-o6xsgflK.js} +1 -1
  97. package/dist/{vue-ui-molecule-Cklyb74B.js → vue-ui-molecule-QJY9Jg--.js} +3 -3
  98. package/dist/{vue-ui-mood-radar-Cvq4ZuLe.js → vue-ui-mood-radar-CYz7t7cO.js} +4 -4
  99. package/dist/{vue-ui-nested-donuts-Bm78P1ES.js → vue-ui-nested-donuts-Cs_KVggH.js} +4 -4
  100. package/dist/{vue-ui-onion-Bh5jTb31.js → vue-ui-onion-DI__t0Yo.js} +4 -4
  101. package/dist/{vue-ui-parallel-coordinate-plot-BKdN2OsW.js → vue-ui-parallel-coordinate-plot-BUFBIY0H.js} +4 -4
  102. package/dist/{vue-ui-quadrant-BPhJzots.js → vue-ui-quadrant-q27Crjhv.js} +4 -4
  103. package/dist/{vue-ui-quick-chart-DbJR9CN3.js → vue-ui-quick-chart-vA-5-zU_.js} +3 -3
  104. package/dist/{vue-ui-radar-CrenQprr.js → vue-ui-radar-v6sFZlta.js} +66 -66
  105. package/dist/{vue-ui-rating-fR2WRHYO.js → vue-ui-rating-B1TGv80Y.js} +1 -1
  106. package/dist/{vue-ui-relation-circle-BJ5RuZ0j.js → vue-ui-relation-circle-C_7j_HC1.js} +4 -4
  107. package/dist/{vue-ui-ridgeline-CKuom5Bu.js → vue-ui-ridgeline-BaDr8YsQ.js} +4 -4
  108. package/dist/{vue-ui-rings-B84GAEf4.js → vue-ui-rings-BcsyGpD-.js} +4 -4
  109. package/dist/{vue-ui-scatter-CBX-g9w3.js → vue-ui-scatter-DsvtDcRf.js} +121 -112
  110. package/dist/{vue-ui-skeleton-CZ8xxpEU.js → vue-ui-skeleton-DJka_Bjy.js} +2 -2
  111. package/dist/{vue-ui-smiley-BKXuAviQ.js → vue-ui-smiley-D-W7GeoN.js} +1 -1
  112. package/dist/{vue-ui-spark-trend-DOf7-cIf.js → vue-ui-spark-trend-ufRxrEgv.js} +3 -3
  113. package/dist/{vue-ui-sparkbar-D-MPA2zf.js → vue-ui-sparkbar-C0hU8raA.js} +3 -3
  114. package/dist/{vue-ui-sparkgauge-B9xRiVSU.js → vue-ui-sparkgauge-1bi-EEqb.js} +3 -3
  115. package/dist/{vue-ui-sparkhistogram-BWb0lqQP.js → vue-ui-sparkhistogram-H1BSDVyx.js} +3 -3
  116. package/dist/{vue-ui-sparkline-BF-qr8Ti.js → vue-ui-sparkline-DElVjWGk.js} +3 -3
  117. package/dist/{vue-ui-sparkstackbar-DnCUpk50.js → vue-ui-sparkstackbar-DE3D2xTJ.js} +3 -3
  118. package/dist/{vue-ui-stackbar-DvJ8Hahn.js → vue-ui-stackbar-DVTV6JcM.js} +50 -45
  119. package/dist/{vue-ui-strip-plot-SAh1gIs5.js → vue-ui-strip-plot-0RudVLPB.js} +4 -4
  120. package/dist/{vue-ui-table-heatmap-DU6GKPVy.js → vue-ui-table-heatmap-BQgeM3lZ.js} +2 -2
  121. package/dist/{vue-ui-table-BJdDfMYD.js → vue-ui-table-jbkT9pG2.js} +3 -3
  122. package/dist/{vue-ui-table-sparkline-BBFEJ8c6.js → vue-ui-table-sparkline-Elk05A1j.js} +3 -3
  123. package/dist/{vue-ui-thermometer-D8DH6QSN.js → vue-ui-thermometer-6QNHvlxi.js} +4 -4
  124. package/dist/{vue-ui-timer-CaUdAHBE.js → vue-ui-timer-BvHuXOu1.js} +3 -3
  125. package/dist/{vue-ui-tiremarks-_sUH1d3J.js → vue-ui-tiremarks-CCfLSw7X.js} +4 -4
  126. package/dist/{vue-ui-treemap-DXduzuW4.js → vue-ui-treemap-DNimXWh4.js} +4 -4
  127. package/dist/{vue-ui-vertical-bar-JdjmgwQj.js → vue-ui-vertical-bar-C8UcI92_.js} +5 -5
  128. package/dist/{vue-ui-waffle-h8zoi4Rc.js → vue-ui-waffle-CMO0x41z.js} +4 -4
  129. package/dist/{vue-ui-wheel-Ck1Mx37j.js → vue-ui-wheel-CB2KRY13.js} +4 -4
  130. package/dist/{vue-ui-word-cloud-CjWvuukM.js → vue-ui-word-cloud-BDP2WP1p.js} +162 -151
  131. package/dist/{vue-ui-world-Dw71_Mu2.js → vue-ui-world-CobFs5Vm.js} +2 -2
  132. package/dist/{vue-ui-xy-tSMgXqqb.js → vue-ui-xy-DmWHarZg.js} +841 -835
  133. package/dist/{vue-ui-xy-canvas-Dct7tf8w.js → vue-ui-xy-canvas-BwhZD5_d.js} +4 -4
  134. package/package.json +1 -1
@@ -1,20 +1,20 @@
1
- import { defineAsyncComponent as Ye, useSlots as Eo, getCurrentInstance as Yo, ref as x, computed as b, onMounted as Ul, toRefs as Wo, watch as Al, watchEffect as La, onBeforeUnmount as yt, nextTick as Ma, createElementBlock as r, openBlock as n, normalizeStyle as $, normalizeClass as je, createBlock as Me, createCommentVNode as h, createElementVNode as p, createVNode as vl, unref as v, createSlots as Aa, withCtx as ee, renderSlot as X, normalizeProps as el, guardReactiveProps as ll, Fragment as d, renderList as w, mergeProps as tl, toDisplayString as te, Teleport as Xo, resolveDynamicComponent as Go, withDirectives as Uo, vModelCheckbox as qo, createTextVNode as Ca } from "vue";
2
- import { c as kt, f as _t, t as Zo, e as Jo, m as Cl, n as al, h as Ta, p as za, q as ql, r as E, u as wt, v as Ko, w as Qo, x as P, y as Ia, z as Oa, A as Na, B as Va, C as jo, D as Pa, E as Fa, a as oe, F as es, G as Ra, H as ls, j as Ba, k as Ne, d as Ve, i as ol, s as Ae, I as ts, J as We, K as Zl, L as _e, M as as, N as Xe, O as fe, b as os, o as Ha, P as ss, Q as us, R as dl } from "./lib-BcBZIm6u.js";
1
+ import { defineAsyncComponent as Ye, useSlots as Eo, getCurrentInstance as Yo, ref as x, computed as b, onMounted as Ul, toRefs as Wo, watch as Al, watchEffect as Lt, onBeforeUnmount as ya, nextTick as Mt, createElementBlock as r, openBlock as n, normalizeStyle as $, normalizeClass as je, createBlock as Ae, createCommentVNode as h, createElementVNode as p, createVNode as vl, unref as v, createSlots as At, withCtx as ee, renderSlot as X, normalizeProps as el, guardReactiveProps as ll, Fragment as d, renderList as w, mergeProps as al, toDisplayString as ae, Teleport as Xo, resolveDynamicComponent as Go, withDirectives as Uo, vModelCheckbox as qo, createTextVNode as Ct } from "vue";
2
+ import { c as ka, f as _a, t as Zo, e as Jo, m as Cl, n as tl, h as Tt, p as zt, q as ql, r as E, u as wa, v as Ko, w as Qo, x as P, y as It, z as Ot, A as Nt, B as Vt, C as jo, D as Pt, E as Ft, a as se, F as es, G as Rt, H as ls, j as Bt, k as Ne, d as Ve, i as ol, s as Ce, I as as, J as We, K as Zl, L as _e, M as ts, N as Xe, O as fe, b as os, o as Ht, P as ss, Q as us, R as dl } from "./lib-BcBZIm6u.js";
3
3
  import { t as is } from "./useResponsive-DfdjqQps.js";
4
- import { u as ns, a as Jl } from "./useNestedProp-B7CiTRDS.js";
4
+ import { u as ns, a as Jl } from "./useNestedProp-CtheCta-.js";
5
5
  import { u as rs } from "./usePrinter-C1GiglOH.js";
6
6
  import { u as cs, B as vs } from "./BaseScanner-BgWxam9d.js";
7
- import { u as Da, a as ds, l as hs } from "./useTimeLabels-BGFjWgrv.js";
7
+ import { u as Dt, a as ds, l as hs } from "./useTimeLabels-BGFjWgrv.js";
8
8
  import { u as fs } from "./useSvgExport-DrjCWun4.js";
9
9
  import { u as gs } from "./useTimeLabelCollider-CIsgDrl9.js";
10
10
  import ms from "./img-CFY3JivG.js";
11
- import bs from "./Title-CFmv95In.js";
12
- import { t as xs } from "./themes-Dw-dDudK.js";
11
+ import bs from "./Title-D7_5ICX_.js";
12
+ import { t as xs } from "./themes-AUNCOb2G.js";
13
13
  import { _ as Kl } from "./Shape-BhNvlGIN.js";
14
14
  import { S as ps } from "./SlicerPreview-Cobmb_1S.js";
15
- import ys from "./vue-ui-accordion-BKkTS12x.js";
15
+ import ys from "./vue-ui-accordion-DXdd_qAk.js";
16
16
  import { _ as ks } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
- const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y", "width", "height"], Ls = { key: 1 }, Ms = { class: "vue-ui-xy-grid" }, As = ["stroke", "x1", "x2", "y1", "y2"], Cs = ["stroke", "x1", "x2", "y1", "y2"], Ts = { key: 1 }, zs = ["x1", "x2", "y1", "y2", "stroke"], Is = ["x1", "x2", "y1", "y2", "stroke"], Os = ["x1", "x2", "y1", "y2", "stroke"], Ns = { key: 3 }, Vs = ["d", "stroke"], Ps = { key: 4 }, Fs = ["d", "stroke"], Rs = ["id"], Bs = ["stop-color"], Hs = ["stop-color"], Ds = ["stop-color"], Es = ["id"], Ys = ["stop-color"], Ws = ["stop-color"], Xs = ["stop-color"], Gs = ["id"], Us = ["stop-color"], qs = ["stop-color"], Zs = ["id"], Js = ["stop-color"], Ks = ["stop-color"], Qs = ["id"], js = ["stop-color"], eu = ["stop-color"], lu = ["x", "y", "height", "width", "fill"], tu = ["x", "y", "width"], au = { key: 0 }, ou = ["x", "y", "height", "width", "fill"], su = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], uu = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], iu = ["width", "x", "y"], nu = ["stroke", "x1", "x2", "y1", "y2"], ru = { key: 3 }, cu = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], vu = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], du = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], hu = ["fill", "font-size", "transform"], fu = ["x1", "x2", "y1", "y2", "stroke"], gu = ["x", "y", "font-size", "fill"], mu = ["x1", "x2", "y1", "y2", "stroke"], bu = ["x", "y", "font-size", "fill"], xu = ["width", "x", "y"], pu = { style: { width: "100%" } }, yu = ["d", "stroke", "stroke-width", "stroke-dasharray"], ku = ["d", "stroke", "stroke-width", "stroke-dasharray"], _u = { key: 6 }, wu = { key: 7 }, Su = ["d", "fill", "fill-opacity"], $u = { key: 0 }, Lu = ["d", "fill"], Mu = ["d", "fill"], Au = ["d", "fill"], Cu = ["d", "fill"], Tu = ["d", "stroke", "stroke-width", "stroke-dasharray"], zu = ["d", "stroke", "stroke-width", "stroke-dasharray"], Iu = ["width", "x", "y"], Ou = { style: { width: "100%" } }, Nu = { key: 8 }, Vu = ["x", "y", "font-size", "fill"], Pu = ["x", "y", "font-size", "fill", "font-weight"], Fu = { key: 9 }, Ru = ["x", "y", "font-size", "fill"], Bu = { key: 10 }, Hu = ["x", "y"], Du = ["innerHTML"], Eu = ["x", "y"], Yu = ["innerHTML"], Wu = ["x1", "x2", "y1", "y2", "stroke"], Xu = { key: 11 }, Gu = ["x", "y", "font-size", "fill"], Uu = { key: 12 }, qu = ["x", "y"], Zu = ["innerHTML"], Ju = ["x", "y"], Ku = ["innerHTML"], Qu = ["x1", "x2", "y1", "y2", "stroke"], ju = ["x", "y", "font-size", "fill", "innerHTML"], ei = ["x", "y", "font-size", "fill", "innerHTML"], li = ["x", "y", "font-size", "fill", "innerHTML"], ti = ["x", "y", "font-size", "fill", "innerHTML"], ai = { key: 0 }, oi = ["id"], si = ["fill", "stroke"], ui = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ii = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ni = ["x", "y", "font-size", "fill", "stroke"], ri = ["id"], ci = ["stop-color"], vi = ["stop-color"], di = ["x", "y", "width", "height", "fill", "onMouseenter"], hi = ["font-size", "fill", "transform"], fi = ["x", "y", "font-size", "fill"], gi = ["text-anchor", "font-size", "fill", "transform", "onClick"], mi = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], bi = { key: 15 }, xi = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], pi = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], yi = ["y", "x", "width", "height", "fill"], ki = ["id", "x", "y", "font-size", "fill", "text-anchor"], _i = {
17
+ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y", "width", "height"], Ls = { key: 1 }, Ms = { class: "vue-ui-xy-grid" }, As = ["stroke", "x1", "x2", "y1", "y2"], Cs = ["stroke", "x1", "x2", "y1", "y2"], Ts = { key: 1 }, zs = ["x1", "x2", "y1", "y2", "stroke"], Is = ["x1", "x2", "y1", "y2", "stroke"], Os = ["x1", "x2", "y1", "y2", "stroke"], Ns = { key: 3 }, Vs = ["d", "stroke"], Ps = { key: 4 }, Fs = ["d", "stroke"], Rs = ["id"], Bs = ["stop-color"], Hs = ["stop-color"], Ds = ["stop-color"], Es = ["id"], Ys = ["stop-color"], Ws = ["stop-color"], Xs = ["stop-color"], Gs = ["id"], Us = ["stop-color"], qs = ["stop-color"], Zs = ["id"], Js = ["stop-color"], Ks = ["stop-color"], Qs = ["id"], js = ["stop-color"], eu = ["stop-color"], lu = ["x", "y", "height", "width", "fill"], au = ["x", "y", "width"], tu = { key: 0 }, ou = ["x", "y", "height", "width", "fill"], su = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], uu = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], iu = ["width", "x", "y"], nu = ["stroke", "x1", "x2", "y1", "y2"], ru = { key: 3 }, cu = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], vu = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], du = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], hu = ["fill", "font-size", "transform"], fu = ["x1", "x2", "y1", "y2", "stroke"], gu = ["x", "y", "font-size", "fill"], mu = ["x1", "x2", "y1", "y2", "stroke"], bu = ["x", "y", "font-size", "fill"], xu = ["width", "x", "y"], pu = { style: { width: "100%" } }, yu = ["d", "stroke", "stroke-width", "stroke-dasharray"], ku = ["d", "stroke", "stroke-width", "stroke-dasharray"], _u = { key: 6 }, wu = { key: 7 }, Su = ["d", "fill", "fill-opacity"], $u = { key: 0 }, Lu = ["d", "fill"], Mu = ["d", "fill"], Au = ["d", "fill"], Cu = ["d", "fill"], Tu = ["d", "stroke", "stroke-width", "stroke-dasharray"], zu = ["d", "stroke", "stroke-width", "stroke-dasharray"], Iu = ["width", "x", "y"], Ou = { style: { width: "100%" } }, Nu = { key: 8 }, Vu = ["x", "y", "font-size", "fill"], Pu = ["x", "y", "font-size", "fill", "font-weight"], Fu = { key: 9 }, Ru = ["x", "y", "font-size", "fill"], Bu = { key: 10 }, Hu = ["x", "y"], Du = ["innerHTML"], Eu = ["x", "y"], Yu = ["innerHTML"], Wu = ["x1", "x2", "y1", "y2", "stroke"], Xu = { key: 11 }, Gu = ["x", "y", "font-size", "fill"], Uu = { key: 12 }, qu = ["x", "y"], Zu = ["innerHTML"], Ju = ["x", "y"], Ku = ["innerHTML"], Qu = ["x1", "x2", "y1", "y2", "stroke"], ju = ["x", "y", "font-size", "fill", "innerHTML"], ei = ["x", "y", "font-size", "fill", "innerHTML"], li = ["x", "y", "font-size", "fill", "innerHTML"], ai = ["x", "y", "font-size", "fill", "innerHTML"], ti = { key: 0 }, oi = ["id"], si = ["fill", "stroke"], ui = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ii = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ni = ["x", "y", "font-size", "fill", "stroke"], ri = ["id"], ci = ["stop-color"], vi = ["stop-color"], di = ["x", "y", "width", "height", "fill", "onMouseenter"], hi = ["font-size", "fill", "transform"], fi = ["x", "y", "font-size", "fill"], gi = ["text-anchor", "font-size", "fill", "transform", "onClick"], mi = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], bi = { key: 15 }, xi = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], pi = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], yi = ["y", "x", "width", "height", "fill"], ki = ["id", "x", "y", "font-size", "fill", "text-anchor"], _i = {
18
18
  key: 16,
19
19
  style: { "pointer-events": "none" }
20
20
  }, wi = ["x", "y"], Si = ["innerHTML"], $i = ["cx", "cy", "r", "fill"], Li = ["data-start", "data-end"], Mi = {
@@ -79,26 +79,26 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
79
79
  }
80
80
  },
81
81
  emits: ["selectTimeLabel", "selectX", "selectLegend"],
82
- setup(Ql, { expose: Ea, emit: Ya }) {
83
- const g = Ql, Wa = Ye(() => import("./DataTable-DOx3zgih.js")), Xa = Ye(() => import("./Tooltip-Cs4v8OnI.js")), Ga = Ye(() => import("./UserOptions-C0YT60JN.js")), St = Ye(() => import("./BaseIcon-B5KaGWWC.js")), Ua = Ye(() => import("./vue-ui-table-sparkline-BBFEJ8c6.js")), qa = Ye(() => import("./PackageVersion-VpPtLYhK.js")), Za = Ye(() => import("./PenAndPaper-Dj2diYr0.js")), Ja = Ye(() => import("./BaseDraggableDialog-CbuLbfrc.js")), jl = Ya, $t = Eo(), Ka = Yo(), { vue_ui_xy: hl } = ns(), Ce = x(null), fl = x(null), Te = x(null), sl = x(null), gl = x(null), ml = x(null), Qa = x(null), et = x(null), lt = x(null), ul = x(null), tt = x(null), at = x(null), Re = x(null), ot = x(null), ja = x(0), I = x(null), Lt = x(!0), ve = x(600), Q = x(1e3), Tl = x("0 0 1000 600"), eo = x({ x: 0, y: 0 }), bl = x({ line: "line", bar: "bar", plot: "plot" }), xl = x(!1), Ge = x(!1), Mt = x(!1), Ue = x(null), j = x([]), D = x(kt()), At = x(0), Ct = x(0), Tt = x(0), pl = x(!0), st = x(0), V = x(null), zt = x(!1), ut = x(!0), zl = x(!0), se = x(null), Pe = x({}), Il = x(null), It = x(!1), il = x(null), _ = x(null), lo = b(() => ({
82
+ setup(Ql, { expose: Et, emit: Yt }) {
83
+ const g = Ql, Wt = Ye(() => import("./DataTable-DOx3zgih.js")), Xt = Ye(() => import("./Tooltip-Cs4v8OnI.js")), Gt = Ye(() => import("./UserOptions-C0YT60JN.js")), Sa = Ye(() => import("./BaseIcon-B5KaGWWC.js")), Ut = Ye(() => import("./vue-ui-table-sparkline-Elk05A1j.js")), qt = Ye(() => import("./PackageVersion-Df-8U2yE.js")), Zt = Ye(() => import("./PenAndPaper-Dj2diYr0.js")), Jt = Ye(() => import("./BaseDraggableDialog-CbuLbfrc.js")), jl = Yt, $a = Eo(), Kt = Yo(), { vue_ui_xy: hl } = ns(), Te = x(null), fl = x(null), ze = x(null), sl = x(null), gl = x(null), ml = x(null), Qt = x(null), ea = x(null), la = x(null), ul = x(null), aa = x(null), ta = x(null), Re = x(null), oa = x(null), jt = x(0), I = x(null), La = x(!0), ve = x(600), Q = x(1e3), Tl = x("0 0 1000 600"), eo = x({ x: 0, y: 0 }), bl = x({ line: "line", bar: "bar", plot: "plot" }), xl = x(!1), Ge = x(!1), Ma = x(!1), Ue = x(null), j = x([]), D = x(ka()), Aa = x(0), Ca = x(0), Ta = x(0), pl = x(!0), sa = x(0), V = x(null), za = x(!1), ua = x(!0), zl = x(!0), ue = x(null), Pe = x({}), Il = x(null), Ia = x(!1), il = x(null), _ = x(null), lo = b(() => ({
84
84
  height: ve.value,
85
85
  width: Q.value
86
86
  }));
87
- function Ot(t) {
88
- return Number.isFinite(t) ? Math.max(0, Math.floor(t)) : 0;
87
+ function Oa(a) {
88
+ return Number.isFinite(a) ? Math.max(0, Math.floor(a)) : 0;
89
89
  }
90
- function it(t, s, e = 0) {
91
- return Number.isFinite(t) && Number.isFinite(s) && Math.abs(s) > 1e-9 ? t / s : e;
90
+ function ia(a, s, e = 0) {
91
+ return Number.isFinite(a) && Number.isFinite(s) && Math.abs(s) > 1e-9 ? a / s : e;
92
92
  }
93
- const Nt = x(!1), y = x({
93
+ const Na = x(!1), y = x({
94
94
  xAxis: 18,
95
95
  yAxis: 12,
96
96
  dataLabels: 20,
97
97
  plotLabels: 10
98
98
  }), we = x({ plot: 3, line: 3 });
99
99
  Ul(() => {
100
- It.value = !0, g.dataset.length && g.dataset.forEach((t, s) => {
101
- [null, void 0].includes(t.series) && _t({
100
+ Ia.value = !0, g.dataset.length && g.dataset.forEach((a, s) => {
101
+ [null, void 0].includes(a.series) && _a({
102
102
  componentName: "VueUiXy",
103
103
  type: "datasetSerieAttribute",
104
104
  property: "series (number[])",
@@ -107,63 +107,63 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
107
107
  });
108
108
  });
109
109
  });
110
- function nt() {
110
+ function na() {
111
111
  if (!Object.keys(g.config || {}).length)
112
112
  return hl;
113
- const t = Jl({
113
+ const a = Jl({
114
114
  userConfig: g.config,
115
115
  defaultConfig: hl
116
116
  });
117
- return g.config && fe(g.config, "chart.highlightArea") && (Array.isArray(g.config.chart.highlightArea) ? t.chart.highlightArea = g.config.chart.highlightArea : t.chart.highlightArea = [g.config.chart.highlightArea]), g.config && fe(g.config, "chart.grid.labels.yAxis.scaleMin") ? t.chart.grid.labels.yAxis.scaleMin = g.config.chart.grid.labels.yAxis.scaleMin : t.chart.grid.labels.yAxis.scaleMin = null, g.config && fe(g.config, "chart.grid.labels.yAxis.scaleMax") ? t.chart.grid.labels.yAxis.scaleMax = g.config.chart.grid.labels.yAxis.scaleMax : t.chart.grid.labels.yAxis.scaleMax = null, g.config && fe(g.config, "chart.zoom.startIndex") ? t.chart.zoom.startIndex = g.config.chart.zoom.startIndex : t.chart.zoom.startIndex = null, g.config && fe(g.config, "chart.zoom.endIndex") ? t.chart.zoom.endIndex = g.config.chart.zoom.endIndex : t.chart.zoom.endIndex = null, g.config && fe(g.config, "chart.grid.labels.yAxis.groupColor") ? t.chart.grid.labels.yAxis.groupColor = g.config.chart.grid.labels.yAxis.groupColor : t.chart.grid.labels.yAxis.groupColor = null, g.config && fe(g.config, "chart.annotations") && Array.isArray(g.config.chart.annotations) && g.config.chart.annotations.length ? t.chart.annotations = g.config.chart.annotations.map((s) => Jl({
117
+ return g.config && fe(g.config, "chart.highlightArea") && (Array.isArray(g.config.chart.highlightArea) ? a.chart.highlightArea = g.config.chart.highlightArea : a.chart.highlightArea = [g.config.chart.highlightArea]), g.config && fe(g.config, "chart.grid.labels.yAxis.scaleMin") ? a.chart.grid.labels.yAxis.scaleMin = g.config.chart.grid.labels.yAxis.scaleMin : a.chart.grid.labels.yAxis.scaleMin = null, g.config && fe(g.config, "chart.grid.labels.yAxis.scaleMax") ? a.chart.grid.labels.yAxis.scaleMax = g.config.chart.grid.labels.yAxis.scaleMax : a.chart.grid.labels.yAxis.scaleMax = null, g.config && fe(g.config, "chart.zoom.startIndex") ? a.chart.zoom.startIndex = g.config.chart.zoom.startIndex : a.chart.zoom.startIndex = null, g.config && fe(g.config, "chart.zoom.endIndex") ? a.chart.zoom.endIndex = g.config.chart.zoom.endIndex : a.chart.zoom.endIndex = null, g.config && fe(g.config, "chart.grid.labels.yAxis.groupColor") ? a.chart.grid.labels.yAxis.groupColor = g.config.chart.grid.labels.yAxis.groupColor : a.chart.grid.labels.yAxis.groupColor = null, g.config && fe(g.config, "chart.annotations") && Array.isArray(g.config.chart.annotations) && g.config.chart.annotations.length ? a.chart.annotations = g.config.chart.annotations.map((s) => Jl({
118
118
  defaultConfig: hl.chart.annotations[0],
119
119
  userConfig: s
120
- })) : t.chart.annotations = [], g.config && fe(g.config, "chart.grid.position") && g.config.chart.grid.position === "start" && g.dataset.length && g.dataset.some((s) => s.type === "bar") && (t.chart.grid.position = "middle", fe(g.config, "debug") && console.warn("Vue Data UI - VueUiXy - config.chart.grid.position was overriden to `middle` because your dataset contains a bar")), g.config && fe(g.config, "chart.grid.labels.yAxis.serieNameFormatter") ? t.chart.grid.labels.yAxis.serieNameFormatter = g.config.chart.grid.labels.yAxis.serieNameFormatter : t.chart.grid.labels.yAxis.serieNameFormatter = null, g.config && fe(g.config, "events.datapointEnter") ? t.events.datapointEnter = g.config.events.datapointEnter : t.events.datapointEnter = null, g.config && fe(g.config, "events.datapointLeave") ? t.events.datapointLeave = g.config.events.datapointLeave : t.events.datapointLeave = null, g.config && fe(g.config, "events.datapointClick") ? t.events.datapointClick = g.config.events.datapointClick : t.events.datapointClick = null, g.config && fe(g.config, "chart.highlightArea") && (Array.isArray(g.config.chart.highlightArea) ? t.chart.highlightArea = g.config.chart.highlightArea.map((s) => Vt({
120
+ })) : a.chart.annotations = [], g.config && fe(g.config, "chart.grid.position") && g.config.chart.grid.position === "start" && g.dataset.length && g.dataset.some((s) => s.type === "bar") && (a.chart.grid.position = "middle", fe(g.config, "debug") && console.warn("Vue Data UI - VueUiXy - config.chart.grid.position was overriden to `middle` because your dataset contains a bar")), g.config && fe(g.config, "chart.grid.labels.yAxis.serieNameFormatter") ? a.chart.grid.labels.yAxis.serieNameFormatter = g.config.chart.grid.labels.yAxis.serieNameFormatter : a.chart.grid.labels.yAxis.serieNameFormatter = null, g.config && fe(g.config, "events.datapointEnter") ? a.events.datapointEnter = g.config.events.datapointEnter : a.events.datapointEnter = null, g.config && fe(g.config, "events.datapointLeave") ? a.events.datapointLeave = g.config.events.datapointLeave : a.events.datapointLeave = null, g.config && fe(g.config, "events.datapointClick") ? a.events.datapointClick = g.config.events.datapointClick : a.events.datapointClick = null, g.config && fe(g.config, "chart.highlightArea") && (Array.isArray(g.config.chart.highlightArea) ? a.chart.highlightArea = g.config.chart.highlightArea.map((s) => Va({
121
121
  defaultConfig: hl.chart.highlightArea,
122
122
  userConfig: s
123
- })) : t.chart.highlightArea = Vt({
123
+ })) : a.chart.highlightArea = Va({
124
124
  defaultConfig: hl.chart.highlightArea,
125
125
  userConfig: g.config.chart.highlightArea
126
- })), t.theme ? {
126
+ })), a.theme ? {
127
127
  ...Jl({
128
- userConfig: xs.vue_ui_xy[t.theme] || g.config,
129
- defaultConfig: t
128
+ userConfig: xs.vue_ui_xy[a.theme] || g.config,
129
+ defaultConfig: a
130
130
  }),
131
- customPalette: os[t.theme] || g.palette
132
- } : t;
131
+ customPalette: os[a.theme] || g.palette
132
+ } : a;
133
133
  }
134
- function Vt({ defaultConfig: t, userConfig: s }) {
134
+ function Va({ defaultConfig: a, userConfig: s }) {
135
135
  return Jl({
136
- defaultConfig: t,
136
+ defaultConfig: a,
137
137
  userConfig: s
138
138
  });
139
139
  }
140
- const rt = b({
140
+ const ra = b({
141
141
  get() {
142
142
  return !!g.dataset && g.dataset.length;
143
143
  },
144
- set(t) {
145
- return t;
144
+ set(a) {
145
+ return a;
146
146
  }
147
- }), l = x(nt()), f = x({
147
+ }), l = x(na()), f = x({
148
148
  dataLabels: { show: !0 },
149
149
  showTooltip: !0,
150
150
  showTable: !1,
151
151
  isStacked: !1,
152
152
  useIndividualScale: !1
153
153
  });
154
- function ct() {
155
- Nt.value ? (f.value.isStacked = l.value.chart.grid.labels.yAxis.stacked, f.value.useIndividualScale == null && (f.value.useIndividualScale = l.value.chart.grid.labels.yAxis.useIndividualScale)) : (f.value = {
154
+ function ca() {
155
+ Na.value ? (f.value.isStacked = l.value.chart.grid.labels.yAxis.stacked, f.value.useIndividualScale == null && (f.value.useIndividualScale = l.value.chart.grid.labels.yAxis.useIndividualScale)) : (f.value = {
156
156
  dataLabels: { show: !0 },
157
157
  showTooltip: l.value.chart.tooltip.show === !0,
158
158
  showTable: l.value.showTable === !0,
159
159
  isStacked: l.value.chart.grid.labels.yAxis.stacked,
160
160
  useIndividualScale: l.value.chart.grid.labels.yAxis.useIndividualScale
161
- }, Nt.value = !0);
161
+ }, Na.value = !0);
162
162
  }
163
- const yl = b(() => !!l.value.debug), { loading: ue, FINAL_DATASET: ge, manualLoading: Ol } = cs({
163
+ const yl = b(() => !!l.value.debug), { loading: ie, FINAL_DATASET: ge, manualLoading: Ol } = cs({
164
164
  ...Wo(g),
165
165
  FINAL_CONFIG: l,
166
- prepareConfig: nt,
166
+ prepareConfig: na,
167
167
  callback: () => {
168
168
  Promise.resolve().then(async () => {
169
169
  await Rl(), f.value.showTable = l.value.showTable;
@@ -242,35 +242,35 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
242
242
  }
243
243
  })
244
244
  });
245
- function to(t) {
245
+ function ao(a) {
246
246
  const s = /* @__PURE__ */ new WeakMap();
247
247
  return (e, ...u) => {
248
- let a = s.get(e);
248
+ let t = s.get(e);
249
249
  const i = JSON.stringify(u);
250
- if (a && a.has(i)) return a.get(i);
251
- const o = t(e, ...u);
252
- return a || (a = /* @__PURE__ */ new Map(), s.set(e, a)), a.set(i, o), o;
250
+ if (t && t.has(i)) return t.get(i);
251
+ const o = a(e, ...u);
252
+ return t || (t = /* @__PURE__ */ new Map(), s.set(e, t)), t.set(i, o), o;
253
253
  };
254
254
  }
255
- const ao = to((t, s) => wt({ data: t, threshold: s })), Be = (t) => ao(t, l.value.downsample.threshold), ze = b({
256
- get: () => Math.max(...ge.value.map((t) => Be(t.series).length)),
257
- set: (t) => t
258
- }), m = x({ start: 0, end: ze.value }), Se = x({ start: 0, end: ze.value }), Pt = b(() => l.value.chart.zoom.preview.enable && (Se.value.start !== m.value.start || Se.value.end !== m.value.end));
259
- function Ft(t, s) {
260
- Se.value[t] = s;
255
+ const to = ao((a, s) => wa({ data: a, threshold: s })), Be = (a) => to(a, l.value.downsample.threshold), Ie = b({
256
+ get: () => Math.max(...ge.value.map((a) => Be(a.series).length)),
257
+ set: (a) => a
258
+ }), m = x({ start: 0, end: Ie.value }), Se = x({ start: 0, end: Ie.value }), Pa = b(() => l.value.chart.zoom.preview.enable && (Se.value.start !== m.value.start || Se.value.end !== m.value.end));
259
+ function Fa(a, s) {
260
+ Se.value[a] = s;
261
261
  }
262
262
  function nl() {
263
- const t = Math.max(
263
+ const a = Math.max(
264
264
  1,
265
265
  ...ge.value.map((u) => Be(u.series).length)
266
266
  );
267
- let s = Math.max(0, Math.min(m.value.start ?? 0, t - 1)), e = Math.max(s + 1, Math.min(m.value.end ?? t, t));
268
- (!Number.isFinite(s) || !Number.isFinite(e) || e <= s) && (s = 0, e = t), m.value = { start: s, end: e }, Se.value.start = s, Se.value.end = e, Te.value && (Te.value.setStartValue(s), Te.value.setEndValue(e));
267
+ let s = Math.max(0, Math.min(m.value.start ?? 0, a - 1)), e = Math.max(s + 1, Math.min(m.value.end ?? a, a));
268
+ (!Number.isFinite(s) || !Number.isFinite(e) || e <= s) && (s = 0, e = a), m.value = { start: s, end: e }, Se.value.start = s, Se.value.end = e, ze.value && (ze.value.setStartValue(s), ze.value.setEndValue(e));
269
269
  }
270
270
  const oo = b(() => {
271
- const { left: t, top: s, width: e, height: u } = c.value, a = m.value.start, o = m.value.end - a, A = e / o, C = Se.value.start - a, O = Se.value.end - a, S = Math.max(0, Math.min(o, C)), T = Math.max(0, Math.min(o, O));
271
+ const { left: a, top: s, width: e, height: u } = c.value, t = m.value.start, o = m.value.end - t, A = e / o, C = Se.value.start - t, O = Se.value.end - t, S = Math.max(0, Math.min(o, C)), T = Math.max(0, Math.min(o, O));
272
272
  return {
273
- x: t + S * A,
273
+ x: a + S * A,
274
274
  y: s,
275
275
  width: (T - S) * A,
276
276
  height: u,
@@ -287,216 +287,216 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
287
287
  }
288
288
  };
289
289
  });
290
- Al(() => g.selectedXIndex, (t) => {
290
+ Al(() => g.selectedXIndex, (a) => {
291
291
  if ([null, void 0].includes(g.selectedXIndex)) {
292
292
  _.value = null;
293
293
  return;
294
294
  }
295
- const s = t - m.value.start;
296
- s < 0 || t >= m.value.end ? _.value = null : _.value = s ?? null;
295
+ const s = a - m.value.start;
296
+ s < 0 || a >= m.value.end ? _.value = null : _.value = s ?? null;
297
297
  }, { immediate: !0 });
298
- const { isPrinting: vt, isImaging: Rt, generatePdf: Bt, generateImage: Ht } = rs({
298
+ const { isPrinting: va, isImaging: Ra, generatePdf: Ba, generateImage: Ha } = rs({
299
299
  elementId: `vue-ui-xy_${D.value}`,
300
300
  fileName: l.value.chart.title.text || "vue-ui-xy",
301
301
  options: l.value.chart.userOptions.print
302
302
  }), so = x(!1), Nl = b(() => Jo(l.value.customPalette)), Vl = b(() => {
303
303
  if (l.value.chart.grid.labels.yAxis.scaleMin !== null)
304
304
  return l.value.chart.grid.labels.yAxis.scaleMin;
305
- const t = Math.min(...Fe.value.filter((s) => !j.value.includes(s.id)).map((s) => Math.min(...s.series)));
306
- return t > 0 ? 0 : t;
305
+ const a = Math.min(...Fe.value.filter((s) => !j.value.includes(s.id)).map((s) => Math.min(...s.series)));
306
+ return a > 0 ? 0 : a;
307
307
  }), Pl = b(() => {
308
308
  if (l.value.chart.grid.labels.yAxis.scaleMax)
309
309
  return l.value.chart.grid.labels.yAxis.scaleMax;
310
- const t = Math.max(...Fe.value.filter((s) => !j.value.includes(s.id)).map((s) => Math.max(...s.series)));
311
- return Vl.value === t ? t + 1 : t;
312
- }), $e = b(() => l.value.chart.grid.labels.yAxis.useNiceScale ? Cl(Vl.value, Pl.value < 0 ? 0 : Pl.value, l.value.chart.grid.labels.yAxis.commonScaleSteps) : al(Vl.value, Pl.value < 0 ? 0 : Pl.value, l.value.chart.grid.labels.yAxis.commonScaleSteps)), kl = b(() => [null, void 0].includes(l.value.chart.grid.labels.yAxis.scaleMin) ? $e.value.min >= 0 ? 0 : Math.abs($e.value.min) : -$e.value.min), Fe = b(() => Lt.value ? ge.value.map((t, s) => {
313
- const e = Be(t.series), u = `uniqueId_${s}`;
310
+ const a = Math.max(...Fe.value.filter((s) => !j.value.includes(s.id)).map((s) => Math.max(...s.series)));
311
+ return Vl.value === a ? a + 1 : a;
312
+ }), $e = b(() => l.value.chart.grid.labels.yAxis.useNiceScale ? Cl(Vl.value, Pl.value < 0 ? 0 : Pl.value, l.value.chart.grid.labels.yAxis.commonScaleSteps) : tl(Vl.value, Pl.value < 0 ? 0 : Pl.value, l.value.chart.grid.labels.yAxis.commonScaleSteps)), kl = b(() => [null, void 0].includes(l.value.chart.grid.labels.yAxis.scaleMin) ? $e.value.min >= 0 ? 0 : Math.abs($e.value.min) : -$e.value.min), Fe = b(() => La.value ? ge.value.map((a, s) => {
313
+ const e = Be(a.series), u = `uniqueId_${s}`;
314
314
  return {
315
- ...t,
315
+ ...a,
316
316
  slotAbsoluteIndex: s,
317
- series: e.map((a) => ql(a) ? a : null).slice(m.value.start, m.value.end),
318
- color: Ta(t.color ? t.color : Nl.value[s] ? Nl.value[s] : za[s]),
317
+ series: e.map((t) => ql(t) ? t : null).slice(m.value.start, m.value.end),
318
+ color: Tt(a.color ? a.color : Nl.value[s] ? Nl.value[s] : zt[s]),
319
319
  id: u,
320
- scaleLabel: t.scaleLabel || u
320
+ scaleLabel: a.scaleLabel || u
321
321
  };
322
- }) : ge.value), Le = b(() => Fe.value.map((t, s) => ({
322
+ }) : ge.value), Le = b(() => Fe.value.map((a, s) => ({
323
323
  absoluteIndex: s,
324
- ...t,
325
- series: t.series.map((e) => e + kl.value),
326
- absoluteValues: t.series,
327
- segregate: () => oa(t),
328
- isSegregated: j.value.includes(t.id)
329
- }))), pe = b(() => Fe.value.map((t, s) => ({
330
- ...t,
331
- series: t.series.map((e) => e + kl.value),
332
- absoluteValues: t.series
333
- })).filter((t) => !j.value.includes(t.id)));
324
+ ...a,
325
+ series: a.series.map((e) => e + kl.value),
326
+ absoluteValues: a.series,
327
+ segregate: () => ot(a),
328
+ isSegregated: j.value.includes(a.id)
329
+ }))), ye = b(() => Fe.value.map((a, s) => ({
330
+ ...a,
331
+ series: a.series.map((e) => e + kl.value),
332
+ absoluteValues: a.series
333
+ })).filter((a) => !j.value.includes(a.id)));
334
334
  function uo() {
335
- let t = 0;
336
- tt.value && (t = Array.from(tt.value.querySelectorAll("text")).reduce((a, i) => {
335
+ let a = 0;
336
+ aa.value && (a = Array.from(aa.value.querySelectorAll("text")).reduce((t, i) => {
337
337
  const o = i.getComputedTextLength();
338
- return (o > a ? o : a) + l.value.chart.grid.labels.yAxis.scaleValueOffsetX;
338
+ return (o > t ? o : t) + l.value.chart.grid.labels.yAxis.scaleValueOffsetX;
339
339
  }, 0));
340
- const s = lt.value ? lt.value.getBoundingClientRect().width + l.value.chart.grid.labels.axis.yLabelOffsetX + y.value.yAxis : 0, e = l.value.chart.grid.labels.yAxis.crosshairSize;
341
- return t + s + e;
340
+ const s = la.value ? la.value.getBoundingClientRect().width + l.value.chart.grid.labels.axis.yLabelOffsetX + y.value.yAxis : 0, e = l.value.chart.grid.labels.yAxis.crosshairSize;
341
+ return a + s + e;
342
342
  }
343
- const dt = x(0), io = is((t) => {
344
- dt.value = t;
343
+ const da = x(0), io = is((a) => {
344
+ da.value = a;
345
345
  }, 100);
346
- La((t) => {
346
+ Lt((a) => {
347
347
  const s = ul.value;
348
348
  if (!s) return;
349
349
  const e = new ResizeObserver((u) => {
350
350
  io(u[0].contentRect.height);
351
351
  });
352
- e.observe(s), t(() => e.disconnect());
353
- }), yt(() => {
354
- dt.value = 0;
352
+ e.observe(s), a(() => e.disconnect());
353
+ }), ya(() => {
354
+ da.value = 0;
355
355
  });
356
- const Dt = b(() => {
357
- let t = 0;
358
- et.value && (t = et.value.getBBox().height);
356
+ const Da = b(() => {
357
+ let a = 0;
358
+ ea.value && (a = ea.value.getBBox().height);
359
359
  let s = 0;
360
- return ul.value && (s = dt.value), t + s + y.value.xAxis;
361
- }), no = b(() => ge.value.some((t) => t.useProgression)), c = b(() => {
362
- let t = 0;
360
+ return ul.value && (s = da.value), a + s + y.value.xAxis;
361
+ }), no = b(() => ge.value.some((a) => a.useProgression)), c = b(() => {
362
+ let a = 0;
363
363
  const s = 36;
364
- l.value.chart.grid.labels.show && (f.value.useIndividualScale && !f.value.isStacked ? t = (ge.value.length - j.value.length) * (l.value.chart.grid.labels.yAxis.labelWidth + s) : f.value.useIndividualScale && f.value.isStacked ? t = l.value.chart.grid.labels.yAxis.labelWidth + s : t = uo());
364
+ l.value.chart.grid.labels.show && (f.value.useIndividualScale && !f.value.isStacked ? a = (ge.value.length - j.value.length) * (l.value.chart.grid.labels.yAxis.labelWidth + s) : f.value.useIndividualScale && f.value.isStacked ? a = l.value.chart.grid.labels.yAxis.labelWidth + s : a = uo());
365
365
  const e = l.value.chart.labels.fontSize * 1.1, u = no.value ? 24 : 6;
366
366
  if (ul.value) {
367
367
  const o = ul.value.getBBox().x;
368
- o < 0 && (t += Math.abs(o));
368
+ o < 0 && (a += Math.abs(o));
369
369
  }
370
- const a = Q.value - t - l.value.chart.grid.labels.yAxis.crosshairSize - u - l.value.chart.padding.left - l.value.chart.padding.right, i = l.value.chart.grid.position === "middle" ? 0 : a / L.value / 2;
370
+ const t = Q.value - a - l.value.chart.grid.labels.yAxis.crosshairSize - u - l.value.chart.padding.left - l.value.chart.padding.right, i = l.value.chart.grid.position === "middle" ? 0 : t / L.value / 2;
371
371
  return {
372
372
  top: l.value.chart.padding.top + e,
373
373
  right: Q.value - u - l.value.chart.padding.right,
374
- bottom: ve.value - Dt.value - l.value.chart.padding.bottom - l.value.chart.grid.labels.axis.xLabelOffsetY,
375
- left: t + l.value.chart.grid.labels.yAxis.crosshairSize - i + l.value.chart.padding.left,
376
- height: ve.value - Dt.value - l.value.chart.padding.top - l.value.chart.padding.bottom - e - l.value.chart.grid.labels.axis.xLabelOffsetY,
377
- width: a,
378
- scaleLabelX: t,
374
+ bottom: ve.value - Da.value - l.value.chart.padding.bottom - l.value.chart.grid.labels.axis.xLabelOffsetY,
375
+ left: a + l.value.chart.grid.labels.yAxis.crosshairSize - i + l.value.chart.padding.left,
376
+ height: ve.value - Da.value - l.value.chart.padding.top - l.value.chart.padding.bottom - e - l.value.chart.grid.labels.axis.xLabelOffsetY,
377
+ width: t,
378
+ scaleLabelX: a,
379
379
  individualOffsetX: s
380
380
  };
381
381
  }), ro = b(() => {
382
- const t = l.value.chart.grid.position === "middle" ? 1 : 0, s = L.value + t, e = E(c.value.top), u = E(c.value.bottom);
383
- return Array.from({ length: s }).map((a, i) => {
382
+ const a = l.value.chart.grid.position === "middle" ? 1 : 0, s = L.value + a, e = E(c.value.top), u = E(c.value.bottom);
383
+ return Array.from({ length: s }).map((t, i) => {
384
384
  const o = c.value.width / L.value * i + c.value.left + G.value;
385
385
  return `M${o},${e} L${o},${u}`;
386
386
  }).join(" ");
387
387
  }), co = b(() => {
388
388
  if (!l.value.chart.grid.labels.xAxis.showCrosshairs) return "";
389
- const t = c.value.width / L.value, s = l.value.chart.grid.labels.xAxis.crosshairSize, e = l.value.chart.grid.labels.xAxis.crosshairsAlwaysAtZero;
390
- return gt.value.map((u, a) => {
389
+ const a = c.value.width / L.value, s = l.value.chart.grid.labels.xAxis.crosshairSize, e = l.value.chart.grid.labels.xAxis.crosshairsAlwaysAtZero;
390
+ return ga.value.map((u, t) => {
391
391
  if (!u || !u.text) return null;
392
- const i = c.value.left + t * a + t / 2, o = e ? ie.value - (ie.value === c.value.bottom ? 0 : s / 2) : c.value.bottom, A = e ? ie.value + s / (ie.value === c.value.bottom ? 1 : 2) : c.value.bottom + s;
392
+ const i = c.value.left + a * t + a / 2, o = e ? ne.value - (ne.value === c.value.bottom ? 0 : s / 2) : c.value.bottom, A = e ? ne.value + s / (ne.value === c.value.bottom ? 1 : 2) : c.value.bottom + s;
393
393
  return `M${i},${o} L${i},${A}`;
394
394
  }).filter(Boolean).join(" ");
395
395
  });
396
- function Et() {
397
- return !!Ka?.vnode.props?.onSelectTimeLabel;
396
+ function Ea() {
397
+ return !!Kt?.vnode.props?.onSelectTimeLabel;
398
398
  }
399
- function vo(t, s, e) {
399
+ function vo(a, s, e) {
400
400
  if (!Il.value) {
401
401
  const u = document.createElement("canvas");
402
402
  Il.value = u.getContext("2d");
403
403
  }
404
- return Il.value.font = `normal ${t}px sans-serif`, Il.value;
404
+ return Il.value.font = `normal ${a}px sans-serif`, Il.value;
405
405
  }
406
- function Yt() {
407
- const t = Ce.value.querySelectorAll(".vue-ui-xy-tag");
408
- t.length && Array.from(t).forEach((s) => s.style.opacity = "0");
406
+ function Ya() {
407
+ const a = Te.value.querySelectorAll(".vue-ui-xy-tag");
408
+ a.length && Array.from(a).forEach((s) => s.style.opacity = "0");
409
409
  }
410
- function Fl(t, s, e, u, a) {
411
- e && (Pe.value[`${t}_${s}_${u}_${a}`] = e);
410
+ function Fl(a, s, e, u, t) {
411
+ e && (Pe.value[`${a}_${s}_${u}_${t}`] = e);
412
412
  }
413
- const Wt = x(!1);
414
- async function Xt(t = !1) {
415
- await Ma(), Wt.value = t, zt.value && (zl.value = t);
413
+ const Wa = x(!1);
414
+ async function Xa(a = !1) {
415
+ await Mt(), Wa.value = a, za.value && (zl.value = a);
416
416
  }
417
- function ht() {
417
+ function ha() {
418
418
  xl.value = !xl.value;
419
419
  }
420
420
  const de = b(() => {
421
- const t = Math.max(...ge.value.map((s) => wt({ data: s.series, threshold: l.value.downsample.threshold }).length));
422
- return Da({
421
+ const a = Math.max(...ge.value.map((s) => wa({ data: s.series, threshold: l.value.downsample.threshold }).length));
422
+ return Dt({
423
423
  values: l.value.chart.grid.labels.xAxisLabels.values,
424
- maxDatapoints: t,
424
+ maxDatapoints: a,
425
425
  formatter: l.value.chart.grid.labels.xAxisLabels.datetimeFormatter,
426
426
  start: m.value.start,
427
427
  end: m.value.end
428
428
  });
429
- }), ft = b(() => {
430
- const t = Math.max(...ge.value.map((s) => wt({ data: s.series, threshold: l.value.downsample.threshold }).length));
431
- return Da({
429
+ }), fa = b(() => {
430
+ const a = Math.max(...ge.value.map((s) => wa({ data: s.series, threshold: l.value.downsample.threshold }).length));
431
+ return Dt({
432
432
  values: l.value.chart.grid.labels.xAxisLabels.values,
433
- maxDatapoints: t,
433
+ maxDatapoints: a,
434
434
  formatter: l.value.chart.grid.labels.xAxisLabels.datetimeFormatter,
435
435
  start: 0,
436
- end: ze.value
436
+ end: Ie.value
437
437
  });
438
438
  }), ho = b(() => {
439
- const t = l.value.chart.grid.labels.xAxisLabels.modulo;
440
- return de.value.length ? Math.min(t, [...new Set(de.value.map((s) => s.text))].length) : t;
441
- }), gt = b(() => {
442
- const t = l.value.chart.grid.labels.xAxisLabels, s = de.value || [], e = ft.value || [], u = m.value.start ?? 0, a = _.value, i = L.value, o = s.map((C) => C?.text ?? ""), A = e.map((C) => C?.text ?? "");
439
+ const a = l.value.chart.grid.labels.xAxisLabels.modulo;
440
+ return de.value.length ? Math.min(a, [...new Set(de.value.map((s) => s.text))].length) : a;
441
+ }), ga = b(() => {
442
+ const a = l.value.chart.grid.labels.xAxisLabels, s = de.value || [], e = fa.value || [], u = m.value.start ?? 0, t = _.value, i = L.value, o = s.map((C) => C?.text ?? ""), A = e.map((C) => C?.text ?? "");
443
443
  return Ko(
444
- !!t.showOnlyFirstAndLast,
445
- !!t.showOnlyAtModulo,
444
+ !!a.showOnlyFirstAndLast,
445
+ !!a.showOnlyAtModulo,
446
446
  Math.max(1, ho.value || 1),
447
447
  o,
448
448
  A,
449
449
  u,
450
- a,
450
+ t,
451
451
  i
452
452
  );
453
453
  });
454
- function Gt(t, s) {
455
- const e = pe.value.map((u) => ({
454
+ function Ga(a, s) {
455
+ const e = ye.value.map((u) => ({
456
456
  shape: u.shape || null,
457
457
  name: u.name,
458
458
  color: u.color,
459
459
  type: u.type,
460
- value: u.absoluteValues.find((a, i) => i === s),
460
+ value: u.absoluteValues.find((t, i) => i === s),
461
461
  comments: u.comments || [],
462
462
  prefix: u.prefix || l.value.chart.labels.prefix,
463
463
  suffix: u.suffix || l.value.chart.labels.suffix
464
464
  }));
465
465
  jl("selectTimeLabel", {
466
466
  datapoint: e,
467
- absoluteIndex: t.absoluteIndex,
468
- label: t.text
467
+ absoluteIndex: a.absoluteIndex,
468
+ label: a.text
469
469
  });
470
470
  }
471
471
  const L = b(() => {
472
- const t = Ot((m.value.end ?? 0) - (m.value.start ?? 0));
473
- return Math.max(1, t);
472
+ const a = Oa((m.value.end ?? 0) - (m.value.start ?? 0));
473
+ return Math.max(1, a);
474
474
  });
475
- function fo(t) {
476
- V.value = t;
475
+ function fo(a) {
476
+ V.value = a;
477
477
  }
478
- function Ut() {
478
+ function Ua() {
479
479
  f.value.isStacked = !f.value.isStacked, f.value.isStacked ? f.value.useIndividualScale = !0 : f.value.useIndividualScale = l.value.chart.grid.labels.yAxis.useIndividualScale;
480
480
  }
481
- function mt(t) {
482
- yl.value && t.autoScaling && (l.value.chart.grid.labels.yAxis.useIndividualScale || console.warn(`VueUiXy (datapoint: ${t.name}) : autoScaling only works when config.chart.grid.labels.yAxis.useIndividualScale is set to true`), l.value.chart.grid.labels.yAxis.stacked || console.warn(`VueUiXy (datapoint: ${t.name}) : autoScaling only works when config.chart.grid.labels.yAxis.stacked is set to true`));
481
+ function ma(a) {
482
+ yl.value && a.autoScaling && (l.value.chart.grid.labels.yAxis.useIndividualScale || console.warn(`VueUiXy (datapoint: ${a.name}) : autoScaling only works when config.chart.grid.labels.yAxis.useIndividualScale is set to true`), l.value.chart.grid.labels.yAxis.stacked || console.warn(`VueUiXy (datapoint: ${a.name}) : autoScaling only works when config.chart.grid.labels.yAxis.stacked is set to true`));
483
483
  }
484
- function go(t, s) {
485
- const e = Ot(t), u = Array(e).fill(0);
486
- for (let a = 0; a < s.length && a < e; a += 1) u[a] = s[a] ?? 0;
484
+ function go(a, s) {
485
+ const e = Oa(a), u = Array(e).fill(0);
486
+ for (let t = 0; t < s.length && t < e; t += 1) u[t] = s[t] ?? 0;
487
487
  return u;
488
488
  }
489
- function qt(t) {
489
+ function qa(a) {
490
490
  const s = Math.max(...ge.value.map((e) => Be(e.series).length));
491
- return t > s ? s : t < 0 || l.value.chart.zoom.startIndex !== null && t < l.value.chart.zoom.startIndex ? l.value.chart.zoom.startIndex !== null ? l.value.chart.zoom.startIndex + 1 : 1 : t;
491
+ return a > s ? s : a < 0 || l.value.chart.zoom.startIndex !== null && a < l.value.chart.zoom.startIndex ? l.value.chart.zoom.startIndex !== null ? l.value.chart.zoom.startIndex + 1 : 1 : a;
492
492
  }
493
- const _l = x(!1), Zt = x(!1);
493
+ const _l = x(!1), Za = x(!1);
494
494
  function Rl() {
495
495
  if (!_l.value) {
496
496
  _l.value = !0;
497
497
  try {
498
- const { startIndex: t, endIndex: s } = l.value.chart.zoom, e = Math.max(...ge.value.map((i) => Be(i.series).length)), u = t ?? 0, a = s != null ? Math.min(qt(s + 1), e) : e;
499
- Bl.value = !0, m.value.start = u, m.value.end = a, Se.value.start = u, Se.value.end = a, nl(), Zt.value = !0;
498
+ const { startIndex: a, endIndex: s } = l.value.chart.zoom, e = Math.max(...ge.value.map((i) => Be(i.series).length)), u = a ?? 0, t = s != null ? Math.min(qa(s + 1), e) : e;
499
+ Bl.value = !0, m.value.start = u, m.value.end = t, Se.value.start = u, Se.value.end = t, nl(), Za.value = !0;
500
500
  } finally {
501
501
  queueMicrotask(() => {
502
502
  Bl.value = !1;
@@ -505,107 +505,107 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
505
505
  }
506
506
  }
507
507
  const Bl = x(!1);
508
- function mo(t) {
509
- _l.value || Bl.value || t !== m.value.start && (m.value.start = t, Se.value.start = t, nl());
508
+ function mo(a) {
509
+ _l.value || Bl.value || a !== m.value.start && (m.value.start = a, Se.value.start = a, nl());
510
510
  }
511
- function bo(t) {
511
+ function bo(a) {
512
512
  if (_l.value || Bl.value) return;
513
- const s = qt(t);
513
+ const s = qa(a);
514
514
  s !== m.value.end && (m.value.end = s, Se.value.end = s, nl());
515
515
  }
516
516
  async function xo() {
517
517
  await Rl();
518
518
  }
519
- function me(t) {
520
- return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(t);
519
+ function me(a) {
520
+ return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(a);
521
521
  }
522
- const Jt = b(() => $e.value.max + kl.value);
523
- function qe(t) {
524
- return t / (me(Jt.value) ? Jt.value : 1);
522
+ const Ja = b(() => $e.value.max + kl.value);
523
+ function qe(a) {
524
+ return a / (me(Ja.value) ? Ja.value : 1);
525
525
  }
526
- const ie = b(() => isNaN(qe(kl.value)) ? c.value.bottom : c.value.bottom - c.value.height * qe(kl.value));
527
- function Kt(t) {
528
- const s = ![null, void 0].includes(l.value.chart.grid.labels.yAxis.scaleMin) && l.value.chart.grid.labels.yAxis.scaleMin > 0 && Vl.value >= 0 ? c.value.bottom : ie.value;
529
- return t.value >= 0 ? P(s - t.y <= 0 ? 1e-5 : s - t.y) : P(t.y - ie.value <= 0 ? 1e-5 : t.y - ie.value);
526
+ const ne = b(() => isNaN(qe(kl.value)) ? c.value.bottom : c.value.bottom - c.value.height * qe(kl.value));
527
+ function Ka(a) {
528
+ const s = ![null, void 0].includes(l.value.chart.grid.labels.yAxis.scaleMin) && l.value.chart.grid.labels.yAxis.scaleMin > 0 && Vl.value >= 0 ? c.value.bottom : ne.value;
529
+ return a.value >= 0 ? P(s - a.y <= 0 ? 1e-5 : s - a.y) : P(a.y - ne.value <= 0 ? 1e-5 : a.y - ne.value);
530
530
  }
531
- function Qt(t) {
532
- return t.value >= 0 ? P(t.zeroPosition - t.y <= 0 ? 1e-5 : t.zeroPosition - t.y) : P(t.y - t.zeroPosition <= 0 ? 1e-5 : t.zeroPosition - t.y);
531
+ function Qa(a) {
532
+ return a.value >= 0 ? P(a.zeroPosition - a.y <= 0 ? 1e-5 : a.zeroPosition - a.y) : P(a.y - a.zeroPosition <= 0 ? 1e-5 : a.zeroPosition - a.y);
533
533
  }
534
534
  const q = b(() => {
535
- const t = Math.max(1, L.value), s = Math.max(1, c.value.width), e = Math.max(1, Fe.value.filter((u) => u.type === "bar" && !j.value.includes(u.id)).length);
535
+ const a = Math.max(1, L.value), s = Math.max(1, c.value.width), e = Math.max(1, Fe.value.filter((u) => u.type === "bar" && !j.value.includes(u.id)).length);
536
536
  return {
537
- bar: it(s, t * e, 1),
538
- plot: it(s, t, 1),
539
- line: it(s, t, 1)
537
+ bar: ia(s, a * e, 1),
538
+ plot: ia(s, a, 1),
539
+ line: ia(s, a, 1)
540
540
  };
541
541
  });
542
542
  function He() {
543
543
  return f.value.useIndividualScale && f.value.isStacked ? q.value.line - c.value.width / L.value * 0.1 : q.value.bar;
544
544
  }
545
- function Hl(t) {
546
- return f.value.useIndividualScale && f.value.isStacked ? t.x + c.value.width / L.value * 0.05 : t.x + q.value.bar / 2;
545
+ function Hl(a) {
546
+ return f.value.useIndividualScale && f.value.isStacked ? a.x + c.value.width / L.value * 0.05 : a.x + q.value.bar / 2;
547
547
  }
548
- function jt(t) {
549
- return t.value >= 0 ? t.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(ie.value) ? c.bottom.value : ie.value;
548
+ function ja(a) {
549
+ return a.value >= 0 ? a.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(ne.value) ? c.bottom.value : ne.value;
550
550
  }
551
- function ea(t) {
552
- return t.value >= 0 ? t.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(t.zeroPosition) ? 0 : t.zeroPosition;
551
+ function et(a) {
552
+ return a.value >= 0 ? a.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(a.zeroPosition) ? 0 : a.zeroPosition;
553
553
  }
554
554
  const wl = x(null);
555
- function la(t) {
556
- const s = se.value;
555
+ function lt(a) {
556
+ const s = ue.value;
557
557
  if (!s) return null;
558
558
  if (s.createSVGPoint && s.getScreenCTM) {
559
559
  const T = s.createSVGPoint();
560
- T.x = t.clientX, T.y = t.clientY;
560
+ T.x = a.clientX, T.y = a.clientY;
561
561
  const Y = s.getScreenCTM();
562
562
  if (Y) {
563
563
  const k = T.matrixTransform(Y.inverse());
564
564
  return { x: k.x, y: k.y, ok: !0 };
565
565
  }
566
566
  }
567
- const e = s.getBoundingClientRect(), u = s.viewBox?.baseVal || { x: 0, y: 0, width: e.width, height: e.height }, a = Math.min(e.width / u.width, e.height / u.height), i = u.width * a, o = u.height * a, A = (e.width - i) / 2, C = (e.height - o) / 2, O = (t.clientX - e.left - A) / a + u.x, S = (t.clientY - e.top - C) / a + u.y;
567
+ const e = s.getBoundingClientRect(), u = s.viewBox?.baseVal || { x: 0, y: 0, width: e.width, height: e.height }, t = Math.min(e.width / u.width, e.height / u.height), i = u.width * t, o = u.height * t, A = (e.width - i) / 2, C = (e.height - o) / 2, O = (a.clientX - e.left - A) / t + u.x, S = (a.clientY - e.top - C) / t + u.y;
568
568
  return { x: O, y: S, ok: !0 };
569
569
  }
570
570
  let Ze = 0;
571
- function po(t) {
571
+ function po(a) {
572
572
  xl.value || (Ze && cancelAnimationFrame(Ze), Ze = requestAnimationFrame(() => {
573
573
  Ze = 0;
574
- const s = la(t);
575
- if (!s || !se.value) {
574
+ const s = lt(a);
575
+ if (!s || !ue.value) {
576
576
  Dl();
577
577
  return;
578
578
  }
579
- const { left: e, right: u, top: a, bottom: i, width: o } = c.value;
580
- if (s.x < e || s.x > u || s.y < a || s.y > i) {
579
+ const { left: e, right: u, top: t, bottom: i, width: o } = c.value;
580
+ if (s.x < e || s.x > u || s.y < t || s.y > i) {
581
581
  Dl();
582
582
  return;
583
583
  }
584
584
  const A = s.x - e, C = o / L.value, O = Math.floor(A / C);
585
- O >= 0 && O < L.value ? wl.value !== O && (wl.value = O, fa(!0, O)) : Dl();
585
+ O >= 0 && O < L.value ? wl.value !== O && (wl.value = O, ft(!0, O)) : Dl();
586
586
  }));
587
587
  }
588
588
  function Dl() {
589
- Ze && (cancelAnimationFrame(Ze), Ze = 0), wl.value = null, fa(!1, null);
589
+ Ze && (cancelAnimationFrame(Ze), Ze = 0), wl.value = null, ft(!1, null);
590
590
  }
591
- function ta(t) {
592
- const s = la(t);
593
- if (s && se.value) {
594
- const { left: e, right: u, top: a, bottom: i, width: o } = c.value;
595
- if (s.x >= e && s.x <= u && s.y >= a && s.y <= i) {
591
+ function at(a) {
592
+ const s = lt(a);
593
+ if (s && ue.value) {
594
+ const { left: e, right: u, top: t, bottom: i, width: o } = c.value;
595
+ if (s.x >= e && s.x <= u && s.y >= t && s.y <= i) {
596
596
  const A = o / Math.max(1, L.value), C = Math.floor((s.x - e) / A);
597
597
  if (C >= 0 && C < L.value) {
598
- aa(C);
598
+ tt(C);
599
599
  return;
600
600
  }
601
601
  }
602
602
  }
603
- wl.value != null && aa(wl.value);
603
+ wl.value != null && tt(wl.value);
604
604
  }
605
- function aa(t) {
606
- const s = pe.value.map((e) => ({
605
+ function tt(a) {
606
+ const s = ye.value.map((e) => ({
607
607
  name: e.name,
608
- value: [null, void 0, NaN].includes(e.absoluteValues[t]) ? null : e.absoluteValues[t],
608
+ value: [null, void 0, NaN].includes(e.absoluteValues[a]) ? null : e.absoluteValues[a],
609
609
  color: e.color,
610
610
  type: e.type
611
611
  }));
@@ -613,24 +613,24 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
613
613
  "selectX",
614
614
  {
615
615
  dataset: s,
616
- index: t,
617
- indexLabel: l.value.chart.grid.labels.xAxisLabels.values[t]
616
+ index: a,
617
+ indexLabel: l.value.chart.grid.labels.xAxisLabels.values[a]
618
618
  }
619
- ), l.value.events.datapointClick && l.value.events.datapointClick({ datapoint: s, seriesIndex: t + m.value.start });
619
+ ), l.value.events.datapointClick && l.value.events.datapointClick({ datapoint: s, seriesIndex: a + m.value.start });
620
620
  }
621
621
  function yo() {
622
- return Le.value.map((t) => ({
623
- values: t.absoluteValues,
624
- color: t.color,
625
- name: t.name,
626
- type: t.type
622
+ return Le.value.map((a) => ({
623
+ values: a.absoluteValues,
624
+ color: a.color,
625
+ name: a.name,
626
+ type: a.type
627
627
  }));
628
628
  }
629
- async function ko({ scale: t = 2 } = {}) {
630
- if (!Ce.value) return;
631
- const { width: s, height: e } = Ce.value.getBoundingClientRect(), u = s / e, { imageUri: a, base64: i } = await ms({ domElement: Ce.value, base64: !0, img: !0, scale: t });
629
+ async function ko({ scale: a = 2 } = {}) {
630
+ if (!Te.value) return;
631
+ const { width: s, height: e } = Te.value.getBoundingClientRect(), u = s / e, { imageUri: t, base64: i } = await ms({ domElement: Te.value, base64: !0, img: !0, scale: a });
632
632
  return {
633
- imageUri: a,
633
+ imageUri: t,
634
634
  base64: i,
635
635
  title: l.value.chart.title.text,
636
636
  width: s,
@@ -638,50 +638,50 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
638
638
  aspectRatio: u
639
639
  };
640
640
  }
641
- function oa(t) {
642
- if (j.value.includes(t.id))
643
- j.value = j.value.filter((s) => s !== t.id);
641
+ function ot(a) {
642
+ if (j.value.includes(a.id))
643
+ j.value = j.value.filter((s) => s !== a.id);
644
644
  else {
645
645
  if (j.value.length + 1 === Fe.value.length) return;
646
- j.value.push(t.id);
646
+ j.value.push(a.id);
647
647
  }
648
- jl("selectLegend", pe.value.map((s) => ({
648
+ jl("selectLegend", ye.value.map((s) => ({
649
649
  name: s.name,
650
650
  values: s.absoluteValues,
651
651
  color: s.color,
652
652
  type: s.type
653
- }))), st.value += 1;
653
+ }))), sa.value += 1;
654
654
  }
655
655
  const _o = b(() => {
656
- const t = l.value.chart.title.text || "Chart visualization", s = l.value.chart.title.subtitle.text || "";
657
- return `${t}. ${s}`;
658
- }), sa = b(() => ({
656
+ const a = l.value.chart.title.text || "Chart visualization", s = l.value.chart.title.subtitle.text || "";
657
+ return `${a}. ${s}`;
658
+ }), st = b(() => ({
659
659
  linePlot: L.value > l.value.line.dot.hideAboveMaxSerieLength
660
660
  })), wo = b(() => l.value.chart.userOptions.show && (!l.value.chart.title.show || !l.value.chart.title.text)), So = b(() => {
661
661
  if (Array.isArray(l.value.chart.highlightArea))
662
662
  return l.value.chart.highlightArea.map((s) => {
663
- const e = Math.min(s.to, ze.value - 1);
663
+ const e = Math.min(s.to, Ie.value - 1);
664
664
  return {
665
665
  ...s,
666
666
  span: s.from === e ? 1 : e < s.from ? 0 : e - s.from + 1
667
667
  };
668
668
  });
669
- const t = {
669
+ const a = {
670
670
  ...l.value.chart.highlightArea,
671
- to: Math.min(l.value.chart.highlightArea.to, ze.value - 1)
671
+ to: Math.min(l.value.chart.highlightArea.to, Ie.value - 1)
672
672
  };
673
- return [{ ...t, span: t.from === t.to ? 1 : t.to < t.from ? 0 : t.to - t.from + 1 }];
674
- }), ua = b(() => Lt.value ? ge.value.map((t, s) => ({
675
- ...t,
676
- series: Be(t.series),
673
+ return [{ ...a, span: a.from === a.to ? 1 : a.to < a.from ? 0 : a.to - a.from + 1 }];
674
+ }), ut = b(() => La.value ? ge.value.map((a, s) => ({
675
+ ...a,
676
+ series: Be(a.series),
677
677
  id: `uniqueId_${s}`,
678
- color: Ta(t.color ? t.color : Nl.value[s] ? Nl.value[s] : za[s])
679
- })) : ge.value), $o = b(() => pe.value.map((t) => {
680
- const s = t.absoluteValues.map((e) => [void 0, null].includes(e) ? 0 : e);
678
+ color: Tt(a.color ? a.color : Nl.value[s] ? Nl.value[s] : zt[s])
679
+ })) : ge.value), $o = b(() => ye.value.map((a) => {
680
+ const s = a.absoluteValues.map((e) => [void 0, null].includes(e) ? 0 : e);
681
681
  return {
682
- id: t.id,
683
- name: t.name,
684
- color: t.color,
682
+ id: a.id,
683
+ name: a.name,
684
+ color: a.color,
685
685
  values: go(L.value, s)
686
686
  };
687
687
  })), Lo = b(() => ({
@@ -693,7 +693,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
693
693
  fontFamily: l.value.chart.fontFamily,
694
694
  prefix: l.value.chart.labels.prefix,
695
695
  suffix: l.value.chart.labels.suffix,
696
- colNames: de.value.map((t, s) => l.value.table.useDefaultTimeFormat ? t.text : rl.value(s + m.value.start, l.value.table.timeFormat)),
696
+ colNames: de.value.map((a, s) => l.value.table.useDefaultTimeFormat ? a.text : rl.value(s + m.value.start, l.value.table.timeFormat)),
697
697
  thead: {
698
698
  backgroundColor: l.value.table.th.backgroundColor,
699
699
  color: l.value.table.th.color,
@@ -710,66 +710,66 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
710
710
  sparkline: {
711
711
  animation: { show: !1 }
712
712
  }
713
- })), G = b(() => l.value.chart.grid.position === "middle" ? 0 : c.value.width / L.value / 2), Je = b(() => Qo(Le.value.filter((t) => !j.value.includes(t.id)))), M = b(() => {
714
- const t = Object.groupBy(Je.value, (e) => e.scaleLabel), s = {};
715
- for (const [e, u] of Object.entries(t)) {
716
- const a = u.flatMap((i) => i.absoluteValues);
713
+ })), G = b(() => l.value.chart.grid.position === "middle" ? 0 : c.value.width / L.value / 2), Je = b(() => Qo(Le.value.filter((a) => !j.value.includes(a.id)))), M = b(() => {
714
+ const a = Object.groupBy(Je.value, (e) => e.scaleLabel), s = {};
715
+ for (const [e, u] of Object.entries(a)) {
716
+ const t = u.flatMap((i) => i.absoluteValues);
717
717
  s[e] = {
718
- min: Math.min(...a) || 0,
719
- max: Math.max(...a) || 1,
720
- groupId: `scale_group_${kt()}`
718
+ min: Math.min(...t) || 0,
719
+ max: Math.max(...t) || 1,
720
+ groupId: `scale_group_${ka()}`
721
721
  };
722
722
  }
723
723
  return s;
724
724
  }), Mo = b(() => {
725
- const t = Fe.value.filter((s) => s.type === "bar").filter((s) => !j.value.includes(s.id)).length;
726
- return c.value.width / L.value / t - El.value * t;
725
+ const a = Fe.value.filter((s) => s.type === "bar").filter((s) => !j.value.includes(s.id)).length;
726
+ return c.value.width / L.value / a - El.value * a;
727
727
  }), El = b(() => q.value.line * l.value.bar.periodGap), Yl = b(() => Math.max(1e-5, He() - (f.value.useIndividualScale && f.value.isStacked ? 0 : El.value))), Wl = b(() => Yl.value * Math.min(Math.abs(l.value.bar.innerGap), 0.95)), Ao = b(() => {
728
728
  if (!l.value.chart.zoom.minimap.show) return [];
729
- const t = ua.value.filter((a) => !j.value.includes(a.id)), s = Math.max(...t.map((a) => a.series.length)), e = [];
730
- for (let a = 0; a < s; a += 1)
731
- e.push(t.map((i) => i.series[a] || 0).reduce((i, o) => (i || 0) + (o || 0), 0));
729
+ const a = ut.value.filter((t) => !j.value.includes(t.id)), s = Math.max(...a.map((t) => t.series.length)), e = [];
730
+ for (let t = 0; t < s; t += 1)
731
+ e.push(a.map((i) => i.series[t] || 0).reduce((i, o) => (i || 0) + (o || 0), 0));
732
732
  const u = Math.min(...e);
733
- return e.map((a) => a + (u < 0 ? Math.abs(u) : 0));
734
- }), Co = b(() => l.value.chart.zoom.minimap.show ? ua.value.map((s) => ({
733
+ return e.map((t) => t + (u < 0 ? Math.abs(u) : 0));
734
+ }), Co = b(() => l.value.chart.zoom.minimap.show ? ut.value.map((s) => ({
735
735
  ...s,
736
736
  isVisible: !j.value.includes(s.id)
737
- })) : []), Ke = b(() => pe.value.map((t) => ({
738
- slotAbsoluteIndex: t.slotAbsoluteIndex,
739
- shape: t.shape || null,
740
- name: t.name,
741
- color: t.color,
742
- type: t.type,
743
- value: t.absoluteValues.find((s, e) => e === _.value),
744
- comments: t.comments || [],
745
- prefix: t.prefix || l.value.chart.labels.prefix,
746
- suffix: t.suffix || l.value.chart.labels.suffix
747
- }))), ia = b(() => $e.value.ticks.map((t) => ({
748
- y: t >= 0 ? ie.value - c.value.height * qe(t) : ie.value + c.value.height * qe(Math.abs(t)),
749
- value: t,
737
+ })) : []), Ke = b(() => ye.value.map((a) => ({
738
+ slotAbsoluteIndex: a.slotAbsoluteIndex,
739
+ shape: a.shape || null,
740
+ name: a.name,
741
+ color: a.color,
742
+ type: a.type,
743
+ value: a.absoluteValues.find((s, e) => e === _.value),
744
+ comments: a.comments || [],
745
+ prefix: a.prefix || l.value.chart.labels.prefix,
746
+ suffix: a.suffix || l.value.chart.labels.suffix
747
+ }))), it = b(() => $e.value.ticks.map((a) => ({
748
+ y: a >= 0 ? ne.value - c.value.height * qe(a) : ne.value + c.value.height * qe(Math.abs(a)),
749
+ value: a,
750
750
  prefix: l.value.chart.labels.prefix,
751
751
  suffix: l.value.chart.labels.suffix
752
- }))), na = b(() => {
753
- const t = l.value.chart.annotations;
754
- if (!t || !Array.isArray(t) || t.every((S) => !S.show)) return [];
755
- const s = t.filter(
752
+ }))), nt = b(() => {
753
+ const a = l.value.chart.annotations;
754
+ if (!a || !Array.isArray(a) || a.every((S) => !S.show)) return [];
755
+ const s = a.filter(
756
756
  (S) => S.show && (S.yAxis.yTop != null || S.yAxis.yBottom != null)
757
757
  );
758
758
  if (!s.length) return [];
759
- const { left: e, right: u } = c.value, a = ie.value, i = c.value.height, o = $e.value.min, C = $e.value.max - o, O = (S) => {
759
+ const { left: e, right: u } = c.value, t = ne.value, i = c.value.height, o = $e.value.min, C = $e.value.max - o, O = (S) => {
760
760
  const T = (S - 0) / C;
761
- return a - T * i;
761
+ return t - T * i;
762
762
  };
763
763
  return s.map((S) => {
764
764
  const { yAxis: { yTop: T, yBottom: Y, label: k } } = S, F = T != null && Y != null && T !== Y, z = T == null ? null : O(T), le = Y == null ? null : O(Y), re = vo(k.fontSize);
765
765
  re.font = `${k.fontSize}px sans-serif`;
766
- const U = re.measureText(k.text).width, ke = k.fontSize, Oe = (k.position === "start" ? e + k.padding.left : u - k.padding.right) + k.offsetX, be = (z != null && le != null ? Math.min(z, le) : z ?? le) - k.fontSize / 3 + k.offsetY - k.padding.top;
766
+ const U = re.measureText(k.text).width, ke = k.fontSize, Oe = (k.position === "start" ? e + k.padding.left : u - k.padding.right) + k.offsetX, xe = (z != null && le != null ? Math.min(z, le) : z ?? le) - k.fontSize / 3 + k.offsetY - k.padding.top;
767
767
  let B;
768
768
  k.textAnchor === "middle" ? B = Oe - U / 2 - k.padding.left : k.textAnchor === "end" ? B = Oe - U - k.padding.right : B = Oe - k.padding.left;
769
- const H = be - ke * 0.75 - k.padding.top;
769
+ const H = xe - ke * 0.75 - k.padding.top;
770
770
  return {
771
771
  show: ![z, le, H].includes(NaN),
772
- id: `annotation_y_${kt()}`,
772
+ id: `annotation_y_${ka()}`,
773
773
  hasArea: F,
774
774
  areaHeight: F ? Math.abs(z - le) : 0,
775
775
  yTop: z,
@@ -777,7 +777,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
777
777
  config: S.yAxis,
778
778
  x1: e,
779
779
  x2: u,
780
- _text: { x: Oe, y: be },
780
+ _text: { x: Oe, y: xe },
781
781
  _box: {
782
782
  x: B,
783
783
  y: H,
@@ -792,15 +792,15 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
792
792
  };
793
793
  });
794
794
  });
795
- function ra(t, s) {
796
- const e = t[s - 1], u = t[s + 1];
797
- let a = !!e && !!u && e.value == null && u.value == null || !e && !!u && u.value == null || !!e && !u && e.value == null;
798
- return me(t[s].value) && a && l.value.line.cutNullValues;
795
+ function rt(a, s) {
796
+ const e = a[s - 1], u = a[s + 1];
797
+ let t = !!e && !!u && e.value == null && u.value == null || !e && !!u && u.value == null || !!e && !u && e.value == null;
798
+ return me(a[s].value) && t && l.value.line.cutNullValues;
799
799
  }
800
- const Ie = b(() => {
801
- const t = Je.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), s = t.length, e = l.value.chart.grid.labels.yAxis.gap, u = f.value.isStacked, a = u ? e * (s - 1) : 0, i = c.value.height - a;
802
- return t.filter((o) => o.type === "bar").map((o, A) => {
803
- mt(o);
800
+ const Me = b(() => {
801
+ const a = Je.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), s = a.length, e = l.value.chart.grid.labels.yAxis.gap, u = f.value.isStacked, t = u ? e * (s - 1) : 0, i = c.value.height - t;
802
+ return a.filter((o) => o.type === "bar").map((o, A) => {
803
+ ma(o);
804
804
  const C = M.value[o.scaleLabel].min, O = M.value[o.scaleLabel].max;
805
805
  o.absoluteValues.filter((R) => ![null, void 0].includes(R)).map((R) => (R - C) / (O - C));
806
806
  const S = {
@@ -809,7 +809,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
809
809
  }, T = {
810
810
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
811
811
  min: o.scaleMin || Math.min(...o.absoluteValues.filter((R) => ![void 0, null].includes(R))) > 0 ? 0 : Math.min(...o.absoluteValues.filter((R) => ![null, void 0].includes(R)))
812
- }, Y = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, k = 1.0000001, F = l.value.chart.grid.labels.yAxis.useNiceScale ? Cl(T.min, T.max === T.min ? T.max * k : T.max, Y) : al(T.min, T.max === T.min ? T.max * k : T.max, Y), z = l.value.chart.grid.labels.yAxis.useNiceScale ? Cl(S.valueMin, S.valueMax === S.valueMin ? S.valueMax * k : S.valueMax, Y) : al(S.valueMin, S.valueMax === S.valueMin ? S.valueMax * k : S.valueMax, Y), le = F.min >= 0 ? 0 : Math.abs(F.min), re = 0, U = F.max + le, ke = z.max + Math.abs(re), Oe = o.stackIndex, cl = s - 1 - Oe, be = u ? 1 - o.cumulatedStackRatio : 0, B = u ? i * be + e * cl : 0, H = u ? i * o.stackRatio : c.value.height, Z = c.value.bottom - B - H * le / U, xe = c.value.bottom - B - H * re / ke, ce = Le.value.filter((R) => R.type === "bar").filter((R) => !j.value.includes(R.id)).length, Ll = o.series.map((R, K) => {
812
+ }, Y = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, k = 1.0000001, F = l.value.chart.grid.labels.yAxis.useNiceScale ? Cl(T.min, T.max === T.min ? T.max * k : T.max, Y) : tl(T.min, T.max === T.min ? T.max * k : T.max, Y), z = l.value.chart.grid.labels.yAxis.useNiceScale ? Cl(S.valueMin, S.valueMax === S.valueMin ? S.valueMax * k : S.valueMax, Y) : tl(S.valueMin, S.valueMax === S.valueMin ? S.valueMax * k : S.valueMax, Y), le = F.min >= 0 ? 0 : Math.abs(F.min), re = 0, U = F.max + le, ke = z.max + Math.abs(re), Oe = o.stackIndex, cl = s - 1 - Oe, xe = u ? 1 - o.cumulatedStackRatio : 0, B = u ? i * xe + e * cl : 0, H = u ? i * o.stackRatio : c.value.height, Z = c.value.bottom - B - H * le / U, pe = c.value.bottom - B - H * re / ke, ce = Le.value.filter((R) => R.type === "bar").filter((R) => !j.value.includes(R.id)).length, Ll = o.series.map((R, K) => {
813
813
  const Ee = f.value.useIndividualScale ? (o.absoluteValues[K] + le) / U : qe(R), Qe = f.value.useIndividualScale && f.value.isStacked ? c.value.left + c.value.width / L.value * K : c.value.left + q.value.bar * A + q.value.bar * K * ce - Mo.value / 2 - A * El.value;
814
814
  return {
815
815
  yOffset: P(B),
@@ -842,14 +842,14 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
842
842
  })), J = z.ticks.map((R) => {
843
843
  const K = (R - z.min) / (z.max - z.min);
844
844
  return {
845
- y: R >= 0 ? xe - H * K : xe + H * K,
845
+ y: R >= 0 ? pe - H * K : pe + H * K,
846
846
  value: R,
847
847
  prefix: o.prefix || l.value.chart.labels.prefix,
848
848
  suffix: o.suffix || l.value.chart.labels.suffix,
849
849
  datapoint: o
850
850
  };
851
851
  });
852
- return M.value[o.scaleLabel].name = o.name, M.value[o.scaleLabel].groupName = o.scaleLabel, M.value[o.scaleLabel].groupColor = l.value.chart.grid.labels.yAxis.groupColor || o.color, M.value[o.scaleLabel].color = o.color, M.value[o.scaleLabel].scaleYLabels = o.autoScaling ? J : W, M.value[o.scaleLabel].zeroPosition = o.autoScaling ? xe : Z, M.value[o.scaleLabel].individualMax = o.autoScaling ? ke : U, M.value[o.scaleLabel].scaleLabel = o.scaleLabel, M.value[o.scaleLabel].id = o.id, M.value[o.scaleLabel].yOffset = B, M.value[o.scaleLabel].individualHeight = H, M.value[o.scaleLabel].autoScaleYLabels = J, M.value[o.scaleLabel].unique = Je.value.filter((R) => R.scaleLabel === o.scaleLabel).length === 1, {
852
+ return M.value[o.scaleLabel].name = o.name, M.value[o.scaleLabel].groupName = o.scaleLabel, M.value[o.scaleLabel].groupColor = l.value.chart.grid.labels.yAxis.groupColor || o.color, M.value[o.scaleLabel].color = o.color, M.value[o.scaleLabel].scaleYLabels = o.autoScaling ? J : W, M.value[o.scaleLabel].zeroPosition = o.autoScaling ? pe : Z, M.value[o.scaleLabel].individualMax = o.autoScaling ? ke : U, M.value[o.scaleLabel].scaleLabel = o.scaleLabel, M.value[o.scaleLabel].id = o.id, M.value[o.scaleLabel].yOffset = B, M.value[o.scaleLabel].individualHeight = H, M.value[o.scaleLabel].autoScaleYLabels = J, M.value[o.scaleLabel].unique = Je.value.filter((R) => R.scaleLabel === o.scaleLabel).length === 1, {
853
853
  ...o,
854
854
  yOffset: B,
855
855
  autoScaleYLabels: J,
@@ -857,15 +857,15 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
857
857
  scaleYLabels: o.autoScaling ? J : W,
858
858
  individualScale: o.autoScaling ? z : F,
859
859
  individualMax: o.autoScaling ? ke : U,
860
- zeroPosition: o.autoScaling ? xe : Z,
860
+ zeroPosition: o.autoScaling ? pe : Z,
861
861
  plots: o.autoScaling ? De : Ll,
862
862
  groupId: M.value[o.scaleLabel].groupId
863
863
  };
864
864
  });
865
- }), ne = b(() => {
866
- const t = Je.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), s = t.length, e = l.value.chart.grid.labels.yAxis.gap, u = f.value.isStacked, a = u ? e * (s - 1) : 0, i = c.value.height - a;
867
- return t.filter((o) => o.type === "line").map((o, A) => {
868
- mt(o);
865
+ }), te = b(() => {
866
+ const a = Je.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), s = a.length, e = l.value.chart.grid.labels.yAxis.gap, u = f.value.isStacked, t = u ? e * (s - 1) : 0, i = c.value.height - t;
867
+ return a.filter((o) => o.type === "line").map((o, A) => {
868
+ ma(o);
869
869
  const C = M.value[o.scaleLabel].min, O = M.value[o.scaleLabel].max;
870
870
  o.absoluteValues.filter((N) => ![null, void 0].includes(N)).map((N) => (N - C) / (O - C));
871
871
  const S = {
@@ -874,42 +874,42 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
874
874
  }, T = {
875
875
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
876
876
  min: o.scaleMin || (Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues))
877
- }, Y = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, k = 1.0000001, F = l.value.chart.grid.labels.yAxis.useNiceScale ? Cl(T.min, T.max === T.min ? T.max * k : T.max, Y) : al(T.min, T.max === T.min ? T.max * k : T.max, Y), z = l.value.chart.grid.labels.yAxis.useNiceScale ? Cl(S.valueMin, S.valueMax === S.valueMin ? S.valueMax * k : S.valueMax, Y) : al(S.valueMin, S.valueMax === S.valueMin ? S.valueMax * k : S.valueMax, Y), le = F.min >= 0 ? 0 : Math.abs(F.min), re = 0, U = F.max + Math.abs(le), ke = z.max + Math.abs(re), Oe = o.stackIndex, cl = s - 1 - Oe, be = u ? 1 - o.cumulatedStackRatio : 0, B = u ? i * be + e * cl : 0, H = u ? i * o.stackRatio : c.value.height, Z = c.value.bottom - B - H * le / U, xe = c.value.bottom - B - H * re / ke, ce = o.series.map((N, ae) => {
878
- const Do = f.value.useIndividualScale ? (o.absoluteValues[ae] + Math.abs(le)) / U : qe(N);
877
+ }, Y = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, k = 1.0000001, F = l.value.chart.grid.labels.yAxis.useNiceScale ? Cl(T.min, T.max === T.min ? T.max * k : T.max, Y) : tl(T.min, T.max === T.min ? T.max * k : T.max, Y), z = l.value.chart.grid.labels.yAxis.useNiceScale ? Cl(S.valueMin, S.valueMax === S.valueMin ? S.valueMax * k : S.valueMax, Y) : tl(S.valueMin, S.valueMax === S.valueMin ? S.valueMax * k : S.valueMax, Y), le = F.min >= 0 ? 0 : Math.abs(F.min), re = 0, U = F.max + Math.abs(le), ke = z.max + Math.abs(re), Oe = o.stackIndex, cl = s - 1 - Oe, xe = u ? 1 - o.cumulatedStackRatio : 0, B = u ? i * xe + e * cl : 0, H = u ? i * o.stackRatio : c.value.height, Z = c.value.bottom - B - H * le / U, pe = c.value.bottom - B - H * re / ke, ce = o.series.map((N, oe) => {
878
+ const Do = f.value.useIndividualScale ? (o.absoluteValues[oe] + Math.abs(le)) / U : qe(N);
879
879
  return {
880
- x: P(c.value.left + q.value.line / 2 + q.value.line * ae),
880
+ x: P(c.value.left + q.value.line / 2 + q.value.line * oe),
881
881
  y: P(c.value.bottom - B - H * Do),
882
- value: o.absoluteValues[ae],
883
- comment: o.comments && o.comments.slice(m.value.start, m.value.end)[ae] || ""
882
+ value: o.absoluteValues[oe],
883
+ comment: o.comments && o.comments.slice(m.value.start, m.value.end)[oe] || ""
884
884
  };
885
- }), Ll = o.absoluteValues.map((N) => z.min >= 0 ? (N - Math.abs(z.min)) / (z.max - Math.abs(z.min)) : (N + Math.abs(z.min)) / (z.max + Math.abs(z.min))), he = o.series.map((N, ae) => [void 0, null].includes(o.absoluteValues[ae]) ? {
886
- x: P(c.value.left + q.value.line / 2 + q.value.line * ae),
885
+ }), Ll = o.absoluteValues.map((N) => z.min >= 0 ? (N - Math.abs(z.min)) / (z.max - Math.abs(z.min)) : (N + Math.abs(z.min)) / (z.max + Math.abs(z.min))), he = o.series.map((N, oe) => [void 0, null].includes(o.absoluteValues[oe]) ? {
886
+ x: P(c.value.left + q.value.line / 2 + q.value.line * oe),
887
887
  y: Z,
888
- value: o.absoluteValues[ae],
889
- comment: o.comments && o.comments.slice(m.value.start, m.value.end)[ae] || ""
888
+ value: o.absoluteValues[oe],
889
+ comment: o.comments && o.comments.slice(m.value.start, m.value.end)[oe] || ""
890
890
  } : {
891
- x: P(c.value.left + q.value.line / 2 + q.value.line * ae),
892
- y: P(c.value.bottom - B - (H * Ll[ae] || 0)),
893
- value: o.absoluteValues[ae],
894
- comment: o.comments && o.comments.slice(m.value.start, m.value.end)[ae] || ""
895
- }), De = l.value.line.cutNullValues ? Ia(ce) : Oa(ce.filter((N) => N.value !== null)), W = l.value.line.cutNullValues ? Ia(he) : Oa(he.filter((N) => N.value !== null)), J = l.value.line.cutNullValues ? Na(ce) : Va(ce.filter((N) => N.value !== null)), R = l.value.line.cutNullValues ? Na(he) : Va(he.filter((N) => N.value !== null)), K = F.ticks.map((N) => ({
891
+ x: P(c.value.left + q.value.line / 2 + q.value.line * oe),
892
+ y: P(c.value.bottom - B - (H * Ll[oe] || 0)),
893
+ value: o.absoluteValues[oe],
894
+ comment: o.comments && o.comments.slice(m.value.start, m.value.end)[oe] || ""
895
+ }), De = l.value.line.cutNullValues ? It(ce) : Ot(ce.filter((N) => N.value !== null)), W = l.value.line.cutNullValues ? It(he) : Ot(he.filter((N) => N.value !== null)), J = l.value.line.cutNullValues ? Nt(ce) : Vt(ce.filter((N) => N.value !== null)), R = l.value.line.cutNullValues ? Nt(he) : Vt(he.filter((N) => N.value !== null)), K = F.ticks.map((N) => ({
896
896
  y: N >= 0 ? Z - H * (N / U) : Z + H * Math.abs(N) / U,
897
897
  value: N,
898
898
  prefix: o.prefix || l.value.chart.labels.prefix,
899
899
  suffix: o.suffix || l.value.chart.labels.suffix,
900
900
  datapoint: o
901
901
  })), Ee = z.ticks.map((N) => {
902
- const ae = (N - z.min) / (z.max - z.min);
902
+ const oe = (N - z.min) / (z.max - z.min);
903
903
  return {
904
- y: N >= 0 ? xe - H * ae : xe + H * ae,
904
+ y: N >= 0 ? pe - H * oe : pe + H * oe,
905
905
  value: N,
906
906
  prefix: o.prefix || l.value.chart.labels.prefix,
907
907
  suffix: o.suffix || l.value.chart.labels.suffix,
908
908
  datapoint: o
909
909
  };
910
910
  });
911
- M.value[o.scaleLabel].name = o.name, M.value[o.scaleLabel].groupName = o.scaleLabel, M.value[o.scaleLabel].groupColor = l.value.chart.grid.labels.yAxis.groupColor || o.color, M.value[o.scaleLabel].color = o.color, M.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Ee : K, M.value[o.scaleLabel].zeroPosition = o.autoScaling ? xe : Z, M.value[o.scaleLabel].individualMax = o.autoScaling ? ke : U, M.value[o.scaleLabel].scaleLabel = o.scaleLabel, M.value[o.scaleLabel].id = o.id, M.value[o.scaleLabel].yOffset = B, M.value[o.scaleLabel].individualHeight = H, M.value[o.scaleLabel].autoScaleYLabels = Ee, M.value[o.scaleLabel].unique = Je.value.filter((N) => N.scaleLabel === o.scaleLabel).length === 1;
912
- const Qe = f.value.useIndividualScale ? o.autoScaling ? xe : Z : ie.value, Ml = Math.max(Math.max(o.autoScaling ? xe : K.at(-1) ? K.at(-1).y : 0, c.value.top), Qe);
911
+ M.value[o.scaleLabel].name = o.name, M.value[o.scaleLabel].groupName = o.scaleLabel, M.value[o.scaleLabel].groupColor = l.value.chart.grid.labels.yAxis.groupColor || o.color, M.value[o.scaleLabel].color = o.color, M.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Ee : K, M.value[o.scaleLabel].zeroPosition = o.autoScaling ? pe : Z, M.value[o.scaleLabel].individualMax = o.autoScaling ? ke : U, M.value[o.scaleLabel].scaleLabel = o.scaleLabel, M.value[o.scaleLabel].id = o.id, M.value[o.scaleLabel].yOffset = B, M.value[o.scaleLabel].individualHeight = H, M.value[o.scaleLabel].autoScaleYLabels = Ee, M.value[o.scaleLabel].unique = Je.value.filter((N) => N.scaleLabel === o.scaleLabel).length === 1;
912
+ const Qe = f.value.useIndividualScale ? o.autoScaling ? pe : Z : ne.value, Ml = Math.max(Math.max(o.autoScaling ? pe : K.at(-1) ? K.at(-1).y : 0, c.value.top), Qe);
913
913
  return {
914
914
  ...o,
915
915
  yOffset: B,
@@ -918,16 +918,16 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
918
918
  scaleYLabels: o.autoScaling ? Ee : K,
919
919
  individualScale: o.autoScaling ? z : F,
920
920
  individualMax: o.autoScaling ? ke : U,
921
- zeroPosition: o.autoScaling ? xe : Z,
921
+ zeroPosition: o.autoScaling ? pe : Z,
922
922
  curve: o.autoScaling ? W : De,
923
923
  plots: o.autoScaling ? he : ce,
924
- area: o.useArea ? f.value.useIndividualScale ? l.value.line.cutNullValues ? Pa(
924
+ area: o.useArea ? f.value.useIndividualScale ? l.value.line.cutNullValues ? Pt(
925
925
  o.autoScaling ? he : ce,
926
926
  Ml
927
- ) : Fa(
927
+ ) : Ft(
928
928
  o.autoScaling ? he.filter((N) => N.value !== null) : ce.filter((N) => N.value !== null),
929
929
  Ml
930
- ) : l.value.line.cutNullValues ? Pa(ce, Ml) : Fa(ce.filter((N) => N.value !== null), Ml) : "",
930
+ ) : l.value.line.cutNullValues ? Pt(ce, Ml) : Ft(ce.filter((N) => N.value !== null), Ml) : "",
931
931
  curveAreas: o.useArea ? jo(
932
932
  o.autoScaling ? l.value.line.cutNullValues ? he : he.filter((N) => N.value !== null) : l.value.line.cutNullValues ? ce : ce.filter((N) => N.value !== null),
933
933
  Ml,
@@ -937,10 +937,10 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
937
937
  groupId: M.value[o.scaleLabel].groupId
938
938
  };
939
939
  });
940
- }), ye = b(() => {
941
- const t = Je.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), s = t.length, e = l.value.chart.grid.labels.yAxis.gap, u = f.value.isStacked, a = u ? e * (s - 1) : 0, i = c.value.height - a;
942
- return t.filter((o) => o.type === "plot").map((o) => {
943
- mt(o);
940
+ }), be = b(() => {
941
+ const a = Je.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), s = a.length, e = l.value.chart.grid.labels.yAxis.gap, u = f.value.isStacked, t = u ? e * (s - 1) : 0, i = c.value.height - t;
942
+ return a.filter((o) => o.type === "plot").map((o) => {
943
+ ma(o);
944
944
  const A = M.value[o.scaleLabel].min, C = M.value[o.scaleLabel].max;
945
945
  o.absoluteValues.filter((W) => ![null, void 0].includes(W)).map((W) => (W - A) / (C - A));
946
946
  const O = {
@@ -949,17 +949,17 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
949
949
  }, S = {
950
950
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
951
951
  min: o.scaleMin || Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues)
952
- }, T = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, Y = 1.0000001, k = al(S.min, S.max === S.min ? S.max * Y : S.max, T), F = al(O.valueMin, O.valueMax === O.valueMin ? O.valueMax * Y : O.valueMax, T), z = k.min >= 0 ? 0 : Math.abs(k.min), le = 0, re = k.max + z, U = F.max + Math.abs(le), ke = o.stackIndex, Oe = s - 1 - ke, cl = u ? 1 - o.cumulatedStackRatio : 0, be = u ? i * cl + e * Oe : 0, B = u ? i * o.stackRatio : c.value.height, H = c.value.bottom - be - B * z / re, Z = c.value.bottom - be - B * le / U, xe = o.series.map((W, J) => {
952
+ }, T = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, Y = 1.0000001, k = tl(S.min, S.max === S.min ? S.max * Y : S.max, T), F = tl(O.valueMin, O.valueMax === O.valueMin ? O.valueMax * Y : O.valueMax, T), z = k.min >= 0 ? 0 : Math.abs(k.min), le = 0, re = k.max + z, U = F.max + Math.abs(le), ke = o.stackIndex, Oe = s - 1 - ke, cl = u ? 1 - o.cumulatedStackRatio : 0, xe = u ? i * cl + e * Oe : 0, B = u ? i * o.stackRatio : c.value.height, H = c.value.bottom - xe - B * z / re, Z = c.value.bottom - xe - B * le / U, pe = o.series.map((W, J) => {
953
953
  const R = f.value.useIndividualScale ? (o.absoluteValues[J] + Math.abs(z)) / re : qe(W);
954
954
  return {
955
955
  x: P(c.value.left + q.value.plot / 2 + q.value.plot * J),
956
- y: P(c.value.bottom - be - B * R),
956
+ y: P(c.value.bottom - xe - B * R),
957
957
  value: o.absoluteValues[J],
958
958
  comment: o.comments && o.comments.slice(m.value.start, m.value.end)[J] || ""
959
959
  };
960
960
  }), ce = o.absoluteValues.map((W) => F.min >= 0 ? (W - Math.abs(F.min)) / (F.max - Math.abs(F.min)) : (W + Math.abs(F.min)) / (F.max + Math.abs(F.min))), Ll = o.series.map((W, J) => ({
961
961
  x: P(c.value.left + q.value.plot / 2 + q.value.plot * J),
962
- y: P(c.value.bottom - be - (B * ce[J] || 0)),
962
+ y: P(c.value.bottom - xe - (B * ce[J] || 0)),
963
963
  value: o.absoluteValues[J],
964
964
  comment: o.comments && o.comments.slice(m.value.start, m.value.end)[J] || ""
965
965
  })), he = k.ticks.map((W) => ({
@@ -978,21 +978,21 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
978
978
  datapoint: o
979
979
  };
980
980
  });
981
- return M.value[o.scaleLabel].name = o.name, M.value[o.scaleLabel].groupName = o.scaleLabel, M.value[o.scaleLabel].groupColor = l.value.chart.grid.labels.yAxis.groupColor || o.color, M.value[o.scaleLabel].color = o.color, M.value[o.scaleLabel].scaleYLabels = o.autoScaling ? De : he, M.value[o.scaleLabel].zeroPosition = o.autoScaling ? Z : H, M.value[o.scaleLabel].individualMax = o.autoScaling ? U : re, M.value[o.scaleLabel].scaleLabel = o.scaleLabel, M.value[o.scaleLabel].id = o.id, M.value[o.scaleLabel].yOffset = be, M.value[o.scaleLabel].individualHeight = B, M.value[o.scaleLabel].autoScaleYLabels = De, M.value[o.scaleLabel].unique = Je.value.filter((W) => W.scaleLabel === o.scaleLabel).length === 1, {
981
+ return M.value[o.scaleLabel].name = o.name, M.value[o.scaleLabel].groupName = o.scaleLabel, M.value[o.scaleLabel].groupColor = l.value.chart.grid.labels.yAxis.groupColor || o.color, M.value[o.scaleLabel].color = o.color, M.value[o.scaleLabel].scaleYLabels = o.autoScaling ? De : he, M.value[o.scaleLabel].zeroPosition = o.autoScaling ? Z : H, M.value[o.scaleLabel].individualMax = o.autoScaling ? U : re, M.value[o.scaleLabel].scaleLabel = o.scaleLabel, M.value[o.scaleLabel].id = o.id, M.value[o.scaleLabel].yOffset = xe, M.value[o.scaleLabel].individualHeight = B, M.value[o.scaleLabel].autoScaleYLabels = De, M.value[o.scaleLabel].unique = Je.value.filter((W) => W.scaleLabel === o.scaleLabel).length === 1, {
982
982
  ...o,
983
- yOffset: be,
983
+ yOffset: xe,
984
984
  autoScaleYLabels: De,
985
985
  individualHeight: B,
986
986
  scaleYLabels: o.autoScaling ? De : he,
987
987
  individualScale: o.autoScaling ? F : k,
988
988
  individualMax: o.autoScaling ? U : re,
989
989
  zeroPosition: o.autoScaling ? Z : H,
990
- plots: o.autoScaling ? Ll : xe,
990
+ plots: o.autoScaling ? Ll : pe,
991
991
  groupId: M.value[o.scaleLabel].groupId
992
992
  };
993
993
  });
994
994
  }), Sl = b(() => {
995
- const t = ne.value.map((i) => ({
995
+ const a = te.value.map((i) => ({
996
996
  name: i.name,
997
997
  color: i.color,
998
998
  scale: i.individualScale,
@@ -1004,7 +1004,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1004
1004
  yOffset: i.yOffset || 0,
1005
1005
  individualHeight: i.individualHeight || c.value.height,
1006
1006
  autoScaleYLabels: i.autoScaleYLabels
1007
- })), s = Ie.value.map((i) => ({
1007
+ })), s = Me.value.map((i) => ({
1008
1008
  name: i.name,
1009
1009
  color: i.color,
1010
1010
  scale: i.individualScale,
@@ -1015,7 +1015,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1015
1015
  id: i.id,
1016
1016
  yOffset: i.yOffset || 0,
1017
1017
  individualHeight: i.individualHeight || c.value.height
1018
- })), e = ye.value.map((i) => ({
1018
+ })), e = be.value.map((i) => ({
1019
1019
  name: i.name,
1020
1020
  color: i.color,
1021
1021
  scale: i.individualScale,
@@ -1027,17 +1027,17 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1027
1027
  id: i.id,
1028
1028
  yOffset: i.yOffset || 0,
1029
1029
  individualHeight: i.individualHeight || c.value.height
1030
- })), u = f.value.useIndividualScale && !f.value.isStacked ? Object.values(M.value) : [...t, ...s, ...e], a = u.flatMap((i) => i).length;
1030
+ })), u = f.value.useIndividualScale && !f.value.isStacked ? Object.values(M.value) : [...a, ...s, ...e], t = u.flatMap((i) => i).length;
1031
1031
  return u.flatMap((i, o) => {
1032
1032
  let A = 0;
1033
- A = f.value.isStacked ? c.value.left : c.value.left / a * (o + 1);
1033
+ A = f.value.isStacked ? c.value.left : c.value.left / t * (o + 1);
1034
1034
  const C = f.value.useIndividualScale && !f.value.isStacked ? i.unique ? i.name : i.groupName : i.name;
1035
1035
  return {
1036
1036
  unique: i.unique,
1037
1037
  id: i.id,
1038
1038
  groupId: i.groupId,
1039
1039
  scaleLabel: i.scaleLabel,
1040
- name: oe(
1040
+ name: se(
1041
1041
  l.value.chart.grid.labels.yAxis.serieNameFormatter,
1042
1042
  C,
1043
1043
  C,
@@ -1054,14 +1054,14 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1054
1054
  }))
1055
1055
  };
1056
1056
  });
1057
- }), ca = b(() => {
1058
- const t = l.value.line.interLine || {}, s = t.pairs || [], e = t.colors || [];
1057
+ }), ct = b(() => {
1058
+ const a = l.value.line.interLine || {}, s = a.pairs || [], e = a.colors || [];
1059
1059
  if (!s.length) return [];
1060
1060
  const u = [];
1061
- return s.forEach((a, i) => {
1062
- const [o, A] = Array.isArray(a) ? a : [a.a, a.b];
1061
+ return s.forEach((t, i) => {
1062
+ const [o, A] = Array.isArray(t) ? t : [t.a, t.b];
1063
1063
  if (!o || !A) return;
1064
- const C = ne.value.find((k) => k.name === o), O = ne.value.find((k) => k.name === A);
1064
+ const C = te.value.find((k) => k.name === o), O = te.value.find((k) => k.name === A);
1065
1065
  if (!C || !O || C.type !== "line" || O.type !== "line") return;
1066
1066
  const S = e?.[i]?.[0] ?? C.color, T = e?.[i]?.[1] ?? O.color;
1067
1067
  es({
@@ -1077,38 +1077,38 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1077
1077
  u.push({ ...k, key: `inter_${o}_${A}_${i}_${F}` });
1078
1078
  });
1079
1079
  }), u;
1080
- }), va = b(() => ({
1080
+ }), vt = b(() => ({
1081
1081
  datapoint: Ke.value,
1082
1082
  seriesIndex: _.value,
1083
1083
  series: Le.value,
1084
- bars: Ie.value,
1085
- lines: ne.value,
1086
- plots: ye.value,
1084
+ bars: Me.value,
1085
+ lines: te.value,
1086
+ plots: be.value,
1087
1087
  config: l.value
1088
1088
  })), rl = b(() => {
1089
- const t = l.value.chart.grid.labels.xAxisLabels.datetimeFormatter, s = ds({
1090
- useUTC: t.useUTC,
1091
- locale: hs[t.locale] || { months: [], shortMonths: [], days: [], shortDays: [] },
1092
- januaryAsYear: t.januaryAsYear
1089
+ const a = l.value.chart.grid.labels.xAxisLabels.datetimeFormatter, s = ds({
1090
+ useUTC: a.useUTC,
1091
+ locale: hs[a.locale] || { months: [], shortMonths: [], days: [], shortDays: [] },
1092
+ januaryAsYear: a.januaryAsYear
1093
1093
  });
1094
1094
  return (e, u) => {
1095
1095
  const i = l.value.chart.grid.labels.xAxisLabels.values?.[e];
1096
1096
  return i == null ? "" : s.formatDate(new Date(i), u);
1097
1097
  };
1098
- }), da = b(() => (l.value.chart.grid.labels.xAxisLabels.values || []).map((s, e) => ({
1098
+ }), dt = b(() => (l.value.chart.grid.labels.xAxisLabels.values || []).map((s, e) => ({
1099
1099
  text: rl.value(e, l.value.chart.zoom.timeFormat),
1100
1100
  absoluteIndex: e
1101
1101
  }))), To = b(() => {
1102
- let t = "", s = Ke.value.map((a) => a.value).filter((a) => ql(a) && a !== null).reduce((a, i) => Math.abs(a) + Math.abs(i), 0);
1102
+ let a = "", s = Ke.value.map((t) => t.value).filter((t) => ql(t) && t !== null).reduce((t, i) => Math.abs(t) + Math.abs(i), 0);
1103
1103
  const e = de.value[_.value], u = l.value.chart.tooltip.customFormat;
1104
- if (Ra(u) && ls(() => u({
1104
+ if (Rt(u) && ls(() => u({
1105
1105
  absoluteIndex: _.value + m.value.start,
1106
1106
  seriesIndex: _.value,
1107
1107
  datapoint: Ke.value,
1108
1108
  series: Le.value,
1109
- bars: Ie.value,
1110
- lines: ne.value,
1111
- plots: ye.value,
1109
+ bars: Me.value,
1110
+ lines: te.value,
1111
+ plots: be.value,
1112
1112
  config: l.value
1113
1113
  })))
1114
1114
  return u({
@@ -1116,97 +1116,97 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1116
1116
  seriesIndex: _.value,
1117
1117
  datapoint: Ke.value,
1118
1118
  series: Le.value,
1119
- bars: Ie.value,
1120
- lines: ne.value,
1121
- plots: ye.value,
1119
+ bars: Me.value,
1120
+ lines: te.value,
1121
+ plots: be.value,
1122
1122
  config: l.value
1123
1123
  });
1124
1124
  if (e && e.text && l.value.chart.tooltip.showTimeLabel) {
1125
- const a = rl.value(_.value + m.value.start, l.value.chart.tooltip.timeFormat);
1126
- t += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${l.value.chart.tooltip.borderColor}; width:100%">${l.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !l.value.chart.tooltip.useDefaultTimeFormat ? a : e.text}</div>`;
1125
+ const t = rl.value(_.value + m.value.start, l.value.chart.tooltip.timeFormat);
1126
+ a += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${l.value.chart.tooltip.borderColor}; width:100%">${l.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !l.value.chart.tooltip.useDefaultTimeFormat ? t : e.text}</div>`;
1127
1127
  }
1128
- return Ke.value.forEach((a) => {
1129
- if (ql(a.value)) {
1128
+ return Ke.value.forEach((t) => {
1129
+ if (ql(t.value)) {
1130
1130
  let i = "", o = "";
1131
- switch (bl.value[a.type]) {
1131
+ switch (bl.value[t.type]) {
1132
1132
  case "bar":
1133
- i = `<svg viewBox="0 0 40 40" height="14" width="14">${$t.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="${$t.pattern ? `url(#pattern_${D.value}_${a.slotAbsoluteIndex}` : a.color}" /></svg>`;
1133
+ i = `<svg viewBox="0 0 40 40" height="14" width="14">${$a.pattern ? `<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${t.color}" />` : ""}<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${$a.pattern ? `url(#pattern_${D.value}_${t.slotAbsoluteIndex}` : t.color}" /></svg>`;
1134
1134
  break;
1135
1135
  case "line":
1136
- !a.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(a.shape) ? o = `<circle cx="10" cy="8" r="4" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${a.color}" />` : a.shape === "triangle" ? o = `<path d="${Ne({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${a.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "square" ? o = `<path d="${Ne({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${a.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "diamond" ? o = `<path d="${Ne({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${a.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "pentagon" ? o = `<path d="${Ne({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${a.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "hexagon" ? o = `<path d="${Ne({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${a.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "star" && (o = `<polygon stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${a.color}" points="${Ba({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), i = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${a.color}" />${o}</svg>`;
1136
+ !t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ? o = `<circle cx="10" cy="8" r="4" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" />` : t.shape === "triangle" ? o = `<path d="${Ne({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "square" ? o = `<path d="${Ne({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "diamond" ? o = `<path d="${Ne({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "pentagon" ? o = `<path d="${Ne({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "hexagon" ? o = `<path d="${Ne({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "star" && (o = `<polygon stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" points="${Bt({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), i = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${t.color}" />${o}</svg>`;
1137
1137
  break;
1138
1138
  case "plot":
1139
- if (!a.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(a.shape)) {
1140
- i = `<svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" fill="${a.color}" /></svg>`;
1139
+ if (!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape)) {
1140
+ i = `<svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" /></svg>`;
1141
1141
  break;
1142
1142
  }
1143
- if (a.shape === "star") {
1144
- i = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" fill="${a.color}" points="${Ba({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
1143
+ if (t.shape === "star") {
1144
+ i = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" points="${Bt({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
1145
1145
  break;
1146
1146
  }
1147
- if (a.shape === "triangle") {
1148
- i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${Ne({ plot: { x: 6, y: 6 }, radius: 6, sides: 3, rotation: 0.52 }).path}" fill="${a.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1147
+ if (t.shape === "triangle") {
1148
+ i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${Ne({ plot: { x: 6, y: 6 }, radius: 6, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1149
1149
  break;
1150
1150
  }
1151
- if (a.shape === "square") {
1152
- i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${Ne({ plot: { x: 6, y: 6 }, radius: 6, sides: 4, rotation: 0.8 }).path}" fill="${a.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1151
+ if (t.shape === "square") {
1152
+ i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${Ne({ plot: { x: 6, y: 6 }, radius: 6, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1153
1153
  break;
1154
1154
  }
1155
- if (a.shape === "diamond") {
1156
- i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${Ne({ plot: { x: 6, y: 6 }, radius: 5, sides: 4, rotation: 0 }).path}" fill="${a.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1155
+ if (t.shape === "diamond") {
1156
+ i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${Ne({ plot: { x: 6, y: 6 }, radius: 5, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1157
1157
  break;
1158
1158
  }
1159
- if (a.shape === "pentagon") {
1160
- i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${Ne({ plot: { x: 6, y: 6 }, radius: 5, sides: 5, rotation: 0.95 }).path}" fill="${a.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1159
+ if (t.shape === "pentagon") {
1160
+ i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${Ne({ plot: { x: 6, y: 6 }, radius: 5, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1161
1161
  break;
1162
1162
  }
1163
- if (a.shape === "hexagon") {
1164
- i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${Ne({ plot: { x: 6, y: 6 }, radius: 5, sides: 6, rotation: 0 }).path}" fill="${a.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1163
+ if (t.shape === "hexagon") {
1164
+ i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${Ne({ plot: { x: 6, y: 6 }, radius: 5, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1165
1165
  break;
1166
1166
  }
1167
1167
  }
1168
- t += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;"><div style="width:20px">${i}</div> ${a.name}: <b>${l.value.chart.tooltip.showValue ? oe(
1169
- a.type === "line" ? l.value.line.labels.formatter : a.type === "bar" ? l.value.bar.labels.formatter : l.value.plot.labels.formatter,
1170
- a.value,
1168
+ a += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;"><div style="width:20px">${i}</div> ${t.name}: <b>${l.value.chart.tooltip.showValue ? se(
1169
+ t.type === "line" ? l.value.line.labels.formatter : t.type === "bar" ? l.value.bar.labels.formatter : l.value.plot.labels.formatter,
1170
+ t.value,
1171
1171
  Ve({
1172
- p: a.prefix,
1173
- v: a.value,
1174
- s: a.suffix,
1172
+ p: t.prefix,
1173
+ v: t.value,
1174
+ s: t.suffix,
1175
1175
  r: l.value.chart.tooltip.roundingValue
1176
1176
  }),
1177
- { datapoint: a }
1177
+ { datapoint: t }
1178
1178
  ) : ""}</b> ${l.value.chart.tooltip.showPercentage ? `(${Ve({
1179
- v: P(Math.abs(a.value) / s * 100),
1179
+ v: P(Math.abs(t.value) / s * 100),
1180
1180
  s: "%",
1181
1181
  r: l.value.chart.tooltip.roundingPercentage
1182
- })})` : ""}</div>`, l.value.chart.comments.showInTooltip && a.comments.length && a.comments.slice(m.value.start, m.value.end)[_.value] && (t += `<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>`);
1182
+ })})` : ""}</div>`, l.value.chart.comments.showInTooltip && t.comments.length && t.comments.slice(m.value.start, m.value.end)[_.value] && (a += `<div class="vue-data-ui-tooltip-comment" style="background:${t.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${t.color}">${t.comments.slice(m.value.start, m.value.end)[_.value]}</div>`);
1183
1183
  }
1184
- }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${l.value.chart.tooltip.color}">${t}</div>`;
1185
- }), ha = b(() => {
1184
+ }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${l.value.chart.tooltip.color}">${a}</div>`;
1185
+ }), ht = b(() => {
1186
1186
  if (Fe.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
1187
- const t = pe.value.map((e) => ({
1187
+ const a = ye.value.map((e) => ({
1188
1188
  label: e.name,
1189
1189
  color: e.color,
1190
1190
  type: e.type
1191
1191
  })), s = [];
1192
1192
  return de.value.forEach((e, u) => {
1193
- const a = l.value.table.useDefaultTimeFormat ? [e.text] : [rl.value(u + m.value.start, l.value.table.timeFormat)];
1194
- pe.value.forEach((i) => {
1195
- a.push(me(i.absoluteValues[u]) ? Number(i.absoluteValues[u].toFixed(l.value.table.rounding)) : "");
1196
- }), s.push(a);
1197
- }), { head: t, body: s };
1193
+ const t = l.value.table.useDefaultTimeFormat ? [e.text] : [rl.value(u + m.value.start, l.value.table.timeFormat)];
1194
+ ye.value.forEach((i) => {
1195
+ t.push(me(i.absoluteValues[u]) ? Number(i.absoluteValues[u].toFixed(l.value.table.rounding)) : "");
1196
+ }), s.push(t);
1197
+ }), { head: a, body: s };
1198
1198
  }), Xl = b(() => {
1199
- const t = l.value.table.showSum;
1200
- let s = [""].concat(pe.value.map((i) => i.name));
1201
- t && (s = s.concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>'));
1199
+ const a = l.value.table.showSum;
1200
+ let s = [""].concat(ye.value.map((i) => i.name));
1201
+ a && (s = s.concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>'));
1202
1202
  let e = [];
1203
1203
  for (let i = 0; i < L.value; i += 1) {
1204
- const o = pe.value.map((A) => A.absoluteValues[i] ?? 0).reduce((A, C) => A + C, 0);
1204
+ const o = ye.value.map((A) => A.absoluteValues[i] ?? 0).reduce((A, C) => A + C, 0);
1205
1205
  e.push(
1206
1206
  [
1207
1207
  l.value.table.useDefaultTimeFormat ? de.value[i].text ?? "-" : rl.value(i + m.value.start, l.value.table.timeFormat)
1208
- ].concat(pe.value.map(
1209
- (A) => oe(
1208
+ ].concat(ye.value.map(
1209
+ (A) => se(
1210
1210
  A.type === "line" ? l.value.line.labels.formatter : A.type === "bar" ? l.value.bar.labels.formatter : l.value.plot.labels.formatter,
1211
1211
  A.absoluteValues[i] ?? 0,
1212
1212
  Ve({
@@ -1216,7 +1216,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1216
1216
  r: l.value.table.rounding
1217
1217
  })
1218
1218
  )
1219
- )).concat(t ? (o ?? 0).toFixed(l.value.table.rounding) : [])
1219
+ )).concat(a ? (o ?? 0).toFixed(l.value.table.rounding) : [])
1220
1220
  );
1221
1221
  }
1222
1222
  const u = {
@@ -1231,36 +1231,36 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1231
1231
  outline: l.value.table.td.outline
1232
1232
  },
1233
1233
  breakpoint: l.value.table.responsiveBreakpoint
1234
- }, a = [l.value.table.columnNames.period].concat(pe.value.map((i) => i.name)).concat(l.value.table.columnNames.total);
1235
- return { head: s, body: e, config: u, colNames: a };
1234
+ }, t = [l.value.table.columnNames.period].concat(ye.value.map((i) => i.name)).concat(l.value.table.columnNames.total);
1235
+ return { head: s, body: e, config: u, colNames: t };
1236
1236
  });
1237
- function bt(t = null) {
1238
- const s = [[l.value.chart.title.text], [l.value.chart.title.subtitle.text], [""]], e = ["", ...ha.value.head.map((o) => o.label)], u = ha.value.body, a = s.concat([e]).concat(u), i = ss(a);
1239
- t ? t(i) : us({ csvContent: i, title: l.value.chart.title.text || "vue-ui-xy" });
1237
+ function ba(a = null) {
1238
+ const s = [[l.value.chart.title.text], [l.value.chart.title.subtitle.text], [""]], e = ["", ...ht.value.head.map((o) => o.label)], u = ht.value.body, t = s.concat([e]).concat(u), i = ss(t);
1239
+ a ? a(i) : us({ csvContent: i, title: l.value.chart.title.text || "vue-ui-xy" });
1240
1240
  }
1241
- function fa(t, s = null) {
1242
- Mt.value = t;
1243
- const e = pe.value.map((u) => ({
1241
+ function ft(a, s = null) {
1242
+ Ma.value = a;
1243
+ const e = ye.value.map((u) => ({
1244
1244
  name: u.name,
1245
1245
  value: [null, void 0, NaN].includes(u.absoluteValues[s]) ? null : u.absoluteValues[s],
1246
1246
  color: u.color,
1247
1247
  type: u.type
1248
1248
  }));
1249
- t ? (_.value = s, l.value.events.datapointEnter && l.value.events.datapointEnter({ datapoint: e, seriesIndex: s + m.value.start })) : (_.value = null, l.value.events.datapointLeave && l.value.events.datapointLeave({ datapoint: e, seriesIndex: s + m.value.start }));
1249
+ a ? (_.value = s, l.value.events.datapointEnter && l.value.events.datapointEnter({ datapoint: e, seriesIndex: s + m.value.start })) : (_.value = null, l.value.events.datapointLeave && l.value.events.datapointLeave({ datapoint: e, seriesIndex: s + m.value.start }));
1250
1250
  }
1251
- function ga() {
1251
+ function gt() {
1252
1252
  f.value.showTable = !f.value.showTable;
1253
1253
  }
1254
- function ma() {
1254
+ function mt() {
1255
1255
  f.value.dataLabels.show = !f.value.dataLabels.show;
1256
1256
  }
1257
- function ba() {
1257
+ function bt() {
1258
1258
  f.value.showTooltip = !f.value.showTooltip;
1259
1259
  }
1260
- function xa(t) {
1261
- Ge.value = t, At.value += 1;
1260
+ function xt(a) {
1261
+ Ge.value = a, Aa.value += 1;
1262
1262
  }
1263
- function pa() {
1263
+ function pt() {
1264
1264
  if (!l.value.responsiveProportionalSizing) {
1265
1265
  y.value.dataLabels = l.value.chart.grid.labels.fontSize, y.value.yAxis = l.value.chart.grid.labels.axis.fontSize, y.value.xAxis = l.value.chart.grid.labels.xAxisLabels.fontSize, y.value.plotLabels = l.value.chart.labels.fontSize, we.value.plot = l.value.plot.radius, we.value.line = l.value.line.radius;
1266
1266
  return;
@@ -1303,13 +1303,13 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1303
1303
  fallback: 1
1304
1304
  });
1305
1305
  }
1306
- function xt() {
1307
- Ha(g.dataset) ? (_t({
1306
+ function xa() {
1307
+ Ht(g.dataset) ? (_a({
1308
1308
  componentName: "VueUiXy",
1309
1309
  type: "dataset",
1310
1310
  debug: yl.value
1311
1311
  }), Ol.value = !0) : g.dataset.forEach((s, e) => {
1312
- [null, void 0].includes(s.name) && (_t({
1312
+ [null, void 0].includes(s.name) && (_a({
1313
1313
  componentName: "VueUiXy",
1314
1314
  type: "datasetSerieAttribute",
1315
1315
  property: "name (string)",
@@ -1322,42 +1322,42 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1322
1322
  -----> The serie '${s.name}' contains the value '${e}' at index ${u}.
1323
1323
  '${e}' was converted to null to allow the chart to display.`);
1324
1324
  });
1325
- }), Ha(g.dataset) || (Ol.value = l.value.loading), zt.value = l.value.chart.userOptions.showOnChartHover, ut.value = l.value.chart.userOptions.keepStateOnChartLeave, zl.value = !l.value.chart.userOptions.showOnChartHover, ct();
1326
- const t = 12;
1325
+ }), Ht(g.dataset) || (Ol.value = l.value.loading), za.value = l.value.chart.userOptions.showOnChartHover, ua.value = l.value.chart.userOptions.keepStateOnChartLeave, zl.value = !l.value.chart.userOptions.showOnChartHover, ca();
1326
+ const a = 12;
1327
1327
  if (l.value.responsive) {
1328
- const e = Ce.value.parentNode;
1329
- Re.value && (Re.value.unobserve(ot.value), Re.value.disconnect());
1330
- const { height: u, width: a } = e.getBoundingClientRect();
1328
+ const e = Te.value.parentNode;
1329
+ Re.value && (Re.value.unobserve(oa.value), Re.value.disconnect());
1330
+ const { height: u, width: t } = e.getBoundingClientRect();
1331
1331
  let i = null, o = 0;
1332
1332
  l.value.chart.title.show && fl.value && (i = fl.value, o = i.getBoundingClientRect().height);
1333
1333
  let A = null, C = 0;
1334
- l.value.chart.zoom.show && ze.value > 6 && rt.value && Te.value && Te.value.$el && (A = Te.value.$el, C = A.getBoundingClientRect().height);
1334
+ l.value.chart.zoom.show && Ie.value > 6 && ra.value && ze.value && ze.value.$el && (A = ze.value.$el, C = A.getBoundingClientRect().height);
1335
1335
  let O = null, S = 0;
1336
1336
  l.value.chart.legend.show && sl.value && (O = sl.value, S = O.getBoundingClientRect().height);
1337
1337
  let T = 0;
1338
1338
  gl.value && (T = gl.value.getBoundingClientRect().height);
1339
1339
  let Y = 0;
1340
- ml.value && (Y = ml.value.getBoundingClientRect().height), ve.value = u - o - S - C - T - Y - t, Q.value = a, Tl.value = `0 0 ${Q.value < 0 ? 10 : Q.value} ${ve.value < 0 ? 10 : ve.value}`, pa();
1340
+ ml.value && (Y = ml.value.getBoundingClientRect().height), ve.value = u - o - S - C - T - Y - a, Q.value = t, Tl.value = `0 0 ${Q.value < 0 ? 10 : Q.value} ${ve.value < 0 ? 10 : ve.value}`, pt();
1341
1341
  const k = new ResizeObserver((F) => {
1342
1342
  for (const z of F)
1343
- l.value.chart.title.show && fl.value ? o = fl.value.getBoundingClientRect().height : o = 0, Te.value && Te.value.$el ? C = Te.value.$el.getBoundingClientRect().height : C = 0, sl.value ? S = sl.value.getBoundingClientRect().height : S = 0, gl.value ? T = gl.value.getBoundingClientRect().height : T = 0, ml.value ? Y = ml.value.getBoundingClientRect().height : Y = 0, requestAnimationFrame(() => {
1344
- ve.value = z.contentRect.height - o - S - C - T - Y - t, Q.value = z.contentBoxSize[0].inlineSize, Tl.value = `0 0 ${Q.value < 0 ? 10 : Q.value} ${ve.value < 0 ? 10 : ve.value}`, pa();
1343
+ l.value.chart.title.show && fl.value ? o = fl.value.getBoundingClientRect().height : o = 0, ze.value && ze.value.$el ? C = ze.value.$el.getBoundingClientRect().height : C = 0, sl.value ? S = sl.value.getBoundingClientRect().height : S = 0, gl.value ? T = gl.value.getBoundingClientRect().height : T = 0, ml.value ? Y = ml.value.getBoundingClientRect().height : Y = 0, requestAnimationFrame(() => {
1344
+ ve.value = z.contentRect.height - o - S - C - T - Y - a, Q.value = z.contentBoxSize[0].inlineSize, Tl.value = `0 0 ${Q.value < 0 ? 10 : Q.value} ${ve.value < 0 ? 10 : ve.value}`, pt();
1345
1345
  });
1346
1346
  });
1347
- Re.value = k, ot.value = e, k.observe(e);
1347
+ Re.value = k, oa.value = e, k.observe(e);
1348
1348
  } else
1349
1349
  ve.value = l.value.chart.height, Q.value = l.value.chart.width, y.value.dataLabels = l.value.chart.grid.labels.fontSize, y.value.yAxis = l.value.chart.grid.labels.axis.fontSize, y.value.xAxis = l.value.chart.grid.labels.xAxisLabels.fontSize, y.value.plotLabels = l.value.chart.labels.fontSize, we.value.plot = l.value.plot.radius, we.value.line = l.value.line.radius, Tl.value = `0 0 ${Q.value} ${ve.value}`;
1350
1350
  }
1351
- function ya(t) {
1351
+ function yt(a) {
1352
1352
  eo.value = {
1353
- x: t.clientX,
1354
- y: t.clientY
1353
+ x: a.clientX,
1354
+ y: a.clientY
1355
1355
  };
1356
1356
  }
1357
1357
  Ul(() => {
1358
- xt(), Rl(), document.addEventListener("mousemove", ya, { passive: !0 }), document.addEventListener("scroll", Yt, { passive: !0 });
1359
- }), yt(() => {
1360
- document.removeEventListener("scroll", Yt, { passive: !0 }), document.removeEventListener("mousemove", ya, { passive: !0 }), Re.value && (Re.value.unobserve(ot.value), Re.value.disconnect(), Re.value = null);
1358
+ xa(), Rl(), document.addEventListener("mousemove", yt, { passive: !0 }), document.addEventListener("scroll", Ya, { passive: !0 });
1359
+ }), ya(() => {
1360
+ document.removeEventListener("scroll", Ya, { passive: !0 }), document.removeEventListener("mousemove", yt, { passive: !0 }), Re.value && (Re.value.unobserve(oa.value), Re.value.disconnect(), Re.value = null);
1361
1361
  }), gs({
1362
1362
  timeLabelsEls: ul,
1363
1363
  timeLabels: de,
@@ -1370,53 +1370,53 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1370
1370
  width: Q,
1371
1371
  rotation: l.value.chart.grid.labels.xAxisLabels.autoRotate.angle
1372
1372
  });
1373
- const Gl = x(!1), ka = x(null), _a = x(200), zo = b(
1373
+ const Gl = x(!1), kt = x(null), _t = x(200), zo = b(
1374
1374
  () => _.value ?? V.value ?? 0
1375
1375
  );
1376
1376
  function Io() {
1377
- const t = Math.ceil(_a.value || 200);
1378
- return Math.min(Math.max(t, 1), 200);
1377
+ const a = Math.ceil(_t.value || 200);
1378
+ return Math.min(Math.max(a, 1), 200);
1379
1379
  }
1380
1380
  function Oo() {
1381
- const t = Io(), s = 200, e = Math.max(1, L.value), u = c.value.width / e, i = c.value.left + zo.value * u + u / 2 - t / 2 - (s - t) / 2, o = c.value.left - (s - t) / 2, A = c.value.right - (s + t) / 2, C = Math.max(o, Math.min(i, A));
1381
+ const a = Io(), s = 200, e = Math.max(1, L.value), u = c.value.width / e, i = c.value.left + zo.value * u + u / 2 - a / 2 - (s - a) / 2, o = c.value.left - (s - a) / 2, A = c.value.right - (s + a) / 2, C = Math.max(o, Math.min(i, A));
1382
1382
  return P(C);
1383
1383
  }
1384
1384
  Ul(() => {
1385
- let t = null, s = null;
1385
+ let a = null, s = null;
1386
1386
  const e = (i) => {
1387
1387
  cancelAnimationFrame(s), s = requestAnimationFrame(() => {
1388
- _a.value = Math.min(Math.max(Math.ceil(i || 0), 1), 200);
1388
+ _t.value = Math.min(Math.max(Math.ceil(i || 0), 1), 200);
1389
1389
  });
1390
1390
  }, u = new ResizeObserver((i) => {
1391
- let o = i.find((A) => A.target === t) || i[0];
1391
+ let o = i.find((A) => A.target === a) || i[0];
1392
1392
  o && e(o.contentRect.width || 200);
1393
- }), a = La((i) => {
1394
- const o = ka.value;
1395
- t && t !== o && (u.unobserve(t), t = null), o && o !== t && (Ma(() => {
1393
+ }), t = Lt((i) => {
1394
+ const o = kt.value;
1395
+ a && a !== o && (u.unobserve(a), a = null), o && o !== a && (Mt(() => {
1396
1396
  o.offsetParent !== null && e(o.offsetWidth || o.getBoundingClientRect().width || 200);
1397
- }), u.observe(o), t = o), i(() => {
1398
- t && (u.unobserve(t), t = null);
1397
+ }), u.observe(o), a = o), i(() => {
1398
+ a && (u.unobserve(a), a = null);
1399
1399
  });
1400
1400
  });
1401
- yt(() => {
1401
+ ya(() => {
1402
1402
  try {
1403
- t && u.unobserve(t), u.disconnect(), a();
1403
+ a && u.unobserve(a), u.disconnect(), t();
1404
1404
  } catch {
1405
1405
  }
1406
1406
  });
1407
1407
  });
1408
1408
  const No = b(() => {
1409
1409
  if ([null, void 0].includes(_.value) && [null, void 0].includes(V.value)) return "";
1410
- const t = (_.value != null ? _.value : 0) || (V.value != null ? V.value : 0), s = l.value.chart.timeTag.customFormat;
1411
- if (Gl.value = !1, Ra(s))
1410
+ const a = (_.value != null ? _.value : 0) || (V.value != null ? V.value : 0), s = l.value.chart.timeTag.customFormat;
1411
+ if (Gl.value = !1, Rt(s))
1412
1412
  try {
1413
1413
  const e = s({
1414
- absoluteIndex: t + m.value.start,
1415
- seriesIndex: t,
1414
+ absoluteIndex: a + m.value.start,
1415
+ seriesIndex: a,
1416
1416
  datapoint: Ke.value,
1417
- bars: Ie.value,
1418
- lines: ne.value,
1419
- plots: ye.value,
1417
+ bars: Me.value,
1418
+ lines: te.value,
1419
+ plots: be.value,
1420
1420
  config: l.value
1421
1421
  });
1422
1422
  if (typeof e == "string")
@@ -1425,47 +1425,47 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1425
1425
  console.warn("Custom format cannot be applied on timeTag."), Gl.value = !1;
1426
1426
  }
1427
1427
  if (!Gl.value)
1428
- return [null, void 0].includes(de.value[t]) ? "" : l.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !l.value.chart.timeTag.useDefaultFormat ? rl.value(t + m.value.start, l.value.chart.timeTag.timeFormat) : de.value[t].text;
1428
+ return [null, void 0].includes(de.value[a]) ? "" : l.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !l.value.chart.timeTag.useDefaultFormat ? rl.value(a + m.value.start, l.value.chart.timeTag.timeFormat) : de.value[a].text;
1429
1429
  });
1430
- Al(() => g.dataset, (t) => {
1431
- Array.isArray(t) && t.length > 0 && (Ol.value = !1), ze.value = Math.max(...ge.value.map((s) => Be(s.series).length)), m.value = {
1430
+ Al(() => g.dataset, (a) => {
1431
+ Array.isArray(a) && a.length > 0 && (Ol.value = !1), Ie.value = Math.max(...ge.value.map((s) => Be(s.series).length)), m.value = {
1432
1432
  start: 0,
1433
- end: ze.value
1434
- }, ja.value += 1, st.value += 1, nl();
1435
- }, { deep: !0 }), Al(() => g.config, (t) => {
1436
- ue.value || (l.value = nt()), xt(), Tt.value += 1, Ct.value += 1, ct(), nl();
1433
+ end: Ie.value
1434
+ }, jt.value += 1, sa.value += 1, nl();
1435
+ }, { deep: !0 }), Al(() => g.config, (a) => {
1436
+ ie.value || (l.value = na()), xa(), Ta.value += 1, Ca.value += 1, ca(), nl();
1437
1437
  }, { deep: !0 });
1438
- const pt = x(!1);
1439
- function wa() {
1440
- const t = Ce.value?.parentNode;
1441
- if (!t) {
1442
- pt.value = !1;
1438
+ const pa = x(!1);
1439
+ function wt() {
1440
+ const a = Te.value?.parentNode;
1441
+ if (!a) {
1442
+ pa.value = !1;
1443
1443
  return;
1444
1444
  }
1445
- const s = t.getBoundingClientRect();
1446
- pt.value = s.width > 2 && s.height > 2;
1445
+ const s = a.getBoundingClientRect();
1446
+ pa.value = s.width > 2 && s.height > 2;
1447
1447
  }
1448
1448
  Ul(() => {
1449
- wa();
1450
- const t = new ResizeObserver(() => {
1451
- wa(), pt.value && (xt(), nl(), Rl());
1449
+ wt();
1450
+ const a = new ResizeObserver(() => {
1451
+ wt(), pa.value && (xa(), nl(), Rl());
1452
1452
  });
1453
- Ce.value?.parentNode && t.observe(Ce.value.parentNode);
1453
+ Te.value?.parentNode && a.observe(Te.value.parentNode);
1454
1454
  }), Al(l, () => {
1455
- ct();
1455
+ ca();
1456
1456
  }, { immediate: !0 });
1457
1457
  const $l = b(() => {
1458
- const t = l.value.table.useDialog && !l.value.showTable, s = f.value.showTable;
1458
+ const a = l.value.table.useDialog && !l.value.showTable, s = f.value.showTable;
1459
1459
  return {
1460
- component: t ? Ja : ys,
1460
+ component: a ? Jt : ys,
1461
1461
  title: `${l.value.chart.title.text}${l.value.chart.title.subtitle.text ? `: ${l.value.chart.title.subtitle.text}` : ""}`,
1462
- props: t ? {
1462
+ props: a ? {
1463
1463
  backgroundColor: l.value.table.th.backgroundColor,
1464
1464
  color: l.value.table.th.color,
1465
1465
  headerColor: l.value.table.th.color,
1466
1466
  headerBg: l.value.table.th.backgroundColor,
1467
1467
  isFullscreen: Ge.value,
1468
- fullscreenParent: Ce.value,
1468
+ fullscreenParent: Te.value,
1469
1469
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
1470
1470
  } : {
1471
1471
  hideDetails: !0,
@@ -1484,60 +1484,60 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1484
1484
  }
1485
1485
  };
1486
1486
  });
1487
- Al(() => f.value.showTable, (t) => {
1488
- l.value.showTable || (t && l.value.table.useDialog && il.value ? il.value.open() : il.value && il.value.close && il.value.close());
1487
+ Al(() => f.value.showTable, (a) => {
1488
+ l.value.showTable || (a && l.value.table.useDialog && il.value ? il.value.open() : il.value && il.value.close && il.value.close());
1489
1489
  });
1490
- function Sa() {
1491
- f.value.showTable = !1, at.value && at.value.setTableIconState(!1);
1490
+ function St() {
1491
+ f.value.showTable = !1, ta.value && ta.value.setTableIconState(!1);
1492
1492
  }
1493
- const Vo = b(() => Le.value.map((t) => ({
1494
- shape: t.type === "bar" ? "square" : t.shape ?? "circle",
1495
- color: t.color,
1496
- name: t.name
1493
+ const Vo = b(() => Le.value.map((a) => ({
1494
+ shape: a.type === "bar" ? "square" : a.shape ?? "circle",
1495
+ color: a.color,
1496
+ name: a.name
1497
1497
  }))), Po = b(() => l.value.chart.backgroundColor), Fo = b(() => l.value.chart.legend), Ro = b(() => l.value.chart.title), { exportSvg: Bo, getSvg: Ho } = fs({
1498
- svg: se,
1498
+ svg: ue,
1499
1499
  title: Ro,
1500
1500
  legend: Fo,
1501
1501
  legendItems: Vo,
1502
1502
  backgroundColor: Po
1503
1503
  });
1504
- async function $a({ isCb: t }) {
1505
- if (t) {
1506
- const { blob: s, url: e, text: u, dataUrl: a } = await Ho();
1507
- l.value.chart.userOptions.callbacks.svg({ blob: s, url: e, text: u, dataUrl: a });
1504
+ async function $t({ isCb: a }) {
1505
+ if (a) {
1506
+ const { blob: s, url: e, text: u, dataUrl: t } = await Ho();
1507
+ l.value.chart.userOptions.callbacks.svg({ blob: s, url: e, text: u, dataUrl: t });
1508
1508
  } else
1509
1509
  Bo();
1510
1510
  }
1511
- return Ea({
1511
+ return Et({
1512
1512
  getData: yo,
1513
1513
  getImage: ko,
1514
- generatePdf: Bt,
1515
- generateImage: Ht,
1516
- generateSvg: $a,
1517
- generateCsv: bt,
1518
- toggleStack: Ut,
1519
- toggleTable: ga,
1520
- toggleLabels: ma,
1521
- toggleTooltip: ba,
1522
- toggleAnnotator: ht,
1523
- toggleFullscreen: xa
1524
- }), (t, s) => (n(), r("div", {
1514
+ generatePdf: Ba,
1515
+ generateImage: Ha,
1516
+ generateSvg: $t,
1517
+ generateCsv: ba,
1518
+ toggleStack: Ua,
1519
+ toggleTable: gt,
1520
+ toggleLabels: mt,
1521
+ toggleTooltip: bt,
1522
+ toggleAnnotator: ha,
1523
+ toggleFullscreen: xt
1524
+ }), (a, s) => (n(), r("div", {
1525
1525
  id: `vue-ui-xy_${D.value}`,
1526
1526
  class: je(`vue-data-ui-component vue-ui-xy ${Ge.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${l.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1527
1527
  ref_key: "chart",
1528
- ref: Ce,
1528
+ ref: Te,
1529
1529
  style: $(`background:${l.value.chart.backgroundColor}; color:${l.value.chart.color};width:100%;font-family:${l.value.chart.fontFamily};${l.value.responsive ? "height: 100%" : ""}`),
1530
- onMouseenter: s[6] || (s[6] = () => Xt(!0)),
1531
- onMouseleave: s[7] || (s[7] = () => Xt(!1)),
1532
- onClick: ta
1530
+ onMouseenter: s[6] || (s[6] = () => Xa(!0)),
1531
+ onMouseleave: s[7] || (s[7] = () => Xa(!1)),
1532
+ onClick: at
1533
1533
  }, [
1534
- l.value.chart.userOptions.buttons.annotator && se.value ? (n(), Me(v(Za), {
1534
+ l.value.chart.userOptions.buttons.annotator && ue.value ? (n(), Ae(v(Zt), {
1535
1535
  key: 0,
1536
- svgRef: se.value,
1536
+ svgRef: ue.value,
1537
1537
  backgroundColor: l.value.chart.backgroundColor,
1538
1538
  color: l.value.chart.color,
1539
1539
  active: xl.value,
1540
- onClose: ht
1540
+ onClose: ha
1541
1541
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
1542
1542
  wo.value ? (n(), r("div", {
1543
1543
  key: 1,
@@ -1553,8 +1553,8 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1553
1553
  class: "vue-ui-xy-title",
1554
1554
  style: $(`font-family:${l.value.chart.fontFamily}`)
1555
1555
  }, [
1556
- (n(), Me(bs, {
1557
- key: `title_${Tt.value}`,
1556
+ (n(), Ae(bs, {
1557
+ key: `title_${Ta.value}`,
1558
1558
  config: {
1559
1559
  title: {
1560
1560
  cy: "xy-div-title",
@@ -1570,14 +1570,14 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1570
1570
  p("div", {
1571
1571
  id: `legend-top-${D.value}`
1572
1572
  }, null, 8, ws),
1573
- l.value.chart.userOptions.show && (ut.value || zl.value) ? (n(), Me(v(Ga), {
1573
+ l.value.chart.userOptions.show && (ua.value || zl.value) ? (n(), Ae(v(Gt), {
1574
1574
  ref_key: "userOptionsRef",
1575
- ref: at,
1576
- key: `user_options_${At.value}`,
1575
+ ref: ta,
1576
+ key: `user_options_${Aa.value}`,
1577
1577
  backgroundColor: l.value.chart.backgroundColor,
1578
1578
  color: l.value.chart.color,
1579
- isPrinting: v(vt),
1580
- isImaging: v(Rt),
1579
+ isPrinting: v(va),
1580
+ isImaging: v(Ra),
1581
1581
  uid: D.value,
1582
1582
  hasTooltip: l.value.chart.userOptions.buttons.tooltip && l.value.chart.tooltip.show,
1583
1583
  hasPdf: l.value.chart.userOptions.buttons.pdf,
@@ -1590,7 +1590,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1590
1590
  hasFullscreen: l.value.chart.userOptions.buttons.fullscreen,
1591
1591
  isStacked: f.value.isStacked,
1592
1592
  isFullscreen: Ge.value,
1593
- chartElement: t.$refs.chart,
1593
+ chartElement: a.$refs.chart,
1594
1594
  position: l.value.chart.userOptions.position,
1595
1595
  isTooltip: f.value.showTooltip,
1596
1596
  titles: { ...l.value.chart.userOptions.buttonTitles },
@@ -1599,94 +1599,94 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1599
1599
  callbacks: l.value.chart.userOptions.callbacks,
1600
1600
  tableDialog: l.value.table.useDialog,
1601
1601
  printScale: l.value.chart.userOptions.print.scale,
1602
- onToggleFullscreen: xa,
1603
- onGeneratePdf: v(Bt),
1604
- onGenerateCsv: bt,
1605
- onGenerateImage: v(Ht),
1606
- onGenerateSvg: $a,
1607
- onToggleTable: ga,
1608
- onToggleLabels: ma,
1609
- onToggleStack: Ut,
1610
- onToggleTooltip: ba,
1611
- onToggleAnnotator: ht,
1602
+ onToggleFullscreen: xt,
1603
+ onGeneratePdf: v(Ba),
1604
+ onGenerateCsv: ba,
1605
+ onGenerateImage: v(Ha),
1606
+ onGenerateSvg: $t,
1607
+ onToggleTable: gt,
1608
+ onToggleLabels: mt,
1609
+ onToggleStack: Ua,
1610
+ onToggleTooltip: bt,
1611
+ onToggleAnnotator: ha,
1612
1612
  style: $({
1613
- visibility: ut.value ? zl.value ? "visible" : "hidden" : "visible"
1613
+ visibility: ua.value ? zl.value ? "visible" : "hidden" : "visible"
1614
1614
  })
1615
- }, Aa({ _: 2 }, [
1616
- t.$slots.menuIcon ? {
1615
+ }, At({ _: 2 }, [
1616
+ a.$slots.menuIcon ? {
1617
1617
  name: "menuIcon",
1618
1618
  fn: ee(({ isOpen: e, color: u }) => [
1619
- X(t.$slots, "menuIcon", el(ll({ isOpen: e, color: u })), void 0, !0)
1619
+ X(a.$slots, "menuIcon", el(ll({ isOpen: e, color: u })), void 0, !0)
1620
1620
  ]),
1621
1621
  key: "0"
1622
1622
  } : void 0,
1623
- t.$slots.optionTooltip ? {
1623
+ a.$slots.optionTooltip ? {
1624
1624
  name: "optionTooltip",
1625
1625
  fn: ee(() => [
1626
- X(t.$slots, "optionTooltip", {}, void 0, !0)
1626
+ X(a.$slots, "optionTooltip", {}, void 0, !0)
1627
1627
  ]),
1628
1628
  key: "1"
1629
1629
  } : void 0,
1630
- t.$slots.optionPdf ? {
1630
+ a.$slots.optionPdf ? {
1631
1631
  name: "optionPdf",
1632
1632
  fn: ee(() => [
1633
- X(t.$slots, "optionPdf", {}, void 0, !0)
1633
+ X(a.$slots, "optionPdf", {}, void 0, !0)
1634
1634
  ]),
1635
1635
  key: "2"
1636
1636
  } : void 0,
1637
- t.$slots.optionCsv ? {
1637
+ a.$slots.optionCsv ? {
1638
1638
  name: "optionCsv",
1639
1639
  fn: ee(() => [
1640
- X(t.$slots, "optionCsv", {}, void 0, !0)
1640
+ X(a.$slots, "optionCsv", {}, void 0, !0)
1641
1641
  ]),
1642
1642
  key: "3"
1643
1643
  } : void 0,
1644
- t.$slots.optionImg ? {
1644
+ a.$slots.optionImg ? {
1645
1645
  name: "optionImg",
1646
1646
  fn: ee(() => [
1647
- X(t.$slots, "optionImg", {}, void 0, !0)
1647
+ X(a.$slots, "optionImg", {}, void 0, !0)
1648
1648
  ]),
1649
1649
  key: "4"
1650
1650
  } : void 0,
1651
- t.$slots.optionTable ? {
1651
+ a.$slots.optionTable ? {
1652
1652
  name: "optionTable",
1653
1653
  fn: ee(() => [
1654
- X(t.$slots, "optionTable", {}, void 0, !0)
1654
+ X(a.$slots, "optionTable", {}, void 0, !0)
1655
1655
  ]),
1656
1656
  key: "5"
1657
1657
  } : void 0,
1658
- t.$slots.optionLabels ? {
1658
+ a.$slots.optionLabels ? {
1659
1659
  name: "optionLabels",
1660
1660
  fn: ee(() => [
1661
- X(t.$slots, "optionLabels", {}, void 0, !0)
1661
+ X(a.$slots, "optionLabels", {}, void 0, !0)
1662
1662
  ]),
1663
1663
  key: "6"
1664
1664
  } : void 0,
1665
- t.$slots.optionStack ? {
1665
+ a.$slots.optionStack ? {
1666
1666
  name: "optionStack",
1667
1667
  fn: ee(() => [
1668
- X(t.$slots, "optionStack", {}, void 0, !0)
1668
+ X(a.$slots, "optionStack", {}, void 0, !0)
1669
1669
  ]),
1670
1670
  key: "7"
1671
1671
  } : void 0,
1672
- t.$slots.optionFullscreen ? {
1672
+ a.$slots.optionFullscreen ? {
1673
1673
  name: "optionFullscreen",
1674
1674
  fn: ee(({ toggleFullscreen: e, isFullscreen: u }) => [
1675
- X(t.$slots, "optionFullscreen", el(ll({ toggleFullscreen: e, isFullscreen: u })), void 0, !0)
1675
+ X(a.$slots, "optionFullscreen", el(ll({ toggleFullscreen: e, isFullscreen: u })), void 0, !0)
1676
1676
  ]),
1677
1677
  key: "8"
1678
1678
  } : void 0,
1679
- t.$slots.optionAnnotator ? {
1679
+ a.$slots.optionAnnotator ? {
1680
1680
  name: "optionAnnotator",
1681
1681
  fn: ee(({ toggleAnnotator: e, isAnnotator: u }) => [
1682
- X(t.$slots, "optionAnnotator", el(ll({ toggleAnnotator: e, isAnnotator: u })), void 0, !0)
1682
+ X(a.$slots, "optionAnnotator", el(ll({ toggleAnnotator: e, isAnnotator: u })), void 0, !0)
1683
1683
  ]),
1684
1684
  key: "9"
1685
1685
  } : void 0
1686
1686
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasLabel", "hasTable", "hasStack", "hasFullscreen", "isStacked", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "tableDialog", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
1687
1687
  (n(), r("svg", {
1688
1688
  ref_key: "svgRef",
1689
- ref: se,
1689
+ ref: ue,
1690
1690
  xmlns: "http://www.w3.org/2000/svg",
1691
1691
  class: je([{ "vue-data-ui-fullscreen--on": Ge.value, "vue-data-ui-fulscreen--off": !Ge.value }, "vue-ui-xy-svg vue-data-ui-svg"]),
1692
1692
  width: "100%",
@@ -1702,15 +1702,15 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1702
1702
  preserveAspectRatio: "xMidYMid",
1703
1703
  onMousemove: po,
1704
1704
  onMouseleave: Dl,
1705
- onClick: ta
1705
+ onClick: at
1706
1706
  }, [
1707
1707
  p("g", {
1708
1708
  ref_key: "G",
1709
- ref: Qa,
1709
+ ref: Qt,
1710
1710
  class: "vue-data-ui-g"
1711
1711
  }, [
1712
- vl(v(qa)),
1713
- t.$slots["chart-background"] ? (n(), r("foreignObject", {
1712
+ vl(v(qt)),
1713
+ a.$slots["chart-background"] ? (n(), r("foreignObject", {
1714
1714
  key: 0,
1715
1715
  x: c.value.left + G.value < 0 ? 0 : c.value.left + G.value,
1716
1716
  y: c.value.top,
@@ -1720,7 +1720,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1720
1720
  pointerEvents: "none"
1721
1721
  }
1722
1722
  }, [
1723
- X(t.$slots, "chart-background", {}, void 0, !0)
1723
+ X(a.$slots, "chart-background", {}, void 0, !0)
1724
1724
  ], 8, $s)) : h("", !0),
1725
1725
  L.value > 0 ? (n(), r("g", Ls, [
1726
1726
  p("g", Ms, [
@@ -1768,7 +1768,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1768
1768
  style: { animation: "none !important" }
1769
1769
  }, null, 8, Cs)) : h("", !0),
1770
1770
  l.value.chart.grid.showHorizontalLines ? (n(), r("g", Ts, [
1771
- (n(!0), r(d, null, w(ia.value, (e) => (n(), r("line", {
1771
+ (n(!0), r(d, null, w(it.value, (e) => (n(), r("line", {
1772
1772
  x1: c.value.left + G.value,
1773
1773
  x2: c.value.right,
1774
1774
  y1: v(E)(e.y),
@@ -1799,10 +1799,10 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1799
1799
  }, null, 8, Fs)
1800
1800
  ])) : h("", !0)
1801
1801
  ]),
1802
- (n(!0), r(d, null, w(Ie.value, (e, u) => (n(), r("defs", {
1802
+ (n(!0), r(d, null, w(Me.value, (e, u) => (n(), r("defs", {
1803
1803
  key: `def_rect_${u}`
1804
1804
  }, [
1805
- t.$slots["bar-gradient"] ? X(t.$slots, "bar-gradient", tl({
1805
+ a.$slots["bar-gradient"] ? X(a.$slots, "bar-gradient", al({
1806
1806
  key: 0,
1807
1807
  ref_for: !0
1808
1808
  }, { series: e, positiveId: `rectGradient_pos_${u}_${D.value}`, negativeId: `rectGradient_neg_${u}_${D.value}` }), void 0, !0) : (n(), r(d, { key: 1 }, [
@@ -1844,7 +1844,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1844
1844
  ], 8, Es)
1845
1845
  ], 64))
1846
1846
  ]))), 128)),
1847
- (n(!0), r(d, null, w(ye.value, (e, u) => (n(), r("defs", {
1847
+ (n(!0), r(d, null, w(be.value, (e, u) => (n(), r("defs", {
1848
1848
  key: `def_plot_${u}`
1849
1849
  }, [
1850
1850
  p("radialGradient", {
@@ -1865,7 +1865,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1865
1865
  }, null, 8, qs)
1866
1866
  ], 8, Gs)
1867
1867
  ]))), 128)),
1868
- (n(!0), r(d, null, w(ne.value, (e, u) => (n(), r("defs", {
1868
+ (n(!0), r(d, null, w(te.value, (e, u) => (n(), r("defs", {
1869
1869
  key: `def_line_${e.id}`
1870
1870
  }, [
1871
1871
  p("radialGradient", {
@@ -1885,7 +1885,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1885
1885
  "stop-color": e.color
1886
1886
  }, null, 8, Ks)
1887
1887
  ], 8, Zs),
1888
- t.$slots["area-gradient"] ? X(t.$slots, "area-gradient", tl({
1888
+ a.$slots["area-gradient"] ? X(a.$slots, "area-gradient", al({
1889
1889
  key: 0,
1890
1890
  ref_for: !0
1891
1891
  }, { series: e, id: `areaGradient_${u}_${D.value}` }), void 0, !0) : (n(), r("linearGradient", {
@@ -1898,33 +1898,33 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1898
1898
  }, [
1899
1899
  p("stop", {
1900
1900
  offset: "0%",
1901
- "stop-color": `${v(Ae)(v(ol)(e.color, 0.03), l.value.line.area.opacity)}`
1901
+ "stop-color": `${v(Ce)(v(ol)(e.color, 0.03), l.value.line.area.opacity)}`
1902
1902
  }, null, 8, js),
1903
1903
  p("stop", {
1904
1904
  offset: "100%",
1905
- "stop-color": `${v(Ae)(e.color, l.value.line.area.opacity)}`
1905
+ "stop-color": `${v(Ce)(e.color, l.value.line.area.opacity)}`
1906
1906
  }, null, 8, eu)
1907
1907
  ], 8, Qs))
1908
1908
  ]))), 128)),
1909
1909
  (n(!0), r(d, null, w(So.value, (e) => (n(), r("g", null, [
1910
1910
  e.show ? (n(), r(d, { key: 0 }, [
1911
- (n(!0), r(d, null, w(e.span, (u, a) => (n(), r("g", null, [
1911
+ (n(!0), r(d, null, w(e.span, (u, t) => (n(), r("g", null, [
1912
1912
  p("rect", {
1913
1913
  style: $({
1914
1914
  transition: "none",
1915
- opacity: e.from + a >= m.value.start && e.from + a <= m.value.end - 1 ? 1 : 0
1915
+ opacity: e.from + t >= m.value.start && e.from + t <= m.value.end - 1 ? 1 : 0
1916
1916
  }),
1917
- x: c.value.left + c.value.width / L.value * (e.from + a - m.value.start),
1917
+ x: c.value.left + c.value.width / L.value * (e.from + t - m.value.start),
1918
1918
  y: c.value.top,
1919
1919
  height: c.value.height < 0 ? 10 : c.value.height,
1920
1920
  width: c.value.width / L.value < 0 ? 1e-5 : c.value.width / L.value,
1921
- fill: v(Ae)(e.color, e.opacity)
1921
+ fill: v(Ce)(e.color, e.opacity)
1922
1922
  }, null, 12, lu)
1923
1923
  ]))), 256)),
1924
- (n(!0), r(d, null, w(e.span, (u, a) => (n(), r("g", null, [
1925
- e.caption.text && a === 0 ? (n(), r("foreignObject", {
1924
+ (n(!0), r(d, null, w(e.span, (u, t) => (n(), r("g", null, [
1925
+ e.caption.text && t === 0 ? (n(), r("foreignObject", {
1926
1926
  key: 0,
1927
- x: c.value.left + c.value.width / L.value * (e.from + a - m.value.start) - (e.caption.width === "auto" ? 0 : e.caption.width / 2 - c.value.width / L.value * e.span / 2),
1927
+ x: c.value.left + c.value.width / L.value * (e.from + t - m.value.start) - (e.caption.width === "auto" ? 0 : e.caption.width / 2 - c.value.width / L.value * e.span / 2),
1928
1928
  y: c.value.top + e.caption.offsetY,
1929
1929
  style: $({
1930
1930
  overflow: "visible",
@@ -1935,12 +1935,12 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1935
1935
  }, [
1936
1936
  p("div", {
1937
1937
  style: $(`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"}`)
1938
- }, te(e.caption.text), 5)
1939
- ], 12, tu)) : h("", !0)
1938
+ }, ae(e.caption.text), 5)
1939
+ ], 12, au)) : h("", !0)
1940
1940
  ]))), 256))
1941
1941
  ], 64)) : h("", !0)
1942
1942
  ]))), 256)),
1943
- Wt.value ? (n(), r("g", au, [
1943
+ Wa.value ? (n(), r("g", tu, [
1944
1944
  (n(!0), r(d, null, w(L.value, (e, u) => (n(), r("g", {
1945
1945
  key: `tooltip_trap_highlighter_${u}`
1946
1946
  }, [
@@ -1949,55 +1949,55 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
1949
1949
  y: c.value.top,
1950
1950
  height: c.value.height < 0 ? 10 : c.value.height,
1951
1951
  width: c.value.width / L.value < 0 ? 1e-5 : c.value.width / L.value,
1952
- fill: [V.value, _.value, Ue.value].includes(u) ? v(Ae)(l.value.chart.highlighter.color, l.value.chart.highlighter.opacity) : "transparent",
1952
+ fill: [V.value, _.value, Ue.value].includes(u) ? v(Ce)(l.value.chart.highlighter.color, l.value.chart.highlighter.opacity) : "transparent",
1953
1953
  style: { transition: "none !important", animation: "none !important" }
1954
1954
  }, null, 8, ou)
1955
1955
  ]))), 128))
1956
1956
  ])) : h("", !0),
1957
- Ie.value.length ? (n(!0), r(d, { key: 1 }, w(Ie.value, (e, u) => (n(), r("g", {
1957
+ Me.value.length ? (n(!0), r(d, { key: 1 }, w(Me.value, (e, u) => (n(), r("g", {
1958
1958
  key: `serie_bar_${e.id}`,
1959
1959
  class: je(`serie_bar_${u}`),
1960
1960
  style: $(`opacity:${I.value ? I.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1961
1961
  }, [
1962
- (n(!0), r(d, null, w(e.plots, (a, i) => (n(), r("g", {
1962
+ (n(!0), r(d, null, w(e.plots, (t, i) => (n(), r("g", {
1963
1963
  key: `bar_plot_${u}_${i}`
1964
1964
  }, [
1965
- me(a.value) ? (n(), r("rect", {
1965
+ me(t.value) ? (n(), r("rect", {
1966
1966
  key: 0,
1967
- x: Hl(a) + Wl.value / 2,
1968
- y: f.value.useIndividualScale ? ea(a) : jt(a),
1969
- height: f.value.useIndividualScale ? Math.abs(Qt(a)) : Math.abs(Kt(a)),
1967
+ x: Hl(t) + Wl.value / 2,
1968
+ y: f.value.useIndividualScale ? et(t) : ja(t),
1969
+ height: f.value.useIndividualScale ? Math.abs(Qa(t)) : Math.abs(Ka(t)),
1970
1970
  width: Yl.value - Wl.value,
1971
1971
  rx: l.value.bar.borderRadius,
1972
- fill: l.value.bar.useGradient ? a.value >= 0 ? `url(#rectGradient_pos_${u}_${D.value})` : `url(#rectGradient_neg_${u}_${D.value})` : e.color,
1972
+ fill: l.value.bar.useGradient ? t.value >= 0 ? `url(#rectGradient_pos_${u}_${D.value})` : `url(#rectGradient_neg_${u}_${D.value})` : e.color,
1973
1973
  stroke: l.value.bar.border.useSerieColor ? e.color : l.value.bar.border.stroke,
1974
1974
  "stroke-width": l.value.bar.border.strokeWidth,
1975
1975
  style: $({
1976
- transition: v(ue) || !l.value.bar.showTransition ? void 0 : `all ${l.value.bar.transitionDurationMs}ms ease-in-out`
1976
+ transition: v(ie) || !l.value.bar.showTransition ? void 0 : `all ${l.value.bar.transitionDurationMs}ms ease-in-out`
1977
1977
  })
1978
1978
  }, null, 12, su)) : h("", !0),
1979
- me(a.value) && t.$slots.pattern ? (n(), r("rect", {
1979
+ me(t.value) && a.$slots.pattern ? (n(), r("rect", {
1980
1980
  key: 1,
1981
- x: Hl(a) - Wl.value / 2,
1982
- y: f.value.useIndividualScale ? ea(a) : jt(a),
1983
- height: f.value.useIndividualScale ? Math.abs(Qt(a)) : Math.abs(Kt(a)),
1981
+ x: Hl(t) - Wl.value / 2,
1982
+ y: f.value.useIndividualScale ? et(t) : ja(t),
1983
+ height: f.value.useIndividualScale ? Math.abs(Qa(t)) : Math.abs(Ka(t)),
1984
1984
  width: Yl.value - Wl.value,
1985
1985
  rx: l.value.bar.borderRadius,
1986
1986
  fill: `url(#pattern_${D.value}_${e.slotAbsoluteIndex})`,
1987
1987
  stroke: l.value.bar.border.useSerieColor ? e.color : l.value.bar.border.stroke,
1988
1988
  "stroke-width": l.value.bar.border.strokeWidth,
1989
- style: $({ transition: v(ue) || !l.value.bar.showTransition ? void 0 : `all ${l.value.bar.transitionDurationMs}ms ease-in-out` })
1989
+ style: $({ transition: v(ie) || !l.value.bar.showTransition ? void 0 : `all ${l.value.bar.transitionDurationMs}ms ease-in-out` })
1990
1990
  }, null, 12, uu)) : h("", !0),
1991
- a.comment && l.value.chart.comments.show ? (n(), r("foreignObject", {
1991
+ t.comment && l.value.chart.comments.show ? (n(), r("foreignObject", {
1992
1992
  key: 2,
1993
1993
  style: { overflow: "visible" },
1994
1994
  height: "12",
1995
1995
  width: Yl.value / 2 + l.value.chart.comments.width,
1996
- x: Hl(a) - l.value.chart.comments.width / 2 + l.value.chart.comments.offsetX,
1997
- y: v(P)(a.y) + l.value.chart.comments.offsetY + 6
1996
+ x: Hl(t) - l.value.chart.comments.width / 2 + l.value.chart.comments.offsetX,
1997
+ y: v(P)(t.y) + l.value.chart.comments.offsetY + 6
1998
1998
  }, [
1999
- X(t.$slots, "plot-comment", {
2000
- plot: { ...a, color: e.color, seriesIndex: u, datapointIndex: i }
1999
+ X(a.$slots, "plot-comment", {
2000
+ plot: { ...t, color: e.color, seriesIndex: u, datapointIndex: i }
2001
2001
  }, void 0, !0)
2002
2002
  ], 8, iu)) : h("", !0)
2003
2003
  ]))), 128))
@@ -2008,8 +2008,8 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2008
2008
  "stroke-width": "1",
2009
2009
  x1: c.value.left + G.value,
2010
2010
  x2: c.value.right,
2011
- y1: v(E)(ie.value),
2012
- y2: v(E)(ie.value),
2011
+ y1: v(E)(ne.value),
2012
+ y2: v(E)(ne.value),
2013
2013
  "stroke-linecap": "round",
2014
2014
  style: { animation: "none !important" }
2015
2015
  }, null, 8, nu)) : h("", !0),
@@ -2043,7 +2043,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2043
2043
  l.value.chart.grid.labels.show ? (n(), r("g", {
2044
2044
  key: 5,
2045
2045
  ref_key: "scaleLabels",
2046
- ref: tt
2046
+ ref: aa
2047
2047
  }, [
2048
2048
  f.value.useIndividualScale ? (n(), r(d, { key: 0 }, [
2049
2049
  (n(!0), r(d, null, w(Sl.value, (e) => (n(), r("g", null, [
@@ -2066,9 +2066,9 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2066
2066
  "font-size": y.value.dataLabels * 0.8,
2067
2067
  "text-anchor": "middle",
2068
2068
  transform: `translate(${e.x - y.value.dataLabels * 0.8 / 2 + G.value}, ${f.value.isStacked ? c.value.bottom - e.yOffset - e.individualHeight / 2 : c.value.top + c.value.height / 2}) rotate(-90)`
2069
- }, te(e.name) + " " + te(e.scaleLabel && e.unique && e.scaleLabel !== e.id ? `-
2069
+ }, ae(e.name) + " " + ae(e.scaleLabel && e.unique && e.scaleLabel !== e.id ? `-
2070
2070
  ${e.scaleLabel}` : ""), 9, hu),
2071
- (n(!0), r(d, null, w(e.yLabels, (u, a) => (n(), r(d, null, [
2071
+ (n(!0), r(d, null, w(e.yLabels, (u, t) => (n(), r(d, null, [
2072
2072
  l.value.chart.grid.labels.yAxis.showCrosshairs ? (n(), r("line", {
2073
2073
  key: 0,
2074
2074
  x1: e.x + 3 + G.value - l.value.chart.grid.labels.yAxis.crosshairSize - c.value.individualOffsetX,
@@ -2081,13 +2081,13 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2081
2081
  style: { animation: "none !important" }
2082
2082
  }, null, 8, fu)) : h("", !0)
2083
2083
  ], 64))), 256)),
2084
- (n(!0), r(d, null, w(e.yLabels, (u, a) => (n(), r("text", {
2084
+ (n(!0), r(d, null, w(e.yLabels, (u, t) => (n(), r("text", {
2085
2085
  x: e.x - 5 + G.value - c.value.individualOffsetX,
2086
2086
  y: v(E)(u.y) + y.value.dataLabels / 3,
2087
2087
  "font-size": y.value.dataLabels,
2088
2088
  "text-anchor": "end",
2089
2089
  fill: e.color
2090
- }, te(v(oe)(
2090
+ }, ae(v(se)(
2091
2091
  l.value.chart.grid.labels.yAxis.formatter,
2092
2092
  u.value,
2093
2093
  v(Ve)({
@@ -2096,10 +2096,10 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2096
2096
  s: u.suffix,
2097
2097
  r: l.value.chart.grid.labels.yAxis.rounding
2098
2098
  }),
2099
- { datapoint: u.datapoint, seriesIndex: a }
2099
+ { datapoint: u.datapoint, seriesIndex: t }
2100
2100
  )), 9, gu))), 256))
2101
2101
  ], 4))), 256))
2102
- ], 64)) : (n(!0), r(d, { key: 1 }, w(ia.value, (e, u) => (n(), r("g", {
2102
+ ], 64)) : (n(!0), r(d, { key: 1 }, w(it.value, (e, u) => (n(), r("g", {
2103
2103
  key: `yLabel_${u}`
2104
2104
  }, [
2105
2105
  me(e) && e.value >= $e.value.min && e.value <= $e.value.max && l.value.chart.grid.labels.yAxis.showCrosshairs ? (n(), r("line", {
@@ -2120,7 +2120,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2120
2120
  "font-size": y.value.dataLabels,
2121
2121
  "text-anchor": "end",
2122
2122
  fill: l.value.chart.grid.labels.color
2123
- }, te(me(e.value) ? v(oe)(
2123
+ }, ae(me(e.value) ? v(se)(
2124
2124
  l.value.chart.grid.labels.yAxis.formatter,
2125
2125
  e.value,
2126
2126
  v(Ve)({
@@ -2132,41 +2132,41 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2132
2132
  ) : ""), 9, bu)) : h("", !0)
2133
2133
  ]))), 128))
2134
2134
  ], 512)) : h("", !0),
2135
- (n(!0), r(d, null, w(ye.value, (e, u) => (n(), r("g", {
2135
+ (n(!0), r(d, null, w(be.value, (e, u) => (n(), r("g", {
2136
2136
  key: `serie_plot_${e.id}`,
2137
2137
  class: je(`serie_plot_${u}`),
2138
2138
  style: $(`opacity:${I.value ? I.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2139
2139
  }, [
2140
- (n(!0), r(d, null, w(e.plots, (a, i) => (n(), r("g", {
2140
+ (n(!0), r(d, null, w(e.plots, (t, i) => (n(), r("g", {
2141
2141
  key: `circle_plot_${u}_${i}`
2142
2142
  }, [
2143
- a && me(a.value) ? (n(), Me(Kl, {
2143
+ t && me(t.value) ? (n(), Ae(Kl, {
2144
2144
  key: 0,
2145
2145
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(e.shape) ? e.shape : "circle",
2146
2146
  color: l.value.plot.useGradient ? `url(#plotGradient_${u}_${D.value})` : l.value.plot.dot.useSerieColor ? e.color : l.value.plot.dot.fill,
2147
- plot: { x: v(P)(a.x), y: v(P)(a.y) },
2147
+ plot: { x: v(P)(t.x), y: v(P)(t.y) },
2148
2148
  radius: _.value !== null && _.value === i || V.value !== null && V.value === i ? (we.value.plot || 6) * 1.5 : we.value.plot || 6,
2149
2149
  stroke: l.value.plot.dot.useSerieColor ? l.value.chart.backgroundColor : e.color,
2150
2150
  strokeWidth: l.value.plot.dot.strokeWidth,
2151
- transition: v(ue) || !l.value.plot.showTransition || _.value !== null && _.value === i || V.value !== null && V.value === i ? void 0 : `all ${l.value.plot.transitionDurationMs}ms ease-in-out`
2151
+ transition: v(ie) || !l.value.plot.showTransition || _.value !== null && _.value === i || V.value !== null && V.value === i ? void 0 : `all ${l.value.plot.transitionDurationMs}ms ease-in-out`
2152
2152
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth", "transition"])) : h("", !0),
2153
- a.comment && l.value.chart.comments.show ? (n(), r("foreignObject", {
2153
+ t.comment && l.value.chart.comments.show ? (n(), r("foreignObject", {
2154
2154
  key: 1,
2155
2155
  style: { overflow: "visible" },
2156
2156
  height: "12",
2157
2157
  width: l.value.chart.comments.width,
2158
- x: a.x - l.value.chart.comments.width / 2 + l.value.chart.comments.offsetX,
2159
- y: a.y + l.value.chart.comments.offsetY + 6
2158
+ x: t.x - l.value.chart.comments.width / 2 + l.value.chart.comments.offsetX,
2159
+ y: t.y + l.value.chart.comments.offsetY + 6
2160
2160
  }, [
2161
2161
  p("div", pu, [
2162
- X(t.$slots, "plot-comment", {
2163
- plot: { ...a, color: e.color, seriesIndex: u, datapointIndex: i }
2162
+ X(a.$slots, "plot-comment", {
2163
+ plot: { ...t, color: e.color, seriesIndex: u, datapointIndex: i }
2164
2164
  }, void 0, !0)
2165
2165
  ])
2166
2166
  ], 8, xu)) : h("", !0)
2167
2167
  ]))), 128))
2168
2168
  ], 6))), 128)),
2169
- (n(!0), r(d, null, w(ne.value, (e, u) => (n(), r("g", {
2169
+ (n(!0), r(d, null, w(te.value, (e, u) => (n(), r("g", {
2170
2170
  key: `serie_line_${e.id}`,
2171
2171
  class: je(`serie_line_${u}`),
2172
2172
  style: $(`opacity:${I.value ? I.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
@@ -2178,7 +2178,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2178
2178
  "stroke-width": l.value.line.strokeWidth + 1,
2179
2179
  "stroke-dasharray": e.dashed ? l.value.line.strokeWidth * 2 : 0,
2180
2180
  fill: "none",
2181
- style: $({ transition: v(ue) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2181
+ style: $({ transition: v(ie) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2182
2182
  }, null, 12, yu)) : e.plots.length > 1 && e.straight ? (n(), r("path", {
2183
2183
  key: 1,
2184
2184
  d: `M${e.straight}`,
@@ -2188,56 +2188,56 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2188
2188
  fill: "none",
2189
2189
  "stroke-linecap": "round",
2190
2190
  "stroke-linejoin": "round",
2191
- style: $({ transition: v(ue) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2191
+ style: $({ transition: v(ie) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2192
2192
  }, null, 12, ku)) : h("", !0)
2193
2193
  ], 6))), 128)),
2194
- t.$slots.pattern ? (n(), r("defs", _u, [
2195
- (n(!0), r(d, null, w(Fe.value, (e, u) => X(t.$slots, "pattern", tl({
2194
+ a.$slots.pattern ? (n(), r("defs", _u, [
2195
+ (n(!0), r(d, null, w(Fe.value, (e, u) => X(a.$slots, "pattern", al({
2196
2196
  key: `serie_pattern_slot_${e.id}`
2197
2197
  }, { ref_for: !0 }, { ...e, seriesIndex: e.slotAbsoluteIndex, patternId: `pattern_${D.value}_${u}` }), void 0, !0)), 128))
2198
2198
  ])) : h("", !0),
2199
- ca.value.length && !f.value.isStacked ? (n(), r("g", wu, [
2200
- (n(!0), r(d, null, w(ca.value, (e) => (n(), r("path", {
2199
+ ct.value.length && !f.value.isStacked ? (n(), r("g", wu, [
2200
+ (n(!0), r(d, null, w(ct.value, (e) => (n(), r("path", {
2201
2201
  key: e.key,
2202
2202
  d: e.d,
2203
2203
  fill: e.color,
2204
2204
  "fill-opacity": l.value.line.interLine.fillOpacity,
2205
2205
  stroke: "none",
2206
2206
  "pointer-events": "none",
2207
- style: $({ transition: v(ue) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2207
+ style: $({ transition: v(ie) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2208
2208
  }, null, 12, Su))), 128))
2209
2209
  ])) : h("", !0),
2210
- (n(!0), r(d, null, w(ne.value, (e, u) => (n(), r("g", {
2210
+ (n(!0), r(d, null, w(te.value, (e, u) => (n(), r("g", {
2211
2211
  key: `serie_line_above_${e.id}`,
2212
2212
  class: je(`serie_line_${u}`),
2213
2213
  style: $(`opacity:${I.value ? I.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2214
2214
  }, [
2215
2215
  e.useArea && e.plots.length > 1 ? (n(), r("g", $u, [
2216
- e.smooth ? (n(!0), r(d, { key: 0 }, w(e.curveAreas, (a, i) => (n(), r(d, { key: i }, [
2217
- a ? (n(), r("path", {
2216
+ e.smooth ? (n(!0), r(d, { key: 0 }, w(e.curveAreas, (t, i) => (n(), r(d, { key: i }, [
2217
+ t ? (n(), r("path", {
2218
2218
  key: 0,
2219
- d: a,
2220
- fill: l.value.line.area.useGradient ? `url(#areaGradient_${u}_${D.value})` : v(Ae)(e.color, l.value.line.area.opacity),
2221
- style: $({ transition: v(ue) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2219
+ d: t,
2220
+ fill: l.value.line.area.useGradient ? `url(#areaGradient_${u}_${D.value})` : v(Ce)(e.color, l.value.line.area.opacity),
2221
+ style: $({ transition: v(ie) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2222
2222
  }, null, 12, Lu)) : h("", !0),
2223
- t.$slots.pattern && a ? (n(), r("path", {
2223
+ a.$slots.pattern && t ? (n(), r("path", {
2224
2224
  key: 1,
2225
- d: a,
2225
+ d: t,
2226
2226
  fill: `url(#pattern_${D.value}_${e.slotAbsoluteIndex})`,
2227
- style: $({ transition: v(ue) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2227
+ style: $({ transition: v(ie) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2228
2228
  }, null, 12, Mu)) : h("", !0)
2229
- ], 64))), 128)) : (n(!0), r(d, { key: 1 }, w(e.area.split(";"), (a, i) => (n(), r(d, { key: i }, [
2230
- a ? (n(), r("path", {
2229
+ ], 64))), 128)) : (n(!0), r(d, { key: 1 }, w(e.area.split(";"), (t, i) => (n(), r(d, { key: i }, [
2230
+ t ? (n(), r("path", {
2231
2231
  key: 0,
2232
- d: `M${a}Z`,
2233
- fill: l.value.line.area.useGradient ? `url(#areaGradient_${u}_${D.value})` : v(Ae)(e.color, l.value.line.area.opacity),
2234
- style: $({ transition: v(ue) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2232
+ d: `M${t}Z`,
2233
+ fill: l.value.line.area.useGradient ? `url(#areaGradient_${u}_${D.value})` : v(Ce)(e.color, l.value.line.area.opacity),
2234
+ style: $({ transition: v(ie) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2235
2235
  }, null, 12, Au)) : h("", !0),
2236
- t.$slots.pattern && a ? (n(), r("path", {
2236
+ a.$slots.pattern && t ? (n(), r("path", {
2237
2237
  key: 1,
2238
- d: `M${a}Z`,
2238
+ d: `M${t}Z`,
2239
2239
  fill: `url(#pattern_${D.value}_${e.slotAbsoluteIndex})`,
2240
- style: $({ transition: v(ue) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2240
+ style: $({ transition: v(ie) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2241
2241
  }, null, 12, Cu)) : h("", !0)
2242
2242
  ], 64))), 128))
2243
2243
  ])) : h("", !0),
@@ -2249,7 +2249,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2249
2249
  "stroke-dasharray": e.dashed ? l.value.line.strokeWidth * 2 : 0,
2250
2250
  fill: "none",
2251
2251
  "stroke-linecap": "round",
2252
- style: $({ transition: v(ue) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2252
+ style: $({ transition: v(ie) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2253
2253
  }, null, 12, Tu)) : e.plots.length > 1 && e.straight ? (n(), r("path", {
2254
2254
  key: 2,
2255
2255
  d: `M${e.straight}`,
@@ -2259,76 +2259,76 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2259
2259
  fill: "none",
2260
2260
  "stroke-linecap": "round",
2261
2261
  "stroke-linejoin": "round",
2262
- style: $({ transition: v(ue) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2262
+ style: $({ transition: v(ie) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2263
2263
  }, null, 12, zu)) : h("", !0),
2264
- (n(!0), r(d, null, w(e.plots, (a, i) => (n(), r(d, {
2264
+ (n(!0), r(d, null, w(e.plots, (t, i) => (n(), r(d, {
2265
2265
  key: `circle_line_${u}_${i}`
2266
2266
  }, [
2267
- !sa.value.linePlot && a && me(a.value) || sa.value.linePlot && a && me(a.value) && (_.value !== null && _.value === i || V.value !== null && V.value === i) || ra(e.plots, i) ? (n(), Me(Kl, {
2267
+ !st.value.linePlot && t && me(t.value) || st.value.linePlot && t && me(t.value) && (_.value !== null && _.value === i || V.value !== null && V.value === i) || rt(e.plots, i) ? (n(), Ae(Kl, {
2268
2268
  key: 0,
2269
2269
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(e.shape) ? e.shape : "circle",
2270
2270
  color: l.value.line.useGradient ? `url(#lineGradient_${u}_${D.value})` : l.value.line.dot.useSerieColor ? e.color : l.value.line.dot.fill,
2271
- plot: { x: v(P)(a.x), y: v(P)(a.y) },
2272
- radius: _.value !== null && _.value === i || V.value !== null && V.value === i ? (we.value.line || 6) * 1.5 : (ra(e.plots, i), we.value.line || 6),
2271
+ plot: { x: v(P)(t.x), y: v(P)(t.y) },
2272
+ radius: _.value !== null && _.value === i || V.value !== null && V.value === i ? (we.value.line || 6) * 1.5 : (rt(e.plots, i), we.value.line || 6),
2273
2273
  stroke: l.value.line.dot.useSerieColor ? l.value.chart.backgroundColor : e.color,
2274
2274
  strokeWidth: l.value.line.dot.strokeWidth,
2275
- transition: v(ue) || !l.value.line.showTransition || _.value !== null && _.value === i || V.value !== null && V.value === i ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out`
2275
+ transition: v(ie) || !l.value.line.showTransition || _.value !== null && _.value === i || V.value !== null && V.value === i ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out`
2276
2276
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth", "transition"])) : h("", !0),
2277
- a.comment && l.value.chart.comments.show ? (n(), r("foreignObject", {
2277
+ t.comment && l.value.chart.comments.show ? (n(), r("foreignObject", {
2278
2278
  key: 1,
2279
2279
  style: { overflow: "visible" },
2280
2280
  height: "12",
2281
2281
  width: l.value.chart.comments.width,
2282
- x: a.x - l.value.chart.comments.width / 2 + l.value.chart.comments.offsetX,
2283
- y: a.y + l.value.chart.comments.offsetY + 6
2282
+ x: t.x - l.value.chart.comments.width / 2 + l.value.chart.comments.offsetX,
2283
+ y: t.y + l.value.chart.comments.offsetY + 6
2284
2284
  }, [
2285
2285
  p("div", Ou, [
2286
- X(t.$slots, "plot-comment", {
2287
- plot: { ...a, color: e.color, seriesIndex: u, datapointIndex: i }
2286
+ X(a.$slots, "plot-comment", {
2287
+ plot: { ...t, color: e.color, seriesIndex: u, datapointIndex: i }
2288
2288
  }, void 0, !0)
2289
2289
  ])
2290
2290
  ], 8, Iu)) : h("", !0)
2291
2291
  ], 64))), 128))
2292
2292
  ], 6))), 128)),
2293
2293
  (l.value.bar.labels.show || l.value.bar.serieName.show) && f.value.dataLabels.show ? (n(), r("g", Nu, [
2294
- (n(!0), r(d, null, w(Ie.value, (e, u) => (n(), r(d, {
2294
+ (n(!0), r(d, null, w(Me.value, (e, u) => (n(), r(d, {
2295
2295
  key: `xLabel_bar_${e.id}`
2296
2296
  }, [
2297
- (n(!0), r(d, null, w(e.plots, (a, i) => (n(), r(d, {
2297
+ (n(!0), r(d, null, w(e.plots, (t, i) => (n(), r(d, {
2298
2298
  key: `xLabel_bar_${u}_${i}`
2299
2299
  }, [
2300
- a && (!Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || _.value !== null && _.value === i || V.value !== null && V.value === i) && l.value.bar.labels.show ? (n(), r("text", {
2300
+ t && (!Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || _.value !== null && _.value === i || V.value !== null && V.value === i) && l.value.bar.labels.show ? (n(), r("text", {
2301
2301
  key: 0,
2302
- x: f.value.useIndividualScale && f.value.isStacked ? a.x + q.value.line / 2 : Hl(a) + He() / 2 - El.value / 2,
2303
- y: v(P)(a.y) + (a.value >= 0 ? l.value.bar.labels.offsetY : -l.value.bar.labels.offsetY * 3),
2302
+ x: f.value.useIndividualScale && f.value.isStacked ? t.x + q.value.line / 2 : Hl(t) + He() / 2 - El.value / 2,
2303
+ y: v(P)(t.y) + (t.value >= 0 ? l.value.bar.labels.offsetY : -l.value.bar.labels.offsetY * 3),
2304
2304
  "text-anchor": "middle",
2305
2305
  "font-size": y.value.plotLabels,
2306
2306
  fill: l.value.bar.labels.color,
2307
2307
  style: $(`opacity:${I.value ? I.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2308
- }, te(me(a.value) ? v(oe)(
2308
+ }, ae(me(t.value) ? v(se)(
2309
2309
  l.value.bar.labels.formatter,
2310
- a.value,
2310
+ t.value,
2311
2311
  v(Ve)({
2312
2312
  p: e.prefix || l.value.chart.labels.prefix,
2313
- v: a.value,
2313
+ v: t.value,
2314
2314
  s: e.suffix || l.value.chart.labels.suffix,
2315
2315
  r: l.value.bar.labels.rounding
2316
2316
  }),
2317
2317
  {
2318
- datapoint: a,
2318
+ datapoint: t,
2319
2319
  serie: e
2320
2320
  }
2321
2321
  ) : ""), 13, Vu)) : h("", !0),
2322
- a && l.value.bar.serieName.show ? (n(), r("text", {
2322
+ t && l.value.bar.serieName.show ? (n(), r("text", {
2323
2323
  key: 1,
2324
- x: f.value.useIndividualScale && f.value.isStacked ? a.x + q.value.line / 2 : a.x + He() * 1.1,
2325
- y: a.y + (a.value > 0 ? l.value.bar.serieName.offsetY : -l.value.bar.serieName.offsetY * 3),
2324
+ x: f.value.useIndividualScale && f.value.isStacked ? t.x + q.value.line / 2 : t.x + He() * 1.1,
2325
+ y: t.y + (t.value > 0 ? l.value.bar.serieName.offsetY : -l.value.bar.serieName.offsetY * 3),
2326
2326
  "text-anchor": "middle",
2327
2327
  "font-size": y.value.plotLabels,
2328
2328
  fill: l.value.bar.serieName.useSerieColor ? e.color : l.value.bar.serieName.color,
2329
2329
  "font-weight": l.value.bar.serieName.bold ? "bold" : "normal",
2330
2330
  style: $(`opacity:${I.value ? I.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2331
- }, te(l.value.bar.serieName.useAbbreviation ? v(ts)({
2331
+ }, ae(l.value.bar.serieName.useAbbreviation ? v(as)({
2332
2332
  source: e.name,
2333
2333
  length: l.value.bar.serieName.abbreviationSize
2334
2334
  }) : e.name), 13, Pu)) : h("", !0)
@@ -2336,41 +2336,41 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2336
2336
  ], 64))), 128))
2337
2337
  ])) : h("", !0),
2338
2338
  l.value.plot.labels.show && f.value.dataLabels.show ? (n(), r("g", Fu, [
2339
- (n(!0), r(d, null, w(ye.value, (e, u) => (n(), r(d, {
2339
+ (n(!0), r(d, null, w(be.value, (e, u) => (n(), r(d, {
2340
2340
  key: `xLabel_plot_${e.id}`
2341
2341
  }, [
2342
- (n(!0), r(d, null, w(e.plots, (a, i) => (n(), r(d, {
2342
+ (n(!0), r(d, null, w(e.plots, (t, i) => (n(), r(d, {
2343
2343
  key: `xLabel_plot_${u}_${i}`
2344
2344
  }, [
2345
- a && !Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || _.value !== null && _.value === i || V.value !== null && V.value === i ? (n(), r("text", {
2345
+ t && !Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || _.value !== null && _.value === i || V.value !== null && V.value === i ? (n(), r("text", {
2346
2346
  key: 0,
2347
- x: a.x,
2348
- y: a.y + l.value.plot.labels.offsetY,
2347
+ x: t.x,
2348
+ y: t.y + l.value.plot.labels.offsetY,
2349
2349
  "text-anchor": "middle",
2350
2350
  "font-size": y.value.plotLabels,
2351
2351
  fill: l.value.plot.labels.color,
2352
2352
  style: $(`opacity:${I.value ? I.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2353
- }, te(me(a.value) ? v(oe)(
2353
+ }, ae(me(t.value) ? v(se)(
2354
2354
  l.value.plot.labels.formatter,
2355
- a.value,
2355
+ t.value,
2356
2356
  v(Ve)({
2357
2357
  p: e.prefix || l.value.chart.labels.prefix,
2358
- v: a.value,
2358
+ v: t.value,
2359
2359
  s: e.suffix || l.value.chart.labels.suffix,
2360
2360
  r: l.value.plot.labels.rounding
2361
2361
  }),
2362
2362
  {
2363
- datapoint: a,
2363
+ datapoint: t,
2364
2364
  serie: e
2365
2365
  }
2366
2366
  ) : ""), 13, Ru)) : h("", !0)
2367
2367
  ], 64))), 128))
2368
2368
  ], 64))), 128))
2369
2369
  ])) : (n(), r("g", Bu, [
2370
- (n(!0), r(d, null, w(ye.value, (e, u) => (n(), r(d, {
2370
+ (n(!0), r(d, null, w(be.value, (e, u) => (n(), r(d, {
2371
2371
  key: `xLabel_plot_${e.id}`
2372
2372
  }, [
2373
- (n(!0), r(d, null, w(e.plots, (a, i) => (n(), r(d, {
2373
+ (n(!0), r(d, null, w(e.plots, (t, i) => (n(), r(d, {
2374
2374
  key: `xLabel_plot_${u}_${i}`
2375
2375
  }, [
2376
2376
  l.value.plot.tag.followValue ? (n(), r(d, { key: 1 }, [
@@ -2379,52 +2379,52 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2379
2379
  class: "vue-ui-xy-tag-plot",
2380
2380
  x1: c.value.left,
2381
2381
  x2: c.value.right,
2382
- y1: a.y,
2383
- y2: a.y,
2382
+ y1: t.y,
2383
+ y2: t.y,
2384
2384
  "stroke-width": 1,
2385
2385
  "stroke-linecap": "round",
2386
2386
  "stroke-dasharray": "2",
2387
2387
  stroke: e.color
2388
2388
  }, null, 8, Wu)) : h("", !0)
2389
2389
  ], 64)) : (n(), r(d, { key: 0 }, [
2390
- a && i === 0 && e.useTag && e.useTag === "start" ? (n(), r("foreignObject", {
2390
+ t && i === 0 && e.useTag && e.useTag === "start" ? (n(), r("foreignObject", {
2391
2391
  key: 0,
2392
- x: a.x,
2393
- y: a.y - 20,
2392
+ x: t.x,
2393
+ y: t.y - 20,
2394
2394
  height: 24,
2395
2395
  width: "150",
2396
2396
  style: $(`overflow: visible; opacity:${I.value ? I.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2397
2397
  }, [
2398
2398
  p("div", {
2399
- style: $(`padding: 3px; background:${v(Ae)(e.color, 80)};color:${v(We)(e.color)};width:fit-content;font-size:${y.value.plotLabels}px;border-radius: 2px;`),
2400
- innerHTML: v(oe)(
2399
+ style: $(`padding: 3px; background:${v(Ce)(e.color, 80)};color:${v(We)(e.color)};width:fit-content;font-size:${y.value.plotLabels}px;border-radius: 2px;`),
2400
+ innerHTML: v(se)(
2401
2401
  l.value.plot.tag.formatter,
2402
- a.value,
2402
+ t.value,
2403
2403
  e.name,
2404
2404
  {
2405
- datapoint: a,
2405
+ datapoint: t,
2406
2406
  seriesIndex: i,
2407
2407
  serieName: e.name
2408
2408
  }
2409
2409
  )
2410
2410
  }, null, 12, Du)
2411
2411
  ], 12, Hu)) : h("", !0),
2412
- a && i === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (n(), r("foreignObject", {
2412
+ t && i === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (n(), r("foreignObject", {
2413
2413
  key: 1,
2414
- x: a.x - e.name.length * (y.value.plotLabels / 2),
2415
- y: a.y - 20,
2414
+ x: t.x - e.name.length * (y.value.plotLabels / 2),
2415
+ y: t.y - 20,
2416
2416
  height: 24,
2417
2417
  width: "150",
2418
2418
  style: $(`overflow: visible; opacity:${I.value ? I.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2419
2419
  }, [
2420
2420
  p("div", {
2421
- style: $(`padding: 3px; background:${v(Ae)(e.color, 80)};color:${v(We)(e.color)};width:fit-content;font-size:${y.value.plotLabels}px;border-radius: 2px;`),
2422
- innerHTML: v(oe)(
2421
+ style: $(`padding: 3px; background:${v(Ce)(e.color, 80)};color:${v(We)(e.color)};width:fit-content;font-size:${y.value.plotLabels}px;border-radius: 2px;`),
2422
+ innerHTML: v(se)(
2423
2423
  l.value.plot.tag.formatter,
2424
- a.value,
2424
+ t.value,
2425
2425
  e.name,
2426
2426
  {
2427
- datapoint: a,
2427
+ datapoint: t,
2428
2428
  seriesIndex: i,
2429
2429
  serieName: e.name
2430
2430
  }
@@ -2436,41 +2436,41 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2436
2436
  ], 64))), 128))
2437
2437
  ])),
2438
2438
  l.value.line.labels.show && f.value.dataLabels.show ? (n(), r("g", Xu, [
2439
- (n(!0), r(d, null, w(ne.value, (e, u) => (n(), r(d, {
2439
+ (n(!0), r(d, null, w(te.value, (e, u) => (n(), r(d, {
2440
2440
  key: `xLabel_line_${e.id}`
2441
2441
  }, [
2442
- (n(!0), r(d, null, w(e.plots, (a, i) => (n(), r(d, {
2442
+ (n(!0), r(d, null, w(e.plots, (t, i) => (n(), r(d, {
2443
2443
  key: `xLabel_line_${u}_${i}`
2444
2444
  }, [
2445
- a && !Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || _.value !== null && _.value === i || V.value !== null && V.value === i ? (n(), r("text", {
2445
+ t && !Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || _.value !== null && _.value === i || V.value !== null && V.value === i ? (n(), r("text", {
2446
2446
  key: 0,
2447
- x: a.x,
2448
- y: a.y + (a.value >= 0 ? l.value.line.labels.offsetY : -l.value.line.labels.offsetY * 3),
2447
+ x: t.x,
2448
+ y: t.y + (t.value >= 0 ? l.value.line.labels.offsetY : -l.value.line.labels.offsetY * 3),
2449
2449
  "text-anchor": "middle",
2450
2450
  "font-size": y.value.plotLabels,
2451
2451
  fill: l.value.line.labels.color,
2452
2452
  style: $(`opacity:${I.value ? I.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2453
- }, te(me(a.value) ? v(oe)(
2453
+ }, ae(me(t.value) ? v(se)(
2454
2454
  l.value.line.labels.formatter,
2455
- a.value,
2455
+ t.value,
2456
2456
  v(Ve)({
2457
2457
  p: e.prefix || l.value.chart.labels.prefix,
2458
- v: a.value,
2458
+ v: t.value,
2459
2459
  s: e.suffix || l.value.chart.labels.suffix,
2460
2460
  r: l.value.line.labels.rounding
2461
2461
  }),
2462
2462
  {
2463
- datapoint: a,
2463
+ datapoint: t,
2464
2464
  serie: e
2465
2465
  }
2466
2466
  ) : ""), 13, Gu)) : h("", !0)
2467
2467
  ], 64))), 128))
2468
2468
  ], 64))), 128))
2469
2469
  ])) : (n(), r("g", Uu, [
2470
- (n(!0), r(d, null, w(ne.value, (e, u) => (n(), r(d, {
2470
+ (n(!0), r(d, null, w(te.value, (e, u) => (n(), r(d, {
2471
2471
  key: `xLabel_line_${e.id}`
2472
2472
  }, [
2473
- (n(!0), r(d, null, w(e.plots, (a, i) => (n(), r(d, {
2473
+ (n(!0), r(d, null, w(e.plots, (t, i) => (n(), r(d, {
2474
2474
  key: `xLabel_line_${u}_${i}`
2475
2475
  }, [
2476
2476
  l.value.line.tag.followValue ? (n(), r(d, { key: 1 }, [
@@ -2479,52 +2479,52 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2479
2479
  class: "vue-ui-xy-tag-line",
2480
2480
  x1: c.value.left,
2481
2481
  x2: c.value.right,
2482
- y1: a.y,
2483
- y2: a.y,
2482
+ y1: t.y,
2483
+ y2: t.y,
2484
2484
  "stroke-width": 1,
2485
2485
  "stroke-linecap": "round",
2486
2486
  "stroke-dasharray": "2",
2487
2487
  stroke: e.color
2488
2488
  }, null, 8, Qu)) : h("", !0)
2489
2489
  ], 64)) : (n(), r(d, { key: 0 }, [
2490
- a && i === 0 && e.useTag && e.useTag === "start" ? (n(), r("foreignObject", {
2490
+ t && i === 0 && e.useTag && e.useTag === "start" ? (n(), r("foreignObject", {
2491
2491
  key: 0,
2492
- x: a.x,
2493
- y: a.y - 20,
2492
+ x: t.x,
2493
+ y: t.y - 20,
2494
2494
  height: 24,
2495
2495
  width: "150",
2496
2496
  style: $(`overflow: visible; opacity:${I.value ? I.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2497
2497
  }, [
2498
2498
  p("div", {
2499
- style: $(`padding: 3px; background:${v(Ae)(e.color, 80)};color:${v(We)(e.color)};width:fit-content;font-size:${y.value.plotLabels}px;border-radius: 2px;`),
2500
- innerHTML: v(oe)(
2499
+ style: $(`padding: 3px; background:${v(Ce)(e.color, 80)};color:${v(We)(e.color)};width:fit-content;font-size:${y.value.plotLabels}px;border-radius: 2px;`),
2500
+ innerHTML: v(se)(
2501
2501
  l.value.line.tag.formatter,
2502
- a.value,
2502
+ t.value,
2503
2503
  e.name,
2504
2504
  {
2505
- datapoint: a,
2505
+ datapoint: t,
2506
2506
  seriesIndex: i,
2507
2507
  serieName: e.name
2508
2508
  }
2509
2509
  )
2510
2510
  }, null, 12, Zu)
2511
2511
  ], 12, qu)) : h("", !0),
2512
- a && i === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (n(), r("foreignObject", {
2512
+ t && i === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (n(), r("foreignObject", {
2513
2513
  key: 1,
2514
- x: a.x,
2515
- y: a.y - 20,
2514
+ x: t.x,
2515
+ y: t.y - 20,
2516
2516
  height: 24,
2517
2517
  width: "150",
2518
2518
  style: $(`overflow: visible; opacity:${I.value ? I.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2519
2519
  }, [
2520
2520
  p("div", {
2521
- style: $(`padding: 3px; background:${v(Ae)(e.color, 80)};color:${v(We)(e.color)};width:fit-content;font-size:${y.value.plotLabels}px;border-radius: 2px;`),
2522
- innerHTML: v(oe)(
2521
+ style: $(`padding: 3px; background:${v(Ce)(e.color, 80)};color:${v(We)(e.color)};width:fit-content;font-size:${y.value.plotLabels}px;border-radius: 2px;`),
2522
+ innerHTML: v(se)(
2523
2523
  l.value.line.tag.formatter,
2524
- a.value,
2524
+ t.value,
2525
2525
  e.name,
2526
2526
  {
2527
- datapoint: a,
2527
+ datapoint: t,
2528
2528
  seriesIndex: i,
2529
2529
  serieName: e.name
2530
2530
  }
@@ -2535,16 +2535,16 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2535
2535
  ], 64))), 128))
2536
2536
  ], 64))), 128))
2537
2537
  ])),
2538
- (n(!0), r(d, null, w(ne.value, (e, u) => (n(), r(d, {
2538
+ (n(!0), r(d, null, w(te.value, (e, u) => (n(), r(d, {
2539
2539
  key: `xLabel_line_${e.id}`
2540
2540
  }, [
2541
- (n(!0), r(d, null, w(e.plots, (a, i) => (n(), r(d, {
2541
+ (n(!0), r(d, null, w(e.plots, (t, i) => (n(), r(d, {
2542
2542
  key: `xLabel_line_${u}_${i}`
2543
2543
  }, [
2544
- a && i === 0 && e.showSerieName && e.showSerieName === "start" ? (n(), r("text", {
2544
+ t && i === 0 && e.showSerieName && e.showSerieName === "start" ? (n(), r("text", {
2545
2545
  key: 0,
2546
- x: a.x - y.value.plotLabels,
2547
- y: a.y,
2546
+ x: t.x - y.value.plotLabels,
2547
+ y: t.y,
2548
2548
  "font-size": y.value.plotLabels,
2549
2549
  "text-anchor": "end",
2550
2550
  fill: e.color,
@@ -2552,16 +2552,16 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2552
2552
  content: e.name,
2553
2553
  fontSize: y.value.plotLabels,
2554
2554
  fill: e.color,
2555
- x: a.x - y.value.plotLabels,
2556
- y: a.y,
2555
+ x: t.x - y.value.plotLabels,
2556
+ y: t.y,
2557
2557
  maxWords: 2
2558
2558
  }),
2559
2559
  style: $(`opacity:${I.value ? I.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2560
2560
  }, null, 12, ju)) : h("", !0),
2561
- a && i === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (n(), r("text", {
2561
+ t && i === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (n(), r("text", {
2562
2562
  key: 1,
2563
- x: a.x + y.value.plotLabels,
2564
- y: a.y,
2563
+ x: t.x + y.value.plotLabels,
2564
+ y: t.y,
2565
2565
  "font-size": y.value.plotLabels,
2566
2566
  "text-anchor": "start",
2567
2567
  fill: e.color,
@@ -2569,24 +2569,24 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2569
2569
  content: e.name,
2570
2570
  fontSize: y.value.plotLabels,
2571
2571
  fill: e.color,
2572
- x: a.x + y.value.plotLabels,
2573
- y: a.y,
2572
+ x: t.x + y.value.plotLabels,
2573
+ y: t.y,
2574
2574
  maxWords: 2
2575
2575
  }),
2576
2576
  style: $(`opacity:${I.value ? I.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2577
2577
  }, null, 12, ei)) : h("", !0)
2578
2578
  ], 64))), 128))
2579
2579
  ], 64))), 128)),
2580
- (n(!0), r(d, null, w(ye.value, (e, u) => (n(), r(d, {
2580
+ (n(!0), r(d, null, w(be.value, (e, u) => (n(), r(d, {
2581
2581
  key: `xLabel_plot_${e.id}`
2582
2582
  }, [
2583
- (n(!0), r(d, null, w(e.plots, (a, i) => (n(), r(d, {
2583
+ (n(!0), r(d, null, w(e.plots, (t, i) => (n(), r(d, {
2584
2584
  key: `xLabel_plot_${u}_${i}`
2585
2585
  }, [
2586
- a && i === 0 && e.showSerieName && e.showSerieName === "start" ? (n(), r("text", {
2586
+ t && i === 0 && e.showSerieName && e.showSerieName === "start" ? (n(), r("text", {
2587
2587
  key: 0,
2588
- x: a.x - y.value.plotLabels,
2589
- y: a.y,
2588
+ x: t.x - y.value.plotLabels,
2589
+ y: t.y,
2590
2590
  "font-size": y.value.plotLabels,
2591
2591
  "text-anchor": "end",
2592
2592
  fill: e.color,
@@ -2594,16 +2594,16 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2594
2594
  content: e.name,
2595
2595
  fontSize: y.value.plotLabels,
2596
2596
  fill: e.color,
2597
- x: a.x - y.value.plotLabels,
2598
- y: a.y,
2597
+ x: t.x - y.value.plotLabels,
2598
+ y: t.y,
2599
2599
  maxWords: 2
2600
2600
  }),
2601
2601
  style: $(`opacity:${I.value ? I.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2602
2602
  }, null, 12, li)) : h("", !0),
2603
- a && i === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (n(), r("text", {
2603
+ t && i === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (n(), r("text", {
2604
2604
  key: 1,
2605
- x: a.x + y.value.plotLabels,
2606
- y: a.y,
2605
+ x: t.x + y.value.plotLabels,
2606
+ y: t.y,
2607
2607
  "font-size": y.value.plotLabels,
2608
2608
  "text-anchor": "start",
2609
2609
  fill: e.color,
@@ -2611,18 +2611,18 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2611
2611
  content: e.name,
2612
2612
  fontSize: y.value.plotLabels,
2613
2613
  fill: e.color,
2614
- x: a.x + y.value.plotLabels,
2615
- y: a.y,
2614
+ x: t.x + y.value.plotLabels,
2615
+ y: t.y,
2616
2616
  maxWords: 2
2617
2617
  }),
2618
2618
  style: $(`opacity:${I.value ? I.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2619
- }, null, 12, ti)) : h("", !0)
2619
+ }, null, 12, ai)) : h("", !0)
2620
2620
  ], 64))), 128))
2621
2621
  ], 64))), 128)),
2622
- (n(!0), r(d, null, w([...ye.value, ...ne.value, ...Ie.value], (e, u) => (n(), r(d, {
2622
+ (n(!0), r(d, null, w([...be.value, ...te.value, ...Me.value], (e, u) => (n(), r(d, {
2623
2623
  key: `progression-${u}`
2624
2624
  }, [
2625
- Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(v(_e)(e.plots).trend) ? (n(), r("g", ai, [
2625
+ Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(v(_e)(e.plots).trend) ? (n(), r("g", ti, [
2626
2626
  p("defs", null, [
2627
2627
  p("marker", {
2628
2628
  id: `progression_arrow_${u}`,
@@ -2682,7 +2682,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2682
2682
  "stroke-linecap": "round",
2683
2683
  "stroke-linejoin": "round",
2684
2684
  "paint-order": "stroke fill"
2685
- }, te(v(Ve)({
2685
+ }, ae(v(Ve)({
2686
2686
  v: v(_e)(e.plots).trend * 100,
2687
2687
  s: "%",
2688
2688
  r: 2
@@ -2716,38 +2716,38 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2716
2716
  width: l.value.chart.grid.labels.yAxis.labelWidth + c.value.individualOffsetX,
2717
2717
  height: c.value.height < 0 ? 10 : c.value.height,
2718
2718
  fill: I.value === e.groupId ? `url(#individual_scale_gradient_${D.value}_${u})` : "transparent",
2719
- onMouseenter: (a) => I.value = e.groupId,
2720
- onMouseleave: s[0] || (s[0] = (a) => I.value = null)
2719
+ onMouseenter: (t) => I.value = e.groupId,
2720
+ onMouseleave: s[0] || (s[0] = (t) => I.value = null)
2721
2721
  }, null, 40, di))), 256))
2722
2722
  ], 64)) : h("", !0),
2723
2723
  p("g", null, [
2724
2724
  l.value.chart.grid.labels.axis.yLabel && !f.value.useIndividualScale ? (n(), r("text", {
2725
2725
  key: 0,
2726
2726
  ref_key: "yAxisLabel",
2727
- ref: lt,
2727
+ ref: la,
2728
2728
  "font-size": y.value.yAxis,
2729
2729
  fill: l.value.chart.grid.labels.color,
2730
2730
  transform: `translate(${l.value.chart.grid.labels.axis.fontSize}, ${c.value.top + c.value.height / 2}) rotate(-90)`,
2731
2731
  "text-anchor": "middle",
2732
2732
  style: { transition: "none" }
2733
- }, te(l.value.chart.grid.labels.axis.yLabel), 9, hi)) : h("", !0),
2733
+ }, ae(l.value.chart.grid.labels.axis.yLabel), 9, hi)) : h("", !0),
2734
2734
  l.value.chart.grid.labels.axis.xLabel ? (n(), r("text", {
2735
2735
  key: 1,
2736
2736
  ref_key: "xAxisLabel",
2737
- ref: et,
2737
+ ref: ea,
2738
2738
  "text-anchor": "middle",
2739
2739
  x: Q.value / 2,
2740
2740
  y: ve.value - 3,
2741
2741
  "font-size": y.value.yAxis,
2742
2742
  fill: l.value.chart.grid.labels.color
2743
- }, te(l.value.chart.grid.labels.axis.xLabel), 9, fi)) : h("", !0)
2743
+ }, ae(l.value.chart.grid.labels.axis.xLabel), 9, fi)) : h("", !0)
2744
2744
  ]),
2745
2745
  l.value.chart.grid.labels.xAxisLabels.show ? (n(), r("g", {
2746
2746
  key: 14,
2747
2747
  ref_key: "timeLabelsEls",
2748
2748
  ref: ul
2749
2749
  }, [
2750
- t.$slots["time-label"] ? (n(!0), r(d, { key: 0 }, w(gt.value, (e, u) => X(t.$slots, "time-label", tl({
2750
+ a.$slots["time-label"] ? (n(!0), r(d, { key: 0 }, w(ga.value, (e, u) => X(a.$slots, "time-label", al({
2751
2751
  key: `time_label_${e.id}`,
2752
2752
  ref_for: !0
2753
2753
  }, {
@@ -2760,7 +2760,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2760
2760
  content: e.text,
2761
2761
  textAnchor: l.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : l.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2762
2762
  show: e && e.text
2763
- }), void 0, !0)), 128)) : (n(!0), r(d, { key: 1 }, w(gt.value, (e, u) => (n(), r("g", {
2763
+ }), void 0, !0)), 128)) : (n(!0), r(d, { key: 1 }, w(ga.value, (e, u) => (n(), r("g", {
2764
2764
  key: `time_label_${u}`
2765
2765
  }, [
2766
2766
  e && e.text ? (n(), r(d, { key: 0 }, [
@@ -2773,16 +2773,16 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2773
2773
  fill: l.value.chart.grid.labels.xAxisLabels.color,
2774
2774
  transform: `translate(${c.value.left + c.value.width / L.value * u + c.value.width / L.value / 2}, ${c.value.bottom + y.value.xAxis * 1.5}), rotate(${l.value.chart.grid.labels.xAxisLabels.rotation})`,
2775
2775
  style: $({
2776
- cursor: Et() ? "pointer" : "default"
2776
+ cursor: Ea() ? "pointer" : "default"
2777
2777
  }),
2778
- innerHTML: v(as)({
2778
+ innerHTML: v(ts)({
2779
2779
  content: String(e.text),
2780
2780
  fontSize: y.value.xAxis,
2781
2781
  fill: l.value.chart.grid.labels.xAxisLabels.color,
2782
2782
  x: 0,
2783
2783
  y: 0
2784
2784
  }),
2785
- onClick: () => Gt(e, u)
2785
+ onClick: () => Ga(e, u)
2786
2786
  }, null, 12, mi)) : (n(), r("text", {
2787
2787
  key: 0,
2788
2788
  class: "vue-data-ui-time-label",
@@ -2791,15 +2791,15 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2791
2791
  fill: l.value.chart.grid.labels.xAxisLabels.color,
2792
2792
  transform: `translate(${c.value.left + c.value.width / L.value * u + c.value.width / L.value / 2}, ${c.value.bottom + y.value.xAxis * 1.5}), rotate(${l.value.chart.grid.labels.xAxisLabels.rotation})`,
2793
2793
  style: $({
2794
- cursor: Et() ? "pointer" : "default"
2794
+ cursor: Ea() ? "pointer" : "default"
2795
2795
  }),
2796
- onClick: () => Gt(e, u)
2797
- }, te(e.text || ""), 13, gi))
2796
+ onClick: () => Ga(e, u)
2797
+ }, ae(e.text || ""), 13, gi))
2798
2798
  ], 64)) : h("", !0)
2799
2799
  ]))), 128))
2800
2800
  ], 512)) : h("", !0),
2801
- na.value.length && !f.value.isStacked ? (n(), r("g", bi, [
2802
- (n(!0), r(d, null, w(na.value, (e) => (n(), r("g", {
2801
+ nt.value.length && !f.value.isStacked ? (n(), r("g", bi, [
2802
+ (n(!0), r(d, null, w(nt.value, (e) => (n(), r("g", {
2803
2803
  key: e.uid
2804
2804
  }, [
2805
2805
  e.yTop && e.show && isFinite(e.yTop) ? (n(), r("line", {
@@ -2832,10 +2832,10 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2832
2832
  x: e.x1,
2833
2833
  width: c.value.width,
2834
2834
  height: v(P)(e.areaHeight, 0),
2835
- fill: v(Ae)(e.config.area.fill, e.config.area.opacity),
2835
+ fill: v(Ce)(e.config.area.fill, e.config.area.opacity),
2836
2836
  style: { animation: "none !important" }
2837
2837
  }, null, 8, yi)) : h("", !0),
2838
- e.config.label.text && e.show && isFinite(e._box.y) ? (n(), r("rect", tl({
2838
+ e.config.label.text && e.show && isFinite(e._box.y) ? (n(), r("rect", al({
2839
2839
  key: 3,
2840
2840
  class: "vue-ui-xy-annotation-label-box"
2841
2841
  }, { ref_for: !0 }, e._box, { style: { animation: "none !important", transition: "none !important" } }), null, 16)) : h("", !0),
@@ -2848,7 +2848,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2848
2848
  "font-size": e.config.label.fontSize,
2849
2849
  fill: e.config.label.color,
2850
2850
  "text-anchor": e.config.label.textAnchor
2851
- }, te(e.config.label.text), 9, ki)) : h("", !0)
2851
+ }, ae(e.config.label.text), 9, ki)) : h("", !0)
2852
2852
  ]))), 128))
2853
2853
  ])) : h("", !0),
2854
2854
  l.value.chart.timeTag.show && (![null, void 0].includes(_.value) || ![null, void 0].includes(V.value)) ? (n(), r("g", _i, [
@@ -2861,7 +2861,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2861
2861
  }, [
2862
2862
  p("div", {
2863
2863
  ref_key: "timeTagEl",
2864
- ref: ka,
2864
+ ref: kt,
2865
2865
  class: "vue-ui-xy-time-tag",
2866
2866
  style: $(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${l.value.chart.timeTag.backgroundColor};color:${l.value.chart.timeTag.color};font-size:${l.value.chart.timeTag.fontSize}px`),
2867
2867
  innerHTML: No.value
@@ -2875,20 +2875,26 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2875
2875
  }, null, 8, $i)
2876
2876
  ])) : h("", !0)
2877
2877
  ])) : h("", !0),
2878
- Pt.value ? (n(), r("rect", tl({ key: 2 }, oo.value, {
2878
+ Pa.value ? (n(), r("rect", al({ key: 2 }, oo.value, {
2879
2879
  "data-start": m.value.start,
2880
2880
  "data-end": m.value.end
2881
2881
  }), null, 16, Li)) : h("", !0),
2882
- X(t.$slots, "svg", { svg: lo.value }, void 0, !0)
2882
+ X(a.$slots, "svg", {
2883
+ svg: {
2884
+ ...lo.value,
2885
+ data: [...te.value, ...Me.value, ...be.value],
2886
+ drawingArea: c.value
2887
+ }
2888
+ }, void 0, !0)
2883
2889
  ], 512)
2884
2890
  ], 46, Ss)),
2885
- t.$slots.watermark ? (n(), r("div", Mi, [
2886
- X(t.$slots, "watermark", el(ll({ isPrinting: v(vt) || v(Rt) })), void 0, !0)
2891
+ a.$slots.watermark ? (n(), r("div", Mi, [
2892
+ X(a.$slots, "watermark", el(ll({ isPrinting: v(va) || v(Ra) })), void 0, !0)
2887
2893
  ])) : h("", !0),
2888
- (n(!0), r(d, null, w(ne.value, (e, u) => (n(), r(d, {
2894
+ (n(!0), r(d, null, w(te.value, (e, u) => (n(), r(d, {
2889
2895
  key: `tag_line_${e.id}`
2890
2896
  }, [
2891
- (n(!0), r(d, null, w(e.plots, (a, i) => (n(), r(d, {
2897
+ (n(!0), r(d, null, w(e.plots, (t, i) => (n(), r(d, {
2892
2898
  key: `tag_line_${u}_${i}`
2893
2899
  }, [
2894
2900
  [V.value, _.value, Ue.value].includes(i) && e.useTag && e.useTag === "end" && l.value.line.tag.followValue ? (n(), r("div", {
@@ -2900,16 +2906,16 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2900
2906
  style: $({
2901
2907
  position: "fixed",
2902
2908
  top: v(Xe)({
2903
- svgElement: se.value,
2909
+ svgElement: ue.value,
2904
2910
  x: c.value.right + l.value.line.tag.fontSize / 1.5,
2905
- y: a.y,
2911
+ y: t.y,
2906
2912
  element: Pe.value[`${u}_${i}_right_line`],
2907
2913
  position: "right"
2908
2914
  }).top + "px",
2909
2915
  left: v(Xe)({
2910
- svgElement: se.value,
2916
+ svgElement: ue.value,
2911
2917
  x: c.value.right + l.value.line.tag.fontSize / 1.5,
2912
- y: a.y,
2918
+ y: t.y,
2913
2919
  element: Pe.value[`${u}_${i}_right_line`],
2914
2920
  position: "right"
2915
2921
  }).left + "px",
@@ -2931,12 +2937,12 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2931
2937
  ])),
2932
2938
  p("div", {
2933
2939
  class: "vue-ui-xy-tag-content",
2934
- innerHTML: v(oe)(
2940
+ innerHTML: v(se)(
2935
2941
  l.value.line.tag.formatter,
2936
- a.value,
2942
+ t.value,
2937
2943
  e.name,
2938
2944
  {
2939
- datapoint: a,
2945
+ datapoint: t,
2940
2946
  seriesIndex: i,
2941
2947
  serieName: e.name
2942
2948
  }
@@ -2952,16 +2958,16 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2952
2958
  style: $({
2953
2959
  position: "fixed",
2954
2960
  top: v(Xe)({
2955
- svgElement: se.value,
2961
+ svgElement: ue.value,
2956
2962
  x: c.value.left - l.value.line.tag.fontSize / 1.5,
2957
- y: a.y,
2963
+ y: t.y,
2958
2964
  element: Pe.value[`${u}_${i}_left_line`],
2959
2965
  position: "left"
2960
2966
  }).top + "px",
2961
2967
  left: v(Xe)({
2962
- svgElement: se.value,
2968
+ svgElement: ue.value,
2963
2969
  x: c.value.left - l.value.line.tag.fontSize / 1.5,
2964
- y: a.y,
2970
+ y: t.y,
2965
2971
  element: Pe.value[`${u}_${i}_left_line`],
2966
2972
  position: "left"
2967
2973
  }).left + "px",
@@ -2983,12 +2989,12 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2983
2989
  ])),
2984
2990
  p("div", {
2985
2991
  class: "vue-ui-xy-tag-content",
2986
- innerHTML: v(oe)(
2992
+ innerHTML: v(se)(
2987
2993
  l.value.line.tag.formatter,
2988
- a.value,
2994
+ t.value,
2989
2995
  e.name,
2990
2996
  {
2991
- datapoint: a,
2997
+ datapoint: t,
2992
2998
  seriesIndex: i,
2993
2999
  serieName: e.name
2994
3000
  }
@@ -2997,10 +3003,10 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
2997
3003
  ], 4)) : h("", !0)
2998
3004
  ], 64))), 128))
2999
3005
  ], 64))), 128)),
3000
- (n(!0), r(d, null, w(ye.value, (e, u) => (n(), r(d, {
3006
+ (n(!0), r(d, null, w(be.value, (e, u) => (n(), r(d, {
3001
3007
  key: `tag_plot_${e.id}`
3002
3008
  }, [
3003
- (n(!0), r(d, null, w(e.plots, (a, i) => (n(), r(d, {
3009
+ (n(!0), r(d, null, w(e.plots, (t, i) => (n(), r(d, {
3004
3010
  key: `tag_plot_${u}_${i}`
3005
3011
  }, [
3006
3012
  [V.value, _.value, Ue.value].includes(i) && e.useTag && e.useTag === "end" && l.value.plot.tag.followValue ? (n(), r("div", {
@@ -3012,16 +3018,16 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
3012
3018
  style: $({
3013
3019
  position: "fixed",
3014
3020
  top: v(Xe)({
3015
- svgElement: se.value,
3021
+ svgElement: ue.value,
3016
3022
  x: c.value.right + l.value.plot.tag.fontSize / 1.5,
3017
- y: a.y,
3023
+ y: t.y,
3018
3024
  element: Pe.value[`${u}_${i}_right_plot`],
3019
3025
  position: "right"
3020
3026
  }).top + "px",
3021
3027
  left: v(Xe)({
3022
- svgElement: se.value,
3028
+ svgElement: ue.value,
3023
3029
  x: c.value.right + l.value.plot.tag.fontSize / 1.5,
3024
- y: a.y,
3030
+ y: t.y,
3025
3031
  element: Pe.value[`${u}_${i}_right_plot`],
3026
3032
  position: "right"
3027
3033
  }).left + "px",
@@ -3043,12 +3049,12 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
3043
3049
  ])),
3044
3050
  p("div", {
3045
3051
  class: "vue-ui-xy-tag-content",
3046
- innerHTML: v(oe)(
3052
+ innerHTML: v(se)(
3047
3053
  l.value.plot.tag.formatter,
3048
- a.value,
3054
+ t.value,
3049
3055
  e.name,
3050
3056
  {
3051
- datapoint: a,
3057
+ datapoint: t,
3052
3058
  seriesIndex: i,
3053
3059
  serieName: e.name
3054
3060
  }
@@ -3064,16 +3070,16 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
3064
3070
  style: $({
3065
3071
  position: "fixed",
3066
3072
  top: v(Xe)({
3067
- svgElement: se.value,
3073
+ svgElement: ue.value,
3068
3074
  x: c.value.left - l.value.plot.tag.fontSize / 1.5,
3069
- y: a.y,
3075
+ y: t.y,
3070
3076
  element: Pe.value[`${u}_${i}_left_plot`],
3071
3077
  position: "left"
3072
3078
  }).top + "px",
3073
3079
  left: v(Xe)({
3074
- svgElement: se.value,
3080
+ svgElement: ue.value,
3075
3081
  x: c.value.left - l.value.plot.tag.fontSize / 1.5,
3076
- y: a.y,
3082
+ y: t.y,
3077
3083
  element: Pe.value[`${u}_${i}_left_plot`],
3078
3084
  position: "left"
3079
3085
  }).left + "px",
@@ -3095,12 +3101,12 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
3095
3101
  ])),
3096
3102
  p("div", {
3097
3103
  class: "vue-ui-xy-tag-content",
3098
- innerHTML: v(oe)(
3104
+ innerHTML: v(se)(
3099
3105
  l.value.plot.tag.formatter,
3100
- a.value,
3106
+ t.value,
3101
3107
  e.name,
3102
3108
  {
3103
- datapoint: a,
3109
+ datapoint: t,
3104
3110
  seriesIndex: i,
3105
3111
  serieName: e.name
3106
3112
  }
@@ -3109,10 +3115,10 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
3109
3115
  ], 4)) : h("", !0)
3110
3116
  ], 64))), 128))
3111
3117
  ], 64))), 128)),
3112
- l.value.chart.zoom.show && ze.value > 6 && rt.value && Zt.value ? (n(), Me(ps, {
3118
+ l.value.chart.zoom.show && Ie.value > 6 && ra.value && Za.value ? (n(), Ae(ps, {
3113
3119
  key: 5,
3114
3120
  ref_key: "chartSlicer",
3115
- ref: Te,
3121
+ ref: ze,
3116
3122
  allMinimaps: Co.value,
3117
3123
  background: l.value.chart.zoom.color,
3118
3124
  borderColor: l.value.chart.backgroundColor,
@@ -3127,10 +3133,10 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
3127
3133
  useResetSlot: l.value.chart.zoom.useResetSlot,
3128
3134
  immediate: !l.value.chart.zoom.preview.enable,
3129
3135
  inputColor: l.value.chart.zoom.color,
3130
- isPreview: Pt.value,
3136
+ isPreview: Pa.value,
3131
3137
  labelLeft: de.value[0] ? de.value[0].text : "",
3132
3138
  labelRight: de.value.at(-1) ? de.value.at(-1).text : "",
3133
- max: ze.value,
3139
+ max: Ie.value,
3134
3140
  min: 0,
3135
3141
  minimap: Ao.value,
3136
3142
  minimapCompact: l.value.chart.zoom.minimap.compact,
@@ -3142,7 +3148,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
3142
3148
  minimapSelectedColorOpacity: l.value.chart.zoom.minimap.selectedColorOpacity,
3143
3149
  minimapSelectedIndex: _.value,
3144
3150
  minimapSelectionRadius: l.value.chart.zoom.minimap.selectionRadius,
3145
- preciseLabels: da.value.length ? da.value : ft.value,
3151
+ preciseLabels: dt.value.length ? dt.value : fa.value,
3146
3152
  refreshEndPoint: l.value.chart.zoom.endIndex !== null ? l.value.chart.zoom.endIndex + 1 : Math.max(...Ql.dataset.map((e) => Be(e.series).length)),
3147
3153
  refreshStartPoint: l.value.chart.zoom.startIndex !== null ? l.value.chart.zoom.startIndex : 0,
3148
3154
  selectColor: l.value.chart.zoom.highlightColor,
@@ -3150,27 +3156,27 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
3150
3156
  smoothMinimap: l.value.chart.zoom.minimap.smooth,
3151
3157
  start: m.value.start,
3152
3158
  textColor: l.value.chart.color,
3153
- timeLabels: ft.value,
3159
+ timeLabels: fa.value,
3154
3160
  usePreciseLabels: l.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !l.value.chart.zoom.useDefaultFormat,
3155
3161
  valueEnd: m.value.end,
3156
3162
  valueStart: m.value.start,
3157
3163
  verticalHandles: l.value.chart.zoom.minimap.verticalHandles,
3158
- onFutureEnd: s[1] || (s[1] = (e) => Ft("end", e)),
3159
- onFutureStart: s[2] || (s[2] = (e) => Ft("start", e)),
3164
+ onFutureEnd: s[1] || (s[1] = (e) => Fa("end", e)),
3165
+ onFutureStart: s[2] || (s[2] = (e) => Fa("start", e)),
3160
3166
  onReset: xo,
3161
3167
  onTrapMouse: fo,
3162
3168
  "onUpdate:end": bo,
3163
3169
  "onUpdate:start": mo
3164
3170
  }, {
3165
3171
  "reset-action": ee(({ reset: e }) => [
3166
- X(t.$slots, "reset-action", el(ll({ reset: e })), void 0, !0)
3172
+ X(a.$slots, "reset-action", el(ll({ reset: e })), void 0, !0)
3167
3173
  ]),
3168
3174
  _: 3
3169
3175
  }, 8, ["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"])) : h("", !0),
3170
3176
  p("div", {
3171
3177
  id: `legend-bottom-${D.value}`
3172
3178
  }, null, 8, Hi),
3173
- It.value ? (n(), Me(Xo, {
3179
+ Ia.value ? (n(), Ae(Xo, {
3174
3180
  key: 6,
3175
3181
  to: l.value.chart.legend.position === "top" ? `#legend-top-${D.value}` : `#legend-bottom-${D.value}`
3176
3182
  }, [
@@ -3185,7 +3191,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
3185
3191
  }, [
3186
3192
  (n(!0), r(d, null, w(Le.value, (e, u) => (n(), r("div", {
3187
3193
  key: `div_legend_item_${u}`,
3188
- onClick: (a) => oa(e),
3194
+ onClick: (t) => ot(e),
3189
3195
  class: je({ "vue-ui-xy-legend-item-alone": Le.value.length === 1, "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": j.value.includes(e.id) })
3190
3196
  }, [
3191
3197
  bl.value[e.type] === "line" ? (n(), r("svg", Ei, [
@@ -3208,7 +3214,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
3208
3214
  strokeWidth: 0.5
3209
3215
  }, null, 8, ["color", "shape", "stroke"])
3210
3216
  ])) : bl.value[e.type] === "bar" ? (n(), r("svg", Wi, [
3211
- bl.value[e.type] === "bar" && t.$slots.pattern ? (n(), r("rect", {
3217
+ bl.value[e.type] === "bar" && a.$slots.pattern ? (n(), r("rect", {
3212
3218
  key: 0,
3213
3219
  x: "4",
3214
3220
  y: "4",
@@ -3226,7 +3232,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
3226
3232
  height: "32",
3227
3233
  width: "32",
3228
3234
  stroke: "none",
3229
- fill: t.$slots.pattern ? `url(#pattern_${D.value}_${e.slotAbsoluteIndex})` : e.color
3235
+ fill: a.$slots.pattern ? `url(#pattern_${D.value}_${e.slotAbsoluteIndex})` : e.color
3230
3236
  }, null, 8, Gi)) : h("", !0)
3231
3237
  ])) : (n(), r("svg", Ui, [
3232
3238
  vl(Kl, {
@@ -3238,26 +3244,26 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
3238
3244
  ])),
3239
3245
  p("span", {
3240
3246
  style: $(`color:${l.value.chart.legend.color}`)
3241
- }, te(e.name), 5)
3247
+ }, ae(e.name), 5)
3242
3248
  ], 10, Di))), 128))
3243
3249
  ], 4)) : (n(), r("div", {
3244
3250
  key: 1,
3245
3251
  ref_key: "chartLegend",
3246
3252
  ref: sl
3247
3253
  }, [
3248
- X(t.$slots, "legend", { legend: Le.value }, void 0, !0)
3254
+ X(a.$slots, "legend", { legend: Le.value }, void 0, !0)
3249
3255
  ], 512))
3250
3256
  ], 8, ["to"])) : h("", !0),
3251
- t.$slots.source ? (n(), r("div", {
3257
+ a.$slots.source ? (n(), r("div", {
3252
3258
  key: 7,
3253
3259
  ref_key: "source",
3254
3260
  ref: gl,
3255
3261
  dir: "auto"
3256
3262
  }, [
3257
- X(t.$slots, "source", {}, void 0, !0)
3263
+ X(a.$slots, "source", {}, void 0, !0)
3258
3264
  ], 512)) : h("", !0),
3259
- vl(v(Xa), {
3260
- show: f.value.showTooltip && Mt.value,
3265
+ vl(v(Xt), {
3266
+ show: f.value.showTooltip && Ma.value,
3261
3267
  backgroundColor: l.value.chart.tooltip.backgroundColor,
3262
3268
  color: l.value.chart.tooltip.color,
3263
3269
  fontSize: l.value.chart.tooltip.fontSize,
@@ -3267,7 +3273,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
3267
3273
  backgroundOpacity: l.value.chart.tooltip.backgroundOpacity,
3268
3274
  position: l.value.chart.tooltip.position,
3269
3275
  offsetY: l.value.chart.tooltip.offsetY,
3270
- parent: t.$refs.chart,
3276
+ parent: a.$refs.chart,
3271
3277
  content: To.value,
3272
3278
  isFullscreen: Ge.value,
3273
3279
  isCustom: l.value.chart.tooltip.customFormat && typeof l.value.chart.tooltip.customFormat == "function",
@@ -3277,21 +3283,21 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
3277
3283
  smoothSnapThreshold: l.value.chart.tooltip.smoothSnapThreshold
3278
3284
  }, {
3279
3285
  "tooltip-before": ee(() => [
3280
- X(t.$slots, "tooltip-before", el(ll({ ...va.value })), void 0, !0)
3286
+ X(a.$slots, "tooltip-before", el(ll({ ...vt.value })), void 0, !0)
3281
3287
  ]),
3282
3288
  "tooltip-after": ee(() => [
3283
- X(t.$slots, "tooltip-after", el(ll({ ...va.value })), void 0, !0)
3289
+ X(a.$slots, "tooltip-after", el(ll({ ...vt.value })), void 0, !0)
3284
3290
  ]),
3285
3291
  _: 3
3286
3292
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
3287
- rt.value && l.value.chart.userOptions.buttons.table ? (n(), Me(Go($l.value.component), tl({ key: 8 }, $l.value.props, {
3293
+ ra.value && l.value.chart.userOptions.buttons.table ? (n(), Ae(Go($l.value.component), al({ key: 8 }, $l.value.props, {
3288
3294
  ref_key: "tableUnit",
3289
3295
  ref: il,
3290
- onClose: Sa
3291
- }), Aa({
3296
+ onClose: St
3297
+ }), At({
3292
3298
  content: ee(() => [
3293
3299
  p("div", {
3294
- style: $(`${v(vt) || l.value.table.useDialog ? "" : "max-height:400px"};${l.value.table.useDialog ? "height: fit-content; " : ""};overflow:auto;width:100%;${l.value.table.useDialog ? "" : "margin-top:48px"}`)
3300
+ style: $(`${v(va) || l.value.table.useDialog ? "" : "max-height:400px"};${l.value.table.useDialog ? "height: fit-content; " : ""};overflow:auto;width:100%;${l.value.table.useDialog ? "" : "margin-top:48px"}`)
3295
3301
  }, [
3296
3302
  p("div", qi, [
3297
3303
  Uo(p("input", {
@@ -3304,32 +3310,32 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
3304
3310
  onClick: s[5] || (s[5] = (e) => pl.value = !pl.value),
3305
3311
  style: { cursor: "pointer" }
3306
3312
  }, [
3307
- vl(v(St), {
3313
+ vl(v(Sa), {
3308
3314
  name: "chartLine",
3309
3315
  size: 20,
3310
3316
  stroke: l.value.chart.color
3311
3317
  }, null, 8, ["stroke"])
3312
3318
  ])
3313
3319
  ]),
3314
- pl.value ? (n(), Me(v(Ua), {
3315
- key: `sparkline_${st.value}`,
3320
+ pl.value ? (n(), Ae(v(Ut), {
3321
+ key: `sparkline_${sa.value}`,
3316
3322
  dataset: $o.value,
3317
3323
  config: Lo.value
3318
- }, null, 8, ["dataset", "config"])) : (n(), Me(v(Wa), {
3319
- key: `table_${Ct.value}`,
3324
+ }, null, 8, ["dataset", "config"])) : (n(), Ae(v(Wt), {
3325
+ key: `table_${Ca.value}`,
3320
3326
  colNames: Xl.value.colNames,
3321
3327
  head: Xl.value.head,
3322
3328
  body: Xl.value.body,
3323
3329
  config: Xl.value.config,
3324
3330
  title: l.value.table.useDialog ? "" : $l.value.title,
3325
3331
  withCloseButton: !l.value.table.useDialog,
3326
- onClose: Sa
3332
+ onClose: St
3327
3333
  }, {
3328
3334
  th: ee(({ th: e }) => [
3329
3335
  p("div", { innerHTML: e }, null, 8, Zi)
3330
3336
  ]),
3331
3337
  td: ee(({ td: e }) => [
3332
- Ca(te(isNaN(Number(e)) ? e : v(Ve)({
3338
+ Ct(ae(isNaN(Number(e)) ? e : v(Ve)({
3333
3339
  p: l.value.chart.labels.prefix,
3334
3340
  v: e,
3335
3341
  s: l.value.chart.labels.suffix,
@@ -3345,7 +3351,7 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
3345
3351
  l.value.table.useDialog ? {
3346
3352
  name: "title",
3347
3353
  fn: ee(() => [
3348
- Ca(te($l.value.title), 1)
3354
+ Ct(ae($l.value.title), 1)
3349
3355
  ]),
3350
3356
  key: "0"
3351
3357
  } : void 0,
@@ -3355,9 +3361,9 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
3355
3361
  p("button", {
3356
3362
  tabindex: "0",
3357
3363
  class: "vue-ui-user-options-button",
3358
- onClick: s[3] || (s[3] = (e) => bt(l.value.chart.userOptions.callbacks.csv))
3364
+ onClick: s[3] || (s[3] = (e) => ba(l.value.chart.userOptions.callbacks.csv))
3359
3365
  }, [
3360
- vl(v(St), {
3366
+ vl(v(Sa), {
3361
3367
  name: "excel",
3362
3368
  stroke: $l.value.props.color
3363
3369
  }, null, 8, ["stroke"])
@@ -3366,10 +3372,10 @@ const _s = ["id"], ws = ["id"], Ss = ["viewBox", "aria-label"], $s = ["x", "y",
3366
3372
  key: "1"
3367
3373
  } : void 0
3368
3374
  ]), 1040)) : h("", !0),
3369
- v(ue) ? (n(), Me(vs, { key: 9 })) : h("", !0)
3375
+ v(ie) ? (n(), Ae(vs, { key: 9 })) : h("", !0)
3370
3376
  ], 46, _s));
3371
3377
  }
3372
- }, fn = /* @__PURE__ */ ks(Ji, [["__scopeId", "data-v-c96105f9"]]);
3378
+ }, fn = /* @__PURE__ */ ks(Ji, [["__scopeId", "data-v-a62a27be"]]);
3373
3379
  export {
3374
3380
  fn as default
3375
3381
  };