vue-data-ui 3.22.8 → 3.22.9

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 (169) hide show
  1. package/dist/{BaseDraggableDialog-DcfGlH8A.js → BaseDraggableDialog-Av7Uxq5V.js} +1 -1
  2. package/dist/BaseIcon-UdRAvP2h.js +483 -0
  3. package/dist/{BaseLegendToggle-DtQ8vyfr.js → BaseLegendToggle-DWtet-Hh.js} +1 -1
  4. package/dist/{BaseZoomControls-C6zonwhr.js → BaseZoomControls-BY2KLqs6.js} +1 -1
  5. package/dist/{ColorPicker-CK2-h611.js → ColorPicker-DR_ummtM.js} +1 -1
  6. package/dist/{DataTable-D9NvewTT.js → DataTable-BxpTMgfK.js} +1 -1
  7. package/dist/DefGrad-DVBqDjhO.js +48 -0
  8. package/dist/{NonSvgPenAndPaper-BHHNsVVP.js → NonSvgPenAndPaper-B6EG_Sga.js} +2 -2
  9. package/dist/{PackageVersion-DW7zwRcm.js → PackageVersion-D__dRVRA.js} +1 -1
  10. package/dist/{PenAndPaper-pcgwlYr2.js → PenAndPaper-DsXi7GJ-.js} +2 -2
  11. package/dist/{Slicer-BZ5VnOOS.js → Slicer-CW_XPIKL.js} +359 -354
  12. package/dist/{SlicerPreview-BQFeCw0m.js → SlicerPreview-CTz41lOu.js} +471 -466
  13. package/dist/{UserOptions-16uF1ayB.js → UserOptions-trvJ26nz.js} +1 -1
  14. package/dist/components/vue-ui-3d-bar.js +1 -1
  15. package/dist/components/vue-ui-accordion.js +1 -1
  16. package/dist/components/vue-ui-age-pyramid.js +1 -1
  17. package/dist/components/vue-ui-annotator.js +1 -1
  18. package/dist/components/vue-ui-bullet.js +1 -1
  19. package/dist/components/vue-ui-bump.js +1 -1
  20. package/dist/components/vue-ui-candlestick.js +1 -1
  21. package/dist/components/vue-ui-carousel-table.js +1 -1
  22. package/dist/components/vue-ui-chestnut.js +1 -1
  23. package/dist/components/vue-ui-chord.js +1 -1
  24. package/dist/components/vue-ui-circle-pack.js +1 -1
  25. package/dist/components/vue-ui-cursor.js +1 -1
  26. package/dist/components/vue-ui-dag.js +1 -1
  27. package/dist/components/vue-ui-dashboard.js +1 -1
  28. package/dist/components/vue-ui-digits.js +1 -1
  29. package/dist/components/vue-ui-donut-evolution.js +1 -1
  30. package/dist/components/vue-ui-donut.js +1 -1
  31. package/dist/components/vue-ui-dumbbell.js +1 -1
  32. package/dist/components/vue-ui-flow.js +1 -1
  33. package/dist/components/vue-ui-funnel.js +1 -1
  34. package/dist/components/vue-ui-galaxy.js +1 -1
  35. package/dist/components/vue-ui-gauge.js +1 -1
  36. package/dist/components/vue-ui-geo.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-molecule.js +1 -1
  44. package/dist/components/vue-ui-mood-radar.js +1 -1
  45. package/dist/components/vue-ui-nested-donuts.js +1 -1
  46. package/dist/components/vue-ui-onion.js +1 -1
  47. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  48. package/dist/components/vue-ui-quadrant.js +1 -1
  49. package/dist/components/vue-ui-quick-chart.js +1 -1
  50. package/dist/components/vue-ui-radar.js +1 -1
  51. package/dist/components/vue-ui-rating.js +1 -1
  52. package/dist/components/vue-ui-relation-circle.js +1 -1
  53. package/dist/components/vue-ui-ridgeline.js +1 -1
  54. package/dist/components/vue-ui-rings.js +1 -1
  55. package/dist/components/vue-ui-scatter.js +1 -1
  56. package/dist/components/vue-ui-skeleton.js +1 -1
  57. package/dist/components/vue-ui-smiley.js +1 -1
  58. package/dist/components/vue-ui-spark-trend.js +1 -1
  59. package/dist/components/vue-ui-sparkbar.js +1 -1
  60. package/dist/components/vue-ui-sparkgauge.js +1 -1
  61. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  62. package/dist/components/vue-ui-sparkline.js +1 -1
  63. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  64. package/dist/components/vue-ui-stackbar.js +1 -1
  65. package/dist/components/vue-ui-stackline.js +1 -1
  66. package/dist/components/vue-ui-strip-plot.js +1 -1
  67. package/dist/components/vue-ui-table-heatmap.js +1 -1
  68. package/dist/components/vue-ui-table-sparkline.js +1 -1
  69. package/dist/components/vue-ui-table.js +1 -1
  70. package/dist/components/vue-ui-thermometer.js +1 -1
  71. package/dist/components/vue-ui-timer.js +1 -1
  72. package/dist/components/vue-ui-tiremarks.js +1 -1
  73. package/dist/components/vue-ui-treemap.js +1 -1
  74. package/dist/components/vue-ui-vertical-bar.js +1 -1
  75. package/dist/components/vue-ui-waffle.js +1 -1
  76. package/dist/components/vue-ui-wheel.js +1 -1
  77. package/dist/components/vue-ui-word-cloud.js +1 -1
  78. package/dist/components/vue-ui-world.js +1 -1
  79. package/dist/components/vue-ui-xy-canvas.js +1 -1
  80. package/dist/components/vue-ui-xy.js +1 -1
  81. package/dist/{package-gp9pYCfN.js → package-ByOT60IK.js} +1 -1
  82. package/dist/{render-common-CLn1VXJ9.js → render-common-D18VrP0h.js} +1 -1
  83. package/dist/ssr/vue-ui-donut.js +1 -1
  84. package/dist/ssr/vue-ui-xy.js +1 -1
  85. package/dist/ssr.js +2 -2
  86. package/dist/style.css +1 -1
  87. package/dist/{vue-data-ui-AZZ9Cq-4.js → vue-data-ui-ub3fCh6P.js} +67 -67
  88. package/dist/vue-data-ui.js +67 -67
  89. package/dist/vue-ui-3d-bar-taPI41_I.js +1825 -0
  90. package/dist/{vue-ui-accordion-YyosvEPo.js → vue-ui-accordion-CjAGqEJg.js} +1 -1
  91. package/dist/{vue-ui-age-pyramid-DTAOc7fn.js → vue-ui-age-pyramid-jvQZbF8E.js} +306 -297
  92. package/dist/{vue-ui-annotator-CfJXeAOE.js → vue-ui-annotator-BIucnT0L.js} +3 -3
  93. package/dist/{vue-ui-bullet-CCLnrOLm.js → vue-ui-bullet-CIATzlsk.js} +1 -1
  94. package/dist/{vue-ui-bump-Rq7efdoe.js → vue-ui-bump-D8MxltQE.js} +2 -2
  95. package/dist/{vue-ui-candlestick-D-Z9pEaA.js → vue-ui-candlestick-DULUMU-Q.js} +513 -502
  96. package/dist/{vue-ui-carousel-table-Lx5Zk4dG.js → vue-ui-carousel-table-BSmdexG7.js} +1 -1
  97. package/dist/vue-ui-chestnut-BIh1nQ7q.js +2042 -0
  98. package/dist/{vue-ui-chord-Db1O_diJ.js → vue-ui-chord-DL1M7cgL.js} +1 -1
  99. package/dist/vue-ui-circle-pack-C1Pgq6si.js +1614 -0
  100. package/dist/{vue-ui-cursor-DLP7wxsw.js → vue-ui-cursor-d2uLAKTQ.js} +1 -1
  101. package/dist/{vue-ui-dag-DL3zq0F2.js → vue-ui-dag-CVh9FpZr.js} +2 -2
  102. package/dist/{vue-ui-dashboard-C2ozZ-LI.js → vue-ui-dashboard-BH0N3ebj.js} +65 -65
  103. package/dist/{vue-ui-digits-ThFVNO3l.js → vue-ui-digits-R6wi3J-Y.js} +1 -1
  104. package/dist/{vue-ui-donut-BuTd6dt4.js → vue-ui-donut-BWDeVzLc.js} +1 -1
  105. package/dist/{vue-ui-donut-C3Rt6j-I.js → vue-ui-donut-BoZdciGh.js} +632 -623
  106. package/dist/vue-ui-donut-evolution-CpC9EMro.js +1522 -0
  107. package/dist/{vue-ui-dumbbell-wK7vUB0x.js → vue-ui-dumbbell-DGA5Bfnl.js} +528 -494
  108. package/dist/{vue-ui-flow-BTUNfWb7.js → vue-ui-flow-CNczKwTh.js} +1 -1
  109. package/dist/vue-ui-funnel-CaD2tZCT.js +782 -0
  110. package/dist/{vue-ui-galaxy-DJ2uNYcN.js → vue-ui-galaxy-v3cTbUiM.js} +2 -2
  111. package/dist/vue-ui-gauge-DxvMjfoc.js +926 -0
  112. package/dist/{vue-ui-geo-ovHu_Sc9.js → vue-ui-geo-BgmLkZZ2.js} +2 -2
  113. package/dist/{vue-ui-gizmo-DDxEj-qe.js → vue-ui-gizmo-n1kmcGeE.js} +66 -61
  114. package/dist/{vue-ui-heatmap-Npqnvb1r.js → vue-ui-heatmap-dSTh8ah_.js} +2 -2
  115. package/dist/{vue-ui-history-plot-C3Kjy2tc.js → vue-ui-history-plot-N8BqMFVU.js} +395 -384
  116. package/dist/{vue-ui-horizontal-bar-D1rCsgqt.js → vue-ui-horizontal-bar-CwiQxYzv.js} +360 -354
  117. package/dist/{vue-ui-kpi-BrlfYO-j.js → vue-ui-kpi-BKrUk9o8.js} +1 -1
  118. package/dist/{vue-ui-molecule-CExCqZ08.js → vue-ui-molecule--kK1JfnP.js} +295 -289
  119. package/dist/{vue-ui-mood-radar-DlVh6hwx.js → vue-ui-mood-radar-CpBRHQo_.js} +209 -204
  120. package/dist/{vue-ui-nested-donuts-3TRV8pN-.js → vue-ui-nested-donuts-8Ehwcuns.js} +307 -301
  121. package/dist/{vue-ui-onion-DwKK9DXn.js → vue-ui-onion-Cf6JiYTH.js} +2 -2
  122. package/dist/{vue-ui-parallel-coordinate-plot-DSp_cwU-.js → vue-ui-parallel-coordinate-plot-Blnqp1DB.js} +2 -2
  123. package/dist/{vue-ui-quadrant-ByVg-NBs.js → vue-ui-quadrant-CxU0jiOm.js} +366 -360
  124. package/dist/{vue-ui-quick-chart-WMzSJxGZ.js → vue-ui-quick-chart-BO98uEPl.js} +3 -3
  125. package/dist/{vue-ui-radar-DE-me6OC.js → vue-ui-radar-eH2Qih4_.js} +272 -266
  126. package/dist/{vue-ui-rating-CzD3EQ3G.js → vue-ui-rating-CN-ZiAES.js} +135 -126
  127. package/dist/{vue-ui-relation-circle-L7-dTqet.js → vue-ui-relation-circle-BIcP-aAt.js} +1 -1
  128. package/dist/vue-ui-ridgeline-ChXHzEJw.js +1628 -0
  129. package/dist/{vue-ui-rings-WzWiEo9W.js → vue-ui-rings-J990vNbX.js} +262 -256
  130. package/dist/{vue-ui-scatter-DwrAydha.js → vue-ui-scatter-BeJB0EKg.js} +642 -633
  131. package/dist/{vue-ui-skeleton-CuFm4PtB.js → vue-ui-skeleton-DC2bZ0nk.js} +336 -333
  132. package/dist/{vue-ui-smiley-D4NnZ1mg.js → vue-ui-smiley-Dyyu1je3.js} +111 -98
  133. package/dist/{vue-ui-spark-trend-C38ysZ-c.js → vue-ui-spark-trend-CpDX85H3.js} +158 -153
  134. package/dist/vue-ui-sparkbar-DhIo1qsW.js +398 -0
  135. package/dist/{vue-ui-sparkgauge-DgPc4vPT.js → vue-ui-sparkgauge-D0Fo3Hts.js} +75 -70
  136. package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +576 -0
  137. package/dist/vue-ui-sparkline-ApivEMBP.js +1560 -0
  138. package/dist/{vue-ui-sparkstackbar-DrmiWFlw.js → vue-ui-sparkstackbar-DsKQJx_n.js} +179 -167
  139. package/dist/{vue-ui-stackbar-BVdApDnY.js → vue-ui-stackbar-Ds4hXATH.js} +538 -531
  140. package/dist/vue-ui-stackline-DJbcVvmN.js +2425 -0
  141. package/dist/{vue-ui-strip-plot-C-TFNvgz.js → vue-ui-strip-plot-C3ZHf4bD.js} +368 -361
  142. package/dist/{vue-ui-table-heatmap-D0pZbBOH.js → vue-ui-table-heatmap-CNXNXXBU.js} +1 -1
  143. package/dist/{vue-ui-table-sparkline-Q6BHPKUn.js → vue-ui-table-sparkline-B9JJ4pFF.js} +1 -1
  144. package/dist/{vue-ui-table-Q3brrivC.js → vue-ui-table-uudidrYt.js} +4 -4
  145. package/dist/vue-ui-thermometer-Bvw3oQb3.js +770 -0
  146. package/dist/{vue-ui-timer-BdzKpoRj.js → vue-ui-timer-5NAWw5BN.js} +91 -86
  147. package/dist/{vue-ui-tiremarks-DWb69ofh.js → vue-ui-tiremarks-Caz_g1c5.js} +1 -1
  148. package/dist/{vue-ui-treemap-uUz07Prw.js → vue-ui-treemap-F9upPyOI.js} +458 -453
  149. package/dist/{vue-ui-waffle-Pi9e7Ae7.js → vue-ui-waffle-Bk9AsrPp.js} +296 -290
  150. package/dist/{vue-ui-wheel-DTfvWYA7.js → vue-ui-wheel-DD6Q39BA.js} +1 -1
  151. package/dist/{vue-ui-word-cloud-DqfljAqH.js → vue-ui-word-cloud-BZLT5svo.js} +2 -2
  152. package/dist/{vue-ui-world-BtBrH92Z.js → vue-ui-world-DbEJN5NA.js} +284 -273
  153. package/dist/{vue-ui-xy-Bvgy2do1.js → vue-ui-xy-BYMAITk_.js} +1294 -1268
  154. package/dist/{vue-ui-xy-D5KsuNR2.js → vue-ui-xy-Cn9Q8YPr.js} +1 -1
  155. package/dist/{vue-ui-xy-canvas-BfgeE3TW.js → vue-ui-xy-canvas-Dcm2ftwm.js} +5 -5
  156. package/package.json +1 -1
  157. package/dist/BaseIcon-C2qlyHc7.js +0 -502
  158. package/dist/vue-ui-3d-bar-B3HxJmDI.js +0 -1757
  159. package/dist/vue-ui-chestnut-RfWMGUD-.js +0 -2010
  160. package/dist/vue-ui-circle-pack-B4Ro7UuI.js +0 -1608
  161. package/dist/vue-ui-donut-evolution-DY46UPF_.js +0 -1510
  162. package/dist/vue-ui-funnel-BhoHzyHa.js +0 -777
  163. package/dist/vue-ui-gauge-Cf4NqvrO.js +0 -920
  164. package/dist/vue-ui-ridgeline-Cp3YP0xe.js +0 -1622
  165. package/dist/vue-ui-sparkbar-B03ndcUe.js +0 -393
  166. package/dist/vue-ui-sparkhistogram-D02ff7ZI.js +0 -560
  167. package/dist/vue-ui-sparkline-DlTfNQj8.js +0 -1547
  168. package/dist/vue-ui-stackline-QzQQ7lTy.js +0 -2419
  169. package/dist/vue-ui-thermometer-Bg0RR6m4.js +0 -763
