vue-data-ui 3.0.0-next.14 → 3.0.0-next.16

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 (89) hide show
  1. package/dist/{Arrow-Df8gUfKn.js → Arrow-BMvrGDLk.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BCt4MsxV.js → BaseDraggableDialog-CG-KEZ51.js} +2 -2
  3. package/dist/{BaseIcon-BRbpfizy.js → BaseIcon-BpW-Ye5T.js} +1 -1
  4. package/dist/{ColorPicker-I_IO8XQE.js → ColorPicker-DYeVmI8a.js} +2 -2
  5. package/dist/{DataTable-rKKFtHrS.js → DataTable-ChtJEWX5.js} +2 -2
  6. package/dist/{Legend-C8sMzjM5.js → Legend-pyruIhAH.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-BeXXzLia.js → NonSvgPenAndPaper-aAjiWgwM.js} +3 -3
  8. package/dist/{PackageVersion-5SA7DsrF.js → PackageVersion-LuCRzghx.js} +1 -1
  9. package/dist/{PenAndPaper-BGxzp1tk.js → PenAndPaper-BhL2fPUu.js} +3 -3
  10. package/dist/{Shape-B8I8cX9P.js → Shape-yUVeve2x.js} +1 -1
  11. package/dist/{Slicer-CDDwWiXn.js → Slicer-DcSVBH-C.js} +2 -2
  12. package/dist/{SparkTooltip-pC3sNWMM.js → SparkTooltip-ISe07hfr.js} +1 -1
  13. package/dist/{Title-DUpdvxB-.js → Title-BfbVDOKR.js} +1 -1
  14. package/dist/{Tooltip-CxwXrJ2u.js → Tooltip-BE77DQlM.js} +1 -1
  15. package/dist/{UserOptions-B-B0E6a5.js → UserOptions-B1RQL5m0.js} +2 -2
  16. package/dist/{dom-to-png-Bq_2sR69.js → dom-to-png-BoOYffhh.js} +1 -1
  17. package/dist/{img-BQ7u3oEW.js → img-D28rKWm8.js} +1 -1
  18. package/dist/{index-BTYCKUoi.js → index-BJjrypPG.js} +959 -935
  19. package/dist/{pdf-NTBK6dp2.js → pdf-mxU_r3O6.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +50 -0
  22. package/dist/types/vue-data-ui.d.ts +50 -0
  23. package/dist/{useNestedProp-B-t-jGcw.js → useNestedProp-C3DMld3K.js} +1 -1
  24. package/dist/{usePrinter-JUJEFx1t.js → usePrinter-B1PCAb5X.js} +2 -2
  25. package/dist/{vue-data-ui-CYQK3vMW.js → vue-data-ui-CJAxLc9q.js} +64 -64
  26. package/dist/vue-data-ui.js +15 -14
  27. package/dist/{vue-ui-3d-bar-hGiJlcJT.js → vue-ui-3d-bar-BuARdFkd.js} +6 -6
  28. package/dist/{vue-ui-accordion-xabUfErM.js → vue-ui-accordion-CpMULoC-.js} +3 -3
  29. package/dist/{vue-ui-age-pyramid-C7EIPKdt.js → vue-ui-age-pyramid-Cpbe2kBv.js} +6 -6
  30. package/dist/{vue-ui-annotator-BY5ktFWe.js → vue-ui-annotator-DQ_0QP7a.js} +2 -2
  31. package/dist/{vue-ui-bullet-uDEZoL_W.js → vue-ui-bullet-B2HtkxZI.js} +7 -7
  32. package/dist/{vue-ui-candlestick-DZiJKV1j.js → vue-ui-candlestick-DyRWEE6d.js} +7 -7
  33. package/dist/{vue-ui-carousel-table-CaPCrEx5.js → vue-ui-carousel-table-NftTssak.js} +4 -4
  34. package/dist/{vue-ui-chestnut-D6XjQLZS.js → vue-ui-chestnut-Cj1lOLGP.js} +5 -5
  35. package/dist/{vue-ui-chord-VjnKLL_F.js → vue-ui-chord-DHKgiBi5.js} +8 -8
  36. package/dist/{vue-ui-circle-pack-Bxbsiblv.js → vue-ui-circle-pack-D8Nm3tjW.js} +6 -6
  37. package/dist/{vue-ui-cursor-CPaMzMTt.js → vue-ui-cursor-B0o_PqIW.js} +2 -2
  38. package/dist/{vue-ui-dashboard-CJFGrlam.js → vue-ui-dashboard-CReD13VL.js} +62 -62
  39. package/dist/{vue-ui-digits-JdnhWHy3.js → vue-ui-digits-BfPMhfFd.js} +2 -2
  40. package/dist/{vue-ui-donut-evolution-Ck7szypt.js → vue-ui-donut-evolution-BGGHZQL6.js} +8 -8
  41. package/dist/{vue-ui-donut-DW4Uuk1O.js → vue-ui-donut-wbJFRpVY.js} +8 -8
  42. package/dist/{vue-ui-dumbbell-B4tM6L6O.js → vue-ui-dumbbell-BOuIbFB9.js} +7 -7
  43. package/dist/{vue-ui-flow-CnKNdChb.js → vue-ui-flow-Dx3Bt9Zk.js} +7 -7
  44. package/dist/{vue-ui-funnel-D9vN0K4N.js → vue-ui-funnel-BkUm00dp.js} +6 -6
  45. package/dist/{vue-ui-galaxy-hqW8gZC8.js → vue-ui-galaxy-CiFk1MrE.js} +5 -5
  46. package/dist/{vue-ui-gauge-BIHaFKGe.js → vue-ui-gauge-y2DUg_0Z.js} +6 -6
  47. package/dist/{vue-ui-gizmo-BNx0RyLX.js → vue-ui-gizmo-Bmfinu6k.js} +3 -3
  48. package/dist/{vue-ui-heatmap-pI3leYdq.js → vue-ui-heatmap-CbU8Ugze.js} +7 -7
  49. package/dist/{vue-ui-history-plot-CMvUONaA.js → vue-ui-history-plot-Dq26mD1y.js} +7 -7
  50. package/dist/{vue-ui-kpi-BX98lOc3.js → vue-ui-kpi-CVogJRwk.js} +3 -3
  51. package/dist/{vue-ui-mini-loader-BXMkA0X3.js → vue-ui-mini-loader-DMkjsHB3.js} +2 -2
  52. package/dist/{vue-ui-molecule-DBe7E0UX.js → vue-ui-molecule-DB-j4UiF.js} +5 -5
  53. package/dist/{vue-ui-mood-radar-CqgqKMrU.js → vue-ui-mood-radar-DcmMtsEt.js} +7 -7
  54. package/dist/{vue-ui-nested-donuts-B9IZOv55.js → vue-ui-nested-donuts-BydLNwiK.js} +9 -9
  55. package/dist/{vue-ui-onion-Cve7udCr.js → vue-ui-onion-BYKraap9.js} +7 -7
  56. package/dist/{vue-ui-parallel-coordinate-plot-DrFuATLX.js → vue-ui-parallel-coordinate-plot-B-iQ0BTA.js} +8 -8
  57. package/dist/{vue-ui-quadrant-Cd7rBFlO.js → vue-ui-quadrant-BURZ9nBq.js} +8 -8
  58. package/dist/{vue-ui-quick-chart-DOQqwKIm.js → vue-ui-quick-chart-0jhodyb7.js} +6 -6
  59. package/dist/{vue-ui-radar-B0qBtilD.js → vue-ui-radar-Dpu2SheC.js} +7 -7
  60. package/dist/{vue-ui-rating-DVItAjf1.js → vue-ui-rating-CigTA87M.js} +2 -2
  61. package/dist/{vue-ui-relation-circle-C52oNc3f.js → vue-ui-relation-circle-BFoxPvV6.js} +6 -6
  62. package/dist/{vue-ui-ridgeline-qoBnw17e.js → vue-ui-ridgeline-Ct4KmkV9.js} +8 -8
  63. package/dist/{vue-ui-rings-BJk34upx.js → vue-ui-rings-Cy97z8CL.js} +8 -8
  64. package/dist/{vue-ui-scatter-zTDbWgjG.js → vue-ui-scatter-CtyMIJ_L.js} +8 -8
  65. package/dist/{vue-ui-skeleton-UJqwc3T_.js → vue-ui-skeleton-mMFNDisn.js} +3 -3
  66. package/dist/{vue-ui-smiley-FlvU1Ik1.js → vue-ui-smiley-DLnjXpkh.js} +2 -2
  67. package/dist/{vue-ui-spark-trend-ChyfTLAU.js → vue-ui-spark-trend-sfpWy0TX.js} +3 -3
  68. package/dist/{vue-ui-sparkbar-BooSOZvg.js → vue-ui-sparkbar-B43eyav6.js} +3 -3
  69. package/dist/{vue-ui-sparkgauge-BoEF2rBO.js → vue-ui-sparkgauge-DCjAqngw.js} +3 -3
  70. package/dist/{vue-ui-sparkhistogram-DNR15bO-.js → vue-ui-sparkhistogram-B9zQsV9B.js} +4 -4
  71. package/dist/{vue-ui-sparkline-DIUtAvF1.js → vue-ui-sparkline-BV9r8kHu.js} +3 -3
  72. package/dist/{vue-ui-sparkstackbar-CpR2OkgM.js → vue-ui-sparkstackbar-BxooanPF.js} +3 -3
  73. package/dist/{vue-ui-stackbar-BlwJq3CC.js → vue-ui-stackbar-Bv3FnRtY.js} +9 -9
  74. package/dist/{vue-ui-strip-plot-CVzDDHxi.js → vue-ui-strip-plot-D71U8_ta.js} +7 -7
  75. package/dist/{vue-ui-table-CyDFGDdb.js → vue-ui-table-Ct9u8vHG.js} +3 -3
  76. package/dist/{vue-ui-table-heatmap-CV8bTqJY.js → vue-ui-table-heatmap-DwEY9E81.js} +5 -5
  77. package/dist/{vue-ui-table-sparkline-BBfZ4a4I.js → vue-ui-table-sparkline-B4nooXbN.js} +4 -4
  78. package/dist/{vue-ui-thermometer-BuLgCYzm.js → vue-ui-thermometer-BcvJGgY_.js} +6 -6
  79. package/dist/{vue-ui-timer-B4yLUrpp.js → vue-ui-timer-mZxv1o9F.js} +5 -5
  80. package/dist/{vue-ui-tiremarks-Di3CX421.js → vue-ui-tiremarks-3Ak3MZQb.js} +6 -6
  81. package/dist/{vue-ui-treemap-48PGiwvy.js → vue-ui-treemap-CzH0G2S9.js} +8 -8
  82. package/dist/{vue-ui-vertical-bar-CRMu_fga.js → vue-ui-vertical-bar-Diif-r_t.js} +9 -9
  83. package/dist/{vue-ui-waffle-Dk3tTWdO.js → vue-ui-waffle-C-b2sQ6A.js} +8 -8
  84. package/dist/{vue-ui-wheel-BSS8Pwh9.js → vue-ui-wheel-DsgVac-8.js} +6 -6
  85. package/dist/{vue-ui-word-cloud-ClzPci72.js → vue-ui-word-cloud-Ch9Z4QLl.js} +6 -6
  86. package/dist/{vue-ui-world-B4Erd9j8.js → vue-ui-world-Cio3glqh.js} +6 -6
  87. package/dist/{vue-ui-xy-6RfR55GH.js → vue-ui-xy-Cp8y_BYv.js} +395 -387
  88. package/dist/{vue-ui-xy-canvas-C1Yk4nEd.js → vue-ui-xy-canvas-UV4h7zxG.js} +8 -8
  89. package/package.json +1 -1
@@ -1,18 +1,15 @@
1
- import { defineAsyncComponent as Fe, useSlots as Vt, getCurrentInstance as Pt, ref as w, computed as A, onMounted as la, toRefs as Ht, onBeforeUnmount as Ea, watch as Cl, nextTick as me, createElementBlock as r, openBlock as u, normalizeStyle as C, normalizeClass as Ke, createBlock as Ie, createCommentVNode as d, createVNode as yl, unref as v, createSlots as Rt, withCtx as se, renderSlot as U, normalizeProps as Qe, guardReactiveProps as je, createElementVNode as g, Fragment as h, renderList as y, toDisplayString as ae, mergeProps as aa, withDirectives as Bt, vModelCheckbox as Yt, createTextVNode as Ft } from "vue";
2
- import { u as Et, c as ta, e as oa, A as Wt, a5 as Ee, b as Gt, D as pl, ab as el, d as Xt, p as Dt, ac as Il, aa as R, ad as Ut, v as T, ae as Wa, V as Ga, af as Xa, U as Da, ag as qt, ah as Ua, ai as qa, x as Zt, y as Jt, _ as Za, R as Te, i as ce, f as ye, w as ll, s as $e, a8 as G, L as Kt, F as We, aj as Tl, I as Qt, ak as Ge, C as ul, t as jt, a as eo, o as Ja, q as lo, r as ao, E as rl } from "./index-BTYCKUoi.js";
3
- import { u as sa } from "./useNestedProp-B-t-jGcw.js";
4
- import { u as to } from "./useTimeLabels-DFkUfjfs.js";
5
- import { S as oo } from "./Slicer-CDDwWiXn.js";
6
- import so from "./Title-DUpdvxB-.js";
7
- import { _ as Ol } from "./Shape-B8I8cX9P.js";
8
- import uo from "./img-BQ7u3oEW.js";
9
- import { u as ro } from "./usePrinter-JUJEFx1t.js";
10
- import { u as io, B as no } from "./useLoading-Bt5Doa8m.js";
11
- import { _ as co } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "width", "height"], go = { key: 1 }, xo = { class: "vue-ui-xy-grid" }, bo = ["stroke", "x1", "x2", "y1", "y2"], mo = ["stroke", "x1", "x2", "y1", "y2"], yo = { key: 1 }, po = ["x1", "x2", "y1", "y2", "stroke"], ko = ["x1", "x2", "y1", "y2", "stroke"], _o = ["x1", "x2", "y1", "y2", "stroke"], wo = { key: 3 }, So = ["d", "stroke"], $o = { key: 4 }, Lo = ["d", "stroke"], Ao = ["id"], Mo = ["stop-color"], zo = ["stop-color"], Co = ["stop-color"], Io = ["id"], To = ["stop-color"], Oo = ["stop-color"], No = ["stop-color"], Vo = ["id"], Po = ["stop-color"], Ho = ["stop-color"], Ro = ["id"], Bo = ["stop-color"], Yo = ["stop-color"], Fo = ["id"], Eo = ["stop-color"], Wo = ["stop-color"], Go = ["x", "y", "height", "width", "fill"], Xo = ["x", "y", "width"], Do = { key: 0 }, Uo = ["x", "y", "height", "width", "fill"], qo = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Zo = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Jo = ["width", "x", "y"], Ko = { key: 0 }, Qo = ["id"], jo = ["fill"], es = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ls = ["x", "y", "font-size", "fill"], as = ["stroke", "x1", "x2", "y1", "y2"], ts = { key: 3 }, os = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ss = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], us = {
13
- key: 5,
14
- ref: "scaleLabels"
15
- }, rs = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], is = ["fill", "font-size", "transform"], ns = ["x1", "x2", "y1", "y2", "stroke"], cs = ["x", "y", "font-size", "fill"], vs = ["x1", "x2", "y1", "y2", "stroke"], ds = ["x", "y", "font-size", "fill"], hs = ["width", "x", "y"], fs = { style: { width: "100%" } }, gs = { key: 0 }, xs = ["id"], bs = ["fill"], ms = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ys = ["x", "y", "font-size", "fill"], ps = ["d", "stroke", "stroke-width", "stroke-dasharray"], ks = ["d", "stroke", "stroke-width", "stroke-dasharray"], _s = { key: 6 }, ws = { key: 0 }, Ss = ["d", "fill"], $s = ["d", "fill"], Ls = ["d", "fill"], As = ["d", "fill"], Ms = ["d", "stroke", "stroke-width", "stroke-dasharray"], zs = ["d", "stroke", "stroke-width", "stroke-dasharray"], Cs = ["width", "x", "y"], Is = { style: { width: "100%" } }, Ts = { key: 3 }, Os = ["id"], Ns = ["fill"], Vs = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ps = ["x", "y", "font-size", "fill"], Hs = { key: 7 }, Rs = ["x", "y", "font-size", "fill"], Bs = ["x", "y", "font-size", "fill", "font-weight"], Ys = { key: 8 }, Fs = ["x", "y", "font-size", "fill"], Es = { key: 9 }, Ws = ["x", "y"], Gs = ["innerHTML"], Xs = ["x", "y"], Ds = ["innerHTML"], Us = ["x1", "x2", "y1", "y2", "stroke"], qs = { key: 10 }, Zs = ["x", "y", "font-size", "fill"], Js = { key: 11 }, Ks = ["x", "y"], Qs = ["innerHTML"], js = ["x", "y"], eu = ["innerHTML"], lu = ["x1", "x2", "y1", "y2", "stroke"], au = ["x", "y", "font-size", "fill", "innerHTML"], tu = ["x", "y", "font-size", "fill", "innerHTML"], ou = ["x", "y", "font-size", "fill", "innerHTML"], su = ["x", "y", "font-size", "fill", "innerHTML"], uu = ["id"], ru = ["stop-color"], iu = ["stop-color"], nu = ["x", "y", "width", "height", "fill", "onMouseenter"], cu = ["font-size", "fill", "transform"], vu = ["x", "y", "font-size", "fill"], du = ["text-anchor", "font-size", "fill", "transform", "onClick"], hu = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], fu = { key: 14 }, gu = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], xu = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], bu = ["y", "x", "width", "height", "fill"], mu = ["id", "x", "y", "font-size", "fill", "text-anchor"], yu = { key: 15 }, pu = ["x", "y", "height", "width", "onMouseenter", "onClick"], ku = {
1
+ import { defineAsyncComponent as Fe, useSlots as Pt, getCurrentInstance as Ht, ref as w, computed as A, onMounted as aa, toRefs as Bt, onBeforeUnmount as Ga, watch as Cl, nextTick as ge, createElementBlock as r, openBlock as u, normalizeStyle as C, normalizeClass as Ke, createBlock as Ie, createCommentVNode as d, createVNode as yl, unref as v, createSlots as Rt, withCtx as se, renderSlot as U, normalizeProps as Qe, guardReactiveProps as je, createElementVNode as g, Fragment as h, renderList as y, toDisplayString as ae, mergeProps as ta, withDirectives as Yt, vModelCheckbox as Ft, createTextVNode as Et } from "vue";
2
+ import { u as Wt, c as oa, e as sa, A as Gt, a5 as Ee, b as Xt, D as pl, ab as el, d as Dt, p as Ut, ac as Il, aa as B, ad as qt, v as T, ae as Xa, V as Da, af as Ua, U as qa, ag as Zt, ah as Za, ai as Ja, x as Jt, y as Kt, _ as Ka, R as Te, i as ce, f as ye, w as ll, s as $e, a8 as G, L as Qt, F as We, aj as Tl, I as jt, ak as Ge, C as ul, t as eo, a as lo, o as Qa, q as ao, r as to, E as rl } from "./index-BJjrypPG.js";
3
+ import { u as ua } from "./useNestedProp-C3DMld3K.js";
4
+ import { u as oo } from "./useTimeLabels-DFkUfjfs.js";
5
+ import { S as so } from "./Slicer-DcSVBH-C.js";
6
+ import uo from "./Title-BfbVDOKR.js";
7
+ import { _ as Ol } from "./Shape-yUVeve2x.js";
8
+ import ro from "./img-D28rKWm8.js";
9
+ import { u as io } from "./usePrinter-B1PCAb5X.js";
10
+ import { u as no, B as co } from "./useLoading-Bt5Doa8m.js";
11
+ import { _ as vo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
+ const ho = ["id"], fo = ["width", "viewBox", "aria-label"], go = ["x", "y", "width", "height"], xo = { key: 1 }, bo = { class: "vue-ui-xy-grid" }, mo = ["stroke", "x1", "x2", "y1", "y2"], yo = ["stroke", "x1", "x2", "y1", "y2"], po = { key: 1 }, ko = ["x1", "x2", "y1", "y2", "stroke"], _o = ["x1", "x2", "y1", "y2", "stroke"], wo = ["x1", "x2", "y1", "y2", "stroke"], So = { key: 3 }, $o = ["d", "stroke"], Lo = { key: 4 }, Ao = ["d", "stroke"], Mo = ["id"], zo = ["stop-color"], Co = ["stop-color"], Io = ["stop-color"], To = ["id"], Oo = ["stop-color"], No = ["stop-color"], Vo = ["stop-color"], Po = ["id"], Ho = ["stop-color"], Bo = ["stop-color"], Ro = ["id"], Yo = ["stop-color"], Fo = ["stop-color"], Eo = ["id"], Wo = ["stop-color"], Go = ["stop-color"], Xo = ["x", "y", "height", "width", "fill"], Do = ["x", "y", "width"], Uo = { key: 0 }, qo = ["x", "y", "height", "width", "fill"], Zo = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Jo = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ko = ["width", "x", "y"], Qo = { key: 0 }, jo = ["id"], es = ["fill"], ls = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], as = ["x", "y", "font-size", "fill"], ts = ["stroke", "x1", "x2", "y1", "y2"], os = { key: 3 }, ss = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], us = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], rs = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], is = ["fill", "font-size", "transform"], ns = ["x1", "x2", "y1", "y2", "stroke"], cs = ["x", "y", "font-size", "fill"], vs = ["x1", "x2", "y1", "y2", "stroke"], ds = ["x", "y", "font-size", "fill"], hs = ["width", "x", "y"], fs = { style: { width: "100%" } }, gs = { key: 0 }, xs = ["id"], bs = ["fill"], ms = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ys = ["x", "y", "font-size", "fill"], ps = ["d", "stroke", "stroke-width", "stroke-dasharray"], ks = ["d", "stroke", "stroke-width", "stroke-dasharray"], _s = { key: 6 }, ws = { key: 0 }, Ss = ["d", "fill"], $s = ["d", "fill"], Ls = ["d", "fill"], As = ["d", "fill"], Ms = ["d", "stroke", "stroke-width", "stroke-dasharray"], zs = ["d", "stroke", "stroke-width", "stroke-dasharray"], Cs = ["width", "x", "y"], Is = { style: { width: "100%" } }, Ts = { key: 3 }, Os = ["id"], Ns = ["fill"], Vs = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ps = ["x", "y", "font-size", "fill"], Hs = { key: 7 }, Bs = ["x", "y", "font-size", "fill"], Rs = ["x", "y", "font-size", "fill", "font-weight"], Ys = { key: 8 }, Fs = ["x", "y", "font-size", "fill"], Es = { key: 9 }, Ws = ["x", "y"], Gs = ["innerHTML"], Xs = ["x", "y"], Ds = ["innerHTML"], Us = ["x1", "x2", "y1", "y2", "stroke"], qs = { key: 10 }, Zs = ["x", "y", "font-size", "fill"], Js = { key: 11 }, Ks = ["x", "y"], Qs = ["innerHTML"], js = ["x", "y"], eu = ["innerHTML"], lu = ["x1", "x2", "y1", "y2", "stroke"], au = ["x", "y", "font-size", "fill", "innerHTML"], tu = ["x", "y", "font-size", "fill", "innerHTML"], ou = ["x", "y", "font-size", "fill", "innerHTML"], su = ["x", "y", "font-size", "fill", "innerHTML"], uu = ["id"], ru = ["stop-color"], iu = ["stop-color"], nu = ["x", "y", "width", "height", "fill", "onMouseenter"], cu = ["font-size", "fill", "transform"], vu = ["x", "y", "font-size", "fill"], du = ["text-anchor", "font-size", "fill", "transform", "onClick"], hu = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], fu = { key: 14 }, gu = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], xu = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], bu = ["y", "x", "width", "height", "fill"], mu = ["id", "x", "y", "font-size", "fill", "text-anchor"], yu = { key: 15 }, pu = ["x", "y", "height", "width", "onMouseenter", "onClick"], ku = {
16
13
  key: 16,
17
14
  style: { "pointer-events": "none" }
18
15
  }, _u = ["x", "y"], wu = ["cx", "cy", "r", "fill"], Su = {
@@ -38,12 +35,12 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
38
35
  height: "100%",
39
36
  viewBox: "0 0 10 20",
40
37
  style: { position: "absolute", left: "100%", top: "50%", transform: "translateY(-50%)" }
41
- }, Vu = ["fill"], Pu = ["innerHTML"], Hu = ["onClick"], Ru = {
38
+ }, Vu = ["fill"], Pu = ["innerHTML"], Hu = ["onClick"], Bu = {
42
39
  key: 0,
43
40
  viewBox: "0 0 20 12",
44
41
  height: "14",
45
42
  width: "20"
46
- }, Bu = ["stroke", "fill"], Yu = {
43
+ }, Ru = ["stroke", "fill"], Yu = {
47
44
  key: 1,
48
45
  viewBox: "0 0 40 40",
49
46
  height: "14",
@@ -73,11 +70,11 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
73
70
  }
