vue-data-ui 3.23.14 → 3.24.1

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 (186) hide show
  1. package/README.md +14 -13
  2. package/dist/{Arrow-DrF4NNJO.js → Arrow-CJuuMivt.js} +1 -1
  3. package/dist/{BaseDraggableDialog-Dr_Q6Yt5.js → BaseDraggableDialog-9RMU4zIz.js} +2 -2
  4. package/dist/{BaseIcon-BbElSC8_.js → BaseIcon-U0y1Y7dC.js} +1 -1
  5. package/dist/{BaseLegendToggle-CtEdLr4R.js → BaseLegendToggle-B_wibe7d.js} +1 -1
  6. package/dist/{BaseZoomControls-Cvq4UmNG.js → BaseZoomControls-DXDTBATh.js} +2 -2
  7. package/dist/{ColorPicker-ChOgAmCi.js → ColorPicker-Diee0Pe9.js} +2 -2
  8. package/dist/{DataTable-CmyEubtT.js → DataTable-1Lsn9w61.js} +2 -2
  9. package/dist/{HillActions-3HneGJhS.js → HillActions-DntqVj-0.js} +1 -1
  10. package/dist/{Legend-BJtY2RA9.js → Legend-Cg1jtWxv.js} +2 -2
  11. package/dist/{NonSvgPenAndPaper-DmxzHJtV.js → NonSvgPenAndPaper-aCu8CNkj.js} +4 -4
  12. package/dist/{PackageVersion-D_ULhZan.js → PackageVersion-DtE5p3O7.js} +1 -1
  13. package/dist/{PenAndPaper-CIa1F5Jq.js → PenAndPaper-ktbpEc-t.js} +4 -4
  14. package/dist/{Shape-BAL5bQmA.js → Shape-BV_BCG2F.js} +1 -1
  15. package/dist/{SlicerPreview-BGtbrAz9.js → SlicerPreview-CsFT236o.js} +2 -2
  16. package/dist/{SparkTooltip-Bou05CV_.js → SparkTooltip-BqzJa3h2.js} +1 -1
  17. package/dist/{Title-CaVA8EIw.js → Title-C5ytqOnj.js} +1 -1
  18. package/dist/{Tooltip-CVxJe3UW.js → Tooltip-CTgk02J6.js} +1 -1
  19. package/dist/{UserOptions-WH7-49V0.js → UserOptions-DJt-e5q0.js} +2 -2
  20. package/dist/components/arrow.js +1 -1
  21. package/dist/components/vue-ui-3d-bar.js +1 -1
  22. package/dist/components/vue-ui-accordion.js +1 -1
  23. package/dist/components/vue-ui-age-pyramid.js +1 -1
  24. package/dist/components/vue-ui-annotator.js +1 -1
  25. package/dist/components/vue-ui-bullet.js +1 -1
  26. package/dist/components/vue-ui-bump.js +1 -1
  27. package/dist/components/vue-ui-candlestick.js +1 -1
  28. package/dist/components/vue-ui-carousel-table.js +1 -1
  29. package/dist/components/vue-ui-chestnut.js +1 -1
  30. package/dist/components/vue-ui-chord.js +1 -1
  31. package/dist/components/vue-ui-circle-pack.js +1 -1
  32. package/dist/components/vue-ui-cursor.js +1 -1
  33. package/dist/components/vue-ui-dag.js +1 -1
  34. package/dist/components/vue-ui-dashboard.js +1 -1
  35. package/dist/components/vue-ui-digits.js +1 -1
  36. package/dist/components/vue-ui-donut-evolution.js +1 -1
  37. package/dist/components/vue-ui-donut.js +1 -1
  38. package/dist/components/vue-ui-dumbbell.js +1 -1
  39. package/dist/components/vue-ui-flow.js +1 -1
  40. package/dist/components/vue-ui-funnel.js +1 -1
  41. package/dist/components/vue-ui-galaxy.js +1 -1
  42. package/dist/components/vue-ui-gauge.js +1 -1
  43. package/dist/components/vue-ui-geo.js +1 -1
  44. package/dist/components/vue-ui-gizmo.js +1 -1
  45. package/dist/components/vue-ui-heatmap.js +1 -1
  46. package/dist/components/vue-ui-hill.js +1 -1
  47. package/dist/components/vue-ui-history-plot.js +1 -1
  48. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  49. package/dist/components/vue-ui-icon.js +1 -1
  50. package/dist/components/vue-ui-kpi.js +1 -1
  51. package/dist/components/vue-ui-label.js +2 -0
  52. package/dist/components/vue-ui-mini-loader.js +1 -1
  53. package/dist/components/vue-ui-molecule.js +1 -1
  54. package/dist/components/vue-ui-mood-radar.js +1 -1
  55. package/dist/components/vue-ui-nested-donuts.js +1 -1
  56. package/dist/components/vue-ui-onion.js +1 -1
  57. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  58. package/dist/components/vue-ui-quadrant.js +1 -1
  59. package/dist/components/vue-ui-quick-chart.js +1 -1
  60. package/dist/components/vue-ui-radar.js +1 -1
  61. package/dist/components/vue-ui-rating.js +1 -1
  62. package/dist/components/vue-ui-relation-circle.js +1 -1
  63. package/dist/components/vue-ui-ridgeline.js +1 -1
  64. package/dist/components/vue-ui-rings.js +1 -1
  65. package/dist/components/vue-ui-scatter.js +1 -1
  66. package/dist/components/vue-ui-skeleton.js +1 -1
  67. package/dist/components/vue-ui-smiley.js +1 -1
  68. package/dist/components/vue-ui-spark-trend.js +1 -1
  69. package/dist/components/vue-ui-sparkbar.js +1 -1
  70. package/dist/components/vue-ui-sparkgauge.js +1 -1
  71. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  72. package/dist/components/vue-ui-sparkline.js +1 -1
  73. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  74. package/dist/components/vue-ui-stackbar.js +1 -1
  75. package/dist/components/vue-ui-stackline.js +1 -1
  76. package/dist/components/vue-ui-strip-plot.js +1 -1
  77. package/dist/components/vue-ui-table-heatmap.js +1 -1
  78. package/dist/components/vue-ui-table-sparkline.js +1 -1
  79. package/dist/components/vue-ui-table.js +1 -1
  80. package/dist/components/vue-ui-thermometer.js +1 -1
  81. package/dist/components/vue-ui-timer.js +1 -1
  82. package/dist/components/vue-ui-tiremarks.js +1 -1
  83. package/dist/components/vue-ui-treemap.js +1 -1
  84. package/dist/components/vue-ui-vertical-bar.js +1 -1
  85. package/dist/components/vue-ui-waffle.js +1 -1
  86. package/dist/components/vue-ui-wheel.js +1 -1
  87. package/dist/components/vue-ui-word-cloud.js +1 -1
  88. package/dist/components/vue-ui-world.js +1 -1
  89. package/dist/components/vue-ui-xy-canvas.js +1 -1
  90. package/dist/components/vue-ui-xy.js +1 -1
  91. package/dist/{dom-to-png-COvyU2SG.js → dom-to-png-K9hvrmBm.js} +1 -1
  92. package/dist/{exposedLib-DrUEXSyf.js → exposedLib-CNHCqGuG.js} +1 -1
  93. package/dist/{img-Bkzj3lDD.js → img-DRq3Equ5.js} +1 -1
  94. package/dist/{labelUtils-iX76cA2-.js → labelUtils-CSh956Gz.js} +1 -1
  95. package/dist/{lib-Dqr_-I6Y.js → lib-DfMn_3jf.js} +6 -5
  96. package/dist/{package-CZsqzWIV.js → package-Bat6pcGG.js} +1 -1
  97. package/dist/{pdf-Bk_9lTdQ.js → pdf-CglSdC4O.js} +1 -1
  98. package/dist/{render-common-BIlL8QxZ.js → render-common-CSapi1Tq.js} +2 -2
  99. package/dist/ssr/vue-ui-donut.js +1 -1
  100. package/dist/ssr/vue-ui-xy.js +1 -1
  101. package/dist/ssr.js +2 -2
  102. package/dist/style.css +1 -1
  103. package/dist/types/vue-data-ui.d.ts +155 -3
  104. package/dist/types/vue-ui-label.d.ts +50 -0
  105. package/dist/{useChartExport-DNiwdPmb.js → useChartExport-iwOqiIWX.js} +9 -8
  106. package/dist/{useConfig-DwdGsXTx.js → useConfig-DcMi9POF.js} +85 -11
  107. package/dist/{useNestedProp-CulPqtou.js → useNestedProp-CLEe1P5W.js} +1 -1
  108. package/dist/{useObjectBindings-BKkmFRiI.js → useObjectBindings-C1q6rUju.js} +3 -2
  109. package/dist/{usePrinter-CEiH1b6R.js → usePrinter-Daqyj6c7.js} +2 -2
  110. package/dist/utils.js +3 -3
  111. package/dist/{vue-data-ui-Cud9FUgc.js → vue-data-ui-C0fmRYow.js} +78 -76
  112. package/dist/vue-data-ui.js +76 -75
  113. package/dist/{vue-ui-3d-bar-DHVSMPn3.js → vue-ui-3d-bar-ChPC71Co.js} +8 -8
  114. package/dist/{vue-ui-accordion-C6L7glHU.js → vue-ui-accordion-JvX3LRnx.js} +4 -4
  115. package/dist/{vue-ui-age-pyramid-DWEVRxFJ.js → vue-ui-age-pyramid-BYbPULSz.js} +8 -8
  116. package/dist/{vue-ui-annotator-BwIu0JUV.js → vue-ui-annotator-CP_yXH6-.js} +7 -7
  117. package/dist/{vue-ui-bullet-zp5a502n.js → vue-ui-bullet-q_4VhquE.js} +9 -9
  118. package/dist/{vue-ui-bump-BPgVmi6f.js → vue-ui-bump-BDzA8rut.js} +24 -23
  119. package/dist/{vue-ui-candlestick-Bgby7chP.js → vue-ui-candlestick-37VcRMeY.js} +22 -21
  120. package/dist/{vue-ui-carousel-table-CFmOi8yt.js → vue-ui-carousel-table-DqSCFkVD.js} +5 -5
  121. package/dist/{vue-ui-chestnut-DDeAaWQu.js → vue-ui-chestnut-BKNzHCli.js} +7 -7
  122. package/dist/{vue-ui-chord-i15aljUN.js → vue-ui-chord-CaqZO79L.js} +10 -10
  123. package/dist/{vue-ui-circle-pack-Bxnh1ayh.js → vue-ui-circle-pack-DuagAe7S.js} +8 -8
  124. package/dist/{vue-ui-cursor-BcwcG6m6.js → vue-ui-cursor-UznztJgM.js} +4 -4
  125. package/dist/{vue-ui-dag-BHIBv8gS.js → vue-ui-dag-DayEAerz.js} +9 -9
  126. package/dist/{vue-ui-dashboard-DR0oNZQY.js → vue-ui-dashboard-PVDbL2as.js} +70 -70
  127. package/dist/{vue-ui-digits-DzdL2IUe.js → vue-ui-digits-ANtccD2D.js} +4 -4
  128. package/dist/{vue-ui-donut-BtYYw4sA.js → vue-ui-donut-B2SN01C2.js} +12 -12
  129. package/dist/{vue-ui-donut-BAOzjBOl.js → vue-ui-donut-BmIwx_4X.js} +3 -3
  130. package/dist/{vue-ui-donut-evolution-DqvCyZTm.js → vue-ui-donut-evolution-DmOcFGM2.js} +27 -26
  131. package/dist/{vue-ui-dumbbell-DCxv0rQl.js → vue-ui-dumbbell-BTYjJwdn.js} +9 -9
  132. package/dist/{vue-ui-flow-fIr0gKWv.js → vue-ui-flow-Brgb7h1u.js} +25 -24
  133. package/dist/{vue-ui-funnel-CgG4woIj.js → vue-ui-funnel-Bakw8upJ.js} +8 -8
  134. package/dist/{vue-ui-galaxy-BjO5BIJl.js → vue-ui-galaxy-CHXQeZWX.js} +11 -11
  135. package/dist/{vue-ui-gauge-Bjjicr4p.js → vue-ui-gauge-CyNuXMfH.js} +8 -8
  136. package/dist/{vue-ui-geo-CEzwDQ_V.js → vue-ui-geo-CD0mHBGl.js} +9 -9
  137. package/dist/{vue-ui-gizmo-BJw77tPf.js → vue-ui-gizmo-BPIlDZzj.js} +4 -4
  138. package/dist/{vue-ui-heatmap-Cc29HCj1.js → vue-ui-heatmap-DRBR2Nat.js} +22 -21
  139. package/dist/{vue-ui-hill-EfMGu5ri.js → vue-ui-hill-CpPVpCqp.js} +8 -8
  140. package/dist/{vue-ui-history-plot-BTpJ59Lx.js → vue-ui-history-plot-Dbgh6ZMG.js} +26 -25
  141. package/dist/{vue-ui-horizontal-bar-DBOOwgrm.js → vue-ui-horizontal-bar-CcbktPgh.js} +28 -27
  142. package/dist/{vue-ui-kpi-CDbkhzwo.js → vue-ui-kpi-CCW0CCsE.js} +4 -4
  143. package/dist/vue-ui-label-C5KLiynU.js +1455 -0
  144. package/dist/{vue-ui-mini-loader-BVSIAFYi.js → vue-ui-mini-loader-Cciw-UGb.js} +3 -3
  145. package/dist/{vue-ui-molecule-BqJZMPiV.js → vue-ui-molecule-CAcS9ieT.js} +7 -7
  146. package/dist/{vue-ui-mood-radar-DGGN0Cmw.js → vue-ui-mood-radar-CH3rh85o.js} +9 -9
  147. package/dist/{vue-ui-nested-donuts-Ca_Zd5J7.js → vue-ui-nested-donuts-DszZU11H.js} +27 -26
  148. package/dist/{vue-ui-onion-BVD4bvt5.js → vue-ui-onion-DB5c36QB.js} +11 -11
  149. package/dist/{vue-ui-parallel-coordinate-plot-DcopyBZF.js → vue-ui-parallel-coordinate-plot-X6D_5Mj4.js} +11 -11
  150. package/dist/{vue-ui-quadrant-DMEfD67Y.js → vue-ui-quadrant-C8Y-yWaA.js} +59 -57
  151. package/dist/{vue-ui-quick-chart-C3ci7l0p.js → vue-ui-quick-chart-CCVKDf4q.js} +25 -24
  152. package/dist/{vue-ui-radar-lk-I-dTc.js → vue-ui-radar-1xUvbkGR.js} +10 -10
  153. package/dist/{vue-ui-rating-dBCk6ECe.js → vue-ui-rating-C7HEmcRF.js} +3 -3
  154. package/dist/{vue-ui-relation-circle-CVO4khKR.js → vue-ui-relation-circle-Be3arMpy.js} +8 -8
  155. package/dist/{vue-ui-ridgeline-m-nLgYLV.js → vue-ui-ridgeline-hr0s0GV0.js} +11 -11
  156. package/dist/{vue-ui-rings-C_F5EeXv.js → vue-ui-rings-DaXIzfV_.js} +14 -14
  157. package/dist/{vue-ui-scatter-X7coP9SA.js → vue-ui-scatter-QNsbsTU3.js} +13 -13
  158. package/dist/{vue-ui-skeleton-cjQBOPy-.js → vue-ui-skeleton-1fsWFan-.js} +4 -4
  159. package/dist/{vue-ui-smiley-D1pW2Fdy.js → vue-ui-smiley-CN4OtE_a.js} +3 -3
  160. package/dist/{vue-ui-spark-trend-DCqxm1ML.js → vue-ui-spark-trend-CeuwSIJP.js} +4 -4
  161. package/dist/vue-ui-sparkbar-BykHIrxz.js +401 -0
  162. package/dist/{vue-ui-sparkgauge-CljM575j.js → vue-ui-sparkgauge-irYUg_Rc.js} +4 -4
  163. package/dist/{vue-ui-sparkhistogram-DorI7KeS.js → vue-ui-sparkhistogram-DzNLp6Cm.js} +5 -5
  164. package/dist/{vue-ui-sparkline-BY4VBHMA.js → vue-ui-sparkline-BJuiIvej.js} +27 -24
  165. package/dist/vue-ui-sparkstackbar-CocakHUY.js +738 -0
  166. package/dist/{vue-ui-stackbar-DnLwabox.js → vue-ui-stackbar-DHAf4jiH.js} +28 -27
  167. package/dist/{vue-ui-stackline-JW2LqP8f.js → vue-ui-stackline-DhI6OUVZ.js} +28 -27
  168. package/dist/{vue-ui-strip-plot-BfDQngrE.js → vue-ui-strip-plot-DxbyNG63.js} +9 -9
  169. package/dist/{vue-ui-table-Dxgu_hYy.js → vue-ui-table-BjXS95bg.js} +6 -6
  170. package/dist/{vue-ui-table-heatmap-CglQqfWH.js → vue-ui-table-heatmap-CQGZCO11.js} +6 -6
  171. package/dist/{vue-ui-table-sparkline-B9Ib-eba.js → vue-ui-table-sparkline-uZFaAqdt.js} +5 -5
  172. package/dist/{vue-ui-thermometer-H4aDS80w.js → vue-ui-thermometer-9U-zKD__.js} +8 -8
  173. package/dist/{vue-ui-timer-BQD_HJ4q.js → vue-ui-timer-Bm3CbIuS.js} +6 -6
  174. package/dist/{vue-ui-tiremarks-0NSM6oqA.js → vue-ui-tiremarks-CdRfwM99.js} +8 -8
  175. package/dist/{vue-ui-treemap-De2ZtVgy.js → vue-ui-treemap-5i3XHRb4.js} +11 -11
  176. package/dist/{vue-ui-waffle-Btd2dkHT.js → vue-ui-waffle-nSiwg2fY.js} +12 -12
  177. package/dist/{vue-ui-wheel-BeUgGDbi.js → vue-ui-wheel-dpWC3-wh.js} +8 -8
  178. package/dist/{vue-ui-word-cloud-Ba-dlAjt.js → vue-ui-word-cloud-BVU-x59g.js} +9 -9
  179. package/dist/{vue-ui-world-C94_A952.js → vue-ui-world-CwI1vCHG.js} +9 -9
  180. package/dist/{vue-ui-xy-DvFl3Jdp.js → vue-ui-xy-BKb9YmVU.js} +249 -240
  181. package/dist/{vue-ui-xy-Dyb14cfx.js → vue-ui-xy-DqSbxddV.js} +3 -3
  182. package/dist/{vue-ui-xy-canvas-8JpYZTA8.js → vue-ui-xy-canvas-Bs_O-0UT.js} +28 -27
  183. package/dist/vue_ui_label-B0QoxQrJ.js +115 -0
  184. package/package.json +4 -4
  185. package/dist/vue-ui-sparkbar-BygKCOYg.js +0 -400
  186. package/dist/vue-ui-sparkstackbar-DDCWSqti.js +0 -688
