vue-data-ui 3.22.12 → 3.22.14

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 (174) hide show
  1. package/dist/{Arrow-DKx74WtM.js → Arrow-Ci7Burxz.js} +1 -1
  2. package/dist/{BaseDraggableDialog-3n8udWmh.js → BaseDraggableDialog-hyW32gLf.js} +2 -2
  3. package/dist/{BaseIcon-CP5RWnqt.js → BaseIcon-DJbOzCDs.js} +1 -1
  4. package/dist/{BaseLegendToggle-DsWphmIb.js → BaseLegendToggle-DJU4VsLO.js} +1 -1
  5. package/dist/{BaseZoomControls-C9_ygNN4.js → BaseZoomControls-CwhpsHIL.js} +2 -2
  6. package/dist/{ColorPicker-3N_HVgXs.js → ColorPicker-BVWrKEQl.js} +2 -2
  7. package/dist/{DataTable-DzPEVvSo.js → DataTable-rIsBpJMt.js} +2 -2
  8. package/dist/{Legend-C0xAnJdO.js → Legend-DSPDFP3n.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-B_mE5UbR.js → NonSvgPenAndPaper-DZyYthbM.js} +3 -3
  10. package/dist/{PackageVersion-Di3tpYst.js → PackageVersion-BUmadjVO.js} +1 -1
  11. package/dist/{PenAndPaper-CSMVXpg2.js → PenAndPaper-D--sbRMA.js} +3 -3
  12. package/dist/{Shape-BfnXr1nJ.js → Shape-Dmh9jBFh.js} +1 -1
  13. package/dist/{Slicer-C6qNUmZ4.js → Slicer-JdCzBeYM.js} +2 -2
  14. package/dist/{SlicerPreview-Cw6WMVhG.js → SlicerPreview-CCIb3v8u.js} +2 -2
  15. package/dist/{SparkTooltip-uoUiL_P8.js → SparkTooltip-GjWLZ39s.js} +1 -1
  16. package/dist/{Title-BuPs74IB.js → Title-Thf71-8D.js} +1 -1
  17. package/dist/{Tooltip-CA1rtSyl.js → Tooltip-CEbqzIhL.js} +1 -1
  18. package/dist/{UserOptions-DzAFK9cY.js → UserOptions-BknvMNU1.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-BdAFKZQg.js → dom-to-png-BbPRUKX6.js} +1 -1
  89. package/dist/{exposedLib-Ciw6TGtP.js → exposedLib-CfZhN94x.js} +1 -1
  90. package/dist/{img-Bikk1dGb.js → img-zY7_pJz1.js} +1 -1
  91. package/dist/{labelUtils-BUhssos9.js → labelUtils-DYdYmN_Q.js} +1 -1
  92. package/dist/{lib-CFm_J26b.js → lib-C-QGo8GG.js} +211 -173
  93. package/dist/{package-Bmet7oRZ.js → package-QmuZcjWs.js} +1 -1
  94. package/dist/{pdf-zmz3l2uy.js → pdf-CuSS-5_j.js} +1 -1
  95. package/dist/{render-common-Bdolvm-Q.js → render-common-DasqIYp9.js} +2 -2
  96. package/dist/ssr/vue-ui-donut.js +1 -1
  97. package/dist/ssr/vue-ui-xy.js +1 -1
  98. package/dist/ssr.js +2 -2
  99. package/dist/style.css +1 -1
  100. package/dist/{useAutoSizeLabelsInsideViewbox-C9RNjsGv.js → useAutoSizeLabelsInsideViewbox-CSzmRywi.js} +1 -1
  101. package/dist/{useNestedProp-BY6DNN3i.js → useNestedProp-BYfiWVP8.js} +1 -1
  102. package/dist/{usePrinter-BH-xle1O.js → usePrinter-C5ordS-4.js} +2 -2
  103. package/dist/utils.js +2 -2
  104. package/dist/{vue-data-ui-DfU5hAaT.js → vue-data-ui-D3jZ4lg1.js} +68 -68
  105. package/dist/vue-data-ui.js +71 -71
  106. package/dist/{vue-ui-3d-bar--HLw40qY.js → vue-ui-3d-bar-D9-jAA5Z.js} +6 -6
  107. package/dist/{vue-ui-accordion-UA88lv4d.js → vue-ui-accordion-FimGHtuy.js} +3 -3
  108. package/dist/{vue-ui-age-pyramid-Bd_ubvoh.js → vue-ui-age-pyramid-D4f-Agb7.js} +6 -6
  109. package/dist/{vue-ui-annotator-q3ZKx6ua.js → vue-ui-annotator-P9E8hpJl.js} +6 -6
  110. package/dist/{vue-ui-bullet-CM2jgN74.js → vue-ui-bullet-CKg0bShN.js} +7 -7
  111. package/dist/{vue-ui-bump-DvShTelE.js → vue-ui-bump-CG3WTTFy.js} +6 -6
  112. package/dist/{vue-ui-candlestick-CK9Na9KB.js → vue-ui-candlestick-C3smYvQA.js} +9 -9
  113. package/dist/{vue-ui-carousel-table-BxORSyv1.js → vue-ui-carousel-table-BD_fxykj.js} +4 -4
  114. package/dist/{vue-ui-chestnut-tW2ZnqwW.js → vue-ui-chestnut-i7FYoqi8.js} +5 -5
  115. package/dist/{vue-ui-chord-DqKCW4Pl.js → vue-ui-chord-DCZo55QA.js} +8 -8
  116. package/dist/{vue-ui-circle-pack-kmzEbu7G.js → vue-ui-circle-pack--DUVDQx3.js} +6 -6
  117. package/dist/{vue-ui-cursor-SvEAxNKD.js → vue-ui-cursor-DEf_l0Xc.js} +3 -3
  118. package/dist/{vue-ui-dag-DZGUw98x.js → vue-ui-dag-beo3-quD.js} +7 -7
  119. package/dist/{vue-ui-dashboard-BzzECKaL.js → vue-ui-dashboard-mGLvP0UA.js} +69 -69
  120. package/dist/{vue-ui-digits-CKWMJqU_.js → vue-ui-digits-BnMqGAhl.js} +3 -3
  121. package/dist/{vue-ui-donut-BWbuCT47.js → vue-ui-donut-BCLG16Vb.js} +10 -10
  122. package/dist/{vue-ui-donut-DjdH53Zj.js → vue-ui-donut-Cr0uTWGk.js} +2 -2
  123. package/dist/{vue-ui-donut-evolution-CJNnXg31.js → vue-ui-donut-evolution-D54NP3FP.js} +9 -9
  124. package/dist/{vue-ui-dumbbell-BUyfJOxH.js → vue-ui-dumbbell-DZ78WASa.js} +7 -7
  125. package/dist/{vue-ui-flow-C39C5dvl.js → vue-ui-flow-CnateJjc.js} +7 -7
  126. package/dist/{vue-ui-funnel-_aMNVUkP.js → vue-ui-funnel-DSpUMyDO.js} +6 -6
  127. package/dist/{vue-ui-galaxy-Dng0GSjQ.js → vue-ui-galaxy-CxKafV1X.js} +9 -9
  128. package/dist/{vue-ui-gauge-BmZPLW3e.js → vue-ui-gauge-CegUK3FD.js} +7 -7
  129. package/dist/{vue-ui-geo-BOx-pK_5.js → vue-ui-geo-DnO1RIFR.js} +7 -7
  130. package/dist/{vue-ui-gizmo-BCGwhNna.js → vue-ui-gizmo-DyxeSKIk.js} +3 -3
  131. package/dist/{vue-ui-heatmap-BORjgllw.js → vue-ui-heatmap-6Ja5LKYE.js} +7 -7
  132. package/dist/{vue-ui-history-plot-DY3fqgIY.js → vue-ui-history-plot-XOexkxeI.js} +8 -8
  133. package/dist/{vue-ui-horizontal-bar-C8f4PisL.js → vue-ui-horizontal-bar-BCTdLxjK.js} +10 -10
  134. package/dist/{vue-ui-kpi-BdhXSBIJ.js → vue-ui-kpi-EenGDZ-l.js} +3 -3
  135. package/dist/{vue-ui-mini-loader-D9pprk2c.js → vue-ui-mini-loader-CA7XxPk7.js} +2 -2
  136. package/dist/{vue-ui-molecule-PlmDykKX.js → vue-ui-molecule-5rpD2mlK.js} +5 -5
  137. package/dist/{vue-ui-mood-radar-C9LTAt_c.js → vue-ui-mood-radar-TWo57SKD.js} +7 -7
  138. package/dist/{vue-ui-nested-donuts-F5OXPxvU.js → vue-ui-nested-donuts-W0TpPXIQ.js} +9 -9
  139. package/dist/{vue-ui-onion-D1-j-pvW.js → vue-ui-onion-CDC9AGh1.js} +10 -10
  140. package/dist/{vue-ui-parallel-coordinate-plot-Vb_QjRp5.js → vue-ui-parallel-coordinate-plot-DUOI7HoD.js} +9 -9
  141. package/dist/{vue-ui-quadrant-DMFawnHm.js → vue-ui-quadrant-BM9VLDcC.js} +9 -9
  142. package/dist/{vue-ui-quick-chart-BF5fKxY2.js → vue-ui-quick-chart-B8XCKef-.js} +7 -7
  143. package/dist/{vue-ui-radar-D91pCqhn.js → vue-ui-radar-BVz6Uq2k.js} +9 -9
  144. package/dist/{vue-ui-rating-DbxK-ftN.js → vue-ui-rating-B7ApWpIJ.js} +2 -2
  145. package/dist/{vue-ui-relation-circle-DfxvnOs6.js → vue-ui-relation-circle-LVOR5VZ6.js} +7 -7
  146. package/dist/{vue-ui-ridgeline-BOL0m1mR.js → vue-ui-ridgeline-BlyzSJHc.js} +9 -9
  147. package/dist/{vue-ui-rings-4RxAaMo4.js → vue-ui-rings-DEZrfBYX.js} +10 -10
  148. package/dist/{vue-ui-scatter-Bs1wek00.js → vue-ui-scatter-owaIOpD0.js} +9 -9
  149. package/dist/{vue-ui-skeleton-B84nELF_.js → vue-ui-skeleton-Cxszgax7.js} +3 -3
  150. package/dist/{vue-ui-smiley-Da2jgkb7.js → vue-ui-smiley-DZBPvVeN.js} +2 -2
  151. package/dist/{vue-ui-spark-trend-BR-qkwJ6.js → vue-ui-spark-trend-CW4cLUqP.js} +3 -3
  152. package/dist/{vue-ui-sparkbar-DghCbhj2.js → vue-ui-sparkbar-DeSSqv4v.js} +3 -3
  153. package/dist/{vue-ui-sparkgauge-DbeTbrxx.js → vue-ui-sparkgauge-VSiPVgUQ.js} +3 -3
  154. package/dist/{vue-ui-sparkhistogram-B2xSQyOp.js → vue-ui-sparkhistogram-B5252IVr.js} +4 -4
  155. package/dist/{vue-ui-sparkline-D3xRMcy9.js → vue-ui-sparkline-DyZdAQMl.js} +3 -3
  156. package/dist/{vue-ui-sparkstackbar-D8z8fVFZ.js → vue-ui-sparkstackbar-CiLgNzaI.js} +4 -4
  157. package/dist/{vue-ui-stackbar-B63-UgSr.js → vue-ui-stackbar-Bwz6Z7M4.js} +10 -10
  158. package/dist/{vue-ui-stackline-Dukmj3yT.js → vue-ui-stackline-DX3YDRSg.js} +10 -10
  159. package/dist/{vue-ui-strip-plot-Bws0p7tP.js → vue-ui-strip-plot-BquHFKHA.js} +7 -7
  160. package/dist/{vue-ui-table-dxCS6ztG.js → vue-ui-table-DEhy61ln.js} +5 -5
  161. package/dist/{vue-ui-table-heatmap-CSI482KG.js → vue-ui-table-heatmap-1LTxQfQX.js} +5 -5
  162. package/dist/{vue-ui-table-sparkline-C-XgNV1l.js → vue-ui-table-sparkline-CyGqW88t.js} +4 -4
  163. package/dist/{vue-ui-thermometer-BUKge0w8.js → vue-ui-thermometer-CNvTQJUq.js} +7 -7
  164. package/dist/{vue-ui-timer-CCd3pznw.js → vue-ui-timer-BVjydam-.js} +5 -5
  165. package/dist/{vue-ui-tiremarks-CG5X5rgi.js → vue-ui-tiremarks-3ZBAE8SA.js} +6 -6
  166. package/dist/{vue-ui-treemap-CNVB8Ng6.js → vue-ui-treemap-FqqXQvZw.js} +9 -9
  167. package/dist/{vue-ui-waffle-DH5Rf1WM.js → vue-ui-waffle-B37Yx9uw.js} +10 -10
  168. package/dist/{vue-ui-wheel-BzEkxqDz.js → vue-ui-wheel-D-VVxvxY.js} +6 -6
  169. package/dist/{vue-ui-word-cloud-DbfGZ-hb.js → vue-ui-word-cloud-CcRch2t2.js} +7 -7
  170. package/dist/{vue-ui-world-CL6KcPcv.js → vue-ui-world-BJq4PZqF.js} +7 -7
  171. package/dist/{vue-ui-xy-4Xp7UoLs.js → vue-ui-xy-B8XBn08L.js} +2 -2
  172. package/dist/{vue-ui-xy-BAmxfSSw.js → vue-ui-xy-D64AB5Qy.js} +487 -478
  173. package/dist/{vue-ui-xy-canvas-7YSYRdwr.js → vue-ui-xy-canvas-mDqjPtxh.js} +11 -11
  174. package/package.json +1 -1
@@ -1,24 +1,24 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, B as n, Bt as r, C as i, E as a, F as o, Gt as s, H as c, I as l, It as u, K as ee, Kt as d, M as te, N as ne, Nt as re, O as ie, Q as ae, R as oe, Rt as se, St as f, Tt as ce, U as le, V as ue, W as de, Wt as fe, Y as p, _ as pe, _t as me, a as he, at as m, bt as ge, c as _e, et as ve, g as ye, i as h, j as be, k as xe, n as Se, qt as Ce, r as we, s as Te, u as Ee, ut as De, x as Oe, xt as ke, y as g, z as Ae, zt as je } from "./lib-CFm_J26b.js";
2
+ import { At as t, B as n, Bt as r, C as i, E as a, F as o, Gt as s, H as c, I as l, It as u, K as ee, Kt as d, M as te, N as ne, Nt as re, O as ie, Q as ae, R as oe, Rt as se, St as f, Tt as ce, U as le, V as ue, W as de, Wt as fe, Y as p, _ as pe, _t as me, a as he, at as m, bt as ge, c as _e, et as ve, g as ye, i as h, j as be, k as xe, n as Se, qt as Ce, r as we, s as Te, u as Ee, ut as De, x as Oe, xt as ke, y as g, z as Ae, zt as je } from "./lib-C-QGo8GG.js";
3
3
  import { n as Me, r as Ne, t as Pe } from "./useTimeLabels-B9CEuiLZ.js";
4
4
  import { t as Fe } from "./useConfig-C0V0eG7L.js";
5
- import { t as Ie } from "./usePrinter-BH-xle1O.js";
5
+ import { t as Ie } from "./usePrinter-C5ordS-4.js";
6
6
  import { n as Le, t as Re } from "./BaseScanner-DZvpgOjM.js";
7
7
  import { t as ze } from "./useSvgExport-Ba9qBr9M.js";
8
- import { t as Be } from "./useNestedProp-BY6DNN3i.js";
8
+ import { t as Be } from "./useNestedProp-BYfiWVP8.js";
9
9
  import { t as Ve } from "./useThemeCheck-C43Tcqmk.js";
10
10
  import { t as He } from "./useMountedDelay-BAjrhRJb.js";
11
11
  import { t as Ue } from "./useStableElementSize-C7KADDKj.js";
12
12
  import { t as We } from "./useTimeLabelCollider-AEcY4Ioe.js";
13
- import { t as Ge } from "./img-Bikk1dGb.js";
14
- import { n as Ke } from "./Title-BuPs74IB.js";
13
+ import { t as Ge } from "./img-zY7_pJz1.js";
14
+ import { n as Ke } from "./Title-Thf71-8D.js";
15
15
  import { t as qe } from "./vue_ui_xy-BA3-_LCx.js";
16
- import { t as Je } from "./Shape-BfnXr1nJ.js";
16
+ import { t as Je } from "./Shape-Dmh9jBFh.js";
17
17
  import { t as Ye } from "./_plugin-vue_export-helper-B3ysoDQm.js";
18
18
  import { t as Xe } from "./DefGrad-DVBqDjhO.js";
19
- import { t as Ze } from "./SlicerPreview-Cw6WMVhG.js";
20
- import { t as Qe } from "./vue-ui-accordion-UA88lv4d.js";
21
- import { t as $e } from "./BaseLegendToggle-DsWphmIb.js";
19
+ import { t as Ze } from "./SlicerPreview-CCIb3v8u.js";
20
+ import { t as Qe } from "./vue-ui-accordion-FimGHtuy.js";
21
+ import { t as $e } from "./BaseLegendToggle-DJU4VsLO.js";
22
22
  import { t as et } from "./A11yDataTable-DdRsVULz.js";
23
23
  import { Fragment as _, Teleport as tt, computed as v, createBlock as nt, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as rt, createTextVNode as it, createVNode as at, defineAsyncComponent as ot, getCurrentInstance as st, guardReactiveProps as ct, mergeProps as lt, nextTick as ut, normalizeClass as S, normalizeProps as C, normalizeStyle as w, onBeforeUnmount as dt, onMounted as ft, openBlock as T, ref as E, renderList as D, renderSlot as O, resolveDynamicComponent as pt, shallowRef as mt, toDisplayString as k, toRefs as ht, unref as A, useSlots as gt, vModelCheckbox as _t, watch as vt, watchEffect as yt, withCtx as j, withDirectives as bt } from "vue";
24
24
  //#region src/utils/xy.js
@@ -567,7 +567,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
567
567
  "copyAlt"
568
568
  ],
569
569
  setup(e, { expose: Ye, emit: At }) {
570
- let M = e, ci = ot(() => import("./DataTable-DzPEVvSo.js")), li = ot(() => import("./Tooltip-CA1rtSyl.js")), ui = ot(() => import("./UserOptions-DzAFK9cY.js").then((e) => e.n)), di = ot(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), fi = ot(() => import("./vue-ui-table-sparkline-C-XgNV1l.js").then((e) => e.n)), pi = ot(() => import("./PackageVersion-Di3tpYst.js").then((e) => e.t)), mi = ot(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), hi = ot(() => import("./BaseDraggableDialog-3n8udWmh.js").then((e) => e.n)), gi = At, _i = gt(), vi = st(), { vue_ui_xy: yi } = Fe(), { isThemeValid: bi, warnInvalidTheme: xi } = Ve(), { isReady: Si } = He(300), Ci = E(null), wi = E(null), Ti = E(null), Ei = E(null), Di = E(null), Oi = E(null), ki = E(null), Ai = E(null), ji = E(null), Mi = E(null), Ni = E(null), Pi = E(null), Fi = E(null), Ii = E(null), Li = E(0), N = E(null), Ri = E(!0), zi = E(600), P = E(1e3), Bi = E("0 0 1000 600"), Vi = E({
570
+ let M = e, ci = ot(() => import("./DataTable-rIsBpJMt.js")), li = ot(() => import("./Tooltip-CEbqzIhL.js")), ui = ot(() => import("./UserOptions-BknvMNU1.js").then((e) => e.n)), di = ot(() => import("./BaseIcon-DJbOzCDs.js").then((e) => e.n)), fi = ot(() => import("./vue-ui-table-sparkline-CyGqW88t.js").then((e) => e.n)), pi = ot(() => import("./PackageVersion-BUmadjVO.js").then((e) => e.t)), mi = ot(() => import("./PenAndPaper-D--sbRMA.js").then((e) => e.t)), hi = ot(() => import("./BaseDraggableDialog-hyW32gLf.js").then((e) => e.n)), gi = At, _i = gt(), vi = st(), { vue_ui_xy: yi } = Fe(), { isThemeValid: bi, warnInvalidTheme: xi } = Ve(), { isReady: Si } = He(300), Ci = E(null), wi = E(null), Ti = E(null), Ei = E(null), Di = E(null), Oi = E(null), ki = E(null), Ai = E(null), ji = E(null), Mi = E(null), Ni = E(null), Pi = E(null), Fi = E(null), Ii = E(null), Li = E(0), N = E(null), Ri = E(!0), zi = E(600), P = E(1e3), Bi = E("0 0 1000 600"), Vi = E({
571
571
  x: 0,
572
572
  y: 0
573
573
  }), Hi = E({
@@ -835,7 +835,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
835
835
  }
836
836
  function Qa() {
837
837
  if (G.value) {
838
- let e = $c.value.min, t = $c.value.max, n = Number(U.value.start), r = Number(U.value.end);
838
+ let e = el.value.min, t = el.value.max, n = Number(U.value.start), r = Number(U.value.end);
839
839
  Number.isFinite(n) || (n = e), Number.isFinite(r) || (r = t), n = Math.max(e, Math.min(n, t)), r = Math.max(n, Math.min(r, t)), r <= n && (n = e, r = t), U.value = {
840
840
  start: n,
841
841
  end: r
@@ -890,7 +890,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
890
890
  if (e == null) return null;
891
891
  let t = Number(e);
892
892
  return Number.isFinite(t) ? t : null;
893
- }), lo = v(() => oo.value !== null || co.value !== null), uo = v(() => Hc(bo.value.filter((e) => !Ji.value.has(e.id)), 0, 1)), fo = v(() => {
893
+ }), lo = v(() => oo.value !== null || co.value !== null), uo = v(() => Uc(bo.value.filter((e) => !Ji.value.has(e.id)), 0, 1)), fo = v(() => {
894
894
  let { min: e, max: t } = uo.value;
895
895
  if (!lo.value) {
896
896
  let t = e;
@@ -963,7 +963,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
963
963
  y: e.y === null ? null : e.y + mo.value
964
964
  })) : e.series.map((e) => e + mo.value),
965
965
  absoluteValues: G.value ? e.series.map((e) => e.y) : e.series,
966
- segregate: () => $s(e),
966
+ segregate: () => ec(e),
967
967
  isSegregated: Ji.value.has(e.id)
968
968
  }))), K = v(() => bo.value.map((e) => ({
969
969
  ...e,
@@ -988,24 +988,24 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
988
988
  };
989
989
  }
990
990
  function wo(e) {
991
- let t = zs(e);
991
+ let t = Bs(e);
992
992
  if (!t) {
993
- Z.value = [], Ls.value = null, la.value = null;
993
+ Z.value = [], Rs.value = null, la.value = null;
994
994
  return;
995
995
  }
996
- let n = Number(t.point.x), r = Rs.value.matchingPointsByXValue.get(n) || [];
996
+ let n = Number(t.point.x), r = zs.value.matchingPointsByXValue.get(n) || [];
997
997
  Z.value = r.map((e) => ({
998
998
  ...e,
999
999
  distance: 0
1000
- })), Ls.value = Qc({ x: n }), la.value = n;
1000
+ })), Rs.value = $c({ x: n }), la.value = n;
1001
1001
  }
