vue-data-ui 3.16.0 → 3.16.1

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 (136) hide show
  1. package/dist/ColorPicker-B0mV4xzu.js +255 -0
  2. package/dist/{NonSvgPenAndPaper-vqweC0WU.js → NonSvgPenAndPaper-VyJFyJ6X.js} +1 -1
  3. package/dist/{PackageVersion-IIGK_e2C.js → PackageVersion-DPO-OOVI.js} +1 -1
  4. package/dist/{PenAndPaper-DARlvvKW.js → PenAndPaper-Ct3qJ4lA.js} +109 -101
  5. package/dist/{UserOptions-DWHf8jyO.js → UserOptions-rW2fRf3V.js} +2 -2
  6. package/dist/components/vue-ui-3d-bar.js +1 -1
  7. package/dist/components/vue-ui-age-pyramid.js +1 -1
  8. package/dist/components/vue-ui-annotator.js +1 -1
  9. package/dist/components/vue-ui-bullet.js +1 -1
  10. package/dist/components/vue-ui-bump.js +1 -1
  11. package/dist/components/vue-ui-candlestick.js +1 -1
  12. package/dist/components/vue-ui-carousel-table.js +1 -1
  13. package/dist/components/vue-ui-chestnut.js +1 -1
  14. package/dist/components/vue-ui-chord.js +1 -1
  15. package/dist/components/vue-ui-circle-pack.js +1 -1
  16. package/dist/components/vue-ui-cursor.js +1 -1
  17. package/dist/components/vue-ui-dag.js +1 -1
  18. package/dist/components/vue-ui-dashboard.js +1 -1
  19. package/dist/components/vue-ui-digits.js +1 -1
  20. package/dist/components/vue-ui-donut-evolution.js +1 -1
  21. package/dist/components/vue-ui-donut.js +1 -1
  22. package/dist/components/vue-ui-dumbbell.js +1 -1
  23. package/dist/components/vue-ui-flow.js +1 -1
  24. package/dist/components/vue-ui-funnel.js +1 -1
  25. package/dist/components/vue-ui-galaxy.js +1 -1
  26. package/dist/components/vue-ui-gauge.js +1 -1
  27. package/dist/components/vue-ui-geo.js +1 -1
  28. package/dist/components/vue-ui-gizmo.js +1 -1
  29. package/dist/components/vue-ui-heatmap.js +1 -1
  30. package/dist/components/vue-ui-history-plot.js +1 -1
  31. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  32. package/dist/components/vue-ui-kpi.js +1 -1
  33. package/dist/components/vue-ui-molecule.js +1 -1
  34. package/dist/components/vue-ui-mood-radar.js +1 -1
  35. package/dist/components/vue-ui-nested-donuts.js +1 -1
  36. package/dist/components/vue-ui-onion.js +1 -1
  37. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  38. package/dist/components/vue-ui-quadrant.js +1 -1
  39. package/dist/components/vue-ui-quick-chart.js +1 -1
  40. package/dist/components/vue-ui-radar.js +1 -1
  41. package/dist/components/vue-ui-relation-circle.js +1 -1
  42. package/dist/components/vue-ui-ridgeline.js +1 -1
  43. package/dist/components/vue-ui-rings.js +1 -1
  44. package/dist/components/vue-ui-scatter.js +1 -1
  45. package/dist/components/vue-ui-skeleton.js +1 -1
  46. package/dist/components/vue-ui-spark-trend.js +1 -1
  47. package/dist/components/vue-ui-sparkbar.js +1 -1
  48. package/dist/components/vue-ui-sparkgauge.js +1 -1
  49. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  50. package/dist/components/vue-ui-sparkline.js +1 -1
  51. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  52. package/dist/components/vue-ui-stackbar.js +1 -1
  53. package/dist/components/vue-ui-stackline.js +1 -1
  54. package/dist/components/vue-ui-strip-plot.js +1 -1
  55. package/dist/components/vue-ui-table-heatmap.js +1 -1
  56. package/dist/components/vue-ui-table-sparkline.js +1 -1
  57. package/dist/components/vue-ui-table.js +1 -1
  58. package/dist/components/vue-ui-thermometer.js +1 -1
  59. package/dist/components/vue-ui-timer.js +1 -1
  60. package/dist/components/vue-ui-tiremarks.js +1 -1
  61. package/dist/components/vue-ui-treemap.js +1 -1
  62. package/dist/components/vue-ui-vertical-bar.js +1 -1
  63. package/dist/components/vue-ui-waffle.js +1 -1
  64. package/dist/components/vue-ui-wheel.js +1 -1
  65. package/dist/components/vue-ui-word-cloud.js +1 -1
  66. package/dist/components/vue-ui-world.js +1 -1
  67. package/dist/components/vue-ui-xy-canvas.js +1 -1
  68. package/dist/components/vue-ui-xy.js +1 -1
  69. package/dist/style.css +1 -1
  70. package/dist/types/vue-data-ui.d.ts +1 -0
  71. package/dist/{vue-data-ui-CykQ4SW2.js → vue-data-ui-DXGkXRnC.js} +63 -63
  72. package/dist/vue-data-ui.js +63 -63
  73. package/dist/{vue-ui-3d-bar-D5KRiVmZ.js → vue-ui-3d-bar-BaFpQnd5.js} +1 -1
  74. package/dist/{vue-ui-age-pyramid-QfZ1J5Xx.js → vue-ui-age-pyramid-CRM498Pc.js} +342 -341
  75. package/dist/{vue-ui-annotator-CpSMITlP.js → vue-ui-annotator-CkPi9moo.js} +1 -1
  76. package/dist/{vue-ui-bullet-B-mo7tzz.js → vue-ui-bullet-BBiwof3c.js} +1 -1
  77. package/dist/{vue-ui-bump-NfZcJ9Q0.js → vue-ui-bump-Brxpu4xV.js} +1 -1
  78. package/dist/{vue-ui-candlestick-CGU-0rrF.js → vue-ui-candlestick-DAnZv77-.js} +240 -239
  79. package/dist/{vue-ui-carousel-table-BsdD3wU7.js → vue-ui-carousel-table-BHRZBYY0.js} +1 -1
  80. package/dist/{vue-ui-chestnut-JpoNeiHD.js → vue-ui-chestnut-CbrYnRgm.js} +1 -1
  81. package/dist/{vue-ui-chord-CxhxjRQz.js → vue-ui-chord-CaX_IUVs.js} +1 -1
  82. package/dist/{vue-ui-circle-pack-DbxOzzk2.js → vue-ui-circle-pack-CR3h53sc.js} +1 -1
  83. package/dist/{vue-ui-cursor-CZGKKkeT.js → vue-ui-cursor-Cjfazw7Z.js} +1 -1
  84. package/dist/{vue-ui-dag-gal2eIv-.js → vue-ui-dag-B9vH3c66.js} +1 -1
  85. package/dist/{vue-ui-dashboard-ClnkPMc5.js → vue-ui-dashboard-DWll05qs.js} +62 -62
  86. package/dist/{vue-ui-digits-DColgbmH.js → vue-ui-digits-DcM67rMx.js} +1 -1
  87. package/dist/{vue-ui-donut-Bckj-DX2.js → vue-ui-donut-Be5G38P5.js} +395 -394
  88. package/dist/{vue-ui-donut-evolution-B6HtvZVs.js → vue-ui-donut-evolution-BLSesj3c.js} +265 -264
  89. package/dist/{vue-ui-dumbbell-r3Jv9uut.js → vue-ui-dumbbell-DIMiCY4r.js} +1 -1
  90. package/dist/{vue-ui-flow-BxfLqYXa.js → vue-ui-flow-zvZylhgr.js} +1 -1
  91. package/dist/{vue-ui-funnel-B6Gevxqh.js → vue-ui-funnel-CSri-oWm.js} +1 -1
  92. package/dist/{vue-ui-galaxy-BJr1ddJZ.js → vue-ui-galaxy-CGykxsAI.js} +1 -1
  93. package/dist/{vue-ui-gauge-Q-Slhgwx.js → vue-ui-gauge-D1MNB9Jq.js} +1 -1
  94. package/dist/{vue-ui-geo-Dow4oyTv.js → vue-ui-geo-DdJDGhG2.js} +1 -1
  95. package/dist/{vue-ui-gizmo-zpVjAoDG.js → vue-ui-gizmo-BZYRHGFm.js} +1 -1
  96. package/dist/{vue-ui-heatmap-mKX5Bzql.js → vue-ui-heatmap-CryOx6XK.js} +494 -482
  97. package/dist/{vue-ui-history-plot-D6kiRkhD.js → vue-ui-history-plot-C85iw9Kl.js} +1 -1
  98. package/dist/{vue-ui-horizontal-bar-FKkR13e7.js → vue-ui-horizontal-bar-BoBZOybC.js} +430 -429
  99. package/dist/{vue-ui-kpi-CMRe29m5.js → vue-ui-kpi-DHrolXw6.js} +1 -1
  100. package/dist/{vue-ui-molecule-7eT7D17p.js → vue-ui-molecule-DJ_BQ4DK.js} +1 -1
  101. package/dist/{vue-ui-mood-radar-DsC0X_C2.js → vue-ui-mood-radar-CBE02TpQ.js} +1 -1
  102. package/dist/{vue-ui-nested-donuts-FbiXKFZX.js → vue-ui-nested-donuts-YTFtb4CL.js} +284 -283
  103. package/dist/{vue-ui-onion-CjWiTq2x.js → vue-ui-onion-B9l81-PS.js} +1 -1
  104. package/dist/{vue-ui-parallel-coordinate-plot-kl1jgKIX.js → vue-ui-parallel-coordinate-plot-C1e_rs8J.js} +1 -1
  105. package/dist/{vue-ui-quadrant-CyalzEfW.js → vue-ui-quadrant-C1qsLCRn.js} +556 -555
  106. package/dist/{vue-ui-quick-chart-DgWwf7SJ.js → vue-ui-quick-chart-DFoz3WiA.js} +360 -359
  107. package/dist/{vue-ui-radar-Bw9veQKf.js → vue-ui-radar-Cmo3p-UA.js} +1 -1
  108. package/dist/{vue-ui-relation-circle-D4-9g-5t.js → vue-ui-relation-circle-BqwznVwf.js} +1 -1
  109. package/dist/{vue-ui-ridgeline-BZy69VT6.js → vue-ui-ridgeline-CDk9eXJq.js} +1 -1
  110. package/dist/{vue-ui-rings-LDs6OFnx.js → vue-ui-rings-BRkGoQdL.js} +1 -1
  111. package/dist/{vue-ui-scatter-i_hakuFa.js → vue-ui-scatter-BxDtWASQ.js} +479 -466
  112. package/dist/{vue-ui-skeleton-F2qaXsQ2.js → vue-ui-skeleton-D6kTb9aO.js} +1 -1
  113. package/dist/{vue-ui-spark-trend-ZIMooBi3.js → vue-ui-spark-trend-D8Mf2A1w.js} +1 -1
  114. package/dist/{vue-ui-sparkbar-BYRKG_Mm.js → vue-ui-sparkbar-BbYj56c3.js} +1 -1
  115. package/dist/{vue-ui-sparkgauge-BM0mnDHp.js → vue-ui-sparkgauge-DXzOSLRb.js} +1 -1
  116. package/dist/{vue-ui-sparkhistogram-z4-7Q6J8.js → vue-ui-sparkhistogram-DMfSx1iH.js} +1 -1
  117. package/dist/{vue-ui-sparkline-9m1__jVp.js → vue-ui-sparkline-D-rQ9PsC.js} +439 -438
  118. package/dist/{vue-ui-sparkstackbar-uM98VUDw.js → vue-ui-sparkstackbar-DK5n8IKP.js} +1 -1
  119. package/dist/{vue-ui-stackbar-DcSJuwTC.js → vue-ui-stackbar-BHthy6jf.js} +212 -211
  120. package/dist/{vue-ui-stackline-Dl_FfJAO.js → vue-ui-stackline-C6-WNpKD.js} +363 -362
  121. package/dist/{vue-ui-strip-plot-CcV8bOkg.js → vue-ui-strip-plot-CHu-1ilI.js} +1 -1
  122. package/dist/{vue-ui-table-Dx-N-eF1.js → vue-ui-table-DW9JGsLq.js} +2 -2
  123. package/dist/{vue-ui-table-heatmap-CVxNZzGe.js → vue-ui-table-heatmap-LYqoBit9.js} +1 -1
  124. package/dist/{vue-ui-table-sparkline-DdtbqaUL.js → vue-ui-table-sparkline-CXK1dFr-.js} +1 -1
  125. package/dist/{vue-ui-thermometer-Clwz-wUE.js → vue-ui-thermometer-BN8tflOz.js} +1 -1
  126. package/dist/{vue-ui-timer-BYVk_bvz.js → vue-ui-timer-DGT0UBOF.js} +1 -1
  127. package/dist/{vue-ui-tiremarks-D5TSv5yw.js → vue-ui-tiremarks-BZ-osQqY.js} +1 -1
  128. package/dist/{vue-ui-treemap-C0zhPMxE.js → vue-ui-treemap-98KaVRyd.js} +388 -387
  129. package/dist/{vue-ui-waffle-BtjLPkLm.js → vue-ui-waffle-Cb7oJnIc.js} +1 -1
  130. package/dist/{vue-ui-wheel-DSlnowV4.js → vue-ui-wheel-sfew1fjw.js} +1 -1
  131. package/dist/{vue-ui-word-cloud-DFdiRCqc.js → vue-ui-word-cloud-vq1t9JHr.js} +1 -1
  132. package/dist/{vue-ui-world-CymT7_Ep.js → vue-ui-world-CN0f6elD.js} +1 -1
  133. package/dist/{vue-ui-xy-B9Q4FR0g.js → vue-ui-xy-BdzEiImZ.js} +956 -955
  134. package/dist/{vue-ui-xy-canvas-CrnBxoa0.js → vue-ui-xy-canvas-CWQzUQzY.js} +113 -113
  135. package/package.json +1 -1
  136. package/dist/ColorPicker-DQ5sdRrl.js +0 -244
