vue-data-ui 2.4.1 → 2.4.3

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 (218) hide show
  1. package/README.md +44 -44
  2. package/dist/{Arrow-BIs_9yK8.js → Arrow-C7lNL7sY.js} +1 -1
  3. package/dist/{Arrow-DpMf3yPs.cjs → Arrow-Dz6AomGr.cjs} +1 -1
  4. package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-BbvG1AlW.js} +7 -4
  5. package/dist/BaseIcon-uALK38Ov.cjs +1 -0
  6. package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DTzynbND.cjs} +1 -1
  7. package/dist/{DataTable-DL2agEJ3.js → DataTable-DYqC2pqu.js} +2 -2
  8. package/dist/{Legend-Dj9KiaLv.cjs → Legend-Cgw4lO2O.cjs} +1 -1
  9. package/dist/{Legend-DXLiSLHd.js → Legend-DNgTCgEK.js} +1 -1
  10. package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
  11. package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-VkaUzgmt.js} +1 -1
  12. package/dist/PenAndPaper-CDFVOo7X.cjs +1 -0
  13. package/dist/PenAndPaper-DAZYA8Ew.js +269 -0
  14. package/dist/{Shape-CO_Ak9Zm.js → Shape-Bwon0l0g.js} +1 -1
  15. package/dist/{Shape-7EC2UKDK.cjs → Shape-D2Dpshg1.cjs} +1 -1
  16. package/dist/{Slicer-BZfUZr1J.js → Slicer-TfpN2Cr4.js} +3 -3
  17. package/dist/{Slicer-CLAVjSQP.cjs → Slicer-uSjfNJjG.cjs} +1 -1
  18. package/dist/{Title-C-lm3Mkl.cjs → Title-0Tp4hZ4u.cjs} +1 -1
  19. package/dist/{Title-DYNLqCCT.js → Title-C5pIfQAz.js} +1 -1
  20. package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
  21. package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cz24YLfw.js} +1 -1
  22. package/dist/{index-DDXisDKy.js → index-Bya_q1J-.js} +883 -842
  23. package/dist/index-eFox7weK.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +22 -17
  26. package/dist/types/vue-data-ui.d.ts +22 -17
  27. package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-B33hazbH.js} +1 -1
  28. package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
  29. package/dist/usePrinter-CSRFnDBU.cjs +1 -0
  30. package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-CiHd1FwD.js} +230 -185
  31. package/dist/useResponsive-BY8tgM1n.js +188 -0
  32. package/dist/useResponsive-CodiGUOE.cjs +1 -0
  33. package/dist/vue-data-ui-BTtxyUc3.cjs +9 -0
  34. package/dist/vue-data-ui-Bduq4f2p.js +261 -0
  35. package/dist/vue-data-ui.cjs +1 -1
  36. package/dist/vue-data-ui.js +1 -1
  37. package/dist/vue-ui-3d-bar-B-P7PMHs.cjs +19 -0
  38. package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BUEq_VdY.js} +421 -390
  39. package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
  40. package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
  41. package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CH72tAMb.js} +255 -222
  42. package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
  43. package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-DPeJ2its.js} +1 -1
  44. package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
  45. package/dist/vue-ui-bullet-CtP3MlUT.js +464 -0
  46. package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
  47. package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
  48. package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DDil13a0.js} +278 -245
  49. package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
  50. package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
  51. package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-BczSJF6S.js} +322 -291
  52. package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
  53. package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
  55. package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
  56. package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
  57. package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
  58. package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
  59. package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
  60. package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-DUcp-fat.js} +376 -343
  61. package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
  62. package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-C_YMbTwq.js} +375 -344
  63. package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
  64. package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Buwngz_V.js} +294 -261
  65. package/dist/vue-ui-flow-Bz3c0K5P.js +515 -0
  66. package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
  67. package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-Cjh0XGTX.js} +212 -181
  68. package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
  69. package/dist/vue-ui-gauge-B1UvGkQa.js +527 -0
  70. package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
  71. package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
  72. package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
  73. package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-C-poazUw.js} +308 -277
  74. package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
  75. package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
  76. package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
  77. package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
  78. package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
  79. package/dist/vue-ui-molecule-BaJpDZND.js +805 -0
  80. package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
  81. package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-BUNDwsEI.js} +259 -228
  82. package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +1 -0
  83. package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +17 -0
  84. package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-mDy2hXa6.js} +371 -338
  85. package/dist/vue-ui-onion-DwFG3HAI.js +650 -0
  86. package/dist/vue-ui-onion-GWNoZRhw.cjs +5 -0
  87. package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +8 -0
  88. package/dist/vue-ui-parallel-coordinate-plot-ImET_zeo.js +719 -0
  89. package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-BeveRihK.js} +359 -326
  90. package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
  91. package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-DAhllTfa.js} +585 -552
  92. package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +15 -0
  93. package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
  94. package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-BllatzRa.js} +279 -246
  95. package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
  96. package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-D1ykV4xO.js} +2 -2
  97. package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
  98. package/dist/vue-ui-relation-circle-xv2l5Be9.js +358 -0
  99. package/dist/vue-ui-rings-B-ZcX6y1.js +602 -0
  100. package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
  101. package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-DG43ck1g.js} +440 -407
  102. package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
  103. package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
  104. package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
  105. package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
  106. package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
  107. package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
  108. package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
  109. package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
  110. package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
  111. package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
  112. package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
  113. package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
  114. package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
  115. package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-DRIKK6Ym.js} +74 -67
  116. package/dist/vue-ui-sparkhistogram-DnY4-Sdn.cjs +1 -0
  117. package/dist/vue-ui-sparkline-CAEs-gtK.cjs +1 -0
  118. package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
  119. package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
  120. package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
  121. package/dist/vue-ui-stackbar-ByOuJSdM.js +947 -0
  122. package/dist/vue-ui-stackbar-wun4S3C0.cjs +6 -0
  123. package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-CMD0MSqY.js} +297 -264
  124. package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
  125. package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-B75DJ39t.js} +1 -1
  126. package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
  127. package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-BO2ugWqD.js} +55 -48
  128. package/dist/vue-ui-table-heatmap-Ce93TyBF.cjs +1 -0
  129. package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
  130. package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
  131. package/dist/vue-ui-thermometer-Pq4PvSIP.js +447 -0
  132. package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
  133. package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
  134. package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
  135. package/dist/vue-ui-tiremarks-CU9HJIqf.js +310 -0
  136. package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
  137. package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
  138. package/dist/vue-ui-treemap-DY-lRAhC.js +825 -0
  139. package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
  140. package/dist/vue-ui-vertical-bar-CtnIKsM1.js +861 -0
  141. package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
  142. package/dist/vue-ui-waffle-reOsx-gJ.js +791 -0
  143. package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
  144. package/dist/vue-ui-wheel-kYxny3vn.js +291 -0
  145. package/dist/vue-ui-word-cloud-DbMqrHAf.js +607 -0
  146. package/dist/vue-ui-word-cloud-DwLY4QdB.cjs +1 -0
  147. package/dist/vue-ui-xy-CGWzriYn.cjs +3 -0
  148. package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-B0HTR7OV.js} +441 -408
  149. package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
  150. package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-rbACig0h.js} +824 -791
  151. package/package.json +1 -1
  152. package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
  153. package/dist/index-C7_6YjWN.cjs +0 -9
  154. package/dist/usePrinter-8EP4iaGm.cjs +0 -1
  155. package/dist/useResponsive-B3TrDDIG.cjs +0 -1
  156. package/dist/useResponsive-NZB-WLRF.js +0 -187
  157. package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
  158. package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
  159. package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
  160. package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
  161. package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
  162. package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
  163. package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
  164. package/dist/vue-ui-carousel-table-C0GDDSW9.cjs +0 -1
  165. package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
  166. package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
  167. package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
  168. package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
  169. package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
  170. package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
  171. package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
  172. package/dist/vue-ui-gauge-BXiy515T.js +0 -494
  173. package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
  174. package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
  175. package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
  176. package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
  177. package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
  178. package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
  179. package/dist/vue-ui-onion-D9o6Rcgu.js +0 -617
  180. package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
  181. package/dist/vue-ui-parallel-coordinate-plot-BcYrYXhG.js +0 -686
  182. package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
  183. package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
  184. package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
  185. package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
  186. package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
  187. package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
  188. package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
  189. package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
  190. package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
  191. package/dist/vue-ui-skeleton-CGV1dEUD.cjs +0 -41
  192. package/dist/vue-ui-spark-trend-BfoEoJEy.cjs +0 -1
  193. package/dist/vue-ui-sparkbar-DB2DeXti.cjs +0 -1
  194. package/dist/vue-ui-sparkgauge-CJepIY2u.cjs +0 -1
  195. package/dist/vue-ui-sparkhistogram-B7B36LLT.cjs +0 -1
  196. package/dist/vue-ui-sparkline-BcqmwDAb.cjs +0 -1
  197. package/dist/vue-ui-sparkstackbar-DT3aKNeV.cjs +0 -1
  198. package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
  199. package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
  200. package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
  201. package/dist/vue-ui-table-heatmap-Chvdf2Gi.cjs +0 -1
  202. package/dist/vue-ui-table-sparkline-DUUYQ5dH.cjs +0 -1
  203. package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
  204. package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
  205. package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
  206. package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
  207. package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
  208. package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
  209. package/dist/vue-ui-vertical-bar-CieqHVD5.js +0 -828
  210. package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
  211. package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
  212. package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
  213. package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
  214. package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
  215. package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
  216. package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
  217. package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
  218. package/dist/vue-ui-xy-canvas-DHs5sb3t.cjs +0 -9
