vue-data-ui 3.23.0 → 3.23.2

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 (206) hide show
  1. package/dist/{Arrow-o2qHNvrC.js → Arrow-CF0VFcBH.js} +1 -1
  2. package/dist/{BaseDraggableDialog-qTnfhLBz.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
  3. package/dist/{BaseIcon-91MZoczJ.js → BaseIcon-BfndwIWE.js} +1 -1
  4. package/dist/{BaseLegendToggle-CtAPwzr2.js → BaseLegendToggle-DZVucLnv.js} +1 -1
  5. package/dist/{BaseZoomControls-rdzlicuz.js → BaseZoomControls-BZvCnZEi.js} +2 -2
  6. package/dist/{ColorPicker-CIAkdPrj.js → ColorPicker--ayG2YHf.js} +2 -2
  7. package/dist/{DataTable-D4tM9s5Y.js → DataTable-BbKgJ5UI.js} +2 -2
  8. package/dist/{HillActions-BWhxHlrj.js → HillActions-BD9j_sOU.js} +1 -1
  9. package/dist/{Legend-CQTRlzK-.js → Legend-CQxUgOd-.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-Cawacw1W.js → NonSvgPenAndPaper-4ypecDg1.js} +6 -6
  11. package/dist/{PackageVersion--QCMh5k_.js → PackageVersion-DXU7nRr9.js} +1 -1
  12. package/dist/{PenAndPaper-cE4J8-rA.js → PenAndPaper-DAE-tnEQ.js} +6 -6
  13. package/dist/{Shape-BPMV94Ij.js → Shape-C21CMlWS.js} +1 -1
  14. package/dist/SlicerPreview-wUw1hFwe.js +1703 -0
  15. package/dist/{SparkTooltip-BaYtEKS6.js → SparkTooltip-CjsbIhzi.js} +1 -1
  16. package/dist/{Title-BODtwViI.js → Title-BE3qg9xl.js} +1 -1
  17. package/dist/{Tooltip-CMTGxeYO.js → Tooltip-DhjyfHwz.js} +2 -2
  18. package/dist/{UserOptions-3ujTo3LD.js → UserOptions-Dt98of5H.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-hill.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-mini-loader.js +1 -1
  51. package/dist/components/vue-ui-molecule.js +1 -1
  52. package/dist/components/vue-ui-mood-radar.js +1 -1
  53. package/dist/components/vue-ui-nested-donuts.js +1 -1
  54. package/dist/components/vue-ui-onion.js +1 -1
  55. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  56. package/dist/components/vue-ui-quadrant.js +1 -1
  57. package/dist/components/vue-ui-quick-chart.js +1 -1
  58. package/dist/components/vue-ui-radar.js +1 -1
  59. package/dist/components/vue-ui-rating.js +1 -1
  60. package/dist/components/vue-ui-relation-circle.js +1 -1
  61. package/dist/components/vue-ui-ridgeline.js +1 -1
  62. package/dist/components/vue-ui-rings.js +1 -1
  63. package/dist/components/vue-ui-scatter.js +1 -1
  64. package/dist/components/vue-ui-skeleton.js +1 -1
  65. package/dist/components/vue-ui-smiley.js +1 -1
  66. package/dist/components/vue-ui-spark-trend.js +1 -1
  67. package/dist/components/vue-ui-sparkbar.js +1 -1
  68. package/dist/components/vue-ui-sparkgauge.js +1 -1
  69. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  70. package/dist/components/vue-ui-sparkline.js +1 -1
  71. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  72. package/dist/components/vue-ui-stackbar.js +1 -1
  73. package/dist/components/vue-ui-stackline.js +1 -1
  74. package/dist/components/vue-ui-strip-plot.js +1 -1
  75. package/dist/components/vue-ui-table-heatmap.js +1 -1
  76. package/dist/components/vue-ui-table-sparkline.js +1 -1
  77. package/dist/components/vue-ui-table.js +1 -1
  78. package/dist/components/vue-ui-thermometer.js +1 -1
  79. package/dist/components/vue-ui-timer.js +1 -1
  80. package/dist/components/vue-ui-tiremarks.js +1 -1
  81. package/dist/components/vue-ui-treemap.js +1 -1
  82. package/dist/components/vue-ui-vertical-bar.js +1 -1
  83. package/dist/components/vue-ui-waffle.js +1 -1
  84. package/dist/components/vue-ui-wheel.js +1 -1
  85. package/dist/components/vue-ui-word-cloud.js +1 -1
  86. package/dist/components/vue-ui-world.js +1 -1
  87. package/dist/components/vue-ui-xy-canvas.js +1 -1
  88. package/dist/components/vue-ui-xy.js +1 -1
  89. package/dist/composables.js +1 -1
  90. package/dist/{dom-to-png-4tdMNGPX.js → dom-to-png-BYIvdTe8.js} +1 -1
  91. package/dist/{exposedLib-DWLRqRhv.js → exposedLib-C0DPCgFj.js} +7 -4
  92. package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
  93. package/dist/{img-DIQG5q8T.js → img-Bnokohej.js} +1 -1
  94. package/dist/{labelUtils-C5lnc_xc.js → labelUtils-BeVpDvTJ.js} +1 -1
  95. package/dist/{lib-BuMGJ_a0.js → lib-Bttd6u5E.js} +21 -11
  96. package/dist/{package-BMc_ZieJ.js → package-bsfpO6y3.js} +1 -1
  97. package/dist/{pdf-Cnz4NKM9.js → pdf-CVIDfCrS.js} +1 -1
  98. package/dist/{render-common-Ktg2LZFG.js → render-common-C0PEe9so.js} +2 -2
  99. package/dist/ssr/vue-ui-donut.js +1 -1
  100. package/dist/ssr/vue-ui-xy.js +1 -1
  101. package/dist/ssr.js +2 -2
  102. package/dist/style.css +1 -1
  103. package/dist/types/vue-data-ui.d.ts +9 -0
  104. package/dist/{useSvgExport-Ba9qBr9M.js → useChartExport-DNiwdPmb.js} +48 -2
  105. package/dist/{useConfig-BilxnBNr.js → useConfig-DlNpz6P8.js} +13 -1
  106. package/dist/{useNestedProp--NSEmhOH.js → useNestedProp-vPNvh7rV.js} +5 -3
  107. package/dist/{useObjectBindings-Cwq7NcQz.js → useObjectBindings-BeWS5v0i.js} +1 -1
  108. package/dist/{usePrinter-BFvi4jVy.js → usePrinter-DN5bYhTG.js} +2 -2
  109. package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
  110. package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
  111. package/dist/utils.js +3 -3
  112. package/dist/{vue-data-ui-EsawKe_W.js → vue-data-ui-BNxtW8pK.js} +69 -69
  113. package/dist/vue-data-ui.js +74 -74
  114. package/dist/{vue-ui-3d-bar-RSUS2xpL.js → vue-ui-3d-bar-BYumVxZG.js} +147 -165
  115. package/dist/{vue-ui-accordion-61MlW-Ge.js → vue-ui-accordion-DegI2lzR.js} +4 -4
  116. package/dist/vue-ui-age-pyramid-tJx_hCsS.js +1241 -0
  117. package/dist/{vue-ui-annotator-DBRT85HG.js → vue-ui-annotator-DfG79D4r.js} +41 -68
  118. package/dist/vue-ui-bullet-DrWG4jRy.js +700 -0
  119. package/dist/{vue-ui-bump-Dvv3iSKr.js → vue-ui-bump-mKysp0KO.js} +222 -272
  120. package/dist/vue-ui-candlestick-PgKcBZdy.js +1837 -0
  121. package/dist/vue-ui-carousel-table-DRvycNBl.js +467 -0
  122. package/dist/{vue-ui-chestnut-ArloORzP.js → vue-ui-chestnut-Dpklo-VE.js} +311 -365
  123. package/dist/vue-ui-chord-7PPVH_iG.js +1345 -0
  124. package/dist/vue-ui-circle-pack-DW4Os6_8.js +1636 -0
  125. package/dist/{vue-ui-cursor-CxgE6Phh.js → vue-ui-cursor-DIt7vOwc.js} +4 -4
  126. package/dist/{vue-ui-dag-C9Sf9vH7.js → vue-ui-dag-Cl0WdSLb.js} +812 -840
  127. package/dist/{vue-ui-dashboard-bGmaglAj.js → vue-ui-dashboard-BwxRLR4E.js} +70 -70
  128. package/dist/{vue-ui-digits-DgDE-_Fn.js → vue-ui-digits-Bp1OH_t1.js} +5 -5
  129. package/dist/{vue-ui-donut-B_n6wF6B.js → vue-ui-donut-BZUT7QYt.js} +352 -377
  130. package/dist/vue-ui-donut-evolution-CQy3ZKXk.js +1549 -0
  131. package/dist/{vue-ui-donut-Bmo149AR.js → vue-ui-donut-y6tOAVyY.js} +18 -17
  132. package/dist/{vue-ui-dumbbell-BX4Ao_wR.js → vue-ui-dumbbell-BtKZcAOV.js} +370 -420
  133. package/dist/{vue-ui-flow-Bshw8pT_.js → vue-ui-flow-BF_cndsv.js} +191 -216
  134. package/dist/vue-ui-funnel-z3AeiDu6.js +750 -0
  135. package/dist/{vue-ui-galaxy-CvXgy-dy.js → vue-ui-galaxy-ClWaSOmM.js} +276 -302
  136. package/dist/vue-ui-gauge-CJstpakj.js +932 -0
  137. package/dist/{vue-ui-geo-C-gSZL2q.js → vue-ui-geo-B1tOD3HC.js} +398 -449
  138. package/dist/{vue-ui-gizmo-CJdxyPID.js → vue-ui-gizmo-foatosAv.js} +4 -4
  139. package/dist/{vue-ui-heatmap-DEEKv8ip.js → vue-ui-heatmap-By33A9dZ.js} +479 -502
  140. package/dist/{vue-ui-hill-D7LYAgAL.js → vue-ui-hill-ewqkK9s5.js} +570 -593
  141. package/dist/vue-ui-history-plot-FEIwXlsz.js +1698 -0
  142. package/dist/{vue-ui-horizontal-bar-CfFye5tL.js → vue-ui-horizontal-bar-D51sAeVu.js} +307 -332
  143. package/dist/{vue-ui-kpi-DCBnNfTb.js → vue-ui-kpi-y3EkgqJQ.js} +4 -4
  144. package/dist/{vue-ui-mini-loader-CtWpqnLW.js → vue-ui-mini-loader-CtTewZJG.js} +3 -3
  145. package/dist/vue-ui-molecule-paWHp18h.js +935 -0
  146. package/dist/{vue-ui-mood-radar-sl6DMxqR.js → vue-ui-mood-radar-wBRTZI5k.js} +341 -390
  147. package/dist/vue-ui-nested-donuts-CB-HOLo2.js +1503 -0
  148. package/dist/vue-ui-onion-B2Q2n55x.js +1233 -0
  149. package/dist/{vue-ui-parallel-coordinate-plot-DE9wTmQQ.js → vue-ui-parallel-coordinate-plot-GpkXiIZA.js} +189 -214
  150. package/dist/{vue-ui-quadrant-SaY_RPSE.js → vue-ui-quadrant-DOPuejDE.js} +254 -284
  151. package/dist/{vue-ui-quick-chart-CJ9rejnj.js → vue-ui-quick-chart-CgHX9njq.js} +108 -109
  152. package/dist/{vue-ui-radar-CaNen5Fj.js → vue-ui-radar-BLvG-_zE.js} +407 -434
  153. package/dist/{vue-ui-rating--K7rX2an.js → vue-ui-rating-BDVSVFA0.js} +10 -11
  154. package/dist/vue-ui-relation-circle-plOXwxJ5.js +903 -0
  155. package/dist/vue-ui-ridgeline-BbrnXvBo.js +1614 -0
  156. package/dist/{vue-ui-rings-BevKD8P-.js → vue-ui-rings-B3cKfMWy.js} +419 -444
  157. package/dist/vue-ui-scatter-BY7waF2T.js +2403 -0
  158. package/dist/{vue-ui-skeleton-B9ZP1w-i.js → vue-ui-skeleton-DwKxd7fk.js} +4 -4
  159. package/dist/{vue-ui-smiley-DYnqqk6u.js → vue-ui-smiley-5iHJeTPc.js} +64 -65
  160. package/dist/{vue-ui-spark-trend-R0ebpg-G.js → vue-ui-spark-trend-MpvrV5Wd.js} +11 -11
  161. package/dist/{vue-ui-sparkbar-DYC3By0v.js → vue-ui-sparkbar-s-2rBmEz.js} +97 -100
  162. package/dist/{vue-ui-sparkgauge-Bw6no-In.js → vue-ui-sparkgauge-B-BYVv4p.js} +4 -4
  163. package/dist/{vue-ui-sparkhistogram-DvRKy8rq.js → vue-ui-sparkhistogram-D7D4NHdi.js} +18 -19
  164. package/dist/{vue-ui-sparkline-Dz1uzBos.js → vue-ui-sparkline-RbeYtLWp.js} +11 -11
  165. package/dist/{vue-ui-sparkstackbar-DlnPdZih.js → vue-ui-sparkstackbar-ohN7mtbg.js} +194 -198
  166. package/dist/{vue-ui-stackbar-B-THcavY.js → vue-ui-stackbar-D2bpvQYt.js} +530 -552
  167. package/dist/{vue-ui-stackline-3dBPoI0h.js → vue-ui-stackline-Bo1oE8yq.js} +592 -614
  168. package/dist/vue-ui-strip-plot-CZ-C4a5x.js +1734 -0
  169. package/dist/vue-ui-table-3PPiJPV6.js +1352 -0
  170. package/dist/{vue-ui-table-heatmap-DVwMqzje.js → vue-ui-table-heatmap-D1bbPXKG.js} +56 -57
  171. package/dist/{vue-ui-table-sparkline-CABJzK8p.js → vue-ui-table-sparkline-l1cUX3ny.js} +13 -15
  172. package/dist/{vue-ui-thermometer-CVQ-H69Q.js → vue-ui-thermometer-DltAELO7.js} +240 -261
  173. package/dist/{vue-ui-timer-Bm8LpsnI.js → vue-ui-timer-DWNdx47q.js} +6 -6
  174. package/dist/vue-ui-tiremarks-GYhji_fa.js +538 -0
  175. package/dist/{vue-ui-treemap-DP0Sx8Y8.js → vue-ui-treemap-DjNlnOG5.js} +521 -547
  176. package/dist/vue-ui-waffle-BAA9EX6O.js +1386 -0
  177. package/dist/vue-ui-wheel-DrefGLos.js +871 -0
  178. package/dist/{vue-ui-word-cloud-B2sxtel9.js → vue-ui-word-cloud-CQZ8AyOi.js} +382 -405
  179. package/dist/{vue-ui-world-BBQZLnzm.js → vue-ui-world-Y7a3VEjq.js} +426 -451
  180. package/dist/{vue-ui-xy-DZj5DT-q.js → vue-ui-xy-CJcdttNL.js} +879 -905
  181. package/dist/{vue-ui-xy-ChZg7AtI.js → vue-ui-xy-DPxtkYGc.js} +329 -326
  182. package/dist/{vue-ui-xy-canvas-BN2u0bOJ.js → vue-ui-xy-canvas-1rbwMA1m.js} +30 -27
  183. package/package.json +4 -4
  184. package/dist/Slicer-5yIrdoJv.js +0 -1149
  185. package/dist/SlicerPreview-DvjLV2TW.js +0 -1689
  186. package/dist/vue-ui-age-pyramid-CgnPWA93.js +0 -1263
  187. package/dist/vue-ui-bullet-Bc3-WaN1.js +0 -724
  188. package/dist/vue-ui-candlestick-DvvsrIdp.js +0 -1864
  189. package/dist/vue-ui-carousel-table-DtsNVim8.js +0 -463
  190. package/dist/vue-ui-chord-xX5gWZy8.js +0 -1396
  191. package/dist/vue-ui-circle-pack-D8wykmqg.js +0 -1638
  192. package/dist/vue-ui-donut-evolution-D6vH_hfx.js +0 -1598
  193. package/dist/vue-ui-funnel-CjYosIik.js +0 -797
  194. package/dist/vue-ui-gauge-CByT0_vF.js +0 -953
  195. package/dist/vue-ui-history-plot-BhcU94Pt.js +0 -1722
  196. package/dist/vue-ui-molecule-D3igGyOy.js +0 -958
  197. package/dist/vue-ui-nested-donuts-aS4YzaB3.js +0 -1528
  198. package/dist/vue-ui-onion-EhPTZpW_.js +0 -1258
  199. package/dist/vue-ui-relation-circle-FLs8vOxQ.js +0 -925
  200. package/dist/vue-ui-ridgeline-Beg5hshN.js +0 -1663
  201. package/dist/vue-ui-scatter-CNA7jF-o.js +0 -2428
  202. package/dist/vue-ui-strip-plot-ACeYOoHj.js +0 -1757
  203. package/dist/vue-ui-table-rFy16bp0.js +0 -1347
  204. package/dist/vue-ui-tiremarks-DB3f5qiz.js +0 -559
  205. package/dist/vue-ui-waffle-iPpdk1Bm.js +0 -1412
  206. package/dist/vue-ui-wheel-BJkEYfLj.js +0 -892
@@ -1,42 +1,42 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Bt as t, Jt as n, Kt as r, Pt as i, S as a, Vt as ee, X as o, i as s, jt as te, pt as ne, q as re, t as ie, tt as c, w as ae } from "./lib-BuMGJ_a0.js";
3
- import { n as oe, t as l } from "./useHints-Dq_w2E8B.js";
4
- import { t as u } from "./useConfig-BilxnBNr.js";
5
- import { n as d, t as se } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as f } from "./useNestedProp--NSEmhOH.js";
7
- import { t as ce } from "./useThemeCheck-C43Tcqmk.js";
8
- import { t as le } from "./DefGrad-DVBqDjhO.js";
9
- import { t as ue } from "./usePrefersMotion-BC-CsqR1.js";
10
- import { t as de } from "./vue_ui_sparkbar-z6qO--Kf.js";
11
- import { Fragment as p, computed as m, createBlock as fe, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createVNode as v, defineAsyncComponent as pe, guardReactiveProps as me, mergeProps as y, nextTick as b, normalizeProps as he, normalizeStyle as x, onMounted as S, openBlock as C, ref as w, renderList as ge, renderSlot as T, toDisplayString as E, toRefs as D, unref as O, useSlots as k, watch as A } from "vue";
2
+ import { Bt as t, Jt as n, Kt as r, Pt as i, S as a, Vt as ee, X as o, i as s, jt as te, pt as ne, q as re, t as c, tt as l, w as ie } from "./lib-Bttd6u5E.js";
3
+ import { n as ae, t as u } from "./useHints-Dq_w2E8B.js";
4
+ import { t as d } from "./useConfig-DlNpz6P8.js";
5
+ import { n as f, t as oe } from "./BaseScanner-DZvpgOjM.js";
6
+ import { t as p } from "./useNestedProp-vPNvh7rV.js";
7
+ import { t as se } from "./useThemeCheck-C43Tcqmk.js";
8
+ import { t as ce } from "./DefGrad-DVBqDjhO.js";
9
+ import { t as le } from "./usePrefersMotion-BC-CsqR1.js";
10
+ import { t as ue } from "./vue_ui_sparkbar-z6qO--Kf.js";
11
+ import { Fragment as m, computed as h, createBlock as de, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createVNode as y, defineAsyncComponent as fe, guardReactiveProps as pe, mergeProps as b, nextTick as x, normalizeProps as me, normalizeStyle as S, onMounted as C, openBlock as w, ref as T, renderList as he, renderSlot as E, toDisplayString as D, toRefs as O, unref as k, useSlots as A, watch as j } from "vue";
12
12
  //#region src/components/vue-ui-sparkbar.vue