@@ -1,8 +1,8 @@
1
- import { A as e, B as t, G as n, H as r, Ht as i, I as a, It as o, Jt as s, L as c, N as l, P as u, S as d, U as f, Ut as p, V as m, Vt as h, X as g, Xt as _, _ as v, c as y, i as b, k as x, l as S, o as ee, q as C, rt as w, t as te, v as T, yt as E } from "./lib-Dqr_-I6Y.js";
1
+ import { A as e, B as t, G as n, H as r, Ht as i, I as a, It as o, Jt as s, L as c, N as l, P as u, S as d, U as f, Ut as p, V as m, Vt as h, X as g, Xt as _, _ as v, c as y, i as b, k as x, l as S, o as ee, q as C, rt as w, t as te, v as T, yt as E } from "./lib-DfMn_3jf.js";
2
2
  import { t as D } from "./useTimeLabels-d2f-W1L4.js";
3
- import { t as O } from "./useConfig-DwdGsXTx.js";
3
+ import { t as O } from "./useConfig-DcMi9POF.js";
4
4
  import { t as ne } from "./vue_ui_xy-BA3-_LCx.js";
5
- import { _ as k, d as A, f as j, g as M, h as N, l as P, m as F, p as I, u as L, v as R } from "./render-common-BIlL8QxZ.js";
5
+ import { _ as k, d as A, f as j, g as M, h as N, l as P, m as F, p as I, u as L, v as R } from "./render-common-CSapi1Tq.js";
6
6
  //#region src/svg/vue-ui-xy/create.js
