vue-data-ui 3.22.9 → 3.22.10

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 (204) hide show
  1. package/dist/{Arrow-DdymhUfY.js → Arrow-Ku6rQ87g.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Av7Uxq5V.js → BaseDraggableDialog-CdkCqtag.js} +2 -2
  3. package/dist/{BaseIcon-UdRAvP2h.js → BaseIcon-CDTIUIKV.js} +1 -1
  4. package/dist/{BaseLegendToggle-DWtet-Hh.js → BaseLegendToggle-BrQ2OlzI.js} +1 -1
  5. package/dist/{BaseZoomControls-BY2KLqs6.js → BaseZoomControls-CkEX0292.js} +2 -2
  6. package/dist/{ColorPicker-DR_ummtM.js → ColorPicker-C959ZIW9.js} +2 -2
  7. package/dist/{DataTable-BxpTMgfK.js → DataTable-ByZy5gt1.js} +2 -2
  8. package/dist/{Legend-ROt6ugzW.js → Legend-5VQGLnmx.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-B6EG_Sga.js → NonSvgPenAndPaper-Bd8OzTqw.js} +3 -3
  10. package/dist/{PackageVersion-D__dRVRA.js → PackageVersion-BoTvk0i5.js} +1 -1
  11. package/dist/{PenAndPaper-DsXi7GJ-.js → PenAndPaper-CLaZJl6K.js} +3 -3
  12. package/dist/{Shape-UpH0a4Ur.js → Shape-B5ksaGa1.js} +3 -3
  13. package/dist/{Slicer-CW_XPIKL.js → Slicer-WsWTQPKt.js} +21 -21
  14. package/dist/{SlicerPreview-CTz41lOu.js → SlicerPreview-3n516NyE.js} +214 -214
  15. package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-CbYYc-xb.js} +1 -1
  16. package/dist/{Title-CcNiYzEo.js → Title-Cr3jP7Qd.js} +1 -1
  17. package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CDbLl3TD.js} +1 -1
  18. package/dist/{UserOptions-trvJ26nz.js → UserOptions-BUQOnoPR.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-BbwhsRIr.js → dom-to-png-COPbGrdd.js} +1 -1
  89. package/dist/exposedLib-CZbtc2a6.js +25 -0
  90. package/dist/{img-DnP3eXuv.js → img-CNdXiUfZ.js} +1 -1
  91. package/dist/{labelUtils-DBEh078l.js → labelUtils-JaoYKi2N.js} +1 -1
  92. package/dist/{lib-JqW18y5I.js → lib-CnHx5WfV.js} +118 -107
  93. package/dist/{package-ByOT60IK.js → package-BRBLwZUc.js} +1 -1
  94. package/dist/{pdf-hj3gzrE7.js → pdf-CEMzBeuV.js} +1 -1
  95. package/dist/{render-common-D18VrP0h.js → render-common-DJXFRGhU.js} +10 -10
  96. package/dist/ssr/vue-ui-donut.js +1 -1
  97. package/dist/ssr/vue-ui-xy.js +1 -1
  98. package/dist/ssr.js +2 -2
  99. package/dist/types/utils.d.ts +40 -0
  100. package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-BUPt2iaP.js} +1 -1
  101. package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-D8NuRneO.js} +2 -2
  102. package/dist/{usePrinter-CqqHmnBI.js → usePrinter-B-X_Pub0.js} +2 -2
  103. package/dist/utils.js +26 -24
  104. package/dist/{vue-data-ui-ub3fCh6P.js → vue-data-ui-Bx_8d3b_.js} +68 -68
  105. package/dist/vue-data-ui.js +77 -77
  106. package/dist/vue-ui-3d-bar-CfUfbpSE.js +1825 -0
  107. package/dist/{vue-ui-accordion-CjAGqEJg.js → vue-ui-accordion-Oo3IsX3-.js} +3 -3
  108. package/dist/vue-ui-age-pyramid-DD-4y5Jd.js +1247 -0
  109. package/dist/{vue-ui-annotator-BIucnT0L.js → vue-ui-annotator-BvGE3lzE.js} +8 -8
  110. package/dist/vue-ui-bullet-DYOdbaO2.js +710 -0
  111. package/dist/vue-ui-bump-B8fJoxHF.js +1249 -0
  112. package/dist/{vue-ui-candlestick-DULUMU-Q.js → vue-ui-candlestick-BUP1JoNs.js} +287 -287
  113. package/dist/vue-ui-carousel-table-D-Bwhydt.js +455 -0
  114. package/dist/vue-ui-chestnut-C2VK2NEx.js +2042 -0
  115. package/dist/{vue-ui-chord-DL1M7cgL.js → vue-ui-chord-AA-QjUQI.js} +42 -42
  116. package/dist/{vue-ui-circle-pack-C1Pgq6si.js → vue-ui-circle-pack-CdBFGYOK.js} +37 -37
  117. package/dist/{vue-ui-cursor-d2uLAKTQ.js → vue-ui-cursor-Cm_J_5Gk.js} +5 -5
  118. package/dist/{vue-ui-dag-CVh9FpZr.js → vue-ui-dag-CgRph4-n.js} +32 -32
  119. package/dist/{vue-ui-dashboard-BH0N3ebj.js → vue-ui-dashboard-BuPw5QjB.js} +69 -69
  120. package/dist/{vue-ui-digits-R6wi3J-Y.js → vue-ui-digits-ClrukmcB.js} +3 -3
  121. package/dist/vue-ui-donut-Bc-EPZvu.js +2419 -0
  122. package/dist/{vue-ui-donut-BWDeVzLc.js → vue-ui-donut-DtQCrMKL.js} +207 -207
  123. package/dist/vue-ui-donut-evolution-DHkiY-BD.js +1522 -0
  124. package/dist/vue-ui-dumbbell-BlHEH4Mw.js +1564 -0
  125. package/dist/{vue-ui-flow-CNczKwTh.js → vue-ui-flow-PjwAW2tY.js} +71 -71
  126. package/dist/vue-ui-funnel-DojI09FV.js +782 -0
  127. package/dist/{vue-ui-galaxy-v3cTbUiM.js → vue-ui-galaxy-txYIK_LG.js} +276 -276
  128. package/dist/{vue-ui-gauge-DxvMjfoc.js → vue-ui-gauge-CoL0OzSd.js} +178 -178
  129. package/dist/{vue-ui-geo-BgmLkZZ2.js → vue-ui-geo-yuL-_sqF.js} +20 -20
  130. package/dist/{vue-ui-gizmo-n1kmcGeE.js → vue-ui-gizmo-CbC5zV3K.js} +9 -9
  131. package/dist/{vue-ui-heatmap-dSTh8ah_.js → vue-ui-heatmap-CwqsZIsR.js} +331 -331
  132. package/dist/{vue-ui-history-plot-N8BqMFVU.js → vue-ui-history-plot-CuWssH-D.js} +414 -414
  133. package/dist/vue-ui-horizontal-bar-Dyje3GND.js +1689 -0
  134. package/dist/{vue-ui-kpi-BKrUk9o8.js → vue-ui-kpi-BdYenScF.js} +3 -3
  135. package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-BbwE3vBT.js} +2 -2
  136. package/dist/vue-ui-molecule-BBh31vmd.js +931 -0
  137. package/dist/{vue-ui-mood-radar-CpBRHQo_.js → vue-ui-mood-radar-B_6GFlaR.js} +261 -261
  138. package/dist/vue-ui-nested-donuts-BWq-At5Y.js +1493 -0
  139. package/dist/vue-ui-onion-BwGbSE-6.js +1200 -0
  140. package/dist/vue-ui-parallel-coordinate-plot-Bh9hNoqf.js +1416 -0
  141. package/dist/vue-ui-quadrant-B72Y4Zuw.js +1984 -0
  142. package/dist/{vue-ui-quick-chart-BO98uEPl.js → vue-ui-quick-chart-B3LF2ViM.js} +108 -108
  143. package/dist/vue-ui-radar-4v_E8oGX.js +1287 -0
  144. package/dist/{vue-ui-rating-CN-ZiAES.js → vue-ui-rating-CzLGCFWK.js} +101 -101
  145. package/dist/vue-ui-relation-circle-B_8dyIv2.js +924 -0
  146. package/dist/vue-ui-ridgeline-BArLhskj.js +1628 -0
  147. package/dist/vue-ui-rings-Csn5BgLk.js +1252 -0
  148. package/dist/vue-ui-scatter-BBaOx94M.js +2422 -0
  149. package/dist/{vue-ui-skeleton-DC2bZ0nk.js → vue-ui-skeleton-KeIPGp9U.js} +99 -99
  150. package/dist/{vue-ui-smiley-Dyyu1je3.js → vue-ui-smiley-C1mYDh4R.js} +17 -17
  151. package/dist/vue-ui-spark-trend-EqCqmHmU.js +443 -0
  152. package/dist/{vue-ui-sparkbar-DhIo1qsW.js → vue-ui-sparkbar-BPh45vBP.js} +66 -66
  153. package/dist/{vue-ui-sparkgauge-D0Fo3Hts.js → vue-ui-sparkgauge-CtouPcyW.js} +65 -65
  154. package/dist/vue-ui-sparkhistogram-D4sI0DHN.js +576 -0
  155. package/dist/{vue-ui-sparkline-ApivEMBP.js → vue-ui-sparkline-BDFZ78Fz.js} +51 -51
  156. package/dist/vue-ui-sparkstackbar-CbTXIfxm.js +674 -0
  157. package/dist/{vue-ui-stackbar-Ds4hXATH.js → vue-ui-stackbar-nMXIY9x8.js} +108 -108
  158. package/dist/vue-ui-stackline-CzfXl5ah.js +2425 -0
  159. package/dist/{vue-ui-strip-plot-C3ZHf4bD.js → vue-ui-strip-plot-BCf5nthl.js} +65 -65
  160. package/dist/vue-ui-table-BAKkFXki.js +1338 -0
  161. package/dist/{vue-ui-table-heatmap-CNXNXXBU.js → vue-ui-table-heatmap-CUMxqHKK.js} +15 -15
  162. package/dist/{vue-ui-table-sparkline-B9JJ4pFF.js → vue-ui-table-sparkline-BVTm16fd.js} +20 -20
  163. package/dist/vue-ui-thermometer-CGeEW1KV.js +770 -0
  164. package/dist/{vue-ui-timer-5NAWw5BN.js → vue-ui-timer-Bz7EnsM1.js} +5 -5
  165. package/dist/{vue-ui-tiremarks-Caz_g1c5.js → vue-ui-tiremarks-IOqtk_Rr.js} +17 -17
  166. package/dist/{vue-ui-treemap-F9upPyOI.js → vue-ui-treemap-JxNNtb7v.js} +232 -232
  167. package/dist/vue-ui-waffle-D34mcJWi.js +1368 -0
  168. package/dist/{vue-ui-wheel-DD6Q39BA.js → vue-ui-wheel-B_qEhyvk.js} +44 -44
  169. package/dist/{vue-ui-word-cloud-BZLT5svo.js → vue-ui-word-cloud-TtObhd91.js} +32 -32
  170. package/dist/{vue-ui-world-DbEJN5NA.js → vue-ui-world-R9o00A6c.js} +210 -210
  171. package/dist/{vue-ui-xy-BYMAITk_.js → vue-ui-xy-CUt6sU1s.js} +766 -766
  172. package/dist/{vue-ui-xy-Cn9Q8YPr.js → vue-ui-xy-Do34-UbE.js} +134 -134
  173. package/dist/vue-ui-xy-canvas-C6eRRH--.js +1790 -0
  174. package/package.json +1 -1
  175. package/dist/exposedLib-VXFp3Z2c.js +0 -19
  176. package/dist/vue-ui-3d-bar-taPI41_I.js +0 -1825
  177. package/dist/vue-ui-age-pyramid-jvQZbF8E.js +0 -1247
  178. package/dist/vue-ui-bullet-CIATzlsk.js +0 -710
  179. package/dist/vue-ui-bump-D8MxltQE.js +0 -1249
  180. package/dist/vue-ui-carousel-table-BSmdexG7.js +0 -455
  181. package/dist/vue-ui-chestnut-BIh1nQ7q.js +0 -2042
  182. package/dist/vue-ui-donut-BoZdciGh.js +0 -2419
  183. package/dist/vue-ui-donut-evolution-CpC9EMro.js +0 -1522
  184. package/dist/vue-ui-dumbbell-DGA5Bfnl.js +0 -1564
  185. package/dist/vue-ui-funnel-CaD2tZCT.js +0 -782
  186. package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +0 -1689
  187. package/dist/vue-ui-molecule--kK1JfnP.js +0 -931
  188. package/dist/vue-ui-nested-donuts-8Ehwcuns.js +0 -1493
  189. package/dist/vue-ui-onion-Cf6JiYTH.js +0 -1200
  190. package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +0 -1416
  191. package/dist/vue-ui-quadrant-CxU0jiOm.js +0 -1984
  192. package/dist/vue-ui-radar-eH2Qih4_.js +0 -1287
  193. package/dist/vue-ui-relation-circle-BIcP-aAt.js +0 -924
  194. package/dist/vue-ui-ridgeline-ChXHzEJw.js +0 -1628
  195. package/dist/vue-ui-rings-J990vNbX.js +0 -1252
  196. package/dist/vue-ui-scatter-BeJB0EKg.js +0 -2422
  197. package/dist/vue-ui-spark-trend-CpDX85H3.js +0 -443
  198. package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +0 -576
  199. package/dist/vue-ui-sparkstackbar-DsKQJx_n.js +0 -674
  200. package/dist/vue-ui-stackline-DJbcVvmN.js +0 -2425
  201. package/dist/vue-ui-table-uudidrYt.js +0 -1338
  202. package/dist/vue-ui-thermometer-Bvw3oQb3.js +0 -770
  203. package/dist/vue-ui-waffle-Bk9AsrPp.js +0 -1368
  204. package/dist/vue-ui-xy-canvas-Dcm2ftwm.js +0 -1790
@@ -1,25 +1,25 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, A as n, B as r, D as i, F as a, Ft as o, G as s, Gt as c, H as l, J as u, Kt as d, L as ee, Lt as te, M as ne, Mt as f, O as re, P as ie, R as ae, Rt as p, S as oe, T as se, U as ce, Ut as le, V as ue, Wt as de, Z as m, a as fe, b as pe, bt as me, c as he, g as ge, gt as _e, h as ve, i as h, it as g, j as ye, kt as be, l as xe, lt as Se, n as Ce, r as we, s as Te, v as _, wt as Ee, xt as De, yt as Oe, z as ke, zt as Ae } from "./lib-JqW18y5I.js";
3
- import { n as je, r as Me, t as Ne } from "./useTimeLabels-BmBRv27Y.js";
4
- import { t as Pe } from "./useConfig-DYM3f6EI.js";
5
- import { t as Fe } from "./usePrinter-CqqHmnBI.js";
6
- import { n as Ie, t as Le } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as Re } from "./useSvgExport-SVIsDot8.js";
8
- import { t as ze } from "./useNestedProp-DIuuzG1r.js";
9
- import { t as Be } from "./useThemeCheck-C43Tcqmk.js";
10
- import { t as Ve } from "./useStableElementSize-C7KADDKj.js";
11
- import { t as He } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
- import { t as Ue } from "./img-DnP3eXuv.js";
13
- import { n as We } from "./Title-CcNiYzEo.js";
14
- import { t as Ge } from "./vue_ui_xy-BA3-_LCx.js";
15
- import { t as Ke } from "./Shape-UpH0a4Ur.js";
16
- import { t as qe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
17
- import { t as Je } from "./DefGrad-DVBqDjhO.js";
18
- import { t as Ye } from "./SlicerPreview-CTz41lOu.js";
19
- import { t as Xe } from "./vue-ui-accordion-CjAGqEJg.js";
20
- import { t as Ze } from "./BaseLegendToggle-DWtet-Hh.js";
21
- import { t as Qe } from "./A11yDataTable-DdRsVULz.js";
22
- import { Fragment as v, Teleport as $e, computed as y, createBlock as et, createCommentVNode as b, createElementBlock as x, createElementVNode as S, createSlots as tt, createTextVNode as nt, createVNode as rt, defineAsyncComponent as it, getCurrentInstance as at, guardReactiveProps as C, mergeProps as ot, nextTick as st, normalizeClass as ct, normalizeProps as w, normalizeStyle as T, onBeforeUnmount as lt, onMounted as ut, openBlock as E, ref as D, renderList as O, renderSlot as k, resolveDynamicComponent as dt, shallowRef as ft, toDisplayString as pt, toRefs as mt, unref as A, useSlots as ht, vModelCheckbox as gt, watch as _t, watchEffect as vt, withCtx as j, withDirectives as yt } from "vue";
2
+ import { At as t, B as n, Bt as r, C as i, E as a, F as o, Gt as s, H as c, I as l, It as u, K as ee, Kt as d, M as te, N as ne, Nt as re, O as ie, Q as ae, R as oe, Rt as se, St as f, Tt as ce, U as le, V as ue, W as de, Wt as fe, Y as p, _ as pe, _t as me, a as he, at as m, bt as ge, c as _e, et as ve, g as ye, i as h, j as be, k as xe, n as Se, qt as Ce, r as we, s as Te, u as Ee, ut as De, x as Oe, xt as ke, y as g, z as Ae, zt as je } from "./lib-CnHx5WfV.js";
3
+ import { n as Me, r as Ne, t as Pe } from "./useTimeLabels-BmBRv27Y.js";
4
+ import { t as Fe } from "./useConfig-DYM3f6EI.js";
5
+ import { t as Ie } from "./usePrinter-B-X_Pub0.js";
6
+ import { n as Le, t as Re } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as ze } from "./useSvgExport-SVIsDot8.js";
8
+ import { t as Be } from "./useNestedProp-D8NuRneO.js";
9
+ import { t as Ve } from "./useThemeCheck-C43Tcqmk.js";
10
+ import { t as He } from "./useStableElementSize-C7KADDKj.js";
11
+ import { t as Ue } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
+ import { t as We } from "./img-CNdXiUfZ.js";
13
+ import { n as Ge } from "./Title-Cr3jP7Qd.js";
14
+ import { t as Ke } from "./vue_ui_xy-BA3-_LCx.js";
15
+ import { t as qe } from "./Shape-B5ksaGa1.js";
16
+ import { t as Je } from "./_plugin-vue_export-helper-B3ysoDQm.js";
17
+ import { t as Ye } from "./DefGrad-DVBqDjhO.js";
18
+ import { t as Xe } from "./SlicerPreview-3n516NyE.js";
19
+ import { t as Ze } from "./vue-ui-accordion-Oo3IsX3-.js";
20
+ import { t as Qe } from "./BaseLegendToggle-BrQ2OlzI.js";
21
+ import { t as $e } from "./A11yDataTable-DdRsVULz.js";
22
+ import { Fragment as _, Teleport as et, computed as v, createBlock as tt, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as nt, createTextVNode as rt, createVNode as it, defineAsyncComponent as at, getCurrentInstance as ot, guardReactiveProps as S, mergeProps as st, nextTick as ct, normalizeClass as lt, normalizeProps as C, normalizeStyle as w, onBeforeUnmount as ut, onMounted as dt, openBlock as T, ref as E, renderList as D, renderSlot as O, resolveDynamicComponent as ft, shallowRef as pt, toDisplayString as k, toRefs as mt, unref as A, useSlots as ht, vModelCheckbox as gt, watch as _t, watchEffect as vt, withCtx as j, withDirectives as yt } from "vue";
23
23
  //#region src/utils/xy.js
