vue-data-ui 3.25.11 → 3.25.13

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 (205) hide show
  1. package/dist/{Arrow-DLn-pcrh.js → Arrow-BhZDUeMp.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Gm4Q30j0.js → BaseDraggableDialog-Ck6R5Q0K.js} +2 -2
  3. package/dist/{BaseIcon-D8R6_sKH.js → BaseIcon-Dlz7gfx0.js} +1 -1
  4. package/dist/{BaseLegendToggle-CXQrLjd-.js → BaseLegendToggle-DGG65LAR.js} +1 -1
  5. package/dist/{BaseZoomControls-BTzjVDPM.js → BaseZoomControls-BK0PxEa8.js} +2 -2
  6. package/dist/{ColorPicker-CUy15T72.js → ColorPicker-DMTwxvi_.js} +2 -2
  7. package/dist/{DataTable-oiM9uWrQ.js → DataTable-BD1eZ0zB.js} +2 -2
  8. package/dist/{HillActions-Dn8aKOVJ.js → HillActions-CiP2m7Nz.js} +1 -1
  9. package/dist/{Legend-X4kF4PvW.js → Legend-C0Ln0VNe.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-DFXjpRyl.js → NonSvgPenAndPaper-BjrMLISf.js} +3 -3
  11. package/dist/{PackageVersion-CEvZNFTz.js → PackageVersion-D5QkTJQU.js} +1 -1
  12. package/dist/{PenAndPaper-Cd3nItcO.js → PenAndPaper-XdUD8uB3.js} +3 -3
  13. package/dist/{Shape-CIqU-p2F.js → Shape-VCdxvFV9.js} +3 -3
  14. package/dist/{SlicerPreview-Ccss7Vsq.js → SlicerPreview-BJ4usfYd.js} +21 -21
  15. package/dist/{SparkTooltip-L3SliZbR.js → SparkTooltip-B1gRxPfb.js} +6 -6
  16. package/dist/{Title-CPHi-evi.js → Title-DeqmC-vN.js} +1 -1
  17. package/dist/{Tooltip-hhrkQ3Lk.js → Tooltip-DZ4a3XJQ.js} +1 -1
  18. package/dist/{UserOptions-qo_Tsqci.js → UserOptions-wFD9vo9g.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-hill.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-label.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-BR4imuKV.js → dom-to-png-DdqmzDdY.js} +1 -1
  91. package/dist/exposedLib-BBtjpydc.js +28 -0
  92. package/dist/{img-BkMKbWsI.js → img-W50sC9SC.js} +1 -1
  93. package/dist/{labelUtils-BXX2NzRe.js → labelUtils-Dvm-7rse.js} +1 -1
  94. package/dist/{lib-Dql7cqyA.js → lib-DOpaUOQx.js} +191 -88
  95. package/dist/{package-B10eQN5L.js → package-Cmcke8zR.js} +1 -1
  96. package/dist/{pdf-BSOs_GZz.js → pdf-zGbDDpCi.js} +1 -1
  97. package/dist/{render-common-CZ6-MONw.js → render-common-CG1wuHZY.js} +16 -16
  98. package/dist/ssr/vue-ui-donut.js +1 -1
  99. package/dist/ssr/vue-ui-xy.js +1 -1
  100. package/dist/ssr.js +2 -2
  101. package/dist/style.css +1 -1
  102. package/dist/types/vue-data-ui.d.ts +6 -0
  103. package/dist/{useConfig-D32D002m.js → useConfig-C2uy4ltq.js} +2 -0
  104. package/dist/{useNestedProp-Chvyfpl-.js → useNestedProp-Bux0f4iY.js} +1 -1
  105. package/dist/{useObjectBindings-Cd_WuYIn.js → useObjectBindings-CEuNiBIT.js} +1 -1
  106. package/dist/{usePrinter-hohanNCX.js → usePrinter-BBBooAGP.js} +2 -2
  107. package/dist/utils.js +13 -13
  108. package/dist/{vue-data-ui-zJ1rNxIN.js → vue-data-ui-BVzA0tEV.js} +70 -70
  109. package/dist/vue-data-ui.js +75 -75
  110. package/dist/{vue-ui-3d-bar-CKTAkCAN.js → vue-ui-3d-bar-Ckauu3d4.js} +536 -536
  111. package/dist/{vue-ui-accordion-DmkL8A59.js → vue-ui-accordion-yHZMJLaY.js} +4 -4
  112. package/dist/vue-ui-age-pyramid-BczIt1-U.js +1305 -0
  113. package/dist/{vue-ui-annotator-BLYRy--7.js → vue-ui-annotator-BGB6K6u0.js} +60 -60
  114. package/dist/{vue-ui-bullet-Ck398xn8.js → vue-ui-bullet-BoTsLccZ.js} +84 -84
  115. package/dist/{vue-ui-bump-DyA47yse.js → vue-ui-bump-B5ztSSQO.js} +105 -105
  116. package/dist/{vue-ui-candlestick-DCavjk1j.js → vue-ui-candlestick-BJtdA4Yu.js} +98 -98
  117. package/dist/vue-ui-carousel-table-D-3KSWok.js +467 -0
  118. package/dist/vue-ui-chestnut-W2l-W0_e.js +2016 -0
  119. package/dist/{vue-ui-chord-GgA7QFUH.js → vue-ui-chord-BFPQsMj8.js} +63 -63
  120. package/dist/{vue-ui-circle-pack-BUXTVdy3.js → vue-ui-circle-pack-BtPc1BR3.js} +50 -50
  121. package/dist/{vue-ui-cursor-CEejESe_.js → vue-ui-cursor-CpNOiwkt.js} +61 -61
  122. package/dist/{vue-ui-dag-C1c6scxC.js → vue-ui-dag-i-zPwLcN.js} +44 -44
  123. package/dist/{vue-ui-dashboard-BZBJM7dN.js → vue-ui-dashboard-DtaW9a2P.js} +70 -70
  124. package/dist/{vue-ui-digits-CsougDlU.js → vue-ui-digits-BIlec9af.js} +4 -4
  125. package/dist/{vue-ui-donut-lBgSYKgO.js → vue-ui-donut-Bgf-n95J.js} +551 -551
  126. package/dist/{vue-ui-donut-Be9jKelz.js → vue-ui-donut-CJlBEyxu.js} +203 -203
  127. package/dist/vue-ui-donut-evolution-C0BKntfL.js +1552 -0
  128. package/dist/{vue-ui-dumbbell-CwmA5x9G.js → vue-ui-dumbbell-C112YLkC.js} +87 -87
  129. package/dist/{vue-ui-flow-CRhh8SSN.js → vue-ui-flow-j4bDg9Zd.js} +99 -99
  130. package/dist/{vue-ui-funnel-DH1hW8Gw.js → vue-ui-funnel-CVHpfBCW.js} +40 -40
  131. package/dist/vue-ui-galaxy-ChGpUWh8.js +1097 -0
  132. package/dist/{vue-ui-gauge-CV4-Rn7K.js → vue-ui-gauge-Cp00vXfG.js} +190 -190
  133. package/dist/{vue-ui-geo-BocLrguL.js → vue-ui-geo-B4hDk5NO.js} +12 -12
  134. package/dist/{vue-ui-gizmo-6wKlI5PC.js → vue-ui-gizmo-D6nCCsS4.js} +54 -54
  135. package/dist/vue-ui-heatmap-scVJc1cw.js +1606 -0
  136. package/dist/{vue-ui-hill-CeIZZFf5.js → vue-ui-hill-DnYUHGAK.js} +21 -21
  137. package/dist/vue-ui-history-plot-C5qAMaaW.js +1710 -0
  138. package/dist/{vue-ui-horizontal-bar-D2aw-8tx.js → vue-ui-horizontal-bar-nEG4uvpv.js} +85 -85
  139. package/dist/{vue-ui-kpi-BQ967gzv.js → vue-ui-kpi-DOxId6xg.js} +12 -12
  140. package/dist/{vue-ui-label-Cs4ZlAqr.js → vue-ui-label-BDKY7BI7.js} +4 -4
  141. package/dist/{vue-ui-mini-loader-wGeACd-Y.js → vue-ui-mini-loader-BknVs9VJ.js} +3 -3
  142. package/dist/vue-ui-molecule-_x232mMu.js +941 -0
  143. package/dist/vue-ui-mood-radar-D-F4855V.js +1111 -0
  144. package/dist/{vue-ui-nested-donuts-DT2zkLx2.js → vue-ui-nested-donuts-0E5IllFW.js} +481 -481
  145. package/dist/vue-ui-onion-Eip0S1H7.js +1247 -0
  146. package/dist/vue-ui-parallel-coordinate-plot-DO0sQdJw.js +1444 -0
  147. package/dist/vue-ui-quadrant-CA0ClWfL.js +1979 -0
  148. package/dist/{vue-ui-quick-chart-CkPu6GMh.js → vue-ui-quick-chart-D-VuAoll.js} +169 -169
  149. package/dist/vue-ui-radar-BTD7Y0Ps.js +1386 -0
  150. package/dist/vue-ui-rating-C_Qj6gnP.js +359 -0
  151. package/dist/vue-ui-relation-circle-CcxLBVFV.js +905 -0
  152. package/dist/vue-ui-ridgeline-BZrzbbhb.js +1630 -0
  153. package/dist/{vue-ui-rings-CBtHZ5Pp.js → vue-ui-rings-CO48GOP2.js} +78 -78
  154. package/dist/{vue-ui-scatter-DzePsQEe.js → vue-ui-scatter-DrxUgZbQ.js} +136 -136
  155. package/dist/{vue-ui-skeleton-C347nFnE.js → vue-ui-skeleton-CeKjW4MX.js} +510 -510
  156. package/dist/{vue-ui-smiley-BIjAIpJ9.js → vue-ui-smiley-BvRwx69s.js} +6 -6
  157. package/dist/{vue-ui-spark-trend-Di_7Da43.js → vue-ui-spark-trend-DnujGRyt.js} +96 -96
  158. package/dist/{vue-ui-sparkbar-CbJ-fKc6.js → vue-ui-sparkbar-Cd_uhYGD.js} +113 -113
  159. package/dist/vue-ui-sparkgauge-hT31YEtt.js +268 -0
  160. package/dist/vue-ui-sparkhistogram-PKlTYhKA.js +589 -0
  161. package/dist/vue-ui-sparkline-BSu1uRvP.js +1610 -0
  162. package/dist/{vue-ui-sparkstackbar-IM_l98X-.js → vue-ui-sparkstackbar-R0ij2vi1.js} +183 -183
  163. package/dist/vue-ui-stackbar-BrzzkGFk.js +2369 -0
  164. package/dist/vue-ui-stackline-zEX3gR3y.js +2483 -0
  165. package/dist/{vue-ui-strip-plot-CVV0t6mb.js → vue-ui-strip-plot-DR3N56rS.js} +253 -253
  166. package/dist/{vue-ui-table-nAGCIZKg.js → vue-ui-table-Bg6BeLrf.js} +117 -117
  167. package/dist/{vue-ui-table-heatmap-D5F5bLx5.js → vue-ui-table-heatmap-C1b1Pcp8.js} +95 -95
  168. package/dist/vue-ui-table-sparkline-CkVXyequ.js +738 -0
  169. package/dist/{vue-ui-thermometer-Ccr2ZnzI.js → vue-ui-thermometer-CqkaMF7Z.js} +23 -23
  170. package/dist/{vue-ui-timer-DkW-P6EG.js → vue-ui-timer-CgJvNwBv.js} +13 -13
  171. package/dist/{vue-ui-tiremarks-Bf2anKLr.js → vue-ui-tiremarks-B078YJ9M.js} +30 -30
  172. package/dist/{vue-ui-treemap-Wy61KlkN.js → vue-ui-treemap-Cfjf8mDl.js} +77 -77
  173. package/dist/vue-ui-waffle-BZIcPa0l.js +1633 -0
  174. package/dist/{vue-ui-wheel-DGhu_B8n.js → vue-ui-wheel-CPTm8AHn.js} +185 -185
  175. package/dist/{vue-ui-word-cloud-CdRMst8U.js → vue-ui-word-cloud-DnGblUwj.js} +46 -46
  176. package/dist/{vue-ui-world-Bc4hMzzB.js → vue-ui-world-KkcpeKqp.js} +133 -133
  177. package/dist/vue-ui-xy-C6lVqZnx.js +5367 -0
  178. package/dist/{vue-ui-xy-CbgQs7yW.js → vue-ui-xy-ClCV7xA5.js} +169 -169
  179. package/dist/{vue-ui-xy-canvas-R2xbgDOy.js → vue-ui-xy-canvas-BlpCbXKR.js} +435 -435
  180. package/package.json +1 -1
  181. package/dist/exposedLib-CG3aXJ-v.js +0 -28
  182. package/dist/vue-ui-age-pyramid-SpPactMh.js +0 -1305
  183. package/dist/vue-ui-carousel-table-DCnVD0BJ.js +0 -467
  184. package/dist/vue-ui-chestnut-BDBdizBp.js +0 -2016
  185. package/dist/vue-ui-donut-evolution-vLMhwz4K.js +0 -1552
  186. package/dist/vue-ui-galaxy-CiqILfxR.js +0 -1097
  187. package/dist/vue-ui-heatmap-DGXXRsr4.js +0 -1606
  188. package/dist/vue-ui-history-plot-CporPpg9.js +0 -1710
  189. package/dist/vue-ui-molecule-CvDC9Ht5.js +0 -941
  190. package/dist/vue-ui-mood-radar-BK1va5-H.js +0 -1111
  191. package/dist/vue-ui-onion-DPMikBzZ.js +0 -1247
  192. package/dist/vue-ui-parallel-coordinate-plot-DMPxUL3p.js +0 -1444
  193. package/dist/vue-ui-quadrant-DFkIeJXo.js +0 -1979
  194. package/dist/vue-ui-radar-B3OOLJal.js +0 -1386
  195. package/dist/vue-ui-rating-Criq0ofQ.js +0 -359
  196. package/dist/vue-ui-relation-circle-I6e5UxgY.js +0 -905
  197. package/dist/vue-ui-ridgeline-FmmdCdy9.js +0 -1630
  198. package/dist/vue-ui-sparkgauge-Bb9-yFTb.js +0 -268
  199. package/dist/vue-ui-sparkhistogram-kbbbDVul.js +0 -589
  200. package/dist/vue-ui-sparkline-BF0Fdo6v.js +0 -1587
  201. package/dist/vue-ui-stackbar-CaEXVeo5.js +0 -2369
  202. package/dist/vue-ui-stackline-MgvhcBfm.js +0 -2483
  203. package/dist/vue-ui-table-sparkline-Bf2hjBwq.js +0 -738
  204. package/dist/vue-ui-waffle-CkIFp-AN.js +0 -1633
  205. package/dist/vue-ui-xy-DybWfQrI.js +0 -5298
