vue-data-ui 3.22.9 → 3.22.11

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 (216) hide show
  1. package/dist/{Arrow-DdymhUfY.js → Arrow-DKx74WtM.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Av7Uxq5V.js → BaseDraggableDialog-3n8udWmh.js} +2 -2
  3. package/dist/{BaseIcon-UdRAvP2h.js → BaseIcon-CP5RWnqt.js} +1 -1
  4. package/dist/{BaseLegendToggle-DWtet-Hh.js → BaseLegendToggle-DsWphmIb.js} +1 -1
  5. package/dist/{BaseZoomControls-BY2KLqs6.js → BaseZoomControls-C9_ygNN4.js} +2 -2
  6. package/dist/{ColorPicker-DR_ummtM.js → ColorPicker-3N_HVgXs.js} +2 -2
  7. package/dist/{DataTable-BxpTMgfK.js → DataTable-DzPEVvSo.js} +2 -2
  8. package/dist/{Legend-ROt6ugzW.js → Legend-C0xAnJdO.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-B6EG_Sga.js → NonSvgPenAndPaper-B_mE5UbR.js} +3 -3
  10. package/dist/{PackageVersion-D__dRVRA.js → PackageVersion-1MNr72Bz.js} +1 -1
  11. package/dist/{PenAndPaper-DsXi7GJ-.js → PenAndPaper-CSMVXpg2.js} +3 -3
  12. package/dist/{Shape-UpH0a4Ur.js → Shape-BfnXr1nJ.js} +3 -3
  13. package/dist/Slicer-C6qNUmZ4.js +1149 -0
  14. package/dist/{SlicerPreview-CTz41lOu.js → SlicerPreview-BIdvqU32.js} +554 -553
  15. package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-uoUiL_P8.js} +1 -1
  16. package/dist/{Title-CcNiYzEo.js → Title-BuPs74IB.js} +1 -1
  17. package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CA1rtSyl.js} +1 -1
  18. package/dist/{UserOptions-trvJ26nz.js → UserOptions-B69xBEVP.js} +6 -5
  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-BdAFKZQg.js} +1 -1
  89. package/dist/exposedLib-Ciw6TGtP.js +25 -0
  90. package/dist/{geoProjections-BbN7z57k.js → geoProjections-BCP_PoiB.js} +94 -94
  91. package/dist/{img-DnP3eXuv.js → img-Bikk1dGb.js} +1 -1
  92. package/dist/{labelUtils-DBEh078l.js → labelUtils-BUhssos9.js} +1 -1
  93. package/dist/{lib-JqW18y5I.js → lib-CFm_J26b.js} +121 -110
  94. package/dist/{package-ByOT60IK.js → package-Bf-Nk9qU.js} +1 -1
  95. package/dist/{pdf-hj3gzrE7.js → pdf-zmz3l2uy.js} +1 -1
  96. package/dist/{render-common-D18VrP0h.js → render-common-DEb-WjM1.js} +10 -10
  97. package/dist/ssr/vue-ui-donut.js +1 -1
  98. package/dist/ssr/vue-ui-xy.js +1 -1
  99. package/dist/ssr.js +2 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/utils.d.ts +40 -0
  102. package/dist/types/vue-data-ui.d.ts +1 -0
  103. package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-C9RNjsGv.js} +4 -4
  104. package/dist/{useConfig-DYM3f6EI.js → useConfig-C0V0eG7L.js} +1 -0
  105. package/dist/{useFitSvgText-CT3nmlaS.js → useFitSvgText-CXTzBplU.js} +3 -1
  106. package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-BY6DNN3i.js} +2 -2
  107. package/dist/{useObjectBindings-CD31syQb.js → useObjectBindings-Djwpii4d.js} +1 -1
  108. package/dist/{usePrinter-CqqHmnBI.js → usePrinter-BH-xle1O.js} +2 -2
  109. package/dist/{canvas-lib-BOP_HS11.js → useResponsive-ZtArZtUf.js} +19 -1
  110. package/dist/{useSvgExport-SVIsDot8.js → useSvgExport-Ba9qBr9M.js} +6 -5
  111. package/dist/{useTableResponsive-B24Uwt2E.js → useTableResponsive-BAqJPR68.js} +2 -1
  112. package/dist/{useTimeLabels-BmBRv27Y.js → useTimeLabels-B9CEuiLZ.js} +1 -1
  113. package/dist/utils.js +26 -24
  114. package/dist/{vue-data-ui-ub3fCh6P.js → vue-data-ui-Bme9usjG.js} +68 -68
  115. package/dist/vue-data-ui.js +77 -77
  116. package/dist/vue-ui-3d-bar-Ds1BPxqb.js +1824 -0
  117. package/dist/{vue-ui-accordion-CjAGqEJg.js → vue-ui-accordion-nNxnZTg9.js} +4 -4
  118. package/dist/vue-ui-age-pyramid-CNCrH8Kd.js +1246 -0
  119. package/dist/{vue-ui-annotator-BIucnT0L.js → vue-ui-annotator-BfZ8RTzJ.js} +17 -11
  120. package/dist/vue-ui-bullet-DscMmM2b.js +709 -0
  121. package/dist/vue-ui-bump-BvwU1_-N.js +1248 -0
  122. package/dist/{vue-ui-candlestick-DULUMU-Q.js → vue-ui-candlestick-Cp6r8ktf.js} +288 -288
  123. package/dist/vue-ui-carousel-table-CbtccW1g.js +455 -0
  124. package/dist/vue-ui-chestnut-C3Hmf1-m.js +2042 -0
  125. package/dist/{vue-ui-chord-DL1M7cgL.js → vue-ui-chord-DJk9j45J.js} +45 -46
  126. package/dist/{vue-ui-circle-pack-C1Pgq6si.js → vue-ui-circle-pack-CJe2wETT.js} +50 -51
  127. package/dist/{vue-ui-cursor-d2uLAKTQ.js → vue-ui-cursor-BAi9omna.js} +6 -6
  128. package/dist/{vue-ui-dag-CVh9FpZr.js → vue-ui-dag-D7BEbS71.js} +41 -39
  129. package/dist/{vue-ui-dashboard-BH0N3ebj.js → vue-ui-dashboard-BYFQjwgC.js} +70 -70
  130. package/dist/{vue-ui-digits-R6wi3J-Y.js → vue-ui-digits-Bx8nZl9d.js} +4 -4
  131. package/dist/{vue-ui-donut-BWDeVzLc.js → vue-ui-donut-BUX4ybT6.js} +208 -208
  132. package/dist/vue-ui-donut-evolution-MWDjQPQ5.js +1521 -0
  133. package/dist/vue-ui-donut-jXRV-3ON.js +2418 -0
  134. package/dist/vue-ui-dumbbell-CnwsHaIy.js +1564 -0
  135. package/dist/{vue-ui-flow-CNczKwTh.js → vue-ui-flow-CKXGk4Lm.js} +74 -75
  136. package/dist/vue-ui-funnel-CJwD7s7e.js +781 -0
  137. package/dist/{vue-ui-galaxy-v3cTbUiM.js → vue-ui-galaxy-DL85_SWR.js} +275 -276
  138. package/dist/{vue-ui-gauge-DxvMjfoc.js → vue-ui-gauge-Dkx-aUQr.js} +177 -178
  139. package/dist/{vue-ui-geo-BgmLkZZ2.js → vue-ui-geo-fkLF1rHB.js} +28 -27
  140. package/dist/{vue-ui-gizmo-n1kmcGeE.js → vue-ui-gizmo-S8w_p769.js} +9 -9
  141. package/dist/{vue-ui-heatmap-dSTh8ah_.js → vue-ui-heatmap-Dopkbn2N.js} +330 -331
  142. package/dist/{vue-ui-history-plot-N8BqMFVU.js → vue-ui-history-plot-DDYpEapS.js} +413 -414
  143. package/dist/vue-ui-horizontal-bar-Bi8WvKeD.js +1689 -0
  144. package/dist/{vue-ui-kpi-BKrUk9o8.js → vue-ui-kpi-BeJ-ajaS.js} +4 -4
  145. package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-D9pprk2c.js} +3 -3
  146. package/dist/vue-ui-molecule-CBTgGZ-s.js +932 -0
  147. package/dist/{vue-ui-mood-radar-CpBRHQo_.js → vue-ui-mood-radar-CF83PcCx.js} +260 -261
  148. package/dist/vue-ui-nested-donuts-D5dO-Uyg.js +1492 -0
  149. package/dist/vue-ui-onion-BxjaQKo8.js +1199 -0
  150. package/dist/vue-ui-parallel-coordinate-plot-Dz6ozRAM.js +1415 -0
  151. package/dist/vue-ui-quadrant-Bnxpa6m5.js +1985 -0
  152. package/dist/{vue-ui-quick-chart-BO98uEPl.js → vue-ui-quick-chart-CAE0-NYj.js} +112 -113
  153. package/dist/vue-ui-radar-O4BhBOyp.js +1286 -0
  154. package/dist/{vue-ui-rating-CN-ZiAES.js → vue-ui-rating-DbxK-ftN.js} +101 -101
  155. package/dist/vue-ui-relation-circle-BZ0Xf-Nc.js +923 -0
  156. package/dist/vue-ui-ridgeline-DHVTPiM6.js +1627 -0
  157. package/dist/vue-ui-rings-DAfY1V--.js +1251 -0
  158. package/dist/vue-ui-scatter-Cb63SWJT.js +2421 -0
  159. package/dist/{vue-ui-skeleton-DC2bZ0nk.js → vue-ui-skeleton-DoIqQtIV.js} +100 -100
  160. package/dist/{vue-ui-smiley-Dyyu1je3.js → vue-ui-smiley-Da2jgkb7.js} +18 -18
  161. package/dist/vue-ui-spark-trend-Db-FsXch.js +442 -0
  162. package/dist/{vue-ui-sparkbar-DhIo1qsW.js → vue-ui-sparkbar-Ce55FP_3.js} +67 -67
  163. package/dist/{vue-ui-sparkgauge-D0Fo3Hts.js → vue-ui-sparkgauge-hB59dXm7.js} +65 -65
  164. package/dist/vue-ui-sparkhistogram-DjnaStBw.js +575 -0
  165. package/dist/{vue-ui-sparkline-ApivEMBP.js → vue-ui-sparkline-D1dyhLvG.js} +54 -55
  166. package/dist/vue-ui-sparkstackbar-BhOBFjts.js +674 -0
  167. package/dist/{vue-ui-stackbar-Ds4hXATH.js → vue-ui-stackbar-BZKw8WYn.js} +123 -122
  168. package/dist/vue-ui-stackline-DLFNVbAz.js +2425 -0
  169. package/dist/{vue-ui-strip-plot-C3ZHf4bD.js → vue-ui-strip-plot-DyN2WELD.js} +68 -69
  170. package/dist/vue-ui-table-DL_R4ppI.js +1339 -0
  171. package/dist/{vue-ui-table-heatmap-CNXNXXBU.js → vue-ui-table-heatmap-C9gF__Np.js} +16 -16
  172. package/dist/{vue-ui-table-sparkline-B9JJ4pFF.js → vue-ui-table-sparkline-CT-0w9-a.js} +26 -24
  173. package/dist/vue-ui-thermometer-MP0dliC3.js +769 -0
  174. package/dist/{vue-ui-timer-5NAWw5BN.js → vue-ui-timer-B5S-6Da4.js} +7 -8
  175. package/dist/{vue-ui-tiremarks-Caz_g1c5.js → vue-ui-tiremarks-DcJiLDsm.js} +20 -21
  176. package/dist/{vue-ui-treemap-F9upPyOI.js → vue-ui-treemap-CjldCPnX.js} +615 -603
  177. package/dist/vue-ui-waffle-dZM-9z1J.js +1367 -0
  178. package/dist/{vue-ui-wheel-DD6Q39BA.js → vue-ui-wheel-or7a6-Ce.js} +47 -48
  179. package/dist/{vue-ui-word-cloud-BZLT5svo.js → vue-ui-word-cloud-8BwQ0cuB.js} +40 -37
  180. package/dist/{vue-ui-world-DbEJN5NA.js → vue-ui-world-Q0KZb7A_.js} +210 -210
  181. package/dist/{vue-ui-xy-Cn9Q8YPr.js → vue-ui-xy-4uzwZJcj.js} +141 -141
  182. package/dist/{vue-ui-xy-BYMAITk_.js → vue-ui-xy-DZIs53tH.js} +791 -783
  183. package/dist/vue-ui-xy-canvas-Dz9aii7f.js +1790 -0
  184. package/package.json +2 -2
  185. package/dist/Slicer-CW_XPIKL.js +0 -1150
  186. package/dist/exposedLib-VXFp3Z2c.js +0 -19
  187. package/dist/useResponsive-BfnK0KxU.js +0 -19
  188. package/dist/vue-ui-3d-bar-taPI41_I.js +0 -1825
  189. package/dist/vue-ui-age-pyramid-jvQZbF8E.js +0 -1247
  190. package/dist/vue-ui-bullet-CIATzlsk.js +0 -710
  191. package/dist/vue-ui-bump-D8MxltQE.js +0 -1249
  192. package/dist/vue-ui-carousel-table-BSmdexG7.js +0 -455
  193. package/dist/vue-ui-chestnut-BIh1nQ7q.js +0 -2042
  194. package/dist/vue-ui-donut-BoZdciGh.js +0 -2419
  195. package/dist/vue-ui-donut-evolution-CpC9EMro.js +0 -1522
  196. package/dist/vue-ui-dumbbell-DGA5Bfnl.js +0 -1564
  197. package/dist/vue-ui-funnel-CaD2tZCT.js +0 -782
  198. package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +0 -1689
  199. package/dist/vue-ui-molecule--kK1JfnP.js +0 -931
  200. package/dist/vue-ui-nested-donuts-8Ehwcuns.js +0 -1493
  201. package/dist/vue-ui-onion-Cf6JiYTH.js +0 -1200
  202. package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +0 -1416
  203. package/dist/vue-ui-quadrant-CxU0jiOm.js +0 -1984
  204. package/dist/vue-ui-radar-eH2Qih4_.js +0 -1287
  205. package/dist/vue-ui-relation-circle-BIcP-aAt.js +0 -924
  206. package/dist/vue-ui-ridgeline-ChXHzEJw.js +0 -1628
  207. package/dist/vue-ui-rings-J990vNbX.js +0 -1252
  208. package/dist/vue-ui-scatter-BeJB0EKg.js +0 -2422
  209. package/dist/vue-ui-spark-trend-CpDX85H3.js +0 -443
  210. package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +0 -576
  211. package/dist/vue-ui-sparkstackbar-DsKQJx_n.js +0 -674
  212. package/dist/vue-ui-stackline-DJbcVvmN.js +0 -2425
  213. package/dist/vue-ui-table-uudidrYt.js +0 -1338
  214. package/dist/vue-ui-thermometer-Bvw3oQb3.js +0 -770
  215. package/dist/vue-ui-waffle-Bk9AsrPp.js +0 -1368
  216. package/dist/vue-ui-xy-canvas-Dcm2ftwm.js +0 -1790
