vue-data-ui 3.23.10 → 3.23.11

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 (200) hide show
  1. package/README.md +40 -40
  2. package/dist/{Arrow-bwmME0jw.js → Arrow-DrF4NNJO.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DBVHlhQZ.js → BaseDraggableDialog-Dr_Q6Yt5.js} +2 -2
  4. package/dist/{BaseIcon-B4n7br_R.js → BaseIcon-BbElSC8_.js} +1 -1
  5. package/dist/{BaseLegendToggle-wRhcG_-q.js → BaseLegendToggle-CtEdLr4R.js} +1 -1
  6. package/dist/{BaseZoomControls-BZjzzyQo.js → BaseZoomControls-Cvq4UmNG.js} +2 -2
  7. package/dist/{ColorPicker-B9kUMLSz.js → ColorPicker-ChOgAmCi.js} +2 -2
  8. package/dist/{DataTable-DMsScfkx.js → DataTable-CmyEubtT.js} +2 -2
  9. package/dist/{HillActions-IWPfuceW.js → HillActions-3HneGJhS.js} +1 -1
  10. package/dist/{Legend-DWEFXq9E.js → Legend-BJtY2RA9.js} +2 -2
  11. package/dist/{NonSvgPenAndPaper-Crs4-xWz.js → NonSvgPenAndPaper-DmxzHJtV.js} +3 -3
  12. package/dist/{PackageVersion-DNTJUKh1.js → PackageVersion-C0b7KAMa.js} +1 -1
  13. package/dist/{PenAndPaper-DJ607Hx6.js → PenAndPaper-CIa1F5Jq.js} +3 -3
  14. package/dist/{Shape-BAhF1ToV.js → Shape-BAL5bQmA.js} +1 -1
  15. package/dist/{SlicerPreview-sXtk2ZZ2.js → SlicerPreview-BRRyc1p7.js} +426 -426
  16. package/dist/{SparkTooltip-BE50SZQH.js → SparkTooltip-Bou05CV_.js} +1 -1
  17. package/dist/{Title-BGLPsoA9.js → Title-CaVA8EIw.js} +1 -1
  18. package/dist/{Tooltip-DO4-MVhc.js → Tooltip-CVxJe3UW.js} +1 -1
  19. package/dist/{UserOptions-HQyukyl2.js → UserOptions-WH7-49V0.js} +2 -2
  20. package/dist/components/arrow.js +1 -1
  21. package/dist/components/vue-ui-3d-bar.js +1 -1
  22. package/dist/components/vue-ui-accordion.js +1 -1
  23. package/dist/components/vue-ui-age-pyramid.js +1 -1
  24. package/dist/components/vue-ui-annotator.js +1 -1
  25. package/dist/components/vue-ui-bullet.js +1 -1
  26. package/dist/components/vue-ui-bump.js +1 -1
  27. package/dist/components/vue-ui-candlestick.js +1 -1
  28. package/dist/components/vue-ui-carousel-table.js +1 -1
  29. package/dist/components/vue-ui-chestnut.js +1 -1
  30. package/dist/components/vue-ui-chord.js +1 -1
  31. package/dist/components/vue-ui-circle-pack.js +1 -1
  32. package/dist/components/vue-ui-cursor.js +1 -1
  33. package/dist/components/vue-ui-dag.js +1 -1
  34. package/dist/components/vue-ui-dashboard.js +1 -1
  35. package/dist/components/vue-ui-digits.js +1 -1
  36. package/dist/components/vue-ui-donut-evolution.js +1 -1
  37. package/dist/components/vue-ui-donut.js +1 -1
  38. package/dist/components/vue-ui-dumbbell.js +1 -1
  39. package/dist/components/vue-ui-flow.js +1 -1
  40. package/dist/components/vue-ui-funnel.js +1 -1
  41. package/dist/components/vue-ui-galaxy.js +1 -1
  42. package/dist/components/vue-ui-gauge.js +1 -1
  43. package/dist/components/vue-ui-geo.js +1 -1
  44. package/dist/components/vue-ui-gizmo.js +1 -1
  45. package/dist/components/vue-ui-heatmap.js +1 -1
  46. package/dist/components/vue-ui-hill.js +1 -1
  47. package/dist/components/vue-ui-history-plot.js +1 -1
  48. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  49. package/dist/components/vue-ui-icon.js +1 -1
  50. package/dist/components/vue-ui-kpi.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-Cg_3vpOo.js → dom-to-png-COvyU2SG.js} +1 -1
  91. package/dist/exposedLib-DrUEXSyf.js +28 -0
  92. package/dist/{img-tU9mMt9W.js → img-Bkzj3lDD.js} +1 -1
  93. package/dist/{labelUtils-C_lMnQRs.js → labelUtils-iX76cA2-.js} +1 -1
  94. package/dist/{lib-AT2PUyyh.js → lib-Dqr_-I6Y.js} +165 -162
  95. package/dist/{package-enC-Nivt.js → package-D7_0M69J.js} +1 -1
  96. package/dist/{pdf-ColHHJFH.js → pdf-Bk_9lTdQ.js} +1 -1
  97. package/dist/{render-common-CqcoYfCA.js → render-common-B0f5NTO9.js} +12 -12
  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 +13 -2
  103. package/dist/types/vue-ui-dag.d.ts +2 -0
  104. package/dist/{useNestedProp-CW0vJS1B.js → useNestedProp-CulPqtou.js} +1 -1
  105. package/dist/{usePrinter-BFS7d6eb.js → usePrinter-CEiH1b6R.js} +2 -2
  106. package/dist/utils.js +9 -9
  107. package/dist/{vue-data-ui-DD7J3yor.js → vue-data-ui-BlZHZHoH.js} +69 -69
  108. package/dist/vue-data-ui.js +73 -73
  109. package/dist/vue-ui-3d-bar-CtT2BovY.js +1829 -0
  110. package/dist/{vue-ui-accordion-DJNjilyy.js → vue-ui-accordion-C6L7glHU.js} +3 -3
  111. package/dist/{vue-ui-age-pyramid-DI8b5E2H.js → vue-ui-age-pyramid-BhGNgnLB.js} +27 -27
  112. package/dist/{vue-ui-annotator-7ZVfFskI.js → vue-ui-annotator-BwIu0JUV.js} +9 -9
  113. package/dist/vue-ui-bullet-BI7KJyJx.js +700 -0
  114. package/dist/{vue-ui-bump-DzB3WQnq.js → vue-ui-bump-BCQ97z1G.js} +237 -237
  115. package/dist/{vue-ui-candlestick--YWEtek_.js → vue-ui-candlestick-Cs7I5MQS.js} +245 -245
  116. package/dist/{vue-ui-carousel-table-Dn3RZU0p.js → vue-ui-carousel-table-CDjAjc4b.js} +108 -108
  117. package/dist/{vue-ui-chestnut-BIsXeXiU.js → vue-ui-chestnut-d6GxjfcP.js} +86 -86
  118. package/dist/vue-ui-chord-BuConnPN.js +1345 -0
  119. package/dist/vue-ui-circle-pack-CmxANHap.js +1633 -0
  120. package/dist/{vue-ui-cursor-C-P2D5i6.js → vue-ui-cursor-CQcnZYBv.js} +3 -3
  121. package/dist/{vue-ui-dag-CThnMMWA.js → vue-ui-dag-DKUZN-aQ.js} +923 -885
  122. package/dist/{vue-ui-dashboard-D0NNTRO3.js → vue-ui-dashboard-ciI4wMe6.js} +69 -69
  123. package/dist/{vue-ui-digits-9tGjGzZh.js → vue-ui-digits-DWf1vzYE.js} +3 -3
  124. package/dist/{vue-ui-donut-DLN9uPOi.js → vue-ui-donut-CvCViwSI.js} +64 -64
  125. package/dist/{vue-ui-donut-EZu8p7HF.js → vue-ui-donut-DZTtuFAG.js} +85 -85
  126. package/dist/{vue-ui-donut-evolution-mu-iGTIn.js → vue-ui-donut-evolution-BvZX3Gi8.js} +347 -347
  127. package/dist/{vue-ui-dumbbell-Dvldi3Oo.js → vue-ui-dumbbell-BZywCpHd.js} +229 -229
  128. package/dist/vue-ui-flow-D5jcKr_S.js +1214 -0
  129. package/dist/vue-ui-funnel-7zX5QnQx.js +747 -0
  130. package/dist/{vue-ui-galaxy-D6eYN8Ut.js → vue-ui-galaxy-BuGd-Ojm.js} +64 -64
  131. package/dist/vue-ui-gauge-BlDQIpBk.js +932 -0
  132. package/dist/{vue-ui-geo-CQqNemR6.js → vue-ui-geo-PWGZw4Un.js} +34 -34
  133. package/dist/{vue-ui-gizmo-ClunTUxX.js → vue-ui-gizmo-CTxB3PAl.js} +10 -10
  134. package/dist/{vue-ui-heatmap-B_pSQNzO.js → vue-ui-heatmap-sFF5IbM8.js} +472 -472
  135. package/dist/{vue-ui-hill-Byp0Tnny.js → vue-ui-hill-DO3r2s-i.js} +10 -10
  136. package/dist/vue-ui-history-plot-Cj-Olvhn.js +1695 -0
  137. package/dist/vue-ui-horizontal-bar-B34aYuDZ.js +1708 -0
  138. package/dist/{vue-ui-kpi-BKw5t-rX.js → vue-ui-kpi-Co6y1YlE.js} +3 -3
  139. package/dist/{vue-ui-mini-loader-BNm0MQDw.js → vue-ui-mini-loader-BVSIAFYi.js} +2 -2
  140. package/dist/{vue-ui-molecule-DRwQV5hN.js → vue-ui-molecule-ERAB4YzZ.js} +176 -176
  141. package/dist/{vue-ui-mood-radar-Bj3KTWYj.js → vue-ui-mood-radar-BPp7L6OP.js} +20 -20
  142. package/dist/{vue-ui-nested-donuts-83Wh2w6z.js → vue-ui-nested-donuts-CX5ut2yp.js} +104 -104
  143. package/dist/vue-ui-onion-CWYJTUCq.js +1233 -0
  144. package/dist/vue-ui-parallel-coordinate-plot-DJrV-dVt.js +1430 -0
  145. package/dist/{vue-ui-quadrant-_J-Qr7-K.js → vue-ui-quadrant-wj8Up03L.js} +32 -32
  146. package/dist/{vue-ui-quick-chart-DcOUq4ym.js → vue-ui-quick-chart-CPYdScHL.js} +153 -153
  147. package/dist/{vue-ui-radar-FlRlsoAd.js → vue-ui-radar-D3gLQcI5.js} +41 -41
  148. package/dist/{vue-ui-rating-eCxEZD8C.js → vue-ui-rating-dBCk6ECe.js} +26 -26
  149. package/dist/vue-ui-relation-circle-DeNBOPjz.js +903 -0
  150. package/dist/vue-ui-ridgeline-DQcZJ_hv.js +1614 -0
  151. package/dist/vue-ui-rings-CF9NfFW2.js +1250 -0
  152. package/dist/vue-ui-scatter-U_xxKOte.js +2403 -0
  153. package/dist/{vue-ui-skeleton-CNOam3kC.js → vue-ui-skeleton-GA4wzjXV.js} +3 -3
  154. package/dist/{vue-ui-smiley-YdyidjBH.js → vue-ui-smiley-D1pW2Fdy.js} +23 -23
  155. package/dist/{vue-ui-spark-trend-CS5GLtYL.js → vue-ui-spark-trend-BXRGMn5-.js} +23 -23
  156. package/dist/{vue-ui-sparkbar-DDHwgP4k.js → vue-ui-sparkbar-96D0eR-o.js} +24 -24
  157. package/dist/{vue-ui-sparkgauge-BcQu9V3h.js → vue-ui-sparkgauge-BWBek2u2.js} +61 -61
  158. package/dist/{vue-ui-sparkhistogram-CPsA5P6c.js → vue-ui-sparkhistogram-Cqs068RX.js} +15 -15
  159. package/dist/vue-ui-sparkline-B8cyY_P1.js +1584 -0
  160. package/dist/{vue-ui-sparkstackbar-4tsTxMe2.js → vue-ui-sparkstackbar-C0BkLc2b.js} +207 -207
  161. package/dist/vue-ui-stackbar-DtsOc7B_.js +2332 -0
  162. package/dist/{vue-ui-stackline-BNCWO_jG.js → vue-ui-stackline-MSs0pdhE.js} +605 -605
  163. package/dist/{vue-ui-strip-plot-2Y1c02Ek.js → vue-ui-strip-plot-Df-TomML.js} +57 -57
  164. package/dist/vue-ui-table-BKSRQGVK.js +1352 -0
  165. package/dist/{vue-ui-table-heatmap-BacaEjQy.js → vue-ui-table-heatmap-CglQqfWH.js} +84 -84
  166. package/dist/{vue-ui-table-sparkline-B8oAU5yr.js → vue-ui-table-sparkline-B7Dh-fN2.js} +11 -11
  167. package/dist/vue-ui-thermometer-DXuLn8NC.js +756 -0
  168. package/dist/{vue-ui-timer-CWZgSpP8.js → vue-ui-timer-orCjVwS4.js} +12 -12
  169. package/dist/{vue-ui-tiremarks-LLVCPyg9.js → vue-ui-tiremarks-DNoQ6Fl2.js} +12 -12
  170. package/dist/{vue-ui-treemap-ehBl9JMC.js → vue-ui-treemap-90_Clj0e.js} +44 -44
  171. package/dist/vue-ui-waffle-BSQXyJ1S.js +1610 -0
  172. package/dist/{vue-ui-wheel-C4OHPrtC.js → vue-ui-wheel-CfU0Nnn0.js} +28 -28
  173. package/dist/{vue-ui-word-cloud-CDHn3Kwa.js → vue-ui-word-cloud-AgMvmPlI.js} +32 -32
  174. package/dist/{vue-ui-world-ao1xf04I.js → vue-ui-world-D0Z9B6M2.js} +116 -116
  175. package/dist/{vue-ui-xy-_U3wmtCf.js → vue-ui-xy-5Te2TfRK.js} +304 -304
  176. package/dist/vue-ui-xy-canvas-BHpBO5dS.js +1823 -0
  177. package/dist/{vue-ui-xy-DmJDCl3c.js → vue-ui-xy-ua_mFu_a.js} +99 -99
  178. package/package.json +1 -1
  179. package/dist/exposedLib-vfRiIvq_.js +0 -28
  180. package/dist/vue-ui-3d-bar-DgrcdAgz.js +0 -1829
  181. package/dist/vue-ui-bullet-Dyd5F1Wa.js +0 -700
  182. package/dist/vue-ui-chord-BimXqVsF.js +0 -1345
  183. package/dist/vue-ui-circle-pack-DKQEhL-L.js +0 -1633
  184. package/dist/vue-ui-flow-DYZBT5Cb.js +0 -1214
  185. package/dist/vue-ui-funnel--NaxO0cZ.js +0 -747
  186. package/dist/vue-ui-gauge-DTIEl2Xb.js +0 -932
  187. package/dist/vue-ui-history-plot-CMu8ST1E.js +0 -1695
  188. package/dist/vue-ui-horizontal-bar-BQn7WxQ-.js +0 -1708
  189. package/dist/vue-ui-onion-C27GpneA.js +0 -1233
  190. package/dist/vue-ui-parallel-coordinate-plot-BklOszr1.js +0 -1430
  191. package/dist/vue-ui-relation-circle-DnsxHv7t.js +0 -903
  192. package/dist/vue-ui-ridgeline-TopTLyaE.js +0 -1614
  193. package/dist/vue-ui-rings-obVfb09j.js +0 -1250
  194. package/dist/vue-ui-scatter-BHSuA506.js +0 -2403
  195. package/dist/vue-ui-sparkline-CnbO-GkM.js +0 -1584
  196. package/dist/vue-ui-stackbar-2_SrMFNT.js +0 -2332
  197. package/dist/vue-ui-table-DJZxHo5N.js +0 -1352
  198. package/dist/vue-ui-thermometer-BGtxNU9T.js +0 -756
  199. package/dist/vue-ui-waffle-DpBAXbhh.js +0 -1610
  200. package/dist/vue-ui-xy-canvas-Bx-9y53V.js +0 -1823
