vue-data-ui 3.11.0 → 3.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/README.md +2 -2
  2. package/dist/{BaseDraggableDialog-Ca6iTqi8.js → BaseDraggableDialog-SswGoxlj.js} +1 -1
  3. package/dist/{BaseIcon-DlnfQOPC.js → BaseIcon-CYSJuCRd.js} +6 -3
  4. package/dist/{BaseZoomControls-Cap5wn8s.js → BaseZoomControls-C6oe8vvf.js} +1 -1
  5. package/dist/{ColorPicker-DI0ilgcp.js → ColorPicker-Cb8oPDuF.js} +1 -1
  6. package/dist/{DataTable-KIMqDIJv.js → DataTable-DiaJI04f.js} +1 -1
  7. package/dist/{NonSvgPenAndPaper-C1xyAC8W.js → NonSvgPenAndPaper-CEPPMuvv.js} +2 -2
  8. package/dist/{PackageVersion-CeU7wfkb.js → PackageVersion-DLxnBD7g.js} +1 -1
  9. package/dist/{PenAndPaper-BrX5Qp19.js → PenAndPaper-B26d81vz.js} +2 -2
  10. package/dist/{Slicer-BGnCg0Vk.js → Slicer-DbgiQkoS.js} +1 -1
  11. package/dist/SlicerPreview-lQoYQ0EQ.js +1170 -0
  12. package/dist/{UserOptions-DToFtFUD.js → UserOptions-CZTaqf79.js} +1 -1
  13. package/dist/components/vue-ui-3d-bar.js +1 -1
  14. package/dist/components/vue-ui-accordion.js +1 -1
  15. package/dist/components/vue-ui-age-pyramid.js +1 -1
  16. package/dist/components/vue-ui-annotator.js +1 -1
  17. package/dist/components/vue-ui-bullet.js +1 -1
  18. package/dist/components/vue-ui-bump.js +1 -1
  19. package/dist/components/vue-ui-candlestick.js +1 -1
  20. package/dist/components/vue-ui-carousel-table.js +1 -1
  21. package/dist/components/vue-ui-chestnut.js +1 -1
  22. package/dist/components/vue-ui-chord.js +1 -1
  23. package/dist/components/vue-ui-circle-pack.js +1 -1
  24. package/dist/components/vue-ui-cursor.js +1 -1
  25. package/dist/components/vue-ui-dag.js +1 -1
  26. package/dist/components/vue-ui-dashboard.js +1 -1
  27. package/dist/components/vue-ui-donut-evolution.js +1 -1
  28. package/dist/components/vue-ui-donut.js +1 -1
  29. package/dist/components/vue-ui-dumbbell.js +1 -1
  30. package/dist/components/vue-ui-flow.js +1 -1
  31. package/dist/components/vue-ui-funnel.js +1 -1
  32. package/dist/components/vue-ui-galaxy.js +1 -1
  33. package/dist/components/vue-ui-gauge.js +1 -1
  34. package/dist/components/vue-ui-geo.js +1 -1
  35. package/dist/components/vue-ui-gizmo.js +1 -1
  36. package/dist/components/vue-ui-heatmap.js +1 -1
  37. package/dist/components/vue-ui-history-plot.js +1 -1
  38. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  39. package/dist/components/vue-ui-icon.js +1 -1
  40. package/dist/components/vue-ui-molecule.js +1 -1
  41. package/dist/components/vue-ui-mood-radar.js +1 -1
  42. package/dist/components/vue-ui-nested-donuts.js +1 -1
  43. package/dist/components/vue-ui-onion.js +1 -1
  44. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  45. package/dist/components/vue-ui-quadrant.js +1 -1
  46. package/dist/components/vue-ui-quick-chart.js +1 -1
  47. package/dist/components/vue-ui-radar.js +1 -1
  48. package/dist/components/vue-ui-relation-circle.js +1 -1
  49. package/dist/components/vue-ui-ridgeline.js +1 -1
  50. package/dist/components/vue-ui-rings.js +1 -1
  51. package/dist/components/vue-ui-scatter.js +1 -1
  52. package/dist/components/vue-ui-skeleton.js +1 -1
  53. package/dist/components/vue-ui-spark-trend.js +1 -1
  54. package/dist/components/vue-ui-sparkbar.js +1 -1
  55. package/dist/components/vue-ui-sparkgauge.js +1 -1
  56. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  57. package/dist/components/vue-ui-sparkline.js +1 -1
  58. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  59. package/dist/components/vue-ui-stackbar.js +1 -1
  60. package/dist/components/vue-ui-stackline.js +1 -1
  61. package/dist/components/vue-ui-strip-plot.js +1 -1
  62. package/dist/components/vue-ui-table-heatmap.js +1 -1
  63. package/dist/components/vue-ui-table-sparkline.js +1 -1
  64. package/dist/components/vue-ui-table.js +1 -1
  65. package/dist/components/vue-ui-thermometer.js +1 -1
  66. package/dist/components/vue-ui-timer.js +1 -1
  67. package/dist/components/vue-ui-tiremarks.js +1 -1
  68. package/dist/components/vue-ui-treemap.js +1 -1
  69. package/dist/components/vue-ui-vertical-bar.js +1 -1
  70. package/dist/components/vue-ui-waffle.js +1 -1
  71. package/dist/components/vue-ui-wheel.js +1 -1
  72. package/dist/components/vue-ui-word-cloud.js +1 -1
  73. package/dist/components/vue-ui-world.js +1 -1
  74. package/dist/components/vue-ui-xy-canvas.js +1 -1
  75. package/dist/components/vue-ui-xy.js +1 -1
  76. package/dist/style.css +1 -1
  77. package/dist/types/vue-data-ui.d.ts +4 -0
  78. package/dist/{vue-data-ui-BGVCuqpQ.js → vue-data-ui-DmXXjgzH.js} +63 -63
  79. package/dist/vue-data-ui.js +65 -65
  80. package/dist/{vue-ui-3d-bar-D5V7OTy6.js → vue-ui-3d-bar-BlSnB7WZ.js} +1 -1
  81. package/dist/{vue-ui-accordion-bYZsb7Wp.js → vue-ui-accordion-D9NWWdmm.js} +1 -1
  82. package/dist/{vue-ui-age-pyramid-DU6S6j3t.js → vue-ui-age-pyramid-HMWJtx9j.js} +1 -1
  83. package/dist/{vue-ui-annotator-Rg1nfT2x.js → vue-ui-annotator-C32PJed6.js} +3 -3
  84. package/dist/{vue-ui-bullet-53zY2KH_.js → vue-ui-bullet-DctD4loO.js} +1 -1
  85. package/dist/{vue-ui-bump-WL7u9LH8.js → vue-ui-bump-BsfpeqfE.js} +2 -2
  86. package/dist/{vue-ui-candlestick-axcfwfzv.js → vue-ui-candlestick-DP73OFZm.js} +6 -4
  87. package/dist/{vue-ui-carousel-table-BwVI9q5l.js → vue-ui-carousel-table-CgCQaK5U.js} +1 -1
  88. package/dist/{vue-ui-chestnut-BWc1L3Zp.js → vue-ui-chestnut-Bm6wE4LM.js} +1 -1
  89. package/dist/{vue-ui-chord-C__n2WRw.js → vue-ui-chord-BFt2sCpi.js} +1 -1
  90. package/dist/{vue-ui-circle-pack-EFD74yni.js → vue-ui-circle-pack-tfi4NlOn.js} +1 -1
  91. package/dist/{vue-ui-cursor-Bo2mzfdU.js → vue-ui-cursor-zV1qbWXc.js} +1 -1
  92. package/dist/{vue-ui-dag-BOH1qkhM.js → vue-ui-dag-CsDTgOl7.js} +2 -2
  93. package/dist/{vue-ui-dashboard-Devvdb8N.js → vue-ui-dashboard-DyBKvorl.js} +60 -60
  94. package/dist/{vue-ui-donut-D4dQZZnH.js → vue-ui-donut-DoAtemvr.js} +1 -1
  95. package/dist/{vue-ui-donut-evolution-Bb6pNSl2.js → vue-ui-donut-evolution-D6_zWcpG.js} +2 -2
  96. package/dist/{vue-ui-dumbbell-BSLXEtpa.js → vue-ui-dumbbell-NiyEPHg8.js} +1 -1
  97. package/dist/{vue-ui-flow-C_K8v9-T.js → vue-ui-flow-CqcSUcbU.js} +1 -1
  98. package/dist/{vue-ui-funnel-BlJX4I86.js → vue-ui-funnel-D0maBsJP.js} +1 -1
  99. package/dist/{vue-ui-galaxy-Dnt7eTvj.js → vue-ui-galaxy-6tbnIjjx.js} +1 -1
  100. package/dist/{vue-ui-gauge-DU3L-c2d.js → vue-ui-gauge-c0JcmUri.js} +1 -1
  101. package/dist/{vue-ui-geo-Cb3OcIOH.js → vue-ui-geo-BXLLXqWf.js} +2 -2
  102. package/dist/{vue-ui-gizmo-Bd4TUwgC.js → vue-ui-gizmo-B32eurdz.js} +1 -1
  103. package/dist/{vue-ui-heatmap-C3sJRXrr.js → vue-ui-heatmap-CHWt3Hkh.js} +2 -2
  104. package/dist/{vue-ui-history-plot-C0mRo1Xh.js → vue-ui-history-plot-C060n7-2.js} +1 -1
  105. package/dist/{vue-ui-horizontal-bar-Bezsc-fA.js → vue-ui-horizontal-bar-Dc8-sPyq.js} +6 -6
  106. package/dist/{vue-ui-molecule-CNTjty7x.js → vue-ui-molecule-CpLNW_Kd.js} +1 -1
  107. package/dist/{vue-ui-mood-radar-CUZNpZVO.js → vue-ui-mood-radar-Cn8_SAxS.js} +1 -1
  108. package/dist/{vue-ui-nested-donuts-B2efHRHL.js → vue-ui-nested-donuts-bbuXuYbx.js} +1 -1
  109. package/dist/{vue-ui-onion-DftdWrmN.js → vue-ui-onion-CJ4ZHa0G.js} +1 -1
  110. package/dist/{vue-ui-parallel-coordinate-plot-avk0nC2O.js → vue-ui-parallel-coordinate-plot-D1uTKG_a.js} +1 -1
  111. package/dist/{vue-ui-quadrant-CcES0yJX.js → vue-ui-quadrant-DoWhAe1X.js} +251 -240
  112. package/dist/{vue-ui-quick-chart-Lhko6jZO.js → vue-ui-quick-chart-WTQa0nss.js} +2 -2
  113. package/dist/{vue-ui-radar-CZzLTV82.js → vue-ui-radar-CjWeEjX0.js} +1 -1
  114. package/dist/{vue-ui-relation-circle-DKsYPxga.js → vue-ui-relation-circle-DF1BVyZF.js} +1 -1
  115. package/dist/{vue-ui-ridgeline-CG4vAPEc.js → vue-ui-ridgeline-DpoDX2q8.js} +1 -1
  116. package/dist/{vue-ui-rings-Bib2u3Iy.js → vue-ui-rings-CgNlzDLR.js} +1 -1
  117. package/dist/{vue-ui-scatter-Ck1GlFtJ.js → vue-ui-scatter-B6Ionwp7.js} +1 -1
  118. package/dist/{vue-ui-skeleton-DoVdtkN0.js → vue-ui-skeleton-Bs52mnO6.js} +1 -1
  119. package/dist/{vue-ui-spark-trend-BugjXnUh.js → vue-ui-spark-trend-cPrrXnGa.js} +1 -1
  120. package/dist/{vue-ui-sparkbar-D3VgwOnn.js → vue-ui-sparkbar-B0ml1xny.js} +1 -1
  121. package/dist/{vue-ui-sparkgauge-CLJ-JREV.js → vue-ui-sparkgauge-CCI8ih4a.js} +1 -1
  122. package/dist/{vue-ui-sparkhistogram-D_P8dpNb.js → vue-ui-sparkhistogram-DAyFha1F.js} +1 -1
  123. package/dist/{vue-ui-sparkline-Cq90PKWK.js → vue-ui-sparkline-D-WamO7n.js} +1 -1
  124. package/dist/{vue-ui-sparkstackbar-CxtZQvtK.js → vue-ui-sparkstackbar-B1RGKSeg.js} +1 -1
  125. package/dist/{vue-ui-stackbar-D-iHtRc0.js → vue-ui-stackbar-CYcDJfOF.js} +2 -2
  126. package/dist/{vue-ui-stackline-DvgRG0E5.js → vue-ui-stackline-D6cEQ1JM.js} +2 -2
  127. package/dist/{vue-ui-strip-plot-Bk78cTIb.js → vue-ui-strip-plot-CjDvkGTC.js} +1 -1
  128. package/dist/{vue-ui-table-heatmap-_SbbUYwq.js → vue-ui-table-heatmap-CYn_-4-k.js} +1 -1
  129. package/dist/{vue-ui-table-sparkline-DnNcAKYJ.js → vue-ui-table-sparkline-P9_eeIHb.js} +1 -1
  130. package/dist/{vue-ui-table-CjOh09D-.js → vue-ui-table-y4cdpBq-.js} +3 -3
  131. package/dist/{vue-ui-thermometer-CdEv5Xfv.js → vue-ui-thermometer-BiDFcqPp.js} +1 -1
  132. package/dist/{vue-ui-timer-CyD-GmM7.js → vue-ui-timer-BzptMLtZ.js} +2 -2
  133. package/dist/{vue-ui-tiremarks-BRI09NAS.js → vue-ui-tiremarks-BDB8GyYb.js} +1 -1
  134. package/dist/{vue-ui-treemap-BfgB8BTQ.js → vue-ui-treemap-BjvbnrKs.js} +2 -2
  135. package/dist/{vue-ui-waffle-Ba0-xqsn.js → vue-ui-waffle-BPQZh-J1.js} +1 -1
  136. package/dist/{vue-ui-wheel-BDCbjnoD.js → vue-ui-wheel-eUoARbR9.js} +1 -1
  137. package/dist/{vue-ui-word-cloud-CsCvZYqx.js → vue-ui-word-cloud-gmnqy9BO.js} +2 -2
  138. package/dist/{vue-ui-world-CfwVv-9P.js → vue-ui-world-LURvLgLU.js} +1 -1
  139. package/dist/{vue-ui-xy-C9qRqR1C.js → vue-ui-xy-B9MWqIQh.js} +858 -823
  140. package/dist/{vue-ui-xy-canvas-B0ua74yH.js → vue-ui-xy-canvas-BQse8x4G.js} +4 -4
  141. package/package.json +1 -1
  142. package/dist/SlicerPreview-BPmM6icl.js +0 -1148
@@ -1,85 +1,85 @@
1
- import { defineAsyncComponent as Xe, useSlots as ar, getCurrentInstance as tr, ref as x, computed as b, onMounted as Zl, toRefs as or, watch as Ll, watchEffect as Lt, onBeforeUnmount as ka, nextTick as Mt, createElementBlock as u, openBlock as n, normalizeStyle as S, normalizeClass as ll, createBlock as Te, createCommentVNode as h, createElementVNode as p, createVNode as vl, unref as v, withCtx as G, renderSlot as P, normalizeProps as ke, guardReactiveProps as Ce, createSlots as Tt, Fragment as d, renderList as _, mergeProps as al, toDisplayString as ae, Teleport as rr, resolveDynamicComponent as sr, withDirectives as ir, vModelCheckbox as nr, createTextVNode as zt } from "vue";
2
- import { c as Ca, g as _a, t as ur, k as cr, N as Ml, O as tl, m as It, j as wa, P as Jl, Q as Y, R as Sa, S as vr, T as dr, U as N, z as Ft, A as Ot, B as Bt, C as Nt, V as hr, W as Vt, Y as Dt, a as re, Z as fr, y as Pt, _ as gr, b as Et, e as Ne, d as Ve, h as ol, s as ze, G as mr, x as Ge, H as Ql, n as Se, $ as br, a0 as Ue, a1 as fe, i as xr, o as Rt, v as pr, r as yr, a2 as dl } from "./lib-CVHM9FhP.js";
3
- import { t as kr } from "./useResponsive-DfdjqQps.js";
4
- import { u as Cr, a as Tl } from "./useNestedProp-xXVO6hRJ.js";
5
- import { u as _r } from "./usePrinter-1NmjuP-i.js";
6
- import { u as wr, B as Sr } from "./BaseScanner-BMpwQAfz.js";
7
- import { u as Ht, a as Ar, l as $r } from "./useTimeLabels-DKoynYae.js";
8
- import { u as Lr } from "./useSvgExport-ByUukOZt.js";
9
- import { u as Mr } from "./useThemeCheck-D1ZYXUwG.js";
10
- import { u as Tr } from "./useTimeLabelCollider-CIsgDrl9.js";
11
- import zr from "./img-6fNF_rG0.js";
12
- import Ir from "./Title-ByPv-v1s.js";
13
- import { _ as Kl } from "./Shape-PzdCMGsP.js";
14
- import { S as Fr } from "./SlicerPreview-BPmM6icl.js";
15
- import Or from "./vue-ui-accordion-bYZsb7Wp.js";
16
- import { _ as Br } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
- const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1, showHorizontalLines: !1 }, legend: { show: !1 }, zoom: { minimap: { show: !0 } } }, line: { useGradient: !1, area: { useGradient: !1 } }, bar: { useGradient: !1 }, plot: { useGradient: !1 } }, Wt = { chart: { userOptions: { show: !1 }, backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A", minimap: { show: !0, selectedColor: "#8A8A8A", lineColor: "#424242", indicatorColor: "#CCCCCC" } }, highlighter: { color: "#CCCCCC" }, timeTag: { backgroundColor: "#2A2A2A", color: "#CCCCCC", circleMarker: { color: "#2A2A2A" } }, grid: { stroke: "#5A5A5A", showVerticalLines: !1, labels: { color: "#CCCCCC", xAxisLabels: { color: "#CCCCCC" } } }, legend: { show: !1, color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#3A3A3A" } }, bar: { useGradient: !1, border: { stroke: "#1A1A1A" }, labels: { color: "#CCCCCC" }, serieName: { color: "#CCCCCC" } }, line: { useGradient: !1, labels: { color: "#CCCCCC" }, area: { useGradient: !1 } }, plot: { useGradient: !1, labels: { color: "#CCCCCC" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Xt = { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A", minimap: { selectedColor: "#8A8A8A", lineColor: "#424242", indicatorColor: "#CCCCCC" } }, highlighter: { color: "#CCCCCC" }, timeTag: { backgroundColor: "#2A2A2A", color: "#CCCCCC", circleMarker: { color: "#2A2A2A" } }, grid: { stroke: "#5A5A5A", showVerticalLines: !1, labels: { color: "#CCCCCC", xAxisLabels: { color: "#CCCCCC" } } }, legend: { color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } }, bar: { border: { stroke: "#1A1A1A" }, labels: { color: "#CCCCCC" }, serieName: { color: "#CCCCCC" } }, line: { labels: { color: "#CCCCCC" } }, plot: { labels: { color: "#CCCCCC" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Gt = { chart: { backgroundColor: "#FFF8E1", color: "#424242", zoom: { color: "#5D4037", highlightColor: "#FF8A65", minimap: { selectedColor: "#FF8A65", lineColor: "#424242", indicatorColor: "#FF8A65" } }, highlighter: { color: "#424242" }, timeTag: { backgroundColor: "#424242", color: "#FFF8E1", circleMarker: { color: "#424242" } }, grid: { stroke: "#5D4037", showVerticalLines: !1, labels: { color: "#424242", xAxisLabels: { color: "#424242" }, xAxis: { showBaseline: !1 } } }, legend: { color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } }, bar: { borderRadius: 2, border: { stroke: "#FFF8E1" }, labels: { color: "#424242" }, serieName: { color: "#424242" } }, line: { labels: { color: "#424242" } }, plot: { labels: { color: "#424242" } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Ut = { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", zoom: { color: "#5D4037", highlightColor: "#FF8A65", minimap: { selectedColor: "#FF8A65", lineColor: "#FF6B6B", indicatorColor: "#FF8A65" } }, highlighter: { color: "#FFF8E1" }, timeTag: { backgroundColor: "#5D4037", color: "#FFF8E1", circleMarker: { color: "#5D4037" } }, grid: { stroke: "#5D4037", showVerticalLines: !1, labels: { color: "#BDBDBD", xAxisLabels: { color: "#BDBDBD" }, xAxis: { showBaseline: !1 } } }, legend: { color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } }, bar: { borderRadius: 2, border: { stroke: "#1E1E1E" }, labels: { color: "#BDBDBD" }, serieName: { color: "#BDBDBD" } }, line: { labels: { color: "#BDBDBD" } }, plot: { labels: { color: "#BDBDBD" } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, qt = { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", zoom: { color: "#5F6A5F", highlightColor: "#66CC66" }, highlighter: { color: "#66CC66" }, timeTag: { backgroundColor: "#1A1A1A", color: "#66CC66", circleMarker: { color: "#66CC66" } }, grid: { stroke: "#5F6A5F", showVerticalLines: !1, labels: { color: "#99AA99", xAxisLabels: { color: "#99AA99" }, xAxis: { showBaseline: !1 } } }, legend: { color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } }, bar: { borderRadius: 0, border: { stroke: "#66CC66" }, labels: { color: "#AACCAA" }, serieName: { color: "#99CC99" } }, line: { labels: { color: "#AACCAA" } }, plot: { labels: { color: "#AACCAA" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, Zt = { chart: { backgroundColor: "#fbfafa", color: "#8A9892", zoom: { color: "#E0CFC3", highlightColor: "#8F837A" }, highlighter: { color: "#8F837A" }, timeTag: { backgroundColor: "#fbfafa", color: "#8A9892", circleMarker: { color: "#8A9892" } }, grid: { stroke: "transparent", labels: { show: !1, color: "#99AA99", xAxisLabels: { show: !1, color: "#99AA99" }, zeroLine: { show: !1 }, yAxis: { showBaseline: !1 } } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } }, bar: { borderRadius: 4, border: { stroke: "#D7E0D2" }, labels: { color: "#8F837A" }, serieName: { color: "#858480" } }, line: { labels: { color: "#8F837A" } }, plot: { labels: { color: "#8F837A" } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, Jt = { chart: { backgroundColor: "#f6f6fb", color: "#50606C", zoom: { color: "#92B0AB", highlightColor: "#50606C" }, highlighter: { color: "#7DA9B5" }, timeTag: { backgroundColor: "#f6f6fb", color: "#50606C", circleMarker: { color: "#50606C" } }, grid: { stroke: "#829C98", showVerticalLines: !0, showHorizontalLines: !0, labels: { color: "#50606C", xAxisLabels: { color: "#50606C" } } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } }, bar: { borderRadius: 2, border: { stroke: "#404C4D" }, labels: { color: "#50606C" }, serieName: { color: "#61747E" } }, line: { labels: { color: "#50606C" } }, plot: { labels: { color: "#50606C" } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, Qt = {
1
+ import { defineAsyncComponent as Xe, useSlots as nr, getCurrentInstance as ur, ref as x, computed as g, onMounted as Ql, toRefs as cr, watch as Tl, watchEffect as Ft, onBeforeUnmount as _a, nextTick as Ot, createElementBlock as u, openBlock as n, normalizeStyle as S, normalizeClass as ll, createBlock as Te, createCommentVNode as h, createElementVNode as p, createVNode as dl, unref as v, withCtx as G, renderSlot as P, normalizeProps as ke, guardReactiveProps as Ce, createSlots as Nt, Fragment as d, renderList as _, mergeProps as al, toDisplayString as ae, Teleport as vr, resolveDynamicComponent as dr, withDirectives as hr, vModelCheckbox as fr, createTextVNode as Bt } from "vue";
2
+ import { c as wa, g as Sa, t as gr, k as mr, N as zl, O as tl, m as Dt, j as Aa, P as Kl, Q as Y, R as $a, S as br, T as xr, U as B, z as Vt, A as Pt, B as Et, C as Rt, V as pr, W as Ht, Y as Yt, a as re, Z as yr, y as Wt, _ as kr, b as Xt, e as Be, d as De, h as ol, s as ze, G as Cr, x as Ge, H as jl, n as Se, $ as _r, a0 as Ue, a1 as fe, i as wr, o as Gt, v as Sr, r as Ar, a2 as hl } from "./lib-CVHM9FhP.js";
3
+ import { t as $r } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Lr, a as Il } from "./useNestedProp-xXVO6hRJ.js";
5
+ import { u as Mr } from "./usePrinter-1NmjuP-i.js";
6
+ import { u as Tr, B as zr } from "./BaseScanner-BMpwQAfz.js";
7
+ import { u as Ut, a as Ir, l as Fr } from "./useTimeLabels-DKoynYae.js";
8
+ import { u as Or } from "./useSvgExport-ByUukOZt.js";
9
+ import { u as Nr } from "./useThemeCheck-D1ZYXUwG.js";
10
+ import { u as Br } from "./useTimeLabelCollider-CIsgDrl9.js";
11
+ import Dr from "./img-6fNF_rG0.js";
12
+ import Vr from "./Title-ByPv-v1s.js";
13
+ import { _ as ea } from "./Shape-PzdCMGsP.js";
14
+ import { S as Pr } from "./SlicerPreview-lQoYQ0EQ.js";
15
+ import Er from "./vue-ui-accordion-D9NWWdmm.js";
16
+ import { _ as Rr } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
+ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1, showHorizontalLines: !1 }, legend: { show: !1 }, zoom: { minimap: { show: !0 } } }, line: { useGradient: !1, area: { useGradient: !1 } }, bar: { useGradient: !1 }, plot: { useGradient: !1 } }, Zt = { chart: { userOptions: { show: !1 }, backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A", minimap: { show: !0, selectedColor: "#8A8A8A", lineColor: "#424242", indicatorColor: "#CCCCCC" } }, highlighter: { color: "#CCCCCC" }, timeTag: { backgroundColor: "#2A2A2A", color: "#CCCCCC", circleMarker: { color: "#2A2A2A" } }, grid: { stroke: "#5A5A5A", showVerticalLines: !1, labels: { color: "#CCCCCC", xAxisLabels: { color: "#CCCCCC" } } }, legend: { show: !1, color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#3A3A3A" } }, bar: { useGradient: !1, border: { stroke: "#1A1A1A" }, labels: { color: "#CCCCCC" }, serieName: { color: "#CCCCCC" } }, line: { useGradient: !1, labels: { color: "#CCCCCC" }, area: { useGradient: !1 } }, plot: { useGradient: !1, labels: { color: "#CCCCCC" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Jt = { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A", minimap: { selectedColor: "#8A8A8A", lineColor: "#424242", indicatorColor: "#CCCCCC" } }, highlighter: { color: "#CCCCCC" }, timeTag: { backgroundColor: "#2A2A2A", color: "#CCCCCC", circleMarker: { color: "#2A2A2A" } }, grid: { stroke: "#5A5A5A", showVerticalLines: !1, labels: { color: "#CCCCCC", xAxisLabels: { color: "#CCCCCC" } } }, legend: { color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } }, bar: { border: { stroke: "#1A1A1A" }, labels: { color: "#CCCCCC" }, serieName: { color: "#CCCCCC" } }, line: { labels: { color: "#CCCCCC" } }, plot: { labels: { color: "#CCCCCC" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Qt = { chart: { backgroundColor: "#FFF8E1", color: "#424242", zoom: { color: "#5D4037", highlightColor: "#FF8A65", minimap: { selectedColor: "#FF8A65", lineColor: "#424242", indicatorColor: "#FF8A65" } }, highlighter: { color: "#424242" }, timeTag: { backgroundColor: "#424242", color: "#FFF8E1", circleMarker: { color: "#424242" } }, grid: { stroke: "#5D4037", showVerticalLines: !1, labels: { color: "#424242", xAxisLabels: { color: "#424242" }, xAxis: { showBaseline: !1 } } }, legend: { color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } }, bar: { borderRadius: 2, border: { stroke: "#FFF8E1" }, labels: { color: "#424242" }, serieName: { color: "#424242" } }, line: { labels: { color: "#424242" } }, plot: { labels: { color: "#424242" } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Kt = { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", zoom: { color: "#5D4037", highlightColor: "#FF8A65", minimap: { selectedColor: "#FF8A65", lineColor: "#FF6B6B", indicatorColor: "#FF8A65" } }, highlighter: { color: "#FFF8E1" }, timeTag: { backgroundColor: "#5D4037", color: "#FFF8E1", circleMarker: { color: "#5D4037" } }, grid: { stroke: "#5D4037", showVerticalLines: !1, labels: { color: "#BDBDBD", xAxisLabels: { color: "#BDBDBD" }, xAxis: { showBaseline: !1 } } }, legend: { color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } }, bar: { borderRadius: 2, border: { stroke: "#1E1E1E" }, labels: { color: "#BDBDBD" }, serieName: { color: "#BDBDBD" } }, line: { labels: { color: "#BDBDBD" } }, plot: { labels: { color: "#BDBDBD" } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, jt = { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", zoom: { color: "#5F6A5F", highlightColor: "#66CC66" }, highlighter: { color: "#66CC66" }, timeTag: { backgroundColor: "#1A1A1A", color: "#66CC66", circleMarker: { color: "#66CC66" } }, grid: { stroke: "#5F6A5F", showVerticalLines: !1, labels: { color: "#99AA99", xAxisLabels: { color: "#99AA99" }, xAxis: { showBaseline: !1 } } }, legend: { color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } }, bar: { borderRadius: 0, border: { stroke: "#66CC66" }, labels: { color: "#AACCAA" }, serieName: { color: "#99CC99" } }, line: { labels: { color: "#AACCAA" } }, plot: { labels: { color: "#AACCAA" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, eo = { chart: { backgroundColor: "#fbfafa", color: "#8A9892", zoom: { color: "#E0CFC3", highlightColor: "#8F837A" }, highlighter: { color: "#8F837A" }, timeTag: { backgroundColor: "#fbfafa", color: "#8A9892", circleMarker: { color: "#8A9892" } }, grid: { stroke: "transparent", labels: { show: !1, color: "#99AA99", xAxisLabels: { show: !1, color: "#99AA99" }, zeroLine: { show: !1 }, yAxis: { showBaseline: !1 } } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } }, bar: { borderRadius: 4, border: { stroke: "#D7E0D2" }, labels: { color: "#8F837A" }, serieName: { color: "#858480" } }, line: { labels: { color: "#8F837A" } }, plot: { labels: { color: "#8F837A" } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, lo = { chart: { backgroundColor: "#f6f6fb", color: "#50606C", zoom: { color: "#92B0AB", highlightColor: "#50606C" }, highlighter: { color: "#7DA9B5" }, timeTag: { backgroundColor: "#f6f6fb", color: "#50606C", circleMarker: { color: "#50606C" } }, grid: { stroke: "#829C98", showVerticalLines: !0, showHorizontalLines: !0, labels: { color: "#50606C", xAxisLabels: { color: "#50606C" } } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } }, bar: { borderRadius: 2, border: { stroke: "#404C4D" }, labels: { color: "#50606C" }, serieName: { color: "#61747E" } }, line: { labels: { color: "#50606C" } }, plot: { labels: { color: "#50606C" } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, ao = {
18
18
  default: {},
19
- minimal: Yt,
20
- minimalDark: Wt,
21
- dark: Xt,
22
- celebration: Gt,
23
- celebrationNight: Ut,
24
- hack: qt,
25
- zen: Zt,
26
- concrete: Jt
27
- }, Mn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19
+ minimal: qt,
20
+ minimalDark: Zt,
21
+ dark: Jt,
22
+ celebration: Qt,
23
+ celebrationNight: Kt,
24
+ hack: jt,
25
+ zen: eo,
26
+ concrete: lo
27
+ }, Nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28
28
  __proto__: null,
