vue-data-ui 3.22.8 → 3.22.9

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 (169) hide show
  1. package/dist/{BaseDraggableDialog-DcfGlH8A.js → BaseDraggableDialog-Av7Uxq5V.js} +1 -1
  2. package/dist/BaseIcon-UdRAvP2h.js +483 -0
  3. package/dist/{BaseLegendToggle-DtQ8vyfr.js → BaseLegendToggle-DWtet-Hh.js} +1 -1
  4. package/dist/{BaseZoomControls-C6zonwhr.js → BaseZoomControls-BY2KLqs6.js} +1 -1
  5. package/dist/{ColorPicker-CK2-h611.js → ColorPicker-DR_ummtM.js} +1 -1
  6. package/dist/{DataTable-D9NvewTT.js → DataTable-BxpTMgfK.js} +1 -1
  7. package/dist/DefGrad-DVBqDjhO.js +48 -0
  8. package/dist/{NonSvgPenAndPaper-BHHNsVVP.js → NonSvgPenAndPaper-B6EG_Sga.js} +2 -2
  9. package/dist/{PackageVersion-DW7zwRcm.js → PackageVersion-D__dRVRA.js} +1 -1
  10. package/dist/{PenAndPaper-pcgwlYr2.js → PenAndPaper-DsXi7GJ-.js} +2 -2
  11. package/dist/{Slicer-BZ5VnOOS.js → Slicer-CW_XPIKL.js} +359 -354
  12. package/dist/{SlicerPreview-BQFeCw0m.js → SlicerPreview-CTz41lOu.js} +471 -466
  13. package/dist/{UserOptions-16uF1ayB.js → UserOptions-trvJ26nz.js} +1 -1
  14. package/dist/components/vue-ui-3d-bar.js +1 -1
  15. package/dist/components/vue-ui-accordion.js +1 -1
  16. package/dist/components/vue-ui-age-pyramid.js +1 -1
  17. package/dist/components/vue-ui-annotator.js +1 -1
  18. package/dist/components/vue-ui-bullet.js +1 -1
  19. package/dist/components/vue-ui-bump.js +1 -1
  20. package/dist/components/vue-ui-candlestick.js +1 -1
  21. package/dist/components/vue-ui-carousel-table.js +1 -1
  22. package/dist/components/vue-ui-chestnut.js +1 -1
  23. package/dist/components/vue-ui-chord.js +1 -1
  24. package/dist/components/vue-ui-circle-pack.js +1 -1
  25. package/dist/components/vue-ui-cursor.js +1 -1
  26. package/dist/components/vue-ui-dag.js +1 -1
  27. package/dist/components/vue-ui-dashboard.js +1 -1
  28. package/dist/components/vue-ui-digits.js +1 -1
  29. package/dist/components/vue-ui-donut-evolution.js +1 -1
  30. package/dist/components/vue-ui-donut.js +1 -1
  31. package/dist/components/vue-ui-dumbbell.js +1 -1
  32. package/dist/components/vue-ui-flow.js +1 -1
  33. package/dist/components/vue-ui-funnel.js +1 -1
  34. package/dist/components/vue-ui-galaxy.js +1 -1
  35. package/dist/components/vue-ui-gauge.js +1 -1
  36. package/dist/components/vue-ui-geo.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-molecule.js +1 -1
  44. package/dist/components/vue-ui-mood-radar.js +1 -1
  45. package/dist/components/vue-ui-nested-donuts.js +1 -1
  46. package/dist/components/vue-ui-onion.js +1 -1
  47. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  48. package/dist/components/vue-ui-quadrant.js +1 -1
  49. package/dist/components/vue-ui-quick-chart.js +1 -1
  50. package/dist/components/vue-ui-radar.js +1 -1
  51. package/dist/components/vue-ui-rating.js +1 -1
  52. package/dist/components/vue-ui-relation-circle.js +1 -1
  53. package/dist/components/vue-ui-ridgeline.js +1 -1
  54. package/dist/components/vue-ui-rings.js +1 -1
  55. package/dist/components/vue-ui-scatter.js +1 -1
  56. package/dist/components/vue-ui-skeleton.js +1 -1
  57. package/dist/components/vue-ui-smiley.js +1 -1
  58. package/dist/components/vue-ui-spark-trend.js +1 -1
  59. package/dist/components/vue-ui-sparkbar.js +1 -1
  60. package/dist/components/vue-ui-sparkgauge.js +1 -1
  61. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  62. package/dist/components/vue-ui-sparkline.js +1 -1
  63. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  64. package/dist/components/vue-ui-stackbar.js +1 -1
  65. package/dist/components/vue-ui-stackline.js +1 -1
  66. package/dist/components/vue-ui-strip-plot.js +1 -1
  67. package/dist/components/vue-ui-table-heatmap.js +1 -1
  68. package/dist/components/vue-ui-table-sparkline.js +1 -1
  69. package/dist/components/vue-ui-table.js +1 -1
  70. package/dist/components/vue-ui-thermometer.js +1 -1
  71. package/dist/components/vue-ui-timer.js +1 -1
  72. package/dist/components/vue-ui-tiremarks.js +1 -1
  73. package/dist/components/vue-ui-treemap.js +1 -1
  74. package/dist/components/vue-ui-vertical-bar.js +1 -1
  75. package/dist/components/vue-ui-waffle.js +1 -1
  76. package/dist/components/vue-ui-wheel.js +1 -1
  77. package/dist/components/vue-ui-word-cloud.js +1 -1
  78. package/dist/components/vue-ui-world.js +1 -1
  79. package/dist/components/vue-ui-xy-canvas.js +1 -1
  80. package/dist/components/vue-ui-xy.js +1 -1
  81. package/dist/{package-gp9pYCfN.js → package-ByOT60IK.js} +1 -1
  82. package/dist/{render-common-CLn1VXJ9.js → render-common-D18VrP0h.js} +1 -1
  83. package/dist/ssr/vue-ui-donut.js +1 -1
  84. package/dist/ssr/vue-ui-xy.js +1 -1
  85. package/dist/ssr.js +2 -2
  86. package/dist/style.css +1 -1
  87. package/dist/{vue-data-ui-AZZ9Cq-4.js → vue-data-ui-ub3fCh6P.js} +67 -67
  88. package/dist/vue-data-ui.js +67 -67
  89. package/dist/vue-ui-3d-bar-taPI41_I.js +1825 -0
  90. package/dist/{vue-ui-accordion-YyosvEPo.js → vue-ui-accordion-CjAGqEJg.js} +1 -1
  91. package/dist/{vue-ui-age-pyramid-DTAOc7fn.js → vue-ui-age-pyramid-jvQZbF8E.js} +306 -297
  92. package/dist/{vue-ui-annotator-CfJXeAOE.js → vue-ui-annotator-BIucnT0L.js} +3 -3
  93. package/dist/{vue-ui-bullet-CCLnrOLm.js → vue-ui-bullet-CIATzlsk.js} +1 -1
  94. package/dist/{vue-ui-bump-Rq7efdoe.js → vue-ui-bump-D8MxltQE.js} +2 -2
  95. package/dist/{vue-ui-candlestick-D-Z9pEaA.js → vue-ui-candlestick-DULUMU-Q.js} +513 -502
  96. package/dist/{vue-ui-carousel-table-Lx5Zk4dG.js → vue-ui-carousel-table-BSmdexG7.js} +1 -1
  97. package/dist/vue-ui-chestnut-BIh1nQ7q.js +2042 -0
  98. package/dist/{vue-ui-chord-Db1O_diJ.js → vue-ui-chord-DL1M7cgL.js} +1 -1
  99. package/dist/vue-ui-circle-pack-C1Pgq6si.js +1614 -0
  100. package/dist/{vue-ui-cursor-DLP7wxsw.js → vue-ui-cursor-d2uLAKTQ.js} +1 -1
  101. package/dist/{vue-ui-dag-DL3zq0F2.js → vue-ui-dag-CVh9FpZr.js} +2 -2
  102. package/dist/{vue-ui-dashboard-C2ozZ-LI.js → vue-ui-dashboard-BH0N3ebj.js} +65 -65
  103. package/dist/{vue-ui-digits-ThFVNO3l.js → vue-ui-digits-R6wi3J-Y.js} +1 -1
  104. package/dist/{vue-ui-donut-BuTd6dt4.js → vue-ui-donut-BWDeVzLc.js} +1 -1
  105. package/dist/{vue-ui-donut-C3Rt6j-I.js → vue-ui-donut-BoZdciGh.js} +632 -623
  106. package/dist/vue-ui-donut-evolution-CpC9EMro.js +1522 -0
  107. package/dist/{vue-ui-dumbbell-wK7vUB0x.js → vue-ui-dumbbell-DGA5Bfnl.js} +528 -494
  108. package/dist/{vue-ui-flow-BTUNfWb7.js → vue-ui-flow-CNczKwTh.js} +1 -1
  109. package/dist/vue-ui-funnel-CaD2tZCT.js +782 -0
  110. package/dist/{vue-ui-galaxy-DJ2uNYcN.js → vue-ui-galaxy-v3cTbUiM.js} +2 -2
  111. package/dist/vue-ui-gauge-DxvMjfoc.js +926 -0
  112. package/dist/{vue-ui-geo-ovHu_Sc9.js → vue-ui-geo-BgmLkZZ2.js} +2 -2
  113. package/dist/{vue-ui-gizmo-DDxEj-qe.js → vue-ui-gizmo-n1kmcGeE.js} +66 -61
  114. package/dist/{vue-ui-heatmap-Npqnvb1r.js → vue-ui-heatmap-dSTh8ah_.js} +2 -2
  115. package/dist/{vue-ui-history-plot-C3Kjy2tc.js → vue-ui-history-plot-N8BqMFVU.js} +395 -384
  116. package/dist/{vue-ui-horizontal-bar-D1rCsgqt.js → vue-ui-horizontal-bar-CwiQxYzv.js} +360 -354
  117. package/dist/{vue-ui-kpi-BrlfYO-j.js → vue-ui-kpi-BKrUk9o8.js} +1 -1
  118. package/dist/{vue-ui-molecule-CExCqZ08.js → vue-ui-molecule--kK1JfnP.js} +295 -289
  119. package/dist/{vue-ui-mood-radar-DlVh6hwx.js → vue-ui-mood-radar-CpBRHQo_.js} +209 -204
  120. package/dist/{vue-ui-nested-donuts-3TRV8pN-.js → vue-ui-nested-donuts-8Ehwcuns.js} +307 -301
  121. package/dist/{vue-ui-onion-DwKK9DXn.js → vue-ui-onion-Cf6JiYTH.js} +2 -2
  122. package/dist/{vue-ui-parallel-coordinate-plot-DSp_cwU-.js → vue-ui-parallel-coordinate-plot-Blnqp1DB.js} +2 -2
  123. package/dist/{vue-ui-quadrant-ByVg-NBs.js → vue-ui-quadrant-CxU0jiOm.js} +366 -360
  124. package/dist/{vue-ui-quick-chart-WMzSJxGZ.js → vue-ui-quick-chart-BO98uEPl.js} +3 -3
  125. package/dist/{vue-ui-radar-DE-me6OC.js → vue-ui-radar-eH2Qih4_.js} +272 -266
  126. package/dist/{vue-ui-rating-CzD3EQ3G.js → vue-ui-rating-CN-ZiAES.js} +135 -126
  127. package/dist/{vue-ui-relation-circle-L7-dTqet.js → vue-ui-relation-circle-BIcP-aAt.js} +1 -1
  128. package/dist/vue-ui-ridgeline-ChXHzEJw.js +1628 -0
  129. package/dist/{vue-ui-rings-WzWiEo9W.js → vue-ui-rings-J990vNbX.js} +262 -256
  130. package/dist/{vue-ui-scatter-DwrAydha.js → vue-ui-scatter-BeJB0EKg.js} +642 -633
  131. package/dist/{vue-ui-skeleton-CuFm4PtB.js → vue-ui-skeleton-DC2bZ0nk.js} +336 -333
  132. package/dist/{vue-ui-smiley-D4NnZ1mg.js → vue-ui-smiley-Dyyu1je3.js} +111 -98
  133. package/dist/{vue-ui-spark-trend-C38ysZ-c.js → vue-ui-spark-trend-CpDX85H3.js} +158 -153
  134. package/dist/vue-ui-sparkbar-DhIo1qsW.js +398 -0
  135. package/dist/{vue-ui-sparkgauge-DgPc4vPT.js → vue-ui-sparkgauge-D0Fo3Hts.js} +75 -70
  136. package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +576 -0
  137. package/dist/vue-ui-sparkline-ApivEMBP.js +1560 -0
  138. package/dist/{vue-ui-sparkstackbar-DrmiWFlw.js → vue-ui-sparkstackbar-DsKQJx_n.js} +179 -167
  139. package/dist/{vue-ui-stackbar-BVdApDnY.js → vue-ui-stackbar-Ds4hXATH.js} +538 -531
  140. package/dist/vue-ui-stackline-DJbcVvmN.js +2425 -0
  141. package/dist/{vue-ui-strip-plot-C-TFNvgz.js → vue-ui-strip-plot-C3ZHf4bD.js} +368 -361
  142. package/dist/{vue-ui-table-heatmap-D0pZbBOH.js → vue-ui-table-heatmap-CNXNXXBU.js} +1 -1
  143. package/dist/{vue-ui-table-sparkline-Q6BHPKUn.js → vue-ui-table-sparkline-B9JJ4pFF.js} +1 -1
  144. package/dist/{vue-ui-table-Q3brrivC.js → vue-ui-table-uudidrYt.js} +4 -4
  145. package/dist/vue-ui-thermometer-Bvw3oQb3.js +770 -0
  146. package/dist/{vue-ui-timer-BdzKpoRj.js → vue-ui-timer-5NAWw5BN.js} +91 -86
  147. package/dist/{vue-ui-tiremarks-DWb69ofh.js → vue-ui-tiremarks-Caz_g1c5.js} +1 -1
  148. package/dist/{vue-ui-treemap-uUz07Prw.js → vue-ui-treemap-F9upPyOI.js} +458 -453
  149. package/dist/{vue-ui-waffle-Pi9e7Ae7.js → vue-ui-waffle-Bk9AsrPp.js} +296 -290
  150. package/dist/{vue-ui-wheel-DTfvWYA7.js → vue-ui-wheel-DD6Q39BA.js} +1 -1
  151. package/dist/{vue-ui-word-cloud-DqfljAqH.js → vue-ui-word-cloud-BZLT5svo.js} +2 -2
  152. package/dist/{vue-ui-world-BtBrH92Z.js → vue-ui-world-DbEJN5NA.js} +284 -273
  153. package/dist/{vue-ui-xy-Bvgy2do1.js → vue-ui-xy-BYMAITk_.js} +1294 -1268
  154. package/dist/{vue-ui-xy-D5KsuNR2.js → vue-ui-xy-Cn9Q8YPr.js} +1 -1
  155. package/dist/{vue-ui-xy-canvas-BfgeE3TW.js → vue-ui-xy-canvas-Dcm2ftwm.js} +5 -5
  156. package/package.json +1 -1
  157. package/dist/BaseIcon-C2qlyHc7.js +0 -502
  158. package/dist/vue-ui-3d-bar-B3HxJmDI.js +0 -1757
  159. package/dist/vue-ui-chestnut-RfWMGUD-.js +0 -2010
  160. package/dist/vue-ui-circle-pack-B4Ro7UuI.js +0 -1608
  161. package/dist/vue-ui-donut-evolution-DY46UPF_.js +0 -1510
  162. package/dist/vue-ui-funnel-BhoHzyHa.js +0 -777
  163. package/dist/vue-ui-gauge-Cf4NqvrO.js +0 -920
  164. package/dist/vue-ui-ridgeline-Cp3YP0xe.js +0 -1622
  165. package/dist/vue-ui-sparkbar-B03ndcUe.js +0 -393
  166. package/dist/vue-ui-sparkhistogram-D02ff7ZI.js +0 -560
  167. package/dist/vue-ui-sparkline-DlTfNQj8.js +0 -1547
  168. package/dist/vue-ui-stackline-QzQQ7lTy.js +0 -2419
  169. package/dist/vue-ui-thermometer-Bg0RR6m4.js +0 -763
