vue-data-ui 3.25.4 → 3.25.6

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 (213) hide show
  1. package/README.md +13 -13
  2. package/dist/{BaseDraggableDialog-BM_R41j8.js → BaseDraggableDialog-Gm4Q30j0.js} +1 -1
  3. package/dist/{BaseIcon-t83PDe9k.js → BaseIcon-D8R6_sKH.js} +5 -5
  4. package/dist/{BaseLegendToggle-__JnV08B.js → BaseLegendToggle-CXQrLjd-.js} +1 -1
  5. package/dist/{BaseZoomControls-Xo16vFa4.js → BaseZoomControls-BTzjVDPM.js} +1 -1
  6. package/dist/{ColorPicker-ZJrR3Olp.js → ColorPicker-CUy15T72.js} +102 -100
  7. package/dist/{DataTable-COIO9gi4.js → DataTable-oiM9uWrQ.js} +1 -1
  8. package/dist/{HillActions-Cl-dNBZR.js → HillActions-Dn8aKOVJ.js} +1 -1
  9. package/dist/{NonSvgPenAndPaper-DS84BAOx.js → NonSvgPenAndPaper-DFXjpRyl.js} +2 -2
  10. package/dist/{PackageVersion-5SWftabm.js → PackageVersion-ur6jKRL5.js} +1 -1
  11. package/dist/{PenAndPaper-B_SdRSKH.js → PenAndPaper-KFzKlvbi.js} +20 -4
  12. package/dist/{SlicerPreview-GvsdvE-h.js → SlicerPreview-B6iHOC9L.js} +1 -1
  13. package/dist/{UserOptions-f3Q0nqrj.js → UserOptions-2x4VklMW.js} +1 -1
  14. package/dist/components/vue-ui-3d-bar.js +1 -1
  15. package/dist/components/vue-ui-accordion.js +1 -1
  16. package/dist/components/vue-ui-age-pyramid.js +1 -1
  17. package/dist/components/vue-ui-annotator.js +1 -1
  18. package/dist/components/vue-ui-bullet.js +1 -1
  19. package/dist/components/vue-ui-bump.js +1 -1
  20. package/dist/components/vue-ui-candlestick.js +1 -1
  21. package/dist/components/vue-ui-carousel-table.js +1 -1
  22. package/dist/components/vue-ui-chestnut.js +1 -1
  23. package/dist/components/vue-ui-chord.js +1 -1
  24. package/dist/components/vue-ui-circle-pack.js +1 -1
  25. package/dist/components/vue-ui-cursor.js +1 -1
  26. package/dist/components/vue-ui-dag.js +1 -1
  27. package/dist/components/vue-ui-dashboard.js +1 -1
  28. package/dist/components/vue-ui-digits.js +1 -1
  29. package/dist/components/vue-ui-donut-evolution.js +1 -1
  30. package/dist/components/vue-ui-donut.js +1 -1
  31. package/dist/components/vue-ui-dumbbell.js +1 -1
  32. package/dist/components/vue-ui-flow.js +1 -1
  33. package/dist/components/vue-ui-funnel.js +1 -1
  34. package/dist/components/vue-ui-galaxy.js +1 -1
  35. package/dist/components/vue-ui-gauge.js +1 -1
  36. package/dist/components/vue-ui-geo.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-hill.js +1 -1
  40. package/dist/components/vue-ui-history-plot.js +1 -1
  41. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  42. package/dist/components/vue-ui-icon.js +1 -1
  43. package/dist/components/vue-ui-kpi.js +1 -1
  44. package/dist/components/vue-ui-label.js +1 -1
  45. package/dist/components/vue-ui-mini-loader.js +1 -1
  46. package/dist/components/vue-ui-molecule.js +1 -1
  47. package/dist/components/vue-ui-mood-radar.js +1 -1
  48. package/dist/components/vue-ui-nested-donuts.js +1 -1
  49. package/dist/components/vue-ui-onion.js +1 -1
  50. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  51. package/dist/components/vue-ui-quadrant.js +1 -1
  52. package/dist/components/vue-ui-quick-chart.js +1 -1
  53. package/dist/components/vue-ui-radar.js +1 -1
  54. package/dist/components/vue-ui-rating.js +1 -1
  55. package/dist/components/vue-ui-relation-circle.js +1 -1
  56. package/dist/components/vue-ui-ridgeline.js +1 -1
  57. package/dist/components/vue-ui-rings.js +1 -1
  58. package/dist/components/vue-ui-scatter.js +1 -1
  59. package/dist/components/vue-ui-skeleton.js +1 -1
  60. package/dist/components/vue-ui-smiley.js +1 -1
  61. package/dist/components/vue-ui-spark-trend.js +1 -1
  62. package/dist/components/vue-ui-sparkbar.js +1 -1
  63. package/dist/components/vue-ui-sparkgauge.js +1 -1
  64. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  65. package/dist/components/vue-ui-sparkline.js +1 -1
  66. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  67. package/dist/components/vue-ui-stackbar.js +1 -1
  68. package/dist/components/vue-ui-stackline.js +1 -1
  69. package/dist/components/vue-ui-strip-plot.js +1 -1
  70. package/dist/components/vue-ui-table-heatmap.js +1 -1
  71. package/dist/components/vue-ui-table-sparkline.js +1 -1
  72. package/dist/components/vue-ui-table.js +1 -1
  73. package/dist/components/vue-ui-thermometer.js +1 -1
  74. package/dist/components/vue-ui-timer.js +1 -1
  75. package/dist/components/vue-ui-tiremarks.js +1 -1
  76. package/dist/components/vue-ui-treemap.js +1 -1
  77. package/dist/components/vue-ui-vertical-bar.js +1 -1
  78. package/dist/components/vue-ui-waffle.js +1 -1
  79. package/dist/components/vue-ui-wheel.js +1 -1
  80. package/dist/components/vue-ui-word-cloud.js +1 -1
  81. package/dist/components/vue-ui-world.js +1 -1
  82. package/dist/components/vue-ui-xy-canvas.js +1 -1
  83. package/dist/components/vue-ui-xy.js +1 -1
  84. package/dist/{package-DmsdiyeS.js → package-Dx7M6sYy.js} +1 -1
  85. package/dist/{render-common-zoPh9a78.js → render-common-DETHvNhl.js} +1 -1
  86. package/dist/ssr/vue-ui-donut.js +1 -1
  87. package/dist/ssr/vue-ui-xy.js +1 -1
  88. package/dist/ssr.js +2 -2
  89. package/dist/style.css +1 -1
  90. package/dist/types/vue-data-ui.d.ts +80 -1
  91. package/dist/types/vue-ui-annotator.d.ts +58 -2
  92. package/dist/{useConfig-CyCVHo81.js → useConfig-CIQZ6_r7.js} +1339 -1313
  93. package/dist/{useObjectBindings-ByORl1rV.js → useObjectBindings---mHNfbS.js} +2 -2
  94. package/dist/utils.js +1 -1
  95. package/dist/{vue-data-ui-DTj71yB7.js → vue-data-ui-Dh3_EsHb.js} +70 -70
  96. package/dist/vue-data-ui.js +71 -71
  97. package/dist/vue-ui-3d-bar-i1REAKnM.js +1831 -0
  98. package/dist/{vue-ui-accordion-D4zsdacF.js → vue-ui-accordion-BSmBUjwZ.js} +2 -2
  99. package/dist/vue-ui-age-pyramid-DuHblCNO.js +1293 -0
  100. package/dist/vue-ui-annotator-CTQHAPho.js +3325 -0
  101. package/dist/vue-ui-bullet-CYLnKrmM.js +702 -0
  102. package/dist/{vue-ui-bump-BkOtQNWe.js → vue-ui-bump-DhwySwgn.js} +382 -380
  103. package/dist/vue-ui-candlestick-BpiECaDj.js +1859 -0
  104. package/dist/{vue-ui-carousel-table-CRgbs7jR.js → vue-ui-carousel-table-D-T2yA7-.js} +2 -2
  105. package/dist/vue-ui-chestnut-1MsZ9Q3r.js +2016 -0
  106. package/dist/vue-ui-chord-QBQUSe7r.js +1347 -0
  107. package/dist/vue-ui-circle-pack-ZWEwtesD.js +1635 -0
  108. package/dist/{vue-ui-cursor-BHyXRadA.js → vue-ui-cursor-CHQcHAHQ.js} +2 -2
  109. package/dist/{vue-ui-dag-CyVqaLbF.js → vue-ui-dag-C_inEafb.js} +794 -792
  110. package/dist/{vue-ui-dashboard-7I-7wvCP.js → vue-ui-dashboard-Bs2mBur5.js} +74 -72
  111. package/dist/{vue-ui-digits-BBL8uERO.js → vue-ui-digits-DwE4MoXI.js} +2 -2
  112. package/dist/vue-ui-donut-BM9dMHXj.js +2415 -0
  113. package/dist/{vue-ui-donut-DcgUuefk.js → vue-ui-donut-CbOSJmRu.js} +2 -2
  114. package/dist/vue-ui-donut-evolution-C97_RHus.js +1552 -0
  115. package/dist/vue-ui-dumbbell-DwKa5EL5.js +1533 -0
  116. package/dist/vue-ui-flow-DTTr3YL9.js +1217 -0
  117. package/dist/vue-ui-funnel-C4pkBk3D.js +749 -0
  118. package/dist/vue-ui-galaxy-CuAPLOvX.js +1085 -0
  119. package/dist/vue-ui-gauge-DLDULH26.js +934 -0
  120. package/dist/{vue-ui-geo-jR4P4pbt.js → vue-ui-geo-DXIHhp-G.js} +431 -429
  121. package/dist/{vue-ui-gizmo-D6W86s9o.js → vue-ui-gizmo-PuURiePo.js} +2 -2
  122. package/dist/vue-ui-heatmap-mvWLKB99.js +1555 -0
  123. package/dist/{vue-ui-hill-fFq7pm-g.js → vue-ui-hill-DqsVJkmO.js} +472 -470
  124. package/dist/vue-ui-history-plot-BBVLgt9_.js +1698 -0
  125. package/dist/{vue-ui-horizontal-bar-D3Sft4kp.js → vue-ui-horizontal-bar-y8Q8PZwT.js} +513 -511
  126. package/dist/{vue-ui-kpi-fzLsKlyE.js → vue-ui-kpi-B2hf3kpp.js} +2 -2
  127. package/dist/{vue-ui-label-BSgLalWD.js → vue-ui-label-ClMQ5Gez.js} +1 -1
  128. package/dist/{vue-ui-mini-loader-BL2odRfu.js → vue-ui-mini-loader-DtPOVIkK.js} +1 -1
  129. package/dist/vue-ui-molecule-eeW1Pmg8.js +929 -0
  130. package/dist/{vue-ui-mood-radar-bvGx6XgG.js → vue-ui-mood-radar-Dd1qfUiu.js} +378 -376
  131. package/dist/vue-ui-nested-donuts-CUARCr6O.js +1503 -0
  132. package/dist/vue-ui-onion-NoxHP0cG.js +1235 -0
  133. package/dist/{vue-ui-parallel-coordinate-plot-B_QJ4N9o.js → vue-ui-parallel-coordinate-plot-Cp3pCyxK.js} +409 -407
  134. package/dist/vue-ui-quadrant-C3kQtaeX.js +1967 -0
  135. package/dist/{vue-ui-quick-chart-BFscCR59.js → vue-ui-quick-chart-BZq517pL.js} +8 -6
  136. package/dist/vue-ui-radar-DvNrl4uD.js +1374 -0
  137. package/dist/vue-ui-rating-CWFMoYpE.js +359 -0
  138. package/dist/vue-ui-relation-circle-1iS6C0xx.js +905 -0
  139. package/dist/vue-ui-ridgeline-B-EZiPCF.js +1630 -0
  140. package/dist/vue-ui-rings-BXuwrHos.js +1252 -0
  141. package/dist/vue-ui-scatter-ByL-ZZ3B.js +2405 -0
  142. package/dist/{vue-ui-skeleton-zmbcOVEf.js → vue-ui-skeleton-BcU1onF6.js} +698 -698
  143. package/dist/vue-ui-smiley-DJVusLnp.js +376 -0
  144. package/dist/vue-ui-spark-trend-DjS31avb.js +457 -0
  145. package/dist/vue-ui-sparkbar-1Al_TLw1.js +401 -0
  146. package/dist/vue-ui-sparkgauge-CwLo53Y8.js +268 -0
  147. package/dist/vue-ui-sparkhistogram-CGw6SThG.js +589 -0
  148. package/dist/{vue-ui-sparkline-Dv7XrEzO.js → vue-ui-sparkline-CSZGBFfI.js} +511 -511
  149. package/dist/vue-ui-sparkstackbar-B8dloLMp.js +738 -0
  150. package/dist/vue-ui-stackbar-FvNd77t1.js +2355 -0
  151. package/dist/vue-ui-stackline-CP7PkqiG.js +2469 -0
  152. package/dist/vue-ui-strip-plot-DSMlDkv1.js +1740 -0
  153. package/dist/{vue-ui-table-heatmap-Dv_ZKKm3.js → vue-ui-table-heatmap-DnP3pzh2.js} +2 -2
  154. package/dist/vue-ui-table-rwKtnJKt.js +1352 -0
  155. package/dist/vue-ui-table-sparkline-B6wyEAyC.js +738 -0
  156. package/dist/{vue-ui-thermometer-DytlLJ32.js → vue-ui-thermometer-D0_KsB-y.js} +194 -192
  157. package/dist/{vue-ui-timer-CvHP4HoW.js → vue-ui-timer-1Z2zginj.js} +153 -153
  158. package/dist/vue-ui-tiremarks-zbl7aooy.js +540 -0
  159. package/dist/vue-ui-treemap-Drs4gK6L.js +1733 -0
  160. package/dist/vue-ui-waffle-DqUVsVNE.js +1621 -0
  161. package/dist/vue-ui-wheel-DLCBPW9t.js +873 -0
  162. package/dist/vue-ui-word-cloud-8Agk9h6c.js +1710 -0
  163. package/dist/{vue-ui-world-D0_2upjg.js → vue-ui-world-BOBHo7-L.js} +526 -524
  164. package/dist/vue-ui-xy-CSTJzRkk.js +5283 -0
  165. package/dist/{vue-ui-xy-D_5FfaH-.js → vue-ui-xy-Dmk1gQkI.js} +2 -2
  166. package/dist/vue-ui-xy-canvas-DANPuyf4.js +1824 -0
  167. package/dist/{vue_ui_age_pyramid-BY6c-oX_.js → vue_ui_age_pyramid-B2R66DgQ.js} +15 -6
  168. package/package.json +1 -1
  169. package/dist/vue-ui-3d-bar-CH8SpxS2.js +0 -1829
  170. package/dist/vue-ui-age-pyramid-B9MUVi75.js +0 -1241
  171. package/dist/vue-ui-annotator-CmlcWPIm.js +0 -2886
  172. package/dist/vue-ui-bullet-n8KNnDwh.js +0 -700
  173. package/dist/vue-ui-candlestick-Bxlvqk49.js +0 -1857
  174. package/dist/vue-ui-chestnut-ByDKbkG9.js +0 -2014
  175. package/dist/vue-ui-chord-DQRBgVOx.js +0 -1345
  176. package/dist/vue-ui-circle-pack-CBBc0HOe.js +0 -1633
  177. package/dist/vue-ui-donut-DfiocufT.js +0 -2413
  178. package/dist/vue-ui-donut-evolution-BoqO8By2.js +0 -1550
  179. package/dist/vue-ui-dumbbell-7M_oUQdi.js +0 -1529
  180. package/dist/vue-ui-flow-CoylrfnO.js +0 -1215
  181. package/dist/vue-ui-funnel-DaBYHWIC.js +0 -747
  182. package/dist/vue-ui-galaxy-BIebStQ3.js +0 -1083
  183. package/dist/vue-ui-gauge-CwdTmiRP.js +0 -932
  184. package/dist/vue-ui-heatmap-DXYlGwqR.js +0 -1553
  185. package/dist/vue-ui-history-plot-CgIELoD2.js +0 -1696
  186. package/dist/vue-ui-molecule-DeHWkkhy.js +0 -929
  187. package/dist/vue-ui-nested-donuts-CeAV2xPk.js +0 -1501
  188. package/dist/vue-ui-onion-B7oFulsQ.js +0 -1233
  189. package/dist/vue-ui-quadrant-DrKnz37q.js +0 -1965
  190. package/dist/vue-ui-radar-Bzx69q8f.js +0 -1372
  191. package/dist/vue-ui-rating-CimC9FQ9.js +0 -359
  192. package/dist/vue-ui-relation-circle-DIQYyDGb.js +0 -903
  193. package/dist/vue-ui-ridgeline-CPEnM45x.js +0 -1621
  194. package/dist/vue-ui-rings-qPL5Iwji.js +0 -1250
  195. package/dist/vue-ui-scatter-BB0ClTsU.js +0 -2403
  196. package/dist/vue-ui-smiley-DzPkCMN-.js +0 -376
  197. package/dist/vue-ui-spark-trend-Ciq7-k_q.js +0 -457
  198. package/dist/vue-ui-sparkbar-D1M7-naP.js +0 -401
  199. package/dist/vue-ui-sparkgauge-rsqaeR_n.js +0 -268
  200. package/dist/vue-ui-sparkhistogram-C4WXt2Ni.js +0 -589
  201. package/dist/vue-ui-sparkstackbar-DDOXdeV-.js +0 -738
  202. package/dist/vue-ui-stackbar-C_hMnOLb.js +0 -2353
  203. package/dist/vue-ui-stackline-BHGi63lD.js +0 -2467
  204. package/dist/vue-ui-strip-plot-Cygpn-l8.js +0 -1738
  205. package/dist/vue-ui-table-BQna1wL6.js +0 -1352
  206. package/dist/vue-ui-table-sparkline-BCuimtk6.js +0 -738
  207. package/dist/vue-ui-tiremarks-BvjdZwgh.js +0 -538
  208. package/dist/vue-ui-treemap-C5OpqzSc.js +0 -1731
  209. package/dist/vue-ui-waffle-B7T_Zzan.js +0 -1619
  210. package/dist/vue-ui-wheel-D1B0k7IW.js +0 -871
  211. package/dist/vue-ui-word-cloud-C4pX6jop.js +0 -1708
  212. package/dist/vue-ui-xy-Ck41KYqF.js +0 -5281
  213. package/dist/vue-ui-xy-canvas-B_8Mu19r.js +0 -1824