@@ -1,40 +1,40 @@
1
- import { A as e, B as t, G as n, H as r, Ht as i, I as a, L as o, Lt as s, N as c, P as l, S as u, U as d, Ut as f, V as p, Wt as m, X as h, Yt as g, Zt as _, _ as v, bt as y, c as b, ft as x, i as S, k as C, l as ee, o as te, q as ne, rt as w, t as T, v as E } from "./lib-Dql7cqyA.js";
2
- import { t as D } from "./useTimeLabels-d2f-W1L4.js";
3
- import { t as O } from "./useConfig-D32D002m.js";
1
+ import { $ as e, $t as t, A as n, Ct as r, G as i, I as a, J as o, Jt as s, Kt as c, L as l, N as u, P as d, S as f, U as p, V as m, Vt as h, W as g, X as _, _ as v, c as y, ht as b, i as x, k as S, l as C, o as ee, ot as te, qt as w, t as T, tn as E, v as D } from "./lib-DOpaUOQx.js";
2
+ import { t as O } from "./useTimeLabels-d2f-W1L4.js";
3
+ import { t as ne } from "./useConfig-C2uy4ltq.js";
4
4
  import { t as re } 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 ie, m as ae, p as P, u as F, v as I } from "./render-common-CZ6-MONw.js";
