vue-data-ui 3.25.11 → 3.25.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/dist/{Arrow-DLn-pcrh.js → Arrow-BhZDUeMp.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Gm4Q30j0.js → BaseDraggableDialog-Ck6R5Q0K.js} +2 -2
  3. package/dist/{BaseIcon-D8R6_sKH.js → BaseIcon-Dlz7gfx0.js} +1 -1
  4. package/dist/{BaseLegendToggle-CXQrLjd-.js → BaseLegendToggle-DGG65LAR.js} +1 -1
  5. package/dist/{BaseZoomControls-BTzjVDPM.js → BaseZoomControls-BK0PxEa8.js} +2 -2
  6. package/dist/{ColorPicker-CUy15T72.js → ColorPicker-DMTwxvi_.js} +2 -2
  7. package/dist/{DataTable-oiM9uWrQ.js → DataTable-BD1eZ0zB.js} +2 -2
  8. package/dist/{HillActions-Dn8aKOVJ.js → HillActions-CiP2m7Nz.js} +1 -1
  9. package/dist/{Legend-X4kF4PvW.js → Legend-C0Ln0VNe.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-DFXjpRyl.js → NonSvgPenAndPaper-BjrMLISf.js} +3 -3
  11. package/dist/{PackageVersion-CEvZNFTz.js → PackageVersion-D5QkTJQU.js} +1 -1
  12. package/dist/{PenAndPaper-Cd3nItcO.js → PenAndPaper-XdUD8uB3.js} +3 -3
  13. package/dist/{Shape-CIqU-p2F.js → Shape-VCdxvFV9.js} +3 -3
  14. package/dist/{SlicerPreview-Ccss7Vsq.js → SlicerPreview-BJ4usfYd.js} +21 -21
  15. package/dist/{SparkTooltip-L3SliZbR.js → SparkTooltip-B1gRxPfb.js} +6 -6
  16. package/dist/{Title-CPHi-evi.js → Title-DeqmC-vN.js} +1 -1
  17. package/dist/{Tooltip-hhrkQ3Lk.js → Tooltip-DZ4a3XJQ.js} +1 -1
  18. package/dist/{UserOptions-qo_Tsqci.js → UserOptions-wFD9vo9g.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-hill.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-label.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-BR4imuKV.js → dom-to-png-DdqmzDdY.js} +1 -1
  91. package/dist/exposedLib-BBtjpydc.js +28 -0
  92. package/dist/{img-BkMKbWsI.js → img-W50sC9SC.js} +1 -1
  93. package/dist/{labelUtils-BXX2NzRe.js → labelUtils-Dvm-7rse.js} +1 -1
  94. package/dist/{lib-Dql7cqyA.js → lib-DOpaUOQx.js} +191 -88
  95. package/dist/{package-B10eQN5L.js → package-Cmcke8zR.js} +1 -1
  96. package/dist/{pdf-BSOs_GZz.js → pdf-zGbDDpCi.js} +1 -1
  97. package/dist/{render-common-CZ6-MONw.js → render-common-CG1wuHZY.js} +16 -16
  98. package/dist/ssr/vue-ui-donut.js +1 -1
  99. package/dist/ssr/vue-ui-xy.js +1 -1
  100. package/dist/ssr.js +2 -2
  101. package/dist/style.css +1 -1
  102. package/dist/types/vue-data-ui.d.ts +6 -0
  103. package/dist/{useConfig-D32D002m.js → useConfig-C2uy4ltq.js} +2 -0
  104. package/dist/{useNestedProp-Chvyfpl-.js → useNestedProp-Bux0f4iY.js} +1 -1
  105. package/dist/{useObjectBindings-Cd_WuYIn.js → useObjectBindings-CEuNiBIT.js} +1 -1
  106. package/dist/{usePrinter-hohanNCX.js → usePrinter-BBBooAGP.js} +2 -2
  107. package/dist/utils.js +13 -13
  108. package/dist/{vue-data-ui-zJ1rNxIN.js → vue-data-ui-BVzA0tEV.js} +70 -70
  109. package/dist/vue-data-ui.js +75 -75
  110. package/dist/{vue-ui-3d-bar-CKTAkCAN.js → vue-ui-3d-bar-Ckauu3d4.js} +536 -536
  111. package/dist/{vue-ui-accordion-DmkL8A59.js → vue-ui-accordion-yHZMJLaY.js} +4 -4
  112. package/dist/vue-ui-age-pyramid-BczIt1-U.js +1305 -0
  113. package/dist/{vue-ui-annotator-BLYRy--7.js → vue-ui-annotator-BGB6K6u0.js} +60 -60
  114. package/dist/{vue-ui-bullet-Ck398xn8.js → vue-ui-bullet-BoTsLccZ.js} +84 -84
  115. package/dist/{vue-ui-bump-DyA47yse.js → vue-ui-bump-B5ztSSQO.js} +105 -105
  116. package/dist/{vue-ui-candlestick-DCavjk1j.js → vue-ui-candlestick-BJtdA4Yu.js} +98 -98
  117. package/dist/vue-ui-carousel-table-D-3KSWok.js +467 -0
  118. package/dist/vue-ui-chestnut-W2l-W0_e.js +2016 -0
  119. package/dist/{vue-ui-chord-GgA7QFUH.js → vue-ui-chord-BFPQsMj8.js} +63 -63
  120. package/dist/{vue-ui-circle-pack-BUXTVdy3.js → vue-ui-circle-pack-BtPc1BR3.js} +50 -50
  121. package/dist/{vue-ui-cursor-CEejESe_.js → vue-ui-cursor-CpNOiwkt.js} +61 -61
  122. package/dist/{vue-ui-dag-C1c6scxC.js → vue-ui-dag-i-zPwLcN.js} +44 -44
  123. package/dist/{vue-ui-dashboard-BZBJM7dN.js → vue-ui-dashboard-DtaW9a2P.js} +70 -70
  124. package/dist/{vue-ui-digits-CsougDlU.js → vue-ui-digits-BIlec9af.js} +4 -4
  125. package/dist/{vue-ui-donut-lBgSYKgO.js → vue-ui-donut-Bgf-n95J.js} +551 -551
  126. package/dist/{vue-ui-donut-Be9jKelz.js → vue-ui-donut-CJlBEyxu.js} +203 -203
  127. package/dist/vue-ui-donut-evolution-C0BKntfL.js +1552 -0
  128. package/dist/{vue-ui-dumbbell-CwmA5x9G.js → vue-ui-dumbbell-C112YLkC.js} +87 -87
  129. package/dist/{vue-ui-flow-CRhh8SSN.js → vue-ui-flow-j4bDg9Zd.js} +99 -99
  130. package/dist/{vue-ui-funnel-DH1hW8Gw.js → vue-ui-funnel-CVHpfBCW.js} +40 -40
  131. package/dist/vue-ui-galaxy-ChGpUWh8.js +1097 -0
  132. package/dist/{vue-ui-gauge-CV4-Rn7K.js → vue-ui-gauge-Cp00vXfG.js} +190 -190
  133. package/dist/{vue-ui-geo-BocLrguL.js → vue-ui-geo-B4hDk5NO.js} +12 -12
  134. package/dist/{vue-ui-gizmo-6wKlI5PC.js → vue-ui-gizmo-D6nCCsS4.js} +54 -54
  135. package/dist/vue-ui-heatmap-scVJc1cw.js +1606 -0
  136. package/dist/{vue-ui-hill-CeIZZFf5.js → vue-ui-hill-DnYUHGAK.js} +21 -21
  137. package/dist/vue-ui-history-plot-C5qAMaaW.js +1710 -0
  138. package/dist/{vue-ui-horizontal-bar-D2aw-8tx.js → vue-ui-horizontal-bar-nEG4uvpv.js} +85 -85
  139. package/dist/{vue-ui-kpi-BQ967gzv.js → vue-ui-kpi-DOxId6xg.js} +12 -12
  140. package/dist/{vue-ui-label-Cs4ZlAqr.js → vue-ui-label-BDKY7BI7.js} +4 -4
  141. package/dist/{vue-ui-mini-loader-wGeACd-Y.js → vue-ui-mini-loader-BknVs9VJ.js} +3 -3
  142. package/dist/vue-ui-molecule-_x232mMu.js +941 -0
  143. package/dist/vue-ui-mood-radar-D-F4855V.js +1111 -0
  144. package/dist/{vue-ui-nested-donuts-DT2zkLx2.js → vue-ui-nested-donuts-0E5IllFW.js} +481 -481
  145. package/dist/vue-ui-onion-Eip0S1H7.js +1247 -0
  146. package/dist/vue-ui-parallel-coordinate-plot-DO0sQdJw.js +1444 -0
  147. package/dist/vue-ui-quadrant-CA0ClWfL.js +1979 -0
  148. package/dist/{vue-ui-quick-chart-CkPu6GMh.js → vue-ui-quick-chart-D-VuAoll.js} +169 -169
  149. package/dist/vue-ui-radar-BTD7Y0Ps.js +1386 -0
  150. package/dist/vue-ui-rating-C_Qj6gnP.js +359 -0
  151. package/dist/vue-ui-relation-circle-CcxLBVFV.js +905 -0
  152. package/dist/vue-ui-ridgeline-BZrzbbhb.js +1630 -0
  153. package/dist/{vue-ui-rings-CBtHZ5Pp.js → vue-ui-rings-CO48GOP2.js} +78 -78
  154. package/dist/{vue-ui-scatter-DzePsQEe.js → vue-ui-scatter-DrxUgZbQ.js} +136 -136
  155. package/dist/{vue-ui-skeleton-C347nFnE.js → vue-ui-skeleton-CeKjW4MX.js} +510 -510
  156. package/dist/{vue-ui-smiley-BIjAIpJ9.js → vue-ui-smiley-BvRwx69s.js} +6 -6
  157. package/dist/{vue-ui-spark-trend-Di_7Da43.js → vue-ui-spark-trend-DnujGRyt.js} +96 -96
  158. package/dist/{vue-ui-sparkbar-CbJ-fKc6.js → vue-ui-sparkbar-Cd_uhYGD.js} +113 -113
  159. package/dist/vue-ui-sparkgauge-hT31YEtt.js +268 -0
  160. package/dist/vue-ui-sparkhistogram-PKlTYhKA.js +589 -0
  161. package/dist/vue-ui-sparkline-BSu1uRvP.js +1610 -0
  162. package/dist/{vue-ui-sparkstackbar-IM_l98X-.js → vue-ui-sparkstackbar-R0ij2vi1.js} +183 -183
  163. package/dist/vue-ui-stackbar-BrzzkGFk.js +2369 -0
  164. package/dist/vue-ui-stackline-zEX3gR3y.js +2483 -0
  165. package/dist/{vue-ui-strip-plot-CVV0t6mb.js → vue-ui-strip-plot-DR3N56rS.js} +253 -253
  166. package/dist/{vue-ui-table-nAGCIZKg.js → vue-ui-table-Bg6BeLrf.js} +117 -117
  167. package/dist/{vue-ui-table-heatmap-D5F5bLx5.js → vue-ui-table-heatmap-C1b1Pcp8.js} +95 -95
  168. package/dist/vue-ui-table-sparkline-CkVXyequ.js +738 -0
  169. package/dist/{vue-ui-thermometer-Ccr2ZnzI.js → vue-ui-thermometer-CqkaMF7Z.js} +23 -23
  170. package/dist/{vue-ui-timer-DkW-P6EG.js → vue-ui-timer-CgJvNwBv.js} +13 -13
  171. package/dist/{vue-ui-tiremarks-Bf2anKLr.js → vue-ui-tiremarks-B078YJ9M.js} +30 -30
  172. package/dist/{vue-ui-treemap-Wy61KlkN.js → vue-ui-treemap-Cfjf8mDl.js} +77 -77
  173. package/dist/vue-ui-waffle-BZIcPa0l.js +1633 -0
  174. package/dist/{vue-ui-wheel-DGhu_B8n.js → vue-ui-wheel-CPTm8AHn.js} +185 -185
  175. package/dist/{vue-ui-word-cloud-CdRMst8U.js → vue-ui-word-cloud-DnGblUwj.js} +46 -46
  176. package/dist/{vue-ui-world-Bc4hMzzB.js → vue-ui-world-KkcpeKqp.js} +133 -133
  177. package/dist/vue-ui-xy-C6lVqZnx.js +5367 -0
  178. package/dist/{vue-ui-xy-CbgQs7yW.js → vue-ui-xy-ClCV7xA5.js} +169 -169
  179. package/dist/{vue-ui-xy-canvas-R2xbgDOy.js → vue-ui-xy-canvas-BlpCbXKR.js} +435 -435
  180. package/package.json +1 -1
  181. package/dist/exposedLib-CG3aXJ-v.js +0 -28
  182. package/dist/vue-ui-age-pyramid-SpPactMh.js +0 -1305
  183. package/dist/vue-ui-carousel-table-DCnVD0BJ.js +0 -467
  184. package/dist/vue-ui-chestnut-BDBdizBp.js +0 -2016
  185. package/dist/vue-ui-donut-evolution-vLMhwz4K.js +0 -1552
  186. package/dist/vue-ui-galaxy-CiqILfxR.js +0 -1097
  187. package/dist/vue-ui-heatmap-DGXXRsr4.js +0 -1606
  188. package/dist/vue-ui-history-plot-CporPpg9.js +0 -1710
  189. package/dist/vue-ui-molecule-CvDC9Ht5.js +0 -941
  190. package/dist/vue-ui-mood-radar-BK1va5-H.js +0 -1111
  191. package/dist/vue-ui-onion-DPMikBzZ.js +0 -1247
  192. package/dist/vue-ui-parallel-coordinate-plot-DMPxUL3p.js +0 -1444
  193. package/dist/vue-ui-quadrant-DFkIeJXo.js +0 -1979
  194. package/dist/vue-ui-radar-B3OOLJal.js +0 -1386
  195. package/dist/vue-ui-rating-Criq0ofQ.js +0 -359
  196. package/dist/vue-ui-relation-circle-I6e5UxgY.js +0 -905
  197. package/dist/vue-ui-ridgeline-FmmdCdy9.js +0 -1630
  198. package/dist/vue-ui-sparkgauge-Bb9-yFTb.js +0 -268
  199. package/dist/vue-ui-sparkhistogram-kbbbDVul.js +0 -589
  200. package/dist/vue-ui-sparkline-BF0Fdo6v.js +0 -1587
  201. package/dist/vue-ui-stackbar-CaEXVeo5.js +0 -2369
  202. package/dist/vue-ui-stackline-MgvhcBfm.js +0 -2483
  203. package/dist/vue-ui-table-sparkline-Bf2hjBwq.js +0 -738
  204. package/dist/vue-ui-waffle-CkIFp-AN.js +0 -1633
  205. package/dist/vue-ui-xy-DybWfQrI.js +0 -5298