@@ -1,40 +1,40 @@
1
- import { A as e, B as t, Bt as n, G as r, H as i, I as a, Jt as o, Kt as s, L as c, N as l, P as u, Pt as d, S as f, U as p, V as m, Vt as h, X as g, _, c as v, i as y, k as b, l as x, nt as S, o as ee, q as C, t as w, v as te, vt as T, zt as E } from "./lib-AT2PUyyh.js";
1
+ import { A as e, B as t, G as n, H as r, Ht as i, I as a, It as o, Jt as s, L as c, N as l, P as u, S as d, U as f, Ut as p, V as m, Vt as h, X as g, Xt as _, _ as v, c as y, i as b, k as x, l as S, o as ee, q as C, rt as w, t as te, v as T, yt as E } from "./lib-Dqr_-I6Y.js";
2
2
  import { t as D } from "./useTimeLabels-d2f-W1L4.js";
3
3
  import { t as O } from "./useConfig-DwdGsXTx.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-CqcoYfCA.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-B0f5NTO9.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 = o({
9
+ let n = e ?? {}, r = _({
10
10
  userConfig: n,
11
11
  defaultConfig: z
12
12
  });
13
- T(n, "chart.highlightArea") && (Array.isArray(n.chart.highlightArea) ? r.chart.highlightArea = n.chart.highlightArea.map((e) => o({
13
+ E(n, "chart.highlightArea") && (Array.isArray(n.chart.highlightArea) ? r.chart.highlightArea = n.chart.highlightArea.map((e) => _({
14
14
  defaultConfig: z.chart.highlightArea,
15
15
  userConfig: e
16
- })) : r.chart.highlightArea = [o({
16
+ })) : r.chart.highlightArea = [_({
17
17
  defaultConfig: z.chart.highlightArea,
18
18
  userConfig: n.chart.highlightArea
19
- })]), T(n, "chart.annotations") && Array.isArray(n.chart.annotations) && n.chart.annotations.length ? r.chart.annotations = n.chart.annotations.map((e) => o({
19
+ })]), E(n, "chart.annotations") && Array.isArray(n.chart.annotations) && n.chart.annotations.length ? r.chart.annotations = n.chart.annotations.map((e) => _({
20
20
  defaultConfig: z.chart.annotations[0],
21
21
  userConfig: e
22
- })) : r.chart.annotations = [], T(n, "chart.grid.position") && n.chart.grid.position === "start" && t.some((e) => e.type === "bar") && (r.chart.grid.position = "middle");
22
+ })) : r.chart.annotations = [], E(n, "chart.grid.position") && n.chart.grid.position === "start" && t.some((e) => e.type === "bar") && (r.chart.grid.position = "middle");
23
23
  let i = r.theme;
