vue-data-ui 3.18.4 → 3.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (145) hide show
  1. package/dist/{PackageVersion-BIfMr89l.js → PackageVersion-D5dkifa6.js} +1 -1
  2. package/dist/components/vue-ui-3d-bar.js +1 -1
  3. package/dist/components/vue-ui-accordion.js +1 -1
  4. package/dist/components/vue-ui-age-pyramid.js +1 -1
  5. package/dist/components/vue-ui-annotator.js +1 -1
  6. package/dist/components/vue-ui-bullet.js +1 -1
  7. package/dist/components/vue-ui-bump.js +1 -1
  8. package/dist/components/vue-ui-candlestick.js +1 -1
  9. package/dist/components/vue-ui-carousel-table.js +1 -1
  10. package/dist/components/vue-ui-chestnut.js +1 -1
  11. package/dist/components/vue-ui-chord.js +1 -1
  12. package/dist/components/vue-ui-circle-pack.js +1 -1
  13. package/dist/components/vue-ui-cursor.js +1 -1
  14. package/dist/components/vue-ui-dag.js +1 -1
  15. package/dist/components/vue-ui-dashboard.js +1 -1
  16. package/dist/components/vue-ui-digits.js +1 -1
  17. package/dist/components/vue-ui-donut-evolution.js +1 -1
  18. package/dist/components/vue-ui-donut.js +1 -1
  19. package/dist/components/vue-ui-dumbbell.js +1 -1
  20. package/dist/components/vue-ui-flow.js +1 -1
  21. package/dist/components/vue-ui-funnel.js +1 -1
  22. package/dist/components/vue-ui-galaxy.js +1 -1
  23. package/dist/components/vue-ui-gauge.js +1 -1
  24. package/dist/components/vue-ui-geo.js +1 -1
  25. package/dist/components/vue-ui-gizmo.js +1 -1
  26. package/dist/components/vue-ui-heatmap.js +1 -1
  27. package/dist/components/vue-ui-history-plot.js +1 -1
  28. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  29. package/dist/components/vue-ui-kpi.js +1 -1
  30. package/dist/components/vue-ui-mini-loader.js +1 -1
  31. package/dist/components/vue-ui-molecule.js +1 -1
  32. package/dist/components/vue-ui-mood-radar.js +1 -1
  33. package/dist/components/vue-ui-nested-donuts.js +1 -1
  34. package/dist/components/vue-ui-onion.js +1 -1
  35. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  36. package/dist/components/vue-ui-quadrant.js +1 -1
  37. package/dist/components/vue-ui-quick-chart.js +1 -1
  38. package/dist/components/vue-ui-radar.js +1 -1
  39. package/dist/components/vue-ui-rating.js +1 -1
  40. package/dist/components/vue-ui-relation-circle.js +1 -1
  41. package/dist/components/vue-ui-ridgeline.js +1 -1
  42. package/dist/components/vue-ui-rings.js +1 -1
  43. package/dist/components/vue-ui-scatter.js +1 -1
  44. package/dist/components/vue-ui-skeleton.js +1 -1
  45. package/dist/components/vue-ui-smiley.js +1 -1
  46. package/dist/components/vue-ui-spark-trend.js +1 -1
  47. package/dist/components/vue-ui-sparkbar.js +1 -1
  48. package/dist/components/vue-ui-sparkgauge.js +1 -1
  49. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  50. package/dist/components/vue-ui-sparkline.js +1 -1
  51. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  52. package/dist/components/vue-ui-stackbar.js +1 -1
  53. package/dist/components/vue-ui-stackline.js +1 -1
  54. package/dist/components/vue-ui-strip-plot.js +1 -1
  55. package/dist/components/vue-ui-table-heatmap.js +1 -1
  56. package/dist/components/vue-ui-table-sparkline.js +1 -1
  57. package/dist/components/vue-ui-table.js +1 -1
  58. package/dist/components/vue-ui-thermometer.js +1 -1
  59. package/dist/components/vue-ui-timer.js +1 -1
  60. package/dist/components/vue-ui-tiremarks.js +1 -1
  61. package/dist/components/vue-ui-treemap.js +1 -1
  62. package/dist/components/vue-ui-vertical-bar.js +1 -1
  63. package/dist/components/vue-ui-waffle.js +1 -1
  64. package/dist/components/vue-ui-wheel.js +1 -1
  65. package/dist/components/vue-ui-word-cloud.js +1 -1
  66. package/dist/components/vue-ui-world.js +1 -1
  67. package/dist/components/vue-ui-xy-canvas.js +1 -1
  68. package/dist/components/vue-ui-xy.js +1 -1
  69. package/dist/style.css +1 -1
  70. package/dist/types/vue-data-ui.d.ts +79 -0
  71. package/dist/types/vue-ui-circle-pack.d.ts +12 -0
  72. package/dist/{useConfig-BV0kTCnO.js → useConfig-nXlOKvBq.js} +31 -3
  73. package/dist/{useObjectBindings-Ce_ZZk-f.js → useObjectBindings-SXpt83LZ.js} +2 -2
  74. package/dist/utils.js +1 -1
  75. package/dist/{vue-data-ui-Wr6-S9EX.js → vue-data-ui-DxDDhG_Z.js} +67 -67
  76. package/dist/vue-data-ui.js +68 -68
  77. package/dist/{vue-ui-3d-bar-LiAqP781.js → vue-ui-3d-bar-Dkpnduj2.js} +2 -2
  78. package/dist/{vue-ui-accordion-cVv18nTV.js → vue-ui-accordion-CWXbkzsg.js} +1 -1
  79. package/dist/{vue-ui-age-pyramid-CTHUPhvW.js → vue-ui-age-pyramid-YRzKi3YZ.js} +2 -2
  80. package/dist/{vue-ui-annotator-B9mA_PlF.js → vue-ui-annotator-C6MknYlp.js} +2 -2
  81. package/dist/{vue-ui-bullet-Bajk8MIY.js → vue-ui-bullet--e6wu_eV.js} +2 -2
  82. package/dist/{vue-ui-bump-BKLTUDLW.js → vue-ui-bump-k2AwGC59.js} +2 -2
  83. package/dist/{vue-ui-candlestick-BTb7d0AS.js → vue-ui-candlestick-BVmiu7I8.js} +2 -2
  84. package/dist/{vue-ui-carousel-table-iRWAi2wg.js → vue-ui-carousel-table-CDYCZkJe.js} +2 -2
  85. package/dist/{vue-ui-chestnut-a88ukfxE.js → vue-ui-chestnut-CoPll4kt.js} +2 -2
  86. package/dist/{vue-ui-chord-BbI1-lsC.js → vue-ui-chord-Zxza5Lek.js} +2 -2
  87. package/dist/vue-ui-circle-pack-CGss-GQ3.js +1596 -0
  88. package/dist/{vue-ui-cursor-Bm3EYKYW.js → vue-ui-cursor-g1ARqBdZ.js} +2 -2
  89. package/dist/{vue-ui-dag-C45i25qr.js → vue-ui-dag-C_APXc5p.js} +2 -2
  90. package/dist/{vue-ui-dashboard-NPke80jQ.js → vue-ui-dashboard-WaoHmE2e.js} +65 -65
  91. package/dist/{vue-ui-digits-CRmqw9qB.js → vue-ui-digits-B6B0VxQN.js} +2 -2
  92. package/dist/{vue-ui-donut-BZmdvDTt.js → vue-ui-donut-C9DqiLiv.js} +2 -2
  93. package/dist/{vue-ui-donut-evolution-CHmXN-Jn.js → vue-ui-donut-evolution-Bk8wqv1D.js} +2 -2
  94. package/dist/{vue-ui-dumbbell-Sc0284dz.js → vue-ui-dumbbell-DFXC67IB.js} +2 -2
  95. package/dist/{vue-ui-flow-BsWTziuy.js → vue-ui-flow-nyqdaw6K.js} +2 -2
  96. package/dist/{vue-ui-funnel-CiZTp1me.js → vue-ui-funnel-AWd3vkNN.js} +2 -2
  97. package/dist/{vue-ui-galaxy-CESuLzxI.js → vue-ui-galaxy-9fc9Hd8V.js} +2 -2
  98. package/dist/{vue-ui-gauge-DP2zUL0h.js → vue-ui-gauge-CWFeHBud.js} +2 -2
  99. package/dist/{vue-ui-geo-CN9ujHFQ.js → vue-ui-geo-Dmzbrvxi.js} +2 -2
  100. package/dist/{vue-ui-gizmo-b89rBZ_1.js → vue-ui-gizmo-C7-ia7Qj.js} +2 -2
  101. package/dist/{vue-ui-heatmap-pVDHQXRU.js → vue-ui-heatmap-u70d0SIw.js} +3 -3
  102. package/dist/{vue-ui-history-plot-CrdoDusc.js → vue-ui-history-plot-CAyTp6g-.js} +2 -2
  103. package/dist/{vue-ui-horizontal-bar-W85Az1bg.js → vue-ui-horizontal-bar-BwLGyJym.js} +3 -3
  104. package/dist/{vue-ui-kpi-BrbRbdEh.js → vue-ui-kpi-C3y5-BRC.js} +2 -2
  105. package/dist/{vue-ui-mini-loader-BcCG6Yqb.js → vue-ui-mini-loader-B-4A16WA.js} +1 -1
  106. package/dist/{vue-ui-molecule-CNvUirzZ.js → vue-ui-molecule-DHdJBIhR.js} +5 -4
  107. package/dist/{vue-ui-mood-radar-PMiphOmU.js → vue-ui-mood-radar-3rQ3seXn.js} +2 -2
  108. package/dist/{vue-ui-nested-donuts-fZx83AnA.js → vue-ui-nested-donuts-CkyNVcNS.js} +2 -2
  109. package/dist/{vue-ui-onion-Dje-weuv.js → vue-ui-onion-BRS0F7vR.js} +2 -2
  110. package/dist/{vue-ui-parallel-coordinate-plot-DfNs8FYS.js → vue-ui-parallel-coordinate-plot-CK2ZUlSw.js} +2 -2
  111. package/dist/{vue-ui-quadrant-XHxq-DlE.js → vue-ui-quadrant-Cj2KV_z7.js} +2 -2
  112. package/dist/{vue-ui-quick-chart-CaHl0J15.js → vue-ui-quick-chart-Bhr12oH8.js} +2 -2
  113. package/dist/{vue-ui-radar-DNahNoSY.js → vue-ui-radar-DnOyaQkz.js} +2 -2
  114. package/dist/{vue-ui-rating-DA9Bmfyb.js → vue-ui-rating-BJ9v9H9k.js} +1 -1
  115. package/dist/{vue-ui-relation-circle-DEkfxis6.js → vue-ui-relation-circle-u9QEc8ee.js} +2 -2
  116. package/dist/{vue-ui-ridgeline-DJCIoplO.js → vue-ui-ridgeline-DYTp5R9J.js} +2 -2
  117. package/dist/{vue-ui-rings-BmwAXIIS.js → vue-ui-rings-ClYcK_nn.js} +2 -2
  118. package/dist/{vue-ui-scatter-gDbtwMUL.js → vue-ui-scatter-D0SU1o_K.js} +2 -2
  119. package/dist/{vue-ui-skeleton-Dk3sAiyy.js → vue-ui-skeleton-8lXnB1kN.js} +2 -2
  120. package/dist/{vue-ui-smiley-B6nc7b71.js → vue-ui-smiley-XGOYNEOl.js} +1 -1
  121. package/dist/{vue-ui-spark-trend-D8yEotVY.js → vue-ui-spark-trend-BSpJpbES.js} +2 -2
  122. package/dist/{vue-ui-sparkbar-nYDeWrnP.js → vue-ui-sparkbar-DNDThOca.js} +2 -2
  123. package/dist/{vue-ui-sparkgauge-DLlF5ikf.js → vue-ui-sparkgauge-yWuiAETN.js} +2 -2
  124. package/dist/{vue-ui-sparkhistogram-BiBnGnPd.js → vue-ui-sparkhistogram-BDBECsRm.js} +2 -2
  125. package/dist/{vue-ui-sparkline-BZreSPaz.js → vue-ui-sparkline-CuYL1Whh.js} +210 -206
  126. package/dist/{vue-ui-sparkstackbar-CsDTWemd.js → vue-ui-sparkstackbar-22TzSWXm.js} +2 -2
  127. package/dist/{vue-ui-stackbar-O5MKTViN.js → vue-ui-stackbar-DUVQRjp6.js} +2 -2
  128. package/dist/{vue-ui-stackline-C3H-w9qM.js → vue-ui-stackline-J0R-RjHc.js} +2 -2
  129. package/dist/{vue-ui-strip-plot-DHj_ep-p.js → vue-ui-strip-plot-CZtkOhgu.js} +2 -2
  130. package/dist/{vue-ui-table-CKlbqFCS.js → vue-ui-table-DLPvMKgy.js} +3 -3
  131. package/dist/{vue-ui-table-heatmap-CfGJVzI3.js → vue-ui-table-heatmap-CjSOXgXq.js} +1 -1
  132. package/dist/{vue-ui-table-sparkline-RzS0ScTK.js → vue-ui-table-sparkline-DOzz3o1m.js} +2 -2
  133. package/dist/{vue-ui-thermometer-BBUD_cKx.js → vue-ui-thermometer-Bfqbd1ax.js} +2 -2
  134. package/dist/{vue-ui-timer-C2uHLhKn.js → vue-ui-timer-D0-TQScN.js} +2 -2
  135. package/dist/{vue-ui-tiremarks-DapXAkBg.js → vue-ui-tiremarks-BVSRY8Gj.js} +2 -2
  136. package/dist/{vue-ui-treemap-F6LUlmcN.js → vue-ui-treemap-DH06-VQ7.js} +2 -2
  137. package/dist/{vue-ui-waffle-BcSsPMHf.js → vue-ui-waffle-CerCRZ-W.js} +2 -2
  138. package/dist/{vue-ui-wheel-CGbzQLRr.js → vue-ui-wheel-B1lApEvE.js} +2 -2
  139. package/dist/{vue-ui-word-cloud-ClUfpy7l.js → vue-ui-word-cloud-B_NoJE4l.js} +2 -2
  140. package/dist/{vue-ui-world-BG0sN6kF.js → vue-ui-world-CI3t1Fim.js} +2 -2
  141. package/dist/{vue-ui-xy-canvas-DF3izGyG.js → vue-ui-xy-canvas-QZ0PIIIj.js} +2 -2
  142. package/dist/{vue-ui-xy-ClcDhyHP.js → vue-ui-xy-xLZXDH_8.js} +74 -56
  143. package/dist/{vue_ui_circle_pack-DBKz_Fi_.js → vue_ui_circle_pack-FjH0ZQeb.js} +42 -0
  144. package/package.json +1 -1
  145. package/dist/vue-ui-circle-pack-DWaIDPsl.js +0 -1183
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
2
2
  import { At as t, G as n, H as r, I as i, M as a, Mt as o, Q as s, R as c, St as l, X as u, et as d, f, i as p, jt as m, k as ee, l as te, ot as ne, t as re, vt as h, y as ie, zt as ae } from "./lib-BkiwukKO.js";
