vue-data-ui 3.0.0-next.7 → 3.0.0-next.8

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-Bl8urcli.js → Arrow-BRtNjitS.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CyhpaZU5.js → BaseDraggableDialog-CO9ok1PR.js} +2 -2
  3. package/dist/{BaseIcon-BCZfTCeM.js → BaseIcon-BuOIF6t5.js} +1 -1
  4. package/dist/{ColorPicker-CSJf42vx.js → ColorPicker-FH6oc0mS.js} +2 -2
  5. package/dist/{DataTable-mQ6Wd-rR.js → DataTable-D36ZRtpU.js} +2 -2
  6. package/dist/{Legend-B2hrDh4G.js → Legend-DInM-hku.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-DQ8KsK4W.js → NonSvgPenAndPaper-B60MxEaz.js} +3 -3
  8. package/dist/{PackageVersion-CeEYZfaH.js → PackageVersion-CGQlqnmq.js} +1 -1
  9. package/dist/{PenAndPaper-DhSxfUrQ.js → PenAndPaper-B5slIHlh.js} +3 -3
  10. package/dist/{Shape-C2qH26wh.js → Shape-BGr3dQKt.js} +1 -1
  11. package/dist/{Slicer-BD8Z8VCW.js → Slicer-O07lQwRC.js} +2 -2
  12. package/dist/{SparkTooltip-BcHgW6YX.js → SparkTooltip-BWA23VgJ.js} +1 -1
  13. package/dist/{Title-B7Xb3YuE.js → Title-BSlAPr_H.js} +1 -1
  14. package/dist/{Tooltip-BidRoM5E.js → Tooltip-lPcsweXz.js} +1 -1
  15. package/dist/{UserOptions-0tvMM8PF.js → UserOptions-Dn5TCQxg.js} +2 -2
  16. package/dist/{dom-to-png-CTrlbKHr.js → dom-to-png-Br-eVhJZ.js} +1 -1
  17. package/dist/{img-D72yZNUg.js → img-CgMUOQnb.js} +1 -1
  18. package/dist/{index-Cg-RjxqH.js → index-Cfm5-hMQ.js} +5 -2
  19. package/dist/{pdf-DgX01_wu.js → pdf-BMVHBLq5.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +1 -0
  22. package/dist/types/vue-data-ui.d.ts +1 -0
  23. package/dist/{useNestedProp-C_G5E08Y.js → useNestedProp-Hh7nGEjp.js} +1 -1
  24. package/dist/{usePrinter-BUzmyQf9.js → usePrinter-B1Hgs47c.js} +2 -2
  25. package/dist/{vue-data-ui-DpO93ey5.js → vue-data-ui-CD674-M3.js} +64 -64
  26. package/dist/vue-data-ui.js +1 -1
  27. package/dist/{vue-ui-3d-bar-D8imUwEz.js → vue-ui-3d-bar-DWtJoryQ.js} +6 -6
  28. package/dist/{vue-ui-accordion-CRomxzaL.js → vue-ui-accordion-CEDGlyKI.js} +3 -3
  29. package/dist/{vue-ui-age-pyramid-CV7gtFOC.js → vue-ui-age-pyramid-DbrA1G0r.js} +6 -6
  30. package/dist/{vue-ui-annotator-BAOxPiFx.js → vue-ui-annotator-CosgP-Fl.js} +2 -2
  31. package/dist/{vue-ui-bullet-BtuMMBF7.js → vue-ui-bullet-9IB3mGon.js} +7 -7
  32. package/dist/{vue-ui-candlestick-BsRtXKrv.js → vue-ui-candlestick-CWqPF_zW.js} +7 -7
  33. package/dist/{vue-ui-carousel-table-DVGlPZIa.js → vue-ui-carousel-table-BG1ItsAb.js} +4 -4
  34. package/dist/{vue-ui-chestnut-P1v4ffD0.js → vue-ui-chestnut-6uKesZW9.js} +5 -5
  35. package/dist/{vue-ui-chord-CIuzYmpM.js → vue-ui-chord-Crd3l1b6.js} +8 -8
  36. package/dist/{vue-ui-circle-pack-FXmemXgl.js → vue-ui-circle-pack-CAm2gxBi.js} +6 -6
  37. package/dist/{vue-ui-cursor-CdvMgIrP.js → vue-ui-cursor-CkVnNEGn.js} +2 -2
  38. package/dist/{vue-ui-dashboard-Vke0452J.js → vue-ui-dashboard-D07ivGS7.js} +62 -62
  39. package/dist/{vue-ui-digits-BVhyYqCs.js → vue-ui-digits-Doidl3Lz.js} +2 -2
  40. package/dist/{vue-ui-donut-BpIivKcf.js → vue-ui-donut-CWvzqAAa.js} +8 -8
  41. package/dist/{vue-ui-donut-evolution-BRlsCA4U.js → vue-ui-donut-evolution-Djp_eBqw.js} +8 -8
  42. package/dist/{vue-ui-dumbbell-D87Dumjh.js → vue-ui-dumbbell-B7GySnYf.js} +7 -7
  43. package/dist/{vue-ui-flow-D_L_xssL.js → vue-ui-flow-XDpZAYWI.js} +7 -7
  44. package/dist/{vue-ui-funnel-BbFmbsft.js → vue-ui-funnel-D1pFzjJa.js} +6 -6
  45. package/dist/{vue-ui-galaxy-Cn6vHbaw.js → vue-ui-galaxy-DBQy21se.js} +5 -5
  46. package/dist/{vue-ui-gauge-Ds4terqY.js → vue-ui-gauge-FBZaUrBD.js} +6 -6
  47. package/dist/{vue-ui-gizmo-BTncpI62.js → vue-ui-gizmo-CDbPxUzE.js} +3 -3
  48. package/dist/{vue-ui-heatmap-B6GpjeWC.js → vue-ui-heatmap-DsDWxYOS.js} +7 -7
  49. package/dist/{vue-ui-history-plot-DTDzEeGq.js → vue-ui-history-plot-CzO1Z1FH.js} +7 -7
  50. package/dist/{vue-ui-kpi-jN_yMnLj.js → vue-ui-kpi-DTeZbrJk.js} +3 -3
  51. package/dist/{vue-ui-mini-loader-rYr76x8g.js → vue-ui-mini-loader-itpDcfZU.js} +2 -2
  52. package/dist/{vue-ui-molecule-BWZHOQLi.js → vue-ui-molecule-Ddd3FgID.js} +5 -5
  53. package/dist/{vue-ui-mood-radar-CPfS6f1L.js → vue-ui-mood-radar-24XAq8mg.js} +7 -7
  54. package/dist/{vue-ui-nested-donuts-Bsd2kGoJ.js → vue-ui-nested-donuts-DjWASp62.js} +452 -417
  55. package/dist/{vue-ui-onion-BQ4nISXW.js → vue-ui-onion-B9thdF_c.js} +7 -7
  56. package/dist/{vue-ui-parallel-coordinate-plot-BoHgVgbn.js → vue-ui-parallel-coordinate-plot-DT-GhOaA.js} +8 -8
  57. package/dist/{vue-ui-quadrant-BFFzfDw3.js → vue-ui-quadrant-0milmSNS.js} +8 -8
  58. package/dist/{vue-ui-quick-chart-oNMTeOAL.js → vue-ui-quick-chart-D0DukVN6.js} +6 -6
  59. package/dist/{vue-ui-radar-98mXFZe-.js → vue-ui-radar-DY8y6oRc.js} +7 -7
  60. package/dist/{vue-ui-rating-BAauyqTn.js → vue-ui-rating-C3QUdrMw.js} +2 -2
  61. package/dist/{vue-ui-relation-circle-6oDCSxkO.js → vue-ui-relation-circle-8Gd7_fxt.js} +6 -6
  62. package/dist/{vue-ui-ridgeline-CugMGjOU.js → vue-ui-ridgeline-iPtG1McW.js} +8 -8
  63. package/dist/{vue-ui-rings-bsGXaD2m.js → vue-ui-rings-BXPo4MMo.js} +8 -8
  64. package/dist/{vue-ui-scatter-7ssLliGg.js → vue-ui-scatter-26d0eebx.js} +8 -8
  65. package/dist/{vue-ui-skeleton-CUOhCY4p.js → vue-ui-skeleton-P-1SRvsT.js} +3 -3
  66. package/dist/{vue-ui-smiley-B6SqWMov.js → vue-ui-smiley-Cd1bhDuU.js} +2 -2
  67. package/dist/{vue-ui-spark-trend-jauInkkN.js → vue-ui-spark-trend-Dt3ctzpl.js} +3 -3
  68. package/dist/{vue-ui-sparkbar-DXByIxQH.js → vue-ui-sparkbar-RrxErqrU.js} +3 -3
  69. package/dist/{vue-ui-sparkgauge-BMrV2gDi.js → vue-ui-sparkgauge-CyNi1b0O.js} +3 -3
  70. package/dist/{vue-ui-sparkhistogram-CoNM4G7o.js → vue-ui-sparkhistogram-DPpZCPuE.js} +4 -4
  71. package/dist/{vue-ui-sparkline-DrN3_wS0.js → vue-ui-sparkline-BMjQ_uYx.js} +3 -3
  72. package/dist/{vue-ui-sparkstackbar-W1a0JQi9.js → vue-ui-sparkstackbar-CjO8pfE-.js} +3 -3
  73. package/dist/{vue-ui-stackbar-D1-gbUgE.js → vue-ui-stackbar-wgyvMlE6.js} +9 -9
  74. package/dist/{vue-ui-strip-plot-KhfvrVuN.js → vue-ui-strip-plot-BF1o8lvY.js} +7 -7
  75. package/dist/{vue-ui-table-Dwjl3L0p.js → vue-ui-table-B1tjuVi0.js} +3 -3
  76. package/dist/{vue-ui-table-heatmap-DazTE3fa.js → vue-ui-table-heatmap-BI8eIQG7.js} +5 -5
  77. package/dist/{vue-ui-table-sparkline-BXMPUEpN.js → vue-ui-table-sparkline-CqBD7xhZ.js} +4 -4
  78. package/dist/{vue-ui-thermometer-Cn6lJRs3.js → vue-ui-thermometer-CtuxuYVt.js} +6 -6
  79. package/dist/{vue-ui-timer-yLvNAZL_.js → vue-ui-timer-sgO_Z6ja.js} +5 -5
  80. package/dist/{vue-ui-tiremarks-BYsWePfK.js → vue-ui-tiremarks-DOwj4ZE-.js} +6 -6
  81. package/dist/{vue-ui-treemap-Ce7RVFG3.js → vue-ui-treemap-C4LtyFug.js} +8 -8
  82. package/dist/{vue-ui-vertical-bar-BrYCoVym.js → vue-ui-vertical-bar-BPay31_q.js} +9 -9
  83. package/dist/{vue-ui-waffle-CCrR2T1G.js → vue-ui-waffle-D8mzGTeo.js} +8 -8
  84. package/dist/{vue-ui-wheel-BuxjnrDN.js → vue-ui-wheel-C6uAotal.js} +6 -6
  85. package/dist/{vue-ui-word-cloud-C6fawHJE.js → vue-ui-word-cloud-Bge2211V.js} +6 -6
  86. package/dist/{vue-ui-world-B4Dqrk4l.js → vue-ui-world-DWskeHfE.js} +6 -6
  87. package/dist/{vue-ui-xy-ubRnv9iJ.js → vue-ui-xy-UzQacbnA.js} +63 -61
  88. package/dist/{vue-ui-xy-canvas-D7fL36kT.js → vue-ui-xy-canvas-Dkmsguo1.js} +8 -8
  89. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
- import { defineAsyncComponent as Fe, useSlots as It, getCurrentInstance as Tt, ref as _, computed as A, onMounted as ea, toRefs as Ot, onBeforeUnmount as Fa, watch as Cl, nextTick as Se, createElementBlock as r, openBlock as u, normalizeStyle as z, normalizeClass as Ke, createBlock as Ie, createCommentVNode as d, createVNode as ml, unref as c, createSlots as Nt, withCtx as se, renderSlot as U, normalizeProps as Qe, guardReactiveProps as je, createElementVNode as g, Fragment as h, renderList as m, toDisplayString as j, mergeProps as la, withDirectives as Vt, vModelCheckbox as Pt, createTextVNode as Ht } from "vue";
2
- import { u as Rt, c as aa, e as ta, A as Bt, a5 as Ee, b as Yt, D as yl, ab as el, d as Ft, p as Et, ac as Il, ad as Wt, v as T, ae as Ea, V as Wa, af as Ga, U as Xa, ag as Gt, ah as Xt, ai as Da, x as Dt, y as Ut, _ as Ua, R as Te, i as ne, f as me, aa as H, w as ll, s as $e, a8 as W, L as qt, F as We, aj as Tl, I as Zt, ak as Ge, C as ul, t as Jt, a as Kt, o as qa, q as Qt, r as jt, E as il } from "./index-Cg-RjxqH.js";
3
- import { u as oa } from "./useNestedProp-C_G5E08Y.js";
1
+ import { defineAsyncComponent as Fe, useSlots as It, getCurrentInstance as Tt, ref as w, computed as A, onMounted as ea, toRefs as Ot, onBeforeUnmount as Fa, watch as Cl, nextTick as Se, createElementBlock as r, openBlock as u, normalizeStyle as z, normalizeClass as Ke, createBlock as Ie, createCommentVNode as d, createVNode as ml, unref as c, createSlots as Nt, withCtx as se, renderSlot as U, normalizeProps as Qe, guardReactiveProps as je, createElementVNode as g, Fragment as h, renderList as m, toDisplayString as j, mergeProps as la, withDirectives as Vt, vModelCheckbox as Pt, createTextVNode as Ht } from "vue";
2
+ import { u as Rt, c as aa, e as ta, A as Bt, a5 as Ee, b as Yt, D as yl, ab as el, d as Ft, p as Et, ac as Il, ad as Wt, v as T, ae as Ea, V as Wa, af as Ga, U as Xa, ag as Gt, ah as Xt, ai as Da, x as Dt, y as Ut, _ as Ua, R as Te, i as ne, f as me, aa as H, w as ll, s as $e, a8 as W, L as qt, F as We, aj as Tl, I as Zt, ak as Ge, C as ul, t as Jt, a as Kt, o as qa, q as Qt, r as jt, E as il } from "./index-Cfm5-hMQ.js";
3
+ import { u as oa } from "./useNestedProp-Hh7nGEjp.js";
4
4
  import { u as eo } from "./useTimeLabels-Mrr0jrpL.js";
5
- import { S as lo } from "./Slicer-BD8Z8VCW.js";
6
- import ao from "./Title-B7Xb3YuE.js";
7
- import { _ as Ol } from "./Shape-C2qH26wh.js";
8
- import to from "./img-D72yZNUg.js";
9
- import { u as oo } from "./usePrinter-BUzmyQf9.js";
5
+ import { S as lo } from "./Slicer-O07lQwRC.js";
6
+ import ao from "./Title-BSlAPr_H.js";
7
+ import { _ as Ol } from "./Shape-BGr3dQKt.js";
8
+ import to from "./img-CgMUOQnb.js";
9
+ import { u as oo } from "./usePrinter-B1Hgs47c.js";
10
10
  import { u as so, B as uo } from "./useLoading-Bt5Doa8m.js";
11
11
  import { _ as io } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "width", "height"], vo = { key: 1 }, ho = { class: "vue-ui-xy-grid" }, fo = ["stroke", "x1", "x2", "y1", "y2"], go = ["stroke", "x1", "x2", "y1", "y2"], xo = { key: 1 }, bo = ["x1", "x2", "y1", "y2", "stroke"], mo = ["x1", "x2", "y1", "y2", "stroke"], yo = ["x1", "x2", "y1", "y2", "stroke"], po = { key: 3 }, ko = ["x1", "x2", "y1", "y2", "stroke"], _o = { key: 4 }, wo = ["y1", "y2", "x1", "x2", "stroke"], So = ["id"], $o = ["stop-color"], Lo = ["stop-color"], Ao = ["stop-color"], Mo = ["id"], zo = ["stop-color"], Co = ["stop-color"], Io = ["stop-color"], To = ["id"], Oo = ["stop-color"], No = ["stop-color"], Vo = ["id"], Po = ["stop-color"], Ho = ["stop-color"], Ro = ["id"], Bo = ["stop-color"], Yo = ["stop-color"], Fo = ["x", "y", "height", "width", "fill"], Eo = ["x", "y", "width"], Wo = ["x", "y", "height", "width", "fill"], Go = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Xo = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Do = ["width", "x", "y"], Uo = { key: 0 }, qo = ["id"], Zo = ["fill"], Jo = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ko = ["x", "y", "font-size", "fill"], Qo = ["stroke", "x1", "x2", "y1", "y2"], jo = { key: 2 }, es = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ls = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], as = {
@@ -74,21 +74,21 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
74
74
  },