@@ -1,13 +1,13 @@
1
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, Z as ee, Zt as te, ht as ne, i as re, nt as ie, q as ae, t as oe, w as se } from "./lib-Dql7cqyA.js";
2
+ import { $ as t, $t as n, Et as r, Jt as i, Rt as a, S as o, Vt as s, X as c, at as ee, et as te, i as ne, qt as re, t as ie, tn as ae, vt as oe, w as se } from "./lib-DOpaUOQx.js";
3
3
  import { n as ce, t as le } from "./useHints-Dq_w2E8B.js";
4
- import { t as ue } from "./useConfig-D32D002m.js";
4
+ import { t as ue } from "./useConfig-C2uy4ltq.js";
5
5
  import { n as de, t as fe } from "./BaseScanner-Dzc8VT3j.js";
6
- import { t as pe } from "./useNestedProp-Chvyfpl-.js";
6
+ import { t as pe } from "./useNestedProp-Bux0f4iY.js";
7
7
  import { t as me } from "./useThemeCheck-C43Tcqmk.js";
8
8
  import { t as he } from "./_plugin-vue_export-helper-B3ysoDQm.js";
9
9
  import { t as ge } from "./DefGrad-DVBqDjhO.js";
10
- import { t as _e } from "./BaseLegendToggle-CXQrLjd-.js";
10
+ import { t as _e } from "./BaseLegendToggle-DGG65LAR.js";
11
11
  import { t as ve } from "./A11yDataTable-DdRsVULz.js";
