vue-data-ui 3.15.12 → 3.16.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 (218) hide show
  1. package/README.md +132 -59
  2. package/dist/A11yDataTable-KcVAX2cP.js +54 -0
  3. package/dist/{Arrow-DlPyR6HQ.js → Arrow-Bn-9n3bm.js} +1 -1
  4. package/dist/{BaseDraggableDialog-DSpKTn3R.js → BaseDraggableDialog-CIb-iD9g.js} +2 -2
  5. package/dist/{BaseIcon-CNx8Tzl5.js → BaseIcon-Cb3zzG6s.js} +1 -1
  6. package/dist/{BaseLegendToggle-Y61xahI4.js → BaseLegendToggle-BQVIawmA.js} +1 -1
  7. package/dist/{BaseZoomControls-CoFievy9.js → BaseZoomControls-DievbOeJ.js} +2 -2
  8. package/dist/ColorPicker-B0mV4xzu.js +255 -0
  9. package/dist/{DataTable-Bo1pmAqG.js → DataTable-DT2kIdQ6.js} +2 -2
  10. package/dist/Legend-CS7Xo5LK.js +101 -0
  11. package/dist/{NonSvgPenAndPaper-CGk_xThe.js → NonSvgPenAndPaper-VyJFyJ6X.js} +3 -3
  12. package/dist/{PackageVersion-DN9d0ME5.js → PackageVersion-DPO-OOVI.js} +1 -1
  13. package/dist/{PenAndPaper-DWV1FMIi.js → PenAndPaper-Ct3qJ4lA.js} +109 -101
  14. package/dist/{Shape-CSyWYgXc.js → Shape-BKRUOeKk.js} +1 -1
  15. package/dist/{Slicer-DZJA9IG-.js → Slicer-DUycDH_N.js} +2 -2
  16. package/dist/{SlicerPreview-I2J0UUF_.js → SlicerPreview-DTjwV0iY.js} +2 -2
  17. package/dist/{SparkTooltip-BiseJed3.js → SparkTooltip-BorBpltj.js} +1 -1
  18. package/dist/{Title-BfyrP-jp.js → Title-BeMKE1cj.js} +1 -1
  19. package/dist/{Tooltip-DL3QgjZf.js → Tooltip-Bf-kM3_A.js} +86 -68
  20. package/dist/{UserOptions-CrLqEimB.js → UserOptions-rW2fRf3V.js} +228 -222
  21. package/dist/components/arrow.js +1 -1
  22. package/dist/components/vue-ui-3d-bar.js +1 -1
  23. package/dist/components/vue-ui-accordion.js +1 -1
  24. package/dist/components/vue-ui-age-pyramid.js +1 -1
  25. package/dist/components/vue-ui-annotator.js +1 -1
  26. package/dist/components/vue-ui-bullet.js +1 -1
  27. package/dist/components/vue-ui-bump.js +1 -1
  28. package/dist/components/vue-ui-candlestick.js +1 -1
  29. package/dist/components/vue-ui-carousel-table.js +1 -1
  30. package/dist/components/vue-ui-chestnut.js +1 -1
  31. package/dist/components/vue-ui-chord.js +1 -1
  32. package/dist/components/vue-ui-circle-pack.js +1 -1
  33. package/dist/components/vue-ui-cursor.js +1 -1
  34. package/dist/components/vue-ui-dag.js +1 -1
  35. package/dist/components/vue-ui-dashboard.js +1 -1
  36. package/dist/components/vue-ui-digits.js +1 -1
  37. package/dist/components/vue-ui-donut-evolution.js +1 -1
  38. package/dist/components/vue-ui-donut.js +1 -1
  39. package/dist/components/vue-ui-dumbbell.js +1 -1
  40. package/dist/components/vue-ui-flow.js +1 -1
  41. package/dist/components/vue-ui-funnel.js +1 -1
  42. package/dist/components/vue-ui-galaxy.js +1 -1
  43. package/dist/components/vue-ui-gauge.js +1 -1
  44. package/dist/components/vue-ui-geo.js +1 -1
  45. package/dist/components/vue-ui-gizmo.js +1 -1
  46. package/dist/components/vue-ui-heatmap.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-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-BAqzNjb1.js → dom-to-png-CtxhhdWb.js} +1 -1
  91. package/dist/{exposedLib-H4lmBl1t.js → exposedLib-DlqmhBx3.js} +1 -1
  92. package/dist/{img-BYYzY_QU.js → img-LXxMLmCg.js} +1 -1
  93. package/dist/{labelUtils-CTXUc3V9.js → labelUtils-CqTHa20R.js} +1 -1
  94. package/dist/{lib-GwPnJSrY.js → lib-DBptbyyI.js} +106 -84
  95. package/dist/{pdf-z-YiJeJQ.js → pdf-B4tTdfvl.js} +1 -1
  96. package/dist/style.css +1 -1
  97. package/dist/types/vue-data-ui.d.ts +59 -0
  98. package/dist/{useAutoSizeLabelsInsideViewbox-80fzdfxt.js → useAutoSizeLabelsInsideViewbox-DX7LdvFX.js} +1 -1
  99. package/dist/{useConfig-CIgyKZ6R.js → useConfig-DO94Aj5s.js} +953 -700
  100. package/dist/{useNestedProp-BBT0mbHh.js → useNestedProp-Bf5XFbs8.js} +1 -1
  101. package/dist/{useObjectBindings-BlXBVtRa.js → useObjectBindings-DQ8g8Jwi.js} +1 -1
  102. package/dist/usePrefersMotion-CUKm8_t8.js +15 -0
  103. package/dist/{usePrinter-DiK5R6k-.js → usePrinter-CEpYU3r5.js} +2 -2
  104. package/dist/utils.js +3 -3
  105. package/dist/{vue-data-ui-C2kPofmi.js → vue-data-ui-DXGkXRnC.js} +68 -68
  106. package/dist/vue-data-ui.js +72 -72
  107. package/dist/vue-ui-3d-bar-BaFpQnd5.js +1597 -0
  108. package/dist/{vue-ui-accordion-BGHTqIBt.js → vue-ui-accordion-nvggWcGN.js} +4 -4
  109. package/dist/vue-ui-age-pyramid-CRM498Pc.js +1069 -0
  110. package/dist/{vue-ui-annotator-B1GWVtPp.js → vue-ui-annotator-CkPi9moo.js} +7 -7
  111. package/dist/{vue-ui-bullet-DPoGGtaG.js → vue-ui-bullet-BBiwof3c.js} +158 -150
  112. package/dist/vue-ui-bump-Brxpu4xV.js +1147 -0
  113. package/dist/vue-ui-candlestick-DAnZv77-.js +1587 -0
  114. package/dist/{vue-ui-carousel-table-CmiHTJ8E.js → vue-ui-carousel-table-BHRZBYY0.js} +168 -160
  115. package/dist/vue-ui-chestnut-CbrYnRgm.js +1812 -0
  116. package/dist/vue-ui-chord-CaX_IUVs.js +1326 -0
  117. package/dist/vue-ui-circle-pack-CR3h53sc.js +988 -0
  118. package/dist/{vue-ui-cursor-B4mHR7QC.js → vue-ui-cursor-Cjfazw7Z.js} +4 -4
  119. package/dist/vue-ui-dag-B9vH3c66.js +3047 -0
  120. package/dist/{vue-ui-dashboard-Bo5FX73U.js → vue-ui-dashboard-DWll05qs.js} +70 -70
  121. package/dist/{vue-ui-digits-mpo2IcM5.js → vue-ui-digits-DcM67rMx.js} +76 -66
  122. package/dist/vue-ui-donut-Be5G38P5.js +2229 -0
  123. package/dist/vue-ui-donut-evolution-BLSesj3c.js +1358 -0
  124. package/dist/vue-ui-dumbbell-DIMiCY4r.js +1380 -0
  125. package/dist/vue-ui-flow-zvZylhgr.js +1202 -0
  126. package/dist/{vue-ui-funnel-BRkaEkBb.js → vue-ui-funnel-CSri-oWm.js} +7 -7
  127. package/dist/vue-ui-galaxy-CGykxsAI.js +1012 -0
  128. package/dist/{vue-ui-gauge-J2VYHsQe.js → vue-ui-gauge-D1MNB9Jq.js} +8 -8
  129. package/dist/vue-ui-geo-DdJDGhG2.js +1437 -0
  130. package/dist/{vue-ui-gizmo-DEec3-v9.js → vue-ui-gizmo-BZYRHGFm.js} +77 -68
  131. package/dist/vue-ui-heatmap-CryOx6XK.js +1500 -0
  132. package/dist/vue-ui-history-plot-C85iw9Kl.js +1449 -0
  133. package/dist/vue-ui-horizontal-bar-BoBZOybC.js +1637 -0
  134. package/dist/vue-ui-kpi-DHrolXw6.js +109 -0
  135. package/dist/{vue-ui-mini-loader-CoOHvZUk.js → vue-ui-mini-loader-Bc3fEQ9j.js} +3 -3
  136. package/dist/{vue-ui-molecule-Chq1qWDK.js → vue-ui-molecule-DJ_BQ4DK.js} +6 -6
  137. package/dist/vue-ui-mood-radar-CBE02TpQ.js +1086 -0
  138. package/dist/vue-ui-nested-donuts-YTFtb4CL.js +1595 -0
  139. package/dist/vue-ui-onion-B9l81-PS.js +1124 -0
  140. package/dist/vue-ui-parallel-coordinate-plot-C1e_rs8J.js +1252 -0
  141. package/dist/vue-ui-quadrant-C1qsLCRn.js +1759 -0
  142. package/dist/vue-ui-quick-chart-DFoz3WiA.js +2216 -0
  143. package/dist/vue-ui-radar-Cmo3p-UA.js +1139 -0
  144. package/dist/{vue-ui-rating-zV58MDQh.js → vue-ui-rating-BAHhYt_A.js} +3 -3
  145. package/dist/vue-ui-relation-circle-BqwznVwf.js +782 -0
  146. package/dist/vue-ui-ridgeline-CDk9eXJq.js +1473 -0
  147. package/dist/vue-ui-rings-BRkGoQdL.js +1156 -0
  148. package/dist/vue-ui-scatter-BxDtWASQ.js +1831 -0
  149. package/dist/{vue-ui-skeleton-CbqNz9IE.js → vue-ui-skeleton-D6kTb9aO.js} +4 -4
  150. package/dist/{vue-ui-smiley-BK5EKp9u.js → vue-ui-smiley-CzVaLlpB.js} +3 -3
  151. package/dist/vue-ui-spark-trend-D8Mf2A1w.js +378 -0
  152. package/dist/{vue-ui-sparkbar-DUDWvTo-.js → vue-ui-sparkbar-BbYj56c3.js} +86 -84
  153. package/dist/vue-ui-sparkgauge-DXzOSLRb.js +256 -0
  154. package/dist/vue-ui-sparkhistogram-DMfSx1iH.js +474 -0
  155. package/dist/vue-ui-sparkline-D-rQ9PsC.js +1327 -0
  156. package/dist/vue-ui-sparkstackbar-DK5n8IKP.js +621 -0
  157. package/dist/vue-ui-stackbar-BHthy6jf.js +2070 -0
  158. package/dist/vue-ui-stackline-C6-WNpKD.js +2164 -0
  159. package/dist/vue-ui-strip-plot-CHu-1ilI.js +1183 -0
  160. package/dist/{vue-ui-table-BHuXI4Eq.js → vue-ui-table-DW9JGsLq.js} +6 -6
  161. package/dist/{vue-ui-table-heatmap-y88sBfu3.js → vue-ui-table-heatmap-LYqoBit9.js} +6 -6
  162. package/dist/{vue-ui-table-sparkline-ClpLLKi2.js → vue-ui-table-sparkline-CXK1dFr-.js} +5 -5
  163. package/dist/{vue-ui-thermometer-sjruUGQx.js → vue-ui-thermometer-BN8tflOz.js} +272 -256
  164. package/dist/{vue-ui-timer-CgdgMKIc.js → vue-ui-timer-DGT0UBOF.js} +6 -6
  165. package/dist/{vue-ui-tiremarks-UBDpAIVr.js → vue-ui-tiremarks-BZ-osQqY.js} +204 -191
  166. package/dist/vue-ui-treemap-98KaVRyd.js +1723 -0
  167. package/dist/vue-ui-waffle-Cb7oJnIc.js +1321 -0
  168. package/dist/vue-ui-wheel-sfew1fjw.js +738 -0
  169. package/dist/vue-ui-word-cloud-vq1t9JHr.js +1548 -0
  170. package/dist/{vue-ui-world-D-3wgoTn.js → vue-ui-world-CN0f6elD.js} +8 -8
  171. package/dist/vue-ui-xy-BdzEiImZ.js +3877 -0
  172. package/dist/vue-ui-xy-canvas-CWQzUQzY.js +1810 -0
  173. package/package.json +2 -2
  174. package/dist/ColorPicker-j0ySewhI.js +0 -244
  175. package/dist/Legend-1LMMsPxL.js +0 -90
  176. package/dist/vue-ui-3d-bar-BhNgFaJA.js +0 -1484
  177. package/dist/vue-ui-age-pyramid-CuYRf5v-.js +0 -997
  178. package/dist/vue-ui-bump-C_fKharc.js +0 -1059
  179. package/dist/vue-ui-candlestick-BY-_E7eZ.js +0 -1487
  180. package/dist/vue-ui-chestnut-C-bQYaNI.js +0 -1557
  181. package/dist/vue-ui-chord-uQYQgyGM.js +0 -1220
  182. package/dist/vue-ui-circle-pack-CdbDcuDw.js +0 -907
  183. package/dist/vue-ui-dag-DsHUvjvm.js +0 -2885
  184. package/dist/vue-ui-donut-CzCgCVsx.js +0 -2139
  185. package/dist/vue-ui-donut-evolution-C_ck_TOR.js +0 -1297
  186. package/dist/vue-ui-dumbbell-CVSA90b2.js +0 -1293
  187. package/dist/vue-ui-flow-CsbSaFnu.js +0 -1075
  188. package/dist/vue-ui-galaxy-DWKHDciu.js +0 -914
  189. package/dist/vue-ui-geo-DykhEWVq.js +0 -1331
  190. package/dist/vue-ui-heatmap-BEDirv8T.js +0 -1334
  191. package/dist/vue-ui-history-plot-Bs96PebH.js +0 -1292
  192. package/dist/vue-ui-horizontal-bar-ClQcB9nL.js +0 -1522
  193. package/dist/vue-ui-kpi-DlUEHKuw.js +0 -101
  194. package/dist/vue-ui-mood-radar-A2LBLgUi.js +0 -967
  195. package/dist/vue-ui-nested-donuts-DFX251aT.js +0 -1513
  196. package/dist/vue-ui-onion-CW0YO9Ro.js +0 -1045
  197. package/dist/vue-ui-parallel-coordinate-plot-UFg10bHP.js +0 -1134
  198. package/dist/vue-ui-quadrant-C1pLW2zA.js +0 -1647
  199. package/dist/vue-ui-quick-chart-FaxttnJY.js +0 -2030
  200. package/dist/vue-ui-radar-DE70LPBZ.js +0 -1067
  201. package/dist/vue-ui-relation-circle-iuRXIyRU.js +0 -704
  202. package/dist/vue-ui-ridgeline-CwvDh5pG.js +0 -1385
  203. package/dist/vue-ui-rings-80ZUki42.js +0 -1083
  204. package/dist/vue-ui-scatter-FdAAYJOK.js +0 -1670
  205. package/dist/vue-ui-spark-trend-C68p8-Xp.js +0 -349
  206. package/dist/vue-ui-sparkgauge-DdRtHQDe.js +0 -245
  207. package/dist/vue-ui-sparkhistogram-C9DvzQae.js +0 -396
  208. package/dist/vue-ui-sparkline-B2RDrdiR.js +0 -1273
  209. package/dist/vue-ui-sparkstackbar-BsIOHUE5.js +0 -475
  210. package/dist/vue-ui-stackbar-BZl0kEkb.js +0 -2001
  211. package/dist/vue-ui-stackline-2VKxwFei.js +0 -2099
  212. package/dist/vue-ui-strip-plot-B9nBSRyY.js +0 -1080
  213. package/dist/vue-ui-treemap-BS5EilZf.js +0 -1645
  214. package/dist/vue-ui-waffle-CbX5K9Q2.js +0 -1211
  215. package/dist/vue-ui-wheel-BIJ09H5D.js +0 -723
  216. package/dist/vue-ui-word-cloud-DJmJ-oYT.js +0 -1466
  217. package/dist/vue-ui-xy-canvas-4auyhlTr.js +0 -1717
  218. package/dist/vue-ui-xy-f67V1xjd.js +0 -3713
