vue-data-ui 2.6.6 → 2.6.7

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 (197) hide show
  1. package/dist/{Arrow-DFWjAvCY.js → Arrow-BxUmDF04.js} +1 -1
  2. package/dist/{Arrow-BYqxz6UG.cjs → Arrow-PPbxds1Q.cjs} +1 -1
  3. package/dist/{BaseIcon-COe_H-UB.cjs → BaseIcon-BmVwfJg2.cjs} +1 -1
  4. package/dist/{BaseIcon-t20JEZNG.js → BaseIcon-CDx9pxUG.js} +1 -1
  5. package/dist/{DataTable-Du7nJ0TM.cjs → DataTable-Cv_TVAas.cjs} +1 -1
  6. package/dist/{DataTable-CJN0sipt.js → DataTable-TjJIVFlL.js} +2 -2
  7. package/dist/{Legend-CM7IGBC3.cjs → Legend-DunrYGuw.cjs} +1 -1
  8. package/dist/{Legend-BDyPoYfp.js → Legend-NKGwxkI7.js} +2 -2
  9. package/dist/{PackageVersion-qeLvq6l8.cjs → PackageVersion-DJKkRuOD.cjs} +1 -1
  10. package/dist/{PackageVersion-DqmHcoqz.js → PackageVersion-QRvxRYPv.js} +1 -1
  11. package/dist/{PenAndPaper-6UYizrkQ.js → PenAndPaper-CxC1lWGK.js} +3 -3
  12. package/dist/{PenAndPaper-BYqaxOpk.cjs → PenAndPaper-MTTJ3Gd9.cjs} +1 -1
  13. package/dist/{Shape-C_qIhG3J.js → Shape-58uyOuYc.js} +26 -23
  14. package/dist/Shape-D_1vUjCL.cjs +1 -0
  15. package/dist/{Slicer-DPae3p1M.cjs → Slicer-BGEieXKn.cjs} +1 -1
  16. package/dist/{Slicer-BQP3UIW-.js → Slicer-C7ormJRw.js} +2 -2
  17. package/dist/{Title-D6h1gTvZ.js → Title-BI8etrRU.js} +1 -1
  18. package/dist/{Title-BGiQdt7J.cjs → Title-Dk92HYMu.cjs} +1 -1
  19. package/dist/Tooltip-ClMeqejQ.cjs +1 -0
  20. package/dist/{Tooltip-BonEVaob.js → Tooltip-Cxc8c50d.js} +23 -20
  21. package/dist/{index-B9qF6XbP.js → index-9EeNZMz1.js} +1 -1
  22. package/dist/{index-kZKcQZM_.cjs → index-DEnRHTzk.cjs} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/useChartAccessibility-BWojgys7.js +13 -0
  25. package/dist/useChartAccessibility-Cm7nkzTG.cjs +1 -0
  26. package/dist/{useNestedProp-D4Jn2Oxr.cjs → useNestedProp-BNT60LxO.cjs} +1 -1
  27. package/dist/{useNestedProp-g5oKzlVy.js → useNestedProp-df_bKQEI.js} +1 -1
  28. package/dist/{usePrinter-DR42gTOS.cjs → usePrinter-dyVny55M.cjs} +1 -1
  29. package/dist/{usePrinter-DsiBLAy1.js → usePrinter-ngrh00Ym.js} +1 -1
  30. package/dist/{vue-data-ui-DbhVASfn.cjs → vue-data-ui-BYX-I7HQ.cjs} +1 -1
  31. package/dist/{vue-data-ui-DB2kdhYH.js → vue-data-ui-CDD7JcMs.js} +61 -61
  32. package/dist/vue-data-ui.cjs +1 -1
  33. package/dist/vue-data-ui.js +1 -1
  34. package/dist/{vue-ui-3d-bar-DHeSFJ5z.js → vue-ui-3d-bar-BArLjlrc.js} +171 -168
  35. package/dist/vue-ui-3d-bar-DegdXf_S.cjs +19 -0
  36. package/dist/{vue-ui-accordion-BfDu7hTY.cjs → vue-ui-accordion-D2qxHGzp.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-DBmchkva.js → vue-ui-accordion-Qo8JxnIN.js} +3 -3
  38. package/dist/{vue-ui-age-pyramid-CvUCPqxa.js → vue-ui-age-pyramid-Biz02m7c.js} +85 -82
  39. package/dist/vue-ui-age-pyramid-kpaaJ2Gx.cjs +1 -0
  40. package/dist/{vue-ui-annotator-BV9t6ro7.cjs → vue-ui-annotator-By6XNYm0.cjs} +1 -1
  41. package/dist/{vue-ui-annotator-Dr5PLrJx.js → vue-ui-annotator-MXs48Lua.js} +1 -1
  42. package/dist/{vue-ui-bullet-D7Uw9tez.js → vue-ui-bullet-CtBs_r3I.js} +92 -89
  43. package/dist/vue-ui-bullet-Dkz6vX0T.cjs +34 -0
  44. package/dist/vue-ui-candlestick-DiEUIuW8.cjs +2 -0
  45. package/dist/{vue-ui-candlestick-BFmh-zx1.js → vue-ui-candlestick-gPztmuJE.js} +155 -152
  46. package/dist/{vue-ui-carousel-table-C30Gvanv.cjs → vue-ui-carousel-table-CYeXP21y.cjs} +1 -1
  47. package/dist/{vue-ui-carousel-table-CUhkylz_.js → vue-ui-carousel-table-D9ckYNKZ.js} +4 -4
  48. package/dist/{vue-ui-chestnut-C53wdHmR.js → vue-ui-chestnut-DWjn-jcN.js} +186 -183
  49. package/dist/vue-ui-chestnut-oZtRERnV.cjs +6 -0
  50. package/dist/{vue-ui-circle-pack-Bj3sA7RV.js → vue-ui-circle-pack-Bz5yVvAM.js} +99 -96
  51. package/dist/vue-ui-circle-pack-DCJ6N00S.cjs +1 -0
  52. package/dist/{vue-ui-cursor-0GY46Ywr.js → vue-ui-cursor-BrrVDy1u.js} +2 -2
  53. package/dist/{vue-ui-cursor-ZBrt-jTo.cjs → vue-ui-cursor-DZhRygRy.cjs} +1 -1
  54. package/dist/{vue-ui-dashboard-BX787_or.js → vue-ui-dashboard-DEmGN8Js.js} +2 -2
  55. package/dist/{vue-ui-dashboard-pzZD8J2y.cjs → vue-ui-dashboard-o8Ju_cXW.cjs} +1 -1
  56. package/dist/{vue-ui-digits-Blb8fghV.cjs → vue-ui-digits-CgyYdrQ5.cjs} +1 -1
  57. package/dist/{vue-ui-digits-BvCMwL0L.js → vue-ui-digits-DbOrROu7.js} +2 -2
  58. package/dist/vue-ui-donut-9pWaRwf3.cjs +1 -0
  59. package/dist/{vue-ui-donut-yBjSgsTz.js → vue-ui-donut-CP5uWglM.js} +158 -155
  60. package/dist/{vue-ui-donut-evolution-DRfJVMrP.js → vue-ui-donut-evolution-BAMD1wQ5.js} +133 -131
  61. package/dist/vue-ui-donut-evolution-Ci_gIrkO.cjs +1 -0
  62. package/dist/{vue-ui-dumbbell-4-hWZn-o.js → vue-ui-dumbbell-CFYd-Ypn.js} +125 -122
  63. package/dist/vue-ui-dumbbell-DUNYoZxT.cjs +9 -0
  64. package/dist/{vue-ui-flow-aH6xSdwn.js → vue-ui-flow-CdvGWFzv.js} +96 -93
  65. package/dist/vue-ui-flow-W89ofPB-.cjs +1 -0
  66. package/dist/{vue-ui-funnel-BZy4SvlW.js → vue-ui-funnel-DYutKyoz.js} +88 -85
  67. package/dist/vue-ui-funnel-RvdVrhFu.cjs +1 -0
  68. package/dist/{vue-ui-galaxy-GDXdZqjm.js → vue-ui-galaxy-BCBRlYS1.js} +123 -120
  69. package/dist/vue-ui-galaxy-Djdx-ca8.cjs +1 -0
  70. package/dist/{vue-ui-gauge-CeyHdkuS.js → vue-ui-gauge-BNAAZt4F.js} +86 -83
  71. package/dist/vue-ui-gauge-BVVmf09x.cjs +1 -0
  72. package/dist/{vue-ui-gizmo-veFxjktw.js → vue-ui-gizmo-BFQ_KgLX.js} +3 -3
  73. package/dist/{vue-ui-gizmo-CRTzb1J_.cjs → vue-ui-gizmo-Ceh0oFY3.cjs} +1 -1
  74. package/dist/vue-ui-heatmap-CiZpI-tA.cjs +1 -0
  75. package/dist/{vue-ui-heatmap-BizLgjJ8.js → vue-ui-heatmap-Ct3qaBv7.js} +109 -106
  76. package/dist/vue-ui-history-plot-Ci8Y2EFg.cjs +1 -0
  77. package/dist/{vue-ui-history-plot-gzx5uGyY.js → vue-ui-history-plot-shn74MJ6.js} +130 -127
  78. package/dist/{vue-ui-kpi-MdyAQjdJ.js → vue-ui-kpi-B_pV-2JJ.js} +3 -3
  79. package/dist/{vue-ui-kpi-CP08PB51.cjs → vue-ui-kpi-DfYrbxlX.cjs} +1 -1
  80. package/dist/{vue-ui-mini-loader-CYVr1K6S.js → vue-ui-mini-loader-BFnWQs5p.js} +2 -2
  81. package/dist/{vue-ui-mini-loader-BRmtJ6az.cjs → vue-ui-mini-loader-LIqf62jk.cjs} +1 -1
  82. package/dist/vue-ui-molecule-D8YuYTKv.cjs +1 -0
  83. package/dist/{vue-ui-molecule-CJ05ddhf.js → vue-ui-molecule-DNz1m8XZ.js} +147 -144
  84. package/dist/{vue-ui-mood-radar-DG1pF6Ii.js → vue-ui-mood-radar-DiYB_zhM.js} +97 -94
  85. package/dist/vue-ui-mood-radar-uvH7qUHy.cjs +1 -0
  86. package/dist/{vue-ui-nested-donuts-CDjZ6KfI.js → vue-ui-nested-donuts-9hn-g4ir.js} +99 -96
  87. package/dist/vue-ui-nested-donuts-C7ikDjp7.cjs +17 -0
  88. package/dist/vue-ui-onion-5Rqvd4Fw.cjs +5 -0
  89. package/dist/{vue-ui-onion-DsskQUiP.js → vue-ui-onion-DCWfNTNu.js} +105 -102
  90. package/dist/{vue-ui-parallel-coordinate-plot-D7r71vdp.js → vue-ui-parallel-coordinate-plot-CaPFL9_1.js} +97 -94
  91. package/dist/vue-ui-parallel-coordinate-plot-tlgTbaNX.cjs +8 -0
  92. package/dist/vue-ui-quadrant-B0Sw5NGo.cjs +1 -0
  93. package/dist/{vue-ui-quadrant-DCHEhvMX.js → vue-ui-quadrant-BoQZ375K.js} +155 -152
  94. package/dist/vue-ui-quick-chart-D3zV1d7t.cjs +15 -0
  95. package/dist/{vue-ui-quick-chart-BB5b4AQ1.js → vue-ui-quick-chart-vfMN8F1q.js} +164 -161
  96. package/dist/{vue-ui-radar-CNEXWSEx.js → vue-ui-radar-CAuu6wkh.js} +105 -102
  97. package/dist/vue-ui-radar-CNMJCAwo.cjs +1 -0
  98. package/dist/{vue-ui-rating-DJLSl0-4.js → vue-ui-rating-Bm0HZ3du.js} +2 -2
  99. package/dist/{vue-ui-rating-ClvF4LPg.cjs → vue-ui-rating-dsRDRL98.cjs} +1 -1
  100. package/dist/{vue-ui-relation-circle-Hdzt7fOS.js → vue-ui-relation-circle-5OZMN9jR.js} +127 -124
  101. package/dist/vue-ui-relation-circle-iD7BufNH.cjs +1 -0
  102. package/dist/{vue-ui-rings-BAFkqjcL.js → vue-ui-rings-COefBaQT.js} +114 -111
  103. package/dist/vue-ui-rings-DC4WG4sK.cjs +2 -0
  104. package/dist/vue-ui-scatter-5ny76dmi.cjs +1 -0
  105. package/dist/{vue-ui-scatter-Ca67EOrI.js → vue-ui-scatter-DhO83TZZ.js} +157 -154
  106. package/dist/{vue-ui-screenshot-CFcvBOJm.cjs → vue-ui-screenshot-DABH_phE.cjs} +1 -1
  107. package/dist/{vue-ui-screenshot-CsdnwhSO.js → vue-ui-screenshot-brillPo5.js} +1 -1
  108. package/dist/{vue-ui-skeleton-CHEZlRpn.js → vue-ui-skeleton-BmJiYGtE.js} +3 -3
  109. package/dist/{vue-ui-skeleton-BBNX7lud.cjs → vue-ui-skeleton-_DN0U6W6.cjs} +1 -1
  110. package/dist/{vue-ui-smiley-EngC6Vc4.cjs → vue-ui-smiley-CW6714mb.cjs} +1 -1
  111. package/dist/{vue-ui-smiley-Dth6gRqg.js → vue-ui-smiley-D9NRimij.js} +2 -2
  112. package/dist/{vue-ui-spark-trend-33sBlF-n.js → vue-ui-spark-trend-BKZj03CQ.js} +5 -5
  113. package/dist/{vue-ui-spark-trend-DJ8yhFMx.cjs → vue-ui-spark-trend-expbkxgR.cjs} +1 -1
  114. package/dist/{vue-ui-sparkbar-mJu95295.js → vue-ui-sparkbar-CYRORE5i.js} +4 -4
  115. package/dist/{vue-ui-sparkbar-D9QLpB7G.cjs → vue-ui-sparkbar-Cr9FtevP.cjs} +1 -1
  116. package/dist/vue-ui-sparkgauge-BHXFhvTv.cjs +1 -0
  117. package/dist/{vue-ui-sparkgauge-nFFf8h-x.js → vue-ui-sparkgauge-JV4tYB7P.js} +56 -53
  118. package/dist/{vue-ui-sparkhistogram-Bh6R737O.js → vue-ui-sparkhistogram-DKINHX2q.js} +93 -90
  119. package/dist/vue-ui-sparkhistogram-T4a3DDck.cjs +1 -0
  120. package/dist/{vue-ui-sparkline-BfBiA1O5.js → vue-ui-sparkline-CbRTHtig.js} +109 -106
  121. package/dist/vue-ui-sparkline-Dc6Sf3n8.cjs +1 -0
  122. package/dist/{vue-ui-sparkstackbar-BNTFNUIA.js → vue-ui-sparkstackbar-6u9-2nG4.js} +59 -56
  123. package/dist/vue-ui-sparkstackbar-CV5SkdsP.cjs +1 -0
  124. package/dist/{vue-ui-stackbar-BbFUifMU.js → vue-ui-stackbar-CUppObfj.js} +136 -133
  125. package/dist/vue-ui-stackbar-CXB-nd71.cjs +6 -0
  126. package/dist/vue-ui-strip-plot-6IXF_U6-.cjs +1 -0
  127. package/dist/{vue-ui-strip-plot-wsxpyqrw.js → vue-ui-strip-plot-doaNZAW4.js} +127 -124
  128. package/dist/{vue-ui-table-CQYM4uPf.js → vue-ui-table-CZsNuDR5.js} +1 -1
  129. package/dist/{vue-ui-table-DUokotBj.cjs → vue-ui-table-S66UCskD.cjs} +1 -1
  130. package/dist/{vue-ui-table-heatmap-Brk58nK_.cjs → vue-ui-table-heatmap-BU9UU15H.cjs} +1 -1
  131. package/dist/{vue-ui-table-heatmap-OYQ9OOzo.js → vue-ui-table-heatmap-CjohHqDV.js} +4 -4
  132. package/dist/{vue-ui-table-sparkline-C9dOsIAB.cjs → vue-ui-table-sparkline-CHFFTD0a.cjs} +1 -1
  133. package/dist/{vue-ui-table-sparkline-DUjDhg8A.js → vue-ui-table-sparkline-ab2rwdKB.js} +5 -5
  134. package/dist/{vue-ui-thermometer-WSMSVcM_.js → vue-ui-thermometer-C72mHwUi.js} +84 -81
  135. package/dist/vue-ui-thermometer-Ccd6RGh8.cjs +1 -0
  136. package/dist/vue-ui-timer-C8Fn2B0b.cjs +64 -0
  137. package/dist/{vue-ui-timer-DBP_fRcm.js → vue-ui-timer-D-LNi6lz.js} +183 -180
  138. package/dist/{vue-ui-tiremarks-WWgS2mqw.js → vue-ui-tiremarks-Bo8EWsJ8.js} +59 -56
  139. package/dist/vue-ui-tiremarks-SOzvMOz4.cjs +1 -0
  140. package/dist/vue-ui-treemap-BqTTQrVh.cjs +1 -0
  141. package/dist/{vue-ui-treemap-CXoXEuSA.js → vue-ui-treemap-uj94elVB.js} +123 -120
  142. package/dist/{vue-ui-vertical-bar-COaAa4nz.js → vue-ui-vertical-bar-BUTOw-DK.js} +108 -105
  143. package/dist/vue-ui-vertical-bar-C4Sxun4Q.cjs +4 -0
  144. package/dist/{vue-ui-waffle-DD8pT7JN.js → vue-ui-waffle-CTWA1frT.js} +107 -104
  145. package/dist/vue-ui-waffle-DYWGRKdT.cjs +1 -0
  146. package/dist/{vue-ui-wheel-BLlKekiu.js → vue-ui-wheel-8K72ZKda.js} +75 -72
  147. package/dist/vue-ui-wheel-Cz5-0klT.cjs +1 -0
  148. package/dist/{vue-ui-word-cloud-CcYtTXW6.js → vue-ui-word-cloud-CSwBPDB8.js} +97 -94
  149. package/dist/vue-ui-word-cloud-D39riLZb.cjs +1 -0
  150. package/dist/vue-ui-xy-BbWXjajH.cjs +3 -0
  151. package/dist/{vue-ui-xy-DYzfiZnJ.js → vue-ui-xy-DpDKutd7.js} +65 -58
  152. package/dist/{vue-ui-xy-canvas-CkB7VDhF.cjs → vue-ui-xy-canvas-BCj0SCqe.cjs} +2 -2
  153. package/dist/{vue-ui-xy-canvas-DqnK_i0Q.js → vue-ui-xy-canvas-BQm9gah4.js} +82 -81
  154. package/package.json +1 -1
  155. package/dist/Shape-BN3-_2DI.cjs +0 -1
  156. package/dist/Tooltip-DSPKrQcQ.cjs +0 -1
  157. package/dist/vue-ui-3d-bar-DEu24HHj.cjs +0 -19
  158. package/dist/vue-ui-age-pyramid-CRYYDXFo.cjs +0 -1
  159. package/dist/vue-ui-bullet-Dy71N3Jf.cjs +0 -34
  160. package/dist/vue-ui-candlestick-aZ1YN4hh.cjs +0 -2
  161. package/dist/vue-ui-chestnut-DuycsDaB.cjs +0 -6
  162. package/dist/vue-ui-circle-pack-BFF5_9Sm.cjs +0 -1
  163. package/dist/vue-ui-donut-BO6RWqZ6.cjs +0 -1
  164. package/dist/vue-ui-donut-evolution-BgJMw_a4.cjs +0 -1
  165. package/dist/vue-ui-dumbbell-BSXxNjyK.cjs +0 -9
  166. package/dist/vue-ui-flow-LNlNIRfb.cjs +0 -1
  167. package/dist/vue-ui-funnel-BhDmLkFj.cjs +0 -1
  168. package/dist/vue-ui-galaxy-BcwAAgUh.cjs +0 -1
  169. package/dist/vue-ui-gauge-BCf-2H4T.cjs +0 -1
  170. package/dist/vue-ui-heatmap-Bxhy4dCf.cjs +0 -1
  171. package/dist/vue-ui-history-plot-CTBCFIG0.cjs +0 -1
  172. package/dist/vue-ui-molecule-pTMJG_3k.cjs +0 -1
  173. package/dist/vue-ui-mood-radar-DXLYUXbX.cjs +0 -1
  174. package/dist/vue-ui-nested-donuts-yztsnsjM.cjs +0 -17
  175. package/dist/vue-ui-onion-BgbKMVNe.cjs +0 -5
  176. package/dist/vue-ui-parallel-coordinate-plot-Cha1Em8k.cjs +0 -8
  177. package/dist/vue-ui-quadrant-BzYnR_Hc.cjs +0 -1
  178. package/dist/vue-ui-quick-chart-BcW7URue.cjs +0 -15
  179. package/dist/vue-ui-radar-D-XPVXa9.cjs +0 -1
  180. package/dist/vue-ui-relation-circle-DfxnHEqR.cjs +0 -1
  181. package/dist/vue-ui-rings-C9NFME3F.cjs +0 -2
  182. package/dist/vue-ui-scatter-D0UloS1C.cjs +0 -1
  183. package/dist/vue-ui-sparkgauge-CBCbyOG2.cjs +0 -1
  184. package/dist/vue-ui-sparkhistogram-BstSpbti.cjs +0 -1
  185. package/dist/vue-ui-sparkline-DTRZ-_Qw.cjs +0 -1
  186. package/dist/vue-ui-sparkstackbar-CuU8Vpcv.cjs +0 -1
  187. package/dist/vue-ui-stackbar-B5uNBkxp.cjs +0 -6
  188. package/dist/vue-ui-strip-plot-7G7BAGQM.cjs +0 -1
  189. package/dist/vue-ui-thermometer-VnlcJh4G.cjs +0 -1
  190. package/dist/vue-ui-timer-Bh8RpM2u.cjs +0 -64
  191. package/dist/vue-ui-tiremarks-Ct96o_fd.cjs +0 -1
  192. package/dist/vue-ui-treemap-BfDk53pM.cjs +0 -1
  193. package/dist/vue-ui-vertical-bar-EIy7A0dV.cjs +0 -4
  194. package/dist/vue-ui-waffle-BB3l0zZU.cjs +0 -1
  195. package/dist/vue-ui-wheel-DfpXZJ8A.cjs +0 -1
  196. package/dist/vue-ui-word-cloud-DdaMzF2e.cjs +0 -1
  197. package/dist/vue-ui-xy-B4Mzyy81.cjs +0 -3
