vue-data-ui 3.22.0 → 3.22.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 (199) hide show
  1. package/dist/{Arrow-_pDGXl76.js → Arrow-BGhJI-qh.js} +1 -1
  2. package/dist/{BaseDraggableDialog-O8jn9Lvi.js → BaseDraggableDialog-a9xCKjW-.js} +2 -2
  3. package/dist/{BaseIcon-CWXbczu_.js → BaseIcon-DEtwcvEH.js} +1 -1
  4. package/dist/{BaseLegendToggle-CUYal8mC.js → BaseLegendToggle-B-lM0iV1.js} +1 -1
  5. package/dist/{BaseZoomControls-JwSGzoKi.js → BaseZoomControls-BjjT6vtB.js} +2 -2
  6. package/dist/{ColorPicker-CCqmzGGo.js → ColorPicker-DMLahA2S.js} +2 -2
  7. package/dist/{DataTable-G9aclxhk.js → DataTable-DJZgdnIn.js} +2 -2
  8. package/dist/{Legend-CAStwHdx.js → Legend-BVDhEEsC.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-BLy8zMox.js → NonSvgPenAndPaper-Dwq_M6Bz.js} +13 -13
  10. package/dist/{PackageVersion-DxBQctV8.js → PackageVersion-Dx81ZIAL.js} +1 -1
  11. package/dist/{PenAndPaper-z1woaB1V.js → PenAndPaper-DJIIG6dv.js} +13 -13
  12. package/dist/{Shape-BubavoqO.js → Shape-C5OvuwII.js} +1 -1
  13. package/dist/{Slicer-JCOpjPU7.js → Slicer-ClR833cP.js} +2 -2
  14. package/dist/{SlicerPreview-BA_RDgVn.js → SlicerPreview-CAhqG_ZQ.js} +12 -12
  15. package/dist/{SparkTooltip-DMFXQmFi.js → SparkTooltip-DTzo8Sah.js} +6 -6
  16. package/dist/{Title-DH6G8_cZ.js → Title-CVYf1f8m.js} +1 -1
  17. package/dist/{Tooltip-979Ytd8R.js → Tooltip-BmGCBJuU.js} +1 -1
  18. package/dist/{UserOptions-rx9hUnOy.js → UserOptions-xqbNpHi2.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-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-CtV3uxDJ.js → dom-to-png-rjAIVHxa.js} +1 -1
  89. package/dist/exposedLib-CffbQxjN.js +19 -0
  90. package/dist/{img-C_RNNswI.js → img-BCAOkqfM.js} +1 -1
  91. package/dist/{labelUtils-Bycs-017.js → labelUtils-C0D1tjig.js} +1 -1
  92. package/dist/{lib-AJRHFE5U.js → lib-CXicicWN.js} +155 -126
  93. package/dist/{package-0oRlvBuX.js → package-CILLITOI.js} +1 -1
  94. package/dist/{pdf-CdX23zf1.js → pdf-ChYv2jb6.js} +1 -1
  95. package/dist/{render-common-DSiH7qj-.js → render-common-bMAFQ_qf.js} +2 -2
  96. package/dist/ssr/vue-ui-donut.js +1 -1
  97. package/dist/ssr/vue-ui-xy.js +1 -1
  98. package/dist/ssr.js +2 -2
  99. package/dist/style.css +1 -1
  100. package/dist/types/vue-data-ui.d.ts +7 -10
  101. package/dist/{useAutoSizeLabelsInsideViewbox-kjVKQz36.js → useAutoSizeLabelsInsideViewbox-B4-0yo3K.js} +1 -1
  102. package/dist/{useConfig-Br1uzq_L.js → useConfig-Bf_EBbe3.js} +4 -1
  103. package/dist/{useNestedProp-DtcXIg7n.js → useNestedProp-APyFoLCQ.js} +1 -1
  104. package/dist/{useObjectBindings-CxQ6A5pi.js → useObjectBindings-Byts-nf-.js} +1 -1
  105. package/dist/{usePrinter-6n2MzVyV.js → usePrinter-Dng0UK-G.js} +2 -2
  106. package/dist/utils.js +3 -3
  107. package/dist/{vue-data-ui-DoViN_4r.js → vue-data-ui-DD-txoS1.js} +68 -68
  108. package/dist/vue-data-ui.js +72 -72
  109. package/dist/vue-ui-3d-bar-DxfNdF2e.js +1757 -0
  110. package/dist/{vue-ui-accordion-HvsT8_RM.js → vue-ui-accordion-Di_givzQ.js} +4 -4
  111. package/dist/vue-ui-age-pyramid-CTwMfsqS.js +1238 -0
  112. package/dist/{vue-ui-annotator-7s5ly6XJ.js → vue-ui-annotator-tRkLFMQ9.js} +60 -60
  113. package/dist/{vue-ui-bullet-B-bWGz6d.js → vue-ui-bullet-9gtGJaGb.js} +23 -23
  114. package/dist/{vue-ui-bump-DM-hF-AK.js → vue-ui-bump-BJ5O8Mps.js} +400 -400
  115. package/dist/{vue-ui-candlestick-BfOvntqR.js → vue-ui-candlestick-CJ_VVYbJ.js} +50 -50
  116. package/dist/vue-ui-carousel-table-8s8BSy-K.js +455 -0
  117. package/dist/vue-ui-chestnut-D3-ck2h2.js +2010 -0
  118. package/dist/vue-ui-chord-1BitQtEw.js +1391 -0
  119. package/dist/{vue-ui-circle-pack-BBaRLELd.js → vue-ui-circle-pack-DVMhDFKU.js} +44 -44
  120. package/dist/{vue-ui-cursor-DWlKtcab.js → vue-ui-cursor-D7yh10hX.js} +61 -61
  121. package/dist/{vue-ui-dag-BAKU4jBj.js → vue-ui-dag--LFEAAf_.js} +18 -18
  122. package/dist/{vue-ui-dashboard-DE4R55nU.js → vue-ui-dashboard-COeO878g.js} +70 -70
  123. package/dist/{vue-ui-digits-B416Mj46.js → vue-ui-digits-C50FVr7C.js} +4 -4
  124. package/dist/{vue-ui-donut-BuGSF4pM.js → vue-ui-donut-BzKXqQA2.js} +160 -160
  125. package/dist/{vue-ui-donut-BugVAUHv.js → vue-ui-donut-NHjQzFO5.js} +474 -474
  126. package/dist/vue-ui-donut-evolution-lPkwit2C.js +1510 -0
  127. package/dist/vue-ui-dumbbell-hlEfvbbf.js +1530 -0
  128. package/dist/{vue-ui-flow-BoEP6hmg.js → vue-ui-flow-Bg_OSszc.js} +43 -43
  129. package/dist/vue-ui-funnel-B_bK0jJB.js +777 -0
  130. package/dist/{vue-ui-galaxy-CB5F8Q-u.js → vue-ui-galaxy-WVCUzcYc.js} +301 -301
  131. package/dist/vue-ui-gauge-Cqeko0wA.js +920 -0
  132. package/dist/{vue-ui-geo-BAy4kNv-.js → vue-ui-geo-DtzXRvmx.js} +22 -22
  133. package/dist/{vue-ui-gizmo-DjA8cqcl.js → vue-ui-gizmo-hIFd7qck.js} +4 -4
  134. package/dist/{vue-ui-heatmap-CMlxUI7Q.js → vue-ui-heatmap-yPlwc3l_.js} +95 -95
  135. package/dist/vue-ui-history-plot-BGmcDg2w.js +1554 -0
  136. package/dist/{vue-ui-horizontal-bar-XgzEVwOK.js → vue-ui-horizontal-bar-CJciNHpT.js} +264 -264
  137. package/dist/{vue-ui-kpi-B5Lu5U1S.js → vue-ui-kpi-DmSe1QGb.js} +4 -4
  138. package/dist/{vue-ui-mini-loader-CyYpLcrt.js → vue-ui-mini-loader-CqxI6DwN.js} +3 -3
  139. package/dist/{vue-ui-molecule-DzpgAmZn.js → vue-ui-molecule-w-94Uktn.js} +181 -181
  140. package/dist/{vue-ui-mood-radar-DMgYQtOw.js → vue-ui-mood-radar-B3OGWGHR.js} +29 -29
  141. package/dist/{vue-ui-nested-donuts-BHX0QqvR.js → vue-ui-nested-donuts-Dv_yE5EV.js} +211 -211
  142. package/dist/{vue-ui-onion-CYh7tdS0.js → vue-ui-onion-BQbI0Vxd.js} +34 -34
  143. package/dist/{vue-ui-parallel-coordinate-plot-BTaG92hV.js → vue-ui-parallel-coordinate-plot-ColST3Jj.js} +40 -40
  144. package/dist/vue-ui-quadrant-BB7qdXK0.js +1978 -0
  145. package/dist/{vue-ui-quick-chart-CHSUGLTx.js → vue-ui-quick-chart-CGDeo3Fx.js} +358 -358
  146. package/dist/vue-ui-radar-DqDn14DL.js +1281 -0
  147. package/dist/{vue-ui-rating-BoBLJm55.js → vue-ui-rating-ChDwpol2.js} +34 -34
  148. package/dist/vue-ui-relation-circle-BvfZqcK0.js +924 -0
  149. package/dist/{vue-ui-ridgeline-q_UhtM4M.js → vue-ui-ridgeline-Cq8z57xB.js} +219 -219
  150. package/dist/{vue-ui-rings-VOjUZu2b.js → vue-ui-rings-Ds-sgNPK.js} +36 -36
  151. package/dist/{vue-ui-scatter-DETMofE2.js → vue-ui-scatter-BgOVUzQ3.js} +75 -75
  152. package/dist/{vue-ui-skeleton-D36VILNm.js → vue-ui-skeleton-DJ5KAbfV.js} +42 -42
  153. package/dist/{vue-ui-smiley-CPbUSUTQ.js → vue-ui-smiley-fFrNX-Gl.js} +17 -17
  154. package/dist/{vue-ui-spark-trend-XpEbgNeK.js → vue-ui-spark-trend-D6OBWxmg.js} +92 -92
  155. package/dist/{vue-ui-sparkbar-Dq1hnBhL.js → vue-ui-sparkbar-CtCP8O44.js} +78 -78
  156. package/dist/{vue-ui-sparkgauge-CbAakuhB.js → vue-ui-sparkgauge-CZDkyViI.js} +38 -38
  157. package/dist/vue-ui-sparkhistogram-DgruLf33.js +560 -0
  158. package/dist/vue-ui-sparkline-CJKE7Xcl.js +1547 -0
  159. package/dist/{vue-ui-sparkstackbar-OprYrGQQ.js → vue-ui-sparkstackbar-BSV0M-2u.js} +162 -162
  160. package/dist/{vue-ui-stackbar-Bt0FKlf7.js → vue-ui-stackbar-pnlYCnTj.js} +67 -67
  161. package/dist/vue-ui-stackline-DS_MPmc1.js +2398 -0
  162. package/dist/{vue-ui-strip-plot-DdzflSOm.js → vue-ui-strip-plot-DSKOrJZX.js} +49 -49
  163. package/dist/{vue-ui-table-BZbLau0d.js → vue-ui-table-c1FPEwLM.js} +87 -87
  164. package/dist/{vue-ui-table-heatmap-DX80uRHe.js → vue-ui-table-heatmap-CMQJXnP8.js} +17 -17
  165. package/dist/vue-ui-table-sparkline-CAS9Pk60.js +712 -0
  166. package/dist/vue-ui-thermometer-w3eeJv9s.js +763 -0
  167. package/dist/{vue-ui-timer-smc39MBP.js → vue-ui-timer-CSP48eS-.js} +6 -6
  168. package/dist/{vue-ui-tiremarks-MwPUc9H4.js → vue-ui-tiremarks-DJvXj1P3.js} +19 -19
  169. package/dist/vue-ui-treemap-BaOMXTR1.js +1587 -0
  170. package/dist/vue-ui-waffle-Bo22Ph8n.js +1362 -0
  171. package/dist/{vue-ui-wheel-VQ5Sc_Kt.js → vue-ui-wheel-CbL52G-w.js} +51 -51
  172. package/dist/vue-ui-word-cloud-BqOCyp7c.js +1723 -0
  173. package/dist/{vue-ui-world-Dq9I3omC.js → vue-ui-world-BkjzCcVh.js} +445 -445
  174. package/dist/{vue-ui-xy-BRITAMZZ.js → vue-ui-xy-CVDNhnDY.js} +162 -162
  175. package/dist/{vue-ui-xy-D4D9tjiY.js → vue-ui-xy-DuwLRfr4.js} +537 -534
  176. package/dist/{vue-ui-xy-canvas-CYQF5hVa.js → vue-ui-xy-canvas-CXqGVMeQ.js} +65 -65
  177. package/package.json +2 -2
  178. package/dist/exposedLib-BJbE_A8E.js +0 -19
  179. package/dist/vue-ui-3d-bar-BUEcrSrc.js +0 -1757
  180. package/dist/vue-ui-age-pyramid-Zw5otO78.js +0 -1238
  181. package/dist/vue-ui-carousel-table-CrmVyfym.js +0 -455
  182. package/dist/vue-ui-chestnut-BQq65pNh.js +0 -2010
  183. package/dist/vue-ui-chord-BA2jFRMP.js +0 -1391
  184. package/dist/vue-ui-donut-evolution-C6fXP7QH.js +0 -1510
  185. package/dist/vue-ui-dumbbell-1K5kOirf.js +0 -1530
  186. package/dist/vue-ui-funnel-CheSqvyj.js +0 -777
  187. package/dist/vue-ui-gauge-Cjtovl1s.js +0 -920
  188. package/dist/vue-ui-history-plot-PkrNUPpp.js +0 -1554
  189. package/dist/vue-ui-quadrant-C00cEk5o.js +0 -1978
  190. package/dist/vue-ui-radar-jNxRTIur.js +0 -1281
  191. package/dist/vue-ui-relation-circle-Ne_rI2jS.js +0 -924
  192. package/dist/vue-ui-sparkhistogram-DpPjIA7n.js +0 -560
  193. package/dist/vue-ui-sparkline-DLay6Hog.js +0 -1513
  194. package/dist/vue-ui-stackline-CrUTz-k1.js +0 -2398
  195. package/dist/vue-ui-table-sparkline-C3_J575b.js +0 -707
  196. package/dist/vue-ui-thermometer-Bo32hwAO.js +0 -763
  197. package/dist/vue-ui-treemap-BNG7Zc04.js +0 -1587
  198. package/dist/vue-ui-waffle-D-9Ny9vN.js +0 -1362
  199. package/dist/vue-ui-word-cloud-BqsUdsCY.js +0 -1656
