vue-data-ui 3.0.0-next.22 → 3.0.0-next.24

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 (87) hide show
  1. package/dist/{Arrow-CG6jvVsg.js → Arrow-Bl5-mnOV.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Du2C2PRN.js → BaseDraggableDialog-CUfjf--m.js} +2 -2
  3. package/dist/{BaseIcon-B02_iZvv.js → BaseIcon-Bqx1co2m.js} +1 -1
  4. package/dist/{ColorPicker-D8pAbBHF.js → ColorPicker-DiuthUpG.js} +2 -2
  5. package/dist/{DataTable-DWrR2huG.js → DataTable-C52vrt0E.js} +2 -2
  6. package/dist/{Legend-DuIBb5-l.js → Legend-RgPqbRB2.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-CgdXT3Mo.js → NonSvgPenAndPaper-Daeez5Uj.js} +3 -3
  8. package/dist/{PackageVersion-Dw8LsLrG.js → PackageVersion-foDSwBnR.js} +1 -1
  9. package/dist/{PenAndPaper-B5NLS-T8.js → PenAndPaper-BHk86d8V.js} +3 -3
  10. package/dist/{Shape-BYtD3aCC.js → Shape-nLYuojED.js} +1 -1
  11. package/dist/{Slicer-DEWW_x3E.js → Slicer-w37VlSJL.js} +2 -2
  12. package/dist/{SparkTooltip-49EExszm.js → SparkTooltip-D9g3UBp9.js} +1 -1
  13. package/dist/{Title-CSrQOK6i.js → Title-C31zTrEg.js} +1 -1
  14. package/dist/{Tooltip-BXN6Dia0.js → Tooltip-DTeSp5uD.js} +1 -1
  15. package/dist/{UserOptions-DuttP5Ha.js → UserOptions-CUhQWPrm.js} +2 -2
  16. package/dist/{dom-to-png-1vZ7Gzre.js → dom-to-png-akj-svzH.js} +1 -1
  17. package/dist/{img-Cw1NdbG_.js → img-Uixyjj8A.js} +1 -1
  18. package/dist/{index-BW0C2_Tb.js → index-BlXaaLFe.js} +1 -1
  19. package/dist/{pdf-Dhv7sPee.js → pdf-BvJ3RiOs.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/{useNestedProp-CTefm-aW.js → useNestedProp-Cy-hEFSJ.js} +1 -1
  22. package/dist/{usePrinter-B4zYrgnb.js → usePrinter-D5YEoSwm.js} +2 -2
  23. package/dist/{vue-data-ui-CAy6ShPG.js → vue-data-ui-c-UnndK7.js} +64 -64
  24. package/dist/vue-data-ui.js +1 -1
  25. package/dist/{vue-ui-3d-bar-CGy2iAMa.js → vue-ui-3d-bar-oguO8SdP.js} +6 -6
  26. package/dist/{vue-ui-accordion-c1jZbYHr.js → vue-ui-accordion-BEife378.js} +3 -3
  27. package/dist/{vue-ui-age-pyramid-CAzHUVIF.js → vue-ui-age-pyramid-DScPiCDr.js} +6 -6
  28. package/dist/{vue-ui-annotator-bSYt6z3h.js → vue-ui-annotator-Dv_91gd2.js} +2 -2
  29. package/dist/{vue-ui-bullet-oMgx5uwV.js → vue-ui-bullet-4kwdiXCW.js} +7 -7
  30. package/dist/{vue-ui-candlestick-DWdZfON_.js → vue-ui-candlestick-BLhgKIos.js} +7 -7
  31. package/dist/{vue-ui-carousel-table-DvK9e5fw.js → vue-ui-carousel-table-CAxldPeA.js} +4 -4
  32. package/dist/{vue-ui-chestnut-xJhDrfjB.js → vue-ui-chestnut-BFbpADeQ.js} +5 -5
  33. package/dist/{vue-ui-chord-C4HzHUAY.js → vue-ui-chord-CBpT3QLV.js} +8 -8
  34. package/dist/{vue-ui-circle-pack-DBK62SdA.js → vue-ui-circle-pack-BYjq2Knu.js} +6 -6
  35. package/dist/{vue-ui-cursor-BYc6Mwym.js → vue-ui-cursor-g1m-y6fq.js} +2 -2
  36. package/dist/{vue-ui-dashboard-DloLrGpO.js → vue-ui-dashboard-CNkM9lFq.js} +62 -62
  37. package/dist/{vue-ui-digits-Q89rZ9Pe.js → vue-ui-digits-Dr52gylX.js} +2 -2
  38. package/dist/{vue-ui-donut-awxg4BQq.js → vue-ui-donut-_QDAZp4P.js} +297 -287
  39. package/dist/{vue-ui-donut-evolution-CYUOog5f.js → vue-ui-donut-evolution-DpotkfSL.js} +8 -8
  40. package/dist/{vue-ui-dumbbell-C5j0XpO5.js → vue-ui-dumbbell-BLl7MbRR.js} +7 -7
  41. package/dist/{vue-ui-flow-CqdoGSch.js → vue-ui-flow-C3x9hvnq.js} +7 -7
  42. package/dist/{vue-ui-funnel-CD0RA9Rn.js → vue-ui-funnel-UlwhfxI6.js} +6 -6
  43. package/dist/{vue-ui-galaxy-c_qleL6O.js → vue-ui-galaxy-DMPulm8s.js} +5 -5
  44. package/dist/{vue-ui-gauge-CtcJu8vb.js → vue-ui-gauge-y7YOi5pM.js} +6 -6
  45. package/dist/{vue-ui-gizmo-CxvHL2NS.js → vue-ui-gizmo-CWUUCfeb.js} +3 -3
  46. package/dist/{vue-ui-heatmap-NC425dJO.js → vue-ui-heatmap-_9bs_l_c.js} +7 -7
  47. package/dist/{vue-ui-history-plot-7d_SmyIF.js → vue-ui-history-plot-DY2hBcBB.js} +7 -7
  48. package/dist/{vue-ui-kpi-B1159KLv.js → vue-ui-kpi-AVbXZy5l.js} +3 -3
  49. package/dist/{vue-ui-mini-loader-D4lhtzRC.js → vue-ui-mini-loader-Bu_CgsIj.js} +2 -2
  50. package/dist/{vue-ui-molecule-ClAIN3Ua.js → vue-ui-molecule-k5-DcIhX.js} +5 -5
  51. package/dist/{vue-ui-mood-radar-B8cBu8B_.js → vue-ui-mood-radar-BN7kioh1.js} +7 -7
  52. package/dist/{vue-ui-nested-donuts-BxAB5Csu.js → vue-ui-nested-donuts-CzOd_wz4.js} +9 -9
  53. package/dist/{vue-ui-onion-oVP1iKkS.js → vue-ui-onion-CR6LOxEf.js} +7 -7
  54. package/dist/{vue-ui-parallel-coordinate-plot-DNi4yM-k.js → vue-ui-parallel-coordinate-plot-B2L9GM3t.js} +8 -8
  55. package/dist/{vue-ui-quadrant-V99phN2R.js → vue-ui-quadrant-BlbM2_j4.js} +8 -8
  56. package/dist/{vue-ui-quick-chart-Ci74ZJeI.js → vue-ui-quick-chart-ZeuFLc-o.js} +6 -6
  57. package/dist/{vue-ui-radar-V4YCXUOo.js → vue-ui-radar-Cu9-YaLt.js} +7 -7
  58. package/dist/{vue-ui-rating-DexrpBbo.js → vue-ui-rating-CqOfQXjm.js} +2 -2
  59. package/dist/{vue-ui-relation-circle-rPlpFgzI.js → vue-ui-relation-circle-D1TKPRAu.js} +6 -6
  60. package/dist/{vue-ui-ridgeline-CBa7hm9Z.js → vue-ui-ridgeline-Cmmc3c4e.js} +8 -8
  61. package/dist/{vue-ui-rings-DBGi-AUn.js → vue-ui-rings-Bx-TRfAc.js} +8 -8
  62. package/dist/{vue-ui-scatter-D5mAcA9O.js → vue-ui-scatter-rv_0UZKq.js} +8 -8
  63. package/dist/{vue-ui-skeleton-CdLMeOld.js → vue-ui-skeleton-HiIwRF9u.js} +3 -3
  64. package/dist/{vue-ui-smiley-BV-tMmxi.js → vue-ui-smiley-DRIazlJl.js} +2 -2
  65. package/dist/{vue-ui-spark-trend-CtCtidOg.js → vue-ui-spark-trend-C-hhNGtd.js} +3 -3
  66. package/dist/{vue-ui-sparkbar-Bs1xm4es.js → vue-ui-sparkbar-C30PDQgB.js} +3 -3
  67. package/dist/{vue-ui-sparkgauge-CspfsOd_.js → vue-ui-sparkgauge-DF9rvlRU.js} +3 -3
  68. package/dist/{vue-ui-sparkhistogram-BaNvyNzr.js → vue-ui-sparkhistogram-BiAxrc5I.js} +4 -4
  69. package/dist/{vue-ui-sparkline-OMWoZFo2.js → vue-ui-sparkline-B9LUqXNt.js} +3 -3
  70. package/dist/{vue-ui-sparkstackbar-D6L8x3fT.js → vue-ui-sparkstackbar-DQHS8eF3.js} +3 -3
  71. package/dist/{vue-ui-stackbar-DfCeJnfw.js → vue-ui-stackbar-DUtcotHG.js} +9 -9
  72. package/dist/{vue-ui-strip-plot-070FX-oE.js → vue-ui-strip-plot-CVtpRsJr.js} +7 -7
  73. package/dist/{vue-ui-table-KxfZz3KW.js → vue-ui-table-Dao94Fyr.js} +3 -3
  74. package/dist/{vue-ui-table-heatmap-CAv0UFbh.js → vue-ui-table-heatmap-nVVJBAlm.js} +5 -5
  75. package/dist/{vue-ui-table-sparkline-BfxTdEYr.js → vue-ui-table-sparkline-L3sxqyOu.js} +4 -4
  76. package/dist/{vue-ui-thermometer-gNuiHPTL.js → vue-ui-thermometer-CZ4tQZeT.js} +6 -6
  77. package/dist/{vue-ui-timer-DBjrqdbd.js → vue-ui-timer-CKYXO2gi.js} +5 -5
  78. package/dist/{vue-ui-tiremarks-B4jaLtgL.js → vue-ui-tiremarks-Bqq9N4uJ.js} +6 -6
  79. package/dist/{vue-ui-treemap-Br0tUn0s.js → vue-ui-treemap-Bu_IOJjV.js} +8 -8
  80. package/dist/{vue-ui-vertical-bar-fPUMFtfV.js → vue-ui-vertical-bar-44vaxifJ.js} +39 -39
  81. package/dist/{vue-ui-waffle-yfCV-Ucn.js → vue-ui-waffle-TBu3871G.js} +8 -8
  82. package/dist/{vue-ui-wheel-B2ytuASN.js → vue-ui-wheel-DEHAZdGf.js} +6 -6
  83. package/dist/{vue-ui-word-cloud-DoztPnSM.js → vue-ui-word-cloud-_KRS8rdd.js} +6 -6
  84. package/dist/{vue-ui-world-p6uUq2VG.js → vue-ui-world-DCjRVtGO.js} +6 -6
  85. package/dist/{vue-ui-xy-Cb4IrNMs.js → vue-ui-xy-BwhHWoc_.js} +119 -117
  86. package/dist/{vue-ui-xy-canvas-Dm0E_IV4.js → vue-ui-xy-canvas-CrDPAZRH.js} +8 -8
  87. package/package.json +1 -1
@@ -1,17 +1,17 @@
1
- import { defineAsyncComponent as Be, useSlots as Nt, getCurrentInstance as Vt, ref as w, computed as $, onMounted as Ba, toRefs as Pt, watchEffect as Ht, onBeforeUnmount as Ya, watch as Ql, createElementBlock as i, openBlock as u, normalizeStyle as z, normalizeClass as Ue, createBlock as Me, createCommentVNode as d, createVNode as xl, unref as v, createSlots as Rt, withCtx as ue, renderSlot as q, normalizeProps as Ze, guardReactiveProps as Je, createElementVNode as g, Fragment as h, renderList as y, toDisplayString as ee, mergeProps as jl, withDirectives as Bt, vModelCheckbox as Yt, createTextVNode as Ft, nextTick as bl } from "vue";
2
- import { u as Et, c as ea, e as la, A as Wt, a5 as Ye, b as Xt, D as ml, ab as Ke, d as Gt, p as Dt, ac as zl, aa as R, ad as qt, v as T, ae as Fa, V as Ea, af as Wa, U as Xa, ag as Ut, ah as Ga, ai as Da, i as re, x as Zt, y as Jt, _ as qa, R as ze, f as xe, w as Qe, s as we, a8 as X, L as Kt, F as Fe, aj as Cl, I as Qt, ak as Ee, C as Ne, t as jt, a as eo, o as Ua, q as lo, r as ao, E as ol } from "./index-BW0C2_Tb.js";
3
- import { u as aa } from "./useNestedProp-CTefm-aW.js";
1
+ import { defineAsyncComponent as Be, useSlots as Nt, getCurrentInstance as Vt, ref as w, computed as $, onMounted as Ba, toRefs as Pt, watchEffect as Ht, onBeforeUnmount as Ya, watch as Ql, createElementBlock as i, openBlock as u, normalizeStyle as z, normalizeClass as Ue, createBlock as Me, createCommentVNode as d, createVNode as xl, unref as v, createSlots as Rt, withCtx as ue, renderSlot as q, normalizeProps as Ze, guardReactiveProps as Je, createElementVNode as g, Fragment as h, renderList as y, toDisplayString as ee, mergeProps as jl, withDirectives as Bt, vModelCheckbox as Yt, createTextVNode as Ft, nextTick as ml } from "vue";
2
+ import { u as Et, c as ea, e as la, A as Wt, a5 as Ye, b as Xt, D as bl, ab as Ke, d as Gt, p as Dt, ac as zl, aa as R, ad as qt, v as T, ae as Fa, V as Ea, af as Wa, U as Xa, ag as Ut, ah as Ga, ai as Da, i as re, x as Zt, y as Jt, _ as qa, R as ze, f as xe, w as Qe, s as we, a8 as X, L as Kt, F as Fe, aj as Cl, I as Qt, ak as Ee, C as Ne, t as jt, a as eo, o as Ua, q as lo, r as ao, E as ol } from "./index-BlXaaLFe.js";
3
+ import { u as aa } from "./useNestedProp-Cy-hEFSJ.js";
4
4
  import { u as to } from "./useTimeLabels-DFkUfjfs.js";
5
5
  import { u as oo } from "./useTimeLabelCollider-V7AOiPLB.js";
6
- import { S as so } from "./Slicer-DEWW_x3E.js";
7
- import uo from "./Title-CSrQOK6i.js";
8
- import { _ as Il } from "./Shape-BYtD3aCC.js";
9
- import ro from "./img-Cw1NdbG_.js";
10
- import { u as io } from "./usePrinter-B4zYrgnb.js";
6
+ import { S as so } from "./Slicer-w37VlSJL.js";
7
+ import uo from "./Title-C31zTrEg.js";
8
+ import { _ as Il } from "./Shape-nLYuojED.js";
9
+ import ro from "./img-Uixyjj8A.js";
10
+ import { u as io } from "./usePrinter-D5YEoSwm.js";
11
11
  import { u as no, B as co } from "./BaseScanner-DIK2NTdp.js";
12
12
  import { t as vo } from "./useResponsive-DfdjqQps.js";
13
13
  import { _ as ho } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "height"], bo = { key: 1 }, mo = { class: "vue-ui-xy-grid" }, yo = ["stroke", "x1", "x2", "y1", "y2"], po = ["stroke", "x1", "x2", "y1", "y2"], ko = { key: 1 }, _o = ["x1", "x2", "y1", "y2", "stroke"], wo = ["x1", "x2", "y1", "y2", "stroke"], So = ["x1", "x2", "y1", "y2", "stroke"], $o = { key: 3 }, Lo = ["d", "stroke"], Ao = { key: 4 }, Mo = ["d", "stroke"], zo = ["id"], Co = ["stop-color"], Io = ["stop-color"], To = ["stop-color"], Oo = ["id"], No = ["stop-color"], Vo = ["stop-color"], Po = ["stop-color"], Ho = ["id"], Ro = ["stop-color"], Bo = ["stop-color"], Yo = ["id"], Fo = ["stop-color"], Eo = ["stop-color"], Wo = ["id"], Xo = ["stop-color"], Go = ["stop-color"], Do = ["x", "y", "height", "width", "fill"], qo = ["x", "y", "width"], Uo = { key: 0 }, Zo = ["x", "y", "height", "width", "fill"], Jo = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ko = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Qo = ["width", "x", "y"], jo = { key: 0 }, es = ["id"], ls = ["fill"], as = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ts = ["x", "y", "font-size", "fill"], os = ["stroke", "x1", "x2", "y1", "y2"], ss = { key: 3 }, us = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], rs = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], is = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ns = ["fill", "font-size", "transform"], cs = ["x1", "x2", "y1", "y2", "stroke"], vs = ["x", "y", "font-size", "fill"], ds = ["x1", "x2", "y1", "y2", "stroke"], hs = ["x", "y", "font-size", "fill"], fs = ["width", "x", "y"], gs = { style: { width: "100%" } }, xs = { key: 0 }, bs = ["id"], ms = ["fill"], ys = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ps = ["x", "y", "font-size", "fill"], ks = ["d", "stroke", "stroke-width", "stroke-dasharray"], _s = ["d", "stroke", "stroke-width", "stroke-dasharray"], ws = { key: 6 }, Ss = { key: 0 }, $s = ["d", "fill"], Ls = ["d", "fill"], As = ["d", "fill"], Ms = ["d", "fill"], zs = ["d", "stroke", "stroke-width", "stroke-dasharray"], Cs = ["d", "stroke", "stroke-width", "stroke-dasharray"], Is = ["width", "x", "y"], Ts = { style: { width: "100%" } }, Os = { key: 3 }, Ns = ["id"], Vs = ["fill"], Ps = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Hs = ["x", "y", "font-size", "fill"], Rs = { key: 7 }, Bs = ["x", "y", "font-size", "fill"], Ys = ["x", "y", "font-size", "fill", "font-weight"], Fs = { key: 8 }, Es = ["x", "y", "font-size", "fill"], Ws = { key: 9 }, Xs = ["x", "y"], Gs = ["innerHTML"], Ds = ["x", "y"], qs = ["innerHTML"], Us = ["x1", "x2", "y1", "y2", "stroke"], Zs = { key: 10 }, Js = ["x", "y", "font-size", "fill"], Ks = { key: 11 }, Qs = ["x", "y"], js = ["innerHTML"], eu = ["x", "y"], lu = ["innerHTML"], au = ["x1", "x2", "y1", "y2", "stroke"], tu = ["x", "y", "font-size", "fill", "innerHTML"], ou = ["x", "y", "font-size", "fill", "innerHTML"], su = ["x", "y", "font-size", "fill", "innerHTML"], uu = ["x", "y", "font-size", "fill", "innerHTML"], ru = ["id"], iu = ["stop-color"], nu = ["stop-color"], cu = ["x", "y", "width", "height", "fill", "onMouseenter"], vu = ["font-size", "fill", "transform"], du = ["x", "y", "font-size", "fill"], hu = ["text-anchor", "font-size", "fill", "transform", "onClick"], fu = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], gu = { key: 14 }, xu = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], bu = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], mu = ["y", "x", "width", "height", "fill"], yu = ["id", "x", "y", "font-size", "fill", "text-anchor"], pu = { key: 15 }, ku = ["x", "y", "height", "width", "onMouseenter", "onClick"], _u = {
14
+ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "height"], mo = { key: 1 }, bo = { class: "vue-ui-xy-grid" }, yo = ["stroke", "x1", "x2", "y1", "y2"], po = ["stroke", "x1", "x2", "y1", "y2"], ko = { key: 1 }, _o = ["x1", "x2", "y1", "y2", "stroke"], wo = ["x1", "x2", "y1", "y2", "stroke"], So = ["x1", "x2", "y1", "y2", "stroke"], $o = { key: 3 }, Lo = ["d", "stroke"], Ao = { key: 4 }, Mo = ["d", "stroke"], zo = ["id"], Co = ["stop-color"], Io = ["stop-color"], To = ["stop-color"], Oo = ["id"], No = ["stop-color"], Vo = ["stop-color"], Po = ["stop-color"], Ho = ["id"], Ro = ["stop-color"], Bo = ["stop-color"], Yo = ["id"], Fo = ["stop-color"], Eo = ["stop-color"], Wo = ["id"], Xo = ["stop-color"], Go = ["stop-color"], Do = ["x", "y", "height", "width", "fill"], qo = ["x", "y", "width"], Uo = { key: 0 }, Zo = ["x", "y", "height", "width", "fill"], Jo = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ko = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Qo = ["width", "x", "y"], jo = { key: 0 }, es = ["id"], ls = ["fill"], as = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ts = ["x", "y", "font-size", "fill"], os = ["stroke", "x1", "x2", "y1", "y2"], ss = { key: 3 }, us = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], rs = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], is = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ns = ["fill", "font-size", "transform"], cs = ["x1", "x2", "y1", "y2", "stroke"], vs = ["x", "y", "font-size", "fill"], ds = ["x1", "x2", "y1", "y2", "stroke"], hs = ["x", "y", "font-size", "fill"], fs = ["width", "x", "y"], gs = { style: { width: "100%" } }, xs = { key: 0 }, ms = ["id"], bs = ["fill"], ys = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ps = ["x", "y", "font-size", "fill"], ks = ["d", "stroke", "stroke-width", "stroke-dasharray"], _s = ["d", "stroke", "stroke-width", "stroke-dasharray"], ws = { key: 6 }, Ss = { key: 0 }, $s = ["d", "fill"], Ls = ["d", "fill"], As = ["d", "fill"], Ms = ["d", "fill"], zs = ["d", "stroke", "stroke-width", "stroke-dasharray"], Cs = ["d", "stroke", "stroke-width", "stroke-dasharray"], Is = ["width", "x", "y"], Ts = { style: { width: "100%" } }, Os = { key: 3 }, Ns = ["id"], Vs = ["fill"], Ps = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Hs = ["x", "y", "font-size", "fill"], Rs = { key: 7 }, Bs = ["x", "y", "font-size", "fill"], Ys = ["x", "y", "font-size", "fill", "font-weight"], Fs = { key: 8 }, Es = ["x", "y", "font-size", "fill"], Ws = { key: 9 }, Xs = ["x", "y"], Gs = ["innerHTML"], Ds = ["x", "y"], qs = ["innerHTML"], Us = ["x1", "x2", "y1", "y2", "stroke"], Zs = { key: 10 }, Js = ["x", "y", "font-size", "fill"], Ks = { key: 11 }, Qs = ["x", "y"], js = ["innerHTML"], eu = ["x", "y"], lu = ["innerHTML"], au = ["x1", "x2", "y1", "y2", "stroke"], tu = ["x", "y", "font-size", "fill", "innerHTML"], ou = ["x", "y", "font-size", "fill", "innerHTML"], su = ["x", "y", "font-size", "fill", "innerHTML"], uu = ["x", "y", "font-size", "fill", "innerHTML"], ru = ["id"], iu = ["stop-color"], nu = ["stop-color"], cu = ["x", "y", "width", "height", "fill", "onMouseenter"], vu = ["font-size", "fill", "transform"], du = ["x", "y", "font-size", "fill"], hu = ["text-anchor", "font-size", "fill", "transform", "onClick"], fu = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], gu = { key: 14 }, xu = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], mu = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], bu = ["y", "x", "width", "height", "fill"], yu = ["id", "x", "y", "font-size", "fill", "text-anchor"], pu = { key: 15 }, ku = ["x", "y", "height", "width", "onMouseenter", "onClick"], _u = {
15
15
  key: 16,
16
16
  style: { "pointer-events": "none" }
17
17
  }, wu = ["x", "y"], Su = ["cx", "cy", "r", "fill"], $u = {
@@ -73,10 +73,10 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
73
73
  },
