vue-data-ui 3.22.14 → 3.23.1

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 (229) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +13 -1
  3. package/dist/{Arrow-Ci7Burxz.js → Arrow-CF0VFcBH.js} +1 -1
  4. package/dist/{BaseDraggableDialog-hyW32gLf.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
  5. package/dist/{BaseIcon-DJbOzCDs.js → BaseIcon-BfndwIWE.js} +4 -3
  6. package/dist/{BaseLegendToggle-DJU4VsLO.js → BaseLegendToggle-DZVucLnv.js} +1 -1
  7. package/dist/{BaseZoomControls-CwhpsHIL.js → BaseZoomControls-BZvCnZEi.js} +2 -2
  8. package/dist/{ColorPicker-BVWrKEQl.js → ColorPicker--ayG2YHf.js} +2 -2
  9. package/dist/{DataTable-rIsBpJMt.js → DataTable-BbKgJ5UI.js} +2 -2
  10. package/dist/HillActions-BD9j_sOU.js +187 -0
  11. package/dist/{Legend-DSPDFP3n.js → Legend-CQxUgOd-.js} +2 -2
  12. package/dist/{NonSvgPenAndPaper-DZyYthbM.js → NonSvgPenAndPaper-4ypecDg1.js} +22 -22
  13. package/dist/{PackageVersion-BUmadjVO.js → PackageVersion-D6d8SCp9.js} +1 -1
  14. package/dist/{PenAndPaper-D--sbRMA.js → PenAndPaper-DAE-tnEQ.js} +14 -14
  15. package/dist/{Shape-Dmh9jBFh.js → Shape-C21CMlWS.js} +3 -3
  16. package/dist/Slicer-CIk57nL4.js +1163 -0
  17. package/dist/{SlicerPreview-CCIb3v8u.js → SlicerPreview-wUw1hFwe.js} +384 -370
  18. package/dist/{SparkTooltip-GjWLZ39s.js → SparkTooltip-CjsbIhzi.js} +6 -6
  19. package/dist/Title-BE3qg9xl.js +87 -0
  20. package/dist/{Tooltip-CEbqzIhL.js → Tooltip-DhjyfHwz.js} +2 -2
  21. package/dist/{UserOptions-BknvMNU1.js → UserOptions-Dt98of5H.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/composables.js +1 -1
  93. package/dist/{dom-to-png-BbPRUKX6.js → dom-to-png-BYIvdTe8.js} +1 -1
  94. package/dist/exposedLib-C0DPCgFj.js +28 -0
  95. package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
  96. package/dist/{img-zY7_pJz1.js → img-Bnokohej.js} +1 -1
  97. package/dist/{labelUtils-DYdYmN_Q.js → labelUtils-BeVpDvTJ.js} +1 -1
  98. package/dist/{lib-C-QGo8GG.js → lib-Bttd6u5E.js} +27 -12
  99. package/dist/{package-QmuZcjWs.js → package-KvlL5CqE.js} +1 -1
  100. package/dist/{pdf-CuSS-5_j.js → pdf-CVIDfCrS.js} +1 -1
  101. package/dist/{render-common-DasqIYp9.js → render-common-oDYGTc5P.js} +21 -21
  102. package/dist/ssr/vue-ui-donut.js +1 -1
  103. package/dist/ssr/vue-ui-xy.js +1 -1
  104. package/dist/ssr.js +2 -2
  105. package/dist/style.css +1 -1
  106. package/dist/types/vue-data-ui.d.ts +496 -0
  107. package/dist/types/vue-ui-hill.d.ts +90 -0
  108. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
  109. package/dist/{useConfig-C0V0eG7L.js → useConfig-D3scuR88.js} +774 -477
  110. package/dist/useHints-Dq_w2E8B.js +66 -0
  111. package/dist/{useNestedProp-BYfiWVP8.js → useNestedProp-vPNvh7rV.js} +5 -3
  112. package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Brg8mm5J.js} +3 -2
  113. package/dist/{usePrinter-C5ordS-4.js → usePrinter-DN5bYhTG.js} +2 -2
  114. package/dist/{useSvgExport-Ba9qBr9M.js → useSvgExport-DH-FfcqQ.js} +1 -1
  115. package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
  116. package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
  117. package/dist/useTransitions-g_zBREk2.js +39 -0
  118. package/dist/utils.js +14 -14
  119. package/dist/{vue-data-ui-D3jZ4lg1.js → vue-data-ui-DGWDPCwC.js} +85 -81
  120. package/dist/vue-data-ui.js +77 -76
  121. package/dist/vue-ui-3d-bar-C_Su9fve.js +1849 -0
  122. package/dist/{vue-ui-accordion-FimGHtuy.js → vue-ui-accordion-BxGriZik.js} +4 -4
  123. package/dist/vue-ui-age-pyramid-D4k1MkAL.js +1264 -0
  124. package/dist/vue-ui-annotator-CCtnM8Rv.js +2886 -0
  125. package/dist/vue-ui-bullet-DLZr2Uk8.js +724 -0
  126. package/dist/{vue-ui-bump-CG3WTTFy.js → vue-ui-bump-CcdzJZ9n.js} +334 -297
  127. package/dist/{vue-ui-candlestick-C3smYvQA.js → vue-ui-candlestick-EEEt7ORC.js} +468 -442
  128. package/dist/vue-ui-carousel-table-BicIpNAD.js +463 -0
  129. package/dist/{vue-ui-chestnut-i7FYoqi8.js → vue-ui-chestnut-BI7mC5dd.js} +523 -497
  130. package/dist/{vue-ui-chord-DCZo55QA.js → vue-ui-chord-DXaq8ZMu.js} +432 -426
  131. package/dist/vue-ui-circle-pack-XHJBMG51.js +1659 -0
  132. package/dist/{vue-ui-cursor-DEf_l0Xc.js → vue-ui-cursor-BqHr0n1Z.js} +61 -61
  133. package/dist/{vue-ui-dag-beo3-quD.js → vue-ui-dag-jMLVoQkb.js} +677 -674
  134. package/dist/vue-ui-dashboard-DVAUFETR.js +520 -0
  135. package/dist/{vue-ui-digits-BnMqGAhl.js → vue-ui-digits-Dy4gG6qm.js} +59 -51
  136. package/dist/vue-ui-donut-C0cWRLbU.js +2441 -0
  137. package/dist/{vue-ui-donut-Cr0uTWGk.js → vue-ui-donut-CYpxGBhl.js} +117 -116
  138. package/dist/{vue-ui-donut-evolution-D54NP3FP.js → vue-ui-donut-evolution-DwR47A2r.js} +534 -448
  139. package/dist/vue-ui-dumbbell-DxVbRjKR.js +1582 -0
  140. package/dist/{vue-ui-flow-CnateJjc.js → vue-ui-flow-DWaZF4FS.js} +415 -407
  141. package/dist/vue-ui-funnel-Bmpx5GHR.js +797 -0
  142. package/dist/vue-ui-galaxy-CWBP9oH9.js +1111 -0
  143. package/dist/vue-ui-gauge-ByE_txav.js +953 -0
  144. package/dist/{vue-ui-geo-DnO1RIFR.js → vue-ui-geo-ZA7CBy8f.js} +372 -357
  145. package/dist/{vue-ui-gizmo-DyxeSKIk.js → vue-ui-gizmo-SQCou0bQ.js} +57 -49
  146. package/dist/{vue-ui-heatmap-6Ja5LKYE.js → vue-ui-heatmap-CHd9gs_p.js} +473 -465
  147. package/dist/vue-ui-hill-BT183G-_.js +1768 -0
  148. package/dist/vue-ui-history-plot-BwnlC1mx.js +1723 -0
  149. package/dist/vue-ui-horizontal-bar-BUar2HUH.js +1733 -0
  150. package/dist/vue-ui-kpi-BF_9WWoo.js +104 -0
  151. package/dist/vue-ui-mini-loader-CvfukjXi.js +133 -0
  152. package/dist/vue-ui-molecule-Bi2CKHer.js +958 -0
  153. package/dist/{vue-ui-mood-radar-TWo57SKD.js → vue-ui-mood-radar-_zpbmvJs.js} +349 -341
  154. package/dist/{vue-ui-nested-donuts-W0TpPXIQ.js → vue-ui-nested-donuts-qHZAJ70u.js} +452 -416
  155. package/dist/vue-ui-onion-CB5RYIy5.js +1258 -0
  156. package/dist/vue-ui-parallel-coordinate-plot-BUwt-apg.js +1455 -0
  157. package/dist/{vue-ui-quadrant-BM9VLDcC.js → vue-ui-quadrant-CoROD3er.js} +636 -628
  158. package/dist/vue-ui-quick-chart-BcH7eY4-.js +2397 -0
  159. package/dist/{vue-ui-radar-BVz6Uq2k.js → vue-ui-radar-DGbaXGme.js} +380 -334
  160. package/dist/vue-ui-rating-Bo3zD3yW.js +360 -0
  161. package/dist/vue-ui-relation-circle-DaU1eTsG.js +925 -0
  162. package/dist/vue-ui-ridgeline-BCaGcyfk.js +1664 -0
  163. package/dist/{vue-ui-rings-DEZrfBYX.js → vue-ui-rings-BJUBn8_b.js} +450 -424
  164. package/dist/{vue-ui-scatter-owaIOpD0.js → vue-ui-scatter-Pcft1bUt.js} +721 -702
  165. package/dist/{vue-ui-skeleton-Cxszgax7.js → vue-ui-skeleton-EeJcGbCo.js} +395 -387
  166. package/dist/{vue-ui-smiley-DZBPvVeN.js → vue-ui-smiley-D0gibt5c.js} +128 -120
  167. package/dist/{vue-ui-spark-trend-CW4cLUqP.js → vue-ui-spark-trend-BRoQ7JpQ.js} +132 -117
  168. package/dist/{vue-ui-sparkbar-DeSSqv4v.js → vue-ui-sparkbar-DFp2k7-7.js} +119 -111
  169. package/dist/{vue-ui-sparkgauge-VSiPVgUQ.js → vue-ui-sparkgauge-D0Bq85Hs.js} +76 -68
  170. package/dist/vue-ui-sparkhistogram-BPln7v63.js +590 -0
  171. package/dist/{vue-ui-sparkline-DyZdAQMl.js → vue-ui-sparkline-C6Q45Dqp.js} +391 -365
  172. package/dist/vue-ui-sparkstackbar-CjK4bcQg.js +692 -0
  173. package/dist/vue-ui-stackbar-Ca8EPf3e.js +2353 -0
  174. package/dist/vue-ui-stackline-Pz5WWlWT.js +2467 -0
  175. package/dist/{vue-ui-strip-plot-BquHFKHA.js → vue-ui-strip-plot-Dw4MGDSO.js} +508 -487
  176. package/dist/vue-ui-table-Bjg-ujJu.js +1352 -0
  177. package/dist/vue-ui-table-heatmap-ljeYW8Wc.js +364 -0
  178. package/dist/{vue-ui-table-sparkline-CyGqW88t.js → vue-ui-table-sparkline-iRFmtK5S.js} +207 -181
  179. package/dist/vue-ui-thermometer-D8uiOaeA.js +777 -0
  180. package/dist/{vue-ui-timer-BVjydam-.js → vue-ui-timer-CYw983oL.js} +66 -58
  181. package/dist/vue-ui-tiremarks-CekiW2Ru.js +559 -0
  182. package/dist/vue-ui-treemap-h4VbnqPA.js +1760 -0
  183. package/dist/vue-ui-waffle-cu0w_s6L.js +1412 -0
  184. package/dist/{vue-ui-wheel-D-VVxvxY.js → vue-ui-wheel-tLvJadk5.js} +225 -217
  185. package/dist/{vue-ui-word-cloud-CcRch2t2.js → vue-ui-word-cloud-BjpGSsod.js} +440 -432
  186. package/dist/{vue-ui-world-BJq4PZqF.js → vue-ui-world-B4fCS3jN.js} +350 -342
  187. package/dist/{vue-ui-xy-D64AB5Qy.js → vue-ui-xy-7ZT9IRD8.js} +1639 -1595
  188. package/dist/{vue-ui-xy-canvas-mDqjPtxh.js → vue-ui-xy-canvas-BnLEwBpi.js} +459 -431
  189. package/dist/{vue-ui-xy-B8XBn08L.js → vue-ui-xy-gyNS0yH0.js} +216 -213
  190. package/dist/vue_ui_hill-dnltu0L-.js +368 -0
  191. package/package.json +4 -4
  192. package/dist/Slicer-JdCzBeYM.js +0 -1149
  193. package/dist/Title-Thf71-8D.js +0 -87
  194. package/dist/exposedLib-CfZhN94x.js +0 -25
  195. package/dist/useAutoSizeLabelsInsideViewbox-CSzmRywi.js +0 -50
  196. package/dist/useMountedDelay-BAjrhRJb.js +0 -14
  197. package/dist/vue-ui-3d-bar-D9-jAA5Z.js +0 -1824
  198. package/dist/vue-ui-age-pyramid-D4f-Agb7.js +0 -1246
  199. package/dist/vue-ui-annotator-P9E8hpJl.js +0 -2905
  200. package/dist/vue-ui-bullet-CKg0bShN.js +0 -709
  201. package/dist/vue-ui-carousel-table-BD_fxykj.js +0 -455
  202. package/dist/vue-ui-circle-pack--DUVDQx3.js +0 -1610
  203. package/dist/vue-ui-dashboard-mGLvP0UA.js +0 -512
  204. package/dist/vue-ui-donut-BCLG16Vb.js +0 -2418
  205. package/dist/vue-ui-dumbbell-DZ78WASa.js +0 -1564
  206. package/dist/vue-ui-funnel-DSpUMyDO.js +0 -781
  207. package/dist/vue-ui-galaxy-CxKafV1X.js +0 -1076
  208. package/dist/vue-ui-gauge-CegUK3FD.js +0 -925
  209. package/dist/vue-ui-history-plot-XOexkxeI.js +0 -1725
  210. package/dist/vue-ui-horizontal-bar-BCTdLxjK.js +0 -1689
  211. package/dist/vue-ui-kpi-EenGDZ-l.js +0 -96
  212. package/dist/vue-ui-mini-loader-CA7XxPk7.js +0 -125
  213. package/dist/vue-ui-molecule-5rpD2mlK.js +0 -932
  214. package/dist/vue-ui-onion-CDC9AGh1.js +0 -1199
  215. package/dist/vue-ui-parallel-coordinate-plot-DUOI7HoD.js +0 -1412
  216. package/dist/vue-ui-quick-chart-B8XCKef-.js +0 -2443
  217. package/dist/vue-ui-rating-B7ApWpIJ.js +0 -352
  218. package/dist/vue-ui-relation-circle-LVOR5VZ6.js +0 -917
  219. package/dist/vue-ui-ridgeline-BlyzSJHc.js +0 -1627
  220. package/dist/vue-ui-sparkhistogram-B5252IVr.js +0 -575
  221. package/dist/vue-ui-sparkstackbar-CiLgNzaI.js +0 -674
  222. package/dist/vue-ui-stackbar-Bwz6Z7M4.js +0 -2322
  223. package/dist/vue-ui-stackline-DX3YDRSg.js +0 -2427
  224. package/dist/vue-ui-table-DEhy61ln.js +0 -1339
  225. package/dist/vue-ui-table-heatmap-1LTxQfQX.js +0 -338
  226. package/dist/vue-ui-thermometer-CNvTQJUq.js +0 -769
  227. package/dist/vue-ui-tiremarks-3ZBAE8SA.js +0 -551
  228. package/dist/vue-ui-treemap-FqqXQvZw.js +0 -1727
  229. package/dist/vue-ui-waffle-B37Yx9uw.js +0 -1367
@@ -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-C-QGo8GG.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-BYfiWVP8.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-Bttd6u5E.js";
3
+ import { n as me, t as he } from "./useHints-Dq_w2E8B.js";
4
+ import { t as m } from "./useTimeLabels-d2f-W1L4.js";
5
+ import { t as ge } from "./useConfig-D3scuR88.js";
6
+ import { n as _e, t as ve } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as ye } from "./useNestedProp-vPNvh7rV.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-BUmadjVO.js").then((e) => e.t)), Ve = ke(() => import("./SparkTooltip-GjWLZ39s.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-D6d8SCp9.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
+ 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,107 +993,108 @@ 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
1051
1076
  }))).trend
