vue-data-ui 3.20.11 → 3.21.0

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 (188) hide show
  1. package/dist/{Arrow-D6j6ocXm.js → Arrow-_pDGXl76.js} +1 -1
  2. package/dist/{BaseDraggableDialog-4hDW-Rj2.js → BaseDraggableDialog-BvaFJWHb.js} +2 -2
  3. package/dist/{BaseIcon-DfLoHNUj.js → BaseIcon-CbDazQLH.js} +1 -1
  4. package/dist/{BaseLegendToggle-C_Db-y7s.js → BaseLegendToggle-BNRi408o.js} +1 -1
  5. package/dist/{BaseZoomControls-CG7hI_1P.js → BaseZoomControls-Dbtq9oyx.js} +2 -2
  6. package/dist/{ColorPicker-Bjwxnvfh.js → ColorPicker-B4ob7JgP.js} +2 -2
  7. package/dist/{DataTable-B--IN22e.js → DataTable-DweDyHc1.js} +2 -2
  8. package/dist/{Legend-Cz2uQ5gs.js → Legend-BLhREbj7.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-gLNJ1Lmr.js → NonSvgPenAndPaper-BzZyMJBF.js} +3 -3
  10. package/dist/{PackageVersion-eS823iMF.js → PackageVersion-DYLo3MRd.js} +1 -1
  11. package/dist/{PenAndPaper-DqrClVfb.js → PenAndPaper-D4aFMYZf.js} +3 -3
  12. package/dist/{Shape-BPCJfphn.js → Shape-BxFtoF1z.js} +1 -1
  13. package/dist/{Slicer-SHBj0VaV.js → Slicer-GABgkLkB.js} +2 -2
  14. package/dist/{SlicerPreview-By4kBVCY.js → SlicerPreview-CXLgqXX8.js} +6 -6
  15. package/dist/{SparkTooltip-CfE6yCad.js → SparkTooltip-CdSRUoZN.js} +6 -6
  16. package/dist/{Title-NWp4qB4K.js → Title-DH6G8_cZ.js} +1 -1
  17. package/dist/{Tooltip-BENq327o.js → Tooltip-979Ytd8R.js} +1 -1
  18. package/dist/{UserOptions-C1NgoGu6.js → UserOptions-qFz-9Pnw.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-BYtB4BF3.js → dom-to-png-CtV3uxDJ.js} +1 -1
  89. package/dist/exposedLib-BJbE_A8E.js +19 -0
  90. package/dist/{img-1cKsci8e.js → img-C_RNNswI.js} +1 -1
  91. package/dist/{labelUtils-CUctkYoA.js → labelUtils-Bycs-017.js} +1 -1
  92. package/dist/{lib-DUeYQsS0.js → lib-AJRHFE5U.js} +12 -6
  93. package/dist/{pdf-D0eZ99cP.js → pdf-CdX23zf1.js} +1 -1
  94. package/dist/ssr.js +1366 -0
  95. package/dist/types/ssr.d.ts +128 -0
  96. package/dist/types/vue-data-ui.d.ts +135 -1
  97. package/dist/{useAutoSizeLabelsInsideViewbox-BIVntRZp.js → useAutoSizeLabelsInsideViewbox-kjVKQz36.js} +1 -1
  98. package/dist/{useNestedProp-CNcoy38D.js → useNestedProp-DtcXIg7n.js} +1 -1
  99. package/dist/{usePrinter-C1Gqt_Sp.js → usePrinter-6n2MzVyV.js} +2 -2
  100. package/dist/utils.js +8 -8
  101. package/dist/{vue-data-ui-0t8DsSSW.js → vue-data-ui-D2dM3IQZ.js} +68 -68
  102. package/dist/vue-data-ui.js +72 -72
  103. package/dist/vue-ui-3d-bar-0C_yshya.js +1757 -0
  104. package/dist/{vue-ui-accordion-Bpbv-VHE.js → vue-ui-accordion-DLnwuQda.js} +3 -3
  105. package/dist/vue-ui-age-pyramid-DFNELwbT.js +1238 -0
  106. package/dist/{vue-ui-annotator-Q57JevNc.js → vue-ui-annotator-BljP5cB7.js} +8 -8
  107. package/dist/vue-ui-bullet-ChQq42AN.js +710 -0
  108. package/dist/{vue-ui-bump-CE8VRCs2.js → vue-ui-bump-BVCYywuS.js} +253 -253
  109. package/dist/{vue-ui-candlestick-B4tkLoQe.js → vue-ui-candlestick-CQ0nfkmL.js} +276 -276
  110. package/dist/vue-ui-carousel-table-Cvi1gsKR.js +455 -0
  111. package/dist/vue-ui-chestnut-DeWbKqze.js +2010 -0
  112. package/dist/vue-ui-chord-bRXYWpGT.js +1391 -0
  113. package/dist/{vue-ui-circle-pack-SCxS2mrl.js → vue-ui-circle-pack-DWO8x9gf.js} +36 -36
  114. package/dist/{vue-ui-cursor-DT8uNrQa.js → vue-ui-cursor-BKGUvOWO.js} +3 -3
  115. package/dist/{vue-ui-dag-CK30vhll.js → vue-ui-dag-lL0juBzN.js} +20 -20
  116. package/dist/{vue-ui-dashboard-Cf21Q0H0.js → vue-ui-dashboard-CEk2z8v9.js} +69 -69
  117. package/dist/{vue-ui-digits-DiapBzIK.js → vue-ui-digits-BAjr0eIJ.js} +3 -3
  118. package/dist/vue-ui-donut-BsSpIinL.js +2410 -0
  119. package/dist/vue-ui-donut-evolution-1UhFKEgG.js +1510 -0
  120. package/dist/vue-ui-dumbbell-ChqJicg9.js +1530 -0
  121. package/dist/{vue-ui-flow-uPuvDSxv.js → vue-ui-flow-BXfzMTXx.js} +57 -57
  122. package/dist/{vue-ui-funnel-CCy9NFKa.js → vue-ui-funnel-BpnC82m0.js} +32 -32
  123. package/dist/{vue-ui-galaxy-BjoOO1lq.js → vue-ui-galaxy-FNzwDOH1.js} +330 -330
  124. package/dist/vue-ui-gauge-D6I78FZr.js +920 -0
  125. package/dist/{vue-ui-geo-C8FXD9it.js → vue-ui-geo-Z1xuH8r6.js} +18 -18
  126. package/dist/{vue-ui-gizmo-BiLdRUEw.js → vue-ui-gizmo-ZlmJIh0_.js} +62 -62
  127. package/dist/{vue-ui-heatmap-D3ewCJX6.js → vue-ui-heatmap-BWN0UBKE.js} +264 -264
  128. package/dist/{vue-ui-history-plot-BpyvvMPA.js → vue-ui-history-plot-2E6KrNhv.js} +74 -74
  129. package/dist/vue-ui-horizontal-bar-BzP7k_3J.js +1681 -0
  130. package/dist/{vue-ui-kpi-YCPfpGty.js → vue-ui-kpi-B9bdicir.js} +3 -3
  131. package/dist/{vue-ui-mini-loader-Bi0nsbao.js → vue-ui-mini-loader-BnLOdRA0.js} +2 -2
  132. package/dist/vue-ui-molecule-B-69fE_1.js +925 -0
  133. package/dist/{vue-ui-mood-radar-81X63j-D.js → vue-ui-mood-radar-D3kF7iHz.js} +21 -21
  134. package/dist/{vue-ui-nested-donuts-C1j-h8RW.js → vue-ui-nested-donuts-CTmomXj1.js} +256 -256
  135. package/dist/{vue-ui-onion-CZLJxedN.js → vue-ui-onion-3fJB4mfC.js} +45 -45
  136. package/dist/{vue-ui-parallel-coordinate-plot-Czndz3oA.js → vue-ui-parallel-coordinate-plot-CKKkbBlu.js} +39 -39
  137. package/dist/{vue-ui-quadrant-LwMr7DKL.js → vue-ui-quadrant-DGLnjwva.js} +355 -355
  138. package/dist/{vue-ui-quick-chart-C20W7LNY.js → vue-ui-quick-chart-DJnhlEXi.js} +359 -359
  139. package/dist/vue-ui-radar-AIBX0QYs.js +1229 -0
  140. package/dist/{vue-ui-rating-D8QQctnQ.js → vue-ui-rating-pDVqT08V.js} +33 -33
  141. package/dist/vue-ui-relation-circle-BQVR8L9Y.js +924 -0
  142. package/dist/{vue-ui-ridgeline-B5BRKUoc.js → vue-ui-ridgeline-CYq3APPQ.js} +54 -54
  143. package/dist/{vue-ui-rings-DVA3hiUL.js → vue-ui-rings-BgFO7NYF.js} +81 -81
  144. package/dist/vue-ui-scatter-BPu5DwaJ.js +2413 -0
  145. package/dist/{vue-ui-skeleton-DxXA3XSP.js → vue-ui-skeleton-qpdvvWtx.js} +41 -41
  146. package/dist/{vue-ui-smiley-CqwB6Uhu.js → vue-ui-smiley-DUI5n89s.js} +16 -16
  147. package/dist/{vue-ui-spark-trend-B3mkyeZ3.js → vue-ui-spark-trend-CQ9ZN5sL.js} +27 -27
  148. package/dist/{vue-ui-sparkbar-BlmV-ndv.js → vue-ui-sparkbar-d6ctWlLA.js} +83 -83
  149. package/dist/{vue-ui-sparkgauge-DKRJDqAS.js → vue-ui-sparkgauge-HX_rqLxX.js} +44 -44
  150. package/dist/{vue-ui-sparkhistogram-BNiXxI65.js → vue-ui-sparkhistogram-B_zxKMHv.js} +110 -110
  151. package/dist/vue-ui-sparkline-BSdOdtKu.js +1507 -0
  152. package/dist/{vue-ui-sparkstackbar-C6qMimoL.js → vue-ui-sparkstackbar-B2sqpW-w.js} +155 -155
  153. package/dist/{vue-ui-stackbar-C7jTnGyT.js → vue-ui-stackbar-DH75CCpy.js} +81 -81
  154. package/dist/vue-ui-stackline-CXodezD1.js +2398 -0
  155. package/dist/{vue-ui-strip-plot-CvjdxEOT.js → vue-ui-strip-plot-C1un5Mku.js} +90 -90
  156. package/dist/{vue-ui-table-B0zkvlw5.js → vue-ui-table-R-aXpHvF.js} +78 -78
  157. package/dist/{vue-ui-table-heatmap-xwfStZrD.js → vue-ui-table-heatmap-C1e_7MJ2.js} +16 -16
  158. package/dist/{vue-ui-table-sparkline-BQjo2sbB.js → vue-ui-table-sparkline-Dy-6i82F.js} +22 -22
  159. package/dist/{vue-ui-thermometer-CVhxnkN-.js → vue-ui-thermometer-CIse_lcE.js} +21 -21
  160. package/dist/{vue-ui-timer-Cimuw9rF.js → vue-ui-timer-AlYvthQ6.js} +23 -23
  161. package/dist/{vue-ui-tiremarks-CSPL1oli.js → vue-ui-tiremarks-CP_bw6by.js} +19 -19
  162. package/dist/{vue-ui-treemap-BWivpffU.js → vue-ui-treemap-BXrV5VAp.js} +65 -65
  163. package/dist/{vue-ui-waffle-FmLPDL2g.js → vue-ui-waffle-uoqEnQ30.js} +232 -232
  164. package/dist/{vue-ui-wheel-BjdVO5f4.js → vue-ui-wheel-DLgw_xfe.js} +36 -36
  165. package/dist/{vue-ui-word-cloud-hhjEM6ee.js → vue-ui-word-cloud-Bgu-qbcp.js} +35 -35
  166. package/dist/{vue-ui-world-H9HX6smc.js → vue-ui-world-B93iq1ZM.js} +445 -445
  167. package/dist/vue-ui-xy-DzuOBbPL.js +4744 -0
  168. package/dist/{vue-ui-xy-canvas-kbP-mjEo.js → vue-ui-xy-canvas-DjxM7y3T.js} +60 -60
  169. package/package.json +5 -1
  170. package/dist/exposedLib-CI8ji8G-.js +0 -19
  171. package/dist/vue-ui-3d-bar-D1dX4mDU.js +0 -1757
  172. package/dist/vue-ui-age-pyramid-BYIxO-rR.js +0 -1238
  173. package/dist/vue-ui-bullet-B65T4IyK.js +0 -710
  174. package/dist/vue-ui-carousel-table-DB1kG5AJ.js +0 -455
  175. package/dist/vue-ui-chestnut-CXzK4gsf.js +0 -2010
  176. package/dist/vue-ui-chord-BhuABwXT.js +0 -1391
  177. package/dist/vue-ui-donut-DrM628Ge.js +0 -2410
  178. package/dist/vue-ui-donut-evolution-CIXY4tKY.js +0 -1510
  179. package/dist/vue-ui-dumbbell-B8V84XkY.js +0 -1530
  180. package/dist/vue-ui-gauge-DbV0oQs3.js +0 -920
  181. package/dist/vue-ui-horizontal-bar-DoCvNzdC.js +0 -1681
  182. package/dist/vue-ui-molecule-IFNTvQdE.js +0 -925
  183. package/dist/vue-ui-radar-Dxopl3RI.js +0 -1229
  184. package/dist/vue-ui-relation-circle-CMRXow6X.js +0 -924
  185. package/dist/vue-ui-scatter-DcveiIfl.js +0 -2413
  186. package/dist/vue-ui-sparkline-C5EDZIAt.js +0 -1507
  187. package/dist/vue-ui-stackline-fdOF6lLn.js +0 -2398
  188. package/dist/vue-ui-xy-omDIF90L.js +0 -4744
