vue-data-ui 3.0.0-next.54 → 3.0.0-next.55

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 (93) hide show
  1. package/dist/{Arrow-LMYgGTUq.js → Arrow-BJNH0Liz.js} +1 -1
  2. package/dist/{BaseDraggableDialog-D6NKDVDd.js → BaseDraggableDialog-g4-q5391.js} +2 -2
  3. package/dist/{BaseIcon-D1YxuTqn.js → BaseIcon-B-JPaycb.js} +1 -1
  4. package/dist/{ColorPicker-Dqnk4Bis.js → ColorPicker-B6cSfXTZ.js} +2 -2
  5. package/dist/{DataTable-D1RPxkQn.js → DataTable-CXvbwtai.js} +2 -2
  6. package/dist/{Legend-BBaTktyQ.js → Legend-Dt-A6TX4.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-Dqp0PFOO.js → NonSvgPenAndPaper-Cde04UFK.js} +3 -3
  8. package/dist/{PackageVersion-Dvivm8-r.js → PackageVersion-D3gM0cgH.js} +1 -1
  9. package/dist/{PenAndPaper-DaQWWpgs.js → PenAndPaper-tiWdtLvY.js} +3 -3
  10. package/dist/{Shape-Dc4AHan7.js → Shape-BAOib99W.js} +1 -1
  11. package/dist/{Slicer-viJHi_bq.js → Slicer-2xXK3ZHN.js} +2 -2
  12. package/dist/{SparkTooltip-Ca7tsP2u.js → SparkTooltip-CP52F_jK.js} +1 -1
  13. package/dist/{Title-Bnr--aA5.js → Title-CNNSPaS8.js} +1 -1
  14. package/dist/{Tooltip-DSvSWahk.js → Tooltip-DsVWsLP0.js} +1 -1
  15. package/dist/{UserOptions-Dm91TR_d.js → UserOptions-DdxzR5Mv.js} +2 -2
  16. package/dist/{dom-to-png-DTwkx-9j.js → dom-to-png-FQEkmOOx.js} +1 -1
  17. package/dist/{img-Brj7vn--.js → img-CNjWjg_p.js} +1 -1
  18. package/dist/{index-B5FRcZLo.js → index-VrsKSULO.js} +33 -16
  19. package/dist/{pdf-s-J6FH3X.js → pdf-BLwguT_D.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +25 -1
  22. package/dist/types/vue-data-ui.d.ts +25 -1
  23. package/dist/{useAutoSizeLabelsInsideViewbox-xwIHroEq.js → useAutoSizeLabelsInsideViewbox-BD87yFjx.js} +1 -1
  24. package/dist/{BaseScanner-DIK2NTdp.js → useLoading-Bt5Doa8m.js} +11 -11
  25. package/dist/useNestedProp-lTwriOHy.js +13 -0
  26. package/dist/{usePrinter-CHbm8PGD.js → usePrinter-BrYkAEvI.js} +2 -2
  27. package/dist/{vue-data-ui-jynIaHEu.js → vue-data-ui-Cvdlw0Wu.js} +64 -64
  28. package/dist/vue-data-ui.js +1 -1
  29. package/dist/vue-ui-3d-bar-DIbV0GIS.js +1323 -0
  30. package/dist/{vue-ui-accordion-h_xORY7m.js → vue-ui-accordion-CP3KpYYB.js} +3 -3
  31. package/dist/{vue-ui-age-pyramid-ByNg19-v.js → vue-ui-age-pyramid-ING0HORH.js} +7 -7
  32. package/dist/{vue-ui-annotator-DHWKIAiw.js → vue-ui-annotator-Vcfg38lq.js} +2 -2
  33. package/dist/{vue-ui-bullet-D8QT8Bn3.js → vue-ui-bullet-nVyjtnfT.js} +8 -8
  34. package/dist/{vue-ui-candlestick-Dfga6m-d.js → vue-ui-candlestick-C8kOVEo0.js} +8 -8
  35. package/dist/{vue-ui-carousel-table--OsqU2f2.js → vue-ui-carousel-table-IxlXbBLZ.js} +29 -29
  36. package/dist/{vue-ui-chestnut-Bos9_e2W.js → vue-ui-chestnut-DrLVu-od.js} +5 -5
  37. package/dist/{vue-ui-chord-CBxXikz5.js → vue-ui-chord-Co_1mfBI.js} +8 -8
  38. package/dist/{vue-ui-circle-pack-CA4h8PoX.js → vue-ui-circle-pack-93ly70eJ.js} +42 -42
  39. package/dist/{vue-ui-cursor-D1e1-QTO.js → vue-ui-cursor-KJztZXjx.js} +2 -2
  40. package/dist/{vue-ui-dashboard-CGLgntfH.js → vue-ui-dashboard-Dm-pgEqX.js} +62 -62
  41. package/dist/{vue-ui-digits-CsO3Iczu.js → vue-ui-digits-BOZE8XF9.js} +2 -2
  42. package/dist/{vue-ui-donut-CkicdCC0.js → vue-ui-donut-C2ZgkW45.js} +9 -9
  43. package/dist/{vue-ui-donut-evolution-s6f_kN-K.js → vue-ui-donut-evolution-Bbv5_sp4.js} +9 -9
  44. package/dist/{vue-ui-dumbbell-DmYCdaFI.js → vue-ui-dumbbell-nld0Clws.js} +69 -69
  45. package/dist/{vue-ui-flow-BQUZA0Ci.js → vue-ui-flow-CLlSDNyj.js} +8 -8
  46. package/dist/{vue-ui-funnel-BaJXfhkn.js → vue-ui-funnel-BoxOdEOh.js} +16 -16
  47. package/dist/{vue-ui-galaxy-AamRVENQ.js → vue-ui-galaxy-DYyCeO0g.js} +5 -5
  48. package/dist/{vue-ui-gauge-DwpIlS3L.js → vue-ui-gauge-DzfVoVC0.js} +8 -8
  49. package/dist/{vue-ui-gizmo-_LjeGmAP.js → vue-ui-gizmo-Dq_wADwm.js} +3 -3
  50. package/dist/{vue-ui-heatmap-C2LL_MI_.js → vue-ui-heatmap-DiJ4PMPu.js} +8 -8
  51. package/dist/{vue-ui-history-plot-BLxytFYc.js → vue-ui-history-plot-CyQbpbFj.js} +20 -20
  52. package/dist/{vue-ui-kpi-D2Pbj0bH.js → vue-ui-kpi-CE3bvNxU.js} +7 -7
  53. package/dist/{vue-ui-mini-loader-DlrRQmpO.js → vue-ui-mini-loader-CezyYsIh.js} +2 -2
  54. package/dist/{vue-ui-molecule-BUJqDdqt.js → vue-ui-molecule-DBqdOQXg.js} +15 -15
  55. package/dist/{vue-ui-mood-radar-B3_UAmrH.js → vue-ui-mood-radar-Borsdnjs.js} +15 -15
  56. package/dist/{vue-ui-nested-donuts-C6J6RswH.js → vue-ui-nested-donuts-CluI37Ei.js} +10 -10
  57. package/dist/{vue-ui-onion-BbABpEI9.js → vue-ui-onion-Ny8gdAAf.js} +24 -24
  58. package/dist/{vue-ui-parallel-coordinate-plot-DKg6Ksmk.js → vue-ui-parallel-coordinate-plot-PJ7kBhSH.js} +9 -9
  59. package/dist/{vue-ui-quadrant-DKYW231A.js → vue-ui-quadrant--JI409Pn.js} +8 -8
  60. package/dist/{vue-ui-quick-chart-Dk8KMMWE.js → vue-ui-quick-chart-BDrTZO9Y.js} +45 -45
  61. package/dist/{vue-ui-radar-JJJvDyH0.js → vue-ui-radar-BWu9C6Zw.js} +25 -25
  62. package/dist/{vue-ui-rating-hbgc6VRD.js → vue-ui-rating-BR6GVyqk.js} +2 -2
  63. package/dist/{vue-ui-relation-circle-Btubhkqp.js → vue-ui-relation-circle-By35PCSP.js} +6 -6
  64. package/dist/{vue-ui-ridgeline-zS0itk3r.js → vue-ui-ridgeline-DWGU3udg.js} +9 -9
  65. package/dist/{vue-ui-rings-C6QI4vT_.js → vue-ui-rings-Cq5qHVk1.js} +20 -20
  66. package/dist/{vue-ui-scatter-C2kNKb55.js → vue-ui-scatter-DOaBf7Al.js} +9 -9
  67. package/dist/{vue-ui-skeleton-CzVYh2n3.js → vue-ui-skeleton-CcR1KppS.js} +3 -3
  68. package/dist/{vue-ui-smiley-BK28gGd8.js → vue-ui-smiley-BAg44Lr1.js} +26 -26
  69. package/dist/{vue-ui-spark-trend-CSypVrHj.js → vue-ui-spark-trend-et-6tMhw.js} +3 -3
  70. package/dist/{vue-ui-sparkbar-Cn2ww9SA.js → vue-ui-sparkbar-ZmkuoQIV.js} +3 -3
  71. package/dist/{vue-ui-sparkgauge-D_q1ShxX.js → vue-ui-sparkgauge-B-sR11zt.js} +3 -3
  72. package/dist/{vue-ui-sparkhistogram-DrWMDYwQ.js → vue-ui-sparkhistogram-D6y3mWa-.js} +4 -4
  73. package/dist/{vue-ui-sparkline-B2EWoOpH.js → vue-ui-sparkline-BTcWkBkc.js} +4 -4
  74. package/dist/{vue-ui-sparkstackbar-dgtxtC-v.js → vue-ui-sparkstackbar-DiLFzzs1.js} +3 -3
  75. package/dist/{vue-ui-stackbar-BEPKt8t1.js → vue-ui-stackbar-B0XZyCnz.js} +10 -10
  76. package/dist/{vue-ui-strip-plot-CGLaQrOE.js → vue-ui-strip-plot-B4vsbget.js} +25 -25
  77. package/dist/{vue-ui-table-CYeBDq4t.js → vue-ui-table-DDVF52A6.js} +3 -3
  78. package/dist/{vue-ui-table-heatmap-D5Higl6c.js → vue-ui-table-heatmap-DH1DYupu.js} +5 -5
  79. package/dist/{vue-ui-table-sparkline-CgUjTFEu.js → vue-ui-table-sparkline-BL-1y2Oq.js} +14 -14
  80. package/dist/{vue-ui-thermometer-DdHoEvl8.js → vue-ui-thermometer-CyQT1DI6.js} +25 -25
  81. package/dist/{vue-ui-timer-Dd9-bUFJ.js → vue-ui-timer-CLqsJQ3V.js} +5 -5
  82. package/dist/{vue-ui-tiremarks-CDvBqFb9.js → vue-ui-tiremarks-DZSjovmn.js} +7 -7
  83. package/dist/{vue-ui-treemap-Cnk77LIb.js → vue-ui-treemap-CSMkD4Q3.js} +39 -39
  84. package/dist/{vue-ui-vertical-bar-CfedVdxi.js → vue-ui-vertical-bar-X3muLpmj.js} +10 -10
  85. package/dist/{vue-ui-waffle-_nuwY19z.js → vue-ui-waffle-DZoNMXZs.js} +27 -27
  86. package/dist/{vue-ui-wheel-mgrK52NV.js → vue-ui-wheel-CkrhExvP.js} +7 -7
  87. package/dist/{vue-ui-word-cloud-X7c1DN4a.js → vue-ui-word-cloud-SJJdaZHD.js} +6 -6
  88. package/dist/{vue-ui-world-Ip9Cyd__.js → vue-ui-world-CmeQPQhw.js} +6 -6
  89. package/dist/{vue-ui-xy-CsH5sX8-.js → vue-ui-xy-Cp8U2LrQ.js} +87 -87
  90. package/dist/{vue-ui-xy-canvas-1KtHBKRO.js → vue-ui-xy-canvas-CGop37ip.js} +8 -8
  91. package/package.json +1 -1
  92. package/dist/useNestedProp-BwJKakXX.js +0 -13
  93. package/dist/vue-ui-3d-bar-CuyTiQjS.js +0 -1227
@@ -1,16 +1,16 @@
1
- import { useCssVars as Ja, computed as y, ref as p, onMounted as Lt, onBeforeUnmount as nt, watch as sl, nextTick as ql, onUpdated as Ka, createElementBlock as s, openBlock as u, createElementVNode as m, createCommentVNode as h, renderSlot as K, normalizeStyle as $, createVNode as Ul, withDirectives as Bt, unref as v, Fragment as f, renderList as L, normalizeClass as Re, vModelText as ba, toDisplayString as ae, defineAsyncComponent as yl, useSlots as Qa, getCurrentInstance as ja, toRefs as eo, watchEffect as lo, createBlock as Ke, createSlots as to, withCtx as pe, normalizeProps as vl, guardReactiveProps as kl, mergeProps as kt, vModelCheckbox as ao, createTextVNode as oo } from "vue";
2
- import { c as _t, V as Mt, U as At, X as uo, F as je, u as io, e as Vt, v as so, a5 as ul, b as no, D as st, ad as Nl, d as ro, p as co, ae as wt, aa as Y, af as vo, w as V, ag as pa, ah as ya, ai as ho, aj as ka, ak as wa, i as we, y as fo, z as go, _ as Sa, R as il, f as De, x as Rl, s as Qe, a8 as ee, L as mo, al as St, I as xo, am as wl, C as Xe, t as bo, a as po, o as $a, q as yo, r as ko, E as Gl } from "./index-B5FRcZLo.js";
1
+ import { useCssVars as Ja, computed as y, ref as p, onMounted as Lt, onBeforeUnmount as nt, watch as sl, nextTick as Zl, onUpdated as Ka, createElementBlock as s, openBlock as u, createElementVNode as m, createCommentVNode as h, renderSlot as K, normalizeStyle as $, createVNode as Ul, withDirectives as Bt, unref as v, Fragment as f, renderList as L, normalizeClass as Re, vModelText as ba, toDisplayString as ae, defineAsyncComponent as yl, useSlots as Qa, getCurrentInstance as ja, toRefs as eo, watchEffect as lo, createBlock as Ke, createSlots as to, withCtx as pe, normalizeProps as vl, guardReactiveProps as kl, mergeProps as kt, vModelCheckbox as ao, createTextVNode as oo } from "vue";
2
+ import { c as _t, V as Mt, U as At, X as uo, F as je, u as io, f as Vt, t as so, a5 as ul, d as no, D as st, ad as Nl, e as ro, p as co, ae as wt, aa as Y, af as vo, h as V, ag as pa, ah as ya, ai as ho, aj as ka, ak as wa, k as we, y as fo, z as go, _ as Sa, R as il, i as De, x as Rl, s as Qe, a8 as ee, L as mo, al as St, I as xo, am as wl, C as Xe, a as bo, b as po, o as $a, v as yo, w as ko, E as Gl } from "./index-VrsKSULO.js";
3
3
  import { t as Ft, u as wo } from "./useResponsive-DfdjqQps.js";
4
- import { u as So } from "./usePrinter-CHbm8PGD.js";
5
- import { u as $o, B as _o } from "./BaseScanner-DIK2NTdp.js";
6
- import { u as Et } from "./useNestedProp-BwJKakXX.js";
4
+ import { u as So } from "./usePrinter-BrYkAEvI.js";
5
+ import { u as $o, B as _o } from "./useLoading-Bt5Doa8m.js";
6
+ import { u as Et } from "./useNestedProp-lTwriOHy.js";
7
7
  import { u as _a } from "./useTimeLabels-DkzmKfZn.js";
8
8
  import { u as Lo } from "./useTimeLabelCollider-CIsgDrl9.js";
9
- import Mo from "./img-Brj7vn--.js";
10
- import Ao from "./Title-Bnr--aA5.js";
11
- import { S as Co } from "./Slicer-viJHi_bq.js";
12
- import { _ as $t } from "./Shape-Dc4AHan7.js";
13
- import zo from "./BaseIcon-D1YxuTqn.js";
9
+ import Mo from "./img-CNjWjg_p.js";
10
+ import Ao from "./Title-CNNSPaS8.js";
11
+ import { S as Co } from "./Slicer-2xXK3ZHN.js";
12
+ import { _ as $t } from "./Shape-BAOib99W.js";
13
+ import zo from "./BaseIcon-B-JPaycb.js";
14
14
  import { _ as La } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
15
  const To = {
16
16
  class: "vue-data-ui-slicer-labels",
@@ -22,7 +22,7 @@ const To = {
22
22
  key: 0,
23
23
  class: "minimap",
24
24
  style: { width: "100%" }
25
- }, No = ["xmlns", "viewBox"], Ro = ["id"], Po = ["stop-color"], Ho = ["d", "stroke"], Vo = ["x", "width", "height", "fill", "rx"], Eo = ["d", "fill"], Bo = ["x", "width", "height", "rx", "fill"], Fo = ["x", "width", "height", "fill", "rx"], Wo = ["d", "fill"], Yo = ["d", "stroke"], Do = ["cx", "cy", "stroke", "fill"], Xo = ["cx", "cy", "stroke", "fill"], Go = ["x1", "x2", "y2", "stroke"], Uo = ["x", "height", "width", "onMouseenter"], qo = ["min", "max"], Zo = ["min", "max"], Jo = {
25
+ }, No = ["xmlns", "viewBox"], Ro = ["id"], Po = ["stop-color"], Ho = ["d", "stroke"], Vo = ["x", "width", "height", "fill", "rx"], Eo = ["d", "fill"], Bo = ["x", "width", "height", "rx", "fill"], Fo = ["x", "width", "height", "fill", "rx"], Wo = ["d", "fill"], Yo = ["d", "stroke"], Do = ["cx", "cy", "stroke", "fill"], Xo = ["cx", "cy", "stroke", "fill"], Go = ["x1", "x2", "y2", "stroke"], Uo = ["x", "height", "width", "onMouseenter"], Zo = ["min", "max"], qo = ["min", "max"], Jo = {
26
26
  __name: "SlicerPreview",
27
27
  props: {
28
28
  background: {
@@ -146,7 +146,7 @@ const To = {
146
146
  f07d1806: C.selectColor,
147
147
  "18f1980b": Ml.value
148
148
  }));
149
- const d = C, Pe = p(null), ie = p(d.min), re = p(d.max), Sl = y(() => !!d.minimap.length), Zl = p(_t()), Pl = p(0), $l = y({
149
+ const d = C, Pe = p(null), ie = p(d.min), re = p(d.max), Sl = y(() => !!d.minimap.length), ql = p(_t()), Pl = p(0), $l = y({
150
150
  get() {
151
151
  return ie.value;
152
152
  },
@@ -183,7 +183,7 @@ const To = {
183
183
  clearTimeout(dl), fe("update:start", Number(ie.value)), fe("update:end", Number(re.value));
184
184
  }
185
185
  const Ql = y(() => d.refreshEndPoint === null ? d.max : d.refreshEndPoint), fe = zt, ye = y(() => {
186
- const x = d.max - d.min, g = (ie.value - d.min) / x * 100, A = (re.value - d.min) / x * 100, Z = (g + A) / 2, Ie = el.value ? `calc(${Z}% - ${k.value.width}px)` : ze.value ? `calc(${Z}%)` : `calc(${Z}% - ${k.value.width / 2}px)`;
186
+ const x = d.max - d.min, g = (ie.value - d.min) / x * 100, A = (re.value - d.min) / x * 100, q = (g + A) / 2, Ie = el.value ? `calc(${q}% - ${k.value.width}px)` : ze.value ? `calc(${q}%)` : `calc(${q}% - ${k.value.width / 2}px)`;
187
187
  return {
188
188
  left: `${g}%`,
189
189
  width: `${A - g}%`,
@@ -236,19 +236,19 @@ const To = {
236
236
  });
237
237
  const ge = y(() => d.minimap.length ? D.value.width / d.minimap.length : 0), M = y(() => {
238
238
  if (!d.minimap.length) return [];
239
- const x = Math.max(...d.minimap), g = Math.min(...d.minimap) - 10, A = x - (g > 0 ? 0 : g), Z = d.minimap.map((It, ht) => {
239
+ const x = Math.max(...d.minimap), g = Math.min(...d.minimap) - 10, A = x - (g > 0 ? 0 : g), q = d.minimap.map((It, ht) => {
240
240
  const Yl = It - g;
241
241
  return {
242
242
  x: D.value.width / d.minimap.length * ht + ge.value / 2,
243
243
  y: D.value.height - Yl / A * (D.value.height * 0.9)
244
244
  };
245
- }), Ie = d.smoothMinimap ? Mt(Z) : At(Z), ml = [...Z].slice(d.valueStart, d.valueEnd), dt = d.smoothMinimap ? Mt(ml) : At(ml);
245
+ }), Ie = d.smoothMinimap ? Mt(q) : At(q), ml = [...q].slice(d.valueStart, d.valueEnd), dt = d.smoothMinimap ? Mt(ml) : At(ml);
246
246
  return {
247
247
  fullSet: Ie,
248
248
  selectionSet: dt,
249
249
  sliced: ml,
250
- firstPlot: Z[d.valueStart],
251
- lastPlot: Z[d.valueEnd - 1]
250
+ firstPlot: q[d.valueStart],
251
+ lastPlot: q[d.valueEnd - 1]
252
252
  };
253
253
  }), Ve = y(() => ({
254
254
  x: ge.value * ie.value + ge.value / 2,
@@ -277,9 +277,9 @@ const To = {
277
277
  });
278
278
  let Me = null, Ee = null, O = null, Ue = null;
279
279
  const Bl = (x) => {
280
- if (qe.value = !0, !d.enableSelectionDrag) return;
281
- const g = x.type === "touchstart", A = g && x.targetTouches && x.targetTouches[0] ? x.targetTouches[0] : null, Z = g ? A ? A.target : null : x.target;
282
- !Z || !(Z instanceof Element) || Z.classList && Z.classList.contains("range-handle") || (Te.value = !0, oe.value = g ? A ? A.clientX : 0 : x.clientX, Me = g ? "touchmove" : "mousemove", Ee = g ? "touchend" : "mouseup", O = g ? Se : Fl, Ue = g ? S : Wl, window.addEventListener(Me, O, { passive: !1 }), window.addEventListener(Ee, Ue));
280
+ if (Ze.value = !0, !d.enableSelectionDrag) return;
281
+ const g = x.type === "touchstart", A = g && x.targetTouches && x.targetTouches[0] ? x.targetTouches[0] : null, q = g ? A ? A.target : null : x.target;
282
+ !q || !(q instanceof Element) || q.classList && q.classList.contains("range-handle") || (Te.value = !0, oe.value = g ? A ? A.clientX : 0 : x.clientX, Me = g ? "touchmove" : "mousemove", Ee = g ? "touchend" : "mouseup", O = g ? Se : Fl, Ue = g ? S : Wl, window.addEventListener(Me, O, { passive: !1 }), window.addEventListener(Ee, Ue));
283
283
  };
284
284
  function Fl(x) {
285
285
  Te.value && Be(x.clientX);
@@ -315,7 +315,7 @@ const To = {
315
315
  function vt() {
316
316
  Te.value = !1, Me && O && window.removeEventListener(Me, O), Ee && Ue && window.removeEventListener(Ee, Ue), Me = Ee = null, O = Ue = null, Kl();
317
317
  }
318
- const fl = p(!1), b = p(null), w = p(null), Ae = p(1), gl = p(1), qe = p(!1);
318
+ const fl = p(!1), b = p(null), w = p(null), Ae = p(1), gl = p(1), Ze = p(!1);
319
319
  function e() {
320
320
  b.value && (Ae.value = b.value.getBoundingClientRect().width);
321
321
  }
@@ -331,13 +331,13 @@ const To = {
331
331
  left: 0
332
332
  });
333
333
  sl([ie, re], async () => {
334
- if (await ql(), !b.value || !w.value) {
334
+ if (await Zl(), !b.value || !w.value) {
335
335
  me.value = !1, k.value = { width: 0, left: 0 };
336
336
  return;
337
337
  }
338
338
  const x = b.value.getBoundingClientRect(), g = w.value.getBoundingClientRect();
339
339
  me.value = x.x + x.width > g.x;
340
- const A = x.x + x.width / 2, Z = g.x + g.width / 2, Ie = x.width + g.width, ml = (A + Z) / 2;
340
+ const A = x.x + x.width / 2, q = g.x + g.width / 2, Ie = x.width + g.width, ml = (A + q) / 2;
341
341
  k.value = {
342
342
  width: Ie,
343
343
  left: ml - Ie / 2
@@ -345,11 +345,11 @@ const To = {
345
345
  }), Ka(() => {
346
346
  e(), xe();
347
347
  }), sl(() => d.labelLeft, () => {
348
- ql(e);
348
+ Zl(e);
349
349
  }, { deep: !0 }), sl(() => d.labelRight, () => {
350
- ql(xe);
350
+ Zl(xe);
351
351
  }, { deep: !0 });
352
- const q = y(() => {
352
+ const Z = y(() => {
353
353
  const x = d.timeLabels.find((A) => A.absoluteIndex === ie.value), g = d.timeLabels.find((A) => A.absoluteIndex === re.value - 1);
354
354
  return {
355
355
  left: x ? x.text : "",
@@ -398,8 +398,8 @@ const To = {
398
398
  ref_key: "minimapWrapper",
399
399
  ref: Al,
400
400
  style: { "z-index": "0" },
401
- onMouseenter: g[11] || (g[11] = (A) => qe.value = !0),
402
- onMouseleave: g[12] || (g[12] = (A) => qe.value = !1)
401
+ onMouseenter: g[11] || (g[11] = (A) => Ze.value = !0),
402
+ onMouseleave: g[12] || (g[12] = (A) => Ze.value = !1)
403
403
  }, [
404
404
  Sl.value ? (u(), s("div", Oo, [
405
405
  (u(), s("svg", {
@@ -408,7 +408,7 @@ const To = {
408
408
  }, [
409
409
  m("defs", null, [
410
410
  m("linearGradient", {
411
- id: Zl.value,
411
+ id: ql.value,
412
412
  x1: "0%",
413
413
  y1: "0%",
414
414
  x2: "0%",
@@ -444,7 +444,7 @@ const To = {
444
444
  }, null, 8, Vo),
445
445
  m("path", {
446
446
  d: `M${ge.value / 2},${Math.max(D.value.height, 0)} ${M.value.fullSet} L${D.value.width - ge.value / 2},${Math.max(D.value.height, 0)}Z`,
447
- fill: `url(#${Zl.value})`,
447
+ fill: `url(#${ql.value})`,
448
448
  stroke: "none",
449
449
  style: { opacity: "1" }
450
450
  }, null, 8, Eo),
@@ -469,7 +469,7 @@ const To = {
469
469
  }, null, 12, Fo),
470
470
  m("path", {
471
471
  d: `M${M.value.sliced[0].x},${Math.max(D.value.height, 0)} ${M.value.selectionSet} L${M.value.sliced.at(-1).x},${Math.max(D.value.height, 0)}Z`,
472
- fill: `url(#${Zl.value})`,
472
+ fill: `url(#${ql.value})`,
473
473
  stroke: "none",
474
474
  style: { opacity: "1" }
475
475
  }, null, 8, Wo),
@@ -497,11 +497,11 @@ const To = {
497
497
  r: "3",
498
498
  fill: C.minimapLineColor
499
499
  }, null, 8, Xo),
500
- se.value !== null ? (u(!0), s(f, { key: 0 }, L(Hl.value, (A, Z) => (u(), s("g", null, [
500
+ se.value !== null ? (u(!0), s(f, { key: 0 }, L(Hl.value, (A, q) => (u(), s("g", null, [
501
501
  se.value === A && A >= C.valueStart && A < C.valueEnd ? (u(), s("line", {
502
502
  key: 0,
503
- x1: ge.value * Z + ge.value / 2,
504
- x2: ge.value * Z + ge.value / 2,
503
+ x1: ge.value * q + ge.value / 2,
504
+ x2: ge.value * q + ge.value / 2,
505
505
  y1: 0,
506
506
  y2: Math.max(D.value.height, 0),
507
507
  stroke: C.minimapIndicatorColor,
@@ -510,8 +510,8 @@ const To = {
510
510
  "stroke-width": "1"
511
511
  }, null, 8, Go)) : h("", !0)
512
512
  ]))), 256)) : h("", !0),
513
- (u(!0), s(f, null, L(Hl.value, (A, Z) => (u(), s("rect", {
514
- x: ge.value * Z,
513
+ (u(!0), s(f, null, L(Hl.value, (A, q) => (u(), s("rect", {
514
+ x: ge.value * q,
515
515
  y: 0,
516
516
  height: Math.max(D.value.height, 0),
517
517
  width: ge.value < 0 ? 0 : ge.value,
@@ -554,7 +554,7 @@ const To = {
554
554
  onMouseenter: g[6] || (g[6] = (A) => zl("start")),
555
555
  onPointermove: g[7] || (g[7] = (A) => $l.value = +A.target.value),
556
556
  onPointerup: Kl
557
- }, null, 42, qo)), [
557
+ }, null, 42, Zo)), [
558
558
  [
559
559
  ba,
560
560
  $l.value,
@@ -575,7 +575,7 @@ const To = {
575
575
  onMouseenter: g[9] || (g[9] = (A) => zl("end")),
576
576
  onPointermove: g[10] || (g[10] = (A) => _l.value = +A.target.value),
577
577
  onPointerup: Kl
578
- }, null, 42, Zo)), [
578
+ }, null, 42, qo)), [
579
579
  [
580
580
  ba,
581
581
  _l.value,
@@ -583,13 +583,13 @@ const To = {
583
583
  { number: !0 }
584
584
  ]
585
585
  ]) : h("", !0),
586
- q.value.left ? (u(), s("div", {
586
+ Z.value.left ? (u(), s("div", {
587
587
  key: 3,
588
588
  ref_key: "tooltipLeft",
589
589
  ref: b,
590
590
  class: Re({
591
591
  "range-tooltip": !0,
592
- "range-tooltip-visible": qe.value,
592
+ "range-tooltip-visible": Ze.value,
593
593
  "range-tooltip-arrow": ye.value.arrowLeft && !C.verticalHandles,
594
594
  "range-tooltip-arrow-left": !ye.value.arrowLeft && !C.verticalHandles
595
595
  }),
@@ -599,15 +599,15 @@ const To = {
599
599
  backgroundColor: C.selectColor,
600
600
  border: `1px solid ${He.value}`,
601
601
  zIndex: `${$e.value + 4}`,
602
- visibility: me.value || q.value.left === q.value.right ? "hidden" : "visible"
602
+ visibility: me.value || Z.value.left === Z.value.right ? "hidden" : "visible"
603
603
  })
604
- }, ae(q.value.left), 7)) : h("", !0),
605
- (me.value || q.value.left === q.value.right) && (q.value.left || q.value.right) ? (u(), s("div", {
604
+ }, ae(Z.value.left), 7)) : h("", !0),
605
+ (me.value || Z.value.left === Z.value.right) && (Z.value.left || Z.value.right) ? (u(), s("div", {
606
606
  key: 4,
607
607
  ref: "tooltipMerge",
608
608
  class: Re({
609
609
  "range-tooltip": !0,
610
- "range-tooltip-visible": qe.value,
610
+ "range-tooltip-visible": Ze.value,
611
611
  "range-tooltip-arrow": !0,
612
612
  "range-tooltip-arrow-left": !ye.value.arrowLeft && !C.verticalHandles,
613
613
  "range-tooltip-arrow-right": !ye.value.arrowRight && !C.verticalHandles
@@ -620,14 +620,14 @@ const To = {
620
620
  border: `1px solid ${He.value}`,
621
621
  zIndex: "4"
622
622
  })
623
- }, ae(q.value.left === q.value.right ? q.value.left : `${q.value.left} - ${q.value.right}`), 7)) : h("", !0),
624
- q.value.right ? (u(), s("div", {
623
+ }, ae(Z.value.left === Z.value.right ? Z.value.left : `${Z.value.left} - ${Z.value.right}`), 7)) : h("", !0),
624
+ Z.value.right ? (u(), s("div", {
625
625
  key: 5,
626
626
  ref_key: "tooltipRight",
627
627
  ref: w,
628
628
  class: Re({
629
629
  "range-tooltip": !0,
630
- "range-tooltip-visible": qe.value,
630
+ "range-tooltip-visible": Ze.value,
631
631
  "range-tooltip-arrow": ye.value.arrowRight && !C.verticalHandles,
632
632
  "range-tooltip-arrow-right": !ye.value.arrowRight && !C.verticalHandles
633
633
  }),
@@ -637,13 +637,13 @@ const To = {
637
637
  backgroundColor: C.selectColor,
638
638
  border: `1px solid ${He.value}`,
639
639
  zIndex: "4",
640
- visibility: me.value || q.value.left === q.value.right ? "hidden" : "visible"
640
+ visibility: me.value || Z.value.left === Z.value.right ? "hidden" : "visible"
641
641
  })
642
- }, ae(q.value.right), 7)) : h("", !0)
642
+ }, ae(Z.value.right), 7)) : h("", !0)
643
643
  ], 544)
644
644
  ], 544));
645
645
  }
646
- }, Ko = /* @__PURE__ */ La(Jo, [["__scopeId", "data-v-c4fe0873"]]), Qo = ["id"], jo = ["viewBox", "aria-label"], eu = ["x", "y", "width", "height"], lu = { key: 1 }, tu = { class: "vue-ui-xy-grid" }, au = ["stroke", "x1", "x2", "y1", "y2"], ou = ["stroke", "x1", "x2", "y1", "y2"], uu = { key: 1 }, iu = ["x1", "x2", "y1", "y2", "stroke"], su = ["x1", "x2", "y1", "y2", "stroke"], nu = ["x1", "x2", "y1", "y2", "stroke"], ru = { key: 3 }, cu = ["d", "stroke"], vu = { key: 4 }, du = ["d", "stroke"], hu = ["id"], fu = ["stop-color"], gu = ["stop-color"], mu = ["stop-color"], xu = ["id"], bu = ["stop-color"], pu = ["stop-color"], yu = ["stop-color"], ku = ["id"], wu = ["stop-color"], Su = ["stop-color"], $u = ["id"], _u = ["stop-color"], Lu = ["stop-color"], Mu = ["id"], Au = ["stop-color"], Cu = ["stop-color"], zu = ["x", "y", "height", "width", "fill"], Tu = ["x", "y", "width"], Iu = { key: 0 }, Ou = ["x", "y", "height", "width", "fill"], Nu = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ru = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Pu = ["width", "x", "y"], Hu = { key: 0 }, Vu = ["id"], Eu = ["fill"], Bu = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Fu = ["x", "y", "font-size", "fill"], Wu = ["stroke", "x1", "x2", "y1", "y2"], Yu = { key: 3 }, Du = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Xu = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Gu = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Uu = ["fill", "font-size", "transform"], qu = ["x1", "x2", "y1", "y2", "stroke"], Zu = ["x", "y", "font-size", "fill"], Ju = ["x1", "x2", "y1", "y2", "stroke"], Ku = ["x", "y", "font-size", "fill"], Qu = ["width", "x", "y"], ju = { style: { width: "100%" } }, ei = { key: 0 }, li = ["id"], ti = ["fill"], ai = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], oi = ["x", "y", "font-size", "fill"], ui = ["d", "stroke", "stroke-width", "stroke-dasharray"], ii = ["d", "stroke", "stroke-width", "stroke-dasharray"], si = { key: 6 }, ni = { key: 0 }, ri = ["d", "fill"], ci = ["d", "fill"], vi = ["d", "fill"], di = ["d", "fill"], hi = ["d", "stroke", "stroke-width", "stroke-dasharray"], fi = ["d", "stroke", "stroke-width", "stroke-dasharray"], gi = ["width", "x", "y"], mi = { style: { width: "100%" } }, xi = { key: 3 }, bi = ["id"], pi = ["fill"], yi = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ki = ["x", "y", "font-size", "fill"], wi = { key: 7 }, Si = ["x", "y", "font-size", "fill"], $i = ["x", "y", "font-size", "fill", "font-weight"], _i = { key: 8 }, Li = ["x", "y", "font-size", "fill"], Mi = { key: 9 }, Ai = ["x", "y"], Ci = ["innerHTML"], zi = ["x", "y"], Ti = ["innerHTML"], Ii = ["x1", "x2", "y1", "y2", "stroke"], Oi = { key: 10 }, Ni = ["x", "y", "font-size", "fill"], Ri = { key: 11 }, Pi = ["x", "y"], Hi = ["innerHTML"], Vi = ["x", "y"], Ei = ["innerHTML"], Bi = ["x1", "x2", "y1", "y2", "stroke"], Fi = ["x", "y", "font-size", "fill", "innerHTML"], Wi = ["x", "y", "font-size", "fill", "innerHTML"], Yi = ["x", "y", "font-size", "fill", "innerHTML"], Di = ["x", "y", "font-size", "fill", "innerHTML"], Xi = ["id"], Gi = ["stop-color"], Ui = ["stop-color"], qi = ["x", "y", "width", "height", "fill", "onMouseenter"], Zi = ["font-size", "fill", "transform"], Ji = ["x", "y", "font-size", "fill"], Ki = ["text-anchor", "font-size", "fill", "transform", "onClick"], Qi = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], ji = { key: 14 }, es = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], ls = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], ts = ["y", "x", "width", "height", "fill"], as = ["id", "x", "y", "font-size", "fill", "text-anchor"], os = {
646
+ }, Ko = /* @__PURE__ */ La(Jo, [["__scopeId", "data-v-c4fe0873"]]), Qo = ["id"], jo = ["viewBox", "aria-label"], eu = ["x", "y", "width", "height"], lu = { key: 1 }, tu = { class: "vue-ui-xy-grid" }, au = ["stroke", "x1", "x2", "y1", "y2"], ou = ["stroke", "x1", "x2", "y1", "y2"], uu = { key: 1 }, iu = ["x1", "x2", "y1", "y2", "stroke"], su = ["x1", "x2", "y1", "y2", "stroke"], nu = ["x1", "x2", "y1", "y2", "stroke"], ru = { key: 3 }, cu = ["d", "stroke"], vu = { key: 4 }, du = ["d", "stroke"], hu = ["id"], fu = ["stop-color"], gu = ["stop-color"], mu = ["stop-color"], xu = ["id"], bu = ["stop-color"], pu = ["stop-color"], yu = ["stop-color"], ku = ["id"], wu = ["stop-color"], Su = ["stop-color"], $u = ["id"], _u = ["stop-color"], Lu = ["stop-color"], Mu = ["id"], Au = ["stop-color"], Cu = ["stop-color"], zu = ["x", "y", "height", "width", "fill"], Tu = ["x", "y", "width"], Iu = { key: 0 }, Ou = ["x", "y", "height", "width", "fill"], Nu = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ru = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Pu = ["width", "x", "y"], Hu = { key: 0 }, Vu = ["id"], Eu = ["fill"], Bu = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Fu = ["x", "y", "font-size", "fill"], Wu = ["stroke", "x1", "x2", "y1", "y2"], Yu = { key: 3 }, Du = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Xu = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Gu = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Uu = ["fill", "font-size", "transform"], Zu = ["x1", "x2", "y1", "y2", "stroke"], qu = ["x", "y", "font-size", "fill"], Ju = ["x1", "x2", "y1", "y2", "stroke"], Ku = ["x", "y", "font-size", "fill"], Qu = ["width", "x", "y"], ju = { style: { width: "100%" } }, ei = { key: 0 }, li = ["id"], ti = ["fill"], ai = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], oi = ["x", "y", "font-size", "fill"], ui = ["d", "stroke", "stroke-width", "stroke-dasharray"], ii = ["d", "stroke", "stroke-width", "stroke-dasharray"], si = { key: 6 }, ni = { key: 0 }, ri = ["d", "fill"], ci = ["d", "fill"], vi = ["d", "fill"], di = ["d", "fill"], hi = ["d", "stroke", "stroke-width", "stroke-dasharray"], fi = ["d", "stroke", "stroke-width", "stroke-dasharray"], gi = ["width", "x", "y"], mi = { style: { width: "100%" } }, xi = { key: 3 }, bi = ["id"], pi = ["fill"], yi = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ki = ["x", "y", "font-size", "fill"], wi = { key: 7 }, Si = ["x", "y", "font-size", "fill"], $i = ["x", "y", "font-size", "fill", "font-weight"], _i = { key: 8 }, Li = ["x", "y", "font-size", "fill"], Mi = { key: 9 }, Ai = ["x", "y"], Ci = ["innerHTML"], zi = ["x", "y"], Ti = ["innerHTML"], Ii = ["x1", "x2", "y1", "y2", "stroke"], Oi = { key: 10 }, Ni = ["x", "y", "font-size", "fill"], Ri = { key: 11 }, Pi = ["x", "y"], Hi = ["innerHTML"], Vi = ["x", "y"], Ei = ["innerHTML"], Bi = ["x1", "x2", "y1", "y2", "stroke"], Fi = ["x", "y", "font-size", "fill", "innerHTML"], Wi = ["x", "y", "font-size", "fill", "innerHTML"], Yi = ["x", "y", "font-size", "fill", "innerHTML"], Di = ["x", "y", "font-size", "fill", "innerHTML"], Xi = ["id"], Gi = ["stop-color"], Ui = ["stop-color"], Zi = ["x", "y", "width", "height", "fill", "onMouseenter"], qi = ["font-size", "fill", "transform"], Ji = ["x", "y", "font-size", "fill"], Ki = ["text-anchor", "font-size", "fill", "transform", "onClick"], Qi = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], ji = { key: 14 }, es = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], ls = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], ts = ["y", "x", "width", "height", "fill"], as = ["id", "x", "y", "font-size", "fill", "text-anchor"], os = {
647
647
  key: 15,
648
648
  style: { "pointer-events": "none" }
649
649
  }, us = ["x", "y"], is = ["cx", "cy", "r", "fill"], ss = {
@@ -709,7 +709,7 @@ const To = {
709
709
  },
710
710
  emits: ["selectTimeLabel", "selectX", "selectLegend"],
711
711
  setup(C, { expose: Ct, emit: zt }) {
712
- const d = C, Pe = yl(() => import("./DataTable-D1RPxkQn.js")), ie = yl(() => import("./Tooltip-DSvSWahk.js")), re = yl(() => import("./UserOptions-Dm91TR_d.js")), Sl = yl(() => import("./BaseIcon-D1YxuTqn.js")), Zl = yl(() => import("./vue-ui-table-sparkline-CgUjTFEu.js")), Pl = yl(() => import("./vue-ui-accordion-h_xORY7m.js")), $l = yl(() => import("./PackageVersion-Dvivm8-r.js")), _l = yl(() => import("./PenAndPaper-DaQWWpgs.js")), dl = zt, Jl = Qa(), Kl = ja(), { vue_ui_xy: Ql } = io(), fe = p(null), ye = p(null), ze = p(null), el = p(null), Ll = p(null), Ml = p(null), Tt = p(null), He = p(null), Hl = p(null), nl = p(null), Al = p(null), D = p(null), ll = p(null), ge = p(0), M = p(null), Ve = p(!0), se = p(600), ne = p(1e3), Vl = p("0 0 1000 600"), Cl = p({ x: 0, y: 0 }), Ge = p({ line: "line", bar: "bar", plot: "plot" }), hl = p(!1), rl = p(!1), El = p(!1), Te = p(null), oe = p([]), Q = p(_t()), rt = p(0), ct = p(0), jl = p(0), Me = p(!0), Ee = p(0), O = p(null), Ue = p(!1), Bl = p(!0), Fl = p(!0), Se = p(null), Be = p({}), Wl = p(null), S = p(null), vt = y(() => ({
712
+ const d = C, Pe = yl(() => import("./DataTable-CXvbwtai.js")), ie = yl(() => import("./Tooltip-DsVWsLP0.js")), re = yl(() => import("./UserOptions-DdxzR5Mv.js")), Sl = yl(() => import("./BaseIcon-B-JPaycb.js")), ql = yl(() => import("./vue-ui-table-sparkline-BL-1y2Oq.js")), Pl = yl(() => import("./vue-ui-accordion-CP3KpYYB.js")), $l = yl(() => import("./PackageVersion-D3gM0cgH.js")), _l = yl(() => import("./PenAndPaper-tiWdtLvY.js")), dl = zt, Jl = Qa(), Kl = ja(), { vue_ui_xy: Ql } = io(), fe = p(null), ye = p(null), ze = p(null), el = p(null), Ll = p(null), Ml = p(null), Tt = p(null), He = p(null), Hl = p(null), nl = p(null), Al = p(null), D = p(null), ll = p(null), ge = p(0), M = p(null), Ve = p(!0), se = p(600), ne = p(1e3), Vl = p("0 0 1000 600"), Cl = p({ x: 0, y: 0 }), Ge = p({ line: "line", bar: "bar", plot: "plot" }), hl = p(!1), rl = p(!1), El = p(!1), Te = p(null), oe = p([]), Q = p(_t()), rt = p(0), ct = p(0), jl = p(0), Me = p(!0), Ee = p(0), O = p(null), Ue = p(!1), Bl = p(!0), Fl = p(!0), Se = p(null), Be = p({}), Wl = p(null), S = p(null), vt = y(() => ({
713
713
  height: se.value,
714
714
  width: ne.value
715
715
  })), fl = d.config.downsample && d.config.downsample.threshold ? d.config.downsample.threshold : 500, b = p({
@@ -753,7 +753,7 @@ const To = {
753
753
  customPalette: bo[t.theme] || d.palette
754
754
  } : t;
755
755
  }
756
- const qe = y({
756
+ const Ze = y({
757
757
  get() {
758
758
  return !!d.dataset && d.dataset.length;
759
759
  },
@@ -845,12 +845,12 @@ const To = {
845
845
  }), me = y({
846
846
  get: () => Math.max(...$e.value.map((t) => ul({ data: t.series, threshold: fl }).length)),
847
847
  set: (t) => t
848
- }), k = p({ start: 0, end: me.value }), q = p({ start: 0, end: me.value }), x = y(() => e.value.chart.zoom.preview.enable && (q.value.start !== k.value.start || q.value.end !== k.value.end));
848
+ }), k = p({ start: 0, end: me.value }), Z = p({ start: 0, end: me.value }), x = y(() => e.value.chart.zoom.preview.enable && (Z.value.start !== k.value.start || Z.value.end !== k.value.end));
849
849
  function g(t, c) {
850
- q.value[t] = c;
850
+ Z.value[t] = c;
851
851
  }
852
852
  const A = y(() => {
853
- const { left: t, top: c, width: l, height: i } = r.value, a = k.value.start, o = k.value.end - a, H = l / o, X = q.value.start - a, G = q.value.end - a, T = Math.max(0, Math.min(o, X)), R = Math.max(0, Math.min(o, G));
853
+ const { left: t, top: c, width: l, height: i } = r.value, a = k.value.start, o = k.value.end - a, H = l / o, X = Z.value.start - a, G = Z.value.end - a, T = Math.max(0, Math.min(o, X)), R = Math.max(0, Math.min(o, G));
854
854
  return {
855
855
  x: t + T * H,
856
856
  y: c,
@@ -877,7 +877,7 @@ const To = {
877
877
  const c = t - k.value.start;
878
878
  c < 0 || t >= k.value.end ? S.value = null : S.value = c ?? null;
879
879
  }, { immediate: !0 });
880
- const { isPrinting: Z, isImaging: Ie, generatePdf: ml, generateImage: dt } = So({
880
+ const { isPrinting: q, isImaging: Ie, generatePdf: ml, generateImage: dt } = So({
881
881
  elementId: `vue-ui-xy_${Q.value}`,
882
882
  fileName: e.value.chart.title.text || "vue-ui-xy",
883
883
  options: e.value.chart.userOptions.print
@@ -886,7 +886,7 @@ const To = {
886
886
  return e.value.chart.grid.labels.yAxis.scaleMin;
887
887
  const t = Math.min(...cl.value.filter((c) => !oe.value.includes(c.id)).map((c) => Math.min(...c.series)));
888
888
  return t > 0 ? 0 : t;
889
- }), Ze = y(() => e.value.chart.grid.labels.yAxis.useNiceScale ? st(Ot.value, Yl.value < 0 ? 0 : Yl.value, e.value.chart.grid.labels.yAxis.commonScaleSteps) : Nl(Ot.value, Yl.value < 0 ? 0 : Yl.value, e.value.chart.grid.labels.yAxis.commonScaleSteps)), et = y(() => [null, void 0].includes(e.value.chart.grid.labels.yAxis.scaleMin) ? Ze.value.min >= 0 ? 0 : Math.abs(Ze.value.min) : -Ze.value.min), cl = y(() => Ve.value ? $e.value.map((t, c) => {
889
+ }), qe = y(() => e.value.chart.grid.labels.yAxis.useNiceScale ? st(Ot.value, Yl.value < 0 ? 0 : Yl.value, e.value.chart.grid.labels.yAxis.commonScaleSteps) : Nl(Ot.value, Yl.value < 0 ? 0 : Yl.value, e.value.chart.grid.labels.yAxis.commonScaleSteps)), et = y(() => [null, void 0].includes(e.value.chart.grid.labels.yAxis.scaleMin) ? qe.value.min >= 0 ? 0 : Math.abs(qe.value.min) : -qe.value.min), cl = y(() => Ve.value ? $e.value.map((t, c) => {
890
890
  const l = ul({
891
891
  data: t.series,
892
892
  threshold: e.value.downsample.threshold
@@ -1000,7 +1000,7 @@ const To = {
1000
1000
  }
1001
1001
  const Xt = p(!1);
1002
1002
  async function Gt(t = !1) {
1003
- await ql(), Xt.value = t, Ue.value && (Fl.value = t);
1003
+ await Zl(), Xt.value = t, Ue.value && (Fl.value = t);
1004
1004
  }
1005
1005
  function Rt() {
1006
1006
  hl.value = !hl.value;
@@ -1045,10 +1045,10 @@ const To = {
1045
1045
  });
1046
1046
  }
1047
1047
  const _ = y(() => k.value.end - k.value.start);
1048
- function qt(t) {
1048
+ function Zt(t) {
1049
1049
  O.value = t;
1050
1050
  }
1051
- function Zt() {
1051
+ function qt() {
1052
1052
  b.value.isStacked = !b.value.isStacked, b.value.isStacked ? b.value.useIndividualScale = !0 : b.value.useIndividualScale = e.value.chart.grid.labels.yAxis.useIndividualScale;
1053
1053
  }
1054
1054
  function Pt(t) {
@@ -1065,7 +1065,7 @@ const To = {
1065
1065
  return t > c ? c : t < 0 || e.value.chart.zoom.startIndex !== null && t < e.value.chart.zoom.startIndex ? e.value.chart.zoom.startIndex !== null ? e.value.chart.zoom.startIndex + 1 : 1 : t;
1066
1066
  }
1067
1067
  async function Ht() {
1068
- await ql(), await ql();
1068
+ await Zl(), await Zl();
1069
1069
  const { startIndex: t, endIndex: c } = e.value.chart.zoom, l = ze.value, i = Math.max(
1070
1070
  ...$e.value.map(
1071
1071
  (a) => ul({
@@ -1074,7 +1074,7 @@ const To = {
1074
1074
  }).length
1075
1075
  )
1076
1076
  );
1077
- (t != null || c != null) && l ? (t != null && l.setStartValue(t), c != null && l.setEndValue(Ra(c + 1))) : (k.value = { start: 0, end: i }, ge.value += 1), q.value.start = k.value.start, q.value.end = k.value.end;
1077
+ (t != null || c != null) && l ? (t != null && l.setStartValue(t), c != null && l.setEndValue(Ra(c + 1))) : (k.value = { start: 0, end: i }, ge.value += 1), Z.value.start = k.value.start, Z.value.end = k.value.end;
1078
1078
  }
1079
1079
  async function Jt() {
1080
1080
  await Ht();
@@ -1082,7 +1082,7 @@ const To = {
1082
1082
  function We(t) {
1083
1083
  return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(t);
1084
1084
  }
1085
- const Kt = y(() => Ze.value.max + et.value);
1085
+ const Kt = y(() => qe.value.max + et.value);
1086
1086
  function Tl(t) {
1087
1087
  return t / (We(Kt.value) ? Kt.value : 1);
1088
1088
  }
@@ -1261,7 +1261,7 @@ const To = {
1261
1261
  comments: t.comments || [],
1262
1262
  prefix: t.prefix || e.value.chart.labels.prefix,
1263
1263
  suffix: t.suffix || e.value.chart.labels.suffix
1264
- }))), ia = y(() => Ze.value.ticks.map((t) => ({
1264
+ }))), ia = y(() => qe.value.ticks.map((t) => ({
1265
1265
  y: t >= 0 ? _e.value - r.value.height * Tl(t) : _e.value + r.value.height * Tl(Math.abs(t)),
1266
1266
  value: t,
1267
1267
  prefix: e.value.chart.labels.prefix,
@@ -1273,7 +1273,7 @@ const To = {
1273
1273
  (T) => T.show && (T.yAxis.yTop != null || T.yAxis.yBottom != null)
1274
1274
  );
1275
1275
  if (!c.length) return [];
1276
- const { left: l, right: i } = r.value, a = _e.value, n = r.value.height, o = Ze.value.min, X = Ze.value.max - o, G = (T) => {
1276
+ const { left: l, right: i } = r.value, a = _e.value, n = r.value.height, o = qe.value.min, X = qe.value.max - o, G = (T) => {
1277
1277
  const R = (T - 0) / X;
1278
1278
  return a - R * n;
1279
1279
  };
@@ -1386,10 +1386,10 @@ const To = {
1386
1386
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
1387
1387
  min: o.scaleMin || (Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues))
1388
1388
  }, U = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, I = 1.0000001, E = e.value.chart.grid.labels.yAxis.useNiceScale ? st(R.min, R.max === R.min ? R.max * I : R.max, U) : Nl(R.min, R.max === R.min ? R.max * I : R.max, U), N = e.value.chart.grid.labels.yAxis.useNiceScale ? st(T.valueMin, T.valueMax === T.valueMin ? T.valueMax * I : T.valueMax, U) : Nl(T.valueMin, T.valueMax === T.valueMin ? T.valueMax * I : T.valueMax, U), ce = E.min >= 0 ? 0 : Math.abs(E.min), be = 0, te = E.max + Math.abs(ce), Ye = N.max + Math.abs(be), ol = o.stackIndex, Xl = c - 1 - ol, Oe = i ? 1 - o.cumulatedStackRatio : 0, F = i ? n * Oe + l * Xl : 0, W = i ? n * o.stackRatio : r.value.height, ve = r.value.bottom - F - W * ce / te, Ne = r.value.bottom - F - W * be / Ye, Le = o.series.map((P, ke) => {
1389
- const Za = b.value.useIndividualScale ? (o.absoluteValues[ke] + Math.abs(ce)) / te : Tl(P);
1389
+ const qa = b.value.useIndividualScale ? (o.absoluteValues[ke] + Math.abs(ce)) / te : Tl(P);
1390
1390
  return {
1391
1391
  x: V(r.value.left + ue.value.line / 2 + ue.value.line * ke),
1392
- y: V(r.value.bottom - F - W * Za),
1392
+ y: V(r.value.bottom - F - W * qa),
1393
1393
  value: o.absoluteValues[ke],
1394
1394
  comment: o.comments && o.comments.slice(k.value.start, k.value.end)[ke] || ""
1395
1395
  };
@@ -1573,7 +1573,7 @@ const To = {
1573
1573
  lines: Je.value,
1574
1574
  plots: al.value,
1575
1575
  config: e.value
1576
- })), qa = y(() => {
1576
+ })), Za = y(() => {
1577
1577
  let t = "", c = tt.value.map((a) => a.value).filter((a) => wt(a) && a !== null).reduce((a, n) => Math.abs(a) + Math.abs(n), 0);
1578
1578
  const l = j.value[S.value], i = e.value.chart.tooltip.customFormat;
1579
1579
  return fo(i) && go(() => i({
@@ -1809,7 +1809,7 @@ const To = {
1809
1809
  let n = null, o = 0;
1810
1810
  e.value.chart.title.show && ye.value && (n = ye.value, o = n.getBoundingClientRect().height);
1811
1811
  let H = null, X = 0;
1812
- e.value.chart.zoom.show && me.value > 6 && qe.value && ze.value && ze.value.$el && (H = ze.value.$el, X = H.getBoundingClientRect().height);
1812
+ e.value.chart.zoom.show && me.value > 6 && Ze.value && ze.value && ze.value.$el && (H = ze.value.$el, X = H.getBoundingClientRect().height);
1813
1813
  let G = null, T = 0;
1814
1814
  e.value.chart.legend.show && el.value && (G = el.value, T = G.getBoundingClientRect().height);
1815
1815
  let R = 0;
@@ -1879,7 +1879,7 @@ const To = {
1879
1879
  generatePdf: ml,
1880
1880
  generateImage: dt,
1881
1881
  generateCsv: ca,
1882
- toggleStack: Zt,
1882
+ toggleStack: qt,
1883
1883
  toggleTable: da,
1884
1884
  toggleLabels: ha,
1885
1885
  toggleTooltip: fa,
@@ -1935,7 +1935,7 @@ const To = {
1935
1935
  key: `user_options_${rt.value}`,
1936
1936
  backgroundColor: e.value.chart.backgroundColor,
1937
1937
  color: e.value.chart.color,
1938
- isPrinting: v(Z),
1938
+ isPrinting: v(q),
1939
1939
  isImaging: v(Ie),
1940
1940
  uid: Q.value,
1941
1941
  hasTooltip: e.value.chart.userOptions.buttons.tooltip && e.value.chart.tooltip.show,
@@ -1962,7 +1962,7 @@ const To = {
1962
1962
  onGenerateImage: v(dt),
1963
1963
  onToggleTable: da,
1964
1964
  onToggleLabels: ha,
1965
- onToggleStack: Zt,
1965
+ onToggleStack: qt,
1966
1966
  onToggleTooltip: fa,
1967
1967
  onToggleAnnotator: Rt,
1968
1968
  style: $({
@@ -2464,7 +2464,7 @@ const To = {
2464
2464
  "stroke-width": 1,
2465
2465
  "stroke-linecap": "round",
2466
2466
  style: { animation: "none !important" }
2467
- }, null, 8, qu)) : h("", !0)
2467
+ }, null, 8, Zu)) : h("", !0)
2468
2468
  ], 64))), 256)),
2469
2469
  (u(!0), s(f, null, L(l.yLabels, (i, a) => (u(), s("text", {
2470
2470
  x: l.x - 5 + le.value - r.value.individualOffsetX,
@@ -2482,12 +2482,12 @@ const To = {
2482
2482
  r: e.value.chart.grid.labels.yAxis.rounding
2483
2483
  }),
2484
2484
  { datapoint: i.datapoint, seriesIndex: a }
2485
- )), 9, Zu))), 256))
2485
+ )), 9, qu))), 256))
2486
2486
  ], 4))), 256))
2487
2487
  ], 64)) : (u(!0), s(f, { key: 1 }, L(ia.value, (l, i) => (u(), s("g", {
2488
2488
  key: `yLabel_${i}`
2489
2489
  }, [
2490
- We(l) && l.value >= Ze.value.min && l.value <= Ze.value.max && e.value.chart.grid.labels.yAxis.showCrosshairs ? (u(), s("line", {
2490
+ We(l) && l.value >= qe.value.min && l.value <= qe.value.max && e.value.chart.grid.labels.yAxis.showCrosshairs ? (u(), s("line", {
2491
2491
  key: 0,
2492
2492
  x1: r.value.left,
2493
2493
  x2: r.value.left - e.value.chart.grid.labels.yAxis.crosshairSize,
@@ -2498,7 +2498,7 @@ const To = {
2498
2498
  "stroke-linecap": "round",
2499
2499
  style: { animation: "none !important" }
2500
2500
  }, null, 8, Ju)) : h("", !0),
2501
- l.value >= Ze.value.min && l.value <= Ze.value.max ? (u(), s("text", {
2501
+ l.value >= qe.value.min && l.value <= qe.value.max ? (u(), s("text", {
2502
2502
  key: 1,
2503
2503
  x: r.value.scaleLabelX - e.value.chart.grid.labels.yAxis.crosshairSize,
2504
2504
  y: v(V)(l.y + w.value.dataLabels / 3),
@@ -3102,7 +3102,7 @@ const To = {
3102
3102
  fill: M.value === l.groupId ? `url(#individual_scale_gradient_${Q.value}_${i})` : "transparent",
3103
3103
  onMouseenter: (a) => M.value = l.groupId,
3104
3104
  onMouseleave: c[0] || (c[0] = (a) => M.value = null)
3105
- }, null, 40, qi))), 256))
3105
+ }, null, 40, Zi))), 256))
3106
3106
  ], 64)) : h("", !0),
3107
3107
  m("g", null, [
3108
3108
  e.value.chart.grid.labels.axis.yLabel && !b.value.useIndividualScale ? (u(), s("text", {
@@ -3114,7 +3114,7 @@ const To = {
3114
3114
  transform: `translate(${e.value.chart.grid.labels.axis.fontSize}, ${r.value.top + r.value.height / 2}) rotate(-90)`,
3115
3115
  "text-anchor": "middle",
3116
3116
  style: { transition: "none" }
3117
- }, ae(e.value.chart.grid.labels.axis.yLabel), 9, Zi)) : h("", !0),
3117
+ }, ae(e.value.chart.grid.labels.axis.yLabel), 9, qi)) : h("", !0),
3118
3118
  e.value.chart.grid.labels.axis.xLabel ? (u(), s("text", {
3119
3119
  key: 1,
3120
3120
  ref_key: "xAxisLabel",
@@ -3261,7 +3261,7 @@ const To = {
3261
3261
  ], 512)
3262
3262
  ], 46, jo)),
3263
3263
  t.$slots.watermark ? (u(), s("div", ss, [
3264
- K(t.$slots, "watermark", vl(kl({ isPrinting: v(Z) || v(Ie) })), void 0, !0)
3264
+ K(t.$slots, "watermark", vl(kl({ isPrinting: v(q) || v(Ie) })), void 0, !0)
3265
3265
  ])) : h("", !0),
3266
3266
  (u(!0), s(f, null, L(Je.value, (l, i) => (u(), s(f, {
3267
3267
  key: `tag_line_${i}`
@@ -3488,7 +3488,7 @@ const To = {
3488
3488
  ], 64))), 128))
3489
3489
  ], 64))), 128)),
3490
3490
  e.value.chart.zoom.preview.enable ? (u(), s(f, { key: 5 }, [
3491
- e.value.chart.zoom.show && me.value > 6 && qe.value ? (u(), Ke(Ko, {
3491
+ e.value.chart.zoom.show && me.value > 6 && Ze.value ? (u(), Ke(Ko, {
3492
3492
  ref_key: "chartSlicer",
3493
3493
  ref: ze,
3494
3494
  key: `slicer_${ge.value}`,
@@ -3523,7 +3523,7 @@ const To = {
3523
3523
  enableRangeHandles: e.value.chart.zoom.enableRangeHandles,
3524
3524
  enableSelectionDrag: e.value.chart.zoom.enableSelectionDrag,
3525
3525
  onReset: Jt,
3526
- onTrapMouse: qt,
3526
+ onTrapMouse: Zt,
3527
3527
  onFutureStart: c[3] || (c[3] = (l) => g("start", l)),
3528
3528
  onFutureEnd: c[4] || (c[4] = (l) => g("end", l)),
3529
3529
  timeLabels: Oa.value,
@@ -3535,7 +3535,7 @@ const To = {
3535
3535
  _: 3
3536
3536
  }, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "verticalHandles", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "timeLabels", "isPreview"])) : h("", !0)
3537
3537
  ], 64)) : (u(), s(f, { key: 6 }, [
3538
- e.value.chart.zoom.show && me.value > 6 && qe.value ? (u(), Ke(Co, {
3538
+ e.value.chart.zoom.show && me.value > 6 && Ze.value ? (u(), Ke(Co, {
3539
3539
  ref_key: "chartSlicer",
3540
3540
  ref: ze,
3541
3541
  key: `slicer_${ge.value}`,
@@ -3570,7 +3570,7 @@ const To = {
3570
3570
  enableRangeHandles: e.value.chart.zoom.enableRangeHandles,
3571
3571
  enableSelectionDrag: e.value.chart.zoom.enableSelectionDrag,
3572
3572
  onReset: Jt,
3573
- onTrapMouse: qt
3573
+ onTrapMouse: Zt
3574
3574
  }, {
3575
3575
  "reset-action": pe(({ reset: l }) => [
3576
3576
  K(t.$slots, "reset-action", vl(kl({ reset: l })), void 0, !0)
@@ -3669,7 +3669,7 @@ const To = {
3669
3669
  position: e.value.chart.tooltip.position,
3670
3670
  offsetY: e.value.chart.tooltip.offsetY,
3671
3671
  parent: t.$refs.chart,
3672
- content: qa.value,
3672
+ content: Za.value,
3673
3673
  isFullscreen: rl.value,
3674
3674
  isCustom: e.value.chart.tooltip.customFormat && typeof e.value.chart.tooltip.customFormat == "function",
3675
3675
  smooth: e.value.chart.tooltip.smooth,
@@ -3683,7 +3683,7 @@ const To = {
3683
3683
  ]),
3684
3684
  _: 3
3685
3685
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
3686
- qe.value ? (u(), Ke(v(Pl), {
3686
+ Ze.value ? (u(), Ke(v(Pl), {
3687
3687
  key: 10,
3688
3688
  hideDetails: "",
3689
3689
  config: {
@@ -3701,7 +3701,7 @@ const To = {
3701
3701
  }, {
3702
3702
  content: pe(() => [
3703
3703
  m("div", {
3704
- style: $(`${v(Z) ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
3704
+ style: $(`${v(q) ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
3705
3705
  }, [
3706
3706
  m("div", Ms, [
3707
3707
  Bt(m("input", {
@@ -3721,7 +3721,7 @@ const To = {
3721
3721
  }, null, 8, ["stroke"])
3722
3722
  ])
3723
3723
  ]),
3724
- Me.value ? (u(), Ke(v(Zl), {
3724
+ Me.value ? (u(), Ke(v(ql), {
3725
3725
  key: `sparkline_${Ee.value}`,
3726
3726
  dataset: Xa.value,
3727
3727
  config: Ga.value