vue-data-ui 3.22.8 → 3.22.9

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 (169) hide show
  1. package/dist/{BaseDraggableDialog-DcfGlH8A.js → BaseDraggableDialog-Av7Uxq5V.js} +1 -1
  2. package/dist/BaseIcon-UdRAvP2h.js +483 -0
  3. package/dist/{BaseLegendToggle-DtQ8vyfr.js → BaseLegendToggle-DWtet-Hh.js} +1 -1
  4. package/dist/{BaseZoomControls-C6zonwhr.js → BaseZoomControls-BY2KLqs6.js} +1 -1
  5. package/dist/{ColorPicker-CK2-h611.js → ColorPicker-DR_ummtM.js} +1 -1
  6. package/dist/{DataTable-D9NvewTT.js → DataTable-BxpTMgfK.js} +1 -1
  7. package/dist/DefGrad-DVBqDjhO.js +48 -0
  8. package/dist/{NonSvgPenAndPaper-BHHNsVVP.js → NonSvgPenAndPaper-B6EG_Sga.js} +2 -2
  9. package/dist/{PackageVersion-DW7zwRcm.js → PackageVersion-D__dRVRA.js} +1 -1
  10. package/dist/{PenAndPaper-pcgwlYr2.js → PenAndPaper-DsXi7GJ-.js} +2 -2
  11. package/dist/{Slicer-BZ5VnOOS.js → Slicer-CW_XPIKL.js} +359 -354
  12. package/dist/{SlicerPreview-BQFeCw0m.js → SlicerPreview-CTz41lOu.js} +471 -466
  13. package/dist/{UserOptions-16uF1ayB.js → UserOptions-trvJ26nz.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-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-molecule.js +1 -1
  44. package/dist/components/vue-ui-mood-radar.js +1 -1
  45. package/dist/components/vue-ui-nested-donuts.js +1 -1
  46. package/dist/components/vue-ui-onion.js +1 -1
  47. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  48. package/dist/components/vue-ui-quadrant.js +1 -1
  49. package/dist/components/vue-ui-quick-chart.js +1 -1
  50. package/dist/components/vue-ui-radar.js +1 -1
  51. package/dist/components/vue-ui-rating.js +1 -1
  52. package/dist/components/vue-ui-relation-circle.js +1 -1
  53. package/dist/components/vue-ui-ridgeline.js +1 -1
  54. package/dist/components/vue-ui-rings.js +1 -1
  55. package/dist/components/vue-ui-scatter.js +1 -1
  56. package/dist/components/vue-ui-skeleton.js +1 -1
  57. package/dist/components/vue-ui-smiley.js +1 -1
  58. package/dist/components/vue-ui-spark-trend.js +1 -1
  59. package/dist/components/vue-ui-sparkbar.js +1 -1
  60. package/dist/components/vue-ui-sparkgauge.js +1 -1
  61. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  62. package/dist/components/vue-ui-sparkline.js +1 -1
  63. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  64. package/dist/components/vue-ui-stackbar.js +1 -1
  65. package/dist/components/vue-ui-stackline.js +1 -1
  66. package/dist/components/vue-ui-strip-plot.js +1 -1
  67. package/dist/components/vue-ui-table-heatmap.js +1 -1
  68. package/dist/components/vue-ui-table-sparkline.js +1 -1
  69. package/dist/components/vue-ui-table.js +1 -1
  70. package/dist/components/vue-ui-thermometer.js +1 -1
  71. package/dist/components/vue-ui-timer.js +1 -1
  72. package/dist/components/vue-ui-tiremarks.js +1 -1
  73. package/dist/components/vue-ui-treemap.js +1 -1
  74. package/dist/components/vue-ui-vertical-bar.js +1 -1
  75. package/dist/components/vue-ui-waffle.js +1 -1
  76. package/dist/components/vue-ui-wheel.js +1 -1
  77. package/dist/components/vue-ui-word-cloud.js +1 -1
  78. package/dist/components/vue-ui-world.js +1 -1
  79. package/dist/components/vue-ui-xy-canvas.js +1 -1
  80. package/dist/components/vue-ui-xy.js +1 -1
  81. package/dist/{package-gp9pYCfN.js → package-ByOT60IK.js} +1 -1
  82. package/dist/{render-common-CLn1VXJ9.js → render-common-D18VrP0h.js} +1 -1
  83. package/dist/ssr/vue-ui-donut.js +1 -1
  84. package/dist/ssr/vue-ui-xy.js +1 -1
  85. package/dist/ssr.js +2 -2
  86. package/dist/style.css +1 -1
  87. package/dist/{vue-data-ui-AZZ9Cq-4.js → vue-data-ui-ub3fCh6P.js} +67 -67
  88. package/dist/vue-data-ui.js +67 -67
  89. package/dist/vue-ui-3d-bar-taPI41_I.js +1825 -0
  90. package/dist/{vue-ui-accordion-YyosvEPo.js → vue-ui-accordion-CjAGqEJg.js} +1 -1
  91. package/dist/{vue-ui-age-pyramid-DTAOc7fn.js → vue-ui-age-pyramid-jvQZbF8E.js} +306 -297
  92. package/dist/{vue-ui-annotator-CfJXeAOE.js → vue-ui-annotator-BIucnT0L.js} +3 -3
  93. package/dist/{vue-ui-bullet-CCLnrOLm.js → vue-ui-bullet-CIATzlsk.js} +1 -1
  94. package/dist/{vue-ui-bump-Rq7efdoe.js → vue-ui-bump-D8MxltQE.js} +2 -2
  95. package/dist/{vue-ui-candlestick-D-Z9pEaA.js → vue-ui-candlestick-DULUMU-Q.js} +513 -502
  96. package/dist/{vue-ui-carousel-table-Lx5Zk4dG.js → vue-ui-carousel-table-BSmdexG7.js} +1 -1
  97. package/dist/vue-ui-chestnut-BIh1nQ7q.js +2042 -0
  98. package/dist/{vue-ui-chord-Db1O_diJ.js → vue-ui-chord-DL1M7cgL.js} +1 -1
  99. package/dist/vue-ui-circle-pack-C1Pgq6si.js +1614 -0
  100. package/dist/{vue-ui-cursor-DLP7wxsw.js → vue-ui-cursor-d2uLAKTQ.js} +1 -1
  101. package/dist/{vue-ui-dag-DL3zq0F2.js → vue-ui-dag-CVh9FpZr.js} +2 -2
  102. package/dist/{vue-ui-dashboard-C2ozZ-LI.js → vue-ui-dashboard-BH0N3ebj.js} +65 -65
  103. package/dist/{vue-ui-digits-ThFVNO3l.js → vue-ui-digits-R6wi3J-Y.js} +1 -1
  104. package/dist/{vue-ui-donut-BuTd6dt4.js → vue-ui-donut-BWDeVzLc.js} +1 -1
  105. package/dist/{vue-ui-donut-C3Rt6j-I.js → vue-ui-donut-BoZdciGh.js} +632 -623
  106. package/dist/vue-ui-donut-evolution-CpC9EMro.js +1522 -0
  107. package/dist/{vue-ui-dumbbell-wK7vUB0x.js → vue-ui-dumbbell-DGA5Bfnl.js} +528 -494
  108. package/dist/{vue-ui-flow-BTUNfWb7.js → vue-ui-flow-CNczKwTh.js} +1 -1
  109. package/dist/vue-ui-funnel-CaD2tZCT.js +782 -0
  110. package/dist/{vue-ui-galaxy-DJ2uNYcN.js → vue-ui-galaxy-v3cTbUiM.js} +2 -2
  111. package/dist/vue-ui-gauge-DxvMjfoc.js +926 -0
  112. package/dist/{vue-ui-geo-ovHu_Sc9.js → vue-ui-geo-BgmLkZZ2.js} +2 -2
  113. package/dist/{vue-ui-gizmo-DDxEj-qe.js → vue-ui-gizmo-n1kmcGeE.js} +66 -61
  114. package/dist/{vue-ui-heatmap-Npqnvb1r.js → vue-ui-heatmap-dSTh8ah_.js} +2 -2
  115. package/dist/{vue-ui-history-plot-C3Kjy2tc.js → vue-ui-history-plot-N8BqMFVU.js} +395 -384
  116. package/dist/{vue-ui-horizontal-bar-D1rCsgqt.js → vue-ui-horizontal-bar-CwiQxYzv.js} +360 -354
  117. package/dist/{vue-ui-kpi-BrlfYO-j.js → vue-ui-kpi-BKrUk9o8.js} +1 -1
  118. package/dist/{vue-ui-molecule-CExCqZ08.js → vue-ui-molecule--kK1JfnP.js} +295 -289
  119. package/dist/{vue-ui-mood-radar-DlVh6hwx.js → vue-ui-mood-radar-CpBRHQo_.js} +209 -204
  120. package/dist/{vue-ui-nested-donuts-3TRV8pN-.js → vue-ui-nested-donuts-8Ehwcuns.js} +307 -301
  121. package/dist/{vue-ui-onion-DwKK9DXn.js → vue-ui-onion-Cf6JiYTH.js} +2 -2
  122. package/dist/{vue-ui-parallel-coordinate-plot-DSp_cwU-.js → vue-ui-parallel-coordinate-plot-Blnqp1DB.js} +2 -2
  123. package/dist/{vue-ui-quadrant-ByVg-NBs.js → vue-ui-quadrant-CxU0jiOm.js} +366 -360
  124. package/dist/{vue-ui-quick-chart-WMzSJxGZ.js → vue-ui-quick-chart-BO98uEPl.js} +3 -3
  125. package/dist/{vue-ui-radar-DE-me6OC.js → vue-ui-radar-eH2Qih4_.js} +272 -266
  126. package/dist/{vue-ui-rating-CzD3EQ3G.js → vue-ui-rating-CN-ZiAES.js} +135 -126
  127. package/dist/{vue-ui-relation-circle-L7-dTqet.js → vue-ui-relation-circle-BIcP-aAt.js} +1 -1
  128. package/dist/vue-ui-ridgeline-ChXHzEJw.js +1628 -0
  129. package/dist/{vue-ui-rings-WzWiEo9W.js → vue-ui-rings-J990vNbX.js} +262 -256
  130. package/dist/{vue-ui-scatter-DwrAydha.js → vue-ui-scatter-BeJB0EKg.js} +642 -633
  131. package/dist/{vue-ui-skeleton-CuFm4PtB.js → vue-ui-skeleton-DC2bZ0nk.js} +336 -333
  132. package/dist/{vue-ui-smiley-D4NnZ1mg.js → vue-ui-smiley-Dyyu1je3.js} +111 -98
  133. package/dist/{vue-ui-spark-trend-C38ysZ-c.js → vue-ui-spark-trend-CpDX85H3.js} +158 -153
  134. package/dist/vue-ui-sparkbar-DhIo1qsW.js +398 -0
  135. package/dist/{vue-ui-sparkgauge-DgPc4vPT.js → vue-ui-sparkgauge-D0Fo3Hts.js} +75 -70
  136. package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +576 -0
  137. package/dist/vue-ui-sparkline-ApivEMBP.js +1560 -0
  138. package/dist/{vue-ui-sparkstackbar-DrmiWFlw.js → vue-ui-sparkstackbar-DsKQJx_n.js} +179 -167
  139. package/dist/{vue-ui-stackbar-BVdApDnY.js → vue-ui-stackbar-Ds4hXATH.js} +538 -531
  140. package/dist/vue-ui-stackline-DJbcVvmN.js +2425 -0
  141. package/dist/{vue-ui-strip-plot-C-TFNvgz.js → vue-ui-strip-plot-C3ZHf4bD.js} +368 -361
  142. package/dist/{vue-ui-table-heatmap-D0pZbBOH.js → vue-ui-table-heatmap-CNXNXXBU.js} +1 -1
  143. package/dist/{vue-ui-table-sparkline-Q6BHPKUn.js → vue-ui-table-sparkline-B9JJ4pFF.js} +1 -1
  144. package/dist/{vue-ui-table-Q3brrivC.js → vue-ui-table-uudidrYt.js} +4 -4
  145. package/dist/vue-ui-thermometer-Bvw3oQb3.js +770 -0
  146. package/dist/{vue-ui-timer-BdzKpoRj.js → vue-ui-timer-5NAWw5BN.js} +91 -86
  147. package/dist/{vue-ui-tiremarks-DWb69ofh.js → vue-ui-tiremarks-Caz_g1c5.js} +1 -1
  148. package/dist/{vue-ui-treemap-uUz07Prw.js → vue-ui-treemap-F9upPyOI.js} +458 -453
  149. package/dist/{vue-ui-waffle-Pi9e7Ae7.js → vue-ui-waffle-Bk9AsrPp.js} +296 -290
  150. package/dist/{vue-ui-wheel-DTfvWYA7.js → vue-ui-wheel-DD6Q39BA.js} +1 -1
  151. package/dist/{vue-ui-word-cloud-DqfljAqH.js → vue-ui-word-cloud-BZLT5svo.js} +2 -2
  152. package/dist/{vue-ui-world-BtBrH92Z.js → vue-ui-world-DbEJN5NA.js} +284 -273
  153. package/dist/{vue-ui-xy-Bvgy2do1.js → vue-ui-xy-BYMAITk_.js} +1294 -1268
  154. package/dist/{vue-ui-xy-D5KsuNR2.js → vue-ui-xy-Cn9Q8YPr.js} +1 -1
  155. package/dist/{vue-ui-xy-canvas-BfgeE3TW.js → vue-ui-xy-canvas-Dcm2ftwm.js} +5 -5
  156. package/package.json +1 -1
  157. package/dist/BaseIcon-C2qlyHc7.js +0 -502
  158. package/dist/vue-ui-3d-bar-B3HxJmDI.js +0 -1757
  159. package/dist/vue-ui-chestnut-RfWMGUD-.js +0 -2010
  160. package/dist/vue-ui-circle-pack-B4Ro7UuI.js +0 -1608
  161. package/dist/vue-ui-donut-evolution-DY46UPF_.js +0 -1510
  162. package/dist/vue-ui-funnel-BhoHzyHa.js +0 -777
  163. package/dist/vue-ui-gauge-Cf4NqvrO.js +0 -920
  164. package/dist/vue-ui-ridgeline-Cp3YP0xe.js +0 -1622
  165. package/dist/vue-ui-sparkbar-B03ndcUe.js +0 -393
  166. package/dist/vue-ui-sparkhistogram-D02ff7ZI.js +0 -560
  167. package/dist/vue-ui-sparkline-DlTfNQj8.js +0 -1547
  168. package/dist/vue-ui-stackline-QzQQ7lTy.js +0 -2419
  169. package/dist/vue-ui-thermometer-Bg0RR6m4.js +0 -763
@@ -2,48 +2,49 @@ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
2
  import { $ as t, G as n, J as r, Kt as i, Mt as a, Rt as o, S as s, Wt as c, b as l, dt as ee, i as u, kt as te, t as ne, yt as re, zt as ie } from "./lib-JqW18y5I.js";
3
3
  import { t as ae } from "./useConfig-DYM3f6EI.js";
4
4
  import { n as oe, t as se } from "./BaseScanner-DZvpgOjM.js";
5
- import { t as d } from "./useNestedProp-DIuuzG1r.js";
6
- import { t as ce } from "./useThemeCheck-C43Tcqmk.js";
7
- import { t as le } from "./_plugin-vue_export-helper-B3ysoDQm.js";
8
- import { t as ue } from "./BaseLegendToggle-DtQ8vyfr.js";
9
- import { t as de } from "./A11yDataTable-DdRsVULz.js";
10
- import { t as fe } from "./useChartAccessibility-DYqac8yF.js";
11
- import { t as pe } from "./vue_ui_sparkstackbar-BOjuQnZd.js";
12
- import { Fragment as f, computed as p, createBlock as me, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as he, defineAsyncComponent as ge, guardReactiveProps as _, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onMounted as _e, openBlock as x, ref as S, renderList as C, renderSlot as w, toDisplayString as T, toRefs as ve, unref as E, useSlots as ye, watch as be, withCtx as D } from "vue";
5
+ import { t as ce } from "./useNestedProp-DIuuzG1r.js";
6
+ import { t as le } from "./useThemeCheck-C43Tcqmk.js";
7
+ import { t as ue } from "./_plugin-vue_export-helper-B3ysoDQm.js";
8
+ import { t as de } from "./DefGrad-DVBqDjhO.js";
9
+ import { t as fe } from "./BaseLegendToggle-DWtet-Hh.js";
10
+ import { t as pe } from "./A11yDataTable-DdRsVULz.js";
11
+ import { t as me } from "./useChartAccessibility-DYqac8yF.js";
12
+ import { t as he } from "./vue_ui_sparkstackbar-BOjuQnZd.js";
13
+ import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as _, defineAsyncComponent as ge, guardReactiveProps as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onMounted as _e, openBlock as S, ref as C, renderList as w, renderSlot as T, toDisplayString as E, toRefs as ve, unref as D, useSlots as ye, watch as be, withCtx as O } from "vue";
13
14
  //#region src/components/vue-ui-sparkstackbar.vue
