vue-data-ui 3.22.9 → 3.22.10

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 (204) hide show
  1. package/dist/{Arrow-DdymhUfY.js → Arrow-Ku6rQ87g.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Av7Uxq5V.js → BaseDraggableDialog-CdkCqtag.js} +2 -2
  3. package/dist/{BaseIcon-UdRAvP2h.js → BaseIcon-CDTIUIKV.js} +1 -1
  4. package/dist/{BaseLegendToggle-DWtet-Hh.js → BaseLegendToggle-BrQ2OlzI.js} +1 -1
  5. package/dist/{BaseZoomControls-BY2KLqs6.js → BaseZoomControls-CkEX0292.js} +2 -2
  6. package/dist/{ColorPicker-DR_ummtM.js → ColorPicker-C959ZIW9.js} +2 -2
  7. package/dist/{DataTable-BxpTMgfK.js → DataTable-ByZy5gt1.js} +2 -2
  8. package/dist/{Legend-ROt6ugzW.js → Legend-5VQGLnmx.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-B6EG_Sga.js → NonSvgPenAndPaper-Bd8OzTqw.js} +3 -3
  10. package/dist/{PackageVersion-D__dRVRA.js → PackageVersion-BoTvk0i5.js} +1 -1
  11. package/dist/{PenAndPaper-DsXi7GJ-.js → PenAndPaper-CLaZJl6K.js} +3 -3
  12. package/dist/{Shape-UpH0a4Ur.js → Shape-B5ksaGa1.js} +3 -3
  13. package/dist/{Slicer-CW_XPIKL.js → Slicer-WsWTQPKt.js} +21 -21
  14. package/dist/{SlicerPreview-CTz41lOu.js → SlicerPreview-3n516NyE.js} +214 -214
  15. package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-CbYYc-xb.js} +1 -1
  16. package/dist/{Title-CcNiYzEo.js → Title-Cr3jP7Qd.js} +1 -1
  17. package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CDbLl3TD.js} +1 -1
  18. package/dist/{UserOptions-trvJ26nz.js → UserOptions-BUQOnoPR.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-BbwhsRIr.js → dom-to-png-COPbGrdd.js} +1 -1
  89. package/dist/exposedLib-CZbtc2a6.js +25 -0
  90. package/dist/{img-DnP3eXuv.js → img-CNdXiUfZ.js} +1 -1
  91. package/dist/{labelUtils-DBEh078l.js → labelUtils-JaoYKi2N.js} +1 -1
  92. package/dist/{lib-JqW18y5I.js → lib-CnHx5WfV.js} +118 -107
  93. package/dist/{package-ByOT60IK.js → package-BRBLwZUc.js} +1 -1
  94. package/dist/{pdf-hj3gzrE7.js → pdf-CEMzBeuV.js} +1 -1
  95. package/dist/{render-common-D18VrP0h.js → render-common-DJXFRGhU.js} +10 -10
  96. package/dist/ssr/vue-ui-donut.js +1 -1
  97. package/dist/ssr/vue-ui-xy.js +1 -1
  98. package/dist/ssr.js +2 -2
  99. package/dist/types/utils.d.ts +40 -0
  100. package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-BUPt2iaP.js} +1 -1
  101. package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-D8NuRneO.js} +2 -2
  102. package/dist/{usePrinter-CqqHmnBI.js → usePrinter-B-X_Pub0.js} +2 -2
  103. package/dist/utils.js +26 -24
  104. package/dist/{vue-data-ui-ub3fCh6P.js → vue-data-ui-Bx_8d3b_.js} +68 -68
  105. package/dist/vue-data-ui.js +77 -77
  106. package/dist/vue-ui-3d-bar-CfUfbpSE.js +1825 -0
  107. package/dist/{vue-ui-accordion-CjAGqEJg.js → vue-ui-accordion-Oo3IsX3-.js} +3 -3
  108. package/dist/vue-ui-age-pyramid-DD-4y5Jd.js +1247 -0
  109. package/dist/{vue-ui-annotator-BIucnT0L.js → vue-ui-annotator-BvGE3lzE.js} +8 -8
  110. package/dist/vue-ui-bullet-DYOdbaO2.js +710 -0
  111. package/dist/vue-ui-bump-B8fJoxHF.js +1249 -0
  112. package/dist/{vue-ui-candlestick-DULUMU-Q.js → vue-ui-candlestick-BUP1JoNs.js} +287 -287
  113. package/dist/vue-ui-carousel-table-D-Bwhydt.js +455 -0
  114. package/dist/vue-ui-chestnut-C2VK2NEx.js +2042 -0
  115. package/dist/{vue-ui-chord-DL1M7cgL.js → vue-ui-chord-AA-QjUQI.js} +42 -42
  116. package/dist/{vue-ui-circle-pack-C1Pgq6si.js → vue-ui-circle-pack-CdBFGYOK.js} +37 -37
  117. package/dist/{vue-ui-cursor-d2uLAKTQ.js → vue-ui-cursor-Cm_J_5Gk.js} +5 -5
  118. package/dist/{vue-ui-dag-CVh9FpZr.js → vue-ui-dag-CgRph4-n.js} +32 -32
  119. package/dist/{vue-ui-dashboard-BH0N3ebj.js → vue-ui-dashboard-BuPw5QjB.js} +69 -69
  120. package/dist/{vue-ui-digits-R6wi3J-Y.js → vue-ui-digits-ClrukmcB.js} +3 -3
  121. package/dist/vue-ui-donut-Bc-EPZvu.js +2419 -0
  122. package/dist/{vue-ui-donut-BWDeVzLc.js → vue-ui-donut-DtQCrMKL.js} +207 -207
  123. package/dist/vue-ui-donut-evolution-DHkiY-BD.js +1522 -0
  124. package/dist/vue-ui-dumbbell-BlHEH4Mw.js +1564 -0
  125. package/dist/{vue-ui-flow-CNczKwTh.js → vue-ui-flow-PjwAW2tY.js} +71 -71
  126. package/dist/vue-ui-funnel-DojI09FV.js +782 -0
  127. package/dist/{vue-ui-galaxy-v3cTbUiM.js → vue-ui-galaxy-txYIK_LG.js} +276 -276
  128. package/dist/{vue-ui-gauge-DxvMjfoc.js → vue-ui-gauge-CoL0OzSd.js} +178 -178
  129. package/dist/{vue-ui-geo-BgmLkZZ2.js → vue-ui-geo-yuL-_sqF.js} +20 -20
  130. package/dist/{vue-ui-gizmo-n1kmcGeE.js → vue-ui-gizmo-CbC5zV3K.js} +9 -9
  131. package/dist/{vue-ui-heatmap-dSTh8ah_.js → vue-ui-heatmap-CwqsZIsR.js} +331 -331
  132. package/dist/{vue-ui-history-plot-N8BqMFVU.js → vue-ui-history-plot-CuWssH-D.js} +414 -414
  133. package/dist/vue-ui-horizontal-bar-Dyje3GND.js +1689 -0
  134. package/dist/{vue-ui-kpi-BKrUk9o8.js → vue-ui-kpi-BdYenScF.js} +3 -3
  135. package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-BbwE3vBT.js} +2 -2
  136. package/dist/vue-ui-molecule-BBh31vmd.js +931 -0
  137. package/dist/{vue-ui-mood-radar-CpBRHQo_.js → vue-ui-mood-radar-B_6GFlaR.js} +261 -261
  138. package/dist/vue-ui-nested-donuts-BWq-At5Y.js +1493 -0
  139. package/dist/vue-ui-onion-BwGbSE-6.js +1200 -0
  140. package/dist/vue-ui-parallel-coordinate-plot-Bh9hNoqf.js +1416 -0
  141. package/dist/vue-ui-quadrant-B72Y4Zuw.js +1984 -0
  142. package/dist/{vue-ui-quick-chart-BO98uEPl.js → vue-ui-quick-chart-B3LF2ViM.js} +108 -108
  143. package/dist/vue-ui-radar-4v_E8oGX.js +1287 -0
  144. package/dist/{vue-ui-rating-CN-ZiAES.js → vue-ui-rating-CzLGCFWK.js} +101 -101
  145. package/dist/vue-ui-relation-circle-B_8dyIv2.js +924 -0
  146. package/dist/vue-ui-ridgeline-BArLhskj.js +1628 -0
  147. package/dist/vue-ui-rings-Csn5BgLk.js +1252 -0
  148. package/dist/vue-ui-scatter-BBaOx94M.js +2422 -0
  149. package/dist/{vue-ui-skeleton-DC2bZ0nk.js → vue-ui-skeleton-KeIPGp9U.js} +99 -99
  150. package/dist/{vue-ui-smiley-Dyyu1je3.js → vue-ui-smiley-C1mYDh4R.js} +17 -17
  151. package/dist/vue-ui-spark-trend-EqCqmHmU.js +443 -0
  152. package/dist/{vue-ui-sparkbar-DhIo1qsW.js → vue-ui-sparkbar-BPh45vBP.js} +66 -66
  153. package/dist/{vue-ui-sparkgauge-D0Fo3Hts.js → vue-ui-sparkgauge-CtouPcyW.js} +65 -65
  154. package/dist/vue-ui-sparkhistogram-D4sI0DHN.js +576 -0
  155. package/dist/{vue-ui-sparkline-ApivEMBP.js → vue-ui-sparkline-BDFZ78Fz.js} +51 -51
  156. package/dist/vue-ui-sparkstackbar-CbTXIfxm.js +674 -0
  157. package/dist/{vue-ui-stackbar-Ds4hXATH.js → vue-ui-stackbar-nMXIY9x8.js} +108 -108
  158. package/dist/vue-ui-stackline-CzfXl5ah.js +2425 -0
  159. package/dist/{vue-ui-strip-plot-C3ZHf4bD.js → vue-ui-strip-plot-BCf5nthl.js} +65 -65
  160. package/dist/vue-ui-table-BAKkFXki.js +1338 -0
  161. package/dist/{vue-ui-table-heatmap-CNXNXXBU.js → vue-ui-table-heatmap-CUMxqHKK.js} +15 -15
  162. package/dist/{vue-ui-table-sparkline-B9JJ4pFF.js → vue-ui-table-sparkline-BVTm16fd.js} +20 -20
  163. package/dist/vue-ui-thermometer-CGeEW1KV.js +770 -0
  164. package/dist/{vue-ui-timer-5NAWw5BN.js → vue-ui-timer-Bz7EnsM1.js} +5 -5
  165. package/dist/{vue-ui-tiremarks-Caz_g1c5.js → vue-ui-tiremarks-IOqtk_Rr.js} +17 -17
  166. package/dist/{vue-ui-treemap-F9upPyOI.js → vue-ui-treemap-JxNNtb7v.js} +232 -232
  167. package/dist/vue-ui-waffle-D34mcJWi.js +1368 -0
  168. package/dist/{vue-ui-wheel-DD6Q39BA.js → vue-ui-wheel-B_qEhyvk.js} +44 -44
  169. package/dist/{vue-ui-word-cloud-BZLT5svo.js → vue-ui-word-cloud-TtObhd91.js} +32 -32
  170. package/dist/{vue-ui-world-DbEJN5NA.js → vue-ui-world-R9o00A6c.js} +210 -210
  171. package/dist/{vue-ui-xy-BYMAITk_.js → vue-ui-xy-CUt6sU1s.js} +766 -766
  172. package/dist/{vue-ui-xy-Cn9Q8YPr.js → vue-ui-xy-Do34-UbE.js} +134 -134
  173. package/dist/vue-ui-xy-canvas-C6eRRH--.js +1790 -0
  174. package/package.json +1 -1
  175. package/dist/exposedLib-VXFp3Z2c.js +0 -19
  176. package/dist/vue-ui-3d-bar-taPI41_I.js +0 -1825
  177. package/dist/vue-ui-age-pyramid-jvQZbF8E.js +0 -1247
  178. package/dist/vue-ui-bullet-CIATzlsk.js +0 -710
  179. package/dist/vue-ui-bump-D8MxltQE.js +0 -1249
  180. package/dist/vue-ui-carousel-table-BSmdexG7.js +0 -455
  181. package/dist/vue-ui-chestnut-BIh1nQ7q.js +0 -2042
  182. package/dist/vue-ui-donut-BoZdciGh.js +0 -2419
  183. package/dist/vue-ui-donut-evolution-CpC9EMro.js +0 -1522
  184. package/dist/vue-ui-dumbbell-DGA5Bfnl.js +0 -1564
  185. package/dist/vue-ui-funnel-CaD2tZCT.js +0 -782
  186. package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +0 -1689
  187. package/dist/vue-ui-molecule--kK1JfnP.js +0 -931
  188. package/dist/vue-ui-nested-donuts-8Ehwcuns.js +0 -1493
  189. package/dist/vue-ui-onion-Cf6JiYTH.js +0 -1200
  190. package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +0 -1416
  191. package/dist/vue-ui-quadrant-CxU0jiOm.js +0 -1984
  192. package/dist/vue-ui-radar-eH2Qih4_.js +0 -1287
  193. package/dist/vue-ui-relation-circle-BIcP-aAt.js +0 -924
  194. package/dist/vue-ui-ridgeline-ChXHzEJw.js +0 -1628
  195. package/dist/vue-ui-rings-J990vNbX.js +0 -1252
  196. package/dist/vue-ui-scatter-BeJB0EKg.js +0 -2422
  197. package/dist/vue-ui-spark-trend-CpDX85H3.js +0 -443
  198. package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +0 -576
  199. package/dist/vue-ui-sparkstackbar-DsKQJx_n.js +0 -674
  200. package/dist/vue-ui-stackline-DJbcVvmN.js +0 -2425
  201. package/dist/vue-ui-table-uudidrYt.js +0 -1338
  202. package/dist/vue-ui-thermometer-Bvw3oQb3.js +0 -770
  203. package/dist/vue-ui-waffle-Bk9AsrPp.js +0 -1368
  204. package/dist/vue-ui-xy-canvas-Dcm2ftwm.js +0 -1790