@@ -1,21 +1,22 @@
1
- import { useSlots as ue, onMounted as Y, computed as m, ref as d, watch as G, createElementBlock as r, openBlock as s, normalizeStyle as v, createCommentVNode as y, createBlock as ie, createVNode as q, createElementVNode as p, toDisplayString as w, unref as C, Fragment as x, renderList as $, normalizeClass as F, withCtx as H, renderSlot as U, normalizeProps as X, guardReactiveProps as J } from "vue";
2
- import { u as ce, c as K, t as de, p as i, a as ve, d as N, b as pe, o as ge, e as Q, g as fe, f as V, X as he, s as ye, w as me, i as Z, x as ke } from "./index-B9qF6XbP.js";
3
- import { u as ee } from "./useNestedProp-g5oKzlVy.js";
4
- import be from "./vue-ui-skeleton-CHEZlRpn.js";
5
- import { _ as _e } from "./PackageVersion-DqmHcoqz.js";
6
- import { _ as we } from "./Tooltip-BonEVaob.js";
7
- import { _ as Ce } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
- const xe = ["xmlns", "viewBox"], $e = ["id"], Se = ["stop-color"], ze = ["stop-color"], Pe = ["stop-color"], De = {
1
+ import { useSlots as ie, onMounted as Y, computed as m, ref as d, watch as G, createElementBlock as r, openBlock as s, normalizeStyle as v, createCommentVNode as y, createBlock as ce, createVNode as q, createElementVNode as p, toDisplayString as w, unref as C, Fragment as x, renderList as $, normalizeClass as F, withCtx as H, renderSlot as U, normalizeProps as X, guardReactiveProps as J } from "vue";
2
+ import { u as de, c as K, t as ve, p as i, a as pe, d as N, b as ge, o as fe, e as Q, g as he, f as V, X as ye, s as me, w as ke, i as Z, x as be } from "./index-9EeNZMz1.js";
3
+ import { u as ee } from "./useNestedProp-df_bKQEI.js";
4
+ import _e from "./vue-ui-skeleton-BmJiYGtE.js";
5
+ import { _ as we } from "./PackageVersion-QRvxRYPv.js";
6
+ import { _ as Ce } from "./Tooltip-Cxc8c50d.js";
7
+ import { u as xe } from "./useChartAccessibility-BWojgys7.js";
8
+ import { _ as $e } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
+ const Se = ["xmlns", "viewBox"], ze = ["id"], Pe = ["stop-color"], De = ["stop-color"], Fe = ["stop-color"], Ne = {
9
10
  id: "stackPill",
10
11
  clipPathUnits: "objectBoundingBox"
11
- }, Fe = ["fill"], Ne = {
12
+ }, Ae = ["fill"], Le = {
12
13
  key: 0,
13
14
  "clip-path": "url(#stackPill)"
14
- }, Ae = ["x", "width", "height", "fill"], Le = ["x", "width", "height", "fill", "stroke"], Be = ["onClick", "x", "width", "height", "onMouseenter"], Oe = ["width", "height", "rx"], Ue = ["onClick"], Ve = { style: { display: "flex", "flex-direction": "row", "align-items": "center", gap: "4px", "justify-content": "center" } }, je = ["height", "width"], Ee = ["fill"], Me = {
15
+ }, Be = ["x", "width", "height", "fill"], Oe = ["x", "width", "height", "fill", "stroke"], Ue = ["onClick", "x", "width", "height", "onMouseenter"], Ve = ["width", "height", "rx"], je = ["onClick"], Ee = { style: { display: "flex", "flex-direction": "row", "align-items": "center", gap: "4px", "justify-content": "center" } }, Me = ["height", "width"], Re = ["fill"], Te = {
15
16
  key: 4,
16
17
  ref: "source",
17
18
  dir: "auto"
18
- }, Te = {
19
+ }, Ie = {
19
20
  __name: "vue-ui-sparkstackbar",
20
21
  props: {
21
22
  config: {
@@ -33,42 +34,42 @@ const xe = ["xmlns", "viewBox"], $e = ["id"], Se = ["stop-color"], ze = ["stop-c
33
34
  },
34
35
  emits: ["selectDatapoint"],
35
36
  setup(te, { emit: le }) {
36
- const { vue_ui_sparkstackbar: oe } = ce(), u = te, ae = ue();
37
+ const { vue_ui_sparkstackbar: oe } = de(), u = te, ae = ie();
37
38
  Y(() => {
38
39
  ae["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
39
40
  });
40
41
  const j = m(() => !!u.dataset && u.dataset.length), E = d(null), M = d(K()), A = d(!1), L = d(""), e = m({
41
- get: () => T(),
42
+ get: () => R(),
42
43
  set: (t) => t
43
- });
44
- function T() {
44
+ }), { svgRef: se } = xe({ config: e.value.style.title });
45
+ function R() {
45
46
  const t = ee({
46
47
  userConfig: u.config,
47
48
  defaultConfig: oe
48
49
  });
49
50
  return t.theme ? {
50
51
  ...ee({
51
- userConfig: ve.vue_ui_sparkstackbar[t.theme] || u.config,
52
+ userConfig: pe.vue_ui_sparkstackbar[t.theme] || u.config,
52
53
  defaultConfig: t
53
54
  }),
54
- customPalette: de[t.theme] || i
55
+ customPalette: ve[t.theme] || i
55
56
  } : t;
56
57
  }
57
58
  G(() => u.config, (t) => {
58
- e.value = T(), I();
59
+ e.value = R(), T();
59
60
  }, { deep: !0 }), G(() => u.dataset, (t) => {
60
61
  k.value = u.dataset.map((a, l) => ({
61
62
  ...a,
62
63
  color: a.color ? N(a.color) : S.value[l] || i[l] || i[l % i.length]
63
64
  }));
64
65
  }, { deep: !0 });
65
- const S = m(() => pe(e.value.customPalette)), k = d(u.dataset.map((t, a) => ({
66
+ const S = m(() => ge(e.value.customPalette)), k = d(u.dataset.map((t, a) => ({
66
67
  ...t,
67
68
  value: e.value.style.animation.show ? 0 : t.value || 0,
68
69
  color: t.color ? N(t.color) : S.value[a] || i[a] || i[a % i.length]
69
70
  }))), _ = d(!0);
70
71
  Y(() => {
71
- if (I(), e.value.style.animation.show) {
72
+ if (T(), e.value.style.animation.show) {
72
73
  let h = function() {
73
74
  o += l / t, o < l ? (k.value = k.value.map((n, c) => ({
74
75
  ...n,
@@ -86,12 +87,12 @@ const xe = ["xmlns", "viewBox"], $e = ["id"], Se = ["stop-color"], ze = ["stop-c
86
87
  _.value = !0, h();
87
88
  }
88
89
  });
89
- function I() {
90
- ge(u.dataset) ? Q({
90
+ function T() {
91
+ fe(u.dataset) ? Q({
91
92
  componentName: "VueUiSparkStackbar",
92
93
  type: "dataset"
93
94
  }) : u.dataset.forEach((t, a) => {
94
- fe({
95
+ he({
95
96
  datasetObject: t,
96
97
  requiredAttributes: ["name", "value"]
97
98
  }).forEach((l) => {
@@ -107,8 +108,8 @@ const xe = ["xmlns", "viewBox"], $e = ["id"], Se = ["stop-color"], ze = ["stop-c
107
108
  const g = d({
108
109
  width: 500,
109
110
  height: 16
110
- }), f = d([]), R = m(() => u.dataset.map((t) => t.value || 0).filter((t, a) => !f.value.includes(a)).reduce((t, a) => t + a, 0)), z = m(() => k.value.map((t, a) => {
111
- const l = t.value || 0, o = l / R.value, h = isNaN(o) ? 0 : o, n = h * g.value.width;
111
+ }), f = d([]), I = m(() => u.dataset.map((t) => t.value || 0).filter((t, a) => !f.value.includes(a)).reduce((t, a) => t + a, 0)), z = m(() => k.value.map((t, a) => {
112
+ const l = t.value || 0, o = l / I.value, h = isNaN(o) ? 0 : o, n = h * g.value.width;
112
113
  return {
113
114
  ...t,
114
115
  value: l,
@@ -121,7 +122,7 @@ const xe = ["xmlns", "viewBox"], $e = ["id"], Se = ["stop-color"], ze = ["stop-c
121
122
  })
122
123
  };
123
124
  })), B = m(() => z.value.filter((t, a) => !f.value.includes(a)));
124
- function se(t) {
125
+ function re(t) {
125
126
  f.value.includes(t) ? f.value = f.value.filter((a) => a !== t) : f.value.length < k.value.length - 1 && f.value.push(t);
126
127
  }
127
128
  const P = m(() => {
@@ -133,17 +134,17 @@ const xe = ["xmlns", "viewBox"], $e = ["id"], Se = ["stop-color"], ze = ["stop-c
133
134
  start: t
134
135
  }), t += B.value[l].width;
135
136
  return a;
136
- }), re = le;
137
+ }), ne = le;
137
138
  function W(t, a) {
138
- re("selectDatapoint", { datapoint: t, index: a });
139
+ ne("selectDatapoint", { datapoint: t, index: a });
139
140
  }
140
141
  const O = d(null), D = d(!1), b = d(null);
141
- function ne({ datapoint: t, seriesIndex: a }) {
142
+ function ue({ datapoint: t, seriesIndex: a }) {
142
143
  if (!e.value.style.tooltip.show)
143
144
  return;
144
145
  O.value = { datapoint: t, seriesIndex: a, config: e.value, series: z.value }, A.value = !0, b.value = a;
145
146
  const l = e.value.style.tooltip.customFormat;
146
- if (ke(l))
147
+ if (be(l))
147
148
  try {
148
149
  const o = l({
149
150
  seriesIndex: a,
@@ -195,11 +196,13 @@ const xe = ["xmlns", "viewBox"], $e = ["id"], Se = ["stop-color"], ze = ["stop-c
195
196
  ], 4)) : y("", !0),
196
197
  j.value ? (s(), r("svg", {
197
198
  key: 1,
198
- xmlns: C(he),
199
+ ref_key: "svgRef",
200
+ ref: se,
201
+ xmlns: C(ye),
199
202
  width: "100%",
200
203
  viewBox: `0 0 ${g.value.width} ${g.value.height}`
201
204
  }, [
202
- q(_e),
205
+ q(we),
203
206
  p("defs", null, [
204
207
  (s(!0), r(x, null, $(P.value, (l, o) => (s(), r("linearGradient", {
205
208
  key: `stack_gradient_${o}`,
@@ -209,17 +212,17 @@ const xe = ["xmlns", "viewBox"], $e = ["id"], Se = ["stop-color"], ze = ["stop-c
209
212
  p("stop", {
210
213
  offset: "0%",
211
214
  "stop-color": l.color
212
- }, null, 8, Se),
215
+ }, null, 8, Pe),
213
216
  p("stop", {
214
217
  offset: "50%",
215
- "stop-color": C(ye)(C(me)(l.color, 0.05), 100 - e.value.style.bar.gradient.intensity)
216
- }, null, 8, ze),
218
+ "stop-color": C(me)(C(ke)(l.color, 0.05), 100 - e.value.style.bar.gradient.intensity)
219
+ }, null, 8, De),
217
220
  p("stop", {
218
221
  offset: "100%",
219
222
  "stop-color": l.color
220
- }, null, 8, Pe)
221
- ], 8, $e))), 128)),
222
- p("clipPath", De, [
223
+ }, null, 8, Fe)
224
+ ], 8, ze))), 128)),
225
+ p("clipPath", Ne, [
223
226
  p("rect", {
224
227
  x: "0.005",
225
228
  y: "-2",
@@ -228,10 +231,10 @@ const xe = ["xmlns", "viewBox"], $e = ["id"], Se = ["stop-color"], ze = ["stop-c
228
231
  rx: "3",
229
232
  ry: "3",
230
233
  fill: e.value.style.backgroundColor
231
- }, null, 8, Fe)
234
+ }, null, 8, Ae)
232
235
  ])
233
236
  ]),
234
- R.value > 0 ? (s(), r("g", Ne, [
237
+ I.value > 0 ? (s(), r("g", Le, [
235
238
  (s(!0), r(x, null, $(P.value, (l, o) => (s(), r("rect", {
236
239
  key: `stack_underlayer_${o}`,
237
240
  x: l.start,
@@ -243,7 +246,7 @@ const xe = ["xmlns", "viewBox"], $e = ["id"], Se = ["stop-color"], ze = ["stop-c
243
246
  style: v({
244
247
  opacity: b.value !== null && e.value.style.tooltip.show ? b.value === o ? 1 : 0.5 : 1
245
248
  })
246
- }, null, 14, Ae))), 128)),
249
+ }, null, 14, Be))), 128)),
247
250
  (s(!0), r(x, null, $(P.value, (l, o) => (s(), r("rect", {
248
251
  key: `stack_${o}`,
249
252
  x: l.start,
@@ -257,7 +260,7 @@ const xe = ["xmlns", "viewBox"], $e = ["id"], Se = ["stop-color"], ze = ["stop-c
257
260
  style: v({
258
261
  opacity: b.value !== null && e.value.style.tooltip.show ? b.value === o ? 1 : 0.5 : 1
259
262
  })
260
- }, null, 14, Le))), 128)),
263
+ }, null, 14, Oe))), 128)),
261
264
  (s(!0), r(x, null, $(P.value, (l, o) => (s(), r("rect", {
262
265
  key: `stack_trap_${o}`,
263
266
  onClick: () => W(l, o),
@@ -268,11 +271,11 @@ const xe = ["xmlns", "viewBox"], $e = ["id"], Se = ["stop-color"], ze = ["stop-c
268
271
  fill: "transparent",
269
272
  stroke: "none",
270
273
  class: F({ animated: !_.value }),
271
- onMouseenter: () => ne({ datapoint: l, seriesIndex: o }),
274
+ onMouseenter: () => ue({ datapoint: l, seriesIndex: o }),
272
275
  onMouseleave: a[0] || (a[0] = (h) => {
273
276
  A.value = !1, b.value = null;
274
277
  })
275
- }, null, 42, Be))), 128))
278
+ }, null, 42, Ue))), 128))
276
279
  ])) : (s(), r("rect", {
277
280
  key: 1,
278
281
  x: 2,
@@ -283,9 +286,9 @@ const xe = ["xmlns", "viewBox"], $e = ["id"], Se = ["stop-color"], ze = ["stop-c
283
286
  "stroke-width": "2",
284
287
  fill: "transparent",
285
288
  rx: (g.value.height - 4) / 2
286
- }, null, 8, Oe))
287
- ], 8, xe)) : y("", !0),
288
- j.value ? y("", !0) : (s(), ie(be, {
289
+ }, null, 8, Ve))
290
+ ], 8, Se)) : y("", !0),
291
+ j.value ? y("", !0) : (s(), ce(_e, {
289
292
  key: 2,
290
293
  config: {
291
294
  type: "sparkStackbar",
@@ -306,10 +309,10 @@ const xe = ["xmlns", "viewBox"], $e = ["id"], Se = ["stop-color"], ze = ["stop-c
306
309
  style: v(`font-size:${e.value.style.legend.fontSize}px;`),
307
310
  class: F({ "vue-ui-sparkstackbar-legend-item": !0, "vue-ui-sparkstackbar-legend-item-unselected": f.value.includes(o) }),
308
311
  onClick: (h) => {
309
- se(o), W(l, o);
312
+ re(o), W(l, o);
310
313
  }
311
314
  }, [
312
- p("div", Ve, [
315
+ p("div", Ee, [
313
316
  (s(), r("svg", {
314
317
  height: `${e.value.style.legend.fontSize}px`,
315
318
  width: `${e.value.style.legend.fontSize}px`,
@@ -320,8 +323,8 @@ const xe = ["xmlns", "viewBox"], $e = ["id"], Se = ["stop-color"], ze = ["stop-c
320
323
  cy: 5,
321
324
  r: 5,
322
325
  fill: l.color
323
- }, null, 8, Ee)
324
- ], 8, je)),
326
+ }, null, 8, Re)
327
+ ], 8, Me)),
325
328
  p("span", {
326
329
  style: v(`color:${e.value.style.legend.name.color}; font-weight:${e.value.style.legend.name.bold ? "bold" : "normal"}`)
327
330
  }, w(l.name), 5),
@@ -344,9 +347,9 @@ const xe = ["xmlns", "viewBox"], $e = ["id"], Se = ["stop-color"], ze = ["stop-c
344
347
  { datapoint: l, seriesIndex: o }
345
348
  )) + ") ", 5)) : y("", !0)
346
349
  ])
347
- ], 14, Ue))), 256))
350
+ ], 14, je))), 256))
348
351
  ], 4)) : y("", !0),
