vue-data-ui 3.26.5 → 3.27.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 (200) hide show
  1. package/dist/{Arrow-BQbcOtfC.js → Arrow-DKO1l8oR.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BCFCiP_6.js → BaseDraggableDialog-C50TEJFv.js} +2 -2
  3. package/dist/{BaseIcon-CIK6Sqo3.js → BaseIcon-Cx9FD751.js} +1 -1
  4. package/dist/{BaseLegendToggle-Doa5rYP2.js → BaseLegendToggle-CP3sddwv.js} +1 -1
  5. package/dist/{BaseZoomControls-BGQM8B5F.js → BaseZoomControls-vNi8YykO.js} +2 -2
  6. package/dist/{ColorPicker-Cb7qpvFt.js → ColorPicker-hmC2bvwS.js} +2 -2
  7. package/dist/{DataTable-B6LDCXBz.js → DataTable-CjF_An2h.js} +2 -2
  8. package/dist/{HillActions-CwdgCb7Q.js → HillActions-DqqGB33u.js} +1 -1
  9. package/dist/{Legend-D9FGXIbQ.js → Legend-CulFgjUY.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-9T4MSwXC.js → NonSvgPenAndPaper-BK1v_MfW.js} +3 -3
  11. package/dist/{PackageVersion-CslTvFsC.js → PackageVersion-D7H9nfK0.js} +1 -1
  12. package/dist/{PenAndPaper-C1EcBgJW.js → PenAndPaper-CNiuGw6k.js} +3 -3
  13. package/dist/{Shape-BZgQLgu5.js → Shape-DSwamtmO.js} +1 -1
  14. package/dist/{SlicerPreview-DyYv_G-_.js → SlicerPreview-k5YerMA9.js} +12 -12
  15. package/dist/{SparkTooltip-D4cRlyuq.js → SparkTooltip-D35KVv6N.js} +6 -6
  16. package/dist/{Title-Bd98RysU.js → Title-BMCuINbv.js} +1 -1
  17. package/dist/{Tooltip-DmQeI5WE.js → Tooltip-C4ZTwkLF.js} +1 -1
  18. package/dist/{UserOptions-B_yBcZ1-.js → UserOptions-CORYQiif.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-hill.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-label.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-B_RJohlM.js → dom-to-png-CBusMkua.js} +1 -1
  91. package/dist/{exposedLib-C-JlvWAt.js → exposedLib-UNxZlnAS.js} +10 -10
  92. package/dist/{img-KURaWjZI.js → img-Bb5rHcpO.js} +1 -1
  93. package/dist/{labelUtils-DShv2Mbg.js → labelUtils-Ccn9kK7T.js} +1 -1
  94. package/dist/{lib-TWIH5fGr.js → lib-D4wK6ljP.js} +127 -133
  95. package/dist/{package-DbTqd5lc.js → package-DmQufM0G.js} +1 -1
  96. package/dist/{pdf-CLl24Afl.js → pdf-BzIQHx-F.js} +1 -1
  97. package/dist/{render-common-CKv-jztN.js → render-common-BtfjXdkJ.js} +10 -10
  98. package/dist/ssr/vue-ui-donut.js +1 -1
  99. package/dist/ssr/vue-ui-xy.js +1 -1
  100. package/dist/ssr.js +2 -2
  101. package/dist/style.css +1 -1
  102. package/dist/types/vue-data-ui.d.ts +212 -59
  103. package/dist/types/vue-ui-stackbar.d.ts +10 -0
  104. package/dist/{useConfig-DObkR9Aa.js → useConfig-D_6ZrPMD.js} +82 -0
  105. package/dist/{useNestedProp-BxOdWM0c.js → useNestedProp-DR_8JPol.js} +1 -1
  106. package/dist/{useObjectBindings-CPmyIJxB.js → useObjectBindings-DvasYMGu.js} +2 -2
  107. package/dist/{usePrinter-8Y1Rju0Y.js → usePrinter-DdW2GSm0.js} +2 -2
  108. package/dist/utils.js +10 -10
  109. package/dist/{vue-data-ui-C3G5Zdl5.js → vue-data-ui-Df7WV80w.js} +70 -70
  110. package/dist/vue-data-ui.js +75 -75
  111. package/dist/{vue-ui-3d-bar-Cl6-fBV8.js → vue-ui-3d-bar-CJjNPwhG.js} +463 -463
  112. package/dist/{vue-ui-accordion-AyyZDab3.js → vue-ui-accordion-CaoNWreI.js} +4 -4
  113. package/dist/{vue-ui-age-pyramid-DOtWAL8s.js → vue-ui-age-pyramid-BYcM0uIP.js} +22 -22
  114. package/dist/{vue-ui-annotator-BCVjlojM.js → vue-ui-annotator-BmqjDjRF.js} +10 -10
  115. package/dist/{vue-ui-bullet-B_1Ctjvq.js → vue-ui-bullet-DBOAvpBB.js} +18 -18
  116. package/dist/vue-ui-bump-rPYwDJ4o.js +1242 -0
  117. package/dist/{vue-ui-candlestick-KvhjbAxt.js → vue-ui-candlestick-WQHIQNv_.js} +625 -625
  118. package/dist/{vue-ui-carousel-table-ArMiO0cG.js → vue-ui-carousel-table-Dojcvt49.js} +106 -106
  119. package/dist/{vue-ui-chestnut-DSM0U27X.js → vue-ui-chestnut-BdhEByUf.js} +65 -65
  120. package/dist/{vue-ui-chord-64akfaem.js → vue-ui-chord-MF4xF5az.js} +46 -46
  121. package/dist/{vue-ui-circle-pack-CaR_aNEh.js → vue-ui-circle-pack-BwDim7G8.js} +26 -26
  122. package/dist/{vue-ui-cursor-DCgqYZiz.js → vue-ui-cursor-w_5cbpSb.js} +61 -61
  123. package/dist/{vue-ui-dag-8uKK0Rlp.js → vue-ui-dag-D2EUqeDN.js} +65 -65
  124. package/dist/{vue-ui-dashboard-DeccYtSY.js → vue-ui-dashboard-BLnVXosj.js} +70 -70
  125. package/dist/{vue-ui-digits-BvK7bVuJ.js → vue-ui-digits-zSqwYWHm.js} +4 -4
  126. package/dist/{vue-ui-donut-8joMj08Z.js → vue-ui-donut-ZYZfqIhi.js} +117 -117
  127. package/dist/{vue-ui-donut-evolution-DgITf95R.js → vue-ui-donut-evolution-DtLbWi3h.js} +216 -216
  128. package/dist/vue-ui-donut-nLDLZwig.js +2427 -0
  129. package/dist/{vue-ui-dumbbell-U2L4ZYhB.js → vue-ui-dumbbell-Qgn3wRyI.js} +20 -20
  130. package/dist/{vue-ui-flow-DD20fJu_.js → vue-ui-flow-iSH6dyGw.js} +109 -109
  131. package/dist/vue-ui-funnel-Cc2z2zS5.js +749 -0
  132. package/dist/{vue-ui-galaxy-VZFZnHPv.js → vue-ui-galaxy-GhuBSU0o.js} +267 -267
  133. package/dist/vue-ui-gauge-BAjBO13a.js +934 -0
  134. package/dist/{vue-ui-geo-DeDQ6ubl.js → vue-ui-geo-mwTtvIHY.js} +19 -19
  135. package/dist/{vue-ui-gizmo-D5oUKIsP.js → vue-ui-gizmo-B5vOOrZX.js} +4 -4
  136. package/dist/vue-ui-heatmap-fimkY1nN.js +1613 -0
  137. package/dist/{vue-ui-hill-DONFacXR.js → vue-ui-hill-DPfTt3UE.js} +18 -18
  138. package/dist/{vue-ui-history-plot-BMy_y9S6.js → vue-ui-history-plot-B1WgzqTb.js} +53 -53
  139. package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +1723 -0
  140. package/dist/{vue-ui-kpi-Bol0OWs3.js → vue-ui-kpi-D-p0CSQh.js} +4 -4
  141. package/dist/{vue-ui-label-cwjXaEDQ.js → vue-ui-label-r3-QloJL.js} +65 -65
  142. package/dist/{vue-ui-mini-loader-kdpasmXb.js → vue-ui-mini-loader-CnrBGAtM.js} +3 -3
  143. package/dist/vue-ui-molecule-BhdAYX_H.js +941 -0
  144. package/dist/vue-ui-mood-radar-CdlnPrQf.js +1111 -0
  145. package/dist/{vue-ui-nested-donuts-ZmGGEvRk.js → vue-ui-nested-donuts-DceVEyUc.js} +341 -341
  146. package/dist/{vue-ui-onion-D6IKPpL-.js → vue-ui-onion-_L0uEATI.js} +209 -209
  147. package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +1444 -0
  148. package/dist/{vue-ui-quadrant-CueHa1Pm.js → vue-ui-quadrant-CDDFLRcX.js} +55 -55
  149. package/dist/{vue-ui-quick-chart-C8ZxX1Zw.js → vue-ui-quick-chart-Dom257hl.js} +377 -377
  150. package/dist/vue-ui-radar-BLdri1bA.js +1386 -0
  151. package/dist/{vue-ui-rating-V_OnJN9Y.js → vue-ui-rating-C_iTttXB.js} +25 -25
  152. package/dist/vue-ui-relation-circle-BmxTSgjd.js +905 -0
  153. package/dist/vue-ui-ridgeline-CsUrcVmL.js +1630 -0
  154. package/dist/{vue-ui-rings-Bf9IKwDr.js → vue-ui-rings-D_GPkgbD.js} +318 -318
  155. package/dist/vue-ui-scatter-D_C-IhnW.js +2418 -0
  156. package/dist/{vue-ui-skeleton-dyXWT6JX.js → vue-ui-skeleton-t7e6KEZ2.js} +60 -60
  157. package/dist/{vue-ui-smiley-w6nH1I0E.js → vue-ui-smiley-Dl95YWVo.js} +14 -14
  158. package/dist/{vue-ui-spark-trend-Bso9bwmY.js → vue-ui-spark-trend-pkZA7u5V.js} +20 -20
  159. package/dist/{vue-ui-sparkbar-CL06Yt56.js → vue-ui-sparkbar-Ds7OJjhG.js} +77 -77
  160. package/dist/{vue-ui-sparkgauge-BHDM5Hbr.js → vue-ui-sparkgauge-US1M88qc.js} +6 -6
  161. package/dist/vue-ui-sparkhistogram-FISVpSvv.js +589 -0
  162. package/dist/{vue-ui-sparkline-znaswFQj.js → vue-ui-sparkline-DvE1dHcs.js} +37 -37
  163. package/dist/{vue-ui-sparkstackbar-BOzVoWoa.js → vue-ui-sparkstackbar-CWtF9eG-.js} +39 -39
  164. package/dist/vue-ui-stackbar-fMgrHzZe.js +3273 -0
  165. package/dist/{vue-ui-stackline-qcLrNL09.js → vue-ui-stackline-CSMuUup2.js} +303 -303
  166. package/dist/vue-ui-strip-plot-TGD2UFHS.js +1752 -0
  167. package/dist/{vue-ui-table-D295mJIf.js → vue-ui-table-BCEIbg8-.js} +14 -14
  168. package/dist/{vue-ui-table-heatmap-CXeMKqKz.js → vue-ui-table-heatmap-CvUcFWMf.js} +9 -9
  169. package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +738 -0
  170. package/dist/vue-ui-thermometer-BYFAZCzh.js +758 -0
  171. package/dist/{vue-ui-timer-BULpjYiI.js → vue-ui-timer-BKr8RVnn.js} +10 -10
  172. package/dist/{vue-ui-tiremarks-B7bTeU8h.js → vue-ui-tiremarks-BYu3cEoy.js} +35 -35
  173. package/dist/{vue-ui-treemap-DkqDz9W4.js → vue-ui-treemap-BR3rX5_L.js} +50 -50
  174. package/dist/{vue-ui-waffle-Cn7WBzqh.js → vue-ui-waffle-mP8g5aQk.js} +275 -275
  175. package/dist/{vue-ui-wheel-Cy7kBvEx.js → vue-ui-wheel-CZsSO2R6.js} +187 -187
  176. package/dist/{vue-ui-word-cloud-tRqc2ZMR.js → vue-ui-word-cloud-CJ30onqy.js} +35 -35
  177. package/dist/{vue-ui-world-B755-zji.js → vue-ui-world-BZ09DOiF.js} +498 -498
  178. package/dist/{vue-ui-xy-BiHIJ7rK.js → vue-ui-xy-C3h54loZ.js} +405 -405
  179. package/dist/{vue-ui-xy-canvas-DGuMC_Rf.js → vue-ui-xy-canvas-BwgK8drp.js} +165 -165
  180. package/dist/{vue-ui-xy-DWYTZz_v.js → vue-ui-xy-jemv5dsf.js} +288 -288
  181. package/dist/{vue_ui_stackbar-DdjDL6aq.js → vue_ui_stackbar-yQyvT4Su.js} +46 -0
  182. package/package.json +1 -1
  183. package/dist/vue-ui-bump-kOK6x4al.js +0 -1242
  184. package/dist/vue-ui-donut-CvbfzzdT.js +0 -2427
  185. package/dist/vue-ui-funnel-Cx8hVlZV.js +0 -749
  186. package/dist/vue-ui-gauge-Copa7G58.js +0 -934
  187. package/dist/vue-ui-heatmap-BukWtNsd.js +0 -1613
  188. package/dist/vue-ui-horizontal-bar-bcPSs999.js +0 -1723
  189. package/dist/vue-ui-molecule-BiAI5lbh.js +0 -941
  190. package/dist/vue-ui-mood-radar-f4xXkiBs.js +0 -1111
  191. package/dist/vue-ui-parallel-coordinate-plot-BbfModz3.js +0 -1444
  192. package/dist/vue-ui-radar-BcD7Zqvb.js +0 -1386
  193. package/dist/vue-ui-relation-circle-DlN4r83K.js +0 -905
  194. package/dist/vue-ui-ridgeline-BlQnTWXi.js +0 -1630
  195. package/dist/vue-ui-scatter-arPbS9MH.js +0 -2418
  196. package/dist/vue-ui-sparkhistogram-3Tw8PEms.js +0 -589
  197. package/dist/vue-ui-stackbar-BTOvMsP8.js +0 -2755
  198. package/dist/vue-ui-strip-plot-BLNaCPm8.js +0 -1752
  199. package/dist/vue-ui-table-sparkline-BYuwQrwA.js +0 -738
  200. package/dist/vue-ui-thermometer-BwJ0oF-H.js +0 -758