@@ -1,11 +1,11 @@
1
- import { computed as v, ref as k, watch as E, onMounted as ue, openBlock as n, createElementBlock as i, normalizeStyle as N, renderSlot as O, normalizeProps as se, guardReactiveProps as oe, createElementVNode as f, toDisplayString as R, createCommentVNode as y, unref as c, createVNode as ne, Fragment as W, renderList as P, createBlock as re } from "vue";
2
- import { u as ie, c as de, t as ve, o as ce, e as j, g as he, w as C, Y as ye, Z as fe, X as pe, s as I, R as U, i as X, f as Z } from "./index-DDXisDKy.js";
3
- import { u as q } from "./useNestedProp-S1UXxUgm.js";
4
- import ge from "./vue-ui-skeleton-B2sRnIXX.js";
5
- import { t as me, u as ke } from "./useResponsive-NZB-WLRF.js";
6
- import { _ as _e } from "./PackageVersion-DtnhR89q.js";
7
- import { _ as be } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
- const xe = ["id"], we = ["xmlns", "viewBox"], Le = ["id"], $e = ["stop-color"], Ne = ["stop-color"], Ce = ["id"], Ie = ["stop-color"], Me = ["stop-color"], Ve = ["id"], ze = ["stop-color"], Se = ["stop-color"], We = { key: 0 }, Pe = ["d", "fill"], Ae = ["d", "fill"], De = ["d", "stroke", "stroke-width"], Fe = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ge = ["x", "y", "width", "height", "fill", "rx"], Te = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Be = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], Ee = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Oe = ["x", "y", "font-size", "font-weight", "fill"], Re = ["x", "y", "height", "width", "onMouseenter", "onClick"], je = {
1
+ import { computed as v, ref as m, watch as R, onMounted as se, openBlock as o, createElementBlock as n, normalizeStyle as N, renderSlot as W, normalizeProps as oe, guardReactiveProps as re, createElementVNode as f, toDisplayString as j, createCommentVNode as y, unref as c, createVNode as ne, Fragment as P, renderList as A, createBlock as ie } from "vue";
2
+ import { u as de, c as ve, t as ce, o as he, e as U, g as ye, w as C, Y as fe, Z as pe, X as ge, s as I, R as X, i as Z, f as q } from "./index-Bya_q1J-.js";
3
+ import { u as Y } from "./useNestedProp-B33hazbH.js";
4
+ import me from "./vue-ui-skeleton-BYssP0K4.js";
5
+ import { t as ke, u as be } from "./useResponsive-BY8tgM1n.js";
6
+ import { _ as _e } from "./PackageVersion-VkaUzgmt.js";
7
+ import { _ as xe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
+ const we = ["id"], Le = ["xmlns", "viewBox"], $e = ["id"], Ne = ["stop-color"], Ce = ["stop-color"], Ie = ["id"], Me = ["stop-color"], Ve = ["stop-color"], ze = ["id"], Se = ["stop-color"], We = ["stop-color"], Pe = { key: 0 }, Ae = ["d", "fill"], De = ["d", "fill"], Fe = ["d", "stroke", "stroke-width"], Ge = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Te = ["x", "y", "width", "height", "fill", "rx"], Be = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ee = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], Oe = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Re = ["x", "y", "font-size", "font-weight", "fill"], je = ["x", "y", "height", "width", "onMouseenter", "onClick"], Ue = {
9
9
  __name: "vue-ui-sparkline",
10
10
  props: {
11
11
  config: {
@@ -30,34 +30,34 @@ const xe = ["id"], we = ["xmlns", "viewBox"], Le = ["id"], $e = ["stop-color"],
30
30
  }
31
31
  },
32
32
  emits: ["hoverIndex", "selectDatapoint"],
33
- setup(b, { emit: M }) {
34
- const r = b, { vue_ui_sparkline: Y } = ie(), L = v(() => !!r.dataset && r.dataset.length), p = k(de()), V = k(null), A = k(null), e = v({
35
- get: () => D(),
33
+ setup(_, { emit: M }) {
34
+ const i = _, { vue_ui_sparkline: H } = de(), L = v(() => !!i.dataset && i.dataset.length), p = m(ve()), V = m(null), D = m(null), F = m(null), e = v({
35
+ get: () => G(),
36
36
  set: (t) => t
37
37
  });
38
- function D() {
39
- const t = q({
40
- userConfig: r.config,
41
- defaultConfig: Y
38
+ function G() {
39
+ const t = Y({
40
+ userConfig: i.config,
41
+ defaultConfig: H
42
42
  });
43
43
  return t.theme ? {
44
- ...q({
45
- userConfig: ve.vue_ui_sparkline[t.theme] || r.config,
44
+ ...Y({
45
+ userConfig: ce.vue_ui_sparkline[t.theme] || i.config,
46
46
  defaultConfig: t
47
47
  })
48
48
  } : t;
49
49
  }
50
- E(() => r.config, (t) => {
51
- e.value = D(), G(), l.value.chartWidth = e.value.style.chartWidth;
52
- }, { deep: !0 }), E(() => r.dataset, (t) => {
53
- _.value = r.dataset.map((u) => ({
50
+ R(() => i.config, (t) => {
51
+ e.value = G(), B(), l.value.chartWidth = e.value.style.chartWidth;
52
+ }, { deep: !0 }), R(() => i.dataset, (t) => {
53
+ b.value = i.dataset.map((u) => ({
54
54
  ...u,
55
55
  value: [void 0].includes(u.value) ? null : u.value
56
56
  }));
57
57
  }, { deep: !0 });
58
- const _ = k(H());
59
- function H() {
60
- return r.dataset.map((t) => e.value.style.animation.show ? {
58
+ const b = m(J());
59
+ function J() {
60
+ return i.dataset.map((t) => e.value.style.animation.show ? {
61
61
  ...t,
62
62
  value: null
63
63
  } : {
@@ -65,30 +65,30 @@ const xe = ["id"], we = ["xmlns", "viewBox"], Le = ["id"], $e = ["stop-color"],
65
65
  value: [void 0].includes(t.value) ? null : t.value
66
66
  });
67
67
  }
68
- const F = k(null);
69
- ue(() => {
70
- if (G(), e.value.style.animation.show && r.dataset.length > 1) {
68
+ const T = m(null);
69
+ se(() => {
70
+ if (B(), e.value.style.animation.show && i.dataset.length > 1) {
71
71
  let a = function() {
72
- u < r.dataset.length ? (_.value.push(r.dataset[u]), setTimeout(() => {
72
+ u < i.dataset.length ? (b.value.push(i.dataset[u]), setTimeout(() => {
73
73
  requestAnimationFrame(a);
74
- }, t)) : _.value = r.dataset, u += 1;
74
+ }, t)) : b.value = i.dataset, u += 1;
75
75
  };
76
- _.value = [];
77
- const t = e.value.style.animation.animationFrames / r.dataset.length;
76
+ b.value = [];
77
+ const t = e.value.style.animation.animationFrames / i.dataset.length;
78
78
  let u = 0;
79
79
  a();
80
80
  }
81
81
  });
82
- function G() {
83
- if (ce(r.dataset) ? j({
82
+ function B() {
83
+ if (he(i.dataset) ? U({
84
84
  componentName: "VueUiSparkline",
85
85
  type: "dataset"
86
- }) : r.dataset.forEach((t, u) => {
87
- he({
86
+ }) : i.dataset.forEach((t, u) => {
87
+ ye({
88
88
  datasetObject: t,
89
89
  requiredAttributes: ["period", "value"]
90
90
  }).forEach((a) => {
91
- j({
91
+ U({
92
92
  componentName: "VueUiSparkline",
93
93
  type: "datasetSerieAttribute",
94
94
  property: a,
@@ -96,37 +96,38 @@ const xe = ["id"], we = ["xmlns", "viewBox"], Le = ["id"], $e = ["stop-color"],
96
96
  });
97
97
  });
98
98
  }), e.value.responsive) {
99
- const t = me(() => {
100
- const { width: u, height: a } = ke({
99
+ const t = ke(() => {
100
+ const { width: u, height: a } = be({
101
101
  chart: V.value,
102
- title: e.value.style.title.show && r.showInfo ? A.value : null
102
+ title: e.value.style.title.show && i.showInfo ? D.value : null,
103
+ source: F.value
103
104
  });
104
105
  l.value.width = u, l.value.height = a, l.value.chartWidth = e.value.style.chartWidth / 500 * u, l.value.padding = 0.06 * u;
105
106
  });
106
- F.value = new ResizeObserver(t), F.value.observe(V.value.parentNode);
107
+ T.value = new ResizeObserver(t), T.value.observe(V.value.parentNode);
107
108
  }
108
109
  }
109
- const l = k({
110
+ const l = m({
110
111
  height: 80,
111
112
  width: 500,
112
113
  chartWidth: e.value.style.chartWidth,
113
114
  padding: 30
114
- }), J = k(6), s = v(() => ({
115
+ }), K = m(6), s = v(() => ({
115
116
  top: 12,
116
117
  left: 0,
117
118
  right: l.value.width,
118
119
  bottom: l.value.height - 3,
119
- start: r.showInfo && e.value.style.dataLabel.show && e.value.style.dataLabel.position === "left" ? l.value.width - l.value.chartWidth : l.value.padding,
120
- width: r.showInfo && e.value.style.dataLabel.show ? l.value.chartWidth : l.value.width - l.value.padding,
120
+ start: i.showInfo && e.value.style.dataLabel.show && e.value.style.dataLabel.position === "left" ? l.value.width - l.value.chartWidth : l.value.padding,
121
+ width: i.showInfo && e.value.style.dataLabel.show ? l.value.chartWidth : l.value.width - l.value.padding,
121
122
  height: l.value.height - 12
122
- })), z = v(() => Math.min(..._.value.map((t) => isNaN(t.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t.value) ? 0 : t.value || 0))), K = v(() => Math.max(..._.value.map((t) => isNaN(t.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t.value) ? 0 : t.value || 0))), x = v(() => {
123
+ })), z = v(() => Math.min(...b.value.map((t) => isNaN(t.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t.value) ? 0 : t.value || 0))), Q = v(() => Math.max(...b.value.map((t) => isNaN(t.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t.value) ? 0 : t.value || 0))), x = v(() => {
123
124
  const t = z.value >= 0 ? 0 : z.value;
124
125
  return Math.abs(t);
125
- }), Q = v(() => K.value + x.value + J.value), $ = v(() => s.value.bottom - s.value.height * S(x.value));
126
+ }), ee = v(() => Q.value + x.value + K.value), $ = v(() => s.value.bottom - s.value.height * S(x.value));
126
127
  function S(t) {
127
- return t / Q.value;
128
+ return t / ee.value;
128
129
  }
129
- const g = v(() => r.dataset.length - 1), o = v(() => _.value.map((t, u) => {
130
+ const g = v(() => i.dataset.length - 1), r = v(() => b.value.map((t, u) => {
130
131
  const a = isNaN(t.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t.value) ? 0 : t.value || 0;
131
132
  return {
132
133
  absoluteValue: a,
@@ -139,30 +140,30 @@ const xe = ["id"], we = ["xmlns", "viewBox"], Le = ["id"], $e = ["stop-color"],
139
140
  color: w.value ? e.value.style.bar.color : e.value.style.area.useGradient ? C(e.value.style.line.color, 0.05 * (1 - u / g.value)) : e.value.style.line.color,
140
141
  width: s.value.width / (g.value + 1) > l.padding ? l.padding : s.value.width / (g.value + 1)
141
142
  };
142
- })), ee = v(() => {
143
- const t = { x: o.value[0].x, y: l.value.height - 6 }, u = { x: o.value[o.value.length - 1].x, y: l.value.height - 6 }, a = [];
144
- return o.value.forEach((d) => {
143
+ })), te = v(() => {
144
+ const t = { x: r.value[0].x, y: l.value.height - 6 }, u = { x: r.value[r.value.length - 1].x, y: l.value.height - 6 }, a = [];
145
+ return r.value.forEach((d) => {
145
146
  a.push(`${d.x},${d.y} `);
146
147
  }), [t.x, t.y, ...a, u.x, u.y].toString();
147
- }), h = k(void 0);
148
- function te(t, u) {
148
+ }), h = m(void 0);
149
+ function ae(t, u) {
149
150
  h.value = t, M("hoverIndex", { index: u });
150
151
  }
151
- function ae() {
152
+ function le() {
152
153
  h.value = void 0, M("hoverIndex", { index: void 0 });
153
154
  }
154
- const m = v(() => {
155
+ const k = v(() => {
155
156
  if (L.value) {
156
- const t = o.value.map((a) => a.absoluteValue), u = t.reduce((a, d) => a + d, 0);
157
+ const t = r.value.map((a) => a.absoluteValue), u = t.reduce((a, d) => a + d, 0);
157
158
  return {
158
- latest: o.value[o.value.length - 1].absoluteValue,
159
+ latest: r.value[r.value.length - 1].absoluteValue,
159
160
  sum: u,
160
- average: u / o.value.length,
161
- median: ye(t),
162
- trend: fe(o.value.map(({ x: a, y: d, absoluteValue: B }) => ({
161
+ average: u / r.value.length,
162
+ median: fe(t),
163
+ trend: pe(r.value.map(({ x: a, y: d, absoluteValue: O }) => ({
163
164
  x: a,
164
165
  y: d,
165
- value: B
166
+ value: O
166
167
  }))).trend
167
168
  };
168
169
  } else
@@ -173,39 +174,39 @@ const xe = ["id"], we = ["xmlns", "viewBox"], Le = ["id"], $e = ["stop-color"],
173
174
  median: null,
174
175
  trend: null
175
176
  };
176
- }), T = v(() => L.value ? e.value.style.dataLabel.valueType === "latest" ? m.value.latest : e.value.style.dataLabel.valueType === "sum" ? m.value.sum : e.value.style.dataLabel.valueType === "average" ? m.value.average : 0 : 0), w = v(() => e.value.type && e.value.type === "bar");
177
- function le(t, u) {
177
+ }), E = v(() => L.value ? e.value.style.dataLabel.valueType === "latest" ? k.value.latest : e.value.style.dataLabel.valueType === "sum" ? k.value.sum : e.value.style.dataLabel.valueType === "average" ? k.value.average : 0 : 0), w = v(() => e.value.type && e.value.type === "bar");
178
+ function ue(t, u) {
178
179
  M("selectDatapoint", { datapoint: t, index: u });
179
180
  }
180
- return (t, u) => (n(), i("div", {
181
+ return (t, u) => (o(), n("div", {
181
182
  ref_key: "sparklineChart",
182
183
  ref: V,
183
184
  class: "vue-ui-sparkline",
184
185
  id: p.value,
185
186
  style: N(`width:100%;font-family:${e.value.style.fontFamily}`)
186
187
  }, [
187
- O(t.$slots, "before", se(oe({
188
+ W(t.$slots, "before", oe(re({
188
189
  selected: h.value,
189
- latest: m.value.latest,
190
- sum: m.value.sum,
191
- average: m.value.average,
192
- median: m.value.median,
193
- trend: m.value.trend
190
+ latest: k.value.latest,
191
+ sum: k.value.sum,
192
+ average: k.value.average,
193
+ median: k.value.median,
194
+ trend: k.value.trend
194
195
  })), void 0, !0),
195
- e.value.style.title.show && b.showInfo ? (n(), i("div", {
196
+ e.value.style.title.show && _.showInfo ? (o(), n("div", {
196
197
  key: 0,
197
198
  ref_key: "chartTitle",
198
- ref: A,
199
+ ref: D,
199
200
  class: "vue-ui-sparkline-title",
200
201
  style: N(`display:flex;align-items:center;width:100%;color:${e.value.style.title.color};background:${e.value.style.backgroundColor};justify-content:${e.value.style.title.textAlign === "left" ? "flex-start" : e.value.style.title.textAlign === "right" ? "flex-end" : "center"};height:${e.value.style.title.fontSize * 2}px;font-size:${e.value.style.title.fontSize}px;font-weight:${e.value.style.title.bold ? "bold" : "normal"};`)
201
202
  }, [
202
203
  f("span", {
203
204
  style: N(`padding:${e.value.style.title.textAlign === "left" ? "0 0 0 12px" : e.value.style.title.textAlign === "right" ? "0 12px 0 0" : "0"}`)
204
- }, R(h.value ? h.value.period : e.value.style.title.text), 5)
205
+ }, j(h.value ? h.value.period : e.value.style.title.text), 5)
205
206
  ], 4)) : y("", !0),
206
- L.value ? (n(), i("svg", {
207
+ L.value ? (o(), n("svg", {
207
208
  key: 1,
208
- xmlns: c(pe),
209
+ xmlns: c(ge),
209
210
  viewBox: `0 0 ${l.value.width} ${l.value.height}`,
210
211
  style: N(`background:${e.value.style.backgroundColor};overflow:visible`)
211
212
  }, [
@@ -221,12 +222,12 @@ const xe = ["id"], we = ["xmlns", "viewBox"], Le = ["id"], $e = ["stop-color"],
221
222
  f("stop", {
222
223
  offset: "0%",
223
224
  "stop-color": c(I)(c(C)(e.value.style.area.color, 0.05), e.value.style.area.opacity)
224
- }, null, 8, $e),
225
+ }, null, 8, Ne),
225
226
  f("stop", {
226
227
  offset: "100%",
227
228
  "stop-color": c(I)(e.value.style.area.color, e.value.style.area.opacity)
228
- }, null, 8, Ne)
229
- ], 8, Le),
229
+ }, null, 8, Ce)
230
+ ], 8, $e),
230
231
  f("linearGradient", {
231
232
  x2: "0%",
232
233
  y2: "100%",
@@ -235,12 +236,12 @@ const xe = ["id"], we = ["xmlns", "viewBox"], Le = ["id"], $e = ["stop-color"],
235
236
  f("stop", {
236
237
  offset: "0%",
237
238
  "stop-color": e.value.style.bar.color
238
- }, null, 8, Ie),
239
+ }, null, 8, Me),
239
240
  f("stop", {
240
241
  offset: "100%",
241
242
  "stop-color": c(C)(e.value.style.bar.color, 0.05)
242
- }, null, 8, Me)
243
- ], 8, Ce),
243
+ }, null, 8, Ve)
244
+ ], 8, Ie),
244
245
  f("linearGradient", {
245
246
  x2: "0%",
246
247
  y2: "100%",
@@ -249,46 +250,46 @@ const xe = ["id"], we = ["xmlns", "viewBox"], Le = ["id"], $e = ["stop-color"],
249
250
  f("stop", {
250
251
  offset: "0%",
251
252
  "stop-color": c(C)(e.value.style.bar.color, 0.05)
252
- }, null, 8, ze),
253
+ }, null, 8, Se),
253
254
  f("stop", {
254
255
  offset: "100%",
255
256
  "stop-color": e.value.style.bar.color
256
- }, null, 8, Se)
257
- ], 8, Ve)
257
+ }, null, 8, We)
258
+ ], 8, ze)
258
259
  ]),
259
- e.value.style.area.show && !w.value && o.value[0] ? (n(), i("g", We, [
260
- e.value.style.line.smooth ? (n(), i("path", {
260
+ e.value.style.area.show && !w.value && r.value[0] ? (o(), n("g", Pe, [
261
+ e.value.style.line.smooth ? (o(), n("path", {
261
262
  key: 0,
262
- d: `M ${o.value[0].x},${s.value.bottom} ${c(U)(o.value)} L ${o.value.at(-1).x},${s.value.bottom} Z`,
263
+ d: `M ${r.value[0].x},${s.value.bottom} ${c(X)(r.value)} L ${r.value.at(-1).x},${s.value.bottom} Z`,
263
264
  fill: e.value.style.area.useGradient ? `url(#sparkline_gradient_${p.value})` : c(I)(e.value.style.area.color, e.value.style.area.opacity)
264
- }, null, 8, Pe)) : (n(), i("path", {
265
+ }, null, 8, Ae)) : (o(), n("path", {
265
266
  key: 1,
266
- d: `M${ee.value}Z`,
267
+ d: `M${te.value}Z`,
267
268
  fill: e.value.style.area.useGradient ? `url(#sparkline_gradient_${p.value})` : c(I)(e.value.style.area.color, e.value.style.area.opacity)
268
- }, null, 8, Ae))
269
+ }, null, 8, De))
269
270
  ])) : y("", !0),
270
- e.value.style.line.smooth && !w.value ? (n(), i("path", {
271
+ e.value.style.line.smooth && !w.value ? (o(), n("path", {
271
272
  key: 1,
272
- d: `M ${c(U)(o.value)}`,
273
+ d: `M ${c(X)(r.value)}`,
273
274
  stroke: e.value.style.line.color,
274
275
  fill: "none",
275
276
  "stroke-width": e.value.style.line.strokeWidth,
276
277
  "stroke-linecap": "round"
277
- }, null, 8, De)) : y("", !0),
278
- (n(!0), i(W, null, P(o.value, (a, d) => (n(), i("g", null, [
279
- d < o.value.length - 1 && !e.value.style.line.smooth && !w.value ? (n(), i("line", {
278
+ }, null, 8, Fe)) : y("", !0),
279
+ (o(!0), n(P, null, A(r.value, (a, d) => (o(), n("g", null, [
280
+ d < r.value.length - 1 && !e.value.style.line.smooth && !w.value ? (o(), n("line", {
280
281
  key: 0,
281
282
  x1: a.x,
282
- x2: o.value[d + 1].x,
283
+ x2: r.value[d + 1].x,
283
284
  y1: a.y,
284
- y2: o.value[d + 1].y,
285
+ y2: r.value[d + 1].y,
285
286
  stroke: a.color,
286
287
  "stroke-width": e.value.style.line.strokeWidth,
287
288
  "stroke-linecap": "round",
288
289
  "stroke-linejoin": "round",
289
290
  "shape-rendering": "geometricPrecision"
290
- }, null, 8, Fe)) : y("", !0),
291
- w.value ? (n(), i("rect", {
291
+ }, null, 8, Ge)) : y("", !0),
292
+ w.value ? (o(), n("rect", {
292
293
  key: 1,
293
294
  x: a.x - a.width / 2,
294
295
  y: a.absoluteValue > 0 ? a.y : $.value,
@@ -296,8 +297,8 @@ const xe = ["id"], we = ["xmlns", "viewBox"], Le = ["id"], $e = ["stop-color"],
296
297
  height: Math.abs(a.y - $.value),
297
298
  fill: a.absoluteValue > 0 ? `url(#sparkline_bar_gradient_pos_${p.value})` : `url(#sparkline_bar_gradient_neg_${p.value})`,
298
299
  rx: e.value.style.bar.borderRadius
299
- }, null, 8, Ge)) : y("", !0),
300
- e.value.style.verticalIndicator.show && (h.value && a.id === h.value.id || b.selectedIndex === d) ? (n(), i("line", {
300
+ }, null, 8, Te)) : y("", !0),
301
+ e.value.style.verticalIndicator.show && (h.value && a.id === h.value.id || _.selectedIndex === d) ? (o(), n("line", {
301
302
  key: 2,
302
303
  x1: a.x,
303
304
  x2: a.x,
@@ -307,9 +308,9 @@ const xe = ["id"], we = ["xmlns", "viewBox"], Le = ["id"], $e = ["stop-color"],
307
308
  "stroke-width": e.value.style.verticalIndicator.strokeWidth,
308
309
  "stroke-linecap": "round",
309
310
  "stroke-dasharray": e.value.style.verticalIndicator.strokeDasharray || 0
310
- }, null, 8, Te)) : y("", !0)
311
+ }, null, 8, Be)) : y("", !0)
311
312
  ]))), 256)),
312
- z.value < 0 ? (n(), i("line", {
313
+ z.value < 0 ? (o(), n("line", {
313
314
  key: 2,
314
315
  x1: s.value.start,
315
316
  x2: s.value.start + s.value.width - 16,
@@ -319,9 +320,9 @@ const xe = ["id"], we = ["xmlns", "viewBox"], Le = ["id"], $e = ["stop-color"],
319
320
  "stroke-dasharray": e.value.style.zeroLine.strokeWidth * 2,
320
321
  "stroke-width": e.value.style.zeroLine.strokeWidth,
321
322
  "stroke-linecap": "round"
322
- }, null, 8, Be)) : y("", !0),
323
- e.value.style.plot.show ? (n(!0), i(W, { key: 3 }, P(o.value, (a, d) => (n(), i("g", null, [
324
- h.value && a.id === h.value.id || b.selectedIndex === d ? (n(), i("circle", {
323
+ }, null, 8, Ee)) : y("", !0),
324
+ e.value.style.plot.show ? (o(!0), n(P, { key: 3 }, A(r.value, (a, d) => (o(), n("g", null, [
325
+ h.value && a.id === h.value.id || _.selectedIndex === d ? (o(), n("circle", {
325
326
  key: 0,
326
327
  cx: a.x,
327
328
  cy: a.y,
@@ -329,39 +330,47 @@ const xe = ["id"], we = ["xmlns", "viewBox"], Le = ["id"], $e = ["stop-color"],
329
330
  fill: a.color,
330
331
  stroke: e.value.style.plot.stroke,
331
332
  "stroke-width": e.value.style.plot.strokeWidth
332
- }, null, 8, Ee)) : y("", !0)
333
+ }, null, 8, Oe)) : y("", !0)
333
334
  ]))), 256)) : y("", !0),
334
- b.showInfo && e.value.style.dataLabel.show ? (n(), i("text", {
335
+ _.showInfo && e.value.style.dataLabel.show ? (o(), n("text", {
335
336
  key: 4,
336
337
  x: e.value.style.dataLabel.position === "left" ? 12 + e.value.style.dataLabel.offsetX : s.value.width + 12 + e.value.style.dataLabel.offsetX,
337
338
  y: l.value.height / 2 + e.value.style.dataLabel.fontSize / 2.5 + e.value.style.dataLabel.offsetY,
338
339
  "font-size": e.value.style.dataLabel.fontSize,
339
340
  "font-weight": e.value.style.dataLabel.bold ? "bold" : "normal",
340
341
  fill: e.value.style.dataLabel.color
341
- }, R(h.value ? c(X)(
342
+ }, j(h.value ? c(Z)(
342
343
  e.value.style.dataLabel.formatter,
343
344
  h.value.absoluteValue,
344
- c(Z)({ p: e.value.style.dataLabel.prefix, v: h.value.absoluteValue, s: e.value.style.dataLabel.suffix, r: e.value.style.dataLabel.roundingValue }),
345
+ c(q)({ p: e.value.style.dataLabel.prefix, v: h.value.absoluteValue, s: e.value.style.dataLabel.suffix, r: e.value.style.dataLabel.roundingValue }),
345
346
  { datapoint: h.value }
346
- ) : c(X)(
347
+ ) : c(Z)(
347
348
  e.value.style.dataLabel.formatter,
348
- T.value,
349
- c(Z)({ p: e.value.style.dataLabel.prefix, v: T.value, s: e.value.style.dataLabel.suffix, r: e.value.style.dataLabel.roundingValue })
350
- )), 9, Oe)) : y("", !0),
351
- (n(!0), i(W, null, P(o.value, (a, d) => (n(), i("rect", {
349
+ E.value,
350
+ c(q)({ p: e.value.style.dataLabel.prefix, v: E.value, s: e.value.style.dataLabel.suffix, r: e.value.style.dataLabel.roundingValue })
351
+ )), 9, Re)) : y("", !0),
352
+ (o(!0), n(P, null, A(r.value, (a, d) => (o(), n("rect", {
352
353
  x: a.x - (s.value.width / (g.value + 1) > l.value.padding ? l.value.padding : s.value.width / (g.value + 1)) / 2,
353
354
  y: s.value.top - 6,
354
355
  height: s.value.height + 6,
355
356
  width: s.value.width / (g.value + 1) > l.value.padding ? l.value.padding : s.value.width / (g.value + 1),
356
357
  fill: "transparent",
357
- onMouseenter: (B) => te(a, d),
358
- onMouseleave: ae,
359
- onClick: () => le(a, d)
360
- }, null, 40, Re))), 256)),
361
- O(t.$slots, "svg", { svg: l.value }, void 0, !0)
362
- ], 12, we)) : y("", !0),
363
- L.value ? y("", !0) : (n(), re(ge, {
358
+ onMouseenter: (O) => ae(a, d),
359
+ onMouseleave: le,
360
+ onClick: () => ue(a, d)
361
+ }, null, 40, je))), 256)),
362
+ W(t.$slots, "svg", { svg: l.value }, void 0, !0)
363
+ ], 12, Le)) : y("", !0),
364
+ t.$slots.source ? (o(), n("div", {
364
365
  key: 2,
366
+ ref_key: "source",
367
+ ref: F,
368
+ dir: "auto"
369
+ }, [
370
+ W(t.$slots, "source", {}, void 0, !0)
371
+ ], 512)) : y("", !0),
372
+ L.value ? y("", !0) : (o(), ie(me, {
373
+ key: 3,
365
374
  config: {
366
375
  type: "sparkline",
367
376
  style: {
@@ -372,9 +381,9 @@ const xe = ["id"], we = ["xmlns", "viewBox"], Le = ["id"], $e = ["stop-color"],
372
381
  }
373
382
  }
374
383
  }, null, 8, ["config"]))
375
- ], 12, xe));
384
+ ], 12, we));
376
385
  }
377
- }, Ke = /* @__PURE__ */ be(je, [["__scopeId", "data-v-9481e22a"]]);
386
+ }, Qe = /* @__PURE__ */ xe(Ue, [["__scopeId", "data-v-afa97ea1"]]);
378
387
  export {
379
- Ke as default
388
+ Qe as default
380
389
  };