@@ -15,25 +15,26 @@ import { t as De } from "./Shape-UpH0a4Ur.js";
15
15
  import { t as Oe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
16
  import { c as ke } from "./canvas-lib-BOP_HS11.js";
17
17
  import { t as Ae } from "./useResponsive-BfnK0KxU.js";
18
- import { t as je } from "./SlicerPreview-BQFeCw0m.js";
19
- import { t as Me } from "./BaseLegendToggle-DtQ8vyfr.js";
20
- import { t as Ne } from "./A11yDataTable-DdRsVULz.js";
21
- import { t as Pe } from "./useUserOptionState-DK-_1ddE.js";
22
- import { t as Fe } from "./useChartAccessibility-DYqac8yF.js";
23
- import { t as Ie } from "./Legend-ROt6ugzW.js";
24
- import { t as Le } from "./vue_ui_stackbar-COOrQQdK.js";
25
- import { Fragment as g, Teleport as Re, computed as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as ze, createTextVNode as Be, createVNode as Ve, defineAsyncComponent as He, guardReactiveProps as S, mergeProps as Ue, nextTick as We, normalizeClass as Ge, normalizeProps as C, normalizeStyle as w, onBeforeUnmount as Ke, onMounted as qe, openBlock as T, ref as E, renderList as D, renderSlot as O, resolveDynamicComponent as Je, shallowRef as Ye, toDisplayString as k, toRefs as Xe, unref as A, useSlots as Ze, watch as Qe, watchEffect as $e, withCtx as j } from "vue";
18
+ import { t as je } from "./DefGrad-DVBqDjhO.js";
19
+ import { t as Me } from "./SlicerPreview-CTz41lOu.js";
20
+ import { t as Ne } from "./BaseLegendToggle-DWtet-Hh.js";
21
+ import { t as Pe } from "./A11yDataTable-DdRsVULz.js";
22
+ import { t as Fe } from "./useUserOptionState-DK-_1ddE.js";
23
+ import { t as Ie } from "./useChartAccessibility-DYqac8yF.js";
24
+ import { t as Le } from "./Legend-ROt6ugzW.js";
25
+ import { t as Re } from "./vue_ui_stackbar-COOrQQdK.js";
26
+ import { Fragment as g, Teleport as ze, computed as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as Be, createTextVNode as Ve, createVNode as He, defineAsyncComponent as Ue, guardReactiveProps as S, mergeProps as We, nextTick as Ge, normalizeClass as Ke, normalizeProps as C, normalizeStyle as w, onBeforeUnmount as qe, onMounted as Je, openBlock as T, ref as E, renderList as D, renderSlot as O, resolveDynamicComponent as Ye, shallowRef as Xe, toDisplayString as k, toRefs as Ze, unref as A, useSlots as Qe, watch as $e, watchEffect as et, withCtx as j } from "vue";
26
27
  //#region src/components/vue-ui-stackbar.vue
27
- var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt = ["id"], it = { style: { position: "relative" } }, at = [
28
+ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it = ["id"], at = { style: { position: "relative" } }, ot = [
28
29
  "xmlns",
29
30
  "aria-describedby",
30
31
  "viewBox"
31
- ], ot = [
32
+ ], st = [
32
33
  "x",
33
34
  "y",
34
35
  "width",
35
36
  "height"
36
- ], st = { key: 1 }, ct = ["id"], lt = ["stop-color"], ut = ["stop-color"], dt = ["stop-color"], ft = [
37
+ ], ct = { key: 1 }, lt = [
37
38
  "x",
38
39
  "y",
39
40
  "width",
@@ -43,7 +44,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
43
44
  "stroke-linecap",
44
45
  "stroke-linejoin",
45
46
  "stroke-dasharray"
46
- ], pt = [
47
+ ], ut = [
47
48
  "x1",
48
49
  "x2",
49
50
  "y1",
@@ -51,7 +52,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
51
52
  "stroke",
52
53
  "stroke-width",
53
54
  "stroke-dasharray"
54
- ], mt = [
55
+ ], dt = [
55
56
  "x1",
56
57
  "x2",
57
58
  "y1",
@@ -59,7 +60,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
59
60
  "stroke",
60
61
  "stroke-width",
61
62
  "stroke-dasharray"
62
- ], ht = [
63
+ ], ft = [
63
64
  "x1",
64
65
  "x2",
65
66
  "y1",
@@ -67,7 +68,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
67
68
  "stroke",
68
69
  "stroke-width",
69
70
  "stroke-dasharray"
70
- ], gt = [
71
+ ], pt = [
71
72
  "x1",
72
73
  "x2",
73
74
  "y1",
@@ -75,7 +76,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
75
76
  "stroke",
76
77
  "stroke-width",
77
78
  "stroke-dasharray"
78
- ], _t = { key: 0 }, vt = [
79
+ ], mt = { key: 0 }, ht = [
79
80
  "x",
80
81
  "y",
81
82
  "height",
@@ -84,7 +85,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
84
85
  "fill",
85
86
  "stroke",
86
87
  "stroke-width"
87
- ], yt = { key: 0 }, bt = [
88
+ ], gt = { key: 0 }, _t = [
88
89
  "x",
89
90
  "y",
90
91
  "height",
@@ -93,7 +94,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
93
94
  "fill",
94
95
  "stroke",
95
96
  "stroke-width"
96
- ], xt = [
97
+ ], vt = [
97
98
  "x",
98
99
  "y",
99
100
  "width",
@@ -102,7 +103,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
102
103
  "fill",
103
104
  "stroke",
104
105
  "stroke-width"
105
- ], St = { key: 0 }, Ct = [
106
+ ], yt = { key: 0 }, bt = [
106
107
  "x",
107
108
  "y",
108
109
  "width",
@@ -111,102 +112,102 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
111
112
  "fill",
112
113
  "stroke",
113
114
  "stroke-width"
114
- ], wt = [
115
+ ], xt = [
115
116
  "x1",
116
117
  "x2",
117
118
  "y1",
118
119
  "y2",
119
120
  "stroke",
120
121
  "stroke-width"
121
- ], Tt = [
122
+ ], St = [
122
123
  "x1",
123
124
  "x2",
124
125
  "y1",
125
126
  "y2",
126
127
  "stroke",
127
128
  "stroke-width"
128
- ], Et = [
129
+ ], Ct = [
129
130
  "x",
130
131
  "y",
131
132
  "font-size",
132
133
  "fill",
133
134
  "font-weight"
134
- ], Dt = [
135
+ ], wt = [
135
136
  "transform",
136
137
  "font-size",
137
138
  "fill",
138
139
  "font-weight"
139
- ], Ot = [
140
+ ], Tt = [
140
141
  "x",
141
142
  "y",
142
143
  "font-size",
143
144
  "fill",
144
145
  "font-weight"
145
- ], kt = [
146
+ ], Et = [
146
147
  "x",
147
148
  "y",
148
149
  "font-size",
149
150
  "font-weight",
150
151
  "fill"
151
- ], At = [
152
+ ], Dt = [
152
153
  "x",
153
154
  "y",
154
155
  "font-size",
155
156
  "fill",
156
157
  "font-weight"
157
- ], jt = [
158
+ ], Ot = [
158
159
  "x",
159
160
  "y",
160
161
  "font-size",
161
162
  "font-weight",
162
163
  "fill"
163
- ], Mt = [
164
+ ], kt = [
164
165
  "x1",
165
166
  "x2",
166
167
  "y1",
167
168
  "y2",
168
169
  "stroke"
169
- ], Nt = [
170
+ ], At = [
170
171
  "x",
171
172
  "y",
172
173
  "font-size",
173
174
  "font-weight",
174
175
  "fill",
175
176
  "text-anchor"
176
- ], Pt = [
177
+ ], jt = [
177
178
  "x1",
178
179
  "x2",
179
180
  "y1",
180
181
  "y2",
181
182
  "stroke"
182
- ], Ft = [
183
+ ], Mt = [
183
184
  "font-size",
184
185
  "font-weight",
185
186
  "fill",
186
187
  "text-anchor",
187
188
  "transform"
188
- ], It = { key: 0 }, Lt = { key: 1 }, Rt = [
189
+ ], Nt = { key: 0 }, Pt = { key: 1 }, Ft = [
189
190
  "text-anchor",
190
191
  "font-size",
191
192
  "font-weight",
192
193
  "fill",
193
194
  "transform",
194
195
  "onClick"
195
- ], zt = [
196
+ ], It = [
196
197
  "text-anchor",
197
198
  "font-size",
198
199
  "fill",
199
200
  "transform",
200
201
  "innerHTML",
201
202
  "onClick"
202
- ], Bt = { key: 0 }, Vt = { key: 1 }, Ht = [
203
+ ], Lt = { key: 0 }, Rt = { key: 1 }, zt = [
203
204
  "font-size",
204
205
  "font-weight",
205
206
  "fill",
206
207
  "x",
207
208
  "y",
208
209
  "onClick"
209
- ], Ut = [
210
+ ], Bt = [
210
211
  "font-size",
211
212
  "font-weight",
212
213
  "fill",
@@ -214,7 +215,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
214
215
  "y",
215
216
  "onClick",
216
217
  "innerHTML"
217
- ], Wt = [
218
+ ], Vt = [
218
219
  "x",
219
220
  "y",
220
221
  "width",
@@ -223,7 +224,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
223
224
  "onMouseenter",
224
225
  "onMouseleave",
225
226
  "fill"
226
- ], Gt = [
227
+ ], Ht = [
227
228
  "x",
228
229
  "y",
229
230
  "width",
@@ -232,7 +233,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
232
233
  "onMouseenter",
233
234
  "onMouseleave",
234
235
  "fill"
235
- ], Kt = ["data-start", "data-end"], qt = {
236
+ ], Ut = ["data-start", "data-end"], Wt = {
236
237
  key: 0,
237
238
  style: {
238
239
  position: "absolute",
@@ -242,17 +243,17 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
242
243
  },
243
244
  "data-dom-to-png-ignore": "",
244
245
  "aria-hidden": "true"
245
- }, Jt = {
246
+ }, Gt = {
246
247
  key: 4,
247
248
  class: "vue-data-ui-watermark"
248
- }, Yt = [
249
+ }, Kt = [
249
250
  "x",
250
251
  "y",
251
252
  "height",
252
253
  "width",
253
254
  "fill",
254
255
  "stroke"
255
- ], Xt = ["id"], Zt = ["onClick"], Qt = ["innerHTML"], $t = /*#__PURE__*/ Oe({
256
+ ], qt = ["id"], Jt = ["onClick"], Yt = ["innerHTML"], Xt = /*#__PURE__*/ Oe({
256
257
  __name: "vue-ui-stackbar",
257
258
  props: {
258
259
  config: {
@@ -279,46 +280,46 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
279
280
  "selectX",
280
281
  "copyAlt"
281
282
  ],
282
- setup(e, { expose: Oe, emit: et }) {
283
- let $t = He(() => import("./Tooltip-CxOrWlFy.js")), en = He(() => import("./BaseIcon-C2qlyHc7.js").then((e) => e.n)), tn = He(() => import("./vue-ui-accordion-YyosvEPo.js").then((e) => e.n)), nn = He(() => import("./DataTable-D9NvewTT.js")), rn = He(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), an = He(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), on = He(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), sn = He(() => import("./BaseDraggableDialog-DcfGlH8A.js").then((e) => e.n)), { vue_ui_stackbar: cn } = ge(), { isThemeValid: ln, warnInvalidTheme: un } = Se(), dn = Ze(), M = e, N = et, fn = _({
283
+ setup(e, { expose: Oe, emit: tt }) {
284
+ let Xt = Ue(() => import("./Tooltip-CxOrWlFy.js")), Zt = Ue(() => import("./BaseIcon-UdRAvP2h.js").then((e) => e.n)), Qt = Ue(() => import("./vue-ui-accordion-CjAGqEJg.js").then((e) => e.n)), $t = Ue(() => import("./DataTable-BxpTMgfK.js")), en = Ue(() => import("./PenAndPaper-DsXi7GJ-.js").then((e) => e.t)), tn = Ue(() => import("./UserOptions-trvJ26nz.js").then((e) => e.n)), nn = Ue(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), rn = Ue(() => import("./BaseDraggableDialog-Av7Uxq5V.js").then((e) => e.n)), { vue_ui_stackbar: an } = ge(), { isThemeValid: on, warnInvalidTheme: sn } = Se(), cn = Qe(), M = e, N = tt, ln = _({
284
285
  get() {
285
286
  return !!M.dataset && M.dataset.length;
286
287
  },
287
288
  set(e) {
288
289
  return e;
289
290
  }
290
- }), P = E(null), F = E(r()), pn = E(!1), mn = E(null), hn = E(""), I = E([]), gn = E(0), _n = E(null), vn = E(null), yn = E(null), bn = E(null), xn = E(!1), L = E(null), Sn = E(!1), Cn = E(0), wn = E(0), Tn = E(0), En = E(!1), Dn = E(null), On = E(null), kn = E(!1), An = E(!1), jn = E(null), Mn = E(null), Nn = E(null), Pn = E(null), Fn = E(null), In = E(null), Ln = Ye(null), Rn = E(!1), zn = E(0), Bn = E(0), R = E(null), Vn = E({
291
+ }), P = E(null), F = E(r()), un = E(!1), dn = E(null), fn = E(""), I = E([]), pn = E(0), mn = E(null), hn = E(null), gn = E(null), _n = E(null), vn = E(!1), L = E(null), yn = E(!1), bn = E(0), xn = E(0), Sn = E(0), Cn = E(!1), wn = E(null), Tn = E(null), En = E(!1), Dn = E(!1), On = E(null), kn = E(null), An = E(null), jn = E(null), Mn = E(null), Nn = E(null), Pn = Xe(null), Fn = E(!1), In = E(0), Ln = E(0), R = E(null), Rn = E({
291
292
  x: 0,
292
293
  y: 0
293
- }), Hn = E("pointer"), Un = Ce({
294
- elementRef: Ln,
294
+ }), zn = E("pointer"), Bn = Ce({
295
+ elementRef: Pn,
295
296
  minimumWidth: 2,
296
297
  minimumHeight: 2,
297
298
  stableFramesRequired: 2,
298
299
  once: !1,
299
300
  onSizeAccepted: () => {
300
- Kn();
301
+ Un();
301
302
  }
302
303
  });
303
- function Wn() {
304
- Ln.value = P.value?.parentNode ?? null;
304
+ function Vn() {
305
+ Pn.value = P.value?.parentNode ?? null;
305
306
  }
306
- function Gn() {
307
+ function Hn() {
307
308
  return new Promise((e) => {
308
309
  requestAnimationFrame(() => {
309
310
  requestAnimationFrame(e);
310
311
  });
311
312
  });
312
313
  }
313
- async function Kn() {
314
- let e = ++Bn.value;
315
- Rn.value = !1, await We(), await Gn(), await Gn(), e === Bn.value && (zn.value += 1, Rn.value = !0);
314
+ async function Un() {
315
+ let e = ++Ln.value;
316
+ Fn.value = !1, await Ge(), await Hn(), await Hn(), e === Ln.value && (In.value += 1, Fn.value = !0);
316
317
  }
317
- let qn = E(null);
318
- qe(() => {
319
- En.value = !0, Wn(), Un.start(), hr();
318
+ let Wn = E(null);
319
+ Je(() => {
320
+ Cn.value = !0, Vn(), Bn.start(), fr();
320
321
  });
321
- let z = E(ir()), B = _(() => z.value.userOptions.useCursorPointer), Jn = _(() => s({
322
+ let z = E(tr()), B = _(() => z.value.userOptions.useCursorPointer), Gn = _(() => s({
322
323
  defaultConfig: {
323
324
  userOptions: { show: !1 },
324
325
  useCssAnimation: !1,
@@ -363,13 +364,13 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
363
364
  } }
364
365
  },
365
366
  userConfig: z.value.skeletonConfig ?? {}
366
- })), { loading: Yn, FINAL_DATASET: Xn, manualLoading: Zn } = ve({
367
- ...Xe(M),
367
+ })), { loading: Kn, FINAL_DATASET: qn, manualLoading: Jn } = ve({
368
+ ...Ze(M),
368
369
  FINAL_CONFIG: z,
369
- prepareConfig: ir,
370
+ prepareConfig: tr,
370
371
  callback: () => {
371
372
  Promise.resolve().then(async () => {
372
- (!z.value.style.chart.zoom.keepState || !Gi.value || J.value.start === 0 && J.value.end === 0) && await Ki();
373
+ (!z.value.style.chart.zoom.keepState || !Hi.value || J.value.start === 0 && J.value.end === 0) && await Ui();
373
374
  });
374
375
  },
375
376
  skeletonDataset: M.config?.skeletonDataset ?? [{
@@ -397,28 +398,28 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
397
398
  }],
398
399
  skeletonConfig: s({
399
400
  defaultConfig: z.value,
400
- userConfig: Jn.value
401
+ userConfig: Gn.value
401
402
  })
402
- }), { userOptionsVisible: Qn, setUserOptionsVisibility: $n, keepUserOptionState: er } = Pe({ config: z.value }), { svgRef: tr } = Fe({ config: z.value.style.chart.title });
403
- function nr() {
404
- $n(!0);
403
+ }), { userOptionsVisible: Yn, setUserOptionsVisibility: Xn, keepUserOptionState: Zn } = Fe({ config: z.value }), { svgRef: Qn } = Ie({ config: z.value.style.chart.title });
404
+ function $n() {
405
+ Xn(!0);
405
406
  }
406
- function rr() {
407
- $n(!1), N("selectX", {
407
+ function er() {
408
+ Xn(!1), N("selectX", {
408
409
  index: null,
409
410
  indexLabel: null,
410
411
  dataset: null
411
- }), L.value = null, R.value = null, pn.value = !1;
412
+ }), L.value = null, R.value = null, un.value = !1;
412
413
  }
413
- function ir() {
414
+ function tr() {
414
415
  let e = xe({
415
416
  userConfig: M.config,
416
- defaultConfig: cn
417
+ defaultConfig: an
417
418
  }), t = {}, n = e.theme;
418
- if (n) if (!ln.value(e)) un(e), t = e;
419
+ if (n) if (!on.value(e)) sn(e), t = e;
419
420
  else {
420
421
  let r = xe({
421
- userConfig: Le[n] || M.config,
422
+ userConfig: Re[n] || M.config,
422
423
  defaultConfig: e
423
424
  });
424
425
  t = {
@@ -432,25 +433,25 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
432
433
  else t = e;
433
434
  return t;
434
435
  }
435
- let ar = _(() => z.value.style.chart.bars.dataLabels.hideUnderValue != null), or = _(() => z.value.style.chart.bars.dataLabels.hideUnderPercentage != null);
436
- Qe(() => M.config, (e) => {
437
- Yn.value || (z.value = ir()), Qn.value = !z.value.userOptions.showOnChartHover, hr({ resetSlicer: !z.value.style.chart.zoom.keepState }), Cn.value += 1, wn.value += 1, Tn.value += 1, V.value.dataLabels.show = z.value.style.chart.bars.dataLabels.show, V.value.showTable = z.value.table.show, V.value.showTooltip = z.value.style.chart.tooltip.show, Wn(), !z.value.style.chart.zoom.keepState || !Gi.value || J.value.start === 0 && J.value.end === 0 ? Ki() : jr();
438
- }, { deep: !0 }), Qe(() => M.dataset, (e) => {
439
- Array.isArray(e) && e.length > 0 && (Zn.value = !1), Wn(), z.value.style.chart.zoom.keepState ? jr() : Pr();
436
+ let nr = _(() => z.value.style.chart.bars.dataLabels.hideUnderValue != null), rr = _(() => z.value.style.chart.bars.dataLabels.hideUnderPercentage != null);
437
+ $e(() => M.config, (e) => {
438
+ Kn.value || (z.value = tr()), Yn.value = !z.value.userOptions.showOnChartHover, fr({ resetSlicer: !z.value.style.chart.zoom.keepState }), bn.value += 1, xn.value += 1, Sn.value += 1, V.value.dataLabels.show = z.value.style.chart.bars.dataLabels.show, V.value.showTable = z.value.table.show, V.value.showTooltip = z.value.style.chart.tooltip.show, Vn(), !z.value.style.chart.zoom.keepState || !Hi.value || J.value.start === 0 && J.value.end === 0 ? Ui() : Or();
439
+ }, { deep: !0 }), $e(() => M.dataset, (e) => {
440
+ Array.isArray(e) && e.length > 0 && (Jn.value = !1), Vn(), z.value.style.chart.zoom.keepState ? Or() : jr();
440
441
  }, { deep: !0 });
441
442
  let V = E({
442
443
  dataLabels: { show: z.value.style.chart.bars.dataLabels.show },
443
444
  showTable: z.value.table.show,
444
445
  showTooltip: z.value.style.chart.tooltip.show
445
446
  });
446
- Qe(z, () => {
447
+ $e(z, () => {
447
448
  V.value = {
448
449
  dataLabels: { show: z.value.style.chart.bars.dataLabels.show },
449
450
  showTable: z.value.table.show,
450
451
  showTooltip: z.value.style.chart.tooltip.show
451
452
  };
452
453
  }, { immediate: !0 });
453
- let { isPrinting: sr, isImaging: cr, generatePdf: lr, generateImage: ur } = _e({
454
+ let { isPrinting: ir, isImaging: ar, generatePdf: or, generateImage: sr } = _e({
454
455
  elementId: `stackbar_${F.value}`,
455
456
  fileName: z.value.style.chart.title.text || "vue-ui-stackbar",
456
457
  options: z.value.userOptions.print
@@ -463,61 +464,61 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
463
464
  bottom: z.value.style.chart.padding.bottom / z.value.style.chart.height,
464
465
  left: z.value.style.chart.padding.left / z.value.style.chart.width
465
466
  }
466
- }), dr = _(() => l(z.value.customPalette)), U = Ye(null), fr = Ye(null), pr = E(null), mr = _(() => !!z.value.debug);
467
- function hr({ resetSlicer: e = !0 } = {}) {
467
+ }), cr = _(() => l(z.value.customPalette)), U = Xe(null), lr = Xe(null), ur = E(null), dr = _(() => !!z.value.debug);
468
+ function fr({ resetSlicer: e = !0 } = {}) {
468
469
  if (oe(M.dataset) ? (t({
469
470
  componentName: "VueUiStackbar",
470
471
  type: "dataset",
471
- debug: mr.value
472
- }), Zn.value = !0) : M.dataset.forEach((e, n) => {
472
+ debug: dr.value
473
+ }), Jn.value = !0) : M.dataset.forEach((e, n) => {
473
474
  re({
474
475
  datasetObject: e,
475
476
  requiredAttributes: ["name", "series"]
476
477
  }).forEach((e) => {
477
- fn.value = !1, t({
478
+ ln.value = !1, t({
478
479
  componentName: "VueUiStackbar",
479
480
  type: "datasetSerieAttribute",
480
481
  property: e,
481
482
  index: n,
482
- debug: mr.value
483
- }), Zn.value = !0;
483
+ debug: dr.value
484
+ }), Jn.value = !0;
484
485
  });
485
- }), oe(M.dataset) || (Zn.value = z.value.loading), setTimeout(() => {
486
- Sn.value = !0;
486
+ }), oe(M.dataset) || (Jn.value = z.value.loading), setTimeout(() => {
487
+ yn.value = !0;
487
488
  }, 10), z.value.responsive) {
488
489
  let e = ke(() => {
489
- Sn.value = !1;
490
+ yn.value = !1;
490
491
  let { width: e, height: t } = Ae({
491
492
  chart: P.value,
492
- title: z.value.style.chart.title.text ? _n.value : null,
493
- legend: z.value.style.chart.legend.show ? vn.value : null,
494
- slicer: z.value.style.chart.zoom.show && q.value > 6 ? yn.value.$el : null,
495
- source: bn.value
493
+ title: z.value.style.chart.title.text ? mn.value : null,
494
+ legend: z.value.style.chart.legend.show ? hn.value : null,
495
+ slicer: z.value.style.chart.zoom.show && q.value > 6 ? gn.value.$el : null,
496
+ source: _n.value
496
497
  });
497
498
  requestAnimationFrame(() => {
498
- H.value.width = e, H.value.height = t - 12, clearTimeout(pr.value), pr.value = setTimeout(() => {
499
- Sn.value = !0;
499
+ H.value.width = e, H.value.height = t - 12, clearTimeout(ur.value), ur.value = setTimeout(() => {
500
+ yn.value = !0;
500
501
  }, 10);
501
502
  });
502
503
  });
503
- U.value && (fr.value && U.value.unobserve(fr.value), U.value.disconnect()), U.value = new ResizeObserver(e), fr.value = P.value.parentNode, U.value.observe(fr.value);
504
+ U.value && (lr.value && U.value.unobserve(lr.value), U.value.disconnect()), U.value = new ResizeObserver(e), lr.value = P.value.parentNode, U.value.observe(lr.value);
504
505
  }
505
- Kn(), e && Ki();
506
+ Un(), e && Ui();
506
507
  }
507
- Ke(() => {
508
- Un.stop(), U.value && (fr.value && U.value.unobserve(fr.value), U.value.disconnect());
508
+ qe(() => {
509
+ Bn.stop(), U.value && (lr.value && U.value.unobserve(lr.value), U.value.disconnect());
509
510
  });
510
511
  let W = _(() => z.value.style.chart.grid.y.position === "right");
511
- function gr() {
512
+ function pr() {
512
513
  let e = 0;
513
- z.value.orientation === "vertical" && Nn.value && (e = Array.from(Nn.value.querySelectorAll("text")).reduce((e, t) => {
514
+ z.value.orientation === "vertical" && An.value && (e = Array.from(An.value.querySelectorAll("text")).reduce((e, t) => {
514
515
  let n = t.getComputedTextLength();
515
516
  return n > e ? n : e;
516
- }, 0)), z.value.orientation === "horizontal" && Pn.value && (e = Array.from(Pn.value.querySelectorAll("text")).reduce((e, t) => {
517
+ }, 0)), z.value.orientation === "horizontal" && jn.value && (e = Array.from(jn.value.querySelectorAll("text")).reduce((e, t) => {
517
518
  let n = t.getComputedTextLength();
518
519
  return n > e ? n : e;
519
520
  }, 0));
520
- let t = Mn.value ? Mn.value.getBoundingClientRect().width + z.value.style.chart.grid.y.axisName.fontSize + z.value.style.chart.grid.y.axisName.offsetX : 0;
521
+ let t = kn.value ? kn.value.getBoundingClientRect().width + z.value.style.chart.grid.y.axisName.fontSize + z.value.style.chart.grid.y.axisName.offsetX : 0;
521
522
  return {
522
523
  left: W.value ? 0 : e + t,
523
524
  right: W.value ? e + t : 0,
@@ -525,12 +526,12 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
525
526
  yAxisLabelWidth: t
526
527
  };
527
528
  }
528
- let _r = E(0), vr = E(0), yr = ke((e) => {
529
- vr.value = e + z.value.style.chart.bars.totalValues.fontSize;
529
+ let mr = E(0), hr = E(0), gr = ke((e) => {
530
+ hr.value = e + z.value.style.chart.bars.totalValues.fontSize;
530
531
  }, 100);
531
- function br() {
532
+ function _r() {
532
533
  if (z.value.orientation !== "horizontal") return 0;
533
- let e = In.value;
534
+ let e = Nn.value;
534
535
  if (!e) return 0;
535
536
  let t = Array.from(e.querySelectorAll("text"));
536
537
  if (!t.length) return 0;
@@ -541,12 +542,12 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
541
542
  } catch {}
542
543
  return Math.max(0, n - (G.value?.right ?? 0));
543
544
  }
544
- $e((e) => {
545
+ et((e) => {
545
546
  if (z.value.orientation !== "horizontal") return;
546
- let t = In.value;
547
+ let t = Nn.value;
547
548
  if (!t) return;
548
549
  let n = () => {
549
- yr(br());
550
+ gr(_r());
550
551
  };
551
552
  n();
552
553
  let r = new ResizeObserver(n);
@@ -559,53 +560,53 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
559
560
  }), e(() => {
560
561
  r.disconnect(), a.disconnect();
561
562
  });
562
- }), Ke(() => {
563
- _r.value = 0, vr.value = 0;
563
+ }), qe(() => {
564
+ mr.value = 0, hr.value = 0;
564
565
  });
565
- let xr = E(0), Sr = E(0);
566
- function Cr(e) {
566
+ let vr = E(0), yr = E(0);
567
+ function br(e) {
567
568
  let t = Number.isFinite(e) ? e : 0;
568
- xr.value !== t && (xr.value = t);
569
+ vr.value !== t && (vr.value = t);
569
570
  }
570
- function wr() {
571
- let e = z.value.orientation === "vertical" ? Pn.value : Nn.value;
571
+ function xr() {
572
+ let e = z.value.orientation === "vertical" ? jn.value : An.value;
572
573
  if (!e) {
573
- Cr(0);
574
+ br(0);
574
575
  return;
575
576
  }
576
577
  try {
577
- Cr(e.getBBox()?.height);
578
+ br(e.getBBox()?.height);
578
579
  } catch {
579
- Cr(0);
580
+ br(0);
580
581
  }
581
582
  }
582
- function Tr() {
583
- Sr.value && cancelAnimationFrame(Sr.value), Sr.value = requestAnimationFrame(() => {
583
+ function Sr() {
584
+ yr.value && cancelAnimationFrame(yr.value), yr.value = requestAnimationFrame(() => {
584
585
  requestAnimationFrame(() => {
585
- wr();
586
+ xr();
586
587
  });
587
588
  });
588
589
  }
589
- Ke(() => {
590
- Sr.value && cancelAnimationFrame(Sr.value);
590
+ qe(() => {
591
+ yr.value && cancelAnimationFrame(yr.value);
591
592
  });
592
- let Er = _(() => {
593
+ let Cr = _(() => {
593
594
  let e = 0;
594
- if (jn.value) try {
595
- e = jn.value.getBBox().height;
595
+ if (On.value) try {
596
+ e = On.value.getBBox().height;
596
597
  } catch {
597
598
  e = 0;
598
599
  }
599
- let t = z.value.style.chart.grid.x.timeLabels.show ? xr.value : 0;
600
+ let t = z.value.style.chart.grid.x.timeLabels.show ? vr.value : 0;
600
601
  return e + t;
601
602
  }), G = _(() => {
602
- zn.value;
603
+ In.value;
603
604
  let { height: e, width: t } = H.value, { right: n } = H.value.paddingRatio, r = z.value.style.chart.bars.totalValues.show && M.dataset && M.dataset.length > 1 ? z.value.style.chart.bars.totalValues.fontSize * 1.3 : 0, a = 0, o = 0, s = 0, c = 0;
604
605
  if (z.value.style.chart.grid.y.axisLabels.show) {
605
- let e = gr();
606
+ let e = pr();
606
607
  a = e.left, o = e.right, s = e.scaleLabelsWidth, c = e.yAxisLabelWidth;
607
608
  }
608
- let l = z.value.style.chart.padding.top + r, u = t - t * n - vr.value - o, d = e - z.value.style.chart.padding.bottom - Er.value - r, f = z.value.style.chart.padding.left + a, p = t - f - t * n - vr.value - o, ee = e - l - z.value.style.chart.padding.bottom - Er.value - r;
609
+ let l = z.value.style.chart.padding.top + r, u = t - t * n - hr.value - o, d = e - z.value.style.chart.padding.bottom - Cr.value - r, f = z.value.style.chart.padding.left + a, p = t - f - t * n - hr.value - o, ee = e - l - z.value.style.chart.padding.bottom - Cr.value - r;
609
610
  return {
610
611
  chartHeight: e,
611
612
  chartWidth: t,
@@ -620,7 +621,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
620
621
  scaleLabelsWidth: s,
621
622
  yAxisLabelWidth: c
622
623
  };
623
- }), Dr = _(() => {
624
+ }), wr = _(() => {
624
625
  let { left: e, top: t, width: n, height: r } = G.value, a = J.value.start, o = J.value.end, s = Math.max(1, o - a), c = Math.max(0, Math.min(s, (Y.value.start ?? a) - a)), l = Math.max(0, Math.min(s, (Y.value.end ?? o) - a)), u = Math.max(0, l - c), d = {
625
626
  fill: z.value.style.chart.zoom.preview.fill,
626
627
  stroke: z.value.style.chart.zoom.preview.stroke,
@@ -653,8 +654,8 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
653
654
  ...d
654
655
  };
655
656
  }
656
- }), K = _(() => Xn.value.map((e, t) => {
657
- let n = `stackbar_serie_${t}`, r = String(e.key ?? e.id ?? e.name ?? n), a = ne(e.color) || dr.value[t] || c[t] || c[t % c.length];
657
+ }), K = _(() => qn.value.map((e, t) => {
658
+ let n = `stackbar_serie_${t}`, r = String(e.key ?? e.id ?? e.name ?? n), a = ne(e.color) || cr.value[t] || c[t] || c[t % c.length];
658
659
  return {
659
660
  ...e,
660
661
  datasetKey: r,
@@ -668,54 +669,54 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
668
669
  let e = Math.max(...K.value.filter((e) => !I.value.includes(e.id)).map((e) => e.series.length));
669
670
  return isFinite(e) ? e : Math.max(...K.value.map((e) => e.series.length));
670
671
  });
671
- function Or(e) {
672
- qn.value = e;
672
+ function Tr(e) {
673
+ Wn.value = e;
673
674
  }
674
675
  let J = E({
675
676
  start: 0,
676
- end: Math.max(...Xn.value.map((e) => e.series.length))
677
+ end: Math.max(...qn.value.map((e) => e.series.length))
677
678
  }), Y = E({
678
679
  start: 0,
679
- end: Math.max(...Xn.value.map((e) => e.series.length))
680
- }), kr = _(() => z.value.style.chart.zoom.preview.enable && (Y.value.start !== J.value.start || Y.value.end !== J.value.end));
681
- function Ar(e, t) {
680
+ end: Math.max(...qn.value.map((e) => e.series.length))
681
+ }), Er = _(() => z.value.style.chart.zoom.preview.enable && (Y.value.start !== J.value.start || Y.value.end !== J.value.end));
682
+ function Dr(e, t) {
682
683
  Y.value[e] = t;
683
684
  }
684
- function jr() {
685
+ function Or() {
685
686
  let e = q.value, t = Math.max(0, Math.min(J.value.start ?? 0, e - 1)), n = Math.max(t + 1, Math.min(J.value.end ?? e, e));
686
- (!Number.isFinite(t) || !Number.isFinite(n) || n <= t) && (t = 0, n = e), J.value.start = t, J.value.end = n, Y.value.start = t, Y.value.end = n, yn.value && (yn.value.setStartValue(t), yn.value.setEndValue(n));
687
+ (!Number.isFinite(t) || !Number.isFinite(n) || n <= t) && (t = 0, n = e), J.value.start = t, J.value.end = n, Y.value.start = t, Y.value.end = n, gn.value && (gn.value.setStartValue(t), gn.value.setEndValue(n));
687
688
  }
688
- let Mr = E(null);
689
- function Nr() {
689
+ let kr = E(null);
690
+ function Ar() {
690
691
  return new Promise((e) => requestAnimationFrame(() => requestAnimationFrame(() => e())));
691
692
  }
692
- Ke(() => {
693
- Mr.value && cancelAnimationFrame(Mr.value);
693
+ qe(() => {
694
+ kr.value && cancelAnimationFrame(kr.value);
694
695
  });
695
- async function Pr({ force: e = !1 } = {}) {
696
- if (z.value.style.chart.zoom.keepState && !e && Gi.value && !(J.value.start === 0 && J.value.end === 0)) {
697
- jr();
696
+ async function jr({ force: e = !1 } = {}) {
697
+ if (z.value.style.chart.zoom.keepState && !e && Hi.value && !(J.value.start === 0 && J.value.end === 0)) {
698
+ Or();
698
699
  return;
699
700
  }
700
- Ki(), await We(), Mr.value && cancelAnimationFrame(Mr.value), Mr.value = requestAnimationFrame(async () => {
701
- await Nr(), Ki();
701
+ Ui(), await Ge(), kr.value && cancelAnimationFrame(kr.value), kr.value = requestAnimationFrame(async () => {
702
+ await Ar(), Ui();
702
703
  });
703
704
  }
704
705
  let X = _(() => {
705
706
  let e;
706
707
  return e = z.value.orientation === "vertical" ? G.value.width / (J.value.end - J.value.start) : G.value.height / (J.value.end - J.value.start), e <= 0 ? 0 : e;
707
- }), Fr = _(() => a(K.value.filter((e) => !I.value.includes(e.id))).slice(J.value.start, J.value.end)), Ir = _(() => I.value.length === K.value.length), Lr = _(() => z.value.style.chart.zoom.minimap.show ? a(K.value.map((e) => ({
708
+ }), Mr = _(() => a(K.value.filter((e) => !I.value.includes(e.id))).slice(J.value.start, J.value.end)), Nr = _(() => I.value.length === K.value.length), Pr = _(() => z.value.style.chart.zoom.minimap.show ? a(K.value.map((e) => ({
708
709
  ...e,
709
710
  series: e.series.map((e) => e ?? 0)
710
- })).filter((e) => Ir.value ? !0 : !I.value.includes(e.id))) : []), Rr = _(() => z.value.style.chart.zoom.minimap.show ? [{
711
+ })).filter((e) => Nr.value ? !0 : !I.value.includes(e.id))) : []), Fr = _(() => z.value.style.chart.zoom.minimap.show ? [{
711
712
  name: "",
712
- series: Lr.value,
713
+ series: Pr.value,
713
714
  color: "#000000",
714
715
  isVisible: !0
715
- }] : []), zr = _(() => a(K.value.filter((e) => !I.value.includes(e.id)).map((e) => ({
716
+ }] : []), Ir = _(() => a(K.value.filter((e) => !I.value.includes(e.id)).map((e) => ({
716
717
  ...e,
717
718
  series: e.series.map((t, n) => e.signedSeries[n] === -1 && t >= 0 ? -t : t)
718
- }))).slice(J.value.start, J.value.end)), Br = _(() => {
719
+ }))).slice(J.value.start, J.value.end)), Lr = _(() => {
719
720
  let e = K.value.filter((e) => !I.value.includes(e.id));
720
721
  return {
721
722
  positive: a(e.map((e) => ({
@@ -727,8 +728,8 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
727
728
  series: e.series.slice(J.value.start, J.value.end).map((e) => e < 0 ? e : 0)
728
729
  })))
729
730
  };
730
- }), Vr = _(() => {
731
- let e = z.value.style.chart.grid.scale.scaleMax !== null && !z.value.style.chart.bars.distributed ? z.value.style.chart.grid.scale.scaleMax : Math.max(...Br.value.positive), t = Math.min(...Br.value.negative), n = z.value.style.chart.grid.scale.scaleMin !== null && !z.value.style.chart.bars.distributed ? z.value.style.chart.grid.scale.scaleMin : [
731
+ }), Rr = _(() => {
732
+ let e = z.value.style.chart.grid.scale.scaleMax !== null && !z.value.style.chart.bars.distributed ? z.value.style.chart.grid.scale.scaleMax : Math.max(...Lr.value.positive), t = Math.min(...Lr.value.negative), n = z.value.style.chart.grid.scale.scaleMin !== null && !z.value.style.chart.bars.distributed ? z.value.style.chart.grid.scale.scaleMin : [
732
733
  -Infinity,
733
734
  Infinity,
734
735
  NaN,
@@ -736,9 +737,9 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
736
737
  null
737
738
  ].includes(t) ? 0 : t;
738
739
  return !z.value.style.chart.bars.distributed && (z.value.style.chart.grid.scale.scaleMax !== null || z.value.style.chart.grid.scale.scaleMin !== null) ? ie(n > 0 ? 0 : n, e < 0 ? 0 : e, z.value.style.chart.grid.scale.ticks) : ae(n > 0 ? 0 : n, e < 0 ? 0 : e, z.value.style.chart.grid.scale.ticks);
739
- }), Hr = _(() => Vr.value.ticks), Z = _(() => {
740
- let e = Vr.value, t = e.max + Math.abs(e.min);
741
- return Hr.value.map((n) => ({
740
+ }), zr = _(() => Rr.value.ticks), Z = _(() => {
741
+ let e = Rr.value, t = e.max + Math.abs(e.min);
742
+ return zr.value.map((n) => ({
742
743
  zero: G.value.bottom - G.value.height * (Math.abs(e.min) / t),
743
744
  y: G.value.bottom - G.value.height * ((n + Math.abs(e.min)) / t),
744
745
  x: W.value ? G.value.right + 8 : G.value.left - 8,
@@ -747,28 +748,28 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
747
748
  horizontal_y: G.value.bottom - 8,
748
749
  value: n
749
750
  }));
750
- }), Ur = _(() => {
751
+ }), Br = _(() => {
751
752
  let e = z.value.style.chart.grid.y.axisLabels, { prefix: t, suffix: n } = z.value.style.chart.bars.dataLabels;
752
- return Hr.value.map((r) => String(m(e.formatter, r, o({
753
+ return zr.value.map((r) => String(m(e.formatter, r, o({
753
754
  p: t,
754
755
  v: r,
755
756
  s: n,
756
757
  r: e.rounding
757
758
  }), { datapoint: { value: r } }) ?? "")).join("|");
758
759
  });
759
- Qe(() => [
760
- Ur.value,
760
+ $e(() => [
761
+ Br.value,
761
762
  z.value.orientation,
762
763
  z.value.style.chart.grid.y.axisLabels.show,
763
764
  z.value.style.chart.grid.y.axisLabels.fontSize,
764
765
  z.value.style.chart.grid.y.axisLabels.bold,
765
766
  z.value.style.chart.grid.y.position
766
767
  ], () => {
767
- z.value.style.chart.grid.y.axisLabels.show && Kn();
768
+ z.value.style.chart.grid.y.axisLabels.show && Un();
768
769
  }, { flush: "post" });
769
- let Q = E([]), Wr = E([]), Gr = 0;
770
- $e(() => {
771
- let e = ++Gr;
770
+ let Q = E([]), Vr = E([]), Hr = 0;
771
+ et(() => {
772
+ let e = ++Hr;
772
773
  (async () => {
773
774
  let t = await he({
774
775
  values: z.value.style.chart.grid.x.timeLabels.values,
@@ -777,12 +778,12 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
777
778
  start: J.value.start,
778
779
  end: J.value.end
779
780
  });
780
- e === Gr && (Q.value = t);
781
+ e === Hr && (Q.value = t);
781
782
  })();
782
783
  });
783
- let Kr = 0;
784
- $e(() => {
785
- let e = ++Kr;
784
+ let Ur = 0;
785
+ et(() => {
786
+ let e = ++Ur;
786
787
  (async () => {
787
788
  let t = await he({
788
789
  values: z.value.style.chart.grid.x.timeLabels.values,
@@ -791,49 +792,49 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
791
792
  start: 0,
792
793
  end: q.value
793
794
  });
794
- e === Kr && (Wr.value = t);
795
+ e === Ur && (Vr.value = t);
795
796
  })();
796
797
  });
797
- let qr = _(() => {
798
+ let Wr = _(() => {
798
799
  let e = z.value.style.chart.grid.x.timeLabels.modulo;
799
800
  return Q.value.length ? Math.min(e, [...new Set(Q.value.map((e) => e.text))].length) : e;
800
- }), Jr = _(() => {
801
- let e = z.value.style.chart.grid.x.timeLabels, t = Q.value || [], n = Wr.value || [], r = J.value.start ?? 0, a = L.value, o = q.value, s = t.map((e) => e?.text ?? ""), c = n.map((e) => e?.text ?? "");
802
- return ue(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, qr.value || 1), s, c, r, a, o);
801
+ }), Gr = _(() => {
802
+ let e = z.value.style.chart.grid.x.timeLabels, t = Q.value || [], n = Vr.value || [], r = J.value.start ?? 0, a = L.value, o = q.value, s = t.map((e) => e?.text ?? ""), c = n.map((e) => e?.text ?? "");
803
+ return ue(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Wr.value || 1), s, c, r, a, o);
803
804
  });
804
- $e(() => {
805
- z.value.orientation, z.value.style.chart.grid.x.timeLabels.show, z.value.style.chart.grid.x.timeLabels.fontSize, z.value.style.chart.grid.x.timeLabels.rotation, z.value.style.chart.grid.x.timeLabels.offsetY, Jr.value?.map((e) => e?.text ?? "").join("|"), Ur.value, H.value.width, H.value.height, Pn.value, Nn.value, jn.value, Tr();
805
+ et(() => {
806
+ z.value.orientation, z.value.style.chart.grid.x.timeLabels.show, z.value.style.chart.grid.x.timeLabels.fontSize, z.value.style.chart.grid.x.timeLabels.rotation, z.value.style.chart.grid.x.timeLabels.offsetY, Gr.value?.map((e) => e?.text ?? "").join("|"), Br.value, H.value.width, H.value.height, jn.value, An.value, On.value, Sr();
806
807
  }, { flush: "post" });
807
- let Yr = E({
808
+ let Kr = E({
808
809
  months: [],
809
810
  shortMonths: [],
810
811
  days: [],
811
812
  shortDays: []
812
- }), Xr = 0;
813
- $e(() => {
814
- let e = ++Xr, t = z.value.style.chart.grid.x.timeLabels.datetimeFormatter;
813
+ }), qr = 0;
814
+ et(() => {
815
+ let e = ++qr, t = z.value.style.chart.grid.x.timeLabels.datetimeFormatter;
815
816
  (async () => {
816
817
  let n = await me(t.locale).catch(() => me("en"));
817
- e === Xr && (Yr.value = n.data);
818
+ e === qr && (Kr.value = n.data);
818
819
  })();
819
820
  });
820
- let Zr = _(() => {
821
+ let Jr = _(() => {
821
822
  let e = z.value.style.chart.grid.x.timeLabels.datetimeFormatter, t = pe({
822
823
  useUTC: e.useUTC,
823
- locale: Yr.value,
824
+ locale: Kr.value,
824
825
  januaryAsYear: e.januaryAsYear
825
826
  });
826
827
  return (e, n) => {
827
828
  let r = z.value.style.chart.grid.x.timeLabels.values?.[e];
828
829
  return r == null ? "" : t.formatDate(new Date(r), n);
829
830
  };
830
- }), Qr = _(() => (z.value.style.chart.grid.x.timeLabels.values || []).map((e, t) => ({
831
- text: Zr.value(t, z.value.style.chart.zoom.timeFormat),
831
+ }), Yr = _(() => (z.value.style.chart.grid.x.timeLabels.values || []).map((e, t) => ({
832
+ text: Jr.value(t, z.value.style.chart.zoom.timeFormat),
832
833
  absoluteIndex: t
833
- }))), $r = _(() => (z.value.style.chart.grid.x.timeLabels.values || []).map((e, t) => ({
834
- text: Zr.value(t, z.value.style.chart.tooltip.timeFormat),
834
+ }))), Xr = _(() => (z.value.style.chart.grid.x.timeLabels.values || []).map((e, t) => ({
835
+ text: Jr.value(t, z.value.style.chart.tooltip.timeFormat),
835
836
  absoluteIndex: t
836
- }))), ei = _(() => {
837
+ }))), Zr = _(() => {
837
838
  let e = /* @__PURE__ */ new Map();
838
839
  return (z.value.style.chart.grid.x.timeLabels.values || []).forEach((t) => {
839
840
  if ([
@@ -845,7 +846,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
845
846
  e.set(n, (e.get(n) || 0) + 1);
846
847
  }), e;
847
848
  });
848
- function ti(e) {
849
+ function Qr(e) {
849
850
  let t = (z.value.style.chart.grid.x.timeLabels.values || [])[e];
850
851
  if ([
851
852
  null,
@@ -853,26 +854,26 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
853
854
  ""
854
855
  ].includes(t)) return `fallback-${e}`;
855
856
  let n = String(t);
856
- return (ei.value.get(n) || 0) > 1 ? `${n}-${e}` : n;
857
+ return (Zr.value.get(n) || 0) > 1 ? `${n}-${e}` : n;
857
858
  }
858
- function ni(e, t) {
859
- return `${e.datasetKey}:${ti(t)}`;
859
+ function $r(e, t) {
860
+ return `${e.datasetKey}:${Qr(t)}`;
860
861
  }
861
862
  let $ = _(() => {
862
- if (!fn.value && !Yn.value) return [];
863
- let e = Array(q.value).fill(0), t = Array(q.value).fill(0), n = Array(q.value).fill(0), r = Array(q.value).fill(0), a = Math.max(...Br.value.positive) || 0, o = Math.min(...Br.value.negative), s = [
863
+ if (!ln.value && !Kn.value) return [];
864
+ let e = Array(q.value).fill(0), t = Array(q.value).fill(0), n = Array(q.value).fill(0), r = Array(q.value).fill(0), a = Math.max(...Lr.value.positive) || 0, o = Math.min(...Lr.value.negative), s = [
864
865
  -Infinity,
865
866
  Infinity,
866
867
  NaN,
867
868
  void 0,
868
869
  null
869
- ].includes(o) ? 0 : o, { min: c, max: l } = !z.value.style.chart.bars.distributed && (z.value.style.chart.grid.scale.scaleMax !== null || z.value.style.chart.grid.scale.scaleMin !== null) ? ie(z.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : z.value.style.chart.grid.scale.scaleMin, z.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : z.value.style.chart.grid.scale.scaleMax, z.value.style.chart.grid.scale.ticks) : ae(z.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : z.value.style.chart.grid.scale.scaleMin, z.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : z.value.style.chart.grid.scale.scaleMax, z.value.style.chart.grid.scale.ticks), u = l + (c >= 0 ? 0 : Math.abs(c)) || 1, d = G.value.height, f = G.value.width, p = Z.value[0] ? Z.value[0].zero : G.value.bottom, ee = Z.value[0] ? Z.value[0].horizontal_zero : G.value.left, te = Array(Lr.value.length).fill(0), ne = Array(Lr.value.length).fill(0);
870
+ ].includes(o) ? 0 : o, { min: c, max: l } = !z.value.style.chart.bars.distributed && (z.value.style.chart.grid.scale.scaleMax !== null || z.value.style.chart.grid.scale.scaleMin !== null) ? ie(z.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : z.value.style.chart.grid.scale.scaleMin, z.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : z.value.style.chart.grid.scale.scaleMax, z.value.style.chart.grid.scale.ticks) : ae(z.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : z.value.style.chart.grid.scale.scaleMin, z.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : z.value.style.chart.grid.scale.scaleMax, z.value.style.chart.grid.scale.ticks), u = l + (c >= 0 ? 0 : Math.abs(c)) || 1, d = G.value.height, f = G.value.width, p = Z.value[0] ? Z.value[0].zero : G.value.bottom, ee = Z.value[0] ? Z.value[0].horizontal_zero : G.value.left, te = Array(Pr.value.length).fill(0), ne = Array(Pr.value.length).fill(0);
870
871
  return K.value.filter((e) => !I.value.includes(e.id)).map((a) => {
871
872
  let o = a.series.slice(), s = o.map((e, t) => te[t]), c = o.map((e, t) => ne[t]);
872
873
  o.forEach((e, t) => {
873
874
  (Number(e) || 0) >= 0 ? te[t] += Number(e) || 0 : ne[t] += Math.abs(Number(e) || 0);
874
875
  });
875
- let l = a.series.slice(J.value.start, J.value.end), re = a.signedSeries.slice(J.value.start, J.value.end), ie = l.map((e, t) => ni(a, J.value.start + t)), ae = o.map((e, t) => ni(a, t)), m = l.map((e, t) => G.value.left + X.value * t + X.value * z.value.style.chart.bars.gapRatio / 4), h = (Lr.value || []).filter(Number.isFinite), oe = h.length ? Math.max(...h) : 0, se = h.length ? Math.min(...h) : 0;
876
+ let l = a.series.slice(J.value.start, J.value.end), re = a.signedSeries.slice(J.value.start, J.value.end), ie = l.map((e, t) => $r(a, J.value.start + t)), ae = o.map((e, t) => $r(a, t)), m = l.map((e, t) => G.value.left + X.value * t + X.value * z.value.style.chart.bars.gapRatio / 4), h = (Pr.value || []).filter(Number.isFinite), oe = h.length ? Math.max(...h) : 0, se = h.length ? Math.min(...h) : 0;
876
877
  function ce({ minimapH: e }) {
877
878
  let t = 1e-9, n = oe > 0;
878
879
  if (n && se < 0) {
@@ -894,11 +895,11 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
894
895
  let n = t * (z.value.style.chart.bars.gapRatio / 4);
895
896
  return o.map((r, a) => e + t * a + n);
896
897
  }, ue = l.map((e, t) => G.value.top + X.value * t + X.value * z.value.style.chart.bars.gapRatio / 4), de = l.map((t, r) => {
897
- let a = z.value.style.chart.bars.distributed ? (t || 0) / Fr.value[r] : (t || 0) / u, o, s;
898
+ let a = z.value.style.chart.bars.distributed ? (t || 0) / Mr.value[r] : (t || 0) / u, o, s;
898
899
  return t > 0 ? (s = d * a, o = p - s - e[r], e[r] += s) : (s = d * a, o = p + n[r], n[r] += Math.abs(s)), o;
899
900
  }), fe = ({ minimapH: e }) => {
900
901
  if (z.value.style.chart.bars.distributed) return o.map((t, n) => {
901
- let r = Math.abs(Number(t) || 0), a = Math.abs(Lr.value?.[n] || 0) || 1e-9;
902
+ let r = Math.abs(Number(t) || 0), a = Math.abs(Pr.value?.[n] || 0) || 1e-9;
902
903
  return e - (s[n] + r) / a * e;
903
904
  });
904
905
  let { pxPerUnit: t, zero: n } = ce({ minimapH: e });
@@ -907,22 +908,22 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
907
908
  return a >= 0 ? n - (s[r] + a) * t : n + c[r] * t;
908
909
  });
909
910
  }, pe = l.map((e, n) => {
910
- let a = z.value.style.chart.bars.distributed ? (e || 0) / Fr.value[n] : (e || 0) / u, o, s;
911
+ let a = z.value.style.chart.bars.distributed ? (e || 0) / Mr.value[n] : (e || 0) / u, o, s;
911
912
  return e > 0 ? (s = f * a, o = ee + t[n], t[n] += s) : (s = f * a, o = ee - Math.abs(s) - r[n], r[n] += Math.abs(s)), o;
912
913
  }), me = l.map((e, t) => {
913
- let n = z.value.style.chart.bars.distributed ? (e || 0) / Fr.value[t] : (e || 0) / u;
914
+ let n = z.value.style.chart.bars.distributed ? (e || 0) / Mr.value[t] : (e || 0) / u;
914
915
  return e > 0 ? d * n : d * Math.abs(n);
915
916
  }), he = ({ minimapH: e }) => {
916
- if (z.value.style.chart.bars.distributed) return o.map((t, n) => Math.abs(Number(t) || 0) / (Math.abs(Lr.value?.[n] || 0) || 1e-9) * e);
917
+ if (z.value.style.chart.bars.distributed) return o.map((t, n) => Math.abs(Number(t) || 0) / (Math.abs(Pr.value?.[n] || 0) || 1e-9) * e);
917
918
  let { pxPerUnit: t } = ce({ minimapH: e });
918
919
  return o.map((e) => Math.abs(Number(e) || 0) * t);
919
920
  }, ge = l.map((e, t) => {
920
- let n = z.value.style.chart.bars.distributed ? (e || 0) / Fr.value[t] : (e || 0) / u;
921
+ let n = z.value.style.chart.bars.distributed ? (e || 0) / Mr.value[t] : (e || 0) / u;
921
922
  return e > 0 ? f * n : f * Math.abs(n);
922
923
  }), _e = l.map((e) => Math.abs(e)).reduce((e, t) => e + t, 0);
923
924
  return {
924
925
  ...a,
925
- proportions: l.map((e, t) => z.value.style.chart.bars.distributed ? (e || 0) / Fr.value[t] : (e || 0) / _e),
926
+ proportions: l.map((e, t) => z.value.style.chart.bars.distributed ? (e || 0) / Mr.value[t] : (e || 0) / _e),
926
927
  series: l,
927
928
  signedSeries: re,
928
929
  rectKeys: ie,
@@ -938,11 +939,11 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
938
939
  heightMinimap: he
939
940
  };
940
941
  });
941
- }), ri = _(() => zr.value.map((e, t) => ({
942
+ }), ei = _(() => Ir.value.map((e, t) => ({
942
943
  value: e,
943
944
  sign: e >= 0 ? 1 : -1
944
945
  })));
945
- function ii(e, t, n, r, a) {
946
+ function ti(e, t, n, r, a) {
946
947
  let s = a === -1 && e >= 0 ? -e : e;
947
948
  return m(z.value.style.chart.bars.dataLabels.formatter, s, o({
948
949
  p: z.value.style.chart.bars.dataLabels.prefix,
@@ -955,7 +956,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
955
956
  datapointIndex: r
956
957
  });
957
958
  }
958
- function ai(e, t, n, r) {
959
+ function ni(e, t, n, r) {
959
960
  return m(z.value.style.chart.bars.dataLabels.formatter, e, o({
960
961
  v: isNaN(e) ? 0 : e,
961
962
  s: "%",
@@ -966,7 +967,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
966
967
  datapointIndex: r
967
968
  });
968
969
  }
969
- function oi(e) {
970
+ function ri(e) {
970
971
  let t = JSON.parse(JSON.stringify($.value)).map((t) => ({
971
972
  name: t.name,
972
973
  value: t.series[e] === 0 ? 0 : t.series[e] || null,
@@ -982,7 +983,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
982
983
  period: Q.value[e]
983
984
  });
984
985
  }
985
- function si(e) {
986
+ function ii(e) {
986
987
  return JSON.parse(JSON.stringify($.value)).map((t) => ({
987
988
  name: t.name,
988
989
  absoluteIndex: t.absoluteIndex,
@@ -990,21 +991,21 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
990
991
  proportion: t.proportions[e] || null,
991
992
  color: t.color,
992
993
  id: t.id,
993
- timeLabel: Wr.value[e]
994
+ timeLabel: Vr.value[e]
994
995
  }));
995
996
  }
996
- function ci(e) {
997
+ function ai(e) {
997
998
  if (z.value.events.datapointLeave) {
998
- let t = si(e);
999
+ let t = ii(e);
999
1000
  z.value.events.datapointLeave({
1000
1001
  datapoint: t,
1001
1002
  seriesIndex: e + J.value.start
1002
1003
  });
1003
1004
  }
1004
- pn.value = !1, L.value = null, R.value === e && (R.value = null);
1005
+ un.value = !1, L.value = null, R.value === e && (R.value = null);
1005
1006
  }
1006
- let li = _(() => Array(q.value).fill(0).map((e, t) => si(t)));
1007
- Qe(() => M.selectedXIndex, (e) => {
1007
+ let oi = _(() => Array(q.value).fill(0).map((e, t) => ii(t)));
1008
+ $e(() => M.selectedXIndex, (e) => {
1008
1009
  if ([null, void 0].includes(M.selectedXIndex)) {
1009
1010
  L.value = null;
1010
1011
  return;
@@ -1012,23 +1013,23 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1012
1013
  let t = e - J.value.start;
1013
1014
  t < 0 || e >= J.value.end ? L.value = null : L.value = t ?? null;
1014
1015
  }, { immediate: !0 });
1015
- function ui(e) {
1016
+ function si(e) {
1016
1017
  if (!z.value.style.chart.tooltip.showTimeLabel) return null;
1017
- let t = Q.value?.[e]?.text || null, n = $r.value?.[e]?.text || null, r = Wr.value?.[e]?.text || null;
1018
+ let t = Q.value?.[e]?.text || null, n = Xr.value?.[e]?.text || null, r = Vr.value?.[e]?.text || null;
1018
1019
  return z.value.style.chart.tooltip.useDefaultTimeFormat ? t : n || r;
1019
1020
  }
1020
- function di(e, t = "pointer") {
1021
- if (Ir.value) return;
1022
- Hn.value = t, R.value = e, L.value = e, pn.value = !0;
1023
- let n = z.value.style.chart.tooltip.customFormat, r = si(e);
1024
- Xi({
1021
+ function ci(e, t = "pointer") {
1022
+ if (Nr.value) return;
1023
+ zn.value = t, R.value = e, L.value = e, un.value = !0;
1024
+ let n = z.value.style.chart.tooltip.customFormat, r = ii(e);
1025
+ qi({
1025
1026
  seriesIndex: e,
1026
1027
  datapoint: r
1027
1028
  }), z.value.events.datapointEnter && z.value.events.datapointEnter({
1028
1029
  datapoint: r,
1029
1030
  seriesIndex: e + J.value.start
1030
- }), mn.value = {
1031
- timeLabel: ui(e),
1031
+ }), dn.value = {
1032
+ timeLabel: si(e),
1032
1033
  datapoint: r,
1033
1034
  seriesIndex: e,
1034
1035
  config: z.value,
@@ -1040,14 +1041,14 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1040
1041
  datapoint: r,
1041
1042
  series: $.value,
1042
1043
  config: z.value
1043
- }))) hn.value = n({
1044
+ }))) fn.value = n({
1044
1045
  seriesIndex: e,
1045
1046
  datapoint: r,
1046
1047
  series: $.value,
1047
1048
  config: z.value
1048
1049
  });
1049
1050
  else {
1050
- let { showValue: t, showTotal: n, totalTranslation: c, showPercentage: l, borderColor: u, roundingValue: d, roundingPercentage: f } = z.value.style.chart.tooltip, p = "", ee = ui(e);
1051
+ let { showValue: t, showTotal: n, totalTranslation: c, showPercentage: l, borderColor: u, roundingValue: d, roundingPercentage: f } = z.value.style.chart.tooltip, p = "", ee = si(e);
1051
1052
  ee && (p += `<div style="width:100%;text-align:center;border-bottom:1px solid ${u};padding-bottom:6px;margin-bottom:3px;">${ee}</div>`), n && (p += `<div class="vue-data-ui-tooltip-total" style="display:flex;flex-direction:row;align-items:center;gap:4px">
1052
1053
  <span>${c}:</span>
1053
1054
  <span>
@@ -1066,7 +1067,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1066
1067
  r.reverse().forEach((e) => {
1067
1068
  p += `
1068
1069
  <div style="display:flex;flex-direction:row;align-items:center;gap:4px">
1069
- <svg viewBox="0 0 60 60" height="14" width="14"><rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="${z.value.style.chart.bars.gradient.show ? `url(#gradient_${e.id})` : e.color}"/>${dn.pattern ? `<rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="url(#pattern_${F.value}_${e.absoluteIndex})"/>` : ""}</svg>
1070
+ <svg viewBox="0 0 60 60" height="14" width="14"><rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="${z.value.style.chart.bars.gradient.show ? `url(#gradient_${e.id})` : e.color}"/>${cn.pattern ? `<rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="url(#pattern_${F.value}_${e.absoluteIndex})"/>` : ""}</svg>
1070
1071
  ${e.name}${t || l ? ":" : ""} ${t ? m(z.value.style.chart.bars.dataLabels.formatter, e.value, o({
1071
1072
  p: z.value.style.chart.bars.dataLabels.prefix,
1072
1073
  v: e.value,
@@ -1079,12 +1080,12 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1079
1080
  }) : ""}${te[1]}
1080
1081
  </div>
1081
1082
  `;
1082
- }), hn.value = `<div>${p}</div>`;
1083
+ }), fn.value = `<div>${p}</div>`;
1083
1084
  }
1084
1085
  }
1085
- let fi = _(() => H.value.width), pi = _(() => H.value.height);
1086
+ let li = _(() => H.value.width), ui = _(() => H.value.height);
1086
1087
  we({
1087
- timeLabelsEls: z.value.orientation === "vertical" ? Pn : Nn,
1088
+ timeLabelsEls: z.value.orientation === "vertical" ? jn : An,
1088
1089
  timeLabels: Q,
1089
1090
  slicer: J,
1090
1091
  configRef: z,
@@ -1106,26 +1107,26 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1106
1107
  "enable"
1107
1108
  ],
1108
1109
  isAutoSize: !1,
1109
- width: fi,
1110
- height: pi,
1110
+ width: li,
1111
+ height: ui,
1111
1112
  rotation: z.value.style.chart.grid.x.timeLabels.autoRotate.angle
1112
1113
  });
1113
- function mi(e) {
1114
- xn.value = e, gn.value += 1;
1114
+ function di(e) {
1115
+ vn.value = e, pn.value += 1;
1115
1116
  }
1116
- function hi() {
1117
+ function fi() {
1117
1118
  V.value.showTable = !V.value.showTable;
1118
1119
  }
1119
- function gi() {
1120
+ function pi() {
1120
1121
  V.value.dataLabels.show = !V.value.dataLabels.show;
1121
1122
  }
1122
- function _i() {
1123
+ function mi() {
1123
1124
  V.value.showTooltip = !V.value.showTooltip;
1124
1125
  }
1125
- function vi() {
1126
+ function hi() {
1126
1127
  return $.value;
1127
1128
  }
1128
- let yi = _(() => {
1129
+ let gi = _(() => {
1129
1130
  if ($.value.length === 0) return {
1130
1131
  head: [],
1131
1132
  body: [],
@@ -1146,18 +1147,18 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1146
1147
  body: t
1147
1148
  };
1148
1149
  });
1149
- function bi(e = null) {
1150
+ function _i(e = null) {
1150
1151
  let t = [
1151
1152
  [z.value.style.chart.title.text],
1152
1153
  [z.value.style.chart.title.subtitle.text],
1153
1154
  [""]
1154
- ], n = ["", ...yi.value.head.map((e) => e.label)], r = yi.value.body, a = u(t.concat([n]).concat(r));
1155
+ ], n = ["", ...gi.value.head.map((e) => e.label)], r = gi.value.body, a = u(t.concat([n]).concat(r));
1155
1156
  e ? e(a) : te({
1156
1157
  csvContent: a,
1157
1158
  title: z.value.style.chart.title.text || "vue-ui-stackbar"
1158
1159
  });
1159
1160
  }
1160
- let xi = _(() => {
1161
+ let vi = _(() => {
1161
1162
  let e = [""].concat($.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 = J.value.end - J.value.start;
1162
1163
  for (let e = 0; e < n; e += 1) {
1163
1164
  let n = J.value.start + e, r = $.value.map((t) => t.series[e] ?? 0).reduce((e, t) => e + t, 0);
@@ -1183,12 +1184,12 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1183
1184
  colNames: a
1184
1185
  };
1185
1186
  });
1186
- function Si() {
1187
- I.value.length ? I.value = [] : Di.value.forEach((e) => {
1187
+ function yi() {
1188
+ I.value.length ? I.value = [] : wi.value.forEach((e) => {
1188
1189
  I.value.push(e.id);
1189
1190
  }), N("selectLegend", $.value);
1190
1191
  }
1191
- function Ci(e) {
1192
+ function bi(e) {
1192
1193
  if (I.value.includes(e.id)) I.value = I.value.filter((t) => t !== e.id);
1193
1194
  else {
1194
1195
  if (I.value.length === K.value.length - 1) return;
@@ -1196,37 +1197,37 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1196
1197
  }
1197
1198
  N("selectLegend", $.value);
1198
1199
  }
1199
- function wi(e) {
1200
+ function xi(e) {
1200
1201
  return K.value.length ? K.value.find((t) => t.name === e) || (z.value.debug && console.warn(`VueUiStackbar - Series name not found "${e}"`), null) : (z.value.debug && console.warn("VueUiStackbar - There are no series to show."), null);
1201
1202
  }
1202
- function Ti(e) {
1203
- let t = wi(e);
1204
- t !== null && I.value.includes(t.id) && Ci({ id: t.id });
1203
+ function Si(e) {
1204
+ let t = xi(e);
1205
+ t !== null && I.value.includes(t.id) && bi({ id: t.id });
1205
1206
  }
1206
- function Ei(e) {
1207
- let t = wi(e);
1208
- t !== null && (I.value.includes(t.id) || Ci({ id: t.id }));
1207
+ function Ci(e) {
1208
+ let t = xi(e);
1209
+ t !== null && (I.value.includes(t.id) || bi({ id: t.id }));
1209
1210
  }
1210
- let Di = _(() => K.value.map((e, t) => ({
1211
+ let wi = _(() => K.value.map((e, t) => ({
1211
1212
  ...e,
1212
1213
  shape: "square"
1213
1214
  })).map((e) => ({
1214
1215
  ...e,
1215
1216
  opacity: I.value.includes(e.id) ? .5 : 1,
1216
- segregate: () => Ci(e),
1217
+ segregate: () => bi(e),
1217
1218
  isSegregated: I.value.includes(e.id)
1218
- }))), Oi = _(() => ({
1219
+ }))), Ti = _(() => ({
1219
1220
  cy: "stackbar-legend",
1220
1221
  backgroundColor: z.value.style.chart.legend.backgroundColor,
1221
1222
  color: z.value.style.chart.legend.color,
1222
1223
  fontSize: z.value.style.chart.legend.fontSize,
1223
1224
  paddingBottom: 12,
1224
1225
  fontWeight: z.value.style.chart.legend.bold ? "bold" : ""
1225
- })), ki = E(!1);
1226
- function Ai() {
1227
- ki.value = !ki.value;
1226
+ })), Ei = E(!1);
1227
+ function Di() {
1228
+ Ei.value = !Ei.value;
1228
1229
  }
1229
- function ji(e, t) {
1230
+ function Oi(e, t) {
1230
1231
  N("selectTimeLabel", {
1231
1232
  datapoint: JSON.parse(JSON.stringify($.value)).map((e) => ({
1232
1233
  name: e.name,
@@ -1239,11 +1240,11 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1239
1240
  label: e.text
1240
1241
  });
1241
1242
  }
1242
- let Mi = _(() => Math.max(...$.value.flatMap((e) => e.series)));
1243
- function Ni(e, t) {
1244
- return z.value.style.chart.bars.showDistributedPercentage && z.value.style.chart.bars.distributed ? or.value ? t * 100 >= z.value.style.chart.bars.dataLabels.hideUnderPercentage : z.value.style.chart.bars.dataLabels.hideEmptyPercentages ? t > 0 : !0 : or.value ? (ar.value && mr.value && console.warn("Vue Data UI - VueUiStackbar - You cannot set both dataLabels.hideUnderPercentage and dataLabels.hideUnderValue. Note that dataLabels.hideUnderPercentage takes precedence in this case."), e > Mi.value * z.value.style.chart.bars.dataLabels.hideUnderPercentage / 100) : ar.value ? Math.abs(e) >= z.value.style.chart.bars.dataLabels.hideUnderValue : z.value.style.chart.bars.dataLabels.hideEmptyValues ? e !== 0 : !0;
1243
+ let ki = _(() => Math.max(...$.value.flatMap((e) => e.series)));
1244
+ function Ai(e, t) {
1245
+ return z.value.style.chart.bars.showDistributedPercentage && z.value.style.chart.bars.distributed ? rr.value ? t * 100 >= z.value.style.chart.bars.dataLabels.hideUnderPercentage : z.value.style.chart.bars.dataLabels.hideEmptyPercentages ? t > 0 : !0 : rr.value ? (nr.value && dr.value && console.warn("Vue Data UI - VueUiStackbar - You cannot set both dataLabels.hideUnderPercentage and dataLabels.hideUnderValue. Note that dataLabels.hideUnderPercentage takes precedence in this case."), e > ki.value * z.value.style.chart.bars.dataLabels.hideUnderPercentage / 100) : nr.value ? Math.abs(e) >= z.value.style.chart.bars.dataLabels.hideUnderValue : z.value.style.chart.bars.dataLabels.hideEmptyValues ? e !== 0 : !0;
1245
1246
  }
1246
- async function Pi({ scale: e = 2 } = {}) {
1247
+ async function ji({ scale: e = 2 } = {}) {
1247
1248
  if (!P.value) return;
1248
1249
  let { imageUri: t, base64: n } = await Te({
1249
1250
  domElement: P.value,
@@ -1262,17 +1263,17 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1262
1263
  ...o
1263
1264
  };
1264
1265
  }
1265
- let Fi = _(() => {
1266
+ let Mi = _(() => {
1266
1267
  let e = z.value.table.useDialog && !z.value.table.show, t = V.value.showTable;
1267
1268
  return {
1268
- component: e ? sn : tn,
1269
+ component: e ? rn : Qt,
1269
1270
  title: `${z.value.style.chart.title.text}${z.value.style.chart.title.subtitle.text ? `: ${z.value.style.chart.title.subtitle.text}` : ""}`,
1270
1271
  props: e ? {
1271
1272
  backgroundColor: z.value.table.th.backgroundColor,
1272
1273
  color: z.value.table.th.color,
1273
1274
  headerColor: z.value.table.th.color,
1274
1275
  headerBg: z.value.table.th.backgroundColor,
1275
- isFullscreen: xn.value,
1276
+ isFullscreen: vn.value,
1276
1277
  fullscreenParent: P.value,
1277
1278
  forcedWidth: Math.min(800, window.innerWidth * .8),
1278
1279
  isCursorPointer: B.value
@@ -1293,76 +1294,76 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1293
1294
  }
1294
1295
  };
1295
1296
  });
1296
- Qe(() => V.value.showTable, (e) => {
1297
- z.value.table.show || (e && z.value.table.useDialog && Dn.value ? Dn.value.open() : "close" in Dn.value && Dn.value.close());
1297
+ $e(() => V.value.showTable, (e) => {
1298
+ z.value.table.show || (e && z.value.table.useDialog && wn.value ? wn.value.open() : "close" in wn.value && wn.value.close());
1298
1299
  });
1299
- function Ii() {
1300
- V.value.showTable = !1, On.value && On.value.setTableIconState(!1);
1300
+ function Ni() {
1301
+ V.value.showTable = !1, Tn.value && Tn.value.setTableIconState(!1);
1301
1302
  }
1302
- let Li = _(() => z.value.style.chart.backgroundColor), Ri = _(() => z.value.style.chart.legend), { exportSvg: zi, getSvg: Bi } = be({
1303
- svg: tr,
1303
+ let Pi = _(() => z.value.style.chart.backgroundColor), Fi = _(() => z.value.style.chart.legend), { exportSvg: Ii, getSvg: Li } = be({
1304
+ svg: Qn,
1304
1305
  title: _(() => z.value.style.chart.title),
1305
- legend: Ri,
1306
- legendItems: Di,
1307
- backgroundColor: Li
1306
+ legend: Fi,
1307
+ legendItems: wi,
1308
+ backgroundColor: Pi
1308
1309
  });
1309
- async function Vi({ isCb: e }) {
1310
- An.value = !0, await We();
1310
+ async function Ri({ isCb: e }) {
1311
+ Dn.value = !0, await Ge();
1311
1312
  try {
1312
1313
  if (e) {
1313
- let { blob: e, url: t, text: n, dataUrl: r } = await Bi();
1314
+ let { blob: e, url: t, text: n, dataUrl: r } = await Li();
1314
1315
  await Promise.resolve(z.value.userOptions.callbacks.svg({
1315
1316
  blob: e,
1316
1317
  url: t,
1317
1318
  text: n,
1318
1319
  dataUrl: r
1319
1320
  }));
1320
- } else await Promise.resolve(zi());
1321
+ } else await Promise.resolve(Ii());
1321
1322
  } finally {
1322
- An.value = !1;
1323
+ Dn.value = !1;
1323
1324
  }
1324
1325
  }
1325
- function Hi(e) {
1326
+ function zi(e) {
1326
1327
  if (e?.stage === "start") {
1327
- kn.value = !0;
1328
+ En.value = !0;
1328
1329
  return;
1329
1330
  }
1330
1331
  if (e?.stage === "end") {
1331
- kn.value = !1;
1332
+ En.value = !1;
1332
1333
  return;
1333
1334
  }
1334
- ur();
1335
+ sr();
1335
1336
  }
1336
- function Ui(e) {
1337
+ function Bi(e) {
1337
1338
  let t = q.value;
1338
1339
  return e > t ? t : e < 0 || e < J.value.start ? z.value.style.chart.zoom.startIndex === null ? 1 : J.value.start + 1 : e;
1339
1340
  }
1340
- let Wi = E(!1), Gi = E(!1);
1341
- function Ki() {
1342
- if (!Wi.value) {
1343
- Wi.value = !0;
1341
+ let Vi = E(!1), Hi = E(!1);
1342
+ function Ui() {
1343
+ if (!Vi.value) {
1344
+ Vi.value = !0;
1344
1345
  try {
1345
1346
  let { startIndex: e, endIndex: t, keepState: n } = z.value.style.chart.zoom, r = n ? Math.max(0, q.value) : q.value;
1346
1347
  if (n && r <= 0) return;
1347
- let a = e ?? 0, o = t == null ? r : Math.min(Ui(t + 1), r);
1348
- qi.value = !0, J.value.start = a, J.value.end = o, Y.value.start = a, Y.value.end = o, jr(), Gi.value = !0;
1348
+ let a = e ?? 0, o = t == null ? r : Math.min(Bi(t + 1), r);
1349
+ Wi.value = !0, J.value.start = a, J.value.end = o, Y.value.start = a, Y.value.end = o, Or(), Hi.value = !0;
1349
1350
  } finally {
1350
1351
  queueMicrotask(() => {
1351
- qi.value = !1;
1352
- }), Wi.value = !1;
1352
+ Wi.value = !1;
1353
+ }), Vi.value = !1;
1353
1354
  }
1354
1355
  }
1355
1356
  }
1356
- let qi = E(!1);
1357
- function Ji(e) {
1358
- Wi.value || qi.value || e !== J.value.start && (J.value.start = e, Y.value.start = e, jr());
1357
+ let Wi = E(!1);
1358
+ function Gi(e) {
1359
+ Vi.value || Wi.value || e !== J.value.start && (J.value.start = e, Y.value.start = e, Or());
1359
1360
  }
1360
- function Yi(e) {
1361
- if (Wi.value || qi.value) return;
1362
- let t = Ui(e);
1363
- t !== J.value.end && (J.value.end = t, Y.value.end = t, jr());
1361
+ function Ki(e) {
1362
+ if (Vi.value || Wi.value) return;
1363
+ let t = Bi(e);
1364
+ t !== J.value.end && (J.value.end = t, Y.value.end = t, Or());
1364
1365
  }
1365
- function Xi({ seriesIndex: e, datapoint: t }) {
1366
+ function qi({ seriesIndex: e, datapoint: t }) {
1366
1367
  let n = J.value.start + e;
1367
1368
  N("selectX", {
1368
1369
  dataset: t,
@@ -1370,11 +1371,11 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1370
1371
  indexLabel: z.value.style.chart.grid.x.timeLabels.values[n]
1371
1372
  });
1372
1373
  }
1373
- function Zi() {
1374
+ function Ji() {
1374
1375
  return { y0: Z.value?.[0]?.zero ?? G.value.bottom };
1375
1376
  }
1376
- function Qi(e) {
1377
- let { y0: t } = Zi(), n = z.value.style.chart.bars.totalValues, r = Math.max(2, n.fontSize * .3 + n.offsetY), a = Infinity, o = !1;
1377
+ function Yi(e) {
1378
+ let { y0: t } = Ji(), n = z.value.style.chart.bars.totalValues, r = Math.max(2, n.fontSize * .3 + n.offsetY), a = Infinity, o = !1;
1378
1379
  for (let t of $.value || []) {
1379
1380
  let n = t?.series?.[e] ?? 0, r = t?.height?.[e] ?? 0, s = t?.y?.[e];
1380
1381
  n > 0 && r > 0 && Number.isFinite(s) && (o = !0, s < a && (a = s));
@@ -1382,15 +1383,15 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1382
1383
  let s = (o && Number.isFinite(a) ? a : t) - r;
1383
1384
  return Math.min(Math.max(s, 0), G.value.bottom);
1384
1385
  }
1385
- function $i(e) {
1386
- let { x0: t } = Zi(), n = Math.max(2, z.value.style.chart.bars.totalValues.fontSize * .3 + z.value.style.chart.bars.totalValues.offsetX), r = -Infinity, a = !1;
1386
+ function Xi(e) {
1387
+ let { x0: t } = Ji(), n = Math.max(2, z.value.style.chart.bars.totalValues.fontSize * .3 + z.value.style.chart.bars.totalValues.offsetX), r = -Infinity, a = !1;
1387
1388
  for (let t of $.value || []) {
1388
1389
  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;
1389
1390
  Number.isFinite(o) && n > 0 && c > 0 && (a = !0, r = Math.max(r, o + c));
1390
1391
  }
1391
1392
  return (a && Number.isFinite(r) ? r : t) + n;
1392
1393
  }
1393
- async function ea() {
1394
+ async function Zi() {
1394
1395
  if (N("copyAlt", {
1395
1396
  config: z.value,
1396
1397
  dataset: $.value
@@ -1403,25 +1404,25 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1403
1404
  dataset: $.value
1404
1405
  }));
1405
1406
  }
1406
- let ta = E(!1);
1407
- function na() {
1408
- R.value = null, ta.value = !0;
1407
+ let Qi = E(!1);
1408
+ function $i() {
1409
+ R.value = null, Qi.value = !0;
1409
1410
  }
1410
- function ra() {
1411
- R.value = null, pn.value = !1, L.value = null, N("selectX", {
1411
+ function ea() {
1412
+ R.value = null, un.value = !1, L.value = null, N("selectX", {
1412
1413
  index: null,
1413
1414
  indexLabel: null,
1414
1415
  dataset: null
1415
- }), ta.value = !1;
1416
+ }), Qi.value = !1;
1416
1417
  }
1417
- function ia(e) {
1418
- if (!tr.value || ki.value || document.activeElement !== tr.value || Ir.value || !J.value.end && J.value.end !== 0) return;
1418
+ function ta(e) {
1419
+ if (!Qn.value || Ei.value || document.activeElement !== Qn.value || Nr.value || !J.value.end && J.value.end !== 0) return;
1419
1420
  let t = z.value.orientation === "vertical", n = z.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";
1420
1421
  if (!r && !a && !o && !s) return;
1421
1422
  let c = J.value.end - J.value.start;
1422
1423
  if (c <= 0) return;
1423
1424
  if (e.preventDefault(), e.stopPropagation(), s) {
1424
- R.value = null, pn.value = !1, L.value = null, N("selectX", {
1425
+ R.value = null, un.value = !1, L.value = null, N("selectX", {
1425
1426
  index: null,
1426
1427
  indexLabel: null,
1427
1428
  dataset: null
@@ -1430,60 +1431,60 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1430
1431
  }
1431
1432
  if (o) {
1432
1433
  if (R.value === null) return;
1433
- oi(R.value);
1434
+ ri(R.value);
1434
1435
  return;
1435
1436
  }
1436
1437
  let l = R.value, u = L.value;
1437
- 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, R.value = l, aa(l), di(l, "keyboard");
1438
+ 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, R.value = l, na(l), ci(l, "keyboard");
1438
1439
  }
1439
- function aa(e) {
1440
+ function na(e) {
1440
1441
  if (!Number.isFinite(e)) return;
1441
1442
  let t, n;
1442
1443
  z.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);
1443
- let r = f(t, n, tr.value);
1444
- r && (Vn.value = r);
1444
+ let r = f(t, n, Qn.value);
1445
+ r && (Rn.value = r);
1445
1446
  }
1446
- let oa = _(() => ({
1447
- headers: xi.value?.colNames ?? [],
1448
- rows: xi.value?.body ?? []
1447
+ let ra = _(() => ({
1448
+ headers: vi.value?.colNames ?? [],
1449
+ rows: vi.value?.body ?? []
1449
1450
  }));
1450
1451
  return Oe({
1451
- getData: vi,
1452
- getImage: Pi,
1453
- generatePdf: lr,
1454
- generateCsv: bi,
1455
- generateImage: ur,
1456
- generateSvg: Vi,
1457
- hideSeries: Ei,
1458
- showSeries: Ti,
1459
- toggleTable: hi,
1460
- toggleLabels: gi,
1461
- toggleTooltip: _i,
1462
- toggleAnnotator: Ai,
1463
- toggleFullscreen: mi,
1464
- copyAlt: ea
1452
+ getData: hi,
1453
+ getImage: ji,
1454
+ generatePdf: or,
1455
+ generateCsv: _i,
1456
+ generateImage: sr,
1457
+ generateSvg: Ri,
1458
+ hideSeries: Ci,
1459
+ showSeries: Si,
1460
+ toggleTable: fi,
1461
+ toggleLabels: pi,
1462
+ toggleTooltip: mi,
1463
+ toggleAnnotator: Di,
1464
+ toggleFullscreen: di,
1465
+ copyAlt: Zi
1465
1466
  }), (t, r) => (T(), b("div", {
1466
1467
  id: `stackbar_${F.value}`,
1467
1468
  ref_key: "stackbarChart",
1468
1469
  ref: P,
1469
- class: Ge({
1470
+ class: Ke({
1470
1471
  "vue-data-ui-component": !0,
1471
1472
  "vue-ui-stackbar": !0,
1472
- "vue-data-ui-wrapper-fullscreen": xn.value
1473
+ "vue-data-ui-wrapper-fullscreen": vn.value
1473
1474
  }),
1474
1475
  style: w(`background:${z.value.style.chart.backgroundColor};color:${z.value.style.chart.color};font-family:${z.value.style.fontFamily}; position: relative; ${z.value.responsive ? "height: 100%" : ""}`),
1475
- onMouseenter: nr,
1476
- onMouseleave: rr
1476
+ onMouseenter: $n,
1477
+ onMouseleave: er
1477
1478
  }, [
1478
1479
  x("div", {
1479
1480
  id: `chart-instructions-${F.value}`,
1480
1481
  class: "sr-only"
1481
- }, [x("p", null, k(z.value.a11y.translations.keyboardNavigation), 1)], 8, nt),
1482
- oa.value?.rows?.length ? (T(), v(Ne, {
1482
+ }, [x("p", null, k(z.value.a11y.translations.keyboardNavigation), 1)], 8, rt),
1483
+ ra.value?.rows?.length ? (T(), v(Pe, {
1483
1484
  key: 0,
1484
1485
  uid: F.value,
1485
- head: oa.value.headers,
1486
- body: oa.value.rows,
1486
+ head: ra.value.headers,
1487
+ body: ra.value.rows,
1487
1488
  notice: z.value.a11y.translations.tableAvailable,
1488
1489
  caption: z.value.a11y.translations.tableCaption
1489
1490
  }, null, 8, [
@@ -1493,14 +1494,14 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1493
1494
  "notice",
1494
1495
  "caption"
1495
1496
  ])) : y("", !0),
1496
- z.value.userOptions.buttons.annotator ? (T(), v(A(rn), {
1497
+ z.value.userOptions.buttons.annotator ? (T(), v(A(en), {
1497
1498
  key: 1,
1498
- svgRef: A(tr),
1499
+ svgRef: A(Qn),
1499
1500
  backgroundColor: z.value.style.chart.backgroundColor,
1500
1501
  color: z.value.style.chart.color,
1501
- active: ki.value,
1502
+ active: Ei.value,
1502
1503
  isCursorPointer: B.value,
1503
- onClose: Ai
1504
+ onClose: Di
1504
1505
  }, {
1505
1506
  "annotator-action-close": j(() => [O(t.$slots, "annotator-action-close", {}, void 0, !0)]),
1506
1507
  "annotator-action-color": j(({ color: e }) => [O(t.$slots, "annotator-action-color", C(S({ color: e })), void 0, !0)]),
@@ -1520,10 +1521,10 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1520
1521
  z.value.style.chart.title.text ? (T(), b("div", {
1521
1522
  key: 2,
1522
1523
  ref_key: "chartTitle",
1523
- ref: _n,
1524
+ ref: mn,
1524
1525
  style: "width:100%;background:transparent;padding-bottom:24px"
1525
1526
  }, [(T(), v(Ee, {
1526
- key: `title_${Cn.value}`,
1527
+ key: `title_${bn.value}`,
1527
1528
  config: {
1528
1529
  title: {
1529
1530
  cy: "stackbar-title",
@@ -1535,15 +1536,15 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1535
1536
  }
1536
1537
  }
1537
1538
  }, null, 8, ["config"]))], 512)) : y("", !0),
1538
- x("div", { id: `legend-top-${F.value}` }, null, 8, rt),
1539
- z.value.userOptions.show && fn.value && (A(er) || A(Qn)) ? (T(), v(A(an), {
1539
+ x("div", { id: `legend-top-${F.value}` }, null, 8, it),
1540
+ z.value.userOptions.show && ln.value && (A(Zn) || A(Yn)) ? (T(), v(A(tn), {
1540
1541
  ref_key: "userOptionsRef",
1541
- ref: On,
1542
- key: `user_option_${gn.value}`,
1542
+ ref: Tn,
1543
+ key: `user_option_${pn.value}`,
1543
1544
  backgroundColor: z.value.style.chart.backgroundColor,
1544
1545
  color: z.value.style.chart.color,
1545
- isPrinting: A(sr),
1546
- isImaging: A(cr),
1546
+ isPrinting: A(ir),
1547
+ isImaging: A(ar),
1547
1548
  uid: F.value,
1548
1549
  hasTooltip: z.value.style.chart.tooltip.show && z.value.userOptions.buttons.tooltip,
1549
1550
  hasPdf: z.value.userOptions.buttons.pdf,
@@ -1554,29 +1555,29 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1554
1555
  hasLabel: z.value.userOptions.buttons.labels,
1555
1556
  hasFullscreen: z.value.userOptions.buttons.fullscreen,
1556
1557
  hasAltCopy: z.value.userOptions.buttons.altCopy,
1557
- isFullscreen: xn.value,
1558
+ isFullscreen: vn.value,
1558
1559
  chartElement: P.value,
1559
1560
  position: z.value.userOptions.position,
1560
1561
  isTooltip: V.value.showTooltip,
1561
1562
  titles: { ...z.value.userOptions.buttonTitles },
1562
1563
  hasAnnotator: z.value.userOptions.buttons.annotator,
1563
- isAnnotation: ki.value,
1564
+ isAnnotation: Ei.value,
1564
1565
  callbacks: z.value.userOptions.callbacks,
1565
1566
  printScale: z.value.userOptions.print.scale,
1566
1567
  tableDialog: z.value.table.useDialog,
1567
1568
  isCursorPointer: B.value,
1568
- onToggleFullscreen: mi,
1569
- onGeneratePdf: A(lr),
1570
- onGenerateCsv: bi,
1571
- onGenerateImage: Hi,
1572
- onGenerateSvg: Vi,
1573
- onToggleTable: hi,
1574
- onToggleLabels: gi,
1575
- onToggleTooltip: _i,
1576
- onToggleAnnotator: Ai,
1577
- onCopyAlt: ea,
1578
- style: w({ visibility: A(er) ? A(Qn) ? "visible" : "hidden" : "visible" })
1579
- }, ze({ _: 2 }, [
1569
+ onToggleFullscreen: di,
1570
+ onGeneratePdf: A(or),
1571
+ onGenerateCsv: _i,
1572
+ onGenerateImage: zi,
1573
+ onGenerateSvg: Ri,
1574
+ onToggleTable: fi,
1575
+ onToggleLabels: pi,
1576
+ onToggleTooltip: mi,
1577
+ onToggleAnnotator: Di,
1578
+ onCopyAlt: Zi,
1579
+ style: w({ visibility: A(Zn) ? A(Yn) ? "visible" : "hidden" : "visible" })
1580
+ }, Be({ _: 2 }, [
1580
1581
  t.$slots.menuIcon ? {
1581
1582
  name: "menuIcon",
1582
1583
  fn: j(({ isOpen: e, color: n }) => [O(t.$slots, "menuIcon", C(S({
@@ -1652,20 +1653,20 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1652
1653
  key: "12"
1653
1654
  } : void 0
1654
1655
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : y("", !0),
1655
- x("div", it, [(T(), b("svg", {
1656
+ x("div", at, [(T(), b("svg", {
1656
1657
  ref_key: "svgRef",
1657
- ref: tr,
1658
+ ref: Qn,
1658
1659
  xmlns: A(de),
1659
1660
  "aria-describedby": `chart-instructions-${F.value}`,
1660
1661
  viewBox: `0 0 ${G.value.chartWidth <= 0 ? 10 : G.value.chartWidth} ${G.value.chartHeight <= 0 ? 10 : G.value.chartHeight}`,
1661
- class: Ge({ "vue-data-ui-loading": A(Yn) }),
1662
+ class: Ke({ "vue-data-ui-loading": A(Kn) }),
1662
1663
  style: w(`max-width:100%;overflow:visible;background:transparent;color:${z.value.style.chart.color}`),
1663
1664
  tabindex: "0",
1664
- onFocus: na,
1665
- onBlur: ra,
1666
- onKeydown: ia
1665
+ onFocus: $i,
1666
+ onBlur: ea,
1667
+ onKeydown: ta
1667
1668
  }, [
1668
- Ve(A(on)),
1669
+ He(A(nn)),
1669
1670
  t.$slots["chart-background"] ? (T(), b("foreignObject", {
1670
1671
  key: 0,
1671
1672
  x: G.value.left,
@@ -1673,27 +1674,33 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1673
1674
  width: G.value.width <= 0 ? 10 : G.value.width,
1674
1675
  height: G.value.height <= 0 ? 10 : G.value.height,
1675
1676
  style: { pointerEvents: "none" }
1676
- }, [O(t.$slots, "chart-background", {}, void 0, !0)], 8, ot)) : y("", !0),
1677
- z.value.style.chart.bars.gradient.show ? (T(), b("defs", st, [(T(!0), b(g, null, D($.value, (e, t) => (T(), b("linearGradient", {
1677
+ }, [O(t.$slots, "chart-background", {}, void 0, !0)], 8, st)) : y("", !0),
1678
+ z.value.style.chart.bars.gradient.show ? (T(), b("defs", ct, [(T(!0), b(g, null, D($.value, (e, t) => (T(), v(je, {
1679
+ t: "linear",
1678
1680
  id: `gradient_${e.id}`,
1681
+ key: `gradient_${e.id}_${t}`,
1679
1682
  x1: "0%",
1680
1683
  y1: "0%",
1681
1684
  x2: "0%",
1682
- y2: "100%"
1683
- }, [
1684
- x("stop", {
1685
- offset: "0%",
1686
- "stop-color": e.color
1687
- }, null, 8, lt),
1688
- x("stop", {
1689
- offset: "61.8%",
1690
- "stop-color": A(n)(e.color, z.value.style.chart.bars.gradient.intensity / 100)
1691
- }, null, 8, ut),
1692
- x("stop", {
1693
- offset: "100%",
1694
- "stop-color": e.color
1695
- }, null, 8, dt)
1696
- ], 8, ct))), 256))])) : y("", !0),
1685
+ y2: "100%",
1686
+ stops: [
1687
+ [
1688
+ "0%",
1689
+ e.color,
1690
+ 1
1691
+ ],
1692
+ [
1693
+ "61.8%",
1694
+ A(n)(e.color, z.value.style.chart.bars.gradient.intensity / 100),
1695
+ 1
1696
+ ],
1697
+ [
1698
+ "100%",
1699
+ e.color,
1700
+ 1
1701
+ ]
1702
+ ]
1703
+ }, null, 8, ["id", "stops"]))), 128))])) : y("", !0),
1697
1704
  z.value.style.chart.grid.frame.show ? (T(), b("rect", {
1698
1705
  key: 2,
1699
1706
  style: {
@@ -1711,7 +1718,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1711
1718
  "stroke-linecap": z.value.style.chart.grid.frame.strokeLinecap,
1712
1719
  "stroke-linejoin": z.value.style.chart.grid.frame.strokeLinejoin,
1713
1720
  "stroke-dasharray": z.value.style.chart.grid.frame.strokeDasharray
1714
- }, null, 8, ft)) : y("", !0),
1721
+ }, null, 8, lt)) : y("", !0),
1715
1722
  z.value.style.chart.grid.x.showHorizontalLines && z.value.orientation === "vertical" ? (T(!0), b(g, { key: 3 }, D(Z.value, (e, t) => (T(), b("line", {
1716
1723
  x1: G.value.left,
1717
1724
  x2: G.value.right,
@@ -1721,7 +1728,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1721
1728
  "stroke-width": z.value.style.chart.grid.x.linesThickness,
1722
1729
  "stroke-dasharray": z.value.style.chart.grid.x.linesStrokeDasharray,
1723
1730
  "stroke-linecap": "round"
1724
- }, null, 8, pt))), 256)) : y("", !0),
1731
+ }, null, 8, ut))), 256)) : y("", !0),
1725
1732
  z.value.style.chart.grid.x.showHorizontalLines && z.value.orientation === "horizontal" ? (T(!0), b(g, { key: 4 }, D(J.value.end - J.value.start + 1, (e, t) => (T(), b("line", {
1726
1733
  x1: G.value.left,
1727
1734
  x2: G.value.right,
@@ -1731,7 +1738,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1731
1738
  "stroke-width": z.value.style.chart.grid.x.linesThickness,
1732
1739
  "stroke-dasharray": z.value.style.chart.grid.x.linesStrokeDasharray,
1733
1740
  "stroke-linecap": "round"
1734
- }, null, 8, mt))), 256)) : y("", !0),
1741
+ }, null, 8, dt))), 256)) : y("", !0),
1735
1742
  z.value.style.chart.grid.y.showVerticalLines && z.value.orientation === "vertical" ? (T(!0), b(g, { key: 5 }, D(J.value.end - J.value.start + 1, (e, t) => (T(), b("line", {
1736
1743
  x1: G.value.left + X.value * t,
1737
1744
  x2: G.value.left + X.value * t,
@@ -1741,7 +1748,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1741
1748
  "stroke-width": z.value.style.chart.grid.y.linesThickness,
1742
1749
  "stroke-dasharray": z.value.style.chart.grid.y.linesStrokeDasharray,
1743
1750
  "stroke-linecap": "round"
1744
- }, null, 8, ht))), 256)) : y("", !0),
1751
+ }, null, 8, ft))), 256)) : y("", !0),
1745
1752
  z.value.style.chart.grid.y.showVerticalLines && z.value.orientation === "horizontal" ? (T(!0), b(g, { key: 6 }, D(Z.value, (e, t) => (T(), b("line", {
1746
1753
  x1: e.horizontal_x,
1747
1754
  x2: e.horizontal_x,
@@ -1751,8 +1758,8 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1751
1758
  "stroke-width": z.value.style.chart.grid.y.linesThickness,
1752
1759
  "stroke-dasharray": z.value.style.chart.grid.y.linesStrokeDasharray,
1753
1760
  "stroke-linecap": "round"
1754
- }, null, 8, gt))), 256)) : y("", !0),
1755
- (T(!0), b(g, null, D($.value, (e, n) => (T(), b("g", { key: `stackbar-group-${e.datasetKey}` }, [t.$slots.pattern ? (T(), b("defs", _t, [O(t.$slots, "pattern", Ue({ ref_for: !0 }, {
1761
+ }, null, 8, pt))), 256)) : y("", !0),
1762
+ (T(!0), b(g, null, D($.value, (e, n) => (T(), b("g", { key: `stackbar-group-${e.datasetKey}` }, [t.$slots.pattern ? (T(), b("defs", mt, [O(t.$slots, "pattern", We({ ref_for: !0 }, {
1756
1763
  seriesIndex: e.absoluteIndex,
1757
1764
  patternId: `pattern_${F.value}_${e.absoluteIndex}`
1758
1765
  }), void 0, !0)])) : y("", !0), z.value.orientation === "vertical" ? (T(), b(g, { key: 1 }, [(T(!0), b(g, null, D(e.x, (t, n) => (T(), b("rect", {
@@ -1767,11 +1774,11 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1767
1774
  "stroke-width": z.value.style.chart.bars.strokeWidth,
1768
1775
  "stroke-linecap": "round",
1769
1776
  "stroke-linejoin": "round",
1770
- class: Ge({
1777
+ class: Ke({
1771
1778
  "vue-data-ui-bar-animated": z.value.useCssAnimation,
1772
- "vue-data-ui-bar-transition": Sn.value
1779
+ "vue-data-ui-bar-transition": yn.value
1773
1780
  })
1774
- }, null, 10, vt))), 128)), t.$slots.pattern ? (T(), b("g", yt, [(T(!0), b(g, null, D(e.x, (t, n) => (T(), b("rect", {
1781
+ }, null, 10, ht))), 128)), t.$slots.pattern ? (T(), b("g", gt, [(T(!0), b(g, null, D(e.x, (t, n) => (T(), b("rect", {
1775
1782
  key: `stackbar-pattern-rect-${e.rectKeys[n]}`,
1776
1783
  x: t,
1777
1784
  y: A(h)(e.y[n]),
@@ -1783,11 +1790,11 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1783
1790
  "stroke-width": z.value.style.chart.bars.strokeWidth,
1784
1791
  "stroke-linecap": "round",
1785
1792
  "stroke-linejoin": "round",
1786
- class: Ge({
1793
+ class: Ke({
1787
1794
  "vue-data-ui-bar-animated": z.value.useCssAnimation,
1788
- "vue-data-ui-bar-transition": Sn.value
1795
+ "vue-data-ui-bar-transition": yn.value
1789
1796
  })
1790
- }, null, 10, bt))), 128))])) : y("", !0)], 64)) : (T(), b(g, { key: 2 }, [(T(!0), b(g, null, D(e.horizontal_x, (t, n) => (T(), b("rect", {
1797
+ }, null, 10, _t))), 128))])) : y("", !0)], 64)) : (T(), b(g, { key: 2 }, [(T(!0), b(g, null, D(e.horizontal_x, (t, n) => (T(), b("rect", {
1791
1798
  key: `stackbar-rect-${e.rectKeys[n]}`,
1792
1799
  x: A(h)(t, G.value.left),
1793
1800
  y: e.horizontal_y[n] < 0 ? 0 : e.horizontal_y[n],
@@ -1799,11 +1806,11 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1799
1806
  "stroke-width": z.value.style.chart.bars.strokeWidth,
1800
1807
  "stroke-linecap": "round",
1801
1808
  "stroke-linejoin": "round",
1802
- class: Ge({
1809
+ class: Ke({
1803
1810
  "vue-data-ui-bar-animated": z.value.useCssAnimation,
1804
- "vue-data-ui-bar-transition": Sn.value
1811
+ "vue-data-ui-bar-transition": yn.value
1805
1812
  })
1806
- }, null, 10, xt))), 128)), t.$slots.pattern ? (T(), b("g", St, [(T(!0), b(g, null, D(e.horizontal_x, (t, n) => (T(), b("rect", {
1813
+ }, null, 10, vt))), 128)), t.$slots.pattern ? (T(), b("g", yt, [(T(!0), b(g, null, D(e.horizontal_x, (t, n) => (T(), b("rect", {
1807
1814
  key: `stackbar-pattern-rect-${e.rectKeys[n]}`,
1808
1815
  x: A(h)(t, G.value.left),
1809
1816
  y: e.horizontal_y[n] < 0 ? 0 : e.horizontal_y[n],
@@ -1815,11 +1822,11 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1815
1822
  "stroke-width": z.value.style.chart.bars.strokeWidth,
1816
1823
  "stroke-linecap": "round",
1817
1824
  "stroke-linejoin": "round",
1818
- class: Ge({
1825
+ class: Ke({
1819
1826
  "vue-data-ui-bar-animated": z.value.useCssAnimation,
1820
- "vue-data-ui-bar-transition": Sn.value
1827
+ "vue-data-ui-bar-transition": yn.value
1821
1828
  })
1822
- }, null, 10, Ct))), 128))])) : y("", !0)], 64))]))), 128)),
1829
+ }, null, 10, bt))), 128))])) : y("", !0)], 64))]))), 128)),
1823
1830
  z.value.style.chart.grid.x.showAxis ? (T(), b("line", {
1824
1831
  key: 7,
1825
1832
  x1: G.value.left,
@@ -1830,7 +1837,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1830
1837
  "stroke-width": z.value.style.chart.grid.x.axisThickness,
1831
1838
  "stroke-linecap": "round",
1832
1839
  "stroke-linejoin": "round"
1833
- }, null, 8, wt)) : y("", !0),
1840
+ }, null, 8, xt)) : y("", !0),
1834
1841
  z.value.style.chart.grid.y.showAxis && !z.value.style.chart.bars.distributed ? (T(), b("line", {
1835
1842
  key: 8,
1836
1843
  x1: W.value ? G.value.right : G.value.left,
@@ -1841,29 +1848,29 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1841
1848
  "stroke-width": z.value.style.chart.grid.y.axisThickness,
1842
1849
  "stroke-linecap": "round",
1843
1850
  "stroke-linejoin": "round"
1844
- }, null, 8, Tt)) : y("", !0),
1851
+ }, null, 8, St)) : y("", !0),
1845
1852
  z.value.style.chart.grid.x.axisName.show && z.value.style.chart.grid.x.axisName.text ? (T(), b("text", {
1846
1853
  key: 9,
1847
1854
  ref_key: "xAxisLabel",
1848
- ref: jn,
1855
+ ref: On,
1849
1856
  x: G.value.left + G.value.width / 2,
1850
1857
  y: G.value.chartHeight - 3,
1851
1858
  "font-size": z.value.style.chart.grid.x.axisName.fontSize,
1852
1859
  fill: z.value.style.chart.grid.x.axisName.color,
1853
1860
  "font-weight": z.value.style.chart.grid.x.axisName.bold ? "bold" : "normal",
1854
1861
  "text-anchor": "middle"
1855
- }, k(z.value.style.chart.grid.x.axisName.text), 9, Et)) : y("", !0),
1862
+ }, k(z.value.style.chart.grid.x.axisName.text), 9, Ct)) : y("", !0),
1856
1863
  z.value.style.chart.grid.y.axisName.show && z.value.style.chart.grid.y.axisName.text ? (T(), b("text", {
1857
1864
  key: 10,
1858
1865
  ref_key: "yAxisLabel",
1859
- ref: Mn,
1866
+ ref: kn,
1860
1867
  transform: `translate(${W.value ? H.value.width - z.value.style.chart.grid.y.axisName.fontSize / 2 - z.value.style.chart.grid.y.axisName.offsetX : z.value.style.chart.grid.y.axisName.fontSize + z.value.style.chart.grid.y.axisName.offsetX}, ${G.value.top + G.value.height / 2}) rotate(-90)`,
1861
1868
  "font-size": z.value.style.chart.grid.y.axisName.fontSize,
1862
1869
  fill: z.value.style.chart.grid.y.axisName.color,
1863
1870
  "font-weight": z.value.style.chart.grid.y.axisName.bold ? "bold" : "normal",
1864
1871
  "text-anchor": "middle"
1865
- }, k(z.value.style.chart.grid.y.axisName.text), 9, Dt)) : y("", !0),
1866
- V.value.dataLabels.show && z.value.orientation === "vertical" ? (T(), b(g, { key: 11 }, [(T(!0), b(g, null, D($.value, (e, t) => (T(), b("g", null, [(T(!0), b(g, null, D(e.x, (n, r) => (T(), b(g, null, [Ni(e.series[r], e.proportions[r]) ? (T(), b("text", {
1872
+ }, k(z.value.style.chart.grid.y.axisName.text), 9, wt)) : y("", !0),
1873
+ V.value.dataLabels.show && z.value.orientation === "vertical" ? (T(), b(g, { key: 11 }, [(T(!0), b(g, null, D($.value, (e, t) => (T(), b("g", null, [(T(!0), b(g, null, D(e.x, (n, r) => (T(), b(g, null, [Ai(e.series[r], e.proportions[r]) ? (T(), b("text", {
1867
1874
  key: 0,
1868
1875
  x: n + X.value * (1 - z.value.style.chart.bars.gapRatio / 2) / 2,
1869
1876
  y: e.y[r] + e.height[r] / 2 + z.value.style.chart.bars.dataLabels.fontSize / 3,
@@ -1871,20 +1878,20 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1871
1878
  fill: z.value.style.chart.bars.dataLabels.adaptColorToBackground ? A(le)(e.color) : z.value.style.chart.bars.dataLabels.color,
1872
1879
  "font-weight": z.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
1873
1880
  "text-anchor": "middle"
1874
- }, k(z.value.style.chart.bars.showDistributedPercentage && z.value.style.chart.bars.distributed ? ai(e.proportions[r] * 100, e, t, r) : ii(e.series[r], e, t, r, e.signedSeries[r])), 9, Ot)) : y("", !0)], 64))), 256))]))), 256)), z.value.style.chart.bars.totalValues.show && $.value.length > 1 ? (T(), b("g", {
1881
+ }, k(z.value.style.chart.bars.showDistributedPercentage && z.value.style.chart.bars.distributed ? ni(e.proportions[r] * 100, e, t, r) : ti(e.series[r], e, t, r, e.signedSeries[r])), 9, Tt)) : y("", !0)], 64))), 256))]))), 256)), z.value.style.chart.bars.totalValues.show && $.value.length > 1 ? (T(), b("g", {
1875
1882
  key: 0,
1876
1883
  ref_key: "sumTop",
1877
- ref: Fn
1878
- }, [(T(!0), b(g, null, D(ri.value, (e, t) => (T(), b(g, null, [!z.value.style.chart.bars.dataLabels.hideEmptyValues || e.value !== 0 ? (T(), b("text", {
1884
+ ref: Mn
1885
+ }, [(T(!0), b(g, null, D(ei.value, (e, t) => (T(), b(g, null, [!z.value.style.chart.bars.dataLabels.hideEmptyValues || e.value !== 0 ? (T(), b("text", {
1879
1886
  key: 0,
1880
1887
  x: G.value.left + X.value * t + X.value / 2,
1881
- y: Qi(t),
1888
+ y: Yi(t),
1882
1889
  "text-anchor": "middle",
1883
1890
  "font-size": z.value.style.chart.bars.totalValues.fontSize,
1884
1891
  "font-weight": z.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
1885
1892
  fill: z.value.style.chart.bars.totalValues.color
1886
- }, k(ii(e.value, e, t, e.sign)), 9, kt)) : y("", !0)], 64))), 256))], 512)) : y("", !0)], 64)) : y("", !0),
1887
- V.value.dataLabels.show && z.value.orientation === "horizontal" ? (T(), b(g, { key: 12 }, [(T(!0), b(g, null, D($.value, (e, t) => (T(), b("g", null, [(T(!0), b(g, null, D(e.horizontal_x, (n, r) => (T(), b(g, null, [Ni(e.series[r], e.proportions[r]) ? (T(), b("text", {
1893
+ }, k(ti(e.value, e, t, e.sign)), 9, Et)) : y("", !0)], 64))), 256))], 512)) : y("", !0)], 64)) : y("", !0),
1894
+ V.value.dataLabels.show && z.value.orientation === "horizontal" ? (T(), b(g, { key: 12 }, [(T(!0), b(g, null, D($.value, (e, t) => (T(), b("g", null, [(T(!0), b(g, null, D(e.horizontal_x, (n, r) => (T(), b(g, null, [Ai(e.series[r], e.proportions[r]) ? (T(), b("text", {
1888
1895
  key: 0,
1889
1896
  x: n + (e.horizontal_width[r] < 0 ? 1e-4 : e.horizontal_width[r]) / 2,
1890
1897
  y: e.horizontal_y[r] + X.value * (1 - z.value.style.chart.bars.gapRatio / 2) / 2 + z.value.style.chart.bars.dataLabels.fontSize / 3,
@@ -1892,23 +1899,23 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1892
1899
  fill: z.value.style.chart.bars.dataLabels.adaptColorToBackground ? A(le)(e.color) : z.value.style.chart.bars.dataLabels.color,
1893
1900
  "font-weight": z.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
1894
1901
  "text-anchor": "middle"
1895
- }, k(z.value.style.chart.bars.showDistributedPercentage && z.value.style.chart.bars.distributed ? ai(e.proportions[r] * 100, e, t, r) : ii(e.series[r], e, t, r, e.signedSeries[r])), 9, At)) : y("", !0)], 64))), 256))]))), 256)), z.value.style.chart.bars.totalValues.show && $.value.length > 1 ? (T(), b("g", {
1902
+ }, k(z.value.style.chart.bars.showDistributedPercentage && z.value.style.chart.bars.distributed ? ni(e.proportions[r] * 100, e, t, r) : ti(e.series[r], e, t, r, e.signedSeries[r])), 9, Dt)) : y("", !0)], 64))), 256))]))), 256)), z.value.style.chart.bars.totalValues.show && $.value.length > 1 ? (T(), b("g", {
1896
1903
  key: 0,
1897
1904
  ref_key: "sumRight",
1898
- ref: In
1899
- }, [(T(!0), b(g, null, D(ri.value, (e, t) => (T(), b(g, null, [!z.value.style.chart.bars.dataLabels.hideEmptyValues || e.value !== 0 ? (T(), b("text", {
1905
+ ref: Nn
1906
+ }, [(T(!0), b(g, null, D(ei.value, (e, t) => (T(), b(g, null, [!z.value.style.chart.bars.dataLabels.hideEmptyValues || e.value !== 0 ? (T(), b("text", {
1900
1907
  key: 0,
1901
- x: $i(t),
1908
+ x: Xi(t),
1902
1909
  y: G.value.top + X.value * t + X.value / 2 + z.value.style.chart.bars.totalValues.fontSize / 3,
1903
1910
  "text-anchor": "start",
1904
1911
  "font-size": z.value.style.chart.bars.totalValues.fontSize,
1905
1912
  "font-weight": z.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
1906
1913
  fill: z.value.style.chart.bars.totalValues.color
1907
- }, k(ii(e.value, e, t, e.sign)), 9, jt)) : y("", !0)], 64))), 256))], 512)) : y("", !0)], 64)) : y("", !0),
1914
+ }, k(ti(e.value, e, t, e.sign)), 9, Ot)) : y("", !0)], 64))), 256))], 512)) : y("", !0)], 64)) : y("", !0),
1908
1915
  z.value.style.chart.grid.y.axisLabels.show && !z.value.style.chart.bars.distributed && z.value.orientation === "vertical" ? (T(), b("g", {
1909
1916
  key: 13,
1910
1917
  ref_key: "scaleLabels",
1911
- ref: Nn
1918
+ ref: An
1912
1919
  }, [(T(!0), b(g, null, D(Z.value, (e, t) => (T(), b("line", {
1913
1920
  x1: W.value ? G.value.right : G.value.left,
1914
1921
  x2: W.value ? G.value.right + 6 : G.value.left - 6,
@@ -1916,7 +1923,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1916
1923
  y2: e.y,
1917
1924
  stroke: z.value.style.chart.grid.x.axisColor,
1918
1925
  "stroke-width": 1
1919
- }, null, 8, Mt))), 256)), (T(!0), b(g, null, D(Z.value, (e, t) => (T(), b("text", {
1926
+ }, null, 8, kt))), 256)), (T(!0), b(g, null, D(Z.value, (e, t) => (T(), b("text", {
1920
1927
  x: e.x,
1921
1928
  y: e.y + z.value.style.chart.grid.y.axisLabels.fontSize / 3,
1922
1929
  "font-size": z.value.style.chart.grid.y.axisLabels.fontSize,
@@ -1928,11 +1935,11 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1928
1935
  v: e.value,
1929
1936
  s: z.value.style.chart.bars.dataLabels.suffix,
1930
1937
  r: z.value.style.chart.grid.y.axisLabels.rounding
1931
- }), { datapoint: e })), 9, Nt))), 256))], 512)) : y("", !0),
1938
+ }), { datapoint: e })), 9, At))), 256))], 512)) : y("", !0),
1932
1939
  z.value.style.chart.grid.y.axisLabels.show && !z.value.style.chart.bars.distributed && z.value.orientation === "horizontal" ? (T(), b("g", {
1933
1940
  key: 14,
1934
1941
  ref_key: "scaleLabels",
1935
- ref: Nn
1942
+ ref: An
1936
1943
  }, [(T(!0), b(g, null, D(Z.value, (e, t) => (T(), b("line", {
1937
1944
  x1: e.horizontal_x,
1938
1945
  x2: e.horizontal_x,
@@ -1941,7 +1948,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1941
1948
  stroke: z.value.style.chart.grid.x.axisColor,
1942
1949
  "stroke-width": 1,
1943
1950
  "stroke-linecap": "round"
1944
- }, null, 8, Pt))), 256)), (T(!0), b(g, null, D(Z.value, (e, t) => (T(), b("text", {
1951
+ }, null, 8, jt))), 256)), (T(!0), b(g, null, D(Z.value, (e, t) => (T(), b("text", {
1945
1952
  class: "vue-data-ui-time-label",
1946
1953
  "font-size": z.value.style.chart.grid.x.timeLabels.fontSize,
1947
1954
  "font-weight": z.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
@@ -1953,12 +1960,12 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1953
1960
  v: e.value,
1954
1961
  s: z.value.style.chart.bars.dataLabels.suffix,
1955
1962
  r: z.value.style.chart.grid.y.axisLabels.rounding
1956
- }), { datapoint: e })), 9, Ft))), 256))], 512)) : y("", !0),
1963
+ }), { datapoint: e })), 9, Mt))), 256))], 512)) : y("", !0),
1957
1964
  z.value.style.chart.grid.x.timeLabels.show && z.value.orientation === "vertical" ? (T(), b("g", {
1958
1965
  key: 15,
1959
1966
  ref_key: "timeLabelsEls",
1960
- ref: Pn
1961
- }, [t.$slots["time-label"] ? (T(), b("g", It, [(T(!0), b(g, null, D(Jr.value, (e, n) => (T(), b("g", null, [O(t.$slots, "time-label", Ue({ ref_for: !0 }, {
1967
+ ref: jn
1968
+ }, [t.$slots["time-label"] ? (T(), b("g", Nt, [(T(!0), b(g, null, D(Gr.value, (e, n) => (T(), b("g", null, [O(t.$slots, "time-label", We({ ref_for: !0 }, {
1962
1969
  x: G.value.left + X.value * n + X.value / 2,
1963
1970
  y: G.value.bottom + z.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + z.value.style.chart.grid.x.timeLabels.offsetY,
1964
1971
  fontSize: z.value.style.chart.grid.x.timeLabels.fontSize,
@@ -1968,7 +1975,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1968
1975
  content: e.text,
1969
1976
  textAnchor: z.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : z.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
1970
1977
  show: !0
1971
- }), void 0, !0)]))), 256))])) : (T(), b("g", Lt, [(T(!0), b(g, null, D(Jr.value, (e, t) => (T(), b("g", null, [String(e.text).includes("\n") ? (T(), b("text", {
1978
+ }), void 0, !0)]))), 256))])) : (T(), b("g", Pt, [(T(!0), b(g, null, D(Gr.value, (e, t) => (T(), b("g", null, [String(e.text).includes("\n") ? (T(), b("text", {
1972
1979
  key: t + "-multi",
1973
1980
  "text-anchor": z.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : z.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
1974
1981
  "font-size": z.value.style.chart.grid.x.timeLabels.fontSize,
@@ -1988,8 +1995,8 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1988
1995
  x: 0,
1989
1996
  y: 0
1990
1997
  }),
1991
- onClick: () => ji(e, t)
1992
- }, null, 12, zt)) : (T(), b("text", {
1998
+ onClick: () => Oi(e, t)
1999
+ }, null, 12, It)) : (T(), b("text", {
1993
2000
  class: "vue-data-ui-time-label",
1994
2001
  key: t,
1995
2002
  "text-anchor": z.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : z.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
@@ -1998,13 +2005,13 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
1998
2005
  fill: z.value.style.chart.grid.x.timeLabels.color,
1999
2006
  transform: `translate(${G.value.left + X.value * t + X.value / 2}, ${G.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})`,
2000
2007
  style: w({ cursor: B.value ? "pointer" : "default" }),
2001
- onClick: () => ji(e, t)
2002
- }, k(e.text), 13, Rt))]))), 256))]))], 512)) : y("", !0),
2008
+ onClick: () => Oi(e, t)
2009
+ }, k(e.text), 13, Ft))]))), 256))]))], 512)) : y("", !0),
2003
2010
  z.value.style.chart.grid.x.timeLabels.show && z.value.orientation === "horizontal" ? (T(), b("g", {
2004
2011
  key: 16,
2005
2012
  ref_key: "timeLabelsEls",
2006
- ref: Pn
2007
- }, [t.$slots["time-label"] ? (T(), b("g", Bt, [(T(!0), b(g, null, D(Q.value, (e, n) => (T(), b("g", null, [O(t.$slots, "time-label", Ue({ ref_for: !0 }, {
2013
+ ref: jn
2014
+ }, [t.$slots["time-label"] ? (T(), b("g", Lt, [(T(!0), b(g, null, D(Q.value, (e, n) => (T(), b("g", null, [O(t.$slots, "time-label", We({ ref_for: !0 }, {
2008
2015
  x: G.value.left - 8,
2009
2016
  y: G.value.top + X.value * n + X.value / 2 + z.value.style.chart.grid.y.axisLabels.fontSize / 3,
2010
2017
  fontSize: z.value.style.chart.grid.x.timeLabels.fontSize,
@@ -2014,7 +2021,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
2014
2021
  content: e.text,
2015
2022
  textAnchor: "end",
2016
2023
  show: !0
2017
- }), void 0, !0)]))), 256))])) : (T(), b("g", Vt, [(T(!0), b(g, null, D(Q.value, (e, t) => (T(), b("g", null, [String(e.text).includes("\n") ? (T(), b("text", {
2024
+ }), void 0, !0)]))), 256))])) : (T(), b("g", Rt, [(T(!0), b(g, null, D(Q.value, (e, t) => (T(), b("g", null, [String(e.text).includes("\n") ? (T(), b("text", {
2018
2025
  key: 1,
2019
2026
  "text-anchor": "end",
2020
2027
  "font-size": z.value.style.chart.grid.y.axisLabels.fontSize,
@@ -2023,7 +2030,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
2023
2030
  x: G.value.left - 8,
2024
2031
  y: G.value.top + X.value * t + X.value / 2 + z.value.style.chart.grid.y.axisLabels.fontSize / 3,
2025
2032
  style: w({ cursor: B.value ? "pointer" : "default" }),
2026
- onClick: () => ji(e, t),
2033
+ onClick: () => Oi(e, t),
2027
2034
  innerHTML: A(p)({
2028
2035
  content: String(e.text),
2029
2036
  fontSize: z.value.style.chart.grid.y.axisLabels.fontSize,
@@ -2031,7 +2038,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
2031
2038
  x: G.value.left - 8,
2032
2039
  y: 0
2033
2040
  })
2034
- }, null, 12, Ut)) : (T(), b("text", {
2041
+ }, null, 12, Bt)) : (T(), b("text", {
2035
2042
  key: 0,
2036
2043
  "text-anchor": "end",
2037
2044
  "font-size": z.value.style.chart.grid.y.axisLabels.fontSize,
@@ -2040,53 +2047,53 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
2040
2047
  x: G.value.left - 8,
2041
2048
  y: G.value.top + X.value * t + X.value / 2 + z.value.style.chart.grid.y.axisLabels.fontSize / 3,
2042
2049
  style: w({ cursor: B.value ? "pointer" : "default" }),
2043
- onClick: () => ji(e, t)
2044
- }, k(e.text), 13, Ht))]))), 256))]))], 512)) : y("", !0),
2050
+ onClick: () => Oi(e, t)
2051
+ }, k(e.text), 13, zt))]))), 256))]))], 512)) : y("", !0),
2045
2052
  V.value.showTooltip && z.value.orientation === "vertical" ? (T(!0), b(g, { key: 17 }, D(J.value.end - J.value.start, (e, t) => (T(), b("rect", {
2046
2053
  x: G.value.left + t * X.value,
2047
2054
  y: G.value.top,
2048
2055
  width: X.value,
2049
2056
  height: G.value.height < 0 ? 0 : G.value.height,
2050
- onClick: () => oi(t),
2051
- onMouseenter: () => di(t, "pointer"),
2052
- onMouseleave: () => ci(t),
2053
- fill: t === L.value || t === qn.value ? z.value.style.chart.highlighter.color : "transparent",
2057
+ onClick: () => ri(t),
2058
+ onMouseenter: () => ci(t, "pointer"),
2059
+ onMouseleave: () => ai(t),
2060
+ fill: t === L.value || t === Wn.value ? z.value.style.chart.highlighter.color : "transparent",
2054
2061
  style: w({ opacity: z.value.style.chart.highlighter.opacity / 100 })
2055
- }, null, 44, Wt))), 256)) : y("", !0),
2062
+ }, null, 44, Vt))), 256)) : y("", !0),
2056
2063
  V.value.showTooltip && z.value.orientation === "horizontal" ? (T(!0), b(g, { key: 18 }, D(J.value.end - J.value.start, (e, t) => (T(), b("rect", {
2057
2064
  x: G.value.left,
2058
2065
  y: G.value.top + t * X.value,
2059
2066
  width: G.value.width < 0 ? 0 : G.value.width,
2060
2067
  height: X.value,
2061
- onClick: () => oi(t),
2062
- onMouseenter: () => di(t, "pointer"),
2063
- onMouseleave: () => ci(t),
2064
- fill: t === L.value || t === qn.value ? z.value.style.chart.highlighter.color : "transparent",
2068
+ onClick: () => ri(t),
2069
+ onMouseenter: () => ci(t, "pointer"),
2070
+ onMouseleave: () => ai(t),
2071
+ fill: t === L.value || t === Wn.value ? z.value.style.chart.highlighter.color : "transparent",
2065
2072
  style: w({ opacity: z.value.style.chart.highlighter.opacity / 100 })
2066
- }, null, 44, Gt))), 256)) : y("", !0),
2067
- kr.value ? (T(), b("rect", Ue({ key: 19 }, Dr.value, {
2073
+ }, null, 44, Ht))), 256)) : y("", !0),
2074
+ Er.value ? (T(), b("rect", We({ key: 19 }, wr.value, {
2068
2075
  "data-start": J.value.start,
2069
2076
  "data-end": J.value.end
2070
- }), null, 16, Kt)) : y("", !0),
2077
+ }), null, 16, Ut)) : y("", !0),
2071
2078
  O(t.$slots, "svg", { svg: {
2072
2079
  drawingArea: G.value,
2073
2080
  slicer: J.value,
2074
2081
  data: $.value,
2075
- isPrintingImg: A(sr) || A(cr) || kn.value,
2076
- isPrintingSvg: An.value,
2082
+ isPrintingImg: A(ir) || A(ar) || En.value,
2083
+ isPrintingSvg: Dn.value,
2077
2084
  barWidth: X.value
2078
2085
  } }, void 0, !0)
2079
- ], 46, at)), t.$slots.hint ? (T(), b("div", qt, [O(t.$slots, "hint", C(S({
2086
+ ], 46, ot)), t.$slots.hint ? (T(), b("div", Wt, [O(t.$slots, "hint", C(S({
2080
2087
  hint: z.value.a11y.translations.keyboardNavigation,
2081
- isVisible: ta.value
2088
+ isVisible: Qi.value
2082
2089
  })), void 0, !0)])) : y("", !0)]),
2083
- t.$slots.watermark ? (T(), b("div", Jt, [O(t.$slots, "watermark", C(S({ isPrinting: A(sr) || A(cr) || kn.value || An.value })), void 0, !0)])) : y("", !0),
2084
- z.value.style.chart.zoom.show && fn.value && Gi.value && q.value > 6 ? (T(), v(je, {
2090
+ t.$slots.watermark ? (T(), b("div", Gt, [O(t.$slots, "watermark", C(S({ isPrinting: A(ir) || A(ar) || En.value || Dn.value })), void 0, !0)])) : y("", !0),
2091
+ z.value.style.chart.zoom.show && ln.value && Hi.value && q.value > 6 ? (T(), v(Me, {
2085
2092
  key: 5,
2086
2093
  ref_key: "chartSlicer",
2087
- ref: yn,
2094
+ ref: gn,
2088
2095
  "data-dom-to-png-ignore-layout": "",
2089
- allMinimaps: Rr.value,
2096
+ allMinimaps: Fr.value,
2090
2097
  background: z.value.style.chart.zoom.color,
2091
2098
  borderColor: z.value.style.chart.backgroundColor,
2092
2099
  customFormat: z.value.style.chart.zoom.customFormat,
@@ -2100,12 +2107,12 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
2100
2107
  fontSize: z.value.style.chart.zoom.fontSize,
2101
2108
  immediate: !z.value.style.chart.zoom.preview.enable,
2102
2109
  inputColor: z.value.style.chart.zoom.color,
2103
- isPreview: kr.value,
2110
+ isPreview: Er.value,
2104
2111
  labelLeft: z.value.style.chart.grid.x.timeLabels.values[J.value.start] ? Q.value?.[0]?.text ?? "" : "",
2105
2112
  labelRight: z.value.style.chart.grid.x.timeLabels.values[J.value.end - 1] ? Q.value?.at(-1)?.text ?? "" : "",
2106
2113
  max: Math.max(...e.dataset.map((e) => e.series.length)),
2107
2114
  min: 0,
2108
- minimap: Lr.value,
2115
+ minimap: Pr.value,
2109
2116
  minimapCompact: z.value.style.chart.zoom.minimap.compact,
2110
2117
  minimapFrameColor: z.value.style.chart.zoom.minimap.frameColor,
2111
2118
  minimapIndicatorColor: z.value.style.chart.zoom.minimap.indicatorColor,
@@ -2114,15 +2121,15 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
2114
2121
  minimapSelectedColorOpacity: z.value.style.chart.zoom.minimap.selectedColorOpacity,
2115
2122
  minimapSelectedIndex: L.value,
2116
2123
  minimapSelectionRadius: 1,
2117
- preciseLabels: Qr.value.length ? Qr.value : Wr.value,
2124
+ preciseLabels: Yr.value.length ? Yr.value : Vr.value,
2118
2125
  refreshEndPoint: z.value.style.chart.zoom.endIndex === null ? Math.max(...e.dataset.map((e) => e.series.length)) : z.value.style.chart.zoom.endIndex + 1,
2119
2126
  refreshStartPoint: z.value.style.chart.zoom.startIndex === null ? 0 : z.value.style.chart.zoom.startIndex,
2120
2127
  selectColor: z.value.style.chart.zoom.highlightColor,
2121
- selectedSeries: li.value,
2128
+ selectedSeries: oi.value,
2122
2129
  smoothMinimap: !1,
2123
2130
  start: J.value.start,
2124
2131
  textColor: z.value.style.chart.color,
2125
- timeLabels: Wr.value,
2132
+ timeLabels: Vr.value,
2126
2133
  usePreciseLabels: z.value.style.chart.grid.x.timeLabels.datetimeFormatter.enable && !z.value.style.chart.zoom.useDefaultFormat,
2127
2134
  valueEnd: J.value.end,
2128
2135
  valueStart: J.value.start,
@@ -2136,12 +2143,12 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
2136
2143
  handleBorderColor: z.value.style.chart.zoom.minimap.handleBorderColor,
2137
2144
  handleFill: z.value.style.chart.zoom.minimap.handleFill,
2138
2145
  handleWidth: z.value.style.chart.zoom.minimap.handleWidth,
2139
- "onUpdate:end": Yi,
2140
- "onUpdate:start": Ji,
2141
- onTrapMouse: Or,
2142
- onReset: r[0] ||= () => Pr({ force: !0 }),
2143
- onFutureEnd: r[1] ||= (e) => Ar("end", e),
2144
- onFutureStart: r[2] ||= (e) => Ar("start", e)
2146
+ "onUpdate:end": Ki,
2147
+ "onUpdate:start": Gi,
2148
+ onTrapMouse: Tr,
2149
+ onReset: r[0] ||= () => jr({ force: !0 }),
2150
+ onFutureEnd: r[1] ||= (e) => Dr("end", e),
2151
+ onFutureStart: r[2] ||= (e) => Dr("start", e)
2145
2152
  }, {
2146
2153
  "reset-action": j(({ reset: e }) => [O(t.$slots, "reset-action", C(S({ reset: e })), void 0, !0)]),
2147
2154
  slotMap: j(({ width: e, height: t, unitW: n }) => [(T(!0), b(g, null, D($.value, (e) => (T(), b("g", { key: e.id }, [(T(!0), b(g, null, D(e.xMinimap({
@@ -2160,12 +2167,12 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
2160
2167
  "stroke-linecap": "round",
2161
2168
  "stroke-linejoin": "round",
2162
2169
  style: w({ opacity: a >= Y.value.start && a <= Y.value.end ? 1 : .62 })
2163
- }, null, 12, Yt))), 128))]))), 128))]),
2170
+ }, null, 12, Kt))), 128))]))), 128))]),
2164
2171
  _: 3
2165
2172
  }, 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("."))) : y("", !0),
2166
- Ve(A($t), {
2173
+ He(A(Xt), {
2167
2174
  teleportTo: z.value.style.chart.tooltip.teleportTo,
2168
- show: V.value.showTooltip && pn.value,
2175
+ show: V.value.showTooltip && un.value,
2169
2176
  backgroundColor: z.value.style.chart.tooltip.backgroundColor,
2170
2177
  color: z.value.style.chart.tooltip.color,
2171
2178
  fontSize: z.value.style.chart.tooltip.fontSize,
@@ -2177,19 +2184,19 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
2177
2184
  offsetX: z.value.style.chart.tooltip.offsetX,
2178
2185
  offsetY: z.value.style.chart.tooltip.offsetY,
2179
2186
  parent: P.value,
2180
- content: hn.value,
2181
- isFullscreen: xn.value,
2187
+ content: fn.value,
2188
+ isFullscreen: vn.value,
2182
2189
  isCustom: A(fe)(z.value.style.chart.tooltip.customFormat),
2183
2190
  smooth: z.value.style.chart.tooltip.smooth,
2184
2191
  backdropFilter: z.value.style.chart.tooltip.backdropFilter,
2185
2192
  smoothForce: z.value.style.chart.tooltip.smoothForce,
2186
2193
  smoothSnapThreshold: z.value.style.chart.tooltip.smoothSnapThreshold,
2187
- isA11yMode: Hn.value === "keyboard",
2188
- a11yPosition: Vn.value
2194
+ isA11yMode: zn.value === "keyboard",
2195
+ a11yPosition: Rn.value
2189
2196
  }, {
2190
- "tooltip-before": j(() => [O(t.$slots, "tooltip-before", C(S({ ...mn.value })), void 0, !0)]),
2191
- tooltip: j(() => [O(t.$slots, "tooltip", C(S({ ...mn.value })), void 0, !0)]),
2192
- "tooltip-after": j(() => [O(t.$slots, "tooltip-after", C(S({ ...mn.value })), void 0, !0)]),
2197
+ "tooltip-before": j(() => [O(t.$slots, "tooltip-before", C(S({ ...dn.value })), void 0, !0)]),
2198
+ tooltip: j(() => [O(t.$slots, "tooltip", C(S({ ...dn.value })), void 0, !0)]),
2199
+ "tooltip-after": j(() => [O(t.$slots, "tooltip-after", C(S({ ...dn.value })), void 0, !0)]),
2193
2200
  _: 3
2194
2201
  }, 8, [
2195
2202
  "teleportTo",
@@ -2215,33 +2222,33 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
2215
2222
  "isA11yMode",
2216
2223
  "a11yPosition"
2217
2224
  ]),
2218
- x("div", { id: `legend-bottom-${F.value}` }, null, 8, Xt),
2219
- En.value && (z.value.style.chart.legend.show || t.$slots.legend) ? (T(), v(Re, {
2225
+ x("div", { id: `legend-bottom-${F.value}` }, null, 8, qt),
2226
+ Cn.value && (z.value.style.chart.legend.show || t.$slots.legend) ? (T(), v(ze, {
2220
2227
  key: 6,
2221
2228
  to: z.value.style.chart.legend.position === "top" ? `#legend-top-${F.value}` : `#legend-bottom-${F.value}`
2222
2229
  }, [x("div", {
2223
2230
  ref_key: "chartLegend",
2224
- ref: vn
2225
- }, [O(t.$slots, "legend", { legend: Di.value }, () => [z.value.style.chart.legend.show ? (T(), v(Ie, {
2231
+ ref: hn
2232
+ }, [O(t.$slots, "legend", { legend: wi.value }, () => [z.value.style.chart.legend.show ? (T(), v(Le, {
2226
2233
  key: 0,
2227
- legendSet: Di.value,
2228
- config: Oi.value,
2234
+ legendSet: wi.value,
2235
+ config: Ti.value,
2229
2236
  isCursorPointer: B.value,
2230
2237
  onClickMarker: r[3] ||= ({ legend: e }) => e.segregate()
2231
- }, ze({
2232
- item: j(({ legend: e }) => [A(Yn) ? y("", !0) : (T(), b("div", {
2238
+ }, Be({
2239
+ item: j(({ legend: e }) => [A(Kn) ? y("", !0) : (T(), b("div", {
2233
2240
  key: 0,
2234
2241
  onClick: (t) => e.segregate(),
2235
2242
  style: w(`opacity:${I.value.includes(e.id) ? .5 : 1}`)
2236
- }, k(e.name), 13, Zt))]),
2237
- legendToggle: j(() => [Di.value.length > 2 && z.value.style.chart.legend.selectAllToggle.show && !A(Yn) ? (T(), v(Me, {
2243
+ }, k(e.name), 13, Jt))]),
2244
+ legendToggle: j(() => [wi.value.length > 2 && z.value.style.chart.legend.selectAllToggle.show && !A(Kn) ? (T(), v(Ne, {
2238
2245
  key: 0,
2239
2246
  backgroundColor: z.value.style.chart.legend.selectAllToggle.backgroundColor,
2240
2247
  color: z.value.style.chart.legend.selectAllToggle.color,
2241
2248
  fontSize: z.value.style.chart.legend.fontSize,
2242
2249
  checked: I.value.length > 0,
2243
2250
  isCursorPointer: B.value,
2244
- onToggle: Si
2251
+ onToggle: yi
2245
2252
  }, null, 8, [
2246
2253
  "backgroundColor",
2247
2254
  "color",
@@ -2252,7 +2259,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
2252
2259
  _: 2
2253
2260
  }, [t.$slots.pattern ? {
2254
2261
  name: "legend-pattern",
2255
- fn: j(({ legend: e, index: t }) => [Ve(De, {
2262
+ fn: j(({ legend: e, index: t }) => [He(De, {
2256
2263
  shape: e.shape,
2257
2264
  radius: 30,
2258
2265
  stroke: "none",
@@ -2271,26 +2278,26 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
2271
2278
  t.$slots.source ? (T(), b("div", {
2272
2279
  key: 7,
2273
2280
  ref_key: "source",
2274
- ref: bn,
2281
+ ref: _n,
2275
2282
  dir: "auto"
2276
2283
  }, [O(t.$slots, "source", {}, void 0, !0)], 512)) : y("", !0),
2277
- fn.value && z.value.userOptions.buttons.table ? (T(), v(Je(Fi.value.component), Ue({ key: 8 }, Fi.value.props, {
2284
+ ln.value && z.value.userOptions.buttons.table ? (T(), v(Ye(Mi.value.component), We({ key: 8 }, Mi.value.props, {
2278
2285
  ref_key: "tableUnit",
2279
- ref: Dn,
2280
- onClose: Ii
2281
- }), ze({
2282
- content: j(() => [Ve(A(nn), {
2283
- colNames: xi.value.colNames,
2284
- head: xi.value.head,
2285
- body: xi.value.body,
2286
- config: xi.value.config,
2287
- title: z.value.table.useDialog ? "" : Fi.value.title,
2286
+ ref: wn,
2287
+ onClose: Ni
2288
+ }), Be({
2289
+ content: j(() => [He(A($t), {
2290
+ colNames: vi.value.colNames,
2291
+ head: vi.value.head,
2292
+ body: vi.value.body,
2293
+ config: vi.value.config,
2294
+ title: z.value.table.useDialog ? "" : Mi.value.title,
2288
2295
  withCloseButton: !z.value.table.useDialog,
2289
2296
  isCursorPointer: B.value,
2290
- onClose: Ii
2297
+ onClose: Ni
2291
2298
  }, {
2292
- th: j(({ th: e }) => [x("div", { innerHTML: e }, null, 8, Qt)]),
2293
- td: j(({ td: e }) => [Be(k(isNaN(Number(e)) ? e : A(o)({
2299
+ th: j(({ th: e }) => [x("div", { innerHTML: e }, null, 8, Yt)]),
2300
+ td: j(({ td: e }) => [Ve(k(isNaN(Number(e)) ? e : A(o)({
2294
2301
  p: z.value.style.chart.bars.dataLabels.prefix,
2295
2302
  v: e,
2296
2303
  s: z.value.style.chart.bars.dataLabels.suffix,
@@ -2309,24 +2316,24 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
2309
2316
  _: 2
2310
2317
  }, [z.value.table.useDialog ? {
2311
2318
  name: "title",
2312
- fn: j(() => [Be(k(Fi.value.title), 1)]),
2319
+ fn: j(() => [Ve(k(Mi.value.title), 1)]),
2313
2320
  key: "0"
2314
2321
  } : void 0, z.value.table.useDialog ? {
2315
2322
  name: "actions",
2316
2323
  fn: j(() => [x("button", {
2317
2324
  tabindex: "0",
2318
2325
  class: "vue-ui-user-options-button",
2319
- onClick: r[4] ||= (e) => bi(z.value.userOptions.callbacks.csv),
2326
+ onClick: r[4] ||= (e) => _i(z.value.userOptions.callbacks.csv),
2320
2327
  style: w({ cursor: B.value ? "pointer" : "default" })
2321
- }, [Ve(A(en), {
2328
+ }, [He(A(Zt), {
2322
2329
  name: "fileCsv",
2323
- stroke: Fi.value.props.color
2330
+ stroke: Mi.value.props.color
2324
2331
  }, null, 8, ["stroke"])], 4)]),
2325
2332
  key: "1"
2326
2333
  } : void 0]), 1040)) : y("", !0),
2327
- O(t.$slots, "skeleton", {}, () => [A(Yn) ? (T(), v(ye, { key: 0 })) : y("", !0)], !0)
2328
- ], 46, tt));
2334
+ O(t.$slots, "skeleton", {}, () => [A(Kn) ? (T(), v(ye, { key: 0 })) : y("", !0)], !0)
2335
+ ], 46, nt));
2329
2336
  }
2330
- }, [["__scopeId", "data-v-ff4c556e"]]);
2337
+ }, [["__scopeId", "data-v-67f869a9"]]);
2331
2338
  //#endregion
2332
- export { et as n, $t as t };
2339
+ export { tt as n, Xt as t };