74
74
  emits: ["selectTimeLabel", "selectX", "selectLegend"],
75
75
  setup(Tl, { expose: Za, emit: Ja }) {
76
- const m = Tl, Ka = Be(() => import("./DataTable-DWrR2huG.js")), Qa = Be(() => import("./Tooltip-BXN6Dia0.js")), ja = Be(() => import("./UserOptions-DuttP5Ha.js")), et = Be(() => import("./BaseIcon-B02_iZvv.js")), lt = Be(() => import("./vue-ui-table-sparkline-BfxTdEYr.js")), at = Be(() => import("./vue-ui-accordion-c1jZbYHr.js")), tt = Be(() => import("./PackageVersion-Dw8LsLrG.js")), ot = Be(() => import("./PenAndPaper-B5NLS-T8.js")), Ol = Ja, ta = Nt(), st = Vt(), { vue_ui_xy: Nl } = Et(), je = w(null), sl = w(null), Se = w(null), el = w(null), ul = w(null), rl = w(null), ut = w(null), Vl = w(null), Pl = w(null), ll = w(null), Hl = w(null), We = w(null), Rl = w(null), Bl = w(0), M = w(null), oa = w(!0), ve = w(600), ae = w(1e3), yl = w("0 0 1000 600"), rt = w({ x: 0, y: 0 }), il = w({ line: "line", bar: "bar", plot: "plot" }), pl = w(!1), al = w(!1), sa = w(!1), k = w(null), Xe = w(null), te = w([]), U = w(ea()), ua = w(0), ra = w(0), ia = w(0), nl = w(!0), Yl = w(0), O = w(null), na = w(!1), Fl = w(!0), kl = w(!0), be = w(null), Ce = w({}), _l = w(null), it = $(() => ({
76
+ const b = Tl, Ka = Be(() => import("./DataTable-C52vrt0E.js")), Qa = Be(() => import("./Tooltip-DTeSp5uD.js")), ja = Be(() => import("./UserOptions-CUhQWPrm.js")), et = Be(() => import("./BaseIcon-Bqx1co2m.js")), lt = Be(() => import("./vue-ui-table-sparkline-L3sxqyOu.js")), at = Be(() => import("./vue-ui-accordion-BEife378.js")), tt = Be(() => import("./PackageVersion-foDSwBnR.js")), ot = Be(() => import("./PenAndPaper-BHk86d8V.js")), Ol = Ja, ta = Nt(), st = Vt(), { vue_ui_xy: Nl } = Et(), je = w(null), sl = w(null), Se = w(null), el = w(null), ul = w(null), rl = w(null), ut = w(null), Vl = w(null), Pl = w(null), ll = w(null), Hl = w(null), We = w(null), Rl = w(null), Bl = w(0), M = w(null), oa = w(!0), ve = w(600), ae = w(1e3), yl = w("0 0 1000 600"), rt = w({ x: 0, y: 0 }), il = w({ line: "line", bar: "bar", plot: "plot" }), pl = w(!1), al = w(!1), sa = w(!1), k = w(null), Xe = w(null), te = w([]), U = w(ea()), ua = w(0), ra = w(0), ia = w(0), nl = w(!0), Yl = w(0), O = w(null), na = w(!1), Fl = w(!0), kl = w(!0), me = w(null), Ce = w({}), _l = w(null), it = $(() => ({
77
77
  height: ve.value,
78
78
  width: ae.value
79
- })), nt = m.config.downsample && m.config.downsample.threshold ? m.config.downsample.threshold : 500, f = w({
79
+ })), nt = b.config.downsample && b.config.downsample.threshold ? b.config.downsample.threshold : 500, f = w({
80
80
  dataLabels: { show: !0 },
81
81
  showTooltip: !0,
82
82
  showTable: !1,
@@ -89,7 +89,7 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
89
89
  plotLabels: 10
90
90
  }), $e = w({ plot: 3, line: 3 });
91
91
  Ba(() => {
92
- m.dataset.length && m.dataset.forEach((a, c) => {
92
+ b.dataset.length && b.dataset.forEach((a, c) => {
93
93
  [null, void 0].includes(a.series) && la({
94
94
  componentName: "VueUiXy",
95
95
  type: "datasetSerieAttribute",
@@ -100,32 +100,32 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
100
100
  });
101
101
  });
102
102
  function El() {
103
- if (!Object.keys(m.config || {}).length)
103
+ if (!Object.keys(b.config || {}).length)
104
104
  return Nl;
105
105
  const a = aa({
106
- userConfig: m.config,
106
+ userConfig: b.config,
107
107
  defaultConfig: Nl
108
108
  });
109
- return m.config && Ne(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 && Ne(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 && Ne(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 && Ne(m.config, "chart.zoom.startIndex") ? a.chart.zoom.startIndex = m.config.chart.zoom.startIndex : a.chart.zoom.startIndex = null, m.config && Ne(m.config, "chart.zoom.endIndex") ? a.chart.zoom.endIndex = m.config.chart.zoom.endIndex : a.chart.zoom.endIndex = null, m.config && Ne(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) => aa({
109
+ return b.config && Ne(b.config, "chart.highlightArea") && (Array.isArray(b.config.chart.highlightArea) ? a.chart.highlightArea = b.config.chart.highlightArea : a.chart.highlightArea = [b.config.chart.highlightArea]), b.config && Ne(b.config, "chart.grid.labels.yAxis.scaleMin") ? a.chart.grid.labels.yAxis.scaleMin = b.config.chart.grid.labels.yAxis.scaleMin : a.chart.grid.labels.yAxis.scaleMin = null, b.config && Ne(b.config, "chart.grid.labels.yAxis.scaleMax") ? a.chart.grid.labels.yAxis.scaleMax = b.config.chart.grid.labels.yAxis.scaleMax : a.chart.grid.labels.yAxis.scaleMax = null, b.config && Ne(b.config, "chart.zoom.startIndex") ? a.chart.zoom.startIndex = b.config.chart.zoom.startIndex : a.chart.zoom.startIndex = null, b.config && Ne(b.config, "chart.zoom.endIndex") ? a.chart.zoom.endIndex = b.config.chart.zoom.endIndex : a.chart.zoom.endIndex = null, b.config && Ne(b.config, "chart.grid.labels.yAxis.groupColor") ? a.chart.grid.labels.yAxis.groupColor = b.config.chart.grid.labels.yAxis.groupColor : a.chart.grid.labels.yAxis.groupColor = null, b.config && b.config.chart.annotations && Array.isArray(b.config.chart.annotations) && b.config.chart.annotations.length ? a.chart.annotations = b.config.chart.annotations.map((c) => aa({
110
110
  defaultConfig: Nl.chart.annotations[0],
111
111
  userConfig: c
112
- })) : a.chart.annotations = [], m.config && Ne(m.config, "chart.grid.position") && m.config.chart.grid.position === "start" && m.dataset.length && m.dataset.some((c) => c.type === "bar") && (a.chart.grid.position = "middle", Ne(m.config, "debug") && console.warn("Vue Data UI - VueUiXy - config.chart.grid.position was overriden to `middle` because your dataset contains a bar")), m.config && Ne(m.config, "chart.grid.labels.yAxis.serieNameFormatter") ? a.chart.grid.labels.yAxis.serieNameFormatter = m.config.chart.grid.labels.yAxis.serieNameFormatter : a.chart.grid.labels.yAxis.serieNameFormatter = null, a.theme ? {
112
+ })) : a.chart.annotations = [], b.config && Ne(b.config, "chart.grid.position") && b.config.chart.grid.position === "start" && b.dataset.length && b.dataset.some((c) => c.type === "bar") && (a.chart.grid.position = "middle", Ne(b.config, "debug") && console.warn("Vue Data UI - VueUiXy - config.chart.grid.position was overriden to `middle` because your dataset contains a bar")), b.config && Ne(b.config, "chart.grid.labels.yAxis.serieNameFormatter") ? a.chart.grid.labels.yAxis.serieNameFormatter = b.config.chart.grid.labels.yAxis.serieNameFormatter : a.chart.grid.labels.yAxis.serieNameFormatter = null, a.theme ? {
113
113
  ...aa({
114
- userConfig: eo.vue_ui_xy[a.theme] || m.config,
114
+ userConfig: eo.vue_ui_xy[a.theme] || b.config,
115
115
  defaultConfig: a
116
116
  }),
117
- customPalette: jt[a.theme] || m.palette
117
+ customPalette: jt[a.theme] || b.palette
118
118
  } : a;
119
119
  }
120
120
  const Wl = $({
121
121
  get() {
122
- return !!m.dataset && m.dataset.length;
122
+ return !!b.dataset && b.dataset.length;
123
123
  },
124
124
  set(a) {
125
125
  return a;
126
126
  }
127
- }), l = w(El()), { loading: Xl, FINAL_DATASET: me, manualLoading: wl } = no({
128
- ...Pt(m),
127
+ }), l = w(El()), { loading: Xl, FINAL_DATASET: be, manualLoading: wl } = no({
128
+ ...Pt(b),
129
129
  FINAL_CONFIG: l,
130
130
  prepareConfig: El,
131
131
  callback: () => {
@@ -207,7 +207,7 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
207
207
  }
208
208
  })
209
209
  }), Ve = $({
210
- get: () => Math.max(...me.value.map((a) => Ye({ data: a.series, threshold: nt }).length)),
210
+ get: () => Math.max(...be.value.map((a) => Ye({ data: a.series, threshold: nt }).length)),
211
211
  set: (a) => a
212
212
  }), S = w({ start: 0, end: Ve.value }), { isPrinting: Gl, isImaging: ca, generatePdf: va, generateImage: da } = io({
213
213
  elementId: `vue-ui-xy_${U.value}`,
@@ -218,7 +218,7 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
218
218
  return l.value.chart.grid.labels.yAxis.scaleMin;
219
219
  const a = Math.min(...Ie.value.filter((c) => !te.value.includes(c.id)).map((c) => Math.min(...c.series)));
220
220
  return a > 0 ? 0 : a;
221
- }), ye = $(() => l.value.chart.grid.labels.yAxis.useNiceScale ? ml(Dl.value, Sl.value < 0 ? 0 : Sl.value, l.value.chart.grid.labels.yAxis.commonScaleSteps) : Ke(Dl.value, Sl.value < 0 ? 0 : Sl.value, l.value.chart.grid.labels.yAxis.commonScaleSteps)), cl = $(() => [null, void 0].includes(l.value.chart.grid.labels.yAxis.scaleMin) ? ye.value.min >= 0 ? 0 : Math.abs(ye.value.min) : -ye.value.min), Ie = $(() => oa.value ? me.value.map((a, c) => {
221
+ }), ye = $(() => l.value.chart.grid.labels.yAxis.useNiceScale ? bl(Dl.value, Sl.value < 0 ? 0 : Sl.value, l.value.chart.grid.labels.yAxis.commonScaleSteps) : Ke(Dl.value, Sl.value < 0 ? 0 : Sl.value, l.value.chart.grid.labels.yAxis.commonScaleSteps)), cl = $(() => [null, void 0].includes(l.value.chart.grid.labels.yAxis.scaleMin) ? ye.value.min >= 0 ? 0 : Math.abs(ye.value.min) : -ye.value.min), Ie = $(() => oa.value ? be.value.map((a, c) => {
222
222
  const e = Ye({
223
223
  data: a.series,
224
224
  threshold: l.value.downsample.threshold
@@ -231,7 +231,7 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
231
231
  id: s,
232
232
  scaleLabel: a.scaleLabel || s
233
233
  };
234
- }) : me.value), Te = $(() => Ie.value.map((a, c) => ({
234
+ }) : be.value), Te = $(() => Ie.value.map((a, c) => ({
235
235
  absoluteIndex: c,
236
236
  ...a,
237
237
  series: a.series.map((e) => e + cl.value),
@@ -270,16 +270,16 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
270
270
  Vl.value && (a = Vl.value.getBBox().height);
271
271
  let c = 0;
272
272
  return ll.value && (c = ql.value), a + c + x.value.xAxis;
273
- }), ht = $(() => me.value.some((a) => a.useProgression)), n = $(() => {
273
+ }), ht = $(() => be.value.some((a) => a.useProgression)), n = $(() => {
274
274
  let a = 0;
275
275
  const c = 36;
276
- l.value.chart.grid.labels.show && (f.value.useIndividualScale && !f.value.isStacked ? a = (me.value.length - te.value.length) * (l.value.chart.grid.labels.yAxis.labelWidth + c) : f.value.useIndividualScale && f.value.isStacked ? a = l.value.chart.grid.labels.yAxis.labelWidth + c : a = vt());
276
+ l.value.chart.grid.labels.show && (f.value.useIndividualScale && !f.value.isStacked ? a = (be.value.length - te.value.length) * (l.value.chart.grid.labels.yAxis.labelWidth + c) : f.value.useIndividualScale && f.value.isStacked ? a = l.value.chart.grid.labels.yAxis.labelWidth + c : a = vt());
277
277
  const e = l.value.chart.labels.fontSize * 1.1, s = ht.value ? 24 : 6;
278
278
  if (ll.value) {
279
279
  const o = ll.value.getBBox().x;
280
280
  o < 0 && (a += Math.abs(o));
281
281
  }
282
- const t = ae.value - a - l.value.chart.grid.labels.yAxis.crosshairSize - s - l.value.chart.padding.left - l.value.chart.padding.right, r = l.value.chart.grid.position === "middle" ? 0 : t / b.value / 2;
282
+ const t = ae.value - a - l.value.chart.grid.labels.yAxis.crosshairSize - s - l.value.chart.padding.left - l.value.chart.padding.right, r = l.value.chart.grid.position === "middle" ? 0 : t / m.value / 2;
283
283
  return {
284
284
  top: l.value.chart.padding.top + e,
285
285
  right: ae.value - s - l.value.chart.padding.right,
@@ -291,9 +291,9 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
291
291
  individualOffsetX: c
292
292
  };
293
293
  }), ft = $(() => {
294
- const a = l.value.chart.grid.position === "middle" ? 1 : 0, c = b.value + a, e = R(n.value.top), s = R(n.value.bottom);
294
+ const a = l.value.chart.grid.position === "middle" ? 1 : 0, c = m.value + a, e = R(n.value.top), s = R(n.value.bottom);
295
295
  return Array.from({ length: c }).map((t, r) => {
296
- const o = n.value.width / b.value * r + n.value.left + G.value;
296
+ const o = n.value.width / m.value * r + n.value.left + G.value;
297
297
  return `M${o},${e} L${o},${s}`;
298
298
  }).join(" ");
299
299
  }), gt = $(() => {
@@ -306,10 +306,10 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
306
306
  } = l.value.chart.grid.labels.xAxisLabels, s = le.value.length ? Math.min(e, [...new Set(le.value.map((r) => r.text))]) : e, t = Math.floor((S.value.end - S.value.start) / s);
307
307
  return le.value.map((r, o) => {
308
308
  if (!r) return null;
309
- const B = a && b.value <= s, F = !c && !a, E = c && !a && (o === 0 || o === le.value.length - 1), L = c && !a && k.value === o, C = !c && a && o % t === 0;
309
+ const B = a && m.value <= s, F = !c && !a, E = c && !a && (o === 0 || o === le.value.length - 1), L = c && !a && k.value === o, C = !c && a && o % t === 0;
310
310
  if (!(B || F || E || L || C))
311
311
  return null;
312
- const Y = n.value.width / b.value, _ = n.value.left + Y * o + Y / 2, N = l.value.chart.grid.labels.xAxis.crosshairSize, A = l.value.chart.grid.labels.xAxis.crosshairsAlwaysAtZero, J = A ? ie.value - (ie.value === n.value.bottom ? 0 : N / 2) : n.value.bottom, oe = A ? ie.value + N / (ie.value === n.value.bottom ? 1 : 2) : n.value.bottom + N;
312
+ const Y = n.value.width / m.value, _ = n.value.left + Y * o + Y / 2, N = l.value.chart.grid.labels.xAxis.crosshairSize, A = l.value.chart.grid.labels.xAxis.crosshairsAlwaysAtZero, J = A ? ie.value - (ie.value === n.value.bottom ? 0 : N / 2) : n.value.bottom, oe = A ? ie.value + N / (ie.value === n.value.bottom ? 1 : 2) : n.value.bottom + N;
313
313
  return `M${_},${J} L${_},${oe}`;
314
314
  }).filter((r) => r !== null).join(" ");
315
315
  });
@@ -331,14 +331,14 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
331
331
  e && (Ce.value[`${a}_${c}_${s}_${t}`] = e);
332
332
  }
333
333
  const Ul = w(!1);
334
- async function ba(a = !1) {
335
- await bl(), Ul.value = a, na.value && (kl.value = a);
334
+ async function ma(a = !1) {
335
+ await ml(), Ul.value = a, na.value && (kl.value = a);
336
336
  }
337
337
  function Zl() {
338
338
  pl.value = !pl.value;
339
339
  }
340
340
  const le = $(() => {
341
- const a = Math.max(...me.value.map((c) => Ye({ data: c.series, threshold: l.value.downsample.threshold }).length));
341
+ const a = Math.max(...be.value.map((c) => Ye({ data: c.series, threshold: l.value.downsample.threshold }).length));
342
342
  return to({
343
343
  values: l.value.chart.grid.labels.xAxisLabels.values,
344
344
  maxDatapoints: a,
@@ -350,7 +350,7 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
350
350
  const a = l.value.chart.grid.labels.xAxisLabels.modulo;
351
351
  return le.value.length ? Math.min(a, [...new Set(le.value.map((c) => c.text))].length) : a;
352
352
  });
353
- function ma(a, c) {
353
+ function ba(a, c) {
354
354
  const e = pe.value.map((s) => ({
355
355
  shape: s.shape || null,
356
356
  name: s.name,
@@ -367,8 +367,8 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
367
367
  label: a.text
368
368
  });
369
369
  }
370
- const b = $(() => S.value.end - S.value.start);
371
- function bt(a) {
370
+ const m = $(() => S.value.end - S.value.start);
371
+ function mt(a) {
372
372
  O.value = a;
373
373
  }
374
374
  function ya() {
@@ -377,20 +377,20 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
377
377
  function Jl(a) {
378
378
  hl.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`));
379
379
  }
380
- function mt(a, c) {
380
+ function bt(a, c) {
381
381
  let e = Array(a).fill(0);
382
382
  for (let s = 0; s < c.length && s < a; s += 1)
383
383
  e[s] = c[s];
384
384
  return e;
385
385
  }
386
386
  function yt(a) {
387
- const c = Math.max(...me.value.map((e) => Ye({ data: e.series, threshold: l.value.downsample.threshold }).length));
387
+ const c = Math.max(...be.value.map((e) => Ye({ data: e.series, threshold: l.value.downsample.threshold }).length));
388
388
  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;
389
389
  }
390
390
  async function Kl() {
391
- (l.value.chart.zoom.startIndex !== null || l.value.chart.zoom.endIndex !== null) && Se.value ? (l.value.chart.zoom.startIndex !== null && (await bl(), await bl(), Se.value.setStartValue(l.value.chart.zoom.startIndex)), l.value.chart.zoom.endIndex !== null && (await bl(), await bl(), Se.value.setEndValue(yt(l.value.chart.zoom.endIndex + 1)))) : (S.value = {
391
+ (l.value.chart.zoom.startIndex !== null || l.value.chart.zoom.endIndex !== null) && Se.value ? (l.value.chart.zoom.startIndex !== null && (await ml(), await ml(), Se.value.setStartValue(l.value.chart.zoom.startIndex)), l.value.chart.zoom.endIndex !== null && (await ml(), await ml(), Se.value.setEndValue(yt(l.value.chart.zoom.endIndex + 1)))) : (S.value = {
392
392
  start: 0,
393
- end: Math.max(...me.value.map((a) => Ye({ data: a.series, threshold: l.value.downsample.threshold }).length))
393
+ end: Math.max(...be.value.map((a) => Ye({ data: a.series, threshold: l.value.downsample.threshold }).length))
394
394
  }, Bl.value += 1);
395
395
  }
396
396
  function pt() {
@@ -412,15 +412,15 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
412
412
  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);
413
413
  }
414
414
  const Z = $(() => ({
415
- bar: n.value.width / b.value / Ie.value.filter((a) => a.type === "bar").filter((a) => !te.value.includes(a.id)).length,
416
- plot: n.value.width / b.value,
417
- line: n.value.width / b.value
415
+ bar: n.value.width / m.value / Ie.value.filter((a) => a.type === "bar").filter((a) => !te.value.includes(a.id)).length,
416
+ plot: n.value.width / m.value,
417
+ line: n.value.width / m.value
418
418
  }));
419
419
  function ke() {
420
- return f.value.useIndividualScale && f.value.isStacked ? Z.value.line - n.value.width / b.value * 0.1 : Z.value.bar;
420
+ return f.value.useIndividualScale && f.value.isStacked ? Z.value.line - n.value.width / m.value * 0.1 : Z.value.bar;
421
421
  }
422
422
  function Al(a) {
423
- return f.value.useIndividualScale && f.value.isStacked ? a.x + n.value.width / b.value * 0.05 : a.x + Z.value.bar / 2;
423
+ return f.value.useIndividualScale && f.value.isStacked ? a.x + n.value.width / m.value * 0.05 : a.x + Z.value.bar / 2;
424
424
  }
425
425
  function wa(a) {
426
426
  return a.value >= 0 ? a.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(ie.value) ? n.bottom.value : ie.value;
@@ -481,7 +481,7 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
481
481
  const a = l.value.chart.title.text || "Chart visualization", c = l.value.chart.title.subtitle.text || "";
482
482
  return `${a}. ${c}`;
483
483
  }), La = $(() => ({
484
- linePlot: b.value > l.value.line.dot.hideAboveMaxSerieLength
484
+ linePlot: m.value > l.value.line.dot.hideAboveMaxSerieLength
485
485
  })), $t = $(() => l.value.chart.userOptions.show && (!l.value.chart.title.show || !l.value.chart.title.text)), Lt = $(() => {
486
486
  if (Array.isArray(l.value.chart.highlightArea))
487
487
  return l.value.chart.highlightArea.map((c) => {
@@ -496,20 +496,20 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
496
496
  to: Math.min(l.value.chart.highlightArea.to, Ve.value - 1)
497
497
  };
498
498
  return [{ ...a, span: a.from === a.to ? 1 : a.to < a.from ? 0 : a.to - a.from + 1 }];
499
- }), At = $(() => oa.value ? me.value.map((a, c) => ({
499
+ }), At = $(() => oa.value ? be.value.map((a, c) => ({
500
500
  ...a,
501
501
  series: Ye({
502
502
  data: a.series,
503
503
  threshold: l.value.downsample.threshold
504
504
  }),
505
505
  id: `uniqueId_${c}`
506
- })) : me.value), Mt = $(() => pe.value.map((a) => {
506
+ })) : be.value), Mt = $(() => pe.value.map((a) => {
507
507
  const c = a.absoluteValues.map((e) => [void 0, null].includes(e) ? 0 : e);
508
508
  return {
509
509
  id: a.id,
510
510
  name: a.name,
511
511
  color: a.color,
512
- values: mt(b.value, c)
512
+ values: bt(m.value, c)
513
513
  };
514
514
  })), zt = $(() => ({
515
515
  responsiveBreakpoint: l.value.table.responsiveBreakpoint,
@@ -534,7 +534,7 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
534
534
  userOptions: {
535
535
  show: !1
536
536
  }
537
- })), G = $(() => l.value.chart.grid.position === "middle" ? 0 : n.value.width / b.value / 2), De = $(() => qt(Te.value.filter((a) => !te.value.includes(a.id)))), p = $(() => {
537
+ })), G = $(() => l.value.chart.grid.position === "middle" ? 0 : n.value.width / m.value / 2), De = $(() => qt(Te.value.filter((a) => !te.value.includes(a.id)))), p = $(() => {
538
538
  const a = Object.groupBy(De.value, (e) => e.scaleLabel), c = {};
539
539
  for (const [e, s] of Object.entries(a)) {
540
540
  const t = s.flatMap((r) => r.absoluteValues);
@@ -547,7 +547,7 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
547
547
  return c;
548
548
  }), Ct = $(() => {
549
549
  const a = Ie.value.filter((c) => c.type === "bar").filter((c) => !te.value.includes(c.id)).length;
550
- return n.value.width / b.value / a - Oe.value * a;
550
+ return n.value.width / m.value / a - Oe.value * a;
551
551
  }), Oe = $(() => Z.value.line * l.value.bar.periodGap), It = $(() => {
552
552
  if (!l.value.chart.zoom.minimap.show) return [];
553
553
  const a = At.value.filter((t) => !te.value.includes(t.id)), c = Math.max(...a.map((t) => t.series.length)), e = [];
@@ -624,8 +624,8 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
624
624
  }, C = {
625
625
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
626
626
  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)))
627
- }, Y = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, N = l.value.chart.grid.labels.yAxis.useNiceScale ? ml(C.min, C.max === C.min ? C.max * _ : C.max, Y) : Ke(C.min, C.max === C.min ? C.max * _ : C.max, Y), A = l.value.chart.grid.labels.yAxis.useNiceScale ? ml(L.valueMin, L.valueMax === L.valueMin ? L.valueMax * _ : L.valueMax, Y) : Ke(L.valueMin, L.valueMax === L.valueMin ? L.valueMax * _ : L.valueMax, Y), J = N.min >= 0 ? 0 : Math.abs(N.min), oe = 0, D = N.max + J, ge = A.max + Math.abs(oe), Ae = o.stackIndex, tl = c - 1 - Ae, de = s ? 1 - o.cumulatedStackRatio : 0, P = s ? r * de + e * tl : 0, H = s ? r * o.stackRatio : n.value.height, K = n.value.bottom - P - H * J / D, he = n.value.bottom - P - H * oe / ge, ne = Te.value.filter((V) => V.type === "bar").filter((V) => !te.value.includes(V.id)).length, fl = o.series.map((V, j) => {
628
- const Re = f.value.useIndividualScale ? (o.absoluteValues[j] + J) / D : Ge(V), qe = f.value.useIndividualScale && f.value.isStacked ? n.value.left + n.value.width / b.value * j : n.value.left + Z.value.bar * B + Z.value.bar * j * ne - Ct.value / 2 - B * Oe.value;
627
+ }, Y = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, N = l.value.chart.grid.labels.yAxis.useNiceScale ? bl(C.min, C.max === C.min ? C.max * _ : C.max, Y) : Ke(C.min, C.max === C.min ? C.max * _ : C.max, Y), A = l.value.chart.grid.labels.yAxis.useNiceScale ? bl(L.valueMin, L.valueMax === L.valueMin ? L.valueMax * _ : L.valueMax, Y) : Ke(L.valueMin, L.valueMax === L.valueMin ? L.valueMax * _ : L.valueMax, Y), J = N.min >= 0 ? 0 : Math.abs(N.min), oe = 0, D = N.max + J, ge = A.max + Math.abs(oe), Ae = o.stackIndex, tl = c - 1 - Ae, de = s ? 1 - o.cumulatedStackRatio : 0, P = s ? r * de + e * tl : 0, H = s ? r * o.stackRatio : n.value.height, K = n.value.bottom - P - H * J / D, he = n.value.bottom - P - H * oe / ge, ne = Te.value.filter((V) => V.type === "bar").filter((V) => !te.value.includes(V.id)).length, fl = o.series.map((V, j) => {
628
+ const Re = f.value.useIndividualScale ? (o.absoluteValues[j] + J) / D : Ge(V), qe = f.value.useIndividualScale && f.value.isStacked ? n.value.left + n.value.width / m.value * j : n.value.left + Z.value.bar * B + Z.value.bar * j * ne - Ct.value / 2 - B * Oe.value;
629
629
  return {
630
630
  yOffset: T(P),
631
631
  individualHeight: T(H),
@@ -637,7 +637,7 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
637
637
  comment: o.comments && o.comments.slice(S.value.start, S.value.end)[j] || ""
638
638
  };
639
639
  }), ce = o.absoluteValues.map((V) => A.min >= 0 ? (V - Math.abs(A.min)) / (A.max - Math.abs(A.min)) : (V + Math.abs(A.min)) / (A.max + Math.abs(A.min))), He = o.series.map((V, j) => {
640
- const Re = f.value.useIndividualScale && f.value.isStacked ? n.value.left + n.value.width / b.value * j : n.value.left - Z.value.bar / 2 + Z.value.bar * B + Z.value.bar * j * Te.value.filter((qe) => qe.type === "bar").filter((qe) => !te.value.includes(qe.id)).length;
640
+ const Re = f.value.useIndividualScale && f.value.isStacked ? n.value.left + n.value.width / m.value * j : n.value.left - Z.value.bar / 2 + Z.value.bar * B + Z.value.bar * j * Te.value.filter((qe) => qe.type === "bar").filter((qe) => !te.value.includes(qe.id)).length;
641
641
  return {
642
642
  yOffset: T(P),
643
643
  individualHeight: T(H),
@@ -689,7 +689,7 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
689
689
  }, C = {
690
690
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
691
691
  min: o.scaleMin || (Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues))
692
- }, Y = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, N = l.value.chart.grid.labels.yAxis.useNiceScale ? ml(C.min, C.max === C.min ? C.max * _ : C.max, Y) : Ke(C.min, C.max === C.min ? C.max * _ : C.max, Y), A = l.value.chart.grid.labels.yAxis.useNiceScale ? ml(L.valueMin, L.valueMax === L.valueMin ? L.valueMax * _ : L.valueMax, Y) : Ke(L.valueMin, L.valueMax === L.valueMin ? L.valueMax * _ : L.valueMax, Y), J = N.min >= 0 ? 0 : Math.abs(N.min), oe = 0, D = N.max + Math.abs(J), ge = A.max + Math.abs(oe), Ae = o.stackIndex, tl = c - 1 - Ae, de = s ? 1 - o.cumulatedStackRatio : 0, P = s ? r * de + e * tl : 0, H = s ? r * o.stackRatio : n.value.height, K = n.value.bottom - P - H * J / D, he = n.value.bottom - P - H * oe / ge, ne = o.series.map((I, se) => {
692
+ }, Y = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, N = l.value.chart.grid.labels.yAxis.useNiceScale ? bl(C.min, C.max === C.min ? C.max * _ : C.max, Y) : Ke(C.min, C.max === C.min ? C.max * _ : C.max, Y), A = l.value.chart.grid.labels.yAxis.useNiceScale ? bl(L.valueMin, L.valueMax === L.valueMin ? L.valueMax * _ : L.valueMax, Y) : Ke(L.valueMin, L.valueMax === L.valueMin ? L.valueMax * _ : L.valueMax, Y), J = N.min >= 0 ? 0 : Math.abs(N.min), oe = 0, D = N.max + Math.abs(J), ge = A.max + Math.abs(oe), Ae = o.stackIndex, tl = c - 1 - Ae, de = s ? 1 - o.cumulatedStackRatio : 0, P = s ? r * de + e * tl : 0, H = s ? r * o.stackRatio : n.value.height, K = n.value.bottom - P - H * J / D, he = n.value.bottom - P - H * oe / ge, ne = o.series.map((I, se) => {
693
693
  const Ot = f.value.useIndividualScale ? (o.absoluteValues[se] + Math.abs(J)) / D : Ge(I);
694
694
  return {
695
695
  x: T(n.value.left + Z.value.line / 2 + Z.value.line * se),
@@ -973,7 +973,7 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
973
973
  let c = [""].concat(pe.value.map((r) => r.name));
974
974
  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>'));
975
975
  let e = [];
976
- for (let r = 0; r < b.value; r += 1) {
976
+ for (let r = 0; r < m.value; r += 1) {
977
977
  const o = pe.value.map((B) => B.absoluteValues[r] ?? 0).reduce((B, F) => B + F, 0);
978
978
  e.push(
979
979
  [
@@ -1071,11 +1071,11 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
1071
1071
  }
1072
1072
  const hl = $(() => !!l.value.debug);
1073
1073
  function Ra() {
1074
- Ua(m.dataset) ? (la({
1074
+ Ua(b.dataset) ? (la({
1075
1075
  componentName: "VueUiXy",
1076
1076
  type: "dataset",
1077
1077
  debug: hl.value
1078
- }), wl.value = !0) : m.dataset.forEach((c, e) => {
1078
+ }), wl.value = !0) : b.dataset.forEach((c, e) => {
1079
1079
  [null, void 0].includes(c.name) && (la({
1080
1080
  componentName: "VueUiXy",
1081
1081
  type: "datasetSerieAttribute",
@@ -1083,13 +1083,13 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
1083
1083
  index: e,
1084
1084
  debug: hl.value
1085
1085
  }), wl.value = !0);
1086
- }), hl.value && m.dataset.forEach((c) => {
1086
+ }), hl.value && b.dataset.forEach((c) => {
1087
1087
  c.series.forEach((e, s) => {
1088
1088
  zl(e) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
1089
1089
  -----> The serie '${c.name}' contains the value '${e}' at index ${s}.
1090
1090
  '${e}' was converted to null to allow the chart to display.`);
1091
1091
  });
1092
- }), Ua(m.dataset) || (wl.value = l.value.loading), na.value = l.value.chart.userOptions.showOnChartHover, Fl.value = l.value.chart.userOptions.keepStateOnChartLeave, kl.value = !l.value.chart.userOptions.showOnChartHover, f.value = {
1092
+ }), Ua(b.dataset) || (wl.value = l.value.loading), na.value = l.value.chart.userOptions.showOnChartHover, Fl.value = l.value.chart.userOptions.keepStateOnChartLeave, kl.value = !l.value.chart.userOptions.showOnChartHover, f.value = {
1093
1093
  dataLabels: {
1094
1094
  show: !0
1095
1095
  },
@@ -1140,15 +1140,15 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
1140
1140
  rotationPath: ["chart", "grid", "labels", "xAxisLabels", "rotation"],
1141
1141
  autoRotatePath: ["chart", "grid", "labels", "xAxisLabels", "autoRotate"],
1142
1142
  isAutoSize: ct
1143
- }), Ql(() => m.dataset, (a) => {
1144
- Array.isArray(a) && a.length > 0 && (wl.value = !1), Ve.value = Math.max(...me.value.map((c) => Ye({
1143
+ }), Ql(() => b.dataset, (a) => {
1144
+ Array.isArray(a) && a.length > 0 && (wl.value = !1), Ve.value = Math.max(...be.value.map((c) => Ye({
1145
1145
  data: c.series,
1146
1146
  threshold: l.value.downsample.threshold
1147
1147
  }).length)), S.value = {
1148
1148
  start: 0,
1149
1149
  end: Ve.value
1150
1150
  }, Bl.value += 1, Yl.value += 1;
1151
- }, { deep: !0 }), Ql(() => m.config, (a) => {
1151
+ }, { deep: !0 }), Ql(() => b.config, (a) => {
1152
1152
  Xl.value || (l.value = El()), Ra(), ia.value += 1, ra.value += 1, f.value = {
1153
1153
  dataLabels: {
1154
1154
  show: !0
@@ -1186,12 +1186,12 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
1186
1186
  ref_key: "chart",
1187
1187
  ref: je,
1188
1188
  style: z(`background:${l.value.chart.backgroundColor}; color:${l.value.chart.color};width:100%;font-family:${l.value.chart.fontFamily};${l.value.responsive ? "height: 100%" : ""}`),
1189
- onMouseenter: c[7] || (c[7] = () => ba(!0)),
1190
- onMouseleave: c[8] || (c[8] = () => ba(!1))
1189
+ onMouseenter: c[7] || (c[7] = () => ma(!0)),
1190
+ onMouseleave: c[8] || (c[8] = () => ma(!1))
1191
1191
  }, [
1192
- l.value.chart.userOptions.buttons.annotator && be.value ? (u(), Me(v(ot), {
1192
+ l.value.chart.userOptions.buttons.annotator && me.value ? (u(), Me(v(ot), {
1193
1193
  key: 0,
1194
- svgRef: be.value,
1194
+ svgRef: me.value,
1195
1195
  backgroundColor: l.value.chart.backgroundColor,
1196
1196
  color: l.value.chart.color,
1197
1197
  active: pl.value,
@@ -1337,7 +1337,7 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
1337
1337
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasLabel", "hasTable", "hasStack", "hasFullscreen", "isStacked", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
1338
1338
  (u(), i("svg", {
1339
1339
  ref_key: "svgRef",
1340
- ref: be,
1340
+ ref: me,
1341
1341
  xmlns: "http://www.w3.org/2000/svg",
1342
1342
  class: Ue([{ "vue-data-ui-fullscreen--on": al.value, "vue-data-ui-fulscreen--off": !al.value }, "vue-ui-xy-svg vue-data-ui-svg"]),
1343
1343
  width: "100%",
@@ -1362,7 +1362,7 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
1362
1362
  key: 0,
1363
1363
  x: n.value.left + G.value < 0 ? 0 : n.value.left + G.value,
1364
1364
  y: n.value.top,
1365
- width: n.value.width - (l.value.chart.grid.position === "middle" ? 0 : n.value.width / b.value) < 0 ? 0 : n.value.width - (l.value.chart.grid.position === "middle" ? 0 : n.value.width / b.value),
1365
+ width: n.value.width - (l.value.chart.grid.position === "middle" ? 0 : n.value.width / m.value) < 0 ? 0 : n.value.width - (l.value.chart.grid.position === "middle" ? 0 : n.value.width / m.value),
1366
1366
  height: n.value.height < 0 ? 0 : n.value.height,
1367
1367
  style: {
1368
1368
  pointerEvents: "none"
@@ -1370,8 +1370,8 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
1370
1370
  }, [
1371
1371
  q(a.$slots, "chart-background", {}, void 0, !0)
1372
1372
  ], 8, xo)) : d("", !0),
1373
- b.value > 0 ? (u(), i("g", bo, [
1374
- g("g", mo, [
1373
+ m.value > 0 ? (u(), i("g", mo, [
1374
+ g("g", bo, [
1375
1375
  l.value.chart.grid.labels.xAxis.showBaseline ? (u(), i("line", {
1376
1376
  key: 0,
1377
1377
  stroke: l.value.chart.grid.stroke,
@@ -1553,24 +1553,24 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
1553
1553
  transition: "none",
1554
1554
  opacity: e.from + t >= S.value.start && e.from + t <= S.value.end - 1 ? 1 : 0
1555
1555
  }),
1556
- x: n.value.left + n.value.width / b.value * (e.from + t - S.value.start),
1556
+ x: n.value.left + n.value.width / m.value * (e.from + t - S.value.start),
1557
1557
  y: n.value.top,
1558
1558
  height: n.value.height < 0 ? 10 : n.value.height,
1559
- width: n.value.width / b.value < 0 ? 1e-5 : n.value.width / b.value,
1559
+ width: n.value.width / m.value < 0 ? 1e-5 : n.value.width / m.value,
1560
1560
  fill: v(we)(e.color, e.opacity)
1561
1561
  }, null, 12, Do)
1562
1562
  ]))), 256)),
1563
1563
  (u(!0), i(h, null, y(e.span, (s, t) => (u(), i("g", null, [
1564
1564
  e.caption.text && t === 0 ? (u(), i("foreignObject", {
1565
1565
  key: 0,
1566
- x: n.value.left + n.value.width / b.value * (e.from + t - S.value.start) - (e.caption.width === "auto" ? 0 : e.caption.width / 2 - n.value.width / b.value * e.span / 2),
1566
+ x: n.value.left + n.value.width / m.value * (e.from + t - S.value.start) - (e.caption.width === "auto" ? 0 : e.caption.width / 2 - n.value.width / m.value * e.span / 2),
1567
1567
  y: n.value.top + e.caption.offsetY,
1568
1568
  style: z({
1569
1569
  overflow: "visible",
1570
1570
  opacity: e.to >= S.value.start && e.from < S.value.end ? 1 : 0
1571
1571
  }),
1572
1572
  height: "1",
1573
- width: e.caption.width === "auto" ? n.value.width / b.value * e.span : e.caption.width
1573
+ width: e.caption.width === "auto" ? n.value.width / m.value * e.span : e.caption.width
1574
1574
  }, [
1575
1575
  g("div", {
1576
1576
  style: z(`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,14 +1580,14 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
1580
1580
  ], 64)) : d("", !0)
1581
1581
  ]))), 256)),
1582
1582
  Ul.value ? (u(), i("g", Uo, [
1583
- (u(!0), i(h, null, y(b.value, (e, s) => (u(), i("g", {
1583
+ (u(!0), i(h, null, y(m.value, (e, s) => (u(), i("g", {
1584
1584
  key: `tooltip_trap_highlighter_${s}`
1585
1585
  }, [
1586
1586
  g("rect", {
1587
- x: n.value.left + n.value.width / b.value * s,
1587
+ x: n.value.left + n.value.width / m.value * s,
1588
1588
  y: n.value.top,
1589
1589
  height: n.value.height < 0 ? 10 : n.value.height,
1590
- width: n.value.width / b.value < 0 ? 1e-5 : n.value.width / b.value,
1590
+ width: n.value.width / m.value < 0 ? 1e-5 : n.value.width / m.value,
1591
1591
  fill: [O.value, k.value, Xe.value].includes(s) ? v(we)(l.value.chart.highlighter.color, l.value.chart.highlighter.opacity) : "transparent"
1592
1592
  }, null, 8, Zo)
1593
1593
  ]))), 128))
@@ -1690,8 +1690,8 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
1690
1690
  }, null, 8, os)) : d("", !0),
1691
1691
  l.value.chart.highlighter.useLine && (![null, void 0].includes(k.value) || ![null, void 0].includes(O.value)) ? (u(), i("g", ss, [
1692
1692
  g("line", {
1693
- x1: n.value.left + n.value.width / b.value * ((k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)) + n.value.width / b.value / 2,
1694
- x2: n.value.left + n.value.width / b.value * ((k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)) + n.value.width / b.value / 2,
1693
+ x1: n.value.left + n.value.width / m.value * ((k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)) + n.value.width / m.value / 2,
1694
+ x2: n.value.left + n.value.width / m.value * ((k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)) + n.value.width / m.value / 2,
1695
1695
  y1: v(R)(n.value.top),
1696
1696
  y2: v(R)(n.value.bottom),
1697
1697
  stroke: l.value.chart.highlighter.color,
@@ -1706,7 +1706,7 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
1706
1706
  style: { pointerEvents: "none", transition: "none", animation: "none !important" },
1707
1707
  x: n.value.left + G.value < 0 ? 0 : n.value.left + G.value,
1708
1708
  y: n.value.top,
1709
- width: n.value.width - (l.value.chart.grid.position === "middle" ? 0 : n.value.width / b.value) < 0 ? 0 : n.value.width - (l.value.chart.grid.position === "middle" ? 0 : n.value.width / b.value),
1709
+ width: n.value.width - (l.value.chart.grid.position === "middle" ? 0 : n.value.width / m.value) < 0 ? 0 : n.value.width - (l.value.chart.grid.position === "middle" ? 0 : n.value.width / m.value),
1710
1710
  height: n.value.height < 0 ? 0 : n.value.height,
1711
1711
  fill: "transparent",
1712
1712
  stroke: l.value.chart.grid.frame.stroke,
@@ -1852,8 +1852,8 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
1852
1852
  g("polygon", {
1853
1853
  points: `0 0, 7 ${7 / 2}, 0 7`,
1854
1854
  fill: e.color
1855
- }, null, 8, ms)
1856
- ], 8, bs)
1855
+ }, null, 8, bs)
1856
+ ], 8, ms)
1857
1857
  ]),
1858
1858
  e.plots.length > 1 ? (u(), i("line", {
1859
1859
  key: 0,
@@ -1915,22 +1915,24 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
1915
1915
  }, [
1916
1916
  e.useArea && e.plots.length > 1 ? (u(), i("g", Ss, [
1917
1917
  e.smooth ? (u(!0), i(h, { key: 0 }, y(e.curveAreas, (t, r) => (u(), i(h, { key: r }, [
1918
- g("path", {
1918
+ t ? (u(), i("path", {
1919
+ key: 0,
1919
1920
  d: t,
1920
1921
  fill: l.value.line.area.useGradient ? `url(#areaGradient_${s}_${U.value})` : v(we)(e.color, l.value.line.area.opacity)
1921
- }, null, 8, $s),
1922
- a.$slots.pattern ? (u(), i("path", {
1923
- key: 0,
1922
+ }, null, 8, $s)) : d("", !0),
1923
+ a.$slots.pattern && t ? (u(), i("path", {
1924
+ key: 1,
1924
1925
  d: t,
1925
1926
  fill: `url(#pattern_${U.value}_${e.slotAbsoluteIndex})`
1926
1927
  }, null, 8, Ls)) : d("", !0)
1927
1928
  ], 64))), 128)) : (u(!0), i(h, { key: 1 }, y(e.area.split(";"), (t, r) => (u(), i(h, { key: r }, [
1928
- g("path", {
1929
+ t ? (u(), i("path", {
1930
+ key: 0,
1929
1931
  d: `M${t}Z`,
1930
1932
  fill: l.value.line.area.useGradient ? `url(#areaGradient_${s}_${U.value})` : v(we)(e.color, l.value.line.area.opacity)
1931
- }, null, 8, As),
1932
- a.$slots.pattern ? (u(), i("path", {
1933
- key: 0,
1933
+ }, null, 8, As)) : d("", !0),
1934
+ a.$slots.pattern && t ? (u(), i("path", {
1935
+ key: 1,
1934
1936
  d: `M${t}Z`,
1935
1937
  fill: `url(#pattern_${U.value}_${e.slotAbsoluteIndex})`
1936
1938
  }, null, 8, Ms)) : d("", !0)
@@ -2413,26 +2415,26 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
2413
2415
  key: `time_label_${s}`,
2414
2416
  ref_for: !0
2415
2417
  }, {
2416
- x: n.value.left + n.value.width / b.value * s + n.value.width / b.value / 2,
2418
+ x: n.value.left + n.value.width / m.value * s + n.value.width / m.value / 2,
2417
2419
  y: n.value.bottom,
2418
2420
  fontSize: x.value.xAxis,
2419
2421
  fill: l.value.chart.grid.labels.xAxisLabels.color,
2420
- transform: `translate(${n.value.left + n.value.width / b.value * s + n.value.width / b.value / 2}, ${n.value.bottom + x.value.xAxis * 1.3 + l.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${l.value.chart.grid.labels.xAxisLabels.rotation})`,
2422
+ transform: `translate(${n.value.left + n.value.width / m.value * s + n.value.width / m.value / 2}, ${n.value.bottom + x.value.xAxis * 1.3 + l.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${l.value.chart.grid.labels.xAxisLabels.rotation})`,
2421
2423
  absoluteIndex: e.absoluteIndex,
2422
2424
  content: e.text,
2423
2425
  textAnchor: l.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : l.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2424
- show: e && l.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && b.value <= Ll.value || e && !l.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !l.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || e && l.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (s === 0 || s === le.value.length - 1) && !l.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || e && l.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && k.value === s && !l.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || e && !l.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && s % Math.floor((S.value.end - S.value.start) / Ll.value) === 0
2426
+ show: e && l.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && m.value <= Ll.value || e && !l.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !l.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || e && l.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (s === 0 || s === le.value.length - 1) && !l.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || e && l.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && k.value === s && !l.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || e && !l.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && s % Math.floor((S.value.end - S.value.start) / Ll.value) === 0
2425
2427
  }), void 0, !0)), 128)) : (u(!0), i(h, { key: 1 }, y(le.value, (e, s) => (u(), i("g", {
2426
2428
  key: `time_label_${s}`
2427
2429
  }, [
2428
- e && l.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && b.value <= Ll.value || e && !l.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !l.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || e && l.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (s === 0 || s === le.value.length - 1) && !l.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || e && l.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && k.value === s && !l.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || e && !l.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && s % Math.floor((S.value.end - S.value.start) / Ll.value) === 0 ? (u(), i(h, { key: 0 }, [
2430
+ e && l.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && m.value <= Ll.value || e && !l.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !l.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || e && l.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (s === 0 || s === le.value.length - 1) && !l.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || e && l.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && k.value === s && !l.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || e && !l.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && s % Math.floor((S.value.end - S.value.start) / Ll.value) === 0 ? (u(), i(h, { key: 0 }, [
2429
2431
  String(e.text).includes(`
2430
2432
  `) ? (u(), i("text", {
2431
2433
  key: 1,
2432
2434
  "text-anchor": l.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : l.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2433
2435
  "font-size": x.value.xAxis,
2434
2436
  fill: l.value.chart.grid.labels.xAxisLabels.color,
2435
- transform: `translate(${n.value.left + n.value.width / b.value * s + n.value.width / b.value / 2}, ${n.value.bottom + x.value.xAxis * 1.3 + l.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${l.value.chart.grid.labels.xAxisLabels.rotation})`,
2437
+ transform: `translate(${n.value.left + n.value.width / m.value * s + n.value.width / m.value / 2}, ${n.value.bottom + x.value.xAxis * 1.3 + l.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${l.value.chart.grid.labels.xAxisLabels.rotation})`,
2436
2438
  style: z({
2437
2439
  cursor: ga() ? "pointer" : "default"
2438
2440
  }),
@@ -2443,18 +2445,18 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
2443
2445
  x: 0,
2444
2446
  y: 0
2445
2447
  }),
2446
- onClick: () => ma(e, s)
2448
+ onClick: () => ba(e, s)
2447
2449
  }, null, 12, fu)) : (u(), i("text", {
2448
2450
  key: 0,
2449
2451
  class: "vue-data-ui-time-label",
2450
2452
  "text-anchor": l.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : l.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2451
2453
  "font-size": x.value.xAxis,
2452
2454
  fill: l.value.chart.grid.labels.xAxisLabels.color,
2453
- transform: `translate(${n.value.left + n.value.width / b.value * s + n.value.width / b.value / 2}, ${n.value.bottom + x.value.xAxis * 1.5}), rotate(${l.value.chart.grid.labels.xAxisLabels.rotation})`,
2455
+ transform: `translate(${n.value.left + n.value.width / m.value * s + n.value.width / m.value / 2}, ${n.value.bottom + x.value.xAxis * 1.5}), rotate(${l.value.chart.grid.labels.xAxisLabels.rotation})`,
2454
2456
  style: z({
2455
2457
  cursor: ga() ? "pointer" : "default"
2456
2458
  }),
2457
- onClick: () => ma(e, s)
2459
+ onClick: () => ba(e, s)
2458
2460
  }, ee(e.text || ""), 13, hu))
2459
2461
  ], 64)) : d("", !0)
2460
2462
  ]))), 128))
@@ -2486,7 +2488,7 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
2486
2488
  "stroke-dasharray": e.config.line.strokeDasharray,
2487
2489
  "stroke-linecap": "round",
2488
2490
  style: { animation: "none !important" }
2489
- }, null, 8, bu)) : d("", !0),
2491
+ }, null, 8, mu)) : d("", !0),
2490
2492
  e.hasArea && e.show && isFinite(e.yTop) && isFinite(e.yBottom) ? (u(), i("rect", {
2491
2493
  key: 2,
2492
2494
  y: Math.min(e.yTop, e.yBottom),
@@ -2495,7 +2497,7 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
2495
2497
  height: v(T)(e.areaHeight, 0),
2496
2498
  fill: v(we)(e.config.area.fill, e.config.area.opacity),
2497
2499
  style: { animation: "none !important" }
2498
- }, null, 8, mu)) : d("", !0),
2500
+ }, null, 8, bu)) : d("", !0),
2499
2501
  e.config.label.text && e.show && isFinite(e._box.y) ? (u(), i("rect", jl({
2500
2502
  key: 3,
2501
2503
  class: "vue-ui-xy-annotation-label-box"
@@ -2513,12 +2515,12 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
2513
2515
  ]))), 128))
2514
2516
  ])) : d("", !0),
2515
2517
  Ul.value ? (u(), i("g", pu, [
2516
- (u(!0), i(h, null, y(b.value, (e, s) => (u(), i("rect", {
2518
+ (u(!0), i(h, null, y(m.value, (e, s) => (u(), i("rect", {
2517
2519
  key: `tooltip_trap_${s}`,
2518
- x: n.value.left + n.value.width / b.value * s,
2520
+ x: n.value.left + n.value.width / m.value * s,
2519
2521
  y: n.value.top,
2520
2522
  height: n.value.height < 0 ? 10 : n.value.height,
2521
- width: n.value.width / b.value < 0 ? 1e-5 : n.value.width / b.value,
2523
+ width: n.value.width / m.value < 0 ? 1e-5 : n.value.width / m.value,
2522
2524
  fill: "transparent",
2523
2525
  onMouseenter: (t) => Ta(!0, s),
2524
2526
  onMouseleave: c[1] || (c[1] = (t) => Ta(!1)),
@@ -2527,7 +2529,7 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
2527
2529
  ])) : d("", !0),
2528
2530
  l.value.chart.timeTag.show && (![null, void 0].includes(k.value) || ![null, void 0].includes(O.value)) ? (u(), i("g", _u, [
2529
2531
  (u(), i("foreignObject", {
2530
- x: n.value.left + n.value.width / b.value * ((k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)) - 100 + n.value.width / b.value / 2,
2532
+ x: n.value.left + n.value.width / m.value * ((k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)) - 100 + n.value.width / m.value / 2,
2531
2533
  y: n.value.bottom,
2532
2534
  width: "200",
2533
2535
  height: "40",
@@ -2539,7 +2541,7 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
2539
2541
  }, ee(le.value[(k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)].text || (k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)), 5)
2540
2542
  ], 8, wu)),
2541
2543
  g("circle", {
2542
- cx: n.value.left + n.value.width / b.value * ((k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)) + n.value.width / b.value / 2,
2544
+ cx: n.value.left + n.value.width / m.value * ((k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)) + n.value.width / m.value / 2,
2543
2545
  cy: n.value.bottom,
2544
2546
  r: l.value.chart.timeTag.circleMarker.radius,
2545
2547
  fill: l.value.chart.timeTag.circleMarker.color
@@ -2567,14 +2569,14 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
2567
2569
  style: z({
2568
2570
  position: "fixed",
2569
2571
  top: v(Ee)({
2570
- svgElement: be.value,
2572
+ svgElement: me.value,
2571
2573
  x: n.value.right + l.value.line.tag.fontSize / 1.5,
2572
2574
  y: t.y,
2573
2575
  element: Ce.value[`${s}_${r}_right_line`],
2574
2576
  position: "right"
2575
2577
  }).top + "px",
2576
2578
  left: v(Ee)({
2577
- svgElement: be.value,
2579
+ svgElement: me.value,
2578
2580
  x: n.value.right + l.value.line.tag.fontSize / 1.5,
2579
2581
  y: t.y,
2580
2582
  element: Ce.value[`${s}_${r}_right_line`],
@@ -2619,14 +2621,14 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
2619
2621
  style: z({
2620
2622
  position: "fixed",
2621
2623
  top: v(Ee)({
2622
- svgElement: be.value,
2624
+ svgElement: me.value,
2623
2625
  x: n.value.left - l.value.line.tag.fontSize / 1.5,
2624
2626
  y: t.y,
2625
2627
  element: Ce.value[`${s}_${r}_left_line`],
2626
2628
  position: "left"
2627
2629
  }).top + "px",
2628
2630
  left: v(Ee)({
2629
- svgElement: be.value,
2631
+ svgElement: me.value,
2630
2632
  x: n.value.left - l.value.line.tag.fontSize / 1.5,
2631
2633
  y: t.y,
2632
2634
  element: Ce.value[`${s}_${r}_left_line`],
@@ -2679,14 +2681,14 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
2679
2681
  style: z({
2680
2682
  position: "fixed",
2681
2683
  top: v(Ee)({
2682
- svgElement: be.value,
2684
+ svgElement: me.value,
2683
2685
  x: n.value.right + l.value.plot.tag.fontSize / 1.5,
2684
2686
  y: t.y,
2685
2687
  element: Ce.value[`${s}_${r}_right_plot`],
2686
2688
  position: "right"
2687
2689
  }).top + "px",
2688
2690
  left: v(Ee)({
2689
- svgElement: be.value,
2691
+ svgElement: me.value,
2690
2692
  x: n.value.right + l.value.plot.tag.fontSize / 1.5,
2691
2693
  y: t.y,
2692
2694
  element: Ce.value[`${s}_${r}_right_plot`],
@@ -2731,14 +2733,14 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
2731
2733
  style: z({
2732
2734
  position: "fixed",
2733
2735
  top: v(Ee)({
2734
- svgElement: be.value,
2736
+ svgElement: me.value,
2735
2737
  x: n.value.left - l.value.plot.tag.fontSize / 1.5,
2736
2738
  y: t.y,
2737
2739
  element: Ce.value[`${s}_${r}_left_plot`],
2738
2740
  position: "left"
2739
2741
  }).top + "px",
2740
2742
  left: v(Ee)({
2741
- svgElement: be.value,
2743
+ svgElement: me.value,
2742
2744
  x: n.value.left - l.value.plot.tag.fontSize / 1.5,
2743
2745
  y: t.y,
2744
2746
  element: Ce.value[`${s}_${r}_left_plot`],
@@ -2811,7 +2813,7 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
2811
2813
  enableRangeHandles: l.value.chart.zoom.enableRangeHandles,
2812
2814
  enableSelectionDrag: l.value.chart.zoom.enableSelectionDrag,
2813
2815
  onReset: pt,
2814
- onTrapMouse: bt
2816
+ onTrapMouse: mt
2815
2817
  }, {
2816
2818
  "reset-action": ue(({ reset: e }) => [
2817
2819
  q(a.$slots, "reset-action", Ze(Je({ reset: e })), void 0, !0)
@@ -2992,7 +2994,7 @@ const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "hei
2992
2994
  v(Xl) ? (u(), Me(co, { key: 10 })) : d("", !0)
2993
2995
  ], 46, fo));
2994
2996
  }
2995
- }, rr = /* @__PURE__ */ ho(qu, [["__scopeId", "data-v-f2bb4a89"]]);
2997
+ }, rr = /* @__PURE__ */ ho(qu, [["__scopeId", "data-v-4dc97e04"]]);
2996
2998
  export {
2997
2999
  rr as default
2998
3000
  };