vue-data-ui 3.22.13 → 3.23.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 (224) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +13 -1
  3. package/dist/{Arrow-DKx74WtM.js → Arrow-o2qHNvrC.js} +1 -1
  4. package/dist/{BaseDraggableDialog-3n8udWmh.js → BaseDraggableDialog-qTnfhLBz.js} +2 -2
  5. package/dist/{BaseIcon-CP5RWnqt.js → BaseIcon-91MZoczJ.js} +4 -3
  6. package/dist/{BaseLegendToggle-DsWphmIb.js → BaseLegendToggle-CtAPwzr2.js} +1 -1
  7. package/dist/{BaseZoomControls-C9_ygNN4.js → BaseZoomControls-rdzlicuz.js} +2 -2
  8. package/dist/{ColorPicker-3N_HVgXs.js → ColorPicker-CIAkdPrj.js} +2 -2
  9. package/dist/{DataTable-DzPEVvSo.js → DataTable-D4tM9s5Y.js} +2 -2
  10. package/dist/HillActions-BWhxHlrj.js +187 -0
  11. package/dist/{Legend-C0xAnJdO.js → Legend-CQTRlzK-.js} +2 -2
  12. package/dist/{NonSvgPenAndPaper-B_mE5UbR.js → NonSvgPenAndPaper-Cawacw1W.js} +19 -19
  13. package/dist/{PackageVersion-B6Hokxw9.js → PackageVersion--QCMh5k_.js} +1 -1
  14. package/dist/{PenAndPaper-CSMVXpg2.js → PenAndPaper-cE4J8-rA.js} +11 -11
  15. package/dist/{Shape-BfnXr1nJ.js → Shape-BPMV94Ij.js} +3 -3
  16. package/dist/{Slicer-C6qNUmZ4.js → Slicer-5yIrdoJv.js} +15 -15
  17. package/dist/SlicerPreview-DvjLV2TW.js +1689 -0
  18. package/dist/{SparkTooltip-uoUiL_P8.js → SparkTooltip-BaYtEKS6.js} +6 -6
  19. package/dist/Title-BODtwViI.js +87 -0
  20. package/dist/{Tooltip-CA1rtSyl.js → Tooltip-CMTGxeYO.js} +1 -1
  21. package/dist/{UserOptions-DzAFK9cY.js → UserOptions-3ujTo3LD.js} +2 -2
  22. package/dist/components/arrow.js +1 -1
  23. package/dist/components/vue-ui-3d-bar.js +1 -1
  24. package/dist/components/vue-ui-accordion.js +1 -1
  25. package/dist/components/vue-ui-age-pyramid.js +1 -1
  26. package/dist/components/vue-ui-annotator.js +1 -1
  27. package/dist/components/vue-ui-bullet.js +1 -1
  28. package/dist/components/vue-ui-bump.js +1 -1
  29. package/dist/components/vue-ui-candlestick.js +1 -1
  30. package/dist/components/vue-ui-carousel-table.js +1 -1
  31. package/dist/components/vue-ui-chestnut.js +1 -1
  32. package/dist/components/vue-ui-chord.js +1 -1
  33. package/dist/components/vue-ui-circle-pack.js +1 -1
  34. package/dist/components/vue-ui-cursor.js +1 -1
  35. package/dist/components/vue-ui-dag.js +1 -1
  36. package/dist/components/vue-ui-dashboard.js +1 -1
  37. package/dist/components/vue-ui-digits.js +1 -1
  38. package/dist/components/vue-ui-donut-evolution.js +1 -1
  39. package/dist/components/vue-ui-donut.js +1 -1
  40. package/dist/components/vue-ui-dumbbell.js +1 -1
  41. package/dist/components/vue-ui-flow.js +1 -1
  42. package/dist/components/vue-ui-funnel.js +1 -1
  43. package/dist/components/vue-ui-galaxy.js +1 -1
  44. package/dist/components/vue-ui-gauge.js +1 -1
  45. package/dist/components/vue-ui-geo.js +1 -1
  46. package/dist/components/vue-ui-gizmo.js +1 -1
  47. package/dist/components/vue-ui-heatmap.js +1 -1
  48. package/dist/components/vue-ui-hill.js +2 -0
  49. package/dist/components/vue-ui-history-plot.js +1 -1
  50. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  51. package/dist/components/vue-ui-icon.js +1 -1
  52. package/dist/components/vue-ui-kpi.js +1 -1
  53. package/dist/components/vue-ui-mini-loader.js +1 -1
  54. package/dist/components/vue-ui-molecule.js +1 -1
  55. package/dist/components/vue-ui-mood-radar.js +1 -1
  56. package/dist/components/vue-ui-nested-donuts.js +1 -1
  57. package/dist/components/vue-ui-onion.js +1 -1
  58. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  59. package/dist/components/vue-ui-quadrant.js +1 -1
  60. package/dist/components/vue-ui-quick-chart.js +1 -1
  61. package/dist/components/vue-ui-radar.js +1 -1
  62. package/dist/components/vue-ui-rating.js +1 -1
  63. package/dist/components/vue-ui-relation-circle.js +1 -1
  64. package/dist/components/vue-ui-ridgeline.js +1 -1
  65. package/dist/components/vue-ui-rings.js +1 -1
  66. package/dist/components/vue-ui-scatter.js +1 -1
  67. package/dist/components/vue-ui-skeleton.js +1 -1
  68. package/dist/components/vue-ui-smiley.js +1 -1
  69. package/dist/components/vue-ui-spark-trend.js +1 -1
  70. package/dist/components/vue-ui-sparkbar.js +1 -1
  71. package/dist/components/vue-ui-sparkgauge.js +1 -1
  72. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  73. package/dist/components/vue-ui-sparkline.js +1 -1
  74. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  75. package/dist/components/vue-ui-stackbar.js +1 -1
  76. package/dist/components/vue-ui-stackline.js +1 -1
  77. package/dist/components/vue-ui-strip-plot.js +1 -1
  78. package/dist/components/vue-ui-table-heatmap.js +1 -1
  79. package/dist/components/vue-ui-table-sparkline.js +1 -1
  80. package/dist/components/vue-ui-table.js +1 -1
  81. package/dist/components/vue-ui-thermometer.js +1 -1
  82. package/dist/components/vue-ui-timer.js +1 -1
  83. package/dist/components/vue-ui-tiremarks.js +1 -1
  84. package/dist/components/vue-ui-treemap.js +1 -1
  85. package/dist/components/vue-ui-vertical-bar.js +1 -1
  86. package/dist/components/vue-ui-waffle.js +1 -1
  87. package/dist/components/vue-ui-wheel.js +1 -1
  88. package/dist/components/vue-ui-word-cloud.js +1 -1
  89. package/dist/components/vue-ui-world.js +1 -1
  90. package/dist/components/vue-ui-xy-canvas.js +1 -1
  91. package/dist/components/vue-ui-xy.js +1 -1
  92. package/dist/{dom-to-png-BdAFKZQg.js → dom-to-png-4tdMNGPX.js} +1 -1
  93. package/dist/exposedLib-DWLRqRhv.js +25 -0
  94. package/dist/{img-Bikk1dGb.js → img-DIQG5q8T.js} +1 -1
  95. package/dist/{labelUtils-BUhssos9.js → labelUtils-C5lnc_xc.js} +1 -1
  96. package/dist/{lib-CFm_J26b.js → lib-BuMGJ_a0.js} +216 -173
  97. package/dist/{package-DmDydylu.js → package-BMc_ZieJ.js} +1 -1
  98. package/dist/{pdf-zmz3l2uy.js → pdf-Cnz4NKM9.js} +1 -1
  99. package/dist/{render-common-BIG8JYGK.js → render-common-Ktg2LZFG.js} +21 -21
  100. package/dist/ssr/vue-ui-donut.js +1 -1
  101. package/dist/ssr/vue-ui-xy.js +1 -1
  102. package/dist/ssr.js +2 -2
  103. package/dist/style.css +1 -1
  104. package/dist/types/vue-data-ui.d.ts +493 -0
  105. package/dist/types/vue-ui-hill.d.ts +90 -0
  106. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
  107. package/dist/{useConfig-C0V0eG7L.js → useConfig-BilxnBNr.js} +767 -476
  108. package/dist/useHints-Dq_w2E8B.js +66 -0
  109. package/dist/{useNestedProp-BY6DNN3i.js → useNestedProp--NSEmhOH.js} +1 -1
  110. package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Cwq7NcQz.js} +3 -2
  111. package/dist/{usePrinter-BH-xle1O.js → usePrinter-BFvi4jVy.js} +2 -2
  112. package/dist/useTransitions-g_zBREk2.js +39 -0
  113. package/dist/utils.js +14 -14
  114. package/dist/{vue-data-ui-rkzh6EkO.js → vue-data-ui-EsawKe_W.js} +85 -81
  115. package/dist/vue-data-ui.js +77 -76
  116. package/dist/vue-ui-3d-bar-RSUS2xpL.js +1849 -0
  117. package/dist/{vue-ui-accordion-UA88lv4d.js → vue-ui-accordion-61MlW-Ge.js} +4 -4
  118. package/dist/vue-ui-age-pyramid-CgnPWA93.js +1263 -0
  119. package/dist/vue-ui-annotator-DBRT85HG.js +2913 -0
  120. package/dist/vue-ui-bullet-Bc3-WaN1.js +724 -0
  121. package/dist/{vue-ui-bump-BS7RCf0Z.js → vue-ui-bump-Dvv3iSKr.js} +332 -295
  122. package/dist/{vue-ui-candlestick-BZSGDKrM.js → vue-ui-candlestick-DvvsrIdp.js} +464 -440
  123. package/dist/vue-ui-carousel-table-DtsNVim8.js +463 -0
  124. package/dist/vue-ui-chestnut-ArloORzP.js +2068 -0
  125. package/dist/{vue-ui-chord-D6G7ceE-.js → vue-ui-chord-xX5gWZy8.js} +430 -424
  126. package/dist/vue-ui-circle-pack-D8wykmqg.js +1638 -0
  127. package/dist/{vue-ui-cursor-BpN5MsXM.js → vue-ui-cursor-CxgE6Phh.js} +61 -61
  128. package/dist/{vue-ui-dag-BzgOgXzU.js → vue-ui-dag-C9Sf9vH7.js} +924 -916
  129. package/dist/vue-ui-dashboard-bGmaglAj.js +520 -0
  130. package/dist/{vue-ui-digits-OMPrn8fb.js → vue-ui-digits-DgDE-_Fn.js} +58 -50
  131. package/dist/vue-ui-donut-B_n6wF6B.js +2440 -0
  132. package/dist/{vue-ui-donut-Cp5NbZ1r.js → vue-ui-donut-Bmo149AR.js} +113 -113
  133. package/dist/{vue-ui-donut-evolution-DHVi5rOn.js → vue-ui-donut-evolution-D6vH_hfx.js} +528 -447
  134. package/dist/vue-ui-dumbbell-BX4Ao_wR.js +1582 -0
  135. package/dist/{vue-ui-flow-BusUK3H0.js → vue-ui-flow-Bshw8pT_.js} +415 -407
  136. package/dist/vue-ui-funnel-CjYosIik.js +797 -0
  137. package/dist/vue-ui-galaxy-CvXgy-dy.js +1111 -0
  138. package/dist/vue-ui-gauge-CByT0_vF.js +953 -0
  139. package/dist/{vue-ui-geo-CyFgFKlh.js → vue-ui-geo-C-gSZL2q.js} +378 -363
  140. package/dist/{vue-ui-gizmo-DdeXwCQp.js → vue-ui-gizmo-CJdxyPID.js} +57 -49
  141. package/dist/{vue-ui-heatmap-D8-qJ7fg.js → vue-ui-heatmap-DEEKv8ip.js} +498 -490
  142. package/dist/vue-ui-hill-D7LYAgAL.js +1768 -0
  143. package/dist/{vue-ui-history-plot-C2Aqk2ON.js → vue-ui-history-plot-BhcU94Pt.js} +553 -556
  144. package/dist/vue-ui-horizontal-bar-CfFye5tL.js +1733 -0
  145. package/dist/vue-ui-kpi-DCBnNfTb.js +104 -0
  146. package/dist/vue-ui-mini-loader-CtWpqnLW.js +133 -0
  147. package/dist/vue-ui-molecule-D3igGyOy.js +958 -0
  148. package/dist/{vue-ui-mood-radar-BiOjxFEN.js → vue-ui-mood-radar-sl6DMxqR.js} +349 -341
  149. package/dist/{vue-ui-nested-donuts-Cl1HVvDp.js → vue-ui-nested-donuts-aS4YzaB3.js} +449 -413
  150. package/dist/vue-ui-onion-EhPTZpW_.js +1258 -0
  151. package/dist/vue-ui-parallel-coordinate-plot-DE9wTmQQ.js +1455 -0
  152. package/dist/{vue-ui-quadrant-B21LkUc8.js → vue-ui-quadrant-SaY_RPSE.js} +625 -617
  153. package/dist/vue-ui-quick-chart-CJ9rejnj.js +2389 -0
  154. package/dist/{vue-ui-radar-CyzAyVos.js → vue-ui-radar-CaNen5Fj.js} +356 -310
  155. package/dist/vue-ui-rating--K7rX2an.js +360 -0
  156. package/dist/vue-ui-relation-circle-FLs8vOxQ.js +925 -0
  157. package/dist/vue-ui-ridgeline-Beg5hshN.js +1663 -0
  158. package/dist/{vue-ui-rings-FtcdX8xl.js → vue-ui-rings-BevKD8P-.js} +449 -423
  159. package/dist/{vue-ui-scatter-Cp_-2ahf.js → vue-ui-scatter-CNA7jF-o.js} +721 -702
  160. package/dist/{vue-ui-skeleton-COytVrfN.js → vue-ui-skeleton-B9ZP1w-i.js} +395 -387
  161. package/dist/{vue-ui-smiley-Da2jgkb7.js → vue-ui-smiley-DYnqqk6u.js} +128 -120
  162. package/dist/{vue-ui-spark-trend-DC2KUlEY.js → vue-ui-spark-trend-R0ebpg-G.js} +132 -117
  163. package/dist/{vue-ui-sparkbar-DdxQOFIF.js → vue-ui-sparkbar-DYC3By0v.js} +119 -111
  164. package/dist/{vue-ui-sparkgauge-DTA-fORH.js → vue-ui-sparkgauge-Bw6no-In.js} +76 -68
  165. package/dist/vue-ui-sparkhistogram-DvRKy8rq.js +590 -0
  166. package/dist/{vue-ui-sparkline-DcR_N-zT.js → vue-ui-sparkline-Dz1uzBos.js} +389 -364
  167. package/dist/vue-ui-sparkstackbar-DlnPdZih.js +692 -0
  168. package/dist/vue-ui-stackbar-B-THcavY.js +2350 -0
  169. package/dist/vue-ui-stackline-3dBPoI0h.js +2464 -0
  170. package/dist/{vue-ui-strip-plot-NLCwYvyw.js → vue-ui-strip-plot-ACeYOoHj.js} +505 -484
  171. package/dist/vue-ui-table-heatmap-DVwMqzje.js +364 -0
  172. package/dist/{vue-ui-table-AM9brdwU.js → vue-ui-table-rFy16bp0.js} +512 -504
  173. package/dist/{vue-ui-table-sparkline-BE6DAvur.js → vue-ui-table-sparkline-CABJzK8p.js} +207 -181
  174. package/dist/vue-ui-thermometer-CVQ-H69Q.js +777 -0
  175. package/dist/{vue-ui-timer-BZM5ITG9.js → vue-ui-timer-Bm8LpsnI.js} +66 -58
  176. package/dist/{vue-ui-tiremarks-BCncDpHX.js → vue-ui-tiremarks-DB3f5qiz.js} +127 -119
  177. package/dist/vue-ui-treemap-DP0Sx8Y8.js +1760 -0
  178. package/dist/vue-ui-waffle-iPpdk1Bm.js +1412 -0
  179. package/dist/vue-ui-wheel-BJkEYfLj.js +892 -0
  180. package/dist/{vue-ui-word-cloud-D7R7nhk1.js → vue-ui-word-cloud-B2sxtel9.js} +440 -432
  181. package/dist/{vue-ui-world-DZBt-07p.js → vue-ui-world-BBQZLnzm.js} +343 -335
  182. package/dist/vue-ui-xy-ChZg7AtI.js +1364 -0
  183. package/dist/{vue-ui-xy-CluEZ7lS.js → vue-ui-xy-DZj5DT-q.js} +1633 -1587
  184. package/dist/{vue-ui-xy-canvas-7YSYRdwr.js → vue-ui-xy-canvas-BN2u0bOJ.js} +456 -430
  185. package/dist/vue_ui_hill-dnltu0L-.js +368 -0
  186. package/package.json +2 -2
  187. package/dist/SlicerPreview-Cw6WMVhG.js +0 -1689
  188. package/dist/Title-BuPs74IB.js +0 -87
  189. package/dist/exposedLib-Ciw6TGtP.js +0 -25
  190. package/dist/useAutoSizeLabelsInsideViewbox-C9RNjsGv.js +0 -50
  191. package/dist/useMountedDelay-BAjrhRJb.js +0 -14
  192. package/dist/vue-ui-3d-bar-D5xHEWr1.js +0 -1824
  193. package/dist/vue-ui-age-pyramid-CAJg01c7.js +0 -1246
  194. package/dist/vue-ui-annotator-q3ZKx6ua.js +0 -2905
  195. package/dist/vue-ui-bullet-ByeaWGfI.js +0 -709
  196. package/dist/vue-ui-carousel-table-DO5NRXvX.js +0 -455
  197. package/dist/vue-ui-chestnut-BfeSPeEh.js +0 -2042
  198. package/dist/vue-ui-circle-pack-Cqmlw7AV.js +0 -1610
  199. package/dist/vue-ui-dashboard-DLvGJXJY.js +0 -512
  200. package/dist/vue-ui-donut-ZIRebAWc.js +0 -2418
  201. package/dist/vue-ui-dumbbell-gDYjU2oF.js +0 -1564
  202. package/dist/vue-ui-funnel-BtaYaU0r.js +0 -781
  203. package/dist/vue-ui-galaxy-BMp-HzDh.js +0 -1076
  204. package/dist/vue-ui-gauge-CBou0cFE.js +0 -925
  205. package/dist/vue-ui-horizontal-bar-BuwxI7d1.js +0 -1689
  206. package/dist/vue-ui-kpi-ByxoO01r.js +0 -96
  207. package/dist/vue-ui-mini-loader-D9pprk2c.js +0 -125
  208. package/dist/vue-ui-molecule-BqJJq49_.js +0 -932
  209. package/dist/vue-ui-onion-CRQOxurS.js +0 -1199
  210. package/dist/vue-ui-parallel-coordinate-plot-Dhn18RtR.js +0 -1412
  211. package/dist/vue-ui-quick-chart-DAhSXYnp.js +0 -2443
  212. package/dist/vue-ui-rating-DbxK-ftN.js +0 -352
  213. package/dist/vue-ui-relation-circle-Cb33DMZo.js +0 -917
  214. package/dist/vue-ui-ridgeline-D7aArzQk.js +0 -1627
  215. package/dist/vue-ui-sparkhistogram-D1oFTrvt.js +0 -575
  216. package/dist/vue-ui-sparkstackbar-BlFio0lP.js +0 -674
  217. package/dist/vue-ui-stackbar-Cu13EdVa.js +0 -2322
  218. package/dist/vue-ui-stackline-DKL0o_-3.js +0 -2427
  219. package/dist/vue-ui-table-heatmap-CSI482KG.js +0 -338
  220. package/dist/vue-ui-thermometer-D6Czx7Fb.js +0 -769
  221. package/dist/vue-ui-treemap-BOEYCOdk.js +0 -1727
  222. package/dist/vue-ui-waffle-BrM8IHdG.js +0 -1367
  223. package/dist/vue-ui-wheel-BNsajigQ.js +0 -884
  224. package/dist/vue-ui-xy-Dt_1bSBT.js +0 -1364