7
7
  var { vue_ui_xy: z } = O();
8
8
  function re({ config: e = {}, dataset: t = [] } = {}) {
@@ -1,23 +1,23 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, At as n, Bt as r, D as i, Dt as a, Ht as o, It as s, Jt as c, Nt as l, S as u, St as ee, X as te, Xt as ne, _ as re, ft as ie, i as ae, lt as oe, nt as se, o as ce, q as le, w as ue, yt as de } from "./lib-Dqr_-I6Y.js";
2
+ import { $ as t, At as n, Bt as r, D as i, Dt as a, Ht as o, It as s, Jt as c, Nt as l, S as u, St as ee, X as te, Xt as ne, _ as re, ft as ie, i as ae, lt as oe, nt as se, o as ce, q as le, w as ue, yt as de } from "./lib-DfMn_3jf.js";
3
3
  import { n as fe, t as pe } from "./useHints-Dq_w2E8B.js";
4
4
  import { n as me, r as he, t as ge } from "./useTimeLabels-d2f-W1L4.js";
5
- import { t as _e } from "./useConfig-DwdGsXTx.js";
6
- import { t as ve } from "./usePrinter-CEiH1b6R.js";
5
+ import { t as _e } from "./useConfig-DcMi9POF.js";
6
+ import { t as ve } from "./usePrinter-Daqyj6c7.js";
7
7
  import { n as ye, t as be } from "./BaseScanner-DZvpgOjM.js";
