vue-data-ui 3.23.0 → 3.23.1

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 (194) hide show
  1. package/dist/{Arrow-o2qHNvrC.js → Arrow-CF0VFcBH.js} +1 -1
  2. package/dist/{BaseDraggableDialog-qTnfhLBz.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
  3. package/dist/{BaseIcon-91MZoczJ.js → BaseIcon-BfndwIWE.js} +1 -1
  4. package/dist/{BaseLegendToggle-CtAPwzr2.js → BaseLegendToggle-DZVucLnv.js} +1 -1
  5. package/dist/{BaseZoomControls-rdzlicuz.js → BaseZoomControls-BZvCnZEi.js} +2 -2
  6. package/dist/{ColorPicker-CIAkdPrj.js → ColorPicker--ayG2YHf.js} +2 -2
  7. package/dist/{DataTable-D4tM9s5Y.js → DataTable-BbKgJ5UI.js} +2 -2
  8. package/dist/{HillActions-BWhxHlrj.js → HillActions-BD9j_sOU.js} +1 -1
  9. package/dist/{Legend-CQTRlzK-.js → Legend-CQxUgOd-.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-Cawacw1W.js → NonSvgPenAndPaper-4ypecDg1.js} +6 -6
  11. package/dist/{PackageVersion--QCMh5k_.js → PackageVersion-D6d8SCp9.js} +1 -1
  12. package/dist/{PenAndPaper-cE4J8-rA.js → PenAndPaper-DAE-tnEQ.js} +6 -6
  13. package/dist/{Shape-BPMV94Ij.js → Shape-C21CMlWS.js} +1 -1
  14. package/dist/Slicer-CIk57nL4.js +1163 -0
  15. package/dist/SlicerPreview-wUw1hFwe.js +1703 -0
  16. package/dist/{SparkTooltip-BaYtEKS6.js → SparkTooltip-CjsbIhzi.js} +1 -1
  17. package/dist/{Title-BODtwViI.js → Title-BE3qg9xl.js} +1 -1
  18. package/dist/{Tooltip-CMTGxeYO.js → Tooltip-DhjyfHwz.js} +2 -2
  19. package/dist/{UserOptions-3ujTo3LD.js → UserOptions-Dt98of5H.js} +2 -2
  20. package/dist/components/arrow.js +1 -1
  21. package/dist/components/vue-ui-3d-bar.js +1 -1
  22. package/dist/components/vue-ui-accordion.js +1 -1
  23. package/dist/components/vue-ui-age-pyramid.js +1 -1
  24. package/dist/components/vue-ui-annotator.js +1 -1
  25. package/dist/components/vue-ui-bullet.js +1 -1
  26. package/dist/components/vue-ui-bump.js +1 -1
  27. package/dist/components/vue-ui-candlestick.js +1 -1
  28. package/dist/components/vue-ui-carousel-table.js +1 -1
  29. package/dist/components/vue-ui-chestnut.js +1 -1
  30. package/dist/components/vue-ui-chord.js +1 -1
  31. package/dist/components/vue-ui-circle-pack.js +1 -1
  32. package/dist/components/vue-ui-cursor.js +1 -1
  33. package/dist/components/vue-ui-dag.js +1 -1
  34. package/dist/components/vue-ui-dashboard.js +1 -1
  35. package/dist/components/vue-ui-digits.js +1 -1
  36. package/dist/components/vue-ui-donut-evolution.js +1 -1
  37. package/dist/components/vue-ui-donut.js +1 -1
  38. package/dist/components/vue-ui-dumbbell.js +1 -1
  39. package/dist/components/vue-ui-flow.js +1 -1
  40. package/dist/components/vue-ui-funnel.js +1 -1
  41. package/dist/components/vue-ui-galaxy.js +1 -1
  42. package/dist/components/vue-ui-gauge.js +1 -1
  43. package/dist/components/vue-ui-geo.js +1 -1
  44. package/dist/components/vue-ui-gizmo.js +1 -1
  45. package/dist/components/vue-ui-heatmap.js +1 -1
  46. package/dist/components/vue-ui-hill.js +1 -1
  47. package/dist/components/vue-ui-history-plot.js +1 -1
  48. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  49. package/dist/components/vue-ui-icon.js +1 -1
  50. package/dist/components/vue-ui-kpi.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/composables.js +1 -1
  91. package/dist/{dom-to-png-4tdMNGPX.js → dom-to-png-BYIvdTe8.js} +1 -1
  92. package/dist/{exposedLib-DWLRqRhv.js → exposedLib-C0DPCgFj.js} +7 -4
  93. package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
  94. package/dist/{img-DIQG5q8T.js → img-Bnokohej.js} +1 -1
  95. package/dist/{labelUtils-C5lnc_xc.js → labelUtils-BeVpDvTJ.js} +1 -1
  96. package/dist/{lib-BuMGJ_a0.js → lib-Bttd6u5E.js} +21 -11
  97. package/dist/{package-BMc_ZieJ.js → package-KvlL5CqE.js} +1 -1
  98. package/dist/{pdf-Cnz4NKM9.js → pdf-CVIDfCrS.js} +1 -1
  99. package/dist/{render-common-Ktg2LZFG.js → render-common-oDYGTc5P.js} +2 -2
  100. package/dist/ssr/vue-ui-donut.js +1 -1
  101. package/dist/ssr/vue-ui-xy.js +1 -1
  102. package/dist/ssr.js +2 -2
  103. package/dist/style.css +1 -1
  104. package/dist/types/vue-data-ui.d.ts +3 -0
  105. package/dist/{useConfig-BilxnBNr.js → useConfig-D3scuR88.js} +7 -1
  106. package/dist/{useNestedProp--NSEmhOH.js → useNestedProp-vPNvh7rV.js} +5 -3
  107. package/dist/{useObjectBindings-Cwq7NcQz.js → useObjectBindings-Brg8mm5J.js} +1 -1
  108. package/dist/{usePrinter-BFvi4jVy.js → usePrinter-DN5bYhTG.js} +2 -2
  109. package/dist/{useSvgExport-Ba9qBr9M.js → useSvgExport-DH-FfcqQ.js} +1 -1
  110. package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
  111. package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
  112. package/dist/utils.js +3 -3
  113. package/dist/{vue-data-ui-EsawKe_W.js → vue-data-ui-DGWDPCwC.js} +69 -69
  114. package/dist/vue-data-ui.js +74 -74
  115. package/dist/{vue-ui-3d-bar-RSUS2xpL.js → vue-ui-3d-bar-C_Su9fve.js} +45 -45
  116. package/dist/{vue-ui-accordion-61MlW-Ge.js → vue-ui-accordion-BxGriZik.js} +4 -4
  117. package/dist/{vue-ui-age-pyramid-CgnPWA93.js → vue-ui-age-pyramid-D4k1MkAL.js} +41 -40
  118. package/dist/{vue-ui-annotator-DBRT85HG.js → vue-ui-annotator-CCtnM8Rv.js} +41 -68
  119. package/dist/{vue-ui-bullet-Bc3-WaN1.js → vue-ui-bullet-DLZr2Uk8.js} +21 -21
  120. package/dist/{vue-ui-bump-Dvv3iSKr.js → vue-ui-bump-CcdzJZ9n.js} +32 -32
  121. package/dist/{vue-ui-candlestick-DvvsrIdp.js → vue-ui-candlestick-EEEt7ORC.js} +50 -48
  122. package/dist/{vue-ui-carousel-table-DtsNVim8.js → vue-ui-carousel-table-BicIpNAD.js} +8 -8
  123. package/dist/vue-ui-chestnut-BI7mC5dd.js +2068 -0
  124. package/dist/{vue-ui-chord-xX5gWZy8.js → vue-ui-chord-DXaq8ZMu.js} +46 -46
  125. package/dist/{vue-ui-circle-pack-D8wykmqg.js → vue-ui-circle-pack-XHJBMG51.js} +362 -341
  126. package/dist/{vue-ui-cursor-CxgE6Phh.js → vue-ui-cursor-BqHr0n1Z.js} +4 -4
  127. package/dist/{vue-ui-dag-C9Sf9vH7.js → vue-ui-dag-jMLVoQkb.js} +715 -720
  128. package/dist/{vue-ui-dashboard-bGmaglAj.js → vue-ui-dashboard-DVAUFETR.js} +70 -70
  129. package/dist/{vue-ui-digits-DgDE-_Fn.js → vue-ui-digits-Dy4gG6qm.js} +5 -5
  130. package/dist/{vue-ui-donut-B_n6wF6B.js → vue-ui-donut-C0cWRLbU.js} +48 -47
  131. package/dist/{vue-ui-donut-Bmo149AR.js → vue-ui-donut-CYpxGBhl.js} +18 -17
  132. package/dist/{vue-ui-donut-evolution-D6vH_hfx.js → vue-ui-donut-evolution-DwR47A2r.js} +58 -53
  133. package/dist/{vue-ui-dumbbell-BX4Ao_wR.js → vue-ui-dumbbell-DxVbRjKR.js} +85 -85
  134. package/dist/{vue-ui-flow-Bshw8pT_.js → vue-ui-flow-DWaZF4FS.js} +37 -37
  135. package/dist/{vue-ui-funnel-CjYosIik.js → vue-ui-funnel-Bmpx5GHR.js} +24 -24
  136. package/dist/{vue-ui-galaxy-CvXgy-dy.js → vue-ui-galaxy-CWBP9oH9.js} +151 -151
  137. package/dist/{vue-ui-gauge-CByT0_vF.js → vue-ui-gauge-ByE_txav.js} +20 -20
  138. package/dist/{vue-ui-geo-C-gSZL2q.js → vue-ui-geo-ZA7CBy8f.js} +186 -186
  139. package/dist/{vue-ui-gizmo-CJdxyPID.js → vue-ui-gizmo-SQCou0bQ.js} +4 -4
  140. package/dist/{vue-ui-heatmap-DEEKv8ip.js → vue-ui-heatmap-CHd9gs_p.js} +385 -385
  141. package/dist/vue-ui-hill-BT183G-_.js +1768 -0
  142. package/dist/{vue-ui-history-plot-BhcU94Pt.js → vue-ui-history-plot-BwnlC1mx.js} +511 -510
  143. package/dist/{vue-ui-horizontal-bar-CfFye5tL.js → vue-ui-horizontal-bar-BUar2HUH.js} +235 -235
  144. package/dist/{vue-ui-kpi-DCBnNfTb.js → vue-ui-kpi-BF_9WWoo.js} +4 -4
  145. package/dist/{vue-ui-mini-loader-CtWpqnLW.js → vue-ui-mini-loader-CvfukjXi.js} +3 -3
  146. package/dist/vue-ui-molecule-Bi2CKHer.js +958 -0
  147. package/dist/{vue-ui-mood-radar-sl6DMxqR.js → vue-ui-mood-radar-_zpbmvJs.js} +50 -50
  148. package/dist/{vue-ui-nested-donuts-aS4YzaB3.js → vue-ui-nested-donuts-qHZAJ70u.js} +43 -43
  149. package/dist/vue-ui-onion-CB5RYIy5.js +1258 -0
  150. package/dist/{vue-ui-parallel-coordinate-plot-DE9wTmQQ.js → vue-ui-parallel-coordinate-plot-BUwt-apg.js} +54 -54
  151. package/dist/{vue-ui-quadrant-SaY_RPSE.js → vue-ui-quadrant-CoROD3er.js} +74 -74
  152. package/dist/{vue-ui-quick-chart-CJ9rejnj.js → vue-ui-quick-chart-BcH7eY4-.js} +96 -88
  153. package/dist/{vue-ui-radar-CaNen5Fj.js → vue-ui-radar-DGbaXGme.js} +191 -191
  154. package/dist/{vue-ui-rating--K7rX2an.js → vue-ui-rating-Bo3zD3yW.js} +3 -3
  155. package/dist/{vue-ui-relation-circle-FLs8vOxQ.js → vue-ui-relation-circle-DaU1eTsG.js} +32 -32
  156. package/dist/vue-ui-ridgeline-BCaGcyfk.js +1664 -0
  157. package/dist/{vue-ui-rings-BevKD8P-.js → vue-ui-rings-BJUBn8_b.js} +40 -40
  158. package/dist/{vue-ui-scatter-CNA7jF-o.js → vue-ui-scatter-Pcft1bUt.js} +50 -50
  159. package/dist/{vue-ui-skeleton-B9ZP1w-i.js → vue-ui-skeleton-EeJcGbCo.js} +4 -4
  160. package/dist/{vue-ui-smiley-DYnqqk6u.js → vue-ui-smiley-D0gibt5c.js} +3 -3
  161. package/dist/{vue-ui-spark-trend-R0ebpg-G.js → vue-ui-spark-trend-BRoQ7JpQ.js} +11 -11
  162. package/dist/{vue-ui-sparkbar-DYC3By0v.js → vue-ui-sparkbar-DFp2k7-7.js} +4 -4
  163. package/dist/{vue-ui-sparkgauge-Bw6no-In.js → vue-ui-sparkgauge-D0Bq85Hs.js} +4 -4
  164. package/dist/{vue-ui-sparkhistogram-DvRKy8rq.js → vue-ui-sparkhistogram-BPln7v63.js} +13 -13
  165. package/dist/{vue-ui-sparkline-Dz1uzBos.js → vue-ui-sparkline-C6Q45Dqp.js} +7 -6
  166. package/dist/{vue-ui-sparkstackbar-DlnPdZih.js → vue-ui-sparkstackbar-CjK4bcQg.js} +5 -5
  167. package/dist/{vue-ui-stackbar-B-THcavY.js → vue-ui-stackbar-Ca8EPf3e.js} +83 -80
  168. package/dist/{vue-ui-stackline-3dBPoI0h.js → vue-ui-stackline-Pz5WWlWT.js} +189 -186
  169. package/dist/{vue-ui-strip-plot-ACeYOoHj.js → vue-ui-strip-plot-Dw4MGDSO.js} +66 -66
  170. package/dist/vue-ui-table-Bjg-ujJu.js +1352 -0
  171. package/dist/{vue-ui-table-heatmap-DVwMqzje.js → vue-ui-table-heatmap-ljeYW8Wc.js} +10 -10
  172. package/dist/{vue-ui-table-sparkline-CABJzK8p.js → vue-ui-table-sparkline-iRFmtK5S.js} +8 -8
  173. package/dist/{vue-ui-thermometer-CVQ-H69Q.js → vue-ui-thermometer-D8uiOaeA.js} +26 -26
  174. package/dist/{vue-ui-timer-Bm8LpsnI.js → vue-ui-timer-CYw983oL.js} +6 -6
  175. package/dist/vue-ui-tiremarks-CekiW2Ru.js +559 -0
  176. package/dist/{vue-ui-treemap-DP0Sx8Y8.js → vue-ui-treemap-h4VbnqPA.js} +77 -77
  177. package/dist/{vue-ui-waffle-iPpdk1Bm.js → vue-ui-waffle-cu0w_s6L.js} +41 -41
  178. package/dist/vue-ui-wheel-tLvJadk5.js +892 -0
  179. package/dist/{vue-ui-word-cloud-B2sxtel9.js → vue-ui-word-cloud-BjpGSsod.js} +68 -68
  180. package/dist/{vue-ui-world-BBQZLnzm.js → vue-ui-world-B4fCS3jN.js} +184 -184
  181. package/dist/{vue-ui-xy-DZj5DT-q.js → vue-ui-xy-7ZT9IRD8.js} +60 -60
  182. package/dist/{vue-ui-xy-canvas-BN2u0bOJ.js → vue-ui-xy-canvas-BnLEwBpi.js} +20 -18
  183. package/dist/{vue-ui-xy-ChZg7AtI.js → vue-ui-xy-gyNS0yH0.js} +329 -326
  184. package/package.json +4 -4
  185. package/dist/Slicer-5yIrdoJv.js +0 -1149
  186. package/dist/SlicerPreview-DvjLV2TW.js +0 -1689
  187. package/dist/vue-ui-chestnut-ArloORzP.js +0 -2068
  188. package/dist/vue-ui-hill-D7LYAgAL.js +0 -1768
  189. package/dist/vue-ui-molecule-D3igGyOy.js +0 -958
  190. package/dist/vue-ui-onion-EhPTZpW_.js +0 -1258
  191. package/dist/vue-ui-ridgeline-Beg5hshN.js +0 -1663
  192. package/dist/vue-ui-table-rFy16bp0.js +0 -1347
  193. package/dist/vue-ui-tiremarks-DB3f5qiz.js +0 -559
  194. package/dist/vue-ui-wheel-BJkEYfLj.js +0 -892
@@ -1,11 +1,11 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Bt as t, Jt as n, Vt as r, X as i, i as a, jt as o, pt as s, q as ee, t as c, tt as l } from "./lib-BuMGJ_a0.js";
2
+ import { Bt as t, Jt as n, Vt as r, X as i, i as a, jt as o, pt as s, q as ee, t as c, tt as l } from "./lib-Bttd6u5E.js";
3
3
  import { n as u, t as d } from "./useHints-Dq_w2E8B.js";
