vue-data-ui 3.22.13 → 3.23.0

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 (224) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +13 -1
  3. package/dist/{Arrow-DKx74WtM.js → Arrow-o2qHNvrC.js} +1 -1
  4. package/dist/{BaseDraggableDialog-3n8udWmh.js → BaseDraggableDialog-qTnfhLBz.js} +2 -2
  5. package/dist/{BaseIcon-CP5RWnqt.js → BaseIcon-91MZoczJ.js} +4 -3
  6. package/dist/{BaseLegendToggle-DsWphmIb.js → BaseLegendToggle-CtAPwzr2.js} +1 -1
  7. package/dist/{BaseZoomControls-C9_ygNN4.js → BaseZoomControls-rdzlicuz.js} +2 -2
  8. package/dist/{ColorPicker-3N_HVgXs.js → ColorPicker-CIAkdPrj.js} +2 -2
  9. package/dist/{DataTable-DzPEVvSo.js → DataTable-D4tM9s5Y.js} +2 -2
  10. package/dist/HillActions-BWhxHlrj.js +187 -0
  11. package/dist/{Legend-C0xAnJdO.js → Legend-CQTRlzK-.js} +2 -2
  12. package/dist/{NonSvgPenAndPaper-B_mE5UbR.js → NonSvgPenAndPaper-Cawacw1W.js} +19 -19
  13. package/dist/{PackageVersion-B6Hokxw9.js → PackageVersion--QCMh5k_.js} +1 -1
  14. package/dist/{PenAndPaper-CSMVXpg2.js → PenAndPaper-cE4J8-rA.js} +11 -11
  15. package/dist/{Shape-BfnXr1nJ.js → Shape-BPMV94Ij.js} +3 -3
  16. package/dist/{Slicer-C6qNUmZ4.js → Slicer-5yIrdoJv.js} +15 -15
  17. package/dist/SlicerPreview-DvjLV2TW.js +1689 -0
  18. package/dist/{SparkTooltip-uoUiL_P8.js → SparkTooltip-BaYtEKS6.js} +6 -6
  19. package/dist/Title-BODtwViI.js +87 -0
  20. package/dist/{Tooltip-CA1rtSyl.js → Tooltip-CMTGxeYO.js} +1 -1
  21. package/dist/{UserOptions-DzAFK9cY.js → UserOptions-3ujTo3LD.js} +2 -2
  22. package/dist/components/arrow.js +1 -1
  23. package/dist/components/vue-ui-3d-bar.js +1 -1
  24. package/dist/components/vue-ui-accordion.js +1 -1
  25. package/dist/components/vue-ui-age-pyramid.js +1 -1
  26. package/dist/components/vue-ui-annotator.js +1 -1
  27. package/dist/components/vue-ui-bullet.js +1 -1
  28. package/dist/components/vue-ui-bump.js +1 -1
  29. package/dist/components/vue-ui-candlestick.js +1 -1
  30. package/dist/components/vue-ui-carousel-table.js +1 -1
  31. package/dist/components/vue-ui-chestnut.js +1 -1
  32. package/dist/components/vue-ui-chord.js +1 -1
  33. package/dist/components/vue-ui-circle-pack.js +1 -1
  34. package/dist/components/vue-ui-cursor.js +1 -1
  35. package/dist/components/vue-ui-dag.js +1 -1
  36. package/dist/components/vue-ui-dashboard.js +1 -1
  37. package/dist/components/vue-ui-digits.js +1 -1
  38. package/dist/components/vue-ui-donut-evolution.js +1 -1
  39. package/dist/components/vue-ui-donut.js +1 -1
  40. package/dist/components/vue-ui-dumbbell.js +1 -1
  41. package/dist/components/vue-ui-flow.js +1 -1
  42. package/dist/components/vue-ui-funnel.js +1 -1
  43. package/dist/components/vue-ui-galaxy.js +1 -1
  44. package/dist/components/vue-ui-gauge.js +1 -1
  45. package/dist/components/vue-ui-geo.js +1 -1
  46. package/dist/components/vue-ui-gizmo.js +1 -1
  47. package/dist/components/vue-ui-heatmap.js +1 -1
  48. package/dist/components/vue-ui-hill.js +2 -0
  49. package/dist/components/vue-ui-history-plot.js +1 -1
  50. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  51. package/dist/components/vue-ui-icon.js +1 -1
  52. package/dist/components/vue-ui-kpi.js +1 -1
  53. package/dist/components/vue-ui-mini-loader.js +1 -1
  54. package/dist/components/vue-ui-molecule.js +1 -1
  55. package/dist/components/vue-ui-mood-radar.js +1 -1
  56. package/dist/components/vue-ui-nested-donuts.js +1 -1
  57. package/dist/components/vue-ui-onion.js +1 -1
  58. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  59. package/dist/components/vue-ui-quadrant.js +1 -1
  60. package/dist/components/vue-ui-quick-chart.js +1 -1
  61. package/dist/components/vue-ui-radar.js +1 -1
  62. package/dist/components/vue-ui-rating.js +1 -1
  63. package/dist/components/vue-ui-relation-circle.js +1 -1
  64. package/dist/components/vue-ui-ridgeline.js +1 -1
  65. package/dist/components/vue-ui-rings.js +1 -1
  66. package/dist/components/vue-ui-scatter.js +1 -1
  67. package/dist/components/vue-ui-skeleton.js +1 -1
  68. package/dist/components/vue-ui-smiley.js +1 -1
  69. package/dist/components/vue-ui-spark-trend.js +1 -1
  70. package/dist/components/vue-ui-sparkbar.js +1 -1
  71. package/dist/components/vue-ui-sparkgauge.js +1 -1
  72. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  73. package/dist/components/vue-ui-sparkline.js +1 -1
  74. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  75. package/dist/components/vue-ui-stackbar.js +1 -1
  76. package/dist/components/vue-ui-stackline.js +1 -1
  77. package/dist/components/vue-ui-strip-plot.js +1 -1
  78. package/dist/components/vue-ui-table-heatmap.js +1 -1
  79. package/dist/components/vue-ui-table-sparkline.js +1 -1
  80. package/dist/components/vue-ui-table.js +1 -1
  81. package/dist/components/vue-ui-thermometer.js +1 -1
  82. package/dist/components/vue-ui-timer.js +1 -1
  83. package/dist/components/vue-ui-tiremarks.js +1 -1
  84. package/dist/components/vue-ui-treemap.js +1 -1
  85. package/dist/components/vue-ui-vertical-bar.js +1 -1
  86. package/dist/components/vue-ui-waffle.js +1 -1
  87. package/dist/components/vue-ui-wheel.js +1 -1
  88. package/dist/components/vue-ui-word-cloud.js +1 -1
  89. package/dist/components/vue-ui-world.js +1 -1
  90. package/dist/components/vue-ui-xy-canvas.js +1 -1
  91. package/dist/components/vue-ui-xy.js +1 -1
  92. package/dist/{dom-to-png-BdAFKZQg.js → dom-to-png-4tdMNGPX.js} +1 -1
  93. package/dist/exposedLib-DWLRqRhv.js +25 -0
  94. package/dist/{img-Bikk1dGb.js → img-DIQG5q8T.js} +1 -1
  95. package/dist/{labelUtils-BUhssos9.js → labelUtils-C5lnc_xc.js} +1 -1
  96. package/dist/{lib-CFm_J26b.js → lib-BuMGJ_a0.js} +216 -173
  97. package/dist/{package-DmDydylu.js → package-BMc_ZieJ.js} +1 -1
  98. package/dist/{pdf-zmz3l2uy.js → pdf-Cnz4NKM9.js} +1 -1
  99. package/dist/{render-common-BIG8JYGK.js → render-common-Ktg2LZFG.js} +21 -21
  100. package/dist/ssr/vue-ui-donut.js +1 -1
  101. package/dist/ssr/vue-ui-xy.js +1 -1
  102. package/dist/ssr.js +2 -2
  103. package/dist/style.css +1 -1
  104. package/dist/types/vue-data-ui.d.ts +493 -0
  105. package/dist/types/vue-ui-hill.d.ts +90 -0
  106. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
  107. package/dist/{useConfig-C0V0eG7L.js → useConfig-BilxnBNr.js} +767 -476
  108. package/dist/useHints-Dq_w2E8B.js +66 -0
  109. package/dist/{useNestedProp-BY6DNN3i.js → useNestedProp--NSEmhOH.js} +1 -1
  110. package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Cwq7NcQz.js} +3 -2
  111. package/dist/{usePrinter-BH-xle1O.js → usePrinter-BFvi4jVy.js} +2 -2
  112. package/dist/useTransitions-g_zBREk2.js +39 -0
  113. package/dist/utils.js +14 -14
  114. package/dist/{vue-data-ui-rkzh6EkO.js → vue-data-ui-EsawKe_W.js} +85 -81
  115. package/dist/vue-data-ui.js +77 -76
  116. package/dist/vue-ui-3d-bar-RSUS2xpL.js +1849 -0
  117. package/dist/{vue-ui-accordion-UA88lv4d.js → vue-ui-accordion-61MlW-Ge.js} +4 -4
  118. package/dist/vue-ui-age-pyramid-CgnPWA93.js +1263 -0
  119. package/dist/vue-ui-annotator-DBRT85HG.js +2913 -0
  120. package/dist/vue-ui-bullet-Bc3-WaN1.js +724 -0
  121. package/dist/{vue-ui-bump-BS7RCf0Z.js → vue-ui-bump-Dvv3iSKr.js} +332 -295
  122. package/dist/{vue-ui-candlestick-BZSGDKrM.js → vue-ui-candlestick-DvvsrIdp.js} +464 -440
  123. package/dist/vue-ui-carousel-table-DtsNVim8.js +463 -0
  124. package/dist/vue-ui-chestnut-ArloORzP.js +2068 -0
  125. package/dist/{vue-ui-chord-D6G7ceE-.js → vue-ui-chord-xX5gWZy8.js} +430 -424
  126. package/dist/vue-ui-circle-pack-D8wykmqg.js +1638 -0
  127. package/dist/{vue-ui-cursor-BpN5MsXM.js → vue-ui-cursor-CxgE6Phh.js} +61 -61
  128. package/dist/{vue-ui-dag-BzgOgXzU.js → vue-ui-dag-C9Sf9vH7.js} +924 -916
  129. package/dist/vue-ui-dashboard-bGmaglAj.js +520 -0
  130. package/dist/{vue-ui-digits-OMPrn8fb.js → vue-ui-digits-DgDE-_Fn.js} +58 -50
  131. package/dist/vue-ui-donut-B_n6wF6B.js +2440 -0
  132. package/dist/{vue-ui-donut-Cp5NbZ1r.js → vue-ui-donut-Bmo149AR.js} +113 -113
  133. package/dist/{vue-ui-donut-evolution-DHVi5rOn.js → vue-ui-donut-evolution-D6vH_hfx.js} +528 -447
  134. package/dist/vue-ui-dumbbell-BX4Ao_wR.js +1582 -0
  135. package/dist/{vue-ui-flow-BusUK3H0.js → vue-ui-flow-Bshw8pT_.js} +415 -407
  136. package/dist/vue-ui-funnel-CjYosIik.js +797 -0
  137. package/dist/vue-ui-galaxy-CvXgy-dy.js +1111 -0
  138. package/dist/vue-ui-gauge-CByT0_vF.js +953 -0
  139. package/dist/{vue-ui-geo-CyFgFKlh.js → vue-ui-geo-C-gSZL2q.js} +378 -363
  140. package/dist/{vue-ui-gizmo-DdeXwCQp.js → vue-ui-gizmo-CJdxyPID.js} +57 -49
  141. package/dist/{vue-ui-heatmap-D8-qJ7fg.js → vue-ui-heatmap-DEEKv8ip.js} +498 -490
  142. package/dist/vue-ui-hill-D7LYAgAL.js +1768 -0
  143. package/dist/{vue-ui-history-plot-C2Aqk2ON.js → vue-ui-history-plot-BhcU94Pt.js} +553 -556
  144. package/dist/vue-ui-horizontal-bar-CfFye5tL.js +1733 -0
  145. package/dist/vue-ui-kpi-DCBnNfTb.js +104 -0
  146. package/dist/vue-ui-mini-loader-CtWpqnLW.js +133 -0
  147. package/dist/vue-ui-molecule-D3igGyOy.js +958 -0
  148. package/dist/{vue-ui-mood-radar-BiOjxFEN.js → vue-ui-mood-radar-sl6DMxqR.js} +349 -341
  149. package/dist/{vue-ui-nested-donuts-Cl1HVvDp.js → vue-ui-nested-donuts-aS4YzaB3.js} +449 -413
  150. package/dist/vue-ui-onion-EhPTZpW_.js +1258 -0
  151. package/dist/vue-ui-parallel-coordinate-plot-DE9wTmQQ.js +1455 -0
  152. package/dist/{vue-ui-quadrant-B21LkUc8.js → vue-ui-quadrant-SaY_RPSE.js} +625 -617
  153. package/dist/vue-ui-quick-chart-CJ9rejnj.js +2389 -0
  154. package/dist/{vue-ui-radar-CyzAyVos.js → vue-ui-radar-CaNen5Fj.js} +356 -310
  155. package/dist/vue-ui-rating--K7rX2an.js +360 -0
  156. package/dist/vue-ui-relation-circle-FLs8vOxQ.js +925 -0
  157. package/dist/vue-ui-ridgeline-Beg5hshN.js +1663 -0
  158. package/dist/{vue-ui-rings-FtcdX8xl.js → vue-ui-rings-BevKD8P-.js} +449 -423
  159. package/dist/{vue-ui-scatter-Cp_-2ahf.js → vue-ui-scatter-CNA7jF-o.js} +721 -702
  160. package/dist/{vue-ui-skeleton-COytVrfN.js → vue-ui-skeleton-B9ZP1w-i.js} +395 -387
  161. package/dist/{vue-ui-smiley-Da2jgkb7.js → vue-ui-smiley-DYnqqk6u.js} +128 -120
  162. package/dist/{vue-ui-spark-trend-DC2KUlEY.js → vue-ui-spark-trend-R0ebpg-G.js} +132 -117
  163. package/dist/{vue-ui-sparkbar-DdxQOFIF.js → vue-ui-sparkbar-DYC3By0v.js} +119 -111
  164. package/dist/{vue-ui-sparkgauge-DTA-fORH.js → vue-ui-sparkgauge-Bw6no-In.js} +76 -68
  165. package/dist/vue-ui-sparkhistogram-DvRKy8rq.js +590 -0
  166. package/dist/{vue-ui-sparkline-DcR_N-zT.js → vue-ui-sparkline-Dz1uzBos.js} +389 -364
  167. package/dist/vue-ui-sparkstackbar-DlnPdZih.js +692 -0
  168. package/dist/vue-ui-stackbar-B-THcavY.js +2350 -0
  169. package/dist/vue-ui-stackline-3dBPoI0h.js +2464 -0
  170. package/dist/{vue-ui-strip-plot-NLCwYvyw.js → vue-ui-strip-plot-ACeYOoHj.js} +505 -484
  171. package/dist/vue-ui-table-heatmap-DVwMqzje.js +364 -0
  172. package/dist/{vue-ui-table-AM9brdwU.js → vue-ui-table-rFy16bp0.js} +512 -504
  173. package/dist/{vue-ui-table-sparkline-BE6DAvur.js → vue-ui-table-sparkline-CABJzK8p.js} +207 -181
  174. package/dist/vue-ui-thermometer-CVQ-H69Q.js +777 -0
  175. package/dist/{vue-ui-timer-BZM5ITG9.js → vue-ui-timer-Bm8LpsnI.js} +66 -58
  176. package/dist/{vue-ui-tiremarks-BCncDpHX.js → vue-ui-tiremarks-DB3f5qiz.js} +127 -119
  177. package/dist/vue-ui-treemap-DP0Sx8Y8.js +1760 -0
  178. package/dist/vue-ui-waffle-iPpdk1Bm.js +1412 -0
  179. package/dist/vue-ui-wheel-BJkEYfLj.js +892 -0
  180. package/dist/{vue-ui-word-cloud-D7R7nhk1.js → vue-ui-word-cloud-B2sxtel9.js} +440 -432
  181. package/dist/{vue-ui-world-DZBt-07p.js → vue-ui-world-BBQZLnzm.js} +343 -335
  182. package/dist/vue-ui-xy-ChZg7AtI.js +1364 -0
  183. package/dist/{vue-ui-xy-CluEZ7lS.js → vue-ui-xy-DZj5DT-q.js} +1633 -1587
  184. package/dist/{vue-ui-xy-canvas-7YSYRdwr.js → vue-ui-xy-canvas-BN2u0bOJ.js} +456 -430
  185. package/dist/vue_ui_hill-dnltu0L-.js +368 -0
  186. package/package.json +2 -2
  187. package/dist/SlicerPreview-Cw6WMVhG.js +0 -1689
  188. package/dist/Title-BuPs74IB.js +0 -87
  189. package/dist/exposedLib-Ciw6TGtP.js +0 -25
  190. package/dist/useAutoSizeLabelsInsideViewbox-C9RNjsGv.js +0 -50
  191. package/dist/useMountedDelay-BAjrhRJb.js +0 -14
  192. package/dist/vue-ui-3d-bar-D5xHEWr1.js +0 -1824
  193. package/dist/vue-ui-age-pyramid-CAJg01c7.js +0 -1246
  194. package/dist/vue-ui-annotator-q3ZKx6ua.js +0 -2905
  195. package/dist/vue-ui-bullet-ByeaWGfI.js +0 -709
  196. package/dist/vue-ui-carousel-table-DO5NRXvX.js +0 -455
  197. package/dist/vue-ui-chestnut-BfeSPeEh.js +0 -2042
  198. package/dist/vue-ui-circle-pack-Cqmlw7AV.js +0 -1610
  199. package/dist/vue-ui-dashboard-DLvGJXJY.js +0 -512
  200. package/dist/vue-ui-donut-ZIRebAWc.js +0 -2418
  201. package/dist/vue-ui-dumbbell-gDYjU2oF.js +0 -1564
  202. package/dist/vue-ui-funnel-BtaYaU0r.js +0 -781
  203. package/dist/vue-ui-galaxy-BMp-HzDh.js +0 -1076
  204. package/dist/vue-ui-gauge-CBou0cFE.js +0 -925
  205. package/dist/vue-ui-horizontal-bar-BuwxI7d1.js +0 -1689
  206. package/dist/vue-ui-kpi-ByxoO01r.js +0 -96
  207. package/dist/vue-ui-mini-loader-D9pprk2c.js +0 -125
  208. package/dist/vue-ui-molecule-BqJJq49_.js +0 -932
  209. package/dist/vue-ui-onion-CRQOxurS.js +0 -1199
  210. package/dist/vue-ui-parallel-coordinate-plot-Dhn18RtR.js +0 -1412
  211. package/dist/vue-ui-quick-chart-DAhSXYnp.js +0 -2443
  212. package/dist/vue-ui-rating-DbxK-ftN.js +0 -352
  213. package/dist/vue-ui-relation-circle-Cb33DMZo.js +0 -917
  214. package/dist/vue-ui-ridgeline-D7aArzQk.js +0 -1627
  215. package/dist/vue-ui-sparkhistogram-D1oFTrvt.js +0 -575
  216. package/dist/vue-ui-sparkstackbar-BlFio0lP.js +0 -674
  217. package/dist/vue-ui-stackbar-Cu13EdVa.js +0 -2322
  218. package/dist/vue-ui-stackline-DKL0o_-3.js +0 -2427
  219. package/dist/vue-ui-table-heatmap-CSI482KG.js +0 -338
  220. package/dist/vue-ui-thermometer-D6Czx7Fb.js +0 -769
  221. package/dist/vue-ui-treemap-BOEYCOdk.js +0 -1727
  222. package/dist/vue-ui-waffle-BrM8IHdG.js +0 -1367
  223. package/dist/vue-ui-wheel-BNsajigQ.js +0 -884
  224. package/dist/vue-ui-xy-Dt_1bSBT.js +0 -1364