8
- import { t as xe } from "./useNestedProp-CulPqtou.js";
8
+ import { t as xe } from "./useNestedProp-CLEe1P5W.js";
9
9
  import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
10
- import { t as Ce } from "./img-Bkzj3lDD.js";
11
- import { n as we } from "./Title-CaVA8EIw.js";
10
+ import { t as Ce } from "./img-DRq3Equ5.js";
11
+ import { n as we } from "./Title-C5ytqOnj.js";
12
12
  import { t as Te } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
13
  import { a as d, c as f, i as Ee, l as De, n as Oe, o as ke, r as Ae, s as je, t as Me } from "./useResponsive-ZtArZtUf.js";
14
- import { t as Ne } from "./BaseIcon-BbElSC8_.js";
15
- import { t as Pe } from "./SlicerPreview-BGtbrAz9.js";
16
- import { t as Fe } from "./vue-ui-accordion-C6L7glHU.js";
17
- import { t as Ie } from "./BaseLegendToggle-CtEdLr4R.js";
14
+ import { t as Ne } from "./BaseIcon-U0y1Y7dC.js";
15
+ import { t as Pe } from "./SlicerPreview-CsFT236o.js";
16
+ import { t as Fe } from "./vue-ui-accordion-JvX3LRnx.js";
17
+ import { t as Ie } from "./BaseLegendToggle-B_wibe7d.js";
18
18
  import { t as Le } from "./useUserOptionState-DK-_1ddE.js";
19
19
  import { t as Re } from "./useChartAccessibility-DYqac8yF.js";
20
- import { t as ze } from "./Legend-BJtY2RA9.js";
20
+ import { t as ze } from "./Legend-Cg1jtWxv.js";
21
21
  import { t as Be } from "./vue_ui_xy_canvas-Cb6dg3eK.js";
22
22
  import { Teleport as Ve, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as He, createElementVNode as g, createSlots as Ue, createTextVNode as We, createVNode as Ge, defineAsyncComponent as Ke, guardReactiveProps as _, mergeProps as qe, nextTick as Je, normalizeClass as Ye, normalizeProps as v, normalizeStyle as Xe, onBeforeUnmount as Ze, onMounted as Qe, openBlock as y, ref as b, renderSlot as x, resolveDynamicComponent as $e, shallowRef as et, toDisplayString as tt, toRefs as nt, unref as S, useSlots as rt, watch as C, watchEffect as it, withCtx as w } from "vue";
23
23
  //#region src/components/vue-ui-xy-canvas.vue
@@ -64,7 +64,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
64
64
  "copyAlt"
65
65
  ],
