vue-data-ui 3.0.0-next.11 → 3.0.0-next.13

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 (88) hide show
  1. package/dist/{Arrow-BumHStgn.js → Arrow-Do8J5S6a.js} +1 -1
  2. package/dist/{BaseDraggableDialog-DyfbXmZG.js → BaseDraggableDialog-DZ7qBheP.js} +2 -2
  3. package/dist/{BaseIcon-Csn-zJvC.js → BaseIcon-DX9DjPMg.js} +1 -1
  4. package/dist/{ColorPicker-BgmqqeH1.js → ColorPicker-DbZPi3Xv.js} +2 -2
  5. package/dist/{DataTable-YE6ic3rt.js → DataTable-cmb1Metv.js} +2 -2
  6. package/dist/{Legend-4BgVMpri.js → Legend-CSNsl0JV.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-B0mzIi05.js → NonSvgPenAndPaper-Cj2Dc2Uv.js} +3 -3
  8. package/dist/{PackageVersion-B2CeOoV6.js → PackageVersion-Dgl3IrnB.js} +1 -1
  9. package/dist/{PenAndPaper-BFQVPcRp.js → PenAndPaper-4UGr-SYK.js} +3 -3
  10. package/dist/{Shape-CroY0C3X.js → Shape-DCFfysgG.js} +1 -1
  11. package/dist/{Slicer-DyOgqjbE.js → Slicer-C_jORT8d.js} +2 -2
  12. package/dist/{SparkTooltip-CN9w85q0.js → SparkTooltip-BMl6x26N.js} +1 -1
  13. package/dist/{Title-DjBxXxcf.js → Title-De5tLEvZ.js} +1 -1
  14. package/dist/{Tooltip-B1tfk8HO.js → Tooltip-D9udFJl-.js} +1 -1
  15. package/dist/{UserOptions-D5NKm1p2.js → UserOptions-B_n7ExUf.js} +2 -2
  16. package/dist/{dom-to-png-CLXgpFrO.js → dom-to-png-Cyi6Nfs5.js} +1 -1
  17. package/dist/{img-COyqv7Eu.js → img-3v1vnVrg.js} +1 -1
  18. package/dist/{index-B18WZMC2.js → index-DV6uvUlY.js} +1 -1
  19. package/dist/{pdf-0V6KaoQ7.js → pdf-C8peQT7N.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/{useNestedProp-BAA7pZpP.js → useNestedProp-BcloTmZF.js} +1 -1
  22. package/dist/{usePrinter-DLC5qcfA.js → usePrinter-zB6NLrs-.js} +2 -2
  23. package/dist/{useTimeLabels-DG97x2hL.js → useTimeLabels-DFkUfjfs.js} +209 -157
  24. package/dist/{vue-data-ui-MD7Usulv.js → vue-data-ui-doRVjkDI.js} +64 -64
  25. package/dist/vue-data-ui.js +1 -1
  26. package/dist/{vue-ui-3d-bar-C5DWtmzR.js → vue-ui-3d-bar-CtesRI02.js} +6 -6
  27. package/dist/{vue-ui-accordion-DIEZJTdv.js → vue-ui-accordion-BnI1ySue.js} +3 -3
  28. package/dist/{vue-ui-age-pyramid-CKCNoYVa.js → vue-ui-age-pyramid-CtNunkQn.js} +6 -6
  29. package/dist/{vue-ui-annotator-xIlsj0ow.js → vue-ui-annotator-wfv7F4_5.js} +2 -2
  30. package/dist/{vue-ui-bullet-BnVP2CnB.js → vue-ui-bullet-BH8fZyGQ.js} +7 -7
  31. package/dist/{vue-ui-candlestick-M1qRCtKh.js → vue-ui-candlestick-VUc7RE2O.js} +8 -8
  32. package/dist/{vue-ui-carousel-table-B7yAHP4d.js → vue-ui-carousel-table-DIteOLNb.js} +4 -4
  33. package/dist/{vue-ui-chestnut-BG33-M3B.js → vue-ui-chestnut-CuRL1QGa.js} +5 -5
  34. package/dist/{vue-ui-chord-C7WpP8-j.js → vue-ui-chord-qu5plL_S.js} +8 -8
  35. package/dist/{vue-ui-circle-pack-DulF_bkK.js → vue-ui-circle-pack-BjA-EzUz.js} +6 -6
  36. package/dist/{vue-ui-cursor-ME0Ma6vw.js → vue-ui-cursor-B9fMSAVt.js} +2 -2
  37. package/dist/{vue-ui-dashboard-qKsER9Ef.js → vue-ui-dashboard-DJB8hy3x.js} +62 -62
  38. package/dist/{vue-ui-digits-CW7nPiL_.js → vue-ui-digits-B7-RpbFt.js} +2 -2
  39. package/dist/{vue-ui-donut-P1t5iVGi.js → vue-ui-donut-DtFdP988.js} +8 -8
  40. package/dist/{vue-ui-donut-evolution-CYR0d7cC.js → vue-ui-donut-evolution-D3P75Rmq.js} +9 -9
  41. package/dist/{vue-ui-dumbbell-BVm8h0Qm.js → vue-ui-dumbbell-igZHrqHW.js} +7 -7
  42. package/dist/{vue-ui-flow-DyrILcXF.js → vue-ui-flow-CH2kwOJ-.js} +7 -7
  43. package/dist/{vue-ui-funnel-B3LqNMLp.js → vue-ui-funnel-D7Bx360X.js} +6 -6
  44. package/dist/{vue-ui-galaxy-C_EjDJja.js → vue-ui-galaxy-D1fKG9Cz.js} +5 -5
  45. package/dist/{vue-ui-gauge-BeprNkTE.js → vue-ui-gauge-B-4B3Ayg.js} +6 -6
  46. package/dist/{vue-ui-gizmo-CkY_o73P.js → vue-ui-gizmo-DXiJW3GI.js} +3 -3
  47. package/dist/{vue-ui-heatmap-GPKe2arO.js → vue-ui-heatmap-TVemx-g3.js} +7 -7
  48. package/dist/{vue-ui-history-plot-BQUFj1WW.js → vue-ui-history-plot-DT6XKHxP.js} +7 -7
  49. package/dist/{vue-ui-kpi-HkdRfRqI.js → vue-ui-kpi-BwDoDqHZ.js} +3 -3
  50. package/dist/{vue-ui-mini-loader-3eS6UMnq.js → vue-ui-mini-loader-DbEJOq5o.js} +2 -2
  51. package/dist/{vue-ui-molecule-Bn49jRpg.js → vue-ui-molecule-Ca_-0Jm0.js} +5 -5
  52. package/dist/{vue-ui-mood-radar-DPfbDZli.js → vue-ui-mood-radar-Cj2Oa1Y6.js} +7 -7
  53. package/dist/{vue-ui-nested-donuts-5u4edBxG.js → vue-ui-nested-donuts-C_uNTRdB.js} +9 -9
  54. package/dist/{vue-ui-onion-CppkCdS5.js → vue-ui-onion-Cm-mIeDX.js} +7 -7
  55. package/dist/{vue-ui-parallel-coordinate-plot--kTjU5iF.js → vue-ui-parallel-coordinate-plot-D11qA4Mp.js} +8 -8
  56. package/dist/{vue-ui-quadrant-YB5C-Jyz.js → vue-ui-quadrant-CaU5zB0k.js} +8 -8
  57. package/dist/{vue-ui-quick-chart-BwJ0A3y7.js → vue-ui-quick-chart-jk27updG.js} +7 -7
  58. package/dist/{vue-ui-radar-m2VREfJ3.js → vue-ui-radar-CUFPB5bN.js} +7 -7
  59. package/dist/{vue-ui-rating-B3xY-5Ct.js → vue-ui-rating-Ba4wFuw5.js} +2 -2
  60. package/dist/{vue-ui-relation-circle-Ctv0sXIL.js → vue-ui-relation-circle-BbXikHh_.js} +6 -6
  61. package/dist/{vue-ui-ridgeline-CaIoiE4c.js → vue-ui-ridgeline-D0xofuMM.js} +9 -9
  62. package/dist/{vue-ui-rings-CI3IrgPj.js → vue-ui-rings-BWCaDVjD.js} +8 -8
  63. package/dist/{vue-ui-scatter-BNF6S6vu.js → vue-ui-scatter-B_NDfmVM.js} +8 -8
  64. package/dist/{vue-ui-skeleton-CLPCQOVA.js → vue-ui-skeleton-BFmUTQwZ.js} +3 -3
  65. package/dist/{vue-ui-smiley-PgGrSc7E.js → vue-ui-smiley-Du4-MZFt.js} +2 -2
  66. package/dist/{vue-ui-spark-trend-iSacmLGA.js → vue-ui-spark-trend-Bt8cz9kR.js} +3 -3
  67. package/dist/{vue-ui-sparkbar-CoeD9mlr.js → vue-ui-sparkbar-DLFCFgfx.js} +3 -3
  68. package/dist/{vue-ui-sparkgauge-B6f-axxi.js → vue-ui-sparkgauge-DylX64Fs.js} +3 -3
  69. package/dist/{vue-ui-sparkhistogram-BCwY3f-T.js → vue-ui-sparkhistogram-Dp5by-Ai.js} +4 -4
  70. package/dist/{vue-ui-sparkline-Csaoql_D.js → vue-ui-sparkline-Dbk9w_eP.js} +3 -3
  71. package/dist/{vue-ui-sparkstackbar-H5_Xfbaw.js → vue-ui-sparkstackbar-BR8_wwma.js} +3 -3
  72. package/dist/{vue-ui-stackbar-Ji3QYGxJ.js → vue-ui-stackbar-BQyXqmA1.js} +10 -10
  73. package/dist/{vue-ui-strip-plot-CGEoBzlE.js → vue-ui-strip-plot-DO8ORP_r.js} +7 -7
  74. package/dist/{vue-ui-table-CePfC3ck.js → vue-ui-table-BXYKw-jU.js} +3 -3
  75. package/dist/{vue-ui-table-heatmap-DPx5azsf.js → vue-ui-table-heatmap-C3NJYFeA.js} +5 -5
  76. package/dist/{vue-ui-table-sparkline-B-qp1qwJ.js → vue-ui-table-sparkline-B-JaCMy8.js} +4 -4
  77. package/dist/{vue-ui-thermometer-BRs_SXB2.js → vue-ui-thermometer-CBn8Qk9P.js} +6 -6
  78. package/dist/{vue-ui-timer-C_j66dVp.js → vue-ui-timer-DN-UYQVj.js} +5 -5
  79. package/dist/{vue-ui-tiremarks-CSITqWtv.js → vue-ui-tiremarks-CnypAikp.js} +6 -6
  80. package/dist/{vue-ui-treemap-C4Dy0F4V.js → vue-ui-treemap-B1_0MG5i.js} +8 -8
  81. package/dist/{vue-ui-vertical-bar-BVswRq0k.js → vue-ui-vertical-bar-ByjDnpZg.js} +9 -9
  82. package/dist/{vue-ui-waffle-T8I_kqvp.js → vue-ui-waffle-CgA7ufSJ.js} +8 -8
  83. package/dist/{vue-ui-wheel-BQYMyG3z.js → vue-ui-wheel-CjI8K463.js} +6 -6
  84. package/dist/{vue-ui-word-cloud-DmyW8XBk.js → vue-ui-word-cloud-BnIFBHwB.js} +6 -6
  85. package/dist/{vue-ui-world-JR5N3N6l.js → vue-ui-world-CGD0LnIV.js} +6 -6
  86. package/dist/{vue-ui-xy-Dc1q6qyo.js → vue-ui-xy-DXcd5juu.js} +786 -785
  87. package/dist/{vue-ui-xy-canvas-BQzv88tD.js → vue-ui-xy-canvas-B6rNloCG.js} +9 -9
  88. package/package.json +1 -1
@@ -1,62 +1,62 @@
1
- import { defineAsyncComponent as Fe, useSlots as Tt, getCurrentInstance as Ot, ref as w, computed as A, onMounted as ea, toRefs as Nt, 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 yl, unref as c, createSlots as Vt, withCtx as se, renderSlot as U, normalizeProps as Qe, guardReactiveProps as je, createElementVNode as g, Fragment as h, renderList as m, toDisplayString as ee, mergeProps as la, withDirectives as Pt, vModelCheckbox as Ht, createTextVNode as Rt } from "vue";
2
- import { u as Bt, c as aa, e as ta, A as Yt, a5 as Ee, b as Ft, D as pl, ab as el, d as Et, p as Wt, ac as Il, ad as Gt, v as T, ae as Ea, V as Wa, af as Ga, U as Xa, ag as Xt, ah as Da, ai as Ua, x as Dt, y as Ut, _ as qa, R as Te, i as ce, 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 Za, q as Qt, r as jt, E as il } from "./index-B18WZMC2.js";
3
- import { u as oa } from "./useNestedProp-BAA7pZpP.js";
4
- import { u as eo } from "./useTimeLabels-DG97x2hL.js";
5
- import { S as lo } from "./Slicer-DyOgqjbE.js";
6
- import ao from "./Title-DjBxXxcf.js";
7
- import { _ as Ol } from "./Shape-CroY0C3X.js";
8
- import to from "./img-COyqv7Eu.js";
9
- import { u as oo } from "./usePrinter-DLC5qcfA.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
- key: 4,
1
+ import { defineAsyncComponent as Fe, useSlots as Ot, getCurrentInstance as Nt, ref as _, computed as A, onMounted as la, toRefs as Vt, onBeforeUnmount as Ea, watch as Cl, nextTick as me, createElementBlock as i, openBlock as u, normalizeStyle as z, normalizeClass as Ke, createBlock as Ie, createCommentVNode as d, createVNode as yl, unref as c, createSlots as Pt, withCtx as se, renderSlot as U, normalizeProps as Qe, guardReactiveProps as je, createElementVNode as b, Fragment as h, renderList as m, toDisplayString as ee, mergeProps as aa, withDirectives as Ht, vModelCheckbox as Rt, createTextVNode as Bt } from "vue";
2
+ import { u as Yt, c as ta, e as oa, A as Ft, a5 as Ee, b as Et, D as pl, ab as el, d as Wt, p as Gt, ac as Il, ad as Xt, v as T, ae as Wa, V as Ga, af as Xa, U as Da, ag as Dt, ah as Ua, ai as qa, x as Ut, y as qt, _ as Za, R as Te, i as ce, f as ye, aa as H, w as ll, s as $e, a8 as W, L as Zt, F as We, aj as Tl, I as Jt, ak as Ge, C as ul, t as Kt, a as Qt, o as Ja, q as jt, r as eo, E as il } from "./index-DV6uvUlY.js";
3
+ import { u as sa } from "./useNestedProp-BcloTmZF.js";
4
+ import { u as lo } from "./useTimeLabels-DFkUfjfs.js";
5
+ import { S as ao } from "./Slicer-C_jORT8d.js";
6
+ import to from "./Title-De5tLEvZ.js";
7
+ import { _ as Ol } from "./Shape-DCFfysgG.js";
8
+ import oo from "./img-3v1vnVrg.js";
9
+ import { u as so } from "./usePrinter-zB6NLrs-.js";
10
+ import { u as uo, B as io } from "./useLoading-Bt5Doa8m.js";
11
+ import { _ as ro } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
+ const no = ["id"], co = ["width", "viewBox", "aria-label"], vo = ["x", "y", "width", "height"], ho = { key: 1 }, fo = { class: "vue-ui-xy-grid" }, go = ["stroke", "x1", "x2", "y1", "y2"], xo = ["stroke", "x1", "x2", "y1", "y2"], bo = { key: 1 }, mo = ["x1", "x2", "y1", "y2", "stroke"], yo = ["x1", "x2", "y1", "y2", "stroke"], po = ["x1", "x2", "y1", "y2", "stroke"], ko = { key: 3 }, _o = ["x1", "x2", "y1", "y2", "stroke"], wo = { key: 4 }, So = ["y1", "y2", "x1", "x2", "stroke"], $o = ["id"], Lo = ["stop-color"], Ao = ["stop-color"], Mo = ["stop-color"], zo = ["id"], Co = ["stop-color"], Io = ["stop-color"], To = ["stop-color"], Oo = ["id"], No = ["stop-color"], Vo = ["stop-color"], Po = ["id"], Ho = ["stop-color"], Ro = ["stop-color"], Bo = ["id"], Yo = ["stop-color"], Fo = ["stop-color"], Eo = ["x", "y", "height", "width", "fill"], Wo = ["x", "y", "width"], Go = { key: 0 }, Xo = ["x", "y", "height", "width", "fill"], Do = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Uo = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], qo = ["width", "x", "y"], Zo = { key: 0 }, Jo = ["id"], Ko = ["fill"], Qo = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], jo = ["x", "y", "font-size", "fill"], es = ["stroke", "x1", "x2", "y1", "y2"], ls = { key: 3 }, as = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ts = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], os = {
13
+ key: 5,
14
14
  ref: "scaleLabels"
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
- key: 14,
15
+ }, ss = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], us = ["fill", "font-size", "transform"], is = ["x1", "x2", "y1", "y2", "stroke"], rs = ["x", "y", "font-size", "fill"], ns = ["x1", "x2", "y1", "y2", "stroke"], cs = ["x", "y", "font-size", "fill"], vs = ["width", "x", "y"], ds = { style: { width: "100%" } }, hs = { key: 0 }, fs = ["id"], gs = ["fill"], xs = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], bs = ["x", "y", "font-size", "fill"], ms = ["d", "stroke", "stroke-width", "stroke-dasharray"], ys = ["d", "stroke", "stroke-width", "stroke-dasharray"], ps = { key: 6 }, ks = { key: 0 }, _s = ["d", "fill"], ws = ["d", "fill"], Ss = ["d", "fill"], $s = ["d", "fill"], Ls = ["d", "stroke", "stroke-width", "stroke-dasharray"], As = ["d", "stroke", "stroke-width", "stroke-dasharray"], Ms = ["width", "x", "y"], zs = { style: { width: "100%" } }, Cs = { key: 3 }, Is = ["id"], Ts = ["fill"], Os = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ns = ["x", "y", "font-size", "fill"], Vs = { key: 7 }, Ps = ["x", "y", "font-size", "fill"], Hs = ["x", "y", "font-size", "fill", "font-weight"], Rs = { key: 8 }, Bs = ["x", "y", "font-size", "fill"], Ys = { key: 9 }, Fs = ["x", "y"], Es = ["innerHTML"], Ws = ["x", "y"], Gs = ["innerHTML"], Xs = ["x1", "x2", "y1", "y2", "stroke"], Ds = { key: 10 }, Us = ["x", "y", "font-size", "fill"], qs = { key: 11 }, Zs = ["x", "y"], Js = ["innerHTML"], Ks = ["x", "y"], Qs = ["innerHTML"], js = ["x1", "x2", "y1", "y2", "stroke"], eu = ["x", "y", "font-size", "fill", "innerHTML"], lu = ["x", "y", "font-size", "fill", "innerHTML"], au = ["x", "y", "font-size", "fill", "innerHTML"], tu = ["x", "y", "font-size", "fill", "innerHTML"], ou = ["id"], su = ["stop-color"], uu = ["stop-color"], iu = ["x", "y", "width", "height", "fill", "onMouseenter"], ru = ["font-size", "fill", "transform"], nu = ["x", "y", "font-size", "fill"], cu = ["text-anchor", "font-size", "fill", "transform", "onClick"], vu = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], du = { key: 14 }, hu = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], fu = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], gu = ["y", "x", "width", "height", "fill"], xu = ["id", "x", "y", "font-size", "fill", "text-anchor"], bu = { key: 15 }, mu = ["x", "y", "height", "width", "onMouseenter", "onClick"], yu = {
16
+ key: 16,
17
17
  style: { "pointer-events": "none" }
18
- }, bu = ["x", "y"], mu = ["cx", "cy", "r", "fill"], yu = {
18
+ }, pu = ["x", "y"], ku = ["cx", "cy", "r", "fill"], _u = {
19
19
  key: 4,
20
20
  class: "vue-data-ui-watermark"
21
- }, pu = {
21
+ }, wu = {
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
- }, ku = ["fill"], _u = ["innerHTML"], wu = {
26
+ }, Su = ["fill"], $u = ["innerHTML"], Lu = {
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
- }, Su = ["fill"], $u = ["innerHTML"], Lu = {
31
+ }, Au = ["fill"], Mu = ["innerHTML"], zu = {
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
- }, Au = ["fill"], Mu = ["innerHTML"], zu = {
36
+ }, Cu = ["fill"], Iu = ["innerHTML"], Tu = {
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
- }, Cu = ["fill"], Iu = ["innerHTML"], Tu = ["onClick"], Ou = {
41
+ }, Ou = ["fill"], Nu = ["innerHTML"], Vu = ["onClick"], Pu = {
42
42
  key: 0,
43
43
  viewBox: "0 0 20 12",
44
44
  height: "14",
45
45
  width: "20"
46
- }, Nu = ["stroke", "fill"], Vu = {
46
+ }, Hu = ["stroke", "fill"], Ru = {
47
47
  key: 1,
48
48
  viewBox: "0 0 40 40",
49
49
  height: "14",
50
50
  width: "14"
51
- }, Pu = ["fill"], Hu = ["fill"], Ru = {
51
+ }, Bu = ["fill"], Yu = ["fill"], Fu = {
52
52
  key: 2,
53
53
  viewBox: "0 0 12 12",
54
54
  height: "14",
55
55
  width: "14"
56
- }, Bu = {
56
+ }, Eu = {
57
57
  style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
58
58
  "data-dom-to-png-ignore": ""
59
- }, Yu = ["innerHTML"], Fu = {
59
+ }, Wu = ["innerHTML"], Gu = {
60
60
  __name: "vue-ui-xy",
61
61
  props: {
62
62
  config: {
@@ -73,25 +73,25 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
73
73
  }
74
74
  },
75
75
  emits: ["selectTimeLabel", "selectX", "selectLegend"],
76
- setup(Nl, { expose: Ja, emit: Ka }) {
77
- const y = Nl, Qa = Fe(() => import("./DataTable-YE6ic3rt.js")), ja = Fe(() => import("./Tooltip-B1tfk8HO.js")), et = Fe(() => import("./UserOptions-D5NKm1p2.js")), lt = Fe(() => import("./BaseIcon-Csn-zJvC.js")), at = Fe(() => import("./vue-ui-table-sparkline-B-qp1qwJ.js")), tt = Fe(() => import("./vue-ui-accordion-DIEZJTdv.js")), ot = Fe(() => import("./PackageVersion-B2CeOoV6.js")), st = Fe(() => import("./PenAndPaper-BFQVPcRp.js")), Vl = Ka, sa = Tt(), ut = Ot(), { vue_ui_xy: Pl } = Bt(), ge = w(null), rl = w(null), Le = w(null), al = w(null), nl = w(null), cl = w(null), ua = w(null), Hl = w(null), Rl = w(null), Bl = w(null), Xe = w(null), Yl = w(null), Fl = w(0), M = w(null), ia = w(!0), ue = w(600), Z = w(1e3), De = w("0 0 1000 600"), it = w({ x: 0, y: 0 }), vl = w({ line: "line", bar: "bar", plot: "plot" }), kl = w(!1), tl = w(!1), ra = w(!1), k = w(null), Ue = w(null), ae = w([]), q = w(aa()), na = w(0), ca = w(0), va = w(0), dl = w(!0), El = w(0), O = w(null), da = w(!1), Wl = w(!0), _l = w(!0), ye = w(null), Oe = w({}), wl = w(null), ha = w(0), rt = w(1), nt = A(() => ({
76
+ setup(Nl, { expose: Ka, emit: Qa }) {
77
+ const y = Nl, ja = Fe(() => import("./DataTable-cmb1Metv.js")), et = Fe(() => import("./Tooltip-D9udFJl-.js")), lt = Fe(() => import("./UserOptions-B_n7ExUf.js")), at = Fe(() => import("./BaseIcon-DX9DjPMg.js")), tt = Fe(() => import("./vue-ui-table-sparkline-B-JaCMy8.js")), ot = Fe(() => import("./vue-ui-accordion-BnI1ySue.js")), st = Fe(() => import("./PackageVersion-Dgl3IrnB.js")), ut = Fe(() => import("./PenAndPaper-4UGr-SYK.js")), Vl = Qa, ua = Ot(), it = Nt(), { vue_ui_xy: Pl } = Yt(), ge = _(null), rl = _(null), Le = _(null), al = _(null), nl = _(null), cl = _(null), ia = _(null), Hl = _(null), Rl = _(null), Bl = _(null), Xe = _(null), Yl = _(null), Fl = _(0), M = _(null), ra = _(!0), ue = _(600), Z = _(1e3), De = _("0 0 1000 600"), rt = _({ x: 0, y: 0 }), vl = _({ line: "line", bar: "bar", plot: "plot" }), kl = _(!1), tl = _(!1), na = _(!1), k = _(null), Ue = _(null), ae = _([]), q = _(ta()), ca = _(0), va = _(0), da = _(0), dl = _(!0), El = _(0), O = _(null), ha = _(!1), Wl = _(!0), _l = _(!0), pe = _(null), Oe = _({}), wl = _(null), fa = _(0), nt = _(1), ct = A(() => ({
78
78
  height: ue.value,
79
79
  width: Z.value
80
- })), ct = y.config.downsample && y.config.downsample.threshold ? y.config.downsample.threshold : 500, f = w({
80
+ })), vt = 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,
84
84
  isStacked: !1,
85
85
  useIndividualScale: !1
86
- }), x = w({
86
+ }), g = _({
87
87
  xAxis: 18,
88
88
  yAxis: 12,
89
89
  dataLabels: 20,
90
90
  plotLabels: 10
91
- }), Ae = w({ plot: 3, line: 3 });
92
- ea(() => {
91
+ }), Ae = _({ plot: 3, line: 3 });
92
+ la(() => {
93
93
  y.dataset.length && y.dataset.forEach((a, v) => {
94
- [null, void 0].includes(a.series) && ta({
94
+ [null, void 0].includes(a.series) && oa({
95
95
  componentName: "VueUiXy",
96
96
  type: "datasetSerieAttribute",
97
97
  property: "series (number[])",
@@ -103,11 +103,11 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
103
103
  function Gl() {
104
104
  if (!Object.keys(y.config || {}).length)
105
105
  return Pl;
106
- const a = oa({
106
+ const a = sa({
107
107
  userConfig: y.config,
108
108
  defaultConfig: Pl
109
109
  });
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({
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) => sa({
111
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 = {
@@ -116,11 +116,11 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
116
116
  bottom: 0,
117
117
  left: 0
118
118
  }), a.theme ? {
119
- ...oa({
120
- userConfig: Kt.vue_ui_xy[a.theme] || y.config,
119
+ ...sa({
120
+ userConfig: Qt.vue_ui_xy[a.theme] || y.config,
121
121
  defaultConfig: a
122
122
  }),
123
- customPalette: Jt[a.theme] || y.palette
123
+ customPalette: Kt[a.theme] || y.palette
124
124
  } : a;
125
125
  }
126
126
  const Xl = A({
@@ -130,13 +130,13 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
130
130
  set(a) {
131
131
  return a;
132
132
  }
133
- }), e = w(Gl()), { loading: Dl, FINAL_DATASET: Ne, manualLoading: Sl } = so({
134
- ...Nt(y),
133
+ }), e = _(Gl()), { loading: Dl, FINAL_DATASET: Ne, manualLoading: Sl } = uo({
134
+ ...Vt(y),
135
135
  FINAL_CONFIG: e,
136
136
  prepareConfig: Gl,
137
137
  callback: () => {
138
138
  Promise.resolve().then(async () => {
139
- await jl(), e.value.autoSize && (ol(), Kl());
139
+ await ea(), e.value.autoSize && (ol(), Ql());
140
140
  });
141
141
  },
142
142
  skeletonDataset: [
@@ -154,7 +154,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
154
154
  color: "#CACACA"
155
155
  }
156
156
  ],
157
- skeletonConfig: Yt({
157
+ skeletonConfig: Ft({
158
158
  defaultConfig: e.value,
159
159
  userConfig: {
160
160
  autoSize: !1,
@@ -211,21 +211,21 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
211
211
  }
212
212
  })
213
213
  }), He = A({
214
- get: () => Math.max(...Ne.value.map((a) => Ee({ data: a.series, threshold: ct }).length)),
214
+ get: () => Math.max(...Ne.value.map((a) => Ee({ data: a.series, threshold: vt }).length)),
215
215
  set: (a) => a
216
- }), _ = w({ start: 0, end: He.value }), { isPrinting: Ul, isImaging: fa, generatePdf: ga, generateImage: xa } = oo({
216
+ }), w = _({ start: 0, end: He.value }), { isPrinting: Ul, isImaging: ga, generatePdf: xa, generateImage: ba } = so({
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
220
  }), G = A(() => e.value.autoSize), ql = A(() => {
221
221
  const [a, v, l, s] = De.value.split(" ").map(Number);
222
222
  return { x: a, y: v, width: l, height: s };
223
- }), ba = A(() => Ft(e.value.customPalette)), $l = 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(() => {
223
+ }), ma = A(() => Et(e.value.customPalette)), $l = 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
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
- }), pe = A(() => e.value.chart.grid.labels.yAxis.useNiceScale ? pl(Zl.value, $l.value < 0 ? 0 : $l.value, e.value.chart.grid.labels.yAxis.commonScaleSteps) : el(Zl.value, $l.value < 0 ? 0 : $l.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) => {
228
+ }), ke = A(() => e.value.chart.grid.labels.yAxis.useNiceScale ? pl(Zl.value, $l.value < 0 ? 0 : $l.value, e.value.chart.grid.labels.yAxis.commonScaleSteps) : el(Zl.value, $l.value < 0 ? 0 : $l.value, e.value.chart.grid.labels.yAxis.commonScaleSteps)), hl = A(() => [null, void 0].includes(e.value.chart.grid.labels.yAxis.scaleMin) ? ke.value.min >= 0 ? 0 : Math.abs(ke.value.min) : -ke.value.min), Ve = A(() => ra.value ? Ne.value.map((a, v) => {
229
229
  const l = Ee({
230
230
  data: a.series,
231
231
  threshold: e.value.downsample.threshold
@@ -233,8 +233,8 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
233
233
  return {
234
234
  ...a,
235
235
  slotAbsoluteIndex: v,
236
- series: l.map((t) => Il(t) ? t : null).slice(_.value.start, _.value.end),
237
- color: Et(a.color ? a.color : ba.value[v] ? ba.value[v] : Wt[v]),
236
+ series: l.map((t) => Il(t) ? t : null).slice(w.value.start, w.value.end),
237
+ color: Wt(a.color ? a.color : ma.value[v] ? ma.value[v] : Gt[v]),
238
238
  id: s,
239
239
  scaleLabel: a.scaleLabel || s
240
240
  };
@@ -243,13 +243,13 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
243
243
  ...a,
244
244
  series: a.series.map((l) => l + hl.value),
245
245
  absoluteValues: a.series,
246
- segregate: () => Ma(a),
246
+ segregate: () => za(a),
247
247
  isSegregated: ae.value.includes(a.id)
248
- }))), ke = A(() => Ve.value.map((a, v) => ({
248
+ }))), _e = A(() => Ve.value.map((a, v) => ({
249
249
  ...a,
250
250
  series: a.series.map((l) => l + hl.value),
251
251
  absoluteValues: a.series
252
- })).filter((a) => !ae.value.includes(a.id))), i = A(() => {
252
+ })).filter((a) => !ae.value.includes(a.id))), r = A(() => {
253
253
  function a(s) {
254
254
  const t = /* @__PURE__ */ new Set();
255
255
  return s.forEach((n) => {
@@ -267,41 +267,42 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["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 ma() {
271
- return !!ut?.vnode.props?.onSelectTimeLabel;
270
+ function ya() {
271
+ return !!it?.vnode.props?.onSelectTimeLabel;
272
272
  }
273
- function vt(a, v, l) {
273
+ function dt(a, v, l) {
274
274
  if (!wl.value) {
275
275
  const s = document.createElement("canvas");
276
276
  wl.value = s.getContext("2d");
277
277
  }
278
278
  return wl.value.font = `normal ${a}px sans-serif`, wl.value;
279
279
  }
280
- function ya() {
280
+ function pa() {
281
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 Ll(a, v, l, s, t) {
285
285
  l && (Oe.value[`${a}_${v}_${s}_${t}`] = l);
286
286
  }
287
- function pa(a = !1) {
288
- da.value && (_l.value = a);
287
+ const Jl = _(!1);
288
+ async function ka(a = !1) {
289
+ await me(), Jl.value = a, ha.value && (_l.value = a);
289
290
  }
290
- function Jl() {
291
+ function Kl() {
291
292
  kl.value = !kl.value;
292
293
  }
293
294
  const de = A(() => {
294
295
  const a = Math.max(...Ne.value.map((v) => Ee({ data: v.series, threshold: e.value.downsample.threshold }).length));
295
- return eo({
296
+ return lo({
296
297
  values: e.value.chart.grid.labels.xAxisLabels.values,
297
298
  maxDatapoints: a,
298
299
  formatter: e.value.chart.grid.labels.xAxisLabels.datetimeFormatter,
299
- start: _.value.start,
300
- end: _.value.end
300
+ start: w.value.start,
301
+ end: w.value.end
301
302
  });
302
303
  });
303
- function ka(a, v) {
304
- const l = ke.value.map((s) => ({
304
+ function _a(a, v) {
305
+ const l = _e.value.map((s) => ({
305
306
  shape: s.shape || null,
306
307
  name: s.name,
307
308
  color: s.color,
@@ -317,25 +318,25 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
317
318
  label: a.text
318
319
  });
319
320
  }
320
- const b = A(() => _.value.end - _.value.start);
321
- async function dt() {
321
+ const x = A(() => w.value.end - w.value.start);
322
+ async function ht() {
322
323
  if (!Hl.value) return;
323
- await Se();
324
- let a = i.value.bottom;
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);
324
+ await me();
325
+ let a = r.value.bottom;
326
+ Bl.value && (a += Bl.value.getBBox().height), Hl.value.setAttribute("y", a + g.value.xAxis * 1.3 + e.value.chart.grid.labels.axis.xLabelOffsetY);
326
327
  }
327
- async function ht() {
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)`));
328
+ async function ft() {
329
+ Rl.value && (await me(), Rl.value.setAttribute("transform", `translate(${ql.value.x + e.value.chart.grid.labels.axis.yLabelOffsetX + g.value.yAxis}, ${r.value.top + r.value.height / 2}) rotate(-90)`));
329
330
  }
330
331
  async function ol() {
331
- await Se();
332
- const a = ua.value;
332
+ await me();
333
+ const a = ia.value;
333
334
  if (!a) return;
334
- De.value = `0 0 ${e.value.chart.width} ${e.value.chart.height}`, dt(), await Se(), ht();
335
+ De.value = `0 0 ${e.value.chart.width} ${e.value.chart.height}`, ht(), await me(), ft();
335
336
  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");
337
+ De.value = `${v.x} ${v.y - g.value.plotLabels} ${v.width + e.value.chart.padding.left} ${v.height + g.value.plotLabels + e.value.chart.padding.top}`, await me(), ge.value.classList.remove("no-transition");
337
338
  }
338
- function Kl() {
339
+ function Ql() {
339
340
  if (e.value.responsive && ge.value) {
340
341
  const a = ge.value.parentNode;
341
342
  if (a) {
@@ -346,71 +347,71 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
346
347
  }
347
348
  }
348
349
  }
349
- function ft(a) {
350
+ function gt(a) {
350
351
  O.value = a;
351
352
  }
352
- function _a() {
353
+ function wa() {
353
354
  f.value.isStacked = !f.value.isStacked, f.value.isStacked ? f.value.useIndividualScale = !0 : f.value.useIndividualScale = e.value.chart.grid.labels.yAxis.useIndividualScale;
354
355
  }
355
- function Ql(a) {
356
+ function jl(a) {
356
357
  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`));
357
358
  }
358
- function gt(a, v) {
359
+ function xt(a, v) {
359
360
  let l = Array(a).fill(0);
360
361
  for (let s = 0; s < v.length && s < a; s += 1)
361
362
  l[s] = v[s];
362
363
  return l;
363
364
  }
364
- function xt(a) {
365
+ function bt(a) {
365
366
  const v = Math.max(...Ne.value.map((l) => Ee({ data: l.series, threshold: e.value.downsample.threshold }).length));
366
367
  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;
367
368
  }
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(xt(e.value.chart.zoom.endIndex + 1)))) : (_.value = {
369
+ async function ea() {
370
+ (e.value.chart.zoom.startIndex !== null || e.value.chart.zoom.endIndex !== null) && Le.value ? (e.value.chart.zoom.startIndex !== null && (await me(), await me(), Le.value.setStartValue(e.value.chart.zoom.startIndex)), e.value.chart.zoom.endIndex !== null && (await me(), await me(), Le.value.setEndValue(bt(e.value.chart.zoom.endIndex + 1)))) : (w.value = {
370
371
  start: 0,
371
372
  end: Math.max(...Ne.value.map((a) => Ee({ data: a.series, threshold: e.value.downsample.threshold }).length))
372
373
  }, Fl.value += 1);
373
374
  }
374
- function bt() {
375
- jl();
375
+ function mt() {
376
+ ea();
376
377
  }
377
378
  function xe(a) {
378
379
  return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(a);
379
380
  }
380
- const wa = A(() => pe.value.max + hl.value);
381
+ const Sa = A(() => ke.value.max + hl.value);
381
382
  function qe(a) {
382
- return a / (xe(wa.value) ? wa.value : 1);
383
+ return a / (xe(Sa.value) ? Sa.value : 1);
383
384
  }
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;
385
+ const ie = A(() => isNaN(qe(hl.value)) ? r.value.bottom : r.value.bottom - r.value.height * qe(hl.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 && Zl.value >= 0 ? r.value.bottom : ie.value;
387
388
  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);
388
389
  }
389
- function $a(a) {
390
+ function La(a) {
390
391
  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);
391
392
  }
392
393
  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,
394
- plot: i.value.width / b.value,
395
- line: i.value.width / b.value
394
+ bar: r.value.width / x.value / Ve.value.filter((a) => a.type === "bar").filter((a) => !ae.value.includes(a.id)).length,
395
+ plot: r.value.width / x.value,
396
+ line: r.value.width / x.value
396
397
  }));
397
- function _e() {
398
- return f.value.useIndividualScale && f.value.isStacked ? J.value.line - i.value.width / b.value * 0.1 : J.value.bar;
398
+ function we() {
399
+ return f.value.useIndividualScale && f.value.isStacked ? J.value.line - r.value.width / x.value * 0.1 : J.value.bar;
399
400
  }
400
401
  function Al(a) {
401
- return f.value.useIndividualScale && f.value.isStacked ? a.x + i.value.width / b.value * 0.05 : a.x + J.value.bar / 2;
402
- }
403
- function La(a) {
404
- return a.value >= 0 ? a.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(ie.value) ? i.bottom.value : ie.value;
402
+ return f.value.useIndividualScale && f.value.isStacked ? a.x + r.value.width / x.value * 0.05 : a.x + J.value.bar / 2;
405
403
  }
406
404
  function Aa(a) {
405
+ return a.value >= 0 ? a.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(ie.value) ? r.bottom.value : ie.value;
406
+ }
407
+ function Ma(a) {
407
408
  return a.value >= 0 ? a.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(a.zeroPosition) ? 0 : a.zeroPosition;
408
409
  }
409
- function mt(a) {
410
+ function yt(a) {
410
411
  Vl(
411
412
  "selectX",
412
413
  {
413
- dataset: ke.value.map((v) => ({
414
+ dataset: _e.value.map((v) => ({
414
415
  name: v.name,
415
416
  value: [null, void 0, NaN].includes(v.absoluteValues[a]) ? null : v.absoluteValues[a],
416
417
  color: v.color,
@@ -421,7 +422,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
421
422
  }
422
423
  );
423
424
  }
424
- function yt() {
425
+ function pt() {
425
426
  return Me.value.map((a) => ({
426
427
  values: a.absoluteValues,
427
428
  color: a.color,
@@ -429,9 +430,9 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
429
430
  type: a.type
430
431
  }));
431
432
  }
432
- async function pt({ scale: a = 2 } = {}) {
433
+ async function kt({ scale: a = 2 } = {}) {
433
434
  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 });
435
+ const { width: v, height: l } = ge.value.getBoundingClientRect(), s = v / l, { imageUri: t, base64: n } = await oo({ domElement: ge.value, base64: !0, img: !0, scale: a });
435
436
  return {
436
437
  imageUri: t,
437
438
  base64: n,
@@ -441,26 +442,26 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
441
442
  aspectRatio: s
442
443
  };
443
444
  }
444
- function Ma(a) {
445
+ function za(a) {
445
446
  if (ae.value.includes(a.id))
446
447
  ae.value = ae.value.filter((v) => v !== a.id);
447
448
  else {
448
449
  if (ae.value.length + 1 === Ve.value.length) return;
449
450
  ae.value.push(a.id);
450
451
  }
451
- Vl("selectLegend", ke.value.map((v) => ({
452
+ Vl("selectLegend", _e.value.map((v) => ({
452
453
  name: v.name,
453
454
  values: v.absoluteValues,
454
455
  color: v.color,
455
456
  type: v.type
456
457
  }))), El.value += 1;
457
458
  }
458
- const kt = A(() => {
459
+ const _t = A(() => {
459
460
  const a = e.value.chart.title.text || "Chart visualization", v = e.value.chart.title.subtitle.text || "";
460
461
  return `${a}. ${v}`;
461
- }), za = A(() => ({
462
- linePlot: b.value > e.value.line.dot.hideAboveMaxSerieLength
463
- })), _t = A(() => e.value.chart.userOptions.show && (!e.value.chart.title.show || !e.value.chart.title.text)), wt = A(() => {
462
+ }), Ca = A(() => ({
463
+ linePlot: x.value > e.value.line.dot.hideAboveMaxSerieLength
464
+ })), wt = A(() => e.value.chart.userOptions.show && (!e.value.chart.title.show || !e.value.chart.title.text)), St = A(() => {
464
465
  if (Array.isArray(e.value.chart.highlightArea))
465
466
  return e.value.chart.highlightArea.map((v) => {
466
467
  const l = Math.min(v.to, He.value - 1);
@@ -474,22 +475,22 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
474
475
  to: Math.min(e.value.chart.highlightArea.to, He.value - 1)
475
476
  };
476
477
  return [{ ...a, span: a.from === a.to ? 1 : a.to < a.from ? 0 : a.to - a.from + 1 }];
477
- }), St = A(() => ia.value ? Ne.value.map((a, v) => ({
478
+ }), $t = A(() => ra.value ? Ne.value.map((a, v) => ({
478
479
  ...a,
479
480
  series: Ee({
480
481
  data: a.series,
481
482
  threshold: e.value.downsample.threshold
482
483
  }),
483
484
  id: `uniqueId_${v}`
484
- })) : Ne.value), $t = A(() => ke.value.map((a) => {
485
+ })) : Ne.value), Lt = A(() => _e.value.map((a) => {
485
486
  const v = a.absoluteValues.map((l) => [void 0, null].includes(l) ? 0 : l);
486
487
  return {
487
488
  id: a.id,
488
489
  name: a.name,
489
490
  color: a.color,
490
- values: gt(b.value, v)
491
+ values: xt(x.value, v)
491
492
  };
492
- })), Lt = A(() => ({
493
+ })), At = A(() => ({
493
494
  responsiveBreakpoint: e.value.table.responsiveBreakpoint,
494
495
  roundingValues: e.value.table.rounding,
495
496
  showAverage: !1,
@@ -512,28 +513,28 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
512
513
  userOptions: {
513
514
  show: !1
514
515
  }
515
- })), B = A(() => e.value.chart.grid.position === "middle" ? 0 : i.value.width / b.value / 2), Ze = A(() => Gt(Me.value.filter((a) => !ae.value.includes(a.id)))), p = A(() => {
516
+ })), B = A(() => e.value.chart.grid.position === "middle" ? 0 : r.value.width / x.value / 2), Ze = A(() => Xt(Me.value.filter((a) => !ae.value.includes(a.id)))), p = A(() => {
516
517
  const a = Object.groupBy(Ze.value, (l) => l.scaleLabel), v = {};
517
518
  for (const [l, s] of Object.entries(a)) {
518
519
  const t = s.flatMap((n) => n.absoluteValues);
519
520
  v[l] = {
520
521
  min: Math.min(...t) || 0,
521
522
  max: Math.max(...t) || 1,
522
- groupId: `scale_group_${aa()}`
523
+ groupId: `scale_group_${ta()}`
523
524
  };
524
525
  }
525
526
  return v;
526
- }), At = A(() => {
527
+ }), Mt = A(() => {
527
528
  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), Mt = A(() => {
529
+ return r.value.width / x.value / a - Pe.value * a;
530
+ }), Pe = A(() => J.value.line * e.value.bar.periodGap), zt = A(() => {
530
531
  if (!e.value.chart.zoom.minimap.show) return [];
531
- const a = St.value.filter((t) => !ae.value.includes(t.id)), v = Math.max(...a.map((t) => t.series.length)), l = [];
532
+ const a = $t.value.filter((t) => !ae.value.includes(t.id)), v = Math.max(...a.map((t) => t.series.length)), l = [];
532
533
  for (let t = 0; t < v; t += 1)
533
534
  l.push(a.map((n) => n.series[t] || 0).reduce((n, o) => (n || 0) + (o || 0), 0));
534
535
  const s = Math.min(...l);
535
536
  return l.map((t) => t + (s < 0 ? Math.abs(s) : 0));
536
- }), fl = A(() => ke.value.map((a) => ({
537
+ }), fl = A(() => _e.value.map((a) => ({
537
538
  slotAbsoluteIndex: a.slotAbsoluteIndex,
538
539
  shape: a.shape || null,
539
540
  name: a.name,
@@ -543,24 +544,24 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
543
544
  comments: a.comments || [],
544
545
  prefix: a.prefix || e.value.chart.labels.prefix,
545
546
  suffix: a.suffix || e.value.chart.labels.suffix
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)),
547
+ }))), Ia = A(() => ke.value.ticks.map((a) => ({
548
+ y: a >= 0 ? ie.value - r.value.height * qe(a) : ie.value + r.value.height * qe(Math.abs(a)),
548
549
  value: a,
549
550
  prefix: e.value.chart.labels.prefix,
550
551
  suffix: e.value.chart.labels.suffix
551
- }))), Ia = A(() => {
552
+ }))), Ta = A(() => {
552
553
  const a = e.value.chart.annotations;
553
554
  if (!a || !Array.isArray(a) || a.every(($) => !$.show)) return [];
554
555
  const v = a.filter(
555
556
  ($) => $.show && ($.yAxis.yTop != null || $.yAxis.yBottom != null)
556
557
  );
557
558
  if (!v.length) return [];
558
- const { left: l, right: s } = i.value, t = ie.value, n = i.value.height, o = pe.value.min, F = pe.value.max - o, le = ($) => {
559
+ const { left: l, right: s } = r.value, t = ie.value, n = r.value.height, o = ke.value.min, F = ke.value.max - o, le = ($) => {
559
560
  const I = ($ - 0) / F;
560
561
  return t - I * n;
561
562
  };
562
563
  return v.map(($) => {
563
- const { yAxis: { yTop: I, yBottom: X, label: S } } = $, R = I != null && X != null && I !== X, L = I == null ? null : le(I), te = X == null ? null : le(X), re = vt(S.fontSize);
564
+ const { yAxis: { yTop: I, yBottom: X, label: S } } = $, R = I != null && X != null && I !== X, L = I == null ? null : le(I), te = X == null ? null : le(X), re = dt(S.fontSize);
564
565
  re.font = `${S.fontSize}px sans-serif`;
565
566
  const D = re.measureText(S.text).width, be = S.fontSize, Ce = (S.position === "start" ? l + S.padding.left : s - S.padding.right) + S.offsetX, he = (L != null && te != null ? Math.min(L, te) : L ?? te) - S.fontSize / 3 + S.offsetY - S.padding.top;
566
567
  let V;
@@ -568,7 +569,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
568
569
  const P = he - be * 0.75 - S.padding.top;
569
570
  return {
570
571
  show: ![L, te, P].includes(NaN),
571
- id: `annotation_y_${aa()}`,
572
+ id: `annotation_y_${ta()}`,
572
573
  hasArea: R,
573
574
  areaHeight: R ? Math.abs(L - te) : 0,
574
575
  yTop: L,
@@ -591,9 +592,9 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
591
592
  };
592
593
  });
593
594
  }), 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;
595
+ 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 = r.value.height - t;
595
596
  return a.filter((o) => o.type === "bar").map((o, Y) => {
596
- Ql(o);
597
+ jl(o);
597
598
  const F = p.value[o.scaleLabel].min, le = p.value[o.scaleLabel].max;
598
599
  o.absoluteValues.filter((N) => ![null, void 0].includes(N)).map((N) => (N - F) / (le - F));
599
600
  const $ = {
@@ -602,29 +603,29 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
602
603
  }, I = {
603
604
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
604
605
  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)))
605
- }, X = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, S = 1.0000001, R = e.value.chart.grid.labels.yAxis.useNiceScale ? pl(I.min, I.max === I.min ? I.max * S : I.max, X) : el(I.min, I.max === I.min ? I.max * S : I.max, X), L = e.value.chart.grid.labels.yAxis.useNiceScale ? pl($.valueMin, $.valueMax === $.valueMin ? $.valueMax * S : $.valueMax, X) : el($.valueMin, $.valueMax === $.valueMin ? $.valueMax * S : $.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, ne = Me.value.filter((N) => N.type === "bar").filter((N) => !ae.value.includes(N.id)).length, bl = o.series.map((N, j) => {
606
- const Ye = f.value.useIndividualScale ? (o.absoluteValues[j] + te) / D : qe(N), Je = f.value.useIndividualScale && f.value.isStacked ? i.value.left + i.value.width / b.value * j : i.value.left + J.value.bar * Y + J.value.bar * j * ne - At.value / 2 - Y * Pe.value;
606
+ }, X = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, S = 1.0000001, R = e.value.chart.grid.labels.yAxis.useNiceScale ? pl(I.min, I.max === I.min ? I.max * S : I.max, X) : el(I.min, I.max === I.min ? I.max * S : I.max, X), L = e.value.chart.grid.labels.yAxis.useNiceScale ? pl($.valueMin, $.valueMax === $.valueMin ? $.valueMax * S : $.valueMax, X) : el($.valueMin, $.valueMax === $.valueMin ? $.valueMax * S : $.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 : r.value.height, K = r.value.bottom - V - P * te / D, fe = r.value.bottom - V - P * re / be, ne = Me.value.filter((N) => N.type === "bar").filter((N) => !ae.value.includes(N.id)).length, bl = o.series.map((N, j) => {
607
+ const Ye = f.value.useIndividualScale ? (o.absoluteValues[j] + te) / D : qe(N), Je = f.value.useIndividualScale && f.value.isStacked ? r.value.left + r.value.width / x.value * j : r.value.left + J.value.bar * Y + J.value.bar * j * ne - Mt.value / 2 - Y * Pe.value;
607
608
  return {
608
609
  yOffset: T(V),
609
610
  individualHeight: T(P),
610
611
  x: T(Je),
611
- y: i.value.bottom - V - P * Ye,
612
+ y: r.value.bottom - V - P * Ye,
612
613
  value: o.absoluteValues[j],
613
614
  zeroPosition: T(K),
614
615
  individualMax: T(D),
615
- comment: o.comments && o.comments.slice(_.value.start, _.value.end)[j] || ""
616
+ comment: o.comments && o.comments.slice(w.value.start, w.value.end)[j] || ""
616
617
  };
617
618
  }), 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, j) => {
618
- const Ye = f.value.useIndividualScale && f.value.isStacked ? i.value.left + i.value.width / b.value * j : i.value.left - J.value.bar / 2 + J.value.bar * Y + J.value.bar * j * Me.value.filter((Je) => Je.type === "bar").filter((Je) => !ae.value.includes(Je.id)).length;
619
+ const Ye = f.value.useIndividualScale && f.value.isStacked ? r.value.left + r.value.width / x.value * j : r.value.left - J.value.bar / 2 + J.value.bar * Y + J.value.bar * j * Me.value.filter((Je) => Je.type === "bar").filter((Je) => !ae.value.includes(Je.id)).length;
619
620
  return {
620
621
  yOffset: T(V),
621
622
  individualHeight: T(P),
622
623
  x: T(Ye),
623
- y: T(i.value.bottom - T(V) - (T(P) * ve[j] || 0)),
624
+ y: T(r.value.bottom - T(V) - (T(P) * ve[j] || 0)),
624
625
  value: o.absoluteValues[j],
625
626
  zeroPosition: T(K),
626
627
  individualMax: T(D),
627
- comment: o.comments && o.comments.slice(_.value.start, _.value.end)[j] || ""
628
+ comment: o.comments && o.comments.slice(w.value.start, w.value.end)[j] || ""
628
629
  };
629
630
  }), E = R.ticks.map((N) => ({
630
631
  y: N >= 0 ? K - P * (N / D) : K + P * Math.abs(N) / D,
@@ -655,10 +656,10 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
655
656
  groupId: p.value[o.scaleLabel].groupId
656
657
  };
657
658
  });
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;
659
+ }), Se = A(() => {
660
+ 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 = r.value.height - t;
660
661
  return a.filter((o) => o.type === "line").map((o, Y) => {
661
- Ql(o);
662
+ jl(o);
662
663
  const F = p.value[o.scaleLabel].min, le = p.value[o.scaleLabel].max;
663
664
  o.absoluteValues.filter((C) => ![null, void 0].includes(C)).map((C) => (C - F) / (le - F));
664
665
  const $ = {
@@ -667,25 +668,25 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
667
668
  }, I = {
668
669
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
669
670
  min: o.scaleMin || (Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues))
670
- }, X = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, S = 1.0000001, R = e.value.chart.grid.labels.yAxis.useNiceScale ? pl(I.min, I.max === I.min ? I.max * S : I.max, X) : el(I.min, I.max === I.min ? I.max * S : I.max, X), L = e.value.chart.grid.labels.yAxis.useNiceScale ? pl($.valueMin, $.valueMax === $.valueMin ? $.valueMax * S : $.valueMax, X) : el($.valueMin, $.valueMax === $.valueMin ? $.valueMax * S : $.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, ne = o.series.map((C, oe) => {
671
- const It = f.value.useIndividualScale ? (o.absoluteValues[oe] + Math.abs(te)) / D : qe(C);
671
+ }, X = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, S = 1.0000001, R = e.value.chart.grid.labels.yAxis.useNiceScale ? pl(I.min, I.max === I.min ? I.max * S : I.max, X) : el(I.min, I.max === I.min ? I.max * S : I.max, X), L = e.value.chart.grid.labels.yAxis.useNiceScale ? pl($.valueMin, $.valueMax === $.valueMin ? $.valueMax * S : $.valueMax, X) : el($.valueMin, $.valueMax === $.valueMin ? $.valueMax * S : $.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 : r.value.height, K = r.value.bottom - V - P * te / D, fe = r.value.bottom - V - P * re / be, ne = o.series.map((C, oe) => {
672
+ const Tt = f.value.useIndividualScale ? (o.absoluteValues[oe] + Math.abs(te)) / D : qe(C);
672
673
  return {
673
- x: T(i.value.left + J.value.line / 2 + J.value.line * oe),
674
- y: T(i.value.bottom - V - P * It),
674
+ x: T(r.value.left + J.value.line / 2 + J.value.line * oe),
675
+ y: T(r.value.bottom - V - P * Tt),
675
676
  value: o.absoluteValues[oe],
676
- comment: o.comments && o.comments.slice(_.value.start, _.value.end)[oe] || ""
677
+ comment: o.comments && o.comments.slice(w.value.start, w.value.end)[oe] || ""
677
678
  };
678
679
  }), 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]) ? {
679
- x: T(i.value.left + J.value.line / 2 + J.value.line * oe),
680
+ x: T(r.value.left + J.value.line / 2 + J.value.line * oe),
680
681
  y: K,
681
682
  value: o.absoluteValues[oe],
682
- comment: o.comments && o.comments.slice(_.value.start, _.value.end)[oe] || ""
683
+ comment: o.comments && o.comments.slice(w.value.start, w.value.end)[oe] || ""
683
684
  } : {
684
- x: T(i.value.left + J.value.line / 2 + J.value.line * oe),
685
- y: T(i.value.bottom - V - (P * bl[oe] || 0)),
685
+ x: T(r.value.left + J.value.line / 2 + J.value.line * oe),
686
+ y: T(r.value.bottom - V - (P * bl[oe] || 0)),
686
687
  value: o.absoluteValues[oe],
687
- comment: o.comments && o.comments.slice(_.value.start, _.value.end)[oe] || ""
688
- }), Be = e.value.line.cutNullValues ? Ea(ne) : Wa(ne.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(ne) : Xa(ne.filter((C) => C.value !== null)), N = e.value.line.cutNullValues ? Ga(ve) : Xa(ve.filter((C) => C.value !== null)), j = R.ticks.map((C) => ({
688
+ comment: o.comments && o.comments.slice(w.value.start, w.value.end)[oe] || ""
689
+ }), Be = e.value.line.cutNullValues ? Wa(ne) : Ga(ne.filter((C) => C.value !== null)), E = e.value.line.cutNullValues ? Wa(ve) : Ga(ve.filter((C) => C.value !== null)), Q = e.value.line.cutNullValues ? Xa(ne) : Da(ne.filter((C) => C.value !== null)), N = e.value.line.cutNullValues ? Xa(ve) : Da(ve.filter((C) => C.value !== null)), j = R.ticks.map((C) => ({
689
690
  y: C >= 0 ? K - P * (C / D) : K + P * Math.abs(C) / D,
690
691
  value: C,
691
692
  prefix: o.prefix || e.value.chart.labels.prefix,
@@ -702,7 +703,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
702
703
  };
703
704
  });
704
705
  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 : j, 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, ml = Math.max(Math.max(o.autoScaling ? fe : j.at(-1) ? j.at(-1).y : 0, i.value.top), Je);
706
+ const Je = f.value.useIndividualScale ? o.autoScaling ? fe : K : ie.value, ml = Math.max(Math.max(o.autoScaling ? fe : j.at(-1) ? j.at(-1).y : 0, r.value.top), Je);
706
707
  return {
707
708
  ...o,
708
709
  yOffset: V,
@@ -714,14 +715,14 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
714
715
  zeroPosition: o.autoScaling ? fe : K,
715
716
  curve: o.autoScaling ? E : Be,
716
717
  plots: o.autoScaling ? ve : ne,
717
- area: o.useArea ? f.value.useIndividualScale ? e.value.line.cutNullValues ? Da(
718
+ area: o.useArea ? f.value.useIndividualScale ? e.value.line.cutNullValues ? Ua(
718
719
  o.autoScaling ? ve : ne,
719
720
  ml
720
- ) : Ua(
721
+ ) : qa(
721
722
  o.autoScaling ? ve.filter((C) => C.value !== null) : ne.filter((C) => C.value !== null),
722
723
  ml
723
- ) : e.value.line.cutNullValues ? Da(ne, ml) : Ua(ne.filter((C) => C.value !== null), ml) : "",
724
- curveAreas: o.useArea ? Xt(
724
+ ) : e.value.line.cutNullValues ? Ua(ne, ml) : qa(ne.filter((C) => C.value !== null), ml) : "",
725
+ curveAreas: o.useArea ? Dt(
725
726
  o.autoScaling ? e.value.line.cutNullValues ? ve : ve.filter((C) => C.value !== null) : e.value.line.cutNullValues ? ne : ne.filter((C) => C.value !== null),
726
727
  ml,
727
728
  e.value.line.cutNullValues
@@ -731,9 +732,9 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
731
732
  };
732
733
  });
733
734
  }), 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;
735
+ 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 = r.value.height - t;
735
736
  return a.filter((o) => o.type === "plot").map((o) => {
736
- Ql(o);
737
+ jl(o);
737
738
  const Y = p.value[o.scaleLabel].min, F = p.value[o.scaleLabel].max;
738
739
  o.absoluteValues.filter((E) => ![null, void 0].includes(E)).map((E) => (E - Y) / (F - Y));
739
740
  const le = {
@@ -742,19 +743,19 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
742
743
  }, $ = {
743
744
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
744
745
  min: o.scaleMin || Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues)
745
- }, I = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, X = 1.0000001, S = el($.min, $.max === $.min ? $.max * X : $.max, I), R = el(le.valueMin, le.valueMax === le.valueMin ? le.valueMax * X : le.valueMax, I), L = S.min >= 0 ? 0 : Math.abs(S.min), te = 0, re = S.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
+ }, I = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, X = 1.0000001, S = el($.min, $.max === $.min ? $.max * X : $.max, I), R = el(le.valueMin, le.valueMax === le.valueMin ? le.valueMax * X : le.valueMax, I), L = S.min >= 0 ? 0 : Math.abs(S.min), te = 0, re = S.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 : r.value.height, P = r.value.bottom - he - V * L / re, K = r.value.bottom - he - V * te / D, fe = o.series.map((E, Q) => {
746
747
  const N = f.value.useIndividualScale ? (o.absoluteValues[Q] + Math.abs(L)) / re : qe(E);
747
748
  return {
748
- x: T(i.value.left + J.value.plot / 2 + J.value.plot * Q),
749
- y: T(i.value.bottom - he - V * N),
749
+ x: T(r.value.left + J.value.plot / 2 + J.value.plot * Q),
750
+ y: T(r.value.bottom - he - V * N),
750
751
  value: o.absoluteValues[Q],
751
- comment: o.comments && o.comments.slice(_.value.start, _.value.end)[Q] || ""
752
+ comment: o.comments && o.comments.slice(w.value.start, w.value.end)[Q] || ""
752
753
  };
753
754
  }), ne = 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) => ({
754
- x: T(i.value.left + J.value.plot / 2 + J.value.plot * Q),
755
- y: T(i.value.bottom - he - (V * ne[Q] || 0)),
755
+ x: T(r.value.left + J.value.plot / 2 + J.value.plot * Q),
756
+ y: T(r.value.bottom - he - (V * ne[Q] || 0)),
756
757
  value: o.absoluteValues[Q],
757
- comment: o.comments && o.comments.slice(_.value.start, _.value.end)[Q] || ""
758
+ comment: o.comments && o.comments.slice(w.value.start, w.value.end)[Q] || ""
758
759
  })), ve = S.ticks.map((E) => ({
759
760
  y: E >= 0 ? P - V * (E / re) : P + V * Math.abs(E) / re,
760
761
  value: E,
@@ -785,7 +786,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
785
786
  };
786
787
  });
787
788
  }), gl = A(() => {
788
- const a = we.value.map((n) => ({
789
+ const a = Se.value.map((n) => ({
789
790
  name: n.name,
790
791
  color: n.color,
791
792
  scale: n.individualScale,
@@ -795,7 +796,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
795
796
  scaleLabel: n.scaleLabel || "",
796
797
  id: n.id,
797
798
  yOffset: n.yOffset || 0,
798
- individualHeight: n.individualHeight || i.value.height,
799
+ individualHeight: n.individualHeight || r.value.height,
799
800
  autoScaleYLabels: n.autoScaleYLabels
800
801
  })), v = Re.value.map((n) => ({
801
802
  name: n.name,
@@ -807,7 +808,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
807
808
  scaleLabel: n.scaleLabel || "",
808
809
  id: n.id,
809
810
  yOffset: n.yOffset || 0,
810
- individualHeight: n.individualHeight || i.value.height
811
+ individualHeight: n.individualHeight || r.value.height
811
812
  })), l = ze.value.map((n) => ({
812
813
  name: n.name,
813
814
  color: n.color,
@@ -819,11 +820,11 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
819
820
  scaleLabel: n.scaleLabel || "",
820
821
  id: n.id,
821
822
  yOffset: n.yOffset || 0,
822
- individualHeight: n.individualHeight || i.value.height
823
+ individualHeight: n.individualHeight || r.value.height
823
824
  })), s = f.value.useIndividualScale && !f.value.isStacked ? Object.values(p.value) : [...a, ...v, ...l], t = s.flatMap((n) => n).length;
824
825
  return s.flatMap((n, o) => {
825
826
  let Y = 0;
826
- return G.value ? Y = f.value.isStacked ? i.value.left : i.value.left - o * (e.value.chart.grid.labels.yAxis.labelWidth + x.value.dataLabels * 2) : Y = f.value.isStacked ? i.value.left : i.value.left / t * (o + 1), {
827
+ return G.value ? Y = f.value.isStacked ? r.value.left : r.value.left - o * (e.value.chart.grid.labels.yAxis.labelWidth + g.value.dataLabels * 2) : Y = f.value.isStacked ? r.value.left : r.value.left / t * (o + 1), {
827
828
  unique: n.unique,
828
829
  id: n.id,
829
830
  groupId: n.groupId,
@@ -840,33 +841,33 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
840
841
  }))
841
842
  };
842
843
  });
843
- }), Ta = A(() => ({
844
+ }), Oa = A(() => ({
844
845
  datapoint: fl.value,
845
846
  seriesIndex: k.value,
846
847
  series: Me.value,
847
848
  bars: Re.value,
848
- lines: we.value,
849
+ lines: Se.value,
849
850
  plots: ze.value,
850
851
  config: e.value
851
- })), zt = A(() => {
852
+ })), Ct = A(() => {
852
853
  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);
853
854
  const l = de.value[k.value], s = e.value.chart.tooltip.customFormat;
854
- return Dt(s) && Ut(() => s({
855
- absoluteIndex: k.value + _.value.start,
855
+ return Ut(s) && qt(() => s({
856
+ absoluteIndex: k.value + w.value.start,
856
857
  seriesIndex: k.value,
857
858
  datapoint: fl.value,
858
859
  series: Me.value,
859
860
  bars: Re.value,
860
- lines: we.value,
861
+ lines: Se.value,
861
862
  plots: ze.value,
862
863
  config: e.value
863
864
  })) ? s({
864
- absoluteIndex: k.value + _.value.start,
865
+ absoluteIndex: k.value + w.value.start,
865
866
  seriesIndex: k.value,
866
867
  datapoint: fl.value,
867
868
  series: Me.value,
868
869
  bars: Re.value,
869
- lines: we.value,
870
+ lines: Se.value,
870
871
  plots: ze.value,
871
872
  config: e.value
872
873
  }) : (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) => {
@@ -874,10 +875,10 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
874
875
  let n = "", o = "";
875
876
  switch (vl.value[t.type]) {
876
877
  case "bar":
877
- 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>`;
878
+ n = `<svg viewBox="0 0 40 40" height="14" width="14">${ua.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="${ua.pattern ? `url(#pattern_${q.value}_${t.slotAbsoluteIndex}` : t.color}" /></svg>`;
878
879
  break;
879
880
  case "line":
880
- !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="${qa({ 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>`;
881
+ !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="${Za({ 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>`;
881
882
  break;
882
883
  case "plot":
883
884
  if (!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape)) {
@@ -885,7 +886,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
885
886
  break;
886
887
  }
887
888
  if (t.shape === "star") {
888
- 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="${qa({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
889
+ 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="${Za({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
889
890
  break;
890
891
  }
891
892
  if (t.shape === "triangle") {
@@ -912,50 +913,50 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
912
913
  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 ? ce(
913
914
  t.type === "line" ? e.value.line.labels.formatter : t.type === "bar" ? e.value.bar.labels.formatter : e.value.plot.labels.formatter,
914
915
  t.value,
915
- me({
916
+ ye({
916
917
  p: t.prefix,
917
918
  v: t.value,
918
919
  s: t.suffix,
919
920
  r: e.value.chart.tooltip.roundingValue
920
921
  }),
921
922
  { datapoint: t }
922
- ) : ""}</b> ${e.value.chart.tooltip.showPercentage ? `(${me({
923
+ ) : ""}</b> ${e.value.chart.tooltip.showPercentage ? `(${ye({
923
924
  v: T(Math.abs(t.value) / v * 100),
924
925
  s: "%",
925
926
  r: e.value.chart.tooltip.roundingPercentage
926
- })})` : ""}</div>`, e.value.chart.comments.showInTooltip && t.comments.length && t.comments.slice(_.value.start, _.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(_.value.start, _.value.end)[k.value]}</div>`);
927
+ })})` : ""}</div>`, e.value.chart.comments.showInTooltip && t.comments.length && t.comments.slice(w.value.start, w.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(w.value.start, w.value.end)[k.value]}</div>`);
927
928
  }
928
929
  }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${e.value.chart.tooltip.color}">${a}</div>`);
929
930
  });
930
931
  A(() => {
931
932
  if (Ve.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
932
- const a = ke.value.map((l) => ({
933
+ const a = _e.value.map((l) => ({
933
934
  label: l.name,
934
935
  color: l.color,
935
936
  type: l.type
936
937
  })), v = [];
937
938
  return de.value.forEach((l, s) => {
938
939
  const t = [l.text];
939
- ke.value.forEach((n) => {
940
+ _e.value.forEach((n) => {
940
941
  t.push(xe(n.absoluteValues[s]) ? Number(n.absoluteValues[s].toFixed(e.value.table.rounding)) : "");
941
942
  }), v.push(t);
942
943
  }), { head: a, body: v };
943
944
  });
944
945
  const Ml = A(() => {
945
946
  const a = e.value.table.showSum;
946
- let v = [""].concat(ke.value.map((n) => n.name));
947
+ let v = [""].concat(_e.value.map((n) => n.name));
947
948
  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>'));
948
949
  let l = [];
949
- for (let n = 0; n < b.value; n += 1) {
950
- const o = ke.value.map((Y) => Y.absoluteValues[n] ?? 0).reduce((Y, F) => Y + F, 0);
950
+ for (let n = 0; n < x.value; n += 1) {
951
+ const o = _e.value.map((Y) => Y.absoluteValues[n] ?? 0).reduce((Y, F) => Y + F, 0);
951
952
  l.push(
952
953
  [
953
954
  de.value[n].text ?? "-"
954
- ].concat(ke.value.map(
955
+ ].concat(_e.value.map(
955
956
  (Y) => ce(
956
957
  Y.type === "line" ? e.value.line.labels.formatter : Y.type === "bar" ? e.value.bar.labels.formatter : e.value.plot.labels.formatter,
957
958
  Y.absoluteValues[n] ?? 0,
958
- me({
959
+ ye({
959
960
  p: Y.prefix || e.value.chart.labels.prefix,
960
961
  v: Y.absoluteValues[n] ?? 0,
961
962
  s: Y.suffix || e.value.chart.labels.suffix,
@@ -977,52 +978,52 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
977
978
  outline: e.value.table.td.outline
978
979
  },
979
980
  breakpoint: e.value.table.responsiveBreakpoint
980
- }, t = [e.value.table.columnNames.period].concat(ke.value.map((n) => n.name)).concat(e.value.table.columnNames.total);
981
+ }, t = [e.value.table.columnNames.period].concat(_e.value.map((n) => n.name)).concat(e.value.table.columnNames.total);
981
982
  return { head: v, body: l, config: s, colNames: t };
982
983
  });
983
- function Oa(a = null) {
984
- 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);
985
- a ? a(n) : jt({ csvContent: n, title: e.value.chart.title.text || "vue-ui-xy" });
984
+ function Na(a = null) {
985
+ 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);
986
+ a ? a(n) : eo({ csvContent: n, title: e.value.chart.title.text || "vue-ui-xy" });
986
987
  }
987
- function Na(a, v = null) {
988
- ra.value = a, a ? k.value = v : k.value = null;
988
+ function Va(a, v = null) {
989
+ na.value = a, a ? k.value = v : k.value = null;
989
990
  }
990
- function Va() {
991
+ function Pa() {
991
992
  f.value.showTable = !f.value.showTable;
992
993
  }
993
- function Pa() {
994
+ function Ha() {
994
995
  f.value.dataLabels.show = !f.value.dataLabels.show;
995
996
  }
996
- function Ha() {
997
+ function Ra() {
997
998
  f.value.showTooltip = !f.value.showTooltip;
998
999
  }
999
- function Ra(a) {
1000
- tl.value = a, na.value += 1;
1000
+ function Ba(a) {
1001
+ tl.value = a, ca.value += 1;
1001
1002
  }
1002
- function Ba() {
1003
+ function Ya() {
1003
1004
  if (!e.value.responsiveProportionalSizing) {
1004
- 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;
1005
+ g.value.dataLabels = e.value.chart.grid.labels.fontSize, g.value.yAxis = e.value.chart.grid.labels.axis.fontSize, g.value.xAxis = e.value.chart.grid.labels.xAxisLabels.fontSize, g.value.plotLabels = e.value.chart.labels.fontSize, Ae.value.plot = e.value.plot.radius, Ae.value.line = e.value.line.radius;
1005
1006
  return;
1006
1007
  }
1007
- x.value.dataLabels = il({
1008
+ g.value.dataLabels = il({
1008
1009
  relator: ue.value,
1009
1010
  adjuster: 400,
1010
1011
  source: e.value.chart.grid.labels.fontSize,
1011
1012
  threshold: 10,
1012
1013
  fallback: 10
1013
- }), x.value.yAxis = il({
1014
+ }), g.value.yAxis = il({
1014
1015
  relator: Z.value,
1015
1016
  adjuster: 1e3,
1016
1017
  source: e.value.chart.grid.labels.axis.fontSize,
1017
1018
  threshold: 10,
1018
1019
  fallback: 10
1019
- }), x.value.xAxis = il({
1020
+ }), g.value.xAxis = il({
1020
1021
  relator: Z.value,
1021
1022
  adjuster: 1e3,
1022
1023
  source: e.value.chart.grid.labels.xAxisLabels.fontSize,
1023
1024
  threshold: 10,
1024
1025
  fallback: 10
1025
- }), x.value.plotLabels = il({
1026
+ }), g.value.plotLabels = il({
1026
1027
  relator: Z.value,
1027
1028
  adjuster: 800,
1028
1029
  source: e.value.chart.labels.fontSize,
@@ -1043,13 +1044,13 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1043
1044
  });
1044
1045
  }
1045
1046
  const xl = A(() => !!e.value.debug);
1046
- function Ya() {
1047
- Za(y.dataset) ? (ta({
1047
+ function Fa() {
1048
+ Ja(y.dataset) ? (oa({
1048
1049
  componentName: "VueUiXy",
1049
1050
  type: "dataset",
1050
1051
  debug: xl.value
1051
1052
  }), Sl.value = !0) : y.dataset.forEach((v, l) => {
1052
- [null, void 0].includes(v.name) && (ta({
1053
+ [null, void 0].includes(v.name) && (oa({
1053
1054
  componentName: "VueUiXy",
1054
1055
  type: "datasetSerieAttribute",
1055
1056
  property: "name (string)",
@@ -1062,7 +1063,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1062
1063
  -----> The serie '${v.name}' contains the value '${l}' at index ${s}.
1063
1064
  '${l}' was converted to null to allow the chart to display.`);
1064
1065
  });
1065
- }), Za(y.dataset) || (Sl.value = e.value.loading), da.value = e.value.chart.userOptions.showOnChartHover, Wl.value = e.value.chart.userOptions.keepStateOnChartLeave, _l.value = !e.value.chart.userOptions.showOnChartHover, f.value = {
1066
+ }), Ja(y.dataset) || (Sl.value = e.value.loading), ha.value = e.value.chart.userOptions.showOnChartHover, Wl.value = e.value.chart.userOptions.keepStateOnChartLeave, _l.value = !e.value.chart.userOptions.showOnChartHover, f.value = {
1066
1067
  dataLabels: {
1067
1068
  show: !0
1068
1069
  },
@@ -1085,55 +1086,55 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1085
1086
  let I = 0;
1086
1087
  nl.value && (I = nl.value.getBoundingClientRect().height);
1087
1088
  let X = 0;
1088
- 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();
1089
+ 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}`, Ya();
1089
1090
  const S = new ResizeObserver((R) => {
1090
1091
  for (const L of R)
1091
1092
  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(() => {
1092
- 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, rt.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();
1093
+ ue.value = L.contentRect.height - o - $ - F - I - X - (G.value ? 48 : a), G.value ? (fa.value = L.contentRect.height - ue.value, Z.value = L.contentBoxSize[0].inlineSize, nt.value = Z.value / fa.value, ol()) : (Z.value = L.contentBoxSize[0].inlineSize, De.value = `0 0 ${Z.value < 0 ? 10 : Z.value} ${ue.value < 0 ? 10 : ue.value}`), Ya();
1093
1094
  });
1094
1095
  });
1095
1096
  Xe.value = S, Yl.value = l, S.observe(l);
1096
1097
  } else
1097
- 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}`;
1098
+ ue.value = e.value.chart.height, Z.value = e.value.chart.width, g.value.dataLabels = e.value.chart.grid.labels.fontSize, g.value.yAxis = e.value.chart.grid.labels.axis.fontSize, g.value.xAxis = e.value.chart.grid.labels.xAxisLabels.fontSize, g.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}`;
1098
1099
  }
1099
- ea(() => {
1100
- Ya(), jl(), document.addEventListener("mousemove", (a) => {
1101
- it.value = {
1100
+ la(() => {
1101
+ Fa(), ea(), document.addEventListener("mousemove", (a) => {
1102
+ rt.value = {
1102
1103
  x: a.clientX,
1103
1104
  y: a.clientY
1104
1105
  };
1105
- }), document.addEventListener("scroll", ya);
1106
- }), Fa(() => {
1107
- document.removeEventListener("scroll", ya), Xe.value && (Xe.value.unobserve(Yl.value), Xe.value.disconnect());
1106
+ }), document.addEventListener("scroll", pa);
1107
+ }), Ea(() => {
1108
+ document.removeEventListener("scroll", pa), Xe.value && (Xe.value.unobserve(Yl.value), Xe.value.disconnect());
1108
1109
  }), Cl(() => f.value.isStacked, async () => {
1109
- G.value && (await Se(), ol(), Kl());
1110
+ G.value && (await me(), ol(), Ql());
1110
1111
  });
1111
1112
  let zl;
1112
- async function Ct() {
1113
- await Se(), ol(), Kl(), zl.disconnect();
1113
+ async function It() {
1114
+ await me(), ol(), Ql(), zl.disconnect();
1114
1115
  }
1115
- return ea(() => {
1116
+ return la(() => {
1116
1117
  ge.value && (zl = new ResizeObserver((a) => {
1117
1118
  for (const v of a) {
1118
1119
  const { width: l, height: s } = v.contentRect;
1119
1120
  if (l > 0 && s > 0) {
1120
- Ct();
1121
+ It();
1121
1122
  break;
1122
1123
  }
1123
1124
  }
1124
1125
  }), zl.observe(ge.value.parentElement));
1125
- }), Fa(() => {
1126
+ }), Ea(() => {
1126
1127
  zl?.disconnect();
1127
1128
  }), Cl(() => y.dataset, (a) => {
1128
1129
  Array.isArray(a) && a.length > 0 && (Sl.value = !1), He.value = Math.max(...Ne.value.map((v) => Ee({
1129
1130
  data: v.series,
1130
1131
  threshold: e.value.downsample.threshold
1131
- }).length)), _.value = {
1132
+ }).length)), w.value = {
1132
1133
  start: 0,
1133
1134
  end: He.value
1134
1135
  }, Fl.value += 1, El.value += 1;
1135
1136
  }, { deep: !0 }), Cl(() => y.config, (a) => {
1136
- Dl.value || (e.value = Gl()), Ya(), va.value += 1, ca.value += 1, f.value = {
1137
+ Dl.value || (e.value = Gl()), Fa(), da.value += 1, va.value += 1, f.value = {
1137
1138
  dataLabels: {
1138
1139
  show: !0
1139
1140
  },
@@ -1152,51 +1153,51 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1152
1153
  isStacked: e.value.chart.grid.labels.yAxis.stacked,
1153
1154
  useIndividualScale: e.value.chart.grid.labels.yAxis.useIndividualScale
1154
1155
  };
1155
- }, { immediate: !0 }), Ja({
1156
- getData: yt,
1157
- getImage: pt,
1158
- generatePdf: ga,
1159
- generateImage: xa,
1160
- generateCsv: Oa,
1161
- toggleStack: _a,
1162
- toggleTable: Va,
1163
- toggleLabels: Pa,
1164
- toggleTooltip: Ha,
1165
- toggleAnnotator: Jl,
1166
- toggleFullscreen: Ra
1167
- }), (a, v) => (u(), r("div", {
1156
+ }, { immediate: !0 }), Ka({
1157
+ getData: pt,
1158
+ getImage: kt,
1159
+ generatePdf: xa,
1160
+ generateImage: ba,
1161
+ generateCsv: Na,
1162
+ toggleStack: wa,
1163
+ toggleTable: Pa,
1164
+ toggleLabels: Ha,
1165
+ toggleTooltip: Ra,
1166
+ toggleAnnotator: Kl,
1167
+ toggleFullscreen: Ba
1168
+ }), (a, v) => (u(), i("div", {
1168
1169
  id: `vue-ui-xy_${q.value}`,
1169
1170
  class: Ke(`vue-ui-xy ${tl.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1170
1171
  ref_key: "chart",
1171
1172
  ref: ge,
1172
1173
  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%" : ""}`),
1173
- onMouseenter: v[7] || (v[7] = () => pa(!0)),
1174
- onMouseleave: v[8] || (v[8] = () => pa(!1))
1174
+ onMouseenter: v[7] || (v[7] = () => ka(!0)),
1175
+ onMouseleave: v[8] || (v[8] = () => ka(!1))
1175
1176
  }, [
1176
- e.value.chart.userOptions.buttons.annotator && ye.value ? (u(), Ie(c(st), {
1177
+ e.value.chart.userOptions.buttons.annotator && pe.value ? (u(), Ie(c(ut), {
1177
1178
  key: 0,
1178
- svgRef: ye.value,
1179
+ svgRef: pe.value,
1179
1180
  backgroundColor: e.value.chart.backgroundColor,
1180
1181
  color: e.value.chart.color,
1181
1182
  active: kl.value,
1182
- onClose: Jl
1183
+ onClose: Kl
1183
1184
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
1184
- _t.value ? (u(), r("div", {
1185
+ wt.value ? (u(), i("div", {
1185
1186
  key: 1,
1186
1187
  ref_key: "noTitle",
1187
1188
  ref: cl,
1188
1189
  class: "vue-data-ui-no-title-space",
1189
1190
  style: "height:36px; width: 100%; background:transparent"
1190
1191
  }, null, 512)) : d("", !0),
1191
- e.value.chart.title.show ? (u(), r("div", {
1192
+ e.value.chart.title.show ? (u(), i("div", {
1192
1193
  key: 2,
1193
1194
  ref_key: "chartTitle",
1194
1195
  ref: rl,
1195
1196
  class: "vue-ui-xy-title",
1196
1197
  style: z(`font-family:${e.value.chart.fontFamily}`)
1197
1198
  }, [
1198
- (u(), Ie(ao, {
1199
- key: `title_${va.value}`,
1199
+ (u(), Ie(to, {
1200
+ key: `title_${da.value}`,
1200
1201
  config: {
1201
1202
  title: {
1202
1203
  cy: "xy-div-title",
@@ -1209,13 +1210,13 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1209
1210
  }
1210
1211
  }, null, 8, ["config"]))
1211
1212
  ], 4)) : d("", !0),
1212
- e.value.chart.userOptions.show && (Wl.value || _l.value) ? (u(), Ie(c(et), {
1213
+ e.value.chart.userOptions.show && (Wl.value || _l.value) ? (u(), Ie(c(lt), {
1213
1214
  ref: "defails",
1214
- key: `user_options_${na.value}`,
1215
+ key: `user_options_${ca.value}`,
1215
1216
  backgroundColor: e.value.chart.backgroundColor,
1216
1217
  color: e.value.chart.color,
1217
1218
  isPrinting: c(Ul),
1218
- isImaging: c(fa),
1219
+ isImaging: c(ga),
1219
1220
  uid: q.value,
1220
1221
  hasTooltip: e.value.chart.userOptions.buttons.tooltip && e.value.chart.tooltip.show,
1221
1222
  hasPdf: e.value.chart.userOptions.buttons.pdf,
@@ -1235,19 +1236,19 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1235
1236
  isAnnotation: kl.value,
1236
1237
  callbacks: e.value.chart.userOptions.callbacks,
1237
1238
  printScale: e.value.chart.userOptions.print.scale,
1238
- onToggleFullscreen: Ra,
1239
- onGeneratePdf: c(ga),
1240
- onGenerateCsv: Oa,
1241
- onGenerateImage: c(xa),
1242
- onToggleTable: Va,
1243
- onToggleLabels: Pa,
1244
- onToggleStack: _a,
1245
- onToggleTooltip: Ha,
1246
- onToggleAnnotator: Jl,
1239
+ onToggleFullscreen: Ba,
1240
+ onGeneratePdf: c(xa),
1241
+ onGenerateCsv: Na,
1242
+ onGenerateImage: c(ba),
1243
+ onToggleTable: Pa,
1244
+ onToggleLabels: Ha,
1245
+ onToggleStack: wa,
1246
+ onToggleTooltip: Ra,
1247
+ onToggleAnnotator: Kl,
1247
1248
  style: z({
1248
1249
  visibility: Wl.value ? _l.value ? "visible" : "hidden" : "visible"
1249
1250
  })
1250
- }, Vt({ _: 2 }, [
1251
+ }, Pt({ _: 2 }, [
1251
1252
  a.$slots.menuIcon ? {
1252
1253
  name: "menuIcon",
1253
1254
  fn: se(({ isOpen: l, color: s }) => [
@@ -1319,171 +1320,171 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1319
1320
  key: "9"
1320
1321
  } : void 0
1321
1322
  ]), 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),
1322
- (u(), r("svg", {
1323
+ (u(), i("svg", {
1323
1324
  ref_key: "svgRef",
1324
- ref: ye,
1325
+ ref: pe,
1325
1326
  xmlns: "http://www.w3.org/2000/svg",
1326
1327
  class: Ke([{ "vue-data-ui-fullscreen--on": tl.value, "vue-data-ui-fulscreen--off": !tl.value }, "vue-ui-xy-svg vue-data-ui-svg"]),
1327
1328
  width: G.value ? void 0 : "100%",
1328
1329
  viewBox: De.value,
1329
1330
  style: z(`background: transparent; color:${e.value.chart.color}; font-family:${e.value.chart.fontFamily}`),
1330
- "aria-label": kt.value,
1331
+ "aria-label": _t.value,
1331
1332
  role: "img",
1332
1333
  "aria-live": "polite",
1333
1334
  preserveAspectRatio: "xMidYMid"
1334
1335
  }, [
1335
- g("g", {
1336
+ b("g", {
1336
1337
  ref_key: "G",
1337
- ref: ua,
1338
+ ref: ia,
1338
1339
  class: "vue-data-ui-g"
1339
1340
  }, [
1340
- yl(c(ot)),
1341
- a.$slots["chart-background"] ? (u(), r("foreignObject", {
1341
+ yl(c(st)),
1342
+ a.$slots["chart-background"] ? (u(), i("foreignObject", {
1342
1343
  key: 0,
1343
- x: i.value.left + B.value < 0 ? 0 : i.value.left + B.value,
1344
- y: i.value.top,
1345
- 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),
1346
- height: i.value.height < 0 ? 0 : i.value.height,
1344
+ x: r.value.left + B.value < 0 ? 0 : r.value.left + B.value,
1345
+ y: r.value.top,
1346
+ width: r.value.width - (e.value.chart.grid.position === "middle" ? 0 : r.value.width / x.value) < 0 ? 0 : r.value.width - (e.value.chart.grid.position === "middle" ? 0 : r.value.width / x.value),
1347
+ height: r.value.height < 0 ? 0 : r.value.height,
1347
1348
  style: {
1348
1349
  pointerEvents: "none"
1349
1350
  }
1350
1351
  }, [
1351
1352
  U(a.$slots, "chart-background", {}, void 0, !0)
1352
- ], 8, co)) : d("", !0),
1353
- b.value > 0 ? (u(), r("g", vo, [
1354
- g("g", ho, [
1355
- e.value.chart.grid.labels.xAxis.showBaseline ? (u(), r("line", {
1353
+ ], 8, vo)) : d("", !0),
1354
+ x.value > 0 ? (u(), i("g", ho, [
1355
+ b("g", fo, [
1356
+ e.value.chart.grid.labels.xAxis.showBaseline ? (u(), i("line", {
1356
1357
  key: 0,
1357
1358
  stroke: e.value.chart.grid.stroke,
1358
1359
  "stroke-width": "1",
1359
- x1: i.value.left + B.value,
1360
- x2: i.value.right - B.value,
1361
- y1: c(H)(i.value.bottom),
1362
- y2: c(H)(i.value.bottom),
1360
+ x1: r.value.left + B.value,
1361
+ x2: r.value.right - B.value,
1362
+ y1: c(H)(r.value.bottom),
1363
+ y2: c(H)(r.value.bottom),
1363
1364
  "stroke-linecap": "round",
1364
1365
  style: { animation: "none !important" }
1365
- }, null, 8, fo)) : d("", !0),
1366
- f.value.useIndividualScale ? e.value.chart.grid.showHorizontalLines ? (u(!0), r(h, { key: 2 }, m(gl.value, (l) => (u(), r("g", null, [
1367
- l.id === M.value && l.yLabels.length ? (u(!0), r(h, { key: 0 }, m(l.yLabels, (s) => (u(), r("line", {
1368
- x1: i.value.left + B.value,
1369
- x2: i.value.right - B.value,
1366
+ }, null, 8, go)) : d("", !0),
1367
+ f.value.useIndividualScale ? e.value.chart.grid.showHorizontalLines ? (u(!0), i(h, { key: 2 }, m(gl.value, (l) => (u(), i("g", null, [
1368
+ l.id === M.value && l.yLabels.length ? (u(!0), i(h, { key: 0 }, m(l.yLabels, (s) => (u(), i("line", {
1369
+ x1: r.value.left + B.value,
1370
+ x2: r.value.right - B.value,
1370
1371
  y1: c(H)(s.y),
1371
1372
  y2: c(H)(s.y),
1372
1373
  stroke: l.color,
1373
1374
  "stroke-width": 0.5,
1374
1375
  "stroke-linecap": "round",
1375
1376
  style: { animation: "none !important" }
1376
- }, null, 8, mo))), 256)) : l.yLabels.length ? (u(!0), r(h, { key: 1 }, m(l.yLabels, (s) => (u(), r("line", {
1377
- x1: i.value.left + B.value,
1378
- x2: i.value.right - B.value,
1377
+ }, null, 8, yo))), 256)) : l.yLabels.length ? (u(!0), i(h, { key: 1 }, m(l.yLabels, (s) => (u(), i("line", {
1378
+ x1: r.value.left + B.value,
1379
+ x2: r.value.right - B.value,
1379
1380
  y1: c(H)(s.y),
1380
1381
  y2: c(H)(s.y),
1381
1382
  stroke: e.value.chart.grid.stroke,
1382
1383
  "stroke-width": 0.5,
1383
1384
  "stroke-linecap": "round",
1384
1385
  style: { animation: "none !important" }
1385
- }, null, 8, yo))), 256)) : d("", !0)
1386
- ]))), 256)) : d("", !0) : (u(), r(h, { key: 1 }, [
1387
- e.value.chart.grid.labels.yAxis.showBaseline ? (u(), r("line", {
1386
+ }, null, 8, po))), 256)) : d("", !0)
1387
+ ]))), 256)) : d("", !0) : (u(), i(h, { key: 1 }, [
1388
+ e.value.chart.grid.labels.yAxis.showBaseline ? (u(), i("line", {
1388
1389
  key: 0,
1389
1390
  stroke: e.value.chart.grid.stroke,
1390
1391
  "stroke-width": "1",
1391
- x1: i.value.left + B.value,
1392
- x2: i.value.left + B.value,
1393
- y1: c(H)(i.value.top),
1394
- y2: c(H)(i.value.bottom),
1392
+ x1: r.value.left + B.value,
1393
+ x2: r.value.left + B.value,
1394
+ y1: c(H)(r.value.top),
1395
+ y2: c(H)(r.value.bottom),
1395
1396
  "stroke-linecap": "round",
1396
1397
  style: { animation: "none !important" }
1397
- }, null, 8, go)) : d("", !0),
1398
- e.value.chart.grid.showHorizontalLines ? (u(), r("g", xo, [
1399
- (u(!0), r(h, null, m(Ca.value, (l) => (u(), r("line", {
1400
- x1: i.value.left + B.value,
1401
- x2: i.value.right - B.value,
1398
+ }, null, 8, xo)) : d("", !0),
1399
+ e.value.chart.grid.showHorizontalLines ? (u(), i("g", bo, [
1400
+ (u(!0), i(h, null, m(Ia.value, (l) => (u(), i("line", {
1401
+ x1: r.value.left + B.value,
1402
+ x2: r.value.right - B.value,
1402
1403
  y1: c(H)(l.y),
1403
1404
  y2: c(H)(l.y),
1404
1405
  stroke: e.value.chart.grid.stroke,
1405
1406
  "stroke-width": 0.5,
1406
1407
  "stroke-linecap": "round",
1407
1408
  style: { animation: "none !important" }
1408
- }, null, 8, bo))), 256))
1409
+ }, null, 8, mo))), 256))
1409
1410
  ])) : d("", !0)
1410
1411
  ], 64)),
1411
- e.value.chart.grid.showVerticalLines ? (u(), r("g", po, [
1412
- (u(!0), r(h, null, m(b.value + (e.value.chart.grid.position === "middle" ? 1 : 0), (l, s) => (u(), r("line", {
1412
+ e.value.chart.grid.showVerticalLines ? (u(), i("g", ko, [
1413
+ (u(!0), i(h, null, m(x.value + (e.value.chart.grid.position === "middle" ? 1 : 0), (l, s) => (u(), i("line", {
1413
1414
  key: `grid_vertical_line_${s}`,
1414
- x1: i.value.width / b.value * s + i.value.left + B.value,
1415
- x2: i.value.width / b.value * s + i.value.left + B.value,
1416
- y1: c(H)(i.value.top),
1417
- y2: c(H)(i.value.bottom),
1415
+ x1: r.value.width / x.value * s + r.value.left + B.value,
1416
+ x2: r.value.width / x.value * s + r.value.left + B.value,
1417
+ y1: c(H)(r.value.top),
1418
+ y2: c(H)(r.value.bottom),
1418
1419
  "stroke-width": "0.5",
1419
1420
  stroke: e.value.chart.grid.stroke,
1420
1421
  style: { animation: "none !important" }
1421
- }, null, 8, ko))), 128))
1422
+ }, null, 8, _o))), 128))
1422
1423
  ])) : d("", !0),
1423
- e.value.chart.grid.labels.xAxisLabels.show ? (u(), r("g", _o, [
1424
- (u(!0), r(h, null, m(de.value, (l, s) => (u(), r("g", {
1424
+ e.value.chart.grid.labels.xAxisLabels.show ? (u(), i("g", wo, [
1425
+ (u(!0), i(h, null, m(de.value, (l, s) => (u(), i("g", {
1425
1426
  key: `time_label_${s}`
1426
1427
  }, [
1427
- 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((_.value.end - _.value.start) / e.value.chart.grid.labels.xAxisLabels.modulo) === 0 || l && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && b.value <= e.value.chart.grid.labels.xAxisLabels.modulo ? (u(), r(h, { key: 0 }, [
1428
- e.value.chart.grid.labels.xAxis.showCrosshairs ? (u(), r("line", {
1428
+ l && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && x.value <= e.value.chart.grid.labels.xAxisLabels.modulo || 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((w.value.end - w.value.start) / e.value.chart.grid.labels.xAxisLabels.modulo) === 0 ? (u(), i(h, { key: 0 }, [
1429
+ e.value.chart.grid.labels.xAxis.showCrosshairs ? (u(), i("line", {
1429
1430
  key: 0,
1430
- 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,
1431
- y2: e.value.chart.grid.labels.xAxis.crosshairsAlwaysAtZero ? ie.value + e.value.chart.grid.labels.xAxis.crosshairSize / (ie.value === i.value.bottom ? 1 : 2) : i.value.bottom + e.value.chart.grid.labels.xAxis.crosshairSize,
1432
- x1: i.value.left + i.value.width / b.value * s + i.value.width / b.value / 2,
1433
- x2: i.value.left + i.value.width / b.value * s + i.value.width / b.value / 2,
1431
+ y1: e.value.chart.grid.labels.xAxis.crosshairsAlwaysAtZero ? ie.value - (ie.value === r.value.bottom ? 0 : e.value.chart.grid.labels.xAxis.crosshairSize / 2) : r.value.bottom,
1432
+ y2: e.value.chart.grid.labels.xAxis.crosshairsAlwaysAtZero ? ie.value + e.value.chart.grid.labels.xAxis.crosshairSize / (ie.value === r.value.bottom ? 1 : 2) : r.value.bottom + e.value.chart.grid.labels.xAxis.crosshairSize,
1433
+ x1: r.value.left + r.value.width / x.value * s + r.value.width / x.value / 2,
1434
+ x2: r.value.left + r.value.width / x.value * s + r.value.width / x.value / 2,
1434
1435
  stroke: e.value.chart.grid.stroke,
1435
1436
  "stroke-width": 1,
1436
1437
  "stroke-linecap": "round",
1437
1438
  style: { animation: "none !important" }
1438
- }, null, 8, wo)) : d("", !0)
1439
+ }, null, 8, So)) : d("", !0)
1439
1440
  ], 64)) : d("", !0)
1440
1441
  ]))), 128))
1441
1442
  ])) : d("", !0)
1442
1443
  ]),
1443
- (u(!0), r(h, null, m(Re.value, (l, s) => (u(), r("defs", {
1444
+ (u(!0), i(h, null, m(Re.value, (l, s) => (u(), i("defs", {
1444
1445
  key: `def_rect_${s}`
1445
1446
  }, [
1446
- g("linearGradient", {
1447
+ b("linearGradient", {
1447
1448
  id: `rectGradient_pos_${s}_${q.value}`,
1448
1449
  x2: "0%",
1449
1450
  y2: "100%"
1450
1451
  }, [
1451
- g("stop", {
1452
+ b("stop", {
1452
1453
  offset: "0%",
1453
1454
  "stop-color": l.color
1454
- }, null, 8, $o),
1455
- g("stop", {
1455
+ }, null, 8, Lo),
1456
+ b("stop", {
1456
1457
  offset: "62%",
1457
1458
  "stop-color": `${c(ll)(l.color, 0.02)}`
1458
- }, null, 8, Lo),
1459
- g("stop", {
1459
+ }, null, 8, Ao),
1460
+ b("stop", {
1460
1461
  offset: "100%",
1461
1462
  "stop-color": `${c(ll)(l.color, 0.05)}`
1462
- }, null, 8, Ao)
1463
- ], 8, So),
1464
- g("linearGradient", {
1463
+ }, null, 8, Mo)
1464
+ ], 8, $o),
1465
+ b("linearGradient", {
1465
1466
  id: `rectGradient_neg_${s}_${q.value}`,
1466
1467
  x2: "0%",
1467
1468
  y2: "100%"
1468
1469
  }, [
1469
- g("stop", {
1470
+ b("stop", {
1470
1471
  offset: "0%",
1471
1472
  "stop-color": `${c(ll)(l.color, 0.05)}`
1472
- }, null, 8, zo),
1473
- g("stop", {
1473
+ }, null, 8, Co),
1474
+ b("stop", {
1474
1475
  offset: "38%",
1475
1476
  "stop-color": `${c(ll)(l.color, 0.02)}`
1476
- }, null, 8, Co),
1477
- g("stop", {
1477
+ }, null, 8, Io),
1478
+ b("stop", {
1478
1479
  offset: "100%",
1479
1480
  "stop-color": l.color
1480
- }, null, 8, Io)
1481
- ], 8, Mo)
1481
+ }, null, 8, To)
1482
+ ], 8, zo)
1482
1483
  ]))), 128)),
1483
- (u(!0), r(h, null, m(ze.value, (l, s) => (u(), r("defs", {
1484
+ (u(!0), i(h, null, m(ze.value, (l, s) => (u(), i("defs", {
1484
1485
  key: `def_plot_${s}`
1485
1486
  }, [
1486
- g("radialGradient", {
1487
+ b("radialGradient", {
1487
1488
  id: `plotGradient_${s}_${q.value}`,
1488
1489
  cx: "50%",
1489
1490
  cy: "50%",
@@ -1491,20 +1492,20 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1491
1492
  fx: "50%",
1492
1493
  fy: "50%"
1493
1494
  }, [
1494
- g("stop", {
1495
+ b("stop", {
1495
1496
  offset: "0%",
1496
1497
  "stop-color": `${c(ll)(l.color, 0.05)}`
1497
- }, null, 8, Oo),
1498
- g("stop", {
1498
+ }, null, 8, No),
1499
+ b("stop", {
1499
1500
  offset: "100%",
1500
1501
  "stop-color": l.color
1501
- }, null, 8, No)
1502
- ], 8, To)
1502
+ }, null, 8, Vo)
1503
+ ], 8, Oo)
1503
1504
  ]))), 128)),
1504
- (u(!0), r(h, null, m(we.value, (l, s) => (u(), r("defs", {
1505
+ (u(!0), i(h, null, m(Se.value, (l, s) => (u(), i("defs", {
1505
1506
  key: `def_line_${s}`
1506
1507
  }, [
1507
- g("radialGradient", {
1508
+ b("radialGradient", {
1508
1509
  id: `lineGradient_${s}_${q.value}`,
1509
1510
  cx: "50%",
1510
1511
  cy: "50%",
@@ -1512,126 +1513,126 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1512
1513
  fx: "50%",
1513
1514
  fy: "50%"
1514
1515
  }, [
1515
- g("stop", {
1516
+ b("stop", {
1516
1517
  offset: "0%",
1517
1518
  "stop-color": `${c(ll)(l.color, 0.05)}`
1518
- }, null, 8, Po),
1519
- g("stop", {
1519
+ }, null, 8, Ho),
1520
+ b("stop", {
1520
1521
  offset: "100%",
1521
1522
  "stop-color": l.color
1522
- }, null, 8, Ho)
1523
- ], 8, Vo),
1524
- g("linearGradient", {
1523
+ }, null, 8, Ro)
1524
+ ], 8, Po),
1525
+ b("linearGradient", {
1525
1526
  id: `areaGradient_${s}_${q.value}`,
1526
1527
  x1: "0%",
1527
1528
  x2: "100%",
1528
1529
  y1: "0%",
1529
1530
  y2: "0%"
1530
1531
  }, [
1531
- g("stop", {
1532
+ b("stop", {
1532
1533
  offset: "0%",
1533
1534
  "stop-color": `${c($e)(c(ll)(l.color, 0.03), e.value.line.area.opacity)}`
1534
- }, null, 8, Bo),
1535
- g("stop", {
1535
+ }, null, 8, Yo),
1536
+ b("stop", {
1536
1537
  offset: "100%",
1537
1538
  "stop-color": `${c($e)(l.color, e.value.line.area.opacity)}`
1538
- }, null, 8, Yo)
1539
- ], 8, Ro)
1539
+ }, null, 8, Fo)
1540
+ ], 8, Bo)
1540
1541
  ]))), 128)),
1541
- (u(!0), r(h, null, m(wt.value, (l) => (u(), r("g", null, [
1542
- l.show ? (u(), r(h, { key: 0 }, [
1543
- (u(!0), r(h, null, m(l.span, (s, t) => (u(), r("g", null, [
1544
- g("rect", {
1542
+ (u(!0), i(h, null, m(St.value, (l) => (u(), i("g", null, [
1543
+ l.show ? (u(), i(h, { key: 0 }, [
1544
+ (u(!0), i(h, null, m(l.span, (s, t) => (u(), i("g", null, [
1545
+ b("rect", {
1545
1546
  style: z({
1546
1547
  transition: "none",
1547
- opacity: l.from + t >= _.value.start && l.from + t <= _.value.end - 1 ? 1 : 0
1548
+ opacity: l.from + t >= w.value.start && l.from + t <= w.value.end - 1 ? 1 : 0
1548
1549
  }),
1549
- x: i.value.left + i.value.width / b.value * (l.from + t - _.value.start),
1550
- y: i.value.top,
1551
- height: i.value.height < 0 ? 10 : i.value.height,
1552
- width: i.value.width / b.value < 0 ? 1e-5 : i.value.width / b.value,
1550
+ x: r.value.left + r.value.width / x.value * (l.from + t - w.value.start),
1551
+ y: r.value.top,
1552
+ height: r.value.height < 0 ? 10 : r.value.height,
1553
+ width: r.value.width / x.value < 0 ? 1e-5 : r.value.width / x.value,
1553
1554
  fill: c($e)(l.color, l.opacity)
1554
- }, null, 12, Fo)
1555
+ }, null, 12, Eo)
1555
1556
  ]))), 256)),
1556
- (u(!0), r(h, null, m(l.span, (s, t) => (u(), r("g", null, [
1557
- l.caption.text && t === 0 ? (u(), r("foreignObject", {
1557
+ (u(!0), i(h, null, m(l.span, (s, t) => (u(), i("g", null, [
1558
+ l.caption.text && t === 0 ? (u(), i("foreignObject", {
1558
1559
  key: 0,
1559
- x: i.value.left + i.value.width / b.value * (l.from + t - _.value.start) - (l.caption.width === "auto" ? 0 : l.caption.width / 2 - i.value.width / b.value * l.span / 2),
1560
- y: i.value.top + l.caption.offsetY,
1560
+ x: r.value.left + r.value.width / x.value * (l.from + t - w.value.start) - (l.caption.width === "auto" ? 0 : l.caption.width / 2 - r.value.width / x.value * l.span / 2),
1561
+ y: r.value.top + l.caption.offsetY,
1561
1562
  style: z({
1562
1563
  overflow: "visible",
1563
- opacity: l.to >= _.value.start && l.from < _.value.end ? 1 : 0
1564
+ opacity: l.to >= w.value.start && l.from < w.value.end ? 1 : 0
1564
1565
  }),
1565
1566
  height: "1",
1566
- width: l.caption.width === "auto" ? i.value.width / b.value * l.span : l.caption.width
1567
+ width: l.caption.width === "auto" ? r.value.width / x.value * l.span : l.caption.width
1567
1568
  }, [
1568
- g("div", {
1569
+ b("div", {
1569
1570
  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"}`)
1570
1571
  }, ee(l.caption.text), 5)
1571
- ], 12, Eo)) : d("", !0)
1572
+ ], 12, Wo)) : d("", !0)
1572
1573
  ]))), 256))
1573
1574
  ], 64)) : d("", !0)
1574
1575
  ]))), 256)),
1575
- g("g", null, [
1576
- (u(!0), r(h, null, m(b.value, (l, s) => (u(), r("g", {
1576
+ Jl.value ? (u(), i("g", Go, [
1577
+ (u(!0), i(h, null, m(x.value, (l, s) => (u(), i("g", {
1577
1578
  key: `tooltip_trap_highlighter_${s}`
1578
1579
  }, [
1579
- g("rect", {
1580
- x: i.value.left + i.value.width / b.value * s,
1581
- y: i.value.top,
1582
- height: i.value.height < 0 ? 10 : i.value.height,
1583
- width: i.value.width / b.value < 0 ? 1e-5 : i.value.width / b.value,
1580
+ b("rect", {
1581
+ x: r.value.left + r.value.width / x.value * s,
1582
+ y: r.value.top,
1583
+ height: r.value.height < 0 ? 10 : r.value.height,
1584
+ width: r.value.width / x.value < 0 ? 1e-5 : r.value.width / x.value,
1584
1585
  fill: [O.value, k.value, Ue.value].includes(s) ? c($e)(e.value.chart.highlighter.color, e.value.chart.highlighter.opacity) : "transparent"
1585
- }, null, 8, Wo)
1586
+ }, null, 8, Xo)
1586
1587
  ]))), 128))
1587
- ]),
1588
- Re.value.length ? (u(!0), r(h, { key: 0 }, m(Re.value, (l, s) => (u(), r("g", {
1588
+ ])) : d("", !0),
1589
+ Re.value.length ? (u(!0), i(h, { key: 1 }, m(Re.value, (l, s) => (u(), i("g", {
1589
1590
  key: `serie_bar_${s}`,
1590
1591
  class: Ke(`serie_bar_${s}`),
1591
1592
  style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1592
1593
  }, [
1593
- (u(!0), r(h, null, m(l.plots, (t, n) => (u(), r("g", {
1594
+ (u(!0), i(h, null, m(l.plots, (t, n) => (u(), i("g", {
1594
1595
  key: `bar_plot_${s}_${n}`
1595
1596
  }, [
1596
- xe(t.value) ? (u(), r("rect", {
1597
+ xe(t.value) ? (u(), i("rect", {
1597
1598
  key: 0,
1598
1599
  x: Al(t),
1599
- y: f.value.useIndividualScale ? Aa(t) : La(t),
1600
- height: f.value.useIndividualScale ? Math.abs($a(t)) : Math.abs(Sa(t)),
1601
- width: _e() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Pe.value) < 0 ? 1e-5 : _e() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Pe.value),
1600
+ y: f.value.useIndividualScale ? Ma(t) : Aa(t),
1601
+ height: f.value.useIndividualScale ? Math.abs(La(t)) : Math.abs($a(t)),
1602
+ width: we() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Pe.value) < 0 ? 1e-5 : we() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Pe.value),
1602
1603
  rx: e.value.bar.borderRadius,
1603
1604
  fill: e.value.bar.useGradient ? t.value >= 0 ? `url(#rectGradient_pos_${s}_${q.value})` : `url(#rectGradient_neg_${s}_${q.value})` : l.color,
1604
1605
  stroke: e.value.bar.border.useSerieColor ? l.color : e.value.bar.border.stroke,
1605
1606
  "stroke-width": e.value.bar.border.strokeWidth,
1606
1607
  style: z(`${c(Dl) ? "transition:none !important" : ""}`)
1607
- }, null, 12, Go)) : d("", !0),
1608
- xe(t.value) && a.$slots.pattern ? (u(), r("rect", {
1608
+ }, null, 12, Do)) : d("", !0),
1609
+ xe(t.value) && a.$slots.pattern ? (u(), i("rect", {
1609
1610
  key: 1,
1610
1611
  x: Al(t),
1611
- y: f.value.useIndividualScale ? Aa(t) : La(t),
1612
- height: f.value.useIndividualScale ? Math.abs($a(t)) : Math.abs(Sa(t)),
1613
- width: _e() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Pe.value) < 0 ? 1e-5 : _e() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Pe.value),
1612
+ y: f.value.useIndividualScale ? Ma(t) : Aa(t),
1613
+ height: f.value.useIndividualScale ? Math.abs(La(t)) : Math.abs($a(t)),
1614
+ width: we() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Pe.value) < 0 ? 1e-5 : we() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Pe.value),
1614
1615
  rx: e.value.bar.borderRadius,
1615
1616
  fill: `url(#pattern_${q.value}_${l.slotAbsoluteIndex})`,
1616
1617
  stroke: e.value.bar.border.useSerieColor ? l.color : e.value.bar.border.stroke,
1617
1618
  "stroke-width": e.value.bar.border.strokeWidth
1618
- }, null, 8, Xo)) : d("", !0),
1619
- t.comment && e.value.chart.comments.show ? (u(), r("foreignObject", {
1619
+ }, null, 8, Uo)) : d("", !0),
1620
+ t.comment && e.value.chart.comments.show ? (u(), i("foreignObject", {
1620
1621
  key: 2,
1621
1622
  style: { overflow: "visible" },
1622
1623
  height: "12",
1623
- 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,
1624
+ width: (we() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Pe.value) < 0 ? 1e-5 : we() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Pe.value) / 2) + e.value.chart.comments.width,
1624
1625
  x: Al(t) - e.value.chart.comments.width / 2 + e.value.chart.comments.offsetX,
1625
1626
  y: c(T)(t.y) + e.value.chart.comments.offsetY + 6
1626
1627
  }, [
1627
1628
  U(a.$slots, "plot-comment", {
1628
1629
  plot: { ...t, color: l.color, seriesIndex: s, datapointIndex: n }
1629
1630
  }, void 0, !0)
1630
- ], 8, Do)) : d("", !0)
1631
+ ], 8, qo)) : d("", !0)
1631
1632
  ]))), 128)),
1632
- Object.hasOwn(l, "useProgression") && l.useProgression === !0 && !isNaN(c(W)(l.plots).trend) ? (u(), r("g", Uo, [
1633
- g("defs", null, [
1634
- g("marker", {
1633
+ Object.hasOwn(l, "useProgression") && l.useProgression === !0 && !isNaN(c(W)(l.plots).trend) ? (u(), i("g", Zo, [
1634
+ b("defs", null, [
1635
+ b("marker", {
1635
1636
  id: `bar_arrow_${s}`,
1636
1637
  markerWidth: 7,
1637
1638
  markerHeight: 7,
@@ -1639,100 +1640,100 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1639
1640
  refY: 7 / 2,
1640
1641
  orient: "auto"
1641
1642
  }, [
1642
- g("polygon", {
1643
+ b("polygon", {
1643
1644
  points: `0 0, 7 ${7 / 2}, 0 7`,
1644
1645
  fill: l.color
1645
- }, null, 8, Zo)
1646
- ], 8, qo)
1646
+ }, null, 8, Ko)
1647
+ ], 8, Jo)
1647
1648
  ]),
1648
- l.plots.length > 1 ? (u(), r("line", {
1649
+ l.plots.length > 1 ? (u(), i("line", {
1649
1650
  key: 0,
1650
- x1: c(W)(l.plots).x1 + _e(),
1651
- x2: c(W)(l.plots).x2 + _e(),
1651
+ x1: c(W)(l.plots).x1 + we(),
1652
+ x2: c(W)(l.plots).x2 + we(),
1652
1653
  y1: c(H)(c(W)(l.plots).y1),
1653
1654
  y2: c(H)(c(W)(l.plots).y2),
1654
1655
  "stroke-width": 1,
1655
1656
  stroke: l.color,
1656
1657
  "stroke-dasharray": 2,
1657
1658
  "marker-end": `url(#bar_arrow_${s})`
1658
- }, null, 8, Jo)) : d("", !0),
1659
- l.plots.length > 1 ? (u(), r("text", {
1659
+ }, null, 8, Qo)) : d("", !0),
1660
+ l.plots.length > 1 ? (u(), i("text", {
1660
1661
  key: 1,
1661
1662
  "text-anchor": "middle",
1662
- x: c(W)(l.plots).x2 + _e(),
1663
+ x: c(W)(l.plots).x2 + we(),
1663
1664
  y: c(W)(l.plots).y2 - 6,
1664
- "font-size": x.value.plotLabels,
1665
+ "font-size": g.value.plotLabels,
1665
1666
  fill: l.color
1666
- }, ee(c(me)({
1667
+ }, ee(c(ye)({
1667
1668
  v: c(W)(l.plots).trend * 100,
1668
1669
  s: "%",
1669
1670
  r: 2
1670
- })), 9, Ko)) : d("", !0)
1671
+ })), 9, jo)) : d("", !0)
1671
1672
  ])) : d("", !0)
1672
1673
  ], 6))), 128)) : d("", !0),
1673
- !f.value.useIndividualScale && e.value.chart.grid.labels.zeroLine.show ? (u(), r("line", {
1674
- key: 1,
1674
+ !f.value.useIndividualScale && e.value.chart.grid.labels.zeroLine.show ? (u(), i("line", {
1675
+ key: 2,
1675
1676
  stroke: e.value.chart.grid.stroke,
1676
1677
  "stroke-width": "1",
1677
- x1: i.value.left + B.value,
1678
- x2: i.value.right - B.value,
1678
+ x1: r.value.left + B.value,
1679
+ x2: r.value.right - B.value,
1679
1680
  y1: c(H)(ie.value),
1680
1681
  y2: c(H)(ie.value),
1681
1682
  "stroke-linecap": "round",
1682
1683
  style: { animation: "none !important" }
1683
- }, null, 8, Qo)) : d("", !0),
1684
- e.value.chart.highlighter.useLine && (![null, void 0].includes(k.value) || ![null, void 0].includes(O.value)) ? (u(), r("g", jo, [
1685
- g("line", {
1686
- 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,
1687
- 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,
1688
- y1: c(H)(i.value.top),
1689
- y2: c(H)(i.value.bottom),
1684
+ }, null, 8, es)) : d("", !0),
1685
+ e.value.chart.highlighter.useLine && (![null, void 0].includes(k.value) || ![null, void 0].includes(O.value)) ? (u(), i("g", ls, [
1686
+ b("line", {
1687
+ x1: r.value.left + r.value.width / x.value * ((k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)) + r.value.width / x.value / 2,
1688
+ x2: r.value.left + r.value.width / x.value * ((k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)) + r.value.width / x.value / 2,
1689
+ y1: c(H)(r.value.top),
1690
+ y2: c(H)(r.value.bottom),
1690
1691
  stroke: e.value.chart.highlighter.color,
1691
1692
  "stroke-width": e.value.chart.highlighter.lineWidth,
1692
1693
  "stroke-dasharray": e.value.chart.highlighter.lineDasharray,
1693
1694
  "stroke-linecap": "round",
1694
1695
  style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
1695
- }, null, 8, es)
1696
+ }, null, 8, as)
1696
1697
  ])) : d("", !0),
1697
- e.value.chart.grid.frame.show ? (u(), r("rect", {
1698
- key: 3,
1698
+ e.value.chart.grid.frame.show ? (u(), i("rect", {
1699
+ key: 4,
1699
1700
  style: { pointerEvents: "none", transition: "none", animation: "none !important" },
1700
- x: i.value.left + B.value < 0 ? 0 : i.value.left + B.value,
1701
- y: i.value.top,
1702
- 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),
1703
- height: i.value.height < 0 ? 0 : i.value.height,
1701
+ x: r.value.left + B.value < 0 ? 0 : r.value.left + B.value,
1702
+ y: r.value.top,
1703
+ width: r.value.width - (e.value.chart.grid.position === "middle" ? 0 : r.value.width / x.value) < 0 ? 0 : r.value.width - (e.value.chart.grid.position === "middle" ? 0 : r.value.width / x.value),
1704
+ height: r.value.height < 0 ? 0 : r.value.height,
1704
1705
  fill: "transparent",
1705
1706
  stroke: e.value.chart.grid.frame.stroke,
1706
1707
  "stroke-width": e.value.chart.grid.frame.strokeWidth,
1707
1708
  "stroke-linecap": e.value.chart.grid.frame.strokeLinecap,
1708
1709
  "stroke-linejoin": e.value.chart.grid.frame.strokeLinejoin,
1709
1710
  "stroke-dasharray": e.value.chart.grid.frame.strokeDasharray
1710
- }, null, 8, ls)) : d("", !0),
1711
- e.value.chart.grid.labels.show ? (u(), r("g", as, [
1712
- f.value.useIndividualScale ? (u(), r(h, { key: 0 }, [
1713
- (u(!0), r(h, null, m(gl.value, (l) => (u(), r("g", null, [
1714
- g("line", {
1711
+ }, null, 8, ts)) : d("", !0),
1712
+ e.value.chart.grid.labels.show ? (u(), i("g", os, [
1713
+ f.value.useIndividualScale ? (u(), i(h, { key: 0 }, [
1714
+ (u(!0), i(h, null, m(gl.value, (l) => (u(), i("g", null, [
1715
+ b("line", {
1715
1716
  x1: l.x + B.value,
1716
1717
  x2: l.x + B.value,
1717
- y1: f.value.isStacked ? c(H)(i.value.bottom - l.yOffset - l.individualHeight) : c(H)(i.value.top),
1718
- y2: f.value.isStacked ? c(H)(i.value.bottom - l.yOffset) : c(H)(i.value.bottom),
1718
+ y1: f.value.isStacked ? c(H)(r.value.bottom - l.yOffset - l.individualHeight) : c(H)(r.value.top),
1719
+ y2: f.value.isStacked ? c(H)(r.value.bottom - l.yOffset) : c(H)(r.value.bottom),
1719
1720
  stroke: l.color,
1720
1721
  "stroke-width": e.value.chart.grid.stroke,
1721
1722
  "stroke-linecap": "round",
1722
1723
  style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out; animation: none !important`)
1723
- }, null, 12, ts)
1724
+ }, null, 12, ss)
1724
1725
  ]))), 256)),
1725
- (u(!0), r(h, null, m(gl.value, (l) => (u(), r("g", {
1726
+ (u(!0), i(h, null, m(gl.value, (l) => (u(), i("g", {
1726
1727
  style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1727
1728
  }, [
1728
- g("text", {
1729
+ b("text", {
1729
1730
  fill: l.color,
1730
- "font-size": x.value.dataLabels,
1731
+ "font-size": g.value.dataLabels,
1731
1732
  "text-anchor": "middle",
1732
- 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)`
1733
- }, ee(l.name) + " " + ee(l.scaleLabel && l.unique && l.scaleLabel !== l.id ? `- ${l.scaleLabel}` : ""), 9, os),
1734
- (u(!0), r(h, null, m(l.yLabels, (s, t) => (u(), r(h, null, [
1735
- e.value.chart.grid.labels.yAxis.showCrosshairs ? (u(), r("line", {
1733
+ transform: `translate(${l.x - e.value.chart.grid.labels.yAxis.labelWidth + 5 + B.value + e.value.chart.grid.labels.yAxis.scaleLabelOffsetX}, ${f.value.isStacked ? r.value.bottom - l.yOffset - l.individualHeight / 2 : r.value.top + r.value.height / 2}) rotate(-90)`
1734
+ }, ee(l.name) + " " + ee(l.scaleLabel && l.unique && l.scaleLabel !== l.id ? `- ${l.scaleLabel}` : ""), 9, us),
1735
+ (u(!0), i(h, null, m(l.yLabels, (s, t) => (u(), i(h, null, [
1736
+ e.value.chart.grid.labels.yAxis.showCrosshairs ? (u(), i("line", {
1736
1737
  key: 0,
1737
1738
  x1: l.x + 3 + B.value - e.value.chart.grid.labels.yAxis.crosshairSize,
1738
1739
  x2: l.x + B.value,
@@ -1742,65 +1743,65 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1742
1743
  "stroke-width": 1,
1743
1744
  "stroke-linecap": "round",
1744
1745
  style: { animation: "none !important" }
1745
- }, null, 8, ss)) : d("", !0)
1746
+ }, null, 8, is)) : d("", !0)
1746
1747
  ], 64))), 256)),
1747
- (u(!0), r(h, null, m(l.yLabels, (s, t) => (u(), r("text", {
1748
- 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,
1749
- y: c(H)(s.y) + x.value.dataLabels / 3,
1750
- "font-size": x.value.dataLabels,
1748
+ (u(!0), i(h, null, m(l.yLabels, (s, t) => (u(), i("text", {
1749
+ x: G.value ? l.x - g.value.dataLabels / 2 + B.value + e.value.chart.grid.labels.yAxis.scaleValueOffsetX : l.x - 5 + B.value + e.value.chart.grid.labels.yAxis.scaleValueOffsetX,
1750
+ y: c(H)(s.y) + g.value.dataLabels / 3,
1751
+ "font-size": g.value.dataLabels,
1751
1752
  "text-anchor": "end",
1752
1753
  fill: l.color
1753
1754
  }, ee(c(ce)(
1754
1755
  e.value.chart.grid.labels.yAxis.formatter,
1755
1756
  s.value,
1756
- c(me)({
1757
+ c(ye)({
1757
1758
  p: s.prefix,
1758
1759
  v: s.value,
1759
1760
  s: s.suffix,
1760
1761
  r: 1
1761
1762
  }),
1762
1763
  { datapoint: s.datapoint, seriesIndex: t }
1763
- )), 9, us))), 256))
1764
+ )), 9, rs))), 256))
1764
1765
  ], 4))), 256))
1765
- ], 64)) : (u(!0), r(h, { key: 1 }, m(Ca.value, (l, s) => (u(), r("g", {
1766
+ ], 64)) : (u(!0), i(h, { key: 1 }, m(Ia.value, (l, s) => (u(), i("g", {
1766
1767
  key: `yLabel_${s}`
1767
1768
  }, [
1768
- xe(l) && l.value >= pe.value.min && l.value <= pe.value.max && e.value.chart.grid.labels.yAxis.showCrosshairs ? (u(), r("line", {
1769
+ xe(l) && l.value >= ke.value.min && l.value <= ke.value.max && e.value.chart.grid.labels.yAxis.showCrosshairs ? (u(), i("line", {
1769
1770
  key: 0,
1770
- x1: i.value.left + B.value,
1771
- x2: i.value.left - e.value.chart.grid.labels.yAxis.crosshairSize + B.value,
1771
+ x1: r.value.left + B.value,
1772
+ x2: r.value.left - e.value.chart.grid.labels.yAxis.crosshairSize + B.value,
1772
1773
  y1: c(H)(l.y),
1773
1774
  y2: c(H)(l.y),
1774
1775
  stroke: e.value.chart.grid.stroke,
1775
1776
  "stroke-width": "1",
1776
1777
  "stroke-linecap": "round",
1777
1778
  style: { animation: "none !important" }
1778
- }, null, 8, is)) : d("", !0),
1779
- l.value >= pe.value.min && l.value <= pe.value.max ? (u(), r("text", {
1779
+ }, null, 8, ns)) : d("", !0),
1780
+ l.value >= ke.value.min && l.value <= ke.value.max ? (u(), i("text", {
1780
1781
  key: 1,
1781
- x: i.value.left - 7 + B.value,
1782
- y: c(T)(l.y + x.value.dataLabels / 3),
1783
- "font-size": x.value.dataLabels,
1782
+ x: r.value.left - 7 + B.value,
1783
+ y: c(T)(l.y + g.value.dataLabels / 3),
1784
+ "font-size": g.value.dataLabels,
1784
1785
  "text-anchor": "end",
1785
1786
  fill: e.value.chart.grid.labels.color
1786
1787
  }, ee(xe(l.value) ? c(ce)(
1787
1788
  e.value.chart.grid.labels.yAxis.formatter,
1788
1789
  l.value,
1789
- c(me)({
1790
+ c(ye)({
1790
1791
  p: l.prefix,
1791
1792
  v: l.value,
1792
1793
  s: l.suffix,
1793
1794
  r: 1
1794
1795
  })
1795
- ) : ""), 9, rs)) : d("", !0)
1796
+ ) : ""), 9, cs)) : d("", !0)
1796
1797
  ]))), 128))
1797
1798
  ], 512)) : d("", !0),
1798
- (u(!0), r(h, null, m(ze.value, (l, s) => (u(), r("g", {
1799
+ (u(!0), i(h, null, m(ze.value, (l, s) => (u(), i("g", {
1799
1800
  key: `serie_plot_${s}`,
1800
1801
  class: Ke(`serie_plot_${s}`),
1801
1802
  style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1802
1803
  }, [
1803
- (u(!0), r(h, null, m(l.plots, (t, n) => (u(), r("g", {
1804
+ (u(!0), i(h, null, m(l.plots, (t, n) => (u(), i("g", {
1804
1805
  key: `circle_plot_${s}_${n}`
1805
1806
  }, [
1806
1807
  t && xe(t.value) ? (u(), Ie(Ol, {
@@ -1812,7 +1813,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1812
1813
  stroke: e.value.plot.dot.useSerieColor ? e.value.chart.backgroundColor : l.color,
1813
1814
  strokeWidth: e.value.plot.dot.strokeWidth
1814
1815
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : d("", !0),
1815
- t.comment && e.value.chart.comments.show ? (u(), r("foreignObject", {
1816
+ t.comment && e.value.chart.comments.show ? (u(), i("foreignObject", {
1816
1817
  key: 1,
1817
1818
  style: { overflow: "visible" },
1818
1819
  height: "12",
@@ -1820,16 +1821,16 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1820
1821
  x: t.x - e.value.chart.comments.width / 2 + e.value.chart.comments.offsetX,
1821
1822
  y: t.y + e.value.chart.comments.offsetY + 6
1822
1823
  }, [
1823
- g("div", cs, [
1824
+ b("div", ds, [
1824
1825
  U(a.$slots, "plot-comment", {
1825
1826
  plot: { ...t, color: l.color, seriesIndex: s, datapointIndex: n }
1826
1827
  }, void 0, !0)
1827
1828
  ])
1828
- ], 8, ns)) : d("", !0)
1829
+ ], 8, vs)) : d("", !0)
1829
1830
  ]))), 128)),
1830
- Object.hasOwn(l, "useProgression") && l.useProgression === !0 && !isNaN(c(W)(l.plots).trend) ? (u(), r("g", vs, [
1831
- g("defs", null, [
1832
- g("marker", {
1831
+ Object.hasOwn(l, "useProgression") && l.useProgression === !0 && !isNaN(c(W)(l.plots).trend) ? (u(), i("g", hs, [
1832
+ b("defs", null, [
1833
+ b("marker", {
1833
1834
  id: `plot_arrow_${s}`,
1834
1835
  markerWidth: 7,
1835
1836
  markerHeight: 7,
@@ -1837,13 +1838,13 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1837
1838
  refY: 7 / 2,
1838
1839
  orient: "auto"
1839
1840
  }, [
1840
- g("polygon", {
1841
+ b("polygon", {
1841
1842
  points: `0 0, 7 ${7 / 2}, 0 7`,
1842
1843
  fill: l.color
1843
- }, null, 8, hs)
1844
- ], 8, ds)
1844
+ }, null, 8, gs)
1845
+ ], 8, fs)
1845
1846
  ]),
1846
- l.plots.length > 1 ? (u(), r("line", {
1847
+ l.plots.length > 1 ? (u(), i("line", {
1847
1848
  key: 0,
1848
1849
  x1: c(W)(l.plots).x1,
1849
1850
  x2: c(W)(l.plots).x2,
@@ -1853,34 +1854,34 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1853
1854
  stroke: l.color,
1854
1855
  "stroke-dasharray": 2,
1855
1856
  "marker-end": `url(#plot_arrow_${s})`
1856
- }, null, 8, fs)) : d("", !0),
1857
- l.plots.length > 1 ? (u(), r("text", {
1857
+ }, null, 8, xs)) : d("", !0),
1858
+ l.plots.length > 1 ? (u(), i("text", {
1858
1859
  key: 1,
1859
1860
  "text-anchor": "middle",
1860
1861
  x: c(W)(l.plots).x2,
1861
1862
  y: c(W)(l.plots).y2 - 6,
1862
- "font-size": x.value.plotLabels,
1863
+ "font-size": g.value.plotLabels,
1863
1864
  fill: l.color
1864
- }, ee(c(me)({
1865
+ }, ee(c(ye)({
1865
1866
  v: c(W)(l.plots).trend * 100,
1866
1867
  s: "%",
1867
1868
  r: 2
1868
- })), 9, gs)) : d("", !0)
1869
+ })), 9, bs)) : d("", !0)
1869
1870
  ])) : d("", !0)
1870
1871
  ], 6))), 128)),
1871
- (u(!0), r(h, null, m(we.value, (l, s) => (u(), r("g", {
1872
+ (u(!0), i(h, null, m(Se.value, (l, s) => (u(), i("g", {
1872
1873
  key: `serie_line_${s}`,
1873
1874
  class: Ke(`serie_line_${s}`),
1874
1875
  style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1875
1876
  }, [
1876
- l.smooth && l.plots.length > 1 && l.curve ? (u(), r("path", {
1877
+ l.smooth && l.plots.length > 1 && l.curve ? (u(), i("path", {
1877
1878
  key: 0,
1878
1879
  d: `M${l.curve}`,
1879
1880
  stroke: e.value.chart.backgroundColor,
1880
1881
  "stroke-width": e.value.line.strokeWidth + 1,
1881
1882
  "stroke-dasharray": l.dashed ? e.value.line.strokeWidth * 2 : 0,
1882
1883
  fill: "none"
1883
- }, null, 8, xs)) : l.plots.length > 1 && l.straight ? (u(), r("path", {
1884
+ }, null, 8, ms)) : l.plots.length > 1 && l.straight ? (u(), i("path", {
1884
1885
  key: 1,
1885
1886
  d: `M${l.straight}`,
1886
1887
  stroke: e.value.chart.backgroundColor,
@@ -1889,42 +1890,42 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1889
1890
  fill: "none",
1890
1891
  "stroke-linecap": "round",
1891
1892
  "stroke-linejoin": "round"
1892
- }, null, 8, bs)) : d("", !0)
1893
+ }, null, 8, ys)) : d("", !0)
1893
1894
  ], 6))), 128)),
1894
- a.$slots.pattern ? (u(), r("defs", ms, [
1895
- (u(!0), r(h, null, m(Ve.value, (l, s) => U(a.$slots, "pattern", la({
1895
+ a.$slots.pattern ? (u(), i("defs", ps, [
1896
+ (u(!0), i(h, null, m(Ve.value, (l, s) => U(a.$slots, "pattern", aa({
1896
1897
  key: `serie_pattern_slot_${s}`
1897
1898
  }, { ref_for: !0 }, { ...l, seriesIndex: l.slotAbsoluteIndex, patternId: `pattern_${q.value}_${s}` }), void 0, !0)), 128))
1898
1899
  ])) : d("", !0),
1899
- (u(!0), r(h, null, m(we.value, (l, s) => (u(), r("g", {
1900
+ (u(!0), i(h, null, m(Se.value, (l, s) => (u(), i("g", {
1900
1901
  key: `serie_line_${s}`,
1901
1902
  class: Ke(`serie_line_${s}`),
1902
1903
  style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1903
1904
  }, [
1904
- l.useArea && l.plots.length > 1 ? (u(), r("g", ys, [
1905
- l.smooth ? (u(!0), r(h, { key: 0 }, m(l.curveAreas, (t, n) => (u(), r(h, { key: n }, [
1906
- g("path", {
1905
+ l.useArea && l.plots.length > 1 ? (u(), i("g", ks, [
1906
+ l.smooth ? (u(!0), i(h, { key: 0 }, m(l.curveAreas, (t, n) => (u(), i(h, { key: n }, [
1907
+ b("path", {
1907
1908
  d: t,
1908
1909
  fill: e.value.line.area.useGradient ? `url(#areaGradient_${s}_${q.value})` : c($e)(l.color, e.value.line.area.opacity)
1909
- }, null, 8, ps),
1910
- a.$slots.pattern ? (u(), r("path", {
1910
+ }, null, 8, _s),
1911
+ a.$slots.pattern ? (u(), i("path", {
1911
1912
  key: 0,
1912
1913
  d: t,
1913
1914
  fill: `url(#pattern_${q.value}_${l.slotAbsoluteIndex})`
1914
- }, null, 8, ks)) : d("", !0)
1915
- ], 64))), 128)) : (u(!0), r(h, { key: 1 }, m(l.area.split(";"), (t, n) => (u(), r(h, { key: n }, [
1916
- g("path", {
1915
+ }, null, 8, ws)) : d("", !0)
1916
+ ], 64))), 128)) : (u(!0), i(h, { key: 1 }, m(l.area.split(";"), (t, n) => (u(), i(h, { key: n }, [
1917
+ b("path", {
1917
1918
  d: `M${t}Z`,
1918
1919
  fill: e.value.line.area.useGradient ? `url(#areaGradient_${s}_${q.value})` : c($e)(l.color, e.value.line.area.opacity)
1919
- }, null, 8, _s),
1920
- a.$slots.pattern ? (u(), r("path", {
1920
+ }, null, 8, Ss),
1921
+ a.$slots.pattern ? (u(), i("path", {
1921
1922
  key: 0,
1922
1923
  d: `M${t}Z`,
1923
1924
  fill: `url(#pattern_${q.value}_${l.slotAbsoluteIndex})`
1924
- }, null, 8, ws)) : d("", !0)
1925
+ }, null, 8, $s)) : d("", !0)
1925
1926
  ], 64))), 128))
1926
1927
  ])) : d("", !0),
1927
- l.smooth && l.plots.length > 1 && l.curve ? (u(), r("path", {
1928
+ l.smooth && l.plots.length > 1 && l.curve ? (u(), i("path", {
1928
1929
  key: 1,
1929
1930
  d: `M${l.curve}`,
1930
1931
  stroke: l.color,
@@ -1932,7 +1933,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1932
1933
  "stroke-dasharray": l.dashed ? e.value.line.strokeWidth * 2 : 0,
1933
1934
  fill: "none",
1934
1935
  "stroke-linecap": "round"
1935
- }, null, 8, Ss)) : l.plots.length > 1 && l.straight ? (u(), r("path", {
1936
+ }, null, 8, Ls)) : l.plots.length > 1 && l.straight ? (u(), i("path", {
1936
1937
  key: 2,
1937
1938
  d: `M${l.straight}`,
1938
1939
  stroke: l.color,
@@ -1941,11 +1942,11 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1941
1942
  fill: "none",
1942
1943
  "stroke-linecap": "round",
1943
1944
  "stroke-linejoin": "round"
1944
- }, null, 8, $s)) : d("", !0),
1945
- (u(!0), r(h, null, m(l.plots, (t, n) => (u(), r(h, {
1945
+ }, null, 8, As)) : d("", !0),
1946
+ (u(!0), i(h, null, m(l.plots, (t, n) => (u(), i(h, {
1946
1947
  key: `circle_line_${s}_${n}`
1947
1948
  }, [
1948
- !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, {
1949
+ !Ca.value.linePlot && t && xe(t.value) || Ca.value.linePlot && t && xe(t.value) && (k.value !== null && k.value === n || O.value !== null && O.value === n) ? (u(), Ie(Ol, {
1949
1950
  key: 0,
1950
1951
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(l.shape) ? l.shape : "circle",
1951
1952
  color: e.value.line.useGradient ? `url(#lineGradient_${s}_${q.value})` : e.value.line.dot.useSerieColor ? l.color : e.value.line.dot.fill,
@@ -1954,7 +1955,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1954
1955
  stroke: e.value.line.dot.useSerieColor ? e.value.chart.backgroundColor : l.color,
1955
1956
  strokeWidth: e.value.line.dot.strokeWidth
1956
1957
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : d("", !0),
1957
- t.comment && e.value.chart.comments.show ? (u(), r("foreignObject", {
1958
+ t.comment && e.value.chart.comments.show ? (u(), i("foreignObject", {
1958
1959
  key: 1,
1959
1960
  style: { overflow: "visible" },
1960
1961
  height: "12",
@@ -1962,16 +1963,16 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1962
1963
  x: t.x - e.value.chart.comments.width / 2 + e.value.chart.comments.offsetX,
1963
1964
  y: t.y + e.value.chart.comments.offsetY + 6
1964
1965
  }, [
1965
- g("div", As, [
1966
+ b("div", zs, [
1966
1967
  U(a.$slots, "plot-comment", {
1967
1968
  plot: { ...t, color: l.color, seriesIndex: s, datapointIndex: n }
1968
1969
  }, void 0, !0)
1969
1970
  ])
1970
- ], 8, Ls)) : d("", !0)
1971
+ ], 8, Ms)) : d("", !0)
1971
1972
  ], 64))), 128)),
1972
- Object.hasOwn(l, "useProgression") && l.useProgression === !0 && !isNaN(c(W)(l.plots).trend) ? (u(), r("g", Ms, [
1973
- g("defs", null, [
1974
- g("marker", {
1973
+ Object.hasOwn(l, "useProgression") && l.useProgression === !0 && !isNaN(c(W)(l.plots).trend) ? (u(), i("g", Cs, [
1974
+ b("defs", null, [
1975
+ b("marker", {
1975
1976
  id: `line_arrow_${s}`,
1976
1977
  markerWidth: 7,
1977
1978
  markerHeight: 7,
@@ -1979,13 +1980,13 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1979
1980
  refY: 7 / 2,
1980
1981
  orient: "auto"
1981
1982
  }, [
1982
- g("polygon", {
1983
+ b("polygon", {
1983
1984
  points: `0 0, 7 ${7 / 2}, 0 7`,
1984
1985
  fill: l.color
1985
- }, null, 8, Cs)
1986
- ], 8, zs)
1986
+ }, null, 8, Ts)
1987
+ ], 8, Is)
1987
1988
  ]),
1988
- l.plots.length > 1 ? (u(), r("line", {
1989
+ l.plots.length > 1 ? (u(), i("line", {
1989
1990
  key: 0,
1990
1991
  x1: c(W)(l.plots).x1,
1991
1992
  x2: c(W)(l.plots).x2,
@@ -1995,40 +1996,40 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1995
1996
  stroke: l.color,
1996
1997
  "stroke-dasharray": 2,
1997
1998
  "marker-end": `url(#line_arrow_${s})`
1998
- }, null, 8, Is)) : d("", !0),
1999
- l.plots.length > 1 ? (u(), r("text", {
1999
+ }, null, 8, Os)) : d("", !0),
2000
+ l.plots.length > 1 ? (u(), i("text", {
2000
2001
  key: 1,
2001
2002
  "text-anchor": "middle",
2002
2003
  x: c(W)(l.plots).x2,
2003
2004
  y: c(W)(l.plots).y2 - 6,
2004
- "font-size": x.value.plotLabels,
2005
+ "font-size": g.value.plotLabels,
2005
2006
  fill: l.color
2006
- }, ee(c(me)({
2007
+ }, ee(c(ye)({
2007
2008
  v: c(W)(l.plots).trend * 100,
2008
2009
  s: "%",
2009
2010
  r: 2
2010
- })), 9, Ts)) : d("", !0)
2011
+ })), 9, Ns)) : d("", !0)
2011
2012
  ])) : d("", !0)
2012
2013
  ], 6))), 128)),
2013
- (e.value.bar.labels.show || e.value.bar.serieName.show) && f.value.dataLabels.show ? (u(), r("g", Os, [
2014
- (u(!0), r(h, null, m(Re.value, (l, s) => (u(), r(h, {
2014
+ (e.value.bar.labels.show || e.value.bar.serieName.show) && f.value.dataLabels.show ? (u(), i("g", Vs, [
2015
+ (u(!0), i(h, null, m(Re.value, (l, s) => (u(), i(h, {
2015
2016
  key: `xLabel_bar_${s}`
2016
2017
  }, [
2017
- (u(!0), r(h, null, m(l.plots, (t, n) => (u(), r(h, {
2018
+ (u(!0), i(h, null, m(l.plots, (t, n) => (u(), i(h, {
2018
2019
  key: `xLabel_bar_${s}_${n}`
2019
2020
  }, [
2020
- 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", {
2021
+ 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(), i("text", {
2021
2022
  key: 0,
2022
- x: f.value.useIndividualScale && f.value.isStacked ? t.x + J.value.line / 2 : Al(t) + _e() / 2 - Pe.value / 2,
2023
+ x: f.value.useIndividualScale && f.value.isStacked ? t.x + J.value.line / 2 : Al(t) + we() / 2 - Pe.value / 2,
2023
2024
  y: c(T)(t.y) + (t.value >= 0 ? e.value.bar.labels.offsetY : -e.value.bar.labels.offsetY * 3),
2024
2025
  "text-anchor": "middle",
2025
- "font-size": x.value.plotLabels,
2026
+ "font-size": g.value.plotLabels,
2026
2027
  fill: e.value.bar.labels.color,
2027
2028
  style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2028
2029
  }, ee(xe(t.value) ? c(ce)(
2029
2030
  e.value.bar.labels.formatter,
2030
2031
  t.value,
2031
- c(me)({
2032
+ c(ye)({
2032
2033
  p: l.prefix || e.value.chart.labels.prefix,
2033
2034
  v: t.value,
2034
2035
  s: l.suffix || e.value.chart.labels.suffix,
@@ -2038,39 +2039,39 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2038
2039
  datapoint: t,
2039
2040
  serie: l
2040
2041
  }
2041
- ) : ""), 13, Ns)) : d("", !0),
2042
- t && e.value.bar.serieName.show ? (u(), r("text", {
2042
+ ) : ""), 13, Ps)) : d("", !0),
2043
+ t && e.value.bar.serieName.show ? (u(), i("text", {
2043
2044
  key: 1,
2044
- x: f.value.useIndividualScale && f.value.isStacked ? t.x + J.value.line / 2 : t.x + _e() * 1.1,
2045
+ x: f.value.useIndividualScale && f.value.isStacked ? t.x + J.value.line / 2 : t.x + we() * 1.1,
2045
2046
  y: t.y + (t.value > 0 ? e.value.bar.serieName.offsetY : -e.value.bar.serieName.offsetY * 3),
2046
2047
  "text-anchor": "middle",
2047
- "font-size": x.value.plotLabels,
2048
+ "font-size": g.value.plotLabels,
2048
2049
  fill: e.value.bar.serieName.useSerieColor ? l.color : e.value.bar.serieName.color,
2049
2050
  "font-weight": e.value.bar.serieName.bold ? "bold" : "normal",
2050
2051
  style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2051
- }, ee(e.value.bar.serieName.useAbbreviation ? c(qt)({ source: l.name, length: e.value.bar.serieName.abbreviationSize }) : l.name), 13, Vs)) : d("", !0)
2052
+ }, ee(e.value.bar.serieName.useAbbreviation ? c(Zt)({ source: l.name, length: e.value.bar.serieName.abbreviationSize }) : l.name), 13, Hs)) : d("", !0)
2052
2053
  ], 64))), 128))
2053
2054
  ], 64))), 128))
2054
2055
  ])) : d("", !0),
2055
- e.value.plot.labels.show && f.value.dataLabels.show ? (u(), r("g", Ps, [
2056
- (u(!0), r(h, null, m(ze.value, (l, s) => (u(), r(h, {
2056
+ e.value.plot.labels.show && f.value.dataLabels.show ? (u(), i("g", Rs, [
2057
+ (u(!0), i(h, null, m(ze.value, (l, s) => (u(), i(h, {
2057
2058
  key: `xLabel_plot_${s}`
2058
2059
  }, [
2059
- (u(!0), r(h, null, m(l.plots, (t, n) => (u(), r(h, {
2060
+ (u(!0), i(h, null, m(l.plots, (t, n) => (u(), i(h, {
2060
2061
  key: `xLabel_plot_${s}_${n}`
2061
2062
  }, [
2062
- t && !Object.hasOwn(l, "dataLabels") || l.dataLabels === !0 || k.value !== null && k.value === n || O.value !== null && O.value === n ? (u(), r("text", {
2063
+ t && !Object.hasOwn(l, "dataLabels") || l.dataLabels === !0 || k.value !== null && k.value === n || O.value !== null && O.value === n ? (u(), i("text", {
2063
2064
  key: 0,
2064
2065
  x: t.x,
2065
2066
  y: t.y + e.value.plot.labels.offsetY,
2066
2067
  "text-anchor": "middle",
2067
- "font-size": x.value.plotLabels,
2068
+ "font-size": g.value.plotLabels,
2068
2069
  fill: e.value.plot.labels.color,
2069
2070
  style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2070
2071
  }, ee(xe(t.value) ? c(ce)(
2071
2072
  e.value.plot.labels.formatter,
2072
2073
  t.value,
2073
- c(me)({
2074
+ c(ye)({
2074
2075
  p: l.prefix || e.value.chart.labels.prefix,
2075
2076
  v: t.value,
2076
2077
  s: l.suffix || e.value.chart.labels.suffix,
@@ -2080,31 +2081,31 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2080
2081
  datapoint: t,
2081
2082
  serie: l
2082
2083
  }
2083
- ) : ""), 13, Hs)) : d("", !0)
2084
+ ) : ""), 13, Bs)) : d("", !0)
2084
2085
  ], 64))), 128))
2085
2086
  ], 64))), 128))
2086
- ])) : (u(), r("g", Rs, [
2087
- (u(!0), r(h, null, m(ze.value, (l, s) => (u(), r(h, {
2087
+ ])) : (u(), i("g", Ys, [
2088
+ (u(!0), i(h, null, m(ze.value, (l, s) => (u(), i(h, {
2088
2089
  key: `xLabel_plot_${s}`
2089
2090
  }, [
2090
- (u(!0), r(h, null, m(l.plots, (t, n) => (u(), r(h, {
2091
+ (u(!0), i(h, null, m(l.plots, (t, n) => (u(), i(h, {
2091
2092
  key: `xLabel_plot_${s}_${n}`
2092
2093
  }, [
2093
- e.value.plot.tag.followValue ? (u(), r(h, { key: 1 }, [
2094
- [O.value, k.value, Ue.value].includes(n) && l.useTag ? (u(), r("line", {
2094
+ e.value.plot.tag.followValue ? (u(), i(h, { key: 1 }, [
2095
+ [O.value, k.value, Ue.value].includes(n) && l.useTag ? (u(), i("line", {
2095
2096
  key: 0,
2096
2097
  class: "vue-ui-xy-tag-plot",
2097
- x1: i.value.left,
2098
- x2: i.value.right,
2098
+ x1: r.value.left,
2099
+ x2: r.value.right,
2099
2100
  y1: t.y,
2100
2101
  y2: t.y,
2101
2102
  "stroke-width": 1,
2102
2103
  "stroke-linecap": "round",
2103
2104
  "stroke-dasharray": "2",
2104
2105
  stroke: l.color
2105
- }, null, 8, Ws)) : d("", !0)
2106
- ], 64)) : (u(), r(h, { key: 0 }, [
2107
- t && n === 0 && l.useTag && l.useTag === "start" ? (u(), r("foreignObject", {
2106
+ }, null, 8, Xs)) : d("", !0)
2107
+ ], 64)) : (u(), i(h, { key: 0 }, [
2108
+ t && n === 0 && l.useTag && l.useTag === "start" ? (u(), i("foreignObject", {
2108
2109
  key: 0,
2109
2110
  x: t.x,
2110
2111
  y: t.y - 20,
@@ -2112,8 +2113,8 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2112
2113
  width: "150",
2113
2114
  style: z(`overflow: visible; opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2114
2115
  }, [
2115
- g("div", {
2116
- 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;`),
2116
+ b("div", {
2117
+ style: z(`padding: 3px; background:${c($e)(l.color, 80)};color:${c(We)(l.color)};width:fit-content;font-size:${g.value.plotLabels}px;border-radius: 2px;`),
2117
2118
  innerHTML: c(ce)(
2118
2119
  e.value.plot.tag.formatter,
2119
2120
  t.value,
@@ -2124,18 +2125,18 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2124
2125
  serieName: l.name
2125
2126
  }
2126
2127
  )
2127
- }, null, 12, Ys)
2128
- ], 12, Bs)) : d("", !0),
2129
- t && n === l.plots.length - 1 && l.useTag && l.useTag === "end" ? (u(), r("foreignObject", {
2128
+ }, null, 12, Es)
2129
+ ], 12, Fs)) : d("", !0),
2130
+ t && n === l.plots.length - 1 && l.useTag && l.useTag === "end" ? (u(), i("foreignObject", {
2130
2131
  key: 1,
2131
- x: t.x - l.name.length * (x.value.plotLabels / 2),
2132
+ x: t.x - l.name.length * (g.value.plotLabels / 2),
2132
2133
  y: t.y - 20,
2133
2134
  height: 24,
2134
2135
  width: "150",
2135
2136
  style: z(`overflow: visible; opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2136
2137
  }, [
2137
- g("div", {
2138
- 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;`),
2138
+ b("div", {
2139
+ style: z(`padding: 3px; background:${c($e)(l.color, 80)};color:${c(We)(l.color)};width:fit-content;font-size:${g.value.plotLabels}px;border-radius: 2px;`),
2139
2140
  innerHTML: c(ce)(
2140
2141
  e.value.plot.tag.formatter,
2141
2142
  t.value,
@@ -2146,31 +2147,31 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2146
2147
  serieName: l.name
2147
2148
  }
2148
2149
  )
2149
- }, null, 12, Es)
2150
- ], 12, Fs)) : d("", !0)
2150
+ }, null, 12, Gs)
2151
+ ], 12, Ws)) : d("", !0)
2151
2152
  ], 64))
2152
2153
  ], 64))), 128))
2153
2154
  ], 64))), 128))
2154
2155
  ])),
2155
- e.value.line.labels.show && f.value.dataLabels.show ? (u(), r("g", Gs, [
2156
- (u(!0), r(h, null, m(we.value, (l, s) => (u(), r(h, {
2156
+ e.value.line.labels.show && f.value.dataLabels.show ? (u(), i("g", Ds, [
2157
+ (u(!0), i(h, null, m(Se.value, (l, s) => (u(), i(h, {
2157
2158
  key: `xLabel_line_${s}`
2158
2159
  }, [
2159
- (u(!0), r(h, null, m(l.plots, (t, n) => (u(), r(h, {
2160
+ (u(!0), i(h, null, m(l.plots, (t, n) => (u(), i(h, {
2160
2161
  key: `xLabel_line_${s}_${n}`
2161
2162
  }, [
2162
- t && !Object.hasOwn(l, "dataLabels") || l.dataLabels === !0 || k.value !== null && k.value === n || O.value !== null && O.value === n ? (u(), r("text", {
2163
+ t && !Object.hasOwn(l, "dataLabels") || l.dataLabels === !0 || k.value !== null && k.value === n || O.value !== null && O.value === n ? (u(), i("text", {
2163
2164
  key: 0,
2164
2165
  x: t.x,
2165
2166
  y: t.y + (t.value >= 0 ? e.value.line.labels.offsetY : -e.value.line.labels.offsetY * 3),
2166
2167
  "text-anchor": "middle",
2167
- "font-size": x.value.plotLabels,
2168
+ "font-size": g.value.plotLabels,
2168
2169
  fill: e.value.line.labels.color,
2169
2170
  style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2170
2171
  }, ee(xe(t.value) ? c(ce)(
2171
2172
  e.value.line.labels.formatter,
2172
2173
  t.value,
2173
- c(me)({
2174
+ c(ye)({
2174
2175
  p: l.prefix || e.value.chart.labels.prefix,
2175
2176
  v: t.value,
2176
2177
  s: l.suffix || e.value.chart.labels.suffix,
@@ -2180,31 +2181,31 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2180
2181
  datapoint: t,
2181
2182
  serie: l
2182
2183
  }
2183
- ) : ""), 13, Xs)) : d("", !0)
2184
+ ) : ""), 13, Us)) : d("", !0)
2184
2185
  ], 64))), 128))
2185
2186
  ], 64))), 128))
2186
- ])) : (u(), r("g", Ds, [
2187
- (u(!0), r(h, null, m(we.value, (l, s) => (u(), r(h, {
2187
+ ])) : (u(), i("g", qs, [
2188
+ (u(!0), i(h, null, m(Se.value, (l, s) => (u(), i(h, {
2188
2189
  key: `xLabel_line_${s}`
2189
2190
  }, [
2190
- (u(!0), r(h, null, m(l.plots, (t, n) => (u(), r(h, {
2191
+ (u(!0), i(h, null, m(l.plots, (t, n) => (u(), i(h, {
2191
2192
  key: `xLabel_line_${s}_${n}`
2192
2193
  }, [
2193
- e.value.line.tag.followValue ? (u(), r(h, { key: 1 }, [
2194
- [O.value, k.value, Ue.value].includes(n) && l.useTag ? (u(), r("line", {
2194
+ e.value.line.tag.followValue ? (u(), i(h, { key: 1 }, [
2195
+ [O.value, k.value, Ue.value].includes(n) && l.useTag ? (u(), i("line", {
2195
2196
  key: 0,
2196
2197
  class: "vue-ui-xy-tag-line",
2197
- x1: i.value.left,
2198
- x2: i.value.right,
2198
+ x1: r.value.left,
2199
+ x2: r.value.right,
2199
2200
  y1: t.y,
2200
2201
  y2: t.y,
2201
2202
  "stroke-width": 1,
2202
2203
  "stroke-linecap": "round",
2203
2204
  "stroke-dasharray": "2",
2204
2205
  stroke: l.color
2205
- }, null, 8, Ks)) : d("", !0)
2206
- ], 64)) : (u(), r(h, { key: 0 }, [
2207
- t && n === 0 && l.useTag && l.useTag === "start" ? (u(), r("foreignObject", {
2206
+ }, null, 8, js)) : d("", !0)
2207
+ ], 64)) : (u(), i(h, { key: 0 }, [
2208
+ t && n === 0 && l.useTag && l.useTag === "start" ? (u(), i("foreignObject", {
2208
2209
  key: 0,
2209
2210
  x: t.x,
2210
2211
  y: t.y - 20,
@@ -2212,8 +2213,8 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2212
2213
  width: "150",
2213
2214
  style: z(`overflow: visible; opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2214
2215
  }, [
2215
- g("div", {
2216
- 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;`),
2216
+ b("div", {
2217
+ style: z(`padding: 3px; background:${c($e)(l.color, 80)};color:${c(We)(l.color)};width:fit-content;font-size:${g.value.plotLabels}px;border-radius: 2px;`),
2217
2218
  innerHTML: c(ce)(
2218
2219
  e.value.line.tag.formatter,
2219
2220
  t.value,
@@ -2224,9 +2225,9 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2224
2225
  serieName: l.name
2225
2226
  }
2226
2227
  )
2227
- }, null, 12, qs)
2228
- ], 12, Us)) : d("", !0),
2229
- t && n === l.plots.length - 1 && l.useTag && l.useTag === "end" ? (u(), r("foreignObject", {
2228
+ }, null, 12, Js)
2229
+ ], 12, Zs)) : d("", !0),
2230
+ t && n === l.plots.length - 1 && l.useTag && l.useTag === "end" ? (u(), i("foreignObject", {
2230
2231
  key: 1,
2231
2232
  x: t.x,
2232
2233
  y: t.y - 20,
@@ -2234,8 +2235,8 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2234
2235
  width: "150",
2235
2236
  style: z(`overflow: visible; opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2236
2237
  }, [
2237
- g("div", {
2238
- 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;`),
2238
+ b("div", {
2239
+ style: z(`padding: 3px; background:${c($e)(l.color, 80)};color:${c(We)(l.color)};width:fit-content;font-size:${g.value.plotLabels}px;border-radius: 2px;`),
2239
2240
  innerHTML: c(ce)(
2240
2241
  e.value.line.tag.formatter,
2241
2242
  t.value,
@@ -2246,208 +2247,208 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2246
2247
  serieName: l.name
2247
2248
  }
2248
2249
  )
2249
- }, null, 12, Js)
2250
- ], 12, Zs)) : d("", !0)
2250
+ }, null, 12, Qs)
2251
+ ], 12, Ks)) : d("", !0)
2251
2252
  ], 64))
2252
2253
  ], 64))), 128))
2253
2254
  ], 64))), 128))
2254
2255
  ])),
2255
- (u(!0), r(h, null, m(we.value, (l, s) => (u(), r(h, {
2256
+ (u(!0), i(h, null, m(Se.value, (l, s) => (u(), i(h, {
2256
2257
  key: `xLabel_line_${s}`
2257
2258
  }, [
2258
- (u(!0), r(h, null, m(l.plots, (t, n) => (u(), r(h, {
2259
+ (u(!0), i(h, null, m(l.plots, (t, n) => (u(), i(h, {
2259
2260
  key: `xLabel_line_${s}_${n}`
2260
2261
  }, [
2261
- t && n === 0 && l.showSerieName && l.showSerieName === "start" ? (u(), r("text", {
2262
+ t && n === 0 && l.showSerieName && l.showSerieName === "start" ? (u(), i("text", {
2262
2263
  key: 0,
2263
- x: t.x - x.value.plotLabels,
2264
+ x: t.x - g.value.plotLabels,
2264
2265
  y: t.y,
2265
- "font-size": x.value.plotLabels,
2266
+ "font-size": g.value.plotLabels,
2266
2267
  "text-anchor": "end",
2267
2268
  fill: l.color,
2268
2269
  innerHTML: c(Tl)({
2269
2270
  content: l.name,
2270
- fontSize: x.value.plotLabels,
2271
+ fontSize: g.value.plotLabels,
2271
2272
  fill: l.color,
2272
- x: t.x - x.value.plotLabels,
2273
+ x: t.x - g.value.plotLabels,
2273
2274
  y: t.y,
2274
2275
  maxWords: 2
2275
2276
  }),
2276
2277
  style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2277
- }, null, 12, Qs)) : d("", !0),
2278
- t && n === l.plots.length - 1 && l.showSerieName && l.showSerieName === "end" ? (u(), r("text", {
2278
+ }, null, 12, eu)) : d("", !0),
2279
+ t && n === l.plots.length - 1 && l.showSerieName && l.showSerieName === "end" ? (u(), i("text", {
2279
2280
  key: 1,
2280
- x: t.x + x.value.plotLabels,
2281
+ x: t.x + g.value.plotLabels,
2281
2282
  y: t.y,
2282
- "font-size": x.value.plotLabels,
2283
+ "font-size": g.value.plotLabels,
2283
2284
  "text-anchor": "start",
2284
2285
  fill: l.color,
2285
2286
  innerHTML: c(Tl)({
2286
2287
  content: l.name,
2287
- fontSize: x.value.plotLabels,
2288
+ fontSize: g.value.plotLabels,
2288
2289
  fill: l.color,
2289
- x: t.x + x.value.plotLabels,
2290
+ x: t.x + g.value.plotLabels,
2290
2291
  y: t.y,
2291
2292
  maxWords: 2
2292
2293
  }),
2293
2294
  style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2294
- }, null, 12, js)) : d("", !0)
2295
+ }, null, 12, lu)) : d("", !0)
2295
2296
  ], 64))), 128))
2296
2297
  ], 64))), 128)),
2297
- (u(!0), r(h, null, m(ze.value, (l, s) => (u(), r(h, {
2298
+ (u(!0), i(h, null, m(ze.value, (l, s) => (u(), i(h, {
2298
2299
  key: `xLabel_plot_${s}`
2299
2300
  }, [
2300
- (u(!0), r(h, null, m(l.plots, (t, n) => (u(), r(h, {
2301
+ (u(!0), i(h, null, m(l.plots, (t, n) => (u(), i(h, {
2301
2302
  key: `xLabel_plot_${s}_${n}`
2302
2303
  }, [
2303
- t && n === 0 && l.showSerieName && l.showSerieName === "start" ? (u(), r("text", {
2304
+ t && n === 0 && l.showSerieName && l.showSerieName === "start" ? (u(), i("text", {
2304
2305
  key: 0,
2305
- x: t.x - x.value.plotLabels,
2306
+ x: t.x - g.value.plotLabels,
2306
2307
  y: t.y,
2307
- "font-size": x.value.plotLabels,
2308
+ "font-size": g.value.plotLabels,
2308
2309
  "text-anchor": "end",
2309
2310
  fill: l.color,
2310
2311
  innerHTML: c(Tl)({
2311
2312
  content: l.name,
2312
- fontSize: x.value.plotLabels,
2313
+ fontSize: g.value.plotLabels,
2313
2314
  fill: l.color,
2314
- x: t.x - x.value.plotLabels,
2315
+ x: t.x - g.value.plotLabels,
2315
2316
  y: t.y,
2316
2317
  maxWords: 2
2317
2318
  }),
2318
2319
  style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2319
- }, null, 12, eu)) : d("", !0),
2320
- t && n === l.plots.length - 1 && l.showSerieName && l.showSerieName === "end" ? (u(), r("text", {
2320
+ }, null, 12, au)) : d("", !0),
2321
+ t && n === l.plots.length - 1 && l.showSerieName && l.showSerieName === "end" ? (u(), i("text", {
2321
2322
  key: 1,
2322
- x: t.x + x.value.plotLabels,
2323
+ x: t.x + g.value.plotLabels,
2323
2324
  y: t.y,
2324
- "font-size": x.value.plotLabels,
2325
+ "font-size": g.value.plotLabels,
2325
2326
  "text-anchor": "start",
2326
2327
  fill: l.color,
2327
2328
  innerHTML: c(Tl)({
2328
2329
  content: l.name,
2329
- fontSize: x.value.plotLabels,
2330
+ fontSize: g.value.plotLabels,
2330
2331
  fill: l.color,
2331
- x: t.x + x.value.plotLabels,
2332
+ x: t.x + g.value.plotLabels,
2332
2333
  y: t.y,
2333
2334
  maxWords: 2
2334
2335
  }),
2335
2336
  style: z(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2336
- }, null, 12, lu)) : d("", !0)
2337
+ }, null, 12, tu)) : d("", !0)
2337
2338
  ], 64))), 128))
2338
2339
  ], 64))), 128)),
2339
- f.value.useIndividualScale && !f.value.isStacked ? (u(), r(h, { key: 11 }, [
2340
- g("defs", null, [
2341
- (u(!0), r(h, null, m(gl.value, (l, s) => (u(), r("linearGradient", {
2340
+ f.value.useIndividualScale && !f.value.isStacked ? (u(), i(h, { key: 12 }, [
2341
+ b("defs", null, [
2342
+ (u(!0), i(h, null, m(gl.value, (l, s) => (u(), i("linearGradient", {
2342
2343
  id: `individual_scale_gradient_${q.value}_${s}`,
2343
2344
  x1: "0%",
2344
2345
  x2: "100%",
2345
2346
  y1: "0%",
2346
2347
  y2: "0%"
2347
2348
  }, [
2348
- g("stop", {
2349
+ b("stop", {
2349
2350
  offset: "0%",
2350
2351
  "stop-color": e.value.chart.backgroundColor,
2351
2352
  "stop-opacity": "0"
2352
- }, null, 8, tu),
2353
- g("stop", {
2353
+ }, null, 8, su),
2354
+ b("stop", {
2354
2355
  offset: "100%",
2355
2356
  "stop-color": l.color,
2356
2357
  "stop-opacity": "0.2"
2357
- }, null, 8, ou)
2358
- ], 8, au))), 256))
2358
+ }, null, 8, uu)
2359
+ ], 8, ou))), 256))
2359
2360
  ]),
2360
- (u(!0), r(h, null, m(gl.value, (l, s) => (u(), r("rect", {
2361
+ (u(!0), i(h, null, m(gl.value, (l, s) => (u(), i("rect", {
2361
2362
  x: l.x - e.value.chart.grid.labels.yAxis.labelWidth + B.value,
2362
- y: i.value.top,
2363
+ y: r.value.top,
2363
2364
  width: e.value.chart.grid.labels.yAxis.labelWidth,
2364
- height: i.value.height < 0 ? 10 : i.value.height,
2365
+ height: r.value.height < 0 ? 10 : r.value.height,
2365
2366
  fill: M.value === l.groupId ? `url(#individual_scale_gradient_${q.value}_${s})` : "transparent",
2366
2367
  onMouseenter: (t) => M.value = l.groupId,
2367
2368
  onMouseleave: v[0] || (v[0] = (t) => M.value = null)
2368
- }, null, 40, su))), 256))
2369
+ }, null, 40, iu))), 256))
2369
2370
  ], 64)) : d("", !0),
2370
- g("g", null, [
2371
- e.value.chart.grid.labels.axis.yLabel && !f.value.useIndividualScale ? (u(), r("text", {
2371
+ b("g", null, [
2372
+ e.value.chart.grid.labels.axis.yLabel && !f.value.useIndividualScale ? (u(), i("text", {
2372
2373
  key: 0,
2373
2374
  ref_key: "yAxisLabel",
2374
2375
  ref: Rl,
2375
- "font-size": x.value.yAxis,
2376
+ "font-size": g.value.yAxis,
2376
2377
  fill: e.value.chart.grid.labels.color,
2377
- 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)`,
2378
+ transform: G.value ? void 0 : `translate(${g.value.yAxis + e.value.chart.grid.labels.axis.yLabelOffsetX}, ${r.value.top + r.value.height / 2}) rotate(-90)`,
2378
2379
  "text-anchor": "middle",
2379
2380
  style: { transition: "none" }
2380
- }, ee(e.value.chart.grid.labels.axis.yLabel), 9, uu)) : d("", !0),
2381
- e.value.chart.grid.labels.axis.xLabel ? (u(), r("text", {
2381
+ }, ee(e.value.chart.grid.labels.axis.yLabel), 9, ru)) : d("", !0),
2382
+ e.value.chart.grid.labels.axis.xLabel ? (u(), i("text", {
2382
2383
  key: 1,
2383
2384
  ref_key: "xAxisLabel",
2384
2385
  ref: Hl,
2385
2386
  "text-anchor": "middle",
2386
2387
  x: G.value ? ql.value.width / 2 - Math.abs(ql.value.x) : Z.value / 2,
2387
- y: G.value ? void 0 : i.value.bottom + x.value.yAxis + x.value.xAxis * 1.3 + e.value.chart.grid.labels.axis.xLabelOffsetY,
2388
- "font-size": x.value.yAxis,
2388
+ y: G.value ? void 0 : r.value.bottom + g.value.yAxis + g.value.xAxis * 1.3 + e.value.chart.grid.labels.axis.xLabelOffsetY,
2389
+ "font-size": g.value.yAxis,
2389
2390
  fill: e.value.chart.grid.labels.color
2390
- }, ee(e.value.chart.grid.labels.axis.xLabel), 9, iu)) : d("", !0)
2391
+ }, ee(e.value.chart.grid.labels.axis.xLabel), 9, nu)) : d("", !0)
2391
2392
  ]),
2392
- e.value.chart.grid.labels.xAxisLabels.show ? (u(), r("g", {
2393
- key: 12,
2393
+ e.value.chart.grid.labels.xAxisLabels.show ? (u(), i("g", {
2394
+ key: 13,
2394
2395
  ref_key: "timeLabelsEls",
2395
2396
  ref: Bl
2396
2397
  }, [
2397
- a.$slots["time-label"] ? (u(!0), r(h, { key: 0 }, m(de.value, (l, s) => U(a.$slots, "time-label", la({
2398
+ a.$slots["time-label"] ? (u(!0), i(h, { key: 0 }, m(de.value, (l, s) => U(a.$slots, "time-label", aa({
2398
2399
  key: `time_label_${s}`,
2399
2400
  ref_for: !0
2400
2401
  }, {
2401
- x: i.value.left + i.value.width / b.value * s + i.value.width / b.value / 2,
2402
- y: G.value ? i.value.bottom + e.value.chart.grid.labels.xAxisLabels.yOffset : i.value.bottom + x.value.xAxis * 1.3 + e.value.chart.grid.labels.xAxisLabels.yOffset,
2403
- fontSize: x.value.xAxis,
2402
+ x: r.value.left + r.value.width / x.value * s + r.value.width / x.value / 2,
2403
+ y: G.value ? r.value.bottom + e.value.chart.grid.labels.xAxisLabels.yOffset : r.value.bottom + g.value.xAxis * 1.3 + e.value.chart.grid.labels.xAxisLabels.yOffset,
2404
+ fontSize: g.value.xAxis,
2404
2405
  fill: e.value.chart.grid.labels.xAxisLabels.color,
2405
- 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})`,
2406
+ transform: G.value ? `translate(${r.value.left + r.value.width / x.value * s + r.value.width / x.value / 2}, ${r.value.bottom + e.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.value.chart.grid.labels.xAxisLabels.rotation})` : `translate(${r.value.left + r.value.width / x.value * s + r.value.width / x.value / 2}, ${r.value.bottom + g.value.xAxis * 1.3 + e.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.value.chart.grid.labels.xAxisLabels.rotation})`,
2406
2407
  absoluteIndex: l.absoluteIndex,
2407
2408
  content: l.text,
2408
2409
  textAnchor: e.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2409
- 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((_.value.end - _.value.start) / e.value.chart.grid.labels.xAxisLabels.modulo) === 0 || l && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && b.value <= e.value.chart.grid.labels.xAxisLabels.modulo
2410
- }), void 0, !0)), 128)) : (u(!0), r(h, { key: 1 }, m(de.value, (l, s) => (u(), r("g", {
2410
+ show: l && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && x.value <= e.value.chart.grid.labels.xAxisLabels.modulo || 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((w.value.end - w.value.start) / e.value.chart.grid.labels.xAxisLabels.modulo) === 0
2411
+ }), void 0, !0)), 128)) : (u(!0), i(h, { key: 1 }, m(de.value, (l, s) => (u(), i("g", {
2411
2412
  key: `time_label_${s}`
2412
2413
  }, [
2413
- 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((_.value.end - _.value.start) / e.value.chart.grid.labels.xAxisLabels.modulo) === 0 || l && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && b.value <= e.value.chart.grid.labels.xAxisLabels.modulo ? (u(), r(h, { key: 0 }, [
2414
+ l && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && x.value <= e.value.chart.grid.labels.xAxisLabels.modulo || 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((w.value.end - w.value.start) / e.value.chart.grid.labels.xAxisLabels.modulo) === 0 ? (u(), i(h, { key: 0 }, [
2414
2415
  String(l.text).includes(`
2415
- `) ? (u(), r("text", {
2416
+ `) ? (u(), i("text", {
2416
2417
  key: 1,
2417
2418
  "text-anchor": e.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2418
- "font-size": x.value.xAxis,
2419
+ "font-size": g.value.xAxis,
2419
2420
  fill: e.value.chart.grid.labels.xAxisLabels.color,
2420
- 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})`,
2421
+ transform: G.value ? `translate(${r.value.left + r.value.width / x.value * s + r.value.width / x.value / 2}, ${r.value.bottom + e.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.value.chart.grid.labels.xAxisLabels.rotation})` : `translate(${r.value.left + r.value.width / x.value * s + r.value.width / x.value / 2}, ${r.value.bottom + g.value.xAxis * 1.3 + e.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.value.chart.grid.labels.xAxisLabels.rotation})`,
2421
2422
  style: z({
2422
- cursor: ma() ? "pointer" : "default"
2423
+ cursor: ya() ? "pointer" : "default"
2423
2424
  }),
2424
- innerHTML: c(Zt)({
2425
+ innerHTML: c(Jt)({
2425
2426
  content: String(l.text),
2426
- fontSize: x.value.xAxis,
2427
+ fontSize: g.value.xAxis,
2427
2428
  fill: e.value.chart.grid.labels.xAxisLabels.color,
2428
2429
  x: 0,
2429
2430
  y: 0
2430
2431
  }),
2431
- onClick: () => ka(l, s)
2432
- }, null, 12, nu)) : (u(), r("text", {
2432
+ onClick: () => _a(l, s)
2433
+ }, null, 12, vu)) : (u(), i("text", {
2433
2434
  key: 0,
2434
2435
  "text-anchor": e.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2435
- "font-size": x.value.xAxis,
2436
+ "font-size": g.value.xAxis,
2436
2437
  fill: e.value.chart.grid.labels.xAxisLabels.color,
2437
- 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})`,
2438
+ transform: G.value ? `translate(${r.value.left + r.value.width / x.value * s + r.value.width / x.value / 2}, ${r.value.bottom + e.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.value.chart.grid.labels.xAxisLabels.rotation})` : `translate(${r.value.left + r.value.width / x.value * s + r.value.width / x.value / 2}, ${r.value.bottom + g.value.xAxis * 1.3 + e.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.value.chart.grid.labels.xAxisLabels.rotation})`,
2438
2439
  style: z({
2439
- cursor: ma() ? "pointer" : "default"
2440
+ cursor: ya() ? "pointer" : "default"
2440
2441
  }),
2441
- onClick: () => ka(l, s)
2442
- }, ee(l.text || ""), 13, ru))
2442
+ onClick: () => _a(l, s)
2443
+ }, ee(l.text || ""), 13, cu))
2443
2444
  ], 64)) : d("", !0)
2444
2445
  ]))), 128))
2445
2446
  ], 512)) : d("", !0),
2446
- Ia.value.length && !f.value.isStacked ? (u(), r("g", cu, [
2447
- (u(!0), r(h, null, m(Ia.value, (l) => (u(), r("g", {
2447
+ Ta.value.length && !f.value.isStacked ? (u(), i("g", du, [
2448
+ (u(!0), i(h, null, m(Ta.value, (l) => (u(), i("g", {
2448
2449
  key: l.uid
2449
2450
  }, [
2450
- l.yTop && l.show && isFinite(l.yTop) ? (u(), r("line", {
2451
+ l.yTop && l.show && isFinite(l.yTop) ? (u(), i("line", {
2451
2452
  key: 0,
2452
2453
  x1: l.x1,
2453
2454
  y1: l.yTop,
@@ -2458,8 +2459,8 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2458
2459
  "stroke-dasharray": l.config.line.strokeDasharray,
2459
2460
  "stroke-linecap": "round",
2460
2461
  style: { animation: "none !important" }
2461
- }, null, 8, vu)) : d("", !0),
2462
- l.yBottom && l.show && isFinite(l.yBottom) ? (u(), r("line", {
2462
+ }, null, 8, hu)) : d("", !0),
2463
+ l.yBottom && l.show && isFinite(l.yBottom) ? (u(), i("line", {
2463
2464
  key: 1,
2464
2465
  x1: l.x1,
2465
2466
  y1: l.yBottom,
@@ -2470,21 +2471,21 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2470
2471
  "stroke-dasharray": l.config.line.strokeDasharray,
2471
2472
  "stroke-linecap": "round",
2472
2473
  style: { animation: "none !important" }
2473
- }, null, 8, du)) : d("", !0),
2474
- l.hasArea && l.show && isFinite(l.yTop) && isFinite(l.yBottom) ? (u(), r("rect", {
2474
+ }, null, 8, fu)) : d("", !0),
2475
+ l.hasArea && l.show && isFinite(l.yTop) && isFinite(l.yBottom) ? (u(), i("rect", {
2475
2476
  key: 2,
2476
2477
  y: Math.min(l.yTop, l.yBottom),
2477
2478
  x: l.x1,
2478
- width: i.value.width,
2479
+ width: r.value.width,
2479
2480
  height: c(T)(l.areaHeight, 0),
2480
2481
  fill: c($e)(l.config.area.fill, l.config.area.opacity),
2481
2482
  style: { animation: "none !important" }
2482
- }, null, 8, hu)) : d("", !0),
2483
- l.config.label.text && l.show && isFinite(l._box.y) ? (u(), r("rect", la({
2483
+ }, null, 8, gu)) : d("", !0),
2484
+ l.config.label.text && l.show && isFinite(l._box.y) ? (u(), i("rect", aa({
2484
2485
  key: 3,
2485
2486
  class: "vue-ui-xy-annotation-label-box"
2486
2487
  }, { ref_for: !0 }, l._box, { style: { animation: "none !important", transition: "none !important" } }), null, 16)) : d("", !0),
2487
- l.config.label.text && l.show && isFinite(l._text.y) ? (u(), r("text", {
2488
+ l.config.label.text && l.show && isFinite(l._text.y) ? (u(), i("text", {
2488
2489
  key: 4,
2489
2490
  id: l.id,
2490
2491
  class: "vue-ui-xy-annotation-label",
@@ -2493,56 +2494,56 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2493
2494
  "font-size": l.config.label.fontSize,
2494
2495
  fill: l.config.label.color,
2495
2496
  "text-anchor": l.config.label.textAnchor
2496
- }, ee(l.config.label.text), 9, fu)) : d("", !0)
2497
+ }, ee(l.config.label.text), 9, xu)) : d("", !0)
2497
2498
  ]))), 128))
2498
2499
  ])) : d("", !0),
2499
- g("g", null, [
2500
- (u(!0), r(h, null, m(b.value, (l, s) => (u(), r("rect", {
2500
+ Jl.value ? (u(), i("g", bu, [
2501
+ (u(!0), i(h, null, m(x.value, (l, s) => (u(), i("rect", {
2501
2502
  key: `tooltip_trap_${s}`,
2502
- x: i.value.left + i.value.width / b.value * s,
2503
- y: i.value.top,
2504
- height: i.value.height < 0 ? 10 : i.value.height,
2505
- width: i.value.width / b.value < 0 ? 1e-5 : i.value.width / b.value,
2503
+ x: r.value.left + r.value.width / x.value * s,
2504
+ y: r.value.top,
2505
+ height: r.value.height < 0 ? 10 : r.value.height,
2506
+ width: r.value.width / x.value < 0 ? 1e-5 : r.value.width / x.value,
2506
2507
  fill: "transparent",
2507
- onMouseenter: (t) => Na(!0, s),
2508
- onMouseleave: v[1] || (v[1] = (t) => Na(!1)),
2509
- onClick: (t) => mt(s)
2510
- }, null, 40, gu))), 128))
2511
- ]),
2512
- e.value.chart.timeTag.show && (![null, void 0].includes(k.value) || ![null, void 0].includes(O.value)) ? (u(), r("g", xu, [
2513
- (u(), r("foreignObject", {
2514
- 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,
2515
- y: i.value.bottom,
2508
+ onMouseenter: (t) => Va(!0, s),
2509
+ onMouseleave: v[1] || (v[1] = (t) => Va(!1)),
2510
+ onClick: (t) => yt(s)
2511
+ }, null, 40, mu))), 128))
2512
+ ])) : d("", !0),
2513
+ e.value.chart.timeTag.show && (![null, void 0].includes(k.value) || ![null, void 0].includes(O.value)) ? (u(), i("g", yu, [
2514
+ (u(), i("foreignObject", {
2515
+ x: r.value.left + r.value.width / x.value * ((k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)) - 100 + r.value.width / x.value / 2,
2516
+ y: r.value.bottom,
2516
2517
  width: "200",
2517
2518
  height: "40",
2518
2519
  style: { overflow: "visible !important" }
2519
2520
  }, [
2520
- g("div", {
2521
+ b("div", {
2521
2522
  class: "vue-ui-xy-time-tag",
2522
2523
  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`)
2523
2524
  }, ee(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)
2524
- ], 8, bu)),
2525
- g("circle", {
2526
- 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,
2527
- cy: i.value.bottom,
2525
+ ], 8, pu)),
2526
+ b("circle", {
2527
+ cx: r.value.left + r.value.width / x.value * ((k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)) + r.value.width / x.value / 2,
2528
+ cy: r.value.bottom,
2528
2529
  r: e.value.chart.timeTag.circleMarker.radius,
2529
2530
  fill: e.value.chart.timeTag.circleMarker.color
2530
- }, null, 8, mu)
2531
+ }, null, 8, ku)
2531
2532
  ])) : d("", !0)
2532
2533
  ])) : d("", !0),
2533
- U(a.$slots, "svg", { svg: nt.value }, void 0, !0)
2534
+ U(a.$slots, "svg", { svg: ct.value }, void 0, !0)
2534
2535
  ], 512)
2535
- ], 14, no)),
2536
- a.$slots.watermark ? (u(), r("div", yu, [
2537
- U(a.$slots, "watermark", Qe(je({ isPrinting: c(Ul) || c(fa) })), void 0, !0)
2536
+ ], 14, co)),
2537
+ a.$slots.watermark ? (u(), i("div", _u, [
2538
+ U(a.$slots, "watermark", Qe(je({ isPrinting: c(Ul) || c(ga) })), void 0, !0)
2538
2539
  ])) : d("", !0),
2539
- (u(!0), r(h, null, m(we.value, (l, s) => (u(), r(h, {
2540
+ (u(!0), i(h, null, m(Se.value, (l, s) => (u(), i(h, {
2540
2541
  key: `tag_line_${s}`
2541
2542
  }, [
2542
- (u(!0), r(h, null, m(l.plots, (t, n) => (u(), r(h, {
2543
+ (u(!0), i(h, null, m(l.plots, (t, n) => (u(), i(h, {
2543
2544
  key: `tag_line_${s}_${n}`
2544
2545
  }, [
2545
- [O.value, k.value, Ue.value].includes(n) && l.useTag && l.useTag === "end" && e.value.line.tag.followValue ? (u(), r("div", {
2546
+ [O.value, k.value, Ue.value].includes(n) && l.useTag && l.useTag === "end" && e.value.line.tag.followValue ? (u(), i("div", {
2546
2547
  key: 0,
2547
2548
  ref_for: !0,
2548
2549
  ref: (o) => Ll(s, n, o, "right", "line"),
@@ -2551,15 +2552,15 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2551
2552
  style: z({
2552
2553
  position: "fixed",
2553
2554
  top: c(Ge)({
2554
- svgElement: ye.value,
2555
- x: i.value.right + e.value.line.tag.fontSize / 1.5,
2555
+ svgElement: pe.value,
2556
+ x: r.value.right + e.value.line.tag.fontSize / 1.5,
2556
2557
  y: t.y,
2557
2558
  element: Oe.value[`${s}_${n}_right_line`],
2558
2559
  position: "right"
2559
2560
  }).top + "px",
2560
2561
  left: c(Ge)({
2561
- svgElement: ye.value,
2562
- x: i.value.right + e.value.line.tag.fontSize / 1.5,
2562
+ svgElement: pe.value,
2563
+ x: r.value.right + e.value.line.tag.fontSize / 1.5,
2563
2564
  y: t.y,
2564
2565
  element: Oe.value[`${s}_${n}_right_line`],
2565
2566
  position: "right"
@@ -2573,14 +2574,14 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2573
2574
  opacity: 1
2574
2575
  })
2575
2576
  }, [
2576
- (u(), r("svg", pu, [
2577
- g("path", {
2577
+ (u(), i("svg", wu, [
2578
+ b("path", {
2578
2579
  d: "M 0,10 10,0 10,20 Z",
2579
2580
  fill: l.color,
2580
2581
  stroke: "none"
2581
- }, null, 8, ku)
2582
+ }, null, 8, Su)
2582
2583
  ])),
2583
- g("div", {
2584
+ b("div", {
2584
2585
  class: "vue-ui-xy-tag-content",
2585
2586
  innerHTML: c(ce)(
2586
2587
  e.value.line.tag.formatter,
@@ -2592,9 +2593,9 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2592
2593
  serieName: l.name
2593
2594
  }
2594
2595
  )
2595
- }, null, 8, _u)
2596
+ }, null, 8, $u)
2596
2597
  ], 4)) : d("", !0),
2597
- [O.value, k.value, Ue.value].includes(n) && l.useTag && l.useTag === "start" && e.value.line.tag.followValue ? (u(), r("div", {
2598
+ [O.value, k.value, Ue.value].includes(n) && l.useTag && l.useTag === "start" && e.value.line.tag.followValue ? (u(), i("div", {
2598
2599
  key: 1,
2599
2600
  ref_for: !0,
2600
2601
  ref: (o) => Ll(s, n, o, "left", "line"),
@@ -2603,15 +2604,15 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2603
2604
  style: z({
2604
2605
  position: "fixed",
2605
2606
  top: c(Ge)({
2606
- svgElement: ye.value,
2607
- x: i.value.left - e.value.line.tag.fontSize / 1.5,
2607
+ svgElement: pe.value,
2608
+ x: r.value.left - e.value.line.tag.fontSize / 1.5,
2608
2609
  y: t.y,
2609
2610
  element: Oe.value[`${s}_${n}_left_line`],
2610
2611
  position: "left"
2611
2612
  }).top + "px",
2612
2613
  left: c(Ge)({
2613
- svgElement: ye.value,
2614
- x: i.value.left - e.value.line.tag.fontSize / 1.5,
2614
+ svgElement: pe.value,
2615
+ x: r.value.left - e.value.line.tag.fontSize / 1.5,
2615
2616
  y: t.y,
2616
2617
  element: Oe.value[`${s}_${n}_left_line`],
2617
2618
  position: "left"
@@ -2625,14 +2626,14 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2625
2626
  opacity: 1
2626
2627
  })
2627
2628
  }, [
2628
- (u(), r("svg", wu, [
2629
- g("path", {
2629
+ (u(), i("svg", Lu, [
2630
+ b("path", {
2630
2631
  d: "M 0,0 10,10 0,20 Z",
2631
2632
  fill: l.color,
2632
2633
  stroke: "none"
2633
- }, null, 8, Su)
2634
+ }, null, 8, Au)
2634
2635
  ])),
2635
- g("div", {
2636
+ b("div", {
2636
2637
  class: "vue-ui-xy-tag-content",
2637
2638
  innerHTML: c(ce)(
2638
2639
  e.value.line.tag.formatter,
@@ -2644,17 +2645,17 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2644
2645
  serieName: l.name
2645
2646
  }
2646
2647
  )
2647
- }, null, 8, $u)
2648
+ }, null, 8, Mu)
2648
2649
  ], 4)) : d("", !0)
2649
2650
  ], 64))), 128))
2650
2651
  ], 64))), 128)),
2651
- (u(!0), r(h, null, m(ze.value, (l, s) => (u(), r(h, {
2652
+ (u(!0), i(h, null, m(ze.value, (l, s) => (u(), i(h, {
2652
2653
  key: `tag_plot_${s}`
2653
2654
  }, [
2654
- (u(!0), r(h, null, m(l.plots, (t, n) => (u(), r(h, {
2655
+ (u(!0), i(h, null, m(l.plots, (t, n) => (u(), i(h, {
2655
2656
  key: `tag_plot_${s}_${n}`
2656
2657
  }, [
2657
- [O.value, k.value, Ue.value].includes(n) && l.useTag && l.useTag === "end" && e.value.plot.tag.followValue ? (u(), r("div", {
2658
+ [O.value, k.value, Ue.value].includes(n) && l.useTag && l.useTag === "end" && e.value.plot.tag.followValue ? (u(), i("div", {
2658
2659
  key: 0,
2659
2660
  ref_for: !0,
2660
2661
  ref: (o) => Ll(s, n, o, "right", "plot"),
@@ -2663,15 +2664,15 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2663
2664
  style: z({
2664
2665
  position: "fixed",
2665
2666
  top: c(Ge)({
2666
- svgElement: ye.value,
2667
- x: i.value.right + e.value.plot.tag.fontSize / 1.5,
2667
+ svgElement: pe.value,
2668
+ x: r.value.right + e.value.plot.tag.fontSize / 1.5,
2668
2669
  y: t.y,
2669
2670
  element: Oe.value[`${s}_${n}_right_plot`],
2670
2671
  position: "right"
2671
2672
  }).top + "px",
2672
2673
  left: c(Ge)({
2673
- svgElement: ye.value,
2674
- x: i.value.right + e.value.plot.tag.fontSize / 1.5,
2674
+ svgElement: pe.value,
2675
+ x: r.value.right + e.value.plot.tag.fontSize / 1.5,
2675
2676
  y: t.y,
2676
2677
  element: Oe.value[`${s}_${n}_right_plot`],
2677
2678
  position: "right"
@@ -2685,14 +2686,14 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2685
2686
  opacity: 1
2686
2687
  })
2687
2688
  }, [
2688
- (u(), r("svg", Lu, [
2689
- g("path", {
2689
+ (u(), i("svg", zu, [
2690
+ b("path", {
2690
2691
  d: "M 0,10 10,0 10,20 Z",
2691
2692
  fill: l.color,
2692
2693
  stroke: "none"
2693
- }, null, 8, Au)
2694
+ }, null, 8, Cu)
2694
2695
  ])),
2695
- g("div", {
2696
+ b("div", {
2696
2697
  class: "vue-ui-xy-tag-content",
2697
2698
  innerHTML: c(ce)(
2698
2699
  e.value.plot.tag.formatter,
@@ -2704,9 +2705,9 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2704
2705
  serieName: l.name
2705
2706
  }
2706
2707
  )
2707
- }, null, 8, Mu)
2708
+ }, null, 8, Iu)
2708
2709
  ], 4)) : d("", !0),
2709
- [O.value, k.value, Ue.value].includes(n) && l.useTag && l.useTag === "start" && e.value.plot.tag.followValue ? (u(), r("div", {
2710
+ [O.value, k.value, Ue.value].includes(n) && l.useTag && l.useTag === "start" && e.value.plot.tag.followValue ? (u(), i("div", {
2710
2711
  key: 1,
2711
2712
  ref_for: !0,
2712
2713
  ref: (o) => Ll(s, n, o, "left", "plot"),
@@ -2715,15 +2716,15 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2715
2716
  style: z({
2716
2717
  position: "fixed",
2717
2718
  top: c(Ge)({
2718
- svgElement: ye.value,
2719
- x: i.value.left - e.value.plot.tag.fontSize / 1.5,
2719
+ svgElement: pe.value,
2720
+ x: r.value.left - e.value.plot.tag.fontSize / 1.5,
2720
2721
  y: t.y,
2721
2722
  element: Oe.value[`${s}_${n}_left_plot`],
2722
2723
  position: "left"
2723
2724
  }).top + "px",
2724
2725
  left: c(Ge)({
2725
- svgElement: ye.value,
2726
- x: i.value.left - e.value.plot.tag.fontSize / 1.5,
2726
+ svgElement: pe.value,
2727
+ x: r.value.left - e.value.plot.tag.fontSize / 1.5,
2727
2728
  y: t.y,
2728
2729
  element: Oe.value[`${s}_${n}_left_plot`],
2729
2730
  position: "left"
@@ -2737,14 +2738,14 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2737
2738
  opacity: 1
2738
2739
  })
2739
2740
  }, [
2740
- (u(), r("svg", zu, [
2741
- g("path", {
2741
+ (u(), i("svg", Tu, [
2742
+ b("path", {
2742
2743
  d: "M 0,0 10,10 0,20 Z",
2743
2744
  fill: l.color,
2744
2745
  stroke: "none"
2745
- }, null, 8, Cu)
2746
+ }, null, 8, Ou)
2746
2747
  ])),
2747
- g("div", {
2748
+ b("div", {
2748
2749
  class: "vue-ui-xy-tag-content",
2749
2750
  innerHTML: c(ce)(
2750
2751
  e.value.plot.tag.formatter,
@@ -2756,11 +2757,11 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2756
2757
  serieName: l.name
2757
2758
  }
2758
2759
  )
2759
- }, null, 8, Iu)
2760
+ }, null, 8, Nu)
2760
2761
  ], 4)) : d("", !0)
2761
2762
  ], 64))), 128))
2762
2763
  ], 64))), 128)),
2763
- e.value.chart.zoom.show && He.value > 6 && Xl.value ? (u(), Ie(lo, {
2764
+ e.value.chart.zoom.show && He.value > 6 && Xl.value ? (u(), Ie(ao, {
2764
2765
  ref_key: "chartSlicer",
2765
2766
  ref: Le,
2766
2767
  key: `slicer_${Fl.value}`,
@@ -2773,7 +2774,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2773
2774
  inputColor: e.value.chart.zoom.color,
2774
2775
  selectColor: e.value.chart.zoom.highlightColor,
2775
2776
  borderColor: e.value.chart.backgroundColor,
2776
- minimap: Mt.value,
2777
+ minimap: zt.value,
2777
2778
  smoothMinimap: e.value.chart.zoom.minimap.smooth,
2778
2779
  minimapSelectedColor: e.value.chart.zoom.minimap.selectedColor,
2779
2780
  minimapSelectionRadius: e.value.chart.zoom.minimap.selectionRadius,
@@ -2784,38 +2785,38 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2784
2785
  verticalHandles: e.value.chart.zoom.minimap.verticalHandles,
2785
2786
  max: He.value,
2786
2787
  min: 0,
2787
- valueStart: _.value.start,
2788
- valueEnd: _.value.end,
2789
- start: _.value.start,
2790
- "onUpdate:start": v[2] || (v[2] = (l) => _.value.start = l),
2791
- end: _.value.end,
2792
- "onUpdate:end": v[3] || (v[3] = (l) => _.value.end = l),
2788
+ valueStart: w.value.start,
2789
+ valueEnd: w.value.end,
2790
+ start: w.value.start,
2791
+ "onUpdate:start": v[2] || (v[2] = (l) => w.value.start = l),
2792
+ end: w.value.end,
2793
+ "onUpdate:end": v[3] || (v[3] = (l) => w.value.end = l),
2793
2794
  refreshStartPoint: e.value.chart.zoom.startIndex !== null ? e.value.chart.zoom.startIndex : 0,
2794
2795
  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)),
2795
2796
  enableRangeHandles: e.value.chart.zoom.enableRangeHandles,
2796
2797
  enableSelectionDrag: e.value.chart.zoom.enableSelectionDrag,
2797
- onReset: bt,
2798
- onTrapMouse: ft
2798
+ onReset: mt,
2799
+ onTrapMouse: gt
2799
2800
  }, {
2800
2801
  "reset-action": se(({ reset: l }) => [
2801
2802
  U(a.$slots, "reset-action", Qe(je({ reset: l })), void 0, !0)
2802
2803
  ]),
2803
2804
  _: 3
2804
2805
  }, 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),
2805
- e.value.chart.legend.show ? (u(), r("div", {
2806
+ e.value.chart.legend.show ? (u(), i("div", {
2806
2807
  key: 6,
2807
2808
  ref_key: "chartLegend",
2808
2809
  ref: al,
2809
2810
  class: "vue-ui-xy-legend",
2810
2811
  style: z(`font-size:${e.value.chart.legend.fontSize}px`)
2811
2812
  }, [
2812
- (u(!0), r(h, null, m(Me.value, (l, s) => (u(), r("div", {
2813
+ (u(!0), i(h, null, m(Me.value, (l, s) => (u(), i("div", {
2813
2814
  key: `div_legend_item_${s}`,
2814
- onClick: (t) => Ma(l),
2815
+ onClick: (t) => za(l),
2815
2816
  class: Ke({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": ae.value.includes(l.id) })
2816
2817
  }, [
2817
- vl.value[l.type] === "line" ? (u(), r("svg", Ou, [
2818
- g("rect", {
2818
+ vl.value[l.type] === "line" ? (u(), i("svg", Pu, [
2819
+ b("rect", {
2819
2820
  x: "0",
2820
2821
  y: "7.5",
2821
2822
  rx: "1.5",
@@ -2824,7 +2825,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2824
2825
  height: "3",
2825
2826
  width: "20",
2826
2827
  fill: l.color
2827
- }, null, 8, Nu),
2828
+ }, null, 8, Hu),
2828
2829
  yl(Ol, {
2829
2830
  plot: { x: 10, y: 9 },
2830
2831
  radius: 4,
@@ -2833,8 +2834,8 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2833
2834
  stroke: e.value.chart.backgroundColor,
2834
2835
  strokeWidth: 0.5
2835
2836
  }, null, 8, ["color", "shape", "stroke"])
2836
- ])) : vl.value[l.type] === "bar" ? (u(), r("svg", Vu, [
2837
- vl.value[l.type] === "bar" && a.$slots.pattern ? (u(), r("rect", {
2837
+ ])) : vl.value[l.type] === "bar" ? (u(), i("svg", Ru, [
2838
+ vl.value[l.type] === "bar" && a.$slots.pattern ? (u(), i("rect", {
2838
2839
  key: 0,
2839
2840
  x: "0",
2840
2841
  y: "0",
@@ -2843,8 +2844,8 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2843
2844
  width: "40",
2844
2845
  stroke: "none",
2845
2846
  fill: l.color
2846
- }, null, 8, Pu)) : d("", !0),
2847
- vl.value[l.type] === "bar" ? (u(), r("rect", {
2847
+ }, null, 8, Bu)) : d("", !0),
2848
+ vl.value[l.type] === "bar" ? (u(), i("rect", {
2848
2849
  key: 1,
2849
2850
  x: "0",
2850
2851
  y: "0",
@@ -2853,8 +2854,8 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2853
2854
  width: "40",
2854
2855
  stroke: "none",
2855
2856
  fill: a.$slots.pattern ? `url(#pattern_${q.value}_${l.slotAbsoluteIndex})` : l.color
2856
- }, null, 8, Hu)) : d("", !0)
2857
- ])) : (u(), r("svg", Ru, [
2857
+ }, null, 8, Yu)) : d("", !0)
2858
+ ])) : (u(), i("svg", Fu, [
2858
2859
  yl(Ol, {
2859
2860
  plot: { x: 6, y: 6 },
2860
2861
  radius: 5,
@@ -2862,18 +2863,18 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2862
2863
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(l.shape) ? l.shape : "circle"
2863
2864
  }, null, 8, ["color", "shape"])
2864
2865
  ])),
2865
- g("span", {
2866
+ b("span", {
2866
2867
  style: z(`color:${e.value.chart.legend.color}`)
2867
2868
  }, ee(l.name), 5)
2868
- ], 10, Tu))), 128))
2869
- ], 4)) : (u(), r("div", {
2869
+ ], 10, Vu))), 128))
2870
+ ], 4)) : (u(), i("div", {
2870
2871
  key: 7,
2871
2872
  ref_key: "chartLegend",
2872
2873
  ref: al
2873
2874
  }, [
2874
2875
  U(a.$slots, "legend", { legend: Me.value }, void 0, !0)
2875
2876
  ], 512)),
2876
- a.$slots.source ? (u(), r("div", {
2877
+ a.$slots.source ? (u(), i("div", {
2877
2878
  key: 8,
2878
2879
  ref_key: "source",
2879
2880
  ref: nl,
@@ -2881,8 +2882,8 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2881
2882
  }, [
2882
2883
  U(a.$slots, "source", {}, void 0, !0)
2883
2884
  ], 512)) : d("", !0),
2884
- yl(c(ja), {
2885
- show: f.value.showTooltip && ra.value,
2885
+ yl(c(et), {
2886
+ show: f.value.showTooltip && na.value,
2886
2887
  backgroundColor: e.value.chart.tooltip.backgroundColor,
2887
2888
  color: e.value.chart.tooltip.color,
2888
2889
  fontSize: e.value.chart.tooltip.fontSize,
@@ -2893,19 +2894,19 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2893
2894
  position: e.value.chart.tooltip.position,
2894
2895
  offsetY: e.value.chart.tooltip.offsetY,
2895
2896
  parent: a.$refs.chart,
2896
- content: zt.value,
2897
+ content: Ct.value,
2897
2898
  isFullscreen: tl.value,
2898
2899
  isCustom: e.value.chart.tooltip.customFormat && typeof e.value.chart.tooltip.customFormat == "function"
2899
2900
  }, {
2900
2901
  "tooltip-before": se(() => [
2901
- U(a.$slots, "tooltip-before", Qe(je({ ...Ta.value })), void 0, !0)
2902
+ U(a.$slots, "tooltip-before", Qe(je({ ...Oa.value })), void 0, !0)
2902
2903
  ]),
2903
2904
  "tooltip-after": se(() => [
2904
- U(a.$slots, "tooltip-after", Qe(je({ ...Ta.value })), void 0, !0)
2905
+ U(a.$slots, "tooltip-after", Qe(je({ ...Oa.value })), void 0, !0)
2905
2906
  ]),
2906
2907
  _: 3
2907
2908
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
2908
- Xl.value ? (u(), Ie(c(tt), {
2909
+ Xl.value ? (u(), Ie(c(ot), {
2909
2910
  key: 9,
2910
2911
  hideDetails: "",
2911
2912
  config: {
@@ -2922,33 +2923,33 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2922
2923
  }
2923
2924
  }, {
2924
2925
  content: se(() => [
2925
- g("div", {
2926
+ b("div", {
2926
2927
  style: z(`${c(Ul) ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2927
2928
  }, [
2928
- g("div", Bu, [
2929
- Pt(g("input", {
2929
+ b("div", Eu, [
2930
+ Ht(b("input", {
2930
2931
  type: "checkbox",
2931
2932
  "onUpdate:modelValue": v[4] || (v[4] = (l) => dl.value = l)
2932
2933
  }, null, 512), [
2933
- [Ht, dl.value]
2934
+ [Rt, dl.value]
2934
2935
  ]),
2935
- g("div", {
2936
+ b("div", {
2936
2937
  onClick: v[5] || (v[5] = (l) => dl.value = !dl.value),
2937
2938
  style: { cursor: "pointer" }
2938
2939
  }, [
2939
- yl(c(lt), {
2940
+ yl(c(at), {
2940
2941
  name: "chartLine",
2941
2942
  size: 20,
2942
2943
  stroke: e.value.chart.color
2943
2944
  }, null, 8, ["stroke"])
2944
2945
  ])
2945
2946
  ]),
2946
- dl.value ? (u(), Ie(c(at), {
2947
+ dl.value ? (u(), Ie(c(tt), {
2947
2948
  key: `sparkline_${El.value}`,
2948
- dataset: $t.value,
2949
- config: Lt.value
2950
- }, null, 8, ["dataset", "config"])) : (u(), Ie(c(Qa), {
2951
- key: `table_${ca.value}`,
2949
+ dataset: Lt.value,
2950
+ config: At.value
2951
+ }, null, 8, ["dataset", "config"])) : (u(), Ie(c(ja), {
2952
+ key: `table_${va.value}`,
2952
2953
  colNames: Ml.value.colNames,
2953
2954
  head: Ml.value.head,
2954
2955
  body: Ml.value.body,
@@ -2957,10 +2958,10 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2957
2958
  onClose: v[6] || (v[6] = (l) => f.value.showTable = !1)
2958
2959
  }, {
2959
2960
  th: se(({ th: l }) => [
2960
- g("div", { innerHTML: l }, null, 8, Yu)
2961
+ b("div", { innerHTML: l }, null, 8, Wu)
2961
2962
  ]),
2962
2963
  td: se(({ td: l }) => [
2963
- Rt(ee(isNaN(Number(l)) ? l : c(me)({
2964
+ Bt(ee(isNaN(Number(l)) ? l : c(ye)({
2964
2965
  p: e.value.chart.labels.prefix,
2965
2966
  v: l,
2966
2967
  s: e.value.chart.labels.suffix,
@@ -2973,10 +2974,10 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2973
2974
  ]),
2974
2975
  _: 1
2975
2976
  }, 8, ["config"])) : d("", !0),
2976
- c(Dl) ? (u(), Ie(uo, { key: 10 })) : d("", !0)
2977
- ], 46, ro));
2977
+ c(Dl) ? (u(), Ie(io, { key: 10 })) : d("", !0)
2978
+ ], 46, no));
2978
2979
  }
2979
- }, ju = /* @__PURE__ */ io(Fu, [["__scopeId", "data-v-2697a596"]]);
2980
+ }, ai = /* @__PURE__ */ ro(Gu, [["__scopeId", "data-v-51d155b5"]]);
2980
2981
  export {
2981
- ju as default
2982
+ ai as default
2982
2983
  };