75
75
  emits: ["selectTimeLabel", "selectX", "selectLegend"],
76
76
  setup(Nl, { expose: Za, emit: Ja }) {
77
- const y = Nl, Ka = Fe(() => import("./DataTable-mQ6Wd-rR.js")), Qa = Fe(() => import("./Tooltip-BidRoM5E.js")), ja = Fe(() => import("./UserOptions-0tvMM8PF.js")), et = Fe(() => import("./BaseIcon-BCZfTCeM.js")), lt = Fe(() => import("./vue-ui-table-sparkline-BXMPUEpN.js")), at = Fe(() => import("./vue-ui-accordion-CRomxzaL.js")), tt = Fe(() => import("./PackageVersion-CeEYZfaH.js")), ot = Fe(() => import("./PenAndPaper-DhSxfUrQ.js")), Vl = Ja, sa = It(), st = Tt(), { vue_ui_xy: Pl } = Rt(), ge = _(null), rl = _(null), Le = _(null), al = _(null), nl = _(null), cl = _(null), ua = _(null), Hl = _(null), Rl = _(null), Bl = _(null), Xe = _(null), Yl = _(null), Fl = _(0), M = _(null), ia = _(!0), ue = _(600), Z = _(1e3), De = _("0 0 1000 600"), ut = _({ x: 0, y: 0 }), vl = _({ line: "line", bar: "bar", plot: "plot" }), pl = _(!1), tl = _(!1), ra = _(!1), k = _(null), Ue = _(null), ae = _([]), q = _(aa()), na = _(0), ca = _(0), va = _(0), dl = _(!0), El = _(0), O = _(null), da = _(!1), Wl = _(!0), kl = _(!0), ye = _(null), Oe = _({}), _l = _(null), ha = _(0), it = _(1), rt = A(() => ({
77
+ const y = Nl, Ka = Fe(() => import("./DataTable-D36ZRtpU.js")), Qa = Fe(() => import("./Tooltip-lPcsweXz.js")), ja = Fe(() => import("./UserOptions-Dn5TCQxg.js")), et = Fe(() => import("./BaseIcon-BuOIF6t5.js")), lt = Fe(() => import("./vue-ui-table-sparkline-CqBD7xhZ.js")), at = Fe(() => import("./vue-ui-accordion-CEDGlyKI.js")), tt = Fe(() => import("./PackageVersion-CGQlqnmq.js")), ot = Fe(() => import("./PenAndPaper-B5slIHlh.js")), Vl = Ja, sa = It(), st = Tt(), { vue_ui_xy: Pl } = Rt(), ge = w(null), rl = w(null), Le = w(null), al = w(null), nl = w(null), cl = w(null), ua = w(null), Hl = w(null), Rl = w(null), Bl = w(null), Xe = w(null), Yl = w(null), Fl = w(0), M = w(null), ia = w(!0), ue = w(600), Z = w(1e3), De = w("0 0 1000 600"), ut = w({ x: 0, y: 0 }), vl = w({ line: "line", bar: "bar", plot: "plot" }), pl = w(!1), tl = w(!1), ra = w(!1), k = w(null), Ue = w(null), ae = w([]), q = w(aa()), na = w(0), ca = w(0), va = w(0), dl = w(!0), El = w(0), O = w(null), da = w(!1), Wl = w(!0), kl = w(!0), ye = w(null), Oe = w({}), _l = w(null), ha = w(0), it = w(1), rt = A(() => ({
78
78
  height: ue.value,
79
79
  width: Z.value
80
- })), nt = y.config.downsample && y.config.downsample.threshold ? y.config.downsample.threshold : 500, f = _({
80
+ })), nt = y.config.downsample && y.config.downsample.threshold ? y.config.downsample.threshold : 500, f = w({
81
81
  dataLabels: { show: !0 },
82
82
  showTooltip: !0,
83
83
  showTable: !1,
84
84
  isStacked: !1,
85
85
  useIndividualScale: !1
86
- }), x = _({
86
+ }), x = w({
87
87
  xAxis: 18,
88
88
  yAxis: 12,
89
89
  dataLabels: 20,
90
90
  plotLabels: 10
91
- }), Ae = _({ plot: 3, line: 3 });
91
+ }), Ae = w({ plot: 3, line: 3 });
92
92
  ea(() => {
93
93
  y.dataset.length && y.dataset.forEach((a, v) => {
94
94
  [null, void 0].includes(a.series) && ta({
@@ -130,7 +130,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
130
130
  set(a) {
131
131
  return a;
132
132
  }
133
- }), e = _(Gl()), { loading: Dl, FINAL_DATASET: Ne, manualLoading: wl } = so({
133
+ }), e = w(Gl()), { loading: Dl, FINAL_DATASET: Ne, manualLoading: wl } = so({
134
134
  ...Ot(y),
135
135
  FINAL_CONFIG: e,
136
136
  prepareConfig: Gl,
@@ -213,7 +213,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
213
213
  }), He = A({
214
214
  get: () => Math.max(...Ne.value.map((a) => Ee({ data: a.series, threshold: nt }).length)),
215
215
  set: (a) => a
216
- }), S = _({ start: 0, end: He.value }), { isPrinting: Ul, isImaging: fa, generatePdf: ga, generateImage: xa } = oo({
216
+ }), _ = w({ start: 0, end: He.value }), { isPrinting: Ul, isImaging: fa, generatePdf: ga, generateImage: xa } = oo({
217
217
  elementId: `vue-ui-xy_${q.value}`,
218
218
  fileName: e.value.chart.title.text || "vue-ui-xy",
219
219
  options: e.value.chart.userOptions.print
@@ -233,7 +233,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
233
233
  return {
234
234
  ...a,
235
235
  slotAbsoluteIndex: v,
236
- series: l.map((t) => Il(t) ? t : null).slice(S.value.start, S.value.end),
236
+ series: l.map((t) => Il(t) ? t : null).slice(_.value.start, _.value.end),
237
237
  color: Ft(a.color ? a.color : ba.value[v] ? ba.value[v] : Et[v]),
238
238
  id: s,
239
239
  scaleLabel: a.scaleLabel || s
@@ -296,8 +296,8 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
296
296
  values: e.value.chart.grid.labels.xAxisLabels.values,
297
297
  maxDatapoints: a,
298
298
  formatter: e.value.chart.grid.labels.xAxisLabels.datetimeFormatter,
299
- start: S.value.start,
300
- end: S.value.end
299
+ start: _.value.start,
300
+ end: _.value.end
301
301
  });
302
302
  });
303
303
  function ka(a, v) {
@@ -317,7 +317,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
317
317
  label: a.text
318
318
  });
319
319
  }
320
- const b = A(() => S.value.end - S.value.start);
320
+ const b = A(() => _.value.end - _.value.start);
321
321
  async function vt() {
322
322
  if (!Hl.value) return;
323
323
  await Se();
@@ -366,7 +366,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
366
366
  return a > v ? v : a < 0 || e.value.chart.zoom.startIndex !== null && a < e.value.chart.zoom.startIndex ? e.value.chart.zoom.startIndex !== null ? e.value.chart.zoom.startIndex + 1 : 1 : a;
367
367
  }
368
368
  async function jl() {
369
- (e.value.chart.zoom.startIndex !== null || e.value.chart.zoom.endIndex !== null) && Le.value ? (e.value.chart.zoom.startIndex !== null && (await Se(), await Se(), Le.value.setStartValue(e.value.chart.zoom.startIndex)), e.value.chart.zoom.endIndex !== null && (await Se(), await Se(), Le.value.setEndValue(gt(e.value.chart.zoom.endIndex + 1)))) : (S.value = {
369
+ (e.value.chart.zoom.startIndex !== null || e.value.chart.zoom.endIndex !== null) && Le.value ? (e.value.chart.zoom.startIndex !== null && (await Se(), await Se(), Le.value.setStartValue(e.value.chart.zoom.startIndex)), e.value.chart.zoom.endIndex !== null && (await Se(), await Se(), Le.value.setEndValue(gt(e.value.chart.zoom.endIndex + 1)))) : (_.value = {
370
370
  start: 0,
371
371
  end: Math.max(...Ne.value.map((a) => Ee({ data: a.series, threshold: e.value.downsample.threshold }).length))
372
372
  }, Fl.value += 1);
@@ -560,12 +560,12 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
560
560
  return t - I * n;
561
561
  };
562
562
  return v.map(($) => {
563
- const { yAxis: { yTop: I, yBottom: X, label: w } } = $, R = I != null && X != null && I !== X, L = I == null ? null : ee(I), te = X == null ? null : ee(X), re = ct(w.fontSize);
564
- re.font = `${w.fontSize}px sans-serif`;
565
- const D = re.measureText(w.text).width, be = w.fontSize, Ce = (w.position === "start" ? l + w.padding.left : s - w.padding.right) + w.offsetX, he = (L != null && te != null ? Math.min(L, te) : L ?? te) - w.fontSize / 3 + w.offsetY - w.padding.top;
563
+ const { yAxis: { yTop: I, yBottom: X, label: S } } = $, R = I != null && X != null && I !== X, L = I == null ? null : ee(I), te = X == null ? null : ee(X), re = ct(S.fontSize);
564
+ re.font = `${S.fontSize}px sans-serif`;
565
+ const D = re.measureText(S.text).width, be = S.fontSize, Ce = (S.position === "start" ? l + S.padding.left : s - S.padding.right) + S.offsetX, he = (L != null && te != null ? Math.min(L, te) : L ?? te) - S.fontSize / 3 + S.offsetY - S.padding.top;
566
566
  let V;
567
- w.textAnchor === "middle" ? V = Ce - D / 2 - w.padding.left : w.textAnchor === "end" ? V = Ce - D - w.padding.right : V = Ce - w.padding.left;
568
- const P = he - be * 0.75 - w.padding.top;
567
+ S.textAnchor === "middle" ? V = Ce - D / 2 - S.padding.left : S.textAnchor === "end" ? V = Ce - D - S.padding.right : V = Ce - S.padding.left;
568
+ const P = he - be * 0.75 - S.padding.top;
569
569
  return {
570
570
  show: ![L, te, P].includes(NaN),
571
571
  id: `annotation_y_${aa()}`,
@@ -580,13 +580,13 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
580
580
  _box: {
581
581
  x: V,
582
582
  y: P,
583
- width: D + w.padding.left + w.padding.right,
584
- height: be + w.padding.top + w.padding.bottom,
585
- fill: w.backgroundColor,
586
- stroke: w.border.stroke,
587
- rx: w.border.rx,
588
- ry: w.border.ry,
589
- strokeWidth: w.border.strokeWidth
583
+ width: D + S.padding.left + S.padding.right,
584
+ height: be + S.padding.top + S.padding.bottom,
585
+ fill: S.backgroundColor,
586
+ stroke: S.border.stroke,
587
+ rx: S.border.rx,
588
+ ry: S.border.ry,
589
+ strokeWidth: S.border.strokeWidth
590
590
  }
591
591
  };
592
592
  });
@@ -602,7 +602,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
602
602
  }, I = {
603
603
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
604
604
  min: o.scaleMin || Math.min(...o.absoluteValues.filter((N) => ![void 0, null].includes(N))) > 0 ? 0 : Math.min(...o.absoluteValues.filter((N) => ![null, void 0].includes(N)))
605
- }, X = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, w = 1.0000001, R = e.value.chart.grid.labels.yAxis.useNiceScale ? yl(I.min, I.max === I.min ? I.max * w : I.max, X) : el(I.min, I.max === I.min ? I.max * w : I.max, X), L = e.value.chart.grid.labels.yAxis.useNiceScale ? yl($.valueMin, $.valueMax === $.valueMin ? $.valueMax * w : $.valueMax, X) : el($.valueMin, $.valueMax === $.valueMin ? $.valueMax * w : $.valueMax, X), te = R.min >= 0 ? 0 : Math.abs(R.min), re = 0, D = R.max + te, be = L.max + Math.abs(re), Ce = o.stackIndex, sl = v - 1 - Ce, he = s ? 1 - o.cumulatedStackRatio : 0, V = s ? n * he + l * sl : 0, P = s ? n * o.stackRatio : i.value.height, K = i.value.bottom - V - P * te / D, fe = i.value.bottom - V - P * re / be, ce = Me.value.filter((N) => N.type === "bar").filter((N) => !ae.value.includes(N.id)).length, bl = o.series.map((N, le) => {
605
+ }, X = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, S = 1.0000001, R = e.value.chart.grid.labels.yAxis.useNiceScale ? yl(I.min, I.max === I.min ? I.max * S : I.max, X) : el(I.min, I.max === I.min ? I.max * S : I.max, X), L = e.value.chart.grid.labels.yAxis.useNiceScale ? yl($.valueMin, $.valueMax === $.valueMin ? $.valueMax * S : $.valueMax, X) : el($.valueMin, $.valueMax === $.valueMin ? $.valueMax * S : $.valueMax, X), te = R.min >= 0 ? 0 : Math.abs(R.min), re = 0, D = R.max + te, be = L.max + Math.abs(re), Ce = o.stackIndex, sl = v - 1 - Ce, he = s ? 1 - o.cumulatedStackRatio : 0, V = s ? n * he + l * sl : 0, P = s ? n * o.stackRatio : i.value.height, K = i.value.bottom - V - P * te / D, fe = i.value.bottom - V - P * re / be, ce = Me.value.filter((N) => N.type === "bar").filter((N) => !ae.value.includes(N.id)).length, bl = o.series.map((N, le) => {
606
606
  const Ye = f.value.useIndividualScale ? (o.absoluteValues[le] + te) / D : qe(N), Je = f.value.useIndividualScale && f.value.isStacked ? i.value.left + i.value.width / b.value * le : i.value.left + J.value.bar * Y + J.value.bar * le * ce - Lt.value / 2 - Y * Pe.value;
607
607
  return {
608
608
  yOffset: T(V),
@@ -612,7 +612,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
612
612
  value: o.absoluteValues[le],
613
613
  zeroPosition: T(K),
614
614
  individualMax: T(D),
615
- comment: o.comments && o.comments.slice(S.value.start, S.value.end)[le] || ""
615
+ comment: o.comments && o.comments.slice(_.value.start, _.value.end)[le] || ""
616
616
  };
617
617
  }), ve = o.absoluteValues.map((N) => L.min >= 0 ? (N - Math.abs(L.min)) / (L.max - Math.abs(L.min)) : (N + Math.abs(L.min)) / (L.max + Math.abs(L.min))), Be = o.series.map((N, le) => {
618
618
  const Ye = f.value.useIndividualScale && f.value.isStacked ? i.value.left + i.value.width / b.value * le : i.value.left - J.value.bar / 2 + J.value.bar * Y + J.value.bar * le * Me.value.filter((Je) => Je.type === "bar").filter((Je) => !ae.value.includes(Je.id)).length;
@@ -624,7 +624,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
624
624
  value: o.absoluteValues[le],
625
625
  zeroPosition: T(K),
626
626
  individualMax: T(D),
627
- comment: o.comments && o.comments.slice(S.value.start, S.value.end)[le] || ""
627
+ comment: o.comments && o.comments.slice(_.value.start, _.value.end)[le] || ""
628
628
  };
629
629
  }), E = R.ticks.map((N) => ({
630
630
  y: N >= 0 ? K - P * (N / D) : K + P * Math.abs(N) / D,
@@ -667,24 +667,24 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
667
667
  }, I = {
668
668
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
669
669
  min: o.scaleMin || (Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues))
670
- }, X = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, w = 1.0000001, R = e.value.chart.grid.labels.yAxis.useNiceScale ? yl(I.min, I.max === I.min ? I.max * w : I.max, X) : el(I.min, I.max === I.min ? I.max * w : I.max, X), L = e.value.chart.grid.labels.yAxis.useNiceScale ? yl($.valueMin, $.valueMax === $.valueMin ? $.valueMax * w : $.valueMax, X) : el($.valueMin, $.valueMax === $.valueMin ? $.valueMax * w : $.valueMax, X), te = R.min >= 0 ? 0 : Math.abs(R.min), re = 0, D = R.max + Math.abs(te), be = L.max + Math.abs(re), Ce = o.stackIndex, sl = v - 1 - Ce, he = s ? 1 - o.cumulatedStackRatio : 0, V = s ? n * he + l * sl : 0, P = s ? n * o.stackRatio : i.value.height, K = i.value.bottom - V - P * te / D, fe = i.value.bottom - V - P * re / be, ce = o.series.map((C, oe) => {
670
+ }, X = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, S = 1.0000001, R = e.value.chart.grid.labels.yAxis.useNiceScale ? yl(I.min, I.max === I.min ? I.max * S : I.max, X) : el(I.min, I.max === I.min ? I.max * S : I.max, X), L = e.value.chart.grid.labels.yAxis.useNiceScale ? yl($.valueMin, $.valueMax === $.valueMin ? $.valueMax * S : $.valueMax, X) : el($.valueMin, $.valueMax === $.valueMin ? $.valueMax * S : $.valueMax, X), te = R.min >= 0 ? 0 : Math.abs(R.min), re = 0, D = R.max + Math.abs(te), be = L.max + Math.abs(re), Ce = o.stackIndex, sl = v - 1 - Ce, he = s ? 1 - o.cumulatedStackRatio : 0, V = s ? n * he + l * sl : 0, P = s ? n * o.stackRatio : i.value.height, K = i.value.bottom - V - P * te / D, fe = i.value.bottom - V - P * re / be, ce = o.series.map((C, oe) => {
671
671
  const Ct = f.value.useIndividualScale ? (o.absoluteValues[oe] + Math.abs(te)) / D : qe(C);
672
672
  return {
673
673
  x: T(i.value.left + J.value.line / 2 + J.value.line * oe),
674
674
  y: T(i.value.bottom - V - P * Ct),
675
675
  value: o.absoluteValues[oe],
676
- comment: o.comments && o.comments.slice(S.value.start, S.value.end)[oe] || ""
676
+ comment: o.comments && o.comments.slice(_.value.start, _.value.end)[oe] || ""
677
677
  };
678
678
  }), bl = o.absoluteValues.map((C) => L.min >= 0 ? (C - Math.abs(L.min)) / (L.max - Math.abs(L.min)) : (C + Math.abs(L.min)) / (L.max + Math.abs(L.min))), ve = o.series.map((C, oe) => [void 0, null].includes(o.absoluteValues[oe]) ? {
679
679
  x: T(i.value.left + J.value.line / 2 + J.value.line * oe),
680
680
  y: K,
681
681
  value: o.absoluteValues[oe],
682
- comment: o.comments && o.comments.slice(S.value.start, S.value.end)[oe] || ""
682
+ comment: o.comments && o.comments.slice(_.value.start, _.value.end)[oe] || ""
683
683
  } : {
684
684
  x: T(i.value.left + J.value.line / 2 + J.value.line * oe),
685
685
  y: T(i.value.bottom - V - (P * bl[oe] || 0)),
686
686
  value: o.absoluteValues[oe],
687
- comment: o.comments && o.comments.slice(S.value.start, S.value.end)[oe] || ""
687
+ comment: o.comments && o.comments.slice(_.value.start, _.value.end)[oe] || ""
688
688
  }), Be = e.value.line.cutNullValues ? Ea(ce) : Wa(ce.filter((C) => C.value !== null)), E = e.value.line.cutNullValues ? Ea(ve) : Wa(ve.filter((C) => C.value !== null)), Q = e.value.line.cutNullValues ? Ga(ce) : Xa(ce.filter((C) => C.value !== null)), N = e.value.line.cutNullValues ? Ga(ve) : Xa(ve.filter((C) => C.value !== null)), le = R.ticks.map((C) => ({
689
689
  y: C >= 0 ? K - P * (C / D) : K + P * Math.abs(C) / D,
690
690
  value: C,
@@ -742,20 +742,20 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
742
742
  }, $ = {
743
743
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
744
744
  min: o.scaleMin || Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues)
745
- }, I = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, X = 1.0000001, w = el($.min, $.max === $.min ? $.max * X : $.max, I), R = el(ee.valueMin, ee.valueMax === ee.valueMin ? ee.valueMax * X : ee.valueMax, I), L = w.min >= 0 ? 0 : Math.abs(w.min), te = 0, re = w.max + L, D = R.max + Math.abs(te), be = o.stackIndex, Ce = v - 1 - be, sl = s ? 1 - o.cumulatedStackRatio : 0, he = s ? n * sl + l * Ce : 0, V = s ? n * o.stackRatio : i.value.height, P = i.value.bottom - he - V * L / re, K = i.value.bottom - he - V * te / D, fe = o.series.map((E, Q) => {
745
+ }, I = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, X = 1.0000001, S = el($.min, $.max === $.min ? $.max * X : $.max, I), R = el(ee.valueMin, ee.valueMax === ee.valueMin ? ee.valueMax * X : ee.valueMax, I), L = S.min >= 0 ? 0 : Math.abs(S.min), te = 0, re = S.max + L, D = R.max + Math.abs(te), be = o.stackIndex, Ce = v - 1 - be, sl = s ? 1 - o.cumulatedStackRatio : 0, he = s ? n * sl + l * Ce : 0, V = s ? n * o.stackRatio : i.value.height, P = i.value.bottom - he - V * L / re, K = i.value.bottom - he - V * te / D, fe = o.series.map((E, Q) => {
746
746
  const N = f.value.useIndividualScale ? (o.absoluteValues[Q] + Math.abs(L)) / re : qe(E);
747
747
  return {
748
748
  x: T(i.value.left + J.value.plot / 2 + J.value.plot * Q),
749
749
  y: T(i.value.bottom - he - V * N),
750
750
  value: o.absoluteValues[Q],
751
- comment: o.comments && o.comments.slice(S.value.start, S.value.end)[Q] || ""
751
+ comment: o.comments && o.comments.slice(_.value.start, _.value.end)[Q] || ""
752
752
  };
753
753
  }), ce = o.absoluteValues.map((E) => R.min >= 0 ? (E - Math.abs(R.min)) / (R.max - Math.abs(R.min)) : (E + Math.abs(R.min)) / (R.max + Math.abs(R.min))), bl = o.series.map((E, Q) => ({
754
754
  x: T(i.value.left + J.value.plot / 2 + J.value.plot * Q),
755
755
  y: T(i.value.bottom - he - (V * ce[Q] || 0)),
756
756
  value: o.absoluteValues[Q],
757
- comment: o.comments && o.comments.slice(S.value.start, S.value.end)[Q] || ""
758
- })), ve = w.ticks.map((E) => ({
757
+ comment: o.comments && o.comments.slice(_.value.start, _.value.end)[Q] || ""
758
+ })), ve = S.ticks.map((E) => ({
759
759
  y: E >= 0 ? P - V * (E / re) : P + V * Math.abs(E) / re,
760
760
  value: E,
761
761
  prefix: o.prefix || e.value.chart.labels.prefix,
@@ -777,7 +777,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
777
777
  autoScaleYLabels: Be,
778
778
  individualHeight: V,
779
779
  scaleYLabels: o.autoScaling ? Be : ve,
780
- individualScale: o.autoScaling ? R : w,
780
+ individualScale: o.autoScaling ? R : S,
781
781
  individualMax: o.autoScaling ? D : re,
782
782
  zeroPosition: o.autoScaling ? K : P,
783
783
  plots: o.autoScaling ? bl : fe,
@@ -852,6 +852,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
852
852
  let a = "", v = fl.value.map((t) => t.value).filter((t) => Il(t) && t !== null).reduce((t, n) => Math.abs(t) + Math.abs(n), 0);
853
853
  const l = de.value[k.value], s = e.value.chart.tooltip.customFormat;
854
854
  return Dt(s) && Ut(() => s({
855
+ absoluteIndex: k.value + _.value.start,
855
856
  seriesIndex: k.value,
856
857
  datapoint: fl.value,
857
858
  series: Me.value,
@@ -860,6 +861,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
860
861
  plots: ze.value,
861
862
  config: e.value
862
863
  })) ? s({
864
+ absoluteIndex: k.value + _.value.start,
863
865
  seriesIndex: k.value,
864
866
  datapoint: fl.value,
865
867
  series: Me.value,
@@ -921,7 +923,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
921
923
  v: T(Math.abs(t.value) / v * 100),
922
924
  s: "%",
923
925
  r: e.value.chart.tooltip.roundingPercentage
924
- })})` : ""}</div>`, e.value.chart.comments.showInTooltip && t.comments.length && t.comments.slice(S.value.start, S.value.end)[k.value] && (a += `<div class="vue-data-ui-tooltip-comment" style="background:${t.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${t.color}">${t.comments.slice(S.value.start, S.value.end)[k.value]}</div>`);
926
+ })})` : ""}</div>`, e.value.chart.comments.showInTooltip && t.comments.length && t.comments.slice(_.value.start, _.value.end)[k.value] && (a += `<div class="vue-data-ui-tooltip-comment" style="background:${t.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${t.color}">${t.comments.slice(_.value.start, _.value.end)[k.value]}</div>`);
925
927
  }
926
928
  }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${e.value.chart.tooltip.color}">${a}</div>`);
927
929
  });
