vue-data-ui 3.25.4 → 3.25.6

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 (213) hide show
  1. package/README.md +13 -13
  2. package/dist/{BaseDraggableDialog-BM_R41j8.js → BaseDraggableDialog-Gm4Q30j0.js} +1 -1
  3. package/dist/{BaseIcon-t83PDe9k.js → BaseIcon-D8R6_sKH.js} +5 -5
  4. package/dist/{BaseLegendToggle-__JnV08B.js → BaseLegendToggle-CXQrLjd-.js} +1 -1
  5. package/dist/{BaseZoomControls-Xo16vFa4.js → BaseZoomControls-BTzjVDPM.js} +1 -1
  6. package/dist/{ColorPicker-ZJrR3Olp.js → ColorPicker-CUy15T72.js} +102 -100
  7. package/dist/{DataTable-COIO9gi4.js → DataTable-oiM9uWrQ.js} +1 -1
  8. package/dist/{HillActions-Cl-dNBZR.js → HillActions-Dn8aKOVJ.js} +1 -1
  9. package/dist/{NonSvgPenAndPaper-DS84BAOx.js → NonSvgPenAndPaper-DFXjpRyl.js} +2 -2
  10. package/dist/{PackageVersion-5SWftabm.js → PackageVersion-ur6jKRL5.js} +1 -1
  11. package/dist/{PenAndPaper-B_SdRSKH.js → PenAndPaper-KFzKlvbi.js} +20 -4
  12. package/dist/{SlicerPreview-GvsdvE-h.js → SlicerPreview-B6iHOC9L.js} +1 -1
  13. package/dist/{UserOptions-f3Q0nqrj.js → UserOptions-2x4VklMW.js} +1 -1
  14. package/dist/components/vue-ui-3d-bar.js +1 -1
  15. package/dist/components/vue-ui-accordion.js +1 -1
  16. package/dist/components/vue-ui-age-pyramid.js +1 -1
  17. package/dist/components/vue-ui-annotator.js +1 -1
  18. package/dist/components/vue-ui-bullet.js +1 -1
  19. package/dist/components/vue-ui-bump.js +1 -1
  20. package/dist/components/vue-ui-candlestick.js +1 -1
  21. package/dist/components/vue-ui-carousel-table.js +1 -1
  22. package/dist/components/vue-ui-chestnut.js +1 -1
  23. package/dist/components/vue-ui-chord.js +1 -1
  24. package/dist/components/vue-ui-circle-pack.js +1 -1
  25. package/dist/components/vue-ui-cursor.js +1 -1
  26. package/dist/components/vue-ui-dag.js +1 -1
  27. package/dist/components/vue-ui-dashboard.js +1 -1
  28. package/dist/components/vue-ui-digits.js +1 -1
  29. package/dist/components/vue-ui-donut-evolution.js +1 -1
  30. package/dist/components/vue-ui-donut.js +1 -1
  31. package/dist/components/vue-ui-dumbbell.js +1 -1
  32. package/dist/components/vue-ui-flow.js +1 -1
  33. package/dist/components/vue-ui-funnel.js +1 -1
  34. package/dist/components/vue-ui-galaxy.js +1 -1
  35. package/dist/components/vue-ui-gauge.js +1 -1
  36. package/dist/components/vue-ui-geo.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-hill.js +1 -1
  40. package/dist/components/vue-ui-history-plot.js +1 -1
  41. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  42. package/dist/components/vue-ui-icon.js +1 -1
  43. package/dist/components/vue-ui-kpi.js +1 -1
  44. package/dist/components/vue-ui-label.js +1 -1
  45. package/dist/components/vue-ui-mini-loader.js +1 -1
  46. package/dist/components/vue-ui-molecule.js +1 -1
  47. package/dist/components/vue-ui-mood-radar.js +1 -1
  48. package/dist/components/vue-ui-nested-donuts.js +1 -1
  49. package/dist/components/vue-ui-onion.js +1 -1
  50. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  51. package/dist/components/vue-ui-quadrant.js +1 -1
  52. package/dist/components/vue-ui-quick-chart.js +1 -1
  53. package/dist/components/vue-ui-radar.js +1 -1
  54. package/dist/components/vue-ui-rating.js +1 -1
  55. package/dist/components/vue-ui-relation-circle.js +1 -1
  56. package/dist/components/vue-ui-ridgeline.js +1 -1
  57. package/dist/components/vue-ui-rings.js +1 -1
  58. package/dist/components/vue-ui-scatter.js +1 -1
  59. package/dist/components/vue-ui-skeleton.js +1 -1
  60. package/dist/components/vue-ui-smiley.js +1 -1
  61. package/dist/components/vue-ui-spark-trend.js +1 -1
  62. package/dist/components/vue-ui-sparkbar.js +1 -1
  63. package/dist/components/vue-ui-sparkgauge.js +1 -1
  64. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  65. package/dist/components/vue-ui-sparkline.js +1 -1
  66. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  67. package/dist/components/vue-ui-stackbar.js +1 -1
  68. package/dist/components/vue-ui-stackline.js +1 -1
  69. package/dist/components/vue-ui-strip-plot.js +1 -1
  70. package/dist/components/vue-ui-table-heatmap.js +1 -1
  71. package/dist/components/vue-ui-table-sparkline.js +1 -1
  72. package/dist/components/vue-ui-table.js +1 -1
  73. package/dist/components/vue-ui-thermometer.js +1 -1
  74. package/dist/components/vue-ui-timer.js +1 -1
  75. package/dist/components/vue-ui-tiremarks.js +1 -1
  76. package/dist/components/vue-ui-treemap.js +1 -1
  77. package/dist/components/vue-ui-vertical-bar.js +1 -1
  78. package/dist/components/vue-ui-waffle.js +1 -1
  79. package/dist/components/vue-ui-wheel.js +1 -1
  80. package/dist/components/vue-ui-word-cloud.js +1 -1
  81. package/dist/components/vue-ui-world.js +1 -1
  82. package/dist/components/vue-ui-xy-canvas.js +1 -1
  83. package/dist/components/vue-ui-xy.js +1 -1
  84. package/dist/{package-DmsdiyeS.js → package-Dx7M6sYy.js} +1 -1
  85. package/dist/{render-common-zoPh9a78.js → render-common-DETHvNhl.js} +1 -1
  86. package/dist/ssr/vue-ui-donut.js +1 -1
  87. package/dist/ssr/vue-ui-xy.js +1 -1
  88. package/dist/ssr.js +2 -2
  89. package/dist/style.css +1 -1
  90. package/dist/types/vue-data-ui.d.ts +80 -1
  91. package/dist/types/vue-ui-annotator.d.ts +58 -2
  92. package/dist/{useConfig-CyCVHo81.js → useConfig-CIQZ6_r7.js} +1339 -1313
  93. package/dist/{useObjectBindings-ByORl1rV.js → useObjectBindings---mHNfbS.js} +2 -2
  94. package/dist/utils.js +1 -1
  95. package/dist/{vue-data-ui-DTj71yB7.js → vue-data-ui-Dh3_EsHb.js} +70 -70
  96. package/dist/vue-data-ui.js +71 -71
  97. package/dist/vue-ui-3d-bar-i1REAKnM.js +1831 -0
  98. package/dist/{vue-ui-accordion-D4zsdacF.js → vue-ui-accordion-BSmBUjwZ.js} +2 -2
  99. package/dist/vue-ui-age-pyramid-DuHblCNO.js +1293 -0
  100. package/dist/vue-ui-annotator-CTQHAPho.js +3325 -0
  101. package/dist/vue-ui-bullet-CYLnKrmM.js +702 -0
  102. package/dist/{vue-ui-bump-BkOtQNWe.js → vue-ui-bump-DhwySwgn.js} +382 -380
  103. package/dist/vue-ui-candlestick-BpiECaDj.js +1859 -0
  104. package/dist/{vue-ui-carousel-table-CRgbs7jR.js → vue-ui-carousel-table-D-T2yA7-.js} +2 -2
  105. package/dist/vue-ui-chestnut-1MsZ9Q3r.js +2016 -0
  106. package/dist/vue-ui-chord-QBQUSe7r.js +1347 -0
  107. package/dist/vue-ui-circle-pack-ZWEwtesD.js +1635 -0
  108. package/dist/{vue-ui-cursor-BHyXRadA.js → vue-ui-cursor-CHQcHAHQ.js} +2 -2
  109. package/dist/{vue-ui-dag-CyVqaLbF.js → vue-ui-dag-C_inEafb.js} +794 -792
  110. package/dist/{vue-ui-dashboard-7I-7wvCP.js → vue-ui-dashboard-Bs2mBur5.js} +74 -72
  111. package/dist/{vue-ui-digits-BBL8uERO.js → vue-ui-digits-DwE4MoXI.js} +2 -2
  112. package/dist/vue-ui-donut-BM9dMHXj.js +2415 -0
  113. package/dist/{vue-ui-donut-DcgUuefk.js → vue-ui-donut-CbOSJmRu.js} +2 -2
  114. package/dist/vue-ui-donut-evolution-C97_RHus.js +1552 -0
  115. package/dist/vue-ui-dumbbell-DwKa5EL5.js +1533 -0
  116. package/dist/vue-ui-flow-DTTr3YL9.js +1217 -0
  117. package/dist/vue-ui-funnel-C4pkBk3D.js +749 -0
  118. package/dist/vue-ui-galaxy-CuAPLOvX.js +1085 -0
  119. package/dist/vue-ui-gauge-DLDULH26.js +934 -0
  120. package/dist/{vue-ui-geo-jR4P4pbt.js → vue-ui-geo-DXIHhp-G.js} +431 -429
  121. package/dist/{vue-ui-gizmo-D6W86s9o.js → vue-ui-gizmo-PuURiePo.js} +2 -2
  122. package/dist/vue-ui-heatmap-mvWLKB99.js +1555 -0
  123. package/dist/{vue-ui-hill-fFq7pm-g.js → vue-ui-hill-DqsVJkmO.js} +472 -470
  124. package/dist/vue-ui-history-plot-BBVLgt9_.js +1698 -0
  125. package/dist/{vue-ui-horizontal-bar-D3Sft4kp.js → vue-ui-horizontal-bar-y8Q8PZwT.js} +513 -511
  126. package/dist/{vue-ui-kpi-fzLsKlyE.js → vue-ui-kpi-B2hf3kpp.js} +2 -2
  127. package/dist/{vue-ui-label-BSgLalWD.js → vue-ui-label-ClMQ5Gez.js} +1 -1
  128. package/dist/{vue-ui-mini-loader-BL2odRfu.js → vue-ui-mini-loader-DtPOVIkK.js} +1 -1
  129. package/dist/vue-ui-molecule-eeW1Pmg8.js +929 -0
  130. package/dist/{vue-ui-mood-radar-bvGx6XgG.js → vue-ui-mood-radar-Dd1qfUiu.js} +378 -376
  131. package/dist/vue-ui-nested-donuts-CUARCr6O.js +1503 -0
  132. package/dist/vue-ui-onion-NoxHP0cG.js +1235 -0
  133. package/dist/{vue-ui-parallel-coordinate-plot-B_QJ4N9o.js → vue-ui-parallel-coordinate-plot-Cp3pCyxK.js} +409 -407
  134. package/dist/vue-ui-quadrant-C3kQtaeX.js +1967 -0
  135. package/dist/{vue-ui-quick-chart-BFscCR59.js → vue-ui-quick-chart-BZq517pL.js} +8 -6
  136. package/dist/vue-ui-radar-DvNrl4uD.js +1374 -0
  137. package/dist/vue-ui-rating-CWFMoYpE.js +359 -0
  138. package/dist/vue-ui-relation-circle-1iS6C0xx.js +905 -0
  139. package/dist/vue-ui-ridgeline-B-EZiPCF.js +1630 -0
  140. package/dist/vue-ui-rings-BXuwrHos.js +1252 -0
  141. package/dist/vue-ui-scatter-ByL-ZZ3B.js +2405 -0
  142. package/dist/{vue-ui-skeleton-zmbcOVEf.js → vue-ui-skeleton-BcU1onF6.js} +698 -698
  143. package/dist/vue-ui-smiley-DJVusLnp.js +376 -0
  144. package/dist/vue-ui-spark-trend-DjS31avb.js +457 -0
  145. package/dist/vue-ui-sparkbar-1Al_TLw1.js +401 -0
  146. package/dist/vue-ui-sparkgauge-CwLo53Y8.js +268 -0
  147. package/dist/vue-ui-sparkhistogram-CGw6SThG.js +589 -0
  148. package/dist/{vue-ui-sparkline-Dv7XrEzO.js → vue-ui-sparkline-CSZGBFfI.js} +511 -511
  149. package/dist/vue-ui-sparkstackbar-B8dloLMp.js +738 -0
  150. package/dist/vue-ui-stackbar-FvNd77t1.js +2355 -0
  151. package/dist/vue-ui-stackline-CP7PkqiG.js +2469 -0
  152. package/dist/vue-ui-strip-plot-DSMlDkv1.js +1740 -0
  153. package/dist/{vue-ui-table-heatmap-Dv_ZKKm3.js → vue-ui-table-heatmap-DnP3pzh2.js} +2 -2
  154. package/dist/vue-ui-table-rwKtnJKt.js +1352 -0
  155. package/dist/vue-ui-table-sparkline-B6wyEAyC.js +738 -0
  156. package/dist/{vue-ui-thermometer-DytlLJ32.js → vue-ui-thermometer-D0_KsB-y.js} +194 -192
  157. package/dist/{vue-ui-timer-CvHP4HoW.js → vue-ui-timer-1Z2zginj.js} +153 -153
  158. package/dist/vue-ui-tiremarks-zbl7aooy.js +540 -0
  159. package/dist/vue-ui-treemap-Drs4gK6L.js +1733 -0
  160. package/dist/vue-ui-waffle-DqUVsVNE.js +1621 -0
  161. package/dist/vue-ui-wheel-DLCBPW9t.js +873 -0
  162. package/dist/vue-ui-word-cloud-8Agk9h6c.js +1710 -0
  163. package/dist/{vue-ui-world-D0_2upjg.js → vue-ui-world-BOBHo7-L.js} +526 -524
  164. package/dist/vue-ui-xy-CSTJzRkk.js +5283 -0
  165. package/dist/{vue-ui-xy-D_5FfaH-.js → vue-ui-xy-Dmk1gQkI.js} +2 -2
  166. package/dist/vue-ui-xy-canvas-DANPuyf4.js +1824 -0
  167. package/dist/{vue_ui_age_pyramid-BY6c-oX_.js → vue_ui_age_pyramid-B2R66DgQ.js} +15 -6
  168. package/package.json +1 -1
  169. package/dist/vue-ui-3d-bar-CH8SpxS2.js +0 -1829
  170. package/dist/vue-ui-age-pyramid-B9MUVi75.js +0 -1241
  171. package/dist/vue-ui-annotator-CmlcWPIm.js +0 -2886
  172. package/dist/vue-ui-bullet-n8KNnDwh.js +0 -700
  173. package/dist/vue-ui-candlestick-Bxlvqk49.js +0 -1857
  174. package/dist/vue-ui-chestnut-ByDKbkG9.js +0 -2014
  175. package/dist/vue-ui-chord-DQRBgVOx.js +0 -1345
  176. package/dist/vue-ui-circle-pack-CBBc0HOe.js +0 -1633
  177. package/dist/vue-ui-donut-DfiocufT.js +0 -2413
  178. package/dist/vue-ui-donut-evolution-BoqO8By2.js +0 -1550
  179. package/dist/vue-ui-dumbbell-7M_oUQdi.js +0 -1529
  180. package/dist/vue-ui-flow-CoylrfnO.js +0 -1215
  181. package/dist/vue-ui-funnel-DaBYHWIC.js +0 -747
  182. package/dist/vue-ui-galaxy-BIebStQ3.js +0 -1083
  183. package/dist/vue-ui-gauge-CwdTmiRP.js +0 -932
  184. package/dist/vue-ui-heatmap-DXYlGwqR.js +0 -1553
  185. package/dist/vue-ui-history-plot-CgIELoD2.js +0 -1696
  186. package/dist/vue-ui-molecule-DeHWkkhy.js +0 -929
  187. package/dist/vue-ui-nested-donuts-CeAV2xPk.js +0 -1501
  188. package/dist/vue-ui-onion-B7oFulsQ.js +0 -1233
  189. package/dist/vue-ui-quadrant-DrKnz37q.js +0 -1965
  190. package/dist/vue-ui-radar-Bzx69q8f.js +0 -1372
  191. package/dist/vue-ui-rating-CimC9FQ9.js +0 -359
  192. package/dist/vue-ui-relation-circle-DIQYyDGb.js +0 -903
  193. package/dist/vue-ui-ridgeline-CPEnM45x.js +0 -1621
  194. package/dist/vue-ui-rings-qPL5Iwji.js +0 -1250
  195. package/dist/vue-ui-scatter-BB0ClTsU.js +0 -2403
  196. package/dist/vue-ui-smiley-DzPkCMN-.js +0 -376
  197. package/dist/vue-ui-spark-trend-Ciq7-k_q.js +0 -457
  198. package/dist/vue-ui-sparkbar-D1M7-naP.js +0 -401
  199. package/dist/vue-ui-sparkgauge-rsqaeR_n.js +0 -268
  200. package/dist/vue-ui-sparkhistogram-C4WXt2Ni.js +0 -589
  201. package/dist/vue-ui-sparkstackbar-DDOXdeV-.js +0 -738
  202. package/dist/vue-ui-stackbar-C_hMnOLb.js +0 -2353
  203. package/dist/vue-ui-stackline-BHGi63lD.js +0 -2467
  204. package/dist/vue-ui-strip-plot-Cygpn-l8.js +0 -1738
  205. package/dist/vue-ui-table-BQna1wL6.js +0 -1352
  206. package/dist/vue-ui-table-sparkline-BCuimtk6.js +0 -738
  207. package/dist/vue-ui-tiremarks-BvjdZwgh.js +0 -538
  208. package/dist/vue-ui-treemap-C5OpqzSc.js +0 -1731
  209. package/dist/vue-ui-waffle-B7T_Zzan.js +0 -1619
  210. package/dist/vue-ui-wheel-D1B0k7IW.js +0 -871
  211. package/dist/vue-ui-word-cloud-C4pX6jop.js +0 -1708
  212. package/dist/vue-ui-xy-Ck41KYqF.js +0 -5281
  213. package/dist/vue-ui-xy-canvas-B_8Mu19r.js +0 -1824