@@ -1,10 +1,10 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, A as n, G as r, I as i, Jt as a, K as o, Kt as s, L as c, Mt as l, N as u, P as d, R as f, Rt as p, S as ee, Tt as te, U as ne, W as re, X as ie, at as ae, ct as oe, d as se, i as ce, k as le, m as ue, qt as de, t as fe, tn as pe, ut as me, vt as he } from "./lib-TWIH5fGr.js";
2
+ import { $ as t, A as n, Et as r, G as i, I as a, Jt as o, K as s, L as c, N as l, Nt as u, P as d, R as f, S as p, U as ee, W as te, X as ne, Yt as re, at as ie, d as ae, dt as oe, i as se, k as ce, lt as le, m as ue, nn as de, qt as fe, t as pe, yt as me, zt as he } from "./lib-D4wK6ljP.js";
3
3
  import { n as ge, t as _e } from "./useHints-Dq_w2E8B.js";
4
4
  import { t as ve } from "./useTimeLabels-d2f-W1L4.js";
5
- import { t as ye } from "./useConfig-DObkR9Aa.js";
5
+ import { t as ye } from "./useConfig-D_6ZrPMD.js";
6
6
  import { n as be, t as xe } from "./BaseScanner-Dzc8VT3j.js";
7
- import { t as Se } from "./useNestedProp-BxOdWM0c.js";
7
+ import { t as Se } from "./useNestedProp-DR_8JPol.js";
8
8
  import { t as Ce } from "./useThemeCheck-C43Tcqmk.js";
