vue-data-ui 3.22.9 → 3.22.10

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 (204) hide show
  1. package/dist/{Arrow-DdymhUfY.js → Arrow-Ku6rQ87g.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Av7Uxq5V.js → BaseDraggableDialog-CdkCqtag.js} +2 -2
  3. package/dist/{BaseIcon-UdRAvP2h.js → BaseIcon-CDTIUIKV.js} +1 -1
  4. package/dist/{BaseLegendToggle-DWtet-Hh.js → BaseLegendToggle-BrQ2OlzI.js} +1 -1
  5. package/dist/{BaseZoomControls-BY2KLqs6.js → BaseZoomControls-CkEX0292.js} +2 -2
  6. package/dist/{ColorPicker-DR_ummtM.js → ColorPicker-C959ZIW9.js} +2 -2
  7. package/dist/{DataTable-BxpTMgfK.js → DataTable-ByZy5gt1.js} +2 -2
  8. package/dist/{Legend-ROt6ugzW.js → Legend-5VQGLnmx.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-B6EG_Sga.js → NonSvgPenAndPaper-Bd8OzTqw.js} +3 -3
  10. package/dist/{PackageVersion-D__dRVRA.js → PackageVersion-BoTvk0i5.js} +1 -1
  11. package/dist/{PenAndPaper-DsXi7GJ-.js → PenAndPaper-CLaZJl6K.js} +3 -3
  12. package/dist/{Shape-UpH0a4Ur.js → Shape-B5ksaGa1.js} +3 -3
  13. package/dist/{Slicer-CW_XPIKL.js → Slicer-WsWTQPKt.js} +21 -21
  14. package/dist/{SlicerPreview-CTz41lOu.js → SlicerPreview-3n516NyE.js} +214 -214
  15. package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-CbYYc-xb.js} +1 -1
  16. package/dist/{Title-CcNiYzEo.js → Title-Cr3jP7Qd.js} +1 -1
  17. package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CDbLl3TD.js} +1 -1
  18. package/dist/{UserOptions-trvJ26nz.js → UserOptions-BUQOnoPR.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-BbwhsRIr.js → dom-to-png-COPbGrdd.js} +1 -1
  89. package/dist/exposedLib-CZbtc2a6.js +25 -0
  90. package/dist/{img-DnP3eXuv.js → img-CNdXiUfZ.js} +1 -1
  91. package/dist/{labelUtils-DBEh078l.js → labelUtils-JaoYKi2N.js} +1 -1
  92. package/dist/{lib-JqW18y5I.js → lib-CnHx5WfV.js} +118 -107
  93. package/dist/{package-ByOT60IK.js → package-BRBLwZUc.js} +1 -1
  94. package/dist/{pdf-hj3gzrE7.js → pdf-CEMzBeuV.js} +1 -1
  95. package/dist/{render-common-D18VrP0h.js → render-common-DJXFRGhU.js} +10 -10
  96. package/dist/ssr/vue-ui-donut.js +1 -1
  97. package/dist/ssr/vue-ui-xy.js +1 -1
  98. package/dist/ssr.js +2 -2
  99. package/dist/types/utils.d.ts +40 -0
  100. package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-BUPt2iaP.js} +1 -1
  101. package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-D8NuRneO.js} +2 -2
  102. package/dist/{usePrinter-CqqHmnBI.js → usePrinter-B-X_Pub0.js} +2 -2
  103. package/dist/utils.js +26 -24
  104. package/dist/{vue-data-ui-ub3fCh6P.js → vue-data-ui-Bx_8d3b_.js} +68 -68
  105. package/dist/vue-data-ui.js +77 -77
  106. package/dist/vue-ui-3d-bar-CfUfbpSE.js +1825 -0
  107. package/dist/{vue-ui-accordion-CjAGqEJg.js → vue-ui-accordion-Oo3IsX3-.js} +3 -3
  108. package/dist/vue-ui-age-pyramid-DD-4y5Jd.js +1247 -0
  109. package/dist/{vue-ui-annotator-BIucnT0L.js → vue-ui-annotator-BvGE3lzE.js} +8 -8
  110. package/dist/vue-ui-bullet-DYOdbaO2.js +710 -0
  111. package/dist/vue-ui-bump-B8fJoxHF.js +1249 -0
  112. package/dist/{vue-ui-candlestick-DULUMU-Q.js → vue-ui-candlestick-BUP1JoNs.js} +287 -287
  113. package/dist/vue-ui-carousel-table-D-Bwhydt.js +455 -0
  114. package/dist/vue-ui-chestnut-C2VK2NEx.js +2042 -0
  115. package/dist/{vue-ui-chord-DL1M7cgL.js → vue-ui-chord-AA-QjUQI.js} +42 -42
  116. package/dist/{vue-ui-circle-pack-C1Pgq6si.js → vue-ui-circle-pack-CdBFGYOK.js} +37 -37
  117. package/dist/{vue-ui-cursor-d2uLAKTQ.js → vue-ui-cursor-Cm_J_5Gk.js} +5 -5
  118. package/dist/{vue-ui-dag-CVh9FpZr.js → vue-ui-dag-CgRph4-n.js} +32 -32
  119. package/dist/{vue-ui-dashboard-BH0N3ebj.js → vue-ui-dashboard-BuPw5QjB.js} +69 -69
  120. package/dist/{vue-ui-digits-R6wi3J-Y.js → vue-ui-digits-ClrukmcB.js} +3 -3
  121. package/dist/vue-ui-donut-Bc-EPZvu.js +2419 -0
  122. package/dist/{vue-ui-donut-BWDeVzLc.js → vue-ui-donut-DtQCrMKL.js} +207 -207
  123. package/dist/vue-ui-donut-evolution-DHkiY-BD.js +1522 -0
  124. package/dist/vue-ui-dumbbell-BlHEH4Mw.js +1564 -0
  125. package/dist/{vue-ui-flow-CNczKwTh.js → vue-ui-flow-PjwAW2tY.js} +71 -71
  126. package/dist/vue-ui-funnel-DojI09FV.js +782 -0
  127. package/dist/{vue-ui-galaxy-v3cTbUiM.js → vue-ui-galaxy-txYIK_LG.js} +276 -276
  128. package/dist/{vue-ui-gauge-DxvMjfoc.js → vue-ui-gauge-CoL0OzSd.js} +178 -178
  129. package/dist/{vue-ui-geo-BgmLkZZ2.js → vue-ui-geo-yuL-_sqF.js} +20 -20
  130. package/dist/{vue-ui-gizmo-n1kmcGeE.js → vue-ui-gizmo-CbC5zV3K.js} +9 -9
  131. package/dist/{vue-ui-heatmap-dSTh8ah_.js → vue-ui-heatmap-CwqsZIsR.js} +331 -331
  132. package/dist/{vue-ui-history-plot-N8BqMFVU.js → vue-ui-history-plot-CuWssH-D.js} +414 -414
  133. package/dist/vue-ui-horizontal-bar-Dyje3GND.js +1689 -0
  134. package/dist/{vue-ui-kpi-BKrUk9o8.js → vue-ui-kpi-BdYenScF.js} +3 -3
  135. package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-BbwE3vBT.js} +2 -2
  136. package/dist/vue-ui-molecule-BBh31vmd.js +931 -0
  137. package/dist/{vue-ui-mood-radar-CpBRHQo_.js → vue-ui-mood-radar-B_6GFlaR.js} +261 -261
  138. package/dist/vue-ui-nested-donuts-BWq-At5Y.js +1493 -0
  139. package/dist/vue-ui-onion-BwGbSE-6.js +1200 -0
  140. package/dist/vue-ui-parallel-coordinate-plot-Bh9hNoqf.js +1416 -0
  141. package/dist/vue-ui-quadrant-B72Y4Zuw.js +1984 -0
  142. package/dist/{vue-ui-quick-chart-BO98uEPl.js → vue-ui-quick-chart-B3LF2ViM.js} +108 -108
  143. package/dist/vue-ui-radar-4v_E8oGX.js +1287 -0
  144. package/dist/{vue-ui-rating-CN-ZiAES.js → vue-ui-rating-CzLGCFWK.js} +101 -101
  145. package/dist/vue-ui-relation-circle-B_8dyIv2.js +924 -0
  146. package/dist/vue-ui-ridgeline-BArLhskj.js +1628 -0
  147. package/dist/vue-ui-rings-Csn5BgLk.js +1252 -0
  148. package/dist/vue-ui-scatter-BBaOx94M.js +2422 -0
  149. package/dist/{vue-ui-skeleton-DC2bZ0nk.js → vue-ui-skeleton-KeIPGp9U.js} +99 -99
  150. package/dist/{vue-ui-smiley-Dyyu1je3.js → vue-ui-smiley-C1mYDh4R.js} +17 -17
  151. package/dist/vue-ui-spark-trend-EqCqmHmU.js +443 -0
  152. package/dist/{vue-ui-sparkbar-DhIo1qsW.js → vue-ui-sparkbar-BPh45vBP.js} +66 -66
  153. package/dist/{vue-ui-sparkgauge-D0Fo3Hts.js → vue-ui-sparkgauge-CtouPcyW.js} +65 -65
  154. package/dist/vue-ui-sparkhistogram-D4sI0DHN.js +576 -0
  155. package/dist/{vue-ui-sparkline-ApivEMBP.js → vue-ui-sparkline-BDFZ78Fz.js} +51 -51
  156. package/dist/vue-ui-sparkstackbar-CbTXIfxm.js +674 -0
  157. package/dist/{vue-ui-stackbar-Ds4hXATH.js → vue-ui-stackbar-nMXIY9x8.js} +108 -108
  158. package/dist/vue-ui-stackline-CzfXl5ah.js +2425 -0
  159. package/dist/{vue-ui-strip-plot-C3ZHf4bD.js → vue-ui-strip-plot-BCf5nthl.js} +65 -65
  160. package/dist/vue-ui-table-BAKkFXki.js +1338 -0
  161. package/dist/{vue-ui-table-heatmap-CNXNXXBU.js → vue-ui-table-heatmap-CUMxqHKK.js} +15 -15
  162. package/dist/{vue-ui-table-sparkline-B9JJ4pFF.js → vue-ui-table-sparkline-BVTm16fd.js} +20 -20
  163. package/dist/vue-ui-thermometer-CGeEW1KV.js +770 -0
  164. package/dist/{vue-ui-timer-5NAWw5BN.js → vue-ui-timer-Bz7EnsM1.js} +5 -5
  165. package/dist/{vue-ui-tiremarks-Caz_g1c5.js → vue-ui-tiremarks-IOqtk_Rr.js} +17 -17
  166. package/dist/{vue-ui-treemap-F9upPyOI.js → vue-ui-treemap-JxNNtb7v.js} +232 -232
  167. package/dist/vue-ui-waffle-D34mcJWi.js +1368 -0
  168. package/dist/{vue-ui-wheel-DD6Q39BA.js → vue-ui-wheel-B_qEhyvk.js} +44 -44
  169. package/dist/{vue-ui-word-cloud-BZLT5svo.js → vue-ui-word-cloud-TtObhd91.js} +32 -32
  170. package/dist/{vue-ui-world-DbEJN5NA.js → vue-ui-world-R9o00A6c.js} +210 -210
  171. package/dist/{vue-ui-xy-BYMAITk_.js → vue-ui-xy-CUt6sU1s.js} +766 -766
  172. package/dist/{vue-ui-xy-Cn9Q8YPr.js → vue-ui-xy-Do34-UbE.js} +134 -134
  173. package/dist/vue-ui-xy-canvas-C6eRRH--.js +1790 -0
  174. package/package.json +1 -1
  175. package/dist/exposedLib-VXFp3Z2c.js +0 -19
  176. package/dist/vue-ui-3d-bar-taPI41_I.js +0 -1825
  177. package/dist/vue-ui-age-pyramid-jvQZbF8E.js +0 -1247
  178. package/dist/vue-ui-bullet-CIATzlsk.js +0 -710
  179. package/dist/vue-ui-bump-D8MxltQE.js +0 -1249
  180. package/dist/vue-ui-carousel-table-BSmdexG7.js +0 -455
  181. package/dist/vue-ui-chestnut-BIh1nQ7q.js +0 -2042
  182. package/dist/vue-ui-donut-BoZdciGh.js +0 -2419
  183. package/dist/vue-ui-donut-evolution-CpC9EMro.js +0 -1522
  184. package/dist/vue-ui-dumbbell-DGA5Bfnl.js +0 -1564
  185. package/dist/vue-ui-funnel-CaD2tZCT.js +0 -782
  186. package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +0 -1689
  187. package/dist/vue-ui-molecule--kK1JfnP.js +0 -931
  188. package/dist/vue-ui-nested-donuts-8Ehwcuns.js +0 -1493
  189. package/dist/vue-ui-onion-Cf6JiYTH.js +0 -1200
  190. package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +0 -1416
  191. package/dist/vue-ui-quadrant-CxU0jiOm.js +0 -1984
  192. package/dist/vue-ui-radar-eH2Qih4_.js +0 -1287
  193. package/dist/vue-ui-relation-circle-BIcP-aAt.js +0 -924
  194. package/dist/vue-ui-ridgeline-ChXHzEJw.js +0 -1628
  195. package/dist/vue-ui-rings-J990vNbX.js +0 -1252
  196. package/dist/vue-ui-scatter-BeJB0EKg.js +0 -2422
  197. package/dist/vue-ui-spark-trend-CpDX85H3.js +0 -443
  198. package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +0 -576
  199. package/dist/vue-ui-sparkstackbar-DsKQJx_n.js +0 -674
  200. package/dist/vue-ui-stackline-DJbcVvmN.js +0 -2425
  201. package/dist/vue-ui-table-uudidrYt.js +0 -1338
  202. package/dist/vue-ui-thermometer-Bvw3oQb3.js +0 -770
  203. package/dist/vue-ui-waffle-Bk9AsrPp.js +0 -1368
  204. package/dist/vue-ui-xy-canvas-Dcm2ftwm.js +0 -1790
