vue-data-ui 3.23.0 → 3.23.2

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-o2qHNvrC.js → Arrow-CF0VFcBH.js} +1 -1
  2. package/dist/{BaseDraggableDialog-qTnfhLBz.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
  3. package/dist/{BaseIcon-91MZoczJ.js → BaseIcon-BfndwIWE.js} +1 -1
  4. package/dist/{BaseLegendToggle-CtAPwzr2.js → BaseLegendToggle-DZVucLnv.js} +1 -1
  5. package/dist/{BaseZoomControls-rdzlicuz.js → BaseZoomControls-BZvCnZEi.js} +2 -2
  6. package/dist/{ColorPicker-CIAkdPrj.js → ColorPicker--ayG2YHf.js} +2 -2
  7. package/dist/{DataTable-D4tM9s5Y.js → DataTable-BbKgJ5UI.js} +2 -2
  8. package/dist/{HillActions-BWhxHlrj.js → HillActions-BD9j_sOU.js} +1 -1
  9. package/dist/{Legend-CQTRlzK-.js → Legend-CQxUgOd-.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-Cawacw1W.js → NonSvgPenAndPaper-4ypecDg1.js} +6 -6
  11. package/dist/{PackageVersion--QCMh5k_.js → PackageVersion-DXU7nRr9.js} +1 -1
  12. package/dist/{PenAndPaper-cE4J8-rA.js → PenAndPaper-DAE-tnEQ.js} +6 -6
  13. package/dist/{Shape-BPMV94Ij.js → Shape-C21CMlWS.js} +1 -1
  14. package/dist/SlicerPreview-wUw1hFwe.js +1703 -0
  15. package/dist/{SparkTooltip-BaYtEKS6.js → SparkTooltip-CjsbIhzi.js} +1 -1
  16. package/dist/{Title-BODtwViI.js → Title-BE3qg9xl.js} +1 -1
  17. package/dist/{Tooltip-CMTGxeYO.js → Tooltip-DhjyfHwz.js} +2 -2
  18. package/dist/{UserOptions-3ujTo3LD.js → UserOptions-Dt98of5H.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-hill.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-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/composables.js +1 -1
  90. package/dist/{dom-to-png-4tdMNGPX.js → dom-to-png-BYIvdTe8.js} +1 -1
  91. package/dist/{exposedLib-DWLRqRhv.js → exposedLib-C0DPCgFj.js} +7 -4
  92. package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
  93. package/dist/{img-DIQG5q8T.js → img-Bnokohej.js} +1 -1
  94. package/dist/{labelUtils-C5lnc_xc.js → labelUtils-BeVpDvTJ.js} +1 -1
  95. package/dist/{lib-BuMGJ_a0.js → lib-Bttd6u5E.js} +21 -11
  96. package/dist/{package-BMc_ZieJ.js → package-bsfpO6y3.js} +1 -1
  97. package/dist/{pdf-Cnz4NKM9.js → pdf-CVIDfCrS.js} +1 -1
  98. package/dist/{render-common-Ktg2LZFG.js → render-common-C0PEe9so.js} +2 -2
  99. package/dist/ssr/vue-ui-donut.js +1 -1
  100. package/dist/ssr/vue-ui-xy.js +1 -1
  101. package/dist/ssr.js +2 -2
  102. package/dist/style.css +1 -1
  103. package/dist/types/vue-data-ui.d.ts +9 -0
  104. package/dist/{useSvgExport-Ba9qBr9M.js → useChartExport-DNiwdPmb.js} +48 -2
  105. package/dist/{useConfig-BilxnBNr.js → useConfig-DlNpz6P8.js} +13 -1
  106. package/dist/{useNestedProp--NSEmhOH.js → useNestedProp-vPNvh7rV.js} +5 -3
  107. package/dist/{useObjectBindings-Cwq7NcQz.js → useObjectBindings-BeWS5v0i.js} +1 -1
  108. package/dist/{usePrinter-BFvi4jVy.js → usePrinter-DN5bYhTG.js} +2 -2
  109. package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
  110. package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
  111. package/dist/utils.js +3 -3
  112. package/dist/{vue-data-ui-EsawKe_W.js → vue-data-ui-BNxtW8pK.js} +69 -69
  113. package/dist/vue-data-ui.js +74 -74
  114. package/dist/{vue-ui-3d-bar-RSUS2xpL.js → vue-ui-3d-bar-BYumVxZG.js} +147 -165
  115. package/dist/{vue-ui-accordion-61MlW-Ge.js → vue-ui-accordion-DegI2lzR.js} +4 -4
  116. package/dist/vue-ui-age-pyramid-tJx_hCsS.js +1241 -0
  117. package/dist/{vue-ui-annotator-DBRT85HG.js → vue-ui-annotator-DfG79D4r.js} +41 -68
  118. package/dist/vue-ui-bullet-DrWG4jRy.js +700 -0
  119. package/dist/{vue-ui-bump-Dvv3iSKr.js → vue-ui-bump-mKysp0KO.js} +222 -272
  120. package/dist/vue-ui-candlestick-PgKcBZdy.js +1837 -0
  121. package/dist/vue-ui-carousel-table-DRvycNBl.js +467 -0
  122. package/dist/{vue-ui-chestnut-ArloORzP.js → vue-ui-chestnut-Dpklo-VE.js} +311 -365
  123. package/dist/vue-ui-chord-7PPVH_iG.js +1345 -0
  124. package/dist/vue-ui-circle-pack-DW4Os6_8.js +1636 -0
  125. package/dist/{vue-ui-cursor-CxgE6Phh.js → vue-ui-cursor-DIt7vOwc.js} +4 -4
  126. package/dist/{vue-ui-dag-C9Sf9vH7.js → vue-ui-dag-Cl0WdSLb.js} +812 -840
  127. package/dist/{vue-ui-dashboard-bGmaglAj.js → vue-ui-dashboard-BwxRLR4E.js} +70 -70
  128. package/dist/{vue-ui-digits-DgDE-_Fn.js → vue-ui-digits-Bp1OH_t1.js} +5 -5
  129. package/dist/{vue-ui-donut-B_n6wF6B.js → vue-ui-donut-BZUT7QYt.js} +352 -377
  130. package/dist/vue-ui-donut-evolution-CQy3ZKXk.js +1549 -0
  131. package/dist/{vue-ui-donut-Bmo149AR.js → vue-ui-donut-y6tOAVyY.js} +18 -17
  132. package/dist/{vue-ui-dumbbell-BX4Ao_wR.js → vue-ui-dumbbell-BtKZcAOV.js} +370 -420
  133. package/dist/{vue-ui-flow-Bshw8pT_.js → vue-ui-flow-BF_cndsv.js} +191 -216
  134. package/dist/vue-ui-funnel-z3AeiDu6.js +750 -0
  135. package/dist/{vue-ui-galaxy-CvXgy-dy.js → vue-ui-galaxy-ClWaSOmM.js} +276 -302
  136. package/dist/vue-ui-gauge-CJstpakj.js +932 -0
  137. package/dist/{vue-ui-geo-C-gSZL2q.js → vue-ui-geo-B1tOD3HC.js} +398 -449
  138. package/dist/{vue-ui-gizmo-CJdxyPID.js → vue-ui-gizmo-foatosAv.js} +4 -4
  139. package/dist/{vue-ui-heatmap-DEEKv8ip.js → vue-ui-heatmap-By33A9dZ.js} +479 -502
  140. package/dist/{vue-ui-hill-D7LYAgAL.js → vue-ui-hill-ewqkK9s5.js} +570 -593
  141. package/dist/vue-ui-history-plot-FEIwXlsz.js +1698 -0
  142. package/dist/{vue-ui-horizontal-bar-CfFye5tL.js → vue-ui-horizontal-bar-D51sAeVu.js} +307 -332
  143. package/dist/{vue-ui-kpi-DCBnNfTb.js → vue-ui-kpi-y3EkgqJQ.js} +4 -4
  144. package/dist/{vue-ui-mini-loader-CtWpqnLW.js → vue-ui-mini-loader-CtTewZJG.js} +3 -3
  145. package/dist/vue-ui-molecule-paWHp18h.js +935 -0
  146. package/dist/{vue-ui-mood-radar-sl6DMxqR.js → vue-ui-mood-radar-wBRTZI5k.js} +341 -390
  147. package/dist/vue-ui-nested-donuts-CB-HOLo2.js +1503 -0
  148. package/dist/vue-ui-onion-B2Q2n55x.js +1233 -0
  149. package/dist/{vue-ui-parallel-coordinate-plot-DE9wTmQQ.js → vue-ui-parallel-coordinate-plot-GpkXiIZA.js} +189 -214
  150. package/dist/{vue-ui-quadrant-SaY_RPSE.js → vue-ui-quadrant-DOPuejDE.js} +254 -284
  151. package/dist/{vue-ui-quick-chart-CJ9rejnj.js → vue-ui-quick-chart-CgHX9njq.js} +108 -109
  152. package/dist/{vue-ui-radar-CaNen5Fj.js → vue-ui-radar-BLvG-_zE.js} +407 -434
  153. package/dist/{vue-ui-rating--K7rX2an.js → vue-ui-rating-BDVSVFA0.js} +10 -11
  154. package/dist/vue-ui-relation-circle-plOXwxJ5.js +903 -0
  155. package/dist/vue-ui-ridgeline-BbrnXvBo.js +1614 -0
  156. package/dist/{vue-ui-rings-BevKD8P-.js → vue-ui-rings-B3cKfMWy.js} +419 -444
  157. package/dist/vue-ui-scatter-BY7waF2T.js +2403 -0
  158. package/dist/{vue-ui-skeleton-B9ZP1w-i.js → vue-ui-skeleton-DwKxd7fk.js} +4 -4
  159. package/dist/{vue-ui-smiley-DYnqqk6u.js → vue-ui-smiley-5iHJeTPc.js} +64 -65
  160. package/dist/{vue-ui-spark-trend-R0ebpg-G.js → vue-ui-spark-trend-MpvrV5Wd.js} +11 -11
  161. package/dist/{vue-ui-sparkbar-DYC3By0v.js → vue-ui-sparkbar-s-2rBmEz.js} +97 -100
  162. package/dist/{vue-ui-sparkgauge-Bw6no-In.js → vue-ui-sparkgauge-B-BYVv4p.js} +4 -4
  163. package/dist/{vue-ui-sparkhistogram-DvRKy8rq.js → vue-ui-sparkhistogram-D7D4NHdi.js} +18 -19
  164. package/dist/{vue-ui-sparkline-Dz1uzBos.js → vue-ui-sparkline-RbeYtLWp.js} +11 -11
  165. package/dist/{vue-ui-sparkstackbar-DlnPdZih.js → vue-ui-sparkstackbar-ohN7mtbg.js} +194 -198
  166. package/dist/{vue-ui-stackbar-B-THcavY.js → vue-ui-stackbar-D2bpvQYt.js} +530 -552
  167. package/dist/{vue-ui-stackline-3dBPoI0h.js → vue-ui-stackline-Bo1oE8yq.js} +592 -614
  168. package/dist/vue-ui-strip-plot-CZ-C4a5x.js +1734 -0
  169. package/dist/vue-ui-table-3PPiJPV6.js +1352 -0
  170. package/dist/{vue-ui-table-heatmap-DVwMqzje.js → vue-ui-table-heatmap-D1bbPXKG.js} +56 -57
  171. package/dist/{vue-ui-table-sparkline-CABJzK8p.js → vue-ui-table-sparkline-l1cUX3ny.js} +13 -15
  172. package/dist/{vue-ui-thermometer-CVQ-H69Q.js → vue-ui-thermometer-DltAELO7.js} +240 -261
  173. package/dist/{vue-ui-timer-Bm8LpsnI.js → vue-ui-timer-DWNdx47q.js} +6 -6
  174. package/dist/vue-ui-tiremarks-GYhji_fa.js +538 -0
  175. package/dist/{vue-ui-treemap-DP0Sx8Y8.js → vue-ui-treemap-DjNlnOG5.js} +521 -547
  176. package/dist/vue-ui-waffle-BAA9EX6O.js +1386 -0
  177. package/dist/vue-ui-wheel-DrefGLos.js +871 -0
  178. package/dist/{vue-ui-word-cloud-B2sxtel9.js → vue-ui-word-cloud-CQZ8AyOi.js} +382 -405
  179. package/dist/{vue-ui-world-BBQZLnzm.js → vue-ui-world-Y7a3VEjq.js} +426 -451
  180. package/dist/{vue-ui-xy-DZj5DT-q.js → vue-ui-xy-CJcdttNL.js} +879 -905
  181. package/dist/{vue-ui-xy-ChZg7AtI.js → vue-ui-xy-DPxtkYGc.js} +329 -326
  182. package/dist/{vue-ui-xy-canvas-BN2u0bOJ.js → vue-ui-xy-canvas-1rbwMA1m.js} +30 -27
  183. package/package.json +4 -4
  184. package/dist/Slicer-5yIrdoJv.js +0 -1149
  185. package/dist/SlicerPreview-DvjLV2TW.js +0 -1689
  186. package/dist/vue-ui-age-pyramid-CgnPWA93.js +0 -1263
  187. package/dist/vue-ui-bullet-Bc3-WaN1.js +0 -724
  188. package/dist/vue-ui-candlestick-DvvsrIdp.js +0 -1864
  189. package/dist/vue-ui-carousel-table-DtsNVim8.js +0 -463
  190. package/dist/vue-ui-chord-xX5gWZy8.js +0 -1396
  191. package/dist/vue-ui-circle-pack-D8wykmqg.js +0 -1638
  192. package/dist/vue-ui-donut-evolution-D6vH_hfx.js +0 -1598
  193. package/dist/vue-ui-funnel-CjYosIik.js +0 -797
  194. package/dist/vue-ui-gauge-CByT0_vF.js +0 -953
  195. package/dist/vue-ui-history-plot-BhcU94Pt.js +0 -1722
  196. package/dist/vue-ui-molecule-D3igGyOy.js +0 -958
  197. package/dist/vue-ui-nested-donuts-aS4YzaB3.js +0 -1528
  198. package/dist/vue-ui-onion-EhPTZpW_.js +0 -1258
  199. package/dist/vue-ui-relation-circle-FLs8vOxQ.js +0 -925
  200. package/dist/vue-ui-ridgeline-Beg5hshN.js +0 -1663
  201. package/dist/vue-ui-scatter-CNA7jF-o.js +0 -2428
  202. package/dist/vue-ui-strip-plot-ACeYOoHj.js +0 -1757
  203. package/dist/vue-ui-table-rFy16bp0.js +0 -1347
  204. package/dist/vue-ui-tiremarks-DB3f5qiz.js +0 -559
  205. package/dist/vue-ui-waffle-iPpdk1Bm.js +0 -1412
  206. package/dist/vue-ui-wheel-BJkEYfLj.js +0 -892
@@ -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-BuMGJ_a0.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";
3
3
  import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
4
- import { t as le } from "./useConfig-BilxnBNr.js";
4
+ import { t as le } from "./useConfig-DlNpz6P8.js";
5
5
  import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as l } from "./useNestedProp--NSEmhOH.js";
6
+ import { t as l } from "./useNestedProp-vPNvh7rV.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-CtAPwzr2.js";
10
+ import { t as he } from "./BaseLegendToggle-DZVucLnv.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 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";
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";
16
16
  //#region src/components/vue-ui-sparkstackbar.vue
17
- var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: { position: "relative" } }, Oe = [
17
+ var De = /* @__PURE__ */ e({ default: () => E }), Oe = ["id"], ke = { style: { position: "relative" } }, Ae = [
18
18
  "xmlns",
19
19
  "viewBox",
20
20
  "aria-describedby"
21
- ], ke = {
21
+ ], je = {
22
22
  id: "stackPill",
23
23
  clipPathUnits: "objectBoundingBox"
24
- }, Ae = ["fill"], je = {
24
+ }, Me = ["fill"], Ne = {
25
25
  key: 0,
26
26
  "clip-path": "url(#stackPill)"
27
- }, Me = [
27
+ }, Pe = [
28
28
  "x",
29
29
  "width",
30
30
  "height",
31
31
  "fill"
32
- ], Ne = [
32
+ ], Fe = [
33
33
  "x",
34
34
  "width",
35
35
  "height",
36
36
  "fill",
37
37
  "stroke"
38
- ], Pe = [
38
+ ], Ie = [
39
39
  "x",
40
40
  "width",
41
41
  "height",
42
42
  "onClick",
43
43
  "onMouseenter",
44
44
  "onMouseleave"
45
- ], Fe = [
45
+ ], Le = [
46
46
  "width",
47
47
  "height",
48
48
  "rx"
49
- ], Ie = {
49
+ ], Re = {
50
50
  key: 0,
51
51
  style: {
52
52
  position: "absolute",
@@ -56,23 +56,23 @@ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: {
56
56
  },
57
57
  "data-dom-to-png-ignore": "",
58
58
  "aria-hidden": "true"
59
- }, Le = [
59
+ }, ze = [
60
60
  "aria-pressed",
61
61
  "aria-label",
62
62
  "onClick",
63
63
  "onFocus",
64
64
  "onKeydown"
65
- ], Re = { style: {
65
+ ], Be = { 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
- } }, ze = ["height", "width"], Be = ["fill"], Ve = {
71
+ } }, Ve = ["height", "width"], He = ["fill"], Ue = {
72
72
  key: 3,
73
73
  ref: "source",
74
74
  dir: "auto"
75
- }, He = /*#__PURE__*/ pe({
75
+ }, E = /*#__PURE__*/ pe({
76
76
  __name: "vue-ui-sparkstackbar",
77
77
  props: {
78
78
  config: {
@@ -89,18 +89,16 @@ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: {
89
89
  }
90
90
  },
91
91
  emits: ["selectDatapoint", "selectLegend"],
92
- setup(e, { expose: pe, emit: Te }) {
93
- let He = be(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), Ue = be(() => import("./Tooltip-CMTGxeYO.js")), { vue_ui_sparkstackbar: We } = le(), { isThemeValid: Ge, warnInvalidTheme: Ke } = fe(), qe = ve(), O = e, Je = Ce();
94
- xe(() => {
95
- Je["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
96
- });
97
- let Ye = S(null), k = S(ne()), A = S(!1), j = S(""), M = S(null), N = S(!1), P = S(null), Xe = S({
92
+ setup(e, { expose: pe, emit: De }) {
93
+ let E = xe(() => import("./PackageVersion-DXU7nRr9.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({
98
94
  x: 0,
99
95
  y: 0
100
- }), F = S("pointer"), I = S(!1), L = S(null), Ze = S([]), R = S(H());
101
- se({
102
- config: () => R.value,
103
- dataset: () => O.dataset,
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.");
99
+ }), se({
100
+ config: () => L.value,
101
+ dataset: () => D.dataset,
104
102
  component: "VueUiSparkStackbar",
105
103
  rules: [ce.emptyArray, {
106
104
  test: (e) => e.length > 6,
@@ -113,19 +111,19 @@ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: {
113
111
  ]
114
112
  }]
115
113
  });
116
- let Qe = d(() => R.value.useCursorPointer), $e = d(() => n({
114
+ let $e = d(() => L.value.useCursorPointer), et = d(() => n({
117
115
  defaultConfig: { style: {
118
116
  backgroundColor: "#99999930",
119
117
  animation: { show: !1 },
120
118
  bar: { gradient: { inderlayerColor: "#6A6A6A" } },
121
119
  title: { backgroundColor: "transparent" }
122
120
  } },
123
- userConfig: R.value.skeletonConfig ?? {}
121
+ userConfig: L.value.skeletonConfig ?? {}
124
122
  })), { loading: z, FINAL_DATASET: B } = ue({
125
- ...Se(O),
126
- FINAL_CONFIG: R,
123
+ ...Ce(D),
124
+ FINAL_CONFIG: L,
127
125
  prepareConfig: H,
128
- skeletonDataset: O.config?.skeletonDataset ?? [
126
+ skeletonDataset: D.config?.skeletonDataset ?? [
129
127
  {
130
128
  name: "_",
131
129
  value: 8,
@@ -143,22 +141,22 @@ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: {
143
141
  }
144
142
  ],
145
143
  skeletonConfig: n({
146
- defaultConfig: R.value,
147
- userConfig: $e.value
144
+ defaultConfig: L.value,
145
+ userConfig: et.value
148
146
  })
149
- }), { svgRef: V } = _e({ config: R.value.style.title });
147
+ }), { svgRef: V } = _e({ config: L.value.style.title });
150
148
  function H() {
151
149
  let e = l({
152
- userConfig: O.config,
153
- defaultConfig: We
150
+ userConfig: D.config,
151
+ defaultConfig: Ge
154
152
  }), t = e.theme;
155
153
  if (!t) return e;
156
- if (!Ge.value(e)) return Ke(e), e;
154
+ if (!Ke.value(e)) return qe(e), e;
157
155
  let n = l({
158
- userConfig: ye[t] || O.config,
156
+ userConfig: ye[t] || D.config,
159
157
  defaultConfig: e
160
158
  }), a = l({
161
- userConfig: O.config,
159
+ userConfig: D.config,
162
160
  defaultConfig: n
163
161
  });
164
162
  return {
@@ -166,25 +164,25 @@ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: {
166
164
  customPalette: a.customPalette.length ? a.customPalette : r[t] || i
167
165
  };
168
166
  }
169
- we(() => O.config, (e) => {
170
- R.value = H(), nt();
171
- }, { deep: !0 }), we(() => B.value, (e) => {
167
+ Te(() => D.config, (e) => {
168
+ L.value = H(), nt();
169
+ }, { deep: !0 }), Te(() => B.value, (e) => {
172
170
  W.value = B.value.map((e, t) => ({
173
171
  ...e,
174
172
  color: e.color ? a(e.color) : U.value[t] || i[t] || i[t % i.length]
175
- })), et();
173
+ })), tt();
176
174
  }, { deep: !0 });
177
- let U = d(() => ae(R.value.customPalette)), W = S(B.value.map((e, t) => ({
175
+ let U = d(() => ae(L.value.customPalette)), W = x(B.value.map((e, t) => ({
178
176
  ...e,
179
- value: R.value.style.animation.show ? 0 : e.value || 0,
177
+ value: L.value.style.animation.show ? 0 : e.value || 0,
180
178
  color: e.color ? a(e.color) : U.value[t] || i[t] || i[t % i.length]
181
- }))), G = S(!0);
182
- function et() {
183
- if (!R.value.style.animation.show || qe.value) {
179
+ }))), G = x(!0);
180
+ function tt() {
181
+ if (!L.value.style.animation.show || Je.value) {
184
182
  G.value = !1;
185
183
  return;
186
184
  }
187
- 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), o = 0;
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;
188
186
  G.value = !0, W.value = B.value.map((e, t) => ({
189
187
  ...e,
190
188
  value: 0,
@@ -204,16 +202,15 @@ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: {
204
202
  }
205
203
  s();
206
204
  }
207
- xe(() => {
205
+ Se(() => {
208
206
  nt();
209
207
  });
210
- let tt = d(() => R.value.debug);
211
208
  function nt() {
212
- ee(O.dataset) ? ie({
209
+ ee(D.dataset) ? ie({
213
210
  componentName: "VueUiSparkStackbar",
214
211
  type: "dataset",
215
- debug: tt.value
216
- }) : O.dataset.forEach((e, t) => {
212
+ debug: R.value
213
+ }) : R.value && D.dataset.forEach((e, t) => {
217
214
  te({
218
215
  datasetObject: e,
219
216
  requiredAttributes: ["name", "value"]
@@ -222,16 +219,15 @@ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: {
222
219
  componentName: "VueUiSparkStackbar",
223
220
  type: "datasetSerieAttribute",
224
221
  property: e,
225
- index: t,
226
- debug: tt.value
222
+ index: t
227
223
  });
228
224
  });
229
- }), et();
225
+ }), tt();
230
226
  }
231
- let K = S({
227
+ let K = x({
232
228
  width: 500,
233
229
  height: 16
234
- }), 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) => {
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) => {
235
231
  let n = e.value || 0, r = n / rt.value, o = isNaN(r) ? 0 : r, c = o * K.value.width;
236
232
  return {
237
233
  ...e,
@@ -243,7 +239,7 @@ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: {
243
239
  proportionLabel: s({
244
240
  v: o * 100,
245
241
  s: "%",
246
- r: R.value.style.legend.percentage.rounding
242
+ r: L.value.style.legend.percentage.rounding
247
243
  })
248
244
  };
249
245
  })), Y = d(() => J.value.filter((e, t) => !q.value.includes(t)));
@@ -256,7 +252,7 @@ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: {
256
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);
257
253
  }
258
254
  function at(e) {
259
- 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);
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);
260
256
  }
261
257
  function ot(e) {
262
258
  let t = at(e);
@@ -273,60 +269,60 @@ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: {
273
269
  start: e
274
270
  }), e += Y.value[n].width;
275
271
  return t;
276
- }), ct = Te;
272
+ }), ct = De;
277
273
  function Q(e, t, n = !1) {
278
274
  ct("selectDatapoint", {
279
275
  datapoint: e,
280
276
  index: t
281
- }), R.value.events.datapointClick && !n && R.value.events.datapointClick({
277
+ }), L.value.events.datapointClick && !n && L.value.events.datapointClick({
282
278
  datapoint: e,
283
279
  seriesIndex: e.seriesIndex
284
280
  });
285
281
  }
286
282
  function lt({ datapoint: e, seriesIndex: t }) {
287
- A.value = !1, L.value = null, P.value = null, F.value = "pointer", R.value.events.datapointLeave && R.value.events.datapointLeave({
283
+ k.value = !1, I.value = null, N.value = null, P.value = "pointer", L.value.events.datapointLeave && L.value.events.datapointLeave({
288
284
  datapoint: e,
289
285
  seriesIndex: e.seriesIndex
290
286
  });
291
287
  }
292
288
  function ut({ datapoint: e, seriesIndex: t, triggerMode: n = "pointer" }) {
293
- if (N.value = !1, R.value.events.datapointEnter && R.value.events.datapointEnter({
289
+ if (M.value = !1, L.value.events.datapointEnter && L.value.events.datapointEnter({
294
290
  datapoint: e,
295
291
  seriesIndex: e.seriesIndex
296
- }), !R.value.style.tooltip.show) return;
297
- F.value = n, M.value = {
292
+ }), !L.value.style.tooltip.show) return;
293
+ P.value = n, j.value = {
298
294
  datapoint: e,
299
295
  seriesIndex: t,
300
- config: R.value,
296
+ config: L.value,
301
297
  series: J.value
302
- }, A.value = !0, L.value = t;
303
- let r = R.value.style.tooltip.customFormat;
298
+ }, k.value = !0, I.value = t;
299
+ let r = L.value.style.tooltip.customFormat;
304
300
  if (oe(r)) try {
305
301
  let t = r({
306
302
  seriesIndex: e.seriesIndex,
307
303
  datapoint: e,
308
304
  series: J.value,
309
- config: R.value
305
+ config: L.value
310
306
  });
311
- typeof t == "string" && (j.value = t, N.value = !0);
307
+ typeof t == "string" && (A.value = t, M.value = !0);
312
308
  } catch {
313
- console.warn("Custom format cannot be applied."), N.value = !1;
309
+ console.warn("Custom format cannot be applied."), M.value = !1;
314
310
  }
315
- if (!N.value) {
311
+ if (!M.value) {
316
312
  let n = "";
317
- 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>(${c(R.value.style.legend.value.formatter, e.value, s({
318
- p: R.value.style.legend.value.prefix,
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,
319
315
  v: e.value,
320
- s: R.value.style.legend.value.suffix,
321
- r: R.value.style.legend.value.rounding
316
+ s: L.value.style.legend.value.suffix,
317
+ r: L.value.style.legend.value.rounding
322
318
  }), {
323
319
  datapoint: e,
324
320
  seriesIndex: t
325
- })})</span>`, j.value = `<div>${n}</div>`;
321
+ })})</span>`, A.value = `<div>${n}</div>`;
326
322
  }
327
323
  }
328
324
  function $(e) {
329
- let t = Ze.value[e];
325
+ let t = Qe.value[e];
330
326
  t && typeof t.focus == "function" && t.focus();
331
327
  }
332
328
  function dt(e) {
@@ -334,46 +330,46 @@ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: {
334
330
  let t = Z.value[e];
335
331
  if (!t) return;
336
332
  let n = V.value.getBoundingClientRect(), r = t.start + t.width / 2, i = K.value.height / 2;
337
- Xe.value = {
333
+ Ze.value = {
338
334
  x: n.left + r / K.value.width * n.width,
339
335
  y: n.top + i / K.value.height * n.height
340
336
  };
341
337
  }
342
338
  function ft() {
343
- P.value = null, I.value = !0;
339
+ N.value = null, F.value = !0;
344
340
  }
345
341
  function pt() {
346
- P.value = null, F.value = "pointer", A.value = !1, L.value = null, I.value = !1;
342
+ N.value = null, P.value = "pointer", k.value = !1, I.value = null, F.value = !1;
347
343
  }
348
344
  function mt(e) {
349
345
  if (!V.value || document.activeElement !== V.value || !Z.value.length) return;
350
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";
351
347
  if (!t && !n && !r && !i && !a && !o) return;
352
348
  if (e.preventDefault(), e.stopPropagation(), i) {
353
- P.value = null, F.value = "pointer", A.value = !1, L.value = null;
349
+ N.value = null, P.value = "pointer", k.value = !1, I.value = null;
354
350
  return;
355
351
  }
356
352
  if (r) {
357
- if (P.value === null) return;
358
- let e = Z.value[P.value];
353
+ if (N.value === null) return;
354
+ let e = Z.value[N.value];
359
355
  if (!e) return;
360
356
  Q(e, e.seriesIndex);
361
357
  return;
362
358
  }
363
- let s = P.value;
359
+ let s = N.value;
364
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));
365
361
  let c = Z.value[s];
366
- c && (P.value = s, dt(s), ut({
362
+ c && (N.value = s, dt(s), ut({
367
363
  datapoint: c,
368
364
  seriesIndex: c.seriesIndex,
369
365
  triggerMode: "keyboard"
370
366
  }));
371
367
  }
372
368
  function ht(e) {
373
- A.value = !1, P.value = null, F.value = "pointer", L.value = e.seriesIndex;
369
+ k.value = !1, N.value = null, P.value = "pointer", I.value = e.seriesIndex;
374
370
  }
375
371
  function gt() {
376
- P.value = null, F.value = "pointer", A.value = !1, L.value = null;
372
+ N.value = null, P.value = "pointer", k.value = !1, I.value = null;
377
373
  }
378
374
  function _t(e, t, n) {
379
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";
@@ -403,18 +399,18 @@ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: {
403
399
  }
404
400
  let vt = d(() => ({
405
401
  headers: [
406
- R.value.a11y.translations.series,
407
- R.value.a11y.translations.percentage,
408
- R.value.a11y.translations.value
402
+ L.value.a11y.translations.series,
403
+ L.value.a11y.translations.percentage,
404
+ L.value.a11y.translations.value
409
405
  ],
410
406
  rows: J.value.map((e, t) => [
411
407
  e.name,
412
408
  q.value.includes(t) ? " - " : e.proportionLabel,
413
- c(R.value.style.legend.value.formatter, e.value, s({
414
- p: R.value.style.legend.value.prefix,
409
+ c(L.value.style.legend.value.formatter, e.value, s({
410
+ p: L.value.style.legend.value.prefix,
415
411
  v: e.value,
416
- s: R.value.style.legend.value.suffix,
417
- r: R.value.style.legend.value.rounding
412
+ s: L.value.style.legend.value.suffix,
413
+ r: L.value.style.legend.value.rounding
418
414
  }), {
419
415
  datapoint: e,
420
416
  seriesIndex: t
@@ -424,23 +420,23 @@ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: {
424
420
  return pe({
425
421
  hideSeries: st,
426
422
  showSeries: ot
427
- }), (e, n) => (x(), m("div", {
423
+ }), (e, n) => (b(), m("div", {
428
424
  class: "vue-data-ui-component vue-ui-spark-stackbar",
429
425
  ref_key: "sparkstackbarChart",
430
- ref: Ye,
431
- style: b(`width:100%; background:${R.value.style.backgroundColor}`)
426
+ ref: Xe,
427
+ style: y(`width:100%; background:${L.value.style.backgroundColor}`)
432
428
  }, [
433
429
  h("div", {
434
- id: `chart-instructions-${k.value}`,
430
+ id: `chart-instructions-${O.value}`,
435
431
  class: "sr-only"
436
- }, [h("p", null, T(R.value.a11y.translations.keyboardNavigation), 1)], 8, Ee),
437
- vt.value?.rows?.length ? (x(), f(ge, {
432
+ }, [h("p", null, w(L.value.a11y.translations.keyboardNavigation), 1)], 8, Oe),
433
+ vt.value?.rows?.length ? (b(), f(ge, {
438
434
  key: 0,
439
- uid: k.value,
435
+ uid: O.value,
440
436
  head: vt.value.headers,
441
437
  body: vt.value.rows,
442
- notice: R.value.a11y.translations.tableAvailable,
443
- caption: R.value.a11y.translations.tableCaption
438
+ notice: L.value.a11y.translations.tableAvailable,
439
+ caption: L.value.a11y.translations.tableCaption
444
440
  }, null, 8, [
445
441
  "uid",
446
442
  "head",
@@ -448,33 +444,33 @@ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: {
448
444
  "notice",
449
445
  "caption"
450
446
  ])) : p("", !0),
451
- R.value.style.title.text ? (x(), m("div", {
447
+ L.value.style.title.text ? (b(), m("div", {
452
448
  key: 1,
453
- 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}`)
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}`)
454
450
  }, [h("div", {
455
451
  class: "atom-title",
456
- 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"}`)
457
- }, T(R.value.style.title.text), 5), R.value.style.title.subtitle.text ? (x(), m("div", {
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", {
458
454
  key: 0,
459
455
  class: "atom-subtitle",
460
- 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"}`)
461
- }, T(R.value.style.title.subtitle.text), 5)) : p("", !0)], 4)) : p("", !0),
462
- h("div", De, [(x(), m("svg", {
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", {
463
459
  ref_key: "svgRef",
464
460
  ref: V,
465
- xmlns: E(re),
461
+ xmlns: T(re),
466
462
  width: "100%",
467
463
  viewBox: `0 0 ${K.value.width} ${K.value.height}`,
468
- "aria-describedby": `chart-instructions-${k.value}`,
464
+ "aria-describedby": `chart-instructions-${O.value}`,
469
465
  tabindex: "0",
470
466
  onFocus: ft,
471
467
  onBlur: pt,
472
468
  onKeydown: mt
473
469
  }, [
474
- g(E(He)),
475
- h("defs", null, [(x(!0), m(u, null, C(Z.value, (e, n) => (x(), f(me, {
470
+ be(T(E)),
471
+ h("defs", null, [(b(!0), m(u, null, S(Z.value, (e, n) => (b(), f(me, {
476
472
  t: "linear",
477
- id: `stack_gradient_${n}_${k.value}`,
473
+ id: `stack_gradient_${n}_${O.value}`,
478
474
  key: `stack_gradient_${n}`,
479
475
  gradientTransform: "rotate(90)",
480
476
  stops: [
@@ -485,7 +481,7 @@ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: {
485
481
  ],
486
482
  [
487
483
  "50%",
488
- E(t)(E(o)(e.color, .05), 100 - R.value.style.bar.gradient.intensity),
484
+ T(t)(T(o)(e.color, .05), 100 - L.value.style.bar.gradient.intensity),
489
485
  1
490
486
  ],
491
487
  [
@@ -494,39 +490,39 @@ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: {
494
490
  1
495
491
  ]
496
492
  ]
497
- }, null, 8, ["id", "stops"]))), 128)), h("clipPath", ke, [h("rect", {
493
+ }, null, 8, ["id", "stops"]))), 128)), h("clipPath", je, [h("rect", {
498
494
  x: "0.005",
499
495
  y: "-2",
500
496
  width: "0.99",
501
497
  height: "5",
502
498
  rx: "3",
503
499
  ry: "3",
504
- fill: R.value.style.backgroundColor
505
- }, null, 8, Ae)])]),
506
- rt.value > 0 ? (x(), m("g", je, [
507
- (x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("rect", {
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", {
508
504
  key: `stack_underlayer_${t}`,
509
505
  x: e.start,
510
506
  y: 0,
511
507
  width: e.width,
512
508
  height: K.value.height,
513
- fill: R.value.style.bar.gradient.underlayerColor,
514
- class: v({ animated: !G.value && !E(z) }),
515
- style: b({ opacity: L.value !== null && R.value.style.tooltip.show ? L.value === t ? 1 : .5 : 1 })
516
- }, null, 14, Me))), 128)),
517
- (x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("rect", {
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", {
518
514
  key: `stack_${t}`,
519
515
  x: e.start,
520
516
  y: 0,
521
517
  width: e.width,
522
518
  height: K.value.height,
523
- fill: R.value.style.bar.gradient.show ? `url(#stack_gradient_${t}_${k.value})` : e.color,
524
- stroke: R.value.style.backgroundColor,
519
+ fill: L.value.style.bar.gradient.show ? `url(#stack_gradient_${t}_${O.value})` : e.color,
520
+ stroke: L.value.style.backgroundColor,
525
521
  "stroke-linecap": "round",
526
- class: v({ animated: !G.value && !E(z) }),
527
- style: b({ opacity: L.value !== null && R.value.style.tooltip.show ? L.value === t ? 1 : .5 : 1 })
528
- }, null, 14, Ne))), 128)),
529
- (x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("rect", {
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", {
530
526
  key: `stack_trap_${t}`,
531
527
  x: e.start,
532
528
  y: 0,
@@ -534,7 +530,7 @@ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: {
534
530
  height: K.value.height,
535
531
  fill: "transparent",
536
532
  stroke: "none",
537
- class: v({ animated: !G.value && !E(z) }),
533
+ class: _({ animated: !G.value && !T(z) }),
538
534
  onClick: () => Q(e, t),
539
535
  onMouseenter: () => ut({
540
536
  datapoint: e,
@@ -544,8 +540,8 @@ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: {
544
540
  datapoint: e,
545
541
  seriesIndex: t
546
542
  })
547
- }, null, 42, Pe))), 128))
548
- ])) : (x(), m("rect", {
543
+ }, null, 42, Ie))), 128))
544
+ ])) : (b(), m("rect", {
549
545
  key: 1,
550
546
  x: 2,
551
547
  y: 1,
@@ -555,24 +551,24 @@ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: {
555
551
  "stroke-width": "2",
556
552
  fill: "transparent",
557
553
  rx: (K.value.height - 4) / 2
558
- }, null, 8, Fe))
559
- ], 40, Oe)), e.$slots.hint ? (x(), m("div", Ie, [w(e.$slots, "hint", y(_({
560
- hint: R.value.a11y.translations.keyboardNavigation,
561
- isVisible: I.value
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
562
558
  })), void 0, !0)])) : p("", !0)]),
563
- R.value.style.legend.show ? (x(), m("div", {
559
+ L.value.style.legend.show ? (b(), m("div", {
564
560
  key: 2,
565
- 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"}`),
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"}`),
566
562
  class: "vue-ui-sparkstackbar-legend",
567
563
  "aria-label": "legend",
568
564
  role: "toolbar"
569
- }, [R.value.style.legend.selectAllToggle.show && J.value.length > 2 && !E(z) ? (x(), f(he, {
565
+ }, [L.value.style.legend.selectAllToggle.show && J.value.length > 2 && !T(z) ? (b(), f(he, {
570
566
  key: 0,
571
- backgroundColor: R.value.style.legend.selectAllToggle.backgroundColor,
572
- color: R.value.style.legend.selectAllToggle.color,
573
- fontSize: R.value.style.legend.fontSize,
567
+ backgroundColor: L.value.style.legend.selectAllToggle.backgroundColor,
568
+ color: L.value.style.legend.selectAllToggle.color,
569
+ fontSize: L.value.style.legend.fontSize,
574
570
  checked: q.value.length > 0,
575
- isCursorPointer: Qe.value,
571
+ isCursorPointer: $e.value,
576
572
  onToggle: it
577
573
  }, null, 8, [
578
574
  "backgroundColor",
@@ -580,13 +576,13 @@ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: {
580
576
  "fontSize",
581
577
  "checked",
582
578
  "isCursorPointer"
583
- ])) : p("", !0), (x(!0), m(u, null, C(J.value, (e, n) => (x(), m("div", {
579
+ ])) : p("", !0), (b(!0), m(u, null, S(J.value, (e, n) => (b(), m("div", {
584
580
  role: "button",
585
581
  tabindex: "0",
586
582
  "aria-pressed": q.value.includes(n),
587
583
  "aria-label": `${e.name}, ${q.value.includes(n) ? "hidden" : "visible"}, ${e.proportionLabel}`,
588
- style: b(`font-size:${R.value.style.legend.fontSize}px;cursor:${Qe.value ? "pointer" : "default"}`),
589
- class: v({
584
+ style: y(`font-size:${L.value.style.legend.fontSize}px;cursor:${$e.value ? "pointer" : "default"}`),
585
+ class: _({
590
586
  "vue-ui-sparkstackbar-legend-item": !0,
591
587
  "vue-ui-sparkstackbar-legend-item-unselected": q.value.includes(n)
592
588
  }),
@@ -596,16 +592,16 @@ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: {
596
592
  onFocus: (t) => ht(e),
597
593
  onBlur: gt,
598
594
  onKeydown: (t) => _t(t, e, n)
599
- }, [h("div", Re, [(x(), m("svg", {
600
- height: `${R.value.style.legend.fontSize}px`,
601
- width: `${R.value.style.legend.fontSize}px`,
595
+ }, [h("div", Be, [(b(), m("svg", {
596
+ height: `${L.value.style.legend.fontSize}px`,
597
+ width: `${L.value.style.legend.fontSize}px`,
602
598
  viewBox: "0 0 10 10"
603
- }, [h("defs", null, [g(me, {
599
+ }, [h("defs", null, [be(me, {
604
600
  t: "radial",
605
- id: `legend_grad_${n}-${k.value}`,
601
+ id: `legend_grad_${n}-${O.value}`,
606
602
  stops: [[
607
603
  "0%",
608
- E(z) ? "#FFFFFF" : E(t)(E(o)(e.color, .05), 100 - R.value.style.bar.gradient.intensity),
604
+ T(z) ? "#FFFFFF" : T(t)(T(o)(e.color, .05), 100 - L.value.style.bar.gradient.intensity),
609
605
  1
610
606
  ], [
611
607
  "100%",
@@ -616,49 +612,49 @@ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: {
616
612
  cx: 5,
617
613
  cy: 5,
618
614
  r: 5,
619
- fill: R.value.style.bar.gradient.show ? `url(#legend_grad_${n}-${k.value})` : e.color
620
- }, 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", {
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", {
621
617
  key: 0,
622
- style: b(`font-weight:${R.value.style.legend.percentage.bold ? "bold" : "normal"};color:${R.value.style.legend.percentage.color}`)
623
- }, T(q.value.includes(n) ? " - " : e.proportionLabel), 5)) : p("", !0), R.value.style.legend.value.show ? (x(), m("span", {
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", {
624
620
  key: 1,
625
- style: b(`font-weight:${R.value.style.legend.value.bold ? "bold" : "normal"};color:${R.value.style.legend.value.color}`)
626
- }, " (" + T(E(c)(R.value.style.legend.value.formatter, e.value, E(s)({
627
- p: R.value.style.legend.value.prefix,
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,
628
624
  v: e.value,
629
- s: R.value.style.legend.value.suffix,
630
- r: R.value.style.legend.value.rounding
625
+ s: L.value.style.legend.value.suffix,
626
+ r: L.value.style.legend.value.rounding
631
627
  }), {
632
628
  datapoint: e,
633
629
  seriesIndex: n
634
- })) + ") ", 5)) : p("", !0)], 64))], 64))])], 46, Le))), 256))], 4)) : p("", !0),
635
- g(E(Ue), {
636
- teleportTo: R.value.style.tooltip.teleportTo,
637
- show: A.value && R.value.style.tooltip.show,
638
- parent: Ye.value,
639
- backgroundColor: R.value.style.tooltip.backgroundColor,
640
- color: R.value.style.tooltip.color,
641
- fontSize: R.value.style.tooltip.fontSize,
642
- borderRadius: R.value.style.tooltip.borderRadius,
643
- borderColor: R.value.style.tooltip.borderColor,
644
- borderWidth: R.value.style.tooltip.borderWidth,
645
- backgroundOpacity: R.value.style.tooltip.backgroundOpacity,
646
- position: R.value.style.tooltip.position,
647
- content: j.value,
648
- isCustom: N.value,
649
- offsetX: R.value.style.tooltip.offsetX,
650
- offsetY: -124 + R.value.style.tooltip.offsetY,
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,
651
647
  blockShiftY: !0,
652
- smooth: R.value.style.tooltip.smooth,
653
- backdropFilter: R.value.style.tooltip.backdropFilter,
654
- smoothForce: R.value.style.tooltip.smoothForce,
655
- smoothSnapThreshold: R.value.style.tooltip.smoothSnapThreshold,
656
- isA11yMode: F.value === "keyboard",
657
- a11yPosition: Xe.value
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
658
654
  }, {
659
- "tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(_({ ...M.value })), void 0, !0)]),
660
- tooltip: D(() => [w(e.$slots, "tooltip", y(_({ ...M.value })), void 0, !0)]),
661
- "tooltip-after": D(() => [w(e.$slots, "tooltip-after", y(_({ ...M.value })), void 0, !0)]),
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)]),
662
658
  _: 3
663
659
  }, 8, [
664
660
  "teleportTo",
@@ -683,10 +679,10 @@ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: {
683
679
  "isA11yMode",
684
680
  "a11yPosition"
685
681
  ]),
686
- e.$slots.source ? (x(), m("div", Ve, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
687
- w(e.$slots, "skeleton", {}, () => [E(z) ? (x(), f(de, { key: 0 })) : p("", !0)], !0)
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)
688
684
  ], 4));
689
685
  }
690
- }, [["__scopeId", "data-v-a69e0725"]]);
686
+ }, [["__scopeId", "data-v-46bfe738"]]);
691
687
  //#endregion
692
- export { Te as n, He as t };
688
+ export { De as n, E as t };