@@ -2,7 +2,7 @@ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
2
  import { A as t, H as n, Ht as r, I as i, L as a, N as o, P as s, Pt as c, S as l, St as u, U as d, Ut as f, V as p, Wt as m, X as ee, Zt as te, at as ne, d as re, ht as ie, i as ae, k as oe, kt as se, m as ce, nt as le, q as ue, st as de, t as fe } from "./lib-Dql7cqyA.js";
3
3
  import { n as pe, t as me } from "./useHints-Dq_w2E8B.js";
4
4
  import { t as h } from "./useTimeLabels-d2f-W1L4.js";
5
- import { t as he } from "./useConfig-CyCVHo81.js";
5
+ import { t as he } from "./useConfig-CIQZ6_r7.js";
6
6
  import { n as ge, t as _e } from "./BaseScanner-DZvpgOjM.js";
7
7
  import { t as ve } from "./useNestedProp-Chvyfpl-.js";
8
8
  import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
@@ -13,16 +13,16 @@ import { t as we } from "./A11yDataTable-DdRsVULz.js";
13
13
  import { t as Te } from "./useChartAccessibility-DYqac8yF.js";
14
14
  import { t as Ee } from "./usePrefersMotion-BC-CsqR1.js";
15
15
  import { t as De } from "./vue_ui_sparkline-auZhap6Y.js";
16
- import { Fragment as g, computed as _, createBlock as Oe, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createTextVNode as ke, createVNode as Ae, defineAsyncComponent as je, guardReactiveProps as Me, nextTick as x, normalizeProps as Ne, normalizeStyle as S, onBeforeUnmount as Pe, onMounted as Fe, openBlock as C, ref as w, renderList as T, renderSlot as E, shallowRef as Ie, toDisplayString as Le, toRefs as Re, unref as D, watch as O, watchEffect as ze, withCtx as Be } from "vue";
16
+ import { Fragment as g, computed as _, createBlock as Oe, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createTextVNode as ke, createVNode as Ae, defineAsyncComponent as je, guardReactiveProps as Me, nextTick as x, normalizeProps as Ne, normalizeStyle as S, onBeforeUnmount as Pe, onMounted as Fe, openBlock as C, ref as w, renderList as T, renderSlot as Ie, shallowRef as Le, toDisplayString as Re, toRefs as ze, unref as E, watch as D, watchEffect as Be, withCtx as Ve } from "vue";
17
17
  //#region src/atoms/SparklinePulse.vue
18
- var Ve = {
18
+ var He = {
19
19
  key: 0,
20
20
  style: { "pointer-events": "none" }
21
- }, He = [
21
+ }, Ue = [
22
22
  "r",
23
23
  "fill",
24
24
  "filter"
25
- ], Ue = [
25
+ ], We = [
26
26
  "begin",
27
27
  "dur",
28
28
  "repeatCount",
@@ -31,12 +31,12 @@ var Ve = {
31
31
  "keySplines",
32
32
  "keyTimes",
33
33
  "keyPoints"
34
- ], We = ["href"], Ge = [
34
+ ], Ge = ["href"], Ke = [
35
35
  "dur",
36
36
  "repeatCount",
37
37
  "fill",
38
38
  "values"
39
- ], Ke = ["r", "fill"], k = [
39
+ ], qe = ["r", "fill"], O = [
40
40
  "begin",
41
41
  "dur",
42
42
  "repeatCount",
@@ -44,7 +44,7 @@ var Ve = {
44
44
  "keySplines",
45
45
  "keyTimes",
46
46
  "keyPoints"
47
- ], qe = ["href"], A = ["dur", "repeatCount"], Je = {
47
+ ], Je = ["href"], k = ["dur", "repeatCount"], Ye = {
48
48
  __name: "SparklinePulse",
49
49
  props: {
50
50
  uid: {
@@ -132,17 +132,17 @@ var Ve = {
132
132
  let r = t.pulse.trail.opacity, i = (n.value - e) / n.value, a = e === 0 ? 1 : i * r;
133
133
  return `0;${a};${a};0`;
134
134
  }
135
- return O(() => t.loading, async (e) => {
135
+ return D(() => t.loading, async (e) => {
136
136
  if (e) {
137
137
  i();
138
138
  return;
139
139
  }
140
140
  await x(), i();
141
- }), O(() => t.pulsePathId, async () => {
141
+ }), D(() => t.pulsePathId, async () => {
142
142
  await x(), i();
143
143
  }), Pe(() => {
144
144
  i();
145
- }), (t, i) => r.value ? (C(), y("g", Ve, [(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 ? (C(), y("g", He, [(C(!0), y(g, null, T(n.value, (t, n) => (C(), y(g, null, [n % 3 == 0 ? (C(), y("circle", {
146
146
  key: `sparkline_dot_${n}_${e.pulsePathId}`,
147
147
  r: o(n),
148
148
  fill: e.pulse.color,
@@ -158,14 +158,14 @@ var Ve = {
158
158
  keyTimes: e.pulseMotion.keyTimes || void 0,
159
159
  keyPoints: e.pulseKeyPoints,
160
160
  rotate: "auto"
161
- }, [b("mpath", { href: `#${e.pulsePathId}` }, null, 8, We)], 8, Ue), b("animate", {
161
+ }, [b("mpath", { href: `#${e.pulsePathId}` }, null, 8, Ge)], 8, We), b("animate", {
162
162
  attributeName: "opacity",
163
163
  dur: e.pulseDur,
164
164
  repeatCount: e.pulseRepeatCount,
165
165
  fill: e.pulseFillMode,
166
166
  values: s(n),
167
167
  keyTimes: "0;0.1;0.9;1"
168
- }, null, 8, Ge)], 8, He)) : v("", !0)], 64))), 256)), (C(), y("circle", {
168
+ }, null, 8, Ke)], 8, Ue)) : v("", !0)], 64))), 256)), (C(), y("circle", {
169
169
  key: `sparkline_halo_${e.pulsePathId}`,
170
170
  r: Math.max(e.pulse.radius * 1.3),
171
171
  fill: e.pulse.color,
@@ -179,36 +179,36 @@ var Ve = {
179
179
  keyTimes: e.pulseMotion.keyTimes || void 0,
180
180
  keyPoints: e.pulseKeyPoints,
181
181
  rotate: "auto"
182
- }, [b("mpath", { href: `#${e.pulsePathId}` }, null, 8, qe)], 8, k), b("animate", {
182
+ }, [b("mpath", { href: `#${e.pulsePathId}` }, null, 8, Je)], 8, O), b("animate", {
183
183
  attributeName: "opacity",
184
184
  values: "0;0.35;0.35;0",
185
185
  keyTimes: "0;0.15;0.85;1",
186
186
  dur: e.pulseDur,
187
187
  repeatCount: e.pulseRepeatCount
188
- }, null, 8, A)], 8, Ke))])) : v("", !0);
188
+ }, null, 8, k)], 8, qe))])) : v("", !0);
189
189
  }
190
- }, j = {
190
+ }, Xe = {
191
191
  canvas: null,
192
192
  ctx: null
193
193
  };