12
12
  import { t as ye } from "./useChartAccessibility-DYqac8yF.js";
13
13
  import { t as be } from "./usePrefersMotion-BC-CsqR1.js";
@@ -96,10 +96,10 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
96
96
  },
97
97
  emits: ["selectDatapoint", "selectLegend"],
98
98
  setup(e, { expose: he, emit: ke }) {
99
- let Ye = Ce(() => import("./PackageVersion-CEvZNFTz.js").then((e) => e.t)), Xe = Ce(() => import("./Tooltip-hhrkQ3Lk.js")), { vue_ui_sparkstackbar: Ze } = ue(), { isThemeValid: Qe, warnInvalidTheme: $e } = me(), et = be(), tt = Ee(), T = e, nt = b(null), E = b(ae()), D = b(!1), rt = b(""), O = b(null), k = b(!1), A = b(null), it = b({
99
+ let Ye = Ce(() => import("./PackageVersion-D5QkTJQU.js").then((e) => e.t)), Xe = Ce(() => import("./Tooltip-DZ4a3XJQ.js")), { vue_ui_sparkstackbar: Ze } = ue(), { isThemeValid: Qe, warnInvalidTheme: $e } = me(), et = be(), tt = Ee(), T = e, nt = b(null), E = b(c()), D = b(!1), rt = b(""), O = b(null), k = b(!1), A = b(null), it = b({
100
100
  x: 0,
101
101
  y: 0
102
- }), j = b("pointer"), at = b(!1), M = b(null), ot = b([]), N = b(ut()), P = u(() => N.value.style.bar), F = u(() => N.value.style.legend), I = u(() => N.value.style.tooltip), L = u(() => N.value.style), st = u(() => N.value.debug);
102
+ }), j = b("pointer"), at = b(!1), M = b(null), ot = b([]), N = b(V()), P = u(() => N.value.style.bar), F = u(() => N.value.style.legend), I = u(() => N.value.style.tooltip), L = u(() => N.value.style), st = u(() => N.value.debug);
103
103
  we(() => {
104
104
  tt["chart-background"] && st.value && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
105
105
  }), ce({
@@ -117,7 +117,7 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
117
117
  ]
118
118
  }]
119
119
  });