@@ -1084,13 +1086,13 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1084
1086
  nl.value && (I = nl.value.getBoundingClientRect().height);
1085
1087
  let X = 0;
1086
1088
  cl.value && (X = cl.value.getBoundingClientRect().height), ue.value = s - o - $ - F - I - X - a, Z.value = t, G.value ? ol() : De.value = `0 0 ${Z.value < 0 ? 10 : Z.value} ${ue.value < 0 ? 10 : ue.value}`, Ba();
1087
- const w = new ResizeObserver((R) => {
1089
+ const S = new ResizeObserver((R) => {
1088
1090
  for (const L of R)
1089
1091
  e.value.chart.title.show && rl.value ? o = rl.value.getBoundingClientRect().height : o = 0, Le.value && Le.value.$el ? F = Le.value.$el.getBoundingClientRect().height : F = 0, al.value ? $ = al.value.getBoundingClientRect().height : $ = 0, nl.value ? I = nl.value.getBoundingClientRect().height : I = 0, cl.value ? X = cl.value.getBoundingClientRect().height : X = 0, G.value && ge.value.classList.add("no-transition"), requestAnimationFrame(() => {
1090
1092
  ue.value = L.contentRect.height - o - $ - F - I - X - (G.value ? 48 : a), G.value ? (ha.value = L.contentRect.height - ue.value, Z.value = L.contentBoxSize[0].inlineSize, it.value = Z.value / ha.value, ol()) : (Z.value = L.contentBoxSize[0].inlineSize, De.value = `0 0 ${Z.value < 0 ? 10 : Z.value} ${ue.value < 0 ? 10 : ue.value}`), Ba();
1091
1093
  });
1092
1094
  });
1093
- Xe.value = w, Yl.value = l, w.observe(l);
1095
+ Xe.value = S, Yl.value = l, S.observe(l);
1094
1096
  } else
1095
1097
  ue.value = e.value.chart.height, Z.value = e.value.chart.width, x.value.dataLabels = e.value.chart.grid.labels.fontSize, x.value.yAxis = e.value.chart.grid.labels.axis.fontSize, x.value.xAxis = e.value.chart.grid.labels.xAxisLabels.fontSize, x.value.plotLabels = e.value.chart.labels.fontSize, Ae.value.plot = e.value.plot.radius, Ae.value.line = e.value.line.radius, G.value ? ol() : De.value = `0 0 ${Z.value} ${ue.value}`;
1096
1098
  }
