vue-data-ui 3.2.1 → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. package/dist/{Arrow-cyyFTTnm.js → Arrow-BWqgcDpl.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Bf6A6G_f.js → BaseDraggableDialog-Cg4ZF9cb.js} +2 -2
  3. package/dist/{BaseIcon-D2f9w5Z5.js → BaseIcon-e63bhLIi.js} +1 -1
  4. package/dist/{ColorPicker-gaAecgEC.js → ColorPicker-BO4ntExI.js} +2 -2
  5. package/dist/{DataTable-xISHA7Pu.js → DataTable-dv6G7Krn.js} +10 -10
  6. package/dist/{Legend-_Rv594VS.js → Legend-CVcdvTLM.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-DiM4-9ju.js → NonSvgPenAndPaper-DSmotL8i.js} +3 -3
  8. package/dist/{PackageVersion-BB7joYAK.js → PackageVersion-C3Vg-vTM.js} +1 -1
  9. package/dist/{PenAndPaper-CtDMyIvW.js → PenAndPaper-CplrzuG7.js} +3 -3
  10. package/dist/{Shape-BDy56-wS.js → Shape-D_vfF7sk.js} +1 -1
  11. package/dist/{Slicer-qM5l8BsU.js → Slicer-BO2wNLcR.js} +7 -7
  12. package/dist/{SparkTooltip-DOFGBHJ-.js → SparkTooltip-B82G5-BO.js} +1 -1
  13. package/dist/{Title-BIaVNiUQ.js → Title-DlqxaiIs.js} +1 -1
  14. package/dist/{Tooltip-Clf2K3CF.js → Tooltip-BKqK7z38.js} +1 -1
  15. package/dist/{UserOptions-Bn3u4JQu.js → UserOptions-C9IFsUt0.js} +2 -2
  16. package/dist/components/arrow.js +1 -1
  17. package/dist/components/vue-ui-3d-bar.js +1 -1
  18. package/dist/components/vue-ui-accordion.js +1 -1
  19. package/dist/components/vue-ui-age-pyramid.js +1 -1
  20. package/dist/components/vue-ui-bullet.js +1 -1
  21. package/dist/components/vue-ui-candlestick.js +1 -1
  22. package/dist/components/vue-ui-carousel-table.js +1 -1
  23. package/dist/components/vue-ui-chestnut.js +1 -1
  24. package/dist/components/vue-ui-chord.js +1 -1
  25. package/dist/components/vue-ui-circle-pack.js +1 -1
  26. package/dist/components/vue-ui-cursor.js +1 -1
  27. package/dist/components/vue-ui-dashboard.js +1 -1
  28. package/dist/components/vue-ui-digits.js +1 -1
  29. package/dist/components/vue-ui-donut-evolution.js +1 -1
  30. package/dist/components/vue-ui-donut.js +1 -1
  31. package/dist/components/vue-ui-dumbbell.js +1 -1
  32. package/dist/components/vue-ui-flow.js +1 -1
  33. package/dist/components/vue-ui-funnel.js +1 -1
  34. package/dist/components/vue-ui-galaxy.js +1 -1
  35. package/dist/components/vue-ui-gauge.js +1 -1
  36. package/dist/components/vue-ui-gizmo.js +1 -1
  37. package/dist/components/vue-ui-heatmap.js +1 -1
  38. package/dist/components/vue-ui-history-plot.js +1 -1
  39. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  40. package/dist/components/vue-ui-icon.js +1 -1
  41. package/dist/components/vue-ui-kpi.js +1 -1
  42. package/dist/components/vue-ui-mini-loader.js +1 -1
  43. package/dist/components/vue-ui-molecule.js +1 -1
  44. package/dist/components/vue-ui-mood-radar.js +1 -1
  45. package/dist/components/vue-ui-nested-donuts.js +1 -1
  46. package/dist/components/vue-ui-onion.js +1 -1
  47. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  48. package/dist/components/vue-ui-quadrant.js +1 -1
  49. package/dist/components/vue-ui-quick-chart.js +1 -1
  50. package/dist/components/vue-ui-radar.js +1 -1
  51. package/dist/components/vue-ui-rating.js +1 -1
  52. package/dist/components/vue-ui-relation-circle.js +1 -1
  53. package/dist/components/vue-ui-ridgeline.js +1 -1
  54. package/dist/components/vue-ui-rings.js +1 -1
  55. package/dist/components/vue-ui-scatter.js +1 -1
  56. package/dist/components/vue-ui-skeleton.js +1 -1
  57. package/dist/components/vue-ui-smiley.js +1 -1
  58. package/dist/components/vue-ui-spark-trend.js +1 -1
  59. package/dist/components/vue-ui-sparkbar.js +1 -1
  60. package/dist/components/vue-ui-sparkgauge.js +1 -1
  61. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  62. package/dist/components/vue-ui-sparkline.js +1 -1
  63. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  64. package/dist/components/vue-ui-stackbar.js +1 -1
  65. package/dist/components/vue-ui-strip-plot.js +1 -1
  66. package/dist/components/vue-ui-table-heatmap.js +1 -1
  67. package/dist/components/vue-ui-table-sparkline.js +1 -1
  68. package/dist/components/vue-ui-table.js +1 -1
  69. package/dist/components/vue-ui-thermometer.js +1 -1
  70. package/dist/components/vue-ui-timer.js +1 -1
  71. package/dist/components/vue-ui-tiremarks.js +1 -1
  72. package/dist/components/vue-ui-treemap.js +1 -1
  73. package/dist/components/vue-ui-vertical-bar.js +1 -1
  74. package/dist/components/vue-ui-waffle.js +1 -1
  75. package/dist/components/vue-ui-wheel.js +1 -1
  76. package/dist/components/vue-ui-word-cloud.js +1 -1
  77. package/dist/components/vue-ui-world.js +1 -1
  78. package/dist/components/vue-ui-xy-canvas.js +1 -1
  79. package/dist/components/vue-ui-xy.js +1 -1
  80. package/dist/{dom-to-png-CSg_eTqL.js → dom-to-png-1edcjS0-.js} +1 -1
  81. package/dist/{img-CH7J0fYg.js → img-A48JwXxj.js} +1 -1
  82. package/dist/{lib-p5pfHmOX.js → lib-CDp2KgIU.js} +345 -362
  83. package/dist/{pdf-Wd2BQz4D.js → pdf-BZV8MuXM.js} +1 -1
  84. package/dist/style.css +1 -1
  85. package/dist/types/vue-data-ui.d.ts +10 -0
  86. package/dist/{useAutoSizeLabelsInsideViewbox-VqESrzQg.js → useAutoSizeLabelsInsideViewbox-C2IsrQqi.js} +1 -1
  87. package/dist/{useNestedProp-7BbqoAYu.js → useNestedProp-Cwtenuui.js} +24 -11
  88. package/dist/{usePrinter-Yeu5jOfm.js → usePrinter-DU_Pi3Rq.js} +2 -2
  89. package/dist/{vue-data-ui-DyqIdFbp.js → vue-data-ui-BHJOTOQY.js} +64 -64
  90. package/dist/vue-data-ui.js +68 -68
  91. package/dist/{vue-ui-3d-bar-BrlJjJDI.js → vue-ui-3d-bar-rxghnZJO.js} +6 -6
  92. package/dist/{vue-ui-accordion-BSrtaPYx.js → vue-ui-accordion-BWnxgda4.js} +4 -4
  93. package/dist/{vue-ui-age-pyramid-BDIMacvP.js → vue-ui-age-pyramid-gT_SnI-F.js} +6 -6
  94. package/dist/{vue-ui-annotator-DGVlVhhy.js → vue-ui-annotator-BkHDHfHG.js} +3 -3
  95. package/dist/{vue-ui-bullet-CIJw4kXd.js → vue-ui-bullet-DREbhLhy.js} +7 -7
  96. package/dist/{vue-ui-candlestick-ZjLiyYpC.js → vue-ui-candlestick-D4P15Ci1.js} +7 -7
  97. package/dist/{vue-ui-carousel-table-_-qalKHa.js → vue-ui-carousel-table-C24KX4gd.js} +4 -4
  98. package/dist/{vue-ui-chestnut-XkX5ANAN.js → vue-ui-chestnut-BbQknrj0.js} +6 -6
  99. package/dist/{vue-ui-chord-B1vFXFgp.js → vue-ui-chord-BM4_D9kI.js} +9 -9
  100. package/dist/{vue-ui-circle-pack-8J10Q6-I.js → vue-ui-circle-pack-S4Asc9CS.js} +8 -8
  101. package/dist/{vue-ui-cursor-CQp6B13J.js → vue-ui-cursor-F9MXsQ1K.js} +2 -2
  102. package/dist/{vue-ui-dashboard-CTEYSHVA.js → vue-ui-dashboard-D6LHLdFS.js} +69 -69
  103. package/dist/{vue-ui-digits-B4aZJw8I.js → vue-ui-digits-B_8VzLOS.js} +2 -2
  104. package/dist/{vue-ui-donut-d_XvnIQB.js → vue-ui-donut-B7T8_tP1.js} +8 -8
  105. package/dist/{vue-ui-donut-evolution-Bz7fLQru.js → vue-ui-donut-evolution-DOn-7PnK.js} +8 -8
  106. package/dist/{vue-ui-dumbbell-fDl24oQq.js → vue-ui-dumbbell-Ch66pFUG.js} +7 -7
  107. package/dist/{vue-ui-flow-NYnnPoDX.js → vue-ui-flow-DPcsRLJJ.js} +7 -7
  108. package/dist/{vue-ui-funnel-BWPIKyW8.js → vue-ui-funnel-BdcKoacQ.js} +7 -7
  109. package/dist/{vue-ui-galaxy-LabscC7n.js → vue-ui-galaxy-D3c-O1Op.js} +7 -7
  110. package/dist/{vue-ui-gauge-DXETakZJ.js → vue-ui-gauge-D1zbKzZQ.js} +7 -7
  111. package/dist/{vue-ui-gizmo-DZgMzP_e.js → vue-ui-gizmo-CcrANrSX.js} +3 -3
  112. package/dist/{vue-ui-heatmap-C6Z5wEkZ.js → vue-ui-heatmap-CcvV9Y14.js} +8 -8
  113. package/dist/{vue-ui-history-plot-CUGzhcjr.js → vue-ui-history-plot-a0mLhd0L.js} +7 -7
  114. package/dist/{vue-ui-kpi-DklTxULP.js → vue-ui-kpi-BwUpplcm.js} +3 -3
  115. package/dist/{vue-ui-mini-loader-D22vfM5g.js → vue-ui-mini-loader-DBPZOqZA.js} +5 -5
  116. package/dist/{vue-ui-molecule-BAH7NOZP.js → vue-ui-molecule-xsgartoC.js} +6 -6
  117. package/dist/{vue-ui-mood-radar-DWZKM2u0.js → vue-ui-mood-radar-kl2d5QsL.js} +7 -7
  118. package/dist/{vue-ui-nested-donuts-CxUSyTrT.js → vue-ui-nested-donuts-D9I8_VnP.js} +7 -7
  119. package/dist/{vue-ui-onion-BfzkGOmQ.js → vue-ui-onion-BlxsHavW.js} +8 -8
  120. package/dist/{vue-ui-parallel-coordinate-plot-Dnl2GBps.js → vue-ui-parallel-coordinate-plot-DHH6lrbW.js} +8 -8
  121. package/dist/{vue-ui-quadrant-C_3l8xWm.js → vue-ui-quadrant-DyIQZUPC.js} +8 -8
  122. package/dist/{vue-ui-quick-chart-E6QujRg4.js → vue-ui-quick-chart-Jfr_Ezh9.js} +6 -6
  123. package/dist/{vue-ui-radar-C_yLoJvR.js → vue-ui-radar-BL_dJV12.js} +8 -8
  124. package/dist/{vue-ui-rating-Df02iNbL.js → vue-ui-rating-LiragGSU.js} +2 -2
  125. package/dist/{vue-ui-relation-circle-CBIXCwQb.js → vue-ui-relation-circle-BrR2W_6V.js} +10 -10
  126. package/dist/{vue-ui-ridgeline-euhLcVI0.js → vue-ui-ridgeline-CpaOYplC.js} +8 -8
  127. package/dist/{vue-ui-rings-BGxjmMDw.js → vue-ui-rings-B9TGOwFE.js} +8 -8
  128. package/dist/{vue-ui-scatter-CO4kXKZF.js → vue-ui-scatter-Bq4pSRu_.js} +9 -9
  129. package/dist/{vue-ui-skeleton-DrCI1AAl.js → vue-ui-skeleton-BlVnOk2o.js} +3 -3
  130. package/dist/{vue-ui-smiley-FPLXOxew.js → vue-ui-smiley-DyP9gKYe.js} +2 -2
  131. package/dist/{vue-ui-spark-trend-D4dDN0Sc.js → vue-ui-spark-trend-Pvdqnqia.js} +3 -3
  132. package/dist/{vue-ui-sparkbar-BEXrQvP0.js → vue-ui-sparkbar-DF6eDrxt.js} +3 -3
  133. package/dist/{vue-ui-sparkgauge-Cp4-BTZu.js → vue-ui-sparkgauge-BR7oFSSF.js} +3 -3
  134. package/dist/{vue-ui-sparkhistogram-BwmKv4YF.js → vue-ui-sparkhistogram-CkOGqy2h.js} +4 -4
  135. package/dist/{vue-ui-sparkline-BXZJ-fUn.js → vue-ui-sparkline-DF8bLc-F.js} +3 -3
  136. package/dist/{vue-ui-sparkstackbar-Cie2g7gk.js → vue-ui-sparkstackbar-DMkn-0FV.js} +3 -3
  137. package/dist/{vue-ui-stackbar-B137wy4q.js → vue-ui-stackbar-CUXktGA-.js} +9 -9
  138. package/dist/{vue-ui-strip-plot-Dd1aHpFW.js → vue-ui-strip-plot-ibdxtil6.js} +7 -7
  139. package/dist/{vue-ui-table-CduckNVX.js → vue-ui-table-BocHahKB.js} +194 -154
  140. package/dist/{vue-ui-table-heatmap-DZAkUjty.js → vue-ui-table-heatmap-B03YDYck.js} +6 -6
  141. package/dist/{vue-ui-table-sparkline-D6oTAFEO.js → vue-ui-table-sparkline-8mOvfeTL.js} +5 -5
  142. package/dist/{vue-ui-thermometer-BmK3_O7T.js → vue-ui-thermometer-Dq_nJLiU.js} +10 -10
  143. package/dist/{vue-ui-timer-BYw6Z01O.js → vue-ui-timer-BLveMseW.js} +5 -5
  144. package/dist/{vue-ui-tiremarks-CWiME7zn.js → vue-ui-tiremarks-DMG1_YzV.js} +6 -6
  145. package/dist/{vue-ui-treemap-D8PmfJbw.js → vue-ui-treemap-io-J9w5R.js} +8 -8
  146. package/dist/{vue-ui-vertical-bar-DRC047BC.js → vue-ui-vertical-bar-DqnTF6h2.js} +10 -10
  147. package/dist/{vue-ui-waffle-DAaBoyx4.js → vue-ui-waffle-X9DHHqlw.js} +8 -8
  148. package/dist/vue-ui-wheel-BLBwVpV8.js +620 -0
  149. package/dist/{vue-ui-word-cloud-ByKWZtkV.js → vue-ui-word-cloud-0GXQqY8G.js} +7 -7
  150. package/dist/{vue-ui-world-BezpUr_Q.js → vue-ui-world-5OHPVwxv.js} +6 -6
  151. package/dist/{vue-ui-xy-DlcJVA22.js → vue-ui-xy-HW0T1CD8.js} +900 -822
  152. package/dist/{vue-ui-xy-canvas-DPfxdanR.js → vue-ui-xy-canvas-C4FbbXNQ.js} +10 -10
  153. package/package.json +3 -3
  154. package/dist/vue-ui-wheel-DfNXrsTY.js +0 -587
@@ -1,18 +1,18 @@
1
- import { useCssVars as Yo, computed as x, ref as y, watch as ht, onMounted as Zl, onBeforeUnmount as Ll, onUpdated as ho, nextTick as Ml, createElementBlock as u, openBlock as n, createElementVNode as k, createCommentVNode as g, renderSlot as te, normalizeStyle as C, createVNode as ml, withDirectives as Oa, unref as h, Fragment as b, renderList as L, normalizeProps as Yt, mergeProps as Gt, normalizeClass as Ze, withKeys as fo, vModelText as mo, toDisplayString as ce, defineAsyncComponent as Wt, useSlots as Go, getCurrentInstance as qo, toRefs as Uo, watchEffect as go, createBlock as ct, createSlots as xo, withCtx as Se, guardReactiveProps as dl, Teleport as Zo, resolveDynamicComponent as Ko, vModelCheckbox as Jo, createTextVNode as bo } from "vue";
2
- import { c as ga, z as xa, X as Qo, G as dt, ae as ya, W as pa, af as ka, V as wa, ag as yo, f as Na, t as jo, e as en, E as Ul, aa as hl, h as po, p as ko, ap as ha, a6 as j, a0 as Pa, a8 as tn, q as U, ac as ln, aq as wo, ar as So, a as Ae, as as an, A as on, j as $o, k as St, d as lt, i as fl, s as vt, a4 as ie, Q as nn, ak as fa, N as un, at as Xt, D as Ue, b as sn, o as _o, x as rn, y as cn, F as _l } from "./lib-p5pfHmOX.js";
1
+ import { useCssVars as Yo, computed as x, ref as y, watch as ht, onMounted as Zl, onBeforeUnmount as Ll, onUpdated as ho, nextTick as Ml, createElementBlock as u, openBlock as n, createElementVNode as k, createCommentVNode as g, renderSlot as le, normalizeStyle as C, createVNode as gl, withDirectives as Oa, unref as v, Fragment as b, renderList as L, normalizeProps as Gt, mergeProps as Ut, normalizeClass as Ze, withKeys as fo, vModelText as mo, toDisplayString as ce, defineAsyncComponent as Xt, useSlots as Go, getCurrentInstance as Uo, toRefs as qo, watchEffect as go, createBlock as ct, createSlots as xo, withCtx as Se, guardReactiveProps as hl, Teleport as Zo, resolveDynamicComponent as Ko, vModelCheckbox as Jo, createTextVNode as bo } from "vue";
2
+ import { c as ga, z as xa, X as Qo, G as dt, ae as ya, W as pa, af as ka, V as wa, ag as yo, f as Na, t as jo, e as en, E as ql, aa as fl, h as po, p as ko, ap as ha, a6 as q, a0 as Pa, a8 as tn, q as Z, ac as ln, aq as wo, ar as So, a as Ae, as as an, A as on, j as $o, k as St, d as lt, i as ml, s as vt, a4 as K, Q as nn, ak as fa, N as un, at as Yt, D as qe, b as sn, o as _o, x as rn, y as cn, F as _l } from "./lib-CDp2KgIU.js";
3
3
  import { t as ba, d as vn, u as dn } from "./useResponsive-DfdjqQps.js";
4
- import { u as hn, a as Fa } from "./useNestedProp-7BbqoAYu.js";
5
- import { u as fn } from "./usePrinter-Yeu5jOfm.js";
4
+ import { u as hn, a as Fa } from "./useNestedProp-Cwtenuui.js";
5
+ import { u as fn } from "./usePrinter-DU_Pi3Rq.js";
6
6
  import { u as mn, B as gn } from "./BaseScanner-BgWxam9d.js";
7
7
  import { u as Mo, a as xn, l as bn } from "./useTimeLabels-BGFjWgrv.js";
8
8
  import { u as yn } from "./useTimeLabelCollider-CIsgDrl9.js";
9
- import pn from "./img-CH7J0fYg.js";
10
- import kn from "./Title-BIaVNiUQ.js";
9
+ import pn from "./img-A48JwXxj.js";
10
+ import kn from "./Title-DlqxaiIs.js";
11
11
  import { t as wn } from "./themes-D3cUNuKw.js";
