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,40 +1,40 @@
1
- import { B as e, D as t, F as n, G as r, J as i, Kt as a, Lt as o, M as s, Mt as c, O as l, P as u, R as d, Rt as f, U as p, V as m, Wt as h, a as g, b as _, c as v, et as y, g as b, gt as x, h as S, i as C, j as w, s as ee, t as te, z as T, zt as E } from "./lib-JqW18y5I.js";
1
+ import { B as e, Bt as t, F as n, Gt as r, H as i, I as a, K as o, M as s, N as c, Nt as l, O as u, Rt as d, V as f, W as p, Y as m, _ as h, _t as g, a as _, c as v, g as y, i as b, k as x, qt as S, s as ee, t as C, tt as te, x as w, z as T, zt as E } from "./lib-CnHx5WfV.js";
2
2
  import { t as D } from "./useTimeLabels-BmBRv27Y.js";
3
3
  import { t as O } from "./useConfig-DYM3f6EI.js";
4
4
  import { t as ne } from "./vue_ui_xy-BA3-_LCx.js";
5
- import { _ as k, d as A, f as j, g as M, h as N, l as P, m as F, p as I, u as L, v as R } from "./render-common-D18VrP0h.js";
5
+ import { _ as k, d as A, f as j, g as M, h as N, l as P, m as F, p as I, u as L, v as R } from "./render-common-DJXFRGhU.js";
6
6
  //#region src/svg/vue-ui-xy/create.js
7
7
  var { vue_ui_xy: z } = O();