29
- celebration: Gt,
30
- celebrationNight: Ut,
31
- concrete: Jt,
32
- dark: Xt,
33
- default: Qt,
34
- hack: qt,
35
- minimal: Yt,
36
- minimalDark: Wt,
37
- zen: Zt
38
- }, Symbol.toStringTag, { value: "Module" })), Nr = ["id"], Vr = ["id"], Dr = ["viewBox", "aria-label"], Pr = ["x", "y", "width", "height"], Er = { key: 1 }, Rr = { class: "vue-ui-xy-grid" }, Hr = ["stroke", "x1", "x2", "y1", "y2"], Yr = ["stroke", "x1", "x2", "y1", "y2"], Wr = { key: 1 }, Xr = ["x1", "x2", "y1", "y2", "stroke"], Gr = ["x1", "x2", "y1", "y2", "stroke"], Ur = ["x1", "x2", "y1", "y2", "stroke"], qr = { key: 3 }, Zr = ["d", "stroke"], Jr = { key: 4 }, Qr = ["d", "stroke"], Kr = ["id"], jr = ["stop-color"], es = ["stop-color"], ls = ["stop-color"], as = ["id"], ts = ["stop-color"], os = ["stop-color"], rs = ["stop-color"], ss = ["id"], is = ["stop-color"], ns = ["stop-color"], us = ["id"], cs = ["stop-color"], vs = ["stop-color"], ds = ["id"], hs = ["stop-color"], fs = ["stop-color"], gs = ["x", "y", "height", "width", "fill"], ms = ["x", "y", "width"], bs = { key: 0 }, xs = ["x", "y", "height", "width", "fill"], ps = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], ys = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], ks = ["width", "x", "y"], Cs = ["stroke", "x1", "x2", "y1", "y2"], _s = { key: 3 }, ws = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ss = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], As = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], $s = ["fill", "font-size", "transform"], Ls = ["x1", "x2", "y1", "y2", "stroke"], Ms = ["x", "y", "font-size", "fill"], Ts = ["x1", "x2", "y1", "y2", "stroke"], zs = ["x", "y", "font-size", "fill"], Is = ["width", "x", "y"], Fs = { style: { width: "100%" } }, Os = ["d", "stroke", "stroke-width", "stroke-dasharray"], Bs = ["d", "stroke", "stroke-width", "stroke-dasharray"], Ns = { key: 6 }, Vs = { key: 7 }, Ds = ["d", "fill", "fill-opacity"], Ps = { key: 0 }, Es = ["d", "fill"], Rs = ["d", "fill"], Hs = ["d", "fill"], Ys = ["d", "fill"], Ws = ["d", "stroke", "stroke-width", "stroke-dasharray"], Xs = ["d", "stroke", "stroke-width", "stroke-dasharray"], Gs = ["width", "x", "y"], Us = { style: { width: "100%" } }, qs = { key: 8 }, Zs = ["x", "y", "font-size", "fill"], Js = ["x", "y", "font-size", "fill", "font-weight"], Qs = { key: 9 }, Ks = ["x", "y", "font-size", "fill"], js = { key: 10 }, ei = ["x", "y"], li = ["innerHTML"], ai = ["x", "y"], ti = ["innerHTML"], oi = ["x1", "x2", "y1", "y2", "stroke"], ri = { key: 11 }, si = ["x", "y", "font-size", "fill"], ii = { key: 12 }, ni = ["x", "y"], ui = ["innerHTML"], ci = ["x", "y"], vi = ["innerHTML"], di = ["x1", "x2", "y1", "y2", "stroke"], hi = ["x", "y", "font-size", "fill", "innerHTML"], fi = ["x", "y", "font-size", "fill", "innerHTML"], gi = ["x", "y", "font-size", "fill", "innerHTML"], mi = ["x", "y", "font-size", "fill", "innerHTML"], bi = { key: 0 }, xi = ["id"], pi = ["fill", "stroke"], yi = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ki = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ci = ["x", "y", "font-size", "fill", "stroke"], _i = ["id"], wi = ["stop-color"], Si = ["stop-color"], Ai = ["x", "y", "width", "height", "fill", "onMouseenter"], $i = ["font-size", "fill", "transform"], Li = ["x", "y", "font-size", "fill"], Mi = ["text-anchor", "font-size", "fill", "transform", "onClick"], Ti = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], zi = { key: 15 }, Ii = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Fi = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Oi = ["y", "x", "width", "height", "fill"], Bi = ["id", "x", "y", "font-size", "fill", "text-anchor"], Ni = {
29
+ celebration: Qt,
30
+ celebrationNight: Kt,
31
+ concrete: lo,
32
+ dark: Jt,
33
+ default: ao,
34
+ hack: jt,
35
+ minimal: qt,
36
+ minimalDark: Zt,
37
+ zen: eo
38
+ }, Symbol.toStringTag, { value: "Module" })), Hr = ["id"], Yr = ["id"], Wr = ["viewBox", "aria-label"], Xr = ["x", "y", "width", "height"], Gr = { key: 1 }, Ur = { class: "vue-ui-xy-grid" }, qr = ["stroke", "x1", "x2", "y1", "y2"], Zr = ["stroke", "x1", "x2", "y1", "y2"], Jr = { key: 1 }, Qr = ["x1", "x2", "y1", "y2", "stroke"], Kr = ["x1", "x2", "y1", "y2", "stroke"], jr = ["x1", "x2", "y1", "y2", "stroke"], es = { key: 3 }, ls = ["d", "stroke"], as = { key: 4 }, ts = ["d", "stroke"], os = ["id"], rs = ["stop-color"], ss = ["stop-color"], is = ["stop-color"], ns = ["id"], us = ["stop-color"], cs = ["stop-color"], vs = ["stop-color"], ds = ["id"], hs = ["stop-color"], fs = ["stop-color"], gs = ["id"], ms = ["stop-color"], bs = ["stop-color"], xs = ["id"], ps = ["stop-color"], ys = ["stop-color"], ks = ["x", "y", "height", "width", "fill"], Cs = ["x", "y", "width"], _s = { key: 0 }, ws = ["x", "y", "height", "width", "fill"], Ss = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], As = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], $s = ["width", "x", "y"], Ls = ["stroke", "x1", "x2", "y1", "y2"], Ms = { key: 3 }, Ts = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], zs = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Is = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Fs = ["fill", "font-size", "transform"], Os = ["x1", "x2", "y1", "y2", "stroke"], Ns = ["x", "y", "font-size", "fill"], Bs = ["x1", "x2", "y1", "y2", "stroke"], Ds = ["x", "y", "font-size", "fill"], Vs = ["width", "x", "y"], Ps = { style: { width: "100%" } }, Es = ["d", "stroke", "stroke-width", "stroke-dasharray"], Rs = ["d", "stroke", "stroke-width", "stroke-dasharray"], Hs = { key: 6 }, Ys = { key: 7 }, Ws = ["d", "fill", "fill-opacity"], Xs = { key: 0 }, Gs = ["d", "fill"], Us = ["d", "fill"], qs = ["d", "fill"], Zs = ["d", "fill"], Js = ["d", "stroke", "stroke-width", "stroke-dasharray"], Qs = ["d", "stroke", "stroke-width", "stroke-dasharray"], Ks = ["width", "x", "y"], js = { style: { width: "100%" } }, ei = { key: 8 }, li = ["x", "y", "font-size", "fill"], ai = ["x", "y", "font-size", "fill", "font-weight"], ti = { key: 9 }, oi = ["x", "y", "font-size", "fill"], ri = { key: 10 }, si = ["x", "y"], ii = ["innerHTML"], ni = ["x", "y"], ui = ["innerHTML"], ci = ["x1", "x2", "y1", "y2", "stroke"], vi = { key: 11 }, di = ["x", "y", "font-size", "fill"], hi = { key: 12 }, fi = ["x", "y"], gi = ["innerHTML"], mi = ["x", "y"], bi = ["innerHTML"], xi = ["x1", "x2", "y1", "y2", "stroke"], pi = ["x", "y", "font-size", "fill", "innerHTML"], yi = ["x", "y", "font-size", "fill", "innerHTML"], ki = ["x", "y", "font-size", "fill", "innerHTML"], Ci = ["x", "y", "font-size", "fill", "innerHTML"], _i = { key: 0 }, wi = ["id"], Si = ["fill", "stroke"], Ai = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], $i = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Li = ["x", "y", "font-size", "fill", "stroke"], Mi = ["id"], Ti = ["stop-color"], zi = ["stop-color"], Ii = ["x", "y", "width", "height", "fill", "onMouseenter"], Fi = ["font-size", "fill", "transform"], Oi = ["x", "y", "font-size", "fill"], Ni = ["text-anchor", "font-size", "fill", "transform", "onClick"], Bi = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], Di = { key: 15 }, Vi = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Pi = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ei = ["y", "x", "width", "height", "fill"], Ri = ["id", "x", "y", "font-size", "fill", "text-anchor"], Hi = {
39
39
  key: 16,
40
40
  style: { "pointer-events": "none" }
41
- }, Vi = ["x", "y"], Di = ["innerHTML"], Pi = ["cx", "cy", "r", "fill"], Ei = ["data-start", "data-end"], Ri = {
41
+ }, Yi = ["x", "y"], Wi = ["innerHTML"], Xi = ["cx", "cy", "r", "fill"], Gi = ["data-start", "data-end"], Ui = {
42
42
  key: 4,
43
43
  class: "vue-data-ui-watermark"
44
- }, Hi = {
44
+ }, qi = {
45
45
  class: "vue-ui-xy-tag-arrow",
46
46
  height: "20",
47
47
  viewBox: "0 0 10 20",
48
48
  style: { position: "absolute", right: "100%", top: "50%", transform: "translateY(-50%)" }
49
- }, Yi = ["fill"], Wi = ["innerHTML"], Xi = {
49
+ }, Zi = ["fill"], Ji = ["innerHTML"], Qi = {
50
50
  class: "vue-ui-xy-tag-arrow",
51
51
  height: "100%",
52
52
  viewBox: "0 0 10 20",
53
53
  style: { position: "absolute", left: "100%", top: "50%", transform: "translateY(-50%)" }
54
- }, Gi = ["fill"], Ui = ["innerHTML"], qi = {
54
+ }, Ki = ["fill"], ji = ["innerHTML"], en = {
55
55
  class: "vue-ui-xy-tag-arrow",
56
56
  height: "20",
57
57
  viewBox: "0 0 10 20",
58
58
  style: { position: "absolute", right: "100%", top: "50%", transform: "translateY(-50%)" }
59
- }, Zi = ["fill"], Ji = ["innerHTML"], Qi = {
59
+ }, ln = ["fill"], an = ["innerHTML"], tn = {
60
60
  class: "vue-ui-xy-tag-arrow",
61
61
  height: "100%",
62
62
  viewBox: "0 0 10 20",
63
63
  style: { position: "absolute", left: "100%", top: "50%", transform: "translateY(-50%)" }
64
- }, Ki = ["fill"], ji = ["innerHTML"], en = ["id"], ln = ["onClick"], an = {
64
+ }, on = ["fill"], rn = ["innerHTML"], sn = ["id"], nn = ["onClick"], un = {
65
65
  key: 0,
66
66
  viewBox: "0 0 20 12",
67
67
  height: "1em",
68
68
  width: "1.43em"
69
- }, tn = ["stroke", "fill"], on = {
69
+ }, cn = ["stroke", "fill"], vn = {
70
70
  key: 1,
71
71
  viewBox: "0 0 40 40",
72
72
  height: "1em",
73
73
  width: "1em"
74
- }, rn = ["fill"], sn = ["fill"], nn = {
74
+ }, dn = ["fill"], hn = ["fill"], fn = {
75
75
  key: 2,
76
76
  viewBox: "0 0 12 12",
77
77
  height: "1em",
78
78
  width: "1em"
79
- }, un = {
79
+ }, gn = {
80
80
  style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
81
81
  "data-dom-to-png-ignore": ""
82
- }, cn = ["innerHTML"], vn = {
82
+ }, mn = ["innerHTML"], bn = {
83
83
  __name: "vue-ui-xy",
84
84
  props: {
85
85
  config: {
@@ -100,103 +100,103 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
100
100
  }
101
101
  },
102
102
  emits: ["selectTimeLabel", "selectX", "selectLegend"],
103
- setup(jl, { expose: Kt, emit: jt }) {
104
- const g = jl, eo = Xe(() => import("./DataTable-KIMqDIJv.js")), lo = Xe(() => import("./Tooltip-B6qvABDL.js")), ao = Xe(() => import("./UserOptions-DToFtFUD.js")), Aa = Xe(() => import("./BaseIcon-DlnfQOPC.js")), to = Xe(() => import("./vue-ui-table-sparkline-DnNcAKYJ.js").then((a) => a.b)), oo = Xe(() => import("./PackageVersion-CeU7wfkb.js")), ro = Xe(() => import("./PenAndPaper-BrX5Qp19.js")), so = Xe(() => import("./BaseDraggableDialog-Ca6iTqi8.js")), ea = jt, $a = ar(), io = tr(), { vue_ui_xy: hl } = Cr(), { isThemeValid: no, warnInvalidTheme: uo } = Mr(), Ie = x(null), fl = x(null), Fe = x(null), rl = x(null), gl = x(null), ml = x(null), co = x(null), la = x(null), aa = x(null), sl = x(null), ta = x(null), oa = x(null), Ee = x(null), ra = x(null), vo = x(0), I = x(null), La = x(!0), ve = x(600), ee = x(1e3), zl = x("0 0 1000 600"), ho = x({ x: 0, y: 0 }), bl = x({ line: "line", bar: "bar", plot: "plot" }), xl = x(!1), qe = x(!1), Ma = x(!1), Ze = x(null), J = x([]), H = x(Ca()), Ta = x(0), za = x(0), Ia = x(0), pl = x(!0), sa = x(0), B = x(null), Fa = x(!1), ia = x(!0), Il = x(!0), se = x(null), De = x({}), Fl = x(null), Oa = x(!1), il = x(null), C = x(null), fo = b(() => ({
103
+ setup(la, { expose: to, emit: oo }) {
104
+ const m = la, ro = Xe(() => import("./DataTable-DiaJI04f.js")), so = Xe(() => import("./Tooltip-B6qvABDL.js")), io = Xe(() => import("./UserOptions-CZTaqf79.js")), La = Xe(() => import("./BaseIcon-CYSJuCRd.js")), no = Xe(() => import("./vue-ui-table-sparkline-P9_eeIHb.js").then((a) => a.b)), uo = Xe(() => import("./PackageVersion-DLxnBD7g.js")), co = Xe(() => import("./PenAndPaper-B26d81vz.js")), vo = Xe(() => import("./BaseDraggableDialog-SswGoxlj.js")), aa = oo, Ma = nr(), ho = ur(), { vue_ui_xy: fl } = Lr(), { isThemeValid: fo, warnInvalidTheme: go } = Nr(), Ie = x(null), gl = x(null), Fe = x(null), rl = x(null), ml = x(null), bl = x(null), mo = x(null), ta = x(null), oa = x(null), sl = x(null), ra = x(null), sa = x(null), Pe = x(null), ia = x(null), bo = x(0), I = x(null), Ta = x(!0), ve = x(600), ee = x(1e3), Fl = x("0 0 1000 600"), xo = x({ x: 0, y: 0 }), xl = x({ line: "line", bar: "bar", plot: "plot" }), pl = x(!1), qe = x(!1), za = x(!1), Ze = x(null), J = x([]), H = x(wa()), Ia = x(0), Fa = x(0), Oa = x(0), yl = x(!0), na = x(0), N = x(null), Na = x(!1), ua = x(!0), Ol = x(!0), se = x(null), Ve = x({}), Nl = x(null), Ba = x(!1), il = x(null), C = x(null), po = g(() => ({
105
105
  height: ve.value,
106
106
  width: ee.value
107
107
  }));
108
- function Ba(a) {
108
+ function Da(a) {
109
109
  return Number.isFinite(a) ? Math.max(0, Math.floor(a)) : 0;
110
110
  }
111
- function na(a, r, e = 0) {
111
+ function ca(a, r, e = 0) {
112
112
  return Number.isFinite(a) && Number.isFinite(r) && Math.abs(r) > 1e-9 ? a / r : e;
113
113
  }
114
- const Na = x(!1), y = x({
114
+ const Va = x(!1), y = x({
115
115
  xAxis: 18,
116
116
  yAxis: 12,
117
117
  dataLabels: 20,
118
118
  plotLabels: 10
119
119
  }), Ae = x({ plot: 3, line: 3 });
120
- Zl(() => {
121
- Oa.value = !0, g.dataset.length && g.dataset.forEach((a, r) => {
122
- [null, void 0].includes(a.series) && _a({
120
+ Ql(() => {
121
+ Ba.value = !0, m.dataset.length && m.dataset.forEach((a, r) => {
122
+ [null, void 0].includes(a.series) && Sa({
123
123
  componentName: "VueUiXy",
124
124
  type: "datasetSerieAttribute",
125
125
  property: "series (number[])",
126
126
  index: r,
127
- debug: yl.value
127
+ debug: kl.value
128
128
  });
129
129
  });
130
130
  });
131
- function ua() {
132
- if (!Object.keys(g.config || {}).length)
133
- return hl;
134
- const a = Tl({
135
- userConfig: g.config,
136
- defaultConfig: hl
131
+ function va() {
132
+ if (!Object.keys(m.config || {}).length)
133
+ return fl;
134
+ const a = Il({
135
+ userConfig: m.config,
136
+ defaultConfig: fl
137
137
  });
138
- g.config && fe(g.config, "chart.highlightArea") && (Array.isArray(g.config.chart.highlightArea) ? a.chart.highlightArea = g.config.chart.highlightArea : a.chart.highlightArea = [g.config.chart.highlightArea]), g.config && fe(g.config, "chart.grid.labels.yAxis.scaleMin") ? a.chart.grid.labels.yAxis.scaleMin = g.config.chart.grid.labels.yAxis.scaleMin : a.chart.grid.labels.yAxis.scaleMin = null, g.config && fe(g.config, "chart.grid.labels.yAxis.scaleMax") ? a.chart.grid.labels.yAxis.scaleMax = g.config.chart.grid.labels.yAxis.scaleMax : a.chart.grid.labels.yAxis.scaleMax = null, g.config && fe(g.config, "chart.zoom.startIndex") ? a.chart.zoom.startIndex = g.config.chart.zoom.startIndex : a.chart.zoom.startIndex = null, g.config && fe(g.config, "chart.zoom.endIndex") ? a.chart.zoom.endIndex = g.config.chart.zoom.endIndex : a.chart.zoom.endIndex = null, g.config && fe(g.config, "chart.grid.labels.yAxis.groupColor") ? a.chart.grid.labels.yAxis.groupColor = g.config.chart.grid.labels.yAxis.groupColor : a.chart.grid.labels.yAxis.groupColor = null, g.config && fe(g.config, "chart.annotations") && Array.isArray(g.config.chart.annotations) && g.config.chart.annotations.length ? a.chart.annotations = g.config.chart.annotations.map((t) => Tl({
139
- defaultConfig: hl.chart.annotations[0],
138
+ m.config && fe(m.config, "chart.highlightArea") && (Array.isArray(m.config.chart.highlightArea) ? a.chart.highlightArea = m.config.chart.highlightArea : a.chart.highlightArea = [m.config.chart.highlightArea]), m.config && fe(m.config, "chart.grid.labels.yAxis.scaleMin") ? a.chart.grid.labels.yAxis.scaleMin = m.config.chart.grid.labels.yAxis.scaleMin : a.chart.grid.labels.yAxis.scaleMin = null, m.config && fe(m.config, "chart.grid.labels.yAxis.scaleMax") ? a.chart.grid.labels.yAxis.scaleMax = m.config.chart.grid.labels.yAxis.scaleMax : a.chart.grid.labels.yAxis.scaleMax = null, m.config && fe(m.config, "chart.zoom.startIndex") ? a.chart.zoom.startIndex = m.config.chart.zoom.startIndex : a.chart.zoom.startIndex = null, m.config && fe(m.config, "chart.zoom.endIndex") ? a.chart.zoom.endIndex = m.config.chart.zoom.endIndex : a.chart.zoom.endIndex = null, m.config && fe(m.config, "chart.grid.labels.yAxis.groupColor") ? a.chart.grid.labels.yAxis.groupColor = m.config.chart.grid.labels.yAxis.groupColor : a.chart.grid.labels.yAxis.groupColor = null, m.config && fe(m.config, "chart.annotations") && Array.isArray(m.config.chart.annotations) && m.config.chart.annotations.length ? a.chart.annotations = m.config.chart.annotations.map((t) => Il({
139
+ defaultConfig: fl.chart.annotations[0],
140
140
  userConfig: t
141
- })) : a.chart.annotations = [], g.config && fe(g.config, "chart.grid.position") && g.config.chart.grid.position === "start" && g.dataset.length && g.dataset.some((t) => t.type === "bar") && (a.chart.grid.position = "middle", fe(g.config, "debug") && console.warn("Vue Data UI - VueUiXy - config.chart.grid.position was overriden to `middle` because your dataset contains a bar")), g.config && fe(g.config, "chart.grid.labels.yAxis.serieNameFormatter") ? a.chart.grid.labels.yAxis.serieNameFormatter = g.config.chart.grid.labels.yAxis.serieNameFormatter : a.chart.grid.labels.yAxis.serieNameFormatter = null, g.config && fe(g.config, "events.datapointEnter") ? a.events.datapointEnter = g.config.events.datapointEnter : a.events.datapointEnter = null, g.config && fe(g.config, "events.datapointLeave") ? a.events.datapointLeave = g.config.events.datapointLeave : a.events.datapointLeave = null, g.config && fe(g.config, "events.datapointClick") ? a.events.datapointClick = g.config.events.datapointClick : a.events.datapointClick = null, g.config && fe(g.config, "chart.highlightArea") && (Array.isArray(g.config.chart.highlightArea) ? a.chart.highlightArea = g.config.chart.highlightArea.map((t) => Va({
142
- defaultConfig: hl.chart.highlightArea,
141
+ })) : a.chart.annotations = [], m.config && fe(m.config, "chart.grid.position") && m.config.chart.grid.position === "start" && m.dataset.length && m.dataset.some((t) => t.type === "bar") && (a.chart.grid.position = "middle", fe(m.config, "debug") && console.warn("Vue Data UI - VueUiXy - config.chart.grid.position was overriden to `middle` because your dataset contains a bar")), m.config && fe(m.config, "chart.grid.labels.yAxis.serieNameFormatter") ? a.chart.grid.labels.yAxis.serieNameFormatter = m.config.chart.grid.labels.yAxis.serieNameFormatter : a.chart.grid.labels.yAxis.serieNameFormatter = null, m.config && fe(m.config, "events.datapointEnter") ? a.events.datapointEnter = m.config.events.datapointEnter : a.events.datapointEnter = null, m.config && fe(m.config, "events.datapointLeave") ? a.events.datapointLeave = m.config.events.datapointLeave : a.events.datapointLeave = null, m.config && fe(m.config, "events.datapointClick") ? a.events.datapointClick = m.config.events.datapointClick : a.events.datapointClick = null, m.config && fe(m.config, "chart.highlightArea") && (Array.isArray(m.config.chart.highlightArea) ? a.chart.highlightArea = m.config.chart.highlightArea.map((t) => Pa({
142
+ defaultConfig: fl.chart.highlightArea,
143
143
  userConfig: t
144
- })) : a.chart.highlightArea = Va({
145
- defaultConfig: hl.chart.highlightArea,
146
- userConfig: g.config.chart.highlightArea
144
+ })) : a.chart.highlightArea = Pa({
145
+ defaultConfig: fl.chart.highlightArea,
146
+ userConfig: m.config.chart.highlightArea
147
147
  }));
148
148
  const r = a.theme;
149
149
  if (!r) return a;
150
- if (!no.value(a))
151
- return uo(a), a;
152
- const e = Tl({
153
- userConfig: Qt[r] || g.config,
150
+ if (!fo.value(a))
151
+ return go(a), a;
152
+ const e = Il({
153
+ userConfig: ao[r] || m.config,
154
154
  defaultConfig: a
155
- }), s = Tl({
156
- userConfig: g.config,
155
+ }), s = Il({
156
+ userConfig: m.config,
157
157
  defaultConfig: e
158
158
  });
159
159
  return {
160
160
  ...s,
161
- customPalette: s.customPalette.length ? s.customPalette : xr[r] || wa
161
+ customPalette: s.customPalette.length ? s.customPalette : wr[r] || Aa
162
162
  };
163
163
  }
164
- function Va({ defaultConfig: a, userConfig: r }) {
165
- return Tl({
164
+ function Pa({ defaultConfig: a, userConfig: r }) {
165
+ return Il({
166
166
  defaultConfig: a,
167
167
  userConfig: r
168
168
  });
169
169
  }
170
- const ca = b({
170
+ const da = g({
171
171
  get() {
172
- return !!g.dataset && g.dataset.length;
172
+ return !!m.dataset && m.dataset.length;
173
173
  },
174
174
  set(a) {
175
175
  return a;
176
176
  }
177
- }), l = x(ua()), f = x({
177
+ }), l = x(va()), f = x({
178
178
  dataLabels: { show: !0 },
179
179
  showTooltip: !0,
180
180
  showTable: !1,
181
181
  isStacked: !1,
182
182
  useIndividualScale: !1
183
183
  });
184
- function va() {
185
- Na.value ? (f.value.isStacked = l.value.chart.grid.labels.yAxis.stacked, f.value.useIndividualScale == null && (f.value.useIndividualScale = l.value.chart.grid.labels.yAxis.useIndividualScale)) : (f.value = {
184
+ function ha() {
185
+ Va.value ? (f.value.isStacked = l.value.chart.grid.labels.yAxis.stacked, f.value.useIndividualScale == null && (f.value.useIndividualScale = l.value.chart.grid.labels.yAxis.useIndividualScale)) : (f.value = {
186
186
  dataLabels: { show: !0 },
187
187
  showTooltip: l.value.chart.tooltip.show === !0,
188
188
  showTable: l.value.showTable === !0,
189
189
  isStacked: l.value.chart.grid.labels.yAxis.stacked,
190
190
  useIndividualScale: l.value.chart.grid.labels.yAxis.useIndividualScale
191
- }, Na.value = !0);
191
+ }, Va.value = !0);
192
192
  }
193
- const yl = b(() => !!l.value.debug), { loading: ie, FINAL_DATASET: ge, manualLoading: Ol } = wr({
194
- ...or(g),
193
+ const kl = g(() => !!l.value.debug), { loading: ie, FINAL_DATASET: ge, manualLoading: Bl } = Tr({
194
+ ...cr(m),
195
195
  FINAL_CONFIG: l,
196
- prepareConfig: ua,
196
+ prepareConfig: va,
197
197
  callback: () => {
198
198
  Promise.resolve().then(async () => {
199
- await Pl(), f.value.showTable = l.value.showTable;
199
+ await Rl(), f.value.showTable = l.value.showTable;
200
200
  });
201
201
  },
202
202
  skeletonDataset: [
@@ -214,7 +214,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
214
214
  color: "#CACACA"
215
215
  }
216
216
  ],
217
- skeletonConfig: ur({
217
+ skeletonConfig: gr({
218
218
  defaultConfig: l.value,
219
219
  userConfig: {
220
220
  useCssAnimation: !1,
@@ -272,7 +272,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
272
272
  }
273
273
  })
274
274
  });
275
- function go(a) {
275
+ function yo(a) {
276
276
  const r = /* @__PURE__ */ new WeakMap();
277
277
  return (e, ...s) => {
278
278
  let t = r.get(e);
@@ -282,23 +282,23 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
282
282
  return t || (t = /* @__PURE__ */ new Map(), r.set(e, t)), t.set(i, o), o;
283
283
  };
284
284
  }
285
- const mo = go((a, r) => Sa({ data: a, threshold: r })), Re = (a) => mo(a, l.value.downsample.threshold), Oe = b({
286
- get: () => Math.max(...ge.value.map((a) => Re(a.series).length)),
285
+ const ko = yo((a, r) => $a({ data: a, threshold: r })), Ee = (a) => ko(a, l.value.downsample.threshold), Oe = g({
286
+ get: () => Math.max(...ge.value.map((a) => Ee(a.series).length)),
287
287
  set: (a) => a
288
- }), m = x({ start: 0, end: Oe.value }), $e = x({ start: 0, end: Oe.value }), Da = b(() => l.value.chart.zoom.preview.enable && ($e.value.start !== m.value.start || $e.value.end !== m.value.end));
289
- function Pa(a, r) {
288
+ }), b = x({ start: 0, end: Oe.value }), $e = x({ start: 0, end: Oe.value }), Ea = g(() => l.value.chart.zoom.preview.enable && ($e.value.start !== b.value.start || $e.value.end !== b.value.end));
289
+ function Ra(a, r) {
290
290
  $e.value[a] = r;
291
291
  }
292
292
  function nl() {
293
293
  const a = Math.max(
294
294
  1,
295
- ...ge.value.map((s) => Re(s.series).length)
295
+ ...ge.value.map((s) => Ee(s.series).length)
296
296
  );
297
- let r = Math.max(0, Math.min(m.value.start ?? 0, a - 1)), e = Math.max(r + 1, Math.min(m.value.end ?? a, a));
298
- (!Number.isFinite(r) || !Number.isFinite(e) || e <= r) && (r = 0, e = a), m.value = { start: r, end: e }, $e.value.start = r, $e.value.end = e, Fe.value && (Fe.value.setStartValue(r), Fe.value.setEndValue(e));
297
+ let r = Math.max(0, Math.min(b.value.start ?? 0, a - 1)), e = Math.max(r + 1, Math.min(b.value.end ?? a, a));
298
+ (!Number.isFinite(r) || !Number.isFinite(e) || e <= r) && (r = 0, e = a), b.value = { start: r, end: e }, $e.value.start = r, $e.value.end = e, Fe.value && (Fe.value.setStartValue(r), Fe.value.setEndValue(e));
299
299
  }
300
- const bo = b(() => {
301
- const { left: a, top: r, width: e, height: s } = c.value, t = m.value.start, o = m.value.end - t, L = e / o, M = $e.value.start - t, F = $e.value.end - t, w = Math.max(0, Math.min(o, M)), T = Math.max(0, Math.min(o, F));
300
+ const Co = g(() => {
301
+ const { left: a, top: r, width: e, height: s } = c.value, t = b.value.start, o = b.value.end - t, L = e / o, M = $e.value.start - t, F = $e.value.end - t, w = Math.max(0, Math.min(o, M)), T = Math.max(0, Math.min(o, F));
302
302
  return {
303
303
  x: a + w * L,
304
304
  y: r,
@@ -317,82 +317,109 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
317
317
  }
318
318
  };
319
319
  });
320
- Ll(() => g.selectedXIndex, (a) => {
321
- if ([null, void 0].includes(g.selectedXIndex)) {
320
+ Tl(() => m.selectedXIndex, (a) => {
321
+ if ([null, void 0].includes(m.selectedXIndex)) {
322
322
  C.value = null;
323
323
  return;
324
324
  }
325
- const r = a - m.value.start;
326
- r < 0 || a >= m.value.end ? C.value = null : C.value = r ?? null;
325
+ const r = a - b.value.start;
326
+ r < 0 || a >= b.value.end ? C.value = null : C.value = r ?? null;
327
327
  }, { immediate: !0 });
328
- const { isPrinting: da, isImaging: Ea, generatePdf: Ra, generateImage: Ha } = _r({
328
+ const { isPrinting: fa, isImaging: Ha, generatePdf: Ya, generateImage: Wa } = Mr({
329
329
  elementId: `vue-ui-xy_${H.value}`,
330
330
  fileName: l.value.chart.title.text || "vue-ui-xy",
331
331
  options: l.value.chart.userOptions.print
332
- }), xo = x(!1), Bl = b(() => cr(l.value.customPalette)), Nl = b(() => {
333
- if (l.value.chart.grid.labels.yAxis.scaleMin !== null)
334
- return l.value.chart.grid.labels.yAxis.scaleMin;
335
- const a = Math.min(...Pe.value.filter((r) => !J.value.includes(r.id)).map((r) => Math.min(...r.series)));
336
- return a > 0 ? 0 : a;
337
- }), Vl = b(() => {
338
- if (l.value.chart.grid.labels.yAxis.scaleMax)
339
- return l.value.chart.grid.labels.yAxis.scaleMax;
340
- const a = Math.max(...Pe.value.filter((r) => !J.value.includes(r.id)).map((r) => Math.max(...r.series)));
341
- return Nl.value === a ? a + 1 : a;
342
- }), Le = b(() => l.value.chart.grid.labels.yAxis.useNiceScale ? Ml(Nl.value, Vl.value < 0 ? 0 : Vl.value, l.value.chart.grid.labels.yAxis.commonScaleSteps) : tl(Nl.value, Vl.value < 0 ? 0 : Vl.value, l.value.chart.grid.labels.yAxis.commonScaleSteps)), kl = b(() => [null, void 0].includes(l.value.chart.grid.labels.yAxis.scaleMin) ? Le.value.min >= 0 ? 0 : Math.abs(Le.value.min) : -Le.value.min), Pe = b(() => La.value ? ge.value.map((a, r) => {
343
- const e = Re(a.series), s = `uniqueId_${r}`;
332
+ }), _o = x(!1), Dl = g(() => mr(l.value.customPalette)), ul = g(() => {
333
+ const a = l.value.chart.grid.labels.yAxis.scaleMin;
334
+ if (a == null) return null;
335
+ const r = Number(a);
336
+ return Number.isFinite(r) ? r : null;
337
+ }), wo = g(() => ul.value !== null ? c.value.bottom : ne.value), Cl = g(() => {
338
+ const a = l.value.chart.grid.labels.yAxis.scaleMax;
339
+ if (a == null) return null;
340
+ const r = Number(a);
341
+ return Number.isFinite(r) ? r : null;
342
+ }), Xa = g(() => ul.value !== null || Cl.value !== null), Ga = g(() => {
343
+ const a = Re.value.filter((r) => !J.value.includes(r.id)).flatMap((r) => Array.isArray(r.series) ? r.series : []).filter(Number.isFinite);
344
+ return a.length ? {
345
+ min: Math.min(...a),
346
+ max: Math.max(...a)
347
+ } : { min: 0, max: 1 };
348
+ });
349
+ function Ua(a, r) {
350
+ let e = Number.isFinite(a) ? a : 0, s = Number.isFinite(r) ? r : 1;
351
+ return e === s ? s = e + 1 : e > s && ([e, s] = [s, e]), { min: e, max: s };
352
+ }
353
+ const Vl = g(() => {
354
+ const { min: a, max: r } = Ga.value;
355
+ if (!Xa.value) {
356
+ const o = a;
357
+ return o > 0 ? 0 : o;
358
+ }
359
+ const e = ul.value !== null ? ul.value : a > 0 ? 0 : a, s = Cl.value !== null ? Cl.value : r, t = a < e ? a : e, i = r > s ? r : s;
360
+ return Ua(t, i).min;
361
+ }), Pl = g(() => {
362
+ const { min: a, max: r } = Ga.value;
363
+ if (!Xa.value) {
364
+ const o = r;
365
+ return Vl.value === o ? o + 1 : o;
366
+ }
367
+ const e = ul.value !== null ? ul.value : a > 0 ? 0 : a, s = Cl.value !== null ? Cl.value : r, t = a < e ? a : e, i = r > s ? r : s;
368
+ return Ua(t, i).max;
369
+ }), Le = g(() => l.value.chart.grid.labels.yAxis.useNiceScale ? zl(Vl.value, Pl.value < 0 ? 0 : Pl.value, l.value.chart.grid.labels.yAxis.commonScaleSteps) : tl(Vl.value, Pl.value < 0 ? 0 : Pl.value, l.value.chart.grid.labels.yAxis.commonScaleSteps)), _l = g(() => [null, void 0].includes(l.value.chart.grid.labels.yAxis.scaleMin) ? Le.value.min >= 0 ? 0 : Math.abs(Le.value.min) : -Le.value.min), Re = g(() => Ta.value ? ge.value.map((a, r) => {
370
+ const e = Ee(a.series), s = `uniqueId_${r}`;
344
371
  return {
345
372
  ...a,
346
373
  slotAbsoluteIndex: r,
347
- series: e.map((t) => Jl(t) ? t : null).slice(m.value.start, m.value.end),
348
- color: It(a.color ? a.color : Bl.value[r] ? Bl.value[r] : wa[r]),
374
+ series: e.map((t) => Kl(t) ? t : null).slice(b.value.start, b.value.end),
375
+ color: Dt(a.color ? a.color : Dl.value[r] ? Dl.value[r] : Aa[r]),
349
376
  id: s,
350
377
  scaleLabel: a.scaleLabel || s
351
378
  };
352
- }) : ge.value), me = b(() => Pe.value.map((a, r) => ({
379
+ }) : ge.value), me = g(() => Re.value.map((a, r) => ({
353
380
  absoluteIndex: r,
354
381
  ...a,
355
- series: a.series.map((e) => e + kl.value),
382
+ series: a.series.map((e) => e + _l.value),
356
383
  absoluteValues: a.series,
357
- segregate: () => Yl(a),
384
+ segregate: () => Xl(a),
358
385
  isSegregated: J.value.includes(a.id)
359
- }))), _e = b(() => Pe.value.map((a, r) => ({
386
+ }))), _e = g(() => Re.value.map((a, r) => ({
360
387
  ...a,
361
- series: a.series.map((e) => e + kl.value),
388
+ series: a.series.map((e) => e + _l.value),
362
389
  absoluteValues: a.series
363
390
  })).filter((a) => !J.value.includes(a.id)));
364
- function po() {
391
+ function So() {
365
392
  let a = 0;
366
- ta.value && (a = Array.from(ta.value.querySelectorAll("text")).reduce((t, i) => {
393
+ ra.value && (a = Array.from(ra.value.querySelectorAll("text")).reduce((t, i) => {
367
394
  const o = i.getComputedTextLength();
368
395
  return (o > t ? o : t) + l.value.chart.grid.labels.yAxis.scaleValueOffsetX;
369
396
  }, 0));
370
- const r = aa.value ? aa.value.getBoundingClientRect().width + l.value.chart.grid.labels.axis.yLabelOffsetX + y.value.yAxis : 0, e = l.value.chart.grid.labels.yAxis.crosshairSize;
397
+ const r = oa.value ? oa.value.getBoundingClientRect().width + l.value.chart.grid.labels.axis.yLabelOffsetX + y.value.yAxis : 0, e = l.value.chart.grid.labels.yAxis.crosshairSize;
371
398
  return a + r + e;
372
399
  }
373
- const ha = x(0), yo = kr((a) => {
374
- ha.value = a;
400
+ const ga = x(0), Ao = $r((a) => {
401
+ ga.value = a;
375
402
  }, 100);
376
- Lt((a) => {
403
+ Ft((a) => {
377
404
  const r = sl.value;
378
405
  if (!r) return;
379
406
  const e = new ResizeObserver((s) => {
380
- yo(s[0].contentRect.height);
407
+ Ao(s[0].contentRect.height);
381
408
  });
382
409
  e.observe(r), a(() => e.disconnect());
383
- }), ka(() => {
384
- ha.value = 0;
410
+ }), _a(() => {
411
+ ga.value = 0;
385
412
  });
386
- const Ya = b(() => {
413
+ const qa = g(() => {
387
414
  let a = 0;
388
- la.value && (a = la.value.getBBox().height);
415
+ ta.value && (a = ta.value.getBBox().height);
389
416
  let r = 0;
390
- return sl.value && (r = ha.value), a + r + y.value.xAxis;
391
- }), ko = b(() => ge.value.some((a) => a.useProgression)), c = b(() => {
417
+ return sl.value && (r = ga.value), a + r + y.value.xAxis;
418
+ }), $o = g(() => ge.value.some((a) => a.useProgression)), c = g(() => {
392
419
  let a = 0;
393
420
  const r = 36;
394
- l.value.chart.grid.labels.show && (f.value.useIndividualScale && !f.value.isStacked ? a = (ge.value.length - J.value.length) * (l.value.chart.grid.labels.yAxis.labelWidth + r) : f.value.useIndividualScale && f.value.isStacked ? a = l.value.chart.grid.labels.yAxis.labelWidth + r : a = po());
395
- const e = l.value.chart.labels.fontSize * 1.1, s = ko.value ? 24 : 6;
421
+ l.value.chart.grid.labels.show && (f.value.useIndividualScale && !f.value.isStacked ? a = (ge.value.length - J.value.length) * (l.value.chart.grid.labels.yAxis.labelWidth + r) : f.value.useIndividualScale && f.value.isStacked ? a = l.value.chart.grid.labels.yAxis.labelWidth + r : a = So());
422
+ const e = l.value.chart.labels.fontSize * 1.1, s = $o.value ? 24 : 6;
396
423
  if (sl.value) {
397
424
  const o = sl.value.getBBox().x;
398
425
  o < 0 && (a += Math.abs(o));
@@ -401,79 +428,79 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
401
428
  return {
402
429
  top: l.value.chart.padding?.top + e,
403
430
  right: ee.value - s - l.value.chart.padding?.right,
404
- bottom: ve.value - Ya.value - l.value.chart.padding?.bottom - l.value.chart.grid.labels.axis.xLabelOffsetY,
431
+ bottom: ve.value - qa.value - l.value.chart.padding?.bottom - l.value.chart.grid.labels.axis.xLabelOffsetY,
405
432
  left: a + l.value.chart.grid.labels.yAxis.crosshairSize - i + l.value.chart.padding?.left,
406
- height: ve.value - Ya.value - l.value.chart.padding?.top - l.value.chart.padding?.bottom - e - l.value.chart.grid.labels.axis.xLabelOffsetY,
433
+ height: ve.value - qa.value - l.value.chart.padding?.top - l.value.chart.padding?.bottom - e - l.value.chart.grid.labels.axis.xLabelOffsetY,
407
434
  width: t,
408
435
  scaleLabelX: a,
409
436
  individualOffsetX: r
410
437
  };
411
- }), Co = b(() => {
438
+ }), Lo = g(() => {
412
439
  const a = l.value.chart.grid.position === "middle" ? 1 : 0, r = A.value + a, e = Y(c.value?.top), s = Y(c.value?.bottom);
413
440
  return Array.from({ length: r }).map((t, i) => {
414
441
  const o = c.value.width / A.value * i + c.value?.left + U.value;
415
442
  return `M${o},${e} L${o},${s}`;
416
443
  }).join(" ");
417
- }), _o = b(() => {
444
+ }), Mo = g(() => {
418
445
  if (!l.value.chart.grid.labels.xAxis.showCrosshairs) return "";
419
446
  const a = c.value.width / A.value, r = l.value.chart.grid.labels.xAxis.crosshairSize, e = l.value.chart.grid.labels.xAxis.crosshairsAlwaysAtZero;
420
- return ma.value.map((s, t) => {
447
+ return xa.value.map((s, t) => {
421
448
  if (!s || !s.text) return null;
422
449
  const i = c.value?.left + a * t + a / 2, o = e ? ne.value - (ne.value === c.value?.bottom ? 0 : r / 2) : c.value?.bottom, L = e ? ne.value + r / (ne.value === c.value?.bottom ? 1 : 2) : c.value?.bottom + r;
423
450
  return `M${i},${o} L${i},${L}`;
424
451
  }).filter(Boolean).join(" ");
425
452
  });
426
- function Wa() {
427
- return !!io?.vnode.props?.onSelectTimeLabel;
453
+ function Za() {
454
+ return !!ho?.vnode.props?.onSelectTimeLabel;
428
455
  }
429
- function wo(a, r, e) {
430
- if (!Fl.value) {
456
+ function To(a, r, e) {
457
+ if (!Nl.value) {
431
458
  const s = document.createElement("canvas");
432
- Fl.value = s.getContext("2d");
459
+ Nl.value = s.getContext("2d");
433
460
  }
434
- return Fl.value.font = `normal ${a}px sans-serif`, Fl.value;
461
+ return Nl.value.font = `normal ${a}px sans-serif`, Nl.value;
435
462
  }
436
- function Xa() {
463
+ function Ja() {
437
464
  const a = Ie.value.querySelectorAll(".vue-ui-xy-tag");
438
465
  a.length && Array.from(a).forEach((r) => r.style.opacity = "0");
439
466
  }
440
- function Dl(a, r, e, s, t) {
441
- e && (De.value[`${a}_${r}_${s}_${t}`] = e);
467
+ function El(a, r, e, s, t) {
468
+ e && (Ve.value[`${a}_${r}_${s}_${t}`] = e);
442
469
  }
443
- const Ga = x(!1);
444
- async function Ua(a = !1) {
445
- await Mt(), Ga.value = a, Fa.value && (Il.value = a);
470
+ const Qa = x(!1);
471
+ async function Ka(a = !1) {
472
+ await Ot(), Qa.value = a, Na.value && (Ol.value = a);
446
473
  }
447
- function fa() {
448
- xl.value = !xl.value;
474
+ function ma() {
475
+ pl.value = !pl.value;
449
476
  }
450
- const de = b(() => {
451
- const a = Math.max(...ge.value.map((r) => Sa({ data: r.series, threshold: l.value.downsample.threshold }).length));
452
- return Ht({
477
+ const de = g(() => {
478
+ const a = Math.max(...ge.value.map((r) => $a({ data: r.series, threshold: l.value.downsample.threshold }).length));
479
+ return Ut({
453
480
  values: l.value.chart.grid.labels.xAxisLabels.values,
454
481
  maxDatapoints: a,
455
482
  formatter: l.value.chart.grid.labels.xAxisLabels.datetimeFormatter,
456
- start: m.value.start,
457
- end: m.value.end
483
+ start: b.value.start,
484
+ end: b.value.end
458
485
  });
459
- }), ga = b(() => {
460
- const a = Math.max(...ge.value.map((r) => Sa({ data: r.series, threshold: l.value.downsample.threshold }).length));
461
- return Ht({
486
+ }), ba = g(() => {
487
+ const a = Math.max(...ge.value.map((r) => $a({ data: r.series, threshold: l.value.downsample.threshold }).length));
488
+ return Ut({
462
489
  values: l.value.chart.grid.labels.xAxisLabels.values,
463
490
  maxDatapoints: a,
464
491
  formatter: l.value.chart.grid.labels.xAxisLabels.datetimeFormatter,
465
492
  start: 0,
466
493
  end: Oe.value
467
494
  });
468
- }), So = b(() => {
495
+ }), zo = g(() => {
469
496
  const a = l.value.chart.grid.labels.xAxisLabels.modulo;
470
497
  return de.value.length ? Math.min(a, [...new Set(de.value.map((r) => r.text))].length) : a;
471
- }), ma = b(() => {
472
- const a = l.value.chart.grid.labels.xAxisLabels, r = de.value || [], e = ga.value || [], s = m.value.start ?? 0, t = C.value, i = A.value, o = r.map((M) => M?.text ?? ""), L = e.map((M) => M?.text ?? "");
473
- return vr(
498
+ }), xa = g(() => {
499
+ const a = l.value.chart.grid.labels.xAxisLabels, r = de.value || [], e = ba.value || [], s = b.value.start ?? 0, t = C.value, i = A.value, o = r.map((M) => M?.text ?? ""), L = e.map((M) => M?.text ?? "");
500
+ return br(
474
501
  !!a.showOnlyFirstAndLast,
475
502
  !!a.showOnlyAtModulo,
476
- Math.max(1, So.value || 1),
503
+ Math.max(1, zo.value || 1),
477
504
  o,
478
505
  L,
479
506
  s,
@@ -481,7 +508,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
481
508
  i
482
509
  );
483
510
  });
484
- function qa(a, r) {
511
+ function ja(a, r) {
485
512
  const e = _e.value.map((s) => ({
486
513
  shape: s.shape || null,
487
514
  name: s.name,
@@ -492,97 +519,97 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
492
519
  prefix: s.prefix || l.value.chart.labels.prefix,
493
520
  suffix: s.suffix || l.value.chart.labels.suffix
494
521
  }));
495
- ea("selectTimeLabel", {
522
+ aa("selectTimeLabel", {
496
523
  datapoint: e,
497
524
  absoluteIndex: a.absoluteIndex,
498
525
  label: a.text
499
526
  });
500
527
  }
501
- const A = b(() => {
502
- const a = Ba((m.value.end ?? 0) - (m.value.start ?? 0));
528
+ const A = g(() => {
529
+ const a = Da((b.value.end ?? 0) - (b.value.start ?? 0));
503
530
  return Math.max(1, a);
504
531
  });
505
- function Ao(a) {
506
- B.value = a;
532
+ function Io(a) {
533
+ N.value = a;
507
534
  }
508
- function Za() {
535
+ function et() {
509
536
  f.value.isStacked = !f.value.isStacked, f.value.isStacked ? f.value.useIndividualScale = !0 : f.value.useIndividualScale = l.value.chart.grid.labels.yAxis.useIndividualScale;
510
537
  }
511
- function ba(a) {
512
- yl.value && a.autoScaling && (l.value.chart.grid.labels.yAxis.useIndividualScale || console.warn(`VueUiXy (datapoint: ${a.name}) : autoScaling only works when config.chart.grid.labels.yAxis.useIndividualScale is set to true`), l.value.chart.grid.labels.yAxis.stacked || console.warn(`VueUiXy (datapoint: ${a.name}) : autoScaling only works when config.chart.grid.labels.yAxis.stacked is set to true`));
538
+ function pa(a) {
539
+ kl.value && a.autoScaling && (l.value.chart.grid.labels.yAxis.useIndividualScale || console.warn(`VueUiXy (datapoint: ${a.name}) : autoScaling only works when config.chart.grid.labels.yAxis.useIndividualScale is set to true`), l.value.chart.grid.labels.yAxis.stacked || console.warn(`VueUiXy (datapoint: ${a.name}) : autoScaling only works when config.chart.grid.labels.yAxis.stacked is set to true`));
513
540
  }
514
- function $o(a, r) {
515
- const e = Ba(a), s = Array(e).fill(0);
541
+ function Fo(a, r) {
542
+ const e = Da(a), s = Array(e).fill(0);
516
543
  for (let t = 0; t < r.length && t < e; t += 1) s[t] = r[t] ?? 0;
517
544
  return s;
518
545
  }
519
- function Ja(a) {
520
- const r = Math.max(...ge.value.map((e) => Re(e.series).length));
546
+ function lt(a) {
547
+ const r = Math.max(...ge.value.map((e) => Ee(e.series).length));
521
548
  return a > r ? r : a < 0 || l.value.chart.zoom.startIndex !== null && a < l.value.chart.zoom.startIndex ? l.value.chart.zoom.startIndex !== null ? l.value.chart.zoom.startIndex + 1 : 1 : a;
522
549
  }
523
- const Cl = x(!1), Qa = x(!1);
524
- function Pl() {
525
- if (!Cl.value) {
526
- Cl.value = !0;
550
+ const wl = x(!1), at = x(!1);
551
+ function Rl() {
552
+ if (!wl.value) {
553
+ wl.value = !0;
527
554
  try {
528
- const { startIndex: a, endIndex: r } = l.value.chart.zoom, e = Math.max(...ge.value.map((i) => Re(i.series).length)), s = a ?? 0, t = r != null ? Math.min(Ja(r + 1), e) : e;
529
- El.value = !0, m.value.start = s, m.value.end = t, $e.value.start = s, $e.value.end = t, nl(), Qa.value = !0;
555
+ const { startIndex: a, endIndex: r } = l.value.chart.zoom, e = Math.max(...ge.value.map((i) => Ee(i.series).length)), s = a ?? 0, t = r != null ? Math.min(lt(r + 1), e) : e;
556
+ Hl.value = !0, b.value.start = s, b.value.end = t, $e.value.start = s, $e.value.end = t, nl(), at.value = !0;
530
557
  } finally {
531
558
  queueMicrotask(() => {
532
- El.value = !1;
533
- }), Cl.value = !1;
559
+ Hl.value = !1;
560
+ }), wl.value = !1;
534
561
  }
535
562
  }
536
563
  }
537
- const El = x(!1);
538
- function Lo(a) {
539
- Cl.value || El.value || a !== m.value.start && (m.value.start = a, $e.value.start = a, nl());
564
+ const Hl = x(!1);
565
+ function Oo(a) {
566
+ wl.value || Hl.value || a !== b.value.start && (b.value.start = a, $e.value.start = a, nl());
540
567
  }
541
- function Mo(a) {
542
- if (Cl.value || El.value) return;
543
- const r = Ja(a);
544
- r !== m.value.end && (m.value.end = r, $e.value.end = r, nl());
568
+ function No(a) {
569
+ if (wl.value || Hl.value) return;
570
+ const r = lt(a);
571
+ r !== b.value.end && (b.value.end = r, $e.value.end = r, nl());
545
572
  }
546
- async function To() {
547
- await Pl();
573
+ async function Bo() {
574
+ await Rl();
548
575
  }
549
576
  function be(a) {
550
577
  return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(a);
551
578
  }
552
- const Ka = b(() => Le.value.max + kl.value);
579
+ const tt = g(() => Le.value.max + _l.value);
553
580
  function Je(a) {
554
- return a / (be(Ka.value) ? Ka.value : 1);
581
+ return a / (be(tt.value) ? tt.value : 1);
555
582
  }
556
- const ne = b(() => isNaN(Je(kl.value)) ? c.value?.bottom : c.value?.bottom - c.value.height * Je(kl.value));
557
- function ja(a) {
558
- const r = ![null, void 0].includes(l.value.chart.grid.labels.yAxis.scaleMin) && l.value.chart.grid.labels.yAxis.scaleMin > 0 && Nl.value >= 0 ? c.value?.bottom : ne.value;
559
- return a.value >= 0 ? N(r - a.y <= 0 ? 1e-5 : r - a.y) : N(a.y - ne.value <= 0 ? 1e-5 : a.y - ne.value);
583
+ const ne = g(() => isNaN(Je(_l.value)) ? c.value?.bottom : c.value?.bottom - c.value.height * Je(_l.value));
584
+ function ot(a) {
585
+ const r = ![null, void 0].includes(l.value.chart.grid.labels.yAxis.scaleMin) && l.value.chart.grid.labels.yAxis.scaleMin > 0 && Vl.value >= 0 ? c.value?.bottom : ne.value;
586
+ return a.value >= 0 ? B(r - a.y <= 0 ? 1e-5 : r - a.y) : B(a.y - ne.value <= 0 ? 1e-5 : a.y - ne.value);
560
587
  }
561
- function et(a) {
562
- return a.value >= 0 ? N(a.zeroPosition - a.y <= 0 ? 1e-5 : a.zeroPosition - a.y) : N(a.y - a.zeroPosition <= 0 ? 1e-5 : a.zeroPosition - a.y);
588
+ function rt(a) {
589
+ return a.value >= 0 ? B(a.zeroPosition - a.y <= 0 ? 1e-5 : a.zeroPosition - a.y) : B(a.y - a.zeroPosition <= 0 ? 1e-5 : a.zeroPosition - a.y);
563
590
  }
564
- const Z = b(() => {
565
- const a = Math.max(1, A.value), r = Math.max(1, c.value.width), e = Math.max(1, Pe.value.filter((s) => s.type === "bar" && !J.value.includes(s.id)).length);
591
+ const Z = g(() => {
592
+ const a = Math.max(1, A.value), r = Math.max(1, c.value.width), e = Math.max(1, Re.value.filter((s) => s.type === "bar" && !J.value.includes(s.id)).length);
566
593
  return {
567
- bar: na(r, a * e, 1),
568
- plot: na(r, a, 1),
569
- line: na(r, a, 1)
594
+ bar: ca(r, a * e, 1),
595
+ plot: ca(r, a, 1),
596
+ line: ca(r, a, 1)
570
597
  };
571
598
  });
572
599
  function He() {
573
600
  return f.value.useIndividualScale && f.value.isStacked ? Z.value.line - c.value.width / A.value * 0.1 : Z.value.bar;
574
601
  }
575
- function Rl(a) {
602
+ function Yl(a) {
576
603
  return f.value.useIndividualScale && f.value.isStacked ? a.x + c.value.width / A.value * 0.05 : a.x + Z.value.bar / 2;
577
604
  }
578
- function lt(a) {
605
+ function st(a) {
579
606
  return a.value >= 0 ? a.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(ne.value) ? c?.bottom.value : ne.value;
580
607
  }
581
- function at(a) {
608
+ function it(a) {
582
609
  return a.value >= 0 ? a.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(a.zeroPosition) ? 0 : a.zeroPosition;
583
610
  }
584
- const _l = x(null);
585
- function tt(a) {
611
+ const Sl = x(null);
612
+ function nt(a) {
586
613
  const r = se.value;
587
614
  if (!r) return null;
588
615
  if (r.createSVGPoint && r.getScreenCTM) {
@@ -598,57 +625,57 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
598
625
  return { x: F, y: w, ok: !0 };
599
626
  }
600
627
  let Qe = 0;
601
- function zo(a) {
602
- xl.value || (Qe && cancelAnimationFrame(Qe), Qe = requestAnimationFrame(() => {
628
+ function Do(a) {
629
+ pl.value || (Qe && cancelAnimationFrame(Qe), Qe = requestAnimationFrame(() => {
603
630
  Qe = 0;
604
- const r = tt(a);
631
+ const r = nt(a);
605
632
  if (!r || !se.value) {
606
- Hl();
633
+ Wl();
607
634
  return;
608
635
  }
609
636
  const { left: e, right: s, top: t, bottom: i, width: o } = c.value;
610
637
  if (r.x < e || r.x > s || r.y < t || r.y > i) {
611
- Hl();
638
+ Wl();
612
639
  return;
613
640
  }
614
641
  const L = r.x - e, M = o / A.value, F = Math.floor(L / M);
615
- F >= 0 && F < A.value ? _l.value !== F && (_l.value = F, mt(!0, F)) : Hl();
642
+ F >= 0 && F < A.value ? Sl.value !== F && (Sl.value = F, kt(!0, F)) : Wl();
616
643
  }));
617
644
  }
618
- function Hl() {
619
- Qe && (cancelAnimationFrame(Qe), Qe = 0), _l.value = null, mt(!1, null);
645
+ function Wl() {
646
+ Qe && (cancelAnimationFrame(Qe), Qe = 0), Sl.value = null, kt(!1, null);
620
647
  }
621
- function ot(a) {
622
- const r = tt(a);
648
+ function ut(a) {
649
+ const r = nt(a);
623
650
  if (r && se.value) {
624
651
  const { left: e, right: s, top: t, bottom: i, width: o } = c.value;
625
652
  if (r.x >= e && r.x <= s && r.y >= t && r.y <= i) {
626
653
  const L = o / Math.max(1, A.value), M = Math.floor((r.x - e) / L);
627
654
  if (M >= 0 && M < A.value) {
628
- rt(M);
655
+ ct(M);
629
656
  return;
630
657
  }
631
658
  }
632
659
  }
633
- _l.value != null && rt(_l.value);
660
+ Sl.value != null && ct(Sl.value);
634
661
  }
635
- function rt(a) {
662
+ function ct(a) {
636
663
  const r = _e.value.map((e) => ({
637
664
  name: e.name,
638
665
  value: [null, void 0, NaN].includes(e.absoluteValues[a]) ? null : e.absoluteValues[a],
639
666
  color: e.color,
640
667
  type: e.type
641
668
  }));
642
- ea(
669
+ aa(
643
670
  "selectX",
644
671
  {
645
672
  dataset: r,
646
673
  index: a,
647
674
  indexLabel: l.value.chart.grid.labels.xAxisLabels.values[a]
648
675
  }
649
- ), l.value.events.datapointClick && l.value.events.datapointClick({ datapoint: r, seriesIndex: a + m.value.start });
676
+ ), l.value.events.datapointClick && l.value.events.datapointClick({ datapoint: r, seriesIndex: a + b.value.start });
650
677
  }
651
- function Io() {
678
+ function Vo() {
652
679
  return me.value.map((a) => ({
653
680
  values: a.absoluteValues,
654
681
  color: a.color,
@@ -656,9 +683,9 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
656
683
  type: a.type
657
684
  }));
658
685
  }
659
- async function Fo({ scale: a = 2 } = {}) {
686
+ async function Po({ scale: a = 2 } = {}) {
660
687
  if (!Ie.value) return;
661
- const { width: r, height: e } = Ie.value.getBoundingClientRect(), s = r / e, { imageUri: t, base64: i } = await zr({ domElement: Ie.value, base64: !0, img: !0, scale: a });
688
+ const { width: r, height: e } = Ie.value.getBoundingClientRect(), s = r / e, { imageUri: t, base64: i } = await Dr({ domElement: Ie.value, base64: !0, img: !0, scale: a });
662
689
  return {
663
690
  imageUri: t,
664
691
  base64: i,
@@ -668,40 +695,40 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
668
695
  aspectRatio: s
669
696
  };
670
697
  }
671
- function Yl(a) {
698
+ function Xl(a) {
672
699
  if (J.value.includes(a.id))
673
700
  J.value = J.value.filter((r) => r !== a.id);
674
701
  else {
675
- if (J.value.length + 1 === Pe.value.length) return;
702
+ if (J.value.length + 1 === Re.value.length) return;
676
703
  J.value.push(a.id);
677
704
  }
678
- ea("selectLegend", _e.value.map((r) => ({
705
+ aa("selectLegend", _e.value.map((r) => ({
679
706
  name: r.name,
680
707
  values: r.absoluteValues,
681
708
  color: r.color,
682
709
  type: r.type
683
- }))), sa.value += 1;
710
+ }))), na.value += 1;
684
711
  }
685
- function st(a) {
712
+ function vt(a) {
686
713
  if (!me.value.length)
687
714
  return l.value.debug && console.warn("VueUiXy - There are no series to show."), null;
688
715
  const r = me.value.find((e) => e.name === a);
689
716
  return r || (l.value.debug && console.warn(`VueUiXy - Series name not found "${a}"`), null);
690
717
  }
691
- function Oo(a) {
692
- const r = st(a);
693
- r !== null && J.value.includes(r.id) && Yl({ id: r.id });
718
+ function Eo(a) {
719
+ const r = vt(a);
720
+ r !== null && J.value.includes(r.id) && Xl({ id: r.id });
694
721
  }
695
- function Bo(a) {
696
- const r = st(a);
697
- r !== null && (J.value.includes(r.id) || Yl({ id: r.id }));
722
+ function Ro(a) {
723
+ const r = vt(a);
724
+ r !== null && (J.value.includes(r.id) || Xl({ id: r.id }));
698
725
  }
699
- const No = b(() => {
726
+ const Ho = g(() => {
700
727
  const a = l.value.chart.title.text || "Chart visualization", r = l.value.chart.title.subtitle.text || "";
701
728
  return `${a}. ${r}`;
702
- }), it = b(() => ({
729
+ }), dt = g(() => ({
703
730
  linePlot: A.value > l.value.line.dot.hideAboveMaxSerieLength
704
- })), Vo = b(() => l.value.chart.userOptions.show && (!l.value.chart.title.show || !l.value.chart.title.text)), Do = b(() => {
731
+ })), Yo = g(() => l.value.chart.userOptions.show && (!l.value.chart.title.show || !l.value.chart.title.text)), Wo = g(() => {
705
732
  if (Array.isArray(l.value.chart.highlightArea))
706
733
  return l.value.chart.highlightArea.map((r) => {
707
734
  const e = Math.min(r.to, Oe.value - 1);
@@ -715,20 +742,20 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
715
742
  to: Math.min(l.value.chart.highlightArea.to, Oe.value - 1)
716
743
  };
717
744
  return [{ ...a, span: a.from === a.to ? 1 : a.to < a.from ? 0 : a.to - a.from + 1 }];
718
- }), nt = b(() => La.value ? ge.value.map((a, r) => ({
745
+ }), ht = g(() => Ta.value ? ge.value.map((a, r) => ({
719
746
  ...a,
720
- series: Re(a.series),
747
+ series: Ee(a.series),
721
748
  id: `uniqueId_${r}`,
722
- color: It(a.color ? a.color : Bl.value[r] ? Bl.value[r] : wa[r])
723
- })) : ge.value), Po = b(() => _e.value.map((a) => {
749
+ color: Dt(a.color ? a.color : Dl.value[r] ? Dl.value[r] : Aa[r])
750
+ })) : ge.value), Xo = g(() => _e.value.map((a) => {
724
751
  const r = a.absoluteValues.map((e) => [void 0, null].includes(e) ? 0 : e);
725
752
  return {
726
753
  id: a.id,
727
754
  name: a.name,
728
755
  color: a.color,
729
- values: $o(A.value, r)
756
+ values: Fo(A.value, r)
730
757
  };
731
- })), Eo = b(() => ({
758
+ })), Go = g(() => ({
732
759
  responsiveBreakpoint: l.value.table.responsiveBreakpoint,
733
760
  roundingValues: l.value.table.rounding,
734
761
  showAverage: !1,
@@ -737,7 +764,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
737
764
  fontFamily: l.value.chart.fontFamily,
738
765
  prefix: l.value.chart.labels.prefix,
739
766
  suffix: l.value.chart.labels.suffix,
740
- colNames: de.value.map((a, r) => l.value.table.useDefaultTimeFormat ? a.text : ul.value(r + m.value.start, l.value.table.timeFormat)),
767
+ colNames: de.value.map((a, r) => l.value.table.useDefaultTimeFormat ? a.text : cl.value(r + b.value.start, l.value.table.timeFormat)),
741
768
  thead: {
742
769
  backgroundColor: l.value.table.th.backgroundColor,
743
770
  color: l.value.table.th.color,
@@ -754,31 +781,31 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
754
781
  sparkline: {
755
782
  animation: { show: !1 }
756
783
  }
757
- })), U = b(() => l.value.chart.grid.position === "middle" ? 0 : c.value.width / A.value / 2), Ke = b(() => dr(me.value.filter((a) => !J.value.includes(a.id)))), $ = b(() => {
784
+ })), U = g(() => l.value.chart.grid.position === "middle" ? 0 : c.value.width / A.value / 2), Ke = g(() => xr(me.value.filter((a) => !J.value.includes(a.id)))), $ = g(() => {
758
785
  const a = Object.groupBy(Ke.value, (e) => e.scaleLabel), r = {};
759
786
  for (const [e, s] of Object.entries(a)) {
760
787
  const t = s.flatMap((i) => i.absoluteValues);
761
788
  r[e] = {
762
789
  min: Math.min(...t) || 0,
763
790
  max: Math.max(...t) || 1,
764
- groupId: `scale_group_${Ca()}`
791
+ groupId: `scale_group_${wa()}`
765
792
  };
766
793
  }
767
794
  return r;
768
- }), Ro = b(() => {
769
- const a = Pe.value.filter((r) => r.type === "bar").filter((r) => !J.value.includes(r.id)).length;
770
- return c.value.width / A.value / a - Wl.value * a;
771
- }), Wl = b(() => Z.value.line * l.value.bar.periodGap), Xl = b(() => Math.max(1e-5, He() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Wl.value))), Gl = b(() => Xl.value * Math.min(Math.abs(l.value.bar.innerGap), 0.95)), Ho = b(() => {
795
+ }), Uo = g(() => {
796
+ const a = Re.value.filter((r) => r.type === "bar").filter((r) => !J.value.includes(r.id)).length;
797
+ return c.value.width / A.value / a - Gl.value * a;
798
+ }), Gl = g(() => Z.value.line * l.value.bar.periodGap), Ul = g(() => Math.max(1e-5, He() - (f.value.useIndividualScale && f.value.isStacked ? 0 : Gl.value))), ql = g(() => Ul.value * Math.min(Math.abs(l.value.bar.innerGap), 0.95)), qo = g(() => {
772
799
  if (!l.value.chart.zoom.minimap.show) return [];
773
- const a = nt.value.filter((t) => !J.value.includes(t.id)), r = Math.max(...a.map((t) => t.series.length)), e = [];
800
+ const a = ht.value.filter((t) => !J.value.includes(t.id)), r = Math.max(...a.map((t) => t.series.length)), e = [];
774
801
  for (let t = 0; t < r; t += 1)
775
802
  e.push(a.map((i) => i.series[t] || 0).reduce((i, o) => (i || 0) + (o || 0), 0));
776
803
  const s = Math.min(...e);
777
804
  return e.map((t) => t + (s < 0 ? Math.abs(s) : 0));
778
- }), Yo = b(() => l.value.chart.zoom.minimap.show ? nt.value.map((r) => ({
805
+ }), Zo = g(() => l.value.chart.zoom.minimap.show ? ht.value.map((r) => ({
779
806
  ...r,
780
807
  isVisible: !J.value.includes(r.id)
781
- })) : []), je = b(() => _e.value.map((a) => ({
808
+ })) : []), je = g(() => _e.value.map((a) => ({
782
809
  slotAbsoluteIndex: a.slotAbsoluteIndex,
783
810
  shape: a.shape || null,
784
811
  name: a.name,
@@ -788,12 +815,12 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
788
815
  comments: a.comments || [],
789
816
  prefix: a.prefix || l.value.chart.labels.prefix,
790
817
  suffix: a.suffix || l.value.chart.labels.suffix
791
- }))), ut = b(() => Le.value.ticks.map((a) => ({
818
+ }))), ft = g(() => Le.value.ticks.map((a) => ({
792
819
  y: a >= 0 ? ne.value - c.value.height * Je(a) : ne.value + c.value.height * Je(Math.abs(a)),
793
820
  value: a,
794
821
  prefix: l.value.chart.labels.prefix,
795
822
  suffix: l.value.chart.labels.suffix
796
- }))), ct = b(() => {
823
+ }))), gt = g(() => {
797
824
  const a = l.value.chart.annotations;
798
825
  if (!a || !Array.isArray(a) || a.every((w) => !w.show)) return [];
799
826
  const r = a.filter(
@@ -805,23 +832,23 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
805
832
  return t - T * i;
806
833
  };
807
834
  return r.map((w) => {
808
- const { yAxis: { yTop: T, yBottom: W, label: k } } = w, V = T != null && W != null && T !== W, z = T == null ? null : F(T), le = W == null ? null : F(W), ue = wo(k.fontSize);
835
+ const { yAxis: { yTop: T, yBottom: W, label: k } } = w, D = T != null && W != null && T !== W, z = T == null ? null : F(T), le = W == null ? null : F(W), ue = To(k.fontSize);
809
836
  ue.font = `${k.fontSize}px sans-serif`;
810
- const q = ue.measureText(k.text).width, we = k.fontSize, Be = (k.position === "start" ? e + k.padding?.left : s - k.padding?.right) + k.offsetX, pe = (z != null && le != null ? Math.min(z, le) : z ?? le) - k.fontSize / 3 + k.offsetY - k.padding?.top;
837
+ const q = ue.measureText(k.text).width, we = k.fontSize, Ne = (k.position === "start" ? e + k.padding?.left : s - k.padding?.right) + k.offsetX, pe = (z != null && le != null ? Math.min(z, le) : z ?? le) - k.fontSize / 3 + k.offsetY - k.padding?.top;
811
838
  let E;
812
- k.textAnchor === "middle" ? E = Be - q / 2 - k.padding?.left : k.textAnchor === "end" ? E = Be - q - k.padding?.right : E = Be - k.padding?.left;
839
+ k.textAnchor === "middle" ? E = Ne - q / 2 - k.padding?.left : k.textAnchor === "end" ? E = Ne - q - k.padding?.right : E = Ne - k.padding?.left;
813
840
  const R = pe - we * 0.75 - k.padding?.top;
814
841
  return {
815
842
  show: ![z, le, R].includes(NaN),
816
- id: `annotation_y_${Ca()}`,
817
- hasArea: V,
818
- areaHeight: V ? Math.abs(z - le) : 0,
843
+ id: `annotation_y_${wa()}`,
844
+ hasArea: D,
845
+ areaHeight: D ? Math.abs(z - le) : 0,
819
846
  yTop: z,
820
847
  yBottom: le,
821
848
  config: w.yAxis,
822
849
  x1: e,
823
850
  x2: s,
824
- _text: { x: Be, y: pe },
851
+ _text: { x: Ne, y: pe },
825
852
  _box: {
826
853
  x: E,
827
854
  y: R,
@@ -836,80 +863,80 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
836
863
  };
837
864
  });
838
865
  });
839
- function vt(a, r) {
866
+ function mt(a, r) {
840
867
  const e = a[r - 1], s = a[r + 1];
841
868
  let t = !!e && !!s && e.value == null && s.value == null || !e && !!s && s.value == null || !!e && !s && e.value == null;
842
869
  return be(a[r].value) && t && l.value.line.cutNullValues;
843
870
  }
844
- const Me = b(() => {
871
+ const Me = g(() => {
845
872
  const a = Ke.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), r = a.length, e = l.value.chart.grid.labels.yAxis.gap, s = f.value.isStacked, t = s ? e * (r - 1) : 0, i = c.value.height - t;
846
873
  return a.filter((o) => o.type === "bar").map((o, L) => {
847
- ba(o);
874
+ pa(o);
848
875
  const M = $.value[o.scaleLabel].min, F = $.value[o.scaleLabel].max;
849
- o.absoluteValues.filter((D) => ![null, void 0].includes(D)).map((D) => (D - M) / (F - M));
876
+ o.absoluteValues.filter((V) => ![null, void 0].includes(V)).map((V) => (V - M) / (F - M));
850
877
  const w = {
851
878
  valueMin: M,
852
879
  valueMax: F < 0 ? 0 : F
853
880
  }, T = {
854
881
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
855
- min: o.scaleMin || Math.min(...o.absoluteValues.filter((D) => ![void 0, null].includes(D))) > 0 ? 0 : Math.min(...o.absoluteValues.filter((D) => ![null, void 0].includes(D)))
856
- }, W = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, k = 1.0000001, V = l.value.chart.grid.labels.yAxis.useNiceScale ? Ml(T.min, T.max === T.min ? T.max * k : T.max, W) : tl(T.min, T.max === T.min ? T.max * k : T.max, W), z = l.value.chart.grid.labels.yAxis.useNiceScale ? Ml(w.valueMin, w.valueMax === w.valueMin ? w.valueMax * k : w.valueMax, W) : tl(w.valueMin, w.valueMax === w.valueMin ? w.valueMax * k : w.valueMax, W), le = V.min >= 0 ? 0 : Math.abs(V.min), ue = 0, q = V.max + le, we = z.max + Math.abs(ue), Be = o.stackIndex, cl = r - 1 - Be, pe = s ? 1 - o.cumulatedStackRatio : 0, E = s ? i * pe + e * cl : 0, R = s ? i * o.stackRatio : c.value.height, Q = c.value?.bottom - E - R * le / q, ye = c.value?.bottom - E - R * ue / we, ce = me.value.filter((D) => D.type === "bar").filter((D) => !J.value.includes(D.id)).length, Al = o.series.map((D, j) => {
857
- const We = f.value.useIndividualScale ? (o.absoluteValues[j] + le) / q : Je(D), el = f.value.useIndividualScale && f.value.isStacked ? c.value?.left + c.value.width / A.value * j : c.value?.left + Z.value.bar * L + Z.value.bar * j * ce - Ro.value / 2 - L * Wl.value;
882
+ min: o.scaleMin || Math.min(...o.absoluteValues.filter((V) => ![void 0, null].includes(V))) > 0 ? 0 : Math.min(...o.absoluteValues.filter((V) => ![null, void 0].includes(V)))
883
+ }, W = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, k = 1.0000001, D = l.value.chart.grid.labels.yAxis.useNiceScale ? zl(T.min, T.max === T.min ? T.max * k : T.max, W) : tl(T.min, T.max === T.min ? T.max * k : T.max, W), z = l.value.chart.grid.labels.yAxis.useNiceScale ? zl(w.valueMin, w.valueMax === w.valueMin ? w.valueMax * k : w.valueMax, W) : tl(w.valueMin, w.valueMax === w.valueMin ? w.valueMax * k : w.valueMax, W), le = D.min >= 0 ? 0 : Math.abs(D.min), ue = 0, q = D.max + le, we = z.max + Math.abs(ue), Ne = o.stackIndex, vl = r - 1 - Ne, pe = s ? 1 - o.cumulatedStackRatio : 0, E = s ? i * pe + e * vl : 0, R = s ? i * o.stackRatio : c.value.height, Q = c.value?.bottom - E - R * le / q, ye = c.value?.bottom - E - R * ue / we, ce = me.value.filter((V) => V.type === "bar").filter((V) => !J.value.includes(V.id)).length, Ll = o.series.map((V, j) => {
884
+ const We = f.value.useIndividualScale ? (o.absoluteValues[j] + le) / q : Je(V), el = f.value.useIndividualScale && f.value.isStacked ? c.value?.left + c.value.width / A.value * j : c.value?.left + Z.value.bar * L + Z.value.bar * j * ce - Uo.value / 2 - L * Gl.value;
858
885
  return {
859
- yOffset: N(E),
860
- individualHeight: N(R),
861
- x: N(el),
886
+ yOffset: B(E),
887
+ individualHeight: B(R),
888
+ x: B(el),
862
889
  y: c.value?.bottom - E - R * We,
863
890
  value: o.absoluteValues[j],
864
- zeroPosition: N(Q),
865
- individualMax: N(q),
866
- comment: o.comments && o.comments.slice(m.value.start, m.value.end)[j] || ""
891
+ zeroPosition: B(Q),
892
+ individualMax: B(q),
893
+ comment: o.comments && o.comments.slice(b.value.start, b.value.end)[j] || ""
867
894
  };
868
- }), he = o.absoluteValues.map((D) => z.min >= 0 ? (D - Math.abs(z.min)) / (z.max - Math.abs(z.min)) : (D + Math.abs(z.min)) / (z.max + Math.abs(z.min))), Ye = o.series.map((D, j) => {
895
+ }), he = o.absoluteValues.map((V) => z.min >= 0 ? (V - Math.abs(z.min)) / (z.max - Math.abs(z.min)) : (V + Math.abs(z.min)) / (z.max + Math.abs(z.min))), Ye = o.series.map((V, j) => {
869
896
  const We = f.value.useIndividualScale && f.value.isStacked ? c.value?.left + c.value.width / A.value * j : c.value?.left - Z.value.bar / 2 + Z.value.bar * L + Z.value.bar * j * me.value.filter((el) => el.type === "bar").filter((el) => !J.value.includes(el.id)).length;
870
897
  return {
871
- yOffset: N(E),
872
- individualHeight: N(R),
873
- x: N(We),
874
- y: N(c.value?.bottom - N(E) - (N(R) * he[j] || 0)),
898
+ yOffset: B(E),
899
+ individualHeight: B(R),
900
+ x: B(We),
901
+ y: B(c.value?.bottom - B(E) - (B(R) * he[j] || 0)),
875
902
  value: o.absoluteValues[j],
876
- zeroPosition: N(Q),
877
- individualMax: N(q),
878
- comment: o.comments && o.comments.slice(m.value.start, m.value.end)[j] || ""
903
+ zeroPosition: B(Q),
904
+ individualMax: B(q),
905
+ comment: o.comments && o.comments.slice(b.value.start, b.value.end)[j] || ""
879
906
  };
880
- }), X = V.ticks.map((D) => ({
881
- y: D >= 0 ? Q - R * (D / q) : Q + R * Math.abs(D) / q,
882
- value: D,
907
+ }), X = D.ticks.map((V) => ({
908
+ y: V >= 0 ? Q - R * (V / q) : Q + R * Math.abs(V) / q,
909
+ value: V,
883
910
  prefix: o.prefix || l.value.chart.labels.prefix,
884
911
  suffix: o.suffix || l.value.chart.labels.suffix,
885
912
  datapoint: o
886
- })), K = z.ticks.map((D) => {
887
- const j = (D - z.min) / (z.max - z.min);
913
+ })), K = z.ticks.map((V) => {
914
+ const j = (V - z.min) / (z.max - z.min);
888
915
  return {
889
- y: D >= 0 ? ye - R * j : ye + R * j,
890
- value: D,
916
+ y: V >= 0 ? ye - R * j : ye + R * j,
917
+ value: V,
891
918
  prefix: o.prefix || l.value.chart.labels.prefix,
892
919
  suffix: o.suffix || l.value.chart.labels.suffix,
893
920
  datapoint: o
894
921
  };
895
922
  });
896
- return $.value[o.scaleLabel].name = o.name, $.value[o.scaleLabel].groupName = o.scaleLabel, $.value[o.scaleLabel].groupColor = l.value.chart.grid.labels.yAxis.groupColor || o.color, $.value[o.scaleLabel].color = o.color, $.value[o.scaleLabel].scaleYLabels = o.autoScaling ? K : X, $.value[o.scaleLabel].zeroPosition = o.autoScaling ? ye : Q, $.value[o.scaleLabel].individualMax = o.autoScaling ? we : q, $.value[o.scaleLabel].scaleLabel = o.scaleLabel, $.value[o.scaleLabel].id = o.id, $.value[o.scaleLabel].yOffset = E, $.value[o.scaleLabel].individualHeight = R, $.value[o.scaleLabel].autoScaleYLabels = K, $.value[o.scaleLabel].unique = Ke.value.filter((D) => D.scaleLabel === o.scaleLabel).length === 1, {
923
+ return $.value[o.scaleLabel].name = o.name, $.value[o.scaleLabel].groupName = o.scaleLabel, $.value[o.scaleLabel].groupColor = l.value.chart.grid.labels.yAxis.groupColor || o.color, $.value[o.scaleLabel].color = o.color, $.value[o.scaleLabel].scaleYLabels = o.autoScaling ? K : X, $.value[o.scaleLabel].zeroPosition = o.autoScaling ? ye : Q, $.value[o.scaleLabel].individualMax = o.autoScaling ? we : q, $.value[o.scaleLabel].scaleLabel = o.scaleLabel, $.value[o.scaleLabel].id = o.id, $.value[o.scaleLabel].yOffset = E, $.value[o.scaleLabel].individualHeight = R, $.value[o.scaleLabel].autoScaleYLabels = K, $.value[o.scaleLabel].unique = Ke.value.filter((V) => V.scaleLabel === o.scaleLabel).length === 1, {
897
924
  ...o,
898
925
  yOffset: E,
899
926
  autoScaleYLabels: K,
900
927
  individualHeight: R,
901
928
  scaleYLabels: o.autoScaling ? K : X,
902
- individualScale: o.autoScaling ? z : V,
929
+ individualScale: o.autoScaling ? z : D,
903
930
  individualMax: o.autoScaling ? we : q,
904
931
  zeroPosition: o.autoScaling ? ye : Q,
905
- plots: o.autoScaling ? Ye : Al,
932
+ plots: o.autoScaling ? Ye : Ll,
906
933
  groupId: $.value[o.scaleLabel].groupId
907
934
  };
908
935
  });
909
- }), te = b(() => {
936
+ }), te = g(() => {
910
937
  const a = Ke.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), r = a.length, e = l.value.chart.grid.labels.yAxis.gap, s = f.value.isStacked, t = s ? e * (r - 1) : 0, i = c.value.height - t;
911
938
  return a.filter((o) => o.type === "line").map((o, L) => {
912
- ba(o);
939
+ pa(o);
913
940
  const M = $.value[o.scaleLabel].min, F = $.value[o.scaleLabel].max;
914
941
  o.absoluteValues.filter((O) => ![null, void 0].includes(O)).map((O) => (O - M) / (F - M));
915
942
  const w = {
@@ -918,25 +945,25 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
918
945
  }, T = {
919
946
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
920
947
  min: o.scaleMin || (Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues))
921
- }, W = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, k = 1.0000001, V = l.value.chart.grid.labels.yAxis.useNiceScale ? Ml(T.min, T.max === T.min ? T.max * k : T.max, W) : tl(T.min, T.max === T.min ? T.max * k : T.max, W), z = l.value.chart.grid.labels.yAxis.useNiceScale ? Ml(w.valueMin, w.valueMax === w.valueMin ? w.valueMax * k : w.valueMax, W) : tl(w.valueMin, w.valueMax === w.valueMin ? w.valueMax * k : w.valueMax, W), le = V.min >= 0 ? 0 : Math.abs(V.min), ue = 0, q = V.max + Math.abs(le), we = z.max + Math.abs(ue), Be = o.stackIndex, cl = r - 1 - Be, pe = s ? 1 - o.cumulatedStackRatio : 0, E = s ? i * pe + e * cl : 0, R = s ? i * o.stackRatio : c.value.height, Q = c.value?.bottom - E - R * le / q, ye = c.value?.bottom - E - R * ue / we, ce = o.series.map((O, oe) => {
922
- const lr = f.value.useIndividualScale ? (o.absoluteValues[oe] + Math.abs(le)) / q : Je(O);
948
+ }, W = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, k = 1.0000001, D = l.value.chart.grid.labels.yAxis.useNiceScale ? zl(T.min, T.max === T.min ? T.max * k : T.max, W) : tl(T.min, T.max === T.min ? T.max * k : T.max, W), z = l.value.chart.grid.labels.yAxis.useNiceScale ? zl(w.valueMin, w.valueMax === w.valueMin ? w.valueMax * k : w.valueMax, W) : tl(w.valueMin, w.valueMax === w.valueMin ? w.valueMax * k : w.valueMax, W), le = D.min >= 0 ? 0 : Math.abs(D.min), ue = 0, q = D.max + Math.abs(le), we = z.max + Math.abs(ue), Ne = o.stackIndex, vl = r - 1 - Ne, pe = s ? 1 - o.cumulatedStackRatio : 0, E = s ? i * pe + e * vl : 0, R = s ? i * o.stackRatio : c.value.height, Q = c.value?.bottom - E - R * le / q, ye = c.value?.bottom - E - R * ue / we, ce = o.series.map((O, oe) => {
949
+ const ir = f.value.useIndividualScale ? (o.absoluteValues[oe] + Math.abs(le)) / q : Je(O);
923
950
  return {
924
- x: N(c.value?.left + Z.value.line / 2 + Z.value.line * oe),
925
- y: N(c.value?.bottom - E - R * lr),
951
+ x: B(c.value?.left + Z.value.line / 2 + Z.value.line * oe),
952
+ y: B(c.value?.bottom - E - R * ir),
926
953
  value: o.absoluteValues[oe],
927
- comment: o.comments && o.comments.slice(m.value.start, m.value.end)[oe] || ""
954
+ comment: o.comments && o.comments.slice(b.value.start, b.value.end)[oe] || ""
928
955
  };
929
- }), Al = o.absoluteValues.map((O) => z.min >= 0 ? (O - Math.abs(z.min)) / (z.max - Math.abs(z.min)) : (O + Math.abs(z.min)) / (z.max + Math.abs(z.min))), he = o.series.map((O, oe) => [void 0, null].includes(o.absoluteValues[oe]) ? {
930
- x: N(c.value?.left + Z.value.line / 2 + Z.value.line * oe),
956
+ }), Ll = o.absoluteValues.map((O) => z.min >= 0 ? (O - Math.abs(z.min)) / (z.max - Math.abs(z.min)) : (O + Math.abs(z.min)) / (z.max + Math.abs(z.min))), he = o.series.map((O, oe) => [void 0, null].includes(o.absoluteValues[oe]) ? {
957
+ x: B(c.value?.left + Z.value.line / 2 + Z.value.line * oe),
931
958
  y: Q,
932
959
  value: o.absoluteValues[oe],
933
- comment: o.comments && o.comments.slice(m.value.start, m.value.end)[oe] || ""
960
+ comment: o.comments && o.comments.slice(b.value.start, b.value.end)[oe] || ""
934
961
  } : {
935
- x: N(c.value?.left + Z.value.line / 2 + Z.value.line * oe),
936
- y: N(c.value?.bottom - E - (R * Al[oe] || 0)),
962
+ x: B(c.value?.left + Z.value.line / 2 + Z.value.line * oe),
963
+ y: B(c.value?.bottom - E - (R * Ll[oe] || 0)),
937
964
  value: o.absoluteValues[oe],
938
- comment: o.comments && o.comments.slice(m.value.start, m.value.end)[oe] || ""
939
- }), Ye = l.value.line.cutNullValues ? Ft(ce) : Ot(ce.filter((O) => O.value !== null)), X = l.value.line.cutNullValues ? Ft(he) : Ot(he.filter((O) => O.value !== null)), K = l.value.line.cutNullValues ? Bt(ce) : Nt(ce.filter((O) => O.value !== null)), D = l.value.line.cutNullValues ? Bt(he) : Nt(he.filter((O) => O.value !== null)), j = V.ticks.map((O) => ({
965
+ comment: o.comments && o.comments.slice(b.value.start, b.value.end)[oe] || ""
966
+ }), Ye = l.value.line.cutNullValues ? Vt(ce) : Pt(ce.filter((O) => O.value !== null)), X = l.value.line.cutNullValues ? Vt(he) : Pt(he.filter((O) => O.value !== null)), K = l.value.line.cutNullValues ? Et(ce) : Rt(ce.filter((O) => O.value !== null)), V = l.value.line.cutNullValues ? Et(he) : Rt(he.filter((O) => O.value !== null)), j = D.ticks.map((O) => ({
940
967
  y: O >= 0 ? Q - R * (O / q) : Q + R * Math.abs(O) / q,
941
968
  value: O,
942
969
  prefix: o.prefix || l.value.chart.labels.prefix,
@@ -953,38 +980,44 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
953
980
  };
954
981
  });
955
982
  $.value[o.scaleLabel].name = o.name, $.value[o.scaleLabel].groupName = o.scaleLabel, $.value[o.scaleLabel].groupColor = l.value.chart.grid.labels.yAxis.groupColor || o.color, $.value[o.scaleLabel].color = o.color, $.value[o.scaleLabel].scaleYLabels = o.autoScaling ? We : j, $.value[o.scaleLabel].zeroPosition = o.autoScaling ? ye : Q, $.value[o.scaleLabel].individualMax = o.autoScaling ? we : q, $.value[o.scaleLabel].scaleLabel = o.scaleLabel, $.value[o.scaleLabel].id = o.id, $.value[o.scaleLabel].yOffset = E, $.value[o.scaleLabel].individualHeight = R, $.value[o.scaleLabel].autoScaleYLabels = We, $.value[o.scaleLabel].unique = Ke.value.filter((O) => O.scaleLabel === o.scaleLabel).length === 1;
956
- const el = f.value.useIndividualScale ? o.autoScaling ? ye : Q : ne.value, $l = Math.max(Math.max(o.autoScaling ? ye : j.at(-1) ? j.at(-1).y : 0, c.value?.top), el);
983
+ const el = f.value.useIndividualScale ? o.autoScaling ? ye : Q : wo.value, Ml = Math.max(
984
+ Math.max(
985
+ o.autoScaling ? ye : j.at(-1) ? j.at(-1).y : 0,
986
+ c.value?.top
987
+ ),
988
+ el
989
+ );
957
990
  return {
958
991
  ...o,
959
992
  yOffset: E,
960
993
  autoScaleYLabels: We,
961
994
  individualHeight: R,
962
995
  scaleYLabels: o.autoScaling ? We : j,
963
- individualScale: o.autoScaling ? z : V,
996
+ individualScale: o.autoScaling ? z : D,
964
997
  individualMax: o.autoScaling ? we : q,
965
998
  zeroPosition: o.autoScaling ? ye : Q,
966
999
  curve: o.autoScaling ? X : Ye,
967
1000
  plots: o.autoScaling ? he : ce,
968
- area: o.useArea ? f.value.useIndividualScale ? l.value.line.cutNullValues ? Vt(
1001
+ area: o.useArea ? f.value.useIndividualScale ? l.value.line.cutNullValues ? Ht(
969
1002
  o.autoScaling ? he : ce,
970
- $l
971
- ) : Dt(
1003
+ Ml
1004
+ ) : Yt(
972
1005
  o.autoScaling ? he.filter((O) => O.value !== null) : ce.filter((O) => O.value !== null),
973
- $l
974
- ) : l.value.line.cutNullValues ? Vt(ce, $l) : Dt(ce.filter((O) => O.value !== null), $l) : "",
975
- curveAreas: o.useArea ? hr(
1006
+ Ml
1007
+ ) : l.value.line.cutNullValues ? Ht(ce, Ml) : Yt(ce.filter((O) => O.value !== null), Ml) : "",
1008
+ curveAreas: o.useArea ? pr(
976
1009
  o.autoScaling ? l.value.line.cutNullValues ? he : he.filter((O) => O.value !== null) : l.value.line.cutNullValues ? ce : ce.filter((O) => O.value !== null),
977
- $l,
1010
+ Ml,
978
1011
  l.value.line.cutNullValues
979
1012
  ) : [],
980
- straight: o.autoScaling ? D : K,
1013
+ straight: o.autoScaling ? V : K,
981
1014
  groupId: $.value[o.scaleLabel].groupId
982
1015
  };
983
1016
  });
984
- }), xe = b(() => {
1017
+ }), xe = g(() => {
985
1018
  const a = Ke.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), r = a.length, e = l.value.chart.grid.labels.yAxis.gap, s = f.value.isStacked, t = s ? e * (r - 1) : 0, i = c.value.height - t;
986
1019
  return a.filter((o) => o.type === "plot").map((o) => {
987
- ba(o);
1020
+ pa(o);
988
1021
  const L = $.value[o.scaleLabel].min, M = $.value[o.scaleLabel].max;
989
1022
  o.absoluteValues.filter((X) => ![null, void 0].includes(X)).map((X) => (X - L) / (M - L));
990
1023
  const F = {
@@ -993,27 +1026,27 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
993
1026
  }, w = {
994
1027
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
995
1028
  min: o.scaleMin || Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues)
996
- }, T = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, W = 1.0000001, k = tl(w.min, w.max === w.min ? w.max * W : w.max, T), V = tl(F.valueMin, F.valueMax === F.valueMin ? F.valueMax * W : F.valueMax, T), z = k.min >= 0 ? 0 : Math.abs(k.min), le = 0, ue = k.max + z, q = V.max + Math.abs(le), we = o.stackIndex, Be = r - 1 - we, cl = s ? 1 - o.cumulatedStackRatio : 0, pe = s ? i * cl + e * Be : 0, E = s ? i * o.stackRatio : c.value.height, R = c.value?.bottom - pe - E * z / ue, Q = c.value?.bottom - pe - E * le / q, ye = o.series.map((X, K) => {
997
- const D = f.value.useIndividualScale ? (o.absoluteValues[K] + Math.abs(z)) / ue : Je(X);
1029
+ }, T = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, W = 1.0000001, k = tl(w.min, w.max === w.min ? w.max * W : w.max, T), D = tl(F.valueMin, F.valueMax === F.valueMin ? F.valueMax * W : F.valueMax, T), z = k.min >= 0 ? 0 : Math.abs(k.min), le = 0, ue = k.max + z, q = D.max + Math.abs(le), we = o.stackIndex, Ne = r - 1 - we, vl = s ? 1 - o.cumulatedStackRatio : 0, pe = s ? i * vl + e * Ne : 0, E = s ? i * o.stackRatio : c.value.height, R = c.value?.bottom - pe - E * z / ue, Q = c.value?.bottom - pe - E * le / q, ye = o.series.map((X, K) => {
1030
+ const V = f.value.useIndividualScale ? (o.absoluteValues[K] + Math.abs(z)) / ue : Je(X);
998
1031
  return {
999
- x: N(c.value?.left + Z.value.plot / 2 + Z.value.plot * K),
1000
- y: N(c.value?.bottom - pe - E * D),
1032
+ x: B(c.value?.left + Z.value.plot / 2 + Z.value.plot * K),
1033
+ y: B(c.value?.bottom - pe - E * V),
1001
1034
  value: o.absoluteValues[K],
1002
- comment: o.comments && o.comments.slice(m.value.start, m.value.end)[K] || ""
1035
+ comment: o.comments && o.comments.slice(b.value.start, b.value.end)[K] || ""
1003
1036
  };
1004
- }), ce = o.absoluteValues.map((X) => V.min >= 0 ? (X - Math.abs(V.min)) / (V.max - Math.abs(V.min)) : (X + Math.abs(V.min)) / (V.max + Math.abs(V.min))), Al = o.series.map((X, K) => ({
1005
- x: N(c.value?.left + Z.value.plot / 2 + Z.value.plot * K),
1006
- y: N(c.value?.bottom - pe - (E * ce[K] || 0)),
1037
+ }), ce = o.absoluteValues.map((X) => D.min >= 0 ? (X - Math.abs(D.min)) / (D.max - Math.abs(D.min)) : (X + Math.abs(D.min)) / (D.max + Math.abs(D.min))), Ll = o.series.map((X, K) => ({
1038
+ x: B(c.value?.left + Z.value.plot / 2 + Z.value.plot * K),
1039
+ y: B(c.value?.bottom - pe - (E * ce[K] || 0)),
1007
1040
  value: o.absoluteValues[K],
1008
- comment: o.comments && o.comments.slice(m.value.start, m.value.end)[K] || ""
1041
+ comment: o.comments && o.comments.slice(b.value.start, b.value.end)[K] || ""
1009
1042
  })), he = k.ticks.map((X) => ({
1010
1043
  y: X >= 0 ? R - E * (X / ue) : R + E * Math.abs(X) / ue,
1011
1044
  value: X,
1012
1045
  prefix: o.prefix || l.value.chart.labels.prefix,
1013
1046
  suffix: o.suffix || l.value.chart.labels.suffix,
1014
1047
  datapoint: o
1015
- })), Ye = V.ticks.map((X) => {
1016
- const K = (X - V.min) / (V.max - V.min);
1048
+ })), Ye = D.ticks.map((X) => {
1049
+ const K = (X - D.min) / (D.max - D.min);
1017
1050
  return {
1018
1051
  y: X >= 0 ? Q - E * K : Q + E * K,
1019
1052
  value: X,
@@ -1028,14 +1061,14 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1028
1061
  autoScaleYLabels: Ye,
1029
1062
  individualHeight: E,
1030
1063
  scaleYLabels: o.autoScaling ? Ye : he,
1031
- individualScale: o.autoScaling ? V : k,
1064
+ individualScale: o.autoScaling ? D : k,
1032
1065
  individualMax: o.autoScaling ? q : ue,
1033
1066
  zeroPosition: o.autoScaling ? Q : R,
1034
- plots: o.autoScaling ? Al : ye,
1067
+ plots: o.autoScaling ? Ll : ye,
1035
1068
  groupId: $.value[o.scaleLabel].groupId
1036
1069
  };
1037
1070
  });
1038
- }), wl = b(() => {
1071
+ }), Al = g(() => {
1039
1072
  const a = te.value.map((i) => ({
1040
1073
  name: i.name,
1041
1074
  color: i.color,
@@ -1098,7 +1131,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1098
1131
  }))
1099
1132
  };
1100
1133
  });
1101
- }), dt = b(() => {
1134
+ }), bt = g(() => {
1102
1135
  const a = l.value.line.interLine || {}, r = a.pairs || [], e = a.colors || [];
1103
1136
  if (!r.length) return [];
1104
1137
  const s = [];
@@ -1108,7 +1141,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1108
1141
  const M = te.value.find((k) => k.name === o), F = te.value.find((k) => k.name === L);
1109
1142
  if (!M || !F || M.type !== "line" || F.type !== "line") return;
1110
1143
  const w = e?.[i]?.[0] ?? M.color, T = e?.[i]?.[1] ?? F.color;
1111
- fr({
1144
+ yr({
1112
1145
  lineA: M.plots,
1113
1146
  lineB: F.plots,
1114
1147
  smoothA: !!M.smooth,
@@ -1117,11 +1150,11 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1117
1150
  colorLineB: T,
1118
1151
  sampleStepPx: 2,
1119
1152
  cutNullValues: l.value.line.cutNullValues
1120
- }).forEach((k, V) => {
1121
- s.push({ ...k, key: `inter_${o}_${L}_${i}_${V}` });
1153
+ }).forEach((k, D) => {
1154
+ s.push({ ...k, key: `inter_${o}_${L}_${i}_${D}` });
1122
1155
  });
1123
1156
  }), s;
1124
- }), ht = b(() => ({
1157
+ }), xt = g(() => ({
1125
1158
  datapoint: je.value,
1126
1159
  seriesIndex: C.value,
1127
1160
  series: me.value,
@@ -1129,24 +1162,24 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1129
1162
  lines: te.value,
1130
1163
  plots: xe.value,
1131
1164
  config: l.value
1132
- })), ul = b(() => {
1133
- const a = l.value.chart.grid.labels.xAxisLabels.datetimeFormatter, r = Ar({
1165
+ })), cl = g(() => {
1166
+ const a = l.value.chart.grid.labels.xAxisLabels.datetimeFormatter, r = Ir({
1134
1167
  useUTC: a.useUTC,
1135
- locale: $r[a.locale] || { months: [], shortMonths: [], days: [], shortDays: [] },
1168
+ locale: Fr[a.locale] || { months: [], shortMonths: [], days: [], shortDays: [] },
1136
1169
  januaryAsYear: a.januaryAsYear
1137
1170
  });
1138
1171
  return (e, s) => {
1139
1172
  const i = l.value.chart.grid.labels.xAxisLabels.values?.[e];
1140
1173
  return i == null ? "" : r.formatDate(new Date(i), s);
1141
1174
  };
1142
- }), ft = b(() => (l.value.chart.grid.labels.xAxisLabels.values || []).map((r, e) => ({
1143
- text: ul.value(e, l.value.chart.zoom.timeFormat),
1175
+ }), pt = g(() => (l.value.chart.grid.labels.xAxisLabels.values || []).map((r, e) => ({
1176
+ text: cl.value(e, l.value.chart.zoom.timeFormat),
1144
1177
  absoluteIndex: e
1145
- }))), Wo = b(() => {
1146
- let a = "", r = je.value.map((t) => t.value).filter((t) => Jl(t) && t !== null).reduce((t, i) => Math.abs(t) + Math.abs(i), 0);
1178
+ }))), Jo = g(() => {
1179
+ let a = "", r = je.value.map((t) => t.value).filter((t) => Kl(t) && t !== null).reduce((t, i) => Math.abs(t) + Math.abs(i), 0);
1147
1180
  const e = de.value[C.value], s = l.value.chart.tooltip.customFormat;
1148
- if (Pt(s) && gr(() => s({
1149
- absoluteIndex: C.value + m.value.start,
1181
+ if (Wt(s) && kr(() => s({
1182
+ absoluteIndex: C.value + b.value.start,
1150
1183
  seriesIndex: C.value,
1151
1184
  datapoint: je.value,
1152
1185
  series: me.value,
@@ -1156,7 +1189,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1156
1189
  config: l.value
1157
1190
  })))
1158
1191
  return s({
1159
- absoluteIndex: C.value + m.value.start,
1192
+ absoluteIndex: C.value + b.value.start,
1160
1193
  seriesIndex: C.value,
1161
1194
  datapoint: je.value,
1162
1195
  series: me.value,
@@ -1166,18 +1199,18 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1166
1199
  config: l.value
1167
1200
  });
1168
1201
  if (e && e.text && l.value.chart.tooltip.showTimeLabel) {
1169
- const t = ul.value(C.value + m.value.start, l.value.chart.tooltip.timeFormat);
1202
+ const t = cl.value(C.value + b.value.start, l.value.chart.tooltip.timeFormat);
1170
1203
  a += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${l.value.chart.tooltip.borderColor}; width:100%">${l.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !l.value.chart.tooltip.useDefaultTimeFormat ? t : e.text}</div>`;
1171
1204
  }
1172
1205
  return je.value.forEach((t) => {
1173
- if (Jl(t.value)) {
1206
+ if (Kl(t.value)) {
1174
1207
  let i = "", o = "";
1175
- switch (bl.value[t.type]) {
1208
+ switch (xl.value[t.type]) {
1176
1209
  case "bar":
1177
- i = `<svg viewBox="0 0 40 40" height="14" width="14">${$a.pattern ? `<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${t.color}" />` : ""}<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${$a.pattern ? `url(#pattern_${H.value}_${t.slotAbsoluteIndex}` : t.color}" /></svg>`;
1210
+ i = `<svg viewBox="0 0 40 40" height="14" width="14">${Ma.pattern ? `<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${t.color}" />` : ""}<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${Ma.pattern ? `url(#pattern_${H.value}_${t.slotAbsoluteIndex}` : t.color}" /></svg>`;
1178
1211
  break;
1179
1212
  case "line":
1180
- !t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ? o = `<circle cx="10" cy="8" r="4" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" />` : t.shape === "triangle" ? o = `<path d="${Ne({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "square" ? o = `<path d="${Ne({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "diamond" ? o = `<path d="${Ne({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "pentagon" ? o = `<path d="${Ne({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "hexagon" ? o = `<path d="${Ne({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "star" && (o = `<polygon stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" points="${Et({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), i = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${t.color}" />${o}</svg>`;
1213
+ !t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ? o = `<circle cx="10" cy="8" r="4" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" />` : t.shape === "triangle" ? o = `<path d="${Be({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "square" ? o = `<path d="${Be({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "diamond" ? o = `<path d="${Be({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "pentagon" ? o = `<path d="${Be({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "hexagon" ? o = `<path d="${Be({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "star" && (o = `<polygon stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" points="${Xt({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), i = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${t.color}" />${o}</svg>`;
1181
1214
  break;
1182
1215
  case "plot":
1183
1216
  if (!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape)) {
@@ -1185,61 +1218,61 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1185
1218
  break;
1186
1219
  }
1187
1220
  if (t.shape === "star") {
1188
- i = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" points="${Et({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
1221
+ i = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" points="${Xt({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
1189
1222
  break;
1190
1223
  }
1191
1224
  if (t.shape === "triangle") {
1192
- i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${Ne({ plot: { x: 6, y: 6 }, radius: 6, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1225
+ i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${Be({ plot: { x: 6, y: 6 }, radius: 6, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1193
1226
  break;
1194
1227
  }
1195
1228
  if (t.shape === "square") {
1196
- i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${Ne({ plot: { x: 6, y: 6 }, radius: 6, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1229
+ i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${Be({ plot: { x: 6, y: 6 }, radius: 6, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1197
1230
  break;
1198
1231
  }
1199
1232
  if (t.shape === "diamond") {
1200
- i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${Ne({ plot: { x: 6, y: 6 }, radius: 5, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1233
+ i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${Be({ plot: { x: 6, y: 6 }, radius: 5, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1201
1234
  break;
1202
1235
  }
1203
1236
  if (t.shape === "pentagon") {
1204
- i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${Ne({ plot: { x: 6, y: 6 }, radius: 5, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1237
+ i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${Be({ plot: { x: 6, y: 6 }, radius: 5, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1205
1238
  break;
1206
1239
  }
1207
1240
  if (t.shape === "hexagon") {
1208
- i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${Ne({ plot: { x: 6, y: 6 }, radius: 5, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1241
+ i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${Be({ plot: { x: 6, y: 6 }, radius: 5, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
1209
1242
  break;
1210
1243
  }
1211
1244
  }
1212
1245
  a += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;"><div style="width:20px">${i}</div> ${t.name}: <b>${l.value.chart.tooltip.showValue ? re(
1213
1246
  t.type === "line" ? l.value.line.labels.formatter : t.type === "bar" ? l.value.bar.labels.formatter : l.value.plot.labels.formatter,
1214
1247
  t.value,
1215
- Ve({
1248
+ De({
1216
1249
  p: t.prefix,
1217
1250
  v: t.value,
1218
1251
  s: t.suffix,
1219
1252
  r: l.value.chart.tooltip.roundingValue
1220
1253
  }),
1221
1254
  { datapoint: t }
1222
- ) : ""}</b> ${l.value.chart.tooltip.showPercentage ? `(${Ve({
1223
- v: N(Math.abs(t.value) / r * 100),
1255
+ ) : ""}</b> ${l.value.chart.tooltip.showPercentage ? `(${De({
1256
+ v: B(Math.abs(t.value) / r * 100),
1224
1257
  s: "%",
1225
1258
  r: l.value.chart.tooltip.roundingPercentage
1226
- })})` : ""}</div>`, l.value.chart.comments.showInTooltip && t.comments.length && t.comments.slice(m.value.start, m.value.end)[C.value] && (a += `<div class="vue-data-ui-tooltip-comment" style="background:${t.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${t.color}">${t.comments.slice(m.value.start, m.value.end)[C.value]}</div>`);
1259
+ })})` : ""}</div>`, l.value.chart.comments.showInTooltip && t.comments.length && t.comments.slice(b.value.start, b.value.end)[C.value] && (a += `<div class="vue-data-ui-tooltip-comment" style="background:${t.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${t.color}">${t.comments.slice(b.value.start, b.value.end)[C.value]}</div>`);
1227
1260
  }
1228
1261
  }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${l.value.chart.tooltip.color}">${a}</div>`;
1229
- }), gt = b(() => {
1230
- if (Pe.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
1262
+ }), yt = g(() => {
1263
+ if (Re.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
1231
1264
  const a = _e.value.map((e) => ({
1232
1265
  label: e.name,
1233
1266
  color: e.color,
1234
1267
  type: e.type
1235
1268
  })), r = [];
1236
1269
  return de.value.forEach((e, s) => {
1237
- const t = l.value.table.useDefaultTimeFormat ? [e.text] : [ul.value(s + m.value.start, l.value.table.timeFormat)];
1270
+ const t = l.value.table.useDefaultTimeFormat ? [e.text] : [cl.value(s + b.value.start, l.value.table.timeFormat)];
1238
1271
  _e.value.forEach((i) => {
1239
1272
  t.push(be(i.absoluteValues[s]) ? Number(i.absoluteValues[s].toFixed(l.value.table.rounding)) : "");
1240
1273
  }), r.push(t);
1241
1274
  }), { head: a, body: r };
1242
- }), Ul = b(() => {
1275
+ }), Zl = g(() => {
1243
1276
  const a = l.value.table.showSum;
1244
1277
  let r = [""].concat(_e.value.map((i) => i.name));
1245
1278
  a && (r = r.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>'));
@@ -1248,12 +1281,12 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1248
1281
  const o = _e.value.map((L) => L.absoluteValues[i] ?? 0).reduce((L, M) => L + M, 0);
1249
1282
  e.push(
1250
1283
  [
1251
- l.value.table.useDefaultTimeFormat ? de.value[i].text ?? "-" : ul.value(i + m.value.start, l.value.table.timeFormat)
1284
+ l.value.table.useDefaultTimeFormat ? de.value[i].text ?? "-" : cl.value(i + b.value.start, l.value.table.timeFormat)
1252
1285
  ].concat(_e.value.map(
1253
1286
  (L) => re(
1254
1287
  L.type === "line" ? l.value.line.labels.formatter : L.type === "bar" ? l.value.bar.labels.formatter : l.value.plot.labels.formatter,
1255
1288
  L.absoluteValues[i] ?? 0,
1256
- Ve({
1289
+ De({
1257
1290
  p: L.prefix || l.value.chart.labels.prefix,
1258
1291
  v: L.absoluteValues[i] ?? 0,
1259
1292
  s: L.suffix || l.value.chart.labels.suffix,
@@ -1278,68 +1311,68 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1278
1311
  }, t = [l.value.table.columnNames.period].concat(_e.value.map((i) => i.name)).concat(l.value.table.columnNames.total);
1279
1312
  return { head: r, body: e, config: s, colNames: t };
1280
1313
  });
1281
- function xa(a = null) {
1282
- const r = [[l.value.chart.title.text], [l.value.chart.title.subtitle.text], [""]], e = ["", ...gt.value.head.map((o) => o.label)], s = gt.value.body, t = r.concat([e]).concat(s), i = pr(t);
1283
- a ? a(i) : yr({ csvContent: i, title: l.value.chart.title.text || "vue-ui-xy" });
1314
+ function ya(a = null) {
1315
+ const r = [[l.value.chart.title.text], [l.value.chart.title.subtitle.text], [""]], e = ["", ...yt.value.head.map((o) => o.label)], s = yt.value.body, t = r.concat([e]).concat(s), i = Sr(t);
1316
+ a ? a(i) : Ar({ csvContent: i, title: l.value.chart.title.text || "vue-ui-xy" });
1284
1317
  }
1285
- function mt(a, r = null) {
1286
- Ma.value = a;
1318
+ function kt(a, r = null) {
1319
+ za.value = a;
1287
1320
  const e = _e.value.map((s) => ({
1288
1321
  name: s.name,
1289
1322
  value: [null, void 0, NaN].includes(s.absoluteValues[r]) ? null : s.absoluteValues[r],
1290
1323
  color: s.color,
1291
1324
  type: s.type
1292
1325
  }));
1293
- a ? (C.value = r, l.value.events.datapointEnter && l.value.events.datapointEnter({ datapoint: e, seriesIndex: r + m.value.start })) : (C.value = null, l.value.events.datapointLeave && l.value.events.datapointLeave({ datapoint: e, seriesIndex: r + m.value.start }));
1326
+ a ? (C.value = r, l.value.events.datapointEnter && l.value.events.datapointEnter({ datapoint: e, seriesIndex: r + b.value.start })) : (C.value = null, l.value.events.datapointLeave && l.value.events.datapointLeave({ datapoint: e, seriesIndex: r + b.value.start }));
1294
1327
  }
1295
- function bt() {
1328
+ function Ct() {
1296
1329
  f.value.showTable = !f.value.showTable;
1297
1330
  }
1298
- function xt() {
1331
+ function _t() {
1299
1332
  f.value.dataLabels.show = !f.value.dataLabels.show;
1300
1333
  }
1301
- function pt() {
1334
+ function wt() {
1302
1335
  f.value.showTooltip = !f.value.showTooltip;
1303
1336
  }
1304
- function yt(a) {
1305
- qe.value = a, Ta.value += 1;
1337
+ function St(a) {
1338
+ qe.value = a, Ia.value += 1;
1306
1339
  }
1307
- function kt() {
1340
+ function At() {
1308
1341
  if (!l.value.responsiveProportionalSizing) {
1309
1342
  y.value.dataLabels = l.value.chart.grid.labels.fontSize, y.value.yAxis = l.value.chart.grid.labels.axis.fontSize, y.value.xAxis = l.value.chart.grid.labels.xAxisLabels.fontSize, y.value.plotLabels = l.value.chart.labels.fontSize, Ae.value.plot = l.value.plot.radius, Ae.value.line = l.value.line.radius;
1310
1343
  return;
1311
1344
  }
1312
- y.value.dataLabels = dl({
1345
+ y.value.dataLabels = hl({
1313
1346
  relator: ve.value,
1314
1347
  adjuster: 400,
1315
1348
  source: l.value.chart.grid.labels.fontSize,
1316
1349
  threshold: 10,
1317
1350
  fallback: 10
1318
- }), y.value.yAxis = dl({
1351
+ }), y.value.yAxis = hl({
1319
1352
  relator: ee.value,
1320
1353
  adjuster: 1e3,
1321
1354
  source: l.value.chart.grid.labels.axis.fontSize,
1322
1355
  threshold: 10,
1323
1356
  fallback: 10
1324
- }), y.value.xAxis = dl({
1357
+ }), y.value.xAxis = hl({
1325
1358
  relator: ee.value,
1326
1359
  adjuster: 1e3,
1327
1360
  source: l.value.chart.grid.labels.xAxisLabels.fontSize,
1328
1361
  threshold: 10,
1329
1362
  fallback: 10
1330
- }), y.value.plotLabels = dl({
1363
+ }), y.value.plotLabels = hl({
1331
1364
  relator: ee.value,
1332
1365
  adjuster: 800,
1333
1366
  source: l.value.chart.labels.fontSize,
1334
1367
  threshold: 10,
1335
1368
  fallback: 10
1336
- }), Ae.value.plot = dl({
1369
+ }), Ae.value.plot = hl({
1337
1370
  relator: ee.value,
1338
1371
  adjuster: 800,
1339
1372
  source: l.value.plot.radius,
1340
1373
  threshold: 1,
1341
1374
  fallback: 1
1342
- }), Ae.value.line = dl({
1375
+ }), Ae.value.line = hl({
1343
1376
  relator: ee.value,
1344
1377
  adjuster: 800,
1345
1378
  source: l.value.line.radius,
@@ -1347,115 +1380,115 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1347
1380
  fallback: 1
1348
1381
  });
1349
1382
  }
1350
- function pa() {
1351
- Rt(g.dataset) ? (_a({
1383
+ function ka() {
1384
+ Gt(m.dataset) ? (Sa({
1352
1385
  componentName: "VueUiXy",
1353
1386
  type: "dataset",
1354
- debug: yl.value
1355
- }), Ol.value = !0) : g.dataset.forEach((r, e) => {
1356
- [null, void 0].includes(r.name) && (_a({
1387
+ debug: kl.value
1388
+ }), Bl.value = !0) : m.dataset.forEach((r, e) => {
1389
+ [null, void 0].includes(r.name) && (Sa({
1357
1390
  componentName: "VueUiXy",
1358
1391
  type: "datasetSerieAttribute",
1359
1392
  property: "name (string)",
1360
1393
  index: e,
1361
- debug: yl.value
1362
- }), Ol.value = !0);
1363
- }), yl.value && g.dataset.forEach((r) => {
1394
+ debug: kl.value
1395
+ }), Bl.value = !0);
1396
+ }), kl.value && m.dataset.forEach((r) => {
1364
1397
  r.series.forEach((e, s) => {
1365
- Jl(e) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
1398
+ Kl(e) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
1366
1399
  -----> The serie '${r.name}' contains the value '${e}' at index ${s}.
1367
1400
  '${e}' was converted to null to allow the chart to display.`);
1368
1401
  });
1369
- }), Rt(g.dataset) || (Ol.value = l.value.loading), Fa.value = l.value.chart.userOptions.showOnChartHover, ia.value = l.value.chart.userOptions.keepStateOnChartLeave, Il.value = !l.value.chart.userOptions.showOnChartHover, va();
1402
+ }), Gt(m.dataset) || (Bl.value = l.value.loading), Na.value = l.value.chart.userOptions.showOnChartHover, ua.value = l.value.chart.userOptions.keepStateOnChartLeave, Ol.value = !l.value.chart.userOptions.showOnChartHover, ha();
1370
1403
  const a = 12;
1371
1404
  if (l.value.responsive) {
1372
1405
  const e = Ie.value.parentNode;
1373
- Ee.value && (Ee.value.unobserve(ra.value), Ee.value.disconnect());
1406
+ Pe.value && (Pe.value.unobserve(ia.value), Pe.value.disconnect());
1374
1407
  const { height: s, width: t } = e.getBoundingClientRect();
1375
1408
  let i = null, o = 0;
1376
- l.value.chart.title.show && fl.value && (i = fl.value, o = i.getBoundingClientRect().height);
1409
+ l.value.chart.title.show && gl.value && (i = gl.value, o = i.getBoundingClientRect().height);
1377
1410
  let L = null, M = 0;
1378
- l.value.chart.zoom.show && Oe.value > 6 && ca.value && Fe.value && Fe.value.$el && (L = Fe.value.$el, M = L.getBoundingClientRect().height);
1411
+ l.value.chart.zoom.show && Oe.value > 6 && da.value && Fe.value && Fe.value.$el && (L = Fe.value.$el, M = L.getBoundingClientRect().height);
1379
1412
  let F = null, w = 0;
1380
1413
  l.value.chart.legend.show && rl.value && (F = rl.value, w = F.getBoundingClientRect().height);
1381
1414
  let T = 0;
1382
- gl.value && (T = gl.value.getBoundingClientRect().height);
1415
+ ml.value && (T = ml.value.getBoundingClientRect().height);
1383
1416
  let W = 0;
1384
- ml.value && (W = ml.value.getBoundingClientRect().height), ve.value = s - o - w - M - T - W - a, ee.value = t, zl.value = `0 0 ${ee.value < 0 ? 10 : ee.value} ${ve.value < 0 ? 10 : ve.value}`, kt();
1385
- const k = new ResizeObserver((V) => {
1386
- for (const z of V)
1387
- l.value.chart.title.show && fl.value ? o = fl.value.getBoundingClientRect().height : o = 0, Fe.value && Fe.value.$el ? M = Fe.value.$el.getBoundingClientRect().height : M = 0, rl.value ? w = rl.value.getBoundingClientRect().height : w = 0, gl.value ? T = gl.value.getBoundingClientRect().height : T = 0, ml.value ? W = ml.value.getBoundingClientRect().height : W = 0, requestAnimationFrame(() => {
1388
- ve.value = z.contentRect.height - o - w - M - T - W - a, ee.value = z.contentBoxSize[0].inlineSize, zl.value = `0 0 ${ee.value < 0 ? 10 : ee.value} ${ve.value < 0 ? 10 : ve.value}`, kt();
1417
+ bl.value && (W = bl.value.getBoundingClientRect().height), ve.value = s - o - w - M - T - W - a, ee.value = t, Fl.value = `0 0 ${ee.value < 0 ? 10 : ee.value} ${ve.value < 0 ? 10 : ve.value}`, At();
1418
+ const k = new ResizeObserver((D) => {
1419
+ for (const z of D)
1420
+ l.value.chart.title.show && gl.value ? o = gl.value.getBoundingClientRect().height : o = 0, Fe.value && Fe.value.$el ? M = Fe.value.$el.getBoundingClientRect().height : M = 0, rl.value ? w = rl.value.getBoundingClientRect().height : w = 0, ml.value ? T = ml.value.getBoundingClientRect().height : T = 0, bl.value ? W = bl.value.getBoundingClientRect().height : W = 0, requestAnimationFrame(() => {
1421
+ ve.value = z.contentRect.height - o - w - M - T - W - a, ee.value = z.contentBoxSize[0].inlineSize, Fl.value = `0 0 ${ee.value < 0 ? 10 : ee.value} ${ve.value < 0 ? 10 : ve.value}`, At();
1389
1422
  });
1390
1423
  });
1391
- Ee.value = k, ra.value = e, k.observe(e);
1424
+ Pe.value = k, ia.value = e, k.observe(e);
1392
1425
  } else
1393
- ve.value = l.value.chart.height, ee.value = l.value.chart.width, y.value.dataLabels = l.value.chart.grid.labels.fontSize, y.value.yAxis = l.value.chart.grid.labels.axis.fontSize, y.value.xAxis = l.value.chart.grid.labels.xAxisLabels.fontSize, y.value.plotLabels = l.value.chart.labels.fontSize, Ae.value.plot = l.value.plot.radius, Ae.value.line = l.value.line.radius, zl.value = `0 0 ${ee.value} ${ve.value}`;
1426
+ ve.value = l.value.chart.height, ee.value = l.value.chart.width, y.value.dataLabels = l.value.chart.grid.labels.fontSize, y.value.yAxis = l.value.chart.grid.labels.axis.fontSize, y.value.xAxis = l.value.chart.grid.labels.xAxisLabels.fontSize, y.value.plotLabels = l.value.chart.labels.fontSize, Ae.value.plot = l.value.plot.radius, Ae.value.line = l.value.line.radius, Fl.value = `0 0 ${ee.value} ${ve.value}`;
1394
1427
  }
1395
- function Ct(a) {
1396
- ho.value = {
1428
+ function $t(a) {
1429
+ xo.value = {
1397
1430
  x: a.clientX,
1398
1431
  y: a.clientY
1399
1432
  };
1400
1433
  }
1401
- Zl(() => {
1402
- pa(), Pl(), document.addEventListener("mousemove", Ct, { passive: !0 }), document.addEventListener("scroll", Xa, { passive: !0 });
1403
- }), ka(() => {
1404
- document.removeEventListener("scroll", Xa, { passive: !0 }), document.removeEventListener("mousemove", Ct, { passive: !0 }), Ee.value && (Ee.value.unobserve(ra.value), Ee.value.disconnect(), Ee.value = null);
1405
- }), Tr({
1434
+ Ql(() => {
1435
+ ka(), Rl(), document.addEventListener("mousemove", $t, { passive: !0 }), document.addEventListener("scroll", Ja, { passive: !0 });
1436
+ }), _a(() => {
1437
+ document.removeEventListener("scroll", Ja, { passive: !0 }), document.removeEventListener("mousemove", $t, { passive: !0 }), Pe.value && (Pe.value.unobserve(ia.value), Pe.value.disconnect(), Pe.value = null);
1438
+ }), Br({
1406
1439
  timeLabelsEls: sl,
1407
1440
  timeLabels: de,
1408
- slicer: m,
1441
+ slicer: b,
1409
1442
  configRef: l,
1410
1443
  rotationPath: ["chart", "grid", "labels", "xAxisLabels", "rotation"],
1411
1444
  autoRotatePath: ["chart", "grid", "labels", "xAxisLabels", "autoRotate", "enable"],
1412
- isAutoSize: xo,
1445
+ isAutoSize: _o,
1413
1446
  height: ve,
1414
1447
  width: ee,
1415
1448
  rotation: l.value.chart.grid.labels.xAxisLabels.autoRotate.angle
1416
1449
  });
1417
- const ql = x(!1), _t = x(null), wt = x(200), Xo = b(
1418
- () => C.value ?? B.value ?? 0
1450
+ const Jl = x(!1), Lt = x(null), Mt = x(200), Qo = g(
1451
+ () => C.value ?? N.value ?? 0
1419
1452
  );
1420
- function Go() {
1421
- const a = Math.ceil(wt.value || 200);
1453
+ function Ko() {
1454
+ const a = Math.ceil(Mt.value || 200);
1422
1455
  return Math.min(Math.max(a, 1), 200);
1423
1456
  }
1424
- function Uo() {
1425
- const a = Go(), r = 200, e = Math.max(1, A.value), s = c.value.width / e, i = c.value?.left + Xo.value * s + s / 2 - a / 2 - (r - a) / 2, o = c.value?.left - (r - a) / 2, L = c.value?.right - (r + a) / 2, M = Math.max(o, Math.min(i, L));
1426
- return N(M);
1457
+ function jo() {
1458
+ const a = Ko(), r = 200, e = Math.max(1, A.value), s = c.value.width / e, i = c.value?.left + Qo.value * s + s / 2 - a / 2 - (r - a) / 2, o = c.value?.left - (r - a) / 2, L = c.value?.right - (r + a) / 2, M = Math.max(o, Math.min(i, L));
1459
+ return B(M);
1427
1460
  }
1428
- Zl(() => {
1461
+ Ql(() => {
1429
1462
  let a = null, r = null;
1430
1463
  const e = (i) => {
1431
1464
  cancelAnimationFrame(r), r = requestAnimationFrame(() => {
1432
- wt.value = Math.min(Math.max(Math.ceil(i || 0), 1), 200);
1465
+ Mt.value = Math.min(Math.max(Math.ceil(i || 0), 1), 200);
1433
1466
  });
1434
1467
  }, s = new ResizeObserver((i) => {
1435
1468
  let o = i.find((L) => L.target === a) || i[0];
1436
1469
  o && e(o.contentRect.width || 200);
1437
- }), t = Lt((i) => {
1438
- const o = _t.value;
1439
- a && a !== o && (s.unobserve(a), a = null), o && o !== a && (Mt(() => {
1470
+ }), t = Ft((i) => {
1471
+ const o = Lt.value;
1472
+ a && a !== o && (s.unobserve(a), a = null), o && o !== a && (Ot(() => {
1440
1473
  o.offsetParent !== null && e(o.offsetWidth || o.getBoundingClientRect().width || 200);
1441
1474
  }), s.observe(o), a = o), i(() => {
1442
1475
  a && (s.unobserve(a), a = null);
1443
1476
  });
1444
1477
  });
1445
- ka(() => {
1478
+ _a(() => {
1446
1479
  try {
1447
1480
  a && s.unobserve(a), s.disconnect(), t();
1448
1481
  } catch {
1449
1482
  }
1450
1483
  });
1451
1484
  });
1452
- const qo = b(() => {
1453
- if ([null, void 0].includes(C.value) && [null, void 0].includes(B.value)) return "";
1454
- const a = (C.value != null ? C.value : 0) || (B.value != null ? B.value : 0), r = l.value.chart.timeTag.customFormat;
1455
- if (ql.value = !1, Pt(r))
1485
+ const er = g(() => {
1486
+ if ([null, void 0].includes(C.value) && [null, void 0].includes(N.value)) return "";
1487
+ const a = (C.value != null ? C.value : 0) || (N.value != null ? N.value : 0), r = l.value.chart.timeTag.customFormat;
1488
+ if (Jl.value = !1, Wt(r))
1456
1489
  try {
1457
1490
  const e = r({
1458
- absoluteIndex: a + m.value.start,
1491
+ absoluteIndex: a + b.value.start,
1459
1492
  seriesIndex: a,
1460
1493
  datapoint: je.value,
1461
1494
  bars: Me.value,
@@ -1464,44 +1497,44 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1464
1497
  config: l.value
1465
1498
  });
1466
1499
  if (typeof e == "string")
1467
- return ql.value = !0, e;
1500
+ return Jl.value = !0, e;
1468
1501
  } catch {
1469
- console.warn("Custom format cannot be applied on timeTag."), ql.value = !1;
1502
+ console.warn("Custom format cannot be applied on timeTag."), Jl.value = !1;
1470
1503
  }
1471
- if (!ql.value)
1472
- return [null, void 0].includes(de.value[a]) ? "" : l.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !l.value.chart.timeTag.useDefaultFormat ? ul.value(a + m.value.start, l.value.chart.timeTag.timeFormat) : de.value[a].text;
1504
+ if (!Jl.value)
1505
+ return [null, void 0].includes(de.value[a]) ? "" : l.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !l.value.chart.timeTag.useDefaultFormat ? cl.value(a + b.value.start, l.value.chart.timeTag.timeFormat) : de.value[a].text;
1473
1506
  });
1474
- Ll(() => g.dataset, (a) => {
1475
- Array.isArray(a) && a.length > 0 && (Ol.value = !1), Oe.value = Math.max(...ge.value.map((r) => Re(r.series).length)), m.value = {
1507
+ Tl(() => m.dataset, (a) => {
1508
+ Array.isArray(a) && a.length > 0 && (Bl.value = !1), Oe.value = Math.max(...ge.value.map((r) => Ee(r.series).length)), b.value = {
1476
1509
  start: 0,
1477
1510
  end: Oe.value
1478
- }, vo.value += 1, sa.value += 1, nl();
1479
- }, { deep: !0 }), Ll(() => g.config, (a) => {
1480
- ie.value || (l.value = ua()), pa(), Ia.value += 1, za.value += 1, va(), nl();
1511
+ }, bo.value += 1, na.value += 1, nl();
1512
+ }, { deep: !0 }), Tl(() => m.config, (a) => {
1513
+ ie.value || (l.value = va()), ka(), Oa.value += 1, Fa.value += 1, ha(), nl();
1481
1514
  }, { deep: !0 });
1482
- const ya = x(!1);
1483
- function St() {
1515
+ const Ca = x(!1);
1516
+ function Tt() {
1484
1517
  const a = Ie.value?.parentNode;
1485
1518
  if (!a) {
1486
- ya.value = !1;
1519
+ Ca.value = !1;
1487
1520
  return;
1488
1521
  }
1489
1522
  const r = a.getBoundingClientRect();
1490
- ya.value = r.width > 2 && r.height > 2;
1523
+ Ca.value = r.width > 2 && r.height > 2;
1491
1524
  }
1492
- Zl(() => {
1493
- St();
1525
+ Ql(() => {
1526
+ Tt();
1494
1527
  const a = new ResizeObserver(() => {
1495
- St(), ya.value && (pa(), nl(), Pl());
1528
+ Tt(), Ca.value && (ka(), nl(), Rl());
1496
1529
  });
1497
1530
  Ie.value?.parentNode && a.observe(Ie.value.parentNode);
1498
- }), Ll(l, () => {
1499
- va();
1531
+ }), Tl(l, () => {
1532
+ ha();
1500
1533
  }, { immediate: !0 });
1501
- const Sl = b(() => {
1534
+ const $l = g(() => {
1502
1535
  const a = l.value.table.useDialog && !l.value.showTable, r = f.value.showTable;
1503
1536
  return {
1504
- component: a ? so : Or,
1537
+ component: a ? vo : Er,
1505
1538
  title: `${l.value.chart.title.text}${l.value.chart.title.subtitle.text ? `: ${l.value.chart.title.subtitle.text}` : ""}`,
1506
1539
  props: a ? {
1507
1540
  backgroundColor: l.value.table.th.backgroundColor,
@@ -1528,62 +1561,62 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1528
1561
  }
1529
1562
  };
1530
1563
  });
1531
- Ll(() => f.value.showTable, (a) => {
1564
+ Tl(() => f.value.showTable, (a) => {
1532
1565
  l.value.showTable || (a && l.value.table.useDialog && il.value ? il.value.open() : il.value && il.value.close && il.value.close());
1533
1566
  });
1534
- function At() {
1535
- f.value.showTable = !1, oa.value && oa.value.setTableIconState(!1);
1567
+ function zt() {
1568
+ f.value.showTable = !1, sa.value && sa.value.setTableIconState(!1);
1536
1569
  }
1537
- const Zo = b(() => me.value.map((a) => ({
1570
+ const lr = g(() => me.value.map((a) => ({
1538
1571
  shape: a.type === "bar" ? "square" : a.shape ?? "circle",
1539
1572
  color: a.color,
1540
1573
  name: a.name
1541
- }))), Jo = b(() => l.value.chart.backgroundColor), Qo = b(() => l.value.chart.legend), Ko = b(() => l.value.chart.title), { exportSvg: jo, getSvg: er } = Lr({
1574
+ }))), ar = g(() => l.value.chart.backgroundColor), tr = g(() => l.value.chart.legend), or = g(() => l.value.chart.title), { exportSvg: rr, getSvg: sr } = Or({
1542
1575
  svg: se,
1543
- title: Ko,
1544
- legend: Qo,
1545
- legendItems: Zo,
1546
- backgroundColor: Jo
1576
+ title: or,
1577
+ legend: tr,
1578
+ legendItems: lr,
1579
+ backgroundColor: ar
1547
1580
  });
1548
- async function $t({ isCb: a }) {
1581
+ async function It({ isCb: a }) {
1549
1582
  if (a) {
1550
- const { blob: r, url: e, text: s, dataUrl: t } = await er();
1583
+ const { blob: r, url: e, text: s, dataUrl: t } = await sr();
1551
1584
  l.value.chart.userOptions.callbacks.svg({ blob: r, url: e, text: s, dataUrl: t });
1552
1585
  } else
1553
- jo();
1586
+ rr();
1554
1587
  }
1555
- return Kt({
1556
- getData: Io,
1557
- getImage: Fo,
1558
- generatePdf: Ra,
1559
- generateImage: Ha,
1560
- generateSvg: $t,
1561
- generateCsv: xa,
1562
- hideSeries: Bo,
1563
- showSeries: Oo,
1564
- toggleStack: Za,
1565
- toggleTable: bt,
1566
- toggleLabels: xt,
1567
- toggleTooltip: pt,
1568
- toggleAnnotator: fa,
1569
- toggleFullscreen: yt
1588
+ return to({
1589
+ getData: Vo,
1590
+ getImage: Po,
1591
+ generatePdf: Ya,
1592
+ generateImage: Wa,
1593
+ generateSvg: It,
1594
+ generateCsv: ya,
1595
+ hideSeries: Ro,
1596
+ showSeries: Eo,
1597
+ toggleStack: et,
1598
+ toggleTable: Ct,
1599
+ toggleLabels: _t,
1600
+ toggleTooltip: wt,
1601
+ toggleAnnotator: ma,
1602
+ toggleFullscreen: St
1570
1603
  }), (a, r) => (n(), u("div", {
1571
1604
  id: `vue-ui-xy_${H.value}`,
1572
1605
  class: ll(`vue-data-ui-component vue-ui-xy ${qe.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${l.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1573
1606
  ref_key: "chart",
1574
1607
  ref: Ie,
1575
1608
  style: S(`background:${l.value.chart.backgroundColor}; color:${l.value.chart.color};width:100%;font-family:${l.value.chart.fontFamily};${l.value.responsive ? "height: 100%" : ""}`),
1576
- onMouseenter: r[6] || (r[6] = () => Ua(!0)),
1577
- onMouseleave: r[7] || (r[7] = () => Ua(!1)),
1578
- onClick: ot
1609
+ onMouseenter: r[6] || (r[6] = () => Ka(!0)),
1610
+ onMouseleave: r[7] || (r[7] = () => Ka(!1)),
1611
+ onClick: ut
1579
1612
  }, [
1580
- l.value.chart.userOptions.buttons.annotator && se.value ? (n(), Te(v(ro), {
1613
+ l.value.chart.userOptions.buttons.annotator && se.value ? (n(), Te(v(co), {
1581
1614
  key: 0,
1582
1615
  svgRef: se.value,
1583
1616
  backgroundColor: l.value.chart.backgroundColor,
1584
1617
  color: l.value.chart.color,
1585
- active: xl.value,
1586
- onClose: fa
1618
+ active: pl.value,
1619
+ onClose: ma
1587
1620
  }, {
1588
1621
  "annotator-action-close": G(() => [
1589
1622
  P(a.$slots, "annotator-action-close", {}, void 0, !0)
@@ -1605,22 +1638,22 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1605
1638
  ]),
1606
1639
  _: 3
1607
1640
  }, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
1608
- Vo.value ? (n(), u("div", {
1641
+ Yo.value ? (n(), u("div", {
1609
1642
  key: 1,
1610
1643
  ref_key: "noTitle",
1611
- ref: ml,
1644
+ ref: bl,
1612
1645
  class: "vue-data-ui-no-title-space",
1613
1646
  style: "height:36px; width: 100%; background:transparent"
1614
1647
  }, null, 512)) : h("", !0),
1615
1648
  l.value.chart.title.show ? (n(), u("div", {
1616
1649
  key: 2,
1617
1650
  ref_key: "chartTitle",
1618
- ref: fl,
1651
+ ref: gl,
1619
1652
  class: "vue-ui-xy-title",
1620
1653
  style: S(`font-family:${l.value.chart.fontFamily}`)
1621
1654
  }, [
1622
- (n(), Te(Ir, {
1623
- key: `title_${Ia.value}`,
1655
+ (n(), Te(Vr, {
1656
+ key: `title_${Oa.value}`,
1624
1657
  config: {
1625
1658
  title: {
1626
1659
  cy: "xy-div-title",
@@ -1635,15 +1668,15 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1635
1668
  ], 4)) : h("", !0),
1636
1669
  p("div", {
1637
1670
  id: `legend-top-${H.value}`
1638
- }, null, 8, Vr),
1639
- l.value.chart.userOptions.show && (ia.value || Il.value) ? (n(), Te(v(ao), {
1671
+ }, null, 8, Yr),
1672
+ l.value.chart.userOptions.show && (ua.value || Ol.value) ? (n(), Te(v(io), {
1640
1673
  ref_key: "userOptionsRef",
1641
- ref: oa,
1642
- key: `user_options_${Ta.value}`,
1674
+ ref: sa,
1675
+ key: `user_options_${Ia.value}`,
1643
1676
  backgroundColor: l.value.chart.backgroundColor,
1644
1677
  color: l.value.chart.color,
1645
- isPrinting: v(da),
1646
- isImaging: v(Ea),
1678
+ isPrinting: v(fa),
1679
+ isImaging: v(Ha),
1647
1680
  uid: H.value,
1648
1681
  hasTooltip: l.value.chart.userOptions.buttons.tooltip && l.value.chart.tooltip.show,
1649
1682
  hasPdf: l.value.chart.userOptions.buttons.pdf,
@@ -1652,7 +1685,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1652
1685
  hasSvg: l.value.chart.userOptions.buttons.svg,
1653
1686
  hasLabel: l.value.chart.userOptions.buttons.labels,
1654
1687
  hasTable: l.value.chart.userOptions.buttons.table,
1655
- hasStack: jl.dataset.length > 1 && l.value.chart.userOptions.buttons.stack,
1688
+ hasStack: la.dataset.length > 1 && l.value.chart.userOptions.buttons.stack,
1656
1689
  hasFullscreen: l.value.chart.userOptions.buttons.fullscreen,
1657
1690
  isStacked: f.value.isStacked,
1658
1691
  isFullscreen: qe.value,
@@ -1661,24 +1694,24 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1661
1694
  isTooltip: f.value.showTooltip,
1662
1695
  titles: { ...l.value.chart.userOptions.buttonTitles },
1663
1696
  hasAnnotator: l.value.chart.userOptions.buttons.annotator,
1664
- isAnnotation: xl.value,
1697
+ isAnnotation: pl.value,
1665
1698
  callbacks: l.value.chart.userOptions.callbacks,
1666
1699
  tableDialog: l.value.table.useDialog,
1667
1700
  printScale: l.value.chart.userOptions.print.scale,
1668
- onToggleFullscreen: yt,
1669
- onGeneratePdf: v(Ra),
1670
- onGenerateCsv: xa,
1671
- onGenerateImage: v(Ha),
1672
- onGenerateSvg: $t,
1673
- onToggleTable: bt,
1674
- onToggleLabels: xt,
1675
- onToggleStack: Za,
1676
- onToggleTooltip: pt,
1677
- onToggleAnnotator: fa,
1701
+ onToggleFullscreen: St,
1702
+ onGeneratePdf: v(Ya),
1703
+ onGenerateCsv: ya,
1704
+ onGenerateImage: v(Wa),
1705
+ onGenerateSvg: It,
1706
+ onToggleTable: Ct,
1707
+ onToggleLabels: _t,
1708
+ onToggleStack: et,
1709
+ onToggleTooltip: wt,
1710
+ onToggleAnnotator: ma,
1678
1711
  style: S({
1679
- visibility: ia.value ? Il.value ? "visible" : "hidden" : "visible"
1712
+ visibility: ua.value ? Ol.value ? "visible" : "hidden" : "visible"
1680
1713
  })
1681
- }, Tt({ _: 2 }, [
1714
+ }, Nt({ _: 2 }, [
1682
1715
  a.$slots.menuIcon ? {
1683
1716
  name: "menuIcon",
1684
1717
  fn: G(({ isOpen: e, color: s }) => [
@@ -1763,26 +1796,26 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1763
1796
  xmlns: "http://www.w3.org/2000/svg",
1764
1797
  class: ll([{ "vue-data-ui-fullscreen--on": qe.value, "vue-data-ui-fulscreen--off": !qe.value }, "vue-ui-xy-svg vue-data-ui-svg"]),
1765
1798
  width: "100%",
1766
- viewBox: zl.value,
1799
+ viewBox: Fl.value,
1767
1800
  style: S({
1768
1801
  background: "transparent",
1769
1802
  color: l.value.chart.color,
1770
1803
  fontFamily: l.value.chart.fontFamily
1771
1804
  }),
1772
- "aria-label": No.value,
1805
+ "aria-label": Ho.value,
1773
1806
  role: "img",
1774
1807
  "aria-live": "polite",
1775
1808
  preserveAspectRatio: "xMidYMid",
1776
- onMousemove: zo,
1777
- onMouseleave: Hl,
1778
- onClick: ot
1809
+ onMousemove: Do,
1810
+ onMouseleave: Wl,
1811
+ onClick: ut
1779
1812
  }, [
1780
1813
  p("g", {
1781
1814
  ref_key: "G",
1782
- ref: co,
1815
+ ref: mo,
1783
1816
  class: "vue-data-ui-g"
1784
1817
  }, [
1785
- vl(v(oo)),
1818
+ dl(v(uo)),
1786
1819
  a.$slots["chart-background"] ? (n(), u("foreignObject", {
1787
1820
  key: 0,
1788
1821
  x: c.value?.left + U.value < 0 ? 0 : c.value?.left + U.value,
@@ -1794,9 +1827,9 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1794
1827
  }
1795
1828
  }, [
1796
1829
  P(a.$slots, "chart-background", {}, void 0, !0)
1797
- ], 8, Pr)) : h("", !0),
1798
- A.value > 0 ? (n(), u("g", Er, [
1799
- p("g", Rr, [
1830
+ ], 8, Xr)) : h("", !0),
1831
+ A.value > 0 ? (n(), u("g", Gr, [
1832
+ p("g", Ur, [
1800
1833
  l.value.chart.grid.labels.xAxis.showBaseline ? (n(), u("line", {
1801
1834
  key: 0,
1802
1835
  stroke: l.value.chart.grid.stroke,
@@ -1807,8 +1840,8 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1807
1840
  y2: v(Y)(c.value?.bottom),
1808
1841
  "stroke-linecap": "round",
1809
1842
  style: { animation: "none !important" }
1810
- }, null, 8, Hr)) : h("", !0),
1811
- f.value.useIndividualScale ? l.value.chart.grid.showHorizontalLines ? (n(!0), u(d, { key: 2 }, _(wl.value, (e) => (n(), u("g", null, [
1843
+ }, null, 8, qr)) : h("", !0),
1844
+ f.value.useIndividualScale ? l.value.chart.grid.showHorizontalLines ? (n(!0), u(d, { key: 2 }, _(Al.value, (e) => (n(), u("g", null, [
1812
1845
  e.id === I.value && e.yLabels.length ? (n(!0), u(d, { key: 0 }, _(e.yLabels, (s) => (n(), u("line", {
1813
1846
  x1: c.value?.left + U.value,
1814
1847
  x2: c.value?.right - U.value,
@@ -1818,7 +1851,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1818
1851
  "stroke-width": 0.5,
1819
1852
  "stroke-linecap": "round",
1820
1853
  style: { animation: "none !important" }
1821
- }, null, 8, Gr))), 256)) : e.yLabels.length ? (n(!0), u(d, { key: 1 }, _(e.yLabels, (s) => (n(), u("line", {
1854
+ }, null, 8, Kr))), 256)) : e.yLabels.length ? (n(!0), u(d, { key: 1 }, _(e.yLabels, (s) => (n(), u("line", {
1822
1855
  x1: c.value?.left + U.value,
1823
1856
  x2: c.value?.right - U.value,
1824
1857
  y1: v(Y)(s.y),
@@ -1827,7 +1860,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1827
1860
  "stroke-width": 0.5,
1828
1861
  "stroke-linecap": "round",
1829
1862
  style: { animation: "none !important" }
1830
- }, null, 8, Ur))), 256)) : h("", !0)
1863
+ }, null, 8, jr))), 256)) : h("", !0)
1831
1864
  ]))), 256)) : h("", !0) : (n(), u(d, { key: 1 }, [
1832
1865
  l.value.chart.grid.labels.yAxis.showBaseline ? (n(), u("line", {
1833
1866
  key: 0,
@@ -1839,9 +1872,9 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1839
1872
  y2: v(Y)(c.value?.bottom),
1840
1873
  "stroke-linecap": "round",
1841
1874
  style: { animation: "none !important" }
1842
- }, null, 8, Yr)) : h("", !0),
1843
- l.value.chart.grid.showHorizontalLines ? (n(), u("g", Wr, [
1844
- (n(!0), u(d, null, _(ut.value, (e) => (n(), u("line", {
1875
+ }, null, 8, Zr)) : h("", !0),
1876
+ l.value.chart.grid.showHorizontalLines ? (n(), u("g", Jr, [
1877
+ (n(!0), u(d, null, _(ft.value, (e) => (n(), u("line", {
1845
1878
  x1: c.value?.left + U.value,
1846
1879
  x2: c.value?.right,
1847
1880
  y1: v(Y)(e.y),
@@ -1850,26 +1883,26 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1850
1883
  "stroke-width": 0.5,
1851
1884
  "stroke-linecap": "round",
1852
1885
  style: { animation: "none !important" }
1853
- }, null, 8, Xr))), 256))
1886
+ }, null, 8, Qr))), 256))
1854
1887
  ])) : h("", !0)
1855
1888
  ], 64)),
1856
- l.value.chart.grid.showVerticalLines ? (n(), u("g", qr, [
1889
+ l.value.chart.grid.showVerticalLines ? (n(), u("g", es, [
1857
1890
  p("path", {
1858
- d: Co.value,
1891
+ d: Lo.value,
1859
1892
  "stroke-width": 0.5,
1860
1893
  stroke: l.value.chart.grid.stroke,
1861
1894
  "stroke-linecap": "round",
1862
1895
  style: { animation: "none !important" }
1863
- }, null, 8, Zr)
1896
+ }, null, 8, ls)
1864
1897
  ])) : h("", !0),
1865
- l.value.chart.grid.labels.xAxisLabels.show ? (n(), u("g", Jr, [
1898
+ l.value.chart.grid.labels.xAxisLabels.show ? (n(), u("g", as, [
1866
1899
  p("path", {
1867
- d: _o.value,
1900
+ d: Mo.value,
1868
1901
  stroke: l.value.chart.grid.stroke,
1869
1902
  "stroke-width": 1,
1870
1903
  "stroke-linecap": "round",
1871
1904
  style: { animation: "none !important" }
1872
- }, null, 8, Qr)
1905
+ }, null, 8, ts)
1873
1906
  ])) : h("", !0)
1874
1907
  ]),
1875
1908
  (n(!0), u(d, null, _(Me.value, (e, s) => (n(), u("defs", {
@@ -1887,16 +1920,16 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1887
1920
  p("stop", {
1888
1921
  offset: "0%",
1889
1922
  "stop-color": e.color
1890
- }, null, 8, jr),
1923
+ }, null, 8, rs),
1891
1924
  p("stop", {
1892
1925
  offset: "62%",
1893
1926
  "stop-color": `${v(ol)(e.color, 0.02)}`
1894
- }, null, 8, es),
1927
+ }, null, 8, ss),
1895
1928
  p("stop", {
1896
1929
  offset: "100%",
1897
1930
  "stop-color": `${v(ol)(e.color, 0.05)}`
1898
- }, null, 8, ls)
1899
- ], 8, Kr),
1931
+ }, null, 8, is)
1932
+ ], 8, os),
1900
1933
  p("linearGradient", {
1901
1934
  id: `rectGradient_neg_${s}_${H.value}`,
1902
1935
  x2: "0%",
@@ -1905,16 +1938,16 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1905
1938
  p("stop", {
1906
1939
  offset: "0%",
1907
1940
  "stop-color": `${v(ol)(e.color, 0.05)}`
1908
- }, null, 8, ts),
1941
+ }, null, 8, us),
1909
1942
  p("stop", {
1910
1943
  offset: "38%",
1911
1944
  "stop-color": `${v(ol)(e.color, 0.02)}`
1912
- }, null, 8, os),
1945
+ }, null, 8, cs),
1913
1946
  p("stop", {
1914
1947
  offset: "100%",
1915
1948
  "stop-color": e.color
1916
- }, null, 8, rs)
1917
- ], 8, as)
1949
+ }, null, 8, vs)
1950
+ ], 8, ns)
1918
1951
  ], 64))
1919
1952
  ]))), 128)),
1920
1953
  (n(!0), u(d, null, _(xe.value, (e, s) => (n(), u("defs", {
@@ -1931,12 +1964,12 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1931
1964
  p("stop", {
1932
1965
  offset: "0%",
1933
1966
  "stop-color": `${v(ol)(e.color, 0.05)}`
1934
- }, null, 8, is),
1967
+ }, null, 8, hs),
1935
1968
  p("stop", {
1936
1969
  offset: "100%",
1937
1970
  "stop-color": e.color
1938
- }, null, 8, ns)
1939
- ], 8, ss)
1971
+ }, null, 8, fs)
1972
+ ], 8, ds)
1940
1973
  ]))), 128)),
1941
1974
  (n(!0), u(d, null, _(te.value, (e, s) => (n(), u("defs", {
1942
1975
  key: `def_line_${e.id}`
@@ -1952,12 +1985,12 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1952
1985
  p("stop", {
1953
1986
  offset: "0%",
1954
1987
  "stop-color": `${v(ol)(e.color, 0.05)}`
1955
- }, null, 8, cs),
1988
+ }, null, 8, ms),
1956
1989
  p("stop", {
1957
1990
  offset: "100%",
1958
1991
  "stop-color": e.color
1959
- }, null, 8, vs)
1960
- ], 8, us),
1992
+ }, null, 8, bs)
1993
+ ], 8, gs),
1961
1994
  a.$slots["area-gradient"] ? P(a.$slots, "area-gradient", al({
1962
1995
  key: 0,
1963
1996
  ref_for: !0
@@ -1972,36 +2005,36 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
1972
2005
  p("stop", {
1973
2006
  offset: "0%",
1974
2007
  "stop-color": `${v(ze)(v(ol)(e.color, 0.03), l.value.line.area.opacity)}`
1975
- }, null, 8, hs),
2008
+ }, null, 8, ps),
1976
2009
  p("stop", {
1977
2010
  offset: "100%",
1978
2011
  "stop-color": `${v(ze)(e.color, l.value.line.area.opacity)}`
1979
- }, null, 8, fs)
1980
- ], 8, ds))
2012
+ }, null, 8, ys)
2013
+ ], 8, xs))
1981
2014
  ]))), 128)),
1982
- (n(!0), u(d, null, _(Do.value, (e) => (n(), u("g", null, [
2015
+ (n(!0), u(d, null, _(Wo.value, (e) => (n(), u("g", null, [
1983
2016
  e.show ? (n(), u(d, { key: 0 }, [
1984
2017
  (n(!0), u(d, null, _(e.span, (s, t) => (n(), u("g", null, [
1985
2018
  p("rect", {
1986
2019
  style: S({
1987
2020
  transition: "none",
1988
- opacity: e.from + t >= m.value.start && e.from + t <= m.value.end - 1 ? 1 : 0
2021
+ opacity: e.from + t >= b.value.start && e.from + t <= b.value.end - 1 ? 1 : 0
1989
2022
  }),
1990
- x: c.value?.left + c.value.width / A.value * (e.from + t - m.value.start),
2023
+ x: c.value?.left + c.value.width / A.value * (e.from + t - b.value.start),
1991
2024
  y: c.value?.top,
1992
2025
  height: c.value.height < 0 ? 10 : c.value.height,
1993
2026
  width: c.value.width / A.value < 0 ? 1e-5 : c.value.width / A.value,
1994
2027
  fill: v(ze)(e.color, e.opacity)
1995
- }, null, 12, gs)
2028
+ }, null, 12, ks)
1996
2029
  ]))), 256)),
1997
2030
  (n(!0), u(d, null, _(e.span, (s, t) => (n(), u("g", null, [
1998
2031
  e.caption.text && t === 0 ? (n(), u("foreignObject", {
1999
2032
  key: 0,
2000
- x: c.value?.left + c.value.width / A.value * (e.from + t - m.value.start) - (e.caption.width === "auto" ? 0 : e.caption.width / 2 - c.value.width / A.value * e.span / 2),
2033
+ x: c.value?.left + c.value.width / A.value * (e.from + t - b.value.start) - (e.caption.width === "auto" ? 0 : e.caption.width / 2 - c.value.width / A.value * e.span / 2),
2001
2034
  y: c.value?.top + e.caption.offsetY,
2002
2035
  style: S({
2003
2036
  overflow: "visible",
2004
- opacity: e.to >= m.value.start && e.from < m.value.end ? 1 : 0
2037
+ opacity: e.to >= b.value.start && e.from < b.value.end ? 1 : 0
2005
2038
  }),
2006
2039
  height: "1",
2007
2040
  width: e.caption.width === "auto" ? c.value.width / A.value * e.span : e.caption.width
@@ -2009,11 +2042,11 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2009
2042
  p("div", {
2010
2043
  style: S(`padding:${e.caption.padding}px;text-align:${e.caption.textAlign};font-size:${e.caption.fontSize}px;color:${e.caption.color};font-weight:${e.caption.bold ? "bold" : "normal"}`)
2011
2044
  }, ae(e.caption.text), 5)
2012
- ], 12, ms)) : h("", !0)
2045
+ ], 12, Cs)) : h("", !0)
2013
2046
  ]))), 256))
2014
2047
  ], 64)) : h("", !0)
2015
2048
  ]))), 256)),
2016
- Ga.value ? (n(), u("g", bs, [
2049
+ Qa.value ? (n(), u("g", _s, [
2017
2050
  (n(!0), u(d, null, _(A.value, (e, s) => (n(), u("g", {
2018
2051
  key: `tooltip_trap_highlighter_${s}`
2019
2052
  }, [
@@ -2022,9 +2055,9 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2022
2055
  y: c.value?.top,
2023
2056
  height: c.value.height < 0 ? 10 : c.value.height,
2024
2057
  width: c.value.width / A.value < 0 ? 1e-5 : c.value.width / A.value,
2025
- fill: [B.value, C.value, Ze.value].includes(s) ? v(ze)(l.value.chart.highlighter.color, l.value.chart.highlighter.opacity) : "transparent",
2058
+ fill: [N.value, C.value, Ze.value].includes(s) ? v(ze)(l.value.chart.highlighter.color, l.value.chart.highlighter.opacity) : "transparent",
2026
2059
  style: { transition: "none !important", animation: "none !important" }
2027
- }, null, 8, xs)
2060
+ }, null, 8, ws)
2028
2061
  ]))), 128))
2029
2062
  ])) : h("", !0),
2030
2063
  Me.value.length ? (n(!0), u(d, { key: 1 }, _(Me.value, (e, s) => (n(), u("g", {
@@ -2037,10 +2070,10 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2037
2070
  }, [
2038
2071
  be(t.value) ? (n(), u("rect", {
2039
2072
  key: 0,
2040
- x: Rl(t) + Gl.value / 2,
2041
- y: f.value.useIndividualScale ? at(t) : lt(t),
2042
- height: f.value.useIndividualScale ? Math.abs(et(t)) : Math.abs(ja(t)),
2043
- width: Xl.value - Gl.value,
2073
+ x: Yl(t) + ql.value / 2,
2074
+ y: f.value.useIndividualScale ? it(t) : st(t),
2075
+ height: f.value.useIndividualScale ? Math.abs(rt(t)) : Math.abs(ot(t)),
2076
+ width: Ul.value - ql.value,
2044
2077
  rx: l.value.bar.borderRadius,
2045
2078
  fill: l.value.bar.useGradient ? t.value >= 0 ? `url(#rectGradient_pos_${s}_${H.value})` : `url(#rectGradient_neg_${s}_${H.value})` : e.color,
2046
2079
  stroke: l.value.bar.border.useSerieColor ? e.color : l.value.bar.border.stroke,
@@ -2048,31 +2081,31 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2048
2081
  style: S({
2049
2082
  transition: v(ie) || !l.value.bar.showTransition ? void 0 : `all ${l.value.bar.transitionDurationMs}ms ease-in-out`
2050
2083
  })
2051
- }, null, 12, ps)) : h("", !0),
2084
+ }, null, 12, Ss)) : h("", !0),
2052
2085
  be(t.value) && a.$slots.pattern ? (n(), u("rect", {
2053
2086
  key: 1,
2054
- x: Rl(t) - Gl.value / 2,
2055
- y: f.value.useIndividualScale ? at(t) : lt(t),
2056
- height: f.value.useIndividualScale ? Math.abs(et(t)) : Math.abs(ja(t)),
2057
- width: Xl.value - Gl.value,
2087
+ x: Yl(t) - ql.value / 2,
2088
+ y: f.value.useIndividualScale ? it(t) : st(t),
2089
+ height: f.value.useIndividualScale ? Math.abs(rt(t)) : Math.abs(ot(t)),
2090
+ width: Ul.value - ql.value,
2058
2091
  rx: l.value.bar.borderRadius,
2059
2092
  fill: `url(#pattern_${H.value}_${e.slotAbsoluteIndex})`,
2060
2093
  stroke: l.value.bar.border.useSerieColor ? e.color : l.value.bar.border.stroke,
2061
2094
  "stroke-width": l.value.bar.border.strokeWidth,
2062
2095
  style: S({ transition: v(ie) || !l.value.bar.showTransition ? void 0 : `all ${l.value.bar.transitionDurationMs}ms ease-in-out` })
2063
- }, null, 12, ys)) : h("", !0),
2096
+ }, null, 12, As)) : h("", !0),
2064
2097
  t.comment && l.value.chart.comments.show ? (n(), u("foreignObject", {
2065
2098
  key: 2,
2066
2099
  style: { overflow: "visible" },
2067
2100
  height: "12",
2068
- width: Xl.value + l.value.chart.comments.width,
2069
- x: Rl(t) - l.value.chart.comments.width / 2 + l.value.chart.comments.offsetX,
2070
- y: v(N)(t.y) + l.value.chart.comments.offsetY + 6
2101
+ width: Ul.value + l.value.chart.comments.width,
2102
+ x: Yl(t) - l.value.chart.comments.width / 2 + l.value.chart.comments.offsetX,
2103
+ y: v(B)(t.y) + l.value.chart.comments.offsetY + 6
2071
2104
  }, [
2072
2105
  P(a.$slots, "plot-comment", {
2073
2106
  plot: { ...t, color: e.color, seriesIndex: s, datapointIndex: i }
2074
2107
  }, void 0, !0)
2075
- ], 8, ks)) : h("", !0)
2108
+ ], 8, $s)) : h("", !0)
2076
2109
  ]))), 128))
2077
2110
  ], 6))), 128)) : h("", !0),
2078
2111
  !f.value.useIndividualScale && l.value.chart.grid.labels.zeroLine.show ? (n(), u("line", {
@@ -2085,11 +2118,11 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2085
2118
  y2: v(Y)(ne.value),
2086
2119
  "stroke-linecap": "round",
2087
2120
  style: { animation: "none !important" }
2088
- }, null, 8, Cs)) : h("", !0),
2089
- l.value.chart.highlighter.useLine && (![null, void 0].includes(C.value) || ![null, void 0].includes(B.value)) ? (n(), u("g", _s, [
2121
+ }, null, 8, Ls)) : h("", !0),
2122
+ l.value.chart.highlighter.useLine && (![null, void 0].includes(C.value) || ![null, void 0].includes(N.value)) ? (n(), u("g", Ms, [
2090
2123
  p("line", {
2091
- x1: c.value?.left + c.value.width / A.value * ((C.value !== null ? C.value : 0) || (B.value !== null ? B.value : 0)) + c.value.width / A.value / 2,
2092
- x2: c.value?.left + c.value.width / A.value * ((C.value !== null ? C.value : 0) || (B.value !== null ? B.value : 0)) + c.value.width / A.value / 2,
2124
+ x1: c.value?.left + c.value.width / A.value * ((C.value !== null ? C.value : 0) || (N.value !== null ? N.value : 0)) + c.value.width / A.value / 2,
2125
+ x2: c.value?.left + c.value.width / A.value * ((C.value !== null ? C.value : 0) || (N.value !== null ? N.value : 0)) + c.value.width / A.value / 2,
2093
2126
  y1: v(Y)(c.value?.top),
2094
2127
  y2: v(Y)(c.value?.bottom),
2095
2128
  stroke: l.value.chart.highlighter.color,
@@ -2097,7 +2130,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2097
2130
  "stroke-dasharray": l.value.chart.highlighter.lineDasharray,
2098
2131
  "stroke-linecap": "round",
2099
2132
  style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
2100
- }, null, 8, ws)
2133
+ }, null, 8, Ts)
2101
2134
  ])) : h("", !0),
2102
2135
  l.value.chart.grid.frame.show ? (n(), u("rect", {
2103
2136
  key: 4,
@@ -2112,14 +2145,14 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2112
2145
  "stroke-linecap": l.value.chart.grid.frame.strokeLinecap,
2113
2146
  "stroke-linejoin": l.value.chart.grid.frame.strokeLinejoin,
2114
2147
  "stroke-dasharray": l.value.chart.grid.frame.strokeDasharray
2115
- }, null, 8, Ss)) : h("", !0),
2148
+ }, null, 8, zs)) : h("", !0),
2116
2149
  l.value.chart.grid.labels.show ? (n(), u("g", {
2117
2150
  key: 5,
2118
2151
  ref_key: "scaleLabels",
2119
- ref: ta
2152
+ ref: ra
2120
2153
  }, [
2121
2154
  f.value.useIndividualScale ? (n(), u(d, { key: 0 }, [
2122
- (n(!0), u(d, null, _(wl.value, (e) => (n(), u("g", null, [
2155
+ (n(!0), u(d, null, _(Al.value, (e) => (n(), u("g", null, [
2123
2156
  p("line", {
2124
2157
  x1: e.x + U.value - c.value.individualOffsetX,
2125
2158
  x2: e.x + U.value - c.value.individualOffsetX,
@@ -2129,9 +2162,9 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2129
2162
  "stroke-width": l.value.chart.grid.stroke,
2130
2163
  "stroke-linecap": "round",
2131
2164
  style: S(`opacity:${I.value ? I.value === e.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out; animation: none !important`)
2132
- }, null, 12, As)
2165
+ }, null, 12, Is)
2133
2166
  ]))), 256)),
2134
- (n(!0), u(d, null, _(wl.value, (e) => (n(), u("g", {
2167
+ (n(!0), u(d, null, _(Al.value, (e) => (n(), u("g", {
2135
2168
  style: S(`opacity:${I.value ? I.value === e.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
2136
2169
  }, [
2137
2170
  p("text", {
@@ -2140,7 +2173,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2140
2173
  "text-anchor": "middle",
2141
2174
  transform: `translate(${e.x - y.value.dataLabels * 0.8 / 2 + U.value}, ${f.value.isStacked ? c.value?.bottom - e.yOffset - e.individualHeight / 2 : c.value?.top + c.value.height / 2}) rotate(-90)`
2142
2175
  }, ae(e.name) + " " + ae(e.scaleLabel && e.unique && e.scaleLabel !== e.id ? `-
2143
- ${e.scaleLabel}` : ""), 9, $s),
2176
+ ${e.scaleLabel}` : ""), 9, Fs),
2144
2177
  (n(!0), u(d, null, _(e.yLabels, (s, t) => (n(), u(d, null, [
2145
2178
  l.value.chart.grid.labels.yAxis.showCrosshairs ? (n(), u("line", {
2146
2179
  key: 0,
@@ -2152,7 +2185,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2152
2185
  "stroke-width": 1,
2153
2186
  "stroke-linecap": "round",
2154
2187
  style: { animation: "none !important" }
2155
- }, null, 8, Ls)) : h("", !0)
2188
+ }, null, 8, Os)) : h("", !0)
2156
2189
  ], 64))), 256)),
2157
2190
  (n(!0), u(d, null, _(e.yLabels, (s, t) => (n(), u("text", {
2158
2191
  x: e.x - 5 + U.value - c.value.individualOffsetX,
@@ -2163,16 +2196,16 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2163
2196
  }, ae(v(re)(
2164
2197
  l.value.chart.grid.labels.yAxis.formatter,
2165
2198
  s.value,
2166
- v(Ve)({
2199
+ v(De)({
2167
2200
  p: s.prefix,
2168
2201
  v: s.value,
2169
2202
  s: s.suffix,
2170
2203
  r: l.value.chart.grid.labels.yAxis.rounding
2171
2204
  }),
2172
2205
  { datapoint: s.datapoint, seriesIndex: t }
2173
- )), 9, Ms))), 256))
2206
+ )), 9, Ns))), 256))
2174
2207
  ], 4))), 256))
2175
- ], 64)) : (n(!0), u(d, { key: 1 }, _(ut.value, (e, s) => (n(), u("g", {
2208
+ ], 64)) : (n(!0), u(d, { key: 1 }, _(ft.value, (e, s) => (n(), u("g", {
2176
2209
  key: `yLabel_${s}`
2177
2210
  }, [
2178
2211
  be(e) && e.value >= Le.value.min && e.value <= Le.value.max && l.value.chart.grid.labels.yAxis.showCrosshairs ? (n(), u("line", {
@@ -2185,24 +2218,24 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2185
2218
  "stroke-width": "1",
2186
2219
  "stroke-linecap": "round",
2187
2220
  style: { animation: "none !important" }
2188
- }, null, 8, Ts)) : h("", !0),
2221
+ }, null, 8, Bs)) : h("", !0),
2189
2222
  e.value >= Le.value.min && e.value <= Le.value.max ? (n(), u("text", {
2190
2223
  key: 1,
2191
2224
  x: c.value.scaleLabelX - l.value.chart.grid.labels.yAxis.crosshairSize,
2192
- y: v(N)(e.y + y.value.dataLabels / 3),
2225
+ y: v(B)(e.y + y.value.dataLabels / 3),
2193
2226
  "font-size": y.value.dataLabels,
2194
2227
  "text-anchor": "end",
2195
2228
  fill: l.value.chart.grid.labels.color
2196
2229
  }, ae(be(e.value) ? v(re)(
2197
2230
  l.value.chart.grid.labels.yAxis.formatter,
2198
2231
  e.value,
2199
- v(Ve)({
2232
+ v(De)({
2200
2233
  p: e.prefix,
2201
2234
  v: e.value,
2202
2235
  s: e.suffix,
2203
2236
  r: l.value.chart.grid.labels.yAxis.rounding
2204
2237
  })
2205
- ) : ""), 9, zs)) : h("", !0)
2238
+ ) : ""), 9, Ds)) : h("", !0)
2206
2239
  ]))), 128))
2207
2240
  ], 512)) : h("", !0),
2208
2241
  (n(!0), u(d, null, _(xe.value, (e, s) => (n(), u("g", {
@@ -2213,15 +2246,15 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2213
2246
  (n(!0), u(d, null, _(e.plots, (t, i) => (n(), u("g", {
2214
2247
  key: `circle_plot_${s}_${i}`
2215
2248
  }, [
2216
- t && be(t.value) ? (n(), Te(Kl, {
2249
+ t && be(t.value) ? (n(), Te(ea, {
2217
2250
  key: 0,
2218
2251
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(e.shape) ? e.shape : "circle",
2219
2252
  color: l.value.plot.useGradient ? `url(#plotGradient_${s}_${H.value})` : l.value.plot.dot.useSerieColor ? e.color : l.value.plot.dot.fill,
2220
- plot: { x: v(N)(t.x), y: v(N)(t.y) },
2221
- radius: C.value !== null && C.value === i || B.value !== null && B.value === i ? (Ae.value.plot || 6) * 1.5 : Ae.value.plot || 6,
2253
+ plot: { x: v(B)(t.x), y: v(B)(t.y) },
2254
+ radius: C.value !== null && C.value === i || N.value !== null && N.value === i ? (Ae.value.plot || 6) * 1.5 : Ae.value.plot || 6,
2222
2255
  stroke: l.value.plot.dot.useSerieColor ? l.value.chart.backgroundColor : e.color,
2223
2256
  strokeWidth: l.value.plot.dot.strokeWidth,
2224
- transition: v(ie) || !l.value.plot.showTransition || C.value !== null && C.value === i || B.value !== null && B.value === i ? void 0 : `all ${l.value.plot.transitionDurationMs}ms ease-in-out`
2257
+ transition: v(ie) || !l.value.plot.showTransition || C.value !== null && C.value === i || N.value !== null && N.value === i ? void 0 : `all ${l.value.plot.transitionDurationMs}ms ease-in-out`
2225
2258
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth", "transition"])) : h("", !0),
2226
2259
  t.comment && l.value.chart.comments.show ? (n(), u("foreignObject", {
2227
2260
  key: 1,
@@ -2231,12 +2264,12 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2231
2264
  x: t.x - l.value.chart.comments.width / 2 + l.value.chart.comments.offsetX,
2232
2265
  y: t.y + l.value.chart.comments.offsetY + 6
2233
2266
  }, [
2234
- p("div", Fs, [
2267
+ p("div", Ps, [
2235
2268
  P(a.$slots, "plot-comment", {
2236
2269
  plot: { ...t, color: e.color, seriesIndex: s, datapointIndex: i }
2237
2270
  }, void 0, !0)
2238
2271
  ])
2239
- ], 8, Is)) : h("", !0)
2272
+ ], 8, Vs)) : h("", !0)
2240
2273
  ]))), 128))
2241
2274
  ], 6))), 128)),
2242
2275
  (n(!0), u(d, null, _(te.value, (e, s) => (n(), u("g", {
@@ -2252,7 +2285,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2252
2285
  "stroke-dasharray": e.dashed ? l.value.line.strokeWidth * 2 : 0,
2253
2286
  fill: "none",
2254
2287
  style: S({ transition: v(ie) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2255
- }, null, 12, Os)) : e.plots.length > 1 && e.straight ? (n(), u("path", {
2288
+ }, null, 12, Es)) : e.plots.length > 1 && e.straight ? (n(), u("path", {
2256
2289
  key: 1,
2257
2290
  d: `M${e.straight}`,
2258
2291
  stroke: l.value.chart.backgroundColor,
@@ -2262,15 +2295,15 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2262
2295
  "stroke-linecap": "round",
2263
2296
  "stroke-linejoin": "round",
2264
2297
  style: S({ transition: v(ie) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2265
- }, null, 12, Bs)) : h("", !0)
2298
+ }, null, 12, Rs)) : h("", !0)
2266
2299
  ], 6))), 128)),
2267
- a.$slots.pattern ? (n(), u("defs", Ns, [
2268
- (n(!0), u(d, null, _(Pe.value, (e, s) => P(a.$slots, "pattern", al({
2300
+ a.$slots.pattern ? (n(), u("defs", Hs, [
2301
+ (n(!0), u(d, null, _(Re.value, (e, s) => P(a.$slots, "pattern", al({
2269
2302
  key: `serie_pattern_slot_${e.id}`
2270
2303
  }, { ref_for: !0 }, { ...e, seriesIndex: e.slotAbsoluteIndex, patternId: `pattern_${H.value}_${s}` }), void 0, !0)), 128))
2271
2304
  ])) : h("", !0),
2272
- dt.value.length && !f.value.isStacked ? (n(), u("g", Vs, [
2273
- (n(!0), u(d, null, _(dt.value, (e) => (n(), u("path", {
2305
+ bt.value.length && !f.value.isStacked ? (n(), u("g", Ys, [
2306
+ (n(!0), u(d, null, _(bt.value, (e) => (n(), u("path", {
2274
2307
  key: e.key,
2275
2308
  d: e.d,
2276
2309
  fill: e.color,
@@ -2278,40 +2311,40 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2278
2311
  stroke: "none",
2279
2312
  "pointer-events": "none",
2280
2313
  style: S({ transition: v(ie) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2281
- }, null, 12, Ds))), 128))
2314
+ }, null, 12, Ws))), 128))
2282
2315
  ])) : h("", !0),
2283
2316
  (n(!0), u(d, null, _(te.value, (e, s) => (n(), u("g", {
2284
2317
  key: `serie_line_above_${e.id}`,
2285
2318
  class: ll(`serie_line_${s}`),
2286
2319
  style: S(`opacity:${I.value ? I.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2287
2320
  }, [
2288
- e.useArea && e.plots.length > 1 ? (n(), u("g", Ps, [
2321
+ e.useArea && e.plots.length > 1 ? (n(), u("g", Xs, [
2289
2322
  e.smooth ? (n(!0), u(d, { key: 0 }, _(e.curveAreas, (t, i) => (n(), u(d, { key: i }, [
2290
2323
  t ? (n(), u("path", {
2291
2324
  key: 0,
2292
2325
  d: t,
2293
2326
  fill: l.value.line.area.useGradient ? `url(#areaGradient_${s}_${H.value})` : v(ze)(e.color, l.value.line.area.opacity),
2294
2327
  style: S({ transition: v(ie) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2295
- }, null, 12, Es)) : h("", !0),
2328
+ }, null, 12, Gs)) : h("", !0),
2296
2329
  a.$slots.pattern && t ? (n(), u("path", {
2297
2330
  key: 1,
2298
2331
  d: t,
2299
2332
  fill: `url(#pattern_${H.value}_${e.slotAbsoluteIndex})`,
2300
2333
  style: S({ transition: v(ie) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2301
- }, null, 12, Rs)) : h("", !0)
2334
+ }, null, 12, Us)) : h("", !0)
2302
2335
  ], 64))), 128)) : (n(!0), u(d, { key: 1 }, _(e.area.split(";"), (t, i) => (n(), u(d, { key: i }, [
2303
2336
  t ? (n(), u("path", {
2304
2337
  key: 0,
2305
2338
  d: `M${t}Z`,
2306
2339
  fill: l.value.line.area.useGradient ? `url(#areaGradient_${s}_${H.value})` : v(ze)(e.color, l.value.line.area.opacity),
2307
2340
  style: S({ transition: v(ie) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2308
- }, null, 12, Hs)) : h("", !0),
2341
+ }, null, 12, qs)) : h("", !0),
2309
2342
  a.$slots.pattern && t ? (n(), u("path", {
2310
2343
  key: 1,
2311
2344
  d: `M${t}Z`,
2312
2345
  fill: `url(#pattern_${H.value}_${e.slotAbsoluteIndex})`,
2313
2346
  style: S({ transition: v(ie) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2314
- }, null, 12, Ys)) : h("", !0)
2347
+ }, null, 12, Zs)) : h("", !0)
2315
2348
  ], 64))), 128))
2316
2349
  ])) : h("", !0),
2317
2350
  e.smooth && e.plots.length > 1 && e.curve ? (n(), u("path", {
@@ -2323,7 +2356,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2323
2356
  fill: "none",
2324
2357
  "stroke-linecap": "round",
2325
2358
  style: S({ transition: v(ie) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2326
- }, null, 12, Ws)) : e.plots.length > 1 && e.straight ? (n(), u("path", {
2359
+ }, null, 12, Js)) : e.plots.length > 1 && e.straight ? (n(), u("path", {
2327
2360
  key: 2,
2328
2361
  d: `M${e.straight}`,
2329
2362
  stroke: e.color,
@@ -2333,19 +2366,19 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2333
2366
  "stroke-linecap": "round",
2334
2367
  "stroke-linejoin": "round",
2335
2368
  style: S({ transition: v(ie) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
2336
- }, null, 12, Xs)) : h("", !0),
2369
+ }, null, 12, Qs)) : h("", !0),
2337
2370
  (n(!0), u(d, null, _(e.plots, (t, i) => (n(), u(d, {
2338
2371
  key: `circle_line_${s}_${i}`
2339
2372
  }, [
2340
- !it.value.linePlot && t && be(t.value) || it.value.linePlot && t && be(t.value) && (C.value !== null && C.value === i || B.value !== null && B.value === i) || vt(e.plots, i) ? (n(), Te(Kl, {
2373
+ !dt.value.linePlot && t && be(t.value) || dt.value.linePlot && t && be(t.value) && (C.value !== null && C.value === i || N.value !== null && N.value === i) || mt(e.plots, i) ? (n(), Te(ea, {
2341
2374
  key: 0,
2342
2375
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(e.shape) ? e.shape : "circle",
2343
2376
  color: l.value.line.useGradient ? `url(#lineGradient_${s}_${H.value})` : l.value.line.dot.useSerieColor ? e.color : l.value.line.dot.fill,
2344
- plot: { x: v(N)(t.x), y: v(N)(t.y) },
2345
- radius: C.value !== null && C.value === i || B.value !== null && B.value === i ? (Ae.value.line || 6) * 1.5 : (vt(e.plots, i), Ae.value.line || 6),
2377
+ plot: { x: v(B)(t.x), y: v(B)(t.y) },
2378
+ radius: C.value !== null && C.value === i || N.value !== null && N.value === i ? (Ae.value.line || 6) * 1.5 : (mt(e.plots, i), Ae.value.line || 6),
2346
2379
  stroke: l.value.line.dot.useSerieColor ? l.value.chart.backgroundColor : e.color,
2347
2380
  strokeWidth: l.value.line.dot.strokeWidth,
2348
- transition: v(ie) || !l.value.line.showTransition || C.value !== null && C.value === i || B.value !== null && B.value === i ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out`
2381
+ transition: v(ie) || !l.value.line.showTransition || C.value !== null && C.value === i || N.value !== null && N.value === i ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out`
2349
2382
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth", "transition"])) : h("", !0),
2350
2383
  t.comment && l.value.chart.comments.show ? (n(), u("foreignObject", {
2351
2384
  key: 1,
@@ -2355,25 +2388,25 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2355
2388
  x: t.x - l.value.chart.comments.width / 2 + l.value.chart.comments.offsetX,
2356
2389
  y: t.y + l.value.chart.comments.offsetY + 6
2357
2390
  }, [
2358
- p("div", Us, [
2391
+ p("div", js, [
2359
2392
  P(a.$slots, "plot-comment", {
2360
2393
  plot: { ...t, color: e.color, seriesIndex: s, datapointIndex: i }
2361
2394
  }, void 0, !0)
2362
2395
  ])
2363
- ], 8, Gs)) : h("", !0)
2396
+ ], 8, Ks)) : h("", !0)
2364
2397
  ], 64))), 128))
2365
2398
  ], 6))), 128)),
2366
- (l.value.bar.labels.show || l.value.bar.serieName.show) && f.value.dataLabels.show ? (n(), u("g", qs, [
2399
+ (l.value.bar.labels.show || l.value.bar.serieName.show) && f.value.dataLabels.show ? (n(), u("g", ei, [
2367
2400
  (n(!0), u(d, null, _(Me.value, (e, s) => (n(), u(d, {
2368
2401
  key: `xLabel_bar_${e.id}`
2369
2402
  }, [
2370
2403
  (n(!0), u(d, null, _(e.plots, (t, i) => (n(), u(d, {
2371
2404
  key: `xLabel_bar_${s}_${i}`
2372
2405
  }, [
2373
- t && (!Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || C.value !== null && C.value === i || B.value !== null && B.value === i) && l.value.bar.labels.show ? (n(), u("text", {
2406
+ t && (!Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || C.value !== null && C.value === i || N.value !== null && N.value === i) && l.value.bar.labels.show ? (n(), u("text", {
2374
2407
  key: 0,
2375
- x: f.value.useIndividualScale && f.value.isStacked ? t.x + Z.value.line / 2 : Rl(t) + He() / 2 - Wl.value / 2,
2376
- y: v(N)(t.y) + (t.value >= 0 ? l.value.bar.labels.offsetY : -l.value.bar.labels.offsetY * 3),
2408
+ x: f.value.useIndividualScale && f.value.isStacked ? t.x + Z.value.line / 2 : Yl(t) + He() / 2 - Gl.value / 2,
2409
+ y: v(B)(t.y) + (t.value >= 0 ? l.value.bar.labels.offsetY : -l.value.bar.labels.offsetY * 3),
2377
2410
  "text-anchor": "middle",
2378
2411
  "font-size": y.value.plotLabels,
2379
2412
  fill: l.value.bar.labels.color,
@@ -2381,7 +2414,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2381
2414
  }, ae(be(t.value) ? v(re)(
2382
2415
  l.value.bar.labels.formatter,
2383
2416
  t.value,
2384
- v(Ve)({
2417
+ v(De)({
2385
2418
  p: e.prefix || l.value.chart.labels.prefix,
2386
2419
  v: t.value,
2387
2420
  s: e.suffix || l.value.chart.labels.suffix,
@@ -2391,7 +2424,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2391
2424
  datapoint: t,
2392
2425
  serie: e
2393
2426
  }
2394
- ) : ""), 13, Zs)) : h("", !0),
2427
+ ) : ""), 13, li)) : h("", !0),
2395
2428
  t && l.value.bar.serieName.show ? (n(), u("text", {
2396
2429
  key: 1,
2397
2430
  x: f.value.useIndividualScale && f.value.isStacked ? t.x + Z.value.line / 2 : t.x + He() * 1.1,
@@ -2401,21 +2434,21 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2401
2434
  fill: l.value.bar.serieName.useSerieColor ? e.color : l.value.bar.serieName.color,
2402
2435
  "font-weight": l.value.bar.serieName.bold ? "bold" : "normal",
2403
2436
  style: S(`opacity:${I.value ? I.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2404
- }, ae(l.value.bar.serieName.useAbbreviation ? v(mr)({
2437
+ }, ae(l.value.bar.serieName.useAbbreviation ? v(Cr)({
2405
2438
  source: e.name,
2406
2439
  length: l.value.bar.serieName.abbreviationSize
2407
- }) : e.name), 13, Js)) : h("", !0)
2440
+ }) : e.name), 13, ai)) : h("", !0)
2408
2441
  ], 64))), 128))
2409
2442
  ], 64))), 128))
2410
2443
  ])) : h("", !0),
2411
- l.value.plot.labels.show && f.value.dataLabels.show ? (n(), u("g", Qs, [
2444
+ l.value.plot.labels.show && f.value.dataLabels.show ? (n(), u("g", ti, [
2412
2445
  (n(!0), u(d, null, _(xe.value, (e, s) => (n(), u(d, {
2413
2446
  key: `xLabel_plot_${e.id}`
2414
2447
  }, [
2415
2448
  (n(!0), u(d, null, _(e.plots, (t, i) => (n(), u(d, {
2416
2449
  key: `xLabel_plot_${s}_${i}`
2417
2450
  }, [
2418
- t && !Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || C.value !== null && C.value === i || B.value !== null && B.value === i ? (n(), u("text", {
2451
+ t && !Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || C.value !== null && C.value === i || N.value !== null && N.value === i ? (n(), u("text", {
2419
2452
  key: 0,
2420
2453
  x: t.x,
2421
2454
  y: t.y + l.value.plot.labels.offsetY,
@@ -2426,7 +2459,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2426
2459
  }, ae(be(t.value) ? v(re)(
2427
2460
  l.value.plot.labels.formatter,
2428
2461
  t.value,
2429
- v(Ve)({
2462
+ v(De)({
2430
2463
  p: e.prefix || l.value.chart.labels.prefix,
2431
2464
  v: t.value,
2432
2465
  s: e.suffix || l.value.chart.labels.suffix,
@@ -2436,10 +2469,10 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2436
2469
  datapoint: t,
2437
2470
  serie: e
2438
2471
  }
2439
- ) : ""), 13, Ks)) : h("", !0)
2472
+ ) : ""), 13, oi)) : h("", !0)
2440
2473
  ], 64))), 128))
2441
2474
  ], 64))), 128))
2442
- ])) : (n(), u("g", js, [
2475
+ ])) : (n(), u("g", ri, [
2443
2476
  (n(!0), u(d, null, _(xe.value, (e, s) => (n(), u(d, {
2444
2477
  key: `xLabel_plot_${e.id}`
2445
2478
  }, [
@@ -2447,7 +2480,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2447
2480
  key: `xLabel_plot_${s}_${i}`
2448
2481
  }, [
2449
2482
  l.value.plot.tag.followValue ? (n(), u(d, { key: 1 }, [
2450
- [B.value, C.value, Ze.value].includes(i) && e.useTag ? (n(), u("line", {
2483
+ [N.value, C.value, Ze.value].includes(i) && e.useTag ? (n(), u("line", {
2451
2484
  key: 0,
2452
2485
  class: "vue-ui-xy-tag-plot",
2453
2486
  x1: c.value?.left,
@@ -2458,7 +2491,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2458
2491
  "stroke-linecap": "round",
2459
2492
  "stroke-dasharray": "2",
2460
2493
  stroke: e.color
2461
- }, null, 8, oi)) : h("", !0)
2494
+ }, null, 8, ci)) : h("", !0)
2462
2495
  ], 64)) : (n(), u(d, { key: 0 }, [
2463
2496
  t && i === 0 && e.useTag && e.useTag === "start" ? (n(), u("foreignObject", {
2464
2497
  key: 0,
@@ -2480,8 +2513,8 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2480
2513
  serieName: e.name
2481
2514
  }
2482
2515
  )
2483
- }, null, 12, li)
2484
- ], 12, ei)) : h("", !0),
2516
+ }, null, 12, ii)
2517
+ ], 12, si)) : h("", !0),
2485
2518
  t && i === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (n(), u("foreignObject", {
2486
2519
  key: 1,
2487
2520
  x: t.x - e.name.length * (y.value.plotLabels / 2),
@@ -2502,20 +2535,20 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2502
2535
  serieName: e.name
2503
2536
  }
2504
2537
  )
2505
- }, null, 12, ti)
2506
- ], 12, ai)) : h("", !0)
2538
+ }, null, 12, ui)
2539
+ ], 12, ni)) : h("", !0)
2507
2540
  ], 64))
2508
2541
  ], 64))), 128))
2509
2542
  ], 64))), 128))
2510
2543
  ])),
2511
- l.value.line.labels.show && f.value.dataLabels.show ? (n(), u("g", ri, [
2544
+ l.value.line.labels.show && f.value.dataLabels.show ? (n(), u("g", vi, [
2512
2545
  (n(!0), u(d, null, _(te.value, (e, s) => (n(), u(d, {
2513
2546
  key: `xLabel_line_${e.id}`
2514
2547
  }, [
2515
2548
  (n(!0), u(d, null, _(e.plots, (t, i) => (n(), u(d, {
2516
2549
  key: `xLabel_line_${s}_${i}`
2517
2550
  }, [
2518
- t && !Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || C.value !== null && C.value === i || B.value !== null && B.value === i ? (n(), u("text", {
2551
+ t && !Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || C.value !== null && C.value === i || N.value !== null && N.value === i ? (n(), u("text", {
2519
2552
  key: 0,
2520
2553
  x: t.x,
2521
2554
  y: t.y + (t.value >= 0 ? l.value.line.labels.offsetY : -l.value.line.labels.offsetY * 3),
@@ -2526,7 +2559,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2526
2559
  }, ae(be(t.value) ? v(re)(
2527
2560
  l.value.line.labels.formatter,
2528
2561
  t.value,
2529
- v(Ve)({
2562
+ v(De)({
2530
2563
  p: e.prefix || l.value.chart.labels.prefix,
2531
2564
  v: t.value,
2532
2565
  s: e.suffix || l.value.chart.labels.suffix,
@@ -2536,10 +2569,10 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2536
2569
  datapoint: t,
2537
2570
  serie: e
2538
2571
  }
2539
- ) : ""), 13, si)) : h("", !0)
2572
+ ) : ""), 13, di)) : h("", !0)
2540
2573
  ], 64))), 128))
2541
2574
  ], 64))), 128))
2542
- ])) : (n(), u("g", ii, [
2575
+ ])) : (n(), u("g", hi, [
2543
2576
  (n(!0), u(d, null, _(te.value, (e, s) => (n(), u(d, {
2544
2577
  key: `xLabel_line_${e.id}`
2545
2578
  }, [
@@ -2547,7 +2580,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2547
2580
  key: `xLabel_line_${s}_${i}`
2548
2581
  }, [
2549
2582
  l.value.line.tag.followValue ? (n(), u(d, { key: 1 }, [
2550
- [B.value, C.value, Ze.value].includes(i) && e.useTag ? (n(), u("line", {
2583
+ [N.value, C.value, Ze.value].includes(i) && e.useTag ? (n(), u("line", {
2551
2584
  key: 0,
2552
2585
  class: "vue-ui-xy-tag-line",
2553
2586
  x1: c.value?.left,
@@ -2558,7 +2591,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2558
2591
  "stroke-linecap": "round",
2559
2592
  "stroke-dasharray": "2",
2560
2593
  stroke: e.color
2561
- }, null, 8, di)) : h("", !0)
2594
+ }, null, 8, xi)) : h("", !0)
2562
2595
  ], 64)) : (n(), u(d, { key: 0 }, [
2563
2596
  t && i === 0 && e.useTag && e.useTag === "start" ? (n(), u("foreignObject", {
2564
2597
  key: 0,
@@ -2580,8 +2613,8 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2580
2613
  serieName: e.name
2581
2614
  }
2582
2615
  )
2583
- }, null, 12, ui)
2584
- ], 12, ni)) : h("", !0),
2616
+ }, null, 12, gi)
2617
+ ], 12, fi)) : h("", !0),
2585
2618
  t && i === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (n(), u("foreignObject", {
2586
2619
  key: 1,
2587
2620
  x: t.x,
@@ -2602,8 +2635,8 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2602
2635
  serieName: e.name
2603
2636
  }
2604
2637
  )
2605
- }, null, 12, vi)
2606
- ], 12, ci)) : h("", !0)
2638
+ }, null, 12, bi)
2639
+ ], 12, mi)) : h("", !0)
2607
2640
  ], 64))
2608
2641
  ], 64))), 128))
2609
2642
  ], 64))), 128))
@@ -2621,7 +2654,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2621
2654
  "font-size": y.value.plotLabels,
2622
2655
  "text-anchor": "end",
2623
2656
  fill: e.color,
2624
- innerHTML: v(Ql)({
2657
+ innerHTML: v(jl)({
2625
2658
  content: e.name,
2626
2659
  fontSize: y.value.plotLabels,
2627
2660
  fill: e.color,
@@ -2630,7 +2663,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2630
2663
  maxWords: 2
2631
2664
  }),
2632
2665
  style: S(`opacity:${I.value ? I.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2633
- }, null, 12, hi)) : h("", !0),
2666
+ }, null, 12, pi)) : h("", !0),
2634
2667
  t && i === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (n(), u("text", {
2635
2668
  key: 1,
2636
2669
  x: t.x + y.value.plotLabels,
@@ -2638,7 +2671,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2638
2671
  "font-size": y.value.plotLabels,
2639
2672
  "text-anchor": "start",
2640
2673
  fill: e.color,
2641
- innerHTML: v(Ql)({
2674
+ innerHTML: v(jl)({
2642
2675
  content: e.name,
2643
2676
  fontSize: y.value.plotLabels,
2644
2677
  fill: e.color,
@@ -2647,7 +2680,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2647
2680
  maxWords: 2
2648
2681
  }),
2649
2682
  style: S(`opacity:${I.value ? I.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2650
- }, null, 12, fi)) : h("", !0)
2683
+ }, null, 12, yi)) : h("", !0)
2651
2684
  ], 64))), 128))
2652
2685
  ], 64))), 128)),
2653
2686
  (n(!0), u(d, null, _(xe.value, (e, s) => (n(), u(d, {
@@ -2663,7 +2696,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2663
2696
  "font-size": y.value.plotLabels,
2664
2697
  "text-anchor": "end",
2665
2698
  fill: e.color,
2666
- innerHTML: v(Ql)({
2699
+ innerHTML: v(jl)({
2667
2700
  content: e.name,
2668
2701
  fontSize: y.value.plotLabels,
2669
2702
  fill: e.color,
@@ -2672,7 +2705,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2672
2705
  maxWords: 2
2673
2706
  }),
2674
2707
  style: S(`opacity:${I.value ? I.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2675
- }, null, 12, gi)) : h("", !0),
2708
+ }, null, 12, ki)) : h("", !0),
2676
2709
  t && i === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (n(), u("text", {
2677
2710
  key: 1,
2678
2711
  x: t.x + y.value.plotLabels,
@@ -2680,7 +2713,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2680
2713
  "font-size": y.value.plotLabels,
2681
2714
  "text-anchor": "start",
2682
2715
  fill: e.color,
2683
- innerHTML: v(Ql)({
2716
+ innerHTML: v(jl)({
2684
2717
  content: e.name,
2685
2718
  fontSize: y.value.plotLabels,
2686
2719
  fill: e.color,
@@ -2689,13 +2722,13 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2689
2722
  maxWords: 2
2690
2723
  }),
2691
2724
  style: S(`opacity:${I.value ? I.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2692
- }, null, 12, mi)) : h("", !0)
2725
+ }, null, 12, Ci)) : h("", !0)
2693
2726
  ], 64))), 128))
2694
2727
  ], 64))), 128)),
2695
2728
  (n(!0), u(d, null, _([...xe.value, ...te.value, ...Me.value], (e, s) => (n(), u(d, {
2696
2729
  key: `progression-${s}`
2697
2730
  }, [
2698
- Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(v(Se)(e.plots).trend) ? (n(), u("g", bi, [
2731
+ Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(v(Se)(e.plots).trend) ? (n(), u("g", _i, [
2699
2732
  p("defs", null, [
2700
2733
  p("marker", {
2701
2734
  id: `progression_arrow_${s}`,
@@ -2714,8 +2747,8 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2714
2747
  stroke: l.value.chart.backgroundColor,
2715
2748
  "stroke-width": "1",
2716
2749
  "stroke-linejoin": "round"
2717
- }, null, 8, pi)
2718
- ], 8, xi)
2750
+ }, null, 8, Si)
2751
+ ], 8, wi)
2719
2752
  ]),
2720
2753
  e.plots.length > 1 ? (n(), u("line", {
2721
2754
  key: 0,
@@ -2729,7 +2762,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2729
2762
  "stroke-linecap": "round",
2730
2763
  "stroke-linejoin": "round",
2731
2764
  "marker-end": `url(#progression_arrow_${s})`
2732
- }, null, 8, yi)) : h("", !0),
2765
+ }, null, 8, Ai)) : h("", !0),
2733
2766
  e.plots.length > 1 ? (n(), u("line", {
2734
2767
  key: 1,
2735
2768
  x1: v(Se)(e.plots).x1 + (e.type === "bar" ? He() : 0),
@@ -2742,7 +2775,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2742
2775
  "stroke-linecap": "round",
2743
2776
  "stroke-linejoin": "round",
2744
2777
  "marker-end": `url(#progression_arrow_${s})`
2745
- }, null, 8, ki)) : h("", !0),
2778
+ }, null, 8, $i)) : h("", !0),
2746
2779
  e.plots.length > 1 ? (n(), u("text", {
2747
2780
  key: 2,
2748
2781
  "text-anchor": "middle",
@@ -2755,16 +2788,16 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2755
2788
  "stroke-linecap": "round",
2756
2789
  "stroke-linejoin": "round",
2757
2790
  "paint-order": "stroke fill"
2758
- }, ae(v(Ve)({
2791
+ }, ae(v(De)({
2759
2792
  v: v(Se)(e.plots).trend * 100,
2760
2793
  s: "%",
2761
2794
  r: 2
2762
- })), 9, Ci)) : h("", !0)
2795
+ })), 9, Li)) : h("", !0)
2763
2796
  ])) : h("", !0)
2764
2797
  ], 64))), 128)),
2765
2798
  f.value.useIndividualScale && !f.value.isStacked ? (n(), u(d, { key: 13 }, [
2766
2799
  p("defs", null, [
2767
- (n(!0), u(d, null, _(wl.value, (e, s) => (n(), u("linearGradient", {
2800
+ (n(!0), u(d, null, _(Al.value, (e, s) => (n(), u("linearGradient", {
2768
2801
  id: `individual_scale_gradient_${H.value}_${s}`,
2769
2802
  x1: "0%",
2770
2803
  x2: "100%",
@@ -2775,15 +2808,15 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2775
2808
  offset: "0%",
2776
2809
  "stop-color": l.value.chart.backgroundColor,
2777
2810
  "stop-opacity": "0"
2778
- }, null, 8, wi),
2811
+ }, null, 8, Ti),
2779
2812
  p("stop", {
2780
2813
  offset: "100%",
2781
2814
  "stop-color": e.color,
2782
2815
  "stop-opacity": "0.2"
2783
- }, null, 8, Si)
2784
- ], 8, _i))), 256))
2816
+ }, null, 8, zi)
2817
+ ], 8, Mi))), 256))
2785
2818
  ]),
2786
- (n(!0), u(d, null, _(wl.value, (e, s) => (n(), u("rect", {
2819
+ (n(!0), u(d, null, _(Al.value, (e, s) => (n(), u("rect", {
2787
2820
  x: e.x - l.value.chart.grid.labels.yAxis.labelWidth + U.value - c.value.individualOffsetX,
2788
2821
  y: c.value?.top,
2789
2822
  width: l.value.chart.grid.labels.yAxis.labelWidth + c.value.individualOffsetX,
@@ -2791,36 +2824,36 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2791
2824
  fill: I.value === e.groupId ? `url(#individual_scale_gradient_${H.value}_${s})` : "transparent",
2792
2825
  onMouseenter: (t) => I.value = e.groupId,
2793
2826
  onMouseleave: r[0] || (r[0] = (t) => I.value = null)
2794
- }, null, 40, Ai))), 256))
2827
+ }, null, 40, Ii))), 256))
2795
2828
  ], 64)) : h("", !0),
2796
2829
  p("g", null, [
2797
2830
  l.value.chart.grid.labels.axis.yLabel && !f.value.useIndividualScale ? (n(), u("text", {
2798
2831
  key: 0,
2799
2832
  ref_key: "yAxisLabel",
2800
- ref: aa,
2833
+ ref: oa,
2801
2834
  "font-size": y.value.yAxis,
2802
2835
  fill: l.value.chart.grid.labels.color,
2803
2836
  transform: `translate(${l.value.chart.grid.labels.axis.fontSize}, ${c.value?.top + c.value.height / 2}) rotate(-90)`,
2804
2837
  "text-anchor": "middle",
2805
2838
  style: { transition: "none" }
2806
- }, ae(l.value.chart.grid.labels.axis.yLabel), 9, $i)) : h("", !0),
2839
+ }, ae(l.value.chart.grid.labels.axis.yLabel), 9, Fi)) : h("", !0),
2807
2840
  l.value.chart.grid.labels.axis.xLabel ? (n(), u("text", {
2808
2841
  key: 1,
2809
2842
  ref_key: "xAxisLabel",
2810
- ref: la,
2843
+ ref: ta,
2811
2844
  "text-anchor": "middle",
2812
2845
  x: ee.value / 2,
2813
2846
  y: ve.value - 3,
2814
2847
  "font-size": y.value.yAxis,
2815
2848
  fill: l.value.chart.grid.labels.color
2816
- }, ae(l.value.chart.grid.labels.axis.xLabel), 9, Li)) : h("", !0)
2849
+ }, ae(l.value.chart.grid.labels.axis.xLabel), 9, Oi)) : h("", !0)
2817
2850
  ]),
2818
2851
  l.value.chart.grid.labels.xAxisLabels.show ? (n(), u("g", {
2819
2852
  key: 14,
2820
2853
  ref_key: "timeLabelsEls",
2821
2854
  ref: sl
2822
2855
  }, [
2823
- a.$slots["time-label"] ? (n(!0), u(d, { key: 0 }, _(ma.value, (e, s) => P(a.$slots, "time-label", al({
2856
+ a.$slots["time-label"] ? (n(!0), u(d, { key: 0 }, _(xa.value, (e, s) => P(a.$slots, "time-label", al({
2824
2857
  key: `time_label_${e.id}`,
2825
2858
  ref_for: !0
2826
2859
  }, {
@@ -2833,7 +2866,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2833
2866
  content: e.text,
2834
2867
  textAnchor: l.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : l.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2835
2868
  show: e && e.text
2836
- }), void 0, !0)), 128)) : (n(!0), u(d, { key: 1 }, _(ma.value, (e, s) => (n(), u("g", {
2869
+ }), void 0, !0)), 128)) : (n(!0), u(d, { key: 1 }, _(xa.value, (e, s) => (n(), u("g", {
2837
2870
  key: `time_label_${s}`
2838
2871
  }, [
2839
2872
  e && e.text ? (n(), u(d, { key: 0 }, [
@@ -2846,17 +2879,17 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2846
2879
  fill: l.value.chart.grid.labels.xAxisLabels.color,
2847
2880
  transform: `translate(${c.value?.left + c.value.width / A.value * s + c.value.width / A.value / 2}, ${c.value?.bottom + y.value.xAxis * 1.5}), rotate(${l.value.chart.grid.labels.xAxisLabels.rotation})`,
2848
2881
  style: S({
2849
- cursor: Wa() ? "pointer" : "default"
2882
+ cursor: Za() ? "pointer" : "default"
2850
2883
  }),
2851
- innerHTML: v(br)({
2884
+ innerHTML: v(_r)({
2852
2885
  content: String(e.text),
2853
2886
  fontSize: y.value.xAxis,
2854
2887
  fill: l.value.chart.grid.labels.xAxisLabels.color,
2855
2888
  x: 0,
2856
2889
  y: 0
2857
2890
  }),
2858
- onClick: () => qa(e, s)
2859
- }, null, 12, Ti)) : (n(), u("text", {
2891
+ onClick: () => ja(e, s)
2892
+ }, null, 12, Bi)) : (n(), u("text", {
2860
2893
  key: 0,
2861
2894
  class: "vue-data-ui-time-label",
2862
2895
  "text-anchor": l.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : l.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
@@ -2864,15 +2897,15 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2864
2897
  fill: l.value.chart.grid.labels.xAxisLabels.color,
2865
2898
  transform: `translate(${c.value?.left + c.value.width / A.value * s + c.value.width / A.value / 2}, ${c.value?.bottom + y.value.xAxis * 1.5}), rotate(${l.value.chart.grid.labels.xAxisLabels.rotation})`,
2866
2899
  style: S({
2867
- cursor: Wa() ? "pointer" : "default"
2900
+ cursor: Za() ? "pointer" : "default"
2868
2901
  }),
2869
- onClick: () => qa(e, s)
2870
- }, ae(e.text || ""), 13, Mi))
2902
+ onClick: () => ja(e, s)
2903
+ }, ae(e.text || ""), 13, Ni))
2871
2904
  ], 64)) : h("", !0)
2872
2905
  ]))), 128))
2873
2906
  ], 512)) : h("", !0),
2874
- ct.value.length && !f.value.isStacked ? (n(), u("g", zi, [
2875
- (n(!0), u(d, null, _(ct.value, (e) => (n(), u("g", {
2907
+ gt.value.length && !f.value.isStacked ? (n(), u("g", Di, [
2908
+ (n(!0), u(d, null, _(gt.value, (e) => (n(), u("g", {
2876
2909
  key: e.uid
2877
2910
  }, [
2878
2911
  e.yTop && e.show && isFinite(e.yTop) ? (n(), u("line", {
@@ -2886,7 +2919,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2886
2919
  "stroke-dasharray": e.config.line.strokeDasharray,
2887
2920
  "stroke-linecap": "round",
2888
2921
  style: { animation: "none !important" }
2889
- }, null, 8, Ii)) : h("", !0),
2922
+ }, null, 8, Vi)) : h("", !0),
2890
2923
  e.yBottom && e.show && isFinite(e.yBottom) ? (n(), u("line", {
2891
2924
  key: 1,
2892
2925
  x1: e.x1,
@@ -2898,16 +2931,16 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2898
2931
  "stroke-dasharray": e.config.line.strokeDasharray,
2899
2932
  "stroke-linecap": "round",
2900
2933
  style: { animation: "none !important" }
2901
- }, null, 8, Fi)) : h("", !0),
2934
+ }, null, 8, Pi)) : h("", !0),
2902
2935
  e.hasArea && e.show && isFinite(e.yTop) && isFinite(e.yBottom) ? (n(), u("rect", {
2903
2936
  key: 2,
2904
2937
  y: Math.min(e.yTop, e.yBottom),
2905
2938
  x: e.x1,
2906
2939
  width: c.value.width,
2907
- height: v(N)(e.areaHeight, 0),
2940
+ height: v(B)(e.areaHeight, 0),
2908
2941
  fill: v(ze)(e.config.area.fill, e.config.area.opacity),
2909
2942
  style: { animation: "none !important" }
2910
- }, null, 8, Oi)) : h("", !0),
2943
+ }, null, 8, Ei)) : h("", !0),
2911
2944
  e.config.label.text && e.show && isFinite(e._box.y) ? (n(), u("rect", al({
2912
2945
  key: 3,
2913
2946
  class: "vue-ui-xy-annotation-label-box"
@@ -2921,12 +2954,12 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2921
2954
  "font-size": e.config.label.fontSize,
2922
2955
  fill: e.config.label.color,
2923
2956
  "text-anchor": e.config.label.textAnchor
2924
- }, ae(e.config.label.text), 9, Bi)) : h("", !0)
2957
+ }, ae(e.config.label.text), 9, Ri)) : h("", !0)
2925
2958
  ]))), 128))
2926
2959
  ])) : h("", !0),
2927
- l.value.chart.timeTag.show && (![null, void 0].includes(C.value) || ![null, void 0].includes(B.value)) ? (n(), u("g", Ni, [
2960
+ l.value.chart.timeTag.show && (![null, void 0].includes(C.value) || ![null, void 0].includes(N.value)) ? (n(), u("g", Hi, [
2928
2961
  (n(), u("foreignObject", {
2929
- x: Uo(),
2962
+ x: jo(),
2930
2963
  y: c.value?.bottom,
2931
2964
  width: "200",
2932
2965
  height: "40",
@@ -2934,35 +2967,35 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2934
2967
  }, [
2935
2968
  p("div", {
2936
2969
  ref_key: "timeTagEl",
2937
- ref: _t,
2970
+ ref: Lt,
2938
2971
  class: "vue-ui-xy-time-tag",
2939
2972
  style: S(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${l.value.chart.timeTag.backgroundColor};color:${l.value.chart.timeTag.color};font-size:${l.value.chart.timeTag.fontSize}px`),
2940
- innerHTML: qo.value
2941
- }, null, 12, Di)
2942
- ], 8, Vi)),
2973
+ innerHTML: er.value
2974
+ }, null, 12, Wi)
2975
+ ], 8, Yi)),
2943
2976
  p("circle", {
2944
- cx: c.value?.left + c.value.width / A.value * ((C.value !== null ? C.value : 0) || (B.value !== null ? B.value : 0)) + c.value.width / A.value / 2,
2977
+ cx: c.value?.left + c.value.width / A.value * ((C.value !== null ? C.value : 0) || (N.value !== null ? N.value : 0)) + c.value.width / A.value / 2,
2945
2978
  cy: c.value?.bottom,
2946
2979
  r: l.value.chart.timeTag.circleMarker.radius,
2947
2980
  fill: l.value.chart.timeTag.circleMarker.color
2948
- }, null, 8, Pi)
2981
+ }, null, 8, Xi)
2949
2982
  ])) : h("", !0)
2950
2983
  ])) : h("", !0),
2951
- Da.value ? (n(), u("rect", al({ key: 2 }, bo.value, {
2952
- "data-start": m.value.start,
2953
- "data-end": m.value.end
2954
- }), null, 16, Ei)) : h("", !0),
2984
+ Ea.value ? (n(), u("rect", al({ key: 2 }, Co.value, {
2985
+ "data-start": b.value.start,
2986
+ "data-end": b.value.end
2987
+ }), null, 16, Gi)) : h("", !0),
2955
2988
  P(a.$slots, "svg", {
2956
2989
  svg: {
2957
- ...fo.value,
2990
+ ...po.value,
2958
2991
  data: [...te.value, ...Me.value, ...xe.value],
2959
2992
  drawingArea: c.value
2960
2993
  }
2961
2994
  }, void 0, !0)
2962
2995
  ], 512)
2963
- ], 46, Dr)),
2964
- a.$slots.watermark ? (n(), u("div", Ri, [
2965
- P(a.$slots, "watermark", ke(Ce({ isPrinting: v(da) || v(Ea) })), void 0, !0)
2996
+ ], 46, Wr)),
2997
+ a.$slots.watermark ? (n(), u("div", Ui, [
2998
+ P(a.$slots, "watermark", ke(Ce({ isPrinting: v(fa) || v(Ha) })), void 0, !0)
2966
2999
  ])) : h("", !0),
2967
3000
  (n(!0), u(d, null, _(te.value, (e, s) => (n(), u(d, {
2968
3001
  key: `tag_line_${e.id}`
@@ -2970,10 +3003,10 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2970
3003
  (n(!0), u(d, null, _(e.plots, (t, i) => (n(), u(d, {
2971
3004
  key: `tag_line_${s}_${i}`
2972
3005
  }, [
2973
- [B.value, C.value, Ze.value].includes(i) && e.useTag && e.useTag === "end" && l.value.line.tag.followValue ? (n(), u("div", {
3006
+ [N.value, C.value, Ze.value].includes(i) && e.useTag && e.useTag === "end" && l.value.line.tag.followValue ? (n(), u("div", {
2974
3007
  key: 0,
2975
3008
  ref_for: !0,
2976
- ref: (o) => Dl(s, i, o, "right", "line"),
3009
+ ref: (o) => El(s, i, o, "right", "line"),
2977
3010
  class: "vue-ui-xy-tag",
2978
3011
  "data-tag": "right",
2979
3012
  style: S({
@@ -2982,14 +3015,14 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
2982
3015
  svgElement: se.value,
2983
3016
  x: c.value?.right + l.value.line.tag.fontSize / 1.5,
2984
3017
  y: t.y,
2985
- element: De.value[`${s}_${i}_right_line`],
3018
+ element: Ve.value[`${s}_${i}_right_line`],
2986
3019
  position: "right"
2987
3020
  })?.top + "px",
2988
3021
  left: v(Ue)({
2989
3022
  svgElement: se.value,
2990
3023
  x: c.value?.right + l.value.line.tag.fontSize / 1.5,
2991
3024
  y: t.y,
2992
- element: De.value[`${s}_${i}_right_line`],
3025
+ element: Ve.value[`${s}_${i}_right_line`],
2993
3026
  position: "right"
2994
3027
  })?.left + "px",
2995
3028
  height: "fit-content",
@@ -3001,12 +3034,12 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
3001
3034
  opacity: 1
3002
3035
  })
3003
3036
  }, [
3004
- (n(), u("svg", Hi, [
3037
+ (n(), u("svg", qi, [
3005
3038
  p("path", {
3006
3039
  d: "M 0,10 10,0 10,20 Z",
3007
3040
  fill: e.color,
3008
3041
  stroke: "none"
3009
- }, null, 8, Yi)
3042
+ }, null, 8, Zi)
3010
3043
  ])),
3011
3044
  p("div", {
3012
3045
  class: "vue-ui-xy-tag-content",
@@ -3020,12 +3053,12 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
3020
3053
  serieName: e.name
3021
3054
  }
3022
3055
  )
3023
- }, null, 8, Wi)
3056
+ }, null, 8, Ji)
3024
3057
  ], 4)) : h("", !0),
3025
- [B.value, C.value, Ze.value].includes(i) && e.useTag && e.useTag === "start" && l.value.line.tag.followValue ? (n(), u("div", {
3058
+ [N.value, C.value, Ze.value].includes(i) && e.useTag && e.useTag === "start" && l.value.line.tag.followValue ? (n(), u("div", {
3026
3059
  key: 1,
3027
3060
  ref_for: !0,
3028
- ref: (o) => Dl(s, i, o, "left", "line"),
3061
+ ref: (o) => El(s, i, o, "left", "line"),
3029
3062
  class: "vue-ui-xy-tag",
3030
3063
  "data-tag": "left",
3031
3064
  style: S({
@@ -3034,14 +3067,14 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
3034
3067
  svgElement: se.value,
3035
3068
  x: c.value?.left - l.value.line.tag.fontSize / 1.5,
3036
3069
  y: t.y,
3037
- element: De.value[`${s}_${i}_left_line`],
3070
+ element: Ve.value[`${s}_${i}_left_line`],
3038
3071
  position: "left"
3039
3072
  })?.top + "px",
3040
3073
  left: v(Ue)({
3041
3074
  svgElement: se.value,
3042
3075
  x: c.value?.left - l.value.line.tag.fontSize / 1.5,
3043
3076
  y: t.y,
3044
- element: De.value[`${s}_${i}_left_line`],
3077
+ element: Ve.value[`${s}_${i}_left_line`],
3045
3078
  position: "left"
3046
3079
  })?.left + "px",
3047
3080
  height: "fit-content",
@@ -3053,12 +3086,12 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
3053
3086
  opacity: 1
3054
3087
  })
3055
3088
  }, [
3056
- (n(), u("svg", Xi, [
3089
+ (n(), u("svg", Qi, [
3057
3090
  p("path", {
3058
3091
  d: "M 0,0 10,10 0,20 Z",
3059
3092
  fill: e.color,
3060
3093
  stroke: "none"
3061
- }, null, 8, Gi)
3094
+ }, null, 8, Ki)
3062
3095
  ])),
3063
3096
  p("div", {
3064
3097
  class: "vue-ui-xy-tag-content",
@@ -3072,7 +3105,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
3072
3105
  serieName: e.name
3073
3106
  }
3074
3107
  )
3075
- }, null, 8, Ui)
3108
+ }, null, 8, ji)
3076
3109
  ], 4)) : h("", !0)
3077
3110
  ], 64))), 128))
3078
3111
  ], 64))), 128)),
@@ -3082,10 +3115,10 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
3082
3115
  (n(!0), u(d, null, _(e.plots, (t, i) => (n(), u(d, {
3083
3116
  key: `tag_plot_${s}_${i}`
3084
3117
  }, [
3085
- [B.value, C.value, Ze.value].includes(i) && e.useTag && e.useTag === "end" && l.value.plot.tag.followValue ? (n(), u("div", {
3118
+ [N.value, C.value, Ze.value].includes(i) && e.useTag && e.useTag === "end" && l.value.plot.tag.followValue ? (n(), u("div", {
3086
3119
  key: 0,
3087
3120
  ref_for: !0,
3088
- ref: (o) => Dl(s, i, o, "right", "plot"),
3121
+ ref: (o) => El(s, i, o, "right", "plot"),
3089
3122
  class: "vue-ui-xy-tag",
3090
3123
  "data-tag": "right",
3091
3124
  style: S({
@@ -3094,14 +3127,14 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
3094
3127
  svgElement: se.value,
3095
3128
  x: c.value?.right + l.value.plot.tag.fontSize / 1.5,
3096
3129
  y: t.y,
3097
- element: De.value[`${s}_${i}_right_plot`],
3130
+ element: Ve.value[`${s}_${i}_right_plot`],
3098
3131
  position: "right"
3099
3132
  })?.top + "px",
3100
3133
  left: v(Ue)({
3101
3134
  svgElement: se.value,
3102
3135
  x: c.value?.right + l.value.plot.tag.fontSize / 1.5,
3103
3136
  y: t.y,
3104
- element: De.value[`${s}_${i}_right_plot`],
3137
+ element: Ve.value[`${s}_${i}_right_plot`],
3105
3138
  position: "right"
3106
3139
  })?.left + "px",
3107
3140
  height: "fit-content",
@@ -3113,12 +3146,12 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
3113
3146
  opacity: 1
3114
3147
  })
3115
3148
  }, [
3116
- (n(), u("svg", qi, [
3149
+ (n(), u("svg", en, [
3117
3150
  p("path", {
3118
3151
  d: "M 0,10 10,0 10,20 Z",
3119
3152
  fill: e.color,
3120
3153
  stroke: "none"
3121
- }, null, 8, Zi)
3154
+ }, null, 8, ln)
3122
3155
  ])),
3123
3156
  p("div", {
3124
3157
  class: "vue-ui-xy-tag-content",
@@ -3132,12 +3165,12 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
3132
3165
  serieName: e.name
3133
3166
  }
3134
3167
  )
3135
- }, null, 8, Ji)
3168
+ }, null, 8, an)
3136
3169
  ], 4)) : h("", !0),
3137
- [B.value, C.value, Ze.value].includes(i) && e.useTag && e.useTag === "start" && l.value.plot.tag.followValue ? (n(), u("div", {
3170
+ [N.value, C.value, Ze.value].includes(i) && e.useTag && e.useTag === "start" && l.value.plot.tag.followValue ? (n(), u("div", {
3138
3171
  key: 1,
3139
3172
  ref_for: !0,
3140
- ref: (o) => Dl(s, i, o, "left", "plot"),
3173
+ ref: (o) => El(s, i, o, "left", "plot"),
3141
3174
  class: "vue-ui-xy-tag",
3142
3175
  "data-tag": "left",
3143
3176
  style: S({
@@ -3146,14 +3179,14 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
3146
3179
  svgElement: se.value,
3147
3180
  x: c.value?.left - l.value.plot.tag.fontSize / 1.5,
3148
3181
  y: t.y,
3149
- element: De.value[`${s}_${i}_left_plot`],
3182
+ element: Ve.value[`${s}_${i}_left_plot`],
3150
3183
  position: "left"
3151
3184
  })?.top + "px",
3152
3185
  left: v(Ue)({
3153
3186
  svgElement: se.value,
3154
3187
  x: c.value?.left - l.value.plot.tag.fontSize / 1.5,
3155
3188
  y: t.y,
3156
- element: De.value[`${s}_${i}_left_plot`],
3189
+ element: Ve.value[`${s}_${i}_left_plot`],
3157
3190
  position: "left"
3158
3191
  })?.left + "px",
3159
3192
  height: "fit-content",
@@ -3165,12 +3198,12 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
3165
3198
  opacity: 1
3166
3199
  })
3167
3200
  }, [
3168
- (n(), u("svg", Qi, [
3201
+ (n(), u("svg", tn, [
3169
3202
  p("path", {
3170
3203
  d: "M 0,0 10,10 0,20 Z",
3171
3204
  fill: e.color,
3172
3205
  stroke: "none"
3173
- }, null, 8, Ki)
3206
+ }, null, 8, on)
3174
3207
  ])),
3175
3208
  p("div", {
3176
3209
  class: "vue-ui-xy-tag-content",
@@ -3184,34 +3217,34 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
3184
3217
  serieName: e.name
3185
3218
  }
3186
3219
  )
3187
- }, null, 8, ji)
3220
+ }, null, 8, rn)
3188
3221
  ], 4)) : h("", !0)
3189
3222
  ], 64))), 128))
3190
3223
  ], 64))), 128)),
3191
- l.value.chart.zoom.show && Oe.value > 6 && ca.value && Qa.value ? (n(), Te(Fr, {
3224
+ l.value.chart.zoom.show && Oe.value > 6 && da.value && at.value ? (n(), Te(Pr, {
3192
3225
  key: 5,
3193
3226
  ref_key: "chartSlicer",
3194
3227
  ref: Fe,
3195
- allMinimaps: Yo.value,
3228
+ allMinimaps: Zo.value,
3196
3229
  background: l.value.chart.zoom.color,
3197
3230
  borderColor: l.value.chart.backgroundColor,
3198
3231
  customFormat: l.value.chart.zoom.customFormat,
3199
3232
  cutNullValues: l.value.line.cutNullValues,
3200
3233
  enableRangeHandles: l.value.chart.zoom.enableRangeHandles,
3201
3234
  enableSelectionDrag: l.value.chart.zoom.enableSelectionDrag,
3202
- end: m.value.end,
3235
+ end: b.value.end,
3203
3236
  focusOnDrag: l.value.chart.zoom.focusOnDrag,
3204
3237
  focusRangeRatio: l.value.chart.zoom.focusRangeRatio,
3205
3238
  fontSize: l.value.chart.zoom.fontSize,
3206
3239
  useResetSlot: l.value.chart.zoom.useResetSlot,
3207
3240
  immediate: !l.value.chart.zoom.preview.enable,
3208
3241
  inputColor: l.value.chart.zoom.color,
3209
- isPreview: Da.value,
3242
+ isPreview: Ea.value,
3210
3243
  labelLeft: de.value[0] ? de.value[0].text : "",
3211
3244
  labelRight: de.value.at(-1) ? de.value.at(-1).text : "",
3212
3245
  max: Oe.value,
3213
3246
  min: 0,
3214
- minimap: Ho.value,
3247
+ minimap: qo.value,
3215
3248
  minimapCompact: l.value.chart.zoom.minimap.compact,
3216
3249
  minimapFrameColor: l.value.chart.zoom.minimap.frameColor,
3217
3250
  minimapIndicatorColor: l.value.chart.zoom.minimap.indicatorColor,
@@ -3221,35 +3254,37 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
3221
3254
  minimapSelectedColorOpacity: l.value.chart.zoom.minimap.selectedColorOpacity,
3222
3255
  minimapSelectedIndex: C.value,
3223
3256
  minimapSelectionRadius: l.value.chart.zoom.minimap.selectionRadius,
3224
- preciseLabels: ft.value.length ? ft.value : ga.value,
3225
- refreshEndPoint: l.value.chart.zoom.endIndex !== null ? l.value.chart.zoom.endIndex + 1 : Math.max(...jl.dataset.map((e) => Re(e.series).length)),
3257
+ preciseLabels: pt.value.length ? pt.value : ba.value,
3258
+ refreshEndPoint: l.value.chart.zoom.endIndex !== null ? l.value.chart.zoom.endIndex + 1 : Math.max(...la.dataset.map((e) => Ee(e.series).length)),
3226
3259
  refreshStartPoint: l.value.chart.zoom.startIndex !== null ? l.value.chart.zoom.startIndex : 0,
3227
3260
  selectColor: l.value.chart.zoom.highlightColor,
3228
3261
  selectedSeries: je.value,
3229
3262
  smoothMinimap: l.value.chart.zoom.minimap.smooth,
3230
- start: m.value.start,
3263
+ start: b.value.start,
3231
3264
  textColor: l.value.chart.color,
3232
- timeLabels: ga.value,
3265
+ timeLabels: ba.value,
3233
3266
  usePreciseLabels: l.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !l.value.chart.zoom.useDefaultFormat,
3234
- valueEnd: m.value.end,
3235
- valueStart: m.value.start,
3267
+ valueEnd: b.value.end,
3268
+ valueStart: b.value.start,
3236
3269
  verticalHandles: l.value.chart.zoom.minimap.verticalHandles,
3237
- onFutureEnd: r[1] || (r[1] = (e) => Pa("end", e)),
3238
- onFutureStart: r[2] || (r[2] = (e) => Pa("start", e)),
3239
- onReset: To,
3240
- onTrapMouse: Ao,
3241
- "onUpdate:end": Mo,
3242
- "onUpdate:start": Lo
3270
+ minScale: l.value.chart.grid.labels.yAxis.scaleMin,
3271
+ maxScale: l.value.chart.grid.labels.yAxis.scaleMax,
3272
+ onFutureEnd: r[1] || (r[1] = (e) => Ra("end", e)),
3273
+ onFutureStart: r[2] || (r[2] = (e) => Ra("start", e)),
3274
+ onReset: Bo,
3275
+ onTrapMouse: Io,
3276
+ "onUpdate:end": No,
3277
+ "onUpdate:start": Oo
3243
3278
  }, {
3244
3279
  "reset-action": G(({ reset: e }) => [
3245
3280
  P(a.$slots, "reset-action", ke(Ce({ reset: e })), void 0, !0)
3246
3281
  ]),
3247
3282
  _: 3
3248
- }, 8, ["allMinimaps", "background", "borderColor", "customFormat", "cutNullValues", "enableRangeHandles", "enableSelectionDrag", "end", "focusOnDrag", "focusRangeRatio", "fontSize", "useResetSlot", "immediate", "inputColor", "isPreview", "labelLeft", "labelRight", "max", "minimap", "minimapCompact", "minimapFrameColor", "minimapIndicatorColor", "minimapLineColor", "minimapMerged", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapSelectionRadius", "preciseLabels", "refreshEndPoint", "refreshStartPoint", "selectColor", "selectedSeries", "smoothMinimap", "start", "textColor", "timeLabels", "usePreciseLabels", "valueEnd", "valueStart", "verticalHandles"])) : h("", !0),
3283
+ }, 8, ["allMinimaps", "background", "borderColor", "customFormat", "cutNullValues", "enableRangeHandles", "enableSelectionDrag", "end", "focusOnDrag", "focusRangeRatio", "fontSize", "useResetSlot", "immediate", "inputColor", "isPreview", "labelLeft", "labelRight", "max", "minimap", "minimapCompact", "minimapFrameColor", "minimapIndicatorColor", "minimapLineColor", "minimapMerged", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapSelectionRadius", "preciseLabels", "refreshEndPoint", "refreshStartPoint", "selectColor", "selectedSeries", "smoothMinimap", "start", "textColor", "timeLabels", "usePreciseLabels", "valueEnd", "valueStart", "verticalHandles", "minScale", "maxScale"])) : h("", !0),
3249
3284
  p("div", {
3250
3285
  id: `legend-bottom-${H.value}`
3251
- }, null, 8, en),
3252
- Oa.value ? (n(), Te(rr, {
3286
+ }, null, 8, sn),
3287
+ Ba.value ? (n(), Te(vr, {
3253
3288
  key: 6,
3254
3289
  to: l.value.chart.legend.position === "top" ? `#legend-top-${H.value}` : `#legend-bottom-${H.value}`
3255
3290
  }, [
@@ -3264,10 +3299,10 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
3264
3299
  }, [
3265
3300
  (n(!0), u(d, null, _(me.value, (e, s) => (n(), u("div", {
3266
3301
  key: `div_legend_item_${s}`,
3267
- onClick: (t) => Yl(e),
3302
+ onClick: (t) => Xl(e),
3268
3303
  class: ll({ "vue-ui-xy-legend-item-alone": me.value.length === 1, "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": J.value.includes(e.id) })
3269
3304
  }, [
3270
- bl.value[e.type] === "line" ? (n(), u("svg", an, [
3305
+ xl.value[e.type] === "line" ? (n(), u("svg", un, [
3271
3306
  p("rect", {
3272
3307
  x: "0",
3273
3308
  y: "7.5",
@@ -3277,8 +3312,8 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
3277
3312
  height: "3",
3278
3313
  width: "20",
3279
3314
  fill: e.color
3280
- }, null, 8, tn),
3281
- vl(Kl, {
3315
+ }, null, 8, cn),
3316
+ dl(ea, {
3282
3317
  plot: { x: 10, y: 9 },
3283
3318
  radius: 4,
3284
3319
  color: e.color,
@@ -3286,8 +3321,8 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
3286
3321
  stroke: l.value.chart.backgroundColor,
3287
3322
  strokeWidth: 0.5
3288
3323
  }, null, 8, ["color", "shape", "stroke"])
3289
- ])) : bl.value[e.type] === "bar" ? (n(), u("svg", on, [
3290
- bl.value[e.type] === "bar" && a.$slots.pattern ? (n(), u("rect", {
3324
+ ])) : xl.value[e.type] === "bar" ? (n(), u("svg", vn, [
3325
+ xl.value[e.type] === "bar" && a.$slots.pattern ? (n(), u("rect", {
3291
3326
  key: 0,
3292
3327
  x: "4",
3293
3328
  y: "4",
@@ -3296,8 +3331,8 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
3296
3331
  width: "32",
3297
3332
  stroke: "none",
3298
3333
  fill: e.color
3299
- }, null, 8, rn)) : h("", !0),
3300
- bl.value[e.type] === "bar" ? (n(), u("rect", {
3334
+ }, null, 8, dn)) : h("", !0),
3335
+ xl.value[e.type] === "bar" ? (n(), u("rect", {
3301
3336
  key: 1,
3302
3337
  x: "4",
3303
3338
  y: "4",
@@ -3306,9 +3341,9 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
3306
3341
  width: "32",
3307
3342
  stroke: "none",
3308
3343
  fill: a.$slots.pattern ? `url(#pattern_${H.value}_${e.slotAbsoluteIndex})` : e.color
3309
- }, null, 8, sn)) : h("", !0)
3310
- ])) : (n(), u("svg", nn, [
3311
- vl(Kl, {
3344
+ }, null, 8, hn)) : h("", !0)
3345
+ ])) : (n(), u("svg", fn, [
3346
+ dl(ea, {
3312
3347
  plot: { x: 6, y: 6 },
3313
3348
  radius: 5,
3314
3349
  color: e.color,
@@ -3318,7 +3353,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
3318
3353
  p("span", {
3319
3354
  style: S(`color:${l.value.chart.legend.color}`)
3320
3355
  }, ae(e.name), 5)
3321
- ], 10, ln))), 128))
3356
+ ], 10, nn))), 128))
3322
3357
  ], 4)) : (n(), u("div", {
3323
3358
  key: 1,
3324
3359
  ref_key: "chartLegend",
@@ -3330,14 +3365,14 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
3330
3365
  a.$slots.source ? (n(), u("div", {
3331
3366
  key: 7,
3332
3367
  ref_key: "source",
3333
- ref: gl,
3368
+ ref: ml,
3334
3369
  dir: "auto"
3335
3370
  }, [
3336
3371
  P(a.$slots, "source", {}, void 0, !0)
3337
3372
  ], 512)) : h("", !0),
3338
- vl(v(lo), {
3373
+ dl(v(so), {
3339
3374
  teleportTo: l.value.chart.tooltip.teleportTo,
3340
- show: f.value.showTooltip && Ma.value,
3375
+ show: f.value.showTooltip && za.value,
3341
3376
  backgroundColor: l.value.chart.tooltip.backgroundColor,
3342
3377
  color: l.value.chart.tooltip.color,
3343
3378
  fontSize: l.value.chart.tooltip.fontSize,
@@ -3348,7 +3383,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
3348
3383
  position: l.value.chart.tooltip.position,
3349
3384
  offsetY: l.value.chart.tooltip.offsetY,
3350
3385
  parent: a.$refs.chart,
3351
- content: Wo.value,
3386
+ content: Jo.value,
3352
3387
  isFullscreen: qe.value,
3353
3388
  isCustom: l.value.chart.tooltip.customFormat && typeof l.value.chart.tooltip.customFormat == "function",
3354
3389
  smooth: l.value.chart.tooltip.smooth,
@@ -3357,59 +3392,59 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
3357
3392
  smoothSnapThreshold: l.value.chart.tooltip.smoothSnapThreshold
3358
3393
  }, {
3359
3394
  "tooltip-before": G(() => [
3360
- P(a.$slots, "tooltip-before", ke(Ce({ ...ht.value })), void 0, !0)
3395
+ P(a.$slots, "tooltip-before", ke(Ce({ ...xt.value })), void 0, !0)
3361
3396
  ]),
3362
3397
  "tooltip-after": G(() => [
3363
- P(a.$slots, "tooltip-after", ke(Ce({ ...ht.value })), void 0, !0)
3398
+ P(a.$slots, "tooltip-after", ke(Ce({ ...xt.value })), void 0, !0)
3364
3399
  ]),
3365
3400
  _: 3
3366
3401
  }, 8, ["teleportTo", "show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
3367
- ca.value && l.value.chart.userOptions.buttons.table ? (n(), Te(sr(Sl.value.component), al({ key: 8 }, Sl.value.props, {
3402
+ da.value && l.value.chart.userOptions.buttons.table ? (n(), Te(dr($l.value.component), al({ key: 8 }, $l.value.props, {
3368
3403
  ref_key: "tableUnit",
3369
3404
  ref: il,
3370
- onClose: At
3371
- }), Tt({
3405
+ onClose: zt
3406
+ }), Nt({
3372
3407
  content: G(() => [
3373
3408
  p("div", {
3374
- style: S(`${v(da) || l.value.table.useDialog ? "" : "max-height:400px"};${l.value.table.useDialog ? "height: fit-content; " : ""};overflow:auto;width:100%;${l.value.table.useDialog ? "" : "margin-top:48px"}`)
3409
+ style: S(`${v(fa) || l.value.table.useDialog ? "" : "max-height:400px"};${l.value.table.useDialog ? "height: fit-content; " : ""};overflow:auto;width:100%;${l.value.table.useDialog ? "" : "margin-top:48px"}`)
3375
3410
  }, [
3376
- p("div", un, [
3377
- ir(p("input", {
3411
+ p("div", gn, [
3412
+ hr(p("input", {
3378
3413
  type: "checkbox",
3379
- "onUpdate:modelValue": r[4] || (r[4] = (e) => pl.value = e)
3414
+ "onUpdate:modelValue": r[4] || (r[4] = (e) => yl.value = e)
3380
3415
  }, null, 512), [
3381
- [nr, pl.value]
3416
+ [fr, yl.value]
3382
3417
  ]),
3383
3418
  p("div", {
3384
- onClick: r[5] || (r[5] = (e) => pl.value = !pl.value),
3419
+ onClick: r[5] || (r[5] = (e) => yl.value = !yl.value),
3385
3420
  style: { cursor: "pointer" }
3386
3421
  }, [
3387
- vl(v(Aa), {
3422
+ dl(v(La), {
3388
3423
  name: "chartLine",
3389
3424
  size: 20,
3390
3425
  stroke: l.value.chart.color
3391
3426
  }, null, 8, ["stroke"])
3392
3427
  ])
3393
3428
  ]),
3394
- pl.value ? (n(), Te(v(to), {
3395
- key: `sparkline_${sa.value}`,
3396
- dataset: Po.value,
3397
- config: Eo.value
3398
- }, null, 8, ["dataset", "config"])) : (n(), Te(v(eo), {
3399
- key: `table_${za.value}`,
3400
- colNames: Ul.value.colNames,
3401
- head: Ul.value.head,
3402
- body: Ul.value.body,
3403
- config: Ul.value.config,
3404
- title: l.value.table.useDialog ? "" : Sl.value.title,
3429
+ yl.value ? (n(), Te(v(no), {
3430
+ key: `sparkline_${na.value}`,
3431
+ dataset: Xo.value,
3432
+ config: Go.value
3433
+ }, null, 8, ["dataset", "config"])) : (n(), Te(v(ro), {
3434
+ key: `table_${Fa.value}`,
3435
+ colNames: Zl.value.colNames,
3436
+ head: Zl.value.head,
3437
+ body: Zl.value.body,
3438
+ config: Zl.value.config,
3439
+ title: l.value.table.useDialog ? "" : $l.value.title,
3405
3440
  withCloseButton: !l.value.table.useDialog,
3406
- onClose: At
3441
+ onClose: zt
3407
3442
  }, {
3408
3443
  th: G(({ th: e }) => [
3409
- p("div", { innerHTML: e }, null, 8, cn)
3444
+ p("div", { innerHTML: e }, null, 8, mn)
3410
3445
  ]),
3411
3446
  td: G(({ td: e }) => [
3412
- zt(ae(isNaN(Number(e)) ? e : v(Ve)({
3447
+ Bt(ae(isNaN(Number(e)) ? e : v(De)({
3413
3448
  p: l.value.chart.labels.prefix,
3414
3449
  v: e,
3415
3450
  s: l.value.chart.labels.suffix,
@@ -3425,7 +3460,7 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
3425
3460
  l.value.table.useDialog ? {
3426
3461
  name: "title",
3427
3462
  fn: G(() => [
3428
- zt(ae(Sl.value.title), 1)
3463
+ Bt(ae($l.value.title), 1)
3429
3464
  ]),
3430
3465
  key: "0"
3431
3466
  } : void 0,
@@ -3435,26 +3470,26 @@ const Yt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
3435
3470
  p("button", {
3436
3471
  tabindex: "0",
3437
3472
  class: "vue-ui-user-options-button",
3438
- onClick: r[3] || (r[3] = (e) => xa(l.value.chart.userOptions.callbacks.csv))
3473
+ onClick: r[3] || (r[3] = (e) => ya(l.value.chart.userOptions.callbacks.csv))
3439
3474
  }, [
3440
- vl(v(Aa), {
3475
+ dl(v(La), {
3441
3476
  name: "excel",
3442
- stroke: Sl.value.props.color
3477
+ stroke: $l.value.props.color
3443
3478
  }, null, 8, ["stroke"])
3444
3479
  ])
3445
3480
  ]),
3446
3481
  key: "1"
3447
3482
  } : void 0
3448
3483
  ]), 1040)) : h("", !0),
3449
- v(ie) ? (n(), Te(Sr, { key: 9 })) : h("", !0)
3450
- ], 46, Nr));
3484
+ v(ie) ? (n(), Te(zr, { key: 9 })) : h("", !0)
3485
+ ], 46, Hr));
3451
3486
  }
3452
- }, dn = /* @__PURE__ */ Br(vn, [["__scopeId", "data-v-2a5d889f"]]), Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3487
+ }, xn = /* @__PURE__ */ Rr(bn, [["__scopeId", "data-v-06b1b1c8"]]), Bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3453
3488
  __proto__: null,
3454
- default: dn
3489
+ default: xn
3455
3490
  }, Symbol.toStringTag, { value: "Module" }));
3456
3491
  export {
3457
- dn as V,
3458
- Tn as a,
3459
- Mn as v
3492
+ xn as V,
3493
+ Bn as a,
3494
+ Nn as v
3460
3495
  };