@@ -1,9 +1,9 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, B as n, D as r, F as i, G as a, J as o, Kt as s, Lt as c, M as l, O as u, P as d, Rt as f, Tt as p, V as ee, b as te, dt as ne, f as re, i as ie, it as ae, j as oe, kt as se, l as ce, nt as le, t as ue, vt as de, z as fe, zt as m } from "./lib-JqW18y5I.js";
2
+ import { At as t, B as n, Bt as r, Et as i, F as a, H as o, I as s, K as c, M as l, N as u, O as d, Rt as ee, V as f, Y as p, at as te, et as ne, ft as re, i as ie, k as ae, p as oe, qt as se, rt as ce, t as le, u as ue, x as de, yt as fe, zt as m } from "./lib-CnHx5WfV.js";
3
3
  import { t as pe } from "./useTimeLabels-BmBRv27Y.js";
4
4
  import { t as me } from "./useConfig-DYM3f6EI.js";
5
5
  import { n as h, t as he } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as ge } from "./useNestedProp-DIuuzG1r.js";
6
+ import { t as ge } from "./useNestedProp-D8NuRneO.js";
7
7
  import { t as _e } from "./useThemeCheck-C43Tcqmk.js";
8
8
  import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
9
9
  import { c as ye } from "./canvas-lib-BOP_HS11.js";
