vue-data-ui 3.23.9 → 3.23.11

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 (200) hide show
  1. package/README.md +40 -40
  2. package/dist/{Arrow-CF0VFcBH.js → Arrow-DrF4NNJO.js} +1 -1
  3. package/dist/{BaseDraggableDialog-LoqqwRtV.js → BaseDraggableDialog-Dr_Q6Yt5.js} +2 -2
  4. package/dist/{BaseIcon-BfndwIWE.js → BaseIcon-BbElSC8_.js} +1 -1
  5. package/dist/{BaseLegendToggle-DZVucLnv.js → BaseLegendToggle-CtEdLr4R.js} +1 -1
  6. package/dist/{BaseZoomControls-BZvCnZEi.js → BaseZoomControls-Cvq4UmNG.js} +2 -2
  7. package/dist/{ColorPicker--ayG2YHf.js → ColorPicker-ChOgAmCi.js} +2 -2
  8. package/dist/{DataTable-BbKgJ5UI.js → DataTable-CmyEubtT.js} +2 -2
  9. package/dist/{HillActions-BD9j_sOU.js → HillActions-3HneGJhS.js} +1 -1
  10. package/dist/{Legend-CQxUgOd-.js → Legend-BJtY2RA9.js} +2 -2
  11. package/dist/{NonSvgPenAndPaper-4ypecDg1.js → NonSvgPenAndPaper-DmxzHJtV.js} +3 -3
  12. package/dist/{PackageVersion-B629oKuX.js → PackageVersion-C0b7KAMa.js} +1 -1
  13. package/dist/{PenAndPaper-C0UZ74fa.js → PenAndPaper-CIa1F5Jq.js} +3 -3
  14. package/dist/{Shape-C21CMlWS.js → Shape-BAL5bQmA.js} +1 -1
  15. package/dist/{SlicerPreview-wUw1hFwe.js → SlicerPreview-BRRyc1p7.js} +426 -426
  16. package/dist/{SparkTooltip-CjsbIhzi.js → SparkTooltip-Bou05CV_.js} +1 -1
  17. package/dist/{Title-BE3qg9xl.js → Title-CaVA8EIw.js} +1 -1
  18. package/dist/{Tooltip-DhjyfHwz.js → Tooltip-CVxJe3UW.js} +1 -1
  19. package/dist/{UserOptions-Dt98of5H.js → UserOptions-WH7-49V0.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-hill.js +1 -1
  47. package/dist/components/vue-ui-history-plot.js +1 -1
  48. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  49. package/dist/components/vue-ui-icon.js +1 -1
  50. package/dist/components/vue-ui-kpi.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-BYIvdTe8.js → dom-to-png-COvyU2SG.js} +1 -1
  91. package/dist/exposedLib-DrUEXSyf.js +28 -0
  92. package/dist/{img-Bnokohej.js → img-Bkzj3lDD.js} +1 -1
  93. package/dist/{labelUtils-BeVpDvTJ.js → labelUtils-iX76cA2-.js} +1 -1
  94. package/dist/{lib-Bttd6u5E.js → lib-Dqr_-I6Y.js} +166 -163
  95. package/dist/{package-C01DAl-Z.js → package-D7_0M69J.js} +1 -1
  96. package/dist/{pdf-CVIDfCrS.js → pdf-Bk_9lTdQ.js} +1 -1
  97. package/dist/{render-common-Dv5BvuwZ.js → render-common-B0f5NTO9.js} +12 -12
  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 +13 -2
  103. package/dist/types/vue-ui-dag.d.ts +2 -0
  104. package/dist/{useNestedProp-vPNvh7rV.js → useNestedProp-CulPqtou.js} +1 -1
  105. package/dist/{usePrinter-DN5bYhTG.js → usePrinter-CEiH1b6R.js} +2 -2
  106. package/dist/utils.js +9 -9
  107. package/dist/{vue-data-ui-DDZLOx_v.js → vue-data-ui-BlZHZHoH.js} +69 -69
  108. package/dist/vue-data-ui.js +73 -73
  109. package/dist/{vue-ui-3d-bar-C9Y9Uklb.js → vue-ui-3d-bar-CtT2BovY.js} +379 -381
  110. package/dist/{vue-ui-accordion-CLU_su1P.js → vue-ui-accordion-C6L7glHU.js} +3 -3
  111. package/dist/{vue-ui-age-pyramid-D98P16h3.js → vue-ui-age-pyramid-BhGNgnLB.js} +27 -27
  112. package/dist/{vue-ui-annotator-QjHngrui.js → vue-ui-annotator-BwIu0JUV.js} +9 -9
  113. package/dist/vue-ui-bullet-BI7KJyJx.js +700 -0
  114. package/dist/{vue-ui-bump-BP7UOMFX.js → vue-ui-bump-BCQ97z1G.js} +325 -325
  115. package/dist/{vue-ui-candlestick-XPQeeduK.js → vue-ui-candlestick-Cs7I5MQS.js} +245 -245
  116. package/dist/{vue-ui-carousel-table-D39rMqRb.js → vue-ui-carousel-table-CDjAjc4b.js} +108 -108
  117. package/dist/{vue-ui-chestnut-B0xezYHS.js → vue-ui-chestnut-d6GxjfcP.js} +86 -86
  118. package/dist/vue-ui-chord-BuConnPN.js +1345 -0
  119. package/dist/vue-ui-circle-pack-CmxANHap.js +1633 -0
  120. package/dist/{vue-ui-cursor-JXCd2JAw.js → vue-ui-cursor-CQcnZYBv.js} +3 -3
  121. package/dist/{vue-ui-dag-D42c5rJN.js → vue-ui-dag-DKUZN-aQ.js} +923 -885
  122. package/dist/{vue-ui-dashboard-9-9eUWEy.js → vue-ui-dashboard-ciI4wMe6.js} +69 -69
  123. package/dist/{vue-ui-digits-CCkSVNpz.js → vue-ui-digits-DWf1vzYE.js} +3 -3
  124. package/dist/{vue-ui-donut-BnVCS9Ll.js → vue-ui-donut-CvCViwSI.js} +64 -64
  125. package/dist/vue-ui-donut-DZTtuFAG.js +2413 -0
  126. package/dist/{vue-ui-donut-evolution-CgjBE6EG.js → vue-ui-donut-evolution-BvZX3Gi8.js} +347 -347
  127. package/dist/{vue-ui-dumbbell-CVX2tGDU.js → vue-ui-dumbbell-BZywCpHd.js} +233 -236
  128. package/dist/vue-ui-flow-D5jcKr_S.js +1214 -0
  129. package/dist/vue-ui-funnel-7zX5QnQx.js +747 -0
  130. package/dist/{vue-ui-galaxy-CThLjvdQ.js → vue-ui-galaxy-BuGd-Ojm.js} +323 -325
  131. package/dist/vue-ui-gauge-BlDQIpBk.js +932 -0
  132. package/dist/{vue-ui-geo-DwNCnH_W.js → vue-ui-geo-PWGZw4Un.js} +34 -34
  133. package/dist/{vue-ui-gizmo-BkQUnPvN.js → vue-ui-gizmo-CTxB3PAl.js} +10 -10
  134. package/dist/{vue-ui-heatmap-COX6rafn.js → vue-ui-heatmap-sFF5IbM8.js} +472 -472
  135. package/dist/{vue-ui-hill-7BisXEYH.js → vue-ui-hill-DO3r2s-i.js} +10 -10
  136. package/dist/vue-ui-history-plot-Cj-Olvhn.js +1695 -0
  137. package/dist/vue-ui-horizontal-bar-B34aYuDZ.js +1708 -0
  138. package/dist/{vue-ui-kpi-R9bl7je_.js → vue-ui-kpi-Co6y1YlE.js} +3 -3
  139. package/dist/{vue-ui-mini-loader-SNMKnmMa.js → vue-ui-mini-loader-BVSIAFYi.js} +2 -2
  140. package/dist/{vue-ui-molecule-CNtY2_yF.js → vue-ui-molecule-ERAB4YzZ.js} +157 -163
  141. package/dist/{vue-ui-mood-radar-DUxhOQpR.js → vue-ui-mood-radar-BPp7L6OP.js} +302 -304
  142. package/dist/{vue-ui-nested-donuts-Bbub_wCe.js → vue-ui-nested-donuts-CX5ut2yp.js} +110 -113
  143. package/dist/vue-ui-onion-CWYJTUCq.js +1233 -0
  144. package/dist/vue-ui-parallel-coordinate-plot-DJrV-dVt.js +1430 -0
  145. package/dist/{vue-ui-quadrant-CFvonilu.js → vue-ui-quadrant-wj8Up03L.js} +32 -32
  146. package/dist/{vue-ui-quick-chart-iEJt6333.js → vue-ui-quick-chart-CPYdScHL.js} +153 -153
  147. package/dist/{vue-ui-radar-ClZ_OIr5.js → vue-ui-radar-D3gLQcI5.js} +41 -41
  148. package/dist/{vue-ui-rating-BnXrMeGg.js → vue-ui-rating-dBCk6ECe.js} +26 -26
  149. package/dist/vue-ui-relation-circle-DeNBOPjz.js +903 -0
  150. package/dist/vue-ui-ridgeline-DQcZJ_hv.js +1614 -0
  151. package/dist/vue-ui-rings-CF9NfFW2.js +1250 -0
  152. package/dist/vue-ui-scatter-U_xxKOte.js +2403 -0
  153. package/dist/{vue-ui-skeleton-Drk48XZi.js → vue-ui-skeleton-GA4wzjXV.js} +3 -3
  154. package/dist/{vue-ui-smiley-BQuXRW4o.js → vue-ui-smiley-D1pW2Fdy.js} +23 -23
  155. package/dist/{vue-ui-spark-trend-CYcS6-FN.js → vue-ui-spark-trend-BXRGMn5-.js} +23 -23
  156. package/dist/{vue-ui-sparkbar-eqLrT50j.js → vue-ui-sparkbar-96D0eR-o.js} +24 -24
  157. package/dist/{vue-ui-sparkgauge-C_b1h4DY.js → vue-ui-sparkgauge-BWBek2u2.js} +61 -61
  158. package/dist/{vue-ui-sparkhistogram-BzJr83-i.js → vue-ui-sparkhistogram-Cqs068RX.js} +15 -15
  159. package/dist/vue-ui-sparkline-B8cyY_P1.js +1584 -0
  160. package/dist/{vue-ui-sparkstackbar-O6Ojc2m8.js → vue-ui-sparkstackbar-C0BkLc2b.js} +207 -207
  161. package/dist/vue-ui-stackbar-DtsOc7B_.js +2332 -0
  162. package/dist/{vue-ui-stackline-D7d_Yqid.js → vue-ui-stackline-MSs0pdhE.js} +751 -747
  163. package/dist/{vue-ui-strip-plot-AljSBqsw.js → vue-ui-strip-plot-Df-TomML.js} +63 -66
  164. package/dist/vue-ui-table-BKSRQGVK.js +1352 -0
  165. package/dist/{vue-ui-table-heatmap-DRABMw2H.js → vue-ui-table-heatmap-CglQqfWH.js} +84 -84
  166. package/dist/{vue-ui-table-sparkline-OScDr7Z5.js → vue-ui-table-sparkline-B7Dh-fN2.js} +11 -11
  167. package/dist/vue-ui-thermometer-DXuLn8NC.js +756 -0
  168. package/dist/{vue-ui-timer--q-f8RPJ.js → vue-ui-timer-orCjVwS4.js} +12 -12
  169. package/dist/{vue-ui-tiremarks-B2Fji5g0.js → vue-ui-tiremarks-DNoQ6Fl2.js} +12 -12
  170. package/dist/{vue-ui-treemap-CHqCU3Mt.js → vue-ui-treemap-90_Clj0e.js} +51 -54
  171. package/dist/vue-ui-waffle-BSQXyJ1S.js +1610 -0
  172. package/dist/{vue-ui-wheel-Dz2QzZcJ.js → vue-ui-wheel-CfU0Nnn0.js} +28 -28
  173. package/dist/{vue-ui-word-cloud-DBp8kZ4A.js → vue-ui-word-cloud-AgMvmPlI.js} +38 -41
  174. package/dist/{vue-ui-world-DbYSOiC4.js → vue-ui-world-D0Z9B6M2.js} +120 -123
  175. package/dist/{vue-ui-xy-C23skZ-G.js → vue-ui-xy-5Te2TfRK.js} +1645 -1641
  176. package/dist/vue-ui-xy-canvas-BHpBO5dS.js +1823 -0
  177. package/dist/{vue-ui-xy-CrHCmWhv.js → vue-ui-xy-ua_mFu_a.js} +99 -99
  178. package/package.json +1 -1
  179. package/dist/exposedLib-C0DPCgFj.js +0 -28
  180. package/dist/vue-ui-bullet-GgRg9sbN.js +0 -700
  181. package/dist/vue-ui-chord-eOIKOfDO.js +0 -1345
  182. package/dist/vue-ui-circle-pack-kCN1R-pw.js +0 -1636
  183. package/dist/vue-ui-donut-HrEXYDqO.js +0 -2415
  184. package/dist/vue-ui-flow-R-fW_EeT.js +0 -1217
  185. package/dist/vue-ui-funnel-CT3ixpCM.js +0 -750
  186. package/dist/vue-ui-gauge-DRXsVxYq.js +0 -932
  187. package/dist/vue-ui-history-plot-Bn_M0AFg.js +0 -1698
  188. package/dist/vue-ui-horizontal-bar-CkRRidx3.js +0 -1708
  189. package/dist/vue-ui-onion-Bix9MN3w.js +0 -1233
  190. package/dist/vue-ui-parallel-coordinate-plot-6SI2vJOo.js +0 -1430
  191. package/dist/vue-ui-relation-circle-CZ68uWhc.js +0 -903
  192. package/dist/vue-ui-ridgeline-BSiPLA08.js +0 -1614
  193. package/dist/vue-ui-rings-mGN_bpo1.js +0 -1252
  194. package/dist/vue-ui-scatter-C0PouRMY.js +0 -2403
  195. package/dist/vue-ui-sparkline-CyJKVGYw.js +0 -1584
  196. package/dist/vue-ui-stackbar-J5QzbBaA.js +0 -2328
  197. package/dist/vue-ui-table-CBdCPS2r.js +0 -1352
  198. package/dist/vue-ui-thermometer-DWmM_Hn9.js +0 -756
  199. package/dist/vue-ui-waffle-C1ksX6OD.js +0 -1612
  200. package/dist/vue-ui-xy-canvas-B-KxaFGF.js +0 -1819