@@ -1,6 +1,6 @@
1
- import { defineAsyncComponent as ze, ref as c, computed as g, useSlots as vl, onMounted as Jt, toRefs as cl, watch as E, nextTick as Te, onBeforeUnmount as ot, watchEffect as st, shallowRef as ut, openBlock as M, createElementBlock as $e, normalizeClass as dl, normalizeStyle as ve, createElementVNode as H, toDisplayString as Ae, createBlock as q, createCommentVNode as W, unref as S, createSlots as Qt, withCtx as x, renderSlot as k, normalizeProps as K, guardReactiveProps as J, createVNode as ea, Teleport as hl, resolveDynamicComponent as fl, mergeProps as ml, createTextVNode as ta } from "vue";
2
- import { j as yl, t as aa, m as gl, p as se, $ as pl, n as bl, D as nt, k as ce, l as de, s as la, H as xl, a8 as Ll, J as Cl, o as kl, q as wl, T as rt, u as Me, x as Sl, a0 as zl, a1 as Tl, U as oa } from "./lib-DBptbyyI.js";
3
- import { c as $l, a as it, d as Al, t as Ml, u as Il, l as T, r as _e, b as Q, p as sa } from "./useResponsive-DfdjqQps.js";
1
+ import { defineAsyncComponent as ze, ref as c, computed as g, useSlots as vl, onMounted as Jt, toRefs as cl, watch as E, nextTick as Te, onBeforeUnmount as ot, watchEffect as st, shallowRef as ut, openBlock as I, createElementBlock as $e, normalizeClass as dl, normalizeStyle as ve, createElementVNode as H, toDisplayString as Ae, createBlock as q, createCommentVNode as W, unref as z, createSlots as Qt, withCtx as x, renderSlot as k, normalizeProps as K, guardReactiveProps as J, createVNode as ea, Teleport as hl, resolveDynamicComponent as fl, mergeProps as ml, createTextVNode as ta } from "vue";
2
+ import { j as yl, t as aa, m as gl, p as se, $ as pl, n as bl, D as nt, k as ce, l as de, s as la, H as xl, a8 as Ll, J as Cl, o as kl, q as wl, T as rt, u as Ie, x as Sl, a0 as zl, a1 as Tl, U as oa } from "./lib-DBptbyyI.js";
3
+ import { c as $l, a as it, d as Al, t as Il, u as Ml, l as T, r as _e, b as Q, p as sa } from "./useResponsive-DfdjqQps.js";
4
4
  import { u as Fl, a as ua, b as Pl } from "./useTimeLabels-C-A2uZKi.js";
5
5
  import { u as Rl } from "./useConfig-DO94Aj5s.js";
6
6
  import { u as Dl, B as Ol } from "./BaseScanner-BhhkKVoj.js";
@@ -12,9 +12,9 @@ import { u as Hl } from "./useChartAccessibility-9icAAmYg.js";
12
12
  import Wl from "./img-LXxMLmCg.js";
13
13
  import _l from "./vue_ui_xy_canvas-6BBDSowT.js";
14
14
  import Xl from "./Legend-CS7Xo5LK.js";
15
- import Ul from "./Title-BeMKE1cj.js";
16
- import Yl from "./BaseIcon-Cb3zzG6s.js";
17
- import Vl from "./vue-ui-accordion-nvggWcGN.js";
15
+ import Vl from "./Title-BeMKE1cj.js";
16
+ import Ul from "./BaseIcon-Cb3zzG6s.js";
17
+ import Yl from "./vue-ui-accordion-nvggWcGN.js";
18
18
  import { S as ql } from "./SlicerPreview-DTjwV0iY.js";
19
19
  import { B as jl } from "./BaseLegendToggle-BQVIawmA.js";
20
20
  import { _ as Gl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -52,7 +52,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
52
52
  },
53
53
  emits: ["selectLegend", "selectX", "copyAlt"],
