vue-data-ui 3.0.0-next.3 → 3.0.0-next.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/README.md +1 -1
  2. package/dist/{Arrow-C8ztMhxn.js → Arrow-6c56sGJ3.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DoA1cXmQ.js → BaseDraggableDialog-y-BEzdTM.js} +2 -2
  4. package/dist/{BaseIcon-TJm1JI2f.js → BaseIcon-C-MP5EHV.js} +1 -1
  5. package/dist/{ColorPicker-DwhabPvD.js → ColorPicker-P7R8vBej.js} +2 -2
  6. package/dist/{DataTable-DObwKftY.js → DataTable-DD2pZIgh.js} +2 -2
  7. package/dist/{Legend-C-EDWcHp.js → Legend-DZZeyx5j.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-Cmy4Opaq.js → NonSvgPenAndPaper-uETwt6yC.js} +3 -3
  9. package/dist/{PackageVersion-B_SVQo0g.js → PackageVersion-D3jqYZS6.js} +1 -1
  10. package/dist/{PenAndPaper-CFbTGuB_.js → PenAndPaper-Dy9zUXnw.js} +3 -3
  11. package/dist/{Shape-DGduPk8q.js → Shape-CFp_TwS5.js} +1 -1
  12. package/dist/{Slicer-VumiAmDi.js → Slicer-Bba4UfIm.js} +2 -2
  13. package/dist/{SparkTooltip-DrRmoIkR.js → SparkTooltip-BMV9aNLi.js} +1 -1
  14. package/dist/{Title-Dahu_Ia-.js → Title-zqtIOYc5.js} +1 -1
  15. package/dist/{Tooltip-j8grOyYT.js → Tooltip-Bo30Qf34.js} +1 -1
  16. package/dist/{UserOptions-BOIQ8NtD.js → UserOptions-Cgrlu96K.js} +2 -2
  17. package/dist/{dom-to-png-00aHI4Vj.js → dom-to-png-SVXVB8J4.js} +1 -1
  18. package/dist/{img-DFeNRkbq.js → img-DJTFe-dE.js} +1 -1
  19. package/dist/{index-DKjAxJY6.js → index-DFSXaw69.js} +282 -271
  20. package/dist/{pdf-COmwjbLG.js → pdf-D-ie2h2J.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +43 -10
  23. package/dist/types/vue-data-ui.d.ts +43 -10
  24. package/dist/{useNestedProp-Cmx8ApWu.js → useNestedProp-CV3NndHa.js} +1 -1
  25. package/dist/{usePrinter-BefhLUKK.js → usePrinter-DXG9SdJr.js} +2 -2
  26. package/dist/{vue-data-ui-kdcEQgS0.js → vue-data-ui-DhThPvS0.js} +80 -74
  27. package/dist/vue-data-ui.js +53 -52
  28. package/dist/{vue-ui-3d-bar-Lv9eoXpT.js → vue-ui-3d-bar-C1M9fXQl.js} +6 -6
  29. package/dist/{vue-ui-accordion-BhrF0D_h.js → vue-ui-accordion-B-PjY4U8.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-DN94DM1L.js → vue-ui-age-pyramid-Bt0KEjza.js} +6 -6
  31. package/dist/{vue-ui-annotator-D-YFzFco.js → vue-ui-annotator-DauoYrzs.js} +2 -2
  32. package/dist/{vue-ui-bullet--c-hIC1J.js → vue-ui-bullet-CWxvbrat.js} +7 -7
  33. package/dist/{vue-ui-candlestick-Dz0D7t8f.js → vue-ui-candlestick-BmYaA6wk.js} +7 -7
  34. package/dist/{vue-ui-carousel-table-Bg4_nEqO.js → vue-ui-carousel-table-B7i9TvuL.js} +4 -4
  35. package/dist/{vue-ui-chestnut-D9BP8n-D.js → vue-ui-chestnut-D9HL_oAu.js} +5 -5
  36. package/dist/{vue-ui-chord-DDa4TTtv.js → vue-ui-chord-BaEQ4_bQ.js} +8 -8
  37. package/dist/{vue-ui-circle-pack-DWxEHCSN.js → vue-ui-circle-pack-DumySU9s.js} +6 -6
  38. package/dist/{vue-ui-cursor-BtLD4k-n.js → vue-ui-cursor-D-88A6ue.js} +2 -2
  39. package/dist/{vue-ui-dashboard-DvyNEYA8.js → vue-ui-dashboard-Br7MlswR.js} +62 -62
  40. package/dist/{vue-ui-digits-XkSs-Fvw.js → vue-ui-digits-BMb2ZxN9.js} +2 -2
  41. package/dist/{vue-ui-donut-BO2QuXBj.js → vue-ui-donut-NZIGKCYr.js} +12 -11
  42. package/dist/{vue-ui-donut-evolution-CQDtCf7k.js → vue-ui-donut-evolution-D38U9QxB.js} +8 -8
  43. package/dist/{vue-ui-dumbbell-jtJmPKky.js → vue-ui-dumbbell-B7jEqxUu.js} +7 -7
  44. package/dist/{vue-ui-flow-D1hSlRXa.js → vue-ui-flow-k4KjXCTn.js} +7 -7
  45. package/dist/{vue-ui-funnel-BlLlAOtx.js → vue-ui-funnel-BRfQjCk6.js} +6 -6
  46. package/dist/{vue-ui-galaxy-BZAhXSnB.js → vue-ui-galaxy-u0oNgjDP.js} +5 -5
  47. package/dist/{vue-ui-gauge-FdnYVol9.js → vue-ui-gauge-DUpSrOgm.js} +6 -6
  48. package/dist/{vue-ui-gizmo-BXiMNDNp.js → vue-ui-gizmo-6QSDxdTp.js} +3 -3
  49. package/dist/{vue-ui-heatmap-BUmZvmK0.js → vue-ui-heatmap-CqqXcJ8F.js} +7 -7
  50. package/dist/{vue-ui-history-plot-CTT0NO2g.js → vue-ui-history-plot-BiC39PhQ.js} +7 -7
  51. package/dist/{vue-ui-kpi-BNNqPORJ.js → vue-ui-kpi-DwOX2xG0.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-wa4WjqZj.js → vue-ui-mini-loader-CrAhBt4w.js} +2 -2
  53. package/dist/{vue-ui-molecule-NGbWYvw-.js → vue-ui-molecule-DVPFCYdv.js} +5 -5
  54. package/dist/{vue-ui-mood-radar-Dz2YUYPG.js → vue-ui-mood-radar-BPCedEDi.js} +7 -7
  55. package/dist/{vue-ui-nested-donuts-ywwGdEJO.js → vue-ui-nested-donuts-C2kl6581.js} +7 -7
  56. package/dist/{vue-ui-onion-DUeU3zvH.js → vue-ui-onion-Dk3OUNGJ.js} +7 -7
  57. package/dist/{vue-ui-parallel-coordinate-plot-5158EX3T.js → vue-ui-parallel-coordinate-plot-B-r0h3BM.js} +8 -8
  58. package/dist/{vue-ui-quadrant-BEaCxPxR.js → vue-ui-quadrant-CRR0XJzp.js} +8 -8
  59. package/dist/{vue-ui-quick-chart-C3yTivjK.js → vue-ui-quick-chart-CS-Uk49C.js} +6 -6
  60. package/dist/{vue-ui-radar-CwRo-de_.js → vue-ui-radar-Fxk4Nq3_.js} +7 -7
  61. package/dist/{vue-ui-rating-nHTBjTie.js → vue-ui-rating-EwwvsCi3.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-w7TYrdHz.js → vue-ui-relation-circle-DB7plTEJ.js} +6 -6
  63. package/dist/{vue-ui-ridgeline-Dk9xpHSw.js → vue-ui-ridgeline-D55xotqc.js} +8 -8
  64. package/dist/{vue-ui-rings-tCL5utj_.js → vue-ui-rings-D6gr6DBO.js} +8 -8
  65. package/dist/{vue-ui-scatter-BJUJRCto.js → vue-ui-scatter-hFI2YfFt.js} +8 -8
  66. package/dist/{vue-ui-skeleton-Cf09cngz.js → vue-ui-skeleton-1OErZL6t.js} +3 -3
  67. package/dist/{vue-ui-smiley-BvoOjmJx.js → vue-ui-smiley-C_8dvJDX.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-Bdz2gHnU.js → vue-ui-spark-trend-Ds3apeYN.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-CS1FzyFk.js → vue-ui-sparkbar-NpyQVY-J.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-auWy_YMm.js → vue-ui-sparkgauge-BYHhBxke.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-yA_F8Ls5.js → vue-ui-sparkhistogram-DFbQ-g2X.js} +4 -4
  72. package/dist/{vue-ui-sparkline-B-sCAUEL.js → vue-ui-sparkline-CiVlvGOI.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BhqOPIZT.js → vue-ui-sparkstackbar-BxMFKBBt.js} +3 -3
  74. package/dist/{vue-ui-stackbar-CZzqF-ZH.js → vue-ui-stackbar-DHsxlaNI.js} +9 -9
  75. package/dist/{vue-ui-strip-plot-D7KgSU5y.js → vue-ui-strip-plot-Crml8nCi.js} +7 -7
  76. package/dist/{vue-ui-table-BDJg5T9l.js → vue-ui-table-C3lxyo1m.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-Pp2gbL5G.js → vue-ui-table-heatmap-DYgu1wOK.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-CmZBjiWv.js → vue-ui-table-sparkline-B_eROo0E.js} +4 -4
  79. package/dist/{vue-ui-thermometer-ClY99Umm.js → vue-ui-thermometer-Dn8-68zJ.js} +6 -6
  80. package/dist/{vue-ui-timer-_Bck3rxo.js → vue-ui-timer-CREgpYVZ.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-C2CtoJT_.js → vue-ui-tiremarks-DrFKdGSj.js} +6 -6
  82. package/dist/{vue-ui-treemap-CM-zqI6U.js → vue-ui-treemap-C1m-cAh0.js} +8 -8
  83. package/dist/vue-ui-vertical-bar-BYtbI3Eq.js +1092 -0
  84. package/dist/{vue-ui-waffle-B21kT4HO.js → vue-ui-waffle-Cr0JqMuU.js} +8 -8
  85. package/dist/{vue-ui-wheel-Dqv-ta7L.js → vue-ui-wheel-CUgfhL9p.js} +6 -6
  86. package/dist/{vue-ui-word-cloud-DHjvCwD8.js → vue-ui-word-cloud-DBJueUIP.js} +6 -6
  87. package/dist/{vue-ui-world-h3Csu0YN.js → vue-ui-world-DR6IEkat.js} +6 -6
  88. package/dist/{vue-ui-xy-CZ7mScyg.js → vue-ui-xy-BCFKGTws.js} +778 -756
  89. package/dist/{vue-ui-xy-canvas-sIRUM_Be.js → vue-ui-xy-canvas-C2k2SOVa.js} +8 -8
  90. package/package.json +1 -1
  91. package/dist/vue-ui-vertical-bar-CET-9MDi.js +0 -980
@@ -1,62 +1,62 @@
1
- import { defineAsyncComponent as Ye, useSlots as Mt, getCurrentInstance as zt, ref as _, computed as L, onMounted as Ra, toRefs as Ct, onBeforeUnmount as It, watch as zl, nextTick as Ce, createElementBlock as r, openBlock as u, normalizeStyle as M, normalizeClass as Ze, createBlock as Ie, createCommentVNode as d, createVNode as ml, unref as c, createSlots as Tt, withCtx as se, renderSlot as U, normalizeProps as Je, guardReactiveProps as Ke, createElementVNode as g, Fragment as h, renderList as m, toDisplayString as j, mergeProps as Ql, withDirectives as Ot, vModelCheckbox as Nt, createTextVNode as Vt } from "vue";
2
- import { u as Pt, c as jl, e as ea, A as Ht, a5 as Fe, b as Bt, D as yl, ab as Qe, d as Rt, p as Yt, ac as Cl, ad as Ft, v as T, ae as Ya, V as Fa, af as Ea, U as Wa, ag as Et, ah as Wt, ai as Ga, x as Gt, y as Xt, _ as Xa, R as Te, i as ne, f as be, aa as H, w as je, s as we, a8 as W, L as Dt, F as Ee, aj as Il, I as Ut, ak as We, C as sl, t as qt, a as Zt, o as Da, q as Jt, r as Kt, E as ul } from "./index-DKjAxJY6.js";
3
- import { u as la } from "./useNestedProp-Cmx8ApWu.js";
4
- import { u as Qt } from "./useTimeLabels-Mrr0jrpL.js";
5
- import { S as jt } from "./Slicer-VumiAmDi.js";
6
- import eo from "./Title-Dahu_Ia-.js";
7
- import { _ as Tl } from "./Shape-DGduPk8q.js";
8
- import lo from "./img-DFeNRkbq.js";
9
- import { u as ao } from "./usePrinter-BefhLUKK.js";
10
- import { u as to, B as oo } from "./useLoading-Bt5Doa8m.js";
11
- import { _ as so } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "width", "height"], no = { key: 1 }, co = { class: "vue-ui-xy-grid" }, vo = ["stroke", "x1", "x2", "y1", "y2"], ho = ["stroke", "x1", "x2", "y1", "y2"], fo = { key: 1 }, go = ["x1", "x2", "y1", "y2", "stroke"], xo = ["x1", "x2", "y1", "y2", "stroke"], bo = ["x1", "x2", "y1", "y2", "stroke"], mo = { key: 3 }, yo = ["x1", "x2", "y1", "y2", "stroke"], po = { key: 4 }, ko = ["y1", "y2", "x1", "x2", "stroke"], _o = ["id"], wo = ["stop-color"], So = ["stop-color"], $o = ["stop-color"], Lo = ["id"], Ao = ["stop-color"], Mo = ["stop-color"], zo = ["stop-color"], Co = ["id"], Io = ["stop-color"], To = ["stop-color"], Oo = ["id"], No = ["stop-color"], Vo = ["stop-color"], Po = ["id"], Ho = ["stop-color"], Bo = ["stop-color"], Ro = ["x", "y", "height", "width", "fill"], Yo = ["x", "y", "width"], Fo = ["x", "y", "height", "width", "fill"], Eo = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Wo = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Go = ["width", "x", "y"], Xo = { key: 0 }, Do = ["id"], Uo = ["fill"], qo = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Zo = ["x", "y", "font-size", "fill"], Jo = ["stroke", "x1", "x2", "y1", "y2"], Ko = { key: 2 }, Qo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], jo = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], es = {
1
+ import { defineAsyncComponent as Fe, useSlots as It, getCurrentInstance as Tt, ref as _, computed as A, onMounted as ea, toRefs as Ot, onBeforeUnmount as Fa, watch as Cl, nextTick as Se, createElementBlock as r, openBlock as u, normalizeStyle as z, normalizeClass as Ke, createBlock as Ie, createCommentVNode as d, createVNode as ml, unref as c, createSlots as Nt, withCtx as se, renderSlot as U, normalizeProps as Qe, guardReactiveProps as je, createElementVNode as g, Fragment as h, renderList as m, toDisplayString as j, mergeProps as la, withDirectives as Vt, vModelCheckbox as Pt, createTextVNode as Ht } from "vue";
2
+ import { u as Rt, c as aa, e as ta, A as Bt, a5 as Ee, b as Yt, D as yl, ab as el, d as Ft, p as Et, ac as Il, ad as Wt, v as T, ae as Ea, V as Wa, af as Ga, U as Xa, ag as Gt, ah as Xt, ai as Da, x as Dt, y as Ut, _ as Ua, R as Te, i as ne, f as me, aa as H, w as ll, s as $e, a8 as W, L as qt, F as We, aj as Tl, I as Zt, ak as Ge, C as ul, t as Jt, a as Kt, o as qa, q as Qt, r as jt, E as il } from "./index-DFSXaw69.js";
3
+ import { u as oa } from "./useNestedProp-CV3NndHa.js";
4
+ import { u as eo } from "./useTimeLabels-Mrr0jrpL.js";
5
+ import { S as lo } from "./Slicer-Bba4UfIm.js";
6
+ import ao from "./Title-zqtIOYc5.js";
7
+ import { _ as Ol } from "./Shape-CFp_TwS5.js";
8
+ import to from "./img-DJTFe-dE.js";
9
+ import { u as oo } from "./usePrinter-DXG9SdJr.js";
10
+ import { u as so, B as uo } from "./useLoading-Bt5Doa8m.js";
11
+ import { _ as io } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
+ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "width", "height"], vo = { key: 1 }, ho = { class: "vue-ui-xy-grid" }, fo = ["stroke", "x1", "x2", "y1", "y2"], go = ["stroke", "x1", "x2", "y1", "y2"], xo = { key: 1 }, bo = ["x1", "x2", "y1", "y2", "stroke"], mo = ["x1", "x2", "y1", "y2", "stroke"], yo = ["x1", "x2", "y1", "y2", "stroke"], po = { key: 3 }, ko = ["x1", "x2", "y1", "y2", "stroke"], _o = { key: 4 }, wo = ["y1", "y2", "x1", "x2", "stroke"], So = ["id"], $o = ["stop-color"], Lo = ["stop-color"], Ao = ["stop-color"], Mo = ["id"], zo = ["stop-color"], Co = ["stop-color"], Io = ["stop-color"], To = ["id"], Oo = ["stop-color"], No = ["stop-color"], Vo = ["id"], Po = ["stop-color"], Ho = ["stop-color"], Ro = ["id"], Bo = ["stop-color"], Yo = ["stop-color"], Fo = ["x", "y", "height", "width", "fill"], Eo = ["x", "y", "width"], Wo = ["x", "y", "height", "width", "fill"], Go = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Xo = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Do = ["width", "x", "y"], Uo = { key: 0 }, qo = ["id"], Zo = ["fill"], Jo = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ko = ["x", "y", "font-size", "fill"], Qo = ["stroke", "x1", "x2", "y1", "y2"], jo = { key: 2 }, es = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ls = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], as = {
13
13
  key: 4,
14
14
  ref: "scaleLabels"
15
- }, ls = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], as = ["fill", "font-size", "transform"], ts = ["x1", "x2", "y1", "y2", "stroke"], os = ["x", "y", "font-size", "fill"], ss = ["x1", "x2", "y1", "y2", "stroke"], us = ["x", "y", "font-size", "fill"], is = ["width", "x", "y"], rs = { style: { width: "100%" } }, ns = { key: 0 }, cs = ["id"], vs = ["fill"], ds = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], hs = ["x", "y", "font-size", "fill"], fs = ["d", "stroke", "stroke-width", "stroke-dasharray"], gs = ["d", "stroke", "stroke-width", "stroke-dasharray"], xs = { key: 5 }, bs = { key: 0 }, ms = ["d", "fill"], ys = ["d", "fill"], ps = ["d", "fill"], ks = ["d", "fill"], _s = ["d", "stroke", "stroke-width", "stroke-dasharray"], ws = ["d", "stroke", "stroke-width", "stroke-dasharray"], Ss = ["width", "x", "y"], $s = { style: { width: "100%" } }, Ls = { key: 3 }, As = ["id"], Ms = ["fill"], zs = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Cs = ["x", "y", "font-size", "fill"], Is = { key: 6 }, Ts = ["x", "y", "font-size", "fill"], Os = ["x", "y", "font-size", "fill", "font-weight"], Ns = { key: 7 }, Vs = ["x", "y", "font-size", "fill"], Ps = { key: 8 }, Hs = ["x", "y"], Bs = ["innerHTML"], Rs = ["x", "y"], Ys = ["innerHTML"], Fs = ["x1", "x2", "y1", "y2", "stroke"], Es = { key: 9 }, Ws = ["x", "y", "font-size", "fill"], Gs = { key: 10 }, Xs = ["x", "y"], Ds = ["innerHTML"], Us = ["x", "y"], qs = ["innerHTML"], Zs = ["x1", "x2", "y1", "y2", "stroke"], Js = ["x", "y", "font-size", "fill", "innerHTML"], Ks = ["x", "y", "font-size", "fill", "innerHTML"], Qs = ["x", "y", "font-size", "fill", "innerHTML"], js = ["x", "y", "font-size", "fill", "innerHTML"], eu = ["id"], lu = ["stop-color"], au = ["stop-color"], tu = ["x", "y", "width", "height", "fill", "onMouseenter"], ou = ["font-size", "fill", "transform"], su = ["x", "y", "font-size", "fill"], uu = ["text-anchor", "font-size", "fill", "transform", "onClick"], iu = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], ru = { key: 13 }, nu = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], cu = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], vu = ["y", "x", "width", "height", "fill"], du = ["id", "x", "y", "font-size", "fill", "text-anchor"], hu = ["x", "y", "height", "width", "onMouseenter", "onClick"], fu = {
15
+ }, ts = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], os = ["fill", "font-size", "transform"], ss = ["x1", "x2", "y1", "y2", "stroke"], us = ["x", "y", "font-size", "fill"], is = ["x1", "x2", "y1", "y2", "stroke"], rs = ["x", "y", "font-size", "fill"], ns = ["width", "x", "y"], cs = { style: { width: "100%" } }, vs = { key: 0 }, ds = ["id"], hs = ["fill"], fs = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], gs = ["x", "y", "font-size", "fill"], xs = ["d", "stroke", "stroke-width", "stroke-dasharray"], bs = ["d", "stroke", "stroke-width", "stroke-dasharray"], ms = { key: 5 }, ys = { key: 0 }, ps = ["d", "fill"], ks = ["d", "fill"], _s = ["d", "fill"], ws = ["d", "fill"], Ss = ["d", "stroke", "stroke-width", "stroke-dasharray"], $s = ["d", "stroke", "stroke-width", "stroke-dasharray"], Ls = ["width", "x", "y"], As = { style: { width: "100%" } }, Ms = { key: 3 }, zs = ["id"], Cs = ["fill"], Is = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ts = ["x", "y", "font-size", "fill"], Os = { key: 6 }, Ns = ["x", "y", "font-size", "fill"], Vs = ["x", "y", "font-size", "fill", "font-weight"], Ps = { key: 7 }, Hs = ["x", "y", "font-size", "fill"], Rs = { key: 8 }, Bs = ["x", "y"], Ys = ["innerHTML"], Fs = ["x", "y"], Es = ["innerHTML"], Ws = ["x1", "x2", "y1", "y2", "stroke"], Gs = { key: 9 }, Xs = ["x", "y", "font-size", "fill"], Ds = { key: 10 }, Us = ["x", "y"], qs = ["innerHTML"], Zs = ["x", "y"], Js = ["innerHTML"], Ks = ["x1", "x2", "y1", "y2", "stroke"], Qs = ["x", "y", "font-size", "fill", "innerHTML"], js = ["x", "y", "font-size", "fill", "innerHTML"], eu = ["x", "y", "font-size", "fill", "innerHTML"], lu = ["x", "y", "font-size", "fill", "innerHTML"], au = ["id"], tu = ["stop-color"], ou = ["stop-color"], su = ["x", "y", "width", "height", "fill", "onMouseenter"], uu = ["font-size", "fill", "transform"], iu = ["x", "y", "font-size", "fill"], ru = ["text-anchor", "font-size", "fill", "transform", "onClick"], nu = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], cu = { key: 13 }, vu = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], du = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], hu = ["y", "x", "width", "height", "fill"], fu = ["id", "x", "y", "font-size", "fill", "text-anchor"], gu = ["x", "y", "height", "width", "onMouseenter", "onClick"], xu = {
16
16
  key: 14,
17
17
  style: { "pointer-events": "none" }
18
- }, gu = ["x", "y"], xu = ["cx", "cy", "r", "fill"], bu = {
18
+ }, bu = ["x", "y"], mu = ["cx", "cy", "r", "fill"], yu = {
19
19
  key: 4,
20
20
  class: "vue-data-ui-watermark"
21
- }, mu = {
21
+ }, pu = {
22
22
  class: "vue-ui-xy-tag-arrow",
23
23
  height: "20",
24
24
  viewBox: "0 0 10 20",
25
25
  style: { position: "absolute", right: "100%", top: "50%", transform: "translateY(-50%)" }
26
- }, yu = ["fill"], pu = ["innerHTML"], ku = {
26
+ }, ku = ["fill"], _u = ["innerHTML"], wu = {
27
27
  class: "vue-ui-xy-tag-arrow",
28
28
  height: "100%",
29
29
  viewBox: "0 0 10 20",
30
30
  style: { position: "absolute", left: "100%", top: "50%", transform: "translateY(-50%)" }
31
- }, _u = ["fill"], wu = ["innerHTML"], Su = {
31
+ }, Su = ["fill"], $u = ["innerHTML"], Lu = {
32
32
  class: "vue-ui-xy-tag-arrow",
33
33
  height: "20",
34
34
  viewBox: "0 0 10 20",
35
35
  style: { position: "absolute", right: "100%", top: "50%", transform: "translateY(-50%)" }
36
- }, $u = ["fill"], Lu = ["innerHTML"], Au = {
36
+ }, Au = ["fill"], Mu = ["innerHTML"], zu = {
37
37
  class: "vue-ui-xy-tag-arrow",
38
38
  height: "100%",
39
39
  viewBox: "0 0 10 20",
40
40
  style: { position: "absolute", left: "100%", top: "50%", transform: "translateY(-50%)" }
41
- }, Mu = ["fill"], zu = ["innerHTML"], Cu = ["onClick"], Iu = {
41
+ }, Cu = ["fill"], Iu = ["innerHTML"], Tu = ["onClick"], Ou = {
42
42
  key: 0,
43
43
  viewBox: "0 0 20 12",
44
44
  height: "14",
45
45
  width: "20"
46
- }, Tu = ["stroke", "fill"], Ou = {
46
+ }, Nu = ["stroke", "fill"], Vu = {
47
47
  key: 1,
48
48
  viewBox: "0 0 40 40",
49
49
  height: "14",
50
50
  width: "14"
51
- }, Nu = ["fill"], Vu = ["fill"], Pu = {
51
+ }, Pu = ["fill"], Hu = ["fill"], Ru = {
52
52
  key: 2,
53
53
  viewBox: "0 0 12 12",
54
54
  height: "14",
55
55
  width: "14"
56
- }, Hu = {
56
+ }, Bu = {
57
57
  style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
58
58
  "data-dom-to-png-ignore": ""
59
- }, Bu = ["innerHTML"], Ru = {
59
+ }, Yu = ["innerHTML"], Fu = {
60
60
  __name: "vue-ui-xy",
61
61
  props: {
62
62
  config: {
@@ -73,11 +73,11 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
73
73
  }
74
74
  },
75
75
  emits: ["selectTimeLabel", "selectX", "selectLegend"],
76
- setup(Ol, { expose: Ua, emit: qa }) {
77
- const y = Ol, Za = Ye(() => import("./DataTable-DObwKftY.js")), Ja = Ye(() => import("./Tooltip-j8grOyYT.js")), Ka = Ye(() => import("./UserOptions-BOIQ8NtD.js")), Qa = Ye(() => import("./BaseIcon-TJm1JI2f.js")), ja = Ye(() => import("./vue-ui-table-sparkline-CmZBjiWv.js")), et = Ye(() => import("./vue-ui-accordion-BhrF0D_h.js")), lt = Ye(() => import("./PackageVersion-B_SVQo0g.js")), at = Ye(() => import("./PenAndPaper-CFbTGuB_.js")), Nl = qa, aa = Mt(), tt = zt(), { vue_ui_xy: Vl } = Pt(), Se = _(null), il = _(null), $e = _(null), el = _(null), rl = _(null), nl = _(null), ta = _(null), Pl = _(null), Hl = _(null), Bl = _(null), Ge = _(null), Rl = _(null), Yl = _(0), A = _(null), oa = _(!0), ue = _(600), Z = _(1e3), ll = _("0 0 1000 600"), ot = _({ x: 0, y: 0 }), cl = _({ line: "line", bar: "bar", plot: "plot" }), pl = _(!1), al = _(!1), sa = _(!1), k = _(null), Xe = _(null), ae = _([]), q = _(jl()), ua = _(0), ia = _(0), ra = _(0), vl = _(!0), Fl = _(0), O = _(null), na = _(!1), El = _(!0), kl = _(!0), me = _(null), Oe = _({}), _l = _(null), ca = _(0), st = _(1), ut = L(() => ({
76
+ setup(Nl, { expose: Za, emit: Ja }) {
77
+ const y = Nl, Ka = Fe(() => import("./DataTable-DD2pZIgh.js")), Qa = Fe(() => import("./Tooltip-Bo30Qf34.js")), ja = Fe(() => import("./UserOptions-Cgrlu96K.js")), et = Fe(() => import("./BaseIcon-C-MP5EHV.js")), lt = Fe(() => import("./vue-ui-table-sparkline-B_eROo0E.js")), at = Fe(() => import("./vue-ui-accordion-B-PjY4U8.js")), tt = Fe(() => import("./PackageVersion-D3jqYZS6.js")), ot = Fe(() => import("./PenAndPaper-Dy9zUXnw.js")), Vl = Ja, sa = It(), st = Tt(), { vue_ui_xy: Pl } = Rt(), ge = _(null), rl = _(null), Le = _(null), al = _(null), nl = _(null), cl = _(null), ua = _(null), Hl = _(null), Rl = _(null), Bl = _(null), Xe = _(null), Yl = _(null), Fl = _(0), M = _(null), ia = _(!0), ue = _(600), Z = _(1e3), De = _("0 0 1000 600"), ut = _({ x: 0, y: 0 }), vl = _({ line: "line", bar: "bar", plot: "plot" }), pl = _(!1), tl = _(!1), ra = _(!1), k = _(null), Ue = _(null), ae = _([]), q = _(aa()), na = _(0), ca = _(0), va = _(0), dl = _(!0), El = _(0), O = _(null), da = _(!1), Wl = _(!0), kl = _(!0), ye = _(null), Oe = _({}), _l = _(null), ha = _(0), it = _(1), rt = A(() => ({
78
78
  height: ue.value,
79
79
  width: Z.value
80
- })), it = y.config.downsample && y.config.downsample.threshold ? y.config.downsample.threshold : 500, f = _({
80
+ })), nt = y.config.downsample && y.config.downsample.threshold ? y.config.downsample.threshold : 500, f = _({
81
81
  dataLabels: { show: !0 },
82
82
  showTooltip: !0,
83
83
  showTable: !1,
@@ -88,10 +88,10 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
88
88
  yAxis: 12,
89
89
  dataLabels: 20,
90
90
  plotLabels: 10
91
- }), Le = _({ plot: 3, line: 3 });
92
- Ra(() => {
91
+ }), Ae = _({ plot: 3, line: 3 });
92
+ ea(() => {
93
93
  y.dataset.length && y.dataset.forEach((a, v) => {
94
- [null, void 0].includes(a.series) && ea({
94
+ [null, void 0].includes(a.series) && ta({
95
95
  componentName: "VueUiXy",
96
96
  type: "datasetSerieAttribute",
97
97
  property: "series (number[])",
@@ -100,15 +100,15 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
100
100
  });
101
101
  });
102
102
  });
103
- function Wl() {
103
+ function Gl() {
104
104
  if (!Object.keys(y.config || {}).length)
105
- return Vl;
106
- const a = la({
105
+ return Pl;
106
+ const a = oa({
107
107
  userConfig: y.config,
108
- defaultConfig: Vl
108
+ defaultConfig: Pl
109
109
  });
110
- return y.config && sl(y.config, "chart.highlightArea") && (Array.isArray(y.config.chart.highlightArea) ? a.chart.highlightArea = y.config.chart.highlightArea : a.chart.highlightArea = [y.config.chart.highlightArea]), y.config && sl(y.config, "chart.grid.labels.yAxis.scaleMin") ? a.chart.grid.labels.yAxis.scaleMin = y.config.chart.grid.labels.yAxis.scaleMin : a.chart.grid.labels.yAxis.scaleMin = null, y.config && sl(y.config, "chart.grid.labels.yAxis.scaleMax") ? a.chart.grid.labels.yAxis.scaleMax = y.config.chart.grid.labels.yAxis.scaleMax : a.chart.grid.labels.yAxis.scaleMax = null, y.config && sl(y.config, "chart.zoom.startIndex") ? a.chart.zoom.startIndex = y.config.chart.zoom.startIndex : a.chart.zoom.startIndex = null, y.config && sl(y.config, "chart.zoom.endIndex") ? a.chart.zoom.endIndex = y.config.chart.zoom.endIndex : a.chart.zoom.endIndex = null, y.config && sl(y.config, "chart.grid.labels.yAxis.groupColor") ? a.chart.grid.labels.yAxis.groupColor = y.config.chart.grid.labels.yAxis.groupColor : a.chart.grid.labels.yAxis.groupColor = null, y.config && y.config.chart.annotations && Array.isArray(y.config.chart.annotations) && y.config.chart.annotations.length ? a.chart.annotations = y.config.chart.annotations.map((v) => la({
111
- defaultConfig: Vl.chart.annotations[0],
110
+ return y.config && ul(y.config, "chart.highlightArea") && (Array.isArray(y.config.chart.highlightArea) ? a.chart.highlightArea = y.config.chart.highlightArea : a.chart.highlightArea = [y.config.chart.highlightArea]), y.config && ul(y.config, "chart.grid.labels.yAxis.scaleMin") ? a.chart.grid.labels.yAxis.scaleMin = y.config.chart.grid.labels.yAxis.scaleMin : a.chart.grid.labels.yAxis.scaleMin = null, y.config && ul(y.config, "chart.grid.labels.yAxis.scaleMax") ? a.chart.grid.labels.yAxis.scaleMax = y.config.chart.grid.labels.yAxis.scaleMax : a.chart.grid.labels.yAxis.scaleMax = null, y.config && ul(y.config, "chart.zoom.startIndex") ? a.chart.zoom.startIndex = y.config.chart.zoom.startIndex : a.chart.zoom.startIndex = null, y.config && ul(y.config, "chart.zoom.endIndex") ? a.chart.zoom.endIndex = y.config.chart.zoom.endIndex : a.chart.zoom.endIndex = null, y.config && ul(y.config, "chart.grid.labels.yAxis.groupColor") ? a.chart.grid.labels.yAxis.groupColor = y.config.chart.grid.labels.yAxis.groupColor : a.chart.grid.labels.yAxis.groupColor = null, y.config && y.config.chart.annotations && Array.isArray(y.config.chart.annotations) && y.config.chart.annotations.length ? a.chart.annotations = y.config.chart.annotations.map((v) => oa({
111
+ defaultConfig: Pl.chart.annotations[0],
112
112
  userConfig: v
113
113
  })) : a.chart.annotations = [], y.config && y.config.autoSize && (y.config && y.config.debug && (y.config.chart.padding.top && console.warn("Vue Data UI - VueUiXy - autoSize mode ignores chart.padding.top, set a 0 value to remove this warning"), y.config.chart.padding.right && console.warn("Vue Data UI - VueUiXy - autoSize mode ignores chart.padding.right, set a 0 value to remove this warning"), y.config.chart.padding.bottom && console.warn("Vue Data UI - VueUiXy - autoSize mode ignores chart.padding.bottom, set a 0 value to remove this warning"), y.config.chart.padding.left && console.warn("Vue Data UI - VueUiXy - autoSize mode ignores chart.padding.left, set a 0 value to remove this warning")), a.chart.padding = {
114
114
  top: 0,
@@ -116,27 +116,27 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
116
116
  bottom: 0,
117
117
  left: 0
118
118
  }), a.theme ? {
119
- ...la({
120
- userConfig: Zt.vue_ui_xy[a.theme] || y.config,
119
+ ...oa({
120
+ userConfig: Kt.vue_ui_xy[a.theme] || y.config,
121
121
  defaultConfig: a
122
122
  }),
123
- customPalette: qt[a.theme] || y.palette
123
+ customPalette: Jt[a.theme] || y.palette
124
124
  } : a;
125
125
  }
126
- const Gl = L({
126
+ const Xl = A({
127
127
  get() {
128
128
  return !!y.dataset && y.dataset.length;
129
129
  },
130
130
  set(a) {
131
131
  return a;
132
132
  }
133
- }), e = _(Wl()), { loading: Xl, FINAL_DATASET: Pe, manualLoading: wl } = to({
134
- ...Ct(y),
133
+ }), e = _(Gl()), { loading: Dl, FINAL_DATASET: Ne, manualLoading: wl } = so({
134
+ ...Ot(y),
135
135
  FINAL_CONFIG: e,
136
- prepareConfig: Wl,
136
+ prepareConfig: Gl,
137
137
  callback: () => {
138
138
  Promise.resolve().then(async () => {
139
- await Kl(), e.value.autoSize && (hl(), ya());
139
+ await jl(), e.value.autoSize && (ol(), Kl());
140
140
  });
141
141
  },
142
142
  skeletonDataset: [
@@ -154,7 +154,7 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
154
154
  color: "#CACACA"
155
155
  }
156
156
  ],
157
- skeletonConfig: Ht({
157
+ skeletonConfig: Bt({
158
158
  defaultConfig: e.value,
159
159
  userConfig: {
160
160
  autoSize: !1,
@@ -210,46 +210,46 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
210
210
  }
211
211
  }
212
212
  })
213
- }), tl = L({
214
- get: () => Math.max(...Pe.value.map((a) => Fe({ data: a.series, threshold: it }).length)),
213
+ }), He = A({
214
+ get: () => Math.max(...Ne.value.map((a) => Ee({ data: a.series, threshold: nt }).length)),
215
215
  set: (a) => a
216
- }), z = _({ start: 0, end: tl.value }), { isPrinting: Dl, isImaging: va, generatePdf: da, generateImage: ha } = ao({
216
+ }), S = _({ start: 0, end: He.value }), { isPrinting: Ul, isImaging: fa, generatePdf: ga, generateImage: xa } = oo({
217
217
  elementId: `vue-ui-xy_${q.value}`,
218
218
  fileName: e.value.chart.title.text || "vue-ui-xy",
219
219
  options: e.value.chart.userOptions.print
220
- }), G = L(() => e.value.autoSize), Ul = L(() => {
221
- const [a, v, l, s] = ll.value.split(" ").map(Number);
220
+ }), G = A(() => e.value.autoSize), ql = A(() => {
221
+ const [a, v, l, s] = De.value.split(" ").map(Number);
222
222
  return { x: a, y: v, width: l, height: s };
223
- }), fa = L(() => Bt(e.value.customPalette)), Sl = L(() => e.value.chart.grid.labels.yAxis.scaleMax ? e.value.chart.grid.labels.yAxis.scaleMax : Math.max(...Ne.value.filter((a) => !ae.value.includes(a.id)).map((a) => Math.max(...a.series)))), ql = L(() => {
223
+ }), ba = A(() => Yt(e.value.customPalette)), Sl = A(() => e.value.chart.grid.labels.yAxis.scaleMax ? e.value.chart.grid.labels.yAxis.scaleMax : Math.max(...Ve.value.filter((a) => !ae.value.includes(a.id)).map((a) => Math.max(...a.series)))), Zl = A(() => {
224
224
  if (e.value.chart.grid.labels.yAxis.scaleMin !== null)
225
225
  return e.value.chart.grid.labels.yAxis.scaleMin;
226
- const a = Math.min(...Ne.value.filter((v) => !ae.value.includes(v.id)).map((v) => Math.min(...v.series)));
226
+ const a = Math.min(...Ve.value.filter((v) => !ae.value.includes(v.id)).map((v) => Math.min(...v.series)));
227
227
  return a > 0 ? 0 : a;
228
- }), ye = L(() => e.value.chart.grid.labels.yAxis.useNiceScale ? yl(ql.value, Sl.value < 0 ? 0 : Sl.value, e.value.chart.grid.labels.yAxis.commonScaleSteps) : Qe(ql.value, Sl.value < 0 ? 0 : Sl.value, e.value.chart.grid.labels.yAxis.commonScaleSteps)), dl = L(() => [null, void 0].includes(e.value.chart.grid.labels.yAxis.scaleMin) ? ye.value.min >= 0 ? 0 : Math.abs(ye.value.min) : -ye.value.min), Ne = L(() => oa.value ? Pe.value.map((a, v) => {
229
- const l = Fe({
228
+ }), pe = A(() => e.value.chart.grid.labels.yAxis.useNiceScale ? yl(Zl.value, Sl.value < 0 ? 0 : Sl.value, e.value.chart.grid.labels.yAxis.commonScaleSteps) : el(Zl.value, Sl.value < 0 ? 0 : Sl.value, e.value.chart.grid.labels.yAxis.commonScaleSteps)), hl = A(() => [null, void 0].includes(e.value.chart.grid.labels.yAxis.scaleMin) ? pe.value.min >= 0 ? 0 : Math.abs(pe.value.min) : -pe.value.min), Ve = A(() => ia.value ? Ne.value.map((a, v) => {
229
+ const l = Ee({
230
230
  data: a.series,
231
231
  threshold: e.value.downsample.threshold
232
232
  }), s = `uniqueId_${v}`;
233
233
  return {
234
234
  ...a,
235
235
  slotAbsoluteIndex: v,
236
- series: l.map((t) => Cl(t) ? t : null).slice(z.value.start, z.value.end),
237
- color: Rt(a.color ? a.color : fa.value[v] ? fa.value[v] : Yt[v]),
236
+ series: l.map((t) => Il(t) ? t : null).slice(S.value.start, S.value.end),
237
+ color: Ft(a.color ? a.color : ba.value[v] ? ba.value[v] : Et[v]),
238
238
  id: s,
239
239
  scaleLabel: a.scaleLabel || s
240
240
  };
241
- }) : Pe.value), Ae = L(() => Ne.value.map((a, v) => ({
241
+ }) : Ne.value), Me = A(() => Ve.value.map((a, v) => ({
242
242
  absoluteIndex: v,
243
243
  ...a,
244
- series: a.series.map((l) => l + dl.value),
244
+ series: a.series.map((l) => l + hl.value),
245
245
  absoluteValues: a.series,
246
- segregate: () => La(a),
246
+ segregate: () => Ma(a),
247
247
  isSegregated: ae.value.includes(a.id)
248
- }))), pe = L(() => Ne.value.map((a, v) => ({
248
+ }))), ke = A(() => Ve.value.map((a, v) => ({
249
249
  ...a,
250
- series: a.series.map((l) => l + dl.value),
250
+ series: a.series.map((l) => l + hl.value),
251
251
  absoluteValues: a.series
252
- })).filter((a) => !ae.value.includes(a.id))), i = L(() => {
252
+ })).filter((a) => !ae.value.includes(a.id))), i = A(() => {
253
253
  function a(s) {
254
254
  const t = /* @__PURE__ */ new Set();
255
255
  return s.forEach((n) => {
@@ -257,7 +257,7 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
257
257
  t.add(o);
258
258
  }), t.size;
259
259
  }
260
- const v = a(Ae.value.filter((s) => !ae.value.includes(s.id))), l = f.value.useIndividualScale && e.value.chart.grid.labels.show ? v * (f.value.isStacked ? 0 : e.value.chart.grid.labels.yAxis.labelWidth) : 0;
260
+ const v = a(Me.value.filter((s) => !ae.value.includes(s.id))), l = f.value.useIndividualScale && e.value.chart.grid.labels.show ? v * (f.value.isStacked ? 0 : e.value.chart.grid.labels.yAxis.labelWidth) : 0;
261
261
  return {
262
262
  top: G.value ? 0 : e.value.chart.padding.top,
263
263
  right: G.value ? Z.value : Z.value - e.value.chart.padding.right,
@@ -267,41 +267,41 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
267
267
  width: G.value ? Z.value - l : Z.value - (e.value.chart.padding.right + e.value.chart.padding.left + l)
268
268
  };
269
269
  });
270
- function ga() {
271
- return !!tt?.vnode.props?.onSelectTimeLabel;
270
+ function ma() {
271
+ return !!st?.vnode.props?.onSelectTimeLabel;
272
272
  }
273
- function rt(a, v, l) {
273
+ function ct(a, v, l) {
274
274
  if (!_l.value) {
275
275
  const s = document.createElement("canvas");
276
276
  _l.value = s.getContext("2d");
277
277
  }
278
278
  return _l.value.font = `normal ${a}px sans-serif`, _l.value;
279
279
  }
280
- function xa() {
281
- const a = Se.value.querySelectorAll(".vue-ui-xy-tag");
280
+ function ya() {
281
+ const a = ge.value.querySelectorAll(".vue-ui-xy-tag");
282
282
  a.length && Array.from(a).forEach((v) => v.style.opacity = "0");
283
283
  }
284
284
  function $l(a, v, l, s, t) {
285
285
  l && (Oe.value[`${a}_${v}_${s}_${t}`] = l);
286
286
  }
287
- function ba(a = !1) {
288
- na.value && (kl.value = a);
287
+ function pa(a = !1) {
288
+ da.value && (kl.value = a);
289
289
  }
290
- function Zl() {
290
+ function Jl() {
291
291
  pl.value = !pl.value;
292
292
  }
293
- const de = L(() => {
294
- const a = Math.max(...Pe.value.map((v) => Fe({ data: v.series, threshold: e.value.downsample.threshold }).length));
295
- return Qt({
293
+ const de = A(() => {
294
+ const a = Math.max(...Ne.value.map((v) => Ee({ data: v.series, threshold: e.value.downsample.threshold }).length));
295
+ return eo({
296
296
  values: e.value.chart.grid.labels.xAxisLabels.values,
297
297
  maxDatapoints: a,
298
298
  formatter: e.value.chart.grid.labels.xAxisLabels.datetimeFormatter,
299
- start: z.value.start,
300
- end: z.value.end
299
+ start: S.value.start,
300
+ end: S.value.end
301
301
  });
302
302
  });
303
- function ma(a, v) {
304
- const l = pe.value.map((s) => ({
303
+ function ka(a, v) {
304
+ const l = ke.value.map((s) => ({
305
305
  shape: s.shape || null,
306
306
  name: s.name,
307
307
  color: s.color,
@@ -311,34 +311,33 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
311
311
  prefix: s.prefix || e.value.chart.labels.prefix,
312
312
  suffix: s.suffix || e.value.chart.labels.suffix
313
313
  }));
314
- Nl("selectTimeLabel", {
314
+ Vl("selectTimeLabel", {
315
315
  datapoint: l,
316
316
  absoluteIndex: a.absoluteIndex,
317
317
  label: a.text
318
318
  });
319
319
  }
320
- const b = L(() => z.value.end - z.value.start);
321
- async function nt() {
322
- if (!Pl.value) return;
323
- await Ce();
320
+ const b = A(() => S.value.end - S.value.start);
321
+ async function vt() {
322
+ if (!Hl.value) return;
323
+ await Se();
324
324
  let a = i.value.bottom;
325
- Bl.value && (a += Bl.value.getBBox().height), Pl.value.setAttribute("y", a + x.value.xAxis * 1.3 + e.value.chart.grid.labels.axis.xLabelOffsetY);
325
+ Bl.value && (a += Bl.value.getBBox().height), Hl.value.setAttribute("y", a + x.value.xAxis * 1.3 + e.value.chart.grid.labels.axis.xLabelOffsetY);
326
326
  }
327
- async function ct() {
328
- Hl.value && (await Ce(), Hl.value.setAttribute("transform", `translate(${Ul.value.x + e.value.chart.grid.labels.axis.yLabelOffsetX + x.value.yAxis}, ${i.value.top + i.value.height / 2}) rotate(-90)`));
327
+ async function dt() {
328
+ Rl.value && (await Se(), Rl.value.setAttribute("transform", `translate(${ql.value.x + e.value.chart.grid.labels.axis.yLabelOffsetX + x.value.yAxis}, ${i.value.top + i.value.height / 2}) rotate(-90)`));
329
329
  }
330
- async function hl() {
331
- await Ce();
332
- const a = ta.value;
330
+ async function ol() {
331
+ await Se();
332
+ const a = ua.value;
333
333
  if (!a) return;
334
- const { x: v, y: l, width: s, height: t } = a.getBBox();
335
- nt(), await Ce(), ct();
336
- const n = a.getBBox();
337
- ll.value = `${n.x} ${n.y - x.value.plotLabels} ${n.width + e.value.chart.padding.left} ${n.height + x.value.plotLabels + e.value.chart.padding.top}`, await Ce(), Se.value.classList.remove("no-transition");
334
+ De.value = `0 0 ${e.value.chart.width} ${e.value.chart.height}`, vt(), await Se(), dt();
335
+ const v = a.getBBox();
336
+ De.value = `${v.x} ${v.y - x.value.plotLabels} ${v.width + e.value.chart.padding.left} ${v.height + x.value.plotLabels + e.value.chart.padding.top}`, await Se(), ge.value.classList.remove("no-transition");
338
337
  }
339
- function ya() {
340
- if (e.value.responsive && Se.value) {
341
- const a = Se.value.parentNode;
338
+ function Kl() {
339
+ if (e.value.responsive && ge.value) {
340
+ const a = ge.value.parentNode;
342
341
  if (a) {
343
342
  const v = a.getBoundingClientRect().width;
344
343
  a.style.width = v - 0.1 + "px", setTimeout(() => {
@@ -347,71 +346,71 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
347
346
  }
348
347
  }
349
348
  }
350
- function vt(a) {
349
+ function ht(a) {
351
350
  O.value = a;
352
351
  }
353
- function pa() {
352
+ function _a() {
354
353
  f.value.isStacked = !f.value.isStacked, f.value.isStacked ? f.value.useIndividualScale = !0 : f.value.useIndividualScale = e.value.chart.grid.labels.yAxis.useIndividualScale;
355
354
  }
356
- function Jl(a) {
355
+ function Ql(a) {
357
356
  xl.value && a.autoScaling && (e.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`), e.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`));
358
357
  }
359
- function dt(a, v) {
358
+ function ft(a, v) {
360
359
  let l = Array(a).fill(0);
361
360
  for (let s = 0; s < v.length && s < a; s += 1)
362
361
  l[s] = v[s];
363
362
  return l;
364
363
  }
365
- function ht(a) {
366
- const v = Math.max(...this.dataset.map((l) => Fe({ data: l.series, threshold: e.value.downsample.threshold }).length));
364
+ function gt(a) {
365
+ const v = Math.max(...Ne.value.map((l) => Ee({ data: l.series, threshold: e.value.downsample.threshold }).length));
367
366
  return a > v ? v : a < 0 || e.value.chart.zoom.startIndex !== null && a < e.value.chart.zoom.startIndex ? e.value.chart.zoom.startIndex !== null ? e.value.chart.zoom.startIndex + 1 : 1 : a;
368
367
  }
369
- async function Kl() {
370
- (e.value.chart.zoom.startIndex !== null || e.value.chart.zoom.endIndex !== null) && $e.value ? (e.value.chart.zoom.startIndex !== null && (await Ce(), await Ce(), $e.value.setStartValue(e.value.chart.zoom.startIndex)), e.value.chart.zoom.endIndex !== null && (await Ce(), await Ce(), $e.value.setEndValue(ht(e.value.chart.zoom.endIndex + 1)))) : (z.value = {
368
+ async function jl() {
369
+ (e.value.chart.zoom.startIndex !== null || e.value.chart.zoom.endIndex !== null) && Le.value ? (e.value.chart.zoom.startIndex !== null && (await Se(), await Se(), Le.value.setStartValue(e.value.chart.zoom.startIndex)), e.value.chart.zoom.endIndex !== null && (await Se(), await Se(), Le.value.setEndValue(gt(e.value.chart.zoom.endIndex + 1)))) : (S.value = {
371
370
  start: 0,
372
- end: Math.max(...Pe.value.map((a) => Fe({ data: a.series, threshold: e.value.downsample.threshold }).length))
373
- }, Yl.value += 1);
371
+ end: Math.max(...Ne.value.map((a) => Ee({ data: a.series, threshold: e.value.downsample.threshold }).length))
372
+ }, Fl.value += 1);
374
373
  }
375
- function ft() {
376
- Kl();
374
+ function xt() {
375
+ jl();
377
376
  }
378
- function ge(a) {
377
+ function xe(a) {
379
378
  return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(a);
380
379
  }
381
- const ka = L(() => ye.value.max + dl.value);
382
- function De(a) {
383
- return a / (ge(ka.value) ? ka.value : 1);
380
+ const wa = A(() => pe.value.max + hl.value);
381
+ function qe(a) {
382
+ return a / (xe(wa.value) ? wa.value : 1);
384
383
  }
385
- const ie = L(() => isNaN(De(dl.value)) ? i.value.bottom : i.value.bottom - i.value.height * De(dl.value));
386
- function _a(a) {
387
- const v = ![null, void 0].includes(e.value.chart.grid.labels.yAxis.scaleMin) && e.value.chart.grid.labels.yAxis.scaleMin > 0 && ql.value >= 0 ? i.value.bottom : ie.value;
384
+ const ie = A(() => isNaN(qe(hl.value)) ? i.value.bottom : i.value.bottom - i.value.height * qe(hl.value));
385
+ function Sa(a) {
386
+ const v = ![null, void 0].includes(e.value.chart.grid.labels.yAxis.scaleMin) && e.value.chart.grid.labels.yAxis.scaleMin > 0 && Zl.value >= 0 ? i.value.bottom : ie.value;
388
387
  return a.value >= 0 ? T(v - a.y <= 0 ? 1e-5 : v - a.y) : T(a.y - ie.value <= 0 ? 1e-5 : a.y - ie.value);
389
388
  }
390
- function wa(a) {
389
+ function $a(a) {
391
390
  return a.value >= 0 ? T(a.zeroPosition - a.y <= 0 ? 1e-5 : a.zeroPosition - a.y) : T(a.y - a.zeroPosition <= 0 ? 1e-5 : a.zeroPosition - a.y);
392
391
  }
393
- const J = L(() => ({
394
- bar: i.value.width / b.value / Ne.value.filter((a) => a.type === "bar").filter((a) => !ae.value.includes(a.id)).length,
392
+ const J = A(() => ({
393
+ bar: i.value.width / b.value / Ve.value.filter((a) => a.type === "bar").filter((a) => !ae.value.includes(a.id)).length,
395
394
  plot: i.value.width / b.value,
396
395
  line: i.value.width / b.value
397
396
  }));
398
- function ke() {
397
+ function _e() {
399
398
  return f.value.useIndividualScale && f.value.isStacked ? J.value.line - i.value.width / b.value * 0.1 : J.value.bar;
400
399
  }
401
400
  function Ll(a) {
402
401
  return f.value.useIndividualScale && f.value.isStacked ? a.x + i.value.width / b.value * 0.05 : a.x + J.value.bar / 2;
403
402
  }
404
- function Sa(a) {
403
+ function La(a) {
405
404
  return a.value >= 0 ? a.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(ie.value) ? i.bottom.value : ie.value;
406
405
  }
407
- function $a(a) {
406
+ function Aa(a) {
408
407
  return a.value >= 0 ? a.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(a.zeroPosition) ? 0 : a.zeroPosition;
409
408
  }
410
- function gt(a) {
411
- Nl(
409
+ function bt(a) {
410
+ Vl(
412
411
  "selectX",
413
412
  {
414
- dataset: pe.value.map((v) => ({
413
+ dataset: ke.value.map((v) => ({
415
414
  name: v.name,
416
415
  value: [null, void 0, NaN].includes(v.absoluteValues[a]) ? null : v.absoluteValues[a],
417
416
  color: v.color,
@@ -422,17 +421,17 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
422
421
  }
423
422
  );
424
423
  }
425
- function xt() {
426
- return Ae.value.map((a) => ({
424
+ function mt() {
425
+ return Me.value.map((a) => ({
427
426
  values: a.absoluteValues,
428
427
  color: a.color,
429
428
  name: a.name,
430
429
  type: a.type
431
430
  }));
432
431
  }
433
- async function bt({ scale: a = 2 } = {}) {
434
- if (!Se.value) return;
435
- const { width: v, height: l } = Se.value.getBoundingClientRect(), s = v / l, { imageUri: t, base64: n } = await lo({ domElement: Se.value, base64: !0, img: !0, scale: a });
432
+ async function yt({ scale: a = 2 } = {}) {
433
+ if (!ge.value) return;
434
+ const { width: v, height: l } = ge.value.getBoundingClientRect(), s = v / l, { imageUri: t, base64: n } = await to({ domElement: ge.value, base64: !0, img: !0, scale: a });
436
435
  return {
437
436
  imageUri: t,
438
437
  base64: n,
@@ -442,49 +441,55 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
442
441
  aspectRatio: s
443
442
  };
444
443
  }
445
- function La(a) {
444
+ function Ma(a) {
446
445
  if (ae.value.includes(a.id))
447
446
  ae.value = ae.value.filter((v) => v !== a.id);
448
447
  else {
449
- if (ae.value.length + 1 === Ne.value.length) return;
448
+ if (ae.value.length + 1 === Ve.value.length) return;
450
449
  ae.value.push(a.id);
451
450
  }
452
- Nl("selectLegend", pe.value.map((v) => ({
451
+ Vl("selectLegend", ke.value.map((v) => ({
453
452
  name: v.name,
454
453
  values: v.absoluteValues,
455
454
  color: v.color,
456
455
  type: v.type
457
- }))), Fl.value += 1;
456
+ }))), El.value += 1;
458
457
  }
459
- const mt = L(() => {
458
+ const pt = A(() => {
460
459
  const a = e.value.chart.title.text || "Chart visualization", v = e.value.chart.title.subtitle.text || "";
461
460
  return `${a}. ${v}`;
462
- }), Aa = L(() => ({
461
+ }), za = A(() => ({
463
462
  linePlot: b.value > e.value.line.dot.hideAboveMaxSerieLength
464
- })), yt = L(() => e.value.chart.userOptions.show && (!e.value.chart.title.show || !e.value.chart.title.text)), pt = L(() => {
463
+ })), kt = A(() => e.value.chart.userOptions.show && (!e.value.chart.title.show || !e.value.chart.title.text)), _t = A(() => {
465
464
  if (Array.isArray(e.value.chart.highlightArea))
466
- return e.value.chart.highlightArea.map((v) => ({
467
- ...v,
468
- span: v.from === v.to ? 1 : v.to < v.from ? 0 : v.to - v.from + 1
469
- }));
470
- const a = e.value.chart.highlightArea;
465
+ return e.value.chart.highlightArea.map((v) => {
466
+ const l = Math.min(v.to, He.value - 1);
467
+ return {
468
+ ...v,
469
+ span: v.from === l ? 1 : l < v.from ? 0 : l - v.from + 1
470
+ };
471
+ });
472
+ const a = {
473
+ ...e.value.chart.highlightArea,
474
+ to: Math.min(e.value.chart.highlightArea.to, He.value - 1)
475
+ };
471
476
  return [{ ...a, span: a.from === a.to ? 1 : a.to < a.from ? 0 : a.to - a.from + 1 }];
472
- }), kt = L(() => oa.value ? Pe.value.map((a, v) => ({
477
+ }), wt = A(() => ia.value ? Ne.value.map((a, v) => ({
473
478
  ...a,
474
- series: Fe({
479
+ series: Ee({
475
480
  data: a.series,
476
481
  threshold: e.value.downsample.threshold
477
482
  }),
478
483
  id: `uniqueId_${v}`
479
- })) : Pe.value), _t = L(() => pe.value.map((a) => {
484
+ })) : Ne.value), St = A(() => ke.value.map((a) => {
480
485
  const v = a.absoluteValues.map((l) => [void 0, null].includes(l) ? 0 : l);
481
486
  return {
482
487
  id: a.id,
483
488
  name: a.name,
484
489
  color: a.color,
485
- values: dt(b.value, v)
490
+ values: ft(b.value, v)
486
491
  };
487
- })), wt = L(() => ({
492
+ })), $t = A(() => ({
488
493
  responsiveBreakpoint: e.value.table.responsiveBreakpoint,
489
494
  roundingValues: e.value.table.rounding,
490
495
  showAverage: !1,
@@ -507,28 +512,28 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
507
512
  userOptions: {
508
513
  show: !1
509
514
  }
510
- })), R = L(() => e.value.chart.grid.position === "middle" ? 0 : i.value.width / b.value / 2), Ue = L(() => Ft(Ae.value.filter((a) => !ae.value.includes(a.id)))), p = L(() => {
511
- const a = Object.groupBy(Ue.value, (l) => l.scaleLabel), v = {};
515
+ })), B = A(() => e.value.chart.grid.position === "middle" ? 0 : i.value.width / b.value / 2), Ze = A(() => Wt(Me.value.filter((a) => !ae.value.includes(a.id)))), p = A(() => {
516
+ const a = Object.groupBy(Ze.value, (l) => l.scaleLabel), v = {};
512
517
  for (const [l, s] of Object.entries(a)) {
513
518
  const t = s.flatMap((n) => n.absoluteValues);
514
519
  v[l] = {
515
520
  min: Math.min(...t) || 0,
516
521
  max: Math.max(...t) || 1,
517
- groupId: `scale_group_${jl()}`
522
+ groupId: `scale_group_${aa()}`
518
523
  };
519
524
  }
520
525
  return v;
521
- }), St = L(() => {
522
- const a = Ne.value.filter((v) => v.type === "bar").filter((v) => !ae.value.includes(v.id)).length;
523
- return i.value.width / b.value / a - Ve.value * a;
524
- }), Ve = L(() => J.value.line * e.value.bar.periodGap), $t = L(() => {
526
+ }), Lt = A(() => {
527
+ const a = Ve.value.filter((v) => v.type === "bar").filter((v) => !ae.value.includes(v.id)).length;
528
+ return i.value.width / b.value / a - Pe.value * a;
529
+ }), Pe = A(() => J.value.line * e.value.bar.periodGap), At = A(() => {
525
530
  if (!e.value.chart.zoom.minimap.show) return [];
526
- const a = kt.value.filter((t) => !ae.value.includes(t.id)), v = Math.max(...a.map((t) => t.series.length)), l = [];
531
+ const a = wt.value.filter((t) => !ae.value.includes(t.id)), v = Math.max(...a.map((t) => t.series.length)), l = [];
527
532
  for (let t = 0; t < v; t += 1)
528
533
  l.push(a.map((n) => n.series[t] || 0).reduce((n, o) => (n || 0) + (o || 0), 0));
529
534
  const s = Math.min(...l);
530
535
  return l.map((t) => t + (s < 0 ? Math.abs(s) : 0));
531
- }), fl = L(() => pe.value.map((a) => ({
536
+ }), fl = A(() => ke.value.map((a) => ({
532
537
  slotAbsoluteIndex: a.slotAbsoluteIndex,
533
538
  shape: a.shape || null,
534
539
  name: a.name,
@@ -538,45 +543,45 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
538
543
  comments: a.comments || [],
539
544
  prefix: a.prefix || e.value.chart.labels.prefix,
540
545
  suffix: a.suffix || e.value.chart.labels.suffix
541
- }))), Ma = L(() => ye.value.ticks.map((a) => ({
542
- y: a >= 0 ? ie.value - i.value.height * De(a) : ie.value + i.value.height * De(Math.abs(a)),
546
+ }))), Ca = A(() => pe.value.ticks.map((a) => ({
547
+ y: a >= 0 ? ie.value - i.value.height * qe(a) : ie.value + i.value.height * qe(Math.abs(a)),
543
548
  value: a,
544
549
  prefix: e.value.chart.labels.prefix,
545
550
  suffix: e.value.chart.labels.suffix
546
- }))), za = L(() => {
551
+ }))), Ia = A(() => {
547
552
  const a = e.value.chart.annotations;
548
- if (!a || !Array.isArray(a) || a.every((S) => !S.show)) return [];
553
+ if (!a || !Array.isArray(a) || a.every(($) => !$.show)) return [];
549
554
  const v = a.filter(
550
- (S) => S.show && (S.yAxis.yTop != null || S.yAxis.yBottom != null)
555
+ ($) => $.show && ($.yAxis.yTop != null || $.yAxis.yBottom != null)
551
556
  );
552
557
  if (!v.length) return [];
553
- const { left: l, right: s } = i.value, t = ie.value, n = i.value.height, o = ye.value.min, F = ye.value.max - o, ee = (S) => {
554
- const I = (S - 0) / F;
558
+ const { left: l, right: s } = i.value, t = ie.value, n = i.value.height, o = pe.value.min, F = pe.value.max - o, ee = ($) => {
559
+ const I = ($ - 0) / F;
555
560
  return t - I * n;
556
561
  };
557
- return v.map((S) => {
558
- const { yAxis: { yTop: I, yBottom: X, label: w } } = S, B = I != null && X != null && I !== X, $ = I == null ? null : ee(I), te = X == null ? null : ee(X), re = rt(w.fontSize);
562
+ return v.map(($) => {
563
+ const { yAxis: { yTop: I, yBottom: X, label: w } } = $, R = I != null && X != null && I !== X, L = I == null ? null : ee(I), te = X == null ? null : ee(X), re = ct(w.fontSize);
559
564
  re.font = `${w.fontSize}px sans-serif`;
560
- const D = re.measureText(w.text).width, xe = w.fontSize, ze = (w.position === "start" ? l + w.padding.left : s - w.padding.right) + w.offsetX, he = ($ != null && te != null ? Math.min($, te) : $ ?? te) - w.fontSize / 3 + w.offsetY - w.padding.top;
565
+ const D = re.measureText(w.text).width, be = w.fontSize, Ce = (w.position === "start" ? l + w.padding.left : s - w.padding.right) + w.offsetX, he = (L != null && te != null ? Math.min(L, te) : L ?? te) - w.fontSize / 3 + w.offsetY - w.padding.top;
561
566
  let V;
562
- w.textAnchor === "middle" ? V = ze - D / 2 - w.padding.left : w.textAnchor === "end" ? V = ze - D - w.padding.right : V = ze - w.padding.left;
563
- const P = he - xe * 0.75 - w.padding.top;
567
+ w.textAnchor === "middle" ? V = Ce - D / 2 - w.padding.left : w.textAnchor === "end" ? V = Ce - D - w.padding.right : V = Ce - w.padding.left;
568
+ const P = he - be * 0.75 - w.padding.top;
564
569
  return {
565
- show: ![$, te, P].includes(NaN),
566
- id: `annotation_y_${jl()}`,
567
- hasArea: B,
568
- areaHeight: B ? Math.abs($ - te) : 0,
569
- yTop: $,
570
+ show: ![L, te, P].includes(NaN),
571
+ id: `annotation_y_${aa()}`,
572
+ hasArea: R,
573
+ areaHeight: R ? Math.abs(L - te) : 0,
574
+ yTop: L,
570
575
  yBottom: te,
571
- config: S.yAxis,
576
+ config: $.yAxis,
572
577
  x1: l,
573
578
  x2: s,
574
- _text: { x: ze, y: he },
579
+ _text: { x: Ce, y: he },
575
580
  _box: {
576
581
  x: V,
577
582
  y: P,
578
583
  width: D + w.padding.left + w.padding.right,
579
- height: xe + w.padding.top + w.padding.bottom,
584
+ height: be + w.padding.top + w.padding.bottom,
580
585
  fill: w.backgroundColor,
581
586
  stroke: w.border.stroke,
582
587
  rx: w.border.rx,
@@ -585,50 +590,50 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
585
590
  }
586
591
  };
587
592
  });
588
- }), He = L(() => {
589
- const a = Ue.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), v = a.length, l = e.value.chart.grid.labels.yAxis.gap, s = f.value.isStacked, t = s ? l * (v - 1) : 0, n = i.value.height - t;
593
+ }), Re = A(() => {
594
+ const a = Ze.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), v = a.length, l = e.value.chart.grid.labels.yAxis.gap, s = f.value.isStacked, t = s ? l * (v - 1) : 0, n = i.value.height - t;
590
595
  return a.filter((o) => o.type === "bar").map((o, Y) => {
591
- Jl(o);
596
+ Ql(o);
592
597
  const F = p.value[o.scaleLabel].min, ee = p.value[o.scaleLabel].max;
593
598
  o.absoluteValues.filter((N) => ![null, void 0].includes(N)).map((N) => (N - F) / (ee - F));
594
- const S = {
599
+ const $ = {
595
600
  valueMin: F,
596
601
  valueMax: ee < 0 ? 0 : ee
597
602
  }, I = {
598
603
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
599
604
  min: o.scaleMin || Math.min(...o.absoluteValues.filter((N) => ![void 0, null].includes(N))) > 0 ? 0 : Math.min(...o.absoluteValues.filter((N) => ![null, void 0].includes(N)))
600
- }, X = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, w = 1.0000001, B = e.value.chart.grid.labels.yAxis.useNiceScale ? yl(I.min, I.max === I.min ? I.max * w : I.max, X) : Qe(I.min, I.max === I.min ? I.max * w : I.max, X), $ = e.value.chart.grid.labels.yAxis.useNiceScale ? yl(S.valueMin, S.valueMax === S.valueMin ? S.valueMax * w : S.valueMax, X) : Qe(S.valueMin, S.valueMax === S.valueMin ? S.valueMax * w : S.valueMax, X), te = B.min >= 0 ? 0 : Math.abs(B.min), re = 0, D = B.max + te, xe = $.max + Math.abs(re), ze = o.stackIndex, ol = v - 1 - ze, he = s ? 1 - o.cumulatedStackRatio : 0, V = s ? n * he + l * ol : 0, P = s ? n * o.stackRatio : i.value.height, K = i.value.bottom - V - P * te / D, fe = i.value.bottom - V - P * re / xe, ce = Ae.value.filter((N) => N.type === "bar").filter((N) => !ae.value.includes(N.id)).length, bl = o.series.map((N, le) => {
601
- const Re = f.value.useIndividualScale ? (o.absoluteValues[le] + te) / D : De(N), qe = f.value.useIndividualScale && f.value.isStacked ? i.value.left + i.value.width / b.value * le : i.value.left + J.value.bar * Y + J.value.bar * le * ce - St.value / 2 - Y * Ve.value;
605
+ }, X = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, w = 1.0000001, R = e.value.chart.grid.labels.yAxis.useNiceScale ? yl(I.min, I.max === I.min ? I.max * w : I.max, X) : el(I.min, I.max === I.min ? I.max * w : I.max, X), L = e.value.chart.grid.labels.yAxis.useNiceScale ? yl($.valueMin, $.valueMax === $.valueMin ? $.valueMax * w : $.valueMax, X) : el($.valueMin, $.valueMax === $.valueMin ? $.valueMax * w : $.valueMax, X), te = R.min >= 0 ? 0 : Math.abs(R.min), re = 0, D = R.max + te, be = L.max + Math.abs(re), Ce = o.stackIndex, sl = v - 1 - Ce, he = s ? 1 - o.cumulatedStackRatio : 0, V = s ? n * he + l * sl : 0, P = s ? n * o.stackRatio : i.value.height, K = i.value.bottom - V - P * te / D, fe = i.value.bottom - V - P * re / be, ce = Me.value.filter((N) => N.type === "bar").filter((N) => !ae.value.includes(N.id)).length, bl = o.series.map((N, le) => {
606
+ const Ye = f.value.useIndividualScale ? (o.absoluteValues[le] + te) / D : qe(N), Je = f.value.useIndividualScale && f.value.isStacked ? i.value.left + i.value.width / b.value * le : i.value.left + J.value.bar * Y + J.value.bar * le * ce - Lt.value / 2 - Y * Pe.value;
602
607
  return {
603
608
  yOffset: T(V),
604
609
  individualHeight: T(P),
605
- x: T(qe),
606
- y: i.value.bottom - V - P * Re,
610
+ x: T(Je),
611
+ y: i.value.bottom - V - P * Ye,
607
612
  value: o.absoluteValues[le],
608
613
  zeroPosition: T(K),
609
614
  individualMax: T(D),
610
- comment: o.comments && o.comments.slice(z.value.start, z.value.end)[le] || ""
615
+ comment: o.comments && o.comments.slice(S.value.start, S.value.end)[le] || ""
611
616
  };
612
- }), ve = o.absoluteValues.map((N) => $.min >= 0 ? (N - Math.abs($.min)) / ($.max - Math.abs($.min)) : (N + Math.abs($.min)) / ($.max + Math.abs($.min))), Be = o.series.map((N, le) => {
613
- const Re = f.value.useIndividualScale && f.value.isStacked ? i.value.left + i.value.width / b.value * le : i.value.left - J.value.bar / 2 + J.value.bar * Y + J.value.bar * le * Ae.value.filter((qe) => qe.type === "bar").filter((qe) => !ae.value.includes(qe.id)).length;
617
+ }), ve = o.absoluteValues.map((N) => L.min >= 0 ? (N - Math.abs(L.min)) / (L.max - Math.abs(L.min)) : (N + Math.abs(L.min)) / (L.max + Math.abs(L.min))), Be = o.series.map((N, le) => {
618
+ const Ye = f.value.useIndividualScale && f.value.isStacked ? i.value.left + i.value.width / b.value * le : i.value.left - J.value.bar / 2 + J.value.bar * Y + J.value.bar * le * Me.value.filter((Je) => Je.type === "bar").filter((Je) => !ae.value.includes(Je.id)).length;
614
619
  return {
615
620
  yOffset: T(V),
616
621
  individualHeight: T(P),
617
- x: T(Re),
622
+ x: T(Ye),
618
623
  y: T(i.value.bottom - T(V) - (T(P) * ve[le] || 0)),
619
624
  value: o.absoluteValues[le],
620
625
  zeroPosition: T(K),
621
626
  individualMax: T(D),
622
- comment: o.comments && o.comments.slice(z.value.start, z.value.end)[le] || ""
627
+ comment: o.comments && o.comments.slice(S.value.start, S.value.end)[le] || ""
623
628
  };
624
- }), E = B.ticks.map((N) => ({
629
+ }), E = R.ticks.map((N) => ({
625
630
  y: N >= 0 ? K - P * (N / D) : K + P * Math.abs(N) / D,
626
631
  value: N,
627
632
  prefix: o.prefix || e.value.chart.labels.prefix,
628
633
  suffix: o.suffix || e.value.chart.labels.suffix,
629
634
  datapoint: o
630
- })), Q = $.ticks.map((N) => {
631
- const le = (N - $.min) / ($.max - $.min);
635
+ })), Q = L.ticks.map((N) => {
636
+ const le = (N - L.min) / (L.max - L.min);
632
637
  return {
633
638
  y: N >= 0 ? fe - P * le : fe + P * le,
634
639
  value: N,
@@ -637,57 +642,57 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
637
642
  datapoint: o
638
643
  };
639
644
  });
640
- return p.value[o.scaleLabel].name = o.name, p.value[o.scaleLabel].groupName = o.scaleLabel, p.value[o.scaleLabel].groupColor = e.value.chart.grid.labels.yAxis.groupColor || o.color, p.value[o.scaleLabel].color = o.color, p.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Q : E, p.value[o.scaleLabel].zeroPosition = o.autoScaling ? fe : K, p.value[o.scaleLabel].individualMax = o.autoScaling ? xe : D, p.value[o.scaleLabel].scaleLabel = o.scaleLabel, p.value[o.scaleLabel].id = o.id, p.value[o.scaleLabel].yOffset = V, p.value[o.scaleLabel].individualHeight = P, p.value[o.scaleLabel].autoScaleYLabels = Q, p.value[o.scaleLabel].unique = Ue.value.filter((N) => N.scaleLabel === o.scaleLabel).length === 1, {
645
+ return p.value[o.scaleLabel].name = o.name, p.value[o.scaleLabel].groupName = o.scaleLabel, p.value[o.scaleLabel].groupColor = e.value.chart.grid.labels.yAxis.groupColor || o.color, p.value[o.scaleLabel].color = o.color, p.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Q : E, p.value[o.scaleLabel].zeroPosition = o.autoScaling ? fe : K, p.value[o.scaleLabel].individualMax = o.autoScaling ? be : D, p.value[o.scaleLabel].scaleLabel = o.scaleLabel, p.value[o.scaleLabel].id = o.id, p.value[o.scaleLabel].yOffset = V, p.value[o.scaleLabel].individualHeight = P, p.value[o.scaleLabel].autoScaleYLabels = Q, p.value[o.scaleLabel].unique = Ze.value.filter((N) => N.scaleLabel === o.scaleLabel).length === 1, {
641
646
  ...o,
642
647
  yOffset: V,
643
648
  autoScaleYLabels: Q,
644
649
  individualHeight: P,
645
650
  scaleYLabels: o.autoScaling ? Q : E,
646
- individualScale: o.autoScaling ? $ : B,
647
- individualMax: o.autoScaling ? xe : D,
651
+ individualScale: o.autoScaling ? L : R,
652
+ individualMax: o.autoScaling ? be : D,
648
653
  zeroPosition: o.autoScaling ? fe : K,
649
654
  plots: o.autoScaling ? Be : bl,
650
655
  groupId: p.value[o.scaleLabel].groupId
651
656
  };
652
657
  });
653
- }), _e = L(() => {
654
- const a = Ue.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), v = a.length, l = e.value.chart.grid.labels.yAxis.gap, s = f.value.isStacked, t = s ? l * (v - 1) : 0, n = i.value.height - t;
658
+ }), we = A(() => {
659
+ const a = Ze.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), v = a.length, l = e.value.chart.grid.labels.yAxis.gap, s = f.value.isStacked, t = s ? l * (v - 1) : 0, n = i.value.height - t;
655
660
  return a.filter((o) => o.type === "line").map((o, Y) => {
656
- Jl(o);
661
+ Ql(o);
657
662
  const F = p.value[o.scaleLabel].min, ee = p.value[o.scaleLabel].max;
658
663
  o.absoluteValues.filter((C) => ![null, void 0].includes(C)).map((C) => (C - F) / (ee - F));
659
- const S = {
664
+ const $ = {
660
665
  valueMin: F,
661
666
  valueMax: ee
662
667
  }, I = {
663
668
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
664
669
  min: o.scaleMin || (Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues))
665
- }, X = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, w = 1.0000001, B = e.value.chart.grid.labels.yAxis.useNiceScale ? yl(I.min, I.max === I.min ? I.max * w : I.max, X) : Qe(I.min, I.max === I.min ? I.max * w : I.max, X), $ = e.value.chart.grid.labels.yAxis.useNiceScale ? yl(S.valueMin, S.valueMax === S.valueMin ? S.valueMax * w : S.valueMax, X) : Qe(S.valueMin, S.valueMax === S.valueMin ? S.valueMax * w : S.valueMax, X), te = B.min >= 0 ? 0 : Math.abs(B.min), re = 0, D = B.max + Math.abs(te), xe = $.max + Math.abs(re), ze = o.stackIndex, ol = v - 1 - ze, he = s ? 1 - o.cumulatedStackRatio : 0, V = s ? n * he + l * ol : 0, P = s ? n * o.stackRatio : i.value.height, K = i.value.bottom - V - P * te / D, fe = i.value.bottom - V - P * re / xe, ce = o.series.map((C, oe) => {
666
- const At = f.value.useIndividualScale ? (o.absoluteValues[oe] + Math.abs(te)) / D : De(C);
670
+ }, X = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, w = 1.0000001, R = e.value.chart.grid.labels.yAxis.useNiceScale ? yl(I.min, I.max === I.min ? I.max * w : I.max, X) : el(I.min, I.max === I.min ? I.max * w : I.max, X), L = e.value.chart.grid.labels.yAxis.useNiceScale ? yl($.valueMin, $.valueMax === $.valueMin ? $.valueMax * w : $.valueMax, X) : el($.valueMin, $.valueMax === $.valueMin ? $.valueMax * w : $.valueMax, X), te = R.min >= 0 ? 0 : Math.abs(R.min), re = 0, D = R.max + Math.abs(te), be = L.max + Math.abs(re), Ce = o.stackIndex, sl = v - 1 - Ce, he = s ? 1 - o.cumulatedStackRatio : 0, V = s ? n * he + l * sl : 0, P = s ? n * o.stackRatio : i.value.height, K = i.value.bottom - V - P * te / D, fe = i.value.bottom - V - P * re / be, ce = o.series.map((C, oe) => {
671
+ const Ct = f.value.useIndividualScale ? (o.absoluteValues[oe] + Math.abs(te)) / D : qe(C);
667
672
  return {
668
673
  x: T(i.value.left + J.value.line / 2 + J.value.line * oe),
669
- y: T(i.value.bottom - V - P * At),
674
+ y: T(i.value.bottom - V - P * Ct),
670
675
  value: o.absoluteValues[oe],
671
- comment: o.comments && o.comments.slice(z.value.start, z.value.end)[oe] || ""
676
+ comment: o.comments && o.comments.slice(S.value.start, S.value.end)[oe] || ""
672
677
  };
673
- }), bl = o.absoluteValues.map((C) => $.min >= 0 ? (C - Math.abs($.min)) / ($.max - Math.abs($.min)) : (C + Math.abs($.min)) / ($.max + Math.abs($.min))), ve = o.series.map((C, oe) => [void 0, null].includes(o.absoluteValues[oe]) ? {
678
+ }), bl = o.absoluteValues.map((C) => L.min >= 0 ? (C - Math.abs(L.min)) / (L.max - Math.abs(L.min)) : (C + Math.abs(L.min)) / (L.max + Math.abs(L.min))), ve = o.series.map((C, oe) => [void 0, null].includes(o.absoluteValues[oe]) ? {
674
679
  x: T(i.value.left + J.value.line / 2 + J.value.line * oe),
675
680
  y: K,
676
681
  value: o.absoluteValues[oe],
677
- comment: o.comments && o.comments.slice(z.value.start, z.value.end)[oe] || ""
682
+ comment: o.comments && o.comments.slice(S.value.start, S.value.end)[oe] || ""
678
683
  } : {
679
684
  x: T(i.value.left + J.value.line / 2 + J.value.line * oe),
680
685
  y: T(i.value.bottom - V - (P * bl[oe] || 0)),
681
686
  value: o.absoluteValues[oe],
682
- comment: o.comments && o.comments.slice(z.value.start, z.value.end)[oe] || ""
683
- }), Be = e.value.line.cutNullValues ? Ya(ce) : Fa(ce.filter((C) => C.value !== null)), E = e.value.line.cutNullValues ? Ya(ve) : Fa(ve.filter((C) => C.value !== null)), Q = e.value.line.cutNullValues ? Ea(ce) : Wa(ce.filter((C) => C.value !== null)), N = e.value.line.cutNullValues ? Ea(ve) : Wa(ve.filter((C) => C.value !== null)), le = B.ticks.map((C) => ({
687
+ comment: o.comments && o.comments.slice(S.value.start, S.value.end)[oe] || ""
688
+ }), Be = e.value.line.cutNullValues ? Ea(ce) : Wa(ce.filter((C) => C.value !== null)), E = e.value.line.cutNullValues ? Ea(ve) : Wa(ve.filter((C) => C.value !== null)), Q = e.value.line.cutNullValues ? Ga(ce) : Xa(ce.filter((C) => C.value !== null)), N = e.value.line.cutNullValues ? Ga(ve) : Xa(ve.filter((C) => C.value !== null)), le = R.ticks.map((C) => ({
684
689
  y: C >= 0 ? K - P * (C / D) : K + P * Math.abs(C) / D,
685
690
  value: C,
686
691
  prefix: o.prefix || e.value.chart.labels.prefix,
687
692
  suffix: o.suffix || e.value.chart.labels.suffix,
688
693
  datapoint: o
689
- })), Re = $.ticks.map((C) => {
690
- const oe = (C - $.min) / ($.max - $.min);
694
+ })), Ye = L.ticks.map((C) => {
695
+ const oe = (C - L.min) / (L.max - L.min);
691
696
  return {
692
697
  y: C >= 0 ? fe - P * oe : fe + P * oe,
693
698
  value: C,
@@ -696,68 +701,68 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
696
701
  datapoint: o
697
702
  };
698
703
  });
699
- p.value[o.scaleLabel].name = o.name, p.value[o.scaleLabel].groupName = o.scaleLabel, p.value[o.scaleLabel].groupColor = e.value.chart.grid.labels.yAxis.groupColor || o.color, p.value[o.scaleLabel].color = o.color, p.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Re : le, p.value[o.scaleLabel].zeroPosition = o.autoScaling ? fe : K, p.value[o.scaleLabel].individualMax = o.autoScaling ? xe : D, p.value[o.scaleLabel].scaleLabel = o.scaleLabel, p.value[o.scaleLabel].id = o.id, p.value[o.scaleLabel].yOffset = V, p.value[o.scaleLabel].individualHeight = P, p.value[o.scaleLabel].autoScaleYLabels = Re, p.value[o.scaleLabel].unique = Ue.value.filter((C) => C.scaleLabel === o.scaleLabel).length === 1;
700
- const qe = f.value.useIndividualScale ? o.autoScaling ? fe : K : ie.value, Ml = Math.max(Math.max(o.autoScaling ? fe : le.at(-1).y || 0, i.value.top), qe);
704
+ p.value[o.scaleLabel].name = o.name, p.value[o.scaleLabel].groupName = o.scaleLabel, p.value[o.scaleLabel].groupColor = e.value.chart.grid.labels.yAxis.groupColor || o.color, p.value[o.scaleLabel].color = o.color, p.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Ye : le, p.value[o.scaleLabel].zeroPosition = o.autoScaling ? fe : K, p.value[o.scaleLabel].individualMax = o.autoScaling ? be : D, p.value[o.scaleLabel].scaleLabel = o.scaleLabel, p.value[o.scaleLabel].id = o.id, p.value[o.scaleLabel].yOffset = V, p.value[o.scaleLabel].individualHeight = P, p.value[o.scaleLabel].autoScaleYLabels = Ye, p.value[o.scaleLabel].unique = Ze.value.filter((C) => C.scaleLabel === o.scaleLabel).length === 1;
705
+ const Je = f.value.useIndividualScale ? o.autoScaling ? fe : K : ie.value, zl = Math.max(Math.max(o.autoScaling ? fe : le.at(-1).y || 0, i.value.top), Je);
701
706
  return {
702
707
  ...o,
703
708
  yOffset: V,
704
- autoScaleYLabels: Re,
709
+ autoScaleYLabels: Ye,
705
710
  individualHeight: P,
706
- scaleYLabels: o.autoScaling ? Re : le,
707
- individualScale: o.autoScaling ? $ : B,
708
- individualMax: o.autoScaling ? xe : D,
711
+ scaleYLabels: o.autoScaling ? Ye : le,
712
+ individualScale: o.autoScaling ? L : R,
713
+ individualMax: o.autoScaling ? be : D,
709
714
  zeroPosition: o.autoScaling ? fe : K,
710
715
  curve: o.autoScaling ? E : Be,
711
716
  plots: o.autoScaling ? ve : ce,
712
- area: o.useArea ? f.value.useIndividualScale ? e.value.line.cutNullValues ? Wt(
717
+ area: o.useArea ? f.value.useIndividualScale ? e.value.line.cutNullValues ? Xt(
713
718
  o.autoScaling ? ve : ce,
714
- Ml
715
- ) : Ga(
719
+ zl
720
+ ) : Da(
716
721
  o.autoScaling ? ve.filter((C) => C.value !== null) : ce.filter((C) => C.value !== null),
717
- Ml
718
- ) : Ga(ce.filter((C) => C.value !== null), Ml) : "",
719
- curveAreas: o.useArea ? Et(
722
+ zl
723
+ ) : Da(ce.filter((C) => C.value !== null), zl) : "",
724
+ curveAreas: o.useArea ? Gt(
720
725
  o.autoScaling ? e.value.line.cutNullValues ? ve : ve.filter((C) => C.value !== null) : e.value.line.cutNullValues ? ce : ce.filter((C) => C.value !== null),
721
- Ml,
726
+ zl,
722
727
  e.value.line.cutNullValues
723
728
  ) : [],
724
729
  straight: o.autoScaling ? N : Q,
725
730
  groupId: p.value[o.scaleLabel].groupId
726
731
  };
727
732
  });
728
- }), Me = L(() => {
729
- const a = Ue.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), v = a.length, l = e.value.chart.grid.labels.yAxis.gap, s = f.value.isStacked, t = s ? l * (v - 1) : 0, n = i.value.height - t;
733
+ }), ze = A(() => {
734
+ const a = Ze.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), v = a.length, l = e.value.chart.grid.labels.yAxis.gap, s = f.value.isStacked, t = s ? l * (v - 1) : 0, n = i.value.height - t;
730
735
  return a.filter((o) => o.type === "plot").map((o) => {
731
- Jl(o);
736
+ Ql(o);
732
737
  const Y = p.value[o.scaleLabel].min, F = p.value[o.scaleLabel].max;
733
738
  o.absoluteValues.filter((E) => ![null, void 0].includes(E)).map((E) => (E - Y) / (F - Y));
734
739
  const ee = {
735
740
  valueMin: Y,
736
741
  valueMax: F
737
- }, S = {
742
+ }, $ = {
738
743
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
739
744
  min: o.scaleMin || Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues)
740
- }, I = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, X = 1.0000001, w = Qe(S.min, S.max === S.min ? S.max * X : S.max, I), B = Qe(ee.valueMin, ee.valueMax === ee.valueMin ? ee.valueMax * X : ee.valueMax, I), $ = w.min >= 0 ? 0 : Math.abs(w.min), te = 0, re = w.max + $, D = B.max + Math.abs(te), xe = o.stackIndex, ze = v - 1 - xe, ol = s ? 1 - o.cumulatedStackRatio : 0, he = s ? n * ol + l * ze : 0, V = s ? n * o.stackRatio : i.value.height, P = i.value.bottom - he - V * $ / re, K = i.value.bottom - he - V * te / D, fe = o.series.map((E, Q) => {
741
- const N = f.value.useIndividualScale ? (o.absoluteValues[Q] + Math.abs($)) / re : De(E);
745
+ }, I = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, X = 1.0000001, w = el($.min, $.max === $.min ? $.max * X : $.max, I), R = el(ee.valueMin, ee.valueMax === ee.valueMin ? ee.valueMax * X : ee.valueMax, I), L = w.min >= 0 ? 0 : Math.abs(w.min), te = 0, re = w.max + L, D = R.max + Math.abs(te), be = o.stackIndex, Ce = v - 1 - be, sl = s ? 1 - o.cumulatedStackRatio : 0, he = s ? n * sl + l * Ce : 0, V = s ? n * o.stackRatio : i.value.height, P = i.value.bottom - he - V * L / re, K = i.value.bottom - he - V * te / D, fe = o.series.map((E, Q) => {
746
+ const N = f.value.useIndividualScale ? (o.absoluteValues[Q] + Math.abs(L)) / re : qe(E);
742
747
  return {
743
748
  x: T(i.value.left + J.value.plot / 2 + J.value.plot * Q),
744
749
  y: T(i.value.bottom - he - V * N),
745
750
  value: o.absoluteValues[Q],
746
- comment: o.comments && o.comments.slice(z.value.start, z.value.end)[Q] || ""
751
+ comment: o.comments && o.comments.slice(S.value.start, S.value.end)[Q] || ""
747
752
  };
748
- }), ce = o.absoluteValues.map((E) => B.min >= 0 ? (E - Math.abs(B.min)) / (B.max - Math.abs(B.min)) : (E + Math.abs(B.min)) / (B.max + Math.abs(B.min))), bl = o.series.map((E, Q) => ({
753
+ }), ce = o.absoluteValues.map((E) => R.min >= 0 ? (E - Math.abs(R.min)) / (R.max - Math.abs(R.min)) : (E + Math.abs(R.min)) / (R.max + Math.abs(R.min))), bl = o.series.map((E, Q) => ({
749
754
  x: T(i.value.left + J.value.plot / 2 + J.value.plot * Q),
750
755
  y: T(i.value.bottom - he - (V * ce[Q] || 0)),
751
756
  value: o.absoluteValues[Q],
752
- comment: o.comments && o.comments.slice(z.value.start, z.value.end)[Q] || ""
757
+ comment: o.comments && o.comments.slice(S.value.start, S.value.end)[Q] || ""
753
758
  })), ve = w.ticks.map((E) => ({
754
759
  y: E >= 0 ? P - V * (E / re) : P + V * Math.abs(E) / re,
755
760
  value: E,
756
761
  prefix: o.prefix || e.value.chart.labels.prefix,
757
762
  suffix: o.suffix || e.value.chart.labels.suffix,
758
763
  datapoint: o
759
- })), Be = B.ticks.map((E) => {
760
- const Q = (E - B.min) / (B.max - B.min);
764
+ })), Be = R.ticks.map((E) => {
765
+ const Q = (E - R.min) / (R.max - R.min);
761
766
  return {
762
767
  y: E >= 0 ? K - V * Q : K + V * Q,
763
768
  value: E,
@@ -766,21 +771,21 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
766
771
  datapoint: o
767
772
  };
768
773
  });
769
- return p.value[o.scaleLabel].name = o.name, p.value[o.scaleLabel].groupName = o.scaleLabel, p.value[o.scaleLabel].groupColor = e.value.chart.grid.labels.yAxis.groupColor || o.color, p.value[o.scaleLabel].color = o.color, p.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Be : ve, p.value[o.scaleLabel].zeroPosition = o.autoScaling ? K : P, p.value[o.scaleLabel].individualMax = o.autoScaling ? D : re, p.value[o.scaleLabel].scaleLabel = o.scaleLabel, p.value[o.scaleLabel].id = o.id, p.value[o.scaleLabel].yOffset = he, p.value[o.scaleLabel].individualHeight = V, p.value[o.scaleLabel].autoScaleYLabels = Be, p.value[o.scaleLabel].unique = Ue.value.filter((E) => E.scaleLabel === o.scaleLabel).length === 1, {
774
+ return p.value[o.scaleLabel].name = o.name, p.value[o.scaleLabel].groupName = o.scaleLabel, p.value[o.scaleLabel].groupColor = e.value.chart.grid.labels.yAxis.groupColor || o.color, p.value[o.scaleLabel].color = o.color, p.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Be : ve, p.value[o.scaleLabel].zeroPosition = o.autoScaling ? K : P, p.value[o.scaleLabel].individualMax = o.autoScaling ? D : re, p.value[o.scaleLabel].scaleLabel = o.scaleLabel, p.value[o.scaleLabel].id = o.id, p.value[o.scaleLabel].yOffset = he, p.value[o.scaleLabel].individualHeight = V, p.value[o.scaleLabel].autoScaleYLabels = Be, p.value[o.scaleLabel].unique = Ze.value.filter((E) => E.scaleLabel === o.scaleLabel).length === 1, {
770
775
  ...o,
771
776
  yOffset: he,
772
777
  autoScaleYLabels: Be,
773
778
  individualHeight: V,
774
779
  scaleYLabels: o.autoScaling ? Be : ve,
775
- individualScale: o.autoScaling ? B : w,
780
+ individualScale: o.autoScaling ? R : w,
776
781
  individualMax: o.autoScaling ? D : re,
777
782
  zeroPosition: o.autoScaling ? K : P,
778
783
  plots: o.autoScaling ? bl : fe,
779
784
  groupId: p.value[o.scaleLabel].groupId
780
785
  };
781
786
  });
782
- }), gl = L(() => {
783
- const a = _e.value.map((n) => ({
787
+ }), gl = A(() => {
788
+ const a = we.value.map((n) => ({
784
789
  name: n.name,
785
790
  color: n.color,
786
791
  scale: n.individualScale,
@@ -792,7 +797,7 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
792
797
  yOffset: n.yOffset || 0,
793
798
  individualHeight: n.individualHeight || i.value.height,
794
799
  autoScaleYLabels: n.autoScaleYLabels
795
- })), v = He.value.map((n) => ({
800
+ })), v = Re.value.map((n) => ({
796
801
  name: n.name,
797
802
  color: n.color,
798
803
  scale: n.individualScale,
@@ -803,7 +808,7 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
803
808
  id: n.id,
804
809
  yOffset: n.yOffset || 0,
805
810
  individualHeight: n.individualHeight || i.value.height
806
- })), l = Me.value.map((n) => ({
811
+ })), l = ze.value.map((n) => ({
807
812
  name: n.name,
808
813
  color: n.color,
809
814
  scale: n.individualScale,
@@ -835,42 +840,42 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
835
840
  }))
836
841
  };
837
842
  });
838
- }), Ca = L(() => ({
843
+ }), Ta = A(() => ({
839
844
  datapoint: fl.value,
840
845
  seriesIndex: k.value,
841
- series: Ae.value,
842
- bars: He.value,
843
- lines: _e.value,
844
- plots: Me.value,
846
+ series: Me.value,
847
+ bars: Re.value,
848
+ lines: we.value,
849
+ plots: ze.value,
845
850
  config: e.value
846
- })), Lt = L(() => {
847
- let a = "", v = fl.value.map((t) => t.value).filter((t) => Cl(t) && t !== null).reduce((t, n) => Math.abs(t) + Math.abs(n), 0);
851
+ })), Mt = A(() => {
852
+ let a = "", v = fl.value.map((t) => t.value).filter((t) => Il(t) && t !== null).reduce((t, n) => Math.abs(t) + Math.abs(n), 0);
848
853
  const l = de.value[k.value], s = e.value.chart.tooltip.customFormat;
849
- return Gt(s) && Xt(() => s({
854
+ return Dt(s) && Ut(() => s({
850
855
  seriesIndex: k.value,
851
856
  datapoint: fl.value,
852
- series: Ae.value,
853
- bars: He.value,
854
- lines: _e.value,
855
- plots: Me.value,
857
+ series: Me.value,
858
+ bars: Re.value,
859
+ lines: we.value,
860
+ plots: ze.value,
856
861
  config: e.value
857
862
  })) ? s({
858
863
  seriesIndex: k.value,
859
864
  datapoint: fl.value,
860
- series: Ae.value,
861
- bars: He.value,
862
- lines: _e.value,
863
- plots: Me.value,
865
+ series: Me.value,
866
+ bars: Re.value,
867
+ lines: we.value,
868
+ plots: ze.value,
864
869
  config: e.value
865
870
  }) : (l && l.text && e.value.chart.tooltip.showTimeLabel && (a += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${e.value.chart.tooltip.borderColor}; width:100%">${l.text}</div>`), fl.value.forEach((t) => {
866
- if (Cl(t.value)) {
871
+ if (Il(t.value)) {
867
872
  let n = "", o = "";
868
- switch (cl.value[t.type]) {
873
+ switch (vl.value[t.type]) {
869
874
  case "bar":
870
- n = `<svg viewBox="0 0 40 40" height="14" width="14">${aa.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="${aa.pattern ? `url(#pattern_${q.value}_${t.slotAbsoluteIndex}` : t.color}" /></svg>`;
875
+ n = `<svg viewBox="0 0 40 40" height="14" width="14">${sa.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="${sa.pattern ? `url(#pattern_${q.value}_${t.slotAbsoluteIndex}` : t.color}" /></svg>`;
871
876
  break;
872
877
  case "line":
873
- !t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ? o = `<circle cx="10" cy="8" r="4" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" />` : t.shape === "triangle" ? o = `<path d="${Te({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "square" ? o = `<path d="${Te({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "diamond" ? o = `<path d="${Te({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "pentagon" ? o = `<path d="${Te({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "hexagon" ? o = `<path d="${Te({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "star" && (o = `<polygon stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" points="${Xa({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), n = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${t.color}" />${o}</svg>`;
878
+ !t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ? o = `<circle cx="10" cy="8" r="4" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" />` : t.shape === "triangle" ? o = `<path d="${Te({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "square" ? o = `<path d="${Te({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "diamond" ? o = `<path d="${Te({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "pentagon" ? o = `<path d="${Te({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "hexagon" ? o = `<path d="${Te({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "star" && (o = `<polygon stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" points="${Ua({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), n = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${t.color}" />${o}</svg>`;
874
879
  break;
875
880
  case "plot":
876
881
  if (!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape)) {
@@ -878,7 +883,7 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
878
883
  break;
879
884
  }
880
885
  if (t.shape === "star") {
881
- n = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" points="${Xa({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
886
+ n = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" points="${Ua({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
882
887
  break;
883
888
  }
884
889
  if (t.shape === "triangle") {
@@ -905,50 +910,50 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
905
910
  a += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;"><div style="width:20px">${n}</div> ${t.name}: <b>${e.value.chart.tooltip.showValue ? ne(
906
911
  t.type === "line" ? e.value.line.labels.formatter : t.type === "bar" ? e.value.bar.labels.formatter : e.value.plot.labels.formatter,
907
912
  t.value,
908
- be({
913
+ me({
909
914
  p: t.prefix,
910
915
  v: t.value,
911
916
  s: t.suffix,
912
917
  r: e.value.chart.tooltip.roundingValue
913
918
  }),
914
919
  { datapoint: t }
915
- ) : ""}</b> ${e.value.chart.tooltip.showPercentage ? `(${be({
920
+ ) : ""}</b> ${e.value.chart.tooltip.showPercentage ? `(${me({
916
921
  v: T(Math.abs(t.value) / v * 100),
917
922
  s: "%",
918
923
  r: e.value.chart.tooltip.roundingPercentage
919
- })})` : ""}</div>`, e.value.chart.comments.showInTooltip && t.comments.length && t.comments.slice(z.value.start, z.value.end)[k.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(z.value.start, z.value.end)[k.value]}</div>`);
924
+ })})` : ""}</div>`, e.value.chart.comments.showInTooltip && t.comments.length && t.comments.slice(S.value.start, S.value.end)[k.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(S.value.start, S.value.end)[k.value]}</div>`);
920
925
  }
921
926
  }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${e.value.chart.tooltip.color}">${a}</div>`);
922
927
  });
923
- L(() => {
924
- if (Ne.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
925
- const a = pe.value.map((l) => ({
928
+ A(() => {
929
+ if (Ve.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
930
+ const a = ke.value.map((l) => ({
926
931
  label: l.name,
927
932
  color: l.color,
928
933
  type: l.type
929
934
  })), v = [];
930
935
  return de.value.forEach((l, s) => {
931
936
  const t = [l.text];
932
- pe.value.forEach((n) => {
933
- t.push(ge(n.absoluteValues[s]) ? Number(n.absoluteValues[s].toFixed(e.value.table.rounding)) : "");
937
+ ke.value.forEach((n) => {
938
+ t.push(xe(n.absoluteValues[s]) ? Number(n.absoluteValues[s].toFixed(e.value.table.rounding)) : "");
934
939
  }), v.push(t);
935
940
  }), { head: a, body: v };
936
941
  });
937
- const Al = L(() => {
942
+ const Al = A(() => {
938
943
  const a = e.value.table.showSum;
939
- let v = [""].concat(pe.value.map((n) => n.name));
944
+ let v = [""].concat(ke.value.map((n) => n.name));
940
945
  a && (v = v.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>'));
941
946
  let l = [];
942
947
  for (let n = 0; n < b.value; n += 1) {
943
- const o = pe.value.map((Y) => Y.absoluteValues[n] ?? 0).reduce((Y, F) => Y + F, 0);
948
+ const o = ke.value.map((Y) => Y.absoluteValues[n] ?? 0).reduce((Y, F) => Y + F, 0);
944
949
  l.push(
945
950
  [
946
951
  de.value[n].text ?? "-"
947
- ].concat(pe.value.map(
952
+ ].concat(ke.value.map(
948
953
  (Y) => ne(
949
954
  Y.type === "line" ? e.value.line.labels.formatter : Y.type === "bar" ? e.value.bar.labels.formatter : e.value.plot.labels.formatter,
950
955
  Y.absoluteValues[n] ?? 0,
951
- be({
956
+ me({
952
957
  p: Y.prefix || e.value.chart.labels.prefix,
953
958
  v: Y.absoluteValues[n] ?? 0,
954
959
  s: Y.suffix || e.value.chart.labels.suffix,
@@ -970,64 +975,64 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
970
975
  outline: e.value.table.td.outline
971
976
  },
972
977
  breakpoint: e.value.table.responsiveBreakpoint
973
- }, t = [e.value.table.columnNames.period].concat(pe.value.map((n) => n.name)).concat(e.value.table.columnNames.total);
978
+ }, t = [e.value.table.columnNames.period].concat(ke.value.map((n) => n.name)).concat(e.value.table.columnNames.total);
974
979
  return { head: v, body: l, config: s, colNames: t };
975
980
  });
976
- function Ia(a = null) {
977
- const v = [[e.value.chart.title.text], [e.value.chart.title.subtitle.text], [""]], l = ["", ...t.value.head.map((o) => o.label)], s = t.value.body, t = v.concat([l]).concat(s), n = Jt(t);
978
- a ? a(n) : Kt({ csvContent: n, title: e.value.chart.title.text || "vue-ui-xy" });
981
+ function Oa(a = null) {
982
+ const v = [[e.value.chart.title.text], [e.value.chart.title.subtitle.text], [""]], l = ["", ...t.value.head.map((o) => o.label)], s = t.value.body, t = v.concat([l]).concat(s), n = Qt(t);
983
+ a ? a(n) : jt({ csvContent: n, title: e.value.chart.title.text || "vue-ui-xy" });
979
984
  }
980
- function Ta(a, v = null) {
981
- sa.value = a, a ? k.value = v : k.value = null;
985
+ function Na(a, v = null) {
986
+ ra.value = a, a ? k.value = v : k.value = null;
982
987
  }
983
- function Oa() {
988
+ function Va() {
984
989
  f.value.showTable = !f.value.showTable;
985
990
  }
986
- function Na() {
991
+ function Pa() {
987
992
  f.value.dataLabels.show = !f.value.dataLabels.show;
988
993
  }
989
- function Va() {
994
+ function Ha() {
990
995
  f.value.showTooltip = !f.value.showTooltip;
991
996
  }
992
- function Pa(a) {
993
- al.value = a, ua.value += 1;
997
+ function Ra(a) {
998
+ tl.value = a, na.value += 1;
994
999
  }
995
- function Ha() {
1000
+ function Ba() {
996
1001
  if (!e.value.responsiveProportionalSizing) {
997
- x.value.dataLabels = e.value.chart.grid.labels.fontSize, x.value.yAxis = e.value.chart.grid.labels.axis.fontSize, x.value.xAxis = e.value.chart.grid.labels.xAxisLabels.fontSize, x.value.plotLabels = e.value.chart.labels.fontSize, Le.value.plot = e.value.plot.radius, Le.value.line = e.value.line.radius;
1002
+ x.value.dataLabels = e.value.chart.grid.labels.fontSize, x.value.yAxis = e.value.chart.grid.labels.axis.fontSize, x.value.xAxis = e.value.chart.grid.labels.xAxisLabels.fontSize, x.value.plotLabels = e.value.chart.labels.fontSize, Ae.value.plot = e.value.plot.radius, Ae.value.line = e.value.line.radius;
998
1003
  return;
999
1004
  }
1000
- x.value.dataLabels = ul({
1005
+ x.value.dataLabels = il({
1001
1006
  relator: ue.value,
1002
1007
  adjuster: 400,
1003
1008
  source: e.value.chart.grid.labels.fontSize,
1004
1009
  threshold: 10,
1005
1010
  fallback: 10
1006
- }), x.value.yAxis = ul({
1011
+ }), x.value.yAxis = il({
1007
1012
  relator: Z.value,
1008
1013
  adjuster: 1e3,
1009
1014
  source: e.value.chart.grid.labels.axis.fontSize,
1010
1015
  threshold: 10,
1011
1016
  fallback: 10
1012
- }), x.value.xAxis = ul({
1017
+ }), x.value.xAxis = il({
1013
1018
  relator: Z.value,
1014
1019
  adjuster: 1e3,
1015
1020
  source: e.value.chart.grid.labels.xAxisLabels.fontSize,
1016
1021
  threshold: 10,
1017
1022
  fallback: 10
1018
- }), x.value.plotLabels = ul({
1023
+ }), x.value.plotLabels = il({
1019
1024
  relator: Z.value,
1020
1025
  adjuster: 800,
1021
1026
  source: e.value.chart.labels.fontSize,
1022
1027
  threshold: 10,
1023
1028
  fallback: 10
1024
- }), Le.value.plot = ul({
1029
+ }), Ae.value.plot = il({
1025
1030
  relator: Z.value,
1026
1031
  adjuster: 800,
1027
1032
  source: e.value.plot.radius,
1028
1033
  threshold: 1,
1029
1034
  fallback: 1
1030
- }), Le.value.line = ul({
1035
+ }), Ae.value.line = il({
1031
1036
  relator: Z.value,
1032
1037
  adjuster: 800,
1033
1038
  source: e.value.line.radius,
@@ -1035,14 +1040,14 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1035
1040
  fallback: 1
1036
1041
  });
1037
1042
  }
1038
- const xl = L(() => !!e.value.debug);
1039
- function Ba() {
1040
- Da(y.dataset) ? (ea({
1043
+ const xl = A(() => !!e.value.debug);
1044
+ function Ya() {
1045
+ qa(y.dataset) ? (ta({
1041
1046
  componentName: "VueUiXy",
1042
1047
  type: "dataset",
1043
1048
  debug: xl.value
1044
1049
  }), wl.value = !0) : y.dataset.forEach((v, l) => {
1045
- [null, void 0].includes(v.name) && (ea({
1050
+ [null, void 0].includes(v.name) && (ta({
1046
1051
  componentName: "VueUiXy",
1047
1052
  type: "datasetSerieAttribute",
1048
1053
  property: "name (string)",
@@ -1051,11 +1056,11 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1051
1056
  }), wl.value = !0);
1052
1057
  }), xl.value && y.dataset.forEach((v) => {
1053
1058
  v.series.forEach((l, s) => {
1054
- Cl(l) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
1059
+ Il(l) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
1055
1060
  -----> The serie '${v.name}' contains the value '${l}' at index ${s}.
1056
1061
  '${l}' was converted to null to allow the chart to display.`);
1057
1062
  });
1058
- }), Da(y.dataset) || (wl.value = e.value.loading), na.value = e.value.chart.userOptions.showOnChartHover, El.value = e.value.chart.userOptions.keepStateOnChartLeave, kl.value = !e.value.chart.userOptions.showOnChartHover, f.value = {
1063
+ }), qa(y.dataset) || (wl.value = e.value.loading), da.value = e.value.chart.userOptions.showOnChartHover, Wl.value = e.value.chart.userOptions.keepStateOnChartLeave, kl.value = !e.value.chart.userOptions.showOnChartHover, f.value = {
1059
1064
  dataLabels: {
1060
1065
  show: !0
1061
1066
  },
@@ -1066,50 +1071,67 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1066
1071
  };
1067
1072
  const a = G.value ? 0 : 12;
1068
1073
  if (e.value.responsive) {
1069
- const l = Se.value.parentNode;
1070
- Ge.value && (Ge.value.unobserve(Rl.value), Ge.value.disconnect());
1074
+ const l = ge.value.parentNode;
1075
+ Xe.value && (Xe.value.unobserve(Yl.value), Xe.value.disconnect());
1071
1076
  const { height: s, width: t } = l.getBoundingClientRect();
1072
1077
  let n = null, o = 0;
1073
- e.value.chart.title.show && il.value && (n = il.value, o = n.getBoundingClientRect().height);
1078
+ e.value.chart.title.show && rl.value && (n = rl.value, o = n.getBoundingClientRect().height);
1074
1079
  let Y = null, F = 0;
1075
- e.value.chart.zoom.show && tl.value > 6 && Gl.value && $e.value && $e.value.$el && (Y = $e.value.$el, F = Y.getBoundingClientRect().height);
1076
- let ee = null, S = 0;
1077
- e.value.chart.legend.show && el.value && (ee = el.value, S = ee.getBoundingClientRect().height);
1080
+ e.value.chart.zoom.show && He.value > 6 && Xl.value && Le.value && Le.value.$el && (Y = Le.value.$el, F = Y.getBoundingClientRect().height);
1081
+ let ee = null, $ = 0;
1082
+ e.value.chart.legend.show && al.value && (ee = al.value, $ = ee.getBoundingClientRect().height);
1078
1083
  let I = 0;
1079
- rl.value && (I = rl.value.getBoundingClientRect().height);
1084
+ nl.value && (I = nl.value.getBoundingClientRect().height);
1080
1085
  let X = 0;
1081
- nl.value && (X = nl.value.getBoundingClientRect().height), ue.value = s - o - S - F - I - X - a, Z.value = t, G.value ? hl() : ll.value = `0 0 ${Z.value < 0 ? 10 : Z.value} ${ue.value < 0 ? 10 : ue.value}`, Ha();
1082
- const w = new ResizeObserver((B) => {
1083
- for (const $ of B)
1084
- e.value.chart.title.show && il.value ? o = il.value.getBoundingClientRect().height : o = 0, $e.value && $e.value.$el ? F = $e.value.$el.getBoundingClientRect().height : F = 0, el.value ? S = el.value.getBoundingClientRect().height : S = 0, rl.value ? I = rl.value.getBoundingClientRect().height : I = 0, nl.value ? X = nl.value.getBoundingClientRect().height : X = 0, G.value && Se.value.classList.add("no-transition"), requestAnimationFrame(() => {
1085
- ue.value = $.contentRect.height - o - S - F - I - X - (G.value ? 48 : a), G.value ? (ca.value = $.contentRect.height - ue.value, Z.value = $.contentBoxSize[0].inlineSize, st.value = Z.value / ca.value, hl()) : (Z.value = $.contentBoxSize[0].inlineSize, ll.value = `0 0 ${Z.value < 0 ? 10 : Z.value} ${ue.value < 0 ? 10 : ue.value}`), Ha();
1086
+ cl.value && (X = cl.value.getBoundingClientRect().height), ue.value = s - o - $ - F - I - X - a, Z.value = t, G.value ? ol() : De.value = `0 0 ${Z.value < 0 ? 10 : Z.value} ${ue.value < 0 ? 10 : ue.value}`, Ba();
1087
+ const w = new ResizeObserver((R) => {
1088
+ for (const L of R)
1089
+ e.value.chart.title.show && rl.value ? o = rl.value.getBoundingClientRect().height : o = 0, Le.value && Le.value.$el ? F = Le.value.$el.getBoundingClientRect().height : F = 0, al.value ? $ = al.value.getBoundingClientRect().height : $ = 0, nl.value ? I = nl.value.getBoundingClientRect().height : I = 0, cl.value ? X = cl.value.getBoundingClientRect().height : X = 0, G.value && ge.value.classList.add("no-transition"), requestAnimationFrame(() => {
1090
+ ue.value = L.contentRect.height - o - $ - F - I - X - (G.value ? 48 : a), G.value ? (ha.value = L.contentRect.height - ue.value, Z.value = L.contentBoxSize[0].inlineSize, it.value = Z.value / ha.value, ol()) : (Z.value = L.contentBoxSize[0].inlineSize, De.value = `0 0 ${Z.value < 0 ? 10 : Z.value} ${ue.value < 0 ? 10 : ue.value}`), Ba();
1086
1091
  });
1087
1092
  });
1088
- Ge.value = w, Rl.value = l, w.observe(l);
1093
+ Xe.value = w, Yl.value = l, w.observe(l);
1089
1094
  } else
1090
- ue.value = e.value.chart.height, Z.value = e.value.chart.width, x.value.dataLabels = e.value.chart.grid.labels.fontSize, x.value.yAxis = e.value.chart.grid.labels.axis.fontSize, x.value.xAxis = e.value.chart.grid.labels.xAxisLabels.fontSize, x.value.plotLabels = e.value.chart.labels.fontSize, Le.value.plot = e.value.plot.radius, Le.value.line = e.value.line.radius, G.value ? hl() : ll.value = `0 0 ${Z.value} ${ue.value}`;
1095
+ ue.value = e.value.chart.height, Z.value = e.value.chart.width, x.value.dataLabels = e.value.chart.grid.labels.fontSize, x.value.yAxis = e.value.chart.grid.labels.axis.fontSize, x.value.xAxis = e.value.chart.grid.labels.xAxisLabels.fontSize, x.value.plotLabels = e.value.chart.labels.fontSize, Ae.value.plot = e.value.plot.radius, Ae.value.line = e.value.line.radius, G.value ? ol() : De.value = `0 0 ${Z.value} ${ue.value}`;
1091
1096
  }
1092
- return Ra(() => {
1093
- Ba(), Kl(), document.addEventListener("mousemove", (a) => {
1094
- ot.value = {
1097
+ ea(() => {
1098
+ Ya(), jl(), document.addEventListener("mousemove", (a) => {
1099
+ ut.value = {
1095
1100
  x: a.clientX,
1096
1101
  y: a.clientY
1097
1102
  };
1098
- }), document.addEventListener("scroll", xa);
1099
- }), It(() => {
1100
- document.removeEventListener("scroll", xa), Ge.value && (Ge.value.unobserve(Rl.value), Ge.value.disconnect());
1101
- }), zl(() => f.value.isStacked, async () => {
1102
- G.value && (await Ce(), hl(), ya());
1103
- }), zl(() => y.dataset, (a) => {
1104
- Array.isArray(a) && a.length > 0 && (wl.value = !1), tl.value = Math.max(...Pe.value.map((v) => Fe({
1103
+ }), document.addEventListener("scroll", ya);
1104
+ }), Fa(() => {
1105
+ document.removeEventListener("scroll", ya), Xe.value && (Xe.value.unobserve(Yl.value), Xe.value.disconnect());
1106
+ }), Cl(() => f.value.isStacked, async () => {
1107
+ G.value && (await Se(), ol(), Kl());
1108
+ });
1109
+ let Ml;
1110
+ async function zt() {
1111
+ await Se(), ol(), Kl(), Ml.disconnect();
1112
+ }
1113
+ return ea(() => {
1114
+ ge.value && (Ml = new ResizeObserver((a) => {
1115
+ for (const v of a) {
1116
+ const { width: l, height: s } = v.contentRect;
1117
+ if (l > 0 && s > 0) {
1118
+ zt();
1119
+ break;
1120
+ }
1121
+ }
1122
+ }), Ml.observe(ge.value.parentElement));
1123
+ }), Fa(() => {
1124
+ Ml?.disconnect();
1125
+ }), Cl(() => y.dataset, (a) => {
1126
+ Array.isArray(a) && a.length > 0 && (wl.value = !1), He.value = Math.max(...Ne.value.map((v) => Ee({
1105
1127
  data: v.series,
1106
1128
  threshold: e.value.downsample.threshold
1107
- }).length)), z.value = {
1129
+ }).length)), S.value = {
1108
1130
  start: 0,
1109
- end: tl.value
1110
- }, Yl.value += 1, Fl.value += 1;
1111
- }, { deep: !0 }), zl(() => y.config, (a) => {
1112
- Xl.value || (e.value = Wl()), Ba(), ra.value += 1, ia.value += 1, f.value = {
1131
+ end: He.value
1132
+ }, Fl.value += 1, El.value += 1;
1133
+ }, { deep: !0 }), Cl(() => y.config, (a) => {
1134
+ Dl.value || (e.value = Gl()), Ya(), va.value += 1, ca.value += 1, f.value = {
1113
1135
  dataLabels: {
1114
1136
  show: !0
1115
1137
  },
@@ -1118,7 +1140,7 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1118
1140
  isStacked: e.value.chart.grid.labels.yAxis.stacked,
1119
1141
  useIndividualScale: e.value.chart.grid.labels.yAxis.useIndividualScale
1120
1142
  };
1121
- }, { deep: !0 }), zl(e, () => {
1143
+ }, { deep: !0 }), Cl(e, () => {
1122
1144
  f.value = {
1123
1145
  dataLabels: {
1124
1146
  show: !0
@@ -1128,51 +1150,51 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1128
1150
  isStacked: e.value.chart.grid.labels.yAxis.stacked,
1129
1151
  useIndividualScale: e.value.chart.grid.labels.yAxis.useIndividualScale
1130
1152
  };
1131
- }, { immediate: !0 }), Ua({
1132
- getData: xt,
1133
- getImage: bt,
1134
- generatePdf: da,
1135
- generateImage: ha,
1136
- generateCsv: Ia,
1137
- toggleStack: pa,
1138
- toggleTable: Oa,
1139
- toggleLabels: Na,
1140
- toggleTooltip: Va,
1141
- toggleAnnotator: Zl,
1142
- toggleFullscreen: Pa
1153
+ }, { immediate: !0 }), Za({
1154
+ getData: mt,
1155
+ getImage: yt,
1156
+ generatePdf: ga,
1157
+ generateImage: xa,
1158
+ generateCsv: Oa,
1159
+ toggleStack: _a,
1160
+ toggleTable: Va,
1161
+ toggleLabels: Pa,
1162
+ toggleTooltip: Ha,
1163
+ toggleAnnotator: Jl,
1164
+ toggleFullscreen: Ra
1143
1165
  }), (a, v) => (u(), r("div", {
1144
1166
  id: `vue-ui-xy_${q.value}`,
1145
- class: Ze(`vue-ui-xy ${al.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1167
+ class: Ke(`vue-ui-xy ${tl.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1146
1168
  ref_key: "chart",
1147
- ref: Se,
1148
- style: M(`background:${e.value.chart.backgroundColor}; color:${e.value.chart.color};width:100%;font-family:${e.value.chart.fontFamily};${e.value.responsive ? "height: 100%" : ""}`),
1149
- onMouseenter: v[7] || (v[7] = () => ba(!0)),
1150
- onMouseleave: v[8] || (v[8] = () => ba(!1))
1169
+ ref: ge,
1170
+ style: z(`background:${e.value.chart.backgroundColor}; color:${e.value.chart.color};width:100%;font-family:${e.value.chart.fontFamily};${e.value.responsive ? "height: 100%" : ""}`),
1171
+ onMouseenter: v[7] || (v[7] = () => pa(!0)),
1172
+ onMouseleave: v[8] || (v[8] = () => pa(!1))
1151
1173
  }, [
1152
- e.value.chart.userOptions.buttons.annotator && me.value ? (u(), Ie(c(at), {
1174
+ e.value.chart.userOptions.buttons.annotator && ye.value ? (u(), Ie(c(ot), {
1153
1175
  key: 0,
1154
- svgRef: me.value,
1176
+ svgRef: ye.value,
1155
1177
  backgroundColor: e.value.chart.backgroundColor,
1156
1178
  color: e.value.chart.color,
1157
1179
  active: pl.value,
1158
- onClose: Zl
1180
+ onClose: Jl
1159
1181
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
1160
- yt.value ? (u(), r("div", {
1182
+ kt.value ? (u(), r("div", {
1161
1183
  key: 1,
1162
1184
  ref_key: "noTitle",
1163
- ref: nl,
1185
+ ref: cl,
1164
1186
  class: "vue-data-ui-no-title-space",
1165
1187
  style: "height:36px; width: 100%; background:transparent"
1166
1188
  }, null, 512)) : d("", !0),
1167
1189
  e.value.chart.title.show ? (u(), r("div", {
1168
1190
  key: 2,
1169
1191
  ref_key: "chartTitle",
1170
- ref: il,
1192
+ ref: rl,
1171
1193
  class: "vue-ui-xy-title",
1172
- style: M(`font-family:${e.value.chart.fontFamily}`)
1194
+ style: z(`font-family:${e.value.chart.fontFamily}`)
1173
1195
  }, [
1174
- (u(), Ie(eo, {
1175
- key: `title_${ra.value}`,
1196
+ (u(), Ie(ao, {
1197
+ key: `title_${va.value}`,
1176
1198
  config: {
1177
1199
  title: {
1178
1200
  cy: "xy-div-title",
@@ -1185,13 +1207,13 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1185
1207
  }
1186
1208
  }, null, 8, ["config"]))
1187
1209
  ], 4)) : d("", !0),
1188
- e.value.chart.userOptions.show && (El.value || kl.value) ? (u(), Ie(c(Ka), {
1210
+ e.value.chart.userOptions.show && (Wl.value || kl.value) ? (u(), Ie(c(ja), {
1189
1211
  ref: "defails",
1190
- key: `user_options_${ua.value}`,
1212
+ key: `user_options_${na.value}`,
1191
1213
  backgroundColor: e.value.chart.backgroundColor,
1192
1214
  color: e.value.chart.color,
1193
- isPrinting: c(Dl),
1194
- isImaging: c(va),
1215
+ isPrinting: c(Ul),
1216
+ isImaging: c(fa),
1195
1217
  uid: q.value,
1196
1218
  hasTooltip: e.value.chart.userOptions.buttons.tooltip && e.value.chart.tooltip.show,
1197
1219
  hasPdf: e.value.chart.userOptions.buttons.pdf,
@@ -1199,10 +1221,10 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1199
1221
  hasImg: e.value.chart.userOptions.buttons.img,
1200
1222
  hasLabel: e.value.chart.userOptions.buttons.labels,
1201
1223
  hasTable: e.value.chart.userOptions.buttons.table,
1202
- hasStack: Ol.dataset.length > 1 && e.value.chart.userOptions.buttons.stack,
1224
+ hasStack: Nl.dataset.length > 1 && e.value.chart.userOptions.buttons.stack,
1203
1225
  hasFullscreen: e.value.chart.userOptions.buttons.fullscreen,
1204
1226
  isStacked: f.value.isStacked,
1205
- isFullscreen: al.value,
1227
+ isFullscreen: tl.value,
1206
1228
  chartElement: a.$refs.chart,
1207
1229
  position: e.value.chart.userOptions.position,
1208
1230
  isTooltip: f.value.showTooltip,
@@ -1211,23 +1233,23 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1211
1233
  isAnnotation: pl.value,
1212
1234
  callbacks: e.value.chart.userOptions.callbacks,
1213
1235
  printScale: e.value.chart.userOptions.print.scale,
1214
- onToggleFullscreen: Pa,
1215
- onGeneratePdf: c(da),
1216
- onGenerateCsv: Ia,
1217
- onGenerateImage: c(ha),
1218
- onToggleTable: Oa,
1219
- onToggleLabels: Na,
1220
- onToggleStack: pa,
1221
- onToggleTooltip: Va,
1222
- onToggleAnnotator: Zl,
1223
- style: M({
1224
- visibility: El.value ? kl.value ? "visible" : "hidden" : "visible"
1236
+ onToggleFullscreen: Ra,
1237
+ onGeneratePdf: c(ga),
1238
+ onGenerateCsv: Oa,
1239
+ onGenerateImage: c(xa),
1240
+ onToggleTable: Va,
1241
+ onToggleLabels: Pa,
1242
+ onToggleStack: _a,
1243
+ onToggleTooltip: Ha,
1244
+ onToggleAnnotator: Jl,
1245
+ style: z({
1246
+ visibility: Wl.value ? kl.value ? "visible" : "hidden" : "visible"
1225
1247
  })
1226
- }, Tt({ _: 2 }, [
1248
+ }, Nt({ _: 2 }, [
1227
1249
  a.$slots.menuIcon ? {
1228
1250
  name: "menuIcon",
1229
1251
  fn: se(({ isOpen: l, color: s }) => [
1230
- U(a.$slots, "menuIcon", Je(Ke({ isOpen: l, color: s })), void 0, !0)
1252
+ U(a.$slots, "menuIcon", Qe(je({ isOpen: l, color: s })), void 0, !0)
1231
1253
  ]),
1232
1254
  key: "0"
1233
1255
  } : void 0,
@@ -1283,40 +1305,40 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1283
1305
  a.$slots.optionFullscreen ? {
1284
1306
  name: "optionFullscreen",
1285
1307
  fn: se(({ toggleFullscreen: l, isFullscreen: s }) => [
1286
- U(a.$slots, "optionFullscreen", Je(Ke({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
1308
+ U(a.$slots, "optionFullscreen", Qe(je({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
1287
1309
  ]),
1288
1310
  key: "8"
1289
1311
  } : void 0,
1290
1312
  a.$slots.optionAnnotator ? {
1291
1313
  name: "optionAnnotator",
1292
1314
  fn: se(({ toggleAnnotator: l, isAnnotator: s }) => [
1293
- U(a.$slots, "optionAnnotator", Je(Ke({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
1315
+ U(a.$slots, "optionAnnotator", Qe(je({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
1294
1316
  ]),
1295
1317
  key: "9"
1296
1318
  } : void 0
1297
1319
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasLabel", "hasTable", "hasStack", "hasFullscreen", "isStacked", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
1298
1320
  (u(), r("svg", {
1299
1321
  ref_key: "svgRef",
1300
- ref: me,
1322
+ ref: ye,
1301
1323
  xmlns: "http://www.w3.org/2000/svg",
1302
- class: Ze([{ "vue-data-ui-fullscreen--on": al.value, "vue-data-ui-fulscreen--off": !al.value }, "vue-ui-xy-svg vue-data-ui-svg"]),
1324
+ class: Ke([{ "vue-data-ui-fullscreen--on": tl.value, "vue-data-ui-fulscreen--off": !tl.value }, "vue-ui-xy-svg vue-data-ui-svg"]),
1303
1325
  width: G.value ? void 0 : "100%",
1304
- viewBox: ll.value,
1305
- style: M(`background: transparent; color:${e.value.chart.color}; font-family:${e.value.chart.fontFamily}`),
1306
- "aria-label": mt.value,
1326
+ viewBox: De.value,
1327
+ style: z(`background: transparent; color:${e.value.chart.color}; font-family:${e.value.chart.fontFamily}`),
1328
+ "aria-label": pt.value,
1307
1329
  role: "img",
1308
1330
  "aria-live": "polite",
1309
1331
  preserveAspectRatio: "xMidYMid"
1310
1332
  }, [
1311
1333
  g("g", {
1312
1334
  ref_key: "G",
1313
- ref: ta,
1335
+ ref: ua,
1314
1336
  class: "vue-data-ui-g"
1315
1337
  }, [
1316
- ml(c(lt)),
1338
+ ml(c(tt)),
1317
1339
  a.$slots["chart-background"] ? (u(), r("foreignObject", {
1318
1340
  key: 0,
1319
- x: i.value.left + R.value < 0 ? 0 : i.value.left + R.value,
1341
+ x: i.value.left + B.value < 0 ? 0 : i.value.left + B.value,
1320
1342
  y: i.value.top,
1321
1343
  width: i.value.width - (e.value.chart.grid.position === "middle" ? 0 : i.value.width / b.value) < 0 ? 0 : i.value.width - (e.value.chart.grid.position === "middle" ? 0 : i.value.width / b.value),
1322
1344
  height: i.value.height < 0 ? 0 : i.value.height,
@@ -1325,82 +1347,82 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1325
1347
  }
1326
1348
  }, [
1327
1349
  U(a.$slots, "chart-background", {}, void 0, !0)
1328
- ], 8, ro)) : d("", !0),
1329
- b.value > 0 ? (u(), r("g", no, [
1330
- g("g", co, [
1350
+ ], 8, co)) : d("", !0),
1351
+ b.value > 0 ? (u(), r("g", vo, [
1352
+ g("g", ho, [
1331
1353
  e.value.chart.grid.labels.xAxis.showBaseline ? (u(), r("line", {
1332
1354
  key: 0,
1333
1355
  stroke: e.value.chart.grid.stroke,
1334
1356
  "stroke-width": "1",
1335
- x1: i.value.left + R.value,
1336
- x2: i.value.right - R.value,
1357
+ x1: i.value.left + B.value,
1358
+ x2: i.value.right - B.value,
1337
1359
  y1: c(H)(i.value.bottom),
1338
1360
  y2: c(H)(i.value.bottom),
1339
1361
  "stroke-linecap": "round",
1340
1362
  style: { animation: "none !important" }
1341
- }, null, 8, vo)) : d("", !0),
1363
+ }, null, 8, fo)) : d("", !0),
1342
1364
  f.value.useIndividualScale ? e.value.chart.grid.showHorizontalLines ? (u(!0), r(h, { key: 2 }, m(gl.value, (l) => (u(), r("g", null, [
1343
- l.id === A.value && l.yLabels.length ? (u(!0), r(h, { key: 0 }, m(l.yLabels, (s) => (u(), r("line", {
1344
- x1: i.value.left + R.value,
1345
- x2: i.value.right - R.value,
1365
+ l.id === M.value && l.yLabels.length ? (u(!0), r(h, { key: 0 }, m(l.yLabels, (s) => (u(), r("line", {
1366
+ x1: i.value.left + B.value,
1367
+ x2: i.value.right - B.value,
1346
1368
  y1: c(H)(s.y),
1347
1369
  y2: c(H)(s.y),
1348
1370
  stroke: l.color,
1349
1371
  "stroke-width": 0.5,
1350
1372
  "stroke-linecap": "round",
1351
1373
  style: { animation: "none !important" }
1352
- }, null, 8, xo))), 256)) : l.yLabels.length ? (u(!0), r(h, { key: 1 }, m(l.yLabels, (s) => (u(), r("line", {
1353
- x1: i.value.left + R.value,
1354
- x2: i.value.right - R.value,
1374
+ }, null, 8, mo))), 256)) : l.yLabels.length ? (u(!0), r(h, { key: 1 }, m(l.yLabels, (s) => (u(), r("line", {
1375
+ x1: i.value.left + B.value,
1376
+ x2: i.value.right - B.value,
1355
1377
  y1: c(H)(s.y),
1356
1378
  y2: c(H)(s.y),
1357
1379
  stroke: e.value.chart.grid.stroke,
1358
1380
  "stroke-width": 0.5,
1359
1381
  "stroke-linecap": "round",
1360
1382
  style: { animation: "none !important" }
1361
- }, null, 8, bo))), 256)) : d("", !0)
1383
+ }, null, 8, yo))), 256)) : d("", !0)
1362
1384
  ]))), 256)) : d("", !0) : (u(), r(h, { key: 1 }, [
1363
1385
  e.value.chart.grid.labels.yAxis.showBaseline ? (u(), r("line", {
1364
1386
  key: 0,
1365
1387
  stroke: e.value.chart.grid.stroke,
1366
1388
  "stroke-width": "1",
1367
- x1: i.value.left + R.value,
1368
- x2: i.value.left + R.value,
1389
+ x1: i.value.left + B.value,
1390
+ x2: i.value.left + B.value,
1369
1391
  y1: c(H)(i.value.top),
1370
1392
  y2: c(H)(i.value.bottom),
1371
1393
  "stroke-linecap": "round",
1372
1394
  style: { animation: "none !important" }
1373
- }, null, 8, ho)) : d("", !0),
1374
- e.value.chart.grid.showHorizontalLines ? (u(), r("g", fo, [
1375
- (u(!0), r(h, null, m(Ma.value, (l) => (u(), r("line", {
1376
- x1: i.value.left + R.value,
1377
- x2: i.value.right - R.value,
1395
+ }, null, 8, go)) : d("", !0),
1396
+ e.value.chart.grid.showHorizontalLines ? (u(), r("g", xo, [
1397
+ (u(!0), r(h, null, m(Ca.value, (l) => (u(), r("line", {
1398
+ x1: i.value.left + B.value,
1399
+ x2: i.value.right - B.value,
1378
1400
  y1: c(H)(l.y),
1379
1401
  y2: c(H)(l.y),
1380
1402
  stroke: e.value.chart.grid.stroke,
1381
1403
  "stroke-width": 0.5,
1382
1404
  "stroke-linecap": "round",
1383
1405
  style: { animation: "none !important" }
1384
- }, null, 8, go))), 256))
1406
+ }, null, 8, bo))), 256))
1385
1407
  ])) : d("", !0)
1386
1408
  ], 64)),
1387
- e.value.chart.grid.showVerticalLines ? (u(), r("g", mo, [
1409
+ e.value.chart.grid.showVerticalLines ? (u(), r("g", po, [
1388
1410
  (u(!0), r(h, null, m(b.value + (e.value.chart.grid.position === "middle" ? 1 : 0), (l, s) => (u(), r("line", {
1389
1411
  key: `grid_vertical_line_${s}`,
1390
- x1: i.value.width / b.value * s + i.value.left + R.value,
1391
- x2: i.value.width / b.value * s + i.value.left + R.value,
1412
+ x1: i.value.width / b.value * s + i.value.left + B.value,
1413
+ x2: i.value.width / b.value * s + i.value.left + B.value,
1392
1414
  y1: c(H)(i.value.top),
1393
1415
  y2: c(H)(i.value.bottom),
1394
1416
  "stroke-width": "0.5",
1395
1417
  stroke: e.value.chart.grid.stroke,
1396
1418
  style: { animation: "none !important" }
1397
- }, null, 8, yo))), 128))
1419
+ }, null, 8, ko))), 128))
1398
1420
  ])) : d("", !0),
1399
- e.value.chart.grid.labels.xAxisLabels.show ? (u(), r("g", po, [
1421
+ e.value.chart.grid.labels.xAxisLabels.show ? (u(), r("g", _o, [
1400
1422
  (u(!0), r(h, null, m(de.value, (l, s) => (u(), r("g", {
1401
1423
  key: `time_label_${s}`
1402
1424
  }, [
1403
- l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (s === 0 || s === de.value.length - 1) && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && k.value === s && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && s % Math.floor((this.slicer.end - this.slicer.start) / e.value.chart.grid.labels.xAxisLabels.modulo) === 0 ? (u(), r(h, { key: 0 }, [
1425
+ l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (s === 0 || s === de.value.length - 1) && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && k.value === s && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && s % Math.floor((S.value.end - S.value.start) / e.value.chart.grid.labels.xAxisLabels.modulo) === 0 ? (u(), r(h, { key: 0 }, [
1404
1426
  e.value.chart.grid.labels.xAxis.showCrosshairs ? (u(), r("line", {
1405
1427
  key: 0,
1406
1428
  y1: e.value.chart.grid.labels.xAxis.crosshairsAlwaysAtZero ? ie.value - (ie.value === i.value.bottom ? 0 : e.value.chart.grid.labels.xAxis.crosshairSize / 2) : i.value.bottom,
@@ -1411,12 +1433,12 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1411
1433
  "stroke-width": 1,
1412
1434
  "stroke-linecap": "round",
1413
1435
  style: { animation: "none !important" }
1414
- }, null, 8, ko)) : d("", !0)
1436
+ }, null, 8, wo)) : d("", !0)
1415
1437
  ], 64)) : d("", !0)
1416
1438
  ]))), 128))
1417
1439
  ])) : d("", !0)
1418
1440
  ]),
1419
- (u(!0), r(h, null, m(He.value, (l, s) => (u(), r("defs", {
1441
+ (u(!0), r(h, null, m(Re.value, (l, s) => (u(), r("defs", {
1420
1442
  key: `def_rect_${s}`
1421
1443
  }, [
1422
1444
  g("linearGradient", {
@@ -1427,16 +1449,16 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1427
1449
  g("stop", {
1428
1450
  offset: "0%",
1429
1451
  "stop-color": l.color
1430
- }, null, 8, wo),
1452
+ }, null, 8, $o),
1431
1453
  g("stop", {
1432
1454
  offset: "62%",
1433
- "stop-color": `${c(je)(l.color, 0.02)}`
1434
- }, null, 8, So),
1455
+ "stop-color": `${c(ll)(l.color, 0.02)}`
1456
+ }, null, 8, Lo),
1435
1457
  g("stop", {
1436
1458
  offset: "100%",
1437
- "stop-color": `${c(je)(l.color, 0.05)}`
1438
- }, null, 8, $o)
1439
- ], 8, _o),
1459
+ "stop-color": `${c(ll)(l.color, 0.05)}`
1460
+ }, null, 8, Ao)
1461
+ ], 8, So),
1440
1462
  g("linearGradient", {
1441
1463
  id: `rectGradient_neg_${s}_${q.value}`,
1442
1464
  x2: "0%",
@@ -1444,19 +1466,19 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1444
1466
  }, [
1445
1467
  g("stop", {
1446
1468
  offset: "0%",
1447
- "stop-color": `${c(je)(l.color, 0.05)}`
1448
- }, null, 8, Ao),
1469
+ "stop-color": `${c(ll)(l.color, 0.05)}`
1470
+ }, null, 8, zo),
1449
1471
  g("stop", {
1450
1472
  offset: "38%",
1451
- "stop-color": `${c(je)(l.color, 0.02)}`
1452
- }, null, 8, Mo),
1473
+ "stop-color": `${c(ll)(l.color, 0.02)}`
1474
+ }, null, 8, Co),
1453
1475
  g("stop", {
1454
1476
  offset: "100%",
1455
1477
  "stop-color": l.color
1456
- }, null, 8, zo)
1457
- ], 8, Lo)
1478
+ }, null, 8, Io)
1479
+ ], 8, Mo)
1458
1480
  ]))), 128)),
1459
- (u(!0), r(h, null, m(Me.value, (l, s) => (u(), r("defs", {
1481
+ (u(!0), r(h, null, m(ze.value, (l, s) => (u(), r("defs", {
1460
1482
  key: `def_plot_${s}`
1461
1483
  }, [
1462
1484
  g("radialGradient", {
@@ -1469,15 +1491,15 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1469
1491
  }, [
1470
1492
  g("stop", {
1471
1493
  offset: "0%",
1472
- "stop-color": `${c(je)(l.color, 0.05)}`
1473
- }, null, 8, Io),
1494
+ "stop-color": `${c(ll)(l.color, 0.05)}`
1495
+ }, null, 8, Oo),
1474
1496
  g("stop", {
1475
1497
  offset: "100%",
1476
1498
  "stop-color": l.color
1477
- }, null, 8, To)
1478
- ], 8, Co)
1499
+ }, null, 8, No)
1500
+ ], 8, To)
1479
1501
  ]))), 128)),
1480
- (u(!0), r(h, null, m(_e.value, (l, s) => (u(), r("defs", {
1502
+ (u(!0), r(h, null, m(we.value, (l, s) => (u(), r("defs", {
1481
1503
  key: `def_line_${s}`
1482
1504
  }, [
1483
1505
  g("radialGradient", {
@@ -1490,13 +1512,13 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1490
1512
  }, [
1491
1513
  g("stop", {
1492
1514
  offset: "0%",
1493
- "stop-color": `${c(je)(l.color, 0.05)}`
1494
- }, null, 8, No),
1515
+ "stop-color": `${c(ll)(l.color, 0.05)}`
1516
+ }, null, 8, Po),
1495
1517
  g("stop", {
1496
1518
  offset: "100%",
1497
1519
  "stop-color": l.color
1498
- }, null, 8, Vo)
1499
- ], 8, Oo),
1520
+ }, null, 8, Ho)
1521
+ ], 8, Vo),
1500
1522
  g("linearGradient", {
1501
1523
  id: `areaGradient_${s}_${q.value}`,
1502
1524
  x1: "0%",
@@ -1506,45 +1528,45 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1506
1528
  }, [
1507
1529
  g("stop", {
1508
1530
  offset: "0%",
1509
- "stop-color": `${c(we)(c(je)(l.color, 0.03), e.value.line.area.opacity)}`
1510
- }, null, 8, Ho),
1531
+ "stop-color": `${c($e)(c(ll)(l.color, 0.03), e.value.line.area.opacity)}`
1532
+ }, null, 8, Bo),
1511
1533
  g("stop", {
1512
1534
  offset: "100%",
1513
- "stop-color": `${c(we)(l.color, e.value.line.area.opacity)}`
1514
- }, null, 8, Bo)
1515
- ], 8, Po)
1535
+ "stop-color": `${c($e)(l.color, e.value.line.area.opacity)}`
1536
+ }, null, 8, Yo)
1537
+ ], 8, Ro)
1516
1538
  ]))), 128)),
1517
- (u(!0), r(h, null, m(pt.value, (l) => (u(), r("g", null, [
1539
+ (u(!0), r(h, null, m(_t.value, (l) => (u(), r("g", null, [
1518
1540
  l.show ? (u(), r(h, { key: 0 }, [
1519
1541
  (u(!0), r(h, null, m(l.span, (s, t) => (u(), r("g", null, [
1520
1542
  g("rect", {
1521
- style: M({
1543
+ style: z({
1522
1544
  transition: "none",
1523
- opacity: l.from + t >= z.value.start && l.from + t <= z.value.end - 1 ? 1 : 0
1545
+ opacity: l.from + t >= S.value.start && l.from + t <= S.value.end - 1 ? 1 : 0
1524
1546
  }),
1525
- x: i.value.left + i.value.width / b.value * (l.from + t - z.value.start),
1547
+ x: i.value.left + i.value.width / b.value * (l.from + t - S.value.start),
1526
1548
  y: i.value.top,
1527
1549
  height: i.value.height < 0 ? 10 : i.value.height,
1528
1550
  width: i.value.width / b.value < 0 ? 1e-5 : i.value.width / b.value,
1529
- fill: c(we)(l.color, l.opacity)
1530
- }, null, 12, Ro)
1551
+ fill: c($e)(l.color, l.opacity)
1552
+ }, null, 12, Fo)
1531
1553
  ]))), 256)),
1532
1554
  (u(!0), r(h, null, m(l.span, (s, t) => (u(), r("g", null, [
1533
1555
  l.caption.text && t === 0 ? (u(), r("foreignObject", {
1534
1556
  key: 0,
1535
- x: i.value.left + i.value.width / b.value * (l.from + t - z.value.start) - (l.caption.width === "auto" ? 0 : l.caption.width / 2 - i.value.width / b.value * l.span / 2),
1557
+ x: i.value.left + i.value.width / b.value * (l.from + t - S.value.start) - (l.caption.width === "auto" ? 0 : l.caption.width / 2 - i.value.width / b.value * l.span / 2),
1536
1558
  y: i.value.top + l.caption.offsetY,
1537
- style: M({
1559
+ style: z({
1538
1560
  overflow: "visible",
1539
- opacity: l.to >= z.value.start && l.from < z.value.end ? 1 : 0
1561
+ opacity: l.to >= S.value.start && l.from < S.value.end ? 1 : 0
1540
1562
  }),
1541
1563
  height: "1",
1542
1564
  width: l.caption.width === "auto" ? i.value.width / b.value * l.span : l.caption.width
1543
1565
  }, [
1544
1566
  g("div", {
1545
- style: M(`padding:${l.caption.padding}px;text-align:${l.caption.textAlign};font-size:${l.caption.fontSize}px;color:${l.caption.color};font-weight:${l.caption.bold ? "bold" : "normal"}`)
1567
+ style: z(`padding:${l.caption.padding}px;text-align:${l.caption.textAlign};font-size:${l.caption.fontSize}px;color:${l.caption.color};font-weight:${l.caption.bold ? "bold" : "normal"}`)
1546
1568
  }, j(l.caption.text), 5)
1547
- ], 12, Yo)) : d("", !0)
1569
+ ], 12, Eo)) : d("", !0)
1548
1570
  ]))), 256))
1549
1571
  ], 64)) : d("", !0)
1550
1572
  ]))), 256)),
@@ -1557,55 +1579,55 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1557
1579
  y: i.value.top,
1558
1580
  height: i.value.height < 0 ? 10 : i.value.height,
1559
1581
  width: i.value.width / b.value < 0 ? 1e-5 : i.value.width / b.value,
1560
- fill: [O.value, k.value, Xe.value].includes(s) ? c(we)(e.value.chart.highlighter.color, e.value.chart.highlighter.opacity) : "transparent"
1561
- }, null, 8, Fo)
1582
+ fill: [O.value, k.value, Ue.value].includes(s) ? c($e)(e.value.chart.highlighter.color, e.value.chart.highlighter.opacity) : "transparent"
1583
+ }, null, 8, Wo)
1562
1584
  ]))), 128))
1563
1585
  ]),
1564
- He.value.length ? (u(!0), r(h, { key: 0 }, m(He.value, (l, s) => (u(), r("g", {
1586
+ Re.value.length ? (u(!0), r(h, { key: 0 }, m(Re.value, (l, s) => (u(), r("g", {
1565
1587
  key: `serie_bar_${s}`,
1566
- class: Ze(`serie_bar_${s}`),
1567
- style: M(`opacity:${A.value ? A.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1588
+ class: Ke(`serie_bar_${s}`),
1589
+ style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1568
1590
  }, [
1569
1591
  (u(!0), r(h, null, m(l.plots, (t, n) => (u(), r("g", {
1570
1592
  key: `bar_plot_${s}_${n}`
1571
1593
  }, [
1572
- ge(t.value) ? (u(), r("rect", {
1594
+ xe(t.value) ? (u(), r("rect", {
1573
1595
  key: 0,
1574
1596
  x: Ll(t),
1575
- y: f.value.useIndividualScale ? $a(t) : Sa(t),
1576
- height: f.value.useIndividualScale ? Math.abs(wa(t)) : Math.abs(_a(t)),
1577
- width: ke() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Ve.value) < 0 ? 1e-5 : ke() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Ve.value),
1597
+ y: f.value.useIndividualScale ? Aa(t) : La(t),
1598
+ height: f.value.useIndividualScale ? Math.abs($a(t)) : Math.abs(Sa(t)),
1599
+ width: _e() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Pe.value) < 0 ? 1e-5 : _e() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Pe.value),
1578
1600
  rx: e.value.bar.borderRadius,
1579
1601
  fill: e.value.bar.useGradient ? t.value >= 0 ? `url(#rectGradient_pos_${s}_${q.value})` : `url(#rectGradient_neg_${s}_${q.value})` : l.color,
1580
1602
  stroke: e.value.bar.border.useSerieColor ? l.color : e.value.bar.border.stroke,
1581
1603
  "stroke-width": e.value.bar.border.strokeWidth,
1582
- style: M(`${c(Xl) ? "transition:none !important" : ""}`)
1583
- }, null, 12, Eo)) : d("", !0),
1584
- ge(t.value) && a.$slots.pattern ? (u(), r("rect", {
1604
+ style: z(`${c(Dl) ? "transition:none !important" : ""}`)
1605
+ }, null, 12, Go)) : d("", !0),
1606
+ xe(t.value) && a.$slots.pattern ? (u(), r("rect", {
1585
1607
  key: 1,
1586
1608
  x: Ll(t),
1587
- y: f.value.useIndividualScale ? $a(t) : Sa(t),
1588
- height: f.value.useIndividualScale ? Math.abs(wa(t)) : Math.abs(_a(t)),
1589
- width: ke() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Ve.value) < 0 ? 1e-5 : ke() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Ve.value),
1609
+ y: f.value.useIndividualScale ? Aa(t) : La(t),
1610
+ height: f.value.useIndividualScale ? Math.abs($a(t)) : Math.abs(Sa(t)),
1611
+ width: _e() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Pe.value) < 0 ? 1e-5 : _e() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Pe.value),
1590
1612
  rx: e.value.bar.borderRadius,
1591
1613
  fill: `url(#pattern_${q.value}_${l.slotAbsoluteIndex})`,
1592
1614
  stroke: e.value.bar.border.useSerieColor ? l.color : e.value.bar.border.stroke,
1593
1615
  "stroke-width": e.value.bar.border.strokeWidth
1594
- }, null, 8, Wo)) : d("", !0),
1616
+ }, null, 8, Xo)) : d("", !0),
1595
1617
  t.comment && e.value.chart.comments.show ? (u(), r("foreignObject", {
1596
1618
  key: 2,
1597
1619
  style: { overflow: "visible" },
1598
1620
  height: "12",
1599
- width: (ke() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Ve.value) < 0 ? 1e-5 : ke() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Ve.value) / 2) + e.value.chart.comments.width,
1621
+ width: (_e() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Pe.value) < 0 ? 1e-5 : _e() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Pe.value) / 2) + e.value.chart.comments.width,
1600
1622
  x: Ll(t) - e.value.chart.comments.width / 2 + e.value.chart.comments.offsetX,
1601
1623
  y: c(T)(t.y) + e.value.chart.comments.offsetY + 6
1602
1624
  }, [
1603
1625
  U(a.$slots, "plot-comment", {
1604
1626
  plot: { ...t, color: l.color, seriesIndex: s, datapointIndex: n }
1605
1627
  }, void 0, !0)
1606
- ], 8, Go)) : d("", !0)
1628
+ ], 8, Do)) : d("", !0)
1607
1629
  ]))), 128)),
1608
- Object.hasOwn(l, "useProgression") && l.useProgression === !0 && !isNaN(c(W)(l.plots).trend) ? (u(), r("g", Xo, [
1630
+ Object.hasOwn(l, "useProgression") && l.useProgression === !0 && !isNaN(c(W)(l.plots).trend) ? (u(), r("g", Uo, [
1609
1631
  g("defs", null, [
1610
1632
  g("marker", {
1611
1633
  id: `bar_arrow_${s}`,
@@ -1618,46 +1640,46 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1618
1640
  g("polygon", {
1619
1641
  points: `0 0, 7 ${7 / 2}, 0 7`,
1620
1642
  fill: l.color
1621
- }, null, 8, Uo)
1622
- ], 8, Do)
1643
+ }, null, 8, Zo)
1644
+ ], 8, qo)
1623
1645
  ]),
1624
1646
  l.plots.length > 1 ? (u(), r("line", {
1625
1647
  key: 0,
1626
- x1: c(W)(l.plots).x1 + ke(),
1627
- x2: c(W)(l.plots).x2 + ke(),
1648
+ x1: c(W)(l.plots).x1 + _e(),
1649
+ x2: c(W)(l.plots).x2 + _e(),
1628
1650
  y1: c(H)(c(W)(l.plots).y1),
1629
1651
  y2: c(H)(c(W)(l.plots).y2),
1630
1652
  "stroke-width": 1,
1631
1653
  stroke: l.color,
1632
1654
  "stroke-dasharray": 2,
1633
1655
  "marker-end": `url(#bar_arrow_${s})`
1634
- }, null, 8, qo)) : d("", !0),
1656
+ }, null, 8, Jo)) : d("", !0),
1635
1657
  l.plots.length > 1 ? (u(), r("text", {
1636
1658
  key: 1,
1637
1659
  "text-anchor": "middle",
1638
- x: c(W)(l.plots).x2 + ke(),
1660
+ x: c(W)(l.plots).x2 + _e(),
1639
1661
  y: c(W)(l.plots).y2 - 6,
1640
1662
  "font-size": x.value.plotLabels,
1641
1663
  fill: l.color
1642
- }, j(c(be)({
1664
+ }, j(c(me)({
1643
1665
  v: c(W)(l.plots).trend * 100,
1644
1666
  s: "%",
1645
1667
  r: 2
1646
- })), 9, Zo)) : d("", !0)
1668
+ })), 9, Ko)) : d("", !0)
1647
1669
  ])) : d("", !0)
1648
1670
  ], 6))), 128)) : d("", !0),
1649
1671
  !f.value.useIndividualScale && e.value.chart.grid.labels.zeroLine.show ? (u(), r("line", {
1650
1672
  key: 1,
1651
1673
  stroke: e.value.chart.grid.stroke,
1652
1674
  "stroke-width": "1",
1653
- x1: i.value.left + R.value,
1654
- x2: i.value.right - R.value,
1675
+ x1: i.value.left + B.value,
1676
+ x2: i.value.right - B.value,
1655
1677
  y1: c(H)(ie.value),
1656
1678
  y2: c(H)(ie.value),
1657
1679
  "stroke-linecap": "round",
1658
1680
  style: { animation: "none !important" }
1659
- }, null, 8, Jo)) : d("", !0),
1660
- e.value.chart.highlighter.useLine && (![null, void 0].includes(k.value) || ![null, void 0].includes(O.value)) ? (u(), r("g", Ko, [
1681
+ }, null, 8, Qo)) : d("", !0),
1682
+ e.value.chart.highlighter.useLine && (![null, void 0].includes(k.value) || ![null, void 0].includes(O.value)) ? (u(), r("g", jo, [
1661
1683
  g("line", {
1662
1684
  x1: i.value.left + i.value.width / b.value * ((k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)) + i.value.width / b.value / 2,
1663
1685
  x2: i.value.left + i.value.width / b.value * ((k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)) + i.value.width / b.value / 2,
@@ -1668,12 +1690,12 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1668
1690
  "stroke-dasharray": e.value.chart.highlighter.lineDasharray,
1669
1691
  "stroke-linecap": "round",
1670
1692
  style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
1671
- }, null, 8, Qo)
1693
+ }, null, 8, es)
1672
1694
  ])) : d("", !0),
1673
1695
  e.value.chart.grid.frame.show ? (u(), r("rect", {
1674
1696
  key: 3,
1675
1697
  style: { pointerEvents: "none", transition: "none", animation: "none !important" },
1676
- x: i.value.left + R.value < 0 ? 0 : i.value.left + R.value,
1698
+ x: i.value.left + B.value < 0 ? 0 : i.value.left + B.value,
1677
1699
  y: i.value.top,
1678
1700
  width: i.value.width - (e.value.chart.grid.position === "middle" ? 0 : i.value.width / b.value) < 0 ? 0 : i.value.width - (e.value.chart.grid.position === "middle" ? 0 : i.value.width / b.value),
1679
1701
  height: i.value.height < 0 ? 0 : i.value.height,
@@ -1683,45 +1705,45 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1683
1705
  "stroke-linecap": e.value.chart.grid.frame.strokeLinecap,
1684
1706
  "stroke-linejoin": e.value.chart.grid.frame.strokeLinejoin,
1685
1707
  "stroke-dasharray": e.value.chart.grid.frame.strokeDasharray
1686
- }, null, 8, jo)) : d("", !0),
1687
- e.value.chart.grid.labels.show ? (u(), r("g", es, [
1708
+ }, null, 8, ls)) : d("", !0),
1709
+ e.value.chart.grid.labels.show ? (u(), r("g", as, [
1688
1710
  f.value.useIndividualScale ? (u(), r(h, { key: 0 }, [
1689
1711
  (u(!0), r(h, null, m(gl.value, (l) => (u(), r("g", null, [
1690
1712
  g("line", {
1691
- x1: l.x + R.value,
1692
- x2: l.x + R.value,
1713
+ x1: l.x + B.value,
1714
+ x2: l.x + B.value,
1693
1715
  y1: f.value.isStacked ? c(H)(i.value.bottom - l.yOffset - l.individualHeight) : c(H)(i.value.top),
1694
1716
  y2: f.value.isStacked ? c(H)(i.value.bottom - l.yOffset) : c(H)(i.value.bottom),
1695
1717
  stroke: l.color,
1696
1718
  "stroke-width": e.value.chart.grid.stroke,
1697
1719
  "stroke-linecap": "round",
1698
- style: M(`opacity:${A.value ? A.value === l.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out; animation: none !important`)
1699
- }, null, 12, ls)
1720
+ style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out; animation: none !important`)
1721
+ }, null, 12, ts)
1700
1722
  ]))), 256)),
1701
1723
  (u(!0), r(h, null, m(gl.value, (l) => (u(), r("g", {
1702
- style: M(`opacity:${A.value ? A.value === l.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1724
+ style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1703
1725
  }, [
1704
1726
  g("text", {
1705
1727
  fill: l.color,
1706
1728
  "font-size": x.value.dataLabels,
1707
1729
  "text-anchor": "middle",
1708
- transform: `translate(${l.x - e.value.chart.grid.labels.yAxis.labelWidth + 5 + R.value + e.value.chart.grid.labels.yAxis.scaleLabelOffsetX}, ${f.value.isStacked ? i.value.bottom - l.yOffset - l.individualHeight / 2 : i.value.top + i.value.height / 2}) rotate(-90)`
1709
- }, j(l.name) + " " + j(l.scaleLabel && l.unique && l.scaleLabel !== l.id ? `- ${l.scaleLabel}` : ""), 9, as),
1730
+ transform: `translate(${l.x - e.value.chart.grid.labels.yAxis.labelWidth + 5 + B.value + e.value.chart.grid.labels.yAxis.scaleLabelOffsetX}, ${f.value.isStacked ? i.value.bottom - l.yOffset - l.individualHeight / 2 : i.value.top + i.value.height / 2}) rotate(-90)`
1731
+ }, j(l.name) + " " + j(l.scaleLabel && l.unique && l.scaleLabel !== l.id ? `- ${l.scaleLabel}` : ""), 9, os),
1710
1732
  (u(!0), r(h, null, m(l.yLabels, (s, t) => (u(), r(h, null, [
1711
1733
  e.value.chart.grid.labels.yAxis.showCrosshairs ? (u(), r("line", {
1712
1734
  key: 0,
1713
- x1: l.x + 3 + R.value - e.value.chart.grid.labels.yAxis.crosshairSize,
1714
- x2: l.x + R.value,
1735
+ x1: l.x + 3 + B.value - e.value.chart.grid.labels.yAxis.crosshairSize,
1736
+ x2: l.x + B.value,
1715
1737
  y1: c(H)(s.y),
1716
1738
  y2: c(H)(s.y),
1717
1739
  stroke: l.color,
1718
1740
  "stroke-width": 1,
1719
1741
  "stroke-linecap": "round",
1720
1742
  style: { animation: "none !important" }
1721
- }, null, 8, ts)) : d("", !0)
1743
+ }, null, 8, ss)) : d("", !0)
1722
1744
  ], 64))), 256)),
1723
1745
  (u(!0), r(h, null, m(l.yLabels, (s, t) => (u(), r("text", {
1724
- x: G.value ? l.x - x.value.dataLabels / 2 + R.value + e.value.chart.grid.labels.yAxis.scaleValueOffsetX : l.x - 5 + R.value + e.value.chart.grid.labels.yAxis.scaleValueOffsetX,
1746
+ x: G.value ? l.x - x.value.dataLabels / 2 + B.value + e.value.chart.grid.labels.yAxis.scaleValueOffsetX : l.x - 5 + B.value + e.value.chart.grid.labels.yAxis.scaleValueOffsetX,
1725
1747
  y: c(H)(s.y) + x.value.dataLabels / 3,
1726
1748
  "font-size": x.value.dataLabels,
1727
1749
  "text-anchor": "end",
@@ -1729,62 +1751,62 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1729
1751
  }, j(c(ne)(
1730
1752
  e.value.chart.grid.labels.yAxis.formatter,
1731
1753
  s.value,
1732
- c(be)({
1754
+ c(me)({
1733
1755
  p: s.prefix,
1734
1756
  v: s.value,
1735
1757
  s: s.suffix,
1736
1758
  r: 1
1737
1759
  }),
1738
1760
  { datapoint: s.datapoint, seriesIndex: t }
1739
- )), 9, os))), 256))
1761
+ )), 9, us))), 256))
1740
1762
  ], 4))), 256))
1741
- ], 64)) : (u(!0), r(h, { key: 1 }, m(Ma.value, (l, s) => (u(), r("g", {
1763
+ ], 64)) : (u(!0), r(h, { key: 1 }, m(Ca.value, (l, s) => (u(), r("g", {
1742
1764
  key: `yLabel_${s}`
1743
1765
  }, [
1744
- ge(l) && l.value >= ye.value.min && l.value <= ye.value.max && e.value.chart.grid.labels.yAxis.showCrosshairs ? (u(), r("line", {
1766
+ xe(l) && l.value >= pe.value.min && l.value <= pe.value.max && e.value.chart.grid.labels.yAxis.showCrosshairs ? (u(), r("line", {
1745
1767
  key: 0,
1746
- x1: i.value.left + R.value,
1747
- x2: i.value.left - e.value.chart.grid.labels.yAxis.crosshairSize + R.value,
1768
+ x1: i.value.left + B.value,
1769
+ x2: i.value.left - e.value.chart.grid.labels.yAxis.crosshairSize + B.value,
1748
1770
  y1: c(H)(l.y),
1749
1771
  y2: c(H)(l.y),
1750
1772
  stroke: e.value.chart.grid.stroke,
1751
1773
  "stroke-width": "1",
1752
1774
  "stroke-linecap": "round",
1753
1775
  style: { animation: "none !important" }
1754
- }, null, 8, ss)) : d("", !0),
1755
- l.value >= ye.value.min && l.value <= ye.value.max ? (u(), r("text", {
1776
+ }, null, 8, is)) : d("", !0),
1777
+ l.value >= pe.value.min && l.value <= pe.value.max ? (u(), r("text", {
1756
1778
  key: 1,
1757
- x: i.value.left - 7 + R.value,
1779
+ x: i.value.left - 7 + B.value,
1758
1780
  y: c(T)(l.y + x.value.dataLabels / 3),
1759
1781
  "font-size": x.value.dataLabels,
1760
1782
  "text-anchor": "end",
1761
1783
  fill: e.value.chart.grid.labels.color
1762
- }, j(ge(l.value) ? c(ne)(
1784
+ }, j(xe(l.value) ? c(ne)(
1763
1785
  e.value.chart.grid.labels.yAxis.formatter,
1764
1786
  l.value,
1765
- c(be)({
1787
+ c(me)({
1766
1788
  p: l.prefix,
1767
1789
  v: l.value,
1768
1790
  s: l.suffix,
1769
1791
  r: 1
1770
1792
  })
1771
- ) : ""), 9, us)) : d("", !0)
1793
+ ) : ""), 9, rs)) : d("", !0)
1772
1794
  ]))), 128))
1773
1795
  ], 512)) : d("", !0),
1774
- (u(!0), r(h, null, m(Me.value, (l, s) => (u(), r("g", {
1796
+ (u(!0), r(h, null, m(ze.value, (l, s) => (u(), r("g", {
1775
1797
  key: `serie_plot_${s}`,
1776
- class: Ze(`serie_plot_${s}`),
1777
- style: M(`opacity:${A.value ? A.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1798
+ class: Ke(`serie_plot_${s}`),
1799
+ style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1778
1800
  }, [
1779
1801
  (u(!0), r(h, null, m(l.plots, (t, n) => (u(), r("g", {
1780
1802
  key: `circle_plot_${s}_${n}`
1781
1803
  }, [
1782
- t && ge(t.value) ? (u(), Ie(Tl, {
1804
+ t && xe(t.value) ? (u(), Ie(Ol, {
1783
1805
  key: 0,
1784
1806
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(l.shape) ? l.shape : "circle",
1785
1807
  color: e.value.plot.useGradient ? `url(#plotGradient_${s}_${q.value})` : e.value.plot.dot.useSerieColor ? l.color : e.value.plot.dot.fill,
1786
1808
  plot: { x: c(T)(t.x), y: c(T)(t.y) },
1787
- radius: k.value !== null && k.value === n || O.value !== null && O.value === n ? (Le.value.plot || 6) * 1.5 : Le.value.plot || 6,
1809
+ radius: k.value !== null && k.value === n || O.value !== null && O.value === n ? (Ae.value.plot || 6) * 1.5 : Ae.value.plot || 6,
1788
1810
  stroke: e.value.plot.dot.useSerieColor ? e.value.chart.backgroundColor : l.color,
1789
1811
  strokeWidth: e.value.plot.dot.strokeWidth
1790
1812
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : d("", !0),
@@ -1796,14 +1818,14 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1796
1818
  x: t.x - e.value.chart.comments.width / 2 + e.value.chart.comments.offsetX,
1797
1819
  y: t.y + e.value.chart.comments.offsetY + 6
1798
1820
  }, [
1799
- g("div", rs, [
1821
+ g("div", cs, [
1800
1822
  U(a.$slots, "plot-comment", {
1801
1823
  plot: { ...t, color: l.color, seriesIndex: s, datapointIndex: n }
1802
1824
  }, void 0, !0)
1803
1825
  ])
1804
- ], 8, is)) : d("", !0)
1826
+ ], 8, ns)) : d("", !0)
1805
1827
  ]))), 128)),
1806
- Object.hasOwn(l, "useProgression") && l.useProgression === !0 && !isNaN(c(W)(l.plots).trend) ? (u(), r("g", ns, [
1828
+ Object.hasOwn(l, "useProgression") && l.useProgression === !0 && !isNaN(c(W)(l.plots).trend) ? (u(), r("g", vs, [
1807
1829
  g("defs", null, [
1808
1830
  g("marker", {
1809
1831
  id: `plot_arrow_${s}`,
@@ -1816,8 +1838,8 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1816
1838
  g("polygon", {
1817
1839
  points: `0 0, 7 ${7 / 2}, 0 7`,
1818
1840
  fill: l.color
1819
- }, null, 8, vs)
1820
- ], 8, cs)
1841
+ }, null, 8, hs)
1842
+ ], 8, ds)
1821
1843
  ]),
1822
1844
  l.plots.length > 1 ? (u(), r("line", {
1823
1845
  key: 0,
@@ -1829,7 +1851,7 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1829
1851
  stroke: l.color,
1830
1852
  "stroke-dasharray": 2,
1831
1853
  "marker-end": `url(#plot_arrow_${s})`
1832
- }, null, 8, ds)) : d("", !0),
1854
+ }, null, 8, fs)) : d("", !0),
1833
1855
  l.plots.length > 1 ? (u(), r("text", {
1834
1856
  key: 1,
1835
1857
  "text-anchor": "middle",
@@ -1837,17 +1859,17 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1837
1859
  y: c(W)(l.plots).y2 - 6,
1838
1860
  "font-size": x.value.plotLabels,
1839
1861
  fill: l.color
1840
- }, j(c(be)({
1862
+ }, j(c(me)({
1841
1863
  v: c(W)(l.plots).trend * 100,
1842
1864
  s: "%",
1843
1865
  r: 2
1844
- })), 9, hs)) : d("", !0)
1866
+ })), 9, gs)) : d("", !0)
1845
1867
  ])) : d("", !0)
1846
1868
  ], 6))), 128)),
1847
- (u(!0), r(h, null, m(_e.value, (l, s) => (u(), r("g", {
1869
+ (u(!0), r(h, null, m(we.value, (l, s) => (u(), r("g", {
1848
1870
  key: `serie_line_${s}`,
1849
- class: Ze(`serie_line_${s}`),
1850
- style: M(`opacity:${A.value ? A.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1871
+ class: Ke(`serie_line_${s}`),
1872
+ style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1851
1873
  }, [
1852
1874
  l.smooth && l.plots.length > 1 && l.curve ? (u(), r("path", {
1853
1875
  key: 0,
@@ -1856,7 +1878,7 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1856
1878
  "stroke-width": e.value.line.strokeWidth + 1,
1857
1879
  "stroke-dasharray": l.dashed ? e.value.line.strokeWidth * 2 : 0,
1858
1880
  fill: "none"
1859
- }, null, 8, fs)) : l.plots.length > 1 && l.straight ? (u(), r("path", {
1881
+ }, null, 8, xs)) : l.plots.length > 1 && l.straight ? (u(), r("path", {
1860
1882
  key: 1,
1861
1883
  d: `M${l.straight}`,
1862
1884
  stroke: e.value.chart.backgroundColor,
@@ -1865,39 +1887,39 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1865
1887
  fill: "none",
1866
1888
  "stroke-linecap": "round",
1867
1889
  "stroke-linejoin": "round"
1868
- }, null, 8, gs)) : d("", !0)
1890
+ }, null, 8, bs)) : d("", !0)
1869
1891
  ], 6))), 128)),
1870
- a.$slots.pattern ? (u(), r("defs", xs, [
1871
- (u(!0), r(h, null, m(Ne.value, (l, s) => U(a.$slots, "pattern", Ql({
1892
+ a.$slots.pattern ? (u(), r("defs", ms, [
1893
+ (u(!0), r(h, null, m(Ve.value, (l, s) => U(a.$slots, "pattern", la({
1872
1894
  key: `serie_pattern_slot_${s}`
1873
1895
  }, { ref_for: !0 }, { ...l, seriesIndex: l.slotAbsoluteIndex, patternId: `pattern_${q.value}_${s}` }), void 0, !0)), 128))
1874
1896
  ])) : d("", !0),
1875
- (u(!0), r(h, null, m(_e.value, (l, s) => (u(), r("g", {
1897
+ (u(!0), r(h, null, m(we.value, (l, s) => (u(), r("g", {
1876
1898
  key: `serie_line_${s}`,
1877
- class: Ze(`serie_line_${s}`),
1878
- style: M(`opacity:${A.value ? A.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1899
+ class: Ke(`serie_line_${s}`),
1900
+ style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1879
1901
  }, [
1880
- l.useArea && l.plots.length > 1 ? (u(), r("g", bs, [
1902
+ l.useArea && l.plots.length > 1 ? (u(), r("g", ys, [
1881
1903
  l.smooth ? (u(!0), r(h, { key: 0 }, m(l.curveAreas, (t, n) => (u(), r(h, { key: n }, [
1882
1904
  g("path", {
1883
1905
  d: t,
1884
- fill: e.value.line.area.useGradient ? `url(#areaGradient_${s}_${q.value})` : c(we)(l.color, e.value.line.area.opacity)
1885
- }, null, 8, ms),
1906
+ fill: e.value.line.area.useGradient ? `url(#areaGradient_${s}_${q.value})` : c($e)(l.color, e.value.line.area.opacity)
1907
+ }, null, 8, ps),
1886
1908
  a.$slots.pattern ? (u(), r("path", {
1887
1909
  key: 0,
1888
1910
  d: t,
1889
1911
  fill: `url(#pattern_${q.value}_${l.slotAbsoluteIndex})`
1890
- }, null, 8, ys)) : d("", !0)
1912
+ }, null, 8, ks)) : d("", !0)
1891
1913
  ], 64))), 128)) : (u(!0), r(h, { key: 1 }, m(l.area.split(";"), (t, n) => (u(), r(h, { key: n }, [
1892
1914
  g("path", {
1893
1915
  d: `M${t}Z`,
1894
- fill: e.value.line.area.useGradient ? `url(#areaGradient_${s}_${q.value})` : c(we)(l.color, e.value.line.area.opacity)
1895
- }, null, 8, ps),
1916
+ fill: e.value.line.area.useGradient ? `url(#areaGradient_${s}_${q.value})` : c($e)(l.color, e.value.line.area.opacity)
1917
+ }, null, 8, _s),
1896
1918
  a.$slots.pattern ? (u(), r("path", {
1897
1919
  key: 0,
1898
1920
  d: `M${t}Z`,
1899
1921
  fill: `url(#pattern_${q.value}_${l.slotAbsoluteIndex})`
1900
- }, null, 8, ks)) : d("", !0)
1922
+ }, null, 8, ws)) : d("", !0)
1901
1923
  ], 64))), 128))
1902
1924
  ])) : d("", !0),
1903
1925
  l.smooth && l.plots.length > 1 && l.curve ? (u(), r("path", {
@@ -1908,7 +1930,7 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1908
1930
  "stroke-dasharray": l.dashed ? e.value.line.strokeWidth * 2 : 0,
1909
1931
  fill: "none",
1910
1932
  "stroke-linecap": "round"
1911
- }, null, 8, _s)) : l.plots.length > 1 && l.straight ? (u(), r("path", {
1933
+ }, null, 8, Ss)) : l.plots.length > 1 && l.straight ? (u(), r("path", {
1912
1934
  key: 2,
1913
1935
  d: `M${l.straight}`,
1914
1936
  stroke: l.color,
@@ -1917,16 +1939,16 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1917
1939
  fill: "none",
1918
1940
  "stroke-linecap": "round",
1919
1941
  "stroke-linejoin": "round"
1920
- }, null, 8, ws)) : d("", !0),
1942
+ }, null, 8, $s)) : d("", !0),
1921
1943
  (u(!0), r(h, null, m(l.plots, (t, n) => (u(), r(h, {
1922
1944
  key: `circle_line_${s}_${n}`
1923
1945
  }, [
1924
- !Aa.value.linePlot && t && ge(t.value) || Aa.value.linePlot && t && ge(t.value) && (k.value !== null && k.value === n || O.value !== null && O.value === n) ? (u(), Ie(Tl, {
1946
+ !za.value.linePlot && t && xe(t.value) || za.value.linePlot && t && xe(t.value) && (k.value !== null && k.value === n || O.value !== null && O.value === n) ? (u(), Ie(Ol, {
1925
1947
  key: 0,
1926
1948
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(l.shape) ? l.shape : "circle",
1927
1949
  color: e.value.line.useGradient ? `url(#lineGradient_${s}_${q.value})` : e.value.line.dot.useSerieColor ? l.color : e.value.line.dot.fill,
1928
1950
  plot: { x: c(T)(t.x), y: c(T)(t.y) },
1929
- radius: k.value !== null && k.value === n || O.value !== null && O.value === n ? (Le.value.line || 6) * 1.5 : Le.value.line || 6,
1951
+ radius: k.value !== null && k.value === n || O.value !== null && O.value === n ? (Ae.value.line || 6) * 1.5 : Ae.value.line || 6,
1930
1952
  stroke: e.value.line.dot.useSerieColor ? e.value.chart.backgroundColor : l.color,
1931
1953
  strokeWidth: e.value.line.dot.strokeWidth
1932
1954
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : d("", !0),
@@ -1938,14 +1960,14 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1938
1960
  x: t.x - e.value.chart.comments.width / 2 + e.value.chart.comments.offsetX,
1939
1961
  y: t.y + e.value.chart.comments.offsetY + 6
1940
1962
  }, [
1941
- g("div", $s, [
1963
+ g("div", As, [
1942
1964
  U(a.$slots, "plot-comment", {
1943
1965
  plot: { ...t, color: l.color, seriesIndex: s, datapointIndex: n }
1944
1966
  }, void 0, !0)
1945
1967
  ])
1946
- ], 8, Ss)) : d("", !0)
1968
+ ], 8, Ls)) : d("", !0)
1947
1969
  ], 64))), 128)),
1948
- Object.hasOwn(l, "useProgression") && l.useProgression === !0 && !isNaN(c(W)(l.plots).trend) ? (u(), r("g", Ls, [
1970
+ Object.hasOwn(l, "useProgression") && l.useProgression === !0 && !isNaN(c(W)(l.plots).trend) ? (u(), r("g", Ms, [
1949
1971
  g("defs", null, [
1950
1972
  g("marker", {
1951
1973
  id: `line_arrow_${s}`,
@@ -1958,8 +1980,8 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1958
1980
  g("polygon", {
1959
1981
  points: `0 0, 7 ${7 / 2}, 0 7`,
1960
1982
  fill: l.color
1961
- }, null, 8, Ms)
1962
- ], 8, As)
1983
+ }, null, 8, Cs)
1984
+ ], 8, zs)
1963
1985
  ]),
1964
1986
  l.plots.length > 1 ? (u(), r("line", {
1965
1987
  key: 0,
@@ -1971,7 +1993,7 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1971
1993
  stroke: l.color,
1972
1994
  "stroke-dasharray": 2,
1973
1995
  "marker-end": `url(#line_arrow_${s})`
1974
- }, null, 8, zs)) : d("", !0),
1996
+ }, null, 8, Is)) : d("", !0),
1975
1997
  l.plots.length > 1 ? (u(), r("text", {
1976
1998
  key: 1,
1977
1999
  "text-anchor": "middle",
@@ -1979,15 +2001,15 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1979
2001
  y: c(W)(l.plots).y2 - 6,
1980
2002
  "font-size": x.value.plotLabels,
1981
2003
  fill: l.color
1982
- }, j(c(be)({
2004
+ }, j(c(me)({
1983
2005
  v: c(W)(l.plots).trend * 100,
1984
2006
  s: "%",
1985
2007
  r: 2
1986
- })), 9, Cs)) : d("", !0)
2008
+ })), 9, Ts)) : d("", !0)
1987
2009
  ])) : d("", !0)
1988
2010
  ], 6))), 128)),
1989
- (e.value.bar.labels.show || e.value.bar.serieName.show) && f.value.dataLabels.show ? (u(), r("g", Is, [
1990
- (u(!0), r(h, null, m(He.value, (l, s) => (u(), r(h, {
2011
+ (e.value.bar.labels.show || e.value.bar.serieName.show) && f.value.dataLabels.show ? (u(), r("g", Os, [
2012
+ (u(!0), r(h, null, m(Re.value, (l, s) => (u(), r(h, {
1991
2013
  key: `xLabel_bar_${s}`
1992
2014
  }, [
1993
2015
  (u(!0), r(h, null, m(l.plots, (t, n) => (u(), r(h, {
@@ -1995,16 +2017,16 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
1995
2017
  }, [
1996
2018
  t && (!Object.hasOwn(l, "dataLabels") || l.dataLabels === !0 || k.value !== null && k.value === n || O.value !== null && O.value === n) && e.value.bar.labels.show ? (u(), r("text", {
1997
2019
  key: 0,
1998
- x: f.value.useIndividualScale && f.value.isStacked ? t.x + J.value.line / 2 : Ll(t) + ke() / 2 - Ve.value / 2,
2020
+ x: f.value.useIndividualScale && f.value.isStacked ? t.x + J.value.line / 2 : Ll(t) + _e() / 2 - Pe.value / 2,
1999
2021
  y: c(T)(t.y) + (t.value >= 0 ? e.value.bar.labels.offsetY : -e.value.bar.labels.offsetY * 3),
2000
2022
  "text-anchor": "middle",
2001
2023
  "font-size": x.value.plotLabels,
2002
2024
  fill: e.value.bar.labels.color,
2003
- style: M(`opacity:${A.value ? A.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2004
- }, j(ge(t.value) ? c(ne)(
2025
+ style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2026
+ }, j(xe(t.value) ? c(ne)(
2005
2027
  e.value.bar.labels.formatter,
2006
2028
  t.value,
2007
- c(be)({
2029
+ c(me)({
2008
2030
  p: l.prefix || e.value.chart.labels.prefix,
2009
2031
  v: t.value,
2010
2032
  s: l.suffix || e.value.chart.labels.suffix,
@@ -2014,22 +2036,22 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2014
2036
  datapoint: t,
2015
2037
  serie: l
2016
2038
  }
2017
- ) : ""), 13, Ts)) : d("", !0),
2039
+ ) : ""), 13, Ns)) : d("", !0),
2018
2040
  t && e.value.bar.serieName.show ? (u(), r("text", {
2019
2041
  key: 1,
2020
- x: f.value.useIndividualScale && f.value.isStacked ? t.x + J.value.line / 2 : t.x + ke() * 1.1,
2042
+ x: f.value.useIndividualScale && f.value.isStacked ? t.x + J.value.line / 2 : t.x + _e() * 1.1,
2021
2043
  y: t.y + (t.value > 0 ? e.value.bar.serieName.offsetY : -e.value.bar.serieName.offsetY * 3),
2022
2044
  "text-anchor": "middle",
2023
2045
  "font-size": x.value.plotLabels,
2024
2046
  fill: e.value.bar.serieName.useSerieColor ? l.color : e.value.bar.serieName.color,
2025
2047
  "font-weight": e.value.bar.serieName.bold ? "bold" : "normal",
2026
- style: M(`opacity:${A.value ? A.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2027
- }, j(e.value.bar.serieName.useAbbreviation ? c(Dt)({ source: l.name, length: e.value.bar.serieName.abbreviationSize }) : l.name), 13, Os)) : d("", !0)
2048
+ style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2049
+ }, j(e.value.bar.serieName.useAbbreviation ? c(qt)({ source: l.name, length: e.value.bar.serieName.abbreviationSize }) : l.name), 13, Vs)) : d("", !0)
2028
2050
  ], 64))), 128))
2029
2051
  ], 64))), 128))
2030
2052
  ])) : d("", !0),
2031
- e.value.plot.labels.show && f.value.dataLabels.show ? (u(), r("g", Ns, [
2032
- (u(!0), r(h, null, m(Me.value, (l, s) => (u(), r(h, {
2053
+ e.value.plot.labels.show && f.value.dataLabels.show ? (u(), r("g", Ps, [
2054
+ (u(!0), r(h, null, m(ze.value, (l, s) => (u(), r(h, {
2033
2055
  key: `xLabel_plot_${s}`
2034
2056
  }, [
2035
2057
  (u(!0), r(h, null, m(l.plots, (t, n) => (u(), r(h, {
@@ -2042,11 +2064,11 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2042
2064
  "text-anchor": "middle",
2043
2065
  "font-size": x.value.plotLabels,
2044
2066
  fill: e.value.plot.labels.color,
2045
- style: M(`opacity:${A.value ? A.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2046
- }, j(ge(t.value) ? c(ne)(
2067
+ style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2068
+ }, j(xe(t.value) ? c(ne)(
2047
2069
  e.value.plot.labels.formatter,
2048
2070
  t.value,
2049
- c(be)({
2071
+ c(me)({
2050
2072
  p: l.prefix || e.value.chart.labels.prefix,
2051
2073
  v: t.value,
2052
2074
  s: l.suffix || e.value.chart.labels.suffix,
@@ -2056,18 +2078,18 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2056
2078
  datapoint: t,
2057
2079
  serie: l
2058
2080
  }
2059
- ) : ""), 13, Vs)) : d("", !0)
2081
+ ) : ""), 13, Hs)) : d("", !0)
2060
2082
  ], 64))), 128))
2061
2083
  ], 64))), 128))
2062
- ])) : (u(), r("g", Ps, [
2063
- (u(!0), r(h, null, m(Me.value, (l, s) => (u(), r(h, {
2084
+ ])) : (u(), r("g", Rs, [
2085
+ (u(!0), r(h, null, m(ze.value, (l, s) => (u(), r(h, {
2064
2086
  key: `xLabel_plot_${s}`
2065
2087
  }, [
2066
2088
  (u(!0), r(h, null, m(l.plots, (t, n) => (u(), r(h, {
2067
2089
  key: `xLabel_plot_${s}_${n}`
2068
2090
  }, [
2069
2091
  e.value.plot.tag.followValue ? (u(), r(h, { key: 1 }, [
2070
- [O.value, k.value, Xe.value].includes(n) && l.useTag ? (u(), r("line", {
2092
+ [O.value, k.value, Ue.value].includes(n) && l.useTag ? (u(), r("line", {
2071
2093
  key: 0,
2072
2094
  class: "vue-ui-xy-tag-plot",
2073
2095
  x1: i.value.left,
@@ -2078,7 +2100,7 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2078
2100
  "stroke-linecap": "round",
2079
2101
  "stroke-dasharray": "2",
2080
2102
  stroke: l.color
2081
- }, null, 8, Fs)) : d("", !0)
2103
+ }, null, 8, Ws)) : d("", !0)
2082
2104
  ], 64)) : (u(), r(h, { key: 0 }, [
2083
2105
  t && n === 0 && l.useTag && l.useTag === "start" ? (u(), r("foreignObject", {
2084
2106
  key: 0,
@@ -2086,10 +2108,10 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2086
2108
  y: t.y - 20,
2087
2109
  height: 24,
2088
2110
  width: "150",
2089
- style: M(`overflow: visible; opacity:${A.value ? A.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2111
+ style: z(`overflow: visible; opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2090
2112
  }, [
2091
2113
  g("div", {
2092
- style: M(`padding: 3px; background:${c(we)(l.color, 80)};color:${c(Ee)(l.color)};width:fit-content;font-size:${x.value.plotLabels}px;border-radius: 2px;`),
2114
+ style: z(`padding: 3px; background:${c($e)(l.color, 80)};color:${c(We)(l.color)};width:fit-content;font-size:${x.value.plotLabels}px;border-radius: 2px;`),
2093
2115
  innerHTML: c(ne)(
2094
2116
  e.value.plot.tag.formatter,
2095
2117
  t.value,
@@ -2100,18 +2122,18 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2100
2122
  serieName: l.name
2101
2123
  }
2102
2124
  )
2103
- }, null, 12, Bs)
2104
- ], 12, Hs)) : d("", !0),
2125
+ }, null, 12, Ys)
2126
+ ], 12, Bs)) : d("", !0),
2105
2127
  t && n === l.plots.length - 1 && l.useTag && l.useTag === "end" ? (u(), r("foreignObject", {
2106
2128
  key: 1,
2107
2129
  x: t.x - l.name.length * (x.value.plotLabels / 2),
2108
2130
  y: t.y - 20,
2109
2131
  height: 24,
2110
2132
  width: "150",
2111
- style: M(`overflow: visible; opacity:${A.value ? A.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2133
+ style: z(`overflow: visible; opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2112
2134
  }, [
2113
2135
  g("div", {
2114
- style: M(`padding: 3px; background:${c(we)(l.color, 80)};color:${c(Ee)(l.color)};width:fit-content;font-size:${x.value.plotLabels}px;border-radius: 2px;`),
2136
+ style: z(`padding: 3px; background:${c($e)(l.color, 80)};color:${c(We)(l.color)};width:fit-content;font-size:${x.value.plotLabels}px;border-radius: 2px;`),
2115
2137
  innerHTML: c(ne)(
2116
2138
  e.value.plot.tag.formatter,
2117
2139
  t.value,
@@ -2122,14 +2144,14 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2122
2144
  serieName: l.name
2123
2145
  }
2124
2146
  )
2125
- }, null, 12, Ys)
2126
- ], 12, Rs)) : d("", !0)
2147
+ }, null, 12, Es)
2148
+ ], 12, Fs)) : d("", !0)
2127
2149
  ], 64))
2128
2150
  ], 64))), 128))
2129
2151
  ], 64))), 128))
2130
2152
  ])),
2131
- e.value.line.labels.show && f.value.dataLabels.show ? (u(), r("g", Es, [
2132
- (u(!0), r(h, null, m(_e.value, (l, s) => (u(), r(h, {
2153
+ e.value.line.labels.show && f.value.dataLabels.show ? (u(), r("g", Gs, [
2154
+ (u(!0), r(h, null, m(we.value, (l, s) => (u(), r(h, {
2133
2155
  key: `xLabel_line_${s}`
2134
2156
  }, [
2135
2157
  (u(!0), r(h, null, m(l.plots, (t, n) => (u(), r(h, {
@@ -2142,11 +2164,11 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2142
2164
  "text-anchor": "middle",
2143
2165
  "font-size": x.value.plotLabels,
2144
2166
  fill: e.value.line.labels.color,
2145
- style: M(`opacity:${A.value ? A.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2146
- }, j(ge(t.value) ? c(ne)(
2167
+ style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2168
+ }, j(xe(t.value) ? c(ne)(
2147
2169
  e.value.line.labels.formatter,
2148
2170
  t.value,
2149
- c(be)({
2171
+ c(me)({
2150
2172
  p: l.prefix || e.value.chart.labels.prefix,
2151
2173
  v: t.value,
2152
2174
  s: l.suffix || e.value.chart.labels.suffix,
@@ -2156,18 +2178,18 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2156
2178
  datapoint: t,
2157
2179
  serie: l
2158
2180
  }
2159
- ) : ""), 13, Ws)) : d("", !0)
2181
+ ) : ""), 13, Xs)) : d("", !0)
2160
2182
  ], 64))), 128))
2161
2183
  ], 64))), 128))
2162
- ])) : (u(), r("g", Gs, [
2163
- (u(!0), r(h, null, m(_e.value, (l, s) => (u(), r(h, {
2184
+ ])) : (u(), r("g", Ds, [
2185
+ (u(!0), r(h, null, m(we.value, (l, s) => (u(), r(h, {
2164
2186
  key: `xLabel_line_${s}`
2165
2187
  }, [
2166
2188
  (u(!0), r(h, null, m(l.plots, (t, n) => (u(), r(h, {
2167
2189
  key: `xLabel_line_${s}_${n}`
2168
2190
  }, [
2169
2191
  e.value.line.tag.followValue ? (u(), r(h, { key: 1 }, [
2170
- [O.value, k.value, Xe.value].includes(n) && l.useTag ? (u(), r("line", {
2192
+ [O.value, k.value, Ue.value].includes(n) && l.useTag ? (u(), r("line", {
2171
2193
  key: 0,
2172
2194
  class: "vue-ui-xy-tag-line",
2173
2195
  x1: i.value.left,
@@ -2178,7 +2200,7 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2178
2200
  "stroke-linecap": "round",
2179
2201
  "stroke-dasharray": "2",
2180
2202
  stroke: l.color
2181
- }, null, 8, Zs)) : d("", !0)
2203
+ }, null, 8, Ks)) : d("", !0)
2182
2204
  ], 64)) : (u(), r(h, { key: 0 }, [
2183
2205
  t && n === 0 && l.useTag && l.useTag === "start" ? (u(), r("foreignObject", {
2184
2206
  key: 0,
@@ -2186,10 +2208,10 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2186
2208
  y: t.y - 20,
2187
2209
  height: 24,
2188
2210
  width: "150",
2189
- style: M(`overflow: visible; opacity:${A.value ? A.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2211
+ style: z(`overflow: visible; opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2190
2212
  }, [
2191
2213
  g("div", {
2192
- style: M(`padding: 3px; background:${c(we)(l.color, 80)};color:${c(Ee)(l.color)};width:fit-content;font-size:${x.value.plotLabels}px;border-radius: 2px;`),
2214
+ style: z(`padding: 3px; background:${c($e)(l.color, 80)};color:${c(We)(l.color)};width:fit-content;font-size:${x.value.plotLabels}px;border-radius: 2px;`),
2193
2215
  innerHTML: c(ne)(
2194
2216
  e.value.line.tag.formatter,
2195
2217
  t.value,
@@ -2200,18 +2222,18 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2200
2222
  serieName: l.name
2201
2223
  }
2202
2224
  )
2203
- }, null, 12, Ds)
2204
- ], 12, Xs)) : d("", !0),
2225
+ }, null, 12, qs)
2226
+ ], 12, Us)) : d("", !0),
2205
2227
  t && n === l.plots.length - 1 && l.useTag && l.useTag === "end" ? (u(), r("foreignObject", {
2206
2228
  key: 1,
2207
2229
  x: t.x,
2208
2230
  y: t.y - 20,
2209
2231
  height: 24,
2210
2232
  width: "150",
2211
- style: M(`overflow: visible; opacity:${A.value ? A.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2233
+ style: z(`overflow: visible; opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2212
2234
  }, [
2213
2235
  g("div", {
2214
- style: M(`padding: 3px; background:${c(we)(l.color, 80)};color:${c(Ee)(l.color)};width:fit-content;font-size:${x.value.plotLabels}px;border-radius: 2px;`),
2236
+ style: z(`padding: 3px; background:${c($e)(l.color, 80)};color:${c(We)(l.color)};width:fit-content;font-size:${x.value.plotLabels}px;border-radius: 2px;`),
2215
2237
  innerHTML: c(ne)(
2216
2238
  e.value.line.tag.formatter,
2217
2239
  t.value,
@@ -2222,13 +2244,13 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2222
2244
  serieName: l.name
2223
2245
  }
2224
2246
  )
2225
- }, null, 12, qs)
2226
- ], 12, Us)) : d("", !0)
2247
+ }, null, 12, Js)
2248
+ ], 12, Zs)) : d("", !0)
2227
2249
  ], 64))
2228
2250
  ], 64))), 128))
2229
2251
  ], 64))), 128))
2230
2252
  ])),
2231
- (u(!0), r(h, null, m(_e.value, (l, s) => (u(), r(h, {
2253
+ (u(!0), r(h, null, m(we.value, (l, s) => (u(), r(h, {
2232
2254
  key: `xLabel_line_${s}`
2233
2255
  }, [
2234
2256
  (u(!0), r(h, null, m(l.plots, (t, n) => (u(), r(h, {
@@ -2241,7 +2263,7 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2241
2263
  "font-size": x.value.plotLabels,
2242
2264
  "text-anchor": "end",
2243
2265
  fill: l.color,
2244
- innerHTML: c(Il)({
2266
+ innerHTML: c(Tl)({
2245
2267
  content: l.name,
2246
2268
  fontSize: x.value.plotLabels,
2247
2269
  fill: l.color,
@@ -2249,8 +2271,8 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2249
2271
  y: t.y,
2250
2272
  maxWords: 2
2251
2273
  }),
2252
- style: M(`opacity:${A.value ? A.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2253
- }, null, 12, Js)) : d("", !0),
2274
+ style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2275
+ }, null, 12, Qs)) : d("", !0),
2254
2276
  t && n === l.plots.length - 1 && l.showSerieName && l.showSerieName === "end" ? (u(), r("text", {
2255
2277
  key: 1,
2256
2278
  x: t.x + x.value.plotLabels,
@@ -2258,7 +2280,7 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2258
2280
  "font-size": x.value.plotLabels,
2259
2281
  "text-anchor": "start",
2260
2282
  fill: l.color,
2261
- innerHTML: c(Il)({
2283
+ innerHTML: c(Tl)({
2262
2284
  content: l.name,
2263
2285
  fontSize: x.value.plotLabels,
2264
2286
  fill: l.color,
@@ -2266,11 +2288,11 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2266
2288
  y: t.y,
2267
2289
  maxWords: 2
2268
2290
  }),
2269
- style: M(`opacity:${A.value ? A.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2270
- }, null, 12, Ks)) : d("", !0)
2291
+ style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2292
+ }, null, 12, js)) : d("", !0)
2271
2293
  ], 64))), 128))
2272
2294
  ], 64))), 128)),
2273
- (u(!0), r(h, null, m(Me.value, (l, s) => (u(), r(h, {
2295
+ (u(!0), r(h, null, m(ze.value, (l, s) => (u(), r(h, {
2274
2296
  key: `xLabel_plot_${s}`
2275
2297
  }, [
2276
2298
  (u(!0), r(h, null, m(l.plots, (t, n) => (u(), r(h, {
@@ -2283,7 +2305,7 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2283
2305
  "font-size": x.value.plotLabels,
2284
2306
  "text-anchor": "end",
2285
2307
  fill: l.color,
2286
- innerHTML: c(Il)({
2308
+ innerHTML: c(Tl)({
2287
2309
  content: l.name,
2288
2310
  fontSize: x.value.plotLabels,
2289
2311
  fill: l.color,
@@ -2291,8 +2313,8 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2291
2313
  y: t.y,
2292
2314
  maxWords: 2
2293
2315
  }),
2294
- style: M(`opacity:${A.value ? A.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2295
- }, null, 12, Qs)) : d("", !0),
2316
+ style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2317
+ }, null, 12, eu)) : d("", !0),
2296
2318
  t && n === l.plots.length - 1 && l.showSerieName && l.showSerieName === "end" ? (u(), r("text", {
2297
2319
  key: 1,
2298
2320
  x: t.x + x.value.plotLabels,
@@ -2300,7 +2322,7 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2300
2322
  "font-size": x.value.plotLabels,
2301
2323
  "text-anchor": "start",
2302
2324
  fill: l.color,
2303
- innerHTML: c(Il)({
2325
+ innerHTML: c(Tl)({
2304
2326
  content: l.name,
2305
2327
  fontSize: x.value.plotLabels,
2306
2328
  fill: l.color,
@@ -2308,8 +2330,8 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2308
2330
  y: t.y,
2309
2331
  maxWords: 2
2310
2332
  }),
2311
- style: M(`opacity:${A.value ? A.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2312
- }, null, 12, js)) : d("", !0)
2333
+ style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2334
+ }, null, 12, lu)) : d("", !0)
2313
2335
  ], 64))), 128))
2314
2336
  ], 64))), 128)),
2315
2337
  f.value.useIndividualScale && !f.value.isStacked ? (u(), r(h, { key: 11 }, [
@@ -2325,52 +2347,52 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2325
2347
  offset: "0%",
2326
2348
  "stop-color": e.value.chart.backgroundColor,
2327
2349
  "stop-opacity": "0"
2328
- }, null, 8, lu),
2350
+ }, null, 8, tu),
2329
2351
  g("stop", {
2330
2352
  offset: "100%",
2331
2353
  "stop-color": l.color,
2332
2354
  "stop-opacity": "0.2"
2333
- }, null, 8, au)
2334
- ], 8, eu))), 256))
2355
+ }, null, 8, ou)
2356
+ ], 8, au))), 256))
2335
2357
  ]),
2336
2358
  (u(!0), r(h, null, m(gl.value, (l, s) => (u(), r("rect", {
2337
- x: l.x - e.value.chart.grid.labels.yAxis.labelWidth + R.value,
2359
+ x: l.x - e.value.chart.grid.labels.yAxis.labelWidth + B.value,
2338
2360
  y: i.value.top,
2339
2361
  width: e.value.chart.grid.labels.yAxis.labelWidth,
2340
2362
  height: i.value.height < 0 ? 10 : i.value.height,
2341
- fill: A.value === l.groupId ? `url(#individual_scale_gradient_${q.value}_${s})` : "transparent",
2342
- onMouseenter: (t) => A.value = l.groupId,
2343
- onMouseleave: v[0] || (v[0] = (t) => A.value = null)
2344
- }, null, 40, tu))), 256))
2363
+ fill: M.value === l.groupId ? `url(#individual_scale_gradient_${q.value}_${s})` : "transparent",
2364
+ onMouseenter: (t) => M.value = l.groupId,
2365
+ onMouseleave: v[0] || (v[0] = (t) => M.value = null)
2366
+ }, null, 40, su))), 256))
2345
2367
  ], 64)) : d("", !0),
2346
2368
  g("g", null, [
2347
2369
  e.value.chart.grid.labels.axis.yLabel && !f.value.useIndividualScale ? (u(), r("text", {
2348
2370
  key: 0,
2349
2371
  ref_key: "yAxisLabel",
2350
- ref: Hl,
2372
+ ref: Rl,
2351
2373
  "font-size": x.value.yAxis,
2352
2374
  fill: e.value.chart.grid.labels.color,
2353
2375
  transform: G.value ? void 0 : `translate(${x.value.yAxis + e.value.chart.grid.labels.axis.yLabelOffsetX}, ${i.value.top + i.value.height / 2}) rotate(-90)`,
2354
2376
  "text-anchor": "middle",
2355
2377
  style: { transition: "none" }
2356
- }, j(e.value.chart.grid.labels.axis.yLabel), 9, ou)) : d("", !0),
2378
+ }, j(e.value.chart.grid.labels.axis.yLabel), 9, uu)) : d("", !0),
2357
2379
  e.value.chart.grid.labels.axis.xLabel ? (u(), r("text", {
2358
2380
  key: 1,
2359
2381
  ref_key: "xAxisLabel",
2360
- ref: Pl,
2382
+ ref: Hl,
2361
2383
  "text-anchor": "middle",
2362
- x: G.value ? Ul.value.width / 2 - Math.abs(Ul.value.x) : Z.value / 2,
2384
+ x: G.value ? ql.value.width / 2 - Math.abs(ql.value.x) : Z.value / 2,
2363
2385
  y: G.value ? void 0 : i.value.bottom + x.value.yAxis + x.value.xAxis * 1.3 + e.value.chart.grid.labels.axis.xLabelOffsetY,
2364
2386
  "font-size": x.value.yAxis,
2365
2387
  fill: e.value.chart.grid.labels.color
2366
- }, j(e.value.chart.grid.labels.axis.xLabel), 9, su)) : d("", !0)
2388
+ }, j(e.value.chart.grid.labels.axis.xLabel), 9, iu)) : d("", !0)
2367
2389
  ]),
2368
2390
  e.value.chart.grid.labels.xAxisLabels.show ? (u(), r("g", {
2369
2391
  key: 12,
2370
2392
  ref_key: "timeLabelsEls",
2371
2393
  ref: Bl
2372
2394
  }, [
2373
- a.$slots["time-label"] ? (u(!0), r(h, { key: 0 }, m(de.value, (l, s) => U(a.$slots, "time-label", Ql({
2395
+ a.$slots["time-label"] ? (u(!0), r(h, { key: 0 }, m(de.value, (l, s) => U(a.$slots, "time-label", la({
2374
2396
  key: `time_label_${s}`,
2375
2397
  ref_for: !0
2376
2398
  }, {
@@ -2382,11 +2404,11 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2382
2404
  absoluteIndex: l.absoluteIndex,
2383
2405
  content: l.text,
2384
2406
  textAnchor: e.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2385
- show: l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (s === 0 || s === de.value.length - 1) && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && k.value === s && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && s % Math.floor((this.slicer.end - this.slicer.start) / e.value.chart.grid.labels.xAxisLabels.modulo) === 0
2407
+ show: l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (s === 0 || s === de.value.length - 1) && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && k.value === s && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && s % Math.floor((S.value.end - S.value.start) / e.value.chart.grid.labels.xAxisLabels.modulo) === 0
2386
2408
  }), void 0, !0)), 128)) : (u(!0), r(h, { key: 1 }, m(de.value, (l, s) => (u(), r("g", {
2387
2409
  key: `time_label_${s}`
2388
2410
  }, [
2389
- l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (s === 0 || s === de.value.length - 1) && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && k.value === s && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && s % Math.floor((this.slicer.end - this.slicer.start) / e.value.chart.grid.labels.xAxisLabels.modulo) === 0 ? (u(), r(h, { key: 0 }, [
2411
+ l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (s === 0 || s === de.value.length - 1) && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && k.value === s && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && s % Math.floor((S.value.end - S.value.start) / e.value.chart.grid.labels.xAxisLabels.modulo) === 0 ? (u(), r(h, { key: 0 }, [
2390
2412
  String(l.text).includes(`
2391
2413
  `) ? (u(), r("text", {
2392
2414
  key: 1,
@@ -2394,33 +2416,33 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2394
2416
  "font-size": x.value.xAxis,
2395
2417
  fill: e.value.chart.grid.labels.xAxisLabels.color,
2396
2418
  transform: G.value ? `translate(${i.value.left + i.value.width / b.value * s + i.value.width / b.value / 2}, ${i.value.bottom + e.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.value.chart.grid.labels.xAxisLabels.rotation})` : `translate(${i.value.left + i.value.width / b.value * s + i.value.width / b.value / 2}, ${i.value.bottom + x.value.xAxis * 1.3 + e.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.value.chart.grid.labels.xAxisLabels.rotation})`,
2397
- style: M({
2398
- cursor: ga() ? "pointer" : "default"
2419
+ style: z({
2420
+ cursor: ma() ? "pointer" : "default"
2399
2421
  }),
2400
- innerHTML: c(Ut)({
2422
+ innerHTML: c(Zt)({
2401
2423
  content: String(l.text),
2402
2424
  fontSize: x.value.xAxis,
2403
2425
  fill: e.value.chart.grid.labels.xAxisLabels.color,
2404
2426
  x: 0,
2405
2427
  y: 0
2406
2428
  }),
2407
- onClick: () => ma(l, s)
2408
- }, null, 12, iu)) : (u(), r("text", {
2429
+ onClick: () => ka(l, s)
2430
+ }, null, 12, nu)) : (u(), r("text", {
2409
2431
  key: 0,
2410
2432
  "text-anchor": e.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2411
2433
  "font-size": x.value.xAxis,
2412
2434
  fill: e.value.chart.grid.labels.xAxisLabels.color,
2413
2435
  transform: G.value ? `translate(${i.value.left + i.value.width / b.value * s + i.value.width / b.value / 2}, ${i.value.bottom + e.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.value.chart.grid.labels.xAxisLabels.rotation})` : `translate(${i.value.left + i.value.width / b.value * s + i.value.width / b.value / 2}, ${i.value.bottom + x.value.xAxis * 1.3 + e.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.value.chart.grid.labels.xAxisLabels.rotation})`,
2414
- style: M({
2415
- cursor: ga() ? "pointer" : "default"
2436
+ style: z({
2437
+ cursor: ma() ? "pointer" : "default"
2416
2438
  }),
2417
- onClick: () => ma(l, s)
2418
- }, j(l.text || ""), 13, uu))
2439
+ onClick: () => ka(l, s)
2440
+ }, j(l.text || ""), 13, ru))
2419
2441
  ], 64)) : d("", !0)
2420
2442
  ]))), 128))
2421
2443
  ], 512)) : d("", !0),
2422
- za.value.length && !f.value.isStacked ? (u(), r("g", ru, [
2423
- (u(!0), r(h, null, m(za.value, (l) => (u(), r("g", {
2444
+ Ia.value.length && !f.value.isStacked ? (u(), r("g", cu, [
2445
+ (u(!0), r(h, null, m(Ia.value, (l) => (u(), r("g", {
2424
2446
  key: l.uid
2425
2447
  }, [
2426
2448
  l.yTop && l.show && isFinite(l.yTop) ? (u(), r("line", {
@@ -2434,7 +2456,7 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2434
2456
  "stroke-dasharray": l.config.line.strokeDasharray,
2435
2457
  "stroke-linecap": "round",
2436
2458
  style: { animation: "none !important" }
2437
- }, null, 8, nu)) : d("", !0),
2459
+ }, null, 8, vu)) : d("", !0),
2438
2460
  l.yBottom && l.show && isFinite(l.yBottom) ? (u(), r("line", {
2439
2461
  key: 1,
2440
2462
  x1: l.x1,
@@ -2446,17 +2468,17 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2446
2468
  "stroke-dasharray": l.config.line.strokeDasharray,
2447
2469
  "stroke-linecap": "round",
2448
2470
  style: { animation: "none !important" }
2449
- }, null, 8, cu)) : d("", !0),
2471
+ }, null, 8, du)) : d("", !0),
2450
2472
  l.hasArea && l.show && isFinite(l.yTop) && isFinite(l.yBottom) ? (u(), r("rect", {
2451
2473
  key: 2,
2452
2474
  y: Math.min(l.yTop, l.yBottom),
2453
2475
  x: l.x1,
2454
2476
  width: i.value.width,
2455
2477
  height: c(T)(l.areaHeight, 0),
2456
- fill: c(we)(l.config.area.fill, l.config.area.opacity),
2478
+ fill: c($e)(l.config.area.fill, l.config.area.opacity),
2457
2479
  style: { animation: "none !important" }
2458
- }, null, 8, vu)) : d("", !0),
2459
- l.config.label.text && l.show && isFinite(l._box.y) ? (u(), r("rect", Ql({
2480
+ }, null, 8, hu)) : d("", !0),
2481
+ l.config.label.text && l.show && isFinite(l._box.y) ? (u(), r("rect", la({
2460
2482
  key: 3,
2461
2483
  class: "vue-ui-xy-annotation-label-box"
2462
2484
  }, { ref_for: !0 }, l._box, { style: { animation: "none !important", transition: "none !important" } }), null, 16)) : d("", !0),
@@ -2469,7 +2491,7 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2469
2491
  "font-size": l.config.label.fontSize,
2470
2492
  fill: l.config.label.color,
2471
2493
  "text-anchor": l.config.label.textAnchor
2472
- }, j(l.config.label.text), 9, du)) : d("", !0)
2494
+ }, j(l.config.label.text), 9, fu)) : d("", !0)
2473
2495
  ]))), 128))
2474
2496
  ])) : d("", !0),
2475
2497
  g("g", null, [
@@ -2480,12 +2502,12 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2480
2502
  height: i.value.height < 0 ? 10 : i.value.height,
2481
2503
  width: i.value.width / b.value < 0 ? 1e-5 : i.value.width / b.value,
2482
2504
  fill: "transparent",
2483
- onMouseenter: (t) => Ta(!0, s),
2484
- onMouseleave: v[1] || (v[1] = (t) => Ta(!1)),
2485
- onClick: (t) => gt(s)
2486
- }, null, 40, hu))), 128))
2505
+ onMouseenter: (t) => Na(!0, s),
2506
+ onMouseleave: v[1] || (v[1] = (t) => Na(!1)),
2507
+ onClick: (t) => bt(s)
2508
+ }, null, 40, gu))), 128))
2487
2509
  ]),
2488
- e.value.chart.timeTag.show && (![null, void 0].includes(k.value) || ![null, void 0].includes(O.value)) ? (u(), r("g", fu, [
2510
+ e.value.chart.timeTag.show && (![null, void 0].includes(k.value) || ![null, void 0].includes(O.value)) ? (u(), r("g", xu, [
2489
2511
  (u(), r("foreignObject", {
2490
2512
  x: i.value.left + i.value.width / b.value * ((k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)) - 100 + i.value.width / b.value / 2,
2491
2513
  y: i.value.bottom,
@@ -2495,46 +2517,46 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2495
2517
  }, [
2496
2518
  g("div", {
2497
2519
  class: "vue-ui-xy-time-tag",
2498
- style: M(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${e.value.chart.timeTag.backgroundColor};color:${e.value.chart.timeTag.color};font-size:${e.value.chart.timeTag.fontSize}px`)
2520
+ style: z(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${e.value.chart.timeTag.backgroundColor};color:${e.value.chart.timeTag.color};font-size:${e.value.chart.timeTag.fontSize}px`)
2499
2521
  }, j(de.value[(k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)].text || (k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)), 5)
2500
- ], 8, gu)),
2522
+ ], 8, bu)),
2501
2523
  g("circle", {
2502
2524
  cx: i.value.left + i.value.width / b.value * ((k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)) + i.value.width / b.value / 2,
2503
2525
  cy: i.value.bottom,
2504
2526
  r: e.value.chart.timeTag.circleMarker.radius,
2505
2527
  fill: e.value.chart.timeTag.circleMarker.color
2506
- }, null, 8, xu)
2528
+ }, null, 8, mu)
2507
2529
  ])) : d("", !0)
2508
2530
  ])) : d("", !0),
2509
- U(a.$slots, "svg", { svg: ut.value }, void 0, !0)
2531
+ U(a.$slots, "svg", { svg: rt.value }, void 0, !0)
2510
2532
  ], 512)
2511
- ], 14, io)),
2512
- a.$slots.watermark ? (u(), r("div", bu, [
2513
- U(a.$slots, "watermark", Je(Ke({ isPrinting: c(Dl) || c(va) })), void 0, !0)
2533
+ ], 14, no)),
2534
+ a.$slots.watermark ? (u(), r("div", yu, [
2535
+ U(a.$slots, "watermark", Qe(je({ isPrinting: c(Ul) || c(fa) })), void 0, !0)
2514
2536
  ])) : d("", !0),
2515
- (u(!0), r(h, null, m(_e.value, (l, s) => (u(), r(h, {
2537
+ (u(!0), r(h, null, m(we.value, (l, s) => (u(), r(h, {
2516
2538
  key: `tag_line_${s}`
2517
2539
  }, [
2518
2540
  (u(!0), r(h, null, m(l.plots, (t, n) => (u(), r(h, {
2519
2541
  key: `tag_line_${s}_${n}`
2520
2542
  }, [
2521
- [O.value, k.value, Xe.value].includes(n) && l.useTag && l.useTag === "end" && e.value.line.tag.followValue ? (u(), r("div", {
2543
+ [O.value, k.value, Ue.value].includes(n) && l.useTag && l.useTag === "end" && e.value.line.tag.followValue ? (u(), r("div", {
2522
2544
  key: 0,
2523
2545
  ref_for: !0,
2524
2546
  ref: (o) => $l(s, n, o, "right", "line"),
2525
2547
  class: "vue-ui-xy-tag",
2526
2548
  "data-tag": "right",
2527
- style: M({
2549
+ style: z({
2528
2550
  position: "fixed",
2529
- top: c(We)({
2530
- svgElement: me.value,
2551
+ top: c(Ge)({
2552
+ svgElement: ye.value,
2531
2553
  x: i.value.right + e.value.line.tag.fontSize / 1.5,
2532
2554
  y: t.y,
2533
2555
  element: Oe.value[`${s}_${n}_right_line`],
2534
2556
  position: "right"
2535
2557
  }).top + "px",
2536
- left: c(We)({
2537
- svgElement: me.value,
2558
+ left: c(Ge)({
2559
+ svgElement: ye.value,
2538
2560
  x: i.value.right + e.value.line.tag.fontSize / 1.5,
2539
2561
  y: t.y,
2540
2562
  element: Oe.value[`${s}_${n}_right_line`],
@@ -2543,18 +2565,18 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2543
2565
  height: "fit-content",
2544
2566
  width: "fit-content",
2545
2567
  background: l.color,
2546
- color: c(Ee)(l.color),
2568
+ color: c(We)(l.color),
2547
2569
  padding: "0 6px",
2548
2570
  fontSize: e.value.line.tag.fontSize + "px",
2549
2571
  opacity: 1
2550
2572
  })
2551
2573
  }, [
2552
- (u(), r("svg", mu, [
2574
+ (u(), r("svg", pu, [
2553
2575
  g("path", {
2554
2576
  d: "M 0,10 10,0 10,20 Z",
2555
2577
  fill: l.color,
2556
2578
  stroke: "none"
2557
- }, null, 8, yu)
2579
+ }, null, 8, ku)
2558
2580
  ])),
2559
2581
  g("div", {
2560
2582
  class: "vue-ui-xy-tag-content",
@@ -2568,25 +2590,25 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2568
2590
  serieName: l.name
2569
2591
  }
2570
2592
  )
2571
- }, null, 8, pu)
2593
+ }, null, 8, _u)
2572
2594
  ], 4)) : d("", !0),
2573
- [O.value, k.value, Xe.value].includes(n) && l.useTag && l.useTag === "start" && e.value.line.tag.followValue ? (u(), r("div", {
2595
+ [O.value, k.value, Ue.value].includes(n) && l.useTag && l.useTag === "start" && e.value.line.tag.followValue ? (u(), r("div", {
2574
2596
  key: 1,
2575
2597
  ref_for: !0,
2576
2598
  ref: (o) => $l(s, n, o, "left", "line"),
2577
2599
  class: "vue-ui-xy-tag",
2578
2600
  "data-tag": "left",
2579
- style: M({
2601
+ style: z({
2580
2602
  position: "fixed",
2581
- top: c(We)({
2582
- svgElement: me.value,
2603
+ top: c(Ge)({
2604
+ svgElement: ye.value,
2583
2605
  x: i.value.left - e.value.line.tag.fontSize / 1.5,
2584
2606
  y: t.y,
2585
2607
  element: Oe.value[`${s}_${n}_left_line`],
2586
2608
  position: "left"
2587
2609
  }).top + "px",
2588
- left: c(We)({
2589
- svgElement: me.value,
2610
+ left: c(Ge)({
2611
+ svgElement: ye.value,
2590
2612
  x: i.value.left - e.value.line.tag.fontSize / 1.5,
2591
2613
  y: t.y,
2592
2614
  element: Oe.value[`${s}_${n}_left_line`],
@@ -2595,18 +2617,18 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2595
2617
  height: "fit-content",
2596
2618
  width: "fit-content",
2597
2619
  background: l.color,
2598
- color: c(Ee)(l.color),
2620
+ color: c(We)(l.color),
2599
2621
  padding: "0 6px",
2600
2622
  fontSize: e.value.line.tag.fontSize + "px",
2601
2623
  opacity: 1
2602
2624
  })
2603
2625
  }, [
2604
- (u(), r("svg", ku, [
2626
+ (u(), r("svg", wu, [
2605
2627
  g("path", {
2606
2628
  d: "M 0,0 10,10 0,20 Z",
2607
2629
  fill: l.color,
2608
2630
  stroke: "none"
2609
- }, null, 8, _u)
2631
+ }, null, 8, Su)
2610
2632
  ])),
2611
2633
  g("div", {
2612
2634
  class: "vue-ui-xy-tag-content",
@@ -2620,33 +2642,33 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2620
2642
  serieName: l.name
2621
2643
  }
2622
2644
  )
2623
- }, null, 8, wu)
2645
+ }, null, 8, $u)
2624
2646
  ], 4)) : d("", !0)
2625
2647
  ], 64))), 128))
2626
2648
  ], 64))), 128)),
2627
- (u(!0), r(h, null, m(Me.value, (l, s) => (u(), r(h, {
2649
+ (u(!0), r(h, null, m(ze.value, (l, s) => (u(), r(h, {
2628
2650
  key: `tag_plot_${s}`
2629
2651
  }, [
2630
2652
  (u(!0), r(h, null, m(l.plots, (t, n) => (u(), r(h, {
2631
2653
  key: `tag_plot_${s}_${n}`
2632
2654
  }, [
2633
- [O.value, k.value, Xe.value].includes(n) && l.useTag && l.useTag === "end" && e.value.plot.tag.followValue ? (u(), r("div", {
2655
+ [O.value, k.value, Ue.value].includes(n) && l.useTag && l.useTag === "end" && e.value.plot.tag.followValue ? (u(), r("div", {
2634
2656
  key: 0,
2635
2657
  ref_for: !0,
2636
2658
  ref: (o) => $l(s, n, o, "right", "plot"),
2637
2659
  class: "vue-ui-xy-tag",
2638
2660
  "data-tag": "right",
2639
- style: M({
2661
+ style: z({
2640
2662
  position: "fixed",
2641
- top: c(We)({
2642
- svgElement: me.value,
2663
+ top: c(Ge)({
2664
+ svgElement: ye.value,
2643
2665
  x: i.value.right + e.value.plot.tag.fontSize / 1.5,
2644
2666
  y: t.y,
2645
2667
  element: Oe.value[`${s}_${n}_right_plot`],
2646
2668
  position: "right"
2647
2669
  }).top + "px",
2648
- left: c(We)({
2649
- svgElement: me.value,
2670
+ left: c(Ge)({
2671
+ svgElement: ye.value,
2650
2672
  x: i.value.right + e.value.plot.tag.fontSize / 1.5,
2651
2673
  y: t.y,
2652
2674
  element: Oe.value[`${s}_${n}_right_plot`],
@@ -2655,18 +2677,18 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2655
2677
  height: "fit-content",
2656
2678
  width: "fit-content",
2657
2679
  background: l.color,
2658
- color: c(Ee)(l.color),
2680
+ color: c(We)(l.color),
2659
2681
  padding: "0 6px",
2660
2682
  fontSize: e.value.plot.tag.fontSize + "px",
2661
2683
  opacity: 1
2662
2684
  })
2663
2685
  }, [
2664
- (u(), r("svg", Su, [
2686
+ (u(), r("svg", Lu, [
2665
2687
  g("path", {
2666
2688
  d: "M 0,10 10,0 10,20 Z",
2667
2689
  fill: l.color,
2668
2690
  stroke: "none"
2669
- }, null, 8, $u)
2691
+ }, null, 8, Au)
2670
2692
  ])),
2671
2693
  g("div", {
2672
2694
  class: "vue-ui-xy-tag-content",
@@ -2680,25 +2702,25 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2680
2702
  serieName: l.name
2681
2703
  }
2682
2704
  )
2683
- }, null, 8, Lu)
2705
+ }, null, 8, Mu)
2684
2706
  ], 4)) : d("", !0),
2685
- [O.value, k.value, Xe.value].includes(n) && l.useTag && l.useTag === "start" && e.value.plot.tag.followValue ? (u(), r("div", {
2707
+ [O.value, k.value, Ue.value].includes(n) && l.useTag && l.useTag === "start" && e.value.plot.tag.followValue ? (u(), r("div", {
2686
2708
  key: 1,
2687
2709
  ref_for: !0,
2688
2710
  ref: (o) => $l(s, n, o, "left", "plot"),
2689
2711
  class: "vue-ui-xy-tag",
2690
2712
  "data-tag": "left",
2691
- style: M({
2713
+ style: z({
2692
2714
  position: "fixed",
2693
- top: c(We)({
2694
- svgElement: me.value,
2715
+ top: c(Ge)({
2716
+ svgElement: ye.value,
2695
2717
  x: i.value.left - e.value.plot.tag.fontSize / 1.5,
2696
2718
  y: t.y,
2697
2719
  element: Oe.value[`${s}_${n}_left_plot`],
2698
2720
  position: "left"
2699
2721
  }).top + "px",
2700
- left: c(We)({
2701
- svgElement: me.value,
2722
+ left: c(Ge)({
2723
+ svgElement: ye.value,
2702
2724
  x: i.value.left - e.value.plot.tag.fontSize / 1.5,
2703
2725
  y: t.y,
2704
2726
  element: Oe.value[`${s}_${n}_left_plot`],
@@ -2707,18 +2729,18 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2707
2729
  height: "fit-content",
2708
2730
  width: "fit-content",
2709
2731
  background: l.color,
2710
- color: c(Ee)(l.color),
2732
+ color: c(We)(l.color),
2711
2733
  padding: "0 6px",
2712
2734
  fontSize: e.value.plot.tag.fontSize + "px",
2713
2735
  opacity: 1
2714
2736
  })
2715
2737
  }, [
2716
- (u(), r("svg", Au, [
2738
+ (u(), r("svg", zu, [
2717
2739
  g("path", {
2718
2740
  d: "M 0,0 10,10 0,20 Z",
2719
2741
  fill: l.color,
2720
2742
  stroke: "none"
2721
- }, null, 8, Mu)
2743
+ }, null, 8, Cu)
2722
2744
  ])),
2723
2745
  g("div", {
2724
2746
  class: "vue-ui-xy-tag-content",
@@ -2732,14 +2754,14 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2732
2754
  serieName: l.name
2733
2755
  }
2734
2756
  )
2735
- }, null, 8, zu)
2757
+ }, null, 8, Iu)
2736
2758
  ], 4)) : d("", !0)
2737
2759
  ], 64))), 128))
2738
2760
  ], 64))), 128)),
2739
- e.value.chart.zoom.show && tl.value > 6 && Gl.value ? (u(), Ie(jt, {
2761
+ e.value.chart.zoom.show && He.value > 6 && Xl.value ? (u(), Ie(lo, {
2740
2762
  ref_key: "chartSlicer",
2741
- ref: $e,
2742
- key: `slicer_${Yl.value}`,
2763
+ ref: Le,
2764
+ key: `slicer_${Fl.value}`,
2743
2765
  background: e.value.chart.zoom.color,
2744
2766
  fontSize: e.value.chart.zoom.fontSize,
2745
2767
  useResetSlot: e.value.chart.zoom.useResetSlot,
@@ -2749,7 +2771,7 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2749
2771
  inputColor: e.value.chart.zoom.color,
2750
2772
  selectColor: e.value.chart.zoom.highlightColor,
2751
2773
  borderColor: e.value.chart.backgroundColor,
2752
- minimap: $t.value,
2774
+ minimap: At.value,
2753
2775
  smoothMinimap: e.value.chart.zoom.minimap.smooth,
2754
2776
  minimapSelectedColor: e.value.chart.zoom.minimap.selectedColor,
2755
2777
  minimapSelectionRadius: e.value.chart.zoom.minimap.selectionRadius,
@@ -2758,39 +2780,39 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2758
2780
  minimapSelectedIndex: k.value,
2759
2781
  minimapIndicatorColor: e.value.chart.zoom.minimap.indicatorColor,
2760
2782
  verticalHandles: e.value.chart.zoom.minimap.verticalHandles,
2761
- max: tl.value,
2783
+ max: He.value,
2762
2784
  min: 0,
2763
- valueStart: z.value.start,
2764
- valueEnd: z.value.end,
2765
- start: z.value.start,
2766
- "onUpdate:start": v[2] || (v[2] = (l) => z.value.start = l),
2767
- end: z.value.end,
2768
- "onUpdate:end": v[3] || (v[3] = (l) => z.value.end = l),
2785
+ valueStart: S.value.start,
2786
+ valueEnd: S.value.end,
2787
+ start: S.value.start,
2788
+ "onUpdate:start": v[2] || (v[2] = (l) => S.value.start = l),
2789
+ end: S.value.end,
2790
+ "onUpdate:end": v[3] || (v[3] = (l) => S.value.end = l),
2769
2791
  refreshStartPoint: e.value.chart.zoom.startIndex !== null ? e.value.chart.zoom.startIndex : 0,
2770
- refreshEndPoint: e.value.chart.zoom.endIndex !== null ? e.value.chart.zoom.endIndex + 1 : Math.max(...Ol.dataset.map((l) => c(Fe)({ data: l.series, threshold: e.value.downsample.threshold }).length)),
2792
+ refreshEndPoint: e.value.chart.zoom.endIndex !== null ? e.value.chart.zoom.endIndex + 1 : Math.max(...Nl.dataset.map((l) => c(Ee)({ data: l.series, threshold: e.value.downsample.threshold }).length)),
2771
2793
  enableRangeHandles: e.value.chart.zoom.enableRangeHandles,
2772
2794
  enableSelectionDrag: e.value.chart.zoom.enableSelectionDrag,
2773
- onReset: ft,
2774
- onTrapMouse: vt
2795
+ onReset: xt,
2796
+ onTrapMouse: ht
2775
2797
  }, {
2776
2798
  "reset-action": se(({ reset: l }) => [
2777
- U(a.$slots, "reset-action", Je(Ke({ reset: l })), void 0, !0)
2799
+ U(a.$slots, "reset-action", Qe(je({ reset: l })), void 0, !0)
2778
2800
  ]),
2779
2801
  _: 3
2780
2802
  }, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "verticalHandles", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"])) : d("", !0),
2781
2803
  e.value.chart.legend.show ? (u(), r("div", {
2782
2804
  key: 6,
2783
2805
  ref_key: "chartLegend",
2784
- ref: el,
2806
+ ref: al,
2785
2807
  class: "vue-ui-xy-legend",
2786
- style: M(`font-size:${e.value.chart.legend.fontSize}px`)
2808
+ style: z(`font-size:${e.value.chart.legend.fontSize}px`)
2787
2809
  }, [
2788
- (u(!0), r(h, null, m(Ae.value, (l, s) => (u(), r("div", {
2810
+ (u(!0), r(h, null, m(Me.value, (l, s) => (u(), r("div", {
2789
2811
  key: `div_legend_item_${s}`,
2790
- onClick: (t) => La(l),
2791
- class: Ze({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": ae.value.includes(l.id) })
2812
+ onClick: (t) => Ma(l),
2813
+ class: Ke({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": ae.value.includes(l.id) })
2792
2814
  }, [
2793
- cl.value[l.type] === "line" ? (u(), r("svg", Iu, [
2815
+ vl.value[l.type] === "line" ? (u(), r("svg", Ou, [
2794
2816
  g("rect", {
2795
2817
  x: "0",
2796
2818
  y: "7.5",
@@ -2800,8 +2822,8 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2800
2822
  height: "3",
2801
2823
  width: "20",
2802
2824
  fill: l.color
2803
- }, null, 8, Tu),
2804
- ml(Tl, {
2825
+ }, null, 8, Nu),
2826
+ ml(Ol, {
2805
2827
  plot: { x: 10, y: 9 },
2806
2828
  radius: 4,
2807
2829
  color: l.color,
@@ -2809,8 +2831,8 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2809
2831
  stroke: e.value.chart.backgroundColor,
2810
2832
  strokeWidth: 0.5
2811
2833
  }, null, 8, ["color", "shape", "stroke"])
2812
- ])) : cl.value[l.type] === "bar" ? (u(), r("svg", Ou, [
2813
- cl.value[l.type] === "bar" && a.$slots.pattern ? (u(), r("rect", {
2834
+ ])) : vl.value[l.type] === "bar" ? (u(), r("svg", Vu, [
2835
+ vl.value[l.type] === "bar" && a.$slots.pattern ? (u(), r("rect", {
2814
2836
  key: 0,
2815
2837
  x: "0",
2816
2838
  y: "0",
@@ -2819,8 +2841,8 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2819
2841
  width: "40",
2820
2842
  stroke: "none",
2821
2843
  fill: l.color
2822
- }, null, 8, Nu)) : d("", !0),
2823
- cl.value[l.type] === "bar" ? (u(), r("rect", {
2844
+ }, null, 8, Pu)) : d("", !0),
2845
+ vl.value[l.type] === "bar" ? (u(), r("rect", {
2824
2846
  key: 1,
2825
2847
  x: "0",
2826
2848
  y: "0",
@@ -2829,9 +2851,9 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2829
2851
  width: "40",
2830
2852
  stroke: "none",
2831
2853
  fill: a.$slots.pattern ? `url(#pattern_${q.value}_${l.slotAbsoluteIndex})` : l.color
2832
- }, null, 8, Vu)) : d("", !0)
2833
- ])) : (u(), r("svg", Pu, [
2834
- ml(Tl, {
2854
+ }, null, 8, Hu)) : d("", !0)
2855
+ ])) : (u(), r("svg", Ru, [
2856
+ ml(Ol, {
2835
2857
  plot: { x: 6, y: 6 },
2836
2858
  radius: 5,
2837
2859
  color: l.color,
@@ -2839,26 +2861,26 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2839
2861
  }, null, 8, ["color", "shape"])
2840
2862
  ])),
2841
2863
  g("span", {
2842
- style: M(`color:${e.value.chart.legend.color}`)
2864
+ style: z(`color:${e.value.chart.legend.color}`)
2843
2865
  }, j(l.name), 5)
2844
- ], 10, Cu))), 128))
2866
+ ], 10, Tu))), 128))
2845
2867
  ], 4)) : (u(), r("div", {
2846
2868
  key: 7,
2847
2869
  ref_key: "chartLegend",
2848
- ref: el
2870
+ ref: al
2849
2871
  }, [
2850
- U(a.$slots, "legend", { legend: Ae.value }, void 0, !0)
2872
+ U(a.$slots, "legend", { legend: Me.value }, void 0, !0)
2851
2873
  ], 512)),
2852
2874
  a.$slots.source ? (u(), r("div", {
2853
2875
  key: 8,
2854
2876
  ref_key: "source",
2855
- ref: rl,
2877
+ ref: nl,
2856
2878
  dir: "auto"
2857
2879
  }, [
2858
2880
  U(a.$slots, "source", {}, void 0, !0)
2859
2881
  ], 512)) : d("", !0),
2860
- ml(c(Ja), {
2861
- show: f.value.showTooltip && sa.value,
2882
+ ml(c(Qa), {
2883
+ show: f.value.showTooltip && ra.value,
2862
2884
  backgroundColor: e.value.chart.tooltip.backgroundColor,
2863
2885
  color: e.value.chart.tooltip.color,
2864
2886
  fontSize: e.value.chart.tooltip.fontSize,
@@ -2869,19 +2891,19 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2869
2891
  position: e.value.chart.tooltip.position,
2870
2892
  offsetY: e.value.chart.tooltip.offsetY,
2871
2893
  parent: a.$refs.chart,
2872
- content: Lt.value,
2873
- isFullscreen: al.value,
2894
+ content: Mt.value,
2895
+ isFullscreen: tl.value,
2874
2896
  isCustom: e.value.chart.tooltip.customFormat && typeof e.value.chart.tooltip.customFormat == "function"
2875
2897
  }, {
2876
2898
  "tooltip-before": se(() => [
2877
- U(a.$slots, "tooltip-before", Je(Ke({ ...Ca.value })), void 0, !0)
2899
+ U(a.$slots, "tooltip-before", Qe(je({ ...Ta.value })), void 0, !0)
2878
2900
  ]),
2879
2901
  "tooltip-after": se(() => [
2880
- U(a.$slots, "tooltip-after", Je(Ke({ ...Ca.value })), void 0, !0)
2902
+ U(a.$slots, "tooltip-after", Qe(je({ ...Ta.value })), void 0, !0)
2881
2903
  ]),
2882
2904
  _: 3
2883
2905
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
2884
- Gl.value ? (u(), Ie(c(et), {
2906
+ Xl.value ? (u(), Ie(c(at), {
2885
2907
  key: 9,
2886
2908
  hideDetails: "",
2887
2909
  config: {
@@ -2899,32 +2921,32 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2899
2921
  }, {
2900
2922
  content: se(() => [
2901
2923
  g("div", {
2902
- style: M(`${c(Dl) ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2924
+ style: z(`${c(Ul) ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2903
2925
  }, [
2904
- g("div", Hu, [
2905
- Ot(g("input", {
2926
+ g("div", Bu, [
2927
+ Vt(g("input", {
2906
2928
  type: "checkbox",
2907
- "onUpdate:modelValue": v[4] || (v[4] = (l) => vl.value = l)
2929
+ "onUpdate:modelValue": v[4] || (v[4] = (l) => dl.value = l)
2908
2930
  }, null, 512), [
2909
- [Nt, vl.value]
2931
+ [Pt, dl.value]
2910
2932
  ]),
2911
2933
  g("div", {
2912
- onClick: v[5] || (v[5] = (l) => vl.value = !vl.value),
2934
+ onClick: v[5] || (v[5] = (l) => dl.value = !dl.value),
2913
2935
  style: { cursor: "pointer" }
2914
2936
  }, [
2915
- ml(c(Qa), {
2937
+ ml(c(et), {
2916
2938
  name: "chartLine",
2917
2939
  size: 20,
2918
2940
  stroke: e.value.chart.color
2919
2941
  }, null, 8, ["stroke"])
2920
2942
  ])
2921
2943
  ]),
2922
- vl.value ? (u(), Ie(c(ja), {
2923
- key: `sparkline_${Fl.value}`,
2924
- dataset: _t.value,
2925
- config: wt.value
2926
- }, null, 8, ["dataset", "config"])) : (u(), Ie(c(Za), {
2927
- key: `table_${ia.value}`,
2944
+ dl.value ? (u(), Ie(c(lt), {
2945
+ key: `sparkline_${El.value}`,
2946
+ dataset: St.value,
2947
+ config: $t.value
2948
+ }, null, 8, ["dataset", "config"])) : (u(), Ie(c(Ka), {
2949
+ key: `table_${ca.value}`,
2928
2950
  colNames: Al.value.colNames,
2929
2951
  head: Al.value.head,
2930
2952
  body: Al.value.body,
@@ -2933,10 +2955,10 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2933
2955
  onClose: v[6] || (v[6] = (l) => f.value.showTable = !1)
2934
2956
  }, {
2935
2957
  th: se(({ th: l }) => [
2936
- g("div", { innerHTML: l }, null, 8, Bu)
2958
+ g("div", { innerHTML: l }, null, 8, Yu)
2937
2959
  ]),
2938
2960
  td: se(({ td: l }) => [
2939
- Vt(j(isNaN(Number(l)) ? l : c(be)({
2961
+ Ht(j(isNaN(Number(l)) ? l : c(me)({
2940
2962
  p: e.value.chart.labels.prefix,
2941
2963
  v: l,
2942
2964
  s: e.value.chart.labels.suffix,
@@ -2949,10 +2971,10 @@ const uo = ["id"], io = ["width", "viewBox", "aria-label"], ro = ["x", "y", "wid
2949
2971
  ]),
2950
2972
  _: 1
2951
2973
  }, 8, ["config"])) : d("", !0),
2952
- c(Xl) ? (u(), Ie(oo, { key: 10 })) : d("", !0)
2953
- ], 46, uo));
2974
+ c(Dl) ? (u(), Ie(uo, { key: 10 })) : d("", !0)
2975
+ ], 46, ro));
2954
2976
  }
2955
- }, Ku = /* @__PURE__ */ so(Ru, [["__scopeId", "data-v-217396f7"]]);
2977
+ }, ju = /* @__PURE__ */ io(Fu, [["__scopeId", "data-v-92ac0ab7"]]);
2956
2978
  export {
2957
- Ku as default
2979
+ ju as default
2958
2980
  };