1002
1002
  function To(e) {
1003
1003
  if (!Number.isFinite(Number(e))) {
1004
- Z.value = [], Ls.value = null;
1004
+ Z.value = [], Rs.value = null;
1005
1005
  return;
1006
1006
  }
1007
- let t = Qc({ x: Number(e) });
1008
- wo(t), Ls.value = t;
1007
+ let t = $c({ x: Number(e) });
1008
+ wo(t), Rs.value = t;
1009
1009
  }
1010
1010
  let Eo = E(0), Do = E(0);
1011
1011
  function Oo() {
@@ -1062,20 +1062,20 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1062
1062
  };
1063
1063
  }), Mo = v(() => {
1064
1064
  let e = +(V.value.chart.grid.position === "middle"), t = X.value + e, n = m(J.value?.top), r = m(J.value?.bottom);
1065
- return G.value ? V.value.chart.grid.position === "middle" ? Xc.value.map((e, t, i) => {
1065
+ return G.value ? V.value.chart.grid.position === "middle" ? Zc.value.map((e, t, i) => {
1066
1066
  if (t === 0) return null;
1067
1067
  let a = i[t - 1], o = a.x + (e.x - a.x) / 2;
1068
1068
  return `M${o},${n} L${o},${r}`;
1069
- }).filter(Boolean).join(" ") : Xc.value.map((e) => `M${e.x},${n} L${e.x},${r}`).join(" ") : Array.from({ length: t }).map((e, t) => {
1070
- let i = V.value.chart.grid.position === "middle" ? pc(t) : fc(t);
1069
+ }).filter(Boolean).join(" ") : Zc.value.map((e) => `M${e.x},${n} L${e.x},${r}`).join(" ") : Array.from({ length: t }).map((e, t) => {
1070
+ let i = V.value.chart.grid.position === "middle" ? mc(t) : pc(t);
1071
1071
  return `M${i},${n} L${i},${r}`;
1072
1072
  }).join(" ");
1073
1073
  }), No = v(() => {
1074
1074
  if (!V.value.chart.grid.labels.xAxis.showCrosshairs) return "";
1075
1075
  let e = V.value.chart.grid.labels.xAxis.crosshairSize, t = V.value.chart.grid.labels.xAxis.crosshairsAlwaysAtZero;
1076
- return (G.value ? Xc.value : qo.value).map((n, r) => {
1076
+ return (G.value ? Zc.value : qo.value).map((n, r) => {
1077
1077
  if (!n || !n.text) return null;
1078
- let i = G.value ? n.x : fc(r);
1078
+ let i = G.value ? n.x : pc(r);
1079
1079
  return `M${i},${t ? Es.value - (Es.value === J.value?.bottom ? 0 : e / 2) : J.value?.bottom} L${i},${t ? Es.value + e / (Es.value === J.value?.bottom ? 1 : 2) : J.value?.bottom + e}`;
1080
1080
  }).filter(Boolean).join(" ");
1081
1081
  });
@@ -1187,12 +1187,12 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1187
1187
  }
1188
1188
  function Zo(e) {
1189
1189
  if (!G.value || !f(e)) {
1190
- la.value = null, Z.value = [], Ls.value = null;
1190
+ la.value = null, Z.value = [], Rs.value = null;
1191
1191
  return;
1192
1192
  }
1193
1193
  la.value = Number(e), To(Number(e));
1194
1194
  }
1195
- let Qo = v(() => G.value ? f(la.value) || f(Ls.value) : ![null, void 0].includes(R.value) || ![null, void 0].includes(I.value));
1195
+ let Qo = v(() => G.value ? f(la.value) || f(Rs.value) : ![null, void 0].includes(R.value) || ![null, void 0].includes(I.value));
1196
1196
  function $o() {
1197
1197
  H.value.isStacked = !H.value.isStacked, H.value.isStacked ? H.value.useIndividualScale = !0 : H.value.useIndividualScale = V.value.chart.grid.labels.yAxis.useIndividualScale;
1198
1198
  }
@@ -1209,7 +1209,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1209
1209
  ns.value = !0;
1210
1210
  try {
1211
1211
  if (G.value) {
1212
- let e = $c.value.min, t = $c.value.max;
1212
+ let e = el.value.min, t = el.value.max;
1213
1213
  is.value = e, as.value = t, U.value.start = e, U.value.end = t, Ya.value.start = e, Ya.value.end = t, rs.value = !0, Ti.value && (Ti.value.setStartValue(e), Ti.value.setEndValue(t));
1214
1214
  return;
1215
1215
  }
@@ -1259,7 +1259,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1259
1259
  if (G.value) {
1260
1260
  let t = Number(e);
1261
1261
  if (!Number.isFinite(t)) return;
1262
- let n = Math.max(Number(U.value.start) + 1 / 10 ** V.value.chart.grid.labels.xAxis.rounding, Math.min(t, $c.value.max));
1262
+ let n = Math.max(Number(U.value.start) + 1 / 10 ** V.value.chart.grid.labels.xAxis.rounding, Math.min(t, el.value.max));
1263
1263
  if (gi("zoomEnd", {
1264
1264
  index: n,
1265
1265
  isZoom: Tt(n, as.value)
@@ -1318,9 +1318,9 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1318
1318
  let js = v(() => {
1319
1319
  let e = Math.max(1, X.value);
1320
1320
  return {
1321
- bar: Ot(Math.max(1, J.value.width), e * Oc.value, 1),
1322
- plot: uc.value,
1323
- line: uc.value
1321
+ bar: Ot(Math.max(1, J.value.width), e * kc.value, 1),
1322
+ plot: dc.value,
1323
+ line: dc.value
1324
1324
  };
1325
1325
  });
1326
1326
  function Ms() {
@@ -1330,6 +1330,9 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1330
1330
  return H.value.useIndividualScale && H.value.isStacked ? e.x + J.value.width / X.value * .05 : e.x + js.value.bar / 2;
1331
1331
  }
1332
1332
  function Ps(e) {
1333
+ return H.value.useIndividualScale && H.value.isStacked ? e.x + js.value.line / 2 : Ns(e) + Ms() / 2 - Pc.value / 2;
1334
+ }
1335
+ function Fs(e) {
1333
1336
  return e.value >= 0 ? e.y : [
1334
1337
  null,
1335
1338
  void 0,
@@ -1338,7 +1341,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1338
1341
  -Infinity
1339
1342
  ].includes(Es.value) ? J?.bottom.value : Es.value;
1340
1343
  }
1341
- function Fs(e) {
1344
+ function Is(e) {
1342
1345
  return e.value >= 0 ? e.y : [
1343
1346
  null,
1344
1347
  void 0,
@@ -1347,7 +1350,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1347
1350
  -Infinity
1348
1351
  ].includes(e.zeroPosition) ? 0 : e.zeroPosition;
1349
1352
  }
1350
- let Is = E(null), Z = E([]), Ls = E(null), Rs = v(() => {
1353
+ let Ls = E(null), Z = E([]), Rs = E(null), zs = v(() => {
1351
1354
  if (!G.value) return {
1352
1355
  sortedPoints: [],
1353
1356
  matchingPointsByXValue: /* @__PURE__ */ new Map()
@@ -1358,7 +1361,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1358
1361
  if (["line", "plot"].includes(i.type) && Array.isArray(i.series)) for (let r = 0; r < i.series.length; r += 1) {
1359
1362
  let a = i.series[r];
1360
1363
  if (!f(a?.x) || !f(a?.y)) continue;
1361
- let o = Number(a.x), s = Qc(a), c = {
1364
+ let o = Number(a.x), s = $c(a), c = {
1362
1365
  datapoint: i,
1363
1366
  point: a,
1364
1367
  index: r,
@@ -1378,8 +1381,8 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1378
1381
  matchingPointsByXValue: t
1379
1382
  };
1380
1383
  });
1381
- function zs(e) {
1382
- let t = Rs.value.sortedPoints;
1384
+ function Bs(e) {
1385
+ let t = zs.value.sortedPoints;
1383
1386
  if (!t.length) return null;
1384
1387
  let n = 0, r = t.length - 1;
1385
1388
  for (; n <= r;) {
@@ -1397,18 +1400,18 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1397
1400
  });
1398
1401
  }), a;
1399
1402
  }
1400
- let Bs = v(() => G.value ? Array.from(Rs.value.matchingPointsByXValue.keys()).sort((e, t) => Qc({ x: e }) - Qc({ x: t })) : []);
1401
- function Vs(e) {
1402
- let t = Bs.value[e];
1403
+ let Vs = v(() => G.value ? Array.from(zs.value.matchingPointsByXValue.keys()).sort((e, t) => $c({ x: e }) - $c({ x: t })) : []);
1404
+ function Hs(e) {
1405
+ let t = Vs.value[e];
1403
1406
  if (!f(t)) {
1404
- Z.value = [], Ls.value = null, la.value = null, Gi.value = !1;
1407
+ Z.value = [], Rs.value = null, la.value = null, Gi.value = !1;
1405
1408
  return;
1406
1409
  }
1407
1410
  To(Number(t));
1408
- let n = fe(Qc({ x: Number(t) }), J.value.top + J.value.height / 2, L.value);
1411
+ let n = fe($c({ x: Number(t) }), J.value.top + J.value.height / 2, L.value);
1409
1412
  n && (da.value = n), R.value = e, ua.value = e, Gi.value = !0;
1410
1413
  }
1411
- function Hs(e) {
1414
+ function Us(e) {
1412
1415
  let t = L.value;
1413
1416
  if (!t) return null;
1414
1417
  if (t.createSVGPoint && t.getScreenCTM) {
@@ -1436,46 +1439,46 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1436
1439
  ok: !0
1437
1440
  };
1438
1441
  }
1439
- let Us = 0;
1440
- function Ws(e) {
1441
- ua.value = null, !Ui.value && (Us && cancelAnimationFrame(Us), Us = requestAnimationFrame(() => {
1442
- Us = 0;
1443
- let t = Hs(e);
1442
+ let Ws = 0;
1443
+ function Gs(e) {
1444
+ ua.value = null, !Ui.value && (Ws && cancelAnimationFrame(Ws), Ws = requestAnimationFrame(() => {
1445
+ Ws = 0;
1446
+ let t = Us(e);
1444
1447
  if (!t || !L.value) {
1445
- Gs();
1448
+ Ks();
1446
1449
  return;
1447
1450
  }
1448
1451
  let { left: n, right: r, top: i, bottom: a } = J.value;
1449
1452
  if (t.x < n || t.x > r || t.y < i || t.y > a) {
1450
- Gs();
1453
+ Ks();
1451
1454
  return;
1452
1455
  }
1453
1456
  if (G.value) {
1454
- wo(t.x), Rl(!0, R.value ?? 0);
1457
+ wo(t.x), zl(!0, R.value ?? 0);
1455
1458
  return;
1456
1459
  }
1457
- let o = gc(t.x);
1458
- o == null ? Gs() : Is.value !== o && (Is.value = o, Rl(!0, o));
1460
+ let o = _c(t.x);
1461
+ o == null ? Ks() : Ls.value !== o && (Ls.value = o, zl(!0, o));
1459
1462
  }));
1460
1463
  }
1461
- function Gs() {
1462
- Us &&= (cancelAnimationFrame(Us), 0), Is.value = null, I.value = null, la.value = null, Rl(!1, null), Z.value = [], Ls.value = null;
1464
+ function Ks() {
1465
+ Ws &&= (cancelAnimationFrame(Ws), 0), Ls.value = null, I.value = null, la.value = null, zl(!1, null), Z.value = [], Rs.value = null;
1463
1466
  }
1464
- function Ks(e) {
1465
- let t = Hs(e);
1467
+ function qs(e) {
1468
+ let t = Us(e);
1466
1469
  if (t && L.value) {
1467
1470
  let { left: e, right: n, top: r, bottom: i } = J.value;
1468
1471
  if (t.x >= e && t.x <= n && t.y >= r && t.y <= i) {
1469
- let e = gc(t.x);
1472
+ let e = _c(t.x);
1470
1473
  if (e != null) {
1471
- qs(e);
1474
+ Js(e);
1472
1475
  return;
1473
1476
  }
1474
1477
  }
1475
1478
  }
1476
- Is.value != null && qs(Is.value);
1479
+ Ls.value != null && Js(Ls.value);
1477
1480
  }
1478
- function qs(e) {
1481
+ function Js(e) {
1479
1482
  let t = K.value.map((t) => ({
1480
1483
  name: t.name,
1481
1484
  value: [
@@ -1495,7 +1498,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1495
1498
  seriesIndex: e + U.value.start
1496
1499
  });
1497
1500
  }
1498
- function Js() {
1501
+ function Ys() {
1499
1502
  return xo.value.map((e) => ({
1500
1503
  values: e.absoluteValues,
1501
1504
  color: e.color,
@@ -1503,7 +1506,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1503
1506
  type: e.type
1504
1507
  }));
1505
1508
  }
1506
- async function Ys({ scale: e = 2 } = {}) {
1509
+ async function Xs({ scale: e = 2 } = {}) {
1507
1510
  if (!Ci.value) return;
1508
1511
  let { imageUri: t, base64: n } = await Ge({
1509
1512
  domElement: Ci.value,
@@ -1522,15 +1525,15 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1522
1525
  ...a
1523
1526
  };
1524
1527
  }
1525
- function Xs() {
1528
+ function Zs() {
1526
1529
  qi.value.length ? qi.value = [] : xo.value.forEach((e) => {
1527
1530
  qi.value.push(e.id);
1528
- }), Qs();
1531
+ }), $s();
1529
1532
  }
1530
- function Zs(e, t) {
1531
- (e.key === "Enter" || e.key === " ") && (e.preventDefault(), $s(t));
1533
+ function Qs(e, t) {
1534
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), ec(t));
1532
1535
  }
1533
- function Qs() {
1536
+ function $s() {
1534
1537
  gi("selectLegend", K.value.map((e) => ({
1535
1538
  name: e.name,
1536
1539
  values: e.absoluteValues,
@@ -1538,26 +1541,26 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1538
1541
  type: e.type
1539
1542
  })));
1540
1543
  }
1541
- function $s(e) {
1544
+ function ec(e) {
1542
1545
  if (cs.value = !1, us &&= (cancelAnimationFrame(us), null), Ji.value.has(e.id)) qi.value = qi.value.filter((t) => t !== e.id);
1543
1546
  else {
1544
1547
  if (qi.value.length + 1 === bo.value.length) return;
1545
1548
  qi.value.push(e.id);
1546
1549
  }
1547
- Qs(), $i.value += 1;
1548
- }
1549
- function ec(e) {
1550
- return xo.value.length ? xo.value.find((t) => t.name === e) || (V.value.debug && console.warn(`VueUiXy - Series name not found "${e}"`), null) : (V.value.debug && console.warn("VueUiXy - There are no series to show."), null);
1550
+ $s(), $i.value += 1;
1551
1551
  }
1552
1552
  function tc(e) {
1553
- let t = ec(e);
1554
- t !== null && Ji.value.has(t.id) && $s({ id: t.id });
1553
+ return xo.value.length ? xo.value.find((t) => t.name === e) || (V.value.debug && console.warn(`VueUiXy - Series name not found "${e}"`), null) : (V.value.debug && console.warn("VueUiXy - There are no series to show."), null);
1555
1554
  }
1556
1555
  function nc(e) {
1557
- let t = ec(e);
1558
- t !== null && (Ji.value.has(t.id) || $s({ id: t.id }));
1556
+ let t = tc(e);
1557
+ t !== null && Ji.value.has(t.id) && ec({ id: t.id });
1559
1558
  }
1560
- let rc = v(() => `${V.value.chart.title.text || "Chart visualization"}. ${V.value.chart.title.subtitle.text || ""}`), ic = v(() => ({ linePlot: X.value > V.value.line.dot.hideAboveMaxSerieLength })), ac = v(() => V.value.chart.userOptions.show && (!V.value.chart.title.show || !V.value.chart.title.text)), oc = v(() => {
1559
+ function rc(e) {
1560
+ let t = tc(e);
1561
+ t !== null && (Ji.value.has(t.id) || ec({ id: t.id }));
1562
+ }
1563
+ let ic = v(() => `${V.value.chart.title.text || "Chart visualization"}. ${V.value.chart.title.subtitle.text || ""}`), ac = v(() => ({ linePlot: X.value > V.value.line.dot.hideAboveMaxSerieLength })), oc = v(() => V.value.chart.userOptions.show && (!V.value.chart.title.show || !V.value.chart.title.text)), sc = v(() => {
1561
1564
  if (Array.isArray(V.value.chart.highlightArea)) return V.value.chart.highlightArea.map((e) => {
1562
1565
  let t = Math.min(e.to, Ja.value - 1);
1563
1566
  return {
@@ -1573,12 +1576,12 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1573
1576
  ...e,
1574
1577
  span: e.from === e.to ? 1 : e.to < e.from ? 0 : e.to - e.from + 1
1575
1578
  }];
1576
- }), sc = v(() => Ri.value ? Va.value.map((e, t) => ({
1579
+ }), cc = v(() => Ri.value ? Va.value.map((e, t) => ({
1577
1580
  ...e,
1578
1581
  series: Wa(e.series),
1579
1582
  id: `uniqueId_${t}`,
1580
1583
  color: Oe(e.color ? e.color : ao.value[t] ? ao.value[t] : re[t])
1581
- })) : Va.value), cc = v(() => K.value.map((e) => {
1584
+ })) : Va.value), lc = v(() => K.value.map((e) => {
1582
1585
  let t = e.absoluteValues.map((e) => [void 0, null].includes(e) ? null : e);
1583
1586
  return {
1584
1587
  id: e.id,
@@ -1586,7 +1589,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1586
1589
  color: e.color,
1587
1590
  values: St(X.value, t)
1588
1591
  };
1589
- })), lc = v(() => ({
1592
+ })), uc = v(() => ({
1590
1593
  responsiveBreakpoint: V.value.table.responsiveBreakpoint,
1591
1594
  roundingValues: V.value.table.rounding,
1592
1595
  showAverage: !1,
@@ -1595,7 +1598,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1595
1598
  fontFamily: V.value.chart.fontFamily,
1596
1599
  prefix: V.value.chart.labels.prefix,
1597
1600
  suffix: V.value.chart.labels.suffix,
1598
- colNames: Y.value.map((e, t) => V.value.table.useDefaultTimeFormat ? e.text : bl.value(t + U.value.start, V.value.table.timeFormat)),
1601
+ colNames: Y.value.map((e, t) => V.value.table.useDefaultTimeFormat ? e.text : xl.value(t + U.value.start, V.value.table.timeFormat)),
1599
1602
  thead: {
1600
1603
  backgroundColor: V.value.table.th.backgroundColor,
1601
1604
  color: V.value.table.th.color,
@@ -1611,46 +1614,46 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1611
1614
  animation: { show: !1 },
1612
1615
  cutNullValues: V.value.line.cutNullValues
1613
1616
  }
1614
- })), uc = v(() => {
1617
+ })), dc = v(() => {
1615
1618
  let e = Math.max(0, J.value?.width || 0);
1616
1619
  return V.value.chart.grid.position === "middle" ? Ot(e, Math.max(1, X.value), 1) : Ot(e, Math.max(1, X.value - 1), 0);
1617
- }), dc = v(() => V.value.chart.grid.position === "middle" ? uc.value : X.value <= 1 ? Math.max(0, J.value?.width || 0) : uc.value);
1618
- function fc(e) {
1619
- let t = J.value?.left || 0;
1620
- return V.value.chart.grid.position === "middle" ? t + uc.value / 2 + uc.value * e : t + uc.value * e;
1621
- }
1620
+ }), fc = v(() => V.value.chart.grid.position === "middle" ? dc.value : X.value <= 1 ? Math.max(0, J.value?.width || 0) : dc.value);
1622
1621
  function pc(e) {
1623
1622
  let t = J.value?.left || 0;
1624
- return V.value.chart.grid.position === "middle" ? t + uc.value * e : X.value <= 1 ? t : t + uc.value * e - uc.value / 2;
1623
+ return V.value.chart.grid.position === "middle" ? t + dc.value / 2 + dc.value * e : t + dc.value * e;
1625
1624
  }
1626
1625
  function mc(e) {
1627
- return Math.max(J.value?.left || 0, pc(e));
1626
+ let t = J.value?.left || 0;
1627
+ return V.value.chart.grid.position === "middle" ? t + dc.value * e : X.value <= 1 ? t : t + dc.value * e - dc.value / 2;
1628
1628
  }
1629
1629
  function hc(e) {
1630
- let t = J.value?.left || 0, n = J.value?.right || 0, r = pc(e), i = r + dc.value;
1631
- return Math.max(1e-5, Math.min(n, i) - Math.max(t, r));
1630
+ return Math.max(J.value?.left || 0, mc(e));
1632
1631
  }
1633
1632
  function gc(e) {
1633
+ let t = J.value?.left || 0, n = J.value?.right || 0, r = mc(e), i = r + fc.value;
1634
+ return Math.max(1e-5, Math.min(n, i) - Math.max(t, r));
1635
+ }
1636
+ function _c(e) {
1634
1637
  let t = J.value?.left || 0, n = J.value?.right || 0, r = X.value;
1635
1638
  if (r <= 0 || e < t || e > n) return null;
1636
- let i = uc.value;
1639
+ let i = dc.value;
1637
1640
  if (i <= 0) return 0;
1638
1641
  let a;
1639
1642
  return a = V.value.chart.grid.position === "middle" ? Math.ceil((e - t) / i) - 1 : r <= 1 ? 0 : Math.ceil((e - t) / i - .5), a < 0 ? 0 : a >= r ? r - 1 : a;
1640
1643
  }
1641
- function _c(e) {
1642
- let t = J.value?.left || 0, n = J.value?.right || 0, r = pc(e), i = r + dc.value;
1644
+ function vc(e) {
1645
+ let t = J.value?.left || 0, n = J.value?.right || 0, r = mc(e), i = r + fc.value;
1643
1646
  return Math.max(1e-5, Math.min(n, i) - Math.max(t, r));
1644
1647
  }
1645
- function vc(e) {
1646
- return Math.max(1e-5, dc.value * e);
1648
+ function yc(e) {
1649
+ return Math.max(1e-5, fc.value * e);
1647
1650
  }
1648
- let yc = v(() => he(xo.value.filter((e) => !Ji.value.has(e.id)))), bc = [
1651
+ let bc = v(() => he(xo.value.filter((e) => !Ji.value.has(e.id)))), xc = [
1649
1652
  "bar",
1650
1653
  "line",
1651
1654
  "plot"
1652
- ], xc = v(() => yc.value.filter((e) => bc.includes(e.type))), Sc = v(() => xc.value.length), Cc = v(() => xc.value.filter((e) => e.type === "bar")), wc = v(() => xc.value.filter((e) => e.type === "line")), Tc = v(() => xc.value.filter((e) => e.type === "plot")), Ec = v(() => bo.value.filter((e) => e.type === "bar" && !Ji.value.has(e.id))), Dc = v(() => Ec.value.length), Oc = v(() => Math.max(1, Dc.value)), kc = v(() => {
1653
- let e = Ct(yc.value, (e) => e.scaleLabel), t = {};
1655
+ ], Sc = v(() => bc.value.filter((e) => xc.includes(e.type))), Cc = v(() => Sc.value.length), wc = v(() => Sc.value.filter((e) => e.type === "bar")), Tc = v(() => Sc.value.filter((e) => e.type === "line")), Ec = v(() => Sc.value.filter((e) => e.type === "plot")), Dc = v(() => bo.value.filter((e) => e.type === "bar" && !Ji.value.has(e.id))), Oc = v(() => Dc.value.length), kc = v(() => Math.max(1, Oc.value)), Ac = v(() => {
1656
+ let e = Ct(bc.value, (e) => e.scaleLabel), t = {};
1654
1657
  for (let [n, r] of Object.entries(e)) {
1655
1658
  let e = Infinity, i = -Infinity, a = !1;
1656
1659
  for (let t = 0; t < r.length; t += 1) {
@@ -1668,18 +1671,18 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1668
1671
  t[n] = {
1669
1672
  min: a ? e : 0,
1670
1673
  max: a ? i : 1,
1671
- groupId: Kc("scale_group", [n])
1674
+ groupId: qc("scale_group", [n])
1672
1675
  };
1673
1676
  }
1674
1677
  return t;
1675
- }), Ac = v(() => yc.value.reduce((e, t) => {
1678
+ }), jc = v(() => bc.value.reduce((e, t) => {
1676
1679
  let n = t.scaleLabel || "";
1677
1680
  return e[n] = (e[n] || 0) + 1, e;
1678
1681
  }, {}));
1679
- function jc({ datapoint: e, scaleYLabels: t, autoScaleYLabels: n, zeroPosition: r, autoScaleZeroPosition: i, individualMax: a, autoScaleMax: o, yOffset: s, individualHeight: c }) {
1682
+ function Mc({ datapoint: e, scaleYLabels: t, autoScaleYLabels: n, zeroPosition: r, autoScaleZeroPosition: i, individualMax: a, autoScaleMax: o, yOffset: s, individualHeight: c }) {
1680
1683
  let l = e.scaleLabel || "";
1681
1684
  return {
1682
- ...kc.value[l] || {},
1685
+ ...Ac.value[l] || {},
1683
1686
  name: e.name,
1684
1687
  groupName: l,
1685
1688
  groupColor: V.value.chart.grid.labels.yAxis.groupColor || e.color,
@@ -1692,12 +1695,12 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1692
1695
  yOffset: s,
1693
1696
  individualHeight: c,
1694
1697
  autoScaleYLabels: n,
1695
- unique: Ac.value[l] === 1
1698
+ unique: jc.value[l] === 1
1696
1699
  };
1697
1700
  }
1698
- let Mc = v(() => J.value.width / X.value / Dc.value - Nc.value * Dc.value), Nc = v(() => js.value.line * V.value.bar.periodGap), Pc = v(() => Math.max(1e-5, Ms() - (H.value.useIndividualScale && H.value.isStacked ? 0 : Nc.value))), Fc = v(() => Pc.value * Math.min(Math.abs(V.value.bar.innerGap), .95)), Ic = v(() => {
1701
+ let Nc = v(() => J.value.width / X.value / Oc.value - Pc.value * Oc.value), Pc = v(() => js.value.line * V.value.bar.periodGap), Fc = v(() => Math.max(1e-5, Ms() - (H.value.useIndividualScale && H.value.isStacked ? 0 : Pc.value))), Ic = v(() => Fc.value * Math.min(Math.abs(V.value.bar.innerGap), .95)), Lc = v(() => {
1699
1702
  if (!V.value.chart.zoom.minimap.show) return [];
1700
- let e = sc.value.filter((e) => !Ji.value.has(e.id)), t = 0;
1703
+ let e = cc.value.filter((e) => !Ji.value.has(e.id)), t = 0;
1701
1704
  for (let n = 0; n < e.length; n += 1) {
1702
1705
  let r = e[n].series.length;
1703
1706
  r > t && (t = r);
@@ -1708,12 +1711,12 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1708
1711
  for (let n = 0; n < e.length; n += 1) t += e[n].series[r] || 0;
1709
1712
  n.push(t);
1710
1713
  }
1711
- let r = Wc(n, 0, 1).min;
1714
+ let r = Gc(n, 0, 1).min;
1712
1715
  return n.map((e) => e + (r < 0 ? Math.abs(r) : 0));
1713
- }), Lc = v(() => V.value.chart.zoom.minimap.show ? sc.value.map((e) => ({
1716
+ }), Rc = v(() => V.value.chart.zoom.minimap.show ? cc.value.map((e) => ({
1714
1717
  ...e,
1715
1718
  isVisible: !Ji.value.has(e.id)
1716
- })) : []), Rc = v(() => G.value ? Z.value.map((e) => ({
1719
+ })) : []), zc = v(() => G.value ? Z.value.map((e) => ({
1717
1720
  slotAbsoluteIndex: e.datapoint.slotAbsoluteIndex,
1718
1721
  shape: e.datapoint.shape || e.datapoint.type === "bar" ? "square" : "circle",
1719
1722
  name: e.datapoint.name,
@@ -1734,7 +1737,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1734
1737
  comments: e.comments || [],
1735
1738
  prefix: e.prefix || V.value.chart.labels.prefix,
1736
1739
  suffix: e.suffix || V.value.chart.labels.suffix
1737
- }))), zc = v(() => W.value.ticks.map((e) => {
1740
+ }))), Bc = v(() => W.value.ticks.map((e) => {
1738
1741
  let t = e >= 0 ? Es.value - J.value.height * ys(e) : Es.value + J.value.height * ys(Math.abs(e));
1739
1742
  return {
1740
1743
  y: bs.value ? J.value.top + J.value.bottom - t : t,
@@ -1742,7 +1745,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1742
1745
  prefix: V.value.chart.labels.prefix,
1743
1746
  suffix: V.value.chart.labels.suffix
1744
1747
  };
1745
- })), Bc = v(() => {
1748
+ })), Vc = v(() => {
1746
1749
  let e = V.value.chart.annotations;
1747
1750
  if (!e || !Array.isArray(e) || e.every((e) => !e.show)) return [];
1748
1751
  let t = e.filter((e) => e.show && (e.yAxis.yTop != null || e.yAxis.yBottom != null));
@@ -1763,7 +1766,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1763
1766
  u,
1764
1767
  ae
1765
1768
  ].includes(NaN),
1766
- id: Kc("annotation_y", [
1769
+ id: qc("annotation_y", [
1767
1770
  t,
1768
1771
  i,
1769
1772
  a,
@@ -1794,11 +1797,11 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1794
1797
  };
1795
1798
  });
1796
1799
  });
1797
- function Vc(e, t) {
1800
+ function Hc(e, t) {
1798
1801
  let n = e[t - 1], r = e[t + 1], i = !!n && !!r && n.value == null && r.value == null || !n && !!r && r.value == null || !!n && !r && n.value == null;
1799
1802
  return xt(e[t].value) && i && V.value.line.cutNullValues;
1800
1803
  }
1801
- function Hc(e, t = 0, n = 1) {
1804
+ function Uc(e, t = 0, n = 1) {
1802
1805
  let r = Infinity, i = -Infinity, a = !1;
1803
1806
  for (let t = 0; t < e.length; t += 1) {
1804
1807
  let n = e[t];
@@ -1815,7 +1818,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1815
1818
  max: n
1816
1819
  };
1817
1820
  }
1818
- function Uc(e, t = 0, n = 1) {
1821
+ function Wc(e, t = 0, n = 1) {
1819
1822
  let r = Infinity, i = -Infinity, a = !1;
1820
1823
  for (let t = 0; t < e.length; t += 1) {
1821
1824
  let n = e[t];
@@ -1834,7 +1837,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1834
1837
  max: n
1835
1838
  };
1836
1839
  }
1837
- function Wc(e, t = 0, n = 1) {
1840
+ function Gc(e, t = 0, n = 1) {
1838
1841
  if (!Array.isArray(e) || e.length === 0) return {
1839
1842
  min: t,
1840
1843
  max: n
@@ -1853,26 +1856,26 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1853
1856
  max: i
1854
1857
  };
1855
1858
  }
1856
- function Gc(e) {
1859
+ function Kc(e) {
1857
1860
  let t = String(e ?? ""), n = 0;
1858
1861
  for (let e = 0; e < t.length; e += 1) n = (n << 5) - n + t.charCodeAt(e), n |= 0;
1859
1862
  return Math.abs(n).toString(36);
1860
1863
  }
1861
- function Kc(e, t) {
1862
- return `${e}_${Gc(t.join("|"))}`;
1864
+ function qc(e, t) {
1865
+ return `${e}_${Kc(t.join("|"))}`;
1863
1866
  }
1864
- function qc() {
1867
+ function Jc() {
1865
1868
  return Ba.value || cs.value || !V.value.line.showTransition ? void 0 : `all ${V.value.line.transitionDurationMs}ms ease-in-out`;
1866
1869
  }
1867
- let Jc = v(() => Uc(bo.value, 0, 1)), Yc = v(() => {
1868
- let e = V.value.chart.grid.labels.xAxis.commonScaleSteps, t = V.value.chart.grid.labels.xAxis.scaleMin, n = V.value.chart.grid.labels.xAxis.scaleMax, r = t !== null && Number.isFinite(Number(t)) ? Number(t) : Jc.value.min, i = n !== null && Number.isFinite(Number(n)) ? Number(n) : Jc.value.max, a = V.value.chart.grid.labels.xAxis.useNiceScale ? ye(r, i, e) : pe(r, i, e);
1870
+ let Yc = v(() => Wc(bo.value, 0, 1)), Xc = v(() => {
1871
+ let e = V.value.chart.grid.labels.xAxis.commonScaleSteps, t = V.value.chart.grid.labels.xAxis.scaleMin, n = V.value.chart.grid.labels.xAxis.scaleMax, r = t !== null && Number.isFinite(Number(t)) ? Number(t) : Yc.value.min, i = n !== null && Number.isFinite(Number(n)) ? Number(n) : Yc.value.max, a = V.value.chart.grid.labels.xAxis.useNiceScale ? ye(r, i, e) : pe(r, i, e);
1869
1872
  if (V.value.chart.grid.position !== "start") return a;
1870
1873
  let o = a.ticks.length > 1 ? a.ticks[1] - a.ticks[0] : 1;
1871
1874
  return {
1872
1875
  ...a,
1873
1876
  max: a.max + o
1874
1877
  };
1875
- }), Xc = v(() => G.value ? (ws.value ? [...Yc.value.ticks].reverse() : [...Yc.value.ticks]).map((e, t) => ({
1878
+ }), Zc = v(() => G.value ? (ws.value ? [...Xc.value.ticks].reverse() : [...Xc.value.ticks]).map((e, t) => ({
1876
1879
  id: `continuous_x_label_${t}`,
1877
1880
  text: h(V.value.chart.grid.labels.xAxis.formatter, e, p({
1878
1881
  v: e,
@@ -1884,24 +1887,24 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1884
1887
  seriesIndex: t
1885
1888
  }),
1886
1889
  value: e,
1887
- x: Qc({ x: e }),
1890
+ x: $c({ x: e }),
1888
1891
  index: t
1889
1892
  })) : qo.value);
1890
- function Zc(e, t) {
1891
- return G.value ? e.x : fc(t);
1893
+ function Qc(e, t) {
1894
+ return G.value ? e.x : pc(t);
1892
1895
  }
1893
- function Qc({ x: e }) {
1894
- let t = Yc.value.max - Yc.value.min || 1, n = Ts((e - Yc.value.min) / t);
1896
+ function $c({ x: e }) {
1897
+ let t = Xc.value.max - Xc.value.min || 1, n = Ts((e - Xc.value.min) / t);
1895
1898
  return J.value.left + J.value.width * n;
1896
1899
  }
1897
- let $c = v(() => Uc(Va.value, 0, 1)), el = v(() => G.value ? $c.value.min : 0), tl = v(() => G.value ? $c.value.max : Ja.value);
1898
- function nl(e, t) {
1899
- return G.value ? e.x == null || e.y == null ? null : Qc(e) : fc(t);
1900
+ let el = v(() => Wc(Va.value, 0, 1)), tl = v(() => G.value ? el.value.min : 0), nl = v(() => G.value ? el.value.max : Ja.value);
1901
+ function rl(e, t) {
1902
+ return G.value ? e.x == null || e.y == null ? null : $c(e) : pc(t);
1900
1903
  }
1901
- function rl(e) {
1904
+ function il(e) {
1902
1905
  return !G.value || !e ? null : e.x ?? null;
1903
1906
  }
1904
- function il({ datapoint: e, totalSeries: t, gap: n, usableHeight: r, autoScaleValueMin: i, autoScaleValueMax: a, individualExtremes: o, forceExactScale: s = !1 }) {
1907
+ function al({ datapoint: e, totalSeries: t, gap: n, usableHeight: r, autoScaleValueMin: i, autoScaleValueMax: a, individualExtremes: o, forceExactScale: s = !1 }) {
1905
1908
  let c = e.scaleSteps || V.value.chart.grid.labels.yAxis.commonScaleSteps, l = 1.0000001, u = s || !V.value.chart.grid.labels.yAxis.useNiceScale ? pe : ye, ee = o.max === o.min ? o.max * l : o.max, d = a === i ? a * l : a, te = u(o.min, ee, c), ne = u(i, d, c), re = te.min >= 0 ? 0 : Math.abs(te.min), ie = te.max + Math.abs(re), ae = ne.max + 0, oe = e.stackIndex, se = t - 1 - oe, f = H.value.isStacked ? 1 - e.cumulatedStackRatio : 0, ce = H.value.isStacked ? r * f + n * se : 0, le = H.value.isStacked ? r * e.stackRatio : J.value.height;
1906
1909
  return {
1907
1910
  scaleSteps: c,
@@ -1917,25 +1920,25 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1917
1920
  autoScaleZeroPosition: J.value?.bottom - ce - le * 0 / ae
1918
1921
  };
1919
1922
  }
1920
- function al({ datapoint: e, clampNegativeAutoScaleMaximum: t = !1 }) {
1921
- let n = kc.value[e.scaleLabel], r = n.min, i = n.max;
1923
+ function ol({ datapoint: e, clampNegativeAutoScaleMaximum: t = !1 }) {
1924
+ let n = Ac.value[e.scaleLabel], r = n.min, i = n.max;
1922
1925
  return {
1923
1926
  ratios: e.absoluteValues.filter((e) => ![null, void 0].includes(e)).map((e) => (e - r) / (i - r)),
1924
1927
  valueMin: r,
1925
1928
  valueMax: t && i < 0 ? 0 : i
1926
1929
  };
1927
1930
  }
1928
- function ol({ datapoint: e, filterMinimumValues: t = !1, preserveLooseMinimumExpression: n = !1 }) {
1929
- let r = Wc(e.absoluteValues, 0, 1), i = Wc(t ? e.absoluteValues.filter((e) => ![null, void 0].includes(e)) : e.absoluteValues, 0, 1).min;
1931
+ function sl({ datapoint: e, filterMinimumValues: t = !1, preserveLooseMinimumExpression: n = !1 }) {
1932
+ let r = Gc(e.absoluteValues, 0, 1), i = Gc(t ? e.absoluteValues.filter((e) => ![null, void 0].includes(e)) : e.absoluteValues, 0, 1).min;
1930
1933
  return {
1931
1934
  max: e.scaleMax || r.max || 1,
1932
1935
  min: n ? e.scaleMin || i > 0 ? 0 : i : e.scaleMin || (i > 0 ? 0 : i)
1933
1936
  };
1934
1937
  }
1935
- function sl({ values: e, autoScaleSteps: t }) {
1938
+ function cl({ values: e, autoScaleSteps: t }) {
1936
1939
  return e.map((e) => t.min >= 0 ? (e - Math.abs(t.min)) / (t.max - Math.abs(t.min)) : (e + Math.abs(t.min)) / (t.max + Math.abs(t.min)));
1937
1940
  }
1938
- function cl({ datapoint: e, individualScale: t, yOffset: n, individualHeight: r }) {
1941
+ function ll({ datapoint: e, individualScale: t, yOffset: n, individualHeight: r }) {
1939
1942
  return t.ticks.map((i) => ({
1940
1943
  y: Cs({
1941
1944
  value: i,
@@ -1950,7 +1953,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1950
1953
  datapoint: e
1951
1954
  }));
1952
1955
  }
1953
- function ll({ datapoint: e, autoScaleSteps: t, yOffset: n, individualHeight: r }) {
1956
+ function ul({ datapoint: e, autoScaleSteps: t, yOffset: n, individualHeight: r }) {
1954
1957
  return t.ticks.map((i) => ({
1955
1958
  y: Ss({
1956
1959
  ratio: (i - t.min) / (t.max - t.min || 1),
@@ -1963,16 +1966,16 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1963
1966
  datapoint: e
1964
1967
  }));
1965
1968
  }
1966
- function ul({ datapoint: e, totalSeries: t, gap: n, usableHeight: r, forceExactScale: i = !1, clampNegativeAutoScaleMaximum: a = !1, filterMinimumValues: o = !1, preserveLooseMinimumExpression: s = !1 }) {
1969
+ function dl({ datapoint: e, totalSeries: t, gap: n, usableHeight: r, forceExactScale: i = !1, clampNegativeAutoScaleMaximum: a = !1, filterMinimumValues: o = !1, preserveLooseMinimumExpression: s = !1 }) {
1967
1970
  es(e);
1968
- let c = al({
1971
+ let c = ol({
1969
1972
  datapoint: e,
1970
1973
  clampNegativeAutoScaleMaximum: a
1971
- }), l = ol({
1974
+ }), l = sl({
1972
1975
  datapoint: e,
1973
1976
  filterMinimumValues: o,
1974
1977
  preserveLooseMinimumExpression: s
1975
- }), u = il({
1978
+ }), u = al({
1976
1979
  datapoint: e,
1977
1980
  totalSeries: t,
1978
1981
  gap: n,
@@ -1985,35 +1988,35 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
1985
1988
  return {
1986
1989
  autoScale: c,
1987
1990
  individualExtremes: l,
1988
- scaleYLabels: cl({
1991
+ scaleYLabels: ll({
1989
1992
  datapoint: e,
1990
1993
  individualScale: u.individualScale,
1991
1994
  yOffset: u.yOffset,
1992
1995
  individualHeight: u.individualHeight
1993
1996
  }),
1994
- autoScaleYLabels: ll({
1997
+ autoScaleYLabels: ul({
1995
1998
  datapoint: e,
1996
1999
  autoScaleSteps: u.autoScaleSteps,
1997
2000
  yOffset: u.yOffset,
1998
2001
  individualHeight: u.individualHeight
1999
2002
  }),
2000
- autoScaleRatiosToNiceScale: sl({
2003
+ autoScaleRatiosToNiceScale: cl({
2001
2004
  values: e.absoluteValues,
2002
2005
  autoScaleSteps: u.autoScaleSteps
2003
2006
  }),
2004
2007
  ...u
2005
2008
  };
2006
2009
  }
2007
- function dl(e) {
2010
+ function fl(e) {
2008
2011
  return Array.isArray(e) ? e.slice(U.value.start, U.value.end) : [];
2009
2012
  }
2010
- function fl(e, t) {
2013
+ function pl(e, t) {
2011
2014
  return Array.isArray(e) && e[t + U.value.start] || "";
2012
2015
  }
2013
- let pl = v(() => {
2014
- let e = Sc.value, t = V.value.chart.grid.labels.yAxis.gap, n = H.value.isStacked ? t * (e - 1) : 0, r = J.value.height - n;
2015
- return Cc.value.map((n, i) => {
2016
- let { individualScale: a, autoScaleSteps: o, individualZero: s, individualMax: c, autoScaleMax: l, yOffset: u, individualHeight: ee, zeroPosition: d, autoScaleZeroPosition: te, scaleYLabels: ne, autoScaleYLabels: re, autoScaleRatiosToNiceScale: ie } = ul({
2016
+ let ml = v(() => {
2017
+ let e = Cc.value, t = V.value.chart.grid.labels.yAxis.gap, n = H.value.isStacked ? t * (e - 1) : 0, r = J.value.height - n;
2018
+ return wc.value.map((n, i) => {
2019
+ let { individualScale: a, autoScaleSteps: o, individualZero: s, individualMax: c, autoScaleMax: l, yOffset: u, individualHeight: ee, zeroPosition: d, autoScaleZeroPosition: te, scaleYLabels: ne, autoScaleYLabels: re, autoScaleRatiosToNiceScale: ie } = dl({
2017
2020
  datapoint: n,
2018
2021
  totalSeries: e,
2019
2022
  gap: t,
@@ -2021,8 +2024,8 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2021
2024
  clampNegativeAutoScaleMaximum: !0,
2022
2025
  filterMinimumValues: !0,
2023
2026
  preserveLooseMinimumExpression: !0
2024
- }), ae = Dc.value, oe = dl(n.comments), se = n.series.map((e, t) => {
2025
- let r = H.value.useIndividualScale ? (n.absoluteValues[t] + s) / c : ys(e), a = H.value.useIndividualScale && H.value.isStacked ? J.value?.left + J.value.width / X.value * t : J.value?.left + js.value.bar * i + js.value.bar * t * ae - Mc.value / 2 - i * Nc.value;
2027
+ }), ae = Oc.value, oe = fl(n.comments), se = n.series.map((e, t) => {
2028
+ let r = H.value.useIndividualScale ? (n.absoluteValues[t] + s) / c : ys(e), a = H.value.useIndividualScale && H.value.isStacked ? J.value?.left + J.value.width / X.value * t : J.value?.left + js.value.bar * i + js.value.bar * t * ae - Nc.value / 2 - i * Pc.value;
2026
2029
  return {
2027
2030
  yOffset: g(u),
2028
2031
  individualHeight: g(ee),
@@ -2053,7 +2056,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2053
2056
  individualMax: g(c),
2054
2057
  comment: oe[t] || ""
2055
2058
  };
2056
- }), ce = jc({
2059
+ }), ce = Mc({
2057
2060
  datapoint: n,
2058
2061
  scaleYLabels: ne,
2059
2062
  autoScaleYLabels: re,
@@ -2079,27 +2082,27 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2079
2082
  };
2080
2083
  });
2081
2084
  }), Q = v(() => {
2082
- let e = Sc.value, t = V.value.chart.grid.labels.yAxis.gap, r = H.value.isStacked ? t * (e - 1) : 0, i = J.value.height - r;
2083
- return wc.value.map((r, a) => {
2084
- let { individualScale: s, autoScaleSteps: u, individualZero: ee, individualMax: d, autoScaleMax: re, yOffset: ae, individualHeight: oe, zeroPosition: se, autoScaleZeroPosition: f, scaleYLabels: ce, autoScaleYLabels: le, autoScaleRatiosToNiceScale: de } = ul({
2085
+ let e = Cc.value, t = V.value.chart.grid.labels.yAxis.gap, r = H.value.isStacked ? t * (e - 1) : 0, i = J.value.height - r;
2086
+ return Tc.value.map((r, a) => {
2087
+ let { individualScale: s, autoScaleSteps: u, individualZero: ee, individualMax: d, autoScaleMax: re, yOffset: ae, individualHeight: oe, zeroPosition: se, autoScaleZeroPosition: f, scaleYLabels: ce, autoScaleYLabels: le, autoScaleRatiosToNiceScale: de } = dl({
2085
2088
  datapoint: r,
2086
2089
  totalSeries: e,
2087
2090
  gap: t,
2088
2091
  usableHeight: i
2089
- }), fe = dl(r.comments), p = r.series.map((e, t) => {
2092
+ }), fe = fl(r.comments), p = r.series.map((e, t) => {
2090
2093
  if (G.value && (e.x == null || e.y == null)) return {
2091
2094
  index: t,
2092
2095
  x: null,
2093
2096
  y: null,
2094
2097
  value: null,
2095
- datasetXValue: rl(e),
2098
+ datasetXValue: il(e),
2096
2099
  comment: r.comments && r.comments.slice(U.value.start, U.value.end)[t] || ""
2097
2100
  };
2098
2101
  let n = H.value.useIndividualScale ? (r.absoluteValues[t] + Math.abs(ee)) / d : ys(yo(e));
2099
2102
  return {
2100
2103
  index: t,
2101
- x: g(nl(e, t)),
2102
- datasetXValue: rl(e),
2104
+ x: g(rl(e, t)),
2105
+ datasetXValue: il(e),
2103
2106
  y: g(Ss({
2104
2107
  ratio: n,
2105
2108
  yOffset: ae,
@@ -2112,19 +2115,19 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2112
2115
  index: t,
2113
2116
  x: null,
2114
2117
  y: null,
2115
- datasetXValue: rl(e),
2118
+ datasetXValue: il(e),
2116
2119
  value: null,
2117
2120
  comment: fe[t] || ""
2118
2121
  } : [void 0, null].includes(r.absoluteValues[t]) ? {
2119
2122
  index: t,
2120
- x: g(nl(e, t)),
2123
+ x: g(rl(e, t)),
2121
2124
  y: se,
2122
2125
  value: r.absoluteValues[t],
2123
2126
  comment: fe[t] || ""
2124
2127
  } : {
2125
2128
  index: t,
2126
- x: g(nl(e, t)),
2127
- datasetXValue: rl(e),
2129
+ x: g(rl(e, t)),
2130
+ datasetXValue: il(e),
2128
2131
  y: g(Ss({
2129
2132
  ratio: de[t] || 0,
2130
2133
  yOffset: ae,
@@ -2132,7 +2135,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2132
2135
  })),
2133
2136
  value: r.absoluteValues[t],
2134
2137
  comment: fe[t] || ""
2135
- }), me = r.dashIndices && Array.isArray(r.dashIndices) && r?.dashIndices?.length > 0, he = V.value.line.cutNullValues ? o(p) : ne(p.filter((e) => e.value !== null)), m = V.value.line.cutNullValues ? o(pe) : ne(pe.filter((e) => e.value !== null)), ge = V.value.line.cutNullValues ? ue(p) : n(p.filter((e) => e.value !== null)), _e = V.value.line.cutNullValues ? ue(pe) : n(pe.filter((e) => e.value !== null)), ve = Ae(V.value.line.cutNullValues ? p : p.filter((e) => e.value !== null)), ye = Ae(V.value.line.cutNullValues ? pe : pe.filter((e) => e.value !== null)), h = me ? c(V.value.line.cutNullValues ? p : p.filter((e) => e.value !== null), r.dashIndices.map((e) => e - U.value.start)) : [], be = me ? l(V.value.line.cutNullValues ? p : p.filter((e) => e.value !== null), r.dashIndices.map((e) => e - U.value.start)) : [], Se = jc({
2138
+ }), me = r.dashIndices && Array.isArray(r.dashIndices) && r?.dashIndices?.length > 0, he = V.value.line.cutNullValues ? o(p) : ne(p.filter((e) => e.value !== null)), m = V.value.line.cutNullValues ? o(pe) : ne(pe.filter((e) => e.value !== null)), ge = V.value.line.cutNullValues ? ue(p) : n(p.filter((e) => e.value !== null)), _e = V.value.line.cutNullValues ? ue(pe) : n(pe.filter((e) => e.value !== null)), ve = Ae(V.value.line.cutNullValues ? p : p.filter((e) => e.value !== null)), ye = Ae(V.value.line.cutNullValues ? pe : pe.filter((e) => e.value !== null)), h = me ? c(V.value.line.cutNullValues ? p : p.filter((e) => e.value !== null), r.dashIndices.map((e) => e - U.value.start)) : [], be = me ? l(V.value.line.cutNullValues ? p : p.filter((e) => e.value !== null), r.dashIndices.map((e) => e - U.value.start)) : [], Se = Mc({
2136
2139
  datapoint: r,
2137
2140
  scaleYLabels: ce,
2138
2141
  autoScaleYLabels: le,
@@ -2171,20 +2174,20 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2171
2174
  };
2172
2175
  });
2173
2176
  }), $ = v(() => {
2174
- let e = Sc.value, t = V.value.chart.grid.labels.yAxis.gap, n = H.value.isStacked ? t * (e - 1) : 0, r = J.value.height - n;
2175
- return Tc.value.map((n) => {
2176
- let { individualScale: i, autoScaleSteps: a, individualZero: o, individualMax: s, autoScaleMax: c, yOffset: l, individualHeight: u, zeroPosition: ee, autoScaleZeroPosition: d, scaleYLabels: te, autoScaleYLabels: ne, autoScaleRatiosToNiceScale: re } = ul({
2177
+ let e = Cc.value, t = V.value.chart.grid.labels.yAxis.gap, n = H.value.isStacked ? t * (e - 1) : 0, r = J.value.height - n;
2178
+ return Ec.value.map((n) => {
2179
+ let { individualScale: i, autoScaleSteps: a, individualZero: o, individualMax: s, autoScaleMax: c, yOffset: l, individualHeight: u, zeroPosition: ee, autoScaleZeroPosition: d, scaleYLabels: te, autoScaleYLabels: ne, autoScaleRatiosToNiceScale: re } = dl({
2177
2180
  datapoint: n,
2178
2181
  totalSeries: e,
2179
2182
  gap: t,
2180
2183
  usableHeight: r,
2181
2184
  forceExactScale: !0,
2182
2185
  preserveLooseMinimumExpression: !0
2183
- }), ie = dl(n.comments), ae = n.series.map((e, t) => {
2186
+ }), ie = fl(n.comments), ae = n.series.map((e, t) => {
2184
2187
  if (G.value && (e.x == null || e.y == null)) return {
2185
2188
  index: t,
2186
2189
  x: null,
2187
- datasetXValue: rl(e),
2190
+ datasetXValue: il(e),
2188
2191
  y: null,
2189
2192
  value: null,
2190
2193
  comment: ie[t] || ""
@@ -2192,8 +2195,8 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2192
2195
  let r = H.value.useIndividualScale ? (n.absoluteValues[t] + Math.abs(o)) / s : ys(yo(e));
2193
2196
  return {
2194
2197
  index: t,
2195
- x: g(nl(e, t)),
2196
- datasetXValue: rl(e),
2198
+ x: g(rl(e, t)),
2199
+ datasetXValue: il(e),
2197
2200
  y: g(Ss({
2198
2201
  ratio: r,
2199
2202
  yOffset: l,
@@ -2205,14 +2208,14 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2205
2208
  }), oe = n.series.map((e, t) => G.value && (e.x === null || e.y === null) ? {
2206
2209
  index: t,
2207
2210
  x: null,
2208
- datasetXValue: rl(e),
2211
+ datasetXValue: il(e),
2209
2212
  y: null,
2210
2213
  value: null,
2211
2214
  comment: ie[t] || ""
2212
2215
  } : {
2213
2216
  index: t,
2214
- x: g(nl(e, t)),
2215
- datasetXValue: rl(e),
2217
+ x: g(rl(e, t)),
2218
+ datasetXValue: il(e),
2216
2219
  y: g(Ss({
2217
2220
  ratio: re[t] || 0,
2218
2221
  yOffset: l,
@@ -2220,7 +2223,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2220
2223
  })),
2221
2224
  value: n.absoluteValues[t],
2222
2225
  comment: ie[t] || ""
2223
- }), se = jc({
2226
+ }), se = Mc({
2224
2227
  datapoint: n,
2225
2228
  scaleYLabels: te,
2226
2229
  autoScaleYLabels: ne,
@@ -2245,14 +2248,14 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2245
2248
  groupId: se.groupId
2246
2249
  };
2247
2250
  });
2248
- }), ml = v(() => {
2249
- let e = Object.entries(kc.value).reduce((e, [t, n]) => (e[t] = {
2251
+ }), hl = v(() => {
2252
+ let e = Object.entries(Ac.value).reduce((e, [t, n]) => (e[t] = {
2250
2253
  ...n,
2251
2254
  scaleLabel: t
2252
2255
  }, e), {});
2253
2256
  return [
2254
2257
  ...Q.value,
2255
- ...pl.value,
2258
+ ...ml.value,
2256
2259
  ...$.value
2257
2260
  ].forEach((t) => {
2258
2261
  t.scaleGroup && (e[t.scaleLabel || ""] = {
@@ -2260,7 +2263,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2260
2263
  ...t.scaleGroup
2261
2264
  });
2262
2265
  }), e;
2263
- }), hl = v(() => {
2266
+ }), gl = v(() => {
2264
2267
  let e = Q.value.map((e) => ({
2265
2268
  name: e.name,
2266
2269
  color: e.color,
@@ -2273,7 +2276,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2273
2276
  yOffset: e.yOffset || 0,
2274
2277
  individualHeight: e.individualHeight || J.value.height,
2275
2278
  autoScaleYLabels: e.autoScaleYLabels
2276
- })), t = pl.value.map((e) => ({
2279
+ })), t = ml.value.map((e) => ({
2277
2280
  name: e.name,
2278
2281
  color: e.color,
2279
2282
  scale: e.individualScale,
@@ -2295,7 +2298,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2295
2298
  id: e.id,
2296
2299
  yOffset: e.yOffset || 0,
2297
2300
  individualHeight: e.individualHeight || J.value.height
2298
- })), r = H.value.useIndividualScale && !H.value.isStacked ? Object.values(ml.value) : [
2301
+ })), r = H.value.useIndividualScale && !H.value.isStacked ? Object.values(hl.value) : [
2299
2302
  ...e,
2300
2303
  ...t,
2301
2304
  ...n
@@ -2327,7 +2330,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2327
2330
  }))
2328
2331
  };
2329
2332
  });
2330
- }), gl = v(() => {
2333
+ }), _l = v(() => {
2331
2334
  let e = V.value.line.interLine || {}, t = e.pairs || [], n = e.colors || [];
2332
2335
  if (!t.length) return [];
2333
2336
  let r = [];
@@ -2342,6 +2345,8 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2342
2345
  lineB: s.plots,
2343
2346
  smoothA: !!o.smooth,
2344
2347
  smoothB: !!s.smooth,
2348
+ stepperA: !!o.useStepper,
2349
+ stepperB: !!s.useStepper,
2345
2350
  colorLineA: c,
2346
2351
  colorLineB: l,
2347
2352
  sampleStepPx: 2,
@@ -2353,64 +2358,64 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2353
2358
  });
2354
2359
  });
2355
2360
  }), r;
2356
- }), _l = v(() => {
2361
+ }), vl = v(() => {
2357
2362
  let e = Z.value[0]?.index ?? null, t = G.value ? e : R.value;
2358
2363
  return {
2359
2364
  timeLabel: G.value ? {
2360
2365
  text: String(Z.value[0]?.point.raw?.x ?? Z.value[0]?.point.x),
2361
2366
  absoluteIndex: e
2362
2367
  } : Y.value[R.value],
2363
- datapoint: Rc.value,
2368
+ datapoint: zc.value,
2364
2369
  seriesIndex: R.value,
2365
2370
  selectedIndex: t,
2366
2371
  absoluteIndex: G.value ? e : R.value + U.value.start,
2367
2372
  series: xo.value,
2368
- bars: pl.value,
2373
+ bars: ml.value,
2369
2374
  lines: Q.value,
2370
2375
  plots: $.value,
2371
2376
  config: V.value
2372
2377
  };
2373
- }), vl = E({
2378
+ }), yl = E({
2374
2379
  months: [],
2375
2380
  shortMonths: [],
2376
2381
  days: [],
2377
2382
  shortDays: []
2378
- }), yl = 0;
2383
+ }), bl = 0;
2379
2384
  yt(() => {
2380
- let e = ++yl, t = V.value.chart.grid.labels.xAxisLabels.datetimeFormatter;
2385
+ let e = ++bl, t = V.value.chart.grid.labels.xAxisLabels.datetimeFormatter;
2381
2386
  (async () => {
2382
2387
  let n = await Ne(t.locale).catch(() => Ne("en"));
2383
- e === yl && (vl.value = n.data);
2388
+ e === bl && (yl.value = n.data);
2384
2389
  })();
2385
2390
  });
2386
- let bl = v(() => {
2391
+ let xl = v(() => {
2387
2392
  let e = V.value.chart.grid.labels.xAxisLabels.datetimeFormatter, t = Me({
2388
2393
  useUTC: e.useUTC,
2389
- locale: vl.value,
2394
+ locale: yl.value,
2390
2395
  januaryAsYear: e.januaryAsYear
2391
2396
  });
2392
2397
  return (e, n) => {
2393
2398
  let r = V.value.chart.grid.labels.xAxisLabels.values?.[e];
2394
2399
  return r == null ? "" : t.formatDate(new Date(r), n);
2395
2400
  };
2396
- }), xl = v(() => (V.value.chart.grid.labels.xAxisLabels.values || []).map((e, t) => ({
2397
- text: bl.value(t, V.value.chart.zoom.timeFormat),
2401
+ }), Sl = v(() => (V.value.chart.grid.labels.xAxisLabels.values || []).map((e, t) => ({
2402
+ text: xl.value(t, V.value.chart.zoom.timeFormat),
2398
2403
  absoluteIndex: t
2399
- }))), Sl = /* @__PURE__ */ new Map();
2400
- function Cl(e) {
2404
+ }))), Cl = /* @__PURE__ */ new Map();
2405
+ function wl(e) {
2401
2406
  return {
2402
2407
  absoluteIndex: R.value + U.value.start,
2403
2408
  seriesIndex: R.value,
2404
- datapoint: Rc.value,
2409
+ datapoint: zc.value,
2405
2410
  series: xo.value,
2406
- bars: pl.value,
2411
+ bars: ml.value,
2407
2412
  lines: Q.value,
2408
2413
  plots: $.value,
2409
2414
  config: V.value,
2410
2415
  dateLabel: e
2411
2416
  };
2412
2417
  }
2413
- function wl(e) {
2418
+ function Tl(e) {
2414
2419
  return [
2415
2420
  Hi.value[e.type],
2416
2421
  e.shape || "",
@@ -2421,9 +2426,9 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2421
2426
  e.slotAbsoluteIndex
2422
2427
  ].join("|");
2423
2428
  }
2424
- function Tl(e) {
2425
- let t = wl(e);
2426
- if (Sl.has(t)) return Sl.get(t);
2429
+ function El(e) {
2430
+ let t = Tl(e);
2431
+ if (Cl.has(t)) return Cl.get(t);
2427
2432
  let n = V.value.chart.tooltip.backgroundColor, r = "", i = "";
2428
2433
  switch (Hi.value[e.type]) {
2429
2434
  case "bar":
@@ -2570,10 +2575,10 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2570
2575
  break;
2571
2576
  default: break;
2572
2577
  }
2573
- return Sl.set(t, r), r;
2578
+ return Cl.set(t, r), r;
2574
2579
  }
2575
- let El = v(() => {
2576
- let e = "", t = Rc.value.map((e) => e.value).filter((e) => ke(e) && e !== null).reduce((e, t) => Math.abs(e) + Math.abs(t), 0), n = G.value ? { text: h(V.value.chart.grid.labels.xAxis.formatter, Z.value[0]?.point.raw?.x ?? Z.value[0]?.point.x, p({
2580
+ let Dl = v(() => {
2581
+ let e = "", t = zc.value.map((e) => e.value).filter((e) => ke(e) && e !== null).reduce((e, t) => Math.abs(e) + Math.abs(t), 0), n = G.value ? { text: h(V.value.chart.grid.labels.xAxis.formatter, Z.value[0]?.point.raw?.x ?? Z.value[0]?.point.x, p({
2577
2582
  v: Z.value[0]?.point.raw?.x ?? Z.value[0]?.point.x,
2578
2583
  r: V.value.chart.tooltip.roundingValue
2579
2584
  }), {
@@ -2581,18 +2586,18 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2581
2586
  serriesIndex: null
2582
2587
  }) } : Y.value[R.value], r = V.value.chart.tooltip.customFormat;
2583
2588
  if (ge(r)) try {
2584
- let e = r(Cl(n));
2589
+ let e = r(wl(n));
2585
2590
  if (typeof e == "string") return e;
2586
2591
  } catch (e) {
2587
2592
  console.warn("Vue Data UI - VueUiXy: custom tooltip formatter failed.", e);
2588
2593
  }
2589
2594
  if (n && n.text && V.value.chart.tooltip.showTimeLabel) {
2590
- let t = bl.value(R.value + U.value.start, V.value.chart.tooltip.timeFormat);
2595
+ let t = xl.value(R.value + U.value.start, V.value.chart.tooltip.timeFormat);
2591
2596
  G.value || (e += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${V.value.chart.tooltip.borderColor}; width:100%">${V.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !V.value.chart.tooltip.useDefaultTimeFormat ? t : n.text}</div>`);
2592
2597
  }
2593
- return Rc.value.forEach((r) => {
2598
+ return zc.value.forEach((r) => {
2594
2599
  if (ke(r.value)) {
2595
- let i = Tl(r), a = V.value.chart.tooltip.showValue ? h(r.type === "line" ? V.value.line.labels.formatter : r.type === "bar" ? V.value.bar.labels.formatter : V.value.plot.labels.formatter, r.value, p({
2600
+ let i = El(r), a = V.value.chart.tooltip.showValue ? h(r.type === "line" ? V.value.line.labels.formatter : r.type === "bar" ? V.value.bar.labels.formatter : V.value.plot.labels.formatter, r.value, p({
2596
2601
  p: r.prefix,
2597
2602
  v: r.value,
2598
2603
  s: r.suffix,
@@ -2618,11 +2623,11 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2618
2623
  s: "%",
2619
2624
  r: V.value.chart.tooltip.roundingPercentage
2620
2625
  })})` : ""}</div>`;
2621
- let c = fl(r.comments, R.value);
2626
+ let c = pl(r.comments, R.value);
2622
2627
  V.value.chart.comments.showInTooltip && c && (e += `<div class="vue-data-ui-tooltip-comment" style="background:${r.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${r.color}">${c}</div>`);
2623
2628
  }
2624
2629
  }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${V.value.chart.tooltip.color}">${e}</div>`;
2625
- }), Dl = v(() => {
2630
+ }), Ol = v(() => {
2626
2631
  if (!G.value) return [];
2627
2632
  let e = /* @__PURE__ */ new Set(), t = [];
2628
2633
  return K.value.forEach((n) => {
@@ -2634,7 +2639,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2634
2639
  });
2635
2640
  }), t.sort((e, t) => ws.value ? t - e : e - t);
2636
2641
  });
2637
- function Ol(e) {
2642
+ function kl(e) {
2638
2643
  let t = Number(e);
2639
2644
  return Number.isFinite(t) ? h(V.value.chart.grid.labels.xAxis.formatter, t, p({
2640
2645
  v: t,
@@ -2644,22 +2649,22 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2644
2649
  seriesIndex: null
2645
2650
  }) : "-";
2646
2651
  }
2647
- function kl(e) {
2648
- return G.value ? Ol(e) : V.value.table.useDefaultTimeFormat ? Y.value[e]?.text ?? "-" : bl.value(e + U.value.start, V.value.table.timeFormat);
2652
+ function Al(e) {
2653
+ return G.value ? kl(e) : V.value.table.useDefaultTimeFormat ? Y.value[e]?.text ?? "-" : xl.value(e + U.value.start, V.value.table.timeFormat);
2649
2654
  }
2650
- function Al(e, t) {
2655
+ function jl(e, t) {
2651
2656
  if (G.value) {
2652
2657
  let n = Number(t);
2653
2658
  return Number.isFinite(n) ? e.series.find((e) => Number(e?.x) === n)?.y ?? null : null;
2654
2659
  }
2655
2660
  return e.absoluteValues[t];
2656
2661
  }
2657
- function jl(e, t) {
2658
- let n = Al(e, t);
2662
+ function Ml(e, t) {
2663
+ let n = jl(e, t);
2659
2664
  return xt(n) ? Number(n.toFixed(V.value.table.rounding)) : "";
2660
2665
  }
2661
- function Ml(e, t) {
2662
- let n = Al(e, t);
2666
+ function Nl(e, t) {
2667
+ let n = jl(e, t);
2663
2668
  return xt(n) ? h(e.type === "line" ? V.value.line.labels.formatter : e.type === "bar" ? V.value.bar.labels.formatter : V.value.plot.labels.formatter, n, p({
2664
2669
  p: e.prefix || V.value.chart.labels.prefix,
2665
2670
  v: n,
@@ -2667,33 +2672,33 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2667
2672
  r: V.value.table.rounding
2668
2673
  })) : "";
2669
2674
  }
2670
- function Nl(e) {
2671
- return K.value.map((t) => Al(t, e) ?? 0).reduce((e, t) => e + t, 0);
2675
+ function Pl(e) {
2676
+ return K.value.map((t) => jl(t, e) ?? 0).reduce((e, t) => e + t, 0);
2672
2677
  }
2673
- let Pl = v(() => {
2674
- if (G.value) return Dl.value.map((e) => {
2675
- let t = Nl(e);
2678
+ let Fl = v(() => {
2679
+ if (G.value) return Ol.value.map((e) => {
2680
+ let t = Pl(e);
2676
2681
  return {
2677
- period: kl(e),
2678
- csvValues: K.value.map((t) => jl(t, e)),
2679
- formattedValues: K.value.map((t) => Ml(t, e)),
2682
+ period: Al(e),
2683
+ csvValues: K.value.map((t) => Ml(t, e)),
2684
+ formattedValues: K.value.map((t) => Nl(t, e)),
2680
2685
  sum: t,
2681
2686
  formattedSum: t.toFixed(V.value.table.rounding)
2682
2687
  };
2683
2688
  });
2684
2689
  let e = [];
2685
2690
  for (let t = 0; t < X.value; t += 1) {
2686
- let n = Nl(t);
2691
+ let n = Pl(t);
2687
2692
  e.push({
2688
- period: kl(t),
2689
- csvValues: K.value.map((e) => jl(e, t)),
2690
- formattedValues: K.value.map((e) => Ml(e, t)),
2693
+ period: Al(t),
2694
+ csvValues: K.value.map((e) => Ml(e, t)),
2695
+ formattedValues: K.value.map((e) => Nl(e, t)),
2691
2696
  sum: n,
2692
2697
  formattedSum: n.toFixed(V.value.table.rounding)
2693
2698
  });
2694
2699
  }
2695
2700
  return e;
2696
- }), Fl = v(() => bo.value.length === 0 ? {
2701
+ }), Il = v(() => bo.value.length === 0 ? {
2697
2702
  head: [],
2698
2703
  body: [],
2699
2704
  config: {},
@@ -2704,11 +2709,11 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2704
2709
  color: e.color,
2705
2710
  type: e.type
2706
2711
  })),
2707
- body: Pl.value.map((e) => [e.period].concat(e.csvValues))
2708
- }), Il = v(() => {
2712
+ body: Fl.value.map((e) => [e.period].concat(e.csvValues))
2713
+ }), Ll = v(() => {
2709
2714
  let e = V.value.table.showSum, t = [G.value ? V.value.chart.grid.labels.axis.xLabel || "X" : ""].concat(K.value.map((e) => e.name));
2710
2715
  e && (t = t.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>"));
2711
- let n = Pl.value.map((t) => [t.period].concat(t.formattedValues, e ? t.formattedSum : [])), r = {
2716
+ let n = Fl.value.map((t) => [t.period].concat(t.formattedValues, e ? t.formattedSum : [])), r = {
2712
2717
  th: {
2713
2718
  backgroundColor: V.value.table.th.backgroundColor,
2714
2719
  color: V.value.table.th.color,
@@ -2728,18 +2733,18 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2728
2733
  colNames: i
2729
2734
  };
2730
2735
  });
2731
- function Ll(e = null) {
2736
+ function Rl(e = null) {
2732
2737
  let t = [
2733
2738
  [V.value.chart.title.text],
2734
2739
  [V.value.chart.title.subtitle.text],
2735
2740
  [""]
2736
- ], n = [G.value ? V.value.chart.grid.labels.axis.xLabel || "X" : V.value.table.columnNames.period, ...Fl.value.head.map((e) => e.label)], r = Fl.value.body, i = a(t.concat([n]).concat(r));
2741
+ ], n = [G.value ? V.value.chart.grid.labels.axis.xLabel || "X" : V.value.table.columnNames.period, ...Il.value.head.map((e) => e.label)], r = Il.value.body, i = a(t.concat([n]).concat(r));
2737
2742
  e ? e(i) : ae({
2738
2743
  csvContent: i,
2739
2744
  title: V.value.chart.title.text || "vue-ui-xy"
2740
2745
  });
2741
2746
  }
2742
- function Rl(e, t = null) {
2747
+ function zl(e, t = null) {
2743
2748
  if (So.value) return;
2744
2749
  Gi.value = e;
2745
2750
  let n = K.value.map((e) => ({
@@ -2760,19 +2765,19 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2760
2765
  seriesIndex: t + U.value.start
2761
2766
  }));
2762
2767
  }
2763
- function zl() {
2768
+ function Bl() {
2764
2769
  H.value.showTable = !H.value.showTable;
2765
2770
  }
2766
- function Bl() {
2771
+ function Vl() {
2767
2772
  H.value.dataLabels.show = !H.value.dataLabels.show;
2768
2773
  }
2769
- function Vl() {
2774
+ function Hl() {
2770
2775
  H.value.showTooltip = !H.value.showTooltip;
2771
2776
  }
2772
- function Hl(e) {
2777
+ function Ul(e) {
2773
2778
  Wi.value = e, Yi.value += 1;
2774
2779
  }
2775
- function Ul() {
2780
+ function Wl() {
2776
2781
  if (!V.value.responsiveProportionalSizing) {
2777
2782
  B.value.dataLabels = V.value.chart.grid.labels.fontSize, B.value.yAxis = V.value.chart.grid.labels.axis.fontSize, B.value.xAxis = V.value.chart.grid.labels.xAxisLabels.fontSize, B.value.plotLabels = V.value.chart.labels.fontSize, Aa.value.plot = V.value.plot.radius, Aa.value.line = V.value.line.radius, Aa.value.selectedLine = V.value.line.dot.selectedRadius;
2778
2783
  return;
@@ -2821,7 +2826,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2821
2826
  fallback: 0
2822
2827
  });
2823
2828
  }
2824
- function Wl() {
2829
+ function Gl() {
2825
2830
  if (t(M.dataset) ? (ve({
2826
2831
  componentName: "VueUiXy",
2827
2832
  type: "dataset",
@@ -2850,26 +2855,26 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2850
2855
  let l = 0;
2851
2856
  Di.value && (l = Di.value.getBoundingClientRect().height);
2852
2857
  let u = 0;
2853
- Oi.value && (u = Oi.value.getBoundingClientRect().height), zi.value = t - i - c - o - l - u - 12, P.value = n, Bi.value = `0 0 ${P.value < 0 ? 10 : P.value} ${zi.value < 0 ? 10 : zi.value}`, Ul();
2858
+ Oi.value && (u = Oi.value.getBoundingClientRect().height), zi.value = t - i - c - o - l - u - 12, P.value = n, Bi.value = `0 0 ${P.value < 0 ? 10 : P.value} ${zi.value < 0 ? 10 : zi.value}`, Wl();
2854
2859
  let ee = new ResizeObserver((e) => {
2855
2860
  for (let t of e) i = V.value.chart.title.show && wi.value ? wi.value.getBoundingClientRect().height : 0, o = Ti.value && Ti.value.$el ? Ti.value.$el.getBoundingClientRect().height : 0, c = Ei.value ? Ei.value.getBoundingClientRect().height : 0, l = Di.value ? Di.value.getBoundingClientRect().height : 0, u = Oi.value ? Oi.value.getBoundingClientRect().height : 0, requestAnimationFrame(() => {
2856
- zi.value = t.contentRect.height - i - c - o - l - u - 12, P.value = t.contentBoxSize[0].inlineSize ?? t.contentRect.width, Bi.value = `0 0 ${P.value < 0 ? 10 : P.value} ${zi.value < 0 ? 10 : zi.value}`, Ul(), Ta();
2861
+ zi.value = t.contentRect.height - i - c - o - l - u - 12, P.value = t.contentBoxSize[0].inlineSize ?? t.contentRect.width, Bi.value = `0 0 ${P.value < 0 ? 10 : P.value} ${zi.value < 0 ? 10 : zi.value}`, Wl(), Ta();
2857
2862
  });
2858
2863
  });
2859
2864
  Fi.value = ee, Ii.value = e, ee.observe(e);
2860
2865
  } else zi.value = V.value.chart.height, P.value = V.value.chart.width, B.value.dataLabels = V.value.chart.grid.labels.fontSize, B.value.yAxis = V.value.chart.grid.labels.axis.fontSize, B.value.xAxis = V.value.chart.grid.labels.xAxisLabels.fontSize, B.value.plotLabels = V.value.chart.labels.fontSize, Aa.value.plot = V.value.plot.radius, Aa.value.line = V.value.line.radius, Aa.value.selectedLine = V.value.line.dot.selectedRadius, Bi.value = `0 0 ${P.value} ${zi.value}`;
2861
2866
  Ta();
2862
2867
  }
2863
- function Gl(e) {
2868
+ function Kl(e) {
2864
2869
  Vi.value = {
2865
2870
  x: e.clientX,
2866
2871
  y: e.clientY
2867
2872
  };
2868
2873
  }
2869
2874
  ft(() => {
2870
- Wl(), os(), document.addEventListener("mousemove", Gl, { passive: !0 }), document.addEventListener("scroll", Io, { passive: !0 });
2875
+ Gl(), os(), document.addEventListener("mousemove", Kl, { passive: !0 }), document.addEventListener("scroll", Io, { passive: !0 });
2871
2876
  }), dt(() => {
2872
- document.removeEventListener("scroll", Io, { passive: !0 }), document.removeEventListener("mousemove", Gl, { passive: !0 }), Fi.value && (Ii.value && Fi.value.unobserve(Ii.value), Fi.value.disconnect(), Fi.value = null, Ii.value = null), $l(), ps();
2877
+ document.removeEventListener("scroll", Io, { passive: !0 }), document.removeEventListener("mousemove", Kl, { passive: !0 }), Fi.value && (Ii.value && Fi.value.unobserve(Ii.value), Fi.value.disconnect(), Fi.value = null, Ii.value = null), eu(), ps();
2873
2878
  }), We({
2874
2879
  timeLabelsEls: Mi,
2875
2880
  timeLabels: Y,
@@ -2895,68 +2900,68 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2895
2900
  width: P,
2896
2901
  rotation: V.value.chart.grid.labels.xAxisLabels.autoRotate.angle
2897
2902
  });
2898
- let Kl = E(!1), ql = E(null), Jl = E(200), Yl = v(() => R.value ?? I.value ?? 0), Xl = v(() => {
2903
+ let ql = E(!1), Jl = E(null), Yl = E(200), Xl = v(() => R.value ?? I.value ?? 0), Zl = v(() => {
2899
2904
  if (!G.value) return null;
2900
2905
  if (f(la.value)) return Number(la.value);
2901
2906
  let e = Z.value[0];
2902
2907
  return f(e?.point?.x) ? Number(e.point.x) : null;
2903
2908
  });
2904
- function Zl() {
2905
- let e = Math.ceil(Jl.value || 200);
2909
+ function Ql() {
2910
+ let e = Math.ceil(Yl.value || 200);
2906
2911
  return Math.min(Math.max(e, 1), 200);
2907
2912
  }
2908
- function Ql() {
2909
- let e = Zl(), t = (G.value && f(Xl.value) ? Qc({ x: Xl.value }) : fc(Yl.value)) - e / 2 - (200 - e) / 2, n = J.value?.left - (200 - e) / 2, r = J.value?.right - (200 + e) / 2;
2913
+ function $l() {
2914
+ let e = Ql(), t = (G.value && f(Zl.value) ? $c({ x: Zl.value }) : pc(Xl.value)) - e / 2 - (200 - e) / 2, n = J.value?.left - (200 - e) / 2, r = J.value?.right - (200 + e) / 2;
2910
2915
  return g(Math.max(n, Math.min(t, r)));
2911
2916
  }
2912
- function $l() {
2917
+ function eu() {
2913
2918
  ma.value !== null && (cancelAnimationFrame(ma.value), ma.value = null), pa.value && z.value && pa.value.unobserve(z.value), pa.value &&= (pa.value.disconnect(), null), ha.value &&= (ha.value(), null), z.value = null;
2914
2919
  }
2915
- function eu(e) {
2920
+ function tu(e) {
2916
2921
  ma.value !== null && cancelAnimationFrame(ma.value), ma.value = requestAnimationFrame(() => {
2917
- Jl.value = Math.min(Math.max(Math.ceil(e || 0), 1), 200), ma.value = null;
2922
+ Yl.value = Math.min(Math.max(Math.ceil(e || 0), 1), 200), ma.value = null;
2918
2923
  });
2919
2924
  }
2920
- function tu(e) {
2925
+ function nu(e) {
2921
2926
  !pa.value || !e || (z.value && z.value !== e && (pa.value.unobserve(z.value), z.value = null), e !== z.value && (ut(() => {
2922
- e.offsetParent !== null && eu(e.offsetWidth || e.getBoundingClientRect().width || 200);
2927
+ e.offsetParent !== null && tu(e.offsetWidth || e.getBoundingClientRect().width || 200);
2923
2928
  }), pa.value.observe(e), z.value = e));
2924
2929
  }
2925
2930
  ft(() => {
2926
2931
  pa.value = new ResizeObserver((e) => {
2927
2932
  let t = e.find((e) => e.target === z.value) || e[0];
2928
- t && eu(t.contentRect.width || 200);
2933
+ t && tu(t.contentRect.width || 200);
2929
2934
  }), ha.value = yt((e) => {
2930
- let t = ql.value;
2935
+ let t = Jl.value;
2931
2936
  if (!t) {
2932
2937
  pa.value && z.value && (pa.value.unobserve(z.value), z.value = null);
2933
2938
  return;
2934
2939
  }
2935
- tu(t), e(() => {
2936
- pa.value && z.value && z.value !== ql.value && (pa.value.unobserve(z.value), z.value = null);
2940
+ nu(t), e(() => {
2941
+ pa.value && z.value && z.value !== Jl.value && (pa.value.unobserve(z.value), z.value = null);
2937
2942
  });
2938
2943
  });
2939
2944
  });
2940
- let nu = v(() => {
2945
+ let ru = v(() => {
2941
2946
  if (G.value) {
2942
- if (!Number.isFinite(Number(Xl.value))) return "";
2947
+ if (!Number.isFinite(Number(Zl.value))) return "";
2943
2948
  } else if ([null, void 0].includes(R.value) && [null, void 0].includes(I.value)) return "";
2944
2949
  let e = (R.value == null ? 0 : R.value) || (I.value == null ? 0 : I.value), t = V.value.chart.timeTag.customFormat;
2945
- if (Kl.value = !1, G.value) {
2946
- let e = Xl.value;
2950
+ if (ql.value = !1, G.value) {
2951
+ let e = Zl.value;
2947
2952
  if (ge(t)) try {
2948
2953
  let n = t({
2949
2954
  absoluteIndex: e,
2950
2955
  seriesIndex: e,
2951
- datapoint: Rc.value,
2952
- bars: pl.value,
2956
+ datapoint: zc.value,
2957
+ bars: ml.value,
2953
2958
  lines: Q.value,
2954
2959
  plots: $.value,
2955
2960
  config: V.value
2956
2961
  });
2957
- if (typeof n == "string") return Kl.value = !0, n;
2962
+ if (typeof n == "string") return ql.value = !0, n;
2958
2963
  } catch {
2959
- console.warn("Custom format cannot be applied on timeTag."), Kl.value = !1;
2964
+ console.warn("Custom format cannot be applied on timeTag."), ql.value = !1;
2960
2965
  }
2961
2966
  return p({
2962
2967
  v: e,
@@ -2967,19 +2972,19 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
2967
2972
  let n = t({
2968
2973
  absoluteIndex: e + U.value.start,
2969
2974
  seriesIndex: e,
2970
- datapoint: Rc.value,
2971
- bars: pl.value,
2975
+ datapoint: zc.value,
2976
+ bars: ml.value,
2972
2977
  lines: Q.value,
2973
2978
  plots: $.value,
2974
2979
  config: V.value
2975
2980
  });
2976
- if (typeof n == "string") return Kl.value = !0, n;
2981
+ if (typeof n == "string") return ql.value = !0, n;
2977
2982
  } catch {
2978
- console.warn("Custom format cannot be applied on timeTag."), Kl.value = !1;
2983
+ console.warn("Custom format cannot be applied on timeTag."), ql.value = !1;
2979
2984
  }
2980
- if (!Kl.value) return [null, void 0].includes(Y.value[e]) ? "" : V.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !V.value.chart.timeTag.useDefaultFormat ? bl.value(e + U.value.start, V.value.chart.timeTag.timeFormat) : Y.value[e].text;
2985
+ if (!ql.value) return [null, void 0].includes(Y.value[e]) ? "" : V.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !V.value.chart.timeTag.useDefaultFormat ? xl.value(e + U.value.start, V.value.chart.timeTag.timeFormat) : Y.value[e].text;
2981
2986
  });
2982
- function ru({ serie: e, plot: t, type: n }) {
2987
+ function iu({ serie: e, plot: t, type: n }) {
2983
2988
  if (!xt(t.value)) return "";
2984
2989
  let r = p({
2985
2990
  p: e.prefix || V.value.chart.labels.prefix,
@@ -3001,40 +3006,44 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3001
3006
  y: 0
3002
3007
  });
3003
3008
  }
3004
- function iu({ plot: e }) {
3009
+ function au({ plot: e }) {
3005
3010
  let t = V.value.bar.labels.offsetY, n = Math.abs(As(e)), r = e.value < 0, i = {
3006
- x: (H.value.useIndividualScale && H.value.isStacked ? e.x + js.value.line / 2 : Ns(e) + Ms() / 2 - Nc.value / 2) + V.value.bar.labels.offsetX,
3011
+ x: Ps(e) + V.value.bar.labels.offsetX,
3007
3012
  y: g(e.y) + (V.value.bar.labels.alwaysOnTop ? t - (r ? n : 0) : e.value >= 0 ? t : -t * 3)
3008
3013
  };
3009
3014
  return `translate(${i.x}, ${i.y}) rotate(${V.value.bar.labels.rotation})`;
3010
3015
  }
3011
- function au({ plot: e, type: t }) {
3016
+ function ou({ plot: e, type: t }) {
3012
3017
  let n = V.value[t].labels.offsetY, r = {
3013
3018
  x: e.x + V.value[t].labels.offsetX,
3014
3019
  y: g(e.y) + (V.value[t].labels.alwaysOnTop || e.value >= 0 ? n : -n * 3)
3015
3020
  };
3016
3021
  return `translate(${r.x}, ${r.y}) rotate(${V.value[t].labels.rotation})`;
3017
3022
  }
3018
- function ou({ plot: e, type: t }) {
3023
+ function su({ plot: e, type: t }) {
3019
3024
  if (V.value[t].labels.textAnchor != null) return V.value[t].labels.textAnchor;
3020
3025
  let n = e.value >= 0;
3021
3026
  return V.value[t].labels.rotation === 0 ? "middle" : V.value[t].labels.alwaysOnTop || n ? "start" : "end";
3022
3027
  }
3023
- let su = v(() => G.value ? f(la.value) ? Qc({ x: Number(la.value) }) : f(Ls.value) ? Ls.value : null : fc((R.value === null ? 0 : R.value) || (I.value === null ? 0 : I.value))), cu = v(() => V.value.chart.highlighter.crosshairs.show && Qo.value), lu = v(() => [
3028
+ let cu = v(() => G.value ? f(la.value) ? $c({ x: Number(la.value) }) : f(Rs.value) ? Rs.value : null : pc(R.value ?? I.value ?? 0)), lu = v(() => V.value.chart.highlighter.crosshairs.show && Qo.value), uu = v(() => [
3024
3029
  ...Q.value,
3025
3030
  ...$.value,
3026
- ...pl.value
3027
- ].flatMap((e) => (e.plots || []).filter((t, n) => fu(e, t, n)).filter((e) => xt(e.value)).map((t) => ({
3031
+ ...ml.value
3032
+ ].flatMap((e) => (e.plots || []).map((e, t) => ({
3033
+ plot: e,
3034
+ index: t
3035
+ })).filter(({ plot: t, index: n }) => pu(e, t, n)).filter(({ plot: e }) => xt(e.value)).map(({ plot: t, index: n }) => ({
3028
3036
  ...t,
3037
+ index: t.index ?? n,
3029
3038
  serie: e,
3030
- x: g(t.x),
3039
+ x: g(e.type === "bar" ? Ps(t) : t.x),
3031
3040
  y: g(t.y)
3032
- })))), uu = v(() => {
3033
- if (!cu.value) return null;
3041
+ })))), du = v(() => {
3042
+ if (!lu.value) return null;
3034
3043
  if (G.value) {
3035
3044
  let e = Z.value[0], t = e?.point?.raw?.x ?? e?.point?.x;
3036
3045
  return f(t) ? {
3037
- x: su.value,
3046
+ x: cu.value,
3038
3047
  text: h(V.value.chart.grid.labels.xAxis.formatter, t, p({
3039
3048
  v: t,
3040
3049
  r: V.value.chart.tooltip.roundingValue
@@ -3043,24 +3052,24 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3043
3052
  }
3044
3053
  let e = R.value === null ? I.value : R.value;
3045
3054
  return e == null ? null : {
3046
- x: fc(e),
3055
+ x: pc(e),
3047
3056
  text: Y.value[e]?.text ?? ""
3048
3057
  };
3049
3058
  });
3050
- function du(e) {
3059
+ function fu(e) {
3051
3060
  return V.value.chart.grid.labels.yAxis.position === "right" ? J.value.right : J.value.left;
3052
3061
  }
3053
- function fu(e, t, n) {
3062
+ function pu(e, t, n) {
3054
3063
  return G.value ? Z.value.some((n) => n.datapoint.id === e.id && n.index === t.index) : R.value !== null && R.value === n || I.value !== null && I.value === n;
3055
3064
  }
3056
- function pu({ serie: e, plot: t, index: n, type: r }) {
3057
- return !t || !xt(t.value) || !V.value[r].labels.show || !H.value.dataLabels.show ? !1 : !Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || fu(e, t, n);
3065
+ function mu({ serie: e, plot: t, index: n, type: r }) {
3066
+ return !t || !xt(t.value) || !V.value[r].labels.show || !H.value.dataLabels.show ? !1 : !Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || pu(e, t, n);
3058
3067
  }
3059
- function mu(e, t) {
3068
+ function hu(e, t) {
3060
3069
  let n = [];
3061
3070
  return e.forEach((e, r) => {
3062
3071
  (Array.isArray(e.plots) ? e.plots : []).forEach((i, a) => {
3063
- pu({
3072
+ mu({
3064
3073
  serie: e,
3065
3074
  plot: i,
3066
3075
  index: a,
@@ -3075,7 +3084,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3075
3084
  });
3076
3085
  }), n;
3077
3086
  }
3078
- let hu = v(() => mu(pl.value, "bar")), gu = v(() => mu($.value, "plot")), _u = v(() => mu(Q.value, "line"));
3087
+ let gu = v(() => hu(ml.value, "bar")), _u = v(() => hu($.value, "plot")), vu = v(() => hu(Q.value, "line"));
3079
3088
  vt(() => M.dataset, (e) => {
3080
3089
  if (Array.isArray(e) && e.length > 0 && (Ha.value = !1), V.value.chart.zoom.keepState) {
3081
3090
  let e = Ja.value;
@@ -3099,29 +3108,29 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3099
3108
  };
3100
3109
  Li.value += 1, $i.value += 1, Ta(), Qa();
3101
3110
  }, { deep: !0 }), vt(() => M.config, (e) => {
3102
- Ba.value || (V.value = Ma()), Wl(), Zi.value += 1, Xi.value += 1, Ia(), V.value.chart.zoom.keepState && Ja.value > 0 && (!rs.value || U.value.start === 0 && U.value.end === 0) && os(), Qa();
3111
+ Ba.value || (V.value = Ma()), Gl(), Zi.value += 1, Xi.value += 1, Ia(), V.value.chart.zoom.keepState && Ja.value > 0 && (!rs.value || U.value.start === 0 && U.value.end === 0) && os(), Qa();
3103
3112
  }, { deep: !0 });
3104
- let vu = E(!1), yu = E(!1);
3105
- function bu() {
3113
+ let yu = E(!1), bu = E(!1);
3114
+ function xu() {
3106
3115
  let e = Ci.value?.parentNode;
3107
3116
  if (!e) {
3108
- yu.value = vu.value, vu.value = !1;
3117
+ bu.value = yu.value, yu.value = !1;
3109
3118
  return;
3110
3119
  }
3111
3120
  let t = e.getBoundingClientRect();
3112
- yu.value = vu.value, vu.value = t.width > 0 && t.height > 0;
3121
+ bu.value = yu.value, yu.value = t.width > 0 && t.height > 0;
3113
3122
  }
3114
- function xu() {
3115
- return !vu.value || yu.value || rs.value ? !1 : U.value.start === 0 && U.value.end === 0;
3123
+ function Su() {
3124
+ return !yu.value || bu.value || rs.value ? !1 : U.value.start === 0 && U.value.end === 0;
3116
3125
  }
3117
3126
  ft(() => {
3118
- bu(), fa.value = new ResizeObserver(() => {
3119
- bu(), vu.value && (Wl(), Qa(), xu() && os());
3127
+ xu(), fa.value = new ResizeObserver(() => {
3128
+ xu(), yu.value && (Gl(), Qa(), Su() && os());
3120
3129
  }), Ci.value?.parentNode && fa.value.observe(Ci.value.parentNode);
3121
3130
  }), vt(V, () => {
3122
3131
  Ia();
3123
3132
  }, { immediate: !0 });
3124
- let Su = v(() => {
3133
+ let Cu = v(() => {
3125
3134
  let e = V.value.table.useDialog && !V.value.showTable, t = H.value.showTable;
3126
3135
  return {
3127
3136
  component: e ? hi : Qe,
@@ -3154,37 +3163,37 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3154
3163
  vt(() => H.value.showTable, (e) => {
3155
3164
  V.value.showTable || (e && V.value.table.useDialog && oa.value ? oa.value.open() : oa.value && oa.value.close && oa.value.close());
3156
3165
  });
3157
- function Cu() {
3166
+ function wu() {
3158
3167
  H.value.showTable = !1, Pi.value && Pi.value.setTableIconState(!1);
3159
3168
  }
3160
- let wu = v(() => xo.value.map((e) => ({
3169
+ let Tu = v(() => xo.value.map((e) => ({
3161
3170
  shape: e.type === "bar" ? "square" : e.shape ?? "circle",
3162
3171
  color: e.color,
3163
3172
  name: e.name
3164
- }))), Tu = v(() => V.value.chart.backgroundColor), Eu = v(() => V.value.chart.legend), { exportSvg: Du, getSvg: Ou } = ze({
3173
+ }))), Eu = v(() => V.value.chart.backgroundColor), Du = v(() => V.value.chart.legend), { exportSvg: Ou, getSvg: ku } = ze({
3165
3174
  svg: L,
3166
3175
  title: v(() => V.value.chart.title),
3167
- legend: Eu,
3168
- legendItems: wu,
3169
- backgroundColor: Tu
3176
+ legend: Du,
3177
+ legendItems: Tu,
3178
+ backgroundColor: Eu
3170
3179
  });
3171
- async function ku({ isCb: e }) {
3180
+ async function Au({ isCb: e }) {
3172
3181
  ca.value = !0, await ut();
3173
3182
  try {
3174
3183
  if (e) {
3175
- let { blob: e, url: t, text: n, dataUrl: r } = await Ou();
3184
+ let { blob: e, url: t, text: n, dataUrl: r } = await ku();
3176
3185
  await Promise.resolve(V.value.chart.userOptions.callbacks.svg({
3177
3186
  blob: e,
3178
3187
  url: t,
3179
3188
  text: n,
3180
3189
  dataUrl: r
3181
3190
  }));
3182
- } else await Promise.resolve(Du());
3191
+ } else await Promise.resolve(Ou());
3183
3192
  } finally {
3184
3193
  ca.value = !1;
3185
3194
  }
3186
3195
  }
3187
- function Au(e) {
3196
+ function ju(e) {
3188
3197
  if (e?.stage === "start") {
3189
3198
  sa.value = !0;
3190
3199
  return;
@@ -3195,7 +3204,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3195
3204
  }
3196
3205
  ro();
3197
3206
  }
3198
- async function ju() {
3207
+ async function Mu() {
3199
3208
  if (gi("copyAlt", {
3200
3209
  config: {
3201
3210
  ...V.value,
@@ -3203,7 +3212,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3203
3212
  },
3204
3213
  dataset: {
3205
3214
  lines: Q.value,
3206
- bars: pl.value,
3215
+ bars: ml.value,
3207
3216
  plots: $.value
3208
3217
  }
3209
3218
  }), !V.value.chart.userOptions.callbacks.altCopy) {
@@ -3217,64 +3226,64 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3217
3226
  },
3218
3227
  dataset: {
3219
3228
  lines: Q.value,
3220
- bars: pl.value,
3229
+ bars: ml.value,
3221
3230
  plots: $.value
3222
3231
  }
3223
3232
  }));
3224
3233
  }
3225
- let Mu = E(!1);
3226
- function Nu() {
3227
- U.value.end > U.value.start && (ua.value = null), Ro.value = !0, Mu.value = !0;
3228
- }
3234
+ let Nu = E(!1);
3229
3235
  function Pu() {
3230
- ua.value = null, Gs(), Mu.value = !1, Ro.value = !1;
3236
+ U.value.end > U.value.start && (ua.value = null), Ro.value = !0, Nu.value = !0;
3237
+ }
3238
+ function Fu() {
3239
+ ua.value = null, Ks(), Nu.value = !1, Ro.value = !1;
3231
3240
  }
3232
- function Fu(e) {
3241
+ function Iu(e) {
3233
3242
  if (!L.value || Ui.value || document.activeElement !== L.value) return;
3234
3243
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight";
3235
3244
  if (!t && !n || !U.value.end && U.value.end !== 0) return;
3236
3245
  let r = U.value.end - U.value.start;
3237
3246
  if (r <= 0) return;
3238
3247
  if (e.preventDefault(), e.stopPropagation(), G.value) {
3239
- let e = Bs.value.length;
3248
+ let e = Vs.value.length;
3240
3249
  if (!e) return;
3241
3250
  let r = ua.value;
3242
- r !== null && r >= 0 && r < e ? n ? (r += 1, r >= e && (r = 0)) : t && (--r, r < 0 && (r = e - 1)) : r = n ? 0 : e - 1, Vs(r);
3251
+ r !== null && r >= 0 && r < e ? n ? (r += 1, r >= e && (r = 0)) : t && (--r, r < 0 && (r = e - 1)) : r = n ? 0 : e - 1, Hs(r);
3243
3252
  return;
3244
3253
  }
3245
- let i = ua.value, a = Is.value;
3246
- i !== null && i >= 0 && i < r ? n ? (i += 1, i >= r && (i = 0)) : t && (--i, i < 0 && (i = r - 1)) : a !== null && a >= 0 && a < r ? (i = n ? a + 1 : a - 1, i >= r && (i = 0), i < 0 && (i = r - 1)) : i = n ? 0 : r - 1, ua.value = i, Iu(i), Rl(!0, i);
3254
+ let i = ua.value, a = Ls.value;
3255
+ i !== null && i >= 0 && i < r ? n ? (i += 1, i >= r && (i = 0)) : t && (--i, i < 0 && (i = r - 1)) : a !== null && a >= 0 && a < r ? (i = n ? a + 1 : a - 1, i >= r && (i = 0), i < 0 && (i = r - 1)) : i = n ? 0 : r - 1, ua.value = i, Lu(i), zl(!0, i);
3247
3256
  }
3248
- function Iu(e) {
3257
+ function Lu(e) {
3249
3258
  let t = U.value.end - U.value.start;
3250
3259
  if (t <= 0) return;
3251
3260
  let n = J.value.width / t, r = fe(J.value.left + n * e + n / 2, J.value.top + J.value.height / 2, L.value);
3252
3261
  r && (da.value = r);
3253
3262
  }
3254
- let Lu = v(() => {
3255
- if (!Il.value) return null;
3263
+ let Ru = v(() => {
3264
+ if (!Ll.value) return null;
3256
3265
  let e = V.value.table.showSum, t = [V.value.table.columnNames.period].concat(K.value.map((e) => e.name));
3257
3266
  return e && (t = t.concat(V.value.table.columnNames.total)), {
3258
3267
  headers: t,
3259
- rows: Il.value.body
3268
+ rows: Ll.value.body
3260
3269
  };
3261
3270
  });
3262
3271
  return Ye({
3263
- getData: Js,
3264
- getImage: Ys,
3272
+ getData: Ys,
3273
+ getImage: Xs,
3265
3274
  generatePdf: no,
3266
3275
  generateImage: ro,
3267
- generateSvg: ku,
3268
- generateCsv: Ll,
3269
- hideSeries: nc,
3270
- showSeries: tc,
3276
+ generateSvg: Au,
3277
+ generateCsv: Rl,
3278
+ hideSeries: rc,
3279
+ showSeries: nc,
3271
3280
  toggleStack: $o,
3272
- toggleTable: zl,
3273
- toggleLabels: Bl,
3274
- toggleTooltip: Vl,
3281
+ toggleTable: Bl,
3282
+ toggleLabels: Vl,
3283
+ toggleTooltip: Hl,
3275
3284
  toggleAnnotator: Ho,
3276
- toggleFullscreen: Hl,
3277
- copyAlt: ju,
3285
+ toggleFullscreen: Ul,
3286
+ copyAlt: Mu,
3278
3287
  resetZoom: _s
3279
3288
  }), (t, n) => (T(), b("div", {
3280
3289
  id: `vue-ui-xy_${F.value}`,
@@ -3284,17 +3293,17 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3284
3293
  style: w(`background:${V.value.chart.backgroundColor}; color:${V.value.chart.color};width:100%;font-family:${V.value.chart.fontFamily};${V.value.responsive ? "height: 100%" : ""}`),
3285
3294
  onMouseenter: Bo,
3286
3295
  onMouseleave: Vo,
3287
- onClick: Ks
3296
+ onClick: qs
3288
3297
  }, [
3289
3298
  x("div", {
3290
3299
  id: `chart-instructions-${F.value}`,
3291
3300
  class: "sr-only"
3292
3301
  }, [x("p", null, k(V.value.a11y.translations.keyboardNavigation), 1)], 8, Mt),
3293
- Lu.value?.rows?.length ? (T(), nt(et, {
3302
+ Ru.value?.rows?.length ? (T(), nt(et, {
3294
3303
  key: 0,
3295
3304
  uid: F.value,
3296
- head: Lu.value.headers,
3297
- body: Lu.value.rows,
3305
+ head: Ru.value.headers,
3306
+ body: Ru.value.rows,
3298
3307
  notice: V.value.a11y.translations.tableAvailable,
3299
3308
  caption: V.value.a11y.translations.tableCaption
3300
3309
  }, null, 8, [
@@ -3327,7 +3336,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3327
3336
  "active",
3328
3337
  "isCursorPointer"
3329
3338
  ])) : y("", !0),
3330
- ac.value ? (T(), b("div", {
3339
+ oc.value ? (T(), b("div", {
3331
3340
  key: 2,
3332
3341
  ref_key: "noTitle",
3333
3342
  ref: Oi,
@@ -3385,17 +3394,17 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3385
3394
  tableDialog: V.value.table.useDialog,
3386
3395
  printScale: V.value.chart.userOptions.print.scale,
3387
3396
  isCursorPointer: Fa.value,
3388
- onToggleFullscreen: Hl,
3397
+ onToggleFullscreen: Ul,
3389
3398
  onGeneratePdf: A(no),
3390
- onGenerateCsv: Ll,
3391
- onGenerateImage: Au,
3392
- onGenerateSvg: ku,
3393
- onToggleTable: zl,
3394
- onToggleLabels: Bl,
3399
+ onGenerateCsv: Rl,
3400
+ onGenerateImage: ju,
3401
+ onGenerateSvg: Au,
3402
+ onToggleTable: Bl,
3403
+ onToggleLabels: Vl,
3395
3404
  onToggleStack: $o,
3396
- onToggleTooltip: Vl,
3405
+ onToggleTooltip: Hl,
3397
3406
  onToggleAnnotator: Ho,
3398
- onCopyAlt: ju,
3407
+ onCopyAlt: Mu,
3399
3408
  style: w({ visibility: ta.value ? na.value ? "visible" : "hidden" : "visible" })
3400
3409
  }, rt({ _: 2 }, [
3401
3410
  t.$slots.menuIcon ? {
@@ -3493,18 +3502,18 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3493
3502
  color: V.value.chart.color,
3494
3503
  fontFamily: V.value.chart.fontFamily
3495
3504
  }),
3496
- "aria-label": rc.value,
3505
+ "aria-label": ic.value,
3497
3506
  "aria-describedby": `chart-instructions-${F.value}`,
3498
3507
  "aria-live": "polite",
3499
3508
  role: "img",
3500
3509
  tabindex: "0",
3501
3510
  preserveAspectRatio: "xMidYMid",
3502
- onMousemove: Ws,
3503
- onMouseleave: Gs,
3504
- onClick: Ks,
3505
- onFocus: Nu,
3506
- onBlur: Pu,
3507
- onKeydown: Fu
3511
+ onMousemove: Gs,
3512
+ onMouseleave: Ks,
3513
+ onClick: qs,
3514
+ onFocus: Pu,
3515
+ onBlur: Fu,
3516
+ onKeydown: Iu
3508
3517
  }, [x("g", {
3509
3518
  ref_key: "G",
3510
3519
  ref: ki,
@@ -3532,7 +3541,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3532
3541
  "stroke-linecap": "round",
3533
3542
  style: { animation: "none !important" }
3534
3543
  }, null, 8, zt)) : y("", !0),
3535
- H.value.useIndividualScale ? V.value.chart.grid.showHorizontalLines ? (T(!0), b(_, { key: 2 }, D(hl.value, (e) => (T(), b("g", { key: `individual_grid_${e.groupId || e.id}` }, [e.id === N.value && e.yLabels.length ? (T(!0), b(_, { key: 0 }, D(e.yLabels, (t) => (T(), b("line", {
3544
+ H.value.useIndividualScale ? V.value.chart.grid.showHorizontalLines ? (T(!0), b(_, { key: 2 }, D(gl.value, (e) => (T(), b("g", { key: `individual_grid_${e.groupId || e.id}` }, [e.id === N.value && e.yLabels.length ? (T(!0), b(_, { key: 0 }, D(e.yLabels, (t) => (T(), b("line", {
3536
3545
  key: `selected_individual_grid_line_${e.groupId || e.id}_${t.value}_${t.y}`,
3537
3546
  x1: J.value?.left,
3538
3547
  x2: J.value?.right,
@@ -3563,7 +3572,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3563
3572
  y2: A(m)(J.value?.bottom),
3564
3573
  "stroke-linecap": "round",
3565
3574
  style: { animation: "none !important" }
3566
- }, null, 8, Bt)) : y("", !0), V.value.chart.grid.showHorizontalLines ? (T(), b("g", Vt, [(T(!0), b(_, null, D(zc.value, (e) => (T(), b("line", {
3575
+ }, null, 8, Bt)) : y("", !0), V.value.chart.grid.showHorizontalLines ? (T(), b("g", Vt, [(T(!0), b(_, null, D(Bc.value, (e) => (T(), b("line", {
3567
3576
  key: `horizontal_grid_line_${e.value}_${e.y}`,
3568
3577
  x1: J.value?.left,
3569
3578
  x2: J.value?.right,
@@ -3589,7 +3598,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3589
3598
  style: { animation: "none !important" }
3590
3599
  }, null, 8, Jt)])) : y("", !0)
3591
3600
  ]),
3592
- (T(!0), b(_, null, D(pl.value, (e, n) => (T(), b("defs", { key: `def_rect_${n}` }, [t.$slots["bar-gradient"] ? O(t.$slots, "bar-gradient", lt({ ref_for: !0 }, {
3601
+ (T(!0), b(_, null, D(ml.value, (e, n) => (T(), b("defs", { key: `def_rect_${n}` }, [t.$slots["bar-gradient"] ? O(t.$slots, "bar-gradient", lt({ ref_for: !0 }, {
3593
3602
  series: e,
3594
3603
  positiveId: `rectGradient_pos_${n}_${F.value}`,
3595
3604
  negativeId: `rectGradient_neg_${n}_${F.value}`
@@ -3701,32 +3710,32 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3701
3710
  "stop-color": t,
3702
3711
  offset: A(se)(r, e.temperatureColors.length)
3703
3712
  }, null, 8, Zt))), 128))], 8, Xt)])) : y("", !0)], 64))), 128)),
3704
- (T(!0), b(_, null, D(oc.value, (e) => (T(), b("g", { key: `highlight_area_${e.from}_${e.span}_${e.color}` }, [e.show ? (T(), b(_, { key: 0 }, [(T(!0), b(_, null, D(e.span, (t, n) => (T(), b("g", { key: `highlight_area_rect_${e.from}_${n}` }, [x("rect", {
3713
+ (T(!0), b(_, null, D(sc.value, (e) => (T(), b("g", { key: `highlight_area_${e.from}_${e.span}_${e.color}` }, [e.show ? (T(), b(_, { key: 0 }, [(T(!0), b(_, null, D(e.span, (t, n) => (T(), b("g", { key: `highlight_area_rect_${e.from}_${n}` }, [x("rect", {
3705
3714
  style: w({
3706
3715
  transition: "none",
3707
3716
  opacity: +(e.from + n >= U.value.start && e.from + n <= U.value.end - 1)
3708
3717
  }),
3709
- x: mc(e.from + n - U.value.start),
3718
+ x: hc(e.from + n - U.value.start),
3710
3719
  y: J.value?.top,
3711
3720
  height: J.value.height < 0 ? 10 : J.value.height,
3712
- width: hc(e.from + n - U.value.start),
3721
+ width: gc(e.from + n - U.value.start),
3713
3722
  fill: A(je)(e.color, e.opacity)
3714
3723
  }, null, 12, Qt)]))), 128)), (T(!0), b(_, null, D(e.span, (t, n) => (T(), b("g", { key: `highlight_area_caption_${e.from}_${n}` }, [e.caption.text && n === 0 ? (T(), b("foreignObject", {
3715
3724
  key: 0,
3716
- x: mc(e.from + n - U.value.start) - (e.caption.width === "auto" ? 0 : e.caption.width / 2 - vc(e.span) / 2),
3725
+ x: hc(e.from + n - U.value.start) - (e.caption.width === "auto" ? 0 : e.caption.width / 2 - yc(e.span) / 2),
3717
3726
  y: J.value?.top + e.caption.offsetY,
3718
3727
  style: w({
3719
3728
  overflow: "visible",
3720
3729
  opacity: +(e.to >= U.value.start && e.from < U.value.end)
3721
3730
  }),
3722
3731
  height: "1",
3723
- width: e.caption.width === "auto" ? vc(e.span) : e.caption.width
3732
+ width: e.caption.width === "auto" ? yc(e.span) : e.caption.width
3724
3733
  }, [x("div", { style: w(`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"}`) }, k(e.caption.text), 5)], 12, $t)) : y("", !0)]))), 128))], 64)) : y("", !0)]))), 128)),
3725
3734
  Ro.value && !G.value ? (T(), b("g", en, [(T(!0), b(_, null, D(X.value, (e, t) => (T(), b("g", { key: `tooltip_trap_highlighter_${t}` }, [x("rect", {
3726
- x: mc(t),
3735
+ x: hc(t),
3727
3736
  y: J.value?.top,
3728
3737
  height: J.value.height < 0 ? 10 : J.value.height,
3729
- width: _c(t),
3738
+ width: vc(t),
3730
3739
  fill: [
3731
3740
  I.value,
3732
3741
  R.value,
@@ -3737,17 +3746,17 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3737
3746
  animation: "none !important"
3738
3747
  }
3739
3748
  }, null, 8, tn)]))), 128))])) : y("", !0),
3740
- pl.value.length ? (T(!0), b(_, { key: 1 }, D(pl.value, (e, n) => (T(), b("g", {
3749
+ ml.value.length ? (T(!0), b(_, { key: 1 }, D(ml.value, (e, n) => (T(), b("g", {
3741
3750
  key: `serie_bar_${e.id}`,
3742
3751
  class: S(`serie_bar_${n}`),
3743
3752
  style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
3744
3753
  }, [(T(!0), b(_, null, D(e.plots, (r, i) => (T(), b("g", { key: `bar_plot_${n}_${i}` }, [
3745
3754
  A(xt)(r.value) ? (T(), b("rect", {
3746
3755
  key: 0,
3747
- x: Ns(r) + Fc.value / 2,
3748
- y: H.value.useIndividualScale ? Fs(r) : Ps(r),
3756
+ x: Ns(r) + Ic.value / 2,
3757
+ y: H.value.useIndividualScale ? Is(r) : Fs(r),
3749
3758
  height: H.value.useIndividualScale ? Math.abs(As(r)) : Math.abs(ks(r)),
3750
- width: Pc.value - Fc.value,
3759
+ width: Fc.value - Ic.value,
3751
3760
  rx: V.value.bar.borderRadius,
3752
3761
  fill: V.value.bar.useGradient ? r.value >= 0 ? `url(#rectGradient_pos_${n}_${F.value})` : `url(#rectGradient_neg_${n}_${F.value})` : e.color,
3753
3762
  stroke: V.value.bar.border.useSerieColor ? e.color : V.value.bar.border.stroke,
@@ -3756,10 +3765,10 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3756
3765
  }, null, 12, nn)) : y("", !0),
3757
3766
  A(xt)(r.value) && t.$slots.pattern ? (T(), b("rect", {
3758
3767
  key: 1,
3759
- x: Ns(r) - Fc.value / 2,
3760
- y: H.value.useIndividualScale ? Fs(r) : Ps(r),
3768
+ x: Ns(r) - Ic.value / 2,
3769
+ y: H.value.useIndividualScale ? Is(r) : Fs(r),
3761
3770
  height: H.value.useIndividualScale ? Math.abs(As(r)) : Math.abs(ks(r)),
3762
- width: Pc.value - Fc.value,
3771
+ width: Fc.value - Ic.value,
3763
3772
  rx: V.value.bar.borderRadius,
3764
3773
  fill: `url(#pattern_${F.value}_${e.slotAbsoluteIndex})`,
3765
3774
  stroke: V.value.bar.border.useSerieColor ? e.color : V.value.bar.border.stroke,
@@ -3770,7 +3779,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3770
3779
  key: 2,
3771
3780
  style: { overflow: "visible" },
3772
3781
  height: "12",
3773
- width: Pc.value + V.value.chart.comments.width,
3782
+ width: Fc.value + V.value.chart.comments.width,
3774
3783
  x: Ns(r) - V.value.chart.comments.width / 2 + V.value.chart.comments.offsetX,
3775
3784
  y: A(g)(r.y) + V.value.chart.comments.offsetY + 6
3776
3785
  }, [O(t.$slots, "plot-comment", { plot: {
@@ -3792,8 +3801,8 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3792
3801
  style: { animation: "none !important" }
3793
3802
  }, null, 8, on)) : y("", !0),
3794
3803
  !V.value.chart.highlighter.crosshairs.show && (V.value.chart.highlighter.useLine || G.value) && Qo.value ? (T(), b("g", sn, [x("line", {
3795
- x1: su.value,
3796
- x2: su.value,
3804
+ x1: cu.value,
3805
+ x2: cu.value,
3797
3806
  y1: A(m)(J.value?.top),
3798
3807
  y2: A(m)(J.value?.bottom),
3799
3808
  stroke: V.value.chart.highlighter.color,
@@ -3806,10 +3815,10 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3806
3815
  "pointer-events": "none"
3807
3816
  }
3808
3817
  }, null, 8, cn)])) : y("", !0),
3809
- cu.value ? (T(), b("g", ln, [(T(!0), b(_, null, D(lu.value, (e) => (T(), b("g", { key: `crosshair_${e.serie.id}_${e.index}` }, [
3818
+ lu.value ? (T(), b("g", ln, [(T(!0), b(_, null, D(uu.value, (e) => (T(), b("g", { key: `crosshair_${e.serie.id}_${e.index}` }, [
3810
3819
  x("line", {
3811
3820
  x1: V.value.chart.highlighter.crosshairs.stopOnPoint ? A(m)(e.x) : J.value.left,
3812
- x2: V.value.chart.highlighter.crosshairs.stopOnPoint ? A(m)(du(e.x)) : J.value.right,
3821
+ x2: V.value.chart.highlighter.crosshairs.stopOnPoint ? A(m)(fu(e.x)) : J.value.right,
3813
3822
  y1: A(m)(e.y),
3814
3823
  y2: A(m)(e.y),
3815
3824
  stroke: V.value.chart.highlighter.crosshairs.stroke,
@@ -3830,7 +3839,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3830
3839
  style: { "pointer-events": "none" }
3831
3840
  }, null, 8, dn),
3832
3841
  x("circle", {
3833
- cx: A(m)(du(e.x)),
3842
+ cx: A(m)(fu(e.x)),
3834
3843
  cy: A(m)(e.y),
3835
3844
  r: V.value.chart.highlighter.crosshairs.dot.radius,
3836
3845
  fill: V.value.chart.highlighter.crosshairs.dot.fill,
@@ -3861,9 +3870,9 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3861
3870
  key: 6,
3862
3871
  ref_key: "scaleLabels",
3863
3872
  ref: Ni,
3864
- opacity: cu.value ? .2 : 1,
3873
+ opacity: lu.value ? .2 : 1,
3865
3874
  style: { transition: "opacity 0.2s" }
3866
- }, [H.value.useIndividualScale ? (T(), b(_, { key: 0 }, [(T(!0), b(_, null, D(hl.value, (e) => (T(), b("g", { key: `individual_scale_axis_${e.groupId || e.id}` }, [x("line", {
3875
+ }, [H.value.useIndividualScale ? (T(), b(_, { key: 0 }, [(T(!0), b(_, null, D(gl.value, (e) => (T(), b("g", { key: `individual_scale_axis_${e.groupId || e.id}` }, [x("line", {
3867
3876
  x1: H.value.isStacked ? q.value ? J.value.right : J.value.left : q.value ? e.x : e.x - J.value.individualOffsetX,
3868
3877
  x2: H.value.isStacked ? q.value ? J.value.right : J.value.left : q.value ? e.x : e.x - J.value.individualOffsetX,
3869
3878
  y1: H.value.isStacked ? A(m)(J.value?.bottom - e.yOffset - e.individualHeight) : A(m)(J.value?.top),
@@ -3872,7 +3881,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3872
3881
  "stroke-width": V.value.chart.grid.stroke,
3873
3882
  "stroke-linecap": "round",
3874
3883
  style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .3 : 1};transition:opacity 0.2s ease-in-out; animation: none !important`)
3875
- }, null, 12, hn)]))), 128)), (T(!0), b(_, null, D(hl.value, (e) => (T(), b("g", {
3884
+ }, null, 12, hn)]))), 128)), (T(!0), b(_, null, D(gl.value, (e) => (T(), b("g", {
3876
3885
  key: `individual_scale_label_${e.groupId || e.id}`,
3877
3886
  style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .3 : 1};transition:opacity 0.2s ease-in-out`)
3878
3887
  }, [
@@ -3910,7 +3919,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3910
3919
  datapoint: t.datapoint,
3911
3920
  seriesIndex: n
3912
3921
  })), 11, vn))), 128))
3913
- ], 4))), 128))], 64)) : (T(!0), b(_, { key: 1 }, D(zc.value, (e, t) => (T(), b("g", { key: `yLabel_${t}` }, [A(xt)(e) && e.value >= W.value.min && e.value <= W.value.max && V.value.chart.grid.labels.yAxis.showCrosshairs ? (T(), b("line", {
3922
+ ], 4))), 128))], 64)) : (T(!0), b(_, { key: 1 }, D(Bc.value, (e, t) => (T(), b("g", { key: `yLabel_${t}` }, [A(xt)(e) && e.value >= W.value.min && e.value <= W.value.max && V.value.chart.grid.labels.yAxis.showCrosshairs ? (T(), b("line", {
3914
3923
  key: 0,
3915
3924
  x1: q.value ? J.value?.right : J.value?.left,
3916
3925
  x2: q.value ? J.value?.right + V.value.chart.grid.labels.yAxis.crosshairSize : J.value?.left - V.value.chart.grid.labels.yAxis.crosshairSize,
@@ -3933,7 +3942,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3933
3942
  s: e.suffix,
3934
3943
  r: V.value.chart.grid.labels.yAxis.rounding
3935
3944
  })) : ""), 11, bn)) : y("", !0)]))), 128))], 8, mn)) : y("", !0),
3936
- cu.value ? (T(), b("g", xn, [(T(!0), b(_, null, D(lu.value, (e) => (T(), b("text", {
3945
+ lu.value ? (T(), b("g", xn, [(T(!0), b(_, null, D(uu.value, (e) => (T(), b("text", {
3937
3946
  class: S({ "vue-data-ui-datalabel": A(Si) }),
3938
3947
  key: `crosshair_y_label_${e.serie.id}_${e.index}`,
3939
3948
  transform: `translate(${q.value ? J.value.right + V.value.chart.grid.labels.yAxis.crosshairSize + V.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : J.value.scaleLabelX - V.value.chart.grid.labels.yAxis.crosshairSize}, ${A(m)(e.y) + B.value.dataLabels / 3})`,
@@ -3954,8 +3963,8 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3954
3963
  datapoint: e.serie,
3955
3964
  seriesIndex: e.index
3956
3965
  })), 11, Sn))), 128))])) : y("", !0),
3957
- uu.value ? (T(), b("g", Cn, [x("circle", {
3958
- cx: su.value,
3966
+ du.value ? (T(), b("g", Cn, [x("circle", {
3967
+ cx: cu.value,
3959
3968
  cy: A(m)(J.value?.bottom),
3960
3969
  r: V.value.chart.highlighter.crosshairs.dot.radius,
3961
3970
  fill: V.value.chart.highlighter.crosshairs.dot.fill,
@@ -3986,7 +3995,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
3986
3995
  x: A(g)(r.x),
3987
3996
  y: A(g)(r.y)
3988
3997
  },
3989
- radius: fu(e, r, i) ? (Aa.value.plot || 6) * 1.5 : (Vc(e.plots, i), Aa.value.plot || 6),
3998
+ radius: pu(e, r, i) ? (Aa.value.plot || 6) * 1.5 : (Hc(e.plots, i), Aa.value.plot || 6),
3990
3999
  stroke: V.value.plot.dot.useSerieColor ? V.value.chart.backgroundColor : e.color,
3991
4000
  strokeWidth: V.value.plot.dot.strokeWidth,
3992
4001
  transition: A(Ba) || cs.value || !V.value.plot.showTransition ? void 0 : `all ${V.value.plot.transitionDurationMs}ms ease-in-out`,
@@ -4026,7 +4035,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4026
4035
  stroke: V.value.chart.backgroundColor,
4027
4036
  "stroke-width": V.value.line.strokeWidth + 1,
4028
4037
  "stroke-dasharray": t.dashed ? V.value.line.strokeWidth * 2 : 0,
4029
- style: w({ transition: qc() })
4038
+ style: w({ transition: Jc() })
4030
4039
  }, null, 12, Dn))), 128)) : (T(!0), b(_, { key: 1 }, D(e.dashedStraight, (t, n) => (T(), b("path", {
4031
4040
  key: `line_coating_straight_segment_${e.id}_${n}`,
4032
4041
  fill: "none",
@@ -4036,7 +4045,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4036
4045
  stroke: V.value.chart.backgroundColor,
4037
4046
  "stroke-width": V.value.line.strokeWidth + 1,
4038
4047
  "stroke-dasharray": t.dashed ? V.value.line.strokeWidth * 2 : 0,
4039
- style: w({ transition: qc() })
4048
+ style: w({ transition: Jc() })
4040
4049
  }, null, 12, On))), 128))], 64)) : e.smooth && e.plots.length > 1 && e.curve ? (T(), b("path", {
4041
4050
  key: 1,
4042
4051
  d: `M${e.curve}`,
@@ -4046,7 +4055,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4046
4055
  fill: "none",
4047
4056
  "stroke-linecap": "round",
4048
4057
  "stroke-linejoin": "round",
4049
- style: w({ transition: qc() })
4058
+ style: w({ transition: Jc() })
4050
4059
  }, null, 12, kn)) : e.plots.length > 1 && e.straight ? (T(), b("path", {
4051
4060
  key: 2,
4052
4061
  d: `M${e.straight}`,
@@ -4056,21 +4065,21 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4056
4065
  fill: "none",
4057
4066
  "stroke-linecap": "round",
4058
4067
  "stroke-linejoin": "round",
4059
- style: w({ transition: qc() })
4068
+ style: w({ transition: Jc() })
4060
4069
  }, null, 12, An)) : y("", !0)], 6))), 128)),
4061
4070
  t.$slots.pattern ? (T(), b("defs", jn, [(T(!0), b(_, null, D(bo.value, (e, n) => O(t.$slots, "pattern", lt({ key: `serie_pattern_slot_${e.id}` }, { ref_for: !0 }, {
4062
4071
  ...e,
4063
4072
  seriesIndex: e.slotAbsoluteIndex,
4064
4073
  patternId: `pattern_${F.value}_${n}`
4065
4074
  }), void 0, !0)), 128))])) : y("", !0),
4066
- gl.value.length && !H.value.isStacked ? (T(), b("g", Mn, [(T(!0), b(_, null, D(gl.value, (e) => (T(), b("path", {
4075
+ _l.value.length && !H.value.isStacked ? (T(), b("g", Mn, [(T(!0), b(_, null, D(_l.value, (e) => (T(), b("path", {
4067
4076
  key: e.key,
4068
4077
  d: e.d,
4069
4078
  fill: e.color,
4070
4079
  "fill-opacity": V.value.line.interLine.fillOpacity,
4071
4080
  stroke: "none",
4072
4081
  "pointer-events": "none",
4073
- style: w({ transition: qc() })
4082
+ style: w({ transition: Jc() })
4074
4083
  }, null, 12, Nn))), 128))])) : y("", !0),
4075
4084
  (T(!0), b(_, null, D(Q.value, (e, n) => (T(), b("g", {
4076
4085
  key: `serie_line_above_${e.id}`,
@@ -4081,22 +4090,22 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4081
4090
  key: 0,
4082
4091
  d: r,
4083
4092
  fill: V.value.line.area.useGradient ? `url(#areaGradient_${n}_${F.value})` : A(je)(e.color, V.value.line.area.opacity),
4084
- style: w({ transition: qc() })
4093
+ style: w({ transition: Jc() })
4085
4094
  }, null, 12, Fn)) : y("", !0), t.$slots.pattern && r ? (T(), b("path", {
4086
4095
  key: 1,
4087
4096
  d: r,
4088
4097
  fill: `url(#pattern_${F.value}_${e.slotAbsoluteIndex})`,
4089
- style: w({ transition: qc() })
4098
+ style: w({ transition: Jc() })
4090
4099
  }, null, 12, In)) : y("", !0)], 64))), 128)) : (T(!0), b(_, { key: 1 }, D(e.area.split(";"), (r, i) => (T(), b(_, { key: i }, [r ? (T(), b("path", {
4091
4100
  key: 0,
4092
4101
  d: `M${r}Z`,
4093
4102
  fill: V.value.line.area.useGradient ? `url(#areaGradient_${n}_${F.value})` : A(je)(e.color, V.value.line.area.opacity),
4094
- style: w({ transition: qc() })
4103
+ style: w({ transition: Jc() })
4095
4104
  }, null, 12, Ln)) : y("", !0), t.$slots.pattern && r ? (T(), b("path", {
4096
4105
  key: 1,
4097
4106
  d: `M${r}Z`,
4098
4107
  fill: `url(#pattern_${F.value}_${e.slotAbsoluteIndex})`,
4099
- style: w({ transition: qc() })
4108
+ style: w({ transition: Jc() })
4100
4109
  }, null, 12, Rn)) : y("", !0)], 64))), 128))])) : y("", !0),
4101
4110
  !e.hasDashedSegments && e.smooth && e.plots.length > 1 && e.curve ? (T(), b("path", {
4102
4111
  key: 1,
@@ -4106,7 +4115,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4106
4115
  "stroke-dasharray": e.dashed ? V.value.line.strokeWidth * 2 : 0,
4107
4116
  fill: "none",
4108
4117
  "stroke-linecap": "round",
4109
- style: w({ transition: qc() })
4118
+ style: w({ transition: Jc() })
4110
4119
  }, null, 12, zn)) : e.hasDashedSegments ? (T(), b(_, { key: 2 }, [e.smooth ? (T(!0), b(_, { key: 0 }, D(e.dashedSmooth, (t, r) => (T(), b("path", {
4111
4120
  key: `line_smooth_segment_${e.id}_${r}`,
4112
4121
  fill: "none",
@@ -4116,7 +4125,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4116
4125
  stroke: e.temperatureColors && !e.isFlatTemperatureLine ? `url(#temperature_grad_line_${n}_${F.value})` : e.color,
4117
4126
  "stroke-width": V.value.line.strokeWidth,
4118
4127
  "stroke-dasharray": t.dashed ? V.value.line.strokeWidth * 2 : 0,
4119
- style: w({ transition: qc() })
4128
+ style: w({ transition: Jc() })
4120
4129
  }, null, 12, Bn))), 128)) : (T(!0), b(_, { key: 1 }, D(e.dashedStraight, (t, r) => (T(), b("path", {
4121
4130
  key: `line_straight_segment_${e.id}_${r}`,
4122
4131
  fill: "none",
@@ -4126,7 +4135,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4126
4135
  stroke: e.temperatureColors && !e.isFlatTemperatureLine ? `url(#temperature_grad_line_${n}_${F.value})` : e.color,
4127
4136
  "stroke-width": V.value.line.strokeWidth,
4128
4137
  "stroke-dasharray": t.dashed ? V.value.line.strokeWidth * 2 : 0,
4129
- style: w({ transition: qc() })
4138
+ style: w({ transition: Jc() })
4130
4139
  }, null, 12, Vn))), 128))], 64)) : e.plots.length > 1 && e.straight ? (T(), b("path", {
4131
4140
  key: 3,
4132
4141
  d: `M${e.straight}`,
@@ -4136,9 +4145,9 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4136
4145
  fill: "none",
4137
4146
  "stroke-linecap": "round",
4138
4147
  "stroke-linejoin": "round",
4139
- style: w({ transition: qc() })
4148
+ style: w({ transition: Jc() })
4140
4149
  }, null, 12, Hn)) : y("", !0),
4141
- (T(!0), b(_, null, D(e.plots, (r, i) => (T(), b(_, { key: `circle_line_${e.id}_${i}` }, [!ic.value.linePlot && r && A(xt)(r.value) || ic.value.linePlot && r && A(xt)(r.value) && (R.value !== null && R.value === i || I.value !== null && I.value === i) || Vc(e.plots, i) ? (T(), nt(Je, {
4150
+ (T(!0), b(_, null, D(e.plots, (r, i) => (T(), b(_, { key: `circle_line_${e.id}_${i}` }, [!ac.value.linePlot && r && A(xt)(r.value) || ac.value.linePlot && r && A(xt)(r.value) && (R.value !== null && R.value === i || I.value !== null && I.value === i) || Hc(e.plots, i) ? (T(), nt(Je, {
4142
4151
  key: 0,
4143
4152
  shape: [
4144
4153
  "triangle",
@@ -4153,7 +4162,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4153
4162
  x: A(g)(r.x),
4154
4163
  y: A(g)(r.y)
4155
4164
  },
4156
- radius: fu(e, r, i) ? ja.value || 0 : (Vc(e.plots, i), Aa.value.line || 0),
4165
+ radius: pu(e, r, i) ? ja.value || 0 : (Hc(e.plots, i), Aa.value.line || 0),
4157
4166
  stroke: V.value.line.dot.useSerieColor ? V.value.chart.backgroundColor : e.color,
4158
4167
  strokeWidth: V.value.line.dot.strokeWidth,
4159
4168
  transition: A(Ba) || cs.value || !V.value.line.showTransition ? void 0 : `all ${V.value.line.transitionDurationMs}ms ease-in-out`,
@@ -4181,25 +4190,25 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4181
4190
  datapointIndex: i
4182
4191
  } }, void 0, !0)])], 8, Un)) : y("", !0)], 64))), 128))
4183
4192
  ], 6))), 128)),
4184
- (V.value.bar.labels.show || V.value.bar.serieName.show) && H.value.dataLabels.show ? (T(), b("g", Gn, [(T(!0), b(_, null, D(hu.value, (e) => (T(), b("text", {
4193
+ (V.value.bar.labels.show || V.value.bar.serieName.show) && H.value.dataLabels.show ? (T(), b("g", Gn, [(T(!0), b(_, null, D(gu.value, (e) => (T(), b("text", {
4185
4194
  key: e.key,
4186
4195
  class: S({ "vue-data-ui-datalabel": A(Si) }),
4187
- "text-anchor": ou({
4196
+ "text-anchor": su({
4188
4197
  plot: e.plot,
4189
4198
  type: "bar"
4190
4199
  }),
4191
4200
  "font-size": B.value.plotLabels,
4192
- transform: iu({ plot: e.plot }),
4201
+ transform: au({ plot: e.plot }),
4193
4202
  fill: V.value.bar.labels.color,
4194
4203
  stroke: V.value.chart.backgroundColor,
4195
4204
  "paint-order": "stroke",
4196
4205
  style: w(`opacity:${N.value ? N.value === e.serie.groupId ? 1 : .2 : 1};`),
4197
- innerHTML: ru({
4206
+ innerHTML: iu({
4198
4207
  serie: e.serie,
4199
4208
  plot: e.plot,
4200
4209
  type: "bar"
4201
4210
  })
4202
- }, null, 14, Kn))), 128)), (T(!0), b(_, null, D(pl.value, (e, t) => (T(), b(_, { key: `xLabel_bar_${e.id}` }, [(T(!0), b(_, null, D(e.plots, (n, r) => (T(), b(_, { key: `xLabel_bar_${t}_${r}` }, [n && V.value.bar.serieName.show ? (T(), b("text", {
4211
+ }, null, 14, Kn))), 128)), (T(!0), b(_, null, D(ml.value, (e, t) => (T(), b(_, { key: `xLabel_bar_${e.id}` }, [(T(!0), b(_, null, D(e.plots, (n, r) => (T(), b(_, { key: `xLabel_bar_${t}_${r}` }, [n && V.value.bar.serieName.show ? (T(), b("text", {
4203
4212
  key: 0,
4204
4213
  class: S({ "vue-data-ui-datalabel": A(Si) }),
4205
4214
  transform: `translate(${H.value.useIndividualScale && H.value.isStacked ? n.x + js.value.line / 2 : n.x + Ms() * 1.1}, ${n.y + (n.value > 0 ? V.value.bar.serieName.offsetY : -V.value.bar.serieName.offsetY * 3)})`,
@@ -4212,14 +4221,14 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4212
4221
  source: e.name,
4213
4222
  length: V.value.bar.serieName.abbreviationSize
4214
4223
  }) : e.name), 15, qn)) : y("", !0)], 64))), 128))], 64))), 128))])) : y("", !0),
4215
- V.value.plot.labels.show && H.value.dataLabels.show ? (T(), b("g", Jn, [(T(!0), b(_, null, D(gu.value, (e) => (T(), b("text", {
4224
+ V.value.plot.labels.show && H.value.dataLabels.show ? (T(), b("g", Jn, [(T(!0), b(_, null, D(_u.value, (e) => (T(), b("text", {
4216
4225
  key: e.key,
4217
4226
  class: S({ "vue-data-ui-datalabel": A(Si) }),
4218
- transform: au({
4227
+ transform: ou({
4219
4228
  plot: e.plot,
4220
4229
  type: "plot"
4221
4230
  }),
4222
- "text-anchor": ou({
4231
+ "text-anchor": su({
4223
4232
  plot: e.plot,
4224
4233
  type: "plot"
4225
4234
  }),
@@ -4228,7 +4237,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4228
4237
  stroke: V.value.chart.backgroundColor,
4229
4238
  "paint-order": "stroke",
4230
4239
  style: w(`opacity:${N.value ? N.value === e.serie.groupId ? 1 : .2 : 1}`),
4231
- innerHTML: ru({
4240
+ innerHTML: iu({
4232
4241
  serie: e.serie,
4233
4242
  plot: e.plot,
4234
4243
  type: "plot"
@@ -4277,14 +4286,14 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4277
4286
  serieName: e.name
4278
4287
  })
4279
4288
  }, null, 12, er)], 12, $n)) : y("", !0)], 64))], 64))), 128))], 64))), 128))])),
4280
- V.value.line.labels.show && H.value.dataLabels.show ? (T(), b("g", nr, [(T(!0), b(_, null, D(_u.value, (e) => (T(), b("text", {
4289
+ V.value.line.labels.show && H.value.dataLabels.show ? (T(), b("g", nr, [(T(!0), b(_, null, D(vu.value, (e) => (T(), b("text", {
4281
4290
  key: e.key,
4282
4291
  class: S({ "vue-data-ui-datalabel": A(Si) }),
4283
- transform: au({
4292
+ transform: ou({
4284
4293
  plot: e.plot,
4285
4294
  type: "line"
4286
4295
  }),
4287
- "text-anchor": ou({
4296
+ "text-anchor": su({
4288
4297
  plot: e.plot,
4289
4298
  type: "line"
4290
4299
  }),
@@ -4293,7 +4302,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4293
4302
  stroke: V.value.chart.backgroundColor,
4294
4303
  "paint-order": "stroke",
4295
4304
  style: w(`opacity:${N.value ? N.value === e.serie.groupId ? 1 : .2 : 1};`),
4296
- innerHTML: ru({
4305
+ innerHTML: iu({
4297
4306
  serie: e.serie,
4298
4307
  plot: e.plot,
4299
4308
  type: "line"
@@ -4411,7 +4420,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4411
4420
  (T(!0), b(_, null, D([
4412
4421
  ...$.value,
4413
4422
  ...Q.value,
4414
- ...pl.value
4423
+ ...ml.value
4415
4424
  ], (e, t) => (T(), b(_, { key: `progression-${t}` }, [Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(A(Ee)(e.plots).trend) ? (T(), b("g", mr, [
4416
4425
  x("defs", null, [x("marker", {
4417
4426
  id: `progression_arrow_${t}`,
@@ -4474,7 +4483,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4474
4483
  r: 2
4475
4484
  })), 11, yr)) : y("", !0)
4476
4485
  ])) : y("", !0)], 64))), 128)),
4477
- H.value.useIndividualScale && !H.value.isStacked ? (T(), b(_, { key: 16 }, [x("defs", null, [(T(!0), b(_, null, D(hl.value, (e, t) => (T(), nt(Xe, {
4486
+ H.value.useIndividualScale && !H.value.isStacked ? (T(), b(_, { key: 16 }, [x("defs", null, [(T(!0), b(_, null, D(gl.value, (e, t) => (T(), nt(Xe, {
4478
4487
  t: "linear",
4479
4488
  key: `individual_scale_gradient_${e.groupId || e.id || t}`,
4480
4489
  id: `individual_scale_gradient_${F.value}_${t}`,
@@ -4496,7 +4505,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4496
4505
  "x1",
4497
4506
  "x2",
4498
4507
  "stops"
4499
- ]))), 128))]), (T(!0), b(_, null, D(hl.value, (e, t) => (T(), b("rect", {
4508
+ ]))), 128))]), (T(!0), b(_, null, D(gl.value, (e, t) => (T(), b("rect", {
4500
4509
  key: `individual_scale_background_${e.groupId || e.id || t}`,
4501
4510
  x: q.value ? e.x : e.x - V.value.chart.grid.labels.yAxis.labelWidth - J.value.individualOffsetX,
4502
4511
  y: J.value?.top,
@@ -4529,25 +4538,25 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4529
4538
  key: 17,
4530
4539
  ref_key: "timeLabelsEls",
4531
4540
  ref: Mi,
4532
- opacity: cu.value ? .1 : 1,
4541
+ opacity: lu.value ? .1 : 1,
4533
4542
  style: { transition: "opacity 0.2s" }
4534
- }, [t.$slots["time-label"] ? (T(!0), b(_, { key: 0 }, D(Xc.value, (e, n) => O(t.$slots, "time-label", lt({ ref_for: !0 }, {
4535
- x: Zc(e, n),
4543
+ }, [t.$slots["time-label"] ? (T(!0), b(_, { key: 0 }, D(Zc.value, (e, n) => O(t.$slots, "time-label", lt({ ref_for: !0 }, {
4544
+ x: Qc(e, n),
4536
4545
  y: J.value?.bottom,
4537
4546
  fontSize: B.value.xAxis,
4538
4547
  fill: V.value.chart.grid.labels.xAxisLabels.color,
4539
- transform: `translate(${Zc(e, n)}, ${J.value?.bottom + B.value.xAxis * 1.3 + V.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${V.value.chart.grid.labels.xAxisLabels.rotation})`,
4548
+ transform: `translate(${Qc(e, n)}, ${J.value?.bottom + B.value.xAxis * 1.3 + V.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${V.value.chart.grid.labels.xAxisLabels.rotation})`,
4540
4549
  absoluteIndex: e.absoluteIndex,
4541
4550
  content: e.text,
4542
4551
  textAnchor: V.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : V.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
4543
4552
  show: e && e.text
4544
- }), void 0, !0, `time_label_${e.id}`)), 128)) : (T(!0), b(_, { key: 1 }, D(Xc.value, (e, t) => (T(), b("g", { key: `time_label_${t}` }, [e && e.text ? (T(), b(_, { key: 0 }, [String(e.text).includes("\n") ? (T(), b("text", {
4553
+ }), void 0, !0, `time_label_${e.id}`)), 128)) : (T(!0), b(_, { key: 1 }, D(Zc.value, (e, t) => (T(), b("g", { key: `time_label_${t}` }, [e && e.text ? (T(), b(_, { key: 0 }, [String(e.text).includes("\n") ? (T(), b("text", {
4545
4554
  key: 1,
4546
4555
  class: "vue-data-ui-time-label",
4547
4556
  "text-anchor": V.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : V.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
4548
4557
  "font-size": B.value.xAxis,
4549
4558
  fill: V.value.chart.grid.labels.xAxisLabels.color,
4550
- transform: `translate(${Zc(e, t)}, ${J.value?.bottom + B.value.xAxis * 1.5}), rotate(${V.value.chart.grid.labels.xAxisLabels.rotation})`,
4559
+ transform: `translate(${Qc(e, t)}, ${J.value?.bottom + B.value.xAxis * 1.5}), rotate(${V.value.chart.grid.labels.xAxisLabels.rotation})`,
4551
4560
  style: w({ cursor: Po() && Fa.value ? "pointer" : "default" }),
4552
4561
  innerHTML: A(de)({
4553
4562
  content: String(e.text),
@@ -4563,16 +4572,16 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4563
4572
  "text-anchor": V.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : V.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
4564
4573
  "font-size": B.value.xAxis,
4565
4574
  fill: V.value.chart.grid.labels.xAxisLabels.color,
4566
- transform: `translate(${Zc(e, t)}, ${J.value?.bottom + B.value.xAxis * 1.5}), rotate(${V.value.chart.grid.labels.xAxisLabels.rotation})`,
4575
+ transform: `translate(${Qc(e, t)}, ${J.value?.bottom + B.value.xAxis * 1.5}), rotate(${V.value.chart.grid.labels.xAxisLabels.rotation})`,
4567
4576
  style: w({ cursor: Po() && Fa.value ? "pointer" : "default" }),
4568
4577
  onClick: (n) => Yo(e, t)
4569
4578
  }, k(e.text || ""), 13, wr))], 64)) : y("", !0)]))), 128))], 8, Cr)) : y("", !0),
4570
- uu.value ? (T(), b("g", Er, [x("text", {
4579
+ du.value ? (T(), b("g", Er, [x("text", {
4571
4580
  class: "vue-data-ui-time-label",
4572
4581
  "text-anchor": V.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : V.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
4573
4582
  "font-size": B.value.xAxis,
4574
4583
  fill: V.value.chart.grid.labels.xAxisLabels.color,
4575
- transform: `translate(${uu.value.x}, ${J.value?.bottom + B.value.xAxis * 1.5}), rotate(${V.value.chart.grid.labels.xAxisLabels.rotation})`,
4584
+ transform: `translate(${du.value.x}, ${J.value?.bottom + B.value.xAxis * 1.5}), rotate(${V.value.chart.grid.labels.xAxisLabels.rotation})`,
4576
4585
  "font-weight": "bold",
4577
4586
  style: {
4578
4587
  transition: "none !important",
@@ -4580,14 +4589,14 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4580
4589
  "pointer-events": "none"
4581
4590
  },
4582
4591
  innerHTML: A(de)({
4583
- content: String(uu.value.text),
4592
+ content: String(du.value.text),
4584
4593
  fontSize: B.value.xAxis,
4585
4594
  fill: V.value.chart.grid.labels.xAxisLabels.color,
4586
4595
  x: 0,
4587
4596
  y: 0
4588
4597
  })
4589
4598
  }, null, 8, Dr)])) : y("", !0),
4590
- Bc.value.length && !H.value.isStacked ? (T(), b("g", Or, [(T(!0), b(_, null, D(Bc.value, (e) => (T(), b("g", { key: e.id }, [
4599
+ Vc.value.length && !H.value.isStacked ? (T(), b("g", Or, [(T(!0), b(_, null, D(Vc.value, (e) => (T(), b("g", { key: e.id }, [
4591
4600
  e.yTop && e.show && isFinite(e.yTop) ? (T(), b("line", {
4592
4601
  key: 0,
4593
4602
  x1: e.x1,
@@ -4638,20 +4647,20 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4638
4647
  "text-anchor": e.config.label.textAnchor
4639
4648
  }, k(e.config.label.text), 11, Mr)) : y("", !0)
4640
4649
  ]))), 128))])) : y("", !0),
4641
- !cu.value && V.value.chart.timeTag.show && (G.value ? A(f)(Xl.value) : ![null, void 0].includes(R.value) || ![null, void 0].includes(I.value)) ? (T(), b("g", Nr, [(T(), b("foreignObject", {
4642
- x: Ql(),
4650
+ !lu.value && V.value.chart.timeTag.show && (G.value ? A(f)(Zl.value) : ![null, void 0].includes(R.value) || ![null, void 0].includes(I.value)) ? (T(), b("g", Nr, [(T(), b("foreignObject", {
4651
+ x: $l(),
4643
4652
  y: J.value?.bottom,
4644
4653
  width: "200",
4645
4654
  height: "40",
4646
4655
  style: { overflow: "visible !important" }
4647
4656
  }, [x("div", {
4648
4657
  ref_key: "timeTagEl",
4649
- ref: ql,
4658
+ ref: Jl,
4650
4659
  class: "vue-ui-xy-time-tag",
4651
4660
  style: w(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${V.value.chart.timeTag.backgroundColor};color:${V.value.chart.timeTag.color};font-size:${V.value.chart.timeTag.fontSize}px`),
4652
- innerHTML: nu.value
4661
+ innerHTML: ru.value
4653
4662
  }, null, 12, Fr)], 8, Pr)), x("circle", {
4654
- cx: G.value && A(f)(Xl.value) ? Qc({ x: Xl.value }) : fc((R.value === null ? 0 : R.value) || (I.value === null ? 0 : I.value)),
4663
+ cx: G.value && A(f)(Zl.value) ? $c({ x: Zl.value }) : pc((R.value === null ? 0 : R.value) || (I.value === null ? 0 : I.value)),
4655
4664
  cy: J.value?.bottom,
4656
4665
  r: V.value.chart.timeTag.circleMarker.radius,
4657
4666
  fill: V.value.chart.timeTag.circleMarker.color
@@ -4668,14 +4677,14 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4668
4677
  isPrintingSvg: ca.value,
4669
4678
  data: [
4670
4679
  ...Q.value,
4671
- ...pl.value,
4680
+ ...ml.value,
4672
4681
  ...$.value
4673
4682
  ],
4674
4683
  drawingArea: J.value
4675
4684
  } }, void 0, !0)
4676
4685
  ], 512)], 46, Ft)), t.$slots.hint ? (T(), b("div", Rr, [O(t.$slots, "hint", C(ct({
4677
4686
  hint: V.value.a11y.translations.keyboardNavigation,
4678
- isVisible: Mu.value
4687
+ isVisible: Nu.value
4679
4688
  })), void 0, !0)])) : y("", !0)]),
4680
4689
  t.$slots.watermark ? (T(), b("div", zr, [O(t.$slots, "watermark", C(ct({ isPrinting: A(eo) || A(to) || sa.value || ca.value })), void 0, !0)])) : y("", !0),
4681
4690
  (T(!0), b(_, null, D(Q.value, (e, t) => (T(), b(_, { key: `tag_line_${e.id}` }, [(T(!0), b(_, null, D(e.plots, (n, r) => (T(), b(_, { key: `tag_line_${t}_${r}` }, [[
@@ -4865,7 +4874,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4865
4874
  ref_key: "chartSlicer",
4866
4875
  ref: Ti,
4867
4876
  uuid: F.value,
4868
- allMinimaps: Lc.value,
4877
+ allMinimaps: Rc.value,
4869
4878
  background: V.value.chart.zoom.color,
4870
4879
  borderColor: V.value.chart.backgroundColor,
4871
4880
  customFormat: V.value.chart.zoom.customFormat,
@@ -4882,11 +4891,11 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4882
4891
  isPreview: Xa.value,
4883
4892
  labelLeft: Y.value[0] ? Y.value[0].text : "",
4884
4893
  labelRight: Y.value.at(-1) ? Y.value.at(-1).text : "",
4885
- max: tl.value,
4886
- min: el.value,
4894
+ max: nl.value,
4895
+ min: tl.value,
4887
4896
  precision: G.value ? V.value.chart.grid.labels.xAxis.rounding : 0,
4888
4897
  useValueRange: G.value,
4889
- minimap: Ic.value,
4898
+ minimap: Lc.value,
4890
4899
  minimapCompact: V.value.chart.zoom.minimap.compact,
4891
4900
  minimapFrameColor: V.value.chart.zoom.minimap.frameColor,
4892
4901
  minimapIndicatorColor: V.value.chart.zoom.minimap.indicatorColor,
@@ -4896,11 +4905,11 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4896
4905
  minimapSelectedColorOpacity: V.value.chart.zoom.minimap.selectedColorOpacity,
4897
4906
  minimapSelectedIndex: G.value ? la.value : R.value ?? I.value,
4898
4907
  minimapSelectionRadius: V.value.chart.zoom.minimap.selectionRadius,
4899
- preciseLabels: xl.value.length ? xl.value : Uo.value,
4900
- refreshStartPoint: G.value ? el.value : V.value.chart.zoom.startIndex === null ? 0 : V.value.chart.zoom.startIndex,
4901
- refreshEndPoint: G.value ? tl.value : V.value.chart.zoom.endIndex === null ? Math.max(...e.dataset.map((e) => Wa(e.series).length)) : V.value.chart.zoom.endIndex + 1,
4908
+ preciseLabels: Sl.value.length ? Sl.value : Uo.value,
4909
+ refreshStartPoint: G.value ? tl.value : V.value.chart.zoom.startIndex === null ? 0 : V.value.chart.zoom.startIndex,
4910
+ refreshEndPoint: G.value ? nl.value : V.value.chart.zoom.endIndex === null ? Math.max(...e.dataset.map((e) => Wa(e.series).length)) : V.value.chart.zoom.endIndex + 1,
4902
4911
  selectColor: V.value.chart.zoom.highlightColor,
4903
- selectedSeries: Rc.value,
4912
+ selectedSeries: zc.value,
4904
4913
  smoothMinimap: V.value.chart.zoom.minimap.smooth,
4905
4914
  start: U.value.start,
4906
4915
  textColor: V.value.chart.color,
@@ -4948,7 +4957,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4948
4957
  color: V.value.chart.legend.selectAllToggle.color,
4949
4958
  fontSize: V.value.chart.legend.fontSize,
4950
4959
  checked: qi.value.length > 0,
4951
- onToggle: Xs
4960
+ onToggle: Zs
4952
4961
  }, null, 8, [
4953
4962
  "backgroundColor",
4954
4963
  "color",
@@ -4956,8 +4965,8 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
4956
4965
  "checked"
4957
4966
  ])) : y("", !0), (T(!0), b(_, null, D(xo.value, (e, n) => (T(), b("div", {
4958
4967
  key: `div_legend_item_${n}`,
4959
- onClick: (t) => $s(e),
4960
- onKeydown: (t) => Zs(t, e),
4968
+ onClick: (t) => ec(e),
4969
+ onKeydown: (t) => Qs(t, e),
4961
4970
  role: "button",
4962
4971
  tabindex: "0",
4963
4972
  class: S({
@@ -5050,7 +5059,7 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
5050
5059
  offsetX: V.value.chart.tooltip.offsetX,
5051
5060
  offsetY: V.value.chart.tooltip.offsetY,
5052
5061
  parent: t.$refs.chart,
5053
- content: El.value,
5062
+ content: Dl.value,
5054
5063
  isFullscreen: Wi.value,
5055
5064
  isCustom: V.value.chart.tooltip.customFormat && typeof V.value.chart.tooltip.customFormat == "function",
5056
5065
  smooth: V.value.chart.tooltip.smooth,
@@ -5060,9 +5069,9 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
5060
5069
  isA11yMode: ua.value != null,
5061
5070
  a11yPosition: da.value
5062
5071
  }, {
5063
- "tooltip-before": j(() => [O(t.$slots, "tooltip-before", C(ct({ ..._l.value })), void 0, !0)]),
5064
- tooltip: j(() => [O(t.$slots, "tooltip", C(ct({ ..._l.value })), void 0, !0)]),
5065
- "tooltip-after": j(() => [O(t.$slots, "tooltip-after", C(ct({ ..._l.value })), void 0, !0)]),
5072
+ "tooltip-before": j(() => [O(t.$slots, "tooltip-before", C(ct({ ...vl.value })), void 0, !0)]),
5073
+ tooltip: j(() => [O(t.$slots, "tooltip", C(ct({ ...vl.value })), void 0, !0)]),
5074
+ "tooltip-after": j(() => [O(t.$slots, "tooltip-after", C(ct({ ...vl.value })), void 0, !0)]),
5066
5075
  _: 3
5067
5076
  }, 8, [
5068
5077
  "teleportTo",
@@ -5088,10 +5097,10 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
5088
5097
  "isA11yMode",
5089
5098
  "a11yPosition"
5090
5099
  ]),
5091
- Pa.value && V.value.chart.userOptions.buttons.table ? (T(), nt(pt(Su.value.component), lt({ key: 9 }, Su.value.props, {
5100
+ Pa.value && V.value.chart.userOptions.buttons.table ? (T(), nt(pt(Cu.value.component), lt({ key: 9 }, Cu.value.props, {
5092
5101
  ref_key: "tableUnit",
5093
5102
  ref: oa,
5094
- onClose: Cu
5103
+ onClose: wu
5095
5104
  }), rt({
5096
5105
  content: j(() => [x("div", { style: w(`${A(eo) || V.value.table.useDialog ? "" : "max-height:400px"};${V.value.table.useDialog ? "height: fit-content; " : ""};overflow:auto;width:100%;${V.value.table.useDialog ? "" : "margin-top:48px"}`) }, [x("div", oi, [bt(x("input", {
5097
5106
  type: "checkbox",
@@ -5105,17 +5114,17 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
5105
5114
  stroke: V.value.chart.color
5106
5115
  }, null, 8, ["stroke"])], 4)]), Qi.value ? (T(), nt(A(fi), {
5107
5116
  key: `sparkline_${$i.value}`,
5108
- dataset: cc.value,
5109
- config: lc.value
5117
+ dataset: lc.value,
5118
+ config: uc.value
5110
5119
  }, null, 8, ["dataset", "config"])) : (T(), nt(A(ci), {
5111
5120
  key: `table_${Xi.value}`,
5112
- colNames: Il.value.colNames,
5113
- head: Il.value.head,
5114
- body: Il.value.body,
5115
- config: Il.value.config,
5116
- title: V.value.table.useDialog ? "" : Su.value.title,
5121
+ colNames: Ll.value.colNames,
5122
+ head: Ll.value.head,
5123
+ body: Ll.value.body,
5124
+ config: Ll.value.config,
5125
+ title: V.value.table.useDialog ? "" : Cu.value.title,
5117
5126
  withCloseButton: !V.value.table.useDialog,
5118
- onClose: Cu
5127
+ onClose: wu
5119
5128
  }, {
5120
5129
  th: j(({ th: e }) => [x("div", { innerHTML: e }, null, 8, si)]),
5121
5130
  td: j(({ td: e }) => [it(k(isNaN(Number(e)) ? e : A(p)({
@@ -5136,23 +5145,23 @@ var At = /* @__PURE__ */ e({ default: () => M }), jt = ["id"], Mt = ["id"], Nt =
5136
5145
  _: 2
5137
5146
  }, [V.value.table.useDialog ? {
5138
5147
  name: "title",
5139
- fn: j(() => [it(k(Su.value.title), 1)]),
5148
+ fn: j(() => [it(k(Cu.value.title), 1)]),
5140
5149
  key: "0"
5141
5150
  } : void 0, V.value.table.useDialog ? {
5142
5151
  name: "actions",
5143
5152
  fn: j(() => [x("button", {
5144
5153
  tabindex: "0",
5145
5154
  class: "vue-ui-user-options-button",
5146
- onClick: n[3] ||= (e) => Ll(V.value.chart.userOptions.callbacks.csv)
5155
+ onClick: n[3] ||= (e) => Rl(V.value.chart.userOptions.callbacks.csv)
5147
5156
  }, [at(A(di), {
5148
5157
  name: "fileCsv",
5149
- stroke: Su.value.props.color
5158
+ stroke: Cu.value.props.color
5150
5159
  }, null, 8, ["stroke"])])]),
5151
5160
  key: "1"
5152
5161
  } : void 0]), 1040)) : y("", !0),
5153
5162
  O(t.$slots, "skeleton", {}, () => [A(Ba) ? (T(), nt(Re, { key: 0 })) : y("", !0)], !0)
5154
5163
  ], 46, jt));
5155
5164
  }
5156
- }, [["__scopeId", "data-v-fd599348"]]);
5165
+ }, [["__scopeId", "data-v-7600152b"]]);
5157
5166
  //#endregion
5158
5167
  export { At as n, M as t };