24
24
  if (!i) return {
25
25
  ...r,
26
- customPalette: r.customPalette?.length ? r.customPalette : d
26
+ customPalette: r.customPalette?.length ? r.customPalette : o
27
27
  };
28
- let a = o({
28
+ let a = _({
29
29
  userConfig: ne[i] || {},
30
30
  defaultConfig: r
31
- }), c = o({
31
+ }), c = _({
32
32
  userConfig: n,
33
33
  defaultConfig: a
34
34
  });
35
35
  return {
36
36
  ...c,
37
- customPalette: c.customPalette?.length ? c.customPalette : s[i] || d
37
+ customPalette: c.customPalette?.length ? c.customPalette : s[i] || o
38
38
  };
39
39
  }
40
40
  function B(e) {
@@ -54,47 +54,47 @@ 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), s = a === o ? a - 1 : a, c = a === o ? o + 1 : o, l = Number.isFinite(Number(t?.chart?.grid?.labels?.xAxis?.scaleSteps)) ? Number(t.chart.grid.labels.xAxis.scaleSteps) : 6;
57
- return _(s, c, l);
57
+ return v(s, c, l);
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;
61
61
  return n.left + n.width * a;
62
62
  }
63
- function ce({ dataset: e = [], config: t = {}, width: n = 1e3, height: r = 600, selectedXIndex: i, additionalSvgContent: a = "", svgTitle: o = "" } = {}) {
64
- let s = re({
63
+ function ce({ dataset: e = [], config: t = {}, width: n = 1e3, height: r = 600, selectedXIndex: i, additionalSvgContent: a = "", svgTitle: s = "" } = {}) {
64
+ let c = re({
65
65
  config: t,
66
66
  dataset: e
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
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
72
72
  };
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), p = Math.max(1, ...l), m = _(u, p, 6), h = e.some((e) => Array.isArray(e.series) ? e.series.some(B) : !1), g = h ? oe({
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), f = Math.min(0, ...u), p = Math.max(1, ...u), m = v(f, p, 6), h = e.some((e) => Array.isArray(e.series) ? e.series.some(B) : !1), g = h ? oe({
75
75
  dataset: e,
76
- config: s
77
- }) : null, v = Math.max(0, ...e.map((e) => e.series?.length || 0)), y = (e) => v <= 1 ? c.left + c.width / 2 : c.left + e / (v - 1) * c.width, b = (e, t) => h ? B(e) ? se({
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 ? B(e) ? se({
78
78
  xValue: e.x,
79
79
  xScale: g,
80
- drawingArea: c,
81
- config: s
80
+ drawingArea: l,
81
+ config: c
82
82
  }) : null : y(t), x = (e) => {
83
83
  let t = (Number(e) - m.min) / (m.max - m.min || 1);
84
- return c.bottom - t * c.height;
85
- }, S = Array.isArray(s.customPalette) ? s.customPalette : [], ee = S.length ? S : d;
84
+ return l.bottom - t * l.height;
85
+ }, S = Array.isArray(c.customPalette) ? c.customPalette : [], ee = S.length ? S : o;
86
86
  return {
87
87
  width: n,
88
88
  height: r,
89
89
  selectedXIndex: i,
90
90
  dataset: e,
91
- config: s,
92
- drawingArea: c,
91
+ config: c,
92
+ drawingArea: l,
93
93
  scale: m,
94
94
  xScale: g,
95
95
  isContinuous: h,
96
96
  series: e.map((e, t) => {
97
- let n = (e.color ? f(e.color) : "") || ee[t % ee.length], r = (e.series || []).map((e, t) => {
97
+ let n = (e.color ? d(e.color) : "") || ee[t % ee.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),
@@ -113,7 +113,7 @@ function ce({ dataset: e = [], config: t = {}, width: n = 1e3, height: r = 600,
113
113
  };
114
114
  }),
115
115
  additionalSvgContent: a,
116
- svgTitle: o
116
+ svgTitle: s
117
117
  };
118
118
  }
119
119
  //#endregion
@@ -206,9 +206,9 @@ function Ce(e, t, n) {
206
206
  let { config: r } = e;
207
207
  return I(r, "line.useGradient", !1) ? `url(#${ye(e, n)})` : I(r, "line.dot.useSerieColor", !0) ? t.color : I(r, "line.dot.fill", "#FFFFFF");
208
208
  }
209
- function we(e, t, r) {
210
- let { config: i } = e;
211
- return I(i, "line.area.useGradient", !1) ? `url(#${rt(e, r)})` : n(t.color, k(I(i, "line.area.opacity", 30), 30));
209
+ function we(e, t, n) {
210
+ let { config: r } = e;
211
+ return I(r, "line.area.useGradient", !1) ? `url(#${rt(e, n)})` : i(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;
@@ -223,15 +223,15 @@ function Te(e, t) {
223
223
  }, [
224
224
  A("stop", {
225
225
  offset: "0%",
226
- "stop-color": f(t.color)
226
+ "stop-color": d(t.color)
227
227
  }),
228
228
  A("stop", {
229
229
  offset: "62%",
230
- "stop-color": h(f(t.color), .02)
230
+ "stop-color": p(d(t.color), .02)
231
231
  }),
232
232
  A("stop", {
233
233
  offset: "100%",
234
- "stop-color": h(f(t.color), .05)
234
+ "stop-color": p(d(t.color), .05)
235
235
  })
236
236
  ].join(""))), r.push(L("linearGradient", {
237
237
  id: G(e, n, "neg"),
@@ -240,15 +240,15 @@ function Te(e, t) {
240
240
  }, [
241
241
  A("stop", {
242
242
  offset: "0%",
243
- "stop-color": h(f(t.color), .05)
243
+ "stop-color": p(d(t.color), .05)
244
244
  }),
245
245
  A("stop", {
246
246
  offset: "38%",
247
- "stop-color": h(f(t.color), .02)
247
+ "stop-color": p(d(t.color), .02)
248
248
  }),
249
249
  A("stop", {
250
250
  offset: "100%",
251
- "stop-color": f(t.color)
251
+ "stop-color": d(t.color)
252
252
  })
253
253
  ].join("")));
254
254
  }), t.filter((e) => e.type === "line").forEach((t, i) => {
@@ -261,16 +261,16 @@ function Te(e, t) {
261
261
  fy: "50%"
262
262
  }, [A("stop", {
263
263
  offset: "0%",
264
- "stop-color": h(f(t.color), .05)
264
+ "stop-color": p(d(t.color), .05)
265
265
  }), A("stop", {
266
266
  offset: "100%",
267
- "stop-color": f(t.color)
267
+ "stop-color": d(t.color)
268
268
  })].join(""))), t.temperatureColors && !t.isFlatTemperatureLine && r.push(L("linearGradient", {
269
269
  id: be(e, i),
270
270
  gradientTransform: "rotate(90)"
271
271
  }, t.temperatureColors.map((e, n) => A("stop", {
272
- offset: E(n, t.temperatureColors.length),
273
- "stop-color": f(e)
272
+ offset: h(n, t.temperatureColors.length),
273
+ "stop-color": d(e)
274
274
  })).join("")));
275
275
  }), t.filter((e) => e.type === "plot").forEach((t, i) => {
276
276
  I(n, "plot.useGradient", !1) && r.push(L("radialGradient", {
@@ -282,10 +282,10 @@ function Te(e, t) {
282
282
  fy: "50%"
283
283
  }, [A("stop", {
284
284
  offset: "0%",
285
- "stop-color": h(f(t.color), .05)
285
+ "stop-color": p(d(t.color), .05)
286
286
  }), A("stop", {
287
287
  offset: "100%",
288
- "stop-color": f(t.color)
288
+ "stop-color": d(t.color)
289
289
  })].join("")));
290
290
  }), r.length ? L("defs", { "data-layer": "gradients" }, r.join("")) : "";
291
291
  }
@@ -314,7 +314,7 @@ function De(e, t) {
314
314
  s: I(t, "chart.labels.suffix", ""),
315
315
  r: I(t, "chart.grid.labels.yAxis.rounding", 0)
316
316
  });
317
- return y(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) ? _(t, n, r) : te(t, n, r);
326
+ return I(e, "chart.grid.labels.yAxis.useNiceScale", !0) ? v(t, n, r) : T(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);
@@ -714,7 +714,7 @@ function Ge(e, t, n) {
714
714
  s: I(r, "chart.labels.suffix", ""),
715
715
  r: I(r, "chart.grid.labels.xAxis.rounding", 0)
716
716
  });
717
- return y(I(r, "chart.grid.labels.xAxis.formatter", null), t, i, {
717
+ return b(I(r, "chart.grid.labels.xAxis.formatter", null), t, i, {
718
718
  datapoint: t,
719
719
  seriesIndex: null
720
720
  });
@@ -752,7 +752,7 @@ async function Je(e, t) {
752
752
  start: 0,
753
753
  end: i
754
754
  }), s = a.map((e) => e?.text ?? ""), c = o.map((e) => e?.text ?? ""), l = Math.min(k(r.modulo, 1), Math.max(1, new Set(s).size));
755
- return v(!!r.showOnlyFirstAndLast, !!r.showOnlyAtModulo, Math.max(1, l || 1), s, c, k(e.slotStartIndex ?? e.startAbs, 0), e.selectedXIndex ?? null, i);
755
+ return y(!!r.showOnlyFirstAndLast, !!r.showOnlyAtModulo, Math.max(1, l || 1), s, c, k(e.slotStartIndex ?? e.startAbs, 0), e.selectedXIndex ?? null, i);
756
756
  }
757
757
  async function Ye(e, t) {
758
758
  return Z(e) ? Ke(e) : await Je(e, t);
@@ -762,16 +762,16 @@ function Xe(e, t, n, r) {
762
762
  }
763
763
  function Ze(e) {
764
764
  let t = e.userConfig ?? e.sourceConfig ?? e.props?.config ?? {};
765
- return T(t, "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
+ return E(t, "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);
766
766
  }
767
767
  async function Qe(e, t) {
768
- let { config: n, drawingArea: i } = e;
769
- if (!t[0] || !I(n, "chart.grid.labels.xAxisLabels.show", !0)) return "";
770
- I(n, "chart.grid.labels.xAxisLabels", {});
771
- let a = k(I(n, "chart.grid.labels.xAxisLabels.fontSize", 12), 12), o = I(n, "chart.grid.labels.xAxisLabels.color", I(n, "chart.grid.labels.color", "#2A2A2A")), s = Ze(e), c = Math.max(1, t[0].plots.length), l = await Ye(e, t), u = s > 0 ? "start" : s < 0 ? "end" : "middle", d = l.map((t, n) => {
768
+ let { config: r, drawingArea: i } = e;
769
+ if (!t[0] || !I(r, "chart.grid.labels.xAxisLabels.show", !0)) return "";
770
+ I(r, "chart.grid.labels.xAxisLabels", {});
771
+ let a = k(I(r, "chart.grid.labels.xAxisLabels.fontSize", 12), 12), o = I(r, "chart.grid.labels.xAxisLabels.color", I(r, "chart.grid.labels.color", "#2A2A2A")), s = Ze(e), c = Math.max(1, t[0].plots.length), l = await Ye(e, t), u = s > 0 ? "start" : s < 0 ? "end" : "middle", d = l.map((t, r) => {
772
772
  let l = typeof t == "string" ? t : t?.text;
773
773
  if (!l) return "";
774
- let d = `translate(${Xe(e, t, n, c)}, ${i.bottom + a * 1.5}), rotate(${s})`;
774
+ let d = `translate(${Xe(e, t, r, c)}, ${i.bottom + a * 1.5}), rotate(${s})`;
775
775
  return String(l).includes("\n") ? L("text", {
776
776
  class: "vue-data-ui-time-label",
777
777
  "data-cy": "time-label",
@@ -779,7 +779,7 @@ async function Qe(e, t) {
779
779
  "font-size": a,
780
780
  fill: o,
781
781
  transform: d
782
- }, r({
782
+ }, n({
783
783
  content: String(l),
784
784
  fontSize: a,
785
785
  fill: o,
@@ -886,17 +886,17 @@ function rt(e, t) {
886
886
  return `areaGradient_${t}_${W()}`;
887
887
  }
888
888
  function it(e, t) {
889
- let { config: r } = e;
890
- if (!I(r, "line.area.useGradient", !1)) return "";
891
- let i = k(I(r, "line.area.opacity", 30), 30), a = t.filter((e) => e.type === "line" && e.useArea).map((t, r) => L("linearGradient", {
892
- id: rt(e, r),
889
+ let { config: n } = e;
890
+ if (!I(n, "line.area.useGradient", !1)) return "";
891
+ let r = k(I(n, "line.area.opacity", 30), 30), a = t.filter((e) => e.type === "line" && e.useArea).map((t, n) => L("linearGradient", {
892
+ id: rt(e, n),
893
893
  x1: "0%",
894
894
  x2: "0%",
895
895
  y1: "0%",
896
896
  y2: "100%"
897
897
  }, [A("stop", {
898
898
  offset: "0%",
899
- "stop-color": n(h(f(t.color), .03), i),
899
+ "stop-color": i(p(d(t.color), .03), r),
900
900
  "stop-opacity": 1
901
901
  }), A("stop", {
902
902
  offset: "100%",
@@ -921,7 +921,7 @@ function at(n, r) {
921
921
  });
922
922
  return;
923
923
  }
924
- (r.useStepper ? t(a ? s : c, u) : a ? e(s, u) : b(c, u)).split(";").filter(Boolean).forEach((e) => {
924
+ (r.useStepper ? t(a ? s : c, u) : a ? e(s, u) : x(c, u)).split(";").filter(Boolean).forEach((e) => {
925
925
  o.push(A("path", {
926
926
  d: `M${e}Z`,
927
927
  fill: d,
@@ -947,18 +947,18 @@ function st(e, t, n, r, i) {
947
947
  });
948
948
  }
949
949
  function ct(e, n) {
950
- let { config: r } = e, o = n.filter((e) => e.type === "line"), s = !!I(r, "line.cutNullValues", !1), l = [];
950
+ let { config: i } = e, o = n.filter((e) => e.type === "line"), s = !!I(i, "line.cutNullValues", !1), l = [];
951
951
  return o.forEach((n, o) => {
952
- let d = s ? M(n.plots) : M(n.plots).filter((e) => e.value !== null), f = d.filter((e) => e.value !== null);
953
- if (!(f.length < 2)) {
952
+ let d = s ? M(n.plots) : M(n.plots).filter((e) => e.value !== null), p = d.filter((e) => e.value !== null);
953
+ if (!(p.length < 2)) {
954
954
  if (M(n.dashIndices).length > 0 && !n.useStepper) {
955
955
  let t = ot(n, e);
956
- (n.smooth || I(r, "line.smooth", !1) ? c(d, t) : p(d, t)).forEach((t) => {
956
+ (n.smooth || I(i, "line.smooth", !1) ? c(d, t) : f(d, t)).forEach((t) => {
957
957
  t?.path && l.push(st(e, n, o, t.path, !!t.dashed));
958
958
  });
959
959
  return;
960
960
  }
961
- (n.useStepper ? t(d).split(";").filter(Boolean) : [n.smooth || I(r, "line.smooth", !1) ? s ? a(d) : u(f) : s ? i(d) : m(f, !1, !0)]).forEach((t) => {
961
+ (n.useStepper ? t(d).split(";").filter(Boolean) : [n.smooth || I(i, "line.smooth", !1) ? s ? a(d) : u(p) : s ? r(d) : m(p, !1, !0)]).forEach((t) => {
962
962
  t && l.push(st(e, n, o, t, !!n.dashed));
963
963
  });
964
964
  }
@@ -1039,7 +1039,7 @@ function ht(e, t) {
1039
1039
  let i = o.find((e) => e.name === n), u = o.find((e) => e.name === r);
1040
1040
  if (!i || !u) return;
1041
1041
  let d = a?.[t]?.[0] ?? i.color, f = a?.[t]?.[1] ?? u.color;
1042
- x({
1042
+ S({
1043
1043
  lineA: M(i.plots),
1044
1044
  lineB: M(u.plots),
1045
1045
  smoothA: !!i.smooth,
@@ -1097,20 +1097,20 @@ function vt(e) {
1097
1097
  function yt(e, t, n, r, i) {
1098
1098
  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;
1099
1099
  }
1100
- function bt(e, t, n, i) {
1100
+ function bt(e, t, r, i) {
1101
1101
  let { config: a } = e, o = k(I(a, `${i}.labels.fontSize`, I(a, "chart.labels.fontSize", 12)), 12), s = I(a, `${i}.labels.color`, I(a, "chart.color", "#2A2A2A")), c = g({
1102
1102
  p: t.prefix || I(a, "chart.labels.prefix", ""),
1103
- v: n.value,
1103
+ v: r.value,
1104
1104
  s: t.suffix || I(a, "chart.labels.suffix", ""),
1105
1105
  r: I(a, `${i}.labels.rounding`, 0)
1106
- }), l = Z(e) && Number.isFinite(Number(n.x)) ? `x: ${g({
1107
- v: n.x,
1106
+ }), l = Z(e) && Number.isFinite(Number(r.x)) ? `x: ${g({
1107
+ v: r.x,
1108
1108
  r: I(a, "chart.grid.labels.xAxis.rounding", 0)
1109
- })}\ny: ${c}` : y(I(a, `${i}.labels.formatter`, null), n.value, c, {
1110
- datapoint: n,
1109
+ })}\ny: ${c}` : b(I(a, `${i}.labels.formatter`, null), r.value, c, {
1110
+ datapoint: r,
1111
1111
  serie: t
1112
1112
  });
1113
- return r({
1113
+ return n({
1114
1114
  content: l,
1115
1115
  fontSize: o,
1116
1116
  fill: s,
@@ -1190,13 +1190,13 @@ function At(e, t, n, r, i, a) {
1190
1190
  `color:${s.color || "#2A2A2A"}`,
1191
1191
  `font-weight:${s.bold ? "bold" : "normal"}`
1192
1192
  ].join(";")
1193
- }, S(s.text)));
1193
+ }, w(s.text)));
1194
1194
  }
1195
1195
  function jt(e, t) {
1196
- let { config: r, drawingArea: i } = e, a = M(I(r, "chart.highlightArea", []));
1196
+ let { config: n, drawingArea: r } = e, a = M(I(n, "chart.highlightArea", []));
1197
1197
  if (!a.length) return "";
1198
1198
  let o = Math.max(1, ...t.map((e) => M(e.plots).length)), s = Tt(e), c = Et(e, t), l = [];
1199
- return a.forEach((t, r) => {
1199
+ return a.forEach((t, n) => {
1200
1200
  if (!t?.show) return;
1201
1201
  let a = k(t.from, 0), u = Math.min(k(t.to, a), o - 1);
1202
1202
  if (u < a) return;
@@ -1205,17 +1205,17 @@ function jt(e, t) {
1205
1205
  let a = d - s;
1206
1206
  l.push(A("rect", {
1207
1207
  "data-cy": "highlight-area",
1208
- "data-key": `highlight_area_${r}_${d}`,
1208
+ "data-key": `highlight_area_${n}_${d}`,
1209
1209
  x: Ot(e, a, o),
1210
- y: i.top,
1210
+ y: r.top,
1211
1211
  width: kt(e, o),
1212
- height: Math.max(1, i.height),
1213
- fill: n(t.color, k(t.opacity, 20)),
1212
+ height: Math.max(1, r.height),
1213
+ fill: i(t.color, k(t.opacity, 20)),
1214
1214
  "pointer-events": "none"
1215
1215
  }));
1216
1216
  }
1217
1217
  let d = Math.max(a, s);
1218
- d <= Math.min(u, c - 1) && l.push(At(e, t, r, d - s, u - a + 1, o));
1218
+ d <= Math.min(u, c - 1) && l.push(At(e, t, n, d - s, u - a + 1, o));
1219
1219
  }), l.length ? L("g", { "data-layer": "highlight-areas" }, l.join("")) : "";
1220
1220
  }
1221
1221
  function Mt(e, t) {
@@ -1241,19 +1241,19 @@ function Pt(e, t, n) {
1241
1241
  };
1242
1242
  }
1243
1243
  function Ft(e) {
1244
- let { config: t, drawingArea: r } = e;
1244
+ let { config: t, drawingArea: n } = e;
1245
1245
  if (Y(t)) return "";
1246
- let i = M(I(t, "chart.annotations", [])).filter((e) => e?.show && (e.yAxis?.yTop !== null || e.yAxis?.yBottom !== null) && (e.yAxis?.yTop !== void 0 || e.yAxis?.yBottom !== void 0));
1247
- if (!i.length) return "";
1246
+ let r = M(I(t, "chart.annotations", [])).filter((e) => e?.show && (e.yAxis?.yTop !== null || e.yAxis?.yBottom !== null) && (e.yAxis?.yTop !== void 0 || e.yAxis?.yBottom !== void 0));
1247
+ if (!r.length) return "";
1248
1248
  let a = [];
1249
- return i.forEach((t, i) => {
1249
+ return r.forEach((t, r) => {
1250
1250
  let o = t.yAxis ?? {}, s = o.label ?? {}, c = o.line ?? {}, l = o.area ?? {}, u = o.yTop, d = o.yBottom, f = u != null && d != null && u !== d, p = Mt(e, u), m = Mt(e, d), h = Number.isFinite(p), g = Number.isFinite(m);
1251
1251
  if (!h && !g) return;
1252
1252
  let _ = [];
1253
1253
  if (h && _.push(A("line", {
1254
- x1: r.left,
1254
+ x1: n.left,
1255
1255
  y1: p,
1256
- x2: r.right,
1256
+ x2: n.right,
1257
1257
  y2: p,
1258
1258
  stroke: c.stroke,
1259
1259
  "stroke-width": c.strokeWidth,
@@ -1261,9 +1261,9 @@ function Ft(e) {
1261
1261
  "stroke-linecap": "round",
1262
1262
  "data-cy": "xy-annotation-y-top-line"
1263
1263
  })), g && _.push(A("line", {
1264
- x1: r.left,
1264
+ x1: n.left,
1265
1265
  y1: m,
1266
- x2: r.right,
1266
+ x2: n.right,
1267
1267
  y2: m,
1268
1268
  stroke: c.stroke,
1269
1269
  "stroke-width": c.strokeWidth,
@@ -1271,22 +1271,22 @@ function Ft(e) {
1271
1271
  "stroke-linecap": "round",
1272
1272
  "data-cy": "xy-annotation-y-bottom-line"
1273
1273
  })), f && h && g && _.push(A("rect", {
1274
- x: r.left,
1274
+ x: n.left,
1275
1275
  y: Math.min(p, m),
1276
- width: r.width,
1276
+ width: n.width,
1277
1277
  height: Math.abs(p - m),
1278
- fill: n(l.fill, k(l.opacity, 20)),
1278
+ fill: i(l.fill, k(l.opacity, 20)),
1279
1279
  "data-cy": "xy-annotation-y-area",
1280
1280
  "pointer-events": "none"
1281
1281
  })), s.text) {
1282
- let e = s.padding ?? {}, t = h && g ? Math.min(p, m) : h ? p : m, n = (s.position === "start" ? r.left + k(e.left, 0) : r.right - k(e.right, 0)) + k(s.offsetX, 0), i = t - k(s.fontSize, 12) / 3 + k(s.offsetY, 0) - k(e.top, 0), a = Pt(s, n, i);
1282
+ let e = s.padding ?? {}, t = h && g ? Math.min(p, m) : h ? p : m, r = (s.position === "start" ? n.left + k(e.left, 0) : n.right - k(e.right, 0)) + k(s.offsetX, 0), i = t - k(s.fontSize, 12) / 3 + k(s.offsetY, 0) - k(e.top, 0), a = Pt(s, r, i);
1283
1283
  Number.isFinite(a.y) && Number.isFinite(i) && (_.push(A("rect", {
1284
1284
  class: "vue-ui-xy-annotation-label-box",
1285
1285
  ...a,
1286
1286
  "data-cy": "xy-annotation-label-box"
1287
1287
  })), _.push(R(s.text, {
1288
1288
  class: "vue-ui-xy-annotation-label",
1289
- x: n,
1289
+ x: r,
1290
1290
  y: i,
1291
1291
  "font-size": s.fontSize,
1292
1292
  fill: s.color,
@@ -1296,7 +1296,7 @@ function Ft(e) {
1296
1296
  }
1297
1297
  a.push(L("g", {
1298
1298
  "data-layer": "annotation",
1299
- "data-key": `annotation_y_${i}`
1299
+ "data-key": `annotation_y_${r}`
1300
1300
  }, _.join("")));
1301
1301
  }), a.length ? L("g", { "data-layer": "annotations" }, a.join("")) : "";
1302
1302
  }
@@ -1329,7 +1329,7 @@ async function Lt(e) {
1329
1329
  }, i), o = a.series;
1330
1330
  return `
1331
1331
  <svg
1332
- xmlns="${w}"
1332
+ xmlns="${te}"
1333
1333
  width="100%"
1334
1334
  viewBox="0 0 ${n} ${r}"
1335
1335
  role="img"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-data-ui",
3
3
  "private": false,
4
- "version": "3.23.10",
4
+ "version": "3.23.11",
5
5
  "type": "module",
6
6
  "description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
7
7
  "keywords": [
@@ -1,28 +0,0 @@
1
- import { Jt as e, Ot as t, S as n, Vt as r, Y as i, m as a, u as o } from "./lib-AT2PUyyh.js";
2
- //#region src/exposedLib.js
3
- function s(e, r) {
4
- let i = n(e);
5
- return t(i, r);
6
- }
7
- function c(e, t) {
8
- let r = n(e);
9
- return i(r, t);
10
- }
11
- function l(e, t) {
12
- let i = n(e);
13
- return r(i, t);
14
- }
15
- function u({ defaultConfig: t, userConfig: n }) {
16
- return e({
17
- defaultConfig: t,
18
- userConfig: n
19
- });
20
- }
21
- function d(e) {
22
- return o(e);
23
- }
24
- function f(e) {
25
- return a(e);
26
- }
27
- //#endregion
28
- export { u as a, f as i, c as n, l as o, s as r, d as t };