@@ -1,738 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Ct as t, Lt as n, Pt as r, S as i, Ut as a, Wt as o, X as s, Yt as c, Zt as l, ht as ee, i as te, nt as ne, q as re, t as ie, w as ae } from "./lib-Dql7cqyA.js";
3
- import { n as oe, t as se } from "./useHints-Dq_w2E8B.js";
4
- import { t as ce } from "./useConfig-CyCVHo81.js";
5
- import { n as le, t as ue } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as de } from "./useNestedProp-Chvyfpl-.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-__JnV08B.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 Te } from "vue";
16
- //#region src/components/vue-ui-sparkstackbar.vue
17
- var Ee = /* @__PURE__ */ e({ default: () => Ke }), De = ["id"], Oe = { style: { position: "relative" } }, ke = [
18
- "xmlns",
19
- "viewBox",
20
- "aria-describedby"
21
- ], Ae = ["id"], je = [
22
- "width",
23
- "height",
24
- "rx"
25
- ], Me = ["clip-path"], Ne = [
26
- "x",
27
- "width",
28
- "height",
29
- "fill"
30
- ], Pe = [
31
- "x",
32
- "width",
33
- "height",
34
- "fill"
35
- ], Fe = [
36
- "x",
37
- "height",
38
- "fill"
39
- ], Ie = [
40
- "x",
41
- "width",
42
- "height",
43
- "onClick",
44
- "onMouseenter",
45
- "onMouseleave"
46
- ], Le = [
47
- "width",
48
- "height",
49
- "rx",
50
- "stroke"
51
- ], Re = [
52
- "width",
53
- "height",
54
- "rx"
55
- ], ze = {
56
- key: 0,
57
- style: {
58
- position: "absolute",
59
- top: "100%",
60
- left: "0",
61
- width: "100%"
62
- },
63
- "data-dom-to-png-ignore": "",
64
- "aria-hidden": "true"
65
- }, Be = [
66
- "aria-pressed",
67
- "aria-label",
68
- "onClick",
69
- "onFocus",
70
- "onKeydown"
71
- ], Ve = { style: {
72
- display: "flex",
73
- "flex-direction": "row",
74
- "align-items": "center",
75
- gap: "4px",
76
- "justify-content": "center"
77
- } }, He = ["height", "width"], Ue = ["rx", "fill"], We = ["rx", "fill"], Ge = {
78
- key: 3,
79
- ref: "source",
80
- dir: "auto"
81
- }, Ke = /*#__PURE__*/ pe({
82
- __name: "vue-ui-sparkstackbar",
83
- props: {
84
- config: {
85
- type: Object,
86
- default() {
87
- return {};
88
- }
89
- },
90
- dataset: {
91
- type: Array,
92
- default() {
93
- return [];
94
- }
95
- }
96
- },
97
- emits: ["selectDatapoint", "selectLegend"],
98
- setup(e, { expose: pe, emit: Ee }) {
99
- let Ke = be(() => import("./PackageVersion-5SWftabm.js").then((e) => e.t)), qe = be(() => import("./Tooltip-hhrkQ3Lk.js")), { vue_ui_sparkstackbar: Je } = ce(), { isThemeValid: Ye, warnInvalidTheme: Xe } = fe(), Ze = ve(), Qe = Ce(), D = e, $e = S(null), O = S(re()), k = S(!1), A = S(""), j = S(null), M = S(!1), N = S(null), et = S({
100
- x: 0,
101
- y: 0
102
- }), P = S("pointer"), tt = S(!1), F = S(null), nt = S([]), I = S(V()), L = d(() => I.value.debug);
103
- xe(() => {
104
- Qe["chart-background"] && L.value && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
105
- }), oe({
106
- config: () => I.value,
107
- dataset: () => D.dataset,
108
- component: "VueUiSparkStackbar",
109
- rules: [se.emptyArray, {
110
- test: (e) => e.length > 6,
111
- message: [
112
- "👀 The number of series is > 6. Consider:",
113
- "",
114
- "▶️ Grouping small values dynamically into a single \"Other\" series.",
115
- "",
116
- "▶️ Using VueUiHorizontalBar instead to make the dataset breakdown easier to read."
117
- ]
118
- }]
119
- });
120
- let rt = d(() => I.value.useCursorPointer), it = d(() => l({
121
- defaultConfig: { style: {
122
- backgroundColor: "#99999930",
123
- animation: { show: !1 },
124
- bar: { gradient: { inderlayerColor: "#6A6A6A" } },
125
- title: { backgroundColor: "transparent" }
126
- } },
127
- userConfig: I.value.skeletonConfig ?? {}
128
- })), { loading: R, FINAL_DATASET: z } = le({
129
- ...Se(D),
130
- FINAL_CONFIG: I,
131
- prepareConfig: V,
132
- skeletonDataset: D.config?.skeletonDataset ?? [
133
- {
134
- name: "_",
135
- value: 8,
136
- color: "#808080"
137
- },
138
- {
139
- name: "_",
140
- value: 5,
141
- color: "#ADADAD"
142
- },
143
- {
144
- name: "_",
145
- value: 3,
146
- color: "#DBDBDB"
147
- }
148
- ],
149
- skeletonConfig: l({
150
- defaultConfig: I.value,
151
- userConfig: it.value
152
- })
153
- }), { svgRef: B } = _e({ config: I.value.style.title });
154
- function V() {
155
- let e = de({
156
- userConfig: D.config,
157
- defaultConfig: Je
158
- }), t = e.theme;
159
- if (!t) return e;
160
- if (!Ye.value(e)) return Xe(e), e;
161
- let r = de({
162
- userConfig: ye[t] || D.config,
163
- defaultConfig: e
164
- }), i = de({
165
- userConfig: D.config,
166
- defaultConfig: r
167
- });
168
- return {
169
- ...i,
170
- customPalette: i.customPalette.length ? i.customPalette : c[t] || n
171
- };
172
- }
173
- we(() => D.config, (e) => {
174
- I.value = V(), ot();
175
- }, { deep: !0 }), we(() => z.value, (e) => {
176
- U.value = z.value.map((e, t) => ({
177
- ...e,
178
- color: e.color ? i(e.color) : H.value[t] || n[t] || n[t % n.length]
179
- })), at();
180
- }, { deep: !0 });
181
- let H = d(() => ae(I.value.customPalette)), U = S(z.value.map((e, t) => ({
182
- ...e,
183
- value: I.value.style.animation.show ? 0 : e.value || 0,
184
- color: e.color ? i(e.color) : H.value[t] || n[t] || n[t % n.length]
185
- }))), W = S(!0);
186
- function at() {
187
- if (!I.value.style.animation.show || Ze.value) {
188
- W.value = !1;
189
- return;
190
- }
191
- let e = I.value.style.animation.animationFrames, t = z.value.map((e) => e.value || 0), r = t.map((t) => t / e), a = t.reduce((e, t) => e + t, 0), o = 0;
192
- W.value = !0, U.value = z.value.map((e, t) => ({
193
- ...e,
194
- value: 0,
195
- color: e.color ? i(e.color) : H.value[t] || n[t] || n[t % n.length]
196
- }));
197
- function s() {
198
- o += a / e, o < a ? (U.value = U.value.map((e, a) => ({
199
- ...e,
200
- value: Math.min(e.value + r[a], t[a]),
201
- color: e.color ? i(e.color) : H.value[a] || n[a] || n[a % n.length]
202
- })), requestAnimationFrame(s)) : (W.value = !1, U.value = z.value.map((e, r) => ({
203
- ...e,
204
- value: t[r],
205
- color: e.color ? i(e.color) : H.value[r] || n[r] || n[r % n.length],
206
- id: re()
207
- })));
208
- }
209
- s();
210
- }
211
- xe(() => {
212
- ot();
213
- });
214
- function ot() {
215
- r(D.dataset) ? ne({
216
- componentName: "VueUiSparkStackbar",
217
- type: "dataset",
218
- debug: L.value
219
- }) : L.value && D.dataset.forEach((e, t) => {
220
- ee({
221
- datasetObject: e,
222
- requiredAttributes: ["name", "value"]
223
- }).forEach((e) => {
224
- ne({
225
- componentName: "VueUiSparkStackbar",
226
- type: "datasetSerieAttribute",
227
- property: e,
228
- index: t
229
- });
230
- });
231
- }), at();
232
- }
233
- let G = S({
234
- width: 500,
235
- height: 16
236
- }), K = S([]), st = d(() => z.value.map((e) => e.value || 0).filter((e, t) => !K.value.includes(t)).reduce((e, t) => e + t, 0)), q = d(() => U.value.map((e, t) => {
237
- let r = e.value || 0, a = r / st.value, o = isNaN(a) ? 0 : a, c = o * G.value.width;
238
- return {
239
- ...e,
240
- color: i(z.value[t]?.color ? z.value[t]?.color : H.value[t] || n[t] || n[t % n.length]),
241
- value: r,
242
- proportion: o,
243
- width: c,
244
- seriesIndex: t,
245
- proportionLabel: s({
246
- v: o * 100,
247
- s: "%",
248
- r: I.value.style.legend.percentage.rounding
249
- })
250
- };
251
- })), J = d(() => q.value.filter((e, t) => !K.value.includes(t)));
252
- function ct() {
253
- k.value = !1, F.value = null, N.value = null, P.value = "pointer";
254
- }
255
- function lt() {
256
- ct(), K.value.length ? K.value = [] : q.value.forEach((e, t) => {
257
- K.value.push(t);
258
- }), mt("selectLegend", J.value);
259
- }
260
- function Y(e) {
261
- ct(), K.value.includes(e) ? K.value = K.value.filter((t) => t !== e) : K.value.length < U.value.length - 1 && K.value.push(e), mt("selectLegend", J.value);
262
- }
263
- function ut(e) {
264
- return q.value.length ? q.value.find((t) => t.name === e) || (I.value.debug && console.warn(`VueUiSparkStackbar - Series name not found "${e}"`), null) : (I.value.debug && console.warn("VueUiSparkStackbar - There are no series to show."), null);
265
- }
266
- function dt(e) {
267
- let t = ut(e);
268
- t !== null && K.value.includes(t.id) && Y(t.seriesIndex);
269
- }
270
- function ft(e) {
271
- let t = ut(e);
272
- t !== null && (K.value.includes(t.id) || Y(t.seriesIndex));
273
- }
274
- let X = d(() => {
275
- let e = 0, t = [];
276
- for (let n = 0; n < J.value.length; n += 1) t.push({
277
- ...J.value[n],
278
- start: e
279
- }), e += J.value[n].width;
280
- return t;
281
- }), pt = d(() => {
282
- let e = X.value.reduce((e, t) => e + t.width, 0);
283
- return Math.min(Math.max(e, 0), G.value.width);
284
- }), mt = Ee;
285
- function Z(e, t, n = !1) {
286
- mt("selectDatapoint", {
287
- datapoint: e,
288
- index: t
289
- }), I.value.events.datapointClick && !n && I.value.events.datapointClick({
290
- datapoint: e,
291
- seriesIndex: e.seriesIndex
292
- });
293
- }
294
- function ht({ datapoint: e, seriesIndex: t }) {
295
- k.value = !1, F.value = null, N.value = null, P.value = "pointer", I.value.events.datapointLeave && I.value.events.datapointLeave({
296
- datapoint: e,
297
- seriesIndex: e.seriesIndex
298
- });
299
- }
300
- function gt({ datapoint: e, seriesIndex: n, triggerMode: r = "pointer" }) {
301
- if (M.value = !1, I.value.events.datapointEnter && I.value.events.datapointEnter({
302
- datapoint: e,
303
- seriesIndex: e.seriesIndex
304
- }), !I.value.style.tooltip.show) return;
305
- P.value = r, j.value = {
306
- datapoint: e,
307
- seriesIndex: n,
308
- config: I.value,
309
- series: q.value
310
- }, k.value = !0, F.value = e.seriesIndex;
311
- let i = I.value.style.tooltip.customFormat;
312
- if (t(i)) try {
313
- let t = i({
314
- seriesIndex: e.seriesIndex,
315
- datapoint: e,
316
- series: q.value,
317
- config: I.value
318
- });
319
- typeof t == "string" && (A.value = t, M.value = !0);
320
- } catch {
321
- console.warn("Custom format cannot be applied."), M.value = !1;
322
- }
323
- if (!M.value) {
324
- let t = "", r = I.value.style.bar.gradient.show, i = `tooltip_grad_${n}_${O.value}`, c = a(o(e.color, .05), 100 - I.value.style.bar.gradient.intensity), l = r ? `<rect x="0" y="0" width="10" height="10" rx="${Q.value}" fill="${I.value.style.bar.gradient.underlayerColor}"/>` : "", ee = r ? `<defs><radialGradient id="${i}"><stop offset="0%" stop-color="${c}"/><stop offset="100%" stop-color="${e.color}"/></radialGradient></defs>` : "";
325
- t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${I.value.style.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 10 10" height="14" width="14">${ee}${l}<rect x="0" y="0" width="10" height="10" rx="${Q.value}" fill="${r ? `url(#${i})` : e.color}"/></svg>`, t += `<b>${e.proportionLabel}</b>`, t += `<span>(${te(I.value.style.legend.value.formatter, e.value, s({
326
- p: I.value.style.legend.value.prefix,
327
- v: e.value,
328
- s: I.value.style.legend.value.suffix,
329
- r: I.value.style.legend.value.rounding
330
- }), {
331
- datapoint: e,
332
- seriesIndex: n
333
- })})</span>`, A.value = `<div>${t}</div>`;
334
- }
335
- }
336
- let _t = d(() => {
337
- let e = I.value.style.bar.borderRadius == null ? G.value.height / 2 : I.value.style.bar.borderRadius;
338
- return Math.min(Math.max(e, 0), G.value.height / 2);
339
- }), Q = d(() => {
340
- let e = G.value.height / 2;
341
- return e === 0 ? 5 : _t.value / e * 5;
342
- });
343
- function $(e) {
344
- let t = nt.value[e];
345
- t && typeof t.focus == "function" && t.focus();
346
- }
347
- function vt(e) {
348
- if (!Number.isFinite(e) || !B.value) return;
349
- let t = X.value[e];
350
- if (!t) return;
351
- let n = B.value.getBoundingClientRect(), r = t.start + t.width / 2, i = G.value.height / 2;
352
- et.value = {
353
- x: n.left + r / G.value.width * n.width,
354
- y: n.top + i / G.value.height * n.height
355
- };
356
- }
357
- function yt() {
358
- N.value = null, tt.value = !0;
359
- }
360
- function bt() {
361
- N.value = null, P.value = "pointer", k.value = !1, F.value = null, tt.value = !1;
362
- }
363
- function xt(e) {
364
- if (!B.value || document.activeElement !== B.value || !X.value.length) return;
365
- 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";
366
- if (!t && !n && !r && !i && !a && !o) return;
367
- if (e.preventDefault(), e.stopPropagation(), i) {
368
- N.value = null, P.value = "pointer", k.value = !1, F.value = null;
369
- return;
370
- }
371
- if (r) {
372
- if (N.value === null) return;
373
- let e = X.value[N.value];
374
- if (!e) return;
375
- Z(e, e.seriesIndex);
376
- return;
377
- }
378
- let s = N.value;
379
- a ? s = 0 : o ? s = X.value.length - 1 : s === null || s < 0 || s >= X.value.length ? s = n ? 0 : X.value.length - 1 : n ? (s += 1, s >= X.value.length && (s = 0)) : t && (--s, s < 0 && (s = X.value.length - 1));
380
- let c = X.value[s];
381
- c && (N.value = s, vt(s), gt({
382
- datapoint: c,
383
- seriesIndex: c.seriesIndex,
384
- triggerMode: "keyboard"
385
- }));
386
- }
387
- function St(e) {
388
- k.value = !1, N.value = null, P.value = "pointer", F.value = e.seriesIndex;
389
- }
390
- function Ct() {
391
- N.value = null, P.value = "pointer", k.value = !1, F.value = null;
392
- }
393
- function wt(e, t, n) {
394
- 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";
395
- if (!(!r && !i && !a && !o && !s && !c)) {
396
- if (e.preventDefault(), e.stopPropagation(), c) {
397
- Ct();
398
- return;
399
- }
400
- if (r) {
401
- Y(n), Z(t, n, !0);
402
- return;
403
- }
404
- if (o) {
405
- $(0);
406
- return;
407
- }
408
- if (s) {
409
- $(q.value.length - 1);
410
- return;
411
- }
412
- if (i) {
413
- $(n <= 0 ? q.value.length - 1 : n - 1);
414
- return;
415
- }
416
- a && $(n >= q.value.length - 1 ? 0 : n + 1);
417
- }
418
- }
419
- let Tt = d(() => ({
420
- headers: [
421
- I.value.a11y.translations.series,
422
- I.value.a11y.translations.percentage,
423
- I.value.a11y.translations.value
424
- ],
425
- rows: q.value.map((e, t) => [
426
- e.name,
427
- K.value.includes(t) ? " - " : e.proportionLabel,
428
- te(I.value.style.legend.value.formatter, e.value, s({
429
- p: I.value.style.legend.value.prefix,
430
- v: e.value,
431
- s: I.value.style.legend.value.suffix,
432
- r: I.value.style.legend.value.rounding
433
- }), {
434
- datapoint: e,
435
- seriesIndex: t
436
- })
437
- ])
438
- }));
439
- return pe({
440
- hideSeries: ft,
441
- showSeries: dt
442
- }), (e, t) => (x(), m("div", {
443
- class: "vue-data-ui-component vue-ui-spark-stackbar",
444
- ref_key: "sparkstackbarChart",
445
- ref: $e,
446
- style: b(`width:100%; background:${I.value.style.backgroundColor}`)
447
- }, [
448
- h("div", {
449
- id: `chart-instructions-${O.value}`,
450
- class: "sr-only"
451
- }, [h("p", null, T(I.value.a11y.translations.keyboardNavigation), 1)], 8, De),
452
- Tt.value?.rows?.length ? (x(), f(ge, {
453
- key: 0,
454
- uid: O.value,
455
- head: Tt.value.headers,
456
- body: Tt.value.rows,
457
- notice: I.value.a11y.translations.tableAvailable,
458
- caption: I.value.a11y.translations.tableCaption
459
- }, null, 8, [
460
- "uid",
461
- "head",
462
- "body",
463
- "notice",
464
- "caption"
465
- ])) : p("", !0),
466
- I.value.style.title.text ? (x(), m("div", {
467
- key: 1,
468
- style: b(`width:calc(100% - 12px);background:transparent;margin:0 auto;margin:${I.value.style.title.margin};padding: 0 6px;text-align:${I.value.style.title.textAlign}`)
469
- }, [h("div", {
470
- class: "atom-title",
471
- style: b(`font-size:${I.value.style.title.fontSize}px;color:${I.value.style.title.color};font-weight:${I.value.style.title.bold ? "bold" : "normal"}`)
472
- }, T(I.value.style.title.text), 5), I.value.style.title.subtitle.text ? (x(), m("div", {
473
- key: 0,
474
- class: "atom-subtitle",
475
- style: b(`font-size:${I.value.style.title.subtitle.fontSize}px;color:${I.value.style.title.subtitle.color};font-weight:${I.value.style.title.subtitle.bold ? "bold" : "normal"}`)
476
- }, T(I.value.style.title.subtitle.text), 5)) : p("", !0)], 4)) : p("", !0),
477
- h("div", Oe, [(x(), m("svg", {
478
- ref_key: "svgRef",
479
- ref: B,
480
- xmlns: E(ie),
481
- width: "100%",
482
- viewBox: `0 0 ${G.value.width} ${G.value.height}`,
483
- "aria-describedby": `chart-instructions-${O.value}`,
484
- tabindex: "0",
485
- onFocus: yt,
486
- onBlur: bt,
487
- onKeydown: xt
488
- }, [
489
- g(E(Ke)),
490
- h("defs", null, [(x(!0), m(u, null, C(X.value, (e, t) => (x(), f(me, {
491
- t: "linear",
492
- id: `stack_gradient_${t}_${O.value}`,
493
- key: `stack_gradient_${t}`,
494
- gradientTransform: "rotate(90)",
495
- stops: [
496
- [
497
- "0%",
498
- e.color,
499
- 1
500
- ],
501
- [
502
- "50%",
503
- E(a)(E(o)(e.color, .05), 100 - I.value.style.bar.gradient.intensity),
504
- 1
505
- ],
506
- [
507
- "100%",
508
- e.color,
509
- 1
510
- ]
511
- ]
512
- }, null, 8, ["id", "stops"]))), 128)), h("clipPath", { id: `stackPill_${O.value}` }, [h("rect", {
513
- x: "0",
514
- y: "0",
515
- width: pt.value,
516
- height: G.value.height,
517
- rx: _t.value,
518
- class: v({ animated: !W.value && !E(R) })
519
- }, null, 10, je)], 8, Ae)]),
520
- st.value > 0 ? (x(), m(u, { key: 0 }, [h("g", { "clip-path": `url(#stackPill_${O.value})` }, [
521
- (x(!0), m(u, null, C(X.value, (e, t) => (x(), m("rect", {
522
- key: `stack_underlayer_${t}`,
523
- x: e.start,
524
- y: 0,
525
- width: e.width,
526
- height: G.value.height,
527
- fill: I.value.style.bar.gradient.underlayerColor,
528
- class: v({ animated: !W.value && !E(R) }),
529
- style: b({ opacity: k.value && F.value !== null && I.value.style.tooltip.show ? F.value === e.seriesIndex ? 1 : .5 : 1 })
530
- }, null, 14, Ne))), 128)),
531
- (x(!0), m(u, null, C(X.value, (e, t) => (x(), m("rect", {
532
- key: `stack_${t}`,
533
- x: e.start,
534
- y: 0,
535
- width: e.width,
536
- height: G.value.height,
537
- fill: I.value.style.bar.gradient.show ? `url(#stack_gradient_${t}_${O.value})` : e.color,
538
- class: v({ animated: !W.value && !E(R) }),
539
- style: b({ opacity: k.value && F.value !== null && I.value.style.tooltip.show ? F.value === e.seriesIndex ? 1 : .5 : 1 })
540
- }, null, 14, Pe))), 128)),
541
- (x(!0), m(u, null, C(X.value.slice(1), (e, t) => (x(), m("rect", {
542
- key: `stack_separator_${t}`,
543
- x: e.start - .5,
544
- y: "0",
545
- width: "1",
546
- height: G.value.height,
547
- fill: I.value.style.backgroundColor,
548
- "pointer-events": "none",
549
- class: v({ animated: !W.value && !E(R) })
550
- }, null, 10, Fe))), 128)),
551
- (x(!0), m(u, null, C(X.value, (e, t) => (x(), m("rect", {
552
- key: `stack_trap_${t}`,
553
- x: e.start,
554
- y: 0,
555
- width: e.width,
556
- height: G.value.height,
557
- fill: "transparent",
558
- stroke: "none",
559
- class: v({ animated: !W.value && !E(R) }),
560
- onClick: () => Z(e, t),
561
- onMouseenter: () => gt({
562
- datapoint: e,
563
- seriesIndex: e.seriesIndex
564
- }),
565
- onMouseleave: (t) => ht({
566
- datapoint: e,
567
- seriesIndex: e.seriesIndex
568
- })
569
- }, null, 42, Ie))), 128))
570
- ], 8, Me), h("rect", {
571
- x: "0.5",
572
- y: "0.5",
573
- width: G.value.width - 1,
574
- height: G.value.height - 1,
575
- rx: Math.max(0, _t.value - .5),
576
- fill: "none",
577
- stroke: I.value.style.backgroundColor,
578
- "stroke-width": "1",
579
- "pointer-events": "none"
580
- }, null, 8, Le)], 64)) : (x(), m("rect", {
581
- key: 1,
582
- x: 2,
583
- y: 1,
584
- width: G.value.width - 4,
585
- height: G.value.height - 2,
586
- stroke: "#CCCCCC",
587
- "stroke-width": "2",
588
- fill: "transparent",
589
- rx: (G.value.height - 4) / 2
590
- }, null, 8, Re))
591
- ], 40, ke)), e.$slots.hint ? (x(), m("div", ze, [w(e.$slots, "hint", y(_({
592
- hint: I.value.a11y.translations.keyboardNavigation,
593
- isVisible: tt.value
594
- })), void 0, !0)])) : p("", !0)]),
595
- I.value.style.legend.show ? (x(), m("div", {
596
- key: 2,
597
- style: b(`background:transparent;margin:0 auto;margin:${I.value.style.legend.margin};justify-content:${I.value.style.legend.textAlign === "left" ? "flex-start" : I.value.style.legend.textAlign === "right" ? "flex-end" : "center"}`),
598
- class: "vue-ui-sparkstackbar-legend",
599
- "aria-label": "legend",
600
- role: "toolbar"
601
- }, [I.value.style.legend.selectAllToggle.show && q.value.length > 2 && !E(R) ? (x(), f(he, {
602
- key: 0,
603
- backgroundColor: I.value.style.legend.selectAllToggle.backgroundColor,
604
- color: I.value.style.legend.selectAllToggle.color,
605
- fontSize: I.value.style.legend.fontSize,
606
- checked: K.value.length > 0,
607
- isCursorPointer: rt.value,
608
- onToggle: lt
609
- }, null, 8, [
610
- "backgroundColor",
611
- "color",
612
- "fontSize",
613
- "checked",
614
- "isCursorPointer"
615
- ])) : p("", !0), (x(!0), m(u, null, C(q.value, (e, t) => (x(), m("div", {
616
- role: "button",
617
- tabindex: "0",
618
- "aria-pressed": K.value.includes(t),
619
- "aria-label": `${e.name}, ${K.value.includes(t) ? "hidden" : "visible"}, ${e.proportionLabel}`,
620
- style: b(`font-size:${I.value.style.legend.fontSize}px;cursor:${rt.value ? "pointer" : "default"}`),
621
- class: v({
622
- "vue-ui-sparkstackbar-legend-item": !0,
623
- "vue-ui-sparkstackbar-legend-item-unselected": K.value.includes(t)
624
- }),
625
- onClick: (n) => {
626
- Y(t), Z(e, t, !0);
627
- },
628
- onFocus: (t) => St(e),
629
- onBlur: Ct,
630
- onKeydown: (n) => wt(n, e, t)
631
- }, [h("div", Ve, [(x(), m("svg", {
632
- height: `${I.value.style.legend.fontSize}px`,
633
- width: `${I.value.style.legend.fontSize}px`,
634
- viewBox: "0 0 10 10"
635
- }, [
636
- h("defs", null, [g(me, {
637
- t: "radial",
638
- id: `legend_grad_${t}-${O.value}`,
639
- stops: [[
640
- "0%",
641
- E(R) ? "#FFFFFF" : E(a)(E(o)(e.color, .05), 100 - I.value.style.bar.gradient.intensity),
642
- 1
643
- ], [
644
- "100%",
645
- e.color,
646
- 1
647
- ]]
648
- }, null, 8, ["id", "stops"])]),
649
- I.value.style.bar.gradient.show ? (x(), m("rect", {
650
- key: 0,
651
- x: "0",
652
- y: "0",
653
- width: "10",
654
- height: "10",
655
- rx: Q.value,
656
- fill: I.value.style.bar.gradient.underlayerColor
657
- }, null, 8, Ue)) : p("", !0),
658
- h("rect", {
659
- x: "0",
660
- y: "0",
661
- width: "10",
662
- height: "10",
663
- rx: Q.value,
664
- fill: I.value.style.bar.gradient.show ? `url(#legend_grad_${t}-${O.value})` : e.color
665
- }, null, 8, We)
666
- ], 8, He)), E(R) ? p("", !0) : (x(), m(u, { key: 0 }, [h("span", { style: b(`color:${I.value.style.legend.name.color}; font-weight:${I.value.style.legend.name.bold ? "bold" : "normal"}`) }, T(e.name), 5), W.value ? p("", !0) : (x(), m(u, { key: 0 }, [I.value.style.legend.percentage.show ? (x(), m("span", {
667
- key: 0,
668
- style: b(`font-weight:${I.value.style.legend.percentage.bold ? "bold" : "normal"};color:${I.value.style.legend.percentage.color}`)
669
- }, T(K.value.includes(t) ? " - " : e.proportionLabel), 5)) : p("", !0), I.value.style.legend.value.show ? (x(), m("span", {
670
- key: 1,
671
- style: b(`font-weight:${I.value.style.legend.value.bold ? "bold" : "normal"};color:${I.value.style.legend.value.color}`)
672
- }, " (" + T(E(te)(I.value.style.legend.value.formatter, e.value, E(s)({
673
- p: I.value.style.legend.value.prefix,
674
- v: e.value,
675
- s: I.value.style.legend.value.suffix,
676
- r: I.value.style.legend.value.rounding
677
- }), {
678
- datapoint: e,
679
- seriesIndex: t
680
- })) + ") ", 5)) : p("", !0)], 64))], 64))])], 46, Be))), 256))], 4)) : p("", !0),
681
- g(E(qe), {
682
- teleportTo: I.value.style.tooltip.teleportTo,
683
- show: k.value && I.value.style.tooltip.show,
684
- parent: $e.value,
685
- backgroundColor: I.value.style.tooltip.backgroundColor,
686
- color: I.value.style.tooltip.color,
687
- fontSize: I.value.style.tooltip.fontSize,
688
- borderRadius: I.value.style.tooltip.borderRadius,
689
- borderColor: I.value.style.tooltip.borderColor,
690
- borderWidth: I.value.style.tooltip.borderWidth,
691
- backgroundOpacity: I.value.style.tooltip.backgroundOpacity,
692
- position: I.value.style.tooltip.position,
693
- content: A.value,
694
- isCustom: M.value,
695
- offsetX: I.value.style.tooltip.offsetX,
696
- offsetY: -124 + I.value.style.tooltip.offsetY,
697
- blockShiftY: !0,
698
- smooth: I.value.style.tooltip.smooth,
699
- backdropFilter: I.value.style.tooltip.backdropFilter,
700
- smoothForce: I.value.style.tooltip.smoothForce,
701
- smoothSnapThreshold: I.value.style.tooltip.smoothSnapThreshold,
702
- isA11yMode: P.value === "keyboard",
703
- a11yPosition: et.value
704
- }, {
705
- "tooltip-before": Te(() => [w(e.$slots, "tooltip-before", y(_({ ...j.value })), void 0, !0)]),
706
- tooltip: Te(() => [w(e.$slots, "tooltip", y(_({ ...j.value })), void 0, !0)]),
707
- "tooltip-after": Te(() => [w(e.$slots, "tooltip-after", y(_({ ...j.value })), void 0, !0)]),
708
- _: 3
709
- }, 8, [
710
- "teleportTo",
711
- "show",
712
- "parent",
713
- "backgroundColor",
714
- "color",
715
- "fontSize",
716
- "borderRadius",
717
- "borderColor",
718
- "borderWidth",
719
- "backgroundOpacity",
720
- "position",
721
- "content",
722
- "isCustom",
723
- "offsetX",
724
- "offsetY",
725
- "smooth",
726
- "backdropFilter",
727
- "smoothForce",
728
- "smoothSnapThreshold",
729
- "isA11yMode",
730
- "a11yPosition"
731
- ]),
732
- e.$slots.source ? (x(), m("div", Ge, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
733
- w(e.$slots, "skeleton", {}, () => [E(R) ? (x(), f(ue, { key: 0 })) : p("", !0)], !0)
734
- ], 4));
735
- }
736
- }, [["__scopeId", "data-v-ff4d9af8"]]);
737
- //#endregion
738
- export { Ee as n, Ke as t };