194
- function Ye() {
194
+ function Ze() {
195
195
  if (typeof document > "u") throw Error("color-utils: document is not available (browser-only).");
196
- if (!j.canvas) {
196
+ if (!Xe.canvas) {
197
197
  let e = document.createElement("canvas");
198
198
  e.width = 1, e.height = 1;
199
199
  let t = e.getContext("2d", { willReadFrequently: !0 });
200
200
  if (!t) throw Error("color-utils: unable to get 2D canvas context.");
201
- j.canvas = e, j.ctx = t;
201
+ Xe.canvas = e, Xe.ctx = t;
202
202
  }
203
- return j.ctx;
203
+ return Xe.ctx;
204
204
  }
205
- function Xe(e) {
205
+ function Qe(e) {
206
206
  return e < 0 ? 0 : e > 255 ? 255 : Math.round(e);
207
207
  }
208
- function M(e) {
208
+ function A(e) {
209
209
  return e < 0 ? 0 : e > 1 ? 1 : e;
210
210
  }
211
- function N(e, t = null) {
211
+ function j(e, t = null) {
212
212
  if (typeof e != "string" || e.trim().length === 0) throw Error("colorToRgba: inputColor must be a non-empty string.");
213
213
  let n = e.trim();
214
214
  if (n.toLowerCase() === "transparent") return {
@@ -217,10 +217,10 @@ function N(e, t = null) {
217
217
  blue: 0,
218
218
  alpha: 0
219
219
  };
220
- let r = Ze(n, t), i = Ye();
220
+ let r = N(n, t), i = Ze();
221
221
  i.clearRect(0, 0, 1, 1), i.fillStyle = "#000";
222
222
  let a = i.fillStyle;
223
- if (i.fillStyle = r, i.fillStyle === a && !Qe(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}".`);
224
224
  i.fillRect(0, 0, 1, 1);
225
225
  let o = i.getImageData(0, 0, 1, 1).data;
226
226
  return {
@@ -230,35 +230,35 @@ function N(e, t = null) {
230
230
  alpha: o[3] / 255
231
231
  };
232
232
  }
233
- function P(e, t = null) {
233
+ function M(e, t = null) {
234
234
  if (!Array.isArray(e) || e.length === 0) throw Error("colorsToRgba: colors must be a non-empty array.");
235
235
  let n = Array(e.length);
236
- for (let r = 0; r < e.length; r += 1) n[r] = N(e[r], t);
236
+ for (let r = 0; r < e.length; r += 1) n[r] = j(e[r], t);
237
237
  return n;
238
238
  }
239
- function Ze(e, t = null) {
239
+ function N(e, t = null) {
240
240
  return e !== "currentColor" || typeof window > "u" || !t ? e : window.getComputedStyle(t).color || e;
241
241
  }
242
- function Qe(e) {
242
+ function $e(e) {
243
243
  let t = e.trim().toLowerCase();
244
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)";
245
245
  }
246
- function F(e) {
247
- let t = M(e / 255);
246
+ function P(e) {
247
+ let t = A(e / 255);
248
248
  return t <= .04045 ? t / 12.92 : ((t + .055) / 1.055) ** 2.4;
249
249
  }
250
- function I(e) {
251
- let t = M(e), n;
252
- return n = t <= .0031308 ? t * 12.92 : 1.055 * t ** (1 / 2.4) - .055, Xe(n * 255);
250
+ function F(e) {
251
+ let t = A(e), n;
252
+ return n = t <= .0031308 ? t * 12.92 : 1.055 * t ** (1 / 2.4) - .055, Qe(n * 255);
253
253
  }
254
- function $e(e, t, n, r) {
255
- let i = M(n);
254
+ function I(e, t, n, r) {
255
+ let i = A(n);
256
256
  if (r === "linearRGB") {
257
- let n = F(e.red), r = F(e.green), a = F(e.blue), o = F(t.red), s = F(t.green), c = F(t.blue), l = n + (o - n) * i, u = r + (s - r) * i, d = a + (c - a) * i;
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;
258
258
  return {
259
- red: I(l),
260
- green: I(u),
261
- blue: I(d),
259
+ red: F(l),
260
+ green: F(u),
261
+ blue: F(d),
262
262
  alpha: e.alpha + (t.alpha - e.alpha) * i
263
263
  };
264
264
  }
@@ -282,16 +282,16 @@ function R(e, t) {
282
282
  function z(e) {
283
283
  return Number.isFinite(e) ? e.toString() : "0";
284
284
  }
285
- function et(e) {
285
+ function B(e) {
286
286
  let t = L(e, 0, 255).toString(16);
287
287
  return t.length === 1 ? "0" + t : t;
288
288
  }
289
- function tt(e) {
289
+ function et(e) {
290
290
  if (typeof e != "string") return;
291
291
  let t = Number.parseFloat(e);
292
292
  return Number.isFinite(t) ? t : void 0;
293
293
  }
294
- function nt(e, t, n, r = !0) {
294
+ function tt(e, t, n, r = !0) {
295
295
  let i = n - t;
296
296
  if (i === 0) return 0;
297
297
  let a = (e - t) / i;
@@ -299,35 +299,35 @@ function nt(e, t, n, r = !0) {
299
299
  }
300
300
  //#endregion
301
301
  //#region src/SPG/index.js
302
- var rt = "http://www.w3.org/2000/svg";
303
- function it(e) {
302
+ var V = "http://www.w3.org/2000/svg";
303
+ function nt(e) {
304
304
  if (typeof document > "u") throw Error("SvgPathGradientAsync: document is not available (browser-only implementation).");
305
- let t = document.createElementNS(rt, "svg");
305
+ let t = document.createElementNS(V, "svg");
306
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";
307
- let n = document.createElementNS(rt, "path");
307
+ let n = document.createElementNS(V, "path");
308
308
  return e === "M " && (e = "M 0,0"), n.setAttribute("d", e), t.appendChild(n), document.body.appendChild(t), {
309
309
  svgElement: t,
310
310
  pathElement: n
311
311
  };
312
312
  }
313
- function at(e) {
313
+ function H(e) {
314
314
  if (e) try {
315
315
  e.svgElement?.remove?.();
316
316
  } catch {}
317
317
  }
318
- function ot(e, t, n) {
318
+ function rt(e, t, n) {
319
319
  if (typeof n == "number" && n > 0) return n;
320
320
  let r = t * .75;
321
321
  r < .5 && (r = .5), r > 8 && (r = 8);
322
322
  let i = e / 2;
323
323
  return r > i && i > 0 && (r = i), r <= 0 && (r = 1), r;
324
324
  }
325
- function st(e, t, n) {
325
+ function it(e, t, n) {
326
326
  if (typeof t == "number" && t >= 1) return Math.floor(t);
327
327
  let r = Math.ceil(e / (typeof n == "number" && n > 0 ? n : 2));
328
328
  return r < 1 ? 1 : r;
329
329
  }
330
- function ct(e, t, n, r, i, a) {
330
+ function at(e, t, n, r, i, a) {
331
331
  let o = n - t, s = Math.ceil(o / r) + 1;
332
332
  s < 2 && (s = 2), s > a && (s = a);
333
333
  let c = s > 1 ? o / (s - 1) : 0, l = e.getPointAtLength(t), u = `M ${z(R(l.x, i))} ${z(R(l.y, i))}`;
@@ -337,7 +337,7 @@ function ct(e, t, n, r, i, a) {
337
337
  }
338
338
  return u;
339
339
  }
340
- function lt(e, t, n, r, i, a) {
340
+ function ot(e, t, n, r, i, a) {
341
341
  let o = n - t, s = Math.ceil(o / r) + 1;
342
342
  s < 2 && (s = 2), s > a && (s = a);
343
343
  let c = s > 1 ? o / (s - 1) : 0, l = e.getPointAtLength(t), u = l.x, d = l.x, f = l.y, p = l.y, m = `M ${z(R(l.x, i))} ${z(R(l.y, i))}`;
@@ -355,7 +355,7 @@ function lt(e, t, n, r, i, a) {
355
355
  }
356
356
  };
357
357
  }
358
- function ut(e) {
358
+ function st(e) {
359
359
  if (e.length === 1) return [{
360
360
  position: 0,
361
361
  rgba: e[0]
@@ -367,21 +367,21 @@ function ut(e) {
367
367
  };
368
368
  return t;
369
369
  }
370
- function B(e, t, n, r) {
370
+ function ct(e, t, n, r) {
371
371
  let i = L(t, 0, 1), a = r;
372
372
  for (a < 0 && (a = 0), a > e.length - 2 && (a = e.length - 2); a > 0 && i < e[a].position;) --a;
373
373
  for (; a < e.length - 2 && i > e[a + 1].position;) a += 1;
374
374
  let o = e[a], s = e[a + 1], c = s.position - o.position, l = c > 0 ? (i - o.position) / c : 0;
375
- return U(V(o.rgba, s.rgba, l, n));
375
+ return dt(lt(o.rgba, s.rgba, l, n));
376
376
  }
377
- function V(e, t, n, r) {
377
+ function lt(e, t, n, r) {
378
378
  let i = L(n, 0, 1);
379
379
  if (r === "linearRGB") {
380
- let n = dt(e.red), r = dt(e.green), a = dt(e.blue), o = dt(t.red), s = dt(t.green), c = dt(t.blue), l = n + (o - n) * i, u = r + (s - r) * i, d = a + (c - a) * i;
380
+ let n = U(e.red), r = U(e.green), a = U(e.blue), o = U(t.red), s = U(t.green), c = U(t.blue), l = n + (o - n) * i, u = r + (s - r) * i, d = a + (c - a) * i;
381
381
  return {
382
- red: H(l),
383
- green: H(u),
384
- blue: H(d),
382
+ red: ut(l),
383
+ green: ut(u),
384
+ blue: ut(d),
385
385
  alpha: e.alpha + (t.alpha - e.alpha) * i
386
386
  };
387
387
  }
@@ -392,50 +392,50 @@ function V(e, t, n, r) {
392
392
  alpha: e.alpha + (t.alpha - e.alpha) * i
393
393
  };
394
394
  }
395
- function dt(e) {
395
+ function U(e) {
396
396
  let t = L(e / 255, 0, 1);
397
397
  return t <= .04045 ? t / 12.92 : ((t + .055) / 1.055) ** 2.4;
398
398
  }
399
- function H(e) {
399
+ function ut(e) {
400
400
  let t = L(e, 0, 1), n;
401
401
  return n = t <= .0031308 ? t * 12.92 : 1.055 * t ** (1 / 2.4) - .055, L(Math.round(n * 255), 0, 255);
402
402
  }
403
- function U(e) {
403
+ function dt(e) {
404
404
  let t = L(e.alpha, 0, 1), n = L(Math.round(e.red), 0, 255), r = L(Math.round(e.green), 0, 255), i = L(Math.round(e.blue), 0, 255);
405
- return t >= 1 ? `#${et(n)}${et(r)}${et(i)}` : `rgba(${n}, ${r}, ${i}, ${R(t, 4).toString()})`;
405
+ return t >= 1 ? `#${B(n)}${B(r)}${B(i)}` : `rgba(${n}, ${r}, ${i}, ${R(t, 4).toString()})`;
406
406
  }
407
407
  function ft(e) {
408
- let t = `fill="${W(e.fill ?? "none")}"`, n = Object.keys(e);
408
+ let t = `fill="${K(e.fill ?? "none")}"`, n = Object.keys(e);
409
409
  for (let r = 0; r < n.length; r += 1) {
410
410
  let i = n[r];
411
411
  if (i === "stroke" || i === "d") continue;
412
412
  let a = e[i];
413
- t += ` ${i}="${W(a)}"`;
413
+ t += ` ${i}="${K(a)}"`;
414
414
  }
415
415
  return t;
416
416
  }
417
- function pt(e, t, n) {
418
- return `<path d="${W(e)}" stroke="${W(t)}" ${n} />`;
417
+ function W(e, t, n) {
418
+ return `<path d="${K(e)}" stroke="${K(t)}" ${n} />`;
419
419
  }
420
- function mt(e) {
420
+ function G(e) {
421
421
  let t = [], n = e.segmentAttributeMap.fill ?? "none";
422
- t.push(`fill="${W(n)}"`), t.push(`stroke="${W(e.stroke)}"`);
422
+ t.push(`fill="${K(n)}"`), t.push(`stroke="${K(e.stroke)}"`);
423
423
  for (let n of Object.keys(e.segmentAttributeMap)) {
424
424
  if (n === "stroke" || n === "d") continue;
425
425
  let r = e.segmentAttributeMap[n];
426
- t.push(`${n}="${W(r)}"`);
426
+ t.push(`${n}="${K(r)}"`);
427
427
  }
428
- return `<path d="${W(e.pathData)}" ${t.join(" ")} />`;
428
+ return `<path d="${K(e.pathData)}" ${t.join(" ")} />`;
429
429
  }
430
- function ht(e, t) {
430
+ function pt(e, t) {
431
431
  let n = [];
432
- for (let e of Object.keys(t)) n.push(`${e}="${W(t[e])}"`);
432
+ for (let e of Object.keys(t)) n.push(`${e}="${K(t[e])}"`);
433
433
  return `<g data-svg-path-gradient="true"${n.length ? " " + n.join(" ") : ""}>${e.join("")}</g>`;
434
434
  }
435
- function W(e) {
435
+ function K(e) {
436
436
  return String(e).replaceAll("&", "&amp;").replaceAll("\"", "&quot;").replaceAll("<", "&lt;").replaceAll(">", "&gt;");
437
437
  }
438
- function gt(e, t = null, n = {}) {
438
+ function mt(e, t = null, n = {}) {
439
439
  return new Promise((r, i) => {
440
440
  let a = null;
441
441
  try {
@@ -443,16 +443,16 @@ function gt(e, t = null, n = {}) {
443
443
  let i = n.temperatureMode ?? null;
444
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.");
445
445
  if ((n.returnMode ?? "string") !== "string") throw Error("SvgPathGradientAsync: only returnMode=\"string\" is supported for the async version.");
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 = tt(c["stroke-width"]), d = typeof n.strokeWidth == "number" && n.strokeWidth > 0 ? n.strokeWidth : typeof u == "number" && u > 0 ? u : 1;
447
- a = it(e);
448
- let f = a.pathElement, p = f.getTotalLength(), m = i === null ? P(t, n.colorReferenceElement) : [];
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 = et(c["stroke-width"]), d = typeof n.strokeWidth == "number" && n.strokeWidth > 0 ? n.strokeWidth : typeof u == "number" && u > 0 ? u : 1;
447
+ a = nt(e);
448
+ let f = a.pathElement, p = f.getTotalLength(), m = i === null ? M(t, n.colorReferenceElement) : [];
449
449
  if (i === null && (!(p > 0) || m.length === 1)) {
450
- let t = ht([mt({
450
+ let t = pt([G({
451
451
  pathData: e,
452
- stroke: U(m[0]),
452
+ stroke: dt(m[0]),
453
453
  segmentAttributeMap: c
454
454
  })], l);
455
- at(a), r(t);
455
+ H(a), r(t);
456
456
  return;
457
457
  }
458
458
  let ee = n.colorSpace ?? "linearRGB";
@@ -460,14 +460,14 @@ function gt(e, t = null, n = {}) {
460
460
  let e = n.temperatureColors;
461
461
  if (!Array.isArray(e) || e.length !== 2) throw Error("SvgPathGradientAsync: temperatureColors must be a tuple of exactly 2 colors when temperatureMode is enabled.");
462
462
  }
463
- let te = i === null ? null : P(n.temperatureColors, n.colorReferenceElement), ne = i === null ? (() => {
464
- let e = ut(m), t = Array(e.length);
463
+ let te = i === null ? null : M(n.temperatureColors, n.colorReferenceElement), ne = i === null ? (() => {
464
+ let e = st(m), t = Array(e.length);
465
465
  for (let n = 0; n < e.length; n += 1) t[n] = {
466
466
  position: e[n].position,
467
467
  rgba: e[n].rgba
468
468
  };
469
469
  return t;
470
- })() : [], re = ot(p, d, n.maxSegmentLength), ie = st(p, n.segments, re), ae = p / ie, oe = typeof n.overlap == "number" && n.overlap >= 0 ? n.overlap : d * .5, se = ae * .45;
470
+ })() : [], re = rt(p, d, n.maxSegmentLength), ie = it(p, n.segments, re), ae = p / ie, oe = typeof n.overlap == "number" && n.overlap >= 0 ? n.overlap : d * .5, se = ae * .45;
471
471
  oe > se && (oe = se);
472
472
  let ce = typeof n.samplePointLimitPerSegment == "number" && n.samplePointLimitPerSegment > 10 ? n.samplePointLimitPerSegment : 250, le = ft(c), ue = [], de = i === null ? null : [], fe = i === null ? null : [], pe = 0, me = i === null ? ne.length - 2 : 0, h = 0, he = () => {
473
473
  let e = performance.now(), t = typeof n.frameBudgetMs == "number" ? n.frameBudgetMs : 8;
@@ -475,13 +475,13 @@ function gt(e, t = null, n = {}) {
475
475
  let e = h * ae, t = (h + 1) * ae, n = e, r = t;
476
476
  if (h !== 0 && (n = e - oe), h !== ie - 1 && (r = t + oe), n = L(n, 0, p), r = L(r, 0, p), r > n) {
477
477
  if (i !== null) {
478
- let e = lt(f, n, r, s, o, ce);
478
+ let e = ot(f, n, r, s, o, ce);
479
479
  de.push(e.pathData), fe.push(e.bounds);
480
480
  } else {
481
481
  let e = (n + r) * .5 / p;
482
482
  for (; pe < me && e > ne[pe + 1].position;) pe += 1;
483
- let t = B(ne, e, ee, pe), i = ct(f, n, r, s, o, ce);
484
- ue.push(pt(i, t, le));
483
+ let t = ct(ne, e, ee, pe), i = at(f, n, r, s, o, ce);
484
+ ue.push(W(i, t, le));
485
485
  }
486
486
  }
487
487
  h += 1;
@@ -499,22 +499,22 @@ function gt(e, t = null, n = {}) {
499
499
  let n = te[0], r = te[1];
500
500
  ue.length = 0;
501
501
  for (let a = 0; a < fe.length; a += 1) {
502
- let o = fe[a], s = nt(((i === "vertical" ? o.minY : o.minX) + (i === "vertical" ? o.maxY : o.maxX)) * .5, e, t, !0), c = U(i === "vertical" ? $e(n, r, s, ee) : $e(r, n, s, ee)), l = de[a];
503
- ue.push(pt(l, c, le));
502
+ let o = fe[a], s = tt(((i === "vertical" ? o.minY : o.minX) + (i === "vertical" ? o.maxY : o.maxX)) * .5, e, t, !0), c = dt(i === "vertical" ? I(n, r, s, ee) : I(r, n, s, ee)), l = de[a];
503
+ ue.push(W(l, c, le));
504
504
  }
505
505
  }
506
- let c = ht(ue, l);
507
- at(a), r(c);
506
+ let c = pt(ue, l);
507
+ H(a), r(c);
508
508
  };
509
509
  requestAnimationFrame(he);
510
510
  } catch (e) {
511
- at(a), i(e);
511
+ H(a), i(e);
512
512
  }
513
513
  });
514
514
  }
515
515
  //#endregion
516
516
  //#region src/atoms/SparklineGradientPath.vue
517
- var _t = ["innerHTML"], vt = {
517
+ var ht = ["innerHTML"], gt = {
518
518
  __name: "SparklineGradientPath",
519
519
  props: {
520
520
  svgPathData: {
@@ -544,7 +544,7 @@ var _t = ["innerHTML"], vt = {
544
544
  },
545
545
  setup(e) {
546
546
  let t = e, n = w(""), r = 0;
547
- return O(() => [
547
+ return D(() => [
548
548
  t.enabled,
549
549
  t.svgPathData,
550
550
  t.strokeWidth,
@@ -557,7 +557,7 @@ var _t = ["innerHTML"], vt = {
557
557
  n.value = "";
558
558
  return;
559
559
  }
560
- let a = await gt(t.svgPathData, null, {
560
+ let a = await mt(t.svgPathData, null, {
561
561
  segments: t.segments,
562
562
  temperatureMode: "vertical",
563
563
  temperatureColors: [t.highColor, t.lowColor],
@@ -569,54 +569,54 @@ var _t = ["innerHTML"], vt = {
569
569
  groupAttrs: { class: "vue-ui-sparkline-gradient" }
570
570
  });
571
571
  i === r && (n.value = a);
572
- }, { immediate: !0 }), (e, t) => (C(), y("g", { innerHTML: n.value }, null, 8, _t));
572
+ }, { immediate: !0 }), (e, t) => (C(), y("g", { innerHTML: n.value }, null, 8, ht));
573
573
  }
574
- }, yt = /* @__PURE__ */ e({ default: () => G }), bt = ["id"], xt = ["id"], St = { style: { position: "relative" } }, Ct = [
574
+ }, _t = /* @__PURE__ */ e({ default: () => Vt }), vt = ["id"], yt = ["id"], bt = { style: { position: "relative" } }, xt = [
575
575
  "xmlns",
576
576
  "viewBox",
577
577
  "aria-describedby"
578
- ], wt = ["width", "height"], Tt = ["id"], Et = [
578
+ ], St = ["width", "height"], Ct = ["id"], wt = [
579
579
  "id",
580
580
  "y1",
581
581
  "y2"
582
- ], Dt = ["stop-color", "offset"], Ot = { key: 1 }, kt = [
582
+ ], Tt = ["stop-color", "offset"], Et = { key: 1 }, Dt = [
583
583
  "data-cy",
584
584
  "d",
585
585
  "fill"
586
- ], At = [
586
+ ], Ot = [
587
587
  "id",
588
588
  "d",
589
589
  "stroke-width"
590
- ], jt = [
590
+ ], kt = [
591
591
  "d",
592
592
  "stroke",
593
593
  "stroke-width",
594
594
  "stroke-dasharray"
595
- ], Mt = [
595
+ ], At = [
596
596
  "d",
597
597
  "stroke",
598
598
  "stroke-width"
599
- ], Nt = [
599
+ ], jt = [
600
600
  "id",
601
601
  "d",
602
602
  "stroke-width"
603
- ], Pt = [
603
+ ], Mt = [
604
604
  "d",
605
605
  "stroke",
606
606
  "stroke-width",
607
607
  "stroke-dasharray"
608
- ], Ft = [
608
+ ], Nt = [
609
609
  "d",
610
610
  "stroke",
611
611
  "stroke-width"
612
- ], It = [
612
+ ], Pt = [
613
613
  "x",
614
614
  "y",
615
615
  "width",
616
616
  "height",
617
617
  "fill",
618
618
  "rx"
619
- ], Lt = [
619
+ ], Ft = [
620
620
  "x1",
621
621
  "x2",
622
622
  "y1",
@@ -624,7 +624,7 @@ var _t = ["innerHTML"], vt = {
624
624
  "stroke",
625
625
  "stroke-width",
626
626
  "stroke-dasharray"
627
- ], Rt = [
627
+ ], It = [
628
628
  "x1",
629
629
  "x2",
630
630
  "y1",
@@ -632,20 +632,20 @@ var _t = ["innerHTML"], vt = {
632
632
  "stroke",
633
633
  "stroke-dasharray",
634
634
  "stroke-width"
635
- ], zt = [
635
+ ], Lt = [
636
636
  "cx",
637
637
  "cy",
638
638
  "r",
639
639
  "fill",
640
640
  "stroke",
641
641
  "stroke-width"
642
- ], Bt = [
642
+ ], Rt = [
643
643
  "x",
644
644
  "y",
645
645
  "font-size",
646
646
  "font-weight",
647
647
  "fill"
648
- ], Vt = [
648
+ ], zt = [
649
649
  "x",
650
650
  "y",
651
651
  "height",
@@ -653,7 +653,7 @@ var _t = ["innerHTML"], vt = {
653
653
  "onMouseenter",
654
654
  "onMouseleave",
655
655
  "onClick"
656
- ], Ht = {
656
+ ], Bt = {
657
657
  key: 0,
658
658
  style: {
659
659
  position: "absolute",
@@ -663,7 +663,7 @@ var _t = ["innerHTML"], vt = {
663
663
  },
664
664
  "data-dom-to-png-ignore": "",
665
665
  "aria-hidden": "true"
666
- }, G = /*#__PURE__*/ be({
666
+ }, Vt = /*#__PURE__*/ be({
667
667
  __name: "vue-ui-sparkline",
668
668
  props: {
669
669
  config: {
@@ -697,10 +697,10 @@ var _t = ["innerHTML"], vt = {
697
697
  },
698
698
  emits: ["hoverIndex", "selectDatapoint"],
699
699
  setup(e, { emit: be }) {
700
- let Ve = je(() => import("./PackageVersion-5SWftabm.js").then((e) => e.t)), He = je(() => import("./SparkTooltip-C-Y-mDrc.js")), { vue_ui_sparkline: Ue } = he(), { isThemeValid: We, warnInvalidTheme: Ge } = ye(), Ke = Ee(), k = e, qe = _(() => Array.isArray(k.dataset) && k.dataset.length > 0), A = w(ue()), j = w(null), Ye = w(null), Xe = w(null), M = w(null), N = w(null), P = w(R());
700
+ let He = je(() => import("./PackageVersion-ur6jKRL5.js").then((e) => e.t)), Ue = je(() => import("./SparkTooltip-C-Y-mDrc.js")), { vue_ui_sparkline: We } = he(), { isThemeValid: Ge, warnInvalidTheme: Ke } = ye(), qe = Ee(), O = e, Je = _(() => Array.isArray(O.dataset) && O.dataset.length > 0), k = w(ue()), Xe = w(null), Ze = w(null), Qe = w(null), A = w(null), j = w(null), M = w(nt()), N = _(() => M.value.style.tooltip), $e = _(() => M.value.style.bar), P = _(() => M.value.style.line), F = _(() => M.value.style.area), I = _(() => M.value.style.dataLabel), L = _(() => M.value.style);
701
701
  pe({
702
- config: () => P.value,
703
- dataset: () => k.dataset,
702
+ config: () => M.value,
703
+ dataset: () => O.dataset,
704
704
  component: "VueUiSparkline",
705
705
  rules: [
706
706
  me.emptyArray,
@@ -722,8 +722,8 @@ var _t = ["innerHTML"], vt = {
722
722
  }
723
723
  ]
724
724
  });
725
- function Ze(e) {
726
- return k.config?.skeletonDataset && Array.isArray(k.config.skeletonDataset) ? k.config.skeletonDataset.map((e) => ({
725
+ function R(e) {
726
+ return O.config?.skeletonDataset && Array.isArray(O.config.skeletonDataset) ? O.config.skeletonDataset.map((e) => ({
727
727
  period: "-",
728
728
  value: e
729
729
  })) : ne(e).map((e) => ({
@@ -731,7 +731,7 @@ var _t = ["innerHTML"], vt = {
731
731
  value: e
732
732
  }));
733
733
  }
734
- let Qe = _(() => te({
734
+ let z = _(() => te({
735
735
  defaultConfig: {
736
736
  gradientPath: { show: !1 },
737
737
  temperatureColors: { show: !1 },
@@ -752,66 +752,66 @@ var _t = ["innerHTML"], vt = {
752
752
  tooltip: { show: !1 }
753
753
  }
754
754
  },
755
- userConfig: P.value.skeletonConfig ?? {}
756
- })), { loading: F, FINAL_DATASET: I, manualLoading: $e } = ge({
757
- ...Re(k),
758
- FINAL_CONFIG: P,
759
- prepareConfig: R,
755
+ userConfig: M.value.skeletonConfig ?? {}
756
+ })), { loading: B, FINAL_DATASET: et, manualLoading: tt } = ge({
757
+ ...ze(O),
758
+ FINAL_CONFIG: M,
759
+ prepareConfig: nt,
760
760
  callback: () => {
761
761
  Promise.resolve().then(async () => {
762
- await x(), _t();
762
+ await x(), Gt();
763
763
  });
764
764
  },
765
- skeletonDataset: Ze(12),
765
+ skeletonDataset: R(12),
766
766
  skeletonConfig: te({
767
- defaultConfig: P.value,
768
- userConfig: Qe.value
767
+ defaultConfig: M.value,
768
+ userConfig: z.value
769
769
  })
770
- }), { svgRef: L } = Te({ config: P.value.style.title });
771
- function R() {
770
+ }), { svgRef: V } = Te({ config: L.value.title });
771
+ function nt() {
772
772
  let e = ve({
773
- userConfig: k.config,
774
- defaultConfig: Ue
773
+ userConfig: O.config,
774
+ defaultConfig: We
775
775
  }), t = {}, n = e.theme;
776
776
  if (n) {
777
- if (!We.value(e)) Ge(e), t = e;
777
+ if (!Ge.value(e)) Ke(e), t = e;
778
778
  else {
779
779
  let r = ve({
780
- userConfig: De[n] || k.config,
780
+ userConfig: De[n] || O.config,
781
781
  defaultConfig: e
782
782
  });
783
783
  t = { ...ve({
784
- userConfig: k.config,
784
+ userConfig: O.config,
785
785
  defaultConfig: r
786
786
  }) };
787
787
  }
788
788
  } else t = e;
789
789
  return t;
790
790
  }
791
- let z = _(() => P.value?.style?.line.pulse || {}), et = _(() => `${Math.max(200, Number(z.value.durationMs) || 4e3) / 1e3}s`), tt = w(0), nt = _(() => z.value?.begin || "0ms"), rt = w("0;1"), it = _(() => z.value?.loop === !1 ? "1" : "indefinite"), at = _(() => z.value?.loop === !1 ? "freeze" : void 0), ot = _(() => z.value.trail.show && ut.value.lengthPx || 1), st = _(() => !!z.value?.show && !Q.value && !Ke.value && !F.value && (J.value?.length || 0) > 1);
792
- function ct() {
793
- if (!st.value) {
794
- tt.value = 0;
791
+ let H = _(() => M.value?.style?.line.pulse || {}), rt = _(() => `${Math.max(200, Number(H.value.durationMs) || 4e3) / 1e3}s`), it = w(0), at = _(() => H.value?.begin || "0ms"), ot = w("0;1"), st = _(() => H.value?.loop === !1 ? "1" : "indefinite"), ct = _(() => H.value?.loop === !1 ? "freeze" : void 0), lt = _(() => H.value.trail.show && ft.value.lengthPx || 1), U = _(() => !!H.value?.show && !Q.value && !qe.value && !B.value && (Y.value?.length || 0) > 1);
792
+ function ut() {
793
+ if (!U.value) {
794
+ it.value = 0;
795
795
  return;
796
796
  }
797
- let e = L.value;
797
+ let e = V.value;
798
798
  if (!e) return;
799
- let t = `#${G.value}`, n = e.querySelector?.(t);
799
+ let t = `#${qt.value}`, n = e.querySelector?.(t);
800
800
  if (n && typeof n.getTotalLength == "function") {
801
801
  let e = n.getTotalLength();
802
- Number.isFinite(e) && e > 0 && (tt.value = e);
802
+ Number.isFinite(e) && e > 0 && (it.value = e);
803
803
  return;
804
804
  }
805
805
  requestAnimationFrame(() => {
806
806
  let n = e.querySelector?.(t);
807
807
  if (n && typeof n.getTotalLength == "function") {
808
808
  let e = n.getTotalLength();
809
- Number.isFinite(e) && e > 0 && (tt.value = e);
809
+ Number.isFinite(e) && e > 0 && (it.value = e);
810
810
  }
811
811
  });
812
812
  }
813
- let lt = _(() => {
814
- let e = z.value?.easing || "ease-in-out", t = {
813
+ let dt = _(() => {
814
+ let e = H.value?.easing || "ease-in-out", t = {
815
815
  ease: [
816
816
  .25,
817
817
  .1,
@@ -847,7 +847,7 @@ var _t = ["innerHTML"], vt = {
847
847
  keyTimes: "0;1"
848
848
  } : {
849
849
  calcMode: "spline",
850
- keySplines: (e === "cubic-bezier" ? Array.isArray(z.value?.cubicBezier) && z.value.cubicBezier.length === 4 ? z.value.cubicBezier : [
850
+ keySplines: (e === "cubic-bezier" ? Array.isArray(H.value?.cubicBezier) && H.value.cubicBezier.length === 4 ? H.value.cubicBezier : [
851
851
  .4,
852
852
  0,
853
853
  .2,
@@ -855,8 +855,8 @@ var _t = ["innerHTML"], vt = {
855
855
  ] : t[e] || t["ease-in-out"]).join(" "),
856
856
  keyTimes: "0;1"
857
857
  };
858
- }), ut = _(() => {
859
- let e = z.value?.trail || {}, t = P.value.style.line.strokeWidth || 1;
858
+ }), ft = _(() => {
859
+ let e = H.value?.trail || {}, t = P.value.strokeWidth || 1;
860
860
  return {
861
861
  show: e.show !== !1,
862
862
  lengthPx: e.length,
@@ -865,92 +865,92 @@ var _t = ["innerHTML"], vt = {
865
865
  fadeIn: .5,
866
866
  fadeOut: .2
867
867
  };
868
- }), B = _(() => se({
869
- data: I.value,
870
- threshold: P.value.downsample.threshold
868
+ }), W = _(() => se({
869
+ data: et.value,
870
+ threshold: M.value.downsample.threshold
871
871
  }));
872
872
  _(() => {
873
- if (!P.value.temperatureColors.show) return !1;
874
- let e = I.value.map(({ value: e }) => e).filter((e) => Number.isFinite(e));
873
+ if (!M.value.temperatureColors.show) return !1;
874
+ let e = et.value.map(({ value: e }) => e).filter((e) => Number.isFinite(e));
875
875
  return new Set(e).size <= 1;
876
- }), O(() => k.config, (e) => {
877
- F.value || (P.value = R()), Kt(), K.value.chartWidth = P.value.style.chartWidth;
878
- }, { deep: !0 }), O(() => k.dataset, (e) => {
879
- Array.isArray(e) && e.length > 0 && ($e.value = !1), V.value = se({
880
- data: I.value.map((e) => ({
876
+ }), D(() => O.config, (e) => {
877
+ B.value || (M.value = nt()), Zt(), q.value.chartWidth = L.value.chartWidth;
878
+ }, { deep: !0 }), D(() => O.dataset, (e) => {
879
+ Array.isArray(e) && e.length > 0 && (tt.value = !1), G.value = se({
880
+ data: et.value.map((e) => ({
881
881
  ...e,
882
882
  value: [void 0].includes(e.value) ? null : e.value
883
883
  })),
884
- threshold: P.value.downsample.threshold
884
+ threshold: M.value.downsample.threshold
885
885
  });
886
886
  }, { deep: !0 });
887
- let V = w(dt());
888
- function dt() {
887
+ let G = w(pt());
888
+ function pt() {
889
889
  return se({
890
- data: I.value.map((e) => P.value.style.animation.show && I.value.length > 1 ? {
890
+ data: et.value.map((e) => L.value.animation.show && et.value.length > 1 ? {
891
891
  ...e,
892
892
  value: null
893
893
  } : {
894
894
  ...e,
895
895
  value: [void 0].includes(e.value) ? null : e.value
896
896
  }),
897
- threshold: P.value.downsample.threshold
897
+ threshold: M.value.downsample.threshold
898
898
  });
899
899
  }
900
- let H = Ie(null), U = Ie(null), ft = w(!1), pt = w(0), mt = w([]), ht = w(""), W = _(() => {
901
- let e = (B.value || []).map((e) => `${e.period}::${Number.isFinite(e.value) ? e.value : 0}`).join("|"), t = P.value?.style?.animation || {}, n = !!P.value?.gradientPath?.show && !P.value.temperatureColors.show;
900
+ let K = Le(null), mt = Le(null), ht = w(!1), _t = w(0), Vt = w([]), Ht = w(""), Ut = _(() => {
901
+ let e = (W.value || []).map((e) => `${e.period}::${Number.isFinite(e.value) ? e.value : 0}`).join("|"), t = M.value?.style?.animation || {}, n = !!M.value?.gradientPath?.show && !M.value.temperatureColors.show;
902
902
  return `${e}#${!!t.show}#${t.animationFrames || 0}#${n}`;
903
903
  });
904
- function gt() {
905
- pt.value &&= (cancelAnimationFrame(pt.value), 0), mt.value.forEach((e) => clearTimeout(e)), mt.value = [], ft.value = !1;
904
+ function Wt() {
905
+ _t.value &&= (cancelAnimationFrame(_t.value), 0), Vt.value.forEach((e) => clearTimeout(e)), Vt.value = [], ht.value = !1;
906
906
  }
907
- function _t() {
908
- let e = P.value?.style?.animation || {}, t = B.value || [], n = W.value, r = !!P.value.gradientPath.show && !P.value.temperatureColors.show;
909
- if (n && n === ht.value && (ft.value || V.value.length === t.length)) return;
910
- if (gt(), r || !e.show || F.value || t.length <= 1 || Ke.value) {
911
- V.value = t, ht.value = n;
907
+ function Gt() {
908
+ let e = M.value?.style?.animation || {}, t = W.value || [], n = Ut.value, r = !!M.value.gradientPath.show && !M.value.temperatureColors.show;
909
+ if (n && n === Ht.value && (ht.value || G.value.length === t.length)) return;
910
+ if (Wt(), r || !e.show || B.value || t.length <= 1 || qe.value) {
911
+ G.value = t, Ht.value = n;
912
912
  return;
913
913
  }
914
- ft.value = !0, ht.value = n, V.value = [];
914
+ ht.value = !0, Ht.value = n, G.value = [];
915
915
  let i = Math.max(1, Number(e.animationFrames) || 1), a = Math.max(1, Math.floor(i / t.length)), o = 0, s = () => {
916
- if (n !== W.value) {
917
- gt();
916
+ if (n !== Ut.value) {
917
+ Wt();
918
918
  return;
919
919
  }
920
920
  if (o < t.length) {
921
- V.value.push(t[o]);
921
+ G.value.push(t[o]);
922
922
  let e = setTimeout(() => {
923
- pt.value = requestAnimationFrame(s);
923
+ _t.value = requestAnimationFrame(s);
924
924
  }, a);
925
- mt.value.push(e), o += 1;
926
- } else V.value = t, gt();
925
+ Vt.value.push(e), o += 1;
926
+ } else G.value = t, Wt();
927
927
  };
928
- pt.value = requestAnimationFrame(s);
928
+ _t.value = requestAnimationFrame(s);
929
929
  }
930
- O(W, () => {
931
- _t();
930
+ D(Ut, () => {
931
+ Gt();
932
932
  }), Fe(() => {
933
- Kt(), _t();
933
+ Zt(), Gt();
934
934
  }), Pe(() => {
935
- gt();
935
+ Wt();
936
936
  });
937
- let yt = w(0);
938
- O(() => F.value, async (e) => {
939
- e || (await x(), yt.value += 1);
940
- }), O(() => ft.value, async (e) => {
941
- e || F.value || (await x(), yt.value += 1);
937
+ let Kt = w(0);
938
+ D(() => B.value, async (e) => {
939
+ e || (await x(), Kt.value += 1);
940
+ }), D(() => ht.value, async (e) => {
941
+ e || B.value || (await x(), Kt.value += 1);
942
942
  });
943
- let G = _(() => `sparkline_line_path_${A.value}`), Ut = w(!0);
944
- async function Wt() {
945
- Ut.value = !1, await x(), Ut.value = !0, await x(), ct();
943
+ let qt = _(() => `sparkline_line_path_${k.value}`), Jt = w(!0);
944
+ async function Yt() {
945
+ Jt.value = !1, await x(), Jt.value = !0, await x(), ut();
946
946
  }
947
- let Gt = _(() => P.value.debug);
948
- function Kt() {
949
- if (c(k.dataset) ? (le({
947
+ let Xt = _(() => M.value.debug);
948
+ function Zt() {
949
+ if (c(O.dataset) ? (le({
950
950
  componentName: "VueUiSparkline",
951
951
  type: "dataset",
952
- debug: Gt.value
953
- }), $e.value = !0) : Gt.value && k.dataset.forEach((e, t) => {
952
+ debug: Xt.value
953
+ }), tt.value = !0) : Xt.value && O.dataset.forEach((e, t) => {
954
954
  ie({
955
955
  datasetObject: e,
956
956
  requiredAttributes: ["period", "value"]
@@ -962,116 +962,116 @@ var _t = ["innerHTML"], vt = {
962
962
  index: t
963
963
  });
964
964
  });
965
- }), c(k.dataset) || ($e.value = P.value.loading), P.value.responsive) {
965
+ }), c(O.dataset) || (tt.value = M.value.loading), M.value.responsive) {
966
966
  let e = xe(() => {
967
967
  let { width: e, height: t } = Se({
968
- chart: j.value,
969
- title: P.value.style.title.show && k.showInfo ? Ye.value : null,
970
- source: Xe.value
968
+ chart: Xe.value,
969
+ title: L.value.title.show && O.showInfo ? Ze.value : null,
970
+ source: Qe.value
971
971
  });
972
972
  requestAnimationFrame(() => {
973
- K.value.width = e, K.value.height = t, K.value.chartWidth = P.value.style.chartWidth / 500 * e, K.value.padding = k.forcedPadding / 500 * e;
973
+ q.value.width = e, q.value.height = t, q.value.chartWidth = L.value.chartWidth / 500 * e, q.value.padding = O.forcedPadding / 500 * e;
974
974
  });
975
975
  });
976
- H.value && (U.value && H.value.unobserve(U.value), H.value.disconnect()), H.value = new ResizeObserver(e), U.value = j.value.parentNode, H.value.observe(U.value);
976
+ K.value && (mt.value && K.value.unobserve(mt.value), K.value.disconnect()), K.value = new ResizeObserver(e), mt.value = Xe.value.parentNode, K.value.observe(mt.value);
977
977
  }
978
978
  }
979
979
  Pe(() => {
980
- H.value && (U.value && H.value.unobserve(U.value), H.value.disconnect());
980
+ K.value && (mt.value && K.value.unobserve(mt.value), K.value.disconnect());
981
981
  });
982
- let K = w({
983
- height: 80 * k.heightRatio,
982
+ let q = w({
983
+ height: 80 * O.heightRatio,
984
984
  width: 500,
985
- chartWidth: P.value.style.chartWidth,
986
- padding: k.forcedPadding
987
- }), qt = be, q = _(() => {
988
- let { top: e, right: t, bottom: n, left: r } = P.value.style.padding;
985
+ chartWidth: L.value.chartWidth,
986
+ padding: O.forcedPadding
987
+ }), Qt = be, J = _(() => {
988
+ let { top: e, right: t, bottom: n, left: r } = L.value.padding;
989
989
  return {
990
990
  top: e,
991
991
  left: r,
992
- right: K.value.width - t,
993
- bottom: K.value.height - n,
994
- start: k.showInfo && P.value.style.dataLabel.show && P.value.style.dataLabel.position === "left" ? K.value.width - K.value.chartWidth + r : K.value.padding + r,
995
- width: k.showInfo && P.value.style.dataLabel.show ? K.value.chartWidth - r - t : K.value.width - K.value.padding - r - t,
996
- height: K.value.height - e - n
992
+ right: q.value.width - t,
993
+ bottom: q.value.height - n,
994
+ start: O.showInfo && I.value.show && I.value.position === "left" ? q.value.width - q.value.chartWidth + r : q.value.padding + r,
995
+ width: O.showInfo && I.value.show ? q.value.chartWidth - r - t : q.value.width - q.value.padding - r - t,
996
+ height: q.value.height - e - n
997
997
  };
998
- }), Jt = _(() => [null, void 0].includes(P.value.style.scaleMin) ? Math.min(...V.value.map((e) => isNaN(e.value) || [
998
+ }), $t = _(() => [null, void 0].includes(L.value.scaleMin) ? Math.min(...G.value.map((e) => isNaN(e.value) || [
999
999
  void 0,
1000
1000
  null,
1001
1001
  "NaN",
1002
1002
  NaN,
1003
1003
  Infinity,
1004
1004
  -Infinity
1005
- ].includes(e.value) ? 0 : e.value || 0)) : P.value.style.scaleMin), Yt = _(() => [null, void 0].includes(P.value.style.scaleMax) ? Math.max(...V.value.map((e) => isNaN(e.value) || [
1005
+ ].includes(e.value) ? 0 : e.value || 0)) : L.value.scaleMin), en = _(() => [null, void 0].includes(L.value.scaleMax) ? Math.max(...G.value.map((e) => isNaN(e.value) || [
1006
1006
  void 0,
1007
1007
  null,
1008
1008
  "NaN",
1009
1009
  NaN,
1010
1010
  Infinity,
1011
1011
  -Infinity
1012
- ].includes(e.value) ? 0 : e.value || 0)) : P.value.style.scaleMax), Xt = _(() => {
1013
- let e = Jt.value >= 0 ? 0 : Jt.value;
1012
+ ].includes(e.value) ? 0 : e.value || 0)) : L.value.scaleMax), tn = _(() => {
1013
+ let e = $t.value >= 0 ? 0 : $t.value;
1014
1014
  return Math.abs(e);
1015
- }), Zt = _(() => Yt.value + Xt.value), Qt = _(() => q.value.bottom - q.value.height * $t(Xt.value));
1016
- function $t(e) {
1017
- return isNaN(e / Zt.value) ? 0 : e / Zt.value;
1015
+ }), nn = _(() => en.value + tn.value), rn = _(() => J.value.bottom - J.value.height * an(tn.value));
1016
+ function an(e) {
1017
+ return isNaN(e / nn.value) ? 0 : e / nn.value;
1018
1018
  }
1019
- let en = _(() => B.value.length - 1 || 1), tn = w([]), nn = 0;
1020
- ze(() => {
1021
- let e = ++nn;
1019
+ let on = _(() => W.value.length - 1 || 1), sn = w([]), cn = 0;
1020
+ Be(() => {
1021
+ let e = ++cn;
1022
1022
  (async () => {
1023
1023
  let t = await h({
1024
- values: B.value.map((e) => e.period),
1025
- maxDatapoints: B.value.length,
1026
- formatter: P.value.style.dataLabel.datetimeFormatter,
1024
+ values: W.value.map((e) => e.period),
1025
+ maxDatapoints: W.value.length,
1026
+ formatter: I.value.datetimeFormatter,
1027
1027
  start: 0,
1028
- end: B.value.length
1028
+ end: W.value.length
1029
1029
  });
1030
- e === nn && (tn.value = t);
1030
+ e === cn && (sn.value = t);
1031
1031
  })();
1032
1032
  });
1033
- let J = _(() => V.value.map((e, t) => {
1033
+ let Y = _(() => G.value.map((e, t) => {
1034
1034
  let n = isNaN(e.value) || [
1035
1035
  void 0,
1036
1036
  "NaN",
1037
1037
  NaN,
1038
1038
  Infinity,
1039
1039
  -Infinity
1040
- ].includes(e.value) ? 0 : e.value, r = q.value.width / en.value;
1040
+ ].includes(e.value) ? 0 : e.value, r = J.value.width / on.value;
1041
1041
  return {
1042
1042
  value: e.value,
1043
1043
  absoluteValue: n,
1044
- period: tn.value && tn.value[t] && tn.value[t].text ? tn.value[t].text : e.period,
1045
- plotValue: n + Xt.value,
1046
- toMax: $t(n + Xt.value),
1047
- x: q.value.start + t * r,
1048
- y: q.value.bottom - q.value.height * $t(n + Xt.value),
1049
- id: `plot_${A.value}_${t}`,
1050
- color: Q.value ? P.value.style.bar.color : P.value.style.area.useGradient ? m(P.value.style.line.color, .05 * (1 - t / en.value)) : P.value.style.line.color,
1044
+ period: sn.value && sn.value[t] && sn.value[t].text ? sn.value[t].text : e.period,
1045
+ plotValue: n + tn.value,
1046
+ toMax: an(n + tn.value),
1047
+ x: J.value.start + t * r,
1048
+ y: J.value.bottom - J.value.height * an(n + tn.value),
1049
+ id: `plot_${k.value}_${t}`,
1050
+ color: Q.value ? $e.value.color : F.value.useGradient ? m(P.value.color, .05 * (1 - t / on.value)) : P.value.color,
1051
1051
  width: r
1052
1052
  };
1053
- })), rn = _(() => k.selectedIndex !== void 0 && k.selectedIndex !== null && k.selectedIndex >= 0 && k.selectedIndex < J.value.length ? k.selectedIndex : N.value !== void 0 && N.value !== null && N.value >= 0 && N.value < J.value.length ? N.value : null), Y = w(void 0), X = w(void 0);
1054
- function an(e, t) {
1055
- P.value.events.datapointEnter && P.value.events.datapointEnter({
1053
+ })), ln = _(() => O.selectedIndex !== void 0 && O.selectedIndex !== null && O.selectedIndex >= 0 && O.selectedIndex < Y.value.length ? O.selectedIndex : j.value !== void 0 && j.value !== null && j.value >= 0 && j.value < Y.value.length ? j.value : null), X = w(void 0), un = w(void 0);
1054
+ function dn(e, t) {
1055
+ M.value.events.datapointEnter && M.value.events.datapointEnter({
1056
1056
  datapoint: e,
1057
1057
  seriesIndex: t
1058
- }), N.value = t, M.value = t, Y.value = e, X.value ||= e, qt("hoverIndex", { index: t });
1058
+ }), j.value = t, A.value = t, X.value = e, un.value ||= e, Qt("hoverIndex", { index: t });
1059
1059
  }
1060
- function on(e, t) {
1061
- P.value.events.datapointLeave && P.value.events.datapointLeave({
1060
+ function fn(e, t) {
1061
+ M.value.events.datapointLeave && M.value.events.datapointLeave({
1062
1062
  datapoint: e,
1063
1063
  seriesIndex: t
1064
- }), X.value = Y.value, Y.value = void 0, N.value = null, M.value = null, qt("hoverIndex", { index: void 0 });
1064
+ }), un.value = X.value, X.value = void 0, j.value = null, A.value = null, Qt("hoverIndex", { index: void 0 });
1065
1065
  }
1066
1066
  let Z = _(() => {
1067
- if (qe.value) {
1068
- let e = J.value.map((e) => e.absoluteValue), t = e.reduce((e, t) => e + t, 0);
1067
+ if (Je.value) {
1068
+ let e = Y.value.map((e) => e.absoluteValue), t = e.reduce((e, t) => e + t, 0);
1069
1069
  return {
1070
- latest: J.value[J.value.length - 1] ? J.value[J.value.length - 1].absoluteValue : 0,
1070
+ latest: Y.value[Y.value.length - 1] ? Y.value[Y.value.length - 1].absoluteValue : 0,
1071
1071
  sum: t,
1072
- average: t / J.value.length,
1072
+ average: t / Y.value.length,
1073
1073
  median: ce(e),
1074
- trend: re(J.value.map(({ x: e, y: t, absoluteValue: n }) => ({
1074
+ trend: re(Y.value.map(({ x: e, y: t, absoluteValue: n }) => ({
1075
1075
  x: e,
1076
1076
  y: t,
1077
1077
  value: n
@@ -1085,18 +1085,18 @@ var _t = ["innerHTML"], vt = {
1085
1085
  median: null,
1086
1086
  trend: null
1087
1087
  };
1088
- }), sn = _(() => qe.value ? P.value.style.dataLabel.valueType === "latest" ? Z.value.latest : P.value.style.dataLabel.valueType === "sum" ? Z.value.sum : P.value.style.dataLabel.valueType === "average" ? Z.value.average : 0 : 0), Q = _(() => P.value.type && P.value.type === "bar");
1089
- function cn(e, t) {
1090
- P.value.events.datapointClick && P.value.events.datapointClick({
1088
+ }), pn = _(() => Je.value ? I.value.valueType === "latest" ? Z.value.latest : I.value.valueType === "sum" ? Z.value.sum : I.value.valueType === "average" ? Z.value.average : 0 : 0), Q = _(() => M.value.type && M.value.type === "bar");
1089
+ function mn(e, t) {
1090
+ M.value.events.datapointClick && M.value.events.datapointClick({
1091
1091
  datapoint: e,
1092
1092
  seriesIndex: t
1093
- }), qt("selectDatapoint", {
1093
+ }), Qt("selectDatapoint", {
1094
1094
  datapoint: e,
1095
1095
  index: t
1096
1096
  });
1097
1097
  }
1098
- let ln = _(() => Array.isArray(P.value.style.line.dashIndices) && P.value.style.line.dashIndices.length > 0), un = _(() => P.value.style.line.cutNullValues);
1099
- function dn(e) {
1098
+ let hn = _(() => Array.isArray(P.value.dashIndices) && P.value.dashIndices.length > 0), gn = _(() => P.value.cutNullValues);
1099
+ function _n(e) {
1100
1100
  return ![
1101
1101
  null,
1102
1102
  void 0,
@@ -1106,117 +1106,117 @@ var _t = ["innerHTML"], vt = {
1106
1106
  -Infinity
1107
1107
  ].includes(e);
1108
1108
  }
1109
- function fn(e, t) {
1109
+ function vn(e, t) {
1110
1110
  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;
1111
- return dn(e[t]?.value) && i && un.value;
1111
+ return _n(e[t]?.value) && i && gn.value;
1112
1112
  }
1113
- function pn(e, t) {
1114
- return Y.value && e.id === Y.value.id || rn.value === t || I.value.length === 1;
1113
+ function yn(e, t) {
1114
+ return X.value && e.id === X.value.id || ln.value === t || et.value.length === 1;
1115
1115
  }
1116
- function mn(e, t) {
1117
- return Q.value || !dn(e?.value) ? !1 : P.value.style.plot.show && pn(e, t) || fn(J.value, t);
1116
+ function bn(e, t) {
1117
+ return Q.value || !_n(e?.value) ? !1 : L.value.plot.show && yn(e, t) || vn(Y.value, t);
1118
1118
  }
1119
- function hn(e, t) {
1120
- return Math.max(1, pn(e, t) ? P.value.style.plot.radius : P.value.style.plot.radius * .7);
1119
+ function xn(e, t) {
1120
+ return Math.max(1, yn(e, t) ? L.value.plot.radius : L.value.plot.radius * .7);
1121
1121
  }
1122
- function gn(e, t) {
1123
- return pn(e, t) ? P.value.style.plot.stroke : P.value.style.backgroundColor;
1122
+ function Sn(e, t) {
1123
+ return yn(e, t) ? L.value.plot.stroke : L.value.backgroundColor;
1124
1124
  }
1125
- let _n = _(() => un.value ? J.value : J.value.filter((e) => e.value !== null)), vn = _(() => J.value.filter((e) => e.value !== null)), yn = _(() => vn.value.length > 1), bn = _(() => Q.value || !yn.value ? "" : un.value ? i(J.value) : s(_n.value)), xn = _(() => Q.value || !yn.value ? "" : un.value ? n(J.value) : p(_n.value)), Sn = _(() => Q.value || !ln.value || !yn.value ? [] : a(_n.value, P.value.style.line.dashIndices)), Cn = _(() => Q.value || !ln.value || !yn.value ? [] : d(_n.value, P.value.style.line.dashIndices)), wn = _(() => Q.value || !P.value.style.area.show || !yn.value ? [] : P.value.style.line.smooth ? o(_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 = _(() => Q.value || !P.value.gradientPath.show || P.value.temperatureColors.show ? "" : `M ${(P.value.style.line.smooth ? bn.value : xn.value) || "0,0"}`), En = _(() => {
1126
- if (!P.value.temperatureColors.show) return null;
1127
- let e = P.value.temperatureColors.colors;
1125
+ let Cn = _(() => gn.value ? Y.value : Y.value.filter((e) => e.value !== null)), wn = _(() => Y.value.filter((e) => e.value !== null)), Tn = _(() => wn.value.length > 1), En = _(() => Q.value || !Tn.value ? "" : gn.value ? i(Y.value) : s(Cn.value)), Dn = _(() => Q.value || !Tn.value ? "" : gn.value ? n(Y.value) : p(Cn.value)), On = _(() => Q.value || !hn.value || !Tn.value ? [] : a(Cn.value, P.value.dashIndices)), kn = _(() => Q.value || !hn.value || !Tn.value ? [] : d(Cn.value, P.value.dashIndices)), An = _(() => Q.value || !F.value.show || !Tn.value ? [] : P.value.smooth ? o(Cn.value, J.value.bottom, gn.value).filter(Boolean) : (gn.value ? t(Y.value, J.value.bottom) : oe(Cn.value, J.value.bottom)).split(";").filter(Boolean).map((e) => `M${e}Z`)), jn = _(() => Q.value || !M.value.gradientPath.show || M.value.temperatureColors.show ? "" : `M ${(P.value.smooth ? En.value : Dn.value) || "0,0"}`), Mn = _(() => {
1126
+ if (!M.value.temperatureColors.show) return null;
1127
+ let e = M.value.temperatureColors.colors;
1128
1128
  return !Array.isArray(e) || !e.length ? null : e.map((e) => l(e));
1129
1129
  }), $ = _(() => {
1130
- if (!P.value.temperatureColors.show) return null;
1131
- let e = P.value.temperatureColors.colors;
1130
+ if (!M.value.temperatureColors.show) return null;
1131
+ let e = M.value.temperatureColors.colors;
1132
1132
  return !Array.isArray(e) || !e.length ? null : e.map((e) => l(e));
1133
1133
  });
1134
- function Dn(e) {
1134
+ function Nn(e) {
1135
1135
  if (!Number.isFinite(e?.y)) return 0;
1136
- let t = q.value.height || 1, n = (e.y - q.value.top) / t;
1136
+ let t = J.value.height || 1, n = (e.y - J.value.top) / t;
1137
1137
  return Math.min(1, Math.max(0, n));
1138
1138
  }
1139
- function On(e) {
1140
- let t = En.value;
1139
+ function Pn(e) {
1140
+ let t = Mn.value;
1141
1141
  return !Array.isArray(t) || !t.length ? e.color : u({
1142
1142
  colors: t,
1143
- ratio: Dn(e)
1143
+ ratio: Nn(e)
1144
1144
  });
1145
1145
  }
1146
- O(() => [
1147
- st.value,
1148
- G.value,
1149
- J.value.length,
1150
- K.value.width,
1151
- K.value.height,
1152
- P.value?.style?.line?.smooth
1146
+ D(() => [
1147
+ U.value,
1148
+ qt.value,
1149
+ Y.value.length,
1150
+ q.value.width,
1151
+ q.value.height,
1152
+ M.value?.style?.line?.smooth
1153
1153
  ], async () => {
1154
- await x(), ct();
1154
+ await x(), ut();
1155
1155
  }, { immediate: !0 }), Fe(async () => {
1156
- await x(), ct();
1157
- }), O(() => F.value, async (e) => {
1158
- e || await Wt();
1159
- }), O(() => ft.value, async (e) => {
1160
- e || F.value || await Wt();
1161
- }), O(() => k.selectedIndex, (e) => {
1156
+ await x(), ut();
1157
+ }), D(() => B.value, async (e) => {
1158
+ e || await Yt();
1159
+ }), D(() => ht.value, async (e) => {
1160
+ e || B.value || await Yt();
1161
+ }), D(() => O.selectedIndex, (e) => {
1162
1162
  if (e == null) {
1163
- N.value = null, M.value = null, Y.value = void 0;
1163
+ j.value = null, A.value = null, X.value = void 0;
1164
1164
  return;
1165
1165
  }
1166
- if (e < 0 || e >= J.value.length) return;
1167
- let t = J.value[e];
1168
- t && (N.value = e, M.value = e, Y.value = t);
1166
+ if (e < 0 || e >= Y.value.length) return;
1167
+ let t = Y.value[e];
1168
+ t && (j.value = e, A.value = e, X.value = t);
1169
1169
  });
1170
- let kn = w(!1);
1171
- function An() {
1172
- let e = rn.value;
1173
- if (e !== null && e >= 0 && e < J.value.length) {
1174
- let t = J.value[e];
1170
+ let Fn = w(!1);
1171
+ function In() {
1172
+ let e = ln.value;
1173
+ if (e !== null && e >= 0 && e < Y.value.length) {
1174
+ let t = Y.value[e];
1175
1175
  if (t) {
1176
- M.value = e, Y.value = t, N.value = e, kn.value = !0;
1176
+ A.value = e, X.value = t, j.value = e, Fn.value = !0;
1177
1177
  return;
1178
1178
  }
1179
1179
  }
1180
- M.value = null, !Y.value && J.value.length && an(J.value.at(-1), J.value.length - 1), kn.value = !0;
1180
+ A.value = null, !X.value && Y.value.length && dn(Y.value.at(-1), Y.value.length - 1), Fn.value = !0;
1181
1181
  }
1182
- function jn() {
1183
- X.value = Y.value, (k.selectedIndex === void 0 || k.selectedIndex === null) && (M.value = null, Y.value = void 0, N.value = null, qt("hoverIndex", { index: void 0 })), kn.value = !1;
1182
+ function Ln() {
1183
+ un.value = X.value, (O.selectedIndex === void 0 || O.selectedIndex === null) && (A.value = null, X.value = void 0, j.value = null, Qt("hoverIndex", { index: void 0 })), Fn.value = !1;
1184
1184
  }
1185
- function Mn(e) {
1186
- if (!L.value || document.activeElement !== L.value) return;
1187
- X.value = Y.value;
1185
+ function Rn(e) {
1186
+ if (!V.value || document.activeElement !== V.value) return;
1187
+ un.value = X.value;
1188
1188
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight";
1189
1189
  if (!t && !n) return;
1190
- let r = J.value.length;
1190
+ let r = Y.value.length;
1191
1191
  if (!r) return;
1192
1192
  e.preventDefault(), e.stopPropagation();
1193
- let i = M.value, a = i !== null && i >= 0 && i < r, o = Y.value ? J.value.findIndex((e) => e.id === Y.value.id) : -1;
1193
+ let i = A.value, a = i !== null && i >= 0 && i < r, o = X.value ? Y.value.findIndex((e) => e.id === X.value.id) : -1;
1194
1194
  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;
1195
- let s = J.value[i];
1196
- s && (M.value = i, an(s, i));
1195
+ let s = Y.value[i];
1196
+ s && (A.value = i, dn(s, i));
1197
1197
  }
1198
- let Nn = _(() => ({
1199
- headers: [P.value.translations.period, P.value.translations.value],
1200
- rows: J.value.map((e) => [e.period, e.absoluteValue])
1198
+ let zn = _(() => ({
1199
+ headers: [M.value.translations.period, M.value.translations.value],
1200
+ rows: Y.value.map((e) => [e.period, e.absoluteValue])
1201
1201
  }));
1202
1202
  return (t, n) => (C(), y("div", {
1203
1203
  ref_key: "sparklineChart",
1204
- ref: j,
1204
+ ref: Xe,
1205
1205
  class: "vue-data-ui-component vue-ui-sparkline",
1206
- id: A.value,
1207
- style: S(`width:100%;font-family:${P.value.style.fontFamily};`)
1206
+ id: k.value,
1207
+ style: S(`width:100%;font-family:${L.value.fontFamily};`)
1208
1208
  }, [
1209
1209
  b("p", {
1210
- id: `chart-instructions-${A.value}`,
1210
+ id: `chart-instructions-${k.value}`,
1211
1211
  class: "sr-only"
1212
- }, Le(P.value.a11y.translations.keyboardNavigation), 9, xt),
1213
- Nn.value?.rows?.length ? (C(), Oe(we, {
1212
+ }, Re(M.value.a11y.translations.keyboardNavigation), 9, yt),
1213
+ zn.value?.rows?.length ? (C(), Oe(we, {
1214
1214
  key: 0,
1215
- uid: A.value,
1216
- head: Nn.value.headers,
1217
- body: Nn.value.rows,
1218
- notice: P.value.a11y.translations.tableAvailable,
1219
- caption: P.value.a11y.translations.tableCaption
1215
+ uid: k.value,
1216
+ head: zn.value.headers,
1217
+ body: zn.value.rows,
1218
+ notice: M.value.a11y.translations.tableAvailable,
1219
+ caption: M.value.a11y.translations.tableCaption
1220
1220
  }, null, 8, [
1221
1221
  "uid",
1222
1222
  "head",
@@ -1224,43 +1224,43 @@ var _t = ["innerHTML"], vt = {
1224
1224
  "notice",
1225
1225
  "caption"
1226
1226
  ])) : v("", !0),
1227
- E(t.$slots, "before", Ne(Me({
1228
- selected: Y.value,
1227
+ Ie(t.$slots, "before", Ne(Me({
1228
+ selected: X.value,
1229
1229
  latest: Z.value.latest,
1230
1230
  sum: Z.value.sum,
1231
1231
  average: Z.value.average,
1232
1232
  median: Z.value.median,
1233
1233
  trend: Z.value.trend
1234
1234
  })), void 0, !0),
1235
- P.value.style.title.show && e.showInfo ? (C(), y("div", {
1235
+ L.value.title.show && e.showInfo ? (C(), y("div", {
1236
1236
  key: 1,
1237
1237
  ref_key: "chartTitle",
1238
- ref: Ye,
1238
+ ref: Ze,
1239
1239
  class: "vue-ui-sparkline-title",
1240
- style: S(`display:flex;align-items:center;width:100%;color:${P.value.style.title.color};background:${P.value.style.backgroundColor};justify-content:${P.value.style.title.textAlign === "left" ? "flex-start" : P.value.style.title.textAlign === "right" ? "flex-end" : "center"};height:${P.value.style.title.fontSize * 2}px;font-size:${P.value.style.title.fontSize}px;font-weight:${P.value.style.title.bold ? "bold" : "normal"};`)
1241
- }, [b("span", { style: S(`padding:${P.value.style.title.textAlign === "left" ? "0 0 0 12px" : P.value.style.title.textAlign === "right" ? "0 12px 0 0" : "0"}`) }, Le(Y.value ? Y.value.period : P.value.style.title.text), 5)], 4)) : v("", !0),
1242
- b("div", St, [(C(), y("svg", {
1240
+ style: S(`display:flex;align-items:center;width:100%;color:${L.value.title.color};background:${L.value.backgroundColor};justify-content:${L.value.title.textAlign === "left" ? "flex-start" : L.value.title.textAlign === "right" ? "flex-end" : "center"};height:${L.value.title.fontSize * 2}px;font-size:${L.value.title.fontSize}px;font-weight:${L.value.title.bold ? "bold" : "normal"};`)
1241
+ }, [b("span", { style: S(`padding:${L.value.title.textAlign === "left" ? "0 0 0 12px" : L.value.title.textAlign === "right" ? "0 12px 0 0" : "0"}`) }, Re(X.value ? X.value.period : L.value.title.text), 5)], 4)) : v("", !0),
1242
+ b("div", bt, [(C(), y("svg", {
1243
1243
  ref_key: "svgRef",
1244
- ref: L,
1245
- xmlns: D(fe),
1246
- viewBox: `0 0 ${K.value.width} ${K.value.height}`,
1247
- style: S(`background:${P.value.style.backgroundColor};overflow:visible;direction:ltr`),
1244
+ ref: V,
1245
+ xmlns: E(fe),
1246
+ viewBox: `0 0 ${q.value.width} ${q.value.height}`,
1247
+ style: S(`background:${L.value.backgroundColor};overflow:visible;direction:ltr`),
1248
1248
  tabindex: "0",
1249
- "aria-describedby": `chart-instructions-${A.value}`,
1250
- onMouseleave: n[0] ||= (e) => X.value = void 0,
1251
- onFocus: An,
1252
- onBlur: jn,
1253
- onKeydown: Mn
1249
+ "aria-describedby": `chart-instructions-${k.value}`,
1250
+ onMouseleave: n[0] ||= (e) => un.value = void 0,
1251
+ onFocus: In,
1252
+ onBlur: Ln,
1253
+ onKeydown: Rn
1254
1254
  }, [
1255
- Ae(D(Ve)),
1255
+ Ae(E(He)),
1256
1256
  t.$slots["chart-background"] ? (C(), y("foreignObject", {
1257
1257
  key: 0,
1258
1258
  x: 0,
1259
1259
  y: 0,
1260
- width: K.value.width <= 0 ? 10 : K.value.width,
1261
- height: K.value.height <= 0 ? 10 : K.value.height,
1260
+ width: q.value.width <= 0 ? 10 : q.value.width,
1261
+ height: q.value.height <= 0 ? 10 : q.value.height,
1262
1262
  style: { pointerEvents: "none" }
1263
- }, [E(t.$slots, "chart-background", {}, void 0, !0)], 8, wt)) : v("", !0),
1263
+ }, [Ie(t.$slots, "chart-background", {}, void 0, !0)], 8, St)) : v("", !0),
1264
1264
  b("defs", null, [
1265
1265
  Ae(Ce, {
1266
1266
  t: "linear",
@@ -1268,14 +1268,14 @@ var _t = ["innerHTML"], vt = {
1268
1268
  y1: "0%",
1269
1269
  x2: "100%",
1270
1270
  y2: "0%",
1271
- id: `sparkline_gradient_${A.value}`,
1271
+ id: `sparkline_gradient_${k.value}`,
1272
1272
  stops: [[
1273
1273
  "0%",
1274
- D(f)(D(m)(P.value.style.area.color, .05), P.value.style.area.opacity),
1274
+ E(f)(E(m)(F.value.color, .05), F.value.opacity),
1275
1275
  1
1276
1276
  ], [
1277
1277
  "100%",
1278
- D(f)(P.value.style.area.color, P.value.style.area.opacity),
1278
+ E(f)(F.value.color, F.value.opacity),
1279
1279
  1
1280
1280
  ]]
1281
1281
  }, null, 8, ["id", "stops"]),
@@ -1283,14 +1283,14 @@ var _t = ["innerHTML"], vt = {
1283
1283
  t: "linear",
1284
1284
  x2: "0%",
1285
1285
  y2: "100%",
1286
- id: `sparkline_bar_gradient_pos_${A.value}`,
1286
+ id: `sparkline_bar_gradient_pos_${k.value}`,
1287
1287
  stops: [[
1288
1288
  "0%",
1289
- P.value.style.bar.color,
1289
+ $e.value.color,
1290
1290
  1
1291
1291
  ], [
1292
1292
  "100%",
1293
- D(m)(P.value.style.bar.color, .05),
1293
+ E(m)($e.value.color, .05),
1294
1294
  1
1295
1295
  ]]
1296
1296
  }, null, 8, ["id", "stops"]),
@@ -1298,19 +1298,19 @@ var _t = ["innerHTML"], vt = {
1298
1298
  t: "linear",
1299
1299
  x2: "0%",
1300
1300
  y2: "100%",
1301
- id: `sparkline_bar_gradient_neg_${A.value}`,
1301
+ id: `sparkline_bar_gradient_neg_${k.value}`,
1302
1302
  stops: [[
1303
1303
  "0%",
1304
- D(m)(P.value.style.bar.color, .05),
1304
+ E(m)($e.value.color, .05),
1305
1305
  1
1306
1306
  ], [
1307
1307
  "100%",
1308
- P.value.style.bar.color,
1308
+ $e.value.color,
1309
1309
  1
1310
1310
  ]]
1311
1311
  }, null, 8, ["id", "stops"]),
1312
1312
  b("filter", {
1313
- id: `sparkline_pulse_glow_${A.value}`,
1313
+ id: `sparkline_pulse_glow_${k.value}`,
1314
1314
  filterUnits: "userSpaceOnUse",
1315
1315
  x: "-50",
1316
1316
  y: "-50",
@@ -1320,99 +1320,99 @@ var _t = ["innerHTML"], vt = {
1320
1320
  in: "SourceGraphic",
1321
1321
  stdDeviation: "3",
1322
1322
  result: "blur"
1323
- }, null, -1), b("feMerge", null, [b("feMergeNode", { in: "blur" }), b("feMergeNode", { in: "SourceGraphic" })], -1)]], 8, Tt),
1324
- P.value.temperatureColors.show && $.value ? (C(), y("linearGradient", {
1323
+ }, null, -1), b("feMerge", null, [b("feMergeNode", { in: "blur" }), b("feMergeNode", { in: "SourceGraphic" })], -1)]], 8, Ct),
1324
+ M.value.temperatureColors.show && $.value ? (C(), y("linearGradient", {
1325
1325
  key: 0,
1326
- id: `temperature_grad_sparkline_${A.value}`,
1326
+ id: `temperature_grad_sparkline_${k.value}`,
1327
1327
  gradientUnits: "userSpaceOnUse",
1328
1328
  x1: "0",
1329
1329
  x2: "0",
1330
- y1: q.value.top,
1331
- y2: q.value.bottom
1330
+ y1: J.value.top,
1331
+ y2: J.value.bottom
1332
1332
  }, [(C(!0), y(g, null, T($.value, (e, t) => (C(), y("stop", {
1333
- key: `temperature_grad_stop_${t}_${A.value}`,
1333
+ key: `temperature_grad_stop_${t}_${k.value}`,
1334
1334
  "stop-color": e,
1335
- offset: $.value.length === 1 ? "0%" : D(r)(t, $.value.length)
1336
- }, null, 8, Dt))), 128))], 8, Et)) : v("", !0)
1335
+ offset: $.value.length === 1 ? "0%" : E(r)(t, $.value.length)
1336
+ }, null, 8, Tt))), 128))], 8, wt)) : v("", !0)
1337
1337
  ]),
1338
- P.value.style.area.show && !Q.value && wn.value.length ? (C(), y("g", Ot, [(C(!0), y(g, null, T(wn.value, (e, t) => (C(), y("path", {
1339
- key: `sparkline_area_${t}_${A.value}`,
1338
+ F.value.show && !Q.value && An.value.length ? (C(), y("g", Et, [(C(!0), y(g, null, T(An.value, (e, t) => (C(), y("path", {
1339
+ key: `sparkline_area_${t}_${k.value}`,
1340
1340
  class: "vue-ui-sparkline-area",
1341
- "data-cy": P.value.style.line.smooth ? "sparkline-smooth-area" : "sparkline-angle-area",
1341
+ "data-cy": P.value.smooth ? "sparkline-smooth-area" : "sparkline-angle-area",
1342
1342
  d: e,
1343
- fill: P.value.style.area.useGradient ? `url(#sparkline_gradient_${A.value})` : D(f)(P.value.style.area.color, P.value.style.area.opacity),
1343
+ fill: F.value.useGradient ? `url(#sparkline_gradient_${k.value})` : E(f)(F.value.color, F.value.opacity),
1344
1344
  "stroke-linecap": "round",
1345
1345
  "stroke-linejoin": "round",
1346
- style: S({ transition: D(F) ? void 0 : "all 0.2s" })
1347
- }, null, 12, kt))), 128))])) : v("", !0),
1348
- P.value.style.line.smooth && !Q.value ? (C(), y(g, { key: 2 }, [b("path", {
1349
- id: G.value,
1350
- d: `M ${bn.value || "0,0"}`,
1346
+ style: S({ transition: E(B) ? void 0 : "all 0.2s" })
1347
+ }, null, 12, Dt))), 128))])) : v("", !0),
1348
+ P.value.smooth && !Q.value ? (C(), y(g, { key: 2 }, [b("path", {
1349
+ id: qt.value,
1350
+ d: `M ${En.value || "0,0"}`,
1351
1351
  fill: "none",
1352
1352
  stroke: "transparent",
1353
- "stroke-width": P.value.style.line.strokeWidth,
1353
+ "stroke-width": P.value.strokeWidth,
1354
1354
  "stroke-linecap": "round",
1355
1355
  "stroke-linejoin": "round"
1356
- }, null, 8, At), ln.value ? (C(!0), y(g, { key: 0 }, T(Sn.value, (e) => (C(), y("path", {
1356
+ }, null, 8, Ot), hn.value ? (C(!0), y(g, { key: 0 }, T(On.value, (e) => (C(), y("path", {
1357
1357
  key: e.path,
1358
1358
  class: "vue-ui-sparkline-path",
1359
1359
  d: `M ${e.path}`,
1360
- stroke: $.value ? `url(#temperature_grad_sparkline_${A.value})` : P.value.style.line.color,
1360
+ stroke: $.value ? `url(#temperature_grad_sparkline_${k.value})` : P.value.color,
1361
1361
  fill: "none",
1362
- "stroke-width": P.value.style.line.strokeWidth,
1362
+ "stroke-width": P.value.strokeWidth,
1363
1363
  "stroke-linecap": "round",
1364
1364
  "stroke-linejoin": "round",
1365
- "stroke-dasharray": e.dashed ? P.value.style.line.dashArray : 0,
1366
- style: S({ transition: D(F) ? void 0 : "all 0.2s" })
1367
- }, null, 12, jt))), 128)) : (C(), y("path", {
1365
+ "stroke-dasharray": e.dashed ? P.value.dashArray : 0,
1366
+ style: S({ transition: E(B) ? void 0 : "all 0.2s" })
1367
+ }, null, 12, kt))), 128)) : (C(), y("path", {
1368
1368
  key: 1,
1369
1369
  class: "vue-ui-sparkline-path",
1370
- d: `M ${bn.value || "0,0"}`,
1371
- stroke: $.value ? `url(#temperature_grad_sparkline_${A.value})` : P.value.style.line.color,
1370
+ d: `M ${En.value || "0,0"}`,
1371
+ stroke: $.value ? `url(#temperature_grad_sparkline_${k.value})` : P.value.color,
1372
1372
  fill: "none",
1373
- "stroke-width": P.value.style.line.strokeWidth,
1373
+ "stroke-width": P.value.strokeWidth,
1374
1374
  "stroke-linecap": "round",
1375
1375
  "stroke-linejoin": "round",
1376
- style: S({ transition: D(F) ? void 0 : "all 0.2s" })
1377
- }, null, 12, Mt))], 64)) : v("", !0),
1378
- !P.value.style.line.smooth && !Q.value ? (C(), y(g, { key: 3 }, [b("path", {
1379
- id: G.value,
1380
- d: `M ${xn.value || "0,0"}`,
1376
+ style: S({ transition: E(B) ? void 0 : "all 0.2s" })
1377
+ }, null, 12, At))], 64)) : v("", !0),
1378
+ !P.value.smooth && !Q.value ? (C(), y(g, { key: 3 }, [b("path", {
1379
+ id: qt.value,
1380
+ d: `M ${Dn.value || "0,0"}`,
1381
1381
  fill: "none",
1382
1382
  stroke: "transparent",
1383
- "stroke-width": P.value.style.line.strokeWidth,
1383
+ "stroke-width": P.value.strokeWidth,
1384
1384
  "stroke-linecap": "round",
1385
1385
  "stroke-linejoin": "round"
1386
- }, null, 8, Nt), ln.value ? (C(!0), y(g, { key: 0 }, T(Cn.value, (e) => (C(), y("path", {
1386
+ }, null, 8, jt), hn.value ? (C(!0), y(g, { key: 0 }, T(kn.value, (e) => (C(), y("path", {
1387
1387
  key: e.path,
1388
1388
  class: "vue-ui-sparkline-path",
1389
1389
  d: `M ${e.path}`,
1390
- stroke: $.value ? `url(#temperature_grad_sparkline_${A.value})` : P.value.style.line.color,
1390
+ stroke: $.value ? `url(#temperature_grad_sparkline_${k.value})` : P.value.color,
1391
1391
  fill: "none",
1392
- "stroke-width": P.value.style.line.strokeWidth,
1392
+ "stroke-width": P.value.strokeWidth,
1393
1393
  "stroke-linecap": "round",
1394
1394
  "stroke-linejoin": "round",
1395
- "stroke-dasharray": e.dashed ? P.value.style.line.dashArray * 2 : 0,
1396
- style: S({ transition: D(F) ? void 0 : "all 0.2s" })
1397
- }, null, 12, Pt))), 128)) : (C(), y("path", {
1395
+ "stroke-dasharray": e.dashed ? P.value.dashArray * 2 : 0,
1396
+ style: S({ transition: E(B) ? void 0 : "all 0.2s" })
1397
+ }, null, 12, Mt))), 128)) : (C(), y("path", {
1398
1398
  key: 1,
1399
1399
  class: "vue-ui-sparkline-path",
1400
- d: `M ${xn.value || "0,0"}`,
1401
- stroke: $.value ? `url(#temperature_grad_sparkline_${A.value})` : P.value.style.line.color,
1400
+ d: `M ${Dn.value || "0,0"}`,
1401
+ stroke: $.value ? `url(#temperature_grad_sparkline_${k.value})` : P.value.color,
1402
1402
  fill: "none",
1403
- "stroke-width": P.value.style.line.strokeWidth,
1403
+ "stroke-width": P.value.strokeWidth,
1404
1404
  "stroke-linecap": "round",
1405
1405
  "stroke-linejoin": "round",
1406
- style: S({ transition: D(F) ? void 0 : "all 0.2s" })
1407
- }, null, 12, Ft))], 64)) : v("", !0),
1408
- Tn.value && !$.value ? (C(), Oe(vt, {
1406
+ style: S({ transition: E(B) ? void 0 : "all 0.2s" })
1407
+ }, null, 12, Nt))], 64)) : v("", !0),
1408
+ jn.value && !$.value ? (C(), Oe(gt, {
1409
1409
  key: 4,
1410
- svgPathData: Tn.value,
1411
- enabled: P.value.gradientPath.show && !Q.value && !$.value,
1412
- strokeWidth: P.value.style.line.strokeWidth,
1413
- highColor: P.value.gradientPath.colors.high,
1414
- lowColor: P.value.gradientPath.colors.low,
1415
- segments: P.value.gradientPath.segments
1410
+ svgPathData: jn.value,
1411
+ enabled: M.value.gradientPath.show && !Q.value && !$.value,
1412
+ strokeWidth: P.value.strokeWidth,
1413
+ highColor: M.value.gradientPath.colors.high,
1414
+ lowColor: M.value.gradientPath.colors.low,
1415
+ segments: M.value.gradientPath.segments
1416
1416
  }, null, 8, [
1417
1417
  "svgPathData",
1418
1418
  "enabled",
@@ -1421,23 +1421,23 @@ var _t = ["innerHTML"], vt = {
1421
1421
  "lowColor",
1422
1422
  "segments"
1423
1423
  ])) : v("", !0),
1424
- Ut.value && st.value ? (C(), Oe(Je, {
1424
+ Jt.value && U.value ? (C(), Oe(Ye, {
1425
1425
  key: 5,
1426
- uid: A.value,
1427
- svgRef: D(L),
1428
- pulsePathId: G.value,
1429
- pulsePathLength: tt.value,
1430
- pulseDur: et.value,
1431
- pulseBegin: nt.value,
1432
- pulseRepeatCount: it.value,
1433
- pulseFillMode: at.value,
1434
- pulseKeyPoints: rt.value,
1435
- pulseMotion: lt.value,
1436
- pulse: z.value,
1437
- pulseTrail: ut.value,
1438
- pulseTrailLength: ot.value,
1439
- prefersReducedMotion: D(Ke),
1440
- loading: D(F),
1426
+ uid: k.value,
1427
+ svgRef: E(V),
1428
+ pulsePathId: qt.value,
1429
+ pulsePathLength: it.value,
1430
+ pulseDur: rt.value,
1431
+ pulseBegin: at.value,
1432
+ pulseRepeatCount: st.value,
1433
+ pulseFillMode: ct.value,
1434
+ pulseKeyPoints: ot.value,
1435
+ pulseMotion: dt.value,
1436
+ pulse: H.value,
1437
+ pulseTrail: ft.value,
1438
+ pulseTrailLength: lt.value,
1439
+ prefersReducedMotion: E(qe),
1440
+ loading: E(B),
1441
1441
  isBar: Q.value
1442
1442
  }, null, 8, [
1443
1443
  "uid",
@@ -1457,106 +1457,106 @@ var _t = ["innerHTML"], vt = {
1457
1457
  "loading",
1458
1458
  "isBar"
1459
1459
  ])) : v("", !0),
1460
- (C(!0), y(g, null, T(J.value, (e, t) => (C(), y("g", null, [Q.value ? (C(), y("rect", {
1460
+ (C(!0), y(g, null, T(Y.value, (e, t) => (C(), y("g", null, [Q.value ? (C(), y("rect", {
1461
1461
  key: 0,
1462
1462
  x: e.x - e.width / 2,
1463
- y: isNaN(e.absoluteValue > 0 ? e.y : Qt.value) ? 0 : e.absoluteValue > 0 ? e.y : Qt.value,
1463
+ y: isNaN(e.absoluteValue > 0 ? e.y : rn.value) ? 0 : e.absoluteValue > 0 ? e.y : rn.value,
1464
1464
  width: e.width,
1465
- height: isNaN(Math.abs(e.y - Qt.value)) ? 0 : Math.abs(e.y - Qt.value),
1466
- fill: e.absoluteValue > 0 ? `url(#sparkline_bar_gradient_pos_${A.value})` : `url(#sparkline_bar_gradient_neg_${A.value})`,
1467
- rx: P.value.style.bar.borderRadius
1468
- }, null, 8, It)) : v("", !0), P.value.style.verticalIndicator.show && (Y.value && e.id === Y.value.id || rn.value === t) ? (C(), y("line", {
1465
+ height: isNaN(Math.abs(e.y - rn.value)) ? 0 : Math.abs(e.y - rn.value),
1466
+ fill: e.absoluteValue > 0 ? `url(#sparkline_bar_gradient_pos_${k.value})` : `url(#sparkline_bar_gradient_neg_${k.value})`,
1467
+ rx: $e.value.borderRadius
1468
+ }, null, 8, Pt)) : v("", !0), L.value.verticalIndicator.show && (X.value && e.id === X.value.id || ln.value === t) ? (C(), y("line", {
1469
1469
  key: 1,
1470
1470
  x1: e.x,
1471
1471
  x2: e.x,
1472
- y1: q.value.top - 6,
1473
- y2: q.value.bottom,
1474
- stroke: P.value.style.verticalIndicator.color || e.color,
1475
- "stroke-width": P.value.style.verticalIndicator.strokeWidth,
1472
+ y1: J.value.top - 6,
1473
+ y2: J.value.bottom,
1474
+ stroke: L.value.verticalIndicator.color || e.color,
1475
+ "stroke-width": L.value.verticalIndicator.strokeWidth,
1476
1476
  "stroke-linecap": "round",
1477
- "stroke-dasharray": P.value.style.verticalIndicator.strokeDasharray || 0
1478
- }, null, 8, Lt)) : v("", !0)]))), 256)),
1479
- Jt.value < 0 ? (C(), y("line", {
1477
+ "stroke-dasharray": L.value.verticalIndicator.strokeDasharray || 0
1478
+ }, null, 8, Ft)) : v("", !0)]))), 256)),
1479
+ $t.value < 0 ? (C(), y("line", {
1480
1480
  key: 6,
1481
- x1: q.value.start,
1482
- x2: q.value.start + q.value.width,
1483
- y1: D(de)(Qt.value, q.value.bottom),
1484
- y2: D(de)(Qt.value, q.value.bottom),
1485
- stroke: P.value.style.zeroLine.color,
1486
- "stroke-dasharray": P.value.style.zeroLine.strokeWidth * 2,
1487
- "stroke-width": P.value.style.zeroLine.strokeWidth,
1481
+ x1: J.value.start,
1482
+ x2: J.value.start + J.value.width,
1483
+ y1: E(de)(rn.value, J.value.bottom),
1484
+ y2: E(de)(rn.value, J.value.bottom),
1485
+ stroke: L.value.zeroLine.color,
1486
+ "stroke-dasharray": L.value.zeroLine.strokeWidth * 2,
1487
+ "stroke-width": L.value.zeroLine.strokeWidth,
1488
1488
  "stroke-linecap": "round"
1489
- }, null, 8, Rt)) : v("", !0),
1490
- (C(!0), y(g, null, T(J.value, (e, t) => (C(), y("g", { key: `sparkline_plot_${e.id}` }, [mn(e, t) ? (C(), y("circle", {
1489
+ }, null, 8, It)) : v("", !0),
1490
+ (C(!0), y(g, null, T(Y.value, (e, t) => (C(), y("g", { key: `sparkline_plot_${e.id}` }, [bn(e, t) ? (C(), y("circle", {
1491
1491
  key: 0,
1492
1492
  cx: e.x,
1493
1493
  cy: e.y,
1494
- r: hn(e, t),
1495
- fill: On(e),
1496
- stroke: gn(e, t),
1497
- "stroke-width": P.value.style.plot.strokeWidth
1498
- }, null, 8, zt)) : v("", !0)]))), 128)),
1499
- e.showInfo && P.value.style.dataLabel.show ? (C(), y("text", {
1494
+ r: xn(e, t),
1495
+ fill: Pn(e),
1496
+ stroke: Sn(e, t),
1497
+ "stroke-width": L.value.plot.strokeWidth
1498
+ }, null, 8, Lt)) : v("", !0)]))), 128)),
1499
+ e.showInfo && I.value.show ? (C(), y("text", {
1500
1500
  key: 7,
1501
- x: P.value.style.dataLabel.position === "left" ? 12 + P.value.style.dataLabel.offsetX : q.value.width + 12 + P.value.style.dataLabel.offsetX,
1502
- y: K.value.height / 2 + P.value.style.dataLabel.fontSize / 2.5 + P.value.style.dataLabel.offsetY,
1503
- "font-size": P.value.style.dataLabel.fontSize,
1504
- "font-weight": P.value.style.dataLabel.bold ? "bold" : "normal",
1505
- fill: P.value.style.dataLabel.color
1506
- }, Le(Y.value ? D(ae)(P.value.style.dataLabel.formatter, Y.value.absoluteValue, D(ee)({
1507
- p: P.value.style.dataLabel.prefix,
1508
- v: Y.value.absoluteValue,
1509
- s: P.value.style.dataLabel.suffix,
1510
- r: P.value.style.dataLabel.roundingValue
1511
- }), { datapoint: Y.value }) : D(ae)(P.value.style.dataLabel.formatter, sn.value, D(ee)({
1512
- p: P.value.style.dataLabel.prefix,
1513
- v: sn.value,
1514
- s: P.value.style.dataLabel.suffix,
1515
- r: P.value.style.dataLabel.roundingValue
1516
- }))), 9, Bt)) : v("", !0),
1517
- (C(!0), y(g, null, T(J.value, (e, t) => (C(), y("rect", {
1518
- x: e.x - (q.value.width / (en.value + 1) > K.value.padding ? K.value.padding : q.value.width / (en.value + 1)) / 2,
1519
- y: q.value.top - 6,
1520
- height: q.value.height + 6,
1521
- width: q.value.width / (en.value + 1) > K.value.padding ? K.value.padding : q.value.width / (en.value + 1),
1501
+ x: I.value.position === "left" ? 12 + I.value.offsetX : J.value.width + 12 + I.value.offsetX,
1502
+ y: q.value.height / 2 + I.value.fontSize / 2.5 + I.value.offsetY,
1503
+ "font-size": I.value.fontSize,
1504
+ "font-weight": I.value.bold ? "bold" : "normal",
1505
+ fill: I.value.color
1506
+ }, Re(X.value ? E(ae)(I.value.formatter, X.value.absoluteValue, E(ee)({
1507
+ p: I.value.prefix,
1508
+ v: X.value.absoluteValue,
1509
+ s: I.value.suffix,
1510
+ r: I.value.roundingValue
1511
+ }), { datapoint: X.value }) : E(ae)(I.value.formatter, pn.value, E(ee)({
1512
+ p: I.value.prefix,
1513
+ v: pn.value,
1514
+ s: I.value.suffix,
1515
+ r: I.value.roundingValue
1516
+ }))), 9, Rt)) : v("", !0),
1517
+ (C(!0), y(g, null, T(Y.value, (e, t) => (C(), y("rect", {
1518
+ x: e.x - (J.value.width / (on.value + 1) > q.value.padding ? q.value.padding : J.value.width / (on.value + 1)) / 2,
1519
+ y: J.value.top - 6,
1520
+ height: J.value.height + 6,
1521
+ width: J.value.width / (on.value + 1) > q.value.padding ? q.value.padding : J.value.width / (on.value + 1),
1522
1522
  fill: "transparent",
1523
- onMouseenter: () => an(e, t),
1524
- onMouseleave: () => on(e, t),
1525
- onClick: () => cn(e, t)
1526
- }, null, 40, Vt))), 256)),
1527
- E(t.$slots, "svg", { svg: {
1528
- ...K.value,
1529
- drawingArea: q.value,
1530
- timeLabels: tn.value,
1531
- series: J.value,
1532
- hoveredIndex: M.value
1523
+ onMouseenter: () => dn(e, t),
1524
+ onMouseleave: () => fn(e, t),
1525
+ onClick: () => mn(e, t)
1526
+ }, null, 40, zt))), 256)),
1527
+ Ie(t.$slots, "svg", { svg: {
1528
+ ...q.value,
1529
+ drawingArea: J.value,
1530
+ timeLabels: sn.value,
1531
+ series: Y.value,
1532
+ hoveredIndex: A.value
1533
1533
  } }, void 0, !0)
1534
- ], 44, Ct)), t.$slots.hint ? (C(), y("div", Ht, [E(t.$slots, "hint", Ne(Me({
1535
- hint: P.value.a11y.translations.keyboardNavigation,
1536
- isVisible: kn.value
1534
+ ], 44, xt)), t.$slots.hint ? (C(), y("div", Bt, [Ie(t.$slots, "hint", Ne(Me({
1535
+ hint: M.value.a11y.translations.keyboardNavigation,
1536
+ isVisible: Fn.value
1537
1537
  })), void 0, !0)])) : v("", !0)]),
1538
- Y.value && P.value.style.tooltip.show ? (C(), Oe(D(He), {
1538
+ X.value && N.value.show ? (C(), Oe(E(Ue), {
1539
1539
  key: 2,
1540
- x: Y.value.x,
1541
- y: Y.value.y,
1542
- prevX: X.value.x,
1543
- prevY: X.value.y,
1544
- offsetY: P.value.style.plot.radius * 3 + P.value.style.tooltip.offsetY,
1545
- svgRef: D(L),
1546
- background: P.value.style.tooltip.backgroundColor,
1547
- color: P.value.style.tooltip.color,
1548
- fontSize: P.value.style.tooltip.fontSize,
1549
- borderWidth: P.value.style.tooltip.borderWidth,
1550
- borderColor: P.value.style.tooltip.borderColor,
1551
- borderRadius: P.value.style.tooltip.borderRadius,
1552
- backgroundOpacity: P.value.style.tooltip.backgroundOpacity
1540
+ x: X.value.x,
1541
+ y: X.value.y,
1542
+ prevX: un.value.x,
1543
+ prevY: un.value.y,
1544
+ offsetY: L.value.plot.radius * 3 + N.value.offsetY,
1545
+ svgRef: E(V),
1546
+ background: N.value.backgroundColor,
1547
+ color: N.value.color,
1548
+ fontSize: N.value.fontSize,
1549
+ borderWidth: N.value.borderWidth,
1550
+ borderColor: N.value.borderColor,
1551
+ borderRadius: N.value.borderRadius,
1552
+ backgroundOpacity: N.value.backgroundOpacity
1553
1553
  }, {
1554
- default: Be(() => [E(t.$slots, "tooltip", Ne(Me({ ...Y.value })), () => [ke(Le(Y.value.period) + ": " + Le(D(ae)(P.value.style.dataLabel.formatter, Y.value.absoluteValue, D(ee)({
1555
- p: P.value.style.dataLabel.prefix,
1556
- v: Y.value.absoluteValue,
1557
- s: P.value.style.dataLabel.suffix,
1558
- r: P.value.style.dataLabel.roundingValue
1559
- }), { datapoint: Y.value })), 1)], !0)]),
1554
+ default: Ve(() => [Ie(t.$slots, "tooltip", Ne(Me({ ...X.value })), () => [ke(Re(X.value.period) + ": " + Re(E(ae)(I.value.formatter, X.value.absoluteValue, E(ee)({
1555
+ p: I.value.prefix,
1556
+ v: X.value.absoluteValue,
1557
+ s: I.value.suffix,
1558
+ r: I.value.roundingValue
1559
+ }), { datapoint: X.value })), 1)], !0)]),
1560
1560
  _: 3
1561
1561
  }, 8, [
1562
1562
  "x",
@@ -1576,12 +1576,12 @@ var _t = ["innerHTML"], vt = {
1576
1576
  t.$slots.source ? (C(), y("div", {
1577
1577
  key: 3,
1578
1578
  ref_key: "source",
1579
- ref: Xe,
1579
+ ref: Qe,
1580
1580
  dir: "auto"
1581
- }, [E(t.$slots, "source", {}, void 0, !0)], 512)) : v("", !0),
1582
- E(t.$slots, "skeleton", {}, () => [D(F) ? (C(), Oe(_e, { key: 0 })) : v("", !0)], !0)
1583
- ], 12, bt));
1581
+ }, [Ie(t.$slots, "source", {}, void 0, !0)], 512)) : v("", !0),
1582
+ Ie(t.$slots, "skeleton", {}, () => [E(B) ? (C(), Oe(_e, { key: 0 })) : v("", !0)], !0)
1583
+ ], 12, vt));
1584
1584
  }
1585
- }, [["__scopeId", "data-v-4d09c790"]]);
1585
+ }, [["__scopeId", "data-v-ef970c4d"]]);
1586
1586
  //#endregion
1587
- export { yt as n, G as t };
1587
+ export { _t as n, Vt as t };