24
24
  function bt(e) {
25
25
  return ![
@@ -539,7 +539,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
539
539
  "padding-left": "6px"
540
540
  },
541
541
  "data-dom-to-png-ignore": ""
542
- }, oi = ["innerHTML"], M = /*#__PURE__*/ qe({
542
+ }, oi = ["innerHTML"], M = /*#__PURE__*/ Je({
543
543
  __name: "vue-ui-xy",
544
544
  props: {
545
545
  config: {
@@ -568,18 +568,18 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
568
568
  "zoomReset",
569
569
  "copyAlt"
570
570
  ],
571
- setup(e, { expose: qe, emit: kt }) {
572
- let M = e, si = it(() => import("./DataTable-BxpTMgfK.js")), ci = it(() => import("./Tooltip-CxOrWlFy.js")), li = it(() => import("./UserOptions-trvJ26nz.js").then((e) => e.n)), ui = it(() => import("./BaseIcon-UdRAvP2h.js").then((e) => e.n)), di = it(() => import("./vue-ui-table-sparkline-B9JJ4pFF.js").then((e) => e.n)), fi = it(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), pi = it(() => import("./PenAndPaper-DsXi7GJ-.js").then((e) => e.t)), mi = it(() => import("./BaseDraggableDialog-Av7Uxq5V.js").then((e) => e.n)), hi = kt, gi = ht(), _i = at(), { vue_ui_xy: vi } = Pe(), { isThemeValid: yi, warnInvalidTheme: bi } = Be(), xi = D(null), Si = D(null), Ci = D(null), wi = D(null), Ti = D(null), Ei = D(null), Di = D(null), Oi = D(null), ki = D(null), Ai = D(null), ji = D(null), Mi = D(null), Ni = D(null), Pi = D(null), Fi = D(0), N = D(null), Ii = D(!0), Li = D(600), P = D(1e3), Ri = D("0 0 1000 600"), zi = D({
571
+ setup(e, { expose: Je, emit: kt }) {
572
+ let M = e, si = at(() => import("./DataTable-ByZy5gt1.js")), ci = at(() => import("./Tooltip-CDbLl3TD.js")), li = at(() => import("./UserOptions-BUQOnoPR.js").then((e) => e.n)), ui = at(() => import("./BaseIcon-CDTIUIKV.js").then((e) => e.n)), di = at(() => import("./vue-ui-table-sparkline-BVTm16fd.js").then((e) => e.n)), fi = at(() => import("./PackageVersion-BoTvk0i5.js").then((e) => e.t)), pi = at(() => import("./PenAndPaper-CLaZJl6K.js").then((e) => e.t)), mi = at(() => import("./BaseDraggableDialog-CdkCqtag.js").then((e) => e.n)), hi = kt, gi = ht(), _i = ot(), { vue_ui_xy: vi } = Fe(), { isThemeValid: yi, warnInvalidTheme: bi } = Ve(), xi = E(null), Si = E(null), Ci = E(null), wi = E(null), Ti = E(null), Ei = E(null), Di = E(null), Oi = E(null), ki = E(null), Ai = E(null), ji = E(null), Mi = E(null), Ni = E(null), Pi = E(null), Fi = E(0), N = E(null), Ii = E(!0), Li = E(600), P = E(1e3), Ri = E("0 0 1000 600"), zi = E({
573
573
  x: 0,
574
574
  y: 0
575
- }), Bi = D({
575
+ }), Bi = E({
576
576
  line: "line",
577
577
  bar: "bar",
578
578
  plot: "plot"
579
- }), Vi = D(!1), Hi = D(!1), Ui = D(!1), Wi = D(null), Gi = D([]), Ki = y(() => new Set(Gi.value)), F = D(s()), qi = D(0), Ji = D(0), Yi = D(0), Xi = D(!0), Zi = D(0), I = D(null), Qi = D(!1), $i = D(!0), ea = D(!0), L = D(null), ta = D({}), na = D(null), ra = D(!1), ia = D(null), aa = D(!1), oa = D(!1), sa = D(null), R = D(null), ca = D(null), la = D({
579
+ }), Vi = E(!1), Hi = E(!1), Ui = E(!1), Wi = E(null), Gi = E([]), Ki = v(() => new Set(Gi.value)), F = E(ee()), qi = E(0), Ji = E(0), Yi = E(0), Xi = E(!0), Zi = E(0), I = E(null), Qi = E(!1), $i = E(!0), ea = E(!0), L = E(null), ta = E({}), na = E(null), ra = E(!1), ia = E(null), aa = E(!1), oa = E(!1), sa = E(null), R = E(null), ca = E(null), la = E({
580
580
  x: 0,
581
581
  y: 0
582
- }), ua = D(null), da = D(null), z = D(null), fa = D(null), pa = D(null), ma = ft(null), ha = D(!1), ga = D(0), _a = D(0), va = Ve({
582
+ }), ua = E(null), da = E(null), z = E(null), fa = E(null), pa = E(null), ma = pt(null), ha = E(!1), ga = E(0), _a = E(0), va = He({
583
583
  elementRef: ma,
584
584
  minimumWidth: 2,
585
585
  minimumHeight: 2,
@@ -601,48 +601,48 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
601
601
  }
602
602
  async function xa() {
603
603
  let e = ++_a.value;
604
- ha.value = !1, await st(), await ba(), await ba(), e === _a.value && (ga.value += 1, ha.value = !0);
604
+ ha.value = !1, await ct(), await ba(), await ba(), e === _a.value && (ga.value += 1, ha.value = !0);
605
605
  }
606
- let Sa = D(!1);
606
+ let Sa = E(!1);
607
607
  function Ca() {
608
- Sa.value || (Sa.value = !0, st(() => {
608
+ Sa.value || (Sa.value = !0, ct(() => {
609
609
  Sa.value = !1, ya(), xa();
610
610
  }));
611
611
  }
612
- let wa = y(() => ({
612
+ let wa = v(() => ({
613
613
  height: Li.value,
614
614
  width: P.value
615
- })), Ta = D(!1), Ea = D(null), Da = D(null), B = D({
615
+ })), Ta = E(!1), Ea = E(null), Da = E(null), B = E({
616
616
  xAxis: 18,
617
617
  yAxis: 12,
618
618
  dataLabels: 20,
619
619
  plotLabels: 10
620
- }), Oa = D({
620
+ }), Oa = E({
621
621
  plot: 3,
622
622
  line: 3,
623
623
  selectedLine: 3
624
- }), ka = y(() => Math.max(Oa.value.line * 1.5, Oa.value.selectedLine));
625
- ut(() => {
626
- ra.value = !0, M.dataset.length && M.dataset.forEach((e, n) => {
627
- [null, void 0].includes(e.series) && t({
624
+ }), ka = v(() => Math.max(Oa.value.line * 1.5, Oa.value.selectedLine));
625
+ dt(() => {
626
+ ra.value = !0, M.dataset.length && M.dataset.forEach((e, t) => {
627
+ [null, void 0].includes(e.series) && ve({
628
628
  componentName: "VueUiXy",
629
629
  type: "datasetSerieAttribute",
630
630
  property: "series (number[])",
631
- index: n,
631
+ index: t,
632
632
  debug: Fa.value
633
633
  });
634
634
  }), ya(), va.start(), xa();
635
635
  });
636
636
  function Aa() {
637
637
  if (!Object.keys(M.config || {}).length) return vi;
638
- let e = ze({
638
+ let e = Be({
639
639
  userConfig: M.config,
640
640
  defaultConfig: vi
641
641
  });
642
- M.config && _e(M.config, "chart.highlightArea") && (Array.isArray(M.config.chart.highlightArea) ? e.chart.highlightArea = M.config.chart.highlightArea : e.chart.highlightArea = [M.config.chart.highlightArea]), M.config && _e(M.config, "chart.annotations") && Array.isArray(M.config.chart.annotations) && M.config.chart.annotations.length ? e.chart.annotations = M.config.chart.annotations.map((e) => ze({
642
+ M.config && me(M.config, "chart.highlightArea") && (Array.isArray(M.config.chart.highlightArea) ? e.chart.highlightArea = M.config.chart.highlightArea : e.chart.highlightArea = [M.config.chart.highlightArea]), M.config && me(M.config, "chart.annotations") && Array.isArray(M.config.chart.annotations) && M.config.chart.annotations.length ? e.chart.annotations = M.config.chart.annotations.map((e) => Be({
643
643
  defaultConfig: vi.chart.annotations[0],
644
644
  userConfig: e
645
- })) : e.chart.annotations = [], M.config && _e(M.config, "chart.grid.position") && M.config.chart.grid.position === "start" && M.dataset.length && M.dataset.some((e) => e.type === "bar") && (e.chart.grid.position = "middle", _e(M.config, "debug") && console.warn("Vue Data UI - VueUiXy - config.chart.grid.position was overriden to `middle` because your dataset contains a bar")), M.config && _e(M.config, "chart.highlightArea") && (Array.isArray(M.config.chart.highlightArea) ? e.chart.highlightArea = M.config.chart.highlightArea.map((e) => ja({
645
+ })) : e.chart.annotations = [], M.config && me(M.config, "chart.grid.position") && M.config.chart.grid.position === "start" && M.dataset.length && M.dataset.some((e) => e.type === "bar") && (e.chart.grid.position = "middle", me(M.config, "debug") && console.warn("Vue Data UI - VueUiXy - config.chart.grid.position was overriden to `middle` because your dataset contains a bar")), M.config && me(M.config, "chart.highlightArea") && (Array.isArray(M.config.chart.highlightArea) ? e.chart.highlightArea = M.config.chart.highlightArea.map((e) => ja({
646
646
  defaultConfig: vi.chart.highlightArea,
647
647
  userConfig: e
648
648
  })) : e.chart.highlightArea = ja({
@@ -652,32 +652,32 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
652
652
  let t = e.theme;
653
653
  if (!t) return e;
654
654
  if (!yi.value(e)) return bi(e), e;
655
- let n = ze({
656
- userConfig: Ge[t] || M.config,
655
+ let n = Be({
656
+ userConfig: Ke[t] || M.config,
657
657
  defaultConfig: e
658
- }), r = ze({
658
+ }), r = Be({
659
659
  userConfig: M.config,
660
660
  defaultConfig: n
661
661
  });
662
662
  return {
663
663
  ...r,
664
- customPalette: r.customPalette.length ? r.customPalette : de[t] || f
664
+ customPalette: r.customPalette.length ? r.customPalette : s[t] || re
665
665
  };
666
666
  }
667
667
  function ja({ defaultConfig: e, userConfig: t }) {
668
- return ze({
668
+ return Be({
669
669
  defaultConfig: e,
670
670
  userConfig: t
671
671
  });
672
672
  }
673
- let Ma = y({
673
+ let Ma = v({
674
674
  get() {
675
675
  return !!M.dataset && M.dataset.length;
676
676
  },
677
677
  set(e) {
678
678
  return e;
679
679
  }
680
- }), V = D(Aa()), Na = y(() => V.value.chart.userOptions.useCursorPointer), H = D({
680
+ }), V = E(Aa()), Na = v(() => V.value.chart.userOptions.useCursorPointer), H = E({
681
681
  dataLabels: { show: !0 },
682
682
  showTooltip: !0,
683
683
  showTable: !1,
@@ -698,7 +698,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
698
698
  }
699
699
  H.value.showTooltip = V.value.chart.tooltip.show === !0, e !== Ea.value && (H.value.isStacked = e, Ea.value = e), t !== Da.value && (H.value.useIndividualScale = t, Da.value = t), H.value.isStacked && (H.value.useIndividualScale = !0);
700
700
  }
701
- let Fa = y(() => !!V.value.debug), Ia = y(() => d({
701
+ let Fa = v(() => !!V.value.debug), Ia = v(() => Ce({
702
702
  defaultConfig: {
703
703
  useCssAnimation: !1,
704
704
  showTable: !1,
@@ -754,7 +754,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
754
754
  }
755
755
  },
756
756
  userConfig: V.value.skeletonConfig ?? {}
757
- })), La = y(() => M.config?.skeletonDataset ?? [{
757
+ })), La = v(() => M.config?.skeletonDataset ?? [{
758
758
  name: "",
759
759
  series: [
760
760
  0,
@@ -791,7 +791,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
791
791
  ],
792
792
  type: "bar",
793
793
  color: "#CACACA"
794
- }]), { loading: Ra, FINAL_DATASET: za, manualLoading: Ba } = Ie({
794
+ }]), { loading: Ra, FINAL_DATASET: za, manualLoading: Ba } = Le({
795
795
  ...mt(M),
796
796
  FINAL_CONFIG: V,
797
797
  prepareConfig: Aa,
@@ -801,37 +801,37 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
801
801
  });
802
802
  },
803
803
  skeletonDataset: La.value,
804
- skeletonConfig: d({
804
+ skeletonConfig: Ce({
805
805
  defaultConfig: V.value,
806
806
  userConfig: Ia.value
807
807
  })
808
- }), Va = Tt((e, t) => Ee({
808
+ }), Va = Tt((e, t) => ce({
809
809
  data: e,
810
810
  threshold: t
811
- })), Ha = (e) => Va(e, V.value.downsample.threshold), Ua = y(() => {
811
+ })), Ha = (e) => Va(e, V.value.downsample.threshold), Ua = v(() => {
812
812
  let e = V.value.downsample.threshold;
813
813
  return za.value.map((t) => Va(t.series, e).length);
814
- }), Wa = y(() => {
814
+ }), Wa = v(() => {
815
815
  let e = -Infinity;
816
816
  for (let t = 0; t < Ua.value.length; t += 1) {
817
817
  let n = Ua.value[t];
818
818
  n > e && (e = n);
819
819
  }
820
820
  return e;
821
- }), Ga = y(() => {
821
+ }), Ga = v(() => {
822
822
  let e = 0;
823
823
  for (let t = 0; t < Ua.value.length; t += 1) {
824
824
  let n = Ua.value[t];
825
825
  n > e && (e = n);
826
826
  }
827
827
  return e;
828
- }), Ka = y(() => Wa.value), U = D({
828
+ }), Ka = v(() => Wa.value), U = E({
829
829
  start: 0,
830
830
  end: Ka.value
831
- }), qa = D({
831
+ }), qa = E({
832
832
  start: 0,
833
833
  end: Ka.value
834
- }), Ja = y(() => V.value.chart.zoom.preview.enable && (qa.value.start !== U.value.start || qa.value.end !== U.value.end));
834
+ }), Ja = v(() => V.value.chart.zoom.preview.enable && (qa.value.start !== U.value.start || qa.value.end !== U.value.end));
835
835
  function Ya(e, t) {
836
836
  qa.value[e] = t;
837
837
  }
@@ -850,7 +850,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
850
850
  end: n
851
851
  }, qa.value.start = t, qa.value.end = n, Ci.value && (Ci.value.setStartValue(t), Ci.value.setEndValue(n));
852
852
  }
853
- let Za = y(() => {
853
+ let Za = v(() => {
854
854
  let { left: e, top: t, width: n, height: r } = J.value, i = U.value.start, a = U.value.end - i, o = n / a, s = qa.value.start - i, c = qa.value.end - i, l = Math.max(0, Math.min(a, s)), u = Math.max(0, Math.min(a, c));
855
855
  return {
856
856
  x: e + l * o,
@@ -878,21 +878,21 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
878
878
  let t = e - U.value.start;
879
879
  t < 0 || e >= U.value.end ? R.value = null : R.value = t ?? null;
880
880
  }, { immediate: !0 });
881
- let { isPrinting: Qa, isImaging: $a, generatePdf: eo, generateImage: to } = Fe({
881
+ let { isPrinting: Qa, isImaging: $a, generatePdf: eo, generateImage: to } = Ie({
882
882
  elementId: `vue-ui-xy_${F.value}`,
883
883
  fileName: V.value.chart.title.text || "vue-ui-xy",
884
884
  options: V.value.chart.userOptions.print
885
- }), no = D(!1), ro = y(() => oe(V.value.customPalette)), io = y(() => {
885
+ }), no = E(!1), ro = v(() => i(V.value.customPalette)), io = v(() => {
886
886
  let e = V.value.chart.grid.labels.yAxis.scaleMin;
887
887
  if (e == null) return null;
888
888
  let t = Number(e);
889
889
  return Number.isFinite(t) ? t : null;
890
- }), ao = y(() => io.value === null ? ws.value : J.value.bottom), oo = y(() => {
890
+ }), ao = v(() => io.value === null ? ws.value : J.value.bottom), oo = v(() => {
891
891
  let e = V.value.chart.grid.labels.yAxis.scaleMax;
892
892
  if (e == null) return null;
893
893
  let t = Number(e);
894
894
  return Number.isFinite(t) ? t : null;
895
- }), so = y(() => io.value !== null || oo.value !== null), co = y(() => Bc(vo.value.filter((e) => !Ki.value.has(e.id)), 0, 1)), lo = y(() => {
895
+ }), so = v(() => io.value !== null || oo.value !== null), co = v(() => Bc(vo.value.filter((e) => !Ki.value.has(e.id)), 0, 1)), lo = v(() => {
896
896
  let { min: e, max: t } = co.value;
897
897
  if (!so.value) {
898
898
  let t = e;
@@ -900,7 +900,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
900
900
  }
901
901
  let n = io.value === null ? e > 0 ? 0 : e : io.value, r = oo.value === null ? t : oo.value;
902
902
  return Et(e < n ? e : n, t > r ? t : r).min;
903
- }), uo = y(() => {
903
+ }), uo = v(() => {
904
904
  let { min: e, max: t } = co.value;
905
905
  if (!so.value) {
906
906
  let e = t;
@@ -908,7 +908,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
908
908
  }
909
909
  let n = io.value === null ? e > 0 ? 0 : e : io.value, r = oo.value === null ? t : oo.value;
910
910
  return Et(e < n ? e : n, t > r ? t : r).max;
911
- }), W = y(() => V.value.chart.grid.labels.yAxis.useNiceScale ? ve(lo.value, uo.value < 0 ? 0 : uo.value, V.value.chart.grid.labels.yAxis.commonScaleSteps) : ge(lo.value, uo.value < 0 ? 0 : uo.value, V.value.chart.grid.labels.yAxis.commonScaleSteps)), fo = y(() => [null, void 0].includes(V.value.chart.grid.labels.yAxis.scaleMin) ? W.value.min >= 0 ? 0 : Math.abs(W.value.min) : -W.value.min), G = y(() => za.value.some((e) => Array.isArray(e.series) && e.series.some(Ct)));
911
+ }), W = v(() => V.value.chart.grid.labels.yAxis.useNiceScale ? ye(lo.value, uo.value < 0 ? 0 : uo.value, V.value.chart.grid.labels.yAxis.commonScaleSteps) : pe(lo.value, uo.value < 0 ? 0 : uo.value, V.value.chart.grid.labels.yAxis.commonScaleSteps)), fo = v(() => [null, void 0].includes(V.value.chart.grid.labels.yAxis.scaleMin) ? W.value.min >= 0 ? 0 : Math.abs(W.value.min) : -W.value.min), G = v(() => za.value.some((e) => Array.isArray(e.series) && e.series.some(Ct)));
912
912
  vt(() => {
913
913
  G.value && za.value.some((e) => !ho(e)) && console.warn("Vue Data UI - VueUiXy: mixed continuous and non-continuous series are not supported in the same chart.\n\nContinuous mode requires all visible 'line' and 'plot' series to use coordinate-based datasets:\n[{ x: number, y: number }]\n\nSeries of type 'bar' and standard numeric series are ignored in continuous mode to prevent runtime errors.\n\nIf you need to mix 'bar', 'line', and 'plot' series in the same chart, all series must use the standard [number, number, number...] format.");
914
914
  });
@@ -937,7 +937,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
937
937
  isInvalid: !0
938
938
  } : {
939
939
  x: Number(e.x),
940
- y: me(e.y) ? Number(e.y) : null,
940
+ y: ke(e.y) ? Number(e.y) : null,
941
941
  index: t,
942
942
  raw: e,
943
943
  isNull: !1,
@@ -947,17 +947,17 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
947
947
  function _o(e) {
948
948
  return G.value ? e && typeof e == "object" ? e.y : null : e;
949
949
  }
950
- let vo = y(() => !Ii.value && !G.value ? za.value : za.value.map((e, t) => {
950
+ let vo = v(() => !Ii.value && !G.value ? za.value : za.value.map((e, t) => {
951
951
  let n = `uniqueId_${t}`, r = ho(e), i = G.value ? r ? e.series : [] : Ha(e.series);
952
952
  return {
953
953
  ...e,
954
954
  slotAbsoluteIndex: t,
955
- series: G.value ? i.map((e, t) => go(e, t)).filter((e) => e.isInvalid ? !1 : e.x === null && e.y === null ? U.value.start <= 0 && U.value.end >= 0 : e.x >= U.value.start && e.x <= U.value.end) : i.map((e) => me(e) ? e : null).slice(U.value.start, U.value.end),
956
- color: pe(e.color ? e.color : ro.value[t] ? ro.value[t] : f[t]),
955
+ series: G.value ? i.map((e, t) => go(e, t)).filter((e) => e.isInvalid ? !1 : e.x === null && e.y === null ? U.value.start <= 0 && U.value.end >= 0 : e.x >= U.value.start && e.x <= U.value.end) : i.map((e) => ke(e) ? e : null).slice(U.value.start, U.value.end),
956
+ color: Oe(e.color ? e.color : ro.value[t] ? ro.value[t] : re[t]),
957
957
  id: n,
958
958
  scaleLabel: e.scaleLabel || n
959
959
  };
960
- })), yo = y(() => vo.value.map((e, t) => ({
960
+ })), yo = v(() => vo.value.map((e, t) => ({
961
961
  absoluteIndex: t,
962
962
  ...e,
963
963
  series: G.value ? e.series.map((e) => ({
@@ -967,14 +967,14 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
967
967
  absoluteValues: G.value ? e.series.map((e) => e.y) : e.series,
968
968
  segregate: () => Zs(e),
969
969
  isSegregated: Ki.value.has(e.id)
970
- }))), K = y(() => vo.value.map((e) => ({
970
+ }))), K = v(() => vo.value.map((e) => ({
971
971
  ...e,
972
972
  series: G.value ? e.series.map((e) => ({
973
973
  ...e,
974
974
  y: e.y === null ? null : e.y + fo.value
975
975
  })) : e.series.map((e) => e + fo.value),
976
976
  absoluteValues: G.value ? e.series.map((e) => e.y) : e.series
977
- })).filter((e) => !Ki.value.has(e.id))), bo = y(() => Gi.value.length === yo.value.length), q = y(() => V.value.chart.grid.labels.yAxis.position === "right");
977
+ })).filter((e) => !Ki.value.has(e.id))), bo = v(() => Gi.value.length === yo.value.length), q = v(() => V.value.chart.grid.labels.yAxis.position === "right");
978
978
  function xo() {
979
979
  let e = 0;
980
980
  ji.value && (e = Array.from(ji.value.querySelectorAll("text")).reduce((e, t) => {
@@ -1009,7 +1009,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1009
1009
  let t = Xc({ x: Number(e) });
1010
1010
  So(t), Fs.value = t;
1011
1011
  }
1012
- let wo = D(0), To = D(0);
1012
+ let wo = E(0), To = E(0);
1013
1013
  function Eo() {
1014
1014
  let e = Ai.value;
1015
1015
  if (!e) {
@@ -1023,7 +1023,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1023
1023
  wo.value = 0, To.value = 0;
1024
1024
  }
1025
1025
  }
1026
- let Do = y(() => {
1026
+ let Do = v(() => {
1027
1027
  let e = 0;
1028
1028
  if (Oi.value) try {
1029
1029
  e = Oi.value.getBBox().height || 0;
@@ -1031,11 +1031,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1031
1031
  e = 0;
1032
1032
  }
1033
1033
  return e + wo.value + B.value.xAxis;
1034
- }), Oo = y(() => za.value.some((e) => e.useProgression));
1034
+ }), Oo = v(() => za.value.some((e) => e.useProgression));
1035
1035
  function ko() {
1036
1036
  return V.value.chart.grid.labels.yAxis.crosshairSize + V.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 + V.value.chart.grid.labels.yAxis.labelWidth + V.value.chart.grid.labels.axis.yLabelOffsetX + B.value.dataLabels * .8;
1037
1037
  }
1038
- let J = y(() => {
1038
+ let J = v(() => {
1039
1039
  ga.value;
1040
1040
  let e = 0, t = 0, n = 0, r = 0;
1041
1041
  if (V.value.chart.grid.labels.show) if (H.value.useIndividualScale && !H.value.isStacked) q.value ? t = (za.value.length - Gi.value.length) * ko() : e = (za.value.length - Gi.value.length) * (V.value.chart.grid.labels.yAxis.labelWidth + 36);
@@ -1062,8 +1062,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1062
1062
  yAxisLabelWidth: r,
1063
1063
  individualOffsetX: 36
1064
1064
  };
1065
- }), Ao = y(() => {
1066
- let e = +(V.value.chart.grid.position === "middle"), t = X.value + e, n = g(J.value?.top), r = g(J.value?.bottom);
1065
+ }), Ao = v(() => {
1066
+ let e = +(V.value.chart.grid.position === "middle"), t = X.value + e, n = m(J.value?.top), r = m(J.value?.bottom);
1067
1067
  return G.value ? V.value.chart.grid.position === "middle" ? Jc.value.map((e, t, i) => {
1068
1068
  if (t === 0) return null;
1069
1069
  let a = i[t - 1], o = a.x + (e.x - a.x) / 2;
@@ -1072,7 +1072,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1072
1072
  let i = V.value.chart.grid.position === "middle" ? dc(t) : uc(t);
1073
1073
  return `M${i},${n} L${i},${r}`;
1074
1074
  }).join(" ");
1075
- }), jo = y(() => {
1075
+ }), jo = v(() => {
1076
1076
  if (!V.value.chart.grid.labels.xAxis.showCrosshairs) return "";
1077
1077
  let e = V.value.chart.grid.labels.xAxis.crosshairSize, t = V.value.chart.grid.labels.xAxis.crosshairsAlwaysAtZero;
1078
1078
  return (G.value ? Jc.value : Go.value).map((n, r) => {
@@ -1094,9 +1094,9 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1094
1094
  function Fo(e, t, n, r, i) {
1095
1095
  n && (ta.value[`${e}_${t}_${r}_${i}`] = n);
1096
1096
  }
1097
- let Io = D(!1);
1097
+ let Io = E(!1);
1098
1098
  async function Lo(e = !1) {
1099
- await st(), Io.value = e, Qi.value && (ea.value = e);
1099
+ await ct(), Io.value = e, Qi.value && (ea.value = e);
1100
1100
  }
1101
1101
  function Ro() {
1102
1102
  Lo(!0);
@@ -1107,11 +1107,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1107
1107
  function Bo() {
1108
1108
  Vi.value = !Vi.value;
1109
1109
  }
1110
- let Y = D([]), Vo = D([]), Ho = 0;
1110
+ let Y = E([]), Vo = E([]), Ho = 0;
1111
1111
  vt(() => {
1112
1112
  let e = ++Ho;
1113
1113
  (async () => {
1114
- let t = Wa.value, n = await Ne({
1114
+ let t = Wa.value, n = await Pe({
1115
1115
  values: V.value.chart.grid.labels.xAxisLabels.values,
1116
1116
  maxDatapoints: t,
1117
1117
  formatter: V.value.chart.grid.labels.xAxisLabels.datetimeFormatter,
@@ -1125,7 +1125,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1125
1125
  vt(() => {
1126
1126
  let e = ++Uo;
1127
1127
  (async () => {
1128
- let t = Wa.value, n = await Ne({
1128
+ let t = Wa.value, n = await Pe({
1129
1129
  values: V.value.chart.grid.labels.xAxisLabels.values,
1130
1130
  maxDatapoints: t,
1131
1131
  formatter: V.value.chart.grid.labels.xAxisLabels.datetimeFormatter,
@@ -1135,14 +1135,14 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1135
1135
  e === Uo && (Vo.value = n);
1136
1136
  })();
1137
1137
  });
1138
- let Wo = y(() => {
1138
+ let Wo = v(() => {
1139
1139
  let e = V.value.chart.grid.labels.xAxisLabels.modulo;
1140
1140
  return Y.value.length ? Math.min(e, [...new Set(Y.value.map((e) => e.text))].length) : e;
1141
- }), Go = y(() => {
1141
+ }), Go = v(() => {
1142
1142
  let e = V.value.chart.grid.labels.xAxisLabels, t = Y.value || [], n = Vo.value || [], r = U.value.start ?? 0, i = R.value, a = X.value, o = t.map((e) => e?.text ?? ""), s = n.map((e) => e?.text ?? "");
1143
1143
  return Te(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Wo.value || 1), o, s, r, i, a);
1144
- }), Ko = y(() => (Go.value || []).map((e) => e?.text ?? "").join("|"));
1145
- ut(() => {
1144
+ }), Ko = v(() => (Go.value || []).map((e) => e?.text ?? "").join("|"));
1145
+ dt(() => {
1146
1146
  requestAnimationFrame(() => {
1147
1147
  Eo();
1148
1148
  }), _t([
@@ -1152,11 +1152,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1152
1152
  () => P.value,
1153
1153
  () => Li.value
1154
1154
  ], async () => {
1155
- await st(), requestAnimationFrame(() => {
1155
+ await ct(), requestAnimationFrame(() => {
1156
1156
  Eo();
1157
1157
  });
1158
1158
  }, { flush: "post" });
1159
- }), lt(() => {
1159
+ }), ut(() => {
1160
1160
  wo.value = 0, To.value = 0, va.stop(), ua.value &&= (ua.value.disconnect(), null);
1161
1161
  });
1162
1162
  function qo(e, t) {
@@ -1175,7 +1175,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1175
1175
  label: e.text
1176
1176
  });
1177
1177
  }
1178
- let X = y(() => {
1178
+ let X = v(() => {
1179
1179
  let e = Ot((U.value.end ?? 0) - (U.value.start ?? 0));
1180
1180
  return Math.max(1, e);
1181
1181
  });
@@ -1183,13 +1183,13 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1183
1183
  G.value || (I.value = e);
1184
1184
  }
1185
1185
  function Yo(e) {
1186
- if (!G.value || !De(e)) {
1186
+ if (!G.value || !f(e)) {
1187
1187
  sa.value = null, Z.value = [], Fs.value = null;
1188
1188
  return;
1189
1189
  }
1190
1190
  sa.value = Number(e), Co(Number(e));
1191
1191
  }
1192
- let Xo = y(() => G.value ? De(sa.value) || De(Fs.value) : ![null, void 0].includes(R.value) || ![null, void 0].includes(I.value));
1192
+ let Xo = v(() => G.value ? f(sa.value) || f(Fs.value) : ![null, void 0].includes(R.value) || ![null, void 0].includes(I.value));
1193
1193
  function Zo() {
1194
1194
  H.value.isStacked = !H.value.isStacked, H.value.isStacked ? H.value.useIndividualScale = !0 : H.value.useIndividualScale = V.value.chart.grid.labels.yAxis.useIndividualScale;
1195
1195
  }
@@ -1200,7 +1200,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1200
1200
  let t = Wa.value;
1201
1201
  return e > t ? t : e < 0 || V.value.chart.zoom.startIndex !== null && e < V.value.chart.zoom.startIndex ? V.value.chart.zoom.startIndex === null ? 1 : V.value.chart.zoom.startIndex + 1 : e;
1202
1202
  }
1203
- let es = D(!1), ts = D(!1), ns = D(0), rs = D(0);
1203
+ let es = E(!1), ts = E(!1), ns = E(0), rs = E(0);
1204
1204
  function is() {
1205
1205
  if (!es.value) {
1206
1206
  es.value = !0;
@@ -1222,7 +1222,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1222
1222
  }
1223
1223
  }
1224
1224
  }
1225
- let as = D(!1), os = D(!1), ss = null, cs = null, ls = {};
1225
+ let as = E(!1), os = E(!1), ss = null, cs = null, ls = {};
1226
1226
  function us(e = U.value) {
1227
1227
  return Number(e.end) - Number(e.start);
1228
1228
  }
@@ -1272,15 +1272,15 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1272
1272
  }
1273
1273
  async function hs() {
1274
1274
  let e = us();
1275
- os.value = !0, await is(), us() === e ? os.value = !1 : (await st(), cs && cancelAnimationFrame(cs), cs = requestAnimationFrame(() => {
1275
+ os.value = !0, await is(), us() === e ? os.value = !1 : (await ct(), cs && cancelAnimationFrame(cs), cs = requestAnimationFrame(() => {
1276
1276
  os.value = !1, cs = null;
1277
1277
  })), hi("zoomReset");
1278
1278
  }
1279
- let gs = y(() => W.value.max + fo.value);
1279
+ let gs = v(() => W.value.max + fo.value);
1280
1280
  function _s(e) {
1281
1281
  return e / (bt(gs.value) ? gs.value : 1);
1282
1282
  }
1283
- let vs = y(() => V.value.chart.grid.labels.yAxis.reverse);
1283
+ let vs = v(() => V.value.chart.grid.labels.yAxis.reverse);
1284
1284
  function ys(e) {
1285
1285
  return vs.value ? 1 - e : e;
1286
1286
  }
@@ -1295,24 +1295,24 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1295
1295
  individualHeight: i
1296
1296
  });
1297
1297
  }
1298
- let Ss = y(() => V.value.chart.grid.labels.xAxis.reverse);
1298
+ let Ss = v(() => V.value.chart.grid.labels.xAxis.reverse);
1299
1299
  function Cs(e) {
1300
1300
  return Ss.value ? 1 - e : e;
1301
1301
  }
1302
- let ws = y(() => isNaN(_s(fo.value)) ? J.value?.bottom : J.value?.bottom - J.value.height * _s(fo.value));
1302
+ let ws = v(() => isNaN(_s(fo.value)) ? J.value?.bottom : J.value?.bottom - J.value.height * _s(fo.value));
1303
1303
  function Ts(e) {
1304
1304
  let t = W.value.min, n = W.value.max - t;
1305
1305
  return !Number.isFinite(e) || !Number.isFinite(n) || n === 0 ? J.value?.bottom : J.value?.bottom - J.value.height * ((e - t) / n);
1306
1306
  }
1307
- let Es = y(() => W.value.min <= 0 && W.value.max >= 0 ? Ts(0) : W.value.min > 0 ? Ts(W.value.min) : Ts(W.value.max));
1307
+ let Es = v(() => W.value.min <= 0 && W.value.max >= 0 ? Ts(0) : W.value.min > 0 ? Ts(W.value.min) : Ts(W.value.max));
1308
1308
  function Ds(e) {
1309
1309
  let t = ![null, void 0].includes(V.value.chart.grid.labels.yAxis.scaleMin) && V.value.chart.grid.labels.yAxis.scaleMin > 0 && lo.value >= 0 ? J.value?.bottom : ws.value;
1310
- return e.value >= 0 ? _(t - e.y <= 0 ? 1e-5 : t - e.y) : _(e.y - ws.value <= 0 ? 1e-5 : e.y - ws.value);
1310
+ return e.value >= 0 ? g(t - e.y <= 0 ? 1e-5 : t - e.y) : g(e.y - ws.value <= 0 ? 1e-5 : e.y - ws.value);
1311
1311
  }
1312
1312
  function Os(e) {
1313
- return e.value >= 0 ? _(e.zeroPosition - e.y <= 0 ? 1e-5 : e.zeroPosition - e.y) : _(e.y - e.zeroPosition <= 0 ? 1e-5 : e.zeroPosition - e.y);
1313
+ return e.value >= 0 ? g(e.zeroPosition - e.y <= 0 ? 1e-5 : e.zeroPosition - e.y) : g(e.y - e.zeroPosition <= 0 ? 1e-5 : e.zeroPosition - e.y);
1314
1314
  }
1315
- let ks = y(() => {
1315
+ let ks = v(() => {
1316
1316
  let e = Math.max(1, X.value);
1317
1317
  return {
1318
1318
  bar: Dt(Math.max(1, J.value.width), e * Ec.value, 1),
@@ -1344,7 +1344,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1344
1344
  -Infinity
1345
1345
  ].includes(e.zeroPosition) ? 0 : e.zeroPosition;
1346
1346
  }
1347
- let Ps = D(null), Z = D([]), Fs = D(null), Is = y(() => {
1347
+ let Ps = E(null), Z = E([]), Fs = E(null), Is = v(() => {
1348
1348
  if (!G.value) return {
1349
1349
  sortedPoints: [],
1350
1350
  matchingPointsByXValue: /* @__PURE__ */ new Map()
@@ -1354,7 +1354,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1354
1354
  let i = K.value[r];
1355
1355
  if (["line", "plot"].includes(i.type) && Array.isArray(i.series)) for (let r = 0; r < i.series.length; r += 1) {
1356
1356
  let a = i.series[r];
1357
- if (!De(a?.x) || !De(a?.y)) continue;
1357
+ if (!f(a?.x) || !f(a?.y)) continue;
1358
1358
  let o = Number(a.x), s = Xc(a), c = {
1359
1359
  datapoint: i,
1360
1360
  point: a,
@@ -1394,15 +1394,15 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1394
1394
  });
1395
1395
  }), a;
1396
1396
  }
1397
- let Rs = y(() => G.value ? Array.from(Is.value.matchingPointsByXValue.keys()).sort((e, t) => Xc({ x: e }) - Xc({ x: t })) : []);
1397
+ let Rs = v(() => G.value ? Array.from(Is.value.matchingPointsByXValue.keys()).sort((e, t) => Xc({ x: e }) - Xc({ x: t })) : []);
1398
1398
  function zs(e) {
1399
1399
  let t = Rs.value[e];
1400
- if (!De(t)) {
1400
+ if (!f(t)) {
1401
1401
  Z.value = [], Fs.value = null, sa.value = null, Ui.value = !1;
1402
1402
  return;
1403
1403
  }
1404
1404
  Co(Number(t));
1405
- let n = le(Xc({ x: Number(t) }), J.value.top + J.value.height / 2, L.value);
1405
+ let n = fe(Xc({ x: Number(t) }), J.value.top + J.value.height / 2, L.value);
1406
1406
  n && (la.value = n), R.value = e, ca.value = e, Ui.value = !0;
1407
1407
  }
1408
1408
  function Bs(e) {
@@ -1502,7 +1502,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1502
1502
  }
1503
1503
  async function qs({ scale: e = 2 } = {}) {
1504
1504
  if (!xi.value) return;
1505
- let { imageUri: t, base64: n } = await Ue({
1505
+ let { imageUri: t, base64: n } = await We({
1506
1506
  domElement: xi.value,
1507
1507
  base64: !0,
1508
1508
  img: !0,
@@ -1511,7 +1511,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1511
1511
  width: r.width,
1512
1512
  height: r.height,
1513
1513
  aspectRatio: r.height ? r.width / r.height : 0
1514
- }, a = await Se(t, e) ?? i;
1514
+ }, a = await De(t, e) ?? i;
1515
1515
  return {
1516
1516
  imageUri: t,
1517
1517
  base64: n,
@@ -1554,7 +1554,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1554
1554
  let t = Qs(e);
1555
1555
  t !== null && (Ki.value.has(t.id) || Zs({ id: t.id }));
1556
1556
  }
1557
- let tc = y(() => `${V.value.chart.title.text || "Chart visualization"}. ${V.value.chart.title.subtitle.text || ""}`), nc = y(() => ({ linePlot: X.value > V.value.line.dot.hideAboveMaxSerieLength })), rc = y(() => V.value.chart.userOptions.show && (!V.value.chart.title.show || !V.value.chart.title.text)), ic = y(() => {
1557
+ let tc = v(() => `${V.value.chart.title.text || "Chart visualization"}. ${V.value.chart.title.subtitle.text || ""}`), nc = v(() => ({ linePlot: X.value > V.value.line.dot.hideAboveMaxSerieLength })), rc = v(() => V.value.chart.userOptions.show && (!V.value.chart.title.show || !V.value.chart.title.text)), ic = v(() => {
1558
1558
  if (Array.isArray(V.value.chart.highlightArea)) return V.value.chart.highlightArea.map((e) => {
1559
1559
  let t = Math.min(e.to, Ka.value - 1);
1560
1560
  return {
@@ -1570,12 +1570,12 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1570
1570
  ...e,
1571
1571
  span: e.from === e.to ? 1 : e.to < e.from ? 0 : e.to - e.from + 1
1572
1572
  }];
1573
- }), ac = y(() => Ii.value ? za.value.map((e, t) => ({
1573
+ }), ac = v(() => Ii.value ? za.value.map((e, t) => ({
1574
1574
  ...e,
1575
1575
  series: Ha(e.series),
1576
1576
  id: `uniqueId_${t}`,
1577
- color: pe(e.color ? e.color : ro.value[t] ? ro.value[t] : f[t])
1578
- })) : za.value), oc = y(() => K.value.map((e) => {
1577
+ color: Oe(e.color ? e.color : ro.value[t] ? ro.value[t] : re[t])
1578
+ })) : za.value), oc = v(() => K.value.map((e) => {
1579
1579
  let t = e.absoluteValues.map((e) => [void 0, null].includes(e) ? null : e);
1580
1580
  return {
1581
1581
  id: e.id,
@@ -1583,7 +1583,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1583
1583
  color: e.color,
1584
1584
  values: xt(X.value, t)
1585
1585
  };
1586
- })), sc = y(() => ({
1586
+ })), sc = v(() => ({
1587
1587
  responsiveBreakpoint: V.value.table.responsiveBreakpoint,
1588
1588
  roundingValues: V.value.table.rounding,
1589
1589
  showAverage: !1,
@@ -1608,10 +1608,10 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1608
1608
  animation: { show: !1 },
1609
1609
  cutNullValues: V.value.line.cutNullValues
1610
1610
  }
1611
- })), cc = y(() => {
1611
+ })), cc = v(() => {
1612
1612
  let e = Math.max(0, J.value?.width || 0);
1613
1613
  return V.value.chart.grid.position === "middle" ? Dt(e, Math.max(1, X.value), 1) : Dt(e, Math.max(1, X.value - 1), 0);
1614
- }), lc = y(() => V.value.chart.grid.position === "middle" ? cc.value : X.value <= 1 ? Math.max(0, J.value?.width || 0) : cc.value);
1614
+ }), lc = v(() => V.value.chart.grid.position === "middle" ? cc.value : X.value <= 1 ? Math.max(0, J.value?.width || 0) : cc.value);
1615
1615
  function uc(e) {
1616
1616
  let t = J.value?.left || 0;
1617
1617
  return V.value.chart.grid.position === "middle" ? t + cc.value / 2 + cc.value * e : t + cc.value * e;
@@ -1642,11 +1642,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1642
1642
  function gc(e) {
1643
1643
  return Math.max(1e-5, lc.value * e);
1644
1644
  }
1645
- let _c = y(() => fe(yo.value.filter((e) => !Ki.value.has(e.id)))), vc = [
1645
+ let _c = v(() => he(yo.value.filter((e) => !Ki.value.has(e.id)))), vc = [
1646
1646
  "bar",
1647
1647
  "line",
1648
1648
  "plot"
1649
- ], yc = y(() => _c.value.filter((e) => vc.includes(e.type))), bc = y(() => yc.value.length), xc = y(() => yc.value.filter((e) => e.type === "bar")), Sc = y(() => yc.value.filter((e) => e.type === "line")), Cc = y(() => yc.value.filter((e) => e.type === "plot")), wc = y(() => vo.value.filter((e) => e.type === "bar" && !Ki.value.has(e.id))), Tc = y(() => wc.value.length), Ec = y(() => Math.max(1, Tc.value)), Dc = y(() => {
1649
+ ], yc = v(() => _c.value.filter((e) => vc.includes(e.type))), bc = v(() => yc.value.length), xc = v(() => yc.value.filter((e) => e.type === "bar")), Sc = v(() => yc.value.filter((e) => e.type === "line")), Cc = v(() => yc.value.filter((e) => e.type === "plot")), wc = v(() => vo.value.filter((e) => e.type === "bar" && !Ki.value.has(e.id))), Tc = v(() => wc.value.length), Ec = v(() => Math.max(1, Tc.value)), Dc = v(() => {
1650
1650
  let e = St(_c.value, (e) => e.scaleLabel), t = {};
1651
1651
  for (let [n, r] of Object.entries(e)) {
1652
1652
  let e = Infinity, i = -Infinity, a = !1;
@@ -1669,7 +1669,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1669
1669
  };
1670
1670
  }
1671
1671
  return t;
1672
- }), Oc = y(() => _c.value.reduce((e, t) => {
1672
+ }), Oc = v(() => _c.value.reduce((e, t) => {
1673
1673
  let n = t.scaleLabel || "";
1674
1674
  return e[n] = (e[n] || 0) + 1, e;
1675
1675
  }, {}));
@@ -1692,7 +1692,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1692
1692
  unique: Oc.value[l] === 1
1693
1693
  };
1694
1694
  }
1695
- let Ac = y(() => J.value.width / X.value / Tc.value - jc.value * Tc.value), jc = y(() => ks.value.line * V.value.bar.periodGap), Mc = y(() => Math.max(1e-5, As() - (H.value.useIndividualScale && H.value.isStacked ? 0 : jc.value))), Nc = y(() => Mc.value * Math.min(Math.abs(V.value.bar.innerGap), .95)), Pc = y(() => {
1695
+ let Ac = v(() => J.value.width / X.value / Tc.value - jc.value * Tc.value), jc = v(() => ks.value.line * V.value.bar.periodGap), Mc = v(() => Math.max(1e-5, As() - (H.value.useIndividualScale && H.value.isStacked ? 0 : jc.value))), Nc = v(() => Mc.value * Math.min(Math.abs(V.value.bar.innerGap), .95)), Pc = v(() => {
1696
1696
  if (!V.value.chart.zoom.minimap.show) return [];
1697
1697
  let e = ac.value.filter((e) => !Ki.value.has(e.id)), t = 0;
1698
1698
  for (let n = 0; n < e.length; n += 1) {
@@ -1707,10 +1707,10 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1707
1707
  }
1708
1708
  let r = Hc(n, 0, 1).min;
1709
1709
  return n.map((e) => e + (r < 0 ? Math.abs(r) : 0));
1710
- }), Fc = y(() => V.value.chart.zoom.minimap.show ? ac.value.map((e) => ({
1710
+ }), Fc = v(() => V.value.chart.zoom.minimap.show ? ac.value.map((e) => ({
1711
1711
  ...e,
1712
1712
  isVisible: !Ki.value.has(e.id)
1713
- })) : []), Ic = y(() => G.value ? Z.value.map((e) => ({
1713
+ })) : []), Ic = v(() => G.value ? Z.value.map((e) => ({
1714
1714
  slotAbsoluteIndex: e.datapoint.slotAbsoluteIndex,
1715
1715
  shape: e.datapoint.shape || e.datapoint.type === "bar" ? "square" : "circle",
1716
1716
  name: e.datapoint.name,
@@ -1731,7 +1731,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1731
1731
  comments: e.comments || [],
1732
1732
  prefix: e.prefix || V.value.chart.labels.prefix,
1733
1733
  suffix: e.suffix || V.value.chart.labels.suffix
1734
- }))), Lc = y(() => W.value.ticks.map((e) => {
1734
+ }))), Lc = v(() => W.value.ticks.map((e) => {
1735
1735
  let t = e >= 0 ? ws.value - J.value.height * _s(e) : ws.value + J.value.height * _s(Math.abs(e));
1736
1736
  return {
1737
1737
  y: vs.value ? J.value.top + J.value.bottom - t : t,
@@ -1739,23 +1739,23 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1739
1739
  prefix: V.value.chart.labels.prefix,
1740
1740
  suffix: V.value.chart.labels.suffix
1741
1741
  };
1742
- })), Rc = y(() => {
1742
+ })), Rc = v(() => {
1743
1743
  let e = V.value.chart.annotations;
1744
1744
  if (!e || !Array.isArray(e) || e.every((e) => !e.show)) return [];
1745
1745
  let t = e.filter((e) => e.show && (e.yAxis.yTop != null || e.yAxis.yBottom != null));
1746
1746
  if (!t.length) return [];
1747
1747
  let { left: n, right: r } = J.value, i = ws.value, a = J.value.height, o = W.value.min, s = W.value.max - o, c = (e) => i - (e - 0) / s * a;
1748
1748
  return t.map((e, t) => {
1749
- let { yAxis: { yTop: i, yBottom: a, label: o } } = e, s = i != null && a != null && i !== a, l = i == null ? null : c(i), u = a == null ? null : c(a), d = No(o.fontSize);
1750
- d.font = `${o.fontSize}px sans-serif`;
1751
- let ee = d.measureText(o.text).width, te = o.fontSize, ne = (o.position === "start" ? n + o.padding?.left : r - o.padding?.right) + o.offsetX, f = (l != null && u != null ? Math.min(l, u) : l ?? u) - o.fontSize / 3 + o.offsetY - o.padding?.top, re;
1752
- re = o.textAnchor === "middle" ? ne - ee / 2 - o.padding?.left : o.textAnchor === "end" ? ne - ee - o.padding?.right : ne - o.padding?.left;
1753
- let ie = f - te * .75 - o.padding?.top;
1749
+ let { yAxis: { yTop: i, yBottom: a, label: o } } = e, s = i != null && a != null && i !== a, l = i == null ? null : c(i), u = a == null ? null : c(a), ee = No(o.fontSize);
1750
+ ee.font = `${o.fontSize}px sans-serif`;
1751
+ let d = ee.measureText(o.text).width, te = o.fontSize, ne = (o.position === "start" ? n + o.padding?.left : r - o.padding?.right) + o.offsetX, re = (l != null && u != null ? Math.min(l, u) : l ?? u) - o.fontSize / 3 + o.offsetY - o.padding?.top, ie;
1752
+ ie = o.textAnchor === "middle" ? ne - d / 2 - o.padding?.left : o.textAnchor === "end" ? ne - d - o.padding?.right : ne - o.padding?.left;
1753
+ let ae = re - te * .75 - o.padding?.top;
1754
1754
  return {
1755
1755
  show: ![
1756
1756
  l,
1757
1757
  u,
1758
- ie
1758
+ ae
1759
1759
  ].includes(NaN),
1760
1760
  id: Wc("annotation_y", [
1761
1761
  t,
@@ -1772,12 +1772,12 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1772
1772
  x2: r,
1773
1773
  _text: {
1774
1774
  x: ne,
1775
- y: f
1775
+ y: re
1776
1776
  },
1777
1777
  _box: {
1778
- x: re,
1779
- y: ie,
1780
- width: ee + o.padding?.left + o.padding?.right,
1778
+ x: ie,
1779
+ y: ae,
1780
+ width: d + o.padding?.left + o.padding?.right,
1781
1781
  height: te + o.padding?.top + o.padding?.bottom,
1782
1782
  fill: o.backgroundColor,
1783
1783
  stroke: o.border.stroke,
@@ -1858,17 +1858,17 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1858
1858
  function Gc() {
1859
1859
  return Ra.value || os.value || !V.value.line.showTransition ? void 0 : `all ${V.value.line.transitionDurationMs}ms ease-in-out`;
1860
1860
  }
1861
- let Kc = y(() => Vc(vo.value, 0, 1)), qc = y(() => {
1862
- let e = V.value.chart.grid.labels.xAxis.commonScaleSteps, t = V.value.chart.grid.labels.xAxis.scaleMin, n = V.value.chart.grid.labels.xAxis.scaleMax, r = t !== null && Number.isFinite(Number(t)) ? Number(t) : Kc.value.min, i = n !== null && Number.isFinite(Number(n)) ? Number(n) : Kc.value.max, a = V.value.chart.grid.labels.xAxis.useNiceScale ? ve(r, i, e) : ge(r, i, e);
1861
+ let Kc = v(() => Vc(vo.value, 0, 1)), qc = v(() => {
1862
+ let e = V.value.chart.grid.labels.xAxis.commonScaleSteps, t = V.value.chart.grid.labels.xAxis.scaleMin, n = V.value.chart.grid.labels.xAxis.scaleMax, r = t !== null && Number.isFinite(Number(t)) ? Number(t) : Kc.value.min, i = n !== null && Number.isFinite(Number(n)) ? Number(n) : Kc.value.max, a = V.value.chart.grid.labels.xAxis.useNiceScale ? ye(r, i, e) : pe(r, i, e);
1863
1863
  if (V.value.chart.grid.position !== "start") return a;
1864
1864
  let o = a.ticks.length > 1 ? a.ticks[1] - a.ticks[0] : 1;
1865
1865
  return {
1866
1866
  ...a,
1867
1867
  max: a.max + o
1868
1868
  };
1869
- }), Jc = y(() => G.value ? (Ss.value ? [...qc.value.ticks].reverse() : [...qc.value.ticks]).map((e, t) => ({
1869
+ }), Jc = v(() => G.value ? (Ss.value ? [...qc.value.ticks].reverse() : [...qc.value.ticks]).map((e, t) => ({
1870
1870
  id: `continuous_x_label_${t}`,
1871
- text: h(V.value.chart.grid.labels.xAxis.formatter, e, u({
1871
+ text: h(V.value.chart.grid.labels.xAxis.formatter, e, p({
1872
1872
  v: e,
1873
1873
  s: V.value.chart.labels.prefix,
1874
1874
  p: V.value.chart.labels.suffix,
@@ -1888,7 +1888,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1888
1888
  let t = qc.value.max - qc.value.min || 1, n = Cs((e - qc.value.min) / t);
1889
1889
  return J.value.left + J.value.width * n;
1890
1890
  }
1891
- let Zc = y(() => Vc(za.value, 0, 1)), Qc = y(() => G.value ? Zc.value.min : 0), $c = y(() => G.value ? Zc.value.max : Ka.value);
1891
+ let Zc = v(() => Vc(za.value, 0, 1)), Qc = v(() => G.value ? Zc.value.min : 0), $c = v(() => G.value ? Zc.value.max : Ka.value);
1892
1892
  function el(e, t) {
1893
1893
  return G.value ? e.x == null || e.y == null ? null : Xc(e) : uc(t);
1894
1894
  }
@@ -1896,19 +1896,19 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
1896
1896
  return !G.value || !e ? null : e.x ?? null;
1897
1897
  }
1898
1898
  function nl({ datapoint: e, totalSeries: t, gap: n, usableHeight: r, autoScaleValueMin: i, autoScaleValueMax: a, individualExtremes: o, forceExactScale: s = !1 }) {
1899
- let c = e.scaleSteps || V.value.chart.grid.labels.yAxis.commonScaleSteps, l = 1.0000001, u = s || !V.value.chart.grid.labels.yAxis.useNiceScale ? ge : ve, d = o.max === o.min ? o.max * l : o.max, ee = a === i ? a * l : a, te = u(o.min, d, c), ne = u(i, ee, c), f = te.min >= 0 ? 0 : Math.abs(te.min), re = te.max + Math.abs(f), ie = ne.max + 0, ae = e.stackIndex, p = t - 1 - ae, oe = H.value.isStacked ? 1 - e.cumulatedStackRatio : 0, se = H.value.isStacked ? r * oe + n * p : 0, ce = H.value.isStacked ? r * e.stackRatio : J.value.height;
1899
+ let c = e.scaleSteps || V.value.chart.grid.labels.yAxis.commonScaleSteps, l = 1.0000001, u = s || !V.value.chart.grid.labels.yAxis.useNiceScale ? pe : ye, ee = o.max === o.min ? o.max * l : o.max, d = a === i ? a * l : a, te = u(o.min, ee, c), ne = u(i, d, c), re = te.min >= 0 ? 0 : Math.abs(te.min), ie = te.max + Math.abs(re), ae = ne.max + 0, oe = e.stackIndex, se = t - 1 - oe, f = H.value.isStacked ? 1 - e.cumulatedStackRatio : 0, ce = H.value.isStacked ? r * f + n * se : 0, le = H.value.isStacked ? r * e.stackRatio : J.value.height;
1900
1900
  return {
1901
1901
  scaleSteps: c,
1902
1902
  individualScale: te,
1903
1903
  autoScaleSteps: ne,
1904
- individualZero: f,
1904
+ individualZero: re,
1905
1905
  autoScaleZero: 0,
1906
- individualMax: re,
1907
- autoScaleMax: ie,
1908
- yOffset: se,
1909
- individualHeight: ce,
1910
- zeroPosition: J.value?.bottom - se - ce * f / re,
1911
- autoScaleZeroPosition: J.value?.bottom - se - ce * 0 / ie
1906
+ individualMax: ie,
1907
+ autoScaleMax: ae,
1908
+ yOffset: ce,
1909
+ individualHeight: le,
1910
+ zeroPosition: J.value?.bottom - ce - le * re / ie,
1911
+ autoScaleZeroPosition: J.value?.bottom - ce - le * 0 / ae
1912
1912
  };
1913
1913
  }
1914
1914
  function rl({ datapoint: e, clampNegativeAutoScaleMaximum: t = !1 }) {
@@ -2004,10 +2004,10 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2004
2004
  function ul(e, t) {
2005
2005
  return Array.isArray(e) && e[t + U.value.start] || "";
2006
2006
  }
2007
- let dl = y(() => {
2007
+ let dl = v(() => {
2008
2008
  let e = bc.value, t = V.value.chart.grid.labels.yAxis.gap, n = H.value.isStacked ? t * (e - 1) : 0, r = J.value.height - n;
2009
2009
  return xc.value.map((n, i) => {
2010
- let { individualScale: a, autoScaleSteps: o, individualZero: s, individualMax: c, autoScaleMax: l, yOffset: u, individualHeight: d, zeroPosition: ee, autoScaleZeroPosition: te, scaleYLabels: ne, autoScaleYLabels: f, autoScaleRatiosToNiceScale: re } = cl({
2010
+ let { individualScale: a, autoScaleSteps: o, individualZero: s, individualMax: c, autoScaleMax: l, yOffset: u, individualHeight: ee, zeroPosition: d, autoScaleZeroPosition: te, scaleYLabels: ne, autoScaleYLabels: re, autoScaleRatiosToNiceScale: ie } = cl({
2011
2011
  datapoint: n,
2012
2012
  totalSeries: e,
2013
2013
  gap: t,
@@ -2015,211 +2015,211 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2015
2015
  clampNegativeAutoScaleMaximum: !0,
2016
2016
  filterMinimumValues: !0,
2017
2017
  preserveLooseMinimumExpression: !0
2018
- }), ie = Tc.value, ae = ll(n.comments), p = n.series.map((e, t) => {
2019
- let r = H.value.useIndividualScale ? (n.absoluteValues[t] + s) / c : _s(e), a = H.value.useIndividualScale && H.value.isStacked ? J.value?.left + J.value.width / X.value * t : J.value?.left + ks.value.bar * i + ks.value.bar * t * ie - Ac.value / 2 - i * jc.value;
2018
+ }), ae = Tc.value, oe = ll(n.comments), se = n.series.map((e, t) => {
2019
+ let r = H.value.useIndividualScale ? (n.absoluteValues[t] + s) / c : _s(e), a = H.value.useIndividualScale && H.value.isStacked ? J.value?.left + J.value.width / X.value * t : J.value?.left + ks.value.bar * i + ks.value.bar * t * ae - Ac.value / 2 - i * jc.value;
2020
2020
  return {
2021
- yOffset: _(u),
2022
- individualHeight: _(d),
2023
- x: _(a),
2021
+ yOffset: g(u),
2022
+ individualHeight: g(ee),
2023
+ x: g(a),
2024
2024
  y: bs({
2025
2025
  ratio: r,
2026
2026
  yOffset: u,
2027
- individualHeight: d
2027
+ individualHeight: ee
2028
2028
  }),
2029
2029
  value: n.absoluteValues[t],
2030
- zeroPosition: _(ee),
2031
- individualMax: _(c),
2032
- comment: ae[t] || ""
2030
+ zeroPosition: g(d),
2031
+ individualMax: g(c),
2032
+ comment: oe[t] || ""
2033
2033
  };
2034
- }), oe = n.series.map((e, t) => {
2034
+ }), f = n.series.map((e, t) => {
2035
2035
  let r = H.value.useIndividualScale && H.value.isStacked ? J.value?.left + J.value.width / X.value * t : J.value?.left - ks.value.bar / 2 + ks.value.bar * i + ks.value.bar * t * yo.value.filter((e) => e.type === "bar").filter((e) => !Ki.value.has(e.id)).length;
2036
2036
  return {
2037
- yOffset: _(u),
2038
- individualHeight: _(d),
2039
- x: _(r),
2040
- y: _(bs({
2041
- ratio: re[t] || 0,
2042
- yOffset: _(u),
2043
- individualHeight: _(d)
2037
+ yOffset: g(u),
2038
+ individualHeight: g(ee),
2039
+ x: g(r),
2040
+ y: g(bs({
2041
+ ratio: ie[t] || 0,
2042
+ yOffset: g(u),
2043
+ individualHeight: g(ee)
2044
2044
  })),
2045
2045
  value: n.absoluteValues[t],
2046
- zeroPosition: _(ee),
2047
- individualMax: _(c),
2048
- comment: ae[t] || ""
2046
+ zeroPosition: g(d),
2047
+ individualMax: g(c),
2048
+ comment: oe[t] || ""
2049
2049
  };
2050
- }), se = kc({
2050
+ }), ce = kc({
2051
2051
  datapoint: n,
2052
2052
  scaleYLabels: ne,
2053
- autoScaleYLabels: f,
2054
- zeroPosition: ee,
2053
+ autoScaleYLabels: re,
2054
+ zeroPosition: d,
2055
2055
  autoScaleZeroPosition: te,
2056
2056
  individualMax: c,
2057
2057
  autoScaleMax: l,
2058
2058
  yOffset: u,
2059
- individualHeight: d
2059
+ individualHeight: ee
2060
2060
  });
2061
2061
  return {
2062
2062
  ...n,
2063
2063
  yOffset: u,
2064
- autoScaleYLabels: f,
2065
- individualHeight: d,
2066
- scaleYLabels: n.autoScaling ? f : ne,
2064
+ autoScaleYLabels: re,
2065
+ individualHeight: ee,
2066
+ scaleYLabels: n.autoScaling ? re : ne,
2067
2067
  individualScale: n.autoScaling ? o : a,
2068
2068
  individualMax: n.autoScaling ? l : c,
2069
- zeroPosition: n.autoScaling ? te : ee,
2070
- plots: n.autoScaling ? oe : p,
2071
- scaleGroup: se,
2072
- groupId: se.groupId
2069
+ zeroPosition: n.autoScaling ? te : d,
2070
+ plots: n.autoScaling ? f : se,
2071
+ scaleGroup: ce,
2072
+ groupId: ce.groupId
2073
2073
  };
2074
2074
  });
2075
- }), Q = y(() => {
2076
- let e = bc.value, t = V.value.chart.grid.labels.yAxis.gap, n = H.value.isStacked ? t * (e - 1) : 0, o = J.value.height - n;
2077
- return Sc.value.map((n, s) => {
2078
- let { individualScale: c, autoScaleSteps: l, individualZero: u, individualMax: d, autoScaleMax: ee, yOffset: te, individualHeight: f, zeroPosition: p, autoScaleZeroPosition: oe, scaleYLabels: se, autoScaleYLabels: ce, autoScaleRatiosToNiceScale: le } = cl({
2079
- datapoint: n,
2075
+ }), Q = v(() => {
2076
+ let e = bc.value, t = V.value.chart.grid.labels.yAxis.gap, r = H.value.isStacked ? t * (e - 1) : 0, i = J.value.height - r;
2077
+ return Sc.value.map((r, a) => {
2078
+ let { individualScale: s, autoScaleSteps: u, individualZero: ee, individualMax: d, autoScaleMax: re, yOffset: ae, individualHeight: oe, zeroPosition: se, autoScaleZeroPosition: f, scaleYLabels: ce, autoScaleYLabels: le, autoScaleRatiosToNiceScale: de } = cl({
2079
+ datapoint: r,
2080
2080
  totalSeries: e,
2081
2081
  gap: t,
2082
- usableHeight: o
2083
- }), de = ll(n.comments), m = n.series.map((e, t) => {
2082
+ usableHeight: i
2083
+ }), fe = ll(r.comments), p = r.series.map((e, t) => {
2084
2084
  if (G.value && (e.x == null || e.y == null)) return {
2085
2085
  index: t,
2086
2086
  x: null,
2087
2087
  y: null,
2088
2088
  value: null,
2089
2089
  datasetXValue: tl(e),
2090
- comment: n.comments && n.comments.slice(U.value.start, U.value.end)[t] || ""
2090
+ comment: r.comments && r.comments.slice(U.value.start, U.value.end)[t] || ""
2091
2091
  };
2092
- let r = H.value.useIndividualScale ? (n.absoluteValues[t] + Math.abs(u)) / d : _s(_o(e));
2092
+ let n = H.value.useIndividualScale ? (r.absoluteValues[t] + Math.abs(ee)) / d : _s(_o(e));
2093
2093
  return {
2094
2094
  index: t,
2095
- x: _(el(e, t)),
2095
+ x: g(el(e, t)),
2096
2096
  datasetXValue: tl(e),
2097
- y: _(bs({
2098
- ratio: r,
2099
- yOffset: te,
2100
- individualHeight: f
2097
+ y: g(bs({
2098
+ ratio: n,
2099
+ yOffset: ae,
2100
+ individualHeight: oe
2101
2101
  })),
2102
- value: n.absoluteValues[t],
2103
- comment: de[t] || ""
2102
+ value: r.absoluteValues[t],
2103
+ comment: fe[t] || ""
2104
2104
  };
2105
- }), fe = n.series.map((e, t) => G.value && (e.x === null || e.y === null) ? {
2105
+ }), pe = r.series.map((e, t) => G.value && (e.x === null || e.y === null) ? {
2106
2106
  index: t,
2107
2107
  x: null,
2108
2108
  y: null,
2109
2109
  datasetXValue: tl(e),
2110
2110
  value: null,
2111
- comment: de[t] || ""
2112
- } : [void 0, null].includes(n.absoluteValues[t]) ? {
2111
+ comment: fe[t] || ""
2112
+ } : [void 0, null].includes(r.absoluteValues[t]) ? {
2113
2113
  index: t,
2114
- x: _(el(e, t)),
2115
- y: p,
2116
- value: n.absoluteValues[t],
2117
- comment: de[t] || ""
2114
+ x: g(el(e, t)),
2115
+ y: se,
2116
+ value: r.absoluteValues[t],
2117
+ comment: fe[t] || ""
2118
2118
  } : {
2119
2119
  index: t,
2120
- x: _(el(e, t)),
2120
+ x: g(el(e, t)),
2121
2121
  datasetXValue: tl(e),
2122
- y: _(bs({
2123
- ratio: le[t] || 0,
2124
- yOffset: te,
2125
- individualHeight: f
2122
+ y: g(bs({
2123
+ ratio: de[t] || 0,
2124
+ yOffset: ae,
2125
+ individualHeight: oe
2126
2126
  })),
2127
- value: n.absoluteValues[t],
2128
- comment: de[t] || ""
2129
- }), me = n.dashIndices && Array.isArray(n.dashIndices) && n?.dashIndices?.length > 0, he = V.value.line.cutNullValues ? ie(m) : ne(m.filter((e) => e.value !== null)), ge = V.value.line.cutNullValues ? ie(fe) : ne(fe.filter((e) => e.value !== null)), _e = V.value.line.cutNullValues ? r(m) : ke(m.filter((e) => e.value !== null)), ve = V.value.line.cutNullValues ? r(fe) : ke(fe.filter((e) => e.value !== null)), h = ae(V.value.line.cutNullValues ? m : m.filter((e) => e.value !== null)), g = ae(V.value.line.cutNullValues ? fe : fe.filter((e) => e.value !== null)), be = me ? ue(V.value.line.cutNullValues ? m : m.filter((e) => e.value !== null), n.dashIndices.map((e) => e - U.value.start)) : [], xe = me ? a(V.value.line.cutNullValues ? m : m.filter((e) => e.value !== null), n.dashIndices.map((e) => e - U.value.start)) : [], Se = kc({
2130
- datapoint: n,
2131
- scaleYLabels: se,
2132
- autoScaleYLabels: ce,
2133
- zeroPosition: p,
2134
- autoScaleZeroPosition: oe,
2127
+ value: r.absoluteValues[t],
2128
+ comment: fe[t] || ""
2129
+ }), me = r.dashIndices && Array.isArray(r.dashIndices) && r?.dashIndices?.length > 0, he = V.value.line.cutNullValues ? o(p) : ne(p.filter((e) => e.value !== null)), m = V.value.line.cutNullValues ? o(pe) : ne(pe.filter((e) => e.value !== null)), ge = V.value.line.cutNullValues ? ue(p) : n(p.filter((e) => e.value !== null)), _e = V.value.line.cutNullValues ? ue(pe) : n(pe.filter((e) => e.value !== null)), ve = Ae(V.value.line.cutNullValues ? p : p.filter((e) => e.value !== null)), ye = Ae(V.value.line.cutNullValues ? pe : pe.filter((e) => e.value !== null)), h = me ? c(V.value.line.cutNullValues ? p : p.filter((e) => e.value !== null), r.dashIndices.map((e) => e - U.value.start)) : [], be = me ? l(V.value.line.cutNullValues ? p : p.filter((e) => e.value !== null), r.dashIndices.map((e) => e - U.value.start)) : [], Se = kc({
2130
+ datapoint: r,
2131
+ scaleYLabels: ce,
2132
+ autoScaleYLabels: le,
2133
+ zeroPosition: se,
2134
+ autoScaleZeroPosition: f,
2135
2135
  individualMax: d,
2136
- autoScaleMax: ee,
2137
- yOffset: te,
2138
- individualHeight: f
2139
- }), Ce = H.value.useIndividualScale ? n.autoScaling ? oe : p : ao.value, we = Math.max(Math.max(n.autoScaling ? oe : se.at(-1) ? se.at(-1).y : 0, J.value?.top), Ce), Te = n.autoScaling ? fe : m, Ee = V.value.line.cutNullValues ? Te : Te.filter((e) => e.value !== null), De = n.absoluteValues.filter((e) => ![
2136
+ autoScaleMax: re,
2137
+ yOffset: ae,
2138
+ individualHeight: oe
2139
+ }), Ce = H.value.useIndividualScale ? r.autoScaling ? f : se : ao.value, we = Math.max(Math.max(r.autoScaling ? f : ce.at(-1) ? ce.at(-1).y : 0, J.value?.top), Ce), Te = r.autoScaling ? pe : p, Ee = V.value.line.cutNullValues ? Te : Te.filter((e) => e.value !== null), De = r.absoluteValues.filter((e) => ![
2140
2140
  null,
2141
2141
  void 0,
2142
2142
  NaN
2143
- ].includes(e)), Oe = !!n.temperatureColors && new Set(De).size <= 1;
2143
+ ].includes(e)), ke = !!r.temperatureColors && new Set(De).size <= 1;
2144
2144
  return {
2145
- ...n,
2146
- isFlatTemperatureLine: Oe,
2147
- temperatureColors: n.temperatureColors ? n.temperatureColors.map((e) => pe(e)) : null,
2148
- yOffset: te,
2149
- autoScaleYLabels: ce,
2150
- individualHeight: f,
2151
- scaleYLabels: n.autoScaling ? ce : se,
2152
- individualScale: n.autoScaling ? l : c,
2153
- individualMax: n.autoScaling ? ee : d,
2154
- zeroPosition: n.autoScaling ? oe : p,
2155
- curve: n.useStepper ? n.autoScaling ? g : h : n.autoScaling ? ge : he,
2156
- plots: n.autoScaling ? fe : m,
2157
- dashedStraight: be,
2158
- dashedSmooth: xe,
2145
+ ...r,
2146
+ isFlatTemperatureLine: ke,
2147
+ temperatureColors: r.temperatureColors ? r.temperatureColors.map((e) => Oe(e)) : null,
2148
+ yOffset: ae,
2149
+ autoScaleYLabels: le,
2150
+ individualHeight: oe,
2151
+ scaleYLabels: r.autoScaling ? le : ce,
2152
+ individualScale: r.autoScaling ? u : s,
2153
+ individualMax: r.autoScaling ? re : d,
2154
+ zeroPosition: r.autoScaling ? f : se,
2155
+ curve: r.useStepper ? r.autoScaling ? ye : ve : r.autoScaling ? m : he,
2156
+ plots: r.autoScaling ? pe : p,
2157
+ dashedStraight: h,
2158
+ dashedSmooth: be,
2159
2159
  hasDashedSegments: me,
2160
- area: n.useArea ? n.useStepper ? ae(Ee, we) : H.value.useIndividualScale ? V.value.line.cutNullValues ? re(n.autoScaling ? fe : m, we) : i(n.autoScaling ? fe.filter((e) => e.value !== null) : m.filter((e) => e.value !== null), we) : V.value.line.cutNullValues ? re(m, we) : i(m.filter((e) => e.value !== null), we) : "",
2161
- curveAreas: n.useArea ? n.useStepper ? ae(Ee, we).split(";").filter(Boolean).map((e) => `M${e}Z`) : ye(n.autoScaling ? V.value.line.cutNullValues ? fe : fe.filter((e) => e.value !== null) : V.value.line.cutNullValues ? m : m.filter((e) => e.value !== null), we, V.value.line.cutNullValues) : [],
2162
- straight: n.useStepper ? n.autoScaling ? g : h : n.autoScaling ? ve : _e,
2160
+ area: r.useArea ? r.useStepper ? Ae(Ee, we) : H.value.useIndividualScale ? V.value.line.cutNullValues ? xe(r.autoScaling ? pe : p, we) : ie(r.autoScaling ? pe.filter((e) => e.value !== null) : p.filter((e) => e.value !== null), we) : V.value.line.cutNullValues ? xe(p, we) : ie(p.filter((e) => e.value !== null), we) : "",
2161
+ curveAreas: r.useArea ? r.useStepper ? Ae(Ee, we).split(";").filter(Boolean).map((e) => `M${e}Z`) : te(r.autoScaling ? V.value.line.cutNullValues ? pe : pe.filter((e) => e.value !== null) : V.value.line.cutNullValues ? p : p.filter((e) => e.value !== null), we, V.value.line.cutNullValues) : [],
2162
+ straight: r.useStepper ? r.autoScaling ? ye : ve : r.autoScaling ? _e : ge,
2163
2163
  scaleGroup: Se,
2164
2164
  groupId: Se.groupId
2165
2165
  };
2166
2166
  });
2167
- }), $ = y(() => {
2167
+ }), $ = v(() => {
2168
2168
  let e = bc.value, t = V.value.chart.grid.labels.yAxis.gap, n = H.value.isStacked ? t * (e - 1) : 0, r = J.value.height - n;
2169
2169
  return Cc.value.map((n) => {
2170
- let { individualScale: i, autoScaleSteps: a, individualZero: o, individualMax: s, autoScaleMax: c, yOffset: l, individualHeight: u, zeroPosition: d, autoScaleZeroPosition: ee, scaleYLabels: te, autoScaleYLabels: ne, autoScaleRatiosToNiceScale: f } = cl({
2170
+ let { individualScale: i, autoScaleSteps: a, individualZero: o, individualMax: s, autoScaleMax: c, yOffset: l, individualHeight: u, zeroPosition: ee, autoScaleZeroPosition: d, scaleYLabels: te, autoScaleYLabels: ne, autoScaleRatiosToNiceScale: re } = cl({
2171
2171
  datapoint: n,
2172
2172
  totalSeries: e,
2173
2173
  gap: t,
2174
2174
  usableHeight: r,
2175
2175
  forceExactScale: !0,
2176
2176
  preserveLooseMinimumExpression: !0
2177
- }), re = ll(n.comments), ie = n.series.map((e, t) => {
2177
+ }), ie = ll(n.comments), ae = n.series.map((e, t) => {
2178
2178
  if (G.value && (e.x == null || e.y == null)) return {
2179
2179
  index: t,
2180
2180
  x: null,
2181
2181
  datasetXValue: tl(e),
2182
2182
  y: null,
2183
2183
  value: null,
2184
- comment: re[t] || ""
2184
+ comment: ie[t] || ""
2185
2185
  };
2186
2186
  let r = H.value.useIndividualScale ? (n.absoluteValues[t] + Math.abs(o)) / s : _s(_o(e));
2187
2187
  return {
2188
2188
  index: t,
2189
- x: _(el(e, t)),
2189
+ x: g(el(e, t)),
2190
2190
  datasetXValue: tl(e),
2191
- y: _(bs({
2191
+ y: g(bs({
2192
2192
  ratio: r,
2193
2193
  yOffset: l,
2194
2194
  individualHeight: u
2195
2195
  })),
2196
2196
  value: n.absoluteValues[t],
2197
- comment: re[t] || ""
2197
+ comment: ie[t] || ""
2198
2198
  };
2199
- }), ae = n.series.map((e, t) => G.value && (e.x === null || e.y === null) ? {
2199
+ }), oe = n.series.map((e, t) => G.value && (e.x === null || e.y === null) ? {
2200
2200
  index: t,
2201
2201
  x: null,
2202
2202
  datasetXValue: tl(e),
2203
2203
  y: null,
2204
2204
  value: null,
2205
- comment: re[t] || ""
2205
+ comment: ie[t] || ""
2206
2206
  } : {
2207
2207
  index: t,
2208
- x: _(el(e, t)),
2208
+ x: g(el(e, t)),
2209
2209
  datasetXValue: tl(e),
2210
- y: _(bs({
2211
- ratio: f[t] || 0,
2210
+ y: g(bs({
2211
+ ratio: re[t] || 0,
2212
2212
  yOffset: l,
2213
2213
  individualHeight: u
2214
2214
  })),
2215
2215
  value: n.absoluteValues[t],
2216
- comment: re[t] || ""
2217
- }), p = kc({
2216
+ comment: ie[t] || ""
2217
+ }), se = kc({
2218
2218
  datapoint: n,
2219
2219
  scaleYLabels: te,
2220
2220
  autoScaleYLabels: ne,
2221
- zeroPosition: d,
2222
- autoScaleZeroPosition: ee,
2221
+ zeroPosition: ee,
2222
+ autoScaleZeroPosition: d,
2223
2223
  individualMax: s,
2224
2224
  autoScaleMax: c,
2225
2225
  yOffset: l,
@@ -2233,13 +2233,13 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2233
2233
  scaleYLabels: n.autoScaling ? ne : te,
2234
2234
  individualScale: n.autoScaling ? a : i,
2235
2235
  individualMax: n.autoScaling ? c : s,
2236
- zeroPosition: n.autoScaling ? ee : d,
2237
- plots: n.autoScaling ? ae : ie,
2238
- scaleGroup: p,
2239
- groupId: p.groupId
2236
+ zeroPosition: n.autoScaling ? d : ee,
2237
+ plots: n.autoScaling ? oe : ae,
2238
+ scaleGroup: se,
2239
+ groupId: se.groupId
2240
2240
  };
2241
2241
  });
2242
- }), fl = y(() => {
2242
+ }), fl = v(() => {
2243
2243
  let e = Object.entries(Dc.value).reduce((e, [t, n]) => (e[t] = {
2244
2244
  ...n,
2245
2245
  scaleLabel: t
@@ -2254,7 +2254,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2254
2254
  ...t.scaleGroup
2255
2255
  });
2256
2256
  }), e;
2257
- }), pl = y(() => {
2257
+ }), pl = v(() => {
2258
2258
  let e = Q.value.map((e) => ({
2259
2259
  name: e.name,
2260
2260
  color: e.color,
@@ -2321,7 +2321,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2321
2321
  }))
2322
2322
  };
2323
2323
  });
2324
- }), ml = y(() => {
2324
+ }), ml = v(() => {
2325
2325
  let e = V.value.line.interLine || {}, t = e.pairs || [], n = e.colors || [];
2326
2326
  if (!t.length) return [];
2327
2327
  let r = [];
@@ -2331,7 +2331,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2331
2331
  let o = Q.value.find((e) => e.name === i), s = Q.value.find((e) => e.name === a);
2332
2332
  if (!o || !s || o.type !== "line" || s.type !== "line") return;
2333
2333
  let c = n?.[t]?.[0] ?? o.color, l = n?.[t]?.[1] ?? s.color;
2334
- he({
2334
+ _e({
2335
2335
  lineA: o.plots,
2336
2336
  lineB: s.plots,
2337
2337
  smoothA: !!o.smooth,
@@ -2347,7 +2347,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2347
2347
  });
2348
2348
  });
2349
2349
  }), r;
2350
- }), hl = y(() => {
2350
+ }), hl = v(() => {
2351
2351
  let e = Z.value[0]?.index ?? null, t = G.value ? e : R.value;
2352
2352
  return {
2353
2353
  timeLabel: G.value ? {
@@ -2364,7 +2364,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2364
2364
  plots: $.value,
2365
2365
  config: V.value
2366
2366
  };
2367
- }), gl = D({
2367
+ }), gl = E({
2368
2368
  months: [],
2369
2369
  shortMonths: [],
2370
2370
  days: [],
@@ -2373,12 +2373,12 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2373
2373
  vt(() => {
2374
2374
  let e = ++_l, t = V.value.chart.grid.labels.xAxisLabels.datetimeFormatter;
2375
2375
  (async () => {
2376
- let n = await Me(t.locale).catch(() => Me("en"));
2376
+ let n = await Ne(t.locale).catch(() => Ne("en"));
2377
2377
  e === _l && (gl.value = n.data);
2378
2378
  })();
2379
2379
  });
2380
- let vl = y(() => {
2381
- let e = V.value.chart.grid.labels.xAxisLabels.datetimeFormatter, t = je({
2380
+ let vl = v(() => {
2381
+ let e = V.value.chart.grid.labels.xAxisLabels.datetimeFormatter, t = Me({
2382
2382
  useUTC: e.useUTC,
2383
2383
  locale: gl.value,
2384
2384
  januaryAsYear: e.januaryAsYear
@@ -2387,7 +2387,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2387
2387
  let r = V.value.chart.grid.labels.xAxisLabels.values?.[e];
2388
2388
  return r == null ? "" : t.formatDate(new Date(r), n);
2389
2389
  };
2390
- }), yl = y(() => (V.value.chart.grid.labels.xAxisLabels.values || []).map((e, t) => ({
2390
+ }), yl = v(() => (V.value.chart.grid.labels.xAxisLabels.values || []).map((e, t) => ({
2391
2391
  text: vl.value(t, V.value.chart.zoom.timeFormat),
2392
2392
  absoluteIndex: t
2393
2393
  }))), bl = /* @__PURE__ */ new Map();
@@ -2418,10 +2418,10 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2418
2418
  function Cl(e) {
2419
2419
  let t = Sl(e);
2420
2420
  if (bl.has(t)) return bl.get(t);
2421
- let r = V.value.chart.tooltip.backgroundColor, i = "", a = "";
2421
+ let n = V.value.chart.tooltip.backgroundColor, r = "", i = "";
2422
2422
  switch (Bi.value[e.type]) {
2423
2423
  case "bar":
2424
- i = `<svg viewBox="0 0 40 40" height="14" width="14">${gi.pattern ? `<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${e.color}" />` : ""}<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${gi.pattern ? `url(#pattern_${F.value}_${e.slotAbsoluteIndex})` : e.color}" /></svg>`;
2424
+ r = `<svg viewBox="0 0 40 40" height="14" width="14">${gi.pattern ? `<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${e.color}" />` : ""}<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${gi.pattern ? `url(#pattern_${F.value}_${e.slotAbsoluteIndex})` : e.color}" /></svg>`;
2425
2425
  break;
2426
2426
  case "line":
2427
2427
  !e.shape || ![
@@ -2431,7 +2431,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2431
2431
  "diamond",
2432
2432
  "pentagon",
2433
2433
  "hexagon"
2434
- ].includes(e.shape) ? a = `<circle cx="10" cy="8" r="4" stroke="${r}" stroke-width="0.5" fill="${e.color}" />` : e.shape === "triangle" ? a = `<path d="${n({
2434
+ ].includes(e.shape) ? i = `<circle cx="10" cy="8" r="4" stroke="${n}" stroke-width="0.5" fill="${e.color}" />` : e.shape === "triangle" ? i = `<path d="${be({
2435
2435
  plot: {
2436
2436
  x: 10,
2437
2437
  y: 8
@@ -2439,7 +2439,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2439
2439
  radius: 4,
2440
2440
  sides: 3,
2441
2441
  rotation: .52
2442
- }).path}" fill="${e.color}" stroke="${r}" stroke-width="0.5" />` : e.shape === "square" ? a = `<path d="${n({
2442
+ }).path}" fill="${e.color}" stroke="${n}" stroke-width="0.5" />` : e.shape === "square" ? i = `<path d="${be({
2443
2443
  plot: {
2444
2444
  x: 10,
2445
2445
  y: 8
@@ -2447,7 +2447,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2447
2447
  radius: 4,
2448
2448
  sides: 4,
2449
2449
  rotation: .8
2450
- }).path}" fill="${e.color}" stroke="${r}" stroke-width="0.5" />` : e.shape === "diamond" ? a = `<path d="${n({
2450
+ }).path}" fill="${e.color}" stroke="${n}" stroke-width="0.5" />` : e.shape === "diamond" ? i = `<path d="${be({
2451
2451
  plot: {
2452
2452
  x: 10,
2453
2453
  y: 8
@@ -2455,7 +2455,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2455
2455
  radius: 4,
2456
2456
  sides: 4,
2457
2457
  rotation: 0
2458
- }).path}" fill="${e.color}" stroke="${r}" stroke-width="0.5" />` : e.shape === "pentagon" ? a = `<path d="${n({
2458
+ }).path}" fill="${e.color}" stroke="${n}" stroke-width="0.5" />` : e.shape === "pentagon" ? i = `<path d="${be({
2459
2459
  plot: {
2460
2460
  x: 10,
2461
2461
  y: 8
@@ -2463,7 +2463,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2463
2463
  radius: 4,
2464
2464
  sides: 5,
2465
2465
  rotation: .95
2466
- }).path}" fill="${e.color}" stroke="${r}" stroke-width="0.5" />` : e.shape === "hexagon" ? a = `<path d="${n({
2466
+ }).path}" fill="${e.color}" stroke="${n}" stroke-width="0.5" />` : e.shape === "hexagon" ? i = `<path d="${be({
2467
2467
  plot: {
2468
2468
  x: 10,
2469
2469
  y: 8
@@ -2471,13 +2471,13 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2471
2471
  radius: 4,
2472
2472
  sides: 6,
2473
2473
  rotation: 0
2474
- }).path}" fill="${e.color}" stroke="${r}" stroke-width="0.5" />` : e.shape === "star" && (a = `<polygon stroke="${r}" stroke-width="0.5" fill="${e.color}" points="${ee({
2474
+ }).path}" fill="${e.color}" stroke="${n}" stroke-width="0.5" />` : e.shape === "star" && (i = `<polygon stroke="${n}" stroke-width="0.5" fill="${e.color}" points="${oe({
2475
2475
  plot: {
2476
2476
  x: 10,
2477
2477
  y: 8
2478
2478
  },
2479
2479
  radius: 4
2480
- })}" />`), i = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${r}" stroke-width="0.5" height="3" width="20" fill="${e.color}" />${a}</svg>`;
2480
+ })}" />`), r = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${n}" stroke-width="0.5" height="3" width="20" fill="${e.color}" />${i}</svg>`;
2481
2481
  break;
2482
2482
  case "plot":
2483
2483
  if (!e.shape || ![
@@ -2488,11 +2488,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2488
2488
  "pentagon",
2489
2489
  "hexagon"
2490
2490
  ].includes(e.shape)) {
2491
- i = `<svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="${r}" stroke-width="1" fill="${e.color}" /></svg>`;
2491
+ r = `<svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="${n}" stroke-width="1" fill="${e.color}" /></svg>`;
2492
2492
  break;
2493
2493
  }
2494
2494
  if (e.shape === "star") {
2495
- i = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${r}" stroke-width="1" fill="${e.color}" points="${ee({
2495
+ r = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${n}" stroke-width="1" fill="${e.color}" points="${oe({
2496
2496
  plot: {
2497
2497
  x: 6,
2498
2498
  y: 6
@@ -2502,7 +2502,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2502
2502
  break;
2503
2503
  }
2504
2504
  if (e.shape === "triangle") {
2505
- i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${n({
2505
+ r = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${be({
2506
2506
  plot: {
2507
2507
  x: 6,
2508
2508
  y: 6
@@ -2510,11 +2510,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2510
2510
  radius: 6,
2511
2511
  sides: 3,
2512
2512
  rotation: .52
2513
- }).path}" fill="${e.color}" stroke="${r}" stroke-width="1" /></svg>`;
2513
+ }).path}" fill="${e.color}" stroke="${n}" stroke-width="1" /></svg>`;
2514
2514
  break;
2515
2515
  }
2516
2516
  if (e.shape === "square") {
2517
- i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${n({
2517
+ r = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${be({
2518
2518
  plot: {
2519
2519
  x: 6,
2520
2520
  y: 6
@@ -2522,11 +2522,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2522
2522
  radius: 6,
2523
2523
  sides: 4,
2524
2524
  rotation: .8
2525
- }).path}" fill="${e.color}" stroke="${r}" stroke-width="1" /></svg>`;
2525
+ }).path}" fill="${e.color}" stroke="${n}" stroke-width="1" /></svg>`;
2526
2526
  break;
2527
2527
  }
2528
2528
  if (e.shape === "diamond") {
2529
- i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${n({
2529
+ r = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${be({
2530
2530
  plot: {
2531
2531
  x: 6,
2532
2532
  y: 6
@@ -2534,11 +2534,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2534
2534
  radius: 5,
2535
2535
  sides: 4,
2536
2536
  rotation: 0
2537
- }).path}" fill="${e.color}" stroke="${r}" stroke-width="1" /></svg>`;
2537
+ }).path}" fill="${e.color}" stroke="${n}" stroke-width="1" /></svg>`;
2538
2538
  break;
2539
2539
  }
2540
2540
  if (e.shape === "pentagon") {
2541
- i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${n({
2541
+ r = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${be({
2542
2542
  plot: {
2543
2543
  x: 6,
2544
2544
  y: 6
@@ -2546,11 +2546,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2546
2546
  radius: 5,
2547
2547
  sides: 5,
2548
2548
  rotation: .95
2549
- }).path}" fill="${e.color}" stroke="${r}" stroke-width="1" /></svg>`;
2549
+ }).path}" fill="${e.color}" stroke="${n}" stroke-width="1" /></svg>`;
2550
2550
  break;
2551
2551
  }
2552
2552
  if (e.shape === "hexagon") {
2553
- i = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${n({
2553
+ r = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${be({
2554
2554
  plot: {
2555
2555
  x: 6,
2556
2556
  y: 6
@@ -2558,23 +2558,23 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2558
2558
  radius: 5,
2559
2559
  sides: 6,
2560
2560
  rotation: 0
2561
- }).path}" fill="${e.color}" stroke="${r}" stroke-width="1" /></svg>`;
2561
+ }).path}" fill="${e.color}" stroke="${n}" stroke-width="1" /></svg>`;
2562
2562
  break;
2563
2563
  }
2564
2564
  break;
2565
2565
  default: break;
2566
2566
  }
2567
- return bl.set(t, i), i;
2567
+ return bl.set(t, r), r;
2568
2568
  }
2569
- let wl = y(() => {
2570
- let e = "", t = Ic.value.map((e) => e.value).filter((e) => me(e) && e !== null).reduce((e, t) => Math.abs(e) + Math.abs(t), 0), n = G.value ? { text: h(V.value.chart.grid.labels.xAxis.formatter, Z.value[0]?.point.raw?.x ?? Z.value[0]?.point.x, u({
2569
+ let wl = v(() => {
2570
+ let e = "", t = Ic.value.map((e) => e.value).filter((e) => ke(e) && e !== null).reduce((e, t) => Math.abs(e) + Math.abs(t), 0), n = G.value ? { text: h(V.value.chart.grid.labels.xAxis.formatter, Z.value[0]?.point.raw?.x ?? Z.value[0]?.point.x, p({
2571
2571
  v: Z.value[0]?.point.raw?.x ?? Z.value[0]?.point.x,
2572
2572
  r: V.value.chart.tooltip.roundingValue
2573
2573
  }), {
2574
2574
  datapoint: null,
2575
2575
  serriesIndex: null
2576
2576
  }) } : Y.value[R.value], r = V.value.chart.tooltip.customFormat;
2577
- if (Oe(r)) try {
2577
+ if (ge(r)) try {
2578
2578
  let e = r(xl(n));
2579
2579
  if (typeof e == "string") return e;
2580
2580
  } catch (e) {
@@ -2585,8 +2585,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2585
2585
  G.value || (e += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${V.value.chart.tooltip.borderColor}; width:100%">${V.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !V.value.chart.tooltip.useDefaultTimeFormat ? t : n.text}</div>`);
2586
2586
  }
2587
2587
  return Ic.value.forEach((r) => {
2588
- if (me(r.value)) {
2589
- let i = Cl(r), a = V.value.chart.tooltip.showValue ? h(r.type === "line" ? V.value.line.labels.formatter : r.type === "bar" ? V.value.bar.labels.formatter : V.value.plot.labels.formatter, r.value, u({
2588
+ if (ke(r.value)) {
2589
+ let i = Cl(r), a = V.value.chart.tooltip.showValue ? h(r.type === "line" ? V.value.line.labels.formatter : r.type === "bar" ? V.value.bar.labels.formatter : V.value.plot.labels.formatter, r.value, p({
2590
2590
  p: r.prefix,
2591
2591
  v: r.value,
2592
2592
  s: r.suffix,
@@ -2607,8 +2607,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2607
2607
  </div>
2608
2608
  </div>
2609
2609
  </div>
2610
- ` : e += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;white-space:nowrap;"><div style="width:20px">${i}</div> ${r.name}: <b>${s}</b> ${V.value.chart.tooltip.showPercentage ? `(${u({
2611
- v: _(Math.abs(r.value) / t * 100),
2610
+ ` : e += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;white-space:nowrap;"><div style="width:20px">${i}</div> ${r.name}: <b>${s}</b> ${V.value.chart.tooltip.showPercentage ? `(${p({
2611
+ v: g(Math.abs(r.value) / t * 100),
2612
2612
  s: "%",
2613
2613
  r: V.value.chart.tooltip.roundingPercentage
2614
2614
  })})` : ""}</div>`;
@@ -2616,7 +2616,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2616
2616
  V.value.chart.comments.showInTooltip && c && (e += `<div class="vue-data-ui-tooltip-comment" style="background:${r.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${r.color}">${c}</div>`);
2617
2617
  }
2618
2618
  }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${V.value.chart.tooltip.color}">${e}</div>`;
2619
- }), Tl = y(() => {
2619
+ }), Tl = v(() => {
2620
2620
  if (!G.value) return [];
2621
2621
  let e = /* @__PURE__ */ new Set(), t = [];
2622
2622
  return K.value.forEach((n) => {
@@ -2630,7 +2630,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2630
2630
  });
2631
2631
  function El(e) {
2632
2632
  let t = Number(e);
2633
- return Number.isFinite(t) ? h(V.value.chart.grid.labels.xAxis.formatter, t, u({
2633
+ return Number.isFinite(t) ? h(V.value.chart.grid.labels.xAxis.formatter, t, p({
2634
2634
  v: t,
2635
2635
  r: V.value.table.rounding
2636
2636
  }), {
@@ -2654,7 +2654,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2654
2654
  }
2655
2655
  function Al(e, t) {
2656
2656
  let n = Ol(e, t);
2657
- return bt(n) ? h(e.type === "line" ? V.value.line.labels.formatter : e.type === "bar" ? V.value.bar.labels.formatter : V.value.plot.labels.formatter, n, u({
2657
+ return bt(n) ? h(e.type === "line" ? V.value.line.labels.formatter : e.type === "bar" ? V.value.bar.labels.formatter : V.value.plot.labels.formatter, n, p({
2658
2658
  p: e.prefix || V.value.chart.labels.prefix,
2659
2659
  v: n,
2660
2660
  s: e.suffix || V.value.chart.labels.suffix,
@@ -2664,7 +2664,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2664
2664
  function jl(e) {
2665
2665
  return K.value.map((t) => Ol(t, e) ?? 0).reduce((e, t) => e + t, 0);
2666
2666
  }
2667
- let Ml = y(() => {
2667
+ let Ml = v(() => {
2668
2668
  if (G.value) return Tl.value.map((e) => {
2669
2669
  let t = jl(e);
2670
2670
  return {
@@ -2687,7 +2687,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2687
2687
  });
2688
2688
  }
2689
2689
  return e;
2690
- }), Nl = y(() => vo.value.length === 0 ? {
2690
+ }), Nl = v(() => vo.value.length === 0 ? {
2691
2691
  head: [],
2692
2692
  body: [],
2693
2693
  config: {},
@@ -2699,7 +2699,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2699
2699
  type: e.type
2700
2700
  })),
2701
2701
  body: Ml.value.map((e) => [e.period].concat(e.csvValues))
2702
- }), Pl = y(() => {
2702
+ }), Pl = v(() => {
2703
2703
  let e = V.value.table.showSum, t = [G.value ? V.value.chart.grid.labels.axis.xLabel || "X" : ""].concat(K.value.map((e) => e.name));
2704
2704
  e && (t = t.concat(" <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2\" /></svg>"));
2705
2705
  let n = Ml.value.map((t) => [t.period].concat(t.formattedValues, e ? t.formattedSum : [])), r = {
@@ -2727,8 +2727,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2727
2727
  [V.value.chart.title.text],
2728
2728
  [V.value.chart.title.subtitle.text],
2729
2729
  [""]
2730
- ], n = [G.value ? V.value.chart.grid.labels.axis.xLabel || "X" : V.value.table.columnNames.period, ...Nl.value.head.map((e) => e.label)], r = Nl.value.body, i = se(t.concat([n]).concat(r));
2731
- e ? e(i) : m({
2730
+ ], n = [G.value ? V.value.chart.grid.labels.axis.xLabel || "X" : V.value.table.columnNames.period, ...Nl.value.head.map((e) => e.label)], r = Nl.value.body, i = a(t.concat([n]).concat(r));
2731
+ e ? e(i) : ae({
2732
2732
  csvContent: i,
2733
2733
  title: V.value.chart.title.text || "vue-ui-xy"
2734
2734
  });
@@ -2771,43 +2771,43 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2771
2771
  B.value.dataLabels = V.value.chart.grid.labels.fontSize, B.value.yAxis = V.value.chart.grid.labels.axis.fontSize, B.value.xAxis = V.value.chart.grid.labels.xAxisLabels.fontSize, B.value.plotLabels = V.value.chart.labels.fontSize, Oa.value.plot = V.value.plot.radius, Oa.value.line = V.value.line.radius, Oa.value.selectedLine = V.value.line.dot.selectedRadius;
2772
2772
  return;
2773
2773
  }
2774
- B.value.dataLabels = c({
2774
+ B.value.dataLabels = d({
2775
2775
  relator: Li.value,
2776
2776
  adjuster: 400,
2777
2777
  source: V.value.chart.grid.labels.fontSize,
2778
2778
  threshold: 10,
2779
2779
  fallback: 10
2780
- }), B.value.yAxis = c({
2780
+ }), B.value.yAxis = d({
2781
2781
  relator: P.value,
2782
2782
  adjuster: 1e3,
2783
2783
  source: V.value.chart.grid.labels.axis.fontSize,
2784
2784
  threshold: 10,
2785
2785
  fallback: 10
2786
- }), B.value.xAxis = c({
2786
+ }), B.value.xAxis = d({
2787
2787
  relator: P.value,
2788
2788
  adjuster: 1e3,
2789
2789
  source: V.value.chart.grid.labels.xAxisLabels.fontSize,
2790
2790
  threshold: 10,
2791
2791
  fallback: 10
2792
- }), B.value.plotLabels = c({
2792
+ }), B.value.plotLabels = d({
2793
2793
  relator: P.value,
2794
2794
  adjuster: 800,
2795
2795
  source: V.value.chart.labels.fontSize,
2796
2796
  threshold: 10,
2797
2797
  fallback: 10
2798
- }), Oa.value.plot = c({
2798
+ }), Oa.value.plot = d({
2799
2799
  relator: P.value,
2800
2800
  adjuster: 800,
2801
2801
  source: V.value.plot.radius,
2802
2802
  threshold: 1,
2803
2803
  fallback: 1
2804
- }), Oa.value.line = c({
2804
+ }), Oa.value.line = d({
2805
2805
  relator: P.value,
2806
2806
  adjuster: 800,
2807
2807
  source: V.value.line.radius,
2808
2808
  threshold: 1,
2809
2809
  fallback: 0
2810
- }), Oa.value.selectedLine = c({
2810
+ }), Oa.value.selectedLine = d({
2811
2811
  relator: P.value,
2812
2812
  adjuster: 800,
2813
2813
  source: V.value.line.dot.selectedRadius,
@@ -2816,23 +2816,23 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2816
2816
  });
2817
2817
  }
2818
2818
  function Hl() {
2819
- if (be(M.dataset) ? (t({
2819
+ if (t(M.dataset) ? (ve({
2820
2820
  componentName: "VueUiXy",
2821
2821
  type: "dataset",
2822
2822
  debug: Fa.value
2823
- }), Ba.value = !0) : M.dataset.forEach((e, n) => {
2824
- [null, void 0].includes(e.name) && (t({
2823
+ }), Ba.value = !0) : M.dataset.forEach((e, t) => {
2824
+ [null, void 0].includes(e.name) && (ve({
2825
2825
  componentName: "VueUiXy",
2826
2826
  type: "datasetSerieAttribute",
2827
2827
  property: "name (string)",
2828
- index: n,
2828
+ index: t,
2829
2829
  debug: Fa.value
2830
2830
  }), Ba.value = !0);
2831
2831
  }), Fa.value && M.dataset.forEach((e) => {
2832
2832
  e.series.forEach((t, n) => {
2833
- me(t) || console.warn(`VueUiXy has detected an unsafe value in your dataset:\n-----> The serie '${e.name}' contains the value '${t}' at index ${n}.\n'${t}' was converted to null to allow the chart to display.`);
2833
+ ke(t) || console.warn(`VueUiXy has detected an unsafe value in your dataset:\n-----> The serie '${e.name}' contains the value '${t}' at index ${n}.\n'${t}' was converted to null to allow the chart to display.`);
2834
2834
  });
2835
- }), be(M.dataset) || (Ba.value = V.value.loading), Qi.value = V.value.chart.userOptions.showOnChartHover, $i.value = V.value.chart.userOptions.keepStateOnChartLeave, ea.value = !V.value.chart.userOptions.showOnChartHover, Pa(), V.value.responsive) {
2835
+ }), t(M.dataset) || (Ba.value = V.value.loading), Qi.value = V.value.chart.userOptions.showOnChartHover, $i.value = V.value.chart.userOptions.keepStateOnChartLeave, ea.value = !V.value.chart.userOptions.showOnChartHover, Pa(), V.value.responsive) {
2836
2836
  let e = xi.value.parentNode;
2837
2837
  Ni.value && (Pi.value && Ni.value.unobserve(Pi.value), Ni.value.disconnect(), Ni.value = null, Pi.value = null);
2838
2838
  let { height: t, width: n } = e.getBoundingClientRect(), r = null, i = 0;
@@ -2845,12 +2845,12 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2845
2845
  Ti.value && (l = Ti.value.getBoundingClientRect().height);
2846
2846
  let u = 0;
2847
2847
  Ei.value && (u = Ei.value.getBoundingClientRect().height), Li.value = t - i - c - o - l - u - 12, P.value = n, Ri.value = `0 0 ${P.value < 0 ? 10 : P.value} ${Li.value < 0 ? 10 : Li.value}`, Vl();
2848
- let d = new ResizeObserver((e) => {
2848
+ let ee = new ResizeObserver((e) => {
2849
2849
  for (let t of e) i = V.value.chart.title.show && Si.value ? Si.value.getBoundingClientRect().height : 0, o = Ci.value && Ci.value.$el ? Ci.value.$el.getBoundingClientRect().height : 0, c = wi.value ? wi.value.getBoundingClientRect().height : 0, l = Ti.value ? Ti.value.getBoundingClientRect().height : 0, u = Ei.value ? Ei.value.getBoundingClientRect().height : 0, requestAnimationFrame(() => {
2850
2850
  Li.value = t.contentRect.height - i - c - o - l - u - 12, P.value = t.contentBoxSize[0].inlineSize ?? t.contentRect.width, Ri.value = `0 0 ${P.value < 0 ? 10 : P.value} ${Li.value < 0 ? 10 : Li.value}`, Vl(), Ca();
2851
2851
  });
2852
2852
  });
2853
- Ni.value = d, Pi.value = e, d.observe(e);
2853
+ Ni.value = ee, Pi.value = e, ee.observe(e);
2854
2854
  } else Li.value = V.value.chart.height, P.value = V.value.chart.width, B.value.dataLabels = V.value.chart.grid.labels.fontSize, B.value.yAxis = V.value.chart.grid.labels.axis.fontSize, B.value.xAxis = V.value.chart.grid.labels.xAxisLabels.fontSize, B.value.plotLabels = V.value.chart.labels.fontSize, Oa.value.plot = V.value.plot.radius, Oa.value.line = V.value.line.radius, Oa.value.selectedLine = V.value.line.dot.selectedRadius, Ri.value = `0 0 ${P.value} ${Li.value}`;
2855
2855
  Ca();
2856
2856
  }
@@ -2860,11 +2860,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2860
2860
  y: e.clientY
2861
2861
  };
2862
2862
  }
2863
- ut(() => {
2863
+ dt(() => {
2864
2864
  Hl(), is(), document.addEventListener("mousemove", Ul, { passive: !0 }), document.addEventListener("scroll", Po, { passive: !0 });
2865
- }), lt(() => {
2865
+ }), ut(() => {
2866
2866
  document.removeEventListener("scroll", Po, { passive: !0 }), document.removeEventListener("mousemove", Ul, { passive: !0 }), Ni.value && (Pi.value && Ni.value.unobserve(Pi.value), Ni.value.disconnect(), Ni.value = null, Pi.value = null), Zl(), ds();
2867
- }), He({
2867
+ }), Ue({
2868
2868
  timeLabelsEls: Ai,
2869
2869
  timeLabels: Y,
2870
2870
  slicer: U,
@@ -2889,19 +2889,19 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2889
2889
  width: P,
2890
2890
  rotation: V.value.chart.grid.labels.xAxisLabels.autoRotate.angle
2891
2891
  });
2892
- let Wl = D(!1), Gl = D(null), Kl = D(200), ql = y(() => R.value ?? I.value ?? 0), Jl = y(() => {
2892
+ let Wl = E(!1), Gl = E(null), Kl = E(200), ql = v(() => R.value ?? I.value ?? 0), Jl = v(() => {
2893
2893
  if (!G.value) return null;
2894
- if (De(sa.value)) return Number(sa.value);
2894
+ if (f(sa.value)) return Number(sa.value);
2895
2895
  let e = Z.value[0];
2896
- return De(e?.point?.x) ? Number(e.point.x) : null;
2896
+ return f(e?.point?.x) ? Number(e.point.x) : null;
2897
2897
  });
2898
2898
  function Yl() {
2899
2899
  let e = Math.ceil(Kl.value || 200);
2900
2900
  return Math.min(Math.max(e, 1), 200);
2901
2901
  }
2902
2902
  function Xl() {
2903
- let e = Yl(), t = (G.value && De(Jl.value) ? Xc({ x: Jl.value }) : uc(ql.value)) - e / 2 - (200 - e) / 2, n = J.value?.left - (200 - e) / 2, r = J.value?.right - (200 + e) / 2;
2904
- return _(Math.max(n, Math.min(t, r)));
2903
+ let e = Yl(), t = (G.value && f(Jl.value) ? Xc({ x: Jl.value }) : uc(ql.value)) - e / 2 - (200 - e) / 2, n = J.value?.left - (200 - e) / 2, r = J.value?.right - (200 + e) / 2;
2904
+ return g(Math.max(n, Math.min(t, r)));
2905
2905
  }
2906
2906
  function Zl() {
2907
2907
  fa.value !== null && (cancelAnimationFrame(fa.value), fa.value = null), da.value && z.value && da.value.unobserve(z.value), da.value &&= (da.value.disconnect(), null), pa.value &&= (pa.value(), null), z.value = null;
@@ -2912,11 +2912,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2912
2912
  });
2913
2913
  }
2914
2914
  function $l(e) {
2915
- !da.value || !e || (z.value && z.value !== e && (da.value.unobserve(z.value), z.value = null), e !== z.value && (st(() => {
2915
+ !da.value || !e || (z.value && z.value !== e && (da.value.unobserve(z.value), z.value = null), e !== z.value && (ct(() => {
2916
2916
  e.offsetParent !== null && Ql(e.offsetWidth || e.getBoundingClientRect().width || 200);
2917
2917
  }), da.value.observe(e), z.value = e));
2918
2918
  }
2919
- ut(() => {
2919
+ dt(() => {
2920
2920
  da.value = new ResizeObserver((e) => {
2921
2921
  let t = e.find((e) => e.target === z.value) || e[0];
2922
2922
  t && Ql(t.contentRect.width || 200);
@@ -2931,14 +2931,14 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2931
2931
  });
2932
2932
  });
2933
2933
  });
2934
- let eu = y(() => {
2934
+ let eu = v(() => {
2935
2935
  if (G.value) {
2936
2936
  if (!Number.isFinite(Number(Jl.value))) return "";
2937
2937
  } else if ([null, void 0].includes(R.value) && [null, void 0].includes(I.value)) return "";
2938
2938
  let e = (R.value == null ? 0 : R.value) || (I.value == null ? 0 : I.value), t = V.value.chart.timeTag.customFormat;
2939
2939
  if (Wl.value = !1, G.value) {
2940
2940
  let e = Jl.value;
2941
- if (Oe(t)) try {
2941
+ if (ge(t)) try {
2942
2942
  let n = t({
2943
2943
  absoluteIndex: e,
2944
2944
  seriesIndex: e,
@@ -2952,12 +2952,12 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2952
2952
  } catch {
2953
2953
  console.warn("Custom format cannot be applied on timeTag."), Wl.value = !1;
2954
2954
  }
2955
- return u({
2955
+ return p({
2956
2956
  v: e,
2957
2957
  r: V.value.chart.grid.labels.xAxis.rounding
2958
2958
  });
2959
2959
  }
2960
- if (Oe(t)) try {
2960
+ if (ge(t)) try {
2961
2961
  let n = t({
2962
2962
  absoluteIndex: e + U.value.start,
2963
2963
  seriesIndex: e,
@@ -2975,14 +2975,14 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2975
2975
  });
2976
2976
  function tu({ serie: e, plot: t, type: n }) {
2977
2977
  if (!bt(t.value)) return "";
2978
- let r = u({
2978
+ let r = p({
2979
2979
  p: e.prefix || V.value.chart.labels.prefix,
2980
2980
  v: t.value,
2981
2981
  s: e.suffix || V.value.chart.labels.suffix,
2982
2982
  r: V.value[n].labels.rounding
2983
2983
  }), i = t.datasetXValue;
2984
- return ce({
2985
- content: G.value && De(i) ? `x: ${u({
2984
+ return de({
2985
+ content: G.value && f(i) ? `x: ${p({
2986
2986
  v: i,
2987
2987
  r: V.value.chart.grid.labels.xAxis.rounding
2988
2988
  })}\ny: ${r}` : h(V.value[n].labels.formatter, t.value, r, {
@@ -2998,14 +2998,14 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
2998
2998
  function nu({ plot: e }) {
2999
2999
  let t = V.value.bar.labels.offsetY, n = Math.abs(Os(e)), r = e.value < 0, i = {
3000
3000
  x: (H.value.useIndividualScale && H.value.isStacked ? e.x + ks.value.line / 2 : js(e) + As() / 2 - jc.value / 2) + V.value.bar.labels.offsetX,
3001
- y: _(e.y) + (V.value.bar.labels.alwaysOnTop ? t - (r ? n : 0) : e.value >= 0 ? t : -t * 3)
3001
+ y: g(e.y) + (V.value.bar.labels.alwaysOnTop ? t - (r ? n : 0) : e.value >= 0 ? t : -t * 3)
3002
3002
  };
3003
3003
  return `translate(${i.x}, ${i.y}) rotate(${V.value.bar.labels.rotation})`;
3004
3004
  }
3005
3005
  function ru({ plot: e, type: t }) {
3006
3006
  let n = V.value[t].labels.offsetY, r = {
3007
3007
  x: e.x + V.value[t].labels.offsetX,
3008
- y: _(e.y) + (V.value[t].labels.alwaysOnTop || e.value >= 0 ? n : -n * 3)
3008
+ y: g(e.y) + (V.value[t].labels.alwaysOnTop || e.value >= 0 ? n : -n * 3)
3009
3009
  };
3010
3010
  return `translate(${r.x}, ${r.y}) rotate(${V.value[t].labels.rotation})`;
3011
3011
  }
@@ -3014,22 +3014,22 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3014
3014
  let n = e.value >= 0;
3015
3015
  return V.value[t].labels.rotation === 0 ? "middle" : V.value[t].labels.alwaysOnTop || n ? "start" : "end";
3016
3016
  }
3017
- let au = y(() => G.value ? De(sa.value) ? Xc({ x: Number(sa.value) }) : De(Fs.value) ? Fs.value : null : uc((R.value === null ? 0 : R.value) || (I.value === null ? 0 : I.value))), ou = y(() => V.value.chart.highlighter.crosshairs.show && Xo.value), su = y(() => [
3017
+ let au = v(() => G.value ? f(sa.value) ? Xc({ x: Number(sa.value) }) : f(Fs.value) ? Fs.value : null : uc((R.value === null ? 0 : R.value) || (I.value === null ? 0 : I.value))), ou = v(() => V.value.chart.highlighter.crosshairs.show && Xo.value), su = v(() => [
3018
3018
  ...Q.value,
3019
3019
  ...$.value,
3020
3020
  ...dl.value
3021
3021
  ].flatMap((e) => (e.plots || []).filter((t, n) => uu(e, t, n)).filter((e) => bt(e.value)).map((t) => ({
3022
3022
  ...t,
3023
3023
  serie: e,
3024
- x: _(t.x),
3025
- y: _(t.y)
3026
- })))), cu = y(() => {
3024
+ x: g(t.x),
3025
+ y: g(t.y)
3026
+ })))), cu = v(() => {
3027
3027
  if (!ou.value) return null;
3028
3028
  if (G.value) {
3029
3029
  let e = Z.value[0], t = e?.point?.raw?.x ?? e?.point?.x;
3030
- return De(t) ? {
3030
+ return f(t) ? {
3031
3031
  x: au.value,
3032
- text: h(V.value.chart.grid.labels.xAxis.formatter, t, u({
3032
+ text: h(V.value.chart.grid.labels.xAxis.formatter, t, p({
3033
3033
  v: t,
3034
3034
  r: V.value.chart.tooltip.roundingValue
3035
3035
  }))
@@ -3069,7 +3069,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3069
3069
  });
3070
3070
  }), n;
3071
3071
  }
3072
- let pu = y(() => fu(dl.value, "bar")), mu = y(() => fu($.value, "plot")), hu = y(() => fu(Q.value, "line"));
3072
+ let pu = v(() => fu(dl.value, "bar")), mu = v(() => fu($.value, "plot")), hu = v(() => fu(Q.value, "line"));
3073
3073
  _t(() => M.dataset, (e) => {
3074
3074
  if (Array.isArray(e) && e.length > 0 && (Ba.value = !1), V.value.chart.zoom.keepState) {
3075
3075
  let e = Ka.value;
@@ -3095,7 +3095,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3095
3095
  }, { deep: !0 }), _t(() => M.config, (e) => {
3096
3096
  Ra.value || (V.value = Aa()), Hl(), Yi.value += 1, Ji.value += 1, Pa(), V.value.chart.zoom.keepState && Ka.value > 0 && (!ts.value || U.value.start === 0 && U.value.end === 0) && is(), Xa();
3097
3097
  }, { deep: !0 });
3098
- let gu = D(!1), _u = D(!1);
3098
+ let gu = E(!1), _u = E(!1);
3099
3099
  function vu() {
3100
3100
  let e = xi.value?.parentNode;
3101
3101
  if (!e) {
@@ -3108,17 +3108,17 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3108
3108
  function yu() {
3109
3109
  return !gu.value || _u.value || ts.value ? !1 : U.value.start === 0 && U.value.end === 0;
3110
3110
  }
3111
- ut(() => {
3111
+ dt(() => {
3112
3112
  vu(), ua.value = new ResizeObserver(() => {
3113
3113
  vu(), gu.value && (Hl(), Xa(), yu() && is());
3114
3114
  }), xi.value?.parentNode && ua.value.observe(xi.value.parentNode);
3115
3115
  }), _t(V, () => {
3116
3116
  Pa();
3117
3117
  }, { immediate: !0 });
3118
- let bu = y(() => {
3118
+ let bu = v(() => {
3119
3119
  let e = V.value.table.useDialog && !V.value.showTable, t = H.value.showTable;
3120
3120
  return {
3121
- component: e ? mi : Xe,
3121
+ component: e ? mi : Ze,
3122
3122
  title: `${V.value.chart.title.text}${V.value.chart.title.subtitle.text ? `: ${V.value.chart.title.subtitle.text}` : ""}`,
3123
3123
  props: e ? {
3124
3124
  backgroundColor: V.value.table.th.backgroundColor,
@@ -3151,19 +3151,19 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3151
3151
  function xu() {
3152
3152
  H.value.showTable = !1, Mi.value && Mi.value.setTableIconState(!1);
3153
3153
  }
3154
- let Su = y(() => yo.value.map((e) => ({
3154
+ let Su = v(() => yo.value.map((e) => ({
3155
3155
  shape: e.type === "bar" ? "square" : e.shape ?? "circle",
3156
3156
  color: e.color,
3157
3157
  name: e.name
3158
- }))), Cu = y(() => V.value.chart.backgroundColor), wu = y(() => V.value.chart.legend), { exportSvg: Tu, getSvg: Eu } = Re({
3158
+ }))), Cu = v(() => V.value.chart.backgroundColor), wu = v(() => V.value.chart.legend), { exportSvg: Tu, getSvg: Eu } = ze({
3159
3159
  svg: L,
3160
- title: y(() => V.value.chart.title),
3160
+ title: v(() => V.value.chart.title),
3161
3161
  legend: wu,
3162
3162
  legendItems: Su,
3163
3163
  backgroundColor: Cu
3164
3164
  });
3165
3165
  async function Du({ isCb: e }) {
3166
- oa.value = !0, await st();
3166
+ oa.value = !0, await ct();
3167
3167
  try {
3168
3168
  if (e) {
3169
3169
  let { blob: e, url: t, text: n, dataUrl: r } = await Eu();
@@ -3216,7 +3216,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3216
3216
  }
3217
3217
  }));
3218
3218
  }
3219
- let Au = D(!1);
3219
+ let Au = E(!1);
3220
3220
  function ju() {
3221
3221
  U.value.end > U.value.start && (ca.value = null), Io.value = !0, Au.value = !0;
3222
3222
  }
@@ -3242,10 +3242,10 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3242
3242
  function Pu(e) {
3243
3243
  let t = U.value.end - U.value.start;
3244
3244
  if (t <= 0) return;
3245
- let n = J.value.width / t, r = le(J.value.left + n * e + n / 2, J.value.top + J.value.height / 2, L.value);
3245
+ let n = J.value.width / t, r = fe(J.value.left + n * e + n / 2, J.value.top + J.value.height / 2, L.value);
3246
3246
  r && (la.value = r);
3247
3247
  }
3248
- let Fu = y(() => {
3248
+ let Fu = v(() => {
3249
3249
  if (!Pl.value) return null;
3250
3250
  let e = V.value.table.showSum, t = [V.value.table.columnNames.period].concat(K.value.map((e) => e.name));
3251
3251
  return e && (t = t.concat(V.value.table.columnNames.total)), {
@@ -3253,7 +3253,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3253
3253
  rows: Pl.value.body
3254
3254
  };
3255
3255
  });
3256
- return qe({
3256
+ return Je({
3257
3257
  getData: Ks,
3258
3258
  getImage: qs,
3259
3259
  generatePdf: eo,
@@ -3270,21 +3270,21 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3270
3270
  toggleFullscreen: Bl,
3271
3271
  copyAlt: ku,
3272
3272
  resetZoom: hs
3273
- }), (t, n) => (E(), x("div", {
3273
+ }), (t, n) => (T(), b("div", {
3274
3274
  id: `vue-ui-xy_${F.value}`,
3275
- class: ct(`vue-data-ui-component vue-ui-xy ${Hi.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${V.value.useCssAnimation ? "" : "vue-ui-dna"}`),
3275
+ class: lt(`vue-data-ui-component vue-ui-xy ${Hi.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${V.value.useCssAnimation ? "" : "vue-ui-dna"}`),
3276
3276
  ref_key: "chart",
3277
3277
  ref: xi,
3278
- style: T(`background:${V.value.chart.backgroundColor}; color:${V.value.chart.color};width:100%;font-family:${V.value.chart.fontFamily};${V.value.responsive ? "height: 100%" : ""}`),
3278
+ style: w(`background:${V.value.chart.backgroundColor}; color:${V.value.chart.color};width:100%;font-family:${V.value.chart.fontFamily};${V.value.responsive ? "height: 100%" : ""}`),
3279
3279
  onMouseenter: Ro,
3280
3280
  onMouseleave: zo,
3281
3281
  onClick: Ws
3282
3282
  }, [
3283
- S("div", {
3283
+ x("div", {
3284
3284
  id: `chart-instructions-${F.value}`,
3285
3285
  class: "sr-only"
3286
- }, [S("p", null, pt(V.value.a11y.translations.keyboardNavigation), 1)], 8, jt),
3287
- Fu.value?.rows?.length ? (E(), et(Qe, {
3286
+ }, [x("p", null, k(V.value.a11y.translations.keyboardNavigation), 1)], 8, jt),
3287
+ Fu.value?.rows?.length ? (T(), tt($e, {
3288
3288
  key: 0,
3289
3289
  uid: F.value,
3290
3290
  head: Fu.value.headers,
@@ -3297,8 +3297,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3297
3297
  "body",
3298
3298
  "notice",
3299
3299
  "caption"
3300
- ])) : b("", !0),
3301
- V.value.chart.userOptions.buttons.annotator && L.value ? (E(), et(A(pi), {
3300
+ ])) : y("", !0),
3301
+ V.value.chart.userOptions.buttons.annotator && L.value ? (T(), tt(A(pi), {
3302
3302
  key: 1,
3303
3303
  svgRef: L.value,
3304
3304
  backgroundColor: V.value.chart.backgroundColor,
@@ -3307,12 +3307,12 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3307
3307
  isCursorPointer: Na.value,
3308
3308
  onClose: Bo
3309
3309
  }, {
3310
- "annotator-action-close": j(() => [k(t.$slots, "annotator-action-close", {}, void 0, !0)]),
3311
- "annotator-action-color": j(({ color: e }) => [k(t.$slots, "annotator-action-color", w(C({ color: e })), void 0, !0)]),
3312
- "annotator-action-draw": j(({ mode: e }) => [k(t.$slots, "annotator-action-draw", w(C({ mode: e })), void 0, !0)]),
3313
- "annotator-action-undo": j(({ disabled: e }) => [k(t.$slots, "annotator-action-undo", w(C({ disabled: e })), void 0, !0)]),
3314
- "annotator-action-redo": j(({ disabled: e }) => [k(t.$slots, "annotator-action-redo", w(C({ disabled: e })), void 0, !0)]),
3315
- "annotator-action-delete": j(({ disabled: e }) => [k(t.$slots, "annotator-action-delete", w(C({ disabled: e })), void 0, !0)]),
3310
+ "annotator-action-close": j(() => [O(t.$slots, "annotator-action-close", {}, void 0, !0)]),
3311
+ "annotator-action-color": j(({ color: e }) => [O(t.$slots, "annotator-action-color", C(S({ color: e })), void 0, !0)]),
3312
+ "annotator-action-draw": j(({ mode: e }) => [O(t.$slots, "annotator-action-draw", C(S({ mode: e })), void 0, !0)]),
3313
+ "annotator-action-undo": j(({ disabled: e }) => [O(t.$slots, "annotator-action-undo", C(S({ disabled: e })), void 0, !0)]),
3314
+ "annotator-action-redo": j(({ disabled: e }) => [O(t.$slots, "annotator-action-redo", C(S({ disabled: e })), void 0, !0)]),
3315
+ "annotator-action-delete": j(({ disabled: e }) => [O(t.$slots, "annotator-action-delete", C(S({ disabled: e })), void 0, !0)]),
3316
3316
  _: 3
3317
3317
  }, 8, [
3318
3318
  "svgRef",
@@ -3320,21 +3320,21 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3320
3320
  "color",
3321
3321
  "active",
3322
3322
  "isCursorPointer"
3323
- ])) : b("", !0),
3324
- rc.value ? (E(), x("div", {
3323
+ ])) : y("", !0),
3324
+ rc.value ? (T(), b("div", {
3325
3325
  key: 2,
3326
3326
  ref_key: "noTitle",
3327
3327
  ref: Ei,
3328
3328
  class: "vue-data-ui-no-title-space",
3329
3329
  style: "height:36px; width: 100%; background:transparent"
3330
- }, null, 512)) : b("", !0),
3331
- V.value.chart.title.show ? (E(), x("div", {
3330
+ }, null, 512)) : y("", !0),
3331
+ V.value.chart.title.show ? (T(), b("div", {
3332
3332
  key: 3,
3333
3333
  ref_key: "chartTitle",
3334
3334
  ref: Si,
3335
3335
  class: "vue-ui-xy-title",
3336
- style: T(`font-family:${V.value.chart.fontFamily}`)
3337
- }, [(E(), et(We, {
3336
+ style: w(`font-family:${V.value.chart.fontFamily}`)
3337
+ }, [(T(), tt(Ge, {
3338
3338
  key: `title_${Yi.value}`,
3339
3339
  config: {
3340
3340
  title: {
@@ -3346,9 +3346,9 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3346
3346
  ...V.value.chart.title.subtitle
3347
3347
  }
3348
3348
  }
3349
- }, null, 8, ["config"]))], 4)) : b("", !0),
3350
- S("div", { id: `legend-top-${F.value}` }, null, 8, Mt),
3351
- V.value.chart.userOptions.show && ($i.value || ea.value) ? (E(), et(A(li), {
3349
+ }, null, 8, ["config"]))], 4)) : y("", !0),
3350
+ x("div", { id: `legend-top-${F.value}` }, null, 8, Mt),
3351
+ V.value.chart.userOptions.show && ($i.value || ea.value) ? (T(), tt(A(li), {
3352
3352
  ref_key: "userOptionsRef",
3353
3353
  ref: Mi,
3354
3354
  key: `user_options_${qi.value}`,
@@ -3390,11 +3390,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3390
3390
  onToggleTooltip: zl,
3391
3391
  onToggleAnnotator: Bo,
3392
3392
  onCopyAlt: ku,
3393
- style: T({ visibility: $i.value ? ea.value ? "visible" : "hidden" : "visible" })
3394
- }, tt({ _: 2 }, [
3393
+ style: w({ visibility: $i.value ? ea.value ? "visible" : "hidden" : "visible" })
3394
+ }, nt({ _: 2 }, [
3395
3395
  t.$slots.menuIcon ? {
3396
3396
  name: "menuIcon",
3397
- fn: j(({ isOpen: e, color: n }) => [k(t.$slots, "menuIcon", w(C({
3397
+ fn: j(({ isOpen: e, color: n }) => [O(t.$slots, "menuIcon", C(S({
3398
3398
  isOpen: e,
3399
3399
  color: n
3400
3400
  })), void 0, !0)]),
@@ -3402,47 +3402,47 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3402
3402
  } : void 0,
3403
3403
  t.$slots.optionTooltip ? {
3404
3404
  name: "optionTooltip",
3405
- fn: j(() => [k(t.$slots, "optionTooltip", {}, void 0, !0)]),
3405
+ fn: j(() => [O(t.$slots, "optionTooltip", {}, void 0, !0)]),
3406
3406
  key: "1"
3407
3407
  } : void 0,
3408
3408
  t.$slots.optionPdf ? {
3409
3409
  name: "optionPdf",
3410
- fn: j(() => [k(t.$slots, "optionPdf", {}, void 0, !0)]),
3410
+ fn: j(() => [O(t.$slots, "optionPdf", {}, void 0, !0)]),
3411
3411
  key: "2"
3412
3412
  } : void 0,
3413
3413
  t.$slots.optionCsv ? {
3414
3414
  name: "optionCsv",
3415
- fn: j(() => [k(t.$slots, "optionCsv", {}, void 0, !0)]),
3415
+ fn: j(() => [O(t.$slots, "optionCsv", {}, void 0, !0)]),
3416
3416
  key: "3"
3417
3417
  } : void 0,
3418
3418
  t.$slots.optionImg ? {
3419
3419
  name: "optionImg",
3420
- fn: j(() => [k(t.$slots, "optionImg", {}, void 0, !0)]),
3420
+ fn: j(() => [O(t.$slots, "optionImg", {}, void 0, !0)]),
3421
3421
  key: "4"
3422
3422
  } : void 0,
3423
3423
  t.$slots.optionSvg ? {
3424
3424
  name: "optionSvg",
3425
- fn: j(() => [k(t.$slots, "optionSvg", {}, void 0, !0)]),
3425
+ fn: j(() => [O(t.$slots, "optionSvg", {}, void 0, !0)]),
3426
3426
  key: "5"
3427
3427
  } : void 0,
3428
3428
  t.$slots.optionTable ? {
3429
3429
  name: "optionTable",
3430
- fn: j(() => [k(t.$slots, "optionTable", {}, void 0, !0)]),
3430
+ fn: j(() => [O(t.$slots, "optionTable", {}, void 0, !0)]),
3431
3431
  key: "6"
3432
3432
  } : void 0,
3433
3433
  t.$slots.optionLabels ? {
3434
3434
  name: "optionLabels",
3435
- fn: j(() => [k(t.$slots, "optionLabels", {}, void 0, !0)]),
3435
+ fn: j(() => [O(t.$slots, "optionLabels", {}, void 0, !0)]),
3436
3436
  key: "7"
3437
3437
  } : void 0,
3438
3438
  t.$slots.optionStack ? {
3439
3439
  name: "optionStack",
3440
- fn: j(({ isStack: e }) => [k(t.$slots, "optionStack", w(C({ isStack: e })), void 0, !0)]),
3440
+ fn: j(({ isStack: e }) => [O(t.$slots, "optionStack", C(S({ isStack: e })), void 0, !0)]),
3441
3441
  key: "8"
3442
3442
  } : void 0,
3443
3443
  t.$slots.optionFullscreen ? {
3444
3444
  name: "optionFullscreen",
3445
- fn: j(({ toggleFullscreen: e, isFullscreen: n }) => [k(t.$slots, "optionFullscreen", w(C({
3445
+ fn: j(({ toggleFullscreen: e, isFullscreen: n }) => [O(t.$slots, "optionFullscreen", C(S({
3446
3446
  toggleFullscreen: e,
3447
3447
  isFullscreen: n
3448
3448
  })), void 0, !0)]),
@@ -3450,7 +3450,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3450
3450
  } : void 0,
3451
3451
  t.$slots.optionAnnotator ? {
3452
3452
  name: "optionAnnotator",
3453
- fn: j(({ toggleAnnotator: e, isAnnotator: n }) => [k(t.$slots, "optionAnnotator", w(C({
3453
+ fn: j(({ toggleAnnotator: e, isAnnotator: n }) => [O(t.$slots, "optionAnnotator", C(S({
3454
3454
  toggleAnnotator: e,
3455
3455
  isAnnotator: n
3456
3456
  })), void 0, !0)]),
@@ -3458,31 +3458,31 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3458
3458
  } : void 0,
3459
3459
  t.$slots.optionAltCopy ? {
3460
3460
  name: "optionAltCopy",
3461
- fn: j(({ altCopy: e }) => [k(t.$slots, "optionAltCopy", w(C({ altCopy: e })), void 0, !0)]),
3461
+ fn: j(({ altCopy: e }) => [O(t.$slots, "optionAltCopy", C(S({ altCopy: e })), void 0, !0)]),
3462
3462
  key: "11"
3463
3463
  } : void 0,
3464
3464
  t.$slots["custom-menu-before"] ? {
3465
3465
  name: "custom-menu-before",
3466
- fn: j(() => [k(t.$slots, "custom-menu-before", {}, void 0, !0)]),
3466
+ fn: j(() => [O(t.$slots, "custom-menu-before", {}, void 0, !0)]),
3467
3467
  key: "12"
3468
3468
  } : void 0,
3469
3469
  t.$slots["custom-menu-after"] ? {
3470
3470
  name: "custom-menu-after",
3471
- fn: j(() => [k(t.$slots, "custom-menu-after", {}, void 0, !0)]),
3471
+ fn: j(() => [O(t.$slots, "custom-menu-after", {}, void 0, !0)]),
3472
3472
  key: "13"
3473
3473
  } : void 0
3474
- ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasLabel.hasTable.hasStack.hasFullscreen.hasAltCopy.isStacked.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.tableDialog.printScale.isCursorPointer.onGeneratePdf.style".split("."))) : b("", !0),
3475
- S("div", Nt, [(E(), x("svg", {
3474
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasLabel.hasTable.hasStack.hasFullscreen.hasAltCopy.isStacked.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.tableDialog.printScale.isCursorPointer.onGeneratePdf.style".split("."))) : y("", !0),
3475
+ x("div", Nt, [(T(), b("svg", {
3476
3476
  ref_key: "svgRef",
3477
3477
  ref: L,
3478
3478
  xmlns: "http://www.w3.org/2000/svg",
3479
- class: ct([{
3479
+ class: lt([{
3480
3480
  "vue-data-ui-fullscreen--on": Hi.value,
3481
3481
  "vue-data-ui-fulscreen--off": !Hi.value
3482
3482
  }, "vue-ui-xy-svg vue-data-ui-svg"]),
3483
3483
  width: "100%",
3484
3484
  viewBox: Ri.value,
3485
- style: T({
3485
+ style: w({
3486
3486
  background: "transparent",
3487
3487
  color: V.value.chart.color,
3488
3488
  fontFamily: V.value.chart.fontFamily
@@ -3499,98 +3499,98 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3499
3499
  onFocus: ju,
3500
3500
  onBlur: Mu,
3501
3501
  onKeydown: Nu
3502
- }, [S("g", {
3502
+ }, [x("g", {
3503
3503
  ref_key: "G",
3504
3504
  ref: Di,
3505
3505
  class: "vue-data-ui-g"
3506
3506
  }, [
3507
- rt(A(fi)),
3508
- t.$slots["chart-background"] ? (E(), x("foreignObject", {
3507
+ it(A(fi)),
3508
+ t.$slots["chart-background"] ? (T(), b("foreignObject", {
3509
3509
  key: 0,
3510
3510
  x: Math.max(0, J.value?.left),
3511
3511
  y: J.value?.top,
3512
3512
  width: Math.max(0, J.value?.width),
3513
3513
  height: Math.max(0, J.value?.height),
3514
3514
  style: { pointerEvents: "none" }
3515
- }, [k(t.$slots, "chart-background", {}, void 0, !0)], 8, Ft)) : b("", !0),
3516
- X.value > 0 ? (E(), x("g", It, [
3517
- S("g", Lt, [
3518
- V.value.chart.grid.labels.xAxis.showBaseline ? (E(), x("line", {
3515
+ }, [O(t.$slots, "chart-background", {}, void 0, !0)], 8, Ft)) : y("", !0),
3516
+ X.value > 0 ? (T(), b("g", It, [
3517
+ x("g", Lt, [
3518
+ V.value.chart.grid.labels.xAxis.showBaseline ? (T(), b("line", {
3519
3519
  key: 0,
3520
3520
  stroke: V.value.chart.grid.stroke,
3521
3521
  "stroke-width": "1",
3522
3522
  x1: J.value?.left,
3523
3523
  x2: J.value?.right,
3524
- y1: A(g)(J.value?.bottom),
3525
- y2: A(g)(J.value?.bottom),
3524
+ y1: A(m)(J.value?.bottom),
3525
+ y2: A(m)(J.value?.bottom),
3526
3526
  "stroke-linecap": "round",
3527
3527
  style: { animation: "none !important" }
3528
- }, null, 8, Rt)) : b("", !0),
3529
- H.value.useIndividualScale ? V.value.chart.grid.showHorizontalLines ? (E(!0), x(v, { key: 2 }, O(pl.value, (e) => (E(), x("g", { key: `individual_grid_${e.groupId || e.id}` }, [e.id === N.value && e.yLabels.length ? (E(!0), x(v, { key: 0 }, O(e.yLabels, (t) => (E(), x("line", {
3528
+ }, null, 8, Rt)) : y("", !0),
3529
+ H.value.useIndividualScale ? V.value.chart.grid.showHorizontalLines ? (T(!0), b(_, { key: 2 }, D(pl.value, (e) => (T(), b("g", { key: `individual_grid_${e.groupId || e.id}` }, [e.id === N.value && e.yLabels.length ? (T(!0), b(_, { key: 0 }, D(e.yLabels, (t) => (T(), b("line", {
3530
3530
  key: `selected_individual_grid_line_${e.groupId || e.id}_${t.value}_${t.y}`,
3531
3531
  x1: J.value?.left,
3532
3532
  x2: J.value?.right,
3533
- y1: A(g)(t.y),
3534
- y2: A(g)(t.y),
3533
+ y1: A(m)(t.y),
3534
+ y2: A(m)(t.y),
3535
3535
  stroke: e.color,
3536
3536
  "stroke-width": .5,
3537
3537
  "stroke-linecap": "round",
3538
3538
  style: { animation: "none !important" }
3539
- }, null, 8, Ht))), 128)) : e.yLabels.length ? (E(!0), x(v, { key: 1 }, O(e.yLabels, (t) => (E(), x("line", {
3539
+ }, null, 8, Ht))), 128)) : e.yLabels.length ? (T(!0), b(_, { key: 1 }, D(e.yLabels, (t) => (T(), b("line", {
3540
3540
  key: `individual_grid_line_${e.groupId || e.id}_${t.value}_${t.y}`,
3541
3541
  x1: J.value?.left,
3542
3542
  x2: J.value?.right,
3543
- y1: A(g)(t.y),
3544
- y2: A(g)(t.y),
3543
+ y1: A(m)(t.y),
3544
+ y2: A(m)(t.y),
3545
3545
  stroke: V.value.chart.grid.stroke,
3546
3546
  "stroke-width": .5,
3547
3547
  "stroke-linecap": "round",
3548
3548
  style: { animation: "none !important" }
3549
- }, null, 8, Ut))), 128)) : b("", !0)]))), 128)) : b("", !0) : (E(), x(v, { key: 1 }, [V.value.chart.grid.labels.yAxis.showBaseline ? (E(), x("line", {
3549
+ }, null, 8, Ut))), 128)) : y("", !0)]))), 128)) : y("", !0) : (T(), b(_, { key: 1 }, [V.value.chart.grid.labels.yAxis.showBaseline ? (T(), b("line", {
3550
3550
  key: 0,
3551
3551
  class: "vue-ui-xy-y-axis",
3552
3552
  stroke: V.value.chart.grid.stroke,
3553
3553
  "stroke-width": "1",
3554
3554
  x1: q.value ? J.value?.right : J.value?.left,
3555
3555
  x2: q.value ? J.value?.right : J.value?.left,
3556
- y1: A(g)(J.value?.top),
3557
- y2: A(g)(J.value?.bottom),
3556
+ y1: A(m)(J.value?.top),
3557
+ y2: A(m)(J.value?.bottom),
3558
3558
  "stroke-linecap": "round",
3559
3559
  style: { animation: "none !important" }
3560
- }, null, 8, zt)) : b("", !0), V.value.chart.grid.showHorizontalLines ? (E(), x("g", Bt, [(E(!0), x(v, null, O(Lc.value, (e) => (E(), x("line", {
3560
+ }, null, 8, zt)) : y("", !0), V.value.chart.grid.showHorizontalLines ? (T(), b("g", Bt, [(T(!0), b(_, null, D(Lc.value, (e) => (T(), b("line", {
3561
3561
  key: `horizontal_grid_line_${e.value}_${e.y}`,
3562
3562
  x1: J.value?.left,
3563
3563
  x2: J.value?.right,
3564
- y1: A(g)(e.y),
3565
- y2: A(g)(e.y),
3564
+ y1: A(m)(e.y),
3565
+ y2: A(m)(e.y),
3566
3566
  stroke: V.value.chart.grid.stroke,
3567
3567
  "stroke-width": .5,
3568
3568
  "stroke-linecap": "round",
3569
3569
  style: { animation: "none !important" }
3570
- }, null, 8, Vt))), 128))])) : b("", !0)], 64)),
3571
- V.value.chart.grid.showVerticalLines ? (E(), x("g", Wt, [S("path", {
3570
+ }, null, 8, Vt))), 128))])) : y("", !0)], 64)),
3571
+ V.value.chart.grid.showVerticalLines ? (T(), b("g", Wt, [x("path", {
3572
3572
  d: Ao.value,
3573
3573
  "stroke-width": .5,
3574
3574
  stroke: V.value.chart.grid.stroke,
3575
3575
  "stroke-linecap": "round",
3576
3576
  style: { animation: "none !important" }
3577
- }, null, 8, Gt)])) : b("", !0),
3578
- V.value.chart.grid.labels.xAxisLabels.show ? (E(), x("g", Kt, [S("path", {
3577
+ }, null, 8, Gt)])) : y("", !0),
3578
+ V.value.chart.grid.labels.xAxisLabels.show ? (T(), b("g", Kt, [x("path", {
3579
3579
  d: jo.value,
3580
3580
  stroke: V.value.chart.grid.stroke,
3581
3581
  "stroke-width": 1,
3582
3582
  "stroke-linecap": "round",
3583
3583
  style: { animation: "none !important" }
3584
- }, null, 8, qt)])) : b("", !0)
3584
+ }, null, 8, qt)])) : y("", !0)
3585
3585
  ]),
3586
- (E(!0), x(v, null, O(dl.value, (e, n) => (E(), x("defs", { key: `def_rect_${n}` }, [t.$slots["bar-gradient"] ? k(t.$slots, "bar-gradient", ot({
3586
+ (T(!0), b(_, null, D(dl.value, (e, n) => (T(), b("defs", { key: `def_rect_${n}` }, [t.$slots["bar-gradient"] ? O(t.$slots, "bar-gradient", st({
3587
3587
  key: 0,
3588
3588
  ref_for: !0
3589
3589
  }, {
3590
3590
  series: e,
3591
3591
  positiveId: `rectGradient_pos_${n}_${F.value}`,
3592
3592
  negativeId: `rectGradient_neg_${n}_${F.value}`
3593
- }), void 0, !0) : (E(), x(v, { key: 1 }, [rt(Je, {
3593
+ }), void 0, !0) : (T(), b(_, { key: 1 }, [it(Ye, {
3594
3594
  t: "linear",
3595
3595
  id: `rectGradient_pos_${n}_${F.value}`,
3596
3596
  x2: "0%",
@@ -3603,16 +3603,16 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3603
3603
  ],
3604
3604
  [
3605
3605
  "62%",
3606
- A(Ae)(e.color, .02),
3606
+ A(r)(e.color, .02),
3607
3607
  1
3608
3608
  ],
3609
3609
  [
3610
3610
  "100%",
3611
- A(Ae)(e.color, .05),
3611
+ A(r)(e.color, .05),
3612
3612
  1
3613
3613
  ]
3614
3614
  ]
3615
- }, null, 8, ["id", "stops"]), rt(Je, {
3615
+ }, null, 8, ["id", "stops"]), it(Ye, {
3616
3616
  t: "linear",
3617
3617
  id: `rectGradient_neg_${n}_${F.value}`,
3618
3618
  x2: "0%",
@@ -3620,12 +3620,12 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3620
3620
  stops: [
3621
3621
  [
3622
3622
  "0%",
3623
- A(Ae)(e.color, .05),
3623
+ A(r)(e.color, .05),
3624
3624
  1
3625
3625
  ],
3626
3626
  [
3627
3627
  "38%",
3628
- A(Ae)(e.color, .02),
3628
+ A(r)(e.color, .02),
3629
3629
  1
3630
3630
  ],
3631
3631
  [
@@ -3635,7 +3635,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3635
3635
  ]
3636
3636
  ]
3637
3637
  }, null, 8, ["id", "stops"])], 64))]))), 128)),
3638
- (E(!0), x(v, null, O($.value, (e, t) => (E(), x("defs", { key: `def_plot_${t}` }, [rt(Je, {
3638
+ (T(!0), b(_, null, D($.value, (e, t) => (T(), b("defs", { key: `def_plot_${t}` }, [it(Ye, {
3639
3639
  t: "radial",
3640
3640
  id: `plotGradient_${t}_${F.value}`,
3641
3641
  cx: "50%",
@@ -3645,7 +3645,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3645
3645
  fy: "50%",
3646
3646
  stops: [[
3647
3647
  "0%",
3648
- A(Ae)(e.color, .05),
3648
+ A(r)(e.color, .05),
3649
3649
  1
3650
3650
  ], [
3651
3651
  "100%",
@@ -3653,7 +3653,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3653
3653
  1
3654
3654
  ]]
3655
3655
  }, null, 8, ["id", "stops"])]))), 128)),
3656
- (E(!0), x(v, null, O(Q.value, (e, n) => (E(), x(v, { key: `def_line_${e.id}` }, [S("defs", null, [rt(Je, {
3656
+ (T(!0), b(_, null, D(Q.value, (e, n) => (T(), b(_, { key: `def_line_${e.id}` }, [x("defs", null, [it(Ye, {
3657
3657
  t: "radial",
3658
3658
  id: `lineGradient_${n}_${F.value}`,
3659
3659
  cx: "50%",
@@ -3663,20 +3663,20 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3663
3663
  fy: "50%",
3664
3664
  stops: [[
3665
3665
  "0%",
3666
- A(Ae)(e.color, .05),
3666
+ A(r)(e.color, .05),
3667
3667
  1
3668
3668
  ], [
3669
3669
  "100%",
3670
3670
  e.color,
3671
3671
  1
3672
3672
  ]]
3673
- }, null, 8, ["id", "stops"]), t.$slots["area-gradient"] ? k(t.$slots, "area-gradient", ot({
3673
+ }, null, 8, ["id", "stops"]), t.$slots["area-gradient"] ? O(t.$slots, "area-gradient", st({
3674
3674
  key: 0,
3675
3675
  ref_for: !0
3676
3676
  }, {
3677
3677
  series: e,
3678
3678
  id: `areaGradient_${n}_${F.value}`
3679
- }), void 0, !0) : (E(), et(Je, {
3679
+ }), void 0, !0) : (T(), tt(Ye, {
3680
3680
  key: 1,
3681
3681
  t: "linear",
3682
3682
  id: `areaGradient_${n}_${F.value}`,
@@ -3686,23 +3686,23 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3686
3686
  y2: "0%",
3687
3687
  stops: [[
3688
3688
  "0%",
3689
- A(p)(A(Ae)(e.color, .03), V.value.line.area.opacity),
3689
+ A(je)(A(r)(e.color, .03), V.value.line.area.opacity),
3690
3690
  1
3691
3691
  ], [
3692
3692
  "100%",
3693
- A(p)(e.color, V.value.line.area.opacity),
3693
+ A(je)(e.color, V.value.line.area.opacity),
3694
3694
  1
3695
3695
  ]]
3696
- }, null, 8, ["id", "stops"]))]), e.temperatureColors && !e.isFlatTemperatureLine ? (E(), x("defs", Jt, [S("linearGradient", {
3696
+ }, null, 8, ["id", "stops"]))]), e.temperatureColors && !e.isFlatTemperatureLine ? (T(), b("defs", Jt, [x("linearGradient", {
3697
3697
  id: `temperature_grad_line_${n}_${F.value}`,
3698
3698
  gradientTransform: "rotate(90)"
3699
- }, [(E(!0), x(v, null, O(e.temperatureColors, (t, r) => (E(), x("stop", {
3699
+ }, [(T(!0), b(_, null, D(e.temperatureColors, (t, r) => (T(), b("stop", {
3700
3700
  key: `temperature_grad_stop_${n}_${r}_${F.value}`,
3701
3701
  "stop-color": t,
3702
- offset: A(te)(r, e.temperatureColors.length)
3703
- }, null, 8, Xt))), 128))], 8, Yt)])) : b("", !0)], 64))), 128)),
3704
- (E(!0), x(v, null, O(ic.value, (e) => (E(), x("g", { key: `highlight_area_${e.from}_${e.span}_${e.color}` }, [e.show ? (E(), x(v, { key: 0 }, [(E(!0), x(v, null, O(e.span, (t, n) => (E(), x("g", { key: `highlight_area_rect_${e.from}_${n}` }, [S("rect", {
3705
- style: T({
3702
+ offset: A(se)(r, e.temperatureColors.length)
3703
+ }, null, 8, Xt))), 128))], 8, Yt)])) : y("", !0)], 64))), 128)),
3704
+ (T(!0), b(_, null, D(ic.value, (e) => (T(), b("g", { key: `highlight_area_${e.from}_${e.span}_${e.color}` }, [e.show ? (T(), b(_, { key: 0 }, [(T(!0), b(_, null, D(e.span, (t, n) => (T(), b("g", { key: `highlight_area_rect_${e.from}_${n}` }, [x("rect", {
3705
+ style: w({
3706
3706
  transition: "none",
3707
3707
  opacity: +(e.from + n >= U.value.start && e.from + n <= U.value.end - 1)
3708
3708
  }),
@@ -3710,19 +3710,19 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3710
3710
  y: J.value?.top,
3711
3711
  height: J.value.height < 0 ? 10 : J.value.height,
3712
3712
  width: pc(e.from + n - U.value.start),
3713
- fill: A(p)(e.color, e.opacity)
3714
- }, null, 12, Zt)]))), 128)), (E(!0), x(v, null, O(e.span, (t, n) => (E(), x("g", { key: `highlight_area_caption_${e.from}_${n}` }, [e.caption.text && n === 0 ? (E(), x("foreignObject", {
3713
+ fill: A(je)(e.color, e.opacity)
3714
+ }, null, 12, Zt)]))), 128)), (T(!0), b(_, null, D(e.span, (t, n) => (T(), b("g", { key: `highlight_area_caption_${e.from}_${n}` }, [e.caption.text && n === 0 ? (T(), b("foreignObject", {
3715
3715
  key: 0,
3716
3716
  x: fc(e.from + n - U.value.start) - (e.caption.width === "auto" ? 0 : e.caption.width / 2 - gc(e.span) / 2),
3717
3717
  y: J.value?.top + e.caption.offsetY,
3718
- style: T({
3718
+ style: w({
3719
3719
  overflow: "visible",
3720
3720
  opacity: +(e.to >= U.value.start && e.from < U.value.end)
3721
3721
  }),
3722
3722
  height: "1",
3723
3723
  width: e.caption.width === "auto" ? gc(e.span) : e.caption.width
3724
- }, [S("div", { style: T(`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"}`) }, pt(e.caption.text), 5)], 12, Qt)) : b("", !0)]))), 128))], 64)) : b("", !0)]))), 128)),
3725
- Io.value && !G.value ? (E(), x("g", $t, [(E(!0), x(v, null, O(X.value, (e, t) => (E(), x("g", { key: `tooltip_trap_highlighter_${t}` }, [S("rect", {
3724
+ }, [x("div", { style: w(`padding:${e.caption.padding}px;text-align:${e.caption.textAlign};font-size:${e.caption.fontSize}px;color:${e.caption.color};font-weight:${e.caption.bold ? "bold" : "normal"}`) }, k(e.caption.text), 5)], 12, Qt)) : y("", !0)]))), 128))], 64)) : y("", !0)]))), 128)),
3725
+ Io.value && !G.value ? (T(), b("g", $t, [(T(!0), b(_, null, D(X.value, (e, t) => (T(), b("g", { key: `tooltip_trap_highlighter_${t}` }, [x("rect", {
3726
3726
  x: fc(t),
3727
3727
  y: J.value?.top,
3728
3728
  height: J.value.height < 0 ? 10 : J.value.height,
@@ -3731,18 +3731,18 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3731
3731
  I.value,
3732
3732
  R.value,
3733
3733
  Wi.value
3734
- ].includes(t) ? A(p)(V.value.chart.highlighter.color, V.value.chart.highlighter.crosshairs.show ? 0 : V.value.chart.highlighter.opacity) : "transparent",
3734
+ ].includes(t) ? A(je)(V.value.chart.highlighter.color, V.value.chart.highlighter.crosshairs.show ? 0 : V.value.chart.highlighter.opacity) : "transparent",
3735
3735
  style: {
3736
3736
  transition: "none !important",
3737
3737
  animation: "none !important"
3738
3738
  }
3739
- }, null, 8, en)]))), 128))])) : b("", !0),
3740
- dl.value.length ? (E(!0), x(v, { key: 1 }, O(dl.value, (e, n) => (E(), x("g", {
3739
+ }, null, 8, en)]))), 128))])) : y("", !0),
3740
+ dl.value.length ? (T(!0), b(_, { key: 1 }, D(dl.value, (e, n) => (T(), b("g", {
3741
3741
  key: `serie_bar_${e.id}`,
3742
- class: ct(`serie_bar_${n}`),
3743
- style: T(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
3744
- }, [(E(!0), x(v, null, O(e.plots, (r, i) => (E(), x("g", { key: `bar_plot_${n}_${i}` }, [
3745
- A(bt)(r.value) ? (E(), x("rect", {
3742
+ class: lt(`serie_bar_${n}`),
3743
+ style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
3744
+ }, [(T(!0), b(_, null, D(e.plots, (r, i) => (T(), b("g", { key: `bar_plot_${n}_${i}` }, [
3745
+ A(bt)(r.value) ? (T(), b("rect", {
3746
3746
  key: 0,
3747
3747
  x: js(r) + Nc.value / 2,
3748
3748
  y: H.value.useIndividualScale ? Ns(r) : Ms(r),
@@ -3752,9 +3752,9 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3752
3752
  fill: V.value.bar.useGradient ? r.value >= 0 ? `url(#rectGradient_pos_${n}_${F.value})` : `url(#rectGradient_neg_${n}_${F.value})` : e.color,
3753
3753
  stroke: V.value.bar.border.useSerieColor ? e.color : V.value.bar.border.stroke,
3754
3754
  "stroke-width": V.value.bar.border.strokeWidth,
3755
- style: T({ transition: A(Ra) || !V.value.bar.showTransition ? void 0 : `all ${V.value.bar.transitionDurationMs}ms ease-in-out` })
3756
- }, null, 12, tn)) : b("", !0),
3757
- A(bt)(r.value) && t.$slots.pattern ? (E(), x("rect", {
3755
+ style: w({ transition: A(Ra) || !V.value.bar.showTransition ? void 0 : `all ${V.value.bar.transitionDurationMs}ms ease-in-out` })
3756
+ }, null, 12, tn)) : y("", !0),
3757
+ A(bt)(r.value) && t.$slots.pattern ? (T(), b("rect", {
3758
3758
  key: 1,
3759
3759
  x: js(r) - Nc.value / 2,
3760
3760
  y: H.value.useIndividualScale ? Ns(r) : Ms(r),
@@ -3764,38 +3764,38 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3764
3764
  fill: `url(#pattern_${F.value}_${e.slotAbsoluteIndex})`,
3765
3765
  stroke: V.value.bar.border.useSerieColor ? e.color : V.value.bar.border.stroke,
3766
3766
  "stroke-width": V.value.bar.border.strokeWidth,
3767
- style: T({ transition: A(Ra) || !V.value.bar.showTransition ? void 0 : `all ${V.value.bar.transitionDurationMs}ms ease-in-out` })
3768
- }, null, 12, nn)) : b("", !0),
3769
- r.comment && V.value.chart.comments.show ? (E(), x("foreignObject", {
3767
+ style: w({ transition: A(Ra) || !V.value.bar.showTransition ? void 0 : `all ${V.value.bar.transitionDurationMs}ms ease-in-out` })
3768
+ }, null, 12, nn)) : y("", !0),
3769
+ r.comment && V.value.chart.comments.show ? (T(), b("foreignObject", {
3770
3770
  key: 2,
3771
3771
  style: { overflow: "visible" },
3772
3772
  height: "12",
3773
3773
  width: Mc.value + V.value.chart.comments.width,
3774
3774
  x: js(r) - V.value.chart.comments.width / 2 + V.value.chart.comments.offsetX,
3775
- y: A(_)(r.y) + V.value.chart.comments.offsetY + 6
3776
- }, [k(t.$slots, "plot-comment", { plot: {
3775
+ y: A(g)(r.y) + V.value.chart.comments.offsetY + 6
3776
+ }, [O(t.$slots, "plot-comment", { plot: {
3777
3777
  ...r,
3778
3778
  color: e.color,
3779
3779
  seriesIndex: n,
3780
3780
  datapointIndex: i
3781
- } }, void 0, !0)], 8, rn)) : b("", !0)
3782
- ]))), 128))], 6))), 128)) : b("", !0),
3783
- !H.value.useIndividualScale && V.value.chart.grid.labels.zeroLine.show ? (E(), x("line", {
3781
+ } }, void 0, !0)], 8, rn)) : y("", !0)
3782
+ ]))), 128))], 6))), 128)) : y("", !0),
3783
+ !H.value.useIndividualScale && V.value.chart.grid.labels.zeroLine.show ? (T(), b("line", {
3784
3784
  key: 2,
3785
3785
  stroke: V.value.chart.grid.stroke,
3786
3786
  "stroke-width": "1",
3787
3787
  x1: J.value?.left,
3788
3788
  x2: J.value?.right,
3789
- y1: A(g)(Es.value),
3790
- y2: A(g)(Es.value),
3789
+ y1: A(m)(Es.value),
3790
+ y2: A(m)(Es.value),
3791
3791
  "stroke-linecap": "round",
3792
3792
  style: { animation: "none !important" }
3793
- }, null, 8, an)) : b("", !0),
3794
- !V.value.chart.highlighter.crosshairs.show && (V.value.chart.highlighter.useLine || G.value) && Xo.value ? (E(), x("g", on, [S("line", {
3793
+ }, null, 8, an)) : y("", !0),
3794
+ !V.value.chart.highlighter.crosshairs.show && (V.value.chart.highlighter.useLine || G.value) && Xo.value ? (T(), b("g", on, [x("line", {
3795
3795
  x1: au.value,
3796
3796
  x2: au.value,
3797
- y1: A(g)(J.value?.top),
3798
- y2: A(g)(J.value?.bottom),
3797
+ y1: A(m)(J.value?.top),
3798
+ y2: A(m)(J.value?.bottom),
3799
3799
  stroke: V.value.chart.highlighter.color,
3800
3800
  "stroke-width": V.value.chart.highlighter.lineWidth,
3801
3801
  "stroke-dasharray": V.value.chart.highlighter.lineDasharray,
@@ -3805,41 +3805,41 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3805
3805
  animation: "none !important",
3806
3806
  "pointer-events": "none"
3807
3807
  }
3808
- }, null, 8, sn)])) : b("", !0),
3809
- ou.value ? (E(), x("g", cn, [(E(!0), x(v, null, O(su.value, (e) => (E(), x("g", { key: `crosshair_${e.serie.id}_${e.index}` }, [
3810
- S("line", {
3811
- x1: V.value.chart.highlighter.crosshairs.stopOnPoint ? A(g)(e.x) : J.value.left,
3812
- x2: V.value.chart.highlighter.crosshairs.stopOnPoint ? A(g)(lu(e.x)) : J.value.right,
3813
- y1: A(g)(e.y),
3814
- y2: A(g)(e.y),
3808
+ }, null, 8, sn)])) : y("", !0),
3809
+ ou.value ? (T(), b("g", cn, [(T(!0), b(_, null, D(su.value, (e) => (T(), b("g", { key: `crosshair_${e.serie.id}_${e.index}` }, [
3810
+ x("line", {
3811
+ x1: V.value.chart.highlighter.crosshairs.stopOnPoint ? A(m)(e.x) : J.value.left,
3812
+ x2: V.value.chart.highlighter.crosshairs.stopOnPoint ? A(m)(lu(e.x)) : J.value.right,
3813
+ y1: A(m)(e.y),
3814
+ y2: A(m)(e.y),
3815
3815
  stroke: V.value.chart.highlighter.crosshairs.stroke,
3816
3816
  "stroke-width": V.value.chart.highlighter.crosshairs.strokeWidth,
3817
3817
  "stroke-dasharray": V.value.chart.highlighter.crosshairs.strokeDasharray,
3818
3818
  "stroke-linecap": "round",
3819
3819
  style: { "pointer-events": "none" }
3820
3820
  }, null, 8, ln),
3821
- S("line", {
3822
- x1: A(g)(e.x),
3823
- x2: A(g)(e.x),
3824
- y1: V.value.chart.highlighter.crosshairs.stopOnPoint ? A(g)(e.y) : J.value.top,
3825
- y2: V.value.chart.highlighter.crosshairs.stopOnPoint ? A(g)(J.value.bottom) : J.value.bottom,
3821
+ x("line", {
3822
+ x1: A(m)(e.x),
3823
+ x2: A(m)(e.x),
3824
+ y1: V.value.chart.highlighter.crosshairs.stopOnPoint ? A(m)(e.y) : J.value.top,
3825
+ y2: V.value.chart.highlighter.crosshairs.stopOnPoint ? A(m)(J.value.bottom) : J.value.bottom,
3826
3826
  stroke: V.value.chart.highlighter.crosshairs.stroke,
3827
3827
  "stroke-width": V.value.chart.highlighter.crosshairs.strokeWidth,
3828
3828
  "stroke-dasharray": V.value.chart.highlighter.crosshairs.strokeDasharray,
3829
3829
  "stroke-linecap": "round",
3830
3830
  style: { "pointer-events": "none" }
3831
3831
  }, null, 8, un),
3832
- S("circle", {
3833
- cx: A(g)(lu(e.x)),
3834
- cy: A(g)(e.y),
3832
+ x("circle", {
3833
+ cx: A(m)(lu(e.x)),
3834
+ cy: A(m)(e.y),
3835
3835
  r: V.value.chart.highlighter.crosshairs.dot.radius,
3836
3836
  fill: V.value.chart.highlighter.crosshairs.dot.fill,
3837
3837
  stroke: V.value.chart.highlighter.crosshairs.dot.stroke,
3838
3838
  "stroke-width": V.value.chart.highlighter.crosshairs.dot.strokeWidth,
3839
3839
  style: { "pointer-events": "none" }
3840
3840
  }, null, 8, dn)
3841
- ]))), 128))])) : b("", !0),
3842
- V.value.chart.grid.frame.show ? (E(), x("rect", {
3841
+ ]))), 128))])) : y("", !0),
3842
+ V.value.chart.grid.frame.show ? (T(), b("rect", {
3843
3843
  key: 5,
3844
3844
  style: {
3845
3845
  pointerEvents: "none",
@@ -3856,50 +3856,50 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3856
3856
  "stroke-linecap": V.value.chart.grid.frame.strokeLinecap,
3857
3857
  "stroke-linejoin": V.value.chart.grid.frame.strokeLinejoin,
3858
3858
  "stroke-dasharray": V.value.chart.grid.frame.strokeDasharray
3859
- }, null, 8, fn)) : b("", !0),
3860
- V.value.chart.grid.labels.show ? (E(), x("g", {
3859
+ }, null, 8, fn)) : y("", !0),
3860
+ V.value.chart.grid.labels.show ? (T(), b("g", {
3861
3861
  key: 6,
3862
3862
  ref_key: "scaleLabels",
3863
3863
  ref: ji,
3864
3864
  opacity: ou.value ? .2 : 1,
3865
3865
  style: { transition: "opacity 0.2s" }
3866
- }, [H.value.useIndividualScale ? (E(), x(v, { key: 0 }, [(E(!0), x(v, null, O(pl.value, (e) => (E(), x("g", { key: `individual_scale_axis_${e.groupId || e.id}` }, [S("line", {
3866
+ }, [H.value.useIndividualScale ? (T(), b(_, { key: 0 }, [(T(!0), b(_, null, D(pl.value, (e) => (T(), b("g", { key: `individual_scale_axis_${e.groupId || e.id}` }, [x("line", {
3867
3867
  x1: H.value.isStacked ? q.value ? J.value.right : J.value.left : q.value ? e.x : e.x - J.value.individualOffsetX,
3868
3868
  x2: H.value.isStacked ? q.value ? J.value.right : J.value.left : q.value ? e.x : e.x - J.value.individualOffsetX,
3869
- y1: H.value.isStacked ? A(g)(J.value?.bottom - e.yOffset - e.individualHeight) : A(g)(J.value?.top),
3870
- y2: H.value.isStacked ? A(g)(J.value?.bottom - e.yOffset) : A(g)(J.value?.bottom),
3869
+ y1: H.value.isStacked ? A(m)(J.value?.bottom - e.yOffset - e.individualHeight) : A(m)(J.value?.top),
3870
+ y2: H.value.isStacked ? A(m)(J.value?.bottom - e.yOffset) : A(m)(J.value?.bottom),
3871
3871
  stroke: e.color,
3872
3872
  "stroke-width": V.value.chart.grid.stroke,
3873
3873
  "stroke-linecap": "round",
3874
- style: T(`opacity:${N.value ? N.value === e.groupId ? 1 : .3 : 1};transition:opacity 0.2s ease-in-out; animation: none !important`)
3875
- }, null, 12, mn)]))), 128)), (E(!0), x(v, null, O(pl.value, (e) => (E(), x("g", {
3874
+ style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .3 : 1};transition:opacity 0.2s ease-in-out; animation: none !important`)
3875
+ }, null, 12, mn)]))), 128)), (T(!0), b(_, null, D(pl.value, (e) => (T(), b("g", {
3876
3876
  key: `individual_scale_label_${e.groupId || e.id}`,
3877
- style: T(`opacity:${N.value ? N.value === e.groupId ? 1 : .3 : 1};transition:opacity 0.2s ease-in-out`)
3877
+ style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .3 : 1};transition:opacity 0.2s ease-in-out`)
3878
3878
  }, [
3879
- S("text", {
3879
+ x("text", {
3880
3880
  fill: e.color,
3881
3881
  "font-size": B.value.dataLabels * .8,
3882
3882
  "text-anchor": "middle",
3883
3883
  transform: `translate(${H.value.isStacked ? q.value ? J.value.right + V.value.chart.grid.labels.yAxis.crosshairSize + V.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 + V.value.chart.grid.labels.yAxis.labelWidth + J.value.individualOffsetX + V.value.chart.grid.labels.axis.yLabelOffsetX : J.value.left - V.value.chart.grid.labels.yAxis.crosshairSize - V.value.chart.grid.labels.yAxis.scaleValueOffsetX - V.value.chart.grid.labels.yAxis.labelWidth - V.value.chart.grid.labels.axis.yLabelOffsetX : q.value ? e.x + V.value.chart.grid.labels.yAxis.crosshairSize + V.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 + V.value.chart.grid.labels.yAxis.labelWidth + V.value.chart.grid.labels.axis.yLabelOffsetX : e.x - B.value.dataLabels * .8 / 2}, ${H.value.isStacked ? J.value?.bottom - e.yOffset - e.individualHeight / 2 : J.value?.top + J.value.height / 2}) rotate(-90)`
3884
- }, pt(e.name) + " " + pt(e.scaleLabel && e.unique && e.scaleLabel !== e.id ? `- ${e.scaleLabel}` : ""), 9, hn),
3885
- (E(!0), x(v, null, O(e.yLabels, (t, n) => (E(), x(v, { key: `individual_scale_y_crosshair_${e.groupId || e.id}_${t.value}_${n}` }, [V.value.chart.grid.labels.yAxis.showCrosshairs ? (E(), x("line", {
3884
+ }, k(e.name) + " " + k(e.scaleLabel && e.unique && e.scaleLabel !== e.id ? `- ${e.scaleLabel}` : ""), 9, hn),
3885
+ (T(!0), b(_, null, D(e.yLabels, (t, n) => (T(), b(_, { key: `individual_scale_y_crosshair_${e.groupId || e.id}_${t.value}_${n}` }, [V.value.chart.grid.labels.yAxis.showCrosshairs ? (T(), b("line", {
3886
3886
  key: 0,
3887
3887
  x1: H.value.isStacked ? q.value ? J.value.right : J.value.left : q.value ? e.x : e.x + 3 - V.value.chart.grid.labels.yAxis.crosshairSize - J.value.individualOffsetX,
3888
3888
  x2: H.value.isStacked ? q.value ? J.value.right + V.value.chart.grid.labels.yAxis.crosshairSize : J.value.left - V.value.chart.grid.labels.yAxis.crosshairSize : q.value ? e.x + V.value.chart.grid.labels.yAxis.crosshairSize : e.x - J.value.individualOffsetX,
3889
- y1: A(g)(t.y),
3890
- y2: A(g)(t.y),
3889
+ y1: A(m)(t.y),
3890
+ y2: A(m)(t.y),
3891
3891
  stroke: e.color,
3892
3892
  "stroke-width": 1,
3893
3893
  "stroke-linecap": "round",
3894
3894
  style: { animation: "none !important" }
3895
- }, null, 8, gn)) : b("", !0)], 64))), 128)),
3896
- (E(!0), x(v, null, O(e.yLabels, (t, n) => (E(), x("text", {
3895
+ }, null, 8, gn)) : y("", !0)], 64))), 128)),
3896
+ (T(!0), b(_, null, D(e.yLabels, (t, n) => (T(), b("text", {
3897
3897
  key: `individual_scale_y_label_${e.groupId || e.id}_${t.value}_${n}`,
3898
- transform: `translate(${H.value.isStacked ? q.value ? J.value.right + V.value.chart.grid.labels.yAxis.crosshairSize + V.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : J.value.left - V.value.chart.grid.labels.yAxis.crosshairSize - V.value.chart.grid.labels.yAxis.scaleValueOffsetX - 5 : q.value ? e.x + V.value.chart.grid.labels.yAxis.crosshairSize + V.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : e.x - 5 - J.value.individualOffsetX}, ${A(g)(t.y) + B.value.dataLabels / 3})`,
3898
+ transform: `translate(${H.value.isStacked ? q.value ? J.value.right + V.value.chart.grid.labels.yAxis.crosshairSize + V.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : J.value.left - V.value.chart.grid.labels.yAxis.crosshairSize - V.value.chart.grid.labels.yAxis.scaleValueOffsetX - 5 : q.value ? e.x + V.value.chart.grid.labels.yAxis.crosshairSize + V.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : e.x - 5 - J.value.individualOffsetX}, ${A(m)(t.y) + B.value.dataLabels / 3})`,
3899
3899
  "text-anchor": q.value ? "start" : "end",
3900
3900
  "font-size": B.value.dataLabels,
3901
3901
  fill: e.color
3902
- }, pt(A(h)(V.value.chart.grid.labels.yAxis.formatter, t.value, A(u)({
3902
+ }, k(A(h)(V.value.chart.grid.labels.yAxis.formatter, t.value, A(p)({
3903
3903
  p: t.prefix,
3904
3904
  v: t.value,
3905
3905
  s: t.suffix,
@@ -3908,31 +3908,31 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3908
3908
  datapoint: t.datapoint,
3909
3909
  seriesIndex: n
3910
3910
  })), 9, _n))), 128))
3911
- ], 4))), 128))], 64)) : (E(!0), x(v, { key: 1 }, O(Lc.value, (e, t) => (E(), x("g", { key: `yLabel_${t}` }, [A(bt)(e) && e.value >= W.value.min && e.value <= W.value.max && V.value.chart.grid.labels.yAxis.showCrosshairs ? (E(), x("line", {
3911
+ ], 4))), 128))], 64)) : (T(!0), b(_, { key: 1 }, D(Lc.value, (e, t) => (T(), b("g", { key: `yLabel_${t}` }, [A(bt)(e) && e.value >= W.value.min && e.value <= W.value.max && V.value.chart.grid.labels.yAxis.showCrosshairs ? (T(), b("line", {
3912
3912
  key: 0,
3913
3913
  x1: q.value ? J.value?.right : J.value?.left,
3914
3914
  x2: q.value ? J.value?.right + V.value.chart.grid.labels.yAxis.crosshairSize : J.value?.left - V.value.chart.grid.labels.yAxis.crosshairSize,
3915
- y1: A(g)(e.y),
3916
- y2: A(g)(e.y),
3915
+ y1: A(m)(e.y),
3916
+ y2: A(m)(e.y),
3917
3917
  stroke: V.value.chart.grid.stroke,
3918
3918
  "stroke-width": "1",
3919
3919
  "stroke-linecap": "round",
3920
3920
  style: { animation: "none !important" }
3921
- }, null, 8, vn)) : b("", !0), e.value >= W.value.min && e.value <= W.value.max ? (E(), x("text", {
3921
+ }, null, 8, vn)) : y("", !0), e.value >= W.value.min && e.value <= W.value.max ? (T(), b("text", {
3922
3922
  key: 1,
3923
- transform: `translate(${q.value ? J.value.right + V.value.chart.grid.labels.yAxis.crosshairSize + V.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : J.value.scaleLabelX - V.value.chart.grid.labels.yAxis.crosshairSize}, ${A(_)(e.y + B.value.dataLabels / 3)})`,
3923
+ transform: `translate(${q.value ? J.value.right + V.value.chart.grid.labels.yAxis.crosshairSize + V.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : J.value.scaleLabelX - V.value.chart.grid.labels.yAxis.crosshairSize}, ${A(g)(e.y + B.value.dataLabels / 3)})`,
3924
3924
  "font-size": B.value.dataLabels,
3925
3925
  "text-anchor": q.value ? "start" : "end",
3926
3926
  fill: V.value.chart.grid.labels.color
3927
- }, pt(A(bt)(e.value) ? A(h)(V.value.chart.grid.labels.yAxis.formatter, e.value, A(u)({
3927
+ }, k(A(bt)(e.value) ? A(h)(V.value.chart.grid.labels.yAxis.formatter, e.value, A(p)({
3928
3928
  p: e.prefix,
3929
3929
  v: e.value,
3930
3930
  s: e.suffix,
3931
3931
  r: V.value.chart.grid.labels.yAxis.rounding
3932
- })) : ""), 9, yn)) : b("", !0)]))), 128))], 8, pn)) : b("", !0),
3933
- ou.value ? (E(), x("g", bn, [(E(!0), x(v, null, O(su.value, (e) => (E(), x("text", {
3932
+ })) : ""), 9, yn)) : y("", !0)]))), 128))], 8, pn)) : y("", !0),
3933
+ ou.value ? (T(), b("g", bn, [(T(!0), b(_, null, D(su.value, (e) => (T(), b("text", {
3934
3934
  key: `crosshair_y_label_${e.serie.id}_${e.index}`,
3935
- transform: `translate(${q.value ? J.value.right + V.value.chart.grid.labels.yAxis.crosshairSize + V.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : J.value.scaleLabelX - V.value.chart.grid.labels.yAxis.crosshairSize}, ${A(g)(e.y) + B.value.dataLabels / 3})`,
3935
+ transform: `translate(${q.value ? J.value.right + V.value.chart.grid.labels.yAxis.crosshairSize + V.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : J.value.scaleLabelX - V.value.chart.grid.labels.yAxis.crosshairSize}, ${A(m)(e.y) + B.value.dataLabels / 3})`,
3936
3936
  "font-size": B.value.dataLabels,
3937
3937
  "text-anchor": q.value ? "start" : "end",
3938
3938
  fill: V.value.chart.grid.labels.color,
@@ -3941,7 +3941,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3941
3941
  animation: "none !important",
3942
3942
  "pointer-events": "none"
3943
3943
  }
3944
- }, pt(A(h)(V.value.chart.grid.labels.yAxis.formatter, e.value, A(u)({
3944
+ }, k(A(h)(V.value.chart.grid.labels.yAxis.formatter, e.value, A(p)({
3945
3945
  p: e.serie.prefix || V.value.chart.labels.prefix,
3946
3946
  v: e.value,
3947
3947
  s: e.serie.suffix || V.value.chart.labels.suffix,
@@ -3949,10 +3949,10 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3949
3949
  }), {
3950
3950
  datapoint: e.serie,
3951
3951
  seriesIndex: e.index
3952
- })), 9, xn))), 128))])) : b("", !0),
3953
- cu.value ? (E(), x("g", Sn, [S("circle", {
3952
+ })), 9, xn))), 128))])) : y("", !0),
3953
+ cu.value ? (T(), b("g", Sn, [x("circle", {
3954
3954
  cx: au.value,
3955
- cy: A(g)(J.value?.bottom),
3955
+ cy: A(m)(J.value?.bottom),
3956
3956
  r: V.value.chart.highlighter.crosshairs.dot.radius,
3957
3957
  fill: V.value.chart.highlighter.crosshairs.dot.fill,
3958
3958
  stroke: V.value.chart.highlighter.crosshairs.dot.stroke,
@@ -3962,12 +3962,12 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3962
3962
  animation: "none !important",
3963
3963
  "pointer-events": "none"
3964
3964
  }
3965
- }, null, 8, Cn)])) : b("", !0),
3966
- (E(!0), x(v, null, O($.value, (e, n) => (E(), x("g", {
3965
+ }, null, 8, Cn)])) : y("", !0),
3966
+ (T(!0), b(_, null, D($.value, (e, n) => (T(), b("g", {
3967
3967
  key: `serie_plot_${e.id}`,
3968
- class: ct(`serie_plot_${n}`),
3969
- style: T(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
3970
- }, [(E(!0), x(v, null, O(e.plots, (r, i) => (E(), x("g", { key: `circle_plot_${e.id}_${i}` }, [r && A(bt)(r.value) ? (E(), et(Ke, {
3968
+ class: lt(`serie_plot_${n}`),
3969
+ style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
3970
+ }, [(T(!0), b(_, null, D(e.plots, (r, i) => (T(), b("g", { key: `circle_plot_${e.id}_${i}` }, [r && A(bt)(r.value) ? (T(), tt(qe, {
3971
3971
  key: 0,
3972
3972
  shape: [
3973
3973
  "triangle",
@@ -3979,8 +3979,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3979
3979
  ].includes(e.shape) ? e.shape : "circle",
3980
3980
  color: V.value.plot.useGradient ? `url(#plotGradient_${n}_${F.value})` : V.value.plot.dot.useSerieColor ? e.color : V.value.plot.dot.fill,
3981
3981
  plot: {
3982
- x: A(_)(r.x),
3983
- y: A(_)(r.y)
3982
+ x: A(g)(r.x),
3983
+ y: A(g)(r.y)
3984
3984
  },
3985
3985
  radius: uu(e, r, i) ? (Oa.value.plot || 6) * 1.5 : (zc(e.plots, i), Oa.value.plot || 6),
3986
3986
  stroke: V.value.plot.dot.useSerieColor ? V.value.chart.backgroundColor : e.color,
@@ -3996,24 +3996,24 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
3996
3996
  "strokeWidth",
3997
3997
  "transition",
3998
3998
  "still"
3999
- ])) : b("", !0), r.comment && V.value.chart.comments.show ? (E(), x("foreignObject", {
3999
+ ])) : y("", !0), r.comment && V.value.chart.comments.show ? (T(), b("foreignObject", {
4000
4000
  key: 1,
4001
4001
  style: { overflow: "visible" },
4002
4002
  height: "12",
4003
4003
  width: V.value.chart.comments.width,
4004
4004
  x: r.x - V.value.chart.comments.width / 2 + V.value.chart.comments.offsetX,
4005
4005
  y: r.y + V.value.chart.comments.offsetY + 6
4006
- }, [S("div", Tn, [k(t.$slots, "plot-comment", { plot: {
4006
+ }, [x("div", Tn, [O(t.$slots, "plot-comment", { plot: {
4007
4007
  ...r,
4008
4008
  color: e.color,
4009
4009
  seriesIndex: n,
4010
4010
  datapointIndex: i
4011
- } }, void 0, !0)])], 8, wn)) : b("", !0)]))), 128))], 6))), 128)),
4012
- (E(!0), x(v, null, O(Q.value, (e, t) => (E(), x("g", {
4011
+ } }, void 0, !0)])], 8, wn)) : y("", !0)]))), 128))], 6))), 128)),
4012
+ (T(!0), b(_, null, D(Q.value, (e, t) => (T(), b("g", {
4013
4013
  key: `serie_line_${e.id}`,
4014
- class: ct(`serie_line_${t}`),
4015
- style: T(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
4016
- }, [e.hasDashedSegments ? (E(), x(v, { key: 0 }, [e.smooth ? (E(!0), x(v, { key: 0 }, O(e.dashedSmooth, (t, n) => (E(), x("path", {
4014
+ class: lt(`serie_line_${t}`),
4015
+ style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
4016
+ }, [e.hasDashedSegments ? (T(), b(_, { key: 0 }, [e.smooth ? (T(!0), b(_, { key: 0 }, D(e.dashedSmooth, (t, n) => (T(), b("path", {
4017
4017
  key: `line_coating_smooth_segment_${e.id}_${n}`,
4018
4018
  fill: "none",
4019
4019
  "stroke-linecap": "round",
@@ -4022,8 +4022,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4022
4022
  stroke: V.value.chart.backgroundColor,
4023
4023
  "stroke-width": V.value.line.strokeWidth + 1,
4024
4024
  "stroke-dasharray": t.dashed ? V.value.line.strokeWidth * 2 : 0,
4025
- style: T({ transition: Gc() })
4026
- }, null, 12, En))), 128)) : (E(!0), x(v, { key: 1 }, O(e.dashedStraight, (t, n) => (E(), x("path", {
4025
+ style: w({ transition: Gc() })
4026
+ }, null, 12, En))), 128)) : (T(!0), b(_, { key: 1 }, D(e.dashedStraight, (t, n) => (T(), b("path", {
4027
4027
  key: `line_coating_straight_segment_${e.id}_${n}`,
4028
4028
  fill: "none",
4029
4029
  "stroke-linecap": "round",
@@ -4032,8 +4032,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4032
4032
  stroke: V.value.chart.backgroundColor,
4033
4033
  "stroke-width": V.value.line.strokeWidth + 1,
4034
4034
  "stroke-dasharray": t.dashed ? V.value.line.strokeWidth * 2 : 0,
4035
- style: T({ transition: Gc() })
4036
- }, null, 12, Dn))), 128))], 64)) : e.smooth && e.plots.length > 1 && e.curve ? (E(), x("path", {
4035
+ style: w({ transition: Gc() })
4036
+ }, null, 12, Dn))), 128))], 64)) : e.smooth && e.plots.length > 1 && e.curve ? (T(), b("path", {
4037
4037
  key: 1,
4038
4038
  d: `M${e.curve}`,
4039
4039
  stroke: V.value.chart.backgroundColor,
@@ -4042,8 +4042,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4042
4042
  fill: "none",
4043
4043
  "stroke-linecap": "round",
4044
4044
  "stroke-linejoin": "round",
4045
- style: T({ transition: Gc() })
4046
- }, null, 12, On)) : e.plots.length > 1 && e.straight ? (E(), x("path", {
4045
+ style: w({ transition: Gc() })
4046
+ }, null, 12, On)) : e.plots.length > 1 && e.straight ? (T(), b("path", {
4047
4047
  key: 2,
4048
4048
  d: `M${e.straight}`,
4049
4049
  stroke: V.value.chart.backgroundColor,
@@ -4052,49 +4052,49 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4052
4052
  fill: "none",
4053
4053
  "stroke-linecap": "round",
4054
4054
  "stroke-linejoin": "round",
4055
- style: T({ transition: Gc() })
4056
- }, null, 12, kn)) : b("", !0)], 6))), 128)),
4057
- t.$slots.pattern ? (E(), x("defs", An, [(E(!0), x(v, null, O(vo.value, (e, n) => k(t.$slots, "pattern", ot({ key: `serie_pattern_slot_${e.id}` }, { ref_for: !0 }, {
4055
+ style: w({ transition: Gc() })
4056
+ }, null, 12, kn)) : y("", !0)], 6))), 128)),
4057
+ t.$slots.pattern ? (T(), b("defs", An, [(T(!0), b(_, null, D(vo.value, (e, n) => O(t.$slots, "pattern", st({ key: `serie_pattern_slot_${e.id}` }, { ref_for: !0 }, {
4058
4058
  ...e,
4059
4059
  seriesIndex: e.slotAbsoluteIndex,
4060
4060
  patternId: `pattern_${F.value}_${n}`
4061
- }), void 0, !0)), 128))])) : b("", !0),
4062
- ml.value.length && !H.value.isStacked ? (E(), x("g", jn, [(E(!0), x(v, null, O(ml.value, (e) => (E(), x("path", {
4061
+ }), void 0, !0)), 128))])) : y("", !0),
4062
+ ml.value.length && !H.value.isStacked ? (T(), b("g", jn, [(T(!0), b(_, null, D(ml.value, (e) => (T(), b("path", {
4063
4063
  key: e.key,
4064
4064
  d: e.d,
4065
4065
  fill: e.color,
4066
4066
  "fill-opacity": V.value.line.interLine.fillOpacity,
4067
4067
  stroke: "none",
4068
4068
  "pointer-events": "none",
4069
- style: T({ transition: Gc() })
4070
- }, null, 12, Mn))), 128))])) : b("", !0),
4071
- (E(!0), x(v, null, O(Q.value, (e, n) => (E(), x("g", {
4069
+ style: w({ transition: Gc() })
4070
+ }, null, 12, Mn))), 128))])) : y("", !0),
4071
+ (T(!0), b(_, null, D(Q.value, (e, n) => (T(), b("g", {
4072
4072
  key: `serie_line_above_${e.id}`,
4073
- class: ct(`serie_line_${n}`),
4074
- style: T(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
4073
+ class: lt(`serie_line_${n}`),
4074
+ style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
4075
4075
  }, [
4076
- e.useArea && e.plots.length > 1 ? (E(), x("g", Nn, [e.smooth ? (E(!0), x(v, { key: 0 }, O(e.curveAreas, (r, i) => (E(), x(v, { key: i }, [r ? (E(), x("path", {
4076
+ e.useArea && e.plots.length > 1 ? (T(), b("g", Nn, [e.smooth ? (T(!0), b(_, { key: 0 }, D(e.curveAreas, (r, i) => (T(), b(_, { key: i }, [r ? (T(), b("path", {
4077
4077
  key: 0,
4078
4078
  d: r,
4079
- fill: V.value.line.area.useGradient ? `url(#areaGradient_${n}_${F.value})` : A(p)(e.color, V.value.line.area.opacity),
4080
- style: T({ transition: Gc() })
4081
- }, null, 12, Pn)) : b("", !0), t.$slots.pattern && r ? (E(), x("path", {
4079
+ fill: V.value.line.area.useGradient ? `url(#areaGradient_${n}_${F.value})` : A(je)(e.color, V.value.line.area.opacity),
4080
+ style: w({ transition: Gc() })
4081
+ }, null, 12, Pn)) : y("", !0), t.$slots.pattern && r ? (T(), b("path", {
4082
4082
  key: 1,
4083
4083
  d: r,
4084
4084
  fill: `url(#pattern_${F.value}_${e.slotAbsoluteIndex})`,
4085
- style: T({ transition: Gc() })
4086
- }, null, 12, Fn)) : b("", !0)], 64))), 128)) : (E(!0), x(v, { key: 1 }, O(e.area.split(";"), (r, i) => (E(), x(v, { key: i }, [r ? (E(), x("path", {
4085
+ style: w({ transition: Gc() })
4086
+ }, null, 12, Fn)) : y("", !0)], 64))), 128)) : (T(!0), b(_, { key: 1 }, D(e.area.split(";"), (r, i) => (T(), b(_, { key: i }, [r ? (T(), b("path", {
4087
4087
  key: 0,
4088
4088
  d: `M${r}Z`,
4089
- fill: V.value.line.area.useGradient ? `url(#areaGradient_${n}_${F.value})` : A(p)(e.color, V.value.line.area.opacity),
4090
- style: T({ transition: Gc() })
4091
- }, null, 12, In)) : b("", !0), t.$slots.pattern && r ? (E(), x("path", {
4089
+ fill: V.value.line.area.useGradient ? `url(#areaGradient_${n}_${F.value})` : A(je)(e.color, V.value.line.area.opacity),
4090
+ style: w({ transition: Gc() })
4091
+ }, null, 12, In)) : y("", !0), t.$slots.pattern && r ? (T(), b("path", {
4092
4092
  key: 1,
4093
4093
  d: `M${r}Z`,
4094
4094
  fill: `url(#pattern_${F.value}_${e.slotAbsoluteIndex})`,
4095
- style: T({ transition: Gc() })
4096
- }, null, 12, Ln)) : b("", !0)], 64))), 128))])) : b("", !0),
4097
- !e.hasDashedSegments && e.smooth && e.plots.length > 1 && e.curve ? (E(), x("path", {
4095
+ style: w({ transition: Gc() })
4096
+ }, null, 12, Ln)) : y("", !0)], 64))), 128))])) : y("", !0),
4097
+ !e.hasDashedSegments && e.smooth && e.plots.length > 1 && e.curve ? (T(), b("path", {
4098
4098
  key: 1,
4099
4099
  d: `M${e.curve}`,
4100
4100
  stroke: e.temperatureColors && !e.isFlatTemperatureLine ? `url(#temperature_grad_line_${n}_${F.value})` : e.color,
@@ -4102,8 +4102,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4102
4102
  "stroke-dasharray": e.dashed ? V.value.line.strokeWidth * 2 : 0,
4103
4103
  fill: "none",
4104
4104
  "stroke-linecap": "round",
4105
- style: T({ transition: Gc() })
4106
- }, null, 12, Rn)) : e.hasDashedSegments ? (E(), x(v, { key: 2 }, [e.smooth ? (E(!0), x(v, { key: 0 }, O(e.dashedSmooth, (t, r) => (E(), x("path", {
4105
+ style: w({ transition: Gc() })
4106
+ }, null, 12, Rn)) : e.hasDashedSegments ? (T(), b(_, { key: 2 }, [e.smooth ? (T(!0), b(_, { key: 0 }, D(e.dashedSmooth, (t, r) => (T(), b("path", {
4107
4107
  key: `line_smooth_segment_${e.id}_${r}`,
4108
4108
  fill: "none",
4109
4109
  "stroke-linecap": "round",
@@ -4112,8 +4112,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4112
4112
  stroke: e.temperatureColors && !e.isFlatTemperatureLine ? `url(#temperature_grad_line_${n}_${F.value})` : e.color,
4113
4113
  "stroke-width": V.value.line.strokeWidth,
4114
4114
  "stroke-dasharray": t.dashed ? V.value.line.strokeWidth * 2 : 0,
4115
- style: T({ transition: Gc() })
4116
- }, null, 12, zn))), 128)) : (E(!0), x(v, { key: 1 }, O(e.dashedStraight, (t, r) => (E(), x("path", {
4115
+ style: w({ transition: Gc() })
4116
+ }, null, 12, zn))), 128)) : (T(!0), b(_, { key: 1 }, D(e.dashedStraight, (t, r) => (T(), b("path", {
4117
4117
  key: `line_straight_segment_${e.id}_${r}`,
4118
4118
  fill: "none",
4119
4119
  "stroke-linecap": "round",
@@ -4122,8 +4122,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4122
4122
  stroke: e.temperatureColors && !e.isFlatTemperatureLine ? `url(#temperature_grad_line_${n}_${F.value})` : e.color,
4123
4123
  "stroke-width": V.value.line.strokeWidth,
4124
4124
  "stroke-dasharray": t.dashed ? V.value.line.strokeWidth * 2 : 0,
4125
- style: T({ transition: Gc() })
4126
- }, null, 12, Bn))), 128))], 64)) : e.plots.length > 1 && e.straight ? (E(), x("path", {
4125
+ style: w({ transition: Gc() })
4126
+ }, null, 12, Bn))), 128))], 64)) : e.plots.length > 1 && e.straight ? (T(), b("path", {
4127
4127
  key: 3,
4128
4128
  d: `M${e.straight}`,
4129
4129
  stroke: e.temperatureColors && !e.isFlatTemperatureLine ? `url(#temperature_grad_line_${n}_${F.value})` : e.color,
@@ -4132,9 +4132,9 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4132
4132
  fill: "none",
4133
4133
  "stroke-linecap": "round",
4134
4134
  "stroke-linejoin": "round",
4135
- style: T({ transition: Gc() })
4136
- }, null, 12, Vn)) : b("", !0),
4137
- (E(!0), x(v, null, O(e.plots, (r, i) => (E(), x(v, { key: `circle_line_${e.id}_${i}` }, [!nc.value.linePlot && r && A(bt)(r.value) || nc.value.linePlot && r && A(bt)(r.value) && (R.value !== null && R.value === i || I.value !== null && I.value === i) || zc(e.plots, i) ? (E(), et(Ke, {
4135
+ style: w({ transition: Gc() })
4136
+ }, null, 12, Vn)) : y("", !0),
4137
+ (T(!0), b(_, null, D(e.plots, (r, i) => (T(), b(_, { key: `circle_line_${e.id}_${i}` }, [!nc.value.linePlot && r && A(bt)(r.value) || nc.value.linePlot && r && A(bt)(r.value) && (R.value !== null && R.value === i || I.value !== null && I.value === i) || zc(e.plots, i) ? (T(), tt(qe, {
4138
4138
  key: 0,
4139
4139
  shape: [
4140
4140
  "triangle",
@@ -4146,8 +4146,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4146
4146
  ].includes(e.shape) ? e.shape : "circle",
4147
4147
  color: V.value.line.useGradient ? `url(#lineGradient_${n}_${F.value})` : V.value.line.dot.useSerieColor ? e.color : V.value.line.dot.fill,
4148
4148
  plot: {
4149
- x: A(_)(r.x),
4150
- y: A(_)(r.y)
4149
+ x: A(g)(r.x),
4150
+ y: A(g)(r.y)
4151
4151
  },
4152
4152
  radius: uu(e, r, i) ? ka.value || 0 : (zc(e.plots, i), Oa.value.line || 0),
4153
4153
  stroke: V.value.line.dot.useSerieColor ? V.value.chart.backgroundColor : e.color,
@@ -4163,21 +4163,21 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4163
4163
  "strokeWidth",
4164
4164
  "transition",
4165
4165
  "still"
4166
- ])) : b("", !0), r.comment && V.value.chart.comments.show ? (E(), x("foreignObject", {
4166
+ ])) : y("", !0), r.comment && V.value.chart.comments.show ? (T(), b("foreignObject", {
4167
4167
  key: 1,
4168
4168
  style: { overflow: "visible" },
4169
4169
  height: "12",
4170
4170
  width: V.value.chart.comments.width,
4171
4171
  x: r.x - V.value.chart.comments.width / 2 + V.value.chart.comments.offsetX,
4172
4172
  y: r.y + V.value.chart.comments.offsetY + 6
4173
- }, [S("div", Un, [k(t.$slots, "plot-comment", { plot: {
4173
+ }, [x("div", Un, [O(t.$slots, "plot-comment", { plot: {
4174
4174
  ...r,
4175
4175
  color: e.color,
4176
4176
  seriesIndex: n,
4177
4177
  datapointIndex: i
4178
- } }, void 0, !0)])], 8, Hn)) : b("", !0)], 64))), 128))
4178
+ } }, void 0, !0)])], 8, Hn)) : y("", !0)], 64))), 128))
4179
4179
  ], 6))), 128)),
4180
- (V.value.bar.labels.show || V.value.bar.serieName.show) && H.value.dataLabels.show ? (E(), x("g", Wn, [(E(!0), x(v, null, O(pu.value, (e) => (E(), x("text", {
4180
+ (V.value.bar.labels.show || V.value.bar.serieName.show) && H.value.dataLabels.show ? (T(), b("g", Wn, [(T(!0), b(_, null, D(pu.value, (e) => (T(), b("text", {
4181
4181
  key: e.key,
4182
4182
  "text-anchor": iu({
4183
4183
  plot: e.plot,
@@ -4188,13 +4188,13 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4188
4188
  fill: V.value.bar.labels.color,
4189
4189
  stroke: V.value.chart.backgroundColor,
4190
4190
  "paint-order": "stroke",
4191
- style: T(`opacity:${N.value ? N.value === e.serie.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`),
4191
+ style: w(`opacity:${N.value ? N.value === e.serie.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`),
4192
4192
  innerHTML: tu({
4193
4193
  serie: e.serie,
4194
4194
  plot: e.plot,
4195
4195
  type: "bar"
4196
4196
  })
4197
- }, null, 12, Gn))), 128)), (E(!0), x(v, null, O(dl.value, (e, t) => (E(), x(v, { key: `xLabel_bar_${e.id}` }, [(E(!0), x(v, null, O(e.plots, (n, r) => (E(), x(v, { key: `xLabel_bar_${t}_${r}` }, [n && V.value.bar.serieName.show ? (E(), x("text", {
4197
+ }, null, 12, Gn))), 128)), (T(!0), b(_, null, D(dl.value, (e, t) => (T(), b(_, { key: `xLabel_bar_${e.id}` }, [(T(!0), b(_, null, D(e.plots, (n, r) => (T(), b(_, { key: `xLabel_bar_${t}_${r}` }, [n && V.value.bar.serieName.show ? (T(), b("text", {
4198
4198
  key: 0,
4199
4199
  x: H.value.useIndividualScale && H.value.isStacked ? n.x + ks.value.line / 2 : n.x + As() * 1.1,
4200
4200
  y: n.y + (n.value > 0 ? V.value.bar.serieName.offsetY : -V.value.bar.serieName.offsetY * 3),
@@ -4202,12 +4202,12 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4202
4202
  "font-size": B.value.plotLabels,
4203
4203
  fill: V.value.bar.serieName.useSerieColor ? e.color : V.value.bar.serieName.color,
4204
4204
  "font-weight": V.value.bar.serieName.bold ? "bold" : "normal",
4205
- style: T(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
4206
- }, pt(V.value.bar.serieName.useAbbreviation ? A(Ce)({
4205
+ style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
4206
+ }, k(V.value.bar.serieName.useAbbreviation ? A(Se)({
4207
4207
  source: e.name,
4208
4208
  length: V.value.bar.serieName.abbreviationSize
4209
- }) : e.name), 13, Kn)) : b("", !0)], 64))), 128))], 64))), 128))])) : b("", !0),
4210
- V.value.plot.labels.show && H.value.dataLabels.show ? (E(), x("g", qn, [(E(!0), x(v, null, O(mu.value, (e) => (E(), x("text", {
4209
+ }) : e.name), 13, Kn)) : y("", !0)], 64))), 128))], 64))), 128))])) : y("", !0),
4210
+ V.value.plot.labels.show && H.value.dataLabels.show ? (T(), b("g", qn, [(T(!0), b(_, null, D(mu.value, (e) => (T(), b("text", {
4211
4211
  key: e.key,
4212
4212
  transform: ru({
4213
4213
  plot: e.plot,
@@ -4221,17 +4221,17 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4221
4221
  fill: V.value.plot.labels.color,
4222
4222
  stroke: V.value.chart.backgroundColor,
4223
4223
  "paint-order": "stroke",
4224
- style: T(`opacity:${N.value ? N.value === e.serie.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`),
4224
+ style: w(`opacity:${N.value ? N.value === e.serie.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`),
4225
4225
  innerHTML: tu({
4226
4226
  serie: e.serie,
4227
4227
  plot: e.plot,
4228
4228
  type: "plot"
4229
4229
  })
4230
- }, null, 12, Jn))), 128))])) : (E(), x("g", Yn, [(E(!0), x(v, null, O($.value, (e, t) => (E(), x(v, { key: `xLabel_plot_${e.id}` }, [(E(!0), x(v, null, O(e.plots, (n, r) => (E(), x(v, { key: `xLabel_plot_${t}_${r}` }, [V.value.plot.tag.followValue ? (E(), x(v, { key: 1 }, [[
4230
+ }, null, 12, Jn))), 128))])) : (T(), b("g", Yn, [(T(!0), b(_, null, D($.value, (e, t) => (T(), b(_, { key: `xLabel_plot_${e.id}` }, [(T(!0), b(_, null, D(e.plots, (n, r) => (T(), b(_, { key: `xLabel_plot_${t}_${r}` }, [V.value.plot.tag.followValue ? (T(), b(_, { key: 1 }, [[
4231
4231
  I.value,
4232
4232
  R.value,
4233
4233
  Wi.value
4234
- ].includes(r) && e.useTag ? (E(), x("line", {
4234
+ ].includes(r) && e.useTag ? (T(), b("line", {
4235
4235
  key: 0,
4236
4236
  class: "vue-ui-xy-tag-plot",
4237
4237
  x1: J.value?.left,
@@ -4242,36 +4242,36 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4242
4242
  "stroke-linecap": "round",
4243
4243
  "stroke-dasharray": "2",
4244
4244
  stroke: e.color
4245
- }, null, 8, er)) : b("", !0)], 64)) : (E(), x(v, { key: 0 }, [n && r === 0 && e.useTag && e.useTag === "start" ? (E(), x("foreignObject", {
4245
+ }, null, 8, er)) : y("", !0)], 64)) : (T(), b(_, { key: 0 }, [n && r === 0 && e.useTag && e.useTag === "start" ? (T(), b("foreignObject", {
4246
4246
  key: 0,
4247
4247
  x: n.x,
4248
4248
  y: n.y - 20,
4249
4249
  height: 24,
4250
4250
  width: "150",
4251
- style: T(`overflow: visible; opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
4252
- }, [S("div", {
4253
- style: T(`padding: 3px; background:${A(p)(e.color, 80)};color:${A(we)(e.color)};width:fit-content;font-size:${B.value.plotLabels}px;border-radius: 2px;`),
4251
+ style: w(`overflow: visible; opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
4252
+ }, [x("div", {
4253
+ style: w(`padding: 3px; background:${A(je)(e.color, 80)};color:${A(we)(e.color)};width:fit-content;font-size:${B.value.plotLabels}px;border-radius: 2px;`),
4254
4254
  innerHTML: A(h)(V.value.plot.tag.formatter, n.value, e.name, {
4255
4255
  datapoint: n,
4256
4256
  seriesIndex: r,
4257
4257
  serieName: e.name
4258
4258
  })
4259
- }, null, 12, Zn)], 12, Xn)) : b("", !0), n && r === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (E(), x("foreignObject", {
4259
+ }, null, 12, Zn)], 12, Xn)) : y("", !0), n && r === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (T(), b("foreignObject", {
4260
4260
  key: 1,
4261
4261
  x: n.x - e.name.length * (B.value.plotLabels / 2),
4262
4262
  y: n.y - 20,
4263
4263
  height: 24,
4264
4264
  width: "150",
4265
- style: T(`overflow: visible; opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
4266
- }, [S("div", {
4267
- style: T(`padding: 3px; background:${A(p)(e.color, 80)};color:${A(we)(e.color)};width:fit-content;font-size:${B.value.plotLabels}px;border-radius: 2px;`),
4265
+ style: w(`overflow: visible; opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
4266
+ }, [x("div", {
4267
+ style: w(`padding: 3px; background:${A(je)(e.color, 80)};color:${A(we)(e.color)};width:fit-content;font-size:${B.value.plotLabels}px;border-radius: 2px;`),
4268
4268
  innerHTML: A(h)(V.value.plot.tag.formatter, n.value, e.name, {
4269
4269
  datapoint: n,
4270
4270
  seriesIndex: r,
4271
4271
  serieName: e.name
4272
4272
  })
4273
- }, null, 12, $n)], 12, Qn)) : b("", !0)], 64))], 64))), 128))], 64))), 128))])),
4274
- V.value.line.labels.show && H.value.dataLabels.show ? (E(), x("g", tr, [(E(!0), x(v, null, O(hu.value, (e) => (E(), x("text", {
4273
+ }, null, 12, $n)], 12, Qn)) : y("", !0)], 64))], 64))), 128))], 64))), 128))])),
4274
+ V.value.line.labels.show && H.value.dataLabels.show ? (T(), b("g", tr, [(T(!0), b(_, null, D(hu.value, (e) => (T(), b("text", {
4275
4275
  key: e.key,
4276
4276
  transform: ru({
4277
4277
  plot: e.plot,
@@ -4285,17 +4285,17 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4285
4285
  fill: V.value.line.labels.color,
4286
4286
  stroke: V.value.chart.backgroundColor,
4287
4287
  "paint-order": "stroke",
4288
- style: T(`opacity:${N.value ? N.value === e.serie.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`),
4288
+ style: w(`opacity:${N.value ? N.value === e.serie.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`),
4289
4289
  innerHTML: tu({
4290
4290
  serie: e.serie,
4291
4291
  plot: e.plot,
4292
4292
  type: "line"
4293
4293
  })
4294
- }, null, 12, nr))), 128))])) : (E(), x("g", rr, [(E(!0), x(v, null, O(Q.value, (e, t) => (E(), x(v, { key: `xLabel_line_${e.id}` }, [(E(!0), x(v, null, O(e.plots, (n, r) => (E(), x(v, { key: `xLabel_line_${t}_${r}` }, [V.value.line.tag.followValue ? (E(), x(v, { key: 1 }, [[
4294
+ }, null, 12, nr))), 128))])) : (T(), b("g", rr, [(T(!0), b(_, null, D(Q.value, (e, t) => (T(), b(_, { key: `xLabel_line_${e.id}` }, [(T(!0), b(_, null, D(e.plots, (n, r) => (T(), b(_, { key: `xLabel_line_${t}_${r}` }, [V.value.line.tag.followValue ? (T(), b(_, { key: 1 }, [[
4295
4295
  I.value,
4296
4296
  R.value,
4297
4297
  Wi.value
4298
- ].includes(r) && e.useTag ? (E(), x("line", {
4298
+ ].includes(r) && e.useTag ? (T(), b("line", {
4299
4299
  key: 0,
4300
4300
  class: "vue-ui-xy-tag-line",
4301
4301
  x1: J.value?.left,
@@ -4306,43 +4306,43 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4306
4306
  "stroke-linecap": "round",
4307
4307
  "stroke-dasharray": "2",
4308
4308
  stroke: e.color
4309
- }, null, 8, cr)) : b("", !0)], 64)) : (E(), x(v, { key: 0 }, [n && r === 0 && e.useTag && e.useTag === "start" ? (E(), x("foreignObject", {
4309
+ }, null, 8, cr)) : y("", !0)], 64)) : (T(), b(_, { key: 0 }, [n && r === 0 && e.useTag && e.useTag === "start" ? (T(), b("foreignObject", {
4310
4310
  key: 0,
4311
4311
  x: n.x,
4312
4312
  y: n.y - 20,
4313
4313
  height: 24,
4314
4314
  width: "150",
4315
- style: T(`overflow: visible; opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
4316
- }, [S("div", {
4317
- style: T(`padding: 3px; background:${A(p)(e.color, 80)};color:${A(we)(e.color)};width:fit-content;font-size:${B.value.plotLabels}px;border-radius: 2px;`),
4315
+ style: w(`overflow: visible; opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
4316
+ }, [x("div", {
4317
+ style: w(`padding: 3px; background:${A(je)(e.color, 80)};color:${A(we)(e.color)};width:fit-content;font-size:${B.value.plotLabels}px;border-radius: 2px;`),
4318
4318
  innerHTML: A(h)(V.value.line.tag.formatter, n.value, e.name, {
4319
4319
  datapoint: n,
4320
4320
  seriesIndex: r,
4321
4321
  serieName: e.name
4322
4322
  })
4323
- }, null, 12, ar)], 12, ir)) : b("", !0), n && r === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (E(), x("foreignObject", {
4323
+ }, null, 12, ar)], 12, ir)) : y("", !0), n && r === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (T(), b("foreignObject", {
4324
4324
  key: 1,
4325
4325
  x: n.x,
4326
4326
  y: n.y - 20,
4327
4327
  height: 24,
4328
4328
  width: "150",
4329
- style: T(`overflow: visible; opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
4330
- }, [S("div", {
4331
- style: T(`padding: 3px; background:${A(p)(e.color, 80)};color:${A(we)(e.color)};width:fit-content;font-size:${B.value.plotLabels}px;border-radius: 2px;`),
4329
+ style: w(`overflow: visible; opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
4330
+ }, [x("div", {
4331
+ style: w(`padding: 3px; background:${A(je)(e.color, 80)};color:${A(we)(e.color)};width:fit-content;font-size:${B.value.plotLabels}px;border-radius: 2px;`),
4332
4332
  innerHTML: A(h)(V.value.line.tag.formatter, n.value, e.name, {
4333
4333
  datapoint: n,
4334
4334
  seriesIndex: r,
4335
4335
  serieName: e.name
4336
4336
  })
4337
- }, null, 12, sr)], 12, or)) : b("", !0)], 64))], 64))), 128))], 64))), 128))])),
4338
- (E(!0), x(v, null, O(Q.value, (e, t) => (E(), x(v, { key: `xLabel_line_${e.id}` }, [(E(!0), x(v, null, O(e.plots, (n, r) => (E(), x(v, { key: `xLabel_line_${t}_${r}` }, [n && r === 0 && e.showSerieName && e.showSerieName === "start" ? (E(), x("text", {
4337
+ }, null, 12, sr)], 12, or)) : y("", !0)], 64))], 64))), 128))], 64))), 128))])),
4338
+ (T(!0), b(_, null, D(Q.value, (e, t) => (T(), b(_, { key: `xLabel_line_${e.id}` }, [(T(!0), b(_, null, D(e.plots, (n, r) => (T(), b(_, { key: `xLabel_line_${t}_${r}` }, [n && r === 0 && e.showSerieName && e.showSerieName === "start" ? (T(), b("text", {
4339
4339
  key: 0,
4340
4340
  x: n.x - B.value.plotLabels,
4341
4341
  y: n.y,
4342
4342
  "font-size": B.value.plotLabels,
4343
4343
  "text-anchor": "end",
4344
4344
  fill: e.color,
4345
- innerHTML: A(l)({
4345
+ innerHTML: A(le)({
4346
4346
  content: e.name,
4347
4347
  fontSize: B.value.plotLabels,
4348
4348
  fill: e.color,
@@ -4350,15 +4350,15 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4350
4350
  y: n.y,
4351
4351
  maxWords: 2
4352
4352
  }),
4353
- style: T(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
4354
- }, null, 12, lr)) : b("", !0), n && r === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (E(), x("text", {
4353
+ style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
4354
+ }, null, 12, lr)) : y("", !0), n && r === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (T(), b("text", {
4355
4355
  key: 1,
4356
4356
  x: n.x + B.value.plotLabels,
4357
4357
  y: n.y,
4358
4358
  "font-size": B.value.plotLabels,
4359
4359
  "text-anchor": "start",
4360
4360
  fill: e.color,
4361
- innerHTML: A(l)({
4361
+ innerHTML: A(le)({
4362
4362
  content: e.name,
4363
4363
  fontSize: B.value.plotLabels,
4364
4364
  fill: e.color,
@@ -4366,16 +4366,16 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4366
4366
  y: n.y,
4367
4367
  maxWords: 2
4368
4368
  }),
4369
- style: T(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
4370
- }, null, 12, ur)) : b("", !0)], 64))), 128))], 64))), 128)),
4371
- (E(!0), x(v, null, O($.value, (e, t) => (E(), x(v, { key: `xLabel_plot_${e.id}` }, [(E(!0), x(v, null, O(e.plots, (n, r) => (E(), x(v, { key: `xLabel_plot_${t}_${r}` }, [n && r === 0 && e.showSerieName && e.showSerieName === "start" ? (E(), x("text", {
4369
+ style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
4370
+ }, null, 12, ur)) : y("", !0)], 64))), 128))], 64))), 128)),
4371
+ (T(!0), b(_, null, D($.value, (e, t) => (T(), b(_, { key: `xLabel_plot_${e.id}` }, [(T(!0), b(_, null, D(e.plots, (n, r) => (T(), b(_, { key: `xLabel_plot_${t}_${r}` }, [n && r === 0 && e.showSerieName && e.showSerieName === "start" ? (T(), b("text", {
4372
4372
  key: 0,
4373
4373
  x: n.x - B.value.plotLabels,
4374
4374
  y: n.y,
4375
4375
  "font-size": B.value.plotLabels,
4376
4376
  "text-anchor": "end",
4377
4377
  fill: e.color,
4378
- innerHTML: A(l)({
4378
+ innerHTML: A(le)({
4379
4379
  content: e.name,
4380
4380
  fontSize: B.value.plotLabels,
4381
4381
  fill: e.color,
@@ -4383,15 +4383,15 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4383
4383
  y: n.y,
4384
4384
  maxWords: 2
4385
4385
  }),
4386
- style: T(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
4387
- }, null, 12, dr)) : b("", !0), n && r === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (E(), x("text", {
4386
+ style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
4387
+ }, null, 12, dr)) : y("", !0), n && r === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (T(), b("text", {
4388
4388
  key: 1,
4389
4389
  x: n.x + B.value.plotLabels,
4390
4390
  y: n.y,
4391
4391
  "font-size": B.value.plotLabels,
4392
4392
  "text-anchor": "start",
4393
4393
  fill: e.color,
4394
- innerHTML: A(l)({
4394
+ innerHTML: A(le)({
4395
4395
  content: e.name,
4396
4396
  fontSize: B.value.plotLabels,
4397
4397
  fill: e.color,
@@ -4399,14 +4399,14 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4399
4399
  y: n.y,
4400
4400
  maxWords: 2
4401
4401
  }),
4402
- style: T(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
4403
- }, null, 12, fr)) : b("", !0)], 64))), 128))], 64))), 128)),
4404
- (E(!0), x(v, null, O([
4402
+ style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
4403
+ }, null, 12, fr)) : y("", !0)], 64))), 128))], 64))), 128)),
4404
+ (T(!0), b(_, null, D([
4405
4405
  ...$.value,
4406
4406
  ...Q.value,
4407
4407
  ...dl.value
4408
- ], (e, t) => (E(), x(v, { key: `progression-${t}` }, [Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(A(xe)(e.plots).trend) ? (E(), x("g", pr, [
4409
- S("defs", null, [S("marker", {
4408
+ ], (e, t) => (T(), b(_, { key: `progression-${t}` }, [Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(A(Ee)(e.plots).trend) ? (T(), b("g", pr, [
4409
+ x("defs", null, [x("marker", {
4410
4410
  id: `progression_arrow_${t}`,
4411
4411
  markerWidth: "9",
4412
4412
  markerHeight: "9",
@@ -4416,44 +4416,44 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4416
4416
  refY: 7 / 2,
4417
4417
  orient: "auto",
4418
4418
  overflow: "visible"
4419
- }, [S("polygon", {
4419
+ }, [x("polygon", {
4420
4420
  points: "0,0 7,3.5 0,7",
4421
4421
  fill: e.color,
4422
4422
  stroke: V.value.chart.backgroundColor,
4423
4423
  "stroke-width": "1",
4424
4424
  "stroke-linejoin": "round"
4425
4425
  }, null, 8, hr)], 8, mr)]),
4426
- e.plots.length > 1 ? (E(), x("line", {
4426
+ e.plots.length > 1 ? (T(), b("line", {
4427
4427
  key: 0,
4428
- x1: A(xe)(e.plots).x1 + (e.type === "bar" ? As() : 0),
4429
- x2: A(xe)(e.plots).x2 + (e.type === "bar" ? As() : 0),
4430
- y1: A(g)(A(xe)(e.plots).y1),
4431
- y2: A(g)(A(xe)(e.plots).y2),
4428
+ x1: A(Ee)(e.plots).x1 + (e.type === "bar" ? As() : 0),
4429
+ x2: A(Ee)(e.plots).x2 + (e.type === "bar" ? As() : 0),
4430
+ y1: A(m)(A(Ee)(e.plots).y1),
4431
+ y2: A(m)(A(Ee)(e.plots).y2),
4432
4432
  "stroke-width": 1,
4433
4433
  stroke: V.value.chart.backgroundColor,
4434
4434
  "stroke-dasharray": 2,
4435
4435
  "stroke-linecap": "round",
4436
4436
  "stroke-linejoin": "round",
4437
4437
  "marker-end": `url(#progression_arrow_${t})`
4438
- }, null, 8, gr)) : b("", !0),
4439
- e.plots.length > 1 ? (E(), x("line", {
4438
+ }, null, 8, gr)) : y("", !0),
4439
+ e.plots.length > 1 ? (T(), b("line", {
4440
4440
  key: 1,
4441
- x1: A(xe)(e.plots).x1 + (e.type === "bar" ? As() : 0),
4442
- x2: A(xe)(e.plots).x2 + (e.type === "bar" ? As() : 0),
4443
- y1: A(g)(A(xe)(e.plots).y1),
4444
- y2: A(g)(A(xe)(e.plots).y2),
4441
+ x1: A(Ee)(e.plots).x1 + (e.type === "bar" ? As() : 0),
4442
+ x2: A(Ee)(e.plots).x2 + (e.type === "bar" ? As() : 0),
4443
+ y1: A(m)(A(Ee)(e.plots).y1),
4444
+ y2: A(m)(A(Ee)(e.plots).y2),
4445
4445
  "stroke-width": 1,
4446
4446
  stroke: e.color,
4447
4447
  "stroke-dasharray": 2,
4448
4448
  "stroke-linecap": "round",
4449
4449
  "stroke-linejoin": "round",
4450
4450
  "marker-end": `url(#progression_arrow_${t})`
4451
- }, null, 8, _r)) : b("", !0),
4452
- e.plots.length > 1 ? (E(), x("text", {
4451
+ }, null, 8, _r)) : y("", !0),
4452
+ e.plots.length > 1 ? (T(), b("text", {
4453
4453
  key: 2,
4454
4454
  "text-anchor": "middle",
4455
- x: A(xe)(e.plots).x2 + (e.type === "bar" ? As() : 0),
4456
- y: A(xe)(e.plots).y2 - 12,
4455
+ x: A(Ee)(e.plots).x2 + (e.type === "bar" ? As() : 0),
4456
+ y: A(Ee)(e.plots).y2 - 12,
4457
4457
  "font-size": B.value.plotLabels,
4458
4458
  fill: e.color,
4459
4459
  stroke: V.value.chart.backgroundColor,
@@ -4461,13 +4461,13 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4461
4461
  "stroke-linecap": "round",
4462
4462
  "stroke-linejoin": "round",
4463
4463
  "paint-order": "stroke fill"
4464
- }, pt(A(u)({
4465
- v: A(xe)(e.plots).trend * 100,
4464
+ }, k(A(p)({
4465
+ v: A(Ee)(e.plots).trend * 100,
4466
4466
  s: "%",
4467
4467
  r: 2
4468
- })), 9, vr)) : b("", !0)
4469
- ])) : b("", !0)], 64))), 128)),
4470
- H.value.useIndividualScale && !H.value.isStacked ? (E(), x(v, { key: 16 }, [S("defs", null, [(E(!0), x(v, null, O(pl.value, (e, t) => (E(), et(Je, {
4468
+ })), 9, vr)) : y("", !0)
4469
+ ])) : y("", !0)], 64))), 128)),
4470
+ H.value.useIndividualScale && !H.value.isStacked ? (T(), b(_, { key: 16 }, [x("defs", null, [(T(!0), b(_, null, D(pl.value, (e, t) => (T(), tt(Ye, {
4471
4471
  t: "linear",
4472
4472
  key: `individual_scale_gradient_${e.groupId || e.id || t}`,
4473
4473
  id: `individual_scale_gradient_${F.value}_${t}`,
@@ -4489,7 +4489,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4489
4489
  "x1",
4490
4490
  "x2",
4491
4491
  "stops"
4492
- ]))), 128))]), (E(!0), x(v, null, O(pl.value, (e, t) => (E(), x("rect", {
4492
+ ]))), 128))]), (T(!0), b(_, null, D(pl.value, (e, t) => (T(), b("rect", {
4493
4493
  key: `individual_scale_background_${e.groupId || e.id || t}`,
4494
4494
  x: q.value ? e.x : e.x - V.value.chart.grid.labels.yAxis.labelWidth - J.value.individualOffsetX,
4495
4495
  y: J.value?.top,
@@ -4498,8 +4498,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4498
4498
  fill: N.value === e.groupId ? `url(#individual_scale_gradient_${F.value}_${t})` : "transparent",
4499
4499
  onMouseenter: (t) => N.value = e.groupId,
4500
4500
  onMouseleave: n[0] ||= (e) => N.value = null
4501
- }, null, 40, yr))), 128))], 64)) : b("", !0),
4502
- S("g", null, [V.value.chart.grid.labels.axis.yLabel && !H.value.useIndividualScale ? (E(), x("text", {
4501
+ }, null, 40, yr))), 128))], 64)) : y("", !0),
4502
+ x("g", null, [V.value.chart.grid.labels.axis.yLabel && !H.value.useIndividualScale ? (T(), b("text", {
4503
4503
  key: 0,
4504
4504
  ref_key: "yAxisLabel",
4505
4505
  ref: ki,
@@ -4508,7 +4508,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4508
4508
  transform: `translate(${q.value ? J.value.right + J.value.scaleLabelsOffset + V.value.chart.grid.labels.axis.yLabelOffsetX + B.value.yAxis : V.value.chart.grid.labels.axis.fontSize + V.value.chart.grid.labels.axis.yLabelOffsetX}, ${J.value?.top + J.value.height / 2}) rotate(-90)`,
4509
4509
  "text-anchor": "middle",
4510
4510
  style: { transition: "none" }
4511
- }, pt(V.value.chart.grid.labels.axis.yLabel), 9, br)) : b("", !0), V.value.chart.grid.labels.axis.xLabel ? (E(), x("text", {
4511
+ }, k(V.value.chart.grid.labels.axis.yLabel), 9, br)) : y("", !0), V.value.chart.grid.labels.axis.xLabel ? (T(), b("text", {
4512
4512
  key: 1,
4513
4513
  ref_key: "xAxisLabel",
4514
4514
  ref: Oi,
@@ -4517,14 +4517,14 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4517
4517
  y: Li.value - 3,
4518
4518
  "font-size": B.value.yAxis,
4519
4519
  fill: V.value.chart.grid.labels.color
4520
- }, pt(V.value.chart.grid.labels.axis.xLabel), 9, xr)) : b("", !0)]),
4521
- V.value.chart.grid.labels.xAxisLabels.show ? (E(), x("g", {
4520
+ }, k(V.value.chart.grid.labels.axis.xLabel), 9, xr)) : y("", !0)]),
4521
+ V.value.chart.grid.labels.xAxisLabels.show ? (T(), b("g", {
4522
4522
  key: 17,
4523
4523
  ref_key: "timeLabelsEls",
4524
4524
  ref: Ai,
4525
4525
  opacity: ou.value ? .1 : 1,
4526
4526
  style: { transition: "opacity 0.2s" }
4527
- }, [t.$slots["time-label"] ? (E(!0), x(v, { key: 0 }, O(Jc.value, (e, n) => k(t.$slots, "time-label", ot({
4527
+ }, [t.$slots["time-label"] ? (T(!0), b(_, { key: 0 }, D(Jc.value, (e, n) => O(t.$slots, "time-label", st({
4528
4528
  key: `time_label_${e.id}`,
4529
4529
  ref_for: !0
4530
4530
  }, {
@@ -4537,15 +4537,15 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4537
4537
  content: e.text,
4538
4538
  textAnchor: V.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : V.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
4539
4539
  show: e && e.text
4540
- }), void 0, !0)), 128)) : (E(!0), x(v, { key: 1 }, O(Jc.value, (e, t) => (E(), x("g", { key: `time_label_${t}` }, [e && e.text ? (E(), x(v, { key: 0 }, [String(e.text).includes("\n") ? (E(), x("text", {
4540
+ }), void 0, !0)), 128)) : (T(!0), b(_, { key: 1 }, D(Jc.value, (e, t) => (T(), b("g", { key: `time_label_${t}` }, [e && e.text ? (T(), b(_, { key: 0 }, [String(e.text).includes("\n") ? (T(), b("text", {
4541
4541
  key: 1,
4542
4542
  class: "vue-data-ui-time-label",
4543
4543
  "text-anchor": V.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : V.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
4544
4544
  "font-size": B.value.xAxis,
4545
4545
  fill: V.value.chart.grid.labels.xAxisLabels.color,
4546
4546
  transform: `translate(${Yc(e, t)}, ${J.value?.bottom + B.value.xAxis * 1.5}), rotate(${V.value.chart.grid.labels.xAxisLabels.rotation})`,
4547
- style: T({ cursor: Mo() && Na.value ? "pointer" : "default" }),
4548
- innerHTML: A(ce)({
4547
+ style: w({ cursor: Mo() && Na.value ? "pointer" : "default" }),
4548
+ innerHTML: A(de)({
4549
4549
  content: String(e.text),
4550
4550
  fontSize: B.value.xAxis,
4551
4551
  fill: V.value.chart.grid.labels.xAxisLabels.color,
@@ -4553,17 +4553,17 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4553
4553
  y: 0
4554
4554
  }),
4555
4555
  onClick: (n) => qo(e, t)
4556
- }, null, 12, wr)) : (E(), x("text", {
4556
+ }, null, 12, wr)) : (T(), b("text", {
4557
4557
  key: 0,
4558
4558
  class: "vue-data-ui-time-label",
4559
4559
  "text-anchor": V.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : V.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
4560
4560
  "font-size": B.value.xAxis,
4561
4561
  fill: V.value.chart.grid.labels.xAxisLabels.color,
4562
4562
  transform: `translate(${Yc(e, t)}, ${J.value?.bottom + B.value.xAxis * 1.5}), rotate(${V.value.chart.grid.labels.xAxisLabels.rotation})`,
4563
- style: T({ cursor: Mo() && Na.value ? "pointer" : "default" }),
4563
+ style: w({ cursor: Mo() && Na.value ? "pointer" : "default" }),
4564
4564
  onClick: (n) => qo(e, t)
4565
- }, pt(e.text || ""), 13, Cr))], 64)) : b("", !0)]))), 128))], 8, Sr)) : b("", !0),
4566
- cu.value ? (E(), x("g", Tr, [S("text", {
4565
+ }, k(e.text || ""), 13, Cr))], 64)) : y("", !0)]))), 128))], 8, Sr)) : y("", !0),
4566
+ cu.value ? (T(), b("g", Tr, [x("text", {
4567
4567
  class: "vue-data-ui-time-label",
4568
4568
  "text-anchor": V.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : V.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
4569
4569
  "font-size": B.value.xAxis,
@@ -4575,16 +4575,16 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4575
4575
  animation: "none !important",
4576
4576
  "pointer-events": "none"
4577
4577
  },
4578
- innerHTML: A(ce)({
4578
+ innerHTML: A(de)({
4579
4579
  content: String(cu.value.text),
4580
4580
  fontSize: B.value.xAxis,
4581
4581
  fill: V.value.chart.grid.labels.xAxisLabels.color,
4582
4582
  x: 0,
4583
4583
  y: 0
4584
4584
  })
4585
- }, null, 8, Er)])) : b("", !0),
4586
- Rc.value.length && !H.value.isStacked ? (E(), x("g", Dr, [(E(!0), x(v, null, O(Rc.value, (e) => (E(), x("g", { key: e.id }, [
4587
- e.yTop && e.show && isFinite(e.yTop) ? (E(), x("line", {
4585
+ }, null, 8, Er)])) : y("", !0),
4586
+ Rc.value.length && !H.value.isStacked ? (T(), b("g", Dr, [(T(!0), b(_, null, D(Rc.value, (e) => (T(), b("g", { key: e.id }, [
4587
+ e.yTop && e.show && isFinite(e.yTop) ? (T(), b("line", {
4588
4588
  key: 0,
4589
4589
  x1: e.x1,
4590
4590
  y1: e.yTop,
@@ -4595,8 +4595,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4595
4595
  "stroke-dasharray": e.config.line.strokeDasharray,
4596
4596
  "stroke-linecap": "round",
4597
4597
  style: { animation: "none !important" }
4598
- }, null, 8, Or)) : b("", !0),
4599
- e.yBottom && e.show && isFinite(e.yBottom) ? (E(), x("line", {
4598
+ }, null, 8, Or)) : y("", !0),
4599
+ e.yBottom && e.show && isFinite(e.yBottom) ? (T(), b("line", {
4600
4600
  key: 1,
4601
4601
  x1: e.x1,
4602
4602
  y1: e.yBottom,
@@ -4607,24 +4607,24 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4607
4607
  "stroke-dasharray": e.config.line.strokeDasharray,
4608
4608
  "stroke-linecap": "round",
4609
4609
  style: { animation: "none !important" }
4610
- }, null, 8, kr)) : b("", !0),
4611
- e.hasArea && e.show && isFinite(e.yTop) && isFinite(e.yBottom) ? (E(), x("rect", {
4610
+ }, null, 8, kr)) : y("", !0),
4611
+ e.hasArea && e.show && isFinite(e.yTop) && isFinite(e.yBottom) ? (T(), b("rect", {
4612
4612
  key: 2,
4613
4613
  y: Math.min(e.yTop, e.yBottom),
4614
4614
  x: e.x1,
4615
4615
  width: J.value.width,
4616
- height: A(_)(e.areaHeight, 0),
4617
- fill: A(p)(e.config.area.fill, e.config.area.opacity),
4616
+ height: A(g)(e.areaHeight, 0),
4617
+ fill: A(je)(e.config.area.fill, e.config.area.opacity),
4618
4618
  style: { animation: "none !important" }
4619
- }, null, 8, Ar)) : b("", !0),
4620
- e.config.label.text && e.show && isFinite(e._box.y) ? (E(), x("rect", ot({
4619
+ }, null, 8, Ar)) : y("", !0),
4620
+ e.config.label.text && e.show && isFinite(e._box.y) ? (T(), b("rect", st({
4621
4621
  key: 3,
4622
4622
  class: "vue-ui-xy-annotation-label-box"
4623
4623
  }, { ref_for: !0 }, e._box, { style: {
4624
4624
  animation: "none !important",
4625
4625
  transition: "none !important"
4626
- } }), null, 16)) : b("", !0),
4627
- e.config.label.text && e.show && isFinite(e._text.y) ? (E(), x("text", {
4626
+ } }), null, 16)) : y("", !0),
4627
+ e.config.label.text && e.show && isFinite(e._text.y) ? (T(), b("text", {
4628
4628
  key: 4,
4629
4629
  id: e.id,
4630
4630
  class: "vue-ui-xy-annotation-label",
@@ -4633,32 +4633,32 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4633
4633
  "font-size": e.config.label.fontSize,
4634
4634
  fill: e.config.label.color,
4635
4635
  "text-anchor": e.config.label.textAnchor
4636
- }, pt(e.config.label.text), 9, jr)) : b("", !0)
4637
- ]))), 128))])) : b("", !0),
4638
- !ou.value && V.value.chart.timeTag.show && (G.value ? A(De)(Jl.value) : ![null, void 0].includes(R.value) || ![null, void 0].includes(I.value)) ? (E(), x("g", Mr, [(E(), x("foreignObject", {
4636
+ }, k(e.config.label.text), 9, jr)) : y("", !0)
4637
+ ]))), 128))])) : y("", !0),
4638
+ !ou.value && V.value.chart.timeTag.show && (G.value ? A(f)(Jl.value) : ![null, void 0].includes(R.value) || ![null, void 0].includes(I.value)) ? (T(), b("g", Mr, [(T(), b("foreignObject", {
4639
4639
  x: Xl(),
4640
4640
  y: J.value?.bottom,
4641
4641
  width: "200",
4642
4642
  height: "40",
4643
4643
  style: { overflow: "visible !important" }
4644
- }, [S("div", {
4644
+ }, [x("div", {
4645
4645
  ref_key: "timeTagEl",
4646
4646
  ref: Gl,
4647
4647
  class: "vue-ui-xy-time-tag",
4648
- style: T(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${V.value.chart.timeTag.backgroundColor};color:${V.value.chart.timeTag.color};font-size:${V.value.chart.timeTag.fontSize}px`),
4648
+ style: w(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${V.value.chart.timeTag.backgroundColor};color:${V.value.chart.timeTag.color};font-size:${V.value.chart.timeTag.fontSize}px`),
4649
4649
  innerHTML: eu.value
4650
- }, null, 12, Pr)], 8, Nr)), S("circle", {
4651
- cx: G.value && A(De)(Jl.value) ? Xc({ x: Jl.value }) : uc((R.value === null ? 0 : R.value) || (I.value === null ? 0 : I.value)),
4650
+ }, null, 12, Pr)], 8, Nr)), x("circle", {
4651
+ cx: G.value && A(f)(Jl.value) ? Xc({ x: Jl.value }) : uc((R.value === null ? 0 : R.value) || (I.value === null ? 0 : I.value)),
4652
4652
  cy: J.value?.bottom,
4653
4653
  r: V.value.chart.timeTag.circleMarker.radius,
4654
4654
  fill: V.value.chart.timeTag.circleMarker.color
4655
- }, null, 8, Fr)])) : b("", !0)
4656
- ])) : b("", !0),
4657
- Ja.value ? (E(), x("rect", ot({ key: 2 }, Za.value, {
4655
+ }, null, 8, Fr)])) : y("", !0)
4656
+ ])) : y("", !0),
4657
+ Ja.value ? (T(), b("rect", st({ key: 2 }, Za.value, {
4658
4658
  "data-start": U.value.start,
4659
4659
  "data-end": U.value.end
4660
- }), null, 16, Ir)) : b("", !0),
4661
- k(t.$slots, "svg", { svg: {
4660
+ }), null, 16, Ir)) : y("", !0),
4661
+ O(t.$slots, "svg", { svg: {
4662
4662
  ...wa.value,
4663
4663
  slicer: U.value,
4664
4664
  isPrintingImg: A(Qa) || A($a) || aa.value,
@@ -4670,31 +4670,31 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4670
4670
  ],
4671
4671
  drawingArea: J.value
4672
4672
  } }, void 0, !0)
4673
- ], 512)], 46, Pt)), t.$slots.hint ? (E(), x("div", Lr, [k(t.$slots, "hint", w(C({
4673
+ ], 512)], 46, Pt)), t.$slots.hint ? (T(), b("div", Lr, [O(t.$slots, "hint", C(S({
4674
4674
  hint: V.value.a11y.translations.keyboardNavigation,
4675
4675
  isVisible: Au.value
4676
- })), void 0, !0)])) : b("", !0)]),
4677
- t.$slots.watermark ? (E(), x("div", Rr, [k(t.$slots, "watermark", w(C({ isPrinting: A(Qa) || A($a) || aa.value || oa.value })), void 0, !0)])) : b("", !0),
4678
- (E(!0), x(v, null, O(Q.value, (e, t) => (E(), x(v, { key: `tag_line_${e.id}` }, [(E(!0), x(v, null, O(e.plots, (n, r) => (E(), x(v, { key: `tag_line_${t}_${r}` }, [[
4676
+ })), void 0, !0)])) : y("", !0)]),
4677
+ t.$slots.watermark ? (T(), b("div", Rr, [O(t.$slots, "watermark", C(S({ isPrinting: A(Qa) || A($a) || aa.value || oa.value })), void 0, !0)])) : y("", !0),
4678
+ (T(!0), b(_, null, D(Q.value, (e, t) => (T(), b(_, { key: `tag_line_${e.id}` }, [(T(!0), b(_, null, D(e.plots, (n, r) => (T(), b(_, { key: `tag_line_${t}_${r}` }, [[
4679
4679
  I.value,
4680
4680
  R.value,
4681
4681
  Wi.value
4682
- ].includes(r) && e.useTag && e.useTag === "end" && V.value.line.tag.followValue ? (E(), x("div", {
4682
+ ].includes(r) && e.useTag && e.useTag === "end" && V.value.line.tag.followValue ? (T(), b("div", {
4683
4683
  key: 0,
4684
4684
  ref_for: !0,
4685
4685
  ref: (e) => Fo(t, r, e, "right", "line"),
4686
4686
  class: "vue-ui-xy-tag",
4687
4687
  "data-tag": "right",
4688
- style: T({
4688
+ style: w({
4689
4689
  position: "fixed",
4690
- top: A(o)({
4690
+ top: A(u)({
4691
4691
  svgElement: L.value,
4692
4692
  x: J.value?.right + V.value.line.tag.fontSize / 1.5,
4693
4693
  y: n.y,
4694
4694
  element: ta.value[`${t}_${r}_right_line`],
4695
4695
  position: "right"
4696
4696
  })?.top + "px",
4697
- left: A(o)({
4697
+ left: A(u)({
4698
4698
  svgElement: L.value,
4699
4699
  x: J.value?.right + V.value.line.tag.fontSize / 1.5,
4700
4700
  y: n.y,
@@ -4709,37 +4709,37 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4709
4709
  fontSize: V.value.line.tag.fontSize + "px",
4710
4710
  opacity: 1
4711
4711
  })
4712
- }, [(E(), x("svg", zr, [S("path", {
4712
+ }, [(T(), b("svg", zr, [x("path", {
4713
4713
  d: "M 0,10 10,0 10,20 Z",
4714
4714
  fill: e.color,
4715
4715
  stroke: "none"
4716
- }, null, 8, Br)])), S("div", {
4716
+ }, null, 8, Br)])), x("div", {
4717
4717
  class: "vue-ui-xy-tag-content",
4718
4718
  innerHTML: A(h)(V.value.line.tag.formatter, n.value, e.name, {
4719
4719
  datapoint: n,
4720
4720
  seriesIndex: r,
4721
4721
  serieName: e.name
4722
4722
  })
4723
- }, null, 8, Vr)], 4)) : b("", !0), [
4723
+ }, null, 8, Vr)], 4)) : y("", !0), [
4724
4724
  I.value,
4725
4725
  R.value,
4726
4726
  Wi.value
4727
- ].includes(r) && e.useTag && e.useTag === "start" && V.value.line.tag.followValue ? (E(), x("div", {
4727
+ ].includes(r) && e.useTag && e.useTag === "start" && V.value.line.tag.followValue ? (T(), b("div", {
4728
4728
  key: 1,
4729
4729
  ref_for: !0,
4730
4730
  ref: (e) => Fo(t, r, e, "left", "line"),
4731
4731
  class: "vue-ui-xy-tag",
4732
4732
  "data-tag": "left",
4733
- style: T({
4733
+ style: w({
4734
4734
  position: "fixed",
4735
- top: A(o)({
4735
+ top: A(u)({
4736
4736
  svgElement: L.value,
4737
4737
  x: J.value?.left - V.value.line.tag.fontSize / 1.5,
4738
4738
  y: n.y,
4739
4739
  element: ta.value[`${t}_${r}_left_line`],
4740
4740
  position: "left"
4741
4741
  })?.top + "px",
4742
- left: A(o)({
4742
+ left: A(u)({
4743
4743
  svgElement: L.value,
4744
4744
  x: J.value?.left - V.value.line.tag.fontSize / 1.5,
4745
4745
  y: n.y,
@@ -4754,38 +4754,38 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4754
4754
  fontSize: V.value.line.tag.fontSize + "px",
4755
4755
  opacity: 1
4756
4756
  })
4757
- }, [(E(), x("svg", Hr, [S("path", {
4757
+ }, [(T(), b("svg", Hr, [x("path", {
4758
4758
  d: "M 0,0 10,10 0,20 Z",
4759
4759
  fill: e.color,
4760
4760
  stroke: "none"
4761
- }, null, 8, Ur)])), S("div", {
4761
+ }, null, 8, Ur)])), x("div", {
4762
4762
  class: "vue-ui-xy-tag-content",
4763
4763
  innerHTML: A(h)(V.value.line.tag.formatter, n.value, e.name, {
4764
4764
  datapoint: n,
4765
4765
  seriesIndex: r,
4766
4766
  serieName: e.name
4767
4767
  })
4768
- }, null, 8, Wr)], 4)) : b("", !0)], 64))), 128))], 64))), 128)),
4769
- (E(!0), x(v, null, O($.value, (e, t) => (E(), x(v, { key: `tag_plot_${e.id}` }, [(E(!0), x(v, null, O(e.plots, (n, r) => (E(), x(v, { key: `tag_plot_${t}_${r}` }, [[
4768
+ }, null, 8, Wr)], 4)) : y("", !0)], 64))), 128))], 64))), 128)),
4769
+ (T(!0), b(_, null, D($.value, (e, t) => (T(), b(_, { key: `tag_plot_${e.id}` }, [(T(!0), b(_, null, D(e.plots, (n, r) => (T(), b(_, { key: `tag_plot_${t}_${r}` }, [[
4770
4770
  I.value,
4771
4771
  R.value,
4772
4772
  Wi.value
4773
- ].includes(r) && e.useTag && e.useTag === "end" && V.value.plot.tag.followValue ? (E(), x("div", {
4773
+ ].includes(r) && e.useTag && e.useTag === "end" && V.value.plot.tag.followValue ? (T(), b("div", {
4774
4774
  key: 0,
4775
4775
  ref_for: !0,
4776
4776
  ref: (e) => Fo(t, r, e, "right", "plot"),
4777
4777
  class: "vue-ui-xy-tag",
4778
4778
  "data-tag": "right",
4779
- style: T({
4779
+ style: w({
4780
4780
  position: "fixed",
4781
- top: A(o)({
4781
+ top: A(u)({
4782
4782
  svgElement: L.value,
4783
4783
  x: J.value?.right + V.value.plot.tag.fontSize / 1.5,
4784
4784
  y: n.y,
4785
4785
  element: ta.value[`${t}_${r}_right_plot`],
4786
4786
  position: "right"
4787
4787
  })?.top + "px",
4788
- left: A(o)({
4788
+ left: A(u)({
4789
4789
  svgElement: L.value,
4790
4790
  x: J.value?.right + V.value.plot.tag.fontSize / 1.5,
4791
4791
  y: n.y,
@@ -4800,37 +4800,37 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4800
4800
  fontSize: V.value.plot.tag.fontSize + "px",
4801
4801
  opacity: 1
4802
4802
  })
4803
- }, [(E(), x("svg", Gr, [S("path", {
4803
+ }, [(T(), b("svg", Gr, [x("path", {
4804
4804
  d: "M 0,10 10,0 10,20 Z",
4805
4805
  fill: e.color,
4806
4806
  stroke: "none"
4807
- }, null, 8, Kr)])), S("div", {
4807
+ }, null, 8, Kr)])), x("div", {
4808
4808
  class: "vue-ui-xy-tag-content",
4809
4809
  innerHTML: A(h)(V.value.plot.tag.formatter, n.value, e.name, {
4810
4810
  datapoint: n,
4811
4811
  seriesIndex: r,
4812
4812
  serieName: e.name
4813
4813
  })
4814
- }, null, 8, qr)], 4)) : b("", !0), [
4814
+ }, null, 8, qr)], 4)) : y("", !0), [
4815
4815
  I.value,
4816
4816
  R.value,
4817
4817
  Wi.value
4818
- ].includes(r) && e.useTag && e.useTag === "start" && V.value.plot.tag.followValue ? (E(), x("div", {
4818
+ ].includes(r) && e.useTag && e.useTag === "start" && V.value.plot.tag.followValue ? (T(), b("div", {
4819
4819
  key: 1,
4820
4820
  ref_for: !0,
4821
4821
  ref: (e) => Fo(t, r, e, "left", "plot"),
4822
4822
  class: "vue-ui-xy-tag",
4823
4823
  "data-tag": "left",
4824
- style: T({
4824
+ style: w({
4825
4825
  position: "fixed",
4826
- top: A(o)({
4826
+ top: A(u)({
4827
4827
  svgElement: L.value,
4828
4828
  x: J.value?.left - V.value.plot.tag.fontSize / 1.5,
4829
4829
  y: n.y,
4830
4830
  element: ta.value[`${t}_${r}_left_plot`],
4831
4831
  position: "left"
4832
4832
  })?.top + "px",
4833
- left: A(o)({
4833
+ left: A(u)({
4834
4834
  svgElement: L.value,
4835
4835
  x: J.value?.left - V.value.plot.tag.fontSize / 1.5,
4836
4836
  y: n.y,
@@ -4845,19 +4845,19 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4845
4845
  fontSize: V.value.plot.tag.fontSize + "px",
4846
4846
  opacity: 1
4847
4847
  })
4848
- }, [(E(), x("svg", Jr, [S("path", {
4848
+ }, [(T(), b("svg", Jr, [x("path", {
4849
4849
  d: "M 0,0 10,10 0,20 Z",
4850
4850
  fill: e.color,
4851
4851
  stroke: "none"
4852
- }, null, 8, Yr)])), S("div", {
4852
+ }, null, 8, Yr)])), x("div", {
4853
4853
  class: "vue-ui-xy-tag-content",
4854
4854
  innerHTML: A(h)(V.value.plot.tag.formatter, n.value, e.name, {
4855
4855
  datapoint: n,
4856
4856
  seriesIndex: r,
4857
4857
  serieName: e.name
4858
4858
  })
4859
- }, null, 8, Xr)], 4)) : b("", !0)], 64))), 128))], 64))), 128)),
4860
- V.value.chart.zoom.show && Ka.value > 6 && Ma.value && ts.value ? (E(), et(Ye, {
4859
+ }, null, 8, Xr)], 4)) : y("", !0)], 64))), 128))], 64))), 128)),
4860
+ V.value.chart.zoom.show && Ka.value > 6 && Ma.value && ts.value ? (T(), tt(Xe, {
4861
4861
  key: 6,
4862
4862
  ref_key: "chartSlicer",
4863
4863
  ref: Ci,
@@ -4925,21 +4925,21 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4925
4925
  "onUpdate:end": ms,
4926
4926
  "onUpdate:start": ps
4927
4927
  }, {
4928
- "reset-action": j(({ reset: e }) => [k(t.$slots, "reset-action", w(C({ reset: e })), void 0, !0)]),
4928
+ "reset-action": j(({ reset: e }) => [O(t.$slots, "reset-action", C(S({ reset: e })), void 0, !0)]),
4929
4929
  _: 3
4930
- }, 8, /* @__PURE__ */ "uuid.allMinimaps.background.borderColor.customFormat.cutNullValues.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.useResetSlot.immediate.inputColor.isPreview.labelLeft.labelRight.max.min.precision.useValueRange.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapLineColor.minimapMerged.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.minimapSelectionRadius.preciseLabels.refreshStartPoint.refreshEndPoint.selectColor.selectedSeries.smoothMinimap.start.textColor.timeLabels.usePreciseLabels.valueEnd.valueStart.verticalHandles.minScale.maxScale.maxWidth.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth.isCursorPointer".split("."))) : b("", !0),
4931
- S("div", { id: `legend-bottom-${F.value}` }, null, 8, Zr),
4932
- ra.value && (V.value.chart.legend.show || t.$slots.legend) ? (E(), et($e, {
4930
+ }, 8, /* @__PURE__ */ "uuid.allMinimaps.background.borderColor.customFormat.cutNullValues.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.useResetSlot.immediate.inputColor.isPreview.labelLeft.labelRight.max.min.precision.useValueRange.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapLineColor.minimapMerged.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.minimapSelectionRadius.preciseLabels.refreshStartPoint.refreshEndPoint.selectColor.selectedSeries.smoothMinimap.start.textColor.timeLabels.usePreciseLabels.valueEnd.valueStart.verticalHandles.minScale.maxScale.maxWidth.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth.isCursorPointer".split("."))) : y("", !0),
4931
+ x("div", { id: `legend-bottom-${F.value}` }, null, 8, Zr),
4932
+ ra.value && (V.value.chart.legend.show || t.$slots.legend) ? (T(), tt(et, {
4933
4933
  key: 7,
4934
4934
  to: V.value.chart.legend.position === "top" ? `#legend-top-${F.value}` : `#legend-bottom-${F.value}`
4935
- }, [S("div", {
4935
+ }, [x("div", {
4936
4936
  ref_key: "chartLegend",
4937
4937
  ref: wi
4938
- }, [k(t.$slots, "legend", { legend: yo.value }, () => [V.value.chart.legend.show ? (E(), x("div", {
4938
+ }, [O(t.$slots, "legend", { legend: yo.value }, () => [V.value.chart.legend.show ? (T(), b("div", {
4939
4939
  key: 0,
4940
4940
  class: "vue-ui-xy-legend",
4941
- style: T({ fontSize: `var(--legend-font-size, ${V.value.chart.legend.fontSize ?? 14}px)` })
4942
- }, [V.value.chart.legend.selectAllToggle.show && yo.value.length > 2 && !A(Ra) ? (E(), et(Ze, {
4941
+ style: w({ fontSize: `var(--legend-font-size, ${V.value.chart.legend.fontSize ?? 14}px)` })
4942
+ }, [V.value.chart.legend.selectAllToggle.show && yo.value.length > 2 && !A(Ra) ? (T(), tt(Qe, {
4943
4943
  key: 0,
4944
4944
  backgroundColor: V.value.chart.legend.selectAllToggle.backgroundColor,
4945
4945
  color: V.value.chart.legend.selectAllToggle.color,
@@ -4951,19 +4951,19 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4951
4951
  "color",
4952
4952
  "fontSize",
4953
4953
  "checked"
4954
- ])) : b("", !0), (E(!0), x(v, null, O(yo.value, (e, n) => (E(), x("div", {
4954
+ ])) : y("", !0), (T(!0), b(_, null, D(yo.value, (e, n) => (T(), b("div", {
4955
4955
  key: `div_legend_item_${n}`,
4956
4956
  onClick: (t) => Zs(e),
4957
4957
  onKeydown: (t) => Ys(t, e),
4958
4958
  role: "button",
4959
4959
  tabindex: "0",
4960
- class: ct({
4960
+ class: lt({
4961
4961
  "vue-ui-xy-legend-item-alone": yo.value.length === 1,
4962
4962
  "vue-ui-xy-legend-item": !0,
4963
4963
  "vue-ui-xy-legend-item-segregated": Ki.value.has(e.id)
4964
4964
  }),
4965
- style: T({ cursor: Na.value ? "pointer" : "default" })
4966
- }, [Bi.value[e.type] === "line" ? (E(), x("svg", $r, [S("rect", {
4965
+ style: w({ cursor: Na.value ? "pointer" : "default" })
4966
+ }, [Bi.value[e.type] === "line" ? (T(), b("svg", $r, [x("rect", {
4967
4967
  x: "0",
4968
4968
  y: "7.5",
4969
4969
  rx: "1.5",
@@ -4972,7 +4972,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4972
4972
  height: "3",
4973
4973
  width: "20",
4974
4974
  fill: e.color
4975
- }, null, 8, ei), rt(Ke, {
4975
+ }, null, 8, ei), it(qe, {
4976
4976
  plot: {
4977
4977
  x: 10,
4978
4978
  y: 9
@@ -4993,7 +4993,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
4993
4993
  "color",
4994
4994
  "shape",
4995
4995
  "stroke"
4996
- ])])) : Bi.value[e.type] === "bar" ? (E(), x("svg", ti, [Bi.value[e.type] === "bar" && t.$slots.pattern ? (E(), x("rect", {
4996
+ ])])) : Bi.value[e.type] === "bar" ? (T(), b("svg", ti, [Bi.value[e.type] === "bar" && t.$slots.pattern ? (T(), b("rect", {
4997
4997
  key: 0,
4998
4998
  x: "4",
4999
4999
  y: "4",
@@ -5002,7 +5002,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
5002
5002
  width: "32",
5003
5003
  stroke: "none",
5004
5004
  fill: e.color
5005
- }, null, 8, ni)) : b("", !0), Bi.value[e.type] === "bar" ? (E(), x("rect", {
5005
+ }, null, 8, ni)) : y("", !0), Bi.value[e.type] === "bar" ? (T(), b("rect", {
5006
5006
  key: 1,
5007
5007
  x: "4",
5008
5008
  y: "4",
@@ -5011,7 +5011,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
5011
5011
  width: "32",
5012
5012
  stroke: "none",
5013
5013
  fill: t.$slots.pattern ? `url(#pattern_${F.value}_${e.slotAbsoluteIndex})` : e.color
5014
- }, null, 8, ri)) : b("", !0)])) : (E(), x("svg", ii, [rt(Ke, {
5014
+ }, null, 8, ri)) : y("", !0)])) : (T(), b("svg", ii, [it(qe, {
5015
5015
  plot: {
5016
5016
  x: 6,
5017
5017
  y: 6
@@ -5026,14 +5026,14 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
5026
5026
  "hexagon",
5027
5027
  "star"
5028
5028
  ].includes(e.shape) ? e.shape : "circle"
5029
- }, null, 8, ["color", "shape"])])), S("span", { style: T(`color:${V.value.chart.legend.color}`) }, pt(e.name), 5)], 46, Qr))), 128))], 4)) : b("", !0)], !0)], 512)], 8, ["to"])) : b("", !0),
5030
- t.$slots.source ? (E(), x("div", {
5029
+ }, null, 8, ["color", "shape"])])), x("span", { style: w(`color:${V.value.chart.legend.color}`) }, k(e.name), 5)], 46, Qr))), 128))], 4)) : y("", !0)], !0)], 512)], 8, ["to"])) : y("", !0),
5030
+ t.$slots.source ? (T(), b("div", {
5031
5031
  key: 8,
5032
5032
  ref_key: "source",
5033
5033
  ref: Ti,
5034
5034
  dir: "auto"
5035
- }, [k(t.$slots, "source", {}, void 0, !0)], 512)) : b("", !0),
5036
- rt(A(ci), {
5035
+ }, [O(t.$slots, "source", {}, void 0, !0)], 512)) : y("", !0),
5036
+ it(A(ci), {
5037
5037
  teleportTo: V.value.chart.tooltip.teleportTo,
5038
5038
  show: H.value.showTooltip && Ui.value,
5039
5039
  backgroundColor: V.value.chart.tooltip.backgroundColor,
@@ -5057,9 +5057,9 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
5057
5057
  isA11yMode: ca.value != null,
5058
5058
  a11yPosition: la.value
5059
5059
  }, {
5060
- "tooltip-before": j(() => [k(t.$slots, "tooltip-before", w(C({ ...hl.value })), void 0, !0)]),
5061
- tooltip: j(() => [k(t.$slots, "tooltip", w(C({ ...hl.value })), void 0, !0)]),
5062
- "tooltip-after": j(() => [k(t.$slots, "tooltip-after", w(C({ ...hl.value })), void 0, !0)]),
5060
+ "tooltip-before": j(() => [O(t.$slots, "tooltip-before", C(S({ ...hl.value })), void 0, !0)]),
5061
+ tooltip: j(() => [O(t.$slots, "tooltip", C(S({ ...hl.value })), void 0, !0)]),
5062
+ "tooltip-after": j(() => [O(t.$slots, "tooltip-after", C(S({ ...hl.value })), void 0, !0)]),
5063
5063
  _: 3
5064
5064
  }, 8, [
5065
5065
  "teleportTo",
@@ -5085,26 +5085,26 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
5085
5085
  "isA11yMode",
5086
5086
  "a11yPosition"
5087
5087
  ]),
5088
- Ma.value && V.value.chart.userOptions.buttons.table ? (E(), et(dt(bu.value.component), ot({ key: 9 }, bu.value.props, {
5088
+ Ma.value && V.value.chart.userOptions.buttons.table ? (T(), tt(ft(bu.value.component), st({ key: 9 }, bu.value.props, {
5089
5089
  ref_key: "tableUnit",
5090
5090
  ref: ia,
5091
5091
  onClose: xu
5092
- }), tt({
5093
- content: j(() => [S("div", { style: T(`${A(Qa) || V.value.table.useDialog ? "" : "max-height:400px"};${V.value.table.useDialog ? "height: fit-content; " : ""};overflow:auto;width:100%;${V.value.table.useDialog ? "" : "margin-top:48px"}`) }, [S("div", ai, [yt(S("input", {
5092
+ }), nt({
5093
+ content: j(() => [x("div", { style: w(`${A(Qa) || V.value.table.useDialog ? "" : "max-height:400px"};${V.value.table.useDialog ? "height: fit-content; " : ""};overflow:auto;width:100%;${V.value.table.useDialog ? "" : "margin-top:48px"}`) }, [x("div", ai, [yt(x("input", {
5094
5094
  type: "checkbox",
5095
5095
  "onUpdate:modelValue": n[4] ||= (e) => Xi.value = e
5096
- }, null, 512), [[gt, Xi.value]]), S("div", {
5096
+ }, null, 512), [[gt, Xi.value]]), x("div", {
5097
5097
  onClick: n[5] ||= (e) => Xi.value = !Xi.value,
5098
- style: T({ cursor: Na.value ? "pointer" : "default" })
5099
- }, [rt(A(ui), {
5098
+ style: w({ cursor: Na.value ? "pointer" : "default" })
5099
+ }, [it(A(ui), {
5100
5100
  name: "chartLine",
5101
5101
  size: 20,
5102
5102
  stroke: V.value.chart.color
5103
- }, null, 8, ["stroke"])], 4)]), Xi.value ? (E(), et(A(di), {
5103
+ }, null, 8, ["stroke"])], 4)]), Xi.value ? (T(), tt(A(di), {
5104
5104
  key: `sparkline_${Zi.value}`,
5105
5105
  dataset: oc.value,
5106
5106
  config: sc.value
5107
- }, null, 8, ["dataset", "config"])) : (E(), et(A(si), {
5107
+ }, null, 8, ["dataset", "config"])) : (T(), tt(A(si), {
5108
5108
  key: `table_${Ji.value}`,
5109
5109
  colNames: Pl.value.colNames,
5110
5110
  head: Pl.value.head,
@@ -5114,8 +5114,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
5114
5114
  withCloseButton: !V.value.table.useDialog,
5115
5115
  onClose: xu
5116
5116
  }, {
5117
- th: j(({ th: e }) => [S("div", { innerHTML: e }, null, 8, oi)]),
5118
- td: j(({ td: e }) => [nt(pt(isNaN(Number(e)) ? e : A(u)({
5117
+ th: j(({ th: e }) => [x("div", { innerHTML: e }, null, 8, oi)]),
5118
+ td: j(({ td: e }) => [rt(k(isNaN(Number(e)) ? e : A(p)({
5119
5119
  p: V.value.chart.labels.prefix,
5120
5120
  v: e,
5121
5121
  s: V.value.chart.labels.suffix,
@@ -5133,21 +5133,21 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
5133
5133
  _: 2
5134
5134
  }, [V.value.table.useDialog ? {
5135
5135
  name: "title",
5136
- fn: j(() => [nt(pt(bu.value.title), 1)]),
5136
+ fn: j(() => [rt(k(bu.value.title), 1)]),
5137
5137
  key: "0"
5138
5138
  } : void 0, V.value.table.useDialog ? {
5139
5139
  name: "actions",
5140
- fn: j(() => [S("button", {
5140
+ fn: j(() => [x("button", {
5141
5141
  tabindex: "0",
5142
5142
  class: "vue-ui-user-options-button",
5143
5143
  onClick: n[3] ||= (e) => Fl(V.value.chart.userOptions.callbacks.csv)
5144
- }, [rt(A(ui), {
5144
+ }, [it(A(ui), {
5145
5145
  name: "fileCsv",
5146
5146
  stroke: bu.value.props.color
5147
5147
  }, null, 8, ["stroke"])])]),
5148
5148
  key: "1"
5149
- } : void 0]), 1040)) : b("", !0),
5150
- k(t.$slots, "skeleton", {}, () => [A(Ra) ? (E(), et(Le, { key: 0 })) : b("", !0)], !0)
5149
+ } : void 0]), 1040)) : y("", !0),
5150
+ O(t.$slots, "skeleton", {}, () => [A(Ra) ? (T(), tt(Re, { key: 0 })) : y("", !0)], !0)
5151
5151
  ], 46, At));
5152
5152
  }
5153
5153
  }, [["__scopeId", "data-v-3a378243"]]);