@@ -1,49 +1,49 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Bt as t, Ft as n, G as r, H as i, Ht as a, Ot as o, Pt as s, Tt as c, X as ee, ct as te, ht as ne, i as l, t as re, x as ie, y as u } from "./lib-AJRHFE5U.js";
3
- import { t as ae } from "./useConfig-Br1uzq_L.js";
2
+ import { Et as t, Ft as n, G as r, H as i, It as a, Ut as o, Vt as s, X as c, ct as ee, gt as te, i as ne, kt as l, t as re, x as ie, y as u } from "./lib-CXicicWN.js";
3
+ import { t as ae } from "./useConfig-Bf_EBbe3.js";
4
4
  import { n as oe, t as se } from "./BaseScanner-DZvpgOjM.js";
5
- import { t as d } from "./useNestedProp-DtcXIg7n.js";
5
+ import { t as d } from "./useNestedProp-APyFoLCQ.js";
6
6
  import { t as ce } from "./useThemeCheck-C43Tcqmk.js";
7
7
  import { t as le } from "./_plugin-vue_export-helper-B3ysoDQm.js";
8
- import { t as ue } from "./BaseLegendToggle-CUYal8mC.js";
8
+ import { t as ue } from "./BaseLegendToggle-B-lM0iV1.js";
9
9
  import { t as de } from "./A11yDataTable-DdRsVULz.js";