4
- import { t as f } from "./useConfig-BilxnBNr.js";
4
+ import { t as f } from "./useConfig-D3scuR88.js";
5
5
  import { n as p, t as te } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as m } from "./useNestedProp--NSEmhOH.js";
6
+ import { t as m } from "./useNestedProp-vPNvh7rV.js";
7
7
  import { t as ne } from "./useThemeCheck-C43Tcqmk.js";
8
- import { t as re } from "./Shape-BPMV94Ij.js";
8
+ import { t as re } from "./Shape-C21CMlWS.js";
9
9
  import { t as ie } from "./_plugin-vue_export-helper-B3ysoDQm.js";
10
10
  import { l as ae, t as oe } from "./useResponsive-ZtArZtUf.js";
11
11
  import { t as h } from "./DefGrad-DVBqDjhO.js";
@@ -89,7 +89,7 @@ var A = /* @__PURE__ */ e({ default: () => j }), xe = ["id"], Se = { key: 0 }, C
89
89
  emits: ["selectDatapoint"],
90
90
  setup(e, { emit: ie }) {
91
91
  be((e) => ({ v63d726a1: Xe.value }));
92
- let A = pe(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), { vue_ui_sparkhistogram: j } = f(), { isThemeValid: Ie, warnInvalidTheme: Le } = ne(), M = e, N = w(ee()), P = w(null), F = w(null), I = w(null), L = w(null), R = w(null), z = w(!1), B = w(null), V = w("pointer"), H = w(q());
92
+ let A = pe(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), { vue_ui_sparkhistogram: j } = f(), { isThemeValid: Ie, warnInvalidTheme: Le } = ne(), M = e, N = w(ee()), P = w(null), F = w(null), I = w(null), L = w(null), R = w(null), z = w(!1), B = w(null), V = w("pointer"), H = w(q());
93
93
  u({
94
94
  config: () => H.value,
95
95
  dataset: () => M.dataset,
@@ -311,9 +311,9 @@ var A = /* @__PURE__ */ e({ default: () => j }), xe = ["id"], Se = { key: 0 }, C
311
311
  function Ye() {
312
312
  V.value !== "keyboard" && (X.value = null, B.value = null);
313
313
  }
314
- let Xe = _(() => `${H.value.style.animation.speedMs}ms`), { fitText: Q } = le({
314
+ let Xe = _(() => `${H.value.style.animation.speedMs}ms`), Ze = _(() => J.value.drawingWidth / U.value.length * .9), { fitText: Q } = le({
315
315
  svgRef: K,
316
- unitWidth: _(() => J.value.drawingWidth / U.value.length * .9)
316
+ unitWidth: Ze
317
317
  });
318
318
  ve(async () => {
319
319
  await he(), Q(".vue-ui-sparkhistogram-top-label", H.value.style.labels.value.minFontSize), Q(".vue-ui-sparkhistogram-bottom-label", H.value.style.labels.valueLabel.minFontSize), Q(".vue-ui-sparkhistogram-time-label", H.value.style.labels.timeLabel.minFontSize);
@@ -324,13 +324,13 @@ var A = /* @__PURE__ */ e({ default: () => j }), xe = ["id"], Se = { key: 0 }, C
324
324
  ], async () => {
325
325
  await he(), Q(".vue-ui-sparkhistogram-top-label", H.value.style.labels.value.minFontSize), Q(".vue-ui-sparkhistogram-bottom-label", H.value.style.labels.valueLabel.minFontSize), Q(".vue-ui-sparkhistogram-time-label", H.value.style.labels.timeLabel.minFontSize);
326
326
  });
327
- function Ze() {
327
+ function Qe() {
328
328
  z.value = !0;
329
329
  }
330
- function Qe() {
330
+ function $e() {
331
331
  z.value = !1, B.value = null, V.value = "pointer", X.value = null;
332
332
  }
333
- function $e(e) {
333
+ function et(e) {
334
334
  if (!K.value || document.activeElement !== K.value || !Y.value.length) return;
335
335
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
336
336
  if (!t && !n && !r && !i) return;
@@ -422,9 +422,9 @@ var A = /* @__PURE__ */ e({ default: () => j }), xe = ["id"], Se = { key: 0 }, C
422
422
  style: { overflow: "visible" },
423
423
  "aria-describedby": `chart-instructions-${N.value}`,
424
424
  tabindex: "0",
425
- onFocus: Ze,
426
- onBlur: Qe,
427
- onKeydown: $e
425
+ onFocus: Qe,
426
+ onBlur: $e,
427
+ onKeydown: et
428
428
  }, [
429
429
  fe(O(A)),
430
430
  e.$slots["chart-background"] ? (C(), b("foreignObject", {
@@ -1,10 +1,10 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { A as t, Bt as n, Dt as r, H as i, I as a, Jt as o, L as s, N as c, P as l, S as u, U as d, V as ee, Vt as f, X as p, bt as te, d as ne, i as re, it as ie, jt as ae, k as oe, m as se, ot as ce, pt as le, q as ue, t as de, tt as fe, zt as pe } from "./lib-BuMGJ_a0.js";
2
+ import { A as t, Bt as n, Dt as r, H as i, I as a, Jt as o, L as s, N as c, P as l, S as u, U as d, V as ee, Vt as f, X as p, bt as te, d as ne, i as re, it as ie, jt as ae, k as oe, m as se, ot as ce, pt as le, q as ue, t as de, tt as fe, zt as pe } from "./lib-Bttd6u5E.js";
3
3
  import { n as me, t as he } from "./useHints-Dq_w2E8B.js";
4
- import { t as m } from "./useTimeLabels-B9CEuiLZ.js";
5
- import { t as ge } from "./useConfig-BilxnBNr.js";
4
+ import { t as m } from "./useTimeLabels-d2f-W1L4.js";
5
+ import { t as ge } from "./useConfig-D3scuR88.js";
6
6
  import { n as _e, t as ve } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as ye } from "./useNestedProp--NSEmhOH.js";
7
+ import { t as ye } from "./useNestedProp-vPNvh7rV.js";
8
8
  import { t as be } from "./useThemeCheck-C43Tcqmk.js";
9
9
  import { t as xe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
10
10
  import { l as Se, t as Ce } from "./useResponsive-ZtArZtUf.js";
@@ -695,7 +695,7 @@ var _t = ["innerHTML"], vt = {
695
695
  },
696
696
  emits: ["hoverIndex", "selectDatapoint"],
697
697
  setup(e, { emit: xe }) {
698
- let He = Me(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), Ue = Me(() => import("./SparkTooltip-BaYtEKS6.js")), { vue_ui_sparkline: We } = ge(), { isThemeValid: Ge, warnInvalidTheme: Ke } = be(), qe = De(), O = e, Je = g(() => Array.isArray(O.dataset) && O.dataset.length > 0), k = C(ue()), A = C(null), Xe = C(null), Ze = C(null), j = C(null), M = C(null), N = C(L());
698
+ let He = Me(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), Ue = Me(() => import("./SparkTooltip-CjsbIhzi.js")), { vue_ui_sparkline: We } = ge(), { isThemeValid: Ge, warnInvalidTheme: Ke } = be(), qe = De(), O = e, Je = g(() => Array.isArray(O.dataset) && O.dataset.length > 0), k = C(ue()), A = C(null), Xe = C(null), Ze = C(null), j = C(null), M = C(null), N = C(L());
699
699
  me({
700
700
  config: () => N.value,
701
701
  dataset: () => O.dataset,
@@ -1075,7 +1075,8 @@ var _t = ["innerHTML"], vt = {
1075
1075
  value: n
1076
1076
  }))).trend
1077
1077
  };
1078
- } else return {
1078
+ }
1079
+ return {
1079
1080
  latest: null,
1080
1081
  sum: null,
1081
1082
  average: null,
@@ -1,13 +1,13 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Bt as t, Jt as n, Kt as r, Pt as i, S as a, Vt as o, X as s, i as c, jt as ee, pt as te, q as ne, t as re, tt as ie, w as ae, xt as oe } from "./lib-BuMGJ_a0.js";
2
+ import { Bt as t, Jt as n, Kt as r, Pt as i, S as a, Vt as o, X as s, i as c, jt as ee, pt as te, q as ne, t as re, tt as ie, w as ae, xt as oe } from "./lib-Bttd6u5E.js";
3
3
  import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
4
- import { t as le } from "./useConfig-BilxnBNr.js";
4
+ import { t as le } from "./useConfig-D3scuR88.js";
5
5
  import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as l } from "./useNestedProp--NSEmhOH.js";
6
+ import { t as l } from "./useNestedProp-vPNvh7rV.js";
7
7
  import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
8
8
  import { t as pe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
9
9
  import { t as me } from "./DefGrad-DVBqDjhO.js";
10
- import { t as he } from "./BaseLegendToggle-CtAPwzr2.js";
10
+ import { t as he } from "./BaseLegendToggle-DZVucLnv.js";
11
11
  import { t as ge } from "./A11yDataTable-DdRsVULz.js";
12
12
  import { t as _e } from "./useChartAccessibility-DYqac8yF.js";
13
13
  import { t as ve } from "./usePrefersMotion-BC-CsqR1.js";
@@ -90,7 +90,7 @@ var Te = /* @__PURE__ */ e({ default: () => He }), Ee = ["id"], De = { style: {
90
90
  },
91
91
  emits: ["selectDatapoint", "selectLegend"],
92
92
  setup(e, { expose: pe, emit: Te }) {
93
- let He = be(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), Ue = be(() => import("./Tooltip-CMTGxeYO.js")), { vue_ui_sparkstackbar: We } = le(), { isThemeValid: Ge, warnInvalidTheme: Ke } = fe(), qe = ve(), O = e, Je = Ce();
93
+ let He = be(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), Ue = be(() => import("./Tooltip-DhjyfHwz.js")), { vue_ui_sparkstackbar: We } = le(), { isThemeValid: Ge, warnInvalidTheme: Ke } = fe(), qe = ve(), O = e, Je = Ce();
94
94
  xe(() => {
95
95
  Je["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
96
96
  });
@@ -1,28 +1,28 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, D as n, G as r, Gt as a, Jt as o, K as s, Kt as c, Ot as l, Pt as u, S as d, Wt as f, X as p, _ as ee, c as te, ct as ne, dt as re, i as m, jt as ie, ot as ae, pt as oe, q as se, r as ce, t as le, tt as ue, v as de, w as fe, xt as pe } from "./lib-BuMGJ_a0.js";
2
+ import { $ as t, D as n, G as r, Gt as a, Jt as o, K as s, Kt as c, Ot as l, Pt as u, S as d, Wt as f, X as p, _ as ee, c as te, ct as ne, dt as re, i as m, jt as ie, ot as ae, pt as oe, q as se, r as ce, t as le, tt as ue, v as de, w as fe, xt as pe } from "./lib-Bttd6u5E.js";
3
3
  import { n as me, t as he } from "./useHints-Dq_w2E8B.js";
4
- import { n as ge, r as _e, t as ve } from "./useTimeLabels-B9CEuiLZ.js";
5
- import { t as ye } from "./useConfig-BilxnBNr.js";
6
- import { t as be } from "./usePrinter-BFvi4jVy.js";
4
+ import { n as ge, r as _e, t as ve } from "./useTimeLabels-d2f-W1L4.js";
5
+ import { t as ye } from "./useConfig-D3scuR88.js";
6
+ import { t as be } from "./usePrinter-DN5bYhTG.js";
7
7
  import { n as xe, t as Se } from "./BaseScanner-DZvpgOjM.js";
8
- import { t as Ce } from "./useSvgExport-Ba9qBr9M.js";
9
- import { t as we } from "./useNestedProp--NSEmhOH.js";
8
+ import { t as Ce } from "./useSvgExport-DH-FfcqQ.js";
9
+ import { t as we } from "./useNestedProp-vPNvh7rV.js";
10
10
  import { t as Te } from "./useThemeCheck-C43Tcqmk.js";
11
11
  import { t as Ee } from "./useTransitions-g_zBREk2.js";
12
12
  import { t as De } from "./useStableElementSize-C7KADDKj.js";
13
13
  import { t as Oe } from "./useTimeLabelCollider-AEcY4Ioe.js";
14
- import { t as ke } from "./img-DIQG5q8T.js";
15
- import { n as Ae } from "./Title-BODtwViI.js";
16
- import { t as je } from "./Shape-BPMV94Ij.js";
14
+ import { t as ke } from "./img-Bnokohej.js";
15
+ import { n as Ae } from "./Title-BE3qg9xl.js";
16
+ import { t as je } from "./Shape-C21CMlWS.js";
17
17
  import { t as Me } from "./_plugin-vue_export-helper-B3ysoDQm.js";
18
18
  import { l as Ne, t as Pe } from "./useResponsive-ZtArZtUf.js";
19
19
  import { t as Fe } from "./DefGrad-DVBqDjhO.js";
20
- import { t as Ie } from "./SlicerPreview-DvjLV2TW.js";
21
- import { t as Le } from "./BaseLegendToggle-CtAPwzr2.js";
20
+ import { t as Ie } from "./SlicerPreview-wUw1hFwe.js";
21
+ import { t as Le } from "./BaseLegendToggle-DZVucLnv.js";
22
22
  import { t as Re } from "./A11yDataTable-DdRsVULz.js";
23
23
  import { t as ze } from "./useUserOptionState-DK-_1ddE.js";
24
24
  import { t as Be } from "./useChartAccessibility-DYqac8yF.js";
25
- import { t as Ve } from "./Legend-CQTRlzK-.js";
25
+ import { t as Ve } from "./Legend-CQxUgOd-.js";
26
26
  import { t as He } from "./vue_ui_stackbar-COOrQQdK.js";
27
27
  import { Fragment as h, Teleport as Ue, computed as g, createBlock as _, createCommentVNode as v, createElementBlock as y, createElementVNode as We, createSlots as Ge, createTextVNode as Ke, createVNode as qe, defineAsyncComponent as Je, guardReactiveProps as b, mergeProps as Ye, nextTick as Xe, normalizeClass as x, normalizeProps as S, normalizeStyle as C, onBeforeUnmount as Ze, onMounted as Qe, openBlock as w, ref as T, renderList as E, renderSlot as D, resolveDynamicComponent as $e, shallowRef as et, toDisplayString as O, toRefs as tt, unref as k, useSlots as nt, watch as rt, watchEffect as it, withCtx as A } from "vue";
28
28
  //#region src/components/vue-ui-stackbar.vue
@@ -263,7 +263,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
263
263
  "copyAlt"
264
264
  ],
265
265
  setup(e, { expose: Me, emit: at }) {
266
- let en = Je(() => import("./Tooltip-CMTGxeYO.js")), tn = Je(() => import("./BaseIcon-91MZoczJ.js").then((e) => e.n)), nn = Je(() => import("./vue-ui-accordion-61MlW-Ge.js").then((e) => e.n)), rn = Je(() => import("./DataTable-D4tM9s5Y.js")), an = Je(() => import("./PenAndPaper-cE4J8-rA.js").then((e) => e.t)), on = Je(() => import("./UserOptions-3ujTo3LD.js").then((e) => e.n)), sn = Je(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), cn = Je(() => import("./BaseDraggableDialog-qTnfhLBz.js").then((e) => e.n)), { vue_ui_stackbar: ln } = ye(), { isThemeValid: un, warnInvalidTheme: dn } = Te(), fn = nt(), j = e, M = at, pn = g({
266
+ let en = Je(() => import("./Tooltip-DhjyfHwz.js")), tn = Je(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), nn = Je(() => import("./vue-ui-accordion-BxGriZik.js").then((e) => e.n)), rn = Je(() => import("./DataTable-BbKgJ5UI.js")), an = Je(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), on = Je(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), sn = Je(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), cn = Je(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_stackbar: ln } = ye(), { isThemeValid: un, warnInvalidTheme: dn } = Te(), fn = nt(), j = e, M = at, pn = g({
267
267
  get() {
268
268
  return !!j.dataset && j.dataset.length;
269
269
  },
@@ -386,7 +386,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
386
386
  prepareConfig: ar,
387
387
  callback: () => {
388
388
  Promise.resolve().then(async () => {
389
- (!R.value.style.chart.zoom.keepState || !Ki.value || J.value.start === 0 && J.value.end === 0) && await qi();
389
+ (!R.value.style.chart.zoom.keepState || !qi.value || J.value.start === 0 && J.value.end === 0) && await Ji();
390
390
  });
391
391
  },
392
392
  skeletonDataset: j.config?.skeletonDataset ?? [{
@@ -451,7 +451,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
451
451
  }
452
452
  let or = g(() => R.value.style.chart.bars.dataLabels.hideUnderValue != null), sr = g(() => R.value.style.chart.bars.dataLabels.hideUnderPercentage != null);
453
453
  rt(() => j.config, (e) => {
454
- Xn.value || (R.value = ar()), $n.value = !R.value.userOptions.showOnChartHover, gr({ resetSlicer: !R.value.style.chart.zoom.keepState }), wn.value += 1, Tn.value += 1, En.value += 1, V.value.dataLabels.show = R.value.style.chart.bars.dataLabels.show, V.value.showTable = R.value.table.show, V.value.showTooltip = R.value.style.chart.tooltip.show, Gn(), !R.value.style.chart.zoom.keepState || !Ki.value || J.value.start === 0 && J.value.end === 0 ? qi() : Mr();
454
+ Xn.value || (R.value = ar()), $n.value = !R.value.userOptions.showOnChartHover, gr({ resetSlicer: !R.value.style.chart.zoom.keepState }), wn.value += 1, Tn.value += 1, En.value += 1, V.value.dataLabels.show = R.value.style.chart.bars.dataLabels.show, V.value.showTable = R.value.table.show, V.value.showTooltip = R.value.style.chart.tooltip.show, Gn(), !R.value.style.chart.zoom.keepState || !qi.value || J.value.start === 0 && J.value.end === 0 ? Ji() : Mr();
455
455
  }, { deep: !0 }), rt(() => j.dataset, (e) => {
456
456
  Array.isArray(e) && e.length > 0 && (Qn.value = !1), Gn(), R.value.style.chart.zoom.keepState ? Mr() : Fr();
457
457
  }, { deep: !0 });
@@ -519,7 +519,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
519
519
  });
520
520
  U.value && (pr.value && U.value.unobserve(pr.value), U.value.disconnect()), U.value = new ResizeObserver(e), pr.value = N.value.parentNode, U.value.observe(pr.value);
521
521
  }
522
- qn(), e && qi();
522
+ qn(), e && Ji();
523
523
  }
524
524
  Ze(() => {
525
525
  Wn.stop(), U.value && (pr.value && U.value.unobserve(pr.value), U.value.disconnect());
@@ -661,7 +661,8 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
661
661
  height: u * a,
662
662
  ...d
663
663
  };
664
- } else {
664
+ }
665
+ {
665
666
  let a = n / s;
666
667
  return {
667
668
  x: e + c * a,
@@ -711,12 +712,12 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
711
712
  Nr.value && cancelAnimationFrame(Nr.value);
712
713
  });
713
714
  async function Fr({ force: e = !1 } = {}) {
714
- if (R.value.style.chart.zoom.keepState && !e && Ki.value && !(J.value.start === 0 && J.value.end === 0)) {
715
+ if (R.value.style.chart.zoom.keepState && !e && qi.value && (J.value.start !== 0 || J.value.end !== 0)) {
715
716
  Mr();
716
717
  return;
717
718
  }
718
- qi(), await Xe(), Nr.value && cancelAnimationFrame(Nr.value), Nr.value = requestAnimationFrame(async () => {
719
- await Pr(), qi();
719
+ Ji(), await Xe(), Nr.value && cancelAnimationFrame(Nr.value), Nr.value = requestAnimationFrame(async () => {
720
+ await Pr(), Ji();
720
721
  });
721
722
  }
722
723
  let X = g(() => {
@@ -1039,7 +1040,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1039
1040
  if (Lr.value) return;
1040
1041
  Un.value = t, L.value = e, I.value = e, mn.value = !0;
1041
1042
  let n = R.value.style.chart.tooltip.customFormat, r = ci(e);
1042
- Zi({
1043
+ Qi({
1043
1044
  seriesIndex: e,
1044
1045
  datapoint: r
1045
1046
  }), R.value.events.datapointEnter && R.value.events.datapointEnter({
@@ -1169,9 +1170,9 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1169
1170
  [R.value.style.chart.title.text],
1170
1171
  [R.value.style.chart.title.subtitle.text],
1171
1172
  [""]
1172
- ], a = ["", ...bi.value.head.map((e) => e.label)], o = bi.value.body, s = n(r.concat([a]).concat(o));
1173
- e ? e(s) : t({
1174
- csvContent: s,
1173
+ ], a = ["", ...bi.value.head.map((e) => e.label)], o = bi.value.body, s = r.concat([a]).concat(o), c = n(s);
1174
+ e ? e(c) : t({
1175
+ csvContent: c,
1175
1176
  title: R.value.style.chart.title.text || "vue-ui-stackbar"
1176
1177
  });
1177
1178
  }
@@ -1318,30 +1319,30 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1318
1319
  function Li() {
1319
1320
  V.value.showTable = !1, kn.value && kn.value.setTableIconState(!1);
1320
1321
  }
1321
- let Ri = g(() => R.value.style.chart.backgroundColor), zi = g(() => R.value.style.chart.legend), { exportSvg: Bi, getSvg: Vi } = Ce({
1322
+ let Ri = g(() => R.value.style.chart.backgroundColor), zi = g(() => R.value.style.chart.legend), Bi = g(() => R.value.style.chart.title), { exportSvg: Vi, getSvg: Hi } = Ce({
1322
1323
  svg: nr,
1323
- title: g(() => R.value.style.chart.title),
1324
+ title: Bi,
1324
1325
  legend: zi,
1325
1326
  legendItems: Oi,
1326
1327
  backgroundColor: Ri
1327
1328
  });
1328
- async function Hi({ isCb: e }) {
1329
+ async function Ui({ isCb: e }) {
1329
1330
  jn.value = !0, await Xe();
1330
1331
  try {
1331
1332
  if (e) {
1332
- let { blob: e, url: t, text: n, dataUrl: r } = await Vi();
1333
+ let { blob: e, url: t, text: n, dataUrl: r } = await Hi();
1333
1334
  await Promise.resolve(R.value.userOptions.callbacks.svg({
1334
1335
  blob: e,
1335
1336
  url: t,
1336
1337
  text: n,
1337
1338
  dataUrl: r
1338
1339
  }));
1339
- } else await Promise.resolve(Bi());
1340
+ } else await Promise.resolve(Vi());
1340
1341
  } finally {
1341
1342
  jn.value = !1;
1342
1343
  }
1343
1344
  }
1344
- function Ui(e) {
1345
+ function Wi(e) {
1345
1346
  if (e?.stage === "start") {
1346
1347
  An.value = !0;
1347
1348
  return;
@@ -1352,36 +1353,36 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1352
1353
  }
1353
1354
  dr();
1354
1355
  }
1355
- function Wi(e) {
1356
+ function Gi(e) {
1356
1357
  let t = q.value;
1357
1358
  return e > t ? t : e < 0 || e < J.value.start ? R.value.style.chart.zoom.startIndex === null ? 1 : J.value.start + 1 : e;
1358
1359
  }
1359
- let Gi = T(!1), Ki = T(!1);
1360
- function qi() {
1361
- if (!Gi.value) {
1362
- Gi.value = !0;
1360
+ let Ki = T(!1), qi = T(!1);
1361
+ function Ji() {
1362
+ if (!Ki.value) {
1363
+ Ki.value = !0;
1363
1364
  try {
1364
1365
  let { startIndex: e, endIndex: t, keepState: n } = R.value.style.chart.zoom, r = n ? Math.max(0, q.value) : q.value;
1365
1366
  if (n && r <= 0) return;
1366
- let a = e ?? 0, o = t == null ? r : Math.min(Wi(t + 1), r);
1367
- Ji.value = !0, J.value.start = a, J.value.end = o, Y.value.start = a, Y.value.end = o, Mr(), Ki.value = !0;
1367
+ let a = e ?? 0, o = t == null ? r : Math.min(Gi(t + 1), r);
1368
+ Yi.value = !0, J.value.start = a, J.value.end = o, Y.value.start = a, Y.value.end = o, Mr(), qi.value = !0;
1368
1369
  } finally {
1369
1370
  queueMicrotask(() => {
1370
- Ji.value = !1;
1371
- }), Gi.value = !1;
1371
+ Yi.value = !1;
1372
+ }), Ki.value = !1;
1372
1373
  }
1373
1374
  }
1374
1375
  }
1375
- let Ji = T(!1);
1376
- function Yi(e) {
1377
- Gi.value || Ji.value || e !== J.value.start && (J.value.start = e, Y.value.start = e, Mr());
1378
- }
1376
+ let Yi = T(!1);
1379
1377
  function Xi(e) {
1380
- if (Gi.value || Ji.value) return;
1381
- let t = Wi(e);
1378
+ Ki.value || Yi.value || e !== J.value.start && (J.value.start = e, Y.value.start = e, Mr());
1379
+ }
1380
+ function Zi(e) {
1381
+ if (Ki.value || Yi.value) return;
1382
+ let t = Gi(e);
1382
1383
  t !== J.value.end && (J.value.end = t, Y.value.end = t, Mr());
1383
1384
  }
1384
- function Zi({ seriesIndex: e, datapoint: t }) {
1385
+ function Qi({ seriesIndex: e, datapoint: t }) {
1385
1386
  let n = J.value.start + e;
1386
1387
  M("selectX", {
1387
1388
  dataset: t,
@@ -1389,11 +1390,11 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1389
1390
  indexLabel: R.value.style.chart.grid.x.timeLabels.values[n]
1390
1391
  });
1391
1392
  }
1392
- function Qi() {
1393
+ function $i() {
1393
1394
  return { y0: Z.value?.[0]?.zero ?? G.value.bottom };
1394
1395
  }
1395
- function $i(e) {
1396
- let { y0: t } = Qi(), n = R.value.style.chart.bars.totalValues, r = Math.max(2, n.fontSize * .3 + n.offsetY), a = Infinity, o = !1;
1396
+ function ea(e) {
1397
+ let { y0: t } = $i(), n = R.value.style.chart.bars.totalValues, r = Math.max(2, n.fontSize * .3 + n.offsetY), a = Infinity, o = !1;
1397
1398
  for (let t of $.value || []) {
1398
1399
  let n = t?.series?.[e] ?? 0, r = t?.height?.[e] ?? 0, s = t?.y?.[e];
1399
1400
  n > 0 && r > 0 && Number.isFinite(s) && (o = !0, s < a && (a = s));
@@ -1401,15 +1402,15 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1401
1402
  let s = (o && Number.isFinite(a) ? a : t) - r;
1402
1403
  return Math.min(Math.max(s, 0), G.value.bottom);
1403
1404
  }
1404
- function ea(e) {
1405
- let { x0: t } = Qi(), n = Math.max(2, R.value.style.chart.bars.totalValues.fontSize * .3 + R.value.style.chart.bars.totalValues.offsetX), r = -Infinity, a = !1;
1405
+ function ta(e) {
1406
+ let { x0: t } = $i(), n = Math.max(2, R.value.style.chart.bars.totalValues.fontSize * .3 + R.value.style.chart.bars.totalValues.offsetX), r = -Infinity, a = !1;
1406
1407
  for (let t of $.value || []) {
1407
1408
  let n = t?.series?.[e] ?? 0, o = t?.horizontal_x?.[e], s = t?.horizontal_width?.[e], c = Number.isFinite(s) ? Math.max(0, s) : 0;
1408
1409
  Number.isFinite(o) && n > 0 && c > 0 && (a = !0, r = Math.max(r, o + c));
1409
1410
  }
1410
1411
  return (a && Number.isFinite(r) ? r : t) + n;
1411
1412
  }
1412
- async function ta() {
1413
+ async function na() {
1413
1414
  if (M("copyAlt", {
1414
1415
  config: R.value,
1415
1416
  dataset: $.value
@@ -1422,18 +1423,18 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1422
1423
  dataset: $.value
1423
1424
  }));
1424
1425
  }
1425
- let na = T(!1);
1426
- function ra() {
1427
- L.value = null, na.value = !0;
1428
- }
1426
+ let ra = T(!1);
1429
1427
  function ia() {
1428
+ L.value = null, ra.value = !0;
1429
+ }
1430
+ function aa() {
1430
1431
  L.value = null, mn.value = !1, I.value = null, M("selectX", {
1431
1432
  index: null,
1432
1433
  indexLabel: null,
1433
1434
  dataset: null
1434
- }), na.value = !1;
1435
+ }), ra.value = !1;
1435
1436
  }
1436
- function aa(e) {
1437
+ function oa(e) {
1437
1438
  if (!nr.value || Ai.value || document.activeElement !== nr.value || Lr.value || !J.value.end && J.value.end !== 0) return;
1438
1439
  let t = R.value.orientation === "vertical", n = R.value.orientation === "horizontal", r = t && e.key === "ArrowLeft" || n && e.key === "ArrowUp", a = t && e.key === "ArrowRight" || n && e.key === "ArrowDown", o = e.key === "Enter" || e.key === " ", s = e.key === "Escape";
1439
1440
  if (!r && !a && !o && !s) return;
@@ -1453,16 +1454,16 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1453
1454
  return;
1454
1455
  }
1455
1456
  let l = L.value, u = I.value;
1456
- l !== null && l >= 0 && l < c ? a ? (l += 1, l >= c && (l = 0)) : r && (--l, l < 0 && (l = c - 1)) : u !== null && u >= 0 && u < c ? (l = a ? u + 1 : u - 1, l >= c && (l = 0), l < 0 && (l = c - 1)) : l = a ? 0 : c - 1, L.value = l, oa(l), fi(l, "keyboard");
1457
+ l !== null && l >= 0 && l < c ? a ? (l += 1, l >= c && (l = 0)) : r && (--l, l < 0 && (l = c - 1)) : u !== null && u >= 0 && u < c ? (l = a ? u + 1 : u - 1, l >= c && (l = 0), l < 0 && (l = c - 1)) : l = a ? 0 : c - 1, L.value = l, sa(l), fi(l, "keyboard");
1457
1458
  }
1458
- function oa(e) {
1459
+ function sa(e) {
1459
1460
  if (!Number.isFinite(e)) return;
1460
1461
  let t, n;
1461
1462
  R.value.orientation === "vertical" ? (t = G.value.left + e * X.value + X.value / 2, n = G.value.top + G.value.height / 2) : (t = G.value.left + G.value.width / 2, n = G.value.top + e * X.value + X.value / 2);
1462
1463
  let r = a(t, n, nr.value);
1463
1464
  r && (Hn.value = r);
1464
1465
  }
1465
- let sa = g(() => ({
1466
+ let ca = g(() => ({
1466
1467
  headers: Si.value?.colNames ?? [],
1467
1468
  rows: Si.value?.body ?? []
1468
1469
  }));
@@ -1472,7 +1473,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1472
1473
  generatePdf: ur,
1473
1474
  generateCsv: xi,
1474
1475
  generateImage: dr,
1475
- generateSvg: Hi,
1476
+ generateSvg: Ui,
1476
1477
  hideSeries: Di,
1477
1478
  showSeries: Ei,
1478
1479
  toggleTable: gi,
@@ -1480,7 +1481,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1480
1481
  toggleTooltip: vi,
1481
1482
  toggleAnnotator: ji,
1482
1483
  toggleFullscreen: hi,
1483
- copyAlt: ta
1484
+ copyAlt: na
1484
1485
  }), (t, n) => (w(), y("div", {
1485
1486
  id: `stackbar_${P.value}`,
1486
1487
  ref_key: "stackbarChart",
@@ -1498,11 +1499,11 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1498
1499
  id: `chart-instructions-${P.value}`,
1499
1500
  class: "sr-only"
1500
1501
  }, [We("p", null, O(R.value.a11y.translations.keyboardNavigation), 1)], 8, st),
1501
- sa.value?.rows?.length ? (w(), _(Re, {
1502
+ ca.value?.rows?.length ? (w(), _(Re, {
1502
1503
  key: 0,
1503
1504
  uid: P.value,
1504
- head: sa.value.headers,
1505
- body: sa.value.rows,
1505
+ head: ca.value.headers,
1506
+ body: ca.value.rows,
1506
1507
  notice: R.value.a11y.translations.tableAvailable,
1507
1508
  caption: R.value.a11y.translations.tableCaption
1508
1509
  }, null, 8, [
@@ -1587,13 +1588,13 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1587
1588
  onToggleFullscreen: hi,
1588
1589
  onGeneratePdf: k(ur),
1589
1590
  onGenerateCsv: xi,
1590
- onGenerateImage: Ui,
1591
- onGenerateSvg: Hi,
1591
+ onGenerateImage: Wi,
1592
+ onGenerateSvg: Ui,
1592
1593
  onToggleTable: gi,
1593
1594
  onToggleLabels: _i,
1594
1595
  onToggleTooltip: vi,
1595
1596
  onToggleAnnotator: ji,
1596
- onCopyAlt: ta,
1597
+ onCopyAlt: na,
1597
1598
  style: C({ visibility: k(tr) ? k($n) ? "visible" : "hidden" : "visible" })
1598
1599
  }, Ge({ _: 2 }, [
1599
1600
  t.$slots.menuIcon ? {
@@ -1685,9 +1686,9 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1685
1686
  }),
1686
1687
  style: C(`max-width:100%;overflow:visible;background:transparent;color:${R.value.style.chart.color}`),
1687
1688
  tabindex: "0",
1688
- onFocus: ra,
1689
- onBlur: ia,
1690
- onKeydown: aa
1689
+ onFocus: ia,
1690
+ onBlur: aa,
1691
+ onKeydown: oa
1691
1692
  }, [
1692
1693
  qe(k(sn)),
1693
1694
  t.$slots["chart-background"] ? (w(), y("foreignObject", {
@@ -1896,7 +1897,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1896
1897
  }, [(w(!0), y(h, null, E(ii.value, (e, t) => (w(), y(h, { key: `tl_${t + J.value.start}` }, [!R.value.style.chart.bars.dataLabels.hideEmptyValues || e.value !== 0 ? (w(), y("text", {
1897
1898
  key: 0,
1898
1899
  class: x({ "vue-data-ui-transition": k(z) }),
1899
- transform: `translate(${G.value.left + X.value * t + X.value / 2}, ${$i(t)})`,
1900
+ transform: `translate(${G.value.left + X.value * t + X.value / 2}, ${ea(t)})`,
1900
1901
  "text-anchor": "middle",
1901
1902
  "font-size": R.value.style.chart.bars.totalValues.fontSize,
1902
1903
  "font-weight": R.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
@@ -1917,7 +1918,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1917
1918
  }, [(w(!0), y(h, null, E(ii.value, (e, t) => (w(), y(h, null, [!R.value.style.chart.bars.dataLabels.hideEmptyValues || e.value !== 0 ? (w(), y("text", {
1918
1919
  key: 0,
1919
1920
  class: x({ "vue-data-ui-transition": k(z) }),
1920
- transform: `translate(${ea(t)}, ${G.value.top + X.value * t + X.value / 2 + R.value.style.chart.bars.totalValues.fontSize / 3})`,
1921
+ transform: `translate(${ta(t)}, ${G.value.top + X.value * t + X.value / 2 + R.value.style.chart.bars.totalValues.fontSize / 3})`,
1921
1922
  "text-anchor": "start",
1922
1923
  "font-size": R.value.style.chart.bars.totalValues.fontSize,
1923
1924
  "font-weight": R.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
@@ -2096,10 +2097,10 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
2096
2097
  } }, void 0, !0)
2097
2098
  ], 46, ut)), t.$slots.hint ? (w(), y("div", Jt, [D(t.$slots, "hint", S(b({
2098
2099
  hint: R.value.a11y.translations.keyboardNavigation,
2099
- isVisible: na.value
2100
+ isVisible: ra.value
2100
2101
  })), void 0, !0)])) : v("", !0)]),
2101
2102
  t.$slots.watermark ? (w(), y("div", Yt, [D(t.$slots, "watermark", S(b({ isPrinting: k(cr) || k(lr) || An.value || jn.value })), void 0, !0)])) : v("", !0),
2102
- R.value.style.chart.zoom.show && pn.value && Ki.value && q.value > 6 ? (w(), _(Ie, {
2103
+ R.value.style.chart.zoom.show && pn.value && qi.value && q.value > 6 ? (w(), _(Ie, {
2103
2104
  key: 5,
2104
2105
  ref_key: "chartSlicer",
2105
2106
  ref: bn,
@@ -2146,6 +2147,8 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
2146
2147
  valueStart: J.value.start,
2147
2148
  verticalHandles: R.value.style.chart.zoom.minimap.verticalHandles,
2148
2149
  maxWidth: R.value.style.chart.zoom.maxWidth,
2150
+ minimapLeftInsetRatio: G.value.chartWidth > 0 && R.value.style.chart.zoom.autoFit ? G.value.left / G.value.chartWidth : null,
2151
+ minimapRightInsetRatio: G.value.chartWidth > 0 && R.value.style.chart.zoom.autoFit ? (G.value.chartWidth - G.value.right) / G.value.chartWidth : null,
2149
2152
  isCursorPointer: B.value,
2150
2153
  additionalMinimapHeight: R.value.style.chart.zoom.minimap.additionalHeight,
2151
2154
  handleType: R.value.style.chart.zoom.minimap.handleType,
@@ -2154,8 +2157,8 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
2154
2157
  handleBorderColor: R.value.style.chart.zoom.minimap.handleBorderColor,
2155
2158
  handleFill: R.value.style.chart.zoom.minimap.handleFill,
2156
2159
  handleWidth: R.value.style.chart.zoom.minimap.handleWidth,
2157
- "onUpdate:end": Xi,
2158
- "onUpdate:start": Yi,
2160
+ "onUpdate:end": Zi,
2161
+ "onUpdate:start": Xi,
2159
2162
  onTrapMouse: kr,
2160
2163
  onReset: n[0] ||= () => Fr({ force: !0 }),
2161
2164
  onFutureEnd: n[1] ||= (e) => jr("end", e),
@@ -2180,7 +2183,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
2180
2183
  style: C({ opacity: a >= Y.value.start && a <= Y.value.end ? 1 : .62 })
2181
2184
  }, null, 12, Xt))), 128))]))), 128))]),
2182
2185
  _: 3
2183
- }, 8, /* @__PURE__ */ "allMinimaps.background.borderColor.customFormat.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.immediate.inputColor.isPreview.labelLeft.labelRight.max.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.preciseLabels.refreshEndPoint.refreshStartPoint.selectColor.selectedSeries.start.textColor.timeLabels.usePreciseLabels.valueEnd.valueStart.verticalHandles.maxWidth.isCursorPointer.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth".split("."))) : v("", !0),
2186
+ }, 8, /* @__PURE__ */ "allMinimaps.background.borderColor.customFormat.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.immediate.inputColor.isPreview.labelLeft.labelRight.max.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.preciseLabels.refreshEndPoint.refreshStartPoint.selectColor.selectedSeries.start.textColor.timeLabels.usePreciseLabels.valueEnd.valueStart.verticalHandles.maxWidth.minimapLeftInsetRatio.minimapRightInsetRatio.isCursorPointer.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth".split("."))) : v("", !0),
2184
2187
  qe(k(en), {
2185
2188
  teleportTo: R.value.style.chart.tooltip.teleportTo,
2186
2189
  show: V.value.showTooltip && mn.value,
@@ -2345,6 +2348,6 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
2345
2348
  D(t.$slots, "skeleton", {}, () => [k(Xn) ? (w(), _(Se, { key: 0 })) : v("", !0)], !0)
2346
2349
  ], 46, ot));
2347
2350
  }
2348
- }, [["__scopeId", "data-v-0733861b"]]);
2351
+ }, [["__scopeId", "data-v-80cac12f"]]);
2349
2352
  //#endregion
2350
2353
  export { at as n, en as t };