vue-data-ui 3.18.4 → 3.18.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/dist/{PackageVersion-BIfMr89l.js → PackageVersion-sdNn_SJC.js} +1 -1
  2. package/dist/components/vue-ui-3d-bar.js +1 -1
  3. package/dist/components/vue-ui-accordion.js +1 -1
  4. package/dist/components/vue-ui-age-pyramid.js +1 -1
  5. package/dist/components/vue-ui-annotator.js +1 -1
  6. package/dist/components/vue-ui-bullet.js +1 -1
  7. package/dist/components/vue-ui-bump.js +1 -1
  8. package/dist/components/vue-ui-candlestick.js +1 -1
  9. package/dist/components/vue-ui-carousel-table.js +1 -1
  10. package/dist/components/vue-ui-chestnut.js +1 -1
  11. package/dist/components/vue-ui-chord.js +1 -1
  12. package/dist/components/vue-ui-circle-pack.js +1 -1
  13. package/dist/components/vue-ui-cursor.js +1 -1
  14. package/dist/components/vue-ui-dag.js +1 -1
  15. package/dist/components/vue-ui-dashboard.js +1 -1
  16. package/dist/components/vue-ui-digits.js +1 -1
  17. package/dist/components/vue-ui-donut-evolution.js +1 -1
  18. package/dist/components/vue-ui-donut.js +1 -1
  19. package/dist/components/vue-ui-dumbbell.js +1 -1
  20. package/dist/components/vue-ui-flow.js +1 -1
  21. package/dist/components/vue-ui-funnel.js +1 -1
  22. package/dist/components/vue-ui-galaxy.js +1 -1
  23. package/dist/components/vue-ui-gauge.js +1 -1
  24. package/dist/components/vue-ui-geo.js +1 -1
  25. package/dist/components/vue-ui-gizmo.js +1 -1
  26. package/dist/components/vue-ui-heatmap.js +1 -1
  27. package/dist/components/vue-ui-history-plot.js +1 -1
  28. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  29. package/dist/components/vue-ui-kpi.js +1 -1
  30. package/dist/components/vue-ui-mini-loader.js +1 -1
  31. package/dist/components/vue-ui-molecule.js +1 -1
  32. package/dist/components/vue-ui-mood-radar.js +1 -1
  33. package/dist/components/vue-ui-nested-donuts.js +1 -1
  34. package/dist/components/vue-ui-onion.js +1 -1
  35. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  36. package/dist/components/vue-ui-quadrant.js +1 -1
  37. package/dist/components/vue-ui-quick-chart.js +1 -1
  38. package/dist/components/vue-ui-radar.js +1 -1
  39. package/dist/components/vue-ui-rating.js +1 -1
  40. package/dist/components/vue-ui-relation-circle.js +1 -1
  41. package/dist/components/vue-ui-ridgeline.js +1 -1
  42. package/dist/components/vue-ui-rings.js +1 -1
  43. package/dist/components/vue-ui-scatter.js +1 -1
  44. package/dist/components/vue-ui-skeleton.js +1 -1
  45. package/dist/components/vue-ui-smiley.js +1 -1
  46. package/dist/components/vue-ui-spark-trend.js +1 -1
  47. package/dist/components/vue-ui-sparkbar.js +1 -1
  48. package/dist/components/vue-ui-sparkgauge.js +1 -1
  49. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  50. package/dist/components/vue-ui-sparkline.js +1 -1
  51. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  52. package/dist/components/vue-ui-stackbar.js +1 -1
  53. package/dist/components/vue-ui-stackline.js +1 -1
  54. package/dist/components/vue-ui-strip-plot.js +1 -1
  55. package/dist/components/vue-ui-table-heatmap.js +1 -1
  56. package/dist/components/vue-ui-table-sparkline.js +1 -1
  57. package/dist/components/vue-ui-table.js +1 -1
  58. package/dist/components/vue-ui-thermometer.js +1 -1
  59. package/dist/components/vue-ui-timer.js +1 -1
  60. package/dist/components/vue-ui-tiremarks.js +1 -1
  61. package/dist/components/vue-ui-treemap.js +1 -1
  62. package/dist/components/vue-ui-vertical-bar.js +1 -1
  63. package/dist/components/vue-ui-waffle.js +1 -1
  64. package/dist/components/vue-ui-wheel.js +1 -1
  65. package/dist/components/vue-ui-word-cloud.js +1 -1
  66. package/dist/components/vue-ui-world.js +1 -1
  67. package/dist/components/vue-ui-xy-canvas.js +1 -1
  68. package/dist/components/vue-ui-xy.js +1 -1
  69. package/dist/style.css +1 -1
  70. package/dist/types/vue-data-ui.d.ts +2 -0
  71. package/dist/{useConfig-BV0kTCnO.js → useConfig-Bc9KHPF4.js} +2 -1
  72. package/dist/{useObjectBindings-Ce_ZZk-f.js → useObjectBindings-BvfJ3hRY.js} +1 -1
  73. package/dist/utils.js +1 -1
  74. package/dist/{vue-data-ui-Wr6-S9EX.js → vue-data-ui-sGqoT3c9.js} +67 -67
  75. package/dist/vue-data-ui.js +68 -68
  76. package/dist/{vue-ui-3d-bar-LiAqP781.js → vue-ui-3d-bar-C3hPjSrg.js} +2 -2
  77. package/dist/{vue-ui-accordion-cVv18nTV.js → vue-ui-accordion-DX5HeXF5.js} +1 -1
  78. package/dist/{vue-ui-age-pyramid-CTHUPhvW.js → vue-ui-age-pyramid-GGrD4IEh.js} +2 -2
  79. package/dist/{vue-ui-annotator-B9mA_PlF.js → vue-ui-annotator-CQ_CYhzf.js} +2 -2
  80. package/dist/{vue-ui-bullet-Bajk8MIY.js → vue-ui-bullet-DtrCqmnf.js} +2 -2
  81. package/dist/{vue-ui-bump-BKLTUDLW.js → vue-ui-bump-x1u4Tz4C.js} +2 -2
  82. package/dist/{vue-ui-candlestick-BTb7d0AS.js → vue-ui-candlestick-CKUDQebI.js} +2 -2
  83. package/dist/{vue-ui-carousel-table-iRWAi2wg.js → vue-ui-carousel-table-DgIS8XIx.js} +2 -2
  84. package/dist/{vue-ui-chestnut-a88ukfxE.js → vue-ui-chestnut-DH0Ao100.js} +2 -2
  85. package/dist/{vue-ui-chord-BbI1-lsC.js → vue-ui-chord-DKIblwCg.js} +2 -2
  86. package/dist/{vue-ui-circle-pack-DWaIDPsl.js → vue-ui-circle-pack-CY6Q5PYZ.js} +2 -2
  87. package/dist/{vue-ui-cursor-Bm3EYKYW.js → vue-ui-cursor-BPS6jUrO.js} +2 -2
  88. package/dist/{vue-ui-dag-C45i25qr.js → vue-ui-dag-DxpIAmJq.js} +2 -2
  89. package/dist/{vue-ui-dashboard-NPke80jQ.js → vue-ui-dashboard-CVLuS3tw.js} +65 -65
  90. package/dist/{vue-ui-digits-CRmqw9qB.js → vue-ui-digits-CBjh1slE.js} +2 -2
  91. package/dist/{vue-ui-donut-BZmdvDTt.js → vue-ui-donut-D07k4eg8.js} +2 -2
  92. package/dist/{vue-ui-donut-evolution-CHmXN-Jn.js → vue-ui-donut-evolution-Dpm9YUOj.js} +2 -2
  93. package/dist/{vue-ui-dumbbell-Sc0284dz.js → vue-ui-dumbbell-D_4zIeyv.js} +2 -2
  94. package/dist/{vue-ui-flow-BsWTziuy.js → vue-ui-flow-Zy3rBFZi.js} +2 -2
  95. package/dist/{vue-ui-funnel-CiZTp1me.js → vue-ui-funnel-hr5juV4V.js} +2 -2
  96. package/dist/{vue-ui-galaxy-CESuLzxI.js → vue-ui-galaxy-CdELCFAd.js} +2 -2
  97. package/dist/{vue-ui-gauge-DP2zUL0h.js → vue-ui-gauge-BLzmjcQD.js} +2 -2
  98. package/dist/{vue-ui-geo-CN9ujHFQ.js → vue-ui-geo-BChbk2Hg.js} +2 -2
  99. package/dist/{vue-ui-gizmo-b89rBZ_1.js → vue-ui-gizmo-rGmWdhBQ.js} +2 -2
  100. package/dist/{vue-ui-heatmap-pVDHQXRU.js → vue-ui-heatmap-BkemBgrx.js} +3 -3
  101. package/dist/{vue-ui-history-plot-CrdoDusc.js → vue-ui-history-plot-DtRwG20f.js} +2 -2
  102. package/dist/{vue-ui-horizontal-bar-W85Az1bg.js → vue-ui-horizontal-bar-v8JHlakm.js} +3 -3
  103. package/dist/{vue-ui-kpi-BrbRbdEh.js → vue-ui-kpi-CbYGRjw6.js} +2 -2
  104. package/dist/{vue-ui-mini-loader-BcCG6Yqb.js → vue-ui-mini-loader-CINjHFmm.js} +1 -1
  105. package/dist/{vue-ui-molecule-CNvUirzZ.js → vue-ui-molecule-D-J2pWsN.js} +2 -2
  106. package/dist/{vue-ui-mood-radar-PMiphOmU.js → vue-ui-mood-radar-CdRxxk0n.js} +2 -2
  107. package/dist/{vue-ui-nested-donuts-fZx83AnA.js → vue-ui-nested-donuts-Cz7EHVyx.js} +2 -2
  108. package/dist/{vue-ui-onion-Dje-weuv.js → vue-ui-onion-CO8p1JTi.js} +2 -2
  109. package/dist/{vue-ui-parallel-coordinate-plot-DfNs8FYS.js → vue-ui-parallel-coordinate-plot-r2k875_U.js} +2 -2
  110. package/dist/{vue-ui-quadrant-XHxq-DlE.js → vue-ui-quadrant-BAvO1Glx.js} +2 -2
  111. package/dist/{vue-ui-quick-chart-CaHl0J15.js → vue-ui-quick-chart-Dnp1rtbG.js} +2 -2
  112. package/dist/{vue-ui-radar-DNahNoSY.js → vue-ui-radar-BrxOXNdC.js} +2 -2
  113. package/dist/{vue-ui-rating-DA9Bmfyb.js → vue-ui-rating-BFfT2Pqg.js} +1 -1
  114. package/dist/{vue-ui-relation-circle-DEkfxis6.js → vue-ui-relation-circle-CbC71cfl.js} +2 -2
  115. package/dist/{vue-ui-ridgeline-DJCIoplO.js → vue-ui-ridgeline-cOTWhQj-.js} +2 -2
  116. package/dist/{vue-ui-rings-BmwAXIIS.js → vue-ui-rings-CRrBrqta.js} +2 -2
  117. package/dist/{vue-ui-scatter-gDbtwMUL.js → vue-ui-scatter-DuHuJOUV.js} +2 -2
  118. package/dist/{vue-ui-skeleton-Dk3sAiyy.js → vue-ui-skeleton-Csp41587.js} +2 -2
  119. package/dist/{vue-ui-smiley-B6nc7b71.js → vue-ui-smiley-DEXO-F37.js} +1 -1
  120. package/dist/{vue-ui-spark-trend-D8yEotVY.js → vue-ui-spark-trend-pqdjH6Xm.js} +2 -2
  121. package/dist/{vue-ui-sparkbar-nYDeWrnP.js → vue-ui-sparkbar-C-X2phQ7.js} +2 -2
  122. package/dist/{vue-ui-sparkgauge-DLlF5ikf.js → vue-ui-sparkgauge-Dh1N1yEe.js} +2 -2
  123. package/dist/{vue-ui-sparkhistogram-BiBnGnPd.js → vue-ui-sparkhistogram-D-fkk68G.js} +2 -2
  124. package/dist/{vue-ui-sparkline-BZreSPaz.js → vue-ui-sparkline-DE8Z8Ciy.js} +2 -2
  125. package/dist/{vue-ui-sparkstackbar-CsDTWemd.js → vue-ui-sparkstackbar-CVx0Bd7_.js} +2 -2
  126. package/dist/{vue-ui-stackbar-O5MKTViN.js → vue-ui-stackbar-DiIJJhri.js} +2 -2
  127. package/dist/{vue-ui-stackline-C3H-w9qM.js → vue-ui-stackline-C9EzEmfc.js} +2 -2
  128. package/dist/{vue-ui-strip-plot-DHj_ep-p.js → vue-ui-strip-plot-jMZRbtW9.js} +2 -2
  129. package/dist/{vue-ui-table-CKlbqFCS.js → vue-ui-table-BQu89RtZ.js} +3 -3
  130. package/dist/{vue-ui-table-heatmap-CfGJVzI3.js → vue-ui-table-heatmap-BUtctJvL.js} +1 -1
  131. package/dist/{vue-ui-table-sparkline-RzS0ScTK.js → vue-ui-table-sparkline-glnC8X0z.js} +2 -2
  132. package/dist/{vue-ui-thermometer-BBUD_cKx.js → vue-ui-thermometer-DtRXXI_M.js} +2 -2
  133. package/dist/{vue-ui-timer-C2uHLhKn.js → vue-ui-timer-PNQOfSZO.js} +2 -2
  134. package/dist/{vue-ui-tiremarks-DapXAkBg.js → vue-ui-tiremarks-BiUnlf_f.js} +2 -2
  135. package/dist/{vue-ui-treemap-F6LUlmcN.js → vue-ui-treemap-Dz8-KYZ-.js} +2 -2
  136. package/dist/{vue-ui-waffle-BcSsPMHf.js → vue-ui-waffle-CGNSkRrU.js} +2 -2
  137. package/dist/{vue-ui-wheel-CGbzQLRr.js → vue-ui-wheel-B58ts6kX.js} +2 -2
  138. package/dist/{vue-ui-word-cloud-ClUfpy7l.js → vue-ui-word-cloud-DXx7rzvb.js} +2 -2
  139. package/dist/{vue-ui-world-BG0sN6kF.js → vue-ui-world-DMNizkIB.js} +2 -2
  140. package/dist/{vue-ui-xy-ClcDhyHP.js → vue-ui-xy-BnRvI9E8.js} +74 -56
  141. package/dist/{vue-ui-xy-canvas-DF3izGyG.js → vue-ui-xy-canvas-CO5nY0eA.js} +2 -2
  142. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