12
- import { _ as ma } from "./Shape-BDy56-wS.js";
13
- import Sn from "./BaseIcon-D2f9w5Z5.js";
12
+ import { _ as ma } from "./Shape-D_vfF7sk.js";
13
+ import Sn from "./BaseIcon-e63bhLIi.js";
14
14
  import { _ as Lo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- import $n from "./vue-ui-accordion-BSrtaPYx.js";
15
+ import $n from "./vue-ui-accordion-BWnxgda4.js";
16
16
  const _n = {
17
17
  class: "vue-data-ui-slicer-labels",
18
18
  style: { position: "relative", "z-index": "1", "pointer-events": "none" }
@@ -23,7 +23,7 @@ const _n = {
23
23
  key: 0,
24
24
  class: "minimap",
25
25
  style: { width: "100%" }
26
- }, Cn = ["xmlns", "viewBox"], An = ["id"], Tn = ["stop-color"], zn = ["width", "height", "stroke"], In = ["d", "stroke"], Nn = ["d", "fill"], Pn = ["x", "y", "width", "height", "fill"], Fn = ["d", "stroke"], Rn = ["cx", "cy", "fill", "stroke"], On = ["x", "width", "height", "fill", "rx"], Vn = ["x", "width", "height", "rx", "fill"], Bn = ["x", "width", "height", "fill", "rx"], En = ["x2", "y1", "y2", "stroke"], Hn = { key: "merged-tree" }, Dn = ["d", "fill"], Wn = ["d", "stroke"], Xn = ["cx", "cy", "stroke", "fill"], Yn = ["cx", "cy", "stroke", "fill"], Gn = { key: "split-tree" }, qn = ["x", "y", "width", "height", "fill"], Un = ["d", "stroke"], Zn = ["x", "height", "fill", "stroke"], Kn = ["x", "height", "fill", "stroke"], Jn = { key: "merged-tree" }, Qn = ["cx", "cy", "stroke", "fill"], jn = ["cx", "cy", "fill"], eu = ["cx", "cy", "stroke", "fill"], tu = ["cx", "cy", "fill"], lu = { key: 11 }, au = ["d", "stroke"], ou = ["cx", "cy", "fill", "stroke"], nu = ["cx", "cy", "stroke", "fill"], uu = ["cx", "cy", "fill"], iu = ["cx", "cy", "stroke", "fill"], su = ["cx", "cy", "fill"], ru = ["x", "height", "width", "onMouseenter"], cu = ["min", "max"], vu = ["min", "max"], Ra = 48, du = {
26
+ }, Cn = ["xmlns", "viewBox"], An = ["id"], Tn = ["stop-color"], zn = ["width", "height", "stroke"], In = ["d", "stroke"], Nn = ["d", "fill"], Pn = ["x", "y", "width", "height", "fill"], Fn = ["d", "stroke"], Rn = ["cx", "cy", "fill", "stroke"], On = ["x", "width", "height", "fill", "rx"], Vn = ["x", "width", "height", "rx", "fill"], Bn = ["x", "width", "height", "fill", "rx"], En = ["x2", "y1", "y2", "stroke"], Hn = { key: "merged-tree" }, Dn = ["d", "fill"], Wn = ["d", "stroke"], Xn = ["cx", "cy", "stroke", "fill"], Yn = ["cx", "cy", "stroke", "fill"], Gn = { key: "split-tree" }, Un = ["x", "y", "width", "height", "fill"], qn = ["d", "stroke"], Zn = ["x", "height", "fill", "stroke"], Kn = ["x", "height", "fill", "stroke"], Jn = { key: "merged-tree" }, Qn = ["cx", "cy", "stroke", "fill"], jn = ["cx", "cy", "fill"], eu = ["cx", "cy", "stroke", "fill"], tu = ["cx", "cy", "fill"], lu = { key: 11 }, au = ["d", "stroke"], ou = ["cx", "cy", "fill", "stroke"], nu = ["cx", "cy", "stroke", "fill"], uu = ["cx", "cy", "fill"], iu = ["cx", "cy", "stroke", "fill"], su = ["cx", "cy", "fill"], ru = ["x", "height", "width", "onMouseenter"], cu = ["min", "max"], vu = ["min", "max"], Ra = 48, du = {
27
27
  __name: "SlicerPreview",
28
28
  props: {
29
29
  immediate: {
@@ -190,152 +190,152 @@ const _n = {
190
190
  },
191
191
  emits: ["futureStart", "futureEnd", "update:start", "update:end", "reset", "trapMouse"],
192
192
  setup(S, { expose: Sa, emit: $a }) {
193
- Yo((v) => ({
194
- 31489338: Tl.value,
195
- "7f513ed8": ne.value,
196
- "74ff4a49": mt.value,
197
- "5f868008": S.selectColor,
198
- "2feba696": zl.value
193
+ Yo((d) => ({
194
+ v31489338: Tl.value,
195
+ v7f513ed8: ue.value,
196
+ v74ff4a49: mt.value,
197
+ v5f868008: S.selectColor,
198
+ v2feba696: zl.value
199
199
  }));
200
- const d = S, Ne = y(null), ve = y(d.min), me = y(d.max), ge = x(() => !!d.minimap.length), Cl = y(ga()), $t = y(!1), Nt = x(() => ge.value && d.minimapCompact), Kl = y(0), qt = ba((v) => Le("futureStart", v), 0), gl = ba((v) => Le("futureEnd", v), 0), Ut = x({
200
+ const h = S, Ne = y(null), ve = y(h.min), me = y(h.max), ge = x(() => !!h.minimap.length), Cl = y(ga()), $t = y(!1), Nt = x(() => ge.value && h.minimapCompact), Kl = y(0), qt = ba((d) => Le("futureStart", d), 0), xl = ba((d) => Le("futureEnd", d), 0), Zt = x({
201
201
  get: () => ve.value,
202
- set(v) {
203
- const m = Math.min(v, me.value - 1);
204
- m !== ve.value && (ve.value = m, Lt.value && (Lt.value.value = String(m)), d.immediate ? Le("update:start", Number(m)) : $t.value && qt(m));
202
+ set(d) {
203
+ const m = Math.min(d, me.value - 1);
204
+ m !== ve.value && (ve.value = m, Lt.value && (Lt.value.value = String(m)), h.immediate ? Le("update:start", Number(m)) : $t.value && qt(m));
205
205
  }
206
206
  }), _t = x({
207
207
  get: () => me.value,
208
- set(v) {
209
- const m = Math.max(v, ve.value + 1);
210
- m !== me.value && (me.value = m, t.value && (t.value.value = String(m)), d.immediate ? Le("update:end", Number(m)) : $t.value && gl(m));
208
+ set(d) {
209
+ const m = Math.max(d, ve.value + 1);
210
+ m !== me.value && (me.value = m, t.value && (t.value.value = String(m)), h.immediate ? Le("update:end", Number(m)) : $t.value && xl(m));
211
211
  }
212
212
  });
213
213
  let Be = null;
214
214
  function Te() {
215
- clearTimeout(Be), d.immediate || (Le("update:start", Number(ve.value)), Le("update:end", Number(me.value))), $t.value = !1;
215
+ clearTimeout(Be), h.immediate || (Le("update:start", Number(ve.value)), Le("update:end", Number(me.value))), $t.value = !1;
216
216
  }
217
- const Ke = x(() => d.refreshEndPoint === null ? d.max : d.refreshEndPoint), Le = $a, ft = x(() => {
217
+ const Ke = x(() => h.refreshEndPoint === null ? h.max : h.refreshEndPoint), Le = $a, ft = x(() => {
218
218
  if (Nt.value) {
219
219
  const m = Math.max(1, at.value - 1);
220
220
  return Pt.value / m * 100;
221
221
  }
222
- const v = Math.max(1, d.max - d.min);
223
- return (ve.value - d.min) / v * 100;
222
+ const d = Math.max(1, h.max - h.min);
223
+ return (ve.value - h.min) / d * 100;
224
224
  }), Mt = x(() => {
225
225
  if (Nt.value) {
226
226
  const m = Math.max(1, at.value - 1);
227
- return el.value / m * 100;
227
+ return tl.value / m * 100;
228
228
  }
229
- const v = Math.max(1, d.max - d.min);
230
- return (me.value - d.min) / v * 100;
231
- }), Al = x(() => (ft.value + Mt.value) / 2), Zt = x(() => {
229
+ const d = Math.max(1, h.max - h.min);
230
+ return (me.value - h.min) / d * 100;
231
+ }), Al = x(() => (ft.value + Mt.value) / 2), Kt = x(() => {
232
232
  if (!Ne.value) return !1;
233
- const v = Math.max(1, d.max - d.min);
234
- return Ne.value.getBoundingClientRect().width * ((ve.value - d.min) / v) - yl.value / 2 < 0;
235
- }), Kt = x(() => {
233
+ const d = Math.max(1, h.max - h.min);
234
+ return Ne.value.getBoundingClientRect().width * ((ve.value - h.min) / d) - pl.value / 2 < 0;
235
+ }), Jt = x(() => {
236
236
  if (!Ne.value) return !1;
237
- const v = Math.max(1, d.max - d.min), m = Ne.value.getBoundingClientRect().width;
238
- return m * ((me.value - d.min) / v) + c.value / 2 > m;
237
+ const d = Math.max(1, h.max - h.min), m = Ne.value.getBoundingClientRect().width;
238
+ return m * ((me.value - h.min) / d) + c.value / 2 > m;
239
239
  }), $e = x(() => {
240
- const v = Kt.value ? `calc(${Al.value}% - ${Bt.value.width}px - 2px)` : Zt.value ? `calc(${Al.value}% - 8px)` : `calc(${Al.value}% - ${Bt.value.width / 2}px - 4px)`;
240
+ const d = Jt.value ? `calc(${Al.value}% - ${Bt.value.width}px - 2px)` : Kt.value ? `calc(${Al.value}% - 8px)` : `calc(${Al.value}% - ${Bt.value.width / 2}px - 4px)`;
241
241
  return {
242
242
  left: `${ft.value}%`,
243
243
  width: `${Math.max(0, Mt.value - ft.value)}%`,
244
- background: d.selectColor,
245
- tooltipLeft: `calc(${ft.value}% - ${Zt.value ? 9 : yl.value / 2 + 3.5}px)`,
246
- tooltipRight: `calc(${Mt.value}% - ${Kt.value ? c.value - 9 : c.value / 2 - 3.5}px)`,
247
- tooltipCenter: v,
248
- arrowLeft: !Zt.value,
249
- arrowRight: !Kt.value
244
+ background: h.selectColor,
245
+ tooltipLeft: `calc(${ft.value}% - ${Kt.value ? 9 : pl.value / 2 + 3.5}px)`,
246
+ tooltipRight: `calc(${Mt.value}% - ${Jt.value ? c.value - 9 : c.value / 2 - 3.5}px)`,
247
+ tooltipCenter: d,
248
+ arrowLeft: !Kt.value,
249
+ arrowRight: !Jt.value
250
250
  };
251
- }), Tl = x(() => d.inputColor), zl = x(() => d.background), mt = x(() => `${d.selectColor}33`), ne = x(() => d.borderColor), Jl = x(() => {
252
- let v = [];
253
- for (let m = 0; m < d.max; m += 1)
254
- v.push(m);
255
- return v;
251
+ }), Tl = x(() => h.inputColor), zl = x(() => h.background), mt = x(() => `${h.selectColor}33`), ue = x(() => h.borderColor), Jl = x(() => {
252
+ let d = [];
253
+ for (let m = 0; m < h.max; m += 1)
254
+ d.push(m);
255
+ return d;
256
256
  });
257
257
  function E() {
258
258
  Le("reset");
259
259
  }
260
260
  ht(
261
- () => d.min,
262
- (v) => {
263
- Number(ve.value) < Number(v) && (ve.value = Number(v)), Number(me.value) < Number(v) && (me.value = Number(v));
261
+ () => h.min,
262
+ (d) => {
263
+ Number(ve.value) < Number(d) && (ve.value = Number(d)), Number(me.value) < Number(d) && (me.value = Number(d));
264
264
  }
265
265
  ), ht(
266
- () => d.max,
267
- (v) => {
268
- Number(ve.value) > Number(v) && (ve.value = Number(v)), Number(me.value) > Number(v) && (me.value = Number(v));
266
+ () => h.max,
267
+ (d) => {
268
+ Number(ve.value) > Number(d) && (ve.value = Number(d)), Number(me.value) > Number(d) && (me.value = Number(d));
269
269
  }
270
270
  );
271
- const Jt = y(null), W = y({
271
+ const Qt = y(null), W = y({
272
272
  width: 1,
273
273
  height: 1
274
- }), le = y(null);
274
+ }), ae = y(null);
275
275
  Zl(() => {
276
276
  if (ge.value) {
277
- const v = ba(() => {
278
- if (!Jt.value) return;
279
- const { width: m, height: f } = dn({ chart: Jt.value }), _ = Math.max(0, Math.round(m)), T = Math.max(0, Math.round(f - 47));
277
+ const d = ba(() => {
278
+ if (!Qt.value) return;
279
+ const { width: m, height: f } = dn({ chart: Qt.value }), _ = Math.max(0, Math.round(m)), T = Math.max(0, Math.round(f - 47));
280
280
  (_ !== W.value.width || T !== W.value.height) && (W.value.width = _, W.value.height = T);
281
281
  }, 0);
282
- le.value = new ResizeObserver(v), le.value.observe(Jt.value);
282
+ ae.value = new ResizeObserver(d), ae.value.observe(Qt.value);
283
283
  }
284
284
  }), Ll(() => {
285
- le.value && le.value.disconnect();
285
+ ae.value && ae.value.disconnect();
286
286
  });
287
- const at = x(() => Math.max(1, d.max - d.min));
288
- function Ql(v) {
289
- const m = Math.floor(v - d.min);
287
+ const at = x(() => Math.max(1, h.max - h.min));
288
+ function Ql(d) {
289
+ const m = Math.floor(d - h.min);
290
290
  return Math.min(Math.max(0, m), at.value);
291
291
  }
292
- function Qt(v) {
293
- const m = Math.ceil(v - d.min);
292
+ function jt(d) {
293
+ const m = Math.ceil(d - h.min);
294
294
  return Math.min(Math.max(0, m), at.value);
295
295
  }
296
- const Ee = x(() => Ql(ve.value)), Pe = x(() => Qt(me.value)), xl = x(() => Math.max(...d.allMinimaps.map((v) => v.series.length))), ae = x(() => {
297
- if (!d.minimap.length) return 0;
298
- const v = Math.max(1, xl.value - (d.minimapCompact ? 1 : 0));
299
- return W.value.width / v;
300
- }), de = x(() => d.allMinimaps.length ? d.allMinimaps.filter((v) => v.type === "bar").length : 0), Z = x(() => ae.value / (de.value || 1) * 0.8);
301
- function Il(v, m, f) {
302
- const _ = Z.value, T = Math.max(1, de.value), D = xl.value - 1;
303
- return f === 0 ? v + _ / 2 * m : f === D ? v - _ / 2 * (T - m) : v - T * _ / 2 + m * _;
296
+ const Ee = x(() => Ql(ve.value)), Pe = x(() => jt(me.value)), bl = x(() => Math.max(...h.allMinimaps.map((d) => d.series.length))), oe = x(() => {
297
+ if (!h.minimap.length) return 0;
298
+ const d = Math.max(1, bl.value - (h.minimapCompact ? 1 : 0));
299
+ return W.value.width / d;
300
+ }), de = x(() => h.allMinimaps.length ? h.allMinimaps.filter((d) => d.type === "bar").length : 0), J = x(() => oe.value / (de.value || 1) * 0.8);
301
+ function Il(d, m, f) {
302
+ const _ = J.value, T = Math.max(1, de.value), D = bl.value - 1;
303
+ return f === 0 ? d + _ / 2 * m : f === D ? d - _ / 2 * (T - m) : d - T * _ / 2 + m * _;
304
304
  }
305
- function Nl(v, m) {
306
- return [0, xl.value - 1].includes(m) ? Z.value / 2 : Z.value;
305
+ function Nl(d, m) {
306
+ return [0, bl.value - 1].includes(m) ? J.value / 2 : J.value;
307
307
  }
308
308
  const Pl = x(() => {
309
- const v = [];
310
- if (Array.isArray(d.minimap) && d.minimap.length && d.minimapMerged && v.push(...d.minimap.filter(Number.isFinite)), Array.isArray(d.allMinimaps) && d.allMinimaps.length)
311
- for (const m of d.allMinimaps)
312
- m?.isVisible && Array.isArray(m?.series) && v.push(...m.series.filter(Number.isFinite));
313
- return v.length ? { min: Math.min(...v), max: Math.max(...v) } : { min: 0, max: 1 };
314
- }), He = x(() => Pl.value.min), gt = x(() => Pl.value.max), X = x(() => He.value < 0 && gt.value > 0 || gt.value <= 0 ? He.value : 0), jl = x(() => Math.max(1e-9, Math.max(Math.abs(He.value), Math.abs(gt.value)))), Fl = x(() => He.value < 0 && gt.value > 0), bl = (v) => {
309
+ const d = [];
310
+ if (Array.isArray(h.minimap) && h.minimap.length && h.minimapMerged && d.push(...h.minimap.filter(Number.isFinite)), Array.isArray(h.allMinimaps) && h.allMinimaps.length)
311
+ for (const m of h.allMinimaps)
312
+ m?.isVisible && Array.isArray(m?.series) && d.push(...m.series.filter(Number.isFinite));
313
+ return d.length ? { min: Math.min(...d), max: Math.max(...d) } : { min: 0, max: 1 };
314
+ }), He = x(() => Pl.value.min), gt = x(() => Pl.value.max), X = x(() => He.value < 0 && gt.value > 0 || gt.value <= 0 ? He.value : 0), jl = x(() => Math.max(1e-9, Math.max(Math.abs(He.value), Math.abs(gt.value)))), Fl = x(() => He.value < 0 && gt.value > 0), yl = (d) => {
315
315
  const m = Math.max(1, W.value.height);
316
316
  if (Fl.value) {
317
317
  const f = jl.value;
318
- return (1 - (Math.max(-1, Math.min(1, v / f)) + 1) / 2) * m;
318
+ return (1 - (Math.max(-1, Math.min(1, d / f)) + 1) / 2) * m;
319
319
  } else {
320
320
  const f = Math.min(0, He.value), _ = Math.max(0, gt.value);
321
- return m - (v - f) / Math.max(1e-9, _ - f) * m;
321
+ return m - (d - f) / Math.max(1e-9, _ - f) * m;
322
322
  }
323
- }, _e = x(() => bl(0));
324
- function ot(v, m, f) {
323
+ }, _e = x(() => yl(0));
324
+ function ot(d, m, f) {
325
325
  const _ = (D, we, $) => Math.max(we, Math.min($, D));
326
326
  if (m <= 0) {
327
- const D = Math.max(1e-9, 0 - v);
328
- return (we) => f - (we - v) / D * f;
329
- } else if (v >= 0) {
327
+ const D = Math.max(1e-9, 0 - d);
328
+ return (we) => f - (we - d) / D * f;
329
+ } else if (d >= 0) {
330
330
  const D = Math.max(1e-9, m - 0);
331
331
  return (we) => f - (we - 0) / D * f;
332
332
  } else {
333
- const D = Math.max(1e-9, Math.max(Math.abs(v), Math.abs(m)));
333
+ const D = Math.max(1e-9, Math.max(Math.abs(d), Math.abs(m)));
334
334
  return (we) => (1 - (_(we / D, -1, 1) + 1) / 2) * f;
335
335
  }
336
336
  }
337
- function jt(v, m = !1) {
338
- if (!v || !v.length)
337
+ function el(d, m = !1) {
338
+ if (!d || !d.length)
339
339
  return {
340
340
  fullSet: "",
341
341
  points: [],
@@ -348,21 +348,21 @@ const _n = {
348
348
  fullMarkers: [],
349
349
  selectionMarkers: []
350
350
  };
351
- const f = Math.max(1, W.value.height), _ = ot(He.value, gt.value, f), T = v.length, D = Math.min(Math.max(0, Ee.value), Math.max(0, T - 1)), we = Math.min(T, Math.max(D + 1, Pe.value)), $ = v.map((se, il) => {
352
- const wt = se, oa = Number.isFinite(wt), La = ae.value * il + (d.minimapCompact ? 0 : ae.value / 2), Ca = _(0);
351
+ const f = Math.max(1, W.value.height), _ = ot(He.value, gt.value, f), T = d.length, D = Math.min(Math.max(0, Ee.value), Math.max(0, T - 1)), we = Math.min(T, Math.max(D + 1, Pe.value)), $ = d.map((se, sl) => {
352
+ const wt = se, oa = Number.isFinite(wt), La = oe.value * sl + (h.minimapCompact ? 0 : oe.value / 2), Ca = _(0);
353
353
  return {
354
354
  x: La,
355
355
  y: oa ? _(wt) : NaN,
356
356
  v: wt,
357
357
  value: wt == null ? null : oa ? wt : null,
358
358
  y0: Ca,
359
- i: il
359
+ i: sl
360
360
  };
361
- }), kl = (se) => se >= 0 && se < $.length && Number.isFinite($[se]?.value), st = $.filter((se) => Number.isFinite(se.value) && !kl(se.i - 1) && !kl(se.i + 1)), Et = st.filter((se) => se.i >= D && se.i < we), Tt = $.slice(D, we), aa = $.length >= 2 ? d.smoothMinimap || m ? d.cutNullValues ? ya($) : pa($.filter((se) => se.value != null)) : d.cutNullValues ? ka($) : wa($.filter((se) => se.value != null)) : "", ul = Tt.length >= 2 ? d.smoothMinimap || m ? d.cutNullValues ? ya(Tt) : pa(Tt.filter((se) => se.value != null)) : d.cutNullValues ? ka(Tt) : wa(Tt.filter((se) => se.value != null)) : "";
361
+ }), wl = (se) => se >= 0 && se < $.length && Number.isFinite($[se]?.value), st = $.filter((se) => Number.isFinite(se.value) && !wl(se.i - 1) && !wl(se.i + 1)), Et = st.filter((se) => se.i >= D && se.i < we), Tt = $.slice(D, we), aa = $.length >= 2 ? h.smoothMinimap || m ? h.cutNullValues ? ya($) : pa($.filter((se) => se.value != null)) : h.cutNullValues ? ka($) : wa($.filter((se) => se.value != null)) : "", il = Tt.length >= 2 ? h.smoothMinimap || m ? h.cutNullValues ? ya(Tt) : pa(Tt.filter((se) => se.value != null)) : h.cutNullValues ? ka(Tt) : wa(Tt.filter((se) => se.value != null)) : "";
362
362
  return {
363
363
  fullSet: aa,
364
364
  points: $,
365
- selectionSet: ul,
365
+ selectionSet: il,
366
366
  sliced: Tt,
367
367
  firstPlot: $[D] || null,
368
368
  lastPlot: $[Math.max(0, we - 1)] || null,
@@ -372,140 +372,140 @@ const _n = {
372
372
  selectionMarkers: Et
373
373
  };
374
374
  }
375
- const H = x(() => d.minimap.length ? jt(d.minimap) : []), Je = x(() => d.allMinimaps.length ? d.allMinimaps.map((v, m) => {
376
- const f = jt(v?.series || [], !!v.smooth), _ = v?.id ?? v?.name ?? m;
375
+ const H = x(() => h.minimap.length ? el(h.minimap) : []), Je = x(() => h.allMinimaps.length ? h.allMinimaps.map((d, m) => {
376
+ const f = el(d?.series || [], !!d.smooth), _ = d?.id ?? d?.name ?? m;
377
377
  return {
378
378
  key: typeof _ == "object" ? JSON.stringify(_) : String(_),
379
- color: v?.color,
379
+ color: d?.color,
380
380
  ...f,
381
- isVisible: v.isVisible,
382
- type: v.type || "line"
381
+ isVisible: d.isVisible,
382
+ type: d.type || "line"
383
383
  };
384
384
  }) : []), M = x(() => {
385
- const v = Ee.value, m = Math.max(v + 1, Pe.value);
385
+ const d = Ee.value, m = Math.max(d + 1, Pe.value);
386
386
  return {
387
- x: ae.value * v + (d.minimapCompact ? 0 : ae.value / 2),
388
- width: ae.value * (m - v) - ae.value
387
+ x: oe.value * d + (h.minimapCompact ? 0 : oe.value / 2),
388
+ width: oe.value * (m - d) - oe.value
389
389
  };
390
- }), xt = y(d.minimapSelectedIndex), Rl = (v) => Math.round(d.min + v), Pt = x({
390
+ }), xt = y(h.minimapSelectedIndex), Rl = (d) => Math.round(h.min + d), Pt = x({
391
391
  get() {
392
- return Nt.value ? Ee.value : Number(Ut.value);
392
+ return Nt.value ? Ee.value : Number(Zt.value);
393
393
  },
394
- set(v) {
394
+ set(d) {
395
395
  if (Nt.value) {
396
- const m = Math.round(+v || 0);
396
+ const m = Math.round(+d || 0);
397
397
  Ct(Rl(m));
398
398
  } else {
399
- let m = Math.round(+v || 0);
400
- const f = Number(me.value) - 1, _ = Math.min(Math.max(d.min, m), f);
399
+ let m = Math.round(+d || 0);
400
+ const f = Number(me.value) - 1, _ = Math.min(Math.max(h.min, m), f);
401
401
  Lt.value && (Lt.value.valueAsNumber = _), Ct(_);
402
402
  }
403
403
  }
404
- }), el = x({
404
+ }), tl = x({
405
405
  get() {
406
406
  return Nt.value ? Math.max(Ee.value, Pe.value - 1) : Number(_t.value);
407
407
  },
408
- set(v) {
408
+ set(d) {
409
409
  if (Nt.value) {
410
- const m = Math.round(+v || 0);
410
+ const m = Math.round(+d || 0);
411
411
  Me(Rl(m + 1));
412
412
  } else {
413
- let m = Math.round(+v || 0);
414
- const f = Number(ve.value) + 1, _ = Math.max(f, Math.min(m, d.max));
413
+ let m = Math.round(+d || 0);
414
+ const f = Number(ve.value) + 1, _ = Math.max(f, Math.min(m, h.max));
415
415
  t.value && (t.value.valueAsNumber = _), Me(_);
416
416
  }
417
417
  }
418
418
  });
419
- function A(v) {
420
- xt.value = Ql(d.valueStart) + v;
419
+ function A(d) {
420
+ xt.value = Ql(h.valueStart) + d;
421
421
  }
422
422
  const De = vn(A, 60);
423
- ht(() => d.minimapSelectedIndex, (v, m) => {
424
- if ([null, void 0].includes(v)) {
423
+ ht(() => h.minimapSelectedIndex, (d, m) => {
424
+ if ([null, void 0].includes(d)) {
425
425
  xt.value = null;
426
426
  return;
427
427
  }
428
- v !== m && De(v);
428
+ d !== m && De(d);
429
429
  }, { immediate: !0 });
430
- function Ol(v) {
431
- xt.value = v;
430
+ function Ol(d) {
431
+ xt.value = d;
432
432
  const m = Ee.value, f = Pe.value;
433
- v >= m && v < f && !tt.value && Le("trapMouse", v - m);
433
+ d >= m && d < f && !tt.value && Le("trapMouse", d - m);
434
434
  }
435
435
  const Lt = y(null), t = y(null);
436
- function p(v) {
437
- if (typeof v == "object" && v && "target" in v) {
438
- const f = v.target, _ = "valueAsNumber" in f ? f.valueAsNumber : +f.value;
436
+ function p(d) {
437
+ if (typeof d == "object" && d && "target" in d) {
438
+ const f = d.target, _ = "valueAsNumber" in f ? f.valueAsNumber : +f.value;
439
439
  return Number.isFinite(_) ? _ : NaN;
440
440
  }
441
- const m = +v;
441
+ const m = +d;
442
442
  return Number.isFinite(m) ? m : NaN;
443
443
  }
444
- let tl = 0;
445
- function Ct(v) {
444
+ let ll = 0;
445
+ function Ct(d) {
446
446
  $t.value = !0;
447
- const m = p(v);
448
- Number.isFinite(m) && (cancelAnimationFrame(tl), tl = requestAnimationFrame(() => {
449
- Ut.value = m;
447
+ const m = p(d);
448
+ Number.isFinite(m) && (cancelAnimationFrame(ll), ll = requestAnimationFrame(() => {
449
+ Zt.value = m;
450
450
  }));
451
451
  }
452
452
  let be = 0;
453
- function Me(v) {
453
+ function Me(d) {
454
454
  $t.value = !0;
455
- const m = p(v);
455
+ const m = p(d);
456
456
  Number.isFinite(m) && (cancelAnimationFrame(be), be = requestAnimationFrame(() => {
457
457
  _t.value = m;
458
458
  }));
459
459
  }
460
460
  Ll(() => {
461
- cancelAnimationFrame(tl), cancelAnimationFrame(be);
461
+ cancelAnimationFrame(ll), cancelAnimationFrame(be);
462
462
  });
463
- const bt = x(() => d.valueEnd - d.valueStart), _a = x(() => bt.value < d.max - d.min), Ft = y(!1);
463
+ const bt = x(() => h.valueEnd - h.valueStart), _a = x(() => bt.value < h.max - h.min), Ft = y(!1);
464
464
  let yt = y(null);
465
- const Qe = x(() => (Kl.value - 48) / (d.max - d.min) * bt.value), w = x(() => Math.max(1, Kl.value - Ra - Qe.value)), We = x(() => Math.max(1, d.max - d.min - bt.value)), ea = x(() => We.value / w.value), Vl = y(0), At = y(0), Ma = y(0), Bl = y(0);
465
+ const Qe = x(() => (Kl.value - 48) / (h.max - h.min) * bt.value), w = x(() => Math.max(1, Kl.value - Ra - Qe.value)), We = x(() => Math.max(1, h.max - h.min - bt.value)), ea = x(() => We.value / w.value), Vl = y(0), At = y(0), Ma = y(0), Bl = y(0);
466
466
  let nt = null, ut = null, it = null, pt = null;
467
- const ll = y(d.min);
468
- function Rt(v) {
469
- if (!Ne.value) return d.min;
470
- const m = Ne.value.getBoundingClientRect(), f = m.left + Ra / 2, _ = m.right - Ra / 2, T = Math.max(1, _ - f), we = (Math.max(f, Math.min(v, _)) - f) / T, $ = Math.max(1, d.max - d.min);
471
- return Math.round(d.min + we * $);
467
+ const al = y(h.min);
468
+ function Rt(d) {
469
+ if (!Ne.value) return h.min;
470
+ const m = Ne.value.getBoundingClientRect(), f = m.left + Ra / 2, _ = m.right - Ra / 2, T = Math.max(1, _ - f), we = (Math.max(f, Math.min(d, _)) - f) / T, $ = Math.max(1, h.max - h.min);
471
+ return Math.round(h.min + we * $);
472
472
  }
473
- const al = async (v) => {
474
- if ($t.value = !0, Vt.value = !0, !d.enableSelectionDrag) return;
475
- const m = v.type === "touchstart";
476
- m || v.stopPropagation();
477
- const f = m && v.targetTouches && v.targetTouches[0] ? v.targetTouches[0] : null, _ = m ? f ? f.target : null : v.target;
473
+ const ol = async (d) => {
474
+ if ($t.value = !0, Vt.value = !0, !h.enableSelectionDrag) return;
475
+ const m = d.type === "touchstart";
476
+ m || d.stopPropagation();
477
+ const f = m && d.targetTouches && d.targetTouches[0] ? d.targetTouches[0] : null, _ = m ? f ? f.target : null : d.target;
478
478
  if (!_ || !(_ instanceof Element) || _.classList && _.classList.contains("range-handle")) return;
479
479
  Ft.value = !0;
480
- const T = m ? f ? f.clientX : 0 : v.clientX;
481
- if (yt.value = T, Vl.value = T, d.focusOnDrag && !_a.value && Ne.value) {
482
- ll.value = Rt(T);
483
- const D = Math.min(0.95, Math.max(0.05, d.focusRangeRatio)), we = d.max - d.min, $ = Math.max(1, Math.round(we * D)), kl = Math.floor($ / 2);
484
- let st = ll.value - kl;
485
- st = Math.max(d.min, Math.min(st, d.max - $));
486
- const Et = Math.min(d.max, st + $);
487
- Ut.value = st, _t.value = Et, qt(st), gl(Et), yo(Ne.value, "mouseup"), await Ml(), yo(Ne.value, "mousedown", { clientX: T });
480
+ const T = m ? f ? f.clientX : 0 : d.clientX;
481
+ if (yt.value = T, Vl.value = T, h.focusOnDrag && !_a.value && Ne.value) {
482
+ al.value = Rt(T);
483
+ const D = Math.min(0.95, Math.max(0.05, h.focusRangeRatio)), we = h.max - h.min, $ = Math.max(1, Math.round(we * D)), wl = Math.floor($ / 2);
484
+ let st = al.value - wl;
485
+ st = Math.max(h.min, Math.min(st, h.max - $));
486
+ const Et = Math.min(h.max, st + $);
487
+ Zt.value = st, _t.value = Et, qt(st), xl(Et), yo(Ne.value, "mouseup"), await Ml(), yo(Ne.value, "mousedown", { clientX: T });
488
488
  }
489
- At.value = ve.value, Ma.value = me.value, Bl.value = ea.value, nt = m ? "touchmove" : "mousemove", ut = m ? "touchend" : "mouseup", it = m ? ol : Xe, pt = m ? Fe : et, window.addEventListener(nt, it, { passive: !1 }), window.addEventListener(ut, pt);
489
+ At.value = ve.value, Ma.value = me.value, Bl.value = ea.value, nt = m ? "touchmove" : "mousemove", ut = m ? "touchend" : "mouseup", it = m ? nl : Xe, pt = m ? Fe : et, window.addEventListener(nt, it, { passive: !1 }), window.addEventListener(ut, pt);
490
490
  };
491
- function Xe(v) {
492
- Ft.value && je(v.clientX);
491
+ function Xe(d) {
492
+ Ft.value && je(d.clientX);
493
493
  }
494
- function ol(v) {
494
+ function nl(d) {
495
495
  if (!Ft.value || !Ne.value) return;
496
- const m = v.target;
496
+ const m = d.target;
497
497
  if (!(m instanceof Element) || !Ne.value.contains(m) || m.classList && m.classList.contains("range-handle")) return;
498
- v.preventDefault();
499
- const f = v.targetTouches && v.targetTouches[0] ? v.targetTouches[0] : null;
498
+ d.preventDefault();
499
+ const f = d.targetTouches && d.targetTouches[0] ? d.targetTouches[0] : null;
500
500
  f && je(f.clientX);
501
501
  }
502
- function je(v) {
502
+ function je(d) {
503
503
  if (!Ft.value) return;
504
- const m = Rt(Vl.value), _ = Rt(v) - m;
504
+ const m = Rt(Vl.value), _ = Rt(d) - m;
505
505
  let T = Math.round(At.value + _);
506
- T = Math.max(d.min, Math.min(T, d.max - bt.value));
506
+ T = Math.max(h.min, Math.min(T, h.max - bt.value));
507
507
  const D = T + bt.value;
508
- Ut.value = T, _t.value = D, qt(T), gl(D);
508
+ Zt.value = T, _t.value = D, qt(T), xl(D);
509
509
  }
510
510
  function et() {
511
511
  ta();
@@ -516,85 +516,85 @@ const _n = {
516
516
  function ta() {
517
517
  Ft.value = !1, nt && it && window.removeEventListener(nt, it), ut && pt && window.removeEventListener(ut, pt), nt = ut = null, it = pt = null, Te();
518
518
  }
519
- const tt = y(!1), nl = y(null), Ot = y(null), yl = y(1), c = y(1), Vt = y(!1);
519
+ const tt = y(!1), ul = y(null), Ot = y(null), pl = y(1), c = y(1), Vt = y(!1);
520
520
  function El() {
521
- if (nl.value) {
522
- const v = Math.round(nl.value.getBoundingClientRect().width);
523
- v !== yl.value && (yl.value = v);
521
+ if (ul.value) {
522
+ const d = Math.round(ul.value.getBoundingClientRect().width);
523
+ d !== pl.value && (pl.value = d);
524
524
  }
525
525
  }
526
- function pl() {
526
+ function kl() {
527
527
  if (Ot.value) {
528
- const v = Math.round(Ot.value.getBoundingClientRect().width);
529
- v !== c.value && (c.value = v);
528
+ const d = Math.round(Ot.value.getBoundingClientRect().width);
529
+ d !== c.value && (c.value = d);
530
530
  }
531
531
  }
532
532
  ho(() => {
533
- El(), pl();
533
+ El(), kl();
534
534
  });
535
535
  const la = y(0);
536
- function Hl(v) {
537
- la.value = v === "start" ? 1 : 0;
536
+ function Hl(d) {
537
+ la.value = d === "start" ? 1 : 0;
538
538
  }
539
539
  const kt = y(!1), Bt = y({
540
540
  width: 0,
541
541
  left: 0
542
542
  });
543
543
  ht([ve, me], async () => {
544
- if (await Ml(), !nl.value || !Ot.value) {
544
+ if (await Ml(), !ul.value || !Ot.value) {
545
545
  kt.value = !1, Bt.value = { width: 0, left: 0 };
546
546
  return;
547
547
  }
548
- const v = nl.value.getBoundingClientRect(), m = Ot.value.getBoundingClientRect();
549
- kt.value = v.x + v.width > m.x;
550
- const f = v.x + v.width / 2, _ = m.x + m.width / 2, T = v.width + m.width, D = (f + _) / 2;
548
+ const d = ul.value.getBoundingClientRect(), m = Ot.value.getBoundingClientRect();
549
+ kt.value = d.x + d.width > m.x;
550
+ const f = d.x + d.width / 2, _ = m.x + m.width / 2, T = d.width + m.width, D = (f + _) / 2;
551
551
  Bt.value = {
552
552
  width: T,
553
553
  left: D - T / 2
554
554
  };
555
555
  }), ho(() => {
556
- El(), pl();
557
- }), ht(() => d.labelLeft, () => {
556
+ El(), kl();
557
+ }), ht(() => h.labelLeft, () => {
558
558
  Ml(El);
559
- }, { deep: !0 }), ht(() => d.labelRight, () => {
560
- Ml(pl);
559
+ }, { deep: !0 }), ht(() => h.labelRight, () => {
560
+ Ml(kl);
561
561
  }, { deep: !0 });
562
562
  const xe = x(() => {
563
- let v = "", m = "", f = !1;
564
- if (xa(d.customFormat))
563
+ let d = "", m = "", f = !1;
564
+ if (xa(h.customFormat))
565
565
  try {
566
- const _ = d.customFormat({
566
+ const _ = h.customFormat({
567
567
  absoluteIndex: ve.value,
568
568
  seriesIndex: ve.value,
569
- datapoint: d.selectedSeries
570
- }), T = d.customFormat({
569
+ datapoint: h.selectedSeries
570
+ }), T = h.customFormat({
571
571
  absoluteIndex: me.value - 1,
572
572
  seriesIndex: -1,
573
- datapoint: d.selectedSeries
573
+ datapoint: h.selectedSeries
574
574
  });
575
- typeof _ == "string" && typeof T == "string" && (v = _, m = T, f = !0);
575
+ typeof _ == "string" && typeof T == "string" && (d = _, m = T, f = !0);
576
576
  } catch {
577
577
  f = !1;
578
578
  }
579
579
  if (!f) {
580
- const _ = d.usePreciseLabels ? d.preciseLabels.find((D) => D.absoluteIndex === ve.value) : d.timeLabels.find((D) => D.absoluteIndex === ve.value), T = d.usePreciseLabels ? d.preciseLabels.find((D) => D.absoluteIndex === me.value - 1) : d.timeLabels.find((D) => D.absoluteIndex === me.value - 1);
581
- v = _ ? _.text : "", m = T ? T.text : "";
580
+ const _ = h.usePreciseLabels ? h.preciseLabels.find((D) => D.absoluteIndex === ve.value) : h.timeLabels.find((D) => D.absoluteIndex === ve.value), T = h.usePreciseLabels ? h.preciseLabels.find((D) => D.absoluteIndex === me.value - 1) : h.timeLabels.find((D) => D.absoluteIndex === me.value - 1);
581
+ d = _ ? _.text : "", m = T ? T.text : "";
582
582
  }
583
- return { left: v, right: m };
583
+ return { left: d, right: m };
584
584
  });
585
585
  Ll(() => {
586
- le.value && le.value.disconnect(), nt && it && window.removeEventListener(nt, it), ut && pt && window.removeEventListener(ut, pt), nt = ut = null, it = pt = null, clearTimeout(Be);
586
+ ae.value && ae.value.disconnect(), nt && it && window.removeEventListener(nt, it), ut && pt && window.removeEventListener(ut, pt), nt = ut = null, it = pt = null, clearTimeout(Be);
587
587
  });
588
588
  const Dl = x(() => {
589
589
  if (!Jl.value.length) return null;
590
590
  if (xt.value >= Ee.value && xt.value < Pe.value) {
591
- const v = xt.value;
591
+ const d = xt.value;
592
592
  return {
593
- x1: ae.value * v + (d.minimapCompact ? 0 : ae.value / 2),
594
- x2: ae.value * v + (d.minimapCompact ? 0 : ae.value / 2),
593
+ x1: oe.value * d + (h.minimapCompact ? 0 : oe.value / 2),
594
+ x2: oe.value * d + (h.minimapCompact ? 0 : oe.value / 2),
595
595
  y1: 0,
596
596
  y2: Math.max(W.value.height, 0),
597
- stroke: d.minimapIndicatorColor,
597
+ stroke: h.minimapIndicatorColor,
598
598
  "stroke-linecap": "round",
599
599
  "stroke-dasharray": 2,
600
600
  "stroke-width": 1
@@ -605,18 +605,18 @@ const _n = {
605
605
  return Sa({
606
606
  setStartValue: Ct,
607
607
  setEndValue: Me
608
- }), (v, m) => (n(), u("div", {
608
+ }), (d, m) => (n(), u("div", {
609
609
  "data-dom-to-png-ignore": "",
610
610
  style: { padding: "0 24px" },
611
611
  class: "vue-data-ui-zoom",
612
612
  ref_key: "zoomWrapper",
613
613
  ref: Ne,
614
- onMousedown: al,
615
- onTouchstart: al
614
+ onMousedown: ol,
615
+ onTouchstart: ol
616
616
  }, [
617
617
  k("div", _n, [
618
618
  S.valueStart !== S.refreshStartPoint || S.valueEnd !== Ke.value ? (n(), u("div", Mn, [
619
- S.useResetSlot ? te(v.$slots, "reset-action", {
619
+ S.useResetSlot ? le(d.$slots, "reset-action", {
620
620
  key: 1,
621
621
  reset: E
622
622
  }, void 0, !0) : (n(), u("button", {
@@ -630,7 +630,7 @@ const _n = {
630
630
  }),
631
631
  onClick: E
632
632
  }, [
633
- ml(Sn, {
633
+ gl(Sn, {
634
634
  name: "refresh",
635
635
  stroke: S.textColor
636
636
  }, null, 8, ["stroke"])
@@ -640,7 +640,7 @@ const _n = {
640
640
  k("div", {
641
641
  class: "double-range-slider",
642
642
  ref_key: "minimapWrapper",
643
- ref: Jt,
643
+ ref: Qt,
644
644
  style: { "z-index": "0" },
645
645
  onMouseenter: m[11] || (m[11] = (f) => Vt.value = !0),
646
646
  onMouseleave: m[12] || (m[12] = (f) => Vt.value = !1)
@@ -648,7 +648,7 @@ const _n = {
648
648
  ge.value ? (n(), u("div", Ln, [
649
649
  (n(), u("svg", {
650
650
  key: `mm-${S.minimapMerged ? "merged" : "split"}-${S.minimapCompact ? "compact" : "normal"}`,
651
- xmlns: h(Qo),
651
+ xmlns: v(Qo),
652
652
  viewBox: `0 0 ${Math.max(0, W.value.width)} ${Math.max(0, W.value.height)}`
653
653
  }, [
654
654
  k("defs", null, [
@@ -692,7 +692,7 @@ const _n = {
692
692
  }, null, 8, In)) : g("", !0),
693
693
  S.minimapMerged && !S.minimapCompact ? (n(), u("path", {
694
694
  key: 2,
695
- d: `M${ae.value / 2},${Math.max(W.value.height, 0)} ${H.value.fullSet} L${W.value.width - ae.value / 2},${Math.max(W.value.height, 0)}Z`,
695
+ d: `M${oe.value / 2},${Math.max(W.value.height, 0)} ${H.value.fullSet} L${W.value.width - oe.value / 2},${Math.max(W.value.height, 0)}Z`,
696
696
  fill: `url(#${Cl.value})`,
697
697
  stroke: "none",
698
698
  style: { opacity: "0.6" }
@@ -724,7 +724,7 @@ const _n = {
724
724
  cy: _.y,
725
725
  r: "2",
726
726
  fill: f.color,
727
- stroke: ne.value,
727
+ stroke: ue.value,
728
728
  "stroke-width": "0.5",
729
729
  style: { opacity: "0.6" }
730
730
  }, null, 8, Rn))), 128)) : g("", !0)
@@ -735,7 +735,7 @@ const _n = {
735
735
  y: 0,
736
736
  width: Math.max(0, M.value.width),
737
737
  height: Math.max(W.value.height, 0),
738
- fill: ne.value,
738
+ fill: ue.value,
739
739
  rx: S.minimapSelectionRadius,
740
740
  stroke: "none"
741
741
  }, null, 8, On),
@@ -745,7 +745,7 @@ const _n = {
745
745
  width: M.value.width < 0 ? 0 : M.value.width,
746
746
  height: Math.max(W.value.height, 0),
747
747
  rx: S.minimapSelectionRadius,
748
- fill: ne.value,
748
+ fill: ue.value,
749
749
  style: C({ opacity: Ft.value || $t.value ? 0 : 1 })
750
750
  }, null, 12, Vn),
751
751
  k("rect", {
@@ -791,7 +791,7 @@ const _n = {
791
791
  cx: H.value.firstPlot.x,
792
792
  cy: H.value.firstPlot.y,
793
793
  "stroke-width": "0.5",
794
- stroke: ne.value,
794
+ stroke: ue.value,
795
795
  r: "3",
796
796
  fill: S.minimapLineColor
797
797
  }, null, 8, Xn)) : g("", !0),
@@ -800,7 +800,7 @@ const _n = {
800
800
  cx: H.value.lastPlot.x,
801
801
  cy: H.value.lastPlot.y,
802
802
  "stroke-width": "0.5",
803
- stroke: ne.value,
803
+ stroke: ue.value,
804
804
  r: "3",
805
805
  fill: S.minimapLineColor
806
806
  }, null, 8, Yn)) : g("", !0)
@@ -814,8 +814,8 @@ const _n = {
814
814
  width: Nl(_, D),
815
815
  height: T.v >= 0 ? T.y0 - T.y : T.y - T.y0,
816
816
  fill: f.color,
817
- style: C({ opacity: D >= Ut.value && D < _t.value ? 1 : 0 })
818
- }, null, 12, qn)) : g("", !0)
817
+ style: C({ opacity: D >= Zt.value && D < _t.value ? 1 : 0 })
818
+ }, null, 12, Un)) : g("", !0)
819
819
  ], 64))), 256))
820
820
  ]))), 256)),
821
821
  (n(!0), u(b, null, L(Je.value.filter((f) => f.type === "line"), (f) => (n(), u("g", {
@@ -829,7 +829,7 @@ const _n = {
829
829
  "stroke-width": "2",
830
830
  "stroke-linecap": "round",
831
831
  "stroke-linejoin": "round"
832
- }, null, 8, Un)) : g("", !0)
832
+ }, null, 8, qn)) : g("", !0)
833
833
  ]))), 128))
834
834
  ])),
835
835
  ge.value && S.minimapCompact ? (n(), u("rect", {
@@ -839,7 +839,7 @@ const _n = {
839
839
  y: 0,
840
840
  width: 8,
841
841
  height: W.value.height,
842
- fill: ne.value,
842
+ fill: ue.value,
843
843
  stroke: S.textColor,
844
844
  rx: 3
845
845
  }, null, 8, Zn)) : g("", !0),
@@ -850,18 +850,18 @@ const _n = {
850
850
  y: 0,
851
851
  width: 8,
852
852
  height: W.value.height,
853
- fill: ne.value,
853
+ fill: ue.value,
854
854
  stroke: S.textColor,
855
855
  rx: 3
856
856
  }, null, 8, Kn)) : g("", !0),
857
- xt.value !== null && !tt.value ? (n(), u("line", Yt(Gt({ key: 9 }, Dl.value)), null, 16)) : g("", !0),
857
+ xt.value !== null && !tt.value ? (n(), u("line", Gt(Ut({ key: 9 }, Dl.value)), null, 16)) : g("", !0),
858
858
  S.minimapMerged ? (n(), u("g", Jn, [
859
859
  H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (n(), u("circle", {
860
860
  key: 0,
861
861
  cx: H.value.firstPlot.x,
862
862
  cy: H.value.firstPlot.y,
863
863
  "stroke-width": "0.5",
864
- stroke: ne.value,
864
+ stroke: ue.value,
865
865
  r: "4",
866
866
  fill: S.minimapLineColor
867
867
  }, null, 8, Qn)) : g("", !0),
@@ -870,14 +870,14 @@ const _n = {
870
870
  cx: H.value.firstPlot.x,
871
871
  cy: H.value.firstPlot.y,
872
872
  r: 2,
873
- fill: ne.value
873
+ fill: ue.value
874
874
  }, null, 8, jn)) : g("", !0),
875
875
  H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (n(), u("circle", {
876
876
  key: 2,
877
877
  cx: H.value.lastPlot.x,
878
878
  cy: H.value.lastPlot.y,
879
879
  "stroke-width": "0.5",
880
- stroke: ne.value,
880
+ stroke: ue.value,
881
881
  r: "4",
882
882
  fill: S.minimapLineColor
883
883
  }, null, 8, eu)) : g("", !0),
@@ -886,7 +886,7 @@ const _n = {
886
886
  cx: H.value.lastPlot.x,
887
887
  cy: H.value.lastPlot.y,
888
888
  r: "2",
889
- fill: ne.value
889
+ fill: ue.value
890
890
  }, null, 8, tu)) : g("", !0)
891
891
  ])) : (n(), u("g", lu, [
892
892
  (n(!0), u(b, null, L(Je.value.filter((f) => f.type === "line"), (f) => (n(), u("g", {
@@ -907,7 +907,7 @@ const _n = {
907
907
  cy: _.y,
908
908
  r: "2.5",
909
909
  fill: f.color,
910
- stroke: ne.value,
910
+ stroke: ue.value,
911
911
  "stroke-width": "0.5"
912
912
  }, null, 8, ou))), 128)) : g("", !0),
913
913
  f && f.firstPlot && f.isVisible && f.firstPlot.value !== null ? (n(), u("circle", {
@@ -915,7 +915,7 @@ const _n = {
915
915
  cx: f.firstPlot.x,
916
916
  cy: f.firstPlot.y,
917
917
  "stroke-width": "0.5",
918
- stroke: ne.value,
918
+ stroke: ue.value,
919
919
  r: "4",
920
920
  fill: f.color
921
921
  }, null, 8, nu)) : g("", !0),
@@ -924,14 +924,14 @@ const _n = {
924
924
  cx: f.firstPlot.x,
925
925
  cy: f.firstPlot.y,
926
926
  r: "2",
927
- fill: ne.value
927
+ fill: ue.value
928
928
  }, null, 8, uu)) : g("", !0),
929
929
  f && f.lastPlot && f.isVisible && f.lastPlot.value !== null ? (n(), u("circle", {
930
930
  key: 4,
931
931
  cx: f.lastPlot.x,
932
932
  cy: f.lastPlot.y,
933
933
  "stroke-width": "0.5",
934
- stroke: ne.value,
934
+ stroke: ue.value,
935
935
  r: "4",
936
936
  fill: f.color
937
937
  }, null, 8, iu)) : g("", !0),
@@ -940,15 +940,15 @@ const _n = {
940
940
  cx: f.lastPlot.x,
941
941
  cy: f.lastPlot.y,
942
942
  r: "2",
943
- fill: ne.value
943
+ fill: ue.value
944
944
  }, null, 8, su)) : g("", !0)
945
945
  ]))), 128))
946
946
  ])),
947
947
  (n(!0), u(b, null, L(Jl.value, (f, _) => (n(), u("rect", {
948
- x: ae.value * _ - (S.minimapCompact ? ae.value / 2 : 0),
948
+ x: oe.value * _ - (S.minimapCompact ? oe.value / 2 : 0),
949
949
  y: 0,
950
950
  height: Math.max(W.value.height, 0),
951
- width: ae.value < 0 ? 0 : ae.value,
951
+ width: oe.value < 0 ? 0 : oe.value,
952
952
  fill: "transparent",
953
953
  style: C([{ "pointer-events": "all !important" }, { cursor: f >= Ee.value && f < Pe.value && S.enableSelectionDrag ? tt.value ? "grabbing" : "grab" : "default" }]),
954
954
  onMousedown: m[0] || (m[0] = (T) => tt.value = !0),
@@ -1015,8 +1015,8 @@ const _n = {
1015
1015
  }),
1016
1016
  min: S.min,
1017
1017
  max: S.minimapCompact && ge.value ? Math.max(0, at.value - 1) : S.max,
1018
- "onUpdate:modelValue": m[8] || (m[8] = (f) => el.value = f),
1019
- onInput: m[9] || (m[9] = (f) => el.value = f.target.valueAsNumber),
1018
+ "onUpdate:modelValue": m[8] || (m[8] = (f) => tl.value = f),
1019
+ onInput: m[9] || (m[9] = (f) => tl.value = f.target.valueAsNumber),
1020
1020
  onChange: Te,
1021
1021
  onKeyup: fo(Te, ["enter"]),
1022
1022
  onBlur: Te,
@@ -1025,7 +1025,7 @@ const _n = {
1025
1025
  }, null, 42, vu)), [
1026
1026
  [
1027
1027
  mo,
1028
- el.value,
1028
+ tl.value,
1029
1029
  void 0,
1030
1030
  { number: !0 }
1031
1031
  ]
@@ -1033,7 +1033,7 @@ const _n = {
1033
1033
  xe.value.left ? (n(), u("div", {
1034
1034
  key: 3,
1035
1035
  ref_key: "tooltipLeft",
1036
- ref: nl,
1036
+ ref: ul,
1037
1037
  class: Ze({
1038
1038
  "range-tooltip": !0,
1039
1039
  "range-tooltip-visible": Vt.value,
@@ -1042,9 +1042,9 @@ const _n = {
1042
1042
  }),
1043
1043
  style: C({
1044
1044
  left: $e.value.tooltipLeft,
1045
- color: h(dt)(S.selectColor),
1045
+ color: v(dt)(S.selectColor),
1046
1046
  backgroundColor: S.selectColor,
1047
- border: `1px solid ${ne.value}`,
1047
+ border: `1px solid ${ue.value}`,
1048
1048
  zIndex: `${la.value + 4}`,
1049
1049
  visibility: kt.value || xe.value.left === xe.value.right ? "hidden" : "visible",
1050
1050
  top: ge.value && S.minimapCompact ? "calc(-100% - 12px)" : "-100%"
@@ -1063,9 +1063,9 @@ const _n = {
1063
1063
  style: C({
1064
1064
  left: $e.value.tooltipCenter,
1065
1065
  width: Bt.value.width + "px",
1066
- color: h(dt)(S.selectColor),
1066
+ color: v(dt)(S.selectColor),
1067
1067
  backgroundColor: S.selectColor,
1068
- border: `1px solid ${ne.value}`,
1068
+ border: `1px solid ${ue.value}`,
1069
1069
  zIndex: "4",
1070
1070
  top: ge.value && S.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1071
1071
  })
@@ -1082,9 +1082,9 @@ const _n = {
1082
1082
  }),
1083
1083
  style: C({
1084
1084
  left: $e.value.tooltipRight,
1085
- color: h(dt)(S.selectColor),
1085
+ color: v(dt)(S.selectColor),
1086
1086
  backgroundColor: S.selectColor,
1087
- border: `1px solid ${ne.value}`,
1087
+ border: `1px solid ${ue.value}`,
1088
1088
  zIndex: "4",
1089
1089
  visibility: kt.value || xe.value.left === xe.value.right ? "hidden" : "visible",
1090
1090
  top: ge.value && S.minimapCompact ? "calc(-100% - 12px)" : "-100%"
@@ -1093,51 +1093,51 @@ const _n = {
1093
1093
  ], 544)
1094
1094
  ], 544));
1095
1095
  }
1096
- }, hu = /* @__PURE__ */ Lo(du, [["__scopeId", "data-v-8840236b"]]), fu = ["id"], mu = ["id"], gu = ["viewBox", "aria-label"], xu = ["x", "y", "width", "height"], bu = { key: 1 }, yu = { class: "vue-ui-xy-grid" }, pu = ["stroke", "x1", "x2", "y1", "y2"], ku = ["stroke", "x1", "x2", "y1", "y2"], wu = { key: 1 }, Su = ["x1", "x2", "y1", "y2", "stroke"], $u = ["x1", "x2", "y1", "y2", "stroke"], _u = ["x1", "x2", "y1", "y2", "stroke"], Mu = { key: 3 }, Lu = ["d", "stroke"], Cu = { key: 4 }, Au = ["d", "stroke"], Tu = ["id"], zu = ["stop-color"], Iu = ["stop-color"], Nu = ["stop-color"], Pu = ["id"], Fu = ["stop-color"], Ru = ["stop-color"], Ou = ["stop-color"], Vu = ["id"], Bu = ["stop-color"], Eu = ["stop-color"], Hu = ["id"], Du = ["stop-color"], Wu = ["stop-color"], Xu = ["id"], Yu = ["stop-color"], Gu = ["stop-color"], qu = ["x", "y", "height", "width", "fill"], Uu = ["x", "y", "width"], Zu = { key: 0 }, Ku = ["x", "y", "height", "width", "fill"], Ju = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Qu = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], ju = ["width", "x", "y"], ei = { key: 0 }, ti = ["id"], li = ["fill"], ai = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], oi = ["x", "y", "font-size", "fill"], ni = ["stroke", "x1", "x2", "y1", "y2"], ui = { key: 3 }, ii = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], si = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], ri = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ci = ["fill", "font-size", "transform"], vi = ["x1", "x2", "y1", "y2", "stroke"], di = ["x", "y", "font-size", "fill"], hi = ["x1", "x2", "y1", "y2", "stroke"], fi = ["x", "y", "font-size", "fill"], mi = ["width", "x", "y"], gi = { style: { width: "100%" } }, xi = { key: 0 }, bi = ["id"], yi = ["fill"], pi = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ki = ["x", "y", "font-size", "fill"], wi = ["d", "stroke", "stroke-width", "stroke-dasharray"], Si = ["d", "stroke", "stroke-width", "stroke-dasharray"], $i = { key: 6 }, _i = { key: 7 }, Mi = ["d", "fill", "fill-opacity"], Li = { key: 0 }, Ci = ["d", "fill"], Ai = ["d", "fill"], Ti = ["d", "fill"], zi = ["d", "fill"], Ii = ["d", "stroke", "stroke-width", "stroke-dasharray"], Ni = ["d", "stroke", "stroke-width", "stroke-dasharray"], Pi = ["width", "x", "y"], Fi = { style: { width: "100%" } }, Ri = { key: 3 }, Oi = ["id"], Vi = ["fill"], Bi = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ei = ["x", "y", "font-size", "fill"], Hi = { key: 8 }, Di = ["x", "y", "font-size", "fill"], Wi = ["x", "y", "font-size", "fill", "font-weight"], Xi = { key: 9 }, Yi = ["x", "y", "font-size", "fill"], Gi = { key: 10 }, qi = ["x", "y"], Ui = ["innerHTML"], Zi = ["x", "y"], Ki = ["innerHTML"], Ji = ["x1", "x2", "y1", "y2", "stroke"], Qi = { key: 11 }, ji = ["x", "y", "font-size", "fill"], es = { key: 12 }, ts = ["x", "y"], ls = ["innerHTML"], as = ["x", "y"], os = ["innerHTML"], ns = ["x1", "x2", "y1", "y2", "stroke"], us = ["x", "y", "font-size", "fill", "innerHTML"], is = ["x", "y", "font-size", "fill", "innerHTML"], ss = ["x", "y", "font-size", "fill", "innerHTML"], rs = ["x", "y", "font-size", "fill", "innerHTML"], cs = ["id"], vs = ["stop-color"], ds = ["stop-color"], hs = ["x", "y", "width", "height", "fill", "onMouseenter"], fs = ["font-size", "fill", "transform"], ms = ["x", "y", "font-size", "fill"], gs = ["text-anchor", "font-size", "fill", "transform", "onClick"], xs = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], bs = { key: 15 }, ys = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], ps = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], ks = ["y", "x", "width", "height", "fill"], ws = ["id", "x", "y", "font-size", "fill", "text-anchor"], Ss = {
1096
+ }, hu = /* @__PURE__ */ Lo(du, [["__scopeId", "data-v-8840236b"]]), fu = ["id"], mu = ["id"], gu = ["viewBox", "aria-label"], xu = ["x", "y", "width", "height"], bu = { key: 1 }, yu = { class: "vue-ui-xy-grid" }, pu = ["stroke", "x1", "x2", "y1", "y2"], ku = ["stroke", "x1", "x2", "y1", "y2"], wu = { key: 1 }, Su = ["x1", "x2", "y1", "y2", "stroke"], $u = ["x1", "x2", "y1", "y2", "stroke"], _u = ["x1", "x2", "y1", "y2", "stroke"], Mu = { key: 3 }, Lu = ["d", "stroke"], Cu = { key: 4 }, Au = ["d", "stroke"], Tu = ["id"], zu = ["stop-color"], Iu = ["stop-color"], Nu = ["stop-color"], Pu = ["id"], Fu = ["stop-color"], Ru = ["stop-color"], Ou = ["stop-color"], Vu = ["id"], Bu = ["stop-color"], Eu = ["stop-color"], Hu = ["id"], Du = ["stop-color"], Wu = ["stop-color"], Xu = ["id"], Yu = ["stop-color"], Gu = ["stop-color"], Uu = ["x", "y", "height", "width", "fill"], qu = ["x", "y", "width"], Zu = { key: 0 }, Ku = ["x", "y", "height", "width", "fill"], Ju = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Qu = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], ju = ["width", "x", "y"], ei = { key: 0 }, ti = ["id"], li = ["fill", "stroke"], ai = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], oi = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ni = ["x", "y", "font-size", "fill", "stroke"], ui = ["stroke", "x1", "x2", "y1", "y2"], ii = { key: 3 }, si = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ri = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], ci = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], vi = ["fill", "font-size", "transform"], di = ["x1", "x2", "y1", "y2", "stroke"], hi = ["x", "y", "font-size", "fill"], fi = ["x1", "x2", "y1", "y2", "stroke"], mi = ["x", "y", "font-size", "fill"], gi = ["width", "x", "y"], xi = { style: { width: "100%" } }, bi = { key: 0 }, yi = ["id"], pi = ["fill", "stroke"], ki = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], wi = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Si = ["x", "y", "font-size", "fill", "stroke"], $i = ["d", "stroke", "stroke-width", "stroke-dasharray"], _i = ["d", "stroke", "stroke-width", "stroke-dasharray"], Mi = { key: 6 }, Li = { key: 7 }, Ci = ["d", "fill", "fill-opacity"], Ai = { key: 0 }, Ti = ["d", "fill"], zi = ["d", "fill"], Ii = ["d", "fill"], Ni = ["d", "fill"], Pi = ["d", "stroke", "stroke-width", "stroke-dasharray"], Fi = ["d", "stroke", "stroke-width", "stroke-dasharray"], Ri = ["width", "x", "y"], Oi = { style: { width: "100%" } }, Vi = { key: 3 }, Bi = ["id"], Ei = ["fill", "stroke"], Hi = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Di = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Wi = ["x", "y", "font-size", "fill", "stroke"], Xi = { key: 8 }, Yi = ["x", "y", "font-size", "fill"], Gi = ["x", "y", "font-size", "fill", "font-weight"], Ui = { key: 9 }, qi = ["x", "y", "font-size", "fill"], Zi = { key: 10 }, Ki = ["x", "y"], Ji = ["innerHTML"], Qi = ["x", "y"], ji = ["innerHTML"], es = ["x1", "x2", "y1", "y2", "stroke"], ts = { key: 11 }, ls = ["x", "y", "font-size", "fill"], as = { key: 12 }, os = ["x", "y"], ns = ["innerHTML"], us = ["x", "y"], is = ["innerHTML"], ss = ["x1", "x2", "y1", "y2", "stroke"], rs = ["x", "y", "font-size", "fill", "innerHTML"], cs = ["x", "y", "font-size", "fill", "innerHTML"], vs = ["x", "y", "font-size", "fill", "innerHTML"], ds = ["x", "y", "font-size", "fill", "innerHTML"], hs = ["id"], fs = ["stop-color"], ms = ["stop-color"], gs = ["x", "y", "width", "height", "fill", "onMouseenter"], xs = ["font-size", "fill", "transform"], bs = ["x", "y", "font-size", "fill"], ys = ["text-anchor", "font-size", "fill", "transform", "onClick"], ps = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], ks = { key: 15 }, ws = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ss = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], $s = ["y", "x", "width", "height", "fill"], _s = ["id", "x", "y", "font-size", "fill", "text-anchor"], Ms = {
1097
1097
  key: 16,
1098
1098
  style: { "pointer-events": "none" }
1099
- }, $s = ["x", "y"], _s = ["innerHTML"], Ms = ["cx", "cy", "r", "fill"], Ls = ["data-start", "data-end"], Cs = {
1099
+ }, Ls = ["x", "y"], Cs = ["innerHTML"], As = ["cx", "cy", "r", "fill"], Ts = ["data-start", "data-end"], zs = {
1100
1100
  key: 4,
1101
1101
  class: "vue-data-ui-watermark"
1102
- }, As = {
1102
+ }, Is = {
1103
1103
  class: "vue-ui-xy-tag-arrow",
1104
1104
  height: "20",
1105
1105
  viewBox: "0 0 10 20",
1106
1106
  style: { position: "absolute", right: "100%", top: "50%", transform: "translateY(-50%)" }
1107
- }, Ts = ["fill"], zs = ["innerHTML"], Is = {
1107
+ }, Ns = ["fill"], Ps = ["innerHTML"], Fs = {
1108
1108
  class: "vue-ui-xy-tag-arrow",
1109
1109
  height: "100%",
1110
1110
  viewBox: "0 0 10 20",
1111
1111
  style: { position: "absolute", left: "100%", top: "50%", transform: "translateY(-50%)" }
1112
- }, Ns = ["fill"], Ps = ["innerHTML"], Fs = {
1112
+ }, Rs = ["fill"], Os = ["innerHTML"], Vs = {
1113
1113
  class: "vue-ui-xy-tag-arrow",
1114
1114
  height: "20",
1115
1115
  viewBox: "0 0 10 20",
1116
1116
  style: { position: "absolute", right: "100%", top: "50%", transform: "translateY(-50%)" }
1117
- }, Rs = ["fill"], Os = ["innerHTML"], Vs = {
1117
+ }, Bs = ["fill"], Es = ["innerHTML"], Hs = {
1118
1118
  class: "vue-ui-xy-tag-arrow",
1119
1119
  height: "100%",
1120
1120
  viewBox: "0 0 10 20",
1121
1121
  style: { position: "absolute", left: "100%", top: "50%", transform: "translateY(-50%)" }
1122
- }, Bs = ["fill"], Es = ["innerHTML"], Hs = ["id"], Ds = ["onClick"], Ws = {
1122
+ }, Ds = ["fill"], Ws = ["innerHTML"], Xs = ["id"], Ys = ["onClick"], Gs = {
1123
1123
  key: 0,
1124
1124
  viewBox: "0 0 20 12",
1125
1125
  height: "1em",
1126
1126
  width: "1.43em"
1127
- }, Xs = ["stroke", "fill"], Ys = {
1127
+ }, Us = ["stroke", "fill"], qs = {
1128
1128
  key: 1,
1129
1129
  viewBox: "0 0 40 40",
1130
1130
  height: "1em",
1131
1131
  width: "1em"
1132
- }, Gs = ["fill"], qs = ["fill"], Us = {
1132
+ }, Zs = ["fill"], Ks = ["fill"], Js = {
1133
1133
  key: 2,
1134
1134
  viewBox: "0 0 12 12",
1135
1135
  height: "1em",
1136
1136
  width: "1em"
1137
- }, Zs = {
1137
+ }, Qs = {
1138
1138
  style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
1139
1139
  "data-dom-to-png-ignore": ""
1140
- }, Ks = ["innerHTML"], Js = {
1140
+ }, js = ["innerHTML"], er = {
1141
1141
  __name: "vue-ui-xy",
1142
1142
  props: {
1143
1143
  config: {
@@ -1159,9 +1159,9 @@ const _n = {
1159
1159
  },
1160
1160
  emits: ["selectTimeLabel", "selectX", "selectLegend"],
1161
1161
  setup(S, { expose: Sa, emit: $a }) {
1162
- const d = S, Ne = Wt(() => import("./DataTable-xISHA7Pu.js")), ve = Wt(() => import("./Tooltip-Clf2K3CF.js")), me = Wt(() => import("./UserOptions-Bn3u4JQu.js")), ge = Wt(() => import("./BaseIcon-D2f9w5Z5.js")), Cl = Wt(() => import("./vue-ui-table-sparkline-D6oTAFEO.js")), $t = Wt(() => import("./PackageVersion-BB7joYAK.js")), Nt = Wt(() => import("./PenAndPaper-CtDMyIvW.js")), Kl = Wt(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), qt = $a, gl = Go(), Ut = qo(), { vue_ui_xy: _t } = hn(), Be = y(null), Te = y(null), Ke = y(null), Le = y(null), ft = y(null), Mt = y(null), Al = y(null), Zt = y(null), Kt = y(null), $e = y(null), Tl = y(null), zl = y(null), mt = y(null), ne = y(null), Jl = y(0), E = y(null), Jt = y(!0), W = y(600), le = y(1e3), at = y("0 0 1000 600"), Ql = y({ x: 0, y: 0 }), Qt = y({ line: "line", bar: "bar", plot: "plot" }), Ee = y(!1), Pe = y(!1), xl = y(!1), ae = y(null), de = y([]), Z = y(ga()), Il = y(0), Nl = y(0), Pl = y(0), He = y(!0), gt = y(0), X = y(null), jl = y(!1), Fl = y(!0), bl = y(!0), _e = y(null), ot = y({}), jt = y(null), H = y(!1), Je = y(null), M = y(null), xt = x(() => ({
1162
+ const h = S, Ne = Xt(() => import("./DataTable-dv6G7Krn.js")), ve = Xt(() => import("./Tooltip-BKqK7z38.js")), me = Xt(() => import("./UserOptions-C9IFsUt0.js")), ge = Xt(() => import("./BaseIcon-e63bhLIi.js")), Cl = Xt(() => import("./vue-ui-table-sparkline-8mOvfeTL.js")), $t = Xt(() => import("./PackageVersion-C3Vg-vTM.js")), Nt = Xt(() => import("./PenAndPaper-CplrzuG7.js")), Kl = Xt(() => import("./BaseDraggableDialog-Cg4ZF9cb.js")), qt = $a, xl = Go(), Zt = Uo(), { vue_ui_xy: _t } = hn(), Be = y(null), Te = y(null), Ke = y(null), Le = y(null), ft = y(null), Mt = y(null), Al = y(null), Kt = y(null), Jt = y(null), $e = y(null), Tl = y(null), zl = y(null), mt = y(null), ue = y(null), Jl = y(0), E = y(null), Qt = y(!0), W = y(600), ae = y(1e3), at = y("0 0 1000 600"), Ql = y({ x: 0, y: 0 }), jt = y({ line: "line", bar: "bar", plot: "plot" }), Ee = y(!1), Pe = y(!1), bl = y(!1), oe = y(null), de = y([]), J = y(ga()), Il = y(0), Nl = y(0), Pl = y(0), He = y(!0), gt = y(0), X = y(null), jl = y(!1), Fl = y(!0), yl = y(!0), _e = y(null), ot = y({}), el = y(null), H = y(!1), Je = y(null), M = y(null), xt = x(() => ({
1163
1163
  height: W.value,
1164
- width: le.value
1164
+ width: ae.value
1165
1165
  }));
1166
1166
  function Rl(l) {
1167
1167
  return Number.isFinite(l) ? Math.max(0, Math.floor(l)) : 0;
@@ -1169,14 +1169,14 @@ const _n = {
1169
1169
  function Pt(l, s, e = 0) {
1170
1170
  return Number.isFinite(l) && Number.isFinite(s) && Math.abs(s) > 1e-9 ? l / s : e;
1171
1171
  }
1172
- const el = y(!1), A = y({
1172
+ const tl = y(!1), A = y({
1173
1173
  xAxis: 18,
1174
1174
  yAxis: 12,
1175
1175
  dataLabels: 20,
1176
1176
  plotLabels: 10
1177
1177
  }), De = y({ plot: 3, line: 3 });
1178
1178
  Zl(() => {
1179
- H.value = !0, d.dataset.length && d.dataset.forEach((l, s) => {
1179
+ H.value = !0, h.dataset.length && h.dataset.forEach((l, s) => {
1180
1180
  [null, void 0].includes(l.series) && Na({
1181
1181
  componentName: "VueUiXy",
1182
1182
  type: "datasetSerieAttribute",
@@ -1187,26 +1187,26 @@ const _n = {
1187
1187
  });
1188
1188
  });
1189
1189
  function Ol() {
1190
- if (!Object.keys(d.config || {}).length)
1190
+ if (!Object.keys(h.config || {}).length)
1191
1191
  return _t;
1192
1192
  const l = Fa({
1193
- userConfig: d.config,
1193
+ userConfig: h.config,
1194
1194
  defaultConfig: _t
1195
1195
  });
1196
- return d.config && Ue(d.config, "chart.highlightArea") && (Array.isArray(d.config.chart.highlightArea) ? l.chart.highlightArea = d.config.chart.highlightArea : l.chart.highlightArea = [d.config.chart.highlightArea]), d.config && Ue(d.config, "chart.grid.labels.yAxis.scaleMin") ? l.chart.grid.labels.yAxis.scaleMin = d.config.chart.grid.labels.yAxis.scaleMin : l.chart.grid.labels.yAxis.scaleMin = null, d.config && Ue(d.config, "chart.grid.labels.yAxis.scaleMax") ? l.chart.grid.labels.yAxis.scaleMax = d.config.chart.grid.labels.yAxis.scaleMax : l.chart.grid.labels.yAxis.scaleMax = null, d.config && Ue(d.config, "chart.zoom.startIndex") ? l.chart.zoom.startIndex = d.config.chart.zoom.startIndex : l.chart.zoom.startIndex = null, d.config && Ue(d.config, "chart.zoom.endIndex") ? l.chart.zoom.endIndex = d.config.chart.zoom.endIndex : l.chart.zoom.endIndex = null, d.config && Ue(d.config, "chart.grid.labels.yAxis.groupColor") ? l.chart.grid.labels.yAxis.groupColor = d.config.chart.grid.labels.yAxis.groupColor : l.chart.grid.labels.yAxis.groupColor = null, d.config && Ue(d.config, "chart.annotations") && Array.isArray(d.config.chart.annotations) && d.config.chart.annotations.length ? l.chart.annotations = d.config.chart.annotations.map((s) => Fa({
1196
+ return h.config && qe(h.config, "chart.highlightArea") && (Array.isArray(h.config.chart.highlightArea) ? l.chart.highlightArea = h.config.chart.highlightArea : l.chart.highlightArea = [h.config.chart.highlightArea]), h.config && qe(h.config, "chart.grid.labels.yAxis.scaleMin") ? l.chart.grid.labels.yAxis.scaleMin = h.config.chart.grid.labels.yAxis.scaleMin : l.chart.grid.labels.yAxis.scaleMin = null, h.config && qe(h.config, "chart.grid.labels.yAxis.scaleMax") ? l.chart.grid.labels.yAxis.scaleMax = h.config.chart.grid.labels.yAxis.scaleMax : l.chart.grid.labels.yAxis.scaleMax = null, h.config && qe(h.config, "chart.zoom.startIndex") ? l.chart.zoom.startIndex = h.config.chart.zoom.startIndex : l.chart.zoom.startIndex = null, h.config && qe(h.config, "chart.zoom.endIndex") ? l.chart.zoom.endIndex = h.config.chart.zoom.endIndex : l.chart.zoom.endIndex = null, h.config && qe(h.config, "chart.grid.labels.yAxis.groupColor") ? l.chart.grid.labels.yAxis.groupColor = h.config.chart.grid.labels.yAxis.groupColor : l.chart.grid.labels.yAxis.groupColor = null, h.config && qe(h.config, "chart.annotations") && Array.isArray(h.config.chart.annotations) && h.config.chart.annotations.length ? l.chart.annotations = h.config.chart.annotations.map((s) => Fa({
1197
1197
  defaultConfig: _t.chart.annotations[0],
1198
1198
  userConfig: s
1199
- })) : l.chart.annotations = [], d.config && Ue(d.config, "chart.grid.position") && d.config.chart.grid.position === "start" && d.dataset.length && d.dataset.some((s) => s.type === "bar") && (l.chart.grid.position = "middle", Ue(d.config, "debug") && console.warn("Vue Data UI - VueUiXy - config.chart.grid.position was overriden to `middle` because your dataset contains a bar")), d.config && Ue(d.config, "chart.grid.labels.yAxis.serieNameFormatter") ? l.chart.grid.labels.yAxis.serieNameFormatter = d.config.chart.grid.labels.yAxis.serieNameFormatter : l.chart.grid.labels.yAxis.serieNameFormatter = null, d.config && Ue(d.config, "events.datapointEnter") ? l.events.datapointEnter = d.config.events.datapointEnter : l.events.datapointEnter = null, d.config && Ue(d.config, "events.datapointLeave") ? l.events.datapointLeave = d.config.events.datapointLeave : l.events.datapointLeave = null, d.config && Ue(d.config, "events.datapointClick") ? l.events.datapointClick = d.config.events.datapointClick : l.events.datapointClick = null, l.theme ? {
1199
+ })) : l.chart.annotations = [], h.config && qe(h.config, "chart.grid.position") && h.config.chart.grid.position === "start" && h.dataset.length && h.dataset.some((s) => s.type === "bar") && (l.chart.grid.position = "middle", qe(h.config, "debug") && console.warn("Vue Data UI - VueUiXy - config.chart.grid.position was overriden to `middle` because your dataset contains a bar")), h.config && qe(h.config, "chart.grid.labels.yAxis.serieNameFormatter") ? l.chart.grid.labels.yAxis.serieNameFormatter = h.config.chart.grid.labels.yAxis.serieNameFormatter : l.chart.grid.labels.yAxis.serieNameFormatter = null, h.config && qe(h.config, "events.datapointEnter") ? l.events.datapointEnter = h.config.events.datapointEnter : l.events.datapointEnter = null, h.config && qe(h.config, "events.datapointLeave") ? l.events.datapointLeave = h.config.events.datapointLeave : l.events.datapointLeave = null, h.config && qe(h.config, "events.datapointClick") ? l.events.datapointClick = h.config.events.datapointClick : l.events.datapointClick = null, l.theme ? {
1200
1200
  ...Fa({
1201
- userConfig: wn.vue_ui_xy[l.theme] || d.config,
1201
+ userConfig: wn.vue_ui_xy[l.theme] || h.config,
1202
1202
  defaultConfig: l
1203
1203
  }),
1204
- customPalette: sn[l.theme] || d.palette
1204
+ customPalette: sn[l.theme] || h.palette
1205
1205
  } : l;
1206
1206
  }
1207
1207
  const Lt = x({
1208
1208
  get() {
1209
- return !!d.dataset && d.dataset.length;
1209
+ return !!h.dataset && h.dataset.length;
1210
1210
  },
1211
1211
  set(l) {
1212
1212
  return l;
@@ -1218,22 +1218,22 @@ const _n = {
1218
1218
  isStacked: !1,
1219
1219
  useIndividualScale: !1
1220
1220
  });
1221
- function tl() {
1222
- el.value ? (p.value.isStacked = t.value.chart.grid.labels.yAxis.stacked, p.value.useIndividualScale == null && (p.value.useIndividualScale = t.value.chart.grid.labels.yAxis.useIndividualScale)) : (p.value = {
1221
+ function ll() {
1222
+ tl.value ? (p.value.isStacked = t.value.chart.grid.labels.yAxis.stacked, p.value.useIndividualScale == null && (p.value.useIndividualScale = t.value.chart.grid.labels.yAxis.useIndividualScale)) : (p.value = {
1223
1223
  dataLabels: { show: !0 },
1224
1224
  showTooltip: t.value.chart.tooltip.show === !0,
1225
1225
  showTable: t.value.showTable === !0,
1226
1226
  isStacked: t.value.chart.grid.labels.yAxis.stacked,
1227
1227
  useIndividualScale: t.value.chart.grid.labels.yAxis.useIndividualScale
1228
- }, el.value = !0);
1228
+ }, tl.value = !0);
1229
1229
  }
1230
1230
  const Ct = x(() => !!t.value.debug), { loading: be, FINAL_DATASET: Me, manualLoading: bt } = mn({
1231
- ...Uo(d),
1231
+ ...qo(h),
1232
1232
  FINAL_CONFIG: t,
1233
1233
  prepareConfig: Ol,
1234
1234
  callback: () => {
1235
1235
  Promise.resolve().then(async () => {
1236
- await il(), p.value.showTable = t.value.showTable;
1236
+ await sl(), p.value.showTable = t.value.showTable;
1237
1237
  });
1238
1238
  },
1239
1239
  skeletonDataset: [
@@ -1354,8 +1354,8 @@ const _n = {
1354
1354
  }
1355
1355
  };
1356
1356
  });
1357
- ht(() => d.selectedXIndex, (l) => {
1358
- if ([null, void 0].includes(d.selectedXIndex)) {
1357
+ ht(() => h.selectedXIndex, (l) => {
1358
+ if ([null, void 0].includes(h.selectedXIndex)) {
1359
1359
  M.value = null;
1360
1360
  return;
1361
1361
  }
@@ -1363,39 +1363,39 @@ const _n = {
1363
1363
  s < 0 || l >= w.value.end ? M.value = null : M.value = s ?? null;
1364
1364
  }, { immediate: !0 });
1365
1365
  const { isPrinting: Bl, isImaging: nt, generatePdf: ut, generateImage: it } = fn({
1366
- elementId: `vue-ui-xy_${Z.value}`,
1366
+ elementId: `vue-ui-xy_${J.value}`,
1367
1367
  fileName: t.value.chart.title.text || "vue-ui-xy",
1368
1368
  options: t.value.chart.userOptions.print
1369
- }), pt = y(!1), ll = x(() => en(t.value.customPalette)), Rt = x(() => {
1369
+ }), pt = y(!1), al = x(() => en(t.value.customPalette)), Rt = x(() => {
1370
1370
  if (t.value.chart.grid.labels.yAxis.scaleMin !== null)
1371
1371
  return t.value.chart.grid.labels.yAxis.scaleMin;
1372
1372
  const l = Math.min(...je.value.filter((s) => !de.value.includes(s.id)).map((s) => Math.min(...s.series)));
1373
1373
  return l > 0 ? 0 : l;
1374
- }), al = x(() => {
1374
+ }), ol = x(() => {
1375
1375
  if (t.value.chart.grid.labels.yAxis.scaleMax)
1376
1376
  return t.value.chart.grid.labels.yAxis.scaleMax;
1377
1377
  const l = Math.max(...je.value.filter((s) => !de.value.includes(s.id)).map((s) => Math.max(...s.series)));
1378
1378
  return Rt.value === l ? l + 1 : l;
1379
- }), Xe = x(() => t.value.chart.grid.labels.yAxis.useNiceScale ? Ul(Rt.value, al.value < 0 ? 0 : al.value, t.value.chart.grid.labels.yAxis.commonScaleSteps) : hl(Rt.value, al.value < 0 ? 0 : al.value, t.value.chart.grid.labels.yAxis.commonScaleSteps)), ol = x(() => [null, void 0].includes(t.value.chart.grid.labels.yAxis.scaleMin) ? Xe.value.min >= 0 ? 0 : Math.abs(Xe.value.min) : -Xe.value.min), je = x(() => Jt.value ? Me.value.map((l, s) => {
1379
+ }), Xe = x(() => t.value.chart.grid.labels.yAxis.useNiceScale ? ql(Rt.value, ol.value < 0 ? 0 : ol.value, t.value.chart.grid.labels.yAxis.commonScaleSteps) : fl(Rt.value, ol.value < 0 ? 0 : ol.value, t.value.chart.grid.labels.yAxis.commonScaleSteps)), nl = x(() => [null, void 0].includes(t.value.chart.grid.labels.yAxis.scaleMin) ? Xe.value.min >= 0 ? 0 : Math.abs(Xe.value.min) : -Xe.value.min), je = x(() => Qt.value ? Me.value.map((l, s) => {
1380
1380
  const e = yt(l.series), i = `uniqueId_${s}`;
1381
1381
  return {
1382
1382
  ...l,
1383
1383
  slotAbsoluteIndex: s,
1384
1384
  series: e.map((a) => ha(a) ? a : null).slice(w.value.start, w.value.end),
1385
- color: po(l.color ? l.color : ll.value[s] ? ll.value[s] : ko[s]),
1385
+ color: po(l.color ? l.color : al.value[s] ? al.value[s] : ko[s]),
1386
1386
  id: i,
1387
1387
  scaleLabel: l.scaleLabel || i
1388
1388
  };
1389
1389
  }) : Me.value), et = x(() => je.value.map((l, s) => ({
1390
1390
  absoluteIndex: s,
1391
1391
  ...l,
1392
- series: l.series.map((e) => e + ol.value),
1392
+ series: l.series.map((e) => e + nl.value),
1393
1393
  absoluteValues: l.series,
1394
1394
  segregate: () => Ga(l),
1395
1395
  isSegregated: de.value.includes(l.id)
1396
1396
  }))), Fe = x(() => je.value.map((l, s) => ({
1397
1397
  ...l,
1398
- series: l.series.map((e) => e + ol.value),
1398
+ series: l.series.map((e) => e + nl.value),
1399
1399
  absoluteValues: l.series
1400
1400
  })).filter((l) => !de.value.includes(l.id)));
1401
1401
  function ta() {
@@ -1404,17 +1404,17 @@ const _n = {
1404
1404
  const o = r.getComputedTextLength();
1405
1405
  return (o > a ? o : a) + t.value.chart.grid.labels.yAxis.scaleValueOffsetX;
1406
1406
  }, 0));
1407
- const s = Kt.value ? Kt.value.getBoundingClientRect().width + t.value.chart.grid.labels.axis.yLabelOffsetX + A.value.yAxis : 0, e = t.value.chart.grid.labels.yAxis.crosshairSize;
1407
+ const s = Jt.value ? Jt.value.getBoundingClientRect().width + t.value.chart.grid.labels.axis.yLabelOffsetX + A.value.yAxis : 0, e = t.value.chart.grid.labels.yAxis.crosshairSize;
1408
1408
  return l + s + e;
1409
1409
  }
1410
- const tt = y(0), nl = ba((l) => {
1410
+ const tt = y(0), ul = ba((l) => {
1411
1411
  tt.value = l;
1412
1412
  }, 100);
1413
1413
  go((l) => {
1414
1414
  const s = $e.value;
1415
1415
  if (!s) return;
1416
1416
  const e = new ResizeObserver((i) => {
1417
- nl(i[0].contentRect.height);
1417
+ ul(i[0].contentRect.height);
1418
1418
  });
1419
1419
  e.observe(s), l(() => e.disconnect());
1420
1420
  }), Ll(() => {
@@ -1422,22 +1422,22 @@ const _n = {
1422
1422
  });
1423
1423
  const Ot = x(() => {
1424
1424
  let l = 0;
1425
- Zt.value && (l = Zt.value.getBBox().height);
1425
+ Kt.value && (l = Kt.value.getBBox().height);
1426
1426
  let s = 0;
1427
1427
  return $e.value && (s = tt.value), l + s + A.value.xAxis;
1428
- }), yl = x(() => Me.value.some((l) => l.useProgression)), c = x(() => {
1428
+ }), pl = x(() => Me.value.some((l) => l.useProgression)), c = x(() => {
1429
1429
  let l = 0;
1430
1430
  const s = 36;
1431
1431
  t.value.chart.grid.labels.show && (p.value.useIndividualScale && !p.value.isStacked ? l = (Me.value.length - de.value.length) * (t.value.chart.grid.labels.yAxis.labelWidth + s) : p.value.useIndividualScale && p.value.isStacked ? l = t.value.chart.grid.labels.yAxis.labelWidth + s : l = ta());
1432
- const e = t.value.chart.labels.fontSize * 1.1, i = yl.value ? 24 : 6;
1432
+ const e = t.value.chart.labels.fontSize * 1.1, i = pl.value ? 24 : 6;
1433
1433
  if ($e.value) {
1434
1434
  const o = $e.value.getBBox().x;
1435
1435
  o < 0 && (l += Math.abs(o));
1436
1436
  }
1437
- const a = le.value - l - t.value.chart.grid.labels.yAxis.crosshairSize - i - t.value.chart.padding.left - t.value.chart.padding.right, r = t.value.chart.grid.position === "middle" ? 0 : a / $.value / 2;
1437
+ const a = ae.value - l - t.value.chart.grid.labels.yAxis.crosshairSize - i - t.value.chart.padding.left - t.value.chart.padding.right, r = t.value.chart.grid.position === "middle" ? 0 : a / $.value / 2;
1438
1438
  return {
1439
1439
  top: t.value.chart.padding.top + e,
1440
- right: le.value - i - t.value.chart.padding.right,
1440
+ right: ae.value - i - t.value.chart.padding.right,
1441
1441
  bottom: W.value - Ot.value - t.value.chart.padding.bottom - t.value.chart.grid.labels.axis.xLabelOffsetY,
1442
1442
  left: l + t.value.chart.grid.labels.yAxis.crosshairSize - r + t.value.chart.padding.left,
1443
1443
  height: W.value - Ot.value - t.value.chart.padding.top - t.value.chart.padding.bottom - e - t.value.chart.grid.labels.axis.xLabelOffsetY,
@@ -1446,9 +1446,9 @@ const _n = {
1446
1446
  individualOffsetX: s
1447
1447
  };
1448
1448
  }), Vt = x(() => {
1449
- const l = t.value.chart.grid.position === "middle" ? 1 : 0, s = $.value + l, e = j(c.value.top), i = j(c.value.bottom);
1449
+ const l = t.value.chart.grid.position === "middle" ? 1 : 0, s = $.value + l, e = q(c.value.top), i = q(c.value.bottom);
1450
1450
  return Array.from({ length: s }).map((a, r) => {
1451
- const o = c.value.width / $.value * r + c.value.left + ue.value;
1451
+ const o = c.value.width / $.value * r + c.value.left + ie.value;
1452
1452
  return `M${o},${e} L${o},${i}`;
1453
1453
  }).join(" ");
1454
1454
  }), El = x(() => {
@@ -1460,15 +1460,15 @@ const _n = {
1460
1460
  return `M${r},${o} L${r},${F}`;
1461
1461
  }).filter(Boolean).join(" ");
1462
1462
  });
1463
- function pl() {
1464
- return !!Ut?.vnode.props?.onSelectTimeLabel;
1463
+ function kl() {
1464
+ return !!Zt?.vnode.props?.onSelectTimeLabel;
1465
1465
  }
1466
1466
  function la(l, s, e) {
1467
- if (!jt.value) {
1467
+ if (!el.value) {
1468
1468
  const i = document.createElement("canvas");
1469
- jt.value = i.getContext("2d");
1469
+ el.value = i.getContext("2d");
1470
1470
  }
1471
- return jt.value.font = `normal ${l}px sans-serif`, jt.value;
1471
+ return el.value.font = `normal ${l}px sans-serif`, el.value;
1472
1472
  }
1473
1473
  function Hl() {
1474
1474
  const l = Be.value.querySelectorAll(".vue-ui-xy-tag");
@@ -1479,12 +1479,12 @@ const _n = {
1479
1479
  }
1480
1480
  const Bt = y(!1);
1481
1481
  async function xe(l = !1) {
1482
- await Ml(), Bt.value = l, jl.value && (bl.value = l);
1482
+ await Ml(), Bt.value = l, jl.value && (yl.value = l);
1483
1483
  }
1484
1484
  function Dl() {
1485
1485
  Ee.value = !Ee.value;
1486
1486
  }
1487
- const v = x(() => {
1487
+ const d = x(() => {
1488
1488
  const l = Math.max(...Me.value.map((s) => Pa({ data: s.series, threshold: t.value.downsample.threshold }).length));
1489
1489
  return Mo({
1490
1490
  values: t.value.chart.grid.labels.xAxisLabels.values,
@@ -1504,7 +1504,7 @@ const _n = {
1504
1504
  });
1505
1505
  }), f = x(() => {
1506
1506
  const l = t.value.chart.grid.labels.xAxisLabels.modulo;
1507
- return v.value.length ? Math.min(l, [...new Set(v.value.map((s) => s.text))].length) : l;
1507
+ return d.value.length ? Math.min(l, [...new Set(d.value.map((s) => s.text))].length) : l;
1508
1508
  });
1509
1509
  function _(l) {
1510
1510
  let s = null, e = null;
@@ -1530,18 +1530,18 @@ const _n = {
1530
1530
  }
1531
1531
  if (!O.length)
1532
1532
  return i.map((Y, B) => ({ text: "", absoluteIndex: B }));
1533
- const z = O.length, N = R, ee = Math.max(2, Math.min(N - 3, z)), I = Math.min(z, N + 3);
1534
- let q = Math.min(N, z), V = 1 / 0;
1535
- for (let Y = ee; Y <= I; Y += 1) {
1533
+ const z = O.length, N = R, te = Math.max(2, Math.min(N - 3, z)), I = Math.min(z, N + 3);
1534
+ let U = Math.min(N, z), V = 1 / 0;
1535
+ for (let Y = te; Y <= I; Y += 1) {
1536
1536
  const B = (z - 1) % (Y - 1), re = Math.abs(Y - N), Oe = B * 10 + re;
1537
- Oe < V && (V = Oe, q = Y);
1537
+ Oe < V && (V = Oe, U = Y);
1538
1538
  }
1539
1539
  const fe = /* @__PURE__ */ new Set();
1540
- if (q <= 1)
1540
+ if (U <= 1)
1541
1541
  fe.add(O[Math.round((z - 1) / 2)]);
1542
1542
  else {
1543
- const Y = (z - 1) / (q - 1);
1544
- for (let B = 0; B < q; B += 1)
1543
+ const Y = (z - 1) / (U - 1);
1544
+ for (let B = 0; B < U; B += 1)
1545
1545
  fe.add(O[Math.round(B * Y)]);
1546
1546
  }
1547
1547
  return i.map((Y, B) => ({
@@ -1549,7 +1549,7 @@ const _n = {
1549
1549
  absoluteIndex: B
1550
1550
  }));
1551
1551
  }), D = x(() => {
1552
- const l = t.value.chart.grid.labels.xAxisLabels, s = v.value || [], e = m.value || [], i = w.value.start ?? 0, a = M.value, r = $.value, o = s.map((R) => R?.text ?? ""), F = e.map((R) => R?.text ?? "");
1552
+ const l = t.value.chart.grid.labels.xAxisLabels, s = d.value || [], e = m.value || [], i = w.value.start ?? 0, a = M.value, r = $.value, o = s.map((R) => R?.text ?? ""), F = e.map((R) => R?.text ?? "");
1553
1553
  return T(
1554
1554
  !!l.showOnlyFirstAndLast,
1555
1555
  !!l.showOnlyAtModulo,
@@ -1582,7 +1582,7 @@ const _n = {
1582
1582
  const l = Rl((w.value.end ?? 0) - (w.value.start ?? 0));
1583
1583
  return Math.max(1, l);
1584
1584
  });
1585
- function kl(l) {
1585
+ function wl(l) {
1586
1586
  X.value = l;
1587
1587
  }
1588
1588
  function st() {
@@ -1600,46 +1600,46 @@ const _n = {
1600
1600
  const s = Math.max(...Me.value.map((e) => yt(e.series).length));
1601
1601
  return l > s ? s : l < 0 || t.value.chart.zoom.startIndex !== null && l < t.value.chart.zoom.startIndex ? t.value.chart.zoom.startIndex !== null ? t.value.chart.zoom.startIndex + 1 : 1 : l;
1602
1602
  }
1603
- const ul = y(!1), se = y(!1);
1604
- function il() {
1605
- if (!ul.value) {
1606
- ul.value = !0;
1603
+ const il = y(!1), se = y(!1);
1604
+ function sl() {
1605
+ if (!il.value) {
1606
+ il.value = !0;
1607
1607
  try {
1608
1608
  const { startIndex: l, endIndex: s } = t.value.chart.zoom, e = Math.max(...Me.value.map((r) => yt(r.series).length)), i = l ?? 0, a = s != null ? Math.min(aa(s + 1), e) : e;
1609
1609
  wt.value = !0, w.value.start = i, w.value.end = a, We.value.start = i, We.value.end = a, At(), se.value = !0;
1610
1610
  } finally {
1611
1611
  queueMicrotask(() => {
1612
1612
  wt.value = !1;
1613
- }), ul.value = !1;
1613
+ }), il.value = !1;
1614
1614
  }
1615
1615
  }
1616
1616
  }
1617
1617
  const wt = y(!1);
1618
1618
  function oa(l) {
1619
- ul.value || wt.value || l !== w.value.start && (w.value.start = l, We.value.start = l, At());
1619
+ il.value || wt.value || l !== w.value.start && (w.value.start = l, We.value.start = l, At());
1620
1620
  }
1621
1621
  function La(l) {
1622
- if (ul.value || wt.value) return;
1622
+ if (il.value || wt.value) return;
1623
1623
  const s = aa(l);
1624
1624
  s !== w.value.end && (w.value.end = s, We.value.end = s, At());
1625
1625
  }
1626
1626
  async function Ca() {
1627
- await il();
1627
+ await sl();
1628
1628
  }
1629
1629
  function Ye(l) {
1630
1630
  return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(l);
1631
1631
  }
1632
- const Va = x(() => Xe.value.max + ol.value);
1633
- function sl(l) {
1632
+ const Va = x(() => Xe.value.max + nl.value);
1633
+ function rl(l) {
1634
1634
  return l / (Ye(Va.value) ? Va.value : 1);
1635
1635
  }
1636
- const ze = x(() => isNaN(sl(ol.value)) ? c.value.bottom : c.value.bottom - c.value.height * sl(ol.value));
1636
+ const ze = x(() => isNaN(rl(nl.value)) ? c.value.bottom : c.value.bottom - c.value.height * rl(nl.value));
1637
1637
  function Ba(l) {
1638
1638
  const s = ![null, void 0].includes(t.value.chart.grid.labels.yAxis.scaleMin) && t.value.chart.grid.labels.yAxis.scaleMin > 0 && Rt.value >= 0 ? c.value.bottom : ze.value;
1639
- return l.value >= 0 ? U(s - l.y <= 0 ? 1e-5 : s - l.y) : U(l.y - ze.value <= 0 ? 1e-5 : l.y - ze.value);
1639
+ return l.value >= 0 ? Z(s - l.y <= 0 ? 1e-5 : s - l.y) : Z(l.y - ze.value <= 0 ? 1e-5 : l.y - ze.value);
1640
1640
  }
1641
1641
  function Ea(l) {
1642
- return l.value >= 0 ? U(l.zeroPosition - l.y <= 0 ? 1e-5 : l.zeroPosition - l.y) : U(l.y - l.zeroPosition <= 0 ? 1e-5 : l.zeroPosition - l.y);
1642
+ return l.value >= 0 ? Z(l.zeroPosition - l.y <= 0 ? 1e-5 : l.zeroPosition - l.y) : Z(l.y - l.zeroPosition <= 0 ? 1e-5 : l.zeroPosition - l.y);
1643
1643
  }
1644
1644
  const he = x(() => {
1645
1645
  const l = Math.max(1, $.value), s = Math.max(1, c.value.width), e = Math.max(1, je.value.filter((i) => i.type === "bar" && !de.value.includes(i.id)).length);
@@ -1649,7 +1649,7 @@ const _n = {
1649
1649
  line: Pt(s, l, 1)
1650
1650
  };
1651
1651
  });
1652
- function wl() {
1652
+ function Ht() {
1653
1653
  return p.value.useIndividualScale && p.value.isStacked ? he.value.line - c.value.width / $.value * 0.1 : he.value.bar;
1654
1654
  }
1655
1655
  function na(l) {
@@ -1668,19 +1668,19 @@ const _n = {
1668
1668
  if (s.createSVGPoint && s.getScreenCTM) {
1669
1669
  const N = s.createSVGPoint();
1670
1670
  N.x = l.clientX, N.y = l.clientY;
1671
- const ee = s.getScreenCTM();
1672
- if (ee) {
1673
- const I = N.matrixTransform(ee.inverse());
1671
+ const te = s.getScreenCTM();
1672
+ if (te) {
1673
+ const I = N.matrixTransform(te.inverse());
1674
1674
  return { x: I.x, y: I.y, ok: !0 };
1675
1675
  }
1676
1676
  }
1677
1677
  const e = s.getBoundingClientRect(), i = s.viewBox?.baseVal || { x: 0, y: 0, width: e.width, height: e.height }, a = Math.min(e.width / i.width, e.height / i.height), r = i.width * a, o = i.height * a, F = (e.width - r) / 2, R = (e.height - o) / 2, O = (l.clientX - e.left - F) / a + i.x, z = (l.clientY - e.top - R) / a + i.y;
1678
1678
  return { x: O, y: z, ok: !0 };
1679
1679
  }
1680
- let rl = 0;
1680
+ let cl = 0;
1681
1681
  function Co(l) {
1682
- Ee.value || (rl && cancelAnimationFrame(rl), rl = requestAnimationFrame(() => {
1683
- rl = 0;
1682
+ Ee.value || (cl && cancelAnimationFrame(cl), cl = requestAnimationFrame(() => {
1683
+ cl = 0;
1684
1684
  const s = Wa(l);
1685
1685
  if (!s || !_e.value) {
1686
1686
  ua();
@@ -1696,7 +1696,7 @@ const _n = {
1696
1696
  }));
1697
1697
  }
1698
1698
  function ua() {
1699
- rl && (cancelAnimationFrame(rl), rl = 0), Wl.value = null, to(!1, null);
1699
+ cl && (cancelAnimationFrame(cl), cl = 0), Wl.value = null, to(!1, null);
1700
1700
  }
1701
1701
  function Xa(l) {
1702
1702
  const s = Wa(l);
@@ -1765,7 +1765,7 @@ const _n = {
1765
1765
  const zo = x(() => {
1766
1766
  const l = t.value.chart.title.text || "Chart visualization", s = t.value.chart.title.subtitle.text || "";
1767
1767
  return `${l}. ${s}`;
1768
- }), qa = x(() => ({
1768
+ }), Ua = x(() => ({
1769
1769
  linePlot: $.value > t.value.line.dot.hideAboveMaxSerieLength
1770
1770
  })), Io = x(() => t.value.chart.userOptions.show && (!t.value.chart.title.show || !t.value.chart.title.text)), No = x(() => {
1771
1771
  if (Array.isArray(t.value.chart.highlightArea))
@@ -1781,11 +1781,11 @@ const _n = {
1781
1781
  to: Math.min(t.value.chart.highlightArea.to, Qe.value - 1)
1782
1782
  };
1783
1783
  return [{ ...l, span: l.from === l.to ? 1 : l.to < l.from ? 0 : l.to - l.from + 1 }];
1784
- }), Ua = x(() => Jt.value ? Me.value.map((l, s) => ({
1784
+ }), qa = x(() => Qt.value ? Me.value.map((l, s) => ({
1785
1785
  ...l,
1786
1786
  series: yt(l.series),
1787
1787
  id: `uniqueId_${s}`,
1788
- color: po(l.color ? l.color : ll.value[s] ? ll.value[s] : ko[s])
1788
+ color: po(l.color ? l.color : al.value[s] ? al.value[s] : ko[s])
1789
1789
  })) : Me.value), Po = x(() => Fe.value.map((l) => {
1790
1790
  const s = l.absoluteValues.map((e) => [void 0, null].includes(e) ? 0 : e);
1791
1791
  return {
@@ -1803,7 +1803,7 @@ const _n = {
1803
1803
  fontFamily: t.value.chart.fontFamily,
1804
1804
  prefix: t.value.chart.labels.prefix,
1805
1805
  suffix: t.value.chart.labels.suffix,
1806
- colNames: v.value.map((l, s) => t.value.table.useDefaultTimeFormat ? l.text : Sl.value(s + w.value.start, t.value.table.timeFormat)),
1806
+ colNames: d.value.map((l, s) => t.value.table.useDefaultTimeFormat ? l.text : Sl.value(s + w.value.start, t.value.table.timeFormat)),
1807
1807
  thead: {
1808
1808
  backgroundColor: t.value.table.th.backgroundColor,
1809
1809
  color: t.value.table.th.color,
@@ -1820,8 +1820,8 @@ const _n = {
1820
1820
  sparkline: {
1821
1821
  animation: { show: !1 }
1822
1822
  }
1823
- })), ue = x(() => t.value.chart.grid.position === "middle" ? 0 : c.value.width / $.value / 2), cl = x(() => tn(et.value.filter((l) => !de.value.includes(l.id)))), P = x(() => {
1824
- const l = Object.groupBy(cl.value, (e) => e.scaleLabel), s = {};
1823
+ })), ie = x(() => t.value.chart.grid.position === "middle" ? 0 : c.value.width / $.value / 2), vl = x(() => tn(et.value.filter((l) => !de.value.includes(l.id)))), P = x(() => {
1824
+ const l = Object.groupBy(vl.value, (e) => e.scaleLabel), s = {};
1825
1825
  for (const [e, i] of Object.entries(l)) {
1826
1826
  const a = i.flatMap((r) => r.absoluteValues);
1827
1827
  s[e] = {
@@ -1834,14 +1834,14 @@ const _n = {
1834
1834
  }), Ro = x(() => {
1835
1835
  const l = je.value.filter((s) => s.type === "bar").filter((s) => !de.value.includes(s.id)).length;
1836
1836
  return c.value.width / $.value / l - ia.value * l;
1837
- }), ia = x(() => he.value.line * t.value.bar.periodGap), sa = x(() => Math.max(1e-5, wl() - (p.value.useIndividualScale && p.value.isStacked ? 0 : ia.value))), ra = x(() => sa.value * Math.min(Math.abs(t.value.bar.innerGap), 0.95)), Oo = x(() => {
1837
+ }), ia = x(() => he.value.line * t.value.bar.periodGap), sa = x(() => Math.max(1e-5, Ht() - (p.value.useIndividualScale && p.value.isStacked ? 0 : ia.value))), ra = x(() => sa.value * Math.min(Math.abs(t.value.bar.innerGap), 0.95)), Oo = x(() => {
1838
1838
  if (!t.value.chart.zoom.minimap.show) return [];
1839
- const l = Ua.value.filter((a) => !de.value.includes(a.id)), s = Math.max(...l.map((a) => a.series.length)), e = [];
1839
+ const l = qa.value.filter((a) => !de.value.includes(a.id)), s = Math.max(...l.map((a) => a.series.length)), e = [];
1840
1840
  for (let a = 0; a < s; a += 1)
1841
1841
  e.push(l.map((r) => r.series[a] || 0).reduce((r, o) => (r || 0) + (o || 0), 0));
1842
1842
  const i = Math.min(...e);
1843
1843
  return e.map((a) => a + (i < 0 ? Math.abs(i) : 0));
1844
- }), Vo = x(() => t.value.chart.zoom.minimap.show ? Ua.value.map((s) => ({
1844
+ }), Vo = x(() => t.value.chart.zoom.minimap.show ? qa.value.map((s) => ({
1845
1845
  ...s,
1846
1846
  isVisible: !de.value.includes(s.id)
1847
1847
  })) : []), zt = x(() => Fe.value.map((l) => ({
@@ -1855,7 +1855,7 @@ const _n = {
1855
1855
  prefix: l.prefix || t.value.chart.labels.prefix,
1856
1856
  suffix: l.suffix || t.value.chart.labels.suffix
1857
1857
  }))), Za = x(() => Xe.value.ticks.map((l) => ({
1858
- y: l >= 0 ? ze.value - c.value.height * sl(l) : ze.value + c.value.height * sl(Math.abs(l)),
1858
+ y: l >= 0 ? ze.value - c.value.height * rl(l) : ze.value + c.value.height * rl(Math.abs(l)),
1859
1859
  value: l,
1860
1860
  prefix: t.value.chart.labels.prefix,
1861
1861
  suffix: t.value.chart.labels.suffix
@@ -1871,17 +1871,17 @@ const _n = {
1871
1871
  return a - N * r;
1872
1872
  };
1873
1873
  return s.map((z) => {
1874
- const { yAxis: { yTop: N, yBottom: ee, label: I } } = z, q = N != null && ee != null && N !== ee, V = N == null ? null : O(N), fe = ee == null ? null : O(ee), Y = la(I.fontSize);
1874
+ const { yAxis: { yTop: N, yBottom: te, label: I } } = z, U = N != null && te != null && N !== te, V = N == null ? null : O(N), fe = te == null ? null : O(te), Y = la(I.fontSize);
1875
1875
  Y.font = `${I.fontSize}px sans-serif`;
1876
1876
  const B = Y.measureText(I.text).width, re = I.fontSize, Oe = (I.position === "start" ? e + I.padding.left : i - I.padding.right) + I.offsetX, Ge = (V != null && fe != null ? Math.min(V, fe) : V ?? fe) - I.fontSize / 3 + I.offsetY - I.padding.top;
1877
- let J;
1878
- I.textAnchor === "middle" ? J = Oe - B / 2 - I.padding.left : I.textAnchor === "end" ? J = Oe - B - I.padding.right : J = Oe - I.padding.left;
1879
- const Q = Ge - re * 0.75 - I.padding.top;
1877
+ let j;
1878
+ I.textAnchor === "middle" ? j = Oe - B / 2 - I.padding.left : I.textAnchor === "end" ? j = Oe - B - I.padding.right : j = Oe - I.padding.left;
1879
+ const ee = Ge - re * 0.75 - I.padding.top;
1880
1880
  return {
1881
- show: ![V, fe, Q].includes(NaN),
1881
+ show: ![V, fe, ee].includes(NaN),
1882
1882
  id: `annotation_y_${ga()}`,
1883
- hasArea: q,
1884
- areaHeight: q ? Math.abs(V - fe) : 0,
1883
+ hasArea: U,
1884
+ areaHeight: U ? Math.abs(V - fe) : 0,
1885
1885
  yTop: V,
1886
1886
  yBottom: fe,
1887
1887
  config: z.yAxis,
@@ -1889,8 +1889,8 @@ const _n = {
1889
1889
  x2: i,
1890
1890
  _text: { x: Oe, y: Ge },
1891
1891
  _box: {
1892
- x: J,
1893
- y: Q,
1892
+ x: j,
1893
+ y: ee,
1894
1894
  width: B + I.padding.left + I.padding.right,
1895
1895
  height: re + I.padding.top + I.padding.bottom,
1896
1896
  fill: I.backgroundColor,
@@ -1908,72 +1908,72 @@ const _n = {
1908
1908
  return Ye(l[s].value) && a && t.value.line.cutNullValues;
1909
1909
  }
1910
1910
  const It = x(() => {
1911
- const l = cl.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), s = l.length, e = t.value.chart.grid.labels.yAxis.gap, i = p.value.isStacked, a = i ? e * (s - 1) : 0, r = c.value.height - a;
1911
+ const l = vl.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), s = l.length, e = t.value.chart.grid.labels.yAxis.gap, i = p.value.isStacked, a = i ? e * (s - 1) : 0, r = c.value.height - a;
1912
1912
  return l.filter((o) => o.type === "bar").map((o, F) => {
1913
1913
  Et(o);
1914
1914
  const R = P.value[o.scaleLabel].min, O = P.value[o.scaleLabel].max;
1915
- o.absoluteValues.filter((K) => ![null, void 0].includes(K)).map((K) => (K - R) / (O - R));
1915
+ o.absoluteValues.filter((Q) => ![null, void 0].includes(Q)).map((Q) => (Q - R) / (O - R));
1916
1916
  const z = {
1917
1917
  valueMin: R,
1918
1918
  valueMax: O < 0 ? 0 : O
1919
1919
  }, N = {
1920
1920
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
1921
- min: o.scaleMin || Math.min(...o.absoluteValues.filter((K) => ![void 0, null].includes(K))) > 0 ? 0 : Math.min(...o.absoluteValues.filter((K) => ![null, void 0].includes(K)))
1922
- }, ee = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, I = 1.0000001, q = t.value.chart.grid.labels.yAxis.useNiceScale ? Ul(N.min, N.max === N.min ? N.max * I : N.max, ee) : hl(N.min, N.max === N.min ? N.max * I : N.max, ee), V = t.value.chart.grid.labels.yAxis.useNiceScale ? Ul(z.valueMin, z.valueMax === z.valueMin ? z.valueMax * I : z.valueMax, ee) : hl(z.valueMin, z.valueMax === z.valueMin ? z.valueMax * I : z.valueMax, ee), fe = q.min >= 0 ? 0 : Math.abs(q.min), Y = 0, B = q.max + fe, re = V.max + Math.abs(Y), Oe = o.stackIndex, $l = s - 1 - Oe, Ge = i ? 1 - o.cumulatedStackRatio : 0, J = i ? r * Ge + e * $l : 0, Q = i ? r * o.stackRatio : c.value.height, ye = c.value.bottom - J - Q * fe / B, qe = c.value.bottom - J - Q * Y / re, Ie = et.value.filter((K) => K.type === "bar").filter((K) => !de.value.includes(K.id)).length, Gl = o.series.map((K, ke) => {
1923
- const Dt = p.value.useIndividualScale ? (o.absoluteValues[ke] + fe) / B : sl(K), vl = p.value.useIndividualScale && p.value.isStacked ? c.value.left + c.value.width / $.value * ke : c.value.left + he.value.bar * F + he.value.bar * ke * Ie - Ro.value / 2 - F * ia.value;
1921
+ min: o.scaleMin || Math.min(...o.absoluteValues.filter((Q) => ![void 0, null].includes(Q))) > 0 ? 0 : Math.min(...o.absoluteValues.filter((Q) => ![null, void 0].includes(Q)))
1922
+ }, te = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, I = 1.0000001, U = t.value.chart.grid.labels.yAxis.useNiceScale ? ql(N.min, N.max === N.min ? N.max * I : N.max, te) : fl(N.min, N.max === N.min ? N.max * I : N.max, te), V = t.value.chart.grid.labels.yAxis.useNiceScale ? ql(z.valueMin, z.valueMax === z.valueMin ? z.valueMax * I : z.valueMax, te) : fl(z.valueMin, z.valueMax === z.valueMin ? z.valueMax * I : z.valueMax, te), fe = U.min >= 0 ? 0 : Math.abs(U.min), Y = 0, B = U.max + fe, re = V.max + Math.abs(Y), Oe = o.stackIndex, $l = s - 1 - Oe, Ge = i ? 1 - o.cumulatedStackRatio : 0, j = i ? r * Ge + e * $l : 0, ee = i ? r * o.stackRatio : c.value.height, ye = c.value.bottom - j - ee * fe / B, Ue = c.value.bottom - j - ee * Y / re, Ie = et.value.filter((Q) => Q.type === "bar").filter((Q) => !de.value.includes(Q.id)).length, Gl = o.series.map((Q, ke) => {
1923
+ const Wt = p.value.useIndividualScale ? (o.absoluteValues[ke] + fe) / B : rl(Q), dl = p.value.useIndividualScale && p.value.isStacked ? c.value.left + c.value.width / $.value * ke : c.value.left + he.value.bar * F + he.value.bar * ke * Ie - Ro.value / 2 - F * ia.value;
1924
1924
  return {
1925
- yOffset: U(J),
1926
- individualHeight: U(Q),
1927
- x: U(vl),
1928
- y: c.value.bottom - J - Q * Dt,
1925
+ yOffset: Z(j),
1926
+ individualHeight: Z(ee),
1927
+ x: Z(dl),
1928
+ y: c.value.bottom - j - ee * Wt,
1929
1929
  value: o.absoluteValues[ke],
1930
- zeroPosition: U(ye),
1931
- individualMax: U(B),
1930
+ zeroPosition: Z(ye),
1931
+ individualMax: Z(B),
1932
1932
  comment: o.comments && o.comments.slice(w.value.start, w.value.end)[ke] || ""
1933
1933
  };
1934
- }), Ve = o.absoluteValues.map((K) => V.min >= 0 ? (K - Math.abs(V.min)) / (V.max - Math.abs(V.min)) : (K + Math.abs(V.min)) / (V.max + Math.abs(V.min))), Ht = o.series.map((K, ke) => {
1935
- const Dt = p.value.useIndividualScale && p.value.isStacked ? c.value.left + c.value.width / $.value * ke : c.value.left - he.value.bar / 2 + he.value.bar * F + he.value.bar * ke * et.value.filter((vl) => vl.type === "bar").filter((vl) => !de.value.includes(vl.id)).length;
1934
+ }), Ve = o.absoluteValues.map((Q) => V.min >= 0 ? (Q - Math.abs(V.min)) / (V.max - Math.abs(V.min)) : (Q + Math.abs(V.min)) / (V.max + Math.abs(V.min))), Dt = o.series.map((Q, ke) => {
1935
+ const Wt = p.value.useIndividualScale && p.value.isStacked ? c.value.left + c.value.width / $.value * ke : c.value.left - he.value.bar / 2 + he.value.bar * F + he.value.bar * ke * et.value.filter((dl) => dl.type === "bar").filter((dl) => !de.value.includes(dl.id)).length;
1936
1936
  return {
1937
- yOffset: U(J),
1938
- individualHeight: U(Q),
1939
- x: U(Dt),
1940
- y: U(c.value.bottom - U(J) - (U(Q) * Ve[ke] || 0)),
1937
+ yOffset: Z(j),
1938
+ individualHeight: Z(ee),
1939
+ x: Z(Wt),
1940
+ y: Z(c.value.bottom - Z(j) - (Z(ee) * Ve[ke] || 0)),
1941
1941
  value: o.absoluteValues[ke],
1942
- zeroPosition: U(ye),
1943
- individualMax: U(B),
1942
+ zeroPosition: Z(ye),
1943
+ individualMax: Z(B),
1944
1944
  comment: o.comments && o.comments.slice(w.value.start, w.value.end)[ke] || ""
1945
1945
  };
1946
- }), oe = q.ticks.map((K) => ({
1947
- y: K >= 0 ? ye - Q * (K / B) : ye + Q * Math.abs(K) / B,
1948
- value: K,
1946
+ }), ne = U.ticks.map((Q) => ({
1947
+ y: Q >= 0 ? ye - ee * (Q / B) : ye + ee * Math.abs(Q) / B,
1948
+ value: Q,
1949
1949
  prefix: o.prefix || t.value.chart.labels.prefix,
1950
1950
  suffix: o.suffix || t.value.chart.labels.suffix,
1951
1951
  datapoint: o
1952
- })), pe = V.ticks.map((K) => {
1953
- const ke = (K - V.min) / (V.max - V.min);
1952
+ })), pe = V.ticks.map((Q) => {
1953
+ const ke = (Q - V.min) / (V.max - V.min);
1954
1954
  return {
1955
- y: K >= 0 ? qe - Q * ke : qe + Q * ke,
1956
- value: K,
1955
+ y: Q >= 0 ? Ue - ee * ke : Ue + ee * ke,
1956
+ value: Q,
1957
1957
  prefix: o.prefix || t.value.chart.labels.prefix,
1958
1958
  suffix: o.suffix || t.value.chart.labels.suffix,
1959
1959
  datapoint: o
1960
1960
  };
1961
1961
  });
1962
- return P.value[o.scaleLabel].name = o.name, P.value[o.scaleLabel].groupName = o.scaleLabel, P.value[o.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || o.color, P.value[o.scaleLabel].color = o.color, P.value[o.scaleLabel].scaleYLabels = o.autoScaling ? pe : oe, P.value[o.scaleLabel].zeroPosition = o.autoScaling ? qe : ye, P.value[o.scaleLabel].individualMax = o.autoScaling ? re : B, P.value[o.scaleLabel].scaleLabel = o.scaleLabel, P.value[o.scaleLabel].id = o.id, P.value[o.scaleLabel].yOffset = J, P.value[o.scaleLabel].individualHeight = Q, P.value[o.scaleLabel].autoScaleYLabels = pe, P.value[o.scaleLabel].unique = cl.value.filter((K) => K.scaleLabel === o.scaleLabel).length === 1, {
1962
+ return P.value[o.scaleLabel].name = o.name, P.value[o.scaleLabel].groupName = o.scaleLabel, P.value[o.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || o.color, P.value[o.scaleLabel].color = o.color, P.value[o.scaleLabel].scaleYLabels = o.autoScaling ? pe : ne, P.value[o.scaleLabel].zeroPosition = o.autoScaling ? Ue : ye, P.value[o.scaleLabel].individualMax = o.autoScaling ? re : B, P.value[o.scaleLabel].scaleLabel = o.scaleLabel, P.value[o.scaleLabel].id = o.id, P.value[o.scaleLabel].yOffset = j, P.value[o.scaleLabel].individualHeight = ee, P.value[o.scaleLabel].autoScaleYLabels = pe, P.value[o.scaleLabel].unique = vl.value.filter((Q) => Q.scaleLabel === o.scaleLabel).length === 1, {
1963
1963
  ...o,
1964
- yOffset: J,
1964
+ yOffset: j,
1965
1965
  autoScaleYLabels: pe,
1966
- individualHeight: Q,
1967
- scaleYLabels: o.autoScaling ? pe : oe,
1968
- individualScale: o.autoScaling ? V : q,
1966
+ individualHeight: ee,
1967
+ scaleYLabels: o.autoScaling ? pe : ne,
1968
+ individualScale: o.autoScaling ? V : U,
1969
1969
  individualMax: o.autoScaling ? re : B,
1970
- zeroPosition: o.autoScaling ? qe : ye,
1971
- plots: o.autoScaling ? Ht : Gl,
1970
+ zeroPosition: o.autoScaling ? Ue : ye,
1971
+ plots: o.autoScaling ? Dt : Gl,
1972
1972
  groupId: P.value[o.scaleLabel].groupId
1973
1973
  };
1974
1974
  });
1975
1975
  }), Re = x(() => {
1976
- const l = cl.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), s = l.length, e = t.value.chart.grid.labels.yAxis.gap, i = p.value.isStacked, a = i ? e * (s - 1) : 0, r = c.value.height - a;
1976
+ const l = vl.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), s = l.length, e = t.value.chart.grid.labels.yAxis.gap, i = p.value.isStacked, a = i ? e * (s - 1) : 0, r = c.value.height - a;
1977
1977
  return l.filter((o) => o.type === "line").map((o, F) => {
1978
1978
  Et(o);
1979
1979
  const R = P.value[o.scaleLabel].min, O = P.value[o.scaleLabel].max;
@@ -1984,120 +1984,120 @@ const _n = {
1984
1984
  }, N = {
1985
1985
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
1986
1986
  min: o.scaleMin || (Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues))
1987
- }, ee = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, I = 1.0000001, q = t.value.chart.grid.labels.yAxis.useNiceScale ? Ul(N.min, N.max === N.min ? N.max * I : N.max, ee) : hl(N.min, N.max === N.min ? N.max * I : N.max, ee), V = t.value.chart.grid.labels.yAxis.useNiceScale ? Ul(z.valueMin, z.valueMax === z.valueMin ? z.valueMax * I : z.valueMax, ee) : hl(z.valueMin, z.valueMax === z.valueMin ? z.valueMax * I : z.valueMax, ee), fe = q.min >= 0 ? 0 : Math.abs(q.min), Y = 0, B = q.max + Math.abs(fe), re = V.max + Math.abs(Y), Oe = o.stackIndex, $l = s - 1 - Oe, Ge = i ? 1 - o.cumulatedStackRatio : 0, J = i ? r * Ge + e * $l : 0, Q = i ? r * o.stackRatio : c.value.height, ye = c.value.bottom - J - Q * fe / B, qe = c.value.bottom - J - Q * Y / re, Ie = o.series.map((G, Ce) => {
1988
- const Xo = p.value.useIndividualScale ? (o.absoluteValues[Ce] + Math.abs(fe)) / B : sl(G);
1987
+ }, te = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, I = 1.0000001, U = t.value.chart.grid.labels.yAxis.useNiceScale ? ql(N.min, N.max === N.min ? N.max * I : N.max, te) : fl(N.min, N.max === N.min ? N.max * I : N.max, te), V = t.value.chart.grid.labels.yAxis.useNiceScale ? ql(z.valueMin, z.valueMax === z.valueMin ? z.valueMax * I : z.valueMax, te) : fl(z.valueMin, z.valueMax === z.valueMin ? z.valueMax * I : z.valueMax, te), fe = U.min >= 0 ? 0 : Math.abs(U.min), Y = 0, B = U.max + Math.abs(fe), re = V.max + Math.abs(Y), Oe = o.stackIndex, $l = s - 1 - Oe, Ge = i ? 1 - o.cumulatedStackRatio : 0, j = i ? r * Ge + e * $l : 0, ee = i ? r * o.stackRatio : c.value.height, ye = c.value.bottom - j - ee * fe / B, Ue = c.value.bottom - j - ee * Y / re, Ie = o.series.map((G, Ce) => {
1988
+ const Xo = p.value.useIndividualScale ? (o.absoluteValues[Ce] + Math.abs(fe)) / B : rl(G);
1989
1989
  return {
1990
- x: U(c.value.left + he.value.line / 2 + he.value.line * Ce),
1991
- y: U(c.value.bottom - J - Q * Xo),
1990
+ x: Z(c.value.left + he.value.line / 2 + he.value.line * Ce),
1991
+ y: Z(c.value.bottom - j - ee * Xo),
1992
1992
  value: o.absoluteValues[Ce],
1993
1993
  comment: o.comments && o.comments.slice(w.value.start, w.value.end)[Ce] || ""
1994
1994
  };
1995
1995
  }), Gl = o.absoluteValues.map((G) => V.min >= 0 ? (G - Math.abs(V.min)) / (V.max - Math.abs(V.min)) : (G + Math.abs(V.min)) / (V.max + Math.abs(V.min))), Ve = o.series.map((G, Ce) => [void 0, null].includes(o.absoluteValues[Ce]) ? {
1996
- x: U(c.value.left + he.value.line / 2 + he.value.line * Ce),
1996
+ x: Z(c.value.left + he.value.line / 2 + he.value.line * Ce),
1997
1997
  y: ye,
1998
1998
  value: o.absoluteValues[Ce],
1999
1999
  comment: o.comments && o.comments.slice(w.value.start, w.value.end)[Ce] || ""
2000
2000
  } : {
2001
- x: U(c.value.left + he.value.line / 2 + he.value.line * Ce),
2002
- y: U(c.value.bottom - J - (Q * Gl[Ce] || 0)),
2001
+ x: Z(c.value.left + he.value.line / 2 + he.value.line * Ce),
2002
+ y: Z(c.value.bottom - j - (ee * Gl[Ce] || 0)),
2003
2003
  value: o.absoluteValues[Ce],
2004
2004
  comment: o.comments && o.comments.slice(w.value.start, w.value.end)[Ce] || ""
2005
- }), Ht = t.value.line.cutNullValues ? ya(Ie) : pa(Ie.filter((G) => G.value !== null)), oe = t.value.line.cutNullValues ? ya(Ve) : pa(Ve.filter((G) => G.value !== null)), pe = t.value.line.cutNullValues ? ka(Ie) : wa(Ie.filter((G) => G.value !== null)), K = t.value.line.cutNullValues ? ka(Ve) : wa(Ve.filter((G) => G.value !== null)), ke = q.ticks.map((G) => ({
2006
- y: G >= 0 ? ye - Q * (G / B) : ye + Q * Math.abs(G) / B,
2005
+ }), Dt = t.value.line.cutNullValues ? ya(Ie) : pa(Ie.filter((G) => G.value !== null)), ne = t.value.line.cutNullValues ? ya(Ve) : pa(Ve.filter((G) => G.value !== null)), pe = t.value.line.cutNullValues ? ka(Ie) : wa(Ie.filter((G) => G.value !== null)), Q = t.value.line.cutNullValues ? ka(Ve) : wa(Ve.filter((G) => G.value !== null)), ke = U.ticks.map((G) => ({
2006
+ y: G >= 0 ? ye - ee * (G / B) : ye + ee * Math.abs(G) / B,
2007
2007
  value: G,
2008
2008
  prefix: o.prefix || t.value.chart.labels.prefix,
2009
2009
  suffix: o.suffix || t.value.chart.labels.suffix,
2010
2010
  datapoint: o
2011
- })), Dt = V.ticks.map((G) => {
2011
+ })), Wt = V.ticks.map((G) => {
2012
2012
  const Ce = (G - V.min) / (V.max - V.min);
2013
2013
  return {
2014
- y: G >= 0 ? qe - Q * Ce : qe + Q * Ce,
2014
+ y: G >= 0 ? Ue - ee * Ce : Ue + ee * Ce,
2015
2015
  value: G,
2016
2016
  prefix: o.prefix || t.value.chart.labels.prefix,
2017
2017
  suffix: o.suffix || t.value.chart.labels.suffix,
2018
2018
  datapoint: o
2019
2019
  };
2020
2020
  });
2021
- P.value[o.scaleLabel].name = o.name, P.value[o.scaleLabel].groupName = o.scaleLabel, P.value[o.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || o.color, P.value[o.scaleLabel].color = o.color, P.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Dt : ke, P.value[o.scaleLabel].zeroPosition = o.autoScaling ? qe : ye, P.value[o.scaleLabel].individualMax = o.autoScaling ? re : B, P.value[o.scaleLabel].scaleLabel = o.scaleLabel, P.value[o.scaleLabel].id = o.id, P.value[o.scaleLabel].yOffset = J, P.value[o.scaleLabel].individualHeight = Q, P.value[o.scaleLabel].autoScaleYLabels = Dt, P.value[o.scaleLabel].unique = cl.value.filter((G) => G.scaleLabel === o.scaleLabel).length === 1;
2022
- const vl = p.value.useIndividualScale ? o.autoScaling ? qe : ye : ze.value, ql = Math.max(Math.max(o.autoScaling ? qe : ke.at(-1) ? ke.at(-1).y : 0, c.value.top), vl);
2021
+ P.value[o.scaleLabel].name = o.name, P.value[o.scaleLabel].groupName = o.scaleLabel, P.value[o.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || o.color, P.value[o.scaleLabel].color = o.color, P.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Wt : ke, P.value[o.scaleLabel].zeroPosition = o.autoScaling ? Ue : ye, P.value[o.scaleLabel].individualMax = o.autoScaling ? re : B, P.value[o.scaleLabel].scaleLabel = o.scaleLabel, P.value[o.scaleLabel].id = o.id, P.value[o.scaleLabel].yOffset = j, P.value[o.scaleLabel].individualHeight = ee, P.value[o.scaleLabel].autoScaleYLabels = Wt, P.value[o.scaleLabel].unique = vl.value.filter((G) => G.scaleLabel === o.scaleLabel).length === 1;
2022
+ const dl = p.value.useIndividualScale ? o.autoScaling ? Ue : ye : ze.value, Ul = Math.max(Math.max(o.autoScaling ? Ue : ke.at(-1) ? ke.at(-1).y : 0, c.value.top), dl);
2023
2023
  return {
2024
2024
  ...o,
2025
- yOffset: J,
2026
- autoScaleYLabels: Dt,
2027
- individualHeight: Q,
2028
- scaleYLabels: o.autoScaling ? Dt : ke,
2029
- individualScale: o.autoScaling ? V : q,
2025
+ yOffset: j,
2026
+ autoScaleYLabels: Wt,
2027
+ individualHeight: ee,
2028
+ scaleYLabels: o.autoScaling ? Wt : ke,
2029
+ individualScale: o.autoScaling ? V : U,
2030
2030
  individualMax: o.autoScaling ? re : B,
2031
- zeroPosition: o.autoScaling ? qe : ye,
2032
- curve: o.autoScaling ? oe : Ht,
2031
+ zeroPosition: o.autoScaling ? Ue : ye,
2032
+ curve: o.autoScaling ? ne : Dt,
2033
2033
  plots: o.autoScaling ? Ve : Ie,
2034
2034
  area: o.useArea ? p.value.useIndividualScale ? t.value.line.cutNullValues ? wo(
2035
2035
  o.autoScaling ? Ve : Ie,
2036
- ql
2036
+ Ul
2037
2037
  ) : So(
2038
2038
  o.autoScaling ? Ve.filter((G) => G.value !== null) : Ie.filter((G) => G.value !== null),
2039
- ql
2040
- ) : t.value.line.cutNullValues ? wo(Ie, ql) : So(Ie.filter((G) => G.value !== null), ql) : "",
2039
+ Ul
2040
+ ) : t.value.line.cutNullValues ? wo(Ie, Ul) : So(Ie.filter((G) => G.value !== null), Ul) : "",
2041
2041
  curveAreas: o.useArea ? ln(
2042
2042
  o.autoScaling ? t.value.line.cutNullValues ? Ve : Ve.filter((G) => G.value !== null) : t.value.line.cutNullValues ? Ie : Ie.filter((G) => G.value !== null),
2043
- ql,
2043
+ Ul,
2044
2044
  t.value.line.cutNullValues
2045
2045
  ) : [],
2046
- straight: o.autoScaling ? K : pe,
2046
+ straight: o.autoScaling ? Q : pe,
2047
2047
  groupId: P.value[o.scaleLabel].groupId
2048
2048
  };
2049
2049
  });
2050
2050
  }), rt = x(() => {
2051
- const l = cl.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), s = l.length, e = t.value.chart.grid.labels.yAxis.gap, i = p.value.isStacked, a = i ? e * (s - 1) : 0, r = c.value.height - a;
2051
+ const l = vl.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), s = l.length, e = t.value.chart.grid.labels.yAxis.gap, i = p.value.isStacked, a = i ? e * (s - 1) : 0, r = c.value.height - a;
2052
2052
  return l.filter((o) => o.type === "plot").map((o) => {
2053
2053
  Et(o);
2054
2054
  const F = P.value[o.scaleLabel].min, R = P.value[o.scaleLabel].max;
2055
- o.absoluteValues.filter((oe) => ![null, void 0].includes(oe)).map((oe) => (oe - F) / (R - F));
2055
+ o.absoluteValues.filter((ne) => ![null, void 0].includes(ne)).map((ne) => (ne - F) / (R - F));
2056
2056
  const O = {
2057
2057
  valueMin: F,
2058
2058
  valueMax: R
2059
2059
  }, z = {
2060
2060
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
2061
2061
  min: o.scaleMin || Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues)
2062
- }, N = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, ee = 1.0000001, I = hl(z.min, z.max === z.min ? z.max * ee : z.max, N), q = hl(O.valueMin, O.valueMax === O.valueMin ? O.valueMax * ee : O.valueMax, N), V = I.min >= 0 ? 0 : Math.abs(I.min), fe = 0, Y = I.max + V, B = q.max + Math.abs(fe), re = o.stackIndex, Oe = s - 1 - re, $l = i ? 1 - o.cumulatedStackRatio : 0, Ge = i ? r * $l + e * Oe : 0, J = i ? r * o.stackRatio : c.value.height, Q = c.value.bottom - Ge - J * V / Y, ye = c.value.bottom - Ge - J * fe / B, qe = o.series.map((oe, pe) => {
2063
- const K = p.value.useIndividualScale ? (o.absoluteValues[pe] + Math.abs(V)) / Y : sl(oe);
2062
+ }, N = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, te = 1.0000001, I = fl(z.min, z.max === z.min ? z.max * te : z.max, N), U = fl(O.valueMin, O.valueMax === O.valueMin ? O.valueMax * te : O.valueMax, N), V = I.min >= 0 ? 0 : Math.abs(I.min), fe = 0, Y = I.max + V, B = U.max + Math.abs(fe), re = o.stackIndex, Oe = s - 1 - re, $l = i ? 1 - o.cumulatedStackRatio : 0, Ge = i ? r * $l + e * Oe : 0, j = i ? r * o.stackRatio : c.value.height, ee = c.value.bottom - Ge - j * V / Y, ye = c.value.bottom - Ge - j * fe / B, Ue = o.series.map((ne, pe) => {
2063
+ const Q = p.value.useIndividualScale ? (o.absoluteValues[pe] + Math.abs(V)) / Y : rl(ne);
2064
2064
  return {
2065
- x: U(c.value.left + he.value.plot / 2 + he.value.plot * pe),
2066
- y: U(c.value.bottom - Ge - J * K),
2065
+ x: Z(c.value.left + he.value.plot / 2 + he.value.plot * pe),
2066
+ y: Z(c.value.bottom - Ge - j * Q),
2067
2067
  value: o.absoluteValues[pe],
2068
2068
  comment: o.comments && o.comments.slice(w.value.start, w.value.end)[pe] || ""
2069
2069
  };
2070
- }), Ie = o.absoluteValues.map((oe) => q.min >= 0 ? (oe - Math.abs(q.min)) / (q.max - Math.abs(q.min)) : (oe + Math.abs(q.min)) / (q.max + Math.abs(q.min))), Gl = o.series.map((oe, pe) => ({
2071
- x: U(c.value.left + he.value.plot / 2 + he.value.plot * pe),
2072
- y: U(c.value.bottom - Ge - (J * Ie[pe] || 0)),
2070
+ }), Ie = o.absoluteValues.map((ne) => U.min >= 0 ? (ne - Math.abs(U.min)) / (U.max - Math.abs(U.min)) : (ne + Math.abs(U.min)) / (U.max + Math.abs(U.min))), Gl = o.series.map((ne, pe) => ({
2071
+ x: Z(c.value.left + he.value.plot / 2 + he.value.plot * pe),
2072
+ y: Z(c.value.bottom - Ge - (j * Ie[pe] || 0)),
2073
2073
  value: o.absoluteValues[pe],
2074
2074
  comment: o.comments && o.comments.slice(w.value.start, w.value.end)[pe] || ""
2075
- })), Ve = I.ticks.map((oe) => ({
2076
- y: oe >= 0 ? Q - J * (oe / Y) : Q + J * Math.abs(oe) / Y,
2077
- value: oe,
2075
+ })), Ve = I.ticks.map((ne) => ({
2076
+ y: ne >= 0 ? ee - j * (ne / Y) : ee + j * Math.abs(ne) / Y,
2077
+ value: ne,
2078
2078
  prefix: o.prefix || t.value.chart.labels.prefix,
2079
2079
  suffix: o.suffix || t.value.chart.labels.suffix,
2080
2080
  datapoint: o
2081
- })), Ht = q.ticks.map((oe) => {
2082
- const pe = (oe - q.min) / (q.max - q.min);
2081
+ })), Dt = U.ticks.map((ne) => {
2082
+ const pe = (ne - U.min) / (U.max - U.min);
2083
2083
  return {
2084
- y: oe >= 0 ? ye - J * pe : ye + J * pe,
2085
- value: oe,
2084
+ y: ne >= 0 ? ye - j * pe : ye + j * pe,
2085
+ value: ne,
2086
2086
  prefix: o.prefix || t.value.chart.labels.prefix,
2087
2087
  suffix: o.suffix || t.value.chart.labels.suffix,
2088
2088
  datapoint: o
2089
2089
  };
2090
2090
  });
2091
- return P.value[o.scaleLabel].name = o.name, P.value[o.scaleLabel].groupName = o.scaleLabel, P.value[o.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || o.color, P.value[o.scaleLabel].color = o.color, P.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Ht : Ve, P.value[o.scaleLabel].zeroPosition = o.autoScaling ? ye : Q, P.value[o.scaleLabel].individualMax = o.autoScaling ? B : Y, P.value[o.scaleLabel].scaleLabel = o.scaleLabel, P.value[o.scaleLabel].id = o.id, P.value[o.scaleLabel].yOffset = Ge, P.value[o.scaleLabel].individualHeight = J, P.value[o.scaleLabel].autoScaleYLabels = Ht, P.value[o.scaleLabel].unique = cl.value.filter((oe) => oe.scaleLabel === o.scaleLabel).length === 1, {
2091
+ return P.value[o.scaleLabel].name = o.name, P.value[o.scaleLabel].groupName = o.scaleLabel, P.value[o.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || o.color, P.value[o.scaleLabel].color = o.color, P.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Dt : Ve, P.value[o.scaleLabel].zeroPosition = o.autoScaling ? ye : ee, P.value[o.scaleLabel].individualMax = o.autoScaling ? B : Y, P.value[o.scaleLabel].scaleLabel = o.scaleLabel, P.value[o.scaleLabel].id = o.id, P.value[o.scaleLabel].yOffset = Ge, P.value[o.scaleLabel].individualHeight = j, P.value[o.scaleLabel].autoScaleYLabels = Dt, P.value[o.scaleLabel].unique = vl.value.filter((ne) => ne.scaleLabel === o.scaleLabel).length === 1, {
2092
2092
  ...o,
2093
2093
  yOffset: Ge,
2094
- autoScaleYLabels: Ht,
2095
- individualHeight: J,
2096
- scaleYLabels: o.autoScaling ? Ht : Ve,
2097
- individualScale: o.autoScaling ? q : I,
2094
+ autoScaleYLabels: Dt,
2095
+ individualHeight: j,
2096
+ scaleYLabels: o.autoScaling ? Dt : Ve,
2097
+ individualScale: o.autoScaling ? U : I,
2098
2098
  individualMax: o.autoScaling ? B : Y,
2099
- zeroPosition: o.autoScaling ? ye : Q,
2100
- plots: o.autoScaling ? Gl : qe,
2099
+ zeroPosition: o.autoScaling ? ye : ee,
2100
+ plots: o.autoScaling ? Gl : Ue,
2101
2101
  groupId: P.value[o.scaleLabel].groupId
2102
2102
  };
2103
2103
  });
@@ -2183,8 +2183,8 @@ const _n = {
2183
2183
  colorLineB: N,
2184
2184
  sampleStepPx: 2,
2185
2185
  cutNullValues: t.value.line.cutNullValues
2186
- }).forEach((I, q) => {
2187
- i.push({ ...I, key: `inter_${o}_${F}_${r}_${q}` });
2186
+ }).forEach((I, U) => {
2187
+ i.push({ ...I, key: `inter_${o}_${F}_${r}_${U}` });
2188
2188
  });
2189
2189
  }), i;
2190
2190
  }), ja = x(() => ({
@@ -2231,15 +2231,15 @@ const _n = {
2231
2231
  console.warn("Custom format cannot be applied on zoom labels."), ca.value = !1;
2232
2232
  }
2233
2233
  if (!ca.value) {
2234
- l = t.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !t.value.chart.zoom.useDefaultFormat ? Aa.value[w.value.start]?.text || "" : v.value[0]?.text || "";
2234
+ l = t.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !t.value.chart.zoom.useDefaultFormat ? Aa.value[w.value.start]?.text || "" : d.value[0]?.text || "";
2235
2235
  const i = Math.max(w.value.start, w.value.end - 1);
2236
- s = t.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !t.value.chart.zoom.useDefaultFormat ? Aa.value[i]?.text || "" : v.value.at(-1)?.text || "";
2236
+ s = t.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !t.value.chart.zoom.useDefaultFormat ? Aa.value[i]?.text || "" : d.value.at(-1)?.text || "";
2237
2237
  }
2238
2238
  return { left: l, right: s };
2239
2239
  });
2240
2240
  const Bo = x(() => {
2241
2241
  let l = "", s = zt.value.map((a) => a.value).filter((a) => ha(a) && a !== null).reduce((a, r) => Math.abs(a) + Math.abs(r), 0);
2242
- const e = v.value[M.value], i = t.value.chart.tooltip.customFormat;
2242
+ const e = d.value[M.value], i = t.value.chart.tooltip.customFormat;
2243
2243
  if (xa(i) && on(() => i({
2244
2244
  absoluteIndex: M.value + w.value.start,
2245
2245
  seriesIndex: M.value,
@@ -2267,9 +2267,9 @@ const _n = {
2267
2267
  return zt.value.forEach((a) => {
2268
2268
  if (ha(a.value)) {
2269
2269
  let r = "", o = "";
2270
- switch (Qt.value[a.type]) {
2270
+ switch (jt.value[a.type]) {
2271
2271
  case "bar":
2272
- r = `<svg viewBox="0 0 40 40" height="14" width="14">${gl.pattern ? `<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${a.color}" />` : ""}<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${gl.pattern ? `url(#pattern_${Z.value}_${a.slotAbsoluteIndex}` : a.color}" /></svg>`;
2272
+ r = `<svg viewBox="0 0 40 40" height="14" width="14">${xl.pattern ? `<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${a.color}" />` : ""}<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${xl.pattern ? `url(#pattern_${J.value}_${a.slotAbsoluteIndex}` : a.color}" /></svg>`;
2273
2273
  break;
2274
2274
  case "line":
2275
2275
  !a.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(a.shape) ? o = `<circle cx="10" cy="8" r="4" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${a.color}" />` : a.shape === "triangle" ? o = `<path d="${St({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${a.color}" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "square" ? o = `<path d="${St({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${a.color}" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "diamond" ? o = `<path d="${St({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${a.color}" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "pentagon" ? o = `<path d="${St({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${a.color}" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "hexagon" ? o = `<path d="${St({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${a.color}" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "star" && (o = `<polygon stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${a.color}" points="${$o({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), r = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${a.color}" />${o}</svg>`;
@@ -2315,7 +2315,7 @@ const _n = {
2315
2315
  }),
2316
2316
  { datapoint: a }
2317
2317
  ) : ""}</b> ${t.value.chart.tooltip.showPercentage ? `(${lt({
2318
- v: U(Math.abs(a.value) / s * 100),
2318
+ v: Z(Math.abs(a.value) / s * 100),
2319
2319
  s: "%",
2320
2320
  r: t.value.chart.tooltip.roundingPercentage
2321
2321
  })})` : ""}</div>`, t.value.chart.comments.showInTooltip && a.comments.length && a.comments.slice(w.value.start, w.value.end)[M.value] && (l += `<div class="vue-data-ui-tooltip-comment" style="background:${a.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${a.color}">${a.comments.slice(w.value.start, w.value.end)[M.value]}</div>`);
@@ -2328,7 +2328,7 @@ const _n = {
2328
2328
  color: e.color,
2329
2329
  type: e.type
2330
2330
  })), s = [];
2331
- return v.value.forEach((e, i) => {
2331
+ return d.value.forEach((e, i) => {
2332
2332
  const a = t.value.table.useDefaultTimeFormat ? [e.text] : [Sl.value(i + w.value.start, t.value.table.timeFormat)];
2333
2333
  Fe.value.forEach((r) => {
2334
2334
  a.push(Ye(r.absoluteValues[i]) ? Number(r.absoluteValues[i].toFixed(t.value.table.rounding)) : "");
@@ -2343,7 +2343,7 @@ const _n = {
2343
2343
  const o = Fe.value.map((F) => F.absoluteValues[r] ?? 0).reduce((F, R) => F + R, 0);
2344
2344
  e.push(
2345
2345
  [
2346
- t.value.table.useDefaultTimeFormat ? v.value[r].text ?? "-" : Sl.value(r + w.value.start, t.value.table.timeFormat)
2346
+ t.value.table.useDefaultTimeFormat ? d.value[r].text ?? "-" : Sl.value(r + w.value.start, t.value.table.timeFormat)
2347
2347
  ].concat(Fe.value.map(
2348
2348
  (F) => Ae(
2349
2349
  F.type === "line" ? t.value.line.labels.formatter : F.type === "bar" ? t.value.bar.labels.formatter : t.value.plot.labels.formatter,
@@ -2378,7 +2378,7 @@ const _n = {
2378
2378
  l ? l(r) : cn({ csvContent: r, title: t.value.chart.title.text || "vue-ui-xy" });
2379
2379
  }
2380
2380
  function to(l, s = null) {
2381
- xl.value = l;
2381
+ bl.value = l;
2382
2382
  const e = Fe.value.map((i) => ({
2383
2383
  name: i.name,
2384
2384
  value: [null, void 0, NaN].includes(i.absoluteValues[s]) ? null : i.absoluteValues[s],
@@ -2411,31 +2411,31 @@ const _n = {
2411
2411
  threshold: 10,
2412
2412
  fallback: 10
2413
2413
  }), A.value.yAxis = _l({
2414
- relator: le.value,
2414
+ relator: ae.value,
2415
2415
  adjuster: 1e3,
2416
2416
  source: t.value.chart.grid.labels.axis.fontSize,
2417
2417
  threshold: 10,
2418
2418
  fallback: 10
2419
2419
  }), A.value.xAxis = _l({
2420
- relator: le.value,
2420
+ relator: ae.value,
2421
2421
  adjuster: 1e3,
2422
2422
  source: t.value.chart.grid.labels.xAxisLabels.fontSize,
2423
2423
  threshold: 10,
2424
2424
  fallback: 10
2425
2425
  }), A.value.plotLabels = _l({
2426
- relator: le.value,
2426
+ relator: ae.value,
2427
2427
  adjuster: 800,
2428
2428
  source: t.value.chart.labels.fontSize,
2429
2429
  threshold: 10,
2430
2430
  fallback: 10
2431
2431
  }), De.value.plot = _l({
2432
- relator: le.value,
2432
+ relator: ae.value,
2433
2433
  adjuster: 800,
2434
2434
  source: t.value.plot.radius,
2435
2435
  threshold: 1,
2436
2436
  fallback: 1
2437
2437
  }), De.value.line = _l({
2438
- relator: le.value,
2438
+ relator: ae.value,
2439
2439
  adjuster: 800,
2440
2440
  source: t.value.line.radius,
2441
2441
  threshold: 1,
@@ -2443,11 +2443,11 @@ const _n = {
2443
2443
  });
2444
2444
  }
2445
2445
  function za() {
2446
- _o(d.dataset) ? (Na({
2446
+ _o(h.dataset) ? (Na({
2447
2447
  componentName: "VueUiXy",
2448
2448
  type: "dataset",
2449
2449
  debug: Ct.value
2450
- }), bt.value = !0) : d.dataset.forEach((s, e) => {
2450
+ }), bt.value = !0) : h.dataset.forEach((s, e) => {
2451
2451
  [null, void 0].includes(s.name) && (Na({
2452
2452
  componentName: "VueUiXy",
2453
2453
  type: "datasetSerieAttribute",
@@ -2455,17 +2455,17 @@ const _n = {
2455
2455
  index: e,
2456
2456
  debug: Ct.value
2457
2457
  }), bt.value = !0);
2458
- }), Ct.value && d.dataset.forEach((s) => {
2458
+ }), Ct.value && h.dataset.forEach((s) => {
2459
2459
  s.series.forEach((e, i) => {
2460
2460
  ha(e) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
2461
2461
  -----> The serie '${s.name}' contains the value '${e}' at index ${i}.
2462
2462
  '${e}' was converted to null to allow the chart to display.`);
2463
2463
  });
2464
- }), _o(d.dataset) || (bt.value = t.value.loading), jl.value = t.value.chart.userOptions.showOnChartHover, Fl.value = t.value.chart.userOptions.keepStateOnChartLeave, bl.value = !t.value.chart.userOptions.showOnChartHover, tl();
2464
+ }), _o(h.dataset) || (bt.value = t.value.loading), jl.value = t.value.chart.userOptions.showOnChartHover, Fl.value = t.value.chart.userOptions.keepStateOnChartLeave, yl.value = !t.value.chart.userOptions.showOnChartHover, ll();
2465
2465
  const l = 12;
2466
2466
  if (t.value.responsive) {
2467
2467
  const e = Be.value.parentNode;
2468
- mt.value && (mt.value.unobserve(ne.value), mt.value.disconnect());
2468
+ mt.value && (mt.value.unobserve(ue.value), mt.value.disconnect());
2469
2469
  const { height: i, width: a } = e.getBoundingClientRect();
2470
2470
  let r = null, o = 0;
2471
2471
  t.value.chart.title.show && Te.value && (r = Te.value, o = r.getBoundingClientRect().height);
@@ -2475,17 +2475,17 @@ const _n = {
2475
2475
  t.value.chart.legend.show && Le.value && (O = Le.value, z = O.getBoundingClientRect().height);
2476
2476
  let N = 0;
2477
2477
  ft.value && (N = ft.value.getBoundingClientRect().height);
2478
- let ee = 0;
2479
- Mt.value && (ee = Mt.value.getBoundingClientRect().height), W.value = i - o - z - R - N - ee - l, le.value = a, at.value = `0 0 ${le.value < 0 ? 10 : le.value} ${W.value < 0 ? 10 : W.value}`, uo();
2480
- const I = new ResizeObserver((q) => {
2481
- for (const V of q)
2482
- t.value.chart.title.show && Te.value ? o = Te.value.getBoundingClientRect().height : o = 0, Ke.value && Ke.value.$el ? R = Ke.value.$el.getBoundingClientRect().height : R = 0, Le.value ? z = Le.value.getBoundingClientRect().height : z = 0, ft.value ? N = ft.value.getBoundingClientRect().height : N = 0, Mt.value ? ee = Mt.value.getBoundingClientRect().height : ee = 0, requestAnimationFrame(() => {
2483
- W.value = V.contentRect.height - o - z - R - N - ee - l, le.value = V.contentBoxSize[0].inlineSize, at.value = `0 0 ${le.value < 0 ? 10 : le.value} ${W.value < 0 ? 10 : W.value}`, uo();
2478
+ let te = 0;
2479
+ Mt.value && (te = Mt.value.getBoundingClientRect().height), W.value = i - o - z - R - N - te - l, ae.value = a, at.value = `0 0 ${ae.value < 0 ? 10 : ae.value} ${W.value < 0 ? 10 : W.value}`, uo();
2480
+ const I = new ResizeObserver((U) => {
2481
+ for (const V of U)
2482
+ t.value.chart.title.show && Te.value ? o = Te.value.getBoundingClientRect().height : o = 0, Ke.value && Ke.value.$el ? R = Ke.value.$el.getBoundingClientRect().height : R = 0, Le.value ? z = Le.value.getBoundingClientRect().height : z = 0, ft.value ? N = ft.value.getBoundingClientRect().height : N = 0, Mt.value ? te = Mt.value.getBoundingClientRect().height : te = 0, requestAnimationFrame(() => {
2483
+ W.value = V.contentRect.height - o - z - R - N - te - l, ae.value = V.contentBoxSize[0].inlineSize, at.value = `0 0 ${ae.value < 0 ? 10 : ae.value} ${W.value < 0 ? 10 : W.value}`, uo();
2484
2484
  });
2485
2485
  });
2486
- mt.value = I, ne.value = e, I.observe(e);
2486
+ mt.value = I, ue.value = e, I.observe(e);
2487
2487
  } else
2488
- W.value = t.value.chart.height, le.value = t.value.chart.width, A.value.dataLabels = t.value.chart.grid.labels.fontSize, A.value.yAxis = t.value.chart.grid.labels.axis.fontSize, A.value.xAxis = t.value.chart.grid.labels.xAxisLabels.fontSize, A.value.plotLabels = t.value.chart.labels.fontSize, De.value.plot = t.value.plot.radius, De.value.line = t.value.line.radius, at.value = `0 0 ${le.value} ${W.value}`;
2488
+ W.value = t.value.chart.height, ae.value = t.value.chart.width, A.value.dataLabels = t.value.chart.grid.labels.fontSize, A.value.yAxis = t.value.chart.grid.labels.axis.fontSize, A.value.xAxis = t.value.chart.grid.labels.xAxisLabels.fontSize, A.value.plotLabels = t.value.chart.labels.fontSize, De.value.plot = t.value.plot.radius, De.value.line = t.value.line.radius, at.value = `0 0 ${ae.value} ${W.value}`;
2489
2489
  }
2490
2490
  function io(l) {
2491
2491
  Ql.value = {
@@ -2494,19 +2494,19 @@ const _n = {
2494
2494
  };
2495
2495
  }
2496
2496
  Zl(() => {
2497
- za(), il(), document.addEventListener("mousemove", io, { passive: !0 }), document.addEventListener("scroll", Hl, { passive: !0 });
2497
+ za(), sl(), document.addEventListener("mousemove", io, { passive: !0 }), document.addEventListener("scroll", Hl, { passive: !0 });
2498
2498
  }), Ll(() => {
2499
- document.removeEventListener("scroll", Hl, { passive: !0 }), document.removeEventListener("mousemove", io, { passive: !0 }), mt.value && (mt.value.unobserve(ne.value), mt.value.disconnect(), mt.value = null);
2499
+ document.removeEventListener("scroll", Hl, { passive: !0 }), document.removeEventListener("mousemove", io, { passive: !0 }), mt.value && (mt.value.unobserve(ue.value), mt.value.disconnect(), mt.value = null);
2500
2500
  }), yn({
2501
2501
  timeLabelsEls: $e,
2502
- timeLabels: v,
2502
+ timeLabels: d,
2503
2503
  slicer: w,
2504
2504
  configRef: t,
2505
2505
  rotationPath: ["chart", "grid", "labels", "xAxisLabels", "rotation"],
2506
2506
  autoRotatePath: ["chart", "grid", "labels", "xAxisLabels", "autoRotate", "enable"],
2507
2507
  isAutoSize: pt,
2508
2508
  height: W,
2509
- width: le,
2509
+ width: ae,
2510
2510
  rotation: t.value.chart.grid.labels.xAxisLabels.autoRotate.angle
2511
2511
  });
2512
2512
  const da = y(!1), so = y(null), ro = y(200), Eo = x(
@@ -2518,7 +2518,7 @@ const _n = {
2518
2518
  }
2519
2519
  function Do() {
2520
2520
  const l = Ho(), s = 200, e = Math.max(1, $.value), i = c.value.width / e, r = c.value.left + Eo.value * i + i / 2 - l / 2 - (s - l) / 2, o = c.value.left - (s - l) / 2, F = c.value.right - (s + l) / 2, R = Math.max(o, Math.min(r, F));
2521
- return U(R);
2521
+ return Z(R);
2522
2522
  }
2523
2523
  Zl(() => {
2524
2524
  let l = null, s = null;
@@ -2564,15 +2564,15 @@ const _n = {
2564
2564
  console.warn("Custom format cannot be applied on timeTag."), da.value = !1;
2565
2565
  }
2566
2566
  if (!da.value)
2567
- return [null, void 0].includes(v.value[l]) ? "" : t.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !t.value.chart.timeTag.useDefaultFormat ? Sl.value(l + w.value.start, t.value.chart.timeTag.timeFormat) : v.value[l].text;
2567
+ return [null, void 0].includes(d.value[l]) ? "" : t.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !t.value.chart.timeTag.useDefaultFormat ? Sl.value(l + w.value.start, t.value.chart.timeTag.timeFormat) : d.value[l].text;
2568
2568
  });
2569
- ht(() => d.dataset, (l) => {
2569
+ ht(() => h.dataset, (l) => {
2570
2570
  Array.isArray(l) && l.length > 0 && (bt.value = !1), Qe.value = Math.max(...Me.value.map((s) => yt(s.series).length)), w.value = {
2571
2571
  start: 0,
2572
2572
  end: Qe.value
2573
2573
  }, Jl.value += 1, gt.value += 1, At();
2574
- }, { deep: !0 }), ht(() => d.config, (l) => {
2575
- be.value || (t.value = Ol()), za(), Pl.value += 1, Nl.value += 1, tl(), At();
2574
+ }, { deep: !0 }), ht(() => h.config, (l) => {
2575
+ be.value || (t.value = Ol()), za(), Pl.value += 1, Nl.value += 1, ll(), At();
2576
2576
  }, { deep: !0 });
2577
2577
  const Ia = y(!1);
2578
2578
  function co() {
@@ -2587,11 +2587,11 @@ const _n = {
2587
2587
  Zl(() => {
2588
2588
  co();
2589
2589
  const l = new ResizeObserver(() => {
2590
- co(), Ia.value && (za(), At(), il());
2590
+ co(), Ia.value && (za(), At(), sl());
2591
2591
  });
2592
2592
  Be.value?.parentNode && l.observe(Be.value.parentNode);
2593
2593
  }), ht(t, () => {
2594
- tl();
2594
+ ll();
2595
2595
  }, { immediate: !0 });
2596
2596
  const Yl = x(() => {
2597
2597
  const l = t.value.table.useDialog && !t.value.showTable, s = p.value.showTable;
@@ -2642,7 +2642,7 @@ const _n = {
2642
2642
  toggleAnnotator: Dl,
2643
2643
  toggleFullscreen: no
2644
2644
  }), (l, s) => (n(), u("div", {
2645
- id: `vue-ui-xy_${Z.value}`,
2645
+ id: `vue-ui-xy_${J.value}`,
2646
2646
  class: Ze(`vue-ui-xy ${Pe.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
2647
2647
  ref_key: "chart",
2648
2648
  ref: Be,
@@ -2651,7 +2651,7 @@ const _n = {
2651
2651
  onMouseleave: s[7] || (s[7] = () => xe(!1)),
2652
2652
  onClick: Xa
2653
2653
  }, [
2654
- t.value.chart.userOptions.buttons.annotator && _e.value ? (n(), ct(h(Nt), {
2654
+ t.value.chart.userOptions.buttons.annotator && _e.value ? (n(), ct(v(Nt), {
2655
2655
  key: 0,
2656
2656
  svgRef: _e.value,
2657
2657
  backgroundColor: t.value.chart.backgroundColor,
@@ -2688,17 +2688,17 @@ const _n = {
2688
2688
  }, null, 8, ["config"]))
2689
2689
  ], 4)) : g("", !0),
2690
2690
  k("div", {
2691
- id: `legend-top-${Z.value}`
2691
+ id: `legend-top-${J.value}`
2692
2692
  }, null, 8, mu),
2693
- t.value.chart.userOptions.show && (Fl.value || bl.value) ? (n(), ct(h(me), {
2693
+ t.value.chart.userOptions.show && (Fl.value || yl.value) ? (n(), ct(v(me), {
2694
2694
  ref_key: "userOptionsRef",
2695
2695
  ref: zl,
2696
2696
  key: `user_options_${Il.value}`,
2697
2697
  backgroundColor: t.value.chart.backgroundColor,
2698
2698
  color: t.value.chart.color,
2699
- isPrinting: h(Bl),
2700
- isImaging: h(nt),
2701
- uid: Z.value,
2699
+ isPrinting: v(Bl),
2700
+ isImaging: v(nt),
2701
+ uid: J.value,
2702
2702
  hasTooltip: t.value.chart.userOptions.buttons.tooltip && t.value.chart.tooltip.show,
2703
2703
  hasPdf: t.value.chart.userOptions.buttons.pdf,
2704
2704
  hasXls: t.value.chart.userOptions.buttons.csv,
@@ -2719,85 +2719,85 @@ const _n = {
2719
2719
  tableDialog: t.value.table.useDialog,
2720
2720
  printScale: t.value.chart.userOptions.print.scale,
2721
2721
  onToggleFullscreen: no,
2722
- onGeneratePdf: h(ut),
2722
+ onGeneratePdf: v(ut),
2723
2723
  onGenerateCsv: Ta,
2724
- onGenerateImage: h(it),
2724
+ onGenerateImage: v(it),
2725
2725
  onToggleTable: lo,
2726
2726
  onToggleLabels: ao,
2727
2727
  onToggleStack: st,
2728
2728
  onToggleTooltip: oo,
2729
2729
  onToggleAnnotator: Dl,
2730
2730
  style: C({
2731
- visibility: Fl.value ? bl.value ? "visible" : "hidden" : "visible"
2731
+ visibility: Fl.value ? yl.value ? "visible" : "hidden" : "visible"
2732
2732
  })
2733
2733
  }, xo({ _: 2 }, [
2734
2734
  l.$slots.menuIcon ? {
2735
2735
  name: "menuIcon",
2736
2736
  fn: Se(({ isOpen: e, color: i }) => [
2737
- te(l.$slots, "menuIcon", Yt(dl({ isOpen: e, color: i })), void 0, !0)
2737
+ le(l.$slots, "menuIcon", Gt(hl({ isOpen: e, color: i })), void 0, !0)
2738
2738
  ]),
2739
2739
  key: "0"
2740
2740
  } : void 0,
2741
2741
  l.$slots.optionTooltip ? {
2742
2742
  name: "optionTooltip",
2743
2743
  fn: Se(() => [
2744
- te(l.$slots, "optionTooltip", {}, void 0, !0)
2744
+ le(l.$slots, "optionTooltip", {}, void 0, !0)
2745
2745
  ]),
2746
2746
  key: "1"
2747
2747
  } : void 0,
2748
2748
  l.$slots.optionPdf ? {
2749
2749
  name: "optionPdf",
2750
2750
  fn: Se(() => [
2751
- te(l.$slots, "optionPdf", {}, void 0, !0)
2751
+ le(l.$slots, "optionPdf", {}, void 0, !0)
2752
2752
  ]),
2753
2753
  key: "2"
2754
2754
  } : void 0,
2755
2755
  l.$slots.optionCsv ? {
2756
2756
  name: "optionCsv",
2757
2757
  fn: Se(() => [
2758
- te(l.$slots, "optionCsv", {}, void 0, !0)
2758
+ le(l.$slots, "optionCsv", {}, void 0, !0)
2759
2759
  ]),
2760
2760
  key: "3"
2761
2761
  } : void 0,
2762
2762
  l.$slots.optionImg ? {
2763
2763
  name: "optionImg",
2764
2764
  fn: Se(() => [
2765
- te(l.$slots, "optionImg", {}, void 0, !0)
2765
+ le(l.$slots, "optionImg", {}, void 0, !0)
2766
2766
  ]),
2767
2767
  key: "4"
2768
2768
  } : void 0,
2769
2769
  l.$slots.optionTable ? {
2770
2770
  name: "optionTable",
2771
2771
  fn: Se(() => [
2772
- te(l.$slots, "optionTable", {}, void 0, !0)
2772
+ le(l.$slots, "optionTable", {}, void 0, !0)
2773
2773
  ]),
2774
2774
  key: "5"
2775
2775
  } : void 0,
2776
2776
  l.$slots.optionLabels ? {
2777
2777
  name: "optionLabels",
2778
2778
  fn: Se(() => [
2779
- te(l.$slots, "optionLabels", {}, void 0, !0)
2779
+ le(l.$slots, "optionLabels", {}, void 0, !0)
2780
2780
  ]),
2781
2781
  key: "6"
2782
2782
  } : void 0,
2783
2783
  l.$slots.optionStack ? {
2784
2784
  name: "optionStack",
2785
2785
  fn: Se(() => [
2786
- te(l.$slots, "optionStack", {}, void 0, !0)
2786
+ le(l.$slots, "optionStack", {}, void 0, !0)
2787
2787
  ]),
2788
2788
  key: "7"
2789
2789
  } : void 0,
2790
2790
  l.$slots.optionFullscreen ? {
2791
2791
  name: "optionFullscreen",
2792
2792
  fn: Se(({ toggleFullscreen: e, isFullscreen: i }) => [
2793
- te(l.$slots, "optionFullscreen", Yt(dl({ toggleFullscreen: e, isFullscreen: i })), void 0, !0)
2793
+ le(l.$slots, "optionFullscreen", Gt(hl({ toggleFullscreen: e, isFullscreen: i })), void 0, !0)
2794
2794
  ]),
2795
2795
  key: "8"
2796
2796
  } : void 0,
2797
2797
  l.$slots.optionAnnotator ? {
2798
2798
  name: "optionAnnotator",
2799
2799
  fn: Se(({ toggleAnnotator: e, isAnnotator: i }) => [
2800
- te(l.$slots, "optionAnnotator", Yt(dl({ toggleAnnotator: e, isAnnotator: i })), void 0, !0)
2800
+ le(l.$slots, "optionAnnotator", Gt(hl({ toggleAnnotator: e, isAnnotator: i })), void 0, !0)
2801
2801
  ]),
2802
2802
  key: "9"
2803
2803
  } : void 0
@@ -2827,10 +2827,10 @@ const _n = {
2827
2827
  ref: Al,
2828
2828
  class: "vue-data-ui-g"
2829
2829
  }, [
2830
- ml(h($t)),
2830
+ gl(v($t)),
2831
2831
  l.$slots["chart-background"] ? (n(), u("foreignObject", {
2832
2832
  key: 0,
2833
- x: c.value.left + ue.value < 0 ? 0 : c.value.left + ue.value,
2833
+ x: c.value.left + ie.value < 0 ? 0 : c.value.left + ie.value,
2834
2834
  y: c.value.top,
2835
2835
  width: c.value.width - (t.value.chart.grid.position === "middle" ? 0 : c.value.width / $.value) < 0 ? 0 : c.value.width - (t.value.chart.grid.position === "middle" ? 0 : c.value.width / $.value),
2836
2836
  height: c.value.height < 0 ? 0 : c.value.height,
@@ -2838,7 +2838,7 @@ const _n = {
2838
2838
  pointerEvents: "none"
2839
2839
  }
2840
2840
  }, [
2841
- te(l.$slots, "chart-background", {}, void 0, !0)
2841
+ le(l.$slots, "chart-background", {}, void 0, !0)
2842
2842
  ], 8, xu)) : g("", !0),
2843
2843
  $.value > 0 ? (n(), u("g", bu, [
2844
2844
  k("g", yu, [
@@ -2846,28 +2846,28 @@ const _n = {
2846
2846
  key: 0,
2847
2847
  stroke: t.value.chart.grid.stroke,
2848
2848
  "stroke-width": "1",
2849
- x1: c.value.left + ue.value,
2850
- x2: c.value.right - ue.value,
2851
- y1: h(j)(c.value.bottom),
2852
- y2: h(j)(c.value.bottom),
2849
+ x1: c.value.left + ie.value,
2850
+ x2: c.value.right - ie.value,
2851
+ y1: v(q)(c.value.bottom),
2852
+ y2: v(q)(c.value.bottom),
2853
2853
  "stroke-linecap": "round",
2854
2854
  style: { animation: "none !important" }
2855
2855
  }, null, 8, pu)) : g("", !0),
2856
2856
  p.value.useIndividualScale ? t.value.chart.grid.showHorizontalLines ? (n(!0), u(b, { key: 2 }, L(Xl.value, (e) => (n(), u("g", null, [
2857
2857
  e.id === E.value && e.yLabels.length ? (n(!0), u(b, { key: 0 }, L(e.yLabels, (i) => (n(), u("line", {
2858
- x1: c.value.left + ue.value,
2859
- x2: c.value.right - ue.value,
2860
- y1: h(j)(i.y),
2861
- y2: h(j)(i.y),
2858
+ x1: c.value.left + ie.value,
2859
+ x2: c.value.right - ie.value,
2860
+ y1: v(q)(i.y),
2861
+ y2: v(q)(i.y),
2862
2862
  stroke: e.color,
2863
2863
  "stroke-width": 0.5,
2864
2864
  "stroke-linecap": "round",
2865
2865
  style: { animation: "none !important" }
2866
2866
  }, null, 8, $u))), 256)) : e.yLabels.length ? (n(!0), u(b, { key: 1 }, L(e.yLabels, (i) => (n(), u("line", {
2867
- x1: c.value.left + ue.value,
2868
- x2: c.value.right - ue.value,
2869
- y1: h(j)(i.y),
2870
- y2: h(j)(i.y),
2867
+ x1: c.value.left + ie.value,
2868
+ x2: c.value.right - ie.value,
2869
+ y1: v(q)(i.y),
2870
+ y2: v(q)(i.y),
2871
2871
  stroke: t.value.chart.grid.stroke,
2872
2872
  "stroke-width": 0.5,
2873
2873
  "stroke-linecap": "round",
@@ -2878,19 +2878,19 @@ const _n = {
2878
2878
  key: 0,
2879
2879
  stroke: t.value.chart.grid.stroke,
2880
2880
  "stroke-width": "1",
2881
- x1: c.value.left + ue.value,
2882
- x2: c.value.left + ue.value,
2883
- y1: h(j)(c.value.top),
2884
- y2: h(j)(c.value.bottom),
2881
+ x1: c.value.left + ie.value,
2882
+ x2: c.value.left + ie.value,
2883
+ y1: v(q)(c.value.top),
2884
+ y2: v(q)(c.value.bottom),
2885
2885
  "stroke-linecap": "round",
2886
2886
  style: { animation: "none !important" }
2887
2887
  }, null, 8, ku)) : g("", !0),
2888
2888
  t.value.chart.grid.showHorizontalLines ? (n(), u("g", wu, [
2889
2889
  (n(!0), u(b, null, L(Za.value, (e) => (n(), u("line", {
2890
- x1: c.value.left + ue.value,
2890
+ x1: c.value.left + ie.value,
2891
2891
  x2: c.value.right,
2892
- y1: h(j)(e.y),
2893
- y2: h(j)(e.y),
2892
+ y1: v(q)(e.y),
2893
+ y2: v(q)(e.y),
2894
2894
  stroke: t.value.chart.grid.stroke,
2895
2895
  "stroke-width": 0.5,
2896
2896
  "stroke-linecap": "round",
@@ -2920,12 +2920,12 @@ const _n = {
2920
2920
  (n(!0), u(b, null, L(It.value, (e, i) => (n(), u("defs", {
2921
2921
  key: `def_rect_${i}`
2922
2922
  }, [
2923
- l.$slots["bar-gradient"] ? te(l.$slots, "bar-gradient", Gt({
2923
+ l.$slots["bar-gradient"] ? le(l.$slots, "bar-gradient", Ut({
2924
2924
  key: 0,
2925
2925
  ref_for: !0
2926
- }, { series: e, positiveId: `rectGradient_pos_${i}_${Z.value}`, negativeId: `rectGradient_neg_${i}_${Z.value}` }), void 0, !0) : (n(), u(b, { key: 1 }, [
2926
+ }, { series: e, positiveId: `rectGradient_pos_${i}_${J.value}`, negativeId: `rectGradient_neg_${i}_${J.value}` }), void 0, !0) : (n(), u(b, { key: 1 }, [
2927
2927
  k("linearGradient", {
2928
- id: `rectGradient_pos_${i}_${Z.value}`,
2928
+ id: `rectGradient_pos_${i}_${J.value}`,
2929
2929
  x2: "0%",
2930
2930
  y2: "100%"
2931
2931
  }, [
@@ -2935,25 +2935,25 @@ const _n = {
2935
2935
  }, null, 8, zu),
2936
2936
  k("stop", {
2937
2937
  offset: "62%",
2938
- "stop-color": `${h(fl)(e.color, 0.02)}`
2938
+ "stop-color": `${v(ml)(e.color, 0.02)}`
2939
2939
  }, null, 8, Iu),
2940
2940
  k("stop", {
2941
2941
  offset: "100%",
2942
- "stop-color": `${h(fl)(e.color, 0.05)}`
2942
+ "stop-color": `${v(ml)(e.color, 0.05)}`
2943
2943
  }, null, 8, Nu)
2944
2944
  ], 8, Tu),
2945
2945
  k("linearGradient", {
2946
- id: `rectGradient_neg_${i}_${Z.value}`,
2946
+ id: `rectGradient_neg_${i}_${J.value}`,
2947
2947
  x2: "0%",
2948
2948
  y2: "100%"
2949
2949
  }, [
2950
2950
  k("stop", {
2951
2951
  offset: "0%",
2952
- "stop-color": `${h(fl)(e.color, 0.05)}`
2952
+ "stop-color": `${v(ml)(e.color, 0.05)}`
2953
2953
  }, null, 8, Fu),
2954
2954
  k("stop", {
2955
2955
  offset: "38%",
2956
- "stop-color": `${h(fl)(e.color, 0.02)}`
2956
+ "stop-color": `${v(ml)(e.color, 0.02)}`
2957
2957
  }, null, 8, Ru),
2958
2958
  k("stop", {
2959
2959
  offset: "100%",
@@ -2966,7 +2966,7 @@ const _n = {
2966
2966
  key: `def_plot_${i}`
2967
2967
  }, [
2968
2968
  k("radialGradient", {
2969
- id: `plotGradient_${i}_${Z.value}`,
2969
+ id: `plotGradient_${i}_${J.value}`,
2970
2970
  cx: "50%",
2971
2971
  cy: "50%",
2972
2972
  r: "50%",
@@ -2975,7 +2975,7 @@ const _n = {
2975
2975
  }, [
2976
2976
  k("stop", {
2977
2977
  offset: "0%",
2978
- "stop-color": `${h(fl)(e.color, 0.05)}`
2978
+ "stop-color": `${v(ml)(e.color, 0.05)}`
2979
2979
  }, null, 8, Bu),
2980
2980
  k("stop", {
2981
2981
  offset: "100%",
@@ -2987,7 +2987,7 @@ const _n = {
2987
2987
  key: `def_line_${e.id}`
2988
2988
  }, [
2989
2989
  k("radialGradient", {
2990
- id: `lineGradient_${i}_${Z.value}`,
2990
+ id: `lineGradient_${i}_${J.value}`,
2991
2991
  cx: "50%",
2992
2992
  cy: "50%",
2993
2993
  r: "50%",
@@ -2996,19 +2996,19 @@ const _n = {
2996
2996
  }, [
2997
2997
  k("stop", {
2998
2998
  offset: "0%",
2999
- "stop-color": `${h(fl)(e.color, 0.05)}`
2999
+ "stop-color": `${v(ml)(e.color, 0.05)}`
3000
3000
  }, null, 8, Du),
3001
3001
  k("stop", {
3002
3002
  offset: "100%",
3003
3003
  "stop-color": e.color
3004
3004
  }, null, 8, Wu)
3005
3005
  ], 8, Hu),
3006
- l.$slots["area-gradient"] ? te(l.$slots, "area-gradient", Gt({
3006
+ l.$slots["area-gradient"] ? le(l.$slots, "area-gradient", Ut({
3007
3007
  key: 0,
3008
3008
  ref_for: !0
3009
- }, { series: e, id: `areaGradient_${i}_${Z.value}` }), void 0, !0) : (n(), u("linearGradient", {
3009
+ }, { series: e, id: `areaGradient_${i}_${J.value}` }), void 0, !0) : (n(), u("linearGradient", {
3010
3010
  key: 1,
3011
- id: `areaGradient_${i}_${Z.value}`,
3011
+ id: `areaGradient_${i}_${J.value}`,
3012
3012
  x1: "0%",
3013
3013
  x2: "100%",
3014
3014
  y1: "0%",
@@ -3016,11 +3016,11 @@ const _n = {
3016
3016
  }, [
3017
3017
  k("stop", {
3018
3018
  offset: "0%",
3019
- "stop-color": `${h(vt)(h(fl)(e.color, 0.03), t.value.line.area.opacity)}`
3019
+ "stop-color": `${v(vt)(v(ml)(e.color, 0.03), t.value.line.area.opacity)}`
3020
3020
  }, null, 8, Yu),
3021
3021
  k("stop", {
3022
3022
  offset: "100%",
3023
- "stop-color": `${h(vt)(e.color, t.value.line.area.opacity)}`
3023
+ "stop-color": `${v(vt)(e.color, t.value.line.area.opacity)}`
3024
3024
  }, null, 8, Gu)
3025
3025
  ], 8, Xu))
3026
3026
  ]))), 128)),
@@ -3036,8 +3036,8 @@ const _n = {
3036
3036
  y: c.value.top,
3037
3037
  height: c.value.height < 0 ? 10 : c.value.height,
3038
3038
  width: c.value.width / $.value < 0 ? 1e-5 : c.value.width / $.value,
3039
- fill: h(vt)(e.color, e.opacity)
3040
- }, null, 12, qu)
3039
+ fill: v(vt)(e.color, e.opacity)
3040
+ }, null, 12, Uu)
3041
3041
  ]))), 256)),
3042
3042
  (n(!0), u(b, null, L(e.span, (i, a) => (n(), u("g", null, [
3043
3043
  e.caption.text && a === 0 ? (n(), u("foreignObject", {
@@ -3054,7 +3054,7 @@ const _n = {
3054
3054
  k("div", {
3055
3055
  style: C(`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"}`)
3056
3056
  }, ce(e.caption.text), 5)
3057
- ], 12, Uu)) : g("", !0)
3057
+ ], 12, qu)) : g("", !0)
3058
3058
  ]))), 256))
3059
3059
  ], 64)) : g("", !0)
3060
3060
  ]))), 256)),
@@ -3067,7 +3067,7 @@ const _n = {
3067
3067
  y: c.value.top,
3068
3068
  height: c.value.height < 0 ? 10 : c.value.height,
3069
3069
  width: c.value.width / $.value < 0 ? 1e-5 : c.value.width / $.value,
3070
- fill: [X.value, M.value, ae.value].includes(i) ? h(vt)(t.value.chart.highlighter.color, t.value.chart.highlighter.opacity) : "transparent",
3070
+ fill: [X.value, M.value, oe.value].includes(i) ? v(vt)(t.value.chart.highlighter.color, t.value.chart.highlighter.opacity) : "transparent",
3071
3071
  style: { transition: "none !important", animation: "none !important" }
3072
3072
  }, null, 8, Ku)
3073
3073
  ]))), 128))
@@ -3087,11 +3087,11 @@ const _n = {
3087
3087
  height: p.value.useIndividualScale ? Math.abs(Ea(a)) : Math.abs(Ba(a)),
3088
3088
  width: sa.value - ra.value,
3089
3089
  rx: t.value.bar.borderRadius,
3090
- fill: t.value.bar.useGradient ? a.value >= 0 ? `url(#rectGradient_pos_${i}_${Z.value})` : `url(#rectGradient_neg_${i}_${Z.value})` : e.color,
3090
+ fill: t.value.bar.useGradient ? a.value >= 0 ? `url(#rectGradient_pos_${i}_${J.value})` : `url(#rectGradient_neg_${i}_${J.value})` : e.color,
3091
3091
  stroke: t.value.bar.border.useSerieColor ? e.color : t.value.bar.border.stroke,
3092
3092
  "stroke-width": t.value.bar.border.strokeWidth,
3093
3093
  style: C({
3094
- transition: h(be) || !t.value.bar.showTransition ? void 0 : `all ${t.value.bar.transitionDurationMs}ms ease-in-out`
3094
+ transition: v(be) || !t.value.bar.showTransition ? void 0 : `all ${t.value.bar.transitionDurationMs}ms ease-in-out`
3095
3095
  })
3096
3096
  }, null, 12, Ju)) : g("", !0),
3097
3097
  Ye(a.value) && l.$slots.pattern ? (n(), u("rect", {
@@ -3101,10 +3101,10 @@ const _n = {
3101
3101
  height: p.value.useIndividualScale ? Math.abs(Ea(a)) : Math.abs(Ba(a)),
3102
3102
  width: sa.value - ra.value,
3103
3103
  rx: t.value.bar.borderRadius,
3104
- fill: `url(#pattern_${Z.value}_${e.slotAbsoluteIndex})`,
3104
+ fill: `url(#pattern_${J.value}_${e.slotAbsoluteIndex})`,
3105
3105
  stroke: t.value.bar.border.useSerieColor ? e.color : t.value.bar.border.stroke,
3106
3106
  "stroke-width": t.value.bar.border.strokeWidth,
3107
- style: C({ transition: h(be) || !t.value.bar.showTransition ? void 0 : `all ${t.value.bar.transitionDurationMs}ms ease-in-out` })
3107
+ style: C({ transition: v(be) || !t.value.bar.showTransition ? void 0 : `all ${t.value.bar.transitionDurationMs}ms ease-in-out` })
3108
3108
  }, null, 12, Qu)) : g("", !0),
3109
3109
  a.comment && t.value.chart.comments.show ? (n(), u("foreignObject", {
3110
3110
  key: 2,
@@ -3112,82 +3112,108 @@ const _n = {
3112
3112
  height: "12",
3113
3113
  width: sa.value / 2 + t.value.chart.comments.width,
3114
3114
  x: na(a) - t.value.chart.comments.width / 2 + t.value.chart.comments.offsetX,
3115
- y: h(U)(a.y) + t.value.chart.comments.offsetY + 6
3115
+ y: v(Z)(a.y) + t.value.chart.comments.offsetY + 6
3116
3116
  }, [
3117
- te(l.$slots, "plot-comment", {
3117
+ le(l.$slots, "plot-comment", {
3118
3118
  plot: { ...a, color: e.color, seriesIndex: i, datapointIndex: r }
3119
3119
  }, void 0, !0)
3120
3120
  ], 8, ju)) : g("", !0)
3121
3121
  ]))), 128)),
3122
- Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(h(ie)(e.plots).trend) ? (n(), u("g", ei, [
3122
+ Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(v(K)(e.plots).trend) ? (n(), u("g", ei, [
3123
3123
  k("defs", null, [
3124
3124
  k("marker", {
3125
3125
  id: `bar_arrow_${i}`,
3126
- markerWidth: 7,
3127
- markerHeight: 7,
3128
- refX: "0",
3126
+ markerWidth: "9",
3127
+ markerHeight: "9",
3128
+ viewBox: "-1 -1 9 9",
3129
+ markerUnits: "userSpaceOnUse",
3130
+ refX: "7",
3129
3131
  refY: 7 / 2,
3130
- orient: "auto"
3132
+ orient: "auto",
3133
+ overflow: "visible"
3131
3134
  }, [
3132
3135
  k("polygon", {
3133
- points: `0 0, 7 ${7 / 2}, 0 7`,
3134
- fill: e.color
3136
+ points: "0,0 7,3.5 0,7",
3137
+ fill: e.color,
3138
+ stroke: t.value.chart.backgroundColor,
3139
+ "stroke-width": "1",
3140
+ "stroke-linejoin": "round"
3135
3141
  }, null, 8, li)
3136
3142
  ], 8, ti)
3137
3143
  ]),
3138
3144
  e.plots.length > 1 ? (n(), u("line", {
3139
3145
  key: 0,
3140
- x1: h(ie)(e.plots).x1 + wl(),
3141
- x2: h(ie)(e.plots).x2 + wl(),
3142
- y1: h(j)(h(ie)(e.plots).y1),
3143
- y2: h(j)(h(ie)(e.plots).y2),
3146
+ x1: v(K)(e.plots).x1 + Ht(),
3147
+ x2: v(K)(e.plots).x2 + Ht(),
3148
+ y1: v(q)(v(K)(e.plots).y1),
3149
+ y2: v(q)(v(K)(e.plots).y2),
3150
+ "stroke-width": 2,
3151
+ stroke: t.value.chart.backgroundColor,
3152
+ "stroke-dasharray": 2,
3153
+ "stroke-linecap": "round",
3154
+ "stroke-linejoin": "round",
3155
+ "marker-end": `url(#bar_arrow_${i})`
3156
+ }, null, 8, ai)) : g("", !0),
3157
+ e.plots.length > 1 ? (n(), u("line", {
3158
+ key: 1,
3159
+ x1: v(K)(e.plots).x1 + Ht(),
3160
+ x2: v(K)(e.plots).x2 + Ht(),
3161
+ y1: v(q)(v(K)(e.plots).y1),
3162
+ y2: v(q)(v(K)(e.plots).y2),
3144
3163
  "stroke-width": 1,
3145
3164
  stroke: e.color,
3146
3165
  "stroke-dasharray": 2,
3166
+ "stroke-linecap": "round",
3167
+ "stroke-linejoin": "round",
3147
3168
  "marker-end": `url(#bar_arrow_${i})`
3148
- }, null, 8, ai)) : g("", !0),
3169
+ }, null, 8, oi)) : g("", !0),
3149
3170
  e.plots.length > 1 ? (n(), u("text", {
3150
- key: 1,
3171
+ key: 2,
3151
3172
  "text-anchor": "middle",
3152
- x: h(ie)(e.plots).x2 + wl(),
3153
- y: h(ie)(e.plots).y2 - 6,
3173
+ x: v(K)(e.plots).x2 + Ht(),
3174
+ y: Math.max(v(K)(e.plots).y2 - 12, c.value.top),
3154
3175
  "font-size": A.value.plotLabels,
3155
- fill: e.color
3156
- }, ce(h(lt)({
3157
- v: h(ie)(e.plots).trend * 100,
3176
+ fill: e.color,
3177
+ stroke: t.value.chart.backgroundColor,
3178
+ "stroke-width": 4,
3179
+ "stroke-linecap": "round",
3180
+ "stroke-linejoin": "round",
3181
+ "paint-order": "stroke fill"
3182
+ }, ce(v(lt)({
3183
+ v: v(K)(e.plots).trend * 100,
3158
3184
  s: "%",
3159
3185
  r: 2
3160
- })), 9, oi)) : g("", !0)
3186
+ })), 9, ni)) : g("", !0)
3161
3187
  ])) : g("", !0)
3162
3188
  ], 6))), 128)) : g("", !0),
3163
3189
  !p.value.useIndividualScale && t.value.chart.grid.labels.zeroLine.show ? (n(), u("line", {
3164
3190
  key: 2,
3165
3191
  stroke: t.value.chart.grid.stroke,
3166
3192
  "stroke-width": "1",
3167
- x1: c.value.left + ue.value,
3193
+ x1: c.value.left + ie.value,
3168
3194
  x2: c.value.right,
3169
- y1: h(j)(ze.value),
3170
- y2: h(j)(ze.value),
3195
+ y1: v(q)(ze.value),
3196
+ y2: v(q)(ze.value),
3171
3197
  "stroke-linecap": "round",
3172
3198
  style: { animation: "none !important" }
3173
- }, null, 8, ni)) : g("", !0),
3174
- t.value.chart.highlighter.useLine && (![null, void 0].includes(M.value) || ![null, void 0].includes(X.value)) ? (n(), u("g", ui, [
3199
+ }, null, 8, ui)) : g("", !0),
3200
+ t.value.chart.highlighter.useLine && (![null, void 0].includes(M.value) || ![null, void 0].includes(X.value)) ? (n(), u("g", ii, [
3175
3201
  k("line", {
3176
3202
  x1: c.value.left + c.value.width / $.value * ((M.value !== null ? M.value : 0) || (X.value !== null ? X.value : 0)) + c.value.width / $.value / 2,
3177
3203
  x2: c.value.left + c.value.width / $.value * ((M.value !== null ? M.value : 0) || (X.value !== null ? X.value : 0)) + c.value.width / $.value / 2,
3178
- y1: h(j)(c.value.top),
3179
- y2: h(j)(c.value.bottom),
3204
+ y1: v(q)(c.value.top),
3205
+ y2: v(q)(c.value.bottom),
3180
3206
  stroke: t.value.chart.highlighter.color,
3181
3207
  "stroke-width": t.value.chart.highlighter.lineWidth,
3182
3208
  "stroke-dasharray": t.value.chart.highlighter.lineDasharray,
3183
3209
  "stroke-linecap": "round",
3184
3210
  style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
3185
- }, null, 8, ii)
3211
+ }, null, 8, si)
3186
3212
  ])) : g("", !0),
3187
3213
  t.value.chart.grid.frame.show ? (n(), u("rect", {
3188
3214
  key: 4,
3189
3215
  style: { pointerEvents: "none", transition: "none", animation: "none !important" },
3190
- x: c.value.left + ue.value < 0 ? 0 : c.value.left + ue.value,
3216
+ x: c.value.left + ie.value < 0 ? 0 : c.value.left + ie.value,
3191
3217
  y: c.value.top,
3192
3218
  width: c.value.width - (t.value.chart.grid.position === "middle" ? 0 : c.value.width / $.value) < 0 ? 0 : c.value.width - (t.value.chart.grid.position === "middle" ? 0 : c.value.width / $.value),
3193
3219
  height: c.value.height < 0 ? 0 : c.value.height,
@@ -3197,7 +3223,7 @@ const _n = {
3197
3223
  "stroke-linecap": t.value.chart.grid.frame.strokeLinecap,
3198
3224
  "stroke-linejoin": t.value.chart.grid.frame.strokeLinejoin,
3199
3225
  "stroke-dasharray": t.value.chart.grid.frame.strokeDasharray
3200
- }, null, 8, si)) : g("", !0),
3226
+ }, null, 8, ri)) : g("", !0),
3201
3227
  t.value.chart.grid.labels.show ? (n(), u("g", {
3202
3228
  key: 5,
3203
3229
  ref_key: "scaleLabels",
@@ -3206,15 +3232,15 @@ const _n = {
3206
3232
  p.value.useIndividualScale ? (n(), u(b, { key: 0 }, [
3207
3233
  (n(!0), u(b, null, L(Xl.value, (e) => (n(), u("g", null, [
3208
3234
  k("line", {
3209
- x1: e.x + ue.value - c.value.individualOffsetX,
3210
- x2: e.x + ue.value - c.value.individualOffsetX,
3211
- y1: p.value.isStacked ? h(j)(c.value.bottom - e.yOffset - e.individualHeight) : h(j)(c.value.top),
3212
- y2: p.value.isStacked ? h(j)(c.value.bottom - e.yOffset) : h(j)(c.value.bottom),
3235
+ x1: e.x + ie.value - c.value.individualOffsetX,
3236
+ x2: e.x + ie.value - c.value.individualOffsetX,
3237
+ y1: p.value.isStacked ? v(q)(c.value.bottom - e.yOffset - e.individualHeight) : v(q)(c.value.top),
3238
+ y2: p.value.isStacked ? v(q)(c.value.bottom - e.yOffset) : v(q)(c.value.bottom),
3213
3239
  stroke: e.color,
3214
3240
  "stroke-width": t.value.chart.grid.stroke,
3215
3241
  "stroke-linecap": "round",
3216
3242
  style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out; animation: none !important`)
3217
- }, null, 12, ri)
3243
+ }, null, 12, ci)
3218
3244
  ]))), 256)),
3219
3245
  (n(!0), u(b, null, L(Xl.value, (e) => (n(), u("g", {
3220
3246
  style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
@@ -3223,71 +3249,71 @@ const _n = {
3223
3249
  fill: e.color,
3224
3250
  "font-size": A.value.dataLabels * 0.8,
3225
3251
  "text-anchor": "middle",
3226
- transform: `translate(${e.x - A.value.dataLabels * 0.8 / 2 + ue.value}, ${p.value.isStacked ? c.value.bottom - e.yOffset - e.individualHeight / 2 : c.value.top + c.value.height / 2}) rotate(-90)`
3252
+ transform: `translate(${e.x - A.value.dataLabels * 0.8 / 2 + ie.value}, ${p.value.isStacked ? c.value.bottom - e.yOffset - e.individualHeight / 2 : c.value.top + c.value.height / 2}) rotate(-90)`
3227
3253
  }, ce(e.name) + " " + ce(e.scaleLabel && e.unique && e.scaleLabel !== e.id ? `-
3228
- ${e.scaleLabel}` : ""), 9, ci),
3254
+ ${e.scaleLabel}` : ""), 9, vi),
3229
3255
  (n(!0), u(b, null, L(e.yLabels, (i, a) => (n(), u(b, null, [
3230
3256
  t.value.chart.grid.labels.yAxis.showCrosshairs ? (n(), u("line", {
3231
3257
  key: 0,
3232
- x1: e.x + 3 + ue.value - t.value.chart.grid.labels.yAxis.crosshairSize - c.value.individualOffsetX,
3233
- x2: e.x + ue.value - c.value.individualOffsetX,
3234
- y1: h(j)(i.y),
3235
- y2: h(j)(i.y),
3258
+ x1: e.x + 3 + ie.value - t.value.chart.grid.labels.yAxis.crosshairSize - c.value.individualOffsetX,
3259
+ x2: e.x + ie.value - c.value.individualOffsetX,
3260
+ y1: v(q)(i.y),
3261
+ y2: v(q)(i.y),
3236
3262
  stroke: e.color,
3237
3263
  "stroke-width": 1,
3238
3264
  "stroke-linecap": "round",
3239
3265
  style: { animation: "none !important" }
3240
- }, null, 8, vi)) : g("", !0)
3266
+ }, null, 8, di)) : g("", !0)
3241
3267
  ], 64))), 256)),
3242
3268
  (n(!0), u(b, null, L(e.yLabels, (i, a) => (n(), u("text", {
3243
- x: e.x - 5 + ue.value - c.value.individualOffsetX,
3244
- y: h(j)(i.y) + A.value.dataLabels / 3,
3269
+ x: e.x - 5 + ie.value - c.value.individualOffsetX,
3270
+ y: v(q)(i.y) + A.value.dataLabels / 3,
3245
3271
  "font-size": A.value.dataLabels,
3246
3272
  "text-anchor": "end",
3247
3273
  fill: e.color
3248
- }, ce(h(Ae)(
3274
+ }, ce(v(Ae)(
3249
3275
  t.value.chart.grid.labels.yAxis.formatter,
3250
3276
  i.value,
3251
- h(lt)({
3277
+ v(lt)({
3252
3278
  p: i.prefix,
3253
3279
  v: i.value,
3254
3280
  s: i.suffix,
3255
3281
  r: t.value.chart.grid.labels.yAxis.rounding
3256
3282
  }),
3257
3283
  { datapoint: i.datapoint, seriesIndex: a }
3258
- )), 9, di))), 256))
3284
+ )), 9, hi))), 256))
3259
3285
  ], 4))), 256))
3260
3286
  ], 64)) : (n(!0), u(b, { key: 1 }, L(Za.value, (e, i) => (n(), u("g", {
3261
3287
  key: `yLabel_${i}`
3262
3288
  }, [
3263
3289
  Ye(e) && e.value >= Xe.value.min && e.value <= Xe.value.max && t.value.chart.grid.labels.yAxis.showCrosshairs ? (n(), u("line", {
3264
3290
  key: 0,
3265
- x1: c.value.left + ue.value,
3266
- x2: c.value.left + ue.value - t.value.chart.grid.labels.yAxis.crosshairSize,
3267
- y1: h(j)(e.y),
3268
- y2: h(j)(e.y),
3291
+ x1: c.value.left + ie.value,
3292
+ x2: c.value.left + ie.value - t.value.chart.grid.labels.yAxis.crosshairSize,
3293
+ y1: v(q)(e.y),
3294
+ y2: v(q)(e.y),
3269
3295
  stroke: t.value.chart.grid.stroke,
3270
3296
  "stroke-width": "1",
3271
3297
  "stroke-linecap": "round",
3272
3298
  style: { animation: "none !important" }
3273
- }, null, 8, hi)) : g("", !0),
3299
+ }, null, 8, fi)) : g("", !0),
3274
3300
  e.value >= Xe.value.min && e.value <= Xe.value.max ? (n(), u("text", {
3275
3301
  key: 1,
3276
3302
  x: c.value.scaleLabelX - t.value.chart.grid.labels.yAxis.crosshairSize,
3277
- y: h(U)(e.y + A.value.dataLabels / 3),
3303
+ y: v(Z)(e.y + A.value.dataLabels / 3),
3278
3304
  "font-size": A.value.dataLabels,
3279
3305
  "text-anchor": "end",
3280
3306
  fill: t.value.chart.grid.labels.color
3281
- }, ce(Ye(e.value) ? h(Ae)(
3307
+ }, ce(Ye(e.value) ? v(Ae)(
3282
3308
  t.value.chart.grid.labels.yAxis.formatter,
3283
3309
  e.value,
3284
- h(lt)({
3310
+ v(lt)({
3285
3311
  p: e.prefix,
3286
3312
  v: e.value,
3287
3313
  s: e.suffix,
3288
3314
  r: t.value.chart.grid.labels.yAxis.rounding
3289
3315
  })
3290
- ) : ""), 9, fi)) : g("", !0)
3316
+ ) : ""), 9, mi)) : g("", !0)
3291
3317
  ]))), 128))
3292
3318
  ], 512)) : g("", !0),
3293
3319
  (n(!0), u(b, null, L(rt.value, (e, i) => (n(), u("g", {
@@ -3301,12 +3327,12 @@ const _n = {
3301
3327
  a && Ye(a.value) ? (n(), ct(ma, {
3302
3328
  key: 0,
3303
3329
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(e.shape) ? e.shape : "circle",
3304
- color: t.value.plot.useGradient ? `url(#plotGradient_${i}_${Z.value})` : t.value.plot.dot.useSerieColor ? e.color : t.value.plot.dot.fill,
3305
- plot: { x: h(U)(a.x), y: h(U)(a.y) },
3330
+ color: t.value.plot.useGradient ? `url(#plotGradient_${i}_${J.value})` : t.value.plot.dot.useSerieColor ? e.color : t.value.plot.dot.fill,
3331
+ plot: { x: v(Z)(a.x), y: v(Z)(a.y) },
3306
3332
  radius: M.value !== null && M.value === r || X.value !== null && X.value === r ? (De.value.plot || 6) * 1.5 : De.value.plot || 6,
3307
3333
  stroke: t.value.plot.dot.useSerieColor ? t.value.chart.backgroundColor : e.color,
3308
3334
  strokeWidth: t.value.plot.dot.strokeWidth,
3309
- transition: h(be) || !t.value.plot.showTransition || M.value !== null && M.value === r || X.value !== null && X.value === r ? void 0 : `all ${t.value.plot.transitionDurationMs}ms ease-in-out`
3335
+ transition: v(be) || !t.value.plot.showTransition || M.value !== null && M.value === r || X.value !== null && X.value === r ? void 0 : `all ${t.value.plot.transitionDurationMs}ms ease-in-out`
3310
3336
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth", "transition"])) : g("", !0),
3311
3337
  a.comment && t.value.chart.comments.show ? (n(), u("foreignObject", {
3312
3338
  key: 1,
@@ -3316,52 +3342,78 @@ const _n = {
3316
3342
  x: a.x - t.value.chart.comments.width / 2 + t.value.chart.comments.offsetX,
3317
3343
  y: a.y + t.value.chart.comments.offsetY + 6
3318
3344
  }, [
3319
- k("div", gi, [
3320
- te(l.$slots, "plot-comment", {
3345
+ k("div", xi, [
3346
+ le(l.$slots, "plot-comment", {
3321
3347
  plot: { ...a, color: e.color, seriesIndex: i, datapointIndex: r }
3322
3348
  }, void 0, !0)
3323
3349
  ])
3324
- ], 8, mi)) : g("", !0)
3350
+ ], 8, gi)) : g("", !0)
3325
3351
  ]))), 128)),
3326
- Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(h(ie)(e.plots).trend) ? (n(), u("g", xi, [
3352
+ Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(v(K)(e.plots).trend) ? (n(), u("g", bi, [
3327
3353
  k("defs", null, [
3328
3354
  k("marker", {
3329
3355
  id: `plot_arrow_${i}`,
3330
- markerWidth: 7,
3331
- markerHeight: 7,
3332
- refX: "0",
3356
+ markerWidth: "9",
3357
+ markerHeight: "9",
3358
+ viewBox: "-1 -1 9 9",
3359
+ markerUnits: "userSpaceOnUse",
3360
+ refX: "7",
3333
3361
  refY: 7 / 2,
3334
- orient: "auto"
3362
+ orient: "auto",
3363
+ overflow: "visible"
3335
3364
  }, [
3336
3365
  k("polygon", {
3337
- points: `0 0, 7 ${7 / 2}, 0 7`,
3338
- fill: e.color
3339
- }, null, 8, yi)
3340
- ], 8, bi)
3366
+ points: "0,0 7,3.5 0,7",
3367
+ fill: e.color,
3368
+ stroke: t.value.chart.backgroundColor,
3369
+ "stroke-width": "1",
3370
+ "stroke-linejoin": "round"
3371
+ }, null, 8, pi)
3372
+ ], 8, yi)
3341
3373
  ]),
3342
3374
  e.plots.length > 1 ? (n(), u("line", {
3343
3375
  key: 0,
3344
- x1: h(ie)(e.plots).x1,
3345
- x2: h(ie)(e.plots).x2,
3346
- y1: h(j)(h(ie)(e.plots).y1),
3347
- y2: h(j)(h(ie)(e.plots).y2),
3376
+ x1: v(K)(e.plots).x1,
3377
+ x2: v(K)(e.plots).x2,
3378
+ y1: v(q)(v(K)(e.plots).y1),
3379
+ y2: v(q)(v(K)(e.plots).y2),
3380
+ "stroke-width": 2,
3381
+ stroke: t.value.chart.backgroundColor,
3382
+ "stroke-dasharray": 2,
3383
+ "stroke-linecap": "round",
3384
+ "stroke-linejoin": "round",
3385
+ "marker-end": `url(#plot_arrow_${i})`
3386
+ }, null, 8, ki)) : g("", !0),
3387
+ e.plots.length > 1 ? (n(), u("line", {
3388
+ key: 1,
3389
+ x1: v(K)(e.plots).x1,
3390
+ x2: v(K)(e.plots).x2,
3391
+ y1: v(q)(v(K)(e.plots).y1),
3392
+ y2: v(q)(v(K)(e.plots).y2),
3348
3393
  "stroke-width": 1,
3349
3394
  stroke: e.color,
3350
3395
  "stroke-dasharray": 2,
3396
+ "stroke-linecap": "round",
3397
+ "stroke-linejoin": "round",
3351
3398
  "marker-end": `url(#plot_arrow_${i})`
3352
- }, null, 8, pi)) : g("", !0),
3399
+ }, null, 8, wi)) : g("", !0),
3353
3400
  e.plots.length > 1 ? (n(), u("text", {
3354
- key: 1,
3401
+ key: 2,
3355
3402
  "text-anchor": "middle",
3356
- x: h(ie)(e.plots).x2,
3357
- y: h(ie)(e.plots).y2 - 6,
3403
+ x: v(K)(e.plots).x2,
3404
+ y: v(K)(e.plots).y2 - 6,
3358
3405
  "font-size": A.value.plotLabels,
3359
- fill: e.color
3360
- }, ce(h(lt)({
3361
- v: h(ie)(e.plots).trend * 100,
3406
+ fill: e.color,
3407
+ stroke: t.value.chart.backgroundColor,
3408
+ "stroke-width": 4,
3409
+ "stroke-linecap": "round",
3410
+ "stroke-linejoin": "round",
3411
+ "paint-order": "stroke fill"
3412
+ }, ce(v(lt)({
3413
+ v: v(K)(e.plots).trend * 100,
3362
3414
  s: "%",
3363
3415
  r: 2
3364
- })), 9, ki)) : g("", !0)
3416
+ })), 9, Si)) : g("", !0)
3365
3417
  ])) : g("", !0)
3366
3418
  ], 6))), 128)),
3367
3419
  (n(!0), u(b, null, L(Re.value, (e, i) => (n(), u("g", {
@@ -3376,8 +3428,8 @@ const _n = {
3376
3428
  "stroke-width": t.value.line.strokeWidth + 1,
3377
3429
  "stroke-dasharray": e.dashed ? t.value.line.strokeWidth * 2 : 0,
3378
3430
  fill: "none",
3379
- style: C({ transition: h(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3380
- }, null, 12, wi)) : e.plots.length > 1 && e.straight ? (n(), u("path", {
3431
+ style: C({ transition: v(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3432
+ }, null, 12, $i)) : e.plots.length > 1 && e.straight ? (n(), u("path", {
3381
3433
  key: 1,
3382
3434
  d: `M${e.straight}`,
3383
3435
  stroke: t.value.chart.backgroundColor,
@@ -3386,15 +3438,15 @@ const _n = {
3386
3438
  fill: "none",
3387
3439
  "stroke-linecap": "round",
3388
3440
  "stroke-linejoin": "round",
3389
- style: C({ transition: h(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3390
- }, null, 12, Si)) : g("", !0)
3441
+ style: C({ transition: v(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3442
+ }, null, 12, _i)) : g("", !0)
3391
3443
  ], 6))), 128)),
3392
- l.$slots.pattern ? (n(), u("defs", $i, [
3393
- (n(!0), u(b, null, L(je.value, (e, i) => te(l.$slots, "pattern", Gt({
3444
+ l.$slots.pattern ? (n(), u("defs", Mi, [
3445
+ (n(!0), u(b, null, L(je.value, (e, i) => le(l.$slots, "pattern", Ut({
3394
3446
  key: `serie_pattern_slot_${e.id}`
3395
- }, { ref_for: !0 }, { ...e, seriesIndex: e.slotAbsoluteIndex, patternId: `pattern_${Z.value}_${i}` }), void 0, !0)), 128))
3447
+ }, { ref_for: !0 }, { ...e, seriesIndex: e.slotAbsoluteIndex, patternId: `pattern_${J.value}_${i}` }), void 0, !0)), 128))
3396
3448
  ])) : g("", !0),
3397
- Qa.value.length && !p.value.isStacked ? (n(), u("g", _i, [
3449
+ Qa.value.length && !p.value.isStacked ? (n(), u("g", Li, [
3398
3450
  (n(!0), u(b, null, L(Qa.value, (e) => (n(), u("path", {
3399
3451
  key: e.key,
3400
3452
  d: e.d,
@@ -3402,41 +3454,41 @@ const _n = {
3402
3454
  "fill-opacity": t.value.line.interLine.fillOpacity,
3403
3455
  stroke: "none",
3404
3456
  "pointer-events": "none",
3405
- style: C({ transition: h(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3406
- }, null, 12, Mi))), 128))
3457
+ style: C({ transition: v(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3458
+ }, null, 12, Ci))), 128))
3407
3459
  ])) : g("", !0),
3408
3460
  (n(!0), u(b, null, L(Re.value, (e, i) => (n(), u("g", {
3409
3461
  key: `serie_line_above_${e.id}`,
3410
3462
  class: Ze(`serie_line_${i}`),
3411
3463
  style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3412
3464
  }, [
3413
- e.useArea && e.plots.length > 1 ? (n(), u("g", Li, [
3465
+ e.useArea && e.plots.length > 1 ? (n(), u("g", Ai, [
3414
3466
  e.smooth ? (n(!0), u(b, { key: 0 }, L(e.curveAreas, (a, r) => (n(), u(b, { key: r }, [
3415
3467
  a ? (n(), u("path", {
3416
3468
  key: 0,
3417
3469
  d: a,
3418
- fill: t.value.line.area.useGradient ? `url(#areaGradient_${i}_${Z.value})` : h(vt)(e.color, t.value.line.area.opacity),
3419
- style: C({ transition: h(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3420
- }, null, 12, Ci)) : g("", !0),
3470
+ fill: t.value.line.area.useGradient ? `url(#areaGradient_${i}_${J.value})` : v(vt)(e.color, t.value.line.area.opacity),
3471
+ style: C({ transition: v(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3472
+ }, null, 12, Ti)) : g("", !0),
3421
3473
  l.$slots.pattern && a ? (n(), u("path", {
3422
3474
  key: 1,
3423
3475
  d: a,
3424
- fill: `url(#pattern_${Z.value}_${e.slotAbsoluteIndex})`,
3425
- style: C({ transition: h(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3426
- }, null, 12, Ai)) : g("", !0)
3476
+ fill: `url(#pattern_${J.value}_${e.slotAbsoluteIndex})`,
3477
+ style: C({ transition: v(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3478
+ }, null, 12, zi)) : g("", !0)
3427
3479
  ], 64))), 128)) : (n(!0), u(b, { key: 1 }, L(e.area.split(";"), (a, r) => (n(), u(b, { key: r }, [
3428
3480
  a ? (n(), u("path", {
3429
3481
  key: 0,
3430
3482
  d: `M${a}Z`,
3431
- fill: t.value.line.area.useGradient ? `url(#areaGradient_${i}_${Z.value})` : h(vt)(e.color, t.value.line.area.opacity),
3432
- style: C({ transition: h(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3433
- }, null, 12, Ti)) : g("", !0),
3483
+ fill: t.value.line.area.useGradient ? `url(#areaGradient_${i}_${J.value})` : v(vt)(e.color, t.value.line.area.opacity),
3484
+ style: C({ transition: v(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3485
+ }, null, 12, Ii)) : g("", !0),
3434
3486
  l.$slots.pattern && a ? (n(), u("path", {
3435
3487
  key: 1,
3436
3488
  d: `M${a}Z`,
3437
- fill: `url(#pattern_${Z.value}_${e.slotAbsoluteIndex})`,
3438
- style: C({ transition: h(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3439
- }, null, 12, zi)) : g("", !0)
3489
+ fill: `url(#pattern_${J.value}_${e.slotAbsoluteIndex})`,
3490
+ style: C({ transition: v(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3491
+ }, null, 12, Ni)) : g("", !0)
3440
3492
  ], 64))), 128))
3441
3493
  ])) : g("", !0),
3442
3494
  e.smooth && e.plots.length > 1 && e.curve ? (n(), u("path", {
@@ -3447,8 +3499,8 @@ const _n = {
3447
3499
  "stroke-dasharray": e.dashed ? t.value.line.strokeWidth * 2 : 0,
3448
3500
  fill: "none",
3449
3501
  "stroke-linecap": "round",
3450
- style: C({ transition: h(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3451
- }, null, 12, Ii)) : e.plots.length > 1 && e.straight ? (n(), u("path", {
3502
+ style: C({ transition: v(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3503
+ }, null, 12, Pi)) : e.plots.length > 1 && e.straight ? (n(), u("path", {
3452
3504
  key: 2,
3453
3505
  d: `M${e.straight}`,
3454
3506
  stroke: e.color,
@@ -3457,20 +3509,20 @@ const _n = {
3457
3509
  fill: "none",
3458
3510
  "stroke-linecap": "round",
3459
3511
  "stroke-linejoin": "round",
3460
- style: C({ transition: h(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3461
- }, null, 12, Ni)) : g("", !0),
3512
+ style: C({ transition: v(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
3513
+ }, null, 12, Fi)) : g("", !0),
3462
3514
  (n(!0), u(b, null, L(e.plots, (a, r) => (n(), u(b, {
3463
3515
  key: `circle_line_${i}_${r}`
3464
3516
  }, [
3465
- !qa.value.linePlot && a && Ye(a.value) || qa.value.linePlot && a && Ye(a.value) && (M.value !== null && M.value === r || X.value !== null && X.value === r) || Ja(e.plots, r) ? (n(), ct(ma, {
3517
+ !Ua.value.linePlot && a && Ye(a.value) || Ua.value.linePlot && a && Ye(a.value) && (M.value !== null && M.value === r || X.value !== null && X.value === r) || Ja(e.plots, r) ? (n(), ct(ma, {
3466
3518
  key: 0,
3467
3519
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(e.shape) ? e.shape : "circle",
3468
- color: t.value.line.useGradient ? `url(#lineGradient_${i}_${Z.value})` : t.value.line.dot.useSerieColor ? e.color : t.value.line.dot.fill,
3469
- plot: { x: h(U)(a.x), y: h(U)(a.y) },
3520
+ color: t.value.line.useGradient ? `url(#lineGradient_${i}_${J.value})` : t.value.line.dot.useSerieColor ? e.color : t.value.line.dot.fill,
3521
+ plot: { x: v(Z)(a.x), y: v(Z)(a.y) },
3470
3522
  radius: M.value !== null && M.value === r || X.value !== null && X.value === r ? (De.value.line || 6) * 1.5 : (Ja(e.plots, r), De.value.line || 6),
3471
3523
  stroke: t.value.line.dot.useSerieColor ? t.value.chart.backgroundColor : e.color,
3472
3524
  strokeWidth: t.value.line.dot.strokeWidth,
3473
- transition: h(be) || !t.value.line.showTransition || M.value !== null && M.value === r || X.value !== null && X.value === r ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out`
3525
+ transition: v(be) || !t.value.line.showTransition || M.value !== null && M.value === r || X.value !== null && X.value === r ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out`
3474
3526
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth", "transition"])) : g("", !0),
3475
3527
  a.comment && t.value.chart.comments.show ? (n(), u("foreignObject", {
3476
3528
  key: 1,
@@ -3480,55 +3532,81 @@ const _n = {
3480
3532
  x: a.x - t.value.chart.comments.width / 2 + t.value.chart.comments.offsetX,
3481
3533
  y: a.y + t.value.chart.comments.offsetY + 6
3482
3534
  }, [
3483
- k("div", Fi, [
3484
- te(l.$slots, "plot-comment", {
3535
+ k("div", Oi, [
3536
+ le(l.$slots, "plot-comment", {
3485
3537
  plot: { ...a, color: e.color, seriesIndex: i, datapointIndex: r }
3486
3538
  }, void 0, !0)
3487
3539
  ])
3488
- ], 8, Pi)) : g("", !0)
3540
+ ], 8, Ri)) : g("", !0)
3489
3541
  ], 64))), 128)),
3490
- Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(h(ie)(e.plots).trend) ? (n(), u("g", Ri, [
3542
+ Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(v(K)(e.plots).trend) ? (n(), u("g", Vi, [
3491
3543
  k("defs", null, [
3492
3544
  k("marker", {
3493
3545
  id: `line_arrow_${i}`,
3494
- markerWidth: 7,
3495
- markerHeight: 7,
3496
- refX: "0",
3546
+ markerWidth: "9",
3547
+ markerHeight: "9",
3548
+ viewBox: "-1 -1 9 9",
3549
+ markerUnits: "userSpaceOnUse",
3550
+ refX: "7",
3497
3551
  refY: 7 / 2,
3498
- orient: "auto"
3552
+ orient: "auto",
3553
+ overflow: "visible"
3499
3554
  }, [
3500
3555
  k("polygon", {
3501
- points: `0 0, 7 ${7 / 2}, 0 7`,
3502
- fill: e.color
3503
- }, null, 8, Vi)
3504
- ], 8, Oi)
3556
+ points: "0,0 7,3.5 0,7",
3557
+ fill: e.color,
3558
+ stroke: t.value.chart.backgroundColor,
3559
+ "stroke-width": "1",
3560
+ "stroke-linejoin": "round"
3561
+ }, null, 8, Ei)
3562
+ ], 8, Bi)
3505
3563
  ]),
3506
3564
  e.plots.length > 1 ? (n(), u("line", {
3507
3565
  key: 0,
3508
- x1: h(ie)(e.plots).x1,
3509
- x2: h(ie)(e.plots).x2,
3510
- y1: h(j)(h(ie)(e.plots).y1),
3511
- y2: h(j)(h(ie)(e.plots).y2),
3566
+ x1: v(K)(e.plots).x1,
3567
+ x2: v(K)(e.plots).x2,
3568
+ y1: v(q)(v(K)(e.plots).y1),
3569
+ y2: v(q)(v(K)(e.plots).y2),
3570
+ "stroke-width": 1,
3571
+ stroke: t.value.chart.backgroundColor,
3572
+ "stroke-dasharray": 2,
3573
+ "stroke-linecap": "round",
3574
+ "stroke-linejoin": "round",
3575
+ "marker-end": `url(#line_arrow_${i})`
3576
+ }, null, 8, Hi)) : g("", !0),
3577
+ e.plots.length > 1 ? (n(), u("line", {
3578
+ key: 1,
3579
+ x1: v(K)(e.plots).x1,
3580
+ x2: v(K)(e.plots).x2,
3581
+ y1: v(q)(v(K)(e.plots).y1),
3582
+ y2: v(q)(v(K)(e.plots).y2),
3512
3583
  "stroke-width": 1,
3513
3584
  stroke: e.color,
3514
3585
  "stroke-dasharray": 2,
3586
+ "stroke-linecap": "round",
3587
+ "stroke-linejoin": "round",
3515
3588
  "marker-end": `url(#line_arrow_${i})`
3516
- }, null, 8, Bi)) : g("", !0),
3589
+ }, null, 8, Di)) : g("", !0),
3517
3590
  e.plots.length > 1 ? (n(), u("text", {
3518
- key: 1,
3591
+ key: 2,
3519
3592
  "text-anchor": "middle",
3520
- x: h(ie)(e.plots).x2,
3521
- y: h(ie)(e.plots).y2 - 6,
3593
+ x: v(K)(e.plots).x2,
3594
+ y: v(K)(e.plots).y2 - 6,
3522
3595
  "font-size": A.value.plotLabels,
3523
- fill: e.color
3524
- }, ce(h(lt)({
3525
- v: h(ie)(e.plots).trend * 100,
3596
+ fill: e.color,
3597
+ stroke: t.value.chart.backgroundColor,
3598
+ "stroke-width": 4,
3599
+ "stroke-linecap": "round",
3600
+ "stroke-linejoin": "round",
3601
+ "paint-order": "stroke fill"
3602
+ }, ce(v(lt)({
3603
+ v: v(K)(e.plots).trend * 100,
3526
3604
  s: "%",
3527
3605
  r: 2
3528
- })), 9, Ei)) : g("", !0)
3606
+ })), 9, Wi)) : g("", !0)
3529
3607
  ])) : g("", !0)
3530
3608
  ], 6))), 128)),
3531
- (t.value.bar.labels.show || t.value.bar.serieName.show) && p.value.dataLabels.show ? (n(), u("g", Hi, [
3609
+ (t.value.bar.labels.show || t.value.bar.serieName.show) && p.value.dataLabels.show ? (n(), u("g", Xi, [
3532
3610
  (n(!0), u(b, null, L(It.value, (e, i) => (n(), u(b, {
3533
3611
  key: `xLabel_bar_${e.id}`
3534
3612
  }, [
@@ -3537,16 +3615,16 @@ const _n = {
3537
3615
  }, [
3538
3616
  a && (!Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || M.value !== null && M.value === r || X.value !== null && X.value === r) && t.value.bar.labels.show ? (n(), u("text", {
3539
3617
  key: 0,
3540
- x: p.value.useIndividualScale && p.value.isStacked ? a.x + he.value.line / 2 : na(a) + wl() / 2 - ia.value / 2,
3541
- y: h(U)(a.y) + (a.value >= 0 ? t.value.bar.labels.offsetY : -t.value.bar.labels.offsetY * 3),
3618
+ x: p.value.useIndividualScale && p.value.isStacked ? a.x + he.value.line / 2 : na(a) + Ht() / 2 - ia.value / 2,
3619
+ y: v(Z)(a.y) + (a.value >= 0 ? t.value.bar.labels.offsetY : -t.value.bar.labels.offsetY * 3),
3542
3620
  "text-anchor": "middle",
3543
3621
  "font-size": A.value.plotLabels,
3544
3622
  fill: t.value.bar.labels.color,
3545
3623
  style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3546
- }, ce(Ye(a.value) ? h(Ae)(
3624
+ }, ce(Ye(a.value) ? v(Ae)(
3547
3625
  t.value.bar.labels.formatter,
3548
3626
  a.value,
3549
- h(lt)({
3627
+ v(lt)({
3550
3628
  p: e.prefix || t.value.chart.labels.prefix,
3551
3629
  v: a.value,
3552
3630
  s: e.suffix || t.value.chart.labels.suffix,
@@ -3556,24 +3634,24 @@ const _n = {
3556
3634
  datapoint: a,
3557
3635
  serie: e
3558
3636
  }
3559
- ) : ""), 13, Di)) : g("", !0),
3637
+ ) : ""), 13, Yi)) : g("", !0),
3560
3638
  a && t.value.bar.serieName.show ? (n(), u("text", {
3561
3639
  key: 1,
3562
- x: p.value.useIndividualScale && p.value.isStacked ? a.x + he.value.line / 2 : a.x + wl() * 1.1,
3640
+ x: p.value.useIndividualScale && p.value.isStacked ? a.x + he.value.line / 2 : a.x + Ht() * 1.1,
3563
3641
  y: a.y + (a.value > 0 ? t.value.bar.serieName.offsetY : -t.value.bar.serieName.offsetY * 3),
3564
3642
  "text-anchor": "middle",
3565
3643
  "font-size": A.value.plotLabels,
3566
3644
  fill: t.value.bar.serieName.useSerieColor ? e.color : t.value.bar.serieName.color,
3567
3645
  "font-weight": t.value.bar.serieName.bold ? "bold" : "normal",
3568
3646
  style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3569
- }, ce(t.value.bar.serieName.useAbbreviation ? h(nn)({
3647
+ }, ce(t.value.bar.serieName.useAbbreviation ? v(nn)({
3570
3648
  source: e.name,
3571
3649
  length: t.value.bar.serieName.abbreviationSize
3572
- }) : e.name), 13, Wi)) : g("", !0)
3650
+ }) : e.name), 13, Gi)) : g("", !0)
3573
3651
  ], 64))), 128))
3574
3652
  ], 64))), 128))
3575
3653
  ])) : g("", !0),
3576
- t.value.plot.labels.show && p.value.dataLabels.show ? (n(), u("g", Xi, [
3654
+ t.value.plot.labels.show && p.value.dataLabels.show ? (n(), u("g", Ui, [
3577
3655
  (n(!0), u(b, null, L(rt.value, (e, i) => (n(), u(b, {
3578
3656
  key: `xLabel_plot_${e.id}`
3579
3657
  }, [
@@ -3588,10 +3666,10 @@ const _n = {
3588
3666
  "font-size": A.value.plotLabels,
3589
3667
  fill: t.value.plot.labels.color,
3590
3668
  style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3591
- }, ce(Ye(a.value) ? h(Ae)(
3669
+ }, ce(Ye(a.value) ? v(Ae)(
3592
3670
  t.value.plot.labels.formatter,
3593
3671
  a.value,
3594
- h(lt)({
3672
+ v(lt)({
3595
3673
  p: e.prefix || t.value.chart.labels.prefix,
3596
3674
  v: a.value,
3597
3675
  s: e.suffix || t.value.chart.labels.suffix,
@@ -3601,10 +3679,10 @@ const _n = {
3601
3679
  datapoint: a,
3602
3680
  serie: e
3603
3681
  }
3604
- ) : ""), 13, Yi)) : g("", !0)
3682
+ ) : ""), 13, qi)) : g("", !0)
3605
3683
  ], 64))), 128))
3606
3684
  ], 64))), 128))
3607
- ])) : (n(), u("g", Gi, [
3685
+ ])) : (n(), u("g", Zi, [
3608
3686
  (n(!0), u(b, null, L(rt.value, (e, i) => (n(), u(b, {
3609
3687
  key: `xLabel_plot_${e.id}`
3610
3688
  }, [
@@ -3612,7 +3690,7 @@ const _n = {
3612
3690
  key: `xLabel_plot_${i}_${r}`
3613
3691
  }, [
3614
3692
  t.value.plot.tag.followValue ? (n(), u(b, { key: 1 }, [
3615
- [X.value, M.value, ae.value].includes(r) && e.useTag ? (n(), u("line", {
3693
+ [X.value, M.value, oe.value].includes(r) && e.useTag ? (n(), u("line", {
3616
3694
  key: 0,
3617
3695
  class: "vue-ui-xy-tag-plot",
3618
3696
  x1: c.value.left,
@@ -3623,7 +3701,7 @@ const _n = {
3623
3701
  "stroke-linecap": "round",
3624
3702
  "stroke-dasharray": "2",
3625
3703
  stroke: e.color
3626
- }, null, 8, Ji)) : g("", !0)
3704
+ }, null, 8, es)) : g("", !0)
3627
3705
  ], 64)) : (n(), u(b, { key: 0 }, [
3628
3706
  a && r === 0 && e.useTag && e.useTag === "start" ? (n(), u("foreignObject", {
3629
3707
  key: 0,
@@ -3634,8 +3712,8 @@ const _n = {
3634
3712
  style: C(`overflow: visible; opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3635
3713
  }, [
3636
3714
  k("div", {
3637
- style: C(`padding: 3px; background:${h(vt)(e.color, 80)};color:${h(dt)(e.color)};width:fit-content;font-size:${A.value.plotLabels}px;border-radius: 2px;`),
3638
- innerHTML: h(Ae)(
3715
+ style: C(`padding: 3px; background:${v(vt)(e.color, 80)};color:${v(dt)(e.color)};width:fit-content;font-size:${A.value.plotLabels}px;border-radius: 2px;`),
3716
+ innerHTML: v(Ae)(
3639
3717
  t.value.plot.tag.formatter,
3640
3718
  a.value,
3641
3719
  e.name,
@@ -3645,8 +3723,8 @@ const _n = {
3645
3723
  serieName: e.name
3646
3724
  }
3647
3725
  )
3648
- }, null, 12, Ui)
3649
- ], 12, qi)) : g("", !0),
3726
+ }, null, 12, Ji)
3727
+ ], 12, Ki)) : g("", !0),
3650
3728
  a && r === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (n(), u("foreignObject", {
3651
3729
  key: 1,
3652
3730
  x: a.x - e.name.length * (A.value.plotLabels / 2),
@@ -3656,8 +3734,8 @@ const _n = {
3656
3734
  style: C(`overflow: visible; opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3657
3735
  }, [
3658
3736
  k("div", {
3659
- style: C(`padding: 3px; background:${h(vt)(e.color, 80)};color:${h(dt)(e.color)};width:fit-content;font-size:${A.value.plotLabels}px;border-radius: 2px;`),
3660
- innerHTML: h(Ae)(
3737
+ style: C(`padding: 3px; background:${v(vt)(e.color, 80)};color:${v(dt)(e.color)};width:fit-content;font-size:${A.value.plotLabels}px;border-radius: 2px;`),
3738
+ innerHTML: v(Ae)(
3661
3739
  t.value.plot.tag.formatter,
3662
3740
  a.value,
3663
3741
  e.name,
@@ -3667,13 +3745,13 @@ const _n = {
3667
3745
  serieName: e.name
3668
3746
  }
3669
3747
  )
3670
- }, null, 12, Ki)
3671
- ], 12, Zi)) : g("", !0)
3748
+ }, null, 12, ji)
3749
+ ], 12, Qi)) : g("", !0)
3672
3750
  ], 64))
3673
3751
  ], 64))), 128))
3674
3752
  ], 64))), 128))
3675
3753
  ])),
3676
- t.value.line.labels.show && p.value.dataLabels.show ? (n(), u("g", Qi, [
3754
+ t.value.line.labels.show && p.value.dataLabels.show ? (n(), u("g", ts, [
3677
3755
  (n(!0), u(b, null, L(Re.value, (e, i) => (n(), u(b, {
3678
3756
  key: `xLabel_line_${e.id}`
3679
3757
  }, [
@@ -3688,10 +3766,10 @@ const _n = {
3688
3766
  "font-size": A.value.plotLabels,
3689
3767
  fill: t.value.line.labels.color,
3690
3768
  style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3691
- }, ce(Ye(a.value) ? h(Ae)(
3769
+ }, ce(Ye(a.value) ? v(Ae)(
3692
3770
  t.value.line.labels.formatter,
3693
3771
  a.value,
3694
- h(lt)({
3772
+ v(lt)({
3695
3773
  p: e.prefix || t.value.chart.labels.prefix,
3696
3774
  v: a.value,
3697
3775
  s: e.suffix || t.value.chart.labels.suffix,
@@ -3701,10 +3779,10 @@ const _n = {
3701
3779
  datapoint: a,
3702
3780
  serie: e
3703
3781
  }
3704
- ) : ""), 13, ji)) : g("", !0)
3782
+ ) : ""), 13, ls)) : g("", !0)
3705
3783
  ], 64))), 128))
3706
3784
  ], 64))), 128))
3707
- ])) : (n(), u("g", es, [
3785
+ ])) : (n(), u("g", as, [
3708
3786
  (n(!0), u(b, null, L(Re.value, (e, i) => (n(), u(b, {
3709
3787
  key: `xLabel_line_${e.id}`
3710
3788
  }, [
@@ -3712,7 +3790,7 @@ const _n = {
3712
3790
  key: `xLabel_line_${i}_${r}`
3713
3791
  }, [
3714
3792
  t.value.line.tag.followValue ? (n(), u(b, { key: 1 }, [
3715
- [X.value, M.value, ae.value].includes(r) && e.useTag ? (n(), u("line", {
3793
+ [X.value, M.value, oe.value].includes(r) && e.useTag ? (n(), u("line", {
3716
3794
  key: 0,
3717
3795
  class: "vue-ui-xy-tag-line",
3718
3796
  x1: c.value.left,
@@ -3723,7 +3801,7 @@ const _n = {
3723
3801
  "stroke-linecap": "round",
3724
3802
  "stroke-dasharray": "2",
3725
3803
  stroke: e.color
3726
- }, null, 8, ns)) : g("", !0)
3804
+ }, null, 8, ss)) : g("", !0)
3727
3805
  ], 64)) : (n(), u(b, { key: 0 }, [
3728
3806
  a && r === 0 && e.useTag && e.useTag === "start" ? (n(), u("foreignObject", {
3729
3807
  key: 0,
@@ -3734,8 +3812,8 @@ const _n = {
3734
3812
  style: C(`overflow: visible; opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3735
3813
  }, [
3736
3814
  k("div", {
3737
- style: C(`padding: 3px; background:${h(vt)(e.color, 80)};color:${h(dt)(e.color)};width:fit-content;font-size:${A.value.plotLabels}px;border-radius: 2px;`),
3738
- innerHTML: h(Ae)(
3815
+ style: C(`padding: 3px; background:${v(vt)(e.color, 80)};color:${v(dt)(e.color)};width:fit-content;font-size:${A.value.plotLabels}px;border-radius: 2px;`),
3816
+ innerHTML: v(Ae)(
3739
3817
  t.value.line.tag.formatter,
3740
3818
  a.value,
3741
3819
  e.name,
@@ -3745,8 +3823,8 @@ const _n = {
3745
3823
  serieName: e.name
3746
3824
  }
3747
3825
  )
3748
- }, null, 12, ls)
3749
- ], 12, ts)) : g("", !0),
3826
+ }, null, 12, ns)
3827
+ ], 12, os)) : g("", !0),
3750
3828
  a && r === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (n(), u("foreignObject", {
3751
3829
  key: 1,
3752
3830
  x: a.x,
@@ -3756,8 +3834,8 @@ const _n = {
3756
3834
  style: C(`overflow: visible; opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3757
3835
  }, [
3758
3836
  k("div", {
3759
- style: C(`padding: 3px; background:${h(vt)(e.color, 80)};color:${h(dt)(e.color)};width:fit-content;font-size:${A.value.plotLabels}px;border-radius: 2px;`),
3760
- innerHTML: h(Ae)(
3837
+ style: C(`padding: 3px; background:${v(vt)(e.color, 80)};color:${v(dt)(e.color)};width:fit-content;font-size:${A.value.plotLabels}px;border-radius: 2px;`),
3838
+ innerHTML: v(Ae)(
3761
3839
  t.value.line.tag.formatter,
3762
3840
  a.value,
3763
3841
  e.name,
@@ -3767,8 +3845,8 @@ const _n = {
3767
3845
  serieName: e.name
3768
3846
  }
3769
3847
  )
3770
- }, null, 12, os)
3771
- ], 12, as)) : g("", !0)
3848
+ }, null, 12, is)
3849
+ ], 12, us)) : g("", !0)
3772
3850
  ], 64))
3773
3851
  ], 64))), 128))
3774
3852
  ], 64))), 128))
@@ -3786,7 +3864,7 @@ const _n = {
3786
3864
  "font-size": A.value.plotLabels,
3787
3865
  "text-anchor": "end",
3788
3866
  fill: e.color,
3789
- innerHTML: h(fa)({
3867
+ innerHTML: v(fa)({
3790
3868
  content: e.name,
3791
3869
  fontSize: A.value.plotLabels,
3792
3870
  fill: e.color,
@@ -3795,7 +3873,7 @@ const _n = {
3795
3873
  maxWords: 2
3796
3874
  }),
3797
3875
  style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3798
- }, null, 12, us)) : g("", !0),
3876
+ }, null, 12, rs)) : g("", !0),
3799
3877
  a && r === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (n(), u("text", {
3800
3878
  key: 1,
3801
3879
  x: a.x + A.value.plotLabels,
@@ -3803,7 +3881,7 @@ const _n = {
3803
3881
  "font-size": A.value.plotLabels,
3804
3882
  "text-anchor": "start",
3805
3883
  fill: e.color,
3806
- innerHTML: h(fa)({
3884
+ innerHTML: v(fa)({
3807
3885
  content: e.name,
3808
3886
  fontSize: A.value.plotLabels,
3809
3887
  fill: e.color,
@@ -3812,7 +3890,7 @@ const _n = {
3812
3890
  maxWords: 2
3813
3891
  }),
3814
3892
  style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3815
- }, null, 12, is)) : g("", !0)
3893
+ }, null, 12, cs)) : g("", !0)
3816
3894
  ], 64))), 128))
3817
3895
  ], 64))), 128)),
3818
3896
  (n(!0), u(b, null, L(rt.value, (e, i) => (n(), u(b, {
@@ -3828,7 +3906,7 @@ const _n = {
3828
3906
  "font-size": A.value.plotLabels,
3829
3907
  "text-anchor": "end",
3830
3908
  fill: e.color,
3831
- innerHTML: h(fa)({
3909
+ innerHTML: v(fa)({
3832
3910
  content: e.name,
3833
3911
  fontSize: A.value.plotLabels,
3834
3912
  fill: e.color,
@@ -3837,7 +3915,7 @@ const _n = {
3837
3915
  maxWords: 2
3838
3916
  }),
3839
3917
  style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3840
- }, null, 12, ss)) : g("", !0),
3918
+ }, null, 12, vs)) : g("", !0),
3841
3919
  a && r === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (n(), u("text", {
3842
3920
  key: 1,
3843
3921
  x: a.x + A.value.plotLabels,
@@ -3845,7 +3923,7 @@ const _n = {
3845
3923
  "font-size": A.value.plotLabels,
3846
3924
  "text-anchor": "start",
3847
3925
  fill: e.color,
3848
- innerHTML: h(fa)({
3926
+ innerHTML: v(fa)({
3849
3927
  content: e.name,
3850
3928
  fontSize: A.value.plotLabels,
3851
3929
  fill: e.color,
@@ -3854,13 +3932,13 @@ const _n = {
3854
3932
  maxWords: 2
3855
3933
  }),
3856
3934
  style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3857
- }, null, 12, rs)) : g("", !0)
3935
+ }, null, 12, ds)) : g("", !0)
3858
3936
  ], 64))), 128))
3859
3937
  ], 64))), 128)),
3860
3938
  p.value.useIndividualScale && !p.value.isStacked ? (n(), u(b, { key: 13 }, [
3861
3939
  k("defs", null, [
3862
3940
  (n(!0), u(b, null, L(Xl.value, (e, i) => (n(), u("linearGradient", {
3863
- id: `individual_scale_gradient_${Z.value}_${i}`,
3941
+ id: `individual_scale_gradient_${J.value}_${i}`,
3864
3942
  x1: "0%",
3865
3943
  x2: "100%",
3866
3944
  y1: "0%",
@@ -3870,52 +3948,52 @@ const _n = {
3870
3948
  offset: "0%",
3871
3949
  "stop-color": t.value.chart.backgroundColor,
3872
3950
  "stop-opacity": "0"
3873
- }, null, 8, vs),
3951
+ }, null, 8, fs),
3874
3952
  k("stop", {
3875
3953
  offset: "100%",
3876
3954
  "stop-color": e.color,
3877
3955
  "stop-opacity": "0.2"
3878
- }, null, 8, ds)
3879
- ], 8, cs))), 256))
3956
+ }, null, 8, ms)
3957
+ ], 8, hs))), 256))
3880
3958
  ]),
3881
3959
  (n(!0), u(b, null, L(Xl.value, (e, i) => (n(), u("rect", {
3882
- x: e.x - t.value.chart.grid.labels.yAxis.labelWidth + ue.value - c.value.individualOffsetX,
3960
+ x: e.x - t.value.chart.grid.labels.yAxis.labelWidth + ie.value - c.value.individualOffsetX,
3883
3961
  y: c.value.top,
3884
3962
  width: t.value.chart.grid.labels.yAxis.labelWidth + c.value.individualOffsetX,
3885
3963
  height: c.value.height < 0 ? 10 : c.value.height,
3886
- fill: E.value === e.groupId ? `url(#individual_scale_gradient_${Z.value}_${i})` : "transparent",
3964
+ fill: E.value === e.groupId ? `url(#individual_scale_gradient_${J.value}_${i})` : "transparent",
3887
3965
  onMouseenter: (a) => E.value = e.groupId,
3888
3966
  onMouseleave: s[0] || (s[0] = (a) => E.value = null)
3889
- }, null, 40, hs))), 256))
3967
+ }, null, 40, gs))), 256))
3890
3968
  ], 64)) : g("", !0),
3891
3969
  k("g", null, [
3892
3970
  t.value.chart.grid.labels.axis.yLabel && !p.value.useIndividualScale ? (n(), u("text", {
3893
3971
  key: 0,
3894
3972
  ref_key: "yAxisLabel",
3895
- ref: Kt,
3973
+ ref: Jt,
3896
3974
  "font-size": A.value.yAxis,
3897
3975
  fill: t.value.chart.grid.labels.color,
3898
3976
  transform: `translate(${t.value.chart.grid.labels.axis.fontSize}, ${c.value.top + c.value.height / 2}) rotate(-90)`,
3899
3977
  "text-anchor": "middle",
3900
3978
  style: { transition: "none" }
3901
- }, ce(t.value.chart.grid.labels.axis.yLabel), 9, fs)) : g("", !0),
3979
+ }, ce(t.value.chart.grid.labels.axis.yLabel), 9, xs)) : g("", !0),
3902
3980
  t.value.chart.grid.labels.axis.xLabel ? (n(), u("text", {
3903
3981
  key: 1,
3904
3982
  ref_key: "xAxisLabel",
3905
- ref: Zt,
3983
+ ref: Kt,
3906
3984
  "text-anchor": "middle",
3907
- x: le.value / 2,
3985
+ x: ae.value / 2,
3908
3986
  y: W.value - 3,
3909
3987
  "font-size": A.value.yAxis,
3910
3988
  fill: t.value.chart.grid.labels.color
3911
- }, ce(t.value.chart.grid.labels.axis.xLabel), 9, ms)) : g("", !0)
3989
+ }, ce(t.value.chart.grid.labels.axis.xLabel), 9, bs)) : g("", !0)
3912
3990
  ]),
3913
3991
  t.value.chart.grid.labels.xAxisLabels.show ? (n(), u("g", {
3914
3992
  key: 14,
3915
3993
  ref_key: "timeLabelsEls",
3916
3994
  ref: $e
3917
3995
  }, [
3918
- l.$slots["time-label"] ? (n(!0), u(b, { key: 0 }, L(D.value, (e, i) => te(l.$slots, "time-label", Gt({
3996
+ l.$slots["time-label"] ? (n(!0), u(b, { key: 0 }, L(D.value, (e, i) => le(l.$slots, "time-label", Ut({
3919
3997
  key: `time_label_${e.id}`,
3920
3998
  ref_for: !0
3921
3999
  }, {
@@ -3941,9 +4019,9 @@ const _n = {
3941
4019
  fill: t.value.chart.grid.labels.xAxisLabels.color,
3942
4020
  transform: `translate(${c.value.left + c.value.width / $.value * i + c.value.width / $.value / 2}, ${c.value.bottom + A.value.xAxis * 1.5}), rotate(${t.value.chart.grid.labels.xAxisLabels.rotation})`,
3943
4021
  style: C({
3944
- cursor: pl() ? "pointer" : "default"
4022
+ cursor: kl() ? "pointer" : "default"
3945
4023
  }),
3946
- innerHTML: h(un)({
4024
+ innerHTML: v(un)({
3947
4025
  content: String(e.text),
3948
4026
  fontSize: A.value.xAxis,
3949
4027
  fill: t.value.chart.grid.labels.xAxisLabels.color,
@@ -3951,7 +4029,7 @@ const _n = {
3951
4029
  y: 0
3952
4030
  }),
3953
4031
  onClick: () => we(e, i)
3954
- }, null, 12, xs)) : (n(), u("text", {
4032
+ }, null, 12, ps)) : (n(), u("text", {
3955
4033
  key: 0,
3956
4034
  class: "vue-data-ui-time-label",
3957
4035
  "text-anchor": t.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : t.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
@@ -3959,14 +4037,14 @@ const _n = {
3959
4037
  fill: t.value.chart.grid.labels.xAxisLabels.color,
3960
4038
  transform: `translate(${c.value.left + c.value.width / $.value * i + c.value.width / $.value / 2}, ${c.value.bottom + A.value.xAxis * 1.5}), rotate(${t.value.chart.grid.labels.xAxisLabels.rotation})`,
3961
4039
  style: C({
3962
- cursor: pl() ? "pointer" : "default"
4040
+ cursor: kl() ? "pointer" : "default"
3963
4041
  }),
3964
4042
  onClick: () => we(e, i)
3965
- }, ce(e.text || ""), 13, gs))
4043
+ }, ce(e.text || ""), 13, ys))
3966
4044
  ], 64)) : g("", !0)
3967
4045
  ]))), 128))
3968
4046
  ], 512)) : g("", !0),
3969
- Ka.value.length && !p.value.isStacked ? (n(), u("g", bs, [
4047
+ Ka.value.length && !p.value.isStacked ? (n(), u("g", ks, [
3970
4048
  (n(!0), u(b, null, L(Ka.value, (e) => (n(), u("g", {
3971
4049
  key: e.uid
3972
4050
  }, [
@@ -3981,7 +4059,7 @@ const _n = {
3981
4059
  "stroke-dasharray": e.config.line.strokeDasharray,
3982
4060
  "stroke-linecap": "round",
3983
4061
  style: { animation: "none !important" }
3984
- }, null, 8, ys)) : g("", !0),
4062
+ }, null, 8, ws)) : g("", !0),
3985
4063
  e.yBottom && e.show && isFinite(e.yBottom) ? (n(), u("line", {
3986
4064
  key: 1,
3987
4065
  x1: e.x1,
@@ -3993,17 +4071,17 @@ const _n = {
3993
4071
  "stroke-dasharray": e.config.line.strokeDasharray,
3994
4072
  "stroke-linecap": "round",
3995
4073
  style: { animation: "none !important" }
3996
- }, null, 8, ps)) : g("", !0),
4074
+ }, null, 8, Ss)) : g("", !0),
3997
4075
  e.hasArea && e.show && isFinite(e.yTop) && isFinite(e.yBottom) ? (n(), u("rect", {
3998
4076
  key: 2,
3999
4077
  y: Math.min(e.yTop, e.yBottom),
4000
4078
  x: e.x1,
4001
4079
  width: c.value.width,
4002
- height: h(U)(e.areaHeight, 0),
4003
- fill: h(vt)(e.config.area.fill, e.config.area.opacity),
4080
+ height: v(Z)(e.areaHeight, 0),
4081
+ fill: v(vt)(e.config.area.fill, e.config.area.opacity),
4004
4082
  style: { animation: "none !important" }
4005
- }, null, 8, ks)) : g("", !0),
4006
- e.config.label.text && e.show && isFinite(e._box.y) ? (n(), u("rect", Gt({
4083
+ }, null, 8, $s)) : g("", !0),
4084
+ e.config.label.text && e.show && isFinite(e._box.y) ? (n(), u("rect", Ut({
4007
4085
  key: 3,
4008
4086
  class: "vue-ui-xy-annotation-label-box"
4009
4087
  }, { ref_for: !0 }, e._box, { style: { animation: "none !important", transition: "none !important" } }), null, 16)) : g("", !0),
@@ -4016,10 +4094,10 @@ const _n = {
4016
4094
  "font-size": e.config.label.fontSize,
4017
4095
  fill: e.config.label.color,
4018
4096
  "text-anchor": e.config.label.textAnchor
4019
- }, ce(e.config.label.text), 9, ws)) : g("", !0)
4097
+ }, ce(e.config.label.text), 9, _s)) : g("", !0)
4020
4098
  ]))), 128))
4021
4099
  ])) : g("", !0),
4022
- t.value.chart.timeTag.show && (![null, void 0].includes(M.value) || ![null, void 0].includes(X.value)) ? (n(), u("g", Ss, [
4100
+ t.value.chart.timeTag.show && (![null, void 0].includes(M.value) || ![null, void 0].includes(X.value)) ? (n(), u("g", Ms, [
4023
4101
  (n(), u("foreignObject", {
4024
4102
  x: Do(),
4025
4103
  y: c.value.bottom,
@@ -4033,25 +4111,25 @@ const _n = {
4033
4111
  class: "vue-ui-xy-time-tag",
4034
4112
  style: C(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${t.value.chart.timeTag.backgroundColor};color:${t.value.chart.timeTag.color};font-size:${t.value.chart.timeTag.fontSize}px`),
4035
4113
  innerHTML: Wo.value
4036
- }, null, 12, _s)
4037
- ], 8, $s)),
4114
+ }, null, 12, Cs)
4115
+ ], 8, Ls)),
4038
4116
  k("circle", {
4039
4117
  cx: c.value.left + c.value.width / $.value * ((M.value !== null ? M.value : 0) || (X.value !== null ? X.value : 0)) + c.value.width / $.value / 2,
4040
4118
  cy: c.value.bottom,
4041
4119
  r: t.value.chart.timeTag.circleMarker.radius,
4042
4120
  fill: t.value.chart.timeTag.circleMarker.color
4043
- }, null, 8, Ms)
4121
+ }, null, 8, As)
4044
4122
  ])) : g("", !0)
4045
4123
  ])) : g("", !0),
4046
- ea.value ? (n(), u("rect", Gt({ key: 2 }, Ma.value, {
4124
+ ea.value ? (n(), u("rect", Ut({ key: 2 }, Ma.value, {
4047
4125
  "data-start": w.value.start,
4048
4126
  "data-end": w.value.end
4049
- }), null, 16, Ls)) : g("", !0),
4050
- te(l.$slots, "svg", { svg: xt.value }, void 0, !0)
4127
+ }), null, 16, Ts)) : g("", !0),
4128
+ le(l.$slots, "svg", { svg: xt.value }, void 0, !0)
4051
4129
  ], 512)
4052
4130
  ], 46, gu)),
4053
- l.$slots.watermark ? (n(), u("div", Cs, [
4054
- te(l.$slots, "watermark", Yt(dl({ isPrinting: h(Bl) || h(nt) })), void 0, !0)
4131
+ l.$slots.watermark ? (n(), u("div", zs, [
4132
+ le(l.$slots, "watermark", Gt(hl({ isPrinting: v(Bl) || v(nt) })), void 0, !0)
4055
4133
  ])) : g("", !0),
4056
4134
  (n(!0), u(b, null, L(Re.value, (e, i) => (n(), u(b, {
4057
4135
  key: `tag_line_${e.id}`
@@ -4059,7 +4137,7 @@ const _n = {
4059
4137
  (n(!0), u(b, null, L(e.plots, (a, r) => (n(), u(b, {
4060
4138
  key: `tag_line_${i}_${r}`
4061
4139
  }, [
4062
- [X.value, M.value, ae.value].includes(r) && e.useTag && e.useTag === "end" && t.value.line.tag.followValue ? (n(), u("div", {
4140
+ [X.value, M.value, oe.value].includes(r) && e.useTag && e.useTag === "end" && t.value.line.tag.followValue ? (n(), u("div", {
4063
4141
  key: 0,
4064
4142
  ref_for: !0,
4065
4143
  ref: (o) => kt(i, r, o, "right", "line"),
@@ -4067,14 +4145,14 @@ const _n = {
4067
4145
  "data-tag": "right",
4068
4146
  style: C({
4069
4147
  position: "fixed",
4070
- top: h(Xt)({
4148
+ top: v(Yt)({
4071
4149
  svgElement: _e.value,
4072
4150
  x: c.value.right + t.value.line.tag.fontSize / 1.5,
4073
4151
  y: a.y,
4074
4152
  element: ot.value[`${i}_${r}_right_line`],
4075
4153
  position: "right"
4076
4154
  }).top + "px",
4077
- left: h(Xt)({
4155
+ left: v(Yt)({
4078
4156
  svgElement: _e.value,
4079
4157
  x: c.value.right + t.value.line.tag.fontSize / 1.5,
4080
4158
  y: a.y,
@@ -4084,22 +4162,22 @@ const _n = {
4084
4162
  height: "fit-content",
4085
4163
  width: "fit-content",
4086
4164
  background: e.color,
4087
- color: h(dt)(e.color),
4165
+ color: v(dt)(e.color),
4088
4166
  padding: "0 6px",
4089
4167
  fontSize: t.value.line.tag.fontSize + "px",
4090
4168
  opacity: 1
4091
4169
  })
4092
4170
  }, [
4093
- (n(), u("svg", As, [
4171
+ (n(), u("svg", Is, [
4094
4172
  k("path", {
4095
4173
  d: "M 0,10 10,0 10,20 Z",
4096
4174
  fill: e.color,
4097
4175
  stroke: "none"
4098
- }, null, 8, Ts)
4176
+ }, null, 8, Ns)
4099
4177
  ])),
4100
4178
  k("div", {
4101
4179
  class: "vue-ui-xy-tag-content",
4102
- innerHTML: h(Ae)(
4180
+ innerHTML: v(Ae)(
4103
4181
  t.value.line.tag.formatter,
4104
4182
  a.value,
4105
4183
  e.name,
@@ -4109,9 +4187,9 @@ const _n = {
4109
4187
  serieName: e.name
4110
4188
  }
4111
4189
  )
4112
- }, null, 8, zs)
4190
+ }, null, 8, Ps)
4113
4191
  ], 4)) : g("", !0),
4114
- [X.value, M.value, ae.value].includes(r) && e.useTag && e.useTag === "start" && t.value.line.tag.followValue ? (n(), u("div", {
4192
+ [X.value, M.value, oe.value].includes(r) && e.useTag && e.useTag === "start" && t.value.line.tag.followValue ? (n(), u("div", {
4115
4193
  key: 1,
4116
4194
  ref_for: !0,
4117
4195
  ref: (o) => kt(i, r, o, "left", "line"),
@@ -4119,14 +4197,14 @@ const _n = {
4119
4197
  "data-tag": "left",
4120
4198
  style: C({
4121
4199
  position: "fixed",
4122
- top: h(Xt)({
4200
+ top: v(Yt)({
4123
4201
  svgElement: _e.value,
4124
4202
  x: c.value.left - t.value.line.tag.fontSize / 1.5,
4125
4203
  y: a.y,
4126
4204
  element: ot.value[`${i}_${r}_left_line`],
4127
4205
  position: "left"
4128
4206
  }).top + "px",
4129
- left: h(Xt)({
4207
+ left: v(Yt)({
4130
4208
  svgElement: _e.value,
4131
4209
  x: c.value.left - t.value.line.tag.fontSize / 1.5,
4132
4210
  y: a.y,
@@ -4136,22 +4214,22 @@ const _n = {
4136
4214
  height: "fit-content",
4137
4215
  width: "fit-content",
4138
4216
  background: e.color,
4139
- color: h(dt)(e.color),
4217
+ color: v(dt)(e.color),
4140
4218
  padding: "0 6px",
4141
4219
  fontSize: t.value.line.tag.fontSize + "px",
4142
4220
  opacity: 1
4143
4221
  })
4144
4222
  }, [
4145
- (n(), u("svg", Is, [
4223
+ (n(), u("svg", Fs, [
4146
4224
  k("path", {
4147
4225
  d: "M 0,0 10,10 0,20 Z",
4148
4226
  fill: e.color,
4149
4227
  stroke: "none"
4150
- }, null, 8, Ns)
4228
+ }, null, 8, Rs)
4151
4229
  ])),
4152
4230
  k("div", {
4153
4231
  class: "vue-ui-xy-tag-content",
4154
- innerHTML: h(Ae)(
4232
+ innerHTML: v(Ae)(
4155
4233
  t.value.line.tag.formatter,
4156
4234
  a.value,
4157
4235
  e.name,
@@ -4161,7 +4239,7 @@ const _n = {
4161
4239
  serieName: e.name
4162
4240
  }
4163
4241
  )
4164
- }, null, 8, Ps)
4242
+ }, null, 8, Os)
4165
4243
  ], 4)) : g("", !0)
4166
4244
  ], 64))), 128))
4167
4245
  ], 64))), 128)),
@@ -4171,7 +4249,7 @@ const _n = {
4171
4249
  (n(!0), u(b, null, L(e.plots, (a, r) => (n(), u(b, {
4172
4250
  key: `tag_plot_${i}_${r}`
4173
4251
  }, [
4174
- [X.value, M.value, ae.value].includes(r) && e.useTag && e.useTag === "end" && t.value.plot.tag.followValue ? (n(), u("div", {
4252
+ [X.value, M.value, oe.value].includes(r) && e.useTag && e.useTag === "end" && t.value.plot.tag.followValue ? (n(), u("div", {
4175
4253
  key: 0,
4176
4254
  ref_for: !0,
4177
4255
  ref: (o) => kt(i, r, o, "right", "plot"),
@@ -4179,14 +4257,14 @@ const _n = {
4179
4257
  "data-tag": "right",
4180
4258
  style: C({
4181
4259
  position: "fixed",
4182
- top: h(Xt)({
4260
+ top: v(Yt)({
4183
4261
  svgElement: _e.value,
4184
4262
  x: c.value.right + t.value.plot.tag.fontSize / 1.5,
4185
4263
  y: a.y,
4186
4264
  element: ot.value[`${i}_${r}_right_plot`],
4187
4265
  position: "right"
4188
4266
  }).top + "px",
4189
- left: h(Xt)({
4267
+ left: v(Yt)({
4190
4268
  svgElement: _e.value,
4191
4269
  x: c.value.right + t.value.plot.tag.fontSize / 1.5,
4192
4270
  y: a.y,
@@ -4196,22 +4274,22 @@ const _n = {
4196
4274
  height: "fit-content",
4197
4275
  width: "fit-content",
4198
4276
  background: e.color,
4199
- color: h(dt)(e.color),
4277
+ color: v(dt)(e.color),
4200
4278
  padding: "0 6px",
4201
4279
  fontSize: t.value.plot.tag.fontSize + "px",
4202
4280
  opacity: 1
4203
4281
  })
4204
4282
  }, [
4205
- (n(), u("svg", Fs, [
4283
+ (n(), u("svg", Vs, [
4206
4284
  k("path", {
4207
4285
  d: "M 0,10 10,0 10,20 Z",
4208
4286
  fill: e.color,
4209
4287
  stroke: "none"
4210
- }, null, 8, Rs)
4288
+ }, null, 8, Bs)
4211
4289
  ])),
4212
4290
  k("div", {
4213
4291
  class: "vue-ui-xy-tag-content",
4214
- innerHTML: h(Ae)(
4292
+ innerHTML: v(Ae)(
4215
4293
  t.value.plot.tag.formatter,
4216
4294
  a.value,
4217
4295
  e.name,
@@ -4221,9 +4299,9 @@ const _n = {
4221
4299
  serieName: e.name
4222
4300
  }
4223
4301
  )
4224
- }, null, 8, Os)
4302
+ }, null, 8, Es)
4225
4303
  ], 4)) : g("", !0),
4226
- [X.value, M.value, ae.value].includes(r) && e.useTag && e.useTag === "start" && t.value.plot.tag.followValue ? (n(), u("div", {
4304
+ [X.value, M.value, oe.value].includes(r) && e.useTag && e.useTag === "start" && t.value.plot.tag.followValue ? (n(), u("div", {
4227
4305
  key: 1,
4228
4306
  ref_for: !0,
4229
4307
  ref: (o) => kt(i, r, o, "left", "plot"),
@@ -4231,14 +4309,14 @@ const _n = {
4231
4309
  "data-tag": "left",
4232
4310
  style: C({
4233
4311
  position: "fixed",
4234
- top: h(Xt)({
4312
+ top: v(Yt)({
4235
4313
  svgElement: _e.value,
4236
4314
  x: c.value.left - t.value.plot.tag.fontSize / 1.5,
4237
4315
  y: a.y,
4238
4316
  element: ot.value[`${i}_${r}_left_plot`],
4239
4317
  position: "left"
4240
4318
  }).top + "px",
4241
- left: h(Xt)({
4319
+ left: v(Yt)({
4242
4320
  svgElement: _e.value,
4243
4321
  x: c.value.left - t.value.plot.tag.fontSize / 1.5,
4244
4322
  y: a.y,
@@ -4248,22 +4326,22 @@ const _n = {
4248
4326
  height: "fit-content",
4249
4327
  width: "fit-content",
4250
4328
  background: e.color,
4251
- color: h(dt)(e.color),
4329
+ color: v(dt)(e.color),
4252
4330
  padding: "0 6px",
4253
4331
  fontSize: t.value.plot.tag.fontSize + "px",
4254
4332
  opacity: 1
4255
4333
  })
4256
4334
  }, [
4257
- (n(), u("svg", Vs, [
4335
+ (n(), u("svg", Hs, [
4258
4336
  k("path", {
4259
4337
  d: "M 0,0 10,10 0,20 Z",
4260
4338
  fill: e.color,
4261
4339
  stroke: "none"
4262
- }, null, 8, Bs)
4340
+ }, null, 8, Ds)
4263
4341
  ])),
4264
4342
  k("div", {
4265
4343
  class: "vue-ui-xy-tag-content",
4266
- innerHTML: h(Ae)(
4344
+ innerHTML: v(Ae)(
4267
4345
  t.value.plot.tag.formatter,
4268
4346
  a.value,
4269
4347
  e.name,
@@ -4273,7 +4351,7 @@ const _n = {
4273
4351
  serieName: e.name
4274
4352
  }
4275
4353
  )
4276
- }, null, 8, Es)
4354
+ }, null, 8, Ws)
4277
4355
  ], 4)) : g("", !0)
4278
4356
  ], 64))), 128))
4279
4357
  ], 64))), 128)),
@@ -4295,8 +4373,8 @@ const _n = {
4295
4373
  background: t.value.chart.zoom.color,
4296
4374
  fontSize: t.value.chart.zoom.fontSize,
4297
4375
  useResetSlot: t.value.chart.zoom.useResetSlot,
4298
- labelLeft: v.value[0] ? v.value[0].text : "",
4299
- labelRight: v.value.at(-1) ? v.value.at(-1).text : "",
4376
+ labelLeft: d.value[0] ? d.value[0].text : "",
4377
+ labelRight: d.value.at(-1) ? d.value.at(-1).text : "",
4300
4378
  textColor: t.value.chart.color,
4301
4379
  usePreciseLabels: t.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !t.value.chart.zoom.useDefaultFormat,
4302
4380
  preciseLabels: Aa.value,
@@ -4324,23 +4402,23 @@ const _n = {
4324
4402
  focusOnDrag: t.value.chart.zoom.focusOnDrag,
4325
4403
  focusRangeRatio: t.value.chart.zoom.focusRangeRatio,
4326
4404
  onReset: Ca,
4327
- onTrapMouse: kl,
4405
+ onTrapMouse: wl,
4328
4406
  onFutureStart: s[1] || (s[1] = (e) => Vl("start", e)),
4329
4407
  onFutureEnd: s[2] || (s[2] = (e) => Vl("end", e)),
4330
4408
  timeLabels: m.value,
4331
4409
  isPreview: ea.value
4332
4410
  }, {
4333
4411
  "reset-action": Se(({ reset: e }) => [
4334
- te(l.$slots, "reset-action", Yt(dl({ reset: e })), void 0, !0)
4412
+ le(l.$slots, "reset-action", Gt(hl({ reset: e })), void 0, !0)
4335
4413
  ]),
4336
4414
  _: 3
4337
4415
  }, 8, ["immediate", "max", "valueStart", "valueEnd", "start", "end", "selectedSeries", "customFormat", "background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "usePreciseLabels", "preciseLabels", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "verticalHandles", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "minimapCompact", "allMinimaps", "minimapMerged", "minimapFrameColor", "cutNullValues", "focusOnDrag", "focusRangeRatio", "timeLabels", "isPreview"])) : g("", !0),
4338
4416
  k("div", {
4339
- id: `legend-bottom-${Z.value}`
4340
- }, null, 8, Hs),
4417
+ id: `legend-bottom-${J.value}`
4418
+ }, null, 8, Xs),
4341
4419
  H.value ? (n(), ct(Zo, {
4342
4420
  key: 6,
4343
- to: t.value.chart.legend.position === "top" ? `#legend-top-${Z.value}` : `#legend-bottom-${Z.value}`
4421
+ to: t.value.chart.legend.position === "top" ? `#legend-top-${J.value}` : `#legend-bottom-${J.value}`
4344
4422
  }, [
4345
4423
  t.value.chart.legend.show ? (n(), u("div", {
4346
4424
  key: 0,
@@ -4356,7 +4434,7 @@ const _n = {
4356
4434
  onClick: (a) => Ga(e),
4357
4435
  class: Ze({ "vue-ui-xy-legend-item-alone": et.value.length === 1, "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": de.value.includes(e.id) })
4358
4436
  }, [
4359
- Qt.value[e.type] === "line" ? (n(), u("svg", Ws, [
4437
+ jt.value[e.type] === "line" ? (n(), u("svg", Gs, [
4360
4438
  k("rect", {
4361
4439
  x: "0",
4362
4440
  y: "7.5",
@@ -4366,8 +4444,8 @@ const _n = {
4366
4444
  height: "3",
4367
4445
  width: "20",
4368
4446
  fill: e.color
4369
- }, null, 8, Xs),
4370
- ml(ma, {
4447
+ }, null, 8, Us),
4448
+ gl(ma, {
4371
4449
  plot: { x: 10, y: 9 },
4372
4450
  radius: 4,
4373
4451
  color: e.color,
@@ -4375,8 +4453,8 @@ const _n = {
4375
4453
  stroke: t.value.chart.backgroundColor,
4376
4454
  strokeWidth: 0.5
4377
4455
  }, null, 8, ["color", "shape", "stroke"])
4378
- ])) : Qt.value[e.type] === "bar" ? (n(), u("svg", Ys, [
4379
- Qt.value[e.type] === "bar" && l.$slots.pattern ? (n(), u("rect", {
4456
+ ])) : jt.value[e.type] === "bar" ? (n(), u("svg", qs, [
4457
+ jt.value[e.type] === "bar" && l.$slots.pattern ? (n(), u("rect", {
4380
4458
  key: 0,
4381
4459
  x: "4",
4382
4460
  y: "4",
@@ -4385,8 +4463,8 @@ const _n = {
4385
4463
  width: "32",
4386
4464
  stroke: "none",
4387
4465
  fill: e.color
4388
- }, null, 8, Gs)) : g("", !0),
4389
- Qt.value[e.type] === "bar" ? (n(), u("rect", {
4466
+ }, null, 8, Zs)) : g("", !0),
4467
+ jt.value[e.type] === "bar" ? (n(), u("rect", {
4390
4468
  key: 1,
4391
4469
  x: "4",
4392
4470
  y: "4",
@@ -4394,10 +4472,10 @@ const _n = {
4394
4472
  height: "32",
4395
4473
  width: "32",
4396
4474
  stroke: "none",
4397
- fill: l.$slots.pattern ? `url(#pattern_${Z.value}_${e.slotAbsoluteIndex})` : e.color
4398
- }, null, 8, qs)) : g("", !0)
4399
- ])) : (n(), u("svg", Us, [
4400
- ml(ma, {
4475
+ fill: l.$slots.pattern ? `url(#pattern_${J.value}_${e.slotAbsoluteIndex})` : e.color
4476
+ }, null, 8, Ks)) : g("", !0)
4477
+ ])) : (n(), u("svg", Js, [
4478
+ gl(ma, {
4401
4479
  plot: { x: 6, y: 6 },
4402
4480
  radius: 5,
4403
4481
  color: e.color,
@@ -4407,13 +4485,13 @@ const _n = {
4407
4485
  k("span", {
4408
4486
  style: C(`color:${t.value.chart.legend.color}`)
4409
4487
  }, ce(e.name), 5)
4410
- ], 10, Ds))), 128))
4488
+ ], 10, Ys))), 128))
4411
4489
  ], 4)) : (n(), u("div", {
4412
4490
  key: 1,
4413
4491
  ref_key: "chartLegend",
4414
4492
  ref: Le
4415
4493
  }, [
4416
- te(l.$slots, "legend", { legend: et.value }, void 0, !0)
4494
+ le(l.$slots, "legend", { legend: et.value }, void 0, !0)
4417
4495
  ], 512))
4418
4496
  ], 8, ["to"])) : g("", !0),
4419
4497
  l.$slots.source ? (n(), u("div", {
@@ -4422,10 +4500,10 @@ const _n = {
4422
4500
  ref: ft,
4423
4501
  dir: "auto"
4424
4502
  }, [
4425
- te(l.$slots, "source", {}, void 0, !0)
4503
+ le(l.$slots, "source", {}, void 0, !0)
4426
4504
  ], 512)) : g("", !0),
4427
- ml(h(ve), {
4428
- show: p.value.showTooltip && xl.value,
4505
+ gl(v(ve), {
4506
+ show: p.value.showTooltip && bl.value,
4429
4507
  backgroundColor: t.value.chart.tooltip.backgroundColor,
4430
4508
  color: t.value.chart.tooltip.color,
4431
4509
  fontSize: t.value.chart.tooltip.fontSize,
@@ -4445,23 +4523,23 @@ const _n = {
4445
4523
  smoothSnapThreshold: t.value.chart.tooltip.smoothSnapThreshold
4446
4524
  }, {
4447
4525
  "tooltip-before": Se(() => [
4448
- te(l.$slots, "tooltip-before", Yt(dl({ ...ja.value })), void 0, !0)
4526
+ le(l.$slots, "tooltip-before", Gt(hl({ ...ja.value })), void 0, !0)
4449
4527
  ]),
4450
4528
  "tooltip-after": Se(() => [
4451
- te(l.$slots, "tooltip-after", Yt(dl({ ...ja.value })), void 0, !0)
4529
+ le(l.$slots, "tooltip-after", Gt(hl({ ...ja.value })), void 0, !0)
4452
4530
  ]),
4453
4531
  _: 3
4454
4532
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
4455
- Lt.value && t.value.chart.userOptions.buttons.table ? (n(), ct(Ko(Yl.value.component), Gt({ key: 8 }, Yl.value.props, {
4533
+ Lt.value && t.value.chart.userOptions.buttons.table ? (n(), ct(Ko(Yl.value.component), Ut({ key: 8 }, Yl.value.props, {
4456
4534
  ref_key: "tableUnit",
4457
4535
  ref: Je,
4458
4536
  onClose: vo
4459
4537
  }), xo({
4460
4538
  content: Se(() => [
4461
4539
  k("div", {
4462
- style: C(`${h(Bl) || t.value.table.useDialog ? "" : "max-height:400px"};${t.value.table.useDialog ? "height: fit-content; " : ""};overflow:auto;width:100%;${t.value.table.useDialog ? "" : "margin-top:48px"}`)
4540
+ style: C(`${v(Bl) || t.value.table.useDialog ? "" : "max-height:400px"};${t.value.table.useDialog ? "height: fit-content; " : ""};overflow:auto;width:100%;${t.value.table.useDialog ? "" : "margin-top:48px"}`)
4463
4541
  }, [
4464
- k("div", Zs, [
4542
+ k("div", Qs, [
4465
4543
  Oa(k("input", {
4466
4544
  type: "checkbox",
4467
4545
  "onUpdate:modelValue": s[4] || (s[4] = (e) => He.value = e)
@@ -4472,18 +4550,18 @@ const _n = {
4472
4550
  onClick: s[5] || (s[5] = (e) => He.value = !He.value),
4473
4551
  style: { cursor: "pointer" }
4474
4552
  }, [
4475
- ml(h(ge), {
4553
+ gl(v(ge), {
4476
4554
  name: "chartLine",
4477
4555
  size: 20,
4478
4556
  stroke: t.value.chart.color
4479
4557
  }, null, 8, ["stroke"])
4480
4558
  ])
4481
4559
  ]),
4482
- He.value ? (n(), ct(h(Cl), {
4560
+ He.value ? (n(), ct(v(Cl), {
4483
4561
  key: `sparkline_${gt.value}`,
4484
4562
  dataset: Po.value,
4485
4563
  config: Fo.value
4486
- }, null, 8, ["dataset", "config"])) : (n(), ct(h(Ne), {
4564
+ }, null, 8, ["dataset", "config"])) : (n(), ct(v(Ne), {
4487
4565
  key: `table_${Nl.value}`,
4488
4566
  colNames: va.value.colNames,
4489
4567
  head: va.value.head,
@@ -4494,10 +4572,10 @@ const _n = {
4494
4572
  onClose: vo
4495
4573
  }, {
4496
4574
  th: Se(({ th: e }) => [
4497
- k("div", { innerHTML: e }, null, 8, Ks)
4575
+ k("div", { innerHTML: e }, null, 8, js)
4498
4576
  ]),
4499
4577
  td: Se(({ td: e }) => [
4500
- bo(ce(isNaN(Number(e)) ? e : h(lt)({
4578
+ bo(ce(isNaN(Number(e)) ? e : v(lt)({
4501
4579
  p: t.value.chart.labels.prefix,
4502
4580
  v: e,
4503
4581
  s: t.value.chart.labels.suffix,
@@ -4525,7 +4603,7 @@ const _n = {
4525
4603
  class: "vue-ui-user-options-button",
4526
4604
  onClick: s[3] || (s[3] = (e) => Ta(t.value.chart.userOptions.callbacks.csv))
4527
4605
  }, [
4528
- ml(h(ge), {
4606
+ gl(v(ge), {
4529
4607
  name: "excel",
4530
4608
  stroke: Yl.value.props.color
4531
4609
  }, null, 8, ["stroke"])
@@ -4534,10 +4612,10 @@ const _n = {
4534
4612
  key: "1"
4535
4613
  } : void 0
4536
4614
  ]), 1040)) : g("", !0),
4537
- h(be) ? (n(), ct(gn, { key: 9 })) : g("", !0)
4615
+ v(be) ? (n(), ct(gn, { key: 9 })) : g("", !0)
4538
4616
  ], 46, fu));
4539
4617
  }
4540
- }, hr = /* @__PURE__ */ Lo(Js, [["__scopeId", "data-v-d218b34b"]]);
4618
+ }, gr = /* @__PURE__ */ Lo(er, [["__scopeId", "data-v-acf1a7ef"]]);
4541
4619
  export {
4542
- hr as default
4620
+ gr as default
4543
4621
  };