66
66
  setup(e, { expose: Te, emit: at }) {
67
- let _t = Ke(() => import("./Tooltip-CVxJe3UW.js")), vt = Ke(() => import("./DataTable-CmyEubtT.js")), yt = Ke(() => import("./UserOptions-WH7-49V0.js").then((e) => e.n)), bt = Ke(() => import("./NonSvgPenAndPaper-DmxzHJtV.js")), xt = Ke(() => import("./BaseDraggableDialog-Dr_Q6Yt5.js").then((e) => e.n)), { vue_ui_xy_canvas: St } = _e(), { isThemeValid: Ct, warnInvalidTheme: wt } = Se(), T = e, E = b(le()), D = b(null), Tt = b(null), O = b(null), k = b(1), A = b(1), Et = b(!1), j = b(null), Dt = b(""), Ot = b(null), M = b([]), kt = b(1), N = b(!0), P = b(!0), At = b(null), jt = b(0), Mt = b(!1), Nt = b(null), Pt = b(null), F = b(null), Ft = b(null), It = b(0), Lt = b(0), Rt = b(0), I = b(null), zt = b(!1), Bt = b(null), Vt = b(null), Ht = b(!1), Ut = b(!1), Wt = b(!1), L = b(null), Gt = b(!1), Kt = b(!1), qt = b(!1), R = b(null), Jt = b({
67
+ let _t = Ke(() => import("./Tooltip-CTgk02J6.js")), vt = Ke(() => import("./DataTable-1Lsn9w61.js")), yt = Ke(() => import("./UserOptions-DJt-e5q0.js").then((e) => e.n)), bt = Ke(() => import("./NonSvgPenAndPaper-aCu8CNkj.js")), xt = Ke(() => import("./BaseDraggableDialog-9RMU4zIz.js").then((e) => e.n)), { vue_ui_xy_canvas: St } = _e(), { isThemeValid: Ct, warnInvalidTheme: wt } = Se(), T = e, E = b(le()), D = b(null), Tt = b(null), O = b(null), k = b(1), A = b(1), Et = b(!1), j = b(null), Dt = b(""), Ot = b(null), M = b([]), kt = b(1), N = b(!0), P = b(!0), At = b(null), jt = b(0), Mt = b(!1), Nt = b(null), Pt = b(null), F = b(null), Ft = b(null), It = b(0), Lt = b(0), Rt = b(0), I = b(null), zt = b(!1), Bt = b(null), Vt = b(null), Ht = b(!1), Ut = b(!1), Wt = b(!1), L = b(null), Gt = b(!1), Kt = b(!1), qt = b(!1), R = b(null), Jt = b({
68
68
  x: 0,
69
69
  y: 0
70
70
  }), z = p(() => Array.isArray(rn.value) && rn.value.length > 0), Yt = at, Xt = rt(), B = b(un());
@@ -202,21 +202,22 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
202
202
  userConfig: T.config,
203
203
  defaultConfig: St
204
204
  }), t = {}, n = e.theme;
205
- if (n) if (!Ct.value(e)) wt(e), t = e;
206
- else {
207
- let r = xe({
208
- userConfig: Be[n] || T.config,
209
- defaultConfig: e
210
- });
211
- t = {
212
- ...xe({
213
- userConfig: T.config,
214
- defaultConfig: r
215
- }),
216
- customPalette: e.customPalette.length ? e.customPalette : c[n] || s
217
- };
218
- }
219
- else t = e;
205
+ if (n) {
206
+ if (!Ct.value(e)) wt(e), t = e;
207
+ else {
208
+ let r = xe({
209
+ userConfig: Be[n] || T.config,
210
+ defaultConfig: e
211
+ });
212
+ t = {
213
+ ...xe({
214
+ userConfig: T.config,
215
+ defaultConfig: r
216
+ }),
217
+ customPalette: e.customPalette.length ? e.customPalette : c[n] || s
218
+ };
219
+ }
220
+ } else t = e;
220
221
  return T.config && de(T.config, "style.chart.grid.y.timeLabels") && (console.warn("VueUiXyCanvas: you are using the deprecated config.style.chart.grid.y.timeLabels. It is recommended to move this configuration to config.style.chart.grid.x.timeLabels."), t.style.chart.grid.x.timeLabels = xe({
221
222
  defaultConfig: t.style.chart.grid.x.timeLabels,
222
223
  userConfig: T.config.style.chart.grid.y.timeLabels
@@ -0,0 +1,115 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ //#region src/themes/vue_ui_label.json
3
+ var t = /* @__PURE__ */ e({
4
+ celebration: () => a,
5
+ celebrationNight: () => o,
6
+ concrete: () => l,
7
+ dark: () => i,
8
+ default: () => u,
9
+ hack: () => s,
10
+ minimal: () => n,
11
+ minimalDark: () => r,
12
+ zen: () => c
13
+ }), n = { drag: { showSeparator: !1 } }, r = {
14
+ drag: {
15
+ showSeparator: !1,
16
+ iconColor: "#CCCCCC"
17
+ },
18
+ title: { color: "#CCCCCC" },
19
+ content: { color: "#CCCCCC" },
20
+ link: {
21
+ stroke: "#CCCCCC",
22
+ targetPlot: { stroke: "#1A1A1A" }
23
+ },
24
+ box: {
25
+ backgroundColor: "#1A1A1ADD",
26
+ borderColor: "#CCCCCC"
27
+ }
28
+ }, i = {
29
+ drag: { iconColor: "#CCCCCC" },
30
+ title: { color: "#CCCCCC" },
31
+ content: { color: "#CCCCCC" },
32
+ link: {
33
+ stroke: "#CCCCCC",
34
+ targetPlot: { stroke: "#1A1A1A" }
35
+ },
36
+ box: {
37
+ backgroundColor: "#1A1A1ADD",
38
+ borderColor: "#CCCCCC"
39
+ }
40
+ }, a = {
41
+ drag: { iconColor: "#5D4037" },
42
+ title: { color: "#424242" },
43
+ content: { color: "#424242" },
44
+ link: {
45
+ stroke: "#5D4037",
46
+ targetPlot: { stroke: "#FFF8E1" }
47
+ },
48
+ box: {
49
+ backgroundColor: "#FFF8E1DD",
50
+ borderColor: "#5D4037"
51
+ }
52
+ }, o = {
53
+ drag: { iconColor: "#BDBDBD" },
54
+ title: { color: "#BDBDBD" },
55
+ content: { color: "#BDBDBD" },
56
+ link: {
57
+ stroke: "#FF8A65",
58
+ targetPlot: { stroke: "#1E1E1E" }
59
+ },
60
+ box: {
61
+ backgroundColor: "#1E1E1EDD",
62
+ borderColor: "#FF8A65"
63
+ }
64
+ }, s = {
65
+ drag: { iconColor: "#99AA99" },
66
+ title: { color: "#66CC66" },
67
+ content: { color: "#99AA99" },
68
+ link: {
69
+ stroke: "#99AA99",
70
+ targetPlot: { stroke: "#2A2F2A" }
71
+ },
72
+ box: {
73
+ backgroundColor: "#2A2F2ADD",
74
+ borderColor: "#99AA99"
75
+ }
76
+ }, c = {
77
+ drag: { iconColor: "#8A9892" },
78
+ title: { color: "#8A9892" },
79
+ content: { color: "#8A9892" },
80
+ link: {
81
+ stroke: "#8A9892",
82
+ targetPlot: { stroke: "#fbfafa" }
83
+ },
84
+ box: {
85
+ backgroundColor: "#fbfafaDD",
86
+ borderColor: "#99AA99"
87
+ }
88
+ }, l = {
89
+ drag: {
90
+ iconColor: "#829C98",
91
+ showSeparator: !0
92
+ },
93
+ title: { color: "#50606C" },
94
+ content: { color: "#50606C" },
95
+ link: {
96
+ stroke: "#829C98",
97
+ targetPlot: { stroke: "#f6f6fb" }
98
+ },
99
+ box: {
100
+ backgroundColor: "#f6f6fbDD",
101
+ borderColor: "#829C98"
102
+ }
103
+ }, u = {
104
+ default: {},
105
+ minimal: n,
106
+ minimalDark: r,
107
+ dark: i,
108
+ celebration: a,
109
+ celebrationNight: o,
110
+ hack: s,
111
+ zen: c,
112
+ concrete: l
113
+ };
114
+ //#endregion
115
+ export { t as n, u as t };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-data-ui",
3
3
  "private": false,
4
- "version": "3.23.14",
4
+ "version": "3.24.1",
5
5
  "type": "module",
6
6
  "description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
7
7
  "keywords": [
@@ -127,8 +127,8 @@
127
127
  "sass": "^1.57.1",
128
128
  "simple-git": "^3.36.0",
129
129
  "typescript": "^6.0.2",
130
- "vite": "^8.2.1",
131
- "vitest": "^4.1.8",
132
- "vue": "^3.5.41"
130
+ "vite": "^8.2.2",
131
+ "vitest": "^5.0.0",
132
+ "vue": "^3.5.42"
133
133
  }
134
134
  }
@@ -1,400 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Ht as t, It as n, Jt as r, Nt as i, S as a, Ut as ee, X as o, Xt as s, i as c, mt as te, nt as l, q as u, t as ne, w as re } from "./lib-Dqr_-I6Y.js";
3
- import { n as ie, t as ae } from "./useHints-Dq_w2E8B.js";
4
- import { t as d } from "./useConfig-DwdGsXTx.js";
5
- import { n as f, t as oe } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as p } from "./useNestedProp-CulPqtou.js";
7
- import { t as se } from "./useThemeCheck-C43Tcqmk.js";
8
- import { t as ce } from "./DefGrad-DVBqDjhO.js";
9
- import { t as le } from "./usePrefersMotion-BC-CsqR1.js";
10
- import { t as ue } from "./vue_ui_sparkbar-z6qO--Kf.js";
11
- import { Fragment as m, computed as h, createBlock as de, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createVNode as y, defineAsyncComponent as fe, guardReactiveProps as b, mergeProps as x, nextTick as pe, normalizeProps as me, normalizeStyle as S, onMounted as C, openBlock as w, ref as T, renderList as he, renderSlot as E, toDisplayString as D, toRefs as O, unref as k, useSlots as A, watch as j } from "vue";
12
- //#region src/components/vue-ui-sparkbar.vue
13
- var M = /* @__PURE__ */ e({ default: () => z }), N = [
14
- "onClick",
15
- "onMouseenter",
16
- "onMouseleave"
17
- ], P = {
18
- key: 1,
19
- class: "vue-ui-sparkbar-datapoint-value"
20
- }, F = ["xmlns", "viewBox"], I = [
21
- "height",
22
- "width",
23
- "fill",
24
- "rx"
25
- ], L = [
26
- "height",
27
- "width",
28
- "fill",
29
- "rx"
30
- ], R = [
31
- "height",
32
- "width",
33
- "fill",
34
- "rx"
35
- ], ge = {
36
- key: 2,
37
- ref: "source",
38
- dir: "auto"
39
- }, z = {
40
- __name: "vue-ui-sparkbar",
41
- props: {
42
- config: {
43
- type: Object,
44
- default() {
45
- return {};
46
- }
47
- },
48
- dataset: {
49
- type: Array,
50
- default() {
51
- return [];
52
- }
53
- },
54
- backgroundOpacity: {
55
- type: Number,
56
- default: null
57
- }
58
- },
59
- emits: ["selectDatapoint"],
60
- setup(e, { emit: M }) {
61
- let z = fe(() => import("./PackageVersion-D_ULhZan.js").then((e) => e.t)), { vue_ui_sparkbar: _e } = d(), { isThemeValid: ve, warnInvalidTheme: ye } = se(), B = le(), V = e, be = A(), H = T(u()), U = T(q()), W = h(() => U.value.debug);
62
- C(() => {
63
- be["chart-background"] && W.value && console.warn("VueUiSparkbar does not support the #chart-background slot.");
64
- }), ie({
65
- config: () => U.value,
66
- dataset: () => V.dataset,
67
- component: "VueUiSparkbar",
68
- rules: [ae.noHint]
69
- });
70
- let xe = h(() => s({
71
- defaultConfig: { style: {
72
- backgroundColor: "#99999930",
73
- animation: { show: !1 },
74
- layout: { independant: !0 },
75
- gutter: {
76
- backgroundColor: "#6A6A6A",
77
- opacity: 50
78
- },
79
- bar: { gradient: { underlayerColor: "#6A6A6A" } }
80
- } },
81
- userConfig: U.value.skeletonConfig ?? {}
82
- })), { loading: G, FINAL_DATASET: K, manualLoading: Se } = f({
83
- ...O(V),
84
- FINAL_CONFIG: U,
85
- prepareConfig: q,
86
- skeletonDataset: V.config?.skeletonDataset ?? [
87
- {
88
- name: "_",
89
- value: 21,
90
- target: 25,
91
- color: "#808080"
92
- },
93
- {
94
- name: "_",
95
- value: 13,
96
- target: 25,
97
- color: "#ADADAD"
98
- },
99
- {
100
- name: "_",
101
- value: 8,
102
- target: 25,
103
- color: "#DBDBDB"
104
- }
105
- ],
106
- skeletonConfig: s({
107
- defaultConfig: U.value,
108
- userConfig: xe.value
109
- })
110
- });
111
- function q() {
112
- let e = p({
113
- userConfig: V.config,
114
- defaultConfig: _e
115
- }), t = e.theme;
116
- if (!t) return e;
117
- if (!ve.value(e)) return ye(e), e;
118
- let i = p({
119
- userConfig: ue[t] || V.config,
120
- defaultConfig: e
121
- }), a = p({
122
- userConfig: V.config,
123
- defaultConfig: i
124
- });
125
- return {
126
- ...a,
127
- customPalette: a.customPalette.length ? a.customPalette : r[t] || n
128
- };
129
- }
130
- j(() => V.config, (e) => {
131
- U.value = q();
132
- }, { deep: !0 });
133
- let Ce = h(() => re(U.value.customPalette)), J = T(K.value.map((e) => ({
134
- ...e,
135
- value: U.value.style.animation.show ? 0 : e.value || 0,
136
- formatter: e.formatter || null
137
- }))), Y = T(null);
138
- C(async () => {
139
- i(V.dataset) && l({
140
- componentName: "VueUiSparkbar",
141
- type: "dataset",
142
- debug: W.value
143
- }), X();
144
- });
145
- function X() {
146
- if (U.value.style.animation.show && !B.value) {
147
- let e = U.value.style.animation.animationFrames, t = K.value.map((t, n) => t.value / e), n = K.value.map((e) => e.value || 0).reduce((e, t) => e + t, 0), r = 0;
148
- function i() {
149
- r += n / e, r < n ? (J.value = J.value.map((e, n) => ({
150
- ...e,
151
- value: e.value += t[n]
152
- })), Y.value = requestAnimationFrame(i)) : J.value = K.value.map((e) => ({
153
- ...e,
154
- value: e.value || 0,
155
- formatter: e.formatter || null
156
- }));
157
- }
158
- i();
159
- }
160
- }
161
- j(() => K.value, async (e) => {
162
- cancelAnimationFrame(Y.value), J.value = K.value.map((e) => ({
163
- ...e,
164
- value: U.value.style.animation.show && !B.value ? 0 : e.value || 0,
165
- formatter: e.formatter || null
166
- })), pe(X);
167
- }, { deep: !0 });
168
- let Z = T({
169
- width: 500,
170
- height: 16
171
- }), we = h(() => Math.max(...K.value.map((e) => e.value))), Te = h(() => (W.value && K.value.forEach((e, t) => {
172
- te({
173
- datasetObject: e,
174
- requiredAttributes: ["name", "value"]
175
- }).forEach((e) => {
176
- l({
177
- componentName: "VueUiSparkbar",
178
- type: "datasetSerieAttribute",
179
- property: e,
180
- index: t
181
- });
182
- });
183
- }), J.value.map((e, t) => ({
184
- ...e,
185
- value: e.value || 0,
186
- color: a(e.color) || Ce.value[t] || n[t] || n[t % n.length]
187
- }))));
188
- function Ee(e) {
189
- return e / we.value;
190
- }
191
- function Q(e) {
192
- return U.value.style.layout.independant ? e.target ? e.value / e.target : U.value.style.layout.percentage ? e.value > 100 ? 1 : e.value / 100 : U.value.style.layout.target === 0 ? 1 : e.value / U.value.style.layout.target : Ee(e.value);
193
- }
194
- function $(e) {
195
- return U.value.style.layout.independant && e.target || U.value.style.layout.target;
196
- }
197
- let De = M;
198
- function Oe(e, t) {
199
- De("selectDatapoint", {
200
- datapoint: e,
201
- index: t
202
- }), U.value.events.datapointClick && U.value.events.datapointClick({
203
- datapoint: e,
204
- seriesIndex: t
205
- });
206
- }
207
- function ke(e, t) {
208
- U.value.events.datapointEnter && U.value.events.datapointEnter({
209
- datapoint: e,
210
- seriesIndex: t
211
- });
212
- }
213
- function Ae(e, t) {
214
- U.value.events.datapointLeave && U.value.events.datapointLeave({
215
- datapoint: e,
216
- seriesIndex: t
217
- });
218
- }
219
- return (e, n) => (w(), _("div", {
220
- class: "vue-data-ui-component vue-ui-sparkbar",
221
- style: S({
222
- width: "100%",
223
- position: "relative",
224
- fontFamily: U.value.style.fontFamily,
225
- background: V.backgroundOpacity === null ? U.value.style.backgroundColor : k(t)(U.value.style.backgroundColor, V.backgroundOpacity)
226
- })
227
- }, [
228
- e.$slots.title ? E(e.$slots, "title", me(b({ title: {
229
- ...e.title,
230
- title: U.value.style.title.text,
231
- subtitle: U.value.style.title.subtitle.text
232
- } })), void 0, void 0, 0) : g("", !0),
233
- !e.$slots.title && U.value.style.title.text ? (w(), _("div", {
234
- key: 1,
235
- class: "vue-ui-sparkbar-title-container",
236
- style: S({
237
- background: U.value.style.title.backgroundColor,
238
- margin: U.value.style.title.margin,
239
- textAlign: U.value.style.title.textAlign
240
- })
241
- }, [v("div", {
242
- class: "vue-ui-sparkbar-title",
243
- style: S({
244
- fontSize: U.value.style.title.fontSize + "px",
245
- color: U.value.style.title.color,
246
- fontWeight: U.value.style.title.bold ? "bold" : "normal"
247
- })
248
- }, D(U.value.style.title.text), 5), U.value.style.title.subtitle.text ? (w(), _("div", {
249
- key: 0,
250
- class: "vue-ui-sparkbar-subtitle",
251
- style: S({
252
- fontSize: U.value.style.title.subtitle.fontSize + "px",
253
- color: U.value.style.title.subtitle.color,
254
- fontWeight: U.value.style.title.subtitle.bold ? "bold" : "normal"
255
- })
256
- }, D(U.value.style.title.subtitle.text), 5)) : g("", !0)], 4)) : g("", !0),
257
- (w(!0), _(m, null, he(Te.value, (n, r) => (w(), _("div", {
258
- style: S(`display:flex !important;${["left", "right"].includes(U.value.style.labels.name.position) ? `flex-direction: ${U.value.style.labels.name.position === "right" ? "row-reverse" : "row"} !important` : "flex-direction:column !important"};gap:${U.value.style.gap}px !important;align-items:center;${k(K).length > 0 && r !== k(K).length - 1 ? "margin-bottom:6px" : ""}`),
259
- onClick: (e) => Oe(n, r),
260
- onMouseenter: (e) => ke(n, r),
261
- onMouseleave: (e) => Ae(n, r)
262
- }, [
263
- k(G) ? g("", !0) : E(e.$slots, "data-label", x({ ref_for: !0 }, { bar: {
264
- ...n,
265
- target: $(n),
266
- valueLabel: k(c)(n.formatter, n.value, k(o)({
267
- p: n.prefix || "",
268
- v: n.value,
269
- s: n.suffix || "",
270
- r: n.rounding || 0
271
- }), {
272
- datapoint: n,
273
- seriesIndex: r
274
- }),
275
- targetLabel: k(c)(n.formatter, $(n), k(o)({
276
- p: n.prefix || "",
277
- v: $(n),
278
- s: n.suffix || "",
279
- r: n.rounding || 0
280
- }), {
281
- datapoint: n,
282
- seriesIndex: r
283
- })
284
- } }), void 0, void 0, 0),
285
- !e.$slots["data-label"] || k(G) ? (w(), _("div", {
286
- key: 1,
287
- style: S({
288
- display: "flex",
289
- justifyContent: ["right", "top-right"].includes(U.value.style.labels.name.position) ? "flex-end" : ["top-center"].includes(U.value.style.labels.name.position) ? "center" : "flex-start",
290
- alignItems: "center",
291
- width: U.value.style.labels.name.width,
292
- color: U.value.style.labels.name.color,
293
- fontSize: U.value.style.labels.fontSize + "px",
294
- fontWeight: U.value.style.labels.name.bold ? "bold" : "normal",
295
- flexWrap: "wrap"
296
- })
297
- }, [k(G) ? (w(), _("div", {
298
- key: 0,
299
- class: "vue-ui-sparkbar-skeleton-name",
300
- style: S({
301
- width: "60px",
302
- height: U.value.style.labels.fontSize + "px",
303
- borderRadius: U.value.style.labels.fontSize / 4 + "px",
304
- display: "flex",
305
- alignItems: "center",
306
- justifyContent: "space-between",
307
- marginTop: "5px"
308
- })
309
- }, [v("div", { style: S({
310
- height: "100%",
311
- width: "40px",
312
- borderRadius: U.value.style.labels.fontSize / 4 + "px",
313
- backgroundColor: "#6A6A6A80"
314
- }) }, null, 4), v("div", { style: S({
315
- height: "100%",
316
- width: "15px",
317
- borderRadius: U.value.style.labels.fontSize / 4 + "px",
318
- backgroundColor: "#6A6A6A80"
319
- }) }, null, 4)], 4)) : (w(), _(m, { key: 1 }, [
320
- v("span", null, D(n.name), 1),
321
- U.value.style.labels.value.show ? (w(), _("span", {
322
- key: 0,
323
- style: S(`font-weight:${U.value.style.labels.value.bold ? "bold" : "normal"}`),
324
- class: "vue-ui-sparkbar-datapoint-name"
325
- }, ": " + D(k(c)(n.formatter, n.value, k(o)({
326
- p: n.prefix || "",
327
- v: n.value,
328
- s: n.suffix || "",
329
- r: n.rounding || 0
330
- }), {
331
- datapoint: n,
332
- seriesIndex: r
333
- })), 5)) : g("", !0),
334
- U.value.style.layout.showTargetValue ? (w(), _("span", P, D(" " + U.value.style.layout.targetValueText) + " " + D(k(c)(n.formatter, $(n), k(o)({
335
- p: n.prefix || "",
336
- v: $(n),
337
- s: n.suffix || "",
338
- r: n.rounding || 0
339
- }), {
340
- datapoint: n,
341
- seriesIndex: r
342
- })), 1)) : g("", !0)
343
- ], 64))], 4)) : g("", !0),
344
- (w(), _("svg", {
345
- role: "img",
346
- xmlns: k(ne),
347
- viewBox: `0 0 ${Z.value.width} ${Z.value.height}`,
348
- width: "100%"
349
- }, [
350
- y(k(z)),
351
- v("defs", null, [y(ce, {
352
- t: "linear",
353
- x1: "0%",
354
- y1: "0%",
355
- x2: "100%",
356
- y2: "0%",
357
- id: `sparkbar_gradient_${r}_${H.value}`,
358
- stops: [[
359
- "0%",
360
- k(t)(k(ee)(n.color, .03), 100 - U.value.style.bar.gradient.intensity),
361
- 1
362
- ], [
363
- "100%",
364
- n.color,
365
- 1
366
- ]]
367
- }, null, 8, ["id", "stops"])]),
368
- v("rect", {
369
- height: Z.value.height,
370
- width: Z.value.width,
371
- x: 0,
372
- y: 0,
373
- fill: k(t)(U.value.style.gutter.backgroundColor, U.value.style.gutter.opacity),
374
- rx: Z.value.height / 2
375
- }, null, 8, I),
376
- v("rect", {
377
- height: Z.value.height,
378
- width: Z.value.width * Q(n),
379
- x: 0,
380
- y: 0,
381
- fill: U.value.style.bar.gradient.underlayerColor,
382
- rx: Z.value.height / 2
383
- }, null, 8, L),
384
- v("rect", {
385
- height: Z.value.height,
386
- width: Z.value.width * Q(n),
387
- x: 0,
388
- y: 0,
389
- fill: U.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${r}_${H.value})` : n.color,
390
- rx: Z.value.height / 2
391
- }, null, 8, R)
392
- ], 8, F))
393
- ], 44, N))), 256)),
394
- e.$slots.source ? (w(), _("div", ge, [E(e.$slots, "source")], 512)) : g("", !0),
395
- k(G) ? (w(), de(oe, { key: 3 })) : g("", !0)
396
- ], 4));
397
- }
398
- };
399
- //#endregion
400
- export { M as n, z as t };