120
- let ct = u(() => N.value.useCursorPointer), lt = u(() => te({
120
+ let ct = u(() => N.value.useCursorPointer), lt = u(() => ae({
121
121
  defaultConfig: { style: {
122
122
  backgroundColor: "#99999930",
123
123
  animation: { show: !1 },
@@ -128,7 +128,7 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
128
128
  })), { loading: R, FINAL_DATASET: z } = de({
129
129
  ...Te(T),
130
130
  FINAL_CONFIG: N,
131
- prepareConfig: ut,
131
+ prepareConfig: V,
132
132
  skeletonDataset: T.config?.skeletonDataset ?? [
133
133
  {
134
134
  name: "_",
@@ -146,12 +146,12 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
146
146
  color: "#DBDBDB"
147
147
  }
148
148
  ],
149
- skeletonConfig: te({
149
+ skeletonConfig: ae({
150
150
  defaultConfig: N.value,
151
151
  userConfig: lt.value
152
152
  })
153
153
  }), { svgRef: B } = ye({ config: L.value.title });
154
- function ut() {
154
+ function V() {
155
155
  let e = pe({
156
156
  userConfig: T.config,
157
157
  defaultConfig: Ze
@@ -167,135 +167,135 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
167
167
  });
168
168
  return {
169
169
  ...i,
170
- customPalette: i.customPalette.length ? i.customPalette : c[t] || n
170
+ customPalette: i.customPalette.length ? i.customPalette : n[t] || s
171
171
  };
172
172
  }
173
- function dt(e) {
174
- let t = ee(e);
173
+ function ut(e) {
174
+ let t = te(e);
175
175
  return t?.style && delete t.style.tooltip, JSON.stringify(t);
176
176
  }
177
- let ft = dt(T.config);
177
+ let dt = ut(T.config);
178
178
  De(() => T.config, (e, t) => {
179
- let n = dt(e), r = n !== ft;
180
- ft = n;
181
- let i = ut();
179
+ let n = ut(e), r = n !== dt;
180
+ dt = n;
181
+ let i = V();
182
182
  if (!r) {
183
183
  N.value.style.tooltip = i.style.tooltip;
184
184
  return;
185
185
  }
186
- N.value = i, mt();
186
+ N.value = i, pt();
187
187
  }, { deep: !0 }), De(() => z.value, (e) => {
188
- H.value = z.value.map((e, t) => ({
188
+ U.value = z.value.map((e, t) => ({
189
189
  ...e,
190
- color: e.color ? i(e.color) : V.value[t] || n[t] || n[t % n.length]
191
- })), pt();
190
+ color: e.color ? o(e.color) : H.value[t] || s[t] || s[t % s.length]
191
+ })), ft();
192
192
  }, { deep: !0 });
193
- let V = u(() => se(N.value.customPalette)), H = b(z.value.map((e, t) => ({
193
+ let H = u(() => se(N.value.customPalette)), U = b(z.value.map((e, t) => ({
194
194
  ...e,
195
195
  value: L.value.animation.show ? 0 : e.value || 0,
196
- color: e.color ? i(e.color) : V.value[t] || n[t] || n[t % n.length]
197
- }))), U = b(!0);
198
- function pt() {
196
+ color: e.color ? o(e.color) : H.value[t] || s[t] || s[t % s.length]
197
+ }))), W = b(!0);
198
+ function ft() {
199
199
  if (!L.value.animation.show || et.value) {
200
- U.value = !1;
200
+ W.value = !1;
201
201
  return;
202
202
  }
203
- let e = L.value.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;
204
- U.value = !0, H.value = z.value.map((e, t) => ({
203
+ let e = L.value.animation.animationFrames, t = z.value.map((e) => e.value || 0), n = t.map((t) => t / e), r = t.reduce((e, t) => e + t, 0), i = 0;
204
+ W.value = !0, U.value = z.value.map((e, t) => ({
205
205
  ...e,
206
206
  value: 0,
207
- color: e.color ? i(e.color) : V.value[t] || n[t] || n[t % n.length]
207
+ color: e.color ? o(e.color) : H.value[t] || s[t] || s[t % s.length]
208
208
  }));
209
- function s() {
210
- o += a / e, o < a ? (H.value = H.value.map((e, a) => ({
209
+ function a() {
210
+ i += r / e, i < r ? (U.value = U.value.map((e, r) => ({
211
211
  ...e,
212
- value: Math.min(e.value + r[a], t[a]),
213
- color: e.color ? i(e.color) : V.value[a] || n[a] || n[a % n.length]
214
- })), requestAnimationFrame(s)) : (U.value = !1, H.value = z.value.map((e, r) => ({
212
+ value: Math.min(e.value + n[r], t[r]),
213
+ color: e.color ? o(e.color) : H.value[r] || s[r] || s[r % s.length]
214
+ })), requestAnimationFrame(a)) : (W.value = !1, U.value = z.value.map((e, n) => ({
215
215
  ...e,
216
- value: t[r],
217
- color: e.color ? i(e.color) : V.value[r] || n[r] || n[r % n.length],
218
- id: ae()
216
+ value: t[n],
217
+ color: e.color ? o(e.color) : H.value[n] || s[n] || s[n % s.length],
218
+ id: c()
219
219
  })));
220
220
  }
221
- s();
221
+ a();
222
222
  }
223
223
  we(() => {
224
- mt();
224
+ pt();
225
225
  });
226
- function mt() {
227
- r(T.dataset) ? ie({
226
+ function pt() {
227
+ a(T.dataset) ? ee({
228
228
  componentName: "VueUiSparkStackbar",
229
229
  type: "dataset",
230
230
  debug: st.value
231
231
  }) : st.value && T.dataset.forEach((e, t) => {
232
- ne({
232
+ oe({
233
233
  datasetObject: e,
234
234
  requiredAttributes: ["name", "value"]
235
235
  }).forEach((e) => {
236
- ie({
236
+ ee({
237
237
  componentName: "VueUiSparkStackbar",
238
238
  type: "datasetSerieAttribute",
239
239
  property: e,
240
240
  index: t
241
241
  });
242
242
  });
243
- }), pt();
243
+ }), ft();
244
244
  }
245
- let W = b({
245
+ let G = b({
246
246
  width: 500,
247
247
  height: 16
248
- }), G = b([]), ht = u(() => z.value.map((e) => e.value || 0).filter((e, t) => !G.value.includes(t)).reduce((e, t) => e + t, 0)), K = u(() => H.value.map((e, t) => {
249
- let r = e.value || 0, a = r / ht.value, o = isNaN(a) ? 0 : a, c = o * W.value.width;
248
+ }), K = b([]), mt = u(() => z.value.map((e) => e.value || 0).filter((e, t) => !K.value.includes(t)).reduce((e, t) => e + t, 0)), q = u(() => U.value.map((e, n) => {
249
+ let r = e.value || 0, i = r / mt.value, a = isNaN(i) ? 0 : i, c = a * G.value.width;
250
250
  return {
251
251
  ...e,
252
- color: i(z.value[t]?.color ? z.value[t]?.color : V.value[t] || n[t] || n[t % n.length]),
252
+ color: o(z.value[n]?.color ? z.value[n]?.color : H.value[n] || s[n] || s[n % s.length]),
253
253
  value: r,
254
- proportion: o,
254
+ proportion: a,
255
255
  width: c,
256
- seriesIndex: t,
257
- proportionLabel: s({
258
- v: o * 100,
256
+ seriesIndex: n,
257
+ proportionLabel: t({
258
+ v: a * 100,
259
259
  s: "%",
260
260
  r: F.value.percentage.rounding
261
261
  })
262
262
  };
263
- })), q = u(() => K.value.filter((e, t) => !G.value.includes(t)));
264
- function gt() {
263
+ })), J = u(() => q.value.filter((e, t) => !K.value.includes(t)));
264
+ function ht() {
265
265
  D.value = !1, M.value = null, A.value = null, j.value = "pointer";
266
266
  }
267
- function _t() {
268
- gt(), G.value.length ? G.value = [] : K.value.forEach((e, t) => {
269
- G.value.push(t);
270
- }), St("selectLegend", q.value);
267
+ function gt() {
268
+ ht(), K.value.length ? K.value = [] : q.value.forEach((e, t) => {
269
+ K.value.push(t);
270
+ }), xt("selectLegend", J.value);
271
+ }
272
+ function Y(e) {
273
+ ht(), K.value.includes(e) ? K.value = K.value.filter((t) => t !== e) : K.value.length < U.value.length - 1 && K.value.push(e), xt("selectLegend", J.value);
271
274
  }
272
- function J(e) {
273
- gt(), G.value.includes(e) ? G.value = G.value.filter((t) => t !== e) : G.value.length < H.value.length - 1 && G.value.push(e), St("selectLegend", q.value);
275
+ function _t(e) {
276
+ return q.value.length ? q.value.find((t) => t.name === e) || (N.value.debug && console.warn(`VueUiSparkStackbar - Series name not found "${e}"`), null) : (N.value.debug && console.warn("VueUiSparkStackbar - There are no series to show."), null);
274
277
  }
275
278
  function vt(e) {
276
- return K.value.length ? K.value.find((t) => t.name === e) || (N.value.debug && console.warn(`VueUiSparkStackbar - Series name not found "${e}"`), null) : (N.value.debug && console.warn("VueUiSparkStackbar - There are no series to show."), null);
279
+ let t = _t(e);
280
+ t !== null && K.value.includes(t.id) && Y(t.seriesIndex);
277
281
  }
278
282
  function yt(e) {
279
- let t = vt(e);
280
- t !== null && G.value.includes(t.id) && J(t.seriesIndex);
283
+ let t = _t(e);
284
+ t !== null && (K.value.includes(t.id) || Y(t.seriesIndex));
281
285
  }
282
- function bt(e) {
283
- let t = vt(e);
284
- t !== null && (G.value.includes(t.id) || J(t.seriesIndex));
285
- }
286
- let Y = u(() => {
286
+ let X = u(() => {
287
287
  let e = 0, t = [];
288
- for (let n = 0; n < q.value.length; n += 1) t.push({
289
- ...q.value[n],
288
+ for (let n = 0; n < J.value.length; n += 1) t.push({
289
+ ...J.value[n],
290
290
  start: e
291
- }), e += q.value[n].width;
291
+ }), e += J.value[n].width;
292
292
  return t;
293
- }), xt = u(() => {
294
- let e = Y.value.reduce((e, t) => e + t.width, 0);
295
- return Math.min(Math.max(e, 0), W.value.width);
296
- }), St = ke;
297
- function X(e, t, n = !1) {
298
- St("selectDatapoint", {
293
+ }), bt = u(() => {
294
+ let e = X.value.reduce((e, t) => e + t.width, 0);
295
+ return Math.min(Math.max(e, 0), G.value.width);
296
+ }), xt = ke;
297
+ function Z(e, t, n = !1) {
298
+ xt("selectDatapoint", {
299
299
  datapoint: e,
300
300
  index: t
301
301
  }), N.value.events.datapointClick && !n && N.value.events.datapointClick({
@@ -303,29 +303,29 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
303
303
  seriesIndex: e.seriesIndex
304
304
  });
305
305
  }
306
- function Ct({ datapoint: e, seriesIndex: t }) {
306
+ function St({ datapoint: e, seriesIndex: t }) {
307
307
  D.value = !1, M.value = null, A.value = null, j.value = "pointer", N.value.events.datapointLeave && N.value.events.datapointLeave({
308
308
  datapoint: e,
309
309
  seriesIndex: e.seriesIndex
310
310
  });
311
311
  }
312
- function wt({ datapoint: e, seriesIndex: n, triggerMode: r = "pointer" }) {
312
+ function Ct({ datapoint: e, seriesIndex: n, triggerMode: a = "pointer" }) {
313
313
  if (k.value = !1, N.value.events.datapointEnter && N.value.events.datapointEnter({
314
314
  datapoint: e,
315
315
  seriesIndex: e.seriesIndex
316
316
  }), !I.value.show) return;
317
- j.value = r, O.value = {
317
+ j.value = a, O.value = {
318
318
  datapoint: e,
319
319
  seriesIndex: n,
320
320
  config: N.value,
321
- series: K.value
321
+ series: q.value
322
322
  }, D.value = !0, M.value = e.seriesIndex;
323
- let i = I.value.customFormat;
324
- if (t(i)) try {
325
- let t = i({
323
+ let o = I.value.customFormat;
324
+ if (r(o)) try {
325
+ let t = o({
326
326
  seriesIndex: e.seriesIndex,
327
327
  datapoint: e,
328
- series: K.value,
328
+ series: q.value,
329
329
  config: N.value
330
330
  });
331
331
  typeof t == "string" && (rt.value = t, k.value = !0);
@@ -333,8 +333,8 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
333
333
  console.warn("Custom format cannot be applied."), k.value = !1;
334
334
  }
335
335
  if (!k.value) {
336
- let t = "", r = P.value.gradient.show, i = `tooltip_grad_${n}_${E.value}`, c = a(o(e.color, .05), 100 - P.value.gradient.intensity), ee = r ? `<rect x="0" y="0" width="10" height="10" rx="${Z.value}" fill="${P.value.gradient.underlayerColor}"/>` : "", te = r ? `<defs><radialGradient id="${i}"><stop offset="0%" stop-color="${c}"/><stop offset="100%" stop-color="${e.color}"/></radialGradient></defs>` : "";
337
- t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${I.value.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">${te}${ee}<rect x="0" y="0" width="10" height="10" rx="${Z.value}" fill="${r ? `url(#${i})` : e.color}"/></svg>`, t += `<b>${e.proportionLabel}</b>`, t += `<span>(${re(F.value.value.formatter, e.value, s({
336
+ let r = "", a = P.value.gradient.show, o = `tooltip_grad_${n}_${E.value}`, s = re(i(e.color, .05), 100 - P.value.gradient.intensity), c = a ? `<rect x="0" y="0" width="10" height="10" rx="${Q.value}" fill="${P.value.gradient.underlayerColor}"/>` : "", ee = a ? `<defs><radialGradient id="${o}"><stop offset="0%" stop-color="${s}"/><stop offset="100%" stop-color="${e.color}"/></radialGradient></defs>` : "";
337
+ r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${I.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 10 10" height="14" width="14">${ee}${c}<rect x="0" y="0" width="10" height="10" rx="${Q.value}" fill="${a ? `url(#${o})` : e.color}"/></svg>`, r += `<b>${e.proportionLabel}</b>`, r += `<span>(${ne(F.value.value.formatter, e.value, t({
338
338
  p: F.value.value.prefix,
339
339
  v: e.value,
340
340
  s: F.value.value.suffix,
@@ -342,38 +342,38 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
342
342
  }), {
343
343
  datapoint: e,
344
344
  seriesIndex: n
345
- })})</span>`, rt.value = `<div>${t}</div>`;
345
+ })})</span>`, rt.value = `<div>${r}</div>`;
346
346
  }
347
347
  }
348
- let Tt = u(() => {
349
- let e = P.value.borderRadius == null ? W.value.height / 2 : P.value.borderRadius;
350
- return Math.min(Math.max(e, 0), W.value.height / 2);
351
- }), Z = u(() => {
352
- let e = W.value.height / 2;
353
- return e === 0 ? 5 : Tt.value / e * 5;
348
+ let wt = u(() => {
349
+ let e = P.value.borderRadius == null ? G.value.height / 2 : P.value.borderRadius;
350
+ return Math.min(Math.max(e, 0), G.value.height / 2);
351
+ }), Q = u(() => {
352
+ let e = G.value.height / 2;
353
+ return e === 0 ? 5 : wt.value / e * 5;
354
354
  });
355
- function Q(e) {
355
+ function $(e) {
356
356
  let t = ot.value[e];
357
357
  t && typeof t.focus == "function" && t.focus();
358
358
  }
359
- function Et(e) {
359
+ function Tt(e) {
360
360
  if (!Number.isFinite(e) || !B.value) return;
361
- let t = Y.value[e];
361
+ let t = X.value[e];
362
362
  if (!t) return;
363
- let n = B.value.getBoundingClientRect(), r = t.start + t.width / 2, i = W.value.height / 2;
363
+ let n = B.value.getBoundingClientRect(), r = t.start + t.width / 2, i = G.value.height / 2;
364
364
  it.value = {
365
- x: n.left + r / W.value.width * n.width,
366
- y: n.top + i / W.value.height * n.height
365
+ x: n.left + r / G.value.width * n.width,
366
+ y: n.top + i / G.value.height * n.height
367
367
  };
368
368
  }
369
- function Dt() {
369
+ function Et() {
370
370
  A.value = null, at.value = !0;
371
371
  }
372
- function Ot() {
372
+ function Dt() {
373
373
  A.value = null, j.value = "pointer", D.value = !1, M.value = null, at.value = !1;
374
374
  }
375
- function kt(e) {
376
- if (!B.value || document.activeElement !== B.value || !Y.value.length) return;
375
+ function Ot(e) {
376
+ if (!B.value || document.activeElement !== B.value || !X.value.length) return;
377
377
  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";
378
378
  if (!t && !n && !r && !i && !a && !o) return;
379
379
  if (e.preventDefault(), e.stopPropagation(), i) {
@@ -382,76 +382,76 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
382
382
  }
383
383
  if (r) {
384
384
  if (A.value === null) return;
385
- let e = Y.value[A.value];
385
+ let e = X.value[A.value];
386
386
  if (!e) return;
387
- X(e, e.seriesIndex);
387
+ Z(e, e.seriesIndex);
388
388
  return;
389
389
  }
390
390
  let s = A.value;
391
- a ? s = 0 : o ? s = Y.value.length - 1 : s === null || s < 0 || s >= Y.value.length ? s = n ? 0 : Y.value.length - 1 : n ? (s += 1, s >= Y.value.length && (s = 0)) : t && (--s, s < 0 && (s = Y.value.length - 1));
392
- let c = Y.value[s];
393
- c && (A.value = s, Et(s), wt({
391
+ 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));
392
+ let c = X.value[s];
393
+ c && (A.value = s, Tt(s), Ct({
394
394
  datapoint: c,
395
395
  seriesIndex: c.seriesIndex,
396
396
  triggerMode: "keyboard"
397
397
  }));
398
398
  }
399
- function At(e) {
399
+ function kt(e) {
400
400
  D.value = !1, A.value = null, j.value = "pointer", M.value = e.seriesIndex;
401
401
  }
402
- function jt() {
402
+ function At() {
403
403
  A.value = null, j.value = "pointer", D.value = !1, M.value = null;
404
404
  }
405
- function Mt(e, t, n) {
405
+ function jt(e, t, n) {
406
406
  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";
407
407
  if (r || i || a || o || s || c) {
408
408
  if (e.preventDefault(), e.stopPropagation(), c) {
409
- jt();
409
+ At();
410
410
  return;
411
411
  }
412
412
  if (r) {
413
- J(n), X(t, n, !0);
413
+ Y(n), Z(t, n, !0);
414
414
  return;
415
415
  }
416
416
  if (o) {
417
- Q(0);
417
+ $(0);
418
418
  return;
419
419
  }
420
420
  if (s) {
421
- Q(K.value.length - 1);
421
+ $(q.value.length - 1);
422
422
  return;
423
423
  }
424
424
  if (i) {
425
- Q(n <= 0 ? K.value.length - 1 : n - 1);
425
+ $(n <= 0 ? q.value.length - 1 : n - 1);
426
426
  return;
427
427
  }
428
- a && Q(n >= K.value.length - 1 ? 0 : n + 1);
428
+ a && $(n >= q.value.length - 1 ? 0 : n + 1);
429
429
  }
430
430
  }
431
- let $ = u(() => ({
431
+ let Mt = u(() => ({
432
432
  headers: [
433
433
  N.value.a11y.translations.series,
434
434
  N.value.a11y.translations.percentage,
435
435
  N.value.a11y.translations.value
436
436
  ],
437
- rows: K.value.map((e, t) => [
437
+ rows: q.value.map((e, n) => [
438
438
  e.name,
439
- G.value.includes(t) ? " - " : e.proportionLabel,
440
- re(F.value.value.formatter, e.value, s({
439
+ K.value.includes(n) ? " - " : e.proportionLabel,
440
+ ne(F.value.value.formatter, e.value, t({
441
441
  p: F.value.value.prefix,
442
442
  v: e.value,
443
443
  s: F.value.value.suffix,
444
444
  r: F.value.value.rounding
445
445
  }), {
446
446
  datapoint: e,
447
- seriesIndex: t
447
+ seriesIndex: n
448
448
  })
449
449
  ])
450
450
  }));
451
451
  return he({
452
- hideSeries: bt,
453
- showSeries: yt
454
- }), (e, t) => (y(), p("div", {
452
+ hideSeries: yt,
453
+ showSeries: vt
454
+ }), (e, n) => (y(), p("div", {
455
455
  class: "vue-data-ui-component vue-ui-spark-stackbar",
456
456
  ref_key: "sparkstackbarChart",
457
457
  ref: nt,
@@ -461,11 +461,11 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
461
461
  id: `chart-instructions-${E.value}`,
462
462
  class: "sr-only"
463
463
  }, [m("p", null, C(N.value.a11y.translations.keyboardNavigation), 1)], 8, Ae),
464
- $.value?.rows?.length ? (y(), d(ve, {
464
+ Mt.value?.rows?.length ? (y(), d(ve, {
465
465
  key: 0,
466
466
  uid: E.value,
467
- head: $.value.headers,
468
- body: $.value.rows,
467
+ head: Mt.value.headers,
468
+ body: Mt.value.rows,
469
469
  notice: N.value.a11y.translations.tableAvailable,
470
470
  caption: N.value.a11y.translations.tableCaption
471
471
  }, null, 8, [
@@ -489,17 +489,17 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
489
489
  m("div", je, [(y(), p("svg", {
490
490
  ref_key: "svgRef",
491
491
  ref: B,
492
- xmlns: w(oe),
492
+ xmlns: w(ie),
493
493
  width: "100%",
494
- viewBox: `0 0 ${W.value.width} ${W.value.height}`,
494
+ viewBox: `0 0 ${G.value.width} ${G.value.height}`,
495
495
  "aria-describedby": `chart-instructions-${E.value}`,
496
496
  tabindex: "0",
497
- onFocus: Dt,
498
- onBlur: Ot,
499
- onKeydown: kt
497
+ onFocus: Et,
498
+ onBlur: Dt,
499
+ onKeydown: Ot
500
500
  }, [
501
501
  Se(w(Ye)),
502
- m("defs", null, [(y(!0), p(l, null, x(Y.value, (e, t) => (y(), d(ge, {
502
+ m("defs", null, [(y(!0), p(l, null, x(X.value, (e, t) => (y(), d(ge, {
503
503
  t: "linear",
504
504
  id: `stack_gradient_${t}_${E.value}`,
505
505
  key: `stack_gradient_${t}`,
@@ -512,7 +512,7 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
512
512
  ],
513
513
  [
514
514
  "50%",
515
- w(a)(w(o)(e.color, .05), 100 - P.value.gradient.intensity),
515
+ w(re)(w(i)(e.color, .05), 100 - P.value.gradient.intensity),
516
516
  1
517
517
  ],
518
518
  [
@@ -524,57 +524,57 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
524
524
  }, null, 8, ["id", "stops"]))), 128)), m("clipPath", { id: `stackPill_${E.value}` }, [m("rect", {
525
525
  x: "0",
526
526
  y: "0",
527
- width: xt.value,
528
- height: W.value.height,
529
- rx: Tt.value,
530
- class: g({ animated: !U.value && !w(R) })
527
+ width: bt.value,
528
+ height: G.value.height,
529
+ rx: wt.value,
530
+ class: g({ animated: !W.value && !w(R) })
531
531
  }, null, 10, Pe)], 8, Ne)]),
532
- ht.value > 0 ? (y(), p(l, { key: 0 }, [m("g", { "clip-path": `url(#stackPill_${E.value})` }, [
533
- (y(!0), p(l, null, x(Y.value, (e, t) => (y(), p("rect", {
532
+ mt.value > 0 ? (y(), p(l, { key: 0 }, [m("g", { "clip-path": `url(#stackPill_${E.value})` }, [
533
+ (y(!0), p(l, null, x(X.value, (e, t) => (y(), p("rect", {
534
534
  key: `stack_underlayer_${t}`,
535
535
  x: e.start,
536
536
  y: 0,
537
537
  width: e.width,
538
- height: W.value.height,
538
+ height: G.value.height,
539
539
  fill: P.value.gradient.underlayerColor,
540
- class: g({ animated: !U.value && !w(R) }),
540
+ class: g({ animated: !W.value && !w(R) }),
541
541
  style: v({ opacity: D.value && M.value !== null && I.value.show ? M.value === e.seriesIndex ? 1 : .5 : 1 })
542
542
  }, null, 14, Ie))), 128)),
543
- (y(!0), p(l, null, x(Y.value, (e, t) => (y(), p("rect", {
543
+ (y(!0), p(l, null, x(X.value, (e, t) => (y(), p("rect", {
544
544
  key: `stack_${t}`,
545
545
  x: e.start,
546
546
  y: 0,
547
547
  width: e.width,
548
- height: W.value.height,
548
+ height: G.value.height,
549
549
  fill: P.value.gradient.show ? `url(#stack_gradient_${t}_${E.value})` : e.color,
550
- class: g({ animated: !U.value && !w(R) }),
550
+ class: g({ animated: !W.value && !w(R) }),
551
551
  style: v({ opacity: D.value && M.value !== null && I.value.show ? M.value === e.seriesIndex ? 1 : .5 : 1 })
552
552
  }, null, 14, Le))), 128)),
553
- (y(!0), p(l, null, x(Y.value.slice(1), (e, t) => (y(), p("rect", {
553
+ (y(!0), p(l, null, x(X.value.slice(1), (e, t) => (y(), p("rect", {
554
554
  key: `stack_separator_${t}`,
555
555
  x: e.start - .5,
556
556
  y: "0",
557
557
  width: "1",
558
- height: W.value.height,
558
+ height: G.value.height,
559
559
  fill: L.value.backgroundColor,
560
560
  "pointer-events": "none",
561
- class: g({ animated: !U.value && !w(R) })
561
+ class: g({ animated: !W.value && !w(R) })
562
562
  }, null, 10, Re))), 128)),
563
- (y(!0), p(l, null, x(Y.value, (e, t) => (y(), p("rect", {
563
+ (y(!0), p(l, null, x(X.value, (e, t) => (y(), p("rect", {
564
564
  key: `stack_trap_${t}`,
565
565
  x: e.start,
566
566
  y: 0,
567
567
  width: e.width,
568
- height: W.value.height,
568
+ height: G.value.height,
569
569
  fill: "transparent",
570
570
  stroke: "none",
571
- class: g({ animated: !U.value && !w(R) }),
572
- onClick: () => X(e, t),
573
- onMouseenter: () => wt({
571
+ class: g({ animated: !W.value && !w(R) }),
572
+ onClick: () => Z(e, t),
573
+ onMouseenter: () => Ct({
574
574
  datapoint: e,
575
575
  seriesIndex: e.seriesIndex
576
576
  }),
577
- onMouseleave: (t) => Ct({
577
+ onMouseleave: (t) => St({
578
578
  datapoint: e,
579
579
  seriesIndex: e.seriesIndex
580
580
  })
@@ -582,9 +582,9 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
582
582
  ], 8, Fe), m("rect", {
583
583
  x: "0.5",
584
584
  y: "0.5",
585
- width: W.value.width - 1,
586
- height: W.value.height - 1,
587
- rx: Math.max(0, Tt.value - .5),
585
+ width: G.value.width - 1,
586
+ height: G.value.height - 1,
587
+ rx: Math.max(0, wt.value - .5),
588
588
  fill: "none",
589
589
  stroke: L.value.backgroundColor,
590
590
  "stroke-width": "1",
@@ -593,12 +593,12 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
593
593
  key: 1,
594
594
  x: 2,
595
595
  y: 1,
596
- width: W.value.width - 4,
597
- height: W.value.height - 2,
596
+ width: G.value.width - 4,
597
+ height: G.value.height - 2,
598
598
  stroke: "#CCCCCC",
599
599
  "stroke-width": "2",
600
600
  fill: "transparent",
601
- rx: (W.value.height - 4) / 2
601
+ rx: (G.value.height - 4) / 2
602
602
  }, null, 8, Ve))
603
603
  ], 40, Me)), e.$slots.hint ? (y(), p("div", He, [S(e.$slots, "hint", _(h({
604
604
  hint: N.value.a11y.translations.keyboardNavigation,
@@ -610,36 +610,36 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
610
610
  class: "vue-ui-sparkstackbar-legend",
611
611
  "aria-label": "legend",
612
612
  role: "toolbar"
613
- }, [F.value.selectAllToggle.show && K.value.length > 2 && !w(R) ? (y(), d(_e, {
613
+ }, [F.value.selectAllToggle.show && q.value.length > 2 && !w(R) ? (y(), d(_e, {
614
614
  key: 0,
615
615
  backgroundColor: F.value.selectAllToggle.backgroundColor,
616
616
  color: F.value.selectAllToggle.color,
617
617
  fontSize: F.value.fontSize,
618
- checked: G.value.length > 0,
618
+ checked: K.value.length > 0,
619
619
  isCursorPointer: ct.value,
620
- onToggle: _t
620
+ onToggle: gt
621
621
  }, null, 8, [
622
622
  "backgroundColor",
623
623
  "color",
624
624
  "fontSize",
625
625
  "checked",
626
626
  "isCursorPointer"
627
- ])) : f("", !0), (y(!0), p(l, null, x(K.value, (e, t) => (y(), p("div", {
627
+ ])) : f("", !0), (y(!0), p(l, null, x(q.value, (e, n) => (y(), p("div", {
628
628
  role: "button",
629
629
  tabindex: "0",
630
- "aria-pressed": G.value.includes(t),
631
- "aria-label": `${e.name}, ${G.value.includes(t) ? "hidden" : "visible"}, ${e.proportionLabel}`,
630
+ "aria-pressed": K.value.includes(n),
631
+ "aria-label": `${e.name}, ${K.value.includes(n) ? "hidden" : "visible"}, ${e.proportionLabel}`,
632
632
  style: v(`font-size:${F.value.fontSize}px;cursor:${ct.value ? "pointer" : "default"}`),
633
633
  class: g({
634
634
  "vue-ui-sparkstackbar-legend-item": !0,
635
- "vue-ui-sparkstackbar-legend-item-unselected": G.value.includes(t)
635
+ "vue-ui-sparkstackbar-legend-item-unselected": K.value.includes(n)
636
636
  }),
637
- onClick: (n) => {
638
- J(t), X(e, t, !0);
637
+ onClick: (t) => {
638
+ Y(n), Z(e, n, !0);
639
639
  },
640
- onFocus: (t) => At(e),
641
- onBlur: jt,
642
- onKeydown: (n) => Mt(n, e, t)
640
+ onFocus: (t) => kt(e),
641
+ onBlur: At,
642
+ onKeydown: (t) => jt(t, e, n)
643
643
  }, [m("div", We, [(y(), p("svg", {
644
644
  height: `${F.value.fontSize}px`,
645
645
  width: `${F.value.fontSize}px`,
@@ -647,10 +647,10 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
647
647
  }, [
648
648
  m("defs", null, [Se(ge, {
649
649
  t: "radial",
650
- id: `legend_grad_${t}-${E.value}`,
650
+ id: `legend_grad_${n}-${E.value}`,
651
651
  stops: [[
652
652
  "0%",
653
- w(R) ? "#FFFFFF" : w(a)(w(o)(e.color, .05), 100 - P.value.gradient.intensity),
653
+ w(R) ? "#FFFFFF" : w(re)(w(i)(e.color, .05), 100 - P.value.gradient.intensity),
654
654
  1
655
655
  ], [
656
656
  "100%",
@@ -664,7 +664,7 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
664
664
  y: "0",
665
665
  width: "10",
666
666
  height: "10",
667
- rx: Z.value,
667
+ rx: Q.value,
668
668
  fill: P.value.gradient.underlayerColor
669
669
  }, null, 8, Ke)) : f("", !0),
670
670
  m("rect", {
@@ -672,23 +672,23 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
672
672
  y: "0",
673
673
  width: "10",
674
674
  height: "10",
675
- rx: Z.value,
676
- fill: P.value.gradient.show ? `url(#legend_grad_${t}-${E.value})` : e.color
675
+ rx: Q.value,
676
+ fill: P.value.gradient.show ? `url(#legend_grad_${n}-${E.value})` : e.color
677
677
  }, null, 8, qe)
678
- ], 8, Ge)), w(R) ? f("", !0) : (y(), p(l, { key: 0 }, [m("span", { style: v(`color:${F.value.name.color}; font-weight:${F.value.name.bold ? "bold" : "normal"}`) }, C(e.name), 5), U.value ? f("", !0) : (y(), p(l, { key: 0 }, [F.value.percentage.show ? (y(), p("span", {
678
+ ], 8, Ge)), w(R) ? f("", !0) : (y(), p(l, { key: 0 }, [m("span", { style: v(`color:${F.value.name.color}; font-weight:${F.value.name.bold ? "bold" : "normal"}`) }, C(e.name), 5), W.value ? f("", !0) : (y(), p(l, { key: 0 }, [F.value.percentage.show ? (y(), p("span", {
679
679
  key: 0,
680
680
  style: v(`font-weight:${F.value.percentage.bold ? "bold" : "normal"};color:${F.value.percentage.color}`)
681
- }, C(G.value.includes(t) ? " - " : e.proportionLabel), 5)) : f("", !0), F.value.value.show ? (y(), p("span", {
681
+ }, C(K.value.includes(n) ? " - " : e.proportionLabel), 5)) : f("", !0), F.value.value.show ? (y(), p("span", {
682
682
  key: 1,
683
683
  style: v(`font-weight:${F.value.value.bold ? "bold" : "normal"};color:${F.value.value.color}`)
684
- }, " (" + C(w(re)(F.value.value.formatter, e.value, w(s)({
684
+ }, " (" + C(w(ne)(F.value.value.formatter, e.value, w(t)({
685
685
  p: F.value.value.prefix,
686
686
  v: e.value,
687
687
  s: F.value.value.suffix,
688
688
  r: F.value.value.rounding
689
689
  }), {
690
690
  datapoint: e,
691
- seriesIndex: t
691
+ seriesIndex: n
692
692
  })) + ") ", 5)) : f("", !0)], 64))], 64))])], 46, Ue))), 256))], 4)) : f("", !0),
693
693
  Se(w(Xe), {
694
694
  teleportTo: I.value.teleportTo,