54
54
  setup(vt, { expose: na, emit: ra }) {
55
- const ia = ze(() => import("./Tooltip-Bf-kM3_A.js")), va = ze(() => import("./DataTable-DT2kIdQ6.js")), ca = ze(() => import("./UserOptions-DWHf8jyO.js")), da = ze(() => import("./NonSvgPenAndPaper-vqweC0WU.js")), ha = ze(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_xy_canvas: fa } = Rl(), { isThemeValid: ma, warnInvalidTheme: ya } = Nl(), D = vt, j = c(yl()), G = c(null), ue = c(null), v = c(null), y = c(1), ee = c(1), he = c(!1), f = c(null), fe = c(""), ct = c(null), p = c([]), ne = c(1), N = c(!0), _ = c(!0), Ie = c(null), dt = c(0), me = c(!1), ht = c(null), ft = c(null), te = c(null), mt = c(null), Ue = c(0), Ye = c(0), Ve = c(0), X = c(null), yt = c(!1), ye = c(null), qe = c(null), ge = c(!1), gt = c(!1), Fe = c(!1), $ = c(null), je = c(!1), Pe = c(!1), Ge = c(!1), U = c(null), pt = c({ x: 0, y: 0 }), Y = g(() => Array.isArray(Ze.value) && Ze.value.length > 0), Re = ra, ga = vl();
55
+ const ia = ze(() => import("./Tooltip-Bf-kM3_A.js")), va = ze(() => import("./DataTable-DT2kIdQ6.js")), ca = ze(() => import("./UserOptions-rW2fRf3V.js")), da = ze(() => import("./NonSvgPenAndPaper-VyJFyJ6X.js")), ha = ze(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_xy_canvas: fa } = Rl(), { isThemeValid: ma, warnInvalidTheme: ya } = Nl(), D = vt, j = c(yl()), G = c(null), ue = c(null), v = c(null), y = c(1), ee = c(1), he = c(!1), f = c(null), fe = c(""), ct = c(null), p = c([]), ne = c(1), N = c(!0), _ = c(!0), Me = c(null), dt = c(0), me = c(!1), ht = c(null), ft = c(null), te = c(null), mt = c(null), Ve = c(0), Ue = c(0), Ye = c(0), X = c(null), yt = c(!1), ye = c(null), qe = c(null), ge = c(!1), gt = c(!1), Fe = c(!1), $ = c(null), je = c(!1), Pe = c(!1), Ge = c(!1), V = c(null), pt = c({ x: 0, y: 0 }), U = g(() => Array.isArray(Ze.value) && Ze.value.length > 0), Re = ra, ga = vl();
56
56
  Jt(() => {
57
57
  ga["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
58
58
  });
@@ -60,9 +60,9 @@ const Zl = ["id"], Kl = ["id"], Jl = {
60
60
  const e = t.value.style.chart.title.text || "XY chart", a = s.value.end - s.value.start, l = h.value.filter((u) => !p.value.includes(u.absoluteIndex)).length;
61
61
  return `${e}. ${l} series. ${a} visible data points.`;
62
62
  }), ba = g(() => {
63
- if (U.value === null) return "";
64
- const e = U.value + s.value.start, a = t.value.style.chart.grid.x.timeLabels.values.slice(s.value.start, s.value.end)[U.value] ? t.value.style.chart.tooltip.useDefaultTimeFormat ? z.value.slice(s.value.start, s.value.end)[U.value]?.text : tt.value[U.value]?.text : z.value[e]?.text ?? `Point ${e + 1}`, l = h.value.filter((u) => !p.value.includes(u.absoluteIndex)).map((u) => {
65
- const n = u.series[U.value], i = n?.value ?? n ?? null;
63
+ if (V.value === null) return "";
64
+ const e = V.value + s.value.start, a = t.value.style.chart.grid.x.timeLabels.values.slice(s.value.start, s.value.end)[V.value] ? t.value.style.chart.tooltip.useDefaultTimeFormat ? S.value.slice(s.value.start, s.value.end)[V.value]?.text : tt.value[V.value]?.text : S.value[e]?.text ?? `Point ${e + 1}`, l = h.value.filter((u) => !p.value.includes(u.absoluteIndex)).map((u) => {
65
+ const n = u.series[V.value], i = n?.value ?? n ?? null;
66
66
  return `${u.name}: ${i}`;
67
67
  }).join(". ");
68
68
  return `${a}. ${l}.`;
@@ -173,9 +173,9 @@ const Zl = ["id"], Kl = ["id"], Jl = {
173
173
  })), a;
174
174
  }
175
175
  E(() => D.config, (e) => {
176
- De.value || (t.value = Je()), Ke.value = !t.value.userOptions.showOnChartHover, Xt(), Ue.value += 1, Ye.value += 1, Ve.value += 1, d.value.showTable = t.value.table.show, d.value.showDataLabels = t.value.style.chart.dataLabels.show, d.value.stacked = t.value.style.chart.stacked, d.value.showTooltip = t.value.style.chart.tooltip.show;
176
+ De.value || (t.value = Je()), Ke.value = !t.value.userOptions.showOnChartHover, Xt(), Ve.value += 1, Ue.value += 1, Ye.value += 1, d.value.showTable = t.value.table.show, d.value.showDataLabels = t.value.style.chart.dataLabels.show, d.value.stacked = t.value.style.chart.stacked, d.value.showTooltip = t.value.style.chart.tooltip.show;
177
177
  }, { deep: !0 }), E(() => D.dataset, async (e) => {
178
- !Array.isArray(e) || e.length === 0 || (await Te(), L.value && !v.value && (v.value = L.value.getContext("2d", { willReadFrequently: !0 })), N.value = !0, _.value = !0, await xe(), Ee(), Ue.value += 1, Ye.value += 1, Ve.value += 1);
178
+ !Array.isArray(e) || e.length === 0 || (await Te(), L.value && !v.value && (v.value = L.value.getContext("2d", { willReadFrequently: !0 })), N.value = !0, _.value = !0, await xe(), Ee(), Ve.value += 1, Ue.value += 1, Ye.value += 1);
179
179
  }, { deep: !0 });
180
180
  const Lt = c(t.value.style.chart.aspectRatio), { isPrinting: Ct, isImaging: kt, generatePdf: wt, generateImage: St } = El({
181
181
  elementId: `xy_canvas_${j.value}`,
@@ -190,22 +190,22 @@ const Zl = ["id"], Kl = ["id"], Jl = {
190
190
  function zt(e) {
191
191
  me.value = e, dt.value += 1;
192
192
  }
193
- const Tt = g(() => bl(t.value.customPalette)), Qe = g(() => p.value.length === I.value.length), O = g(() => I.value ? Math.max(...I.value.filter((e, a) => Qe.value ? !0 : !p.value.includes(e.absoluteIndex)).map((e) => e.series.length)) : 0);
193
+ const Tt = g(() => bl(t.value.customPalette)), Qe = g(() => p.value.length === M.value.length), O = g(() => M.value ? Math.max(...M.value.filter((e, a) => Qe.value ? !0 : !p.value.includes(e.absoluteIndex)).map((e) => e.series.length)) : 0);
194
194
  function wa(e) {
195
195
  $.value = e, Z();
196
196
  }
197
197
  const $t = c(0), pe = c(0);
198
198
  function Sa() {
199
199
  if (!v.value || !t.value.style.chart.grid.x.timeLabels.show) return 0;
200
- const e = z.value || [], a = s.value.start ?? 0, l = s.value.end ?? 0;
200
+ const e = S.value || [], a = s.value.start ?? 0, l = s.value.end ?? 0;
201
201
  if (!Math.max(0, l - a)) return 0;
202
202
  const n = Math.round(
203
203
  y.value / 40 * t.value.style.chart.grid.x.timeLabels.fontSizeRatio
204
204
  ), i = `${t.value.style.chart.grid.x.timeLabels.bold ? "bold " : ""}${n}px ${t.value.style.fontFamily}`;
205
205
  v.value.save(), v.value.font = i;
206
206
  let r = 0;
207
- for (let V = a; V < l; V += 1) {
208
- const B = e[V]?.text ?? `${V + 1}`, We = v.value.measureText(String(B));
207
+ for (let Y = a; Y < l; Y += 1) {
208
+ const B = e[Y]?.text ?? `${Y + 1}`, We = v.value.measureText(String(B));
209
209
  We.width > r && (r = We.width);
210
210
  }
211
211
  v.value.restore();
@@ -245,10 +245,10 @@ const Zl = ["id"], Kl = ["id"], Jl = {
245
245
  function $a({ hasAutoScale: e, series: a, min: l, max: u, scale: n, yOffset: i, individualHeight: r, stackIndex: m = null }) {
246
246
  return a.map((C, b) => {
247
247
  const w = n.min < 0 ? Math.abs(n.min) : 0, R = At(C + w, w + n.max);
248
- let oe, V;
249
- e && (oe = n.min, V = At(C - oe, n.max - oe));
248
+ let oe, Y;
249
+ e && (oe = n.min, Y = At(C - oe, n.max - oe));
250
250
  let B = 0;
251
- return m === null ? B = o.value.bottom - o.value.height * (e ? V : R) : B = o.value.bottom - i - r * (e ? V : R), {
251
+ return m === null ? B = o.value.bottom - o.value.height * (e ? Y : R) : B = o.value.bottom - i - r * (e ? Y : R), {
252
252
  x: o.value.left + o.value.slot * b + o.value.slot / 2,
253
253
  y: B,
254
254
  value: C
@@ -256,7 +256,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
256
256
  });
257
257
  }
258
258
  const A = g(() => {
259
- const e = t.value.style.chart.scale.min !== null ? t.value.style.chart.scale.min : Math.min(...I.value.filter((r, m) => !p.value.includes(r.absoluteIndex)).flatMap((r) => r.series.slice(s.value.start, s.value.end))), a = t.value.style.chart.scale.max !== null ? t.value.style.chart.scale.max : Math.max(...I.value.filter((r, m) => !p.value.includes(r.absoluteIndex)).flatMap((r) => r.series.slice(s.value.start, s.value.end))), l = nt(e < 0 ? e : 0, a === e ? e + 1 < 0 ? 0 : e + 1 : a < 0 ? 0 : a, t.value.style.chart.scale.ticks), u = l.min < 0 ? Math.abs(l.min) : 0, n = o.value.bottom - o.value.height * (u / (l.max + u)), i = l.ticks.map((r) => ({
259
+ const e = t.value.style.chart.scale.min !== null ? t.value.style.chart.scale.min : Math.min(...M.value.filter((r, m) => !p.value.includes(r.absoluteIndex)).flatMap((r) => r.series.slice(s.value.start, s.value.end))), a = t.value.style.chart.scale.max !== null ? t.value.style.chart.scale.max : Math.max(...M.value.filter((r, m) => !p.value.includes(r.absoluteIndex)).flatMap((r) => r.series.slice(s.value.start, s.value.end))), l = nt(e < 0 ? e : 0, a === e ? e + 1 < 0 ? 0 : e + 1 : a < 0 ? 0 : a, t.value.style.chart.scale.ticks), u = l.min < 0 ? Math.abs(l.min) : 0, n = o.value.bottom - o.value.height * (u / (l.max + u)), i = l.ticks.map((r) => ({
260
260
  y: o.value.bottom - o.value.height * ((r + u) / (l.max + u)),
261
261
  x: o.value.left - 8,
262
262
  value: r
@@ -269,7 +269,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
269
269
  yLabels: i,
270
270
  zero: n
271
271
  };
272
- }), Mt = g(() => h.value.map((e) => `
272
+ }), It = g(() => h.value.map((e) => `
273
273
  <div style="display:flex;flex-direction:row;gap:6px;align-items:center;">
274
274
  <svg viewBox="0 0 10 10" height="12" width="12">
275
275
  <circle cx="5" cy="5" r="5" fill="${e.color}"/>
@@ -287,7 +287,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
287
287
  { datapoint: e, seriesIndex: f.value }
288
288
  )}</span>
289
289
  </div>
290
- `)), Oe = g(() => t.value.style.chart.line.cutNullValues), I = g(() => Ze.value.map((e, a) => ({
290
+ `)), Oe = g(() => t.value.style.chart.line.cutNullValues), M = g(() => Ze.value.map((e, a) => ({
291
291
  ...e,
292
292
  series: xl({
293
293
  data: Ll(e.series, [], Oe.value),
@@ -297,19 +297,19 @@ const Zl = ["id"], Kl = ["id"], Jl = {
297
297
  color: la(e.color || Tt.value[a] || se[a] || se[a % se.length])
298
298
  }))), Aa = g(() => {
299
299
  if (!t.value.style.chart.zoom.minimap.show) return [];
300
- const e = I.value.filter((n) => !p.value.includes(n.absoluteIndex)), a = Math.max(...e.map((n) => n.series.length)), l = [];
300
+ const e = M.value.filter((n) => !p.value.includes(n.absoluteIndex)), a = Math.max(...e.map((n) => n.series.length)), l = [];
301
301
  for (let n = 0; n < a; n += 1)
302
302
  l.push(e.map((i) => i.series[n] || 0).reduce((i, r) => (i || 0) + (r || 0), 0));
303
303
  const u = Math.min(...l);
304
304
  return l.map((n) => n + (u < 0 ? Math.abs(u) : 0));
305
- }), Ma = g(() => t.value.style.chart.zoom.minimap.show ? I.value.map((a) => ({
305
+ }), Ia = g(() => t.value.style.chart.zoom.minimap.show ? M.value.map((a) => ({
306
306
  ...a,
307
307
  isVisible: !p.value.includes(a.absoluteIndex)
308
308
  })) : []);
309
309
  E(O, (e) => {
310
310
  e && xe();
311
311
  });
312
- const h = g(() => Cl(I.value.filter((e, a) => !p.value.includes(e.absoluteIndex))).map((e, a) => ({
312
+ const h = g(() => Cl(M.value.filter((e, a) => !p.value.includes(e.absoluteIndex))).map((e, a) => ({
313
313
  ...e,
314
314
  series: e.series.slice(s.value.start, s.value.end)
315
315
  })).map((e, a) => {
@@ -328,7 +328,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
328
328
  y: o.value.bottom - m - b * (We / (r.ticks.length - 1)),
329
329
  x: o.value.left - 8,
330
330
  value: B
331
- })), V = $a({
331
+ })), Y = $a({
332
332
  hasAutoScale: d.value.stacked && e.autoScaling,
333
333
  series: e.series,
334
334
  min: d.value.stacked ? l : A.value.min,
@@ -340,7 +340,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
340
340
  });
341
341
  return {
342
342
  ...e,
343
- coordinatesLine: V,
343
+ coordinatesLine: Y,
344
344
  min: l,
345
345
  max: u,
346
346
  localScale: r,
@@ -354,7 +354,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
354
354
  start: 0,
355
355
  end: O.value
356
356
  }), F = c({ start: 0, end: O.value }), be = c(null);
357
- function Ia() {
357
+ function Ma() {
358
358
  return new Promise((e) => requestAnimationFrame(
359
359
  () => requestAnimationFrame(() => e())
360
360
  ));
@@ -364,18 +364,18 @@ const Zl = ["id"], Kl = ["id"], Jl = {
364
364
  });
365
365
  async function xe() {
366
366
  Ft(), await Te(), be.value && cancelAnimationFrame(be.value), be.value = requestAnimationFrame(async () => {
367
- await Ia(), Ft();
367
+ await Ma(), Ft();
368
368
  });
369
369
  }
370
370
  const Fa = g(() => t.value.style.chart.zoom.preview.enable && (F.value.start !== s.value.start || F.value.end !== s.value.end));
371
- function It(e, a) {
371
+ function Mt(e, a) {
372
372
  F.value[e] = a;
373
373
  }
374
374
  async function Ft() {
375
375
  if (!ge.value) {
376
376
  ge.value = !0;
377
377
  try {
378
- const { startIndex: e, endIndex: a } = t.value.style.chart.zoom, l = Math.max(...I.value.map((i) => i.series.length)), u = e ?? 0, n = a != null ? Math.min(Pt(a + 1), l) : l;
378
+ const { startIndex: e, endIndex: a } = t.value.style.chart.zoom, l = Math.max(...M.value.map((i) => i.series.length)), u = e ?? 0, n = a != null ? Math.min(Pt(a + 1), l) : l;
379
379
  Fe.value = !0, s.value.start = u, s.value.end = n, F.value.start = u, F.value.end = n, et(), gt.value = !0, await Te(), te.value && (te.value.setStartValue(s.value.start), te.value.setEndValue(s.value.end));
380
380
  } finally {
381
381
  queueMicrotask(() => {
@@ -399,7 +399,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
399
399
  function et() {
400
400
  const e = Math.max(
401
401
  1,
402
- Math.max(...I.value.map((u) => u.series.length))
402
+ Math.max(...M.value.map((u) => u.series.length))
403
403
  );
404
404
  let a = Math.max(0, Math.min(s.value.start ?? 0, e - 1)), l = Math.max(a + 1, Math.min(s.value.end ?? e, e));
405
405
  (!Number.isFinite(a) || !Number.isFinite(l) || l <= a) && (a = 0, l = e), s.value = { start: a, end: l }, F.value.start = a, F.value.end = l, te.value && (te.value.setStartValue(a), te.value.setEndValue(l));
@@ -410,15 +410,15 @@ const Zl = ["id"], Kl = ["id"], Jl = {
410
410
  const e = ue.value.offsetWidth, a = ue.value.offsetHeight;
411
411
  L.value.width = e * ne.value * 2, L.value.height = a * ne.value * 2, y.value = e * ne.value * 2, ee.value = a * ne.value * 2, v.value?.scale(ne.value, ne.value), Z();
412
412
  }
413
- E(Y, async (e) => {
413
+ E(U, async (e) => {
414
414
  if (!e) {
415
- Ie.value = null, he.value = !1, f.value = null, X.value = null;
415
+ Me.value = null, he.value = !1, f.value = null, X.value = null;
416
416
  return;
417
417
  }
418
418
  await Te(), L.value && !v.value && (v.value = L.value.getContext("2d", { willReadFrequently: !0 })), N.value = !0, _.value = !0, await xe(), Ee(), Z();
419
419
  });
420
420
  function Oa() {
421
- if (v.value && (v.value.clearRect(0, 0, 1e4, 1e4), v.value.fillStyle = t.value.style.chart.backgroundColor, v.value.fillRect(0, 0, o.value.canvasWidth, o.value.canvasHeight), !!Y.value)) {
421
+ if (v.value && (v.value.clearRect(0, 0, 1e4, 1e4), v.value.fillStyle = t.value.style.chart.backgroundColor, v.value.fillRect(0, 0, o.value.canvasWidth, o.value.canvasHeight), !!U.value)) {
422
422
  if (d.value.stacked)
423
423
  t.value.style.chart.grid.y.verticalLines.show && s.value.end - s.value.start < t.value.style.chart.grid.y.verticalLines.hideUnderXLength ? h.value.forEach((e) => {
424
424
  for (let a = 0; a < s.value.end - s.value.start + 1; a += 1)
@@ -467,7 +467,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
467
467
  { x: o.value.left, y: e.localYLabels[l + 1].y }
468
468
  ],
469
469
  {
470
- fillColor: l % 2 === 0 ? "transparent" : Me(t.value.style.chart.grid.x.horizontalLines.color, t.value.style.chart.grid.x.horizontalLines.opacity),
470
+ fillColor: l % 2 === 0 ? "transparent" : Ie(t.value.style.chart.grid.x.horizontalLines.color, t.value.style.chart.grid.x.horizontalLines.opacity),
471
471
  strokeColor: "transparent"
472
472
  }
473
473
  );
@@ -566,7 +566,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
566
566
  { x: o.value.left, y: A.value.yLabels[a + 1].y }
567
567
  ],
568
568
  {
569
- fillColor: a % 2 === 0 ? "transparent" : Me(t.value.style.chart.grid.x.horizontalLines.color, t.value.style.chart.grid.x.horizontalLines.opacity),
569
+ fillColor: a % 2 === 0 ? "transparent" : Ie(t.value.style.chart.grid.x.horizontalLines.color, t.value.style.chart.grid.x.horizontalLines.opacity),
570
570
  strokeColor: "transparent"
571
571
  }
572
572
  );
@@ -753,7 +753,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
753
753
  }
754
754
  );
755
755
  }
756
- const z = c([]);
756
+ const S = c([]);
757
757
  let Rt = 0;
758
758
  st(() => {
759
759
  const e = ++Rt;
@@ -765,10 +765,10 @@ const Zl = ["id"], Kl = ["id"], Jl = {
765
765
  start: 0,
766
766
  end: O.value
767
767
  });
768
- e === Rt && (z.value = a);
768
+ e === Rt && (S.value = a);
769
769
  })();
770
770
  }), st(() => {
771
- t.value.style.chart.grid.x.timeLabels.show, t.value.style.chart.grid.x.timeLabels.rotation, t.value.style.chart.grid.x.timeLabels.offsetY, t.value.style.chart.grid.x.timeLabels.fontSizeRatio, t.value.style.chart.grid.x.timeLabels.bold, s.value.start, s.value.end, y.value, ee.value, (z.value || []).map((e) => e?.text ?? "").join("|"), Ta();
771
+ t.value.style.chart.grid.x.timeLabels.show, t.value.style.chart.grid.x.timeLabels.rotation, t.value.style.chart.grid.x.timeLabels.offsetY, t.value.style.chart.grid.x.timeLabels.fontSizeRatio, t.value.style.chart.grid.x.timeLabels.bold, s.value.start, s.value.end, y.value, ee.value, (S.value || []).map((e) => e?.text ?? "").join("|"), Ta();
772
772
  }, { flush: "post" });
773
773
  const Dt = c({ months: [], shortMonths: [], days: [], shortDays: [] });
774
774
  let Ot = 0;
@@ -800,13 +800,13 @@ const Zl = ["id"], Kl = ["id"], Jl = {
800
800
  for (let e = s.value.start; e < s.value.end; e += 1)
801
801
  (s.value.end - s.value.start < t.value.style.chart.grid.x.timeLabels.modulo || s.value.end - s.value.start >= t.value.style.chart.grid.x.timeLabels.modulo && (e % Math.floor((s.value.end - s.value.start) / t.value.style.chart.grid.x.timeLabels.modulo) === 0 || (e === f.value + s.value.start || e === $.value) && t.value.style.chart.grid.x.timeLabels.showMarker)) && Q(
802
802
  v.value,
803
- z.value[e] ? z.value[e].text : e + 1,
803
+ S.value[e] ? S.value[e].text : e + 1,
804
804
  o.value.left + o.value.slot * (e - s.value.start) + o.value.slot / 2,
805
805
  o.value.bottom + y.value / t.value.style.chart.grid.x.timeLabels.offsetY,
806
806
  {
807
807
  align: t.value.style.chart.grid.x.timeLabels.rotation === 0 ? "center" : t.value.style.chart.grid.x.timeLabels.rotation > 0 ? "left" : "right",
808
808
  font: `${t.value.style.chart.grid.x.timeLabels.bold ? "bold " : ""}${Math.round(y.value / 40 * t.value.style.chart.grid.x.timeLabels.fontSizeRatio)}px ${t.value.style.fontFamily}`,
809
- color: t.value.style.chart.grid.x.timeLabels.showMarker ? Me(t.value.style.chart.grid.x.timeLabels.color, f.value !== null || $.value !== null ? f.value + s.value.start === e || $.value === e ? 100 : 20 : 100) : t.value.style.chart.grid.x.timeLabels.color,
809
+ color: t.value.style.chart.grid.x.timeLabels.showMarker ? Ie(t.value.style.chart.grid.x.timeLabels.color, f.value !== null || $.value !== null ? f.value + s.value.start === e || $.value === e ? 100 : 20 : 100) : t.value.style.chart.grid.x.timeLabels.color,
810
810
  rotation: t.value.style.chart.grid.x.timeLabels.rotation
811
811
  }
812
812
  );
@@ -905,7 +905,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
905
905
  );
906
906
  });
907
907
  }
908
- function Ua(e, a) {
908
+ function Va(e, a) {
909
909
  const l = e.coordinatesLine.map((r, m) => {
910
910
  const C = e.series[m];
911
911
  return C != null && Number.isFinite(r?.y) ? r : null;
@@ -937,7 +937,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
937
937
  } else i.length === 1 && n.push(i[0]);
938
938
  return { polygons: u, singles: n };
939
939
  }
940
- function Ya(e) {
940
+ function Ua(e) {
941
941
  const a = e.coordinatesLine.map((n, i) => {
942
942
  const r = e.series[i];
943
943
  return r != null && Number.isFinite(n?.y) ? n : null;
@@ -951,7 +951,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
951
951
  }
952
952
  function Ht(e) {
953
953
  if (Oe.value) {
954
- const a = Ya(e);
954
+ const a = Ua(e);
955
955
  for (const l of a)
956
956
  T(v.value, l, {
957
957
  color: e.color,
@@ -963,15 +963,15 @@ const Zl = ["id"], Kl = ["id"], Jl = {
963
963
  lineWidth: 3
964
964
  });
965
965
  }
966
- function Va(e) {
966
+ function Ya(e) {
967
967
  const a = !!Oe.value;
968
968
  if (e.useArea) {
969
969
  const l = d.value.stacked ? e.localZero : A.value.zero;
970
970
  if (a) {
971
- const { polygons: u, singles: n } = Ua(e, l);
971
+ const { polygons: u, singles: n } = Va(e, l);
972
972
  for (const r of u)
973
973
  sa(v.value, r, {
974
- fillColor: Me(e.color, t.value.style.chart.area.opacity),
974
+ fillColor: Ie(e.color, t.value.style.chart.area.opacity),
975
975
  strokeColor: "transparent"
976
976
  });
977
977
  const i = y.value / 200 * t.value.style.chart.line.plots.radiusRatio;
@@ -991,7 +991,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
991
991
  v.value,
992
992
  [u, ...e.coordinatesLine, n],
993
993
  {
994
- fillColor: Me(e.color, t.value.style.chart.area.opacity),
994
+ fillColor: Ie(e.color, t.value.style.chart.area.opacity),
995
995
  strokeColor: "transparent"
996
996
  }
997
997
  );
@@ -1035,9 +1035,9 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1035
1035
  );
1036
1036
  }
1037
1037
  function Z() {
1038
- !Y.value || !L.value || !v.value || (Oa(), N.value ? ((f.value !== null || $.value !== null) && t.value.style.chart.selector.show && Bt(), Xa(), d.value.stacked && t.value.style.chart.grid.x.showAxis && qa(), Da.value.forEach((e) => {
1039
- (e.type === "line" || !e.type) && Va(e), _.value && (Ea(e), d.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && Ha(e));
1040
- }), L.value && (Ie.value = $l(L.value))) : (Ie.value && (v.value.clearRect(0, 0, 1e4, 1e4), v.value.drawImage(Ie.value, 0, 0)), (f.value !== null || $.value !== null) && t.value.style.chart.selector.show && Bt(), (f.value !== null || $.value !== null) && h.value.forEach((e) => {
1038
+ !U.value || !L.value || !v.value || (Oa(), N.value ? ((f.value !== null || $.value !== null) && t.value.style.chart.selector.show && Bt(), Xa(), d.value.stacked && t.value.style.chart.grid.x.showAxis && qa(), Da.value.forEach((e) => {
1039
+ (e.type === "line" || !e.type) && Ya(e), _.value && (Ea(e), d.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && Ha(e));
1040
+ }), L.value && (Me.value = $l(L.value))) : (Me.value && (v.value.clearRect(0, 0, 1e4, 1e4), v.value.drawImage(Me.value, 0, 0)), (f.value !== null || $.value !== null) && t.value.style.chart.selector.show && Bt(), (f.value !== null || $.value !== null) && h.value.forEach((e) => {
1041
1041
  const a = f.value ?? $.value, l = e.coordinatesLine[a];
1042
1042
  (e.type === "line" || !e.type || e.type === "plot") && l && Number.isFinite(l.x) && Number.isFinite(l.y) && it(
1043
1043
  v.value,
@@ -1059,14 +1059,14 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1059
1059
  return { y: a, value: l };
1060
1060
  }
1061
1061
  function Ga(e) {
1062
- if (!Y.value || !L.value || Qe.value) return;
1062
+ if (!U.value || !L.value || Qe.value) return;
1063
1063
  const { left: a, top: l } = L.value.getBoundingClientRect(), u = e.clientX - a;
1064
1064
  if (X.value = (e.clientY - l) * 2, (X.value < o.value.top || X.value > o.value.bottom) && (X.value = null), u * 2 < o.value.left || u * 2 > o.value.right) {
1065
1065
  ke();
1066
1066
  return;
1067
1067
  }
1068
1068
  const n = u * 2 - o.value.left, i = Math.floor(n / o.value.slot);
1069
- if (f.value = i, U.value = i, he.value = !0, Pe.value = !1, !_.value) return;
1069
+ if (f.value = i, V.value = i, he.value = !0, Pe.value = !1, !_.value) return;
1070
1070
  let r = "";
1071
1071
  const m = t.value.style.chart.tooltip.customFormat, C = h.value.map((b) => ({
1072
1072
  shape: b.shape || null,
@@ -1085,7 +1085,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1085
1085
  datapoint: C,
1086
1086
  series: h.value,
1087
1087
  config: t.value
1088
- }) : (t.value.style.chart.grid.x.timeLabels.values.slice(s.value.start, s.value.end)[f.value] ? r += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${t.value.style.chart.tooltip.borderColor}; width:100%">${t.value.style.chart.tooltip.useDefaultTimeFormat ? z.value.slice(s.value.start, s.value.end)[f.value]?.text : tt.value[f.value]?.text}</div>` : r += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${t.value.style.chart.tooltip.borderColor}; width:100%">${z.value[f.value + s.value.start]?.text ?? ""}</div>`, r += Mt.value.join(""), fe.value = r), _.value = !1;
1088
+ }) : (t.value.style.chart.grid.x.timeLabels.values.slice(s.value.start, s.value.end)[f.value] ? r += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${t.value.style.chart.tooltip.borderColor}; width:100%">${t.value.style.chart.tooltip.useDefaultTimeFormat ? S.value.slice(s.value.start, s.value.end)[f.value]?.text : tt.value[f.value]?.text}</div>` : r += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${t.value.style.chart.tooltip.borderColor}; width:100%">${S.value[f.value + s.value.start]?.text ?? ""}</div>`, r += It.value.join(""), fe.value = r), _.value = !1;
1089
1089
  }
1090
1090
  function Za(e) {
1091
1091
  return h.value.map((a) => ({
@@ -1109,7 +1109,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1109
1109
  datapoint: u,
1110
1110
  series: h.value,
1111
1111
  config: t.value
1112
- }) : (t.value.style.chart.grid.x.timeLabels.values.slice(s.value.start, s.value.end)[e] ? a += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${t.value.style.chart.tooltip.borderColor}; width:100%">${t.value.style.chart.tooltip.useDefaultTimeFormat ? z.value.slice(s.value.start, s.value.end)[e]?.text : tt.value[e]?.text}</div>` : a += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${t.value.style.chart.tooltip.borderColor}; width:100%">${z.value[e + s.value.start]?.text ?? ""}</div>`, a += Mt.value.join(""), a);
1112
+ }) : (t.value.style.chart.grid.x.timeLabels.values.slice(s.value.start, s.value.end)[e] ? a += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${t.value.style.chart.tooltip.borderColor}; width:100%">${t.value.style.chart.tooltip.useDefaultTimeFormat ? S.value.slice(s.value.start, s.value.end)[e]?.text : tt.value[e]?.text}</div>` : a += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${t.value.style.chart.tooltip.borderColor}; width:100%">${S.value[e + s.value.start]?.text ?? ""}</div>`, a += It.value.join(""), a);
1113
1113
  }
1114
1114
  function Ja(e) {
1115
1115
  if (!L.value || !o.value?.slot) return;
@@ -1120,10 +1120,10 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1120
1120
  };
1121
1121
  }
1122
1122
  function Wt(e, { fromKeyboard: a = !1 } = {}) {
1123
- !Y.value || Qe.value || e != null && (e < 0 || e >= s.value.end - s.value.start || (f.value = e, U.value = e, he.value = !0, Pe.value = a, fe.value = Ka(e), a && Ja(e), _.value = !1, Z()));
1123
+ !U.value || Qe.value || e != null && (e < 0 || e >= s.value.end - s.value.start || (f.value = e, V.value = e, he.value = !0, Pe.value = a, fe.value = Ka(e), a && Ja(e), _.value = !1, Z()));
1124
1124
  }
1125
1125
  function ke() {
1126
- he.value = !1, f.value = null, U.value = null, fe.value = "", X.value = null, Pe.value = !1, Z();
1126
+ he.value = !1, f.value = null, V.value = null, fe.value = "", X.value = null, Pe.value = !1, Z();
1127
1127
  }
1128
1128
  function Qa() {
1129
1129
  Ge.value = !0;
@@ -1138,8 +1138,8 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1138
1138
  const u = s.value.end - s.value.start;
1139
1139
  if (u <= 0) return;
1140
1140
  e.preventDefault(), e.stopPropagation();
1141
- let n = U.value;
1142
- n === null || n < 0 || n >= u ? n = l ? 0 : u - 1 : l ? (n += 1, n >= u && (n = 0)) : (n -= 1, n < 0 && (n = u - 1)), Wt(n, { fromKeyboard: !0 });
1141
+ let n = V.value;
1142
+ n !== null && n >= 0 && n < u ? l ? (n += 1, n >= u && (n = 0)) : (n -= 1, n < 0 && (n = u - 1)) : l ? n = 0 : n = u - 1, Wt(n, { fromKeyboard: !0 });
1143
1143
  }
1144
1144
  function _t({ seriesIndex: e, datapoint: a }) {
1145
1145
  const l = s.value.start + e;
@@ -1180,10 +1180,10 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1180
1180
  });
1181
1181
  function Xt() {
1182
1182
  if (kl(D.dataset) && xa.value && wl({ componentName: "VueUiXyCanvas", type: "dataset" }), Te(() => {
1183
- L.value && !v.value && (v.value = L.value.getContext("2d", { willReadFrequently: !0 })), v.value && Y.value && (N.value = !0, _.value = !0, Ee());
1183
+ L.value && !v.value && (v.value = L.value.getContext("2d", { willReadFrequently: !0 })), v.value && U.value && (N.value = !0, _.value = !0, Ee());
1184
1184
  }), t.value.responsive) {
1185
- const e = Ml(() => {
1186
- const { width: a, height: l } = Il({
1185
+ const e = Il(() => {
1186
+ const { width: a, height: l } = Ml({
1187
1187
  chart: G.value,
1188
1188
  title: t.value.style.chart.title.text ? ht.value : null,
1189
1189
  legend: t.value.style.chart.legend.show ? ft.value : null,
@@ -1212,21 +1212,21 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1212
1212
  function Ne(e) {
1213
1213
  Re("selectLegend", h.value.find((a) => a.absoluteIndex === e)), p.value.includes(e) ? p.value = p.value.filter((a) => a !== e) : p.value.push(e), N.value = !0, Le();
1214
1214
  }
1215
- function Ut(e) {
1216
- if (!I.value.length)
1215
+ function Vt(e) {
1216
+ if (!M.value.length)
1217
1217
  return t.value.debug && console.warn("VueUiXyCanvas - There are no series to show."), null;
1218
- const a = I.value.find((l) => l.name === e);
1218
+ const a = M.value.find((l) => l.name === e);
1219
1219
  return a || (t.value.debug && console.warn(`VueUiXyCanvas - Series name not found "${e}"`), null);
1220
1220
  }
1221
1221
  function ol(e) {
1222
- const a = Ut(e);
1222
+ const a = Vt(e);
1223
1223
  a !== null && p.value.includes(a.absoluteIndex) && Ne(a.absoluteIndex);
1224
1224
  }
1225
1225
  function sl(e) {
1226
- const a = Ut(e);
1226
+ const a = Vt(e);
1227
1227
  a !== null && (p.value.includes(a.absoluteIndex) || Ne(a.absoluteIndex));
1228
1228
  }
1229
- const Be = g(() => I.value.map((e, a) => ({
1229
+ const Be = g(() => M.value.map((e, a) => ({
1230
1230
  ...e,
1231
1231
  name: e.name,
1232
1232
  color: la(e.color) || Tt.value[a] || se[a] || se[a % se.length],
@@ -1253,7 +1253,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1253
1253
  const i = h.value.map((r) => r.series[n] ?? 0).reduce((r, m) => r + m, 0);
1254
1254
  a.push(
1255
1255
  [
1256
- t.value.style.chart.grid.x.timeLabels.values.slice(s.value.start, s.value.end)[n] ? z?.value?.slice(s.value.start, s.value.end)?.[n]?.text ?? n + 1 : n + 1
1256
+ t.value.style.chart.grid.x.timeLabels.values.slice(s.value.start, s.value.end)[n] ? S?.value?.slice(s.value.start, s.value.end)?.[n]?.text ?? n + 1 : n + 1
1257
1257
  ].concat(
1258
1258
  h.value.map(
1259
1259
  (r) => (r.series[n] ?? 0).toFixed(t.value.table.rounding)
@@ -1275,7 +1275,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1275
1275
  breakpoint: t.value.table.responsiveBreakpoint
1276
1276
  }, u = [t.value.table.columnNames.period].concat(h.value.map((n) => n.name)).concat(t.value.table.columnNames.total);
1277
1277
  return { head: e, body: a.slice(0, s.value.end - s.value.start), config: l, colNames: u };
1278
- }), Yt = g(() => {
1278
+ }), Ut = g(() => {
1279
1279
  if (h.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
1280
1280
  const e = h.value.map((l) => ({
1281
1281
  label: l.name,
@@ -1283,7 +1283,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1283
1283
  type: l.type
1284
1284
  })), a = [];
1285
1285
  for (let l = s.value.start; l < s.value.end; l += 1) {
1286
- const u = [t.value.style.chart.grid.x.timeLabels.values[l] ? z.value[l].text : l + 1];
1286
+ const u = [t.value.style.chart.grid.x.timeLabels.values[l] ? S.value[l].text : l + 1];
1287
1287
  h.value.forEach((n) => {
1288
1288
  u.push(Number((n.series[l] || 0).toFixed(t.value.table.rounding)));
1289
1289
  }), a.push(u);
@@ -1291,13 +1291,13 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1291
1291
  return { head: e, body: a };
1292
1292
  });
1293
1293
  function at(e = null) {
1294
- const a = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], l = ["", ...Yt.value.head.map((r) => r.label)], u = Yt.value.body, n = a.concat([l]).concat(u), i = zl(n);
1294
+ const a = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], l = ["", ...Ut.value.head.map((r) => r.label)], u = Ut.value.body, n = a.concat([l]).concat(u), i = zl(n);
1295
1295
  e ? e(i) : Tl({ csvContent: i, title: t.value.style.chart.title.text || "vue-ui-xy-canvas" });
1296
1296
  }
1297
1297
  function nl() {
1298
1298
  return h.value;
1299
1299
  }
1300
- function Vt() {
1300
+ function Yt() {
1301
1301
  d.value.showTable = !d.value.showTable;
1302
1302
  }
1303
1303
  function qt() {
@@ -1328,7 +1328,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1328
1328
  const Se = g(() => {
1329
1329
  const e = t.value.table.useDialog && !t.value.table.show, a = d.value.showTable;
1330
1330
  return {
1331
- component: e ? ha : Vl,
1331
+ component: e ? ha : Yl,
1332
1332
  title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? `: ${t.value.style.chart.title.subtitle.text}` : ""}`,
1333
1333
  props: e ? {
1334
1334
  backgroundColor: t.value.table.th.backgroundColor,
@@ -1394,14 +1394,14 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1394
1394
  generateImage: St,
1395
1395
  hideSeries: sl,
1396
1396
  showSeries: ol,
1397
- toggleTable: Vt,
1397
+ toggleTable: Yt,
1398
1398
  toggleLabels: qt,
1399
1399
  toggleStack: jt,
1400
1400
  toggleTooltip: Gt,
1401
1401
  toggleAnnotator: lt,
1402
1402
  toggleFullscreen: zt,
1403
1403
  copyAlt: Kt
1404
- }), (e, a) => (M(), $e("div", {
1404
+ }), (e, a) => (I(), $e("div", {
1405
1405
  style: ve(`width:100%; position:relative; ${t.value.responsive ? "height: 100%" : ""}; background:${t.value.style.chart.backgroundColor};`),
1406
1406
  ref_key: "xy",
1407
1407
  ref: G,
@@ -1417,14 +1417,14 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1417
1417
  H("p", null, Ae(t.value.a11y.translations.keyboardNavigation), 1)
1418
1418
  ], 8, Kl),
1419
1419
  H("div", Jl, Ae(ba.value), 1),
1420
- t.value.style.chart.title.text ? (M(), $e("div", {
1420
+ t.value.style.chart.title.text ? (I(), $e("div", {
1421
1421
  key: 0,
1422
1422
  ref_key: "chartTitle",
1423
1423
  ref: ht,
1424
1424
  style: ve(`width:100%;background:${t.value.style.chart.backgroundColor};`)
1425
1425
  }, [
1426
- (M(), q(Ul, {
1427
- key: `title_${Ue.value}`,
1426
+ (I(), q(Vl, {
1427
+ key: `title_${Ve.value}`,
1428
1428
  config: {
1429
1429
  title: {
1430
1430
  cy: "xy-canvas-title",
@@ -1440,14 +1440,14 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1440
1440
  H("div", {
1441
1441
  id: `legend-top-${j.value}`
1442
1442
  }, null, 8, Ql),
1443
- t.value.userOptions.show && Y.value && (S(xt) || S(Ke)) ? (M(), q(S(ca), {
1443
+ t.value.userOptions.show && U.value && (z(xt) || z(Ke)) ? (I(), q(z(ca), {
1444
1444
  ref_key: "userOptionsRef",
1445
1445
  ref: qe,
1446
1446
  key: `user_option_${dt.value}`,
1447
1447
  backgroundColor: t.value.style.chart.backgroundColor,
1448
1448
  color: t.value.style.chart.color,
1449
- isPrinting: S(Ct),
1450
- isImaging: S(kt),
1449
+ isPrinting: z(Ct),
1450
+ isImaging: z(kt),
1451
1451
  uid: j.value,
1452
1452
  hasTooltip: t.value.userOptions.buttons.tooltip && t.value.style.chart.tooltip.show,
1453
1453
  hasPdf: t.value.userOptions.buttons.pdf,
@@ -1471,17 +1471,17 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1471
1471
  tableDialog: t.value.table.useDialog,
1472
1472
  isCursorPointer: le.value,
1473
1473
  onToggleFullscreen: zt,
1474
- onGeneratePdf: S(wt),
1474
+ onGeneratePdf: z(wt),
1475
1475
  onGenerateCsv: at,
1476
1476
  onGenerateImage: il,
1477
- onToggleTable: Vt,
1477
+ onToggleTable: Yt,
1478
1478
  onToggleLabels: qt,
1479
1479
  onToggleStack: jt,
1480
1480
  onToggleTooltip: Gt,
1481
1481
  onToggleAnnotator: lt,
1482
1482
  onCopyAlt: Kt,
1483
1483
  style: ve({
1484
- visibility: S(xt) ? S(Ke) ? "visible" : "hidden" : "visible"
1484
+ visibility: z(xt) ? z(Ke) ? "visible" : "hidden" : "visible"
1485
1485
  })
1486
1486
  }, Qt({ _: 2 }, [
1487
1487
  e.$slots.menuIcon ? {
@@ -1583,13 +1583,13 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1583
1583
  onBlur: el,
1584
1584
  onKeydown: tl
1585
1585
  }, null, 40, eo),
1586
- e.$slots.hint ? (M(), $e("div", to, [
1586
+ e.$slots.hint ? (I(), $e("div", to, [
1587
1587
  k(e.$slots, "hint", K(J({ hint: t.value.a11y.translations.keyboardNavigation, isVisible: Ge.value })), void 0, !0)
1588
1588
  ])) : W("", !0),
1589
1589
  k(e.$slots, "skeleton", {}, () => [
1590
- S(De) ? (M(), q(Ol, { key: 0 })) : W("", !0)
1590
+ z(De) ? (I(), q(Ol, { key: 0 })) : W("", !0)
1591
1591
  ], !0),
1592
- ea(S(ia), {
1592
+ ea(z(ia), {
1593
1593
  teleportTo: t.value.style.chart.tooltip.teleportTo,
1594
1594
  show: d.value.showTooltip && he.value,
1595
1595
  backgroundColor: t.value.style.chart.tooltip.backgroundColor,
@@ -1600,11 +1600,11 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1600
1600
  borderWidth: t.value.style.chart.tooltip.borderWidth,
1601
1601
  position: t.value.style.chart.tooltip.position,
1602
1602
  offsetY: t.value.style.chart.tooltip.offsetY,
1603
- parent: S(L),
1603
+ parent: e.$refs.xy,
1604
1604
  content: fe.value,
1605
1605
  isFullscreen: me.value,
1606
1606
  backgroundOpacity: t.value.style.chart.tooltip.backgroundOpacity,
1607
- isCustom: S(rt)(t.value.style.chart.tooltip.customFormat),
1607
+ isCustom: z(rt)(t.value.style.chart.tooltip.customFormat),
1608
1608
  smooth: t.value.style.chart.tooltip.smooth,
1609
1609
  backdropFilter: t.value.style.chart.tooltip.backdropFilter,
1610
1610
  smoothForce: t.value.style.chart.tooltip.smoothForce,
@@ -1621,11 +1621,11 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1621
1621
  _: 3
1622
1622
  }, 8, ["teleportTo", "show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "position", "offsetY", "parent", "content", "isFullscreen", "backgroundOpacity", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"])
1623
1623
  ], 4),
1624
- t.value.style.chart.zoom.show && O.value > 6 && Y.value && gt.value && !S(De) ? (M(), q(ql, {
1624
+ t.value.style.chart.zoom.show && O.value > 6 && U.value && gt.value && !z(De) ? (I(), q(ql, {
1625
1625
  key: 2,
1626
1626
  ref_key: "chartSlicer",
1627
1627
  ref: te,
1628
- allMinimaps: Ma.value,
1628
+ allMinimaps: Ia.value,
1629
1629
  background: t.value.style.chart.zoom.color,
1630
1630
  borderColor: t.value.style.chart.backgroundColor,
1631
1631
  customFormat: t.value.style.chart.zoom.customFormat,
@@ -1639,8 +1639,8 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1639
1639
  immediate: !t.value.style.chart.zoom.preview.enable,
1640
1640
  inputColor: t.value.style.chart.zoom.color,
1641
1641
  isPreview: Fa.value,
1642
- labelLeft: t.value.style.chart.grid.x.timeLabels.values[s.value.start] ? z.value[s.value.start]?.text : "",
1643
- labelRight: t.value.style.chart.grid.x.timeLabels.values[s.value.end - 1] ? z.value[s.value.end - 1]?.text : "",
1642
+ labelLeft: t.value.style.chart.grid.x.timeLabels.values[s.value.start] ? S.value[s.value.start]?.text : "",
1643
+ labelRight: t.value.style.chart.grid.x.timeLabels.values[s.value.end - 1] ? S.value[s.value.end - 1]?.text : "",
1644
1644
  max: O.value,
1645
1645
  min: 0,
1646
1646
  minimap: Aa.value,
@@ -1653,14 +1653,14 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1653
1653
  minimapSelectedColorOpacity: t.value.style.chart.zoom.minimap.selectedColorOpacity,
1654
1654
  minimapSelectedIndex: f.value,
1655
1655
  minimapSelectionRadius: t.value.style.chart.zoom.minimap.selectionRadius,
1656
- preciseLabels: Nt.value?.length ? Nt.value : z.value,
1656
+ preciseLabels: Nt.value?.length ? Nt.value : S.value,
1657
1657
  refreshEndPoint: t.value.style.chart.zoom.endIndex !== null ? t.value.style.chart.zoom.endIndex + 1 : O.value,
1658
1658
  refreshStartPoint: t.value.style.chart.zoom.startIndex !== null ? t.value.style.chart.zoom.startIndex : 0,
1659
1659
  selectColor: t.value.style.chart.zoom.highlightColor,
1660
- selectedSeries: I.value,
1660
+ selectedSeries: M.value,
1661
1661
  smoothMinimap: t.value.style.chart.zoom.minimap.smooth,
1662
1662
  start: s.value.start,
1663
- timeLabels: z.value,
1663
+ timeLabels: S.value,
1664
1664
  usePreciseLabels: t.value.style.chart.grid.x.timeLabels.datetimeFormatter.enable && !t.value.style.chart.zoom.useDefaultFormat,
1665
1665
  textColor: t.value.style.chart.color,
1666
1666
  useResetSlot: t.value.style.chart.zoom.useResetSlot,
@@ -1675,8 +1675,8 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1675
1675
  handleBorderColor: t.value.style.chart.zoom.minimap.handleBorderColor,
1676
1676
  handleFill: t.value.style.chart.zoom.minimap.handleFill,
1677
1677
  handleWidth: t.value.style.chart.zoom.minimap.handleWidth,
1678
- onFutureEnd: a[1] || (a[1] = (l) => It("end", l)),
1679
- onFutureStart: a[2] || (a[2] = (l) => It("start", l)),
1678
+ onFutureEnd: a[1] || (a[1] = (l) => Mt("end", l)),
1679
+ onFutureStart: a[2] || (a[2] = (l) => Mt("start", l)),
1680
1680
  onReset: xe,
1681
1681
  onTrapMouse: wa,
1682
1682
  "onUpdate:end": Ra,
@@ -1690,7 +1690,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1690
1690
  H("div", {
1691
1691
  id: `legend-bottom-${j.value}`
1692
1692
  }, null, 8, ao),
1693
- yt.value ? (M(), q(hl, {
1693
+ yt.value ? (I(), q(hl, {
1694
1694
  key: 3,
1695
1695
  to: t.value.style.chart.legend.position === "top" ? `#legend-top-${j.value}` : `#legend-bottom-${j.value}`
1696
1696
  }, [
@@ -1698,10 +1698,10 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1698
1698
  ref_key: "chartLegend",
1699
1699
  ref: ft
1700
1700
  }, [
1701
- t.value.style.chart.legend.show && Y.value ? (M(), q(Xl, {
1701
+ t.value.style.chart.legend.show && U.value ? (I(), q(Xl, {
1702
1702
  legendSet: Be.value,
1703
1703
  config: ul.value,
1704
- key: `legend_${Ve.value}`,
1704
+ key: `legend_${Ye.value}`,
1705
1705
  isCursorPointer: le.value,
1706
1706
  onClickMarker: a[3] || (a[3] = ({ i: l }) => Ne(l))
1707
1707
  }, {
@@ -1712,7 +1712,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1712
1712
  }, Ae(l.name), 13, lo)
1713
1713
  ]),
1714
1714
  legendToggle: x(() => [
1715
- Be.value.length > 2 && t.value.style.chart.legend.selectAllToggle.show && !S(De) ? (M(), q(jl, {
1715
+ Be.value.length > 2 && t.value.style.chart.legend.selectAllToggle.show && !z(De) ? (I(), q(jl, {
1716
1716
  key: 0,
1717
1717
  backgroundColor: t.value.style.chart.legend.selectAllToggle.backgroundColor,
1718
1718
  color: t.value.style.chart.legend.selectAllToggle.color,
@@ -1729,10 +1729,10 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1729
1729
  }, void 0, !0)
1730
1730
  ], 512)
1731
1731
  ], 8, ["to"])) : W("", !0),
1732
- e.$slots.watermark ? (M(), $e("div", oo, [
1733
- k(e.$slots, "watermark", K(J({ isPrinting: S(Ct) || S(kt) || je.value })), void 0, !0)
1732
+ e.$slots.watermark ? (I(), $e("div", oo, [
1733
+ k(e.$slots, "watermark", K(J({ isPrinting: z(Ct) || z(kt) || je.value })), void 0, !0)
1734
1734
  ])) : W("", !0),
1735
- e.$slots.source ? (M(), $e("div", {
1735
+ e.$slots.source ? (I(), $e("div", {
1736
1736
  key: 5,
1737
1737
  ref_key: "source",
1738
1738
  ref: mt,
@@ -1740,14 +1740,14 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1740
1740
  }, [
1741
1741
  k(e.$slots, "source", {}, void 0, !0)
1742
1742
  ], 512)) : W("", !0),
1743
- Y.value && t.value.userOptions.buttons.table ? (M(), q(fl(Se.value.component), ml({ key: 6 }, Se.value.props, {
1743
+ U.value && t.value.userOptions.buttons.table ? (I(), q(fl(Se.value.component), ml({ key: 6 }, Se.value.props, {
1744
1744
  ref_key: "tableUnit",
1745
1745
  ref: ye,
1746
1746
  onClose: Zt
1747
1747
  }), Qt({
1748
1748
  content: x(() => [
1749
- (M(), q(S(va), {
1750
- key: `table_${Ye.value}`,
1749
+ (I(), q(z(va), {
1750
+ key: `table_${Ue.value}`,
1751
1751
  colNames: He.value.colNames,
1752
1752
  head: He.value.head,
1753
1753
  body: He.value.body,
@@ -1784,7 +1784,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1784
1784
  onClick: a[4] || (a[4] = (l) => at(t.value.userOptions.callbacks.csv)),
1785
1785
  style: ve({ cursor: le.value ? "pointer" : "default" })
1786
1786
  }, [
1787
- ea(Yl, {
1787
+ ea(Ul, {
1788
1788
  name: "fileCsv",
1789
1789
  stroke: Se.value.props.color
1790
1790
  }, null, 8, ["stroke"])
@@ -1793,7 +1793,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1793
1793
  key: "1"
1794
1794
  } : void 0
1795
1795
  ]), 1040)) : W("", !0),
1796
- t.value.userOptions.buttons.annotator && h.value.length ? (M(), q(S(da), {
1796
+ t.value.userOptions.buttons.annotator && h.value.length ? (I(), q(z(da), {
1797
1797
  key: 7,
1798
1798
  parent: G.value,
1799
1799
  backgroundColor: t.value.style.chart.backgroundColor,
@@ -1804,7 +1804,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
1804
1804
  }, null, 8, ["parent", "backgroundColor", "color", "active", "isCursorPointer"])) : W("", !0)
1805
1805
  ], 46, Zl));
1806
1806
  }
1807
- }, $o = /* @__PURE__ */ Gl(uo, [["__scopeId", "data-v-e0378832"]]);
1807
+ }, $o = /* @__PURE__ */ Gl(uo, [["__scopeId", "data-v-959fa836"]]);
1808
1808
  export {
1809
1809
  $o as default
1810
1810
  };