@@ -340,18 +340,18 @@ function st(e, t, n, r, i, a) {
340
340
  function ct(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
- let c = s > 1 ? o / (s - 1) : 0, l = e.getPointAtLength(t), u = l.x, d = l.x, f = l.y, p = l.y, ee = `M ${R(L(l.x, i))} ${R(L(l.y, i))}`;
343
+ let c = s > 1 ? o / (s - 1) : 0, l = e.getPointAtLength(t), u = l.x, d = l.x, ee = l.y, f = l.y, p = `M ${R(L(l.x, i))} ${R(L(l.y, i))}`;
344
344
  for (let n = 1; n < s; n += 1) {
345
345
  let r = t + n * c, a = e.getPointAtLength(r);
346
- a.x < u && (u = a.x), a.x > d && (d = a.x), a.y < f && (f = a.y), a.y > p && (p = a.y), ee += ` L ${R(L(a.x, i))} ${R(L(a.y, i))}`;
346
+ a.x < u && (u = a.x), a.x > d && (d = a.x), a.y < ee && (ee = a.y), a.y > f && (f = a.y), p += ` L ${R(L(a.x, i))} ${R(L(a.y, i))}`;
347
347
  }
348
348
  return {
349
- pathData: ee,
349
+ pathData: p,
350
350
  bounds: {
351
351
  minX: u,
352
352
  maxX: d,
353
- minY: f,
354
- maxY: p
353
+ minY: ee,
354
+ maxY: f
355
355
  }
356
356
  };
357
357
  }
@@ -445,11 +445,11 @@ function mt(e, t = null, n = {}) {
445
445
  if ((n.returnMode ?? "string") !== "string") throw Error("SvgPathGradientAsync: only returnMode=\"string\" is supported for the async version.");
446
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
447
  a = rt(e);
448
- let f = a.pathElement, p = f.getTotalLength(), ee = i === null ? N(t, n.colorReferenceElement) : [];
449
- if (i === null && (!(p > 0) || ee.length === 1)) {
448
+ let ee = a.pathElement, f = ee.getTotalLength(), p = i === null ? N(t, n.colorReferenceElement) : [];
449
+ if (i === null && (!(f > 0) || p.length === 1)) {
450
450
  let t = pt([ft({
451
451
  pathData: e,
452
- stroke: U(ee[0]),
452
+ stroke: U(p[0]),
453
453
  segmentAttributeMap: c
454
454
  })], l);
455
455
  it(a), r(t);
@@ -461,25 +461,25 @@ function mt(e, t = null, n = {}) {
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
463
  let ne = i === null ? null : N(n.temperatureColors, n.colorReferenceElement), re = i === null ? (() => {
464
- let e = lt(ee), t = Array(e.length);
464
+ let e = lt(p), 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
- })() : [], ie = at(p, d, n.maxSegmentLength), ae = ot(p, n.segments, ie), oe = p / ae, se = typeof n.overlap == "number" && n.overlap >= 0 ? n.overlap : d * .5, ce = oe * .45;
470
+ })() : [], ie = at(f, d, n.maxSegmentLength), ae = ot(f, n.segments, ie), oe = f / ae, se = typeof n.overlap == "number" && n.overlap >= 0 ? n.overlap : d * .5, ce = oe * .45;
471
471
  se > ce && (se = ce);
472
472
  let le = typeof n.samplePointLimitPerSegment == "number" && n.samplePointLimitPerSegment > 10 ? n.samplePointLimitPerSegment : 250, ue = ut(c), de = [], fe = i === null ? null : [], m = i === null ? null : [], pe = 0, me = i === null ? re.length - 2 : 0, h = 0, he = () => {
473
473
  let e = performance.now(), t = typeof n.frameBudgetMs == "number" ? n.frameBudgetMs : 8;
474
474
  for (; h < ae && performance.now() - e < t;) {
475
475
  let e = h * oe, t = (h + 1) * oe, n = e, r = t;
476
- if (h !== 0 && (n = e - se), h !== ae - 1 && (r = t + se), n = I(n, 0, p), r = I(r, 0, p), r > n) if (i !== null) {
477
- let e = ct(f, n, r, s, o, le);
476
+ if (h !== 0 && (n = e - se), h !== ae - 1 && (r = t + se), n = I(n, 0, f), r = I(r, 0, f), r > n) if (i !== null) {
477
+ let e = ct(ee, n, r, s, o, le);
478
478
  fe.push(e.pathData), m.push(e.bounds);
479
479
  } else {
480
- let e = (n + r) * .5 / p;
480
+ let e = (n + r) * .5 / f;
481
481
  for (; pe < me && e > re[pe + 1].position;) pe += 1;
482
- let t = z(re, e, te, pe), i = st(f, n, r, s, o, le);
482
+ let t = z(re, e, te, pe), i = st(ee, n, r, s, o, le);
483
483
  de.push(dt(i, t, ue));
484
484
  }
485
485
  h += 1;
@@ -695,17 +695,17 @@ var ht = ["innerHTML"], gt = {
695
695
  },
696
696
  emits: ["hoverIndex", "selectDatapoint"],
697
697
  setup(e, { emit: ve }) {
698
- let Be = ke(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), Ve = ke(() => import("./SparkTooltip-BTLN-Kex.js")), { vue_ui_sparkline: He } = me(), { isThemeValid: Ue, warnInvalidTheme: We } = _e(), Ge = we(), O = e, Ke = _(() => Array.isArray(O.dataset) && O.dataset.length > 0), k = w(a()), A = w(null), Je = w(null), Ye = w(null), j = w(null), M = w(null), N = w(L());
698
+ let Be = ke(() => import("./PackageVersion-BoTvk0i5.js").then((e) => e.t)), Ve = ke(() => import("./SparkTooltip-CbYYc-xb.js")), { vue_ui_sparkline: He } = me(), { isThemeValid: Ue, warnInvalidTheme: We } = _e(), Ge = we(), O = e, Ke = _(() => Array.isArray(O.dataset) && O.dataset.length > 0), k = w(c()), A = w(null), Je = w(null), Ye = w(null), j = w(null), M = w(null), N = w(L());
699
699
  function Xe(e) {
700
700
  return O.config?.skeletonDataset && Array.isArray(O.config.skeletonDataset) ? O.config.skeletonDataset.map((e) => ({
701
701
  period: "-",
702
702
  value: e
703
- })) : le(e).map((e) => ({
703
+ })) : ce(e).map((e) => ({
704
704
  period: "-",
705
705
  value: e
706
706
  }));
707
707
  }
708
- let Ze = _(() => s({
708
+ let Ze = _(() => se({
709
709
  defaultConfig: {
710
710
  gradientPath: { show: !1 },
711
711
  temperatureColors: { show: !1 },
@@ -737,7 +737,7 @@ var ht = ["innerHTML"], gt = {
737
737
  });
738
738
  },
739
739
  skeletonDataset: Xe(12),
740
- skeletonConfig: s({
740
+ skeletonConfig: se({
741
741
  defaultConfig: N.value,
742
742
  userConfig: Ze.value
743
743
  })
@@ -838,7 +838,7 @@ var ht = ["innerHTML"], gt = {
838
838
  fadeIn: .5,
839
839
  fadeOut: .2
840
840
  };
841
- }), z = _(() => p({
841
+ }), z = _(() => i({
842
842
  data: F.value,
843
843
  threshold: N.value.downsample.threshold
844
844
  }));
@@ -849,7 +849,7 @@ var ht = ["innerHTML"], gt = {
849
849
  }), D(() => O.config, (e) => {
850
850
  P.value || (N.value = L()), Wt(), K.value.chartWidth = N.value.style.chartWidth;
851
851
  }, { deep: !0 }), D(() => O.dataset, (e) => {
852
- Array.isArray(e) && e.length > 0 && (Qe.value = !1), B.value = p({
852
+ Array.isArray(e) && e.length > 0 && (Qe.value = !1), B.value = i({
853
853
  data: F.value.map((e) => ({
854
854
  ...e,
855
855
  value: [void 0].includes(e.value) ? null : e.value
@@ -859,7 +859,7 @@ var ht = ["innerHTML"], gt = {
859
859
  }, { deep: !0 });
860
860
  let B = w(V());
861
861
  function V() {
862
- return p({
862
+ return i({
863
863
  data: F.value.map((e) => N.value.style.animation.show && F.value.length > 1 ? {
864
864
  ...e,
865
865
  value: null
@@ -919,24 +919,24 @@ var ht = ["innerHTML"], gt = {
919
919
  }
920
920
  let Ut = _(() => !!N.value.debug);
921
921
  function Wt() {
922
- if (se(O.dataset) ? (t({
922
+ if (t(O.dataset) ? (ne({
923
923
  componentName: "VueUiSparkline",
924
924
  type: "dataset",
925
925
  debug: Ut.value
926
- }), Qe.value = !0) : O.dataset.forEach((e, n) => {
927
- ne({
926
+ }), Qe.value = !0) : O.dataset.forEach((e, t) => {
927
+ re({
928
928
  datasetObject: e,
929
929
  requiredAttributes: ["period", "value"]
930
930
  }).forEach((e) => {
931
- t({
931
+ ne({
932
932
  componentName: "VueUiSparkline",
933
933
  type: "datasetSerieAttribute",
934
934
  property: e,
935
- index: n,
935
+ index: t,
936
936
  debug: Ut.value
937
937
  });
938
938
  });
939
- }), se(O.dataset) || (Qe.value = N.value.loading), N.value.responsive) {
939
+ }), t(O.dataset) || (Qe.value = N.value.loading), N.value.responsive) {
940
940
  let e = ye(() => {
941
941
  let { width: e, height: t } = be({
942
942
  chart: A.value,
@@ -1011,18 +1011,18 @@ var ht = ["innerHTML"], gt = {
1011
1011
  NaN,
1012
1012
  Infinity,
1013
1013
  -Infinity
1014
- ].includes(e.value) ? 0 : e.value, r = q.value.width / Qt.value;
1014
+ ].includes(e.value) ? 0 : e.value, i = q.value.width / Qt.value;
1015
1015
  return {
1016
1016
  value: e.value,
1017
1017
  absoluteValue: n,
1018
1018
  period: $t.value && $t.value[t] && $t.value[t].text ? $t.value[t].text : e.period,
1019
1019
  plotValue: n + Jt.value,
1020
1020
  toMax: Zt(n + Jt.value),
1021
- x: q.value.start + t * r,
1021
+ x: q.value.start + t * i,
1022
1022
  y: q.value.bottom - q.value.height * Zt(n + Jt.value),
1023
1023
  id: `plot_${k.value}_${t}`,
1024
- color: Q.value ? N.value.style.bar.color : N.value.style.area.useGradient ? m(N.value.style.line.color, .05 * (1 - t / Qt.value)) : N.value.style.line.color,
1025
- width: r
1024
+ color: Q.value ? N.value.style.bar.color : N.value.style.area.useGradient ? r(N.value.style.line.color, .05 * (1 - t / Qt.value)) : N.value.style.line.color,
1025
+ width: i
1026
1026
  };
1027
1027
  })), tn = _(() => O.selectedIndex !== void 0 && O.selectedIndex !== null && O.selectedIndex >= 0 && O.selectedIndex < J.value.length ? O.selectedIndex : M.value !== void 0 && M.value !== null && M.value >= 0 && M.value < J.value.length ? M.value : null), Y = w(void 0), X = w(void 0);
1028
1028
  function nn(e, t) {
@@ -1044,8 +1044,8 @@ var ht = ["innerHTML"], gt = {
1044
1044
  latest: J.value[J.value.length - 1] ? J.value[J.value.length - 1].absoluteValue : 0,
1045
1045
  sum: t,
1046
1046
  average: t / J.value.length,
1047
- median: re(e),
1048
- trend: ce(J.value.map(({ x: e, y: t, absoluteValue: n }) => ({
1047
+ median: oe(e),
1048
+ trend: ue(J.value.map(({ x: e, y: t, absoluteValue: n }) => ({
1049
1049
  x: e,
1050
1050
  y: t,
1051
1051
  value: n
@@ -1095,14 +1095,14 @@ var ht = ["innerHTML"], gt = {
1095
1095
  function mn(e, t) {
1096
1096
  return dn(e, t) ? N.value.style.plot.stroke : N.value.style.backgroundColor;
1097
1097
  }
1098
- let hn = _(() => cn.value ? J.value : J.value.filter((e) => e.value !== null)), gn = _(() => J.value.filter((e) => e.value !== null)), _n = _(() => gn.value.length > 1), vn = _(() => Q.value || !_n.value ? "" : cn.value ? d(J.value) : l(hn.value)), yn = _(() => Q.value || !_n.value ? "" : cn.value ? n(J.value) : fe(hn.value)), bn = _(() => Q.value || !sn.value || !_n.value ? [] : i(hn.value, N.value.style.line.dashIndices)), xn = _(() => Q.value || !sn.value || !_n.value ? [] : ee(hn.value, N.value.style.line.dashIndices)), Sn = _(() => Q.value || !N.value.style.area.show || !_n.value ? [] : N.value.style.line.smooth ? oe(hn.value, q.value.bottom, cn.value).filter(Boolean) : (cn.value ? u(J.value, q.value.bottom) : r(hn.value, q.value.bottom)).split(";").filter(Boolean).map((e) => `M${e}Z`)), Cn = _(() => Q.value || !N.value.gradientPath.show || N.value.temperatureColors.show ? "" : `M ${(N.value.style.line.smooth ? vn.value : yn.value) || "0,0"}`), wn = _(() => {
1098
+ let hn = _(() => cn.value ? J.value : J.value.filter((e) => e.value !== null)), gn = _(() => J.value.filter((e) => e.value !== null)), _n = _(() => gn.value.length > 1), vn = _(() => Q.value || !_n.value ? "" : cn.value ? a(J.value) : u(hn.value)), yn = _(() => Q.value || !_n.value ? "" : cn.value ? f(J.value) : n(hn.value)), bn = _(() => Q.value || !sn.value || !_n.value ? [] : s(hn.value, N.value.style.line.dashIndices)), xn = _(() => Q.value || !sn.value || !_n.value ? [] : o(hn.value, N.value.style.line.dashIndices)), Sn = _(() => Q.value || !N.value.style.area.show || !_n.value ? [] : N.value.style.line.smooth ? l(hn.value, q.value.bottom, cn.value).filter(Boolean) : (cn.value ? ae(J.value, q.value.bottom) : d(hn.value, q.value.bottom)).split(";").filter(Boolean).map((e) => `M${e}Z`)), Cn = _(() => Q.value || !N.value.gradientPath.show || N.value.temperatureColors.show ? "" : `M ${(N.value.style.line.smooth ? vn.value : yn.value) || "0,0"}`), wn = _(() => {
1099
1099
  if (!N.value.temperatureColors.show) return null;
1100
1100
  let e = N.value.temperatureColors.colors;
1101
- return !Array.isArray(e) || !e.length ? null : e.map((e) => te(e));
1101
+ return !Array.isArray(e) || !e.length ? null : e.map((e) => de(e));
1102
1102
  }), $ = _(() => {
1103
1103
  if (!N.value.temperatureColors.show) return null;
1104
1104
  let e = N.value.temperatureColors.colors;
1105
- return !Array.isArray(e) || !e.length ? null : e.map((e) => te(e));
1105
+ return !Array.isArray(e) || !e.length ? null : e.map((e) => de(e));
1106
1106
  });
1107
1107
  function Tn(e) {
1108
1108
  if (!Number.isFinite(e?.y)) return 0;
@@ -1111,7 +1111,7 @@ var ht = ["innerHTML"], gt = {
1111
1111
  }
1112
1112
  function En(e) {
1113
1113
  let t = wn.value;
1114
- return !Array.isArray(t) || !t.length ? e.color : de({
1114
+ return !Array.isArray(t) || !t.length ? e.color : fe({
1115
1115
  colors: t,
1116
1116
  ratio: Tn(e)
1117
1117
  });
@@ -1215,7 +1215,7 @@ var ht = ["innerHTML"], gt = {
1215
1215
  b("div", bt, [(C(), y("svg", {
1216
1216
  ref_key: "svgRef",
1217
1217
  ref: I,
1218
- xmlns: E(ue),
1218
+ xmlns: E(le),
1219
1219
  viewBox: `0 0 ${K.value.width} ${K.value.height}`,
1220
1220
  style: S(`background:${N.value.style.backgroundColor};overflow:visible;direction:ltr`),
1221
1221
  tabindex: "0",
@@ -1244,11 +1244,11 @@ var ht = ["innerHTML"], gt = {
1244
1244
  id: `sparkline_gradient_${k.value}`,
1245
1245
  stops: [[
1246
1246
  "0%",
1247
- E(f)(E(m)(N.value.style.area.color, .05), N.value.style.area.opacity),
1247
+ E(m)(E(r)(N.value.style.area.color, .05), N.value.style.area.opacity),
1248
1248
  1
1249
1249
  ], [
1250
1250
  "100%",
1251
- E(f)(N.value.style.area.color, N.value.style.area.opacity),
1251
+ E(m)(N.value.style.area.color, N.value.style.area.opacity),
1252
1252
  1
1253
1253
  ]]
1254
1254
  }, null, 8, ["id", "stops"]),
@@ -1263,7 +1263,7 @@ var ht = ["innerHTML"], gt = {
1263
1263
  1
1264
1264
  ], [
1265
1265
  "100%",
1266
- E(m)(N.value.style.bar.color, .05),
1266
+ E(r)(N.value.style.bar.color, .05),
1267
1267
  1
1268
1268
  ]]
1269
1269
  }, null, 8, ["id", "stops"]),
@@ -1274,7 +1274,7 @@ var ht = ["innerHTML"], gt = {
1274
1274
  id: `sparkline_bar_gradient_neg_${k.value}`,
1275
1275
  stops: [[
1276
1276
  "0%",
1277
- E(m)(N.value.style.bar.color, .05),
1277
+ E(r)(N.value.style.bar.color, .05),
1278
1278
  1
1279
1279
  ], [
1280
1280
  "100%",
@@ -1305,7 +1305,7 @@ var ht = ["innerHTML"], gt = {
1305
1305
  }, [(C(!0), y(g, null, T($.value, (e, t) => (C(), y("stop", {
1306
1306
  key: `temperature_grad_stop_${t}_${k.value}`,
1307
1307
  "stop-color": e,
1308
- offset: $.value.length === 1 ? "0%" : E(c)(t, $.value.length)
1308
+ offset: $.value.length === 1 ? "0%" : E(ee)(t, $.value.length)
1309
1309
  }, null, 8, Tt))), 128))], 8, wt)) : v("", !0)
1310
1310
  ]),
1311
1311
  N.value.style.area.show && !Q.value && Sn.value.length ? (C(), y("g", Et, [(C(!0), y(g, null, T(Sn.value, (e, t) => (C(), y("path", {
@@ -1313,7 +1313,7 @@ var ht = ["innerHTML"], gt = {
1313
1313
  class: "vue-ui-sparkline-area",
1314
1314
  "data-cy": N.value.style.line.smooth ? "sparkline-smooth-area" : "sparkline-angle-area",
1315
1315
  d: e,
1316
- fill: N.value.style.area.useGradient ? `url(#sparkline_gradient_${k.value})` : E(f)(N.value.style.area.color, N.value.style.area.opacity),
1316
+ fill: N.value.style.area.useGradient ? `url(#sparkline_gradient_${k.value})` : E(m)(N.value.style.area.color, N.value.style.area.opacity),
1317
1317
  "stroke-linecap": "round",
1318
1318
  "stroke-linejoin": "round",
1319
1319
  style: S({ transition: E(P) ? void 0 : "all 0.2s" })
@@ -1453,8 +1453,8 @@ var ht = ["innerHTML"], gt = {
1453
1453
  key: 6,
1454
1454
  x1: q.value.start,
1455
1455
  x2: q.value.start + q.value.width,
1456
- y1: E(ae)(Xt.value, q.value.bottom),
1457
- y2: E(ae)(Xt.value, q.value.bottom),
1456
+ y1: E(te)(Xt.value, q.value.bottom),
1457
+ y2: E(te)(Xt.value, q.value.bottom),
1458
1458
  stroke: N.value.style.zeroLine.color,
1459
1459
  "stroke-dasharray": N.value.style.zeroLine.strokeWidth * 2,
1460
1460
  "stroke-width": N.value.style.zeroLine.strokeWidth,
@@ -1476,12 +1476,12 @@ var ht = ["innerHTML"], gt = {
1476
1476
  "font-size": N.value.style.dataLabel.fontSize,
1477
1477
  "font-weight": N.value.style.dataLabel.bold ? "bold" : "normal",
1478
1478
  fill: N.value.style.dataLabel.color
1479
- }, Ie(Y.value ? E(ie)(N.value.style.dataLabel.formatter, Y.value.absoluteValue, E(o)({
1479
+ }, Ie(Y.value ? E(ie)(N.value.style.dataLabel.formatter, Y.value.absoluteValue, E(p)({
1480
1480
  p: N.value.style.dataLabel.prefix,
1481
1481
  v: Y.value.absoluteValue,
1482
1482
  s: N.value.style.dataLabel.suffix,
1483
1483
  r: N.value.style.dataLabel.roundingValue
1484
- }), { datapoint: Y.value }) : E(ie)(N.value.style.dataLabel.formatter, an.value, E(o)({
1484
+ }), { datapoint: Y.value }) : E(ie)(N.value.style.dataLabel.formatter, an.value, E(p)({
1485
1485
  p: N.value.style.dataLabel.prefix,
1486
1486
  v: an.value,
1487
1487
  s: N.value.style.dataLabel.suffix,
@@ -1524,7 +1524,7 @@ var ht = ["innerHTML"], gt = {
1524
1524
  borderRadius: N.value.style.tooltip.borderRadius,
1525
1525
  backgroundOpacity: N.value.style.tooltip.backgroundOpacity
1526
1526
  }, {
1527
- default: ze(() => [Pe(t.$slots, "tooltip", je(Ae({ ...Y.value })), () => [De(Ie(Y.value.period) + ": " + Ie(E(ie)(N.value.style.dataLabel.formatter, Y.value.absoluteValue, E(o)({
1527
+ default: ze(() => [Pe(t.$slots, "tooltip", je(Ae({ ...Y.value })), () => [De(Ie(Y.value.period) + ": " + Ie(E(ie)(N.value.style.dataLabel.formatter, Y.value.absoluteValue, E(p)({
1528
1528
  p: N.value.style.dataLabel.prefix,
1529
1529
  v: Y.value.absoluteValue,
1530
1530
  s: N.value.style.dataLabel.suffix,