@@ -1,13 +1,13 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, G as n, J as r, Kt as i, Mt as a, Rt as o, S as ee, Wt as s, b as te, dt as ne, i as c, kt as re, t as l, zt as u } from "./lib-JqW18y5I.js";
2
+ import { At as t, Bt as n, C as r, Gt as i, K as ee, Nt as a, Y as o, et as s, ft as te, i as c, qt as l, t as ne, x as re, zt as u } from "./lib-CnHx5WfV.js";
3
3
  import { t as ie } from "./useConfig-DYM3f6EI.js";
4
4
  import { n as ae, t as oe } from "./BaseScanner-DZvpgOjM.js";
5
- import { t as d } from "./useNestedProp-DIuuzG1r.js";
6
- import { t as f } from "./useThemeCheck-C43Tcqmk.js";
7
- import { t as se } from "./DefGrad-DVBqDjhO.js";
5
+ import { t as d } from "./useNestedProp-D8NuRneO.js";
6
+ import { t as se } from "./useThemeCheck-C43Tcqmk.js";
7
+ import { t as f } from "./DefGrad-DVBqDjhO.js";
8
8
  import { t as ce } from "./usePrefersMotion-BC-CsqR1.js";
9
9
  import { t as le } from "./vue_ui_sparkbar-z6qO--Kf.js";
