vue-data-ui 3.22.7 → 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 (206) hide show
  1. package/dist/{Arrow-DaGI9u-b.js → Arrow-DdymhUfY.js} +1 -1
  2. package/dist/{BaseDraggableDialog-1wwwdwV2.js → BaseDraggableDialog-Av7Uxq5V.js} +2 -2
  3. package/dist/BaseIcon-UdRAvP2h.js +483 -0
  4. package/dist/{BaseLegendToggle-CHnlKalt.js → BaseLegendToggle-DWtet-Hh.js} +1 -1
  5. package/dist/{BaseZoomControls-C9bdZSCj.js → BaseZoomControls-BY2KLqs6.js} +2 -2
  6. package/dist/{ColorPicker-TB3KhY3j.js → ColorPicker-DR_ummtM.js} +2 -2
  7. package/dist/{DataTable-CVF7DoZn.js → DataTable-BxpTMgfK.js} +2 -2
  8. package/dist/DefGrad-DVBqDjhO.js +48 -0
  9. package/dist/{Legend-kAr7Vqqu.js → Legend-ROt6ugzW.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-CEiv7_gM.js → NonSvgPenAndPaper-B6EG_Sga.js} +3 -3
  11. package/dist/{PackageVersion-Dse0n05o.js → PackageVersion-D__dRVRA.js} +1 -1
  12. package/dist/{PenAndPaper-gaV1QPpP.js → PenAndPaper-DsXi7GJ-.js} +3 -3
  13. package/dist/{Shape-CiQIxyyT.js → Shape-UpH0a4Ur.js} +3 -3
  14. package/dist/{Slicer-6FOtg9py.js → Slicer-CW_XPIKL.js} +369 -364
  15. package/dist/{SlicerPreview-DUywypFu.js → SlicerPreview-CTz41lOu.js} +542 -537
  16. package/dist/{SparkTooltip-B-qsPj68.js → SparkTooltip-BTLN-Kex.js} +6 -6
  17. package/dist/{Title-PiTKr6sp.js → Title-CcNiYzEo.js} +1 -1
  18. package/dist/{Tooltip-B8yYfISA.js → Tooltip-CxOrWlFy.js} +1 -1
  19. package/dist/{UserOptions-BL9VlHop.js → UserOptions-trvJ26nz.js} +2 -2
  20. package/dist/components/arrow.js +1 -1
  21. package/dist/components/vue-ui-3d-bar.js +1 -1
  22. package/dist/components/vue-ui-accordion.js +1 -1
  23. package/dist/components/vue-ui-age-pyramid.js +1 -1
  24. package/dist/components/vue-ui-annotator.js +1 -1
  25. package/dist/components/vue-ui-bullet.js +1 -1
  26. package/dist/components/vue-ui-bump.js +1 -1
  27. package/dist/components/vue-ui-candlestick.js +1 -1
  28. package/dist/components/vue-ui-carousel-table.js +1 -1
  29. package/dist/components/vue-ui-chestnut.js +1 -1
  30. package/dist/components/vue-ui-chord.js +1 -1
  31. package/dist/components/vue-ui-circle-pack.js +1 -1
  32. package/dist/components/vue-ui-cursor.js +1 -1
  33. package/dist/components/vue-ui-dag.js +1 -1
  34. package/dist/components/vue-ui-dashboard.js +1 -1
  35. package/dist/components/vue-ui-digits.js +1 -1
  36. package/dist/components/vue-ui-donut-evolution.js +1 -1
  37. package/dist/components/vue-ui-donut.js +1 -1
  38. package/dist/components/vue-ui-dumbbell.js +1 -1
  39. package/dist/components/vue-ui-flow.js +1 -1
  40. package/dist/components/vue-ui-funnel.js +1 -1
  41. package/dist/components/vue-ui-galaxy.js +1 -1
  42. package/dist/components/vue-ui-gauge.js +1 -1
  43. package/dist/components/vue-ui-geo.js +1 -1
  44. package/dist/components/vue-ui-gizmo.js +1 -1
  45. package/dist/components/vue-ui-heatmap.js +1 -1
  46. package/dist/components/vue-ui-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-mini-loader.js +1 -1
  51. package/dist/components/vue-ui-molecule.js +1 -1
  52. package/dist/components/vue-ui-mood-radar.js +1 -1
  53. package/dist/components/vue-ui-nested-donuts.js +1 -1
  54. package/dist/components/vue-ui-onion.js +1 -1
  55. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  56. package/dist/components/vue-ui-quadrant.js +1 -1
  57. package/dist/components/vue-ui-quick-chart.js +1 -1
  58. package/dist/components/vue-ui-radar.js +1 -1
  59. package/dist/components/vue-ui-rating.js +1 -1
  60. package/dist/components/vue-ui-relation-circle.js +1 -1
  61. package/dist/components/vue-ui-ridgeline.js +1 -1
  62. package/dist/components/vue-ui-rings.js +1 -1
  63. package/dist/components/vue-ui-scatter.js +1 -1
  64. package/dist/components/vue-ui-skeleton.js +1 -1
  65. package/dist/components/vue-ui-smiley.js +1 -1
  66. package/dist/components/vue-ui-spark-trend.js +1 -1
  67. package/dist/components/vue-ui-sparkbar.js +1 -1
  68. package/dist/components/vue-ui-sparkgauge.js +1 -1
  69. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  70. package/dist/components/vue-ui-sparkline.js +1 -1
  71. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  72. package/dist/components/vue-ui-stackbar.js +1 -1
  73. package/dist/components/vue-ui-stackline.js +1 -1
  74. package/dist/components/vue-ui-strip-plot.js +1 -1
  75. package/dist/components/vue-ui-table-heatmap.js +1 -1
  76. package/dist/components/vue-ui-table-sparkline.js +1 -1
  77. package/dist/components/vue-ui-table.js +1 -1
  78. package/dist/components/vue-ui-thermometer.js +1 -1
  79. package/dist/components/vue-ui-timer.js +1 -1
  80. package/dist/components/vue-ui-tiremarks.js +1 -1
  81. package/dist/components/vue-ui-treemap.js +1 -1
  82. package/dist/components/vue-ui-vertical-bar.js +1 -1
  83. package/dist/components/vue-ui-waffle.js +1 -1
  84. package/dist/components/vue-ui-wheel.js +1 -1
  85. package/dist/components/vue-ui-word-cloud.js +1 -1
  86. package/dist/components/vue-ui-world.js +1 -1
  87. package/dist/components/vue-ui-xy-canvas.js +1 -1
  88. package/dist/components/vue-ui-xy.js +1 -1
  89. package/dist/{dom-to-png-BZjYWNEg.js → dom-to-png-BbwhsRIr.js} +1 -1
  90. package/dist/exposedLib-VXFp3Z2c.js +19 -0
  91. package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
  92. package/dist/{img-B_abIg0o.js → img-DnP3eXuv.js} +1 -1
  93. package/dist/{labelUtils-CTDRZdP1.js → labelUtils-DBEh078l.js} +1 -1
  94. package/dist/{lib-EAmk-PgA.js → lib-JqW18y5I.js} +36 -30
  95. package/dist/{package-DeMimPej.js → package-ByOT60IK.js} +1 -1
  96. package/dist/{pdf-B6qrdEqB.js → pdf-hj3gzrE7.js} +1 -1
  97. package/dist/{render-common-DMai0gHB.js → render-common-D18VrP0h.js} +20 -20
  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/utils.d.ts +18 -0
  103. package/dist/{useAutoSizeLabelsInsideViewbox-CyOGrdD_.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
  104. package/dist/{useNestedProp-D8XqxgOU.js → useNestedProp-DIuuzG1r.js} +1 -1
  105. package/dist/{usePrinter-DnGzpp6Q.js → usePrinter-CqqHmnBI.js} +2 -2
  106. package/dist/utils.js +24 -24
  107. package/dist/{vue-data-ui-D6qVWloL.js → vue-data-ui-ub3fCh6P.js} +68 -68
  108. package/dist/vue-data-ui.js +77 -77
  109. package/dist/vue-ui-3d-bar-taPI41_I.js +1825 -0
  110. package/dist/{vue-ui-accordion-Dzz8XhX3.js → vue-ui-accordion-CjAGqEJg.js} +3 -3
  111. package/dist/vue-ui-age-pyramid-jvQZbF8E.js +1247 -0
  112. package/dist/{vue-ui-annotator-DXZumSP8.js → vue-ui-annotator-BIucnT0L.js} +67 -67
  113. package/dist/vue-ui-bullet-CIATzlsk.js +710 -0
  114. package/dist/vue-ui-bump-D8MxltQE.js +1249 -0
  115. package/dist/vue-ui-candlestick-DULUMU-Q.js +1840 -0
  116. package/dist/vue-ui-carousel-table-BSmdexG7.js +455 -0
  117. package/dist/{vue-ui-chestnut-C3IbAdkQ.js → vue-ui-chestnut-BIh1nQ7q.js} +585 -553
  118. package/dist/vue-ui-chord-DL1M7cgL.js +1391 -0
  119. package/dist/{vue-ui-circle-pack-Cq4lkmee.js → vue-ui-circle-pack-C1Pgq6si.js} +424 -418
  120. package/dist/{vue-ui-cursor-DLJcFwRZ.js → vue-ui-cursor-d2uLAKTQ.js} +61 -61
  121. package/dist/{vue-ui-dag-DemsIecS.js → vue-ui-dag-CVh9FpZr.js} +43 -43
  122. package/dist/{vue-ui-dashboard-DWHD_wNN.js → vue-ui-dashboard-BH0N3ebj.js} +69 -69
  123. package/dist/{vue-ui-digits-sIKc85vS.js → vue-ui-digits-R6wi3J-Y.js} +3 -3
  124. package/dist/{vue-ui-donut-Dp6GW0dw.js → vue-ui-donut-BWDeVzLc.js} +201 -201
  125. package/dist/{vue-ui-donut-CLheJPcO.js → vue-ui-donut-BoZdciGh.js} +825 -816
  126. package/dist/{vue-ui-donut-evolution-zmRPpJLj.js → vue-ui-donut-evolution-CpC9EMro.js} +486 -474
  127. package/dist/{vue-ui-dumbbell-bSbgHd0U.js → vue-ui-dumbbell-DGA5Bfnl.js} +520 -486
  128. package/dist/{vue-ui-flow-q_M7O1BK.js → vue-ui-flow-CNczKwTh.js} +119 -119
  129. package/dist/vue-ui-funnel-CaD2tZCT.js +782 -0
  130. package/dist/{vue-ui-galaxy-DCCWmIyH.js → vue-ui-galaxy-v3cTbUiM.js} +342 -342
  131. package/dist/vue-ui-gauge-DxvMjfoc.js +926 -0
  132. package/dist/{vue-ui-geo-CM59rpnj.js → vue-ui-geo-BgmLkZZ2.js} +14 -14
  133. package/dist/{vue-ui-gizmo-D2RL6IVp.js → vue-ui-gizmo-n1kmcGeE.js} +66 -61
  134. package/dist/{vue-ui-heatmap-BX6PQxML.js → vue-ui-heatmap-dSTh8ah_.js} +163 -163
  135. package/dist/{vue-ui-history-plot-DaHAeQph.js → vue-ui-history-plot-N8BqMFVU.js} +572 -561
  136. package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +1689 -0
  137. package/dist/{vue-ui-kpi-DLbP7lJR.js → vue-ui-kpi-BKrUk9o8.js} +4 -4
  138. package/dist/{vue-ui-mini-loader-DPHzHsM7.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
  139. package/dist/vue-ui-molecule--kK1JfnP.js +931 -0
  140. package/dist/{vue-ui-mood-radar-CCWaPr0P.js → vue-ui-mood-radar-CpBRHQo_.js} +246 -241
  141. package/dist/vue-ui-nested-donuts-8Ehwcuns.js +1493 -0
  142. package/dist/vue-ui-onion-Cf6JiYTH.js +1200 -0
  143. package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +1416 -0
  144. package/dist/{vue-ui-quadrant-T_UmRAAy.js → vue-ui-quadrant-CxU0jiOm.js} +410 -404
  145. package/dist/vue-ui-quick-chart-BO98uEPl.js +2469 -0
  146. package/dist/{vue-ui-radar-CHjeGOMC.js → vue-ui-radar-eH2Qih4_.js} +323 -317
  147. package/dist/{vue-ui-rating-Bek8Tgr-.js → vue-ui-rating-CN-ZiAES.js} +137 -128
  148. package/dist/{vue-ui-relation-circle-DRZGQ_UX.js → vue-ui-relation-circle-BIcP-aAt.js} +167 -167
  149. package/dist/{vue-ui-ridgeline-DIODGiu8.js → vue-ui-ridgeline-ChXHzEJw.js} +538 -532
  150. package/dist/vue-ui-rings-J990vNbX.js +1252 -0
  151. package/dist/vue-ui-scatter-BeJB0EKg.js +2422 -0
  152. package/dist/{vue-ui-skeleton-Fmue6DAG.js → vue-ui-skeleton-DC2bZ0nk.js} +385 -382
  153. package/dist/{vue-ui-smiley-BVMI5vUy.js → vue-ui-smiley-Dyyu1je3.js} +119 -106
  154. package/dist/vue-ui-spark-trend-CpDX85H3.js +443 -0
  155. package/dist/vue-ui-sparkbar-DhIo1qsW.js +398 -0
  156. package/dist/{vue-ui-sparkgauge-DDNNBIdf.js → vue-ui-sparkgauge-D0Fo3Hts.js} +79 -74
  157. package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +576 -0
  158. package/dist/{vue-ui-sparkline-BNxdO-Bx.js → vue-ui-sparkline-ApivEMBP.js} +397 -384
  159. package/dist/{vue-ui-sparkstackbar-BfF5-Wg2.js → vue-ui-sparkstackbar-DsKQJx_n.js} +207 -195
  160. package/dist/{vue-ui-stackbar-B-2Me3d-.js → vue-ui-stackbar-Ds4hXATH.js} +595 -588
  161. package/dist/vue-ui-stackline-DJbcVvmN.js +2425 -0
  162. package/dist/vue-ui-strip-plot-C3ZHf4bD.js +1736 -0
  163. package/dist/{vue-ui-table-heatmap-D-Qrm3oX.js → vue-ui-table-heatmap-CNXNXXBU.js} +14 -14
  164. package/dist/vue-ui-table-sparkline-B9JJ4pFF.js +712 -0
  165. package/dist/{vue-ui-table-Dr1dK3d_.js → vue-ui-table-uudidrYt.js} +62 -62
  166. package/dist/vue-ui-thermometer-Bvw3oQb3.js +770 -0
  167. package/dist/{vue-ui-timer-B5bkNNHS.js → vue-ui-timer-5NAWw5BN.js} +94 -89
  168. package/dist/{vue-ui-tiremarks-Bn8b-ZSz.js → vue-ui-tiremarks-Caz_g1c5.js} +13 -13
  169. package/dist/vue-ui-treemap-F9upPyOI.js +1718 -0
  170. package/dist/vue-ui-waffle-Bk9AsrPp.js +1368 -0
  171. package/dist/{vue-ui-wheel-CeVwXtEX.js → vue-ui-wheel-DD6Q39BA.js} +130 -130
  172. package/dist/{vue-ui-word-cloud-D81-qJLw.js → vue-ui-word-cloud-BZLT5svo.js} +27 -27
  173. package/dist/vue-ui-world-DbEJN5NA.js +3027 -0
  174. package/dist/{vue-ui-xy-C2p9H2IX.js → vue-ui-xy-BYMAITk_.js} +1655 -1629
  175. package/dist/{vue-ui-xy-OhwS0kcZ.js → vue-ui-xy-Cn9Q8YPr.js} +116 -116
  176. package/dist/{vue-ui-xy-canvas-DLKDdH35.js → vue-ui-xy-canvas-Dcm2ftwm.js} +58 -58
  177. package/package.json +1 -1
  178. package/dist/BaseIcon-_-BX7be3.js +0 -502
  179. package/dist/exposedLib-Be0ifkti.js +0 -19
  180. package/dist/vue-ui-3d-bar-CjNuWXoA.js +0 -1757
  181. package/dist/vue-ui-age-pyramid-CC7Dxli-.js +0 -1238
  182. package/dist/vue-ui-bullet-Dde6FhbR.js +0 -710
  183. package/dist/vue-ui-bump-C5pni1JV.js +0 -1249
  184. package/dist/vue-ui-candlestick-Ctw65O4_.js +0 -1829
  185. package/dist/vue-ui-carousel-table-BEUvhUH0.js +0 -455
  186. package/dist/vue-ui-chord-5eCWG4br.js +0 -1391
  187. package/dist/vue-ui-funnel-BEZUEuuh.js +0 -777
  188. package/dist/vue-ui-gauge-B1ljgfE1.js +0 -920
  189. package/dist/vue-ui-horizontal-bar-CTW6l4n3.js +0 -1683
  190. package/dist/vue-ui-molecule-aD0SMTiX.js +0 -925
  191. package/dist/vue-ui-nested-donuts--BCPWkl7.js +0 -1487
  192. package/dist/vue-ui-onion-s4iMCGAP.js +0 -1200
  193. package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +0 -1416
  194. package/dist/vue-ui-quick-chart-D1OWBgQJ.js +0 -2469
  195. package/dist/vue-ui-rings-CcdUSXGG.js +0 -1246
  196. package/dist/vue-ui-scatter-CixnqLoi.js +0 -2413
  197. package/dist/vue-ui-spark-trend-DfZeLiWA.js +0 -438
  198. package/dist/vue-ui-sparkbar-Cl1e49sw.js +0 -393
  199. package/dist/vue-ui-sparkhistogram-ny_liYa6.js +0 -560
  200. package/dist/vue-ui-stackline-CdvVPQUM.js +0 -2419
  201. package/dist/vue-ui-strip-plot-CRXPXA5V.js +0 -1729
  202. package/dist/vue-ui-table-sparkline-C31Q32My.js +0 -712
  203. package/dist/vue-ui-thermometer-BUrtIfuo.js +0 -763
  204. package/dist/vue-ui-treemap-LMWiicop.js +0 -1713
  205. package/dist/vue-ui-waffle-B_L3gkky.js +0 -1362
  206. package/dist/vue-ui-world-B7npRmTa.js +0 -14264
@@ -1,49 +1,50 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Gt as t, Lt as n, Ot as r, Q as i, Rt as a, S as o, Ut as s, W as c, b as l, i as ee, jt as u, q as d, t as te, ut as ne, vt as re } from "./lib-EAmk-PgA.js";
3
- import { t as ie } from "./useConfig-DYM3f6EI.js";
4
- import { n as ae, t as oe } from "./BaseScanner-DZvpgOjM.js";
5
- import { t as se } from "./useNestedProp-D8XqxgOU.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-CHnlKalt.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 m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createVNode as me, defineAsyncComponent as he, guardReactiveProps as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onMounted as ge, openBlock as S, ref as C, renderList as w, renderSlot as T, toDisplayString as E, toRefs as _e, unref as D, useSlots as ve, watch as ye, withCtx as be } from "vue";
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
+ import { t as ae } from "./useConfig-DYM3f6EI.js";
4
+ import { n as oe, t as se } from "./BaseScanner-DZvpgOjM.js";
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 = he(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), Ge = he(() => import("./Tooltip-B8yYfISA.js")), { vue_ui_sparkstackbar: Ke } = ie(), { isThemeValid: qe, warnInvalidTheme: Je } = ce(), k = e, Ye = ve();
91
- ge(() => {
92
- Ye["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
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();
92
+ _e(() => {
93
+ Ue["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
93
94
  });
94
- let Xe = C(null), A = C(c()), j = C(!1), Ze = C(""), M = C(null), N = C(!1), P = C(null), Qe = C({
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 = C("pointer"), I = C(!1), L = C(null), $e = C([]), R = C(H()), et = p(() => R.value.useCursorPointer), tt = p(() => t({
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 },
@@ -102,8 +103,8 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
102
103
  title: { backgroundColor: "transparent" }
103
104
  } },
104
105
  userConfig: R.value.skeletonConfig ?? {}
105
- })), { loading: z, FINAL_DATASET: B } = ae({
106
- ..._e(k),
106
+ })), { loading: z, FINAL_DATASET: B } = oe({
107
+ ...ve(k),
107
108
  FINAL_CONFIG: R,
108
109
  prepareConfig: H,
109
110
  skeletonDataset: k.config?.skeletonDataset ?? [
@@ -123,140 +124,140 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
123
124
  color: "#DBDBDB"
124
125
  }
125
126
  ],
126
- skeletonConfig: t({
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 = se({
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 = se({
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 = se({
142
+ }), r = ce({
142
143
  userConfig: k.config,
143
144
  defaultConfig: n
144
145
  });
145
146
  return {
146
147
  ...r,
147
- customPalette: r.customPalette.length ? r.customPalette : s[t] || u
148
+ customPalette: r.customPalette.length ? r.customPalette : c[t] || a
148
149
  };
149
150
  }
150
- ye(() => k.config, (e) => {
151
- R.value = H(), it();
152
- }, { deep: !0 }), ye(() => B.value, (e) => {
151
+ be(() => k.config, (e) => {
152
+ R.value = H(), Qe();
153
+ }, { deep: !0 }), be(() => B.value, (e) => {
153
154
  W.value = B.value.map((e, t) => ({
154
155
  ...e,
155
- color: e.color ? l(e.color) : U.value[t] || u[t] || u[t % u.length]
156
- })), nt();
156
+ color: e.color ? l(e.color) : U.value[t] || a[t] || a[t % a.length]
157
+ })), Xe();
157
158
  }, { deep: !0 });
158
- let U = p(() => o(R.value.customPalette)), W = C(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
- color: e.color ? l(e.color) : U.value[t] || u[t] || u[t % u.length]
162
+ color: e.color ? l(e.color) : U.value[t] || a[t] || a[t % a.length]
162
163
  }))), G = C(!0);
163
- function nt() {
164
+ function Xe() {
164
165
  if (!R.value.style.animation.show) {
165
166
  G.value = !1;
166
167
  return;
167
168
  }
168
- let e = R.value.style.animation.animationFrames, t = B.value.map((e) => e.value || 0), n = t.map((t) => t / e), r = t.reduce((e, t) => e + t, 0), i = 0;
169
+ let e = R.value.style.animation.animationFrames, t = B.value.map((e) => e.value || 0), r = t.map((t) => t / e), i = t.reduce((e, t) => e + t, 0), o = 0;
169
170
  G.value = !0, W.value = B.value.map((e, t) => ({
170
171
  ...e,
171
172
  value: 0,
172
- color: e.color ? l(e.color) : U.value[t] || u[t] || u[t % u.length]
173
+ color: e.color ? l(e.color) : U.value[t] || a[t] || a[t % a.length]
173
174
  }));
174
- function a() {
175
- i += r / e, i < r ? (W.value = W.value.map((e, r) => ({
175
+ function s() {
176
+ o += i / e, o < i ? (W.value = W.value.map((e, n) => ({
176
177
  ...e,
177
- value: Math.min(e.value + n[r], t[r]),
178
- color: e.color ? l(e.color) : U.value[r] || u[r] || u[r % u.length]
179
- })), requestAnimationFrame(a)) : (G.value = !1, W.value = B.value.map((e, n) => ({
178
+ value: Math.min(e.value + r[n], t[n]),
179
+ color: e.color ? l(e.color) : U.value[n] || a[n] || a[n % a.length]
180
+ })), requestAnimationFrame(s)) : (G.value = !1, W.value = B.value.map((e, r) => ({
180
181
  ...e,
181
- value: t[n],
182
- color: e.color ? l(e.color) : U.value[n] || u[n] || u[n % u.length],
183
- id: c()
182
+ value: t[r],
183
+ color: e.color ? l(e.color) : U.value[r] || a[r] || a[r % a.length],
184
+ id: n()
184
185
  })));
185
186
  }
186
- a();
187
+ s();
187
188
  }
188
- ge(() => {
189
- it();
189
+ _e(() => {
190
+ Qe();
190
191
  });
191
- let rt = p(() => R.value.debug);
192
- function it() {
193
- r(k.dataset) ? i({
192
+ let Ze = f(() => R.value.debug);
193
+ function Qe() {
194
+ te(k.dataset) ? t({
194
195
  componentName: "VueUiSparkStackbar",
195
196
  type: "dataset",
196
- debug: rt.value
197
- }) : k.dataset.forEach((e, t) => {
198
- ne({
197
+ debug: Ze.value
198
+ }) : k.dataset.forEach((e, n) => {
199
+ ee({
199
200
  datasetObject: e,
200
201
  requiredAttributes: ["name", "value"]
201
202
  }).forEach((e) => {
202
- i({
203
+ t({
203
204
  componentName: "VueUiSparkStackbar",
204
205
  type: "datasetSerieAttribute",
205
206
  property: e,
206
- index: t,
207
- debug: rt.value
207
+ index: n,
208
+ debug: Ze.value
208
209
  });
209
210
  });
210
- }), nt();
211
+ }), Xe();
211
212
  }
212
213
  let K = C({
213
214
  width: 500,
214
215
  height: 16
215
- }), q = C([]), 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, r = n / at.value, i = isNaN(r) ? 0 : r, a = i * 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
- color: l(B.value[t]?.color ? B.value[t]?.color : U.value[t] || u[t] || u[t % u.length]),
220
+ color: l(B.value[t]?.color ? B.value[t]?.color : U.value[t] || a[t] || a[t % a.length]),
220
221
  value: n,
221
- proportion: i,
222
- width: a,
222
+ proportion: o,
223
+ width: s,
223
224
  seriesIndex: t,
224
- proportionLabel: d({
225
- v: i * 100,
225
+ proportionLabel: r({
226
+ v: o * 100,
226
227
  s: "%",
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
@@ -281,21 +282,21 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
281
282
  config: R.value,
282
283
  series: J.value
283
284
  }, j.value = !0, L.value = t;
284
- let r = R.value.style.tooltip.customFormat;
285
- if (re(r)) try {
286
- let t = r({
285
+ let i = R.value.style.tooltip.customFormat;
286
+ if (re(i)) try {
287
+ let t = i({
287
288
  seriesIndex: e.seriesIndex,
288
289
  datapoint: e,
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
  }
296
297
  if (!N.value) {
297
298
  let n = "";
298
- n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${R.value.style.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, n += `<b>${e.proportionLabel}</b>`, n += `<span>(${ee(R.value.style.legend.value.formatter, e.value, d({
299
+ n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${R.value.style.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, n += `<b>${e.proportionLabel}</b>`, n += `<span>(${u(R.value.style.legend.value.formatter, e.value, r({
299
300
  p: R.value.style.legend.value.prefix,
300
301
  v: e.value,
301
302
  s: R.value.style.legend.value.suffix,
@@ -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,
@@ -391,7 +392,7 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
391
392
  rows: J.value.map((e, t) => [
392
393
  e.name,
393
394
  q.value.includes(t) ? " - " : e.proportionLabel,
394
- ee(R.value.style.legend.value.formatter, e.value, d({
395
+ u(R.value.style.legend.value.formatter, e.value, r({
395
396
  p: R.value.style.legend.value.prefix,
396
397
  v: e.value,
397
398
  s: R.value.style.legend.value.suffix,
@@ -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) => (S(), g("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
+ ref: We,
412
413
  style: x(`width:100%; background:${R.value.style.backgroundColor}`)
413
414
  }, [
414
- _("div", {
415
+ g("div", {
415
416
  id: `chart-instructions-${A.value}`,
416
417
  class: "sr-only"
417
- }, [_("p", null, E(R.value.a11y.translations.keyboardNavigation), 1)], 8, Se),
418
- bt.value?.rows?.length ? (S(), m(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, [
@@ -428,49 +429,54 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
428
429
  "body",
429
430
  "notice",
430
431
  "caption"
431
- ])) : h("", !0),
432
- R.value.style.title.text ? (S(), g("div", {
432
+ ])) : m("", !0),
433
+ R.value.style.title.text ? (S(), h("div", {
433
434
  key: 1,
434
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
- }, [_("div", {
436
+ }, [g("div", {
436
437
  class: "atom-title",
437
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"}`)
438
- }, E(R.value.style.title.text), 5), R.value.style.title.subtitle.text ? (S(), g("div", {
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
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"}`)
442
- }, E(R.value.style.title.subtitle.text), 5)) : h("", !0)], 4)) : h("", !0),
443
- _("div", Ce, [(S(), g("svg", {
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: D(te),
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
- me(D(O)),
456
- _("defs", null, [(S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("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
- _("stop", {
462
- offset: "0%",
463
- "stop-color": e.color
464
- }, null, 8, Ee),
465
- _("stop", {
466
- offset: "50%",
467
- "stop-color": D(n)(D(a)(e.color, .05), 100 - R.value.style.bar.gradient.intensity)
468
- }, null, 8, De),
469
- _("stop", {
470
- offset: "100%",
471
- "stop-color": e.color
472
- }, null, 8, Oe)
473
- ], 8, Te))), 128)), _("clipPath", ke, [_("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,9 +484,9 @@ 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 ? (S(), g("g", je, [
483
- (S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("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,
@@ -489,8 +495,8 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
489
495
  fill: R.value.style.bar.gradient.underlayerColor,
490
496
  class: y({ animated: !G.value && !D(z) }),
491
497
  style: x({ opacity: L.value !== null && R.value.style.tooltip.show ? L.value === t ? 1 : .5 : 1 })
492
- }, null, 14, Me))), 128)),
493
- (S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("rect", {
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,
@@ -501,8 +507,8 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
501
507
  "stroke-linecap": "round",
502
508
  class: y({ animated: !G.value && !D(z) }),
503
509
  style: x({ opacity: L.value !== null && R.value.style.tooltip.show ? L.value === t ? 1 : .5 : 1 })
504
- }, null, 14, Ne))), 128)),
505
- (S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("rect", {
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,
@@ -512,16 +518,16 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
512
518
  stroke: "none",
513
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
- ])) : (S(), g("rect", {
529
+ }, null, 42, Ae))), 128))
530
+ ])) : (S(), h("rect", {
525
531
  key: 1,
526
532
  x: 2,
527
533
  y: 1,
@@ -531,37 +537,37 @@ 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 ? (S(), g("div", Ie, [T(e.$slots, "hint", b(v({
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
- })), void 0, !0)])) : h("", !0)]),
539
- R.value.style.legend.show ? (S(), g("div", {
544
+ })), void 0, !0)])) : m("", !0)]),
545
+ R.value.style.legend.show ? (S(), h("div", {
540
546
  key: 2,
541
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 && !D(z) ? (S(), m(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
- ])) : h("", !0), (S(!0), g(f, null, w(J.value, (e, t) => (S(), g("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: x(`font-size:${R.value.style.legend.fontSize}px;cursor:${et.value ? "pointer" : "default"}`),
570
+ style: x(`font-size:${R.value.style.legend.fontSize}px;cursor:${Je.value ? "pointer" : "default"}`),
565
571
  class: y({
566
572
  "vue-ui-sparkstackbar-legend-item": !0,
567
573
  "vue-ui-sparkstackbar-legend-item-unselected": q.value.includes(t)
@@ -569,31 +575,37 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
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
- }, [_("div", Re, [(S(), g("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
- }, [_("defs", null, [_("radialGradient", { id: `legend_grad_${t}-${A.value}` }, [_("stop", {
580
- offset: "0%",
581
- "stop-color": D(z) ? "#FFFFFF" : D(n)(D(a)(e.color, .05), 100 - R.value.style.bar.gradient.intensity)
582
- }, null, 8, Ve), _("stop", {
583
- offset: "100%",
584
- "stop-color": e.color
585
- }, null, 8, He)], 8, Be)]), _("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)), D(z) ? h("", !0) : (S(), g(f, { key: 0 }, [_("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 ? h("", !0) : (S(), g(f, { key: 0 }, [R.value.style.legend.percentage.show ? (S(), g("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
604
  style: x(`font-weight:${R.value.style.legend.percentage.bold ? "bold" : "normal"};color:${R.value.style.legend.percentage.color}`)
593
- }, E(q.value.includes(t) ? " - " : e.proportionLabel), 5)) : h("", !0), R.value.style.legend.value.show ? (S(), g("span", {
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
607
  style: x(`font-weight:${R.value.style.legend.value.bold ? "bold" : "normal"};color:${R.value.style.legend.value.color}`)
596
- }, " (" + E(D(ee)(R.value.style.legend.value.formatter, e.value, D(d)({
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)) : h("", !0)], 64))], 64))])], 46, Le))), 256))], 4)) : h("", !0),
605
- me(D(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": be(() => [T(e.$slots, "tooltip-before", b(v({ ...M.value })), void 0, !0)]),
630
- tooltip: be(() => [T(e.$slots, "tooltip", b(v({ ...M.value })), void 0, !0)]),
631
- "tooltip-after": be(() => [T(e.$slots, "tooltip-after", b(v({ ...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 ? (S(), g("div", We, [T(e.$slots, "source", {}, void 0, !0)], 512)) : h("", !0),
657
- T(e.$slots, "skeleton", {}, () => [D(z) ? (S(), m(oe, { key: 0 })) : h("", !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 };