10
10
  import { t as fe } from "./useChartAccessibility-DYqac8yF.js";
11
11
  import { t as pe } from "./vue_ui_sparkstackbar-BOjuQnZd.js";
12
- import { Fragment as f, computed as p, createBlock as me, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as he, defineAsyncComponent as ge, guardReactiveProps as _, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onMounted as _e, openBlock as x, ref as S, renderList as C, renderSlot as w, toDisplayString as T, toRefs as ve, unref as E, useSlots as ye, watch as be, withCtx as D } from "vue";
12
+ import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createVNode as me, defineAsyncComponent as he, guardReactiveProps as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onMounted as ge, openBlock as S, ref as C, renderList as w, renderSlot as T, toDisplayString as E, toRefs as _e, unref as D, useSlots as ve, watch as ye, withCtx as O } from "vue";
13
13
  //#region src/components/vue-ui-sparkstackbar.vue
14
- var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { position: "relative" } }, we = [
14
+ var be = /* @__PURE__ */ e({ default: () => k }), xe = ["id"], Se = { style: { position: "relative" } }, Ce = [
15
15
  "xmlns",
16
16
  "viewBox",
17
17
  "aria-describedby"
18
- ], Te = ["id"], Ee = ["stop-color"], De = ["stop-color"], Oe = ["stop-color"], ke = {
18
+ ], we = ["id"], Te = ["stop-color"], Ee = ["stop-color"], De = ["stop-color"], Oe = {
19
19
  id: "stackPill",
20
20
  clipPathUnits: "objectBoundingBox"
21
- }, Ae = ["fill"], je = {
21
+ }, ke = ["fill"], Ae = {
22
22
  key: 0,
23
23
  "clip-path": "url(#stackPill)"
24
- }, Me = [
24
+ }, je = [
25
25
  "x",
26
26
  "width",
27
27
  "height",
28
28
  "fill"
29
- ], Ne = [
29
+ ], Me = [
30
30
  "x",
31
31
  "width",
32
32
  "height",
33
33
  "fill",
34
34
  "stroke"
35
- ], Pe = [
35
+ ], Ne = [
36
36
  "x",
37
37
  "width",
38
38
  "height",
39
39
  "onClick",
40
40
  "onMouseenter",
41
41
  "onMouseleave"
42
- ], Fe = [
42
+ ], Pe = [
43
43
  "width",
44
44
  "height",
45
45
  "rx"
46
- ], Ie = {
46
+ ], Fe = {
47
47
  key: 0,
48
48
  style: {
49
49
  position: "absolute",
@@ -53,23 +53,23 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
53
53
  },
54
54
  "data-dom-to-png-ignore": "",
55
55
  "aria-hidden": "true"
56
- }, Le = [
56
+ }, Ie = [
57
57
  "aria-pressed",
58
58
  "aria-label",
59
59
  "onClick",
60
60
  "onFocus",
61
61
  "onKeydown"
62
- ], Re = { style: {
62
+ ], Le = { style: {
63
63
  display: "flex",
64
64
  "flex-direction": "row",
65
65
  "align-items": "center",
66
66
  gap: "4px",
67
67
  "justify-content": "center"
68
- } }, ze = ["height", "width"], Be = ["id"], Ve = ["stop-color"], He = ["stop-color"], Ue = ["fill"], We = {
68
+ } }, Re = ["height", "width"], ze = ["id"], Be = ["stop-color"], Ve = ["stop-color"], He = ["fill"], Ue = {
69
69
  key: 3,
70
70
  ref: "source",
71
71
  dir: "auto"
72
- }, O = /*#__PURE__*/ le({
72
+ }, k = /*#__PURE__*/ le({
73
73
  __name: "vue-ui-sparkstackbar",
74
74
  props: {
75
75
  config: {
@@ -86,15 +86,15 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
86
86
  }
87
87
  },
88
88
  emits: ["selectDatapoint", "selectLegend"],
89
- setup(e, { expose: le, emit: xe }) {
90
- let O = ge(() => import("./PackageVersion-DxBQctV8.js").then((e) => e.t)), Ge = ge(() => import("./Tooltip-979Ytd8R.js")), { vue_ui_sparkstackbar: Ke } = ae(), { isThemeValid: qe, warnInvalidTheme: Je } = ce(), k = e, Ye = ye();
91
- _e(() => {
92
- Ye["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
89
+ setup(e, { expose: le, emit: be }) {
90
+ let k = he(() => import("./PackageVersion-Dx81ZIAL.js").then((e) => e.t)), We = he(() => import("./Tooltip-BmGCBJuU.js")), { vue_ui_sparkstackbar: Ge } = ae(), { isThemeValid: Ke, warnInvalidTheme: qe } = ce(), A = e, Je = ve();
91
+ ge(() => {
92
+ Je["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
93
93
  });
94
- let Xe = S(null), A = S(i()), j = S(!1), Ze = S(""), M = S(null), N = S(!1), P = S(null), Qe = S({
94
+ let Ye = C(null), j = C(i()), M = C(!1), Xe = C(""), N = C(null), P = C(!1), F = C(null), Ze = C({
95
95
  x: 0,
96
96
  y: 0
97
- }), F = S("pointer"), I = S(!1), L = S(null), $e = S([]), R = S(H()), et = p(() => R.value.useCursorPointer), tt = p(() => a({
97
+ }), I = C("pointer"), Qe = C(!1), L = C(null), $e = C([]), R = C(H()), et = p(() => R.value.useCursorPointer), tt = p(() => o({
98
98
  defaultConfig: { style: {
99
99
  backgroundColor: "#99999930",
100
100
  animation: { show: !1 },
@@ -103,10 +103,10 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
103
103
  } },
104
104
  userConfig: R.value.skeletonConfig ?? {}
105
105
  })), { loading: z, FINAL_DATASET: B } = oe({
106
- ...ve(k),
106
+ ..._e(A),
107
107
  FINAL_CONFIG: R,
108
108
  prepareConfig: H,
109
- skeletonDataset: k.config?.skeletonDataset ?? [
109
+ skeletonDataset: A.config?.skeletonDataset ?? [
110
110
  {
111
111
  name: "_",
112
112
  value: 8,
@@ -123,43 +123,43 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
123
123
  color: "#DBDBDB"
124
124
  }
125
125
  ],
126
- skeletonConfig: a({
126
+ skeletonConfig: o({
127
127
  defaultConfig: R.value,
128
128
  userConfig: tt.value
129
129
  })
130
130
  }), { svgRef: V } = fe({ config: R.value.style.title });
131
131
  function H() {
132
132
  let e = d({
133
- userConfig: k.config,
134
- defaultConfig: Ke
135
- }), n = e.theme;
136
- if (!n) return e;
137
- if (!qe.value(e)) return Je(e), e;
138
- let r = d({
139
- userConfig: pe[n] || k.config,
133
+ userConfig: A.config,
134
+ defaultConfig: Ge
135
+ }), t = e.theme;
136
+ if (!t) return e;
137
+ if (!Ke.value(e)) return qe(e), e;
138
+ let n = d({
139
+ userConfig: pe[t] || A.config,
140
140
  defaultConfig: e
141
- }), i = d({
142
- userConfig: k.config,
143
- defaultConfig: r
141
+ }), r = d({
142
+ userConfig: A.config,
143
+ defaultConfig: n
144
144
  });
145
145
  return {
146
- ...i,
147
- customPalette: i.customPalette.length ? i.customPalette : t[n] || o
146
+ ...r,
147
+ customPalette: r.customPalette.length ? r.customPalette : s[t] || l
148
148
  };
149
149
  }
150
- be(() => k.config, (e) => {
150
+ ye(() => A.config, (e) => {
151
151
  R.value = H(), it();
152
- }, { deep: !0 }), be(() => B.value, (e) => {
152
+ }, { deep: !0 }), ye(() => B.value, (e) => {
153
153
  W.value = B.value.map((e, t) => ({
154
154
  ...e,
155
- color: e.color ? u(e.color) : U.value[t] || o[t] || o[t % o.length]
155
+ color: e.color ? u(e.color) : U.value[t] || l[t] || l[t % l.length]
156
156
  })), nt();
157
157
  }, { deep: !0 });
158
- let U = p(() => ie(R.value.customPalette)), W = S(B.value.map((e, t) => ({
158
+ let U = p(() => ie(R.value.customPalette)), W = C(B.value.map((e, t) => ({
159
159
  ...e,
160
160
  value: R.value.style.animation.show ? 0 : e.value || 0,
161
- color: e.color ? u(e.color) : U.value[t] || o[t] || o[t % o.length]
162
- }))), G = S(!0);
161
+ color: e.color ? u(e.color) : U.value[t] || l[t] || l[t % l.length]
162
+ }))), G = C(!0);
163
163
  function nt() {
164
164
  if (!R.value.style.animation.show) {
165
165
  G.value = !1;
@@ -169,37 +169,37 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
169
169
  G.value = !0, W.value = B.value.map((e, t) => ({
170
170
  ...e,
171
171
  value: 0,
172
- color: e.color ? u(e.color) : U.value[t] || o[t] || o[t % o.length]
172
+ color: e.color ? u(e.color) : U.value[t] || l[t] || l[t % l.length]
173
173
  }));
174
- function s() {
174
+ function o() {
175
175
  a += r / e, a < r ? (W.value = W.value.map((e, r) => ({
176
176
  ...e,
177
177
  value: Math.min(e.value + n[r], t[r]),
178
- color: e.color ? u(e.color) : U.value[r] || o[r] || o[r % o.length]
179
- })), requestAnimationFrame(s)) : (G.value = !1, W.value = B.value.map((e, n) => ({
178
+ color: e.color ? u(e.color) : U.value[r] || l[r] || l[r % l.length]
179
+ })), requestAnimationFrame(o)) : (G.value = !1, W.value = B.value.map((e, n) => ({
180
180
  ...e,
181
181
  value: t[n],
182
- color: e.color ? u(e.color) : U.value[n] || o[n] || o[n % o.length],
182
+ color: e.color ? u(e.color) : U.value[n] || l[n] || l[n % l.length],
183
183
  id: i()
184
184
  })));
185
185
  }
186
- s();
186
+ o();
187
187
  }
188
- _e(() => {
188
+ ge(() => {
189
189
  it();
190
190
  });
191
191
  let rt = p(() => R.value.debug);
192
192
  function it() {
193
- c(k.dataset) ? ee({
193
+ t(A.dataset) ? c({
194
194
  componentName: "VueUiSparkStackbar",
195
195
  type: "dataset",
196
196
  debug: rt.value
197
- }) : k.dataset.forEach((e, t) => {
198
- te({
197
+ }) : A.dataset.forEach((e, t) => {
198
+ ee({
199
199
  datasetObject: e,
200
200
  requiredAttributes: ["name", "value"]
201
201
  }).forEach((e) => {
202
- ee({
202
+ c({
203
203
  componentName: "VueUiSparkStackbar",
204
204
  type: "datasetSerieAttribute",
205
205
  property: e,
@@ -209,17 +209,17 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
209
209
  });
210
210
  }), nt();
211
211
  }
212
- let K = S({
212
+ let K = C({
213
213
  width: 500,
214
214
  height: 16
215
- }), q = S([]), at = p(() => B.value.map((e) => e.value || 0).filter((e, t) => !q.value.includes(t)).reduce((e, t) => e + t, 0)), J = p(() => W.value.map((e, t) => {
216
- let n = e.value || 0, i = n / at.value, a = isNaN(i) ? 0 : i, s = a * K.value.width;
215
+ }), q = C([]), at = p(() => B.value.map((e) => e.value || 0).filter((e, t) => !q.value.includes(t)).reduce((e, t) => e + t, 0)), J = p(() => W.value.map((e, t) => {
216
+ let n = e.value || 0, i = n / at.value, a = isNaN(i) ? 0 : i, o = a * K.value.width;
217
217
  return {
218
218
  ...e,
219
- color: u(B.value[t]?.color ? B.value[t]?.color : U.value[t] || o[t] || o[t % o.length]),
219
+ color: u(B.value[t]?.color ? B.value[t]?.color : U.value[t] || l[t] || l[t % l.length]),
220
220
  value: n,
221
221
  proportion: a,
222
- width: s,
222
+ width: o,
223
223
  seriesIndex: t,
224
224
  proportionLabel: r({
225
225
  v: a * 100,
@@ -254,7 +254,7 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
254
254
  start: e
255
255
  }), e += Y.value[n].width;
256
256
  return t;
257
- }), ut = xe;
257
+ }), ut = be;
258
258
  function Q(e, t, n = !1) {
259
259
  ut("selectDatapoint", {
260
260
  datapoint: e,
@@ -265,37 +265,37 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
265
265
  });
266
266
  }
267
267
  function dt({ datapoint: e, seriesIndex: t }) {
268
- j.value = !1, L.value = null, P.value = null, F.value = "pointer", R.value.events.datapointLeave && R.value.events.datapointLeave({
268
+ M.value = !1, L.value = null, F.value = null, I.value = "pointer", R.value.events.datapointLeave && R.value.events.datapointLeave({
269
269
  datapoint: e,
270
270
  seriesIndex: e.seriesIndex
271
271
  });
272
272
  }
273
273
  function ft({ datapoint: e, seriesIndex: t, triggerMode: n = "pointer" }) {
274
- if (N.value = !1, R.value.events.datapointEnter && R.value.events.datapointEnter({
274
+ if (P.value = !1, R.value.events.datapointEnter && R.value.events.datapointEnter({
275
275
  datapoint: e,
276
276
  seriesIndex: e.seriesIndex
277
277
  }), !R.value.style.tooltip.show) return;
278
- F.value = n, M.value = {
278
+ I.value = n, N.value = {
279
279
  datapoint: e,
280
280
  seriesIndex: t,
281
281
  config: R.value,
282
282
  series: J.value
283
- }, j.value = !0, L.value = t;
283
+ }, M.value = !0, L.value = t;
284
284
  let i = R.value.style.tooltip.customFormat;
285
- if (ne(i)) try {
285
+ if (te(i)) try {
286
286
  let t = i({
287
287
  seriesIndex: e.seriesIndex,
288
288
  datapoint: e,
289
289
  series: J.value,
290
290
  config: R.value
291
291
  });
292
- typeof t == "string" && (Ze.value = t, N.value = !0);
292
+ typeof t == "string" && (Xe.value = t, P.value = !0);
293
293
  } catch {
294
- console.warn("Custom format cannot be applied."), N.value = !1;
294
+ console.warn("Custom format cannot be applied."), P.value = !1;
295
295
  }
296
- if (!N.value) {
296
+ if (!P.value) {
297
297
  let n = "";
298
- n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${R.value.style.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, n += `<b>${e.proportionLabel}</b>`, n += `<span>(${l(R.value.style.legend.value.formatter, e.value, r({
298
+ n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${R.value.style.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, n += `<b>${e.proportionLabel}</b>`, n += `<span>(${ne(R.value.style.legend.value.formatter, e.value, r({
299
299
  p: R.value.style.legend.value.prefix,
300
300
  v: e.value,
301
301
  s: R.value.style.legend.value.suffix,
@@ -303,7 +303,7 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
303
303
  }), {
304
304
  datapoint: e,
305
305
  seriesIndex: t
306
- })})</span>`, Ze.value = `<div>${n}</div>`;
306
+ })})</span>`, Xe.value = `<div>${n}</div>`;
307
307
  }
308
308
  }
309
309
  function $(e) {
@@ -315,46 +315,46 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
315
315
  let t = Z.value[e];
316
316
  if (!t) return;
317
317
  let n = V.value.getBoundingClientRect(), r = t.start + t.width / 2, i = K.value.height / 2;
318
- Qe.value = {
318
+ Ze.value = {
319
319
  x: n.left + r / K.value.width * n.width,
320
320
  y: n.top + i / K.value.height * n.height
321
321
  };
322
322
  }
323
323
  function mt() {
324
- P.value = null, I.value = !0;
324
+ F.value = null, Qe.value = !0;
325
325
  }
326
326
  function ht() {
327
- P.value = null, F.value = "pointer", j.value = !1, L.value = null, I.value = !1;
327
+ F.value = null, I.value = "pointer", M.value = !1, L.value = null, Qe.value = !1;
328
328
  }
329
329
  function gt(e) {
330
330
  if (!V.value || document.activeElement !== V.value || !Z.value.length) return;
331
331
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape", a = e.key === "Home", o = e.key === "End";
332
332
  if (!t && !n && !r && !i && !a && !o) return;
333
333
  if (e.preventDefault(), e.stopPropagation(), i) {
334
- P.value = null, F.value = "pointer", j.value = !1, L.value = null;
334
+ F.value = null, I.value = "pointer", M.value = !1, L.value = null;
335
335
  return;
336
336
  }
337
337
  if (r) {
338
- if (P.value === null) return;
339
- let e = Z.value[P.value];
338
+ if (F.value === null) return;
339
+ let e = Z.value[F.value];
340
340
  if (!e) return;
341
341
  Q(e, e.seriesIndex);
342
342
  return;
343
343
  }
344
- let s = P.value;
344
+ let s = F.value;
345
345
  a ? s = 0 : o ? s = Z.value.length - 1 : s === null || s < 0 || s >= Z.value.length ? s = n ? 0 : Z.value.length - 1 : n ? (s += 1, s >= Z.value.length && (s = 0)) : t && (--s, s < 0 && (s = Z.value.length - 1));
346
346
  let c = Z.value[s];
347
- c && (P.value = s, pt(s), ft({
347
+ c && (F.value = s, pt(s), ft({
348
348
  datapoint: c,
349
349
  seriesIndex: c.seriesIndex,
350
350
  triggerMode: "keyboard"
351
351
  }));
352
352
  }
353
353
  function _t(e) {
354
- j.value = !1, P.value = null, F.value = "pointer", L.value = e.seriesIndex;
354
+ M.value = !1, F.value = null, I.value = "pointer", L.value = e.seriesIndex;
355
355
  }
356
356
  function vt() {
357
- P.value = null, F.value = "pointer", j.value = !1, L.value = null;
357
+ F.value = null, I.value = "pointer", M.value = !1, L.value = null;
358
358
  }
359
359
  function yt(e, t, n) {
360
360
  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";
@@ -391,7 +391,7 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
391
391
  rows: J.value.map((e, t) => [
392
392
  e.name,
393
393
  q.value.includes(t) ? " - " : e.proportionLabel,
394
- l(R.value.style.legend.value.formatter, e.value, r({
394
+ ne(R.value.style.legend.value.formatter, e.value, r({
395
395
  p: R.value.style.legend.value.prefix,
396
396
  v: e.value,
397
397
  s: R.value.style.legend.value.suffix,
@@ -405,19 +405,19 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
405
405
  return le({
406
406
  hideSeries: lt,
407
407
  showSeries: ct
408
- }), (e, t) => (x(), h("div", {
408
+ }), (e, t) => (S(), g("div", {
409
409
  class: "vue-data-ui-component vue-ui-spark-stackbar",
410
410
  ref_key: "sparkstackbarChart",
411
- ref: Xe,
412
- style: b(`width:100%; background:${R.value.style.backgroundColor}`)
411
+ ref: Ye,
412
+ style: x(`width:100%; background:${R.value.style.backgroundColor}`)
413
413
  }, [
414
- g("div", {
415
- id: `chart-instructions-${A.value}`,
414
+ _("div", {
415
+ id: `chart-instructions-${j.value}`,
416
416
  class: "sr-only"
417
- }, [g("p", null, T(R.value.a11y.translations.keyboardNavigation), 1)], 8, Se),
418
- bt.value?.rows?.length ? (x(), me(de, {
417
+ }, [_("p", null, E(R.value.a11y.translations.keyboardNavigation), 1)], 8, xe),
418
+ bt.value?.rows?.length ? (S(), m(de, {
419
419
  key: 0,
420
- uid: A.value,
420
+ uid: j.value,
421
421
  head: bt.value.headers,
422
422
  body: bt.value.rows,
423
423
  notice: R.value.a11y.translations.tableAvailable,
@@ -428,49 +428,49 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
428
428
  "body",
429
429
  "notice",
430
430
  "caption"
431
- ])) : m("", !0),
432
- R.value.style.title.text ? (x(), h("div", {
431
+ ])) : h("", !0),
432
+ R.value.style.title.text ? (S(), g("div", {
433
433
  key: 1,
434
- style: b(`width:calc(100% - 12px);background:transparent;margin:0 auto;margin:${R.value.style.title.margin};padding: 0 6px;text-align:${R.value.style.title.textAlign}`)
435
- }, [g("div", {
434
+ style: x(`width:calc(100% - 12px);background:transparent;margin:0 auto;margin:${R.value.style.title.margin};padding: 0 6px;text-align:${R.value.style.title.textAlign}`)
435
+ }, [_("div", {
436
436
  class: "atom-title",
437
- style: b(`font-size:${R.value.style.title.fontSize}px;color:${R.value.style.title.color};font-weight:${R.value.style.title.bold ? "bold" : "normal"}`)
438
- }, T(R.value.style.title.text), 5), R.value.style.title.subtitle.text ? (x(), h("div", {
437
+ style: x(`font-size:${R.value.style.title.fontSize}px;color:${R.value.style.title.color};font-weight:${R.value.style.title.bold ? "bold" : "normal"}`)
438
+ }, E(R.value.style.title.text), 5), R.value.style.title.subtitle.text ? (S(), g("div", {
439
439
  key: 0,
440
440
  class: "atom-subtitle",
441
- style: b(`font-size:${R.value.style.title.subtitle.fontSize}px;color:${R.value.style.title.subtitle.color};font-weight:${R.value.style.title.subtitle.bold ? "bold" : "normal"}`)
442
- }, T(R.value.style.title.subtitle.text), 5)) : m("", !0)], 4)) : m("", !0),
443
- g("div", Ce, [(x(), h("svg", {
441
+ style: x(`font-size:${R.value.style.title.subtitle.fontSize}px;color:${R.value.style.title.subtitle.color};font-weight:${R.value.style.title.subtitle.bold ? "bold" : "normal"}`)
442
+ }, E(R.value.style.title.subtitle.text), 5)) : h("", !0)], 4)) : h("", !0),
443
+ _("div", Se, [(S(), g("svg", {
444
444
  ref_key: "svgRef",
445
445
  ref: V,
446
- xmlns: E(re),
446
+ xmlns: D(re),
447
447
  width: "100%",
448
448
  viewBox: `0 0 ${K.value.width} ${K.value.height}`,
449
- "aria-describedby": `chart-instructions-${A.value}`,
449
+ "aria-describedby": `chart-instructions-${j.value}`,
450
450
  tabindex: "0",
451
451
  onFocus: mt,
452
452
  onBlur: ht,
453
453
  onKeydown: gt
454
454
  }, [
455
- he(E(O)),
456
- g("defs", null, [(x(!0), h(f, null, C(Z.value, (e, t) => (x(), h("linearGradient", {
455
+ me(D(k)),
456
+ _("defs", null, [(S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("linearGradient", {
457
457
  key: `stack_gradient_${t}`,
458
458
  gradientTransform: "rotate(90)",
459
- id: `stack_gradient_${t}_${A.value}`
459
+ id: `stack_gradient_${t}_${j.value}`
460
460
  }, [
461
- g("stop", {
461
+ _("stop", {
462
462
  offset: "0%",
463
463
  "stop-color": e.color
464
- }, null, 8, Ee),
465
- g("stop", {
464
+ }, null, 8, Te),
465
+ _("stop", {
466
466
  offset: "50%",
467
- "stop-color": E(s)(E(n)(e.color, .05), 100 - R.value.style.bar.gradient.intensity)
468
- }, null, 8, De),
469
- g("stop", {
467
+ "stop-color": D(n)(D(a)(e.color, .05), 100 - R.value.style.bar.gradient.intensity)
468
+ }, null, 8, Ee),
469
+ _("stop", {
470
470
  offset: "100%",
471
471
  "stop-color": e.color
472
- }, null, 8, Oe)
473
- ], 8, Te))), 128)), g("clipPath", ke, [g("rect", {
472
+ }, null, 8, De)
473
+ ], 8, we))), 128)), _("clipPath", Oe, [_("rect", {
474
474
  x: "0.005",
475
475
  y: "-2",
476
476
  width: "0.99",
@@ -478,31 +478,31 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
478
478
  rx: "3",
479
479
  ry: "3",
480
480
  fill: R.value.style.backgroundColor
481
- }, null, 8, Ae)])]),
482
- at.value > 0 ? (x(), h("g", je, [
483
- (x(!0), h(f, null, C(Z.value, (e, t) => (x(), h("rect", {
481
+ }, null, 8, ke)])]),
482
+ at.value > 0 ? (S(), g("g", Ae, [
483
+ (S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("rect", {
484
484
  key: `stack_underlayer_${t}`,
485
485
  x: e.start,
486
486
  y: 0,
487
487
  width: e.width,
488
488
  height: K.value.height,
489
489
  fill: R.value.style.bar.gradient.underlayerColor,
490
- class: v({ animated: !G.value && !E(z) }),
491
- style: b({ opacity: L.value !== null && R.value.style.tooltip.show ? L.value === t ? 1 : .5 : 1 })
492
- }, null, 14, Me))), 128)),
493
- (x(!0), h(f, null, C(Z.value, (e, t) => (x(), h("rect", {
490
+ class: y({ animated: !G.value && !D(z) }),
491
+ style: x({ opacity: L.value !== null && R.value.style.tooltip.show ? L.value === t ? 1 : .5 : 1 })
492
+ }, null, 14, je))), 128)),
493
+ (S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("rect", {
494
494
  key: `stack_${t}`,
495
495
  x: e.start,
496
496
  y: 0,
497
497
  width: e.width,
498
498
  height: K.value.height,
499
- fill: R.value.style.bar.gradient.show ? `url(#stack_gradient_${t}_${A.value})` : e.color,
499
+ fill: R.value.style.bar.gradient.show ? `url(#stack_gradient_${t}_${j.value})` : e.color,
500
500
  stroke: R.value.style.backgroundColor,
501
501
  "stroke-linecap": "round",
502
- class: v({ animated: !G.value && !E(z) }),
503
- style: b({ opacity: L.value !== null && R.value.style.tooltip.show ? L.value === t ? 1 : .5 : 1 })
504
- }, null, 14, Ne))), 128)),
505
- (x(!0), h(f, null, C(Z.value, (e, t) => (x(), h("rect", {
502
+ class: y({ animated: !G.value && !D(z) }),
503
+ style: x({ opacity: L.value !== null && R.value.style.tooltip.show ? L.value === t ? 1 : .5 : 1 })
504
+ }, null, 14, Me))), 128)),
505
+ (S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("rect", {
506
506
  key: `stack_trap_${t}`,
507
507
  x: e.start,
508
508
  y: 0,
@@ -510,7 +510,7 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
510
510
  height: K.value.height,
511
511
  fill: "transparent",
512
512
  stroke: "none",
513
- class: v({ animated: !G.value && !E(z) }),
513
+ class: y({ animated: !G.value && !D(z) }),
514
514
  onClick: () => Q(e, t),
515
515
  onMouseenter: () => ft({
516
516
  datapoint: e,
@@ -520,8 +520,8 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
520
520
  datapoint: e,
521
521
  seriesIndex: t
522
522
  })
523
- }, null, 42, Pe))), 128))
524
- ])) : (x(), h("rect", {
523
+ }, null, 42, Ne))), 128))
524
+ ])) : (S(), g("rect", {
525
525
  key: 1,
526
526
  x: 2,
527
527
  y: 1,
@@ -531,18 +531,18 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
531
531
  "stroke-width": "2",
532
532
  fill: "transparent",
533
533
  rx: (K.value.height - 4) / 2
534
- }, null, 8, Fe))
535
- ], 40, we)), e.$slots.hint ? (x(), h("div", Ie, [w(e.$slots, "hint", y(_({
534
+ }, null, 8, Pe))
535
+ ], 40, Ce)), e.$slots.hint ? (S(), g("div", Fe, [T(e.$slots, "hint", b(v({
536
536
  hint: R.value.a11y.translations.keyboardNavigation,
537
- isVisible: I.value
538
- })), void 0, !0)])) : m("", !0)]),
539
- R.value.style.legend.show ? (x(), h("div", {
537
+ isVisible: Qe.value
538
+ })), void 0, !0)])) : h("", !0)]),
539
+ R.value.style.legend.show ? (S(), g("div", {
540
540
  key: 2,
541
- style: b(`background:transparent;margin:0 auto;margin:${R.value.style.legend.margin};justify-content:${R.value.style.legend.textAlign === "left" ? "flex-start" : R.value.style.legend.textAlign === "right" ? "flex-end" : "center"}`),
541
+ style: x(`background:transparent;margin:0 auto;margin:${R.value.style.legend.margin};justify-content:${R.value.style.legend.textAlign === "left" ? "flex-start" : R.value.style.legend.textAlign === "right" ? "flex-end" : "center"}`),
542
542
  class: "vue-ui-sparkstackbar-legend",
543
543
  "aria-label": "legend",
544
544
  role: "toolbar"
545
- }, [R.value.style.legend.selectAllToggle.show && J.value.length > 2 && !E(z) ? (x(), me(ue, {
545
+ }, [R.value.style.legend.selectAllToggle.show && J.value.length > 2 && !D(z) ? (S(), m(ue, {
546
546
  key: 0,
547
547
  backgroundColor: R.value.style.legend.selectAllToggle.backgroundColor,
548
548
  color: R.value.style.legend.selectAllToggle.color,
@@ -556,13 +556,13 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
556
556
  "fontSize",
557
557
  "checked",
558
558
  "isCursorPointer"
559
- ])) : m("", !0), (x(!0), h(f, null, C(J.value, (e, t) => (x(), h("div", {
559
+ ])) : h("", !0), (S(!0), g(f, null, w(J.value, (e, t) => (S(), g("div", {
560
560
  role: "button",
561
561
  tabindex: "0",
562
562
  "aria-pressed": q.value.includes(t),
563
563
  "aria-label": `${e.name}, ${q.value.includes(t) ? "hidden" : "visible"}, ${e.proportionLabel}`,
564
- style: b(`font-size:${R.value.style.legend.fontSize}px;cursor:${et.value ? "pointer" : "default"}`),
565
- class: v({
564
+ style: x(`font-size:${R.value.style.legend.fontSize}px;cursor:${et.value ? "pointer" : "default"}`),
565
+ class: y({
566
566
  "vue-ui-sparkstackbar-legend-item": !0,
567
567
  "vue-ui-sparkstackbar-legend-item-unselected": q.value.includes(t)
568
568
  }),
@@ -572,28 +572,28 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
572
572
  onFocus: (t) => _t(e),
573
573
  onBlur: vt,
574
574
  onKeydown: (n) => yt(n, e, t)
575
- }, [g("div", Re, [(x(), h("svg", {
575
+ }, [_("div", Le, [(S(), g("svg", {
576
576
  height: `${R.value.style.legend.fontSize}px`,
577
577
  width: `${R.value.style.legend.fontSize}px`,
578
578
  viewBox: "0 0 10 10"
579
- }, [g("defs", null, [g("radialGradient", { id: `legend_grad_${t}-${A.value}` }, [g("stop", {
579
+ }, [_("defs", null, [_("radialGradient", { id: `legend_grad_${t}-${j.value}` }, [_("stop", {
580
580
  offset: "0%",
581
- "stop-color": E(z) ? "#FFFFFF" : E(s)(E(n)(e.color, .05), 100 - R.value.style.bar.gradient.intensity)
582
- }, null, 8, Ve), g("stop", {
581
+ "stop-color": D(z) ? "#FFFFFF" : D(n)(D(a)(e.color, .05), 100 - R.value.style.bar.gradient.intensity)
582
+ }, null, 8, Be), _("stop", {
583
583
  offset: "100%",
584
584
  "stop-color": e.color
585
- }, null, 8, He)], 8, Be)]), g("circle", {
585
+ }, null, 8, Ve)], 8, ze)]), _("circle", {
586
586
  cx: 5,
587
587
  cy: 5,
588
588
  r: 5,
589
- fill: R.value.style.bar.gradient.show ? `url(#legend_grad_${t}-${A.value})` : e.color
590
- }, null, 8, Ue)], 8, ze)), E(z) ? m("", !0) : (x(), h(f, { key: 0 }, [g("span", { style: b(`color:${R.value.style.legend.name.color}; font-weight:${R.value.style.legend.name.bold ? "bold" : "normal"}`) }, T(e.name), 5), G.value ? m("", !0) : (x(), h(f, { key: 0 }, [R.value.style.legend.percentage.show ? (x(), h("span", {
589
+ fill: R.value.style.bar.gradient.show ? `url(#legend_grad_${t}-${j.value})` : e.color
590
+ }, null, 8, He)], 8, Re)), D(z) ? h("", !0) : (S(), g(f, { key: 0 }, [_("span", { style: x(`color:${R.value.style.legend.name.color}; font-weight:${R.value.style.legend.name.bold ? "bold" : "normal"}`) }, E(e.name), 5), G.value ? h("", !0) : (S(), g(f, { key: 0 }, [R.value.style.legend.percentage.show ? (S(), g("span", {
591
591
  key: 0,
592
- style: b(`font-weight:${R.value.style.legend.percentage.bold ? "bold" : "normal"};color:${R.value.style.legend.percentage.color}`)
593
- }, T(q.value.includes(t) ? " - " : e.proportionLabel), 5)) : m("", !0), R.value.style.legend.value.show ? (x(), h("span", {
592
+ style: x(`font-weight:${R.value.style.legend.percentage.bold ? "bold" : "normal"};color:${R.value.style.legend.percentage.color}`)
593
+ }, E(q.value.includes(t) ? " - " : e.proportionLabel), 5)) : h("", !0), R.value.style.legend.value.show ? (S(), g("span", {
594
594
  key: 1,
595
- style: b(`font-weight:${R.value.style.legend.value.bold ? "bold" : "normal"};color:${R.value.style.legend.value.color}`)
596
- }, " (" + T(E(l)(R.value.style.legend.value.formatter, e.value, E(r)({
595
+ style: x(`font-weight:${R.value.style.legend.value.bold ? "bold" : "normal"};color:${R.value.style.legend.value.color}`)
596
+ }, " (" + E(D(ne)(R.value.style.legend.value.formatter, e.value, D(r)({
597
597
  p: R.value.style.legend.value.prefix,
598
598
  v: e.value,
599
599
  s: R.value.style.legend.value.suffix,
@@ -601,11 +601,11 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
601
601
  }), {
602
602
  datapoint: e,
603
603
  seriesIndex: t
604
- })) + ") ", 5)) : m("", !0)], 64))], 64))])], 46, Le))), 256))], 4)) : m("", !0),
605
- he(E(Ge), {
604
+ })) + ") ", 5)) : h("", !0)], 64))], 64))])], 46, Ie))), 256))], 4)) : h("", !0),
605
+ me(D(We), {
606
606
  teleportTo: R.value.style.tooltip.teleportTo,
607
- show: j.value && R.value.style.tooltip.show,
608
- parent: Xe.value,
607
+ show: M.value && R.value.style.tooltip.show,
608
+ parent: Ye.value,
609
609
  backgroundColor: R.value.style.tooltip.backgroundColor,
610
610
  color: R.value.style.tooltip.color,
611
611
  fontSize: R.value.style.tooltip.fontSize,
@@ -614,8 +614,8 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
614
614
  borderWidth: R.value.style.tooltip.borderWidth,
615
615
  backgroundOpacity: R.value.style.tooltip.backgroundOpacity,
616
616
  position: R.value.style.tooltip.position,
617
- content: Ze.value,
618
- isCustom: N.value,
617
+ content: Xe.value,
618
+ isCustom: P.value,
619
619
  offsetX: R.value.style.tooltip.offsetX,
620
620
  offsetY: -124 + R.value.style.tooltip.offsetY,
621
621
  blockShiftY: !0,
@@ -623,12 +623,12 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
623
623
  backdropFilter: R.value.style.tooltip.backdropFilter,
624
624
  smoothForce: R.value.style.tooltip.smoothForce,
625
625
  smoothSnapThreshold: R.value.style.tooltip.smoothSnapThreshold,
626
- isA11yMode: F.value === "keyboard",
627
- a11yPosition: Qe.value
626
+ isA11yMode: I.value === "keyboard",
627
+ a11yPosition: Ze.value
628
628
  }, {
629
- "tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(_({ ...M.value })), void 0, !0)]),
630
- tooltip: D(() => [w(e.$slots, "tooltip", y(_({ ...M.value })), void 0, !0)]),
631
- "tooltip-after": D(() => [w(e.$slots, "tooltip-after", y(_({ ...M.value })), void 0, !0)]),
629
+ "tooltip-before": O(() => [T(e.$slots, "tooltip-before", b(v({ ...N.value })), void 0, !0)]),
630
+ tooltip: O(() => [T(e.$slots, "tooltip", b(v({ ...N.value })), void 0, !0)]),
631
+ "tooltip-after": O(() => [T(e.$slots, "tooltip-after", b(v({ ...N.value })), void 0, !0)]),
632
632
  _: 3
633
633
  }, 8, [
634
634
  "teleportTo",
@@ -653,10 +653,10 @@ var xe = /* @__PURE__ */ e({ default: () => O }), Se = ["id"], Ce = { style: { p
653
653
  "isA11yMode",
654
654
  "a11yPosition"
655
655
  ]),
656
- e.$slots.source ? (x(), h("div", We, [w(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
657
- w(e.$slots, "skeleton", {}, () => [E(z) ? (x(), me(se, { key: 0 })) : m("", !0)], !0)
656
+ e.$slots.source ? (S(), g("div", Ue, [T(e.$slots, "source", {}, void 0, !0)], 512)) : h("", !0),
657
+ T(e.$slots, "skeleton", {}, () => [D(z) ? (S(), m(se, { key: 0 })) : h("", !0)], !0)
658
658
  ], 4));
659
659
  }
660
660
  }, [["__scopeId", "data-v-706a37e5"]]);
661
661
  //#endregion
662
- export { xe as n, O as t };
662
+ export { be as n, k as t };