2
2
  import { At as t, B as n, D as r, F as i, G as a, H as o, I as s, It as c, J as l, L as u, Lt as ee, M as te, Mt as d, O as f, Ot as p, P as m, R as ne, Rt as re, S as ie, St as ae, T as oe, Tt as h, X as se, _t as ce, a as g, c as le, dt as _, et as v, g as ue, h as de, i as fe, j as pe, jt as me, k as he, l as ge, mt as _e, n as ve, nt as ye, pt as be, r as xe, s as Se, v as y, w as Ce, x as we, y as Te, z as Ee, zt as De } from "./lib-BkiwukKO.js";
3
3
  import { n as Oe, r as ke, t as Ae } from "./useTimeLabels-C0x7zUXP.js";
4
- import { t as je } from "./useConfig-BV0kTCnO.js";
4
+ import { t as je } from "./useConfig-Bc9KHPF4.js";
5
5
  import { t as Me } from "./usePrinter-X0yWOynH.js";
6
6
  import { n as Ne, t as Pe } from "./BaseScanner-C7dmAref.js";
7
7
  import { t as Fe } from "./useSvgExport-Dtu973wa.js";
@@ -15,7 +15,7 @@ import { t as He } from "./vue_ui_xy-BYPqfYyx.js";
15
15
  import { t as Ue } from "./Shape-DEGOZ6GG.js";