3
3
  import { t as oe } from "./useTimeLabels-C0x7zUXP.js";
4
- import { t as se } from "./useConfig-BV0kTCnO.js";
4
+ import { t as se } from "./useConfig-nXlOKvBq.js";
5
5
  import { n as ce, t as le } from "./BaseScanner-C7dmAref.js";
6
6
  import { t as ue } from "./useNestedProp-Ck4hsrpu.js";
7
7
  import { t as de } from "./useThemeCheck-rFK9Zlb_.js";
@@ -12,7 +12,7 @@ import { t as me } from "./A11yDataTable-q2-8fSlJ.js";
12
12
  import { t as he } from "./useChartAccessibility-Do37qcw2.js";
13
13
  import { t as ge } from "./usePrefersMotion-BywLbIko.js";
14
14
  import { t as _e } from "./vue_ui_sparkline-wgk7yO7E.js";
15
- import { Fragment as _, computed as v, createBlock as ve, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createTextVNode as ye, createVNode as be, defineAsyncComponent as xe, guardReactiveProps as Se, nextTick as S, normalizeProps as Ce, normalizeStyle as C, onBeforeUnmount as we, onMounted as Te, openBlock as w, ref as T, renderList as E, renderSlot as Ee, shallowRef as De, toDisplayString as Oe, toRefs as ke, unref as D, watch as O, watchEffect as Ae, withCtx as je } from "vue";
15
+ import { Fragment as _, computed as v, createBlock as ve, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createTextVNode as ye, createVNode as be, defineAsyncComponent as xe, guardReactiveProps as Se, nextTick as S, normalizeProps as Ce, normalizeStyle as C, onBeforeUnmount as we, onMounted as Te, openBlock as w, ref as T, renderList as Ee, renderSlot as E, shallowRef as De, toDisplayString as Oe, toRefs as ke, unref as D, watch as O, watchEffect as Ae, withCtx as je } from "vue";
16
16
  //#region src/atoms/SparklinePulse.vue