@@ -1,12 +1,12 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Bt as t, Ct as n, Et as r, G as i, H as a, Mt as o, Nt as s, Rt as ee, X as c, i as l, ot as te, t as ne, x as re, y as ie } from "./lib-DUeYQsS0.js";
3
- import { t as ae } from "./useConfig-DnH7Pf_2.js";
4
- import { n as oe, t as se } from "./BaseScanner-Dr2a1Msy.js";
5
- import { t as u } from "./useNestedProp-CNcoy38D.js";
6
- import { t as ce } from "./useThemeCheck-C43Tcqmk.js";
7
- import { t as le } from "./usePrefersMotion-BC-CsqR1.js";
8
- import { t as d } from "./vue_ui_sparkbar-z6qO--Kf.js";
9
- import { Fragment as f, computed as p, createBlock as ue, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as de, defineAsyncComponent as fe, mergeProps as _, nextTick as pe, normalizeProps as me, normalizeStyle as v, onMounted as y, openBlock as b, ref as x, renderList as he, renderSlot as S, toDisplayString as C, toRefs as ge, unref as w, useSlots as T, watch as E } from "vue";
2
+ import { Bt as t, Ft as n, G as r, H as i, Ht as a, Ot as o, Pt as s, Tt as ee, X as c, ct as te, i as l, t as ne, x as u, y as re } from "./lib-AJRHFE5U.js";
3
+ import { t as ie } from "./useConfig-DnH7Pf_2.js";
4
+ import { n as ae, t as oe } from "./BaseScanner-Dr2a1Msy.js";
5
+ import { t as d } from "./useNestedProp-DtcXIg7n.js";
6
+ import { t as se } from "./useThemeCheck-C43Tcqmk.js";
7
+ import { t as ce } from "./usePrefersMotion-BC-CsqR1.js";
8
+ import { t as le } from "./vue_ui_sparkbar-z6qO--Kf.js";
9
+ import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createVNode as ue, defineAsyncComponent as de, mergeProps as v, nextTick as fe, normalizeProps as pe, normalizeStyle as y, onMounted as b, openBlock as x, ref as S, renderList as me, renderSlot as C, toDisplayString as w, toRefs as he, unref as T, useSlots as ge, watch as E } from "vue";
10
10
  //#region src/components/vue-ui-sparkbar.vue