16
16
  import { t as We } from "./_plugin-vue_export-helper-Dq1MygBL.js";
17
17
  import { t as Ge } from "./SlicerPreview-7pKvVSTr.js";
18
- import { t as Ke } from "./vue-ui-accordion-cVv18nTV.js";
18
+ import { t as Ke } from "./vue-ui-accordion-DX5HeXF5.js";
19
19
  import { t as qe } from "./BaseLegendToggle-DUIqQmwM.js";
20
20
  import { t as Je } from "./A11yDataTable-q2-8fSlJ.js";
21
21
  import { Fragment as b, Teleport as Ye, computed as x, createBlock as Xe, createCommentVNode as S, createElementBlock as C, createElementVNode as w, createSlots as Ze, createTextVNode as Qe, createVNode as $e, defineAsyncComponent as et, getCurrentInstance as tt, guardReactiveProps as T, mergeProps as nt, nextTick as rt, normalizeClass as it, normalizeProps as E, normalizeStyle as D, onBeforeUnmount as at, onMounted as ot, openBlock as O, ref as k, renderList as A, renderSlot as j, resolveDynamicComponent as st, shallowRef as ct, toDisplayString as lt, toRefs as ut, unref as M, useSlots as dt, vModelCheckbox as ft, watch as pt, watchEffect as mt, withCtx as N, withDirectives as ht } from "vue";
@@ -455,7 +455,7 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
455
455
  "copyAlt"
456
456
  ],
457
457
  setup(e, { expose: We, emit: gt }) {
458
- let P = e, ei = et(() => import("./DataTable-BvDJEAma.js")), ti = et(() => import("./Tooltip-B7lmdbac.js")), ni = et(() => import("./UserOptions-DMw8EZEo.js").then((e) => e.n)), ri = et(() => import("./BaseIcon-CEmt3Ifx.js").then((e) => e.n)), ii = et(() => import("./vue-ui-table-sparkline-RzS0ScTK.js").then((e) => e.n)), ai = et(() => import("./PackageVersion-BIfMr89l.js").then((e) => e.t)), oi = et(() => import("./PenAndPaper-DwpL8Z0l.js").then((e) => e.t)), si = et(() => import("./BaseDraggableDialog-BQcmQAK5.js").then((e) => e.n)), ci = gt, li = dt(), ui = tt(), { vue_ui_xy: di } = je(), { isThemeValid: fi, warnInvalidTheme: pi } = Le(), mi = k(null), hi = k(null), gi = k(null), _i = k(null), vi = k(null), yi = k(null), bi = k(null), xi = k(null), Si = k(null), Ci = k(null), wi = k(null), Ti = k(null), Ei = k(null), Di = k(null), Oi = k(0), F = k(null), ki = k(!0), Ai = k(600), I = k(1e3), ji = k("0 0 1000 600"), Mi = k({
458
+ let P = e, ei = et(() => import("./DataTable-BvDJEAma.js")), ti = et(() => import("./Tooltip-B7lmdbac.js")), ni = et(() => import("./UserOptions-DMw8EZEo.js").then((e) => e.n)), ri = et(() => import("./BaseIcon-CEmt3Ifx.js").then((e) => e.n)), ii = et(() => import("./vue-ui-table-sparkline-glnC8X0z.js").then((e) => e.n)), ai = et(() => import("./PackageVersion-sdNn_SJC.js").then((e) => e.t)), oi = et(() => import("./PenAndPaper-DwpL8Z0l.js").then((e) => e.t)), si = et(() => import("./BaseDraggableDialog-BQcmQAK5.js").then((e) => e.n)), ci = gt, li = dt(), ui = tt(), { vue_ui_xy: di } = je(), { isThemeValid: fi, warnInvalidTheme: pi } = Le(), mi = k(null), hi = k(null), gi = k(null), _i = k(null), vi = k(null), yi = k(null), bi = k(null), xi = k(null), Si = k(null), Ci = k(null), wi = k(null), Ti = k(null), Ei = k(null), Di = k(null), Oi = k(0), F = k(null), ki = k(!0), Ai = k(600), I = k(1e3), ji = k("0 0 1000 600"), Mi = k({
459
459
  x: 0,
460
460
  y: 0
461
461
  }), Ni = k({
@@ -672,13 +672,13 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
672
672
  ],
673
673
  type: "bar",
674
674
  color: "#CACACA"
675
- }]), { loading: G, FINAL_DATASET: xa, manualLoading: Sa } = Ne({
675
+ }]), { loading: xa, FINAL_DATASET: Sa, manualLoading: Ca } = Ne({
676
676
  ...ut(P),
677
677
  FINAL_CONFIG: U,
678
678
  prepareConfig: pa,
679
679
  callback: () => {
680
680
  Promise.resolve().then(async () => {
681
- await jo(), W.value.showTable = U.value.showTable;
681
+ (!U.value.chart.zoom.keepState || !Do.value || K.value.start === 0 && K.value.end === 0) && await jo(), W.value.showTable = U.value.showTable;
682
682
  });
683
683
  },
684
684
  skeletonDataset: ba.value,
@@ -687,7 +687,7 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
687
687
  userConfig: ya.value
688
688
  })
