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,28 +1,28 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, Bt as n, D as r, Gt as i, Jt as a, Kt as o, M as s, Ot as c, P as l, Pt as u, S as d, St as f, V as p, Wt as m, X as h, _ as g, b as _, c as ee, ct as te, dt as ne, i as v, jt as re, ot as ie, pt as ae, q as oe, t as se, tt as ce, v as le, w as ue, xt as de, z as fe } from "./lib-BuMGJ_a0.js";
2
+ import { $ as t, Bt as n, D as r, Gt as i, Jt as a, Kt as o, M as s, Ot as c, P as l, Pt as u, S as d, St as f, V as p, Wt as m, X as h, _ as g, b as _, c as ee, ct as te, dt as ne, i as v, jt as re, ot as ie, pt as ae, q as oe, t as se, tt as ce, v as le, w as ue, xt as de, z as fe } from "./lib-Bttd6u5E.js";
3
3
  import { n as pe, t as me } from "./useHints-Dq_w2E8B.js";
4
- import { n as he, r as ge, t as _e } from "./useTimeLabels-B9CEuiLZ.js";
5
- import { t as ve } from "./useConfig-BilxnBNr.js";
6
- import { t as ye } from "./usePrinter-BFvi4jVy.js";
4
+ import { n as he, r as ge, t as _e } from "./useTimeLabels-d2f-W1L4.js";
5
+ import { t as ve } from "./useConfig-D3scuR88.js";
6
+ import { t as ye } from "./usePrinter-DN5bYhTG.js";
7
7
  import { n as be, t as xe } from "./BaseScanner-DZvpgOjM.js";
8
- import { t as Se } from "./useSvgExport-Ba9qBr9M.js";
9
- import { t as Ce } from "./useNestedProp--NSEmhOH.js";
8
+ import { t as Se } from "./useSvgExport-DH-FfcqQ.js";
9
+ import { t as Ce } from "./useNestedProp-vPNvh7rV.js";
10
10
  import { t as we } from "./useThemeCheck-C43Tcqmk.js";
11
11
  import { t as Te } from "./useTransitions-g_zBREk2.js";
12
12
  import { t as Ee } from "./useStableElementSize-C7KADDKj.js";
13
13
  import { t as De } from "./useTimeLabelCollider-AEcY4Ioe.js";
14
- import { t as Oe } from "./img-DIQG5q8T.js";
15
- import { n as ke } from "./Title-BODtwViI.js";
16
- import { t as Ae } from "./Shape-BPMV94Ij.js";
14
+ import { t as Oe } from "./img-Bnokohej.js";
15
+ import { n as ke } from "./Title-BE3qg9xl.js";
16
+ import { t as Ae } from "./Shape-C21CMlWS.js";
17
17
  import { t as je } from "./_plugin-vue_export-helper-B3ysoDQm.js";
18
18
  import { l as Me, t as Ne } from "./useResponsive-ZtArZtUf.js";
19
19
  import { t as Pe } from "./DefGrad-DVBqDjhO.js";
20
- import { t as Fe } from "./SlicerPreview-DvjLV2TW.js";
21
- import { t as Ie } from "./BaseLegendToggle-CtAPwzr2.js";
20
+ import { t as Fe } from "./SlicerPreview-wUw1hFwe.js";
21
+ import { t as Ie } from "./BaseLegendToggle-DZVucLnv.js";
22
22
  import { t as Le } from "./A11yDataTable-DdRsVULz.js";
23
23
  import { t as Re } from "./useUserOptionState-DK-_1ddE.js";
24
24
  import { t as ze } from "./useChartAccessibility-DYqac8yF.js";
25
- import { t as Be } from "./Legend-CQTRlzK-.js";
25
+ import { t as Be } from "./Legend-CQxUgOd-.js";
26
26
  import { t as Ve } from "./vue_ui_stackline-DQqKPA9z.js";
27
27
  import { Fragment as y, Teleport as He, computed as b, createBlock as x, createCommentVNode as S, createElementBlock as C, createElementVNode as w, createSlots as Ue, createTextVNode as We, createVNode as Ge, defineAsyncComponent as Ke, guardReactiveProps as T, mergeProps as qe, nextTick as Je, normalizeClass as Ye, normalizeProps as E, normalizeStyle as Xe, onBeforeUnmount as Ze, onMounted as Qe, openBlock as D, ref as O, renderList as k, renderSlot as A, resolveDynamicComponent as $e, shallowRef as et, toDisplayString as j, toRefs as tt, unref as M, useSlots as nt, watch as rt, watchEffect as it, withCtx as N } from "vue";
28
28
  //#region src/components/vue-ui-stackline.vue
@@ -185,7 +185,7 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
185
185
  "copyAlt"
186
186
  ],
187
187
  setup(e, { expose: je, emit: at }) {
188
- let Ht = Ke(() => import("./Tooltip-CMTGxeYO.js")), Ut = Ke(() => import("./BaseIcon-91MZoczJ.js").then((e) => e.n)), Wt = Ke(() => import("./vue-ui-accordion-61MlW-Ge.js").then((e) => e.n)), Gt = Ke(() => import("./DataTable-D4tM9s5Y.js")), Kt = Ke(() => import("./PenAndPaper-cE4J8-rA.js").then((e) => e.t)), qt = Ke(() => import("./UserOptions-3ujTo3LD.js").then((e) => e.n)), Jt = Ke(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), Yt = Ke(() => import("./BaseDraggableDialog-qTnfhLBz.js").then((e) => e.n)), { vue_ui_stackline: Xt } = ve(), { isThemeValid: Zt, warnInvalidTheme: Qt } = we(), $t = nt(), P = e, F = at, en = b({
188
+ let Ht = Ke(() => import("./Tooltip-DhjyfHwz.js")), Ut = Ke(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), Wt = Ke(() => import("./vue-ui-accordion-BxGriZik.js").then((e) => e.n)), Gt = Ke(() => import("./DataTable-BbKgJ5UI.js")), Kt = Ke(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), qt = Ke(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), Jt = Ke(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), Yt = Ke(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_stackline: Xt } = ve(), { isThemeValid: Zt, warnInvalidTheme: Qt } = we(), $t = nt(), P = e, F = at, en = b({
189
189
  get() {
190
190
  return !!P.dataset && P.dataset.length;
191
191
  },
@@ -599,7 +599,7 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
599
599
  Tr.value && cancelAnimationFrame(Tr.value);
600
600
  });
601
601
  async function Dr({ force: e = !1 } = {}) {
602
- if (z.value.style.chart.zoom.keepState && !e && ei.value && !(q.value.start === 0 && q.value.end === 0)) {
602
+ if (z.value.style.chart.zoom.keepState && !e && ei.value && (q.value.start !== 0 || q.value.end !== 0)) {
603
603
  wr();
604
604
  return;
605
605
  }
@@ -680,7 +680,8 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
680
680
  (r ?? 0) > 0 && Number.isFinite(i) && i < n && (n = i);
681
681
  }
682
682
  return i((Number.isFinite(n) ? n : t) - r - z.value.style.chart.lines.totalValues.offsetY);
683
- } else {
683
+ }
684
+ {
684
685
  let a = -Infinity;
685
686
  for (let t of Y.value || []) {
686
687
  let n = t?.series?.[e], r = t?.topY?.[e];
@@ -872,10 +873,10 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
872
873
  };
873
874
  });
874
875
  }), Qr = b(() => $.value === null || $.value === void 0 ? null : {
875
- timeLabel: gi($.value),
876
+ timeLabel: yi($.value),
876
877
  absoluteIndex: $.value + q.value.start,
877
878
  seriesIndex: $.value,
878
- datapoint: hi.value,
879
+ datapoint: vi.value,
879
880
  series: Y.value,
880
881
  config: z.value
881
882
  }), $r = O(!1), ei = O(!1);