1052
1077
  };
1053
- } else return {
1078
+ }
1079
+ return {
1054
1080
  latest: null,
1055
1081
  sum: null,
1056
1082
  average: null,
1057
1083
  median: null,
1058
1084
  trend: null
1059
1085
  };
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) {
1086
+ }), 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");
1087
+ function cn(e, t) {
1062
1088
  N.value.events.datapointClick && N.value.events.datapointClick({
1063
1089
  datapoint: e,
1064
1090
  seriesIndex: t
1065
- }), Gt("selectDatapoint", {
1091
+ }), qt("selectDatapoint", {
1066
1092
  datapoint: e,
1067
1093
  index: t
1068
1094
  });
1069
1095
  }
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) {
1096
+ let ln = g(() => Array.isArray(N.value.style.line.dashIndices) && N.value.style.line.dashIndices.length > 0), un = g(() => N.value.style.line.cutNullValues);
1097
+ function dn(e) {
1072
1098
  return ![
1073
1099
  null,
1074
1100
  void 0,
@@ -1078,58 +1104,58 @@ var ht = ["innerHTML"], gt = {
1078
1104
  -Infinity
1079
1105
  ].includes(e);
1080
1106
  }
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
1107
  function fn(e, t) {
1089
- return Q.value || !ln(e?.value) ? !1 : N.value.style.plot.show && dn(e, t) || un(J.value, t);
1108
+ 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;
1109
+ return dn(e[t]?.value) && i && un.value;
1090
1110
  }
1091
1111
  function pn(e, t) {
1092
- return Math.max(1, dn(e, t) ? N.value.style.plot.radius : N.value.style.plot.radius * .7);
1112
+ return Y.value && e.id === Y.value.id || rn.value === t || F.value.length === 1;
1093
1113
  }
1094
1114
  function mn(e, t) {
1095
- return dn(e, t) ? N.value.style.plot.stroke : N.value.style.backgroundColor;
1115
+ return Q.value || !dn(e?.value) ? !1 : N.value.style.plot.show && pn(e, t) || fn(J.value, t);
1116
+ }
1117
+ function hn(e, t) {
1118
+ return Math.max(1, pn(e, t) ? N.value.style.plot.radius : N.value.style.plot.radius * .7);
1119
+ }
1120
+ function gn(e, t) {
1121
+ return pn(e, t) ? N.value.style.plot.stroke : N.value.style.backgroundColor;
1096
1122
  }
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 = _(() => {
1123
+ 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
1124
  if (!N.value.temperatureColors.show) return null;
1099
1125
  let e = N.value.temperatureColors.colors;
1100
- return !Array.isArray(e) || !e.length ? null : e.map((e) => de(e));
1101
- }), $ = _(() => {
1126
+ return !Array.isArray(e) || !e.length ? null : e.map((e) => u(e));
1127
+ }), $ = g(() => {
1102
1128
  if (!N.value.temperatureColors.show) return null;
1103
1129
  let e = N.value.temperatureColors.colors;
1104
- return !Array.isArray(e) || !e.length ? null : e.map((e) => de(e));
1130
+ return !Array.isArray(e) || !e.length ? null : e.map((e) => u(e));
1105
1131
  });
1106
- function Tn(e) {
1132
+ function Dn(e) {
1107
1133
  if (!Number.isFinite(e?.y)) return 0;
1108
1134
  let t = q.value.height || 1, n = (e.y - q.value.top) / t;
1109
1135
  return Math.min(1, Math.max(0, n));
1110
1136
  }
1111
- function En(e) {
1112
- let t = wn.value;
1113
- return !Array.isArray(t) || !t.length ? e.color : fe({
1137
+ function On(e) {
1138
+ let t = En.value;
1139
+ return !Array.isArray(t) || !t.length ? e.color : te({
1114
1140
  colors: t,
1115
- ratio: Tn(e)
1141
+ ratio: Dn(e)
1116
1142
  });
1117
1143
  }
1118
1144
  D(() => [
1119
- ot.value,
1145
+ ct.value,
1120
1146
  G.value,
1121
1147
  J.value.length,
1122
1148
  K.value.width,
1123
1149
  K.value.height,
1124
1150
  N.value?.style?.line?.smooth
1125
1151
  ], async () => {
1126
- await x(), st();
1127
- }, { immediate: !0 }), Ne(async () => {
1128
- await x(), st();
1152
+ await b(), lt();
1153
+ }, { immediate: !0 }), Ie(async () => {
1154
+ await b(), lt();
1129
1155
  }), D(() => P.value, async (e) => {
1130
- e || await Ht();
1131
- }), D(() => ut.value, async (e) => {
1132
- e || P.value || await Ht();
1156
+ e || await Wt();
1157
+ }), D(() => ft.value, async (e) => {
1158
+ e || P.value || await Wt();
1133
1159
  }), D(() => O.selectedIndex, (e) => {
1134
1160
  if (e == null) {
1135
1161
  M.value = null, j.value = null, Y.value = void 0;
@@ -1139,22 +1165,22 @@ var ht = ["innerHTML"], gt = {
1139
1165
  let t = J.value[e];
1140
1166
  t && (M.value = e, j.value = e, Y.value = t);
1141
1167
  });
1142
- let Dn = w(!1);
1143
- function On() {
1144
- let e = tn.value;
1168
+ let kn = C(!1);
1169
+ function An() {
1170
+ let e = rn.value;
1145
1171
  if (e !== null && e >= 0 && e < J.value.length) {
1146
1172
  let t = J.value[e];
1147
1173
  if (t) {
1148
- j.value = e, Y.value = t, M.value = e, Dn.value = !0;
1174
+ j.value = e, Y.value = t, M.value = e, kn.value = !0;
1149
1175
  return;
1150
1176
  }
1151
1177
  }
1152
- j.value = null, !Y.value && J.value.length && nn(J.value.at(-1), J.value.length - 1), Dn.value = !0;
1178
+ j.value = null, !Y.value && J.value.length && an(J.value.at(-1), J.value.length - 1), kn.value = !0;
1153
1179
  }
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;
1180
+ function jn() {
1181
+ 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
1182
  }
1157
- function An(e) {
1183
+ function Mn(e) {
1158
1184
  if (!I.value || document.activeElement !== I.value) return;
1159
1185
  X.value = Y.value;
1160
1186
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight";
@@ -1165,28 +1191,28 @@ var ht = ["innerHTML"], gt = {
1165
1191
  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
1192
  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
1193
  let s = J.value[i];
1168
- s && (j.value = i, nn(s, i));
1194
+ s && (j.value = i, an(s, i));
1169
1195
  }
1170
- let jn = _(() => ({
1196
+ let Nn = g(() => ({
1171
1197
  headers: [N.value.translations.period, N.value.translations.value],
1172
1198
  rows: J.value.map((e) => [e.period, e.absoluteValue])
1173
1199
  }));
1174
- return (t, n) => (C(), y("div", {
1200
+ return (t, r) => (S(), v("div", {
1175
1201
  ref_key: "sparklineChart",
1176
1202
  ref: A,
1177
1203
  class: "vue-data-ui-component vue-ui-sparkline",
1178
1204
  id: k.value,
1179
- style: S(`width:100%;font-family:${N.value.style.fontFamily};`)
1205
+ style: x(`width:100%;font-family:${N.value.style.fontFamily};`)
1180
1206
  }, [
1181
- b("p", {
1207
+ y("p", {
1182
1208
  id: `chart-instructions-${k.value}`,
1183
1209
  class: "sr-only"
1184
- }, Ie(N.value.a11y.translations.keyboardNavigation), 9, yt),
1185
- jn.value?.rows?.length ? (C(), Ee(Se, {
1210
+ }, Re(N.value.a11y.translations.keyboardNavigation), 9, xt),
1211
+ Nn.value?.rows?.length ? (S(), ke(Te, {
1186
1212
  key: 0,
1187
1213
  uid: k.value,
1188
- head: jn.value.headers,
1189
- body: jn.value.rows,
1214
+ head: Nn.value.headers,
1215
+ body: Nn.value.rows,
1190
1216
  notice: N.value.a11y.translations.tableAvailable,
1191
1217
  caption: N.value.a11y.translations.tableCaption
1192
1218
  }, null, 8, [
@@ -1195,8 +1221,8 @@ var ht = ["innerHTML"], gt = {
1195
1221
  "body",
1196
1222
  "notice",
1197
1223
  "caption"
1198
- ])) : v("", !0),
1199
- Pe(t.$slots, "before", je(Ae({
1224
+ ])) : _("", !0),
1225
+ T(t.$slots, "before", Pe(Ne({
1200
1226
  selected: Y.value,
1201
1227
  latest: Z.value.latest,
1202
1228
  sum: Z.value.sum,
@@ -1204,37 +1230,37 @@ var ht = ["innerHTML"], gt = {
1204
1230
  median: Z.value.median,
1205
1231
  trend: Z.value.trend
1206
1232
  })), void 0, !0),
1207
- N.value.style.title.show && e.showInfo ? (C(), y("div", {
1233
+ N.value.style.title.show && e.showInfo ? (S(), v("div", {
1208
1234
  key: 1,
1209
1235
  ref_key: "chartTitle",
1210
- ref: Je,
1236
+ ref: Xe,
1211
1237
  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", {
1238
+ 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"};`)
1239
+ }, [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),
1240
+ y("div", St, [(S(), v("svg", {
1215
1241
  ref_key: "svgRef",
1216
1242
  ref: I,
1217
- xmlns: E(le),
1243
+ xmlns: E(de),
1218
1244
  viewBox: `0 0 ${K.value.width} ${K.value.height}`,
1219
- style: S(`background:${N.value.style.backgroundColor};overflow:visible;direction:ltr`),
1245
+ style: x(`background:${N.value.style.backgroundColor};overflow:visible;direction:ltr`),
1220
1246
  tabindex: "0",
1221
1247
  "aria-describedby": `chart-instructions-${k.value}`,
1222
- onMouseleave: n[0] ||= (e) => X.value = void 0,
1223
- onFocus: On,
1224
- onBlur: kn,
1225
- onKeydown: An
1248
+ onMouseleave: r[0] ||= (e) => X.value = void 0,
1249
+ onFocus: An,
1250
+ onBlur: jn,
1251
+ onKeydown: Mn
1226
1252
  }, [
1227
- Oe(E(Be)),
1228
- t.$slots["chart-background"] ? (C(), y("foreignObject", {
1253
+ je(E(He)),
1254
+ t.$slots["chart-background"] ? (S(), v("foreignObject", {
1229
1255
  key: 0,
1230
1256
  x: 0,
1231
1257
  y: 0,
1232
1258
  width: K.value.width <= 0 ? 10 : K.value.width,
1233
1259
  height: K.value.height <= 0 ? 10 : K.value.height,
1234
1260
  style: { pointerEvents: "none" }
1235
- }, [Pe(t.$slots, "chart-background", {}, void 0, !0)], 8, St)) : v("", !0),
1236
- b("defs", null, [
1237
- Oe(xe, {
1261
+ }, [T(t.$slots, "chart-background", {}, void 0, !0)], 8, wt)) : _("", !0),
1262
+ y("defs", null, [
1263
+ je(we, {
1238
1264
  t: "linear",
1239
1265
  x1: "0%",
1240
1266
  y1: "0%",
@@ -1243,15 +1269,15 @@ var ht = ["innerHTML"], gt = {
1243
1269
  id: `sparkline_gradient_${k.value}`,
1244
1270
  stops: [[
1245
1271
  "0%",
1246
- E(m)(E(r)(N.value.style.area.color, .05), N.value.style.area.opacity),
1272
+ E(n)(E(f)(N.value.style.area.color, .05), N.value.style.area.opacity),
1247
1273
  1
1248
1274
  ], [
1249
1275
  "100%",
1250
- E(m)(N.value.style.area.color, N.value.style.area.opacity),
1276
+ E(n)(N.value.style.area.color, N.value.style.area.opacity),
1251
1277
  1
1252
1278
  ]]
1253
1279
  }, null, 8, ["id", "stops"]),
1254
- Oe(xe, {
1280
+ je(we, {
1255
1281
  t: "linear",
1256
1282
  x2: "0%",
1257
1283
  y2: "100%",
@@ -1262,18 +1288,18 @@ var ht = ["innerHTML"], gt = {
1262
1288
  1
1263
1289
  ], [
1264
1290
  "100%",
1265
- E(r)(N.value.style.bar.color, .05),
1291
+ E(f)(N.value.style.bar.color, .05),
1266
1292
  1
1267
1293
  ]]
1268
1294
  }, null, 8, ["id", "stops"]),
1269
- Oe(xe, {
1295
+ je(we, {
1270
1296
  t: "linear",
1271
1297
  x2: "0%",
1272
1298
  y2: "100%",
1273
1299
  id: `sparkline_bar_gradient_neg_${k.value}`,
1274
1300
  stops: [[
1275
1301
  "0%",
1276
- E(r)(N.value.style.bar.color, .05),
1302
+ E(f)(N.value.style.bar.color, .05),
1277
1303
  1
1278
1304
  ], [
1279
1305
  "100%",
@@ -1281,19 +1307,19 @@ var ht = ["innerHTML"], gt = {
1281
1307
  1
1282
1308
  ]]
1283
1309
  }, null, 8, ["id", "stops"]),
1284
- b("filter", {
1310
+ y("filter", {
1285
1311
  id: `sparkline_pulse_glow_${k.value}`,
1286
1312
  filterUnits: "userSpaceOnUse",
1287
1313
  x: "-50",
1288
1314
  y: "-50",
1289
1315
  width: "100",
1290
1316
  height: "100"
1291
- }, [...n[1] ||= [b("feGaussianBlur", {
1317
+ }, [...r[1] ||= [y("feGaussianBlur", {
1292
1318
  in: "SourceGraphic",
1293
1319
  stdDeviation: "3",
1294
1320
  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", {
1321
+ }, null, -1), y("feMerge", null, [y("feMergeNode", { in: "blur" }), y("feMergeNode", { in: "SourceGraphic" })], -1)]], 8, Tt),
1322
+ N.value.temperatureColors.show && $.value ? (S(), v("linearGradient", {
1297
1323
  key: 0,
1298
1324
  id: `temperature_grad_sparkline_${k.value}`,
1299
1325
  gradientUnits: "userSpaceOnUse",
@@ -1301,31 +1327,31 @@ var ht = ["innerHTML"], gt = {
1301
1327
  x2: "0",
1302
1328
  y1: q.value.top,
1303
1329
  y2: q.value.bottom
1304
- }, [(C(!0), y(g, null, T($.value, (e, t) => (C(), y("stop", {
1330
+ }, [(S(!0), v(h, null, w($.value, (e, t) => (S(), v("stop", {
1305
1331
  key: `temperature_grad_stop_${t}_${k.value}`,
1306
1332
  "stop-color": e,
1307
- offset: $.value.length === 1 ? "0%" : E(ee)(t, $.value.length)
1308
- }, null, 8, Tt))), 128))], 8, wt)) : v("", !0)
1333
+ offset: $.value.length === 1 ? "0%" : E(pe)(t, $.value.length)
1334
+ }, null, 8, Dt))), 128))], 8, Et)) : _("", !0)
1309
1335
  ]),
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", {
1336
+ 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
1337
  key: `sparkline_area_${t}_${k.value}`,
1312
1338
  class: "vue-ui-sparkline-area",
1313
1339
  "data-cy": N.value.style.line.smooth ? "sparkline-smooth-area" : "sparkline-angle-area",
1314
1340
  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),
1341
+ fill: N.value.style.area.useGradient ? `url(#sparkline_gradient_${k.value})` : E(n)(N.value.style.area.color, N.value.style.area.opacity),
1316
1342
  "stroke-linecap": "round",
1317
1343
  "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", {
1344
+ style: x({ transition: E(P) ? void 0 : "all 0.2s" })
1345
+ }, null, 12, kt))), 128))])) : _("", !0),
1346
+ N.value.style.line.smooth && !Q.value ? (S(), v(h, { key: 2 }, [y("path", {
1321
1347
  id: G.value,
1322
- d: `M ${vn.value || "0,0"}`,
1348
+ d: `M ${bn.value || "0,0"}`,
1323
1349
  fill: "none",
1324
1350
  stroke: "transparent",
1325
1351
  "stroke-width": N.value.style.line.strokeWidth,
1326
1352
  "stroke-linecap": "round",
1327
1353
  "stroke-linejoin": "round"
1328
- }, null, 8, Ot), sn.value ? (C(!0), y(g, { key: 0 }, T(bn.value, (e) => (C(), y("path", {
1354
+ }, null, 8, At), ln.value ? (S(!0), v(h, { key: 0 }, w(Sn.value, (e) => (S(), v("path", {
1329
1355
  key: e.path,
1330
1356
  class: "vue-ui-sparkline-path",
1331
1357
  d: `M ${e.path}`,
@@ -1335,27 +1361,27 @@ var ht = ["innerHTML"], gt = {
1335
1361
  "stroke-linecap": "round",
1336
1362
  "stroke-linejoin": "round",
1337
1363
  "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", {
1364
+ style: x({ transition: E(P) ? void 0 : "all 0.2s" })
1365
+ }, null, 12, jt))), 128)) : (S(), v("path", {
1340
1366
  key: 1,
1341
1367
  class: "vue-ui-sparkline-path",
1342
- d: `M ${vn.value || "0,0"}`,
1368
+ d: `M ${bn.value || "0,0"}`,
1343
1369
  stroke: $.value ? `url(#temperature_grad_sparkline_${k.value})` : N.value.style.line.color,
1344
1370
  fill: "none",
1345
1371
  "stroke-width": N.value.style.line.strokeWidth,
1346
1372
  "stroke-linecap": "round",
1347
1373
  "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", {
1374
+ style: x({ transition: E(P) ? void 0 : "all 0.2s" })
1375
+ }, null, 12, Mt))], 64)) : _("", !0),
1376
+ !N.value.style.line.smooth && !Q.value ? (S(), v(h, { key: 3 }, [y("path", {
1351
1377
  id: G.value,
1352
- d: `M ${yn.value || "0,0"}`,
1378
+ d: `M ${xn.value || "0,0"}`,
1353
1379
  fill: "none",
1354
1380
  stroke: "transparent",
1355
1381
  "stroke-width": N.value.style.line.strokeWidth,
1356
1382
  "stroke-linecap": "round",
1357
1383
  "stroke-linejoin": "round"
1358
- }, null, 8, jt), sn.value ? (C(!0), y(g, { key: 0 }, T(xn.value, (e) => (C(), y("path", {
1384
+ }, null, 8, Nt), ln.value ? (S(!0), v(h, { key: 0 }, w(Cn.value, (e) => (S(), v("path", {
1359
1385
  key: e.path,
1360
1386
  class: "vue-ui-sparkline-path",
1361
1387
  d: `M ${e.path}`,
@@ -1365,21 +1391,21 @@ var ht = ["innerHTML"], gt = {
1365
1391
  "stroke-linecap": "round",
1366
1392
  "stroke-linejoin": "round",
1367
1393
  "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", {
1394
+ style: x({ transition: E(P) ? void 0 : "all 0.2s" })
1395
+ }, null, 12, Pt))), 128)) : (S(), v("path", {
1370
1396
  key: 1,
1371
1397
  class: "vue-ui-sparkline-path",
1372
- d: `M ${yn.value || "0,0"}`,
1398
+ d: `M ${xn.value || "0,0"}`,
1373
1399
  stroke: $.value ? `url(#temperature_grad_sparkline_${k.value})` : N.value.style.line.color,
1374
1400
  fill: "none",
1375
1401
  "stroke-width": N.value.style.line.strokeWidth,
1376
1402
  "stroke-linecap": "round",
1377
1403
  "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, {
1404
+ style: x({ transition: E(P) ? void 0 : "all 0.2s" })
1405
+ }, null, 12, Ft))], 64)) : _("", !0),
1406
+ Tn.value && !$.value ? (S(), ke(vt, {
1381
1407
  key: 4,
1382
- svgPathData: Cn.value,
1408
+ svgPathData: Tn.value,
1383
1409
  enabled: N.value.gradientPath.show && !Q.value && !$.value,
1384
1410
  strokeWidth: N.value.style.line.strokeWidth,
1385
1411
  highColor: N.value.gradientPath.colors.high,
@@ -1392,23 +1418,23 @@ var ht = ["innerHTML"], gt = {
1392
1418
  "highColor",
1393
1419
  "lowColor",
1394
1420
  "segments"
1395
- ])) : v("", !0),
1396
- Vt.value && ot.value ? (C(), Ee(qe, {
1421
+ ])) : _("", !0),
1422
+ Ut.value && ct.value ? (S(), ke(Ye, {
1397
1423
  key: 5,
1398
1424
  uid: k.value,
1399
1425
  svgRef: E(I),
1400
1426
  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,
1427
+ pulsePathLength: nt.value,
1428
+ pulseDur: tt.value,
1429
+ pulseBegin: rt.value,
1430
+ pulseRepeatCount: at.value,
1431
+ pulseFillMode: ot.value,
1432
+ pulseKeyPoints: it.value,
1433
+ pulseMotion: ut.value,
1408
1434
  pulse: R.value,
1409
- pulseTrail: lt.value,
1410
- pulseTrailLength: at.value,
1411
- prefersReducedMotion: E(Ge),
1435
+ pulseTrail: dt.value,
1436
+ pulseTrailLength: st.value,
1437
+ prefersReducedMotion: E(qe),
1412
1438
  loading: E(P),
1413
1439
  isBar: Q.value
1414
1440
  }, null, 8, [
@@ -1428,16 +1454,16 @@ var ht = ["innerHTML"], gt = {
1428
1454
  "prefersReducedMotion",
1429
1455
  "loading",
1430
1456
  "isBar"
1431
- ])) : v("", !0),
1432
- (C(!0), y(g, null, T(J.value, (e, t) => (C(), y("g", null, [Q.value ? (C(), y("rect", {
1457
+ ])) : _("", !0),
1458
+ (S(!0), v(h, null, w(J.value, (e, t) => (S(), v("g", null, [Q.value ? (S(), v("rect", {
1433
1459
  key: 0,
1434
1460
  x: e.x - e.width / 2,
1435
- y: isNaN(e.absoluteValue > 0 ? e.y : Xt.value) ? 0 : e.absoluteValue > 0 ? e.y : Xt.value,
1461
+ y: isNaN(e.absoluteValue > 0 ? e.y : Qt.value) ? 0 : e.absoluteValue > 0 ? e.y : Qt.value,
1436
1462
  width: e.width,
1437
- height: isNaN(Math.abs(e.y - Xt.value)) ? 0 : Math.abs(e.y - Xt.value),
1463
+ height: isNaN(Math.abs(e.y - Qt.value)) ? 0 : Math.abs(e.y - Qt.value),
1438
1464
  fill: e.absoluteValue > 0 ? `url(#sparkline_bar_gradient_pos_${k.value})` : `url(#sparkline_bar_gradient_neg_${k.value})`,
1439
1465
  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", {
1466
+ }, null, 8, It)) : _("", !0), N.value.style.verticalIndicator.show && (Y.value && e.id === Y.value.id || rn.value === t) ? (S(), v("line", {
1441
1467
  key: 1,
1442
1468
  x1: e.x,
1443
1469
  x2: e.x,
@@ -1447,67 +1473,67 @@ var ht = ["innerHTML"], gt = {
1447
1473
  "stroke-width": N.value.style.verticalIndicator.strokeWidth,
1448
1474
  "stroke-linecap": "round",
1449
1475
  "stroke-dasharray": N.value.style.verticalIndicator.strokeDasharray || 0
1450
- }, null, 8, Ft)) : v("", !0)]))), 256)),
1451
- Kt.value < 0 ? (C(), y("line", {
1476
+ }, null, 8, Lt)) : _("", !0)]))), 256)),
1477
+ Jt.value < 0 ? (S(), v("line", {
1452
1478
  key: 6,
1453
1479
  x1: q.value.start,
1454
1480
  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),
1481
+ y1: E(ce)(Qt.value, q.value.bottom),
1482
+ y2: E(ce)(Qt.value, q.value.bottom),
1457
1483
  stroke: N.value.style.zeroLine.color,
1458
1484
  "stroke-dasharray": N.value.style.zeroLine.strokeWidth * 2,
1459
1485
  "stroke-width": N.value.style.zeroLine.strokeWidth,
1460
1486
  "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", {
1487
+ }, null, 8, Rt)) : _("", !0),
1488
+ (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
1489
  key: 0,
1464
1490
  cx: e.x,
1465
1491
  cy: e.y,
1466
- r: pn(e, t),
1467
- fill: En(e),
1468
- stroke: mn(e, t),
1492
+ r: hn(e, t),
1493
+ fill: On(e),
1494
+ stroke: gn(e, t),
1469
1495
  "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", {
1496
+ }, null, 8, zt)) : _("", !0)]))), 128)),
1497
+ e.showInfo && N.value.style.dataLabel.show ? (S(), v("text", {
1472
1498
  key: 7,
1473
1499
  x: N.value.style.dataLabel.position === "left" ? 12 + N.value.style.dataLabel.offsetX : q.value.width + 12 + N.value.style.dataLabel.offsetX,
1474
1500
  y: K.value.height / 2 + N.value.style.dataLabel.fontSize / 2.5 + N.value.style.dataLabel.offsetY,
1475
1501
  "font-size": N.value.style.dataLabel.fontSize,
1476
1502
  "font-weight": N.value.style.dataLabel.bold ? "bold" : "normal",
1477
1503
  fill: N.value.style.dataLabel.color
1478
- }, Ie(Y.value ? E(ie)(N.value.style.dataLabel.formatter, Y.value.absoluteValue, E(p)({
1504
+ }, Re(Y.value ? E(re)(N.value.style.dataLabel.formatter, Y.value.absoluteValue, E(p)({
1479
1505
  p: N.value.style.dataLabel.prefix,
1480
1506
  v: Y.value.absoluteValue,
1481
1507
  s: N.value.style.dataLabel.suffix,
1482
1508
  r: N.value.style.dataLabel.roundingValue
1483
- }), { datapoint: Y.value }) : E(ie)(N.value.style.dataLabel.formatter, an.value, E(p)({
1509
+ }), { datapoint: Y.value }) : E(re)(N.value.style.dataLabel.formatter, sn.value, E(p)({
1484
1510
  p: N.value.style.dataLabel.prefix,
1485
- v: an.value,
1511
+ v: sn.value,
1486
1512
  s: N.value.style.dataLabel.suffix,
1487
1513
  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,
1514
+ }))), 9, Bt)) : _("", !0),
1515
+ (S(!0), v(h, null, w(J.value, (e, t) => (S(), v("rect", {
1516
+ x: e.x - (q.value.width / (en.value + 1) > K.value.padding ? K.value.padding : q.value.width / (en.value + 1)) / 2,
1491
1517
  y: q.value.top - 6,
1492
1518
  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),
1519
+ width: q.value.width / (en.value + 1) > K.value.padding ? K.value.padding : q.value.width / (en.value + 1),
1494
1520
  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: {
1521
+ onMouseenter: () => an(e, t),
1522
+ onMouseleave: () => on(e, t),
1523
+ onClick: () => cn(e, t)
1524
+ }, null, 40, Vt))), 256)),
1525
+ T(t.$slots, "svg", { svg: {
1500
1526
  ...K.value,
1501
1527
  drawingArea: q.value,
1502
- timeLabels: $t.value,
1528
+ timeLabels: tn.value,
1503
1529
  series: J.value,
1504
1530
  hoveredIndex: j.value
1505
1531
  } }, void 0, !0)
1506
- ], 44, xt)), t.$slots.hint ? (C(), y("div", Bt, [Pe(t.$slots, "hint", je(Ae({
1532
+ ], 44, Ct)), t.$slots.hint ? (S(), v("div", Ht, [T(t.$slots, "hint", Pe(Ne({
1507
1533
  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), {
1534
+ isVisible: kn.value
1535
+ })), void 0, !0)])) : _("", !0)]),
1536
+ Y.value && N.value.style.tooltip.show ? (S(), ke(E(Ue), {
1511
1537
  key: 2,
1512
1538
  x: Y.value.x,
1513
1539
  y: Y.value.y,
@@ -1523,7 +1549,7 @@ var ht = ["innerHTML"], gt = {
1523
1549
  borderRadius: N.value.style.tooltip.borderRadius,
1524
1550
  backgroundOpacity: N.value.style.tooltip.backgroundOpacity
1525
1551
  }, {
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)({
1552
+ 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
1553
  p: N.value.style.dataLabel.prefix,
1528
1554
  v: Y.value.absoluteValue,
1529
1555
  s: N.value.style.dataLabel.suffix,
@@ -1544,16 +1570,16 @@ var ht = ["innerHTML"], gt = {
1544
1570
  "borderColor",
1545
1571
  "borderRadius",
1546
1572
  "backgroundOpacity"
1547
- ])) : v("", !0),
1548
- t.$slots.source ? (C(), y("div", {
1573
+ ])) : _("", !0),
1574
+ t.$slots.source ? (S(), v("div", {
1549
1575
  key: 3,
1550
1576
  ref_key: "source",
1551
- ref: Ye,
1577
+ ref: Ze,
1552
1578
  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));
1579
+ }, [T(t.$slots, "source", {}, void 0, !0)], 512)) : _("", !0),
1580
+ T(t.$slots, "skeleton", {}, () => [E(P) ? (S(), ke(ve, { key: 0 })) : _("", !0)], !0)
1581
+ ], 12, bt));
1556
1582
  }
1557
- }, [["__scopeId", "data-v-a98ba827"]]);
1583
+ }, [["__scopeId", "data-v-967d347c"]]);
1558
1584
  //#endregion
1559
- export { _t as n, G as t };
1585
+ export { yt as n, G as t };