10
- import { Fragment as p, computed as m, createBlock as ue, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createVNode as v, defineAsyncComponent as de, mergeProps as y, nextTick as fe, normalizeProps as b, normalizeStyle as x, onMounted as S, openBlock as C, ref as w, renderList as pe, renderSlot as T, toDisplayString as E, toRefs as me, unref as D, useSlots as O, watch as k } from "vue";
10
+ import { Fragment as p, computed as m, createBlock as ue, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createVNode as v, defineAsyncComponent as y, mergeProps as b, nextTick as de, normalizeProps as x, normalizeStyle as S, onMounted as C, openBlock as w, ref as T, renderList as fe, renderSlot as E, toDisplayString as D, toRefs as pe, unref as O, useSlots as me, watch as k } from "vue";
11
11
  //#region src/components/vue-ui-sparkbar.vue
12
12
  var A = /* @__PURE__ */ e({ default: () => R }), j = [
13
13
  "onClick",
@@ -57,11 +57,11 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
57
57
  },
58
58
  emits: ["selectDatapoint"],
59
59
  setup(e, { emit: A }) {
60
- let R = de(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), { vue_ui_sparkbar: z } = ie(), { isThemeValid: he, warnInvalidTheme: ge } = f(), B = ce(), V = e, _e = O();
61
- S(() => {
60
+ let R = y(() => import("./PackageVersion-BoTvk0i5.js").then((e) => e.t)), { vue_ui_sparkbar: z } = ie(), { isThemeValid: he, warnInvalidTheme: ge } = se(), B = ce(), V = e, _e = me();
61
+ C(() => {
62
62
  _e["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
63
63
  });
64
- let H = w(n()), U = w(q()), ve = m(() => i({
64
+ let H = T(ee()), U = T(q()), ve = m(() => l({
65
65
  defaultConfig: { style: {
66
66
  backgroundColor: "#99999930",
67
67
  animation: { show: !1 },
@@ -74,7 +74,7 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
74
74
  } },
75
75
  userConfig: U.value.skeletonConfig ?? {}
76
76
  })), { loading: W, FINAL_DATASET: G, manualLoading: ye } = ae({
77
- ...me(V),
77
+ ...pe(V),
78
78
  FINAL_CONFIG: U,
79
79
  prepareConfig: q,
80
80
  skeletonDataset: V.config?.skeletonDataset ?? [
@@ -97,7 +97,7 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
97
97
  color: "#DBDBDB"
98
98
  }
99
99
  ],
100
- skeletonConfig: i({
100
+ skeletonConfig: l({
101
101
  defaultConfig: U.value,
102
102
  userConfig: ve.value
103
103
  })
@@ -118,19 +118,19 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
118
118
  });
119
119
  return {
120
120
  ...r,
121
- customPalette: r.customPalette.length ? r.customPalette : s[t] || a
121
+ customPalette: r.customPalette.length ? r.customPalette : i[t] || a
122
122
  };
123
123
  }
124
124
  k(() => V.config, (e) => {
125
125
  U.value = q();
126
126
  }, { deep: !0 });
127
- let be = m(() => ee(U.value.customPalette)), J = w(G.value.map((e) => ({
127
+ let be = m(() => r(U.value.customPalette)), J = T(G.value.map((e) => ({
128
128
  ...e,
129
129
  value: U.value.style.animation.show ? 0 : e.value || 0,
130
130
  formatter: e.formatter || null
131
- }))), Y = w(null);
132
- S(async () => {
133
- re(V.dataset) && t({
131
+ }))), Y = T(null);
132
+ C(async () => {
133
+ t(V.dataset) && s({
134
134
  componentName: "VueUiSparkbar",
135
135
  type: "dataset",
136
136
  debug: K.value
@@ -157,28 +157,28 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
157
157
  ...e,
158
158
  value: U.value.style.animation.show && !B.value ? 0 : e.value || 0,
159
159
  formatter: e.formatter || null
160
- })), fe(X);
160
+ })), de(X);
161
161
  }, { deep: !0 });
162
- let Z = w({
162
+ let Z = T({
163
163
  width: 500,
164
164
  height: 16
165
- }), xe = m(() => Math.max(...G.value.map((e) => e.value))), Se = m(() => (G.value.forEach((e, n) => {
166
- ne({
165
+ }), xe = m(() => Math.max(...G.value.map((e) => e.value))), Se = m(() => (G.value.forEach((e, t) => {
166
+ te({
167
167
  datasetObject: e,
168
168
  requiredAttributes: ["name", "value"]
169
169
  }).forEach((e) => {
170
- t({
170
+ s({
171
171
  componentName: "VueUiSparkbar",
172
172
  type: "datasetSerieAttribute",
173
173
  property: e,
174
- index: n,
174
+ index: t,
175
175
  debug: K.value
176
176
  });
177
177
  });
178
178
  }), J.value.map((e, t) => ({
179
179
  ...e,
180
180
  value: e.value || 0,
181
- color: te(e.color) || be.value[t] || a[t] || a[t % a.length]
181
+ color: re(e.color) || be.value[t] || a[t] || a[t % a.length]
182
182
  }))));
183
183
  function Ce(e) {
184
184
  return e / xe.value;
@@ -211,78 +211,78 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
211
211
  seriesIndex: t
212
212
  });
213
213
  }
214
- return (e, t) => (C(), g("div", {
214
+ return (e, t) => (w(), g("div", {
215
215
  class: "vue-data-ui-component vue-ui-sparkbar",
216
- style: x({
216
+ style: S({
217
217
  width: "100%",
218
218
  position: "relative",
219
219
  fontFamily: U.value.style.fontFamily,
220
- background: V.backgroundOpacity === null ? U.value.style.backgroundColor : D(o)(U.value.style.backgroundColor, V.backgroundOpacity)
220
+ background: V.backgroundOpacity === null ? U.value.style.backgroundColor : O(u)(U.value.style.backgroundColor, V.backgroundOpacity)
221
221
  })
222
222
  }, [
223
- e.$slots.title ? T(e.$slots, "title", b(y({ key: 0 }, { title: {
223
+ e.$slots.title ? E(e.$slots, "title", x(b({ key: 0 }, { title: {
224
224
  ...e.title,
225
225
  title: U.value.style.title.text,
226
226
  subtitle: U.value.style.title.subtitle.text
227
227
  } }))) : h("", !0),
228
- !e.$slots.title && U.value.style.title.text ? (C(), g("div", {
228
+ !e.$slots.title && U.value.style.title.text ? (w(), g("div", {
229
229
  key: 1,
230
230
  class: "vue-ui-sparkbar-title-container",
231
- style: x({
231
+ style: S({
232
232
  background: U.value.style.title.backgroundColor,
233
233
  margin: U.value.style.title.margin,
234
234
  textAlign: U.value.style.title.textAlign
235
235
  })
236
236
  }, [_("div", {
237
237
  class: "vue-ui-sparkbar-title",
238
- style: x({
238
+ style: S({
239
239
  fontSize: U.value.style.title.fontSize + "px",
240
240
  color: U.value.style.title.color,
241
241
  fontWeight: U.value.style.title.bold ? "bold" : "normal"
242
242
  })
243
- }, E(U.value.style.title.text), 5), U.value.style.title.subtitle.text ? (C(), g("div", {
243
+ }, D(U.value.style.title.text), 5), U.value.style.title.subtitle.text ? (w(), g("div", {
244
244
  key: 0,
245
245
  class: "vue-ui-sparkbar-subtitle",
246
- style: x({
246
+ style: S({
247
247
  fontSize: U.value.style.title.subtitle.fontSize + "px",
248
248
  color: U.value.style.title.subtitle.color,
249
249
  fontWeight: U.value.style.title.subtitle.bold ? "bold" : "normal"
250
250
  })
251
- }, E(U.value.style.title.subtitle.text), 5)) : h("", !0)], 4)) : h("", !0),
252
- (C(!0), g(p, null, pe(Se.value, (t, n) => (C(), g("div", {
253
- style: x(`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;${D(G).length > 0 && n !== D(G).length - 1 ? "margin-bottom:6px" : ""}`),
254
- onClick: (e) => Te(t, n),
255
- onMouseenter: (e) => Ee(t, n),
256
- onMouseleave: (e) => De(t, n)
251
+ }, D(U.value.style.title.subtitle.text), 5)) : h("", !0)], 4)) : h("", !0),
252
+ (w(!0), g(p, null, fe(Se.value, (t, r) => (w(), g("div", {
253
+ 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;${O(G).length > 0 && r !== O(G).length - 1 ? "margin-bottom:6px" : ""}`),
254
+ onClick: (e) => Te(t, r),
255
+ onMouseenter: (e) => Ee(t, r),
256
+ onMouseleave: (e) => De(t, r)
257
257
  }, [
258
- D(W) ? h("", !0) : T(e.$slots, "data-label", y({
258
+ O(W) ? h("", !0) : E(e.$slots, "data-label", b({
259
259
  key: 0,
260
260
  ref_for: !0
261
261
  }, { bar: {
262
262
  ...t,
263
263
  target: $(t),
264
- valueLabel: D(c)(t.formatter, t.value, D(r)({
264
+ valueLabel: O(c)(t.formatter, t.value, O(o)({
265
265
  p: t.prefix || "",
266
266
  v: t.value,
267
267
  s: t.suffix || "",
268
268
  r: t.rounding || 0
269
269
  }), {
270
270
  datapoint: t,
271
- seriesIndex: n
271
+ seriesIndex: r
272
272
  }),
273
- targetLabel: D(c)(t.formatter, $(t), D(r)({
273
+ targetLabel: O(c)(t.formatter, $(t), O(o)({
274
274
  p: t.prefix || "",
275
275
  v: $(t),
276
276
  s: t.suffix || "",
277
277
  r: t.rounding || 0
278
278
  }), {
279
279
  datapoint: t,
280
- seriesIndex: n
280
+ seriesIndex: r
281
281
  })
282
282
  } })),
283
- !e.$slots["data-label"] || D(W) ? (C(), g("div", {
283
+ !e.$slots["data-label"] || O(W) ? (w(), g("div", {
284
284
  key: 1,
285
- style: x({
285
+ style: S({
286
286
  display: "flex",
287
287
  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",
288
288
  alignItems: "center",
@@ -292,10 +292,10 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
292
292
  fontWeight: U.value.style.labels.name.bold ? "bold" : "normal",
293
293
  flexWrap: "wrap"
294
294
  })
295
- }, [D(W) ? (C(), g("div", {
295
+ }, [O(W) ? (w(), g("div", {
296
296
  key: 0,
297
297
  class: "vue-ui-sparkbar-skeleton-name",
298
- style: x({
298
+ style: S({
299
299
  width: "60px",
300
300
  height: U.value.style.labels.fontSize + "px",
301
301
  borderRadius: U.value.style.labels.fontSize / 4 + "px",
@@ -304,58 +304,58 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
304
304
  justifyContent: "space-between",
305
305
  marginTop: "5px"
306
306
  })
307
- }, [_("div", { style: x({
307
+ }, [_("div", { style: S({
308
308
  height: "100%",
309
309
  width: "40px",
310
310
  borderRadius: U.value.style.labels.fontSize / 4 + "px",
311
311
  backgroundColor: "#6A6A6A80"
312
- }) }, null, 4), _("div", { style: x({
312
+ }) }, null, 4), _("div", { style: S({
313
313
  height: "100%",
314
314
  width: "15px",
315
315
  borderRadius: U.value.style.labels.fontSize / 4 + "px",
316
316
  backgroundColor: "#6A6A6A80"
317
- }) }, null, 4)], 4)) : (C(), g(p, { key: 1 }, [
318
- _("span", null, E(t.name), 1),
319
- U.value.style.labels.value.show ? (C(), g("span", {
317
+ }) }, null, 4)], 4)) : (w(), g(p, { key: 1 }, [
318
+ _("span", null, D(t.name), 1),
319
+ U.value.style.labels.value.show ? (w(), g("span", {
320
320
  key: 0,
321
- style: x(`font-weight:${U.value.style.labels.value.bold ? "bold" : "normal"}`),
321
+ style: S(`font-weight:${U.value.style.labels.value.bold ? "bold" : "normal"}`),
322
322
  class: "vue-ui-sparkbar-datapoint-name"
323
- }, ": " + E(D(c)(t.formatter, t.value, D(r)({
323
+ }, ": " + D(O(c)(t.formatter, t.value, O(o)({
324
324
  p: t.prefix || "",
325
325
  v: t.value,
326
326
  s: t.suffix || "",
327
327
  r: t.rounding || 0
328
328
  }), {
329
329
  datapoint: t,
330
- seriesIndex: n
330
+ seriesIndex: r
331
331
  })), 5)) : h("", !0),
332
- U.value.style.layout.showTargetValue ? (C(), g("span", M, E(" " + U.value.style.layout.targetValueText) + " " + E(D(c)(t.formatter, $(t), D(r)({
332
+ U.value.style.layout.showTargetValue ? (w(), g("span", M, D(" " + U.value.style.layout.targetValueText) + " " + D(O(c)(t.formatter, $(t), O(o)({
333
333
  p: t.prefix || "",
334
334
  v: $(t),
335
335
  s: t.suffix || "",
336
336
  r: t.rounding || 0
337
337
  }), {
338
338
  datapoint: t,
339
- seriesIndex: n
339
+ seriesIndex: r
340
340
  })), 1)) : h("", !0)
341
341
  ], 64))], 4)) : h("", !0),
342
- (C(), g("svg", {
342
+ (w(), g("svg", {
343
343
  role: "img",
344
- xmlns: D(l),
344
+ xmlns: O(ne),
345
345
  viewBox: `0 0 ${Z.value.width} ${Z.value.height}`,
346
346
  width: "100%"
347
347
  }, [
348
- v(D(R)),
349
- _("defs", null, [v(se, {
348
+ v(O(R)),
349
+ _("defs", null, [v(f, {
350
350
  t: "linear",
351
351
  x1: "0%",
352
352
  y1: "0%",
353
353
  x2: "100%",
354
354
  y2: "0%",
355
- id: `sparkbar_gradient_${n}_${H.value}`,
355
+ id: `sparkbar_gradient_${r}_${H.value}`,
356
356
  stops: [[
357
357
  "0%",
358
- D(o)(D(u)(t.color, .03), 100 - U.value.style.bar.gradient.intensity),
358
+ O(u)(O(n)(t.color, .03), 100 - U.value.style.bar.gradient.intensity),
359
359
  1
360
360
  ], [
361
361
  "100%",
@@ -368,7 +368,7 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
368
368
  width: Z.value.width,
369
369
  x: 0,
370
370
  y: 0,
371
- fill: D(o)(U.value.style.gutter.backgroundColor, U.value.style.gutter.opacity),
371
+ fill: O(u)(U.value.style.gutter.backgroundColor, U.value.style.gutter.opacity),
372
372
  rx: Z.value.height / 2
373
373
  }, null, 8, P),
374
374
  _("rect", {
@@ -384,13 +384,13 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
384
384
  width: Z.value.width * Q(t),
385
385
  x: 0,
386
386
  y: 0,
387
- fill: U.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${n}_${H.value})` : t.color,
387
+ fill: U.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${r}_${H.value})` : t.color,
388
388
  rx: Z.value.height / 2
389
389
  }, null, 8, I)
390
390
  ], 8, N))
391
391
  ], 44, j))), 256)),
392
- e.$slots.source ? (C(), g("div", L, [T(e.$slots, "source")], 512)) : h("", !0),
393
- D(W) ? (C(), ue(oe, { key: 3 })) : h("", !0)
392
+ e.$slots.source ? (w(), g("div", L, [E(e.$slots, "source")], 512)) : h("", !0),
393
+ O(W) ? (w(), ue(oe, { key: 3 })) : h("", !0)
394
394
  ], 4));
395
395
  }
396
396
  };
@@ -1,20 +1,20 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, G as n, J as ee, Kt as r, _t as te, dt as ne, i as re, kt as ie, t as i, v as a } from "./lib-JqW18y5I.js";
3
- import { t as o } from "./useConfig-DYM3f6EI.js";
4
- import { n as ae, t as oe } from "./BaseScanner-DZvpgOjM.js";
5
- import { t as s } from "./useNestedProp-DIuuzG1r.js";
6
- import { t as c } from "./useThemeCheck-C43Tcqmk.js";
7
- import { t as l } from "./DefGrad-DVBqDjhO.js";
8
- import { t as u } from "./useChartAccessibility-DYqac8yF.js";
9
- import { t as d } from "./usePrefersMotion-BC-CsqR1.js";
10
- import { t as se } from "./vue_ui_sparkgauge-BX1MS3bA.js";
11
- import { computed as f, createBlock as ce, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createVNode as g, defineAsyncComponent as le, normalizeClass as _, normalizeStyle as v, onBeforeUnmount as ue, onMounted as y, openBlock as b, ref as x, renderSlot as S, toDisplayString as C, toRefs as de, unref as w, watch as T } from "vue";
2
+ import { At as t, K as n, Y as ee, et as r, ft as te, i as ne, qt as i, t as re, vt as a, y as o } from "./lib-CnHx5WfV.js";
3
+ import { t as ie } from "./useConfig-DYM3f6EI.js";
4
+ import { n as s, t as ae } from "./BaseScanner-DZvpgOjM.js";
5
+ import { t as c } from "./useNestedProp-D8NuRneO.js";
6
+ import { t as l } from "./useThemeCheck-C43Tcqmk.js";
7
+ import { t as u } from "./DefGrad-DVBqDjhO.js";
8
+ import { t as d } from "./useChartAccessibility-DYqac8yF.js";
9
+ import { t as f } from "./usePrefersMotion-BC-CsqR1.js";
10
+ import { t as oe } from "./vue_ui_sparkgauge-BX1MS3bA.js";
11
+ import { computed as p, createBlock as se, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as _, defineAsyncComponent as ce, normalizeClass as v, normalizeStyle as y, onBeforeUnmount as le, onMounted as b, openBlock as x, ref as S, renderSlot as C, toDisplayString as w, toRefs as ue, unref as T, watch as E } from "vue";
12
12
  //#region src/components/vue-ui-sparkgauge.vue
13
- var E = /* @__PURE__ */ e({ default: () => j }), fe = ["xmlns", "viewBox"], pe = ["width", "height"], me = [
13
+ var D = /* @__PURE__ */ e({ default: () => j }), de = ["xmlns", "viewBox"], fe = ["width", "height"], pe = [
14
14
  "d",
15
15
  "stroke",
16
16
  "stroke-linecap"
17
- ], D = [
17
+ ], me = [
18
18
  "d",
19
19
  "stroke",
20
20
  "stroke-linecap",
@@ -51,7 +51,7 @@ var E = /* @__PURE__ */ e({ default: () => j }), fe = ["xmlns", "viewBox"], pe =
51
51
  }
52
52
  },
53
53
  setup(e) {
54
- let E = le(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), { vue_ui_sparkgauge: j } = o(), { isThemeValid: M, warnInvalidTheme: N } = c(), P = d(), F = x(null), I = e, L = x(n()), R = x(W()), z = f(() => R.value.style.animation.show && !P.value), he = f(() => r({
54
+ let D = ce(() => import("./PackageVersion-BoTvk0i5.js").then((e) => e.t)), { vue_ui_sparkgauge: j } = ie(), { isThemeValid: M, warnInvalidTheme: N } = l(), P = f(), F = S(null), I = e, L = S(n()), R = S(W()), z = p(() => R.value.style.animation.show && !P.value), he = p(() => i({
55
55
  defaultConfig: { style: {
56
56
  animation: { show: !1 },
57
57
  background: "#99999930",
@@ -63,8 +63,8 @@ var E = /* @__PURE__ */ e({ default: () => j }), fe = ["xmlns", "viewBox"], pe =
63
63
  gutter: { color: "#6A6A6A80" }
64
64
  } },
65
65
  userConfig: R.value.skeletonConfig ?? {}
66
- })), { loading: B, FINAL_DATASET: V } = ae({
67
- ...de(I),
66
+ })), { loading: B, FINAL_DATASET: V } = s({
67
+ ...ue(I),
68
68
  FINAL_CONFIG: R,
69
69
  prepareConfig: W,
70
70
  skeletonDataset: I.config?.skeletonDataset ?? {
@@ -73,44 +73,44 @@ var E = /* @__PURE__ */ e({ default: () => j }), fe = ["xmlns", "viewBox"], pe =
73
73
  max: 1,
74
74
  title: ""
75
75
  },
76
- skeletonConfig: r({
76
+ skeletonConfig: i({
77
77
  defaultConfig: R.value,
78
78
  userConfig: he.value
79
79
  })
80
- }), H = f(() => {
80
+ }), H = p(() => {
81
81
  let e = V.value.min ?? 0, t = V.value.max ?? 0;
82
82
  return {
83
83
  min: e,
84
84
  max: t,
85
85
  diff: t - e
86
86
  };
87
- }), U = f(() => H.value.diff / R.value.style.animation.speedMs), { svgRef: ge } = u({ config: { text: I.dataset?.title || "" } });
87
+ }), U = p(() => H.value.diff / R.value.style.animation.speedMs), { svgRef: ge } = d({ config: { text: I.dataset?.title || "" } });
88
88
  function W() {
89
- let e = s({
89
+ let e = c({
90
90
  userConfig: I.config,
91
91
  defaultConfig: j
92
92
  }), t = e.theme;
93
93
  if (!t) return e;
94
94
  if (!M.value(e)) return N(e), e;
95
- let n = s({
96
- userConfig: se[t] || I.config,
95
+ let n = c({
96
+ userConfig: oe[t] || I.config,
97
97
  defaultConfig: e
98
98
  });
99
- return s({
99
+ return c({
100
100
  userConfig: I.config,
101
101
  defaultConfig: n
102
102
  });
103
103
  }
104
- y(() => {
104
+ b(() => {
105
105
  K();
106
106
  });
107
- let G = f(() => R.value.debug);
107
+ let G = p(() => R.value.debug);
108
108
  function K() {
109
- ie(I.dataset) ? t({
109
+ t(I.dataset) ? r({
110
110
  componentName: "VueUiSparkgauge",
111
111
  type: "dataset",
112
112
  debug: G.value
113
- }) : ne({
113
+ }) : te({
114
114
  datasetObject: I.dataset,
115
115
  requiredAttributes: [
116
116
  "value",
@@ -118,7 +118,7 @@ var E = /* @__PURE__ */ e({ default: () => j }), fe = ["xmlns", "viewBox"], pe =
118
118
  "max"
119
119
  ]
120
120
  }).forEach((e) => {
121
- t({
121
+ r({
122
122
  componentName: "VueUiSparkgauge",
123
123
  type: "datasetAttribute",
124
124
  property: e,
@@ -126,19 +126,19 @@ var E = /* @__PURE__ */ e({ default: () => j }), fe = ["xmlns", "viewBox"], pe =
126
126
  });
127
127
  });
128
128
  }
129
- T(() => I.config, () => {
129
+ E(() => I.config, () => {
130
130
  R.value = W(), J.value = z.value ? H.value.min : V.value.value, K();
131
131
  }, { deep: !0 });
132
- let q = f(() => ({
132
+ let q = p(() => ({
133
133
  height: R.value.style.height,
134
134
  width: 128,
135
135
  base: R.value.style.basePosition
136
- })), J = x(z.value ? H.value.min : V.value.value);
137
- T([() => V.value.value, z], ([e, t]) => {
136
+ })), J = S(z.value ? H.value.min : V.value.value);
137
+ E([() => V.value.value, z], ([e, t]) => {
138
138
  Y(e || 0, t);
139
139
  }, { immediate: !0 });
140
- let _e = f(() => J.value > H.value.max ? H.value.max : J.value < H.value.min ? H.value.min : J.value);
141
- y(() => {
140
+ let _e = p(() => J.value > H.value.max ? H.value.max : J.value < H.value.min ? H.value.min : J.value);
141
+ b(() => {
142
142
  Y(V.value.value || 0);
143
143
  });
144
144
  function Y(e, t = z.value) {
@@ -151,40 +151,40 @@ var E = /* @__PURE__ */ e({ default: () => j }), fe = ["xmlns", "viewBox"], pe =
151
151
  }
152
152
  n();
153
153
  }
154
- let X = f(() => V.value.title ?? ""), Z = f(() => {
154
+ let X = p(() => V.value.title ?? ""), Z = p(() => {
155
155
  let e = H.value.diff;
156
156
  if (!isFinite(e) || e === 0) return 0;
157
157
  let t = H.value.min, n = _e.value;
158
158
  return n >= 0 ? (n - t) / e : (Math.abs(t) - Math.abs(n)) / e;
159
- }), Q = f(() => te(R.value.style.colors.min, R.value.style.colors.max, H.value.min, H.value.max, J.value)), $ = f(() => R.value.style.dataLabel.autoColor ? Q.value : R.value.style.dataLabel.color), ve = f(() => R.value.style.track.autoColor ? Q.value : R.value.style.track.color);
160
- return ue(() => {
159
+ }), Q = p(() => a(R.value.style.colors.min, R.value.style.colors.max, H.value.min, H.value.max, J.value)), $ = p(() => R.value.style.dataLabel.autoColor ? Q.value : R.value.style.dataLabel.color), ve = p(() => R.value.style.track.autoColor ? Q.value : R.value.style.track.color);
160
+ return le(() => {
161
161
  F.value && cancelAnimationFrame(F.value);
162
- }), (e, t) => (b(), m("div", {
162
+ }), (e, t) => (x(), h("div", {
163
163
  class: "vue-data-ui-component vue-ui-sparkgauge",
164
- style: v(`font-family:${R.value.style.fontFamily};width: 100%; background:${R.value.style.background}`)
164
+ style: y(`font-family:${R.value.style.fontFamily};width: 100%; background:${R.value.style.background}`)
165
165
  }, [
166
- R.value.style.title.show && X.value && R.value.style.title.position === "top" ? (b(), m("div", {
166
+ R.value.style.title.show && X.value && R.value.style.title.position === "top" ? (x(), h("div", {
167
167
  key: 0,
168
168
  class: "vue-data-ui-sparkgauge-label",
169
- style: v(`font-size:${R.value.style.title.fontSize}px;text-align:${R.value.style.title.textAlign};font-weight:${R.value.style.title.bold ? "bold" : "normal"};color:${R.value.style.title.color}`)
170
- }, C(X.value), 5)) : p("", !0),
171
- (b(), m("svg", {
169
+ style: y(`font-size:${R.value.style.title.fontSize}px;text-align:${R.value.style.title.textAlign};font-weight:${R.value.style.title.bold ? "bold" : "normal"};color:${R.value.style.title.color}`)
170
+ }, w(X.value), 5)) : m("", !0),
171
+ (x(), h("svg", {
172
172
  ref_key: "svgRef",
173
173
  ref: ge,
174
- xmlns: w(i),
174
+ xmlns: T(re),
175
175
  viewBox: `0 0 ${q.value.width} ${q.value.height}`,
176
176
  style: "overflow: visible; background:transparent; width:100%;"
177
177
  }, [
178
- g(w(E)),
179
- e.$slots["chart-background"] && !w(B) ? (b(), m("foreignObject", {
178
+ _(T(D)),
179
+ e.$slots["chart-background"] && !T(B) ? (x(), h("foreignObject", {
180
180
  key: 0,
181
181
  x: 0,
182
182
  y: 0,
183
183
  width: q.value.width,
184
184
  height: q.value.height,
185
185
  style: { pointerEvents: "none" }
186
- }, [S(e.$slots, "chart-background")], 8, pe)) : p("", !0),
187
- h("defs", null, [g(l, {
186
+ }, [C(e.$slots, "chart-background")], 8, fe)) : m("", !0),
187
+ g("defs", null, [_(u, {
188
188
  t: "linear",
189
189
  id: `gradient_${L.value}`,
190
190
  x1: "-10%",
@@ -201,14 +201,14 @@ var E = /* @__PURE__ */ e({ default: () => j }), fe = ["xmlns", "viewBox"], pe =
201
201
  1
202
202
  ]]
203
203
  }, null, 8, ["id", "stops"])]),
204
- h("path", {
204
+ g("path", {
205
205
  d: `M10 ${q.value.base} A 1 1 0 1 1 118 ${q.value.base}`,
206
206
  stroke: R.value.style.gutter.color,
207
207
  "stroke-width": 8,
208
208
  "stroke-linecap": R.value.style.gutter.strokeLinecap,
209
209
  fill: "none"
210
- }, null, 8, me),
211
- Z.value === 0 ? p("", !0) : (b(), m("path", {
210
+ }, null, 8, pe),
211
+ Z.value === 0 ? m("", !0) : (x(), h("path", {
212
212
  key: 1,
213
213
  d: `M10 ${q.value.base} A 1 1 0 1 1 118 ${q.value.base}`,
214
214
  stroke: R.value.style.colors.showGradient ? `url(#gradient_${L.value})` : ve.value,
@@ -217,10 +217,10 @@ var E = /* @__PURE__ */ e({ default: () => j }), fe = ["xmlns", "viewBox"], pe =
217
217
  fill: "none",
218
218
  "stroke-dasharray": 169.5,
219
219
  "stroke-dashoffset": 169.5 - 169.5 * Z.value,
220
- class: _({ "vue-ui-sparkgauge-track": R.value.style.animation.show }),
221
- style: v(R.value.style.animation.show ? `animation: vue-ui-sparkgauge-animation ${R.value.style.animation.speedMs}ms ease-in;` : "")
222
- }, null, 14, D)),
223
- w(B) ? (b(), m("rect", {
220
+ class: v({ "vue-ui-sparkgauge-track": R.value.style.animation.show }),
221
+ style: y(R.value.style.animation.show ? `animation: vue-ui-sparkgauge-animation ${R.value.style.animation.speedMs}ms ease-in;` : "")
222
+ }, null, 14, me)),
223
+ T(B) ? (x(), h("rect", {
224
224
  key: 2,
225
225
  x: q.value.width / 2 - R.value.style.dataLabel.fontSize / 2,
226
226
  y: q.value.base + 6 + R.value.style.dataLabel.offsetY - R.value.style.dataLabel.fontSize,
@@ -228,7 +228,7 @@ var E = /* @__PURE__ */ e({ default: () => j }), fe = ["xmlns", "viewBox"], pe =
228
228
  height: R.value.style.dataLabel.fontSize,
229
229
  fill: "#6A6A6A50",
230
230
  rx: 3
231
- }, null, 8, O)) : (b(), m("text", {
231
+ }, null, 8, O)) : (x(), h("text", {
232
232
  key: 3,
233
233
  "text-anchor": "middle",
234
234
  x: q.value.width / 2,
@@ -236,25 +236,25 @@ var E = /* @__PURE__ */ e({ default: () => j }), fe = ["xmlns", "viewBox"], pe =
236
236
  "font-size": R.value.style.dataLabel.fontSize,
237
237
  fill: $.value,
238
238
  "font-weight": R.value.style.dataLabel.bold ? "bold" : "normal"
239
- }, C(w(re)(R.value.style.dataLabel.formatter, w(a)(J.value), w(ee)({
239
+ }, w(T(ne)(R.value.style.dataLabel.formatter, T(o)(J.value), T(ee)({
240
240
  p: R.value.style.dataLabel.prefix,
241
- v: w(a)(J.value),
241
+ v: T(o)(J.value),
242
242
  s: R.value.style.dataLabel.suffix,
243
243
  r: R.value.style.dataLabel.rounding
244
244
  }), {
245
- datapoint: w(a)(J.value),
245
+ datapoint: T(o)(J.value),
246
246
  color: $.value
247
247
  })), 9, k))
248
- ], 8, fe)),
249
- R.value.style.title.show && X.value && R.value.style.title.position === "bottom" ? (b(), m("div", {
248
+ ], 8, de)),
249
+ R.value.style.title.show && X.value && R.value.style.title.position === "bottom" ? (x(), h("div", {
250
250
  key: 1,
251
251
  class: "vue-data-ui-sparkgauge-label",
252
- style: v(`font-size:${R.value.style.title.fontSize}px;text-align:${R.value.style.title.textAlign};font-weight:${R.value.style.title.bold ? "bold" : "normal"};font-weight:${R.value.style.title.bold ? "bold" : "normal"};color:${R.value.style.title.color}`)
253
- }, C(X.value), 5)) : p("", !0),
254
- e.$slots.source ? (b(), m("div", A, [S(e.$slots, "source")], 512)) : p("", !0),
255
- S(e.$slots, "skeleton", {}, () => [w(B) ? (b(), ce(oe, { key: 0 })) : p("", !0)])
252
+ style: y(`font-size:${R.value.style.title.fontSize}px;text-align:${R.value.style.title.textAlign};font-weight:${R.value.style.title.bold ? "bold" : "normal"};font-weight:${R.value.style.title.bold ? "bold" : "normal"};color:${R.value.style.title.color}`)
253
+ }, w(X.value), 5)) : m("", !0),
254
+ e.$slots.source ? (x(), h("div", A, [C(e.$slots, "source")], 512)) : m("", !0),
255
+ C(e.$slots, "skeleton", {}, () => [T(B) ? (x(), se(ae, { key: 0 })) : m("", !0)])
256
256
  ], 4));
257
257
  }
258
258
  };
259
259
  //#endregion
260
- export { E as n, j as t };
260
+ export { D as n, j as t };