@@ -890,19 +891,19 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
890
891
  let { startIndex: e, endIndex: t, keepState: n } = z.value.style.chart.zoom, r = n ? Math.max(0, K.value) : K.value;
891
892
  if (n && r <= 0) return;
892
893
  let i = e ?? 0, a = t == null ? r : Math.min(ti(t + 1), r);
893
- ai.value = !0, q.value.start = i, q.value.end = a, J.value.start = i, J.value.end = a, wr(), ei.value = !0;
894
+ oi.value = !0, q.value.start = i, q.value.end = a, J.value.start = i, J.value.end = a, wr(), ei.value = !0;
894
895
  } finally {
895
896
  queueMicrotask(() => {
896
- ai.value = !1;
897
+ oi.value = !1;
897
898
  }), $r.value = !1;
898
899
  }
899
900
  }
900
901
  }
901
902
  function ri(e) {
902
- $r.value || ai.value || e !== q.value.start && (q.value.start = e, J.value.start = e, wr());
903
+ $r.value || oi.value || e !== q.value.start && (q.value.start = e, J.value.start = e, wr());
903
904
  }
904
905
  function ii(e) {
905
- if ($r.value || ai.value) return;
906
+ if ($r.value || oi.value) return;
906
907
  let t = ti(e);
907
908
  t !== q.value.end && (q.value.end = t, J.value.end = t, wr());
908
909
  }
@@ -910,17 +911,17 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
910
911
  left: W.value.left,
911
912
  right: W.value.right,
912
913
  width: W.value.width
913
- }));
914
+ })), ai = b(() => {
915
+ let e = z.value.style.chart.grid.y.axisLabels, { prefix: t, suffix: n } = z.value.style.chart.lines.dataLabels;
916
+ return zr.value.map((r) => String(v(e.formatter, r.value, h({
917
+ p: t,
918
+ v: r.value,
919
+ s: n,
920
+ r: e.rounding
921
+ }), { datapoint: r }) ?? "")).join("|");
922
+ });
914
923
  rt([
915
- b(() => {
916
- let e = z.value.style.chart.grid.y.axisLabels, { prefix: t, suffix: n } = z.value.style.chart.lines.dataLabels;
917
- return zr.value.map((r) => String(v(e.formatter, r.value, h({
918
- p: t,
919
- v: r.value,
920
- s: n,
921
- r: e.rounding
922
- }), { datapoint: r }) ?? "")).join("|");
923
- }),
924
+ ai,
924
925
  () => z.value.style.chart.grid.y.axisLabels.show,
925
926
  () => z.value.style.chart.grid.y.axisLabels.fontSize,
926
927
  () => z.value.style.chart.grid.y.axisLabels.bold,
@@ -928,7 +929,7 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
928
929
  ], () => {
929
930
  z.value.style.chart.grid.y.axisLabels.show && Fn();
930
931
  }, { flush: "post" });
931
- let ai = O(!1);
932
+ let oi = O(!1), si = b(() => U.value.width), ci = b(() => U.value.height);
932
933
  De({
933
934
  timeLabelsEls: wn,
934
935
  timeLabels: Br,
@@ -952,12 +953,12 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
952
953
  "enable"
953
954
  ],
954
955
  isAutoSize: !1,
955
- width: b(() => U.value.width),
956
- height: b(() => U.value.height),
956
+ width: si,
957
+ height: ci,
957
958
  rotation: z.value.style.chart.grid.x.timeLabels.autoRotate.angle
958
959
  });