8
8
  function re({ config: e = {}, dataset: t = [] } = {}) {
9
- let n = e ?? {}, r = a({
9
+ let n = e ?? {}, i = S({
10
10
  userConfig: n,
11
11
  defaultConfig: z
12
12
  });
13
- x(n, "chart.highlightArea") && (Array.isArray(n.chart.highlightArea) ? r.chart.highlightArea = n.chart.highlightArea.map((e) => a({
13
+ g(n, "chart.highlightArea") && (Array.isArray(n.chart.highlightArea) ? i.chart.highlightArea = n.chart.highlightArea.map((e) => S({
14
14
  defaultConfig: z.chart.highlightArea,
15
15
  userConfig: e
16
- })) : r.chart.highlightArea = [a({
16
+ })) : i.chart.highlightArea = [S({
17
17
  defaultConfig: z.chart.highlightArea,
18
18
  userConfig: n.chart.highlightArea
19
- })]), x(n, "chart.annotations") && Array.isArray(n.chart.annotations) && n.chart.annotations.length ? r.chart.annotations = n.chart.annotations.map((e) => a({
19
+ })]), g(n, "chart.annotations") && Array.isArray(n.chart.annotations) && n.chart.annotations.length ? i.chart.annotations = n.chart.annotations.map((e) => S({
20
20
  defaultConfig: z.chart.annotations[0],
21
21
  userConfig: e
22
- })) : r.chart.annotations = [], x(n, "chart.grid.position") && n.chart.grid.position === "start" && t.some((e) => e.type === "bar") && (r.chart.grid.position = "middle");
23
- let i = r.theme;
24
- if (!i) return {
25
- ...r,
26
- customPalette: r.customPalette?.length ? r.customPalette : c
22
+ })) : i.chart.annotations = [], g(n, "chart.grid.position") && n.chart.grid.position === "start" && t.some((e) => e.type === "bar") && (i.chart.grid.position = "middle");
23
+ let a = i.theme;
24
+ if (!a) return {
25
+ ...i,
26
+ customPalette: i.customPalette?.length ? i.customPalette : l
27
27
  };
28
- let o = a({
28
+ let o = S({
29
29
  userConfig: n,
30
- defaultConfig: a({
31
- userConfig: ne[i] || {},
32
- defaultConfig: r
30
+ defaultConfig: S({
31
+ userConfig: ne[a] || {},
32
+ defaultConfig: i
33
33
  })
34
34
  });
35
35
  return {
36
36
  ...o,
37
- customPalette: o.customPalette?.length ? o.customPalette : h[i] || c
37
+ customPalette: o.customPalette?.length ? o.customPalette : r[a] || l
38
38
  };
39
39
  }
40
40
  function B(e) {
@@ -54,7 +54,7 @@ function oe({ dataset: e, config: t }) {
54
54
  ticks: [0, 1]
55
55
  };
56
56
  let r = t?.chart?.grid?.labels?.xAxis?.scaleMin, i = t?.chart?.grid?.labels?.xAxis?.scaleMax, a = ie(r) ? Number(r) : Math.min(...n), o = ie(i) ? Number(i) : Math.max(...n);
57
- return S(a === o ? a - 1 : a, a === o ? o + 1 : o, Number.isFinite(Number(t?.chart?.grid?.labels?.xAxis?.scaleSteps)) ? Number(t.chart.grid.labels.xAxis.scaleSteps) : 6);
57
+ return y(a === o ? a - 1 : a, a === o ? o + 1 : o, Number.isFinite(Number(t?.chart?.grid?.labels?.xAxis?.scaleSteps)) ? Number(t.chart.grid.labels.xAxis.scaleSteps) : 6);
58
58
  }
59
59
  function se({ xValue: e, xScale: t, drawingArea: n, config: r }) {
60
60
  let i = (Number(e) - t.min) / (t.max - t.min || 1), a = r?.chart?.grid?.labels?.xAxis?.reverse ? 1 - i : i;
@@ -64,41 +64,41 @@ function ce({ dataset: e = [], config: t = {}, width: n = 1e3, height: r = 600,
64
64
  let s = re({
65
65
  config: t,
66
66
  dataset: e
67
- }), l = {
67
+ }), c = {
68
68
  top: s.chart.padding.top,
69
69
  left: s.chart.padding.left,
70
70
  right: n - s.chart.padding.right,
71
71
  bottom: r - s.chart.padding.bottom
72
72
  };
73
- l.width = l.right - l.left, l.height = l.bottom - l.top;
74
- let u = e.flatMap((e) => Array.isArray(e.series) ? e.series.map((e) => Number(typeof e == "object" && e ? e.y : e)) : []).filter(Number.isFinite), d = S(Math.min(0, ...u), Math.max(1, ...u), 6), f = e.some((e) => Array.isArray(e.series) ? e.series.some(B) : !1), p = f ? oe({
73
+ c.width = c.right - c.left, c.height = c.bottom - c.top;
74
+ let u = e.flatMap((e) => Array.isArray(e.series) ? e.series.map((e) => Number(typeof e == "object" && e ? e.y : e)) : []).filter(Number.isFinite), d = y(Math.min(0, ...u), Math.max(1, ...u), 6), f = e.some((e) => Array.isArray(e.series) ? e.series.some(B) : !1), p = f ? oe({
75
75
  dataset: e,
76
76
  config: s
77
- }) : null, m = Math.max(0, ...e.map((e) => e.series?.length || 0)), h = (e) => m <= 1 ? l.left + l.width / 2 : l.left + e / (m - 1) * l.width, g = (e, t) => f ? B(e) ? se({
77
+ }) : null, m = Math.max(0, ...e.map((e) => e.series?.length || 0)), h = (e) => m <= 1 ? c.left + c.width / 2 : c.left + e / (m - 1) * c.width, g = (e, t) => f ? B(e) ? se({
78
78
  xValue: e.x,
79
79
  xScale: p,
80
- drawingArea: l,
80
+ drawingArea: c,
81
81
  config: s
82
- }) : null : h(t), v = (e) => {
82
+ }) : null : h(t), _ = (e) => {
83
83
  let t = (Number(e) - d.min) / (d.max - d.min || 1);
84
- return l.bottom - t * l.height;
85
- }, y = Array.isArray(s.customPalette) ? s.customPalette : [], b = y.length ? y : c;
84
+ return c.bottom - t * c.height;
85
+ }, v = Array.isArray(s.customPalette) ? s.customPalette : [], b = v.length ? v : l;
86
86
  return {
87
87
  width: n,
88
88
  height: r,
89
89
  selectedXIndex: i,
90
90
  dataset: e,
91
91
  config: s,
92
- drawingArea: l,
92
+ drawingArea: c,
93
93
  scale: d,
94
94
  xScale: p,
95
95
  isContinuous: f,
96
96
  series: e.map((e, t) => {
97
- let n = (e.color ? _(e.color) : "") || b[t % b.length], r = (e.series || []).map((e, t) => {
97
+ let n = (e.color ? w(e.color) : "") || b[t % b.length], r = (e.series || []).map((e, t) => {
98
98
  let n = e == null ? null : typeof e == "object" ? e.y ?? null : Number(e);
99
99
  return {
100
100
  x: g(e, t),
101
- y: n === null || !Number.isFinite(Number(n)) ? null : v(n),
101
+ y: n === null || !Number.isFinite(Number(n)) ? null : _(n),
102
102
  value: n,
103
103
  index: t,
104
104
  rawX: B(e) ? Number(e.x) : null,
@@ -183,7 +183,7 @@ function U(e) {
183
183
  let { drawingArea: t, scale: n } = e, r = (0 - n.min) / (n.max - n.min || 1);
184
184
  return t.bottom - r * t.height;
185
185
  }
186
- var ve = r();
186
+ var ve = o();
187
187
  function W(e) {
188
188
  return ve;
189
189
  }
@@ -208,52 +208,52 @@ function Ce(e, t, n) {
208
208
  }
209
209
  function we(e, t, n) {
210
210
  let { config: r } = e;
211
- return I(r, "line.area.useGradient", !1) ? `url(#${rt(e, n)})` : f(t.color, k(I(r, "line.area.opacity", 30), 30));
211
+ return I(r, "line.area.useGradient", !1) ? `url(#${rt(e, n)})` : E(t.color, k(I(r, "line.area.opacity", 30), 30));
212
212
  }
213
213
  function K(e, t, n, r) {
214
214
  return I(e.config, "bar.useGradient", !1) ? r >= 0 ? `url(#${G(e, n, "pos")})` : `url(#${G(e, n, "neg")})` : t.color;
215
215
  }
216
- function Te(e, t) {
217
- let { config: n } = e, r = [];
218
- return I(n, "bar.useGradient", !1) && t.filter((e) => e.type === "bar").forEach((t, n) => {
219
- r.push(L("linearGradient", {
220
- id: G(e, n, "pos"),
216
+ function Te(e, n) {
217
+ let { config: r } = e, i = [];
218
+ return I(r, "bar.useGradient", !1) && n.filter((e) => e.type === "bar").forEach((n, r) => {
219
+ i.push(L("linearGradient", {
220
+ id: G(e, r, "pos"),
221
221
  x2: "0%",
222
222
  y2: "100%"
223
223
  }, [
224
224
  A("stop", {
225
225
  offset: "0%",
226
- "stop-color": _(t.color)
226
+ "stop-color": w(n.color)
227
227
  }),
228
228
  A("stop", {
229
229
  offset: "62%",
230
- "stop-color": E(_(t.color), .02)
230
+ "stop-color": t(w(n.color), .02)
231
231
  }),
232
232
  A("stop", {
233
233
  offset: "100%",
234
- "stop-color": E(_(t.color), .05)
234
+ "stop-color": t(w(n.color), .05)
235
235
  })
236
- ].join(""))), r.push(L("linearGradient", {
237
- id: G(e, n, "neg"),
236
+ ].join(""))), i.push(L("linearGradient", {
237
+ id: G(e, r, "neg"),
238
238
  x2: "0%",
239
239
  y2: "100%"
240
240
  }, [
241
241
  A("stop", {
242
242
  offset: "0%",
243
- "stop-color": E(_(t.color), .05)
243
+ "stop-color": t(w(n.color), .05)
244
244
  }),
245
245
  A("stop", {
246
246
  offset: "38%",
247
- "stop-color": E(_(t.color), .02)
247
+ "stop-color": t(w(n.color), .02)
248
248
  }),
249
249
  A("stop", {
250
250
  offset: "100%",
251
- "stop-color": _(t.color)
251
+ "stop-color": w(n.color)
252
252
  })
253
253
  ].join("")));
254
- }), t.filter((e) => e.type === "line").forEach((t, i) => {
255
- I(n, "line.useGradient", !1) && r.push(L("radialGradient", {
256
- id: ye(e, i),
254
+ }), n.filter((e) => e.type === "line").forEach((n, a) => {
255
+ I(r, "line.useGradient", !1) && i.push(L("radialGradient", {
256
+ id: ye(e, a),
257
257
  cx: "50%",
258
258
  cy: "50%",
259
259
  r: "50%",
@@ -261,20 +261,20 @@ function Te(e, t) {
261
261
  fy: "50%"
262
262
  }, [A("stop", {
263
263
  offset: "0%",
264
- "stop-color": E(_(t.color), .05)
264
+ "stop-color": t(w(n.color), .05)
265
265
  }), A("stop", {
266
266
  offset: "100%",
267
- "stop-color": _(t.color)
268
- })].join(""))), t.temperatureColors && !t.isFlatTemperatureLine && r.push(L("linearGradient", {
269
- id: be(e, i),
267
+ "stop-color": w(n.color)
268
+ })].join(""))), n.temperatureColors && !n.isFlatTemperatureLine && i.push(L("linearGradient", {
269
+ id: be(e, a),
270
270
  gradientTransform: "rotate(90)"
271
- }, t.temperatureColors.map((e, n) => A("stop", {
272
- offset: o(n, t.temperatureColors.length),
273
- "stop-color": _(e)
271
+ }, n.temperatureColors.map((e, t) => A("stop", {
272
+ offset: d(t, n.temperatureColors.length),
273
+ "stop-color": w(e)
274
274
  })).join("")));
275
- }), t.filter((e) => e.type === "plot").forEach((t, i) => {
276
- I(n, "plot.useGradient", !1) && r.push(L("radialGradient", {
277
- id: Se(e, i),
275
+ }), n.filter((e) => e.type === "plot").forEach((n, a) => {
276
+ I(r, "plot.useGradient", !1) && i.push(L("radialGradient", {
277
+ id: Se(e, a),
278
278
  cx: "50%",
279
279
  cy: "50%",
280
280
  r: "50%",
@@ -282,12 +282,12 @@ function Te(e, t) {
282
282
  fy: "50%"
283
283
  }, [A("stop", {
284
284
  offset: "0%",
285
- "stop-color": E(_(t.color), .05)
285
+ "stop-color": t(w(n.color), .05)
286
286
  }), A("stop", {
287
287
  offset: "100%",
288
- "stop-color": _(t.color)
288
+ "stop-color": w(n.color)
289
289
  })].join("")));
290
- }), r.length ? L("defs", { "data-layer": "gradients" }, r.join("")) : "";
290
+ }), i.length ? L("defs", { "data-layer": "gradients" }, i.join("")) : "";
291
291
  }
292
292
  function Ee(e) {
293
293
  let t = I(e.config, "chart.backgroundColor", "#FFFFFF");
@@ -308,13 +308,13 @@ function J(e) {
308
308
  return I(e, "chart.grid.labels.yAxis.position", "left") === "right";
309
309
  }
310
310
  function De(e, t) {
311
- let n = i({
311
+ let n = m({
312
312
  p: I(t, "chart.labels.prefix", ""),
313
313
  v: e,
314
314
  s: I(t, "chart.labels.suffix", ""),
315
315
  r: I(t, "chart.grid.labels.yAxis.rounding", 0)
316
316
  });
317
- return C(I(t, "chart.grid.labels.yAxis.formatter", null), e, n, t);
317
+ return b(I(t, "chart.grid.labels.yAxis.formatter", null), e, n, t);
318
318
  }
319
319
  function Y(e) {
320
320
  return !!I(e, "chart.grid.labels.yAxis.stacked", !1);
@@ -323,7 +323,7 @@ function X(e) {
323
323
  return e != null && Number.isFinite(Number(e));
324
324
  }
325
325
  function Oe(e, t, n, r) {
326
- return I(e, "chart.grid.labels.yAxis.useNiceScale", !0) ? S(t, n, r) : b(t, n, r);
326
+ return I(e, "chart.grid.labels.yAxis.useNiceScale", !0) ? y(t, n, r) : h(t, n, r);
327
327
  }
328
328
  function ke(e, t) {
329
329
  let n = M(t.plots).map((e) => Number(e.value)).filter(Number.isFinite), r = I(e, "chart.grid.labels.yAxis.scaleMin", null), i = I(e, "chart.grid.labels.yAxis.scaleMax", null), a = X(r) ? Number(r) : X(t.scaleMin) ? Number(t.scaleMin) : Math.min(0, ...n), o = X(i) ? Number(i) : X(t.scaleMax) ? Number(t.scaleMax) : Math.max(1, ...n);
@@ -361,21 +361,21 @@ function je(e, t) {
361
361
  ...e,
362
362
  width: i,
363
363
  height: a
364
- }, t) : { height: 0 }, d = l && c === "top" ? u.height : 0, f = l && c !== "top" ? u.height : 0, p = I(n, "chart.grid.labels.axis.xLabel", ""), m = I(n, "chart.grid.labels.xAxisLabels.show", !0) ? o.xAxis * 2 : 0, h = (p ? o.yAxis * 1.5 : 0) + m + o.xAxis, _ = gt(n) + k(I(n, "chart.labels.fontSize", 12), 12) * 1.1, v = k(I(n, "chart.padding.top", 12), 12), y = k(I(n, "chart.padding.right", 12), 12), b = k(I(n, "chart.padding.bottom", 12), 12), x = k(I(n, "chart.padding.left", 12), 12), S = k(I(n, "chart.grid.labels.axis.xLabelOffsetY", 0), 0), C = k(I(n, "chart.grid.labels.yAxis.crosshairSize", 0), 0), w = s.left, ee = s.right, te = i - w - ee - 6 - x - y, T = {
365
- top: v + _ + d,
366
- right: w + (J(n) ? 0 : C) + x + te,
364
+ }, t) : { height: 0 }, d = l && c === "top" ? u.height : 0, f = l && c !== "top" ? u.height : 0, p = I(n, "chart.grid.labels.axis.xLabel", ""), m = I(n, "chart.grid.labels.xAxisLabels.show", !0) ? o.xAxis * 2 : 0, h = (p ? o.yAxis * 1.5 : 0) + m + o.xAxis, g = gt(n) + k(I(n, "chart.labels.fontSize", 12), 12) * 1.1, v = k(I(n, "chart.padding.top", 12), 12), y = k(I(n, "chart.padding.right", 12), 12), b = k(I(n, "chart.padding.bottom", 12), 12), x = k(I(n, "chart.padding.left", 12), 12), S = k(I(n, "chart.grid.labels.axis.xLabelOffsetY", 0), 0), ee = k(I(n, "chart.grid.labels.yAxis.crosshairSize", 0), 0), C = s.left, te = s.right, w = i - C - te - 6 - x - y, T = {
365
+ top: v + g + d,
366
+ right: C + (J(n) ? 0 : ee) + x + w,
367
367
  bottom: a - h - b - S - f,
368
- left: w + (J(n) ? 0 : C) + x,
369
- width: Math.max(1, te),
368
+ left: C + (J(n) ? 0 : ee) + x,
369
+ width: Math.max(1, w),
370
370
  height: 1,
371
- scaleLabelX: w,
372
- rightScaleLabelX: ee,
371
+ scaleLabelX: C,
372
+ rightScaleLabelX: te,
373
373
  scaleLabelsOffset: s.scaleLabelsOffset,
374
374
  yAxisLabelWidth: s.yAxisLabelWidth,
375
375
  individualOffsetX: 36
376
376
  };
377
377
  T.height = Math.max(1, T.bottom - T.top);
378
- let E = Y(n), D = E ? g(t) : t, O = Math.max(1, D.length), ne = E ? k(I(n, "chart.grid.labels.yAxis.gap", 12), 12) : 0, A = ne * Math.max(0, O - 1), j = Math.max(1, T.height - A), N = V(n), P = me(n, t), F = Math.max(1, ...t.map((e) => M(e.plots).length));
378
+ let E = Y(n), D = E ? _(t) : t, O = Math.max(1, D.length), ne = E ? k(I(n, "chart.grid.labels.yAxis.gap", 12), 12) : 0, A = ne * Math.max(0, O - 1), j = Math.max(1, T.height - A), N = V(n), P = me(n, t), F = Math.max(1, ...t.map((e) => M(e.plots).length));
379
379
  function L(t, n) {
380
380
  if (Z(e)) {
381
381
  let n = Number(t.rawX);
@@ -708,13 +708,13 @@ function We(e, t) {
708
708
  return n.left + n.width * o;
709
709
  }
710
710
  function Ge(e, t, n) {
711
- let { config: r } = e, a = i({
711
+ let { config: r } = e, i = m({
712
712
  v: t,
713
713
  p: I(r, "chart.labels.prefix", ""),
714
714
  s: I(r, "chart.labels.suffix", ""),
715
715
  r: I(r, "chart.grid.labels.xAxis.rounding", 0)
716
716
  });
717
- return C(I(r, "chart.grid.labels.xAxis.formatter", null), t, a, {
717
+ return b(I(r, "chart.grid.labels.xAxis.formatter", null), t, i, {
718
718
  datapoint: t,
719
719
  seriesIndex: null
720
720
  });
@@ -761,7 +761,7 @@ function Xe(e, t, n, r) {
761
761
  return Z(e) ? t.x : Q(e, n, r);
762
762
  }
763
763
  function Ze(e) {
764
- return x(e.userConfig ?? e.sourceConfig ?? e.props?.config ?? {}, "chart.grid.labels.xAxisLabels.rotation") ? k(I(e.config, "chart.grid.labels.xAxisLabels.rotation", 0), 0) : I(e.config, "chart.grid.labels.xAxisLabels.autoRotate.enable", !1) ? k(I(e.config, "chart.grid.labels.xAxisLabels.autoRotate.angle", 0), 0) : k(I(e.config, "chart.grid.labels.xAxisLabels.rotation", 0), 0);
764
+ return g(e.userConfig ?? e.sourceConfig ?? e.props?.config ?? {}, "chart.grid.labels.xAxisLabels.rotation") ? k(I(e.config, "chart.grid.labels.xAxisLabels.rotation", 0), 0) : I(e.config, "chart.grid.labels.xAxisLabels.autoRotate.enable", !1) ? k(I(e.config, "chart.grid.labels.xAxisLabels.autoRotate.angle", 0), 0) : k(I(e.config, "chart.grid.labels.xAxisLabels.rotation", 0), 0);
765
765
  }
766
766
  async function Qe(e, t) {
767
767
  let { config: n, drawingArea: r } = e;
@@ -884,50 +884,50 @@ function nt(e, t) {
884
884
  function rt(e, t) {
885
885
  return `areaGradient_${t}_${W()}`;
886
886
  }
887
- function it(e, t) {
888
- let { config: n } = e;
889
- if (!I(n, "line.area.useGradient", !1)) return "";
890
- let r = k(I(n, "line.area.opacity", 30), 30), i = t.filter((e) => e.type === "line" && e.useArea).map((t, n) => L("linearGradient", {
891
- id: rt(e, n),
887
+ function it(e, n) {
888
+ let { config: r } = e;
889
+ if (!I(r, "line.area.useGradient", !1)) return "";
890
+ let i = k(I(r, "line.area.opacity", 30), 30), a = n.filter((e) => e.type === "line" && e.useArea).map((n, r) => L("linearGradient", {
891
+ id: rt(e, r),
892
892
  x1: "0%",
893
893
  x2: "0%",
894
894
  y1: "0%",
895
895
  y2: "100%"
896
896
  }, [A("stop", {
897
897
  offset: "0%",
898
- "stop-color": f(E(_(t.color), .03), r),
898
+ "stop-color": E(t(w(n.color), .03), i),
899
899
  "stop-opacity": 1
900
900
  }), A("stop", {
901
901
  offset: "100%",
902
- "stop-color": t.color,
902
+ "stop-color": n.color,
903
903
  "stop-opacity": 0
904
904
  })].join(""))).join("");
905
- return i ? L("defs", {}, i) : "";
906
- }
907
- function at(e, n) {
908
- let { config: r } = e, i = !!I(r, "line.cutNullValues", !1), a = [];
909
- return n.filter((e) => e.type === "line" && e.useArea).forEach((n, r) => {
910
- let o = M(n.plots), s = o.filter((e) => e && e.value !== null);
911
- if (s.length < 2) return;
912
- let c = Number.isFinite(Number(n.__zeroY)) ? Number(n.__zeroY) : U(e), u = we(e, n, r);
913
- if (n.smooth && !n.useStepper) {
914
- w(i ? o : s, c, i).forEach((e) => {
915
- e && a.push(A("path", {
905
+ return a ? L("defs", {}, a) : "";
906
+ }
907
+ function at(e, t) {
908
+ let { config: n } = e, r = !!I(n, "line.cutNullValues", !1), i = [];
909
+ return t.filter((e) => e.type === "line" && e.useArea).forEach((t, n) => {
910
+ let a = M(t.plots), o = a.filter((e) => e && e.value !== null);
911
+ if (o.length < 2) return;
912
+ let c = Number.isFinite(Number(t.__zeroY)) ? Number(t.__zeroY) : U(e), l = we(e, t, n);
913
+ if (t.smooth && !t.useStepper) {
914
+ s(r ? a : o, c, r).forEach((e) => {
915
+ e && i.push(A("path", {
916
916
  d: e,
917
- fill: u,
917
+ fill: l,
918
918
  "data-cy": "datapoint-line-area-smooth"
919
919
  }));
920
920
  });
921
921
  return;
922
922
  }
923
- (n.useStepper ? d(i ? o : s, c) : i ? l(o, c) : t(s, c)).split(";").filter(Boolean).forEach((e) => {
924
- a.push(A("path", {
923
+ (t.useStepper ? T(r ? a : o, c) : r ? x(a, c) : u(o, c)).split(";").filter(Boolean).forEach((e) => {
924
+ i.push(A("path", {
925
925
  d: `M${e}Z`,
926
- fill: u,
926
+ fill: l,
927
927
  "data-cy": "datapoint-line-area-straight"
928
928
  }));
929
929
  });
930
- }), L("g", { "data-layer": "line-areas" }, a.join(""));
930
+ }), L("g", { "data-layer": "line-areas" }, i.join(""));
931
931
  }
932
932
  function ot(e, t) {
933
933
  let n = k(t.slotStartIndex ?? t.startAbs, 0);
@@ -946,22 +946,22 @@ function st(e, t, n, r, i) {
946
946
  });
947
947
  }
948
948
  function ct(t, r) {
949
- let { config: i } = t, a = r.filter((e) => e.type === "line"), o = !!I(i, "line.cutNullValues", !1), c = [];
950
- return a.forEach((r, a) => {
951
- let l = o ? M(r.plots) : M(r.plots).filter((e) => e.value !== null), f = l.filter((e) => e.value !== null);
952
- if (!(f.length < 2)) {
949
+ let { config: o } = t, s = r.filter((e) => e.type === "line"), l = !!I(o, "line.cutNullValues", !1), u = [];
950
+ return s.forEach((r, s) => {
951
+ let d = l ? M(r.plots) : M(r.plots).filter((e) => e.value !== null), p = d.filter((e) => e.value !== null);
952
+ if (!(p.length < 2)) {
953
953
  if (M(r.dashIndices).length > 0 && !r.useStepper) {
954
954
  let e = ot(r, t);
955
- (r.smooth || I(i, "line.smooth", !1) ? n(l, e) : m(l, e)).forEach((e) => {
956
- e?.path && c.push(st(t, r, a, e.path, !!e.dashed));
955
+ (r.smooth || I(o, "line.smooth", !1) ? a(d, e) : i(d, e)).forEach((e) => {
956
+ e?.path && u.push(st(t, r, s, e.path, !!e.dashed));
957
957
  });
958
958
  return;
959
959
  }
960
- (r.useStepper ? d(l).split(";").filter(Boolean) : [r.smooth || I(i, "line.smooth", !1) ? o ? u(l) : s(f) : o ? e(l) : T(f, !1, !0)]).forEach((e) => {
961
- e && c.push(st(t, r, a, e, !!r.dashed));
960
+ (r.useStepper ? T(d).split(";").filter(Boolean) : [r.smooth || I(o, "line.smooth", !1) ? l ? n(d) : c(p) : l ? f(d) : e(p, !1, !0)]).forEach((e) => {
961
+ e && u.push(st(t, r, s, e, !!r.dashed));
962
962
  });
963
963
  }
964
- }), L("g", { "data-layer": "lines" }, c.join(""));
964
+ }), L("g", { "data-layer": "lines" }, u.join(""));
965
965
  }
966
966
  function lt(e, t, n) {
967
967
  let { config: r } = e;
@@ -1095,22 +1095,22 @@ function yt(e, t, n, r, i) {
1095
1095
  return !n || n.value === null || n.value === void 0 || !Number.isFinite(Number(n.value)) || !I(e.config, "dataLabels.show", !0) || !I(e.config, `${i}.labels.show`, !1) ? !1 : !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 || e.selectedSerieIndex === r || e.selectedMinimapIndex === r;
1096
1096
  }
1097
1097
  function bt(e, t, n, r) {
1098
- let { config: a } = e, o = k(I(a, `${r}.labels.fontSize`, I(a, "chart.labels.fontSize", 12)), 12), s = I(a, `${r}.labels.color`, I(a, "chart.color", "#2A2A2A")), c = i({
1099
- p: t.prefix || I(a, "chart.labels.prefix", ""),
1098
+ let { config: i } = e, a = k(I(i, `${r}.labels.fontSize`, I(i, "chart.labels.fontSize", 12)), 12), o = I(i, `${r}.labels.color`, I(i, "chart.color", "#2A2A2A")), s = m({
1099
+ p: t.prefix || I(i, "chart.labels.prefix", ""),
1100
1100
  v: n.value,
1101
- s: t.suffix || I(a, "chart.labels.suffix", ""),
1102
- r: I(a, `${r}.labels.rounding`, 0)
1101
+ s: t.suffix || I(i, "chart.labels.suffix", ""),
1102
+ r: I(i, `${r}.labels.rounding`, 0)
1103
1103
  });
1104
1104
  return p({
1105
- content: Z(e) && Number.isFinite(Number(n.x)) ? `x: ${i({
1105
+ content: Z(e) && Number.isFinite(Number(n.x)) ? `x: ${m({
1106
1106
  v: n.x,
1107
- r: I(a, "chart.grid.labels.xAxis.rounding", 0)
1108
- })}\ny: ${c}` : C(I(a, `${r}.labels.formatter`, null), n.value, c, {
1107
+ r: I(i, "chart.grid.labels.xAxis.rounding", 0)
1108
+ })}\ny: ${s}` : b(I(i, `${r}.labels.formatter`, null), n.value, s, {
1109
1109
  datapoint: n,
1110
1110
  serie: t
1111
1111
  }),
1112
- fontSize: o,
1113
- fill: s,
1112
+ fontSize: a,
1113
+ fill: o,
1114
1114
  x: 0,
1115
1115
  y: 0
1116
1116
  });
@@ -1187,7 +1187,7 @@ function At(e, t, n, r, i, a) {
1187
1187
  `color:${s.color || "#2A2A2A"}`,
1188
1188
  `font-weight:${s.bold ? "bold" : "normal"}`
1189
1189
  ].join(";")
1190
- }, y(s.text)));
1190
+ }, te(s.text)));
1191
1191
  }
1192
1192
  function jt(e, t) {
1193
1193
  let { config: n, drawingArea: r } = e, i = M(I(n, "chart.highlightArea", []));
@@ -1207,7 +1207,7 @@ function jt(e, t) {
1207
1207
  y: r.top,
1208
1208
  width: kt(e, a),
1209
1209
  height: Math.max(1, r.height),
1210
- fill: f(t.color, k(t.opacity, 20)),
1210
+ fill: E(t.color, k(t.opacity, 20)),
1211
1211
  "pointer-events": "none"
1212
1212
  }));
1213
1213
  }
@@ -1244,44 +1244,44 @@ function Ft(e) {
1244
1244
  if (!r.length) return "";
1245
1245
  let i = [];
1246
1246
  return r.forEach((t, r) => {
1247
- let a = t.yAxis ?? {}, o = a.label ?? {}, s = a.line ?? {}, c = a.area ?? {}, l = a.yTop, u = a.yBottom, d = l != null && u != null && l !== u, p = Mt(e, l), m = Mt(e, u), h = Number.isFinite(p), g = Number.isFinite(m);
1248
- if (!h && !g) return;
1249
- let _ = [];
1250
- if (h && _.push(A("line", {
1247
+ let a = t.yAxis ?? {}, o = a.label ?? {}, s = a.line ?? {}, c = a.area ?? {}, l = a.yTop, u = a.yBottom, d = l != null && u != null && l !== u, f = Mt(e, l), p = Mt(e, u), m = Number.isFinite(f), h = Number.isFinite(p);
1248
+ if (!m && !h) return;
1249
+ let g = [];
1250
+ if (m && g.push(A("line", {
1251
1251
  x1: n.left,
1252
- y1: p,
1252
+ y1: f,
1253
1253
  x2: n.right,
1254
- y2: p,
1254
+ y2: f,
1255
1255
  stroke: s.stroke,
1256
1256
  "stroke-width": s.strokeWidth,
1257
1257
  "stroke-dasharray": s.strokeDasharray,
1258
1258
  "stroke-linecap": "round",
1259
1259
  "data-cy": "xy-annotation-y-top-line"
1260
- })), g && _.push(A("line", {
1260
+ })), h && g.push(A("line", {
1261
1261
  x1: n.left,
1262
- y1: m,
1262
+ y1: p,
1263
1263
  x2: n.right,
1264
- y2: m,
1264
+ y2: p,
1265
1265
  stroke: s.stroke,
1266
1266
  "stroke-width": s.strokeWidth,
1267
1267
  "stroke-dasharray": s.strokeDasharray,
1268
1268
  "stroke-linecap": "round",
1269
1269
  "data-cy": "xy-annotation-y-bottom-line"
1270
- })), d && h && g && _.push(A("rect", {
1270
+ })), d && m && h && g.push(A("rect", {
1271
1271
  x: n.left,
1272
- y: Math.min(p, m),
1272
+ y: Math.min(f, p),
1273
1273
  width: n.width,
1274
- height: Math.abs(p - m),
1275
- fill: f(c.fill, k(c.opacity, 20)),
1274
+ height: Math.abs(f - p),
1275
+ fill: E(c.fill, k(c.opacity, 20)),
1276
1276
  "data-cy": "xy-annotation-y-area",
1277
1277
  "pointer-events": "none"
1278
1278
  })), o.text) {
1279
- let e = o.padding ?? {}, t = h && g ? Math.min(p, m) : h ? p : m, r = (o.position === "start" ? n.left + k(e.left, 0) : n.right - k(e.right, 0)) + k(o.offsetX, 0), i = t - k(o.fontSize, 12) / 3 + k(o.offsetY, 0) - k(e.top, 0), a = Pt(o, r, i);
1280
- Number.isFinite(a.y) && Number.isFinite(i) && (_.push(A("rect", {
1279
+ let e = o.padding ?? {}, t = m && h ? Math.min(f, p) : m ? f : p, r = (o.position === "start" ? n.left + k(e.left, 0) : n.right - k(e.right, 0)) + k(o.offsetX, 0), i = t - k(o.fontSize, 12) / 3 + k(o.offsetY, 0) - k(e.top, 0), a = Pt(o, r, i);
1280
+ Number.isFinite(a.y) && Number.isFinite(i) && (g.push(A("rect", {
1281
1281
  class: "vue-ui-xy-annotation-label-box",
1282
1282
  ...a,
1283
1283
  "data-cy": "xy-annotation-label-box"
1284
- })), _.push(R(o.text, {
1284
+ })), g.push(R(o.text, {
1285
1285
  class: "vue-ui-xy-annotation-label",
1286
1286
  x: r,
1287
1287
  y: i,
@@ -1294,7 +1294,7 @@ function Ft(e) {
1294
1294
  i.push(L("g", {
1295
1295
  "data-layer": "annotation",
1296
1296
  "data-key": `annotation_y_${r}`
1297
- }, _.join("")));
1297
+ }, g.join("")));
1298
1298
  }), i.length ? L("g", { "data-layer": "annotations" }, i.join("")) : "";
1299
1299
  }
1300
1300
  function It(e, t) {
@@ -1326,7 +1326,7 @@ async function Lt(e) {
1326
1326
  }, i), o = a.series;
1327
1327
  return `
1328
1328
  <svg
1329
- xmlns="${te}"
1329
+ xmlns="${C}"
1330
1330
  width="100%"
1331
1331
  viewBox="0 0 ${n} ${r}"
1332
1332
  role="img"