@@ -1,13 +1,12 @@
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";
3
- import { t as pe } from "./useTimeLabels-BmBRv27Y.js";
4
- import { t as me } from "./useConfig-DYM3f6EI.js";
2
+ import { At as t, B as n, Bt as r, Et as i, F as a, H as o, I as s, K as c, M as l, N as u, O as d, Rt as ee, V as f, Y as p, at as te, et as ne, ft as re, i as ie, k as ae, p as oe, qt as se, rt as ce, t as le, u as ue, x as de, yt as fe, zt as m } from "./lib-CFm_J26b.js";
3
+ import { t as pe } from "./useTimeLabels-B9CEuiLZ.js";
4
+ import { t as me } from "./useConfig-C0V0eG7L.js";
5
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-BY6DNN3i.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
- import { c as ye } from "./canvas-lib-BOP_HS11.js";
10
- import { t as be } from "./useResponsive-BfnK0KxU.js";
9
+ import { l as ye, t as be } from "./useResponsive-ZtArZtUf.js";
11
10
  import { t as xe } from "./DefGrad-DVBqDjhO.js";
12
11
  import { t as Se } from "./A11yDataTable-DdRsVULz.js";
13
12
  import { t as Ce } from "./useChartAccessibility-DYqac8yF.js";
@@ -340,18 +339,18 @@ function st(e, t, n, r, i, a) {
340
339
  function ct(e, t, n, r, i, a) {
341
340
  let o = n - t, s = Math.ceil(o / r) + 1;
342
341
  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))}`;
342
+ 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
343
  for (let n = 1; n < s; n += 1) {
345
344
  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))}`;