@@ -1,27 +1,28 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, B as n, Bt as r, Et as i, F as a, H as o, I as s, K as c, M as l, N as u, O as d, Rt as ee, V as f, Y as p, at as te, et as ne, ft as re, i as ie, k as ae, p as oe, qt as se, rt as ce, t as le, u as ue, x as de, yt as fe, zt as m } from "./lib-CFm_J26b.js";
3
- import { t as pe } from "./useTimeLabels-B9CEuiLZ.js";
4
- import { t as me } from "./useConfig-C0V0eG7L.js";
5
- import { n as h, t as he } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as ge } from "./useNestedProp-BY6DNN3i.js";
7
- import { t as _e } from "./useThemeCheck-C43Tcqmk.js";
8
- import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
9
- import { l as ye, t as be } from "./useResponsive-ZtArZtUf.js";
10
- import { t as xe } from "./DefGrad-DVBqDjhO.js";
11
- import { t as Se } from "./A11yDataTable-DdRsVULz.js";
12
- import { t as Ce } from "./useChartAccessibility-DYqac8yF.js";
13
- import { t as we } from "./usePrefersMotion-BC-CsqR1.js";
14
- import { t as Te } from "./vue_ui_sparkline-auZhap6Y.js";
15
- import { Fragment as g, computed as _, createBlock as Ee, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createTextVNode as De, createVNode as Oe, defineAsyncComponent as ke, guardReactiveProps as Ae, nextTick as x, normalizeProps as je, normalizeStyle as S, onBeforeUnmount as Me, onMounted as Ne, openBlock as C, ref as w, renderList as T, renderSlot as Pe, shallowRef as Fe, toDisplayString as Ie, toRefs as Le, unref as E, watch as D, watchEffect as Re, withCtx as ze } from "vue";
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";
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";
6
+ import { n as _e, t as ve } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as ye } from "./useNestedProp--NSEmhOH.js";
8
+ import { t as be } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as xe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
10
+ import { l as Se, t as Ce } from "./useResponsive-ZtArZtUf.js";
11
+ import { t as we } from "./DefGrad-DVBqDjhO.js";
12
+ import { t as Te } from "./A11yDataTable-DdRsVULz.js";
13
+ import { t as Ee } from "./useChartAccessibility-DYqac8yF.js";
14
+ import { t as De } from "./usePrefersMotion-BC-CsqR1.js";
15
+ import { t as Oe } from "./vue_ui_sparkline-auZhap6Y.js";
16
+ import { Fragment as h, computed as g, createBlock as ke, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createTextVNode as Ae, createVNode as je, defineAsyncComponent as Me, guardReactiveProps as Ne, nextTick as b, normalizeProps as Pe, normalizeStyle as x, onBeforeUnmount as Fe, onMounted as Ie, openBlock as S, ref as C, renderList as w, renderSlot as T, shallowRef as Le, toDisplayString as Re, toRefs as ze, unref as E, watch as D, watchEffect as Be, withCtx as Ve } from "vue";
16
17
  //#region src/atoms/SparklinePulse.vue