9
9
  import { t as we } from "./_plugin-vue_export-helper-B3ysoDQm.js";
10
10
  import { l as Te, t as Ee } from "./useResponsive-ZtArZtUf.js";
@@ -729,7 +729,7 @@ var U = ["innerHTML"], St = {
729
729
  "update:zoomState"
730
730
  ],
731
731
  setup(e, { expose: we, emit: Je }) {
732
- let Ye = Fe(() => import("./PackageVersion-CslTvFsC.js").then((e) => e.t)), Xe = Fe(() => import("./SparkTooltip-D4cRlyuq.js")), { vue_ui_sparkline: Ze } = ye(), { isThemeValid: Qe, warnInvalidTheme: $e } = Ce(), et = Ae(), T = e, tt = h(() => Array.isArray(T.dataset) && T.dataset.length > 0), E = x(ie()), rt = x(null), it = x(null), at = x(null), D = x(null), O = x(null), k = x(void 0), A = x(void 0), j = x(ut()), M = h(() => j.value.style.tooltip), ot = h(() => j.value.style.bar), N = h(() => j.value.style.line), P = h(() => j.value.style.area), F = h(() => j.value.style.dataLabel), I = h(() => j.value.style), L = h(() => j.value.style.zoom);
732
+ let Ye = Fe(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), Xe = Fe(() => import("./SparkTooltip-D35KVv6N.js")), { vue_ui_sparkline: Ze } = ye(), { isThemeValid: Qe, warnInvalidTheme: $e } = Ce(), et = Ae(), T = e, tt = h(() => Array.isArray(T.dataset) && T.dataset.length > 0), E = x(ne()), rt = x(null), it = x(null), at = x(null), D = x(null), O = x(null), k = x(void 0), A = x(void 0), j = x(ut()), M = h(() => j.value.style.tooltip), ot = h(() => j.value.style.bar), N = h(() => j.value.style.line), P = h(() => j.value.style.area), F = h(() => j.value.style.dataLabel), I = h(() => j.value.style), L = h(() => j.value.style.zoom);
733
733
  ge({
734
734
  config: () => j.value,
735
735
  dataset: () => T.dataset,
@@ -758,12 +758,12 @@ var U = ["innerHTML"], St = {
758
758
  return T.config?.skeletonDataset && Array.isArray(T.config.skeletonDataset) ? T.config.skeletonDataset.map((e) => ({
759
759
  period: "-",
760
760
  value: e
761
- })) : oe(e).map((e) => ({
761
+ })) : le(e).map((e) => ({
762
762
  period: "-",
763
763
  value: e
764
764
  }));
765
765
  }
766
- let ct = h(() => pe({
766
+ let ct = h(() => de({
767
767
  defaultConfig: {
768
768
  gradientPath: { show: !1 },
769
769
  temperatureColors: { show: !1 },
@@ -795,7 +795,7 @@ var U = ["innerHTML"], St = {
795
795
  });
796
796
  },
797
797
  skeletonDataset: st(12),
798
- skeletonConfig: pe({
798
+ skeletonConfig: de({
799
799
  defaultConfig: j.value,
800
800
  userConfig: ct.value
801
801
  })
@@ -925,7 +925,7 @@ var U = ["innerHTML"], St = {
925
925
  ...t,
926
926
  __sourceIndex: e + n
927
927
  }));
928
- }), mn = h(() => l({
928
+ }), mn = h(() => u({
929
929
  data: pn.value,
930
930
  threshold: j.value.downsample.threshold
931
931
  }));
@@ -944,7 +944,7 @@ var U = ["innerHTML"], St = {
944
944
  }, xt.value = {
945
945
  start: 0,
946
946
  end: null
947
- }, Yn(), K.value = l({
947
+ }, Yn(), K.value = u({
948
948
  data: pn.value.map((e) => ({
949
949
  ...e,
950
950
  value: [void 0].includes(e.value) ? null : e.value
@@ -956,7 +956,7 @@ var U = ["innerHTML"], St = {
956
956
  }, { deep: !0 });
957
957
  let K = x(hn());
958
958
  function hn() {
959
- return l({
959
+ return u({
960
960
  data: pn.value.map((e) => I.value.animation.show && z.value.length > 1 ? {
961
961
  ...e,
962
962
  value: null
@@ -1023,23 +1023,23 @@ var U = ["innerHTML"], St = {
1023
1023
  }
1024
1024
  let jn = h(() => j.value.debug);
1025
1025
  function Mn() {
1026
- if (p(T.dataset) ? (ae({
1026
+ if (he(T.dataset) ? (ie({
1027
1027
  componentName: "VueUiSparkline",
1028
1028
  type: "dataset",
1029
1029
  debug: jn.value
1030
1030
  }), lt.value = !0) : jn.value && T.dataset.forEach((e, t) => {
1031
- he({
1031
+ me({
1032
1032
  datasetObject: e,
1033
1033
  requiredAttributes: ["period", "value"]
1034
1034
  }).forEach((e) => {
1035
- ae({
1035
+ ie({
1036
1036
  componentName: "VueUiSparkline",
1037
1037
  type: "datasetSerieAttribute",
1038
1038
  property: e,
1039
1039
  index: t
1040
1040
  });
1041
1041
  });
1042
- }), p(T.dataset) || (lt.value = j.value.loading), j.value.responsive) {
1042
+ }), he(T.dataset) || (lt.value = j.value.loading), j.value.responsive) {
1043
1043
  let e = Te(() => {
1044
1044
  let { width: e, height: t } = Ee({
1045
1045
  chart: rt.value,
@@ -1380,7 +1380,7 @@ var U = ["innerHTML"], St = {
1380
1380
  })();
1381
1381
  });
1382
1382
  let X = h(() => {
1383
- let e = K.value.length, t = Y.value.width / fr.value, n = Math.max(0, Y.value.start), r = Math.min(q.value.width, Y.value.right, Y.value.start + Y.value.width), i = Math.max(0, r - n), o = e > 0 ? i / e : 0;
1383
+ let e = K.value.length, t = Y.value.width / fr.value, n = Math.max(0, Y.value.start), r = Math.min(q.value.width, Y.value.right, Y.value.start + Y.value.width), i = Math.max(0, r - n), a = e > 0 ? i / e : 0;
1384
1384
  return K.value.map((e, r) => {
1385
1385
  let i = isNaN(e.value) || [
1386
1386
  void 0,
@@ -1388,7 +1388,7 @@ var U = ["innerHTML"], St = {
1388
1388
  NaN,
1389
1389
  Infinity,
1390
1390
  -Infinity
1391
- ].includes(e.value) ? 0 : e.value, s = n + r * o, c = Z.value ? o : t, l = Z.value ? s + o / 2 : Y.value.start + r * t;
1391
+ ].includes(e.value) ? 0 : e.value, o = n + r * a, s = Z.value ? a : t, c = Z.value ? o + a / 2 : Y.value.start + r * t;
1392
1392
  return {
1393
1393
  value: e.value,
1394
1394
  absoluteValue: i,
@@ -1396,12 +1396,12 @@ var U = ["innerHTML"], St = {
1396
1396
  plotValue: i + cr.value,
1397
1397
  toMax: dr(i + cr.value),
1398
1398
  sourceIndex: e.__sourceIndex ?? r,
1399
- x: l,
1400
- barX: s,
1399
+ x: c,
1400
+ barX: o,
1401
1401
  y: Y.value.bottom - Y.value.height * dr(i + cr.value),
1402
1402
  id: `plot_${E.value}_${r}`,
1403
- color: Z.value ? ot.value.color : P.value.useGradient ? a(N.value.color, .05 * (1 - r / fr.value)) : N.value.color,
1404
- width: c
1403
+ color: Z.value ? ot.value.color : P.value.useGradient ? re(N.value.color, .05 * (1 - r / fr.value)) : N.value.color,
1404
+ width: s
1405
1405
  };
1406
1406
  });
1407
1407
  }), hr = h(() => {
@@ -1436,7 +1436,7 @@ var U = ["innerHTML"], St = {
1436
1436
  sum: t,
1437
1437
  average: t / X.value.length,
1438
1438
  median: ue(e),
1439
- trend: se(X.value.map(({ x: e, y: t, absoluteValue: n }) => ({
1439
+ trend: ae(X.value.map(({ x: e, y: t, absoluteValue: n }) => ({
1440
1440
  x: e,
1441
1441
  y: t,
1442
1442
  value: n
@@ -1511,14 +1511,14 @@ var U = ["innerHTML"], St = {
1511
1511
  }
1512
1512
  return t;
1513
1513
  }
1514
- let Pr = h(() => Q.value ? /* @__PURE__ */ new Set() : Mr(Or.value)), Fr = h(() => Nr(Or.value)), Ir = h(() => /* @__PURE__ */ new Set([...Pr.value, ...Fr.value])), Lr = h(() => Q.value ? X.value.reduce((e, t, n) => (Ar.value.has(t.sourceIndex) && e.push(n), e), []) : []), Rr = h(() => Q.value ? Lr.value.length > 0 : Ir.value.size > 0), zr = h(() => X.value.filter((e) => e.value !== null)), Br = h(() => zr.value.length > 1), Vr = h(() => Z.value || !Br.value ? "" : Q.value ? i(X.value) : d(Or.value)), Hr = h(() => Z.value || !Br.value ? "" : Q.value ? re(X.value) : ne(Or.value)), Ur = h(() => Z.value || !Rr.value || !Br.value ? [] : Q.value ? c(X.value, Lr.value) : f(Or.value, Ir.value)), Wr = h(() => Z.value || !Rr.value || !Br.value ? [] : Q.value ? r(X.value, Lr.value) : o(Or.value, Ir.value)), Gr = h(() => Z.value || !P.value.show || !Br.value ? [] : N.value.smooth ? u(Or.value, Y.value.bottom, Q.value).filter(Boolean) : (Q.value ? n(X.value, Y.value.bottom) : le(Or.value, Y.value.bottom)).split(";").filter(Boolean).map((e) => `M${e}Z`)), Kr = h(() => Z.value || !j.value.gradientPath.show || j.value.temperatureColors.show ? "" : `M ${(N.value.smooth ? Vr.value : Hr.value) || "0,0"}`), qr = h(() => {
1514
+ let Pr = h(() => Q.value ? /* @__PURE__ */ new Set() : Mr(Or.value)), Fr = h(() => Nr(Or.value)), Ir = h(() => /* @__PURE__ */ new Set([...Pr.value, ...Fr.value])), Lr = h(() => Q.value ? X.value.reduce((e, t, n) => (Ar.value.has(t.sourceIndex) && e.push(n), e), []) : []), Rr = h(() => Q.value ? Lr.value.length > 0 : Ir.value.size > 0), zr = h(() => X.value.filter((e) => e.value !== null)), Br = h(() => zr.value.length > 1), Vr = h(() => Z.value || !Br.value ? "" : Q.value ? a(X.value) : d(Or.value)), Hr = h(() => Z.value || !Br.value ? "" : Q.value ? te(X.value) : ee(Or.value)), Ur = h(() => Z.value || !Rr.value || !Br.value ? [] : Q.value ? c(X.value, Lr.value) : f(Or.value, Ir.value)), Wr = h(() => Z.value || !Rr.value || !Br.value ? [] : Q.value ? i(X.value, Lr.value) : s(Or.value, Ir.value)), Gr = h(() => Z.value || !P.value.show || !Br.value ? [] : N.value.smooth ? l(Or.value, Y.value.bottom, Q.value).filter(Boolean) : (Q.value ? n(X.value, Y.value.bottom) : ce(Or.value, Y.value.bottom)).split(";").filter(Boolean).map((e) => `M${e}Z`)), Kr = h(() => Z.value || !j.value.gradientPath.show || j.value.temperatureColors.show ? "" : `M ${(N.value.smooth ? Vr.value : Hr.value) || "0,0"}`), qr = h(() => {
1515
1515
  if (!j.value.temperatureColors.show) return null;
1516
1516
  let e = j.value.temperatureColors.colors;
1517
- return !Array.isArray(e) || !e.length ? null : e.map((e) => ee(e));
1517
+ return !Array.isArray(e) || !e.length ? null : e.map((e) => p(e));
1518
1518
  }), $ = h(() => {
1519
1519
  if (!j.value.temperatureColors.show) return null;
1520
1520
  let e = j.value.temperatureColors.colors;
1521
- return !Array.isArray(e) || !e.length ? null : e.map((e) => ee(e));
1521
+ return !Array.isArray(e) || !e.length ? null : e.map((e) => p(e));
1522
1522
  });
1523
1523
  function Jr(e) {
1524
1524
  if (!Number.isFinite(e?.y)) return 0;
@@ -1527,7 +1527,7 @@ var U = ["innerHTML"], St = {
1527
1527
  }
1528
1528
  function Yr(e) {
1529
1529
  let t = qr.value;
1530
- return !Array.isArray(t) || !t.length ? e.color : te({
1530
+ return !Array.isArray(t) || !t.length ? e.color : r({
1531
1531
  colors: t,
1532
1532
  ratio: Jr(e)
1533
1533
  });
@@ -1656,7 +1656,7 @@ var U = ["innerHTML"], St = {
1656
1656
  ref_key: "svgRef",
1657
1657
  ref: B,
1658
1658
  class: Le({ "vue-ui-sparkline-pointer-focus": Ct.value }),
1659
- xmlns: C(fe),
1659
+ xmlns: C(pe),
1660
1660
  viewBox: `0 0 ${q.value.width} ${q.value.height}`,
1661
1661
  style: ze({
1662
1662
  background: I.value.backgroundColor,
@@ -1697,11 +1697,11 @@ var U = ["innerHTML"], St = {
1697
1697
  id: `sparkline_gradient_${E.value}`,
1698
1698
  stops: [[
1699
1699
  "0%",
1700
- C(de)(C(a)(P.value.color, .05), P.value.opacity),
1700
+ C(o)(C(re)(P.value.color, .05), P.value.opacity),
1701
1701
  1
1702
1702
  ], [
1703
1703
  "100%",
1704
- C(de)(P.value.color, P.value.opacity),
1704
+ C(o)(P.value.color, P.value.opacity),
1705
1705
  1
1706
1706
  ]]
1707
1707
  }, null, 8, ["id", "stops"]),
@@ -1716,7 +1716,7 @@ var U = ["innerHTML"], St = {
1716
1716
  1
1717
1717
  ], [
1718
1718
  "100%",
1719
- C(a)(ot.value.color, .05),
1719
+ C(re)(ot.value.color, .05),
1720
1720
  1
1721
1721
  ]]
1722
1722
  }, null, 8, ["id", "stops"]),
@@ -1727,7 +1727,7 @@ var U = ["innerHTML"], St = {
1727
1727
  id: `sparkline_bar_gradient_neg_${E.value}`,
1728
1728
  stops: [[
1729
1729
  "0%",
1730
- C(a)(ot.value.color, .05),
1730
+ C(re)(ot.value.color, .05),
1731
1731
  1
1732
1732
  ], [
1733
1733
  "100%",
@@ -1758,7 +1758,7 @@ var U = ["innerHTML"], St = {
1758
1758
  }, [(b(!0), _(m, null, S($.value, (e, t) => (b(), _("stop", {
1759
1759
  key: `temperature_grad_stop_${t}_${E.value}`,
1760
1760
  "stop-color": e,
1761
- offset: $.value.length === 1 ? "0%" : C(s)(t, $.value.length)
1761
+ offset: $.value.length === 1 ? "0%" : C(fe)(t, $.value.length)
1762
1762
  }, null, 8, jt))), 128))], 8, At)) : g("", !0),
1763
1763
  v("clipPath", { id: `sparkline_zoom_clip_${E.value}` }, [v("rect", {
1764
1764
  x: Y.value.start - 4,
@@ -1780,7 +1780,7 @@ var U = ["innerHTML"], St = {
1780
1780
  class: "vue-ui-sparkline-area",
1781
1781
  "data-cy": N.value.smooth ? "sparkline-smooth-area" : "sparkline-angle-area",
1782
1782
  d: e,
1783
- fill: P.value.useGradient ? `url(#sparkline_gradient_${E.value})` : C(de)(P.value.color, P.value.opacity),
1783
+ fill: P.value.useGradient ? `url(#sparkline_gradient_${E.value})` : C(o)(P.value.color, P.value.opacity),
1784
1784
  "stroke-linecap": "round",
1785
1785
  "stroke-linejoin": "round"
1786
1786
  }, null, 8, It))), 128))])) : g("", !0),
@@ -1905,8 +1905,8 @@ var U = ["innerHTML"], St = {
1905
1905
  key: 5,
1906
1906
  x1: Y.value.start,
1907
1907
  x2: Y.value.start + Y.value.width,
1908
- y1: C(me)(ur.value, Y.value.bottom),
1909
- y2: C(me)(ur.value, Y.value.bottom),
1908
+ y1: C(oe)(ur.value, Y.value.bottom),
1909
+ y2: C(oe)(ur.value, Y.value.bottom),
1910
1910
  stroke: I.value.zeroLine.color,
1911
1911
  "stroke-dasharray": I.value.zeroLine.strokeWidth * 2,
1912
1912
  "stroke-width": I.value.zeroLine.strokeWidth,
@@ -1947,12 +1947,12 @@ var U = ["innerHTML"], St = {
1947
1947
  "font-size": F.value.fontSize,
1948
1948
  "font-weight": F.value.bold ? "bold" : "normal",
1949
1949
  fill: F.value.color
1950
- }, We(k.value ? C(ce)(F.value.formatter, k.value.absoluteValue, C(t)({
1950
+ }, We(k.value ? C(se)(F.value.formatter, k.value.absoluteValue, C(t)({
1951
1951
  p: F.value.prefix,
1952
1952
  v: k.value.absoluteValue,
1953
1953
  s: F.value.suffix,
1954
1954
  r: F.value.roundingValue
1955
- }), { datapoint: k.value }) : C(ce)(F.value.formatter, br.value, C(t)({
1955
+ }), { datapoint: k.value }) : C(se)(F.value.formatter, br.value, C(t)({
1956
1956
  p: F.value.prefix,
1957
1957
  v: br.value,
1958
1958
  s: F.value.suffix,
@@ -2031,7 +2031,7 @@ var U = ["innerHTML"], St = {
2031
2031
  borderRadius: M.value.borderRadius,
2032
2032
  backgroundOpacity: M.value.backgroundOpacity
2033
2033
  }, {
2034
- default: qe(() => [He(n.$slots, "tooltip", Re(Ie({ ...k.value })), () => [Ne(We(k.value.period) + ": " + We(C(ce)(F.value.formatter, k.value.absoluteValue, C(t)({
2034
+ default: qe(() => [He(n.$slots, "tooltip", Re(Ie({ ...k.value })), () => [Ne(We(k.value.period) + ": " + We(C(se)(F.value.formatter, k.value.absoluteValue, C(t)({
2035
2035
  p: F.value.prefix,
2036
2036
  v: k.value.absoluteValue,
2037
2037
  s: F.value.suffix,
@@ -1,13 +1,13 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, $t as n, Et as r, Jt as i, Rt as a, S as o, Vt as s, X as c, at as ee, et as te, i as ne, qt as re, t as ie, tn as ae, vt as oe, w as se } from "./lib-TWIH5fGr.js";
2
+ import { $ as t, Dt as n, Ht as r, Jt as i, S as a, X as o, Yt as s, at as c, en as ee, et as te, i as ne, nn as re, t as ie, w as ae, yt as oe, zt as se } from "./lib-D4wK6ljP.js";
3
3
  import { n as ce, t as le } from "./useHints-Dq_w2E8B.js";
4
- import { t as ue } from "./useConfig-DObkR9Aa.js";
4
+ import { t as ue } from "./useConfig-D_6ZrPMD.js";
5
5
  import { n as de, t as fe } from "./BaseScanner-Dzc8VT3j.js";
6
- import { t as pe } from "./useNestedProp-BxOdWM0c.js";
6
+ import { t as pe } from "./useNestedProp-DR_8JPol.js";
7
7
  import { t as me } from "./useThemeCheck-C43Tcqmk.js";
8
8
  import { t as he } from "./_plugin-vue_export-helper-B3ysoDQm.js";
9
9
  import { t as ge } from "./DefGrad-DVBqDjhO.js";
10
- import { t as _e } from "./BaseLegendToggle-Doa5rYP2.js";
10
+ import { t as _e } from "./BaseLegendToggle-CP3sddwv.js";
11
11
  import { t as ve } from "./A11yDataTable-DdRsVULz.js";
12
12
  import { t as ye } from "./useChartAccessibility-DYqac8yF.js";
13
13
  import { t as be } from "./usePrefersMotion-BC-CsqR1.js";
@@ -96,7 +96,7 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
96
96
  },
97
97
  emits: ["selectDatapoint", "selectLegend"],
98
98
  setup(e, { expose: he, emit: ke }) {
99
- let Ye = Ce(() => import("./PackageVersion-CslTvFsC.js").then((e) => e.t)), Xe = Ce(() => import("./Tooltip-DmQeI5WE.js")), { vue_ui_sparkstackbar: Ze } = ue(), { isThemeValid: Qe, warnInvalidTheme: $e } = me(), et = be(), tt = Ee(), T = e, nt = b(null), E = b(c()), D = b(!1), rt = b(""), O = b(null), k = b(!1), A = b(null), it = b({
99
+ let Ye = Ce(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), Xe = Ce(() => import("./Tooltip-C4ZTwkLF.js")), { vue_ui_sparkstackbar: Ze } = ue(), { isThemeValid: Qe, warnInvalidTheme: $e } = me(), et = be(), tt = Ee(), T = e, nt = b(null), E = b(o()), D = b(!1), rt = b(""), O = b(null), k = b(!1), A = b(null), it = b({
100
100
  x: 0,
101
101
  y: 0
102
102
  }), j = b("pointer"), at = b(!1), M = b(null), ot = b([]), N = b(V()), P = u(() => N.value.style.bar), F = u(() => N.value.style.legend), I = u(() => N.value.style.tooltip), L = u(() => N.value.style), st = u(() => N.value.debug);
@@ -117,7 +117,7 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
117
117
  ]
118
118
  }]
119
119
  });
120
- let ct = u(() => N.value.useCursorPointer), lt = u(() => ae({
120
+ let ct = u(() => N.value.useCursorPointer), lt = u(() => re({
121
121
  defaultConfig: { style: {
122
122
  backgroundColor: "#99999930",
123
123
  animation: { show: !1 },
@@ -146,7 +146,7 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
146
146
  color: "#DBDBDB"
147
147
  }
148
148
  ],
149
- skeletonConfig: ae({
149
+ skeletonConfig: re({
150
150
  defaultConfig: N.value,
151
151
  userConfig: lt.value
152
152
  })
@@ -158,16 +158,16 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
158
158
  }), t = e.theme;
159
159
  if (!t) return e;
160
160
  if (!Qe.value(e)) return $e(e), e;
161
- let r = pe({
161
+ let n = pe({
162
162
  userConfig: xe[t] || T.config,
163
163
  defaultConfig: e
164
164
  }), i = pe({
165
165
  userConfig: T.config,
166
- defaultConfig: r
166
+ defaultConfig: n
167
167
  });
168
168
  return {
169
169
  ...i,
170
- customPalette: i.customPalette.length ? i.customPalette : n[t] || s
170
+ customPalette: i.customPalette.length ? i.customPalette : ee[t] || r
171
171
  };
172
172
  }
173
173
  function ut(e) {
@@ -187,44 +187,44 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
187
187
  }, { deep: !0 }), De(() => z.value, (e) => {
188
188
  U.value = z.value.map((e, t) => ({
189
189
  ...e,
190
- color: e.color ? o(e.color) : H.value[t] || s[t] || s[t % s.length]
190
+ color: e.color ? a(e.color) : H.value[t] || r[t] || r[t % r.length]
191
191
  })), ft();
192
192
  }, { deep: !0 });
193
- let H = u(() => se(N.value.customPalette)), U = b(z.value.map((e, t) => ({
193
+ let H = u(() => ae(N.value.customPalette)), U = b(z.value.map((e, t) => ({
194
194
  ...e,
195
195
  value: L.value.animation.show ? 0 : e.value || 0,
196
- color: e.color ? o(e.color) : H.value[t] || s[t] || s[t % s.length]
196
+ color: e.color ? a(e.color) : H.value[t] || r[t] || r[t % r.length]
197
197
  }))), W = b(!0);
198
198
  function ft() {
199
199
  if (!L.value.animation.show || et.value) {
200
200
  W.value = !1;
201
201
  return;
202
202
  }
203
- let e = L.value.animation.animationFrames, t = z.value.map((e) => e.value || 0), n = t.map((t) => t / e), r = t.reduce((e, t) => e + t, 0), i = 0;
203
+ let e = L.value.animation.animationFrames, t = z.value.map((e) => e.value || 0), n = t.map((t) => t / e), i = t.reduce((e, t) => e + t, 0), s = 0;
204
204
  W.value = !0, U.value = z.value.map((e, t) => ({
205
205
  ...e,
206
206
  value: 0,
207
- color: e.color ? o(e.color) : H.value[t] || s[t] || s[t % s.length]
207
+ color: e.color ? a(e.color) : H.value[t] || r[t] || r[t % r.length]
208
208
  }));
209
- function a() {
210
- i += r / e, i < r ? (U.value = U.value.map((e, r) => ({
209
+ function c() {
210
+ s += i / e, s < i ? (U.value = U.value.map((e, i) => ({
211
211
  ...e,
212
- value: Math.min(e.value + n[r], t[r]),
213
- color: e.color ? o(e.color) : H.value[r] || s[r] || s[r % s.length]
214
- })), requestAnimationFrame(a)) : (W.value = !1, U.value = z.value.map((e, n) => ({
212
+ value: Math.min(e.value + n[i], t[i]),
213
+ color: e.color ? a(e.color) : H.value[i] || r[i] || r[i % r.length]
214
+ })), requestAnimationFrame(c)) : (W.value = !1, U.value = z.value.map((e, n) => ({
215
215
  ...e,
216
216
  value: t[n],
217
- color: e.color ? o(e.color) : H.value[n] || s[n] || s[n % s.length],
218
- id: c()
217
+ color: e.color ? a(e.color) : H.value[n] || r[n] || r[n % r.length],
218
+ id: o()
219
219
  })));
220
220
  }
221
- a();
221
+ c();
222
222
  }
223
223
  we(() => {
224
224
  pt();
225
225
  });
226
226
  function pt() {
227
- a(T.dataset) ? ee({
227
+ se(T.dataset) ? c({
228
228
  componentName: "VueUiSparkStackbar",
229
229
  type: "dataset",
230
230
  debug: st.value
@@ -233,7 +233,7 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
233
233
  datasetObject: e,
234
234
  requiredAttributes: ["name", "value"]
235
235
  }).forEach((e) => {
236
- ee({
236
+ c({
237
237
  componentName: "VueUiSparkStackbar",
238
238
  type: "datasetSerieAttribute",
239
239
  property: e,
@@ -246,16 +246,16 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
246
246
  width: 500,
247
247
  height: 16
248
248
  }), K = b([]), mt = u(() => z.value.map((e) => e.value || 0).filter((e, t) => !K.value.includes(t)).reduce((e, t) => e + t, 0)), q = u(() => U.value.map((e, n) => {
249
- let r = e.value || 0, i = r / mt.value, a = isNaN(i) ? 0 : i, c = a * G.value.width;
249
+ let i = e.value || 0, o = i / mt.value, s = isNaN(o) ? 0 : o, c = s * G.value.width;
250
250
  return {
251
251
  ...e,
252
- color: o(z.value[n]?.color ? z.value[n]?.color : H.value[n] || s[n] || s[n % s.length]),
253
- value: r,
254
- proportion: a,
252
+ color: a(z.value[n]?.color ? z.value[n]?.color : H.value[n] || r[n] || r[n % r.length]),
253
+ value: i,
254
+ proportion: s,
255
255
  width: c,
256
256
  seriesIndex: n,
257
257
  proportionLabel: t({
258
- v: a * 100,
258
+ v: s * 100,
259
259
  s: "%",
260
260
  r: F.value.percentage.rounding
261
261
  })
@@ -309,19 +309,19 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
309
309
  seriesIndex: e.seriesIndex
310
310
  });
311
311
  }
312
- function Ct({ datapoint: e, seriesIndex: n, triggerMode: a = "pointer" }) {
312
+ function Ct({ datapoint: e, seriesIndex: r, triggerMode: a = "pointer" }) {
313
313
  if (k.value = !1, N.value.events.datapointEnter && N.value.events.datapointEnter({
314
314
  datapoint: e,
315
315
  seriesIndex: e.seriesIndex
316
316
  }), !I.value.show) return;
317
317
  j.value = a, O.value = {
318
318
  datapoint: e,
319
- seriesIndex: n,
319
+ seriesIndex: r,
320
320
  config: N.value,
321
321
  series: q.value
322
322
  }, D.value = !0, M.value = e.seriesIndex;
323
323
  let o = I.value.customFormat;
324
- if (r(o)) try {
324
+ if (n(o)) try {
325
325
  let t = o({
326
326
  seriesIndex: e.seriesIndex,
327
327
  datapoint: e,
@@ -333,16 +333,16 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
333
333
  console.warn("Custom format cannot be applied."), k.value = !1;
334
334
  }
335
335
  if (!k.value) {
336
- let r = "", a = P.value.gradient.show, o = `tooltip_grad_${n}_${E.value}`, s = re(i(e.color, .05), 100 - P.value.gradient.intensity), c = a ? `<rect x="0" y="0" width="10" height="10" rx="${Q.value}" fill="${P.value.gradient.underlayerColor}"/>` : "", ee = a ? `<defs><radialGradient id="${o}"><stop offset="0%" stop-color="${s}"/><stop offset="100%" stop-color="${e.color}"/></radialGradient></defs>` : "";
337
- r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${I.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 10 10" height="14" width="14">${ee}${c}<rect x="0" y="0" width="10" height="10" rx="${Q.value}" fill="${a ? `url(#${o})` : e.color}"/></svg>`, r += `<b>${e.proportionLabel}</b>`, r += `<span>(${ne(F.value.value.formatter, e.value, t({
336
+ let n = "", a = P.value.gradient.show, o = `tooltip_grad_${r}_${E.value}`, c = i(s(e.color, .05), 100 - P.value.gradient.intensity), ee = a ? `<rect x="0" y="0" width="10" height="10" rx="${Q.value}" fill="${P.value.gradient.underlayerColor}"/>` : "", te = a ? `<defs><radialGradient id="${o}"><stop offset="0%" stop-color="${c}"/><stop offset="100%" stop-color="${e.color}"/></radialGradient></defs>` : "";
337
+ n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${I.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 10 10" height="14" width="14">${te}${ee}<rect x="0" y="0" width="10" height="10" rx="${Q.value}" fill="${a ? `url(#${o})` : e.color}"/></svg>`, n += `<b>${e.proportionLabel}</b>`, n += `<span>(${ne(F.value.value.formatter, e.value, t({
338
338
  p: F.value.value.prefix,
339
339
  v: e.value,
340
340
  s: F.value.value.suffix,
341
341
  r: F.value.value.rounding
342
342
  }), {
343
343
  datapoint: e,
344
- seriesIndex: n
345
- })})</span>`, rt.value = `<div>${r}</div>`;
344
+ seriesIndex: r
345
+ })})</span>`, rt.value = `<div>${n}</div>`;
346
346
  }
347
347
  }
348
348
  let wt = u(() => {
@@ -512,7 +512,7 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
512
512
  ],
513
513
  [
514
514
  "50%",
515
- w(re)(w(i)(e.color, .05), 100 - P.value.gradient.intensity),
515
+ w(i)(w(s)(e.color, .05), 100 - P.value.gradient.intensity),
516
516
  1
517
517
  ],
518
518
  [
@@ -650,7 +650,7 @@ var ke = /* @__PURE__ */ e({ default: () => Ye }), Ae = ["id"], je = { style: {
650
650
  id: `legend_grad_${n}-${E.value}`,
651
651
  stops: [[
652
652
  "0%",
653
- w(R) ? "#FFFFFF" : w(re)(w(i)(e.color, .05), 100 - P.value.gradient.intensity),
653
+ w(R) ? "#FFFFFF" : w(i)(w(s)(e.color, .05), 100 - P.value.gradient.intensity),
654
654
  1
655
655
  ], [
656
656
  "100%",