5
+ import { _ as k, d as A, f as j, g as M, h as N, l as ie, m as ae, p as P, u as F, v as I } from "./render-common-CG1wuHZY.js";
6
6
  //#region src/svg/vue-ui-xy/create.js
7
- var { vue_ui_xy: L } = O();
8
- function oe({ config: e = {}, dataset: t = [] } = {}) {
9
- let n = e ?? {}, r = _({
10
- userConfig: n,
7
+ var { vue_ui_xy: L } = ne();
8
+ function oe({ config: e = {}, dataset: n = [] } = {}) {
9
+ let i = e ?? {}, a = E({
10
+ userConfig: i,
11
11
  defaultConfig: L
12
12
  });
13
- y(n, "chart.highlightArea") && (Array.isArray(n.chart.highlightArea) ? r.chart.highlightArea = n.chart.highlightArea.map((e) => _({
13
+ r(i, "chart.highlightArea") && (Array.isArray(i.chart.highlightArea) ? a.chart.highlightArea = i.chart.highlightArea.map((e) => E({
14
14
  defaultConfig: L.chart.highlightArea,
15
15
  userConfig: e
16
- })) : r.chart.highlightArea = [_({
16
+ })) : a.chart.highlightArea = [E({
17
17
  defaultConfig: L.chart.highlightArea,
18
- userConfig: n.chart.highlightArea
19
- })]), y(n, "chart.annotations") && Array.isArray(n.chart.annotations) && n.chart.annotations.length ? r.chart.annotations = n.chart.annotations.map((e) => _({
18
+ userConfig: i.chart.highlightArea
19
+ })]), r(i, "chart.annotations") && Array.isArray(i.chart.annotations) && i.chart.annotations.length ? a.chart.annotations = i.chart.annotations.map((e) => E({
20
20
  defaultConfig: L.chart.annotations[0],
21
21
  userConfig: e
22
- })) : r.chart.annotations = [], y(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 : s
22
+ })) : a.chart.annotations = [], r(i, "chart.grid.position") && i.chart.grid.position === "start" && n.some((e) => e.type === "bar") && (a.chart.grid.position = "middle");
23
+ let o = a.theme;
24
+ if (!o) return {
25
+ ...a,
26
+ customPalette: a.customPalette?.length ? a.customPalette : h
27
27
  };
28
- let a = _({
29
- userConfig: re[i] || {},
30
- defaultConfig: r
31
- }), o = _({
32
- userConfig: n,
28
+ let s = E({
29
+ userConfig: re[o] || {},
33
30
  defaultConfig: a
31
+ }), c = E({
32
+ userConfig: i,
33
+ defaultConfig: s
34
34
  });
35
35
  return {
36
- ...o,
37
- customPalette: o.customPalette?.length ? o.customPalette : g[i] || s
36
+ ...c,
37
+ customPalette: c.customPalette?.length ? c.customPalette : t[o] || h
38
38
  };
39
39
  }
40
40
  function R(e) {
@@ -61,40 +61,40 @@ function ue({ xValue: e, xScale: t, drawingArea: n, config: r }) {
61
61
  return n.left + n.width * a;
62
62
  }
63
63
  function de({ dataset: e = [], config: t = {}, width: n = 1e3, height: r = 600, selectedXIndex: i, additionalSvgContent: a = "", svgTitle: o = "" } = {}) {
64
- let c = oe({
64
+ let s = oe({
65
65
  config: t,
66
66
  dataset: e
67
- }), l = {
68
- top: c.chart.padding.top,
69
- left: c.chart.padding.left,
70
- right: n - c.chart.padding.right,
71
- bottom: r - c.chart.padding.bottom
67
+ }), c = {
68
+ top: s.chart.padding.top,
69
+ left: s.chart.padding.left,
70
+ right: n - s.chart.padding.right,
71
+ bottom: r - s.chart.padding.bottom
72
72
  };
73
- l.width = l.right - l.left, l.height = l.bottom - l.top;
74
- let d = e.flatMap((e) => Array.isArray(e.series) ? e.series.map((e) => Number(typeof e == "object" && e ? e.y : e)) : []).filter(Number.isFinite), f = Math.min(0, ...d), p = Math.max(1, ...d), m = v(f, p, 6), h = e.some((e) => Array.isArray(e.series) ? e.series.some(R) : !1), g = h ? le({
73
+ c.width = c.right - c.left, c.height = c.bottom - c.top;
74
+ let l = e.flatMap((e) => Array.isArray(e.series) ? e.series.map((e) => Number(typeof e == "object" && e ? e.y : e)) : []).filter(Number.isFinite), u = Math.min(0, ...l), d = Math.max(1, ...l), p = v(u, d, 6), m = e.some((e) => Array.isArray(e.series) ? e.series.some(R) : !1), g = m ? le({
75
75
  dataset: e,
76
- config: c
77
- }) : null, _ = Math.max(0, ...e.map((e) => e.series?.length || 0)), y = (e) => _ <= 1 ? l.left + l.width / 2 : l.left + e / (_ - 1) * l.width, b = (e, t) => h ? R(e) ? ue({
76
+ config: s
77
+ }) : null, _ = Math.max(0, ...e.map((e) => e.series?.length || 0)), y = (e) => _ <= 1 ? c.left + c.width / 2 : c.left + e / (_ - 1) * c.width, b = (e, t) => m ? R(e) ? ue({
78
78
  xValue: e.x,
79
79
  xScale: g,
80
- drawingArea: l,
81
- config: c
80
+ drawingArea: c,
81
+ config: s
82
82
  }) : null : y(t), x = (e) => {
83
- let t = (Number(e) - m.min) / (m.max - m.min || 1);
84
- return l.bottom - t * l.height;
85
- }, S = Array.isArray(c.customPalette) ? c.customPalette : [], C = S.length ? S : s;
83
+ let t = (Number(e) - p.min) / (p.max - p.min || 1);
84
+ return c.bottom - t * c.height;
85
+ }, S = Array.isArray(s.customPalette) ? s.customPalette : [], C = S.length ? S : h;
86
86
  return {
87
87
  width: n,
88
88
  height: r,
89
89
  selectedXIndex: i,
90
90
  dataset: e,
91
- config: c,
92
- drawingArea: l,
93
- scale: m,
91
+ config: s,
92
+ drawingArea: c,
93
+ scale: p,
94
94
  xScale: g,
95
- isContinuous: h,
95
+ isContinuous: m,
96
96
  series: e.map((e, t) => {
97
- let n = (e.color ? u(e.color) : "") || C[t % C.length], r = (e.series || []).map((e, t) => {
97
+ let n = (e.color ? f(e.color) : "") || C[t % C.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: b(e, t),
@@ -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 ye = ne();
186
+ var ye = _();
187
187
  function W(e) {
188
188
  return ye;
189
189
  }
@@ -208,7 +208,7 @@ function we(e, t, n) {
208
208
  }
209
209
  function Te(e, t, n) {
210
210
  let { config: r } = e;
211
- return P(r, "line.area.useGradient", !1) ? `url(#${it(e, n)})` : f(t.color, k(P(r, "line.area.opacity", 30), 30));
211
+ return P(r, "line.area.useGradient", !1) ? `url(#${it(e, n)})` : w(t.color, k(P(r, "line.area.opacity", 30), 30));
212
212
  }
213
213
  function K(e, t, n, r) {
214
214
  return P(e.config, "bar.useGradient", !1) ? r >= 0 ? `url(#${G(e, n, "pos")})` : `url(#${G(e, n, "neg")})` : t.color;
@@ -223,15 +223,15 @@ function Ee(e, t) {
223
223
  }, [
224
224
  A("stop", {
225
225
  offset: "0%",
226
- "stop-color": u(t.color)
226
+ "stop-color": f(t.color)
227
227
  }),
228
228
  A("stop", {
229
229
  offset: "62%",
230
- "stop-color": m(u(t.color), .02)
230
+ "stop-color": s(f(t.color), .02)
231
231
  }),
232
232
  A("stop", {
233
233
  offset: "100%",
234
- "stop-color": m(u(t.color), .05)
234
+ "stop-color": s(f(t.color), .05)
235
235
  })
236
236
  ].join(""))), r.push(F("linearGradient", {
237
237
  id: G(e, n, "neg"),
@@ -240,20 +240,20 @@ function Ee(e, t) {
240
240
  }, [
241
241
  A("stop", {
242
242
  offset: "0%",
243
- "stop-color": m(u(t.color), .05)
243
+ "stop-color": s(f(t.color), .05)
244
244
  }),
245
245
  A("stop", {
246
246
  offset: "38%",
247
- "stop-color": m(u(t.color), .02)
247
+ "stop-color": s(f(t.color), .02)
248
248
  }),
249
249
  A("stop", {
250
250
  offset: "100%",
251
- "stop-color": u(t.color)
251
+ "stop-color": f(t.color)
252
252
  })
253
253
  ].join("")));
254
- }), t.filter((e) => e.type === "line").forEach((t, a) => {
254
+ }), t.filter((e) => e.type === "line").forEach((t, i) => {
255
255
  P(n, "line.useGradient", !1) && r.push(F("radialGradient", {
256
- id: be(e, a),
256
+ id: be(e, i),
257
257
  cx: "50%",
258
258
  cy: "50%",
259
259
  r: "50%",
@@ -261,16 +261,16 @@ function Ee(e, t) {
261
261
  fy: "50%"
262
262
  }, [A("stop", {
263
263
  offset: "0%",
264
- "stop-color": m(u(t.color), .05)
264
+ "stop-color": s(f(t.color), .05)
265
265
  }), A("stop", {
266
266
  offset: "100%",
267
- "stop-color": u(t.color)
267
+ "stop-color": f(t.color)
268
268
  })].join(""))), t.temperatureColors && !t.isFlatTemperatureLine && r.push(F("linearGradient", {
269
- id: xe(e, a),
269
+ id: xe(e, i),
270
270
  gradientTransform: "rotate(90)"
271
271
  }, t.temperatureColors.map((e, n) => A("stop", {
272
- offset: i(n, t.temperatureColors.length),
273
- "stop-color": u(e)
272
+ offset: c(n, t.temperatureColors.length),
273
+ "stop-color": f(e)
274
274
  })).join("")));
275
275
  }), t.filter((e) => e.type === "plot").forEach((t, i) => {
276
276
  P(n, "plot.useGradient", !1) && r.push(F("radialGradient", {
@@ -282,10 +282,10 @@ function Ee(e, t) {
282
282
  fy: "50%"
283
283
  }, [A("stop", {
284
284
  offset: "0%",
285
- "stop-color": m(u(t.color), .05)
285
+ "stop-color": s(f(t.color), .05)
286
286
  }), A("stop", {
287
287
  offset: "100%",
288
- "stop-color": u(t.color)
288
+ "stop-color": f(t.color)
289
289
  })].join("")));
290
290
  }), r.length ? F("defs", { "data-layer": "gradients" }, r.join("")) : "";
291
291
  }
@@ -307,14 +307,14 @@ function q(e) {
307
307
  function J(e) {
308
308
  return P(e, "chart.grid.labels.yAxis.position", "left") === "right";
309
309
  }
310
- function Oe(e, t) {
311
- let n = h({
312
- p: P(t, "chart.labels.prefix", ""),
313
- v: e,
314
- s: P(t, "chart.labels.suffix", ""),
315
- r: P(t, "chart.grid.labels.yAxis.rounding", 0)
310
+ function Oe(t, n) {
311
+ let r = e({
312
+ p: P(n, "chart.labels.prefix", ""),
313
+ v: t,
314
+ s: P(n, "chart.labels.suffix", ""),
315
+ r: P(n, "chart.grid.labels.yAxis.rounding", 0)
316
316
  });
317
- return S(P(t, "chart.grid.labels.yAxis.formatter", null), e, n, t);
317
+ return x(P(n, "chart.grid.labels.yAxis.formatter", null), t, r, n);
318
318
  }
319
319
  function Y(e) {
320
320
  return !!P(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 ke(e, t, n, r) {
326
- return P(e, "chart.grid.labels.yAxis.useNiceScale", !0) ? v(t, n, r) : E(t, n, r);
326
+ return P(e, "chart.grid.labels.yAxis.useNiceScale", !0) ? v(t, n, r) : D(t, n, r);
327
327
  }
328
328
  function Ae(e, t) {
329
329
  let n = M(t.plots).map((e) => Number(e.value)).filter(Number.isFinite), r = P(e, "chart.grid.labels.yAxis.scaleMin", null), i = P(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,39 +361,39 @@ function Me(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 = P(n, "chart.grid.labels.axis.xLabel", ""), m = P(n, "chart.grid.labels.xAxisLabels.show", !0) ? o.xAxis * 2 : 0, h = (p ? o.yAxis * 1.5 : 0) + m + o.xAxis, g = _t(n) + k(P(n, "chart.labels.fontSize", 12), 12) * 1.1, _ = k(P(n, "chart.padding.top", 12), 12), v = k(P(n, "chart.padding.right", 12), 12), y = k(P(n, "chart.padding.bottom", 12), 12), b = k(P(n, "chart.padding.left", 12), 12), x = k(P(n, "chart.grid.labels.axis.xLabelOffsetY", 0), 0), S = k(P(n, "chart.grid.labels.yAxis.crosshairSize", 0), 0), C = s.left, ee = s.right, ne = i - C - ee - 6 - b - v, w = {
364
+ }, t) : { height: 0 }, d = l && c === "top" ? u.height : 0, f = l && c !== "top" ? u.height : 0, p = P(n, "chart.grid.labels.axis.xLabel", ""), m = P(n, "chart.grid.labels.xAxisLabels.show", !0) ? o.xAxis * 2 : 0, h = (p ? o.yAxis * 1.5 : 0) + m + o.xAxis, g = _t(n) + k(P(n, "chart.labels.fontSize", 12), 12) * 1.1, _ = k(P(n, "chart.padding.top", 12), 12), v = k(P(n, "chart.padding.right", 12), 12), y = k(P(n, "chart.padding.bottom", 12), 12), b = k(P(n, "chart.padding.left", 12), 12), x = k(P(n, "chart.grid.labels.axis.xLabelOffsetY", 0), 0), S = k(P(n, "chart.grid.labels.yAxis.crosshairSize", 0), 0), C = s.left, te = s.right, w = i - C - te - 6 - b - v, T = {
365
365
  top: _ + g + d,
366
- right: C + (J(n) ? 0 : S) + b + ne,
366
+ right: C + (J(n) ? 0 : S) + b + w,
367
367
  bottom: a - h - y - x - f,
368
368
  left: C + (J(n) ? 0 : S) + b,
369
- width: Math.max(1, ne),
369
+ width: Math.max(1, w),
370
370
  height: 1,
371
371
  scaleLabelX: C,
372
- rightScaleLabelX: ee,
372
+ rightScaleLabelX: te,
373
373
  scaleLabelsOffset: s.scaleLabelsOffset,
374
374
  yAxisLabelWidth: s.yAxisLabelWidth,
375
375
  individualOffsetX: 36
376
376
  };
377
- w.height = Math.max(1, w.bottom - w.top);
378
- let T = Y(n), E = T ? te(t) : t, D = Math.max(1, E.length), O = T ? k(P(n, "chart.grid.labels.yAxis.gap", 12), 12) : 0, re = O * Math.max(0, D - 1), A = Math.max(1, w.height - re), j = z(n), N = he(n, t), ie = Math.max(1, ...t.map((e) => M(e.plots).length));
377
+ T.height = Math.max(1, T.bottom - T.top);
378
+ let E = Y(n), D = E ? ee(t) : t, O = Math.max(1, D.length), ne = E ? k(P(n, "chart.grid.labels.yAxis.gap", 12), 12) : 0, re = ne * Math.max(0, O - 1), A = Math.max(1, T.height - re), j = z(n), N = he(n, t), ie = Math.max(1, ...t.map((e) => M(e.plots).length));
379
379
  function ae(t, n) {
380
380
  if (Z(e)) {
381
381
  let n = Number(t.rawX);
382
382
  return Number.isFinite(n) ? Ge({
383
383
  ...e,
384
- drawingArea: w
384
+ drawingArea: T
385
385
  }, n) : null;
386
386
  }
387
387
  return Q({
388
388
  ...e,
389
- drawingArea: w
389
+ drawingArea: T
390
390
  }, t.index ?? n, ie);
391
391
  }
392
392
  let F = t.map((e, t) => {
393
- let i = e.id !== void 0 && e.id !== null ? E.find((t) => t.id === e.id) ?? E[t] ?? e : E[t] ?? e, a = ge(n, e, N, r, j, T), o = k(i.stackIndex, t), s = k(i.stackRatio, 1 / D), c = k(i.cumulatedStackRatio, s * (o + 1)), l = D - 1 - o, u = T ? 1 - c : 0, d = T ? A * u + O * l : 0, f = T ? A * s : w.height;
393
+ let i = e.id !== void 0 && e.id !== null ? D.find((t) => t.id === e.id) ?? D[t] ?? e : D[t] ?? e, a = ge(n, e, N, r, j, E), o = k(i.stackIndex, t), s = k(i.stackRatio, 1 / O), c = k(i.cumulatedStackRatio, s * (o + 1)), l = O - 1 - o, u = E ? 1 - c : 0, d = E ? A * u + ne * l : 0, f = E ? A * s : T.height;
394
394
  function p(e) {
395
395
  let t = (e - a.min) / (a.max - a.min || 1);
396
- return w.bottom - d - t * f;
396
+ return T.bottom - d - t * f;
397
397
  }
398
398
  let m = p(0);
399
399
  return {
@@ -420,7 +420,7 @@ function Me(e, t) {
420
420
  });
421
421
  return {
422
422
  ...e,
423
- drawingArea: w,
423
+ drawingArea: T,
424
424
  series: F,
425
425
  __scaleGroups: N,
426
426
  __useIndividualScale: j
@@ -707,15 +707,15 @@ function Ge(e, t) {
707
707
  let { drawingArea: n, config: r } = e, i = We(e), a = (Number(t) - i.min) / (i.max - i.min || 1), o = P(r, "chart.grid.labels.xAxis.reverse", !1) ? 1 - a : a;
708
708
  return n.left + n.width * o;
709
709
  }
710
- function Ke(e, t, n) {
711
- let { config: r } = e, i = h({
712
- v: t,
713
- p: P(r, "chart.labels.prefix", ""),
714
- s: P(r, "chart.labels.suffix", ""),
715
- r: P(r, "chart.grid.labels.xAxis.rounding", 0)
710
+ function Ke(t, n, r) {
711
+ let { config: i } = t, a = e({
712
+ v: n,
713
+ p: P(i, "chart.labels.prefix", ""),
714
+ s: P(i, "chart.labels.suffix", ""),
715
+ r: P(i, "chart.grid.labels.xAxis.rounding", 0)
716
716
  });
717
- return S(P(r, "chart.grid.labels.xAxis.formatter", null), t, i, {
718
- datapoint: t,
717
+ return x(P(i, "chart.grid.labels.xAxis.formatter", null), n, a, {
718
+ datapoint: n,
719
719
  seriesIndex: null
720
720
  });
721
721
  }
@@ -736,7 +736,7 @@ function Q(e, t, n) {
736
736
  }
737
737
  async function Je(e, t) {
738
738
  let { config: n } = e, r = Math.max(0, ...t.map((e) => M(e.plots).length));
739
- return await D({
739
+ return await O({
740
740
  values: P(n, "chart.grid.labels.xAxisLabels.values", []),
741
741
  maxDatapoints: r,
742
742
  formatter: P(n, "chart.grid.labels.xAxisLabels.datetimeFormatter", null),
@@ -745,22 +745,22 @@ async function Je(e, t) {
745
745
  });
746
746
  }
747
747
  async function Ye(e, t) {
748
- let { config: n } = e, r = P(n, "chart.grid.labels.xAxisLabels", {}), i = M(P(n, "chart.grid.labels.xAxisLabels.values", [])), a = Math.max(0, ...t.map((e) => M(e.plots).length)), o = e.slotStartIndex !== void 0 || e.startAbs !== void 0, s = e.slotEndIndex !== void 0 || e.endAbs !== void 0, c = o || s, l = Math.max(0, Math.floor(k(e.slotStartIndex ?? e.startAbs, 0))), u = Math.max(l, Math.floor(k(e.slotEndIndex ?? e.endAbs, l + a))), d = await Je(e, t), f = c ? Math.max(a, i.length, u) : a, p = await D({
748
+ let { config: n } = e, r = P(n, "chart.grid.labels.xAxisLabels", {}), i = M(P(n, "chart.grid.labels.xAxisLabels.values", [])), a = Math.max(0, ...t.map((e) => M(e.plots).length)), o = e.slotStartIndex !== void 0 || e.startAbs !== void 0, s = e.slotEndIndex !== void 0 || e.endAbs !== void 0, c = o || s, l = Math.max(0, Math.floor(k(e.slotStartIndex ?? e.startAbs, 0))), u = Math.max(l, Math.floor(k(e.slotEndIndex ?? e.endAbs, l + a))), d = await Je(e, t), f = c ? Math.max(a, i.length, u) : a, p = await O({
749
749
  values: i,
750
750
  maxDatapoints: f,
751
751
  formatter: P(n, "chart.grid.labels.xAxisLabels.datetimeFormatter", null),
752
752
  start: 0,
753
753
  end: f
754
- }), m = d.map((e) => e?.text ?? ""), h = p.map((e) => e?.text ?? ""), g = Math.max(1, Math.floor(k(r.modulo, 1))), _ = p.length || f, v = x({
754
+ }), m = d.map((e) => e?.text ?? ""), h = p.map((e) => e?.text ?? ""), g = Math.max(1, Math.floor(k(r.modulo, 1))), _ = p.length || f, v = b({
755
755
  configuredModulo: g,
756
756
  visibleTexts: m,
757
757
  allTexts: h,
758
758
  startAbs: l,
759
759
  isZoomed: c && _ > 0 && (l > 0 || u < _)
760
- }), y = b(!!r.showOnlyFirstAndLast, !!r.showOnlyAtModulo, v, m, h, l, e.selectedXIndex ?? null, m.length);
761
- if (!r.showFirstAndLast || r.showOnlyFirstAndLast || !y.length) return y;
762
- let S = y.length - 1;
763
- return y.map((e, t) => t !== 0 && t !== S ? e : {
760
+ }), x = y(!!r.showOnlyFirstAndLast, !!r.showOnlyAtModulo, v, m, h, l, e.selectedXIndex ?? null, m.length);
761
+ if (!r.showFirstAndLast || r.showOnlyFirstAndLast || !x.length) return x;
762
+ let S = x.length - 1;
763
+ return x.map((e, t) => t !== 0 && t !== S ? e : {
764
764
  ...e,
765
765
  text: m[t] ?? ""
766
766
  });
@@ -773,44 +773,44 @@ function Ze(e, t, n, r) {
773
773
  }
774
774
  function Qe(e) {
775
775
  let t = e.userConfig ?? e.sourceConfig ?? e.props?.config ?? {};
776
- return y(t, "chart.grid.labels.xAxisLabels.rotation") ? k(P(e.config, "chart.grid.labels.xAxisLabels.rotation", 0), 0) : P(e.config, "chart.grid.labels.xAxisLabels.autoRotate.enable", !1) ? k(P(e.config, "chart.grid.labels.xAxisLabels.autoRotate.angle", 0), 0) : k(P(e.config, "chart.grid.labels.xAxisLabels.rotation", 0), 0);
776
+ return r(t, "chart.grid.labels.xAxisLabels.rotation") ? k(P(e.config, "chart.grid.labels.xAxisLabels.rotation", 0), 0) : P(e.config, "chart.grid.labels.xAxisLabels.autoRotate.enable", !1) ? k(P(e.config, "chart.grid.labels.xAxisLabels.autoRotate.angle", 0), 0) : k(P(e.config, "chart.grid.labels.xAxisLabels.rotation", 0), 0);
777
777
  }
778
778
  async function $e(e, t) {
779
- let { config: r, drawingArea: i } = e;
780
- if (!t[0] || !P(r, "chart.grid.labels.xAxisLabels.show", !0)) return "";
781
- P(r, "chart.grid.labels.xAxisLabels", {});
782
- let a = k(P(r, "chart.grid.labels.xAxisLabels.fontSize", 12), 12), o = P(r, "chart.grid.labels.xAxisLabels.color", P(r, "chart.grid.labels.color", "#2A2A2A")), s = Qe(e), c = Math.max(1, t[0].plots.length), l = await Xe(e, t), u = s > 0 ? "start" : s < 0 ? "end" : "middle", d = l.map((t, l) => {
779
+ let { config: n, drawingArea: r } = e;
780
+ if (!t[0] || !P(n, "chart.grid.labels.xAxisLabels.show", !0)) return "";
781
+ P(n, "chart.grid.labels.xAxisLabels", {});
782
+ let i = k(P(n, "chart.grid.labels.xAxisLabels.fontSize", 12), 12), a = P(n, "chart.grid.labels.xAxisLabels.color", P(n, "chart.grid.labels.color", "#2A2A2A")), s = Qe(e), c = Math.max(1, t[0].plots.length), l = await Xe(e, t), u = s > 0 ? "start" : s < 0 ? "end" : "middle", d = l.map((t, l) => {
783
783
  let d = typeof t == "string" ? t : t?.text;
784
784
  if (!d) return "";
785
- let f = `translate(${Ze(e, t, l, c)}, ${i.bottom + a * 1.5}), rotate(${s})`;
785
+ let f = `translate(${Ze(e, t, l, c)}, ${r.bottom + i * 1.5}), rotate(${s})`;
786
786
  return String(d).includes("\n") ? F("text", {
787
787
  class: "vue-data-ui-time-label",
788
788
  "data-cy": "time-label",
789
789
  "text-anchor": u,
790
- "font-size": a,
791
- stroke: P(r, "chart.backgroundColor", "#FFFFFF"),
790
+ "font-size": i,
791
+ stroke: P(n, "chart.backgroundColor", "#FFFFFF"),
792
792
  "stroke-linecap": "round",
793
793
  "stroke-linejoin": "round",
794
794
  "paint-order": "stroke fill",
795
- fill: o,
795
+ fill: a,
796
796
  transform: f
797
- }, n({
797
+ }, o({
798
798
  content: String(d),
799
- fontSize: a,
800
- fill: o,
801
- stroke: P(r, "chart.backgroundColor", "#FFFFFF"),
799
+ fontSize: i,
800
+ fill: a,
801
+ stroke: P(n, "chart.backgroundColor", "#FFFFFF"),
802
802
  x: 0,
803
803
  y: 0
804
804
  })) : I(d, {
805
805
  class: "vue-data-ui-time-label",
806
806
  "data-cy": "time-label",
807
807
  "text-anchor": u,
808
- "font-size": a,
809
- stroke: P(r, "chart.backgroundColor", "#FFFFFF"),
808
+ "font-size": i,
809
+ stroke: P(n, "chart.backgroundColor", "#FFFFFF"),
810
810
  "stroke-linecap": "round",
811
811
  "stroke-linejoin": "round",
812
812
  "paint-order": "stroke fill",
813
- fill: o,
813
+ fill: a,
814
814
  transform: f
815
815
  });
816
816
  }).join("");
@@ -916,7 +916,7 @@ function at(e, t) {
916
916
  y2: "100%"
917
917
  }, [A("stop", {
918
918
  offset: "0%",
919
- "stop-color": f(m(u(t.color), .03), r),
919
+ "stop-color": w(s(f(t.color), .03), r),
920
920
  "stop-opacity": 1
921
921
  }), A("stop", {
922
922
  offset: "100%",
@@ -925,30 +925,30 @@ function at(e, t) {
925
925
  })].join(""))).join("");
926
926
  return i ? F("defs", {}, i) : "";
927
927
  }
928
- function ot(n, r) {
929
- let { config: i } = n, a = !!P(i, "line.cutNullValues", !1), o = [];
930
- return r.filter((e) => e.type === "line" && e.useArea).forEach((r, i) => {
931
- let s = M(r.plots), l = s.filter((e) => e && e.value !== null);
932
- if (l.length < 2) return;
933
- let u = Number.isFinite(Number(r.__zeroY)) ? Number(r.__zeroY) : U(n), d = Te(n, r, i);
934
- if (r.smooth && !r.useStepper) {
935
- c(a ? s : l, u, a).forEach((e) => {
936
- e && o.push(A("path", {
928
+ function ot(e, t) {
929
+ let { config: r } = e, i = !!P(r, "line.cutNullValues", !1), a = [];
930
+ return t.filter((e) => e.type === "line" && e.useArea).forEach((t, r) => {
931
+ let o = M(t.plots), s = o.filter((e) => e && e.value !== null);
932
+ if (s.length < 2) return;
933
+ let c = Number.isFinite(Number(t.__zeroY)) ? Number(t.__zeroY) : U(e), l = Te(e, t, r);
934
+ if (t.smooth && !t.useStepper) {
935
+ u(i ? o : s, c, i).forEach((e) => {
936
+ e && a.push(A("path", {
937
937
  d: e,
938
- fill: d,
938
+ fill: l,
939
939
  "data-cy": "datapoint-line-area-smooth"
940
940
  }));
941
941
  });
942
942
  return;
943
943
  }
944
- (r.useStepper ? t(a ? s : l, u) : a ? e(s, u) : C(l, u)).split(";").filter(Boolean).forEach((e) => {
945
- o.push(A("path", {
944
+ (t.useStepper ? m(i ? o : s, c) : i ? n(o, c) : S(s, c)).split(";").filter(Boolean).forEach((e) => {
945
+ a.push(A("path", {
946
946
  d: `M${e}Z`,
947
- fill: d,
947
+ fill: l,
948
948
  "data-cy": "datapoint-line-area-straight"
949
949
  }));
950
950
  });
951
- }), F("g", { "data-layer": "line-areas" }, o.join(""));
951
+ }), F("g", { "data-layer": "line-areas" }, a.join(""));
952
952
  }
953
953
  function st(e, t) {
954
954
  let n = k(t.slotStartIndex ?? t.startAbs, 0);
@@ -966,23 +966,23 @@ function ct(e, t, n, r, i) {
966
966
  "stroke-dasharray": i ? o * 2 : 0
967
967
  });
968
968
  }
969
- function lt(e, n) {
970
- let { config: i } = e, s = n.filter((e) => e.type === "line"), c = !!P(i, "line.cutNullValues", !1), u = [];
971
- return s.forEach((n, s) => {
972
- let f = c ? M(n.plots) : M(n.plots).filter((e) => e.value !== null), m = f.filter((e) => e.value !== null);
973
- if (!(m.length < 2)) {
974
- if (M(n.dashIndices).length > 0 && !n.useStepper) {
975
- let t = st(n, e);
976
- (n.smooth || P(i, "line.smooth", !1) ? o(f, t) : d(f, t)).forEach((t) => {
977
- t?.path && u.push(ct(e, n, s, t.path, !!t.dashed));
969
+ function lt(e, t) {
970
+ let { config: n } = e, r = t.filter((e) => e.type === "line"), o = !!P(n, "line.cutNullValues", !1), s = [];
971
+ return r.forEach((t, r) => {
972
+ let c = o ? M(t.plots) : M(t.plots).filter((e) => e.value !== null), u = c.filter((e) => e.value !== null);
973
+ if (!(u.length < 2)) {
974
+ if (M(t.dashIndices).length > 0 && !t.useStepper) {
975
+ let a = st(t, e);
976
+ (t.smooth || P(n, "line.smooth", !1) ? l(c, a) : i(c, a)).forEach((n) => {
977
+ n?.path && s.push(ct(e, t, r, n.path, !!n.dashed));
978
978
  });
979
979
  return;
980
980
  }
981
- (n.useStepper ? t(f).split(";").filter(Boolean) : [n.smooth || P(i, "line.smooth", !1) ? c ? a(f) : l(m) : c ? r(f) : p(m, !1, !0)]).forEach((t) => {
982
- t && u.push(ct(e, n, s, t, !!n.dashed));
981
+ (t.useStepper ? m(c).split(";").filter(Boolean) : [t.smooth || P(n, "line.smooth", !1) ? o ? a(c) : d(u) : o ? g(c) : p(u, !1, !0)]).forEach((n) => {
982
+ n && s.push(ct(e, t, r, n, !!t.dashed));
983
983
  });
984
984
  }
985
- }), F("g", { "data-layer": "lines" }, u.join(""));
985
+ }), F("g", { "data-layer": "lines" }, s.join(""));
986
986
  }
987
987
  function ut(e, t, n) {
988
988
  let { config: r } = e;
@@ -1059,7 +1059,7 @@ function gt(e, t) {
1059
1059
  let i = o.find((e) => e.name === n), u = o.find((e) => e.name === r);
1060
1060
  if (!i || !u) return;
1061
1061
  let d = a?.[t]?.[0] ?? i.color, f = a?.[t]?.[1] ?? u.color;
1062
- ee({
1062
+ C({
1063
1063
  lineA: M(i.plots),
1064
1064
  lineB: M(u.plots),
1065
1065
  smoothA: !!i.smooth,
@@ -1117,23 +1117,23 @@ function yt(e) {
1117
1117
  function bt(e, t, n, r, i) {
1118
1118
  return !n || n.value === null || n.value === void 0 || !Number.isFinite(Number(n.value)) || !P(e.config, "dataLabels.show", !0) || !P(e.config, `${i}.labels.show`, !1) ? !1 : !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 || e.selectedSerieIndex === r || e.selectedMinimapIndex === r;
1119
1119
  }
1120
- function xt(e, t, r, i) {
1121
- let { config: a } = e, o = k(P(a, `${i}.labels.fontSize`, P(a, "chart.labels.fontSize", 12)), 12), s = P(a, `${i}.labels.color`, P(a, "chart.color", "#2A2A2A")), c = h({
1122
- p: t.prefix || P(a, "chart.labels.prefix", ""),
1120
+ function xt(t, n, r, i) {
1121
+ let { config: a } = t, s = k(P(a, `${i}.labels.fontSize`, P(a, "chart.labels.fontSize", 12)), 12), c = P(a, `${i}.labels.color`, P(a, "chart.color", "#2A2A2A")), l = e({
1122
+ p: n.prefix || P(a, "chart.labels.prefix", ""),
1123
1123
  v: r.value,
1124
- s: t.suffix || P(a, "chart.labels.suffix", ""),
1124
+ s: n.suffix || P(a, "chart.labels.suffix", ""),
1125
1125
  r: P(a, `${i}.labels.rounding`, 0)
1126
- }), l = Z(e) && Number.isFinite(Number(r.x)) ? `x: ${h({
1126
+ }), u = Z(t) && Number.isFinite(Number(r.x)) ? `x: ${e({
1127
1127
  v: r.x,
1128
1128
  r: P(a, "chart.grid.labels.xAxis.rounding", 0)
1129
- })}\ny: ${c}` : S(P(a, `${i}.labels.formatter`, null), r.value, c, {
1129
+ })}\ny: ${l}` : x(P(a, `${i}.labels.formatter`, null), r.value, l, {
1130
1130
  datapoint: r,
1131
- serie: t
1131
+ serie: n
1132
1132
  });
1133
- return n({
1134
- content: l,
1135
- fontSize: o,
1136
- fill: s,
1133
+ return o({
1134
+ content: u,
1135
+ fontSize: s,
1136
+ fill: c,
1137
1137
  x: 0,
1138
1138
  y: 0
1139
1139
  });
@@ -1210,7 +1210,7 @@ function jt(e, t, n, r, i, a) {
1210
1210
  `color:${s.color || "#2A2A2A"}`,
1211
1211
  `font-weight:${s.bold ? "bold" : "normal"}`
1212
1212
  ].join(";")
1213
- }, w(s.text)));
1213
+ }, te(s.text)));
1214
1214
  }
1215
1215
  function Mt(e, t) {
1216
1216
  let { config: n, drawingArea: r } = e, i = M(P(n, "chart.highlightArea", []));
@@ -1230,7 +1230,7 @@ function Mt(e, t) {
1230
1230
  y: r.top,
1231
1231
  width: At(e, a),
1232
1232
  height: Math.max(1, r.height),
1233
- fill: f(t.color, k(t.opacity, 20)),
1233
+ fill: w(t.color, k(t.opacity, 20)),
1234
1234
  "pointer-events": "none"
1235
1235
  }));
1236
1236
  }
@@ -1267,44 +1267,44 @@ function It(e) {
1267
1267
  if (!r.length) return "";
1268
1268
  let i = [];
1269
1269
  return r.forEach((t, r) => {
1270
- 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 = Nt(e, l), m = Nt(e, u), h = Number.isFinite(p), g = Number.isFinite(m);
1271
- if (!h && !g) return;
1272
- let _ = [];
1273
- if (h && _.push(A("line", {
1270
+ 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 = Nt(e, l), p = Nt(e, u), m = Number.isFinite(f), h = Number.isFinite(p);
1271
+ if (!m && !h) return;
1272
+ let g = [];
1273
+ if (m && g.push(A("line", {
1274
1274
  x1: n.left,
1275
- y1: p,
1275
+ y1: f,
1276
1276
  x2: n.right,
1277
- y2: p,
1277
+ y2: f,
1278
1278
  stroke: s.stroke,
1279
1279
  "stroke-width": s.strokeWidth,
1280
1280
  "stroke-dasharray": s.strokeDasharray,
1281
1281
  "stroke-linecap": "round",
1282
1282
  "data-cy": "xy-annotation-y-top-line"
1283
- })), g && _.push(A("line", {
1283
+ })), h && g.push(A("line", {
1284
1284
  x1: n.left,
1285
- y1: m,
1285
+ y1: p,
1286
1286
  x2: n.right,
1287
- y2: m,
1287
+ y2: p,
1288
1288
  stroke: s.stroke,
1289
1289
  "stroke-width": s.strokeWidth,
1290
1290
  "stroke-dasharray": s.strokeDasharray,
1291
1291
  "stroke-linecap": "round",
1292
1292
  "data-cy": "xy-annotation-y-bottom-line"
1293
- })), d && h && g && _.push(A("rect", {
1293
+ })), d && m && h && g.push(A("rect", {
1294
1294
  x: n.left,
1295
- y: Math.min(p, m),
1295
+ y: Math.min(f, p),
1296
1296
  width: n.width,
1297
- height: Math.abs(p - m),
1298
- fill: f(c.fill, k(c.opacity, 20)),
1297
+ height: Math.abs(f - p),
1298
+ fill: w(c.fill, k(c.opacity, 20)),
1299
1299
  "data-cy": "xy-annotation-y-area",
1300
1300
  "pointer-events": "none"
1301
1301
  })), o.text) {
1302
- 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 = Ft(o, r, i);
1303
- Number.isFinite(a.y) && Number.isFinite(i) && (_.push(A("rect", {
1302
+ 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 = Ft(o, r, i);
1303
+ Number.isFinite(a.y) && Number.isFinite(i) && (g.push(A("rect", {
1304
1304
  class: "vue-ui-xy-annotation-label-box",
1305
1305
  ...a,
1306
1306
  "data-cy": "xy-annotation-label-box"
1307
- })), _.push(I(o.text, {
1307
+ })), g.push(I(o.text, {
1308
1308
  class: "vue-ui-xy-annotation-label",
1309
1309
  x: r,
1310
1310
  y: i,
@@ -1317,7 +1317,7 @@ function It(e) {
1317
1317
  i.push(F("g", {
1318
1318
  "data-layer": "annotation",
1319
1319
  "data-key": `annotation_y_${r}`
1320
- }, _.join("")));
1320
+ }, g.join("")));
1321
1321
  }), i.length ? F("g", { "data-layer": "annotations" }, i.join("")) : "";
1322
1322
  }
1323
1323
  function Lt(e, t) {