17
17
  var Me = {
18
18
  key: 0,
@@ -141,7 +141,7 @@ var Me = {
141
141
  await S(), i();
142
142
  }), we(() => {
143
143
  i();
144
- }), (t, i) => r.value ? (w(), b("g", Me, [(w(!0), b(_, null, E(n.value, (t, n) => (w(), b(_, null, [n % 3 == 0 ? (w(), b("circle", {
144
+ }), (t, i) => r.value ? (w(), b("g", Me, [(w(!0), b(_, null, Ee(n.value, (t, n) => (w(), b(_, null, [n % 3 == 0 ? (w(), b("circle", {
145
145
  key: `sparkline_dot_${n}_${e.pulsePathId}`,
146
146
  r: o(n),
147
147
  fill: e.pulse.color,
@@ -371,16 +371,16 @@ function B(e, t, n, r) {
371
371
  for (a < 0 && (a = 0), a > e.length - 2 && (a = e.length - 2); a > 0 && i < e[a].position;) --a;
372
372
  for (; a < e.length - 2 && i > e[a + 1].position;) a += 1;
373
373
  let o = e[a], s = e[a + 1], c = s.position - o.position, l = c > 0 ? (i - o.position) / c : 0;
374
- return W(V(o.rgba, s.rgba, l, n));
374
+ return H(nt(o.rgba, s.rgba, l, n));
375
375
  }
376
- function V(e, t, n, r) {
376
+ function nt(e, t, n, r) {
377
377
  let i = L(n, 0, 1);
378
378
  if (r === "linearRGB") {
379
- let n = H(e.red), r = H(e.green), a = H(e.blue), o = H(t.red), s = H(t.green), c = H(t.blue), l = n + (o - n) * i, u = r + (s - r) * i, d = a + (c - a) * i;
379
+ let n = V(e.red), r = V(e.green), a = V(e.blue), o = V(t.red), s = V(t.green), c = V(t.blue), l = n + (o - n) * i, u = r + (s - r) * i, d = a + (c - a) * i;
380
380
  return {
381
- red: U(l),
382
- green: U(u),
383
- blue: U(d),
381
+ red: rt(l),
382
+ green: rt(u),
383
+ blue: rt(d),
384
384
  alpha: e.alpha + (t.alpha - e.alpha) * i
385
385
  };
386
386
  }
@@ -391,19 +391,19 @@ function V(e, t, n, r) {
391
391
  alpha: e.alpha + (t.alpha - e.alpha) * i
392
392
  };
393
393
  }
394
- function H(e) {
394
+ function V(e) {
395
395
  let t = L(e / 255, 0, 1);
396
396
  return t <= .04045 ? t / 12.92 : ((t + .055) / 1.055) ** 2.4;
397
397
  }
398
- function U(e) {
398
+ function rt(e) {
399
399
  let t = L(e, 0, 1), n;
400
400
  return n = t <= .0031308 ? t * 12.92 : 1.055 * t ** (1 / 2.4) - .055, L(Math.round(n * 255), 0, 255);
401
401
  }
402
- function W(e) {
402
+ function H(e) {
403
403
  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);
404
404
  return t >= 1 ? `#${Ge(n)}${Ge(r)}${Ge(i)}` : `rgba(${n}, ${r}, ${i}, ${R(t, 4).toString()})`;
405
405
  }
406
- function nt(e) {
406
+ function U(e) {
407
407
  let t = `fill="${G(e.fill ?? "none")}"`, n = Object.keys(e);
408
408
  for (let r = 0; r < n.length; r += 1) {
409
409
  let i = n[r];
@@ -413,7 +413,7 @@ function nt(e) {
413
413
  }
414
414
  return t;
415
415
  }
416
- function rt(e, t, n) {
416
+ function W(e, t, n) {
417
417
  return `<path d="${G(e)}" stroke="${G(t)}" ${n} />`;
418
418
  }
419
419
  function it(e) {
@@ -448,7 +448,7 @@ function ot(e, t = null, n = {}) {
448
448
  if (i === null && (!(p > 0) || m.length === 1)) {
449
449
  let t = at([it({
450
450
  pathData: e,
451
- stroke: W(m[0]),
451
+ stroke: H(m[0]),
452
452
  segmentAttributeMap: c
453
453
  })], l);
454
454
  Xe(a), r(t);
@@ -468,7 +468,7 @@ function ot(e, t = null, n = {}) {
468
468
  return t;
469
469
  })() : [], re = Ze(p, d, n.maxSegmentLength), h = Qe(p, n.segments, re), ie = p / h, ae = typeof n.overlap == "number" && n.overlap >= 0 ? n.overlap : d * .5, oe = ie * .45;
470
470
  ae > oe && (ae = oe);
471
- let se = typeof n.samplePointLimitPerSegment == "number" && n.samplePointLimitPerSegment > 10 ? n.samplePointLimitPerSegment : 250, ce = nt(c), le = [], ue = i === null ? null : [], de = i === null ? null : [], fe = 0, pe = i === null ? ne.length - 2 : 0, g = 0, me = () => {
471
+ let se = typeof n.samplePointLimitPerSegment == "number" && n.samplePointLimitPerSegment > 10 ? n.samplePointLimitPerSegment : 250, ce = U(c), le = [], ue = i === null ? null : [], de = i === null ? null : [], fe = 0, pe = i === null ? ne.length - 2 : 0, g = 0, me = () => {
472
472
  let e = performance.now(), t = typeof n.frameBudgetMs == "number" ? n.frameBudgetMs : 8;
473
473
  for (; g < h && performance.now() - e < t;) {
474
474
  let e = g * ie, t = (g + 1) * ie, n = e, r = t;
@@ -479,7 +479,7 @@ function ot(e, t = null, n = {}) {
479
479
  let e = (n + r) * .5 / p;
480
480
  for (; fe < pe && e > ne[fe + 1].position;) fe += 1;
481
481
  let t = B(ne, e, ee, fe), i = $e(f, n, r, s, o, se);
482
- le.push(rt(i, t, ce));
482
+ le.push(W(i, t, ce));
483
483
  }
484
484
  g += 1;
485
485
  }
@@ -496,8 +496,8 @@ function ot(e, t = null, n = {}) {
496
496
  let n = te[0], r = te[1];
497
497
  le.length = 0;
498
498
  for (let a = 0; a < de.length; a += 1) {
499
- let o = de[a], s = qe(((i === "vertical" ? o.minY : o.minX) + (i === "vertical" ? o.maxY : o.maxX)) * .5, e, t, !0), c = W(i === "vertical" ? We(n, r, s, ee) : We(r, n, s, ee)), l = ue[a];
500
- le.push(rt(l, c, ce));
499
+ let o = de[a], s = qe(((i === "vertical" ? o.minY : o.minX) + (i === "vertical" ? o.maxY : o.maxX)) * .5, e, t, !0), c = H(i === "vertical" ? We(n, r, s, ee) : We(r, n, s, ee)), l = ue[a];
500
+ le.push(W(l, c, ce));
501
501
  }
502
502
  }
503
503
  let c = at(le, l);
@@ -568,7 +568,7 @@ var st = ["innerHTML"], ct = {
568
568
  i === r && (n.value = a);
569
569
  }, { immediate: !0 }), (e, t) => (w(), b("g", { innerHTML: n.value }, null, 8, st));
570
570
  }
571
- }, lt = /* @__PURE__ */ e({ default: () => K }), ut = ["id"], dt = ["id"], ft = { style: { position: "relative" } }, pt = [
571
+ }, lt = /* @__PURE__ */ e({ default: () => Ut }), ut = ["id"], dt = ["id"], ft = { style: { position: "relative" } }, pt = [
572
572
  "xmlns",
573
573
  "viewBox",
574
574
  "aria-describedby"
@@ -652,7 +652,7 @@ var st = ["innerHTML"], ct = {
652
652
  },
653
653
  "data-dom-to-png-ignore": "",
654
654
  "aria-hidden": "true"
655
- }, K = /* @__PURE__ */ fe({
655
+ }, Ut = /* @__PURE__ */ fe({
656
656
  __name: "vue-ui-sparkline",
657
657
  props: {
658
658
  config: {
@@ -686,7 +686,7 @@ var st = ["innerHTML"], ct = {
686
686
  },
687
687
  emits: ["hoverIndex", "selectDatapoint"],
688
688
  setup(e, { emit: fe }) {
689
- let Me = xe(() => import("./PackageVersion-BIfMr89l.js").then((e) => e.t)), Ne = xe(() => import("./SparkTooltip-c2DL7gqD.js")), { vue_ui_sparkline: Pe } = se(), { isThemeValid: Fe, warnInvalidTheme: Ie } = de(), Le = ge(), k = e, Re = v(() => Array.isArray(k.dataset) && k.dataset.length > 0), A = T(r()), j = T(null), Be = T(null), Ve = T(null), M = T(null), N = T(null), P = T(R());
689
+ let Me = xe(() => import("./PackageVersion-D5dkifa6.js").then((e) => e.t)), Ne = xe(() => import("./SparkTooltip-c2DL7gqD.js")), { vue_ui_sparkline: Pe } = se(), { isThemeValid: Fe, warnInvalidTheme: Ie } = de(), Le = ge(), k = e, Re = v(() => Array.isArray(k.dataset) && k.dataset.length > 0), A = T(r()), j = T(null), Be = T(null), Ve = T(null), M = T(null), N = T(null), P = T(R());
690
690
  function He(e) {
691
691
  return k.config?.skeletonDataset && Array.isArray(k.config.skeletonDataset) ? k.config.skeletonDataset.map((e) => ({
692
692
  period: "-",
@@ -724,7 +724,7 @@ var st = ["innerHTML"], ct = {
724
724
  prepareConfig: R,
725
725
  callback: () => {
726
726
  Promise.resolve().then(async () => {
727
- await S(), st();
727
+ await S(), lt();
728
728
  });
729
729
  },
730
730
  skeletonDataset: He(12),
@@ -752,7 +752,7 @@ var st = ["innerHTML"], ct = {
752
752
  else t = e;
753
753
  return t;
754
754
  }
755
- let z = v(() => P.value?.style?.line.pulse || {}), Ge = v(() => `${Math.max(200, Number(z.value.durationMs) || 4e3) / 1e3}s`), Ke = T(0), qe = v(() => z.value?.begin || "0ms"), Je = T("0;1"), Ye = v(() => z.value?.loop === !1 ? "1" : "indefinite"), Xe = v(() => z.value?.loop === !1 ? "freeze" : void 0), Ze = v(() => z.value.trail.show && tt.value.lengthPx || 1), Qe = v(() => !!z.value?.show && !Q.value && !Le.value && !F.value && (Y.value?.length || 0) > 1);
755
+ let z = v(() => P.value?.style?.line.pulse || {}), Ge = v(() => `${Math.max(200, Number(z.value.durationMs) || 4e3) / 1e3}s`), Ke = T(0), qe = v(() => z.value?.begin || "0ms"), Je = T("0;1"), Ye = v(() => z.value?.loop === !1 ? "1" : "indefinite"), Xe = v(() => z.value?.loop === !1 ? "freeze" : void 0), Ze = v(() => z.value.trail.show && tt.value.lengthPx || 1), Qe = v(() => !!z.value?.show && !Q.value && !Le.value && !F.value && (J.value?.length || 0) > 1);
756
756
  function $e() {
757
757
  if (!Qe.value) {
758
758
  Ke.value = 0;
@@ -760,7 +760,7 @@ var st = ["innerHTML"], ct = {
760
760
  }
761
761
  let e = L.value;
762
762
  if (!e) return;
763
- let t = `#${K.value}`, n = e.querySelector?.(t);
763
+ let t = `#${Wt.value}`, n = e.querySelector?.(t);
764
764
  if (n && typeof n.getTotalLength == "function") {
765
765
  let e = n.getTotalLength();
766
766
  Number.isFinite(e) && e > 0 && (Ke.value = e);
@@ -832,9 +832,13 @@ var st = ["innerHTML"], ct = {
832
832
  }), B = v(() => h({
833
833
  data: I.value,
834
834
  threshold: P.value.downsample.threshold
835
- }));
835
+ })), nt = v(() => {
836
+ if (!P.value.temperatureColors.show) return !1;
837
+ let e = I.value.map(({ value: e }) => e).filter((e) => Number.isFinite(e));
838
+ return new Set(e).size <= 1;
839
+ });
836
840
  O(() => k.config, (e) => {
837
- F.value || (P.value = R()), Kt(), q.value.chartWidth = P.value.style.chartWidth;
841
+ F.value || (P.value = R()), Jt(), K.value.chartWidth = P.value.style.chartWidth;
838
842
  }, { deep: !0 }), O(() => k.dataset, (e) => {
839
843
  Array.isArray(e) && e.length > 0 && (We.value = !1), V.value = h({
840
844
  data: I.value.map((e) => ({
@@ -844,8 +848,8 @@ var st = ["innerHTML"], ct = {
844
848
  threshold: P.value.downsample.threshold
845
849
  });
846
850
  }, { deep: !0 });
847
- let V = T(H());
848
- function H() {
851
+ let V = T(rt());
852
+ function rt() {
849
853
  return h({
850
854
  data: I.value.map((e) => P.value.style.animation.show && I.value.length > 1 ? {
851
855
  ...e,
@@ -857,59 +861,59 @@ var st = ["innerHTML"], ct = {
857
861
  threshold: P.value.downsample.threshold
858
862
  });
859
863
  }
860
- let U = De(null), W = De(null), nt = T(!1), rt = T(0), it = T([]), at = T(""), G = v(() => {
864
+ let H = De(null), U = De(null), W = T(!1), it = T(0), at = T([]), G = T(""), ot = v(() => {
861
865
  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;
862
866
  return `${e}#${!!t.show}#${t.animationFrames || 0}#${n}`;
863
867
  });
864
- function ot() {
865
- rt.value &&= (cancelAnimationFrame(rt.value), 0), it.value.forEach((e) => clearTimeout(e)), it.value = [], nt.value = !1;
866
- }
867
868
  function st() {
868
- let e = P.value?.style?.animation || {}, t = B.value || [], n = G.value, r = !!P.value.gradientPath.show && !P.value.temperatureColors.show;
869
- if (n && n === at.value && (nt.value || V.value.length === t.length)) return;
870
- if (ot(), r || !e.show || F.value || t.length <= 1) {
871
- V.value = t, at.value = n;
869
+ it.value &&= (cancelAnimationFrame(it.value), 0), at.value.forEach((e) => clearTimeout(e)), at.value = [], W.value = !1;
870
+ }
871
+ function lt() {
872
+ let e = P.value?.style?.animation || {}, t = B.value || [], n = ot.value, r = !!P.value.gradientPath.show && !P.value.temperatureColors.show;
873
+ if (n && n === G.value && (W.value || V.value.length === t.length)) return;
874
+ if (st(), r || !e.show || F.value || t.length <= 1) {
875
+ V.value = t, G.value = n;
872
876
  return;
873
877
  }
874
- nt.value = !0, at.value = n, V.value = [];
878
+ W.value = !0, G.value = n, V.value = [];
875
879
  let i = Math.max(1, Number(e.animationFrames) || 1), a = Math.max(1, Math.floor(i / t.length)), o = 0, s = () => {
876
- if (n !== G.value) {
877
- ot();
880
+ if (n !== ot.value) {
881
+ st();
878
882
  return;
879
883
  }
880
884
  if (o < t.length) {
881
885
  V.value.push(t[o]);
882
886
  let e = setTimeout(() => {
883
- rt.value = requestAnimationFrame(s);
887
+ it.value = requestAnimationFrame(s);
884
888
  }, a);
885
- it.value.push(e), o += 1;
886
- } else V.value = t, ot();
889
+ at.value.push(e), o += 1;
890
+ } else V.value = t, st();
887
891
  };
888
- rt.value = requestAnimationFrame(s);
892
+ it.value = requestAnimationFrame(s);
889
893
  }
890
- O(G, () => {
891
- st();
894
+ O(ot, () => {
895
+ lt();
892
896
  }), Te(() => {
893
- Kt(), st();
897
+ Jt(), lt();
894
898
  }), we(() => {
895
- ot();
899
+ st();
896
900
  });
897
- let lt = T(0);
901
+ let Ut = T(0);
898
902
  O(() => F.value, async (e) => {
899
- e || (await S(), lt.value += 1);
900
- }), O(() => nt.value, async (e) => {
901
- e || F.value || (await S(), lt.value += 1);
903
+ e || (await S(), Ut.value += 1);
904
+ }), O(() => W.value, async (e) => {
905
+ e || F.value || (await S(), Ut.value += 1);
902
906
  });
903
- let K = v(() => `sparkline_line_path_${A.value}`), Ut = T(!0);
904
- async function Wt() {
905
- Ut.value = !1, await S(), Ut.value = !0, await S(), $e();
907
+ let Wt = v(() => `sparkline_line_path_${A.value}`), Gt = T(!0);
908
+ async function Kt() {
909
+ Gt.value = !1, await S(), Gt.value = !0, await S(), $e();
906
910
  }
907
- let Gt = v(() => !!P.value.debug);
908
- function Kt() {
911
+ let qt = v(() => !!P.value.debug);
912
+ function Jt() {
909
913
  if (l(k.dataset) ? (u({
910
914
  componentName: "VueUiSparkline",
911
915
  type: "dataset",
912
- debug: Gt.value
916
+ debug: qt.value
913
917
  }), We.value = !0) : k.dataset.forEach((e, t) => {
914
918
  ne({
915
919
  datasetObject: e,
@@ -920,7 +924,7 @@ var st = ["innerHTML"], ct = {
920
924
  type: "datasetSerieAttribute",
921
925
  property: e,
922
926
  index: t,
923
- debug: Gt.value
927
+ debug: qt.value
924
928
  });
925
929
  });
926
930
  }), l(k.dataset) || (We.value = P.value.loading), P.value.responsive) {
@@ -931,55 +935,55 @@ var st = ["innerHTML"], ct = {
931
935
  source: Ve.value
932
936
  });
933
937
  requestAnimationFrame(() => {
934
- q.value.width = e, q.value.height = t, q.value.chartWidth = P.value.style.chartWidth / 500 * e, q.value.padding = k.forcedPadding / 500 * e;
938
+ K.value.width = e, K.value.height = t, K.value.chartWidth = P.value.style.chartWidth / 500 * e, K.value.padding = k.forcedPadding / 500 * e;
935
939
  });
936
940
  });
937
- U.value && (W.value && U.value.unobserve(W.value), U.value.disconnect()), U.value = new ResizeObserver(e), W.value = j.value.parentNode, U.value.observe(W.value);
941
+ 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);
938
942
  }
939
943
  }
940
944
  we(() => {
941
- U.value && (W.value && U.value.unobserve(W.value), U.value.disconnect());
945
+ H.value && (U.value && H.value.unobserve(U.value), H.value.disconnect());
942
946
  });
943
- let q = T({
947
+ let K = T({
944
948
  height: 80 * k.heightRatio,
945
949
  width: 500,
946
950
  chartWidth: P.value.style.chartWidth,
947
951
  padding: k.forcedPadding
948
- }), qt = fe, J = v(() => {
952
+ }), Yt = fe, q = v(() => {
949
953
  let { top: e, right: t, bottom: n, left: r } = P.value.style.padding;
950
954
  return {
951
955
  top: e,
952
956
  left: r,
953
- right: q.value.width - t,
954
- bottom: q.value.height - n,
955
- start: k.showInfo && P.value.style.dataLabel.show && P.value.style.dataLabel.position === "left" ? q.value.width - q.value.chartWidth + r : q.value.padding + r,
956
- width: k.showInfo && P.value.style.dataLabel.show ? q.value.chartWidth - r - t : q.value.width - q.value.padding - r - t,
957
- height: q.value.height - e - n
957
+ right: K.value.width - t,
958
+ bottom: K.value.height - n,
959
+ 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,
960
+ width: k.showInfo && P.value.style.dataLabel.show ? K.value.chartWidth - r - t : K.value.width - K.value.padding - r - t,
961
+ height: K.value.height - e - n
958
962
  };
959
- }), Jt = v(() => [null, void 0].includes(P.value.style.scaleMin) ? Math.min(...V.value.map((e) => isNaN(e.value) || [
963
+ }), Xt = v(() => [null, void 0].includes(P.value.style.scaleMin) ? Math.min(...V.value.map((e) => isNaN(e.value) || [
960
964
  void 0,
961
965
  null,
962
966
  "NaN",
963
967
  NaN,
964
968
  Infinity,
965
969
  -Infinity
966
- ].includes(e.value) ? 0 : e.value || 0)) : P.value.style.scaleMin), Yt = v(() => [null, void 0].includes(P.value.style.scaleMax) ? Math.max(...V.value.map((e) => isNaN(e.value) || [
970
+ ].includes(e.value) ? 0 : e.value || 0)) : P.value.style.scaleMin), Zt = v(() => [null, void 0].includes(P.value.style.scaleMax) ? Math.max(...V.value.map((e) => isNaN(e.value) || [
967
971
  void 0,
968
972
  null,
969
973
  "NaN",
970
974
  NaN,
971
975
  Infinity,
972
976
  -Infinity
973
- ].includes(e.value) ? 0 : e.value || 0)) : P.value.style.scaleMax), Xt = v(() => {
974
- let e = Jt.value >= 0 ? 0 : Jt.value;
977
+ ].includes(e.value) ? 0 : e.value || 0)) : P.value.style.scaleMax), Qt = v(() => {
978
+ let e = Xt.value >= 0 ? 0 : Xt.value;
975
979
  return Math.abs(e);
976
- }), Zt = v(() => Yt.value + Xt.value), Qt = v(() => J.value.bottom - J.value.height * $t(Xt.value));
977
- function $t(e) {
978
- return isNaN(e / Zt.value) ? 0 : e / Zt.value;
980
+ }), $t = v(() => Zt.value + Qt.value), en = v(() => q.value.bottom - q.value.height * tn(Qt.value));
981
+ function tn(e) {
982
+ return isNaN(e / $t.value) ? 0 : e / $t.value;
979
983
  }
980
- let en = v(() => B.value.length - 1 || 1), tn = T([]), nn = 0;
984
+ let nn = v(() => B.value.length - 1 || 1), rn = T([]), an = 0;
981
985
  Ae(() => {
982
- let e = ++nn;
986
+ let e = ++an;
983
987
  (async () => {
984
988
  let t = await oe({
985
989
  values: B.value.map((e) => e.period),
@@ -988,10 +992,10 @@ var st = ["innerHTML"], ct = {
988
992
  start: 0,
989
993
  end: B.value.length
990
994
  });
991
- e === nn && (tn.value = t);
995
+ e === an && (rn.value = t);
992
996
  })();
993
997
  });
994
- let Y = v(() => V.value.map((e, t) => {
998
+ let J = v(() => V.value.map((e, t) => {
995
999
  let n = isNaN(e.value) || [
996
1000
  void 0,
997
1001
  null,
@@ -999,28 +1003,28 @@ var st = ["innerHTML"], ct = {
999
1003
  NaN,
1000
1004
  Infinity,
1001
1005
  -Infinity
1002
- ].includes(e.value) ? 0 : e.value || 0, r = J.value.width / en.value;
1006
+ ].includes(e.value) ? 0 : e.value || 0, r = q.value.width / nn.value;
1003
1007
  return {
1004
1008
  value: e.value,
1005
1009
  absoluteValue: n,
1006
- period: tn.value && tn.value[t] && tn.value[t].text ? tn.value[t].text : e.period,
1007
- plotValue: n + Xt.value,
1008
- toMax: $t(n + Xt.value),
1009
- x: J.value.start + t * r,
1010
- y: J.value.bottom - J.value.height * $t(n + Xt.value),
1010
+ period: rn.value && rn.value[t] && rn.value[t].text ? rn.value[t].text : e.period,
1011
+ plotValue: n + Qt.value,
1012
+ toMax: tn(n + Qt.value),
1013
+ x: q.value.start + t * r,
1014
+ y: q.value.bottom - q.value.height * tn(n + Qt.value),
1011
1015
  id: `plot_${A.value}_${t}`,
1012
- color: Q.value ? P.value.style.bar.color : P.value.style.area.useGradient ? o(P.value.style.line.color, .05 * (1 - t / en.value)) : P.value.style.line.color,
1016
+ color: Q.value ? P.value.style.bar.color : P.value.style.area.useGradient ? o(P.value.style.line.color, .05 * (1 - t / nn.value)) : P.value.style.line.color,
1013
1017
  width: r
1014
1018
  };
1015
- })), rn = v(() => k.selectedIndex !== void 0 && k.selectedIndex !== null && k.selectedIndex >= 0 && k.selectedIndex < Y.value.length ? k.selectedIndex : N.value !== void 0 && N.value !== null && N.value >= 0 && N.value < Y.value.length ? N.value : null), an = v(() => {
1019
+ })), on = v(() => 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), sn = v(() => {
1016
1020
  let e = {
1017
- x: Y.value[0].x || 0,
1018
- y: (q.value.height || 0) - 6
1021
+ x: J.value[0].x || 0,
1022
+ y: (K.value.height || 0) - 6
1019
1023
  }, t = {
1020
- x: Y.value[Y.value.length - 1].x || 0,
1021
- y: (q.value.height || 0) - 6
1024
+ x: J.value[J.value.length - 1].x || 0,
1025
+ y: (K.value.height || 0) - 6
1022
1026
  }, n = [];
1023
- return Y.value.forEach((e) => {
1027
+ return J.value.forEach((e) => {
1024
1028
  n.push(`${e.x || 0},${e.y || 0} `);
1025
1029
  }), [
1026
1030
  e.x,
@@ -1029,28 +1033,28 @@ var st = ["innerHTML"], ct = {
1029
1033
  t.x,
1030
1034
  t.y
1031
1035
  ].toString();
1032
- }), X = T(void 0), on = T(void 0);
1033
- function sn(e, t) {
1036
+ }), Y = T(void 0), X = T(void 0);
1037
+ function cn(e, t) {
1034
1038
  P.value.events.datapointEnter && P.value.events.datapointEnter({
1035
1039
  datapoint: e,
1036
1040
  seriesIndex: t
1037
- }), N.value = t, M.value = t, X.value = e, on.value ||= e, qt("hoverIndex", { index: t });
1041
+ }), N.value = t, M.value = t, Y.value = e, X.value ||= e, Yt("hoverIndex", { index: t });
1038
1042
  }
1039
- function cn(e, t) {
1043
+ function ln(e, t) {
1040
1044
  P.value.events.datapointLeave && P.value.events.datapointLeave({
1041
1045
  datapoint: e,
1042
1046
  seriesIndex: t
1043
- }), on.value = X.value, X.value = void 0, N.value = null, M.value = null, qt("hoverIndex", { index: void 0 });
1047
+ }), X.value = Y.value, Y.value = void 0, N.value = null, M.value = null, Yt("hoverIndex", { index: void 0 });
1044
1048
  }
1045
1049
  let Z = v(() => {
1046
1050
  if (Re.value) {
1047
- let e = Y.value.map((e) => e.absoluteValue), t = e.reduce((e, t) => e + t, 0);
1051
+ let e = J.value.map((e) => e.absoluteValue), t = e.reduce((e, t) => e + t, 0);
1048
1052
  return {
1049
- latest: Y.value[Y.value.length - 1] ? Y.value[Y.value.length - 1].absoluteValue : 0,
1053
+ latest: J.value[J.value.length - 1] ? J.value[J.value.length - 1].absoluteValue : 0,
1050
1054
  sum: t,
1051
- average: t / Y.value.length,
1055
+ average: t / J.value.length,
1052
1056
  median: f(e),
1053
- trend: te(Y.value.map(({ x: e, y: t, absoluteValue: n }) => ({
1057
+ trend: te(J.value.map(({ x: e, y: t, absoluteValue: n }) => ({
1054
1058
  x: e,
1055
1059
  y: t,
1056
1060
  value: n
@@ -1063,72 +1067,72 @@ var st = ["innerHTML"], ct = {
1063
1067
  median: null,
1064
1068
  trend: null
1065
1069
  };
1066
- }), ln = v(() => Re.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 = v(() => P.value.type && P.value.type === "bar");
1067
- function un(e, t) {
1070
+ }), un = v(() => Re.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 = v(() => P.value.type && P.value.type === "bar");
1071
+ function dn(e, t) {
1068
1072
  P.value.events.datapointClick && P.value.events.datapointClick({
1069
1073
  datapoint: e,
1070
1074
  seriesIndex: t
1071
- }), qt("selectDatapoint", {
1075
+ }), Yt("selectDatapoint", {
1072
1076
  datapoint: e,
1073
1077
  index: t
1074
1078
  });
1075
1079
  }
1076
- let dn = v(() => Array.isArray(P.value.style.line.dashIndices) && P.value.style.line.dashIndices.length > 0), fn = v(() => Q.value ? "" : ee(Y.value)), pn = v(() => Q.value ? "" : i(Y.value)), mn = v(() => Q.value || !dn.value ? [] : a(Y.value, P.value.style.line.dashIndices)), hn = v(() => Q.value || !dn.value ? [] : c(Y.value, P.value.style.line.dashIndices)), gn = v(() => Q.value || !P.value.gradientPath.show || P.value.temperatureColors.show ? "" : `M ${(P.value.style.line.smooth ? fn.value : pn.value) || "0,0"}`), $ = v(() => !P.value.temperatureColors.show || P.value.temperatureColors.colors.length === 0 ? null : P.value.temperatureColors.colors.map((e) => ie(e)));
1080
+ let fn = v(() => Array.isArray(P.value.style.line.dashIndices) && P.value.style.line.dashIndices.length > 0), pn = v(() => Q.value ? "" : ee(J.value)), mn = v(() => Q.value ? "" : i(J.value)), hn = v(() => Q.value || !fn.value ? [] : a(J.value, P.value.style.line.dashIndices)), gn = v(() => Q.value || !fn.value ? [] : c(J.value, P.value.style.line.dashIndices)), _n = v(() => Q.value || !P.value.gradientPath.show || P.value.temperatureColors.show ? "" : `M ${(P.value.style.line.smooth ? pn.value : mn.value) || "0,0"}`), $ = v(() => !P.value.temperatureColors.show || nt.value || !P.value.temperatureColors.colors.length ? null : P.value.temperatureColors.colors.map((e) => ie(e)));
1077
1081
  O(() => [
1078
1082
  Qe.value,
1079
- K.value,
1080
- Y.value.length,
1081
- q.value.width,
1082
- q.value.height,
1083
+ Wt.value,
1084
+ J.value.length,
1085
+ K.value.width,
1086
+ K.value.height,
1083
1087
  P.value?.style?.line?.smooth
1084
1088
  ], async () => {
1085
1089
  await S(), $e();
1086
1090
  }, { immediate: !0 }), Te(async () => {
1087
1091
  await S(), $e();
1088
1092
  }), O(() => F.value, async (e) => {
1089
- e || await Wt();
1090
- }), O(() => nt.value, async (e) => {
1091
- e || F.value || await Wt();
1093
+ e || await Kt();
1094
+ }), O(() => W.value, async (e) => {
1095
+ e || F.value || await Kt();
1092
1096
  }), O(() => k.selectedIndex, (e) => {
1093
1097
  if (e == null) {
1094
- N.value = null, M.value = null, X.value = void 0;
1098
+ N.value = null, M.value = null, Y.value = void 0;
1095
1099
  return;
1096
1100
  }
1097
- if (e < 0 || e >= Y.value.length) return;
1098
- let t = Y.value[e];
1099
- t && (N.value = e, M.value = e, X.value = t);
1101
+ if (e < 0 || e >= J.value.length) return;
1102
+ let t = J.value[e];
1103
+ t && (N.value = e, M.value = e, Y.value = t);
1100
1104
  });
1101
- let _n = T(!1);
1102
- function vn() {
1103
- let e = rn.value;
1104
- if (e !== null && e >= 0 && e < Y.value.length) {
1105
- let t = Y.value[e];
1105
+ let vn = T(!1);
1106
+ function yn() {
1107
+ let e = on.value;
1108
+ if (e !== null && e >= 0 && e < J.value.length) {
1109
+ let t = J.value[e];
1106
1110
  if (t) {
1107
- M.value = e, X.value = t, N.value = e, _n.value = !0;
1111
+ M.value = e, Y.value = t, N.value = e, vn.value = !0;
1108
1112
  return;
1109
1113
  }
1110
1114
  }
1111
- M.value = null, !X.value && Y.value.length && sn(Y.value.at(-1), Y.value.length - 1), _n.value = !0;
1115
+ M.value = null, !Y.value && J.value.length && cn(J.value.at(-1), J.value.length - 1), vn.value = !0;
1112
1116
  }
1113
- function yn() {
1114
- on.value = X.value, (k.selectedIndex === void 0 || k.selectedIndex === null) && (M.value = null, X.value = void 0, N.value = null, qt("hoverIndex", { index: void 0 })), _n.value = !1;
1117
+ function bn() {
1118
+ X.value = Y.value, (k.selectedIndex === void 0 || k.selectedIndex === null) && (M.value = null, Y.value = void 0, N.value = null, Yt("hoverIndex", { index: void 0 })), vn.value = !1;
1115
1119
  }
1116
- function bn(e) {
1120
+ function xn(e) {
1117
1121
  if (!L.value || document.activeElement !== L.value) return;
1118
- on.value = X.value;
1122
+ X.value = Y.value;
1119
1123
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight";
1120
1124
  if (!t && !n) return;
1121
- let r = Y.value.length;
1125
+ let r = J.value.length;
1122
1126
  if (!r) return;
1123
1127
  e.preventDefault(), e.stopPropagation();
1124
- let i = M.value, a = i !== null && i >= 0 && i < r, o = X.value ? Y.value.findIndex((e) => e.id === X.value.id) : -1;
1128
+ let i = M.value, a = i !== null && i >= 0 && i < r, o = Y.value ? J.value.findIndex((e) => e.id === Y.value.id) : -1;
1125
1129
  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;
1126
- let s = Y.value[i];
1127
- s && (M.value = i, sn(s, i));
1130
+ let s = J.value[i];
1131
+ s && (M.value = i, cn(s, i));
1128
1132
  }
1129
- let xn = v(() => ({
1133
+ let Sn = v(() => ({
1130
1134
  headers: [P.value.translations.period, P.value.translations.value],
1131
- rows: Y.value.map((e) => [e.period, e.absoluteValue])
1135
+ rows: J.value.map((e) => [e.period, e.absoluteValue])
1132
1136
  }));
1133
1137
  return (r, i) => (w(), b("div", {
1134
1138
  ref_key: "sparklineChart",
@@ -1141,11 +1145,11 @@ var st = ["innerHTML"], ct = {
1141
1145
  id: `chart-instructions-${A.value}`,
1142
1146
  class: "sr-only"
1143
1147
  }, Oe(P.value.a11y.translations.keyboardNavigation), 9, dt),
1144
- xn.value?.rows?.length ? (w(), ve(me, {
1148
+ Sn.value?.rows?.length ? (w(), ve(me, {
1145
1149
  key: 0,
1146
1150
  uid: A.value,
1147
- head: xn.value.headers,
1148
- body: xn.value.rows,
1151
+ head: Sn.value.headers,
1152
+ body: Sn.value.rows,
1149
1153
  notice: P.value.a11y.translations.tableAvailable,
1150
1154
  caption: P.value.a11y.translations.tableCaption
1151
1155
  }, null, 8, [
@@ -1155,8 +1159,8 @@ var st = ["innerHTML"], ct = {
1155
1159
  "notice",
1156
1160
  "caption"
1157
1161
  ])) : y("", !0),
1158
- Ee(r.$slots, "before", Ce(Se({
1159
- selected: X.value,
1162
+ E(r.$slots, "before", Ce(Se({
1163
+ selected: Y.value,
1160
1164
  latest: Z.value.latest,
1161
1165
  sum: Z.value.sum,
1162
1166
  average: Z.value.average,
@@ -1169,29 +1173,29 @@ var st = ["innerHTML"], ct = {
1169
1173
  ref: Be,
1170
1174
  class: "vue-ui-sparkline-title",
1171
1175
  style: C(`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"};`)
1172
- }, [x("span", { style: C(`padding:${P.value.style.title.textAlign === "left" ? "0 0 0 12px" : P.value.style.title.textAlign === "right" ? "0 12px 0 0" : "0"}`) }, Oe(X.value ? X.value.period : P.value.style.title.text), 5)], 4)) : y("", !0),
1176
+ }, [x("span", { style: C(`padding:${P.value.style.title.textAlign === "left" ? "0 0 0 12px" : P.value.style.title.textAlign === "right" ? "0 12px 0 0" : "0"}`) }, Oe(Y.value ? Y.value.period : P.value.style.title.text), 5)], 4)) : y("", !0),
1173
1177
  x("div", ft, [(w(), b("svg", {
1174
1178
  ref_key: "svgRef",
1175
1179
  ref: L,
1176
1180
  xmlns: D(re),
1177
- viewBox: `0 0 ${q.value.width} ${q.value.height}`,
1181
+ viewBox: `0 0 ${K.value.width} ${K.value.height}`,
1178
1182
  style: C(`background:${P.value.style.backgroundColor};overflow:visible;direction:ltr`),
1179
1183
  tabindex: "0",
1180
1184
  "aria-describedby": `chart-instructions-${A.value}`,
1181
- onMouseleave: i[0] ||= (e) => on.value = void 0,
1182
- onFocus: vn,
1183
- onBlur: yn,
1184
- onKeydown: bn
1185
+ onMouseleave: i[0] ||= (e) => X.value = void 0,
1186
+ onFocus: yn,
1187
+ onBlur: bn,
1188
+ onKeydown: xn
1185
1189
  }, [
1186
1190
  be(D(Me)),
1187
1191
  r.$slots["chart-background"] ? (w(), b("foreignObject", {
1188
1192
  key: 0,
1189
1193
  x: 0,
1190
1194
  y: 0,
1191
- width: q.value.width <= 0 ? 10 : q.value.width,
1192
- height: q.value.height <= 0 ? 10 : q.value.height,
1195
+ width: K.value.width <= 0 ? 10 : K.value.width,
1196
+ height: K.value.height <= 0 ? 10 : K.value.height,
1193
1197
  style: { pointerEvents: "none" }
1194
- }, [Ee(r.$slots, "chart-background", {}, void 0, !0)], 8, mt)) : y("", !0),
1198
+ }, [E(r.$slots, "chart-background", {}, void 0, !0)], 8, mt)) : y("", !0),
1195
1199
  x("defs", null, [
1196
1200
  x("linearGradient", {
1197
1201
  x1: "0%",
@@ -1240,20 +1244,20 @@ var st = ["innerHTML"], ct = {
1240
1244
  stdDeviation: "3",
1241
1245
  result: "blur"
1242
1246
  }, null, -1), x("feMerge", null, [x("feMergeNode", { in: "blur" }), x("feMergeNode", { in: "SourceGraphic" })], -1)]], 8, wt),
1243
- P.value.temperatureColors.show && $.value ? (w(), b("linearGradient", {
1247
+ P.value.temperatureColors.show && $.value && !nt.value ? (w(), b("linearGradient", {
1244
1248
  key: 0,
1245
1249
  id: `temperature_grad_sparkline_${A.value}`,
1246
1250
  gradientTransform: "rotate(90)"
1247
- }, [(w(!0), b(_, null, E($.value, (e, n) => (w(), b("stop", {
1251
+ }, [(w(!0), b(_, null, Ee($.value, (e, n) => (w(), b("stop", {
1248
1252
  key: `temperature_grad_stop_${n}_${A.value}`,
1249
1253
  "stop-color": e,
1250
1254
  offset: D(t)(n, $.value.length)
1251
1255
  }, null, 8, Et))), 128))], 8, Tt)) : y("", !0)
1252
1256
  ]),
1253
- P.value.style.area.show && !Q.value && Y.value[0] && Y.value.length > 1 ? (w(), b("g", Dt, [P.value.style.line.smooth ? (w(), b("path", {
1257
+ P.value.style.area.show && !Q.value && J.value[0] && J.value.length > 1 ? (w(), b("g", Dt, [P.value.style.line.smooth ? (w(), b("path", {
1254
1258
  key: 0,
1255
1259
  class: "vue-ui-sparkline-area",
1256
- d: `M ${Y.value[0].x},${J.value.bottom} ${D(ee)(Y.value)} L ${Y.value.at(-1).x},${J.value.bottom} Z`,
1260
+ d: `M ${J.value[0].x},${q.value.bottom} ${D(ee)(J.value)} L ${J.value.at(-1).x},${q.value.bottom} Z`,
1257
1261
  fill: P.value.style.area.useGradient ? `url(#sparkline_gradient_${A.value})` : D(m)(P.value.style.area.color, P.value.style.area.opacity),
1258
1262
  "stroke-linecap": "round",
1259
1263
  "stroke-linejoin": "round",
@@ -1261,21 +1265,21 @@ var st = ["innerHTML"], ct = {
1261
1265
  }, null, 12, Ot)) : (w(), b("path", {
1262
1266
  key: 1,
1263
1267
  class: "vue-ui-sparkline-area",
1264
- d: `M${an.value}Z`,
1268
+ d: `M${sn.value}Z`,
1265
1269
  fill: P.value.style.area.useGradient ? `url(#sparkline_gradient_${A.value})` : D(m)(P.value.style.area.color, P.value.style.area.opacity),
1266
1270
  "stroke-linecap": "round",
1267
1271
  "stroke-linejoin": "round",
1268
1272
  style: C({ transition: D(F) ? void 0 : "all 0.2s" })
1269
1273
  }, null, 12, kt))])) : y("", !0),
1270
1274
  P.value.style.line.smooth && !Q.value ? (w(), b(_, { key: 2 }, [x("path", {
1271
- id: K.value,
1272
- d: `M ${fn.value || "0,0"}`,
1275
+ id: Wt.value,
1276
+ d: `M ${pn.value || "0,0"}`,
1273
1277
  fill: "none",
1274
1278
  stroke: "transparent",
1275
1279
  "stroke-width": P.value.style.line.strokeWidth,
1276
1280
  "stroke-linecap": "round",
1277
1281
  "stroke-linejoin": "round"
1278
- }, null, 8, At), dn.value ? (w(!0), b(_, { key: 0 }, E(mn.value, (e) => (w(), b("path", {
1282
+ }, null, 8, At), fn.value ? (w(!0), b(_, { key: 0 }, Ee(hn.value, (e) => (w(), b("path", {
1279
1283
  key: e.path,
1280
1284
  class: "vue-ui-sparkline-path",
1281
1285
  d: `M ${e.path}`,
@@ -1289,7 +1293,7 @@ var st = ["innerHTML"], ct = {
1289
1293
  }, null, 12, jt))), 128)) : (w(), b("path", {
1290
1294
  key: 1,
1291
1295
  class: "vue-ui-sparkline-path",
1292
- d: `M ${fn.value || "0,0"}`,
1296
+ d: `M ${pn.value || "0,0"}`,
1293
1297
  stroke: $.value ? `url(#temperature_grad_sparkline_${A.value})` : P.value.style.line.color,
1294
1298
  fill: "none",
1295
1299
  "stroke-width": P.value.style.line.strokeWidth,
@@ -1298,14 +1302,14 @@ var st = ["innerHTML"], ct = {
1298
1302
  style: C({ transition: D(F) ? void 0 : "all 0.2s" })
1299
1303
  }, null, 12, Mt))], 64)) : y("", !0),
1300
1304
  !P.value.style.line.smooth && !Q.value ? (w(), b(_, { key: 3 }, [x("path", {
1301
- id: K.value,
1302
- d: `M ${pn.value || "0,0"}`,
1305
+ id: Wt.value,
1306
+ d: `M ${mn.value || "0,0"}`,
1303
1307
  fill: "none",
1304
1308
  stroke: "transparent",
1305
1309
  "stroke-width": P.value.style.line.strokeWidth,
1306
1310
  "stroke-linecap": "round",
1307
1311
  "stroke-linejoin": "round"
1308
- }, null, 8, Nt), dn.value ? (w(!0), b(_, { key: 0 }, E(hn.value, (e) => (w(), b("path", {
1312
+ }, null, 8, Nt), fn.value ? (w(!0), b(_, { key: 0 }, Ee(gn.value, (e) => (w(), b("path", {
1309
1313
  key: e.path,
1310
1314
  class: "vue-ui-sparkline-path",
1311
1315
  d: `M ${e.path}`,
@@ -1319,7 +1323,7 @@ var st = ["innerHTML"], ct = {
1319
1323
  }, null, 12, Pt))), 128)) : (w(), b("path", {
1320
1324
  key: 1,
1321
1325
  class: "vue-ui-sparkline-path",
1322
- d: `M ${pn.value || "0,0"}`,
1326
+ d: `M ${mn.value || "0,0"}`,
1323
1327
  stroke: $.value ? `url(#temperature_grad_sparkline_${A.value})` : P.value.style.line.color,
1324
1328
  fill: "none",
1325
1329
  "stroke-width": P.value.style.line.strokeWidth,
@@ -1327,9 +1331,9 @@ var st = ["innerHTML"], ct = {
1327
1331
  "stroke-linejoin": "round",
1328
1332
  style: C({ transition: D(F) ? void 0 : "all 0.2s" })
1329
1333
  }, null, 12, Ft))], 64)) : y("", !0),
1330
- gn.value && !$.value ? (w(), ve(ct, {
1334
+ _n.value && !$.value ? (w(), ve(ct, {
1331
1335
  key: 4,
1332
- svgPathData: gn.value,
1336
+ svgPathData: _n.value,
1333
1337
  enabled: P.value.gradientPath.show && !Q.value && !$.value,
1334
1338
  strokeWidth: P.value.style.line.strokeWidth,
1335
1339
  highColor: P.value.gradientPath.colors.high,
@@ -1343,11 +1347,11 @@ var st = ["innerHTML"], ct = {
1343
1347
  "lowColor",
1344
1348
  "segments"
1345
1349
  ])) : y("", !0),
1346
- Ut.value && Qe.value ? (w(), ve(ze, {
1350
+ Gt.value && Qe.value ? (w(), ve(ze, {
1347
1351
  key: 5,
1348
1352
  uid: A.value,
1349
1353
  svgRef: D(L),
1350
- pulsePathId: K.value,
1354
+ pulsePathId: Wt.value,
1351
1355
  pulsePathLength: Ke.value,
1352
1356
  pulseDur: Ge.value,
1353
1357
  pulseBegin: qe.value,
@@ -1379,37 +1383,37 @@ var st = ["innerHTML"], ct = {
1379
1383
  "loading",
1380
1384
  "isBar"
1381
1385
  ])) : y("", !0),
1382
- (w(!0), b(_, null, E(Y.value, (e, t) => (w(), b("g", null, [Q.value ? (w(), b("rect", {
1386
+ (w(!0), b(_, null, Ee(J.value, (e, t) => (w(), b("g", null, [Q.value ? (w(), b("rect", {
1383
1387
  key: 0,
1384
1388
  x: e.x - e.width / 2,
1385
- y: isNaN(e.absoluteValue > 0 ? e.y : Qt.value) ? 0 : e.absoluteValue > 0 ? e.y : Qt.value,
1389
+ y: isNaN(e.absoluteValue > 0 ? e.y : en.value) ? 0 : e.absoluteValue > 0 ? e.y : en.value,
1386
1390
  width: e.width,
1387
- height: isNaN(Math.abs(e.y - Qt.value)) ? 0 : Math.abs(e.y - Qt.value),
1391
+ height: isNaN(Math.abs(e.y - en.value)) ? 0 : Math.abs(e.y - en.value),
1388
1392
  fill: e.absoluteValue > 0 ? `url(#sparkline_bar_gradient_pos_${A.value})` : `url(#sparkline_bar_gradient_neg_${A.value})`,
1389
1393
  rx: P.value.style.bar.borderRadius
1390
- }, null, 8, It)) : y("", !0), P.value.style.verticalIndicator.show && (X.value && e.id === X.value.id || rn.value === t) ? (w(), b("line", {
1394
+ }, null, 8, It)) : y("", !0), P.value.style.verticalIndicator.show && (Y.value && e.id === Y.value.id || on.value === t) ? (w(), b("line", {
1391
1395
  key: 1,
1392
1396
  x1: e.x,
1393
1397
  x2: e.x,
1394
- y1: J.value.top - 6,
1395
- y2: J.value.bottom,
1398
+ y1: q.value.top - 6,
1399
+ y2: q.value.bottom,
1396
1400
  stroke: P.value.style.verticalIndicator.color || e.color,
1397
1401
  "stroke-width": P.value.style.verticalIndicator.strokeWidth,
1398
1402
  "stroke-linecap": "round",
1399
1403
  "stroke-dasharray": P.value.style.verticalIndicator.strokeDasharray || 0
1400
1404
  }, null, 8, Lt)) : y("", !0)]))), 256)),
1401
- Jt.value < 0 ? (w(), b("line", {
1405
+ Xt.value < 0 ? (w(), b("line", {
1402
1406
  key: 6,
1403
- x1: J.value.start,
1404
- x2: J.value.start + J.value.width,
1405
- y1: D(d)(Qt.value, J.value.bottom),
1406
- y2: D(d)(Qt.value, J.value.bottom),
1407
+ x1: q.value.start,
1408
+ x2: q.value.start + q.value.width,
1409
+ y1: D(d)(en.value, q.value.bottom),
1410
+ y2: D(d)(en.value, q.value.bottom),
1407
1411
  stroke: P.value.style.zeroLine.color,
1408
1412
  "stroke-dasharray": P.value.style.zeroLine.strokeWidth * 2,
1409
1413
  "stroke-width": P.value.style.zeroLine.strokeWidth,
1410
1414
  "stroke-linecap": "round"
1411
1415
  }, null, 8, Rt)) : y("", !0),
1412
- P.value.style.plot.show ? (w(!0), b(_, { key: 7 }, E(Y.value, (t, n) => (w(), b("g", null, [X.value && t.id === X.value.id || e.selectedIndex === n || D(I).length === 1 ? (w(), b("circle", {
1416
+ P.value.style.plot.show ? (w(!0), b(_, { key: 7 }, Ee(J.value, (t, n) => (w(), b("g", null, [Y.value && t.id === Y.value.id || e.selectedIndex === n || D(I).length === 1 ? (w(), b("circle", {
1413
1417
  key: 0,
1414
1418
  cx: t.x,
1415
1419
  cy: t.y,
@@ -1420,43 +1424,43 @@ var st = ["innerHTML"], ct = {
1420
1424
  }, null, 8, zt)) : y("", !0)]))), 256)) : y("", !0),
1421
1425
  e.showInfo && P.value.style.dataLabel.show ? (w(), b("text", {
1422
1426
  key: 8,
1423
- x: P.value.style.dataLabel.position === "left" ? 12 + P.value.style.dataLabel.offsetX : J.value.width + 12 + P.value.style.dataLabel.offsetX,
1424
- y: q.value.height / 2 + P.value.style.dataLabel.fontSize / 2.5 + P.value.style.dataLabel.offsetY,
1427
+ x: P.value.style.dataLabel.position === "left" ? 12 + P.value.style.dataLabel.offsetX : q.value.width + 12 + P.value.style.dataLabel.offsetX,
1428
+ y: K.value.height / 2 + P.value.style.dataLabel.fontSize / 2.5 + P.value.style.dataLabel.offsetY,
1425
1429
  "font-size": P.value.style.dataLabel.fontSize,
1426
1430
  "font-weight": P.value.style.dataLabel.bold ? "bold" : "normal",
1427
1431
  fill: P.value.style.dataLabel.color
1428
- }, Oe(X.value ? D(p)(P.value.style.dataLabel.formatter, X.value.absoluteValue, D(n)({
1432
+ }, Oe(Y.value ? D(p)(P.value.style.dataLabel.formatter, Y.value.absoluteValue, D(n)({
1429
1433
  p: P.value.style.dataLabel.prefix,
1430
- v: X.value.absoluteValue,
1434
+ v: Y.value.absoluteValue,
1431
1435
  s: P.value.style.dataLabel.suffix,
1432
1436
  r: P.value.style.dataLabel.roundingValue
1433
- }), { datapoint: X.value }) : D(p)(P.value.style.dataLabel.formatter, ln.value, D(n)({
1437
+ }), { datapoint: Y.value }) : D(p)(P.value.style.dataLabel.formatter, un.value, D(n)({
1434
1438
  p: P.value.style.dataLabel.prefix,
1435
- v: ln.value,
1439
+ v: un.value,
1436
1440
  s: P.value.style.dataLabel.suffix,
1437
1441
  r: P.value.style.dataLabel.roundingValue
1438
1442
  }))), 9, Bt)) : y("", !0),
1439
- (w(!0), b(_, null, E(Y.value, (e, t) => (w(), b("rect", {
1440
- x: e.x - (J.value.width / (en.value + 1) > q.value.padding ? q.value.padding : J.value.width / (en.value + 1)) / 2,
1441
- y: J.value.top - 6,
1442
- height: J.value.height + 6,
1443
- width: J.value.width / (en.value + 1) > q.value.padding ? q.value.padding : J.value.width / (en.value + 1),
1443
+ (w(!0), b(_, null, Ee(J.value, (e, t) => (w(), b("rect", {
1444
+ x: e.x - (q.value.width / (nn.value + 1) > K.value.padding ? K.value.padding : q.value.width / (nn.value + 1)) / 2,
1445
+ y: q.value.top - 6,
1446
+ height: q.value.height + 6,
1447
+ width: q.value.width / (nn.value + 1) > K.value.padding ? K.value.padding : q.value.width / (nn.value + 1),
1444
1448
  fill: "transparent",
1445
- onMouseenter: () => sn(e, t),
1446
- onMouseleave: () => cn(e, t),
1447
- onClick: () => un(e, t)
1449
+ onMouseenter: () => cn(e, t),
1450
+ onMouseleave: () => ln(e, t),
1451
+ onClick: () => dn(e, t)
1448
1452
  }, null, 40, Vt))), 256)),
1449
- Ee(r.$slots, "svg", { svg: q.value }, void 0, !0)
1450
- ], 44, pt)), r.$slots.hint ? (w(), b("div", Ht, [Ee(r.$slots, "hint", Ce(Se({
1453
+ E(r.$slots, "svg", { svg: K.value }, void 0, !0)
1454
+ ], 44, pt)), r.$slots.hint ? (w(), b("div", Ht, [E(r.$slots, "hint", Ce(Se({
1451
1455
  hint: P.value.a11y.translations.keyboardNavigation,
1452
- isVisible: _n.value
1456
+ isVisible: vn.value
1453
1457
  })), void 0, !0)])) : y("", !0)]),
1454
- X.value && P.value.style.tooltip.show ? (w(), ve(D(Ne), {
1458
+ Y.value && P.value.style.tooltip.show ? (w(), ve(D(Ne), {
1455
1459
  key: 2,
1456
- x: X.value.x,
1457
- y: X.value.y,
1458
- prevX: on.value.x,
1459
- prevY: on.value.y,
1460
+ x: Y.value.x,
1461
+ y: Y.value.y,
1462
+ prevX: X.value.x,
1463
+ prevY: X.value.y,
1460
1464
  offsetY: P.value.style.plot.radius * 3 + P.value.style.tooltip.offsetY,
1461
1465
  svgRef: D(L),
1462
1466
  background: P.value.style.tooltip.backgroundColor,
@@ -1467,12 +1471,12 @@ var st = ["innerHTML"], ct = {
1467
1471
  borderRadius: P.value.style.tooltip.borderRadius,
1468
1472
  backgroundOpacity: P.value.style.tooltip.backgroundOpacity
1469
1473
  }, {
1470
- default: je(() => [Ee(r.$slots, "tooltip", Ce(Se({ ...X.value })), () => [ye(Oe(X.value.period) + ": " + Oe(D(p)(P.value.style.dataLabel.formatter, X.value.absoluteValue, D(n)({
1474
+ default: je(() => [E(r.$slots, "tooltip", Ce(Se({ ...Y.value })), () => [ye(Oe(Y.value.period) + ": " + Oe(D(p)(P.value.style.dataLabel.formatter, Y.value.absoluteValue, D(n)({
1471
1475
  p: P.value.style.dataLabel.prefix,
1472
- v: X.value.absoluteValue,
1476
+ v: Y.value.absoluteValue,
1473
1477
  s: P.value.style.dataLabel.suffix,
1474
1478
  r: P.value.style.dataLabel.roundingValue
1475
- }), { datapoint: X.value })), 1)], !0)]),
1479
+ }), { datapoint: Y.value })), 1)], !0)]),
1476
1480
  _: 3
1477
1481
  }, 8, [
1478
1482
  "x",
@@ -1494,10 +1498,10 @@ var st = ["innerHTML"], ct = {
1494
1498
  ref_key: "source",
1495
1499
  ref: Ve,
1496
1500
  dir: "auto"
1497
- }, [Ee(r.$slots, "source", {}, void 0, !0)], 512)) : y("", !0),
1498
- Ee(r.$slots, "skeleton", {}, () => [D(F) ? (w(), ve(le, { key: 0 })) : y("", !0)], !0)
1501
+ }, [E(r.$slots, "source", {}, void 0, !0)], 512)) : y("", !0),
1502
+ E(r.$slots, "skeleton", {}, () => [D(F) ? (w(), ve(le, { key: 0 })) : y("", !0)], !0)
1499
1503
  ], 12, ut));
1500
1504
  }
1501
- }, [["__scopeId", "data-v-66022e99"]]);
1505
+ }, [["__scopeId", "data-v-274de18b"]]);
1502
1506
  //#endregion
1503
- export { lt as n, K as t };
1507
+ export { lt as n, Ut as t };