349
- q(we, {
352
+ q(Ce, {
350
353
  show: A.value && e.value.style.tooltip.show,
351
354
  parent: E.value,
352
355
  backgroundColor: e.value.style.tooltip.backgroundColor,
@@ -370,12 +373,12 @@ const xe = ["xmlns", "viewBox"], $e = ["id"], Se = ["stop-color"], ze = ["stop-c
370
373
  ]),
371
374
  _: 3
372
375
  }, 8, ["show", "parent", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "content", "isCustom", "offsetY"]),
373
- t.$slots.source ? (s(), r("div", Me, [
376
+ t.$slots.source ? (s(), r("div", Te, [
374
377
  U(t.$slots, "source", {}, void 0, !0)
375
378
  ], 512)) : y("", !0)
376
379
  ], 4));
377
380
  }
378
- }, Xe = /* @__PURE__ */ Ce(Te, [["__scopeId", "data-v-17984a02"]]);
381
+ }, Qe = /* @__PURE__ */ $e(Ie, [["__scopeId", "data-v-7955299f"]]);
379
382
  export {
380
- Xe as default
383
+ Qe as default
381
384
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./index-DEnRHTzk.cjs"),V=require("./useNestedProp-BNT60LxO.cjs"),U=require("./vue-ui-skeleton-_DN0U6W6.cjs"),M=require("./PackageVersion-DJKkRuOD.cjs"),j=require("./Tooltip-ClMeqejQ.cjs"),R=require("./useChartAccessibility-Cm7nkzTG.cjs"),H=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),I=["xmlns","viewBox"],W=["id"],Y=["stop-color"],G=["stop-color"],X=["stop-color"],J={id:"stackPill",clipPathUnits:"objectBoundingBox"},K=["fill"],Q={key:0,"clip-path":"url(#stackPill)"},Z=["x","width","height","fill"],ee=["x","width","height","fill","stroke"],te=["onClick","x","width","height","onMouseenter"],le=["width","height","rx"],oe=["onClick"],ae={style:{display:"flex","flex-direction":"row","align-items":"center",gap:"4px","justify-content":"center"}},re=["height","width"],ne=["fill"],se={key:4,ref:"source",dir:"auto"},ue={__name:"vue-ui-sparkstackbar",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectDatapoint"],setup(P,{emit:D}){const{vue_ui_sparkstackbar:L}=a.useConfig(),u=P,F=e.useSlots();e.onMounted(()=>{F["chart-background"]&&console.warn("VueUiSparkStackbar does not support the #chart-background slot.")});const x=e.computed(()=>!!u.dataset&&u.dataset.length),B=e.ref(null),S=e.ref(a.createUid()),b=e.ref(!1),C=e.ref(""),t=e.computed({get:()=>$(),set:l=>l}),{svgRef:A}=R.useChartAccessibility({config:t.value.style.title});function $(){const l=V.useNestedProp({userConfig:u.config,defaultConfig:L});return l.theme?{...V.useNestedProp({userConfig:a.themes.vue_ui_sparkstackbar[l.theme]||u.config,defaultConfig:l}),customPalette:a.themePalettes[l.theme]||a.palette}:l}e.watch(()=>u.config,l=>{t.value=$(),E()},{deep:!0}),e.watch(()=>u.dataset,l=>{p.value=u.dataset.map((n,o)=>({...n,color:n.color?a.convertColorToHex(n.color):f.value[o]||a.palette[o]||a.palette[o%a.palette.length]}))},{deep:!0});const f=e.computed(()=>a.convertCustomPalette(t.value.customPalette)),p=e.ref(u.dataset.map((l,n)=>({...l,value:t.value.style.animation.show?0:l.value||0,color:l.color?a.convertColorToHex(l.color):f.value[n]||a.palette[n]||a.palette[n%a.palette.length]}))),g=e.ref(!0);e.onMounted(()=>{if(E(),t.value.style.animation.show){let v=function(){r+=o/l,r<o?(p.value=p.value.map((s,i)=>({...s,value:s.value+=n[i],color:s.color?a.convertColorToHex(s.color):f.value[i]||a.palette[i]||a.palette[i%a.palette.length]})),requestAnimationFrame(v)):(g.value=!1,p.value=u.dataset.map((s,i)=>({...s,value:s.value||0,color:s.color?a.convertColorToHex(s.color):f.value[i]||a.palette[i]||a.palette[i%a.palette.length],id:a.createUid()})))};const l=t.value.style.animation.animationFrames,n=u.dataset.map((s,i)=>s.value/l),o=u.dataset.map(s=>s.value||0).reduce((s,i)=>s+i,0);let r=0;g.value=!0,v()}});function E(){a.objectIsEmpty(u.dataset)?a.error({componentName:"VueUiSparkStackbar",type:"dataset"}):u.dataset.forEach((l,n)=>{a.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","value"]}).forEach(o=>{a.error({componentName:"VueUiSparkStackbar",type:"datasetSerieAttribute",property:o,index:n})})})}const c=e.ref({width:500,height:16}),d=e.ref([]),N=e.computed(()=>u.dataset.map(l=>l.value||0).filter((l,n)=>!d.value.includes(n)).reduce((l,n)=>l+n,0)),y=e.computed(()=>p.value.map((l,n)=>{const o=l.value||0,r=o/N.value,v=isNaN(r)?0:r,s=v*c.value.width;return{...l,value:o,proportion:v,width:s,proportionLabel:a.dataLabel({v:v*100,s:"%",r:t.value.style.legend.percentage.rounding})}})),_=e.computed(()=>y.value.filter((l,n)=>!d.value.includes(n)));function T(l){d.value.includes(l)?d.value=d.value.filter(n=>n!==l):d.value.length<p.value.length-1&&d.value.push(l)}const h=e.computed(()=>{let l=0;const n=[];for(let o=0;o<_.value.length;o+=1)n.push({..._.value[o],start:l}),l+=_.value[o].width;return n}),q=D;function z(l,n){q("selectDatapoint",{datapoint:l,index:n})}const w=e.ref(null),k=e.ref(!1),m=e.ref(null);function O({datapoint:l,seriesIndex:n}){if(!t.value.style.tooltip.show)return;w.value={datapoint:l,seriesIndex:n,config:t.value,series:y.value},b.value=!0,m.value=n;const o=t.value.style.tooltip.customFormat;if(a.isFunction(o))try{const r=o({seriesIndex:n,datapoint:l,series:y.value,config:t.value});typeof r=="string"&&(C.value=r,k.value=!0)}catch{console.warn("Custom format cannot be applied."),k.value=!1}if(!k.value){let r="";r+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.style.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`,r+=`<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="${l.color}"/></svg>`,r+=`<b>${l.proportionLabel}</b>`,r+=`<span>(${a.applyDataLabel(t.value.style.legend.value.formatter,l.value,a.dataLabel({p:t.value.style.legend.value.prefix,v:l.value,s:t.value.style.legend.value.suffix,r:t.value.style.legend.value.rounding}),{datapoint:l,seriesIndex:n})})</span>`,C.value=`<div>${r}</div>`}}return(l,n)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-spark-stackbar",ref_key:"sparkstackbarChart",ref:B,style:e.normalizeStyle(`width:100%; background:${t.value.style.backgroundColor}`)},[t.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:calc(100% - 12px);background:transparent;margin:0 auto;margin:${t.value.style.title.margin};padding: 0 6px;text-align:${t.value.style.title.textAlign}`)},[e.createElementVNode("div",{class:"atom-title",style:e.normalizeStyle(`font-size:${t.value.style.title.fontSize}px;color:${t.value.style.title.color};font-weight:${t.value.style.title.bold?"bold":"normal"}`)},e.toDisplayString(t.value.style.title.text),5),t.value.style.title.subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,class:"atom-subtitle",style:e.normalizeStyle(`font-size:${t.value.style.title.subtitle.fontSize}px;color:${t.value.style.title.subtitle.color};font-weight:${t.value.style.title.subtitle.bold?"bold":"normal"}`)},e.toDisplayString(t.value.style.title.subtitle.text),5)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0),x.value?(e.openBlock(),e.createElementBlock("svg",{key:1,ref_key:"svgRef",ref:A,xmlns:e.unref(a.XMLNS),width:"100%",viewBox:`0 0 ${c.value.width} ${c.value.height}`},[e.createVNode(M._sfc_main),e.createElementVNode("defs",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,(o,r)=>(e.openBlock(),e.createElementBlock("linearGradient",{key:`stack_gradient_${r}`,gradientTransform:"rotate(90)",id:`stack_gradient_${r}_${S.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":o.color},null,8,Y),e.createElementVNode("stop",{offset:"50%","stop-color":e.unref(a.setOpacity)(e.unref(a.shiftHue)(o.color,.05),100-t.value.style.bar.gradient.intensity)},null,8,G),e.createElementVNode("stop",{offset:"100%","stop-color":o.color},null,8,X)],8,W))),128)),e.createElementVNode("clipPath",J,[e.createElementVNode("rect",{x:"0.005",y:"-2",width:"0.99",height:"5",rx:"3",ry:"3",fill:t.value.style.backgroundColor},null,8,K)])]),N.value>0?(e.openBlock(),e.createElementBlock("g",Q,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,(o,r)=>(e.openBlock(),e.createElementBlock("rect",{key:`stack_underlayer_${r}`,x:o.start,y:0,width:o.width,height:c.value.height,fill:t.value.style.bar.gradient.underlayerColor,class:e.normalizeClass({animated:!g.value}),style:e.normalizeStyle({opacity:m.value!==null&&t.value.style.tooltip.show?m.value===r?1:.5:1})},null,14,Z))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,(o,r)=>(e.openBlock(),e.createElementBlock("rect",{key:`stack_${r}`,x:o.start,y:0,width:o.width,height:c.value.height,fill:t.value.style.bar.gradient.show?`url(#stack_gradient_${r}_${S.value})`:o.color,stroke:t.value.style.backgroundColor,"stroke-linecap":"round",class:e.normalizeClass({animated:!g.value}),style:e.normalizeStyle({opacity:m.value!==null&&t.value.style.tooltip.show?m.value===r?1:.5:1})},null,14,ee))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,(o,r)=>(e.openBlock(),e.createElementBlock("rect",{key:`stack_trap_${r}`,onClick:()=>z(o,r),x:o.start,y:0,width:o.width,height:c.value.height,fill:"transparent",stroke:"none",class:e.normalizeClass({animated:!g.value}),onMouseenter:()=>O({datapoint:o,seriesIndex:r}),onMouseleave:n[0]||(n[0]=v=>{b.value=!1,m.value=null})},null,42,te))),128))])):(e.openBlock(),e.createElementBlock("rect",{key:1,x:2,y:1,width:c.value.width-4,height:c.value.height-2,stroke:"#CCCCCC","stroke-width":"2",fill:"transparent",rx:(c.value.height-4)/2},null,8,le))],8,I)):e.createCommentVNode("",!0),x.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(U.default,{key:2,config:{type:"sparkStackbar",style:{backgroundColor:t.value.style.backgroundColor,sparkStackbar:{color:"#CCCCCC"}}}},null,8,["config"])),t.value.style.legend.show?(e.openBlock(),e.createElementBlock("div",{key:3,style:e.normalizeStyle(`background:transparent;margin:0 auto;margin:${t.value.style.legend.margin};justify-content:${t.value.style.legend.textAlign==="left"?"flex-start":t.value.style.legend.textAlign==="right"?"flex-end":"center"}`),class:"vue-ui-sparkstackbar-legend"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,(o,r)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(`font-size:${t.value.style.legend.fontSize}px;`),class:e.normalizeClass({"vue-ui-sparkstackbar-legend-item":!0,"vue-ui-sparkstackbar-legend-item-unselected":d.value.includes(r)}),onClick:v=>{T(r),z(o,r)}},[e.createElementVNode("div",ae,[(e.openBlock(),e.createElementBlock("svg",{height:`${t.value.style.legend.fontSize}px`,width:`${t.value.style.legend.fontSize}px`,viewBox:"0 0 10 10"},[e.createElementVNode("circle",{cx:5,cy:5,r:5,fill:o.color},null,8,ne)],8,re)),e.createElementVNode("span",{style:e.normalizeStyle(`color:${t.value.style.legend.name.color}; font-weight:${t.value.style.legend.name.bold?"bold":"normal"}`)},e.toDisplayString(o.name),5),t.value.style.legend.percentage.show?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle(`font-weight:${t.value.style.legend.percentage.bold?"bold":"normal"};color:${t.value.style.legend.percentage.color}`)},e.toDisplayString(d.value.includes(r)?" - ":o.proportionLabel),5)):e.createCommentVNode("",!0),t.value.style.legend.value.show?(e.openBlock(),e.createElementBlock("span",{key:1,style:e.normalizeStyle(`font-weight:${t.value.style.legend.value.bold?"bold":"normal"};color:${t.value.style.legend.value.color}`)}," ("+e.toDisplayString(e.unref(a.applyDataLabel)(t.value.style.legend.value.formatter,o.value,e.unref(a.dataLabel)({p:t.value.style.legend.value.prefix,v:o.value,s:t.value.style.legend.value.suffix,r:t.value.style.legend.value.rounding}),{datapoint:o,seriesIndex:r}))+") ",5)):e.createCommentVNode("",!0)])],14,oe))),256))],4)):e.createCommentVNode("",!0),e.createVNode(j._sfc_main,{show:b.value&&t.value.style.tooltip.show,parent:B.value,backgroundColor:t.value.style.tooltip.backgroundColor,color:t.value.style.tooltip.color,fontSize:t.value.style.tooltip.fontSize,borderRadius:t.value.style.tooltip.borderRadius,borderColor:t.value.style.tooltip.borderColor,borderWidth:t.value.style.tooltip.borderWidth,backgroundOpacity:t.value.style.tooltip.backgroundOpacity,position:t.value.style.tooltip.position,content:C.value,isCustom:k.value,offsetY:-124+t.value.style.tooltip.offsetY,blockShiftY:!0},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...w.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...w.value})),void 0,!0)]),_:3},8,["show","parent","backgroundColor","color","fontSize","borderRadius","borderColor","borderWidth","backgroundOpacity","position","content","isCustom","offsetY"]),l.$slots.source?(e.openBlock(),e.createElementBlock("div",se,[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0)],4))}},ie=H._export_sfc(ue,[["__scopeId","data-v-7955299f"]]);exports.default=ie;