@@ -0,0 +1,692 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { Bt as t, Jt as n, Kt as r, Pt as i, S as a, Vt as o, X as s, i as c, jt as ee, pt as te, q as ne, t as re, tt as ie, w as ae, xt as oe } from "./lib-BuMGJ_a0.js";
3
+ import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
4
+ import { t as le } from "./useConfig-BilxnBNr.js";
5
+ import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
6
+ import { t as l } from "./useNestedProp--NSEmhOH.js";
7
+ import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
8
+ import { t as pe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
9
+ import { t as me } from "./DefGrad-DVBqDjhO.js";
10
+ import { t as he } from "./BaseLegendToggle-CtAPwzr2.js";
11
+ import { t as ge } from "./A11yDataTable-DdRsVULz.js";
12
+ import { t as _e } from "./useChartAccessibility-DYqac8yF.js";
13
+ import { t as ve } from "./usePrefersMotion-BC-CsqR1.js";
14
+ import { t as ye } from "./vue_ui_sparkstackbar-BOjuQnZd.js";
15
+ import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createVNode as g, defineAsyncComponent as be, guardReactiveProps as _, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onMounted as xe, openBlock as x, ref as S, renderList as C, renderSlot as w, toDisplayString as T, toRefs as Se, unref as E, useSlots as Ce, watch as we, withCtx as D } from "vue";
16
+ //#region src/components/vue-ui-sparkstackbar.vue
17
+ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: { position: "relative" } }, Oe = [
18
+ "xmlns",
19
+ "viewBox",
20
+ "aria-describedby"
21
+ ], ke = {
22
+ id: "stackPill",
23
+ clipPathUnits: "objectBoundingBox"
24
+ }, Ae = ["fill"], je = {
25
+ key: 0,
26
+ "clip-path": "url(#stackPill)"
27
+ }, Me = [
28
+ "x",
29
+ "width",
30
+ "height",
31
+ "fill"
32
+ ], Ne = [
33
+ "x",
34
+ "width",
35
+ "height",
36
+ "fill",
37
+ "stroke"
38
+ ], Pe = [
39
+ "x",
40
+ "width",
41
+ "height",
42
+ "onClick",
43
+ "onMouseenter",
44
+ "onMouseleave"
45
+ ], Fe = [
46
+ "width",
47
+ "height",
48
+ "rx"
49
+ ], Ie = {
50
+ key: 0,
51
+ style: {
52
+ position: "absolute",
53
+ top: "100%",
54
+ left: "0",
55
+ width: "100%"
56
+ },
57
+ "data-dom-to-png-ignore": "",
58
+ "aria-hidden": "true"
59
+ }, Le = [
60
+ "aria-pressed",
61
+ "aria-label",
62
+ "onClick",
63
+ "onFocus",
64
+ "onKeydown"
65
+ ], Re = { style: {
66
+ display: "flex",
67
+ "flex-direction": "row",
68
+ "align-items": "center",
69
+ gap: "4px",
70
+ "justify-content": "center"
71
+ } }, ze = ["height", "width"], Be = ["fill"], Ve = {
72
+ key: 3,
73
+ ref: "source",
74
+ dir: "auto"
75
+ }, He = /*#__PURE__*/ pe({
76
+ __name: "vue-ui-sparkstackbar",
77
+ props: {
78
+ config: {
79
+ type: Object,
80
+ default() {
81
+ return {};
82
+ }
83
+ },
84
+ dataset: {
85
+ type: Array,
86
+ default() {
87
+ return [];
88
+ }
89
+ }
90
+ },
91
+ emits: ["selectDatapoint", "selectLegend"],
92
+ setup(e, { expose: pe, emit: Te }) {
93
+ let He = be(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), Ue = be(() => import("./Tooltip-CMTGxeYO.js")), { vue_ui_sparkstackbar: We } = le(), { isThemeValid: Ge, warnInvalidTheme: Ke } = fe(), qe = ve(), O = e, Je = Ce();
94
+ xe(() => {
95
+ Je["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
96
+ });
97
+ let Ye = S(null), k = S(ne()), A = S(!1), j = S(""), M = S(null), N = S(!1), P = S(null), Xe = S({
98
+ x: 0,
99
+ y: 0
100
+ }), F = S("pointer"), I = S(!1), L = S(null), Ze = S([]), R = S(H());
101
+ se({
102
+ config: () => R.value,
103
+ dataset: () => O.dataset,
104
+ component: "VueUiSparkStackbar",
105
+ rules: [ce.emptyArray, {
106
+ test: (e) => e.length > 6,
107
+ message: [
108
+ "👀 The number of series is > 6. Consider:",
109
+ "",
110
+ "▶️ Grouping small values dynamically into a single \"Other\" series.",
111
+ "",
112
+ "▶️ Using VueUiHorizontalBar instead to make the dataset breakdown easier to read."
113
+ ]
114
+ }]
115
+ });
116
+ let Qe = d(() => R.value.useCursorPointer), $e = d(() => n({
117
+ defaultConfig: { style: {
118
+ backgroundColor: "#99999930",
119
+ animation: { show: !1 },
120
+ bar: { gradient: { inderlayerColor: "#6A6A6A" } },
121
+ title: { backgroundColor: "transparent" }
122
+ } },
123
+ userConfig: R.value.skeletonConfig ?? {}
124
+ })), { loading: z, FINAL_DATASET: B } = ue({
125
+ ...Se(O),
126
+ FINAL_CONFIG: R,
127
+ prepareConfig: H,
128
+ skeletonDataset: O.config?.skeletonDataset ?? [
129
+ {
130
+ name: "_",
131
+ value: 8,
132
+ color: "#808080"
133
+ },
134
+ {
135
+ name: "_",
136
+ value: 5,
137
+ color: "#ADADAD"
138
+ },
139
+ {
140
+ name: "_",
141
+ value: 3,
142
+ color: "#DBDBDB"
143
+ }
144
+ ],
145
+ skeletonConfig: n({
146
+ defaultConfig: R.value,
147
+ userConfig: $e.value
148
+ })
149
+ }), { svgRef: V } = _e({ config: R.value.style.title });
150
+ function H() {
151
+ let e = l({
152
+ userConfig: O.config,
153
+ defaultConfig: We
154
+ }), t = e.theme;
155
+ if (!t) return e;
156
+ if (!Ge.value(e)) return Ke(e), e;
157
+ let n = l({
158
+ userConfig: ye[t] || O.config,
159
+ defaultConfig: e
160
+ }), a = l({
161
+ userConfig: O.config,
162
+ defaultConfig: n
163
+ });
164
+ return {
165
+ ...a,
166
+ customPalette: a.customPalette.length ? a.customPalette : r[t] || i
167
+ };
168
+ }
169
+ we(() => O.config, (e) => {
170
+ R.value = H(), nt();
171
+ }, { deep: !0 }), we(() => B.value, (e) => {
172
+ W.value = B.value.map((e, t) => ({
173
+ ...e,
174
+ color: e.color ? a(e.color) : U.value[t] || i[t] || i[t % i.length]
175
+ })), et();
176
+ }, { deep: !0 });
177
+ let U = d(() => ae(R.value.customPalette)), W = S(B.value.map((e, t) => ({
178
+ ...e,
179
+ value: R.value.style.animation.show ? 0 : e.value || 0,
180
+ color: e.color ? a(e.color) : U.value[t] || i[t] || i[t % i.length]
181
+ }))), G = S(!0);
182
+ function et() {
183
+ if (!R.value.style.animation.show || qe.value) {
184
+ G.value = !1;
185
+ return;
186
+ }
187
+ let e = R.value.style.animation.animationFrames, t = B.value.map((e) => e.value || 0), n = t.map((t) => t / e), r = t.reduce((e, t) => e + t, 0), o = 0;
188
+ G.value = !0, W.value = B.value.map((e, t) => ({
189
+ ...e,
190
+ value: 0,
191
+ color: e.color ? a(e.color) : U.value[t] || i[t] || i[t % i.length]
192
+ }));
193
+ function s() {
194
+ o += r / e, o < r ? (W.value = W.value.map((e, r) => ({
195
+ ...e,
196
+ value: Math.min(e.value + n[r], t[r]),
197
+ color: e.color ? a(e.color) : U.value[r] || i[r] || i[r % i.length]
198
+ })), requestAnimationFrame(s)) : (G.value = !1, W.value = B.value.map((e, n) => ({
199
+ ...e,
200
+ value: t[n],
201
+ color: e.color ? a(e.color) : U.value[n] || i[n] || i[n % i.length],
202
+ id: ne()
203
+ })));
204
+ }
205
+ s();
206
+ }
207
+ xe(() => {
208
+ nt();
209
+ });
210
+ let tt = d(() => R.value.debug);
211
+ function nt() {
212
+ ee(O.dataset) ? ie({
213
+ componentName: "VueUiSparkStackbar",
214
+ type: "dataset",
215
+ debug: tt.value
216
+ }) : O.dataset.forEach((e, t) => {
217
+ te({
218
+ datasetObject: e,
219
+ requiredAttributes: ["name", "value"]
220
+ }).forEach((e) => {
221
+ ie({
222
+ componentName: "VueUiSparkStackbar",
223
+ type: "datasetSerieAttribute",
224
+ property: e,
225
+ index: t,
226
+ debug: tt.value
227
+ });
228
+ });
229
+ }), et();
230
+ }
231
+ let K = S({
232
+ width: 500,
233
+ height: 16
234
+ }), q = S([]), rt = d(() => B.value.map((e) => e.value || 0).filter((e, t) => !q.value.includes(t)).reduce((e, t) => e + t, 0)), J = d(() => W.value.map((e, t) => {
235
+ let n = e.value || 0, r = n / rt.value, o = isNaN(r) ? 0 : r, c = o * K.value.width;
236
+ return {
237
+ ...e,
238
+ color: a(B.value[t]?.color ? B.value[t]?.color : U.value[t] || i[t] || i[t % i.length]),
239
+ value: n,
240
+ proportion: o,
241
+ width: c,
242
+ seriesIndex: t,
243
+ proportionLabel: s({
244
+ v: o * 100,
245
+ s: "%",
246
+ r: R.value.style.legend.percentage.rounding
247
+ })
248
+ };
249
+ })), Y = d(() => J.value.filter((e, t) => !q.value.includes(t)));
250
+ function it() {
251
+ q.value.length ? q.value = [] : J.value.forEach((e, t) => {
252
+ q.value.push(t);
253
+ }), ct("selectLegend", Y.value);
254
+ }
255
+ function X(e) {
256
+ q.value.includes(e) ? q.value = q.value.filter((t) => t !== e) : q.value.length < W.value.length - 1 && q.value.push(e), ct("selectLegend", Y.value);
257
+ }
258
+ function at(e) {
259
+ return J.value.length ? J.value.find((t) => t.name === e) || (R.value.debug && console.warn(`VueUiSparkStackbar - Series name not found "${e}"`), null) : (R.value.debug && console.warn("VueUiSparkStackbar - There are no series to show."), null);
260
+ }
261
+ function ot(e) {
262
+ let t = at(e);
263
+ t !== null && q.value.includes(t.id) && X(t.seriesIndex);
264
+ }
265
+ function st(e) {
266
+ let t = at(e);
267
+ t !== null && (q.value.includes(t.id) || X(t.seriesIndex));
268
+ }
269
+ let Z = d(() => {
270
+ let e = 0, t = [];
271
+ for (let n = 0; n < Y.value.length; n += 1) t.push({
272
+ ...Y.value[n],
273
+ start: e
274
+ }), e += Y.value[n].width;
275
+ return t;
276
+ }), ct = Te;
277
+ function Q(e, t, n = !1) {
278
+ ct("selectDatapoint", {
279
+ datapoint: e,
280
+ index: t
281
+ }), R.value.events.datapointClick && !n && R.value.events.datapointClick({
282
+ datapoint: e,
283
+ seriesIndex: e.seriesIndex
284
+ });
285
+ }
286
+ function lt({ datapoint: e, seriesIndex: t }) {
287
+ A.value = !1, L.value = null, P.value = null, F.value = "pointer", R.value.events.datapointLeave && R.value.events.datapointLeave({
288
+ datapoint: e,
289
+ seriesIndex: e.seriesIndex
290
+ });
291
+ }
292
+ function ut({ datapoint: e, seriesIndex: t, triggerMode: n = "pointer" }) {
293
+ if (N.value = !1, R.value.events.datapointEnter && R.value.events.datapointEnter({
294
+ datapoint: e,
295
+ seriesIndex: e.seriesIndex
296
+ }), !R.value.style.tooltip.show) return;
297
+ F.value = n, M.value = {
298
+ datapoint: e,
299
+ seriesIndex: t,
300
+ config: R.value,
301
+ series: J.value
302
+ }, A.value = !0, L.value = t;
303
+ let r = R.value.style.tooltip.customFormat;
304
+ if (oe(r)) try {
305
+ let t = r({
306
+ seriesIndex: e.seriesIndex,
307
+ datapoint: e,
308
+ series: J.value,
309
+ config: R.value
310
+ });
311
+ typeof t == "string" && (j.value = t, N.value = !0);
312
+ } catch {
313
+ console.warn("Custom format cannot be applied."), N.value = !1;
314
+ }
315
+ if (!N.value) {
316
+ let n = "";
317
+ n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${R.value.style.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, n += `<b>${e.proportionLabel}</b>`, n += `<span>(${c(R.value.style.legend.value.formatter, e.value, s({
318
+ p: R.value.style.legend.value.prefix,
319
+ v: e.value,
320
+ s: R.value.style.legend.value.suffix,
321
+ r: R.value.style.legend.value.rounding
322
+ }), {
323
+ datapoint: e,
324
+ seriesIndex: t
325
+ })})</span>`, j.value = `<div>${n}</div>`;
326
+ }
327
+ }
328
+ function $(e) {
329
+ let t = Ze.value[e];
330
+ t && typeof t.focus == "function" && t.focus();
331
+ }
332
+ function dt(e) {
333
+ if (!Number.isFinite(e) || !V.value) return;
334
+ let t = Z.value[e];
335
+ if (!t) return;
336
+ let n = V.value.getBoundingClientRect(), r = t.start + t.width / 2, i = K.value.height / 2;
337
+ Xe.value = {
338
+ x: n.left + r / K.value.width * n.width,
339
+ y: n.top + i / K.value.height * n.height
340
+ };
341
+ }
342
+ function ft() {
343
+ P.value = null, I.value = !0;
344
+ }
345
+ function pt() {
346
+ P.value = null, F.value = "pointer", A.value = !1, L.value = null, I.value = !1;
347
+ }
348
+ function mt(e) {
349
+ if (!V.value || document.activeElement !== V.value || !Z.value.length) return;
350
+ let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape", a = e.key === "Home", o = e.key === "End";
351
+ if (!t && !n && !r && !i && !a && !o) return;
352
+ if (e.preventDefault(), e.stopPropagation(), i) {
353
+ P.value = null, F.value = "pointer", A.value = !1, L.value = null;
354
+ return;
355
+ }
356
+ if (r) {
357
+ if (P.value === null) return;
358
+ let e = Z.value[P.value];
359
+ if (!e) return;
360
+ Q(e, e.seriesIndex);
361
+ return;
362
+ }
363
+ let s = P.value;
364
+ a ? s = 0 : o ? s = Z.value.length - 1 : s === null || s < 0 || s >= Z.value.length ? s = n ? 0 : Z.value.length - 1 : n ? (s += 1, s >= Z.value.length && (s = 0)) : t && (--s, s < 0 && (s = Z.value.length - 1));
365
+ let c = Z.value[s];
366
+ c && (P.value = s, dt(s), ut({
367
+ datapoint: c,
368
+ seriesIndex: c.seriesIndex,
369
+ triggerMode: "keyboard"
370
+ }));
371
+ }
372
+ function ht(e) {
373
+ A.value = !1, P.value = null, F.value = "pointer", L.value = e.seriesIndex;
374
+ }
375
+ function gt() {
376
+ P.value = null, F.value = "pointer", A.value = !1, L.value = null;
377
+ }
378
+ function _t(e, t, n) {
379
+ let r = e.key === "Enter" || e.key === " ", i = e.key === "ArrowLeft" || e.key === "ArrowUp", a = e.key === "ArrowRight" || e.key === "ArrowDown", o = e.key === "Home", s = e.key === "End", c = e.key === "Escape";
380
+ if (!(!r && !i && !a && !o && !s && !c)) {
381
+ if (e.preventDefault(), e.stopPropagation(), c) {
382
+ gt();
383
+ return;
384
+ }
385
+ if (r) {
386
+ X(n), Q(t, n, !0);
387
+ return;
388
+ }
389
+ if (o) {
390
+ $(0);
391
+ return;
392
+ }
393
+ if (s) {
394
+ $(J.value.length - 1);
395
+ return;
396
+ }
397
+ if (i) {
398
+ $(n <= 0 ? J.value.length - 1 : n - 1);
399
+ return;
400
+ }
401
+ a && $(n >= J.value.length - 1 ? 0 : n + 1);
402
+ }
403
+ }
404
+ let vt = d(() => ({
405
+ headers: [
406
+ R.value.a11y.translations.series,
407
+ R.value.a11y.translations.percentage,
408
+ R.value.a11y.translations.value
409
+ ],
410
+ rows: J.value.map((e, t) => [
411
+ e.name,
412
+ q.value.includes(t) ? " - " : e.proportionLabel,
413
+ c(R.value.style.legend.value.formatter, e.value, s({
414
+ p: R.value.style.legend.value.prefix,
415
+ v: e.value,
416
+ s: R.value.style.legend.value.suffix,
417
+ r: R.value.style.legend.value.rounding
418
+ }), {
419
+ datapoint: e,
420
+ seriesIndex: t
421
+ })
422
+ ])
423
+ }));
424
+ return pe({
425
+ hideSeries: st,
426
+ showSeries: ot
427
+ }), (e, n) => (x(), m("div", {
428
+ class: "vue-data-ui-component vue-ui-spark-stackbar",
429
+ ref_key: "sparkstackbarChart",
430
+ ref: Ye,
431
+ style: b(`width:100%; background:${R.value.style.backgroundColor}`)
432
+ }, [
433
+ h("div", {
434
+ id: `chart-instructions-${k.value}`,
435
+ class: "sr-only"
436
+ }, [h("p", null, T(R.value.a11y.translations.keyboardNavigation), 1)], 8, Ee),
437
+ vt.value?.rows?.length ? (x(), f(ge, {
438
+ key: 0,
439
+ uid: k.value,
440
+ head: vt.value.headers,
441
+ body: vt.value.rows,
442
+ notice: R.value.a11y.translations.tableAvailable,
443
+ caption: R.value.a11y.translations.tableCaption
444
+ }, null, 8, [
445
+ "uid",
446
+ "head",
447
+ "body",
448
+ "notice",
449
+ "caption"
450
+ ])) : p("", !0),
451
+ R.value.style.title.text ? (x(), m("div", {
452
+ key: 1,
453
+ style: b(`width:calc(100% - 12px);background:transparent;margin:0 auto;margin:${R.value.style.title.margin};padding: 0 6px;text-align:${R.value.style.title.textAlign}`)
454
+ }, [h("div", {
455
+ class: "atom-title",
456
+ style: b(`font-size:${R.value.style.title.fontSize}px;color:${R.value.style.title.color};font-weight:${R.value.style.title.bold ? "bold" : "normal"}`)
457
+ }, T(R.value.style.title.text), 5), R.value.style.title.subtitle.text ? (x(), m("div", {
458
+ key: 0,
459
+ class: "atom-subtitle",
460
+ style: b(`font-size:${R.value.style.title.subtitle.fontSize}px;color:${R.value.style.title.subtitle.color};font-weight:${R.value.style.title.subtitle.bold ? "bold" : "normal"}`)
461
+ }, T(R.value.style.title.subtitle.text), 5)) : p("", !0)], 4)) : p("", !0),
462
+ h("div", De, [(x(), m("svg", {
463
+ ref_key: "svgRef",
464
+ ref: V,
465
+ xmlns: E(re),
466
+ width: "100%",
467
+ viewBox: `0 0 ${K.value.width} ${K.value.height}`,
468
+ "aria-describedby": `chart-instructions-${k.value}`,
469
+ tabindex: "0",
470
+ onFocus: ft,
471
+ onBlur: pt,
472
+ onKeydown: mt
473
+ }, [
474
+ g(E(He)),
475
+ h("defs", null, [(x(!0), m(u, null, C(Z.value, (e, n) => (x(), f(me, {
476
+ t: "linear",
477
+ id: `stack_gradient_${n}_${k.value}`,
478
+ key: `stack_gradient_${n}`,
479
+ gradientTransform: "rotate(90)",
480
+ stops: [
481
+ [
482
+ "0%",
483
+ e.color,
484
+ 1
485
+ ],
486
+ [
487
+ "50%",
488
+ E(t)(E(o)(e.color, .05), 100 - R.value.style.bar.gradient.intensity),
489
+ 1
490
+ ],
491
+ [
492
+ "100%",
493
+ e.color,
494
+ 1
495
+ ]
496
+ ]
497
+ }, null, 8, ["id", "stops"]))), 128)), h("clipPath", ke, [h("rect", {
498
+ x: "0.005",
499
+ y: "-2",
500
+ width: "0.99",
501
+ height: "5",
502
+ rx: "3",
503
+ ry: "3",
504
+ fill: R.value.style.backgroundColor
505
+ }, null, 8, Ae)])]),
506
+ rt.value > 0 ? (x(), m("g", je, [
507
+ (x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("rect", {
508
+ key: `stack_underlayer_${t}`,
509
+ x: e.start,
510
+ y: 0,
511
+ width: e.width,
512
+ height: K.value.height,
513
+ fill: R.value.style.bar.gradient.underlayerColor,
514
+ class: v({ animated: !G.value && !E(z) }),
515
+ style: b({ opacity: L.value !== null && R.value.style.tooltip.show ? L.value === t ? 1 : .5 : 1 })
516
+ }, null, 14, Me))), 128)),
517
+ (x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("rect", {
518
+ key: `stack_${t}`,
519
+ x: e.start,
520
+ y: 0,
521
+ width: e.width,
522
+ height: K.value.height,
523
+ fill: R.value.style.bar.gradient.show ? `url(#stack_gradient_${t}_${k.value})` : e.color,
524
+ stroke: R.value.style.backgroundColor,
525
+ "stroke-linecap": "round",
526
+ class: v({ animated: !G.value && !E(z) }),
527
+ style: b({ opacity: L.value !== null && R.value.style.tooltip.show ? L.value === t ? 1 : .5 : 1 })
528
+ }, null, 14, Ne))), 128)),
529
+ (x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("rect", {
530
+ key: `stack_trap_${t}`,
531
+ x: e.start,
532
+ y: 0,
533
+ width: e.width,
534
+ height: K.value.height,
535
+ fill: "transparent",
536
+ stroke: "none",
537
+ class: v({ animated: !G.value && !E(z) }),
538
+ onClick: () => Q(e, t),
539
+ onMouseenter: () => ut({
540
+ datapoint: e,
541
+ seriesIndex: t
542
+ }),
543
+ onMouseleave: (n) => lt({
544
+ datapoint: e,
545
+ seriesIndex: t
546
+ })
547
+ }, null, 42, Pe))), 128))
548
+ ])) : (x(), m("rect", {
549
+ key: 1,
550
+ x: 2,
551
+ y: 1,
552
+ width: K.value.width - 4,
553
+ height: K.value.height - 2,
554
+ stroke: "#CCCCCC",
555
+ "stroke-width": "2",
556
+ fill: "transparent",
557
+ rx: (K.value.height - 4) / 2
558
+ }, null, 8, Fe))
559
+ ], 40, Oe)), e.$slots.hint ? (x(), m("div", Ie, [w(e.$slots, "hint", y(_({
560
+ hint: R.value.a11y.translations.keyboardNavigation,
561
+ isVisible: I.value
562
+ })), void 0, !0)])) : p("", !0)]),
563
+ R.value.style.legend.show ? (x(), m("div", {
564
+ key: 2,
565
+ style: b(`background:transparent;margin:0 auto;margin:${R.value.style.legend.margin};justify-content:${R.value.style.legend.textAlign === "left" ? "flex-start" : R.value.style.legend.textAlign === "right" ? "flex-end" : "center"}`),
566
+ class: "vue-ui-sparkstackbar-legend",
567
+ "aria-label": "legend",
568
+ role: "toolbar"
569
+ }, [R.value.style.legend.selectAllToggle.show && J.value.length > 2 && !E(z) ? (x(), f(he, {
570
+ key: 0,
571
+ backgroundColor: R.value.style.legend.selectAllToggle.backgroundColor,
572
+ color: R.value.style.legend.selectAllToggle.color,
573
+ fontSize: R.value.style.legend.fontSize,
574
+ checked: q.value.length > 0,
575
+ isCursorPointer: Qe.value,
576
+ onToggle: it
577
+ }, null, 8, [
578
+ "backgroundColor",
579
+ "color",
580
+ "fontSize",
581
+ "checked",
582
+ "isCursorPointer"
583
+ ])) : p("", !0), (x(!0), m(u, null, C(J.value, (e, n) => (x(), m("div", {
584
+ role: "button",
585
+ tabindex: "0",
586
+ "aria-pressed": q.value.includes(n),
587
+ "aria-label": `${e.name}, ${q.value.includes(n) ? "hidden" : "visible"}, ${e.proportionLabel}`,
588
+ style: b(`font-size:${R.value.style.legend.fontSize}px;cursor:${Qe.value ? "pointer" : "default"}`),
589
+ class: v({
590
+ "vue-ui-sparkstackbar-legend-item": !0,
591
+ "vue-ui-sparkstackbar-legend-item-unselected": q.value.includes(n)
592
+ }),
593
+ onClick: (t) => {
594
+ X(n), Q(e, n, !0);
595
+ },
596
+ onFocus: (t) => ht(e),
597
+ onBlur: gt,
598
+ onKeydown: (t) => _t(t, e, n)
599
+ }, [h("div", Re, [(x(), m("svg", {
600
+ height: `${R.value.style.legend.fontSize}px`,
601
+ width: `${R.value.style.legend.fontSize}px`,
602
+ viewBox: "0 0 10 10"
603
+ }, [h("defs", null, [g(me, {
604
+ t: "radial",
605
+ id: `legend_grad_${n}-${k.value}`,
606
+ stops: [[
607
+ "0%",
608
+ E(z) ? "#FFFFFF" : E(t)(E(o)(e.color, .05), 100 - R.value.style.bar.gradient.intensity),
609
+ 1
610
+ ], [
611
+ "100%",
612
+ e.color,
613
+ 1
614
+ ]]
615
+ }, null, 8, ["id", "stops"])]), h("circle", {
616
+ cx: 5,
617
+ cy: 5,
618
+ r: 5,
619
+ fill: R.value.style.bar.gradient.show ? `url(#legend_grad_${n}-${k.value})` : e.color
620
+ }, null, 8, Be)], 8, ze)), E(z) ? p("", !0) : (x(), m(u, { key: 0 }, [h("span", { style: b(`color:${R.value.style.legend.name.color}; font-weight:${R.value.style.legend.name.bold ? "bold" : "normal"}`) }, T(e.name), 5), G.value ? p("", !0) : (x(), m(u, { key: 0 }, [R.value.style.legend.percentage.show ? (x(), m("span", {
621
+ key: 0,
622
+ style: b(`font-weight:${R.value.style.legend.percentage.bold ? "bold" : "normal"};color:${R.value.style.legend.percentage.color}`)
623
+ }, T(q.value.includes(n) ? " - " : e.proportionLabel), 5)) : p("", !0), R.value.style.legend.value.show ? (x(), m("span", {
624
+ key: 1,
625
+ style: b(`font-weight:${R.value.style.legend.value.bold ? "bold" : "normal"};color:${R.value.style.legend.value.color}`)
626
+ }, " (" + T(E(c)(R.value.style.legend.value.formatter, e.value, E(s)({
627
+ p: R.value.style.legend.value.prefix,
628
+ v: e.value,
629
+ s: R.value.style.legend.value.suffix,
630
+ r: R.value.style.legend.value.rounding
631
+ }), {
632
+ datapoint: e,
633
+ seriesIndex: n
634
+ })) + ") ", 5)) : p("", !0)], 64))], 64))])], 46, Le))), 256))], 4)) : p("", !0),
635
+ g(E(Ue), {
636
+ teleportTo: R.value.style.tooltip.teleportTo,
637
+ show: A.value && R.value.style.tooltip.show,
638
+ parent: Ye.value,
639
+ backgroundColor: R.value.style.tooltip.backgroundColor,
640
+ color: R.value.style.tooltip.color,
641
+ fontSize: R.value.style.tooltip.fontSize,
642
+ borderRadius: R.value.style.tooltip.borderRadius,
643
+ borderColor: R.value.style.tooltip.borderColor,
644
+ borderWidth: R.value.style.tooltip.borderWidth,
645
+ backgroundOpacity: R.value.style.tooltip.backgroundOpacity,
646
+ position: R.value.style.tooltip.position,
647
+ content: j.value,
648
+ isCustom: N.value,
649
+ offsetX: R.value.style.tooltip.offsetX,
650
+ offsetY: -124 + R.value.style.tooltip.offsetY,
651
+ blockShiftY: !0,
652
+ smooth: R.value.style.tooltip.smooth,
653
+ backdropFilter: R.value.style.tooltip.backdropFilter,
654
+ smoothForce: R.value.style.tooltip.smoothForce,
655
+ smoothSnapThreshold: R.value.style.tooltip.smoothSnapThreshold,
656
+ isA11yMode: F.value === "keyboard",
657
+ a11yPosition: Xe.value
658
+ }, {
659
+ "tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(_({ ...M.value })), void 0, !0)]),
660
+ tooltip: D(() => [w(e.$slots, "tooltip", y(_({ ...M.value })), void 0, !0)]),
661
+ "tooltip-after": D(() => [w(e.$slots, "tooltip-after", y(_({ ...M.value })), void 0, !0)]),
662
+ _: 3
663
+ }, 8, [
664
+ "teleportTo",
665
+ "show",
666
+ "parent",
667
+ "backgroundColor",
668
+ "color",
669
+ "fontSize",
670
+ "borderRadius",
671
+ "borderColor",
672
+ "borderWidth",
673
+ "backgroundOpacity",
674
+ "position",
675
+ "content",
676
+ "isCustom",
677
+ "offsetX",
678
+ "offsetY",
679
+ "smooth",
680
+ "backdropFilter",
681
+ "smoothForce",
682
+ "smoothSnapThreshold",
683
+ "isA11yMode",
684
+ "a11yPosition"
685
+ ]),
686
+ e.$slots.source ? (x(), m("div", Ve, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
687
+ w(e.$slots, "skeleton", {}, () => [E(z) ? (x(), f(de, { key: 0 })) : p("", !0)], !0)
688
+ ], 4));
689
+ }
690
+ }, [["__scopeId", "data-v-a69e0725"]]);
691
+ //#endregion
692
+ export { Te as n, He as t };