@@ -1,52 +1,52 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Bt as t, Jt as n, Kt as r, Pt as i, S as a, Vt as o, X as s, i as c, jt as ee, pt as te, q as ne, t as re, tt as ie, w as ae, xt as oe } from "./lib-Bttd6u5E.js";
2
+ import { Ht as t, It as n, Jt as r, Nt as i, S as a, St as o, Ut as s, X as c, Xt as ee, i as te, mt as ne, nt as re, q as ie, t as ae, w as oe } from "./lib-Dqr_-I6Y.js";
3
3
  import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
4
4
  import { t as le } from "./useConfig-DwdGsXTx.js";
5
5
  import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as l } from "./useNestedProp-vPNvh7rV.js";
6
+ import { t as l } from "./useNestedProp-CulPqtou.js";
7
7
  import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
8
8
  import { t as pe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
9
9
  import { t as me } from "./DefGrad-DVBqDjhO.js";
10
- import { t as he } from "./BaseLegendToggle-DZVucLnv.js";
10
+ import { t as he } from "./BaseLegendToggle-CtEdLr4R.js";
11
11
  import { t as ge } from "./A11yDataTable-DdRsVULz.js";
12
12
  import { t as _e } from "./useChartAccessibility-DYqac8yF.js";
13
13
  import { t as ve } from "./usePrefersMotion-BC-CsqR1.js";
14
14
  import { t as ye } from "./vue_ui_sparkstackbar-BOjuQnZd.js";
15
- import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createVNode as be, defineAsyncComponent as xe, guardReactiveProps as g, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onMounted as Se, openBlock as b, ref as x, renderList as S, renderSlot as C, toDisplayString as w, toRefs as Ce, unref as T, useSlots as we, watch as Te, withCtx as Ee } from "vue";
15
+ import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createVNode as g, defineAsyncComponent as be, guardReactiveProps as _, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onMounted as xe, openBlock as x, ref as S, renderList as C, renderSlot as w, toDisplayString as T, toRefs as Se, unref as E, useSlots as Ce, watch as we, withCtx as D } from "vue";
16
16
  //#region src/components/vue-ui-sparkstackbar.vue