11
11
  var D = /* @__PURE__ */ e({ default: () => R }), O = [
12
12
  "onClick",
@@ -56,11 +56,11 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
56
56
  },
57
57
  emits: ["selectDatapoint"],
58
58
  setup(e, { emit: D }) {
59
- let R = fe(() => import("./PackageVersion-eS823iMF.js").then((e) => e.t)), { vue_ui_sparkbar: _e } = ae(), { isThemeValid: ve, warnInvalidTheme: ye } = ce(), z = le(), B = e, be = T();
60
- y(() => {
59
+ let R = de(() => import("./PackageVersion-DYLo3MRd.js").then((e) => e.t)), { vue_ui_sparkbar: _e } = ie(), { isThemeValid: ve, warnInvalidTheme: ye } = se(), z = ce(), B = e, be = ge();
60
+ b(() => {
61
61
  be["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
62
62
  });
63
- let V = x(a()), H = x(K()), xe = p(() => t({
63
+ let V = S(i()), H = S(K()), xe = p(() => a({
64
64
  defaultConfig: { style: {
65
65
  backgroundColor: "#99999930",
66
66
  animation: { show: !1 },
@@ -72,8 +72,8 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
72
72
  bar: { gradient: { underlayerColor: "#6A6A6A" } }
73
73
  } },
74
74
  userConfig: H.value.skeletonConfig ?? {}
75
- })), { loading: U, FINAL_DATASET: W, manualLoading: Se } = oe({
76
- ...ge(B),
75
+ })), { loading: U, FINAL_DATASET: W, manualLoading: Se } = ae({
76
+ ...he(B),
77
77
  FINAL_CONFIG: H,
78
78
  prepareConfig: K,
79
79
  skeletonDataset: B.config?.skeletonDataset ?? [
@@ -96,40 +96,40 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
96
96
  color: "#DBDBDB"
97
97
  }
98
98
  ],
99
- skeletonConfig: t({
99
+ skeletonConfig: a({
100
100
  defaultConfig: H.value,
101
101
  userConfig: xe.value
102
102
  })
103
103
  }), G = p(() => !!H.value.debug);
104
104
  function K() {
105
- let e = u({
105
+ let e = d({
106
106
  userConfig: B.config,
107
107
  defaultConfig: _e
108
- }), t = e.theme;
109
- if (!t) return e;
108
+ }), n = e.theme;
109
+ if (!n) return e;
110
110
  if (!ve.value(e)) return ye(e), e;
111
- let n = u({
112
- userConfig: d[t] || B.config,
111
+ let r = d({
112
+ userConfig: le[n] || B.config,
113
113
  defaultConfig: e
114
- }), i = u({
114
+ }), i = d({
115
115
  userConfig: B.config,
116
- defaultConfig: n
116
+ defaultConfig: r
117
117
  });
118
118
  return {
119
119
  ...i,
120
- customPalette: i.customPalette.length ? i.customPalette : ee[t] || r
120
+ customPalette: i.customPalette.length ? i.customPalette : t[n] || o
121
121
  };
122
122
  }
123
123
  E(() => B.config, (e) => {
124
124
  H.value = K();
125
125
  }, { deep: !0 });
126
- let Ce = p(() => re(H.value.customPalette)), q = x(W.value.map((e) => ({
126
+ let Ce = p(() => u(H.value.customPalette)), q = S(W.value.map((e) => ({
127
127
  ...e,
128
128
  value: H.value.style.animation.show ? 0 : e.value || 0,
129
129
  formatter: e.formatter || null
130
- }))), J = x(null);
131
- y(async () => {
132
- n(B.dataset) && c({
130
+ }))), J = S(null);
131
+ b(async () => {
132
+ ee(B.dataset) && c({
133
133
  componentName: "VueUiSparkbar",
134
134
  type: "dataset",
135
135
  debug: G.value
@@ -156,9 +156,9 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
156
156
  ...e,
157
157
  value: H.value.style.animation.show && !z.value ? 0 : e.value || 0,
158
158
  formatter: e.formatter || null
159
- })), pe(Y);
159
+ })), fe(Y);
160
160
  }, { deep: !0 });
161
- let X = x({
161
+ let X = S({
162
162
  width: 500,
163
163
  height: 16
164
164
  }), we = p(() => Math.max(...W.value.map((e) => e.value))), Te = p(() => (W.value.forEach((e, t) => {
@@ -177,7 +177,7 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
177
177
  }), q.value.map((e, t) => ({
178
178
  ...e,
179
179
  value: e.value || 0,
180
- color: ie(e.color) || Ce.value[t] || r[t] || r[t % r.length]
180
+ color: re(e.color) || Ce.value[t] || o[t] || o[t % o.length]
181
181
  }))));
182
182
  function Z(e) {
183
183
  return e / we.value;
@@ -210,78 +210,78 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
210
210
  seriesIndex: t
211
211
  });
212
212
  }
213
- return (e, t) => (b(), h("div", {
213
+ return (e, t) => (x(), g("div", {
214
214
  class: "vue-data-ui-component vue-ui-sparkbar",
215
- style: v({
215
+ style: y({
216
216
  width: "100%",
217
217
  position: "relative",
218
218
  fontFamily: H.value.style.fontFamily,
219
- background: B.backgroundOpacity === null ? H.value.style.backgroundColor : w(o)(H.value.style.backgroundColor, B.backgroundOpacity)
219
+ background: B.backgroundOpacity === null ? H.value.style.backgroundColor : T(s)(H.value.style.backgroundColor, B.backgroundOpacity)
220
220
  })
221
221
  }, [
222
- e.$slots.title ? S(e.$slots, "title", me(_({ key: 0 }, { title: {
222
+ e.$slots.title ? C(e.$slots, "title", pe(v({ key: 0 }, { title: {
223
223
  ...e.title,
224
224
  title: H.value.style.title.text,
225
225
  subtitle: H.value.style.title.subtitle.text
226
- } }))) : m("", !0),
227
- !e.$slots.title && H.value.style.title.text ? (b(), h("div", {
226
+ } }))) : h("", !0),
227
+ !e.$slots.title && H.value.style.title.text ? (x(), g("div", {
228
228
  key: 1,
229
229
  class: "vue-ui-sparkbar-title-container",
230
- style: v({
230
+ style: y({
231
231
  background: H.value.style.title.backgroundColor,
232
232
  margin: H.value.style.title.margin,
233
233
  textAlign: H.value.style.title.textAlign
234
234
  })
235
- }, [g("div", {
235
+ }, [_("div", {
236
236
  class: "vue-ui-sparkbar-title",
237
- style: v({
237
+ style: y({
238
238
  fontSize: H.value.style.title.fontSize + "px",
239
239
  color: H.value.style.title.color,
240
240
  fontWeight: H.value.style.title.bold ? "bold" : "normal"
241
241
  })
242
- }, C(H.value.style.title.text), 5), H.value.style.title.subtitle.text ? (b(), h("div", {
242
+ }, w(H.value.style.title.text), 5), H.value.style.title.subtitle.text ? (x(), g("div", {
243
243
  key: 0,
244
244
  class: "vue-ui-sparkbar-subtitle",
245
- style: v({
245
+ style: y({
246
246
  fontSize: H.value.style.title.subtitle.fontSize + "px",
247
247
  color: H.value.style.title.subtitle.color,
248
248
  fontWeight: H.value.style.title.subtitle.bold ? "bold" : "normal"
249
249
  })
250
- }, C(H.value.style.title.subtitle.text), 5)) : m("", !0)], 4)) : m("", !0),
251
- (b(!0), h(f, null, he(Te.value, (t, n) => (b(), h("div", {
252
- style: v(`display:flex !important;${["left", "right"].includes(H.value.style.labels.name.position) ? `flex-direction: ${H.value.style.labels.name.position === "right" ? "row-reverse" : "row"} !important` : "flex-direction:column !important"};gap:${H.value.style.gap}px !important;align-items:center;${w(W).length > 0 && n !== w(W).length - 1 ? "margin-bottom:6px" : ""}`),
253
- onClick: (e) => De(t, n),
254
- onMouseenter: (e) => Oe(t, n),
255
- onMouseleave: (e) => ke(t, n)
250
+ }, w(H.value.style.title.subtitle.text), 5)) : h("", !0)], 4)) : h("", !0),
251
+ (x(!0), g(f, null, me(Te.value, (t, i) => (x(), g("div", {
252
+ style: y(`display:flex !important;${["left", "right"].includes(H.value.style.labels.name.position) ? `flex-direction: ${H.value.style.labels.name.position === "right" ? "row-reverse" : "row"} !important` : "flex-direction:column !important"};gap:${H.value.style.gap}px !important;align-items:center;${T(W).length > 0 && i !== T(W).length - 1 ? "margin-bottom:6px" : ""}`),
253
+ onClick: (e) => De(t, i),
254
+ onMouseenter: (e) => Oe(t, i),
255
+ onMouseleave: (e) => ke(t, i)
256
256
  }, [
257
- w(U) ? m("", !0) : S(e.$slots, "data-label", _({
257
+ T(U) ? h("", !0) : C(e.$slots, "data-label", v({
258
258
  key: 0,
259
259
  ref_for: !0
260
260
  }, { bar: {
261
261
  ...t,
262
262
  target: $(t),
263
- valueLabel: w(l)(t.formatter, t.value, w(i)({
263
+ valueLabel: T(l)(t.formatter, t.value, T(r)({
264
264
  p: t.prefix || "",
265
265
  v: t.value,
266
266
  s: t.suffix || "",
267
267
  r: t.rounding || 0
268
268
  }), {
269
269
  datapoint: t,
270
- seriesIndex: n
270
+ seriesIndex: i
271
271
  }),
272
- targetLabel: w(l)(t.formatter, $(t), w(i)({
272
+ targetLabel: T(l)(t.formatter, $(t), T(r)({
273
273
  p: t.prefix || "",
274
274
  v: $(t),
275
275
  s: t.suffix || "",
276
276
  r: t.rounding || 0
277
277
  }), {
278
278
  datapoint: t,
279
- seriesIndex: n
279
+ seriesIndex: i
280
280
  })
281
281
  } })),
282
- !e.$slots["data-label"] || w(U) ? (b(), h("div", {
282
+ !e.$slots["data-label"] || T(U) ? (x(), g("div", {
283
283
  key: 1,
284
- style: v({
284
+ style: y({
285
285
  display: "flex",
286
286
  justifyContent: ["right", "top-right"].includes(H.value.style.labels.name.position) ? "flex-end" : ["top-center"].includes(H.value.style.labels.name.position) ? "center" : "flex-start",
287
287
  alignItems: "center",
@@ -291,10 +291,10 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
291
291
  fontWeight: H.value.style.labels.name.bold ? "bold" : "normal",
292
292
  flexWrap: "wrap"
293
293
  })
294
- }, [w(U) ? (b(), h("div", {
294
+ }, [T(U) ? (x(), g("div", {
295
295
  key: 0,
296
296
  class: "vue-ui-sparkbar-skeleton-name",
297
- style: v({
297
+ style: y({
298
298
  width: "60px",
299
299
  height: H.value.style.labels.fontSize + "px",
300
300
  borderRadius: H.value.style.labels.fontSize / 4 + "px",
@@ -303,70 +303,70 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
303
303
  justifyContent: "space-between",
304
304
  marginTop: "5px"
305
305
  })
306
- }, [g("div", { style: v({
306
+ }, [_("div", { style: y({
307
307
  height: "100%",
308
308
  width: "40px",
309
309
  borderRadius: H.value.style.labels.fontSize / 4 + "px",
310
310
  backgroundColor: "#6A6A6A80"
311
- }) }, null, 4), g("div", { style: v({
311
+ }) }, null, 4), _("div", { style: y({
312
312
  height: "100%",
313
313
  width: "15px",
314
314
  borderRadius: H.value.style.labels.fontSize / 4 + "px",
315
315
  backgroundColor: "#6A6A6A80"
316
- }) }, null, 4)], 4)) : (b(), h(f, { key: 1 }, [
317
- g("span", null, C(t.name), 1),
318
- H.value.style.labels.value.show ? (b(), h("span", {
316
+ }) }, null, 4)], 4)) : (x(), g(f, { key: 1 }, [
317
+ _("span", null, w(t.name), 1),
318
+ H.value.style.labels.value.show ? (x(), g("span", {
319
319
  key: 0,
320
- style: v(`font-weight:${H.value.style.labels.value.bold ? "bold" : "normal"}`),
320
+ style: y(`font-weight:${H.value.style.labels.value.bold ? "bold" : "normal"}`),
321
321
  class: "vue-ui-sparkbar-datapoint-name"
322
- }, ": " + C(w(l)(t.formatter, t.value, w(i)({
322
+ }, ": " + w(T(l)(t.formatter, t.value, T(r)({
323
323
  p: t.prefix || "",
324
324
  v: t.value,
325
325
  s: t.suffix || "",
326
326
  r: t.rounding || 0
327
327
  }), {
328
328
  datapoint: t,
329
- seriesIndex: n
330
- })), 5)) : m("", !0),
331
- H.value.style.layout.showTargetValue ? (b(), h("span", k, C(" " + H.value.style.layout.targetValueText) + " " + C(w(l)(t.formatter, $(t), w(i)({
329
+ seriesIndex: i
330
+ })), 5)) : h("", !0),
331
+ H.value.style.layout.showTargetValue ? (x(), g("span", k, w(" " + H.value.style.layout.targetValueText) + " " + w(T(l)(t.formatter, $(t), T(r)({
332
332
  p: t.prefix || "",
333
333
  v: $(t),
334
334
  s: t.suffix || "",
335
335
  r: t.rounding || 0
336
336
  }), {
337
337
  datapoint: t,
338
- seriesIndex: n
339
- })), 1)) : m("", !0)
340
- ], 64))], 4)) : m("", !0),
341
- (b(), h("svg", {
338
+ seriesIndex: i
339
+ })), 1)) : h("", !0)
340
+ ], 64))], 4)) : h("", !0),
341
+ (x(), g("svg", {
342
342
  role: "img",
343
- xmlns: w(ne),
343
+ xmlns: T(ne),
344
344
  viewBox: `0 0 ${X.value.width} ${X.value.height}`,
345
345
  width: "100%"
346
346
  }, [
347
- de(w(R)),
348
- g("defs", null, [g("linearGradient", {
347
+ ue(T(R)),
348
+ _("defs", null, [_("linearGradient", {
349
349
  x1: "0%",
350
350
  y1: "0%",
351
351
  x2: "100%",
352
352
  y2: "0%",
353
- id: `sparkbar_gradient_${n}_${V.value}`
354
- }, [g("stop", {
353
+ id: `sparkbar_gradient_${i}_${V.value}`
354
+ }, [_("stop", {
355
355
  offset: "0%",
356
- "stop-color": w(o)(w(s)(t.color, .03), 100 - H.value.style.bar.gradient.intensity)
357
- }, null, 8, M), g("stop", {
356
+ "stop-color": T(s)(T(n)(t.color, .03), 100 - H.value.style.bar.gradient.intensity)
357
+ }, null, 8, M), _("stop", {
358
358
  offset: "100%",
359
359
  "stop-color": t.color
360
360
  }, null, 8, N)], 8, j)]),
361
- g("rect", {
361
+ _("rect", {
362
362
  height: X.value.height,
363
363
  width: X.value.width,
364
364
  x: 0,
365
365
  y: 0,
366
- fill: w(o)(H.value.style.gutter.backgroundColor, H.value.style.gutter.opacity),
366
+ fill: T(s)(H.value.style.gutter.backgroundColor, H.value.style.gutter.opacity),
367
367
  rx: X.value.height / 2
368
368
  }, null, 8, P),
369
- g("rect", {
369
+ _("rect", {
370
370
  height: X.value.height,
371
371
  width: X.value.width * Q(t),
372
372
  x: 0,
@@ -374,18 +374,18 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
374
374
  fill: H.value.style.bar.gradient.underlayerColor,
375
375
  rx: X.value.height / 2
376
376
  }, null, 8, F),
377
- g("rect", {
377
+ _("rect", {
378
378
  height: X.value.height,
379
379
  width: X.value.width * Q(t),
380
380
  x: 0,
381
381
  y: 0,
382
- fill: H.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${n}_${V.value})` : t.color,
382
+ fill: H.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${i}_${V.value})` : t.color,
383
383
  rx: X.value.height / 2
384
384
  }, null, 8, I)
385
385
  ], 8, A))
386
386
  ], 44, O))), 256)),
387
- e.$slots.source ? (b(), h("div", L, [S(e.$slots, "source")], 512)) : m("", !0),
388
- w(U) ? (b(), ue(se, { key: 3 })) : m("", !0)
387
+ e.$slots.source ? (x(), g("div", L, [C(e.$slots, "source")], 512)) : h("", !0),
388
+ T(U) ? (x(), m(oe, { key: 3 })) : h("", !0)
389
389
  ], 4));
390
390
  }
391
391
  };
@@ -1,15 +1,15 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Bt as t, Ct as n, G as ee, H as te, X as r, ft as i, i as a, ot as o, t as s, v as c } from "./lib-DUeYQsS0.js";
2
+ import { G as t, H as n, Ht as r, Tt as i, X as a, ct as ee, i as te, mt as o, t as s, v as c } from "./lib-AJRHFE5U.js";
3
3
  import { t as ne } from "./useConfig-DnH7Pf_2.js";
4
4
  import { n as re, t as ie } from "./BaseScanner-Dr2a1Msy.js";
5
- import { t as l } from "./useNestedProp-CNcoy38D.js";
5
+ import { t as l } from "./useNestedProp-DtcXIg7n.js";
6
6
  import { t as ae } from "./useThemeCheck-C43Tcqmk.js";
7
7
  import { t as oe } from "./useChartAccessibility-DYqac8yF.js";
8
8
  import { t as se } from "./usePrefersMotion-BC-CsqR1.js";
9
9
  import { t as ce } from "./vue_ui_sparkgauge-BX1MS3bA.js";
10
- import { computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as le, defineAsyncComponent as ue, normalizeClass as de, normalizeStyle as h, onBeforeUnmount as fe, onMounted as g, openBlock as _, ref as v, renderSlot as y, toDisplayString as b, toRefs as pe, unref as x, watch as S } from "vue";
10
+ import { computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineAsyncComponent as le, normalizeClass as ue, normalizeStyle as g, onBeforeUnmount as de, onMounted as _, openBlock as v, ref as y, renderSlot as b, toDisplayString as x, toRefs as fe, unref as S, watch as C } from "vue";
11
11
  //#region src/components/vue-ui-sparkgauge.vue
12
- var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he = ["width", "height"], ge = ["id"], w = ["stop-color"], T = ["stop-color"], E = [
12
+ var w = /* @__PURE__ */ e({ default: () => j }), pe = ["xmlns", "viewBox"], me = ["width", "height"], he = ["id"], ge = ["stop-color"], T = ["stop-color"], E = [
13
13
  "d",
14
14
  "stroke",
15
15
  "stroke-linecap"
@@ -50,7 +50,7 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
50
50
  }
51
51
  },
52
52
  setup(e) {
53
- let C = ue(() => import("./PackageVersion-eS823iMF.js").then((e) => e.t)), { vue_ui_sparkgauge: j } = ne(), { isThemeValid: M, warnInvalidTheme: N } = ae(), P = se(), F = v(null), I = e, L = v(te()), R = v(W()), z = u(() => R.value.style.animation.show && !P.value), _e = u(() => t({
53
+ let w = le(() => import("./PackageVersion-DYLo3MRd.js").then((e) => e.t)), { vue_ui_sparkgauge: j } = ne(), { isThemeValid: M, warnInvalidTheme: N } = ae(), P = se(), F = y(null), I = e, L = y(n()), R = y(W()), z = u(() => R.value.style.animation.show && !P.value), _e = u(() => r({
54
54
  defaultConfig: { style: {
55
55
  animation: { show: !1 },
56
56
  background: "#99999930",
@@ -63,7 +63,7 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
63
63
  } },
64
64
  userConfig: R.value.skeletonConfig ?? {}
65
65
  })), { loading: B, FINAL_DATASET: V } = re({
66
- ...pe(I),
66
+ ...fe(I),
67
67
  FINAL_CONFIG: R,
68
68
  prepareConfig: W,
69
69
  skeletonDataset: I.config?.skeletonDataset ?? {
@@ -72,7 +72,7 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
72
72
  max: 1,
73
73
  title: ""
74
74
  },
75
- skeletonConfig: t({
75
+ skeletonConfig: r({
76
76
  defaultConfig: R.value,
77
77
  userConfig: _e.value
78
78
  })
@@ -100,16 +100,16 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
100
100
  defaultConfig: n
101
101
  });
102
102
  }
103
- g(() => {
103
+ _(() => {
104
104
  K();
105
105
  });
106
106
  let G = u(() => R.value.debug);
107
107
  function K() {
108
- n(I.dataset) ? r({
108
+ i(I.dataset) ? a({
109
109
  componentName: "VueUiSparkgauge",
110
110
  type: "dataset",
111
111
  debug: G.value
112
- }) : o({
112
+ }) : ee({
113
113
  datasetObject: I.dataset,
114
114
  requiredAttributes: [
115
115
  "value",
@@ -117,7 +117,7 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
117
117
  "max"
118
118
  ]
119
119
  }).forEach((e) => {
120
- r({
120
+ a({
121
121
  componentName: "VueUiSparkgauge",
122
122
  type: "datasetAttribute",
123
123
  property: e,
@@ -125,19 +125,19 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
125
125
  });
126
126
  });
127
127
  }
128
- S(() => I.config, () => {
128
+ C(() => I.config, () => {
129
129
  R.value = W(), J.value = z.value ? H.value.min : V.value.value, K();
130
130
  }, { deep: !0 });
131
131
  let q = u(() => ({
132
132
  height: R.value.style.height,
133
133
  width: 128,
134
134
  base: R.value.style.basePosition
135
- })), J = v(z.value ? H.value.min : V.value.value);
136
- S([() => V.value.value, z], ([e, t]) => {
135
+ })), J = y(z.value ? H.value.min : V.value.value);
136
+ C([() => V.value.value, z], ([e, t]) => {
137
137
  Y(e || 0, t);
138
138
  }, { immediate: !0 });
139
139
  let ye = u(() => J.value > H.value.max ? H.value.max : J.value < H.value.min ? H.value.min : J.value);
140
- g(() => {
140
+ _(() => {
141
141
  Y(V.value.value || 0);
142
142
  });
143
143
  function Y(e, t = z.value) {
@@ -155,34 +155,34 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
155
155
  if (!isFinite(e) || e === 0) return 0;
156
156
  let t = H.value.min, n = ye.value;
157
157
  return n >= 0 ? (n - t) / e : (Math.abs(t) - Math.abs(n)) / e;
158
- }), Q = u(() => i(R.value.style.colors.min, R.value.style.colors.max, H.value.min, H.value.max, J.value)), $ = u(() => R.value.style.dataLabel.autoColor ? Q.value : R.value.style.dataLabel.color), be = u(() => R.value.style.track.autoColor ? Q.value : R.value.style.track.color);
159
- return fe(() => {
158
+ }), Q = u(() => o(R.value.style.colors.min, R.value.style.colors.max, H.value.min, H.value.max, J.value)), $ = u(() => R.value.style.dataLabel.autoColor ? Q.value : R.value.style.dataLabel.color), be = u(() => R.value.style.track.autoColor ? Q.value : R.value.style.track.color);
159
+ return de(() => {
160
160
  F.value && cancelAnimationFrame(F.value);
161
- }), (e, t) => (_(), p("div", {
161
+ }), (e, n) => (v(), p("div", {
162
162
  class: "vue-data-ui-component vue-ui-sparkgauge",
163
- style: h(`font-family:${R.value.style.fontFamily};width: 100%; background:${R.value.style.background}`)
163
+ style: g(`font-family:${R.value.style.fontFamily};width: 100%; background:${R.value.style.background}`)
164
164
  }, [
165
- R.value.style.title.show && X.value && R.value.style.title.position === "top" ? (_(), p("div", {
165
+ R.value.style.title.show && X.value && R.value.style.title.position === "top" ? (v(), p("div", {
166
166
  key: 0,
167
167
  class: "vue-data-ui-sparkgauge-label",
168
- style: h(`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}`)
169
- }, b(X.value), 5)) : f("", !0),
170
- (_(), p("svg", {
168
+ style: g(`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}`)
169
+ }, x(X.value), 5)) : f("", !0),
170
+ (v(), p("svg", {
171
171
  ref_key: "svgRef",
172
172
  ref: ve,
173
- xmlns: x(s),
173
+ xmlns: S(s),
174
174
  viewBox: `0 0 ${q.value.width} ${q.value.height}`,
175
175
  style: "overflow: visible; background:transparent; width:100%;"
176
176
  }, [
177
- le(x(C)),
178
- e.$slots["chart-background"] && !x(B) ? (_(), p("foreignObject", {
177
+ h(S(w)),
178
+ e.$slots["chart-background"] && !S(B) ? (v(), p("foreignObject", {
179
179
  key: 0,
180
180
  x: 0,
181
181
  y: 0,
182
182
  width: q.value.width,
183
183
  height: q.value.height,
184
184
  style: { pointerEvents: "none" }
185
- }, [y(e.$slots, "chart-background")], 8, he)) : f("", !0),
185
+ }, [b(e.$slots, "chart-background")], 8, me)) : f("", !0),
186
186
  m("defs", null, [m("linearGradient", {
187
187
  id: `gradient_${L.value}`,
188
188
  x1: "-10%",
@@ -192,10 +192,10 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
192
192
  }, [m("stop", {
193
193
  offset: "0%",
194
194
  "stop-color": R.value.style.colors.min
195
- }, null, 8, w), m("stop", {
195
+ }, null, 8, ge), m("stop", {
196
196
  offset: "100%",
197
197
  "stop-color": R.value.style.colors.max
198
- }, null, 8, T)], 8, ge)]),
198
+ }, null, 8, T)], 8, he)]),
199
199
  m("path", {
200
200
  d: `M10 ${q.value.base} A 1 1 0 1 1 118 ${q.value.base}`,
201
201
  stroke: R.value.style.gutter.color,
@@ -203,7 +203,7 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
203
203
  "stroke-linecap": R.value.style.gutter.strokeLinecap,
204
204
  fill: "none"
205
205
  }, null, 8, E),
206
- Z.value === 0 ? f("", !0) : (_(), p("path", {
206
+ Z.value === 0 ? f("", !0) : (v(), p("path", {
207
207
  key: 1,
208
208
  d: `M10 ${q.value.base} A 1 1 0 1 1 118 ${q.value.base}`,
209
209
  stroke: R.value.style.colors.showGradient ? `url(#gradient_${L.value})` : be.value,
@@ -212,10 +212,10 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
212
212
  fill: "none",
213
213
  "stroke-dasharray": 169.5,
214
214
  "stroke-dashoffset": 169.5 - 169.5 * Z.value,
215
- class: de({ "vue-ui-sparkgauge-track": R.value.style.animation.show }),
216
- style: h(R.value.style.animation.show ? `animation: vue-ui-sparkgauge-animation ${R.value.style.animation.speedMs}ms ease-in;` : "")
215
+ class: ue({ "vue-ui-sparkgauge-track": R.value.style.animation.show }),
216
+ style: g(R.value.style.animation.show ? `animation: vue-ui-sparkgauge-animation ${R.value.style.animation.speedMs}ms ease-in;` : "")
217
217
  }, null, 14, D)),
218
- x(B) ? (_(), p("rect", {
218
+ S(B) ? (v(), p("rect", {
219
219
  key: 2,
220
220
  x: q.value.width / 2 - R.value.style.dataLabel.fontSize / 2,
221
221
  y: q.value.base + 6 + R.value.style.dataLabel.offsetY - R.value.style.dataLabel.fontSize,
@@ -223,7 +223,7 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
223
223
  height: R.value.style.dataLabel.fontSize,
224
224
  fill: "#6A6A6A50",
225
225
  rx: 3
226
- }, null, 8, O)) : (_(), p("text", {
226
+ }, null, 8, O)) : (v(), p("text", {
227
227
  key: 3,
228
228
  "text-anchor": "middle",
229
229
  x: q.value.width / 2,
@@ -231,25 +231,25 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
231
231
  "font-size": R.value.style.dataLabel.fontSize,
232
232
  fill: $.value,
233
233
  "font-weight": R.value.style.dataLabel.bold ? "bold" : "normal"
234
- }, b(x(a)(R.value.style.dataLabel.formatter, x(c)(J.value), x(ee)({
234
+ }, x(S(te)(R.value.style.dataLabel.formatter, S(c)(J.value), S(t)({
235
235
  p: R.value.style.dataLabel.prefix,
236
- v: x(c)(J.value),
236
+ v: S(c)(J.value),
237
237
  s: R.value.style.dataLabel.suffix,
238
238
  r: R.value.style.dataLabel.rounding
239
239
  }), {
240
- datapoint: x(c)(J.value),
240
+ datapoint: S(c)(J.value),
241
241
  color: $.value
242
242
  })), 9, k))
243
- ], 8, me)),
244
- R.value.style.title.show && X.value && R.value.style.title.position === "bottom" ? (_(), p("div", {
243
+ ], 8, pe)),
244
+ R.value.style.title.show && X.value && R.value.style.title.position === "bottom" ? (v(), p("div", {
245
245
  key: 1,
246
246
  class: "vue-data-ui-sparkgauge-label",
247
- style: h(`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}`)
248
- }, b(X.value), 5)) : f("", !0),
249
- e.$slots.source ? (_(), p("div", A, [y(e.$slots, "source")], 512)) : f("", !0),
250
- y(e.$slots, "skeleton", {}, () => [x(B) ? (_(), d(ie, { key: 0 })) : f("", !0)])
247
+ style: g(`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}`)
248
+ }, x(X.value), 5)) : f("", !0),
249
+ e.$slots.source ? (v(), p("div", A, [b(e.$slots, "source")], 512)) : f("", !0),
250
+ b(e.$slots, "skeleton", {}, () => [S(B) ? (v(), d(ie, { key: 0 })) : f("", !0)])
251
251
  ], 4));
252
252
  }
253
253
  };
254
254
  //#endregion
255
- export { C as n, j as t };
255
+ export { w as n, j as t };