17
- var Be = {
18
+ var He = {
18
19
  key: 0,
19
20
  style: { "pointer-events": "none" }
20
- }, Ve = [
21
+ }, Ue = [
21
22
  "r",
22
23
  "fill",
23
24
  "filter"
24
- ], He = [
25
+ ], We = [
25
26
  "begin",
26
27
  "dur",
27
28
  "repeatCount",
@@ -30,12 +31,12 @@ var Be = {
30
31
  "keySplines",
31
32
  "keyTimes",
32
33
  "keyPoints"
33
- ], Ue = ["href"], We = [
34
+ ], Ge = ["href"], Ke = [
34
35
  "dur",
35
36
  "repeatCount",
36
37
  "fill",
37
38
  "values"
38
- ], Ge = ["r", "fill"], O = [
39
+ ], qe = ["r", "fill"], O = [
39
40
  "begin",
40
41
  "dur",
41
42
  "repeatCount",
@@ -43,7 +44,7 @@ var Be = {
43
44
  "keySplines",
44
45
  "keyTimes",
45
46
  "keyPoints"
46
- ], Ke = ["href"], k = ["dur", "repeatCount"], qe = {
47
+ ], Je = ["href"], k = ["dur", "repeatCount"], Ye = {
47
48
  __name: "SparklinePulse",
48
49
  props: {
49
50
  uid: {
@@ -112,7 +113,7 @@ var Be = {
112
113
  }
113
114
  },
114
115
  setup(e) {
115
- let t = e, n = _(() => Math.min(t.pulseTrailLength, 45)), r = _(() => !!t.pulse?.show && !t.isBar && !t.prefersReducedMotion && !t.loading && Number(t.pulsePathLength) > 0);
116
+ let t = e, n = g(() => Math.min(t.pulseTrailLength, 45)), r = g(() => !!t.pulse?.show && !t.isBar && !t.prefersReducedMotion && !t.loading && Number(t.pulsePathLength) > 0);
116
117
  function i() {
117
118
  let e = t.svgRef?.value;
118
119
  e && (typeof e.pauseAnimations == "function" && e.pauseAnimations(), typeof e.setCurrentTime == "function" && e.setCurrentTime(0), typeof e.unpauseAnimations == "function" && e.unpauseAnimations());
@@ -136,18 +137,18 @@ var Be = {
136
137
  i();
137
138
  return;
138
139
  }
139
- await x(), i();
140
+ await b(), i();
140
141
  }), D(() => t.pulsePathId, async () => {
141
- await x(), i();
142
- }), Me(() => {
142
+ await b(), i();
143
+ }), Fe(() => {
143
144
  i();
144
- }), (t, i) => r.value ? (C(), y("g", Be, [(C(!0), y(g, null, T(n.value, (t, n) => (C(), y(g, null, [n % 3 == 0 ? (C(), y("circle", {
145
+ }), (t, i) => r.value ? (S(), v("g", He, [(S(!0), v(h, null, w(n.value, (t, n) => (S(), v(h, null, [n % 3 == 0 ? (S(), v("circle", {
145
146
  key: `sparkline_dot_${n}_${e.pulsePathId}`,
146
147
  r: o(n),
147
148
  fill: e.pulse.color,
148
149
  filter: `url(#sparkline_pulse_glow_${e.uid})`,
149
150
  opacity: "0"
150
- }, [b("animateMotion", {
151
+ }, [y("animateMotion", {
151
152
  begin: a(e.pulseBegin, n * 10),
152
153
  dur: e.pulseDur,
153
154
  repeatCount: e.pulseRepeatCount,
@@ -157,19 +158,19 @@ var Be = {
157
158
  keyTimes: e.pulseMotion.keyTimes || void 0,
158
159
  keyPoints: e.pulseKeyPoints,
159
160
  rotate: "auto"
160
- }, [b("mpath", { href: `#${e.pulsePathId}` }, null, 8, Ue)], 8, He), b("animate", {
161
+ }, [y("mpath", { href: `#${e.pulsePathId}` }, null, 8, Ge)], 8, We), y("animate", {
161
162
  attributeName: "opacity",
162
163
  dur: e.pulseDur,
163
164
  repeatCount: e.pulseRepeatCount,
164
165
  fill: e.pulseFillMode,
165
166
  values: s(n),
166
167
  keyTimes: "0;0.1;0.9;1"
167
- }, null, 8, We)], 8, Ve)) : v("", !0)], 64))), 256)), (C(), y("circle", {
168
+ }, null, 8, Ke)], 8, Ue)) : _("", !0)], 64))), 256)), (S(), v("circle", {
168
169
  key: `sparkline_halo_${e.pulsePathId}`,
169
170
  r: Math.max(e.pulse.radius * 1.3),
170
171
  fill: e.pulse.color,
171
172
  opacity: "0"
172
- }, [b("animateMotion", {
173
+ }, [y("animateMotion", {
173
174
  begin: e.pulseBegin,
174
175
  dur: e.pulseDur,
175
176
  repeatCount: e.pulseRepeatCount,
@@ -178,19 +179,19 @@ var Be = {
178
179
  keyTimes: e.pulseMotion.keyTimes || void 0,
179
180
  keyPoints: e.pulseKeyPoints,
180
181
  rotate: "auto"
181
- }, [b("mpath", { href: `#${e.pulsePathId}` }, null, 8, Ke)], 8, O), b("animate", {
182
+ }, [y("mpath", { href: `#${e.pulsePathId}` }, null, 8, Je)], 8, O), y("animate", {
182
183
  attributeName: "opacity",
183
184
  values: "0;0.35;0.35;0",
184
185
  keyTimes: "0;0.15;0.85;1",
185
186
  dur: e.pulseDur,
186
187
  repeatCount: e.pulseRepeatCount
187
- }, null, 8, k)], 8, Ge))])) : v("", !0);
188
+ }, null, 8, k)], 8, qe))])) : _("", !0);
188
189
  }
189
190
  }, A = {
190
191
  canvas: null,
191
192
  ctx: null
192
193
  };
193
- function Je() {
194
+ function Xe() {
194
195
  if (typeof document > "u") throw Error("color-utils: document is not available (browser-only).");
195
196
  if (!A.canvas) {
196
197
  let e = document.createElement("canvas");
@@ -201,7 +202,7 @@ function Je() {
201
202
  }
202
203
  return A.ctx;
203
204
  }
204
- function Ye(e) {
205
+ function Ze(e) {
205
206
  return e < 0 ? 0 : e > 255 ? 255 : Math.round(e);
206
207
  }
207
208
  function j(e) {
@@ -216,10 +217,10 @@ function M(e, t = null) {
216
217
  blue: 0,
217
218
  alpha: 0
218
219
  };
219
- let r = Xe(n, t), i = Je();
220
+ let r = Qe(n, t), i = Xe();
220
221
  i.clearRect(0, 0, 1, 1), i.fillStyle = "#000";
221
222
  let a = i.fillStyle;
222
- if (i.fillStyle = r, i.fillStyle === a && !Ze(r)) throw Error(`colorToRgba: unsupported or invalid color "${e}".`);
223
+ if (i.fillStyle = r, i.fillStyle === a && !$e(r)) throw Error(`colorToRgba: unsupported or invalid color "${e}".`);
223
224
  i.fillRect(0, 0, 1, 1);
224
225
  let o = i.getImageData(0, 0, 1, 1).data;
225
226
  return {
@@ -235,10 +236,10 @@ function N(e, t = null) {
235
236
  for (let r = 0; r < e.length; r += 1) n[r] = M(e[r], t);
236
237
  return n;
237
238
  }
238
- function Xe(e, t = null) {
239
+ function Qe(e, t = null) {
239
240
  return e !== "currentColor" || typeof window > "u" || !t ? e : window.getComputedStyle(t).color || e;
240
241
  }
241
- function Ze(e) {
242
+ function $e(e) {
242
243
  let t = e.trim().toLowerCase();
243
244
  return t === "black" || t === "#000" || t === "#000000" || t === "rgb(0, 0, 0)" || t === "rgba(0, 0, 0, 1)" || t === "rgba(0, 0, 0, 0)";
244
245
  }
@@ -248,9 +249,9 @@ function P(e) {
248
249
  }
249
250
  function F(e) {
250
251
  let t = j(e), n;
251
- return n = t <= .0031308 ? t * 12.92 : 1.055 * t ** (1 / 2.4) - .055, Ye(n * 255);
252
+ return n = t <= .0031308 ? t * 12.92 : 1.055 * t ** (1 / 2.4) - .055, Ze(n * 255);
252
253
  }
253
- function Qe(e, t, n, r) {
254
+ function et(e, t, n, r) {
254
255
  let i = j(n);
255
256
  if (r === "linearRGB") {
256
257
  let n = P(e.red), r = P(e.green), a = P(e.blue), o = P(t.red), s = P(t.green), c = P(t.blue), l = n + (o - n) * i, u = r + (s - r) * i, d = a + (c - a) * i;
@@ -281,16 +282,16 @@ function L(e, t) {
281
282
  function R(e) {
282
283
  return Number.isFinite(e) ? e.toString() : "0";
283
284
  }
284
- function $e(e) {
285
+ function tt(e) {
285
286
  let t = I(e, 0, 255).toString(16);
286
287
  return t.length === 1 ? "0" + t : t;
287
288
  }
288
- function et(e) {
289
+ function nt(e) {
289
290
  if (typeof e != "string") return;
290
291
  let t = Number.parseFloat(e);
291
292
  return Number.isFinite(t) ? t : void 0;
292
293
  }
293
- function tt(e, t, n, r = !0) {
294
+ function rt(e, t, n, r = !0) {
294
295
  let i = n - t;
295
296
  if (i === 0) return 0;
296
297
  let a = (e - t) / i;
@@ -298,35 +299,35 @@ function tt(e, t, n, r = !0) {
298
299
  }
299
300
  //#endregion
300
301
  //#region src/SPG/index.js
301
- var nt = "http://www.w3.org/2000/svg";
302
- function rt(e) {
302
+ var it = "http://www.w3.org/2000/svg";
303
+ function at(e) {
303
304
  if (typeof document > "u") throw Error("SvgPathGradientAsync: document is not available (browser-only implementation).");
304
- let t = document.createElementNS(nt, "svg");
305
+ let t = document.createElementNS(it, "svg");
305
306
  t.setAttribute("width", "0"), t.setAttribute("height", "0"), t.setAttribute("viewBox", "0 0 0 0"), t.style.position = "absolute", t.style.left = "-10000px", t.style.top = "-10000px", t.style.visibility = "hidden", t.style.pointerEvents = "none";
306
- let n = document.createElementNS(nt, "path");
307
+ let n = document.createElementNS(it, "path");
307
308
  return e === "M " && (e = "M 0,0"), n.setAttribute("d", e), t.appendChild(n), document.body.appendChild(t), {
308
309
  svgElement: t,
309
310
  pathElement: n
310
311
  };
311
312
  }
312
- function it(e) {
313
+ function ot(e) {
313
314
  if (e) try {
314
315
  e.svgElement?.remove?.();
315
316
  } catch {}
316
317
  }
317
- function at(e, t, n) {
318
+ function st(e, t, n) {
318
319
  if (typeof n == "number" && n > 0) return n;
319
320
  let r = t * .75;
320
321
  r < .5 && (r = .5), r > 8 && (r = 8);
321
322
  let i = e / 2;
322
323
  return r > i && i > 0 && (r = i), r <= 0 && (r = 1), r;
323
324
  }
324
- function ot(e, t, n) {
325
+ function ct(e, t, n) {
325
326
  if (typeof t == "number" && t >= 1) return Math.floor(t);
326
327
  let r = Math.ceil(e / (typeof n == "number" && n > 0 ? n : 2));
327
328
  return r < 1 ? 1 : r;
328
329
  }
329
- function st(e, t, n, r, i, a) {
330
+ function lt(e, t, n, r, i, a) {
330
331
  let o = n - t, s = Math.ceil(o / r) + 1;
331
332
  s < 2 && (s = 2), s > a && (s = a);
332
333
  let c = s > 1 ? o / (s - 1) : 0, l = e.getPointAtLength(t), u = `M ${R(L(l.x, i))} ${R(L(l.y, i))}`;
@@ -336,7 +337,7 @@ function st(e, t, n, r, i, a) {
336
337
  }
337
338
  return u;
338
339
  }
339
- function ct(e, t, n, r, i, a) {
340
+ function ut(e, t, n, r, i, a) {
340
341
  let o = n - t, s = Math.ceil(o / r) + 1;
341
342
  s < 2 && (s = 2), s > a && (s = a);
342
343
  let c = s > 1 ? o / (s - 1) : 0, l = e.getPointAtLength(t), u = l.x, d = l.x, ee = l.y, f = l.y, p = `M ${R(L(l.x, i))} ${R(L(l.y, i))}`;
@@ -354,7 +355,7 @@ function ct(e, t, n, r, i, a) {
354
355
  }
355
356
  };
356
357
  }
357
- function lt(e) {
358
+ function dt(e) {
358
359
  if (e.length === 1) return [{
359
360
  position: 0,
360
361
  rgba: e[0]
@@ -401,9 +402,9 @@ function H(e) {
401
402
  }
402
403
  function U(e) {
403
404
  let t = I(e.alpha, 0, 1), n = I(Math.round(e.red), 0, 255), r = I(Math.round(e.green), 0, 255), i = I(Math.round(e.blue), 0, 255);
404
- return t >= 1 ? `#${$e(n)}${$e(r)}${$e(i)}` : `rgba(${n}, ${r}, ${i}, ${L(t, 4).toString()})`;
405
+ return t >= 1 ? `#${tt(n)}${tt(r)}${tt(i)}` : `rgba(${n}, ${r}, ${i}, ${L(t, 4).toString()})`;
405
406
  }
406
- function ut(e) {
407
+ function ft(e) {
407
408
  let t = `fill="${W(e.fill ?? "none")}"`, n = Object.keys(e);
408
409
  for (let r = 0; r < n.length; r += 1) {
409
410
  let i = n[r];
@@ -413,10 +414,10 @@ function ut(e) {
413
414
  }
414
415
  return t;
415
416
  }
416
- function dt(e, t, n) {
417
+ function pt(e, t, n) {
417
418
  return `<path d="${W(e)}" stroke="${W(t)}" ${n} />`;
418
419
  }
419
- function ft(e) {
420
+ function mt(e) {
420
421
  let t = [], n = e.segmentAttributeMap.fill ?? "none";
421
422
  t.push(`fill="${W(n)}"`), t.push(`stroke="${W(e.stroke)}"`);
422
423
  for (let n of Object.keys(e.segmentAttributeMap)) {
@@ -426,7 +427,7 @@ function ft(e) {
426
427
  }
427
428
  return `<path d="${W(e.pathData)}" ${t.join(" ")} />`;
428
429
  }
429
- function pt(e, t) {
430
+ function ht(e, t) {
430
431
  let n = [];
431
432
  for (let e of Object.keys(t)) n.push(`${e}="${W(t[e])}"`);
432
433
  return `<g data-svg-path-gradient="true"${n.length ? " " + n.join(" ") : ""}>${e.join("")}</g>`;
@@ -434,7 +435,7 @@ function pt(e, t) {
434
435
  function W(e) {
435
436
  return String(e).replaceAll("&", "&amp;").replaceAll("\"", "&quot;").replaceAll("<", "&lt;").replaceAll(">", "&gt;");
436
437
  }
437
- function mt(e, t = null, n = {}) {
438
+ function gt(e, t = null, n = {}) {
438
439
  return new Promise((r, i) => {
439
440
  let a = null;
440
441
  try {
@@ -442,16 +443,16 @@ function mt(e, t = null, n = {}) {
442
443
  let i = n.temperatureMode ?? null;
443
444
  if (i === null && (!Array.isArray(t) || t.length === 0)) throw Error("SvgPathGradientAsync: colors must be a non-empty array when temperatureMode is not enabled.");
444
445
  if ((n.returnMode ?? "string") !== "string") throw Error("SvgPathGradientAsync: only returnMode=\"string\" is supported for the async version.");
445
- let o = typeof n.decimalPlaces == "number" ? n.decimalPlaces : 3, s = typeof n.flattenTolerance == "number" && n.flattenTolerance > 0 ? n.flattenTolerance : .25, c = n.attrs ? { ...n.attrs } : {}, l = n.groupAttrs ? { ...n.groupAttrs } : {}, u = et(c["stroke-width"]), d = typeof n.strokeWidth == "number" && n.strokeWidth > 0 ? n.strokeWidth : typeof u == "number" && u > 0 ? u : 1;
446
- a = rt(e);
446
+ let o = typeof n.decimalPlaces == "number" ? n.decimalPlaces : 3, s = typeof n.flattenTolerance == "number" && n.flattenTolerance > 0 ? n.flattenTolerance : .25, c = n.attrs ? { ...n.attrs } : {}, l = n.groupAttrs ? { ...n.groupAttrs } : {}, u = nt(c["stroke-width"]), d = typeof n.strokeWidth == "number" && n.strokeWidth > 0 ? n.strokeWidth : typeof u == "number" && u > 0 ? u : 1;
447
+ a = at(e);
447
448
  let ee = a.pathElement, f = ee.getTotalLength(), p = i === null ? N(t, n.colorReferenceElement) : [];
448
449
  if (i === null && (!(f > 0) || p.length === 1)) {
449
- let t = pt([ft({
450
+ let t = ht([mt({
450
451
  pathData: e,
451
452
  stroke: U(p[0]),
452
453
  segmentAttributeMap: c
453
454
  })], l);
454
- it(a), r(t);
455
+ ot(a), r(t);
455
456
  return;
456
457
  }
457
458
  let te = n.colorSpace ?? "linearRGB";
@@ -460,58 +461,58 @@ function mt(e, t = null, n = {}) {
460
461
  if (!Array.isArray(e) || e.length !== 2) throw Error("SvgPathGradientAsync: temperatureColors must be a tuple of exactly 2 colors when temperatureMode is enabled.");
461
462
  }
462
463
  let ne = i === null ? null : N(n.temperatureColors, n.colorReferenceElement), re = i === null ? (() => {
463
- let e = lt(p), t = Array(e.length);
464
+ let e = dt(p), t = Array(e.length);
464
465
  for (let n = 0; n < e.length; n += 1) t[n] = {
465
466
  position: e[n].position,
466
467
  rgba: e[n].rgba
467
468
  };
468
469
  return t;
469
- })() : [], ie = at(f, d, n.maxSegmentLength), ae = ot(f, n.segments, ie), oe = f / ae, se = typeof n.overlap == "number" && n.overlap >= 0 ? n.overlap : d * .5, ce = oe * .45;
470
+ })() : [], ie = st(f, d, n.maxSegmentLength), ae = ct(f, n.segments, ie), oe = f / ae, se = typeof n.overlap == "number" && n.overlap >= 0 ? n.overlap : d * .5, ce = oe * .45;
470
471
  se > ce && (se = ce);
471
- let le = typeof n.samplePointLimitPerSegment == "number" && n.samplePointLimitPerSegment > 10 ? n.samplePointLimitPerSegment : 250, ue = ut(c), de = [], fe = i === null ? null : [], m = i === null ? null : [], pe = 0, me = i === null ? re.length - 2 : 0, h = 0, he = () => {
472
+ let le = typeof n.samplePointLimitPerSegment == "number" && n.samplePointLimitPerSegment > 10 ? n.samplePointLimitPerSegment : 250, ue = ft(c), de = [], fe = i === null ? null : [], pe = i === null ? null : [], me = 0, he = i === null ? re.length - 2 : 0, m = 0, ge = () => {
472
473
  let e = performance.now(), t = typeof n.frameBudgetMs == "number" ? n.frameBudgetMs : 8;
473
- for (; h < ae && performance.now() - e < t;) {
474
- let e = h * oe, t = (h + 1) * oe, n = e, r = t;
475
- if (h !== 0 && (n = e - se), h !== ae - 1 && (r = t + se), n = I(n, 0, f), r = I(r, 0, f), r > n) if (i !== null) {
476
- let e = ct(ee, n, r, s, o, le);
477
- fe.push(e.pathData), m.push(e.bounds);
474
+ for (; m < ae && performance.now() - e < t;) {
475
+ let e = m * oe, t = (m + 1) * oe, n = e, r = t;
476
+ if (m !== 0 && (n = e - se), m !== ae - 1 && (r = t + se), n = I(n, 0, f), r = I(r, 0, f), r > n) if (i !== null) {
477
+ let e = ut(ee, n, r, s, o, le);
478
+ fe.push(e.pathData), pe.push(e.bounds);
478
479
  } else {
479
480
  let e = (n + r) * .5 / f;
480
- for (; pe < me && e > re[pe + 1].position;) pe += 1;
481
- let t = z(re, e, te, pe), i = st(ee, n, r, s, o, le);
482
- de.push(dt(i, t, ue));
481
+ for (; me < he && e > re[me + 1].position;) me += 1;
482
+ let t = z(re, e, te, me), i = lt(ee, n, r, s, o, le);
483
+ de.push(pt(i, t, ue));
483
484
  }
484
- h += 1;
485
+ m += 1;
485
486
  }
486
- if (h < ae) {
487
- requestAnimationFrame(he);
487
+ if (m < ae) {
488
+ requestAnimationFrame(ge);
488
489
  return;
489
490
  }
490
491
  if (i !== null) {
491
492
  let e = Infinity, t = -Infinity;
492
- for (let n = 0; n < m.length; n += 1) {
493
- let r = m[n], a = i === "vertical" ? r.minY : r.minX, o = i === "vertical" ? r.maxY : r.maxX;
493
+ for (let n = 0; n < pe.length; n += 1) {
494
+ let r = pe[n], a = i === "vertical" ? r.minY : r.minX, o = i === "vertical" ? r.maxY : r.maxX;
494
495
  a < e && (e = a), o > t && (t = o);
495
496
  }
496
497
  let n = ne[0], r = ne[1];
497
498
  de.length = 0;
498
- for (let a = 0; a < m.length; a += 1) {
499
- let o = m[a], s = tt(((i === "vertical" ? o.minY : o.minX) + (i === "vertical" ? o.maxY : o.maxX)) * .5, e, t, !0), c = U(i === "vertical" ? Qe(n, r, s, te) : Qe(r, n, s, te)), l = fe[a];
500
- de.push(dt(l, c, ue));
499
+ for (let a = 0; a < pe.length; a += 1) {
500
+ let o = pe[a], s = rt(((i === "vertical" ? o.minY : o.minX) + (i === "vertical" ? o.maxY : o.maxX)) * .5, e, t, !0), c = U(i === "vertical" ? et(n, r, s, te) : et(r, n, s, te)), l = fe[a];
501
+ de.push(pt(l, c, ue));
501
502
  }
502
503
  }
503
- let c = pt(de, l);
504
- it(a), r(c);
504
+ let c = ht(de, l);
505
+ ot(a), r(c);
505
506
  };
506
- requestAnimationFrame(he);
507
+ requestAnimationFrame(ge);
507
508
  } catch (e) {
508
- it(a), i(e);
509
+ ot(a), i(e);
509
510
  }
510
511
  });
511
512
  }
512
513
  //#endregion
513
514
  //#region src/atoms/SparklineGradientPath.vue
514
- var ht = ["innerHTML"], gt = {
515
+ var _t = ["innerHTML"], vt = {
515
516
  __name: "SparklineGradientPath",
516
517
  props: {
517
518
  svgPathData: {
@@ -540,7 +541,7 @@ var ht = ["innerHTML"], gt = {
540
541
  }
541
542
  },
542
543
  setup(e) {
543
- let t = e, n = w(""), r = 0;
544
+ let t = e, n = C(""), r = 0;
544
545
  return D(() => [
545
546
  t.enabled,
546
547
  t.svgPathData,
@@ -554,7 +555,7 @@ var ht = ["innerHTML"], gt = {
554
555
  n.value = "";
555
556
  return;
556
557
  }
557
- let a = await mt(t.svgPathData, null, {
558
+ let a = await gt(t.svgPathData, null, {
558
559
  segments: t.segments,
559
560
  temperatureMode: "vertical",
560
561
  temperatureColors: [t.highColor, t.lowColor],
@@ -566,54 +567,54 @@ var ht = ["innerHTML"], gt = {
566
567
  groupAttrs: { class: "vue-ui-sparkline-gradient" }
567
568
  });
568
569
  i === r && (n.value = a);
569
- }, { immediate: !0 }), (e, t) => (C(), y("g", { innerHTML: n.value }, null, 8, ht));
570
+ }, { immediate: !0 }), (e, t) => (S(), v("g", { innerHTML: n.value }, null, 8, _t));
570
571
  }
571
- }, _t = /* @__PURE__ */ e({ default: () => G }), vt = ["id"], yt = ["id"], bt = { style: { position: "relative" } }, xt = [
572
+ }, yt = /* @__PURE__ */ e({ default: () => G }), bt = ["id"], xt = ["id"], St = { style: { position: "relative" } }, Ct = [
572
573
  "xmlns",
573
574
  "viewBox",
574
575
  "aria-describedby"
575
- ], St = ["width", "height"], Ct = ["id"], wt = [
576
+ ], wt = ["width", "height"], Tt = ["id"], Et = [
576
577
  "id",
577
578
  "y1",
578
579
  "y2"
579
- ], Tt = ["stop-color", "offset"], Et = { key: 1 }, Dt = [
580
+ ], Dt = ["stop-color", "offset"], Ot = { key: 1 }, kt = [
580
581
  "data-cy",
581
582
  "d",
582
583
  "fill"
583
- ], Ot = [
584
+ ], At = [
584
585
  "id",
585
586
  "d",
586
587
  "stroke-width"
587
- ], kt = [
588
+ ], jt = [
588
589
  "d",
589
590
  "stroke",
590
591
  "stroke-width",
591
592
  "stroke-dasharray"
592
- ], At = [
593
+ ], Mt = [
593
594
  "d",
594
595
  "stroke",
595
596
  "stroke-width"
596
- ], jt = [
597
+ ], Nt = [
597
598
  "id",
598
599
  "d",
599
600
  "stroke-width"
600
- ], Mt = [
601
+ ], Pt = [
601
602
  "d",
602
603
  "stroke",
603
604
  "stroke-width",
604
605
  "stroke-dasharray"
605
- ], Nt = [
606
+ ], Ft = [
606
607
  "d",
607
608
  "stroke",
608
609
  "stroke-width"
609
- ], Pt = [
610
+ ], It = [
610
611
  "x",
611
612
  "y",
612
613
  "width",
613
614
  "height",
614
615
  "fill",
615
616
  "rx"
616
- ], Ft = [
617
+ ], Lt = [
617
618
  "x1",
618
619
  "x2",
619
620
  "y1",
@@ -621,7 +622,7 @@ var ht = ["innerHTML"], gt = {
621
622
  "stroke",
622
623
  "stroke-width",
623
624
  "stroke-dasharray"
624
- ], It = [
625
+ ], Rt = [
625
626
  "x1",
626
627
  "x2",
627
628
  "y1",
@@ -629,20 +630,20 @@ var ht = ["innerHTML"], gt = {
629
630
  "stroke",
630
631
  "stroke-dasharray",
631
632
  "stroke-width"
632
- ], Lt = [
633
+ ], zt = [
633
634
  "cx",
634
635
  "cy",
635
636
  "r",
636
637
  "fill",
637
638
  "stroke",
638
639
  "stroke-width"
639
- ], Rt = [
640
+ ], Bt = [
640
641
  "x",
641
642
  "y",
642
643
  "font-size",
643
644
  "font-weight",
644
645
  "fill"
645
- ], zt = [
646
+ ], Vt = [
646
647
  "x",
647
648
  "y",
648
649
  "height",
@@ -650,7 +651,7 @@ var ht = ["innerHTML"], gt = {
650
651
  "onMouseenter",
651
652
  "onMouseleave",
652
653
  "onClick"
653
- ], Bt = {
654
+ ], Ht = {
654
655
  key: 0,
655
656
  style: {
656
657
  position: "absolute",
@@ -660,7 +661,7 @@ var ht = ["innerHTML"], gt = {
660
661
  },
661
662
  "data-dom-to-png-ignore": "",
662
663
  "aria-hidden": "true"
663
- }, G = /*#__PURE__*/ ve({
664
+ }, G = /*#__PURE__*/ xe({
664
665
  __name: "vue-ui-sparkline",
665
666
  props: {
666
667
  config: {
@@ -693,18 +694,42 @@ var ht = ["innerHTML"], gt = {
693
694
  }
694
695
  },
695
696
  emits: ["hoverIndex", "selectDatapoint"],
696
- setup(e, { emit: ve }) {
697
- let Be = ke(() => import("./PackageVersion-B6Hokxw9.js").then((e) => e.t)), Ve = ke(() => import("./SparkTooltip-uoUiL_P8.js")), { vue_ui_sparkline: He } = me(), { isThemeValid: Ue, warnInvalidTheme: We } = _e(), Ge = we(), O = e, Ke = _(() => Array.isArray(O.dataset) && O.dataset.length > 0), k = w(c()), A = w(null), Je = w(null), Ye = w(null), j = w(null), M = w(null), N = w(L());
698
- function Xe(e) {
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());
699
+ me({
700
+ config: () => N.value,
701
+ dataset: () => O.dataset,
702
+ component: "VueUiSparkline",
703
+ rules: [
704
+ he.emptyArray,
705
+ {
706
+ test: (e) => e.length > 500,
707
+ message: [
708
+ "👀 The dataset has > 500 datapoints. Consider if you really need this level of detail.",
709
+ "",
710
+ "▶️ Use larger time scales, or aggregated values"
711
+ ]
712
+ },
713
+ {
714
+ test: (e) => e.length > 1095,
715
+ message: [
716
+ "👀 The dataset has > 1095 datapoints. Above this threshold, the dataset is computed through an LTTB algorithm, to preserve the shape of the data without increasing the number of datapoints.",
717
+ "",
718
+ "▶️ If you need this level of detail, you can change config.downsample.threshold and set a higher value. Note that performance will be impacted."
719
+ ]
720
+ }
721
+ ]
722
+ });
723
+ function Qe(e) {
699
724
  return O.config?.skeletonDataset && Array.isArray(O.config.skeletonDataset) ? O.config.skeletonDataset.map((e) => ({
700
725
  period: "-",
701
726
  value: e
702
- })) : ce(e).map((e) => ({
727
+ })) : ie(e).map((e) => ({
703
728
  period: "-",
704
729
  value: e
705
730
  }));
706
731
  }
707
- let Ze = _(() => se({
732
+ let $e = g(() => o({
708
733
  defaultConfig: {
709
734
  gradientPath: { show: !1 },
710
735
  temperatureColors: { show: !1 },
@@ -726,33 +751,33 @@ var ht = ["innerHTML"], gt = {
726
751
  }
727
752
  },
728
753
  userConfig: N.value.skeletonConfig ?? {}
729
- })), { loading: P, FINAL_DATASET: F, manualLoading: Qe } = h({
730
- ...Le(O),
754
+ })), { loading: P, FINAL_DATASET: F, manualLoading: et } = _e({
755
+ ...ze(O),
731
756
  FINAL_CONFIG: N,
732
757
  prepareConfig: L,
733
758
  callback: () => {
734
759
  Promise.resolve().then(async () => {
735
- await x(), ht();
760
+ await b(), _t();
736
761
  });
737
762
  },
738
- skeletonDataset: Xe(12),
739
- skeletonConfig: se({
763
+ skeletonDataset: Qe(12),
764
+ skeletonConfig: o({
740
765
  defaultConfig: N.value,
741
- userConfig: Ze.value
766
+ userConfig: $e.value
742
767
  })
743
- }), { svgRef: I } = Ce({ config: N.value.style.title });
768
+ }), { svgRef: I } = Ee({ config: N.value.style.title });
744
769
  function L() {
745
- let e = ge({
770
+ let e = ye({
746
771
  userConfig: O.config,
747
- defaultConfig: He
772
+ defaultConfig: We
748
773
  }), t = {}, n = e.theme;
749
- if (n) if (!Ue.value(e)) We(e), t = e;
774
+ if (n) if (!Ge.value(e)) Ke(e), t = e;
750
775
  else {
751
- let r = ge({
752
- userConfig: Te[n] || O.config,
776
+ let r = ye({
777
+ userConfig: Oe[n] || O.config,
753
778
  defaultConfig: e
754
779
  });
755
- t = { ...ge({
780
+ t = { ...ye({
756
781
  userConfig: O.config,
757
782
  defaultConfig: r
758
783
  }) };
@@ -760,10 +785,10 @@ var ht = ["innerHTML"], gt = {
760
785
  else t = e;
761
786
  return t;
762
787
  }
763
- let R = _(() => N.value?.style?.line.pulse || {}), $e = _(() => `${Math.max(200, Number(R.value.durationMs) || 4e3) / 1e3}s`), et = w(0), tt = _(() => R.value?.begin || "0ms"), nt = w("0;1"), rt = _(() => R.value?.loop === !1 ? "1" : "indefinite"), it = _(() => R.value?.loop === !1 ? "freeze" : void 0), at = _(() => R.value.trail.show && lt.value.lengthPx || 1), ot = _(() => !!R.value?.show && !Q.value && !Ge.value && !P.value && (J.value?.length || 0) > 1);
764
- function st() {
765
- if (!ot.value) {
766
- et.value = 0;
788
+ let R = g(() => N.value?.style?.line.pulse || {}), tt = g(() => `${Math.max(200, Number(R.value.durationMs) || 4e3) / 1e3}s`), nt = C(0), rt = g(() => R.value?.begin || "0ms"), it = C("0;1"), at = g(() => R.value?.loop === !1 ? "1" : "indefinite"), ot = g(() => R.value?.loop === !1 ? "freeze" : void 0), st = g(() => R.value.trail.show && dt.value.lengthPx || 1), ct = g(() => !!R.value?.show && !Q.value && !qe.value && !P.value && (J.value?.length || 0) > 1);
789
+ function lt() {
790
+ if (!ct.value) {
791
+ nt.value = 0;
767
792
  return;
768
793
  }
769
794
  let e = I.value;
@@ -771,18 +796,18 @@ var ht = ["innerHTML"], gt = {
771
796
  let t = `#${G.value}`, n = e.querySelector?.(t);
772
797
  if (n && typeof n.getTotalLength == "function") {
773
798
  let e = n.getTotalLength();
774
- Number.isFinite(e) && e > 0 && (et.value = e);
799
+ Number.isFinite(e) && e > 0 && (nt.value = e);
775
800
  return;
776
801
  }
777
802
  requestAnimationFrame(() => {
778
803
  let n = e.querySelector?.(t);
779
804
  if (n && typeof n.getTotalLength == "function") {
780
805
  let e = n.getTotalLength();
781
- Number.isFinite(e) && e > 0 && (et.value = e);
806
+ Number.isFinite(e) && e > 0 && (nt.value = e);
782
807
  }
783
808
  });
784
809
  }
785
- let ct = _(() => {
810
+ let ut = g(() => {
786
811
  let e = R.value?.easing || "ease-in-out", t = {
787
812
  ease: [
788
813
  .25,
@@ -827,7 +852,7 @@ var ht = ["innerHTML"], gt = {
827
852
  ] : t[e] || t["ease-in-out"]).join(" "),
828
853
  keyTimes: "0;1"
829
854
  };
830
- }), lt = _(() => {
855
+ }), dt = g(() => {
831
856
  let e = R.value?.trail || {}, t = N.value.style.line.strokeWidth || 1;
832
857
  return {
833
858
  show: e.show !== !1,
@@ -837,18 +862,18 @@ var ht = ["innerHTML"], gt = {
837
862
  fadeIn: .5,
838
863
  fadeOut: .2
839
864
  };
840
- }), z = _(() => i({
865
+ }), z = g(() => r({
841
866
  data: F.value,
842
867
  threshold: N.value.downsample.threshold
843
868
  }));
844
- _(() => {
869
+ g(() => {
845
870
  if (!N.value.temperatureColors.show) return !1;
846
871
  let e = F.value.map(({ value: e }) => e).filter((e) => Number.isFinite(e));
847
872
  return new Set(e).size <= 1;
848
873
  }), D(() => O.config, (e) => {
849
- P.value || (N.value = L()), Wt(), K.value.chartWidth = N.value.style.chartWidth;
874
+ P.value || (N.value = L()), Kt(), K.value.chartWidth = N.value.style.chartWidth;
850
875
  }, { deep: !0 }), D(() => O.dataset, (e) => {
851
- Array.isArray(e) && e.length > 0 && (Qe.value = !1), B.value = i({
876
+ Array.isArray(e) && e.length > 0 && (et.value = !1), B.value = r({
852
877
  data: F.value.map((e) => ({
853
878
  ...e,
854
879
  value: [void 0].includes(e.value) ? null : e.value
@@ -856,9 +881,9 @@ var ht = ["innerHTML"], gt = {
856
881
  threshold: N.value.downsample.threshold
857
882
  });
858
883
  }, { deep: !0 });
859
- let B = w(V());
884
+ let B = C(V());
860
885
  function V() {
861
- return i({
886
+ return r({
862
887
  data: F.value.map((e) => N.value.style.animation.show && F.value.length > 1 ? {
863
888
  ...e,
864
889
  value: null
@@ -869,78 +894,78 @@ var ht = ["innerHTML"], gt = {
869
894
  threshold: N.value.downsample.threshold
870
895
  });
871
896
  }
872
- let H = Fe(null), U = Fe(null), ut = w(!1), dt = w(0), ft = w([]), pt = w(""), W = _(() => {
897
+ let H = Le(null), U = Le(null), ft = C(!1), pt = C(0), mt = C([]), ht = C(""), W = g(() => {
873
898
  let e = (z.value || []).map((e) => `${e.period}::${Number.isFinite(e.value) ? e.value : 0}`).join("|"), t = N.value?.style?.animation || {}, n = !!N.value?.gradientPath?.show && !N.value.temperatureColors.show;
874
899
  return `${e}#${!!t.show}#${t.animationFrames || 0}#${n}`;
875
900
  });
876
- function mt() {
877
- dt.value &&= (cancelAnimationFrame(dt.value), 0), ft.value.forEach((e) => clearTimeout(e)), ft.value = [], ut.value = !1;
901
+ function gt() {
902
+ pt.value &&= (cancelAnimationFrame(pt.value), 0), mt.value.forEach((e) => clearTimeout(e)), mt.value = [], ft.value = !1;
878
903
  }
879
- function ht() {
904
+ function _t() {
880
905
  let e = N.value?.style?.animation || {}, t = z.value || [], n = W.value, r = !!N.value.gradientPath.show && !N.value.temperatureColors.show;
881
- if (n && n === pt.value && (ut.value || B.value.length === t.length)) return;
882
- if (mt(), r || !e.show || P.value || t.length <= 1) {
883
- B.value = t, pt.value = n;
906
+ if (n && n === ht.value && (ft.value || B.value.length === t.length)) return;
907
+ if (gt(), r || !e.show || P.value || t.length <= 1 || qe.value) {
908
+ B.value = t, ht.value = n;
884
909
  return;
885
910
  }
886
- ut.value = !0, pt.value = n, B.value = [];
911
+ ft.value = !0, ht.value = n, B.value = [];
887
912
  let i = Math.max(1, Number(e.animationFrames) || 1), a = Math.max(1, Math.floor(i / t.length)), o = 0, s = () => {
888
913
  if (n !== W.value) {
889
- mt();
914
+ gt();
890
915
  return;
891
916
  }
892
917
  if (o < t.length) {
893
918
  B.value.push(t[o]);
894
919
  let e = setTimeout(() => {
895
- dt.value = requestAnimationFrame(s);
920
+ pt.value = requestAnimationFrame(s);
896
921
  }, a);
897
- ft.value.push(e), o += 1;
898
- } else B.value = t, mt();
922
+ mt.value.push(e), o += 1;
923
+ } else B.value = t, gt();
899
924
  };
900
- dt.value = requestAnimationFrame(s);
925
+ pt.value = requestAnimationFrame(s);
901
926
  }
902
927
  D(W, () => {
903
- ht();
904
- }), Ne(() => {
905
- Wt(), ht();
906
- }), Me(() => {
907
- mt();
928
+ _t();
929
+ }), Ie(() => {
930
+ Kt(), _t();
931
+ }), Fe(() => {
932
+ gt();
908
933
  });
909
- let _t = w(0);
934
+ let yt = C(0);
910
935
  D(() => P.value, async (e) => {
911
- e || (await x(), _t.value += 1);
912
- }), D(() => ut.value, async (e) => {
913
- e || P.value || (await x(), _t.value += 1);
936
+ e || (await b(), yt.value += 1);
937
+ }), D(() => ft.value, async (e) => {
938
+ e || P.value || (await b(), yt.value += 1);
914
939
  });
915
- let G = _(() => `sparkline_line_path_${k.value}`), Vt = w(!0);
916
- async function Ht() {
917
- Vt.value = !1, await x(), Vt.value = !0, await x(), st();
940
+ let G = g(() => `sparkline_line_path_${k.value}`), Ut = C(!0);
941
+ async function Wt() {
942
+ Ut.value = !1, await b(), Ut.value = !0, await b(), lt();
918
943
  }
919
- let Ut = _(() => !!N.value.debug);
920
- function Wt() {
921
- if (t(O.dataset) ? (ne({
944
+ let Gt = g(() => !!N.value.debug);
945
+ function Kt() {
946
+ if (ae(O.dataset) ? (fe({
922
947
  componentName: "VueUiSparkline",
923
948
  type: "dataset",
924
- debug: Ut.value
925
- }), Qe.value = !0) : O.dataset.forEach((e, t) => {
926
- re({
949
+ debug: Gt.value
950
+ }), et.value = !0) : O.dataset.forEach((e, t) => {
951
+ le({
927
952
  datasetObject: e,
928
953
  requiredAttributes: ["period", "value"]
929
954
  }).forEach((e) => {
930
- ne({
955
+ fe({
931
956
  componentName: "VueUiSparkline",
932
957
  type: "datasetSerieAttribute",
933
958
  property: e,
934
959
  index: t,
935
- debug: Ut.value
960
+ debug: Gt.value
936
961
  });
937
962
  });
938
- }), t(O.dataset) || (Qe.value = N.value.loading), N.value.responsive) {
939
- let e = ye(() => {
940
- let { width: e, height: t } = be({
963
+ }), ae(O.dataset) || (et.value = N.value.loading), N.value.responsive) {
964
+ let e = Se(() => {
965
+ let { width: e, height: t } = Ce({
941
966
  chart: A.value,
942
- title: N.value.style.title.show && O.showInfo ? Je.value : null,
943
- source: Ye.value
967
+ title: N.value.style.title.show && O.showInfo ? Xe.value : null,
968
+ source: Ze.value
944
969
  });
945
970
  requestAnimationFrame(() => {
946
971
  K.value.width = e, K.value.height = t, K.value.chartWidth = N.value.style.chartWidth / 500 * e, K.value.padding = O.forcedPadding / 500 * e;
@@ -949,15 +974,15 @@ var ht = ["innerHTML"], gt = {
949
974
  H.value && (U.value && H.value.unobserve(U.value), H.value.disconnect()), H.value = new ResizeObserver(e), U.value = A.value.parentNode, H.value.observe(U.value);
950
975
  }
951
976
  }
952
- Me(() => {
977
+ Fe(() => {
953
978
  H.value && (U.value && H.value.unobserve(U.value), H.value.disconnect());
954
979
  });
955
- let K = w({
980
+ let K = C({
956
981
  height: 80 * O.heightRatio,
957
982
  width: 500,
958
983
  chartWidth: N.value.style.chartWidth,
959
984
  padding: O.forcedPadding
960
- }), Gt = ve, q = _(() => {
985
+ }), qt = xe, q = g(() => {
961
986
  let { top: e, right: t, bottom: n, left: r } = N.value.style.padding;
962
987
  return {
963
988
  top: e,
@@ -968,83 +993,83 @@ var ht = ["innerHTML"], gt = {
968
993
  width: O.showInfo && N.value.style.dataLabel.show ? K.value.chartWidth - r - t : K.value.width - K.value.padding - r - t,
969
994
  height: K.value.height - e - n
970
995
  };
971
- }), Kt = _(() => [null, void 0].includes(N.value.style.scaleMin) ? Math.min(...B.value.map((e) => isNaN(e.value) || [
996
+ }), Jt = g(() => [null, void 0].includes(N.value.style.scaleMin) ? Math.min(...B.value.map((e) => isNaN(e.value) || [
972
997
  void 0,
973
998
  null,
974
999
  "NaN",
975
1000
  NaN,
976
1001
  Infinity,
977
1002
  -Infinity
978
- ].includes(e.value) ? 0 : e.value || 0)) : N.value.style.scaleMin), qt = _(() => [null, void 0].includes(N.value.style.scaleMax) ? Math.max(...B.value.map((e) => isNaN(e.value) || [
1003
+ ].includes(e.value) ? 0 : e.value || 0)) : N.value.style.scaleMin), Yt = g(() => [null, void 0].includes(N.value.style.scaleMax) ? Math.max(...B.value.map((e) => isNaN(e.value) || [
979
1004
  void 0,
980
1005
  null,
981
1006
  "NaN",
982
1007
  NaN,
983
1008
  Infinity,
984
1009
  -Infinity
985
- ].includes(e.value) ? 0 : e.value || 0)) : N.value.style.scaleMax), Jt = _(() => {
986
- let e = Kt.value >= 0 ? 0 : Kt.value;
1010
+ ].includes(e.value) ? 0 : e.value || 0)) : N.value.style.scaleMax), Xt = g(() => {
1011
+ let e = Jt.value >= 0 ? 0 : Jt.value;
987
1012
  return Math.abs(e);
988
- }), Yt = _(() => qt.value + Jt.value), Xt = _(() => q.value.bottom - q.value.height * Zt(Jt.value));
989
- function Zt(e) {
990
- return isNaN(e / Yt.value) ? 0 : e / Yt.value;
1013
+ }), Zt = g(() => Yt.value + Xt.value), Qt = g(() => q.value.bottom - q.value.height * $t(Xt.value));
1014
+ function $t(e) {
1015
+ return isNaN(e / Zt.value) ? 0 : e / Zt.value;
991
1016
  }
992
- let Qt = _(() => z.value.length - 1 || 1), $t = w([]), en = 0;
993
- Re(() => {
994
- let e = ++en;
1017
+ let en = g(() => z.value.length - 1 || 1), tn = C([]), nn = 0;
1018
+ Be(() => {
1019
+ let e = ++nn;
995
1020
  (async () => {
996
- let t = await pe({
1021
+ let t = await m({
997
1022
  values: z.value.map((e) => e.period),
998
1023
  maxDatapoints: z.value.length,
999
1024
  formatter: N.value.style.dataLabel.datetimeFormatter,
1000
1025
  start: 0,
1001
1026
  end: z.value.length
1002
1027
  });
1003
- e === en && ($t.value = t);
1028
+ e === nn && (tn.value = t);
1004
1029
  })();
1005
1030
  });
1006
- let J = _(() => B.value.map((e, t) => {
1031
+ let J = g(() => B.value.map((e, t) => {
1007
1032
  let n = isNaN(e.value) || [
1008
1033
  void 0,
1009
1034
  "NaN",
1010
1035
  NaN,
1011
1036
  Infinity,
1012
1037
  -Infinity
1013
- ].includes(e.value) ? 0 : e.value, i = q.value.width / Qt.value;
1038
+ ].includes(e.value) ? 0 : e.value, r = q.value.width / en.value;
1014
1039
  return {
1015
1040
  value: e.value,
1016
1041
  absoluteValue: n,
1017
- period: $t.value && $t.value[t] && $t.value[t].text ? $t.value[t].text : e.period,
1018
- plotValue: n + Jt.value,
1019
- toMax: Zt(n + Jt.value),
1020
- x: q.value.start + t * i,
1021
- y: q.value.bottom - q.value.height * Zt(n + Jt.value),
1042
+ period: tn.value && tn.value[t] && tn.value[t].text ? tn.value[t].text : e.period,
1043
+ plotValue: n + Xt.value,
1044
+ toMax: $t(n + Xt.value),
1045
+ x: q.value.start + t * r,
1046
+ y: q.value.bottom - q.value.height * $t(n + Xt.value),
1022
1047
  id: `plot_${k.value}_${t}`,
1023
- color: Q.value ? N.value.style.bar.color : N.value.style.area.useGradient ? r(N.value.style.line.color, .05 * (1 - t / Qt.value)) : N.value.style.line.color,
1024
- width: i
1048
+ color: Q.value ? N.value.style.bar.color : N.value.style.area.useGradient ? f(N.value.style.line.color, .05 * (1 - t / en.value)) : N.value.style.line.color,
1049
+ width: r
1025
1050
  };
1026
- })), tn = _(() => O.selectedIndex !== void 0 && O.selectedIndex !== null && O.selectedIndex >= 0 && O.selectedIndex < J.value.length ? O.selectedIndex : M.value !== void 0 && M.value !== null && M.value >= 0 && M.value < J.value.length ? M.value : null), Y = w(void 0), X = w(void 0);
1027
- function nn(e, t) {
1051
+ })), rn = g(() => O.selectedIndex !== void 0 && O.selectedIndex !== null && O.selectedIndex >= 0 && O.selectedIndex < J.value.length ? O.selectedIndex : M.value !== void 0 && M.value !== null && M.value >= 0 && M.value < J.value.length ? M.value : null), Y = C(void 0), X = C(void 0);
1052
+ function an(e, t) {
1028
1053
  N.value.events.datapointEnter && N.value.events.datapointEnter({
1029
1054
  datapoint: e,
1030
1055
  seriesIndex: t
1031
- }), M.value = t, j.value = t, Y.value = e, X.value ||= e, Gt("hoverIndex", { index: t });
1056
+ }), M.value = t, j.value = t, Y.value = e, X.value ||= e, qt("hoverIndex", { index: t });
1032
1057
  }
1033
- function rn(e, t) {
1058
+ function on(e, t) {
1034
1059
  N.value.events.datapointLeave && N.value.events.datapointLeave({
1035
1060
  datapoint: e,
1036
1061
  seriesIndex: t
1037
- }), X.value = Y.value, Y.value = void 0, M.value = null, j.value = null, Gt("hoverIndex", { index: void 0 });
1062
+ }), X.value = Y.value, Y.value = void 0, M.value = null, j.value = null, qt("hoverIndex", { index: void 0 });
1038
1063
  }
1039
- let Z = _(() => {
1040
- if (Ke.value) {
1064
+ let Z = g(() => {
1065
+ if (Je.value) {
1041
1066
  let e = J.value.map((e) => e.absoluteValue), t = e.reduce((e, t) => e + t, 0);
1042
1067
  return {
1043
1068
  latest: J.value[J.value.length - 1] ? J.value[J.value.length - 1].absoluteValue : 0,
1044
1069
  sum: t,
1045
1070
  average: t / J.value.length,
1046
- median: oe(e),
1047
- trend: ue(J.value.map(({ x: e, y: t, absoluteValue: n }) => ({
1071
+ median: se(e),
1072
+ trend: ne(J.value.map(({ x: e, y: t, absoluteValue: n }) => ({
1048
1073
  x: e,
1049
1074
  y: t,
1050
1075
  value: n
@@ -1057,18 +1082,18 @@ var ht = ["innerHTML"], gt = {
1057
1082
  median: null,
1058
1083
  trend: null
1059
1084
  };
1060
- }), an = _(() => Ke.value ? N.value.style.dataLabel.valueType === "latest" ? Z.value.latest : N.value.style.dataLabel.valueType === "sum" ? Z.value.sum : N.value.style.dataLabel.valueType === "average" ? Z.value.average : 0 : 0), Q = _(() => N.value.type && N.value.type === "bar");
1061
- function on(e, t) {
1085
+ }), sn = g(() => Je.value ? N.value.style.dataLabel.valueType === "latest" ? Z.value.latest : N.value.style.dataLabel.valueType === "sum" ? Z.value.sum : N.value.style.dataLabel.valueType === "average" ? Z.value.average : 0 : 0), Q = g(() => N.value.type && N.value.type === "bar");
1086
+ function cn(e, t) {
1062
1087
  N.value.events.datapointClick && N.value.events.datapointClick({
1063
1088
  datapoint: e,
1064
1089
  seriesIndex: t
1065
- }), Gt("selectDatapoint", {
1090
+ }), qt("selectDatapoint", {
1066
1091
  datapoint: e,
1067
1092
  index: t
1068
1093
  });
1069
1094
  }
1070
- let sn = _(() => Array.isArray(N.value.style.line.dashIndices) && N.value.style.line.dashIndices.length > 0), cn = _(() => N.value.style.line.cutNullValues);
1071
- function ln(e) {
1095
+ let ln = g(() => Array.isArray(N.value.style.line.dashIndices) && N.value.style.line.dashIndices.length > 0), un = g(() => N.value.style.line.cutNullValues);
1096
+ function dn(e) {
1072
1097
  return ![
1073
1098
  null,
1074
1099
  void 0,
@@ -1078,58 +1103,58 @@ var ht = ["innerHTML"], gt = {
1078
1103
  -Infinity
1079
1104
  ].includes(e);
1080
1105
  }
1081
- function un(e, t) {
1082
- let n = e[t - 1], r = e[t + 1], i = !!n && !!r && n.value == null && r.value == null || !n && !!r && r.value == null || !!n && !r && n.value == null;
1083
- return ln(e[t]?.value) && i && cn.value;
1084
- }
1085
- function dn(e, t) {
1086
- return Y.value && e.id === Y.value.id || tn.value === t || F.value.length === 1;
1087
- }
1088
1106
  function fn(e, t) {
1089
- return Q.value || !ln(e?.value) ? !1 : N.value.style.plot.show && dn(e, t) || un(J.value, t);
1107
+ let n = e[t - 1], r = e[t + 1], i = !!n && !!r && n.value == null && r.value == null || !n && !!r && r.value == null || !!n && !r && n.value == null;
1108
+ return dn(e[t]?.value) && i && un.value;
1090
1109
  }
1091
1110
  function pn(e, t) {
1092
- return Math.max(1, dn(e, t) ? N.value.style.plot.radius : N.value.style.plot.radius * .7);
1111
+ return Y.value && e.id === Y.value.id || rn.value === t || F.value.length === 1;
1093
1112
  }
1094
1113
  function mn(e, t) {
1095
- return dn(e, t) ? N.value.style.plot.stroke : N.value.style.backgroundColor;
1114
+ return Q.value || !dn(e?.value) ? !1 : N.value.style.plot.show && pn(e, t) || fn(J.value, t);
1115
+ }
1116
+ function hn(e, t) {
1117
+ return Math.max(1, pn(e, t) ? N.value.style.plot.radius : N.value.style.plot.radius * .7);
1118
+ }
1119
+ function gn(e, t) {
1120
+ return pn(e, t) ? N.value.style.plot.stroke : N.value.style.backgroundColor;
1096
1121
  }
1097
- let hn = _(() => cn.value ? J.value : J.value.filter((e) => e.value !== null)), gn = _(() => J.value.filter((e) => e.value !== null)), _n = _(() => gn.value.length > 1), vn = _(() => Q.value || !_n.value ? "" : cn.value ? a(J.value) : u(hn.value)), yn = _(() => Q.value || !_n.value ? "" : cn.value ? f(J.value) : n(hn.value)), bn = _(() => Q.value || !sn.value || !_n.value ? [] : s(hn.value, N.value.style.line.dashIndices)), xn = _(() => Q.value || !sn.value || !_n.value ? [] : o(hn.value, N.value.style.line.dashIndices)), Sn = _(() => Q.value || !N.value.style.area.show || !_n.value ? [] : N.value.style.line.smooth ? l(hn.value, q.value.bottom, cn.value).filter(Boolean) : (cn.value ? ae(J.value, q.value.bottom) : d(hn.value, q.value.bottom)).split(";").filter(Boolean).map((e) => `M${e}Z`)), Cn = _(() => Q.value || !N.value.gradientPath.show || N.value.temperatureColors.show ? "" : `M ${(N.value.style.line.smooth ? vn.value : yn.value) || "0,0"}`), wn = _(() => {
1122
+ let _n = g(() => un.value ? J.value : J.value.filter((e) => e.value !== null)), vn = g(() => J.value.filter((e) => e.value !== null)), yn = g(() => vn.value.length > 1), bn = g(() => Q.value || !yn.value ? "" : un.value ? a(J.value) : l(_n.value)), xn = g(() => Q.value || !yn.value ? "" : un.value ? i(J.value) : ee(_n.value)), Sn = g(() => Q.value || !ln.value || !yn.value ? [] : s(_n.value, N.value.style.line.dashIndices)), Cn = g(() => Q.value || !ln.value || !yn.value ? [] : d(_n.value, N.value.style.line.dashIndices)), wn = g(() => Q.value || !N.value.style.area.show || !yn.value ? [] : N.value.style.line.smooth ? c(_n.value, q.value.bottom, un.value).filter(Boolean) : (un.value ? t(J.value, q.value.bottom) : oe(_n.value, q.value.bottom)).split(";").filter(Boolean).map((e) => `M${e}Z`)), Tn = g(() => Q.value || !N.value.gradientPath.show || N.value.temperatureColors.show ? "" : `M ${(N.value.style.line.smooth ? bn.value : xn.value) || "0,0"}`), En = g(() => {
1098
1123
  if (!N.value.temperatureColors.show) return null;
1099
1124
  let e = N.value.temperatureColors.colors;
1100
- return !Array.isArray(e) || !e.length ? null : e.map((e) => de(e));
1101
- }), $ = _(() => {
1125
+ return !Array.isArray(e) || !e.length ? null : e.map((e) => u(e));
1126
+ }), $ = g(() => {
1102
1127
  if (!N.value.temperatureColors.show) return null;
1103
1128
  let e = N.value.temperatureColors.colors;
1104
- return !Array.isArray(e) || !e.length ? null : e.map((e) => de(e));
1129
+ return !Array.isArray(e) || !e.length ? null : e.map((e) => u(e));
1105
1130
  });
1106
- function Tn(e) {
1131
+ function Dn(e) {
1107
1132
  if (!Number.isFinite(e?.y)) return 0;
1108
1133
  let t = q.value.height || 1, n = (e.y - q.value.top) / t;
1109
1134
  return Math.min(1, Math.max(0, n));
1110
1135
  }
1111
- function En(e) {
1112
- let t = wn.value;
1113
- return !Array.isArray(t) || !t.length ? e.color : fe({
1136
+ function On(e) {
1137
+ let t = En.value;
1138
+ return !Array.isArray(t) || !t.length ? e.color : te({
1114
1139
  colors: t,
1115
- ratio: Tn(e)
1140
+ ratio: Dn(e)
1116
1141
  });
1117
1142
  }
1118
1143
  D(() => [
1119
- ot.value,
1144
+ ct.value,
1120
1145
  G.value,
1121
1146
  J.value.length,
1122
1147
  K.value.width,
1123
1148
  K.value.height,
1124
1149
  N.value?.style?.line?.smooth
1125
1150
  ], async () => {
1126
- await x(), st();
1127
- }, { immediate: !0 }), Ne(async () => {
1128
- await x(), st();
1151
+ await b(), lt();
1152
+ }, { immediate: !0 }), Ie(async () => {
1153
+ await b(), lt();
1129
1154
  }), D(() => P.value, async (e) => {
1130
- e || await Ht();
1131
- }), D(() => ut.value, async (e) => {
1132
- e || P.value || await Ht();
1155
+ e || await Wt();
1156
+ }), D(() => ft.value, async (e) => {
1157
+ e || P.value || await Wt();
1133
1158
  }), D(() => O.selectedIndex, (e) => {
1134
1159
  if (e == null) {
1135
1160
  M.value = null, j.value = null, Y.value = void 0;
@@ -1139,22 +1164,22 @@ var ht = ["innerHTML"], gt = {
1139
1164
  let t = J.value[e];
1140
1165
  t && (M.value = e, j.value = e, Y.value = t);
1141
1166
  });
1142
- let Dn = w(!1);
1143
- function On() {
1144
- let e = tn.value;
1167
+ let kn = C(!1);
1168
+ function An() {
1169
+ let e = rn.value;
1145
1170
  if (e !== null && e >= 0 && e < J.value.length) {
1146
1171
  let t = J.value[e];
1147
1172
  if (t) {
1148
- j.value = e, Y.value = t, M.value = e, Dn.value = !0;
1173
+ j.value = e, Y.value = t, M.value = e, kn.value = !0;
1149
1174
  return;
1150
1175
  }
1151
1176
  }
1152
- j.value = null, !Y.value && J.value.length && nn(J.value.at(-1), J.value.length - 1), Dn.value = !0;
1177
+ j.value = null, !Y.value && J.value.length && an(J.value.at(-1), J.value.length - 1), kn.value = !0;
1153
1178
  }
1154
- function kn() {
1155
- X.value = Y.value, (O.selectedIndex === void 0 || O.selectedIndex === null) && (j.value = null, Y.value = void 0, M.value = null, Gt("hoverIndex", { index: void 0 })), Dn.value = !1;
1179
+ function jn() {
1180
+ X.value = Y.value, (O.selectedIndex === void 0 || O.selectedIndex === null) && (j.value = null, Y.value = void 0, M.value = null, qt("hoverIndex", { index: void 0 })), kn.value = !1;
1156
1181
  }
1157
- function An(e) {
1182
+ function Mn(e) {
1158
1183
  if (!I.value || document.activeElement !== I.value) return;
1159
1184
  X.value = Y.value;
1160
1185
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight";
@@ -1165,28 +1190,28 @@ var ht = ["innerHTML"], gt = {
1165
1190
  let i = j.value, a = i !== null && i >= 0 && i < r, o = Y.value ? J.value.findIndex((e) => e.id === Y.value.id) : -1;
1166
1191
  a ? n ? (i += 1, i >= r && (i = 0)) : t && (--i, i < 0 && (i = r - 1)) : o !== null && o >= 0 && o < r ? (i = n ? o + 1 : o - 1, i >= r && (i = 0), i < 0 && (i = r - 1)) : i = n ? 0 : r - 1;
1167
1192
  let s = J.value[i];
1168
- s && (j.value = i, nn(s, i));
1193
+ s && (j.value = i, an(s, i));
1169
1194
  }
1170
- let jn = _(() => ({
1195
+ let Nn = g(() => ({
1171
1196
  headers: [N.value.translations.period, N.value.translations.value],
1172
1197
  rows: J.value.map((e) => [e.period, e.absoluteValue])
1173
1198
  }));
1174
- return (t, n) => (C(), y("div", {
1199
+ return (t, r) => (S(), v("div", {
1175
1200
  ref_key: "sparklineChart",
1176
1201
  ref: A,
1177
1202
  class: "vue-data-ui-component vue-ui-sparkline",
1178
1203
  id: k.value,
1179
- style: S(`width:100%;font-family:${N.value.style.fontFamily};`)
1204
+ style: x(`width:100%;font-family:${N.value.style.fontFamily};`)
1180
1205
  }, [
1181
- b("p", {
1206
+ y("p", {
1182
1207
  id: `chart-instructions-${k.value}`,
1183
1208
  class: "sr-only"
1184
- }, Ie(N.value.a11y.translations.keyboardNavigation), 9, yt),
1185
- jn.value?.rows?.length ? (C(), Ee(Se, {
1209
+ }, Re(N.value.a11y.translations.keyboardNavigation), 9, xt),
1210
+ Nn.value?.rows?.length ? (S(), ke(Te, {
1186
1211
  key: 0,
1187
1212
  uid: k.value,
1188
- head: jn.value.headers,
1189
- body: jn.value.rows,
1213
+ head: Nn.value.headers,
1214
+ body: Nn.value.rows,
1190
1215
  notice: N.value.a11y.translations.tableAvailable,
1191
1216
  caption: N.value.a11y.translations.tableCaption
1192
1217
  }, null, 8, [
@@ -1195,8 +1220,8 @@ var ht = ["innerHTML"], gt = {
1195
1220
  "body",
1196
1221
  "notice",
1197
1222
  "caption"
1198
- ])) : v("", !0),
1199
- Pe(t.$slots, "before", je(Ae({
1223
+ ])) : _("", !0),
1224
+ T(t.$slots, "before", Pe(Ne({
1200
1225
  selected: Y.value,
1201
1226
  latest: Z.value.latest,
1202
1227
  sum: Z.value.sum,
@@ -1204,37 +1229,37 @@ var ht = ["innerHTML"], gt = {
1204
1229
  median: Z.value.median,
1205
1230
  trend: Z.value.trend
1206
1231
  })), void 0, !0),
1207
- N.value.style.title.show && e.showInfo ? (C(), y("div", {
1232
+ N.value.style.title.show && e.showInfo ? (S(), v("div", {
1208
1233
  key: 1,
1209
1234
  ref_key: "chartTitle",
1210
- ref: Je,
1235
+ ref: Xe,
1211
1236
  class: "vue-ui-sparkline-title",
1212
- style: S(`display:flex;align-items:center;width:100%;color:${N.value.style.title.color};background:${N.value.style.backgroundColor};justify-content:${N.value.style.title.textAlign === "left" ? "flex-start" : N.value.style.title.textAlign === "right" ? "flex-end" : "center"};height:${N.value.style.title.fontSize * 2}px;font-size:${N.value.style.title.fontSize}px;font-weight:${N.value.style.title.bold ? "bold" : "normal"};`)
1213
- }, [b("span", { style: S(`padding:${N.value.style.title.textAlign === "left" ? "0 0 0 12px" : N.value.style.title.textAlign === "right" ? "0 12px 0 0" : "0"}`) }, Ie(Y.value ? Y.value.period : N.value.style.title.text), 5)], 4)) : v("", !0),
1214
- b("div", bt, [(C(), y("svg", {
1237
+ style: x(`display:flex;align-items:center;width:100%;color:${N.value.style.title.color};background:${N.value.style.backgroundColor};justify-content:${N.value.style.title.textAlign === "left" ? "flex-start" : N.value.style.title.textAlign === "right" ? "flex-end" : "center"};height:${N.value.style.title.fontSize * 2}px;font-size:${N.value.style.title.fontSize}px;font-weight:${N.value.style.title.bold ? "bold" : "normal"};`)
1238
+ }, [y("span", { style: x(`padding:${N.value.style.title.textAlign === "left" ? "0 0 0 12px" : N.value.style.title.textAlign === "right" ? "0 12px 0 0" : "0"}`) }, Re(Y.value ? Y.value.period : N.value.style.title.text), 5)], 4)) : _("", !0),
1239
+ y("div", St, [(S(), v("svg", {
1215
1240
  ref_key: "svgRef",
1216
1241
  ref: I,
1217
- xmlns: E(le),
1242
+ xmlns: E(de),
1218
1243
  viewBox: `0 0 ${K.value.width} ${K.value.height}`,
1219
- style: S(`background:${N.value.style.backgroundColor};overflow:visible;direction:ltr`),
1244
+ style: x(`background:${N.value.style.backgroundColor};overflow:visible;direction:ltr`),
1220
1245
  tabindex: "0",
1221
1246
  "aria-describedby": `chart-instructions-${k.value}`,
1222
- onMouseleave: n[0] ||= (e) => X.value = void 0,
1223
- onFocus: On,
1224
- onBlur: kn,
1225
- onKeydown: An
1247
+ onMouseleave: r[0] ||= (e) => X.value = void 0,
1248
+ onFocus: An,
1249
+ onBlur: jn,
1250
+ onKeydown: Mn
1226
1251
  }, [
1227
- Oe(E(Be)),
1228
- t.$slots["chart-background"] ? (C(), y("foreignObject", {
1252
+ je(E(He)),
1253
+ t.$slots["chart-background"] ? (S(), v("foreignObject", {
1229
1254
  key: 0,
1230
1255
  x: 0,
1231
1256
  y: 0,
1232
1257
  width: K.value.width <= 0 ? 10 : K.value.width,
1233
1258
  height: K.value.height <= 0 ? 10 : K.value.height,
1234
1259
  style: { pointerEvents: "none" }
1235
- }, [Pe(t.$slots, "chart-background", {}, void 0, !0)], 8, St)) : v("", !0),
1236
- b("defs", null, [
1237
- Oe(xe, {
1260
+ }, [T(t.$slots, "chart-background", {}, void 0, !0)], 8, wt)) : _("", !0),
1261
+ y("defs", null, [
1262
+ je(we, {
1238
1263
  t: "linear",
1239
1264
  x1: "0%",
1240
1265
  y1: "0%",
@@ -1243,15 +1268,15 @@ var ht = ["innerHTML"], gt = {
1243
1268
  id: `sparkline_gradient_${k.value}`,
1244
1269
  stops: [[
1245
1270
  "0%",
1246
- E(m)(E(r)(N.value.style.area.color, .05), N.value.style.area.opacity),
1271
+ E(n)(E(f)(N.value.style.area.color, .05), N.value.style.area.opacity),
1247
1272
  1
1248
1273
  ], [
1249
1274
  "100%",
1250
- E(m)(N.value.style.area.color, N.value.style.area.opacity),
1275
+ E(n)(N.value.style.area.color, N.value.style.area.opacity),
1251
1276
  1
1252
1277
  ]]
1253
1278
  }, null, 8, ["id", "stops"]),
1254
- Oe(xe, {
1279
+ je(we, {
1255
1280
  t: "linear",
1256
1281
  x2: "0%",
1257
1282
  y2: "100%",
@@ -1262,18 +1287,18 @@ var ht = ["innerHTML"], gt = {
1262
1287
  1
1263
1288
  ], [
1264
1289
  "100%",
1265
- E(r)(N.value.style.bar.color, .05),
1290
+ E(f)(N.value.style.bar.color, .05),
1266
1291
  1
1267
1292
  ]]
1268
1293
  }, null, 8, ["id", "stops"]),
1269
- Oe(xe, {
1294
+ je(we, {
1270
1295
  t: "linear",
1271
1296
  x2: "0%",
1272
1297
  y2: "100%",
1273
1298
  id: `sparkline_bar_gradient_neg_${k.value}`,
1274
1299
  stops: [[
1275
1300
  "0%",
1276
- E(r)(N.value.style.bar.color, .05),
1301
+ E(f)(N.value.style.bar.color, .05),
1277
1302
  1
1278
1303
  ], [
1279
1304
  "100%",
@@ -1281,19 +1306,19 @@ var ht = ["innerHTML"], gt = {
1281
1306
  1
1282
1307
  ]]
1283
1308
  }, null, 8, ["id", "stops"]),
1284
- b("filter", {
1309
+ y("filter", {
1285
1310
  id: `sparkline_pulse_glow_${k.value}`,
1286
1311
  filterUnits: "userSpaceOnUse",
1287
1312
  x: "-50",
1288
1313
  y: "-50",
1289
1314
  width: "100",
1290
1315
  height: "100"
1291
- }, [...n[1] ||= [b("feGaussianBlur", {
1316
+ }, [...r[1] ||= [y("feGaussianBlur", {
1292
1317
  in: "SourceGraphic",
1293
1318
  stdDeviation: "3",
1294
1319
  result: "blur"
1295
- }, null, -1), b("feMerge", null, [b("feMergeNode", { in: "blur" }), b("feMergeNode", { in: "SourceGraphic" })], -1)]], 8, Ct),
1296
- N.value.temperatureColors.show && $.value ? (C(), y("linearGradient", {
1320
+ }, null, -1), y("feMerge", null, [y("feMergeNode", { in: "blur" }), y("feMergeNode", { in: "SourceGraphic" })], -1)]], 8, Tt),
1321
+ N.value.temperatureColors.show && $.value ? (S(), v("linearGradient", {
1297
1322
  key: 0,
1298
1323
  id: `temperature_grad_sparkline_${k.value}`,
1299
1324
  gradientUnits: "userSpaceOnUse",
@@ -1301,31 +1326,31 @@ var ht = ["innerHTML"], gt = {
1301
1326
  x2: "0",
1302
1327
  y1: q.value.top,
1303
1328
  y2: q.value.bottom
1304
- }, [(C(!0), y(g, null, T($.value, (e, t) => (C(), y("stop", {
1329
+ }, [(S(!0), v(h, null, w($.value, (e, t) => (S(), v("stop", {
1305
1330
  key: `temperature_grad_stop_${t}_${k.value}`,
1306
1331
  "stop-color": e,
1307
- offset: $.value.length === 1 ? "0%" : E(ee)(t, $.value.length)
1308
- }, null, 8, Tt))), 128))], 8, wt)) : v("", !0)
1332
+ offset: $.value.length === 1 ? "0%" : E(pe)(t, $.value.length)
1333
+ }, null, 8, Dt))), 128))], 8, Et)) : _("", !0)
1309
1334
  ]),
1310
- N.value.style.area.show && !Q.value && Sn.value.length ? (C(), y("g", Et, [(C(!0), y(g, null, T(Sn.value, (e, t) => (C(), y("path", {
1335
+ N.value.style.area.show && !Q.value && wn.value.length ? (S(), v("g", Ot, [(S(!0), v(h, null, w(wn.value, (e, t) => (S(), v("path", {
1311
1336
  key: `sparkline_area_${t}_${k.value}`,
1312
1337
  class: "vue-ui-sparkline-area",
1313
1338
  "data-cy": N.value.style.line.smooth ? "sparkline-smooth-area" : "sparkline-angle-area",
1314
1339
  d: e,
1315
- fill: N.value.style.area.useGradient ? `url(#sparkline_gradient_${k.value})` : E(m)(N.value.style.area.color, N.value.style.area.opacity),
1340
+ fill: N.value.style.area.useGradient ? `url(#sparkline_gradient_${k.value})` : E(n)(N.value.style.area.color, N.value.style.area.opacity),
1316
1341
  "stroke-linecap": "round",
1317
1342
  "stroke-linejoin": "round",
1318
- style: S({ transition: E(P) ? void 0 : "all 0.2s" })
1319
- }, null, 12, Dt))), 128))])) : v("", !0),
1320
- N.value.style.line.smooth && !Q.value ? (C(), y(g, { key: 2 }, [b("path", {
1343
+ style: x({ transition: E(P) ? void 0 : "all 0.2s" })
1344
+ }, null, 12, kt))), 128))])) : _("", !0),
1345
+ N.value.style.line.smooth && !Q.value ? (S(), v(h, { key: 2 }, [y("path", {
1321
1346
  id: G.value,
1322
- d: `M ${vn.value || "0,0"}`,
1347
+ d: `M ${bn.value || "0,0"}`,
1323
1348
  fill: "none",
1324
1349
  stroke: "transparent",
1325
1350
  "stroke-width": N.value.style.line.strokeWidth,
1326
1351
  "stroke-linecap": "round",
1327
1352
  "stroke-linejoin": "round"
1328
- }, null, 8, Ot), sn.value ? (C(!0), y(g, { key: 0 }, T(bn.value, (e) => (C(), y("path", {
1353
+ }, null, 8, At), ln.value ? (S(!0), v(h, { key: 0 }, w(Sn.value, (e) => (S(), v("path", {
1329
1354
  key: e.path,
1330
1355
  class: "vue-ui-sparkline-path",
1331
1356
  d: `M ${e.path}`,
@@ -1335,27 +1360,27 @@ var ht = ["innerHTML"], gt = {
1335
1360
  "stroke-linecap": "round",
1336
1361
  "stroke-linejoin": "round",
1337
1362
  "stroke-dasharray": e.dashed ? N.value.style.line.dashArray : 0,
1338
- style: S({ transition: E(P) ? void 0 : "all 0.2s" })
1339
- }, null, 12, kt))), 128)) : (C(), y("path", {
1363
+ style: x({ transition: E(P) ? void 0 : "all 0.2s" })
1364
+ }, null, 12, jt))), 128)) : (S(), v("path", {
1340
1365
  key: 1,
1341
1366
  class: "vue-ui-sparkline-path",
1342
- d: `M ${vn.value || "0,0"}`,
1367
+ d: `M ${bn.value || "0,0"}`,
1343
1368
  stroke: $.value ? `url(#temperature_grad_sparkline_${k.value})` : N.value.style.line.color,
1344
1369
  fill: "none",
1345
1370
  "stroke-width": N.value.style.line.strokeWidth,
1346
1371
  "stroke-linecap": "round",
1347
1372
  "stroke-linejoin": "round",
1348
- style: S({ transition: E(P) ? void 0 : "all 0.2s" })
1349
- }, null, 12, At))], 64)) : v("", !0),
1350
- !N.value.style.line.smooth && !Q.value ? (C(), y(g, { key: 3 }, [b("path", {
1373
+ style: x({ transition: E(P) ? void 0 : "all 0.2s" })
1374
+ }, null, 12, Mt))], 64)) : _("", !0),
1375
+ !N.value.style.line.smooth && !Q.value ? (S(), v(h, { key: 3 }, [y("path", {
1351
1376
  id: G.value,
1352
- d: `M ${yn.value || "0,0"}`,
1377
+ d: `M ${xn.value || "0,0"}`,
1353
1378
  fill: "none",
1354
1379
  stroke: "transparent",
1355
1380
  "stroke-width": N.value.style.line.strokeWidth,
1356
1381
  "stroke-linecap": "round",
1357
1382
  "stroke-linejoin": "round"
1358
- }, null, 8, jt), sn.value ? (C(!0), y(g, { key: 0 }, T(xn.value, (e) => (C(), y("path", {
1383
+ }, null, 8, Nt), ln.value ? (S(!0), v(h, { key: 0 }, w(Cn.value, (e) => (S(), v("path", {
1359
1384
  key: e.path,
1360
1385
  class: "vue-ui-sparkline-path",
1361
1386
  d: `M ${e.path}`,
@@ -1365,21 +1390,21 @@ var ht = ["innerHTML"], gt = {
1365
1390
  "stroke-linecap": "round",
1366
1391
  "stroke-linejoin": "round",
1367
1392
  "stroke-dasharray": e.dashed ? N.value.style.line.dashArray * 2 : 0,
1368
- style: S({ transition: E(P) ? void 0 : "all 0.2s" })
1369
- }, null, 12, Mt))), 128)) : (C(), y("path", {
1393
+ style: x({ transition: E(P) ? void 0 : "all 0.2s" })
1394
+ }, null, 12, Pt))), 128)) : (S(), v("path", {
1370
1395
  key: 1,
1371
1396
  class: "vue-ui-sparkline-path",
1372
- d: `M ${yn.value || "0,0"}`,
1397
+ d: `M ${xn.value || "0,0"}`,
1373
1398
  stroke: $.value ? `url(#temperature_grad_sparkline_${k.value})` : N.value.style.line.color,
1374
1399
  fill: "none",
1375
1400
  "stroke-width": N.value.style.line.strokeWidth,
1376
1401
  "stroke-linecap": "round",
1377
1402
  "stroke-linejoin": "round",
1378
- style: S({ transition: E(P) ? void 0 : "all 0.2s" })
1379
- }, null, 12, Nt))], 64)) : v("", !0),
1380
- Cn.value && !$.value ? (C(), Ee(gt, {
1403
+ style: x({ transition: E(P) ? void 0 : "all 0.2s" })
1404
+ }, null, 12, Ft))], 64)) : _("", !0),
1405
+ Tn.value && !$.value ? (S(), ke(vt, {
1381
1406
  key: 4,
1382
- svgPathData: Cn.value,
1407
+ svgPathData: Tn.value,
1383
1408
  enabled: N.value.gradientPath.show && !Q.value && !$.value,
1384
1409
  strokeWidth: N.value.style.line.strokeWidth,
1385
1410
  highColor: N.value.gradientPath.colors.high,
@@ -1392,23 +1417,23 @@ var ht = ["innerHTML"], gt = {
1392
1417
  "highColor",
1393
1418
  "lowColor",
1394
1419
  "segments"
1395
- ])) : v("", !0),
1396
- Vt.value && ot.value ? (C(), Ee(qe, {
1420
+ ])) : _("", !0),
1421
+ Ut.value && ct.value ? (S(), ke(Ye, {
1397
1422
  key: 5,
1398
1423
  uid: k.value,
1399
1424
  svgRef: E(I),
1400
1425
  pulsePathId: G.value,
1401
- pulsePathLength: et.value,
1402
- pulseDur: $e.value,
1403
- pulseBegin: tt.value,
1404
- pulseRepeatCount: rt.value,
1405
- pulseFillMode: it.value,
1406
- pulseKeyPoints: nt.value,
1407
- pulseMotion: ct.value,
1426
+ pulsePathLength: nt.value,
1427
+ pulseDur: tt.value,
1428
+ pulseBegin: rt.value,
1429
+ pulseRepeatCount: at.value,
1430
+ pulseFillMode: ot.value,
1431
+ pulseKeyPoints: it.value,
1432
+ pulseMotion: ut.value,
1408
1433
  pulse: R.value,
1409
- pulseTrail: lt.value,
1410
- pulseTrailLength: at.value,
1411
- prefersReducedMotion: E(Ge),
1434
+ pulseTrail: dt.value,
1435
+ pulseTrailLength: st.value,
1436
+ prefersReducedMotion: E(qe),
1412
1437
  loading: E(P),
1413
1438
  isBar: Q.value
1414
1439
  }, null, 8, [
@@ -1428,16 +1453,16 @@ var ht = ["innerHTML"], gt = {
1428
1453
  "prefersReducedMotion",
1429
1454
  "loading",
1430
1455
  "isBar"
1431
- ])) : v("", !0),
1432
- (C(!0), y(g, null, T(J.value, (e, t) => (C(), y("g", null, [Q.value ? (C(), y("rect", {
1456
+ ])) : _("", !0),
1457
+ (S(!0), v(h, null, w(J.value, (e, t) => (S(), v("g", null, [Q.value ? (S(), v("rect", {
1433
1458
  key: 0,
1434
1459
  x: e.x - e.width / 2,
1435
- y: isNaN(e.absoluteValue > 0 ? e.y : Xt.value) ? 0 : e.absoluteValue > 0 ? e.y : Xt.value,
1460
+ y: isNaN(e.absoluteValue > 0 ? e.y : Qt.value) ? 0 : e.absoluteValue > 0 ? e.y : Qt.value,
1436
1461
  width: e.width,
1437
- height: isNaN(Math.abs(e.y - Xt.value)) ? 0 : Math.abs(e.y - Xt.value),
1462
+ height: isNaN(Math.abs(e.y - Qt.value)) ? 0 : Math.abs(e.y - Qt.value),
1438
1463
  fill: e.absoluteValue > 0 ? `url(#sparkline_bar_gradient_pos_${k.value})` : `url(#sparkline_bar_gradient_neg_${k.value})`,
1439
1464
  rx: N.value.style.bar.borderRadius
1440
- }, null, 8, Pt)) : v("", !0), N.value.style.verticalIndicator.show && (Y.value && e.id === Y.value.id || tn.value === t) ? (C(), y("line", {
1465
+ }, null, 8, It)) : _("", !0), N.value.style.verticalIndicator.show && (Y.value && e.id === Y.value.id || rn.value === t) ? (S(), v("line", {
1441
1466
  key: 1,
1442
1467
  x1: e.x,
1443
1468
  x2: e.x,
@@ -1447,67 +1472,67 @@ var ht = ["innerHTML"], gt = {
1447
1472
  "stroke-width": N.value.style.verticalIndicator.strokeWidth,
1448
1473
  "stroke-linecap": "round",
1449
1474
  "stroke-dasharray": N.value.style.verticalIndicator.strokeDasharray || 0
1450
- }, null, 8, Ft)) : v("", !0)]))), 256)),
1451
- Kt.value < 0 ? (C(), y("line", {
1475
+ }, null, 8, Lt)) : _("", !0)]))), 256)),
1476
+ Jt.value < 0 ? (S(), v("line", {
1452
1477
  key: 6,
1453
1478
  x1: q.value.start,
1454
1479
  x2: q.value.start + q.value.width,
1455
- y1: E(te)(Xt.value, q.value.bottom),
1456
- y2: E(te)(Xt.value, q.value.bottom),
1480
+ y1: E(ce)(Qt.value, q.value.bottom),
1481
+ y2: E(ce)(Qt.value, q.value.bottom),
1457
1482
  stroke: N.value.style.zeroLine.color,
1458
1483
  "stroke-dasharray": N.value.style.zeroLine.strokeWidth * 2,
1459
1484
  "stroke-width": N.value.style.zeroLine.strokeWidth,
1460
1485
  "stroke-linecap": "round"
1461
- }, null, 8, It)) : v("", !0),
1462
- (C(!0), y(g, null, T(J.value, (e, t) => (C(), y("g", { key: `sparkline_plot_${e.id}` }, [fn(e, t) ? (C(), y("circle", {
1486
+ }, null, 8, Rt)) : _("", !0),
1487
+ (S(!0), v(h, null, w(J.value, (e, t) => (S(), v("g", { key: `sparkline_plot_${e.id}` }, [mn(e, t) ? (S(), v("circle", {
1463
1488
  key: 0,
1464
1489
  cx: e.x,
1465
1490
  cy: e.y,
1466
- r: pn(e, t),
1467
- fill: En(e),
1468
- stroke: mn(e, t),
1491
+ r: hn(e, t),
1492
+ fill: On(e),
1493
+ stroke: gn(e, t),
1469
1494
  "stroke-width": N.value.style.plot.strokeWidth
1470
- }, null, 8, Lt)) : v("", !0)]))), 128)),
1471
- e.showInfo && N.value.style.dataLabel.show ? (C(), y("text", {
1495
+ }, null, 8, zt)) : _("", !0)]))), 128)),
1496
+ e.showInfo && N.value.style.dataLabel.show ? (S(), v("text", {
1472
1497
  key: 7,
1473
1498
  x: N.value.style.dataLabel.position === "left" ? 12 + N.value.style.dataLabel.offsetX : q.value.width + 12 + N.value.style.dataLabel.offsetX,
1474
1499
  y: K.value.height / 2 + N.value.style.dataLabel.fontSize / 2.5 + N.value.style.dataLabel.offsetY,
1475
1500
  "font-size": N.value.style.dataLabel.fontSize,
1476
1501
  "font-weight": N.value.style.dataLabel.bold ? "bold" : "normal",
1477
1502
  fill: N.value.style.dataLabel.color
1478
- }, Ie(Y.value ? E(ie)(N.value.style.dataLabel.formatter, Y.value.absoluteValue, E(p)({
1503
+ }, Re(Y.value ? E(re)(N.value.style.dataLabel.formatter, Y.value.absoluteValue, E(p)({
1479
1504
  p: N.value.style.dataLabel.prefix,
1480
1505
  v: Y.value.absoluteValue,
1481
1506
  s: N.value.style.dataLabel.suffix,
1482
1507
  r: N.value.style.dataLabel.roundingValue
1483
- }), { datapoint: Y.value }) : E(ie)(N.value.style.dataLabel.formatter, an.value, E(p)({
1508
+ }), { datapoint: Y.value }) : E(re)(N.value.style.dataLabel.formatter, sn.value, E(p)({
1484
1509
  p: N.value.style.dataLabel.prefix,
1485
- v: an.value,
1510
+ v: sn.value,
1486
1511
  s: N.value.style.dataLabel.suffix,
1487
1512
  r: N.value.style.dataLabel.roundingValue
1488
- }))), 9, Rt)) : v("", !0),
1489
- (C(!0), y(g, null, T(J.value, (e, t) => (C(), y("rect", {
1490
- x: e.x - (q.value.width / (Qt.value + 1) > K.value.padding ? K.value.padding : q.value.width / (Qt.value + 1)) / 2,
1513
+ }))), 9, Bt)) : _("", !0),
1514
+ (S(!0), v(h, null, w(J.value, (e, t) => (S(), v("rect", {
1515
+ x: e.x - (q.value.width / (en.value + 1) > K.value.padding ? K.value.padding : q.value.width / (en.value + 1)) / 2,
1491
1516
  y: q.value.top - 6,
1492
1517
  height: q.value.height + 6,
1493
- width: q.value.width / (Qt.value + 1) > K.value.padding ? K.value.padding : q.value.width / (Qt.value + 1),
1518
+ width: q.value.width / (en.value + 1) > K.value.padding ? K.value.padding : q.value.width / (en.value + 1),
1494
1519
  fill: "transparent",
1495
- onMouseenter: () => nn(e, t),
1496
- onMouseleave: () => rn(e, t),
1497
- onClick: () => on(e, t)
1498
- }, null, 40, zt))), 256)),
1499
- Pe(t.$slots, "svg", { svg: {
1520
+ onMouseenter: () => an(e, t),
1521
+ onMouseleave: () => on(e, t),
1522
+ onClick: () => cn(e, t)
1523
+ }, null, 40, Vt))), 256)),
1524
+ T(t.$slots, "svg", { svg: {
1500
1525
  ...K.value,
1501
1526
  drawingArea: q.value,
1502
- timeLabels: $t.value,
1527
+ timeLabels: tn.value,
1503
1528
  series: J.value,
1504
1529
  hoveredIndex: j.value
1505
1530
  } }, void 0, !0)
1506
- ], 44, xt)), t.$slots.hint ? (C(), y("div", Bt, [Pe(t.$slots, "hint", je(Ae({
1531
+ ], 44, Ct)), t.$slots.hint ? (S(), v("div", Ht, [T(t.$slots, "hint", Pe(Ne({
1507
1532
  hint: N.value.a11y.translations.keyboardNavigation,
1508
- isVisible: Dn.value
1509
- })), void 0, !0)])) : v("", !0)]),
1510
- Y.value && N.value.style.tooltip.show ? (C(), Ee(E(Ve), {
1533
+ isVisible: kn.value
1534
+ })), void 0, !0)])) : _("", !0)]),
1535
+ Y.value && N.value.style.tooltip.show ? (S(), ke(E(Ue), {
1511
1536
  key: 2,
1512
1537
  x: Y.value.x,
1513
1538
  y: Y.value.y,
@@ -1523,7 +1548,7 @@ var ht = ["innerHTML"], gt = {
1523
1548
  borderRadius: N.value.style.tooltip.borderRadius,
1524
1549
  backgroundOpacity: N.value.style.tooltip.backgroundOpacity
1525
1550
  }, {
1526
- default: ze(() => [Pe(t.$slots, "tooltip", je(Ae({ ...Y.value })), () => [De(Ie(Y.value.period) + ": " + Ie(E(ie)(N.value.style.dataLabel.formatter, Y.value.absoluteValue, E(p)({
1551
+ default: Ve(() => [T(t.$slots, "tooltip", Pe(Ne({ ...Y.value })), () => [Ae(Re(Y.value.period) + ": " + Re(E(re)(N.value.style.dataLabel.formatter, Y.value.absoluteValue, E(p)({
1527
1552
  p: N.value.style.dataLabel.prefix,
1528
1553
  v: Y.value.absoluteValue,
1529
1554
  s: N.value.style.dataLabel.suffix,
@@ -1544,16 +1569,16 @@ var ht = ["innerHTML"], gt = {
1544
1569
  "borderColor",
1545
1570
  "borderRadius",
1546
1571
  "backgroundOpacity"
1547
- ])) : v("", !0),
1548
- t.$slots.source ? (C(), y("div", {
1572
+ ])) : _("", !0),
1573
+ t.$slots.source ? (S(), v("div", {
1549
1574
  key: 3,
1550
1575
  ref_key: "source",
1551
- ref: Ye,
1576
+ ref: Ze,
1552
1577
  dir: "auto"
1553
- }, [Pe(t.$slots, "source", {}, void 0, !0)], 512)) : v("", !0),
1554
- Pe(t.$slots, "skeleton", {}, () => [E(P) ? (C(), Ee(he, { key: 0 })) : v("", !0)], !0)
1555
- ], 12, vt));
1578
+ }, [T(t.$slots, "source", {}, void 0, !0)], 512)) : _("", !0),
1579
+ T(t.$slots, "skeleton", {}, () => [E(P) ? (S(), ke(ve, { key: 0 })) : _("", !0)], !0)
1580
+ ], 12, bt));
1556
1581
  }
1557
- }, [["__scopeId", "data-v-a98ba827"]]);
1582
+ }, [["__scopeId", "data-v-967d347c"]]);
1558
1583
  //#endregion
1559
- export { _t as n, G as t };
1584
+ export { yt as n, G as t };