@@ -1,18 +1,19 @@
1
- import { defineAsyncComponent as ae, useSlots as oe, onMounted as P, ref as k, computed as x, toRefs as ne, watch as B, nextTick as se, openBlock as s, createElementBlock as i, normalizeStyle as d, unref as o, renderSlot as $, normalizeProps as ue, mergeProps as E, createCommentVNode as f, createElementVNode as v, toDisplayString as g, Fragment as V, renderList as ie, createVNode as re, createBlock as ve } from "vue";
2
- import { j as ce, t as M, m as de, p as w, n as pe, o as fe, q as O, r as ge, s as me, u as D, k as _, l as A, X as ye, v as he } from "./lib-GwPnJSrY.js";
3
- import { u as ke } from "./useConfig-CIgyKZ6R.js";
4
- import { u as xe, B as be } from "./BaseScanner-BhhkKVoj.js";
5
- import { u as I } from "./useNestedProp-BBT0mbHh.js";
6
- import { u as Ce } from "./useThemeCheck-D1ZYXUwG.js";
7
- import we from "./vue_ui_sparkbar-BsMzz5Um.js";
8
- const _e = ["onClick", "onMouseenter", "onMouseleave"], Ae = {
1
+ import { defineAsyncComponent as oe, useSlots as ne, onMounted as M, ref as k, computed as x, toRefs as se, watch as B, nextTick as ue, openBlock as s, createElementBlock as i, normalizeStyle as d, unref as o, renderSlot as $, normalizeProps as ie, mergeProps as E, createCommentVNode as p, createElementVNode as v, toDisplayString as g, Fragment as V, renderList as re, createVNode as ve, createBlock as ce } from "vue";
2
+ import { j as de, t as O, m as fe, p as w, n as pe, o as ge, q as j, r as me, s as ye, u as D, k as _, l as A, X as he, v as ke } from "./lib-DBptbyyI.js";
3
+ import { u as xe } from "./useConfig-DO94Aj5s.js";
4
+ import { u as be, B as Ce } from "./BaseScanner-BhhkKVoj.js";
5
+ import { u as I } from "./useNestedProp-Bf5XFbs8.js";
6
+ import { u as we } from "./useThemeCheck-D1ZYXUwG.js";
7
+ import { u as _e } from "./usePrefersMotion-CUKm8_t8.js";
8
+ import Ae from "./vue_ui_sparkbar-BsMzz5Um.js";
9
+ const Se = ["onClick", "onMouseenter", "onMouseleave"], $e = {
9
10
  key: 1,
10
11
  class: "vue-ui-sparkbar-datapoint-value"
11
- }, Se = ["xmlns", "viewBox"], $e = ["id"], De = ["stop-color"], Ie = ["stop-color"], Te = ["height", "width", "fill", "rx"], Le = ["height", "width", "fill", "rx"], ze = ["height", "width", "fill", "rx"], Ne = {
12
+ }, De = ["xmlns", "viewBox"], Ie = ["id"], Te = ["stop-color"], Le = ["stop-color"], ze = ["height", "width", "fill", "rx"], Ne = ["height", "width", "fill", "rx"], Pe = ["height", "width", "fill", "rx"], Fe = {
12
13
  key: 2,
13
14
  ref: "source",
14
15
  dir: "auto"
15
- }, je = {
16
+ }, We = {
16
17
  __name: "vue-ui-sparkbar",
17
18
  props: {
18
19
  config: {
@@ -36,12 +37,12 @@ const _e = ["onClick", "onMouseenter", "onMouseleave"], Ae = {
36
37
  }
37
38
  },
38
39
  emits: ["selectDatapoint"],
39
- setup(j, { emit: U }) {
40
- const R = ae(() => import("./PackageVersion-DN9d0ME5.js")), { vue_ui_sparkbar: W } = ke(), { isThemeValid: q, warnInvalidTheme: G } = Ce(), p = j, H = oe();
41
- P(() => {
42
- H["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
40
+ setup(R, { emit: U }) {
41
+ const W = oe(() => import("./PackageVersion-DPO-OOVI.js")), { vue_ui_sparkbar: q } = xe(), { isThemeValid: G, warnInvalidTheme: H } = we(), T = _e(), f = R, X = ne();
42
+ M(() => {
43
+ X["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
43
44
  });
44
- const T = k(ce()), e = k(S()), X = x(() => M({
45
+ const L = k(de()), e = k(S()), J = x(() => O({
45
46
  defaultConfig: {
46
47
  style: {
47
48
  backgroundColor: "#99999930",
@@ -59,62 +60,62 @@ const _e = ["onClick", "onMouseenter", "onMouseleave"], Ae = {
59
60
  }
60
61
  },
61
62
  userConfig: e.value.skeletonConfig ?? {}
62
- })), { loading: b, FINAL_DATASET: c } = xe({
63
- ...ne(p),
63
+ })), { loading: b, FINAL_DATASET: c } = be({
64
+ ...se(f),
64
65
  FINAL_CONFIG: e,
65
66
  prepareConfig: S,
66
- skeletonDataset: p.config?.skeletonDataset ?? [
67
+ skeletonDataset: f.config?.skeletonDataset ?? [
67
68
  { name: "_", value: 21, target: 25, color: "#808080" },
68
69
  { name: "_", value: 13, target: 25, color: "#ADADAD" },
69
70
  { name: "_", value: 8, target: 25, color: "#DBDBDB" }
70
71
  ],
71
- skeletonConfig: M({
72
+ skeletonConfig: O({
72
73
  defaultConfig: e.value,
73
- userConfig: X.value
74
+ userConfig: J.value
74
75
  })
75
- }), L = x(() => !!e.value.debug);
76
+ }), z = x(() => !!e.value.debug);
76
77
  function S() {
77
78
  const t = I({
78
- userConfig: p.config,
79
- defaultConfig: W
79
+ userConfig: f.config,
80
+ defaultConfig: q
80
81
  }), a = t.theme;
81
82
  if (!a) return t;
82
- if (!q.value(t))
83
- return G(t), t;
83
+ if (!G.value(t))
84
+ return H(t), t;
84
85
  const l = I({
85
- userConfig: we[a] || p.config,
86
+ userConfig: Ae[a] || f.config,
86
87
  defaultConfig: t
87
88
  }), n = I({
88
- userConfig: p.config,
89
+ userConfig: f.config,
89
90
  defaultConfig: l
90
91
  });
91
92
  return {
92
93
  ...n,
93
- customPalette: n.customPalette.length ? n.customPalette : de[a] || w
94
+ customPalette: n.customPalette.length ? n.customPalette : fe[a] || w
94
95
  };
95
96
  }
96
- B(() => p.config, (t) => {
97
+ B(() => f.config, (t) => {
97
98
  e.value = S();
98
99
  }, { deep: !0 });
99
- const J = x(() => pe(e.value.customPalette)), m = k(c.value.map((t) => ({
100
+ const K = x(() => pe(e.value.customPalette)), m = k(c.value.map((t) => ({
100
101
  ...t,
101
102
  value: e.value.style.animation.show ? 0 : t.value || 0,
102
103
  formatter: t.formatter || null
103
- }))), z = k(null);
104
- P(async () => {
105
- fe(p.dataset) && O({
104
+ }))), N = k(null);
105
+ M(async () => {
106
+ ge(f.dataset) && j({
106
107
  componentName: "VueUiSparkbar",
107
108
  type: "dataset",
108
- debug: L.value
109
- }), N();
109
+ debug: z.value
110
+ }), P();
110
111
  });
111
- function N() {
112
- if (e.value.style.animation.show) {
112
+ function P() {
113
+ if (e.value.style.animation.show && !T.value) {
113
114
  let h = function() {
114
115
  n += l / t, n < l ? (m.value = m.value.map((u, C) => ({
115
116
  ...u,
116
117
  value: u.value += a[C]
117
- })), z.value = requestAnimationFrame(h)) : m.value = c.value.map((u) => ({
118
+ })), N.value = requestAnimationFrame(h)) : m.value = c.value.map((u) => ({
118
119
  ...u,
119
120
  value: u.value || 0,
120
121
  formatter: u.formatter || null
@@ -126,50 +127,50 @@ const _e = ["onClick", "onMouseenter", "onMouseleave"], Ae = {
126
127
  }
127
128
  }
128
129
  B(() => c.value, async (t) => {
129
- cancelAnimationFrame(z.value), m.value = c.value.map((a) => ({
130
+ cancelAnimationFrame(N.value), m.value = c.value.map((a) => ({
130
131
  ...a,
131
- value: e.value.style.animation.show ? 0 : a.value || 0,
132
+ value: e.value.style.animation.show && !T.value ? 0 : a.value || 0,
132
133
  formatter: a.formatter || null
133
- })), se(N);
134
+ })), ue(P);
134
135
  }, { deep: !0 });
135
136
  const r = k({
136
137
  width: 500,
137
138
  height: 16
138
- }), K = x(() => Math.max(...c.value.map((t) => t.value))), Q = x(() => (c.value.forEach((t, a) => {
139
- ge({
139
+ }), Q = x(() => Math.max(...c.value.map((t) => t.value))), Y = x(() => (c.value.forEach((t, a) => {
140
+ me({
140
141
  datasetObject: t,
141
142
  requiredAttributes: ["name", "value"]
142
143
  }).forEach((l) => {
143
- O({
144
+ j({
144
145
  componentName: "VueUiSparkbar",
145
146
  type: "datasetSerieAttribute",
146
147
  property: l,
147
148
  index: a,
148
- debug: L.value
149
+ debug: z.value
149
150
  });
150
151
  });
151
152
  }), m.value.map((t, a) => ({
152
153
  ...t,
153
154
  value: t.value || 0,
154
- color: me(t.color) || J.value[a] || w[a] || w[a % w.length]
155
+ color: ye(t.color) || K.value[a] || w[a] || w[a % w.length]
155
156
  }))));
156
- function Y(t) {
157
- return t / K.value;
157
+ function Z(t) {
158
+ return t / Q.value;
158
159
  }
159
160
  function F(t) {
160
- return e.value.style.layout.independant ? t.target ? t.value / t.target : e.value.style.layout.percentage ? t.value > 100 ? 1 : t.value / 100 : e.value.style.layout.target === 0 ? 1 : t.value / e.value.style.layout.target : Y(t.value);
161
+ return e.value.style.layout.independant ? t.target ? t.value / t.target : e.value.style.layout.percentage ? t.value > 100 ? 1 : t.value / 100 : e.value.style.layout.target === 0 ? 1 : t.value / e.value.style.layout.target : Z(t.value);
161
162
  }
162
163
  function y(t) {
163
164
  return e.value.style.layout.independant && t.target || e.value.style.layout.target;
164
165
  }
165
- const Z = U;
166
- function ee(t, a) {
167
- Z("selectDatapoint", { datapoint: t, index: a }), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a });
168
- }
166
+ const ee = U;
169
167
  function te(t, a) {
170
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a });
168
+ ee("selectDatapoint", { datapoint: t, index: a }), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a });
171
169
  }
172
170
  function le(t, a) {
171
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a });
172
+ }
173
+ function ae(t, a) {
173
174
  e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a });
174
175
  }
175
176
  return (t, a) => (s(), i("div", {
@@ -178,10 +179,10 @@ const _e = ["onClick", "onMouseenter", "onMouseleave"], Ae = {
178
179
  width: "100%",
179
180
  position: "relative",
180
181
  fontFamily: e.value.style.fontFamily,
181
- background: p.backgroundOpacity !== null ? o(D)(e.value.style.backgroundColor, p.backgroundOpacity) : e.value.style.backgroundColor
182
+ background: f.backgroundOpacity !== null ? o(D)(e.value.style.backgroundColor, f.backgroundOpacity) : e.value.style.backgroundColor
182
183
  })
183
184
  }, [
184
- t.$slots.title ? $(t.$slots, "title", ue(E({ key: 0 }, { title: { ...t.title, title: e.value.style.title.text, subtitle: e.value.style.title.subtitle.text } }))) : f("", !0),
185
+ t.$slots.title ? $(t.$slots, "title", ie(E({ key: 0 }, { title: { ...t.title, title: e.value.style.title.text, subtitle: e.value.style.title.subtitle.text } }))) : p("", !0),
185
186
  !t.$slots.title && e.value.style.title.text ? (s(), i("div", {
186
187
  key: 1,
187
188
  class: "vue-ui-sparkbar-title-container",
@@ -207,15 +208,15 @@ const _e = ["onClick", "onMouseenter", "onMouseleave"], Ae = {
207
208
  color: e.value.style.title.subtitle.color,
208
209
  fontWeight: e.value.style.title.subtitle.bold ? "bold" : "normal"
209
210
  })
210
- }, g(e.value.style.title.subtitle.text), 5)) : f("", !0)
211
- ], 4)) : f("", !0),
212
- (s(!0), i(V, null, ie(Q.value, (l, n) => (s(), i("div", {
211
+ }, g(e.value.style.title.subtitle.text), 5)) : p("", !0)
212
+ ], 4)) : p("", !0),
213
+ (s(!0), i(V, null, re(Y.value, (l, n) => (s(), i("div", {
213
214
  style: d(`display:flex !important;${["left", "right"].includes(e.value.style.labels.name.position) ? `flex-direction: ${e.value.style.labels.name.position === "right" ? "row-reverse" : "row"} !important` : "flex-direction:column !important"};gap:${e.value.style.gap}px !important;align-items:center;${o(c).length > 0 && n !== o(c).length - 1 ? "margin-bottom:6px" : ""}`),
214
- onClick: (h) => ee(l, n),
215
- onMouseenter: (h) => te(l, n),
216
- onMouseleave: (h) => le(l, n)
215
+ onClick: (h) => te(l, n),
216
+ onMouseenter: (h) => le(l, n),
217
+ onMouseleave: (h) => ae(l, n)
217
218
  }, [
218
- o(b) ? f("", !0) : $(t.$slots, "data-label", E({
219
+ o(b) ? p("", !0) : $(t.$slots, "data-label", E({
219
220
  key: 0,
220
221
  ref_for: !0
221
222
  }, { bar: {
@@ -292,8 +293,8 @@ const _e = ["onClick", "onMouseenter", "onMouseleave"], Ae = {
292
293
  r: l.rounding || 0
293
294
  }),
294
295
  { datapoint: l, seriesIndex: n }
295
- )), 5)) : f("", !0),
296
- e.value.style.layout.showTargetValue ? (s(), i("span", Ae, g(" " + e.value.style.layout.targetValueText) + " " + g(o(_)(
296
+ )), 5)) : p("", !0),
297
+ e.value.style.layout.showTargetValue ? (s(), i("span", $e, g(" " + e.value.style.layout.targetValueText) + " " + g(o(_)(
297
298
  l.formatter,
298
299
  y(l),
299
300
  o(A)({
@@ -303,32 +304,33 @@ const _e = ["onClick", "onMouseenter", "onMouseleave"], Ae = {
303
304
  r: l.rounding || 0
304
305
  }),
305
306
  { datapoint: l, seriesIndex: n }
306
- )), 1)) : f("", !0)
307
+ )), 1)) : p("", !0)
307
308
  ], 64))
308
- ], 4)) : f("", !0),
309
+ ], 4)) : p("", !0),
309
310
  (s(), i("svg", {
310
- xmlns: o(ye),
311
+ role: "img",
312
+ xmlns: o(he),
311
313
  viewBox: `0 0 ${r.value.width} ${r.value.height}`,
312
314
  width: "100%"
313
315
  }, [
314
- re(o(R)),
316
+ ve(o(W)),
315
317
  v("defs", null, [
316
318
  v("linearGradient", {
317
319
  x1: "0%",
318
320
  y1: "0%",
319
321
  x2: "100%",
320
322
  y2: "0%",
321
- id: `sparkbar_gradient_${n}_${T.value}`
323
+ id: `sparkbar_gradient_${n}_${L.value}`
322
324
  }, [
323
325
  v("stop", {
324
326
  offset: "0%",
325
- "stop-color": o(D)(o(he)(l.color, 0.03), 100 - e.value.style.bar.gradient.intensity)
326
- }, null, 8, De),
327
+ "stop-color": o(D)(o(ke)(l.color, 0.03), 100 - e.value.style.bar.gradient.intensity)
328
+ }, null, 8, Te),
327
329
  v("stop", {
328
330
  offset: "100%",
329
331
  "stop-color": l.color
330
- }, null, 8, Ie)
331
- ], 8, $e)
332
+ }, null, 8, Le)
333
+ ], 8, Ie)
332
334
  ]),
333
335
  v("rect", {
334
336
  height: r.value.height,
@@ -337,7 +339,7 @@ const _e = ["onClick", "onMouseenter", "onMouseleave"], Ae = {
337
339
  y: 0,
338
340
  fill: o(D)(e.value.style.gutter.backgroundColor, e.value.style.gutter.opacity),
339
341
  rx: r.value.height / 2
340
- }, null, 8, Te),
342
+ }, null, 8, ze),
341
343
  v("rect", {
342
344
  height: r.value.height,
343
345
  width: r.value.width * F(l),
@@ -345,24 +347,24 @@ const _e = ["onClick", "onMouseenter", "onMouseleave"], Ae = {
345
347
  y: 0,
346
348
  fill: e.value.style.bar.gradient.underlayerColor,
347
349
  rx: r.value.height / 2
348
- }, null, 8, Le),
350
+ }, null, 8, Ne),
349
351
  v("rect", {
350
352
  height: r.value.height,
351
353
  width: r.value.width * F(l),
352
354
  x: 0,
353
355
  y: 0,
354
- fill: e.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${n}_${T.value})` : l.color,
356
+ fill: e.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${n}_${L.value})` : l.color,
355
357
  rx: r.value.height / 2
356
- }, null, 8, ze)
357
- ], 8, Se))
358
- ], 44, _e))), 256)),
359
- t.$slots.source ? (s(), i("div", Ne, [
358
+ }, null, 8, Pe)
359
+ ], 8, De))
360
+ ], 44, Se))), 256)),
361
+ t.$slots.source ? (s(), i("div", Fe, [
360
362
  $(t.$slots, "source")
361
- ], 512)) : f("", !0),
362
- o(b) ? (s(), ve(be, { key: 3 })) : f("", !0)
363
+ ], 512)) : p("", !0),
364
+ o(b) ? (s(), ce(Ce, { key: 3 })) : p("", !0)
363
365
  ], 4));