689
689
  });
690
- function Ca(e) {
690
+ function wa(e) {
691
691
  let t = /* @__PURE__ */ new WeakMap();
692
692
  return (n, ...r) => {
693
693
  let i = t.get(n), a = JSON.stringify(r);
@@ -696,24 +696,24 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
696
696
  return i || (i = /* @__PURE__ */ new Map(), t.set(n, i)), i.set(a, o), o;
697
697
  };
698
698
  }
699
- let wa = Ca((e, t) => ce({
699
+ let Ta = wa((e, t) => ce({
700
700
  data: e,
701
701
  threshold: t
702
- })), Ta = (e) => wa(e, U.value.downsample.threshold), Ea = x({
703
- get: () => Math.max(...xa.value.map((e) => Ta(e.series).length)),
702
+ })), Ea = (e) => Ta(e, U.value.downsample.threshold), G = x({
703
+ get: () => Math.max(...Sa.value.map((e) => Ea(e.series).length)),
704
704
  set: (e) => e
705
705
  }), K = k({
706
706
  start: 0,
707
- end: Ea.value
707
+ end: G.value
708
708
  }), Da = k({
709
709
  start: 0,
710
- end: Ea.value
710
+ end: G.value
711
711
  }), Oa = x(() => U.value.chart.zoom.preview.enable && (Da.value.start !== K.value.start || Da.value.end !== K.value.end));
712
712
  function ka(e, t) {
713
713
  Da.value[e] = t;
714
714
  }
715
715
  function Aa() {
716
- let e = Math.max(1, ...xa.value.map((e) => Ta(e.series).length)), t = Math.max(0, Math.min(K.value.start ?? 0, e - 1)), n = Math.max(t + 1, Math.min(K.value.end ?? e, e));
716
+ let e = Math.max(1, ...Sa.value.map((e) => Ea(e.series).length)), t = Math.max(0, Math.min(K.value.start ?? 0, e - 1)), n = Math.max(t + 1, Math.min(K.value.end ?? e, e));
717
717
  (!Number.isFinite(t) || !Number.isFinite(n) || n <= t) && (t = 0, n = e), K.value = {
718
718
  start: t,
719
719
  end: n
@@ -794,8 +794,8 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
794
794
  }
795
795
  let n = Ra.value === null ? e > 0 ? 0 : e : Ra.value, r = Ba.value === null ? t : Ba.value;
796
796
  return Ua(e < n ? e : n, t > r ? t : r).max;
797
- }), Ka = x(() => U.value.chart.grid.labels.yAxis.useNiceScale ? de(Wa.value, Ga.value < 0 ? 0 : Ga.value, U.value.chart.grid.labels.yAxis.commonScaleSteps) : ue(Wa.value, Ga.value < 0 ? 0 : Ga.value, U.value.chart.grid.labels.yAxis.commonScaleSteps)), qa = x(() => [null, void 0].includes(U.value.chart.grid.labels.yAxis.scaleMin) ? Ka.value.min >= 0 ? 0 : Math.abs(Ka.value.min) : -Ka.value.min), Ja = x(() => ki.value ? xa.value.map((e, t) => {
798
- let n = Ta(e.series), r = `uniqueId_${t}`;
797
+ }), Ka = x(() => U.value.chart.grid.labels.yAxis.useNiceScale ? de(Wa.value, Ga.value < 0 ? 0 : Ga.value, U.value.chart.grid.labels.yAxis.commonScaleSteps) : ue(Wa.value, Ga.value < 0 ? 0 : Ga.value, U.value.chart.grid.labels.yAxis.commonScaleSteps)), qa = x(() => [null, void 0].includes(U.value.chart.grid.labels.yAxis.scaleMin) ? Ka.value.min >= 0 ? 0 : Math.abs(Ka.value.min) : -Ka.value.min), Ja = x(() => ki.value ? Sa.value.map((e, t) => {
798
+ let n = Ea(e.series), r = `uniqueId_${t}`;
799
799
  return {
800
800
  ...e,
801
801
  slotAbsoluteIndex: t,
@@ -804,7 +804,7 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
804
804
  id: r,
805
805
  scaleLabel: e.scaleLabel || r
806
806
  };
807
- }) : xa.value), Ya = x(() => Ja.value.map((e, t) => ({
807
+ }) : Sa.value), Ya = x(() => Ja.value.map((e, t) => ({
808
808
  absoluteIndex: t,
809
809
  ...e,
810
810
  series: e.series.map((e) => e + qa.value),
@@ -847,10 +847,10 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
847
847
  e = 0;
848
848
  }
849
849
  return e + $a.value + H.value.xAxis;
850
- }), ro = x(() => xa.value.some((e) => e.useProgression)), q = x(() => {
850
+ }), ro = x(() => Sa.value.some((e) => e.useProgression)), q = x(() => {
851
851
  na.value;
852
852
  let e = 0;
853
- U.value.chart.grid.labels.show && (e = W.value.useIndividualScale && !W.value.isStacked ? (xa.value.length - L.value.length) * (U.value.chart.grid.labels.yAxis.labelWidth + 36) : W.value.useIndividualScale && W.value.isStacked ? U.value.chart.grid.labels.yAxis.labelWidth + 36 : Qa());
853
+ U.value.chart.grid.labels.show && (e = W.value.useIndividualScale && !W.value.isStacked ? (Sa.value.length - L.value.length) * (U.value.chart.grid.labels.yAxis.labelWidth + 36) : W.value.useIndividualScale && W.value.isStacked ? U.value.chart.grid.labels.yAxis.labelWidth + 36 : Qa());
854
854
  let t = U.value.chart.labels.fontSize * 1.1, n = ro.value ? 24 : 6;
855
855
  Ci.value && eo.value < 0 && (e += Math.abs(eo.value));
856
856
  let r = I.value - e - U.value.chart.grid.labels.yAxis.crosshairSize - n - U.value.chart.padding?.left - U.value.chart.padding?.right, i = U.value.chart.grid.position === "middle" ? 0 : r / Y.value / 2;
@@ -903,7 +903,7 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
903
903
  mt(() => {
904
904
  let e = ++ho;
905
905
  (async () => {
906
- let t = Math.max(...xa.value.map((e) => ce({
906
+ let t = Math.max(...Sa.value.map((e) => ce({
907
907
  data: e.series,
908
908
  threshold: U.value.downsample.threshold
909
909
  }).length)), n = await Ae({
@@ -920,7 +920,7 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
920
920
  mt(() => {
921
921
  let e = ++go;
922
922
  (async () => {
923
- let t = Math.max(...xa.value.map((e) => ce({
923
+ let t = Math.max(...Sa.value.map((e) => ce({
924
924
  data: e.series,
925
925
  threshold: U.value.downsample.threshold
926
926
  }).length)), n = await Ae({
@@ -928,7 +928,7 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
928
928
  maxDatapoints: t,
929
929
  formatter: U.value.chart.grid.labels.xAxisLabels.datetimeFormatter,
930
930
  start: 0,
931
- end: Ea.value
931
+ end: G.value
932
932
  });
933
933
  e === go && (mo.value = n);
934
934
  })();
@@ -992,7 +992,7 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
992
992
  return r;
993
993
  }
994
994
  function To(e) {
995
- let t = Math.max(...xa.value.map((e) => Ta(e.series).length));
995
+ let t = Math.max(...Sa.value.map((e) => Ea(e.series).length));
996
996
  return e > t ? t : e < 0 || U.value.chart.zoom.startIndex !== null && e < U.value.chart.zoom.startIndex ? U.value.chart.zoom.startIndex === null ? 1 : U.value.chart.zoom.startIndex + 1 : e;
997
997
  }
998
998
  let Eo = k(!1), Do = k(!1), Oo = k(0), ko = k(0);
@@ -1004,7 +1004,8 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
1004
1004
  if (!Eo.value) {
1005
1005
  Eo.value = !0;
1006
1006
  try {
1007
- let { startIndex: e, endIndex: t } = U.value.chart.zoom, n = Math.max(...xa.value.map((e) => Ta(e.series).length));
1007
+ let { startIndex: e, endIndex: t } = U.value.chart.zoom, n = U.value.chart.zoom.keepState ? Math.max(0, ...Sa.value.map((e) => Ea(e.series).length)) : Math.max(...Sa.value.map((e) => Ea(e.series).length));
1008
+ if (U.value.chart.zoom.keepState && n <= 0) return;
1008
1009
  Oo.value = 0, ko.value = n;
1009
1010
  let r = e ?? 0, i = t == null ? n : Math.min(To(t + 1), n);
1010
1011
  Mo.value = !0, K.value.start = r, K.value.end = i, Da.value.start = r, Da.value.end = i, Aa(), Do.value = !0;
@@ -1231,7 +1232,7 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
1231
1232
  }
1232
1233
  let ss = x(() => `${U.value.chart.title.text || "Chart visualization"}. ${U.value.chart.title.subtitle.text || ""}`), cs = x(() => ({ linePlot: Y.value > U.value.line.dot.hideAboveMaxSerieLength })), ls = x(() => U.value.chart.userOptions.show && (!U.value.chart.title.show || !U.value.chart.title.text)), us = x(() => {
1233
1234
  if (Array.isArray(U.value.chart.highlightArea)) return U.value.chart.highlightArea.map((e) => {
1234
- let t = Math.min(e.to, Ea.value - 1);
1235
+ let t = Math.min(e.to, G.value - 1);
1235
1236
  return {
1236
1237
  ...e,
1237
1238
  span: e.from === t ? 1 : t < e.from ? 0 : t - e.from + 1
@@ -1239,18 +1240,18 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
1239
1240
  });
1240
1241
  let e = {
1241
1242
  ...U.value.chart.highlightArea,
1242
- to: Math.min(U.value.chart.highlightArea.to, Ea.value - 1)
1243
+ to: Math.min(U.value.chart.highlightArea.to, G.value - 1)
1243
1244
  };
1244
1245
  return [{
1245
1246
  ...e,
1246
1247
  span: e.from === e.to ? 1 : e.to < e.from ? 0 : e.to - e.from + 1
1247
1248
  }];
1248
- }), ds = x(() => ki.value ? xa.value.map((e, t) => ({
1249
+ }), ds = x(() => ki.value ? Sa.value.map((e, t) => ({
1249
1250
  ...e,
1250
- series: Ta(e.series),
1251
+ series: Ea(e.series),
1251
1252
  id: `uniqueId_${t}`,
1252
1253
  color: Te(e.color ? e.color : La.value[t] ? La.value[t] : h[t])
1253
- })) : xa.value), fs = x(() => Xa.value.map((e) => {
1254
+ })) : Sa.value), fs = x(() => Xa.value.map((e) => {
1254
1255
  let t = e.absoluteValues.map((e) => [void 0, null].includes(e) ? 0 : e);
1255
1256
  return {
1256
1257
  id: e.id,
@@ -2072,25 +2073,25 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
2072
2073
  componentName: "VueUiXy",
2073
2074
  type: "dataset",
2074
2075
  debug: va.value
2075
- }), Sa.value = !0) : P.dataset.forEach((e, t) => {
2076
+ }), Ca.value = !0) : P.dataset.forEach((e, t) => {
2076
2077
  [null, void 0].includes(e.name) && (se({
2077
2078
  componentName: "VueUiXy",
2078
2079
  type: "datasetSerieAttribute",
2079
2080
  property: "name (string)",
2080
2081
  index: t,
2081
2082
  debug: va.value
2082
- }), Sa.value = !0);
2083
+ }), Ca.value = !0);
2083
2084
  }), va.value && P.dataset.forEach((e) => {
2084
2085
  e.series.forEach((t, n) => {
2085
2086
  _e(t) || console.warn(`VueUiXy has detected an unsafe value in your dataset:\n-----> The serie '${e.name}' contains the value '${t}' at index ${n}.\n'${t}' was converted to null to allow the chart to display.`);
2086
2087
  });
2087
- }), ae(P.dataset) || (Sa.value = U.value.loading), Ui.value = U.value.chart.userOptions.showOnChartHover, Wi.value = U.value.chart.userOptions.keepStateOnChartLeave, Gi.value = !U.value.chart.userOptions.showOnChartHover, _a(), U.value.responsive) {
2088
+ }), ae(P.dataset) || (Ca.value = U.value.loading), Ui.value = U.value.chart.userOptions.showOnChartHover, Wi.value = U.value.chart.userOptions.keepStateOnChartLeave, Gi.value = !U.value.chart.userOptions.showOnChartHover, _a(), U.value.responsive) {
2088
2089
  let e = mi.value.parentNode;
2089
2090
  Ei.value && (Ei.value.unobserve(Di.value), Ei.value.disconnect());
2090
2091
  let { height: t, width: n } = e.getBoundingClientRect(), r = null, i = 0;
2091
2092
  U.value.chart.title.show && hi.value && (r = hi.value, i = r.getBoundingClientRect().height);
2092
2093
  let a = null, o = 0;
2093
- U.value.chart.zoom.show && Ea.value > 6 && ha.value && gi.value && gi.value.$el && (a = gi.value.$el, o = a.getBoundingClientRect().height);
2094
+ U.value.chart.zoom.show && G.value > 6 && ha.value && gi.value && gi.value.$el && (a = gi.value.$el, o = a.getBoundingClientRect().height);
2094
2095
  let s = null, c = 0;
2095
2096
  U.value.chart.legend.show && _i.value && (s = _i.value, c = s.getBoundingClientRect().height);
2096
2097
  let l = 0;
@@ -2228,12 +2229,28 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
2228
2229
  return U.value[t].labels.rotation === 0 ? "middle" : U.value[t].labels.alwaysOnTop || n ? "start" : "end";
2229
2230
  }
2230
2231
  pt(() => P.dataset, (e) => {
2231
- Array.isArray(e) && e.length > 0 && (Sa.value = !1), Ea.value = Math.max(...xa.value.map((e) => Ta(e.series).length)), K.value = {
2232
+ if (Array.isArray(e) && e.length > 0 && (Ca.value = !1), U.value.chart.zoom.keepState) {
2233
+ if (G.value = Math.max(0, ...Sa.value.map((e) => Ea(e.series).length)), G.value > 0) {
2234
+ let e = K.value.start, t = K.value.end;
2235
+ if (!Do.value || e === 0 && t === 0) jo();
2236
+ else {
2237
+ let n = Math.max(0, Math.min(e, G.value - 1)), r = Math.max(n + 1, Math.min(t, G.value));
2238
+ K.value = {
2239
+ start: n,
2240
+ end: r
2241
+ }, Da.value = {
2242
+ start: n,
2243
+ end: r
2244
+ }, Oo.value = 0, ko.value = G.value;
2245
+ }
2246
+ }
2247
+ } else G.value = Math.max(...Sa.value.map((e) => Ea(e.series).length)), K.value = {
2232
2248
  start: 0,
2233
- end: Ea.value
2234
- }, Oi.value += 1, Hi.value += 1, aa(), sa(), Aa();
2249
+ end: G.value
2250
+ };
2251
+ Oi.value += 1, Hi.value += 1, aa(), sa(), Aa();
2235
2252
  }, { deep: !0 }), pt(() => P.config, (e) => {
2236
- G.value || (U.value = pa()), Ks(), Bi.value += 1, zi.value += 1, _a(), aa(), sa(), Aa();
2253
+ xa.value || (U.value = pa()), Ks(), Bi.value += 1, zi.value += 1, _a(), aa(), sa(), U.value.chart.zoom.keepState && (G.value = Math.max(0, ...Sa.value.map((e) => Ea(e.series).length)), G.value > 0 && (!Do.value || K.value.start === 0 && K.value.end === 0) && jo()), Aa();
2237
2254
  }, { deep: !0 });
2238
2255
  let ac = k(!1);
2239
2256
  function oc() {
@@ -2248,7 +2265,7 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
2248
2265
  ot(() => {
2249
2266
  oc();
2250
2267
  let e = new ResizeObserver(() => {
2251
- oc(), ac.value && (Ks(), Aa(), jo());
2268
+ oc(), ac.value && (Ks(), Aa(), U.value.chart.zoom.keepState || jo());
2252
2269
  });
2253
2270
  mi.value?.parentNode && e.observe(mi.value.parentNode);
2254
2271
  }), pt(U, () => {
@@ -2403,7 +2420,8 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
2403
2420
  toggleTooltip: Us,
2404
2421
  toggleAnnotator: po,
2405
2422
  toggleFullscreen: Ws,
2406
- copyAlt: gc
2423
+ copyAlt: gc,
2424
+ resetZoom: Fo
2407
2425
  }), (r, i) => (O(), C("div", {
2408
2426
  id: `vue-ui-xy_${R.value}`,
2409
2427
  class: it(`vue-data-ui-component vue-ui-xy ${Fi.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${U.value.useCssAnimation ? "" : "vue-ui-dna"}`),
@@ -2850,7 +2868,7 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
2850
2868
  fill: U.value.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${t}_${R.value})` : `url(#rectGradient_neg_${t}_${R.value})` : e.color,
2851
2869
  stroke: U.value.bar.border.useSerieColor ? e.color : U.value.bar.border.stroke,
2852
2870
  "stroke-width": U.value.bar.border.strokeWidth,
2853
- style: D({ transition: M(G) || !U.value.bar.showTransition ? void 0 : `all ${U.value.bar.transitionDurationMs}ms ease-in-out` })
2871
+ style: D({ transition: M(xa) || !U.value.bar.showTransition ? void 0 : `all ${U.value.bar.transitionDurationMs}ms ease-in-out` })
2854
2872
  }, null, 12, on)) : S("", !0),
2855
2873
  Io(n.value) && r.$slots.pattern ? (O(), C("rect", {
2856
2874
  key: 1,
@@ -2862,7 +2880,7 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
2862
2880
  fill: `url(#pattern_${R.value}_${e.slotAbsoluteIndex})`,
2863
2881
  stroke: U.value.bar.border.useSerieColor ? e.color : U.value.bar.border.stroke,
2864
2882
  "stroke-width": U.value.bar.border.strokeWidth,
2865
- style: D({ transition: M(G) || !U.value.bar.showTransition ? void 0 : `all ${U.value.bar.transitionDurationMs}ms ease-in-out` })
2883
+ style: D({ transition: M(xa) || !U.value.bar.showTransition ? void 0 : `all ${U.value.bar.transitionDurationMs}ms ease-in-out` })
2866
2884
  }, null, 12, sn)) : S("", !0),
2867
2885
  n.comment && U.value.chart.comments.show ? (O(), C("foreignObject", {
2868
2886
  key: 2,
@@ -3014,7 +3032,7 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
3014
3032
  radius: V.value !== null && V.value === i || z.value !== null && z.value === i ? (fa.value.plot || 6) * 1.5 : fa.value.plot || 6,
3015
3033
  stroke: U.value.plot.dot.useSerieColor ? U.value.chart.backgroundColor : e.color,
3016
3034
  strokeWidth: U.value.plot.dot.strokeWidth,
3017
- transition: M(G) || !U.value.plot.showTransition || V.value !== null && V.value === i || z.value !== null && z.value === i ? void 0 : `all ${U.value.plot.transitionDurationMs}ms ease-in-out`
3035
+ transition: M(xa) || !U.value.plot.showTransition || V.value !== null && V.value === i || z.value !== null && z.value === i ? void 0 : `all ${U.value.plot.transitionDurationMs}ms ease-in-out`
3018
3036
  }, null, 8, [
3019
3037
  "shape",
3020
3038
  "color",
@@ -3047,7 +3065,7 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
3047
3065
  "stroke-width": U.value.line.strokeWidth + 1,
3048
3066
  "stroke-dasharray": e.dashed ? U.value.line.strokeWidth * 2 : 0,
3049
3067
  fill: "none",
3050
- style: D({ transition: M(G) || !U.value.line.showTransition ? void 0 : `all ${U.value.line.transitionDurationMs}ms ease-in-out` })
3068
+ style: D({ transition: M(xa) || !U.value.line.showTransition ? void 0 : `all ${U.value.line.transitionDurationMs}ms ease-in-out` })
3051
3069
  }, null, 12, xn)) : e.plots.length > 1 && e.straight ? (O(), C("path", {
3052
3070
  key: 1,
3053
3071
  d: `M${e.straight}`,
@@ -3057,7 +3075,7 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
3057
3075
  fill: "none",
3058
3076
  "stroke-linecap": "round",
3059
3077
  "stroke-linejoin": "round",
3060
- style: D({ transition: M(G) || !U.value.line.showTransition ? void 0 : `all ${U.value.line.transitionDurationMs}ms ease-in-out` })
3078
+ style: D({ transition: M(xa) || !U.value.line.showTransition ? void 0 : `all ${U.value.line.transitionDurationMs}ms ease-in-out` })
3061
3079
  }, null, 12, Sn)) : S("", !0)], 6))), 128)),
3062
3080
  r.$slots.pattern ? (O(), C("defs", Cn, [(O(!0), C(b, null, A(Ja.value, (e, t) => j(r.$slots, "pattern", nt({ key: `serie_pattern_slot_${e.id}` }, { ref_for: !0 }, {
3063
3081
  ...e,
@@ -3071,7 +3089,7 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
3071
3089
  "fill-opacity": U.value.line.interLine.fillOpacity,
3072
3090
  stroke: "none",
3073
3091
  "pointer-events": "none",
3074
- style: D({ transition: M(G) || !U.value.line.showTransition ? void 0 : `all ${U.value.line.transitionDurationMs}ms ease-in-out` })
3092
+ style: D({ transition: M(xa) || !U.value.line.showTransition ? void 0 : `all ${U.value.line.transitionDurationMs}ms ease-in-out` })
3075
3093
  }, null, 12, Tn))), 128))])) : S("", !0),
3076
3094
  (O(!0), C(b, null, A($.value, (e, t) => (O(), C("g", {
3077
3095
  key: `serie_line_above_${e.id}`,
@@ -3082,22 +3100,22 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
3082
3100
  key: 0,
3083
3101
  d: n,
3084
3102
  fill: U.value.line.area.useGradient ? `url(#areaGradient_${t}_${R.value})` : M(me)(e.color, U.value.line.area.opacity),
3085
- style: D({ transition: M(G) || !U.value.line.showTransition ? void 0 : `all ${U.value.line.transitionDurationMs}ms ease-in-out` })
3103
+ style: D({ transition: M(xa) || !U.value.line.showTransition ? void 0 : `all ${U.value.line.transitionDurationMs}ms ease-in-out` })
3086
3104
  }, null, 12, Dn)) : S("", !0), r.$slots.pattern && n ? (O(), C("path", {
3087
3105
  key: 1,
3088
3106
  d: n,
3089
3107
  fill: `url(#pattern_${R.value}_${e.slotAbsoluteIndex})`,
3090
- style: D({ transition: M(G) || !U.value.line.showTransition ? void 0 : `all ${U.value.line.transitionDurationMs}ms ease-in-out` })
3108
+ style: D({ transition: M(xa) || !U.value.line.showTransition ? void 0 : `all ${U.value.line.transitionDurationMs}ms ease-in-out` })
3091
3109
  }, null, 12, On)) : S("", !0)], 64))), 128)) : (O(!0), C(b, { key: 1 }, A(e.area.split(";"), (n, i) => (O(), C(b, { key: i }, [n ? (O(), C("path", {
3092
3110
  key: 0,
3093
3111
  d: `M${n}Z`,
3094
3112
  fill: U.value.line.area.useGradient ? `url(#areaGradient_${t}_${R.value})` : M(me)(e.color, U.value.line.area.opacity),
3095
- style: D({ transition: M(G) || !U.value.line.showTransition ? void 0 : `all ${U.value.line.transitionDurationMs}ms ease-in-out` })
3113
+ style: D({ transition: M(xa) || !U.value.line.showTransition ? void 0 : `all ${U.value.line.transitionDurationMs}ms ease-in-out` })
3096
3114
  }, null, 12, kn)) : S("", !0), r.$slots.pattern && n ? (O(), C("path", {
3097
3115
  key: 1,
3098
3116
  d: `M${n}Z`,
3099
3117
  fill: `url(#pattern_${R.value}_${e.slotAbsoluteIndex})`,
3100
- style: D({ transition: M(G) || !U.value.line.showTransition ? void 0 : `all ${U.value.line.transitionDurationMs}ms ease-in-out` })
3118
+ style: D({ transition: M(xa) || !U.value.line.showTransition ? void 0 : `all ${U.value.line.transitionDurationMs}ms ease-in-out` })
3101
3119
  }, null, 12, An)) : S("", !0)], 64))), 128))])) : S("", !0),
3102
3120
  !e.hasDashedSegments && e.smooth && e.plots.length > 1 && e.curve ? (O(), C("path", {
3103
3121
  key: 1,
@@ -3107,7 +3125,7 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
3107
3125
  "stroke-dasharray": e.dashed ? U.value.line.strokeWidth * 2 : 0,
3108
3126
  fill: "none",
3109
3127
  "stroke-linecap": "round",
3110
- style: D({ transition: M(G) || !U.value.line.showTransition ? void 0 : `all ${U.value.line.transitionDurationMs}ms ease-in-out` })
3128
+ style: D({ transition: M(xa) || !U.value.line.showTransition ? void 0 : `all ${U.value.line.transitionDurationMs}ms ease-in-out` })
3111
3129
  }, null, 12, jn)) : e.hasDashedSegments ? (O(), C(b, { key: 2 }, [e.smooth ? (O(!0), C(b, { key: 0 }, A(e.dashedSmooth, (n) => (O(), C("path", {
3112
3130
  key: n.path,
3113
3131
  fill: "none",
@@ -3135,7 +3153,7 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
3135
3153
  fill: "none",
3136
3154
  "stroke-linecap": "round",
3137
3155
  "stroke-linejoin": "round",
3138
- style: D({ transition: M(G) || !U.value.line.showTransition ? void 0 : `all ${U.value.line.transitionDurationMs}ms ease-in-out` })
3156
+ style: D({ transition: M(xa) || !U.value.line.showTransition ? void 0 : `all ${U.value.line.transitionDurationMs}ms ease-in-out` })
3139
3157
  }, null, 12, Pn)) : S("", !0),
3140
3158
  (O(!0), C(b, null, A(e.plots, (n, i) => (O(), C(b, { key: `circle_line_${t}_${i}` }, [!cs.value.linePlot && n && Io(n.value) || cs.value.linePlot && n && Io(n.value) && (V.value !== null && V.value === i || z.value !== null && z.value === i) || Ts(e.plots, i) ? (O(), Xe(Ue, {
3141
3159
  key: 0,
@@ -3155,7 +3173,7 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
3155
3173
  radius: V.value !== null && V.value === i || z.value !== null && z.value === i ? (fa.value.line || 6) * 1.5 : (Ts(e.plots, i), fa.value.line || 6),
3156
3174
  stroke: U.value.line.dot.useSerieColor ? U.value.chart.backgroundColor : e.color,
3157
3175
  strokeWidth: U.value.line.dot.strokeWidth,
3158
- transition: M(G) || !U.value.line.showTransition || V.value !== null && V.value === i || z.value !== null && z.value === i ? void 0 : `all ${U.value.line.transitionDurationMs}ms ease-in-out`
3176
+ transition: M(xa) || !U.value.line.showTransition || V.value !== null && V.value === i || z.value !== null && z.value === i ? void 0 : `all ${U.value.line.transitionDurationMs}ms ease-in-out`
3159
3177
  }, null, 8, [
3160
3178
  "shape",
3161
3179
  "color",
@@ -3827,7 +3845,7 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
3827
3845
  serieName: e.name
3828
3846
  })
3829
3847
  }, null, 8, Ur)], 4)) : S("", !0)], 64))), 128))], 64))), 128)),
3830
- U.value.chart.zoom.show && Ea.value > 6 && ha.value && Do.value ? (O(), Xe(Ge, {
3848
+ U.value.chart.zoom.show && G.value > 6 && ha.value && Do.value ? (O(), Xe(Ge, {
3831
3849
  key: 6,
3832
3850
  ref_key: "chartSlicer",
3833
3851
  ref: gi,
@@ -3849,7 +3867,7 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
3849
3867
  isPreview: Oa.value,
3850
3868
  labelLeft: J.value[0] ? J.value[0].text : "",
3851
3869
  labelRight: J.value.at(-1) ? J.value.at(-1).text : "",
3852
- max: Ea.value,
3870
+ max: G.value,
3853
3871
  min: 0,
3854
3872
  minimap: bs.value,
3855
3873
  minimapCompact: U.value.chart.zoom.minimap.compact,
@@ -3862,7 +3880,7 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
3862
3880
  minimapSelectedIndex: V.value,
3863
3881
  minimapSelectionRadius: U.value.chart.zoom.minimap.selectionRadius,
3864
3882
  preciseLabels: Fs.value.length ? Fs.value : mo.value,
3865
- refreshEndPoint: U.value.chart.zoom.endIndex === null ? Math.max(...e.dataset.map((e) => Ta(e.series).length)) : U.value.chart.zoom.endIndex + 1,
3883
+ refreshEndPoint: U.value.chart.zoom.endIndex === null ? Math.max(...e.dataset.map((e) => Ea(e.series).length)) : U.value.chart.zoom.endIndex + 1,
3866
3884
  refreshStartPoint: U.value.chart.zoom.startIndex === null ? 0 : U.value.chart.zoom.startIndex,
3867
3885
  selectColor: U.value.chart.zoom.highlightColor,
3868
3886
  selectedSeries: Ss.value,
@@ -3906,7 +3924,7 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
3906
3924
  key: 0,
3907
3925
  class: "vue-ui-xy-legend",
3908
3926
  style: D({ fontSize: `var(--legend-font-size, ${U.value.chart.legend.fontSize ?? 14}px)` })
3909
- }, [U.value.chart.legend.selectAllToggle.show && Ya.value.length > 2 && !M(G) ? (O(), Xe(qe, {
3927
+ }, [U.value.chart.legend.selectAllToggle.show && Ya.value.length > 2 && !M(xa) ? (O(), Xe(qe, {
3910
3928
  key: 0,
3911
3929
  backgroundColor: U.value.chart.legend.selectAllToggle.backgroundColor,
3912
3930
  color: U.value.chart.legend.selectAllToggle.color,
@@ -4112,9 +4130,9 @@ var gt = /* @__PURE__ */ e({ default: () => P }), _t = ["id"], vt = ["id"], yt =
4112
4130
  }, null, 8, ["stroke"])])]),
4113
4131
  key: "1"
4114
4132
  } : void 0]), 1040)) : S("", !0),
4115
- j(r.$slots, "skeleton", {}, () => [M(G) ? (O(), Xe(Pe, { key: 0 })) : S("", !0)], !0)
4133
+ j(r.$slots, "skeleton", {}, () => [M(xa) ? (O(), Xe(Pe, { key: 0 })) : S("", !0)], !0)
4116
4134
  ], 46, _t));
4117
4135
  }
4118
- }, [["__scopeId", "data-v-96ee42ee"]]);
4136
+ }, [["__scopeId", "data-v-f407febd"]]);
4119
4137
  //#endregion