959
- let oi = O(null);
960
- function si(e) {
960
+ let li = O(null);
961
+ function ui(e) {
961
962
  let t = V.value;
962
963
  if (!t) return null;
963
964
  if (t.createSVGPoint && t.getScreenCTM) {
@@ -985,11 +986,11 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
985
986
  ok: !0
986
987
  };
987
988
  }
988
- let ci = 0, Z = b(() => Math.max(1, q.value.end - q.value.start)), li = b(() => Z.value > 1 ? W.value.width / (Z.value - 1) : 0);
989
+ let di = 0, Z = b(() => Math.max(1, q.value.end - q.value.start)), fi = b(() => Z.value > 1 ? W.value.width / (Z.value - 1) : 0);
989
990
  function Q(e) {
990
- return Z.value <= 1 ? W.value.left + W.value.width / 2 : W.value.left + e * li.value;
991
+ return Z.value <= 1 ? W.value.left + W.value.width / 2 : W.value.left + e * fi.value;
991
992
  }
992
- function ui(e) {
993
+ function pi(e) {
993
994
  if (Z.value <= 1) return {
994
995
  x: W.value.left,
995
996
  width: W.value.width
@@ -1000,43 +1001,43 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1000
1001
  width: Math.max(0, n - t)
1001
1002
  };
1002
1003
  }
1003
- function di(e) {
1004
- Ln.value || (ci && cancelAnimationFrame(ci), ci = requestAnimationFrame(() => {
1005
- ci = 0;
1006
- let t = si(e);
1004
+ function mi(e) {
1005
+ Ln.value || (di && cancelAnimationFrame(di), di = requestAnimationFrame(() => {
1006
+ di = 0;
1007
+ let t = ui(e);
1007
1008
  if (!t || !V.value) {
1008
- mi();
1009
+ _i();
1009
1010
  return;
1010
1011
  }
1011
1012
  let { left: n, right: r, top: i, bottom: a } = W.value;
1012
1013
  if (t.x < n || t.x > r || t.y < i || t.y > a) {
1013
- mi();
1014
+ _i();
1014
1015
  return;
1015
1016
  }
1016
1017
  let o = 0;
1017
1018
  if (Z.value > 1) {
1018
- let e = (t.x - n) / li.value;
1019
+ let e = (t.x - n) / fi.value;
1019
1020
  o = Math.round(e);
1020
1021
  } else o = 0;
1021
- o < 0 && (o = 0), o > Z.value - 1 && (o = Z.value - 1), oi.value !== o && (oi.value = o, vi(!0, o));
1022
+ o < 0 && (o = 0), o > Z.value - 1 && (o = Z.value - 1), li.value !== o && (li.value = o, xi(!0, o));
1022
1023
  }));
1023
1024
  }
1024
- function fi(e) {
1025
- let t = si(e);
1025
+ function hi(e) {
1026
+ let t = ui(e);
1026
1027
  if (!t || !V.value) return;
1027
1028
  let { left: n, right: r, top: i, bottom: a } = W.value;
1028
1029
  if (t.x < n || t.x > r || t.y < i || t.y > a) return;
1029
1030
  let o = 0;
1030
1031
  if (Z.value > 1) {
1031
- let e = (t.x - n) / li.value;
1032
+ let e = (t.x - n) / fi.value;
1032
1033
  o = Math.round(e);
1033
1034
  } else o = 0;
1034
- o < 0 && (o = 0), o > Z.value - 1 && (o = Z.value - 1), Zi({
1035
+ o < 0 && (o = 0), o > Z.value - 1 && (o = Z.value - 1), ta({
1035
1036
  seriesIndex: o,
1036
- datapoint: Ui(o)
1037
- }), pi(o);
1037
+ datapoint: qi(o)
1038
+ }), gi(o);
1038
1039
  }
1039
- function pi(e) {
1040
+ function gi(e) {
1040
1041
  let t = JSON.parse(JSON.stringify(Y.value)).map((t) => ({
1041
1042
  name: t.name,
1042
1043
  value: t.series[e] === 0 ? 0 : t.series[e] || null,
@@ -1066,10 +1067,10 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1066
1067
  $.value < 0 && ($.value = 0), $.value > e - 1 && ($.value = e - 1);
1067
1068
  }
1068
1069
  });
1069
- function mi() {
1070
- ci &&= (cancelAnimationFrame(ci), 0), oi.value = null, vi(!1, null);
1070
+ function _i() {
1071
+ di &&= (cancelAnimationFrame(di), 0), li.value = null, xi(!1, null);
1071
1072
  }
1072
- let $ = O(null), hi = b(() => {
1073
+ let $ = O(null), vi = b(() => {
1073
1074
  let e = $.value, t = e == null ? null : xr(e);
1074
1075
  return Y.value.map((n) => ({
1075
1076
  slotAbsoluteIndex: n.absoluteIndex,
@@ -1083,23 +1084,23 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1083
1084
  standalone: !!n.standalone
1084
1085
  }));
1085
1086
  });
1086
- function gi(e) {
1087
+ function yi(e) {
1087
1088
  if (e == null || !z.value.style.chart.tooltip.showTimeLabel) return null;
1088
1089
  let t = Br.value?.[e]?.text || null, n = Xr.value?.[e]?.text || null, r = Vr.value?.[e]?.text || null;
1089
1090
  return z.value.style.chart.tooltip.useDefaultTimeFormat ? t : n || r;
1090
1091
  }
1091
- let _i = b(() => {
1092
- let e = z.value.style.chart.tooltip.customFormat, t = [...hi.value].reverse(), n = t.filter((e) => !e.standalone), r = t.filter((e) => e.standalone), i = n.map((e) => e.value).filter((e) => f(e) && e !== null).reduce((e, t) => Math.abs(e) + Math.abs(t), 0);
1092
+ let bi = b(() => {
1093
+ let e = z.value.style.chart.tooltip.customFormat, t = [...vi.value].reverse(), n = t.filter((e) => !e.standalone), r = t.filter((e) => e.standalone), i = n.map((e) => e.value).filter((e) => f(e) && e !== null).reduce((e, t) => Math.abs(e) + Math.abs(t), 0);
1093
1094
  if (de(e) && te(() => e({
1094
1095
  absoluteIndex: $.value + q.value.start,
1095
1096
  seriesIndex: $.value,
1096
- datapoint: hi.value,
1097
+ datapoint: vi.value,
1097
1098
  series: G.value,
1098
1099
  config: z.value
1099
1100
  }))) return e({
1100
1101
  absoluteIndex: $.value + q.value.start,
1101
1102
  seriesIndex: $.value,
1102
- datapoint: hi.value,
1103
+ datapoint: vi.value,
1103
1104
  series: G.value,
1104
1105
  config: z.value
1105
1106
  });
@@ -1174,7 +1175,7 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1174
1175
  }, { datapoint: e })) : ""} ${r}${n}${o}
1175
1176
  </div>
1176
1177
  `;
1177
- }, _ = "", ee = gi($.value);
1178
+ }, _ = "", ee = yi($.value);
1178
1179
  return ee && (_ += `<div style="width:100%;text-align:center;border-bottom:1px solid ${u};padding-bottom:6px;margin-bottom:3px;">${ee}</div>`), o && n.length > 1 && (_ += `<div class="vue-data-ui-tooltip-total" style="display:flex;flex-direction:row;align-items:center;gap:4px">
1179
1180
  <span>${c}:</span>
1180
1181
  <span>${v(z.value.style.chart.lines.dataLabels.formatter, ie(i), h({
@@ -1192,7 +1193,7 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1192
1193
  _ += g(e, !1);
1193
1194
  })), `<div>${_}</div>`;
1194
1195
  });
1195
- function vi(e, t = null, n = "pointer") {
1196
+ function xi(e, t = null, n = "pointer") {
1196
1197
  if (Ar.value) return;
1197
1198
  jn.value = n, nn.value = e;
1198
1199
  let r = Y.value.map((e) => ({
@@ -1204,7 +1205,7 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1204
1205
  ].includes(e.series[t]) ? null : e.series[t],
1205
1206
  color: e.color
1206
1207
  }));
1207
- e ? (R.value = t, $.value = t, Zi({
1208
+ e ? (R.value = t, $.value = t, ta({
1208
1209
  seriesIndex: t,
1209
1210
  datapoint: r
1210
1211
  }), z.value.events.datapointEnter && z.value.events.datapointEnter({
@@ -1219,7 +1220,7 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1219
1220
  seriesIndex: t + q.value.start
1220
1221
  }));
1221
1222
  }
1222
- function yi(e, t) {
1223
+ function Si(e, t) {
1223
1224
  let n = JSON.parse(JSON.stringify(Y.value)).map((e) => ({
1224
1225
  name: e.name,
1225
1226
  value: e.series[t] === 0 ? 0 : (e.signedSeries[t] === -1 && e.series[t] >= 0 ? -e.series[t] : e.series[t]) || null,
@@ -1233,12 +1234,12 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1233
1234
  label: e.text
1234
1235
  });
1235
1236
  }
1236
- function bi() {
1237
- L.value.length ? L.value = [] : Si.value.forEach((e) => {
1237
+ function Ci() {
1238
+ L.value.length ? L.value = [] : Ti.value.forEach((e) => {
1238
1239
  L.value.push(e.id);
1239
1240
  }), F("selectLegend", Y.value);
1240
1241
  }
1241
- function xi(e) {
1242
+ function wi(e) {
1242
1243
  if (L.value.includes(e.id)) L.value = L.value.filter((t) => t !== e.id);
1243
1244
  else {
1244
1245
  if (L.value.length === G.value.length - 1) return;
@@ -1246,12 +1247,12 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1246
1247
  }
1247
1248
  F("selectLegend", Y.value);
1248
1249
  }
1249
- let Si = b(() => G.value.map((e) => ({
1250
+ let Ti = b(() => G.value.map((e) => ({
1250
1251
  ...e,
1251
1252
  opacity: L.value.includes(e.id) ? .5 : 1,
1252
- segregate: () => xi(e),
1253
+ segregate: () => wi(e),
1253
1254
  isSegregated: L.value.includes(e.id)
1254
- }))), Ci = b(() => ({
1255
+ }))), Ei = b(() => ({
1255
1256
  cy: "stackline-legend",
1256
1257
  backgroundColor: z.value.style.chart.legend.backgroundColor,
1257
1258
  color: z.value.style.chart.legend.color,
@@ -1259,18 +1260,18 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1259
1260
  paddingBottom: 12,
1260
1261
  fontWeight: z.value.style.chart.legend.bold ? "bold" : ""
1261
1262
  }));
1262
- function wi(e) {
1263
+ function Di(e) {
1263
1264
  return G.value.length ? G.value.find((t) => t.name === e) || (z.value.debug && console.warn(`VueUiStackline - Series name not found "${e}"`), null) : (z.value.debug && console.warn("VueUiStackline - There are no series to show."), null);
1264
1265
  }
1265
- function Ti(e) {
1266
- let t = wi(e);
1267
- t !== null && L.value.includes(t.id) && xi({ id: t.id });
1266
+ function Oi(e) {
1267
+ let t = Di(e);
1268
+ t !== null && L.value.includes(t.id) && wi({ id: t.id });
1268
1269
  }
1269
- function Ei(e) {
1270
- let t = wi(e);
1271
- t !== null && (L.value.includes(t.id) || xi({ id: t.id }));
1270
+ function ki(e) {
1271
+ let t = Di(e);
1272
+ t !== null && (L.value.includes(t.id) || wi({ id: t.id }));
1272
1273
  }
1273
- let Di = b(() => {
1274
+ let Ai = b(() => {
1274
1275
  if (Y.value.length === 0) return {
1275
1276
  head: [],
1276
1277
  body: [],
@@ -1292,18 +1293,18 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1292
1293
  body: t
1293
1294
  };
1294
1295
  });
1295
- function Oi(e = null) {
1296
+ function ji(e = null) {
1296
1297
  let n = [
1297
1298
  [z.value.style.chart.title.text],
1298
1299
  [z.value.style.chart.title.subtitle.text],
1299
1300
  [""]
1300
- ], i = ["", ...Di.value.head.map((e) => e.label)], a = Di.value.body, o = r(n.concat([i]).concat(a));
1301
- e ? e(o) : t({
1302
- csvContent: o,
1301
+ ], i = ["", ...Ai.value.head.map((e) => e.label)], a = Ai.value.body, o = n.concat([i]).concat(a), s = r(o);
1302
+ e ? e(s) : t({
1303
+ csvContent: s,
1303
1304
  title: z.value.style.chart.title.text || "vue-ui-stackline"
1304
1305
  });
1305
1306
  }
1306
- let ki = b(() => {
1307
+ let Mi = b(() => {
1307
1308
  let e = [""].concat(Y.value.map((e) => e.name), " <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2\" /></svg>"), t = [], n = Math.max(0, q.value.end - q.value.start);
1308
1309
  for (let e = 0; e < n; e += 1) {
1309
1310
  let n = xr(e), r = z.value.style.chart.grid.x.timeLabels.values?.[n] ? Br.value?.[e]?.text ?? n + 1 : n + 1, i = Y.value.map((t) => {
@@ -1330,30 +1331,30 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1330
1331
  },
1331
1332
  colNames: [z.value.table.columnNames.period].concat(Y.value.map((e) => e.name), z.value.table.columnNames.total)
1332
1333
  };
1333
- }), Ai = b(() => z.value.style.chart.backgroundColor), ji = b(() => z.value.style.chart.legend), { exportSvg: Mi, getSvg: Ni } = Se({
1334
+ }), Ni = b(() => z.value.style.chart.backgroundColor), Pi = b(() => z.value.style.chart.legend), Fi = b(() => z.value.style.chart.title), { exportSvg: Ii, getSvg: Li } = Se({
1334
1335
  svg: V,
1335
- title: b(() => z.value.style.chart.title),
1336
- legend: ji,
1337
- legendItems: Si,
1338
- backgroundColor: Ai
1336
+ title: Fi,
1337
+ legend: Pi,
1338
+ legendItems: Ti,
1339
+ backgroundColor: Ni
1339
1340
  });
1340
- async function Pi({ isCb: e }) {
1341
+ async function Ri({ isCb: e }) {
1341
1342
  bn.value = !0, await Je();
1342
1343
  try {
1343
1344
  if (e) {
1344
- let { blob: e, url: t, text: n, dataUrl: r } = await Ni();
1345
+ let { blob: e, url: t, text: n, dataUrl: r } = await Li();
1345
1346
  await Promise.resolve(z.value.userOptions.callbacks.svg({
1346
1347
  blob: e,
1347
1348
  url: t,
1348
1349
  text: n,
1349
1350
  dataUrl: r
1350
1351
  }));
1351
- } else await Promise.resolve(Mi());
1352
+ } else await Promise.resolve(Ii());
1352
1353
  } finally {
1353
1354
  bn.value = !1;
1354
1355
  }
1355
1356
  }
1356
- async function Fi({ scale: e = 2 } = {}) {
1357
+ async function zi({ scale: e = 2 } = {}) {
1357
1358
  if (!tn.value) return;
1358
1359
  let { imageUri: t, base64: n } = await Oe({
1359
1360
  domElement: tn.value,
@@ -1372,7 +1373,7 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1372
1373
  ...a
1373
1374
  };
1374
1375
  }
1375
- let Ii = b(() => {
1376
+ let Bi = b(() => {
1376
1377
  let e = z.value.table.useDialog && !z.value.table.show, t = H.value.showTable;
1377
1378
  return {
1378
1379
  component: e ? Yt : Wt,
@@ -1406,25 +1407,25 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1406
1407
  rt(() => H.value.showTable, (e) => {
1407
1408
  z.value.table.show || (e && z.value.table.useDialog && gn.value ? gn.value.open() : "close" in gn.value && gn.value.close());
1408
1409
  });
1409
- function Li() {
1410
+ function Vi() {
1410
1411
  H.value.showTable = !1, _n.value && _n.value.setTableIconState(!1);
1411
1412
  }
1412
- function Ri(e) {
1413
+ function Hi(e) {
1413
1414
  un.value = e, rn.value += 1;
1414
1415
  }
1415
- function zi() {
1416
+ function Ui() {
1416
1417
  H.value.showTable = !H.value.showTable;
1417
1418
  }
1418
- function Bi() {
1419
+ function Wi() {
1419
1420
  H.value.dataLabels.show = !H.value.dataLabels.show;
1420
1421
  }
1421
- function Vi() {
1422
+ function Gi() {
1422
1423
  H.value.showTooltip = !H.value.showTooltip;
1423
1424
  }
1424
- function Hi() {
1425
+ function Ki() {
1425
1426
  return Y.value;
1426
1427
  }
1427
- function Ui(e) {
1428
+ function qi(e) {
1428
1429
  let t = e ?? 0, n = xr(t);
1429
1430
  return JSON.parse(JSON.stringify(Y.value)).map((e) => {
1430
1431
  let r = e.series[t], i = e.signedSeries?.[t], a = r === 0 ? 0 : (i === -1 && r >= 0 ? -r : r) || null;
@@ -1439,7 +1440,7 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1439
1440
  };
1440
1441
  });
1441
1442
  }
1442
- let Wi = b(() => Array(K.value).fill(0).map((e, t) => Ui(t)));
1443
+ let Ji = b(() => Array(K.value).fill(0).map((e, t) => qi(t)));
1443
1444
  rt(() => P.selectedXIndex, (e) => {
1444
1445
  if ([null, void 0].includes(P.selectedXIndex)) {
1445
1446
  $.value = null;
@@ -1448,7 +1449,7 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1448
1449
  let t = e - q.value.start;
1449
1450
  t < 0 || e >= q.value.end ? $.value = null : $.value = t ?? null;
1450
1451
  }, { immediate: !0 });
1451
- let Gi = b(() => {
1452
+ let Yi = b(() => {
1452
1453
  if (z.value.style.chart.lines.distributed) return {
1453
1454
  min: -1,
1454
1455
  max: 1
@@ -1473,7 +1474,7 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1473
1474
  max: Number(f.max) || 0
1474
1475
  };
1475
1476
  });
1476
- function Ki({ minimapH: e, unitW: t }) {
1477
+ function Xi({ minimapH: e, unitW: t }) {
1477
1478
  let n = (e) => typeof e == "string" ? e.replace(/^M\s*[-+]?[\d.]+(?:e[-+]?\d+)?\s*,?\s*[-+]?[\d.]+(?:e[-+]?\d+)?\s*/i, "").trim() : "";
1478
1479
  if (!Number.isFinite(e) || e <= 0 || !Number.isFinite(t) || t <= 0) return "";
1479
1480
  let r = Y.value.filter((e) => !e.standalone), i = Y.value.filter((e) => e.standalone), a = Math.max(0, ...Y.value.map((e) => Array.isArray(e.fullSeries) ? e.fullSeries.length : e.series.length));
@@ -1525,7 +1526,7 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1525
1526
  stroke-linecap="round" />`);
1526
1527
  }), c.join("");
1527
1528
  }
1528
- let s = Gi.value.min, c = Gi.value.max, u = Math.abs(s), d = c + u || 1, f = (t) => Math.max(0, Math.min(e, t)), m = (t) => f(e - e * (((t ?? 0) + u) / d)), h = [];
1529
+ let s = Yi.value.min, c = Yi.value.max, u = Math.abs(s), d = c + u || 1, f = (t) => Math.max(0, Math.min(e, t)), m = (t) => f(e - e * (((t ?? 0) + u) / d)), h = [];
1529
1530
  if (r.length) {
1530
1531
  let e = Array(a).fill(0), t = Array(a).fill(0);
1531
1532
  r.forEach((r) => {
@@ -1568,12 +1569,12 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1568
1569
  stroke-linecap="round" />`);
1569
1570
  }), h.join("");
1570
1571
  }
1571
- function qi(e, t) {
1572
+ function Zi(e, t) {
1572
1573
  let n = z.value.style.chart.lines, r = n.dataLabels;
1573
- return n.showDistributedPercentage && n.distributed ? Zn.value ? t === 0 ? !r.hideEmptyPercentages : Math.abs(t) * 100 >= r.hideUnderPercentage : !r.hideEmptyPercentages || Math.abs(t) > 0 : Zn.value ? (Xn.value && sr.value && console.warn("Vue Data UI - VueUiStackline - You cannot set both dataLabels.hideUnderPercentage and dataLabels.hideUnderValue. Note that dataLabels.hideUnderPercentage takes precedence in this case."), Math.abs(e) > Ji.value * r.hideUnderPercentage / 100) : Xn.value ? Math.abs(e) >= r.hideUnderValue : !r.hideEmptyValues || e !== 0;
1574
+ return n.showDistributedPercentage && n.distributed ? Zn.value ? t === 0 ? !r.hideEmptyPercentages : Math.abs(t) * 100 >= r.hideUnderPercentage : !r.hideEmptyPercentages || Math.abs(t) > 0 : Zn.value ? (Xn.value && sr.value && console.warn("Vue Data UI - VueUiStackline - You cannot set both dataLabels.hideUnderPercentage and dataLabels.hideUnderValue. Note that dataLabels.hideUnderPercentage takes precedence in this case."), Math.abs(e) > Qi.value * r.hideUnderPercentage / 100) : Xn.value ? Math.abs(e) >= r.hideUnderValue : !r.hideEmptyValues || e !== 0;
1574
1575
  }
1575
- let Ji = b(() => Math.max(...Y.value.flatMap((e) => e.series)));
1576
- function Yi(e, t, n, r, i) {
1576
+ let Qi = b(() => Math.max(...Y.value.flatMap((e) => e.series)));
1577
+ function $i(e, t, n, r, i) {
1577
1578
  let a = i === -1 && e >= 0 ? -e : e;
1578
1579
  return v(z.value.style.chart.lines.dataLabels.formatter, a, h({
1579
1580
  p: z.value.style.chart.lines.dataLabels.prefix,
@@ -1586,7 +1587,7 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1586
1587
  datapointIndex: r
1587
1588
  });
1588
1589
  }
1589
- function Xi(e, t, n, r) {
1590
+ function ea(e, t, n, r) {
1590
1591
  return v(z.value.style.chart.lines.dataLabels.formatter, e, h({
1591
1592
  v: isNaN(e) ? 0 : e,
1592
1593
  s: "%",
@@ -1597,7 +1598,7 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1597
1598
  datapointIndex: r
1598
1599
  });
1599
1600
  }
1600
- function Zi({ seriesIndex: e, datapoint: t }) {
1601
+ function ta({ seriesIndex: e, datapoint: t }) {
1601
1602
  let n = q.value.start + e;
1602
1603
  F("selectX", {
1603
1604
  dataset: t,
@@ -1605,7 +1606,7 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1605
1606
  indexLabel: z.value.style.chart.grid.x.timeLabels.values[n]
1606
1607
  });
1607
1608
  }
1608
- function Qi(e) {
1609
+ function na(e) {
1609
1610
  if (e?.stage === "start") {
1610
1611
  yn.value = !0;
1611
1612
  return;
@@ -1616,7 +1617,7 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1616
1617
  }
1617
1618
  tr();
1618
1619
  }
1619
- async function $i() {
1620
+ async function ra() {
1620
1621
  if (F("copyAlt", {
1621
1622
  config: z.value,
1622
1623
  dataset: Y.value
@@ -1629,18 +1630,18 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1629
1630
  dataset: Y.value
1630
1631
  }));
1631
1632
  }
1632
- let ea = O(!1);
1633
- function ta() {
1634
- R.value = null, ea.value = !0;
1633
+ let ia = O(!1);
1634
+ function aa() {
1635
+ R.value = null, ia.value = !0;
1635
1636
  }
1636
- function na() {
1637
+ function oa() {
1637
1638
  R.value = null, jn.value = "pointer", nn.value = !1, $.value = null, F("selectX", {
1638
1639
  index: null,
1639
1640
  indexLabel: null,
1640
1641
  dataset: null
1641
- }), ea.value = !1;
1642
+ }), ia.value = !1;
1642
1643
  }
1643
- function ra(e) {
1644
+ function sa(e) {
1644
1645
  if (!V.value || Ln.value || document.activeElement !== V.value || Ar.value || !Z.value) return;
1645
1646
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
1646
1647
  if (!t && !n && !r && !i) return;
@@ -1654,36 +1655,36 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1654
1655
  }
1655
1656
  if (r) {
1656
1657
  if (R.value === null) return;
1657
- pi(R.value);
1658
+ gi(R.value);
1658
1659
  return;
1659
1660
  }
1660
- let a = R.value, o = oi.value, s = a !== null && a >= 0 && a < Z.value, c = o !== null && o >= 0 && o < Z.value;
1661
- s ? n ? (a += 1, a >= Z.value && (a = 0)) : t && (--a, a < 0 && (a = Z.value - 1)) : c ? (a = n ? o + 1 : o - 1, a >= Z.value && (a = 0), a < 0 && (a = Z.value - 1)) : a = n ? 0 : Z.value - 1, R.value = a, ia(a), vi(!0, a, "keyboard");
1661
+ let a = R.value, o = li.value, s = a !== null && a >= 0 && a < Z.value, c = o !== null && o >= 0 && o < Z.value;
1662
+ s ? n ? (a += 1, a >= Z.value && (a = 0)) : t && (--a, a < 0 && (a = Z.value - 1)) : c ? (a = n ? o + 1 : o - 1, a >= Z.value && (a = 0), a < 0 && (a = Z.value - 1)) : a = n ? 0 : Z.value - 1, R.value = a, ca(a), xi(!0, a, "keyboard");
1662
1663
  }
1663
- function ia(e) {
1664
+ function ca(e) {
1664
1665
  if (!Number.isFinite(e) || !V.value) return;
1665
- let t = i(W.value.left + e * li.value, W.value.top + W.value.height / 2, V.value);
1666
- t && (An.value = t);
1666
+ let t = W.value.left + e * fi.value, n = W.value.top + W.value.height / 2, r = i(t, n, V.value);
1667
+ r && (An.value = r);
1667
1668
  }
1668
- let aa = b(() => ({
1669
- headers: ki.value?.colNames ?? [],
1670
- rows: ki.value?.body ?? []
1669
+ let la = b(() => ({
1670
+ headers: Mi.value?.colNames ?? [],
1671
+ rows: Mi.value?.body ?? []
1671
1672
  }));
1672
1673
  return je({
1673
- getData: Hi,
1674
- getImage: Fi,
1674
+ getData: Ki,
1675
+ getImage: zi,
1675
1676
  generatePdf: er,
1676
- generateCsv: Oi,
1677
+ generateCsv: ji,
1677
1678
  generateImage: tr,
1678
- generateSvg: Pi,
1679
- hideSeries: Ei,
1680
- showSeries: Ti,
1681
- toggleTable: zi,
1682
- toggleLabels: Bi,
1683
- toggleTooltip: Vi,
1679
+ generateSvg: Ri,
1680
+ hideSeries: ki,
1681
+ showSeries: Oi,
1682
+ toggleTable: Ui,
1683
+ toggleLabels: Wi,
1684
+ toggleTooltip: Gi,
1684
1685
  toggleAnnotator: Rn,
1685
- toggleFullscreen: Ri,
1686
- copyAlt: $i
1686
+ toggleFullscreen: Hi,
1687
+ copyAlt: ra
1687
1688
  }), (t, r) => (D(), C("div", {
1688
1689
  id: `stackline_${I.value}`,
1689
1690
  ref_key: "stacklineChart",
@@ -1701,11 +1702,11 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1701
1702
  id: `chart-instructions-${I.value}`,
1702
1703
  class: "sr-only"
1703
1704
  }, [w("p", null, j(z.value.a11y.translations.keyboardNavigation), 1)], 8, st),
1704
- aa.value?.rows?.length ? (D(), x(Le, {
1705
+ la.value?.rows?.length ? (D(), x(Le, {
1705
1706
  key: 0,
1706
1707
  uid: I.value,
1707
- head: aa.value.headers,
1708
- body: aa.value.rows,
1708
+ head: la.value.headers,
1709
+ body: la.value.rows,
1709
1710
  notice: z.value.a11y.translations.tableAvailable,
1710
1711
  caption: z.value.a11y.translations.tableCaption
1711
1712
  }, null, 8, [
@@ -1794,16 +1795,16 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1794
1795
  printScale: z.value.userOptions.print.scale,
1795
1796
  tableDialog: z.value.table.useDialog,
1796
1797
  isCursorPointer: B.value,
1797
- onToggleFullscreen: Ri,
1798
+ onToggleFullscreen: Hi,
1798
1799
  onGeneratePdf: M(er),
1799
- onGenerateCsv: Oi,
1800
- onGenerateImage: Qi,
1801
- onGenerateSvg: Pi,
1802
- onToggleTable: zi,
1803
- onToggleLabels: Bi,
1804
- onToggleTooltip: Vi,
1800
+ onGenerateCsv: ji,
1801
+ onGenerateImage: na,
1802
+ onGenerateSvg: Ri,
1803
+ onToggleTable: Ui,
1804
+ onToggleLabels: Wi,
1805
+ onToggleTooltip: Gi,
1805
1806
  onToggleAnnotator: Rn,
1806
- onCopyAlt: $i,
1807
+ onCopyAlt: ra,
1807
1808
  style: Xe({ visibility: M(Kn) ? M(Wn) ? "visible" : "hidden" : "visible" })
1808
1809
  }, Ue({ _: 2 }, [
1809
1810
  t.$slots.menuIcon ? {
@@ -1898,12 +1899,12 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
1898
1899
  "aria-live": "polite",
1899
1900
  tabindex: "0",
1900
1901
  preserveAspectRatio: "xMidYMid",
1901
- onMousemove: di,
1902
- onMouseleave: mi,
1903
- onClick: fi,
1904
- onFocus: ta,
1905
- onBlur: na,
1906
- onKeydown: ra
1902
+ onMousemove: mi,
1903
+ onMouseleave: _i,
1904
+ onClick: hi,
1905
+ onFocus: aa,
1906
+ onBlur: oa,
1907
+ onKeydown: sa
1907
1908
  }, [
1908
1909
  Ge(M(Jt)),
1909
1910
  (D(!0), C(y, null, k(vr.value, (e) => (D(), C(y, null, [t.$slots.pattern ? (D(), C("defs", dt, [A(t.$slots, "pattern", qe({ ref_for: !0 }, {
@@ -2092,7 +2093,7 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
2092
2093
  x: 0,
2093
2094
  y: 0
2094
2095
  }),
2095
- onClick: () => yi(e, n)
2096
+ onClick: () => Si(e, n)
2096
2097
  }, null, 12, Ot)) : (D(), C("text", {
2097
2098
  class: "vue-data-ui-time-label",
2098
2099
  key: n,
@@ -2102,13 +2103,13 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
2102
2103
  fill: z.value.style.chart.grid.x.timeLabels.color,
2103
2104
  transform: `translate(${Q(n)}, ${W.value.bottom + z.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + z.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${z.value.style.chart.grid.x.timeLabels.rotation})`,
2104
2105
  style: Xe({ cursor: B.value ? "pointer" : "default" }),
2105
- onClick: () => yi(e, n)
2106
+ onClick: () => Si(e, n)
2106
2107
  }, j(e.text), 13, Dt))]))), 256))]))], 512)) : S("", !0),
2107
2108
  (vn.value || ![null, void 0].includes($.value)) && !z.value.style.chart.highlighter.useLine ? (D(!0), C(y, { key: 11 }, k(q.value.end - q.value.start, (e, t) => (D(), C("g", { key: `tooltip_trap_highlighter_${t}` }, [w("rect", {
2108
- x: ui(t).x,
2109
+ x: pi(t).x,
2109
2110
  y: W.value.top,
2110
2111
  height: W.value.height,
2111
- width: ui(t).width,
2112
+ width: pi(t).width,
2112
2113
  fill: [In.value, $.value].includes(t) ? M(n)(z.value.style.chart.highlighter.color, z.value.style.chart.highlighter.opacity) : "transparent",
2113
2114
  style: {
2114
2115
  transition: "none !important",
@@ -2190,7 +2191,7 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
2190
2191
  "still",
2191
2192
  "class"
2192
2193
  ])) : S("", !0)]))), 128)) : S("", !0)], 64))), 128)),
2193
- H.value.dataLabels.show && z.value.style.chart.lines.dataLabels.hideAboveMaxSerieLength > q.value.end - q.value.start ? (D(), C(y, { key: 13 }, [(D(!0), C(y, null, k(Y.value, (e, t) => (D(), C("g", { key: `dl_${e.id}` }, [(D(!0), C(y, null, k(e.points, (n, r) => (D(), C(y, { key: `dp_${e.id}_${q.value.start + r}` }, [qi(e.series[r], e.proportions[r]) ? (D(), C("text", {
2194
+ H.value.dataLabels.show && z.value.style.chart.lines.dataLabels.hideAboveMaxSerieLength > q.value.end - q.value.start ? (D(), C(y, { key: 13 }, [(D(!0), C(y, null, k(Y.value, (e, t) => (D(), C("g", { key: `dl_${e.id}` }, [(D(!0), C(y, null, k(e.points, (n, r) => (D(), C(y, { key: `dp_${e.id}_${q.value.start + r}` }, [Zi(e.series[r], e.proportions[r]) ? (D(), C("text", {
2194
2195
  key: 0,
2195
2196
  class: Ye({ "vue-data-ui-transition": M(zn) }),
2196
2197
  transform: `translate(${n.x}, ${n.y + (e.series[r] >= 0 ? -z.value.style.chart.lines.dataLabels.fontSize / 2 + z.value.style.chart.lines.dataLabels.offsetY : z.value.style.chart.lines.dataLabels.fontSize * 1.2 - z.value.style.chart.lines.dataLabels.offsetY)})`,
@@ -2198,7 +2199,7 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
2198
2199
  fill: z.value.style.chart.lines.dataLabels.color,
2199
2200
  "font-weight": z.value.style.chart.lines.dataLabels.bold ? "bold" : "normal",
2200
2201
  "text-anchor": "middle"
2201
- }, j(z.value.style.chart.lines.showDistributedPercentage && z.value.style.chart.lines.distributed ? Xi(e.proportions[r] * 100, e, t, e.rel[r]) : Yi(e.series[r], e, t, e.rel[r], e.signedSeries[r])), 11, Nt)) : S("", !0)], 64))), 128))]))), 128)), z.value.style.chart.lines.totalValues.show && Y.value.length > 1 ? (D(), C("g", {
2202
+ }, j(z.value.style.chart.lines.showDistributedPercentage && z.value.style.chart.lines.distributed ? ea(e.proportions[r] * 100, e, t, e.rel[r]) : $i(e.series[r], e, t, e.rel[r], e.signedSeries[r])), 11, Nt)) : S("", !0)], 64))), 128))]))), 128)), z.value.style.chart.lines.totalValues.show && Y.value.length > 1 ? (D(), C("g", {
2202
2203
  key: 0,
2203
2204
  ref_key: "sumTop",
2204
2205
  ref: Tn
@@ -2210,7 +2211,7 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
2210
2211
  "font-size": z.value.style.chart.lines.totalValues.fontSize,
2211
2212
  "font-weight": z.value.style.chart.lines.totalValues.bold ? "bold" : "normal",
2212
2213
  fill: z.value.style.chart.lines.totalValues.color
2213
- }, j(Yi(e.value, e, t, t, e.sign)), 11, Pt)) : S("", !0)], 64))), 128))], 512)) : S("", !0)], 64)) : S("", !0),
2214
+ }, j($i(e.value, e, t, t, e.sign)), 11, Pt)) : S("", !0)], 64))), 128))], 512)) : S("", !0)], 64)) : S("", !0),
2214
2215
  Sr.value ? (D(), C("rect", qe({ key: 14 }, _r.value, {
2215
2216
  "data-start": q.value.start,
2216
2217
  "data-end": q.value.end
@@ -2223,7 +2224,7 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
2223
2224
  } }, void 0, !0)
2224
2225
  ], 46, ut)), t.$slots.hint ? (D(), C("div", It, [A(t.$slots, "hint", E(T({
2225
2226
  hint: z.value.a11y.translations.keyboardNavigation,
2226
- isVisible: ea.value
2227
+ isVisible: ia.value
2227
2228
  })), void 0, !0)])) : S("", !0)]),
2228
2229
  t.$slots.watermark ? (D(), C("div", Lt, [A(t.$slots, "watermark", E(T({ isPrinting: M(Qn) || M($n) || yn.value || bn.value })), void 0, !0)])) : S("", !0),
2229
2230
  hn.value && (z.value.style.chart.legend.show || t.$slots.legend) ? (D(), x(He, {
@@ -2232,10 +2233,10 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
2232
2233
  }, [w("div", {
2233
2234
  ref_key: "chartLegend",
2234
2235
  ref: on
2235
- }, [A(t.$slots, "legend", { legend: Si.value }, () => [z.value.style.chart.legend.show ? (D(), x(Be, {
2236
+ }, [A(t.$slots, "legend", { legend: Ti.value }, () => [z.value.style.chart.legend.show ? (D(), x(Be, {
2236
2237
  key: 0,
2237
- legendSet: Si.value,
2238
- config: Ci.value,
2238
+ legendSet: Ti.value,
2239
+ config: Ei.value,
2239
2240
  isCursorPointer: B.value,
2240
2241
  onClickMarker: r[0] ||= ({ legend: e }) => e.segregate()
2241
2242
  }, Ue({
@@ -2244,14 +2245,14 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
2244
2245
  onClick: (t) => e.segregate(),
2245
2246
  style: Xe(`opacity:${L.value.includes(e.id) ? .5 : 1}`)
2246
2247
  }, j(e.name), 13, Rt))]),
2247
- legendToggle: N(() => [Si.value.length > 2 && z.value.style.chart.legend.selectAllToggle.show && !M(Vn) ? (D(), x(Ie, {
2248
+ legendToggle: N(() => [Ti.value.length > 2 && z.value.style.chart.legend.selectAllToggle.show && !M(Vn) ? (D(), x(Ie, {
2248
2249
  key: 0,
2249
2250
  backgroundColor: z.value.style.chart.legend.selectAllToggle.backgroundColor,
2250
2251
  color: z.value.style.chart.legend.selectAllToggle.color,
2251
2252
  fontSize: z.value.style.chart.legend.fontSize,
2252
2253
  checked: L.value.length > 0,
2253
2254
  isCursorPointer: B.value,
2254
- onToggle: bi
2255
+ onToggle: Ci
2255
2256
  }, null, 8, [
2256
2257
  "backgroundColor",
2257
2258
  "color",
@@ -2278,20 +2279,20 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
2278
2279
  "config",
2279
2280
  "isCursorPointer"
2280
2281
  ])) : S("", !0)], !0)], 512)], 8, ["to"])) : S("", !0),
2281
- en.value && z.value.userOptions.buttons.table ? (D(), x($e(Ii.value.component), qe({ key: 7 }, Ii.value.props, {
2282
+ en.value && z.value.userOptions.buttons.table ? (D(), x($e(Bi.value.component), qe({ key: 7 }, Bi.value.props, {
2282
2283
  ref_key: "tableUnit",
2283
2284
  ref: gn,
2284
- onClose: Li
2285
+ onClose: Vi
2285
2286
  }), Ue({
2286
2287
  content: N(() => [Ge(M(Gt), {
2287
- colNames: ki.value.colNames,
2288
- head: ki.value.head,
2289
- body: ki.value.body,
2290
- config: ki.value.config,
2291
- title: z.value.table.useDialog ? "" : Ii.value.title,
2288
+ colNames: Mi.value.colNames,
2289
+ head: Mi.value.head,
2290
+ body: Mi.value.body,
2291
+ config: Mi.value.config,
2292
+ title: z.value.table.useDialog ? "" : Bi.value.title,
2292
2293
  withCloseButton: !z.value.table.useDialog,
2293
2294
  isCursorPointer: B.value,
2294
- onClose: Li
2295
+ onClose: Vi
2295
2296
  }, {
2296
2297
  th: N(({ th: e }) => [w("div", { innerHTML: e }, null, 8, zt)]),
2297
2298
  td: N(({ td: e }) => [We(j(isNaN(Number(e)) ? e : M(h)({
@@ -2313,18 +2314,18 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
2313
2314
  _: 2
2314
2315
  }, [z.value.table.useDialog ? {
2315
2316
  name: "title",
2316
- fn: N(() => [We(j(Ii.value.title), 1)]),
2317
+ fn: N(() => [We(j(Bi.value.title), 1)]),
2317
2318
  key: "0"
2318
2319
  } : void 0, z.value.table.useDialog ? {
2319
2320
  name: "actions",
2320
2321
  fn: N(() => [w("button", {
2321
2322
  tabindex: "0",
2322
2323
  class: "vue-ui-user-options-button",
2323
- onClick: r[1] ||= (e) => Oi(z.value.userOptions.callbacks.csv),
2324
+ onClick: r[1] ||= (e) => ji(z.value.userOptions.callbacks.csv),
2324
2325
  style: Xe({ cursor: B.value ? "pointer" : "default" })
2325
2326
  }, [Ge(M(Ut), {
2326
2327
  name: "fileCsv",
2327
- stroke: Ii.value.props.color
2328
+ stroke: Bi.value.props.color
2328
2329
  }, null, 8, ["stroke"])], 4)]),
2329
2330
  key: "1"
2330
2331
  } : void 0]), 1040)) : S("", !0),
@@ -2364,7 +2365,7 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
2364
2365
  refreshEndPoint: z.value.style.chart.zoom.endIndex === null ? Math.max(...e.dataset.map((e) => e.series.length)) : z.value.style.chart.zoom.endIndex + 1,
2365
2366
  refreshStartPoint: z.value.style.chart.zoom.startIndex === null ? 0 : z.value.style.chart.zoom.startIndex,
2366
2367
  selectColor: z.value.style.chart.zoom.highlightColor,
2367
- selectedSeries: Wi.value,
2368
+ selectedSeries: Ji.value,
2368
2369
  smoothMinimap: !1,
2369
2370
  start: q.value.start,
2370
2371
  textColor: z.value.style.chart.color,
@@ -2374,6 +2375,8 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
2374
2375
  valueStart: q.value.start,
2375
2376
  verticalHandles: z.value.style.chart.zoom.minimap.verticalHandles,
2376
2377
  maxWidth: z.value.style.chart.zoom.maxWidth,
2378
+ minimapLeftInsetRatio: W.value.chartWidth > 0 && z.value.style.chart.zoom.autoFit ? W.value.left / W.value.chartWidth : null,
2379
+ minimapRightInsetRatio: W.value.chartWidth > 0 && z.value.style.chart.zoom.autoFit ? (W.value.chartWidth - W.value.right) / W.value.chartWidth : null,
2377
2380
  isCursorPointer: B.value,
2378
2381
  additionalMinimapHeight: z.value.style.chart.zoom.minimap.additionalHeight,
2379
2382
  handleType: z.value.style.chart.zoom.minimap.handleType,
@@ -2390,13 +2393,13 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
2390
2393
  onFutureStart: r[4] ||= (e) => Cr("start", e)
2391
2394
  }, {
2392
2395
  "reset-action": N(({ reset: e }) => [A(t.$slots, "reset-action", E(T({ reset: e })), void 0, !0)]),
2393
- slotMap: N(({ width: e, height: t, unitW: n }) => [w("g", { innerHTML: Ki({
2396
+ slotMap: N(({ width: e, height: t, unitW: n }) => [w("g", { innerHTML: Xi({
2394
2397
  minimapW: e,
2395
2398
  minimapH: t,
2396
2399
  unitW: n
2397
2400
  }) }, null, 8, Bt)]),
2398
2401
  _: 3
2399
- }, 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("."))) : S("", !0),
2402
+ }, 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("."))) : S("", !0),
2400
2403
  w("div", { id: `legend-bottom-${I.value}` }, null, 8, Vt),
2401
2404
  Ge(M(Ht), {
2402
2405
  teleportTo: z.value.style.chart.tooltip.teleportTo,
@@ -2412,7 +2415,7 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
2412
2415
  offsetX: z.value.style.chart.tooltip.offsetX,
2413
2416
  offsetY: z.value.style.chart.tooltip.offsetY,
2414
2417
  parent: tn.value,
2415
- content: _i.value,
2418
+ content: bi.value,
2416
2419
  isFullscreen: un.value,
2417
2420
  isCustom: z.value.style.chart.tooltip.customFormat && typeof z.value.style.chart.tooltip.customFormat == "function",
2418
2421
  smooth: z.value.style.chart.tooltip.smooth,
@@ -2459,6 +2462,6 @@ var at = /* @__PURE__ */ e({ default: () => Ht }), ot = ["id"], st = ["id"], ct
2459
2462
  A(t.$slots, "skeleton", {}, () => [M(Vn) ? (D(), x(xe, { key: 0 })) : S("", !0)], !0)
2460
2463
  ], 46, ot));
2461
2464
  }
2462
- }, [["__scopeId", "data-v-eaa07f6c"]]);
2465
+ }, [["__scopeId", "data-v-9f4fff5f"]]);
2463
2466
  //#endregion
2464
2467
  export { at as n, Ht as t };