vue-data-ui 3.0.0-next.63 → 3.0.0-next.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/dist/{Arrow-BGKdsLII.js → Arrow-xtjLDthc.js} +1 -1
  2. package/dist/{BaseDraggableDialog-gVVf8X_B.js → BaseDraggableDialog-DjdsoIGU.js} +2 -2
  3. package/dist/{BaseIcon-DNo7kjXj.js → BaseIcon-BU1qUe7c.js} +1 -1
  4. package/dist/{ColorPicker-vBh0CR5P.js → ColorPicker-BblHzrY2.js} +2 -2
  5. package/dist/{DataTable-DS3KWyd9.js → DataTable-awPoVqrs.js} +2 -2
  6. package/dist/{Legend-B6SFVKMo.js → Legend-DFZdoZrW.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-BS2khXRd.js → NonSvgPenAndPaper-rFoL6tGp.js} +3 -3
  8. package/dist/{PackageVersion-DSFdazAW.js → PackageVersion-bvIGp0Wr.js} +1 -1
  9. package/dist/{PenAndPaper-CB61YgV9.js → PenAndPaper-CDiJnTx6.js} +3 -3
  10. package/dist/{Shape-4rbQQ_12.js → Shape-CNW2rRJN.js} +1 -1
  11. package/dist/{Slicer-BYPUhbns.js → Slicer-CJUj0NPg.js} +2 -2
  12. package/dist/{SparkTooltip-CcYxnK-3.js → SparkTooltip-CCeBMjBi.js} +1 -1
  13. package/dist/{Title-5i51sn5z.js → Title-DLzQZPSp.js} +1 -1
  14. package/dist/{Tooltip-Ccrc8V99.js → Tooltip-DgVlOrus.js} +1 -1
  15. package/dist/{UserOptions-B3sujtRb.js → UserOptions-CyxK5Q-5.js} +2 -2
  16. package/dist/{dom-to-png-CBszweF6.js → dom-to-png-DOOD6zHB.js} +1 -1
  17. package/dist/{img-DGl0_Nzz.js → img-DByXXZOX.js} +1 -1
  18. package/dist/{index-jlnByA4k.js → index-D4WnuWyh.js} +7 -1
  19. package/dist/{pdf-BHzrjI_S.js → pdf-OOqMngGF.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +3 -0
  22. package/dist/types/vue-data-ui.d.ts +3 -0
  23. package/dist/{useAutoSizeLabelsInsideViewbox-Btmy72IJ.js → useAutoSizeLabelsInsideViewbox-DZUsBKYa.js} +1 -1
  24. package/dist/useLoading-D7YHNtLX.js +29 -0
  25. package/dist/{useNestedProp-69PJWTUX.js → useNestedProp-DpsQk2zA.js} +1 -1
  26. package/dist/{usePrinter-CJSwPpxV.js → usePrinter-LIy0Oc_F.js} +2 -2
  27. package/dist/{vue-data-ui-5hHAwcR8.js → vue-data-ui-g-wGH-lb.js} +64 -64
  28. package/dist/vue-data-ui.js +1 -1
  29. package/dist/{vue-ui-3d-bar-jcGPVz03.js → vue-ui-3d-bar-DBRlOX7j.js} +7 -7
  30. package/dist/{vue-ui-accordion-CtOEIleg.js → vue-ui-accordion-B3qWFvj-.js} +3 -3
  31. package/dist/{vue-ui-age-pyramid-s246qBP8.js → vue-ui-age-pyramid-BfgNlK97.js} +7 -7
  32. package/dist/{vue-ui-annotator-Bi3ndTdh.js → vue-ui-annotator-DSQM48rJ.js} +2 -2
  33. package/dist/{vue-ui-bullet-Ly8acZ65.js → vue-ui-bullet-BRQLmWS9.js} +8 -8
  34. package/dist/{vue-ui-candlestick-Dwy-2H2Q.js → vue-ui-candlestick-D_eIh1L1.js} +8 -8
  35. package/dist/{vue-ui-carousel-table-ynesSu18.js → vue-ui-carousel-table-nEAroVfe.js} +4 -4
  36. package/dist/{vue-ui-chestnut-DpXc1djY.js → vue-ui-chestnut-BjJmleW-.js} +5 -5
  37. package/dist/{vue-ui-chord-DXnK1f_K.js → vue-ui-chord-Cd1H5HfK.js} +8 -8
  38. package/dist/{vue-ui-circle-pack-BOt9llcy.js → vue-ui-circle-pack-CWVh_N2U.js} +6 -6
  39. package/dist/{vue-ui-cursor-DnJIyien.js → vue-ui-cursor-sTcuRVmy.js} +2 -2
  40. package/dist/{vue-ui-dashboard-Cbz4dOIJ.js → vue-ui-dashboard-DBygQ4-S.js} +62 -62
  41. package/dist/{vue-ui-digits-CaiStt5K.js → vue-ui-digits-DY2apUU-.js} +2 -2
  42. package/dist/{vue-ui-donut-DzsorCa2.js → vue-ui-donut-2RP4GaYE.js} +9 -9
  43. package/dist/{vue-ui-donut-evolution-Cn-2v5OQ.js → vue-ui-donut-evolution-D96i03R8.js} +9 -9
  44. package/dist/{vue-ui-dumbbell-LG-iNxUc.js → vue-ui-dumbbell-CEZXGNEg.js} +8 -8
  45. package/dist/{vue-ui-flow-D4Mvh3N4.js → vue-ui-flow-B8k9kxKB.js} +8 -8
  46. package/dist/{vue-ui-funnel-B9bd8Qdo.js → vue-ui-funnel-BWKfPaNH.js} +6 -6
  47. package/dist/{vue-ui-galaxy-CFGFpWFJ.js → vue-ui-galaxy-C_vIi1L7.js} +5 -5
  48. package/dist/{vue-ui-gauge-BoM3ea8S.js → vue-ui-gauge-BzdnCu-X.js} +8 -8
  49. package/dist/vue-ui-gizmo-DOQZQ58m.js +210 -0
  50. package/dist/{vue-ui-heatmap-DTlVM_Rg.js → vue-ui-heatmap-RB-M6SaR.js} +8 -8
  51. package/dist/{vue-ui-history-plot-z-ycrjqs.js → vue-ui-history-plot-Bgmurf0-.js} +8 -8
  52. package/dist/{vue-ui-kpi-CWGMNCQT.js → vue-ui-kpi-Bujm_UUv.js} +28 -28
  53. package/dist/{vue-ui-mini-loader-D-YAgXQh.js → vue-ui-mini-loader-a7Uqcx82.js} +2 -2
  54. package/dist/{vue-ui-molecule-C8RnofGI.js → vue-ui-molecule-BN-NyAZi.js} +5 -5
  55. package/dist/{vue-ui-mood-radar-CTTAiDCG.js → vue-ui-mood-radar-DiIFJqB_.js} +7 -7
  56. package/dist/{vue-ui-nested-donuts-BJ_MVOPC.js → vue-ui-nested-donuts-CJZbkPFw.js} +10 -10
  57. package/dist/{vue-ui-onion-CHGIIpnQ.js → vue-ui-onion-BMph52bs.js} +9 -9
  58. package/dist/{vue-ui-parallel-coordinate-plot-BZtohM97.js → vue-ui-parallel-coordinate-plot-CBiSBImC.js} +9 -9
  59. package/dist/{vue-ui-quadrant-D3Voh1B3.js → vue-ui-quadrant-DX5Qq24z.js} +8 -8
  60. package/dist/{vue-ui-quick-chart-BWf2yNU3.js → vue-ui-quick-chart-4REpC2Tf.js} +7 -7
  61. package/dist/{vue-ui-radar-DG2V_zsj.js → vue-ui-radar-BEVqfDd0.js} +7 -7
  62. package/dist/{vue-ui-rating-BX3DRGia.js → vue-ui-rating-DwI3Rv3E.js} +2 -2
  63. package/dist/{vue-ui-relation-circle-XCU4OM_5.js → vue-ui-relation-circle-DnBt_4Z-.js} +6 -6
  64. package/dist/{vue-ui-ridgeline-b1zJ9JMy.js → vue-ui-ridgeline-CNuNfOmr.js} +9 -9
  65. package/dist/{vue-ui-rings-DOyQUS4a.js → vue-ui-rings-cYyJqaty.js} +9 -9
  66. package/dist/{vue-ui-scatter-D9LdWCZd.js → vue-ui-scatter-BuxMaOvY.js} +9 -9
  67. package/dist/{vue-ui-skeleton-Cv6EVbCt.js → vue-ui-skeleton-BcbHBGA8.js} +3 -3
  68. package/dist/{vue-ui-smiley-C2mnVQu-.js → vue-ui-smiley-BxuhvqKH.js} +2 -2
  69. package/dist/{vue-ui-spark-trend-gbAr_BYc.js → vue-ui-spark-trend-BYARTbLp.js} +4 -4
  70. package/dist/{vue-ui-sparkbar-BPU9JtvX.js → vue-ui-sparkbar-C5EIrDdI.js} +4 -4
  71. package/dist/{vue-ui-sparkgauge-B1smUA41.js → vue-ui-sparkgauge-MqGNM5FN.js} +4 -4
  72. package/dist/{vue-ui-sparkhistogram-CZTxCQgR.js → vue-ui-sparkhistogram-kKrQQ5yk.js} +5 -5
  73. package/dist/{vue-ui-sparkline-jChhbwmi.js → vue-ui-sparkline-BdovbeOV.js} +4 -4
  74. package/dist/{vue-ui-sparkstackbar-Dt7wTy19.js → vue-ui-sparkstackbar-EfkdY-Ax.js} +4 -4
  75. package/dist/{vue-ui-stackbar-CGgA6-n6.js → vue-ui-stackbar-DBx0rzvk.js} +10 -10
  76. package/dist/{vue-ui-strip-plot-BtCiUFRZ.js → vue-ui-strip-plot-CwkCmNEy.js} +8 -8
  77. package/dist/{vue-ui-table-DzWPHCpf.js → vue-ui-table-Dc4t3Fwj.js} +3 -3
  78. package/dist/{vue-ui-table-heatmap-_FhnVCOZ.js → vue-ui-table-heatmap-DDQg3bxn.js} +5 -5
  79. package/dist/{vue-ui-table-sparkline-CYsSg1z9.js → vue-ui-table-sparkline-DYla4bRO.js} +4 -4
  80. package/dist/{vue-ui-thermometer-dSqhossO.js → vue-ui-thermometer-DJfWwWWc.js} +8 -8
  81. package/dist/{vue-ui-timer-DyIsQAqp.js → vue-ui-timer-DGfM3hjM.js} +5 -5
  82. package/dist/{vue-ui-tiremarks-BEqXVq_9.js → vue-ui-tiremarks-DALcBVpW.js} +7 -7
  83. package/dist/{vue-ui-treemap-khKWfnVU.js → vue-ui-treemap-B2ZaMQGd.js} +9 -9
  84. package/dist/{vue-ui-vertical-bar-CXZGkJh7.js → vue-ui-vertical-bar-CVhUQTSk.js} +10 -10
  85. package/dist/{vue-ui-waffle-DrHd1WXy.js → vue-ui-waffle-DKQr0dys.js} +9 -9
  86. package/dist/{vue-ui-wheel-OqQd6Weo.js → vue-ui-wheel-B5Lv0Z1y.js} +7 -7
  87. package/dist/{vue-ui-word-cloud-CG4W1l66.js → vue-ui-word-cloud-BubzKqXN.js} +7 -7
  88. package/dist/{vue-ui-world-BBrwRZF-.js → vue-ui-world-CPM4kKP8.js} +6 -6
  89. package/dist/{vue-ui-xy-CqeSePUr.js → vue-ui-xy-DslMfLA-.js} +858 -847
  90. package/dist/{vue-ui-xy-canvas-BZhZZQae.js → vue-ui-xy-canvas-C6iEe7Gl.js} +8 -8
  91. package/package.json +1 -1
  92. package/dist/useLoading-Bt5Doa8m.js +0 -28
  93. package/dist/vue-ui-gizmo-Bz1WJOzC.js +0 -192
@@ -1,28 +1,28 @@
1
- import { useCssVars as Ja, computed as y, ref as p, onMounted as Lt, onBeforeUnmount as nt, watch as sl, nextTick as Zl, onUpdated as Ka, createElementBlock as s, openBlock as u, createElementVNode as m, createCommentVNode as h, renderSlot as K, normalizeStyle as $, createVNode as Ul, withDirectives as Bt, unref as v, Fragment as f, renderList as L, normalizeClass as Re, vModelText as ba, toDisplayString as ae, defineAsyncComponent as yl, useSlots as Qa, getCurrentInstance as ja, toRefs as eo, watchEffect as lo, createBlock as Ke, createSlots as to, withCtx as pe, normalizeProps as vl, guardReactiveProps as kl, mergeProps as kt, vModelCheckbox as ao, createTextVNode as oo } from "vue";
2
- import { c as _t, V as Mt, U as At, X as uo, F as je, u as io, f as Vt, t as so, a5 as ul, d as no, D as st, ad as Nl, e as ro, p as co, ae as wt, aa as Y, af as vo, h as V, ag as pa, ah as ya, ai as ho, aj as ka, ak as wa, k as we, y as fo, z as go, _ as Sa, R as il, i as De, x as Rl, s as Qe, a8 as ee, L as mo, al as St, I as xo, am as wl, C as Xe, a as bo, b as po, o as $a, v as yo, w as ko, E as Gl } from "./index-jlnByA4k.js";
3
- import { t as Ft, u as wo } from "./useResponsive-DfdjqQps.js";
4
- import { u as So } from "./usePrinter-CJSwPpxV.js";
5
- import { u as $o, B as _o } from "./useLoading-Bt5Doa8m.js";
6
- import { u as Et } from "./useNestedProp-69PJWTUX.js";
7
- import { u as _a } from "./useTimeLabels-DkzmKfZn.js";
8
- import { u as Lo } from "./useTimeLabelCollider-CIsgDrl9.js";
9
- import Mo from "./img-DGl0_Nzz.js";
10
- import Ao from "./Title-5i51sn5z.js";
11
- import { S as Co } from "./Slicer-BYPUhbns.js";
12
- import { _ as $t } from "./Shape-4rbQQ_12.js";
13
- import zo from "./BaseIcon-DNo7kjXj.js";
14
- import { _ as La } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const To = {
1
+ import { useCssVars as Ka, computed as y, ref as p, onMounted as Mt, onBeforeUnmount as nt, watch as sl, nextTick as Zl, onUpdated as Qa, createElementBlock as s, openBlock as i, createElementVNode as m, createCommentVNode as h, renderSlot as Q, normalizeStyle as $, createVNode as Ul, withDirectives as Bt, unref as v, Fragment as f, renderList as L, normalizeClass as Pe, vModelText as pa, toDisplayString as ae, defineAsyncComponent as yl, useSlots as ja, getCurrentInstance as eo, toRefs as lo, watchEffect as to, createBlock as Ke, createSlots as ao, withCtx as pe, normalizeProps as vl, guardReactiveProps as kl, mergeProps as wt, vModelCheckbox as oo, createTextVNode as uo } from "vue";
2
+ import { c as Lt, V as At, U as Ct, X as io, F as je, u as so, f as Vt, t as no, a5 as ul, d as ro, D as st, ad as Nl, e as co, p as vo, ae as St, aa as Y, af as ho, h as V, ag as ya, ah as ka, ai as fo, aj as wa, ak as Sa, k as we, y as go, z as mo, _ as $a, R as il, i as De, x as Rl, s as Qe, a8 as ee, L as xo, al as $t, I as bo, am as wl, C as Xe, a as po, b as yo, o as _a, v as ko, w as wo, E as Gl } from "./index-D4WnuWyh.js";
3
+ import { t as Ft, u as So } from "./useResponsive-DfdjqQps.js";
4
+ import { u as $o } from "./usePrinter-LIy0Oc_F.js";
5
+ import { u as _o, B as Lo } from "./useLoading-D7YHNtLX.js";
6
+ import { u as Et } from "./useNestedProp-DpsQk2zA.js";
7
+ import { u as La } from "./useTimeLabels-DkzmKfZn.js";
8
+ import { u as Mo } from "./useTimeLabelCollider-CIsgDrl9.js";
9
+ import Ao from "./img-DByXXZOX.js";
10
+ import Co from "./Title-DLzQZPSp.js";
11
+ import { S as zo } from "./Slicer-CJUj0NPg.js";
12
+ import { _ as _t } from "./Shape-CNW2rRJN.js";
13
+ import To from "./BaseIcon-BU1qUe7c.js";
14
+ import { _ as Ma } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const Io = {
16
16
  class: "vue-data-ui-slicer-labels",
17
17
  style: { position: "relative", "z-index": "1", "pointer-events": "none" }
18
- }, Io = {
18
+ }, Oo = {
19
19
  key: 0,
20
20
  style: { width: "100%", position: "relative" }
21
- }, Oo = {
21
+ }, No = {
22
22
  key: 0,
23
23
  class: "minimap",
24
24
  style: { width: "100%" }
25
- }, No = ["xmlns", "viewBox"], Ro = ["id"], Po = ["stop-color"], Ho = ["d", "stroke"], Vo = ["x", "width", "height", "fill", "rx"], Eo = ["d", "fill"], Bo = ["x", "width", "height", "rx", "fill"], Fo = ["x", "width", "height", "fill", "rx"], Wo = ["d", "fill"], Yo = ["d", "stroke"], Do = ["cx", "cy", "stroke", "fill"], Xo = ["cx", "cy", "stroke", "fill"], Go = ["x1", "x2", "y2", "stroke"], Uo = ["x", "height", "width", "onMouseenter"], Zo = ["min", "max"], qo = ["min", "max"], Jo = {
25
+ }, Ro = ["xmlns", "viewBox"], Po = ["id"], Ho = ["stop-color"], Vo = ["d", "stroke"], Eo = ["x", "width", "height", "fill", "rx"], Bo = ["d", "fill"], Fo = ["x", "width", "height", "rx", "fill"], Wo = ["x", "width", "height", "fill", "rx"], Yo = ["d", "fill"], Do = ["d", "stroke"], Xo = ["cx", "cy", "stroke", "fill"], Go = ["cx", "cy", "stroke", "fill"], Uo = ["x1", "x2", "y2", "stroke"], Zo = ["x", "height", "width", "onMouseenter"], qo = ["min", "max"], Jo = ["min", "max"], Ko = {
26
26
  __name: "SlicerPreview",
27
27
  props: {
28
28
  background: {
@@ -138,15 +138,15 @@ const To = {
138
138
  }
139
139
  },
140
140
  emits: ["futureStart", "futureEnd", "update:start", "update:end", "reset", "trapMouse"],
141
- setup(C, { expose: Ct, emit: zt }) {
142
- Ja((x) => ({
141
+ setup(C, { expose: zt, emit: Tt }) {
142
+ Ka((x) => ({
143
143
  "0f96aa59": Ll.value,
144
- b0e79a66: He.value,
145
- "344eb27e": Tt.value,
144
+ b0e79a66: Ve.value,
145
+ "344eb27e": It.value,
146
146
  f07d1806: C.selectColor,
147
147
  "18f1980b": Ml.value
148
148
  }));
149
- const d = C, Pe = p(null), ie = p(d.min), re = p(d.max), Sl = y(() => !!d.minimap.length), ql = p(_t()), Pl = p(0), $l = y({
149
+ const d = C, He = p(null), ie = p(d.min), re = p(d.max), Sl = y(() => !!d.minimap.length), ql = p(Lt()), Pl = p(0), $l = y({
150
150
  get() {
151
151
  return ie.value;
152
152
  },
@@ -163,9 +163,9 @@ const To = {
163
163
  re.value = g, Ge.value && (Ge.value.value = String(g)), fe("futureEnd", g);
164
164
  }
165
165
  });
166
- Lt(() => {
166
+ Mt(() => {
167
167
  const x = () => {
168
- Pe.value && (Pl.value = Pe.value.getBoundingClientRect().width);
168
+ He.value && (Pl.value = He.value.getBoundingClientRect().width);
169
169
  };
170
170
  x();
171
171
  const g = Ft(x, 50);
@@ -182,19 +182,19 @@ const To = {
182
182
  function Kl() {
183
183
  clearTimeout(dl), fe("update:start", Number(ie.value)), fe("update:end", Number(re.value));
184
184
  }
185
- const Ql = y(() => d.refreshEndPoint === null ? d.max : d.refreshEndPoint), fe = zt, ye = y(() => {
185
+ const Ql = y(() => d.refreshEndPoint === null ? d.max : d.refreshEndPoint), fe = Tt, ye = y(() => {
186
186
  const x = d.max - d.min, g = (ie.value - d.min) / x * 100, A = (re.value - d.min) / x * 100, q = (g + A) / 2, Ie = el.value ? `calc(${q}% - ${k.value.width}px)` : ze.value ? `calc(${q}%)` : `calc(${q}% - ${k.value.width / 2}px)`;
187
187
  return {
188
188
  left: `${g}%`,
189
189
  width: `${A - g}%`,
190
190
  background: d.selectColor,
191
- tooltipLeft: `calc(${g}% - ${ze.value ? 0 : Ae.value / 2}px)`,
191
+ tooltipLeft: `calc(${g}% - ${ze.value ? 0 : $e.value / 2}px)`,
192
192
  tooltipRight: `calc(${A}% - ${el.value ? gl.value : gl.value / 2}px)`,
193
193
  tooltipCenter: Ie,
194
194
  arrowLeft: !ze.value,
195
195
  arrowRight: !el.value
196
196
  };
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(() => {
197
+ }), ze = y(() => He.value ? He.value.getBoundingClientRect().width * ((ie.value - d.min) / (d.max - d.min)) - $e.value / 2 < 0 : !1), el = y(() => He.value ? He.value.getBoundingClientRect().width * ((re.value - d.min) / (d.max - d.min)) + gl.value / 2 > He.value.getBoundingClientRect().width : !1), Ll = y(() => d.inputColor), Ml = y(() => d.background), It = y(() => `${d.selectColor}33`), Ve = y(() => d.borderColor), Hl = y(() => {
198
198
  let x = [];
199
199
  for (let g = 0; g < d.minimap.length; g += 1)
200
200
  x.push(g);
@@ -221,10 +221,10 @@ const To = {
221
221
  width: 1,
222
222
  height: 1
223
223
  }), ll = p(null);
224
- Lt(() => {
224
+ Mt(() => {
225
225
  if (Sl.value) {
226
226
  const x = Ft(() => {
227
- const { width: g, height: A } = wo({
227
+ const { width: g, height: A } = So({
228
228
  chart: Al.value
229
229
  });
230
230
  D.value.width = g, D.value.height = A - 47;
@@ -236,13 +236,13 @@ const To = {
236
236
  });
237
237
  const ge = y(() => d.minimap.length ? D.value.width / d.minimap.length : 0), M = y(() => {
238
238
  if (!d.minimap.length) return [];
239
- const x = Math.max(...d.minimap), g = Math.min(...d.minimap) - 10, A = x - (g > 0 ? 0 : g), q = d.minimap.map((It, ht) => {
240
- const Yl = It - g;
239
+ const x = Math.max(...d.minimap), g = Math.min(...d.minimap) - 10, A = x - (g > 0 ? 0 : g), q = d.minimap.map((Ot, ht) => {
240
+ const Yl = Ot - g;
241
241
  return {
242
242
  x: D.value.width / d.minimap.length * ht + ge.value / 2,
243
243
  y: D.value.height - Yl / A * (D.value.height * 0.9)
244
244
  };
245
- }), Ie = d.smoothMinimap ? Mt(q) : At(q), ml = [...q].slice(d.valueStart, d.valueEnd), dt = d.smoothMinimap ? Mt(ml) : At(ml);
245
+ }), Ie = d.smoothMinimap ? At(q) : Ct(q), ml = [...q].slice(d.valueStart, d.valueEnd), dt = d.smoothMinimap ? At(ml) : Ct(ml);
246
246
  return {
247
247
  fullSet: Ie,
248
248
  selectionSet: dt,
@@ -250,7 +250,7 @@ const To = {
250
250
  firstPlot: q[d.valueStart],
251
251
  lastPlot: q[d.valueEnd - 1]
252
252
  };
253
- }), Ve = y(() => ({
253
+ }), Ee = 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);
@@ -269,33 +269,33 @@ const To = {
269
269
  }
270
270
  const El = y(() => d.valueEnd - d.valueStart), Te = p(!1);
271
271
  let oe = p(null);
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(() => {
272
+ const j = 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
273
  const x = Pl.value - 48;
274
274
  return Math.ceil(
275
275
  (d.max - d.min) / ((x - rt.value) / ct.value)
276
276
  );
277
277
  });
278
- let Me = null, Ee = null, O = null, Ue = null;
278
+ let Ae = null, Be = null, z = null, Ue = null;
279
279
  const Bl = (x) => {
280
280
  if (Ze.value = !0, !d.enableSelectionDrag) return;
281
281
  const g = x.type === "touchstart", A = g && x.targetTouches && x.targetTouches[0] ? x.targetTouches[0] : null, q = g ? A ? A.target : null : x.target;
282
- !q || !(q instanceof Element) || q.classList && q.classList.contains("range-handle") || (Te.value = !0, oe.value = g ? A ? A.clientX : 0 : x.clientX, Me = g ? "touchmove" : "mousemove", Ee = g ? "touchend" : "mouseup", O = g ? Se : Fl, Ue = g ? S : Wl, window.addEventListener(Me, O, { passive: !1 }), window.addEventListener(Ee, Ue));
282
+ !q || !(q instanceof Element) || q.classList && q.classList.contains("range-handle") || (Te.value = !0, oe.value = g ? A ? A.clientX : 0 : x.clientX, Ae = g ? "touchmove" : "mousemove", Be = g ? "touchend" : "mouseup", z = g ? Se : Fl, Ue = g ? S : Wl, window.addEventListener(Ae, z, { passive: !1 }), window.addEventListener(Be, Ue));
283
283
  };
284
284
  function Fl(x) {
285
- Te.value && Be(x.clientX);
285
+ Te.value && Fe(x.clientX);
286
286
  }
287
287
  function Se(x) {
288
- if (!Te.value || !Pe.value) return;
288
+ if (!Te.value || !He.value) return;
289
289
  const g = x.target;
290
- if (!(g instanceof Element) || !Pe.value.contains(g) || g.classList && g.classList.contains("range-handle")) return;
290
+ if (!(g instanceof Element) || !He.value.contains(g) || g.classList && g.classList.contains("range-handle")) return;
291
291
  x.preventDefault();
292
292
  const A = x.targetTouches && x.targetTouches[0] ? x.targetTouches[0] : null;
293
- A && Be(A.clientX);
293
+ A && Fe(A.clientX);
294
294
  }
295
- function Be(x) {
295
+ function Fe(x) {
296
296
  if (!Te.value) return;
297
297
  const g = x - oe.value;
298
- if (Math.abs(g) > Q.value) {
298
+ if (Math.abs(g) > j.value) {
299
299
  if (g > 0) {
300
300
  const A = Math.min(d.max, re.value + jl.value);
301
301
  _l.value = A, $l.value = A - El.value;
@@ -313,18 +313,18 @@ const To = {
313
313
  vt();
314
314
  }
315
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();
316
+ Te.value = !1, Ae && z && window.removeEventListener(Ae, z), Be && Ue && window.removeEventListener(Be, Ue), Ae = Be = null, z = Ue = null, Kl();
317
317
  }
318
- const fl = p(!1), b = p(null), w = p(null), Ae = p(1), gl = p(1), Ze = p(!1);
318
+ const fl = p(!1), b = p(null), w = p(null), $e = p(1), gl = p(1), Ze = p(!1);
319
319
  function e() {
320
- b.value && (Ae.value = b.value.getBoundingClientRect().width);
320
+ b.value && ($e.value = b.value.getBoundingClientRect().width);
321
321
  }
322
322
  function xe() {
323
323
  w.value && (gl.value = w.value.getBoundingClientRect().width);
324
324
  }
325
- const $e = p(0);
325
+ const _e = p(0);
326
326
  function zl(x) {
327
- $e.value = x === "start" ? 1 : 0;
327
+ _e.value = x === "start" ? 1 : 0;
328
328
  }
329
329
  const me = p(!1), k = p({
330
330
  width: 0,
@@ -342,7 +342,7 @@ const To = {
342
342
  width: Ie,
343
343
  left: ml - Ie / 2
344
344
  };
345
- }), Ka(() => {
345
+ }), Qa(() => {
346
346
  e(), xe();
347
347
  }), sl(() => d.labelLeft, () => {
348
348
  Zl(e);
@@ -357,25 +357,25 @@ const To = {
357
357
  };
358
358
  });
359
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({
360
+ ll.value && ll.value.disconnect(), Ae && z && window.removeEventListener(Ae, z), Be && Ue && window.removeEventListener(Be, Ue), Ae = Be = null, z = Ue = null, clearTimeout(dl);
361
+ }), zt({
362
362
  setStartValue: hl,
363
363
  setEndValue: rl
364
- }), (x, g) => (u(), s("div", {
364
+ }), (x, g) => (i(), 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
- ref: Pe,
369
+ ref: He,
370
370
  onMousedown: Bl,
371
371
  onTouchstart: Bl
372
372
  }, [
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", {
373
+ m("div", Io, [
374
+ C.valueStart !== C.refreshStartPoint || C.valueEnd !== Ql.value ? (i(), s("div", Oo, [
375
+ C.useResetSlot ? Q(x.$slots, "reset-action", {
376
376
  key: 1,
377
377
  reset: nl
378
- }, void 0, !0) : (u(), s("button", {
378
+ }, void 0, !0) : (i(), s("button", {
379
379
  key: 0,
380
380
  tabindex: "0",
381
381
  role: "button",
@@ -386,7 +386,7 @@ const To = {
386
386
  }),
387
387
  onClick: nl
388
388
  }, [
389
- Ul(zo, {
389
+ Ul(To, {
390
390
  name: "refresh",
391
391
  stroke: C.textColor
392
392
  }, null, 8, ["stroke"])
@@ -401,9 +401,9 @@ const To = {
401
401
  onMouseenter: g[11] || (g[11] = (A) => Ze.value = !0),
402
402
  onMouseleave: g[12] || (g[12] = (A) => Ze.value = !1)
403
403
  }, [
404
- Sl.value ? (u(), s("div", Oo, [
405
- (u(), s("svg", {
406
- xmlns: v(uo),
404
+ Sl.value ? (i(), s("div", No, [
405
+ (i(), s("svg", {
406
+ xmlns: v(io),
407
407
  viewBox: `0 0 ${D.value.width < 0 ? 0 : D.value.width} ${D.value.height < 0 ? 0 : D.value.height}`
408
408
  }, [
409
409
  m("defs", null, [
@@ -417,12 +417,12 @@ const To = {
417
417
  m("stop", {
418
418
  offset: "0%",
419
419
  "stop-color": `${C.minimapLineColor}50`
420
- }, null, 8, Po),
420
+ }, null, 8, Ho),
421
421
  g[13] || (g[13] = m("stop", {
422
422
  offset: "100%",
423
423
  "stop-color": "transparent"
424
424
  }, null, -1))
425
- ], 8, Ro)
425
+ ], 8, Po)
426
426
  ]),
427
427
  m("path", {
428
428
  d: `M${M.value.fullSet}`,
@@ -432,33 +432,33 @@ const To = {
432
432
  "stroke-linecap": "round",
433
433
  "stroke-linejoin": "round",
434
434
  style: { opacity: "1" }
435
- }, null, 8, Ho),
435
+ }, null, 8, Vo),
436
436
  m("rect", {
437
- x: Ve.value.x,
438
- width: Ve.value.width < 0 ? 0 : Ve.value.width,
437
+ x: Ee.value.x,
438
+ width: Ee.value.width < 0 ? 0 : Ee.value.width,
439
439
  height: Math.max(D.value.height, 0),
440
440
  y: 0,
441
- fill: He.value,
441
+ fill: Ve.value,
442
442
  rx: C.minimapSelectionRadius,
443
443
  stroke: "none"
444
- }, null, 8, Vo),
444
+ }, null, 8, Eo),
445
445
  m("path", {
446
446
  d: `M${ge.value / 2},${Math.max(D.value.height, 0)} ${M.value.fullSet} L${D.value.width - ge.value / 2},${Math.max(D.value.height, 0)}Z`,
447
447
  fill: `url(#${ql.value})`,
448
448
  stroke: "none",
449
449
  style: { opacity: "1" }
450
- }, null, 8, Eo),
450
+ }, null, 8, Bo),
451
451
  m("rect", {
452
- x: Ve.value.x,
453
- width: Ve.value.width < 0 ? 0 : Ve.value.width,
452
+ x: Ee.value.x,
453
+ width: Ee.value.width < 0 ? 0 : Ee.value.width,
454
454
  height: Math.max(D.value.height, 0),
455
455
  y: 0,
456
456
  rx: C.minimapSelectionRadius,
457
- fill: He.value
458
- }, null, 8, Bo),
457
+ fill: Ve.value
458
+ }, null, 8, Fo),
459
459
  m("rect", {
460
- x: Ve.value.x,
461
- width: Ve.value.width < 0 ? 0 : Ve.value.width,
460
+ x: Ee.value.x,
461
+ width: Ee.value.width < 0 ? 0 : Ee.value.width,
462
462
  height: Math.max(D.value.height, 0),
463
463
  y: 0,
464
464
  fill: C.minimapSelectedColor,
@@ -466,13 +466,13 @@ const To = {
466
466
  style: $({
467
467
  opacity: C.minimapSelectedColorOpacity
468
468
  })
469
- }, null, 12, Fo),
469
+ }, null, 12, Wo),
470
470
  m("path", {
471
471
  d: `M${M.value.sliced[0].x},${Math.max(D.value.height, 0)} ${M.value.selectionSet} L${M.value.sliced.at(-1).x},${Math.max(D.value.height, 0)}Z`,
472
472
  fill: `url(#${ql.value})`,
473
473
  stroke: "none",
474
474
  style: { opacity: "1" }
475
- }, null, 8, Wo),
475
+ }, null, 8, Yo),
476
476
  m("path", {
477
477
  d: `M ${M.value.selectionSet}`,
478
478
  stroke: `${C.minimapLineColor}`,
@@ -480,25 +480,25 @@ const To = {
480
480
  "stroke-width": "2",
481
481
  "stroke-linecap": "round",
482
482
  "stroke-linejoin": "round"
483
- }, null, 8, Yo),
483
+ }, null, 8, Do),
484
484
  m("circle", {
485
485
  cx: M.value.firstPlot.x,
486
486
  cy: M.value.firstPlot.y,
487
487
  "stroke-width": "0.5",
488
- stroke: He.value,
488
+ stroke: Ve.value,
489
489
  r: "3",
490
490
  fill: C.minimapLineColor
491
- }, null, 8, Do),
491
+ }, null, 8, Xo),
492
492
  m("circle", {
493
493
  cx: M.value.lastPlot.x,
494
494
  cy: M.value.lastPlot.y,
495
495
  "stroke-width": "0.5",
496
- stroke: He.value,
496
+ stroke: Ve.value,
497
497
  r: "3",
498
498
  fill: C.minimapLineColor
499
- }, null, 8, Xo),
500
- se.value !== null ? (u(!0), s(f, { key: 0 }, L(Hl.value, (A, q) => (u(), s("g", null, [
501
- se.value === A && A >= C.valueStart && A < C.valueEnd ? (u(), s("line", {
499
+ }, null, 8, Go),
500
+ se.value !== null ? (i(!0), s(f, { key: 0 }, L(Hl.value, (A, q) => (i(), s("g", null, [
501
+ se.value === A && A >= C.valueStart && A < C.valueEnd ? (i(), s("line", {
502
502
  key: 0,
503
503
  x1: ge.value * q + ge.value / 2,
504
504
  x2: ge.value * q + ge.value / 2,
@@ -508,9 +508,9 @@ const To = {
508
508
  "stroke-linecap": "round",
509
509
  "stroke-dasharray": "2",
510
510
  "stroke-width": "1"
511
- }, null, 8, Go)) : h("", !0)
511
+ }, null, 8, Uo)) : h("", !0)
512
512
  ]))), 256)) : h("", !0),
513
- (u(!0), s(f, null, L(Hl.value, (A, q) => (u(), s("rect", {
513
+ (i(!0), s(f, null, L(Hl.value, (A, q) => (i(), s("rect", {
514
514
  x: ge.value * q,
515
515
  y: 0,
516
516
  height: Math.max(D.value.height, 0),
@@ -525,12 +525,12 @@ const To = {
525
525
  onMouseleave: g[2] || (g[2] = (Ie) => {
526
526
  se.value = null, fe("trapMouse", null);
527
527
  })
528
- }, null, 44, Uo))), 256))
529
- ], 8, No))
528
+ }, null, 44, Zo))), 256))
529
+ ], 8, Ro))
530
530
  ])) : h("", !0),
531
531
  g[14] || (g[14] = m("div", { class: "slider-track" }, null, -1)),
532
532
  m("div", {
533
- class: Re({
533
+ class: Pe({
534
534
  "range-highlight": !0,
535
535
  move: C.enableSelectionDrag
536
536
  }),
@@ -541,12 +541,12 @@ const To = {
541
541
  cursor: fl.value ? "grabbing" : "grab"
542
542
  })
543
543
  }, null, 38),
544
- C.enableRangeHandles ? Bt((u(), s("input", {
544
+ C.enableRangeHandles ? Bt((i(), s("input", {
545
545
  ref_key: "rangeStart",
546
546
  ref: Cl,
547
547
  key: `range-min${Vl.value}`,
548
548
  type: "range",
549
- class: Re({ "range-left": !0, "range-handle": !0, "range-minimap": Sl.value && C.verticalHandles }),
549
+ class: Pe({ "range-left": !0, "range-handle": !0, "range-minimap": Sl.value && C.verticalHandles }),
550
550
  min: C.min,
551
551
  max: C.max,
552
552
  "onUpdate:modelValue": g[5] || (g[5] = (A) => $l.value = A),
@@ -554,20 +554,20 @@ const To = {
554
554
  onMouseenter: g[6] || (g[6] = (A) => zl("start")),
555
555
  onPointermove: g[7] || (g[7] = (A) => $l.value = +A.target.value),
556
556
  onPointerup: Kl
557
- }, null, 42, Zo)), [
557
+ }, null, 42, qo)), [
558
558
  [
559
- ba,
559
+ pa,
560
560
  $l.value,
561
561
  void 0,
562
562
  { number: !0 }
563
563
  ]
564
564
  ]) : h("", !0),
565
- C.enableRangeHandles ? Bt((u(), s("input", {
565
+ C.enableRangeHandles ? Bt((i(), 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": Sl.value && C.verticalHandles }),
570
+ class: Pe({ "range-right": !0, "range-handle": !0, "range-minimap": Sl.value && C.verticalHandles }),
571
571
  min: C.min,
572
572
  max: C.max,
573
573
  "onUpdate:modelValue": g[8] || (g[8] = (A) => _l.value = A),
@@ -575,19 +575,19 @@ const To = {
575
575
  onMouseenter: g[9] || (g[9] = (A) => zl("end")),
576
576
  onPointermove: g[10] || (g[10] = (A) => _l.value = +A.target.value),
577
577
  onPointerup: Kl
578
- }, null, 42, qo)), [
578
+ }, null, 42, Jo)), [
579
579
  [
580
- ba,
580
+ pa,
581
581
  _l.value,
582
582
  void 0,
583
583
  { number: !0 }
584
584
  ]
585
585
  ]) : h("", !0),
586
- Z.value.left ? (u(), s("div", {
586
+ Z.value.left ? (i(), s("div", {
587
587
  key: 3,
588
588
  ref_key: "tooltipLeft",
589
589
  ref: b,
590
- class: Re({
590
+ class: Pe({
591
591
  "range-tooltip": !0,
592
592
  "range-tooltip-visible": Ze.value,
593
593
  "range-tooltip-arrow": ye.value.arrowLeft && !C.verticalHandles,
@@ -597,15 +597,15 @@ const To = {
597
597
  left: ye.value.tooltipLeft,
598
598
  color: v(je)(C.selectColor),
599
599
  backgroundColor: C.selectColor,
600
- border: `1px solid ${He.value}`,
601
- zIndex: `${$e.value + 4}`,
600
+ border: `1px solid ${Ve.value}`,
601
+ zIndex: `${_e.value + 4}`,
602
602
  visibility: me.value || Z.value.left === Z.value.right ? "hidden" : "visible"
603
603
  })
604
604
  }, ae(Z.value.left), 7)) : h("", !0),
605
- (me.value || Z.value.left === Z.value.right) && (Z.value.left || Z.value.right) ? (u(), s("div", {
605
+ (me.value || Z.value.left === Z.value.right) && (Z.value.left || Z.value.right) ? (i(), s("div", {
606
606
  key: 4,
607
607
  ref: "tooltipMerge",
608
- class: Re({
608
+ class: Pe({
609
609
  "range-tooltip": !0,
610
610
  "range-tooltip-visible": Ze.value,
611
611
  "range-tooltip-arrow": !0,
@@ -617,15 +617,15 @@ const To = {
617
617
  width: k.value.width + "px",
618
618
  color: v(je)(C.selectColor),
619
619
  backgroundColor: C.selectColor,
620
- border: `1px solid ${He.value}`,
620
+ border: `1px solid ${Ve.value}`,
621
621
  zIndex: "4"
622
622
  })
623
623
  }, ae(Z.value.left === Z.value.right ? Z.value.left : `${Z.value.left} - ${Z.value.right}`), 7)) : h("", !0),
624
- Z.value.right ? (u(), s("div", {
624
+ Z.value.right ? (i(), s("div", {
625
625
  key: 5,
626
626
  ref_key: "tooltipRight",
627
627
  ref: w,
628
- class: Re({
628
+ class: Pe({
629
629
  "range-tooltip": !0,
630
630
  "range-tooltip-visible": Ze.value,
631
631
  "range-tooltip-arrow": ye.value.arrowRight && !C.verticalHandles,
@@ -635,7 +635,7 @@ const To = {
635
635
  left: ye.value.tooltipRight,
636
636
  color: v(je)(C.selectColor),
637
637
  backgroundColor: C.selectColor,
638
- border: `1px solid ${He.value}`,
638
+ border: `1px solid ${Ve.value}`,
639
639
  zIndex: "4",
640
640
  visibility: me.value || Z.value.left === Z.value.right ? "hidden" : "visible"
641
641
  })
@@ -643,51 +643,51 @@ const To = {
643
643
  ], 544)
644
644
  ], 544));
645
645
  }
646
- }, Ko = /* @__PURE__ */ La(Jo, [["__scopeId", "data-v-c4fe0873"]]), Qo = ["id"], jo = ["viewBox", "aria-label"], eu = ["x", "y", "width", "height"], lu = { key: 1 }, tu = { class: "vue-ui-xy-grid" }, au = ["stroke", "x1", "x2", "y1", "y2"], ou = ["stroke", "x1", "x2", "y1", "y2"], uu = { key: 1 }, iu = ["x1", "x2", "y1", "y2", "stroke"], su = ["x1", "x2", "y1", "y2", "stroke"], nu = ["x1", "x2", "y1", "y2", "stroke"], ru = { key: 3 }, cu = ["d", "stroke"], vu = { key: 4 }, du = ["d", "stroke"], hu = ["id"], fu = ["stop-color"], gu = ["stop-color"], mu = ["stop-color"], xu = ["id"], bu = ["stop-color"], pu = ["stop-color"], yu = ["stop-color"], ku = ["id"], wu = ["stop-color"], Su = ["stop-color"], $u = ["id"], _u = ["stop-color"], Lu = ["stop-color"], Mu = ["id"], Au = ["stop-color"], Cu = ["stop-color"], zu = ["x", "y", "height", "width", "fill"], Tu = ["x", "y", "width"], Iu = { key: 0 }, Ou = ["x", "y", "height", "width", "fill"], Nu = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ru = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Pu = ["width", "x", "y"], Hu = { key: 0 }, Vu = ["id"], Eu = ["fill"], Bu = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Fu = ["x", "y", "font-size", "fill"], Wu = ["stroke", "x1", "x2", "y1", "y2"], Yu = { key: 3 }, Du = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Xu = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Gu = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Uu = ["fill", "font-size", "transform"], Zu = ["x1", "x2", "y1", "y2", "stroke"], qu = ["x", "y", "font-size", "fill"], Ju = ["x1", "x2", "y1", "y2", "stroke"], Ku = ["x", "y", "font-size", "fill"], Qu = ["width", "x", "y"], ju = { style: { width: "100%" } }, ei = { key: 0 }, li = ["id"], ti = ["fill"], ai = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], oi = ["x", "y", "font-size", "fill"], ui = ["d", "stroke", "stroke-width", "stroke-dasharray"], ii = ["d", "stroke", "stroke-width", "stroke-dasharray"], si = { key: 6 }, ni = { key: 0 }, ri = ["d", "fill"], ci = ["d", "fill"], vi = ["d", "fill"], di = ["d", "fill"], hi = ["d", "stroke", "stroke-width", "stroke-dasharray"], fi = ["d", "stroke", "stroke-width", "stroke-dasharray"], gi = ["width", "x", "y"], mi = { style: { width: "100%" } }, xi = { key: 3 }, bi = ["id"], pi = ["fill"], yi = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ki = ["x", "y", "font-size", "fill"], wi = { key: 7 }, Si = ["x", "y", "font-size", "fill"], $i = ["x", "y", "font-size", "fill", "font-weight"], _i = { key: 8 }, Li = ["x", "y", "font-size", "fill"], Mi = { key: 9 }, Ai = ["x", "y"], Ci = ["innerHTML"], zi = ["x", "y"], Ti = ["innerHTML"], Ii = ["x1", "x2", "y1", "y2", "stroke"], Oi = { key: 10 }, Ni = ["x", "y", "font-size", "fill"], Ri = { key: 11 }, Pi = ["x", "y"], Hi = ["innerHTML"], Vi = ["x", "y"], Ei = ["innerHTML"], Bi = ["x1", "x2", "y1", "y2", "stroke"], Fi = ["x", "y", "font-size", "fill", "innerHTML"], Wi = ["x", "y", "font-size", "fill", "innerHTML"], Yi = ["x", "y", "font-size", "fill", "innerHTML"], Di = ["x", "y", "font-size", "fill", "innerHTML"], Xi = ["id"], Gi = ["stop-color"], Ui = ["stop-color"], Zi = ["x", "y", "width", "height", "fill", "onMouseenter"], qi = ["font-size", "fill", "transform"], Ji = ["x", "y", "font-size", "fill"], Ki = ["text-anchor", "font-size", "fill", "transform", "onClick"], Qi = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], ji = { key: 14 }, es = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], ls = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], ts = ["y", "x", "width", "height", "fill"], as = ["id", "x", "y", "font-size", "fill", "text-anchor"], os = {
646
+ }, Qo = /* @__PURE__ */ Ma(Ko, [["__scopeId", "data-v-c4fe0873"]]), jo = ["id"], eu = ["viewBox", "aria-label"], lu = ["x", "y", "width", "height"], tu = { key: 1 }, au = { class: "vue-ui-xy-grid" }, ou = ["stroke", "x1", "x2", "y1", "y2"], uu = ["stroke", "x1", "x2", "y1", "y2"], iu = { key: 1 }, su = ["x1", "x2", "y1", "y2", "stroke"], nu = ["x1", "x2", "y1", "y2", "stroke"], ru = ["x1", "x2", "y1", "y2", "stroke"], cu = { key: 3 }, vu = ["d", "stroke"], du = { key: 4 }, hu = ["d", "stroke"], fu = ["id"], gu = ["stop-color"], mu = ["stop-color"], xu = ["stop-color"], bu = ["id"], pu = ["stop-color"], yu = ["stop-color"], ku = ["stop-color"], wu = ["id"], Su = ["stop-color"], $u = ["stop-color"], _u = ["id"], Lu = ["stop-color"], Mu = ["stop-color"], Au = ["id"], Cu = ["stop-color"], zu = ["stop-color"], Tu = ["x", "y", "height", "width", "fill"], Iu = ["x", "y", "width"], Ou = { key: 0 }, Nu = ["x", "y", "height", "width", "fill"], Ru = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Pu = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Hu = ["width", "x", "y"], Vu = { key: 0 }, Eu = ["id"], Bu = ["fill"], Fu = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Wu = ["x", "y", "font-size", "fill"], Yu = ["stroke", "x1", "x2", "y1", "y2"], Du = { key: 3 }, Xu = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Gu = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Uu = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Zu = ["fill", "font-size", "transform"], qu = ["x1", "x2", "y1", "y2", "stroke"], Ju = ["x", "y", "font-size", "fill"], Ku = ["x1", "x2", "y1", "y2", "stroke"], Qu = ["x", "y", "font-size", "fill"], ju = ["width", "x", "y"], ei = { style: { width: "100%" } }, li = { key: 0 }, ti = ["id"], ai = ["fill"], oi = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ui = ["x", "y", "font-size", "fill"], ii = ["d", "stroke", "stroke-width", "stroke-dasharray"], si = ["d", "stroke", "stroke-width", "stroke-dasharray"], ni = { key: 6 }, ri = { key: 0 }, ci = ["d", "fill"], vi = ["d", "fill"], di = ["d", "fill"], hi = ["d", "fill"], fi = ["d", "stroke", "stroke-width", "stroke-dasharray"], gi = ["d", "stroke", "stroke-width", "stroke-dasharray"], mi = ["width", "x", "y"], xi = { style: { width: "100%" } }, bi = { key: 3 }, pi = ["id"], yi = ["fill"], ki = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], wi = ["x", "y", "font-size", "fill"], Si = { key: 7 }, $i = ["x", "y", "font-size", "fill"], _i = ["x", "y", "font-size", "fill", "font-weight"], Li = { key: 8 }, Mi = ["x", "y", "font-size", "fill"], Ai = { key: 9 }, Ci = ["x", "y"], zi = ["innerHTML"], Ti = ["x", "y"], Ii = ["innerHTML"], Oi = ["x1", "x2", "y1", "y2", "stroke"], Ni = { key: 10 }, Ri = ["x", "y", "font-size", "fill"], Pi = { key: 11 }, Hi = ["x", "y"], Vi = ["innerHTML"], Ei = ["x", "y"], Bi = ["innerHTML"], Fi = ["x1", "x2", "y1", "y2", "stroke"], Wi = ["x", "y", "font-size", "fill", "innerHTML"], Yi = ["x", "y", "font-size", "fill", "innerHTML"], Di = ["x", "y", "font-size", "fill", "innerHTML"], Xi = ["x", "y", "font-size", "fill", "innerHTML"], Gi = ["id"], Ui = ["stop-color"], Zi = ["stop-color"], qi = ["x", "y", "width", "height", "fill", "onMouseenter"], Ji = ["font-size", "fill", "transform"], Ki = ["x", "y", "font-size", "fill"], Qi = ["text-anchor", "font-size", "fill", "transform", "onClick"], ji = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], es = { key: 14 }, ls = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], ts = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], as = ["y", "x", "width", "height", "fill"], os = ["id", "x", "y", "font-size", "fill", "text-anchor"], us = {
647
647
  key: 15,
648
648
  style: { "pointer-events": "none" }
649
- }, us = ["x", "y"], is = ["cx", "cy", "r", "fill"], ss = {
649
+ }, is = ["x", "y"], ss = ["cx", "cy", "r", "fill"], ns = {
650
650
  key: 4,
651
651
  class: "vue-data-ui-watermark"
652
- }, ns = {
652
+ }, rs = {
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
- }, rs = ["fill"], cs = ["innerHTML"], vs = {
657
+ }, cs = ["fill"], vs = ["innerHTML"], ds = {
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
- }, ds = ["fill"], hs = ["innerHTML"], fs = {
662
+ }, hs = ["fill"], fs = ["innerHTML"], gs = {
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
- }, gs = ["fill"], ms = ["innerHTML"], xs = {
667
+ }, ms = ["fill"], xs = ["innerHTML"], bs = {
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
- }, bs = ["fill"], ps = ["innerHTML"], ys = ["onClick"], ks = {
672
+ }, ps = ["fill"], ys = ["innerHTML"], ks = ["onClick"], ws = {
673
673
  key: 0,
674
674
  viewBox: "0 0 20 12",
675
675
  height: "14",
676
676
  width: "20"
677
- }, ws = ["stroke", "fill"], Ss = {
677
+ }, Ss = ["stroke", "fill"], $s = {
678
678
  key: 1,
679
679
  viewBox: "0 0 40 40",
680
680
  height: "14",
681
681
  width: "14"
682
- }, $s = ["fill"], _s = ["fill"], Ls = {
682
+ }, _s = ["fill"], Ls = ["fill"], Ms = {
683
683
  key: 2,
684
684
  viewBox: "0 0 12 12",
685
685
  height: "14",
686
686
  width: "14"
687
- }, Ms = {
687
+ }, As = {
688
688
  style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
689
689
  "data-dom-to-png-ignore": ""
690
- }, As = ["innerHTML"], Cs = {
690
+ }, Cs = ["innerHTML"], zs = {
691
691
  __name: "vue-ui-xy",
692
692
  props: {
693
693
  config: {
@@ -708,8 +708,8 @@ const To = {
708
708
  }
709
709
  },
710
710
  emits: ["selectTimeLabel", "selectX", "selectLegend"],
711
- setup(C, { expose: Ct, emit: zt }) {
712
- const d = C, Pe = yl(() => import("./DataTable-DS3KWyd9.js")), ie = yl(() => import("./Tooltip-Ccrc8V99.js")), re = yl(() => import("./UserOptions-B3sujtRb.js")), Sl = yl(() => import("./BaseIcon-DNo7kjXj.js")), ql = yl(() => import("./vue-ui-table-sparkline-CYsSg1z9.js")), Pl = yl(() => import("./vue-ui-accordion-CtOEIleg.js")), $l = yl(() => import("./PackageVersion-DSFdazAW.js")), _l = yl(() => import("./PenAndPaper-CB61YgV9.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(() => ({
711
+ setup(C, { expose: zt, emit: Tt }) {
712
+ const d = C, He = yl(() => import("./DataTable-awPoVqrs.js")), ie = yl(() => import("./Tooltip-DgVlOrus.js")), re = yl(() => import("./UserOptions-CyxK5Q-5.js")), Sl = yl(() => import("./BaseIcon-BU1qUe7c.js")), ql = yl(() => import("./vue-ui-table-sparkline-DYla4bRO.js")), Pl = yl(() => import("./vue-ui-accordion-B3qWFvj-.js")), $l = yl(() => import("./PackageVersion-bvIGp0Wr.js")), _l = yl(() => import("./PenAndPaper-CDiJnTx6.js")), dl = Tt, Jl = ja(), Kl = eo(), { vue_ui_xy: Ql } = so(), fe = p(null), ye = p(null), ze = p(null), el = p(null), Ll = p(null), Ml = p(null), It = p(null), Ve = p(null), Hl = p(null), nl = p(null), Al = p(null), D = p(null), ll = p(null), ge = p(0), M = p(null), Ee = 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([]), j = p(Lt()), rt = p(0), ct = p(0), jl = p(0), Ae = p(!0), Be = p(0), z = p(null), Ue = p(!1), Bl = p(!0), Fl = p(!0), Se = p(null), Fe = p({}), Wl = p(null), S = p(null), vt = y(() => ({
713
713
  height: se.value,
714
714
  width: ne.value
715
715
  })), fl = d.config.downsample && d.config.downsample.threshold ? d.config.downsample.threshold : 500, b = p({
@@ -723,8 +723,8 @@ const To = {
723
723
  yAxis: 12,
724
724
  dataLabels: 20,
725
725
  plotLabels: 10
726
- }), Ae = p({ plot: 3, line: 3 });
727
- Lt(() => {
726
+ }), $e = p({ plot: 3, line: 3 });
727
+ Mt(() => {
728
728
  d.dataset.length && d.dataset.forEach((t, c) => {
729
729
  [null, void 0].includes(t.series) && Vt({
730
730
  componentName: "VueUiXy",
@@ -747,10 +747,10 @@ const To = {
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
749
  ...Et({
750
- userConfig: po.vue_ui_xy[t.theme] || d.config,
750
+ userConfig: yo.vue_ui_xy[t.theme] || d.config,
751
751
  defaultConfig: t
752
752
  }),
753
- customPalette: bo[t.theme] || d.palette
753
+ customPalette: po[t.theme] || d.palette
754
754
  } : t;
755
755
  }
756
756
  const Ze = y({
@@ -760,8 +760,8 @@ const To = {
760
760
  set(t) {
761
761
  return t;
762
762
  }
763
- }), e = p(gl()), { loading: xe, FINAL_DATASET: $e, manualLoading: zl } = $o({
764
- ...eo(d),
763
+ }), e = p(gl()), { loading: xe, FINAL_DATASET: _e, manualLoading: zl } = _o({
764
+ ...lo(d),
765
765
  FINAL_CONFIG: e,
766
766
  prepareConfig: gl,
767
767
  callback: () => {
@@ -784,7 +784,7 @@ const To = {
784
784
  color: "#CACACA"
785
785
  }
786
786
  ],
787
- skeletonConfig: so({
787
+ skeletonConfig: no({
788
788
  defaultConfig: e.value,
789
789
  userConfig: {
790
790
  useCssAnimation: !1,
@@ -843,19 +843,19 @@ const To = {
843
843
  }
844
844
  })
845
845
  }), me = y({
846
- get: () => Math.max(...$e.value.map((t) => ul({ data: t.series, threshold: fl }).length)),
846
+ get: () => Math.max(..._e.value.map((t) => ul({ data: t.series, threshold: fl }).length)),
847
847
  set: (t) => t
848
848
  }), k = p({ start: 0, end: me.value }), Z = p({ start: 0, end: me.value }), x = y(() => e.value.chart.zoom.preview.enable && (Z.value.start !== k.value.start || Z.value.end !== k.value.end));
849
849
  function g(t, c) {
850
850
  Z.value[t] = c;
851
851
  }
852
852
  const A = y(() => {
853
- const { left: t, top: c, width: l, height: i } = r.value, a = k.value.start, o = k.value.end - a, H = l / o, X = Z.value.start - a, G = Z.value.end - a, T = Math.max(0, Math.min(o, X)), R = Math.max(0, Math.min(o, G));
853
+ const { left: t, top: c, width: l, height: u } = r.value, a = k.value.start, o = k.value.end - a, H = l / o, X = Z.value.start - a, G = Z.value.end - a, I = Math.max(0, Math.min(o, X)), R = Math.max(0, Math.min(o, G));
854
854
  return {
855
- x: t + T * H,
855
+ x: t + I * H,
856
856
  y: c,
857
- width: (R - T) * H,
858
- height: i,
857
+ width: (R - I) * H,
858
+ height: u,
859
859
  fill: e.value.chart.zoom.preview.fill,
860
860
  stroke: e.value.chart.zoom.preview.stroke,
861
861
  "stroke-width": e.value.chart.zoom.preview.strokeWidth,
@@ -877,41 +877,46 @@ const To = {
877
877
  const c = t - k.value.start;
878
878
  c < 0 || t >= k.value.end ? S.value = null : S.value = c ?? null;
879
879
  }, { immediate: !0 });
880
- const { isPrinting: q, isImaging: Ie, generatePdf: ml, generateImage: dt } = So({
881
- elementId: `vue-ui-xy_${Q.value}`,
880
+ const { isPrinting: q, isImaging: Ie, generatePdf: ml, generateImage: dt } = $o({
881
+ elementId: `vue-ui-xy_${j.value}`,
882
882
  fileName: e.value.chart.title.text || "vue-ui-xy",
883
883
  options: e.value.chart.userOptions.print
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(() => {
884
+ }), Ot = p(!1), ht = y(() => ro(e.value.customPalette)), Yl = y(() => {
885
885
  if (e.value.chart.grid.labels.yAxis.scaleMin !== null)
886
886
  return e.value.chart.grid.labels.yAxis.scaleMin;
887
887
  const t = Math.min(...cl.value.filter((c) => !oe.value.includes(c.id)).map((c) => Math.min(...c.series)));
888
888
  return t > 0 ? 0 : t;
889
- }), qe = y(() => e.value.chart.grid.labels.yAxis.useNiceScale ? st(Ot.value, Yl.value < 0 ? 0 : Yl.value, e.value.chart.grid.labels.yAxis.commonScaleSteps) : Nl(Ot.value, Yl.value < 0 ? 0 : Yl.value, e.value.chart.grid.labels.yAxis.commonScaleSteps)), et = y(() => [null, void 0].includes(e.value.chart.grid.labels.yAxis.scaleMin) ? qe.value.min >= 0 ? 0 : Math.abs(qe.value.min) : -qe.value.min), cl = y(() => Ve.value ? $e.value.map((t, c) => {
889
+ }), ft = y(() => {
890
+ if (e.value.chart.grid.labels.yAxis.scaleMax)
891
+ return e.value.chart.grid.labels.yAxis.scaleMax;
892
+ const t = Math.max(...cl.value.filter((c) => !oe.value.includes(c.id)).map((c) => Math.max(...c.series)));
893
+ return Yl.value === t ? t + 1 : t;
894
+ }), qe = y(() => e.value.chart.grid.labels.yAxis.useNiceScale ? st(Yl.value, ft.value < 0 ? 0 : ft.value, e.value.chart.grid.labels.yAxis.commonScaleSteps) : Nl(Yl.value, ft.value < 0 ? 0 : ft.value, e.value.chart.grid.labels.yAxis.commonScaleSteps)), et = y(() => [null, void 0].includes(e.value.chart.grid.labels.yAxis.scaleMin) ? qe.value.min >= 0 ? 0 : Math.abs(qe.value.min) : -qe.value.min), cl = y(() => Ee.value ? _e.value.map((t, c) => {
890
895
  const l = ul({
891
896
  data: t.series,
892
897
  threshold: e.value.downsample.threshold
893
- }), i = `uniqueId_${c}`;
898
+ }), u = `uniqueId_${c}`;
894
899
  return {
895
900
  ...t,
896
901
  slotAbsoluteIndex: 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
- id: i,
900
- scaleLabel: t.scaleLabel || i
902
+ series: l.map((a) => St(a) ? a : null).slice(k.value.start, k.value.end),
903
+ color: co(t.color ? t.color : ht.value[c] ? ht.value[c] : vo[c]),
904
+ id: u,
905
+ scaleLabel: t.scaleLabel || u
901
906
  };
902
- }) : $e.value), tl = y(() => cl.value.map((t, c) => ({
907
+ }) : _e.value), tl = y(() => cl.value.map((t, c) => ({
903
908
  absoluteIndex: c,
904
909
  ...t,
905
910
  series: t.series.map((l) => l + et.value),
906
911
  absoluteValues: t.series,
907
912
  segregate: () => aa(t),
908
913
  isSegregated: oe.value.includes(t.id)
909
- }))), Fe = y(() => cl.value.map((t, c) => ({
914
+ }))), We = y(() => cl.value.map((t, c) => ({
910
915
  ...t,
911
916
  series: t.series.map((l) => l + et.value),
912
917
  absoluteValues: t.series
913
918
  })).filter((t) => !oe.value.includes(t.id)));
914
- function Ma() {
919
+ function Aa() {
915
920
  let t = 0;
916
921
  Al.value && (t = Array.from(Al.value.querySelectorAll("text")).reduce((a, n) => {
917
922
  const o = n.getComputedTextLength();
@@ -920,14 +925,14 @@ const To = {
920
925
  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
926
  return t + c + l;
922
927
  }
923
- const Nt = p(0), Aa = Ft((t) => {
928
+ const Nt = p(0), Ca = Ft((t) => {
924
929
  Nt.value = t;
925
930
  }, 100);
926
- lo((t) => {
931
+ to((t) => {
927
932
  const c = nl.value;
928
933
  if (!c) return;
929
- const l = new ResizeObserver((i) => {
930
- Aa(i[0].contentRect.height);
934
+ const l = new ResizeObserver((u) => {
935
+ Ca(u[0].contentRect.height);
931
936
  });
932
937
  l.observe(c), t(() => l.disconnect());
933
938
  }), nt(() => {
@@ -935,22 +940,22 @@ const To = {
935
940
  });
936
941
  const Wt = y(() => {
937
942
  let t = 0;
938
- He.value && (t = He.value.getBBox().height);
943
+ Ve.value && (t = Ve.value.getBBox().height);
939
944
  let c = 0;
940
945
  return nl.value && (c = Nt.value), t + c + w.value.xAxis;
941
- }), Ca = y(() => $e.value.some((t) => t.useProgression)), r = y(() => {
946
+ }), za = y(() => _e.value.some((t) => t.useProgression)), r = y(() => {
942
947
  let t = 0;
943
948
  const c = 36;
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;
949
+ 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 = Aa());
950
+ const l = e.value.chart.labels.fontSize * 1.1, u = za.value ? 24 : 6;
946
951
  if (nl.value) {
947
952
  const o = nl.value.getBBox().x;
948
953
  o < 0 && (t += Math.abs(o));
949
954
  }
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;
955
+ const a = ne.value - t - e.value.chart.grid.labels.yAxis.crosshairSize - u - e.value.chart.padding.left - e.value.chart.padding.right, n = e.value.chart.grid.position === "middle" ? 0 : a / _.value / 2;
951
956
  return {
952
957
  top: e.value.chart.padding.top + l,
953
- right: ne.value - i - e.value.chart.padding.right,
958
+ right: ne.value - u - e.value.chart.padding.right,
954
959
  bottom: se.value - Wt.value - e.value.chart.padding.bottom - e.value.chart.grid.labels.axis.xLabelOffsetY,
955
960
  left: t + e.value.chart.grid.labels.yAxis.crosshairSize - n + e.value.chart.padding.left,
956
961
  height: se.value - Wt.value - e.value.chart.padding.top - e.value.chart.padding.bottom - l - e.value.chart.grid.labels.axis.xLabelOffsetY,
@@ -958,36 +963,36 @@ const To = {
958
963
  scaleLabelX: t,
959
964
  individualOffsetX: c
960
965
  };
961
- }), za = y(() => {
962
- const t = e.value.chart.grid.position === "middle" ? 1 : 0, c = _.value + t, l = Y(r.value.top), i = Y(r.value.bottom);
966
+ }), Ta = y(() => {
967
+ const t = e.value.chart.grid.position === "middle" ? 1 : 0, c = _.value + t, l = Y(r.value.top), u = Y(r.value.bottom);
963
968
  return Array.from({ length: c }).map((a, n) => {
964
969
  const o = r.value.width / _.value * n + r.value.left + le.value;
965
- return `M${o},${l} L${o},${i}`;
970
+ return `M${o},${l} L${o},${u}`;
966
971
  }).join(" ");
967
- }), Ta = y(() => {
972
+ }), Ia = y(() => {
968
973
  if (!e.value.chart.grid.labels.xAxis.showCrosshairs)
969
974
  return "";
970
975
  const {
971
976
  showOnlyAtModulo: t,
972
977
  showOnlyFirstAndLast: c,
973
978
  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((k.value.end - k.value.start) / i);
975
- return j.value.map((n, o) => {
979
+ } = e.value.chart.grid.labels.xAxisLabels, u = 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) / u);
980
+ return J.value.map((n, o) => {
976
981
  if (!n) return null;
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))
982
+ const H = t && _.value <= u, 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;
983
+ if (!(H || X || G || I || R))
979
984
  return null;
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}`;
985
+ const U = r.value.width / _.value, O = 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 ? Le.value - (Le.value === r.value.bottom ? 0 : E / 2) : r.value.bottom, be = N ? Le.value + E / (Le.value === r.value.bottom ? 1 : 2) : r.value.bottom + E;
986
+ return `M${O},${ce} L${O},${be}`;
982
987
  }).filter((n) => n !== null).join(" ");
983
988
  });
984
989
  function Yt() {
985
990
  return !!Kl?.vnode.props?.onSelectTimeLabel;
986
991
  }
987
- function Ia(t, c, l) {
992
+ function Oa(t, c, l) {
988
993
  if (!Wl.value) {
989
- const i = document.createElement("canvas");
990
- Wl.value = i.getContext("2d");
994
+ const u = document.createElement("canvas");
995
+ Wl.value = u.getContext("2d");
991
996
  }
992
997
  return Wl.value.font = `normal ${t}px sans-serif`, Wl.value;
993
998
  }
@@ -995,8 +1000,8 @@ const To = {
995
1000
  const t = fe.value.querySelectorAll(".vue-ui-xy-tag");
996
1001
  t.length && Array.from(t).forEach((c) => c.style.opacity = "0");
997
1002
  }
998
- function ft(t, c, l, i, a) {
999
- l && (Be.value[`${t}_${c}_${i}_${a}`] = l);
1003
+ function gt(t, c, l, u, a) {
1004
+ l && (Fe.value[`${t}_${c}_${u}_${a}`] = l);
1000
1005
  }
1001
1006
  const Xt = p(!1);
1002
1007
  async function Gt(t = !1) {
@@ -1005,38 +1010,38 @@ const To = {
1005
1010
  function Rt() {
1006
1011
  hl.value = !hl.value;
1007
1012
  }
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({
1013
+ const J = y(() => {
1014
+ const t = Math.max(..._e.value.map((c) => ul({ data: c.series, threshold: e.value.downsample.threshold }).length));
1015
+ return La({
1011
1016
  values: e.value.chart.grid.labels.xAxisLabels.values,
1012
1017
  maxDatapoints: t,
1013
1018
  formatter: e.value.chart.grid.labels.xAxisLabels.datetimeFormatter,
1014
1019
  start: k.value.start,
1015
1020
  end: k.value.end
1016
1021
  });
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({
1022
+ }), Na = y(() => {
1023
+ const t = Math.max(..._e.value.map((c) => ul({ data: c.series, threshold: e.value.downsample.threshold }).length));
1024
+ return La({
1020
1025
  values: e.value.chart.grid.labels.xAxisLabels.values,
1021
1026
  maxDatapoints: t,
1022
1027
  formatter: e.value.chart.grid.labels.xAxisLabels.datetimeFormatter,
1023
1028
  start: 0,
1024
1029
  end: me.value
1025
1030
  });
1026
- }), gt = y(() => {
1031
+ }), mt = y(() => {
1027
1032
  const t = e.value.chart.grid.labels.xAxisLabels.modulo;
1028
- return j.value.length ? Math.min(t, [...new Set(j.value.map((c) => c.text))].length) : t;
1033
+ return J.value.length ? Math.min(t, [...new Set(J.value.map((c) => c.text))].length) : t;
1029
1034
  });
1030
1035
  function Ut(t, c) {
1031
- const l = Fe.value.map((i) => ({
1032
- shape: i.shape || null,
1033
- name: i.name,
1034
- color: i.color,
1035
- type: i.type,
1036
- value: i.absoluteValues.find((a, n) => n === c),
1037
- comments: i.comments || [],
1038
- prefix: i.prefix || e.value.chart.labels.prefix,
1039
- suffix: i.suffix || e.value.chart.labels.suffix
1036
+ const l = We.value.map((u) => ({
1037
+ shape: u.shape || null,
1038
+ name: u.name,
1039
+ color: u.color,
1040
+ type: u.type,
1041
+ value: u.absoluteValues.find((a, n) => n === c),
1042
+ comments: u.comments || [],
1043
+ prefix: u.prefix || e.value.chart.labels.prefix,
1044
+ suffix: u.suffix || e.value.chart.labels.suffix
1040
1045
  }));
1041
1046
  dl("selectTimeLabel", {
1042
1047
  datapoint: l,
@@ -1046,7 +1051,7 @@ const To = {
1046
1051
  }
1047
1052
  const _ = y(() => k.value.end - k.value.start);
1048
1053
  function Zt(t) {
1049
- O.value = t;
1054
+ z.value = t;
1050
1055
  }
1051
1056
  function qt() {
1052
1057
  b.value.isStacked = !b.value.isStacked, b.value.isStacked ? b.value.useIndividualScale = !0 : b.value.useIndividualScale = e.value.chart.grid.labels.yAxis.useIndividualScale;
@@ -1054,42 +1059,42 @@ const To = {
1054
1059
  function Pt(t) {
1055
1060
  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
1061
  }
1057
- function Na(t, c) {
1062
+ function Ra(t, c) {
1058
1063
  let l = Array(Math.abs(t)).fill(0);
1059
- for (let i = 0; i < c.length && i < t; i += 1)
1060
- l[i] = c[i];
1064
+ for (let u = 0; u < c.length && u < t; u += 1)
1065
+ l[u] = c[u];
1061
1066
  return l;
1062
1067
  }
1063
- function Ra(t) {
1064
- const c = Math.max(...$e.value.map((l) => ul({ data: l.series, threshold: e.value.downsample.threshold }).length));
1068
+ function Pa(t) {
1069
+ const c = Math.max(..._e.value.map((l) => ul({ data: l.series, threshold: e.value.downsample.threshold }).length));
1065
1070
  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
1071
  }
1067
1072
  async function Ht() {
1068
1073
  await Zl(), await Zl();
1069
- const { startIndex: t, endIndex: c } = e.value.chart.zoom, l = ze.value, i = Math.max(
1070
- ...$e.value.map(
1074
+ const { startIndex: t, endIndex: c } = e.value.chart.zoom, l = ze.value, u = Math.max(
1075
+ ..._e.value.map(
1071
1076
  (a) => ul({
1072
1077
  data: a.series,
1073
1078
  threshold: e.value.downsample.threshold
1074
1079
  }).length
1075
1080
  )
1076
1081
  );
1077
- (t != null || c != null) && l ? (t != null && l.setStartValue(t), c != null && l.setEndValue(Ra(c + 1))) : (k.value = { start: 0, end: i }, ge.value += 1), Z.value.start = k.value.start, Z.value.end = k.value.end;
1082
+ (t != null || c != null) && l ? (t != null && l.setStartValue(t), c != null && l.setEndValue(Pa(c + 1))) : (k.value = { start: 0, end: u }, ge.value += 1), Z.value.start = k.value.start, Z.value.end = k.value.end;
1078
1083
  }
1079
1084
  async function Jt() {
1080
1085
  await Ht();
1081
1086
  }
1082
- function We(t) {
1087
+ function Oe(t) {
1083
1088
  return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(t);
1084
1089
  }
1085
1090
  const Kt = y(() => qe.value.max + et.value);
1086
1091
  function Tl(t) {
1087
- return t / (We(Kt.value) ? Kt.value : 1);
1092
+ return t / (Oe(Kt.value) ? Kt.value : 1);
1088
1093
  }
1089
- const _e = y(() => isNaN(Tl(et.value)) ? r.value.bottom : r.value.bottom - r.value.height * Tl(et.value));
1094
+ const Le = y(() => isNaN(Tl(et.value)) ? r.value.bottom : r.value.bottom - r.value.height * Tl(et.value));
1090
1095
  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
- 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);
1096
+ const c = ![null, void 0].includes(e.value.chart.grid.labels.yAxis.scaleMin) && e.value.chart.grid.labels.yAxis.scaleMin > 0 && Yl.value >= 0 ? r.value.bottom : Le.value;
1097
+ return t.value >= 0 ? V(c - t.y <= 0 ? 1e-5 : c - t.y) : V(t.y - Le.value <= 0 ? 1e-5 : t.y - Le.value);
1093
1098
  }
1094
1099
  function jt(t) {
1095
1100
  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);
@@ -1102,29 +1107,29 @@ const To = {
1102
1107
  function Dl() {
1103
1108
  return b.value.useIndividualScale && b.value.isStacked ? ue.value.line - r.value.width / _.value * 0.1 : ue.value.bar;
1104
1109
  }
1105
- function mt(t) {
1110
+ function xt(t) {
1106
1111
  return b.value.useIndividualScale && b.value.isStacked ? t.x + r.value.width / _.value * 0.05 : t.x + ue.value.bar / 2;
1107
1112
  }
1108
1113
  function ea(t) {
1109
- return t.value >= 0 ? t.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(_e.value) ? r.bottom.value : _e.value;
1114
+ return t.value >= 0 ? t.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(Le.value) ? r.bottom.value : Le.value;
1110
1115
  }
1111
1116
  function la(t) {
1112
1117
  return t.value >= 0 ? t.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(t.zeroPosition) ? 0 : t.zeroPosition;
1113
1118
  }
1114
1119
  const lt = p(null);
1115
- function Pa(t) {
1120
+ function Ha(t) {
1116
1121
  if (hl.value) return;
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 ? lt.value !== H && (lt.value = H, va(!0, H)) : ta();
1122
+ const c = Se.value.getBoundingClientRect(), u = Se.value.viewBox.baseVal.width / c.width, n = (t.clientX - c.left) * u - r.value.left, o = r.value.width / _.value, H = Math.floor(n / o);
1123
+ H >= 0 && H < _.value ? lt.value !== H && (lt.value = H, da(!0, H)) : ta();
1119
1124
  }
1120
1125
  function ta() {
1121
- lt.value = null, va(!1, null);
1126
+ lt.value = null, da(!1, null);
1122
1127
  }
1123
- function Ha() {
1124
- lt.value != null && Va(lt.value);
1128
+ function Va() {
1129
+ lt.value != null && Ea(lt.value);
1125
1130
  }
1126
- function Va(t) {
1127
- const c = Fe.value.map((l) => ({
1131
+ function Ea(t) {
1132
+ const c = We.value.map((l) => ({
1128
1133
  name: l.name,
1129
1134
  value: [null, void 0, NaN].includes(l.absoluteValues[t]) ? null : l.absoluteValues[t],
1130
1135
  color: l.color,
@@ -1139,7 +1144,7 @@ const To = {
1139
1144
  }
1140
1145
  ), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: c, seriesIndex: t + k.value.start });
1141
1146
  }
1142
- function Ea() {
1147
+ function Ba() {
1143
1148
  return tl.value.map((t) => ({
1144
1149
  values: t.absoluteValues,
1145
1150
  color: t.color,
@@ -1147,16 +1152,16 @@ const To = {
1147
1152
  type: t.type
1148
1153
  }));
1149
1154
  }
1150
- async function Ba({ scale: t = 2 } = {}) {
1155
+ async function Fa({ scale: t = 2 } = {}) {
1151
1156
  if (!fe.value) return;
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 });
1157
+ const { width: c, height: l } = fe.value.getBoundingClientRect(), u = c / l, { imageUri: a, base64: n } = await Ao({ domElement: fe.value, base64: !0, img: !0, scale: t });
1153
1158
  return {
1154
1159
  imageUri: a,
1155
1160
  base64: n,
1156
1161
  title: e.value.chart.title.text,
1157
1162
  width: c,
1158
1163
  height: l,
1159
- aspectRatio: i
1164
+ aspectRatio: u
1160
1165
  };
1161
1166
  }
1162
1167
  function aa(t) {
@@ -1166,19 +1171,19 @@ const To = {
1166
1171
  if (oe.value.length + 1 === cl.value.length) return;
1167
1172
  oe.value.push(t.id);
1168
1173
  }
1169
- dl("selectLegend", Fe.value.map((c) => ({
1174
+ dl("selectLegend", We.value.map((c) => ({
1170
1175
  name: c.name,
1171
1176
  values: c.absoluteValues,
1172
1177
  color: c.color,
1173
1178
  type: c.type
1174
- }))), Ee.value += 1;
1179
+ }))), Be.value += 1;
1175
1180
  }
1176
- const Fa = y(() => {
1181
+ const Wa = y(() => {
1177
1182
  const t = e.value.chart.title.text || "Chart visualization", c = e.value.chart.title.subtitle.text || "";
1178
1183
  return `${t}. ${c}`;
1179
1184
  }), oa = y(() => ({
1180
1185
  linePlot: _.value > e.value.line.dot.hideAboveMaxSerieLength
1181
- })), Wa = y(() => e.value.chart.userOptions.show && (!e.value.chart.title.show || !e.value.chart.title.text)), Ya = y(() => {
1186
+ })), Ya = y(() => e.value.chart.userOptions.show && (!e.value.chart.title.show || !e.value.chart.title.text)), Da = y(() => {
1182
1187
  if (Array.isArray(e.value.chart.highlightArea))
1183
1188
  return e.value.chart.highlightArea.map((c) => {
1184
1189
  const l = Math.min(c.to, me.value - 1);
@@ -1192,22 +1197,22 @@ const To = {
1192
1197
  to: Math.min(e.value.chart.highlightArea.to, me.value - 1)
1193
1198
  };
1194
1199
  return [{ ...t, span: t.from === t.to ? 1 : t.to < t.from ? 0 : t.to - t.from + 1 }];
1195
- }), Da = y(() => Ve.value ? $e.value.map((t, c) => ({
1200
+ }), Xa = y(() => Ee.value ? _e.value.map((t, c) => ({
1196
1201
  ...t,
1197
1202
  series: ul({
1198
1203
  data: t.series,
1199
1204
  threshold: e.value.downsample.threshold
1200
1205
  }),
1201
1206
  id: `uniqueId_${c}`
1202
- })) : $e.value), Xa = y(() => Fe.value.map((t) => {
1207
+ })) : _e.value), Ga = y(() => We.value.map((t) => {
1203
1208
  const c = t.absoluteValues.map((l) => [void 0, null].includes(l) ? 0 : l);
1204
1209
  return {
1205
1210
  id: t.id,
1206
1211
  name: t.name,
1207
1212
  color: t.color,
1208
- values: Na(_.value, c)
1213
+ values: Ra(_.value, c)
1209
1214
  };
1210
- })), Ga = y(() => ({
1215
+ })), Ua = y(() => ({
1211
1216
  responsiveBreakpoint: e.value.table.responsiveBreakpoint,
1212
1217
  roundingValues: e.value.table.rounding,
1213
1218
  showAverage: !1,
@@ -1216,7 +1221,7 @@ const To = {
1216
1221
  fontFamily: e.value.chart.fontFamily,
1217
1222
  prefix: e.value.chart.labels.prefix,
1218
1223
  suffix: e.value.chart.labels.suffix,
1219
- colNames: j.value.map((t) => t.text),
1224
+ colNames: J.value.map((t) => t.text),
1220
1225
  thead: {
1221
1226
  backgroundColor: e.value.table.th.backgroundColor,
1222
1227
  color: e.value.table.th.color,
@@ -1230,28 +1235,28 @@ const To = {
1230
1235
  userOptions: {
1231
1236
  show: !1
1232
1237
  }
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(() => {
1238
+ })), le = y(() => e.value.chart.grid.position === "middle" ? 0 : r.value.width / _.value / 2), Il = y(() => ho(tl.value.filter((t) => !oe.value.includes(t.id)))), T = y(() => {
1234
1239
  const t = Object.groupBy(Il.value, (l) => l.scaleLabel), c = {};
1235
- for (const [l, i] of Object.entries(t)) {
1236
- const a = i.flatMap((n) => n.absoluteValues);
1240
+ for (const [l, u] of Object.entries(t)) {
1241
+ const a = u.flatMap((n) => n.absoluteValues);
1237
1242
  c[l] = {
1238
1243
  min: Math.min(...a) || 0,
1239
1244
  max: Math.max(...a) || 1,
1240
- groupId: `scale_group_${_t()}`
1245
+ groupId: `scale_group_${Lt()}`
1241
1246
  };
1242
1247
  }
1243
1248
  return c;
1244
- }), Ua = y(() => {
1249
+ }), Za = y(() => {
1245
1250
  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 * Math.min(Math.abs(e.value.bar.innerGap), 0.95)), ua = y(() => {
1251
+ return r.value.width / _.value / t - bt.value * t;
1252
+ }), bt = y(() => ue.value.line * e.value.bar.periodGap), pt = y(() => Math.max(1e-5, Dl() - (b.value.useIndividualScale && b.value.isStacked ? 0 : bt.value))), yt = y(() => pt.value * Math.min(Math.abs(e.value.bar.innerGap), 0.95)), ua = y(() => {
1248
1253
  if (!e.value.chart.zoom.minimap.show) return [];
1249
- const t = Da.value.filter((a) => !oe.value.includes(a.id)), c = Math.max(...t.map((a) => a.series.length)), l = [];
1254
+ const t = Xa.value.filter((a) => !oe.value.includes(a.id)), c = Math.max(...t.map((a) => a.series.length)), l = [];
1250
1255
  for (let a = 0; a < c; a += 1)
1251
1256
  l.push(t.map((n) => n.series[a] || 0).reduce((n, o) => (n || 0) + (o || 0), 0));
1252
- const i = Math.min(...l);
1253
- return l.map((a) => a + (i < 0 ? Math.abs(i) : 0));
1254
- }), tt = y(() => Fe.value.map((t) => ({
1257
+ const u = Math.min(...l);
1258
+ return l.map((a) => a + (u < 0 ? Math.abs(u) : 0));
1259
+ }), tt = y(() => We.value.map((t) => ({
1255
1260
  slotAbsoluteIndex: t.slotAbsoluteIndex,
1256
1261
  shape: t.shape || null,
1257
1262
  name: t.name,
@@ -1262,66 +1267,72 @@ const To = {
1262
1267
  prefix: t.prefix || e.value.chart.labels.prefix,
1263
1268
  suffix: t.suffix || e.value.chart.labels.suffix
1264
1269
  }))), ia = y(() => qe.value.ticks.map((t) => ({
1265
- y: t >= 0 ? _e.value - r.value.height * Tl(t) : _e.value + r.value.height * Tl(Math.abs(t)),
1270
+ y: t >= 0 ? Le.value - r.value.height * Tl(t) : Le.value + r.value.height * Tl(Math.abs(t)),
1266
1271
  value: t,
1267
1272
  prefix: e.value.chart.labels.prefix,
1268
1273
  suffix: e.value.chart.labels.suffix
1269
1274
  }))), sa = y(() => {
1270
1275
  const t = e.value.chart.annotations;
1271
- if (!t || !Array.isArray(t) || t.every((T) => !T.show)) return [];
1276
+ if (!t || !Array.isArray(t) || t.every((I) => !I.show)) return [];
1272
1277
  const c = t.filter(
1273
- (T) => T.show && (T.yAxis.yTop != null || T.yAxis.yBottom != null)
1278
+ (I) => I.show && (I.yAxis.yTop != null || I.yAxis.yBottom != null)
1274
1279
  );
1275
1280
  if (!c.length) return [];
1276
- const { left: l, right: i } = r.value, a = _e.value, n = r.value.height, o = qe.value.min, X = qe.value.max - o, G = (T) => {
1277
- const R = (T - 0) / X;
1281
+ const { left: l, right: u } = r.value, a = Le.value, n = r.value.height, o = qe.value.min, X = qe.value.max - o, G = (I) => {
1282
+ const R = (I - 0) / X;
1278
1283
  return a - R * n;
1279
1284
  };
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;
1285
+ return c.map((I) => {
1286
+ const { yAxis: { yTop: R, yBottom: U, label: O } } = I, E = R != null && U != null && R !== U, N = R == null ? null : G(R), ce = U == null ? null : G(U), be = Oa(O.fontSize);
1287
+ be.font = `${O.fontSize}px sans-serif`;
1288
+ const te = be.measureText(O.text).width, Ye = O.fontSize, ol = (O.position === "start" ? l + O.padding.left : u - O.padding.right) + O.offsetX, Ne = (N != null && ce != null ? Math.min(N, ce) : N ?? ce) - O.fontSize / 3 + O.offsetY - O.padding.top;
1284
1289
  let F;
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;
1290
+ O.textAnchor === "middle" ? F = ol - te / 2 - O.padding.left : O.textAnchor === "end" ? F = ol - te - O.padding.right : F = ol - O.padding.left;
1291
+ const W = Ne - Ye * 0.75 - O.padding.top;
1287
1292
  return {
1288
1293
  show: ![N, ce, W].includes(NaN),
1289
- id: `annotation_y_${_t()}`,
1294
+ id: `annotation_y_${Lt()}`,
1290
1295
  hasArea: E,
1291
1296
  areaHeight: E ? Math.abs(N - ce) : 0,
1292
1297
  yTop: N,
1293
1298
  yBottom: ce,
1294
- config: T.yAxis,
1299
+ config: I.yAxis,
1295
1300
  x1: l,
1296
- x2: i,
1297
- _text: { x: ol, y: Oe },
1301
+ x2: u,
1302
+ _text: { x: ol, y: Ne },
1298
1303
  _box: {
1299
1304
  x: F,
1300
1305
  y: W,
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
1306
+ width: te + O.padding.left + O.padding.right,
1307
+ height: Ye + O.padding.top + O.padding.bottom,
1308
+ fill: O.backgroundColor,
1309
+ stroke: O.border.stroke,
1310
+ rx: O.border.rx,
1311
+ ry: O.border.ry,
1312
+ strokeWidth: O.border.strokeWidth
1308
1313
  }
1309
1314
  };
1310
1315
  });
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;
1316
+ });
1317
+ function na(t, c) {
1318
+ const l = t[c - 1], u = t[c + 1];
1319
+ let a = !!l && !!u && l.value == null && u.value == null || !l && !!u && u.value == null || !!l && !u && l.value == null;
1320
+ return Oe(t[c].value) && a;
1321
+ }
1322
+ const xl = y(() => {
1323
+ const t = Il.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), c = t.length, l = e.value.chart.grid.labels.yAxis.gap, u = b.value.isStacked, a = u ? l * (c - 1) : 0, n = r.value.height - a;
1313
1324
  return t.filter((o) => o.type === "bar").map((o, H) => {
1314
1325
  Pt(o);
1315
- const X = z.value[o.scaleLabel].min, G = z.value[o.scaleLabel].max;
1326
+ const X = T.value[o.scaleLabel].min, G = T.value[o.scaleLabel].max;
1316
1327
  o.absoluteValues.filter((B) => ![null, void 0].includes(B)).map((B) => (B - X) / (G - X));
1317
- const T = {
1328
+ const I = {
1318
1329
  valueMin: X,
1319
1330
  valueMax: G < 0 ? 0 : G
1320
1331
  }, R = {
1321
1332
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
1322
1333
  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, 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;
1334
+ }, U = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, O = 1.0000001, E = e.value.chart.grid.labels.yAxis.useNiceScale ? st(R.min, R.max === R.min ? R.max * O : R.max, U) : Nl(R.min, R.max === R.min ? R.max * O : R.max, U), N = e.value.chart.grid.labels.yAxis.useNiceScale ? st(I.valueMin, I.valueMax === I.valueMin ? I.valueMax * O : I.valueMax, U) : Nl(I.valueMin, I.valueMax === I.valueMin ? I.valueMax * O : I.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, Ne = u ? 1 - o.cumulatedStackRatio : 0, F = u ? n * Ne + l * Xl : 0, W = u ? n * o.stackRatio : r.value.height, ve = r.value.bottom - F - W * ce / te, Re = r.value.bottom - F - W * be / Ye, Me = tl.value.filter((B) => B.type === "bar").filter((B) => !oe.value.includes(B.id)).length, ut = o.series.map((B, he) => {
1335
+ 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 * Me - Za.value / 2 - H * bt.value;
1325
1336
  return {
1326
1337
  yOffset: V(F),
1327
1338
  individualHeight: V(W),
@@ -1344,7 +1355,7 @@ const To = {
1344
1355
  individualMax: V(te),
1345
1356
  comment: o.comments && o.comments.slice(k.value.start, k.value.end)[he] || ""
1346
1357
  };
1347
- }), J = E.ticks.map((B) => ({
1358
+ }), K = E.ticks.map((B) => ({
1348
1359
  y: B >= 0 ? ve - W * (B / te) : ve + W * Math.abs(B) / te,
1349
1360
  value: B,
1350
1361
  prefix: o.prefix || e.value.chart.labels.prefix,
@@ -1353,43 +1364,43 @@ const To = {
1353
1364
  })), de = N.ticks.map((B) => {
1354
1365
  const he = (B - N.min) / (N.max - N.min);
1355
1366
  return {
1356
- y: B >= 0 ? Ne - W * he : Ne + W * he,
1367
+ y: B >= 0 ? Re - W * he : Re + W * he,
1357
1368
  value: B,
1358
1369
  prefix: o.prefix || e.value.chart.labels.prefix,
1359
1370
  suffix: o.suffix || e.value.chart.labels.suffix,
1360
1371
  datapoint: o
1361
1372
  };
1362
1373
  });
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, {
1374
+ return T.value[o.scaleLabel].name = o.name, T.value[o.scaleLabel].groupName = o.scaleLabel, T.value[o.scaleLabel].groupColor = e.value.chart.grid.labels.yAxis.groupColor || o.color, T.value[o.scaleLabel].color = o.color, T.value[o.scaleLabel].scaleYLabels = o.autoScaling ? de : K, T.value[o.scaleLabel].zeroPosition = o.autoScaling ? Re : ve, T.value[o.scaleLabel].individualMax = o.autoScaling ? Ye : te, T.value[o.scaleLabel].scaleLabel = o.scaleLabel, T.value[o.scaleLabel].id = o.id, T.value[o.scaleLabel].yOffset = F, T.value[o.scaleLabel].individualHeight = W, T.value[o.scaleLabel].autoScaleYLabels = de, T.value[o.scaleLabel].unique = Il.value.filter((B) => B.scaleLabel === o.scaleLabel).length === 1, {
1364
1375
  ...o,
1365
1376
  yOffset: F,
1366
1377
  autoScaleYLabels: de,
1367
1378
  individualHeight: W,
1368
- scaleYLabels: o.autoScaling ? de : J,
1379
+ scaleYLabels: o.autoScaling ? de : K,
1369
1380
  individualScale: o.autoScaling ? N : E,
1370
1381
  individualMax: o.autoScaling ? Ye : te,
1371
- zeroPosition: o.autoScaling ? Ne : ve,
1382
+ zeroPosition: o.autoScaling ? Re : ve,
1372
1383
  plots: o.autoScaling ? bl : ut,
1373
- groupId: z.value[o.scaleLabel].groupId
1384
+ groupId: T.value[o.scaleLabel].groupId
1374
1385
  };
1375
1386
  });
1376
1387
  }), 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;
1388
+ const t = Il.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), c = t.length, l = e.value.chart.grid.labels.yAxis.gap, u = b.value.isStacked, a = u ? l * (c - 1) : 0, n = r.value.height - a;
1378
1389
  return t.filter((o) => o.type === "line").map((o, H) => {
1379
1390
  Pt(o);
1380
- const X = z.value[o.scaleLabel].min, G = z.value[o.scaleLabel].max;
1391
+ const X = T.value[o.scaleLabel].min, G = T.value[o.scaleLabel].max;
1381
1392
  o.absoluteValues.filter((P) => ![null, void 0].includes(P)).map((P) => (P - X) / (G - X));
1382
- const T = {
1393
+ const I = {
1383
1394
  valueMin: X,
1384
1395
  valueMax: G
1385
1396
  }, R = {
1386
1397
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
1387
1398
  min: o.scaleMin || (Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues))
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 qa = b.value.useIndividualScale ? (o.absoluteValues[ke] + Math.abs(ce)) / te : Tl(P);
1399
+ }, U = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, O = 1.0000001, E = e.value.chart.grid.labels.yAxis.useNiceScale ? st(R.min, R.max === R.min ? R.max * O : R.max, U) : Nl(R.min, R.max === R.min ? R.max * O : R.max, U), N = e.value.chart.grid.labels.yAxis.useNiceScale ? st(I.valueMin, I.valueMax === I.valueMin ? I.valueMax * O : I.valueMax, U) : Nl(I.valueMin, I.valueMax === I.valueMin ? I.valueMax * O : 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), ol = o.stackIndex, Xl = c - 1 - ol, Ne = u ? 1 - o.cumulatedStackRatio : 0, F = u ? n * Ne + l * Xl : 0, W = u ? n * o.stackRatio : r.value.height, ve = r.value.bottom - F - W * ce / te, Re = r.value.bottom - F - W * be / Ye, Me = o.series.map((P, ke) => {
1400
+ const Ja = b.value.useIndividualScale ? (o.absoluteValues[ke] + Math.abs(ce)) / te : Tl(P);
1390
1401
  return {
1391
1402
  x: V(r.value.left + ue.value.line / 2 + ue.value.line * ke),
1392
- y: V(r.value.bottom - F - W * qa),
1403
+ y: V(r.value.bottom - F - W * Ja),
1393
1404
  value: o.absoluteValues[ke],
1394
1405
  comment: o.comments && o.comments.slice(k.value.start, k.value.end)[ke] || ""
1395
1406
  };
@@ -1403,7 +1414,7 @@ const To = {
1403
1414
  y: V(r.value.bottom - F - (W * ut[ke] || 0)),
1404
1415
  value: o.absoluteValues[ke],
1405
1416
  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) => ({
1417
+ }), bl = e.value.line.cutNullValues ? ya(Me) : At(Me.filter((P) => P.value !== null)), K = e.value.line.cutNullValues ? ya(Ce) : At(Ce.filter((P) => P.value !== null)), de = e.value.line.cutNullValues ? ka(Me) : Ct(Me.filter((P) => P.value !== null)), B = e.value.line.cutNullValues ? ka(Ce) : Ct(Ce.filter((P) => P.value !== null)), he = E.ticks.map((P) => ({
1407
1418
  y: P >= 0 ? ve - W * (P / te) : ve + W * Math.abs(P) / te,
1408
1419
  value: P,
1409
1420
  prefix: o.prefix || e.value.chart.labels.prefix,
@@ -1412,15 +1423,15 @@ const To = {
1412
1423
  })), pl = N.ticks.map((P) => {
1413
1424
  const ke = (P - N.min) / (N.max - N.min);
1414
1425
  return {
1415
- y: P >= 0 ? Ne - W * ke : Ne + W * ke,
1426
+ y: P >= 0 ? Re - W * ke : Re + W * ke,
1416
1427
  value: P,
1417
1428
  prefix: o.prefix || e.value.chart.labels.prefix,
1418
1429
  suffix: o.suffix || e.value.chart.labels.suffix,
1419
1430
  datapoint: o
1420
1431
  };
1421
1432
  });
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);
1433
+ T.value[o.scaleLabel].name = o.name, T.value[o.scaleLabel].groupName = o.scaleLabel, T.value[o.scaleLabel].groupColor = e.value.chart.grid.labels.yAxis.groupColor || o.color, T.value[o.scaleLabel].color = o.color, T.value[o.scaleLabel].scaleYLabels = o.autoScaling ? pl : he, T.value[o.scaleLabel].zeroPosition = o.autoScaling ? Re : ve, T.value[o.scaleLabel].individualMax = o.autoScaling ? Ye : te, T.value[o.scaleLabel].scaleLabel = o.scaleLabel, T.value[o.scaleLabel].id = o.id, T.value[o.scaleLabel].yOffset = F, T.value[o.scaleLabel].individualHeight = W, T.value[o.scaleLabel].autoScaleYLabels = pl, T.value[o.scaleLabel].unique = Il.value.filter((P) => P.scaleLabel === o.scaleLabel).length === 1;
1434
+ const Ol = b.value.useIndividualScale ? o.autoScaling ? Re : ve : Le.value, it = Math.max(Math.max(o.autoScaling ? Re : he.at(-1) ? he.at(-1).y : 0, r.value.top), Ol);
1424
1435
  return {
1425
1436
  ...o,
1426
1437
  yOffset: F,
@@ -1429,77 +1440,77 @@ const To = {
1429
1440
  scaleYLabels: o.autoScaling ? pl : he,
1430
1441
  individualScale: o.autoScaling ? N : E,
1431
1442
  individualMax: o.autoScaling ? Ye : te,
1432
- zeroPosition: o.autoScaling ? Ne : ve,
1433
- curve: o.autoScaling ? J : bl,
1434
- plots: o.autoScaling ? Ce : Le,
1435
- area: o.useArea ? b.value.useIndividualScale ? e.value.line.cutNullValues ? ka(
1436
- o.autoScaling ? Ce : Le,
1443
+ zeroPosition: o.autoScaling ? Re : ve,
1444
+ curve: o.autoScaling ? K : bl,
1445
+ plots: o.autoScaling ? Ce : Me,
1446
+ area: o.useArea ? b.value.useIndividualScale ? e.value.line.cutNullValues ? wa(
1447
+ o.autoScaling ? Ce : Me,
1437
1448
  it
1438
- ) : wa(
1439
- o.autoScaling ? Ce.filter((P) => P.value !== null) : Le.filter((P) => P.value !== null),
1449
+ ) : Sa(
1450
+ o.autoScaling ? Ce.filter((P) => P.value !== null) : Me.filter((P) => P.value !== null),
1440
1451
  it
1441
- ) : e.value.line.cutNullValues ? ka(Le, it) : wa(Le.filter((P) => P.value !== null), it) : "",
1442
- curveAreas: o.useArea ? ho(
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),
1452
+ ) : e.value.line.cutNullValues ? wa(Me, it) : Sa(Me.filter((P) => P.value !== null), it) : "",
1453
+ curveAreas: o.useArea ? fo(
1454
+ o.autoScaling ? e.value.line.cutNullValues ? Ce : Ce.filter((P) => P.value !== null) : e.value.line.cutNullValues ? Me : Me.filter((P) => P.value !== null),
1444
1455
  it,
1445
1456
  e.value.line.cutNullValues
1446
1457
  ) : [],
1447
1458
  straight: o.autoScaling ? B : de,
1448
- groupId: z.value[o.scaleLabel].groupId
1459
+ groupId: T.value[o.scaleLabel].groupId
1449
1460
  };
1450
1461
  });
1451
1462
  }), 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;
1463
+ const t = Il.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), c = t.length, l = e.value.chart.grid.labels.yAxis.gap, u = b.value.isStacked, a = u ? l * (c - 1) : 0, n = r.value.height - a;
1453
1464
  return t.filter((o) => o.type === "plot").map((o) => {
1454
1465
  Pt(o);
1455
- const H = z.value[o.scaleLabel].min, X = z.value[o.scaleLabel].max;
1456
- o.absoluteValues.filter((J) => ![null, void 0].includes(J)).map((J) => (J - H) / (X - H));
1466
+ const H = T.value[o.scaleLabel].min, X = T.value[o.scaleLabel].max;
1467
+ o.absoluteValues.filter((K) => ![null, void 0].includes(K)).map((K) => (K - H) / (X - H));
1457
1468
  const G = {
1458
1469
  valueMin: H,
1459
1470
  valueMax: X
1460
- }, T = {
1471
+ }, I = {
1461
1472
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
1462
1473
  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, 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);
1474
+ }, R = o.scaleSteps || e.value.chart.grid.labels.yAxis.commonScaleSteps, U = 1.0000001, O = Nl(I.min, I.max === I.min ? I.max * U : I.max, R), E = Nl(G.valueMin, G.valueMax === G.valueMin ? G.valueMax * U : G.valueMax, R), N = O.min >= 0 ? 0 : Math.abs(O.min), ce = 0, be = O.max + N, te = E.max + Math.abs(ce), Ye = o.stackIndex, ol = c - 1 - Ye, Xl = u ? 1 - o.cumulatedStackRatio : 0, Ne = u ? n * Xl + l * ol : 0, F = u ? n * o.stackRatio : r.value.height, W = r.value.bottom - Ne - F * N / be, ve = r.value.bottom - Ne - F * ce / te, Re = o.series.map((K, de) => {
1475
+ const B = b.value.useIndividualScale ? (o.absoluteValues[de] + Math.abs(N)) / be : Tl(K);
1465
1476
  return {
1466
1477
  x: V(r.value.left + ue.value.plot / 2 + ue.value.plot * de),
1467
- y: V(r.value.bottom - Oe - F * B),
1478
+ y: V(r.value.bottom - Ne - F * B),
1468
1479
  value: o.absoluteValues[de],
1469
1480
  comment: o.comments && o.comments.slice(k.value.start, k.value.end)[de] || ""
1470
1481
  };
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) => ({
1482
+ }), Me = o.absoluteValues.map((K) => E.min >= 0 ? (K - Math.abs(E.min)) / (E.max - Math.abs(E.min)) : (K + Math.abs(E.min)) / (E.max + Math.abs(E.min))), ut = o.series.map((K, de) => ({
1472
1483
  x: V(r.value.left + ue.value.plot / 2 + ue.value.plot * de),
1473
- y: V(r.value.bottom - Oe - (F * Le[de] || 0)),
1484
+ y: V(r.value.bottom - Ne - (F * Me[de] || 0)),
1474
1485
  value: o.absoluteValues[de],
1475
1486
  comment: o.comments && o.comments.slice(k.value.start, k.value.end)[de] || ""
1476
- })), Ce = I.ticks.map((J) => ({
1477
- y: J >= 0 ? W - F * (J / be) : W + F * Math.abs(J) / be,
1478
- value: J,
1487
+ })), Ce = O.ticks.map((K) => ({
1488
+ y: K >= 0 ? W - F * (K / be) : W + F * Math.abs(K) / be,
1489
+ value: K,
1479
1490
  prefix: o.prefix || e.value.chart.labels.prefix,
1480
1491
  suffix: o.suffix || e.value.chart.labels.suffix,
1481
1492
  datapoint: o
1482
- })), bl = E.ticks.map((J) => {
1483
- const de = (J - E.min) / (E.max - E.min);
1493
+ })), bl = E.ticks.map((K) => {
1494
+ const de = (K - E.min) / (E.max - E.min);
1484
1495
  return {
1485
- y: J >= 0 ? ve - F * de : ve + F * de,
1486
- value: J,
1496
+ y: K >= 0 ? ve - F * de : ve + F * de,
1497
+ value: K,
1487
1498
  prefix: o.prefix || e.value.chart.labels.prefix,
1488
1499
  suffix: o.suffix || e.value.chart.labels.suffix,
1489
1500
  datapoint: o
1490
1501
  };
1491
1502
  });
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, {
1503
+ return T.value[o.scaleLabel].name = o.name, T.value[o.scaleLabel].groupName = o.scaleLabel, T.value[o.scaleLabel].groupColor = e.value.chart.grid.labels.yAxis.groupColor || o.color, T.value[o.scaleLabel].color = o.color, T.value[o.scaleLabel].scaleYLabels = o.autoScaling ? bl : Ce, T.value[o.scaleLabel].zeroPosition = o.autoScaling ? ve : W, T.value[o.scaleLabel].individualMax = o.autoScaling ? te : be, T.value[o.scaleLabel].scaleLabel = o.scaleLabel, T.value[o.scaleLabel].id = o.id, T.value[o.scaleLabel].yOffset = Ne, T.value[o.scaleLabel].individualHeight = F, T.value[o.scaleLabel].autoScaleYLabels = bl, T.value[o.scaleLabel].unique = Il.value.filter((K) => K.scaleLabel === o.scaleLabel).length === 1, {
1493
1504
  ...o,
1494
- yOffset: Oe,
1505
+ yOffset: Ne,
1495
1506
  autoScaleYLabels: bl,
1496
1507
  individualHeight: F,
1497
1508
  scaleYLabels: o.autoScaling ? bl : Ce,
1498
- individualScale: o.autoScaling ? E : I,
1509
+ individualScale: o.autoScaling ? E : O,
1499
1510
  individualMax: o.autoScaling ? te : be,
1500
1511
  zeroPosition: o.autoScaling ? ve : W,
1501
- plots: o.autoScaling ? ut : Ne,
1502
- groupId: z.value[o.scaleLabel].groupId
1512
+ plots: o.autoScaling ? ut : Re,
1513
+ groupId: T.value[o.scaleLabel].groupId
1503
1514
  };
1504
1515
  });
1505
1516
  }), at = y(() => {
@@ -1538,8 +1549,8 @@ const To = {
1538
1549
  id: n.id,
1539
1550
  yOffset: n.yOffset || 0,
1540
1551
  individualHeight: n.individualHeight || r.value.height
1541
- })), i = b.value.useIndividualScale && !b.value.isStacked ? Object.values(z.value) : [...t, ...c, ...l], a = i.flatMap((n) => n).length;
1542
- return i.flatMap((n, o) => {
1552
+ })), u = b.value.useIndividualScale && !b.value.isStacked ? Object.values(T.value) : [...t, ...c, ...l], a = u.flatMap((n) => n).length;
1553
+ return u.flatMap((n, o) => {
1543
1554
  let H = 0;
1544
1555
  H = b.value.isStacked ? r.value.left : r.value.left / a * (o + 1);
1545
1556
  const X = b.value.useIndividualScale && !b.value.isStacked ? n.unique ? n.name : n.groupName : n.name;
@@ -1565,7 +1576,7 @@ const To = {
1565
1576
  }))
1566
1577
  };
1567
1578
  });
1568
- }), na = y(() => ({
1579
+ }), ra = y(() => ({
1569
1580
  datapoint: tt.value,
1570
1581
  seriesIndex: S.value,
1571
1582
  series: tl.value,
@@ -1573,10 +1584,10 @@ const To = {
1573
1584
  lines: Je.value,
1574
1585
  plots: al.value,
1575
1586
  config: e.value
1576
- })), Za = 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
- const l = j.value[S.value], i = e.value.chart.tooltip.customFormat;
1579
- return fo(i) && go(() => i({
1587
+ })), qa = y(() => {
1588
+ let t = "", c = tt.value.map((a) => a.value).filter((a) => St(a) && a !== null).reduce((a, n) => Math.abs(a) + Math.abs(n), 0);
1589
+ const l = J.value[S.value], u = e.value.chart.tooltip.customFormat;
1590
+ return go(u) && mo(() => u({
1580
1591
  absoluteIndex: S.value + k.value.start,
1581
1592
  seriesIndex: S.value,
1582
1593
  datapoint: tt.value,
@@ -1585,7 +1596,7 @@ const To = {
1585
1596
  lines: Je.value,
1586
1597
  plots: al.value,
1587
1598
  config: e.value
1588
- })) ? i({
1599
+ })) ? u({
1589
1600
  absoluteIndex: S.value + k.value.start,
1590
1601
  seriesIndex: S.value,
1591
1602
  datapoint: tt.value,
@@ -1595,14 +1606,14 @@ const To = {
1595
1606
  plots: al.value,
1596
1607
  config: e.value
1597
1608
  }) : (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)) {
1609
+ if (St(a.value)) {
1599
1610
  let n = "", o = "";
1600
1611
  switch (Ge.value[a.type]) {
1601
1612
  case "bar":
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>`;
1613
+ 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_${j.value}_${a.slotAbsoluteIndex}` : a.color}" /></svg>`;
1603
1614
  break;
1604
1615
  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="${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>`;
1616
+ !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="${$a({ 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
1617
  break;
1607
1618
  case "plot":
1608
1619
  if (!a.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(a.shape)) {
@@ -1610,7 +1621,7 @@ const To = {
1610
1621
  break;
1611
1622
  }
1612
1623
  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="${Sa({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
1624
+ 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="${$a({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
1614
1625
  break;
1615
1626
  }
1616
1627
  if (a.shape === "triangle") {
@@ -1651,30 +1662,30 @@ const To = {
1651
1662
  })})` : ""}</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
1663
  }
1653
1664
  }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${e.value.chart.tooltip.color}">${t}</div>`);
1654
- }), ra = y(() => {
1665
+ }), ca = y(() => {
1655
1666
  if (cl.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
1656
- const t = Fe.value.map((l) => ({
1667
+ const t = We.value.map((l) => ({
1657
1668
  label: l.name,
1658
1669
  color: l.color,
1659
1670
  type: l.type
1660
1671
  })), c = [];
1661
- return j.value.forEach((l, i) => {
1672
+ return J.value.forEach((l, u) => {
1662
1673
  const a = [l.text];
1663
- Fe.value.forEach((n) => {
1664
- a.push(We(n.absoluteValues[i]) ? Number(n.absoluteValues[i].toFixed(e.value.table.rounding)) : "");
1674
+ We.value.forEach((n) => {
1675
+ a.push(Oe(n.absoluteValues[u]) ? Number(n.absoluteValues[u].toFixed(e.value.table.rounding)) : "");
1665
1676
  }), c.push(a);
1666
1677
  }), { head: t, body: c };
1667
- }), yt = y(() => {
1678
+ }), kt = y(() => {
1668
1679
  const t = e.value.table.showSum;
1669
- let c = [""].concat(Fe.value.map((n) => n.name));
1680
+ let c = [""].concat(We.value.map((n) => n.name));
1670
1681
  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>'));
1671
1682
  let l = [];
1672
1683
  for (let n = 0; n < _.value; n += 1) {
1673
- const o = Fe.value.map((H) => H.absoluteValues[n] ?? 0).reduce((H, X) => H + X, 0);
1684
+ const o = We.value.map((H) => H.absoluteValues[n] ?? 0).reduce((H, X) => H + X, 0);
1674
1685
  l.push(
1675
1686
  [
1676
- j.value[n].text ?? "-"
1677
- ].concat(Fe.value.map(
1687
+ J.value[n].text ?? "-"
1688
+ ].concat(We.value.map(
1678
1689
  (H) => we(
1679
1690
  H.type === "line" ? e.value.line.labels.formatter : H.type === "bar" ? e.value.bar.labels.formatter : e.value.plot.labels.formatter,
1680
1691
  H.absoluteValues[n] ?? 0,
@@ -1688,7 +1699,7 @@ const To = {
1688
1699
  )).concat(t ? (o ?? 0).toFixed(e.value.table.rounding) : [])
1689
1700
  );
1690
1701
  }
1691
- const i = {
1702
+ const u = {
1692
1703
  th: {
1693
1704
  backgroundColor: e.value.table.th.backgroundColor,
1694
1705
  color: e.value.table.th.color,
@@ -1700,38 +1711,38 @@ const To = {
1700
1711
  outline: e.value.table.td.outline
1701
1712
  },
1702
1713
  breakpoint: e.value.table.responsiveBreakpoint
1703
- }, a = [e.value.table.columnNames.period].concat(Fe.value.map((n) => n.name)).concat(e.value.table.columnNames.total);
1704
- return { head: c, body: l, config: i, colNames: a };
1714
+ }, a = [e.value.table.columnNames.period].concat(We.value.map((n) => n.name)).concat(e.value.table.columnNames.total);
1715
+ return { head: c, body: l, config: u, colNames: a };
1705
1716
  });
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" });
1717
+ function va(t = null) {
1718
+ const c = [[e.value.chart.title.text], [e.value.chart.title.subtitle.text], [""]], l = ["", ...ca.value.head.map((o) => o.label)], u = ca.value.body, a = c.concat([l]).concat(u), n = ko(a);
1719
+ t ? t(n) : wo({ csvContent: n, title: e.value.chart.title.text || "vue-ui-xy" });
1709
1720
  }
1710
- function va(t, c = null) {
1721
+ function da(t, c = null) {
1711
1722
  El.value = t;
1712
- const l = Fe.value.map((i) => ({
1713
- name: i.name,
1714
- value: [null, void 0, NaN].includes(i.absoluteValues[c]) ? null : i.absoluteValues[c],
1715
- color: i.color,
1716
- type: i.type
1723
+ const l = We.value.map((u) => ({
1724
+ name: u.name,
1725
+ value: [null, void 0, NaN].includes(u.absoluteValues[c]) ? null : u.absoluteValues[c],
1726
+ color: u.color,
1727
+ type: u.type
1717
1728
  }));
1718
1729
  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 }));
1719
1730
  }
1720
- function da() {
1731
+ function ha() {
1721
1732
  b.value.showTable = !b.value.showTable;
1722
1733
  }
1723
- function ha() {
1734
+ function fa() {
1724
1735
  b.value.dataLabels.show = !b.value.dataLabels.show;
1725
1736
  }
1726
- function fa() {
1737
+ function ga() {
1727
1738
  b.value.showTooltip = !b.value.showTooltip;
1728
1739
  }
1729
- function ga(t) {
1740
+ function ma(t) {
1730
1741
  rl.value = t, rt.value += 1;
1731
1742
  }
1732
- function ma() {
1743
+ function xa() {
1733
1744
  if (!e.value.responsiveProportionalSizing) {
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;
1745
+ 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, $e.value.plot = e.value.plot.radius, $e.value.line = e.value.line.radius;
1735
1746
  return;
1736
1747
  }
1737
1748
  w.value.dataLabels = Gl({
@@ -1758,13 +1769,13 @@ const To = {
1758
1769
  source: e.value.chart.labels.fontSize,
1759
1770
  threshold: 10,
1760
1771
  fallback: 10
1761
- }), Ae.value.plot = Gl({
1772
+ }), $e.value.plot = Gl({
1762
1773
  relator: ne.value,
1763
1774
  adjuster: 800,
1764
1775
  source: e.value.plot.radius,
1765
1776
  threshold: 1,
1766
1777
  fallback: 1
1767
- }), Ae.value.line = Gl({
1778
+ }), $e.value.line = Gl({
1768
1779
  relator: ne.value,
1769
1780
  adjuster: 800,
1770
1781
  source: e.value.line.radius,
@@ -1773,8 +1784,8 @@ const To = {
1773
1784
  });
1774
1785
  }
1775
1786
  const ot = y(() => !!e.value.debug);
1776
- function xa() {
1777
- $a(d.dataset) ? (Vt({
1787
+ function ba() {
1788
+ _a(d.dataset) ? (Vt({
1778
1789
  componentName: "VueUiXy",
1779
1790
  type: "dataset",
1780
1791
  debug: ot.value
@@ -1787,12 +1798,12 @@ const To = {
1787
1798
  debug: ot.value
1788
1799
  }), zl.value = !0);
1789
1800
  }), ot.value && d.dataset.forEach((c) => {
1790
- c.series.forEach((l, i) => {
1791
- wt(l) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
1792
- -----> The serie '${c.name}' contains the value '${l}' at index ${i}.
1801
+ c.series.forEach((l, u) => {
1802
+ St(l) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
1803
+ -----> The serie '${c.name}' contains the value '${l}' at index ${u}.
1793
1804
  '${l}' was converted to null to allow the chart to display.`);
1794
1805
  });
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 = {
1806
+ }), _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
1807
  dataLabels: {
1797
1808
  show: !0
1798
1809
  },
@@ -1805,29 +1816,29 @@ const To = {
1805
1816
  if (e.value.responsive) {
1806
1817
  const l = fe.value.parentNode;
1807
1818
  D.value && (D.value.unobserve(ll.value), D.value.disconnect());
1808
- const { height: i, width: a } = l.getBoundingClientRect();
1819
+ const { height: u, width: a } = l.getBoundingClientRect();
1809
1820
  let n = null, o = 0;
1810
1821
  e.value.chart.title.show && ye.value && (n = ye.value, o = n.getBoundingClientRect().height);
1811
1822
  let H = null, X = 0;
1812
1823
  e.value.chart.zoom.show && me.value > 6 && Ze.value && ze.value && ze.value.$el && (H = ze.value.$el, X = H.getBoundingClientRect().height);
1813
- let G = null, T = 0;
1814
- e.value.chart.legend.show && el.value && (G = el.value, T = G.getBoundingClientRect().height);
1824
+ let G = null, I = 0;
1825
+ e.value.chart.legend.show && el.value && (G = el.value, I = G.getBoundingClientRect().height);
1815
1826
  let R = 0;
1816
1827
  Ll.value && (R = Ll.value.getBoundingClientRect().height);
1817
1828
  let U = 0;
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) => {
1829
+ Ml.value && (U = Ml.value.getBoundingClientRect().height), se.value = u - o - I - X - R - U - t, ne.value = a, Vl.value = `0 0 ${ne.value < 0 ? 10 : ne.value} ${se.value < 0 ? 10 : se.value}`, xa();
1830
+ const O = new ResizeObserver((E) => {
1820
1831
  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, 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();
1832
+ 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 ? I = el.value.getBoundingClientRect().height : I = 0, Ll.value ? R = Ll.value.getBoundingClientRect().height : R = 0, Ml.value ? U = Ml.value.getBoundingClientRect().height : U = 0, requestAnimationFrame(() => {
1833
+ se.value = N.contentRect.height - o - I - 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}`, xa();
1823
1834
  });
1824
1835
  });
1825
- D.value = I, ll.value = l, I.observe(l);
1836
+ D.value = O, ll.value = l, O.observe(l);
1826
1837
  } 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, Vl.value = `0 0 ${ne.value} ${se.value}`;
1838
+ 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, $e.value.plot = e.value.plot.radius, $e.value.line = e.value.line.radius, Vl.value = `0 0 ${ne.value} ${se.value}`;
1828
1839
  }
1829
- return Lt(() => {
1830
- xa(), Ht(), document.addEventListener("mousemove", (t) => {
1840
+ return Mt(() => {
1841
+ ba(), Ht(), document.addEventListener("mousemove", (t) => {
1831
1842
  Cl.value = {
1832
1843
  x: t.clientX,
1833
1844
  y: t.clientY
@@ -1835,26 +1846,26 @@ const To = {
1835
1846
  }), document.addEventListener("scroll", Dt);
1836
1847
  }), nt(() => {
1837
1848
  document.removeEventListener("scroll", Dt), D.value && (D.value.unobserve(ll.value), D.value.disconnect());
1838
- }), Lo({
1849
+ }), Mo({
1839
1850
  timeLabelsEls: nl,
1840
- timeLabels: j,
1851
+ timeLabels: J,
1841
1852
  slicer: k,
1842
1853
  configRef: e,
1843
1854
  rotationPath: ["chart", "grid", "labels", "xAxisLabels", "rotation"],
1844
1855
  autoRotatePath: ["chart", "grid", "labels", "xAxisLabels", "autoRotate"],
1845
- isAutoSize: It,
1856
+ isAutoSize: Ot,
1846
1857
  height: se,
1847
1858
  width: ne
1848
1859
  }), sl(() => d.dataset, (t) => {
1849
- Array.isArray(t) && t.length > 0 && (zl.value = !1), me.value = Math.max(...$e.value.map((c) => ul({
1860
+ Array.isArray(t) && t.length > 0 && (zl.value = !1), me.value = Math.max(..._e.value.map((c) => ul({
1850
1861
  data: c.series,
1851
1862
  threshold: e.value.downsample.threshold
1852
1863
  }).length)), k.value = {
1853
1864
  start: 0,
1854
1865
  end: me.value
1855
- }, ge.value += 1, Ee.value += 1;
1866
+ }, ge.value += 1, Be.value += 1;
1856
1867
  }, { deep: !0 }), sl(() => d.config, (t) => {
1857
- xe.value || (e.value = gl()), xa(), jl.value += 1, ct.value += 1, b.value = {
1868
+ xe.value || (e.value = gl()), ba(), jl.value += 1, ct.value += 1, b.value = {
1858
1869
  dataLabels: {
1859
1870
  show: !0
1860
1871
  },
@@ -1873,28 +1884,28 @@ const To = {
1873
1884
  isStacked: e.value.chart.grid.labels.yAxis.stacked,
1874
1885
  useIndividualScale: e.value.chart.grid.labels.yAxis.useIndividualScale
1875
1886
  };
1876
- }, { immediate: !0 }), Ct({
1877
- getData: Ea,
1878
- getImage: Ba,
1887
+ }, { immediate: !0 }), zt({
1888
+ getData: Ba,
1889
+ getImage: Fa,
1879
1890
  generatePdf: ml,
1880
1891
  generateImage: dt,
1881
- generateCsv: ca,
1892
+ generateCsv: va,
1882
1893
  toggleStack: qt,
1883
- toggleTable: da,
1884
- toggleLabels: ha,
1885
- toggleTooltip: fa,
1894
+ toggleTable: ha,
1895
+ toggleLabels: fa,
1896
+ toggleTooltip: ga,
1886
1897
  toggleAnnotator: Rt,
1887
- toggleFullscreen: ga
1888
- }), (t, c) => (u(), s("div", {
1889
- id: `vue-ui-xy_${Q.value}`,
1890
- class: Re(`vue-ui-xy ${rl.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1898
+ toggleFullscreen: ma
1899
+ }), (t, c) => (i(), s("div", {
1900
+ id: `vue-ui-xy_${j.value}`,
1901
+ class: Pe(`vue-ui-xy ${rl.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1891
1902
  ref_key: "chart",
1892
1903
  ref: fe,
1893
1904
  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
1905
  onMouseenter: c[10] || (c[10] = () => Gt(!0)),
1895
1906
  onMouseleave: c[11] || (c[11] = () => Gt(!1))
1896
1907
  }, [
1897
- e.value.chart.userOptions.buttons.annotator && Se.value ? (u(), Ke(v(_l), {
1908
+ e.value.chart.userOptions.buttons.annotator && Se.value ? (i(), Ke(v(_l), {
1898
1909
  key: 0,
1899
1910
  svgRef: Se.value,
1900
1911
  backgroundColor: e.value.chart.backgroundColor,
@@ -1902,21 +1913,21 @@ const To = {
1902
1913
  active: hl.value,
1903
1914
  onClose: Rt
1904
1915
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
1905
- Wa.value ? (u(), s("div", {
1916
+ Ya.value ? (i(), s("div", {
1906
1917
  key: 1,
1907
1918
  ref_key: "noTitle",
1908
1919
  ref: Ml,
1909
1920
  class: "vue-data-ui-no-title-space",
1910
1921
  style: "height:36px; width: 100%; background:transparent"
1911
1922
  }, null, 512)) : h("", !0),
1912
- e.value.chart.title.show ? (u(), s("div", {
1923
+ e.value.chart.title.show ? (i(), s("div", {
1913
1924
  key: 2,
1914
1925
  ref_key: "chartTitle",
1915
1926
  ref: ye,
1916
1927
  class: "vue-ui-xy-title",
1917
1928
  style: $(`font-family:${e.value.chart.fontFamily}`)
1918
1929
  }, [
1919
- (u(), Ke(Ao, {
1930
+ (i(), Ke(Co, {
1920
1931
  key: `title_${jl.value}`,
1921
1932
  config: {
1922
1933
  title: {
@@ -1930,14 +1941,14 @@ const To = {
1930
1941
  }
1931
1942
  }, null, 8, ["config"]))
1932
1943
  ], 4)) : h("", !0),
1933
- e.value.chart.userOptions.show && (Bl.value || Fl.value) ? (u(), Ke(v(re), {
1944
+ e.value.chart.userOptions.show && (Bl.value || Fl.value) ? (i(), Ke(v(re), {
1934
1945
  ref: "defails",
1935
1946
  key: `user_options_${rt.value}`,
1936
1947
  backgroundColor: e.value.chart.backgroundColor,
1937
1948
  color: e.value.chart.color,
1938
1949
  isPrinting: v(q),
1939
1950
  isImaging: v(Ie),
1940
- uid: Q.value,
1951
+ uid: j.value,
1941
1952
  hasTooltip: e.value.chart.userOptions.buttons.tooltip && e.value.chart.tooltip.show,
1942
1953
  hasPdf: e.value.chart.userOptions.buttons.pdf,
1943
1954
  hasXls: e.value.chart.userOptions.buttons.csv,
@@ -1956,95 +1967,95 @@ const To = {
1956
1967
  isAnnotation: hl.value,
1957
1968
  callbacks: e.value.chart.userOptions.callbacks,
1958
1969
  printScale: e.value.chart.userOptions.print.scale,
1959
- onToggleFullscreen: ga,
1970
+ onToggleFullscreen: ma,
1960
1971
  onGeneratePdf: v(ml),
1961
- onGenerateCsv: ca,
1972
+ onGenerateCsv: va,
1962
1973
  onGenerateImage: v(dt),
1963
- onToggleTable: da,
1964
- onToggleLabels: ha,
1974
+ onToggleTable: ha,
1975
+ onToggleLabels: fa,
1965
1976
  onToggleStack: qt,
1966
- onToggleTooltip: fa,
1977
+ onToggleTooltip: ga,
1967
1978
  onToggleAnnotator: Rt,
1968
1979
  style: $({
1969
1980
  visibility: Bl.value ? Fl.value ? "visible" : "hidden" : "visible"
1970
1981
  })
1971
- }, to({ _: 2 }, [
1982
+ }, ao({ _: 2 }, [
1972
1983
  t.$slots.menuIcon ? {
1973
1984
  name: "menuIcon",
1974
- fn: pe(({ isOpen: l, color: i }) => [
1975
- K(t.$slots, "menuIcon", vl(kl({ isOpen: l, color: i })), void 0, !0)
1985
+ fn: pe(({ isOpen: l, color: u }) => [
1986
+ Q(t.$slots, "menuIcon", vl(kl({ isOpen: l, color: u })), void 0, !0)
1976
1987
  ]),
1977
1988
  key: "0"
1978
1989
  } : void 0,
1979
1990
  t.$slots.optionTooltip ? {
1980
1991
  name: "optionTooltip",
1981
1992
  fn: pe(() => [
1982
- K(t.$slots, "optionTooltip", {}, void 0, !0)
1993
+ Q(t.$slots, "optionTooltip", {}, void 0, !0)
1983
1994
  ]),
1984
1995
  key: "1"
1985
1996
  } : void 0,
1986
1997
  t.$slots.optionPdf ? {
1987
1998
  name: "optionPdf",
1988
1999
  fn: pe(() => [
1989
- K(t.$slots, "optionPdf", {}, void 0, !0)
2000
+ Q(t.$slots, "optionPdf", {}, void 0, !0)
1990
2001
  ]),
1991
2002
  key: "2"
1992
2003
  } : void 0,
1993
2004
  t.$slots.optionCsv ? {
1994
2005
  name: "optionCsv",
1995
2006
  fn: pe(() => [
1996
- K(t.$slots, "optionCsv", {}, void 0, !0)
2007
+ Q(t.$slots, "optionCsv", {}, void 0, !0)
1997
2008
  ]),
1998
2009
  key: "3"
1999
2010
  } : void 0,
2000
2011
  t.$slots.optionImg ? {
2001
2012
  name: "optionImg",
2002
2013
  fn: pe(() => [
2003
- K(t.$slots, "optionImg", {}, void 0, !0)
2014
+ Q(t.$slots, "optionImg", {}, void 0, !0)
2004
2015
  ]),
2005
2016
  key: "4"
2006
2017
  } : void 0,
2007
2018
  t.$slots.optionTable ? {
2008
2019
  name: "optionTable",
2009
2020
  fn: pe(() => [
2010
- K(t.$slots, "optionTable", {}, void 0, !0)
2021
+ Q(t.$slots, "optionTable", {}, void 0, !0)
2011
2022
  ]),
2012
2023
  key: "5"
2013
2024
  } : void 0,
2014
2025
  t.$slots.optionLabels ? {
2015
2026
  name: "optionLabels",
2016
2027
  fn: pe(() => [
2017
- K(t.$slots, "optionLabels", {}, void 0, !0)
2028
+ Q(t.$slots, "optionLabels", {}, void 0, !0)
2018
2029
  ]),
2019
2030
  key: "6"
2020
2031
  } : void 0,
2021
2032
  t.$slots.optionStack ? {
2022
2033
  name: "optionStack",
2023
2034
  fn: pe(() => [
2024
- K(t.$slots, "optionStack", {}, void 0, !0)
2035
+ Q(t.$slots, "optionStack", {}, void 0, !0)
2025
2036
  ]),
2026
2037
  key: "7"
2027
2038
  } : void 0,
2028
2039
  t.$slots.optionFullscreen ? {
2029
2040
  name: "optionFullscreen",
2030
- fn: pe(({ toggleFullscreen: l, isFullscreen: i }) => [
2031
- K(t.$slots, "optionFullscreen", vl(kl({ toggleFullscreen: l, isFullscreen: i })), void 0, !0)
2041
+ fn: pe(({ toggleFullscreen: l, isFullscreen: u }) => [
2042
+ Q(t.$slots, "optionFullscreen", vl(kl({ toggleFullscreen: l, isFullscreen: u })), void 0, !0)
2032
2043
  ]),
2033
2044
  key: "8"
2034
2045
  } : void 0,
2035
2046
  t.$slots.optionAnnotator ? {
2036
2047
  name: "optionAnnotator",
2037
- fn: pe(({ toggleAnnotator: l, isAnnotator: i }) => [
2038
- K(t.$slots, "optionAnnotator", vl(kl({ toggleAnnotator: l, isAnnotator: i })), void 0, !0)
2048
+ fn: pe(({ toggleAnnotator: l, isAnnotator: u }) => [
2049
+ Q(t.$slots, "optionAnnotator", vl(kl({ toggleAnnotator: l, isAnnotator: u })), void 0, !0)
2039
2050
  ]),
2040
2051
  key: "9"
2041
2052
  } : void 0
2042
2053
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasLabel", "hasTable", "hasStack", "hasFullscreen", "isStacked", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
2043
- (u(), s("svg", {
2054
+ (i(), s("svg", {
2044
2055
  ref_key: "svgRef",
2045
2056
  ref: Se,
2046
2057
  xmlns: "http://www.w3.org/2000/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"]),
2058
+ class: Pe([{ "vue-data-ui-fullscreen--on": rl.value, "vue-data-ui-fulscreen--off": !rl.value }, "vue-ui-xy-svg vue-data-ui-svg"]),
2048
2059
  width: "100%",
2049
2060
  viewBox: Vl.value,
2050
2061
  style: $({
@@ -2052,21 +2063,21 @@ const To = {
2052
2063
  color: e.value.chart.color,
2053
2064
  fontFamily: e.value.chart.fontFamily
2054
2065
  }),
2055
- "aria-label": Fa.value,
2066
+ "aria-label": Wa.value,
2056
2067
  role: "img",
2057
2068
  "aria-live": "polite",
2058
2069
  preserveAspectRatio: "xMidYMid",
2059
- onMousemove: Pa,
2070
+ onMousemove: Ha,
2060
2071
  onMouseleave: ta,
2061
- onClick: Ha
2072
+ onClick: Va
2062
2073
  }, [
2063
2074
  m("g", {
2064
2075
  ref_key: "G",
2065
- ref: Tt,
2076
+ ref: It,
2066
2077
  class: "vue-data-ui-g"
2067
2078
  }, [
2068
2079
  Ul(v($l)),
2069
- t.$slots["chart-background"] ? (u(), s("foreignObject", {
2080
+ t.$slots["chart-background"] ? (i(), s("foreignObject", {
2070
2081
  key: 0,
2071
2082
  x: r.value.left + le.value < 0 ? 0 : r.value.left + le.value,
2072
2083
  y: r.value.top,
@@ -2076,11 +2087,11 @@ const To = {
2076
2087
  pointerEvents: "none"
2077
2088
  }
2078
2089
  }, [
2079
- K(t.$slots, "chart-background", {}, void 0, !0)
2080
- ], 8, eu)) : h("", !0),
2081
- _.value > 0 ? (u(), s("g", lu, [
2082
- m("g", tu, [
2083
- e.value.chart.grid.labels.xAxis.showBaseline ? (u(), s("line", {
2090
+ Q(t.$slots, "chart-background", {}, void 0, !0)
2091
+ ], 8, lu)) : h("", !0),
2092
+ _.value > 0 ? (i(), s("g", tu, [
2093
+ m("g", au, [
2094
+ e.value.chart.grid.labels.xAxis.showBaseline ? (i(), s("line", {
2084
2095
  key: 0,
2085
2096
  stroke: e.value.chart.grid.stroke,
2086
2097
  "stroke-width": "1",
@@ -2090,29 +2101,29 @@ const To = {
2090
2101
  y2: v(Y)(r.value.bottom),
2091
2102
  "stroke-linecap": "round",
2092
2103
  style: { animation: "none !important" }
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", {
2104
+ }, null, 8, ou)) : h("", !0),
2105
+ b.value.useIndividualScale ? e.value.chart.grid.showHorizontalLines ? (i(!0), s(f, { key: 2 }, L(at.value, (l) => (i(), s("g", null, [
2106
+ l.id === M.value && l.yLabels.length ? (i(!0), s(f, { key: 0 }, L(l.yLabels, (u) => (i(), s("line", {
2096
2107
  x1: r.value.left + le.value,
2097
2108
  x2: r.value.right - le.value,
2098
- y1: v(Y)(i.y),
2099
- y2: v(Y)(i.y),
2109
+ y1: v(Y)(u.y),
2110
+ y2: v(Y)(u.y),
2100
2111
  stroke: l.color,
2101
2112
  "stroke-width": 0.5,
2102
2113
  "stroke-linecap": "round",
2103
2114
  style: { animation: "none !important" }
2104
- }, null, 8, su))), 256)) : l.yLabels.length ? (u(!0), s(f, { key: 1 }, L(l.yLabels, (i) => (u(), s("line", {
2115
+ }, null, 8, nu))), 256)) : l.yLabels.length ? (i(!0), s(f, { key: 1 }, L(l.yLabels, (u) => (i(), s("line", {
2105
2116
  x1: r.value.left + le.value,
2106
2117
  x2: r.value.right - le.value,
2107
- y1: v(Y)(i.y),
2108
- y2: v(Y)(i.y),
2118
+ y1: v(Y)(u.y),
2119
+ y2: v(Y)(u.y),
2109
2120
  stroke: e.value.chart.grid.stroke,
2110
2121
  "stroke-width": 0.5,
2111
2122
  "stroke-linecap": "round",
2112
2123
  style: { animation: "none !important" }
2113
- }, null, 8, nu))), 256)) : h("", !0)
2114
- ]))), 256)) : h("", !0) : (u(), s(f, { key: 1 }, [
2115
- e.value.chart.grid.labels.yAxis.showBaseline ? (u(), s("line", {
2124
+ }, null, 8, ru))), 256)) : h("", !0)
2125
+ ]))), 256)) : h("", !0) : (i(), s(f, { key: 1 }, [
2126
+ e.value.chart.grid.labels.yAxis.showBaseline ? (i(), s("line", {
2116
2127
  key: 0,
2117
2128
  stroke: e.value.chart.grid.stroke,
2118
2129
  "stroke-width": "1",
@@ -2122,9 +2133,9 @@ const To = {
2122
2133
  y2: v(Y)(r.value.bottom),
2123
2134
  "stroke-linecap": "round",
2124
2135
  style: { animation: "none !important" }
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", {
2136
+ }, null, 8, uu)) : h("", !0),
2137
+ e.value.chart.grid.showHorizontalLines ? (i(), s("g", iu, [
2138
+ (i(!0), s(f, null, L(ia.value, (l) => (i(), s("line", {
2128
2139
  x1: r.value.left + le.value,
2129
2140
  x2: r.value.right,
2130
2141
  y1: v(Y)(l.y),
@@ -2133,73 +2144,73 @@ const To = {
2133
2144
  "stroke-width": 0.5,
2134
2145
  "stroke-linecap": "round",
2135
2146
  style: { animation: "none !important" }
2136
- }, null, 8, iu))), 256))
2147
+ }, null, 8, su))), 256))
2137
2148
  ])) : h("", !0)
2138
2149
  ], 64)),
2139
- e.value.chart.grid.showVerticalLines ? (u(), s("g", ru, [
2150
+ e.value.chart.grid.showVerticalLines ? (i(), s("g", cu, [
2140
2151
  m("path", {
2141
- d: za.value,
2152
+ d: Ta.value,
2142
2153
  "stroke-width": 0.5,
2143
2154
  stroke: e.value.chart.grid.stroke,
2144
2155
  "stroke-linecap": "round",
2145
2156
  style: { animation: "none !important" }
2146
- }, null, 8, cu)
2157
+ }, null, 8, vu)
2147
2158
  ])) : h("", !0),
2148
- e.value.chart.grid.labels.xAxisLabels.show ? (u(), s("g", vu, [
2159
+ e.value.chart.grid.labels.xAxisLabels.show ? (i(), s("g", du, [
2149
2160
  m("path", {
2150
- d: Ta.value,
2161
+ d: Ia.value,
2151
2162
  stroke: e.value.chart.grid.stroke,
2152
2163
  "stroke-width": 1,
2153
2164
  "stroke-linecap": "round",
2154
2165
  style: { animation: "none !important" }
2155
- }, null, 8, du)
2166
+ }, null, 8, hu)
2156
2167
  ])) : h("", !0)
2157
2168
  ]),
2158
- (u(!0), s(f, null, L(xl.value, (l, i) => (u(), s("defs", {
2159
- key: `def_rect_${i}`
2169
+ (i(!0), s(f, null, L(xl.value, (l, u) => (i(), s("defs", {
2170
+ key: `def_rect_${u}`
2160
2171
  }, [
2161
2172
  m("linearGradient", {
2162
- id: `rectGradient_pos_${i}_${Q.value}`,
2173
+ id: `rectGradient_pos_${u}_${j.value}`,
2163
2174
  x2: "0%",
2164
2175
  y2: "100%"
2165
2176
  }, [
2166
2177
  m("stop", {
2167
2178
  offset: "0%",
2168
2179
  "stop-color": l.color
2169
- }, null, 8, fu),
2180
+ }, null, 8, gu),
2170
2181
  m("stop", {
2171
2182
  offset: "62%",
2172
2183
  "stop-color": `${v(Rl)(l.color, 0.02)}`
2173
- }, null, 8, gu),
2184
+ }, null, 8, mu),
2174
2185
  m("stop", {
2175
2186
  offset: "100%",
2176
2187
  "stop-color": `${v(Rl)(l.color, 0.05)}`
2177
- }, null, 8, mu)
2178
- ], 8, hu),
2188
+ }, null, 8, xu)
2189
+ ], 8, fu),
2179
2190
  m("linearGradient", {
2180
- id: `rectGradient_neg_${i}_${Q.value}`,
2191
+ id: `rectGradient_neg_${u}_${j.value}`,
2181
2192
  x2: "0%",
2182
2193
  y2: "100%"
2183
2194
  }, [
2184
2195
  m("stop", {
2185
2196
  offset: "0%",
2186
2197
  "stop-color": `${v(Rl)(l.color, 0.05)}`
2187
- }, null, 8, bu),
2198
+ }, null, 8, pu),
2188
2199
  m("stop", {
2189
2200
  offset: "38%",
2190
2201
  "stop-color": `${v(Rl)(l.color, 0.02)}`
2191
- }, null, 8, pu),
2202
+ }, null, 8, yu),
2192
2203
  m("stop", {
2193
2204
  offset: "100%",
2194
2205
  "stop-color": l.color
2195
- }, null, 8, yu)
2196
- ], 8, xu)
2206
+ }, null, 8, ku)
2207
+ ], 8, bu)
2197
2208
  ]))), 128)),
2198
- (u(!0), s(f, null, L(al.value, (l, i) => (u(), s("defs", {
2199
- key: `def_plot_${i}`
2209
+ (i(!0), s(f, null, L(al.value, (l, u) => (i(), s("defs", {
2210
+ key: `def_plot_${u}`
2200
2211
  }, [
2201
2212
  m("radialGradient", {
2202
- id: `plotGradient_${i}_${Q.value}`,
2213
+ id: `plotGradient_${u}_${j.value}`,
2203
2214
  cx: "50%",
2204
2215
  cy: "50%",
2205
2216
  r: "50%",
@@ -2209,18 +2220,18 @@ const To = {
2209
2220
  m("stop", {
2210
2221
  offset: "0%",
2211
2222
  "stop-color": `${v(Rl)(l.color, 0.05)}`
2212
- }, null, 8, wu),
2223
+ }, null, 8, Su),
2213
2224
  m("stop", {
2214
2225
  offset: "100%",
2215
2226
  "stop-color": l.color
2216
- }, null, 8, Su)
2217
- ], 8, ku)
2227
+ }, null, 8, $u)
2228
+ ], 8, wu)
2218
2229
  ]))), 128)),
2219
- (u(!0), s(f, null, L(Je.value, (l, i) => (u(), s("defs", {
2220
- key: `def_line_${i}`
2230
+ (i(!0), s(f, null, L(Je.value, (l, u) => (i(), s("defs", {
2231
+ key: `def_line_${u}`
2221
2232
  }, [
2222
2233
  m("radialGradient", {
2223
- id: `lineGradient_${i}_${Q.value}`,
2234
+ id: `lineGradient_${u}_${j.value}`,
2224
2235
  cx: "50%",
2225
2236
  cy: "50%",
2226
2237
  r: "50%",
@@ -2230,14 +2241,14 @@ const To = {
2230
2241
  m("stop", {
2231
2242
  offset: "0%",
2232
2243
  "stop-color": `${v(Rl)(l.color, 0.05)}`
2233
- }, null, 8, _u),
2244
+ }, null, 8, Lu),
2234
2245
  m("stop", {
2235
2246
  offset: "100%",
2236
2247
  "stop-color": l.color
2237
- }, null, 8, Lu)
2238
- ], 8, $u),
2248
+ }, null, 8, Mu)
2249
+ ], 8, _u),
2239
2250
  m("linearGradient", {
2240
- id: `areaGradient_${i}_${Q.value}`,
2251
+ id: `areaGradient_${u}_${j.value}`,
2241
2252
  x1: "0%",
2242
2253
  x2: "100%",
2243
2254
  y1: "0%",
@@ -2246,16 +2257,16 @@ const To = {
2246
2257
  m("stop", {
2247
2258
  offset: "0%",
2248
2259
  "stop-color": `${v(Qe)(v(Rl)(l.color, 0.03), e.value.line.area.opacity)}`
2249
- }, null, 8, Au),
2260
+ }, null, 8, Cu),
2250
2261
  m("stop", {
2251
2262
  offset: "100%",
2252
2263
  "stop-color": `${v(Qe)(l.color, e.value.line.area.opacity)}`
2253
- }, null, 8, Cu)
2254
- ], 8, Mu)
2264
+ }, null, 8, zu)
2265
+ ], 8, Au)
2255
2266
  ]))), 128)),
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, [
2267
+ (i(!0), s(f, null, L(Da.value, (l) => (i(), s("g", null, [
2268
+ l.show ? (i(), s(f, { key: 0 }, [
2269
+ (i(!0), s(f, null, L(l.span, (u, a) => (i(), s("g", null, [
2259
2270
  m("rect", {
2260
2271
  style: $({
2261
2272
  transition: "none",
@@ -2266,10 +2277,10 @@ const To = {
2266
2277
  height: r.value.height < 0 ? 10 : r.value.height,
2267
2278
  width: r.value.width / _.value < 0 ? 1e-5 : r.value.width / _.value,
2268
2279
  fill: v(Qe)(l.color, l.opacity)
2269
- }, null, 12, zu)
2280
+ }, null, 12, Tu)
2270
2281
  ]))), 256)),
2271
- (u(!0), s(f, null, L(l.span, (i, a) => (u(), s("g", null, [
2272
- l.caption.text && a === 0 ? (u(), s("foreignObject", {
2282
+ (i(!0), s(f, null, L(l.span, (u, a) => (i(), s("g", null, [
2283
+ l.caption.text && a === 0 ? (i(), s("foreignObject", {
2273
2284
  key: 0,
2274
2285
  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
2286
  y: r.value.top + l.caption.offsetY,
@@ -2283,73 +2294,73 @@ const To = {
2283
2294
  m("div", {
2284
2295
  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
2296
  }, ae(l.caption.text), 5)
2286
- ], 12, Tu)) : h("", !0)
2297
+ ], 12, Iu)) : h("", !0)
2287
2298
  ]))), 256))
2288
2299
  ], 64)) : h("", !0)
2289
2300
  ]))), 256)),
2290
- Xt.value ? (u(), s("g", Iu, [
2291
- (u(!0), s(f, null, L(_.value, (l, i) => (u(), s("g", {
2292
- key: `tooltip_trap_highlighter_${i}`
2301
+ Xt.value ? (i(), s("g", Ou, [
2302
+ (i(!0), s(f, null, L(_.value, (l, u) => (i(), s("g", {
2303
+ key: `tooltip_trap_highlighter_${u}`
2293
2304
  }, [
2294
2305
  m("rect", {
2295
- x: r.value.left + r.value.width / _.value * i,
2306
+ x: r.value.left + r.value.width / _.value * u,
2296
2307
  y: r.value.top,
2297
2308
  height: r.value.height < 0 ? 10 : r.value.height,
2298
2309
  width: r.value.width / _.value < 0 ? 1e-5 : r.value.width / _.value,
2299
- fill: [O.value, S.value, Te.value].includes(i) ? v(Qe)(e.value.chart.highlighter.color, e.value.chart.highlighter.opacity) : "transparent",
2310
+ fill: [z.value, S.value, Te.value].includes(u) ? v(Qe)(e.value.chart.highlighter.color, e.value.chart.highlighter.opacity) : "transparent",
2300
2311
  style: { transition: "none !important", animation: "none !important" }
2301
- }, null, 8, Ou)
2312
+ }, null, 8, Nu)
2302
2313
  ]))), 128))
2303
2314
  ])) : h("", !0),
2304
- xl.value.length ? (u(!0), s(f, { key: 1 }, L(xl.value, (l, i) => (u(), s("g", {
2305
- key: `serie_bar_${i}`,
2306
- class: Re(`serie_bar_${i}`),
2315
+ xl.value.length ? (i(!0), s(f, { key: 1 }, L(xl.value, (l, u) => (i(), s("g", {
2316
+ key: `serie_bar_${u}`,
2317
+ class: Pe(`serie_bar_${u}`),
2307
2318
  style: $(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2308
2319
  }, [
2309
- (u(!0), s(f, null, L(l.plots, (a, n) => (u(), s("g", {
2310
- key: `bar_plot_${i}_${n}`
2320
+ (i(!0), s(f, null, L(l.plots, (a, n) => (i(), s("g", {
2321
+ key: `bar_plot_${u}_${n}`
2311
2322
  }, [
2312
- We(a.value) ? (u(), s("rect", {
2323
+ Oe(a.value) ? (i(), s("rect", {
2313
2324
  key: 0,
2314
- x: mt(a) + pt.value / 2,
2325
+ x: xt(a) + yt.value / 2,
2315
2326
  y: b.value.useIndividualScale ? la(a) : ea(a),
2316
2327
  height: b.value.useIndividualScale ? Math.abs(jt(a)) : Math.abs(Qt(a)),
2317
- width: bt.value - pt.value,
2328
+ width: pt.value - yt.value,
2318
2329
  rx: e.value.bar.borderRadius,
2319
- fill: e.value.bar.useGradient ? a.value >= 0 ? `url(#rectGradient_pos_${i}_${Q.value})` : `url(#rectGradient_neg_${i}_${Q.value})` : l.color,
2330
+ fill: e.value.bar.useGradient ? a.value >= 0 ? `url(#rectGradient_pos_${u}_${j.value})` : `url(#rectGradient_neg_${u}_${j.value})` : l.color,
2320
2331
  stroke: e.value.bar.border.useSerieColor ? l.color : e.value.bar.border.stroke,
2321
2332
  "stroke-width": e.value.bar.border.strokeWidth,
2322
2333
  style: $({ transition: v(xe) || !e.value.bar.showTransition ? void 0 : `all ${e.value.bar.transitionDurationMs}ms ease-in-out` })
2323
- }, null, 12, Nu)) : h("", !0),
2324
- We(a.value) && t.$slots.pattern ? (u(), s("rect", {
2334
+ }, null, 12, Ru)) : h("", !0),
2335
+ Oe(a.value) && t.$slots.pattern ? (i(), s("rect", {
2325
2336
  key: 1,
2326
- x: mt(a) - pt.value / 2,
2337
+ x: xt(a) - yt.value / 2,
2327
2338
  y: b.value.useIndividualScale ? la(a) : ea(a),
2328
2339
  height: b.value.useIndividualScale ? Math.abs(jt(a)) : Math.abs(Qt(a)),
2329
- width: bt.value - pt.value,
2340
+ width: pt.value - yt.value,
2330
2341
  rx: e.value.bar.borderRadius,
2331
- fill: `url(#pattern_${Q.value}_${l.slotAbsoluteIndex})`,
2342
+ fill: `url(#pattern_${j.value}_${l.slotAbsoluteIndex})`,
2332
2343
  stroke: e.value.bar.border.useSerieColor ? l.color : e.value.bar.border.stroke,
2333
2344
  "stroke-width": e.value.bar.border.strokeWidth,
2334
2345
  style: $({ transition: v(xe) || !e.value.bar.showTransition ? void 0 : `all ${e.value.bar.transitionDurationMs}ms ease-in-out` })
2335
- }, null, 12, Ru)) : h("", !0),
2336
- a.comment && e.value.chart.comments.show ? (u(), s("foreignObject", {
2346
+ }, null, 12, Pu)) : h("", !0),
2347
+ a.comment && e.value.chart.comments.show ? (i(), s("foreignObject", {
2337
2348
  key: 2,
2338
2349
  style: { overflow: "visible" },
2339
2350
  height: "12",
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,
2351
+ width: pt.value / 2 + e.value.chart.comments.width,
2352
+ x: xt(a) - e.value.chart.comments.width / 2 + e.value.chart.comments.offsetX,
2342
2353
  y: v(V)(a.y) + e.value.chart.comments.offsetY + 6
2343
2354
  }, [
2344
- K(t.$slots, "plot-comment", {
2345
- plot: { ...a, color: l.color, seriesIndex: i, datapointIndex: n }
2355
+ Q(t.$slots, "plot-comment", {
2356
+ plot: { ...a, color: l.color, seriesIndex: u, datapointIndex: n }
2346
2357
  }, void 0, !0)
2347
- ], 8, Pu)) : h("", !0)
2358
+ ], 8, Hu)) : h("", !0)
2348
2359
  ]))), 128)),
2349
- Object.hasOwn(l, "useProgression") && l.useProgression === !0 && !isNaN(v(ee)(l.plots).trend) ? (u(), s("g", Hu, [
2360
+ Object.hasOwn(l, "useProgression") && l.useProgression === !0 && !isNaN(v(ee)(l.plots).trend) ? (i(), s("g", Vu, [
2350
2361
  m("defs", null, [
2351
2362
  m("marker", {
2352
- id: `bar_arrow_${i}`,
2363
+ id: `bar_arrow_${u}`,
2353
2364
  markerWidth: 7,
2354
2365
  markerHeight: 7,
2355
2366
  refX: "0",
@@ -2359,10 +2370,10 @@ const To = {
2359
2370
  m("polygon", {
2360
2371
  points: `0 0, 7 ${7 / 2}, 0 7`,
2361
2372
  fill: l.color
2362
- }, null, 8, Eu)
2363
- ], 8, Vu)
2373
+ }, null, 8, Bu)
2374
+ ], 8, Eu)
2364
2375
  ]),
2365
- l.plots.length > 1 ? (u(), s("line", {
2376
+ l.plots.length > 1 ? (i(), s("line", {
2366
2377
  key: 0,
2367
2378
  x1: v(ee)(l.plots).x1 + Dl(),
2368
2379
  x2: v(ee)(l.plots).x2 + Dl(),
@@ -2371,9 +2382,9 @@ const To = {
2371
2382
  "stroke-width": 1,
2372
2383
  stroke: l.color,
2373
2384
  "stroke-dasharray": 2,
2374
- "marker-end": `url(#bar_arrow_${i})`
2375
- }, null, 8, Bu)) : h("", !0),
2376
- l.plots.length > 1 ? (u(), s("text", {
2385
+ "marker-end": `url(#bar_arrow_${u})`
2386
+ }, null, 8, Fu)) : h("", !0),
2387
+ l.plots.length > 1 ? (i(), s("text", {
2377
2388
  key: 1,
2378
2389
  "text-anchor": "middle",
2379
2390
  x: v(ee)(l.plots).x2 + Dl(),
@@ -2384,24 +2395,24 @@ const To = {
2384
2395
  v: v(ee)(l.plots).trend * 100,
2385
2396
  s: "%",
2386
2397
  r: 2
2387
- })), 9, Fu)) : h("", !0)
2398
+ })), 9, Wu)) : h("", !0)
2388
2399
  ])) : h("", !0)
2389
2400
  ], 6))), 128)) : h("", !0),
2390
- !b.value.useIndividualScale && e.value.chart.grid.labels.zeroLine.show ? (u(), s("line", {
2401
+ !b.value.useIndividualScale && e.value.chart.grid.labels.zeroLine.show ? (i(), s("line", {
2391
2402
  key: 2,
2392
2403
  stroke: e.value.chart.grid.stroke,
2393
2404
  "stroke-width": "1",
2394
2405
  x1: r.value.left + le.value,
2395
2406
  x2: r.value.right - le.value,
2396
- y1: v(Y)(_e.value),
2397
- y2: v(Y)(_e.value),
2407
+ y1: v(Y)(Le.value),
2408
+ y2: v(Y)(Le.value),
2398
2409
  "stroke-linecap": "round",
2399
2410
  style: { animation: "none !important" }
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, [
2411
+ }, null, 8, Yu)) : h("", !0),
2412
+ e.value.chart.highlighter.useLine && (![null, void 0].includes(S.value) || ![null, void 0].includes(z.value)) ? (i(), s("g", Du, [
2402
2413
  m("line", {
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
- 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,
2414
+ x1: r.value.left + r.value.width / _.value * ((S.value !== null ? S.value : 0) || (z.value !== null ? z.value : 0)) + r.value.width / _.value / 2,
2415
+ x2: r.value.left + r.value.width / _.value * ((S.value !== null ? S.value : 0) || (z.value !== null ? z.value : 0)) + r.value.width / _.value / 2,
2405
2416
  y1: v(Y)(r.value.top),
2406
2417
  y2: v(Y)(r.value.bottom),
2407
2418
  stroke: e.value.chart.highlighter.color,
@@ -2409,9 +2420,9 @@ const To = {
2409
2420
  "stroke-dasharray": e.value.chart.highlighter.lineDasharray,
2410
2421
  "stroke-linecap": "round",
2411
2422
  style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
2412
- }, null, 8, Du)
2423
+ }, null, 8, Xu)
2413
2424
  ])) : h("", !0),
2414
- e.value.chart.grid.frame.show ? (u(), s("rect", {
2425
+ e.value.chart.grid.frame.show ? (i(), s("rect", {
2415
2426
  key: 4,
2416
2427
  style: { pointerEvents: "none", transition: "none", animation: "none !important" },
2417
2428
  x: r.value.left + le.value < 0 ? 0 : r.value.left + le.value,
@@ -2424,14 +2435,14 @@ const To = {
2424
2435
  "stroke-linecap": e.value.chart.grid.frame.strokeLinecap,
2425
2436
  "stroke-linejoin": e.value.chart.grid.frame.strokeLinejoin,
2426
2437
  "stroke-dasharray": e.value.chart.grid.frame.strokeDasharray
2427
- }, null, 8, Xu)) : h("", !0),
2428
- e.value.chart.grid.labels.show ? (u(), s("g", {
2438
+ }, null, 8, Gu)) : h("", !0),
2439
+ e.value.chart.grid.labels.show ? (i(), s("g", {
2429
2440
  key: 5,
2430
2441
  ref_key: "scaleLabels",
2431
2442
  ref: Al
2432
2443
  }, [
2433
- b.value.useIndividualScale ? (u(), s(f, { key: 0 }, [
2434
- (u(!0), s(f, null, L(at.value, (l) => (u(), s("g", null, [
2444
+ b.value.useIndividualScale ? (i(), s(f, { key: 0 }, [
2445
+ (i(!0), s(f, null, L(at.value, (l) => (i(), s("g", null, [
2435
2446
  m("line", {
2436
2447
  x1: l.x + le.value - r.value.individualOffsetX,
2437
2448
  x2: l.x + le.value - r.value.individualOffsetX,
@@ -2441,9 +2452,9 @@ const To = {
2441
2452
  "stroke-width": e.value.chart.grid.stroke,
2442
2453
  "stroke-linecap": "round",
2443
2454
  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, Gu)
2455
+ }, null, 12, Uu)
2445
2456
  ]))), 256)),
2446
- (u(!0), s(f, null, L(at.value, (l) => (u(), s("g", {
2457
+ (i(!0), s(f, null, L(at.value, (l) => (i(), s("g", {
2447
2458
  style: $(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
2448
2459
  }, [
2449
2460
  m("text", {
@@ -2452,42 +2463,42 @@ const To = {
2452
2463
  "text-anchor": "middle",
2453
2464
  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
2465
  }, ae(l.name) + " " + ae(l.scaleLabel && l.unique && l.scaleLabel !== l.id ? `-
2455
- ${l.scaleLabel}` : ""), 9, Uu),
2456
- (u(!0), s(f, null, L(l.yLabels, (i, a) => (u(), s(f, null, [
2457
- e.value.chart.grid.labels.yAxis.showCrosshairs ? (u(), s("line", {
2466
+ ${l.scaleLabel}` : ""), 9, Zu),
2467
+ (i(!0), s(f, null, L(l.yLabels, (u, a) => (i(), s(f, null, [
2468
+ e.value.chart.grid.labels.yAxis.showCrosshairs ? (i(), s("line", {
2458
2469
  key: 0,
2459
2470
  x1: l.x + 3 + le.value - e.value.chart.grid.labels.yAxis.crosshairSize - r.value.individualOffsetX,
2460
2471
  x2: l.x + le.value - r.value.individualOffsetX,
2461
- y1: v(Y)(i.y),
2462
- y2: v(Y)(i.y),
2472
+ y1: v(Y)(u.y),
2473
+ y2: v(Y)(u.y),
2463
2474
  stroke: l.color,
2464
2475
  "stroke-width": 1,
2465
2476
  "stroke-linecap": "round",
2466
2477
  style: { animation: "none !important" }
2467
- }, null, 8, Zu)) : h("", !0)
2478
+ }, null, 8, qu)) : h("", !0)
2468
2479
  ], 64))), 256)),
2469
- (u(!0), s(f, null, L(l.yLabels, (i, a) => (u(), s("text", {
2480
+ (i(!0), s(f, null, L(l.yLabels, (u, a) => (i(), s("text", {
2470
2481
  x: l.x - 5 + le.value - r.value.individualOffsetX,
2471
- y: v(Y)(i.y) + w.value.dataLabels / 3,
2482
+ y: v(Y)(u.y) + w.value.dataLabels / 3,
2472
2483
  "font-size": w.value.dataLabels,
2473
2484
  "text-anchor": "end",
2474
2485
  fill: l.color
2475
2486
  }, ae(v(we)(
2476
2487
  e.value.chart.grid.labels.yAxis.formatter,
2477
- i.value,
2488
+ u.value,
2478
2489
  v(De)({
2479
- p: i.prefix,
2480
- v: i.value,
2481
- s: i.suffix,
2490
+ p: u.prefix,
2491
+ v: u.value,
2492
+ s: u.suffix,
2482
2493
  r: e.value.chart.grid.labels.yAxis.rounding
2483
2494
  }),
2484
- { datapoint: i.datapoint, seriesIndex: a }
2485
- )), 9, qu))), 256))
2495
+ { datapoint: u.datapoint, seriesIndex: a }
2496
+ )), 9, Ju))), 256))
2486
2497
  ], 4))), 256))
2487
- ], 64)) : (u(!0), s(f, { key: 1 }, L(ia.value, (l, i) => (u(), s("g", {
2488
- key: `yLabel_${i}`
2498
+ ], 64)) : (i(!0), s(f, { key: 1 }, L(ia.value, (l, u) => (i(), s("g", {
2499
+ key: `yLabel_${u}`
2489
2500
  }, [
2490
- We(l) && l.value >= qe.value.min && l.value <= qe.value.max && e.value.chart.grid.labels.yAxis.showCrosshairs ? (u(), s("line", {
2501
+ Oe(l) && l.value >= qe.value.min && l.value <= qe.value.max && e.value.chart.grid.labels.yAxis.showCrosshairs ? (i(), s("line", {
2491
2502
  key: 0,
2492
2503
  x1: r.value.left,
2493
2504
  x2: r.value.left - e.value.chart.grid.labels.yAxis.crosshairSize,
@@ -2497,15 +2508,15 @@ const To = {
2497
2508
  "stroke-width": "1",
2498
2509
  "stroke-linecap": "round",
2499
2510
  style: { animation: "none !important" }
2500
- }, null, 8, Ju)) : h("", !0),
2501
- l.value >= qe.value.min && l.value <= qe.value.max ? (u(), s("text", {
2511
+ }, null, 8, Ku)) : h("", !0),
2512
+ l.value >= qe.value.min && l.value <= qe.value.max ? (i(), s("text", {
2502
2513
  key: 1,
2503
2514
  x: r.value.scaleLabelX - e.value.chart.grid.labels.yAxis.crosshairSize,
2504
2515
  y: v(V)(l.y + w.value.dataLabels / 3),
2505
2516
  "font-size": w.value.dataLabels,
2506
2517
  "text-anchor": "end",
2507
2518
  fill: e.value.chart.grid.labels.color
2508
- }, ae(We(l.value) ? v(we)(
2519
+ }, ae(Oe(l.value) ? v(we)(
2509
2520
  e.value.chart.grid.labels.yAxis.formatter,
2510
2521
  l.value,
2511
2522
  v(De)({
@@ -2514,28 +2525,28 @@ const To = {
2514
2525
  s: l.suffix,
2515
2526
  r: e.value.chart.grid.labels.yAxis.rounding
2516
2527
  })
2517
- ) : ""), 9, Ku)) : h("", !0)
2528
+ ) : ""), 9, Qu)) : h("", !0)
2518
2529
  ]))), 128))
2519
2530
  ], 512)) : h("", !0),
2520
- (u(!0), s(f, null, L(al.value, (l, i) => (u(), s("g", {
2521
- key: `serie_plot_${i}`,
2522
- class: Re(`serie_plot_${i}`),
2531
+ (i(!0), s(f, null, L(al.value, (l, u) => (i(), s("g", {
2532
+ key: `serie_plot_${u}`,
2533
+ class: Pe(`serie_plot_${u}`),
2523
2534
  style: $(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2524
2535
  }, [
2525
- (u(!0), s(f, null, L(l.plots, (a, n) => (u(), s("g", {
2526
- key: `circle_plot_${i}_${n}`
2536
+ (i(!0), s(f, null, L(l.plots, (a, n) => (i(), s("g", {
2537
+ key: `circle_plot_${u}_${n}`
2527
2538
  }, [
2528
- a && We(a.value) ? (u(), Ke($t, {
2539
+ a && Oe(a.value) ? (i(), Ke(_t, {
2529
2540
  key: 0,
2530
2541
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(l.shape) ? l.shape : "circle",
2531
- color: e.value.plot.useGradient ? `url(#plotGradient_${i}_${Q.value})` : e.value.plot.dot.useSerieColor ? l.color : e.value.plot.dot.fill,
2542
+ color: e.value.plot.useGradient ? `url(#plotGradient_${u}_${j.value})` : e.value.plot.dot.useSerieColor ? l.color : e.value.plot.dot.fill,
2532
2543
  plot: { x: v(V)(a.x), y: v(V)(a.y) },
2533
- radius: S.value !== null && S.value === n || O.value !== null && O.value === n ? (Ae.value.plot || 6) * 1.5 : Ae.value.plot || 6,
2544
+ radius: S.value !== null && S.value === n || z.value !== null && z.value === n ? ($e.value.plot || 6) * 1.5 : $e.value.plot || 6,
2534
2545
  stroke: e.value.plot.dot.useSerieColor ? e.value.chart.backgroundColor : l.color,
2535
2546
  strokeWidth: e.value.plot.dot.strokeWidth,
2536
- transition: v(xe) || !e.value.plot.showTransition || S.value !== null && S.value === n || O.value !== null && O.value === n ? void 0 : `all ${e.value.plot.transitionDurationMs}ms ease-in-out`
2547
+ transition: v(xe) || !e.value.plot.showTransition || S.value !== null && S.value === n || z.value !== null && z.value === n ? void 0 : `all ${e.value.plot.transitionDurationMs}ms ease-in-out`
2537
2548
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth", "transition"])) : h("", !0),
2538
- a.comment && e.value.chart.comments.show ? (u(), s("foreignObject", {
2549
+ a.comment && e.value.chart.comments.show ? (i(), s("foreignObject", {
2539
2550
  key: 1,
2540
2551
  style: { overflow: "visible" },
2541
2552
  height: "12",
@@ -2543,17 +2554,17 @@ const To = {
2543
2554
  x: a.x - e.value.chart.comments.width / 2 + e.value.chart.comments.offsetX,
2544
2555
  y: a.y + e.value.chart.comments.offsetY + 6
2545
2556
  }, [
2546
- m("div", ju, [
2547
- K(t.$slots, "plot-comment", {
2548
- plot: { ...a, color: l.color, seriesIndex: i, datapointIndex: n }
2557
+ m("div", ei, [
2558
+ Q(t.$slots, "plot-comment", {
2559
+ plot: { ...a, color: l.color, seriesIndex: u, datapointIndex: n }
2549
2560
  }, void 0, !0)
2550
2561
  ])
2551
- ], 8, Qu)) : h("", !0)
2562
+ ], 8, ju)) : h("", !0)
2552
2563
  ]))), 128)),
2553
- Object.hasOwn(l, "useProgression") && l.useProgression === !0 && !isNaN(v(ee)(l.plots).trend) ? (u(), s("g", ei, [
2564
+ Object.hasOwn(l, "useProgression") && l.useProgression === !0 && !isNaN(v(ee)(l.plots).trend) ? (i(), s("g", li, [
2554
2565
  m("defs", null, [
2555
2566
  m("marker", {
2556
- id: `plot_arrow_${i}`,
2567
+ id: `plot_arrow_${u}`,
2557
2568
  markerWidth: 7,
2558
2569
  markerHeight: 7,
2559
2570
  refX: "0",
@@ -2563,10 +2574,10 @@ const To = {
2563
2574
  m("polygon", {
2564
2575
  points: `0 0, 7 ${7 / 2}, 0 7`,
2565
2576
  fill: l.color
2566
- }, null, 8, ti)
2567
- ], 8, li)
2577
+ }, null, 8, ai)
2578
+ ], 8, ti)
2568
2579
  ]),
2569
- l.plots.length > 1 ? (u(), s("line", {
2580
+ l.plots.length > 1 ? (i(), s("line", {
2570
2581
  key: 0,
2571
2582
  x1: v(ee)(l.plots).x1,
2572
2583
  x2: v(ee)(l.plots).x2,
@@ -2575,9 +2586,9 @@ const To = {
2575
2586
  "stroke-width": 1,
2576
2587
  stroke: l.color,
2577
2588
  "stroke-dasharray": 2,
2578
- "marker-end": `url(#plot_arrow_${i})`
2579
- }, null, 8, ai)) : h("", !0),
2580
- l.plots.length > 1 ? (u(), s("text", {
2589
+ "marker-end": `url(#plot_arrow_${u})`
2590
+ }, null, 8, oi)) : h("", !0),
2591
+ l.plots.length > 1 ? (i(), s("text", {
2581
2592
  key: 1,
2582
2593
  "text-anchor": "middle",
2583
2594
  x: v(ee)(l.plots).x2,
@@ -2588,15 +2599,15 @@ const To = {
2588
2599
  v: v(ee)(l.plots).trend * 100,
2589
2600
  s: "%",
2590
2601
  r: 2
2591
- })), 9, oi)) : h("", !0)
2602
+ })), 9, ui)) : h("", !0)
2592
2603
  ])) : h("", !0)
2593
2604
  ], 6))), 128)),
2594
- (u(!0), s(f, null, L(Je.value, (l, i) => (u(), s("g", {
2595
- key: `serie_line_${i}`,
2596
- class: Re(`serie_line_${i}`),
2605
+ (i(!0), s(f, null, L(Je.value, (l, u) => (i(), s("g", {
2606
+ key: `serie_line_${u}`,
2607
+ class: Pe(`serie_line_${u}`),
2597
2608
  style: $(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2598
2609
  }, [
2599
- l.smooth && l.plots.length > 1 && l.curve ? (u(), s("path", {
2610
+ l.smooth && l.plots.length > 1 && l.curve ? (i(), s("path", {
2600
2611
  key: 0,
2601
2612
  d: `M${l.curve}`,
2602
2613
  stroke: e.value.chart.backgroundColor,
@@ -2604,7 +2615,7 @@ const To = {
2604
2615
  "stroke-dasharray": l.dashed ? e.value.line.strokeWidth * 2 : 0,
2605
2616
  fill: "none",
2606
2617
  style: $({ transition: v(xe) || !e.value.line.showTransition ? void 0 : `all ${e.value.line.transitionDurationMs}ms ease-in-out` })
2607
- }, null, 12, ui)) : l.plots.length > 1 && l.straight ? (u(), s("path", {
2618
+ }, null, 12, ii)) : l.plots.length > 1 && l.straight ? (i(), s("path", {
2608
2619
  key: 1,
2609
2620
  d: `M${l.straight}`,
2610
2621
  stroke: e.value.chart.backgroundColor,
@@ -2614,48 +2625,48 @@ const To = {
2614
2625
  "stroke-linecap": "round",
2615
2626
  "stroke-linejoin": "round",
2616
2627
  style: $({ transition: v(xe) || !e.value.line.showTransition ? void 0 : `all ${e.value.line.transitionDurationMs}ms ease-in-out` })
2617
- }, null, 12, ii)) : h("", !0)
2628
+ }, null, 12, si)) : h("", !0)
2618
2629
  ], 6))), 128)),
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
- key: `serie_pattern_slot_${i}`
2622
- }, { ref_for: !0 }, { ...l, seriesIndex: l.slotAbsoluteIndex, patternId: `pattern_${Q.value}_${i}` }), void 0, !0)), 128))
2630
+ t.$slots.pattern ? (i(), s("defs", ni, [
2631
+ (i(!0), s(f, null, L(cl.value, (l, u) => Q(t.$slots, "pattern", wt({
2632
+ key: `serie_pattern_slot_${u}`
2633
+ }, { ref_for: !0 }, { ...l, seriesIndex: l.slotAbsoluteIndex, patternId: `pattern_${j.value}_${u}` }), void 0, !0)), 128))
2623
2634
  ])) : h("", !0),
2624
- (u(!0), s(f, null, L(Je.value, (l, i) => (u(), s("g", {
2625
- key: `serie_line_${i}`,
2626
- class: Re(`serie_line_${i}`),
2635
+ (i(!0), s(f, null, L(Je.value, (l, u) => (i(), s("g", {
2636
+ key: `serie_line_${u}`,
2637
+ class: Pe(`serie_line_${u}`),
2627
2638
  style: $(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2628
2639
  }, [
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
- a ? (u(), s("path", {
2640
+ l.useArea && l.plots.length > 1 ? (i(), s("g", ri, [
2641
+ l.smooth ? (i(!0), s(f, { key: 0 }, L(l.curveAreas, (a, n) => (i(), s(f, { key: n }, [
2642
+ a ? (i(), s("path", {
2632
2643
  key: 0,
2633
2644
  d: a,
2634
- fill: e.value.line.area.useGradient ? `url(#areaGradient_${i}_${Q.value})` : v(Qe)(l.color, e.value.line.area.opacity),
2645
+ fill: e.value.line.area.useGradient ? `url(#areaGradient_${u}_${j.value})` : v(Qe)(l.color, e.value.line.area.opacity),
2635
2646
  style: $({ transition: v(xe) || !e.value.line.showTransition ? void 0 : `all ${e.value.line.transitionDurationMs}ms ease-in-out` })
2636
- }, null, 12, ri)) : h("", !0),
2637
- t.$slots.pattern && a ? (u(), s("path", {
2647
+ }, null, 12, ci)) : h("", !0),
2648
+ t.$slots.pattern && a ? (i(), s("path", {
2638
2649
  key: 1,
2639
2650
  d: a,
2640
- fill: `url(#pattern_${Q.value}_${l.slotAbsoluteIndex})`,
2651
+ fill: `url(#pattern_${j.value}_${l.slotAbsoluteIndex})`,
2641
2652
  style: $({ transition: v(xe) || !e.value.line.showTransition ? void 0 : `all ${e.value.line.transitionDurationMs}ms ease-in-out` })
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
- a ? (u(), s("path", {
2653
+ }, null, 12, vi)) : h("", !0)
2654
+ ], 64))), 128)) : (i(!0), s(f, { key: 1 }, L(l.area.split(";"), (a, n) => (i(), s(f, { key: n }, [
2655
+ a ? (i(), s("path", {
2645
2656
  key: 0,
2646
2657
  d: `M${a}Z`,
2647
- fill: e.value.line.area.useGradient ? `url(#areaGradient_${i}_${Q.value})` : v(Qe)(l.color, e.value.line.area.opacity),
2658
+ fill: e.value.line.area.useGradient ? `url(#areaGradient_${u}_${j.value})` : v(Qe)(l.color, e.value.line.area.opacity),
2648
2659
  style: $({ transition: v(xe) || !e.value.line.showTransition ? void 0 : `all ${e.value.line.transitionDurationMs}ms ease-in-out` })
2649
- }, null, 12, vi)) : h("", !0),
2650
- t.$slots.pattern && a ? (u(), s("path", {
2660
+ }, null, 12, di)) : h("", !0),
2661
+ t.$slots.pattern && a ? (i(), s("path", {
2651
2662
  key: 1,
2652
2663
  d: `M${a}Z`,
2653
- fill: `url(#pattern_${Q.value}_${l.slotAbsoluteIndex})`,
2664
+ fill: `url(#pattern_${j.value}_${l.slotAbsoluteIndex})`,
2654
2665
  style: $({ transition: v(xe) || !e.value.line.showTransition ? void 0 : `all ${e.value.line.transitionDurationMs}ms ease-in-out` })
2655
- }, null, 12, di)) : h("", !0)
2666
+ }, null, 12, hi)) : h("", !0)
2656
2667
  ], 64))), 128))
2657
2668
  ])) : h("", !0),
2658
- l.smooth && l.plots.length > 1 && l.curve ? (u(), s("path", {
2669
+ l.smooth && l.plots.length > 1 && l.curve ? (i(), s("path", {
2659
2670
  key: 1,
2660
2671
  d: `M${l.curve}`,
2661
2672
  stroke: l.color,
@@ -2664,7 +2675,7 @@ const To = {
2664
2675
  fill: "none",
2665
2676
  "stroke-linecap": "round",
2666
2677
  style: $({ transition: v(xe) || !e.value.line.showTransition ? void 0 : `all ${e.value.line.transitionDurationMs}ms ease-in-out` })
2667
- }, null, 12, hi)) : l.plots.length > 1 && l.straight ? (u(), s("path", {
2678
+ }, null, 12, fi)) : l.plots.length > 1 && l.straight ? (i(), s("path", {
2668
2679
  key: 2,
2669
2680
  d: `M${l.straight}`,
2670
2681
  stroke: l.color,
@@ -2674,21 +2685,21 @@ const To = {
2674
2685
  "stroke-linecap": "round",
2675
2686
  "stroke-linejoin": "round",
2676
2687
  style: $({ transition: v(xe) || !e.value.line.showTransition ? void 0 : `all ${e.value.line.transitionDurationMs}ms ease-in-out` })
2677
- }, null, 12, fi)) : h("", !0),
2678
- (u(!0), s(f, null, L(l.plots, (a, n) => (u(), s(f, {
2679
- key: `circle_line_${i}_${n}`
2688
+ }, null, 12, gi)) : h("", !0),
2689
+ (i(!0), s(f, null, L(l.plots, (a, n) => (i(), s(f, {
2690
+ key: `circle_line_${u}_${n}`
2680
2691
  }, [
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, {
2692
+ !oa.value.linePlot && a && Oe(a.value) || oa.value.linePlot && a && Oe(a.value) && (S.value !== null && S.value === n || z.value !== null && z.value === n) || na(l.plots, n) ? (i(), Ke(_t, {
2682
2693
  key: 0,
2683
2694
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(l.shape) ? l.shape : "circle",
2684
- color: e.value.line.useGradient ? `url(#lineGradient_${i}_${Q.value})` : e.value.line.dot.useSerieColor ? l.color : e.value.line.dot.fill,
2695
+ color: e.value.line.useGradient ? `url(#lineGradient_${u}_${j.value})` : e.value.line.dot.useSerieColor ? l.color : e.value.line.dot.fill,
2685
2696
  plot: { x: v(V)(a.x), y: v(V)(a.y) },
2686
- radius: S.value !== null && S.value === n || O.value !== null && O.value === n ? (Ae.value.line || 6) * 1.5 : Ae.value.line || 6,
2697
+ radius: S.value !== null && S.value === n || z.value !== null && z.value === n ? ($e.value.line || 6) * 1.5 : (na(l.plots, n), $e.value.line || 6),
2687
2698
  stroke: e.value.line.dot.useSerieColor ? e.value.chart.backgroundColor : l.color,
2688
2699
  strokeWidth: e.value.line.dot.strokeWidth,
2689
- transition: v(xe) || !e.value.line.showTransition || S.value !== null && S.value === n || O.value !== null && O.value === n ? void 0 : `all ${e.value.line.transitionDurationMs}ms ease-in-out`
2700
+ transition: v(xe) || !e.value.line.showTransition || S.value !== null && S.value === n || z.value !== null && z.value === n ? void 0 : `all ${e.value.line.transitionDurationMs}ms ease-in-out`
2690
2701
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth", "transition"])) : h("", !0),
2691
- a.comment && e.value.chart.comments.show ? (u(), s("foreignObject", {
2702
+ a.comment && e.value.chart.comments.show ? (i(), s("foreignObject", {
2692
2703
  key: 1,
2693
2704
  style: { overflow: "visible" },
2694
2705
  height: "12",
@@ -2696,17 +2707,17 @@ const To = {
2696
2707
  x: a.x - e.value.chart.comments.width / 2 + e.value.chart.comments.offsetX,
2697
2708
  y: a.y + e.value.chart.comments.offsetY + 6
2698
2709
  }, [
2699
- m("div", mi, [
2700
- K(t.$slots, "plot-comment", {
2701
- plot: { ...a, color: l.color, seriesIndex: i, datapointIndex: n }
2710
+ m("div", xi, [
2711
+ Q(t.$slots, "plot-comment", {
2712
+ plot: { ...a, color: l.color, seriesIndex: u, datapointIndex: n }
2702
2713
  }, void 0, !0)
2703
2714
  ])
2704
- ], 8, gi)) : h("", !0)
2715
+ ], 8, mi)) : h("", !0)
2705
2716
  ], 64))), 128)),
2706
- Object.hasOwn(l, "useProgression") && l.useProgression === !0 && !isNaN(v(ee)(l.plots).trend) ? (u(), s("g", xi, [
2717
+ Object.hasOwn(l, "useProgression") && l.useProgression === !0 && !isNaN(v(ee)(l.plots).trend) ? (i(), s("g", bi, [
2707
2718
  m("defs", null, [
2708
2719
  m("marker", {
2709
- id: `line_arrow_${i}`,
2720
+ id: `line_arrow_${u}`,
2710
2721
  markerWidth: 7,
2711
2722
  markerHeight: 7,
2712
2723
  refX: "0",
@@ -2716,10 +2727,10 @@ const To = {
2716
2727
  m("polygon", {
2717
2728
  points: `0 0, 7 ${7 / 2}, 0 7`,
2718
2729
  fill: l.color
2719
- }, null, 8, pi)
2720
- ], 8, bi)
2730
+ }, null, 8, yi)
2731
+ ], 8, pi)
2721
2732
  ]),
2722
- l.plots.length > 1 ? (u(), s("line", {
2733
+ l.plots.length > 1 ? (i(), s("line", {
2723
2734
  key: 0,
2724
2735
  x1: v(ee)(l.plots).x1,
2725
2736
  x2: v(ee)(l.plots).x2,
@@ -2728,9 +2739,9 @@ const To = {
2728
2739
  "stroke-width": 1,
2729
2740
  stroke: l.color,
2730
2741
  "stroke-dasharray": 2,
2731
- "marker-end": `url(#line_arrow_${i})`
2732
- }, null, 8, yi)) : h("", !0),
2733
- l.plots.length > 1 ? (u(), s("text", {
2742
+ "marker-end": `url(#line_arrow_${u})`
2743
+ }, null, 8, ki)) : h("", !0),
2744
+ l.plots.length > 1 ? (i(), s("text", {
2734
2745
  key: 1,
2735
2746
  "text-anchor": "middle",
2736
2747
  x: v(ee)(l.plots).x2,
@@ -2741,25 +2752,25 @@ const To = {
2741
2752
  v: v(ee)(l.plots).trend * 100,
2742
2753
  s: "%",
2743
2754
  r: 2
2744
- })), 9, ki)) : h("", !0)
2755
+ })), 9, wi)) : h("", !0)
2745
2756
  ])) : h("", !0)
2746
2757
  ], 6))), 128)),
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
- key: `xLabel_bar_${i}`
2758
+ (e.value.bar.labels.show || e.value.bar.serieName.show) && b.value.dataLabels.show ? (i(), s("g", Si, [
2759
+ (i(!0), s(f, null, L(xl.value, (l, u) => (i(), s(f, {
2760
+ key: `xLabel_bar_${u}`
2750
2761
  }, [
2751
- (u(!0), s(f, null, L(l.plots, (a, n) => (u(), s(f, {
2752
- key: `xLabel_bar_${i}_${n}`
2762
+ (i(!0), s(f, null, L(l.plots, (a, n) => (i(), s(f, {
2763
+ key: `xLabel_bar_${u}_${n}`
2753
2764
  }, [
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", {
2765
+ a && (!Object.hasOwn(l, "dataLabels") || l.dataLabels === !0 || S.value !== null && S.value === n || z.value !== null && z.value === n) && e.value.bar.labels.show ? (i(), s("text", {
2755
2766
  key: 0,
2756
- x: b.value.useIndividualScale && b.value.isStacked ? a.x + ue.value.line / 2 : mt(a) + Dl() / 2 - xt.value / 2,
2767
+ x: b.value.useIndividualScale && b.value.isStacked ? a.x + ue.value.line / 2 : xt(a) + Dl() / 2 - bt.value / 2,
2757
2768
  y: v(V)(a.y) + (a.value >= 0 ? e.value.bar.labels.offsetY : -e.value.bar.labels.offsetY * 3),
2758
2769
  "text-anchor": "middle",
2759
2770
  "font-size": w.value.plotLabels,
2760
2771
  fill: e.value.bar.labels.color,
2761
2772
  style: $(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2762
- }, ae(We(a.value) ? v(we)(
2773
+ }, ae(Oe(a.value) ? v(we)(
2763
2774
  e.value.bar.labels.formatter,
2764
2775
  a.value,
2765
2776
  v(De)({
@@ -2772,8 +2783,8 @@ const To = {
2772
2783
  datapoint: a,
2773
2784
  serie: l
2774
2785
  }
2775
- ) : ""), 13, Si)) : h("", !0),
2776
- a && e.value.bar.serieName.show ? (u(), s("text", {
2786
+ ) : ""), 13, $i)) : h("", !0),
2787
+ a && e.value.bar.serieName.show ? (i(), s("text", {
2777
2788
  key: 1,
2778
2789
  x: b.value.useIndividualScale && b.value.isStacked ? a.x + ue.value.line / 2 : a.x + Dl() * 1.1,
2779
2790
  y: a.y + (a.value > 0 ? e.value.bar.serieName.offsetY : -e.value.bar.serieName.offsetY * 3),
@@ -2782,21 +2793,21 @@ const To = {
2782
2793
  fill: e.value.bar.serieName.useSerieColor ? l.color : e.value.bar.serieName.color,
2783
2794
  "font-weight": e.value.bar.serieName.bold ? "bold" : "normal",
2784
2795
  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(mo)({
2796
+ }, ae(e.value.bar.serieName.useAbbreviation ? v(xo)({
2786
2797
  source: l.name,
2787
2798
  length: e.value.bar.serieName.abbreviationSize
2788
- }) : l.name), 13, $i)) : h("", !0)
2799
+ }) : l.name), 13, _i)) : h("", !0)
2789
2800
  ], 64))), 128))
2790
2801
  ], 64))), 128))
2791
2802
  ])) : h("", !0),
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
- key: `xLabel_plot_${i}`
2803
+ e.value.plot.labels.show && b.value.dataLabels.show ? (i(), s("g", Li, [
2804
+ (i(!0), s(f, null, L(al.value, (l, u) => (i(), s(f, {
2805
+ key: `xLabel_plot_${u}`
2795
2806
  }, [
2796
- (u(!0), s(f, null, L(l.plots, (a, n) => (u(), s(f, {
2797
- key: `xLabel_plot_${i}_${n}`
2807
+ (i(!0), s(f, null, L(l.plots, (a, n) => (i(), s(f, {
2808
+ key: `xLabel_plot_${u}_${n}`
2798
2809
  }, [
2799
- a && !Object.hasOwn(l, "dataLabels") || l.dataLabels === !0 || S.value !== null && S.value === n || O.value !== null && O.value === n ? (u(), s("text", {
2810
+ a && !Object.hasOwn(l, "dataLabels") || l.dataLabels === !0 || S.value !== null && S.value === n || z.value !== null && z.value === n ? (i(), s("text", {
2800
2811
  key: 0,
2801
2812
  x: a.x,
2802
2813
  y: a.y + e.value.plot.labels.offsetY,
@@ -2804,7 +2815,7 @@ const To = {
2804
2815
  "font-size": w.value.plotLabels,
2805
2816
  fill: e.value.plot.labels.color,
2806
2817
  style: $(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2807
- }, ae(We(a.value) ? v(we)(
2818
+ }, ae(Oe(a.value) ? v(we)(
2808
2819
  e.value.plot.labels.formatter,
2809
2820
  a.value,
2810
2821
  v(De)({
@@ -2817,18 +2828,18 @@ const To = {
2817
2828
  datapoint: a,
2818
2829
  serie: l
2819
2830
  }
2820
- ) : ""), 13, Li)) : h("", !0)
2831
+ ) : ""), 13, Mi)) : h("", !0)
2821
2832
  ], 64))), 128))
2822
2833
  ], 64))), 128))
2823
- ])) : (u(), s("g", Mi, [
2824
- (u(!0), s(f, null, L(al.value, (l, i) => (u(), s(f, {
2825
- key: `xLabel_plot_${i}`
2834
+ ])) : (i(), s("g", Ai, [
2835
+ (i(!0), s(f, null, L(al.value, (l, u) => (i(), s(f, {
2836
+ key: `xLabel_plot_${u}`
2826
2837
  }, [
2827
- (u(!0), s(f, null, L(l.plots, (a, n) => (u(), s(f, {
2828
- key: `xLabel_plot_${i}_${n}`
2838
+ (i(!0), s(f, null, L(l.plots, (a, n) => (i(), s(f, {
2839
+ key: `xLabel_plot_${u}_${n}`
2829
2840
  }, [
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", {
2841
+ e.value.plot.tag.followValue ? (i(), s(f, { key: 1 }, [
2842
+ [z.value, S.value, Te.value].includes(n) && l.useTag ? (i(), s("line", {
2832
2843
  key: 0,
2833
2844
  class: "vue-ui-xy-tag-plot",
2834
2845
  x1: r.value.left,
@@ -2839,9 +2850,9 @@ const To = {
2839
2850
  "stroke-linecap": "round",
2840
2851
  "stroke-dasharray": "2",
2841
2852
  stroke: l.color
2842
- }, null, 8, Ii)) : h("", !0)
2843
- ], 64)) : (u(), s(f, { key: 0 }, [
2844
- a && n === 0 && l.useTag && l.useTag === "start" ? (u(), s("foreignObject", {
2853
+ }, null, 8, Oi)) : h("", !0)
2854
+ ], 64)) : (i(), s(f, { key: 0 }, [
2855
+ a && n === 0 && l.useTag && l.useTag === "start" ? (i(), s("foreignObject", {
2845
2856
  key: 0,
2846
2857
  x: a.x,
2847
2858
  y: a.y - 20,
@@ -2861,9 +2872,9 @@ const To = {
2861
2872
  serieName: l.name
2862
2873
  }
2863
2874
  )
2864
- }, null, 12, Ci)
2865
- ], 12, Ai)) : h("", !0),
2866
- a && n === l.plots.length - 1 && l.useTag && l.useTag === "end" ? (u(), s("foreignObject", {
2875
+ }, null, 12, zi)
2876
+ ], 12, Ci)) : h("", !0),
2877
+ a && n === l.plots.length - 1 && l.useTag && l.useTag === "end" ? (i(), s("foreignObject", {
2867
2878
  key: 1,
2868
2879
  x: a.x - l.name.length * (w.value.plotLabels / 2),
2869
2880
  y: a.y - 20,
@@ -2883,20 +2894,20 @@ const To = {
2883
2894
  serieName: l.name
2884
2895
  }
2885
2896
  )
2886
- }, null, 12, Ti)
2887
- ], 12, zi)) : h("", !0)
2897
+ }, null, 12, Ii)
2898
+ ], 12, Ti)) : h("", !0)
2888
2899
  ], 64))
2889
2900
  ], 64))), 128))
2890
2901
  ], 64))), 128))
2891
2902
  ])),
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
- key: `xLabel_line_${i}`
2903
+ e.value.line.labels.show && b.value.dataLabels.show ? (i(), s("g", Ni, [
2904
+ (i(!0), s(f, null, L(Je.value, (l, u) => (i(), s(f, {
2905
+ key: `xLabel_line_${u}`
2895
2906
  }, [
2896
- (u(!0), s(f, null, L(l.plots, (a, n) => (u(), s(f, {
2897
- key: `xLabel_line_${i}_${n}`
2907
+ (i(!0), s(f, null, L(l.plots, (a, n) => (i(), s(f, {
2908
+ key: `xLabel_line_${u}_${n}`
2898
2909
  }, [
2899
- a && !Object.hasOwn(l, "dataLabels") || l.dataLabels === !0 || S.value !== null && S.value === n || O.value !== null && O.value === n ? (u(), s("text", {
2910
+ a && !Object.hasOwn(l, "dataLabels") || l.dataLabels === !0 || S.value !== null && S.value === n || z.value !== null && z.value === n ? (i(), s("text", {
2900
2911
  key: 0,
2901
2912
  x: a.x,
2902
2913
  y: a.y + (a.value >= 0 ? e.value.line.labels.offsetY : -e.value.line.labels.offsetY * 3),
@@ -2904,7 +2915,7 @@ const To = {
2904
2915
  "font-size": w.value.plotLabels,
2905
2916
  fill: e.value.line.labels.color,
2906
2917
  style: $(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2907
- }, ae(We(a.value) ? v(we)(
2918
+ }, ae(Oe(a.value) ? v(we)(
2908
2919
  e.value.line.labels.formatter,
2909
2920
  a.value,
2910
2921
  v(De)({
@@ -2917,18 +2928,18 @@ const To = {
2917
2928
  datapoint: a,
2918
2929
  serie: l
2919
2930
  }
2920
- ) : ""), 13, Ni)) : h("", !0)
2931
+ ) : ""), 13, Ri)) : h("", !0)
2921
2932
  ], 64))), 128))
2922
2933
  ], 64))), 128))
2923
- ])) : (u(), s("g", Ri, [
2924
- (u(!0), s(f, null, L(Je.value, (l, i) => (u(), s(f, {
2925
- key: `xLabel_line_${i}`
2934
+ ])) : (i(), s("g", Pi, [
2935
+ (i(!0), s(f, null, L(Je.value, (l, u) => (i(), s(f, {
2936
+ key: `xLabel_line_${u}`
2926
2937
  }, [
2927
- (u(!0), s(f, null, L(l.plots, (a, n) => (u(), s(f, {
2928
- key: `xLabel_line_${i}_${n}`
2938
+ (i(!0), s(f, null, L(l.plots, (a, n) => (i(), s(f, {
2939
+ key: `xLabel_line_${u}_${n}`
2929
2940
  }, [
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", {
2941
+ e.value.line.tag.followValue ? (i(), s(f, { key: 1 }, [
2942
+ [z.value, S.value, Te.value].includes(n) && l.useTag ? (i(), s("line", {
2932
2943
  key: 0,
2933
2944
  class: "vue-ui-xy-tag-line",
2934
2945
  x1: r.value.left,
@@ -2939,9 +2950,9 @@ const To = {
2939
2950
  "stroke-linecap": "round",
2940
2951
  "stroke-dasharray": "2",
2941
2952
  stroke: l.color
2942
- }, null, 8, Bi)) : h("", !0)
2943
- ], 64)) : (u(), s(f, { key: 0 }, [
2944
- a && n === 0 && l.useTag && l.useTag === "start" ? (u(), s("foreignObject", {
2953
+ }, null, 8, Fi)) : h("", !0)
2954
+ ], 64)) : (i(), s(f, { key: 0 }, [
2955
+ a && n === 0 && l.useTag && l.useTag === "start" ? (i(), s("foreignObject", {
2945
2956
  key: 0,
2946
2957
  x: a.x,
2947
2958
  y: a.y - 20,
@@ -2961,9 +2972,9 @@ const To = {
2961
2972
  serieName: l.name
2962
2973
  }
2963
2974
  )
2964
- }, null, 12, Hi)
2965
- ], 12, Pi)) : h("", !0),
2966
- a && n === l.plots.length - 1 && l.useTag && l.useTag === "end" ? (u(), s("foreignObject", {
2975
+ }, null, 12, Vi)
2976
+ ], 12, Hi)) : h("", !0),
2977
+ a && n === l.plots.length - 1 && l.useTag && l.useTag === "end" ? (i(), s("foreignObject", {
2967
2978
  key: 1,
2968
2979
  x: a.x,
2969
2980
  y: a.y - 20,
@@ -2983,26 +2994,26 @@ const To = {
2983
2994
  serieName: l.name
2984
2995
  }
2985
2996
  )
2986
- }, null, 12, Ei)
2987
- ], 12, Vi)) : h("", !0)
2997
+ }, null, 12, Bi)
2998
+ ], 12, Ei)) : h("", !0)
2988
2999
  ], 64))
2989
3000
  ], 64))), 128))
2990
3001
  ], 64))), 128))
2991
3002
  ])),
2992
- (u(!0), s(f, null, L(Je.value, (l, i) => (u(), s(f, {
2993
- key: `xLabel_line_${i}`
3003
+ (i(!0), s(f, null, L(Je.value, (l, u) => (i(), s(f, {
3004
+ key: `xLabel_line_${u}`
2994
3005
  }, [
2995
- (u(!0), s(f, null, L(l.plots, (a, n) => (u(), s(f, {
2996
- key: `xLabel_line_${i}_${n}`
3006
+ (i(!0), s(f, null, L(l.plots, (a, n) => (i(), s(f, {
3007
+ key: `xLabel_line_${u}_${n}`
2997
3008
  }, [
2998
- a && n === 0 && l.showSerieName && l.showSerieName === "start" ? (u(), s("text", {
3009
+ a && n === 0 && l.showSerieName && l.showSerieName === "start" ? (i(), s("text", {
2999
3010
  key: 0,
3000
3011
  x: a.x - w.value.plotLabels,
3001
3012
  y: a.y,
3002
3013
  "font-size": w.value.plotLabels,
3003
3014
  "text-anchor": "end",
3004
3015
  fill: l.color,
3005
- innerHTML: v(St)({
3016
+ innerHTML: v($t)({
3006
3017
  content: l.name,
3007
3018
  fontSize: w.value.plotLabels,
3008
3019
  fill: l.color,
@@ -3011,15 +3022,15 @@ const To = {
3011
3022
  maxWords: 2
3012
3023
  }),
3013
3024
  style: $(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3014
- }, null, 12, Fi)) : h("", !0),
3015
- a && n === l.plots.length - 1 && l.showSerieName && l.showSerieName === "end" ? (u(), s("text", {
3025
+ }, null, 12, Wi)) : h("", !0),
3026
+ a && n === l.plots.length - 1 && l.showSerieName && l.showSerieName === "end" ? (i(), s("text", {
3016
3027
  key: 1,
3017
3028
  x: a.x + w.value.plotLabels,
3018
3029
  y: a.y,
3019
3030
  "font-size": w.value.plotLabels,
3020
3031
  "text-anchor": "start",
3021
3032
  fill: l.color,
3022
- innerHTML: v(St)({
3033
+ innerHTML: v($t)({
3023
3034
  content: l.name,
3024
3035
  fontSize: w.value.plotLabels,
3025
3036
  fill: l.color,
@@ -3028,23 +3039,23 @@ const To = {
3028
3039
  maxWords: 2
3029
3040
  }),
3030
3041
  style: $(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3031
- }, null, 12, Wi)) : h("", !0)
3042
+ }, null, 12, Yi)) : h("", !0)
3032
3043
  ], 64))), 128))
3033
3044
  ], 64))), 128)),
3034
- (u(!0), s(f, null, L(al.value, (l, i) => (u(), s(f, {
3035
- key: `xLabel_plot_${i}`
3045
+ (i(!0), s(f, null, L(al.value, (l, u) => (i(), s(f, {
3046
+ key: `xLabel_plot_${u}`
3036
3047
  }, [
3037
- (u(!0), s(f, null, L(l.plots, (a, n) => (u(), s(f, {
3038
- key: `xLabel_plot_${i}_${n}`
3048
+ (i(!0), s(f, null, L(l.plots, (a, n) => (i(), s(f, {
3049
+ key: `xLabel_plot_${u}_${n}`
3039
3050
  }, [
3040
- a && n === 0 && l.showSerieName && l.showSerieName === "start" ? (u(), s("text", {
3051
+ a && n === 0 && l.showSerieName && l.showSerieName === "start" ? (i(), s("text", {
3041
3052
  key: 0,
3042
3053
  x: a.x - w.value.plotLabels,
3043
3054
  y: a.y,
3044
3055
  "font-size": w.value.plotLabels,
3045
3056
  "text-anchor": "end",
3046
3057
  fill: l.color,
3047
- innerHTML: v(St)({
3058
+ innerHTML: v($t)({
3048
3059
  content: l.name,
3049
3060
  fontSize: w.value.plotLabels,
3050
3061
  fill: l.color,
@@ -3053,15 +3064,15 @@ const To = {
3053
3064
  maxWords: 2
3054
3065
  }),
3055
3066
  style: $(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3056
- }, null, 12, Yi)) : h("", !0),
3057
- a && n === l.plots.length - 1 && l.showSerieName && l.showSerieName === "end" ? (u(), s("text", {
3067
+ }, null, 12, Di)) : h("", !0),
3068
+ a && n === l.plots.length - 1 && l.showSerieName && l.showSerieName === "end" ? (i(), s("text", {
3058
3069
  key: 1,
3059
3070
  x: a.x + w.value.plotLabels,
3060
3071
  y: a.y,
3061
3072
  "font-size": w.value.plotLabels,
3062
3073
  "text-anchor": "start",
3063
3074
  fill: l.color,
3064
- innerHTML: v(St)({
3075
+ innerHTML: v($t)({
3065
3076
  content: l.name,
3066
3077
  fontSize: w.value.plotLabels,
3067
3078
  fill: l.color,
@@ -3070,13 +3081,13 @@ const To = {
3070
3081
  maxWords: 2
3071
3082
  }),
3072
3083
  style: $(`opacity:${M.value ? M.value === l.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3073
- }, null, 12, Di)) : h("", !0)
3084
+ }, null, 12, Xi)) : h("", !0)
3074
3085
  ], 64))), 128))
3075
3086
  ], 64))), 128)),
3076
- b.value.useIndividualScale && !b.value.isStacked ? (u(), s(f, { key: 12 }, [
3087
+ b.value.useIndividualScale && !b.value.isStacked ? (i(), s(f, { key: 12 }, [
3077
3088
  m("defs", null, [
3078
- (u(!0), s(f, null, L(at.value, (l, i) => (u(), s("linearGradient", {
3079
- id: `individual_scale_gradient_${Q.value}_${i}`,
3089
+ (i(!0), s(f, null, L(at.value, (l, u) => (i(), s("linearGradient", {
3090
+ id: `individual_scale_gradient_${j.value}_${u}`,
3080
3091
  x1: "0%",
3081
3092
  x2: "100%",
3082
3093
  y1: "0%",
@@ -3086,26 +3097,26 @@ const To = {
3086
3097
  offset: "0%",
3087
3098
  "stop-color": e.value.chart.backgroundColor,
3088
3099
  "stop-opacity": "0"
3089
- }, null, 8, Gi),
3100
+ }, null, 8, Ui),
3090
3101
  m("stop", {
3091
3102
  offset: "100%",
3092
3103
  "stop-color": l.color,
3093
3104
  "stop-opacity": "0.2"
3094
- }, null, 8, Ui)
3095
- ], 8, Xi))), 256))
3105
+ }, null, 8, Zi)
3106
+ ], 8, Gi))), 256))
3096
3107
  ]),
3097
- (u(!0), s(f, null, L(at.value, (l, i) => (u(), s("rect", {
3108
+ (i(!0), s(f, null, L(at.value, (l, u) => (i(), s("rect", {
3098
3109
  x: l.x - e.value.chart.grid.labels.yAxis.labelWidth + le.value - r.value.individualOffsetX,
3099
3110
  y: r.value.top,
3100
3111
  width: e.value.chart.grid.labels.yAxis.labelWidth + r.value.individualOffsetX,
3101
3112
  height: r.value.height < 0 ? 10 : r.value.height,
3102
- fill: M.value === l.groupId ? `url(#individual_scale_gradient_${Q.value}_${i})` : "transparent",
3113
+ fill: M.value === l.groupId ? `url(#individual_scale_gradient_${j.value}_${u})` : "transparent",
3103
3114
  onMouseenter: (a) => M.value = l.groupId,
3104
3115
  onMouseleave: c[0] || (c[0] = (a) => M.value = null)
3105
- }, null, 40, Zi))), 256))
3116
+ }, null, 40, qi))), 256))
3106
3117
  ], 64)) : h("", !0),
3107
3118
  m("g", null, [
3108
- e.value.chart.grid.labels.axis.yLabel && !b.value.useIndividualScale ? (u(), s("text", {
3119
+ e.value.chart.grid.labels.axis.yLabel && !b.value.useIndividualScale ? (i(), s("text", {
3109
3120
  key: 0,
3110
3121
  ref_key: "yAxisLabel",
3111
3122
  ref: Hl,
@@ -3114,79 +3125,79 @@ const To = {
3114
3125
  transform: `translate(${e.value.chart.grid.labels.axis.fontSize}, ${r.value.top + r.value.height / 2}) rotate(-90)`,
3115
3126
  "text-anchor": "middle",
3116
3127
  style: { transition: "none" }
3117
- }, ae(e.value.chart.grid.labels.axis.yLabel), 9, qi)) : h("", !0),
3118
- e.value.chart.grid.labels.axis.xLabel ? (u(), s("text", {
3128
+ }, ae(e.value.chart.grid.labels.axis.yLabel), 9, Ji)) : h("", !0),
3129
+ e.value.chart.grid.labels.axis.xLabel ? (i(), s("text", {
3119
3130
  key: 1,
3120
3131
  ref_key: "xAxisLabel",
3121
- ref: He,
3132
+ ref: Ve,
3122
3133
  "text-anchor": "middle",
3123
3134
  x: ne.value / 2,
3124
3135
  y: se.value - 3,
3125
3136
  "font-size": w.value.yAxis,
3126
3137
  fill: e.value.chart.grid.labels.color
3127
- }, ae(e.value.chart.grid.labels.axis.xLabel), 9, Ji)) : h("", !0)
3138
+ }, ae(e.value.chart.grid.labels.axis.xLabel), 9, Ki)) : h("", !0)
3128
3139
  ]),
3129
- e.value.chart.grid.labels.xAxisLabels.show ? (u(), s("g", {
3140
+ e.value.chart.grid.labels.xAxisLabels.show ? (i(), s("g", {
3130
3141
  key: 13,
3131
3142
  ref_key: "timeLabelsEls",
3132
3143
  ref: nl
3133
3144
  }, [
3134
- t.$slots["time-label"] ? (u(!0), s(f, { key: 0 }, L(j.value, (l, i) => K(t.$slots, "time-label", kt({
3135
- key: `time_label_${i}`,
3145
+ t.$slots["time-label"] ? (i(!0), s(f, { key: 0 }, L(J.value, (l, u) => Q(t.$slots, "time-label", wt({
3146
+ key: `time_label_${u}`,
3136
3147
  ref_for: !0
3137
3148
  }, {
3138
- x: r.value.left + r.value.width / _.value * i + r.value.width / _.value / 2,
3149
+ x: r.value.left + r.value.width / _.value * u + r.value.width / _.value / 2,
3139
3150
  y: r.value.bottom,
3140
3151
  fontSize: w.value.xAxis,
3141
3152
  fill: e.value.chart.grid.labels.xAxisLabels.color,
3142
- transform: `translate(${r.value.left + r.value.width / _.value * i + r.value.width / _.value / 2}, ${r.value.bottom + w.value.xAxis * 1.3 + e.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.value.chart.grid.labels.xAxisLabels.rotation})`,
3153
+ transform: `translate(${r.value.left + r.value.width / _.value * u + r.value.width / _.value / 2}, ${r.value.bottom + w.value.xAxis * 1.3 + e.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.value.chart.grid.labels.xAxisLabels.rotation})`,
3143
3154
  absoluteIndex: l.absoluteIndex,
3144
3155
  content: l.text,
3145
3156
  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 <= 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
- key: `time_label_${i}`
3157
+ 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 && (u === 0 || u === J.value.length - 1) && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && S.value === u && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && u % Math.floor((k.value.end - k.value.start) / mt.value) === 0
3158
+ }), void 0, !0)), 128)) : (i(!0), s(f, { key: 1 }, L(J.value, (l, u) => (i(), s("g", {
3159
+ key: `time_label_${u}`
3149
3160
  }, [
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 }, [
3161
+ 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 && (u === 0 || u === J.value.length - 1) && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && S.value === u && !e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo || l && !e.value.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.value.chart.grid.labels.xAxisLabels.showOnlyAtModulo && u % Math.floor((k.value.end - k.value.start) / mt.value) === 0 ? (i(), s(f, { key: 0 }, [
3151
3162
  String(l.text).includes(`
3152
- `) ? (u(), s("text", {
3163
+ `) ? (i(), s("text", {
3153
3164
  key: 1,
3154
3165
  class: "vue-data-ui-time-label",
3155
3166
  "text-anchor": e.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
3156
3167
  "font-size": w.value.xAxis,
3157
3168
  fill: e.value.chart.grid.labels.xAxisLabels.color,
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})`,
3169
+ transform: `translate(${r.value.left + r.value.width / _.value * u + r.value.width / _.value / 2}, ${r.value.bottom + w.value.xAxis * 1.5}), rotate(${e.value.chart.grid.labels.xAxisLabels.rotation})`,
3159
3170
  style: $({
3160
3171
  cursor: Yt() ? "pointer" : "default"
3161
3172
  }),
3162
- innerHTML: v(xo)({
3173
+ innerHTML: v(bo)({
3163
3174
  content: String(l.text),
3164
3175
  fontSize: w.value.xAxis,
3165
3176
  fill: e.value.chart.grid.labels.xAxisLabels.color,
3166
3177
  x: 0,
3167
3178
  y: 0
3168
3179
  }),
3169
- onClick: () => Ut(l, i)
3170
- }, null, 12, Qi)) : (u(), s("text", {
3180
+ onClick: () => Ut(l, u)
3181
+ }, null, 12, ji)) : (i(), s("text", {
3171
3182
  key: 0,
3172
3183
  class: "vue-data-ui-time-label",
3173
3184
  "text-anchor": e.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
3174
3185
  "font-size": w.value.xAxis,
3175
3186
  fill: e.value.chart.grid.labels.xAxisLabels.color,
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})`,
3187
+ transform: `translate(${r.value.left + r.value.width / _.value * u + r.value.width / _.value / 2}, ${r.value.bottom + w.value.xAxis * 1.5}), rotate(${e.value.chart.grid.labels.xAxisLabels.rotation})`,
3177
3188
  style: $({
3178
3189
  cursor: Yt() ? "pointer" : "default"
3179
3190
  }),
3180
- onClick: () => Ut(l, i)
3181
- }, ae(l.text || ""), 13, Ki))
3191
+ onClick: () => Ut(l, u)
3192
+ }, ae(l.text || ""), 13, Qi))
3182
3193
  ], 64)) : h("", !0)
3183
3194
  ]))), 128))
3184
3195
  ], 512)) : h("", !0),
3185
- sa.value.length && !b.value.isStacked ? (u(), s("g", ji, [
3186
- (u(!0), s(f, null, L(sa.value, (l) => (u(), s("g", {
3196
+ sa.value.length && !b.value.isStacked ? (i(), s("g", es, [
3197
+ (i(!0), s(f, null, L(sa.value, (l) => (i(), s("g", {
3187
3198
  key: l.uid
3188
3199
  }, [
3189
- l.yTop && l.show && isFinite(l.yTop) ? (u(), s("line", {
3200
+ l.yTop && l.show && isFinite(l.yTop) ? (i(), s("line", {
3190
3201
  key: 0,
3191
3202
  x1: l.x1,
3192
3203
  y1: l.yTop,
@@ -3197,8 +3208,8 @@ const To = {
3197
3208
  "stroke-dasharray": l.config.line.strokeDasharray,
3198
3209
  "stroke-linecap": "round",
3199
3210
  style: { animation: "none !important" }
3200
- }, null, 8, es)) : h("", !0),
3201
- l.yBottom && l.show && isFinite(l.yBottom) ? (u(), s("line", {
3211
+ }, null, 8, ls)) : h("", !0),
3212
+ l.yBottom && l.show && isFinite(l.yBottom) ? (i(), s("line", {
3202
3213
  key: 1,
3203
3214
  x1: l.x1,
3204
3215
  y1: l.yBottom,
@@ -3209,8 +3220,8 @@ const To = {
3209
3220
  "stroke-dasharray": l.config.line.strokeDasharray,
3210
3221
  "stroke-linecap": "round",
3211
3222
  style: { animation: "none !important" }
3212
- }, null, 8, ls)) : h("", !0),
3213
- l.hasArea && l.show && isFinite(l.yTop) && isFinite(l.yBottom) ? (u(), s("rect", {
3223
+ }, null, 8, ts)) : h("", !0),
3224
+ l.hasArea && l.show && isFinite(l.yTop) && isFinite(l.yBottom) ? (i(), s("rect", {
3214
3225
  key: 2,
3215
3226
  y: Math.min(l.yTop, l.yBottom),
3216
3227
  x: l.x1,
@@ -3218,12 +3229,12 @@ const To = {
3218
3229
  height: v(V)(l.areaHeight, 0),
3219
3230
  fill: v(Qe)(l.config.area.fill, l.config.area.opacity),
3220
3231
  style: { animation: "none !important" }
3221
- }, null, 8, ts)) : h("", !0),
3222
- l.config.label.text && l.show && isFinite(l._box.y) ? (u(), s("rect", kt({
3232
+ }, null, 8, as)) : h("", !0),
3233
+ l.config.label.text && l.show && isFinite(l._box.y) ? (i(), s("rect", wt({
3223
3234
  key: 3,
3224
3235
  class: "vue-ui-xy-annotation-label-box"
3225
3236
  }, { ref_for: !0 }, l._box, { style: { animation: "none !important", transition: "none !important" } }), null, 16)) : h("", !0),
3226
- l.config.label.text && l.show && isFinite(l._text.y) ? (u(), s("text", {
3237
+ l.config.label.text && l.show && isFinite(l._text.y) ? (i(), s("text", {
3227
3238
  key: 4,
3228
3239
  id: l.id,
3229
3240
  class: "vue-ui-xy-annotation-label",
@@ -3232,12 +3243,12 @@ const To = {
3232
3243
  "font-size": l.config.label.fontSize,
3233
3244
  fill: l.config.label.color,
3234
3245
  "text-anchor": l.config.label.textAnchor
3235
- }, ae(l.config.label.text), 9, as)) : h("", !0)
3246
+ }, ae(l.config.label.text), 9, os)) : h("", !0)
3236
3247
  ]))), 128))
3237
3248
  ])) : h("", !0),
3238
- e.value.chart.timeTag.show && (![null, void 0].includes(S.value) || ![null, void 0].includes(O.value)) ? (u(), s("g", os, [
3239
- (u(), s("foreignObject", {
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,
3249
+ e.value.chart.timeTag.show && (![null, void 0].includes(S.value) || ![null, void 0].includes(z.value)) ? (i(), s("g", us, [
3250
+ (i(), s("foreignObject", {
3251
+ x: r.value.left + r.value.width / _.value * ((S.value !== null ? S.value : 0) || (z.value !== null ? z.value : 0)) - 100 + r.value.width / _.value / 2,
3241
3252
  y: r.value.bottom,
3242
3253
  width: "200",
3243
3254
  height: "40",
@@ -3246,33 +3257,33 @@ const To = {
3246
3257
  m("div", {
3247
3258
  class: "vue-ui-xy-time-tag",
3248
3259
  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
- }, 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, us)),
3260
+ }, ae((J.value[(S.value !== null ? S.value : 0) || (z.value !== null ? z.value : 0)] ? J.value[(S.value !== null ? S.value : 0) || (z.value !== null ? z.value : 0)].text : "") || (S.value !== null ? S.value : 0) || (z.value !== null ? z.value : 0)), 5)
3261
+ ], 8, is)),
3251
3262
  m("circle", {
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,
3263
+ cx: r.value.left + r.value.width / _.value * ((S.value !== null ? S.value : 0) || (z.value !== null ? z.value : 0)) + r.value.width / _.value / 2,
3253
3264
  cy: r.value.bottom,
3254
3265
  r: e.value.chart.timeTag.circleMarker.radius,
3255
3266
  fill: e.value.chart.timeTag.circleMarker.color
3256
- }, null, 8, is)
3267
+ }, null, 8, ss)
3257
3268
  ])) : h("", !0)
3258
3269
  ])) : h("", !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)
3270
+ x.value ? (i(), s("rect", vl(wt({ key: 2 }, A.value)), null, 16)) : h("", !0),
3271
+ Q(t.$slots, "svg", { svg: vt.value }, void 0, !0)
3261
3272
  ], 512)
3262
- ], 46, jo)),
3263
- t.$slots.watermark ? (u(), s("div", ss, [
3264
- K(t.$slots, "watermark", vl(kl({ isPrinting: v(q) || v(Ie) })), void 0, !0)
3273
+ ], 46, eu)),
3274
+ t.$slots.watermark ? (i(), s("div", ns, [
3275
+ Q(t.$slots, "watermark", vl(kl({ isPrinting: v(q) || v(Ie) })), void 0, !0)
3265
3276
  ])) : h("", !0),
3266
- (u(!0), s(f, null, L(Je.value, (l, i) => (u(), s(f, {
3267
- key: `tag_line_${i}`
3277
+ (i(!0), s(f, null, L(Je.value, (l, u) => (i(), s(f, {
3278
+ key: `tag_line_${u}`
3268
3279
  }, [
3269
- (u(!0), s(f, null, L(l.plots, (a, n) => (u(), s(f, {
3270
- key: `tag_line_${i}_${n}`
3280
+ (i(!0), s(f, null, L(l.plots, (a, n) => (i(), s(f, {
3281
+ key: `tag_line_${u}_${n}`
3271
3282
  }, [
3272
- [O.value, S.value, Te.value].includes(n) && l.useTag && l.useTag === "end" && e.value.line.tag.followValue ? (u(), s("div", {
3283
+ [z.value, S.value, Te.value].includes(n) && l.useTag && l.useTag === "end" && e.value.line.tag.followValue ? (i(), s("div", {
3273
3284
  key: 0,
3274
3285
  ref_for: !0,
3275
- ref: (o) => ft(i, n, o, "right", "line"),
3286
+ ref: (o) => gt(u, n, o, "right", "line"),
3276
3287
  class: "vue-ui-xy-tag",
3277
3288
  "data-tag": "right",
3278
3289
  style: $({
@@ -3281,14 +3292,14 @@ const To = {
3281
3292
  svgElement: Se.value,
3282
3293
  x: r.value.right + e.value.line.tag.fontSize / 1.5,
3283
3294
  y: a.y,
3284
- element: Be.value[`${i}_${n}_right_line`],
3295
+ element: Fe.value[`${u}_${n}_right_line`],
3285
3296
  position: "right"
3286
3297
  }).top + "px",
3287
3298
  left: v(wl)({
3288
3299
  svgElement: Se.value,
3289
3300
  x: r.value.right + e.value.line.tag.fontSize / 1.5,
3290
3301
  y: a.y,
3291
- element: Be.value[`${i}_${n}_right_line`],
3302
+ element: Fe.value[`${u}_${n}_right_line`],
3292
3303
  position: "right"
3293
3304
  }).left + "px",
3294
3305
  height: "fit-content",
@@ -3300,12 +3311,12 @@ const To = {
3300
3311
  opacity: 1
3301
3312
  })
3302
3313
  }, [
3303
- (u(), s("svg", ns, [
3314
+ (i(), s("svg", rs, [
3304
3315
  m("path", {
3305
3316
  d: "M 0,10 10,0 10,20 Z",
3306
3317
  fill: l.color,
3307
3318
  stroke: "none"
3308
- }, null, 8, rs)
3319
+ }, null, 8, cs)
3309
3320
  ])),
3310
3321
  m("div", {
3311
3322
  class: "vue-ui-xy-tag-content",
@@ -3319,12 +3330,12 @@ const To = {
3319
3330
  serieName: l.name
3320
3331
  }
3321
3332
  )
3322
- }, null, 8, cs)
3333
+ }, null, 8, vs)
3323
3334
  ], 4)) : h("", !0),
3324
- [O.value, S.value, Te.value].includes(n) && l.useTag && l.useTag === "start" && e.value.line.tag.followValue ? (u(), s("div", {
3335
+ [z.value, S.value, Te.value].includes(n) && l.useTag && l.useTag === "start" && e.value.line.tag.followValue ? (i(), s("div", {
3325
3336
  key: 1,
3326
3337
  ref_for: !0,
3327
- ref: (o) => ft(i, n, o, "left", "line"),
3338
+ ref: (o) => gt(u, n, o, "left", "line"),
3328
3339
  class: "vue-ui-xy-tag",
3329
3340
  "data-tag": "left",
3330
3341
  style: $({
@@ -3333,14 +3344,14 @@ const To = {
3333
3344
  svgElement: Se.value,
3334
3345
  x: r.value.left - e.value.line.tag.fontSize / 1.5,
3335
3346
  y: a.y,
3336
- element: Be.value[`${i}_${n}_left_line`],
3347
+ element: Fe.value[`${u}_${n}_left_line`],
3337
3348
  position: "left"
3338
3349
  }).top + "px",
3339
3350
  left: v(wl)({
3340
3351
  svgElement: Se.value,
3341
3352
  x: r.value.left - e.value.line.tag.fontSize / 1.5,
3342
3353
  y: a.y,
3343
- element: Be.value[`${i}_${n}_left_line`],
3354
+ element: Fe.value[`${u}_${n}_left_line`],
3344
3355
  position: "left"
3345
3356
  }).left + "px",
3346
3357
  height: "fit-content",
@@ -3352,12 +3363,12 @@ const To = {
3352
3363
  opacity: 1
3353
3364
  })
3354
3365
  }, [
3355
- (u(), s("svg", vs, [
3366
+ (i(), s("svg", ds, [
3356
3367
  m("path", {
3357
3368
  d: "M 0,0 10,10 0,20 Z",
3358
3369
  fill: l.color,
3359
3370
  stroke: "none"
3360
- }, null, 8, ds)
3371
+ }, null, 8, hs)
3361
3372
  ])),
3362
3373
  m("div", {
3363
3374
  class: "vue-ui-xy-tag-content",
@@ -3371,20 +3382,20 @@ const To = {
3371
3382
  serieName: l.name
3372
3383
  }
3373
3384
  )
3374
- }, null, 8, hs)
3385
+ }, null, 8, fs)
3375
3386
  ], 4)) : h("", !0)
3376
3387
  ], 64))), 128))
3377
3388
  ], 64))), 128)),
3378
- (u(!0), s(f, null, L(al.value, (l, i) => (u(), s(f, {
3379
- key: `tag_plot_${i}`
3389
+ (i(!0), s(f, null, L(al.value, (l, u) => (i(), s(f, {
3390
+ key: `tag_plot_${u}`
3380
3391
  }, [
3381
- (u(!0), s(f, null, L(l.plots, (a, n) => (u(), s(f, {
3382
- key: `tag_plot_${i}_${n}`
3392
+ (i(!0), s(f, null, L(l.plots, (a, n) => (i(), s(f, {
3393
+ key: `tag_plot_${u}_${n}`
3383
3394
  }, [
3384
- [O.value, S.value, Te.value].includes(n) && l.useTag && l.useTag === "end" && e.value.plot.tag.followValue ? (u(), s("div", {
3395
+ [z.value, S.value, Te.value].includes(n) && l.useTag && l.useTag === "end" && e.value.plot.tag.followValue ? (i(), s("div", {
3385
3396
  key: 0,
3386
3397
  ref_for: !0,
3387
- ref: (o) => ft(i, n, o, "right", "plot"),
3398
+ ref: (o) => gt(u, n, o, "right", "plot"),
3388
3399
  class: "vue-ui-xy-tag",
3389
3400
  "data-tag": "right",
3390
3401
  style: $({
@@ -3393,14 +3404,14 @@ const To = {
3393
3404
  svgElement: Se.value,
3394
3405
  x: r.value.right + e.value.plot.tag.fontSize / 1.5,
3395
3406
  y: a.y,
3396
- element: Be.value[`${i}_${n}_right_plot`],
3407
+ element: Fe.value[`${u}_${n}_right_plot`],
3397
3408
  position: "right"
3398
3409
  }).top + "px",
3399
3410
  left: v(wl)({
3400
3411
  svgElement: Se.value,
3401
3412
  x: r.value.right + e.value.plot.tag.fontSize / 1.5,
3402
3413
  y: a.y,
3403
- element: Be.value[`${i}_${n}_right_plot`],
3414
+ element: Fe.value[`${u}_${n}_right_plot`],
3404
3415
  position: "right"
3405
3416
  }).left + "px",
3406
3417
  height: "fit-content",
@@ -3412,12 +3423,12 @@ const To = {
3412
3423
  opacity: 1
3413
3424
  })
3414
3425
  }, [
3415
- (u(), s("svg", fs, [
3426
+ (i(), s("svg", gs, [
3416
3427
  m("path", {
3417
3428
  d: "M 0,10 10,0 10,20 Z",
3418
3429
  fill: l.color,
3419
3430
  stroke: "none"
3420
- }, null, 8, gs)
3431
+ }, null, 8, ms)
3421
3432
  ])),
3422
3433
  m("div", {
3423
3434
  class: "vue-ui-xy-tag-content",
@@ -3431,12 +3442,12 @@ const To = {
3431
3442
  serieName: l.name
3432
3443
  }
3433
3444
  )
3434
- }, null, 8, ms)
3445
+ }, null, 8, xs)
3435
3446
  ], 4)) : h("", !0),
3436
- [O.value, S.value, Te.value].includes(n) && l.useTag && l.useTag === "start" && e.value.plot.tag.followValue ? (u(), s("div", {
3447
+ [z.value, S.value, Te.value].includes(n) && l.useTag && l.useTag === "start" && e.value.plot.tag.followValue ? (i(), s("div", {
3437
3448
  key: 1,
3438
3449
  ref_for: !0,
3439
- ref: (o) => ft(i, n, o, "left", "plot"),
3450
+ ref: (o) => gt(u, n, o, "left", "plot"),
3440
3451
  class: "vue-ui-xy-tag",
3441
3452
  "data-tag": "left",
3442
3453
  style: $({
@@ -3445,14 +3456,14 @@ const To = {
3445
3456
  svgElement: Se.value,
3446
3457
  x: r.value.left - e.value.plot.tag.fontSize / 1.5,
3447
3458
  y: a.y,
3448
- element: Be.value[`${i}_${n}_left_plot`],
3459
+ element: Fe.value[`${u}_${n}_left_plot`],
3449
3460
  position: "left"
3450
3461
  }).top + "px",
3451
3462
  left: v(wl)({
3452
3463
  svgElement: Se.value,
3453
3464
  x: r.value.left - e.value.plot.tag.fontSize / 1.5,
3454
3465
  y: a.y,
3455
- element: Be.value[`${i}_${n}_left_plot`],
3466
+ element: Fe.value[`${u}_${n}_left_plot`],
3456
3467
  position: "left"
3457
3468
  }).left + "px",
3458
3469
  height: "fit-content",
@@ -3464,12 +3475,12 @@ const To = {
3464
3475
  opacity: 1
3465
3476
  })
3466
3477
  }, [
3467
- (u(), s("svg", xs, [
3478
+ (i(), s("svg", bs, [
3468
3479
  m("path", {
3469
3480
  d: "M 0,0 10,10 0,20 Z",
3470
3481
  fill: l.color,
3471
3482
  stroke: "none"
3472
- }, null, 8, bs)
3483
+ }, null, 8, ps)
3473
3484
  ])),
3474
3485
  m("div", {
3475
3486
  class: "vue-ui-xy-tag-content",
@@ -3483,20 +3494,20 @@ const To = {
3483
3494
  serieName: l.name
3484
3495
  }
3485
3496
  )
3486
- }, null, 8, ps)
3497
+ }, null, 8, ys)
3487
3498
  ], 4)) : h("", !0)
3488
3499
  ], 64))), 128))
3489
3500
  ], 64))), 128)),
3490
- e.value.chart.zoom.preview.enable ? (u(), s(f, { key: 5 }, [
3491
- e.value.chart.zoom.show && me.value > 6 && Ze.value ? (u(), Ke(Ko, {
3501
+ e.value.chart.zoom.preview.enable ? (i(), s(f, { key: 5 }, [
3502
+ e.value.chart.zoom.show && me.value > 6 && Ze.value ? (i(), Ke(Qo, {
3492
3503
  ref_key: "chartSlicer",
3493
3504
  ref: ze,
3494
3505
  key: `slicer_${ge.value}`,
3495
3506
  background: e.value.chart.zoom.color,
3496
3507
  fontSize: e.value.chart.zoom.fontSize,
3497
3508
  useResetSlot: e.value.chart.zoom.useResetSlot,
3498
- labelLeft: j.value[0] ? j.value[0].text : "",
3499
- labelRight: j.value.at(-1) ? j.value.at(-1).text : "",
3509
+ labelLeft: J.value[0] ? J.value[0].text : "",
3510
+ labelRight: J.value.at(-1) ? J.value.at(-1).text : "",
3500
3511
  textColor: e.value.chart.color,
3501
3512
  inputColor: e.value.chart.zoom.color,
3502
3513
  selectColor: e.value.chart.zoom.highlightColor,
@@ -3526,24 +3537,24 @@ const To = {
3526
3537
  onTrapMouse: Zt,
3527
3538
  onFutureStart: c[3] || (c[3] = (l) => g("start", l)),
3528
3539
  onFutureEnd: c[4] || (c[4] = (l) => g("end", l)),
3529
- timeLabels: Oa.value,
3540
+ timeLabels: Na.value,
3530
3541
  isPreview: x.value
3531
3542
  }, {
3532
3543
  "reset-action": pe(({ reset: l }) => [
3533
- K(t.$slots, "reset-action", vl(kl({ reset: l })), void 0, !0)
3544
+ Q(t.$slots, "reset-action", vl(kl({ reset: l })), void 0, !0)
3534
3545
  ]),
3535
3546
  _: 3
3536
3547
  }, 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(f, { key: 6 }, [
3538
- e.value.chart.zoom.show && me.value > 6 && Ze.value ? (u(), Ke(Co, {
3548
+ ], 64)) : (i(), s(f, { key: 6 }, [
3549
+ e.value.chart.zoom.show && me.value > 6 && Ze.value ? (i(), Ke(zo, {
3539
3550
  ref_key: "chartSlicer",
3540
3551
  ref: ze,
3541
3552
  key: `slicer_${ge.value}`,
3542
3553
  background: e.value.chart.zoom.color,
3543
3554
  fontSize: e.value.chart.zoom.fontSize,
3544
3555
  useResetSlot: e.value.chart.zoom.useResetSlot,
3545
- labelLeft: j.value[0] ? j.value[0].text : "",
3546
- labelRight: j.value.at(-1) ? j.value.at(-1).text : "",
3556
+ labelLeft: J.value[0] ? J.value[0].text : "",
3557
+ labelRight: J.value.at(-1) ? J.value.at(-1).text : "",
3547
3558
  textColor: e.value.chart.color,
3548
3559
  inputColor: e.value.chart.zoom.color,
3549
3560
  selectColor: e.value.chart.zoom.highlightColor,
@@ -3573,24 +3584,24 @@ const To = {
3573
3584
  onTrapMouse: Zt
3574
3585
  }, {
3575
3586
  "reset-action": pe(({ reset: l }) => [
3576
- K(t.$slots, "reset-action", vl(kl({ reset: l })), void 0, !0)
3587
+ Q(t.$slots, "reset-action", vl(kl({ reset: l })), void 0, !0)
3577
3588
  ]),
3578
3589
  _: 3
3579
3590
  }, 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)
3580
3591
  ], 64)),
3581
- e.value.chart.legend.show ? (u(), s("div", {
3592
+ e.value.chart.legend.show ? (i(), s("div", {
3582
3593
  key: 7,
3583
3594
  ref_key: "chartLegend",
3584
3595
  ref: el,
3585
3596
  class: "vue-ui-xy-legend",
3586
3597
  style: $(`font-size:${e.value.chart.legend.fontSize}px`)
3587
3598
  }, [
3588
- (u(!0), s(f, null, L(tl.value, (l, i) => (u(), s("div", {
3589
- key: `div_legend_item_${i}`,
3599
+ (i(!0), s(f, null, L(tl.value, (l, u) => (i(), s("div", {
3600
+ key: `div_legend_item_${u}`,
3590
3601
  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) })
3602
+ class: Pe({ "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
3603
  }, [
3593
- Ge.value[l.type] === "line" ? (u(), s("svg", ks, [
3604
+ Ge.value[l.type] === "line" ? (i(), s("svg", ws, [
3594
3605
  m("rect", {
3595
3606
  x: "0",
3596
3607
  y: "7.5",
@@ -3600,8 +3611,8 @@ const To = {
3600
3611
  height: "3",
3601
3612
  width: "20",
3602
3613
  fill: l.color
3603
- }, null, 8, ws),
3604
- Ul($t, {
3614
+ }, null, 8, Ss),
3615
+ Ul(_t, {
3605
3616
  plot: { x: 10, y: 9 },
3606
3617
  radius: 4,
3607
3618
  color: l.color,
@@ -3609,8 +3620,8 @@ const To = {
3609
3620
  stroke: e.value.chart.backgroundColor,
3610
3621
  strokeWidth: 0.5
3611
3622
  }, null, 8, ["color", "shape", "stroke"])
3612
- ])) : Ge.value[l.type] === "bar" ? (u(), s("svg", Ss, [
3613
- Ge.value[l.type] === "bar" && t.$slots.pattern ? (u(), s("rect", {
3623
+ ])) : Ge.value[l.type] === "bar" ? (i(), s("svg", $s, [
3624
+ Ge.value[l.type] === "bar" && t.$slots.pattern ? (i(), s("rect", {
3614
3625
  key: 0,
3615
3626
  x: "0",
3616
3627
  y: "0",
@@ -3619,8 +3630,8 @@ const To = {
3619
3630
  width: "40",
3620
3631
  stroke: "none",
3621
3632
  fill: l.color
3622
- }, null, 8, $s)) : h("", !0),
3623
- Ge.value[l.type] === "bar" ? (u(), s("rect", {
3633
+ }, null, 8, _s)) : h("", !0),
3634
+ Ge.value[l.type] === "bar" ? (i(), s("rect", {
3624
3635
  key: 1,
3625
3636
  x: "0",
3626
3637
  y: "0",
@@ -3628,10 +3639,10 @@ const To = {
3628
3639
  height: "40",
3629
3640
  width: "40",
3630
3641
  stroke: "none",
3631
- fill: t.$slots.pattern ? `url(#pattern_${Q.value}_${l.slotAbsoluteIndex})` : l.color
3632
- }, null, 8, _s)) : h("", !0)
3633
- ])) : (u(), s("svg", Ls, [
3634
- Ul($t, {
3642
+ fill: t.$slots.pattern ? `url(#pattern_${j.value}_${l.slotAbsoluteIndex})` : l.color
3643
+ }, null, 8, Ls)) : h("", !0)
3644
+ ])) : (i(), s("svg", Ms, [
3645
+ Ul(_t, {
3635
3646
  plot: { x: 6, y: 6 },
3636
3647
  radius: 5,
3637
3648
  color: l.color,
@@ -3641,21 +3652,21 @@ const To = {
3641
3652
  m("span", {
3642
3653
  style: $(`color:${e.value.chart.legend.color}`)
3643
3654
  }, ae(l.name), 5)
3644
- ], 10, ys))), 128))
3645
- ], 4)) : (u(), s("div", {
3655
+ ], 10, ks))), 128))
3656
+ ], 4)) : (i(), s("div", {
3646
3657
  key: 8,
3647
3658
  ref_key: "chartLegend",
3648
3659
  ref: el
3649
3660
  }, [
3650
- K(t.$slots, "legend", { legend: tl.value }, void 0, !0)
3661
+ Q(t.$slots, "legend", { legend: tl.value }, void 0, !0)
3651
3662
  ], 512)),
3652
- t.$slots.source ? (u(), s("div", {
3663
+ t.$slots.source ? (i(), s("div", {
3653
3664
  key: 9,
3654
3665
  ref_key: "source",
3655
3666
  ref: Ll,
3656
3667
  dir: "auto"
3657
3668
  }, [
3658
- K(t.$slots, "source", {}, void 0, !0)
3669
+ Q(t.$slots, "source", {}, void 0, !0)
3659
3670
  ], 512)) : h("", !0),
3660
3671
  Ul(v(ie), {
3661
3672
  show: b.value.showTooltip && El.value,
@@ -3669,21 +3680,21 @@ const To = {
3669
3680
  position: e.value.chart.tooltip.position,
3670
3681
  offsetY: e.value.chart.tooltip.offsetY,
3671
3682
  parent: t.$refs.chart,
3672
- content: Za.value,
3683
+ content: qa.value,
3673
3684
  isFullscreen: rl.value,
3674
3685
  isCustom: e.value.chart.tooltip.customFormat && typeof e.value.chart.tooltip.customFormat == "function",
3675
3686
  smooth: e.value.chart.tooltip.smooth,
3676
3687
  backdropFilter: e.value.chart.tooltip.backdropFilter
3677
3688
  }, {
3678
3689
  "tooltip-before": pe(() => [
3679
- K(t.$slots, "tooltip-before", vl(kl({ ...na.value })), void 0, !0)
3690
+ Q(t.$slots, "tooltip-before", vl(kl({ ...ra.value })), void 0, !0)
3680
3691
  ]),
3681
3692
  "tooltip-after": pe(() => [
3682
- K(t.$slots, "tooltip-after", vl(kl({ ...na.value })), void 0, !0)
3693
+ Q(t.$slots, "tooltip-after", vl(kl({ ...ra.value })), void 0, !0)
3683
3694
  ]),
3684
3695
  _: 3
3685
3696
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
3686
- Ze.value ? (u(), Ke(v(Pl), {
3697
+ Ze.value ? (i(), Ke(v(Pl), {
3687
3698
  key: 10,
3688
3699
  hideDetails: "",
3689
3700
  config: {
@@ -3703,15 +3714,15 @@ const To = {
3703
3714
  m("div", {
3704
3715
  style: $(`${v(q) ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
3705
3716
  }, [
3706
- m("div", Ms, [
3717
+ m("div", As, [
3707
3718
  Bt(m("input", {
3708
3719
  type: "checkbox",
3709
- "onUpdate:modelValue": c[7] || (c[7] = (l) => Me.value = l)
3720
+ "onUpdate:modelValue": c[7] || (c[7] = (l) => Ae.value = l)
3710
3721
  }, null, 512), [
3711
- [ao, Me.value]
3722
+ [oo, Ae.value]
3712
3723
  ]),
3713
3724
  m("div", {
3714
- onClick: c[8] || (c[8] = (l) => Me.value = !Me.value),
3725
+ onClick: c[8] || (c[8] = (l) => Ae.value = !Ae.value),
3715
3726
  style: { cursor: "pointer" }
3716
3727
  }, [
3717
3728
  Ul(v(Sl), {
@@ -3721,24 +3732,24 @@ const To = {
3721
3732
  }, null, 8, ["stroke"])
3722
3733
  ])
3723
3734
  ]),
3724
- Me.value ? (u(), Ke(v(ql), {
3725
- key: `sparkline_${Ee.value}`,
3726
- dataset: Xa.value,
3727
- config: Ga.value
3728
- }, null, 8, ["dataset", "config"])) : (u(), Ke(v(Pe), {
3735
+ Ae.value ? (i(), Ke(v(ql), {
3736
+ key: `sparkline_${Be.value}`,
3737
+ dataset: Ga.value,
3738
+ config: Ua.value
3739
+ }, null, 8, ["dataset", "config"])) : (i(), Ke(v(He), {
3729
3740
  key: `table_${ct.value}`,
3730
- colNames: yt.value.colNames,
3731
- head: yt.value.head,
3732
- body: yt.value.body,
3733
- config: yt.value.config,
3741
+ colNames: kt.value.colNames,
3742
+ head: kt.value.head,
3743
+ body: kt.value.body,
3744
+ config: kt.value.config,
3734
3745
  title: `${e.value.chart.title.text}${e.value.chart.title.subtitle.text ? ` : ${e.value.chart.title.subtitle.text}` : ""}`,
3735
3746
  onClose: c[9] || (c[9] = (l) => b.value.showTable = !1)
3736
3747
  }, {
3737
3748
  th: pe(({ th: l }) => [
3738
- m("div", { innerHTML: l }, null, 8, As)
3749
+ m("div", { innerHTML: l }, null, 8, Cs)
3739
3750
  ]),
3740
3751
  td: pe(({ td: l }) => [
3741
- oo(ae(isNaN(Number(l)) ? l : v(De)({
3752
+ uo(ae(isNaN(Number(l)) ? l : v(De)({
3742
3753
  p: e.value.chart.labels.prefix,
3743
3754
  v: l,
3744
3755
  s: e.value.chart.labels.suffix,
@@ -3751,10 +3762,10 @@ const To = {
3751
3762
  ]),
3752
3763
  _: 1
3753
3764
  }, 8, ["config"])) : h("", !0),
3754
- v(xe) ? (u(), Ke(_o, { key: 11 })) : h("", !0)
3755
- ], 46, Qo));
3765
+ v(xe) ? (i(), Ke(Lo, { key: 11 })) : h("", !0)
3766
+ ], 46, jo));
3756
3767
  }
3757
- }, Ds = /* @__PURE__ */ La(Cs, [["__scopeId", "data-v-55fc9962"]]);
3768
+ }, Xs = /* @__PURE__ */ Ma(zs, [["__scopeId", "data-v-a7b93d85"]]);
3758
3769
  export {
3759
- Ds as default
3770
+ Xs as default
3760
3771
  };