4120
4138
  export { gt as n, P as t };
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
2
2
  import { G as t, H as n, J as r, Lt as i, S as a, St as o, Tt as s, X as c, _t as l, a as u, dt as ee, h as te, i as ne, jt as re, kt as ie, nt as ae, pt as oe, x as se, y as ce, yt as le, zt as ue } from "./lib-BkiwukKO.js";
3
3
  import { n as de, r as fe, t as pe } from "./useTimeLabels-C0x7zUXP.js";
4
- import { t as me } from "./useConfig-BV0kTCnO.js";
4
+ import { t as me } from "./useConfig-Bc9KHPF4.js";
5
5
  import { t as he } from "./usePrinter-X0yWOynH.js";
6
6
  import { n as ge, t as _e } from "./BaseScanner-C7dmAref.js";
7
7
  import { t as ve } from "./useNestedProp-Ck4hsrpu.js";
@@ -13,7 +13,7 @@ import { a as Ce, c as we, i as d, n as Te, o as Ee, r as De, s as f, t as Oe }
13
13
  import { t as ke } from "./useResponsive-CrAInupd.js";
14
14
  import { t as Ae } from "./BaseIcon-CEmt3Ifx.js";
15
15
  import { t as je } from "./SlicerPreview-7pKvVSTr.js";
16
- import { t as Me } from "./vue-ui-accordion-cVv18nTV.js";
16
+ import { t as Me } from "./vue-ui-accordion-DX5HeXF5.js";
17
17
  import { t as Ne } from "./BaseLegendToggle-DUIqQmwM.js";
18
18
  import { t as Pe } from "./useUserOptionState-CjPJPTg2.js";
19
19
  import { t as Fe } from "./useChartAccessibility-Do37qcw2.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-data-ui",
3
3
  "private": false,
4
- "version": "3.18.4",
4
+ "version": "3.18.5",
5
5
  "type": "module",
6
6
  "description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
7
7
  "keywords": [