@@ -1126,7 +1128,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1126
1128
  Array.isArray(a) && a.length > 0 && (wl.value = !1), He.value = Math.max(...Ne.value.map((v) => Ee({
1127
1129
  data: v.series,
1128
1130
  threshold: e.value.downsample.threshold
1129
- }).length)), S.value = {
1131
+ }).length)), _.value = {
1130
1132
  start: 0,
1131
1133
  end: He.value
1132
1134
  }, Fl.value += 1, El.value += 1;
@@ -1422,7 +1424,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1422
1424
  (u(!0), r(h, null, m(de.value, (l, s) => (u(), r("g", {
1423
1425
  key: `time_label_${s}`
1424
1426
  }, [
1425
- l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (s === 0 || s === de.value.length - 1) && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && k.value === s && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && s % Math.floor((S.value.end - S.value.start) / e.value.chart.grid.labels.xAxisLabels.modulo) === 0 ? (u(), r(h, { key: 0 }, [
1427
+ l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (s === 0 || s === de.value.length - 1) && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && k.value === s && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && s % Math.floor((_.value.end - _.value.start) / e.value.chart.grid.labels.xAxisLabels.modulo) === 0 || l && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && b.value <= e.value.chart.grid.labels.xAxisLabels.modulo ? (u(), r(h, { key: 0 }, [
1426
1428
  e.value.chart.grid.labels.xAxis.showCrosshairs ? (u(), r("line", {
1427
1429
  key: 0,
1428
1430
  y1: e.value.chart.grid.labels.xAxis.crosshairsAlwaysAtZero ? ie.value - (ie.value === i.value.bottom ? 0 : e.value.chart.grid.labels.xAxis.crosshairSize / 2) : i.value.bottom,
@@ -1542,9 +1544,9 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1542
1544
  g("rect", {
1543
1545
  style: z({
1544
1546
  transition: "none",
1545
- opacity: l.from + t >= S.value.start && l.from + t <= S.value.end - 1 ? 1 : 0
1547
+ opacity: l.from + t >= _.value.start && l.from + t <= _.value.end - 1 ? 1 : 0
1546
1548
  }),
1547
- x: i.value.left + i.value.width / b.value * (l.from + t - S.value.start),
1549
+ x: i.value.left + i.value.width / b.value * (l.from + t - _.value.start),
1548
1550
  y: i.value.top,
1549
1551
  height: i.value.height < 0 ? 10 : i.value.height,
1550
1552
  width: i.value.width / b.value < 0 ? 1e-5 : i.value.width / b.value,
@@ -1554,11 +1556,11 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
1554
1556
  (u(!0), r(h, null, m(l.span, (s, t) => (u(), r("g", null, [
1555
1557
  l.caption.text && t === 0 ? (u(), r("foreignObject", {
1556
1558
  key: 0,
1557
- x: i.value.left + i.value.width / b.value * (l.from + t - S.value.start) - (l.caption.width === "auto" ? 0 : l.caption.width / 2 - i.value.width / b.value * l.span / 2),
1559
+ x: i.value.left + i.value.width / b.value * (l.from + t - _.value.start) - (l.caption.width === "auto" ? 0 : l.caption.width / 2 - i.value.width / b.value * l.span / 2),
1558
1560
  y: i.value.top + l.caption.offsetY,
1559
1561
  style: z({
1560
1562
  overflow: "visible",
1561
- opacity: l.to >= S.value.start && l.from < S.value.end ? 1 : 0
1563
+ opacity: l.to >= _.value.start && l.from < _.value.end ? 1 : 0
1562
1564
  }),
1563
1565
  height: "1",
1564
1566
  width: l.caption.width === "auto" ? i.value.width / b.value * l.span : l.caption.width
@@ -2404,11 +2406,11 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2404
2406
  absoluteIndex: l.absoluteIndex,
2405
2407
  content: l.text,
2406
2408
  textAnchor: e.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2407
- show: l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (s === 0 || s === de.value.length - 1) && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && k.value === s && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && s % Math.floor((S.value.end - S.value.start) / e.value.chart.grid.labels.xAxisLabels.modulo) === 0
2409
+ show: l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (s === 0 || s === de.value.length - 1) && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && k.value === s && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && s % Math.floor((_.value.end - _.value.start) / e.value.chart.grid.labels.xAxisLabels.modulo) === 0 || l && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && b.value <= e.value.chart.grid.labels.xAxisLabels.modulo
2408
2410
  }), void 0, !0)), 128)) : (u(!0), r(h, { key: 1 }, m(de.value, (l, s) => (u(), r("g", {
2409
2411
  key: `time_label_${s}`
2410
2412
  }, [
2411
- l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (s === 0 || s === de.value.length - 1) && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && k.value === s && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && s % Math.floor((S.value.end - S.value.start) / e.value.chart.grid.labels.xAxisLabels.modulo) === 0 ? (u(), r(h, { key: 0 }, [
2413
+ l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (s === 0 || s === de.value.length - 1) && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && k.value === s && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && s % Math.floor((_.value.end - _.value.start) / e.value.chart.grid.labels.xAxisLabels.modulo) === 0 || l && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && b.value <= e.value.chart.grid.labels.xAxisLabels.modulo ? (u(), r(h, { key: 0 }, [
2412
2414
  String(l.text).includes(`
2413
2415
  `) ? (u(), r("text", {
2414
2416
  key: 1,
@@ -2782,12 +2784,12 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2782
2784
  verticalHandles: e.value.chart.zoom.minimap.verticalHandles,
2783
2785
  max: He.value,
2784
2786
  min: 0,
2785
- valueStart: S.value.start,
2786
- valueEnd: S.value.end,
2787
- start: S.value.start,
2788
- "onUpdate:start": v[2] || (v[2] = (l) => S.value.start = l),
2789
- end: S.value.end,
2790
- "onUpdate:end": v[3] || (v[3] = (l) => S.value.end = l),
2787
+ valueStart: _.value.start,
2788
+ valueEnd: _.value.end,
2789
+ start: _.value.start,
2790
+ "onUpdate:start": v[2] || (v[2] = (l) => _.value.start = l),
2791
+ end: _.value.end,
2792
+ "onUpdate:end": v[3] || (v[3] = (l) => _.value.end = l),
2791
2793
  refreshStartPoint: e.value.chart.zoom.startIndex !== null ? e.value.chart.zoom.startIndex : 0,
2792
2794
  refreshEndPoint: e.value.chart.zoom.endIndex !== null ? e.value.chart.zoom.endIndex + 1 : Math.max(...Nl.dataset.map((l) => c(Ee)({ data: l.series, threshold: e.value.downsample.threshold }).length)),
2793
2795
  enableRangeHandles: e.value.chart.zoom.enableRangeHandles,
@@ -2974,7 +2976,7 @@ const ro = ["id"], no = ["width", "viewBox", "aria-label"], co = ["x", "y", "wid
2974
2976
  c(Dl) ? (u(), Ie(uo, { key: 10 })) : d("", !0)
2975
2977
  ], 46, ro));
2976
2978
  }
2977
- }, ju = /* @__PURE__ */ io(Fu, [["__scopeId", "data-v-92ac0ab7"]]);
2979
+ }, ju = /* @__PURE__ */ io(Fu, [["__scopeId", "data-v-47c51d2d"]]);
2978
2980
  export {
2979
2981
  ju as default
2980
2982
  };
@@ -1,15 +1,15 @@
1
1
  import { defineAsyncComponent as Q, ref as d, computed as L, useSlots as Va, onMounted as sa, watch as D, nextTick as pe, shallowRef as Ie, onBeforeUnmount as Ga, createElementBlock as ne, openBlock as S, unref as p, normalizeClass as Za, normalizeStyle as ee, createCommentVNode as X, createBlock as N, createElementVNode as ie, createSlots as ja, withCtx as x, renderSlot as k, normalizeProps as B, guardReactiveProps as _, createVNode as qa, toDisplayString as na, createTextVNode as Ja } from "vue";
2
- import { u as Ka, c as Qa, t as el, p as V, a as al, C as me, b as ll, D as Me, i as ae, f as le, d as ia, a5 as tl, G as ol, ad as rl, o as ul, e as sl, x as va, q as nl, r as il, y as vl, s as ve, l as cl } from "./index-Cg-RjxqH.js";
2
+ import { u as Ka, c as Qa, t as el, p as V, a as al, C as me, b as ll, D as Me, i as ae, f as le, d as ia, a5 as tl, G as ol, ad as rl, o as ul, e as sl, x as va, q as nl, r as il, y as vl, s as ve, l as cl } from "./index-Cfm5-hMQ.js";
3
3
  import { d as dl, t as hl, u as yl, c as fl, a as ca, l as C, r as Te, b as R, p as da } from "./useResponsive-DfdjqQps.js";
4
- import { u as ha } from "./useNestedProp-C_G5E08Y.js";
5
- import { u as gl } from "./usePrinter-BUzmyQf9.js";
4
+ import { u as ha } from "./useNestedProp-Hh7nGEjp.js";
5
+ import { u as gl } from "./usePrinter-B1Hgs47c.js";
6
6
  import { u as pl } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as ml } from "./useChartAccessibility-9icAAmYg.js";
8
- import bl from "./Legend-B2hrDh4G.js";
9
- import xl from "./Title-B7Xb3YuE.js";
10
- import { S as Ll } from "./Slicer-BD8Z8VCW.js";
8
+ import bl from "./Legend-DInM-hku.js";
9
+ import xl from "./Title-BSlAPr_H.js";
10
+ import { S as Ll } from "./Slicer-O07lQwRC.js";
11
11
  import { u as kl } from "./useTimeLabels-Mrr0jrpL.js";
12
- import Cl from "./img-D72yZNUg.js";
12
+ import Cl from "./img-CgMUOQnb.js";
13
13
  import { _ as wl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
14
  const Sl = ["id"], zl = ["onClick"], $l = {
15
15
  key: 2,
@@ -32,7 +32,7 @@ const Sl = ["id"], zl = ["onClick"], $l = {
32
32
  },
33
33
  emits: ["selectLegend"],
34
34
  setup(Oe, { expose: ya, emit: fa }) {
35
- const ga = Q(() => import("./vue-ui-accordion-CRomxzaL.js")), pa = Q(() => import("./DataTable-mQ6Wd-rR.js")), ma = Q(() => import("./NonSvgPenAndPaper-DQ8KsK4W.js")), ba = Q(() => import("./vue-ui-skeleton-CUOhCY4p.js")), xa = Q(() => import("./Tooltip-BidRoM5E.js")), La = Q(() => import("./UserOptions-0tvMM8PF.js")), { vue_ui_xy_canvas: ka } = Ka(), g = Oe, be = d(Qa()), P = d(null), te = d(null), s = d(null), y = d(1), E = d(1), ce = d(!1), c = d(null), de = d(""), Re = d(null), $ = d([]), G = d(1), H = d(!0), Z = d(!0), xe = d(null), Pe = d(0), Ee = d(0), he = d(!1), Fe = d(null), Ae = d(null), De = d(null), Ne = d(null), Le = d(0), ke = d(0), Ce = d(0), M = d(null), we = L(() => !!g.dataset && g.dataset.length), Ca = fa, wa = Va();
35
+ const ga = Q(() => import("./vue-ui-accordion-CEDGlyKI.js")), pa = Q(() => import("./DataTable-D36ZRtpU.js")), ma = Q(() => import("./NonSvgPenAndPaper-B60MxEaz.js")), ba = Q(() => import("./vue-ui-skeleton-P-1SRvsT.js")), xa = Q(() => import("./Tooltip-lPcsweXz.js")), La = Q(() => import("./UserOptions-Dn5TCQxg.js")), { vue_ui_xy_canvas: ka } = Ka(), g = Oe, be = d(Qa()), P = d(null), te = d(null), s = d(null), y = d(1), E = d(1), ce = d(!1), c = d(null), de = d(""), Re = d(null), $ = d([]), G = d(1), H = d(!0), Z = d(!0), xe = d(null), Pe = d(0), Ee = d(0), he = d(!1), Fe = d(null), Ae = d(null), De = d(null), Ne = d(null), Le = d(0), ke = d(0), Ce = d(0), M = d(null), we = L(() => !!g.dataset && g.dataset.length), Ca = fa, wa = Va();
36
36
  sa(() => {
37
37
  wa["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
38
38
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-data-ui",
3
3
  "private": false,
4
- "version": "3.0.0-next.7",
4
+ "version": "3.0.0-next.8",
5
5
  "type": "module",
6
6
  "description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
7
7
  "keywords": [