14
- var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { position: "relative" } }, we = [
15
+ var xe = /* @__PURE__ */ e({ default: () => Re }), Se = ["id"], Ce = { style: { position: "relative" } }, we = [
15
16
  "xmlns",
16
17
  "viewBox",
17
18
  "aria-describedby"
18
- ], Te = ["id"], Ee = ["stop-color"], De = ["stop-color"], Oe = ["stop-color"], ke = {
19
+ ], Te = {
19
20
  id: "stackPill",
20
21
  clipPathUnits: "objectBoundingBox"
21
- }, Ae = ["fill"], je = {
22
+ }, Ee = ["fill"], De = {
22
23
  key: 0,
23
24
  "clip-path": "url(#stackPill)"
24
- }, Me = [
25
+ }, Oe = [
25
26
  "x",
26
27
  "width",
27
28
  "height",
28
29
  "fill"
29
- ], Ne = [
30
+ ], ke = [
30
31
  "x",
31
32
  "width",
32
33
  "height",
33
34
  "fill",
34
35
  "stroke"
35
- ], Pe = [
36
+ ], Ae = [
36
37
  "x",
37
38
  "width",
38
39
  "height",
39
40
  "onClick",
40
41
  "onMouseenter",
41
42
  "onMouseleave"
42
- ], Fe = [
43
+ ], je = [
43
44
  "width",
44
45
  "height",
45
46
  "rx"
46
- ], Ie = {
47
+ ], Me = {
47
48
  key: 0,
48
49
  style: {
49
50
  position: "absolute",
@@ -53,23 +54,23 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
53
54
  },
54
55
  "data-dom-to-png-ignore": "",
55
56
  "aria-hidden": "true"
56
- }, Le = [
57
+ }, Ne = [
57
58
  "aria-pressed",
58
59
  "aria-label",
59
60
  "onClick",
60
61
  "onFocus",
61
62
  "onKeydown"
62
- ], Re = { style: {
63
+ ], Pe = { style: {
63
64
  display: "flex",
64
65
  "flex-direction": "row",
65
66
  "align-items": "center",
66
67
  gap: "4px",
67
68
  "justify-content": "center"
68
- } }, ze = ["height", "width"], Be = ["id"], Ve = ["stop-color"], He = ["stop-color"], Ue = ["fill"], We = {
69
+ } }, Fe = ["height", "width"], Ie = ["fill"], Le = {
69
70
  key: 3,
70
71
  ref: "source",
71
72
  dir: "auto"
72
- }, O = /*#__PURE__*/ le({
73
+ }, Re = /*#__PURE__*/ ue({
73
74
  __name: "vue-ui-sparkstackbar",
74
75
  props: {
75
76
  config: {
@@ -86,15 +87,15 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
86
87
  }
87
88
  },
88
89
  emits: ["selectDatapoint", "selectLegend"],
89
- setup(e, { expose: le, emit: xe }) {
90
- let O = ge(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), Ge = ge(() => import("./Tooltip-CxOrWlFy.js")), { vue_ui_sparkstackbar: Ke } = ae(), { isThemeValid: qe, warnInvalidTheme: Je } = ce(), k = e, Ye = ye();
90
+ setup(e, { expose: ue, emit: xe }) {
91
+ let Re = ge(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), ze = ge(() => import("./Tooltip-CxOrWlFy.js")), { vue_ui_sparkstackbar: Be } = ae(), { isThemeValid: Ve, warnInvalidTheme: He } = le(), k = e, Ue = ye();
91
92
  _e(() => {
92
- Ye["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
93
+ Ue["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
93
94
  });
94
- let Xe = S(null), A = S(n()), j = S(!1), Ze = S(""), M = S(null), N = S(!1), P = S(null), Qe = S({
95
+ let We = C(null), A = C(n()), j = C(!1), Ge = C(""), M = C(null), N = C(!1), P = C(null), Ke = C({
95
96
  x: 0,
96
97
  y: 0
97
- }), F = S("pointer"), I = S(!1), L = S(null), $e = S([]), R = S(H()), et = p(() => R.value.useCursorPointer), tt = p(() => i({
98
+ }), F = C("pointer"), I = C(!1), L = C(null), qe = C([]), R = C(H()), Je = f(() => R.value.useCursorPointer), Ye = f(() => i({
98
99
  defaultConfig: { style: {
99
100
  backgroundColor: "#99999930",
100
101
  animation: { show: !1 },
@@ -125,20 +126,20 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
125
126
  ],
126
127
  skeletonConfig: i({
127
128
  defaultConfig: R.value,
128
- userConfig: tt.value
129
+ userConfig: Ye.value
129
130
  })
130
- }), { svgRef: V } = fe({ config: R.value.style.title });
131
+ }), { svgRef: V } = me({ config: R.value.style.title });
131
132
  function H() {
132
- let e = d({
133
+ let e = ce({
133
134
  userConfig: k.config,
134
- defaultConfig: Ke
135
+ defaultConfig: Be
135
136
  }), t = e.theme;
136
137
  if (!t) return e;
137
- if (!qe.value(e)) return Je(e), e;
138
- let n = d({
139
- userConfig: pe[t] || k.config,
138
+ if (!Ve.value(e)) return He(e), e;
139
+ let n = ce({
140
+ userConfig: he[t] || k.config,
140
141
  defaultConfig: e
141
- }), r = d({
142
+ }), r = ce({
142
143
  userConfig: k.config,
143
144
  defaultConfig: n
144
145
  });
@@ -148,19 +149,19 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
148
149
  };
149
150
  }
150
151
  be(() => k.config, (e) => {
151
- R.value = H(), it();
152
+ R.value = H(), Qe();
152
153
  }, { deep: !0 }), be(() => B.value, (e) => {
153
154
  W.value = B.value.map((e, t) => ({
154
155
  ...e,
155
156
  color: e.color ? l(e.color) : U.value[t] || a[t] || a[t % a.length]
156
- })), nt();
157
+ })), Xe();
157
158
  }, { deep: !0 });
158
- let U = p(() => s(R.value.customPalette)), W = S(B.value.map((e, t) => ({
159
+ let U = f(() => s(R.value.customPalette)), W = C(B.value.map((e, t) => ({
159
160
  ...e,
160
161
  value: R.value.style.animation.show ? 0 : e.value || 0,
161
162
  color: e.color ? l(e.color) : U.value[t] || a[t] || a[t % a.length]
162
- }))), G = S(!0);
163
- function nt() {
163
+ }))), G = C(!0);
164
+ function Xe() {
164
165
  if (!R.value.style.animation.show) {
165
166
  G.value = !1;
166
167
  return;
@@ -186,14 +187,14 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
186
187
  s();
187
188
  }
188
189
  _e(() => {
189
- it();
190
+ Qe();
190
191
  });
191
- let rt = p(() => R.value.debug);
192
- function it() {
192
+ let Ze = f(() => R.value.debug);
193
+ function Qe() {
193
194
  te(k.dataset) ? t({
194
195
  componentName: "VueUiSparkStackbar",
195
196
  type: "dataset",
196
- debug: rt.value
197
+ debug: Ze.value
197
198
  }) : k.dataset.forEach((e, n) => {
198
199
  ee({
199
200
  datasetObject: e,
@@ -204,16 +205,16 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
204
205
  type: "datasetSerieAttribute",
205
206
  property: e,
206
207
  index: n,
207
- debug: rt.value
208
+ debug: Ze.value
208
209
  });
209
210
  });
210
- }), nt();
211
+ }), Xe();
211
212
  }
212
- let K = S({
213
+ let K = C({
213
214
  width: 500,
214
215
  height: 16
215
- }), q = S([]), at = p(() => B.value.map((e) => e.value || 0).filter((e, t) => !q.value.includes(t)).reduce((e, t) => e + t, 0)), J = p(() => W.value.map((e, t) => {
216
- let n = e.value || 0, i = n / at.value, o = isNaN(i) ? 0 : i, s = o * K.value.width;
216
+ }), q = C([]), $e = f(() => B.value.map((e) => e.value || 0).filter((e, t) => !q.value.includes(t)).reduce((e, t) => e + t, 0)), J = f(() => W.value.map((e, t) => {
217
+ let n = e.value || 0, i = n / $e.value, o = isNaN(i) ? 0 : i, s = o * K.value.width;
217
218
  return {
218
219
  ...e,
219
220
  color: l(B.value[t]?.color ? B.value[t]?.color : U.value[t] || a[t] || a[t % a.length]),
@@ -227,36 +228,36 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
227
228
  r: R.value.style.legend.percentage.rounding
228
229
  })
229
230
  };
230
- })), Y = p(() => J.value.filter((e, t) => !q.value.includes(t)));
231
- function ot() {
231
+ })), Y = f(() => J.value.filter((e, t) => !q.value.includes(t)));
232
+ function et() {
232
233
  q.value.length ? q.value = [] : J.value.forEach((e, t) => {
233
234
  q.value.push(t);
234
- }), ut("selectLegend", Y.value);
235
+ }), it("selectLegend", Y.value);
235
236
  }
236
237
  function X(e) {
237
- q.value.includes(e) ? q.value = q.value.filter((t) => t !== e) : q.value.length < W.value.length - 1 && q.value.push(e), ut("selectLegend", Y.value);
238
+ q.value.includes(e) ? q.value = q.value.filter((t) => t !== e) : q.value.length < W.value.length - 1 && q.value.push(e), it("selectLegend", Y.value);
238
239
  }
239
- function st(e) {
240
+ function tt(e) {
240
241
  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);
241
242
  }
242
- function ct(e) {
243
- let t = st(e);
243
+ function nt(e) {
244
+ let t = tt(e);
244
245
  t !== null && q.value.includes(t.id) && X(t.seriesIndex);
245
246
  }
246
- function lt(e) {
247
- let t = st(e);
247
+ function rt(e) {
248
+ let t = tt(e);
248
249
  t !== null && (q.value.includes(t.id) || X(t.seriesIndex));
249
250
  }
250
- let Z = p(() => {
251
+ let Z = f(() => {
251
252
  let e = 0, t = [];
252
253
  for (let n = 0; n < Y.value.length; n += 1) t.push({
253
254
  ...Y.value[n],
254
255
  start: e
255
256
  }), e += Y.value[n].width;
256
257
  return t;
257
- }), ut = xe;
258
+ }), it = xe;
258
259
  function Q(e, t, n = !1) {
259
- ut("selectDatapoint", {
260
+ it("selectDatapoint", {
260
261
  datapoint: e,
261
262
  index: t
262
263
  }), R.value.events.datapointClick && !n && R.value.events.datapointClick({
@@ -264,13 +265,13 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
264
265
  seriesIndex: e.seriesIndex
265
266
  });
266
267
  }
267
- function dt({ datapoint: e, seriesIndex: t }) {
268
+ function at({ datapoint: e, seriesIndex: t }) {
268
269
  j.value = !1, L.value = null, P.value = null, F.value = "pointer", R.value.events.datapointLeave && R.value.events.datapointLeave({
269
270
  datapoint: e,
270
271
  seriesIndex: e.seriesIndex
271
272
  });
272
273
  }
273
- function ft({ datapoint: e, seriesIndex: t, triggerMode: n = "pointer" }) {
274
+ function ot({ datapoint: e, seriesIndex: t, triggerMode: n = "pointer" }) {
274
275
  if (N.value = !1, R.value.events.datapointEnter && R.value.events.datapointEnter({
275
276
  datapoint: e,
276
277
  seriesIndex: e.seriesIndex
@@ -289,7 +290,7 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
289
290
  series: J.value,
290
291
  config: R.value
291
292
  });
292
- typeof t == "string" && (Ze.value = t, N.value = !0);
293
+ typeof t == "string" && (Ge.value = t, N.value = !0);
293
294
  } catch {
294
295
  console.warn("Custom format cannot be applied."), N.value = !1;
295
296
  }
@@ -303,30 +304,30 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
303
304
  }), {
304
305
  datapoint: e,
305
306
  seriesIndex: t
306
- })})</span>`, Ze.value = `<div>${n}</div>`;
307
+ })})</span>`, Ge.value = `<div>${n}</div>`;
307
308
  }
308
309
  }
309
310
  function $(e) {
310
- let t = $e.value[e];
311
+ let t = qe.value[e];
311
312
  t && typeof t.focus == "function" && t.focus();
312
313
  }
313
- function pt(e) {
314
+ function st(e) {
314
315
  if (!Number.isFinite(e) || !V.value) return;
315
316
  let t = Z.value[e];
316
317
  if (!t) return;
317
318
  let n = V.value.getBoundingClientRect(), r = t.start + t.width / 2, i = K.value.height / 2;
318
- Qe.value = {
319
+ Ke.value = {
319
320
  x: n.left + r / K.value.width * n.width,
320
321
  y: n.top + i / K.value.height * n.height
321
322
  };
322
323
  }
323
- function mt() {
324
+ function ct() {
324
325
  P.value = null, I.value = !0;
325
326
  }
326
- function ht() {
327
+ function lt() {
327
328
  P.value = null, F.value = "pointer", j.value = !1, L.value = null, I.value = !1;
328
329
  }
329
- function gt(e) {
330
+ function ut(e) {
330
331
  if (!V.value || document.activeElement !== V.value || !Z.value.length) return;
331
332
  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";
332
333
  if (!t && !n && !r && !i && !a && !o) return;
@@ -344,23 +345,23 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
344
345
  let s = P.value;
345
346
  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));
346
347
  let c = Z.value[s];
347
- c && (P.value = s, pt(s), ft({
348
+ c && (P.value = s, st(s), ot({
348
349
  datapoint: c,
349
350
  seriesIndex: c.seriesIndex,
350
351
  triggerMode: "keyboard"
351
352
  }));
352
353
  }
353
- function _t(e) {
354
+ function dt(e) {
354
355
  j.value = !1, P.value = null, F.value = "pointer", L.value = e.seriesIndex;
355
356
  }
356
- function vt() {
357
+ function ft() {
357
358
  P.value = null, F.value = "pointer", j.value = !1, L.value = null;
358
359
  }
359
- function yt(e, t, n) {
360
+ function pt(e, t, n) {
360
361
  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";
361
362
  if (!(!r && !i && !a && !o && !s && !c)) {
362
363
  if (e.preventDefault(), e.stopPropagation(), c) {
363
- vt();
364
+ ft();
364
365
  return;
365
366
  }
366
367
  if (r) {
@@ -382,7 +383,7 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
382
383
  a && $(n >= J.value.length - 1 ? 0 : n + 1);
383
384
  }
384
385
  }
385
- let bt = p(() => ({
386
+ let mt = f(() => ({
386
387
  headers: [
387
388
  R.value.a11y.translations.series,
388
389
  R.value.a11y.translations.percentage,
@@ -402,24 +403,24 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
402
403
  })
403
404
  ])
404
405
  }));
405
- return le({
406
- hideSeries: lt,
407
- showSeries: ct
408
- }), (e, t) => (x(), h("div", {
406
+ return ue({
407
+ hideSeries: rt,
408
+ showSeries: nt
409
+ }), (e, t) => (S(), h("div", {
409
410
  class: "vue-data-ui-component vue-ui-spark-stackbar",
410
411
  ref_key: "sparkstackbarChart",
411
- ref: Xe,
412
- style: b(`width:100%; background:${R.value.style.backgroundColor}`)
412
+ ref: We,
413
+ style: x(`width:100%; background:${R.value.style.backgroundColor}`)
413
414
  }, [
414
415
  g("div", {
415
416
  id: `chart-instructions-${A.value}`,
416
417
  class: "sr-only"
417
- }, [g("p", null, T(R.value.a11y.translations.keyboardNavigation), 1)], 8, Se),
418
- bt.value?.rows?.length ? (x(), me(de, {
418
+ }, [g("p", null, E(R.value.a11y.translations.keyboardNavigation), 1)], 8, Se),
419
+ mt.value?.rows?.length ? (S(), p(pe, {
419
420
  key: 0,
420
421
  uid: A.value,
421
- head: bt.value.headers,
422
- body: bt.value.rows,
422
+ head: mt.value.headers,
423
+ body: mt.value.rows,
423
424
  notice: R.value.a11y.translations.tableAvailable,
424
425
  caption: R.value.a11y.translations.tableCaption
425
426
  }, null, 8, [
@@ -429,48 +430,53 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
429
430
  "notice",
430
431
  "caption"
431
432
  ])) : m("", !0),
432
- R.value.style.title.text ? (x(), h("div", {
433
+ R.value.style.title.text ? (S(), h("div", {
433
434
  key: 1,
434
- 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}`)
435
+ style: x(`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}`)
435
436
  }, [g("div", {
436
437
  class: "atom-title",
437
- 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"}`)
438
- }, T(R.value.style.title.text), 5), R.value.style.title.subtitle.text ? (x(), h("div", {
438
+ style: x(`font-size:${R.value.style.title.fontSize}px;color:${R.value.style.title.color};font-weight:${R.value.style.title.bold ? "bold" : "normal"}`)
439
+ }, E(R.value.style.title.text), 5), R.value.style.title.subtitle.text ? (S(), h("div", {
439
440
  key: 0,
440
441
  class: "atom-subtitle",
441
- 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"}`)
442
- }, T(R.value.style.title.subtitle.text), 5)) : m("", !0)], 4)) : m("", !0),
443
- g("div", Ce, [(x(), h("svg", {
442
+ style: x(`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"}`)
443
+ }, E(R.value.style.title.subtitle.text), 5)) : m("", !0)], 4)) : m("", !0),
444
+ g("div", Ce, [(S(), h("svg", {
444
445
  ref_key: "svgRef",
445
446
  ref: V,
446
- xmlns: E(ne),
447
+ xmlns: D(ne),
447
448
  width: "100%",
448
449
  viewBox: `0 0 ${K.value.width} ${K.value.height}`,
449
450
  "aria-describedby": `chart-instructions-${A.value}`,
450
451
  tabindex: "0",
451
- onFocus: mt,
452
- onBlur: ht,
453
- onKeydown: gt
452
+ onFocus: ct,
453
+ onBlur: lt,
454
+ onKeydown: ut
454
455
  }, [
455
- he(E(O)),
456
- g("defs", null, [(x(!0), h(f, null, C(Z.value, (e, t) => (x(), h("linearGradient", {
456
+ _(D(Re)),
457
+ g("defs", null, [(S(!0), h(d, null, w(Z.value, (e, t) => (S(), p(de, {
458
+ t: "linear",
459
+ id: `stack_gradient_${t}_${A.value}`,
457
460
  key: `stack_gradient_${t}`,
458
461
  gradientTransform: "rotate(90)",
459
- id: `stack_gradient_${t}_${A.value}`
460
- }, [
461
- g("stop", {
462
- offset: "0%",
463
- "stop-color": e.color
464
- }, null, 8, Ee),
465
- g("stop", {
466
- offset: "50%",
467
- "stop-color": E(o)(E(ie)(e.color, .05), 100 - R.value.style.bar.gradient.intensity)
468
- }, null, 8, De),
469
- g("stop", {
470
- offset: "100%",
471
- "stop-color": e.color
472
- }, null, 8, Oe)
473
- ], 8, Te))), 128)), g("clipPath", ke, [g("rect", {
462
+ stops: [
463
+ [
464
+ "0%",
465
+ e.color,
466
+ 1
467
+ ],
468
+ [
469
+ "50%",
470
+ D(o)(D(ie)(e.color, .05), 100 - R.value.style.bar.gradient.intensity),
471
+ 1
472
+ ],
473
+ [
474
+ "100%",
475
+ e.color,
476
+ 1
477
+ ]
478
+ ]
479
+ }, null, 8, ["id", "stops"]))), 128)), g("clipPath", Te, [g("rect", {
474
480
  x: "0.005",
475
481
  y: "-2",
476
482
  width: "0.99",
@@ -478,19 +484,19 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
478
484
  rx: "3",
479
485
  ry: "3",
480
486
  fill: R.value.style.backgroundColor
481
- }, null, 8, Ae)])]),
482
- at.value > 0 ? (x(), h("g", je, [
483
- (x(!0), h(f, null, C(Z.value, (e, t) => (x(), h("rect", {
487
+ }, null, 8, Ee)])]),
488
+ $e.value > 0 ? (S(), h("g", De, [
489
+ (S(!0), h(d, null, w(Z.value, (e, t) => (S(), h("rect", {
484
490
  key: `stack_underlayer_${t}`,
485
491
  x: e.start,
486
492
  y: 0,
487
493
  width: e.width,
488
494
  height: K.value.height,
489
495
  fill: R.value.style.bar.gradient.underlayerColor,
490
- class: v({ animated: !G.value && !E(z) }),
491
- style: b({ opacity: L.value !== null && R.value.style.tooltip.show ? L.value === t ? 1 : .5 : 1 })
492
- }, null, 14, Me))), 128)),
493
- (x(!0), h(f, null, C(Z.value, (e, t) => (x(), h("rect", {
496
+ class: y({ animated: !G.value && !D(z) }),
497
+ style: x({ opacity: L.value !== null && R.value.style.tooltip.show ? L.value === t ? 1 : .5 : 1 })
498
+ }, null, 14, Oe))), 128)),
499
+ (S(!0), h(d, null, w(Z.value, (e, t) => (S(), h("rect", {
494
500
  key: `stack_${t}`,
495
501
  x: e.start,
496
502
  y: 0,
@@ -499,10 +505,10 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
499
505
  fill: R.value.style.bar.gradient.show ? `url(#stack_gradient_${t}_${A.value})` : e.color,
500
506
  stroke: R.value.style.backgroundColor,
501
507
  "stroke-linecap": "round",
502
- class: v({ animated: !G.value && !E(z) }),
503
- style: b({ opacity: L.value !== null && R.value.style.tooltip.show ? L.value === t ? 1 : .5 : 1 })
504
- }, null, 14, Ne))), 128)),
505
- (x(!0), h(f, null, C(Z.value, (e, t) => (x(), h("rect", {
508
+ class: y({ animated: !G.value && !D(z) }),
509
+ style: x({ opacity: L.value !== null && R.value.style.tooltip.show ? L.value === t ? 1 : .5 : 1 })
510
+ }, null, 14, ke))), 128)),
511
+ (S(!0), h(d, null, w(Z.value, (e, t) => (S(), h("rect", {
506
512
  key: `stack_trap_${t}`,
507
513
  x: e.start,
508
514
  y: 0,
@@ -510,18 +516,18 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
510
516
  height: K.value.height,
511
517
  fill: "transparent",
512
518
  stroke: "none",
513
- class: v({ animated: !G.value && !E(z) }),
519
+ class: y({ animated: !G.value && !D(z) }),
514
520
  onClick: () => Q(e, t),
515
- onMouseenter: () => ft({
521
+ onMouseenter: () => ot({
516
522
  datapoint: e,
517
523
  seriesIndex: t
518
524
  }),
519
- onMouseleave: (n) => dt({
525
+ onMouseleave: (n) => at({
520
526
  datapoint: e,
521
527
  seriesIndex: t
522
528
  })
523
- }, null, 42, Pe))), 128))
524
- ])) : (x(), h("rect", {
529
+ }, null, 42, Ae))), 128))
530
+ ])) : (S(), h("rect", {
525
531
  key: 1,
526
532
  x: 2,
527
533
  y: 1,
@@ -531,69 +537,75 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
531
537
  "stroke-width": "2",
532
538
  fill: "transparent",
533
539
  rx: (K.value.height - 4) / 2
534
- }, null, 8, Fe))
535
- ], 40, we)), e.$slots.hint ? (x(), h("div", Ie, [w(e.$slots, "hint", y(_({
540
+ }, null, 8, je))
541
+ ], 40, we)), e.$slots.hint ? (S(), h("div", Me, [T(e.$slots, "hint", b(v({
536
542
  hint: R.value.a11y.translations.keyboardNavigation,
537
543
  isVisible: I.value
538
544
  })), void 0, !0)])) : m("", !0)]),
539
- R.value.style.legend.show ? (x(), h("div", {
545
+ R.value.style.legend.show ? (S(), h("div", {
540
546
  key: 2,
541
- 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"}`),
547
+ style: x(`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"}`),
542
548
  class: "vue-ui-sparkstackbar-legend",
543
549
  "aria-label": "legend",
544
550
  role: "toolbar"
545
- }, [R.value.style.legend.selectAllToggle.show && J.value.length > 2 && !E(z) ? (x(), me(ue, {
551
+ }, [R.value.style.legend.selectAllToggle.show && J.value.length > 2 && !D(z) ? (S(), p(fe, {
546
552
  key: 0,
547
553
  backgroundColor: R.value.style.legend.selectAllToggle.backgroundColor,
548
554
  color: R.value.style.legend.selectAllToggle.color,
549
555
  fontSize: R.value.style.legend.fontSize,
550
556
  checked: q.value.length > 0,
551
- isCursorPointer: et.value,
552
- onToggle: ot
557
+ isCursorPointer: Je.value,
558
+ onToggle: et
553
559
  }, null, 8, [
554
560
  "backgroundColor",
555
561
  "color",
556
562
  "fontSize",
557
563
  "checked",
558
564
  "isCursorPointer"
559
- ])) : m("", !0), (x(!0), h(f, null, C(J.value, (e, t) => (x(), h("div", {
565
+ ])) : m("", !0), (S(!0), h(d, null, w(J.value, (e, t) => (S(), h("div", {
560
566
  role: "button",
561
567
  tabindex: "0",
562
568
  "aria-pressed": q.value.includes(t),
563
569
  "aria-label": `${e.name}, ${q.value.includes(t) ? "hidden" : "visible"}, ${e.proportionLabel}`,
564
- style: b(`font-size:${R.value.style.legend.fontSize}px;cursor:${et.value ? "pointer" : "default"}`),
565
- class: v({
570
+ style: x(`font-size:${R.value.style.legend.fontSize}px;cursor:${Je.value ? "pointer" : "default"}`),
571
+ class: y({
566
572
  "vue-ui-sparkstackbar-legend-item": !0,
567
573
  "vue-ui-sparkstackbar-legend-item-unselected": q.value.includes(t)
568
574
  }),
569
575
  onClick: (n) => {
570
576
  X(t), Q(e, t, !0);
571
577
  },
572
- onFocus: (t) => _t(e),
573
- onBlur: vt,
574
- onKeydown: (n) => yt(n, e, t)
575
- }, [g("div", Re, [(x(), h("svg", {
578
+ onFocus: (t) => dt(e),
579
+ onBlur: ft,
580
+ onKeydown: (n) => pt(n, e, t)
581
+ }, [g("div", Pe, [(S(), h("svg", {
576
582
  height: `${R.value.style.legend.fontSize}px`,
577
583
  width: `${R.value.style.legend.fontSize}px`,
578
584
  viewBox: "0 0 10 10"
579
- }, [g("defs", null, [g("radialGradient", { id: `legend_grad_${t}-${A.value}` }, [g("stop", {
580
- offset: "0%",
581
- "stop-color": E(z) ? "#FFFFFF" : E(o)(E(ie)(e.color, .05), 100 - R.value.style.bar.gradient.intensity)
582
- }, null, 8, Ve), g("stop", {
583
- offset: "100%",
584
- "stop-color": e.color
585
- }, null, 8, He)], 8, Be)]), g("circle", {
585
+ }, [g("defs", null, [_(de, {
586
+ t: "radial",
587
+ id: `legend_grad_${t}-${A.value}`,
588
+ stops: [[
589
+ "0%",
590
+ D(z) ? "#FFFFFF" : D(o)(D(ie)(e.color, .05), 100 - R.value.style.bar.gradient.intensity),
591
+ 1
592
+ ], [
593
+ "100%",
594
+ e.color,
595
+ 1
596
+ ]]
597
+ }, null, 8, ["id", "stops"])]), g("circle", {
586
598
  cx: 5,
587
599
  cy: 5,
588
600
  r: 5,
589
601
  fill: R.value.style.bar.gradient.show ? `url(#legend_grad_${t}-${A.value})` : e.color
590
- }, null, 8, Ue)], 8, ze)), E(z) ? m("", !0) : (x(), h(f, { key: 0 }, [g("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 ? m("", !0) : (x(), h(f, { key: 0 }, [R.value.style.legend.percentage.show ? (x(), h("span", {
602
+ }, null, 8, Ie)], 8, Fe)), D(z) ? m("", !0) : (S(), h(d, { key: 0 }, [g("span", { style: x(`color:${R.value.style.legend.name.color}; font-weight:${R.value.style.legend.name.bold ? "bold" : "normal"}`) }, E(e.name), 5), G.value ? m("", !0) : (S(), h(d, { key: 0 }, [R.value.style.legend.percentage.show ? (S(), h("span", {
591
603
  key: 0,
592
- style: b(`font-weight:${R.value.style.legend.percentage.bold ? "bold" : "normal"};color:${R.value.style.legend.percentage.color}`)
593
- }, T(q.value.includes(t) ? " - " : e.proportionLabel), 5)) : m("", !0), R.value.style.legend.value.show ? (x(), h("span", {
604
+ style: x(`font-weight:${R.value.style.legend.percentage.bold ? "bold" : "normal"};color:${R.value.style.legend.percentage.color}`)
605
+ }, E(q.value.includes(t) ? " - " : e.proportionLabel), 5)) : m("", !0), R.value.style.legend.value.show ? (S(), h("span", {
594
606
  key: 1,
595
- style: b(`font-weight:${R.value.style.legend.value.bold ? "bold" : "normal"};color:${R.value.style.legend.value.color}`)
596
- }, " (" + T(E(u)(R.value.style.legend.value.formatter, e.value, E(r)({
607
+ style: x(`font-weight:${R.value.style.legend.value.bold ? "bold" : "normal"};color:${R.value.style.legend.value.color}`)
608
+ }, " (" + E(D(u)(R.value.style.legend.value.formatter, e.value, D(r)({
597
609
  p: R.value.style.legend.value.prefix,
598
610
  v: e.value,
599
611
  s: R.value.style.legend.value.suffix,
@@ -601,11 +613,11 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
601
613
  }), {
602
614
  datapoint: e,
603
615
  seriesIndex: t
604
- })) + ") ", 5)) : m("", !0)], 64))], 64))])], 46, Le))), 256))], 4)) : m("", !0),
605
- he(E(Ge), {
616
+ })) + ") ", 5)) : m("", !0)], 64))], 64))])], 46, Ne))), 256))], 4)) : m("", !0),
617
+ _(D(ze), {
606
618
  teleportTo: R.value.style.tooltip.teleportTo,
607
619
  show: j.value && R.value.style.tooltip.show,
608
- parent: Xe.value,
620
+ parent: We.value,
609
621
  backgroundColor: R.value.style.tooltip.backgroundColor,
610
622
  color: R.value.style.tooltip.color,
611
623
  fontSize: R.value.style.tooltip.fontSize,
@@ -614,7 +626,7 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
614
626
  borderWidth: R.value.style.tooltip.borderWidth,
615
627
  backgroundOpacity: R.value.style.tooltip.backgroundOpacity,
616
628
  position: R.value.style.tooltip.position,
617
- content: Ze.value,
629
+ content: Ge.value,
618
630
  isCustom: N.value,
619
631
  offsetX: R.value.style.tooltip.offsetX,
620
632
  offsetY: -124 + R.value.style.tooltip.offsetY,
@@ -624,11 +636,11 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
624
636
  smoothForce: R.value.style.tooltip.smoothForce,
625
637
  smoothSnapThreshold: R.value.style.tooltip.smoothSnapThreshold,
626
638
  isA11yMode: F.value === "keyboard",
627
- a11yPosition: Qe.value
639
+ a11yPosition: Ke.value
628
640
  }, {
629
- "tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(_({ ...M.value })), void 0, !0)]),
630
- tooltip: D(() => [w(e.$slots, "tooltip", y(_({ ...M.value })), void 0, !0)]),
631
- "tooltip-after": D(() => [w(e.$slots, "tooltip-after", y(_({ ...M.value })), void 0, !0)]),
641
+ "tooltip-before": O(() => [T(e.$slots, "tooltip-before", b(v({ ...M.value })), void 0, !0)]),
642
+ tooltip: O(() => [T(e.$slots, "tooltip", b(v({ ...M.value })), void 0, !0)]),
643
+ "tooltip-after": O(() => [T(e.$slots, "tooltip-after", b(v({ ...M.value })), void 0, !0)]),
632
644
  _: 3
633
645
  }, 8, [
634
646
  "teleportTo",
@@ -653,10 +665,10 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
653
665
  "isA11yMode",
654
666
  "a11yPosition"
655
667
  ]),
656
- e.$slots.source ? (x(), h("div", We, [w(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
657
- w(e.$slots, "skeleton", {}, () => [E(z) ? (x(), me(se, { key: 0 })) : m("", !0)], !0)
668
+ e.$slots.source ? (S(), h("div", Le, [T(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
669
+ T(e.$slots, "skeleton", {}, () => [D(z) ? (S(), p(se, { key: 0 })) : m("", !0)], !0)
658
670
  ], 4));
659
671
  }
660
- }, [["__scopeId", "data-v-706a37e5"]]);
672
+ }, [["__scopeId", "data-v-4ea77f60"]]);
661
673
  //#endregion
662
- export { xe as n, O as t };
674
+ export { xe as n, Re as t };