364
366
  }
365
367
  };
366
368
  export {
367
- je as default
369
+ We as default
368
370
  };
@@ -0,0 +1,256 @@
1
+ import { defineAsyncComponent as H, ref as p, computed as s, toRefs as K, onMounted as D, watch as E, onBeforeUnmount as J, openBlock as i, createElementBlock as c, normalizeStyle as b, toDisplayString as x, createCommentVNode as m, unref as r, createVNode as Q, renderSlot as A, createElementVNode as g, normalizeClass as W, createBlock as Z } from "vue";
2
+ import { u as w } from "./useNestedProp-Bf5XFbs8.js";
3
+ import { j as ee, t as I, o as te, q as R, r as ae, ao as le, X as oe, k as se, K as _, l as ne } from "./lib-DBptbyyI.js";
4
+ import { u as ue } from "./useConfig-DO94Aj5s.js";
5
+ import { u as ie, B as re } from "./BaseScanner-BhhkKVoj.js";
6
+ import { u as ve } from "./useThemeCheck-D1ZYXUwG.js";
7
+ import { u as ce } from "./useChartAccessibility-9icAAmYg.js";
8
+ import { u as fe } from "./usePrefersMotion-CUKm8_t8.js";
9
+ import de from "./vue_ui_sparkgauge-KnjASOZs.js";
10
+ const me = ["xmlns", "viewBox"], ge = ["width", "height"], ye = ["id"], he = ["stop-color"], pe = ["stop-color"], be = ["d", "stroke", "stroke-linecap"], ke = ["d", "stroke", "stroke-linecap", "stroke-dashoffset"], Ce = ["x", "y", "width", "height"], xe = ["x", "y", "font-size", "fill", "font-weight"], Ae = {
11
+ key: 2,
12
+ ref: "source",
13
+ dir: "auto"
14
+ }, De = {
15
+ __name: "vue-ui-sparkgauge",
16
+ props: {
17
+ config: {
18
+ type: Object,
19
+ default() {
20
+ return {};
21
+ }
22
+ },
23
+ dataset: {
24
+ type: Object,
25
+ default() {
26
+ return {};
27
+ }
28
+ }
29
+ },
30
+ setup(T) {
31
+ const j = H(() => import("./PackageVersion-DPO-OOVI.js")), { vue_ui_sparkgauge: O } = ue(), { isThemeValid: U, warnInvalidTheme: G } = ve(), P = fe(), f = p(null), v = T, $ = p(ee()), e = p(C()), y = s(() => e.value.style.animation.show && !P.value), q = s(() => I({
32
+ defaultConfig: {
33
+ style: {
34
+ animation: { show: !1 },
35
+ background: "#99999930",
36
+ colors: {
37
+ min: "#CACACA",
38
+ max: "#6A6A6A"
39
+ },
40
+ track: {
41
+ autoColor: !0
42
+ },
43
+ gutter: {
44
+ color: "#6A6A6A80"
45
+ }
46
+ }
47
+ },
48
+ userConfig: e.value.skeletonConfig ?? {}
49
+ })), { loading: k, FINAL_DATASET: d } = ie({
50
+ ...K(v),
51
+ FINAL_CONFIG: e,
52
+ prepareConfig: C,
53
+ skeletonDataset: v.config?.skeletonDataset ?? {
54
+ value: 0,
55
+ min: -1,
56
+ max: 1,
57
+ title: ""
58
+ },
59
+ skeletonConfig: I({
60
+ defaultConfig: e.value,
61
+ userConfig: q.value
62
+ })
63
+ }), n = s(() => {
64
+ const t = d.value.min ?? 0, l = d.value.max ?? 0, u = l - t;
65
+ return {
66
+ min: t,
67
+ max: l,
68
+ diff: u
69
+ };
70
+ }), L = s(() => n.value.diff / e.value.style.animation.speedMs), { svgRef: V } = ce({ config: { text: v.dataset?.title || "" } });
71
+ function C() {
72
+ const t = w({
73
+ userConfig: v.config,
74
+ defaultConfig: O
75
+ }), l = t.theme;
76
+ if (!l) return t;
77
+ if (!U.value(t))
78
+ return G(t), t;
79
+ const u = w({
80
+ userConfig: de[l] || v.config,
81
+ defaultConfig: t
82
+ });
83
+ return w({
84
+ userConfig: v.config,
85
+ defaultConfig: u
86
+ });
87
+ }
88
+ D(() => {
89
+ z();
90
+ });
91
+ const S = s(() => e.value.debug);
92
+ function z() {
93
+ te(v.dataset) ? R({
94
+ componentName: "VueUiSparkgauge",
95
+ type: "dataset",
96
+ debug: S.value
97
+ }) : ae({
98
+ datasetObject: v.dataset,
99
+ requiredAttributes: ["value", "min", "max"]
100
+ }).forEach((t) => {
101
+ R({
102
+ componentName: "VueUiSparkgauge",
103
+ type: "datasetAttribute",
104
+ property: t,
105
+ debug: S.value
106
+ });
107
+ });
108
+ }
109
+ E(() => v.config, () => {
110
+ e.value = C(), a.value = y.value ? n.value.min : d.value.value, z();
111
+ }, { deep: !0 });
112
+ const o = s(() => ({
113
+ height: e.value.style.height,
114
+ width: 128,
115
+ base: e.value.style.basePosition
116
+ })), a = p(y.value ? n.value.min : d.value.value);
117
+ E(
118
+ [() => d.value.value, y],
119
+ ([t, l]) => {
120
+ M(t || 0, l);
121
+ },
122
+ { immediate: !0 }
123
+ );
124
+ const X = s(() => a.value > n.value.max ? n.value.max : a.value < n.value.min ? n.value.min : a.value);
125
+ D(() => {
126
+ M(d.value.value || 0);
127
+ });
128
+ function M(t, l = y.value) {
129
+ if (f.value && (cancelAnimationFrame(f.value), f.value = null), !l) {
130
+ a.value = t;
131
+ return;
132
+ }
133
+ function u() {
134
+ a.value < t ? a.value = Math.min(a.value + L.value, t) : a.value > t && (a.value = Math.max(a.value - L.value, t)), a.value !== t ? f.value = requestAnimationFrame(u) : f.value = null;
135
+ }
136
+ u();
137
+ }
138
+ const h = s(() => d.value.title ?? ""), N = s(() => {
139
+ const t = n.value.diff;
140
+ if (!isFinite(t) || t === 0) return 0;
141
+ const l = n.value.min, u = X.value;
142
+ return u >= 0 ? (u - l) / t : (Math.abs(l) - Math.abs(u)) / t;
143
+ }), F = s(() => le(e.value.style.colors.min, e.value.style.colors.max, n.value.min, n.value.max, a.value)), B = s(() => e.value.style.dataLabel.autoColor ? F.value : e.value.style.dataLabel.color), Y = s(() => e.value.style.track.autoColor ? F.value : e.value.style.track.color);
144
+ return J(() => {
145
+ f.value && cancelAnimationFrame(f.value);
146
+ }), (t, l) => (i(), c("div", {
147
+ class: "vue-data-ui-component vue-ui-sparkgauge",
148
+ style: b(`font-family:${e.value.style.fontFamily};width: 100%; background:${e.value.style.background}`)
149
+ }, [
150
+ e.value.style.title.show && h.value && e.value.style.title.position === "top" ? (i(), c("div", {
151
+ key: 0,
152
+ class: "vue-data-ui-sparkgauge-label",
153
+ style: b(`font-size:${e.value.style.title.fontSize}px;text-align:${e.value.style.title.textAlign};font-weight:${e.value.style.title.bold ? "bold" : "normal"};color:${e.value.style.title.color}`)
154
+ }, x(h.value), 5)) : m("", !0),
155
+ (i(), c("svg", {
156
+ ref_key: "svgRef",
157
+ ref: V,
158
+ xmlns: r(oe),
159
+ viewBox: `0 0 ${o.value.width} ${o.value.height}`,
160
+ style: "overflow: visible; background:transparent; width:100%;"
161
+ }, [
162
+ Q(r(j)),
163
+ t.$slots["chart-background"] && !r(k) ? (i(), c("foreignObject", {
164
+ key: 0,
165
+ x: 0,
166
+ y: 0,
167
+ width: o.value.width,
168
+ height: o.value.height,
169
+ style: {
170
+ pointerEvents: "none"
171
+ }
172
+ }, [
173
+ A(t.$slots, "chart-background")
174
+ ], 8, ge)) : m("", !0),
175
+ g("defs", null, [
176
+ g("linearGradient", {
177
+ id: `gradient_${$.value}`,
178
+ x1: "-10%",
179
+ y1: "100%",
180
+ x2: "110%",
181
+ y2: "100%"
182
+ }, [
183
+ g("stop", {
184
+ offset: "0%",
185
+ "stop-color": e.value.style.colors.min
186
+ }, null, 8, he),
187
+ g("stop", {
188
+ offset: "100%",
189
+ "stop-color": e.value.style.colors.max
190
+ }, null, 8, pe)
191
+ ], 8, ye)
192
+ ]),
193
+ g("path", {
194
+ d: `M10 ${o.value.base} A 1 1 0 1 1 118 ${o.value.base}`,
195
+ stroke: e.value.style.gutter.color,
196
+ "stroke-width": 8,
197
+ "stroke-linecap": e.value.style.gutter.strokeLinecap,
198
+ fill: "none"
199
+ }, null, 8, be),
200
+ N.value !== 0 ? (i(), c("path", {
201
+ key: 1,
202
+ d: `M10 ${o.value.base} A 1 1 0 1 1 118 ${o.value.base}`,
203
+ stroke: e.value.style.colors.showGradient ? `url(#gradient_${$.value})` : Y.value,
204
+ "stroke-width": 8,
205
+ "stroke-linecap": e.value.style.track.strokeLinecap,
206
+ fill: "none",
207
+ "stroke-dasharray": 169.5,
208
+ "stroke-dashoffset": 169.5 - 169.5 * N.value,
209
+ class: W({ "vue-ui-sparkgauge-track": e.value.style.animation.show }),
210
+ style: b(e.value.style.animation.show ? `animation: vue-ui-sparkgauge-animation ${e.value.style.animation.speedMs}ms ease-in;` : "")
211
+ }, null, 14, ke)) : m("", !0),
212
+ r(k) ? (i(), c("rect", {
213
+ key: 2,
214
+ x: o.value.width / 2 - e.value.style.dataLabel.fontSize / 2,
215
+ y: o.value.base + 6 + e.value.style.dataLabel.offsetY - e.value.style.dataLabel.fontSize,
216
+ width: e.value.style.dataLabel.fontSize,
217
+ height: e.value.style.dataLabel.fontSize,
218
+ fill: "#6A6A6A50",
219
+ rx: 3
220
+ }, null, 8, Ce)) : (i(), c("text", {
221
+ key: 3,
222
+ "text-anchor": "middle",
223
+ x: o.value.width / 2,
224
+ y: o.value.base + 6 + e.value.style.dataLabel.offsetY,
225
+ "font-size": e.value.style.dataLabel.fontSize,
226
+ fill: B.value,
227
+ "font-weight": e.value.style.dataLabel.bold ? "bold" : "normal"
228
+ }, x(r(se)(
229
+ e.value.style.dataLabel.formatter,
230
+ r(_)(a.value),
231
+ r(ne)({
232
+ p: e.value.style.dataLabel.prefix,
233
+ v: r(_)(a.value),
234
+ s: e.value.style.dataLabel.suffix,
235
+ r: e.value.style.dataLabel.rounding
236
+ }),
237
+ { datapoint: r(_)(a.value), color: B.value }
238
+ )), 9, xe))
239
+ ], 8, me)),
240
+ e.value.style.title.show && h.value && e.value.style.title.position === "bottom" ? (i(), c("div", {
241
+ key: 1,
242
+ class: "vue-data-ui-sparkgauge-label",
243
+ style: b(`font-size:${e.value.style.title.fontSize}px;text-align:${e.value.style.title.textAlign};font-weight:${e.value.style.title.bold ? "bold" : "normal"};font-weight:${e.value.style.title.bold ? "bold" : "normal"};color:${e.value.style.title.color}`)
244
+ }, x(h.value), 5)) : m("", !0),
245
+ t.$slots.source ? (i(), c("div", Ae, [
246
+ A(t.$slots, "source")
247
+ ], 512)) : m("", !0),
248
+ A(t.$slots, "skeleton", {}, () => [
249
+ r(k) ? (i(), Z(re, { key: 0 })) : m("", !0)
250
+ ])
251
+ ], 4));
252
+ }
253
+ };
254
+ export {
255
+ De as default
256
+ };