13
- var j = /* @__PURE__ */ e({ default: () => R }), M = [
13
+ var M = /* @__PURE__ */ e({ default: () => z }), N = [
14
14
  "onClick",
15
15
  "onMouseenter",
16
16
  "onMouseleave"
17
- ], N = {
17
+ ], P = {
18
18
  key: 1,
19
19
  class: "vue-ui-sparkbar-datapoint-value"
20
- }, P = ["xmlns", "viewBox"], F = [
20
+ }, F = ["xmlns", "viewBox"], I = [
21
21
  "height",
22
22
  "width",
23
23
  "fill",
24
24
  "rx"
25
- ], I = [
25
+ ], L = [
26
26
  "height",
27
27
  "width",
28
28
  "fill",
29
29
  "rx"
30
- ], L = [
30
+ ], R = [
31
31
  "height",
32
32
  "width",
33
33
  "fill",
34
34
  "rx"
35
- ], _e = {
35
+ ], ge = {
36
36
  key: 2,
37
37
  ref: "source",
38
38
  dir: "auto"
39
- }, R = {
39
+ }, z = {
40
40
  __name: "vue-ui-sparkbar",
41
41
  props: {
42
42
  config: {
@@ -57,19 +57,17 @@ var j = /* @__PURE__ */ e({ default: () => R }), M = [
57
57
  }
58
58
  },
59
59
  emits: ["selectDatapoint"],
60
- setup(e, { emit: j }) {
61
- let R = pe(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), { vue_ui_sparkbar: z } = u(), { isThemeValid: ve, warnInvalidTheme: ye } = ce(), B = ue(), V = e, be = k();
62
- S(() => {
63
- be["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
64
- });
65
- let H = w(re()), U = w(q());
66
- oe({
60
+ setup(e, { emit: M }) {
61
+ let z = fe(() => import("./PackageVersion-DXU7nRr9.js").then((e) => e.t)), { vue_ui_sparkbar: _e } = d(), { isThemeValid: ve, warnInvalidTheme: ye } = se(), B = le(), V = e, be = A(), H = T(re()), U = T(q()), W = h(() => U.value.debug);
62
+ C(() => {
63
+ be["chart-background"] && W.value && console.warn("VueUiSparkbar does not support the #chart-background slot.");
64
+ }), ae({
67
65
  config: () => U.value,
68
66
  dataset: () => V.dataset,
69
67
  component: "VueUiSparkbar",
70
- rules: [l.noHint]
68
+ rules: [u.noHint]
71
69
  });
72
- let xe = m(() => n({
70
+ let xe = h(() => n({
73
71
  defaultConfig: { style: {
74
72
  backgroundColor: "#99999930",
75
73
  animation: { show: !1 },
@@ -81,8 +79,8 @@ var j = /* @__PURE__ */ e({ default: () => R }), M = [
81
79
  bar: { gradient: { underlayerColor: "#6A6A6A" } }
82
80
  } },
83
81
  userConfig: U.value.skeletonConfig ?? {}
84
- })), { loading: W, FINAL_DATASET: G, manualLoading: Se } = d({
85
- ...D(V),
82
+ })), { loading: G, FINAL_DATASET: K, manualLoading: Se } = f({
83
+ ...O(V),
86
84
  FINAL_CONFIG: U,
87
85
  prepareConfig: q,
88
86
  skeletonDataset: V.config?.skeletonDataset ?? [
@@ -109,18 +107,18 @@ var j = /* @__PURE__ */ e({ default: () => R }), M = [
109
107
  defaultConfig: U.value,
110
108
  userConfig: xe.value
111
109
  })
112
- }), K = m(() => !!U.value.debug);
110
+ });
113
111
  function q() {
114
- let e = f({
112
+ let e = p({
115
113
  userConfig: V.config,
116
- defaultConfig: z
114
+ defaultConfig: _e
117
115
  }), t = e.theme;
118
116
  if (!t) return e;
119
117
  if (!ve.value(e)) return ye(e), e;
120
- let n = f({
121
- userConfig: de[t] || V.config,
118
+ let n = p({
119
+ userConfig: ue[t] || V.config,
122
120
  defaultConfig: e
123
- }), a = f({
121
+ }), a = p({
124
122
  userConfig: V.config,
125
123
  defaultConfig: n
126
124
  });
@@ -129,29 +127,29 @@ var j = /* @__PURE__ */ e({ default: () => R }), M = [
129
127
  customPalette: a.customPalette.length ? a.customPalette : r[t] || i
130
128
  };
131
129
  }
132
- A(() => V.config, (e) => {
130
+ j(() => V.config, (e) => {
133
131
  U.value = q();
134
132
  }, { deep: !0 });
135
- let Ce = m(() => ae(U.value.customPalette)), J = w(G.value.map((e) => ({
133
+ let Ce = h(() => ie(U.value.customPalette)), J = T(K.value.map((e) => ({
136
134
  ...e,
137
135
  value: U.value.style.animation.show ? 0 : e.value || 0,
138
136
  formatter: e.formatter || null
139
- }))), Y = w(null);
140
- S(async () => {
141
- te(V.dataset) && c({
137
+ }))), Y = T(null);
138
+ C(async () => {
139
+ te(V.dataset) && l({
142
140
  componentName: "VueUiSparkbar",
143
141
  type: "dataset",
144
- debug: K.value
142
+ debug: W.value
145
143
  }), X();
146
144
  });
147
145
  function X() {
148
146
  if (U.value.style.animation.show && !B.value) {
149
- 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;
147
+ let e = U.value.style.animation.animationFrames, t = K.value.map((t, n) => t.value / e), n = K.value.map((e) => e.value || 0).reduce((e, t) => e + t, 0), r = 0;
150
148
  function i() {
151
149
  r += n / e, r < n ? (J.value = J.value.map((e, n) => ({
152
150
  ...e,
153
151
  value: e.value += t[n]
154
- })), Y.value = requestAnimationFrame(i)) : J.value = G.value.map((e) => ({
152
+ })), Y.value = requestAnimationFrame(i)) : J.value = K.value.map((e) => ({
155
153
  ...e,
156
154
  value: e.value || 0,
157
155
  formatter: e.formatter || null
@@ -160,27 +158,26 @@ var j = /* @__PURE__ */ e({ default: () => R }), M = [
160
158
  i();
161
159
  }
162
160
  }
163
- A(() => G.value, async (e) => {
164
- cancelAnimationFrame(Y.value), J.value = G.value.map((e) => ({
161
+ j(() => K.value, async (e) => {
162
+ cancelAnimationFrame(Y.value), J.value = K.value.map((e) => ({
165
163
  ...e,
166
164
  value: U.value.style.animation.show && !B.value ? 0 : e.value || 0,
167
165
  formatter: e.formatter || null
168
- })), b(X);
166
+ })), x(X);
169
167
  }, { deep: !0 });
170
- let Z = w({
168
+ let Z = T({
171
169
  width: 500,
172
170
  height: 16
173
- }), we = m(() => Math.max(...G.value.map((e) => e.value))), Te = m(() => (G.value.forEach((e, t) => {
171
+ }), we = h(() => Math.max(...K.value.map((e) => e.value))), Te = h(() => (W.value && K.value.forEach((e, t) => {
174
172
  ne({
175
173
  datasetObject: e,
176
174
  requiredAttributes: ["name", "value"]
177
175
  }).forEach((e) => {
178
- c({
176
+ l({
179
177
  componentName: "VueUiSparkbar",
180
178
  type: "datasetSerieAttribute",
181
179
  property: e,
182
- index: t,
183
- debug: K.value
180
+ index: t
184
181
  });
185
182
  });
186
183
  }), J.value.map((e, t) => ({
@@ -197,7 +194,7 @@ var j = /* @__PURE__ */ e({ default: () => R }), M = [
197
194
  function $(e) {
198
195
  return U.value.style.layout.independant && e.target || U.value.style.layout.target;
199
196
  }
200
- let De = j;
197
+ let De = M;
201
198
  function Oe(e, t) {
202
199
  De("selectDatapoint", {
203
200
  datapoint: e,
@@ -219,54 +216,54 @@ var j = /* @__PURE__ */ e({ default: () => R }), M = [
219
216
  seriesIndex: t
220
217
  });
221
218
  }
222
- return (e, n) => (C(), g("div", {
219
+ return (e, n) => (w(), _("div", {
223
220
  class: "vue-data-ui-component vue-ui-sparkbar",
224
- style: x({
221
+ style: S({
225
222
  width: "100%",
226
223
  position: "relative",
227
224
  fontFamily: U.value.style.fontFamily,
228
- background: V.backgroundOpacity === null ? U.value.style.backgroundColor : O(t)(U.value.style.backgroundColor, V.backgroundOpacity)
225
+ background: V.backgroundOpacity === null ? U.value.style.backgroundColor : k(t)(U.value.style.backgroundColor, V.backgroundOpacity)
229
226
  })
230
227
  }, [
231
- e.$slots.title ? T(e.$slots, "title", he(me({ title: {
228
+ e.$slots.title ? E(e.$slots, "title", me(pe({ title: {
232
229
  ...e.title,
233
230
  title: U.value.style.title.text,
234
231
  subtitle: U.value.style.title.subtitle.text
235
- } })), void 0, void 0, 0) : h("", !0),
236
- !e.$slots.title && U.value.style.title.text ? (C(), g("div", {
232
+ } })), void 0, void 0, 0) : g("", !0),
233
+ !e.$slots.title && U.value.style.title.text ? (w(), _("div", {
237
234
  key: 1,
238
235
  class: "vue-ui-sparkbar-title-container",
239
- style: x({
236
+ style: S({
240
237
  background: U.value.style.title.backgroundColor,
241
238
  margin: U.value.style.title.margin,
242
239
  textAlign: U.value.style.title.textAlign
243
240
  })
244
- }, [_("div", {
241
+ }, [v("div", {
245
242
  class: "vue-ui-sparkbar-title",
246
- style: x({
243
+ style: S({
247
244
  fontSize: U.value.style.title.fontSize + "px",
248
245
  color: U.value.style.title.color,
249
246
  fontWeight: U.value.style.title.bold ? "bold" : "normal"
250
247
  })
251
- }, E(U.value.style.title.text), 5), U.value.style.title.subtitle.text ? (C(), g("div", {
248
+ }, D(U.value.style.title.text), 5), U.value.style.title.subtitle.text ? (w(), _("div", {
252
249
  key: 0,
253
250
  class: "vue-ui-sparkbar-subtitle",
254
- style: x({
251
+ style: S({
255
252
  fontSize: U.value.style.title.subtitle.fontSize + "px",
256
253
  color: U.value.style.title.subtitle.color,
257
254
  fontWeight: U.value.style.title.subtitle.bold ? "bold" : "normal"
258
255
  })
259
- }, E(U.value.style.title.subtitle.text), 5)) : h("", !0)], 4)) : h("", !0),
260
- (C(!0), g(p, null, ge(Te.value, (n, r) => (C(), g("div", {
261
- 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;${O(G).length > 0 && r !== O(G).length - 1 ? "margin-bottom:6px" : ""}`),
256
+ }, D(U.value.style.title.subtitle.text), 5)) : g("", !0)], 4)) : g("", !0),
257
+ (w(!0), _(m, null, he(Te.value, (n, r) => (w(), _("div", {
258
+ style: S(`display:flex !important;${["left", "right"].includes(U.value.style.labels.name.position) ? `flex-direction: ${U.value.style.labels.name.position === "right" ? "row-reverse" : "row"} !important` : "flex-direction:column !important"};gap:${U.value.style.gap}px !important;align-items:center;${k(K).length > 0 && r !== k(K).length - 1 ? "margin-bottom:6px" : ""}`),
262
259
  onClick: (e) => Oe(n, r),
263
260
  onMouseenter: (e) => ke(n, r),
264
261
  onMouseleave: (e) => Ae(n, r)
265
262
  }, [
266
- O(W) ? h("", !0) : T(e.$slots, "data-label", y({ ref_for: !0 }, { bar: {
263
+ k(G) ? g("", !0) : E(e.$slots, "data-label", b({ ref_for: !0 }, { bar: {
267
264
  ...n,
268
265
  target: $(n),
269
- valueLabel: O(s)(n.formatter, n.value, O(o)({
266
+ valueLabel: k(s)(n.formatter, n.value, k(o)({
270
267
  p: n.prefix || "",
271
268
  v: n.value,
272
269
  s: n.suffix || "",
@@ -275,7 +272,7 @@ var j = /* @__PURE__ */ e({ default: () => R }), M = [
275
272
  datapoint: n,
276
273
  seriesIndex: r
277
274
  }),
278
- targetLabel: O(s)(n.formatter, $(n), O(o)({
275
+ targetLabel: k(s)(n.formatter, $(n), k(o)({
279
276
  p: n.prefix || "",
280
277
  v: $(n),
281
278
  s: n.suffix || "",
@@ -285,9 +282,9 @@ var j = /* @__PURE__ */ e({ default: () => R }), M = [
285
282
  seriesIndex: r
286
283
  })
287
284
  } }), void 0, void 0, 0),
288
- !e.$slots["data-label"] || O(W) ? (C(), g("div", {
285
+ !e.$slots["data-label"] || k(G) ? (w(), _("div", {
289
286
  key: 1,
290
- style: x({
287
+ style: S({
291
288
  display: "flex",
292
289
  justifyContent: ["right", "top-right"].includes(U.value.style.labels.name.position) ? "flex-end" : ["top-center"].includes(U.value.style.labels.name.position) ? "center" : "flex-start",
293
290
  alignItems: "center",
@@ -297,10 +294,10 @@ var j = /* @__PURE__ */ e({ default: () => R }), M = [
297
294
  fontWeight: U.value.style.labels.name.bold ? "bold" : "normal",
298
295
  flexWrap: "wrap"
299
296
  })
300
- }, [O(W) ? (C(), g("div", {
297
+ }, [k(G) ? (w(), _("div", {
301
298
  key: 0,
302
299
  class: "vue-ui-sparkbar-skeleton-name",
303
- style: x({
300
+ style: S({
304
301
  width: "60px",
305
302
  height: U.value.style.labels.fontSize + "px",
306
303
  borderRadius: U.value.style.labels.fontSize / 4 + "px",
@@ -309,23 +306,23 @@ var j = /* @__PURE__ */ e({ default: () => R }), M = [
309
306
  justifyContent: "space-between",
310
307
  marginTop: "5px"
311
308
  })
312
- }, [_("div", { style: x({
309
+ }, [v("div", { style: S({
313
310
  height: "100%",
314
311
  width: "40px",
315
312
  borderRadius: U.value.style.labels.fontSize / 4 + "px",
316
313
  backgroundColor: "#6A6A6A80"
317
- }) }, null, 4), _("div", { style: x({
314
+ }) }, null, 4), v("div", { style: S({
318
315
  height: "100%",
319
316
  width: "15px",
320
317
  borderRadius: U.value.style.labels.fontSize / 4 + "px",
321
318
  backgroundColor: "#6A6A6A80"
322
- }) }, null, 4)], 4)) : (C(), g(p, { key: 1 }, [
323
- _("span", null, E(n.name), 1),
324
- U.value.style.labels.value.show ? (C(), g("span", {
319
+ }) }, null, 4)], 4)) : (w(), _(m, { key: 1 }, [
320
+ v("span", null, D(n.name), 1),
321
+ U.value.style.labels.value.show ? (w(), _("span", {
325
322
  key: 0,
326
- style: x(`font-weight:${U.value.style.labels.value.bold ? "bold" : "normal"}`),
323
+ style: S(`font-weight:${U.value.style.labels.value.bold ? "bold" : "normal"}`),
327
324
  class: "vue-ui-sparkbar-datapoint-name"
328
- }, ": " + E(O(s)(n.formatter, n.value, O(o)({
325
+ }, ": " + D(k(s)(n.formatter, n.value, k(o)({
329
326
  p: n.prefix || "",
330
327
  v: n.value,
331
328
  s: n.suffix || "",
@@ -333,8 +330,8 @@ var j = /* @__PURE__ */ e({ default: () => R }), M = [
333
330
  }), {
334
331
  datapoint: n,
335
332
  seriesIndex: r
336
- })), 5)) : h("", !0),
337
- U.value.style.layout.showTargetValue ? (C(), g("span", N, E(" " + U.value.style.layout.targetValueText) + " " + E(O(s)(n.formatter, $(n), O(o)({
333
+ })), 5)) : g("", !0),
334
+ U.value.style.layout.showTargetValue ? (w(), _("span", P, D(" " + U.value.style.layout.targetValueText) + " " + D(k(s)(n.formatter, $(n), k(o)({
338
335
  p: n.prefix || "",
339
336
  v: $(n),
340
337
  s: n.suffix || "",
@@ -342,16 +339,16 @@ var j = /* @__PURE__ */ e({ default: () => R }), M = [
342
339
  }), {
343
340
  datapoint: n,
344
341
  seriesIndex: r
345
- })), 1)) : h("", !0)
346
- ], 64))], 4)) : h("", !0),
347
- (C(), g("svg", {
342
+ })), 1)) : g("", !0)
343
+ ], 64))], 4)) : g("", !0),
344
+ (w(), _("svg", {
348
345
  role: "img",
349
- xmlns: O(ie),
346
+ xmlns: k(c),
350
347
  viewBox: `0 0 ${Z.value.width} ${Z.value.height}`,
351
348
  width: "100%"
352
349
  }, [
353
- v(O(R)),
354
- _("defs", null, [v(le, {
350
+ y(k(z)),
351
+ v("defs", null, [y(ce, {
355
352
  t: "linear",
356
353
  x1: "0%",
357
354
  y1: "0%",
@@ -360,7 +357,7 @@ var j = /* @__PURE__ */ e({ default: () => R }), M = [
360
357
  id: `sparkbar_gradient_${r}_${H.value}`,
361
358
  stops: [[
362
359
  "0%",
363
- O(t)(O(ee)(n.color, .03), 100 - U.value.style.bar.gradient.intensity),
360
+ k(t)(k(ee)(n.color, .03), 100 - U.value.style.bar.gradient.intensity),
364
361
  1
365
362
  ], [
366
363
  "100%",
@@ -368,36 +365,36 @@ var j = /* @__PURE__ */ e({ default: () => R }), M = [
368
365
  1
369
366
  ]]
370
367
  }, null, 8, ["id", "stops"])]),
371
- _("rect", {
368
+ v("rect", {
372
369
  height: Z.value.height,
373
370
  width: Z.value.width,
374
371
  x: 0,
375
372
  y: 0,
376
- fill: O(t)(U.value.style.gutter.backgroundColor, U.value.style.gutter.opacity),
373
+ fill: k(t)(U.value.style.gutter.backgroundColor, U.value.style.gutter.opacity),
377
374
  rx: Z.value.height / 2
378
- }, null, 8, F),
379
- _("rect", {
375
+ }, null, 8, I),
376
+ v("rect", {
380
377
  height: Z.value.height,
381
378
  width: Z.value.width * Q(n),
382
379
  x: 0,
383
380
  y: 0,
384
381
  fill: U.value.style.bar.gradient.underlayerColor,
385
382
  rx: Z.value.height / 2
386
- }, null, 8, I),
387
- _("rect", {
383
+ }, null, 8, L),
384
+ v("rect", {
388
385
  height: Z.value.height,
389
386
  width: Z.value.width * Q(n),
390
387
  x: 0,
391
388
  y: 0,
392
389
  fill: U.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${r}_${H.value})` : n.color,
393
390
  rx: Z.value.height / 2
394
- }, null, 8, L)
395
- ], 8, P))
396
- ], 44, M))), 256)),
397
- e.$slots.source ? (C(), g("div", _e, [T(e.$slots, "source")], 512)) : h("", !0),
398
- O(W) ? (C(), fe(se, { key: 3 })) : h("", !0)
391
+ }, null, 8, R)
392
+ ], 8, F))
393
+ ], 44, N))), 256)),
394
+ e.$slots.source ? (w(), _("div", ge, [E(e.$slots, "source")], 512)) : g("", !0),
395
+ k(G) ? (w(), de(oe, { key: 3 })) : g("", !0)
399
396
  ], 4));
400
397
  }
401
398
  };
402
399
  //#endregion
403
- export { j as n, R as t };
400
+ export { M as n, z as t };
@@ -1,9 +1,9 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Jt as t, X as n, b as r, i, jt as ee, pt as te, q as ne, t as re, tt as a, yt as ie } from "./lib-BuMGJ_a0.js";
2
+ import { Jt as t, X as n, b as r, i, jt as ee, pt as te, q as ne, t as re, tt as a, yt as ie } from "./lib-Bttd6u5E.js";
3
3
  import { n as ae, t as oe } from "./useHints-Dq_w2E8B.js";
4
- import { t as se } from "./useConfig-BilxnBNr.js";
4
+ import { t as se } from "./useConfig-DlNpz6P8.js";
5
5
  import { n as ce, t as o } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as s } from "./useNestedProp--NSEmhOH.js";
6
+ import { t as s } from "./useNestedProp-vPNvh7rV.js";
7
7
  import { t as c } from "./useThemeCheck-C43Tcqmk.js";
8
8
  import { t as le } from "./DefGrad-DVBqDjhO.js";
9
9
  import { t as l } from "./useChartAccessibility-DYqac8yF.js";
@@ -52,7 +52,7 @@ var w = /* @__PURE__ */ e({ default: () => j }), ge = ["xmlns", "viewBox"], T =
52
52
  }
53
53
  },
54
54
  setup(e) {
55
- let w = pe(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), { vue_ui_sparkgauge: j } = se(), { isThemeValid: M, warnInvalidTheme: N } = c(), P = ue(), F = y(null), I = e, L = y(ne()), R = y(W());
55
+ let w = pe(() => import("./PackageVersion-DXU7nRr9.js").then((e) => e.t)), { vue_ui_sparkgauge: j } = se(), { isThemeValid: M, warnInvalidTheme: N } = c(), P = ue(), F = y(null), I = e, L = y(ne()), R = y(W());
56
56
  ae({
57
57
  config: () => R.value,
58
58
  dataset: () => I.dataset,
@@ -1,11 +1,11 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Bt as t, Jt as n, Vt as r, X as i, i as a, jt as o, pt as s, q as ee, t as c, tt as l } from "./lib-BuMGJ_a0.js";
2
+ import { Bt as t, Jt as n, Vt as r, X as i, i as a, jt as o, pt as s, q as ee, t as c, tt as l } from "./lib-Bttd6u5E.js";
3
3
  import { n as u, t as d } from "./useHints-Dq_w2E8B.js";
4
- import { t as f } from "./useConfig-BilxnBNr.js";
4
+ import { t as f } from "./useConfig-DlNpz6P8.js";
5
5
  import { n as p, t as te } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as m } from "./useNestedProp--NSEmhOH.js";
6
+ import { t as m } from "./useNestedProp-vPNvh7rV.js";
7
7
  import { t as ne } from "./useThemeCheck-C43Tcqmk.js";
8
- import { t as re } from "./Shape-BPMV94Ij.js";
8
+ import { t as re } from "./Shape-C21CMlWS.js";
9
9
  import { t as ie } from "./_plugin-vue_export-helper-B3ysoDQm.js";
10
10
  import { l as ae, t as oe } from "./useResponsive-ZtArZtUf.js";
11
11
  import { t as h } from "./DefGrad-DVBqDjhO.js";
@@ -88,8 +88,8 @@ var A = /* @__PURE__ */ e({ default: () => j }), xe = ["id"], Se = { key: 0 }, C
88
88
  },
89
89
  emits: ["selectDatapoint"],
90
90
  setup(e, { emit: ie }) {
91
- be((e) => ({ v63d726a1: Xe.value }));
92
- let A = pe(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), { vue_ui_sparkhistogram: j } = f(), { isThemeValid: Ie, warnInvalidTheme: Le } = ne(), M = e, N = w(ee()), P = w(null), F = w(null), I = w(null), L = w(null), R = w(null), z = w(!1), B = w(null), V = w("pointer"), H = w(q());
91
+ be((e) => ({ v5034d9c8: Xe.value }));
92
+ let A = pe(() => import("./PackageVersion-DXU7nRr9.js").then((e) => e.t)), { vue_ui_sparkhistogram: j } = f(), { isThemeValid: Ie, warnInvalidTheme: Le } = ne(), M = e, N = w(ee()), P = w(null), F = w(null), I = w(null), L = w(null), R = w(null), z = w(!1), B = w(null), V = w("pointer"), H = w(q());
93
93
  u({
94
94
  config: () => H.value,
95
95
  dataset: () => M.dataset,
@@ -204,13 +204,13 @@ var A = /* @__PURE__ */ e({ default: () => j }), xe = ["id"], Se = { key: 0 }, C
204
204
  ve(() => {
205
205
  He();
206
206
  });
207
- let Ve = _(() => !!H.value.debug);
207
+ let Ve = _(() => H.value.debug);
208
208
  function He() {
209
209
  if (o(M.dataset) ? l({
210
210
  componentName: "VueUiSparkHistogram",
211
211
  type: "dataset",
212
212
  debug: Ve.value
213
- }) : M.dataset.forEach((e, t) => {
213
+ }) : Ve.value && M.dataset.forEach((e, t) => {
214
214
  s({
215
215
  datasetObject: e,
216
216
  requiredAttributes: ["value"]
@@ -219,8 +219,7 @@ var A = /* @__PURE__ */ e({ default: () => j }), xe = ["id"], Se = { key: 0 }, C
219
219
  componentName: "VueUiSparkHistogram",
220
220
  type: "datasetSerieAttribute",
221
221
  property: e,
222
- index: t,
223
- debug: Ve.value
222
+ index: t
224
223
  });
225
224
  });
226
225
  }), H.value.responsive) {
@@ -311,9 +310,9 @@ var A = /* @__PURE__ */ e({ default: () => j }), xe = ["id"], Se = { key: 0 }, C
311
310
  function Ye() {
312
311
  V.value !== "keyboard" && (X.value = null, B.value = null);
313
312
  }
314
- let Xe = _(() => `${H.value.style.animation.speedMs}ms`), { fitText: Q } = le({
313
+ let Xe = _(() => `${H.value.style.animation.speedMs}ms`), Ze = _(() => J.value.drawingWidth / U.value.length * .9), { fitText: Q } = le({
315
314
  svgRef: K,
316
- unitWidth: _(() => J.value.drawingWidth / U.value.length * .9)
315
+ unitWidth: Ze
317
316
  });
318
317
  ve(async () => {
319
318
  await he(), Q(".vue-ui-sparkhistogram-top-label", H.value.style.labels.value.minFontSize), Q(".vue-ui-sparkhistogram-bottom-label", H.value.style.labels.valueLabel.minFontSize), Q(".vue-ui-sparkhistogram-time-label", H.value.style.labels.timeLabel.minFontSize);
@@ -324,13 +323,13 @@ var A = /* @__PURE__ */ e({ default: () => j }), xe = ["id"], Se = { key: 0 }, C
324
323
  ], async () => {
325
324
  await he(), Q(".vue-ui-sparkhistogram-top-label", H.value.style.labels.value.minFontSize), Q(".vue-ui-sparkhistogram-bottom-label", H.value.style.labels.valueLabel.minFontSize), Q(".vue-ui-sparkhistogram-time-label", H.value.style.labels.timeLabel.minFontSize);
326
325
  });
327
- function Ze() {
326
+ function Qe() {
328
327
  z.value = !0;
329
328
  }
330
- function Qe() {
329
+ function $e() {
331
330
  z.value = !1, B.value = null, V.value = "pointer", X.value = null;
332
331
  }
333
- function $e(e) {
332
+ function et(e) {
334
333
  if (!K.value || document.activeElement !== K.value || !Y.value.length) return;
335
334
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
336
335
  if (!t && !n && !r && !i) return;
@@ -422,9 +421,9 @@ var A = /* @__PURE__ */ e({ default: () => j }), xe = ["id"], Se = { key: 0 }, C
422
421
  style: { overflow: "visible" },
423
422
  "aria-describedby": `chart-instructions-${N.value}`,
424
423
  tabindex: "0",
425
- onFocus: Ze,
426
- onBlur: Qe,
427
- onKeydown: $e
424
+ onFocus: Qe,
425
+ onBlur: $e,
426
+ onKeydown: et
428
427
  }, [
429
428
  fe(O(A)),
430
429
  e.$slots["chart-background"] ? (C(), b("foreignObject", {
@@ -585,6 +584,6 @@ var A = /* @__PURE__ */ e({ default: () => j }), xe = ["id"], Se = { key: 0 }, C
585
584
  E(e.$slots, "skeleton", {}, () => [O(ze) ? (C(), v(te, { key: 0 })) : y("", !0)], !0)
586
585
  ], 36));
587
586
  }
588
- }, [["__scopeId", "data-v-e6535ec1"]]);
587
+ }, [["__scopeId", "data-v-9193580a"]]);
589
588
  //#endregion
590
589
  export { A as n, j as t };
@@ -1,10 +1,10 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { A as t, Bt as n, Dt as r, H as i, I as a, Jt as o, L as s, N as c, P as l, S as u, U as d, V as ee, Vt as f, X as p, bt as te, d as ne, i as re, it as ie, jt as ae, k as oe, m as se, ot as ce, pt as le, q as ue, t as de, tt as fe, zt as pe } from "./lib-BuMGJ_a0.js";
2
+ import { A as t, Bt as n, Dt as r, H as i, I as a, Jt as o, L as s, N as c, P as l, S as u, U as d, V as ee, Vt as f, X as p, bt as te, d as ne, i as re, it as ie, jt as ae, k as oe, m as se, ot as ce, pt as le, q as ue, t as de, tt as fe, zt as pe } from "./lib-Bttd6u5E.js";
3
3
  import { n as me, t as he } from "./useHints-Dq_w2E8B.js";
4
- import { t as m } from "./useTimeLabels-B9CEuiLZ.js";
5
- import { t as ge } from "./useConfig-BilxnBNr.js";
4
+ import { t as m } from "./useTimeLabels-d2f-W1L4.js";
5
+ import { t as ge } from "./useConfig-DlNpz6P8.js";
6
6
  import { n as _e, t as ve } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as ye } from "./useNestedProp--NSEmhOH.js";
7
+ import { t as ye } from "./useNestedProp-vPNvh7rV.js";
8
8
  import { t as be } from "./useThemeCheck-C43Tcqmk.js";
9
9
  import { t as xe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
10
10
  import { l as Se, t as Ce } from "./useResponsive-ZtArZtUf.js";
@@ -695,7 +695,7 @@ var _t = ["innerHTML"], vt = {
695
695
  },
696
696
  emits: ["hoverIndex", "selectDatapoint"],
697
697
  setup(e, { emit: xe }) {
698
- let He = Me(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), Ue = Me(() => import("./SparkTooltip-BaYtEKS6.js")), { vue_ui_sparkline: We } = ge(), { isThemeValid: Ge, warnInvalidTheme: Ke } = be(), qe = De(), O = e, Je = g(() => Array.isArray(O.dataset) && O.dataset.length > 0), k = C(ue()), A = C(null), Xe = C(null), Ze = C(null), j = C(null), M = C(null), N = C(L());
698
+ let He = Me(() => import("./PackageVersion-DXU7nRr9.js").then((e) => e.t)), Ue = Me(() => import("./SparkTooltip-CjsbIhzi.js")), { vue_ui_sparkline: We } = ge(), { isThemeValid: Ge, warnInvalidTheme: Ke } = be(), qe = De(), O = e, Je = g(() => Array.isArray(O.dataset) && O.dataset.length > 0), k = C(ue()), A = C(null), Xe = C(null), Ze = C(null), j = C(null), M = C(null), N = C(L());
699
699
  me({
700
700
  config: () => N.value,
701
701
  dataset: () => O.dataset,
@@ -941,13 +941,13 @@ var _t = ["innerHTML"], vt = {
941
941
  async function Wt() {
942
942
  Ut.value = !1, await b(), Ut.value = !0, await b(), lt();
943
943
  }
944
- let Gt = g(() => !!N.value.debug);
944
+ let Gt = g(() => N.value.debug);
945
945
  function Kt() {
946
946
  if (ae(O.dataset) ? (fe({
947
947
  componentName: "VueUiSparkline",
948
948
  type: "dataset",
949
949
  debug: Gt.value
950
- }), et.value = !0) : O.dataset.forEach((e, t) => {
950
+ }), et.value = !0) : Gt.value && O.dataset.forEach((e, t) => {
951
951
  le({
952
952
  datasetObject: e,
953
953
  requiredAttributes: ["period", "value"]
@@ -956,8 +956,7 @@ var _t = ["innerHTML"], vt = {
956
956
  componentName: "VueUiSparkline",
957
957
  type: "datasetSerieAttribute",
958
958
  property: e,
959
- index: t,
960
- debug: Gt.value
959
+ index: t
961
960
  });
962
961
  });
963
962
  }), ae(O.dataset) || (et.value = N.value.loading), N.value.responsive) {
@@ -1075,7 +1074,8 @@ var _t = ["innerHTML"], vt = {
1075
1074
  value: n
1076
1075
  }))).trend
1077
1076
  };
1078
- } else return {
1077
+ }
1078
+ return {
1079
1079
  latest: null,
1080
1080
  sum: null,
1081
1081
  average: null,
@@ -1579,6 +1579,6 @@ var _t = ["innerHTML"], vt = {
1579
1579
  T(t.$slots, "skeleton", {}, () => [E(P) ? (S(), ke(ve, { key: 0 })) : _("", !0)], !0)
1580
1580
  ], 12, bt));
1581
1581
  }
1582
- }, [["__scopeId", "data-v-967d347c"]]);
1582
+ }, [["__scopeId", "data-v-4d09c790"]]);
1583
1583
  //#endregion
1584
1584
  export { yt as n, G as t };