@@ -0,0 +1,398 @@
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";
3
+ import { t as ie } from "./useConfig-DYM3f6EI.js";
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";
8
+ import { t as ce } from "./usePrefersMotion-BC-CsqR1.js";
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";
11
+ //#region src/components/vue-ui-sparkbar.vue
12
+ var A = /* @__PURE__ */ e({ default: () => R }), j = [
13
+ "onClick",
14
+ "onMouseenter",
15
+ "onMouseleave"
16
+ ], M = {
17
+ key: 1,
18
+ class: "vue-ui-sparkbar-datapoint-value"
19
+ }, N = ["xmlns", "viewBox"], P = [
20
+ "height",
21
+ "width",
22
+ "fill",
23
+ "rx"
24
+ ], F = [
25
+ "height",
26
+ "width",
27
+ "fill",
28
+ "rx"
29
+ ], I = [
30
+ "height",
31
+ "width",
32
+ "fill",
33
+ "rx"
34
+ ], L = {
35
+ key: 2,
36
+ ref: "source",
37
+ dir: "auto"
38
+ }, R = {
39
+ __name: "vue-ui-sparkbar",
40
+ props: {
41
+ config: {
42
+ type: Object,
43
+ default() {
44
+ return {};
45
+ }
46
+ },
47
+ dataset: {
48
+ type: Array,
49
+ default() {
50
+ return [];
51
+ }
52
+ },
53
+ backgroundOpacity: {
54
+ type: Number,
55
+ default: null
56
+ }
57
+ },
58
+ emits: ["selectDatapoint"],
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(() => {
62
+ _e["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
63
+ });
64
+ let H = w(n()), U = w(q()), ve = m(() => i({
65
+ defaultConfig: { style: {
66
+ backgroundColor: "#99999930",
67
+ animation: { show: !1 },
68
+ layout: { independant: !0 },
69
+ gutter: {
70
+ backgroundColor: "#6A6A6A",
71
+ opacity: 50
72
+ },
73
+ bar: { gradient: { underlayerColor: "#6A6A6A" } }
74
+ } },
75
+ userConfig: U.value.skeletonConfig ?? {}
76
+ })), { loading: W, FINAL_DATASET: G, manualLoading: ye } = ae({
77
+ ...me(V),
78
+ FINAL_CONFIG: U,
79
+ prepareConfig: q,
80
+ skeletonDataset: V.config?.skeletonDataset ?? [
81
+ {
82
+ name: "_",
83
+ value: 21,
84
+ target: 25,
85
+ color: "#808080"
86
+ },
87
+ {
88
+ name: "_",
89
+ value: 13,
90
+ target: 25,
91
+ color: "#ADADAD"
92
+ },
93
+ {
94
+ name: "_",
95
+ value: 8,
96
+ target: 25,
97
+ color: "#DBDBDB"
98
+ }
99
+ ],
100
+ skeletonConfig: i({
101
+ defaultConfig: U.value,
102
+ userConfig: ve.value
103
+ })
104
+ }), K = m(() => !!U.value.debug);
105
+ function q() {
106
+ let e = d({
107
+ userConfig: V.config,
108
+ defaultConfig: z
109
+ }), t = e.theme;
110
+ if (!t) return e;
111
+ if (!he.value(e)) return ge(e), e;
112
+ let n = d({
113
+ userConfig: le[t] || V.config,
114
+ defaultConfig: e
115
+ }), r = d({
116
+ userConfig: V.config,
117
+ defaultConfig: n
118
+ });
119
+ return {
120
+ ...r,
121
+ customPalette: r.customPalette.length ? r.customPalette : s[t] || a
122
+ };
123
+ }
124
+ k(() => V.config, (e) => {
125
+ U.value = q();
126
+ }, { deep: !0 });
127
+ let be = m(() => ee(U.value.customPalette)), J = w(G.value.map((e) => ({
128
+ ...e,
129
+ value: U.value.style.animation.show ? 0 : e.value || 0,
130
+ formatter: e.formatter || null
131
+ }))), Y = w(null);
132
+ S(async () => {
133
+ re(V.dataset) && t({
134
+ componentName: "VueUiSparkbar",
135
+ type: "dataset",
136
+ debug: K.value
137
+ }), X();
138
+ });
139
+ function X() {
140
+ if (U.value.style.animation.show && !B.value) {
141
+ let e = U.value.style.animation.animationFrames, t = G.value.map((t, n) => t.value / e), n = G.value.map((e) => e.value || 0).reduce((e, t) => e + t, 0), r = 0;
142
+ function i() {
143
+ r += n / e, r < n ? (J.value = J.value.map((e, n) => ({
144
+ ...e,
145
+ value: e.value += t[n]
146
+ })), Y.value = requestAnimationFrame(i)) : J.value = G.value.map((e) => ({
147
+ ...e,
148
+ value: e.value || 0,
149
+ formatter: e.formatter || null
150
+ }));
151
+ }
152
+ i();
153
+ }
154
+ }
155
+ k(() => G.value, async (e) => {
156
+ cancelAnimationFrame(Y.value), J.value = G.value.map((e) => ({
157
+ ...e,
158
+ value: U.value.style.animation.show && !B.value ? 0 : e.value || 0,
159
+ formatter: e.formatter || null
160
+ })), fe(X);
161
+ }, { deep: !0 });
162
+ let Z = w({
163
+ width: 500,
164
+ height: 16
165
+ }), xe = m(() => Math.max(...G.value.map((e) => e.value))), Se = m(() => (G.value.forEach((e, n) => {
166
+ ne({
167
+ datasetObject: e,
168
+ requiredAttributes: ["name", "value"]
169
+ }).forEach((e) => {
170
+ t({
171
+ componentName: "VueUiSparkbar",
172
+ type: "datasetSerieAttribute",
173
+ property: e,
174
+ index: n,
175
+ debug: K.value
176
+ });
177
+ });
178
+ }), J.value.map((e, t) => ({
179
+ ...e,
180
+ value: e.value || 0,
181
+ color: te(e.color) || be.value[t] || a[t] || a[t % a.length]
182
+ }))));
183
+ function Ce(e) {
184
+ return e / xe.value;
185
+ }
186
+ function Q(e) {
187
+ return U.value.style.layout.independant ? e.target ? e.value / e.target : U.value.style.layout.percentage ? e.value > 100 ? 1 : e.value / 100 : U.value.style.layout.target === 0 ? 1 : e.value / U.value.style.layout.target : Ce(e.value);
188
+ }
189
+ function $(e) {
190
+ return U.value.style.layout.independant && e.target || U.value.style.layout.target;
191
+ }
192
+ let we = A;
193
+ function Te(e, t) {
194
+ we("selectDatapoint", {
195
+ datapoint: e,
196
+ index: t
197
+ }), U.value.events.datapointClick && U.value.events.datapointClick({
198
+ datapoint: e,
199
+ seriesIndex: t
200
+ });
201
+ }
202
+ function Ee(e, t) {
203
+ U.value.events.datapointEnter && U.value.events.datapointEnter({
204
+ datapoint: e,
205
+ seriesIndex: t
206
+ });
207
+ }
208
+ function De(e, t) {
209
+ U.value.events.datapointLeave && U.value.events.datapointLeave({
210
+ datapoint: e,
211
+ seriesIndex: t
212
+ });
213
+ }
214
+ return (e, t) => (C(), g("div", {
215
+ class: "vue-data-ui-component vue-ui-sparkbar",
216
+ style: x({
217
+ width: "100%",
218
+ position: "relative",
219
+ fontFamily: U.value.style.fontFamily,
220
+ background: V.backgroundOpacity === null ? U.value.style.backgroundColor : D(o)(U.value.style.backgroundColor, V.backgroundOpacity)
221
+ })
222
+ }, [
223
+ e.$slots.title ? T(e.$slots, "title", b(y({ key: 0 }, { title: {
224
+ ...e.title,
225
+ title: U.value.style.title.text,
226
+ subtitle: U.value.style.title.subtitle.text
227
+ } }))) : h("", !0),
228
+ !e.$slots.title && U.value.style.title.text ? (C(), g("div", {
229
+ key: 1,
230
+ class: "vue-ui-sparkbar-title-container",
231
+ style: x({
232
+ background: U.value.style.title.backgroundColor,
233
+ margin: U.value.style.title.margin,
234
+ textAlign: U.value.style.title.textAlign
235
+ })
236
+ }, [_("div", {
237
+ class: "vue-ui-sparkbar-title",
238
+ style: x({
239
+ fontSize: U.value.style.title.fontSize + "px",
240
+ color: U.value.style.title.color,
241
+ fontWeight: U.value.style.title.bold ? "bold" : "normal"
242
+ })
243
+ }, E(U.value.style.title.text), 5), U.value.style.title.subtitle.text ? (C(), g("div", {
244
+ key: 0,
245
+ class: "vue-ui-sparkbar-subtitle",
246
+ style: x({
247
+ fontSize: U.value.style.title.subtitle.fontSize + "px",
248
+ color: U.value.style.title.subtitle.color,
249
+ fontWeight: U.value.style.title.subtitle.bold ? "bold" : "normal"
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)
257
+ }, [
258
+ D(W) ? h("", !0) : T(e.$slots, "data-label", y({
259
+ key: 0,
260
+ ref_for: !0
261
+ }, { bar: {
262
+ ...t,
263
+ target: $(t),
264
+ valueLabel: D(c)(t.formatter, t.value, D(r)({
265
+ p: t.prefix || "",
266
+ v: t.value,
267
+ s: t.suffix || "",
268
+ r: t.rounding || 0
269
+ }), {
270
+ datapoint: t,
271
+ seriesIndex: n
272
+ }),
273
+ targetLabel: D(c)(t.formatter, $(t), D(r)({
274
+ p: t.prefix || "",
275
+ v: $(t),
276
+ s: t.suffix || "",
277
+ r: t.rounding || 0
278
+ }), {
279
+ datapoint: t,
280
+ seriesIndex: n
281
+ })
282
+ } })),
283
+ !e.$slots["data-label"] || D(W) ? (C(), g("div", {
284
+ key: 1,
285
+ style: x({
286
+ display: "flex",
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
+ alignItems: "center",
289
+ width: U.value.style.labels.name.width,
290
+ color: U.value.style.labels.name.color,
291
+ fontSize: U.value.style.labels.fontSize + "px",
292
+ fontWeight: U.value.style.labels.name.bold ? "bold" : "normal",
293
+ flexWrap: "wrap"
294
+ })
295
+ }, [D(W) ? (C(), g("div", {
296
+ key: 0,
297
+ class: "vue-ui-sparkbar-skeleton-name",
298
+ style: x({
299
+ width: "60px",
300
+ height: U.value.style.labels.fontSize + "px",
301
+ borderRadius: U.value.style.labels.fontSize / 4 + "px",
302
+ display: "flex",
303
+ alignItems: "center",
304
+ justifyContent: "space-between",
305
+ marginTop: "5px"
306
+ })
307
+ }, [_("div", { style: x({
308
+ height: "100%",
309
+ width: "40px",
310
+ borderRadius: U.value.style.labels.fontSize / 4 + "px",
311
+ backgroundColor: "#6A6A6A80"
312
+ }) }, null, 4), _("div", { style: x({
313
+ height: "100%",
314
+ width: "15px",
315
+ borderRadius: U.value.style.labels.fontSize / 4 + "px",
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", {
320
+ key: 0,
321
+ style: x(`font-weight:${U.value.style.labels.value.bold ? "bold" : "normal"}`),
322
+ class: "vue-ui-sparkbar-datapoint-name"
323
+ }, ": " + E(D(c)(t.formatter, t.value, D(r)({
324
+ p: t.prefix || "",
325
+ v: t.value,
326
+ s: t.suffix || "",
327
+ r: t.rounding || 0
328
+ }), {
329
+ datapoint: t,
330
+ seriesIndex: n
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)({
333
+ p: t.prefix || "",
334
+ v: $(t),
335
+ s: t.suffix || "",
336
+ r: t.rounding || 0
337
+ }), {
338
+ datapoint: t,
339
+ seriesIndex: n
340
+ })), 1)) : h("", !0)
341
+ ], 64))], 4)) : h("", !0),
342
+ (C(), g("svg", {
343
+ role: "img",
344
+ xmlns: D(l),
345
+ viewBox: `0 0 ${Z.value.width} ${Z.value.height}`,
346
+ width: "100%"
347
+ }, [
348
+ v(D(R)),
349
+ _("defs", null, [v(se, {
350
+ t: "linear",
351
+ x1: "0%",
352
+ y1: "0%",
353
+ x2: "100%",
354
+ y2: "0%",
355
+ id: `sparkbar_gradient_${n}_${H.value}`,
356
+ stops: [[
357
+ "0%",
358
+ D(o)(D(u)(t.color, .03), 100 - U.value.style.bar.gradient.intensity),
359
+ 1
360
+ ], [
361
+ "100%",
362
+ t.color,
363
+ 1
364
+ ]]
365
+ }, null, 8, ["id", "stops"])]),
366
+ _("rect", {
367
+ height: Z.value.height,
368
+ width: Z.value.width,
369
+ x: 0,
370
+ y: 0,
371
+ fill: D(o)(U.value.style.gutter.backgroundColor, U.value.style.gutter.opacity),
372
+ rx: Z.value.height / 2
373
+ }, null, 8, P),
374
+ _("rect", {
375
+ height: Z.value.height,
376
+ width: Z.value.width * Q(t),
377
+ x: 0,
378
+ y: 0,
379
+ fill: U.value.style.bar.gradient.underlayerColor,
380
+ rx: Z.value.height / 2
381
+ }, null, 8, F),
382
+ _("rect", {
383
+ height: Z.value.height,
384
+ width: Z.value.width * Q(t),
385
+ x: 0,
386
+ y: 0,
387
+ fill: U.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${n}_${H.value})` : t.color,
388
+ rx: Z.value.height / 2
389
+ }, null, 8, I)
390
+ ], 8, N))
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)
394
+ ], 4));
395
+ }
396
+ };
397
+ //#endregion
398
+ export { A as n, R as t };
@@ -1,15 +1,16 @@
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 ae, v as i } from "./lib-JqW18y5I.js";
3
- import { t as oe } from "./useConfig-DYM3f6EI.js";
4
- import { n as se, t as a } from "./BaseScanner-DZvpgOjM.js";
5
- import { t as o } from "./useNestedProp-DIuuzG1r.js";
6
- import { t as ce } from "./useThemeCheck-C43Tcqmk.js";
7
- import { t as s } from "./useChartAccessibility-DYqac8yF.js";
8
- import { t as c } from "./usePrefersMotion-BC-CsqR1.js";
9
- import { t as l } from "./vue_ui_sparkgauge-BX1MS3bA.js";
10
- import { computed as u, createBlock as le, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as ue, defineAsyncComponent as de, normalizeClass as fe, normalizeStyle as m, onBeforeUnmount as h, 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";
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";
11
12
  //#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 = [
13
+ var E = /* @__PURE__ */ e({ default: () => j }), fe = ["xmlns", "viewBox"], pe = ["width", "height"], me = [
13
14
  "d",
14
15
  "stroke",
15
16
  "stroke-linecap"
@@ -50,7 +51,7 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
50
51
  }
51
52
  },
52
53
  setup(e) {
53
- let C = de(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), { vue_ui_sparkgauge: j } = oe(), { isThemeValid: M, warnInvalidTheme: N } = ce(), P = c(), F = v(null), I = e, L = v(n()), R = v(W()), z = u(() => R.value.style.animation.show && !P.value), _e = u(() => r({
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
55
  defaultConfig: { style: {
55
56
  animation: { show: !1 },
56
57
  background: "#99999930",
@@ -62,8 +63,8 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
62
63
  gutter: { color: "#6A6A6A80" }
63
64
  } },
64
65
  userConfig: R.value.skeletonConfig ?? {}
65
- })), { loading: B, FINAL_DATASET: V } = se({
66
- ...pe(I),
66
+ })), { loading: B, FINAL_DATASET: V } = ae({
67
+ ...de(I),
67
68
  FINAL_CONFIG: R,
68
69
  prepareConfig: W,
69
70
  skeletonDataset: I.config?.skeletonDataset ?? {
@@ -74,36 +75,36 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
74
75
  },
75
76
  skeletonConfig: r({
76
77
  defaultConfig: R.value,
77
- userConfig: _e.value
78
+ userConfig: he.value
78
79
  })
79
- }), H = u(() => {
80
+ }), H = f(() => {
80
81
  let e = V.value.min ?? 0, t = V.value.max ?? 0;
81
82
  return {
82
83
  min: e,
83
84
  max: t,
84
85
  diff: t - e
85
86
  };
86
- }), U = u(() => H.value.diff / R.value.style.animation.speedMs), { svgRef: ve } = s({ config: { text: I.dataset?.title || "" } });
87
+ }), U = f(() => H.value.diff / R.value.style.animation.speedMs), { svgRef: ge } = u({ config: { text: I.dataset?.title || "" } });
87
88
  function W() {
88
- let e = o({
89
+ let e = s({
89
90
  userConfig: I.config,
90
91
  defaultConfig: j
91
92
  }), t = e.theme;
92
93
  if (!t) return e;
93
94
  if (!M.value(e)) return N(e), e;
94
- let n = o({
95
- userConfig: l[t] || I.config,
95
+ let n = s({
96
+ userConfig: se[t] || I.config,
96
97
  defaultConfig: e
97
98
  });
98
- return o({
99
+ return s({
99
100
  userConfig: I.config,
100
101
  defaultConfig: n
101
102
  });
102
103
  }
103
- g(() => {
104
+ y(() => {
104
105
  K();
105
106
  });
106
- let G = u(() => R.value.debug);
107
+ let G = f(() => R.value.debug);
107
108
  function K() {
108
109
  ie(I.dataset) ? t({
109
110
  componentName: "VueUiSparkgauge",
@@ -125,19 +126,19 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
125
126
  });
126
127
  });
127
128
  }
128
- S(() => I.config, () => {
129
+ T(() => I.config, () => {
129
130
  R.value = W(), J.value = z.value ? H.value.min : V.value.value, K();
130
131
  }, { deep: !0 });
131
- let q = u(() => ({
132
+ let q = f(() => ({
132
133
  height: R.value.style.height,
133
134
  width: 128,
134
135
  base: R.value.style.basePosition
135
- })), J = v(z.value ? H.value.min : V.value.value);
136
- S([() => V.value.value, z], ([e, t]) => {
136
+ })), J = x(z.value ? H.value.min : V.value.value);
137
+ T([() => V.value.value, z], ([e, t]) => {
137
138
  Y(e || 0, t);
138
139
  }, { immediate: !0 });
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
+ let _e = f(() => J.value > H.value.max ? H.value.max : J.value < H.value.min ? H.value.min : J.value);
141
+ y(() => {
141
142
  Y(V.value.value || 0);
142
143
  });
143
144
  function Y(e, t = z.value) {
@@ -150,72 +151,76 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
150
151
  }
151
152
  n();
152
153
  }
153
- let X = u(() => V.value.title ?? ""), Z = u(() => {
154
+ let X = f(() => V.value.title ?? ""), Z = f(() => {
154
155
  let e = H.value.diff;
155
156
  if (!isFinite(e) || e === 0) return 0;
156
- let t = H.value.min, n = ye.value;
157
+ let t = H.value.min, n = _e.value;
157
158
  return n >= 0 ? (n - t) / e : (Math.abs(t) - Math.abs(n)) / e;
158
- }), Q = u(() => te(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 h(() => {
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(() => {
160
161
  F.value && cancelAnimationFrame(F.value);
161
- }), (e, t) => (_(), f("div", {
162
+ }), (e, t) => (b(), m("div", {
162
163
  class: "vue-data-ui-component vue-ui-sparkgauge",
163
- style: m(`font-family:${R.value.style.fontFamily};width: 100%; background:${R.value.style.background}`)
164
+ style: v(`font-family:${R.value.style.fontFamily};width: 100%; background:${R.value.style.background}`)
164
165
  }, [
165
- R.value.style.title.show && X.value && R.value.style.title.position === "top" ? (_(), f("div", {
166
+ R.value.style.title.show && X.value && R.value.style.title.position === "top" ? (b(), m("div", {
166
167
  key: 0,
167
168
  class: "vue-data-ui-sparkgauge-label",
168
- style: m(`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)) : d("", !0),
170
- (_(), f("svg", {
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", {
171
172
  ref_key: "svgRef",
172
- ref: ve,
173
- xmlns: x(ae),
173
+ ref: ge,
174
+ xmlns: w(i),
174
175
  viewBox: `0 0 ${q.value.width} ${q.value.height}`,
175
176
  style: "overflow: visible; background:transparent; width:100%;"
176
177
  }, [
177
- ue(x(C)),
178
- e.$slots["chart-background"] && !x(B) ? (_(), f("foreignObject", {
178
+ g(w(E)),
179
+ e.$slots["chart-background"] && !w(B) ? (b(), m("foreignObject", {
179
180
  key: 0,
180
181
  x: 0,
181
182
  y: 0,
182
183
  width: q.value.width,
183
184
  height: q.value.height,
184
185
  style: { pointerEvents: "none" }
185
- }, [y(e.$slots, "chart-background")], 8, he)) : d("", !0),
186
- p("defs", null, [p("linearGradient", {
186
+ }, [S(e.$slots, "chart-background")], 8, pe)) : p("", !0),
187
+ h("defs", null, [g(l, {
188
+ t: "linear",
187
189
  id: `gradient_${L.value}`,
188
190
  x1: "-10%",
189
191
  y1: "100%",
190
192
  x2: "110%",
191
- y2: "100%"
192
- }, [p("stop", {
193
- offset: "0%",
194
- "stop-color": R.value.style.colors.min
195
- }, null, 8, w), p("stop", {
196
- offset: "100%",
197
- "stop-color": R.value.style.colors.max
198
- }, null, 8, T)], 8, ge)]),
199
- p("path", {
193
+ y2: "100%",
194
+ stops: [[
195
+ "0%",
196
+ R.value.style.colors.min,
197
+ 1
198
+ ], [
199
+ "100%",
200
+ R.value.style.colors.max,
201
+ 1
202
+ ]]
203
+ }, null, 8, ["id", "stops"])]),
204
+ h("path", {
200
205
  d: `M10 ${q.value.base} A 1 1 0 1 1 118 ${q.value.base}`,
201
206
  stroke: R.value.style.gutter.color,
202
207
  "stroke-width": 8,
203
208
  "stroke-linecap": R.value.style.gutter.strokeLinecap,
204
209
  fill: "none"
205
- }, null, 8, E),
206
- Z.value === 0 ? d("", !0) : (_(), f("path", {
210
+ }, null, 8, me),
211
+ Z.value === 0 ? p("", !0) : (b(), m("path", {
207
212
  key: 1,
208
213
  d: `M10 ${q.value.base} A 1 1 0 1 1 118 ${q.value.base}`,
209
- stroke: R.value.style.colors.showGradient ? `url(#gradient_${L.value})` : be.value,
214
+ stroke: R.value.style.colors.showGradient ? `url(#gradient_${L.value})` : ve.value,
210
215
  "stroke-width": 8,
211
216
  "stroke-linecap": R.value.style.track.strokeLinecap,
212
217
  fill: "none",
213
218
  "stroke-dasharray": 169.5,
214
219
  "stroke-dashoffset": 169.5 - 169.5 * Z.value,
215
- class: fe({ "vue-ui-sparkgauge-track": R.value.style.animation.show }),
216
- style: m(R.value.style.animation.show ? `animation: vue-ui-sparkgauge-animation ${R.value.style.animation.speedMs}ms ease-in;` : "")
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;` : "")
217
222
  }, null, 14, D)),
218
- x(B) ? (_(), f("rect", {
223
+ w(B) ? (b(), m("rect", {
219
224
  key: 2,
220
225
  x: q.value.width / 2 - R.value.style.dataLabel.fontSize / 2,
221
226
  y: q.value.base + 6 + R.value.style.dataLabel.offsetY - R.value.style.dataLabel.fontSize,
@@ -223,7 +228,7 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
223
228
  height: R.value.style.dataLabel.fontSize,
224
229
  fill: "#6A6A6A50",
225
230
  rx: 3
226
- }, null, 8, O)) : (_(), f("text", {
231
+ }, null, 8, O)) : (b(), m("text", {
227
232
  key: 3,
228
233
  "text-anchor": "middle",
229
234
  x: q.value.width / 2,
@@ -231,25 +236,25 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
231
236
  "font-size": R.value.style.dataLabel.fontSize,
232
237
  fill: $.value,
233
238
  "font-weight": R.value.style.dataLabel.bold ? "bold" : "normal"
234
- }, b(x(re)(R.value.style.dataLabel.formatter, x(i)(J.value), x(ee)({
239
+ }, C(w(re)(R.value.style.dataLabel.formatter, w(a)(J.value), w(ee)({
235
240
  p: R.value.style.dataLabel.prefix,
236
- v: x(i)(J.value),
241
+ v: w(a)(J.value),
237
242
  s: R.value.style.dataLabel.suffix,
238
243
  r: R.value.style.dataLabel.rounding
239
244
  }), {
240
- datapoint: x(i)(J.value),
245
+ datapoint: w(a)(J.value),
241
246
  color: $.value
242
247
  })), 9, k))
243
- ], 8, me)),
244
- R.value.style.title.show && X.value && R.value.style.title.position === "bottom" ? (_(), f("div", {
248
+ ], 8, fe)),
249
+ R.value.style.title.show && X.value && R.value.style.title.position === "bottom" ? (b(), m("div", {
245
250
  key: 1,
246
251
  class: "vue-data-ui-sparkgauge-label",
247
- style: m(`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)) : d("", !0),
249
- e.$slots.source ? (_(), f("div", A, [y(e.$slots, "source")], 512)) : d("", !0),
250
- y(e.$slots, "skeleton", {}, () => [x(B) ? (_(), le(a, { key: 0 })) : d("", !0)])
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)])
251
256
  ], 4));
252
257
  }
253
258
  };
254
259
  //#endregion
255
- export { C as n, j as t };
260
+ export { E as n, j as t };