345
+ 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
346
  }
348
347
  return {
349
- pathData: ee,
348
+ pathData: p,
350
349
  bounds: {
351
350
  minX: u,
352
351
  maxX: d,
353
- minY: f,
354
- maxY: p
352
+ minY: ee,
353
+ maxY: f
355
354
  }
356
355
  };
357
356
  }
@@ -445,11 +444,11 @@ function mt(e, t = null, n = {}) {
445
444
  if ((n.returnMode ?? "string") !== "string") throw Error("SvgPathGradientAsync: only returnMode=\"string\" is supported for the async version.");
446
445
  let o = typeof n.decimalPlaces == "number" ? n.decimalPlaces : 3, s = typeof n.flattenTolerance == "number" && n.flattenTolerance > 0 ? n.flattenTolerance : .25, c = n.attrs ? { ...n.attrs } : {}, l = n.groupAttrs ? { ...n.groupAttrs } : {}, u = et(c["stroke-width"]), d = typeof n.strokeWidth == "number" && n.strokeWidth > 0 ? n.strokeWidth : typeof u == "number" && u > 0 ? u : 1;
447
446
  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)) {
447
+ let ee = a.pathElement, f = ee.getTotalLength(), p = i === null ? N(t, n.colorReferenceElement) : [];
448
+ if (i === null && (!(f > 0) || p.length === 1)) {
450
449
  let t = pt([ft({
451
450
  pathData: e,
452
- stroke: U(ee[0]),
451
+ stroke: U(p[0]),
453
452
  segmentAttributeMap: c
454
453
  })], l);
455
454
  it(a), r(t);
@@ -461,25 +460,25 @@ function mt(e, t = null, n = {}) {
461
460
  if (!Array.isArray(e) || e.length !== 2) throw Error("SvgPathGradientAsync: temperatureColors must be a tuple of exactly 2 colors when temperatureMode is enabled.");
462
461
  }
463
462
  let ne = i === null ? null : N(n.temperatureColors, n.colorReferenceElement), re = i === null ? (() => {
464
- let e = lt(ee), t = Array(e.length);
463
+ let e = lt(p), t = Array(e.length);
465
464
  for (let n = 0; n < e.length; n += 1) t[n] = {
466
465
  position: e[n].position,
467
466
  rgba: e[n].rgba
468
467
  };
469
468
  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;
469
+ })() : [], ie = at(f, d, n.maxSegmentLength), ae = ot(f, n.segments, ie), oe = f / ae, se = typeof n.overlap == "number" && n.overlap >= 0 ? n.overlap : d * .5, ce = oe * .45;
471
470
  se > ce && (se = ce);
472
471
  let le = typeof n.samplePointLimitPerSegment == "number" && n.samplePointLimitPerSegment > 10 ? n.samplePointLimitPerSegment : 250, ue = ut(c), de = [], fe = i === null ? null : [], m = i === null ? null : [], pe = 0, me = i === null ? re.length - 2 : 0, h = 0, he = () => {
473
472
  let e = performance.now(), t = typeof n.frameBudgetMs == "number" ? n.frameBudgetMs : 8;
474
473
  for (; h < ae && performance.now() - e < t;) {
475
474
  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);
475
+ if (h !== 0 && (n = e - se), h !== ae - 1 && (r = t + se), n = I(n, 0, f), r = I(r, 0, f), r > n) if (i !== null) {
476
+ let e = ct(ee, n, r, s, o, le);
478
477
  fe.push(e.pathData), m.push(e.bounds);
479
478
  } else {
480
- let e = (n + r) * .5 / p;
479
+ let e = (n + r) * .5 / f;
481
480
  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);
481
+ let t = z(re, e, te, pe), i = st(ee, n, r, s, o, le);
483
482
  de.push(dt(i, t, ue));
484
483
  }
485
484
  h += 1;
@@ -695,17 +694,17 @@ var ht = ["innerHTML"], gt = {
695
694
  },
696
695
  emits: ["hoverIndex", "selectDatapoint"],
697
696
  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());
697
+ let Be = ke(() => import("./PackageVersion-1MNr72Bz.js").then((e) => e.t)), Ve = ke(() => import("./SparkTooltip-uoUiL_P8.js")), { vue_ui_sparkline: He } = me(), { isThemeValid: Ue, warnInvalidTheme: We } = _e(), Ge = we(), O = e, Ke = _(() => Array.isArray(O.dataset) && O.dataset.length > 0), k = w(c()), A = w(null), Je = w(null), Ye = w(null), j = w(null), M = w(null), N = w(L());
699
698
  function Xe(e) {
700
699
  return O.config?.skeletonDataset && Array.isArray(O.config.skeletonDataset) ? O.config.skeletonDataset.map((e) => ({
701
700
  period: "-",
702
701
  value: e
703
- })) : le(e).map((e) => ({
702
+ })) : ce(e).map((e) => ({
704
703
  period: "-",
705
704
  value: e
706
705
  }));
707
706
  }
708
- let Ze = _(() => s({
707
+ let Ze = _(() => se({
709
708
  defaultConfig: {
710
709
  gradientPath: { show: !1 },
711
710
  temperatureColors: { show: !1 },
@@ -737,7 +736,7 @@ var ht = ["innerHTML"], gt = {
737
736
  });
738
737
  },
739
738
  skeletonDataset: Xe(12),
740
- skeletonConfig: s({
739
+ skeletonConfig: se({
741
740
  defaultConfig: N.value,
742
741
  userConfig: Ze.value
743
742
  })
@@ -838,7 +837,7 @@ var ht = ["innerHTML"], gt = {
838
837
  fadeIn: .5,
839
838
  fadeOut: .2
840
839
  };
841
- }), z = _(() => p({
840
+ }), z = _(() => i({
842
841
  data: F.value,
843
842
  threshold: N.value.downsample.threshold
844
843
  }));
@@ -849,7 +848,7 @@ var ht = ["innerHTML"], gt = {
849
848
  }), D(() => O.config, (e) => {
850
849
  P.value || (N.value = L()), Wt(), K.value.chartWidth = N.value.style.chartWidth;
851
850
  }, { deep: !0 }), D(() => O.dataset, (e) => {
852
- Array.isArray(e) && e.length > 0 && (Qe.value = !1), B.value = p({
851
+ Array.isArray(e) && e.length > 0 && (Qe.value = !1), B.value = i({
853
852
  data: F.value.map((e) => ({
854
853
  ...e,
855
854
  value: [void 0].includes(e.value) ? null : e.value
@@ -859,7 +858,7 @@ var ht = ["innerHTML"], gt = {
859
858
  }, { deep: !0 });
860
859
  let B = w(V());
861
860
  function V() {
862
- return p({
861
+ return i({
863
862
  data: F.value.map((e) => N.value.style.animation.show && F.value.length > 1 ? {
864
863
  ...e,
865
864
  value: null
@@ -919,24 +918,24 @@ var ht = ["innerHTML"], gt = {
919
918
  }
920
919
  let Ut = _(() => !!N.value.debug);
921
920
  function Wt() {
922
- if (se(O.dataset) ? (t({
921
+ if (t(O.dataset) ? (ne({
923
922
  componentName: "VueUiSparkline",
924
923
  type: "dataset",
925
924
  debug: Ut.value
926
- }), Qe.value = !0) : O.dataset.forEach((e, n) => {
927
- ne({
925
+ }), Qe.value = !0) : O.dataset.forEach((e, t) => {
926
+ re({
928
927
  datasetObject: e,
929
928
  requiredAttributes: ["period", "value"]
930
929
  }).forEach((e) => {
931
- t({
930
+ ne({
932
931
  componentName: "VueUiSparkline",
933
932
  type: "datasetSerieAttribute",
934
933
  property: e,
935
- index: n,
934
+ index: t,
936
935
  debug: Ut.value
937
936
  });
938
937
  });
939
- }), se(O.dataset) || (Qe.value = N.value.loading), N.value.responsive) {
938
+ }), t(O.dataset) || (Qe.value = N.value.loading), N.value.responsive) {
940
939
  let e = ye(() => {
941
940
  let { width: e, height: t } = be({
942
941
  chart: A.value,
@@ -1011,18 +1010,18 @@ var ht = ["innerHTML"], gt = {
1011
1010
  NaN,
1012
1011
  Infinity,
1013
1012
  -Infinity
1014
- ].includes(e.value) ? 0 : e.value, r = q.value.width / Qt.value;
1013
+ ].includes(e.value) ? 0 : e.value, i = q.value.width / Qt.value;
1015
1014
  return {
1016
1015
  value: e.value,
1017
1016
  absoluteValue: n,
1018
1017
  period: $t.value && $t.value[t] && $t.value[t].text ? $t.value[t].text : e.period,
1019
1018
  plotValue: n + Jt.value,
1020
1019
  toMax: Zt(n + Jt.value),
1021
- x: q.value.start + t * r,
1020
+ x: q.value.start + t * i,
1022
1021
  y: q.value.bottom - q.value.height * Zt(n + Jt.value),
1023
1022
  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
1023
+ color: Q.value ? N.value.style.bar.color : N.value.style.area.useGradient ? r(N.value.style.line.color, .05 * (1 - t / Qt.value)) : N.value.style.line.color,
1024
+ width: i
1026
1025
  };
1027
1026
  })), tn = _(() => O.selectedIndex !== void 0 && O.selectedIndex !== null && O.selectedIndex >= 0 && O.selectedIndex < J.value.length ? O.selectedIndex : M.value !== void 0 && M.value !== null && M.value >= 0 && M.value < J.value.length ? M.value : null), Y = w(void 0), X = w(void 0);
1028
1027
  function nn(e, t) {
@@ -1044,8 +1043,8 @@ var ht = ["innerHTML"], gt = {
1044
1043
  latest: J.value[J.value.length - 1] ? J.value[J.value.length - 1].absoluteValue : 0,
1045
1044
  sum: t,
1046
1045
  average: t / J.value.length,
1047
- median: re(e),
1048
- trend: ce(J.value.map(({ x: e, y: t, absoluteValue: n }) => ({
1046
+ median: oe(e),
1047
+ trend: ue(J.value.map(({ x: e, y: t, absoluteValue: n }) => ({
1049
1048
  x: e,
1050
1049
  y: t,
1051
1050
  value: n
@@ -1095,14 +1094,14 @@ var ht = ["innerHTML"], gt = {
1095
1094
  function mn(e, t) {
1096
1095
  return dn(e, t) ? N.value.style.plot.stroke : N.value.style.backgroundColor;
1097
1096
  }
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 = _(() => {
1097
+ let hn = _(() => cn.value ? J.value : J.value.filter((e) => e.value !== null)), gn = _(() => J.value.filter((e) => e.value !== null)), _n = _(() => gn.value.length > 1), vn = _(() => Q.value || !_n.value ? "" : cn.value ? a(J.value) : u(hn.value)), yn = _(() => Q.value || !_n.value ? "" : cn.value ? f(J.value) : n(hn.value)), bn = _(() => Q.value || !sn.value || !_n.value ? [] : s(hn.value, N.value.style.line.dashIndices)), xn = _(() => Q.value || !sn.value || !_n.value ? [] : o(hn.value, N.value.style.line.dashIndices)), Sn = _(() => Q.value || !N.value.style.area.show || !_n.value ? [] : N.value.style.line.smooth ? l(hn.value, q.value.bottom, cn.value).filter(Boolean) : (cn.value ? ae(J.value, q.value.bottom) : d(hn.value, q.value.bottom)).split(";").filter(Boolean).map((e) => `M${e}Z`)), Cn = _(() => Q.value || !N.value.gradientPath.show || N.value.temperatureColors.show ? "" : `M ${(N.value.style.line.smooth ? vn.value : yn.value) || "0,0"}`), wn = _(() => {
1099
1098
  if (!N.value.temperatureColors.show) return null;
1100
1099
  let e = N.value.temperatureColors.colors;
1101
- return !Array.isArray(e) || !e.length ? null : e.map((e) => te(e));
1100
+ return !Array.isArray(e) || !e.length ? null : e.map((e) => de(e));
1102
1101
  }), $ = _(() => {
1103
1102
  if (!N.value.temperatureColors.show) return null;
1104
1103
  let e = N.value.temperatureColors.colors;
1105
- return !Array.isArray(e) || !e.length ? null : e.map((e) => te(e));
1104
+ return !Array.isArray(e) || !e.length ? null : e.map((e) => de(e));
1106
1105
  });
1107
1106
  function Tn(e) {
1108
1107
  if (!Number.isFinite(e?.y)) return 0;
@@ -1111,7 +1110,7 @@ var ht = ["innerHTML"], gt = {
1111
1110
  }
1112
1111
  function En(e) {
1113
1112
  let t = wn.value;
1114
- return !Array.isArray(t) || !t.length ? e.color : de({
1113
+ return !Array.isArray(t) || !t.length ? e.color : fe({
1115
1114
  colors: t,
1116
1115
  ratio: Tn(e)
1117
1116
  });
@@ -1215,7 +1214,7 @@ var ht = ["innerHTML"], gt = {
1215
1214
  b("div", bt, [(C(), y("svg", {
1216
1215
  ref_key: "svgRef",
1217
1216
  ref: I,
1218
- xmlns: E(ue),
1217
+ xmlns: E(le),
1219
1218
  viewBox: `0 0 ${K.value.width} ${K.value.height}`,
1220
1219
  style: S(`background:${N.value.style.backgroundColor};overflow:visible;direction:ltr`),
1221
1220
  tabindex: "0",
@@ -1244,11 +1243,11 @@ var ht = ["innerHTML"], gt = {
1244
1243
  id: `sparkline_gradient_${k.value}`,
1245
1244
  stops: [[
1246
1245
  "0%",
1247
- E(f)(E(m)(N.value.style.area.color, .05), N.value.style.area.opacity),
1246
+ E(m)(E(r)(N.value.style.area.color, .05), N.value.style.area.opacity),
1248
1247
  1
1249
1248
  ], [
1250
1249
  "100%",
1251
- E(f)(N.value.style.area.color, N.value.style.area.opacity),
1250
+ E(m)(N.value.style.area.color, N.value.style.area.opacity),
1252
1251
  1
1253
1252
  ]]
1254
1253
  }, null, 8, ["id", "stops"]),
@@ -1263,7 +1262,7 @@ var ht = ["innerHTML"], gt = {
1263
1262
  1
1264
1263
  ], [
1265
1264
  "100%",
1266
- E(m)(N.value.style.bar.color, .05),
1265
+ E(r)(N.value.style.bar.color, .05),
1267
1266
  1
1268
1267
  ]]
1269
1268
  }, null, 8, ["id", "stops"]),
@@ -1274,7 +1273,7 @@ var ht = ["innerHTML"], gt = {
1274
1273
  id: `sparkline_bar_gradient_neg_${k.value}`,
1275
1274
  stops: [[
1276
1275
  "0%",
1277
- E(m)(N.value.style.bar.color, .05),
1276
+ E(r)(N.value.style.bar.color, .05),
1278
1277
  1
1279
1278
  ], [
1280
1279
  "100%",
@@ -1305,7 +1304,7 @@ var ht = ["innerHTML"], gt = {
1305
1304
  }, [(C(!0), y(g, null, T($.value, (e, t) => (C(), y("stop", {
1306
1305
  key: `temperature_grad_stop_${t}_${k.value}`,
1307
1306
  "stop-color": e,
1308
- offset: $.value.length === 1 ? "0%" : E(c)(t, $.value.length)
1307
+ offset: $.value.length === 1 ? "0%" : E(ee)(t, $.value.length)
1309
1308
  }, null, 8, Tt))), 128))], 8, wt)) : v("", !0)
1310
1309
  ]),
1311
1310
  N.value.style.area.show && !Q.value && Sn.value.length ? (C(), y("g", Et, [(C(!0), y(g, null, T(Sn.value, (e, t) => (C(), y("path", {
@@ -1313,7 +1312,7 @@ var ht = ["innerHTML"], gt = {
1313
1312
  class: "vue-ui-sparkline-area",
1314
1313
  "data-cy": N.value.style.line.smooth ? "sparkline-smooth-area" : "sparkline-angle-area",
1315
1314
  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),
1315
+ fill: N.value.style.area.useGradient ? `url(#sparkline_gradient_${k.value})` : E(m)(N.value.style.area.color, N.value.style.area.opacity),
1317
1316
  "stroke-linecap": "round",
1318
1317
  "stroke-linejoin": "round",
1319
1318
  style: S({ transition: E(P) ? void 0 : "all 0.2s" })
@@ -1453,8 +1452,8 @@ var ht = ["innerHTML"], gt = {
1453
1452
  key: 6,
1454
1453
  x1: q.value.start,
1455
1454
  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),
1455
+ y1: E(te)(Xt.value, q.value.bottom),
1456
+ y2: E(te)(Xt.value, q.value.bottom),
1458
1457
  stroke: N.value.style.zeroLine.color,
1459
1458
  "stroke-dasharray": N.value.style.zeroLine.strokeWidth * 2,
1460
1459
  "stroke-width": N.value.style.zeroLine.strokeWidth,
@@ -1476,12 +1475,12 @@ var ht = ["innerHTML"], gt = {
1476
1475
  "font-size": N.value.style.dataLabel.fontSize,
1477
1476
  "font-weight": N.value.style.dataLabel.bold ? "bold" : "normal",
1478
1477
  fill: N.value.style.dataLabel.color
1479
- }, Ie(Y.value ? E(ie)(N.value.style.dataLabel.formatter, Y.value.absoluteValue, E(o)({
1478
+ }, Ie(Y.value ? E(ie)(N.value.style.dataLabel.formatter, Y.value.absoluteValue, E(p)({
1480
1479
  p: N.value.style.dataLabel.prefix,
1481
1480
  v: Y.value.absoluteValue,
1482
1481
  s: N.value.style.dataLabel.suffix,
1483
1482
  r: N.value.style.dataLabel.roundingValue
1484
- }), { datapoint: Y.value }) : E(ie)(N.value.style.dataLabel.formatter, an.value, E(o)({
1483
+ }), { datapoint: Y.value }) : E(ie)(N.value.style.dataLabel.formatter, an.value, E(p)({
1485
1484
  p: N.value.style.dataLabel.prefix,
1486
1485
  v: an.value,
1487
1486
  s: N.value.style.dataLabel.suffix,
@@ -1524,7 +1523,7 @@ var ht = ["innerHTML"], gt = {
1524
1523
  borderRadius: N.value.style.tooltip.borderRadius,
1525
1524
  backgroundOpacity: N.value.style.tooltip.backgroundOpacity
1526
1525
  }, {
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)({
1526
+ default: ze(() => [Pe(t.$slots, "tooltip", je(Ae({ ...Y.value })), () => [De(Ie(Y.value.period) + ": " + Ie(E(ie)(N.value.style.dataLabel.formatter, Y.value.absoluteValue, E(p)({
1528
1527
  p: N.value.style.dataLabel.prefix,
1529
1528
  v: Y.value.absoluteValue,
1530
1529
  s: N.value.style.dataLabel.suffix,