74
71
  },
75
72
  emits: ["selectTimeLabel", "selectX", "selectLegend"],
76
- setup(Nl, { expose: Ka, emit: Qa }) {
77
- const m = Nl, ja = Fe(() => import("./DataTable-rKKFtHrS.js")), et = Fe(() => import("./Tooltip-CxwXrJ2u.js")), lt = Fe(() => import("./UserOptions-B-B0E6a5.js")), at = Fe(() => import("./BaseIcon-BRbpfizy.js")), tt = Fe(() => import("./vue-ui-table-sparkline-BBfZ4a4I.js")), ot = Fe(() => import("./vue-ui-accordion-xabUfErM.js")), st = Fe(() => import("./PackageVersion-5SA7DsrF.js")), ut = Fe(() => import("./PenAndPaper-BGxzp1tk.js")), Vl = Qa, ua = Vt(), rt = Pt(), { vue_ui_xy: Pl } = Et(), ge = w(null), il = w(null), Le = w(null), al = w(null), nl = w(null), cl = w(null), ra = 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), na = w(!1), _ = w(null), Ue = w(null), te = w([]), q = w(ta()), ca = w(0), va = w(0), da = w(0), dl = w(!0), El = w(0), O = w(null), ha = w(!1), Wl = w(!0), _l = w(!0), pe = w(null), Oe = w({}), wl = w(null), fa = w(0), nt = w(1), ct = A(() => ({
73
+ setup(Nl, { expose: ja, emit: et }) {
74
+ const m = Nl, lt = Fe(() => import("./DataTable-ChtJEWX5.js")), at = Fe(() => import("./Tooltip-BE77DQlM.js")), tt = Fe(() => import("./UserOptions-B1RQL5m0.js")), ot = Fe(() => import("./BaseIcon-BpW-Ye5T.js")), st = Fe(() => import("./vue-ui-table-sparkline-B4nooXbN.js")), ut = Fe(() => import("./vue-ui-accordion-CpMULoC-.js")), rt = Fe(() => import("./PackageVersion-LuCRzghx.js")), it = Fe(() => import("./PenAndPaper-BhL2fPUu.js")), Vl = et, ra = Pt(), nt = Ht(), { vue_ui_xy: Pl } = Wt(), xe = w(null), il = w(null), Le = w(null), al = w(null), nl = w(null), cl = w(null), ia = w(null), Hl = w(null), Bl = w(null), Rl = w(null), Yl = w(null), Xe = w(null), Fl = w(null), El = w(0), M = w(null), na = w(!0), ue = w(600), Z = w(1e3), De = w("0 0 1000 600"), ct = w({ x: 0, y: 0 }), vl = w({ line: "line", bar: "bar", plot: "plot" }), kl = w(!1), tl = w(!1), ca = w(!1), _ = w(null), Ue = w(null), te = w([]), q = w(oa()), va = w(0), da = w(0), ha = w(0), dl = w(!0), Wl = w(0), O = w(null), fa = w(!1), Gl = w(!0), _l = w(!0), pe = w(null), Oe = w({}), wl = w(null), ga = w(0), vt = w(1), dt = A(() => ({
78
75
  height: ue.value,
79
76
  width: Z.value
80
- })), vt = m.config.downsample && m.config.downsample.threshold ? m.config.downsample.threshold : 500, f = w({
77
+ })), ht = m.config.downsample && m.config.downsample.threshold ? m.config.downsample.threshold : 500, f = w({
81
78
  dataLabels: { show: !0 },
82
79
  showTooltip: !0,
83
80
  showTable: !1,
@@ -89,9 +86,9 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
89
86
  dataLabels: 20,
90
87
  plotLabels: 10
91
88
  }), Ae = w({ plot: 3, line: 3 });
92
- la(() => {
89
+ aa(() => {
93
90
  m.dataset.length && m.dataset.forEach((a, c) => {
94
- [null, void 0].includes(a.series) && oa({
91
+ [null, void 0].includes(a.series) && sa({
95
92
  componentName: "VueUiXy",
96
93
  type: "datasetSerieAttribute",
97
94
  property: "series (number[])",
@@ -100,14 +97,14 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
100
97
  });
101
98
  });
102
99
  });
103
- function Gl() {
100
+ function Xl() {
104
101
  if (!Object.keys(m.config || {}).length)
105
102
  return Pl;
106
- const a = sa({
103
+ const a = ua({
107
104
  userConfig: m.config,
108
105
  defaultConfig: Pl
109
106
  });
110
- return m.config && ul(m.config, "chart.highlightArea") && (Array.isArray(m.config.chart.highlightArea) ? a.chart.highlightArea = m.config.chart.highlightArea : a.chart.highlightArea = [m.config.chart.highlightArea]), m.config && ul(m.config, "chart.grid.labels.yAxis.scaleMin") ? a.chart.grid.labels.yAxis.scaleMin = m.config.chart.grid.labels.yAxis.scaleMin : a.chart.grid.labels.yAxis.scaleMin = null, m.config && ul(m.config, "chart.grid.labels.yAxis.scaleMax") ? a.chart.grid.labels.yAxis.scaleMax = m.config.chart.grid.labels.yAxis.scaleMax : a.chart.grid.labels.yAxis.scaleMax = null, m.config && ul(m.config, "chart.zoom.startIndex") ? a.chart.zoom.startIndex = m.config.chart.zoom.startIndex : a.chart.zoom.startIndex = null, m.config && ul(m.config, "chart.zoom.endIndex") ? a.chart.zoom.endIndex = m.config.chart.zoom.endIndex : a.chart.zoom.endIndex = null, m.config && ul(m.config, "chart.grid.labels.yAxis.groupColor") ? a.chart.grid.labels.yAxis.groupColor = m.config.chart.grid.labels.yAxis.groupColor : a.chart.grid.labels.yAxis.groupColor = null, m.config && m.config.chart.annotations && Array.isArray(m.config.chart.annotations) && m.config.chart.annotations.length ? a.chart.annotations = m.config.chart.annotations.map((c) => sa({
107
+ return m.config && ul(m.config, "chart.highlightArea") && (Array.isArray(m.config.chart.highlightArea) ? a.chart.highlightArea = m.config.chart.highlightArea : a.chart.highlightArea = [m.config.chart.highlightArea]), m.config && ul(m.config, "chart.grid.labels.yAxis.scaleMin") ? a.chart.grid.labels.yAxis.scaleMin = m.config.chart.grid.labels.yAxis.scaleMin : a.chart.grid.labels.yAxis.scaleMin = null, m.config && ul(m.config, "chart.grid.labels.yAxis.scaleMax") ? a.chart.grid.labels.yAxis.scaleMax = m.config.chart.grid.labels.yAxis.scaleMax : a.chart.grid.labels.yAxis.scaleMax = null, m.config && ul(m.config, "chart.zoom.startIndex") ? a.chart.zoom.startIndex = m.config.chart.zoom.startIndex : a.chart.zoom.startIndex = null, m.config && ul(m.config, "chart.zoom.endIndex") ? a.chart.zoom.endIndex = m.config.chart.zoom.endIndex : a.chart.zoom.endIndex = null, m.config && ul(m.config, "chart.grid.labels.yAxis.groupColor") ? a.chart.grid.labels.yAxis.groupColor = m.config.chart.grid.labels.yAxis.groupColor : a.chart.grid.labels.yAxis.groupColor = null, m.config && m.config.chart.annotations && Array.isArray(m.config.chart.annotations) && m.config.chart.annotations.length ? a.chart.annotations = m.config.chart.annotations.map((c) => ua({
111
108
  defaultConfig: Pl.chart.annotations[0],
112
109
  userConfig: c
113
110
  })) : a.chart.annotations = [], m.config && m.config.autoSize && (m.config && m.config.debug && (m.config.chart.padding.top && console.warn("Vue Data UI - VueUiXy - autoSize mode ignores chart.padding.top, set a 0 value to remove this warning"), m.config.chart.padding.right && console.warn("Vue Data UI - VueUiXy - autoSize mode ignores chart.padding.right, set a 0 value to remove this warning"), m.config.chart.padding.bottom && console.warn("Vue Data UI - VueUiXy - autoSize mode ignores chart.padding.bottom, set a 0 value to remove this warning"), m.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,27 +113,27 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
116
113
  bottom: 0,
117
114
  left: 0
118
115
  }), a.theme ? {
119
- ...sa({
120
- userConfig: eo.vue_ui_xy[a.theme] || m.config,
116
+ ...ua({
117
+ userConfig: lo.vue_ui_xy[a.theme] || m.config,
121
118
  defaultConfig: a
122
119
  }),
123
- customPalette: jt[a.theme] || m.palette
120
+ customPalette: eo[a.theme] || m.palette
124
121
  } : a;
125
122
  }
126
- const Xl = A({
123
+ const Dl = A({
127
124
  get() {
128
125
  return !!m.dataset && m.dataset.length;
129
126
  },
130
127
  set(a) {
131
128
  return a;
132
129
  }
133
- }), l = w(Gl()), { loading: Dl, FINAL_DATASET: Ne, manualLoading: Sl } = io({
134
- ...Ht(m),
130
+ }), l = w(Xl()), { loading: Ul, FINAL_DATASET: Ne, manualLoading: Sl } = no({
131
+ ...Bt(m),
135
132
  FINAL_CONFIG: l,
136
- prepareConfig: Gl,
133
+ prepareConfig: Xl,
137
134
  callback: () => {
138
135
  Promise.resolve().then(async () => {
139
- await ea(), l.value.autoSize && (ol(), Ql());
136
+ await la(), l.value.autoSize && (ol(), jl());
140
137
  });
141
138
  },
142
139
  skeletonDataset: [
@@ -154,7 +151,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
154
151
  color: "#CACACA"
155
152
  }
156
153
  ],
157
- skeletonConfig: Wt({
154
+ skeletonConfig: Gt({
158
155
  defaultConfig: l.value,
159
156
  userConfig: {
160
157
  autoSize: !1,
@@ -211,21 +208,21 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
211
208
  }
212
209
  })
213
210
  }), He = A({
214
- get: () => Math.max(...Ne.value.map((a) => Ee({ data: a.series, threshold: vt }).length)),
211
+ get: () => Math.max(...Ne.value.map((a) => Ee({ data: a.series, threshold: ht }).length)),
215
212
  set: (a) => a
216
- }), S = w({ start: 0, end: He.value }), { isPrinting: Ul, isImaging: ga, generatePdf: xa, generateImage: ba } = ro({
213
+ }), S = w({ start: 0, end: He.value }), { isPrinting: ql, isImaging: xa, generatePdf: ba, generateImage: ma } = io({
217
214
  elementId: `vue-ui-xy_${q.value}`,
218
215
  fileName: l.value.chart.title.text || "vue-ui-xy",
219
216
  options: l.value.chart.userOptions.print
220
- }), X = A(() => l.value.autoSize), ql = A(() => {
217
+ }), X = A(() => l.value.autoSize), Zl = A(() => {
221
218
  const [a, c, e, s] = De.value.split(" ").map(Number);
222
219
  return { x: a, y: c, width: e, height: s };
223
- }), ma = A(() => Gt(l.value.customPalette)), $l = A(() => l.value.chart.grid.labels.yAxis.scaleMax ? l.value.chart.grid.labels.yAxis.scaleMax : Math.max(...Ve.value.filter((a) => !te.value.includes(a.id)).map((a) => Math.max(...a.series)))), Zl = A(() => {
220
+ }), ya = A(() => Xt(l.value.customPalette)), $l = A(() => l.value.chart.grid.labels.yAxis.scaleMax ? l.value.chart.grid.labels.yAxis.scaleMax : Math.max(...Ve.value.filter((a) => !te.value.includes(a.id)).map((a) => Math.max(...a.series)))), Jl = A(() => {
224
221
  if (l.value.chart.grid.labels.yAxis.scaleMin !== null)
225
222
  return l.value.chart.grid.labels.yAxis.scaleMin;
226
223
  const a = Math.min(...Ve.value.filter((c) => !te.value.includes(c.id)).map((c) => Math.min(...c.series)));
227
224
  return a > 0 ? 0 : a;
228
- }), ke = A(() => l.value.chart.grid.labels.yAxis.useNiceScale ? pl(Zl.value, $l.value < 0 ? 0 : $l.value, l.value.chart.grid.labels.yAxis.commonScaleSteps) : el(Zl.value, $l.value < 0 ? 0 : $l.value, l.value.chart.grid.labels.yAxis.commonScaleSteps)), hl = A(() => [null, void 0].includes(l.value.chart.grid.labels.yAxis.scaleMin) ? ke.value.min >= 0 ? 0 : Math.abs(ke.value.min) : -ke.value.min), Ve = A(() => ia.value ? Ne.value.map((a, c) => {
225
+ }), ke = A(() => l.value.chart.grid.labels.yAxis.useNiceScale ? pl(Jl.value, $l.value < 0 ? 0 : $l.value, l.value.chart.grid.labels.yAxis.commonScaleSteps) : el(Jl.value, $l.value < 0 ? 0 : $l.value, l.value.chart.grid.labels.yAxis.commonScaleSteps)), hl = A(() => [null, void 0].includes(l.value.chart.grid.labels.yAxis.scaleMin) ? ke.value.min >= 0 ? 0 : Math.abs(ke.value.min) : -ke.value.min), Ve = A(() => na.value ? Ne.value.map((a, c) => {
229
226
  const e = Ee({
230
227
  data: a.series,
231
228
  threshold: l.value.downsample.threshold
@@ -234,7 +231,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
234
231
  ...a,
235
232
  slotAbsoluteIndex: c,
236
233
  series: e.map((t) => Il(t) ? t : null).slice(S.value.start, S.value.end),
237
- color: Xt(a.color ? a.color : ma.value[c] ? ma.value[c] : Dt[c]),
234
+ color: Dt(a.color ? a.color : ya.value[c] ? ya.value[c] : Ut[c]),
238
235
  id: s,
239
236
  scaleLabel: a.scaleLabel || s
240
237
  };
@@ -243,7 +240,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
243
240
  ...a,
244
241
  series: a.series.map((e) => e + hl.value),
245
242
  absoluteValues: a.series,
246
- segregate: () => za(a),
243
+ segregate: () => Ca(a),
247
244
  isSegregated: te.value.includes(a.id)
248
245
  }))), _e = A(() => Ve.value.map((a, c) => ({
249
246
  ...a,
@@ -266,13 +263,13 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
266
263
  height: X.value ? ue.value : ue.value - (l.value.chart.padding.top + l.value.chart.padding.bottom),
267
264
  width: X.value ? Z.value - e : Z.value - (l.value.chart.padding.right + l.value.chart.padding.left + e)
268
265
  };
269
- }), dt = A(() => {
270
- const a = l.value.chart.grid.position === "middle" ? 1 : 0, c = b.value + a, e = R(i.value.top), s = R(i.value.bottom);
266
+ }), ft = A(() => {
267
+ const a = l.value.chart.grid.position === "middle" ? 1 : 0, c = b.value + a, e = B(i.value.top), s = B(i.value.bottom);
271
268
  return Array.from({ length: c }).map((t, n) => {
272
269
  const o = i.value.width / b.value * n + i.value.left + Y.value;
273
270
  return `M${o},${e} L${o},${s}`;
274
271
  }).join(" ");
275
- }), ht = A(() => {
272
+ }), gt = A(() => {
276
273
  if (!l.value.chart.grid.labels.xAxis.showCrosshairs)
277
274
  return "";
278
275
  const {
@@ -282,40 +279,40 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
282
279
  } = l.value.chart.grid.labels.xAxisLabels, s = Math.floor((S.value.end - S.value.start) / e);
283
280
  return de.value.map((t, n) => {
284
281
  if (!t) return null;
285
- const o = a && b.value <= e, B = !c && !a, F = c && !a && (n === 0 || n === de.value.length - 1), K = c && !a && _.value === n, $ = !c && a && n % s === 0;
286
- if (!(o || B || F || K || $))
282
+ const o = a && b.value <= e, R = !c && !a, F = c && !a && (n === 0 || n === de.value.length - 1), K = c && !a && _.value === n, $ = !c && a && n % s === 0;
283
+ if (!(o || R || F || K || $))
287
284
  return null;
288
285
  const z = i.value.width / b.value, E = i.value.left + z * n + z / 2, k = l.value.chart.grid.labels.xAxis.crosshairSize, N = l.value.chart.grid.labels.xAxis.crosshairsAlwaysAtZero, L = N ? re.value - (re.value === i.value.bottom ? 0 : k / 2) : i.value.bottom, Q = N ? re.value + k / (re.value === i.value.bottom ? 1 : 2) : i.value.bottom + k;
289
286
  return `M${E},${L} L${E},${Q}`;
290
287
  }).filter((t) => t !== null).join(" ");
291
288
  });
292
- function ya() {
293
- return !!rt?.vnode.props?.onSelectTimeLabel;
289
+ function pa() {
290
+ return !!nt?.vnode.props?.onSelectTimeLabel;
294
291
  }
295
- function ft(a, c, e) {
292
+ function xt(a, c, e) {
296
293
  if (!wl.value) {
297
294
  const s = document.createElement("canvas");
298
295
  wl.value = s.getContext("2d");
299
296
  }
300
297
  return wl.value.font = `normal ${a}px sans-serif`, wl.value;
301
298
  }
302
- function pa() {
303
- const a = ge.value.querySelectorAll(".vue-ui-xy-tag");
299
+ function ka() {
300
+ const a = xe.value.querySelectorAll(".vue-ui-xy-tag");
304
301
  a.length && Array.from(a).forEach((c) => c.style.opacity = "0");
305
302
  }
306
303
  function Ll(a, c, e, s, t) {
307
304
  e && (Oe.value[`${a}_${c}_${s}_${t}`] = e);
308
305
  }
309
- const Jl = w(!1);
310
- async function ka(a = !1) {
311
- await me(), Jl.value = a, ha.value && (_l.value = a);
306
+ const Kl = w(!1);
307
+ async function _a(a = !1) {
308
+ await ge(), Kl.value = a, fa.value && (_l.value = a);
312
309
  }
313
- function Kl() {
310
+ function Ql() {
314
311
  kl.value = !kl.value;
315
312
  }
316
313
  const de = A(() => {
317
314
  const a = Math.max(...Ne.value.map((c) => Ee({ data: c.series, threshold: l.value.downsample.threshold }).length));
318
- return to({
315
+ return oo({
319
316
  values: l.value.chart.grid.labels.xAxisLabels.values,
320
317
  maxDatapoints: a,
321
318
  formatter: l.value.chart.grid.labels.xAxisLabels.datetimeFormatter,
@@ -323,7 +320,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
323
320
  end: S.value.end
324
321
  });
325
322
  });
326
- function _a(a, c) {
323
+ function wa(a, c) {
327
324
  const e = _e.value.map((s) => ({
328
325
  shape: s.shape || null,
329
326
  name: s.name,
@@ -341,26 +338,29 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
341
338
  });
342
339
  }
343
340
  const b = A(() => S.value.end - S.value.start);
344
- async function gt() {
341
+ async function bt() {
345
342
  if (!Hl.value) return;
346
- await me();
343
+ await ge();
347
344
  let a = i.value.bottom;
348
- Bl.value && (a += Bl.value.getBBox().height), Hl.value.setAttribute("y", a + x.value.xAxis * 1.3 + l.value.chart.grid.labels.axis.xLabelOffsetY);
345
+ Rl.value && (a += Rl.value.getBBox().height), Hl.value.setAttribute("y", a + x.value.xAxis * 1.3 + l.value.chart.grid.labels.axis.xLabelOffsetY);
349
346
  }
350
- async function xt() {
351
- Rl.value && (await me(), Rl.value.setAttribute("transform", `translate(${ql.value.x + l.value.chart.grid.labels.axis.yLabelOffsetX + x.value.yAxis}, ${i.value.top + i.value.height / 2}) rotate(-90)`));
347
+ async function mt() {
348
+ if (!Bl.value) return;
349
+ await ge();
350
+ let a = 0;
351
+ Yl.value ? a = Yl.value.getBBox().x : a = Zl.value.x, Bl.value.setAttribute("transform", `translate(${a + l.value.chart.grid.labels.axis.yLabelOffsetX - x.value.yAxis}, ${i.value.top + i.value.height / 2}) rotate(-90)`);
352
352
  }
353
353
  async function ol() {
354
- await me();
355
- const a = ra.value;
354
+ await ge();
355
+ const a = ia.value;
356
356
  if (!a) return;
357
- De.value = `0 0 ${l.value.chart.width} ${l.value.chart.height}`, gt(), await me(), xt();
357
+ De.value = `0 0 ${l.value.chart.width} ${l.value.chart.height}`, bt(), await ge(), mt(), await ge();
358
358
  const c = a.getBBox();
359
- De.value = `${c.x} ${c.y - x.value.plotLabels} ${c.width + l.value.chart.padding.left} ${c.height + x.value.plotLabels + l.value.chart.padding.top}`, await me(), ge.value.classList.remove("no-transition");
359
+ De.value = `${c.x} ${c.y - x.value.plotLabels} ${c.width + l.value.chart.padding.left} ${c.height + x.value.plotLabels + l.value.chart.padding.top}`, await ge(), xe.value.classList.remove("no-transition");
360
360
  }
361
- function Ql() {
362
- if (l.value.responsive && ge.value) {
363
- const a = ge.value.parentNode;
361
+ function jl() {
362
+ if (l.value.responsive && xe.value) {
363
+ const a = xe.value.parentNode;
364
364
  if (a) {
365
365
  const c = a.getBoundingClientRect().width;
366
366
  a.style.width = c - 0.1 + "px", setTimeout(() => {
@@ -369,47 +369,47 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
369
369
  }
370
370
  }
371
371
  }
372
- function bt(a) {
372
+ function yt(a) {
373
373
  O.value = a;
374
374
  }
375
- function wa() {
375
+ function Sa() {
376
376
  f.value.isStacked = !f.value.isStacked, f.value.isStacked ? f.value.useIndividualScale = !0 : f.value.useIndividualScale = l.value.chart.grid.labels.yAxis.useIndividualScale;
377
377
  }
378
- function jl(a) {
378
+ function ea(a) {
379
379
  xl.value && a.autoScaling && (l.value.chart.grid.labels.yAxis.useIndividualScale || console.warn(`VueUiXy (datapoint: ${a.name}) : autoScaling only works when config.chart.grid.labels.yAxis.useIndividualScale is set to true`), l.value.chart.grid.labels.yAxis.stacked || console.warn(`VueUiXy (datapoint: ${a.name}) : autoScaling only works when config.chart.grid.labels.yAxis.stacked is set to true`));
380
380
  }
381
- function mt(a, c) {
381
+ function pt(a, c) {
382
382
  let e = Array(a).fill(0);
383
383
  for (let s = 0; s < c.length && s < a; s += 1)
384
384
  e[s] = c[s];
385
385
  return e;
386
386
  }
387
- function yt(a) {
387
+ function kt(a) {
388
388
  const c = Math.max(...Ne.value.map((e) => Ee({ data: e.series, threshold: l.value.downsample.threshold }).length));
389
389
  return a > c ? c : a < 0 || l.value.chart.zoom.startIndex !== null && a < l.value.chart.zoom.startIndex ? l.value.chart.zoom.startIndex !== null ? l.value.chart.zoom.startIndex + 1 : 1 : a;
390
390
  }
391
- async function ea() {
392
- (l.value.chart.zoom.startIndex !== null || l.value.chart.zoom.endIndex !== null) && Le.value ? (l.value.chart.zoom.startIndex !== null && (await me(), await me(), Le.value.setStartValue(l.value.chart.zoom.startIndex)), l.value.chart.zoom.endIndex !== null && (await me(), await me(), Le.value.setEndValue(yt(l.value.chart.zoom.endIndex + 1)))) : (S.value = {
391
+ async function la() {
392
+ (l.value.chart.zoom.startIndex !== null || l.value.chart.zoom.endIndex !== null) && Le.value ? (l.value.chart.zoom.startIndex !== null && (await ge(), await ge(), Le.value.setStartValue(l.value.chart.zoom.startIndex)), l.value.chart.zoom.endIndex !== null && (await ge(), await ge(), Le.value.setEndValue(kt(l.value.chart.zoom.endIndex + 1)))) : (S.value = {
393
393
  start: 0,
394
394
  end: Math.max(...Ne.value.map((a) => Ee({ data: a.series, threshold: l.value.downsample.threshold }).length))
395
- }, Fl.value += 1);
395
+ }, El.value += 1);
396
396
  }
397
- function pt() {
398
- ea();
397
+ function _t() {
398
+ la();
399
399
  }
400
- function xe(a) {
400
+ function be(a) {
401
401
  return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(a);
402
402
  }
403
- const Sa = A(() => ke.value.max + hl.value);
403
+ const $a = A(() => ke.value.max + hl.value);
404
404
  function qe(a) {
405
- return a / (xe(Sa.value) ? Sa.value : 1);
405
+ return a / (be($a.value) ? $a.value : 1);
406
406
  }
407
407
  const re = A(() => isNaN(qe(hl.value)) ? i.value.bottom : i.value.bottom - i.value.height * qe(hl.value));
408
- function $a(a) {
409
- const c = ![null, void 0].includes(l.value.chart.grid.labels.yAxis.scaleMin) && l.value.chart.grid.labels.yAxis.scaleMin > 0 && Zl.value >= 0 ? i.value.bottom : re.value;
408
+ function La(a) {
409
+ const c = ![null, void 0].includes(l.value.chart.grid.labels.yAxis.scaleMin) && l.value.chart.grid.labels.yAxis.scaleMin > 0 && Jl.value >= 0 ? i.value.bottom : re.value;
410
410
  return a.value >= 0 ? T(c - a.y <= 0 ? 1e-5 : c - a.y) : T(a.y - re.value <= 0 ? 1e-5 : a.y - re.value);
411
411
  }
412
- function La(a) {
412
+ function Aa(a) {
413
413
  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);
414
414
  }
415
415
  const J = A(() => ({
@@ -423,13 +423,13 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
423
423
  function Al(a) {
424
424
  return f.value.useIndividualScale && f.value.isStacked ? a.x + i.value.width / b.value * 0.05 : a.x + J.value.bar / 2;
425
425
  }
426
- function Aa(a) {
426
+ function Ma(a) {
427
427
  return a.value >= 0 ? a.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(re.value) ? i.bottom.value : re.value;
428
428
  }
429
- function Ma(a) {
429
+ function za(a) {
430
430
  return a.value >= 0 ? a.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(a.zeroPosition) ? 0 : a.zeroPosition;
431
431
  }
432
- function kt(a) {
432
+ function wt(a) {
433
433
  Vl(
434
434
  "selectX",
435
435
  {
@@ -444,7 +444,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
444
444
  }
445
445
  );
446
446
  }
447
- function _t() {
447
+ function St() {
448
448
  return Me.value.map((a) => ({
449
449
  values: a.absoluteValues,
450
450
  color: a.color,
@@ -452,9 +452,9 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
452
452
  type: a.type
453
453
  }));
454
454
  }
455
- async function wt({ scale: a = 2 } = {}) {
456
- if (!ge.value) return;
457
- const { width: c, height: e } = ge.value.getBoundingClientRect(), s = c / e, { imageUri: t, base64: n } = await uo({ domElement: ge.value, base64: !0, img: !0, scale: a });
455
+ async function $t({ scale: a = 2 } = {}) {
456
+ if (!xe.value) return;
457
+ const { width: c, height: e } = xe.value.getBoundingClientRect(), s = c / e, { imageUri: t, base64: n } = await ro({ domElement: xe.value, base64: !0, img: !0, scale: a });
458
458
  return {
459
459
  imageUri: t,
460
460
  base64: n,
@@ -464,7 +464,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
464
464
  aspectRatio: s
465
465
  };
466
466
  }
467
- function za(a) {
467
+ function Ca(a) {
468
468
  if (te.value.includes(a.id))
469
469
  te.value = te.value.filter((c) => c !== a.id);
470
470
  else {
@@ -476,14 +476,14 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
476
476
  values: c.absoluteValues,
477
477
  color: c.color,
478
478
  type: c.type
479
- }))), El.value += 1;
479
+ }))), Wl.value += 1;
480
480
  }
481
- const St = A(() => {
481
+ const Lt = A(() => {
482
482
  const a = l.value.chart.title.text || "Chart visualization", c = l.value.chart.title.subtitle.text || "";
483
483
  return `${a}. ${c}`;
484
- }), Ca = A(() => ({
484
+ }), Ia = A(() => ({
485
485
  linePlot: b.value > l.value.line.dot.hideAboveMaxSerieLength
486
- })), $t = A(() => l.value.chart.userOptions.show && (!l.value.chart.title.show || !l.value.chart.title.text)), Lt = A(() => {
486
+ })), At = A(() => l.value.chart.userOptions.show && (!l.value.chart.title.show || !l.value.chart.title.text)), Mt = A(() => {
487
487
  if (Array.isArray(l.value.chart.highlightArea))
488
488
  return l.value.chart.highlightArea.map((c) => {
489
489
  const e = Math.min(c.to, He.value - 1);
@@ -497,22 +497,22 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
497
497
  to: Math.min(l.value.chart.highlightArea.to, He.value - 1)
498
498
  };
499
499
  return [{ ...a, span: a.from === a.to ? 1 : a.to < a.from ? 0 : a.to - a.from + 1 }];
500
- }), At = A(() => ia.value ? Ne.value.map((a, c) => ({
500
+ }), zt = A(() => na.value ? Ne.value.map((a, c) => ({
501
501
  ...a,
502
502
  series: Ee({
503
503
  data: a.series,
504
504
  threshold: l.value.downsample.threshold
505
505
  }),
506
506
  id: `uniqueId_${c}`
507
- })) : Ne.value), Mt = A(() => _e.value.map((a) => {
507
+ })) : Ne.value), Ct = A(() => _e.value.map((a) => {
508
508
  const c = a.absoluteValues.map((e) => [void 0, null].includes(e) ? 0 : e);
509
509
  return {
510
510
  id: a.id,
511
511
  name: a.name,
512
512
  color: a.color,
513
- values: mt(b.value, c)
513
+ values: pt(b.value, c)
514
514
  };
515
- })), zt = A(() => ({
515
+ })), It = A(() => ({
516
516
  responsiveBreakpoint: l.value.table.responsiveBreakpoint,
517
517
  roundingValues: l.value.table.rounding,
518
518
  showAverage: !1,
@@ -535,23 +535,23 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
535
535
  userOptions: {
536
536
  show: !1
537
537
  }
538
- })), Y = A(() => l.value.chart.grid.position === "middle" ? 0 : i.value.width / b.value / 2), Ze = A(() => Ut(Me.value.filter((a) => !te.value.includes(a.id)))), p = A(() => {
538
+ })), Y = A(() => l.value.chart.grid.position === "middle" ? 0 : i.value.width / b.value / 2), Ze = A(() => qt(Me.value.filter((a) => !te.value.includes(a.id)))), p = A(() => {
539
539
  const a = Object.groupBy(Ze.value, (e) => e.scaleLabel), c = {};
540
540
  for (const [e, s] of Object.entries(a)) {
541
541
  const t = s.flatMap((n) => n.absoluteValues);
542
542
  c[e] = {
543
543
  min: Math.min(...t) || 0,
544
544
  max: Math.max(...t) || 1,
545
- groupId: `scale_group_${ta()}`
545
+ groupId: `scale_group_${oa()}`
546
546
  };
547
547
  }
548
548
  return c;
549
- }), Ct = A(() => {
549
+ }), Tt = A(() => {
550
550
  const a = Ve.value.filter((c) => c.type === "bar").filter((c) => !te.value.includes(c.id)).length;
551
551
  return i.value.width / b.value / a - Pe.value * a;
552
- }), Pe = A(() => J.value.line * l.value.bar.periodGap), It = A(() => {
552
+ }), Pe = A(() => J.value.line * l.value.bar.periodGap), Ot = A(() => {
553
553
  if (!l.value.chart.zoom.minimap.show) return [];
554
- const a = At.value.filter((t) => !te.value.includes(t.id)), c = Math.max(...a.map((t) => t.series.length)), e = [];
554
+ const a = zt.value.filter((t) => !te.value.includes(t.id)), c = Math.max(...a.map((t) => t.series.length)), e = [];
555
555
  for (let t = 0; t < c; t += 1)
556
556
  e.push(a.map((n) => n.series[t] || 0).reduce((n, o) => (n || 0) + (o || 0), 0));
557
557
  const s = Math.min(...e);
@@ -566,12 +566,12 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
566
566
  comments: a.comments || [],
567
567
  prefix: a.prefix || l.value.chart.labels.prefix,
568
568
  suffix: a.suffix || l.value.chart.labels.suffix
569
- }))), Ia = A(() => ke.value.ticks.map((a) => ({
569
+ }))), Ta = A(() => ke.value.ticks.map((a) => ({
570
570
  y: a >= 0 ? re.value - i.value.height * qe(a) : re.value + i.value.height * qe(Math.abs(a)),
571
571
  value: a,
572
572
  prefix: l.value.chart.labels.prefix,
573
573
  suffix: l.value.chart.labels.suffix
574
- }))), Ta = A(() => {
574
+ }))), Oa = A(() => {
575
575
  const a = l.value.chart.annotations;
576
576
  if (!a || !Array.isArray(a) || a.every(($) => !$.show)) return [];
577
577
  const c = a.filter(
@@ -583,15 +583,15 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
583
583
  return t - z * n;
584
584
  };
585
585
  return c.map(($) => {
586
- const { yAxis: { yTop: z, yBottom: E, label: k } } = $, N = z != null && E != null && z !== E, L = z == null ? null : K(z), Q = E == null ? null : K(E), ie = ft(k.fontSize);
586
+ const { yAxis: { yTop: z, yBottom: E, label: k } } = $, N = z != null && E != null && z !== E, L = z == null ? null : K(z), Q = E == null ? null : K(E), ie = xt(k.fontSize);
587
587
  ie.font = `${k.fontSize}px sans-serif`;
588
- const D = ie.measureText(k.text).width, be = k.fontSize, Ce = (k.position === "start" ? e + k.padding.left : s - k.padding.right) + k.offsetX, he = (L != null && Q != null ? Math.min(L, Q) : L ?? Q) - k.fontSize / 3 + k.offsetY - k.padding.top;
588
+ const D = ie.measureText(k.text).width, me = k.fontSize, Ce = (k.position === "start" ? e + k.padding.left : s - k.padding.right) + k.offsetX, he = (L != null && Q != null ? Math.min(L, Q) : L ?? Q) - k.fontSize / 3 + k.offsetY - k.padding.top;
589
589
  let P;
590
590
  k.textAnchor === "middle" ? P = Ce - D / 2 - k.padding.left : k.textAnchor === "end" ? P = Ce - D - k.padding.right : P = Ce - k.padding.left;
591
- const H = he - be * 0.75 - k.padding.top;
591
+ const H = he - me * 0.75 - k.padding.top;
592
592
  return {
593
593
  show: ![L, Q, H].includes(NaN),
594
- id: `annotation_y_${ta()}`,
594
+ id: `annotation_y_${oa()}`,
595
595
  hasArea: N,
596
596
  areaHeight: N ? Math.abs(L - Q) : 0,
597
597
  yTop: L,
@@ -604,7 +604,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
604
604
  x: P,
605
605
  y: H,
606
606
  width: D + k.padding.left + k.padding.right,
607
- height: be + k.padding.top + k.padding.bottom,
607
+ height: me + k.padding.top + k.padding.bottom,
608
608
  fill: k.backgroundColor,
609
609
  stroke: k.border.stroke,
610
610
  rx: k.border.rx,
@@ -613,10 +613,10 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
613
613
  }
614
614
  };
615
615
  });
616
- }), Re = A(() => {
616
+ }), Be = A(() => {
617
617
  const a = Ze.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), c = a.length, e = l.value.chart.grid.labels.yAxis.gap, s = f.value.isStacked, t = s ? e * (c - 1) : 0, n = i.value.height - t;
618
- return a.filter((o) => o.type === "bar").map((o, B) => {
619
- jl(o);
618
+ return a.filter((o) => o.type === "bar").map((o, R) => {
619
+ ea(o);
620
620
  const F = p.value[o.scaleLabel].min, K = p.value[o.scaleLabel].max;
621
621
  o.absoluteValues.filter((V) => ![null, void 0].includes(V)).map((V) => (V - F) / (K - F));
622
622
  const $ = {
@@ -625,8 +625,8 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
625
625
  }, z = {
626
626
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
627
627
  min: o.scaleMin || Math.min(...o.absoluteValues.filter((V) => ![void 0, null].includes(V))) > 0 ? 0 : Math.min(...o.absoluteValues.filter((V) => ![null, void 0].includes(V)))
628
- }, E = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, k = 1.0000001, N = l.value.chart.grid.labels.yAxis.useNiceScale ? pl(z.min, z.max === z.min ? z.max * k : z.max, E) : el(z.min, z.max === z.min ? z.max * k : z.max, E), L = l.value.chart.grid.labels.yAxis.useNiceScale ? pl($.valueMin, $.valueMax === $.valueMin ? $.valueMax * k : $.valueMax, E) : el($.valueMin, $.valueMax === $.valueMin ? $.valueMax * k : $.valueMax, E), Q = N.min >= 0 ? 0 : Math.abs(N.min), ie = 0, D = N.max + Q, be = L.max + Math.abs(ie), Ce = o.stackIndex, sl = c - 1 - Ce, he = s ? 1 - o.cumulatedStackRatio : 0, P = s ? n * he + e * sl : 0, H = s ? n * o.stackRatio : i.value.height, j = i.value.bottom - P - H * Q / D, fe = i.value.bottom - P - H * ie / be, ne = Me.value.filter((V) => V.type === "bar").filter((V) => !te.value.includes(V.id)).length, bl = o.series.map((V, le) => {
629
- const Ye = f.value.useIndividualScale ? (o.absoluteValues[le] + Q) / D : qe(V), Je = f.value.useIndividualScale && f.value.isStacked ? i.value.left + i.value.width / b.value * le : i.value.left + J.value.bar * B + J.value.bar * le * ne - Ct.value / 2 - B * Pe.value;
628
+ }, E = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, k = 1.0000001, N = l.value.chart.grid.labels.yAxis.useNiceScale ? pl(z.min, z.max === z.min ? z.max * k : z.max, E) : el(z.min, z.max === z.min ? z.max * k : z.max, E), L = l.value.chart.grid.labels.yAxis.useNiceScale ? pl($.valueMin, $.valueMax === $.valueMin ? $.valueMax * k : $.valueMax, E) : el($.valueMin, $.valueMax === $.valueMin ? $.valueMax * k : $.valueMax, E), Q = N.min >= 0 ? 0 : Math.abs(N.min), ie = 0, D = N.max + Q, me = L.max + Math.abs(ie), Ce = o.stackIndex, sl = c - 1 - Ce, he = s ? 1 - o.cumulatedStackRatio : 0, P = s ? n * he + e * sl : 0, H = s ? n * o.stackRatio : i.value.height, j = i.value.bottom - P - H * Q / D, fe = i.value.bottom - P - H * ie / me, ne = Me.value.filter((V) => V.type === "bar").filter((V) => !te.value.includes(V.id)).length, bl = o.series.map((V, le) => {
629
+ const Ye = f.value.useIndividualScale ? (o.absoluteValues[le] + Q) / D : qe(V), Je = f.value.useIndividualScale && f.value.isStacked ? i.value.left + i.value.width / b.value * le : i.value.left + J.value.bar * R + J.value.bar * le * ne - Tt.value / 2 - R * Pe.value;
630
630
  return {
631
631
  yOffset: T(P),
632
632
  individualHeight: T(H),
@@ -637,8 +637,8 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
637
637
  individualMax: T(D),
638
638
  comment: o.comments && o.comments.slice(S.value.start, S.value.end)[le] || ""
639
639
  };
640
- }), ve = o.absoluteValues.map((V) => L.min >= 0 ? (V - Math.abs(L.min)) / (L.max - Math.abs(L.min)) : (V + Math.abs(L.min)) / (L.max + Math.abs(L.min))), Be = o.series.map((V, le) => {
641
- const Ye = f.value.useIndividualScale && f.value.isStacked ? i.value.left + i.value.width / b.value * le : i.value.left - J.value.bar / 2 + J.value.bar * B + J.value.bar * le * Me.value.filter((Je) => Je.type === "bar").filter((Je) => !te.value.includes(Je.id)).length;
640
+ }), ve = o.absoluteValues.map((V) => L.min >= 0 ? (V - Math.abs(L.min)) / (L.max - Math.abs(L.min)) : (V + Math.abs(L.min)) / (L.max + Math.abs(L.min))), Re = o.series.map((V, le) => {
641
+ const Ye = f.value.useIndividualScale && f.value.isStacked ? i.value.left + i.value.width / b.value * le : i.value.left - J.value.bar / 2 + J.value.bar * R + J.value.bar * le * Me.value.filter((Je) => Je.type === "bar").filter((Je) => !te.value.includes(Je.id)).length;
642
642
  return {
643
643
  yOffset: T(P),
644
644
  individualHeight: T(H),
@@ -665,23 +665,23 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
665
665
  datapoint: o
666
666
  };
667
667
  });
668
- return p.value[o.scaleLabel].name = o.name, p.value[o.scaleLabel].groupName = o.scaleLabel, p.value[o.scaleLabel].groupColor = l.value.chart.grid.labels.yAxis.groupColor || o.color, p.value[o.scaleLabel].color = o.color, p.value[o.scaleLabel].scaleYLabels = o.autoScaling ? ee : W, p.value[o.scaleLabel].zeroPosition = o.autoScaling ? fe : j, 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 = P, p.value[o.scaleLabel].individualHeight = H, p.value[o.scaleLabel].autoScaleYLabels = ee, p.value[o.scaleLabel].unique = Ze.value.filter((V) => V.scaleLabel === o.scaleLabel).length === 1, {
668
+ return p.value[o.scaleLabel].name = o.name, p.value[o.scaleLabel].groupName = o.scaleLabel, p.value[o.scaleLabel].groupColor = l.value.chart.grid.labels.yAxis.groupColor || o.color, p.value[o.scaleLabel].color = o.color, p.value[o.scaleLabel].scaleYLabels = o.autoScaling ? ee : W, p.value[o.scaleLabel].zeroPosition = o.autoScaling ? fe : j, p.value[o.scaleLabel].individualMax = o.autoScaling ? me : D, p.value[o.scaleLabel].scaleLabel = o.scaleLabel, p.value[o.scaleLabel].id = o.id, p.value[o.scaleLabel].yOffset = P, p.value[o.scaleLabel].individualHeight = H, p.value[o.scaleLabel].autoScaleYLabels = ee, p.value[o.scaleLabel].unique = Ze.value.filter((V) => V.scaleLabel === o.scaleLabel).length === 1, {
669
669
  ...o,
670
670
  yOffset: P,
671
671
  autoScaleYLabels: ee,
672
672
  individualHeight: H,
673
673
  scaleYLabels: o.autoScaling ? ee : W,
674
674
  individualScale: o.autoScaling ? L : N,
675
- individualMax: o.autoScaling ? be : D,
675
+ individualMax: o.autoScaling ? me : D,
676
676
  zeroPosition: o.autoScaling ? fe : j,
677
- plots: o.autoScaling ? Be : bl,
677
+ plots: o.autoScaling ? Re : bl,
678
678
  groupId: p.value[o.scaleLabel].groupId
679
679
  };
680
680
  });
681
681
  }), Se = A(() => {
682
682
  const a = Ze.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), c = a.length, e = l.value.chart.grid.labels.yAxis.gap, s = f.value.isStacked, t = s ? e * (c - 1) : 0, n = i.value.height - t;
683
- return a.filter((o) => o.type === "line").map((o, B) => {
684
- jl(o);
683
+ return a.filter((o) => o.type === "line").map((o, R) => {
684
+ ea(o);
685
685
  const F = p.value[o.scaleLabel].min, K = p.value[o.scaleLabel].max;
686
686
  o.absoluteValues.filter((I) => ![null, void 0].includes(I)).map((I) => (I - F) / (K - F));
687
687
  const $ = {
@@ -690,11 +690,11 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
690
690
  }, z = {
691
691
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
692
692
  min: o.scaleMin || (Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues))
693
- }, E = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, k = 1.0000001, N = l.value.chart.grid.labels.yAxis.useNiceScale ? pl(z.min, z.max === z.min ? z.max * k : z.max, E) : el(z.min, z.max === z.min ? z.max * k : z.max, E), L = l.value.chart.grid.labels.yAxis.useNiceScale ? pl($.valueMin, $.valueMax === $.valueMin ? $.valueMax * k : $.valueMax, E) : el($.valueMin, $.valueMax === $.valueMin ? $.valueMax * k : $.valueMax, E), Q = N.min >= 0 ? 0 : Math.abs(N.min), ie = 0, D = N.max + Math.abs(Q), be = L.max + Math.abs(ie), Ce = o.stackIndex, sl = c - 1 - Ce, he = s ? 1 - o.cumulatedStackRatio : 0, P = s ? n * he + e * sl : 0, H = s ? n * o.stackRatio : i.value.height, j = i.value.bottom - P - H * Q / D, fe = i.value.bottom - P - H * ie / be, ne = o.series.map((I, oe) => {
694
- const Nt = f.value.useIndividualScale ? (o.absoluteValues[oe] + Math.abs(Q)) / D : qe(I);
693
+ }, E = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, k = 1.0000001, N = l.value.chart.grid.labels.yAxis.useNiceScale ? pl(z.min, z.max === z.min ? z.max * k : z.max, E) : el(z.min, z.max === z.min ? z.max * k : z.max, E), L = l.value.chart.grid.labels.yAxis.useNiceScale ? pl($.valueMin, $.valueMax === $.valueMin ? $.valueMax * k : $.valueMax, E) : el($.valueMin, $.valueMax === $.valueMin ? $.valueMax * k : $.valueMax, E), Q = N.min >= 0 ? 0 : Math.abs(N.min), ie = 0, D = N.max + Math.abs(Q), me = L.max + Math.abs(ie), Ce = o.stackIndex, sl = c - 1 - Ce, he = s ? 1 - o.cumulatedStackRatio : 0, P = s ? n * he + e * sl : 0, H = s ? n * o.stackRatio : i.value.height, j = i.value.bottom - P - H * Q / D, fe = i.value.bottom - P - H * ie / me, ne = o.series.map((I, oe) => {
694
+ const Vt = f.value.useIndividualScale ? (o.absoluteValues[oe] + Math.abs(Q)) / D : qe(I);
695
695
  return {
696
696
  x: T(i.value.left + J.value.line / 2 + J.value.line * oe),
697
- y: T(i.value.bottom - P - H * Nt),
697
+ y: T(i.value.bottom - P - H * Vt),
698
698
  value: o.absoluteValues[oe],
699
699
  comment: o.comments && o.comments.slice(S.value.start, S.value.end)[oe] || ""
700
700
  };
@@ -708,7 +708,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
708
708
  y: T(i.value.bottom - P - (H * bl[oe] || 0)),
709
709
  value: o.absoluteValues[oe],
710
710
  comment: o.comments && o.comments.slice(S.value.start, S.value.end)[oe] || ""
711
- }), Be = l.value.line.cutNullValues ? Wa(ne) : Ga(ne.filter((I) => I.value !== null)), W = l.value.line.cutNullValues ? Wa(ve) : Ga(ve.filter((I) => I.value !== null)), ee = l.value.line.cutNullValues ? Xa(ne) : Da(ne.filter((I) => I.value !== null)), V = l.value.line.cutNullValues ? Xa(ve) : Da(ve.filter((I) => I.value !== null)), le = N.ticks.map((I) => ({
711
+ }), Re = l.value.line.cutNullValues ? Xa(ne) : Da(ne.filter((I) => I.value !== null)), W = l.value.line.cutNullValues ? Xa(ve) : Da(ve.filter((I) => I.value !== null)), ee = l.value.line.cutNullValues ? Ua(ne) : qa(ne.filter((I) => I.value !== null)), V = l.value.line.cutNullValues ? Ua(ve) : qa(ve.filter((I) => I.value !== null)), le = N.ticks.map((I) => ({
712
712
  y: I >= 0 ? j - H * (I / D) : j + H * Math.abs(I) / D,
713
713
  value: I,
714
714
  prefix: o.prefix || l.value.chart.labels.prefix,
@@ -724,7 +724,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
724
724
  datapoint: o
725
725
  };
726
726
  });
727
- p.value[o.scaleLabel].name = o.name, p.value[o.scaleLabel].groupName = o.scaleLabel, p.value[o.scaleLabel].groupColor = l.value.chart.grid.labels.yAxis.groupColor || o.color, p.value[o.scaleLabel].color = o.color, p.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Ye : le, p.value[o.scaleLabel].zeroPosition = o.autoScaling ? fe : j, 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 = P, p.value[o.scaleLabel].individualHeight = H, p.value[o.scaleLabel].autoScaleYLabels = Ye, p.value[o.scaleLabel].unique = Ze.value.filter((I) => I.scaleLabel === o.scaleLabel).length === 1;
727
+ p.value[o.scaleLabel].name = o.name, p.value[o.scaleLabel].groupName = o.scaleLabel, p.value[o.scaleLabel].groupColor = l.value.chart.grid.labels.yAxis.groupColor || o.color, p.value[o.scaleLabel].color = o.color, p.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Ye : le, p.value[o.scaleLabel].zeroPosition = o.autoScaling ? fe : j, p.value[o.scaleLabel].individualMax = o.autoScaling ? me : D, p.value[o.scaleLabel].scaleLabel = o.scaleLabel, p.value[o.scaleLabel].id = o.id, p.value[o.scaleLabel].yOffset = P, p.value[o.scaleLabel].individualHeight = H, p.value[o.scaleLabel].autoScaleYLabels = Ye, p.value[o.scaleLabel].unique = Ze.value.filter((I) => I.scaleLabel === o.scaleLabel).length === 1;
728
728
  const Je = f.value.useIndividualScale ? o.autoScaling ? fe : j : re.value, ml = Math.max(Math.max(o.autoScaling ? fe : le.at(-1) ? le.at(-1).y : 0, i.value.top), Je);
729
729
  return {
730
730
  ...o,
@@ -733,18 +733,18 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
733
733
  individualHeight: H,
734
734
  scaleYLabels: o.autoScaling ? Ye : le,
735
735
  individualScale: o.autoScaling ? L : N,
736
- individualMax: o.autoScaling ? be : D,
736
+ individualMax: o.autoScaling ? me : D,
737
737
  zeroPosition: o.autoScaling ? fe : j,
738
- curve: o.autoScaling ? W : Be,
738
+ curve: o.autoScaling ? W : Re,
739
739
  plots: o.autoScaling ? ve : ne,
740
- area: o.useArea ? f.value.useIndividualScale ? l.value.line.cutNullValues ? Ua(
740
+ area: o.useArea ? f.value.useIndividualScale ? l.value.line.cutNullValues ? Za(
741
741
  o.autoScaling ? ve : ne,
742
742
  ml
743
- ) : qa(
743
+ ) : Ja(
744
744
  o.autoScaling ? ve.filter((I) => I.value !== null) : ne.filter((I) => I.value !== null),
745
745
  ml
746
- ) : l.value.line.cutNullValues ? Ua(ne, ml) : qa(ne.filter((I) => I.value !== null), ml) : "",
747
- curveAreas: o.useArea ? qt(
746
+ ) : l.value.line.cutNullValues ? Za(ne, ml) : Ja(ne.filter((I) => I.value !== null), ml) : "",
747
+ curveAreas: o.useArea ? Zt(
748
748
  o.autoScaling ? l.value.line.cutNullValues ? ve : ve.filter((I) => I.value !== null) : l.value.line.cutNullValues ? ne : ne.filter((I) => I.value !== null),
749
749
  ml,
750
750
  l.value.line.cutNullValues
@@ -756,16 +756,16 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
756
756
  }), ze = A(() => {
757
757
  const a = Ze.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), c = a.length, e = l.value.chart.grid.labels.yAxis.gap, s = f.value.isStacked, t = s ? e * (c - 1) : 0, n = i.value.height - t;
758
758
  return a.filter((o) => o.type === "plot").map((o) => {
759
- jl(o);
760
- const B = p.value[o.scaleLabel].min, F = p.value[o.scaleLabel].max;
761
- o.absoluteValues.filter((W) => ![null, void 0].includes(W)).map((W) => (W - B) / (F - B));
759
+ ea(o);
760
+ const R = p.value[o.scaleLabel].min, F = p.value[o.scaleLabel].max;
761
+ o.absoluteValues.filter((W) => ![null, void 0].includes(W)).map((W) => (W - R) / (F - R));
762
762
  const K = {
763
- valueMin: B,
763
+ valueMin: R,
764
764
  valueMax: F
765
765
  }, $ = {
766
766
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
767
767
  min: o.scaleMin || Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues)
768
- }, z = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, E = 1.0000001, k = el($.min, $.max === $.min ? $.max * E : $.max, z), N = el(K.valueMin, K.valueMax === K.valueMin ? K.valueMax * E : K.valueMax, z), L = k.min >= 0 ? 0 : Math.abs(k.min), Q = 0, ie = k.max + L, D = N.max + Math.abs(Q), be = o.stackIndex, Ce = c - 1 - be, sl = s ? 1 - o.cumulatedStackRatio : 0, he = s ? n * sl + e * Ce : 0, P = s ? n * o.stackRatio : i.value.height, H = i.value.bottom - he - P * L / ie, j = i.value.bottom - he - P * Q / D, fe = o.series.map((W, ee) => {
768
+ }, z = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, E = 1.0000001, k = el($.min, $.max === $.min ? $.max * E : $.max, z), N = el(K.valueMin, K.valueMax === K.valueMin ? K.valueMax * E : K.valueMax, z), L = k.min >= 0 ? 0 : Math.abs(k.min), Q = 0, ie = k.max + L, D = N.max + Math.abs(Q), me = o.stackIndex, Ce = c - 1 - me, sl = s ? 1 - o.cumulatedStackRatio : 0, he = s ? n * sl + e * Ce : 0, P = s ? n * o.stackRatio : i.value.height, H = i.value.bottom - he - P * L / ie, j = i.value.bottom - he - P * Q / D, fe = o.series.map((W, ee) => {
769
769
  const V = f.value.useIndividualScale ? (o.absoluteValues[ee] + Math.abs(L)) / ie : qe(W);
770
770
  return {
771
771
  x: T(i.value.left + J.value.plot / 2 + J.value.plot * ee),
@@ -784,7 +784,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
784
784
  prefix: o.prefix || l.value.chart.labels.prefix,
785
785
  suffix: o.suffix || l.value.chart.labels.suffix,
786
786
  datapoint: o
787
- })), Be = N.ticks.map((W) => {
787
+ })), Re = N.ticks.map((W) => {
788
788
  const ee = (W - N.min) / (N.max - N.min);
789
789
  return {
790
790
  y: W >= 0 ? j - P * ee : j + P * ee,
@@ -794,12 +794,12 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
794
794
  datapoint: o
795
795
  };
796
796
  });
797
- return p.value[o.scaleLabel].name = o.name, p.value[o.scaleLabel].groupName = o.scaleLabel, p.value[o.scaleLabel].groupColor = l.value.chart.grid.labels.yAxis.groupColor || o.color, p.value[o.scaleLabel].color = o.color, p.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Be : ve, p.value[o.scaleLabel].zeroPosition = o.autoScaling ? j : H, p.value[o.scaleLabel].individualMax = o.autoScaling ? D : ie, p.value[o.scaleLabel].scaleLabel = o.scaleLabel, p.value[o.scaleLabel].id = o.id, p.value[o.scaleLabel].yOffset = he, p.value[o.scaleLabel].individualHeight = P, p.value[o.scaleLabel].autoScaleYLabels = Be, p.value[o.scaleLabel].unique = Ze.value.filter((W) => W.scaleLabel === o.scaleLabel).length === 1, {
797
+ return p.value[o.scaleLabel].name = o.name, p.value[o.scaleLabel].groupName = o.scaleLabel, p.value[o.scaleLabel].groupColor = l.value.chart.grid.labels.yAxis.groupColor || o.color, p.value[o.scaleLabel].color = o.color, p.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Re : ve, p.value[o.scaleLabel].zeroPosition = o.autoScaling ? j : H, p.value[o.scaleLabel].individualMax = o.autoScaling ? D : ie, p.value[o.scaleLabel].scaleLabel = o.scaleLabel, p.value[o.scaleLabel].id = o.id, p.value[o.scaleLabel].yOffset = he, p.value[o.scaleLabel].individualHeight = P, p.value[o.scaleLabel].autoScaleYLabels = Re, p.value[o.scaleLabel].unique = Ze.value.filter((W) => W.scaleLabel === o.scaleLabel).length === 1, {
798
798
  ...o,
799
799
  yOffset: he,
800
- autoScaleYLabels: Be,
800
+ autoScaleYLabels: Re,
801
801
  individualHeight: P,
802
- scaleYLabels: o.autoScaling ? Be : ve,
802
+ scaleYLabels: o.autoScaling ? Re : ve,
803
803
  individualScale: o.autoScaling ? N : k,
804
804
  individualMax: o.autoScaling ? D : ie,
805
805
  zeroPosition: o.autoScaling ? j : H,
@@ -820,7 +820,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
820
820
  yOffset: n.yOffset || 0,
821
821
  individualHeight: n.individualHeight || i.value.height,
822
822
  autoScaleYLabels: n.autoScaleYLabels
823
- })), c = Re.value.map((n) => ({
823
+ })), c = Be.value.map((n) => ({
824
824
  name: n.name,
825
825
  color: n.color,
826
826
  scale: n.individualScale,
@@ -845,8 +845,8 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
845
845
  individualHeight: n.individualHeight || i.value.height
846
846
  })), s = f.value.useIndividualScale && !f.value.isStacked ? Object.values(p.value) : [...a, ...c, ...e], t = s.flatMap((n) => n).length;
847
847
  return s.flatMap((n, o) => {
848
- let B = 0;
849
- return X.value ? B = f.value.isStacked ? i.value.left : i.value.left - o * (l.value.chart.grid.labels.yAxis.labelWidth + x.value.dataLabels * 2) : B = f.value.isStacked ? i.value.left : i.value.left / t * (o + 1), {
848
+ let R = 0;
849
+ return X.value ? R = f.value.isStacked ? i.value.left : i.value.left - o * (l.value.chart.grid.labels.yAxis.labelWidth + x.value.dataLabels * 2) : R = f.value.isStacked ? i.value.left : i.value.left / t * (o + 1), {
850
850
  unique: n.unique,
851
851
  id: n.id,
852
852
  groupId: n.groupId,
@@ -856,30 +856,30 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
856
856
  scale: n.scale,
857
857
  yOffset: n.yOffset,
858
858
  individualHeight: n.individualHeight,
859
- x: B,
859
+ x: R,
860
860
  yLabels: n.scaleYLabels || n.scale.ticks.map((F) => ({
861
861
  y: F >= 0 ? n.zero - n.individualHeight * (F / n.max) : n.zero + n.individualHeight * Math.abs(F) / n.max,
862
862
  value: F
863
863
  }))
864
864
  };
865
865
  });
866
- }), Oa = A(() => ({
866
+ }), Na = A(() => ({
867
867
  datapoint: fl.value,
868
868
  seriesIndex: _.value,
869
869
  series: Me.value,
870
- bars: Re.value,
870
+ bars: Be.value,
871
871
  lines: Se.value,
872
872
  plots: ze.value,
873
873
  config: l.value
874
- })), Tt = A(() => {
874
+ })), Nt = A(() => {
875
875
  let a = "", c = fl.value.map((t) => t.value).filter((t) => Il(t) && t !== null).reduce((t, n) => Math.abs(t) + Math.abs(n), 0);
876
876
  const e = de.value[_.value], s = l.value.chart.tooltip.customFormat;
877
- return Zt(s) && Jt(() => s({
877
+ return Jt(s) && Kt(() => s({
878
878
  absoluteIndex: _.value + S.value.start,
879
879
  seriesIndex: _.value,
880
880
  datapoint: fl.value,
881
881
  series: Me.value,
882
- bars: Re.value,
882
+ bars: Be.value,
883
883
  lines: Se.value,
884
884
  plots: ze.value,
885
885
  config: l.value
@@ -888,7 +888,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
888
888
  seriesIndex: _.value,
889
889
  datapoint: fl.value,
890
890
  series: Me.value,
891
- bars: Re.value,
891
+ bars: Be.value,
892
892
  lines: Se.value,
893
893
  plots: ze.value,
894
894
  config: l.value
@@ -897,10 +897,10 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
897
897
  let n = "", o = "";
898
898
  switch (vl.value[t.type]) {
899
899
  case "bar":
900
- 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>`;
900
+ n = `<svg viewBox="0 0 40 40" height="14" width="14">${ra.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="${ra.pattern ? `url(#pattern_${q.value}_${t.slotAbsoluteIndex}` : t.color}" /></svg>`;
901
901
  break;
902
902
  case "line":
903
- !t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ? o = `<circle cx="10" cy="8" r="4" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" />` : t.shape === "triangle" ? o = `<path d="${Te({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "square" ? o = `<path d="${Te({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "diamond" ? o = `<path d="${Te({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "pentagon" ? o = `<path d="${Te({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "hexagon" ? o = `<path d="${Te({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "star" && (o = `<polygon stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" points="${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="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${t.color}" />${o}</svg>`;
903
+ !t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ? o = `<circle cx="10" cy="8" r="4" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" />` : t.shape === "triangle" ? o = `<path d="${Te({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "square" ? o = `<path d="${Te({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "diamond" ? o = `<path d="${Te({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "pentagon" ? o = `<path d="${Te({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "hexagon" ? o = `<path d="${Te({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "star" && (o = `<polygon stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" points="${Ka({ 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="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${t.color}" />${o}</svg>`;
904
904
  break;
905
905
  case "plot":
906
906
  if (!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape)) {
@@ -908,7 +908,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
908
908
  break;
909
909
  }
910
910
  if (t.shape === "star") {
911
- n = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" points="${Za({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
911
+ n = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" points="${Ka({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
912
912
  break;
913
913
  }
914
914
  if (t.shape === "triangle") {
@@ -960,7 +960,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
960
960
  return de.value.forEach((e, s) => {
961
961
  const t = [e.text];
962
962
  _e.value.forEach((n) => {
963
- t.push(xe(n.absoluteValues[s]) ? Number(n.absoluteValues[s].toFixed(l.value.table.rounding)) : "");
963
+ t.push(be(n.absoluteValues[s]) ? Number(n.absoluteValues[s].toFixed(l.value.table.rounding)) : "");
964
964
  }), c.push(t);
965
965
  }), { head: a, body: c };
966
966
  });
@@ -970,18 +970,18 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
970
970
  a && (c = c.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>'));
971
971
  let e = [];
972
972
  for (let n = 0; n < b.value; n += 1) {
973
- const o = _e.value.map((B) => B.absoluteValues[n] ?? 0).reduce((B, F) => B + F, 0);
973
+ const o = _e.value.map((R) => R.absoluteValues[n] ?? 0).reduce((R, F) => R + F, 0);
974
974
  e.push(
975
975
  [
976
976
  de.value[n].text ?? "-"
977
977
  ].concat(_e.value.map(
978
- (B) => ce(
979
- B.type === "line" ? l.value.line.labels.formatter : B.type === "bar" ? l.value.bar.labels.formatter : l.value.plot.labels.formatter,
980
- B.absoluteValues[n] ?? 0,
978
+ (R) => ce(
979
+ R.type === "line" ? l.value.line.labels.formatter : R.type === "bar" ? l.value.bar.labels.formatter : l.value.plot.labels.formatter,
980
+ R.absoluteValues[n] ?? 0,
981
981
  ye({
982
- p: B.prefix || l.value.chart.labels.prefix,
983
- v: B.absoluteValues[n] ?? 0,
984
- s: B.suffix || l.value.chart.labels.suffix,
982
+ p: R.prefix || l.value.chart.labels.prefix,
983
+ v: R.absoluteValues[n] ?? 0,
984
+ s: R.suffix || l.value.chart.labels.suffix,
985
985
  r: l.value.table.rounding
986
986
  })
987
987
  )
@@ -1003,26 +1003,26 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1003
1003
  }, t = [l.value.table.columnNames.period].concat(_e.value.map((n) => n.name)).concat(l.value.table.columnNames.total);
1004
1004
  return { head: c, body: e, config: s, colNames: t };
1005
1005
  });
1006
- function Na(a = null) {
1007
- const c = [[l.value.chart.title.text], [l.value.chart.title.subtitle.text], [""]], e = ["", ...t.value.head.map((o) => o.label)], s = t.value.body, t = c.concat([e]).concat(s), n = lo(t);
1008
- a ? a(n) : ao({ csvContent: n, title: l.value.chart.title.text || "vue-ui-xy" });
1006
+ function Va(a = null) {
1007
+ const c = [[l.value.chart.title.text], [l.value.chart.title.subtitle.text], [""]], e = ["", ...t.value.head.map((o) => o.label)], s = t.value.body, t = c.concat([e]).concat(s), n = ao(t);
1008
+ a ? a(n) : to({ csvContent: n, title: l.value.chart.title.text || "vue-ui-xy" });
1009
1009
  }
1010
- function Va(a, c = null) {
1011
- na.value = a, a ? _.value = c : _.value = null;
1010
+ function Pa(a, c = null) {
1011
+ ca.value = a, a ? _.value = c : _.value = null;
1012
1012
  }
1013
- function Pa() {
1013
+ function Ha() {
1014
1014
  f.value.showTable = !f.value.showTable;
1015
1015
  }
1016
- function Ha() {
1016
+ function Ba() {
1017
1017
  f.value.dataLabels.show = !f.value.dataLabels.show;
1018
1018
  }
1019
1019
  function Ra() {
1020
1020
  f.value.showTooltip = !f.value.showTooltip;
1021
1021
  }
1022
- function Ba(a) {
1023
- tl.value = a, ca.value += 1;
1022
+ function Ya(a) {
1023
+ tl.value = a, va.value += 1;
1024
1024
  }
1025
- function Ya() {
1025
+ function Fa() {
1026
1026
  if (!l.value.responsiveProportionalSizing) {
1027
1027
  x.value.dataLabels = l.value.chart.grid.labels.fontSize, x.value.yAxis = l.value.chart.grid.labels.axis.fontSize, x.value.xAxis = l.value.chart.grid.labels.xAxisLabels.fontSize, x.value.plotLabels = l.value.chart.labels.fontSize, Ae.value.plot = l.value.plot.radius, Ae.value.line = l.value.line.radius;
1028
1028
  return;
@@ -1066,13 +1066,13 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1066
1066
  });
1067
1067
  }
1068
1068
  const xl = A(() => !!l.value.debug);
1069
- function Fa() {
1070
- Ja(m.dataset) ? (oa({
1069
+ function Ea() {
1070
+ Qa(m.dataset) ? (sa({
1071
1071
  componentName: "VueUiXy",
1072
1072
  type: "dataset",
1073
1073
  debug: xl.value
1074
1074
  }), Sl.value = !0) : m.dataset.forEach((c, e) => {
1075
- [null, void 0].includes(c.name) && (oa({
1075
+ [null, void 0].includes(c.name) && (sa({
1076
1076
  componentName: "VueUiXy",
1077
1077
  type: "datasetSerieAttribute",
1078
1078
  property: "name (string)",
@@ -1085,7 +1085,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1085
1085
  -----> The serie '${c.name}' contains the value '${e}' at index ${s}.
1086
1086
  '${e}' was converted to null to allow the chart to display.`);
1087
1087
  });
1088
- }), Ja(m.dataset) || (Sl.value = l.value.loading), ha.value = l.value.chart.userOptions.showOnChartHover, Wl.value = l.value.chart.userOptions.keepStateOnChartLeave, _l.value = !l.value.chart.userOptions.showOnChartHover, f.value = {
1088
+ }), Qa(m.dataset) || (Sl.value = l.value.loading), fa.value = l.value.chart.userOptions.showOnChartHover, Gl.value = l.value.chart.userOptions.keepStateOnChartLeave, _l.value = !l.value.chart.userOptions.showOnChartHover, f.value = {
1089
1089
  dataLabels: {
1090
1090
  show: !0
1091
1091
  },
@@ -1096,56 +1096,56 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1096
1096
  };
1097
1097
  const a = X.value ? 0 : 12;
1098
1098
  if (l.value.responsive) {
1099
- const e = ge.value.parentNode;
1100
- Xe.value && (Xe.value.unobserve(Yl.value), Xe.value.disconnect());
1099
+ const e = xe.value.parentNode;
1100
+ Xe.value && (Xe.value.unobserve(Fl.value), Xe.value.disconnect());
1101
1101
  const { height: s, width: t } = e.getBoundingClientRect();
1102
1102
  let n = null, o = 0;
1103
1103
  l.value.chart.title.show && il.value && (n = il.value, o = n.getBoundingClientRect().height);
1104
- let B = null, F = 0;
1105
- l.value.chart.zoom.show && He.value > 6 && Xl.value && Le.value && Le.value.$el && (B = Le.value.$el, F = B.getBoundingClientRect().height);
1104
+ let R = null, F = 0;
1105
+ l.value.chart.zoom.show && He.value > 6 && Dl.value && Le.value && Le.value.$el && (R = Le.value.$el, F = R.getBoundingClientRect().height);
1106
1106
  let K = null, $ = 0;
1107
1107
  l.value.chart.legend.show && al.value && (K = al.value, $ = K.getBoundingClientRect().height);
1108
1108
  let z = 0;
1109
1109
  nl.value && (z = nl.value.getBoundingClientRect().height);
1110
1110
  let E = 0;
1111
- cl.value && (E = cl.value.getBoundingClientRect().height), ue.value = s - o - $ - F - z - E - a, Z.value = t, X.value ? ol() : De.value = `0 0 ${Z.value < 0 ? 10 : Z.value} ${ue.value < 0 ? 10 : ue.value}`, Ya();
1111
+ cl.value && (E = cl.value.getBoundingClientRect().height), ue.value = s - o - $ - F - z - E - a, Z.value = t, X.value ? ol() : De.value = `0 0 ${Z.value < 0 ? 10 : Z.value} ${ue.value < 0 ? 10 : ue.value}`, Fa();
1112
1112
  const k = new ResizeObserver((N) => {
1113
1113
  for (const L of N)
1114
- l.value.chart.title.show && il.value ? o = il.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 ? z = nl.value.getBoundingClientRect().height : z = 0, cl.value ? E = cl.value.getBoundingClientRect().height : E = 0, X.value && ge.value.classList.add("no-transition"), requestAnimationFrame(() => {
1115
- ue.value = L.contentRect.height - o - $ - F - z - E - (X.value ? 48 : a), X.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();
1114
+ l.value.chart.title.show && il.value ? o = il.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 ? z = nl.value.getBoundingClientRect().height : z = 0, cl.value ? E = cl.value.getBoundingClientRect().height : E = 0, X.value && xe.value.classList.add("no-transition"), requestAnimationFrame(() => {
1115
+ ue.value = L.contentRect.height - o - $ - F - z - E - (X.value ? 48 : a), X.value ? (ga.value = L.contentRect.height - ue.value, Z.value = L.contentBoxSize[0].inlineSize, vt.value = Z.value / ga.value, ol()) : (Z.value = L.contentBoxSize[0].inlineSize, De.value = `0 0 ${Z.value < 0 ? 10 : Z.value} ${ue.value < 0 ? 10 : ue.value}`), Fa();
1116
1116
  });
1117
1117
  });
1118
- Xe.value = k, Yl.value = e, k.observe(e);
1118
+ Xe.value = k, Fl.value = e, k.observe(e);
1119
1119
  } else
1120
1120
  ue.value = l.value.chart.height, Z.value = l.value.chart.width, x.value.dataLabels = l.value.chart.grid.labels.fontSize, x.value.yAxis = l.value.chart.grid.labels.axis.fontSize, x.value.xAxis = l.value.chart.grid.labels.xAxisLabels.fontSize, x.value.plotLabels = l.value.chart.labels.fontSize, Ae.value.plot = l.value.plot.radius, Ae.value.line = l.value.line.radius, X.value ? ol() : De.value = `0 0 ${Z.value} ${ue.value}`;
1121
1121
  }
1122
- la(() => {
1123
- Fa(), ea(), document.addEventListener("mousemove", (a) => {
1124
- it.value = {
1122
+ aa(() => {
1123
+ Ea(), la(), document.addEventListener("mousemove", (a) => {
1124
+ ct.value = {
1125
1125
  x: a.clientX,
1126
1126
  y: a.clientY
1127
1127
  };
1128
- }), document.addEventListener("scroll", pa);
1129
- }), Ea(() => {
1130
- document.removeEventListener("scroll", pa), Xe.value && (Xe.value.unobserve(Yl.value), Xe.value.disconnect());
1128
+ }), document.addEventListener("scroll", ka);
1129
+ }), Ga(() => {
1130
+ document.removeEventListener("scroll", ka), Xe.value && (Xe.value.unobserve(Fl.value), Xe.value.disconnect());
1131
1131
  }), Cl(() => f.value.isStacked, async () => {
1132
- X.value && (await me(), ol(), Ql());
1132
+ X.value && (await ge(), ol(), jl());
1133
1133
  });
1134
1134
  let zl;
1135
- async function Ot() {
1136
- await me(), ol(), Ql(), zl.disconnect();
1135
+ async function Wa() {
1136
+ await ge(), ol(), jl(), zl.disconnect();
1137
1137
  }
1138
- return la(() => {
1139
- ge.value && (zl = new ResizeObserver((a) => {
1138
+ return aa(() => {
1139
+ xe.value && (zl = new ResizeObserver((a) => {
1140
1140
  for (const c of a) {
1141
1141
  const { width: e, height: s } = c.contentRect;
1142
1142
  if (e > 0 && s > 0) {
1143
- Ot();
1143
+ Wa();
1144
1144
  break;
1145
1145
  }
1146
1146
  }
1147
- }), zl.observe(ge.value.parentElement));
1148
- }), Ea(() => {
1147
+ }), zl.observe(xe.value.parentElement));
1148
+ }), Ga(() => {
1149
1149
  zl?.disconnect();
1150
1150
  }), Cl(() => m.dataset, (a) => {
1151
1151
  Array.isArray(a) && a.length > 0 && (Sl.value = !1), He.value = Math.max(...Ne.value.map((c) => Ee({
@@ -1154,9 +1154,9 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1154
1154
  }).length)), S.value = {
1155
1155
  start: 0,
1156
1156
  end: He.value
1157
- }, Fl.value += 1, El.value += 1;
1157
+ }, El.value += 1, Wl.value += 1, Wa();
1158
1158
  }, { deep: !0 }), Cl(() => m.config, (a) => {
1159
- Dl.value || (l.value = Gl()), Fa(), da.value += 1, va.value += 1, f.value = {
1159
+ Ul.value || (l.value = Xl()), Ea(), ha.value += 1, da.value += 1, f.value = {
1160
1160
  dataLabels: {
1161
1161
  show: !0
1162
1162
  },
@@ -1175,36 +1175,36 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1175
1175
  isStacked: l.value.chart.grid.labels.yAxis.stacked,
1176
1176
  useIndividualScale: l.value.chart.grid.labels.yAxis.useIndividualScale
1177
1177
  };
1178
- }, { immediate: !0 }), Ka({
1179
- getData: _t,
1180
- getImage: wt,
1181
- generatePdf: xa,
1182
- generateImage: ba,
1183
- generateCsv: Na,
1184
- toggleStack: wa,
1185
- toggleTable: Pa,
1186
- toggleLabels: Ha,
1178
+ }, { immediate: !0 }), ja({
1179
+ getData: St,
1180
+ getImage: $t,
1181
+ generatePdf: ba,
1182
+ generateImage: ma,
1183
+ generateCsv: Va,
1184
+ toggleStack: Sa,
1185
+ toggleTable: Ha,
1186
+ toggleLabels: Ba,
1187
1187
  toggleTooltip: Ra,
1188
- toggleAnnotator: Kl,
1189
- toggleFullscreen: Ba
1188
+ toggleAnnotator: Ql,
1189
+ toggleFullscreen: Ya
1190
1190
  }), (a, c) => (u(), r("div", {
1191
1191
  id: `vue-ui-xy_${q.value}`,
1192
1192
  class: Ke(`vue-ui-xy ${tl.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${l.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1193
1193
  ref_key: "chart",
1194
- ref: ge,
1194
+ ref: xe,
1195
1195
  style: C(`background:${l.value.chart.backgroundColor}; color:${l.value.chart.color};width:100%;font-family:${l.value.chart.fontFamily};${l.value.responsive ? "height: 100%" : ""}`),
1196
- onMouseenter: c[7] || (c[7] = () => ka(!0)),
1197
- onMouseleave: c[8] || (c[8] = () => ka(!1))
1196
+ onMouseenter: c[7] || (c[7] = () => _a(!0)),
1197
+ onMouseleave: c[8] || (c[8] = () => _a(!1))
1198
1198
  }, [
1199
- l.value.chart.userOptions.buttons.annotator && pe.value ? (u(), Ie(v(ut), {
1199
+ l.value.chart.userOptions.buttons.annotator && pe.value ? (u(), Ie(v(it), {
1200
1200
  key: 0,
1201
1201
  svgRef: pe.value,
1202
1202
  backgroundColor: l.value.chart.backgroundColor,
1203
1203
  color: l.value.chart.color,
1204
1204
  active: kl.value,
1205
- onClose: Kl
1205
+ onClose: Ql
1206
1206
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
1207
- $t.value ? (u(), r("div", {
1207
+ At.value ? (u(), r("div", {
1208
1208
  key: 1,
1209
1209
  ref_key: "noTitle",
1210
1210
  ref: cl,
@@ -1218,8 +1218,8 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1218
1218
  class: "vue-ui-xy-title",
1219
1219
  style: C(`font-family:${l.value.chart.fontFamily}`)
1220
1220
  }, [
1221
- (u(), Ie(so, {
1222
- key: `title_${da.value}`,
1221
+ (u(), Ie(uo, {
1222
+ key: `title_${ha.value}`,
1223
1223
  config: {
1224
1224
  title: {
1225
1225
  cy: "xy-div-title",
@@ -1232,13 +1232,13 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1232
1232
  }
1233
1233
  }, null, 8, ["config"]))
1234
1234
  ], 4)) : d("", !0),
1235
- l.value.chart.userOptions.show && (Wl.value || _l.value) ? (u(), Ie(v(lt), {
1235
+ l.value.chart.userOptions.show && (Gl.value || _l.value) ? (u(), Ie(v(tt), {
1236
1236
  ref: "defails",
1237
- key: `user_options_${ca.value}`,
1237
+ key: `user_options_${va.value}`,
1238
1238
  backgroundColor: l.value.chart.backgroundColor,
1239
1239
  color: l.value.chart.color,
1240
- isPrinting: v(Ul),
1241
- isImaging: v(ga),
1240
+ isPrinting: v(ql),
1241
+ isImaging: v(xa),
1242
1242
  uid: q.value,
1243
1243
  hasTooltip: l.value.chart.userOptions.buttons.tooltip && l.value.chart.tooltip.show,
1244
1244
  hasPdf: l.value.chart.userOptions.buttons.pdf,
@@ -1258,17 +1258,17 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1258
1258
  isAnnotation: kl.value,
1259
1259
  callbacks: l.value.chart.userOptions.callbacks,
1260
1260
  printScale: l.value.chart.userOptions.print.scale,
1261
- onToggleFullscreen: Ba,
1262
- onGeneratePdf: v(xa),
1263
- onGenerateCsv: Na,
1264
- onGenerateImage: v(ba),
1265
- onToggleTable: Pa,
1266
- onToggleLabels: Ha,
1267
- onToggleStack: wa,
1261
+ onToggleFullscreen: Ya,
1262
+ onGeneratePdf: v(ba),
1263
+ onGenerateCsv: Va,
1264
+ onGenerateImage: v(ma),
1265
+ onToggleTable: Ha,
1266
+ onToggleLabels: Ba,
1267
+ onToggleStack: Sa,
1268
1268
  onToggleTooltip: Ra,
1269
- onToggleAnnotator: Kl,
1269
+ onToggleAnnotator: Ql,
1270
1270
  style: C({
1271
- visibility: Wl.value ? _l.value ? "visible" : "hidden" : "visible"
1271
+ visibility: Gl.value ? _l.value ? "visible" : "hidden" : "visible"
1272
1272
  })
1273
1273
  }, Rt({ _: 2 }, [
1274
1274
  a.$slots.menuIcon ? {
@@ -1349,18 +1349,22 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1349
1349
  class: Ke([{ "vue-data-ui-fullscreen--on": tl.value, "vue-data-ui-fulscreen--off": !tl.value }, "vue-ui-xy-svg vue-data-ui-svg"]),
1350
1350
  width: X.value ? void 0 : "100%",
1351
1351
  viewBox: De.value,
1352
- style: C(`background: transparent; color:${l.value.chart.color}; font-family:${l.value.chart.fontFamily}`),
1353
- "aria-label": St.value,
1352
+ style: C({
1353
+ background: "transparent",
1354
+ color: l.value.chart.color,
1355
+ fontFamily: l.value.chart.fontFamily
1356
+ }),
1357
+ "aria-label": Lt.value,
1354
1358
  role: "img",
1355
1359
  "aria-live": "polite",
1356
1360
  preserveAspectRatio: "xMidYMid"
1357
1361
  }, [
1358
1362
  g("g", {
1359
1363
  ref_key: "G",
1360
- ref: ra,
1364
+ ref: ia,
1361
1365
  class: "vue-data-ui-g"
1362
1366
  }, [
1363
- yl(v(st)),
1367
+ yl(v(rt)),
1364
1368
  a.$slots["chart-background"] ? (u(), r("foreignObject", {
1365
1369
  key: 0,
1366
1370
  x: i.value.left + Y.value < 0 ? 0 : i.value.left + Y.value,
@@ -1372,40 +1376,40 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1372
1376
  }
1373
1377
  }, [
1374
1378
  U(a.$slots, "chart-background", {}, void 0, !0)
1375
- ], 8, fo)) : d("", !0),
1376
- b.value > 0 ? (u(), r("g", go, [
1377
- g("g", xo, [
1379
+ ], 8, go)) : d("", !0),
1380
+ b.value > 0 ? (u(), r("g", xo, [
1381
+ g("g", bo, [
1378
1382
  l.value.chart.grid.labels.xAxis.showBaseline ? (u(), r("line", {
1379
1383
  key: 0,
1380
1384
  stroke: l.value.chart.grid.stroke,
1381
1385
  "stroke-width": "1",
1382
1386
  x1: i.value.left + Y.value,
1383
1387
  x2: i.value.right - Y.value,
1384
- y1: v(R)(i.value.bottom),
1385
- y2: v(R)(i.value.bottom),
1388
+ y1: v(B)(i.value.bottom),
1389
+ y2: v(B)(i.value.bottom),
1386
1390
  "stroke-linecap": "round",
1387
1391
  style: { animation: "none !important" }
1388
- }, null, 8, bo)) : d("", !0),
1392
+ }, null, 8, mo)) : d("", !0),
1389
1393
  f.value.useIndividualScale ? l.value.chart.grid.showHorizontalLines ? (u(!0), r(h, { key: 2 }, y(gl.value, (e) => (u(), r("g", null, [
1390
1394
  e.id === M.value && e.yLabels.length ? (u(!0), r(h, { key: 0 }, y(e.yLabels, (s) => (u(), r("line", {
1391
1395
  x1: i.value.left + Y.value,
1392
1396
  x2: i.value.right - Y.value,
1393
- y1: v(R)(s.y),
1394
- y2: v(R)(s.y),
1397
+ y1: v(B)(s.y),
1398
+ y2: v(B)(s.y),
1395
1399
  stroke: e.color,
1396
1400
  "stroke-width": 0.5,
1397
1401
  "stroke-linecap": "round",
1398
1402
  style: { animation: "none !important" }
1399
- }, null, 8, ko))), 256)) : e.yLabels.length ? (u(!0), r(h, { key: 1 }, y(e.yLabels, (s) => (u(), r("line", {
1403
+ }, null, 8, _o))), 256)) : e.yLabels.length ? (u(!0), r(h, { key: 1 }, y(e.yLabels, (s) => (u(), r("line", {
1400
1404
  x1: i.value.left + Y.value,
1401
1405
  x2: i.value.right - Y.value,
1402
- y1: v(R)(s.y),
1403
- y2: v(R)(s.y),
1406
+ y1: v(B)(s.y),
1407
+ y2: v(B)(s.y),
1404
1408
  stroke: l.value.chart.grid.stroke,
1405
1409
  "stroke-width": 0.5,
1406
1410
  "stroke-linecap": "round",
1407
1411
  style: { animation: "none !important" }
1408
- }, null, 8, _o))), 256)) : d("", !0)
1412
+ }, null, 8, wo))), 256)) : d("", !0)
1409
1413
  ]))), 256)) : d("", !0) : (u(), r(h, { key: 1 }, [
1410
1414
  l.value.chart.grid.labels.yAxis.showBaseline ? (u(), r("line", {
1411
1415
  key: 0,
@@ -1413,44 +1417,44 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1413
1417
  "stroke-width": "1",
1414
1418
  x1: i.value.left + Y.value,
1415
1419
  x2: i.value.left + Y.value,
1416
- y1: v(R)(i.value.top),
1417
- y2: v(R)(i.value.bottom),
1420
+ y1: v(B)(i.value.top),
1421
+ y2: v(B)(i.value.bottom),
1418
1422
  "stroke-linecap": "round",
1419
1423
  style: { animation: "none !important" }
1420
- }, null, 8, mo)) : d("", !0),
1421
- l.value.chart.grid.showHorizontalLines ? (u(), r("g", yo, [
1422
- (u(!0), r(h, null, y(Ia.value, (e) => (u(), r("line", {
1424
+ }, null, 8, yo)) : d("", !0),
1425
+ l.value.chart.grid.showHorizontalLines ? (u(), r("g", po, [
1426
+ (u(!0), r(h, null, y(Ta.value, (e) => (u(), r("line", {
1423
1427
  x1: i.value.left + Y.value,
1424
1428
  x2: i.value.right - Y.value,
1425
- y1: v(R)(e.y),
1426
- y2: v(R)(e.y),
1429
+ y1: v(B)(e.y),
1430
+ y2: v(B)(e.y),
1427
1431
  stroke: l.value.chart.grid.stroke,
1428
1432
  "stroke-width": 0.5,
1429
1433
  "stroke-linecap": "round",
1430
1434
  style: { animation: "none !important" }
1431
- }, null, 8, po))), 256))
1435
+ }, null, 8, ko))), 256))
1432
1436
  ])) : d("", !0)
1433
1437
  ], 64)),
1434
- l.value.chart.grid.showVerticalLines ? (u(), r("g", wo, [
1438
+ l.value.chart.grid.showVerticalLines ? (u(), r("g", So, [
1435
1439
  g("path", {
1436
- d: dt.value,
1440
+ d: ft.value,
1437
1441
  "stroke-width": 0.5,
1438
1442
  stroke: l.value.chart.grid.stroke,
1439
1443
  "stroke-linecap": "round",
1440
1444
  style: { animation: "none !important" }
1441
- }, null, 8, So)
1445
+ }, null, 8, $o)
1442
1446
  ])) : d("", !0),
1443
- l.value.chart.grid.labels.xAxisLabels.show ? (u(), r("g", $o, [
1447
+ l.value.chart.grid.labels.xAxisLabels.show ? (u(), r("g", Lo, [
1444
1448
  g("path", {
1445
- d: ht.value,
1449
+ d: gt.value,
1446
1450
  stroke: l.value.chart.grid.stroke,
1447
1451
  "stroke-width": 1,
1448
1452
  "stroke-linecap": "round",
1449
1453
  style: { animation: "none !important" }
1450
- }, null, 8, Lo)
1454
+ }, null, 8, Ao)
1451
1455
  ])) : d("", !0)
1452
1456
  ]),
1453
- (u(!0), r(h, null, y(Re.value, (e, s) => (u(), r("defs", {
1457
+ (u(!0), r(h, null, y(Be.value, (e, s) => (u(), r("defs", {
1454
1458
  key: `def_rect_${s}`
1455
1459
  }, [
1456
1460
  g("linearGradient", {
@@ -1461,16 +1465,16 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1461
1465
  g("stop", {
1462
1466
  offset: "0%",
1463
1467
  "stop-color": e.color
1464
- }, null, 8, Mo),
1468
+ }, null, 8, zo),
1465
1469
  g("stop", {
1466
1470
  offset: "62%",
1467
1471
  "stop-color": `${v(ll)(e.color, 0.02)}`
1468
- }, null, 8, zo),
1472
+ }, null, 8, Co),
1469
1473
  g("stop", {
1470
1474
  offset: "100%",
1471
1475
  "stop-color": `${v(ll)(e.color, 0.05)}`
1472
- }, null, 8, Co)
1473
- ], 8, Ao),
1476
+ }, null, 8, Io)
1477
+ ], 8, Mo),
1474
1478
  g("linearGradient", {
1475
1479
  id: `rectGradient_neg_${s}_${q.value}`,
1476
1480
  x2: "0%",
@@ -1479,16 +1483,16 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1479
1483
  g("stop", {
1480
1484
  offset: "0%",
1481
1485
  "stop-color": `${v(ll)(e.color, 0.05)}`
1482
- }, null, 8, To),
1486
+ }, null, 8, Oo),
1483
1487
  g("stop", {
1484
1488
  offset: "38%",
1485
1489
  "stop-color": `${v(ll)(e.color, 0.02)}`
1486
- }, null, 8, Oo),
1490
+ }, null, 8, No),
1487
1491
  g("stop", {
1488
1492
  offset: "100%",
1489
1493
  "stop-color": e.color
1490
- }, null, 8, No)
1491
- ], 8, Io)
1494
+ }, null, 8, Vo)
1495
+ ], 8, To)
1492
1496
  ]))), 128)),
1493
1497
  (u(!0), r(h, null, y(ze.value, (e, s) => (u(), r("defs", {
1494
1498
  key: `def_plot_${s}`
@@ -1504,12 +1508,12 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1504
1508
  g("stop", {
1505
1509
  offset: "0%",
1506
1510
  "stop-color": `${v(ll)(e.color, 0.05)}`
1507
- }, null, 8, Po),
1511
+ }, null, 8, Ho),
1508
1512
  g("stop", {
1509
1513
  offset: "100%",
1510
1514
  "stop-color": e.color
1511
- }, null, 8, Ho)
1512
- ], 8, Vo)
1515
+ }, null, 8, Bo)
1516
+ ], 8, Po)
1513
1517
  ]))), 128)),
1514
1518
  (u(!0), r(h, null, y(Se.value, (e, s) => (u(), r("defs", {
1515
1519
  key: `def_line_${s}`
@@ -1525,11 +1529,11 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1525
1529
  g("stop", {
1526
1530
  offset: "0%",
1527
1531
  "stop-color": `${v(ll)(e.color, 0.05)}`
1528
- }, null, 8, Bo),
1532
+ }, null, 8, Yo),
1529
1533
  g("stop", {
1530
1534
  offset: "100%",
1531
1535
  "stop-color": e.color
1532
- }, null, 8, Yo)
1536
+ }, null, 8, Fo)
1533
1537
  ], 8, Ro),
1534
1538
  g("linearGradient", {
1535
1539
  id: `areaGradient_${s}_${q.value}`,
@@ -1541,14 +1545,14 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1541
1545
  g("stop", {
1542
1546
  offset: "0%",
1543
1547
  "stop-color": `${v($e)(v(ll)(e.color, 0.03), l.value.line.area.opacity)}`
1544
- }, null, 8, Eo),
1548
+ }, null, 8, Wo),
1545
1549
  g("stop", {
1546
1550
  offset: "100%",
1547
1551
  "stop-color": `${v($e)(e.color, l.value.line.area.opacity)}`
1548
- }, null, 8, Wo)
1549
- ], 8, Fo)
1552
+ }, null, 8, Go)
1553
+ ], 8, Eo)
1550
1554
  ]))), 128)),
1551
- (u(!0), r(h, null, y(Lt.value, (e) => (u(), r("g", null, [
1555
+ (u(!0), r(h, null, y(Mt.value, (e) => (u(), r("g", null, [
1552
1556
  e.show ? (u(), r(h, { key: 0 }, [
1553
1557
  (u(!0), r(h, null, y(e.span, (s, t) => (u(), r("g", null, [
1554
1558
  g("rect", {
@@ -1561,7 +1565,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1561
1565
  height: i.value.height < 0 ? 10 : i.value.height,
1562
1566
  width: i.value.width / b.value < 0 ? 1e-5 : i.value.width / b.value,
1563
1567
  fill: v($e)(e.color, e.opacity)
1564
- }, null, 12, Go)
1568
+ }, null, 12, Xo)
1565
1569
  ]))), 256)),
1566
1570
  (u(!0), r(h, null, y(e.span, (s, t) => (u(), r("g", null, [
1567
1571
  e.caption.text && t === 0 ? (u(), r("foreignObject", {
@@ -1578,11 +1582,11 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1578
1582
  g("div", {
1579
1583
  style: C(`padding:${e.caption.padding}px;text-align:${e.caption.textAlign};font-size:${e.caption.fontSize}px;color:${e.caption.color};font-weight:${e.caption.bold ? "bold" : "normal"}`)
1580
1584
  }, ae(e.caption.text), 5)
1581
- ], 12, Xo)) : d("", !0)
1585
+ ], 12, Do)) : d("", !0)
1582
1586
  ]))), 256))
1583
1587
  ], 64)) : d("", !0)
1584
1588
  ]))), 256)),
1585
- Jl.value ? (u(), r("g", Do, [
1589
+ Kl.value ? (u(), r("g", Uo, [
1586
1590
  (u(!0), r(h, null, y(b.value, (e, s) => (u(), r("g", {
1587
1591
  key: `tooltip_trap_highlighter_${s}`
1588
1592
  }, [
@@ -1592,10 +1596,10 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1592
1596
  height: i.value.height < 0 ? 10 : i.value.height,
1593
1597
  width: i.value.width / b.value < 0 ? 1e-5 : i.value.width / b.value,
1594
1598
  fill: [O.value, _.value, Ue.value].includes(s) ? v($e)(l.value.chart.highlighter.color, l.value.chart.highlighter.opacity) : "transparent"
1595
- }, null, 8, Uo)
1599
+ }, null, 8, qo)
1596
1600
  ]))), 128))
1597
1601
  ])) : d("", !0),
1598
- Re.value.length ? (u(!0), r(h, { key: 1 }, y(Re.value, (e, s) => (u(), r("g", {
1602
+ Be.value.length ? (u(!0), r(h, { key: 1 }, y(Be.value, (e, s) => (u(), r("g", {
1599
1603
  key: `serie_bar_${s}`,
1600
1604
  class: Ke(`serie_bar_${s}`),
1601
1605
  style: C(`opacity:${M.value ? M.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
@@ -1603,29 +1607,29 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1603
1607
  (u(!0), r(h, null, y(e.plots, (t, n) => (u(), r("g", {
1604
1608
  key: `bar_plot_${s}_${n}`
1605
1609
  }, [
1606
- xe(t.value) ? (u(), r("rect", {
1610
+ be(t.value) ? (u(), r("rect", {
1607
1611
  key: 0,
1608
1612
  x: Al(t),
1609
- y: f.value.useIndividualScale ? Ma(t) : Aa(t),
1610
- height: f.value.useIndividualScale ? Math.abs(La(t)) : Math.abs($a(t)),
1613
+ y: f.value.useIndividualScale ? za(t) : Ma(t),
1614
+ height: f.value.useIndividualScale ? Math.abs(Aa(t)) : Math.abs(La(t)),
1611
1615
  width: we() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Pe.value) < 0 ? 1e-5 : we() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Pe.value),
1612
1616
  rx: l.value.bar.borderRadius,
1613
1617
  fill: l.value.bar.useGradient ? t.value >= 0 ? `url(#rectGradient_pos_${s}_${q.value})` : `url(#rectGradient_neg_${s}_${q.value})` : e.color,
1614
1618
  stroke: l.value.bar.border.useSerieColor ? e.color : l.value.bar.border.stroke,
1615
1619
  "stroke-width": l.value.bar.border.strokeWidth,
1616
- style: C(`${v(Dl) ? "transition:none !important" : ""}`)
1617
- }, null, 12, qo)) : d("", !0),
1618
- xe(t.value) && a.$slots.pattern ? (u(), r("rect", {
1620
+ style: C(`${v(Ul) ? "transition:none !important" : ""}`)
1621
+ }, null, 12, Zo)) : d("", !0),
1622
+ be(t.value) && a.$slots.pattern ? (u(), r("rect", {
1619
1623
  key: 1,
1620
1624
  x: Al(t),
1621
- y: f.value.useIndividualScale ? Ma(t) : Aa(t),
1622
- height: f.value.useIndividualScale ? Math.abs(La(t)) : Math.abs($a(t)),
1625
+ y: f.value.useIndividualScale ? za(t) : Ma(t),
1626
+ height: f.value.useIndividualScale ? Math.abs(Aa(t)) : Math.abs(La(t)),
1623
1627
  width: we() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Pe.value) < 0 ? 1e-5 : we() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Pe.value),
1624
1628
  rx: l.value.bar.borderRadius,
1625
1629
  fill: `url(#pattern_${q.value}_${e.slotAbsoluteIndex})`,
1626
1630
  stroke: l.value.bar.border.useSerieColor ? e.color : l.value.bar.border.stroke,
1627
1631
  "stroke-width": l.value.bar.border.strokeWidth
1628
- }, null, 8, Zo)) : d("", !0),
1632
+ }, null, 8, Jo)) : d("", !0),
1629
1633
  t.comment && l.value.chart.comments.show ? (u(), r("foreignObject", {
1630
1634
  key: 2,
1631
1635
  style: { overflow: "visible" },
@@ -1637,9 +1641,9 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1637
1641
  U(a.$slots, "plot-comment", {
1638
1642
  plot: { ...t, color: e.color, seriesIndex: s, datapointIndex: n }
1639
1643
  }, void 0, !0)
1640
- ], 8, Jo)) : d("", !0)
1644
+ ], 8, Ko)) : d("", !0)
1641
1645
  ]))), 128)),
1642
- Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(v(G)(e.plots).trend) ? (u(), r("g", Ko, [
1646
+ Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(v(G)(e.plots).trend) ? (u(), r("g", Qo, [
1643
1647
  g("defs", null, [
1644
1648
  g("marker", {
1645
1649
  id: `bar_arrow_${s}`,
@@ -1652,20 +1656,20 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1652
1656
  g("polygon", {
1653
1657
  points: `0 0, 7 ${7 / 2}, 0 7`,
1654
1658
  fill: e.color
1655
- }, null, 8, jo)
1656
- ], 8, Qo)
1659
+ }, null, 8, es)
1660
+ ], 8, jo)
1657
1661
  ]),
1658
1662
  e.plots.length > 1 ? (u(), r("line", {
1659
1663
  key: 0,
1660
1664
  x1: v(G)(e.plots).x1 + we(),
1661
1665
  x2: v(G)(e.plots).x2 + we(),
1662
- y1: v(R)(v(G)(e.plots).y1),
1663
- y2: v(R)(v(G)(e.plots).y2),
1666
+ y1: v(B)(v(G)(e.plots).y1),
1667
+ y2: v(B)(v(G)(e.plots).y2),
1664
1668
  "stroke-width": 1,
1665
1669
  stroke: e.color,
1666
1670
  "stroke-dasharray": 2,
1667
1671
  "marker-end": `url(#bar_arrow_${s})`
1668
- }, null, 8, es)) : d("", !0),
1672
+ }, null, 8, ls)) : d("", !0),
1669
1673
  e.plots.length > 1 ? (u(), r("text", {
1670
1674
  key: 1,
1671
1675
  "text-anchor": "middle",
@@ -1677,7 +1681,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1677
1681
  v: v(G)(e.plots).trend * 100,
1678
1682
  s: "%",
1679
1683
  r: 2
1680
- })), 9, ls)) : d("", !0)
1684
+ })), 9, as)) : d("", !0)
1681
1685
  ])) : d("", !0)
1682
1686
  ], 6))), 128)) : d("", !0),
1683
1687
  !f.value.useIndividualScale && l.value.chart.grid.labels.zeroLine.show ? (u(), r("line", {
@@ -1686,23 +1690,23 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1686
1690
  "stroke-width": "1",
1687
1691
  x1: i.value.left + Y.value,
1688
1692
  x2: i.value.right - Y.value,
1689
- y1: v(R)(re.value),
1690
- y2: v(R)(re.value),
1693
+ y1: v(B)(re.value),
1694
+ y2: v(B)(re.value),
1691
1695
  "stroke-linecap": "round",
1692
1696
  style: { animation: "none !important" }
1693
- }, null, 8, as)) : d("", !0),
1694
- l.value.chart.highlighter.useLine && (![null, void 0].includes(_.value) || ![null, void 0].includes(O.value)) ? (u(), r("g", ts, [
1697
+ }, null, 8, ts)) : d("", !0),
1698
+ l.value.chart.highlighter.useLine && (![null, void 0].includes(_.value) || ![null, void 0].includes(O.value)) ? (u(), r("g", os, [
1695
1699
  g("line", {
1696
1700
  x1: i.value.left + i.value.width / b.value * ((_.value !== null ? _.value : 0) || (O.value !== null ? O.value : 0)) + i.value.width / b.value / 2,
1697
1701
  x2: i.value.left + i.value.width / b.value * ((_.value !== null ? _.value : 0) || (O.value !== null ? O.value : 0)) + i.value.width / b.value / 2,
1698
- y1: v(R)(i.value.top),
1699
- y2: v(R)(i.value.bottom),
1702
+ y1: v(B)(i.value.top),
1703
+ y2: v(B)(i.value.bottom),
1700
1704
  stroke: l.value.chart.highlighter.color,
1701
1705
  "stroke-width": l.value.chart.highlighter.lineWidth,
1702
1706
  "stroke-dasharray": l.value.chart.highlighter.lineDasharray,
1703
1707
  "stroke-linecap": "round",
1704
1708
  style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
1705
- }, null, 8, os)
1709
+ }, null, 8, ss)
1706
1710
  ])) : d("", !0),
1707
1711
  l.value.chart.grid.frame.show ? (u(), r("rect", {
1708
1712
  key: 4,
@@ -1717,15 +1721,19 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1717
1721
  "stroke-linecap": l.value.chart.grid.frame.strokeLinecap,
1718
1722
  "stroke-linejoin": l.value.chart.grid.frame.strokeLinejoin,
1719
1723
  "stroke-dasharray": l.value.chart.grid.frame.strokeDasharray
1720
- }, null, 8, ss)) : d("", !0),
1721
- l.value.chart.grid.labels.show ? (u(), r("g", us, [
1724
+ }, null, 8, us)) : d("", !0),
1725
+ l.value.chart.grid.labels.show ? (u(), r("g", {
1726
+ key: 5,
1727
+ ref_key: "scaleLabels",
1728
+ ref: Yl
1729
+ }, [
1722
1730
  f.value.useIndividualScale ? (u(), r(h, { key: 0 }, [
1723
1731
  (u(!0), r(h, null, y(gl.value, (e) => (u(), r("g", null, [
1724
1732
  g("line", {
1725
1733
  x1: e.x + Y.value,
1726
1734
  x2: e.x + Y.value,
1727
- y1: f.value.isStacked ? v(R)(i.value.bottom - e.yOffset - e.individualHeight) : v(R)(i.value.top),
1728
- y2: f.value.isStacked ? v(R)(i.value.bottom - e.yOffset) : v(R)(i.value.bottom),
1735
+ y1: f.value.isStacked ? v(B)(i.value.bottom - e.yOffset - e.individualHeight) : v(B)(i.value.top),
1736
+ y2: f.value.isStacked ? v(B)(i.value.bottom - e.yOffset) : v(B)(i.value.bottom),
1729
1737
  stroke: e.color,
1730
1738
  "stroke-width": l.value.chart.grid.stroke,
1731
1739
  "stroke-linecap": "round",
@@ -1746,8 +1754,8 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1746
1754
  key: 0,
1747
1755
  x1: e.x + 3 + Y.value - l.value.chart.grid.labels.yAxis.crosshairSize,
1748
1756
  x2: e.x + Y.value,
1749
- y1: v(R)(s.y),
1750
- y2: v(R)(s.y),
1757
+ y1: v(B)(s.y),
1758
+ y2: v(B)(s.y),
1751
1759
  stroke: e.color,
1752
1760
  "stroke-width": 1,
1753
1761
  "stroke-linecap": "round",
@@ -1756,7 +1764,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1756
1764
  ], 64))), 256)),
1757
1765
  (u(!0), r(h, null, y(e.yLabels, (s, t) => (u(), r("text", {
1758
1766
  x: X.value ? e.x - x.value.dataLabels / 2 + Y.value + l.value.chart.grid.labels.yAxis.scaleValueOffsetX : e.x - 5 + Y.value + l.value.chart.grid.labels.yAxis.scaleValueOffsetX,
1759
- y: v(R)(s.y) + x.value.dataLabels / 3,
1767
+ y: v(B)(s.y) + x.value.dataLabels / 3,
1760
1768
  "font-size": x.value.dataLabels,
1761
1769
  "text-anchor": "end",
1762
1770
  fill: e.color
@@ -1767,20 +1775,20 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1767
1775
  p: s.prefix,
1768
1776
  v: s.value,
1769
1777
  s: s.suffix,
1770
- r: 1
1778
+ r: l.value.chart.grid.labels.yAxis.rounding
1771
1779
  }),
1772
1780
  { datapoint: s.datapoint, seriesIndex: t }
1773
1781
  )), 9, cs))), 256))
1774
1782
  ], 4))), 256))
1775
- ], 64)) : (u(!0), r(h, { key: 1 }, y(Ia.value, (e, s) => (u(), r("g", {
1783
+ ], 64)) : (u(!0), r(h, { key: 1 }, y(Ta.value, (e, s) => (u(), r("g", {
1776
1784
  key: `yLabel_${s}`
1777
1785
  }, [
1778
- xe(e) && e.value >= ke.value.min && e.value <= ke.value.max && l.value.chart.grid.labels.yAxis.showCrosshairs ? (u(), r("line", {
1786
+ be(e) && e.value >= ke.value.min && e.value <= ke.value.max && l.value.chart.grid.labels.yAxis.showCrosshairs ? (u(), r("line", {
1779
1787
  key: 0,
1780
1788
  x1: i.value.left + Y.value,
1781
1789
  x2: i.value.left - l.value.chart.grid.labels.yAxis.crosshairSize + Y.value,
1782
- y1: v(R)(e.y),
1783
- y2: v(R)(e.y),
1790
+ y1: v(B)(e.y),
1791
+ y2: v(B)(e.y),
1784
1792
  stroke: l.value.chart.grid.stroke,
1785
1793
  "stroke-width": "1",
1786
1794
  "stroke-linecap": "round",
@@ -1793,14 +1801,14 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1793
1801
  "font-size": x.value.dataLabels,
1794
1802
  "text-anchor": "end",
1795
1803
  fill: l.value.chart.grid.labels.color
1796
- }, ae(xe(e.value) ? v(ce)(
1804
+ }, ae(be(e.value) ? v(ce)(
1797
1805
  l.value.chart.grid.labels.yAxis.formatter,
1798
1806
  e.value,
1799
1807
  v(ye)({
1800
1808
  p: e.prefix,
1801
1809
  v: e.value,
1802
1810
  s: e.suffix,
1803
- r: 1
1811
+ r: l.value.chart.grid.labels.yAxis.rounding
1804
1812
  })
1805
1813
  ) : ""), 9, ds)) : d("", !0)
1806
1814
  ]))), 128))
@@ -1813,7 +1821,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1813
1821
  (u(!0), r(h, null, y(e.plots, (t, n) => (u(), r("g", {
1814
1822
  key: `circle_plot_${s}_${n}`
1815
1823
  }, [
1816
- t && xe(t.value) ? (u(), Ie(Ol, {
1824
+ t && be(t.value) ? (u(), Ie(Ol, {
1817
1825
  key: 0,
1818
1826
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(e.shape) ? e.shape : "circle",
1819
1827
  color: l.value.plot.useGradient ? `url(#plotGradient_${s}_${q.value})` : l.value.plot.dot.useSerieColor ? e.color : l.value.plot.dot.fill,
@@ -1857,8 +1865,8 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1857
1865
  key: 0,
1858
1866
  x1: v(G)(e.plots).x1,
1859
1867
  x2: v(G)(e.plots).x2,
1860
- y1: v(R)(v(G)(e.plots).y1),
1861
- y2: v(R)(v(G)(e.plots).y2),
1868
+ y1: v(B)(v(G)(e.plots).y1),
1869
+ y2: v(B)(v(G)(e.plots).y2),
1862
1870
  "stroke-width": 1,
1863
1871
  stroke: e.color,
1864
1872
  "stroke-dasharray": 2,
@@ -1902,7 +1910,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1902
1910
  }, null, 8, ks)) : d("", !0)
1903
1911
  ], 6))), 128)),
1904
1912
  a.$slots.pattern ? (u(), r("defs", _s, [
1905
- (u(!0), r(h, null, y(Ve.value, (e, s) => U(a.$slots, "pattern", aa({
1913
+ (u(!0), r(h, null, y(Ve.value, (e, s) => U(a.$slots, "pattern", ta({
1906
1914
  key: `serie_pattern_slot_${s}`
1907
1915
  }, { ref_for: !0 }, { ...e, seriesIndex: e.slotAbsoluteIndex, patternId: `pattern_${q.value}_${s}` }), void 0, !0)), 128))
1908
1916
  ])) : d("", !0),
@@ -1955,7 +1963,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1955
1963
  (u(!0), r(h, null, y(e.plots, (t, n) => (u(), r(h, {
1956
1964
  key: `circle_line_${s}_${n}`
1957
1965
  }, [
1958
- !Ca.value.linePlot && t && xe(t.value) || Ca.value.linePlot && t && xe(t.value) && (_.value !== null && _.value === n || O.value !== null && O.value === n) ? (u(), Ie(Ol, {
1966
+ !Ia.value.linePlot && t && be(t.value) || Ia.value.linePlot && t && be(t.value) && (_.value !== null && _.value === n || O.value !== null && O.value === n) ? (u(), Ie(Ol, {
1959
1967
  key: 0,
1960
1968
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(e.shape) ? e.shape : "circle",
1961
1969
  color: l.value.line.useGradient ? `url(#lineGradient_${s}_${q.value})` : l.value.line.dot.useSerieColor ? e.color : l.value.line.dot.fill,
@@ -1999,8 +2007,8 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
1999
2007
  key: 0,
2000
2008
  x1: v(G)(e.plots).x1,
2001
2009
  x2: v(G)(e.plots).x2,
2002
- y1: v(R)(v(G)(e.plots).y1),
2003
- y2: v(R)(v(G)(e.plots).y2),
2010
+ y1: v(B)(v(G)(e.plots).y1),
2011
+ y2: v(B)(v(G)(e.plots).y2),
2004
2012
  "stroke-width": 1,
2005
2013
  stroke: e.color,
2006
2014
  "stroke-dasharray": 2,
@@ -2021,7 +2029,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2021
2029
  ])) : d("", !0)
2022
2030
  ], 6))), 128)),
2023
2031
  (l.value.bar.labels.show || l.value.bar.serieName.show) && f.value.dataLabels.show ? (u(), r("g", Hs, [
2024
- (u(!0), r(h, null, y(Re.value, (e, s) => (u(), r(h, {
2032
+ (u(!0), r(h, null, y(Be.value, (e, s) => (u(), r(h, {
2025
2033
  key: `xLabel_bar_${s}`
2026
2034
  }, [
2027
2035
  (u(!0), r(h, null, y(e.plots, (t, n) => (u(), r(h, {
@@ -2035,7 +2043,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2035
2043
  "font-size": x.value.plotLabels,
2036
2044
  fill: l.value.bar.labels.color,
2037
2045
  style: C(`opacity:${M.value ? M.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2038
- }, ae(xe(t.value) ? v(ce)(
2046
+ }, ae(be(t.value) ? v(ce)(
2039
2047
  l.value.bar.labels.formatter,
2040
2048
  t.value,
2041
2049
  v(ye)({
@@ -2048,7 +2056,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2048
2056
  datapoint: t,
2049
2057
  serie: e
2050
2058
  }
2051
- ) : ""), 13, Rs)) : d("", !0),
2059
+ ) : ""), 13, Bs)) : d("", !0),
2052
2060
  t && l.value.bar.serieName.show ? (u(), r("text", {
2053
2061
  key: 1,
2054
2062
  x: f.value.useIndividualScale && f.value.isStacked ? t.x + J.value.line / 2 : t.x + we() * 1.1,
@@ -2058,7 +2066,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2058
2066
  fill: l.value.bar.serieName.useSerieColor ? e.color : l.value.bar.serieName.color,
2059
2067
  "font-weight": l.value.bar.serieName.bold ? "bold" : "normal",
2060
2068
  style: C(`opacity:${M.value ? M.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2061
- }, ae(l.value.bar.serieName.useAbbreviation ? v(Kt)({ source: e.name, length: l.value.bar.serieName.abbreviationSize }) : e.name), 13, Bs)) : d("", !0)
2069
+ }, ae(l.value.bar.serieName.useAbbreviation ? v(Qt)({ source: e.name, length: l.value.bar.serieName.abbreviationSize }) : e.name), 13, Rs)) : d("", !0)
2062
2070
  ], 64))), 128))
2063
2071
  ], 64))), 128))
2064
2072
  ])) : d("", !0),
@@ -2077,7 +2085,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2077
2085
  "font-size": x.value.plotLabels,
2078
2086
  fill: l.value.plot.labels.color,
2079
2087
  style: C(`opacity:${M.value ? M.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2080
- }, ae(xe(t.value) ? v(ce)(
2088
+ }, ae(be(t.value) ? v(ce)(
2081
2089
  l.value.plot.labels.formatter,
2082
2090
  t.value,
2083
2091
  v(ye)({
@@ -2177,7 +2185,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2177
2185
  "font-size": x.value.plotLabels,
2178
2186
  fill: l.value.line.labels.color,
2179
2187
  style: C(`opacity:${M.value ? M.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2180
- }, ae(xe(t.value) ? v(ce)(
2188
+ }, ae(be(t.value) ? v(ce)(
2181
2189
  l.value.line.labels.formatter,
2182
2190
  t.value,
2183
2191
  v(ye)({
@@ -2381,7 +2389,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2381
2389
  l.value.chart.grid.labels.axis.yLabel && !f.value.useIndividualScale ? (u(), r("text", {
2382
2390
  key: 0,
2383
2391
  ref_key: "yAxisLabel",
2384
- ref: Rl,
2392
+ ref: Bl,
2385
2393
  "font-size": x.value.yAxis,
2386
2394
  fill: l.value.chart.grid.labels.color,
2387
2395
  transform: X.value ? void 0 : `translate(${x.value.yAxis + l.value.chart.grid.labels.axis.yLabelOffsetX}, ${i.value.top + i.value.height / 2}) rotate(-90)`,
@@ -2393,7 +2401,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2393
2401
  ref_key: "xAxisLabel",
2394
2402
  ref: Hl,
2395
2403
  "text-anchor": "middle",
2396
- x: X.value ? ql.value.width / 2 - Math.abs(ql.value.x) : Z.value / 2,
2404
+ x: X.value ? Zl.value.width / 2 - Math.abs(Zl.value.x) : Z.value / 2,
2397
2405
  y: X.value ? void 0 : i.value.bottom + x.value.yAxis + x.value.xAxis * 1.3 + l.value.chart.grid.labels.axis.xLabelOffsetY,
2398
2406
  "font-size": x.value.yAxis,
2399
2407
  fill: l.value.chart.grid.labels.color
@@ -2402,9 +2410,9 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2402
2410
  l.value.chart.grid.labels.xAxisLabels.show ? (u(), r("g", {
2403
2411
  key: 13,
2404
2412
  ref_key: "timeLabelsEls",
2405
- ref: Bl
2413
+ ref: Rl
2406
2414
  }, [
2407
- a.$slots["time-label"] ? (u(!0), r(h, { key: 0 }, y(de.value, (e, s) => U(a.$slots, "time-label", aa({
2415
+ a.$slots["time-label"] ? (u(!0), r(h, { key: 0 }, y(de.value, (e, s) => U(a.$slots, "time-label", ta({
2408
2416
  key: `time_label_${s}`,
2409
2417
  ref_for: !0
2410
2418
  }, {
@@ -2429,16 +2437,16 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2429
2437
  fill: l.value.chart.grid.labels.xAxisLabels.color,
2430
2438
  transform: X.value ? `translate(${i.value.left + i.value.width / b.value * s + i.value.width / b.value / 2}, ${i.value.bottom + l.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${l.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 + l.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${l.value.chart.grid.labels.xAxisLabels.rotation})`,
2431
2439
  style: C({
2432
- cursor: ya() ? "pointer" : "default"
2440
+ cursor: pa() ? "pointer" : "default"
2433
2441
  }),
2434
- innerHTML: v(Qt)({
2442
+ innerHTML: v(jt)({
2435
2443
  content: String(e.text),
2436
2444
  fontSize: x.value.xAxis,
2437
2445
  fill: l.value.chart.grid.labels.xAxisLabels.color,
2438
2446
  x: 0,
2439
2447
  y: 0
2440
2448
  }),
2441
- onClick: () => _a(e, s)
2449
+ onClick: () => wa(e, s)
2442
2450
  }, null, 12, hu)) : (u(), r("text", {
2443
2451
  key: 0,
2444
2452
  "text-anchor": l.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : l.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
@@ -2446,15 +2454,15 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2446
2454
  fill: l.value.chart.grid.labels.xAxisLabels.color,
2447
2455
  transform: X.value ? `translate(${i.value.left + i.value.width / b.value * s + i.value.width / b.value / 2}, ${i.value.bottom + l.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${l.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 + l.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${l.value.chart.grid.labels.xAxisLabels.rotation})`,
2448
2456
  style: C({
2449
- cursor: ya() ? "pointer" : "default"
2457
+ cursor: pa() ? "pointer" : "default"
2450
2458
  }),
2451
- onClick: () => _a(e, s)
2459
+ onClick: () => wa(e, s)
2452
2460
  }, ae(e.text || ""), 13, du))
2453
2461
  ], 64)) : d("", !0)
2454
2462
  ]))), 128))
2455
2463
  ], 512)) : d("", !0),
2456
- Ta.value.length && !f.value.isStacked ? (u(), r("g", fu, [
2457
- (u(!0), r(h, null, y(Ta.value, (e) => (u(), r("g", {
2464
+ Oa.value.length && !f.value.isStacked ? (u(), r("g", fu, [
2465
+ (u(!0), r(h, null, y(Oa.value, (e) => (u(), r("g", {
2458
2466
  key: e.uid
2459
2467
  }, [
2460
2468
  e.yTop && e.show && isFinite(e.yTop) ? (u(), r("line", {
@@ -2490,7 +2498,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2490
2498
  fill: v($e)(e.config.area.fill, e.config.area.opacity),
2491
2499
  style: { animation: "none !important" }
2492
2500
  }, null, 8, bu)) : d("", !0),
2493
- e.config.label.text && e.show && isFinite(e._box.y) ? (u(), r("rect", aa({
2501
+ e.config.label.text && e.show && isFinite(e._box.y) ? (u(), r("rect", ta({
2494
2502
  key: 3,
2495
2503
  class: "vue-ui-xy-annotation-label-box"
2496
2504
  }, { ref_for: !0 }, e._box, { style: { animation: "none !important", transition: "none !important" } }), null, 16)) : d("", !0),
@@ -2506,7 +2514,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2506
2514
  }, ae(e.config.label.text), 9, mu)) : d("", !0)
2507
2515
  ]))), 128))
2508
2516
  ])) : d("", !0),
2509
- Jl.value ? (u(), r("g", yu, [
2517
+ Kl.value ? (u(), r("g", yu, [
2510
2518
  (u(!0), r(h, null, y(b.value, (e, s) => (u(), r("rect", {
2511
2519
  key: `tooltip_trap_${s}`,
2512
2520
  x: i.value.left + i.value.width / b.value * s,
@@ -2514,9 +2522,9 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2514
2522
  height: i.value.height < 0 ? 10 : i.value.height,
2515
2523
  width: i.value.width / b.value < 0 ? 1e-5 : i.value.width / b.value,
2516
2524
  fill: "transparent",
2517
- onMouseenter: (t) => Va(!0, s),
2518
- onMouseleave: c[1] || (c[1] = (t) => Va(!1)),
2519
- onClick: (t) => kt(s)
2525
+ onMouseenter: (t) => Pa(!0, s),
2526
+ onMouseleave: c[1] || (c[1] = (t) => Pa(!1)),
2527
+ onClick: (t) => wt(s)
2520
2528
  }, null, 40, pu))), 128))
2521
2529
  ])) : d("", !0),
2522
2530
  l.value.chart.timeTag.show && (![null, void 0].includes(_.value) || ![null, void 0].includes(O.value)) ? (u(), r("g", ku, [
@@ -2540,11 +2548,11 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2540
2548
  }, null, 8, wu)
2541
2549
  ])) : d("", !0)
2542
2550
  ])) : d("", !0),
2543
- U(a.$slots, "svg", { svg: ct.value }, void 0, !0)
2551
+ U(a.$slots, "svg", { svg: dt.value }, void 0, !0)
2544
2552
  ], 512)
2545
- ], 14, ho)),
2553
+ ], 14, fo)),
2546
2554
  a.$slots.watermark ? (u(), r("div", Su, [
2547
- U(a.$slots, "watermark", Qe(je({ isPrinting: v(Ul) || v(ga) })), void 0, !0)
2555
+ U(a.$slots, "watermark", Qe(je({ isPrinting: v(ql) || v(xa) })), void 0, !0)
2548
2556
  ])) : d("", !0),
2549
2557
  (u(!0), r(h, null, y(Se.value, (e, s) => (u(), r(h, {
2550
2558
  key: `tag_line_${s}`
@@ -2770,10 +2778,10 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2770
2778
  ], 4)) : d("", !0)
2771
2779
  ], 64))), 128))
2772
2780
  ], 64))), 128)),
2773
- l.value.chart.zoom.show && He.value > 6 && Xl.value ? (u(), Ie(oo, {
2781
+ l.value.chart.zoom.show && He.value > 6 && Dl.value ? (u(), Ie(so, {
2774
2782
  ref_key: "chartSlicer",
2775
2783
  ref: Le,
2776
- key: `slicer_${Fl.value}`,
2784
+ key: `slicer_${El.value}`,
2777
2785
  background: l.value.chart.zoom.color,
2778
2786
  fontSize: l.value.chart.zoom.fontSize,
2779
2787
  useResetSlot: l.value.chart.zoom.useResetSlot,
@@ -2783,7 +2791,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2783
2791
  inputColor: l.value.chart.zoom.color,
2784
2792
  selectColor: l.value.chart.zoom.highlightColor,
2785
2793
  borderColor: l.value.chart.backgroundColor,
2786
- minimap: It.value,
2794
+ minimap: Ot.value,
2787
2795
  smoothMinimap: l.value.chart.zoom.minimap.smooth,
2788
2796
  minimapSelectedColor: l.value.chart.zoom.minimap.selectedColor,
2789
2797
  minimapSelectionRadius: l.value.chart.zoom.minimap.selectionRadius,
@@ -2804,8 +2812,8 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2804
2812
  refreshEndPoint: l.value.chart.zoom.endIndex !== null ? l.value.chart.zoom.endIndex + 1 : Math.max(...Nl.dataset.map((e) => v(Ee)({ data: e.series, threshold: l.value.downsample.threshold }).length)),
2805
2813
  enableRangeHandles: l.value.chart.zoom.enableRangeHandles,
2806
2814
  enableSelectionDrag: l.value.chart.zoom.enableSelectionDrag,
2807
- onReset: pt,
2808
- onTrapMouse: bt
2815
+ onReset: _t,
2816
+ onTrapMouse: yt
2809
2817
  }, {
2810
2818
  "reset-action": se(({ reset: e }) => [
2811
2819
  U(a.$slots, "reset-action", Qe(je({ reset: e })), void 0, !0)
@@ -2821,10 +2829,10 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2821
2829
  }, [
2822
2830
  (u(!0), r(h, null, y(Me.value, (e, s) => (u(), r("div", {
2823
2831
  key: `div_legend_item_${s}`,
2824
- onClick: (t) => za(e),
2832
+ onClick: (t) => Ca(e),
2825
2833
  class: Ke({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": te.value.includes(e.id) })
2826
2834
  }, [
2827
- vl.value[e.type] === "line" ? (u(), r("svg", Ru, [
2835
+ vl.value[e.type] === "line" ? (u(), r("svg", Bu, [
2828
2836
  g("rect", {
2829
2837
  x: "0",
2830
2838
  y: "7.5",
@@ -2834,7 +2842,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2834
2842
  height: "3",
2835
2843
  width: "20",
2836
2844
  fill: e.color
2837
- }, null, 8, Bu),
2845
+ }, null, 8, Ru),
2838
2846
  yl(Ol, {
2839
2847
  plot: { x: 10, y: 9 },
2840
2848
  radius: 4,
@@ -2891,8 +2899,8 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2891
2899
  }, [
2892
2900
  U(a.$slots, "source", {}, void 0, !0)
2893
2901
  ], 512)) : d("", !0),
2894
- yl(v(et), {
2895
- show: f.value.showTooltip && na.value,
2902
+ yl(v(at), {
2903
+ show: f.value.showTooltip && ca.value,
2896
2904
  backgroundColor: l.value.chart.tooltip.backgroundColor,
2897
2905
  color: l.value.chart.tooltip.color,
2898
2906
  fontSize: l.value.chart.tooltip.fontSize,
@@ -2903,19 +2911,19 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2903
2911
  position: l.value.chart.tooltip.position,
2904
2912
  offsetY: l.value.chart.tooltip.offsetY,
2905
2913
  parent: a.$refs.chart,
2906
- content: Tt.value,
2914
+ content: Nt.value,
2907
2915
  isFullscreen: tl.value,
2908
2916
  isCustom: l.value.chart.tooltip.customFormat && typeof l.value.chart.tooltip.customFormat == "function"
2909
2917
  }, {
2910
2918
  "tooltip-before": se(() => [
2911
- U(a.$slots, "tooltip-before", Qe(je({ ...Oa.value })), void 0, !0)
2919
+ U(a.$slots, "tooltip-before", Qe(je({ ...Na.value })), void 0, !0)
2912
2920
  ]),
2913
2921
  "tooltip-after": se(() => [
2914
- U(a.$slots, "tooltip-after", Qe(je({ ...Oa.value })), void 0, !0)
2922
+ U(a.$slots, "tooltip-after", Qe(je({ ...Na.value })), void 0, !0)
2915
2923
  ]),
2916
2924
  _: 3
2917
2925
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
2918
- Xl.value ? (u(), Ie(v(ot), {
2926
+ Dl.value ? (u(), Ie(v(ut), {
2919
2927
  key: 9,
2920
2928
  hideDetails: "",
2921
2929
  config: {
@@ -2933,32 +2941,32 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2933
2941
  }, {
2934
2942
  content: se(() => [
2935
2943
  g("div", {
2936
- style: C(`${v(Ul) ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2944
+ style: C(`${v(ql) ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2937
2945
  }, [
2938
2946
  g("div", Gu, [
2939
- Bt(g("input", {
2947
+ Yt(g("input", {
2940
2948
  type: "checkbox",
2941
2949
  "onUpdate:modelValue": c[4] || (c[4] = (e) => dl.value = e)
2942
2950
  }, null, 512), [
2943
- [Yt, dl.value]
2951
+ [Ft, dl.value]
2944
2952
  ]),
2945
2953
  g("div", {
2946
2954
  onClick: c[5] || (c[5] = (e) => dl.value = !dl.value),
2947
2955
  style: { cursor: "pointer" }
2948
2956
  }, [
2949
- yl(v(at), {
2957
+ yl(v(ot), {
2950
2958
  name: "chartLine",
2951
2959
  size: 20,
2952
2960
  stroke: l.value.chart.color
2953
2961
  }, null, 8, ["stroke"])
2954
2962
  ])
2955
2963
  ]),
2956
- dl.value ? (u(), Ie(v(tt), {
2957
- key: `sparkline_${El.value}`,
2958
- dataset: Mt.value,
2959
- config: zt.value
2960
- }, null, 8, ["dataset", "config"])) : (u(), Ie(v(ja), {
2961
- key: `table_${va.value}`,
2964
+ dl.value ? (u(), Ie(v(st), {
2965
+ key: `sparkline_${Wl.value}`,
2966
+ dataset: Ct.value,
2967
+ config: It.value
2968
+ }, null, 8, ["dataset", "config"])) : (u(), Ie(v(lt), {
2969
+ key: `table_${da.value}`,
2962
2970
  colNames: Ml.value.colNames,
2963
2971
  head: Ml.value.head,
2964
2972
  body: Ml.value.body,
@@ -2970,7 +2978,7 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2970
2978
  g("div", { innerHTML: e }, null, 8, Xu)
2971
2979
  ]),
2972
2980
  td: se(({ td: e }) => [
2973
- Ft(ae(isNaN(Number(e)) ? e : v(ye)({
2981
+ Et(ae(isNaN(Number(e)) ? e : v(ye)({
2974
2982
  p: l.value.chart.labels.prefix,
2975
2983
  v: e,
2976
2984
  s: l.value.chart.labels.suffix,
@@ -2983,10 +2991,10 @@ const vo = ["id"], ho = ["width", "viewBox", "aria-label"], fo = ["x", "y", "wid
2983
2991
  ]),
2984
2992
  _: 1
2985
2993
  }, 8, ["config"])) : d("", !0),
2986
- v(Dl) ? (u(), Ie(no, { key: 10 })) : d("", !0)
2987
- ], 46, vo));
2994
+ v(Ul) ? (u(), Ie(co, { key: 10 })) : d("", !0)
2995
+ ], 46, ho));
2988
2996
  }
2989
- }, or = /* @__PURE__ */ co(Du, [["__scopeId", "data-v-f9325c33"]]);
2997
+ }, or = /* @__PURE__ */ vo(Du, [["__scopeId", "data-v-55283946"]]);
2990
2998
  export {
2991
2999
  or as default
2992
3000
  };