17
- var De = /* @__PURE__ */ e({ default: () => E }), Oe = ["id"], ke = { style: { position: "relative" } }, Ae = [
17
+ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: { position: "relative" } }, Oe = [
18
18
  "xmlns",
19
19
  "viewBox",
20
20
  "aria-describedby"
21
- ], je = {
21
+ ], ke = {
22
22
  id: "stackPill",
23
23
  clipPathUnits: "objectBoundingBox"
24
- }, Me = ["fill"], Ne = {
24
+ }, Ae = ["fill"], je = {
25
25
  key: 0,
26
26
  "clip-path": "url(#stackPill)"
27
- }, Pe = [
27
+ }, Me = [
28
28
  "x",
29
29
  "width",
30
30
  "height",
31
31
  "fill"
32
- ], Fe = [
32
+ ], Ne = [
33
33
  "x",
34
34
  "width",
35
35
  "height",
36
36
  "fill",
37
37
  "stroke"
38
- ], Ie = [
38
+ ], Pe = [
39
39
  "x",
40
40
  "width",
41
41
  "height",
42
42
  "onClick",
43
43
  "onMouseenter",
44
44
  "onMouseleave"
45
- ], Le = [
45
+ ], Fe = [
46
46
  "width",
47
47
  "height",
48
48
  "rx"
49
- ], Re = {
49
+ ], Ie = {
50
50
  key: 0,
51
51
  style: {
52
52
  position: "absolute",
@@ -56,23 +56,23 @@ var De = /* @__PURE__ */ e({ default: () => E }), Oe = ["id"], ke = { style: { p
56
56
  },
57
57
  "data-dom-to-png-ignore": "",
58
58
  "aria-hidden": "true"
59
- }, ze = [
59
+ }, Le = [
60
60
  "aria-pressed",
61
61
  "aria-label",
62
62
  "onClick",
63
63
  "onFocus",
64
64
  "onKeydown"
65
- ], Be = { style: {
65
+ ], Re = { style: {
66
66
  display: "flex",
67
67
  "flex-direction": "row",
68
68
  "align-items": "center",
69
69
  gap: "4px",
70
70
  "justify-content": "center"
71
- } }, Ve = ["height", "width"], He = ["fill"], Ue = {
71
+ } }, ze = ["height", "width"], Be = ["fill"], Ve = {
72
72
  key: 3,
73
73
  ref: "source",
74
74
  dir: "auto"
75
- }, E = /*#__PURE__*/ pe({
75
+ }, He = /*#__PURE__*/ pe({
76
76
  __name: "vue-ui-sparkstackbar",
77
77
  props: {
78
78
  config: {
@@ -89,16 +89,16 @@ var De = /* @__PURE__ */ e({ default: () => E }), Oe = ["id"], ke = { style: { p
89
89
  }
90
90
  },
91
91
  emits: ["selectDatapoint", "selectLegend"],
92
- setup(e, { expose: pe, emit: De }) {
93
- let E = xe(() => import("./PackageVersion-B629oKuX.js").then((e) => e.t)), We = xe(() => import("./Tooltip-DhjyfHwz.js")), { vue_ui_sparkstackbar: Ge } = le(), { isThemeValid: Ke, warnInvalidTheme: qe } = fe(), Je = ve(), Ye = we(), D = e, Xe = x(null), O = x(ne()), k = x(!1), A = x(""), j = x(null), M = x(!1), N = x(null), Ze = x({
92
+ setup(e, { expose: pe, emit: Te }) {
93
+ let He = be(() => import("./PackageVersion-C0b7KAMa.js").then((e) => e.t)), Ue = be(() => import("./Tooltip-CVxJe3UW.js")), { vue_ui_sparkstackbar: We } = le(), { isThemeValid: Ge, warnInvalidTheme: Ke } = fe(), qe = ve(), Je = Ce(), O = e, Ye = S(null), k = S(ie()), A = S(!1), j = S(""), M = S(null), N = S(!1), P = S(null), Xe = S({
94
94
  x: 0,
95
95
  y: 0
96
- }), P = x("pointer"), F = x(!1), I = x(null), Qe = x([]), L = x(H()), R = d(() => L.value.debug);
97
- Se(() => {
98
- Ye["chart-background"] && R.value && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
96
+ }), F = S("pointer"), I = S(!1), L = S(null), Ze = S([]), R = S(H()), Qe = d(() => R.value.debug);
97
+ xe(() => {
98
+ Je["chart-background"] && Qe.value && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
99
99
  }), se({
100
- config: () => L.value,
101
- dataset: () => D.dataset,
100
+ config: () => R.value,
101
+ dataset: () => O.dataset,
102
102
  component: "VueUiSparkStackbar",
103
103
  rules: [ce.emptyArray, {
104
104
  test: (e) => e.length > 6,
@@ -111,19 +111,19 @@ var De = /* @__PURE__ */ e({ default: () => E }), Oe = ["id"], ke = { style: { p
111
111
  ]
112
112
  }]
113
113
  });
114
- let $e = d(() => L.value.useCursorPointer), et = d(() => n({
114
+ let $e = d(() => R.value.useCursorPointer), et = d(() => ee({
115
115
  defaultConfig: { style: {
116
116
  backgroundColor: "#99999930",
117
117
  animation: { show: !1 },
118
118
  bar: { gradient: { inderlayerColor: "#6A6A6A" } },
119
119
  title: { backgroundColor: "transparent" }
120
120
  } },
121
- userConfig: L.value.skeletonConfig ?? {}
121
+ userConfig: R.value.skeletonConfig ?? {}
122
122
  })), { loading: z, FINAL_DATASET: B } = ue({
123
- ...Ce(D),
124
- FINAL_CONFIG: L,
123
+ ...Se(O),
124
+ FINAL_CONFIG: R,
125
125
  prepareConfig: H,
126
- skeletonDataset: D.config?.skeletonDataset ?? [
126
+ skeletonDataset: O.config?.skeletonDataset ?? [
127
127
  {
128
128
  name: "_",
129
129
  value: 8,
@@ -140,82 +140,82 @@ var De = /* @__PURE__ */ e({ default: () => E }), Oe = ["id"], ke = { style: { p
140
140
  color: "#DBDBDB"
141
141
  }
142
142
  ],
143
- skeletonConfig: n({
144
- defaultConfig: L.value,
143
+ skeletonConfig: ee({
144
+ defaultConfig: R.value,
145
145
  userConfig: et.value
146
146
  })
147
- }), { svgRef: V } = _e({ config: L.value.style.title });
147
+ }), { svgRef: V } = _e({ config: R.value.style.title });
148
148
  function H() {
149
149
  let e = l({
150
- userConfig: D.config,
151
- defaultConfig: Ge
150
+ userConfig: O.config,
151
+ defaultConfig: We
152
152
  }), t = e.theme;
153
153
  if (!t) return e;
154
- if (!Ke.value(e)) return qe(e), e;
155
- let n = l({
156
- userConfig: ye[t] || D.config,
154
+ if (!Ge.value(e)) return Ke(e), e;
155
+ let i = l({
156
+ userConfig: ye[t] || O.config,
157
157
  defaultConfig: e
158
158
  }), a = l({
159
- userConfig: D.config,
160
- defaultConfig: n
159
+ userConfig: O.config,
160
+ defaultConfig: i
161
161
  });
162
162
  return {
163
163
  ...a,
164
- customPalette: a.customPalette.length ? a.customPalette : r[t] || i
164
+ customPalette: a.customPalette.length ? a.customPalette : r[t] || n
165
165
  };
166
166
  }
167
- Te(() => D.config, (e) => {
168
- L.value = H(), nt();
169
- }, { deep: !0 }), Te(() => B.value, (e) => {
167
+ we(() => O.config, (e) => {
168
+ R.value = H(), nt();
169
+ }, { deep: !0 }), we(() => B.value, (e) => {
170
170
  W.value = B.value.map((e, t) => ({
171
171
  ...e,
172
- color: e.color ? a(e.color) : U.value[t] || i[t] || i[t % i.length]
172
+ color: e.color ? a(e.color) : U.value[t] || n[t] || n[t % n.length]
173
173
  })), tt();
174
174
  }, { deep: !0 });
175
- let U = d(() => ae(L.value.customPalette)), W = x(B.value.map((e, t) => ({
175
+ let U = d(() => oe(R.value.customPalette)), W = S(B.value.map((e, t) => ({
176
176
  ...e,
177
- value: L.value.style.animation.show ? 0 : e.value || 0,
178
- color: e.color ? a(e.color) : U.value[t] || i[t] || i[t % i.length]
179
- }))), G = x(!0);
177
+ value: R.value.style.animation.show ? 0 : e.value || 0,
178
+ color: e.color ? a(e.color) : U.value[t] || n[t] || n[t % n.length]
179
+ }))), G = S(!0);
180
180
  function tt() {
181
- if (!L.value.style.animation.show || Je.value) {
181
+ if (!R.value.style.animation.show || qe.value) {
182
182
  G.value = !1;
183
183
  return;
184
184
  }
185
- let e = L.value.style.animation.animationFrames, t = B.value.map((e) => e.value || 0), n = t.map((t) => t / e), r = t.reduce((e, t) => e + t, 0), o = 0;
185
+ 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;
186
186
  G.value = !0, W.value = B.value.map((e, t) => ({
187
187
  ...e,
188
188
  value: 0,
189
- color: e.color ? a(e.color) : U.value[t] || i[t] || i[t % i.length]
189
+ color: e.color ? a(e.color) : U.value[t] || n[t] || n[t % n.length]
190
190
  }));
191
191
  function s() {
192
- o += r / e, o < r ? (W.value = W.value.map((e, r) => ({
192
+ o += i / e, o < i ? (W.value = W.value.map((e, i) => ({
193
193
  ...e,
194
- value: Math.min(e.value + n[r], t[r]),
195
- color: e.color ? a(e.color) : U.value[r] || i[r] || i[r % i.length]
196
- })), requestAnimationFrame(s)) : (G.value = !1, W.value = B.value.map((e, n) => ({
194
+ value: Math.min(e.value + r[i], t[i]),
195
+ color: e.color ? a(e.color) : U.value[i] || n[i] || n[i % n.length]
196
+ })), requestAnimationFrame(s)) : (G.value = !1, W.value = B.value.map((e, r) => ({
197
197
  ...e,
198
- value: t[n],
199
- color: e.color ? a(e.color) : U.value[n] || i[n] || i[n % i.length],
200
- id: ne()
198
+ value: t[r],
199
+ color: e.color ? a(e.color) : U.value[r] || n[r] || n[r % n.length],
200
+ id: ie()
201
201
  })));
202
202
  }
203
203
  s();
204
204
  }
205
- Se(() => {
205
+ xe(() => {
206
206
  nt();
207
207
  });
208
208
  function nt() {
209
- ee(D.dataset) ? ie({
209
+ i(O.dataset) ? re({
210
210
  componentName: "VueUiSparkStackbar",
211
211
  type: "dataset",
212
- debug: R.value
213
- }) : R.value && D.dataset.forEach((e, t) => {
214
- te({
212
+ debug: Qe.value
213
+ }) : Qe.value && O.dataset.forEach((e, t) => {
214
+ ne({
215
215
  datasetObject: e,
216
216
  requiredAttributes: ["name", "value"]
217
217
  }).forEach((e) => {
218
- ie({
218
+ re({
219
219
  componentName: "VueUiSparkStackbar",
220
220
  type: "datasetSerieAttribute",
221
221
  property: e,
@@ -224,22 +224,22 @@ var De = /* @__PURE__ */ e({ default: () => E }), Oe = ["id"], ke = { style: { p
224
224
  });
225
225
  }), tt();
226
226
  }
227
- let K = x({
227
+ let K = S({
228
228
  width: 500,
229
229
  height: 16
230
- }), q = x([]), rt = d(() => B.value.map((e) => e.value || 0).filter((e, t) => !q.value.includes(t)).reduce((e, t) => e + t, 0)), J = d(() => W.value.map((e, t) => {
231
- let n = e.value || 0, r = n / rt.value, o = isNaN(r) ? 0 : r, c = o * K.value.width;
230
+ }), q = S([]), rt = d(() => B.value.map((e) => e.value || 0).filter((e, t) => !q.value.includes(t)).reduce((e, t) => e + t, 0)), J = d(() => W.value.map((e, t) => {
231
+ let r = e.value || 0, i = r / rt.value, o = isNaN(i) ? 0 : i, s = o * K.value.width;
232
232
  return {
233
233
  ...e,
234
- color: a(B.value[t]?.color ? B.value[t]?.color : U.value[t] || i[t] || i[t % i.length]),
235
- value: n,
234
+ color: a(B.value[t]?.color ? B.value[t]?.color : U.value[t] || n[t] || n[t % n.length]),
235
+ value: r,
236
236
  proportion: o,
237
- width: c,
237
+ width: s,
238
238
  seriesIndex: t,
239
- proportionLabel: s({
239
+ proportionLabel: c({
240
240
  v: o * 100,
241
241
  s: "%",
242
- r: L.value.style.legend.percentage.rounding
242
+ r: R.value.style.legend.percentage.rounding
243
243
  })
244
244
  };
245
245
  })), Y = d(() => J.value.filter((e, t) => !q.value.includes(t)));
@@ -252,7 +252,7 @@ var De = /* @__PURE__ */ e({ default: () => E }), Oe = ["id"], ke = { style: { p
252
252
  q.value.includes(e) ? q.value = q.value.filter((t) => t !== e) : q.value.length < W.value.length - 1 && q.value.push(e), ct("selectLegend", Y.value);
253
253
  }
254
254
  function at(e) {
255
- return J.value.length ? J.value.find((t) => t.name === e) || (L.value.debug && console.warn(`VueUiSparkStackbar - Series name not found "${e}"`), null) : (L.value.debug && console.warn("VueUiSparkStackbar - There are no series to show."), null);
255
+ 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);
256
256
  }
257
257
  function ot(e) {
258
258
  let t = at(e);
@@ -269,60 +269,60 @@ var De = /* @__PURE__ */ e({ default: () => E }), Oe = ["id"], ke = { style: { p
269
269
  start: e
270
270
  }), e += Y.value[n].width;
271
271
  return t;
272
- }), ct = De;
272
+ }), ct = Te;
273
273
  function Q(e, t, n = !1) {
274
274
  ct("selectDatapoint", {
275
275
  datapoint: e,
276
276
  index: t
277
- }), L.value.events.datapointClick && !n && L.value.events.datapointClick({
277
+ }), R.value.events.datapointClick && !n && R.value.events.datapointClick({
278
278
  datapoint: e,
279
279
  seriesIndex: e.seriesIndex
280
280
  });
281
281
  }
282
282
  function lt({ datapoint: e, seriesIndex: t }) {
283
- k.value = !1, I.value = null, N.value = null, P.value = "pointer", L.value.events.datapointLeave && L.value.events.datapointLeave({
283
+ A.value = !1, L.value = null, P.value = null, F.value = "pointer", R.value.events.datapointLeave && R.value.events.datapointLeave({
284
284
  datapoint: e,
285
285
  seriesIndex: e.seriesIndex
286
286
  });
287
287
  }
288
288
  function ut({ datapoint: e, seriesIndex: t, triggerMode: n = "pointer" }) {
289
- if (M.value = !1, L.value.events.datapointEnter && L.value.events.datapointEnter({
289
+ if (N.value = !1, R.value.events.datapointEnter && R.value.events.datapointEnter({
290
290
  datapoint: e,
291
291
  seriesIndex: e.seriesIndex
292
- }), !L.value.style.tooltip.show) return;
293
- P.value = n, j.value = {
292
+ }), !R.value.style.tooltip.show) return;
293
+ F.value = n, M.value = {
294
294
  datapoint: e,
295
295
  seriesIndex: t,
296
- config: L.value,
296
+ config: R.value,
297
297
  series: J.value
298
- }, k.value = !0, I.value = t;
299
- let r = L.value.style.tooltip.customFormat;
300
- if (oe(r)) try {
298
+ }, A.value = !0, L.value = t;
299
+ let r = R.value.style.tooltip.customFormat;
300
+ if (o(r)) try {
301
301
  let t = r({
302
302
  seriesIndex: e.seriesIndex,
303
303
  datapoint: e,
304
304
  series: J.value,
305
- config: L.value
305
+ config: R.value
306
306
  });
307
- typeof t == "string" && (A.value = t, M.value = !0);
307
+ typeof t == "string" && (j.value = t, N.value = !0);
308
308
  } catch {
309
- console.warn("Custom format cannot be applied."), M.value = !1;
309
+ console.warn("Custom format cannot be applied."), N.value = !1;
310
310
  }
311
- if (!M.value) {
311
+ if (!N.value) {
312
312
  let n = "";
313
- n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${L.value.style.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, n += `<b>${e.proportionLabel}</b>`, n += `<span>(${c(L.value.style.legend.value.formatter, e.value, s({
314
- p: L.value.style.legend.value.prefix,
313
+ 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>(${te(R.value.style.legend.value.formatter, e.value, c({
314
+ p: R.value.style.legend.value.prefix,
315
315
  v: e.value,
316
- s: L.value.style.legend.value.suffix,
317
- r: L.value.style.legend.value.rounding
316
+ s: R.value.style.legend.value.suffix,
317
+ r: R.value.style.legend.value.rounding
318
318
  }), {
319
319
  datapoint: e,
320
320
  seriesIndex: t
321
- })})</span>`, A.value = `<div>${n}</div>`;
321
+ })})</span>`, j.value = `<div>${n}</div>`;
322
322
  }
323
323
  }
324
324
  function $(e) {
325
- let t = Qe.value[e];
325
+ let t = Ze.value[e];
326
326
  t && typeof t.focus == "function" && t.focus();
327
327
  }
328
328
  function dt(e) {
@@ -330,46 +330,46 @@ var De = /* @__PURE__ */ e({ default: () => E }), Oe = ["id"], ke = { style: { p
330
330
  let t = Z.value[e];
331
331
  if (!t) return;
332
332
  let n = V.value.getBoundingClientRect(), r = t.start + t.width / 2, i = K.value.height / 2;
333
- Ze.value = {
333
+ Xe.value = {
334
334
  x: n.left + r / K.value.width * n.width,
335
335
  y: n.top + i / K.value.height * n.height
336
336
  };
337
337
  }
338
338
  function ft() {
339
- N.value = null, F.value = !0;
339
+ P.value = null, I.value = !0;
340
340
  }
341
341
  function pt() {
342
- N.value = null, P.value = "pointer", k.value = !1, I.value = null, F.value = !1;
342
+ P.value = null, F.value = "pointer", A.value = !1, L.value = null, I.value = !1;
343
343
  }
344
344
  function mt(e) {
345
345
  if (!V.value || document.activeElement !== V.value || !Z.value.length) return;
346
346
  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";
347
347
  if (!t && !n && !r && !i && !a && !o) return;
348
348
  if (e.preventDefault(), e.stopPropagation(), i) {
349
- N.value = null, P.value = "pointer", k.value = !1, I.value = null;
349
+ P.value = null, F.value = "pointer", A.value = !1, L.value = null;
350
350
  return;
351
351
  }
352
352
  if (r) {
353
- if (N.value === null) return;
354
- let e = Z.value[N.value];
353
+ if (P.value === null) return;
354
+ let e = Z.value[P.value];
355
355
  if (!e) return;
356
356
  Q(e, e.seriesIndex);
357
357
  return;
358
358
  }
359
- let s = N.value;
359
+ let s = P.value;
360
360
  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));
361
361
  let c = Z.value[s];
362
- c && (N.value = s, dt(s), ut({
362
+ c && (P.value = s, dt(s), ut({
363
363
  datapoint: c,
364
364
  seriesIndex: c.seriesIndex,
365
365
  triggerMode: "keyboard"
366
366
  }));
367
367
  }
368
368
  function ht(e) {
369
- k.value = !1, N.value = null, P.value = "pointer", I.value = e.seriesIndex;
369
+ A.value = !1, P.value = null, F.value = "pointer", L.value = e.seriesIndex;
370
370
  }
371
371
  function gt() {
372
- N.value = null, P.value = "pointer", k.value = !1, I.value = null;
372
+ P.value = null, F.value = "pointer", A.value = !1, L.value = null;
373
373
  }
374
374
  function _t(e, t, n) {
375
375
  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";
@@ -399,18 +399,18 @@ var De = /* @__PURE__ */ e({ default: () => E }), Oe = ["id"], ke = { style: { p
399
399
  }
400
400
  let vt = d(() => ({
401
401
  headers: [
402
- L.value.a11y.translations.series,
403
- L.value.a11y.translations.percentage,
404
- L.value.a11y.translations.value
402
+ R.value.a11y.translations.series,
403
+ R.value.a11y.translations.percentage,
404
+ R.value.a11y.translations.value
405
405
  ],
406
406
  rows: J.value.map((e, t) => [
407
407
  e.name,
408
408
  q.value.includes(t) ? " - " : e.proportionLabel,
409
- c(L.value.style.legend.value.formatter, e.value, s({
410
- p: L.value.style.legend.value.prefix,
409
+ te(R.value.style.legend.value.formatter, e.value, c({
410
+ p: R.value.style.legend.value.prefix,
411
411
  v: e.value,
412
- s: L.value.style.legend.value.suffix,
413
- r: L.value.style.legend.value.rounding
412
+ s: R.value.style.legend.value.suffix,
413
+ r: R.value.style.legend.value.rounding
414
414
  }), {
415
415
  datapoint: e,
416
416
  seriesIndex: t
@@ -420,23 +420,23 @@ var De = /* @__PURE__ */ e({ default: () => E }), Oe = ["id"], ke = { style: { p
420
420
  return pe({
421
421
  hideSeries: st,
422
422
  showSeries: ot
423
- }), (e, n) => (b(), m("div", {
423
+ }), (e, n) => (x(), m("div", {
424
424
  class: "vue-data-ui-component vue-ui-spark-stackbar",
425
425
  ref_key: "sparkstackbarChart",
426
- ref: Xe,
427
- style: y(`width:100%; background:${L.value.style.backgroundColor}`)
426
+ ref: Ye,
427
+ style: b(`width:100%; background:${R.value.style.backgroundColor}`)
428
428
  }, [
429
429
  h("div", {
430
- id: `chart-instructions-${O.value}`,
430
+ id: `chart-instructions-${k.value}`,
431
431
  class: "sr-only"
432
- }, [h("p", null, w(L.value.a11y.translations.keyboardNavigation), 1)], 8, Oe),
433
- vt.value?.rows?.length ? (b(), f(ge, {
432
+ }, [h("p", null, T(R.value.a11y.translations.keyboardNavigation), 1)], 8, Ee),
433
+ vt.value?.rows?.length ? (x(), f(ge, {
434
434
  key: 0,
435
- uid: O.value,
435
+ uid: k.value,
436
436
  head: vt.value.headers,
437
437
  body: vt.value.rows,
438
- notice: L.value.a11y.translations.tableAvailable,
439
- caption: L.value.a11y.translations.tableCaption
438
+ notice: R.value.a11y.translations.tableAvailable,
439
+ caption: R.value.a11y.translations.tableCaption
440
440
  }, null, 8, [
441
441
  "uid",
442
442
  "head",
@@ -444,33 +444,33 @@ var De = /* @__PURE__ */ e({ default: () => E }), Oe = ["id"], ke = { style: { p
444
444
  "notice",
445
445
  "caption"
446
446
  ])) : p("", !0),
447
- L.value.style.title.text ? (b(), m("div", {
447
+ R.value.style.title.text ? (x(), m("div", {
448
448
  key: 1,
449
- style: y(`width:calc(100% - 12px);background:transparent;margin:0 auto;margin:${L.value.style.title.margin};padding: 0 6px;text-align:${L.value.style.title.textAlign}`)
449
+ style: b(`width:calc(100% - 12px);background:transparent;margin:0 auto;margin:${R.value.style.title.margin};padding: 0 6px;text-align:${R.value.style.title.textAlign}`)
450
450
  }, [h("div", {
451
451
  class: "atom-title",
452
- style: y(`font-size:${L.value.style.title.fontSize}px;color:${L.value.style.title.color};font-weight:${L.value.style.title.bold ? "bold" : "normal"}`)
453
- }, w(L.value.style.title.text), 5), L.value.style.title.subtitle.text ? (b(), m("div", {
452
+ style: b(`font-size:${R.value.style.title.fontSize}px;color:${R.value.style.title.color};font-weight:${R.value.style.title.bold ? "bold" : "normal"}`)
453
+ }, T(R.value.style.title.text), 5), R.value.style.title.subtitle.text ? (x(), m("div", {
454
454
  key: 0,
455
455
  class: "atom-subtitle",
456
- style: y(`font-size:${L.value.style.title.subtitle.fontSize}px;color:${L.value.style.title.subtitle.color};font-weight:${L.value.style.title.subtitle.bold ? "bold" : "normal"}`)
457
- }, w(L.value.style.title.subtitle.text), 5)) : p("", !0)], 4)) : p("", !0),
458
- h("div", ke, [(b(), m("svg", {
456
+ style: b(`font-size:${R.value.style.title.subtitle.fontSize}px;color:${R.value.style.title.subtitle.color};font-weight:${R.value.style.title.subtitle.bold ? "bold" : "normal"}`)
457
+ }, T(R.value.style.title.subtitle.text), 5)) : p("", !0)], 4)) : p("", !0),
458
+ h("div", De, [(x(), m("svg", {
459
459
  ref_key: "svgRef",
460
460
  ref: V,
461
- xmlns: T(re),
461
+ xmlns: E(ae),
462
462
  width: "100%",
463
463
  viewBox: `0 0 ${K.value.width} ${K.value.height}`,
464
- "aria-describedby": `chart-instructions-${O.value}`,
464
+ "aria-describedby": `chart-instructions-${k.value}`,
465
465
  tabindex: "0",
466
466
  onFocus: ft,
467
467
  onBlur: pt,
468
468
  onKeydown: mt
469
469
  }, [
470
- be(T(E)),
471
- h("defs", null, [(b(!0), m(u, null, S(Z.value, (e, n) => (b(), f(me, {
470
+ g(E(He)),
471
+ h("defs", null, [(x(!0), m(u, null, C(Z.value, (e, n) => (x(), f(me, {
472
472
  t: "linear",
473
- id: `stack_gradient_${n}_${O.value}`,
473
+ id: `stack_gradient_${n}_${k.value}`,
474
474
  key: `stack_gradient_${n}`,
475
475
  gradientTransform: "rotate(90)",
476
476
  stops: [
@@ -481,7 +481,7 @@ var De = /* @__PURE__ */ e({ default: () => E }), Oe = ["id"], ke = { style: { p
481
481
  ],
482
482
  [
483
483
  "50%",
484
- T(t)(T(o)(e.color, .05), 100 - L.value.style.bar.gradient.intensity),
484
+ E(t)(E(s)(e.color, .05), 100 - R.value.style.bar.gradient.intensity),
485
485
  1
486
486
  ],
487
487
  [
@@ -490,39 +490,39 @@ var De = /* @__PURE__ */ e({ default: () => E }), Oe = ["id"], ke = { style: { p
490
490
  1
491
491
  ]
492
492
  ]
493
- }, null, 8, ["id", "stops"]))), 128)), h("clipPath", je, [h("rect", {
493
+ }, null, 8, ["id", "stops"]))), 128)), h("clipPath", ke, [h("rect", {
494
494
  x: "0.005",
495
495
  y: "-2",
496
496
  width: "0.99",
497
497
  height: "5",
498
498
  rx: "3",
499
499
  ry: "3",
500
- fill: L.value.style.backgroundColor
501
- }, null, 8, Me)])]),
502
- rt.value > 0 ? (b(), m("g", Ne, [
503
- (b(!0), m(u, null, S(Z.value, (e, t) => (b(), m("rect", {
500
+ fill: R.value.style.backgroundColor
501
+ }, null, 8, Ae)])]),
502
+ rt.value > 0 ? (x(), m("g", je, [
503
+ (x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("rect", {
504
504
  key: `stack_underlayer_${t}`,
505
505
  x: e.start,
506
506
  y: 0,
507
507
  width: e.width,
508
508
  height: K.value.height,
509
- fill: L.value.style.bar.gradient.underlayerColor,
510
- class: _({ animated: !G.value && !T(z) }),
511
- style: y({ opacity: I.value !== null && L.value.style.tooltip.show ? I.value === t ? 1 : .5 : 1 })
512
- }, null, 14, Pe))), 128)),
513
- (b(!0), m(u, null, S(Z.value, (e, t) => (b(), m("rect", {
509
+ fill: R.value.style.bar.gradient.underlayerColor,
510
+ class: v({ animated: !G.value && !E(z) }),
511
+ style: b({ opacity: L.value !== null && R.value.style.tooltip.show ? L.value === t ? 1 : .5 : 1 })
512
+ }, null, 14, Me))), 128)),
513
+ (x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("rect", {
514
514
  key: `stack_${t}`,
515
515
  x: e.start,
516
516
  y: 0,
517
517
  width: e.width,
518
518
  height: K.value.height,
519
- fill: L.value.style.bar.gradient.show ? `url(#stack_gradient_${t}_${O.value})` : e.color,
520
- stroke: L.value.style.backgroundColor,
519
+ fill: R.value.style.bar.gradient.show ? `url(#stack_gradient_${t}_${k.value})` : e.color,
520
+ stroke: R.value.style.backgroundColor,
521
521
  "stroke-linecap": "round",
522
- class: _({ animated: !G.value && !T(z) }),
523
- style: y({ opacity: I.value !== null && L.value.style.tooltip.show ? I.value === t ? 1 : .5 : 1 })
524
- }, null, 14, Fe))), 128)),
525
- (b(!0), m(u, null, S(Z.value, (e, t) => (b(), m("rect", {
522
+ class: v({ animated: !G.value && !E(z) }),
523
+ style: b({ opacity: L.value !== null && R.value.style.tooltip.show ? L.value === t ? 1 : .5 : 1 })
524
+ }, null, 14, Ne))), 128)),
525
+ (x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("rect", {
526
526
  key: `stack_trap_${t}`,
527
527
  x: e.start,
528
528
  y: 0,
@@ -530,7 +530,7 @@ var De = /* @__PURE__ */ e({ default: () => E }), Oe = ["id"], ke = { style: { p
530
530
  height: K.value.height,
531
531
  fill: "transparent",
532
532
  stroke: "none",
533
- class: _({ animated: !G.value && !T(z) }),
533
+ class: v({ animated: !G.value && !E(z) }),
534
534
  onClick: () => Q(e, t),
535
535
  onMouseenter: () => ut({
536
536
  datapoint: e,
@@ -540,8 +540,8 @@ var De = /* @__PURE__ */ e({ default: () => E }), Oe = ["id"], ke = { style: { p
540
540
  datapoint: e,
541
541
  seriesIndex: t
542
542
  })
543
- }, null, 42, Ie))), 128))
544
- ])) : (b(), m("rect", {
543
+ }, null, 42, Pe))), 128))
544
+ ])) : (x(), m("rect", {
545
545
  key: 1,
546
546
  x: 2,
547
547
  y: 1,
@@ -551,22 +551,22 @@ var De = /* @__PURE__ */ e({ default: () => E }), Oe = ["id"], ke = { style: { p
551
551
  "stroke-width": "2",
552
552
  fill: "transparent",
553
553
  rx: (K.value.height - 4) / 2
554
- }, null, 8, Le))
555
- ], 40, Ae)), e.$slots.hint ? (b(), m("div", Re, [C(e.$slots, "hint", v(g({
556
- hint: L.value.a11y.translations.keyboardNavigation,
557
- isVisible: F.value
554
+ }, null, 8, Fe))
555
+ ], 40, Oe)), e.$slots.hint ? (x(), m("div", Ie, [w(e.$slots, "hint", y(_({
556
+ hint: R.value.a11y.translations.keyboardNavigation,
557
+ isVisible: I.value
558
558
  })), void 0, !0)])) : p("", !0)]),
559
- L.value.style.legend.show ? (b(), m("div", {
559
+ R.value.style.legend.show ? (x(), m("div", {
560
560
  key: 2,
561
- style: y(`background:transparent;margin:0 auto;margin:${L.value.style.legend.margin};justify-content:${L.value.style.legend.textAlign === "left" ? "flex-start" : L.value.style.legend.textAlign === "right" ? "flex-end" : "center"}`),
561
+ style: b(`background:transparent;margin:0 auto;margin:${R.value.style.legend.margin};justify-content:${R.value.style.legend.textAlign === "left" ? "flex-start" : R.value.style.legend.textAlign === "right" ? "flex-end" : "center"}`),
562
562
  class: "vue-ui-sparkstackbar-legend",
563
563
  "aria-label": "legend",
564
564
  role: "toolbar"
565
- }, [L.value.style.legend.selectAllToggle.show && J.value.length > 2 && !T(z) ? (b(), f(he, {
565
+ }, [R.value.style.legend.selectAllToggle.show && J.value.length > 2 && !E(z) ? (x(), f(he, {
566
566
  key: 0,
567
- backgroundColor: L.value.style.legend.selectAllToggle.backgroundColor,
568
- color: L.value.style.legend.selectAllToggle.color,
569
- fontSize: L.value.style.legend.fontSize,
567
+ backgroundColor: R.value.style.legend.selectAllToggle.backgroundColor,
568
+ color: R.value.style.legend.selectAllToggle.color,
569
+ fontSize: R.value.style.legend.fontSize,
570
570
  checked: q.value.length > 0,
571
571
  isCursorPointer: $e.value,
572
572
  onToggle: it
@@ -576,13 +576,13 @@ var De = /* @__PURE__ */ e({ default: () => E }), Oe = ["id"], ke = { style: { p
576
576
  "fontSize",
577
577
  "checked",
578
578
  "isCursorPointer"
579
- ])) : p("", !0), (b(!0), m(u, null, S(J.value, (e, n) => (b(), m("div", {
579
+ ])) : p("", !0), (x(!0), m(u, null, C(J.value, (e, n) => (x(), m("div", {
580
580
  role: "button",
581
581
  tabindex: "0",
582
582
  "aria-pressed": q.value.includes(n),
583
583
  "aria-label": `${e.name}, ${q.value.includes(n) ? "hidden" : "visible"}, ${e.proportionLabel}`,
584
- style: y(`font-size:${L.value.style.legend.fontSize}px;cursor:${$e.value ? "pointer" : "default"}`),
585
- class: _({
584
+ style: b(`font-size:${R.value.style.legend.fontSize}px;cursor:${$e.value ? "pointer" : "default"}`),
585
+ class: v({
586
586
  "vue-ui-sparkstackbar-legend-item": !0,
587
587
  "vue-ui-sparkstackbar-legend-item-unselected": q.value.includes(n)
588
588
  }),
@@ -592,16 +592,16 @@ var De = /* @__PURE__ */ e({ default: () => E }), Oe = ["id"], ke = { style: { p
592
592
  onFocus: (t) => ht(e),
593
593
  onBlur: gt,
594
594
  onKeydown: (t) => _t(t, e, n)
595
- }, [h("div", Be, [(b(), m("svg", {
596
- height: `${L.value.style.legend.fontSize}px`,
597
- width: `${L.value.style.legend.fontSize}px`,
595
+ }, [h("div", Re, [(x(), m("svg", {
596
+ height: `${R.value.style.legend.fontSize}px`,
597
+ width: `${R.value.style.legend.fontSize}px`,
598
598
  viewBox: "0 0 10 10"
599
- }, [h("defs", null, [be(me, {
599
+ }, [h("defs", null, [g(me, {
600
600
  t: "radial",
601
- id: `legend_grad_${n}-${O.value}`,
601
+ id: `legend_grad_${n}-${k.value}`,
602
602
  stops: [[
603
603
  "0%",
604
- T(z) ? "#FFFFFF" : T(t)(T(o)(e.color, .05), 100 - L.value.style.bar.gradient.intensity),
604
+ E(z) ? "#FFFFFF" : E(t)(E(s)(e.color, .05), 100 - R.value.style.bar.gradient.intensity),
605
605
  1
606
606
  ], [
607
607
  "100%",
@@ -612,49 +612,49 @@ var De = /* @__PURE__ */ e({ default: () => E }), Oe = ["id"], ke = { style: { p
612
612
  cx: 5,
613
613
  cy: 5,
614
614
  r: 5,
615
- fill: L.value.style.bar.gradient.show ? `url(#legend_grad_${n}-${O.value})` : e.color
616
- }, null, 8, He)], 8, Ve)), T(z) ? p("", !0) : (b(), m(u, { key: 0 }, [h("span", { style: y(`color:${L.value.style.legend.name.color}; font-weight:${L.value.style.legend.name.bold ? "bold" : "normal"}`) }, w(e.name), 5), G.value ? p("", !0) : (b(), m(u, { key: 0 }, [L.value.style.legend.percentage.show ? (b(), m("span", {
615
+ fill: R.value.style.bar.gradient.show ? `url(#legend_grad_${n}-${k.value})` : e.color
616
+ }, null, 8, Be)], 8, ze)), E(z) ? p("", !0) : (x(), m(u, { key: 0 }, [h("span", { style: b(`color:${R.value.style.legend.name.color}; font-weight:${R.value.style.legend.name.bold ? "bold" : "normal"}`) }, T(e.name), 5), G.value ? p("", !0) : (x(), m(u, { key: 0 }, [R.value.style.legend.percentage.show ? (x(), m("span", {
617
617
  key: 0,
618
- style: y(`font-weight:${L.value.style.legend.percentage.bold ? "bold" : "normal"};color:${L.value.style.legend.percentage.color}`)
619
- }, w(q.value.includes(n) ? " - " : e.proportionLabel), 5)) : p("", !0), L.value.style.legend.value.show ? (b(), m("span", {
618
+ style: b(`font-weight:${R.value.style.legend.percentage.bold ? "bold" : "normal"};color:${R.value.style.legend.percentage.color}`)
619
+ }, T(q.value.includes(n) ? " - " : e.proportionLabel), 5)) : p("", !0), R.value.style.legend.value.show ? (x(), m("span", {
620
620
  key: 1,
621
- style: y(`font-weight:${L.value.style.legend.value.bold ? "bold" : "normal"};color:${L.value.style.legend.value.color}`)
622
- }, " (" + w(T(c)(L.value.style.legend.value.formatter, e.value, T(s)({
623
- p: L.value.style.legend.value.prefix,
621
+ style: b(`font-weight:${R.value.style.legend.value.bold ? "bold" : "normal"};color:${R.value.style.legend.value.color}`)
622
+ }, " (" + T(E(te)(R.value.style.legend.value.formatter, e.value, E(c)({
623
+ p: R.value.style.legend.value.prefix,
624
624
  v: e.value,
625
- s: L.value.style.legend.value.suffix,
626
- r: L.value.style.legend.value.rounding
625
+ s: R.value.style.legend.value.suffix,
626
+ r: R.value.style.legend.value.rounding
627
627
  }), {
628
628
  datapoint: e,
629
629
  seriesIndex: n
630
- })) + ") ", 5)) : p("", !0)], 64))], 64))])], 46, ze))), 256))], 4)) : p("", !0),
631
- be(T(We), {
632
- teleportTo: L.value.style.tooltip.teleportTo,
633
- show: k.value && L.value.style.tooltip.show,
634
- parent: Xe.value,
635
- backgroundColor: L.value.style.tooltip.backgroundColor,
636
- color: L.value.style.tooltip.color,
637
- fontSize: L.value.style.tooltip.fontSize,
638
- borderRadius: L.value.style.tooltip.borderRadius,
639
- borderColor: L.value.style.tooltip.borderColor,
640
- borderWidth: L.value.style.tooltip.borderWidth,
641
- backgroundOpacity: L.value.style.tooltip.backgroundOpacity,
642
- position: L.value.style.tooltip.position,
643
- content: A.value,
644
- isCustom: M.value,
645
- offsetX: L.value.style.tooltip.offsetX,
646
- offsetY: -124 + L.value.style.tooltip.offsetY,
630
+ })) + ") ", 5)) : p("", !0)], 64))], 64))])], 46, Le))), 256))], 4)) : p("", !0),
631
+ g(E(Ue), {
632
+ teleportTo: R.value.style.tooltip.teleportTo,
633
+ show: A.value && R.value.style.tooltip.show,
634
+ parent: Ye.value,
635
+ backgroundColor: R.value.style.tooltip.backgroundColor,
636
+ color: R.value.style.tooltip.color,
637
+ fontSize: R.value.style.tooltip.fontSize,
638
+ borderRadius: R.value.style.tooltip.borderRadius,
639
+ borderColor: R.value.style.tooltip.borderColor,
640
+ borderWidth: R.value.style.tooltip.borderWidth,
641
+ backgroundOpacity: R.value.style.tooltip.backgroundOpacity,
642
+ position: R.value.style.tooltip.position,
643
+ content: j.value,
644
+ isCustom: N.value,
645
+ offsetX: R.value.style.tooltip.offsetX,
646
+ offsetY: -124 + R.value.style.tooltip.offsetY,
647
647
  blockShiftY: !0,
648
- smooth: L.value.style.tooltip.smooth,
649
- backdropFilter: L.value.style.tooltip.backdropFilter,
650
- smoothForce: L.value.style.tooltip.smoothForce,
651
- smoothSnapThreshold: L.value.style.tooltip.smoothSnapThreshold,
652
- isA11yMode: P.value === "keyboard",
653
- a11yPosition: Ze.value
648
+ smooth: R.value.style.tooltip.smooth,
649
+ backdropFilter: R.value.style.tooltip.backdropFilter,
650
+ smoothForce: R.value.style.tooltip.smoothForce,
651
+ smoothSnapThreshold: R.value.style.tooltip.smoothSnapThreshold,
652
+ isA11yMode: F.value === "keyboard",
653
+ a11yPosition: Xe.value
654
654
  }, {
655
- "tooltip-before": Ee(() => [C(e.$slots, "tooltip-before", v(g({ ...j.value })), void 0, !0)]),
656
- tooltip: Ee(() => [C(e.$slots, "tooltip", v(g({ ...j.value })), void 0, !0)]),
657
- "tooltip-after": Ee(() => [C(e.$slots, "tooltip-after", v(g({ ...j.value })), void 0, !0)]),
655
+ "tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(_({ ...M.value })), void 0, !0)]),
656
+ tooltip: D(() => [w(e.$slots, "tooltip", y(_({ ...M.value })), void 0, !0)]),
657
+ "tooltip-after": D(() => [w(e.$slots, "tooltip-after", y(_({ ...M.value })), void 0, !0)]),
658
658
  _: 3
659
659
  }, 8, [
660
660
  "teleportTo",
@@ -679,10 +679,10 @@ var De = /* @__PURE__ */ e({ default: () => E }), Oe = ["id"], ke = { style: { p
679
679
  "isA11yMode",
680
680
  "a11yPosition"
681
681
  ]),
682
- e.$slots.source ? (b(), m("div", Ue, [C(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
683
- C(e.$slots, "skeleton", {}, () => [T(z) ? (b(), f(de, { key: 0 })) : p("", !0)], !0)
682
+ e.$slots.source ? (x(), m("div", Ve, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
683
+ w(e.$slots, "skeleton", {}, () => [E(z) ? (x(), f(de, { key: 0 })) : p("", !0)], !0)
684
684
  ], 4));
685
685
  }
686
686
  }, [["__scopeId", "data-v-46bfe738"]]);
687
687
  //#endregion
688
- export { De as n, E as t };
688
+ export { Te as n, He as t };