vue-data-ui 3.0.0-next.49 → 3.0.0-next.50

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 (90) hide show
  1. package/dist/{Arrow-DotTzDzE.js → Arrow-Z9jhaVP0.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BPs3KOCk.js → BaseDraggableDialog-CXFM6lrb.js} +2 -2
  3. package/dist/{BaseIcon-B4lxhw9o.js → BaseIcon-D3lVmh4q.js} +1 -1
  4. package/dist/{ColorPicker-2EO8-zhQ.js → ColorPicker-CZydWpxG.js} +2 -2
  5. package/dist/{DataTable-CVnNcUM4.js → DataTable-DBPMgoC3.js} +2 -2
  6. package/dist/{Legend-BlVtnIFw.js → Legend-Dj4hW4ih.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-07syJcgZ.js → NonSvgPenAndPaper-JPMlKVW3.js} +3 -3
  8. package/dist/{PackageVersion-Cg4_GtJf.js → PackageVersion-_JpUHIQF.js} +1 -1
  9. package/dist/{PenAndPaper-Cz9cyN0p.js → PenAndPaper-CiXy6ifX.js} +3 -3
  10. package/dist/{Shape-BV7FCMRW.js → Shape-BLUp5WPA.js} +1 -1
  11. package/dist/{Slicer-B_KcnJc3.js → Slicer-QbudvRet.js} +2 -2
  12. package/dist/{SparkTooltip-BEClvQnh.js → SparkTooltip-Nh3_vlzT.js} +1 -1
  13. package/dist/{Title-BFyRC6GM.js → Title-CxOYqn0J.js} +1 -1
  14. package/dist/{Tooltip-CAF7J60u.js → Tooltip-CzRs24i2.js} +1 -1
  15. package/dist/{UserOptions-D3-mjgYs.js → UserOptions-RZkXTOCa.js} +2 -2
  16. package/dist/{dom-to-png-kBhe3ibE.js → dom-to-png-CV2fR0EQ.js} +1 -1
  17. package/dist/{img-C5BY-RpJ.js → img-B7ogJ4e0.js} +1 -1
  18. package/dist/{index-D6eUCgEP.js → index-CJ_8wwwn.js} +2 -1
  19. package/dist/{pdf-Dj4tVKzE.js → pdf-set5F9CM.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +1 -0
  22. package/dist/types/vue-data-ui.d.ts +1 -0
  23. package/dist/{useAutoSizeLabelsInsideViewbox-CnajDz5R.js → useAutoSizeLabelsInsideViewbox-CyuM0n69.js} +1 -1
  24. package/dist/{useNestedProp-BApHoInw.js → useNestedProp-Co3NIfJz.js} +1 -1
  25. package/dist/{usePrinter-B_35JREm.js → usePrinter-Djgu-cC0.js} +2 -2
  26. package/dist/{vue-data-ui-DbOmFNxn.js → vue-data-ui-HYXpyDKV.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-BWl2wDpv.js → vue-ui-3d-bar-CT_YtMoO.js} +6 -6
  29. package/dist/{vue-ui-accordion-BZiwwf95.js → vue-ui-accordion-3yBUN0ar.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-C9Uwu6sz.js → vue-ui-age-pyramid-FUsbvtyA.js} +6 -6
  31. package/dist/{vue-ui-annotator-D-S2Pa6d.js → vue-ui-annotator-C4Z-9ldl.js} +2 -2
  32. package/dist/{vue-ui-bullet-CmItGyRx.js → vue-ui-bullet-B1ALDthr.js} +7 -7
  33. package/dist/{vue-ui-candlestick-8-jyu0C7.js → vue-ui-candlestick-BuD3f7_o.js} +7 -7
  34. package/dist/{vue-ui-carousel-table-bpuq5ZXs.js → vue-ui-carousel-table-Dm_FdAF0.js} +4 -4
  35. package/dist/{vue-ui-chestnut-CWdwyp7F.js → vue-ui-chestnut-WTwQvrY9.js} +5 -5
  36. package/dist/{vue-ui-chord-BGNBeAMc.js → vue-ui-chord-CPVmSnYG.js} +8 -8
  37. package/dist/{vue-ui-circle-pack-CWHbNqER.js → vue-ui-circle-pack-Bc8bJtl0.js} +6 -6
  38. package/dist/{vue-ui-cursor-DU-sUJqm.js → vue-ui-cursor-DfZVsgB6.js} +2 -2
  39. package/dist/{vue-ui-dashboard-DPnqiFZt.js → vue-ui-dashboard-BP5AhItc.js} +62 -62
  40. package/dist/{vue-ui-digits-Bk75Ph_N.js → vue-ui-digits-FvXrM2xK.js} +2 -2
  41. package/dist/{vue-ui-donut-DlJ164Ho.js → vue-ui-donut-3JmvHI0A.js} +8 -8
  42. package/dist/{vue-ui-donut-evolution-Bn6tNIhD.js → vue-ui-donut-evolution-DiBD970y.js} +8 -8
  43. package/dist/{vue-ui-dumbbell-Co0dhIlX.js → vue-ui-dumbbell-BiD393o3.js} +7 -7
  44. package/dist/{vue-ui-flow-C5nPJMht.js → vue-ui-flow-DbdQR23z.js} +7 -7
  45. package/dist/{vue-ui-funnel-oyFttR44.js → vue-ui-funnel-DByaDRM7.js} +6 -6
  46. package/dist/{vue-ui-galaxy-DQzS2e8f.js → vue-ui-galaxy-C4Al6xQj.js} +5 -5
  47. package/dist/{vue-ui-gauge-DXaspDjM.js → vue-ui-gauge-DjUtEfNU.js} +7 -7
  48. package/dist/{vue-ui-gizmo-Ce1BJaCv.js → vue-ui-gizmo-CzrxRz6L.js} +3 -3
  49. package/dist/{vue-ui-heatmap-DyylSc9H.js → vue-ui-heatmap-HVYUxTOT.js} +7 -7
  50. package/dist/{vue-ui-history-plot-n4RiiZru.js → vue-ui-history-plot-DXSpSL4A.js} +7 -7
  51. package/dist/{vue-ui-kpi-86f0lpbv.js → vue-ui-kpi-DU8bOzeM.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-Bhf43HYu.js → vue-ui-mini-loader-E4KhKAQz.js} +2 -2
  53. package/dist/{vue-ui-molecule-BPiowxmT.js → vue-ui-molecule-DrFrNbBj.js} +5 -5
  54. package/dist/{vue-ui-mood-radar-C2XTA7zS.js → vue-ui-mood-radar-Cf_2QCYC.js} +7 -7
  55. package/dist/{vue-ui-nested-donuts-DLUDg8Gk.js → vue-ui-nested-donuts-BnA1KtIt.js} +9 -9
  56. package/dist/{vue-ui-onion-CsZcgkcy.js → vue-ui-onion-B84CPvyH.js} +8 -8
  57. package/dist/{vue-ui-parallel-coordinate-plot-lebyjyDa.js → vue-ui-parallel-coordinate-plot-D4Ct2cvP.js} +8 -8
  58. package/dist/{vue-ui-quadrant-CzBI0nnL.js → vue-ui-quadrant-8ksd3FSu.js} +8 -8
  59. package/dist/{vue-ui-quick-chart-Crr9LZ1B.js → vue-ui-quick-chart-BY8Kd1LO.js} +6 -6
  60. package/dist/{vue-ui-radar-7lxwJ59B.js → vue-ui-radar-BUQaHh0L.js} +7 -7
  61. package/dist/{vue-ui-rating-DDb0GWHH.js → vue-ui-rating-Cn1_Hn2b.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-Kxkxkh-1.js → vue-ui-relation-circle-DPKDfjYx.js} +6 -6
  63. package/dist/{vue-ui-ridgeline-DYOtEei6.js → vue-ui-ridgeline-zvRHpo_N.js} +8 -8
  64. package/dist/{vue-ui-rings-Cdxl4tbG.js → vue-ui-rings-Tw1dHWHH.js} +8 -8
  65. package/dist/{vue-ui-scatter-CyncadlL.js → vue-ui-scatter-8LZZMVhD.js} +8 -8
  66. package/dist/{vue-ui-skeleton-BsGAx6EO.js → vue-ui-skeleton-DVxUvega.js} +3 -3
  67. package/dist/{vue-ui-smiley-BSRMXP0_.js → vue-ui-smiley-DJTTUjT_.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-8jFykYcD.js → vue-ui-spark-trend-Dsku4oGR.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-Sn9cp8uT.js → vue-ui-sparkbar-Br_fLEOr.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-DLVjSoWV.js → vue-ui-sparkgauge-DSBJsCu3.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-CMtj3d70.js → vue-ui-sparkhistogram-BX6SXzWN.js} +4 -4
  72. package/dist/{vue-ui-sparkline-PdA7SxHY.js → vue-ui-sparkline-DgVH0bCY.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BJsTLD0S.js → vue-ui-sparkstackbar-D-KbMYmo.js} +3 -3
  74. package/dist/{vue-ui-stackbar-CAeqsmt2.js → vue-ui-stackbar-DWOm3J6d.js} +9 -9
  75. package/dist/{vue-ui-strip-plot-DA8EXkjU.js → vue-ui-strip-plot-Bi4PWqJG.js} +7 -7
  76. package/dist/{vue-ui-table-BPKr_mKl.js → vue-ui-table-Ac5mvoTX.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DN2k0MYk.js → vue-ui-table-heatmap-DtN-NEea.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-5l6bCUhT.js → vue-ui-table-sparkline-Dm9VtfGM.js} +4 -4
  79. package/dist/{vue-ui-thermometer-BOD9V8DL.js → vue-ui-thermometer-CKzsQxea.js} +6 -6
  80. package/dist/{vue-ui-timer-57aaKsPi.js → vue-ui-timer-CRuQHU_f.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-BU-F4ucd.js → vue-ui-tiremarks-0mS5yMkd.js} +6 -6
  82. package/dist/{vue-ui-treemap-Bn5hZXkA.js → vue-ui-treemap-BkU919fN.js} +8 -8
  83. package/dist/{vue-ui-vertical-bar-Cnw3jql2.js → vue-ui-vertical-bar-ByPC7JmK.js} +9 -9
  84. package/dist/{vue-ui-waffle-BURt826b.js → vue-ui-waffle-GWXnMKeQ.js} +8 -8
  85. package/dist/{vue-ui-wheel-LgKxBqPV.js → vue-ui-wheel-PP-IY2XR.js} +6 -6
  86. package/dist/{vue-ui-word-cloud-C4vbIC9H.js → vue-ui-word-cloud-Cc5c_8Z1.js} +6 -6
  87. package/dist/{vue-ui-world-BcHGc5CX.js → vue-ui-world-B1zbPwk3.js} +6 -6
  88. package/dist/{vue-ui-xy-DMmZMjpX.js → vue-ui-xy-D7Sx_bPF.js} +1042 -1042
  89. package/dist/{vue-ui-xy-canvas-FTVpx_gZ.js → vue-ui-xy-canvas-sA_OEIMw.js} +8 -8
  90. package/package.json +1 -1
@@ -1,28 +1,28 @@
1
- import { useCssVars as qa, computed as k, ref as p, onMounted as $t, onBeforeUnmount as rt, watch as nl, nextTick as Zl, onUpdated as Za, createElementBlock as s, openBlock as u, createElementVNode as x, createCommentVNode as h, renderSlot as K, normalizeStyle as $, createVNode as ql, withDirectives as Vt, unref as v, Fragment as g, renderList as L, normalizeClass as Re, vModelText as ma, toDisplayString as ae, defineAsyncComponent as wl, useSlots as Ja, getCurrentInstance as Ka, toRefs as Qa, watchEffect as ja, createBlock as Qe, createSlots as eo, withCtx as pe, normalizeProps as hl, guardReactiveProps as Sl, mergeProps as pt, vModelCheckbox as lo, createTextVNode as to } from "vue";
2
- import { c as St, W as _t, V as Lt, X as ao, F as el, u as oo, e as Pt, v as uo, a5 as il, b as io, D as nt, ac as Pl, d as so, p as no, ad as yt, aa as Y, ae as ro, w as V, af as xa, ag as ba, ah as co, ai as pa, aj as ya, i as we, y as vo, z as ho, $ as ka, R as sl, f as De, x as Hl, s as je, a8 as ee, L as fo, ak as kt, I as go, al as $l, C as Xe, t as mo, a as xo, o as wa, q as bo, r as po, E as Ul } from "./index-D6eUCgEP.js";
3
- import { t as Et, u as yo } from "./useResponsive-DfdjqQps.js";
4
- import { u as ko } from "./usePrinter-B_35JREm.js";
5
- import { u as wo, B as So } from "./BaseScanner-DIK2NTdp.js";
6
- import { u as Ht } from "./useNestedProp-BApHoInw.js";
7
- import { u as Sa } from "./useTimeLabels-DkzmKfZn.js";
8
- import { u as $o } from "./useTimeLabelCollider-CIsgDrl9.js";
9
- import _o from "./img-C5BY-RpJ.js";
10
- import Lo from "./Title-BFyRC6GM.js";
11
- import { S as Mo } from "./Slicer-B_KcnJc3.js";
12
- import { _ as wt } from "./Shape-BV7FCMRW.js";
13
- import Ao from "./BaseIcon-B4lxhw9o.js";
14
- import { _ as $a } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const Co = {
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, W as Mt, V 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, ac as Nl, d as ro, p as co, ad as wt, aa as Y, ae as vo, w as V, af as pa, ag as ya, ah as ho, ai as ka, aj 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, ak as St, I as xo, al 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-CJ_8wwwn.js";
3
+ import { t as Ft, u as wo } from "./useResponsive-DfdjqQps.js";
4
+ import { u as So } from "./usePrinter-Djgu-cC0.js";
5
+ import { u as $o, B as _o } from "./BaseScanner-DIK2NTdp.js";
6
+ import { u as Et } from "./useNestedProp-Co3NIfJz.js";
7
+ import { u as _a } from "./useTimeLabels-DkzmKfZn.js";
8
+ import { u as Lo } from "./useTimeLabelCollider-CIsgDrl9.js";
9
+ import Mo from "./img-B7ogJ4e0.js";
10
+ import Ao from "./Title-CxOYqn0J.js";
11
+ import { S as Co } from "./Slicer-QbudvRet.js";
12
+ import { _ as $t } from "./Shape-BLUp5WPA.js";
13
+ import zo from "./BaseIcon-D3lVmh4q.js";
14
+ import { _ as La } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const To = {
16
16
  class: "vue-data-ui-slicer-labels",
17
17
  style: { position: "relative", "z-index": "1", "pointer-events": "none" }
18
- }, zo = {
18
+ }, Io = {
19
19
  key: 0,
20
20
  style: { width: "100%", position: "relative" }
21
- }, Io = {
21
+ }, Oo = {
22
22
  key: 0,
23
23
  class: "minimap",
24
24
  style: { width: "100%" }
25
- }, To = ["xmlns", "viewBox"], Oo = ["id"], No = ["stop-color"], Ro = ["d", "stroke"], Po = ["x", "width", "height", "fill", "rx"], Ho = ["d", "fill"], Vo = ["x", "width", "height", "rx", "fill"], Eo = ["x", "width", "height", "fill", "rx"], Bo = ["d", "fill"], Fo = ["d", "stroke"], Wo = ["cx", "cy", "stroke", "fill"], Yo = ["cx", "cy", "stroke", "fill"], Do = ["x1", "x2", "y2", "stroke"], Xo = ["x", "height", "width", "onMouseenter"], Go = ["min", "max"], Uo = ["min", "max"], qo = {
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 = {
26
26
  __name: "SlicerPreview",
27
27
  props: {
28
28
  background: {
@@ -138,293 +138,293 @@ const Co = {
138
138
  }
139
139
  },
140
140
  emits: ["futureStart", "futureEnd", "update:start", "update:end", "reset", "trapMouse"],
141
- setup(C, { expose: Mt, emit: At }) {
142
- qa((b) => ({
143
- "0f96aa59": Al.value,
141
+ setup(C, { expose: Ct, emit: zt }) {
142
+ Ja((x) => ({
143
+ "0f96aa59": Ll.value,
144
144
  b0e79a66: He.value,
145
- "344eb27e": Ct.value,
145
+ "344eb27e": Tt.value,
146
146
  f07d1806: C.selectColor,
147
- "18f1980b": Cl.value
147
+ "18f1980b": Ml.value
148
148
  }));
149
- const d = C, Pe = p(null), ie = p(d.min), re = p(d.max), _l = k(() => !!d.minimap.length), Jl = p(St()), Vl = p(0), Ll = k({
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({
150
150
  get() {
151
151
  return ie.value;
152
152
  },
153
- set(b) {
154
- const m = Math.min(b, re.value - 1);
155
- ie.value = m, Il.value && (Il.value.value = String(m)), fe("futureStart", m);
153
+ set(x) {
154
+ const g = Math.min(x, re.value - 1);
155
+ ie.value = g, Cl.value && (Cl.value.value = String(g)), fe("futureStart", g);
156
156
  }
157
- }), Ml = k({
157
+ }), _l = y({
158
158
  get() {
159
159
  return re.value;
160
160
  },
161
- set(b) {
162
- const m = Math.max(b, ie.value + 1);
163
- re.value = m, Ge.value && (Ge.value.value = String(m)), fe("futureEnd", m);
161
+ set(x) {
162
+ const g = Math.max(x, ie.value + 1);
163
+ re.value = g, Ge.value && (Ge.value.value = String(g)), fe("futureEnd", g);
164
164
  }
165
165
  });
166
- $t(() => {
167
- const b = () => {
168
- Pe.value && (Vl.value = Pe.value.getBoundingClientRect().width);
166
+ Lt(() => {
167
+ const x = () => {
168
+ Pe.value && (Pl.value = Pe.value.getBoundingClientRect().width);
169
169
  };
170
- b();
171
- const m = Et(b, 50);
172
- window.addEventListener("resize", m), rt(() => {
173
- window.removeEventListener("resize", m);
170
+ x();
171
+ const g = Ft(x, 50);
172
+ window.addEventListener("resize", g), nt(() => {
173
+ window.removeEventListener("resize", g);
174
174
  });
175
175
  });
176
- let fl = null;
177
- function Kl() {
178
- clearTimeout(fl), fl = setTimeout(() => {
176
+ let dl = null;
177
+ function Jl() {
178
+ clearTimeout(dl), dl = setTimeout(() => {
179
179
  fe("update:start", Number(ie.value)), fe("update:end", Number(re.value));
180
180
  }, 150);
181
181
  }
182
- function Ql() {
183
- clearTimeout(fl), fe("update:start", Number(ie.value)), fe("update:end", Number(re.value));
182
+ function Kl() {
183
+ clearTimeout(dl), fe("update:start", Number(ie.value)), fe("update:end", Number(re.value));
184
184
  }
185
- const jl = k(() => d.refreshEndPoint === null ? d.max : d.refreshEndPoint), fe = At, ye = k(() => {
186
- const b = d.max - d.min, m = (ie.value - d.min) / b * 100, A = (re.value - d.min) / b * 100, Z = (m + A) / 2, Te = ll.value ? `calc(${Z}% - ${y.value.width}px)` : ze.value ? `calc(${Z}%)` : `calc(${Z}% - ${y.value.width / 2}px)`;
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)`;
187
187
  return {
188
- left: `${m}%`,
189
- width: `${A - m}%`,
188
+ left: `${g}%`,
189
+ width: `${A - g}%`,
190
190
  background: d.selectColor,
191
- tooltipLeft: `calc(${m}% - ${ze.value ? 0 : Ae.value / 2}px)`,
192
- tooltipRight: `calc(${A}% - ${ll.value ? xl.value : xl.value / 2}px)`,
193
- tooltipCenter: Te,
191
+ tooltipLeft: `calc(${g}% - ${ze.value ? 0 : Ae.value / 2}px)`,
192
+ tooltipRight: `calc(${A}% - ${el.value ? gl.value : gl.value / 2}px)`,
193
+ tooltipCenter: Ie,
194
194
  arrowLeft: !ze.value,
195
- arrowRight: !ll.value
195
+ arrowRight: !el.value
196
196
  };
197
- }), ze = k(() => Pe.value ? Pe.value.getBoundingClientRect().width * ((ie.value - d.min) / (d.max - d.min)) - Ae.value / 2 < 0 : !1), ll = k(() => Pe.value ? Pe.value.getBoundingClientRect().width * ((re.value - d.min) / (d.max - d.min)) + xl.value / 2 > Pe.value.getBoundingClientRect().width : !1), Al = k(() => d.inputColor), Cl = k(() => d.background), Ct = k(() => `${d.selectColor}33`), He = k(() => d.borderColor), El = k(() => {
198
- let b = [];
199
- for (let m = 0; m < d.minimap.length; m += 1)
200
- b.push(m);
201
- return b;
197
+ }), ze = y(() => Pe.value ? Pe.value.getBoundingClientRect().width * ((ie.value - d.min) / (d.max - d.min)) - Ae.value / 2 < 0 : !1), el = y(() => Pe.value ? Pe.value.getBoundingClientRect().width * ((re.value - d.min) / (d.max - d.min)) + gl.value / 2 > Pe.value.getBoundingClientRect().width : !1), Ll = y(() => d.inputColor), Ml = y(() => d.background), Tt = y(() => `${d.selectColor}33`), He = y(() => d.borderColor), Hl = y(() => {
198
+ let x = [];
199
+ for (let g = 0; g < d.minimap.length; g += 1)
200
+ x.push(g);
201
+ return x;
202
202
  });
203
- function rl() {
203
+ function nl() {
204
204
  fe("reset");
205
205
  }
206
206
  p({
207
207
  start: ie.value,
208
208
  end: re.value
209
- }), nl(
209
+ }), sl(
210
210
  () => d.min,
211
- (b) => {
212
- Number(ie.value) < Number(b) && (ie.value = Number(b)), Number(re.value) < Number(b) && (re.value = Number(b));
211
+ (x) => {
212
+ Number(ie.value) < Number(x) && (ie.value = Number(x)), Number(re.value) < Number(x) && (re.value = Number(x));
213
213
  }
214
- ), nl(
214
+ ), sl(
215
215
  () => d.max,
216
- (b) => {
217
- Number(ie.value) > Number(b) && (ie.value = Number(b)), Number(re.value) > Number(b) && (re.value = Number(b));
216
+ (x) => {
217
+ Number(ie.value) > Number(x) && (ie.value = Number(x)), Number(re.value) > Number(x) && (re.value = Number(x));
218
218
  }
219
219
  );
220
- const zl = p(null), D = p({
220
+ const Al = p(null), D = p({
221
221
  width: 1,
222
222
  height: 1
223
- }), tl = p(null);
224
- $t(() => {
225
- if (_l.value) {
226
- const b = Et(() => {
227
- const { width: m, height: A } = yo({
228
- chart: zl.value
223
+ }), ll = p(null);
224
+ Lt(() => {
225
+ if (Sl.value) {
226
+ const x = Ft(() => {
227
+ const { width: g, height: A } = wo({
228
+ chart: Al.value
229
229
  });
230
- D.value.width = m, D.value.height = A - 47;
230
+ D.value.width = g, D.value.height = A - 47;
231
231
  });
232
- tl.value = new ResizeObserver(b), tl.value.observe(zl.value);
232
+ ll.value = new ResizeObserver(x), ll.value.observe(Al.value);
233
233
  }
234
- }), rt(() => {
235
- tl.value && tl.value.disconnect();
234
+ }), nt(() => {
235
+ ll.value && ll.value.disconnect();
236
236
  });
237
- const ge = k(() => d.minimap.length ? D.value.width / d.minimap.length : 0), M = k(() => {
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 b = Math.max(...d.minimap), m = Math.min(...d.minimap) - 10, A = b - (m > 0 ? 0 : m), Z = d.minimap.map((zt, ft) => {
240
- const Xl = zt - m;
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) => {
240
+ const Yl = It - g;
241
241
  return {
242
- x: D.value.width / d.minimap.length * ft + ge.value / 2,
243
- y: D.value.height - Xl / A * (D.value.height * 0.9)
242
+ x: D.value.width / d.minimap.length * ht + ge.value / 2,
243
+ y: D.value.height - Yl / A * (D.value.height * 0.9)
244
244
  };
245
- }), Te = d.smoothMinimap ? _t(Z) : Lt(Z), bl = [...Z].slice(d.valueStart, d.valueEnd), ht = d.smoothMinimap ? _t(bl) : Lt(bl);
245
+ }), Ie = d.smoothMinimap ? Mt(Z) : At(Z), ml = [...Z].slice(d.valueStart, d.valueEnd), dt = d.smoothMinimap ? Mt(ml) : At(ml);
246
246
  return {
247
- fullSet: Te,
248
- selectionSet: ht,
249
- sliced: bl,
247
+ fullSet: Ie,
248
+ selectionSet: dt,
249
+ sliced: ml,
250
250
  firstPlot: Z[d.valueStart],
251
251
  lastPlot: Z[d.valueEnd - 1]
252
252
  };
253
- }), Ve = k(() => ({
253
+ }), Ve = y(() => ({
254
254
  x: ge.value * ie.value + ge.value / 2,
255
255
  width: D.value.width * ((re.value - ie.value) / d.max) - ge.value
256
256
  })), se = p(d.minimapSelectedIndex);
257
- nl(() => d.minimapSelectedIndex, (b) => {
258
- se.value = b + d.valueStart;
257
+ sl(() => d.minimapSelectedIndex, (x) => {
258
+ se.value = x + d.valueStart;
259
259
  }, { immediate: !0 });
260
- function ne(b) {
261
- se.value = b, b >= d.valueStart && b < d.valueEnd && fe("trapMouse", b - d.valueStart);
260
+ function ne(x) {
261
+ se.value = x, x >= d.valueStart && x < d.valueEnd && fe("trapMouse", x - d.valueStart);
262
262
  }
263
- const Bl = p(0), Il = p(null), Ge = p(null);
264
- function gl(b) {
265
- ie.value = b, Il.value && (Il.value.value = String(b)), fe("futureStart", b), Kl();
263
+ const Vl = p(0), Cl = p(null), Ge = p(null);
264
+ function hl(x) {
265
+ ie.value = x, Cl.value && (Cl.value.value = String(x)), fe("futureStart", x), Jl();
266
266
  }
267
- function cl(b) {
268
- re.value = b, Ge.value && (Ge.value.value = b), fe("futureEnd", b), Kl();
267
+ function rl(x) {
268
+ re.value = x, Ge.value && (Ge.value.value = x), fe("futureEnd", x), Jl();
269
269
  }
270
- const Fl = k(() => d.valueEnd - d.valueStart), Ie = p(!1);
270
+ const El = y(() => d.valueEnd - d.valueStart), Te = p(!1);
271
271
  let oe = p(null);
272
- const Q = k(() => (Vl.value - 48) / (d.max - d.min)), ct = k(() => (Vl.value - 48) / (d.max - d.min) * Fl.value), vt = p(2.5), et = k(() => {
273
- const b = Vl.value - 48;
272
+ const Q = y(() => (Pl.value - 48) / (d.max - d.min)), rt = y(() => (Pl.value - 48) / (d.max - d.min) * El.value), ct = p(2.5), jl = y(() => {
273
+ const x = Pl.value - 48;
274
274
  return Math.ceil(
275
- (d.max - d.min) / ((b - ct.value) / vt.value)
275
+ (d.max - d.min) / ((x - rt.value) / ct.value)
276
276
  );
277
277
  });
278
278
  let Me = null, Ee = null, O = null, Ue = null;
279
- const Wl = (b) => {
279
+ const Bl = (x) => {
280
280
  if (qe.value = !0, !d.enableSelectionDrag) return;
281
- const m = b.type === "touchstart", A = m && b.targetTouches && b.targetTouches[0] ? b.targetTouches[0] : null, Z = m ? A ? A.target : null : b.target;
282
- !Z || !(Z instanceof Element) || Z.classList && Z.classList.contains("range-handle") || (Ie.value = !0, oe.value = m ? A ? A.clientX : 0 : b.clientX, Me = m ? "touchmove" : "mousemove", Ee = m ? "touchend" : "mouseup", O = m ? Se : Yl, Ue = m ? S : Dl, window.addEventListener(Me, O, { passive: !1 }), window.addEventListener(Ee, Ue));
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));
283
283
  };
284
- function Yl(b) {
285
- Ie.value && Be(b.clientX);
284
+ function Fl(x) {
285
+ Te.value && Be(x.clientX);
286
286
  }
287
- function Se(b) {
288
- if (!Ie.value || !Pe.value) return;
289
- const m = b.target;
290
- if (!(m instanceof Element) || !Pe.value.contains(m) || m.classList && m.classList.contains("range-handle")) return;
291
- b.preventDefault();
292
- const A = b.targetTouches && b.targetTouches[0] ? b.targetTouches[0] : null;
287
+ function Se(x) {
288
+ if (!Te.value || !Pe.value) return;
289
+ const g = x.target;
290
+ if (!(g instanceof Element) || !Pe.value.contains(g) || g.classList && g.classList.contains("range-handle")) return;
291
+ x.preventDefault();
292
+ const A = x.targetTouches && x.targetTouches[0] ? x.targetTouches[0] : null;
293
293
  A && Be(A.clientX);
294
294
  }
295
- function Be(b) {
296
- if (!Ie.value) return;
297
- const m = b - oe.value;
298
- if (Math.abs(m) > Q.value) {
299
- if (m > 0) {
300
- const A = Math.min(d.max, re.value + et.value);
301
- Ml.value = A, Ll.value = A - Fl.value;
295
+ function Be(x) {
296
+ if (!Te.value) return;
297
+ const g = x - oe.value;
298
+ if (Math.abs(g) > Q.value) {
299
+ if (g > 0) {
300
+ const A = Math.min(d.max, re.value + jl.value);
301
+ _l.value = A, $l.value = A - El.value;
302
302
  } else {
303
- const A = Math.max(d.min, ie.value - et.value);
304
- Ll.value = A, Ml.value = A + Fl.value;
303
+ const A = Math.max(d.min, ie.value - jl.value);
304
+ $l.value = A, _l.value = A + El.value;
305
305
  }
306
- oe.value = b;
306
+ oe.value = x;
307
307
  }
308
308
  }
309
- function Dl() {
310
- dt();
309
+ function Wl() {
310
+ vt();
311
311
  }
312
312
  function S() {
313
- dt();
313
+ vt();
314
314
  }
315
- function dt() {
316
- Ie.value = !1, Me && O && window.removeEventListener(Me, O), Ee && Ue && window.removeEventListener(Ee, Ue), Me = Ee = null, O = Ue = null, Ql();
315
+ function vt() {
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 ml = p(!1), f = p(null), w = p(null), Ae = p(1), xl = p(1), qe = p(!1);
318
+ const fl = p(!1), b = p(null), w = p(null), Ae = p(1), gl = p(1), qe = p(!1);
319
319
  function e() {
320
- f.value && (Ae.value = f.value.getBoundingClientRect().width);
320
+ b.value && (Ae.value = b.value.getBoundingClientRect().width);
321
321
  }
322
322
  function xe() {
323
- w.value && (xl.value = w.value.getBoundingClientRect().width);
323
+ w.value && (gl.value = w.value.getBoundingClientRect().width);
324
324
  }
325
325
  const $e = p(0);
326
- function Tl(b) {
327
- $e.value = b === "start" ? 1 : 0;
326
+ function zl(x) {
327
+ $e.value = x === "start" ? 1 : 0;
328
328
  }
329
- const me = p(!1), y = p({
329
+ const me = p(!1), k = p({
330
330
  width: 0,
331
331
  left: 0
332
332
  });
333
- nl([ie, re], async () => {
334
- if (await Zl(), !f.value || !w.value) {
335
- me.value = !1, y.value = { width: 0, left: 0 };
333
+ sl([ie, re], async () => {
334
+ if (await ql(), !b.value || !w.value) {
335
+ me.value = !1, k.value = { width: 0, left: 0 };
336
336
  return;
337
337
  }
338
- const b = f.value.getBoundingClientRect(), m = w.value.getBoundingClientRect();
339
- me.value = b.x + b.width > m.x;
340
- const A = b.x + b.width / 2, Z = m.x + m.width / 2, Te = b.width + m.width, bl = (A + Z) / 2;
341
- y.value = {
342
- width: Te,
343
- left: bl - Te / 2
338
+ const x = b.value.getBoundingClientRect(), g = w.value.getBoundingClientRect();
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;
341
+ k.value = {
342
+ width: Ie,
343
+ left: ml - Ie / 2
344
344
  };
345
- }), Za(() => {
345
+ }), Ka(() => {
346
346
  e(), xe();
347
- }), nl(() => d.labelLeft, () => {
348
- Zl(e);
349
- }, { deep: !0 }), nl(() => d.labelRight, () => {
350
- Zl(xe);
347
+ }), sl(() => d.labelLeft, () => {
348
+ ql(e);
349
+ }, { deep: !0 }), sl(() => d.labelRight, () => {
350
+ ql(xe);
351
351
  }, { deep: !0 });
352
- const q = k(() => {
353
- const b = d.timeLabels.find((A) => A.absoluteIndex === ie.value), m = d.timeLabels.find((A) => A.absoluteIndex === re.value - 1);
352
+ const q = y(() => {
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
- left: b ? b.text : "",
356
- right: m ? m.text : ""
355
+ left: x ? x.text : "",
356
+ right: g ? g.text : ""
357
357
  };
358
358
  });
359
- return rt(() => {
360
- tl.value && tl.value.disconnect(), Me && O && window.removeEventListener(Me, O), Ee && Ue && window.removeEventListener(Ee, Ue), Me = Ee = null, O = Ue = null, clearTimeout(fl);
361
- }), Mt({
362
- setStartValue: gl,
363
- setEndValue: cl
364
- }), (b, m) => (u(), s("div", {
359
+ return nt(() => {
360
+ ll.value && ll.value.disconnect(), Me && O && window.removeEventListener(Me, O), Ee && Ue && window.removeEventListener(Ee, Ue), Me = Ee = null, O = Ue = null, clearTimeout(dl);
361
+ }), Ct({
362
+ setStartValue: hl,
363
+ setEndValue: rl
364
+ }), (x, g) => (u(), s("div", {
365
365
  "data-dom-to-png-ignore": "",
366
366
  style: { padding: "0 24px" },
367
367
  class: "vue-data-ui-zoom",
368
368
  ref_key: "zoomWrapper",
369
369
  ref: Pe,
370
- onMousedown: Wl,
371
- onTouchstart: Wl
370
+ onMousedown: Bl,
371
+ onTouchstart: Bl
372
372
  }, [
373
- x("div", Co, [
374
- C.valueStart !== C.refreshStartPoint || C.valueEnd !== jl.value ? (u(), s("div", zo, [
375
- C.useResetSlot ? K(b.$slots, "reset-action", {
373
+ m("div", To, [
374
+ C.valueStart !== C.refreshStartPoint || C.valueEnd !== Ql.value ? (u(), s("div", Io, [
375
+ C.useResetSlot ? K(x.$slots, "reset-action", {
376
376
  key: 1,
377
- reset: rl
377
+ reset: nl
378
378
  }, void 0, !0) : (u(), s("button", {
379
379
  key: 0,
380
380
  tabindex: "0",
381
381
  role: "button",
382
382
  class: "vue-data-ui-refresh-button",
383
383
  style: $({
384
- top: _l.value ? "36px" : "-16px",
384
+ top: Sl.value ? "36px" : "-16px",
385
385
  pointerEvents: "all !important"
386
386
  }),
387
- onClick: rl
387
+ onClick: nl
388
388
  }, [
389
- ql(Ao, {
389
+ Ul(zo, {
390
390
  name: "refresh",
391
391
  stroke: C.textColor
392
392
  }, null, 8, ["stroke"])
393
393
  ], 4))
394
394
  ])) : h("", !0)
395
395
  ]),
396
- x("div", {
396
+ m("div", {
397
397
  class: "double-range-slider",
398
398
  ref_key: "minimapWrapper",
399
- ref: zl,
399
+ ref: Al,
400
400
  style: { "z-index": "0" },
401
- onMouseenter: m[11] || (m[11] = (A) => qe.value = !0),
402
- onMouseleave: m[12] || (m[12] = (A) => qe.value = !1)
401
+ onMouseenter: g[11] || (g[11] = (A) => qe.value = !0),
402
+ onMouseleave: g[12] || (g[12] = (A) => qe.value = !1)
403
403
  }, [
404
- _l.value ? (u(), s("div", Io, [
404
+ Sl.value ? (u(), s("div", Oo, [
405
405
  (u(), s("svg", {
406
- xmlns: v(ao),
406
+ xmlns: v(uo),
407
407
  viewBox: `0 0 ${D.value.width < 0 ? 0 : D.value.width} ${D.value.height < 0 ? 0 : D.value.height}`
408
408
  }, [
409
- x("defs", null, [
410
- x("linearGradient", {
411
- id: Jl.value,
409
+ m("defs", null, [
410
+ m("linearGradient", {
411
+ id: Zl.value,
412
412
  x1: "0%",
413
413
  y1: "0%",
414
414
  x2: "0%",
415
415
  y2: "100%"
416
416
  }, [
417
- x("stop", {
417
+ m("stop", {
418
418
  offset: "0%",
419
419
  "stop-color": `${C.minimapLineColor}50`
420
- }, null, 8, No),
421
- m[13] || (m[13] = x("stop", {
420
+ }, null, 8, Po),
421
+ g[13] || (g[13] = m("stop", {
422
422
  offset: "100%",
423
423
  "stop-color": "transparent"
424
424
  }, null, -1))
425
- ], 8, Oo)
425
+ ], 8, Ro)
426
426
  ]),
427
- x("path", {
427
+ m("path", {
428
428
  d: `M${M.value.fullSet}`,
429
429
  stroke: `${C.minimapLineColor}`,
430
430
  fill: "none",
@@ -432,8 +432,8 @@ const Co = {
432
432
  "stroke-linecap": "round",
433
433
  "stroke-linejoin": "round",
434
434
  style: { opacity: "1" }
435
- }, null, 8, Ro),
436
- x("rect", {
435
+ }, null, 8, Ho),
436
+ m("rect", {
437
437
  x: Ve.value.x,
438
438
  width: Ve.value.width < 0 ? 0 : Ve.value.width,
439
439
  height: Math.max(D.value.height, 0),
@@ -441,22 +441,22 @@ const Co = {
441
441
  fill: He.value,
442
442
  rx: C.minimapSelectionRadius,
443
443
  stroke: "none"
444
- }, null, 8, Po),
445
- x("path", {
444
+ }, null, 8, Vo),
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(#${Jl.value})`,
447
+ fill: `url(#${Zl.value})`,
448
448
  stroke: "none",
449
449
  style: { opacity: "1" }
450
- }, null, 8, Ho),
451
- x("rect", {
450
+ }, null, 8, Eo),
451
+ m("rect", {
452
452
  x: Ve.value.x,
453
453
  width: Ve.value.width < 0 ? 0 : Ve.value.width,
454
454
  height: Math.max(D.value.height, 0),
455
455
  y: 0,
456
456
  rx: C.minimapSelectionRadius,
457
457
  fill: He.value
458
- }, null, 8, Vo),
459
- x("rect", {
458
+ }, null, 8, Bo),
459
+ m("rect", {
460
460
  x: Ve.value.x,
461
461
  width: Ve.value.width < 0 ? 0 : Ve.value.width,
462
462
  height: Math.max(D.value.height, 0),
@@ -466,38 +466,38 @@ const Co = {
466
466
  style: $({
467
467
  opacity: C.minimapSelectedColorOpacity
468
468
  })
469
- }, null, 12, Eo),
470
- x("path", {
469
+ }, null, 12, Fo),
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(#${Jl.value})`,
472
+ fill: `url(#${Zl.value})`,
473
473
  stroke: "none",
474
474
  style: { opacity: "1" }
475
- }, null, 8, Bo),
476
- x("path", {
475
+ }, null, 8, Wo),
476
+ m("path", {
477
477
  d: `M ${M.value.selectionSet}`,
478
478
  stroke: `${C.minimapLineColor}`,
479
479
  fill: "transparent",
480
480
  "stroke-width": "2",
481
481
  "stroke-linecap": "round",
482
482
  "stroke-linejoin": "round"
483
- }, null, 8, Fo),
484
- x("circle", {
483
+ }, null, 8, Yo),
484
+ m("circle", {
485
485
  cx: M.value.firstPlot.x,
486
486
  cy: M.value.firstPlot.y,
487
487
  "stroke-width": "0.5",
488
488
  stroke: He.value,
489
489
  r: "3",
490
490
  fill: C.minimapLineColor
491
- }, null, 8, Wo),
492
- x("circle", {
491
+ }, null, 8, Do),
492
+ m("circle", {
493
493
  cx: M.value.lastPlot.x,
494
494
  cy: M.value.lastPlot.y,
495
495
  "stroke-width": "0.5",
496
496
  stroke: He.value,
497
497
  r: "3",
498
498
  fill: C.minimapLineColor
499
- }, null, 8, Yo),
500
- se.value !== null ? (u(!0), s(g, { key: 0 }, L(El.value, (A, Z) => (u(), s("g", null, [
499
+ }, null, 8, Xo),
500
+ se.value !== null ? (u(!0), s(f, { key: 0 }, L(Hl.value, (A, Z) => (u(), s("g", null, [
501
501
  se.value === A && A >= C.valueStart && A < C.valueEnd ? (u(), s("line", {
502
502
  key: 0,
503
503
  x1: ge.value * Z + ge.value / 2,
@@ -508,77 +508,77 @@ const Co = {
508
508
  "stroke-linecap": "round",
509
509
  "stroke-dasharray": "2",
510
510
  "stroke-width": "1"
511
- }, null, 8, Do)) : h("", !0)
511
+ }, null, 8, Go)) : h("", !0)
512
512
  ]))), 256)) : h("", !0),
513
- (u(!0), s(g, null, L(El.value, (A, Z) => (u(), s("rect", {
513
+ (u(!0), s(f, null, L(Hl.value, (A, Z) => (u(), s("rect", {
514
514
  x: ge.value * Z,
515
515
  y: 0,
516
516
  height: Math.max(D.value.height, 0),
517
517
  width: ge.value < 0 ? 0 : ge.value,
518
518
  fill: "transparent",
519
519
  style: $([{ "pointer-events": "all !important" }, {
520
- cursor: A >= C.valueStart && A < C.valueEnd && C.enableSelectionDrag ? ml.value ? "grabbing" : "grab" : "default"
520
+ cursor: A >= C.valueStart && A < C.valueEnd && C.enableSelectionDrag ? fl.value ? "grabbing" : "grab" : "default"
521
521
  }]),
522
- onMousedown: m[0] || (m[0] = (Te) => ml.value = !0),
523
- onMouseup: m[1] || (m[1] = (Te) => ml.value = !1),
524
- onMouseenter: (Te) => ne(A),
525
- onMouseleave: m[2] || (m[2] = (Te) => {
522
+ onMousedown: g[0] || (g[0] = (Ie) => fl.value = !0),
523
+ onMouseup: g[1] || (g[1] = (Ie) => fl.value = !1),
524
+ onMouseenter: (Ie) => ne(A),
525
+ onMouseleave: g[2] || (g[2] = (Ie) => {
526
526
  se.value = null, fe("trapMouse", null);
527
527
  })
528
- }, null, 44, Xo))), 256))
529
- ], 8, To))
528
+ }, null, 44, Uo))), 256))
529
+ ], 8, No))
530
530
  ])) : h("", !0),
531
- m[14] || (m[14] = x("div", { class: "slider-track" }, null, -1)),
532
- x("div", {
531
+ g[14] || (g[14] = m("div", { class: "slider-track" }, null, -1)),
532
+ m("div", {
533
533
  class: Re({
534
534
  "range-highlight": !0,
535
535
  move: C.enableSelectionDrag
536
536
  }),
537
- onMousedown: m[3] || (m[3] = (A) => ml.value = !0),
538
- onMouseup: m[4] || (m[4] = (A) => ml.value = !1),
537
+ onMousedown: g[3] || (g[3] = (A) => fl.value = !0),
538
+ onMouseup: g[4] || (g[4] = (A) => fl.value = !1),
539
539
  style: $({
540
540
  ...ye.value,
541
- cursor: ml.value ? "grabbing" : "grab"
541
+ cursor: fl.value ? "grabbing" : "grab"
542
542
  })
543
543
  }, null, 38),
544
- C.enableRangeHandles ? Vt((u(), s("input", {
544
+ C.enableRangeHandles ? Bt((u(), s("input", {
545
545
  ref_key: "rangeStart",
546
- ref: Il,
547
- key: `range-min${Bl.value}`,
546
+ ref: Cl,
547
+ key: `range-min${Vl.value}`,
548
548
  type: "range",
549
- class: Re({ "range-left": !0, "range-handle": !0, "range-minimap": _l.value && C.verticalHandles }),
549
+ class: Re({ "range-left": !0, "range-handle": !0, "range-minimap": Sl.value && C.verticalHandles }),
550
550
  min: C.min,
551
551
  max: C.max,
552
- "onUpdate:modelValue": m[5] || (m[5] = (A) => Ll.value = A),
553
- onInuput: gl,
554
- onMouseenter: m[6] || (m[6] = (A) => Tl("start")),
555
- onPointermove: m[7] || (m[7] = (A) => Ll.value = +A.target.value),
556
- onPointerup: Ql
557
- }, null, 42, Go)), [
552
+ "onUpdate:modelValue": g[5] || (g[5] = (A) => $l.value = A),
553
+ onInuput: hl,
554
+ onMouseenter: g[6] || (g[6] = (A) => zl("start")),
555
+ onPointermove: g[7] || (g[7] = (A) => $l.value = +A.target.value),
556
+ onPointerup: Kl
557
+ }, null, 42, qo)), [
558
558
  [
559
- ma,
560
- Ll.value,
559
+ ba,
560
+ $l.value,
561
561
  void 0,
562
562
  { number: !0 }
563
563
  ]
564
564
  ]) : h("", !0),
565
- C.enableRangeHandles ? Vt((u(), s("input", {
565
+ C.enableRangeHandles ? Bt((u(), s("input", {
566
566
  key: 2,
567
567
  ref_key: "rangeEnd",
568
568
  ref: Ge,
569
569
  type: "range",
570
- class: Re({ "range-right": !0, "range-handle": !0, "range-minimap": _l.value && C.verticalHandles }),
570
+ class: Re({ "range-right": !0, "range-handle": !0, "range-minimap": Sl.value && C.verticalHandles }),
571
571
  min: C.min,
572
572
  max: C.max,
573
- "onUpdate:modelValue": m[8] || (m[8] = (A) => Ml.value = A),
574
- onInuput: cl,
575
- onMouseenter: m[9] || (m[9] = (A) => Tl("end")),
576
- onPointermove: m[10] || (m[10] = (A) => Ml.value = +A.target.value),
577
- onPointerup: Ql
578
- }, null, 42, Uo)), [
573
+ "onUpdate:modelValue": g[8] || (g[8] = (A) => _l.value = A),
574
+ onInuput: rl,
575
+ onMouseenter: g[9] || (g[9] = (A) => zl("end")),
576
+ onPointermove: g[10] || (g[10] = (A) => _l.value = +A.target.value),
577
+ onPointerup: Kl
578
+ }, null, 42, Zo)), [
579
579
  [
580
- ma,
581
- Ml.value,
580
+ ba,
581
+ _l.value,
582
582
  void 0,
583
583
  { number: !0 }
584
584
  ]
@@ -586,7 +586,7 @@ const Co = {
586
586
  q.value.left ? (u(), s("div", {
587
587
  key: 3,
588
588
  ref_key: "tooltipLeft",
589
- ref: f,
589
+ ref: b,
590
590
  class: Re({
591
591
  "range-tooltip": !0,
592
592
  "range-tooltip-visible": qe.value,
@@ -595,7 +595,7 @@ const Co = {
595
595
  }),
596
596
  style: $({
597
597
  left: ye.value.tooltipLeft,
598
- color: v(el)(C.selectColor),
598
+ color: v(je)(C.selectColor),
599
599
  backgroundColor: C.selectColor,
600
600
  border: `1px solid ${He.value}`,
601
601
  zIndex: `${$e.value + 4}`,
@@ -614,8 +614,8 @@ const Co = {
614
614
  }),
615
615
  style: $({
616
616
  left: ye.value.tooltipCenter,
617
- width: y.value.width + "px",
618
- color: v(el)(C.selectColor),
617
+ width: k.value.width + "px",
618
+ color: v(je)(C.selectColor),
619
619
  backgroundColor: C.selectColor,
620
620
  border: `1px solid ${He.value}`,
621
621
  zIndex: "4"
@@ -633,7 +633,7 @@ const Co = {
633
633
  }),
634
634
  style: $({
635
635
  left: ye.value.tooltipRight,
636
- color: v(el)(C.selectColor),
636
+ color: v(je)(C.selectColor),
637
637
  backgroundColor: C.selectColor,
638
638
  border: `1px solid ${He.value}`,
639
639
  zIndex: "4",
@@ -643,51 +643,51 @@ const Co = {
643
643
  ], 544)
644
644
  ], 544));
645
645
  }
646
- }, Zo = /* @__PURE__ */ $a(qo, [["__scopeId", "data-v-c4fe0873"]]), Jo = ["id"], Ko = ["viewBox", "aria-label"], Qo = ["x", "y", "width", "height"], jo = { key: 1 }, eu = { class: "vue-ui-xy-grid" }, lu = ["stroke", "x1", "x2", "y1", "y2"], tu = ["stroke", "x1", "x2", "y1", "y2"], au = { key: 1 }, ou = ["x1", "x2", "y1", "y2", "stroke"], uu = ["x1", "x2", "y1", "y2", "stroke"], iu = ["x1", "x2", "y1", "y2", "stroke"], su = { key: 3 }, nu = ["d", "stroke"], ru = { key: 4 }, cu = ["d", "stroke"], vu = ["id"], du = ["stop-color"], hu = ["stop-color"], fu = ["stop-color"], gu = ["id"], mu = ["stop-color"], xu = ["stop-color"], bu = ["stop-color"], pu = ["id"], yu = ["stop-color"], ku = ["stop-color"], wu = ["id"], Su = ["stop-color"], $u = ["stop-color"], _u = ["id"], Lu = ["stop-color"], Mu = ["stop-color"], Au = ["x", "y", "height", "width", "fill"], Cu = ["x", "y", "width"], zu = { key: 0 }, Iu = ["x", "y", "height", "width", "fill"], Tu = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ou = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Nu = ["width", "x", "y"], Ru = { key: 0 }, Pu = ["id"], Hu = ["fill"], Vu = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Eu = ["x", "y", "font-size", "fill"], Bu = ["stroke", "x1", "x2", "y1", "y2"], Fu = { key: 3 }, Wu = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Yu = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Du = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Xu = ["fill", "font-size", "transform"], Gu = ["x1", "x2", "y1", "y2", "stroke"], Uu = ["x", "y", "font-size", "fill"], qu = ["x1", "x2", "y1", "y2", "stroke"], Zu = ["x", "y", "font-size", "fill"], Ju = ["width", "x", "y"], Ku = { style: { width: "100%" } }, Qu = { key: 0 }, ju = ["id"], ei = ["fill"], li = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ti = ["x", "y", "font-size", "fill"], ai = ["d", "stroke", "stroke-width", "stroke-dasharray"], oi = ["d", "stroke", "stroke-width", "stroke-dasharray"], ui = { key: 6 }, ii = { key: 0 }, si = ["d", "fill"], ni = ["d", "fill"], ri = ["d", "fill"], ci = ["d", "fill"], vi = ["d", "stroke", "stroke-width", "stroke-dasharray"], di = ["d", "stroke", "stroke-width", "stroke-dasharray"], hi = ["width", "x", "y"], fi = { style: { width: "100%" } }, gi = { key: 3 }, mi = ["id"], xi = ["fill"], bi = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], pi = ["x", "y", "font-size", "fill"], yi = { key: 7 }, ki = ["x", "y", "font-size", "fill"], wi = ["x", "y", "font-size", "fill", "font-weight"], Si = { key: 8 }, $i = ["x", "y", "font-size", "fill"], _i = { key: 9 }, Li = ["x", "y"], Mi = ["innerHTML"], Ai = ["x", "y"], Ci = ["innerHTML"], zi = ["x1", "x2", "y1", "y2", "stroke"], Ii = { key: 10 }, Ti = ["x", "y", "font-size", "fill"], Oi = { key: 11 }, Ni = ["x", "y"], Ri = ["innerHTML"], Pi = ["x", "y"], Hi = ["innerHTML"], Vi = ["x1", "x2", "y1", "y2", "stroke"], Ei = ["x", "y", "font-size", "fill", "innerHTML"], Bi = ["x", "y", "font-size", "fill", "innerHTML"], Fi = ["x", "y", "font-size", "fill", "innerHTML"], Wi = ["x", "y", "font-size", "fill", "innerHTML"], Yi = ["id"], Di = ["stop-color"], Xi = ["stop-color"], Gi = ["x", "y", "width", "height", "fill", "onMouseenter"], Ui = ["font-size", "fill", "transform"], qi = ["x", "y", "font-size", "fill"], Zi = ["text-anchor", "font-size", "fill", "transform", "onClick"], Ji = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], Ki = { key: 14 }, Qi = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], ji = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], es = ["y", "x", "width", "height", "fill"], ls = ["id", "x", "y", "font-size", "fill", "text-anchor"], ts = {
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 = {
647
647
  key: 15,
648
648
  style: { "pointer-events": "none" }
649
- }, as = ["x", "y"], os = ["cx", "cy", "r", "fill"], us = {
649
+ }, us = ["x", "y"], is = ["cx", "cy", "r", "fill"], ss = {
650
650
  key: 4,
651
651
  class: "vue-data-ui-watermark"
652
- }, is = {
652
+ }, ns = {
653
653
  class: "vue-ui-xy-tag-arrow",
654
654
  height: "20",
655
655
  viewBox: "0 0 10 20",
656
656
  style: { position: "absolute", right: "100%", top: "50%", transform: "translateY(-50%)" }
657
- }, ss = ["fill"], ns = ["innerHTML"], rs = {
657
+ }, rs = ["fill"], cs = ["innerHTML"], vs = {
658
658
  class: "vue-ui-xy-tag-arrow",
659
659
  height: "100%",
660
660
  viewBox: "0 0 10 20",
661
661
  style: { position: "absolute", left: "100%", top: "50%", transform: "translateY(-50%)" }
662
- }, cs = ["fill"], vs = ["innerHTML"], ds = {
662
+ }, ds = ["fill"], hs = ["innerHTML"], fs = {
663
663
  class: "vue-ui-xy-tag-arrow",
664
664
  height: "20",
665
665
  viewBox: "0 0 10 20",
666
666
  style: { position: "absolute", right: "100%", top: "50%", transform: "translateY(-50%)" }
667
- }, hs = ["fill"], fs = ["innerHTML"], gs = {
667
+ }, gs = ["fill"], ms = ["innerHTML"], xs = {
668
668
  class: "vue-ui-xy-tag-arrow",
669
669
  height: "100%",
670
670
  viewBox: "0 0 10 20",
671
671
  style: { position: "absolute", left: "100%", top: "50%", transform: "translateY(-50%)" }
672
- }, ms = ["fill"], xs = ["innerHTML"], bs = ["onClick"], ps = {
672
+ }, bs = ["fill"], ps = ["innerHTML"], ys = ["onClick"], ks = {
673
673
  key: 0,
674
674
  viewBox: "0 0 20 12",
675
675
  height: "14",
676
676
  width: "20"
677
- }, ys = ["stroke", "fill"], ks = {
677
+ }, ws = ["stroke", "fill"], Ss = {
678
678
  key: 1,
679
679
  viewBox: "0 0 40 40",
680
680
  height: "14",
681
681
  width: "14"
682
- }, ws = ["fill"], Ss = ["fill"], $s = {
682
+ }, $s = ["fill"], _s = ["fill"], Ls = {
683
683
  key: 2,
684
684
  viewBox: "0 0 12 12",
685
685
  height: "14",
686
686
  width: "14"
687
- }, _s = {
687
+ }, Ms = {
688
688
  style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
689
689
  "data-dom-to-png-ignore": ""
690
- }, Ls = ["innerHTML"], Ms = {
690
+ }, As = ["innerHTML"], Cs = {
691
691
  __name: "vue-ui-xy",
692
692
  props: {
693
693
  config: {
@@ -708,11 +708,11 @@ const Co = {
708
708
  }
709
709
  },
710
710
  emits: ["selectTimeLabel", "selectX", "selectLegend"],
711
- setup(C, { expose: Mt, emit: At }) {
712
- const d = C, Pe = wl(() => import("./DataTable-CVnNcUM4.js")), ie = wl(() => import("./Tooltip-CAF7J60u.js")), re = wl(() => import("./UserOptions-D3-mjgYs.js")), _l = wl(() => import("./BaseIcon-B4lxhw9o.js")), Jl = wl(() => import("./vue-ui-table-sparkline-5l6bCUhT.js")), Vl = wl(() => import("./vue-ui-accordion-BZiwwf95.js")), Ll = wl(() => import("./PackageVersion-Cg4_GtJf.js")), Ml = wl(() => import("./PenAndPaper-Cz9cyN0p.js")), fl = At, Kl = Ja(), Ql = Ka(), { vue_ui_xy: jl } = oo(), fe = p(null), ye = p(null), ze = p(null), ll = p(null), Al = p(null), Cl = p(null), Ct = p(null), He = p(null), El = p(null), rl = p(null), zl = p(null), D = p(null), tl = p(null), ge = p(0), M = p(null), Ve = p(!0), se = p(600), ne = p(1e3), Bl = p("0 0 1000 600"), Il = p({ x: 0, y: 0 }), Ge = p({ line: "line", bar: "bar", plot: "plot" }), gl = p(!1), cl = p(!1), Fl = p(!1), Ie = p(null), oe = p([]), Q = p(St()), ct = p(0), vt = p(0), et = p(0), Me = p(!0), Ee = p(0), O = p(null), Ue = p(!1), Wl = p(!0), Yl = p(!0), Se = p(null), Be = p({}), Dl = p(null), S = p(null), dt = k(() => ({
711
+ setup(C, { expose: Ct, emit: zt }) {
712
+ const d = C, Pe = yl(() => import("./DataTable-DBPMgoC3.js")), ie = yl(() => import("./Tooltip-CzRs24i2.js")), re = yl(() => import("./UserOptions-RZkXTOCa.js")), Sl = yl(() => import("./BaseIcon-D3lVmh4q.js")), Zl = yl(() => import("./vue-ui-table-sparkline-Dm9VtfGM.js")), Pl = yl(() => import("./vue-ui-accordion-3yBUN0ar.js")), $l = yl(() => import("./PackageVersion-_JpUHIQF.js")), _l = yl(() => import("./PenAndPaper-CiXy6ifX.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
- })), ml = d.config.downsample && d.config.downsample.threshold ? d.config.downsample.threshold : 500, f = p({
715
+ })), fl = d.config.downsample && d.config.downsample.threshold ? d.config.downsample.threshold : 500, b = p({
716
716
  dataLabels: { show: !0 },
717
717
  showTooltip: !0,
718
718
  showTable: !1,
@@ -724,49 +724,49 @@ const Co = {
724
724
  dataLabels: 20,
725
725
  plotLabels: 10
726
726
  }), Ae = p({ plot: 3, line: 3 });
727
- $t(() => {
727
+ Lt(() => {
728
728
  d.dataset.length && d.dataset.forEach((t, c) => {
729
- [null, void 0].includes(t.series) && Pt({
729
+ [null, void 0].includes(t.series) && Vt({
730
730
  componentName: "VueUiXy",
731
731
  type: "datasetSerieAttribute",
732
732
  property: "series (number[])",
733
733
  index: c,
734
- debug: ut.value
734
+ debug: ot.value
735
735
  });
736
736
  });
737
737
  });
738
- function xl() {
738
+ function gl() {
739
739
  if (!Object.keys(d.config || {}).length)
740
- return jl;
741
- const t = Ht({
740
+ return Ql;
741
+ const t = Et({
742
742
  userConfig: d.config,
743
- defaultConfig: jl
743
+ defaultConfig: Ql
744
744
  });
745
- return d.config && Xe(d.config, "chart.highlightArea") && (Array.isArray(d.config.chart.highlightArea) ? t.chart.highlightArea = d.config.chart.highlightArea : t.chart.highlightArea = [d.config.chart.highlightArea]), d.config && Xe(d.config, "chart.grid.labels.yAxis.scaleMin") ? t.chart.grid.labels.yAxis.scaleMin = d.config.chart.grid.labels.yAxis.scaleMin : t.chart.grid.labels.yAxis.scaleMin = null, d.config && Xe(d.config, "chart.grid.labels.yAxis.scaleMax") ? t.chart.grid.labels.yAxis.scaleMax = d.config.chart.grid.labels.yAxis.scaleMax : t.chart.grid.labels.yAxis.scaleMax = null, d.config && Xe(d.config, "chart.zoom.startIndex") ? t.chart.zoom.startIndex = d.config.chart.zoom.startIndex : t.chart.zoom.startIndex = null, d.config && Xe(d.config, "chart.zoom.endIndex") ? t.chart.zoom.endIndex = d.config.chart.zoom.endIndex : t.chart.zoom.endIndex = null, d.config && Xe(d.config, "chart.grid.labels.yAxis.groupColor") ? t.chart.grid.labels.yAxis.groupColor = d.config.chart.grid.labels.yAxis.groupColor : t.chart.grid.labels.yAxis.groupColor = null, d.config && d.config.chart.annotations && Array.isArray(d.config.chart.annotations) && d.config.chart.annotations.length ? t.chart.annotations = d.config.chart.annotations.map((c) => Ht({
746
- defaultConfig: jl.chart.annotations[0],
745
+ return d.config && Xe(d.config, "chart.highlightArea") && (Array.isArray(d.config.chart.highlightArea) ? t.chart.highlightArea = d.config.chart.highlightArea : t.chart.highlightArea = [d.config.chart.highlightArea]), d.config && Xe(d.config, "chart.grid.labels.yAxis.scaleMin") ? t.chart.grid.labels.yAxis.scaleMin = d.config.chart.grid.labels.yAxis.scaleMin : t.chart.grid.labels.yAxis.scaleMin = null, d.config && Xe(d.config, "chart.grid.labels.yAxis.scaleMax") ? t.chart.grid.labels.yAxis.scaleMax = d.config.chart.grid.labels.yAxis.scaleMax : t.chart.grid.labels.yAxis.scaleMax = null, d.config && Xe(d.config, "chart.zoom.startIndex") ? t.chart.zoom.startIndex = d.config.chart.zoom.startIndex : t.chart.zoom.startIndex = null, d.config && Xe(d.config, "chart.zoom.endIndex") ? t.chart.zoom.endIndex = d.config.chart.zoom.endIndex : t.chart.zoom.endIndex = null, d.config && Xe(d.config, "chart.grid.labels.yAxis.groupColor") ? t.chart.grid.labels.yAxis.groupColor = d.config.chart.grid.labels.yAxis.groupColor : t.chart.grid.labels.yAxis.groupColor = null, d.config && d.config.chart.annotations && Array.isArray(d.config.chart.annotations) && d.config.chart.annotations.length ? t.chart.annotations = d.config.chart.annotations.map((c) => Et({
746
+ defaultConfig: Ql.chart.annotations[0],
747
747
  userConfig: c
748
748
  })) : t.chart.annotations = [], d.config && Xe(d.config, "chart.grid.position") && d.config.chart.grid.position === "start" && d.dataset.length && d.dataset.some((c) => c.type === "bar") && (t.chart.grid.position = "middle", Xe(d.config, "debug") && console.warn("Vue Data UI - VueUiXy - config.chart.grid.position was overriden to `middle` because your dataset contains a bar")), d.config && Xe(d.config, "chart.grid.labels.yAxis.serieNameFormatter") ? t.chart.grid.labels.yAxis.serieNameFormatter = d.config.chart.grid.labels.yAxis.serieNameFormatter : t.chart.grid.labels.yAxis.serieNameFormatter = null, d.config && Xe(d.config, "events.datapointEnter") ? t.events.datapointEnter = d.config.events.datapointEnter : t.events.datapointEnter = null, d.config && Xe(d.config, "events.datapointLeave") ? t.events.datapointLeave = d.config.events.datapointLeave : t.events.datapointLeave = null, d.config && Xe(d.config, "events.datapointClick") ? t.events.datapointClick = d.config.events.datapointClick : t.events.datapointClick = null, t.theme ? {
749
- ...Ht({
750
- userConfig: xo.vue_ui_xy[t.theme] || d.config,
749
+ ...Et({
750
+ userConfig: po.vue_ui_xy[t.theme] || d.config,
751
751
  defaultConfig: t
752
752
  }),
753
- customPalette: mo[t.theme] || d.palette
753
+ customPalette: bo[t.theme] || d.palette
754
754
  } : t;
755
755
  }
756
- const qe = k({
756
+ const qe = y({
757
757
  get() {
758
758
  return !!d.dataset && d.dataset.length;
759
759
  },
760
760
  set(t) {
761
761
  return t;
762
762
  }
763
- }), e = p(xl()), { loading: xe, FINAL_DATASET: $e, manualLoading: Tl } = wo({
764
- ...Qa(d),
763
+ }), e = p(gl()), { loading: xe, FINAL_DATASET: $e, manualLoading: zl } = $o({
764
+ ...eo(d),
765
765
  FINAL_CONFIG: e,
766
- prepareConfig: xl,
766
+ prepareConfig: gl,
767
767
  callback: () => {
768
768
  Promise.resolve().then(async () => {
769
- await Rt();
769
+ await Ht();
770
770
  });
771
771
  },
772
772
  skeletonDataset: [
@@ -784,7 +784,7 @@ const Co = {
784
784
  color: "#CACACA"
785
785
  }
786
786
  ],
787
- skeletonConfig: uo({
787
+ skeletonConfig: so({
788
788
  defaultConfig: e.value,
789
789
  userConfig: {
790
790
  useCssAnimation: !1,
@@ -842,19 +842,19 @@ const Co = {
842
842
  }
843
843
  }
844
844
  })
845
- }), me = k({
846
- get: () => Math.max(...$e.value.map((t) => il({ data: t.series, threshold: ml }).length)),
845
+ }), me = y({
846
+ get: () => Math.max(...$e.value.map((t) => ul({ data: t.series, threshold: fl }).length)),
847
847
  set: (t) => t
848
- }), y = p({ start: 0, end: me.value }), q = p({ start: 0, end: me.value }), b = k(() => e.value.chart.zoom.preview.enable && (q.value.start !== y.value.start || q.value.end !== y.value.end));
849
- function m(t, c) {
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));
849
+ function g(t, c) {
850
850
  q.value[t] = c;
851
851
  }
852
- const A = k(() => {
853
- const { left: t, top: c, width: l, height: i } = r.value, a = y.value.start, o = y.value.end - a, H = l / o, X = q.value.start - a, G = q.value.end - a, I = Math.max(0, Math.min(o, X)), R = Math.max(0, Math.min(o, G));
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));
854
854
  return {
855
- x: t + I * H,
855
+ x: t + T * H,
856
856
  y: c,
857
- width: (R - I) * H,
857
+ width: (R - T) * H,
858
858
  height: i,
859
859
  fill: e.value.chart.zoom.preview.fill,
860
860
  stroke: e.value.chart.zoom.preview.stroke,
@@ -869,165 +869,165 @@ const Co = {
869
869
  }
870
870
  };
871
871
  });
872
- nl(() => d.selectedXIndex, (t) => {
872
+ sl(() => d.selectedXIndex, (t) => {
873
873
  if ([null, void 0].includes(d.selectedXIndex)) {
874
874
  S.value = null;
875
875
  return;
876
876
  }
877
- const c = t - y.value.start;
878
- c < 0 || t >= y.value.end ? S.value = null : S.value = c ?? null;
877
+ const c = t - k.value.start;
878
+ c < 0 || t >= k.value.end ? S.value = null : S.value = c ?? null;
879
879
  }, { immediate: !0 });
880
- const { isPrinting: Z, isImaging: Te, generatePdf: bl, generateImage: ht } = ko({
880
+ const { isPrinting: Z, 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
884
- }), zt = p(!1), ft = k(() => io(e.value.customPalette)), Xl = k(() => e.value.chart.grid.labels.yAxis.scaleMax ? e.value.chart.grid.labels.yAxis.scaleMax : Math.max(...vl.value.filter((t) => !oe.value.includes(t.id)).map((t) => Math.max(...t.series)))), It = k(() => {
884
+ }), It = p(!1), ht = y(() => no(e.value.customPalette)), Yl = y(() => e.value.chart.grid.labels.yAxis.scaleMax ? e.value.chart.grid.labels.yAxis.scaleMax : Math.max(...cl.value.filter((t) => !oe.value.includes(t.id)).map((t) => Math.max(...t.series)))), Ot = y(() => {
885
885
  if (e.value.chart.grid.labels.yAxis.scaleMin !== null)
886
886
  return e.value.chart.grid.labels.yAxis.scaleMin;
887
- const t = Math.min(...vl.value.filter((c) => !oe.value.includes(c.id)).map((c) => Math.min(...c.series)));
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 = k(() => e.value.chart.grid.labels.yAxis.useNiceScale ? nt(It.value, Xl.value < 0 ? 0 : Xl.value, e.value.chart.grid.labels.yAxis.commonScaleSteps) : Pl(It.value, Xl.value < 0 ? 0 : Xl.value, e.value.chart.grid.labels.yAxis.commonScaleSteps)), lt = k(() => [null, void 0].includes(e.value.chart.grid.labels.yAxis.scaleMin) ? Ze.value.min >= 0 ? 0 : Math.abs(Ze.value.min) : -Ze.value.min), vl = k(() => Ve.value ? $e.value.map((t, c) => {
890
- const l = il({
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) => {
890
+ const l = ul({
891
891
  data: t.series,
892
892
  threshold: e.value.downsample.threshold
893
893
  }), i = `uniqueId_${c}`;
894
894
  return {
895
895
  ...t,
896
896
  slotAbsoluteIndex: c,
897
- series: l.map((a) => yt(a) ? a : null).slice(y.value.start, y.value.end),
898
- color: so(t.color ? t.color : ft.value[c] ? ft.value[c] : no[c]),
897
+ series: l.map((a) => wt(a) ? a : null).slice(k.value.start, k.value.end),
898
+ color: ro(t.color ? t.color : ht.value[c] ? ht.value[c] : co[c]),
899
899
  id: i,
900
900
  scaleLabel: t.scaleLabel || i
901
901
  };
902
- }) : $e.value), al = k(() => vl.value.map((t, c) => ({
902
+ }) : $e.value), tl = y(() => cl.value.map((t, c) => ({
903
903
  absoluteIndex: c,
904
904
  ...t,
905
- series: t.series.map((l) => l + lt.value),
905
+ series: t.series.map((l) => l + et.value),
906
906
  absoluteValues: t.series,
907
- segregate: () => la(t),
907
+ segregate: () => aa(t),
908
908
  isSegregated: oe.value.includes(t.id)
909
- }))), Fe = k(() => vl.value.map((t, c) => ({
909
+ }))), Fe = y(() => cl.value.map((t, c) => ({
910
910
  ...t,
911
- series: t.series.map((l) => l + lt.value),
911
+ series: t.series.map((l) => l + et.value),
912
912
  absoluteValues: t.series
913
913
  })).filter((t) => !oe.value.includes(t.id)));
914
- function _a() {
914
+ function Ma() {
915
915
  let t = 0;
916
- zl.value && (t = Array.from(zl.value.querySelectorAll("text")).reduce((a, n) => {
916
+ Al.value && (t = Array.from(Al.value.querySelectorAll("text")).reduce((a, n) => {
917
917
  const o = n.getComputedTextLength();
918
918
  return (o > a ? o : a) + e.value.chart.grid.labels.yAxis.scaleValueOffsetX;
919
919
  }, 0));
920
- const c = El.value ? El.value.getBoundingClientRect().width + e.value.chart.grid.labels.axis.yLabelOffsetX + w.value.yAxis : 0, l = e.value.chart.grid.labels.yAxis.crosshairSize;
920
+ const c = Hl.value ? Hl.value.getBoundingClientRect().width + e.value.chart.grid.labels.axis.yLabelOffsetX + w.value.yAxis : 0, l = e.value.chart.grid.labels.yAxis.crosshairSize;
921
921
  return t + c + l;
922
922
  }
923
- const Tt = p(0), La = Et((t) => {
924
- Tt.value = t;
923
+ const Nt = p(0), Aa = Ft((t) => {
924
+ Nt.value = t;
925
925
  }, 100);
926
- ja((t) => {
927
- const c = rl.value;
926
+ lo((t) => {
927
+ const c = nl.value;
928
928
  if (!c) return;
929
929
  const l = new ResizeObserver((i) => {
930
- La(i[0].contentRect.height);
930
+ Aa(i[0].contentRect.height);
931
931
  });
932
932
  l.observe(c), t(() => l.disconnect());
933
- }), rt(() => {
934
- Tt.value = 0;
933
+ }), nt(() => {
934
+ Nt.value = 0;
935
935
  });
936
- const Bt = k(() => {
936
+ const Wt = y(() => {
937
937
  let t = 0;
938
938
  He.value && (t = He.value.getBBox().height);
939
939
  let c = 0;
940
- return rl.value && (c = Tt.value), t + c + w.value.xAxis;
941
- }), Ma = k(() => $e.value.some((t) => t.useProgression)), r = k(() => {
940
+ return nl.value && (c = Nt.value), t + c + w.value.xAxis;
941
+ }), Ca = y(() => $e.value.some((t) => t.useProgression)), r = y(() => {
942
942
  let t = 0;
943
943
  const c = 36;
944
- e.value.chart.grid.labels.show && (f.value.useIndividualScale && !f.value.isStacked ? t = ($e.value.length - oe.value.length) * (e.value.chart.grid.labels.yAxis.labelWidth + c) : f.value.useIndividualScale && f.value.isStacked ? t = e.value.chart.grid.labels.yAxis.labelWidth + c : t = _a());
945
- const l = e.value.chart.labels.fontSize * 1.1, i = Ma.value ? 24 : 6;
946
- if (rl.value) {
947
- const o = rl.value.getBBox().x;
944
+ e.value.chart.grid.labels.show && (b.value.useIndividualScale && !b.value.isStacked ? t = ($e.value.length - oe.value.length) * (e.value.chart.grid.labels.yAxis.labelWidth + c) : b.value.useIndividualScale && b.value.isStacked ? t = e.value.chart.grid.labels.yAxis.labelWidth + c : t = Ma());
945
+ const l = e.value.chart.labels.fontSize * 1.1, i = Ca.value ? 24 : 6;
946
+ if (nl.value) {
947
+ const o = nl.value.getBBox().x;
948
948
  o < 0 && (t += Math.abs(o));
949
949
  }
950
950
  const a = ne.value - t - e.value.chart.grid.labels.yAxis.crosshairSize - i - e.value.chart.padding.left - e.value.chart.padding.right, n = e.value.chart.grid.position === "middle" ? 0 : a / _.value / 2;
951
951
  return {
952
952
  top: e.value.chart.padding.top + l,
953
953
  right: ne.value - i - e.value.chart.padding.right,
954
- bottom: se.value - Bt.value - e.value.chart.padding.bottom - e.value.chart.grid.labels.axis.xLabelOffsetY,
954
+ bottom: se.value - Wt.value - e.value.chart.padding.bottom - e.value.chart.grid.labels.axis.xLabelOffsetY,
955
955
  left: t + e.value.chart.grid.labels.yAxis.crosshairSize - n + e.value.chart.padding.left,
956
- height: se.value - Bt.value - e.value.chart.padding.top - e.value.chart.padding.bottom - l - e.value.chart.grid.labels.axis.xLabelOffsetY,
956
+ height: se.value - Wt.value - e.value.chart.padding.top - e.value.chart.padding.bottom - l - e.value.chart.grid.labels.axis.xLabelOffsetY,
957
957
  width: a,
958
958
  scaleLabelX: t,
959
959
  individualOffsetX: c
960
960
  };
961
- }), Aa = k(() => {
961
+ }), za = y(() => {
962
962
  const t = e.value.chart.grid.position === "middle" ? 1 : 0, c = _.value + t, l = Y(r.value.top), i = Y(r.value.bottom);
963
963
  return Array.from({ length: c }).map((a, n) => {
964
964
  const o = r.value.width / _.value * n + r.value.left + le.value;
965
965
  return `M${o},${l} L${o},${i}`;
966
966
  }).join(" ");
967
- }), Ca = k(() => {
967
+ }), Ta = y(() => {
968
968
  if (!e.value.chart.grid.labels.xAxis.showCrosshairs)
969
969
  return "";
970
970
  const {
971
971
  showOnlyAtModulo: t,
972
972
  showOnlyFirstAndLast: c,
973
973
  modulo: l
974
- } = e.value.chart.grid.labels.xAxisLabels, i = j.value.length ? Math.min(l, [...new Set(j.value.map((n) => n.text))].length) : l, a = Math.floor((y.value.end - y.value.start) / i);
974
+ } = e.value.chart.grid.labels.xAxisLabels, i = j.value.length ? Math.min(l, [...new Set(j.value.map((n) => n.text))].length) : l, a = Math.floor((k.value.end - k.value.start) / i);
975
975
  return j.value.map((n, o) => {
976
976
  if (!n) return null;
977
- const H = t && _.value <= i, X = !c && !t, G = c && !t && (o === 0 || o === j.value.length - 1), I = c && !t && S.value === o, R = !c && t && o % a === 0;
978
- if (!(H || X || G || I || R))
977
+ const H = t && _.value <= i, X = !c && !t, G = c && !t && (o === 0 || o === j.value.length - 1), T = c && !t && S.value === o, R = !c && t && o % a === 0;
978
+ if (!(H || X || G || T || R))
979
979
  return null;
980
- const U = r.value.width / _.value, T = r.value.left + U * o + U / 2, E = e.value.chart.grid.labels.xAxis.crosshairSize, N = e.value.chart.grid.labels.xAxis.crosshairsAlwaysAtZero, ce = N ? _e.value - (_e.value === r.value.bottom ? 0 : E / 2) : r.value.bottom, be = N ? _e.value + E / (_e.value === r.value.bottom ? 1 : 2) : r.value.bottom + E;
981
- return `M${T},${ce} L${T},${be}`;
980
+ const U = r.value.width / _.value, I = r.value.left + U * o + U / 2, E = e.value.chart.grid.labels.xAxis.crosshairSize, N = e.value.chart.grid.labels.xAxis.crosshairsAlwaysAtZero, ce = N ? _e.value - (_e.value === r.value.bottom ? 0 : E / 2) : r.value.bottom, be = N ? _e.value + E / (_e.value === r.value.bottom ? 1 : 2) : r.value.bottom + E;
981
+ return `M${I},${ce} L${I},${be}`;
982
982
  }).filter((n) => n !== null).join(" ");
983
983
  });
984
- function Ft() {
985
- return !!Ql?.vnode.props?.onSelectTimeLabel;
984
+ function Yt() {
985
+ return !!Kl?.vnode.props?.onSelectTimeLabel;
986
986
  }
987
- function za(t, c, l) {
988
- if (!Dl.value) {
987
+ function Ia(t, c, l) {
988
+ if (!Wl.value) {
989
989
  const i = document.createElement("canvas");
990
- Dl.value = i.getContext("2d");
990
+ Wl.value = i.getContext("2d");
991
991
  }
992
- return Dl.value.font = `normal ${t}px sans-serif`, Dl.value;
992
+ return Wl.value.font = `normal ${t}px sans-serif`, Wl.value;
993
993
  }
994
- function Wt() {
994
+ function Dt() {
995
995
  const t = fe.value.querySelectorAll(".vue-ui-xy-tag");
996
996
  t.length && Array.from(t).forEach((c) => c.style.opacity = "0");
997
997
  }
998
- function gt(t, c, l, i, a) {
998
+ function ft(t, c, l, i, a) {
999
999
  l && (Be.value[`${t}_${c}_${i}_${a}`] = l);
1000
1000
  }
1001
- const Yt = p(!1);
1002
- async function Dt(t = !1) {
1003
- await Zl(), Yt.value = t, Ue.value && (Yl.value = t);
1001
+ const Xt = p(!1);
1002
+ async function Gt(t = !1) {
1003
+ await ql(), Xt.value = t, Ue.value && (Fl.value = t);
1004
1004
  }
1005
- function Ot() {
1006
- gl.value = !gl.value;
1005
+ function Rt() {
1006
+ hl.value = !hl.value;
1007
1007
  }
1008
- const j = k(() => {
1009
- const t = Math.max(...$e.value.map((c) => il({ data: c.series, threshold: e.value.downsample.threshold }).length));
1010
- return Sa({
1008
+ const j = y(() => {
1009
+ const t = Math.max(...$e.value.map((c) => ul({ data: c.series, threshold: e.value.downsample.threshold }).length));
1010
+ return _a({
1011
1011
  values: e.value.chart.grid.labels.xAxisLabels.values,
1012
1012
  maxDatapoints: t,
1013
1013
  formatter: e.value.chart.grid.labels.xAxisLabels.datetimeFormatter,
1014
- start: y.value.start,
1015
- end: y.value.end
1014
+ start: k.value.start,
1015
+ end: k.value.end
1016
1016
  });
1017
- }), Ia = k(() => {
1018
- const t = Math.max(...$e.value.map((c) => il({ data: c.series, threshold: e.value.downsample.threshold }).length));
1019
- return Sa({
1017
+ }), Oa = y(() => {
1018
+ const t = Math.max(...$e.value.map((c) => ul({ data: c.series, threshold: e.value.downsample.threshold }).length));
1019
+ return _a({
1020
1020
  values: e.value.chart.grid.labels.xAxisLabels.values,
1021
1021
  maxDatapoints: t,
1022
1022
  formatter: e.value.chart.grid.labels.xAxisLabels.datetimeFormatter,
1023
1023
  start: 0,
1024
1024
  end: me.value
1025
1025
  });
1026
- }), mt = k(() => {
1026
+ }), gt = y(() => {
1027
1027
  const t = e.value.chart.grid.labels.xAxisLabels.modulo;
1028
1028
  return j.value.length ? Math.min(t, [...new Set(j.value.map((c) => c.text))].length) : t;
1029
1029
  });
1030
- function Xt(t, c) {
1030
+ function Ut(t, c) {
1031
1031
  const l = Fe.value.map((i) => ({
1032
1032
  shape: i.shape || null,
1033
1033
  name: i.name,
@@ -1038,118 +1038,118 @@ const Co = {
1038
1038
  prefix: i.prefix || e.value.chart.labels.prefix,
1039
1039
  suffix: i.suffix || e.value.chart.labels.suffix
1040
1040
  }));
1041
- fl("selectTimeLabel", {
1041
+ dl("selectTimeLabel", {
1042
1042
  datapoint: l,
1043
1043
  absoluteIndex: t.absoluteIndex,
1044
1044
  label: t.text
1045
1045
  });
1046
1046
  }
1047
- const _ = k(() => y.value.end - y.value.start);
1048
- function Gt(t) {
1047
+ const _ = y(() => k.value.end - k.value.start);
1048
+ function qt(t) {
1049
1049
  O.value = t;
1050
1050
  }
1051
- function Ut() {
1052
- f.value.isStacked = !f.value.isStacked, f.value.isStacked ? f.value.useIndividualScale = !0 : f.value.useIndividualScale = e.value.chart.grid.labels.yAxis.useIndividualScale;
1051
+ function Zt() {
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
- function Nt(t) {
1055
- ut.value && t.autoScaling && (e.value.chart.grid.labels.yAxis.useIndividualScale || console.warn(`VueUiXy (datapoint: ${t.name}) : autoScaling only works when config.chart.grid.labels.yAxis.useIndividualScale is set to true`), e.value.chart.grid.labels.yAxis.stacked || console.warn(`VueUiXy (datapoint: ${t.name}) : autoScaling only works when config.chart.grid.labels.yAxis.stacked is set to true`));
1054
+ function Pt(t) {
1055
+ ot.value && t.autoScaling && (e.value.chart.grid.labels.yAxis.useIndividualScale || console.warn(`VueUiXy (datapoint: ${t.name}) : autoScaling only works when config.chart.grid.labels.yAxis.useIndividualScale is set to true`), e.value.chart.grid.labels.yAxis.stacked || console.warn(`VueUiXy (datapoint: ${t.name}) : autoScaling only works when config.chart.grid.labels.yAxis.stacked is set to true`));
1056
1056
  }
1057
- function Ta(t, c) {
1057
+ function Na(t, c) {
1058
1058
  let l = Array(Math.abs(t)).fill(0);
1059
1059
  for (let i = 0; i < c.length && i < t; i += 1)
1060
1060
  l[i] = c[i];
1061
1061
  return l;
1062
1062
  }
1063
- function Oa(t) {
1064
- const c = Math.max(...$e.value.map((l) => il({ data: l.series, threshold: e.value.downsample.threshold }).length));
1063
+ function Ra(t) {
1064
+ const c = Math.max(...$e.value.map((l) => ul({ data: l.series, threshold: e.value.downsample.threshold }).length));
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
- async function Rt() {
1068
- await Zl(), await Zl();
1067
+ async function Ht() {
1068
+ await ql(), await ql();
1069
1069
  const { startIndex: t, endIndex: c } = e.value.chart.zoom, l = ze.value, i = Math.max(
1070
1070
  ...$e.value.map(
1071
- (a) => il({
1071
+ (a) => ul({
1072
1072
  data: a.series,
1073
1073
  threshold: e.value.downsample.threshold
1074
1074
  }).length
1075
1075
  )
1076
1076
  );
1077
- (t != null || c != null) && l ? (t != null && l.setStartValue(t), c != null && l.setEndValue(Oa(c + 1))) : (y.value = { start: 0, end: i }, ge.value += 1), q.value.start = y.value.start, q.value.end = y.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), q.value.start = k.value.start, q.value.end = k.value.end;
1078
1078
  }
1079
- async function qt() {
1080
- await Rt();
1079
+ async function Jt() {
1080
+ await Ht();
1081
1081
  }
1082
1082
  function We(t) {
1083
1083
  return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(t);
1084
1084
  }
1085
- const Zt = k(() => Ze.value.max + lt.value);
1086
- function Ol(t) {
1087
- return t / (We(Zt.value) ? Zt.value : 1);
1085
+ const Kt = y(() => Ze.value.max + et.value);
1086
+ function Tl(t) {
1087
+ return t / (We(Kt.value) ? Kt.value : 1);
1088
1088
  }
1089
- const _e = k(() => isNaN(Ol(lt.value)) ? r.value.bottom : r.value.bottom - r.value.height * Ol(lt.value));
1090
- function Jt(t) {
1091
- const c = ![null, void 0].includes(e.value.chart.grid.labels.yAxis.scaleMin) && e.value.chart.grid.labels.yAxis.scaleMin > 0 && It.value >= 0 ? r.value.bottom : _e.value;
1089
+ const _e = y(() => isNaN(Tl(et.value)) ? r.value.bottom : r.value.bottom - r.value.height * Tl(et.value));
1090
+ function Qt(t) {
1091
+ const c = ![null, void 0].includes(e.value.chart.grid.labels.yAxis.scaleMin) && e.value.chart.grid.labels.yAxis.scaleMin > 0 && Ot.value >= 0 ? r.value.bottom : _e.value;
1092
1092
  return t.value >= 0 ? V(c - t.y <= 0 ? 1e-5 : c - t.y) : V(t.y - _e.value <= 0 ? 1e-5 : t.y - _e.value);
1093
1093
  }
1094
- function Kt(t) {
1094
+ function jt(t) {
1095
1095
  return t.value >= 0 ? V(t.zeroPosition - t.y <= 0 ? 1e-5 : t.zeroPosition - t.y) : V(t.y - t.zeroPosition <= 0 ? 1e-5 : t.zeroPosition - t.y);
1096
1096
  }
1097
- const ue = k(() => ({
1098
- bar: r.value.width / _.value / vl.value.filter((t) => t.type === "bar").filter((t) => !oe.value.includes(t.id)).length,
1097
+ const ue = y(() => ({
1098
+ bar: r.value.width / _.value / cl.value.filter((t) => t.type === "bar").filter((t) => !oe.value.includes(t.id)).length,
1099
1099
  plot: r.value.width / _.value,
1100
1100
  line: r.value.width / _.value
1101
1101
  }));
1102
- function Je() {
1103
- return f.value.useIndividualScale && f.value.isStacked ? ue.value.line - r.value.width / _.value * 0.1 : ue.value.bar;
1102
+ function Dl() {
1103
+ return b.value.useIndividualScale && b.value.isStacked ? ue.value.line - r.value.width / _.value * 0.1 : ue.value.bar;
1104
1104
  }
1105
- function xt(t) {
1106
- return f.value.useIndividualScale && f.value.isStacked ? t.x + r.value.width / _.value * 0.05 : t.x + ue.value.bar / 2;
1105
+ function mt(t) {
1106
+ return b.value.useIndividualScale && b.value.isStacked ? t.x + r.value.width / _.value * 0.05 : t.x + ue.value.bar / 2;
1107
1107
  }
1108
- function Qt(t) {
1108
+ function ea(t) {
1109
1109
  return t.value >= 0 ? t.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(_e.value) ? r.bottom.value : _e.value;
1110
1110
  }
1111
- function jt(t) {
1111
+ function la(t) {
1112
1112
  return t.value >= 0 ? t.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(t.zeroPosition) ? 0 : t.zeroPosition;
1113
1113
  }
1114
- const tt = p(null);
1115
- function Na(t) {
1116
- if (gl.value) return;
1114
+ const lt = p(null);
1115
+ function Pa(t) {
1116
+ if (hl.value) return;
1117
1117
  const c = Se.value.getBoundingClientRect(), i = Se.value.viewBox.baseVal.width / c.width, n = (t.clientX - c.left) * i - r.value.left, o = r.value.width / _.value, H = Math.floor(n / o);
1118
- H >= 0 && H < _.value ? tt.value !== H && (tt.value = H, ra(!0, H)) : ea();
1118
+ H >= 0 && H < _.value ? lt.value !== H && (lt.value = H, va(!0, H)) : ta();
1119
1119
  }
1120
- function ea() {
1121
- tt.value = null, ra(!1, null);
1120
+ function ta() {
1121
+ lt.value = null, va(!1, null);
1122
1122
  }
1123
- function Ra() {
1124
- tt.value != null && Pa(tt.value);
1123
+ function Ha() {
1124
+ lt.value != null && Va(lt.value);
1125
1125
  }
1126
- function Pa(t) {
1126
+ function Va(t) {
1127
1127
  const c = Fe.value.map((l) => ({
1128
1128
  name: l.name,
1129
1129
  value: [null, void 0, NaN].includes(l.absoluteValues[t]) ? null : l.absoluteValues[t],
1130
1130
  color: l.color,
1131
1131
  type: l.type
1132
1132
  }));
1133
- fl(
1133
+ dl(
1134
1134
  "selectX",
1135
1135
  {
1136
1136
  dataset: c,
1137
1137
  index: t,
1138
1138
  indexLabel: e.value.chart.grid.labels.xAxisLabels.values[t]
1139
1139
  }
1140
- ), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: c, seriesIndex: t + y.value.start });
1140
+ ), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: c, seriesIndex: t + k.value.start });
1141
1141
  }
1142
- function Ha() {
1143
- return al.value.map((t) => ({
1142
+ function Ea() {
1143
+ return tl.value.map((t) => ({
1144
1144
  values: t.absoluteValues,
1145
1145
  color: t.color,
1146
1146
  name: t.name,
1147
1147
  type: t.type
1148
1148
  }));
1149
1149
  }
1150
- async function Va({ scale: t = 2 } = {}) {
1150
+ async function Ba({ scale: t = 2 } = {}) {
1151
1151
  if (!fe.value) return;
1152
- const { width: c, height: l } = fe.value.getBoundingClientRect(), i = c / l, { imageUri: a, base64: n } = await _o({ domElement: fe.value, base64: !0, img: !0, scale: t });
1152
+ const { width: c, height: l } = fe.value.getBoundingClientRect(), i = c / l, { imageUri: a, base64: n } = await Mo({ domElement: fe.value, base64: !0, img: !0, scale: t });
1153
1153
  return {
1154
1154
  imageUri: a,
1155
1155
  base64: n,
@@ -1159,26 +1159,26 @@ const Co = {
1159
1159
  aspectRatio: i
1160
1160
  };
1161
1161
  }
1162
- function la(t) {
1162
+ function aa(t) {
1163
1163
  if (oe.value.includes(t.id))
1164
1164
  oe.value = oe.value.filter((c) => c !== t.id);
1165
1165
  else {
1166
- if (oe.value.length + 1 === vl.value.length) return;
1166
+ if (oe.value.length + 1 === cl.value.length) return;
1167
1167
  oe.value.push(t.id);
1168
1168
  }
1169
- fl("selectLegend", Fe.value.map((c) => ({
1169
+ dl("selectLegend", Fe.value.map((c) => ({
1170
1170
  name: c.name,
1171
1171
  values: c.absoluteValues,
1172
1172
  color: c.color,
1173
1173
  type: c.type
1174
1174
  }))), Ee.value += 1;
1175
1175
  }
1176
- const Ea = k(() => {
1176
+ const Fa = y(() => {
1177
1177
  const t = e.value.chart.title.text || "Chart visualization", c = e.value.chart.title.subtitle.text || "";
1178
1178
  return `${t}. ${c}`;
1179
- }), ta = k(() => ({
1179
+ }), oa = y(() => ({
1180
1180
  linePlot: _.value > e.value.line.dot.hideAboveMaxSerieLength
1181
- })), Ba = k(() => e.value.chart.userOptions.show && (!e.value.chart.title.show || !e.value.chart.title.text)), Fa = k(() => {
1181
+ })), Wa = y(() => e.value.chart.userOptions.show && (!e.value.chart.title.show || !e.value.chart.title.text)), Ya = y(() => {
1182
1182
  if (Array.isArray(e.value.chart.highlightArea))
1183
1183
  return e.value.chart.highlightArea.map((c) => {
1184
1184
  const l = Math.min(c.to, me.value - 1);
@@ -1192,22 +1192,22 @@ const Co = {
1192
1192
  to: Math.min(e.value.chart.highlightArea.to, me.value - 1)
1193
1193
  };
1194
1194
  return [{ ...t, span: t.from === t.to ? 1 : t.to < t.from ? 0 : t.to - t.from + 1 }];
1195
- }), Wa = k(() => Ve.value ? $e.value.map((t, c) => ({
1195
+ }), Da = y(() => Ve.value ? $e.value.map((t, c) => ({
1196
1196
  ...t,
1197
- series: il({
1197
+ series: ul({
1198
1198
  data: t.series,
1199
1199
  threshold: e.value.downsample.threshold
1200
1200
  }),
1201
1201
  id: `uniqueId_${c}`
1202
- })) : $e.value), Ya = k(() => Fe.value.map((t) => {
1202
+ })) : $e.value), Xa = y(() => Fe.value.map((t) => {
1203
1203
  const c = t.absoluteValues.map((l) => [void 0, null].includes(l) ? 0 : l);
1204
1204
  return {
1205
1205
  id: t.id,
1206
1206
  name: t.name,
1207
1207
  color: t.color,
1208
- values: Ta(_.value, c)
1208
+ values: Na(_.value, c)
1209
1209
  };
1210
- })), Da = k(() => ({
1210
+ })), Ga = y(() => ({
1211
1211
  responsiveBreakpoint: e.value.table.responsiveBreakpoint,
1212
1212
  roundingValues: e.value.table.rounding,
1213
1213
  showAverage: !1,
@@ -1230,28 +1230,28 @@ const Co = {
1230
1230
  userOptions: {
1231
1231
  show: !1
1232
1232
  }
1233
- })), le = k(() => e.value.chart.grid.position === "middle" ? 0 : r.value.width / _.value / 2), Nl = k(() => ro(al.value.filter((t) => !oe.value.includes(t.id)))), z = k(() => {
1234
- const t = Object.groupBy(Nl.value, (l) => l.scaleLabel), c = {};
1233
+ })), le = y(() => e.value.chart.grid.position === "middle" ? 0 : r.value.width / _.value / 2), Il = y(() => vo(tl.value.filter((t) => !oe.value.includes(t.id)))), z = y(() => {
1234
+ const t = Object.groupBy(Il.value, (l) => l.scaleLabel), c = {};
1235
1235
  for (const [l, i] of Object.entries(t)) {
1236
1236
  const a = i.flatMap((n) => n.absoluteValues);
1237
1237
  c[l] = {
1238
1238
  min: Math.min(...a) || 0,
1239
1239
  max: Math.max(...a) || 1,
1240
- groupId: `scale_group_${St()}`
1240
+ groupId: `scale_group_${_t()}`
1241
1241
  };
1242
1242
  }
1243
1243
  return c;
1244
- }), Xa = k(() => {
1245
- const t = vl.value.filter((c) => c.type === "bar").filter((c) => !oe.value.includes(c.id)).length;
1246
- return r.value.width / _.value / t - dl.value * t;
1247
- }), dl = k(() => ue.value.line * e.value.bar.periodGap), aa = k(() => {
1244
+ }), Ua = y(() => {
1245
+ const t = cl.value.filter((c) => c.type === "bar").filter((c) => !oe.value.includes(c.id)).length;
1246
+ return r.value.width / _.value / t - xt.value * t;
1247
+ }), xt = y(() => ue.value.line * e.value.bar.periodGap), bt = y(() => Math.max(1e-5, Dl() - (b.value.useIndividualScale && b.value.isStacked ? 0 : xt.value))), pt = y(() => bt.value * e.value.bar.innerGap), ua = y(() => {
1248
1248
  if (!e.value.chart.zoom.minimap.show) return [];
1249
- const t = Wa.value.filter((a) => !oe.value.includes(a.id)), c = Math.max(...t.map((a) => a.series.length)), l = [];
1249
+ const t = Da.value.filter((a) => !oe.value.includes(a.id)), c = Math.max(...t.map((a) => a.series.length)), l = [];
1250
1250
  for (let a = 0; a < c; a += 1)
1251
1251
  l.push(t.map((n) => n.series[a] || 0).reduce((n, o) => (n || 0) + (o || 0), 0));
1252
1252
  const i = Math.min(...l);
1253
1253
  return l.map((a) => a + (i < 0 ? Math.abs(i) : 0));
1254
- }), at = k(() => Fe.value.map((t) => ({
1254
+ }), tt = y(() => Fe.value.map((t) => ({
1255
1255
  slotAbsoluteIndex: t.slotAbsoluteIndex,
1256
1256
  shape: t.shape || null,
1257
1257
  name: t.name,
@@ -1261,88 +1261,88 @@ const Co = {
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
- }))), oa = k(() => Ze.value.ticks.map((t) => ({
1265
- y: t >= 0 ? _e.value - r.value.height * Ol(t) : _e.value + r.value.height * Ol(Math.abs(t)),
1264
+ }))), ia = y(() => Ze.value.ticks.map((t) => ({
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,
1268
1268
  suffix: e.value.chart.labels.suffix
1269
- }))), ua = k(() => {
1269
+ }))), sa = y(() => {
1270
1270
  const t = e.value.chart.annotations;
1271
- if (!t || !Array.isArray(t) || t.every((I) => !I.show)) return [];
1271
+ if (!t || !Array.isArray(t) || t.every((T) => !T.show)) return [];
1272
1272
  const c = t.filter(
1273
- (I) => I.show && (I.yAxis.yTop != null || I.yAxis.yBottom != null)
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 = (I) => {
1277
- const R = (I - 0) / X;
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) => {
1277
+ const R = (T - 0) / X;
1278
1278
  return a - R * n;
1279
1279
  };
1280
- return c.map((I) => {
1281
- const { yAxis: { yTop: R, yBottom: U, label: T } } = I, E = R != null && U != null && R !== U, N = R == null ? null : G(R), ce = U == null ? null : G(U), be = za(T.fontSize);
1282
- be.font = `${T.fontSize}px sans-serif`;
1283
- const te = be.measureText(T.text).width, Ye = T.fontSize, ul = (T.position === "start" ? l + T.padding.left : i - T.padding.right) + T.offsetX, Oe = (N != null && ce != null ? Math.min(N, ce) : N ?? ce) - T.fontSize / 3 + T.offsetY - T.padding.top;
1280
+ return c.map((T) => {
1281
+ const { yAxis: { yTop: R, yBottom: U, label: I } } = T, E = R != null && U != null && R !== U, N = R == null ? null : G(R), ce = U == null ? null : G(U), be = Ia(I.fontSize);
1282
+ be.font = `${I.fontSize}px sans-serif`;
1283
+ const te = be.measureText(I.text).width, Ye = I.fontSize, ol = (I.position === "start" ? l + I.padding.left : i - I.padding.right) + I.offsetX, Oe = (N != null && ce != null ? Math.min(N, ce) : N ?? ce) - I.fontSize / 3 + I.offsetY - I.padding.top;
1284
1284
  let F;
1285
- T.textAnchor === "middle" ? F = ul - te / 2 - T.padding.left : T.textAnchor === "end" ? F = ul - te - T.padding.right : F = ul - T.padding.left;
1286
- const W = Oe - Ye * 0.75 - T.padding.top;
1285
+ I.textAnchor === "middle" ? F = ol - te / 2 - I.padding.left : I.textAnchor === "end" ? F = ol - te - I.padding.right : F = ol - I.padding.left;
1286
+ const W = Oe - Ye * 0.75 - I.padding.top;
1287
1287
  return {
1288
1288
  show: ![N, ce, W].includes(NaN),
1289
- id: `annotation_y_${St()}`,
1289
+ id: `annotation_y_${_t()}`,
1290
1290
  hasArea: E,
1291
1291
  areaHeight: E ? Math.abs(N - ce) : 0,
1292
1292
  yTop: N,
1293
1293
  yBottom: ce,
1294
- config: I.yAxis,
1294
+ config: T.yAxis,
1295
1295
  x1: l,
1296
1296
  x2: i,
1297
- _text: { x: ul, y: Oe },
1297
+ _text: { x: ol, y: Oe },
1298
1298
  _box: {
1299
1299
  x: F,
1300
1300
  y: W,
1301
- width: te + T.padding.left + T.padding.right,
1302
- height: Ye + T.padding.top + T.padding.bottom,
1303
- fill: T.backgroundColor,
1304
- stroke: T.border.stroke,
1305
- rx: T.border.rx,
1306
- ry: T.border.ry,
1307
- strokeWidth: T.border.strokeWidth
1301
+ width: te + I.padding.left + I.padding.right,
1302
+ height: Ye + I.padding.top + I.padding.bottom,
1303
+ fill: I.backgroundColor,
1304
+ stroke: I.border.stroke,
1305
+ rx: I.border.rx,
1306
+ ry: I.border.ry,
1307
+ strokeWidth: I.border.strokeWidth
1308
1308
  }
1309
1309
  };
1310
1310
  });
1311
- }), pl = k(() => {
1312
- const t = Nl.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), c = t.length, l = e.value.chart.grid.labels.yAxis.gap, i = f.value.isStacked, a = i ? l * (c - 1) : 0, n = r.value.height - a;
1311
+ }), xl = y(() => {
1312
+ const t = Il.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), c = t.length, l = e.value.chart.grid.labels.yAxis.gap, i = b.value.isStacked, a = i ? l * (c - 1) : 0, n = r.value.height - a;
1313
1313
  return t.filter((o) => o.type === "bar").map((o, H) => {
1314
- Nt(o);
1314
+ Pt(o);
1315
1315
  const X = z.value[o.scaleLabel].min, G = z.value[o.scaleLabel].max;
1316
1316
  o.absoluteValues.filter((B) => ![null, void 0].includes(B)).map((B) => (B - X) / (G - X));
1317
- const I = {
1317
+ const T = {
1318
1318
  valueMin: X,
1319
1319
  valueMax: G < 0 ? 0 : G
1320
1320
  }, R = {
1321
1321
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
1322
1322
  min: o.scaleMin || Math.min(...o.absoluteValues.filter((B) => ![void 0, null].includes(B))) > 0 ? 0 : Math.min(...o.absoluteValues.filter((B) => ![null, void 0].includes(B)))
1323
- }, U = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, T = 1.0000001, E = e.value.chart.grid.labels.yAxis.useNiceScale ? nt(R.min, R.max === R.min ? R.max * T : R.max, U) : Pl(R.min, R.max === R.min ? R.max * T : R.max, U), N = e.value.chart.grid.labels.yAxis.useNiceScale ? nt(I.valueMin, I.valueMax === I.valueMin ? I.valueMax * T : I.valueMax, U) : Pl(I.valueMin, I.valueMax === I.valueMin ? I.valueMax * T : I.valueMax, U), ce = E.min >= 0 ? 0 : Math.abs(E.min), be = 0, te = E.max + ce, Ye = N.max + Math.abs(be), ul = o.stackIndex, Gl = c - 1 - ul, Oe = i ? 1 - o.cumulatedStackRatio : 0, F = i ? n * Oe + l * Gl : 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 = al.value.filter((B) => B.type === "bar").filter((B) => !oe.value.includes(B.id)).length, it = o.series.map((B, he) => {
1324
- const kl = f.value.useIndividualScale ? (o.absoluteValues[he] + ce) / te : Ol(B), Rl = f.value.useIndividualScale && f.value.isStacked ? r.value.left + r.value.width / _.value * he : r.value.left + ue.value.bar * H + ue.value.bar * he * Le - Xa.value / 2 - H * dl.value;
1323
+ }, 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 + 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 = tl.value.filter((B) => B.type === "bar").filter((B) => !oe.value.includes(B.id)).length, ut = o.series.map((B, he) => {
1324
+ const pl = b.value.useIndividualScale ? (o.absoluteValues[he] + ce) / te : Tl(B), Ol = b.value.useIndividualScale && b.value.isStacked ? r.value.left + r.value.width / _.value * he : r.value.left + ue.value.bar * H + ue.value.bar * he * Le - Ua.value / 2 - H * xt.value;
1325
1325
  return {
1326
1326
  yOffset: V(F),
1327
1327
  individualHeight: V(W),
1328
- x: V(Rl),
1329
- y: r.value.bottom - F - W * kl,
1328
+ x: V(Ol),
1329
+ y: r.value.bottom - F - W * pl,
1330
1330
  value: o.absoluteValues[he],
1331
1331
  zeroPosition: V(ve),
1332
1332
  individualMax: V(te),
1333
- comment: o.comments && o.comments.slice(y.value.start, y.value.end)[he] || ""
1333
+ comment: o.comments && o.comments.slice(k.value.start, k.value.end)[he] || ""
1334
1334
  };
1335
- }), Ce = o.absoluteValues.map((B) => N.min >= 0 ? (B - Math.abs(N.min)) / (N.max - Math.abs(N.min)) : (B + Math.abs(N.min)) / (N.max + Math.abs(N.min))), yl = o.series.map((B, he) => {
1336
- const kl = f.value.useIndividualScale && f.value.isStacked ? r.value.left + r.value.width / _.value * he : r.value.left - ue.value.bar / 2 + ue.value.bar * H + ue.value.bar * he * al.value.filter((Rl) => Rl.type === "bar").filter((Rl) => !oe.value.includes(Rl.id)).length;
1335
+ }), Ce = o.absoluteValues.map((B) => N.min >= 0 ? (B - Math.abs(N.min)) / (N.max - Math.abs(N.min)) : (B + Math.abs(N.min)) / (N.max + Math.abs(N.min))), bl = o.series.map((B, he) => {
1336
+ const pl = b.value.useIndividualScale && b.value.isStacked ? r.value.left + r.value.width / _.value * he : r.value.left - ue.value.bar / 2 + ue.value.bar * H + ue.value.bar * he * tl.value.filter((Ol) => Ol.type === "bar").filter((Ol) => !oe.value.includes(Ol.id)).length;
1337
1337
  return {
1338
1338
  yOffset: V(F),
1339
1339
  individualHeight: V(W),
1340
- x: V(kl),
1340
+ x: V(pl),
1341
1341
  y: V(r.value.bottom - V(F) - (V(W) * Ce[he] || 0)),
1342
1342
  value: o.absoluteValues[he],
1343
1343
  zeroPosition: V(ve),
1344
1344
  individualMax: V(te),
1345
- comment: o.comments && o.comments.slice(y.value.start, y.value.end)[he] || ""
1345
+ comment: o.comments && o.comments.slice(k.value.start, k.value.end)[he] || ""
1346
1346
  };
1347
1347
  }), J = E.ticks.map((B) => ({
1348
1348
  y: B >= 0 ? ve - W * (B / te) : ve + W * Math.abs(B) / te,
@@ -1360,7 +1360,7 @@ const Co = {
1360
1360
  datapoint: o
1361
1361
  };
1362
1362
  });
1363
- return z.value[o.scaleLabel].name = o.name, z.value[o.scaleLabel].groupName = o.scaleLabel, z.value[o.scaleLabel].groupColor = e.value.chart.grid.labels.yAxis.groupColor || o.color, z.value[o.scaleLabel].color = o.color, z.value[o.scaleLabel].scaleYLabels = o.autoScaling ? de : J, z.value[o.scaleLabel].zeroPosition = o.autoScaling ? Ne : ve, z.value[o.scaleLabel].individualMax = o.autoScaling ? Ye : te, z.value[o.scaleLabel].scaleLabel = o.scaleLabel, z.value[o.scaleLabel].id = o.id, z.value[o.scaleLabel].yOffset = F, z.value[o.scaleLabel].individualHeight = W, z.value[o.scaleLabel].autoScaleYLabels = de, z.value[o.scaleLabel].unique = Nl.value.filter((B) => B.scaleLabel === o.scaleLabel).length === 1, {
1363
+ return z.value[o.scaleLabel].name = o.name, z.value[o.scaleLabel].groupName = o.scaleLabel, z.value[o.scaleLabel].groupColor = e.value.chart.grid.labels.yAxis.groupColor || o.color, z.value[o.scaleLabel].color = o.color, z.value[o.scaleLabel].scaleYLabels = o.autoScaling ? de : J, z.value[o.scaleLabel].zeroPosition = o.autoScaling ? Ne : ve, z.value[o.scaleLabel].individualMax = o.autoScaling ? Ye : te, z.value[o.scaleLabel].scaleLabel = o.scaleLabel, z.value[o.scaleLabel].id = o.id, z.value[o.scaleLabel].yOffset = F, z.value[o.scaleLabel].individualHeight = W, z.value[o.scaleLabel].autoScaleYLabels = de, z.value[o.scaleLabel].unique = Il.value.filter((B) => B.scaleLabel === o.scaleLabel).length === 1, {
1364
1364
  ...o,
1365
1365
  yOffset: F,
1366
1366
  autoScaleYLabels: de,
@@ -1369,47 +1369,47 @@ const Co = {
1369
1369
  individualScale: o.autoScaling ? N : E,
1370
1370
  individualMax: o.autoScaling ? Ye : te,
1371
1371
  zeroPosition: o.autoScaling ? Ne : ve,
1372
- plots: o.autoScaling ? yl : it,
1372
+ plots: o.autoScaling ? bl : ut,
1373
1373
  groupId: z.value[o.scaleLabel].groupId
1374
1374
  };
1375
1375
  });
1376
- }), Ke = k(() => {
1377
- const t = Nl.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), c = t.length, l = e.value.chart.grid.labels.yAxis.gap, i = f.value.isStacked, a = i ? l * (c - 1) : 0, n = r.value.height - a;
1376
+ }), Je = y(() => {
1377
+ const t = Il.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), c = t.length, l = e.value.chart.grid.labels.yAxis.gap, i = b.value.isStacked, a = i ? l * (c - 1) : 0, n = r.value.height - a;
1378
1378
  return t.filter((o) => o.type === "line").map((o, H) => {
1379
- Nt(o);
1379
+ Pt(o);
1380
1380
  const X = z.value[o.scaleLabel].min, G = z.value[o.scaleLabel].max;
1381
1381
  o.absoluteValues.filter((P) => ![null, void 0].includes(P)).map((P) => (P - X) / (G - X));
1382
- const I = {
1382
+ const T = {
1383
1383
  valueMin: X,
1384
1384
  valueMax: G
1385
1385
  }, R = {
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
- }, U = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, T = 1.0000001, E = e.value.chart.grid.labels.yAxis.useNiceScale ? nt(R.min, R.max === R.min ? R.max * T : R.max, U) : Pl(R.min, R.max === R.min ? R.max * T : R.max, U), N = e.value.chart.grid.labels.yAxis.useNiceScale ? nt(I.valueMin, I.valueMax === I.valueMin ? I.valueMax * T : I.valueMax, U) : Pl(I.valueMin, I.valueMax === I.valueMin ? I.valueMax * T : I.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), ul = o.stackIndex, Gl = c - 1 - ul, Oe = i ? 1 - o.cumulatedStackRatio : 0, F = i ? n * Oe + l * Gl : 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 Ua = f.value.useIndividualScale ? (o.absoluteValues[ke] + Math.abs(ce)) / te : Ol(P);
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);
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 * Ua),
1392
+ y: V(r.value.bottom - F - W * Za),
1393
1393
  value: o.absoluteValues[ke],
1394
- comment: o.comments && o.comments.slice(y.value.start, y.value.end)[ke] || ""
1394
+ comment: o.comments && o.comments.slice(k.value.start, k.value.end)[ke] || ""
1395
1395
  };
1396
- }), it = o.absoluteValues.map((P) => N.min >= 0 ? (P - Math.abs(N.min)) / (N.max - Math.abs(N.min)) : (P + Math.abs(N.min)) / (N.max + Math.abs(N.min))), Ce = o.series.map((P, ke) => [void 0, null].includes(o.absoluteValues[ke]) ? {
1396
+ }), ut = o.absoluteValues.map((P) => N.min >= 0 ? (P - Math.abs(N.min)) / (N.max - Math.abs(N.min)) : (P + Math.abs(N.min)) / (N.max + Math.abs(N.min))), Ce = o.series.map((P, ke) => [void 0, null].includes(o.absoluteValues[ke]) ? {
1397
1397
  x: V(r.value.left + ue.value.line / 2 + ue.value.line * ke),
1398
1398
  y: ve,
1399
1399
  value: o.absoluteValues[ke],
1400
- comment: o.comments && o.comments.slice(y.value.start, y.value.end)[ke] || ""
1400
+ comment: o.comments && o.comments.slice(k.value.start, k.value.end)[ke] || ""
1401
1401
  } : {
1402
1402
  x: V(r.value.left + ue.value.line / 2 + ue.value.line * ke),
1403
- y: V(r.value.bottom - F - (W * it[ke] || 0)),
1403
+ y: V(r.value.bottom - F - (W * ut[ke] || 0)),
1404
1404
  value: o.absoluteValues[ke],
1405
- comment: o.comments && o.comments.slice(y.value.start, y.value.end)[ke] || ""
1406
- }), yl = e.value.line.cutNullValues ? xa(Le) : _t(Le.filter((P) => P.value !== null)), J = e.value.line.cutNullValues ? xa(Ce) : _t(Ce.filter((P) => P.value !== null)), de = e.value.line.cutNullValues ? ba(Le) : Lt(Le.filter((P) => P.value !== null)), B = e.value.line.cutNullValues ? ba(Ce) : Lt(Ce.filter((P) => P.value !== null)), he = E.ticks.map((P) => ({
1405
+ comment: o.comments && o.comments.slice(k.value.start, k.value.end)[ke] || ""
1406
+ }), bl = e.value.line.cutNullValues ? pa(Le) : Mt(Le.filter((P) => P.value !== null)), J = e.value.line.cutNullValues ? pa(Ce) : Mt(Ce.filter((P) => P.value !== null)), de = e.value.line.cutNullValues ? ya(Le) : At(Le.filter((P) => P.value !== null)), B = e.value.line.cutNullValues ? ya(Ce) : At(Ce.filter((P) => P.value !== null)), he = E.ticks.map((P) => ({
1407
1407
  y: P >= 0 ? ve - W * (P / te) : ve + W * Math.abs(P) / te,
1408
1408
  value: P,
1409
1409
  prefix: o.prefix || e.value.chart.labels.prefix,
1410
1410
  suffix: o.suffix || e.value.chart.labels.suffix,
1411
1411
  datapoint: o
1412
- })), kl = N.ticks.map((P) => {
1412
+ })), pl = N.ticks.map((P) => {
1413
1413
  const ke = (P - N.min) / (N.max - N.min);
1414
1414
  return {
1415
1415
  y: P >= 0 ? Ne - W * ke : Ne + W * ke,
@@ -1419,67 +1419,67 @@ const Co = {
1419
1419
  datapoint: o
1420
1420
  };
1421
1421
  });
1422
- z.value[o.scaleLabel].name = o.name, z.value[o.scaleLabel].groupName = o.scaleLabel, z.value[o.scaleLabel].groupColor = e.value.chart.grid.labels.yAxis.groupColor || o.color, z.value[o.scaleLabel].color = o.color, z.value[o.scaleLabel].scaleYLabels = o.autoScaling ? kl : he, z.value[o.scaleLabel].zeroPosition = o.autoScaling ? Ne : ve, z.value[o.scaleLabel].individualMax = o.autoScaling ? Ye : te, z.value[o.scaleLabel].scaleLabel = o.scaleLabel, z.value[o.scaleLabel].id = o.id, z.value[o.scaleLabel].yOffset = F, z.value[o.scaleLabel].individualHeight = W, z.value[o.scaleLabel].autoScaleYLabels = kl, z.value[o.scaleLabel].unique = Nl.value.filter((P) => P.scaleLabel === o.scaleLabel).length === 1;
1423
- const Rl = f.value.useIndividualScale ? o.autoScaling ? Ne : ve : _e.value, st = Math.max(Math.max(o.autoScaling ? Ne : he.at(-1) ? he.at(-1).y : 0, r.value.top), Rl);
1422
+ z.value[o.scaleLabel].name = o.name, z.value[o.scaleLabel].groupName = o.scaleLabel, z.value[o.scaleLabel].groupColor = e.value.chart.grid.labels.yAxis.groupColor || o.color, z.value[o.scaleLabel].color = o.color, z.value[o.scaleLabel].scaleYLabels = o.autoScaling ? pl : he, z.value[o.scaleLabel].zeroPosition = o.autoScaling ? Ne : ve, z.value[o.scaleLabel].individualMax = o.autoScaling ? Ye : te, z.value[o.scaleLabel].scaleLabel = o.scaleLabel, z.value[o.scaleLabel].id = o.id, z.value[o.scaleLabel].yOffset = F, z.value[o.scaleLabel].individualHeight = W, z.value[o.scaleLabel].autoScaleYLabels = pl, z.value[o.scaleLabel].unique = Il.value.filter((P) => P.scaleLabel === o.scaleLabel).length === 1;
1423
+ const Ol = b.value.useIndividualScale ? o.autoScaling ? Ne : ve : _e.value, it = Math.max(Math.max(o.autoScaling ? Ne : he.at(-1) ? he.at(-1).y : 0, r.value.top), Ol);
1424
1424
  return {
1425
1425
  ...o,
1426
1426
  yOffset: F,
1427
- autoScaleYLabels: kl,
1427
+ autoScaleYLabels: pl,
1428
1428
  individualHeight: W,
1429
- scaleYLabels: o.autoScaling ? kl : he,
1429
+ scaleYLabels: o.autoScaling ? pl : he,
1430
1430
  individualScale: o.autoScaling ? N : E,
1431
1431
  individualMax: o.autoScaling ? Ye : te,
1432
1432
  zeroPosition: o.autoScaling ? Ne : ve,
1433
- curve: o.autoScaling ? J : yl,
1433
+ curve: o.autoScaling ? J : bl,
1434
1434
  plots: o.autoScaling ? Ce : Le,
1435
- area: o.useArea ? f.value.useIndividualScale ? e.value.line.cutNullValues ? pa(
1435
+ area: o.useArea ? b.value.useIndividualScale ? e.value.line.cutNullValues ? ka(
1436
1436
  o.autoScaling ? Ce : Le,
1437
- st
1438
- ) : ya(
1437
+ it
1438
+ ) : wa(
1439
1439
  o.autoScaling ? Ce.filter((P) => P.value !== null) : Le.filter((P) => P.value !== null),
1440
- st
1441
- ) : e.value.line.cutNullValues ? pa(Le, st) : ya(Le.filter((P) => P.value !== null), st) : "",
1442
- curveAreas: o.useArea ? co(
1440
+ it
1441
+ ) : e.value.line.cutNullValues ? ka(Le, it) : wa(Le.filter((P) => P.value !== null), it) : "",
1442
+ curveAreas: o.useArea ? ho(
1443
1443
  o.autoScaling ? e.value.line.cutNullValues ? Ce : Ce.filter((P) => P.value !== null) : e.value.line.cutNullValues ? Le : Le.filter((P) => P.value !== null),
1444
- st,
1444
+ it,
1445
1445
  e.value.line.cutNullValues
1446
1446
  ) : [],
1447
1447
  straight: o.autoScaling ? B : de,
1448
1448
  groupId: z.value[o.scaleLabel].groupId
1449
1449
  };
1450
1450
  });
1451
- }), ol = k(() => {
1452
- const t = Nl.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), c = t.length, l = e.value.chart.grid.labels.yAxis.gap, i = f.value.isStacked, a = i ? l * (c - 1) : 0, n = r.value.height - a;
1451
+ }), al = y(() => {
1452
+ const t = Il.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), c = t.length, l = e.value.chart.grid.labels.yAxis.gap, i = b.value.isStacked, a = i ? l * (c - 1) : 0, n = r.value.height - a;
1453
1453
  return t.filter((o) => o.type === "plot").map((o) => {
1454
- Nt(o);
1454
+ Pt(o);
1455
1455
  const H = z.value[o.scaleLabel].min, X = z.value[o.scaleLabel].max;
1456
1456
  o.absoluteValues.filter((J) => ![null, void 0].includes(J)).map((J) => (J - H) / (X - H));
1457
1457
  const G = {
1458
1458
  valueMin: H,
1459
1459
  valueMax: X
1460
- }, I = {
1460
+ }, T = {
1461
1461
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
1462
1462
  min: o.scaleMin || Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues)
1463
- }, R = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, U = 1.0000001, T = Pl(I.min, I.max === I.min ? I.max * U : I.max, R), E = Pl(G.valueMin, G.valueMax === G.valueMin ? G.valueMax * U : G.valueMax, R), N = T.min >= 0 ? 0 : Math.abs(T.min), ce = 0, be = T.max + N, te = E.max + Math.abs(ce), Ye = o.stackIndex, ul = c - 1 - Ye, Gl = i ? 1 - o.cumulatedStackRatio : 0, Oe = i ? n * Gl + l * ul : 0, F = i ? n * o.stackRatio : r.value.height, W = r.value.bottom - Oe - F * N / be, ve = r.value.bottom - Oe - F * ce / te, Ne = o.series.map((J, de) => {
1464
- const B = f.value.useIndividualScale ? (o.absoluteValues[de] + Math.abs(N)) / be : Ol(J);
1463
+ }, R = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, U = 1.0000001, I = Nl(T.min, T.max === T.min ? T.max * U : T.max, R), E = Nl(G.valueMin, G.valueMax === G.valueMin ? G.valueMax * U : G.valueMax, R), N = I.min >= 0 ? 0 : Math.abs(I.min), ce = 0, be = I.max + N, te = E.max + Math.abs(ce), Ye = o.stackIndex, ol = c - 1 - Ye, Xl = i ? 1 - o.cumulatedStackRatio : 0, Oe = i ? n * Xl + l * ol : 0, F = i ? n * o.stackRatio : r.value.height, W = r.value.bottom - Oe - F * N / be, ve = r.value.bottom - Oe - F * ce / te, Ne = o.series.map((J, de) => {
1464
+ const B = b.value.useIndividualScale ? (o.absoluteValues[de] + Math.abs(N)) / be : Tl(J);
1465
1465
  return {
1466
1466
  x: V(r.value.left + ue.value.plot / 2 + ue.value.plot * de),
1467
1467
  y: V(r.value.bottom - Oe - F * B),
1468
1468
  value: o.absoluteValues[de],
1469
- comment: o.comments && o.comments.slice(y.value.start, y.value.end)[de] || ""
1469
+ comment: o.comments && o.comments.slice(k.value.start, k.value.end)[de] || ""
1470
1470
  };
1471
- }), Le = o.absoluteValues.map((J) => E.min >= 0 ? (J - Math.abs(E.min)) / (E.max - Math.abs(E.min)) : (J + Math.abs(E.min)) / (E.max + Math.abs(E.min))), it = o.series.map((J, de) => ({
1471
+ }), Le = o.absoluteValues.map((J) => E.min >= 0 ? (J - Math.abs(E.min)) / (E.max - Math.abs(E.min)) : (J + Math.abs(E.min)) / (E.max + Math.abs(E.min))), ut = o.series.map((J, de) => ({
1472
1472
  x: V(r.value.left + ue.value.plot / 2 + ue.value.plot * de),
1473
1473
  y: V(r.value.bottom - Oe - (F * Le[de] || 0)),
1474
1474
  value: o.absoluteValues[de],
1475
- comment: o.comments && o.comments.slice(y.value.start, y.value.end)[de] || ""
1476
- })), Ce = T.ticks.map((J) => ({
1475
+ comment: o.comments && o.comments.slice(k.value.start, k.value.end)[de] || ""
1476
+ })), Ce = I.ticks.map((J) => ({
1477
1477
  y: J >= 0 ? W - F * (J / be) : W + F * Math.abs(J) / be,
1478
1478
  value: J,
1479
1479
  prefix: o.prefix || e.value.chart.labels.prefix,
1480
1480
  suffix: o.suffix || e.value.chart.labels.suffix,
1481
1481
  datapoint: o
1482
- })), yl = E.ticks.map((J) => {
1482
+ })), bl = E.ticks.map((J) => {
1483
1483
  const de = (J - E.min) / (E.max - E.min);
1484
1484
  return {
1485
1485
  y: J >= 0 ? ve - F * de : ve + F * de,
@@ -1489,21 +1489,21 @@ const Co = {
1489
1489
  datapoint: o
1490
1490
  };
1491
1491
  });
1492
- return z.value[o.scaleLabel].name = o.name, z.value[o.scaleLabel].groupName = o.scaleLabel, z.value[o.scaleLabel].groupColor = e.value.chart.grid.labels.yAxis.groupColor || o.color, z.value[o.scaleLabel].color = o.color, z.value[o.scaleLabel].scaleYLabels = o.autoScaling ? yl : Ce, z.value[o.scaleLabel].zeroPosition = o.autoScaling ? ve : W, z.value[o.scaleLabel].individualMax = o.autoScaling ? te : be, z.value[o.scaleLabel].scaleLabel = o.scaleLabel, z.value[o.scaleLabel].id = o.id, z.value[o.scaleLabel].yOffset = Oe, z.value[o.scaleLabel].individualHeight = F, z.value[o.scaleLabel].autoScaleYLabels = yl, z.value[o.scaleLabel].unique = Nl.value.filter((J) => J.scaleLabel === o.scaleLabel).length === 1, {
1492
+ return z.value[o.scaleLabel].name = o.name, z.value[o.scaleLabel].groupName = o.scaleLabel, z.value[o.scaleLabel].groupColor = e.value.chart.grid.labels.yAxis.groupColor || o.color, z.value[o.scaleLabel].color = o.color, z.value[o.scaleLabel].scaleYLabels = o.autoScaling ? bl : Ce, z.value[o.scaleLabel].zeroPosition = o.autoScaling ? ve : W, z.value[o.scaleLabel].individualMax = o.autoScaling ? te : be, z.value[o.scaleLabel].scaleLabel = o.scaleLabel, z.value[o.scaleLabel].id = o.id, z.value[o.scaleLabel].yOffset = Oe, z.value[o.scaleLabel].individualHeight = F, z.value[o.scaleLabel].autoScaleYLabels = bl, z.value[o.scaleLabel].unique = Il.value.filter((J) => J.scaleLabel === o.scaleLabel).length === 1, {
1493
1493
  ...o,
1494
1494
  yOffset: Oe,
1495
- autoScaleYLabels: yl,
1495
+ autoScaleYLabels: bl,
1496
1496
  individualHeight: F,
1497
- scaleYLabels: o.autoScaling ? yl : Ce,
1498
- individualScale: o.autoScaling ? E : T,
1497
+ scaleYLabels: o.autoScaling ? bl : Ce,
1498
+ individualScale: o.autoScaling ? E : I,
1499
1499
  individualMax: o.autoScaling ? te : be,
1500
1500
  zeroPosition: o.autoScaling ? ve : W,
1501
- plots: o.autoScaling ? it : Ne,
1501
+ plots: o.autoScaling ? ut : Ne,
1502
1502
  groupId: z.value[o.scaleLabel].groupId
1503
1503
  };
1504
1504
  });
1505
- }), ot = k(() => {
1506
- const t = Ke.value.map((n) => ({
1505
+ }), at = y(() => {
1506
+ const t = Je.value.map((n) => ({
1507
1507
  name: n.name,
1508
1508
  color: n.color,
1509
1509
  scale: n.individualScale,
@@ -1515,7 +1515,7 @@ const Co = {
1515
1515
  yOffset: n.yOffset || 0,
1516
1516
  individualHeight: n.individualHeight || r.value.height,
1517
1517
  autoScaleYLabels: n.autoScaleYLabels
1518
- })), c = pl.value.map((n) => ({
1518
+ })), c = xl.value.map((n) => ({
1519
1519
  name: n.name,
1520
1520
  color: n.color,
1521
1521
  scale: n.individualScale,
@@ -1526,7 +1526,7 @@ const Co = {
1526
1526
  id: n.id,
1527
1527
  yOffset: n.yOffset || 0,
1528
1528
  individualHeight: n.individualHeight || r.value.height
1529
- })), l = ol.value.map((n) => ({
1529
+ })), l = al.value.map((n) => ({
1530
1530
  name: n.name,
1531
1531
  color: n.color,
1532
1532
  scale: n.individualScale,
@@ -1538,11 +1538,11 @@ const Co = {
1538
1538
  id: n.id,
1539
1539
  yOffset: n.yOffset || 0,
1540
1540
  individualHeight: n.individualHeight || r.value.height
1541
- })), i = f.value.useIndividualScale && !f.value.isStacked ? Object.values(z.value) : [...t, ...c, ...l], a = i.flatMap((n) => n).length;
1541
+ })), i = b.value.useIndividualScale && !b.value.isStacked ? Object.values(z.value) : [...t, ...c, ...l], a = i.flatMap((n) => n).length;
1542
1542
  return i.flatMap((n, o) => {
1543
1543
  let H = 0;
1544
- H = f.value.isStacked ? r.value.left : r.value.left / a * (o + 1);
1545
- const X = f.value.useIndividualScale && !f.value.isStacked ? n.unique ? n.name : n.groupName : n.name;
1544
+ H = b.value.isStacked ? r.value.left : r.value.left / a * (o + 1);
1545
+ const X = b.value.useIndividualScale && !b.value.isStacked ? n.unique ? n.name : n.groupName : n.name;
1546
1546
  return {
1547
1547
  unique: n.unique,
1548
1548
  id: n.id,
@@ -1554,7 +1554,7 @@ const Co = {
1554
1554
  X,
1555
1555
  n
1556
1556
  ),
1557
- color: f.value.useIndividualScale && !f.value.isStacked ? n.unique ? n.color : n.groupColor : n.color,
1557
+ color: b.value.useIndividualScale && !b.value.isStacked ? n.unique ? n.color : n.groupColor : n.color,
1558
1558
  scale: n.scale,
1559
1559
  yOffset: n.yOffset,
1560
1560
  individualHeight: n.individualHeight,
@@ -1565,44 +1565,44 @@ const Co = {
1565
1565
  }))
1566
1566
  };
1567
1567
  });
1568
- }), ia = k(() => ({
1569
- datapoint: at.value,
1568
+ }), na = y(() => ({
1569
+ datapoint: tt.value,
1570
1570
  seriesIndex: S.value,
1571
- series: al.value,
1572
- bars: pl.value,
1573
- lines: Ke.value,
1574
- plots: ol.value,
1571
+ series: tl.value,
1572
+ bars: xl.value,
1573
+ lines: Je.value,
1574
+ plots: al.value,
1575
1575
  config: e.value
1576
- })), Ga = k(() => {
1577
- let t = "", c = at.value.map((a) => a.value).filter((a) => yt(a) && a !== null).reduce((a, n) => Math.abs(a) + Math.abs(n), 0);
1576
+ })), qa = y(() => {
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
- return vo(i) && ho(() => i({
1580
- absoluteIndex: S.value + y.value.start,
1579
+ return fo(i) && go(() => i({
1580
+ absoluteIndex: S.value + k.value.start,
1581
1581
  seriesIndex: S.value,
1582
- datapoint: at.value,
1583
- series: al.value,
1584
- bars: pl.value,
1585
- lines: Ke.value,
1586
- plots: ol.value,
1582
+ datapoint: tt.value,
1583
+ series: tl.value,
1584
+ bars: xl.value,
1585
+ lines: Je.value,
1586
+ plots: al.value,
1587
1587
  config: e.value
1588
1588
  })) ? i({
1589
- absoluteIndex: S.value + y.value.start,
1589
+ absoluteIndex: S.value + k.value.start,
1590
1590
  seriesIndex: S.value,
1591
- datapoint: at.value,
1592
- series: al.value,
1593
- bars: pl.value,
1594
- lines: Ke.value,
1595
- plots: ol.value,
1591
+ datapoint: tt.value,
1592
+ series: tl.value,
1593
+ bars: xl.value,
1594
+ lines: Je.value,
1595
+ plots: al.value,
1596
1596
  config: e.value
1597
- }) : (l && l.text && e.value.chart.tooltip.showTimeLabel && (t += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${e.value.chart.tooltip.borderColor}; width:100%">${l.text}</div>`), at.value.forEach((a) => {
1598
- if (yt(a.value)) {
1597
+ }) : (l && l.text && e.value.chart.tooltip.showTimeLabel && (t += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${e.value.chart.tooltip.borderColor}; width:100%">${l.text}</div>`), tt.value.forEach((a) => {
1598
+ if (wt(a.value)) {
1599
1599
  let n = "", o = "";
1600
1600
  switch (Ge.value[a.type]) {
1601
1601
  case "bar":
1602
- n = `<svg viewBox="0 0 40 40" height="14" width="14">${Kl.pattern ? `<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${a.color}" />` : ""}<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${Kl.pattern ? `url(#pattern_${Q.value}_${a.slotAbsoluteIndex}` : a.color}" /></svg>`;
1602
+ n = `<svg viewBox="0 0 40 40" height="14" width="14">${Jl.pattern ? `<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${a.color}" />` : ""}<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${Jl.pattern ? `url(#pattern_${Q.value}_${a.slotAbsoluteIndex}` : a.color}" /></svg>`;
1603
1603
  break;
1604
1604
  case "line":
1605
- !a.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(a.shape) ? o = `<circle cx="10" cy="8" r="4" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${a.color}" />` : a.shape === "triangle" ? o = `<path d="${sl({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${a.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "square" ? o = `<path d="${sl({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${a.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "diamond" ? o = `<path d="${sl({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${a.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "pentagon" ? o = `<path d="${sl({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${a.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "hexagon" ? o = `<path d="${sl({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${a.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "star" && (o = `<polygon stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${a.color}" points="${ka({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), n = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${a.color}" />${o}</svg>`;
1605
+ !a.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(a.shape) ? o = `<circle cx="10" cy="8" r="4" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${a.color}" />` : a.shape === "triangle" ? o = `<path d="${il({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${a.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "square" ? o = `<path d="${il({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${a.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "diamond" ? o = `<path d="${il({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${a.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "pentagon" ? o = `<path d="${il({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${a.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "hexagon" ? o = `<path d="${il({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${a.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "star" && (o = `<polygon stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${a.color}" points="${Sa({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), n = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${a.color}" />${o}</svg>`;
1606
1606
  break;
1607
1607
  case "plot":
1608
1608
  if (!a.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(a.shape)) {
@@ -1610,27 +1610,27 @@ const Co = {
1610
1610
  break;
1611
1611
  }
1612
1612
  if (a.shape === "star") {
1613
- n = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="1" fill="${a.color}" points="${ka({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
1613
+ n = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="1" fill="${a.color}" points="${Sa({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
1614
1614
  break;
1615
1615
  }
1616
1616
  if (a.shape === "triangle") {
1617
- n = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${sl({ plot: { x: 6, y: 6 }, radius: 6, sides: 3, rotation: 0.52 }).path}" fill="${a.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1617
+ n = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${il({ plot: { x: 6, y: 6 }, radius: 6, sides: 3, rotation: 0.52 }).path}" fill="${a.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1618
1618
  break;
1619
1619
  }
1620
1620
  if (a.shape === "square") {
1621
- n = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${sl({ plot: { x: 6, y: 6 }, radius: 6, sides: 4, rotation: 0.8 }).path}" fill="${a.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1621
+ n = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${il({ plot: { x: 6, y: 6 }, radius: 6, sides: 4, rotation: 0.8 }).path}" fill="${a.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1622
1622
  break;
1623
1623
  }
1624
1624
  if (a.shape === "diamond") {
1625
- n = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${sl({ plot: { x: 6, y: 6 }, radius: 5, sides: 4, rotation: 0 }).path}" fill="${a.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1625
+ n = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${il({ plot: { x: 6, y: 6 }, radius: 5, sides: 4, rotation: 0 }).path}" fill="${a.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1626
1626
  break;
1627
1627
  }
1628
1628
  if (a.shape === "pentagon") {
1629
- n = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${sl({ plot: { x: 6, y: 6 }, radius: 5, sides: 5, rotation: 0.95 }).path}" fill="${a.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1629
+ n = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${il({ plot: { x: 6, y: 6 }, radius: 5, sides: 5, rotation: 0.95 }).path}" fill="${a.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1630
1630
  break;
1631
1631
  }
1632
1632
  if (a.shape === "hexagon") {
1633
- n = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${sl({ plot: { x: 6, y: 6 }, radius: 5, sides: 6, rotation: 0 }).path}" fill="${a.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1633
+ n = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${il({ plot: { x: 6, y: 6 }, radius: 5, sides: 6, rotation: 0 }).path}" fill="${a.color}" stroke="${e.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1634
1634
  break;
1635
1635
  }
1636
1636
  }
@@ -1648,11 +1648,11 @@ const Co = {
1648
1648
  v: V(Math.abs(a.value) / c * 100),
1649
1649
  s: "%",
1650
1650
  r: e.value.chart.tooltip.roundingPercentage
1651
- })})` : ""}</div>`, e.value.chart.comments.showInTooltip && a.comments.length && a.comments.slice(y.value.start, y.value.end)[S.value] && (t += `<div class="vue-data-ui-tooltip-comment" style="background:${a.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${a.color}">${a.comments.slice(y.value.start, y.value.end)[S.value]}</div>`);
1651
+ })})` : ""}</div>`, e.value.chart.comments.showInTooltip && a.comments.length && a.comments.slice(k.value.start, k.value.end)[S.value] && (t += `<div class="vue-data-ui-tooltip-comment" style="background:${a.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${a.color}">${a.comments.slice(k.value.start, k.value.end)[S.value]}</div>`);
1652
1652
  }
1653
1653
  }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${e.value.chart.tooltip.color}">${t}</div>`);
1654
- }), sa = k(() => {
1655
- if (vl.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
1654
+ }), ra = y(() => {
1655
+ if (cl.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
1656
1656
  const t = Fe.value.map((l) => ({
1657
1657
  label: l.name,
1658
1658
  color: l.color,
@@ -1664,7 +1664,7 @@ const Co = {
1664
1664
  a.push(We(n.absoluteValues[i]) ? Number(n.absoluteValues[i].toFixed(e.value.table.rounding)) : "");
1665
1665
  }), c.push(a);
1666
1666
  }), { head: t, body: c };
1667
- }), bt = k(() => {
1667
+ }), yt = y(() => {
1668
1668
  const t = e.value.table.showSum;
1669
1669
  let c = [""].concat(Fe.value.map((n) => n.name));
1670
1670
  t && (c = c.concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>'));
@@ -1703,68 +1703,68 @@ const Co = {
1703
1703
  }, a = [e.value.table.columnNames.period].concat(Fe.value.map((n) => n.name)).concat(e.value.table.columnNames.total);
1704
1704
  return { head: c, body: l, config: i, colNames: a };
1705
1705
  });
1706
- function na(t = null) {
1707
- const c = [[e.value.chart.title.text], [e.value.chart.title.subtitle.text], [""]], l = ["", ...sa.value.head.map((o) => o.label)], i = sa.value.body, a = c.concat([l]).concat(i), n = bo(a);
1708
- t ? t(n) : po({ csvContent: n, title: e.value.chart.title.text || "vue-ui-xy" });
1706
+ function ca(t = null) {
1707
+ const c = [[e.value.chart.title.text], [e.value.chart.title.subtitle.text], [""]], l = ["", ...ra.value.head.map((o) => o.label)], i = ra.value.body, a = c.concat([l]).concat(i), n = yo(a);
1708
+ t ? t(n) : ko({ csvContent: n, title: e.value.chart.title.text || "vue-ui-xy" });
1709
1709
  }
1710
- function ra(t, c = null) {
1711
- Fl.value = t;
1710
+ function va(t, c = null) {
1711
+ El.value = t;
1712
1712
  const l = Fe.value.map((i) => ({
1713
1713
  name: i.name,
1714
1714
  value: [null, void 0, NaN].includes(i.absoluteValues[c]) ? null : i.absoluteValues[c],
1715
1715
  color: i.color,
1716
1716
  type: i.type
1717
1717
  }));
1718
- t ? (S.value = c, e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: c + y.value.start })) : (S.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: c + y.value.start }));
1719
- }
1720
- function ca() {
1721
- f.value.showTable = !f.value.showTable;
1722
- }
1723
- function va() {
1724
- f.value.dataLabels.show = !f.value.dataLabels.show;
1718
+ t ? (S.value = c, e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: c + k.value.start })) : (S.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: c + k.value.start }));
1725
1719
  }
1726
1720
  function da() {
1727
- f.value.showTooltip = !f.value.showTooltip;
1721
+ b.value.showTable = !b.value.showTable;
1728
1722
  }
1729
- function ha(t) {
1730
- cl.value = t, ct.value += 1;
1723
+ function ha() {
1724
+ b.value.dataLabels.show = !b.value.dataLabels.show;
1731
1725
  }
1732
1726
  function fa() {
1727
+ b.value.showTooltip = !b.value.showTooltip;
1728
+ }
1729
+ function ga(t) {
1730
+ rl.value = t, rt.value += 1;
1731
+ }
1732
+ function ma() {
1733
1733
  if (!e.value.responsiveProportionalSizing) {
1734
1734
  w.value.dataLabels = e.value.chart.grid.labels.fontSize, w.value.yAxis = e.value.chart.grid.labels.axis.fontSize, w.value.xAxis = e.value.chart.grid.labels.xAxisLabels.fontSize, w.value.plotLabels = e.value.chart.labels.fontSize, Ae.value.plot = e.value.plot.radius, Ae.value.line = e.value.line.radius;
1735
1735
  return;
1736
1736
  }
1737
- w.value.dataLabels = Ul({
1737
+ w.value.dataLabels = Gl({
1738
1738
  relator: se.value,
1739
1739
  adjuster: 400,
1740
1740
  source: e.value.chart.grid.labels.fontSize,
1741
1741
  threshold: 10,
1742
1742
  fallback: 10
1743
- }), w.value.yAxis = Ul({
1743
+ }), w.value.yAxis = Gl({
1744
1744
  relator: ne.value,
1745
1745
  adjuster: 1e3,
1746
1746
  source: e.value.chart.grid.labels.axis.fontSize,
1747
1747
  threshold: 10,
1748
1748
  fallback: 10
1749
- }), w.value.xAxis = Ul({
1749
+ }), w.value.xAxis = Gl({
1750
1750
  relator: ne.value,
1751
1751
  adjuster: 1e3,
1752
1752
  source: e.value.chart.grid.labels.xAxisLabels.fontSize,
1753
1753
  threshold: 10,
1754
1754
  fallback: 10
1755
- }), w.value.plotLabels = Ul({
1755
+ }), w.value.plotLabels = Gl({
1756
1756
  relator: ne.value,
1757
1757
  adjuster: 800,
1758
1758
  source: e.value.chart.labels.fontSize,
1759
1759
  threshold: 10,
1760
1760
  fallback: 10
1761
- }), Ae.value.plot = Ul({
1761
+ }), Ae.value.plot = Gl({
1762
1762
  relator: ne.value,
1763
1763
  adjuster: 800,
1764
1764
  source: e.value.plot.radius,
1765
1765
  threshold: 1,
1766
1766
  fallback: 1
1767
- }), Ae.value.line = Ul({
1767
+ }), Ae.value.line = Gl({
1768
1768
  relator: ne.value,
1769
1769
  adjuster: 800,
1770
1770
  source: e.value.line.radius,
@@ -1772,27 +1772,27 @@ const Co = {
1772
1772
  fallback: 1
1773
1773
  });
1774
1774
  }
1775
- const ut = k(() => !!e.value.debug);
1776
- function ga() {
1777
- wa(d.dataset) ? (Pt({
1775
+ const ot = y(() => !!e.value.debug);
1776
+ function xa() {
1777
+ $a(d.dataset) ? (Vt({
1778
1778
  componentName: "VueUiXy",
1779
1779
  type: "dataset",
1780
- debug: ut.value
1781
- }), Tl.value = !0) : d.dataset.forEach((c, l) => {
1782
- [null, void 0].includes(c.name) && (Pt({
1780
+ debug: ot.value
1781
+ }), zl.value = !0) : d.dataset.forEach((c, l) => {
1782
+ [null, void 0].includes(c.name) && (Vt({
1783
1783
  componentName: "VueUiXy",
1784
1784
  type: "datasetSerieAttribute",
1785
1785
  property: "name (string)",
1786
1786
  index: l,
1787
- debug: ut.value
1788
- }), Tl.value = !0);
1789
- }), ut.value && d.dataset.forEach((c) => {
1787
+ debug: ot.value
1788
+ }), zl.value = !0);
1789
+ }), ot.value && d.dataset.forEach((c) => {
1790
1790
  c.series.forEach((l, i) => {
1791
- yt(l) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
1791
+ wt(l) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
1792
1792
  -----> The serie '${c.name}' contains the value '${l}' at index ${i}.
1793
1793
  '${l}' was converted to null to allow the chart to display.`);
1794
1794
  });
1795
- }), wa(d.dataset) || (Tl.value = e.value.loading), Ue.value = e.value.chart.userOptions.showOnChartHover, Wl.value = e.value.chart.userOptions.keepStateOnChartLeave, Yl.value = !e.value.chart.userOptions.showOnChartHover, f.value = {
1795
+ }), $a(d.dataset) || (zl.value = e.value.loading), Ue.value = e.value.chart.userOptions.showOnChartHover, Bl.value = e.value.chart.userOptions.keepStateOnChartLeave, Fl.value = !e.value.chart.userOptions.showOnChartHover, b.value = {
1796
1796
  dataLabels: {
1797
1797
  show: !0
1798
1798
  },
@@ -1804,57 +1804,57 @@ const Co = {
1804
1804
  const t = 12;
1805
1805
  if (e.value.responsive) {
1806
1806
  const l = fe.value.parentNode;
1807
- D.value && (D.value.unobserve(tl.value), D.value.disconnect());
1807
+ D.value && (D.value.unobserve(ll.value), D.value.disconnect());
1808
1808
  const { height: i, width: a } = l.getBoundingClientRect();
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
1812
  e.value.chart.zoom.show && me.value > 6 && qe.value && ze.value && ze.value.$el && (H = ze.value.$el, X = H.getBoundingClientRect().height);
1813
- let G = null, I = 0;
1814
- e.value.chart.legend.show && ll.value && (G = ll.value, I = G.getBoundingClientRect().height);
1813
+ let G = null, T = 0;
1814
+ e.value.chart.legend.show && el.value && (G = el.value, T = G.getBoundingClientRect().height);
1815
1815
  let R = 0;
1816
- Al.value && (R = Al.value.getBoundingClientRect().height);
1816
+ Ll.value && (R = Ll.value.getBoundingClientRect().height);
1817
1817
  let U = 0;
1818
- Cl.value && (U = Cl.value.getBoundingClientRect().height), se.value = i - o - I - X - R - U - t, ne.value = a, Bl.value = `0 0 ${ne.value < 0 ? 10 : ne.value} ${se.value < 0 ? 10 : se.value}`, fa();
1819
- const T = new ResizeObserver((E) => {
1818
+ Ml.value && (U = Ml.value.getBoundingClientRect().height), se.value = i - o - T - X - R - U - t, ne.value = a, Vl.value = `0 0 ${ne.value < 0 ? 10 : ne.value} ${se.value < 0 ? 10 : se.value}`, ma();
1819
+ const I = new ResizeObserver((E) => {
1820
1820
  for (const N of E)
1821
- e.value.chart.title.show && ye.value ? o = ye.value.getBoundingClientRect().height : o = 0, ze.value && ze.value.$el ? X = ze.value.$el.getBoundingClientRect().height : X = 0, ll.value ? I = ll.value.getBoundingClientRect().height : I = 0, Al.value ? R = Al.value.getBoundingClientRect().height : R = 0, Cl.value ? U = Cl.value.getBoundingClientRect().height : U = 0, requestAnimationFrame(() => {
1822
- se.value = N.contentRect.height - o - I - X - R - U - t, ne.value = N.contentBoxSize[0].inlineSize, Bl.value = `0 0 ${ne.value < 0 ? 10 : ne.value} ${se.value < 0 ? 10 : se.value}`, fa();
1821
+ e.value.chart.title.show && ye.value ? o = ye.value.getBoundingClientRect().height : o = 0, ze.value && ze.value.$el ? X = ze.value.$el.getBoundingClientRect().height : X = 0, el.value ? T = el.value.getBoundingClientRect().height : T = 0, Ll.value ? R = Ll.value.getBoundingClientRect().height : R = 0, Ml.value ? U = Ml.value.getBoundingClientRect().height : U = 0, requestAnimationFrame(() => {
1822
+ se.value = N.contentRect.height - o - T - X - R - U - t, ne.value = N.contentBoxSize[0].inlineSize, Vl.value = `0 0 ${ne.value < 0 ? 10 : ne.value} ${se.value < 0 ? 10 : se.value}`, ma();
1823
1823
  });
1824
1824
  });
1825
- D.value = T, tl.value = l, T.observe(l);
1825
+ D.value = I, ll.value = l, I.observe(l);
1826
1826
  } else
1827
- se.value = e.value.chart.height, ne.value = e.value.chart.width, w.value.dataLabels = e.value.chart.grid.labels.fontSize, w.value.yAxis = e.value.chart.grid.labels.axis.fontSize, w.value.xAxis = e.value.chart.grid.labels.xAxisLabels.fontSize, w.value.plotLabels = e.value.chart.labels.fontSize, Ae.value.plot = e.value.plot.radius, Ae.value.line = e.value.line.radius, Bl.value = `0 0 ${ne.value} ${se.value}`;
1827
+ se.value = e.value.chart.height, ne.value = e.value.chart.width, w.value.dataLabels = e.value.chart.grid.labels.fontSize, w.value.yAxis = e.value.chart.grid.labels.axis.fontSize, w.value.xAxis = e.value.chart.grid.labels.xAxisLabels.fontSize, w.value.plotLabels = e.value.chart.labels.fontSize, Ae.value.plot = e.value.plot.radius, Ae.value.line = e.value.line.radius, Vl.value = `0 0 ${ne.value} ${se.value}`;
1828
1828
  }
1829
- return $t(() => {
1830
- ga(), Rt(), document.addEventListener("mousemove", (t) => {
1831
- Il.value = {
1829
+ return Lt(() => {
1830
+ xa(), Ht(), document.addEventListener("mousemove", (t) => {
1831
+ Cl.value = {
1832
1832
  x: t.clientX,
1833
1833
  y: t.clientY
1834
1834
  };
1835
- }), document.addEventListener("scroll", Wt);
1836
- }), rt(() => {
1837
- document.removeEventListener("scroll", Wt), D.value && (D.value.unobserve(tl.value), D.value.disconnect());
1838
- }), $o({
1839
- timeLabelsEls: rl,
1835
+ }), document.addEventListener("scroll", Dt);
1836
+ }), nt(() => {
1837
+ document.removeEventListener("scroll", Dt), D.value && (D.value.unobserve(ll.value), D.value.disconnect());
1838
+ }), Lo({
1839
+ timeLabelsEls: nl,
1840
1840
  timeLabels: j,
1841
- slicer: y,
1841
+ slicer: k,
1842
1842
  configRef: e,
1843
1843
  rotationPath: ["chart", "grid", "labels", "xAxisLabels", "rotation"],
1844
1844
  autoRotatePath: ["chart", "grid", "labels", "xAxisLabels", "autoRotate"],
1845
- isAutoSize: zt,
1845
+ isAutoSize: It,
1846
1846
  height: se,
1847
1847
  width: ne
1848
- }), nl(() => d.dataset, (t) => {
1849
- Array.isArray(t) && t.length > 0 && (Tl.value = !1), me.value = Math.max(...$e.value.map((c) => il({
1848
+ }), sl(() => d.dataset, (t) => {
1849
+ Array.isArray(t) && t.length > 0 && (zl.value = !1), me.value = Math.max(...$e.value.map((c) => ul({
1850
1850
  data: c.series,
1851
1851
  threshold: e.value.downsample.threshold
1852
- }).length)), y.value = {
1852
+ }).length)), k.value = {
1853
1853
  start: 0,
1854
1854
  end: me.value
1855
1855
  }, ge.value += 1, Ee.value += 1;
1856
- }, { deep: !0 }), nl(() => d.config, (t) => {
1857
- xe.value || (e.value = xl()), ga(), et.value += 1, vt.value += 1, f.value = {
1856
+ }, { deep: !0 }), sl(() => d.config, (t) => {
1857
+ xe.value || (e.value = gl()), xa(), jl.value += 1, ct.value += 1, b.value = {
1858
1858
  dataLabels: {
1859
1859
  show: !0
1860
1860
  },
@@ -1863,8 +1863,8 @@ const Co = {
1863
1863
  isStacked: e.value.chart.grid.labels.yAxis.stacked,
1864
1864
  useIndividualScale: e.value.chart.grid.labels.yAxis.useIndividualScale
1865
1865
  };
1866
- }, { deep: !0 }), nl(e, () => {
1867
- f.value = {
1866
+ }, { deep: !0 }), sl(e, () => {
1867
+ b.value = {
1868
1868
  dataLabels: {
1869
1869
  show: !0
1870
1870
  },
@@ -1873,39 +1873,39 @@ const Co = {
1873
1873
  isStacked: e.value.chart.grid.labels.yAxis.stacked,
1874
1874
  useIndividualScale: e.value.chart.grid.labels.yAxis.useIndividualScale
1875
1875
  };
1876
- }, { immediate: !0 }), Mt({
1877
- getData: Ha,
1878
- getImage: Va,
1879
- generatePdf: bl,
1880
- generateImage: ht,
1881
- generateCsv: na,
1882
- toggleStack: Ut,
1883
- toggleTable: ca,
1884
- toggleLabels: va,
1885
- toggleTooltip: da,
1886
- toggleAnnotator: Ot,
1887
- toggleFullscreen: ha
1876
+ }, { immediate: !0 }), Ct({
1877
+ getData: Ea,
1878
+ getImage: Ba,
1879
+ generatePdf: ml,
1880
+ generateImage: dt,
1881
+ generateCsv: ca,
1882
+ toggleStack: Zt,
1883
+ toggleTable: da,
1884
+ toggleLabels: ha,
1885
+ toggleTooltip: fa,
1886
+ toggleAnnotator: Rt,
1887
+ toggleFullscreen: ga
1888
1888
  }), (t, c) => (u(), s("div", {
1889
1889
  id: `vue-ui-xy_${Q.value}`,
1890
- class: Re(`vue-ui-xy ${cl.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1890
+ class: Re(`vue-ui-xy ${rl.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1891
1891
  ref_key: "chart",
1892
1892
  ref: fe,
1893
1893
  style: $(`background:${e.value.chart.backgroundColor}; color:${e.value.chart.color};width:100%;font-family:${e.value.chart.fontFamily};${e.value.responsive ? "height: 100%" : ""}`),
1894
- onMouseenter: c[10] || (c[10] = () => Dt(!0)),
1895
- onMouseleave: c[11] || (c[11] = () => Dt(!1))
1894
+ onMouseenter: c[10] || (c[10] = () => Gt(!0)),
1895
+ onMouseleave: c[11] || (c[11] = () => Gt(!1))
1896
1896
  }, [
1897
- e.value.chart.userOptions.buttons.annotator && Se.value ? (u(), Qe(v(Ml), {
1897
+ e.value.chart.userOptions.buttons.annotator && Se.value ? (u(), Ke(v(_l), {
1898
1898
  key: 0,
1899
1899
  svgRef: Se.value,
1900
1900
  backgroundColor: e.value.chart.backgroundColor,
1901
1901
  color: e.value.chart.color,
1902
- active: gl.value,
1903
- onClose: Ot
1902
+ active: hl.value,
1903
+ onClose: Rt
1904
1904
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
1905
- Ba.value ? (u(), s("div", {
1905
+ Wa.value ? (u(), s("div", {
1906
1906
  key: 1,
1907
1907
  ref_key: "noTitle",
1908
- ref: Cl,
1908
+ ref: Ml,
1909
1909
  class: "vue-data-ui-no-title-space",
1910
1910
  style: "height:36px; width: 100%; background:transparent"
1911
1911
  }, null, 512)) : h("", !0),
@@ -1916,8 +1916,8 @@ const Co = {
1916
1916
  class: "vue-ui-xy-title",
1917
1917
  style: $(`font-family:${e.value.chart.fontFamily}`)
1918
1918
  }, [
1919
- (u(), Qe(Lo, {
1920
- key: `title_${et.value}`,
1919
+ (u(), Ke(Ao, {
1920
+ key: `title_${jl.value}`,
1921
1921
  config: {
1922
1922
  title: {
1923
1923
  cy: "xy-div-title",
@@ -1930,13 +1930,13 @@ const Co = {
1930
1930
  }
1931
1931
  }, null, 8, ["config"]))
1932
1932
  ], 4)) : h("", !0),
1933
- e.value.chart.userOptions.show && (Wl.value || Yl.value) ? (u(), Qe(v(re), {
1933
+ e.value.chart.userOptions.show && (Bl.value || Fl.value) ? (u(), Ke(v(re), {
1934
1934
  ref: "defails",
1935
- key: `user_options_${ct.value}`,
1935
+ key: `user_options_${rt.value}`,
1936
1936
  backgroundColor: e.value.chart.backgroundColor,
1937
1937
  color: e.value.chart.color,
1938
1938
  isPrinting: v(Z),
1939
- isImaging: v(Te),
1939
+ isImaging: v(Ie),
1940
1940
  uid: Q.value,
1941
1941
  hasTooltip: e.value.chart.userOptions.buttons.tooltip && e.value.chart.tooltip.show,
1942
1942
  hasPdf: e.value.chart.userOptions.buttons.pdf,
@@ -1946,33 +1946,33 @@ const Co = {
1946
1946
  hasTable: e.value.chart.userOptions.buttons.table,
1947
1947
  hasStack: C.dataset.length > 1 && e.value.chart.userOptions.buttons.stack,
1948
1948
  hasFullscreen: e.value.chart.userOptions.buttons.fullscreen,
1949
- isStacked: f.value.isStacked,
1950
- isFullscreen: cl.value,
1949
+ isStacked: b.value.isStacked,
1950
+ isFullscreen: rl.value,
1951
1951
  chartElement: t.$refs.chart,
1952
1952
  position: e.value.chart.userOptions.position,
1953
- isTooltip: f.value.showTooltip,
1953
+ isTooltip: b.value.showTooltip,
1954
1954
  titles: { ...e.value.chart.userOptions.buttonTitles },
1955
1955
  hasAnnotator: e.value.chart.userOptions.buttons.annotator,
1956
- isAnnotation: gl.value,
1956
+ isAnnotation: hl.value,
1957
1957
  callbacks: e.value.chart.userOptions.callbacks,
1958
1958
  printScale: e.value.chart.userOptions.print.scale,
1959
- onToggleFullscreen: ha,
1960
- onGeneratePdf: v(bl),
1961
- onGenerateCsv: na,
1962
- onGenerateImage: v(ht),
1963
- onToggleTable: ca,
1964
- onToggleLabels: va,
1965
- onToggleStack: Ut,
1966
- onToggleTooltip: da,
1967
- onToggleAnnotator: Ot,
1959
+ onToggleFullscreen: ga,
1960
+ onGeneratePdf: v(ml),
1961
+ onGenerateCsv: ca,
1962
+ onGenerateImage: v(dt),
1963
+ onToggleTable: da,
1964
+ onToggleLabels: ha,
1965
+ onToggleStack: Zt,
1966
+ onToggleTooltip: fa,
1967
+ onToggleAnnotator: Rt,
1968
1968
  style: $({
1969
- visibility: Wl.value ? Yl.value ? "visible" : "hidden" : "visible"
1969
+ visibility: Bl.value ? Fl.value ? "visible" : "hidden" : "visible"
1970
1970
  })
1971
- }, eo({ _: 2 }, [
1971
+ }, to({ _: 2 }, [
1972
1972
  t.$slots.menuIcon ? {
1973
1973
  name: "menuIcon",
1974
1974
  fn: pe(({ isOpen: l, color: i }) => [
1975
- K(t.$slots, "menuIcon", hl(Sl({ isOpen: l, color: i })), void 0, !0)
1975
+ K(t.$slots, "menuIcon", vl(kl({ isOpen: l, color: i })), void 0, !0)
1976
1976
  ]),
1977
1977
  key: "0"
1978
1978
  } : void 0,
@@ -2028,14 +2028,14 @@ const Co = {
2028
2028
  t.$slots.optionFullscreen ? {
2029
2029
  name: "optionFullscreen",
2030
2030
  fn: pe(({ toggleFullscreen: l, isFullscreen: i }) => [
2031
- K(t.$slots, "optionFullscreen", hl(Sl({ toggleFullscreen: l, isFullscreen: i })), void 0, !0)
2031
+ K(t.$slots, "optionFullscreen", vl(kl({ toggleFullscreen: l, isFullscreen: i })), void 0, !0)
2032
2032
  ]),
2033
2033
  key: "8"
2034
2034
  } : void 0,
2035
2035
  t.$slots.optionAnnotator ? {
2036
2036
  name: "optionAnnotator",
2037
2037
  fn: pe(({ toggleAnnotator: l, isAnnotator: i }) => [
2038
- K(t.$slots, "optionAnnotator", hl(Sl({ toggleAnnotator: l, isAnnotator: i })), void 0, !0)
2038
+ K(t.$slots, "optionAnnotator", vl(kl({ toggleAnnotator: l, isAnnotator: i })), void 0, !0)
2039
2039
  ]),
2040
2040
  key: "9"
2041
2041
  } : void 0
@@ -2044,28 +2044,28 @@ const Co = {
2044
2044
  ref_key: "svgRef",
2045
2045
  ref: Se,
2046
2046
  xmlns: "http://www.w3.org/2000/svg",
2047
- class: Re([{ "vue-data-ui-fullscreen--on": cl.value, "vue-data-ui-fulscreen--off": !cl.value }, "vue-ui-xy-svg vue-data-ui-svg"]),
2047
+ class: Re([{ "vue-data-ui-fullscreen--on": rl.value, "vue-data-ui-fulscreen--off": !rl.value }, "vue-ui-xy-svg vue-data-ui-svg"]),
2048
2048
  width: "100%",
2049
- viewBox: Bl.value,
2049
+ viewBox: Vl.value,
2050
2050
  style: $({
2051
2051
  background: "transparent",
2052
2052
  color: e.value.chart.color,
2053
2053
  fontFamily: e.value.chart.fontFamily
2054
2054
  }),
2055
- "aria-label": Ea.value,
2055
+ "aria-label": Fa.value,
2056
2056
  role: "img",
2057
2057
  "aria-live": "polite",
2058
2058
  preserveAspectRatio: "xMidYMid",
2059
- onMousemove: Na,
2060
- onMouseleave: ea,
2061
- onClick: Ra
2059
+ onMousemove: Pa,
2060
+ onMouseleave: ta,
2061
+ onClick: Ha
2062
2062
  }, [
2063
- x("g", {
2063
+ m("g", {
2064
2064
  ref_key: "G",
2065
- ref: Ct,
2065
+ ref: Tt,
2066
2066
  class: "vue-data-ui-g"
2067
2067
  }, [
2068
- ql(v(Ll)),
2068
+ Ul(v($l)),
2069
2069
  t.$slots["chart-background"] ? (u(), s("foreignObject", {
2070
2070
  key: 0,
2071
2071
  x: r.value.left + le.value < 0 ? 0 : r.value.left + le.value,
@@ -2077,9 +2077,9 @@ const Co = {
2077
2077
  }
2078
2078
  }, [
2079
2079
  K(t.$slots, "chart-background", {}, void 0, !0)
2080
- ], 8, Qo)) : h("", !0),
2081
- _.value > 0 ? (u(), s("g", jo, [
2082
- x("g", eu, [
2080
+ ], 8, eu)) : h("", !0),
2081
+ _.value > 0 ? (u(), s("g", lu, [
2082
+ m("g", tu, [
2083
2083
  e.value.chart.grid.labels.xAxis.showBaseline ? (u(), s("line", {
2084
2084
  key: 0,
2085
2085
  stroke: e.value.chart.grid.stroke,
@@ -2090,9 +2090,9 @@ const Co = {
2090
2090
  y2: v(Y)(r.value.bottom),
2091
2091
  "stroke-linecap": "round",
2092
2092
  style: { animation: "none !important" }
2093
- }, null, 8, lu)) : h("", !0),
2094
- f.value.useIndividualScale ? e.value.chart.grid.showHorizontalLines ? (u(!0), s(g, { key: 2 }, L(ot.value, (l) => (u(), s("g", null, [
2095
- l.id === M.value && l.yLabels.length ? (u(!0), s(g, { key: 0 }, L(l.yLabels, (i) => (u(), s("line", {
2093
+ }, null, 8, au)) : h("", !0),
2094
+ b.value.useIndividualScale ? e.value.chart.grid.showHorizontalLines ? (u(!0), s(f, { key: 2 }, L(at.value, (l) => (u(), s("g", null, [
2095
+ l.id === M.value && l.yLabels.length ? (u(!0), s(f, { key: 0 }, L(l.yLabels, (i) => (u(), s("line", {
2096
2096
  x1: r.value.left + le.value,
2097
2097
  x2: r.value.right - le.value,
2098
2098
  y1: v(Y)(i.y),
@@ -2101,7 +2101,7 @@ const Co = {
2101
2101
  "stroke-width": 0.5,
2102
2102
  "stroke-linecap": "round",
2103
2103
  style: { animation: "none !important" }
2104
- }, null, 8, uu))), 256)) : l.yLabels.length ? (u(!0), s(g, { key: 1 }, L(l.yLabels, (i) => (u(), s("line", {
2104
+ }, null, 8, su))), 256)) : l.yLabels.length ? (u(!0), s(f, { key: 1 }, L(l.yLabels, (i) => (u(), s("line", {
2105
2105
  x1: r.value.left + le.value,
2106
2106
  x2: r.value.right - le.value,
2107
2107
  y1: v(Y)(i.y),
@@ -2110,8 +2110,8 @@ const Co = {
2110
2110
  "stroke-width": 0.5,
2111
2111
  "stroke-linecap": "round",
2112
2112
  style: { animation: "none !important" }
2113
- }, null, 8, iu))), 256)) : h("", !0)
2114
- ]))), 256)) : h("", !0) : (u(), s(g, { key: 1 }, [
2113
+ }, null, 8, nu))), 256)) : h("", !0)
2114
+ ]))), 256)) : h("", !0) : (u(), s(f, { key: 1 }, [
2115
2115
  e.value.chart.grid.labels.yAxis.showBaseline ? (u(), s("line", {
2116
2116
  key: 0,
2117
2117
  stroke: e.value.chart.grid.stroke,
@@ -2122,9 +2122,9 @@ const Co = {
2122
2122
  y2: v(Y)(r.value.bottom),
2123
2123
  "stroke-linecap": "round",
2124
2124
  style: { animation: "none !important" }
2125
- }, null, 8, tu)) : h("", !0),
2126
- e.value.chart.grid.showHorizontalLines ? (u(), s("g", au, [
2127
- (u(!0), s(g, null, L(oa.value, (l) => (u(), s("line", {
2125
+ }, null, 8, ou)) : h("", !0),
2126
+ e.value.chart.grid.showHorizontalLines ? (u(), s("g", uu, [
2127
+ (u(!0), s(f, null, L(ia.value, (l) => (u(), s("line", {
2128
2128
  x1: r.value.left + le.value,
2129
2129
  x2: r.value.right,
2130
2130
  y1: v(Y)(l.y),
@@ -2133,72 +2133,72 @@ const Co = {
2133
2133
  "stroke-width": 0.5,
2134
2134
  "stroke-linecap": "round",
2135
2135
  style: { animation: "none !important" }
2136
- }, null, 8, ou))), 256))
2136
+ }, null, 8, iu))), 256))
2137
2137
  ])) : h("", !0)
2138
2138
  ], 64)),
2139
- e.value.chart.grid.showVerticalLines ? (u(), s("g", su, [
2140
- x("path", {
2141
- d: Aa.value,
2139
+ e.value.chart.grid.showVerticalLines ? (u(), s("g", ru, [
2140
+ m("path", {
2141
+ d: za.value,
2142
2142
  "stroke-width": 0.5,
2143
2143
  stroke: e.value.chart.grid.stroke,
2144
2144
  "stroke-linecap": "round",
2145
2145
  style: { animation: "none !important" }
2146
- }, null, 8, nu)
2146
+ }, null, 8, cu)
2147
2147
  ])) : h("", !0),
2148
- e.value.chart.grid.labels.xAxisLabels.show ? (u(), s("g", ru, [
2149
- x("path", {
2150
- d: Ca.value,
2148
+ e.value.chart.grid.labels.xAxisLabels.show ? (u(), s("g", vu, [
2149
+ m("path", {
2150
+ d: Ta.value,
2151
2151
  stroke: e.value.chart.grid.stroke,
2152
2152
  "stroke-width": 1,
2153
2153
  "stroke-linecap": "round",
2154
2154
  style: { animation: "none !important" }
2155
- }, null, 8, cu)
2155
+ }, null, 8, du)
2156
2156
  ])) : h("", !0)
2157
2157
  ]),
2158
- (u(!0), s(g, null, L(pl.value, (l, i) => (u(), s("defs", {
2158
+ (u(!0), s(f, null, L(xl.value, (l, i) => (u(), s("defs", {
2159
2159
  key: `def_rect_${i}`
2160
2160
  }, [
2161
- x("linearGradient", {
2161
+ m("linearGradient", {
2162
2162
  id: `rectGradient_pos_${i}_${Q.value}`,
2163
2163
  x2: "0%",
2164
2164
  y2: "100%"
2165
2165
  }, [
2166
- x("stop", {
2166
+ m("stop", {
2167
2167
  offset: "0%",
2168
2168
  "stop-color": l.color
2169
- }, null, 8, du),
2170
- x("stop", {
2169
+ }, null, 8, fu),
2170
+ m("stop", {
2171
2171
  offset: "62%",
2172
- "stop-color": `${v(Hl)(l.color, 0.02)}`
2173
- }, null, 8, hu),
2174
- x("stop", {
2172
+ "stop-color": `${v(Rl)(l.color, 0.02)}`
2173
+ }, null, 8, gu),
2174
+ m("stop", {
2175
2175
  offset: "100%",
2176
- "stop-color": `${v(Hl)(l.color, 0.05)}`
2177
- }, null, 8, fu)
2178
- ], 8, vu),
2179
- x("linearGradient", {
2176
+ "stop-color": `${v(Rl)(l.color, 0.05)}`
2177
+ }, null, 8, mu)
2178
+ ], 8, hu),
2179
+ m("linearGradient", {
2180
2180
  id: `rectGradient_neg_${i}_${Q.value}`,
2181
2181
  x2: "0%",
2182
2182
  y2: "100%"
2183
2183
  }, [
2184
- x("stop", {
2184
+ m("stop", {
2185
2185
  offset: "0%",
2186
- "stop-color": `${v(Hl)(l.color, 0.05)}`
2187
- }, null, 8, mu),
2188
- x("stop", {
2186
+ "stop-color": `${v(Rl)(l.color, 0.05)}`
2187
+ }, null, 8, bu),
2188
+ m("stop", {
2189
2189
  offset: "38%",
2190
- "stop-color": `${v(Hl)(l.color, 0.02)}`
2191
- }, null, 8, xu),
2192
- x("stop", {
2190
+ "stop-color": `${v(Rl)(l.color, 0.02)}`
2191
+ }, null, 8, pu),
2192
+ m("stop", {
2193
2193
  offset: "100%",
2194
2194
  "stop-color": l.color
2195
- }, null, 8, bu)
2196
- ], 8, gu)
2195
+ }, null, 8, yu)
2196
+ ], 8, xu)
2197
2197
  ]))), 128)),
2198
- (u(!0), s(g, null, L(ol.value, (l, i) => (u(), s("defs", {
2198
+ (u(!0), s(f, null, L(al.value, (l, i) => (u(), s("defs", {
2199
2199
  key: `def_plot_${i}`
2200
2200
  }, [
2201
- x("radialGradient", {
2201
+ m("radialGradient", {
2202
2202
  id: `plotGradient_${i}_${Q.value}`,
2203
2203
  cx: "50%",
2204
2204
  cy: "50%",
@@ -2206,20 +2206,20 @@ const Co = {
2206
2206
  fx: "50%",
2207
2207
  fy: "50%"
2208
2208
  }, [
2209
- x("stop", {
2209
+ m("stop", {
2210
2210
  offset: "0%",
2211
- "stop-color": `${v(Hl)(l.color, 0.05)}`
2212
- }, null, 8, yu),
2213
- x("stop", {
2211
+ "stop-color": `${v(Rl)(l.color, 0.05)}`
2212
+ }, null, 8, wu),
2213
+ m("stop", {
2214
2214
  offset: "100%",
2215
2215
  "stop-color": l.color
2216
- }, null, 8, ku)
2217
- ], 8, pu)
2216
+ }, null, 8, Su)
2217
+ ], 8, ku)
2218
2218
  ]))), 128)),
2219
- (u(!0), s(g, null, L(Ke.value, (l, i) => (u(), s("defs", {
2219
+ (u(!0), s(f, null, L(Je.value, (l, i) => (u(), s("defs", {
2220
2220
  key: `def_line_${i}`
2221
2221
  }, [
2222
- x("radialGradient", {
2222
+ m("radialGradient", {
2223
2223
  id: `lineGradient_${i}_${Q.value}`,
2224
2224
  cx: "50%",
2225
2225
  cy: "50%",
@@ -2227,128 +2227,128 @@ const Co = {
2227
2227
  fx: "50%",
2228
2228
  fy: "50%"
2229
2229
  }, [
2230
- x("stop", {
2230
+ m("stop", {
2231
2231
  offset: "0%",
2232
- "stop-color": `${v(Hl)(l.color, 0.05)}`
2233
- }, null, 8, Su),
2234
- x("stop", {
2232
+ "stop-color": `${v(Rl)(l.color, 0.05)}`
2233
+ }, null, 8, _u),
2234
+ m("stop", {
2235
2235
  offset: "100%",
2236
2236
  "stop-color": l.color
2237
- }, null, 8, $u)
2238
- ], 8, wu),
2239
- x("linearGradient", {
2237
+ }, null, 8, Lu)
2238
+ ], 8, $u),
2239
+ m("linearGradient", {
2240
2240
  id: `areaGradient_${i}_${Q.value}`,
2241
2241
  x1: "0%",
2242
2242
  x2: "100%",
2243
2243
  y1: "0%",
2244
2244
  y2: "0%"
2245
2245
  }, [
2246
- x("stop", {
2246
+ m("stop", {
2247
2247
  offset: "0%",
2248
- "stop-color": `${v(je)(v(Hl)(l.color, 0.03), e.value.line.area.opacity)}`
2249
- }, null, 8, Lu),
2250
- x("stop", {
2248
+ "stop-color": `${v(Qe)(v(Rl)(l.color, 0.03), e.value.line.area.opacity)}`
2249
+ }, null, 8, Au),
2250
+ m("stop", {
2251
2251
  offset: "100%",
2252
- "stop-color": `${v(je)(l.color, e.value.line.area.opacity)}`
2253
- }, null, 8, Mu)
2254
- ], 8, _u)
2252
+ "stop-color": `${v(Qe)(l.color, e.value.line.area.opacity)}`
2253
+ }, null, 8, Cu)
2254
+ ], 8, Mu)
2255
2255
  ]))), 128)),
2256
- (u(!0), s(g, null, L(Fa.value, (l) => (u(), s("g", null, [
2257
- l.show ? (u(), s(g, { key: 0 }, [
2258
- (u(!0), s(g, null, L(l.span, (i, a) => (u(), s("g", null, [
2259
- x("rect", {
2256
+ (u(!0), s(f, null, L(Ya.value, (l) => (u(), s("g", null, [
2257
+ l.show ? (u(), s(f, { key: 0 }, [
2258
+ (u(!0), s(f, null, L(l.span, (i, a) => (u(), s("g", null, [
2259
+ m("rect", {
2260
2260
  style: $({
2261
2261
  transition: "none",
2262
- opacity: l.from + a >= y.value.start && l.from + a <= y.value.end - 1 ? 1 : 0
2262
+ opacity: l.from + a >= k.value.start && l.from + a <= k.value.end - 1 ? 1 : 0
2263
2263
  }),
2264
- x: r.value.left + r.value.width / _.value * (l.from + a - y.value.start),
2264
+ x: r.value.left + r.value.width / _.value * (l.from + a - k.value.start),
2265
2265
  y: r.value.top,
2266
2266
  height: r.value.height < 0 ? 10 : r.value.height,
2267
2267
  width: r.value.width / _.value < 0 ? 1e-5 : r.value.width / _.value,
2268
- fill: v(je)(l.color, l.opacity)
2269
- }, null, 12, Au)
2268
+ fill: v(Qe)(l.color, l.opacity)
2269
+ }, null, 12, zu)
2270
2270
  ]))), 256)),
2271
- (u(!0), s(g, null, L(l.span, (i, a) => (u(), s("g", null, [
2271
+ (u(!0), s(f, null, L(l.span, (i, a) => (u(), s("g", null, [
2272
2272
  l.caption.text && a === 0 ? (u(), s("foreignObject", {
2273
2273
  key: 0,
2274
- x: r.value.left + r.value.width / _.value * (l.from + a - y.value.start) - (l.caption.width === "auto" ? 0 : l.caption.width / 2 - r.value.width / _.value * l.span / 2),
2274
+ x: r.value.left + r.value.width / _.value * (l.from + a - k.value.start) - (l.caption.width === "auto" ? 0 : l.caption.width / 2 - r.value.width / _.value * l.span / 2),
2275
2275
  y: r.value.top + l.caption.offsetY,
2276
2276
  style: $({
2277
2277
  overflow: "visible",
2278
- opacity: l.to >= y.value.start && l.from < y.value.end ? 1 : 0
2278
+ opacity: l.to >= k.value.start && l.from < k.value.end ? 1 : 0
2279
2279
  }),
2280
2280
  height: "1",
2281
2281
  width: l.caption.width === "auto" ? r.value.width / _.value * l.span : l.caption.width
2282
2282
  }, [
2283
- x("div", {
2283
+ m("div", {
2284
2284
  style: $(`padding:${l.caption.padding}px;text-align:${l.caption.textAlign};font-size:${l.caption.fontSize}px;color:${l.caption.color};font-weight:${l.caption.bold ? "bold" : "normal"}`)
2285
2285
  }, ae(l.caption.text), 5)
2286
- ], 12, Cu)) : h("", !0)
2286
+ ], 12, Tu)) : h("", !0)
2287
2287
  ]))), 256))
2288
2288
  ], 64)) : h("", !0)
2289
2289
  ]))), 256)),
2290
- Yt.value ? (u(), s("g", zu, [
2291
- (u(!0), s(g, null, L(_.value, (l, i) => (u(), s("g", {
2290
+ Xt.value ? (u(), s("g", Iu, [
2291
+ (u(!0), s(f, null, L(_.value, (l, i) => (u(), s("g", {
2292
2292
  key: `tooltip_trap_highlighter_${i}`
2293
2293
  }, [
2294
- x("rect", {
2294
+ m("rect", {
2295
2295
  x: r.value.left + r.value.width / _.value * i,
2296
2296
  y: r.value.top,
2297
2297
  height: r.value.height < 0 ? 10 : r.value.height,
2298
2298
  width: r.value.width / _.value < 0 ? 1e-5 : r.value.width / _.value,
2299
- fill: [O.value, S.value, Ie.value].includes(i) ? v(je)(e.value.chart.highlighter.color, e.value.chart.highlighter.opacity) : "transparent",
2299
+ fill: [O.value, S.value, Te.value].includes(i) ? v(Qe)(e.value.chart.highlighter.color, e.value.chart.highlighter.opacity) : "transparent",
2300
2300
  style: { transition: "none !important", animation: "none !important" }
2301
- }, null, 8, Iu)
2301
+ }, null, 8, Ou)
2302
2302
  ]))), 128))
2303
2303
  ])) : h("", !0),
2304
- pl.value.length ? (u(!0), s(g, { key: 1 }, L(pl.value, (l, i) => (u(), s("g", {
2304
+ xl.value.length ? (u(!0), s(f, { key: 1 }, L(xl.value, (l, i) => (u(), s("g", {
2305
2305
  key: `serie_bar_${i}`,
2306
2306
  class: Re(`serie_bar_${i}`),
2307
2307
  style: $(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2308
2308
  }, [
2309
- (u(!0), s(g, null, L(l.plots, (a, n) => (u(), s("g", {
2309
+ (u(!0), s(f, null, L(l.plots, (a, n) => (u(), s("g", {
2310
2310
  key: `bar_plot_${i}_${n}`
2311
2311
  }, [
2312
2312
  We(a.value) ? (u(), s("rect", {
2313
2313
  key: 0,
2314
- x: xt(a),
2315
- y: f.value.useIndividualScale ? jt(a) : Qt(a),
2316
- height: f.value.useIndividualScale ? Math.abs(Kt(a)) : Math.abs(Jt(a)),
2317
- width: Je() - (f.value.useIndividualScale && f.value.isStacked ? 0 : dl.value) < 0 ? 1e-5 : Je() - (f.value.useIndividualScale && f.value.isStacked ? 0 : dl.value),
2314
+ x: mt(a) + pt.value / 2,
2315
+ y: b.value.useIndividualScale ? la(a) : ea(a),
2316
+ height: b.value.useIndividualScale ? Math.abs(jt(a)) : Math.abs(Qt(a)),
2317
+ width: bt.value - pt.value,
2318
2318
  rx: e.value.bar.borderRadius,
2319
2319
  fill: e.value.bar.useGradient ? a.value >= 0 ? `url(#rectGradient_pos_${i}_${Q.value})` : `url(#rectGradient_neg_${i}_${Q.value})` : l.color,
2320
2320
  stroke: e.value.bar.border.useSerieColor ? l.color : e.value.bar.border.stroke,
2321
2321
  "stroke-width": e.value.bar.border.strokeWidth,
2322
2322
  style: $({ transition: v(xe) || !e.value.bar.showTransition ? void 0 : `all ${e.value.bar.transitionDurationMs}ms ease-in-out` })
2323
- }, null, 12, Tu)) : h("", !0),
2323
+ }, null, 12, Nu)) : h("", !0),
2324
2324
  We(a.value) && t.$slots.pattern ? (u(), s("rect", {
2325
2325
  key: 1,
2326
- x: xt(a),
2327
- y: f.value.useIndividualScale ? jt(a) : Qt(a),
2328
- height: f.value.useIndividualScale ? Math.abs(Kt(a)) : Math.abs(Jt(a)),
2329
- width: Je() - (f.value.useIndividualScale && f.value.isStacked ? 0 : dl.value) < 0 ? 1e-5 : Je() - (f.value.useIndividualScale && f.value.isStacked ? 0 : dl.value),
2326
+ x: mt(a) - pt.value / 2,
2327
+ y: b.value.useIndividualScale ? la(a) : ea(a),
2328
+ height: b.value.useIndividualScale ? Math.abs(jt(a)) : Math.abs(Qt(a)),
2329
+ width: bt.value - pt.value,
2330
2330
  rx: e.value.bar.borderRadius,
2331
2331
  fill: `url(#pattern_${Q.value}_${l.slotAbsoluteIndex})`,
2332
2332
  stroke: e.value.bar.border.useSerieColor ? l.color : e.value.bar.border.stroke,
2333
2333
  "stroke-width": e.value.bar.border.strokeWidth,
2334
2334
  style: $({ transition: v(xe) || !e.value.bar.showTransition ? void 0 : `all ${e.value.bar.transitionDurationMs}ms ease-in-out` })
2335
- }, null, 12, Ou)) : h("", !0),
2335
+ }, null, 12, Ru)) : h("", !0),
2336
2336
  a.comment && e.value.chart.comments.show ? (u(), s("foreignObject", {
2337
2337
  key: 2,
2338
2338
  style: { overflow: "visible" },
2339
2339
  height: "12",
2340
- width: (Je() - (f.value.useIndividualScale && f.value.isStacked ? 0 : dl.value) < 0 ? 1e-5 : Je() - (f.value.useIndividualScale && f.value.isStacked ? 0 : dl.value) / 2) + e.value.chart.comments.width,
2341
- x: xt(a) - e.value.chart.comments.width / 2 + e.value.chart.comments.offsetX,
2340
+ width: bt.value / 2 + e.value.chart.comments.width,
2341
+ x: mt(a) - e.value.chart.comments.width / 2 + e.value.chart.comments.offsetX,
2342
2342
  y: v(V)(a.y) + e.value.chart.comments.offsetY + 6
2343
2343
  }, [
2344
2344
  K(t.$slots, "plot-comment", {
2345
2345
  plot: { ...a, color: l.color, seriesIndex: i, datapointIndex: n }
2346
2346
  }, void 0, !0)
2347
- ], 8, Nu)) : h("", !0)
2347
+ ], 8, Pu)) : h("", !0)
2348
2348
  ]))), 128)),
2349
- Object.hasOwn(l, "useProgression") && l.useProgression === !0 && !isNaN(v(ee)(l.plots).trend) ? (u(), s("g", Ru, [
2350
- x("defs", null, [
2351
- x("marker", {
2349
+ Object.hasOwn(l, "useProgression") && l.useProgression === !0 && !isNaN(v(ee)(l.plots).trend) ? (u(), s("g", Hu, [
2350
+ m("defs", null, [
2351
+ m("marker", {
2352
2352
  id: `bar_arrow_${i}`,
2353
2353
  markerWidth: 7,
2354
2354
  markerHeight: 7,
@@ -2356,27 +2356,27 @@ const Co = {
2356
2356
  refY: 7 / 2,
2357
2357
  orient: "auto"
2358
2358
  }, [
2359
- x("polygon", {
2359
+ m("polygon", {
2360
2360
  points: `0 0, 7 ${7 / 2}, 0 7`,
2361
2361
  fill: l.color
2362
- }, null, 8, Hu)
2363
- ], 8, Pu)
2362
+ }, null, 8, Eu)
2363
+ ], 8, Vu)
2364
2364
  ]),
2365
2365
  l.plots.length > 1 ? (u(), s("line", {
2366
2366
  key: 0,
2367
- x1: v(ee)(l.plots).x1 + Je(),
2368
- x2: v(ee)(l.plots).x2 + Je(),
2367
+ x1: v(ee)(l.plots).x1 + Dl(),
2368
+ x2: v(ee)(l.plots).x2 + Dl(),
2369
2369
  y1: v(Y)(v(ee)(l.plots).y1),
2370
2370
  y2: v(Y)(v(ee)(l.plots).y2),
2371
2371
  "stroke-width": 1,
2372
2372
  stroke: l.color,
2373
2373
  "stroke-dasharray": 2,
2374
2374
  "marker-end": `url(#bar_arrow_${i})`
2375
- }, null, 8, Vu)) : h("", !0),
2375
+ }, null, 8, Bu)) : h("", !0),
2376
2376
  l.plots.length > 1 ? (u(), s("text", {
2377
2377
  key: 1,
2378
2378
  "text-anchor": "middle",
2379
- x: v(ee)(l.plots).x2 + Je(),
2379
+ x: v(ee)(l.plots).x2 + Dl(),
2380
2380
  y: v(ee)(l.plots).y2 - 6,
2381
2381
  "font-size": w.value.plotLabels,
2382
2382
  fill: l.color
@@ -2384,10 +2384,10 @@ const Co = {
2384
2384
  v: v(ee)(l.plots).trend * 100,
2385
2385
  s: "%",
2386
2386
  r: 2
2387
- })), 9, Eu)) : h("", !0)
2387
+ })), 9, Fu)) : h("", !0)
2388
2388
  ])) : h("", !0)
2389
2389
  ], 6))), 128)) : h("", !0),
2390
- !f.value.useIndividualScale && e.value.chart.grid.labels.zeroLine.show ? (u(), s("line", {
2390
+ !b.value.useIndividualScale && e.value.chart.grid.labels.zeroLine.show ? (u(), s("line", {
2391
2391
  key: 2,
2392
2392
  stroke: e.value.chart.grid.stroke,
2393
2393
  "stroke-width": "1",
@@ -2397,9 +2397,9 @@ const Co = {
2397
2397
  y2: v(Y)(_e.value),
2398
2398
  "stroke-linecap": "round",
2399
2399
  style: { animation: "none !important" }
2400
- }, null, 8, Bu)) : h("", !0),
2401
- e.value.chart.highlighter.useLine && (![null, void 0].includes(S.value) || ![null, void 0].includes(O.value)) ? (u(), s("g", Fu, [
2402
- x("line", {
2400
+ }, null, 8, Wu)) : h("", !0),
2401
+ e.value.chart.highlighter.useLine && (![null, void 0].includes(S.value) || ![null, void 0].includes(O.value)) ? (u(), s("g", Yu, [
2402
+ m("line", {
2403
2403
  x1: r.value.left + r.value.width / _.value * ((S.value !== null ? S.value : 0) || (O.value !== null ? O.value : 0)) + r.value.width / _.value / 2,
2404
2404
  x2: r.value.left + r.value.width / _.value * ((S.value !== null ? S.value : 0) || (O.value !== null ? O.value : 0)) + r.value.width / _.value / 2,
2405
2405
  y1: v(Y)(r.value.top),
@@ -2409,7 +2409,7 @@ const Co = {
2409
2409
  "stroke-dasharray": e.value.chart.highlighter.lineDasharray,
2410
2410
  "stroke-linecap": "round",
2411
2411
  style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
2412
- }, null, 8, Wu)
2412
+ }, null, 8, Du)
2413
2413
  ])) : h("", !0),
2414
2414
  e.value.chart.grid.frame.show ? (u(), s("rect", {
2415
2415
  key: 4,
@@ -2424,36 +2424,36 @@ const Co = {
2424
2424
  "stroke-linecap": e.value.chart.grid.frame.strokeLinecap,
2425
2425
  "stroke-linejoin": e.value.chart.grid.frame.strokeLinejoin,
2426
2426
  "stroke-dasharray": e.value.chart.grid.frame.strokeDasharray
2427
- }, null, 8, Yu)) : h("", !0),
2427
+ }, null, 8, Xu)) : h("", !0),
2428
2428
  e.value.chart.grid.labels.show ? (u(), s("g", {
2429
2429
  key: 5,
2430
2430
  ref_key: "scaleLabels",
2431
- ref: zl
2431
+ ref: Al
2432
2432
  }, [
2433
- f.value.useIndividualScale ? (u(), s(g, { key: 0 }, [
2434
- (u(!0), s(g, null, L(ot.value, (l) => (u(), s("g", null, [
2435
- x("line", {
2433
+ b.value.useIndividualScale ? (u(), s(f, { key: 0 }, [
2434
+ (u(!0), s(f, null, L(at.value, (l) => (u(), s("g", null, [
2435
+ m("line", {
2436
2436
  x1: l.x + le.value - r.value.individualOffsetX,
2437
2437
  x2: l.x + le.value - r.value.individualOffsetX,
2438
- y1: f.value.isStacked ? v(Y)(r.value.bottom - l.yOffset - l.individualHeight) : v(Y)(r.value.top),
2439
- y2: f.value.isStacked ? v(Y)(r.value.bottom - l.yOffset) : v(Y)(r.value.bottom),
2438
+ y1: b.value.isStacked ? v(Y)(r.value.bottom - l.yOffset - l.individualHeight) : v(Y)(r.value.top),
2439
+ y2: b.value.isStacked ? v(Y)(r.value.bottom - l.yOffset) : v(Y)(r.value.bottom),
2440
2440
  stroke: l.color,
2441
2441
  "stroke-width": e.value.chart.grid.stroke,
2442
2442
  "stroke-linecap": "round",
2443
2443
  style: $(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out; animation: none !important`)
2444
- }, null, 12, Du)
2444
+ }, null, 12, Gu)
2445
2445
  ]))), 256)),
2446
- (u(!0), s(g, null, L(ot.value, (l) => (u(), s("g", {
2446
+ (u(!0), s(f, null, L(at.value, (l) => (u(), s("g", {
2447
2447
  style: $(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
2448
2448
  }, [
2449
- x("text", {
2449
+ m("text", {
2450
2450
  fill: l.color,
2451
2451
  "font-size": w.value.dataLabels * 0.8,
2452
2452
  "text-anchor": "middle",
2453
- transform: `translate(${l.x - w.value.dataLabels * 0.8 / 2 + le.value}, ${f.value.isStacked ? r.value.bottom - l.yOffset - l.individualHeight / 2 : r.value.top + r.value.height / 2}) rotate(-90)`
2453
+ transform: `translate(${l.x - w.value.dataLabels * 0.8 / 2 + le.value}, ${b.value.isStacked ? r.value.bottom - l.yOffset - l.individualHeight / 2 : r.value.top + r.value.height / 2}) rotate(-90)`
2454
2454
  }, ae(l.name) + " " + ae(l.scaleLabel && l.unique && l.scaleLabel !== l.id ? `-
2455
- ${l.scaleLabel}` : ""), 9, Xu),
2456
- (u(!0), s(g, null, L(l.yLabels, (i, a) => (u(), s(g, null, [
2455
+ ${l.scaleLabel}` : ""), 9, Uu),
2456
+ (u(!0), s(f, null, L(l.yLabels, (i, a) => (u(), s(f, null, [
2457
2457
  e.value.chart.grid.labels.yAxis.showCrosshairs ? (u(), s("line", {
2458
2458
  key: 0,
2459
2459
  x1: l.x + 3 + le.value - e.value.chart.grid.labels.yAxis.crosshairSize - r.value.individualOffsetX,
@@ -2464,9 +2464,9 @@ const Co = {
2464
2464
  "stroke-width": 1,
2465
2465
  "stroke-linecap": "round",
2466
2466
  style: { animation: "none !important" }
2467
- }, null, 8, Gu)) : h("", !0)
2467
+ }, null, 8, qu)) : h("", !0)
2468
2468
  ], 64))), 256)),
2469
- (u(!0), s(g, null, L(l.yLabels, (i, a) => (u(), s("text", {
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,
2471
2471
  y: v(Y)(i.y) + w.value.dataLabels / 3,
2472
2472
  "font-size": w.value.dataLabels,
@@ -2482,9 +2482,9 @@ const Co = {
2482
2482
  r: e.value.chart.grid.labels.yAxis.rounding
2483
2483
  }),
2484
2484
  { datapoint: i.datapoint, seriesIndex: a }
2485
- )), 9, Uu))), 256))
2485
+ )), 9, Zu))), 256))
2486
2486
  ], 4))), 256))
2487
- ], 64)) : (u(!0), s(g, { key: 1 }, L(oa.value, (l, i) => (u(), s("g", {
2487
+ ], 64)) : (u(!0), s(f, { key: 1 }, L(ia.value, (l, i) => (u(), s("g", {
2488
2488
  key: `yLabel_${i}`
2489
2489
  }, [
2490
2490
  We(l) && l.value >= Ze.value.min && l.value <= Ze.value.max && e.value.chart.grid.labels.yAxis.showCrosshairs ? (u(), s("line", {
@@ -2497,7 +2497,7 @@ const Co = {
2497
2497
  "stroke-width": "1",
2498
2498
  "stroke-linecap": "round",
2499
2499
  style: { animation: "none !important" }
2500
- }, null, 8, qu)) : h("", !0),
2500
+ }, null, 8, Ju)) : h("", !0),
2501
2501
  l.value >= Ze.value.min && l.value <= Ze.value.max ? (u(), s("text", {
2502
2502
  key: 1,
2503
2503
  x: r.value.scaleLabelX - e.value.chart.grid.labels.yAxis.crosshairSize,
@@ -2514,18 +2514,18 @@ const Co = {
2514
2514
  s: l.suffix,
2515
2515
  r: e.value.chart.grid.labels.yAxis.rounding
2516
2516
  })
2517
- ) : ""), 9, Zu)) : h("", !0)
2517
+ ) : ""), 9, Ku)) : h("", !0)
2518
2518
  ]))), 128))
2519
2519
  ], 512)) : h("", !0),
2520
- (u(!0), s(g, null, L(ol.value, (l, i) => (u(), s("g", {
2520
+ (u(!0), s(f, null, L(al.value, (l, i) => (u(), s("g", {
2521
2521
  key: `serie_plot_${i}`,
2522
2522
  class: Re(`serie_plot_${i}`),
2523
2523
  style: $(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2524
2524
  }, [
2525
- (u(!0), s(g, null, L(l.plots, (a, n) => (u(), s("g", {
2525
+ (u(!0), s(f, null, L(l.plots, (a, n) => (u(), s("g", {
2526
2526
  key: `circle_plot_${i}_${n}`
2527
2527
  }, [
2528
- a && We(a.value) ? (u(), Qe(wt, {
2528
+ a && We(a.value) ? (u(), Ke($t, {
2529
2529
  key: 0,
2530
2530
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(l.shape) ? l.shape : "circle",
2531
2531
  color: e.value.plot.useGradient ? `url(#plotGradient_${i}_${Q.value})` : e.value.plot.dot.useSerieColor ? l.color : e.value.plot.dot.fill,
@@ -2543,16 +2543,16 @@ const Co = {
2543
2543
  x: a.x - e.value.chart.comments.width / 2 + e.value.chart.comments.offsetX,
2544
2544
  y: a.y + e.value.chart.comments.offsetY + 6
2545
2545
  }, [
2546
- x("div", Ku, [
2546
+ m("div", ju, [
2547
2547
  K(t.$slots, "plot-comment", {
2548
2548
  plot: { ...a, color: l.color, seriesIndex: i, datapointIndex: n }
2549
2549
  }, void 0, !0)
2550
2550
  ])
2551
- ], 8, Ju)) : h("", !0)
2551
+ ], 8, Qu)) : h("", !0)
2552
2552
  ]))), 128)),
2553
- Object.hasOwn(l, "useProgression") && l.useProgression === !0 && !isNaN(v(ee)(l.plots).trend) ? (u(), s("g", Qu, [
2554
- x("defs", null, [
2555
- x("marker", {
2553
+ Object.hasOwn(l, "useProgression") && l.useProgression === !0 && !isNaN(v(ee)(l.plots).trend) ? (u(), s("g", ei, [
2554
+ m("defs", null, [
2555
+ m("marker", {
2556
2556
  id: `plot_arrow_${i}`,
2557
2557
  markerWidth: 7,
2558
2558
  markerHeight: 7,
@@ -2560,11 +2560,11 @@ const Co = {
2560
2560
  refY: 7 / 2,
2561
2561
  orient: "auto"
2562
2562
  }, [
2563
- x("polygon", {
2563
+ m("polygon", {
2564
2564
  points: `0 0, 7 ${7 / 2}, 0 7`,
2565
2565
  fill: l.color
2566
- }, null, 8, ei)
2567
- ], 8, ju)
2566
+ }, null, 8, ti)
2567
+ ], 8, li)
2568
2568
  ]),
2569
2569
  l.plots.length > 1 ? (u(), s("line", {
2570
2570
  key: 0,
@@ -2576,7 +2576,7 @@ const Co = {
2576
2576
  stroke: l.color,
2577
2577
  "stroke-dasharray": 2,
2578
2578
  "marker-end": `url(#plot_arrow_${i})`
2579
- }, null, 8, li)) : h("", !0),
2579
+ }, null, 8, ai)) : h("", !0),
2580
2580
  l.plots.length > 1 ? (u(), s("text", {
2581
2581
  key: 1,
2582
2582
  "text-anchor": "middle",
@@ -2588,10 +2588,10 @@ const Co = {
2588
2588
  v: v(ee)(l.plots).trend * 100,
2589
2589
  s: "%",
2590
2590
  r: 2
2591
- })), 9, ti)) : h("", !0)
2591
+ })), 9, oi)) : h("", !0)
2592
2592
  ])) : h("", !0)
2593
2593
  ], 6))), 128)),
2594
- (u(!0), s(g, null, L(Ke.value, (l, i) => (u(), s("g", {
2594
+ (u(!0), s(f, null, L(Je.value, (l, i) => (u(), s("g", {
2595
2595
  key: `serie_line_${i}`,
2596
2596
  class: Re(`serie_line_${i}`),
2597
2597
  style: $(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
@@ -2604,7 +2604,7 @@ const Co = {
2604
2604
  "stroke-dasharray": l.dashed ? e.value.line.strokeWidth * 2 : 0,
2605
2605
  fill: "none",
2606
2606
  style: $({ transition: v(xe) || !e.value.line.showTransition ? void 0 : `all ${e.value.line.transitionDurationMs}ms ease-in-out` })
2607
- }, null, 12, ai)) : l.plots.length > 1 && l.straight ? (u(), s("path", {
2607
+ }, null, 12, ui)) : l.plots.length > 1 && l.straight ? (u(), s("path", {
2608
2608
  key: 1,
2609
2609
  d: `M${l.straight}`,
2610
2610
  stroke: e.value.chart.backgroundColor,
@@ -2614,45 +2614,45 @@ const Co = {
2614
2614
  "stroke-linecap": "round",
2615
2615
  "stroke-linejoin": "round",
2616
2616
  style: $({ transition: v(xe) || !e.value.line.showTransition ? void 0 : `all ${e.value.line.transitionDurationMs}ms ease-in-out` })
2617
- }, null, 12, oi)) : h("", !0)
2617
+ }, null, 12, ii)) : h("", !0)
2618
2618
  ], 6))), 128)),
2619
- t.$slots.pattern ? (u(), s("defs", ui, [
2620
- (u(!0), s(g, null, L(vl.value, (l, i) => K(t.$slots, "pattern", pt({
2619
+ t.$slots.pattern ? (u(), s("defs", si, [
2620
+ (u(!0), s(f, null, L(cl.value, (l, i) => K(t.$slots, "pattern", kt({
2621
2621
  key: `serie_pattern_slot_${i}`
2622
2622
  }, { ref_for: !0 }, { ...l, seriesIndex: l.slotAbsoluteIndex, patternId: `pattern_${Q.value}_${i}` }), void 0, !0)), 128))
2623
2623
  ])) : h("", !0),
2624
- (u(!0), s(g, null, L(Ke.value, (l, i) => (u(), s("g", {
2624
+ (u(!0), s(f, null, L(Je.value, (l, i) => (u(), s("g", {
2625
2625
  key: `serie_line_${i}`,
2626
2626
  class: Re(`serie_line_${i}`),
2627
2627
  style: $(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2628
2628
  }, [
2629
- l.useArea && l.plots.length > 1 ? (u(), s("g", ii, [
2630
- l.smooth ? (u(!0), s(g, { key: 0 }, L(l.curveAreas, (a, n) => (u(), s(g, { key: n }, [
2629
+ l.useArea && l.plots.length > 1 ? (u(), s("g", ni, [
2630
+ l.smooth ? (u(!0), s(f, { key: 0 }, L(l.curveAreas, (a, n) => (u(), s(f, { key: n }, [
2631
2631
  a ? (u(), s("path", {
2632
2632
  key: 0,
2633
2633
  d: a,
2634
- fill: e.value.line.area.useGradient ? `url(#areaGradient_${i}_${Q.value})` : v(je)(l.color, e.value.line.area.opacity),
2634
+ fill: e.value.line.area.useGradient ? `url(#areaGradient_${i}_${Q.value})` : v(Qe)(l.color, e.value.line.area.opacity),
2635
2635
  style: $({ transition: v(xe) || !e.value.line.showTransition ? void 0 : `all ${e.value.line.transitionDurationMs}ms ease-in-out` })
2636
- }, null, 12, si)) : h("", !0),
2636
+ }, null, 12, ri)) : h("", !0),
2637
2637
  t.$slots.pattern && a ? (u(), s("path", {
2638
2638
  key: 1,
2639
2639
  d: a,
2640
2640
  fill: `url(#pattern_${Q.value}_${l.slotAbsoluteIndex})`,
2641
2641
  style: $({ transition: v(xe) || !e.value.line.showTransition ? void 0 : `all ${e.value.line.transitionDurationMs}ms ease-in-out` })
2642
- }, null, 12, ni)) : h("", !0)
2643
- ], 64))), 128)) : (u(!0), s(g, { key: 1 }, L(l.area.split(";"), (a, n) => (u(), s(g, { key: n }, [
2642
+ }, null, 12, ci)) : h("", !0)
2643
+ ], 64))), 128)) : (u(!0), s(f, { key: 1 }, L(l.area.split(";"), (a, n) => (u(), s(f, { key: n }, [
2644
2644
  a ? (u(), s("path", {
2645
2645
  key: 0,
2646
2646
  d: `M${a}Z`,
2647
- fill: e.value.line.area.useGradient ? `url(#areaGradient_${i}_${Q.value})` : v(je)(l.color, e.value.line.area.opacity),
2647
+ fill: e.value.line.area.useGradient ? `url(#areaGradient_${i}_${Q.value})` : v(Qe)(l.color, e.value.line.area.opacity),
2648
2648
  style: $({ transition: v(xe) || !e.value.line.showTransition ? void 0 : `all ${e.value.line.transitionDurationMs}ms ease-in-out` })
2649
- }, null, 12, ri)) : h("", !0),
2649
+ }, null, 12, vi)) : h("", !0),
2650
2650
  t.$slots.pattern && a ? (u(), s("path", {
2651
2651
  key: 1,
2652
2652
  d: `M${a}Z`,
2653
2653
  fill: `url(#pattern_${Q.value}_${l.slotAbsoluteIndex})`,
2654
2654
  style: $({ transition: v(xe) || !e.value.line.showTransition ? void 0 : `all ${e.value.line.transitionDurationMs}ms ease-in-out` })
2655
- }, null, 12, ci)) : h("", !0)
2655
+ }, null, 12, di)) : h("", !0)
2656
2656
  ], 64))), 128))
2657
2657
  ])) : h("", !0),
2658
2658
  l.smooth && l.plots.length > 1 && l.curve ? (u(), s("path", {
@@ -2664,7 +2664,7 @@ const Co = {
2664
2664
  fill: "none",
2665
2665
  "stroke-linecap": "round",
2666
2666
  style: $({ transition: v(xe) || !e.value.line.showTransition ? void 0 : `all ${e.value.line.transitionDurationMs}ms ease-in-out` })
2667
- }, null, 12, vi)) : l.plots.length > 1 && l.straight ? (u(), s("path", {
2667
+ }, null, 12, hi)) : l.plots.length > 1 && l.straight ? (u(), s("path", {
2668
2668
  key: 2,
2669
2669
  d: `M${l.straight}`,
2670
2670
  stroke: l.color,
@@ -2674,11 +2674,11 @@ const Co = {
2674
2674
  "stroke-linecap": "round",
2675
2675
  "stroke-linejoin": "round",
2676
2676
  style: $({ transition: v(xe) || !e.value.line.showTransition ? void 0 : `all ${e.value.line.transitionDurationMs}ms ease-in-out` })
2677
- }, null, 12, di)) : h("", !0),
2678
- (u(!0), s(g, null, L(l.plots, (a, n) => (u(), s(g, {
2677
+ }, null, 12, fi)) : h("", !0),
2678
+ (u(!0), s(f, null, L(l.plots, (a, n) => (u(), s(f, {
2679
2679
  key: `circle_line_${i}_${n}`
2680
2680
  }, [
2681
- !ta.value.linePlot && a && We(a.value) || ta.value.linePlot && a && We(a.value) && (S.value !== null && S.value === n || O.value !== null && O.value === n) ? (u(), Qe(wt, {
2681
+ !oa.value.linePlot && a && We(a.value) || oa.value.linePlot && a && We(a.value) && (S.value !== null && S.value === n || O.value !== null && O.value === n) ? (u(), Ke($t, {
2682
2682
  key: 0,
2683
2683
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(l.shape) ? l.shape : "circle",
2684
2684
  color: e.value.line.useGradient ? `url(#lineGradient_${i}_${Q.value})` : e.value.line.dot.useSerieColor ? l.color : e.value.line.dot.fill,
@@ -2696,16 +2696,16 @@ const Co = {
2696
2696
  x: a.x - e.value.chart.comments.width / 2 + e.value.chart.comments.offsetX,
2697
2697
  y: a.y + e.value.chart.comments.offsetY + 6
2698
2698
  }, [
2699
- x("div", fi, [
2699
+ m("div", mi, [
2700
2700
  K(t.$slots, "plot-comment", {
2701
2701
  plot: { ...a, color: l.color, seriesIndex: i, datapointIndex: n }
2702
2702
  }, void 0, !0)
2703
2703
  ])
2704
- ], 8, hi)) : h("", !0)
2704
+ ], 8, gi)) : h("", !0)
2705
2705
  ], 64))), 128)),
2706
- Object.hasOwn(l, "useProgression") && l.useProgression === !0 && !isNaN(v(ee)(l.plots).trend) ? (u(), s("g", gi, [
2707
- x("defs", null, [
2708
- x("marker", {
2706
+ Object.hasOwn(l, "useProgression") && l.useProgression === !0 && !isNaN(v(ee)(l.plots).trend) ? (u(), s("g", xi, [
2707
+ m("defs", null, [
2708
+ m("marker", {
2709
2709
  id: `line_arrow_${i}`,
2710
2710
  markerWidth: 7,
2711
2711
  markerHeight: 7,
@@ -2713,11 +2713,11 @@ const Co = {
2713
2713
  refY: 7 / 2,
2714
2714
  orient: "auto"
2715
2715
  }, [
2716
- x("polygon", {
2716
+ m("polygon", {
2717
2717
  points: `0 0, 7 ${7 / 2}, 0 7`,
2718
2718
  fill: l.color
2719
- }, null, 8, xi)
2720
- ], 8, mi)
2719
+ }, null, 8, pi)
2720
+ ], 8, bi)
2721
2721
  ]),
2722
2722
  l.plots.length > 1 ? (u(), s("line", {
2723
2723
  key: 0,
@@ -2729,7 +2729,7 @@ const Co = {
2729
2729
  stroke: l.color,
2730
2730
  "stroke-dasharray": 2,
2731
2731
  "marker-end": `url(#line_arrow_${i})`
2732
- }, null, 8, bi)) : h("", !0),
2732
+ }, null, 8, yi)) : h("", !0),
2733
2733
  l.plots.length > 1 ? (u(), s("text", {
2734
2734
  key: 1,
2735
2735
  "text-anchor": "middle",
@@ -2741,19 +2741,19 @@ const Co = {
2741
2741
  v: v(ee)(l.plots).trend * 100,
2742
2742
  s: "%",
2743
2743
  r: 2
2744
- })), 9, pi)) : h("", !0)
2744
+ })), 9, ki)) : h("", !0)
2745
2745
  ])) : h("", !0)
2746
2746
  ], 6))), 128)),
2747
- (e.value.bar.labels.show || e.value.bar.serieName.show) && f.value.dataLabels.show ? (u(), s("g", yi, [
2748
- (u(!0), s(g, null, L(pl.value, (l, i) => (u(), s(g, {
2747
+ (e.value.bar.labels.show || e.value.bar.serieName.show) && b.value.dataLabels.show ? (u(), s("g", wi, [
2748
+ (u(!0), s(f, null, L(xl.value, (l, i) => (u(), s(f, {
2749
2749
  key: `xLabel_bar_${i}`
2750
2750
  }, [
2751
- (u(!0), s(g, null, L(l.plots, (a, n) => (u(), s(g, {
2751
+ (u(!0), s(f, null, L(l.plots, (a, n) => (u(), s(f, {
2752
2752
  key: `xLabel_bar_${i}_${n}`
2753
2753
  }, [
2754
2754
  a && (!Object.hasOwn(l, "dataLabels") || l.dataLabels === !0 || S.value !== null && S.value === n || O.value !== null && O.value === n) && e.value.bar.labels.show ? (u(), s("text", {
2755
2755
  key: 0,
2756
- x: f.value.useIndividualScale && f.value.isStacked ? a.x + ue.value.line / 2 : xt(a) + Je() / 2 - dl.value / 2,
2756
+ x: b.value.useIndividualScale && b.value.isStacked ? a.x + ue.value.line / 2 : mt(a) + Dl() / 2 - xt.value / 2,
2757
2757
  y: v(V)(a.y) + (a.value >= 0 ? e.value.bar.labels.offsetY : -e.value.bar.labels.offsetY * 3),
2758
2758
  "text-anchor": "middle",
2759
2759
  "font-size": w.value.plotLabels,
@@ -2772,28 +2772,28 @@ const Co = {
2772
2772
  datapoint: a,
2773
2773
  serie: l
2774
2774
  }
2775
- ) : ""), 13, ki)) : h("", !0),
2775
+ ) : ""), 13, Si)) : h("", !0),
2776
2776
  a && e.value.bar.serieName.show ? (u(), s("text", {
2777
2777
  key: 1,
2778
- x: f.value.useIndividualScale && f.value.isStacked ? a.x + ue.value.line / 2 : a.x + Je() * 1.1,
2778
+ x: b.value.useIndividualScale && b.value.isStacked ? a.x + ue.value.line / 2 : a.x + Dl() * 1.1,
2779
2779
  y: a.y + (a.value > 0 ? e.value.bar.serieName.offsetY : -e.value.bar.serieName.offsetY * 3),
2780
2780
  "text-anchor": "middle",
2781
2781
  "font-size": w.value.plotLabels,
2782
2782
  fill: e.value.bar.serieName.useSerieColor ? l.color : e.value.bar.serieName.color,
2783
2783
  "font-weight": e.value.bar.serieName.bold ? "bold" : "normal",
2784
2784
  style: $(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2785
- }, ae(e.value.bar.serieName.useAbbreviation ? v(fo)({
2785
+ }, ae(e.value.bar.serieName.useAbbreviation ? v(mo)({
2786
2786
  source: l.name,
2787
2787
  length: e.value.bar.serieName.abbreviationSize
2788
- }) : l.name), 13, wi)) : h("", !0)
2788
+ }) : l.name), 13, $i)) : h("", !0)
2789
2789
  ], 64))), 128))
2790
2790
  ], 64))), 128))
2791
2791
  ])) : h("", !0),
2792
- e.value.plot.labels.show && f.value.dataLabels.show ? (u(), s("g", Si, [
2793
- (u(!0), s(g, null, L(ol.value, (l, i) => (u(), s(g, {
2792
+ e.value.plot.labels.show && b.value.dataLabels.show ? (u(), s("g", _i, [
2793
+ (u(!0), s(f, null, L(al.value, (l, i) => (u(), s(f, {
2794
2794
  key: `xLabel_plot_${i}`
2795
2795
  }, [
2796
- (u(!0), s(g, null, L(l.plots, (a, n) => (u(), s(g, {
2796
+ (u(!0), s(f, null, L(l.plots, (a, n) => (u(), s(f, {
2797
2797
  key: `xLabel_plot_${i}_${n}`
2798
2798
  }, [
2799
2799
  a && !Object.hasOwn(l, "dataLabels") || l.dataLabels === !0 || S.value !== null && S.value === n || O.value !== null && O.value === n ? (u(), s("text", {
@@ -2817,18 +2817,18 @@ const Co = {
2817
2817
  datapoint: a,
2818
2818
  serie: l
2819
2819
  }
2820
- ) : ""), 13, $i)) : h("", !0)
2820
+ ) : ""), 13, Li)) : h("", !0)
2821
2821
  ], 64))), 128))
2822
2822
  ], 64))), 128))
2823
- ])) : (u(), s("g", _i, [
2824
- (u(!0), s(g, null, L(ol.value, (l, i) => (u(), s(g, {
2823
+ ])) : (u(), s("g", Mi, [
2824
+ (u(!0), s(f, null, L(al.value, (l, i) => (u(), s(f, {
2825
2825
  key: `xLabel_plot_${i}`
2826
2826
  }, [
2827
- (u(!0), s(g, null, L(l.plots, (a, n) => (u(), s(g, {
2827
+ (u(!0), s(f, null, L(l.plots, (a, n) => (u(), s(f, {
2828
2828
  key: `xLabel_plot_${i}_${n}`
2829
2829
  }, [
2830
- e.value.plot.tag.followValue ? (u(), s(g, { key: 1 }, [
2831
- [O.value, S.value, Ie.value].includes(n) && l.useTag ? (u(), s("line", {
2830
+ e.value.plot.tag.followValue ? (u(), s(f, { key: 1 }, [
2831
+ [O.value, S.value, Te.value].includes(n) && l.useTag ? (u(), s("line", {
2832
2832
  key: 0,
2833
2833
  class: "vue-ui-xy-tag-plot",
2834
2834
  x1: r.value.left,
@@ -2839,8 +2839,8 @@ const Co = {
2839
2839
  "stroke-linecap": "round",
2840
2840
  "stroke-dasharray": "2",
2841
2841
  stroke: l.color
2842
- }, null, 8, zi)) : h("", !0)
2843
- ], 64)) : (u(), s(g, { key: 0 }, [
2842
+ }, null, 8, Ii)) : h("", !0)
2843
+ ], 64)) : (u(), s(f, { key: 0 }, [
2844
2844
  a && n === 0 && l.useTag && l.useTag === "start" ? (u(), s("foreignObject", {
2845
2845
  key: 0,
2846
2846
  x: a.x,
@@ -2849,8 +2849,8 @@ const Co = {
2849
2849
  width: "150",
2850
2850
  style: $(`overflow: visible; opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2851
2851
  }, [
2852
- x("div", {
2853
- style: $(`padding: 3px; background:${v(je)(l.color, 80)};color:${v(el)(l.color)};width:fit-content;font-size:${w.value.plotLabels}px;border-radius: 2px;`),
2852
+ m("div", {
2853
+ style: $(`padding: 3px; background:${v(Qe)(l.color, 80)};color:${v(je)(l.color)};width:fit-content;font-size:${w.value.plotLabels}px;border-radius: 2px;`),
2854
2854
  innerHTML: v(we)(
2855
2855
  e.value.plot.tag.formatter,
2856
2856
  a.value,
@@ -2861,8 +2861,8 @@ const Co = {
2861
2861
  serieName: l.name
2862
2862
  }
2863
2863
  )
2864
- }, null, 12, Mi)
2865
- ], 12, Li)) : h("", !0),
2864
+ }, null, 12, Ci)
2865
+ ], 12, Ai)) : h("", !0),
2866
2866
  a && n === l.plots.length - 1 && l.useTag && l.useTag === "end" ? (u(), s("foreignObject", {
2867
2867
  key: 1,
2868
2868
  x: a.x - l.name.length * (w.value.plotLabels / 2),
@@ -2871,8 +2871,8 @@ const Co = {
2871
2871
  width: "150",
2872
2872
  style: $(`overflow: visible; opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2873
2873
  }, [
2874
- x("div", {
2875
- style: $(`padding: 3px; background:${v(je)(l.color, 80)};color:${v(el)(l.color)};width:fit-content;font-size:${w.value.plotLabels}px;border-radius: 2px;`),
2874
+ m("div", {
2875
+ style: $(`padding: 3px; background:${v(Qe)(l.color, 80)};color:${v(je)(l.color)};width:fit-content;font-size:${w.value.plotLabels}px;border-radius: 2px;`),
2876
2876
  innerHTML: v(we)(
2877
2877
  e.value.plot.tag.formatter,
2878
2878
  a.value,
@@ -2883,17 +2883,17 @@ const Co = {
2883
2883
  serieName: l.name
2884
2884
  }
2885
2885
  )
2886
- }, null, 12, Ci)
2887
- ], 12, Ai)) : h("", !0)
2886
+ }, null, 12, Ti)
2887
+ ], 12, zi)) : h("", !0)
2888
2888
  ], 64))
2889
2889
  ], 64))), 128))
2890
2890
  ], 64))), 128))
2891
2891
  ])),
2892
- e.value.line.labels.show && f.value.dataLabels.show ? (u(), s("g", Ii, [
2893
- (u(!0), s(g, null, L(Ke.value, (l, i) => (u(), s(g, {
2892
+ e.value.line.labels.show && b.value.dataLabels.show ? (u(), s("g", Oi, [
2893
+ (u(!0), s(f, null, L(Je.value, (l, i) => (u(), s(f, {
2894
2894
  key: `xLabel_line_${i}`
2895
2895
  }, [
2896
- (u(!0), s(g, null, L(l.plots, (a, n) => (u(), s(g, {
2896
+ (u(!0), s(f, null, L(l.plots, (a, n) => (u(), s(f, {
2897
2897
  key: `xLabel_line_${i}_${n}`
2898
2898
  }, [
2899
2899
  a && !Object.hasOwn(l, "dataLabels") || l.dataLabels === !0 || S.value !== null && S.value === n || O.value !== null && O.value === n ? (u(), s("text", {
@@ -2917,18 +2917,18 @@ const Co = {
2917
2917
  datapoint: a,
2918
2918
  serie: l
2919
2919
  }
2920
- ) : ""), 13, Ti)) : h("", !0)
2920
+ ) : ""), 13, Ni)) : h("", !0)
2921
2921
  ], 64))), 128))
2922
2922
  ], 64))), 128))
2923
- ])) : (u(), s("g", Oi, [
2924
- (u(!0), s(g, null, L(Ke.value, (l, i) => (u(), s(g, {
2923
+ ])) : (u(), s("g", Ri, [
2924
+ (u(!0), s(f, null, L(Je.value, (l, i) => (u(), s(f, {
2925
2925
  key: `xLabel_line_${i}`
2926
2926
  }, [
2927
- (u(!0), s(g, null, L(l.plots, (a, n) => (u(), s(g, {
2927
+ (u(!0), s(f, null, L(l.plots, (a, n) => (u(), s(f, {
2928
2928
  key: `xLabel_line_${i}_${n}`
2929
2929
  }, [
2930
- e.value.line.tag.followValue ? (u(), s(g, { key: 1 }, [
2931
- [O.value, S.value, Ie.value].includes(n) && l.useTag ? (u(), s("line", {
2930
+ e.value.line.tag.followValue ? (u(), s(f, { key: 1 }, [
2931
+ [O.value, S.value, Te.value].includes(n) && l.useTag ? (u(), s("line", {
2932
2932
  key: 0,
2933
2933
  class: "vue-ui-xy-tag-line",
2934
2934
  x1: r.value.left,
@@ -2939,8 +2939,8 @@ const Co = {
2939
2939
  "stroke-linecap": "round",
2940
2940
  "stroke-dasharray": "2",
2941
2941
  stroke: l.color
2942
- }, null, 8, Vi)) : h("", !0)
2943
- ], 64)) : (u(), s(g, { key: 0 }, [
2942
+ }, null, 8, Bi)) : h("", !0)
2943
+ ], 64)) : (u(), s(f, { key: 0 }, [
2944
2944
  a && n === 0 && l.useTag && l.useTag === "start" ? (u(), s("foreignObject", {
2945
2945
  key: 0,
2946
2946
  x: a.x,
@@ -2949,8 +2949,8 @@ const Co = {
2949
2949
  width: "150",
2950
2950
  style: $(`overflow: visible; opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2951
2951
  }, [
2952
- x("div", {
2953
- style: $(`padding: 3px; background:${v(je)(l.color, 80)};color:${v(el)(l.color)};width:fit-content;font-size:${w.value.plotLabels}px;border-radius: 2px;`),
2952
+ m("div", {
2953
+ style: $(`padding: 3px; background:${v(Qe)(l.color, 80)};color:${v(je)(l.color)};width:fit-content;font-size:${w.value.plotLabels}px;border-radius: 2px;`),
2954
2954
  innerHTML: v(we)(
2955
2955
  e.value.line.tag.formatter,
2956
2956
  a.value,
@@ -2961,8 +2961,8 @@ const Co = {
2961
2961
  serieName: l.name
2962
2962
  }
2963
2963
  )
2964
- }, null, 12, Ri)
2965
- ], 12, Ni)) : h("", !0),
2964
+ }, null, 12, Hi)
2965
+ ], 12, Pi)) : h("", !0),
2966
2966
  a && n === l.plots.length - 1 && l.useTag && l.useTag === "end" ? (u(), s("foreignObject", {
2967
2967
  key: 1,
2968
2968
  x: a.x,
@@ -2971,8 +2971,8 @@ const Co = {
2971
2971
  width: "150",
2972
2972
  style: $(`overflow: visible; opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2973
2973
  }, [
2974
- x("div", {
2975
- style: $(`padding: 3px; background:${v(je)(l.color, 80)};color:${v(el)(l.color)};width:fit-content;font-size:${w.value.plotLabels}px;border-radius: 2px;`),
2974
+ m("div", {
2975
+ style: $(`padding: 3px; background:${v(Qe)(l.color, 80)};color:${v(je)(l.color)};width:fit-content;font-size:${w.value.plotLabels}px;border-radius: 2px;`),
2976
2976
  innerHTML: v(we)(
2977
2977
  e.value.line.tag.formatter,
2978
2978
  a.value,
@@ -2983,16 +2983,16 @@ const Co = {
2983
2983
  serieName: l.name
2984
2984
  }
2985
2985
  )
2986
- }, null, 12, Hi)
2987
- ], 12, Pi)) : h("", !0)
2986
+ }, null, 12, Ei)
2987
+ ], 12, Vi)) : h("", !0)
2988
2988
  ], 64))
2989
2989
  ], 64))), 128))
2990
2990
  ], 64))), 128))
2991
2991
  ])),
2992
- (u(!0), s(g, null, L(Ke.value, (l, i) => (u(), s(g, {
2992
+ (u(!0), s(f, null, L(Je.value, (l, i) => (u(), s(f, {
2993
2993
  key: `xLabel_line_${i}`
2994
2994
  }, [
2995
- (u(!0), s(g, null, L(l.plots, (a, n) => (u(), s(g, {
2995
+ (u(!0), s(f, null, L(l.plots, (a, n) => (u(), s(f, {
2996
2996
  key: `xLabel_line_${i}_${n}`
2997
2997
  }, [
2998
2998
  a && n === 0 && l.showSerieName && l.showSerieName === "start" ? (u(), s("text", {
@@ -3002,7 +3002,7 @@ const Co = {
3002
3002
  "font-size": w.value.plotLabels,
3003
3003
  "text-anchor": "end",
3004
3004
  fill: l.color,
3005
- innerHTML: v(kt)({
3005
+ innerHTML: v(St)({
3006
3006
  content: l.name,
3007
3007
  fontSize: w.value.plotLabels,
3008
3008
  fill: l.color,
@@ -3011,7 +3011,7 @@ const Co = {
3011
3011
  maxWords: 2
3012
3012
  }),
3013
3013
  style: $(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3014
- }, null, 12, Ei)) : h("", !0),
3014
+ }, null, 12, Fi)) : h("", !0),
3015
3015
  a && n === l.plots.length - 1 && l.showSerieName && l.showSerieName === "end" ? (u(), s("text", {
3016
3016
  key: 1,
3017
3017
  x: a.x + w.value.plotLabels,
@@ -3019,7 +3019,7 @@ const Co = {
3019
3019
  "font-size": w.value.plotLabels,
3020
3020
  "text-anchor": "start",
3021
3021
  fill: l.color,
3022
- innerHTML: v(kt)({
3022
+ innerHTML: v(St)({
3023
3023
  content: l.name,
3024
3024
  fontSize: w.value.plotLabels,
3025
3025
  fill: l.color,
@@ -3028,13 +3028,13 @@ const Co = {
3028
3028
  maxWords: 2
3029
3029
  }),
3030
3030
  style: $(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3031
- }, null, 12, Bi)) : h("", !0)
3031
+ }, null, 12, Wi)) : h("", !0)
3032
3032
  ], 64))), 128))
3033
3033
  ], 64))), 128)),
3034
- (u(!0), s(g, null, L(ol.value, (l, i) => (u(), s(g, {
3034
+ (u(!0), s(f, null, L(al.value, (l, i) => (u(), s(f, {
3035
3035
  key: `xLabel_plot_${i}`
3036
3036
  }, [
3037
- (u(!0), s(g, null, L(l.plots, (a, n) => (u(), s(g, {
3037
+ (u(!0), s(f, null, L(l.plots, (a, n) => (u(), s(f, {
3038
3038
  key: `xLabel_plot_${i}_${n}`
3039
3039
  }, [
3040
3040
  a && n === 0 && l.showSerieName && l.showSerieName === "start" ? (u(), s("text", {
@@ -3044,7 +3044,7 @@ const Co = {
3044
3044
  "font-size": w.value.plotLabels,
3045
3045
  "text-anchor": "end",
3046
3046
  fill: l.color,
3047
- innerHTML: v(kt)({
3047
+ innerHTML: v(St)({
3048
3048
  content: l.name,
3049
3049
  fontSize: w.value.plotLabels,
3050
3050
  fill: l.color,
@@ -3053,7 +3053,7 @@ const Co = {
3053
3053
  maxWords: 2
3054
3054
  }),
3055
3055
  style: $(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3056
- }, null, 12, Fi)) : h("", !0),
3056
+ }, null, 12, Yi)) : h("", !0),
3057
3057
  a && n === l.plots.length - 1 && l.showSerieName && l.showSerieName === "end" ? (u(), s("text", {
3058
3058
  key: 1,
3059
3059
  x: a.x + w.value.plotLabels,
@@ -3061,7 +3061,7 @@ const Co = {
3061
3061
  "font-size": w.value.plotLabels,
3062
3062
  "text-anchor": "start",
3063
3063
  fill: l.color,
3064
- innerHTML: v(kt)({
3064
+ innerHTML: v(St)({
3065
3065
  content: l.name,
3066
3066
  fontSize: w.value.plotLabels,
3067
3067
  fill: l.color,
@@ -3070,31 +3070,31 @@ const Co = {
3070
3070
  maxWords: 2
3071
3071
  }),
3072
3072
  style: $(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3073
- }, null, 12, Wi)) : h("", !0)
3073
+ }, null, 12, Di)) : h("", !0)
3074
3074
  ], 64))), 128))
3075
3075
  ], 64))), 128)),
3076
- f.value.useIndividualScale && !f.value.isStacked ? (u(), s(g, { key: 12 }, [
3077
- x("defs", null, [
3078
- (u(!0), s(g, null, L(ot.value, (l, i) => (u(), s("linearGradient", {
3076
+ b.value.useIndividualScale && !b.value.isStacked ? (u(), s(f, { key: 12 }, [
3077
+ m("defs", null, [
3078
+ (u(!0), s(f, null, L(at.value, (l, i) => (u(), s("linearGradient", {
3079
3079
  id: `individual_scale_gradient_${Q.value}_${i}`,
3080
3080
  x1: "0%",
3081
3081
  x2: "100%",
3082
3082
  y1: "0%",
3083
3083
  y2: "0%"
3084
3084
  }, [
3085
- x("stop", {
3085
+ m("stop", {
3086
3086
  offset: "0%",
3087
3087
  "stop-color": e.value.chart.backgroundColor,
3088
3088
  "stop-opacity": "0"
3089
- }, null, 8, Di),
3090
- x("stop", {
3089
+ }, null, 8, Gi),
3090
+ m("stop", {
3091
3091
  offset: "100%",
3092
3092
  "stop-color": l.color,
3093
3093
  "stop-opacity": "0.2"
3094
- }, null, 8, Xi)
3095
- ], 8, Yi))), 256))
3094
+ }, null, 8, Ui)
3095
+ ], 8, Xi))), 256))
3096
3096
  ]),
3097
- (u(!0), s(g, null, L(ot.value, (l, i) => (u(), s("rect", {
3097
+ (u(!0), s(f, null, L(at.value, (l, i) => (u(), s("rect", {
3098
3098
  x: l.x - e.value.chart.grid.labels.yAxis.labelWidth + le.value - r.value.individualOffsetX,
3099
3099
  y: r.value.top,
3100
3100
  width: e.value.chart.grid.labels.yAxis.labelWidth + r.value.individualOffsetX,
@@ -3102,19 +3102,19 @@ const Co = {
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, Gi))), 256))
3105
+ }, null, 40, qi))), 256))
3106
3106
  ], 64)) : h("", !0),
3107
- x("g", null, [
3108
- e.value.chart.grid.labels.axis.yLabel && !f.value.useIndividualScale ? (u(), s("text", {
3107
+ m("g", null, [
3108
+ e.value.chart.grid.labels.axis.yLabel && !b.value.useIndividualScale ? (u(), s("text", {
3109
3109
  key: 0,
3110
3110
  ref_key: "yAxisLabel",
3111
- ref: El,
3111
+ ref: Hl,
3112
3112
  "font-size": w.value.yAxis,
3113
3113
  fill: e.value.chart.grid.labels.color,
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, Ui)) : h("", !0),
3117
+ }, ae(e.value.chart.grid.labels.axis.yLabel), 9, Zi)) : h("", !0),
3118
3118
  e.value.chart.grid.labels.axis.xLabel ? (u(), s("text", {
3119
3119
  key: 1,
3120
3120
  ref_key: "xAxisLabel",
@@ -3124,14 +3124,14 @@ const Co = {
3124
3124
  y: se.value - 3,
3125
3125
  "font-size": w.value.yAxis,
3126
3126
  fill: e.value.chart.grid.labels.color
3127
- }, ae(e.value.chart.grid.labels.axis.xLabel), 9, qi)) : h("", !0)
3127
+ }, ae(e.value.chart.grid.labels.axis.xLabel), 9, Ji)) : h("", !0)
3128
3128
  ]),
3129
3129
  e.value.chart.grid.labels.xAxisLabels.show ? (u(), s("g", {
3130
3130
  key: 13,
3131
3131
  ref_key: "timeLabelsEls",
3132
- ref: rl
3132
+ ref: nl
3133
3133
  }, [
3134
- t.$slots["time-label"] ? (u(!0), s(g, { key: 0 }, L(j.value, (l, i) => K(t.$slots, "time-label", pt({
3134
+ t.$slots["time-label"] ? (u(!0), s(f, { key: 0 }, L(j.value, (l, i) => K(t.$slots, "time-label", kt({
3135
3135
  key: `time_label_${i}`,
3136
3136
  ref_for: !0
3137
3137
  }, {
@@ -3143,11 +3143,11 @@ const Co = {
3143
3143
  absoluteIndex: l.absoluteIndex,
3144
3144
  content: l.text,
3145
3145
  textAnchor: e.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
3146
- show: l && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && _.value <= mt.value || l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (i === 0 || i === j.value.length - 1) && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && S.value === i && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && i % Math.floor((y.value.end - y.value.start) / mt.value) === 0
3147
- }), void 0, !0)), 128)) : (u(!0), s(g, { key: 1 }, L(j.value, (l, i) => (u(), s("g", {
3146
+ show: l && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && _.value <= gt.value || l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (i === 0 || i === j.value.length - 1) && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && S.value === i && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && i % Math.floor((k.value.end - k.value.start) / gt.value) === 0
3147
+ }), void 0, !0)), 128)) : (u(!0), s(f, { key: 1 }, L(j.value, (l, i) => (u(), s("g", {
3148
3148
  key: `time_label_${i}`
3149
3149
  }, [
3150
- l && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && _.value <= mt.value || l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (i === 0 || i === j.value.length - 1) && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && S.value === i && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && i % Math.floor((y.value.end - y.value.start) / mt.value) === 0 ? (u(), s(g, { key: 0 }, [
3150
+ l && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && _.value <= gt.value || l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (i === 0 || i === j.value.length - 1) && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && S.value === i && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && i % Math.floor((k.value.end - k.value.start) / gt.value) === 0 ? (u(), s(f, { key: 0 }, [
3151
3151
  String(l.text).includes(`
3152
3152
  `) ? (u(), s("text", {
3153
3153
  key: 1,
@@ -3157,17 +3157,17 @@ const Co = {
3157
3157
  fill: e.value.chart.grid.labels.xAxisLabels.color,
3158
3158
  transform: `translate(${r.value.left + r.value.width / _.value * i + r.value.width / _.value / 2}, ${r.value.bottom + w.value.xAxis * 1.5}), rotate(${e.value.chart.grid.labels.xAxisLabels.rotation})`,
3159
3159
  style: $({
3160
- cursor: Ft() ? "pointer" : "default"
3160
+ cursor: Yt() ? "pointer" : "default"
3161
3161
  }),
3162
- innerHTML: v(go)({
3162
+ innerHTML: v(xo)({
3163
3163
  content: String(l.text),
3164
3164
  fontSize: w.value.xAxis,
3165
3165
  fill: e.value.chart.grid.labels.xAxisLabels.color,
3166
3166
  x: 0,
3167
3167
  y: 0
3168
3168
  }),
3169
- onClick: () => Xt(l, i)
3170
- }, null, 12, Ji)) : (u(), s("text", {
3169
+ onClick: () => Ut(l, i)
3170
+ }, null, 12, Qi)) : (u(), s("text", {
3171
3171
  key: 0,
3172
3172
  class: "vue-data-ui-time-label",
3173
3173
  "text-anchor": e.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
@@ -3175,15 +3175,15 @@ const Co = {
3175
3175
  fill: e.value.chart.grid.labels.xAxisLabels.color,
3176
3176
  transform: `translate(${r.value.left + r.value.width / _.value * i + r.value.width / _.value / 2}, ${r.value.bottom + w.value.xAxis * 1.5}), rotate(${e.value.chart.grid.labels.xAxisLabels.rotation})`,
3177
3177
  style: $({
3178
- cursor: Ft() ? "pointer" : "default"
3178
+ cursor: Yt() ? "pointer" : "default"
3179
3179
  }),
3180
- onClick: () => Xt(l, i)
3181
- }, ae(l.text || ""), 13, Zi))
3180
+ onClick: () => Ut(l, i)
3181
+ }, ae(l.text || ""), 13, Ki))
3182
3182
  ], 64)) : h("", !0)
3183
3183
  ]))), 128))
3184
3184
  ], 512)) : h("", !0),
3185
- ua.value.length && !f.value.isStacked ? (u(), s("g", Ki, [
3186
- (u(!0), s(g, null, L(ua.value, (l) => (u(), s("g", {
3185
+ sa.value.length && !b.value.isStacked ? (u(), s("g", ji, [
3186
+ (u(!0), s(f, null, L(sa.value, (l) => (u(), s("g", {
3187
3187
  key: l.uid
3188
3188
  }, [
3189
3189
  l.yTop && l.show && isFinite(l.yTop) ? (u(), s("line", {
@@ -3197,7 +3197,7 @@ const Co = {
3197
3197
  "stroke-dasharray": l.config.line.strokeDasharray,
3198
3198
  "stroke-linecap": "round",
3199
3199
  style: { animation: "none !important" }
3200
- }, null, 8, Qi)) : h("", !0),
3200
+ }, null, 8, es)) : h("", !0),
3201
3201
  l.yBottom && l.show && isFinite(l.yBottom) ? (u(), s("line", {
3202
3202
  key: 1,
3203
3203
  x1: l.x1,
@@ -3209,17 +3209,17 @@ const Co = {
3209
3209
  "stroke-dasharray": l.config.line.strokeDasharray,
3210
3210
  "stroke-linecap": "round",
3211
3211
  style: { animation: "none !important" }
3212
- }, null, 8, ji)) : h("", !0),
3212
+ }, null, 8, ls)) : h("", !0),
3213
3213
  l.hasArea && l.show && isFinite(l.yTop) && isFinite(l.yBottom) ? (u(), s("rect", {
3214
3214
  key: 2,
3215
3215
  y: Math.min(l.yTop, l.yBottom),
3216
3216
  x: l.x1,
3217
3217
  width: r.value.width,
3218
3218
  height: v(V)(l.areaHeight, 0),
3219
- fill: v(je)(l.config.area.fill, l.config.area.opacity),
3219
+ fill: v(Qe)(l.config.area.fill, l.config.area.opacity),
3220
3220
  style: { animation: "none !important" }
3221
- }, null, 8, es)) : h("", !0),
3222
- l.config.label.text && l.show && isFinite(l._box.y) ? (u(), s("rect", pt({
3221
+ }, null, 8, ts)) : h("", !0),
3222
+ l.config.label.text && l.show && isFinite(l._box.y) ? (u(), s("rect", kt({
3223
3223
  key: 3,
3224
3224
  class: "vue-ui-xy-annotation-label-box"
3225
3225
  }, { ref_for: !0 }, l._box, { style: { animation: "none !important", transition: "none !important" } }), null, 16)) : h("", !0),
@@ -3232,10 +3232,10 @@ const Co = {
3232
3232
  "font-size": l.config.label.fontSize,
3233
3233
  fill: l.config.label.color,
3234
3234
  "text-anchor": l.config.label.textAnchor
3235
- }, ae(l.config.label.text), 9, ls)) : h("", !0)
3235
+ }, ae(l.config.label.text), 9, as)) : h("", !0)
3236
3236
  ]))), 128))
3237
3237
  ])) : h("", !0),
3238
- e.value.chart.timeTag.show && (![null, void 0].includes(S.value) || ![null, void 0].includes(O.value)) ? (u(), s("g", ts, [
3238
+ e.value.chart.timeTag.show && (![null, void 0].includes(S.value) || ![null, void 0].includes(O.value)) ? (u(), s("g", os, [
3239
3239
  (u(), s("foreignObject", {
3240
3240
  x: r.value.left + r.value.width / _.value * ((S.value !== null ? S.value : 0) || (O.value !== null ? O.value : 0)) - 100 + r.value.width / _.value / 2,
3241
3241
  y: r.value.bottom,
@@ -3243,48 +3243,48 @@ const Co = {
3243
3243
  height: "40",
3244
3244
  style: { overflow: "visible !important" }
3245
3245
  }, [
3246
- x("div", {
3246
+ m("div", {
3247
3247
  class: "vue-ui-xy-time-tag",
3248
3248
  style: $(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${e.value.chart.timeTag.backgroundColor};color:${e.value.chart.timeTag.color};font-size:${e.value.chart.timeTag.fontSize}px`)
3249
3249
  }, ae(j.value[(S.value !== null ? S.value : 0) || (O.value !== null ? O.value : 0)].text || (S.value !== null ? S.value : 0) || (O.value !== null ? O.value : 0)), 5)
3250
- ], 8, as)),
3251
- x("circle", {
3250
+ ], 8, us)),
3251
+ m("circle", {
3252
3252
  cx: r.value.left + r.value.width / _.value * ((S.value !== null ? S.value : 0) || (O.value !== null ? O.value : 0)) + r.value.width / _.value / 2,
3253
3253
  cy: r.value.bottom,
3254
3254
  r: e.value.chart.timeTag.circleMarker.radius,
3255
3255
  fill: e.value.chart.timeTag.circleMarker.color
3256
- }, null, 8, os)
3256
+ }, null, 8, is)
3257
3257
  ])) : h("", !0)
3258
3258
  ])) : h("", !0),
3259
- b.value ? (u(), s("rect", hl(pt({ key: 2 }, A.value)), null, 16)) : h("", !0),
3260
- K(t.$slots, "svg", { svg: dt.value }, void 0, !0)
3259
+ x.value ? (u(), s("rect", vl(kt({ key: 2 }, A.value)), null, 16)) : h("", !0),
3260
+ K(t.$slots, "svg", { svg: vt.value }, void 0, !0)
3261
3261
  ], 512)
3262
- ], 46, Ko)),
3263
- t.$slots.watermark ? (u(), s("div", us, [
3264
- K(t.$slots, "watermark", hl(Sl({ isPrinting: v(Z) || v(Te) })), void 0, !0)
3262
+ ], 46, jo)),
3263
+ t.$slots.watermark ? (u(), s("div", ss, [
3264
+ K(t.$slots, "watermark", vl(kl({ isPrinting: v(Z) || v(Ie) })), void 0, !0)
3265
3265
  ])) : h("", !0),
3266
- (u(!0), s(g, null, L(Ke.value, (l, i) => (u(), s(g, {
3266
+ (u(!0), s(f, null, L(Je.value, (l, i) => (u(), s(f, {
3267
3267
  key: `tag_line_${i}`
3268
3268
  }, [
3269
- (u(!0), s(g, null, L(l.plots, (a, n) => (u(), s(g, {
3269
+ (u(!0), s(f, null, L(l.plots, (a, n) => (u(), s(f, {
3270
3270
  key: `tag_line_${i}_${n}`
3271
3271
  }, [
3272
- [O.value, S.value, Ie.value].includes(n) && l.useTag && l.useTag === "end" && e.value.line.tag.followValue ? (u(), s("div", {
3272
+ [O.value, S.value, Te.value].includes(n) && l.useTag && l.useTag === "end" && e.value.line.tag.followValue ? (u(), s("div", {
3273
3273
  key: 0,
3274
3274
  ref_for: !0,
3275
- ref: (o) => gt(i, n, o, "right", "line"),
3275
+ ref: (o) => ft(i, n, o, "right", "line"),
3276
3276
  class: "vue-ui-xy-tag",
3277
3277
  "data-tag": "right",
3278
3278
  style: $({
3279
3279
  position: "fixed",
3280
- top: v($l)({
3280
+ top: v(wl)({
3281
3281
  svgElement: Se.value,
3282
3282
  x: r.value.right + e.value.line.tag.fontSize / 1.5,
3283
3283
  y: a.y,
3284
3284
  element: Be.value[`${i}_${n}_right_line`],
3285
3285
  position: "right"
3286
3286
  }).top + "px",
3287
- left: v($l)({
3287
+ left: v(wl)({
3288
3288
  svgElement: Se.value,
3289
3289
  x: r.value.right + e.value.line.tag.fontSize / 1.5,
3290
3290
  y: a.y,
@@ -3294,20 +3294,20 @@ const Co = {
3294
3294
  height: "fit-content",
3295
3295
  width: "fit-content",
3296
3296
  background: l.color,
3297
- color: v(el)(l.color),
3297
+ color: v(je)(l.color),
3298
3298
  padding: "0 6px",
3299
3299
  fontSize: e.value.line.tag.fontSize + "px",
3300
3300
  opacity: 1
3301
3301
  })
3302
3302
  }, [
3303
- (u(), s("svg", is, [
3304
- x("path", {
3303
+ (u(), s("svg", ns, [
3304
+ m("path", {
3305
3305
  d: "M 0,10 10,0 10,20 Z",
3306
3306
  fill: l.color,
3307
3307
  stroke: "none"
3308
- }, null, 8, ss)
3308
+ }, null, 8, rs)
3309
3309
  ])),
3310
- x("div", {
3310
+ m("div", {
3311
3311
  class: "vue-ui-xy-tag-content",
3312
3312
  innerHTML: v(we)(
3313
3313
  e.value.line.tag.formatter,
@@ -3319,24 +3319,24 @@ const Co = {
3319
3319
  serieName: l.name
3320
3320
  }
3321
3321
  )
3322
- }, null, 8, ns)
3322
+ }, null, 8, cs)
3323
3323
  ], 4)) : h("", !0),
3324
- [O.value, S.value, Ie.value].includes(n) && l.useTag && l.useTag === "start" && e.value.line.tag.followValue ? (u(), s("div", {
3324
+ [O.value, S.value, Te.value].includes(n) && l.useTag && l.useTag === "start" && e.value.line.tag.followValue ? (u(), s("div", {
3325
3325
  key: 1,
3326
3326
  ref_for: !0,
3327
- ref: (o) => gt(i, n, o, "left", "line"),
3327
+ ref: (o) => ft(i, n, o, "left", "line"),
3328
3328
  class: "vue-ui-xy-tag",
3329
3329
  "data-tag": "left",
3330
3330
  style: $({
3331
3331
  position: "fixed",
3332
- top: v($l)({
3332
+ top: v(wl)({
3333
3333
  svgElement: Se.value,
3334
3334
  x: r.value.left - e.value.line.tag.fontSize / 1.5,
3335
3335
  y: a.y,
3336
3336
  element: Be.value[`${i}_${n}_left_line`],
3337
3337
  position: "left"
3338
3338
  }).top + "px",
3339
- left: v($l)({
3339
+ left: v(wl)({
3340
3340
  svgElement: Se.value,
3341
3341
  x: r.value.left - e.value.line.tag.fontSize / 1.5,
3342
3342
  y: a.y,
@@ -3346,20 +3346,20 @@ const Co = {
3346
3346
  height: "fit-content",
3347
3347
  width: "fit-content",
3348
3348
  background: l.color,
3349
- color: v(el)(l.color),
3349
+ color: v(je)(l.color),
3350
3350
  padding: "0 6px",
3351
3351
  fontSize: e.value.line.tag.fontSize + "px",
3352
3352
  opacity: 1
3353
3353
  })
3354
3354
  }, [
3355
- (u(), s("svg", rs, [
3356
- x("path", {
3355
+ (u(), s("svg", vs, [
3356
+ m("path", {
3357
3357
  d: "M 0,0 10,10 0,20 Z",
3358
3358
  fill: l.color,
3359
3359
  stroke: "none"
3360
- }, null, 8, cs)
3360
+ }, null, 8, ds)
3361
3361
  ])),
3362
- x("div", {
3362
+ m("div", {
3363
3363
  class: "vue-ui-xy-tag-content",
3364
3364
  innerHTML: v(we)(
3365
3365
  e.value.line.tag.formatter,
@@ -3371,32 +3371,32 @@ const Co = {
3371
3371
  serieName: l.name
3372
3372
  }
3373
3373
  )
3374
- }, null, 8, vs)
3374
+ }, null, 8, hs)
3375
3375
  ], 4)) : h("", !0)
3376
3376
  ], 64))), 128))
3377
3377
  ], 64))), 128)),
3378
- (u(!0), s(g, null, L(ol.value, (l, i) => (u(), s(g, {
3378
+ (u(!0), s(f, null, L(al.value, (l, i) => (u(), s(f, {
3379
3379
  key: `tag_plot_${i}`
3380
3380
  }, [
3381
- (u(!0), s(g, null, L(l.plots, (a, n) => (u(), s(g, {
3381
+ (u(!0), s(f, null, L(l.plots, (a, n) => (u(), s(f, {
3382
3382
  key: `tag_plot_${i}_${n}`
3383
3383
  }, [
3384
- [O.value, S.value, Ie.value].includes(n) && l.useTag && l.useTag === "end" && e.value.plot.tag.followValue ? (u(), s("div", {
3384
+ [O.value, S.value, Te.value].includes(n) && l.useTag && l.useTag === "end" && e.value.plot.tag.followValue ? (u(), s("div", {
3385
3385
  key: 0,
3386
3386
  ref_for: !0,
3387
- ref: (o) => gt(i, n, o, "right", "plot"),
3387
+ ref: (o) => ft(i, n, o, "right", "plot"),
3388
3388
  class: "vue-ui-xy-tag",
3389
3389
  "data-tag": "right",
3390
3390
  style: $({
3391
3391
  position: "fixed",
3392
- top: v($l)({
3392
+ top: v(wl)({
3393
3393
  svgElement: Se.value,
3394
3394
  x: r.value.right + e.value.plot.tag.fontSize / 1.5,
3395
3395
  y: a.y,
3396
3396
  element: Be.value[`${i}_${n}_right_plot`],
3397
3397
  position: "right"
3398
3398
  }).top + "px",
3399
- left: v($l)({
3399
+ left: v(wl)({
3400
3400
  svgElement: Se.value,
3401
3401
  x: r.value.right + e.value.plot.tag.fontSize / 1.5,
3402
3402
  y: a.y,
@@ -3406,20 +3406,20 @@ const Co = {
3406
3406
  height: "fit-content",
3407
3407
  width: "fit-content",
3408
3408
  background: l.color,
3409
- color: v(el)(l.color),
3409
+ color: v(je)(l.color),
3410
3410
  padding: "0 6px",
3411
3411
  fontSize: e.value.plot.tag.fontSize + "px",
3412
3412
  opacity: 1
3413
3413
  })
3414
3414
  }, [
3415
- (u(), s("svg", ds, [
3416
- x("path", {
3415
+ (u(), s("svg", fs, [
3416
+ m("path", {
3417
3417
  d: "M 0,10 10,0 10,20 Z",
3418
3418
  fill: l.color,
3419
3419
  stroke: "none"
3420
- }, null, 8, hs)
3420
+ }, null, 8, gs)
3421
3421
  ])),
3422
- x("div", {
3422
+ m("div", {
3423
3423
  class: "vue-ui-xy-tag-content",
3424
3424
  innerHTML: v(we)(
3425
3425
  e.value.plot.tag.formatter,
@@ -3431,24 +3431,24 @@ const Co = {
3431
3431
  serieName: l.name
3432
3432
  }
3433
3433
  )
3434
- }, null, 8, fs)
3434
+ }, null, 8, ms)
3435
3435
  ], 4)) : h("", !0),
3436
- [O.value, S.value, Ie.value].includes(n) && l.useTag && l.useTag === "start" && e.value.plot.tag.followValue ? (u(), s("div", {
3436
+ [O.value, S.value, Te.value].includes(n) && l.useTag && l.useTag === "start" && e.value.plot.tag.followValue ? (u(), s("div", {
3437
3437
  key: 1,
3438
3438
  ref_for: !0,
3439
- ref: (o) => gt(i, n, o, "left", "plot"),
3439
+ ref: (o) => ft(i, n, o, "left", "plot"),
3440
3440
  class: "vue-ui-xy-tag",
3441
3441
  "data-tag": "left",
3442
3442
  style: $({
3443
3443
  position: "fixed",
3444
- top: v($l)({
3444
+ top: v(wl)({
3445
3445
  svgElement: Se.value,
3446
3446
  x: r.value.left - e.value.plot.tag.fontSize / 1.5,
3447
3447
  y: a.y,
3448
3448
  element: Be.value[`${i}_${n}_left_plot`],
3449
3449
  position: "left"
3450
3450
  }).top + "px",
3451
- left: v($l)({
3451
+ left: v(wl)({
3452
3452
  svgElement: Se.value,
3453
3453
  x: r.value.left - e.value.plot.tag.fontSize / 1.5,
3454
3454
  y: a.y,
@@ -3458,20 +3458,20 @@ const Co = {
3458
3458
  height: "fit-content",
3459
3459
  width: "fit-content",
3460
3460
  background: l.color,
3461
- color: v(el)(l.color),
3461
+ color: v(je)(l.color),
3462
3462
  padding: "0 6px",
3463
3463
  fontSize: e.value.plot.tag.fontSize + "px",
3464
3464
  opacity: 1
3465
3465
  })
3466
3466
  }, [
3467
- (u(), s("svg", gs, [
3468
- x("path", {
3467
+ (u(), s("svg", xs, [
3468
+ m("path", {
3469
3469
  d: "M 0,0 10,10 0,20 Z",
3470
3470
  fill: l.color,
3471
3471
  stroke: "none"
3472
- }, null, 8, ms)
3472
+ }, null, 8, bs)
3473
3473
  ])),
3474
- x("div", {
3474
+ m("div", {
3475
3475
  class: "vue-ui-xy-tag-content",
3476
3476
  innerHTML: v(we)(
3477
3477
  e.value.plot.tag.formatter,
@@ -3483,12 +3483,12 @@ const Co = {
3483
3483
  serieName: l.name
3484
3484
  }
3485
3485
  )
3486
- }, null, 8, xs)
3486
+ }, null, 8, ps)
3487
3487
  ], 4)) : h("", !0)
3488
3488
  ], 64))), 128))
3489
3489
  ], 64))), 128)),
3490
- e.value.chart.zoom.preview.enable ? (u(), s(g, { key: 5 }, [
3491
- e.value.chart.zoom.show && me.value > 6 && qe.value ? (u(), Qe(Zo, {
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, {
3492
3492
  ref_key: "chartSlicer",
3493
3493
  ref: ze,
3494
3494
  key: `slicer_${ge.value}`,
@@ -3501,7 +3501,7 @@ const Co = {
3501
3501
  inputColor: e.value.chart.zoom.color,
3502
3502
  selectColor: e.value.chart.zoom.highlightColor,
3503
3503
  borderColor: e.value.chart.backgroundColor,
3504
- minimap: aa.value,
3504
+ minimap: ua.value,
3505
3505
  smoothMinimap: e.value.chart.zoom.minimap.smooth,
3506
3506
  minimapSelectedColor: e.value.chart.zoom.minimap.selectedColor,
3507
3507
  minimapSelectionRadius: e.value.chart.zoom.minimap.selectionRadius,
@@ -3512,30 +3512,30 @@ const Co = {
3512
3512
  verticalHandles: e.value.chart.zoom.minimap.verticalHandles,
3513
3513
  max: me.value,
3514
3514
  min: 0,
3515
- valueStart: y.value.start,
3516
- valueEnd: y.value.end,
3517
- start: y.value.start,
3518
- "onUpdate:start": c[1] || (c[1] = (l) => y.value.start = l),
3519
- end: y.value.end,
3520
- "onUpdate:end": c[2] || (c[2] = (l) => y.value.end = l),
3515
+ valueStart: k.value.start,
3516
+ valueEnd: k.value.end,
3517
+ start: k.value.start,
3518
+ "onUpdate:start": c[1] || (c[1] = (l) => k.value.start = l),
3519
+ end: k.value.end,
3520
+ "onUpdate:end": c[2] || (c[2] = (l) => k.value.end = l),
3521
3521
  refreshStartPoint: e.value.chart.zoom.startIndex !== null ? e.value.chart.zoom.startIndex : 0,
3522
- refreshEndPoint: e.value.chart.zoom.endIndex !== null ? e.value.chart.zoom.endIndex + 1 : Math.max(...C.dataset.map((l) => v(il)({ data: l.series, threshold: e.value.downsample.threshold }).length)),
3522
+ refreshEndPoint: e.value.chart.zoom.endIndex !== null ? e.value.chart.zoom.endIndex + 1 : Math.max(...C.dataset.map((l) => v(ul)({ data: l.series, threshold: e.value.downsample.threshold }).length)),
3523
3523
  enableRangeHandles: e.value.chart.zoom.enableRangeHandles,
3524
3524
  enableSelectionDrag: e.value.chart.zoom.enableSelectionDrag,
3525
- onReset: qt,
3526
- onTrapMouse: Gt,
3527
- onFutureStart: c[3] || (c[3] = (l) => m("start", l)),
3528
- onFutureEnd: c[4] || (c[4] = (l) => m("end", l)),
3529
- timeLabels: Ia.value,
3530
- isPreview: b.value
3525
+ onReset: Jt,
3526
+ onTrapMouse: qt,
3527
+ onFutureStart: c[3] || (c[3] = (l) => g("start", l)),
3528
+ onFutureEnd: c[4] || (c[4] = (l) => g("end", l)),
3529
+ timeLabels: Oa.value,
3530
+ isPreview: x.value
3531
3531
  }, {
3532
3532
  "reset-action": pe(({ reset: l }) => [
3533
- K(t.$slots, "reset-action", hl(Sl({ reset: l })), void 0, !0)
3533
+ K(t.$slots, "reset-action", vl(kl({ reset: l })), void 0, !0)
3534
3534
  ]),
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
- ], 64)) : (u(), s(g, { key: 6 }, [
3538
- e.value.chart.zoom.show && me.value > 6 && qe.value ? (u(), Qe(Mo, {
3537
+ ], 64)) : (u(), s(f, { key: 6 }, [
3538
+ e.value.chart.zoom.show && me.value > 6 && qe.value ? (u(), Ke(Co, {
3539
3539
  ref_key: "chartSlicer",
3540
3540
  ref: ze,
3541
3541
  key: `slicer_${ge.value}`,
@@ -3548,7 +3548,7 @@ const Co = {
3548
3548
  inputColor: e.value.chart.zoom.color,
3549
3549
  selectColor: e.value.chart.zoom.highlightColor,
3550
3550
  borderColor: e.value.chart.backgroundColor,
3551
- minimap: aa.value,
3551
+ minimap: ua.value,
3552
3552
  smoothMinimap: e.value.chart.zoom.minimap.smooth,
3553
3553
  minimapSelectedColor: e.value.chart.zoom.minimap.selectedColor,
3554
3554
  minimapSelectionRadius: e.value.chart.zoom.minimap.selectionRadius,
@@ -3559,21 +3559,21 @@ const Co = {
3559
3559
  verticalHandles: e.value.chart.zoom.minimap.verticalHandles,
3560
3560
  max: me.value,
3561
3561
  min: 0,
3562
- valueStart: y.value.start,
3563
- valueEnd: y.value.end,
3564
- start: y.value.start,
3565
- "onUpdate:start": c[5] || (c[5] = (l) => y.value.start = l),
3566
- end: y.value.end,
3567
- "onUpdate:end": c[6] || (c[6] = (l) => y.value.end = l),
3562
+ valueStart: k.value.start,
3563
+ valueEnd: k.value.end,
3564
+ start: k.value.start,
3565
+ "onUpdate:start": c[5] || (c[5] = (l) => k.value.start = l),
3566
+ end: k.value.end,
3567
+ "onUpdate:end": c[6] || (c[6] = (l) => k.value.end = l),
3568
3568
  refreshStartPoint: e.value.chart.zoom.startIndex !== null ? e.value.chart.zoom.startIndex : 0,
3569
- refreshEndPoint: e.value.chart.zoom.endIndex !== null ? e.value.chart.zoom.endIndex + 1 : Math.max(...C.dataset.map((l) => v(il)({ data: l.series, threshold: e.value.downsample.threshold }).length)),
3569
+ refreshEndPoint: e.value.chart.zoom.endIndex !== null ? e.value.chart.zoom.endIndex + 1 : Math.max(...C.dataset.map((l) => v(ul)({ data: l.series, threshold: e.value.downsample.threshold }).length)),
3570
3570
  enableRangeHandles: e.value.chart.zoom.enableRangeHandles,
3571
3571
  enableSelectionDrag: e.value.chart.zoom.enableSelectionDrag,
3572
- onReset: qt,
3573
- onTrapMouse: Gt
3572
+ onReset: Jt,
3573
+ onTrapMouse: qt
3574
3574
  }, {
3575
3575
  "reset-action": pe(({ reset: l }) => [
3576
- K(t.$slots, "reset-action", hl(Sl({ reset: l })), void 0, !0)
3576
+ K(t.$slots, "reset-action", vl(kl({ reset: l })), void 0, !0)
3577
3577
  ]),
3578
3578
  _: 3
3579
3579
  }, 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"])) : h("", !0)
@@ -3581,17 +3581,17 @@ const Co = {
3581
3581
  e.value.chart.legend.show ? (u(), s("div", {
3582
3582
  key: 7,
3583
3583
  ref_key: "chartLegend",
3584
- ref: ll,
3584
+ ref: el,
3585
3585
  class: "vue-ui-xy-legend",
3586
3586
  style: $(`font-size:${e.value.chart.legend.fontSize}px`)
3587
3587
  }, [
3588
- (u(!0), s(g, null, L(al.value, (l, i) => (u(), s("div", {
3588
+ (u(!0), s(f, null, L(tl.value, (l, i) => (u(), s("div", {
3589
3589
  key: `div_legend_item_${i}`,
3590
- onClick: (a) => la(l),
3591
- class: Re({ "vue-ui-xy-legend-item-alone": al.value.length === 1, "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": oe.value.includes(l.id) })
3590
+ onClick: (a) => aa(l),
3591
+ class: Re({ "vue-ui-xy-legend-item-alone": tl.value.length === 1, "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": oe.value.includes(l.id) })
3592
3592
  }, [
3593
- Ge.value[l.type] === "line" ? (u(), s("svg", ps, [
3594
- x("rect", {
3593
+ Ge.value[l.type] === "line" ? (u(), s("svg", ks, [
3594
+ m("rect", {
3595
3595
  x: "0",
3596
3596
  y: "7.5",
3597
3597
  rx: "1.5",
@@ -3600,8 +3600,8 @@ const Co = {
3600
3600
  height: "3",
3601
3601
  width: "20",
3602
3602
  fill: l.color
3603
- }, null, 8, ys),
3604
- ql(wt, {
3603
+ }, null, 8, ws),
3604
+ Ul($t, {
3605
3605
  plot: { x: 10, y: 9 },
3606
3606
  radius: 4,
3607
3607
  color: l.color,
@@ -3609,7 +3609,7 @@ const Co = {
3609
3609
  stroke: e.value.chart.backgroundColor,
3610
3610
  strokeWidth: 0.5
3611
3611
  }, null, 8, ["color", "shape", "stroke"])
3612
- ])) : Ge.value[l.type] === "bar" ? (u(), s("svg", ks, [
3612
+ ])) : Ge.value[l.type] === "bar" ? (u(), s("svg", Ss, [
3613
3613
  Ge.value[l.type] === "bar" && t.$slots.pattern ? (u(), s("rect", {
3614
3614
  key: 0,
3615
3615
  x: "0",
@@ -3619,7 +3619,7 @@ const Co = {
3619
3619
  width: "40",
3620
3620
  stroke: "none",
3621
3621
  fill: l.color
3622
- }, null, 8, ws)) : h("", !0),
3622
+ }, null, 8, $s)) : h("", !0),
3623
3623
  Ge.value[l.type] === "bar" ? (u(), s("rect", {
3624
3624
  key: 1,
3625
3625
  x: "0",
@@ -3629,36 +3629,36 @@ const Co = {
3629
3629
  width: "40",
3630
3630
  stroke: "none",
3631
3631
  fill: t.$slots.pattern ? `url(#pattern_${Q.value}_${l.slotAbsoluteIndex})` : l.color
3632
- }, null, 8, Ss)) : h("", !0)
3633
- ])) : (u(), s("svg", $s, [
3634
- ql(wt, {
3632
+ }, null, 8, _s)) : h("", !0)
3633
+ ])) : (u(), s("svg", Ls, [
3634
+ Ul($t, {
3635
3635
  plot: { x: 6, y: 6 },
3636
3636
  radius: 5,
3637
3637
  color: l.color,
3638
3638
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(l.shape) ? l.shape : "circle"
3639
3639
  }, null, 8, ["color", "shape"])
3640
3640
  ])),
3641
- x("span", {
3641
+ m("span", {
3642
3642
  style: $(`color:${e.value.chart.legend.color}`)
3643
3643
  }, ae(l.name), 5)
3644
- ], 10, bs))), 128))
3644
+ ], 10, ys))), 128))
3645
3645
  ], 4)) : (u(), s("div", {
3646
3646
  key: 8,
3647
3647
  ref_key: "chartLegend",
3648
- ref: ll
3648
+ ref: el
3649
3649
  }, [
3650
- K(t.$slots, "legend", { legend: al.value }, void 0, !0)
3650
+ K(t.$slots, "legend", { legend: tl.value }, void 0, !0)
3651
3651
  ], 512)),
3652
3652
  t.$slots.source ? (u(), s("div", {
3653
3653
  key: 9,
3654
3654
  ref_key: "source",
3655
- ref: Al,
3655
+ ref: Ll,
3656
3656
  dir: "auto"
3657
3657
  }, [
3658
3658
  K(t.$slots, "source", {}, void 0, !0)
3659
3659
  ], 512)) : h("", !0),
3660
- ql(v(ie), {
3661
- show: f.value.showTooltip && Fl.value,
3660
+ Ul(v(ie), {
3661
+ show: b.value.showTooltip && El.value,
3662
3662
  backgroundColor: e.value.chart.tooltip.backgroundColor,
3663
3663
  color: e.value.chart.tooltip.color,
3664
3664
  fontSize: e.value.chart.tooltip.fontSize,
@@ -3669,25 +3669,25 @@ const Co = {
3669
3669
  position: e.value.chart.tooltip.position,
3670
3670
  offsetY: e.value.chart.tooltip.offsetY,
3671
3671
  parent: t.$refs.chart,
3672
- content: Ga.value,
3673
- isFullscreen: cl.value,
3672
+ content: qa.value,
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,
3676
3676
  backdropFilter: e.value.chart.tooltip.backdropFilter
3677
3677
  }, {
3678
3678
  "tooltip-before": pe(() => [
3679
- K(t.$slots, "tooltip-before", hl(Sl({ ...ia.value })), void 0, !0)
3679
+ K(t.$slots, "tooltip-before", vl(kl({ ...na.value })), void 0, !0)
3680
3680
  ]),
3681
3681
  "tooltip-after": pe(() => [
3682
- K(t.$slots, "tooltip-after", hl(Sl({ ...ia.value })), void 0, !0)
3682
+ K(t.$slots, "tooltip-after", vl(kl({ ...na.value })), void 0, !0)
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(), Qe(v(Vl), {
3686
+ qe.value ? (u(), Ke(v(Pl), {
3687
3687
  key: 10,
3688
3688
  hideDetails: "",
3689
3689
  config: {
3690
- open: f.value.showTable,
3690
+ open: b.value.showTable,
3691
3691
  maxHeight: 1e4,
3692
3692
  body: {
3693
3693
  backgroundColor: e.value.chart.backgroundColor,
@@ -3700,45 +3700,45 @@ const Co = {
3700
3700
  }
3701
3701
  }, {
3702
3702
  content: pe(() => [
3703
- x("div", {
3703
+ m("div", {
3704
3704
  style: $(`${v(Z) ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
3705
3705
  }, [
3706
- x("div", _s, [
3707
- Vt(x("input", {
3706
+ m("div", Ms, [
3707
+ Bt(m("input", {
3708
3708
  type: "checkbox",
3709
3709
  "onUpdate:modelValue": c[7] || (c[7] = (l) => Me.value = l)
3710
3710
  }, null, 512), [
3711
- [lo, Me.value]
3711
+ [ao, Me.value]
3712
3712
  ]),
3713
- x("div", {
3713
+ m("div", {
3714
3714
  onClick: c[8] || (c[8] = (l) => Me.value = !Me.value),
3715
3715
  style: { cursor: "pointer" }
3716
3716
  }, [
3717
- ql(v(_l), {
3717
+ Ul(v(Sl), {
3718
3718
  name: "chartLine",
3719
3719
  size: 20,
3720
3720
  stroke: e.value.chart.color
3721
3721
  }, null, 8, ["stroke"])
3722
3722
  ])
3723
3723
  ]),
3724
- Me.value ? (u(), Qe(v(Jl), {
3724
+ Me.value ? (u(), Ke(v(Zl), {
3725
3725
  key: `sparkline_${Ee.value}`,
3726
- dataset: Ya.value,
3727
- config: Da.value
3728
- }, null, 8, ["dataset", "config"])) : (u(), Qe(v(Pe), {
3729
- key: `table_${vt.value}`,
3730
- colNames: bt.value.colNames,
3731
- head: bt.value.head,
3732
- body: bt.value.body,
3733
- config: bt.value.config,
3726
+ dataset: Xa.value,
3727
+ config: Ga.value
3728
+ }, null, 8, ["dataset", "config"])) : (u(), Ke(v(Pe), {
3729
+ key: `table_${ct.value}`,
3730
+ colNames: yt.value.colNames,
3731
+ head: yt.value.head,
3732
+ body: yt.value.body,
3733
+ config: yt.value.config,
3734
3734
  title: `${e.value.chart.title.text}${e.value.chart.title.subtitle.text ? ` : ${e.value.chart.title.subtitle.text}` : ""}`,
3735
- onClose: c[9] || (c[9] = (l) => f.value.showTable = !1)
3735
+ onClose: c[9] || (c[9] = (l) => b.value.showTable = !1)
3736
3736
  }, {
3737
3737
  th: pe(({ th: l }) => [
3738
- x("div", { innerHTML: l }, null, 8, Ls)
3738
+ m("div", { innerHTML: l }, null, 8, As)
3739
3739
  ]),
3740
3740
  td: pe(({ td: l }) => [
3741
- to(ae(isNaN(Number(l)) ? l : v(De)({
3741
+ oo(ae(isNaN(Number(l)) ? l : v(De)({
3742
3742
  p: e.value.chart.labels.prefix,
3743
3743
  v: l,
3744
3744
  s: e.value.chart.labels.suffix,
@@ -3751,10 +3751,10 @@ const Co = {
3751
3751
  ]),
3752
3752
  _: 1
3753
3753
  }, 8, ["config"])) : h("", !0),
3754
- v(xe) ? (u(), Qe(So, { key: 11 })) : h("", !0)
3755
- ], 46, Jo));
3754
+ v(xe) ? (u(), Ke(_o, { key: 11 })) : h("", !0)
3755
+ ], 46, Qo));
3756
3756
  }
3757
- }, Ws = /* @__PURE__ */ $a(Ms, [["__scopeId", "data-v-f23afc44"]]);
3757
+ }, Ds = /* @__PURE__ */ La(Cs, [["__scopeId", "data-v-95dc1cf2"]]);
3758
3758
  export {
3759
- Ws as default
3759
+ Ds as default
3760
3760
  };