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
@@ -12,34 +12,35 @@ import { t as Ce } from "./Shape-UpH0a4Ur.js";
12
12
  import { t as we } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
13
  import { c as Te } from "./canvas-lib-BOP_HS11.js";
14
14
  import { t as Ee } from "./useResponsive-BfnK0KxU.js";
15
- import { t as De } from "./vue-ui-accordion-YyosvEPo.js";
16
- import { t as Oe } from "./BaseLegendToggle-DtQ8vyfr.js";
17
- import { t as ke } from "./A11yDataTable-DdRsVULz.js";
18
- import { t as Ae } from "./useUserOptionState-DK-_1ddE.js";
19
- import { t as je } from "./useChartAccessibility-DYqac8yF.js";
20
- import { t as Me } from "./useTableResponsive-B24Uwt2E.js";
21
- import { t as Ne } from "./Legend-ROt6ugzW.js";
22
- import { t as Pe } from "./vue_ui_horizontal_bar-C4J4QzXf.js";
23
- import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Fe, createTextVNode as Ie, createVNode as Le, defineAsyncComponent as Re, guardReactiveProps as h, mergeProps as ze, nextTick as Be, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as Ve, onMounted as He, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as Ue, toDisplayString as C, toRefs as We, unref as w, useCssVars as Ge, useSlots as Ke, watch as qe, withCtx as T, withKeys as Je } from "vue";
15
+ import { t as De } from "./DefGrad-DVBqDjhO.js";
16
+ import { t as Oe } from "./vue-ui-accordion-CjAGqEJg.js";
17
+ import { t as ke } from "./BaseLegendToggle-DWtet-Hh.js";
18
+ import { t as Ae } from "./A11yDataTable-DdRsVULz.js";
19
+ import { t as je } from "./useUserOptionState-DK-_1ddE.js";
20
+ import { t as Me } from "./useChartAccessibility-DYqac8yF.js";
21
+ import { t as Ne } from "./useTableResponsive-B24Uwt2E.js";
22
+ import { t as Pe } from "./Legend-ROt6ugzW.js";
23
+ import { t as Fe } from "./vue_ui_horizontal_bar-C4J4QzXf.js";
24
+ import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Ie, createTextVNode as Le, createVNode as Re, defineAsyncComponent as ze, guardReactiveProps as h, mergeProps as Be, nextTick as Ve, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as He, onMounted as Ue, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as We, toDisplayString as C, toRefs as Ge, unref as w, useCssVars as Ke, useSlots as qe, watch as Je, withCtx as T, withKeys as Ye } from "vue";
24
25
  //#region src/components/vue-ui-horizontal-bar.vue
25
- var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe = ["onClick"], $e = { style: { position: "relative" } }, et = [
26
+ var Xe = /* @__PURE__ */ e({ default: () => Ht }), Ze = ["id"], Qe = ["id"], $e = ["onClick"], et = { style: { position: "relative" } }, tt = [
26
27
  "xmlns",
27
28
  "viewBox",
28
29
  "aria-describedby"
29
- ], tt = ["width", "height"], nt = ["id"], rt = ["stop-color"], it = ["stop-color"], at = { key: 1 }, ot = [
30
+ ], nt = ["width", "height"], rt = { key: 1 }, it = [
30
31
  "y",
31
32
  "width",
32
33
  "height",
33
34
  "fill",
34
35
  "rx"
35
- ], st = [
36
+ ], at = [
36
37
  "x",
37
38
  "y",
38
39
  "width",
39
40
  "height",
40
41
  "fill",
41
42
  "rx"
42
- ], ct = [
43
+ ], ot = [
43
44
  "x",
44
45
  "y",
45
46
  "width",
@@ -48,7 +49,7 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
48
49
  "rx",
49
50
  "stroke",
50
51
  "stroke-width"
51
- ], lt = [
52
+ ], st = [
52
53
  "x",
53
54
  "y",
54
55
  "width",
@@ -57,59 +58,59 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
57
58
  "rx",
58
59
  "stroke",
59
60
  "stroke-width"
60
- ], ut = [
61
+ ], ct = [
61
62
  "x1",
62
63
  "x2",
63
64
  "y1",
64
65
  "y2",
65
66
  "stroke",
66
67
  "stroke-width"
67
- ], dt = [
68
+ ], lt = [
68
69
  "x1",
69
70
  "x2",
70
71
  "y1",
71
72
  "y2",
72
73
  "stroke",
73
74
  "stroke-width"
74
- ], ft = { class: "vue-ui-horizontal-bar-parent-label" }, pt = [
75
+ ], ut = { class: "vue-ui-horizontal-bar-parent-label" }, dt = [
75
76
  "y",
76
77
  "height",
77
78
  "width",
78
79
  "fill"
79
- ], mt = [
80
+ ], ft = [
80
81
  "y",
81
82
  "font-size",
82
83
  "fill",
83
84
  "x",
84
85
  "font-weight",
85
86
  "innerHTML"
86
- ], ht = [
87
+ ], pt = [
87
88
  "y",
88
89
  "font-size",
89
90
  "fill",
90
91
  "x",
91
92
  "font-weight"
92
- ], gt = { class: "vue-ui-horizontal-bar-child-label" }, _t = [
93
+ ], mt = { class: "vue-ui-horizontal-bar-child-label" }, ht = [
93
94
  "x",
94
95
  "y",
95
96
  "font-size",
96
97
  "font-weight",
97
98
  "innerHTML"
98
- ], vt = { class: "vue-ui-horizontal-bar-child-label" }, yt = [
99
+ ], gt = { class: "vue-ui-horizontal-bar-child-label" }, _t = [
99
100
  "x",
100
101
  "y",
101
102
  "font-size",
102
103
  "fill",
103
104
  "font-weight",
104
105
  "innerHTML"
105
- ], bt = { class: "vue-ui-horizontal-bar-child-label" }, xt = [
106
+ ], vt = { class: "vue-ui-horizontal-bar-child-label" }, yt = [
106
107
  "x",
107
108
  "y",
108
109
  "text-anchor",
109
110
  "font-size",
110
111
  "fill",
111
112
  "font-weight"
112
- ], St = [
113
+ ], bt = [
113
114
  "y",
114
115
  "width",
115
116
  "height",
@@ -117,7 +118,7 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
117
118
  "onMouseenter",
118
119
  "onMouseleave",
119
120
  "onClick"
120
- ], Ct = {
121
+ ], xt = {
121
122
  key: 0,
122
123
  style: {
123
124
  position: "absolute",
@@ -127,59 +128,59 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
127
128
  },
128
129
  "data-dom-to-png-ignore": "",
129
130
  "aria-hidden": "true"
130
- }, wt = {
131
+ }, St = {
131
132
  key: 6,
132
133
  class: "vue-data-ui-watermark"
133
- }, Tt = ["onClick"], Et = { style: "width:100%;padding-top: 36px;position:relative" }, Dt = { class: "vue-ui-data-table" }, Ot = { key: 0 }, kt = { style: { width: "100%" } }, At = ["data-cell"], jt = { style: {
134
+ }, Ct = ["onClick"], wt = { style: "width:100%;padding-top: 36px;position:relative" }, Tt = { class: "vue-ui-data-table" }, Et = { key: 0 }, Dt = { style: { width: "100%" } }, Ot = ["data-cell"], kt = { style: {
134
135
  display: "flex",
135
136
  "align-items": "center",
136
137
  gap: "5px",
137
138
  "justify-content": "flex-end",
138
139
  width: "100%",
139
140
  "padding-right": "3px"
140
- } }, Mt = ["data-cell"], Nt = { style: {
141
+ } }, At = ["data-cell"], jt = { style: {
141
142
  display: "flex",
142
143
  "align-items": "center",
143
144
  gap: "5px",
144
145
  "justify-content": "flex-end",
145
146
  width: "100%",
146
147
  "padding-right": "3px"
147
- } }, Pt = ["data-cell"], Ft = { style: {
148
+ } }, Mt = ["data-cell"], Nt = { style: {
148
149
  display: "flex",
149
150
  "align-items": "center",
150
151
  gap: "5px",
151
152
  "justify-content": "flex-end",
152
153
  width: "100%",
153
154
  "padding-right": "3px"
154
- } }, It = ["data-cell"], Lt = { style: {
155
+ } }, Pt = ["data-cell"], Ft = { style: {
155
156
  display: "flex",
156
157
  "align-items": "center",
157
158
  gap: "5px",
158
159
  "justify-content": "flex-end",
159
160
  width: "100%",
160
161
  "padding-right": "3px"
161
- } }, Rt = ["data-cell"], zt = { style: {
162
+ } }, It = ["data-cell"], Lt = { style: {
162
163
  display: "flex",
163
164
  "align-items": "center",
164
165
  gap: "5px",
165
166
  "justify-content": "flex-end",
166
167
  width: "100%",
167
168
  "padding-right": "3px"
168
- } }, Bt = ["data-cell"], Vt = { style: {
169
+ } }, Rt = ["data-cell"], zt = { style: {
169
170
  display: "flex",
170
171
  "align-items": "center",
171
172
  gap: "5px",
172
173
  "justify-content": "flex-end",
173
174
  width: "100%",
174
175
  "padding-right": "3px"
175
- } }, Ht = ["data-cell"], Ut = { style: {
176
+ } }, Bt = ["data-cell"], Vt = { style: {
176
177
  display: "flex",
177
178
  "align-items": "center",
178
179
  gap: "5px",
179
180
  "justify-content": "flex-end",
180
181
  width: "100%",
181
182
  "padding-right": "3px"
182
- } }, Wt = /*#__PURE__*/ we({
183
+ } }, Ht = /*#__PURE__*/ we({
183
184
  __name: "vue-ui-horizontal-bar",
184
185
  props: {
185
186
  config: {
@@ -200,23 +201,23 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
200
201
  "copyAlt",
201
202
  "selectDatapoint"
202
203
  ],
203
- setup(e, { expose: we, emit: Ye }) {
204
- Ge((e) => ({ v44273546: e.tdo }));
205
- let Wt = Re(() => import("./Tooltip-CxOrWlFy.js")), Gt = Re(() => import("./BaseIcon-C2qlyHc7.js").then((e) => e.n)), Kt = Re(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), qt = Re(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), Jt = Re(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), Yt = Re(() => import("./BaseDraggableDialog-DcfGlH8A.js").then((e) => e.n)), { vue_ui_vertical_bar: Xt } = me(), { isThemeValid: Zt, warnInvalidTheme: Qt } = be(), $t = Ke(), E = e, en = u({
204
+ setup(e, { expose: we, emit: Xe }) {
205
+ Ke((e) => ({ v44a2acba: e.tdo }));
206
+ let Ht = ze(() => import("./Tooltip-CxOrWlFy.js")), Ut = ze(() => import("./BaseIcon-UdRAvP2h.js").then((e) => e.n)), Wt = ze(() => import("./PenAndPaper-DsXi7GJ-.js").then((e) => e.t)), Gt = ze(() => import("./UserOptions-trvJ26nz.js").then((e) => e.n)), Kt = ze(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), qt = ze(() => import("./BaseDraggableDialog-Av7Uxq5V.js").then((e) => e.n)), { vue_ui_vertical_bar: Jt } = me(), { isThemeValid: Yt, warnInvalidTheme: Xt } = be(), Zt = qe(), E = e, Qt = u({
206
207
  get() {
207
208
  return !!E.dataset && E.dataset.length;
208
209
  },
209
210
  set(e) {
210
211
  return e;
211
212
  }
212
- }), D = b(n()), tn = b(!1), nn = b(""), rn = b(null), an = b(0), O = b(null), on = b(null), sn = b(null), cn = b(null), ln = b(null), un = b(0), dn = b(0), fn = b(null), pn = b(null), mn = b(null), hn = b(null), gn = b(null), k = b([]), _n = b({
213
+ }), D = b(n()), $t = b(!1), en = b(""), tn = b(null), nn = b(0), O = b(null), rn = b(null), an = b(null), on = b(null), sn = b(null), cn = b(0), ln = b(0), un = b(null), dn = b(null), fn = b(null), pn = b(null), mn = b(null), k = b([]), hn = b({
213
214
  none: 0,
214
215
  asc: 1,
215
216
  desc: 2
216
- }), A = b(0), vn = b(!1), yn = b(0), bn = b(0), xn = b(null), Sn = b(!1), Cn = b(!1), j = b(null), wn = b({
217
+ }), A = b(0), gn = b(!1), _n = b(0), vn = b(0), yn = b(null), bn = b(!1), xn = b(!1), j = b(null), Sn = b({
217
218
  x: 0,
218
219
  y: 0
219
- }), Tn = b("pointer"), En = Ye, M = b(In()), N = u(() => M.value.userOptions.useCursorPointer), Dn = u(() => E.config?.skeletonDataset ?? [
220
+ }), Cn = b("pointer"), wn = Xe, M = b(Pn()), N = u(() => M.value.userOptions.useCursorPointer), Tn = u(() => E.config?.skeletonDataset ?? [
220
221
  {
221
222
  name: "",
222
223
  value: 6,
@@ -247,7 +248,7 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
247
248
  value: 1,
248
249
  color: "#d9d9d9"
249
250
  }
250
- ]), On = u(() => i({
251
+ ]), En = u(() => i({
251
252
  defaultConfig: {
252
253
  useCssAnimation: !1,
253
254
  userOptions: { show: !1 },
@@ -284,30 +285,30 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
284
285
  } }
285
286
  },
286
287
  userConfig: M.value.skeletonConfig ?? {}
287
- })), { loading: kn, FINAL_DATASET: An, manualLoading: jn } = ge({
288
- ...We(E),
288
+ })), { loading: Dn, FINAL_DATASET: On, manualLoading: kn } = ge({
289
+ ...Ge(E),
289
290
  FINAL_CONFIG: M,
290
- prepareConfig: In,
291
+ prepareConfig: Pn,
291
292
  callback: () => {
292
293
  Promise.resolve().then(async () => {
293
- z.value.showTable = M.value.table.show, qn();
294
+ z.value.showTable = M.value.table.show, Gn();
294
295
  });
295
296
  },
296
- skeletonDataset: Dn.value,
297
+ skeletonDataset: Tn.value,
297
298
  skeletonConfig: i({
298
299
  defaultConfig: M.value,
299
- userConfig: On.value
300
+ userConfig: En.value
300
301
  })
301
- }), { userOptionsVisible: Mn, setUserOptionsVisibility: Nn, keepUserOptionState: Pn } = Ae({ config: M.value }), { svgRef: Fn } = je({ config: M.value.style.chart.title });
302
- function In() {
302
+ }), { userOptionsVisible: An, setUserOptionsVisibility: jn, keepUserOptionState: Mn } = je({ config: M.value }), { svgRef: Nn } = Me({ config: M.value.style.chart.title });
303
+ function Pn() {
303
304
  let e = ye({
304
305
  userConfig: E.config,
305
- defaultConfig: Xt
306
+ defaultConfig: Jt
306
307
  }), t = {}, n = e.theme;
307
- if (n) if (!Zt.value(e)) Qt(e), t = e;
308
+ if (n) if (!Yt.value(e)) Xt(e), t = e;
308
309
  else {
309
310
  let r = ye({
310
- userConfig: Pe[n] || E.config,
311
+ userConfig: Fe[n] || E.config,
311
312
  defaultConfig: e
312
313
  });
313
314
  t = {
@@ -322,57 +323,57 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
322
323
  return E.config && oe(E.config, "events.datapointEnter") ? t.events.datapointEnter = E.config.events.datapointEnter : t.events.datapointEnter = null, E.config && oe(E.config, "events.datapointLeave") ? t.events.datapointLeave = E.config.events.datapointLeave : t.events.datapointLeave = null, E.config && oe(E.config, "events.datapointClick") ? t.events.datapointClick = E.config.events.datapointClick : t.events.datapointClick = null, t;
323
324
  }
324
325
  let P = b(M.value.style.chart.width), F = b(M.value.style.chart.height), I = b(M.value.style.chart.layout.bars.gap);
325
- qe(() => E.config, (e) => {
326
- kn.value || (M.value = In()), Mn.value = !M.value.userOptions.showOnChartHover, un.value += 1, dn.value += 1, z.value.showTable = M.value.table.show, z.value.sortDesc = M.value.style.chart.layout.bars.sort === "desc", z.value.showTooltip = M.value.style.chart.tooltip.show, P.value = M.value.style.chart.width, F.value = M.value.style.chart.height, I.value = M.value.style.chart.layout.bars.gap;
327
- }, { deep: !0 }), qe(() => E.dataset, (e) => {
328
- Array.isArray(e) && e.length > 0 && (jn.value = !1);
326
+ Je(() => E.config, (e) => {
327
+ Dn.value || (M.value = Pn()), An.value = !M.value.userOptions.showOnChartHover, cn.value += 1, ln.value += 1, z.value.showTable = M.value.table.show, z.value.sortDesc = M.value.style.chart.layout.bars.sort === "desc", z.value.showTooltip = M.value.style.chart.tooltip.show, P.value = M.value.style.chart.width, F.value = M.value.style.chart.height, I.value = M.value.style.chart.layout.bars.gap;
328
+ }, { deep: !0 }), Je(() => E.dataset, (e) => {
329
+ Array.isArray(e) && e.length > 0 && (kn.value = !1);
329
330
  }, { deep: !0 });
330
- let { isPrinting: Ln, isImaging: Rn, generatePdf: zn, generateImage: Bn } = he({
331
+ let { isPrinting: Fn, isImaging: In, generatePdf: Ln, generateImage: Rn } = he({
331
332
  elementId: `vue-ui-vertical-bar_${D.value}`,
332
333
  fileName: M.value.style.chart.title.text || "vue-ui-vertical-bar",
333
334
  options: M.value.userOptions.print
334
- }), Vn = u(() => M.value.userOptions.show && !M.value.style.chart.title.text), Hn = u(() => s(M.value.customPalette)), Un = b(null), Wn = u(() => M.value.table.responsiveBreakpoint), Gn = u(() => !!M.value.debug), Kn = b(0), L = b(null), R = b(null);
335
- function qn() {
335
+ }), zn = u(() => M.value.userOptions.show && !M.value.style.chart.title.text), Bn = u(() => s(M.value.customPalette)), Vn = b(null), Hn = u(() => M.value.table.responsiveBreakpoint), Un = u(() => !!M.value.debug), Wn = b(0), L = b(null), R = b(null);
336
+ function Gn() {
336
337
  if (O.value && (ce(E.dataset) && (t({
337
338
  componentName: "VueUiVerticalBar",
338
339
  type: "dataset",
339
- debug: Gn.value
340
- }), en.value = !1, jn.value = !0), ce(E.dataset) || (jn.value = M.value.loading), M.value.responsive)) {
340
+ debug: Un.value
341
+ }), Qt.value = !1, kn.value = !0), ce(E.dataset) || (kn.value = M.value.loading), M.value.responsive)) {
341
342
  let e = Te(() => {
342
343
  let { width: e, height: t } = Ee({
343
344
  chart: O.value,
344
- title: M.value.style.chart.title.text ? on.value : null,
345
- legend: M.value.style.chart.legend.show ? sn.value : null,
346
- source: cn.value,
347
- noTitle: ln.value
345
+ title: M.value.style.chart.title.text ? rn.value : null,
346
+ legend: M.value.style.chart.legend.show ? an.value : null,
347
+ source: on.value,
348
+ noTitle: sn.value
348
349
  });
349
- Kn.value = t / 3, requestAnimationFrame(async () => {
350
+ Wn.value = t / 3, requestAnimationFrame(async () => {
350
351
  F.value = t, P.value = e;
351
352
  });
352
353
  });
353
- L.value && (R.value && L.value.unobserve(R.value), L.value.disconnect()), L.value = new ResizeObserver(e), Be(() => {
354
+ L.value && (R.value && L.value.unobserve(R.value), L.value.disconnect()), L.value = new ResizeObserver(e), Ve(() => {
354
355
  R.value = O.value?.parentNode, R.value && L.value.observe(R.value);
355
356
  });
356
357
  }
357
358
  }
358
- Ve(() => {
359
+ He(() => {
359
360
  L.value && (R.value && L.value.unobserve(R.value), L.value.disconnect());
360
361
  });
361
362
  let z = b({
362
363
  showTable: M.value.table.show,
363
364
  sortDesc: M.value.style.chart.layout.bars.sort === "desc",
364
365
  showTooltip: M.value.style.chart.tooltip.show
365
- }), Jn = u(() => z.value.sortDesc), B = u(() => (An.value.forEach((e, n) => {
366
+ }), Kn = u(() => z.value.sortDesc), B = u(() => (On.value.forEach((e, n) => {
366
367
  !e.value && !e.children && t({
367
368
  componentName: "VueUiVerticalBar",
368
369
  type: "datasetAttributeEmpty",
369
370
  property: `value (index ${n})`,
370
- debug: Gn.value
371
+ debug: Un.value
371
372
  }), e.children && (ce(e.children) ? t({
372
373
  componentName: "VueUiVerticalBar",
373
374
  type: "datasetAttributeEmpty",
374
375
  property: `children (index ${n})`,
375
- debug: Gn.value
376
+ debug: Un.value
376
377
  }) : e.children.forEach((e, n) => {
377
378
  [null, void 0].includes(e.name) && t({
378
379
  componentName: "VueUiVerticalBar",
@@ -380,10 +381,10 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
380
381
  property: "name",
381
382
  key: "children",
382
383
  index: n,
383
- debug: Gn.value
384
+ debug: Un.value
384
385
  });
385
386
  }));
386
- }), An.value.map((e, t) => {
387
+ }), On.value.map((e, t) => {
387
388
  let n = `vertical_parent_${t}_${D.value}`, r = e.children && e.children.length > 0, i = c(e.value ? e.value : r ? e.children.map((e) => e.value || 0).reduce((e, t) => e + t, 0) : 0), o = i >= 0 ? 1 : -1;
388
389
  return {
389
390
  ...e,
@@ -397,8 +398,8 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
397
398
  isChild: !1,
398
399
  segregate: () => J(n),
399
400
  isSegregated: k.value.includes(n),
400
- color: ae(e.color) || Hn.value[t] || a[t] || a[t % a.length],
401
- children: !e.children || !e.children.length ? [] : e.children.toSorted(vn.value ? () => 0 : (e, t) => Jn.value ? t.value - e.value : e.value - t.value).map((r, s) => ({
401
+ color: ae(e.color) || Bn.value[t] || a[t] || a[t % a.length],
402
+ children: !e.children || !e.children.length ? [] : e.children.toSorted(gn.value ? () => 0 : (e, t) => Kn.value ? t.value - e.value : e.value - t.value).map((r, s) => ({
402
403
  ...r,
403
404
  value: c(Math.abs(r.value)),
404
405
  absoluteIndex: t,
@@ -410,14 +411,14 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
410
411
  parentSign: o,
411
412
  id: `vertical_child_${t}_${s}_${D.value}`,
412
413
  childIndex: s,
413
- color: ae(r.color) || ae(e.color) || Hn.value[t] || a[t] || a[t % a.length]
414
+ color: ae(r.color) || ae(e.color) || Bn.value[t] || a[t] || a[t % a.length]
414
415
  })).map((t, n) => ({
415
416
  ...t,
416
417
  isFirstChild: n === 0,
417
418
  isLastChild: n === e.children.length - 1
418
419
  }))
419
420
  };
420
- }).toSorted(vn.value ? () => 0 : (e, t) => Jn.value ? t.value - e.value : e.value - t.value))), V = u(() => B.value.filter((e) => !k.value.includes(e.id))), H = u(() => V.value.flatMap((e) => e.hasChildren ? e.children : e)), Yn = u(() => B.value.flatMap((e) => e.hasChildren ? e.children : e)), Xn = u(() => V.value.flatMap((e) => e.children && e.children.length > 0 ? e.children.length : 1).reduce((e, t) => e + t, 0)), Zn = u(() => ({
421
+ }).toSorted(gn.value ? () => 0 : (e, t) => Kn.value ? t.value - e.value : e.value - t.value))), V = u(() => B.value.filter((e) => !k.value.includes(e.id))), H = u(() => V.value.flatMap((e) => e.hasChildren ? e.children : e)), qn = u(() => B.value.flatMap((e) => e.hasChildren ? e.children : e)), Jn = u(() => V.value.flatMap((e) => e.children && e.children.length > 0 ? e.children.length : 1).reduce((e, t) => e + t, 0)), Yn = u(() => ({
421
422
  cy: "vertical-bar-div-legend",
422
423
  backgroundColor: M.value.style.chart.legend.backgroundColor,
423
424
  color: M.value.style.chart.legend.color,
@@ -431,7 +432,7 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
431
432
  }), e;
432
433
  }), G = u(() => {
433
434
  let e = Math.max(0, ...W.value) * U.value;
434
- return (F.value - 24 - (Xn.value - 1) * I.value - e) / Xn.value;
435
+ return (F.value - 24 - (Jn.value - 1) * I.value - e) / Jn.value;
435
436
  }), K = u(() => ({
436
437
  width: P.value,
437
438
  height: F.value,
@@ -441,38 +442,38 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
441
442
  right: 64 + M.value.style.chart.layout.bars.paddingRight,
442
443
  bottom: 12
443
444
  }
444
- })), Qn = b(0);
445
- function $n() {
446
- Be(() => {
447
- if (!gn.value) {
448
- Qn.value = 0;
445
+ })), Xn = b(0);
446
+ function Zn() {
447
+ Ve(() => {
448
+ if (!mn.value) {
449
+ Xn.value = 0;
449
450
  return;
450
451
  }
451
- Qn.value = Array.from(gn.value.querySelectorAll("text")).reduce((e, t) => {
452
+ Xn.value = Array.from(mn.value.querySelectorAll("text")).reduce((e, t) => {
452
453
  let n = t.getBBox?.().width ?? t.getComputedTextLength();
453
454
  return n > e ? n : e;
454
455
  }, 0) + 12;
455
456
  });
456
457
  }
457
- qe(() => [
458
+ Je(() => [
458
459
  H.value,
459
460
  P.value,
460
461
  F.value,
461
462
  M.value.style.chart.layout.bars.nameLabels,
462
463
  M.value.style.chart.layout.bars.offsetX
463
- ], () => $n(), { deep: !0 }), He(() => {
464
- $n();
464
+ ], () => Zn(), { deep: !0 }), Ue(() => {
465
+ Zn();
465
466
  });
466
- function er() {
467
- Be(() => {
468
- yn.value = 0, bn.value = 0, requestAnimationFrame(() => {
469
- if (!xn.value) {
470
- yn.value = 0, bn.value = 0;
467
+ function Qn() {
468
+ Ve(() => {
469
+ _n.value = 0, vn.value = 0, requestAnimationFrame(() => {
470
+ if (!yn.value) {
471
+ _n.value = 0, vn.value = 0;
471
472
  return;
472
473
  }
473
- let e = Array.from(xn.value.querySelectorAll("text"));
474
+ let e = Array.from(yn.value.querySelectorAll("text"));
474
475
  if (!e.length) {
475
- yn.value = 0, bn.value = 0;
476
+ _n.value = 0, vn.value = 0;
476
477
  return;
477
478
  }
478
479
  let t = Infinity, n = 0;
@@ -481,17 +482,17 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
481
482
  i < t && (t = i), a > n && (n = a);
482
483
  });
483
484
  let r = P.value, i = Math.max(0, 0 - t + 24), a = Math.max(0, n - r + 24);
484
- bn.value = i, yn.value = a;
485
+ vn.value = i, _n.value = a;
485
486
  });
486
487
  });
487
488
  }
488
- qe(k, () => er(), { deep: !0 }), qe(() => [
489
+ Je(k, () => Qn(), { deep: !0 }), Je(() => [
489
490
  H.value,
490
491
  P.value,
491
492
  F.value
492
- ], () => er(), { deep: !0 }), He(() => er());
493
+ ], () => Qn(), { deep: !0 }), Ue(() => Qn());
493
494
  let q = u(() => {
494
- let e = Qn.value + Math.abs(M.value.style.chart.layout.bars.nameLabels.offsetX) + bn.value + M.value.style.chart.layout.bars.offsetX, t = K.value.width - K.value.padding.right, n = Math.max(0, t - e - yn.value - bn.value - M.value.style.chart.layout.bars.offsetX);
495
+ let e = Xn.value + Math.abs(M.value.style.chart.layout.bars.nameLabels.offsetX) + vn.value + M.value.style.chart.layout.bars.offsetX, t = K.value.width - K.value.padding.right, n = Math.max(0, t - e - _n.value - vn.value - M.value.style.chart.layout.bars.offsetX);
495
496
  return {
496
497
  top: K.value.padding.top,
497
498
  bottom: K.value.padding.top + K.value.height,
@@ -501,10 +502,10 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
501
502
  fullHeight: K.value.padding.top + K.value.padding.bottom + K.value.height
502
503
  };
503
504
  });
504
- function tr() {
505
+ function $n() {
505
506
  k.value.length ? k.value = [] : B.value.forEach((e) => {
506
507
  k.value.push(e.id);
507
- }), er(), En("selectLegend", V.value);
508
+ }), Qn(), wn("selectLegend", V.value);
508
509
  }
509
510
  async function J(e) {
510
511
  if (k.value.includes(e)) k.value = k.value.filter((t) => t !== e);
@@ -512,36 +513,36 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
512
513
  if (k.value.length === B.value.length - 1) return;
513
514
  k.value.push(e);
514
515
  }
515
- En("selectLegend", V.value), er();
516
+ wn("selectLegend", V.value), Qn();
516
517
  }
517
- function nr(e) {
518
+ function er(e) {
518
519
  return B.value.length ? B.value.find((t) => t.name === e) || (M.value.debug && console.warn(`VueUiHorizontalBar - Series name not found "${e}"`), null) : (M.value.debug && console.warn("VueUiHorizontalBar - There are no series to show."), null);
519
520
  }
520
- function rr(e) {
521
- let t = nr(e);
521
+ function tr(e) {
522
+ let t = er(e);
522
523
  t !== null && k.value.includes(t.id) && J(t.id);
523
524
  }
524
- function ir(e) {
525
- let t = nr(e);
525
+ function nr(e) {
526
+ let t = er(e);
526
527
  t !== null && (k.value.includes(t.id) || J(t.id));
527
528
  }
528
529
  let Y = u(() => V.value.map((e) => Math.abs(e.value)).reduce((e, t) => e + t, 0));
529
- function ar(e, t = !1, n = 0) {
530
+ function rr(e, t = !1, n = 0) {
530
531
  return t ? r({
531
532
  v: c(Math.abs(e) / Y.value * 100),
532
533
  s: "%",
533
534
  r: n
534
535
  }) : Math.abs(e) / Y.value;
535
536
  }
536
- let X = u(() => H.value.map((e) => e.sign).includes(-1)), or = u(() => Math.max(...V.value.flatMap((e) => e.children && e.children.length ? Math.max(...e.children.map((e) => e.value)) : e.value)));
537
+ let X = u(() => H.value.map((e) => e.sign).includes(-1)), ir = u(() => Math.max(...V.value.flatMap((e) => e.children && e.children.length ? Math.max(...e.children.map((e) => e.value)) : e.value)));
537
538
  function Z(e) {
538
- let t = e / or.value;
539
+ let t = e / ir.value;
539
540
  return c(q.value.width / (X.value ? 2 : 1) * t);
540
541
  }
541
- function sr(e) {
542
+ function ar(e) {
542
543
  return Z(e) + q.value.left;
543
544
  }
544
- function cr(e, t) {
545
+ function or(e, t) {
545
546
  let n = V.value.find((t) => t.id === e.parentId);
546
547
  return {
547
548
  y: q.value.top + (I.value + G.value) * t + W.value[t] * U.value - U.value + M.value.style.chart.layout.bars.parentLabels.fontSize,
@@ -551,56 +552,56 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
551
552
  NaN,
552
553
  null
553
554
  ].includes(n.value) ? "" : n.sign === 1 ? n.value : -n.value,
554
- percentageToTotal: isNaN(n.value / Y.value) ? "" : ar(n.value, !0, M.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
555
+ percentageToTotal: isNaN(n.value / Y.value) ? "" : rr(n.value, !0, M.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
555
556
  sign: n.sign
556
557
  };
557
558
  }
558
- function lr() {
559
+ function sr() {
559
560
  return V.value;
560
561
  }
561
- function ur(e, t) {
562
- return cr(e, t).name;
562
+ function cr(e, t) {
563
+ return or(e, t).name;
563
564
  }
564
- function dr(e, t) {
565
- let n = cr(e, t);
566
- return vr(n.value, n, t, e.parentSign || e.sign);
565
+ function lr(e, t) {
566
+ let n = or(e, t);
567
+ return gr(n.value, n, t, e.parentSign || e.sign);
567
568
  }
568
- let fr = b(null), pr = b(null);
569
- function mr({ datapoint: e, seriesIndex: t }) {
570
- En("selectDatapoint", e), M.value.events.datapointClick && M.value.events.datapointClick({
569
+ let ur = b(null), dr = b(null);
570
+ function fr({ datapoint: e, seriesIndex: t }) {
571
+ wn("selectDatapoint", e), M.value.events.datapointClick && M.value.events.datapointClick({
571
572
  datapoint: e,
572
573
  seriesIndex: t
573
574
  });
574
575
  }
575
- function hr({ datapoint: e, seriesIndex: t }) {
576
+ function pr({ datapoint: e, seriesIndex: t }) {
576
577
  M.value.events.datapointLeave && M.value.events.datapointLeave({
577
578
  datapoint: e,
578
579
  seriesIndex: t
579
- }), rn.value = null, tn.value = !1, fr.value = null, j.value === t && (j.value = null);
580
+ }), tn.value = null, $t.value = !1, ur.value = null, j.value === t && (j.value = null);
580
581
  }
581
- function gr(e, t, n = "pointer") {
582
- Tn.value = n, M.value.events.datapointEnter && M.value.events.datapointEnter({
582
+ function mr(e, t, n = "pointer") {
583
+ Cn.value = n, M.value.events.datapointEnter && M.value.events.datapointEnter({
583
584
  datpoint: e,
584
585
  seriesIndex: t
585
- }), j.value = t, rn.value = e, pr.value = {
586
+ }), j.value = t, tn.value = e, dr.value = {
586
587
  datapoint: e,
587
588
  seriesIndex: t,
588
589
  series: B.value,
589
590
  config: M.value
590
- }, tn.value = !0, fr.value = e.id;
591
+ }, $t.value = !0, ur.value = e.id;
591
592
  let i = "", a = e.isChild ? e.parentName : e.name, o = e.isChild ? e.name : "", s = M.value.style.chart.tooltip.customFormat;
592
593
  fe(s) && le(() => s({
593
594
  datapoint: e,
594
595
  series: B.value,
595
596
  config: M.value,
596
597
  seriesIndex: t
597
- })) ? nn.value = s({
598
+ })) ? en.value = s({
598
599
  datapoint: e,
599
600
  series: B.value,
600
601
  config: M.value,
601
602
  seriesIndex: t
602
603
  }) : (i += `<div style="width:100%;text-align:center;border-bottom:1px solid ${M.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;text-align:left;">
603
- <div style="display:flex;align-items:center;gap:4px;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="${e.color}"/>${$t.pattern ? `<rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="url(#pattern_${D.value}_${e.absoluteIndex})"/>` : ""}</svg> ${a}</div>
604
+ <div style="display:flex;align-items:center;gap:4px;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="${e.color}"/>${Zt.pattern ? `<rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="url(#pattern_${D.value}_${e.absoluteIndex})"/>` : ""}</svg> ${a}</div>
604
605
  ${o ? `<div>${o}</div>` : ""}
605
606
  </div>`, M.value.style.chart.tooltip.showValue && (i += `<div>${M.value.translations.value}: <b>${se(M.value.style.chart.layout.bars.dataLabels.value.formatter, e.sign === 1 ? e.value : -e.value, r({
606
607
  p: M.value.style.chart.tooltip.prefix,
@@ -618,9 +619,9 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
618
619
  v: Math.abs(e.value) / Math.abs(e.parentValue) * 100,
619
620
  s: "%",
620
621
  r: M.value.style.chart.tooltip.roundingPercentage
621
- })}</b></div>`)), nn.value = `<div style="text-align:left">${i}</div>`);
622
+ })}</b></div>`)), en.value = `<div style="text-align:left">${i}</div>`);
622
623
  }
623
- function _r({ legend: e, index: t }) {
624
+ function hr({ legend: e, index: t }) {
624
625
  let n = M.value.style.chart.legend;
625
626
  return n.showValue ? `${e.name}: ${se(M.value.style.chart.layout.bars.dataLabels.value.formatter, e.value, r({
626
627
  p: n.prefix,
@@ -632,7 +633,7 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
632
633
  seriesIndex: t
633
634
  })}` : e.name;
634
635
  }
635
- function vr(e, t, n, i) {
636
+ function gr(e, t, n, i) {
636
637
  if (!M.value.style.chart.layout.bars.dataLabels.value.show) return "";
637
638
  let a = se(M.value.style.chart.layout.bars.dataLabels.value.formatter, c(i === -1 && e >= 0 ? -e : e), r({
638
639
  p: M.value.style.chart.layout.bars.dataLabels.value.prefix,
@@ -642,7 +643,7 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
642
643
  }), {
643
644
  datapoint: t,
644
645
  seriesIndex: n
645
- }), o = `(${ar(e, !0, M.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
646
+ }), o = `(${rr(e, !0, M.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
646
647
  return `${a}${M.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${o}` : ""}`;
647
648
  }
648
649
  let Q = u(() => ({
@@ -684,7 +685,7 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
684
685
  childPercentageToTotal: ""
685
686
  })
686
687
  }));
687
- function yr(e = null) {
688
+ function _r(e = null) {
688
689
  let t = [
689
690
  [M.value.style.chart.title.text],
690
691
  [M.value.style.chart.title.subtitle.text],
@@ -704,13 +705,13 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
704
705
  });
705
706
  }
706
707
  let $ = b(!1);
707
- function br(e) {
708
- $.value = e, an.value += 1;
708
+ function vr(e) {
709
+ $.value = e, nn.value += 1;
709
710
  }
710
- function xr() {
711
+ function yr() {
711
712
  z.value.showTable = !z.value.showTable;
712
713
  }
713
- He(() => {
714
+ Ue(() => {
714
715
  [
715
716
  "none",
716
717
  "asc",
@@ -720,22 +721,22 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
720
721
  type: "attributeWrongValue",
721
722
  property: "style.chart.layout.bars.sort",
722
723
  key: M.value.style.chart.layout.bars.sort
723
- }), A.value = _n.value[M.value.style.chart.layout.bars.sort], z.value.sortDesc = A.value === 2, vn.value = A.value === 0;
724
+ }), A.value = hn.value[M.value.style.chart.layout.bars.sort], z.value.sortDesc = A.value === 2, gn.value = A.value === 0;
724
725
  });
725
- function Sr() {
726
+ function br() {
726
727
  A.value += 1, A.value > 2 && (A.value = 0);
727
728
  }
728
- function Cr() {
729
- Sr(), z.value.sortDesc = A.value === 2, vn.value = A.value === 0;
729
+ function xr() {
730
+ br(), z.value.sortDesc = A.value === 2, gn.value = A.value === 0;
730
731
  }
731
- function wr() {
732
+ function Sr() {
732
733
  z.value.showTooltip = !z.value.showTooltip;
733
734
  }
734
- let Tr = b(!1);
735
- function Er() {
736
- Tr.value = !Tr.value;
735
+ let Cr = b(!1);
736
+ function wr() {
737
+ Cr.value = !Cr.value;
737
738
  }
738
- async function Dr({ scale: e = 2 } = {}) {
739
+ async function Tr({ scale: e = 2 } = {}) {
739
740
  if (!O.value) return;
740
741
  let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await xe({
741
742
  domElement: O.value,
@@ -752,10 +753,10 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
752
753
  aspectRatio: r
753
754
  };
754
755
  }
755
- let Or = u(() => {
756
+ let Er = u(() => {
756
757
  let e = M.value.table.useDialog && !M.value.table.show, t = z.value.showTable;
757
758
  return {
758
- component: e ? Yt : De,
759
+ component: e ? qt : Oe,
759
760
  title: `${M.value.style.chart.title.text}${M.value.style.chart.title.subtitle.text ? `: ${M.value.style.chart.title.subtitle.text}` : ""}`,
760
761
  props: e ? {
761
762
  backgroundColor: M.value.table.th.backgroundColor,
@@ -783,14 +784,14 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
783
784
  }
784
785
  };
785
786
  });
786
- qe(() => z.value.showTable, (e) => {
787
- M.value.table.show || (e && M.value.table.useDialog && pn.value ? pn.value.open() : "close" in pn.value && pn.value.close());
787
+ Je(() => z.value.showTable, (e) => {
788
+ M.value.table.show || (e && M.value.table.useDialog && dn.value ? dn.value.open() : "close" in dn.value && dn.value.close());
788
789
  });
789
- let { isResponsive: kr } = Me(Un, Wn);
790
- function Ar() {
791
- z.value.showTable = !1, mn.value && mn.value.setTableIconState(!1);
790
+ let { isResponsive: Dr } = Ne(Vn, Hn);
791
+ function Or() {
792
+ z.value.showTable = !1, fn.value && fn.value.setTableIconState(!1);
792
793
  }
793
- let jr = u(() => B.value.map((e, t) => ({
794
+ let kr = u(() => B.value.map((e, t) => ({
794
795
  ...e,
795
796
  shape: "square",
796
797
  display: `${e.name}: ${se(M.value.style.chart.layout.bars.dataLabels.value.formatter, e.value, r({
@@ -802,48 +803,48 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
802
803
  datapoint: e,
803
804
  seriesIndex: t
804
805
  })}`
805
- }))), Mr = u(() => M.value.style.chart.backgroundColor), Nr = u(() => M.value.style.chart.legend), { exportSvg: Pr, getSvg: Fr } = ve({
806
- svg: Fn,
806
+ }))), Ar = u(() => M.value.style.chart.backgroundColor), jr = u(() => M.value.style.chart.legend), { exportSvg: Mr, getSvg: Nr } = ve({
807
+ svg: Nn,
807
808
  title: u(() => M.value.style.chart.title),
808
- legend: Nr,
809
- legendItems: u(() => jr.value.map((e) => ({
809
+ legend: jr,
810
+ legendItems: u(() => kr.value.map((e) => ({
810
811
  ...e,
811
812
  name: e.display
812
813
  }))),
813
- backgroundColor: Mr
814
+ backgroundColor: Ar
814
815
  });
815
- async function Ir({ isCb: e }) {
816
- Cn.value = !0, await Be();
816
+ async function Pr({ isCb: e }) {
817
+ xn.value = !0, await Ve();
817
818
  try {
818
819
  if (e) {
819
- let { blob: e, url: t, text: n, dataUrl: r } = await Fr();
820
+ let { blob: e, url: t, text: n, dataUrl: r } = await Nr();
820
821
  await Promise.resolve(M.value.userOptions.callbacks.svg({
821
822
  blob: e,
822
823
  url: t,
823
824
  text: n,
824
825
  dataUrl: r
825
826
  }));
826
- } else await Promise.resolve(Pr());
827
+ } else await Promise.resolve(Mr());
827
828
  } finally {
828
- Cn.value = !1;
829
+ xn.value = !1;
829
830
  }
830
831
  }
831
- function Lr(e) {
832
+ function Fr(e) {
832
833
  if (e?.stage === "start") {
833
- Sn.value = !0;
834
+ bn.value = !0;
834
835
  return;
835
836
  }
836
837
  if (e?.stage === "end") {
837
- Sn.value = !1;
838
+ bn.value = !1;
838
839
  return;
839
840
  }
840
- Bn();
841
+ Rn();
841
842
  }
842
- function Rr() {
843
+ function Ir() {
843
844
  console.warn("[autoSize]: this legacy method can be safely removed as it has no impact.");
844
845
  }
845
- async function zr() {
846
- if (En("copyAlt", {
846
+ async function Lr() {
847
+ if (wn("copyAlt", {
847
848
  config: M.value,
848
849
  dataset: V.value
849
850
  }), !M.value.userOptions.callbacks.altCopy) {
@@ -855,54 +856,54 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
855
856
  dataset: V.value
856
857
  }));
857
858
  }
858
- let Br = b(!1);
859
- function Vr() {
860
- j.value = null, Br.value = !0;
859
+ let Rr = b(!1);
860
+ function zr() {
861
+ j.value = null, Rr.value = !0;
861
862
  }
862
- function Hr() {
863
- j.value = null, tn.value = !1, Br.value = !1;
863
+ function Br() {
864
+ j.value = null, $t.value = !1, Rr.value = !1;
864
865
  }
865
- function Ur() {
866
+ function Vr() {
866
867
  if (j.value === null) return;
867
868
  let e = H.value[j.value];
868
- e && hr({
869
+ e && pr({
869
870
  datapoint: e,
870
871
  seriesIndex: j.value
871
- }), j.value = null, Tn.value = "pointer";
872
+ }), j.value = null, Cn.value = "pointer";
872
873
  }
873
- function Wr(e) {
874
- if (!Fn.value || Tr.value || document.activeElement !== Fn.value) return;
874
+ function Hr(e) {
875
+ if (!Nn.value || Cr.value || document.activeElement !== Nn.value) return;
875
876
  let t = e.key === "ArrowRight" || e.key === "ArrowDown", n = e.key === "ArrowLeft" || e.key === "ArrowUp", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
876
877
  if (!t && !n && !r && !i) return;
877
878
  let a = H.value.length;
878
879
  if (!a) return;
879
880
  if (e.preventDefault(), e.stopPropagation(), i) {
880
- Ur();
881
+ Vr();
881
882
  return;
882
883
  }
883
884
  if (r) {
884
885
  if (j.value === null) return;
885
886
  let e = H.value[j.value];
886
887
  if (!e) return;
887
- mr({
888
+ fr({
888
889
  datapoint: e,
889
890
  seriesIndex: j.value
890
891
  });
891
892
  return;
892
893
  }
893
- let o = j.value, s = rn.value ? H.value.findIndex((e) => e.id === rn.value.id) : null;
894
+ let o = j.value, s = tn.value ? H.value.findIndex((e) => e.id === tn.value.id) : null;
894
895
  o !== null && o >= 0 && o < a ? t ? (o += 1, o >= a && (o = 0)) : n && (--o, o < 0 && (o = a - 1)) : s !== null && s >= 0 && s < a ? (o = t ? s + 1 : s - 1, o >= a && (o = 0), o < 0 && (o = a - 1)) : o = t ? 0 : a - 1;
895
896
  let ee = H.value[o];
896
- ee && (j.value = o, Gr(ee), gr(ee, o, "keyboard"));
897
+ ee && (j.value = o, Ur(ee), mr(ee, o, "keyboard"));
897
898
  }
898
- function Gr(e) {
899
+ function Ur(e) {
899
900
  if (!e) return;
900
901
  let t = q.value.right, n = q.value.top + (I.value + G.value) * e.absoluteIndex + W.value[e.absoluteIndex] * U.value;
901
902
  if (!Number.isFinite(t) || !Number.isFinite(n)) return;
902
- let r = ne(t, n, Fn.value);
903
- r && (wn.value = r);
903
+ let r = ne(t, n, Nn.value);
904
+ r && (Sn.value = r);
904
905
  }
905
- let Kr = u(() => ({
906
+ let Wr = u(() => ({
906
907
  head: Q.value.head,
907
908
  body: Q.value.body.map((e) => [
908
909
  e.parentName,
@@ -939,41 +940,41 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
939
940
  notice: M.value.a11y.translations.tableAvailable
940
941
  }));
941
942
  return we({
942
- autoSize: Rr,
943
- getData: lr,
944
- getImage: Dr,
945
- generatePdf: zn,
946
- generateCsv: yr,
947
- generateImage: Bn,
948
- generateSvg: Ir,
949
- hideSeries: ir,
950
- showSeries: rr,
951
- toggleTable: xr,
952
- toggleSort: Cr,
953
- toggleTooltip: wr,
954
- toggleAnnotator: Er,
955
- toggleFullscreen: br,
956
- copyAlt: zr
943
+ autoSize: Ir,
944
+ getData: sr,
945
+ getImage: Tr,
946
+ generatePdf: Ln,
947
+ generateCsv: _r,
948
+ generateImage: Rn,
949
+ generateSvg: Pr,
950
+ hideSeries: nr,
951
+ showSeries: tr,
952
+ toggleTable: yr,
953
+ toggleSort: xr,
954
+ toggleTooltip: Sr,
955
+ toggleAnnotator: wr,
956
+ toggleFullscreen: vr,
957
+ copyAlt: Lr
957
958
  }), (e, t) => (y(), p("div", {
958
959
  class: g(`vue-data-ui-component vue-ui-vertical-bar ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${M.value.useCssAnimation ? "" : "vue-ui-dna"} ${M.value.responsive ? "vue-ui-vertical-bar-autosize" : ""}`),
959
960
  ref_key: "verticalBarChart",
960
961
  ref: O,
961
962
  id: `vue-ui-vertical-bar_${D.value}`,
962
963
  style: v(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${M.value.style.chart.backgroundColor};height:100%`),
963
- onMouseenter: t[3] ||= () => w(Nn)(!0),
964
- onMouseleave: t[4] ||= () => w(Nn)(!1)
964
+ onMouseenter: t[3] ||= () => w(jn)(!0),
965
+ onMouseleave: t[4] ||= () => w(jn)(!1)
965
966
  }, [
966
967
  m("p", {
967
968
  id: `chart-instructions-${D.value}`,
968
969
  class: "sr-only"
969
- }, C(M.value.a11y.translations.keyboardNavigation), 9, Ze),
970
- Kr.value.body.length ? (y(), d(ke, {
970
+ }, C(M.value.a11y.translations.keyboardNavigation), 9, Qe),
971
+ Wr.value.body.length ? (y(), d(Ae, {
971
972
  key: 0,
972
973
  uid: D.value,
973
- head: Kr.value.head,
974
- body: Kr.value.body,
975
- caption: Kr.value.caption,
976
- notice: Kr.value.notice
974
+ head: Wr.value.head,
975
+ body: Wr.value.body,
976
+ caption: Wr.value.caption,
977
+ notice: Wr.value.notice
977
978
  }, null, 8, [
978
979
  "uid",
979
980
  "head",
@@ -981,14 +982,14 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
981
982
  "caption",
982
983
  "notice"
983
984
  ])) : f("", !0),
984
- M.value.userOptions.buttons.annotator ? (y(), d(w(Kt), {
985
+ M.value.userOptions.buttons.annotator ? (y(), d(w(Wt), {
985
986
  key: 1,
986
- svgRef: w(Fn),
987
+ svgRef: w(Nn),
987
988
  backgroundColor: M.value.style.chart.backgroundColor,
988
989
  color: M.value.style.chart.color,
989
- active: Tr.value,
990
+ active: Cr.value,
990
991
  isCursorPointer: N.value,
991
- onClose: Er
992
+ onClose: wr
992
993
  }, {
993
994
  "annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
994
995
  "annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
@@ -1004,20 +1005,20 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
1004
1005
  "active",
1005
1006
  "isCursorPointer"
1006
1007
  ])) : f("", !0),
1007
- Vn.value ? (y(), p("div", {
1008
+ zn.value ? (y(), p("div", {
1008
1009
  key: 2,
1009
1010
  ref_key: "noTitle",
1010
- ref: ln,
1011
+ ref: sn,
1011
1012
  class: "vue-data-ui-no-title-space",
1012
1013
  style: "height:36px; width: 100%;background:transparent"
1013
1014
  }, null, 512)) : f("", !0),
1014
1015
  M.value.style.chart.title.text ? (y(), p("div", {
1015
1016
  key: 3,
1016
1017
  ref_key: "chartTitle",
1017
- ref: on,
1018
+ ref: rn,
1018
1019
  style: "width:100%;background:transparent;padding-bottom:12px"
1019
1020
  }, [(y(), d(Se, {
1020
- key: `title_${un.value}`,
1021
+ key: `title_${cn.value}`,
1021
1022
  config: {
1022
1023
  title: {
1023
1024
  cy: "vertical-bar-div-title",
@@ -1029,14 +1030,14 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
1029
1030
  }
1030
1031
  }
1031
1032
  }, null, 8, ["config"]))], 512)) : f("", !0),
1032
- M.value.userOptions.show && en.value && (w(Pn) || w(Mn)) ? (y(), d(w(qt), {
1033
+ M.value.userOptions.show && Qt.value && (w(Mn) || w(An)) ? (y(), d(w(Gt), {
1033
1034
  ref_key: "userOptionsRef",
1034
- ref: mn,
1035
+ ref: fn,
1035
1036
  backgroundColor: M.value.style.chart.backgroundColor,
1036
1037
  color: M.value.style.chart.color,
1037
- key: `user_options_${an.value}`,
1038
- isImaging: w(Rn),
1039
- isPrinting: w(Ln),
1038
+ key: `user_options_${nn.value}`,
1039
+ isImaging: w(In),
1040
+ isPrinting: w(Fn),
1040
1041
  uid: D.value,
1041
1042
  hasTooltip: M.value.userOptions.buttons.tooltip && M.value.style.chart.tooltip.show,
1042
1043
  hasPdf: M.value.userOptions.buttons.pdf,
@@ -1053,23 +1054,23 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
1053
1054
  chartElement: O.value,
1054
1055
  position: M.value.userOptions.position,
1055
1056
  hasAnnotator: M.value.userOptions.buttons.annotator,
1056
- isAnnotation: Tr.value,
1057
+ isAnnotation: Cr.value,
1057
1058
  callbacks: M.value.userOptions.callbacks,
1058
1059
  printScale: M.value.userOptions.print.scale,
1059
1060
  tableDialog: M.value.table.useDialog,
1060
1061
  isCursorPointer: N.value,
1061
- onToggleFullscreen: br,
1062
- onGeneratePdf: w(zn),
1063
- onGenerateCsv: yr,
1064
- onGenerateImage: Lr,
1065
- onGenerateSvg: Ir,
1066
- onToggleTable: xr,
1067
- onToggleSort: Cr,
1068
- onToggleTooltip: wr,
1069
- onToggleAnnotator: Er,
1070
- onCopyAlt: zr,
1071
- style: v({ visibility: w(Pn) ? w(Mn) ? "visible" : "hidden" : "visible" })
1072
- }, Fe({ _: 2 }, [
1062
+ onToggleFullscreen: vr,
1063
+ onGeneratePdf: w(Ln),
1064
+ onGenerateCsv: _r,
1065
+ onGenerateImage: Fr,
1066
+ onGenerateSvg: Pr,
1067
+ onToggleTable: yr,
1068
+ onToggleSort: xr,
1069
+ onToggleTooltip: Sr,
1070
+ onToggleAnnotator: wr,
1071
+ onCopyAlt: Lr,
1072
+ style: v({ visibility: w(Mn) ? w(An) ? "visible" : "hidden" : "visible" })
1073
+ }, Ie({ _: 2 }, [
1073
1074
  e.$slots.menuIcon ? {
1074
1075
  name: "menuIcon",
1075
1076
  fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", _(h({
@@ -1153,27 +1154,27 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
1153
1154
  M.value.style.chart.legend.show && M.value.style.chart.legend.position === "top" ? (y(), p("div", {
1154
1155
  key: 5,
1155
1156
  ref_key: "chartLegend",
1156
- ref: sn
1157
- }, [(y(), d(Ne, {
1158
- key: `legend_top_${dn.value}`,
1157
+ ref: an
1158
+ }, [(y(), d(Pe, {
1159
+ key: `legend_top_${ln.value}`,
1159
1160
  legendSet: B.value,
1160
- config: Zn.value,
1161
+ config: Yn.value,
1161
1162
  onClickMarker: t[0] ||= ({ legend: e }) => J(e.id)
1162
- }, Fe({
1163
+ }, Ie({
1163
1164
  item: T(({ legend: e, index: t }) => [m("div", {
1164
1165
  onClick: (t) => J(e.id),
1165
1166
  style: v(`opacity:${k.value.includes(e.id) ? .5 : 1}`)
1166
- }, C(_r({
1167
+ }, C(hr({
1167
1168
  legend: e,
1168
1169
  index: t
1169
- })), 13, Qe)]),
1170
- legendToggle: T(() => [B.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !w(kn) ? (y(), d(Oe, {
1170
+ })), 13, $e)]),
1171
+ legendToggle: T(() => [B.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !w(Dn) ? (y(), d(ke, {
1171
1172
  key: 0,
1172
1173
  backgroundColor: M.value.style.chart.legend.selectAllToggle.backgroundColor,
1173
1174
  color: M.value.style.chart.legend.selectAllToggle.color,
1174
1175
  fontSize: M.value.style.chart.legend.fontSize,
1175
1176
  checked: k.value.length > 0,
1176
- onToggle: tr
1177
+ onToggle: $n
1177
1178
  }, null, 8, [
1178
1179
  "backgroundColor",
1179
1180
  "color",
@@ -1183,7 +1184,7 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
1183
1184
  _: 2
1184
1185
  }, [e.$slots.pattern ? {
1185
1186
  name: "legend-pattern",
1186
- fn: T(({ legend: e, index: t }) => [Le(Ce, {
1187
+ fn: T(({ legend: e, index: t }) => [Re(Ce, {
1187
1188
  shape: e.shape,
1188
1189
  radius: 30,
1189
1190
  stroke: "none",
@@ -1195,9 +1196,9 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
1195
1196
  }, null, 8, ["shape", "fill"])]),
1196
1197
  key: "0"
1197
1198
  } : void 0]), 1032, ["legendSet", "config"]))], 512)) : f("", !0),
1198
- m("div", $e, [(y(), p("svg", {
1199
+ m("div", et, [(y(), p("svg", {
1199
1200
  ref_key: "svgRef",
1200
- ref: Fn,
1201
+ ref: Nn,
1201
1202
  xmlns: w(ue),
1202
1203
  class: g({
1203
1204
  "vue-data-ui-fullscreen--on": $.value,
@@ -1207,15 +1208,15 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
1207
1208
  style: v(`max-width:100%;overflow:visible;background:transparent;color:${M.value.style.chart.color}`),
1208
1209
  tabindex: "0",
1209
1210
  "aria-describedby": `chart-instructions-${D.value}`,
1210
- onFocus: Vr,
1211
- onBlur: Hr,
1212
- onKeydown: Wr
1211
+ onFocus: zr,
1212
+ onBlur: Br,
1213
+ onKeydown: Hr
1213
1214
  }, [m("g", {
1214
1215
  ref_key: "G",
1215
- ref: fn,
1216
+ ref: un,
1216
1217
  class: "vue-data-ui-g"
1217
1218
  }, [
1218
- Le(w(Jt)),
1219
+ Re(w(Kt)),
1219
1220
  e.$slots["chart-background"] ? (y(), p("foreignObject", {
1220
1221
  key: 0,
1221
1222
  x: 0,
@@ -1223,21 +1224,26 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
1223
1224
  width: P.value,
1224
1225
  height: F.value,
1225
1226
  style: { pointerEvents: "none" }
1226
- }, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, tt)) : f("", !0),
1227
- (y(!0), p(l, null, x(H.value, (e, t) => (y(), p("linearGradient", {
1227
+ }, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, nt)) : f("", !0),
1228
+ m("defs", null, [(y(!0), p(l, null, x(H.value, (e, t) => (y(), d(De, {
1229
+ t: "linear",
1228
1230
  x1: "0%",
1229
1231
  y1: "0%",
1230
1232
  x2: "100%",
1231
1233
  y2: "0%",
1232
- id: `vertical_bar_gradient_${D.value}_${t}`
1233
- }, [m("stop", {
1234
- offset: "0%",
1235
- "stop-color": e.color
1236
- }, null, 8, rt), m("stop", {
1237
- offset: "100%",
1238
- "stop-color": w(o)(w(pe)(e.color, .03), 100 - M.value.style.chart.layout.bars.gradientIntensity)
1239
- }, null, 8, it)], 8, nt))), 256)),
1240
- e.$slots.pattern ? (y(), p("g", at, [(y(!0), p(l, null, x(H.value, (t) => (y(), p("defs", null, [S(e.$slots, "pattern", ze({ ref_for: !0 }, {
1234
+ id: `vertical_bar_gradient_${D.value}_${t}`,
1235
+ key: `vertical_bar_gradient_${D.value}_${t}`,
1236
+ stops: [[
1237
+ "0%",
1238
+ e.color,
1239
+ 1
1240
+ ], [
1241
+ "100%",
1242
+ w(o)(w(pe)(e.color, .03), 100 - M.value.style.chart.layout.bars.gradientIntensity),
1243
+ 1
1244
+ ]]
1245
+ }, null, 8, ["id", "stops"]))), 128))]),
1246
+ e.$slots.pattern ? (y(), p("g", rt, [(y(!0), p(l, null, x(H.value, (t) => (y(), p("defs", null, [S(e.$slots, "pattern", Be({ ref_for: !0 }, {
1241
1247
  seriesIndex: t.absoluteIndex,
1242
1248
  patternId: `pattern_${D.value}_${t.absoluteIndex}`
1243
1249
  }), void 0, !0)]))), 256))])) : f("", !0),
@@ -1249,7 +1255,7 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
1249
1255
  fill: M.value.style.chart.layout.bars.rowColor,
1250
1256
  rx: M.value.style.chart.layout.bars.rowRadius,
1251
1257
  style: { pointerEvents: "none" }
1252
- }, null, 8, ot)]))), 256)) : f("", !0),
1258
+ }, null, 8, it)]))), 256)) : f("", !0),
1253
1259
  (y(!0), p(l, null, x(H.value, (e, t) => (y(), p("g", null, [m("rect", {
1254
1260
  x: w(c)(X.value ? q.value.left + q.value.width / 2 - (e.sign === 1 ? 0 : Z(e.value) <= 0 ? 1e-4 : Z(e.value)) : q.value.left),
1255
1261
  y: q.value.top + (I.value + G.value) * t + W.value[t] * U.value,
@@ -1258,7 +1264,7 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
1258
1264
  fill: M.value.style.chart.layout.bars.underlayerColor,
1259
1265
  rx: M.value.style.chart.layout.bars.borderRadius,
1260
1266
  class: g({ animated: M.value.useCssAnimation })
1261
- }, null, 10, st)]))), 256)),
1267
+ }, null, 10, at)]))), 256)),
1262
1268
  (y(!0), p(l, null, x(H.value, (t, n) => (y(), p("g", null, [
1263
1269
  m("rect", {
1264
1270
  x: w(c)(X.value ? q.value.left + q.value.width / 2 - (t.sign === 1 ? 0 : Z(t.value) <= 0 ? 1e-4 : Z(t.value)) : q.value.left),
@@ -1270,7 +1276,7 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
1270
1276
  stroke: M.value.style.chart.layout.bars.useStroke ? t.color : "none",
1271
1277
  "stroke-width": M.value.style.chart.layout.bars.useStroke ? M.value.style.chart.layout.bars.strokeWidth : 0,
1272
1278
  class: g({ animated: M.value.useCssAnimation })
1273
- }, null, 10, ct),
1279
+ }, null, 10, ot),
1274
1280
  e.$slots.pattern ? (y(), p("rect", {
1275
1281
  key: 0,
1276
1282
  x: w(c)(X.value ? q.value.left + q.value.width / 2 - (t.sign === 1 ? 0 : Z(t.value) <= 0 ? 1e-4 : Z(t.value)) : q.value.left),
@@ -1282,7 +1288,7 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
1282
1288
  stroke: M.value.style.chart.layout.bars.useStroke ? t.color : "none",
1283
1289
  "stroke-width": M.value.style.chart.layout.bars.useStroke ? M.value.style.chart.layout.bars.strokeWidth : 0,
1284
1290
  class: g({ animated: M.value.useCssAnimation })
1285
- }, null, 10, lt)) : f("", !0),
1291
+ }, null, 10, st)) : f("", !0),
1286
1292
  (!t.isChild || t.isLastChild) && M.value.style.chart.layout.separators.show && n !== H.value.length - 1 ? (y(), p("line", {
1287
1293
  key: 1,
1288
1294
  x1: P.value,
@@ -1296,7 +1302,7 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
1296
1302
  transition: "none !important",
1297
1303
  animation: "none !important"
1298
1304
  }
1299
- }, null, 8, ut)) : f("", !0),
1305
+ }, null, 8, ct)) : f("", !0),
1300
1306
  X.value && M.value.style.chart.layout.separators.show ? (y(), p("line", {
1301
1307
  key: 2,
1302
1308
  x1: q.value.left + q.value.width / 2,
@@ -1306,17 +1312,17 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
1306
1312
  stroke: M.value.style.chart.layout.separators.color,
1307
1313
  "stroke-width": M.value.style.chart.layout.separators.strokeWidth,
1308
1314
  "stroke-linecap": "round"
1309
- }, null, 8, dt)) : f("", !0)
1315
+ }, null, 8, lt)) : f("", !0)
1310
1316
  ]))), 256)),
1311
1317
  m("g", {
1312
1318
  ref_key: "parentLabels",
1313
- ref: hn
1314
- }, [(y(!0), p(l, null, x(H.value, (e, t) => (y(), p("g", ft, [
1319
+ ref: pn
1320
+ }, [(y(!0), p(l, null, x(H.value, (e, t) => (y(), p("g", ut, [
1315
1321
  e.isChild && e.childIndex === 0 && M.value.style.chart.layout.bars.parentLabels.show ? (y(), p("rect", {
1316
1322
  key: 0,
1317
1323
  class: "vue-ui-horizontal-bar-parent-marker",
1318
1324
  x: 2,
1319
- y: cr(e, t).y - M.value.style.chart.layout.bars.parentLabels.fontSize / 1.5,
1325
+ y: or(e, t).y - M.value.style.chart.layout.bars.parentLabels.fontSize / 1.5,
1320
1326
  height: M.value.style.chart.layout.bars.parentLabels.fontSize / 1.5,
1321
1327
  width: M.value.style.chart.layout.bars.parentLabels.fontSize / 1.5,
1322
1328
  rx: 1,
@@ -1325,38 +1331,38 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
1325
1331
  animation: "none !important",
1326
1332
  transition: "none !important"
1327
1333
  }
1328
- }, null, 8, pt)) : f("", !0),
1334
+ }, null, 8, dt)) : f("", !0),
1329
1335
  e.isChild && e.childIndex === 0 && M.value.style.chart.layout.bars.parentLabels.show ? (y(), p("text", {
1330
1336
  key: 1,
1331
- y: cr(e, t).y,
1337
+ y: or(e, t).y,
1332
1338
  "font-size": M.value.style.chart.layout.bars.parentLabels.fontSize,
1333
1339
  fill: M.value.style.chart.layout.bars.parentLabels.color,
1334
1340
  x: M.value.style.chart.layout.bars.parentLabels.offsetX + M.value.style.chart.layout.bars.parentLabels.fontSize,
1335
1341
  "font-weight": M.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
1336
1342
  "text-anchor": "start",
1337
1343
  innerHTML: w(te)({
1338
- content: `${ur(e, t)}`,
1344
+ content: `${cr(e, t)}`,
1339
1345
  fontSize: M.value.style.chart.layout.bars.parentLabels.fontSize,
1340
1346
  fill: M.value.style.chart.layout.bars.parentLabels.color,
1341
1347
  x: M.value.style.chart.layout.bars.parentLabels.offsetX + M.value.style.chart.layout.bars.parentLabels.fontSize,
1342
- y: cr(e, t).y,
1348
+ y: or(e, t).y,
1343
1349
  translateY: !1
1344
1350
  })
1345
- }, null, 8, mt)) : f("", !0),
1351
+ }, null, 8, ft)) : f("", !0),
1346
1352
  e.isChild && e.childIndex === 0 && M.value.style.chart.layout.bars.parentLabels.show ? (y(), p("text", {
1347
1353
  key: 2,
1348
- y: cr(e, t).y + w(de)(ur(e, t)) * M.value.style.chart.layout.bars.parentLabels.fontSize * 1.1,
1354
+ y: or(e, t).y + w(de)(cr(e, t)) * M.value.style.chart.layout.bars.parentLabels.fontSize * 1.1,
1349
1355
  "font-size": M.value.style.chart.layout.bars.parentLabels.fontSize,
1350
1356
  fill: M.value.style.chart.layout.bars.parentLabels.color,
1351
1357
  x: M.value.style.chart.layout.bars.parentLabels.offsetX + M.value.style.chart.layout.bars.parentLabels.fontSize,
1352
1358
  "font-weight": M.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
1353
1359
  "text-anchor": "start"
1354
- }, C(dr(e, t)), 9, ht)) : f("", !0)
1360
+ }, C(lr(e, t)), 9, pt)) : f("", !0)
1355
1361
  ]))), 256))], 512),
1356
1362
  m("g", {
1357
1363
  ref_key: "childLabels",
1358
- ref: gn
1359
- }, [(y(!0), p(l, null, x(Yn.value, (e, t) => (y(), p("g", gt, [(e.isChild || !e.hasChildren) && M.value.style.chart.layout.bars.nameLabels.show ? (y(), p("text", {
1364
+ ref: mn
1365
+ }, [(y(!0), p(l, null, x(qn.value, (e, t) => (y(), p("g", mt, [(e.isChild || !e.hasChildren) && M.value.style.chart.layout.bars.nameLabels.show ? (y(), p("text", {
1360
1366
  key: 0,
1361
1367
  "text-anchor": "start",
1362
1368
  x: Math.abs(M.value.style.chart.layout.bars.nameLabels.offsetX),
@@ -1373,8 +1379,8 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
1373
1379
  y: w(c)(q.value.top + (I.value + G.value) * t + G.value / 2 + M.value.style.chart.layout.bars.nameLabels.fontSize / 2 + W.value[t] * U.value),
1374
1380
  translateY: !0
1375
1381
  })
1376
- }, null, 8, _t)) : f("", !0)]))), 256))], 512),
1377
- m("g", null, [(y(!0), p(l, null, x(H.value, (e, t) => (y(), p("g", vt, [(e.isChild || !e.hasChildren) && M.value.style.chart.layout.bars.nameLabels.show ? (y(), p("text", {
1382
+ }, null, 8, ht)) : f("", !0)]))), 256))], 512),
1383
+ m("g", null, [(y(!0), p(l, null, x(H.value, (e, t) => (y(), p("g", gt, [(e.isChild || !e.hasChildren) && M.value.style.chart.layout.bars.nameLabels.show ? (y(), p("text", {
1378
1384
  key: 0,
1379
1385
  "text-anchor": "end",
1380
1386
  x: q.value.left + M.value.style.chart.layout.bars.nameLabels.offsetX - 6,
@@ -1390,71 +1396,71 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
1390
1396
  y: q.value.top + (I.value + G.value) * t + G.value / 2 + M.value.style.chart.layout.bars.nameLabels.fontSize / 3 + W.value[t] * U.value,
1391
1397
  translateY: !0
1392
1398
  })
1393
- }, null, 8, yt)) : f("", !0)]))), 256))]),
1399
+ }, null, 8, _t)) : f("", !0)]))), 256))]),
1394
1400
  m("g", {
1395
1401
  ref_key: "dataLabels",
1396
- ref: xn
1397
- }, [(y(!0), p(l, null, x(H.value, (e, t) => (y(), p("g", bt, [m("text", {
1398
- x: X.value ? q.value.left + q.value.width / 2 + (e.sign === 1 ? -12 : 12) + (e.sign === 1 ? -M.value.style.chart.layout.bars.dataLabels.offsetX : M.value.style.chart.layout.bars.dataLabels.offsetX) : Math.min(sr(e.value) + 3 + M.value.style.chart.layout.bars.dataLabels.offsetX, q.value.right - 2),
1402
+ ref: yn
1403
+ }, [(y(!0), p(l, null, x(H.value, (e, t) => (y(), p("g", vt, [m("text", {
1404
+ x: X.value ? q.value.left + q.value.width / 2 + (e.sign === 1 ? -12 : 12) + (e.sign === 1 ? -M.value.style.chart.layout.bars.dataLabels.offsetX : M.value.style.chart.layout.bars.dataLabels.offsetX) : Math.min(ar(e.value) + 3 + M.value.style.chart.layout.bars.dataLabels.offsetX, q.value.right - 2),
1399
1405
  y: q.value.top + (I.value + G.value) * t + G.value / 2 + W.value[t] * U.value + M.value.style.chart.layout.bars.dataLabels.fontSize / 3,
1400
1406
  "text-anchor": !X.value || e.sign === -1 ? "start" : "end",
1401
1407
  "font-size": M.value.style.chart.layout.bars.dataLabels.fontSize,
1402
1408
  fill: M.value.style.chart.layout.bars.dataLabels.color,
1403
1409
  "font-weight": M.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
1404
- }, C(vr(e.value, e, t, e.sign)), 9, xt)]))), 256))], 512),
1410
+ }, C(gr(e.value, e, t, e.sign)), 9, yt)]))), 256))], 512),
1405
1411
  (y(!0), p(l, null, x(H.value, (e, t) => (y(), p("g", null, [m("rect", {
1406
1412
  x: 0,
1407
1413
  y: q.value.top + (I.value + G.value) * t - I.value / 2 + W.value[t] * U.value,
1408
1414
  width: P.value,
1409
1415
  height: G.value + I.value <= 0 ? 1e-4 : G.value + I.value,
1410
- fill: fr.value === e.id ? w(o)(M.value.style.chart.layout.highlighter.color, M.value.style.chart.layout.highlighter.opacity) : "transparent",
1411
- onMouseenter: (n) => gr(e, t, "pointer"),
1412
- onMouseleave: (n) => hr({
1416
+ fill: ur.value === e.id ? w(o)(M.value.style.chart.layout.highlighter.color, M.value.style.chart.layout.highlighter.opacity) : "transparent",
1417
+ onMouseenter: (n) => mr(e, t, "pointer"),
1418
+ onMouseleave: (n) => pr({
1413
1419
  datapoint: e,
1414
1420
  seriesIndex: t
1415
1421
  }),
1416
- onClick: (n) => mr({
1422
+ onClick: (n) => fr({
1417
1423
  datapoint: e,
1418
1424
  seriesIndex: t
1419
1425
  })
1420
- }, null, 40, St)]))), 256)),
1426
+ }, null, 40, bt)]))), 256)),
1421
1427
  S(e.$slots, "svg", { svg: {
1422
1428
  ...K.value,
1423
1429
  drawingArea: q.value,
1424
- isPrintingImg: w(Ln) || w(Rn) || Sn.value,
1425
- isPrintingSvg: Cn.value
1430
+ isPrintingImg: w(Fn) || w(In) || bn.value,
1431
+ isPrintingSvg: xn.value
1426
1432
  } }, void 0, !0)
1427
- ], 512)], 46, et)), e.$slots.hint ? (y(), p("div", Ct, [S(e.$slots, "hint", _(h({
1433
+ ], 512)], 46, tt)), e.$slots.hint ? (y(), p("div", xt, [S(e.$slots, "hint", _(h({
1428
1434
  hint: M.value.a11y.translations.keyboardNavigation,
1429
- isVisible: Br.value
1435
+ isVisible: Rr.value
1430
1436
  })), void 0, !0)])) : f("", !0)]),
1431
- e.$slots.watermark ? (y(), p("div", wt, [S(e.$slots, "watermark", _(h({ isPrinting: w(Ln) || w(Rn) || Sn.value || Cn.value })), void 0, !0)])) : f("", !0),
1437
+ e.$slots.watermark ? (y(), p("div", St, [S(e.$slots, "watermark", _(h({ isPrinting: w(Fn) || w(In) || bn.value || xn.value })), void 0, !0)])) : f("", !0),
1432
1438
  M.value.style.chart.legend.show && M.value.style.chart.legend.position === "bottom" ? (y(), p("div", {
1433
1439
  key: 7,
1434
1440
  ref_key: "chartLegend",
1435
- ref: sn
1436
- }, [(y(), d(Ne, {
1437
- key: `legend_bottom_${dn.value}`,
1441
+ ref: an
1442
+ }, [(y(), d(Pe, {
1443
+ key: `legend_bottom_${ln.value}`,
1438
1444
  legendSet: B.value,
1439
- config: Zn.value,
1445
+ config: Yn.value,
1440
1446
  isCursorPointer: N.value,
1441
1447
  onClickMarker: t[1] ||= ({ legend: e }) => J(e.id)
1442
- }, Fe({
1448
+ }, Ie({
1443
1449
  item: T(({ legend: e, index: t }) => [m("div", {
1444
1450
  onClick: (t) => J(e.id),
1445
1451
  style: v(`opacity:${k.value.includes(e.id) ? .5 : 1}`)
1446
- }, C(_r({
1452
+ }, C(hr({
1447
1453
  legend: e,
1448
1454
  index: t
1449
- })), 13, Tt)]),
1450
- legendToggle: T(() => [B.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !w(kn) ? (y(), d(Oe, {
1455
+ })), 13, Ct)]),
1456
+ legendToggle: T(() => [B.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !w(Dn) ? (y(), d(ke, {
1451
1457
  key: 0,
1452
1458
  backgroundColor: M.value.style.chart.legend.selectAllToggle.backgroundColor,
1453
1459
  color: M.value.style.chart.legend.selectAllToggle.color,
1454
1460
  fontSize: M.value.style.chart.legend.fontSize,
1455
1461
  checked: k.value.length > 0,
1456
1462
  isCursorPointer: N.value,
1457
- onToggle: tr
1463
+ onToggle: $n
1458
1464
  }, null, 8, [
1459
1465
  "backgroundColor",
1460
1466
  "color",
@@ -1465,7 +1471,7 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
1465
1471
  _: 2
1466
1472
  }, [e.$slots.pattern ? {
1467
1473
  name: "legend-pattern",
1468
- fn: T(({ legend: e, index: t }) => [Le(Ce, {
1474
+ fn: T(({ legend: e, index: t }) => [Re(Ce, {
1469
1475
  shape: e.shape,
1470
1476
  radius: 30,
1471
1477
  stroke: "none",
@@ -1485,12 +1491,12 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
1485
1491
  e.$slots.source ? (y(), p("div", {
1486
1492
  key: 8,
1487
1493
  ref_key: "source",
1488
- ref: cn,
1494
+ ref: on,
1489
1495
  dir: "auto"
1490
1496
  }, [S(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
1491
- Le(w(Wt), {
1497
+ Re(w(Ht), {
1492
1498
  teleportTo: M.value.style.chart.tooltip.teleportTo,
1493
- show: z.value.showTooltip && tn.value && k.value.length < E.dataset.length,
1499
+ show: z.value.showTooltip && $t.value && k.value.length < E.dataset.length,
1494
1500
  backgroundColor: M.value.style.chart.tooltip.backgroundColor,
1495
1501
  color: M.value.style.chart.tooltip.color,
1496
1502
  borderRadius: M.value.style.chart.tooltip.borderRadius,
@@ -1502,19 +1508,19 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
1502
1508
  offsetX: M.value.style.chart.tooltip.offsetX,
1503
1509
  offsetY: M.value.style.chart.tooltip.offsetY,
1504
1510
  parent: O.value,
1505
- content: nn.value,
1511
+ content: en.value,
1506
1512
  isFullscreen: $.value,
1507
1513
  isCustom: M.value.style.chart.tooltip.customFormat && typeof M.value.style.chart.tooltip.customFormat == "function",
1508
1514
  smooth: M.value.style.chart.tooltip.smooth,
1509
1515
  backdropFilter: M.value.style.chart.tooltip.backdropFilter,
1510
1516
  smoothForce: M.value.style.chart.tooltip.smoothForce,
1511
1517
  smoothSnapThreshold: M.value.style.chart.tooltip.smoothSnapThreshold,
1512
- isA11yMode: Tn.value === "keyboard",
1513
- a11yPosition: wn.value
1518
+ isA11yMode: Cn.value === "keyboard",
1519
+ a11yPosition: Sn.value
1514
1520
  }, {
1515
- "tooltip-before": T(() => [S(e.$slots, "tooltip-before", _(h({ ...pr.value })), void 0, !0)]),
1516
- tooltip: T(() => [S(e.$slots, "tooltip", _(h({ ...pr.value })), void 0, !0)]),
1517
- "tooltip-after": T(() => [S(e.$slots, "tooltip-after", _(h({ ...pr.value })), void 0, !0)]),
1521
+ "tooltip-before": T(() => [S(e.$slots, "tooltip-before", _(h({ ...dr.value })), void 0, !0)]),
1522
+ tooltip: T(() => [S(e.$slots, "tooltip", _(h({ ...dr.value })), void 0, !0)]),
1523
+ "tooltip-after": T(() => [S(e.$slots, "tooltip-after", _(h({ ...dr.value })), void 0, !0)]),
1518
1524
  _: 3
1519
1525
  }, 8, [
1520
1526
  "teleportTo",
@@ -1540,24 +1546,24 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
1540
1546
  "isA11yMode",
1541
1547
  "a11yPosition"
1542
1548
  ]),
1543
- en.value && M.value.userOptions.buttons.table ? (y(), d(Ue(Or.value.component), ze({ key: 9 }, Or.value.props, {
1549
+ Qt.value && M.value.userOptions.buttons.table ? (y(), d(We(Er.value.component), Be({ key: 9 }, Er.value.props, {
1544
1550
  ref_key: "tableUnit",
1545
- ref: pn,
1546
- onClose: Ar
1547
- }), Fe({
1551
+ ref: dn,
1552
+ onClose: Or
1553
+ }), Ie({
1548
1554
  content: T(() => [m("div", {
1549
1555
  ref_key: "tableContainer",
1550
- ref: Un,
1556
+ ref: Vn,
1551
1557
  class: "vue-ui-vertical-bar-table atom-data-table",
1552
1558
  style: v(`${M.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px"}`)
1553
- }, [m("div", Et, [M.value.table.useDialog ? f("", !0) : (y(), p("div", {
1559
+ }, [m("div", wt, [M.value.table.useDialog ? f("", !0) : (y(), p("div", {
1554
1560
  key: 0,
1555
1561
  role: "button",
1556
1562
  tabindex: "0",
1557
1563
  style: v(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:${N.value ? "pointer" : "default"}; background:${M.value.table.th.backgroundColor};`),
1558
- onClick: Ar,
1559
- onKeypress: Je(Ar, ["enter"])
1560
- }, [Le(w(Gt), {
1564
+ onClick: Or,
1565
+ onKeypress: Ye(Or, ["enter"])
1566
+ }, [Re(w(Ut), {
1561
1567
  name: "close",
1562
1568
  stroke: M.value.table.th.color,
1563
1569
  "stroke-width": 2
@@ -1566,8 +1572,8 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
1566
1572
  width: "100%",
1567
1573
  "container-type": "inline-size"
1568
1574
  },
1569
- class: g({ "vue-ui-responsive": w(kr) })
1570
- }, [m("table", Dt, [
1575
+ class: g({ "vue-ui-responsive": w(Dr) })
1576
+ }, [m("table", Tt, [
1571
1577
  M.value.table.useDialog ? f("", !0) : (y(), p("caption", {
1572
1578
  key: 0,
1573
1579
  style: v({
@@ -1576,11 +1582,11 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
1576
1582
  outline: M.value.table.th.outline
1577
1583
  }),
1578
1584
  class: "vue-ui-data-table__caption"
1579
- }, [Ie(C(M.value.style.chart.title.text) + " ", 1), M.value.style.chart.title.subtitle.text ? (y(), p("span", Ot, C(M.value.style.chart.title.subtitle.text), 1)) : f("", !0)], 4)),
1585
+ }, [Le(C(M.value.style.chart.title.text) + " ", 1), M.value.style.chart.title.subtitle.text ? (y(), p("span", Et, C(M.value.style.chart.title.subtitle.text), 1)) : f("", !0)], 4)),
1580
1586
  m("thead", null, [m("tr", {
1581
1587
  role: "row",
1582
1588
  style: v(`background:${M.value.table.th.backgroundColor};color:${M.value.table.th.color}`)
1583
- }, [(y(!0), p(l, null, x(Q.value.head, (e) => (y(), p("th", { style: v(`outline:${M.value.table.th.outline}`) }, [m("div", kt, C(e), 1)], 4))), 256))], 4), m("tr", null, [
1589
+ }, [(y(!0), p(l, null, x(Q.value.head, (e) => (y(), p("th", { style: v(`outline:${M.value.table.th.outline}`) }, [m("div", Dt, C(e), 1)], 4))), 256))], 4), m("tr", null, [
1584
1590
  m("th", { style: v(`background:${M.value.table.th.backgroundColor};color:${M.value.table.th.color};outline:${M.value.table.th.outline}`) }, null, 4),
1585
1591
  m("th", { style: v(`background:${M.value.table.th.backgroundColor};color:${M.value.table.th.color};outline:${M.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`) }, " ∑ " + C(M.value.table.td.prefix) + C(isNaN(Y.value) ? "" : Y.value.toFixed(M.value.table.td.roundingValue)) + C(M.value.table.td.suffix), 5),
1586
1592
  m("th", { style: v(`background:${M.value.table.th.backgroundColor};color:${M.value.table.th.color};outline:${M.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`) }, " 100% ", 4),
@@ -1601,83 +1607,83 @@ var Ye = /* @__PURE__ */ e({ default: () => Wt }), Xe = ["id"], Ze = ["id"], Qe
1601
1607
  class: "vue-ui-data-table__tbody__td",
1602
1608
  style: v(`outline:${M.value.table.td.outline};font-variant-numeric: tabular-nums;`),
1603
1609
  "data-cell": Q.value.head[0] ?? ""
1604
- }, [m("div", jt, [e.color ? (y(), p("span", {
1610
+ }, [m("div", kt, [e.color ? (y(), p("span", {
1605
1611
  key: 0,
1606
1612
  style: v(`color:${e.color};margin-right:3px`)
1607
- }, "⬤", 4)) : f("", !0), m("span", null, C(e.parentName), 1)])], 12, At),
1613
+ }, "⬤", 4)) : f("", !0), m("span", null, C(e.parentName), 1)])], 12, Ot),
1608
1614
  m("td", {
1609
1615
  class: "vue-ui-data-table__tbody__td",
1610
1616
  style: v(`outline:${M.value.table.td.outline}`),
1611
1617
  "data-cell": Q.value.head[1] ?? ""
1612
- }, [m("div", Nt, C(M.value.table.td.prefix) + C([
1618
+ }, [m("div", jt, C(M.value.table.td.prefix) + C([
1613
1619
  "",
1614
1620
  NaN,
1615
1621
  void 0
1616
- ].includes(e.parentValue) ? "" : e.parentValue.toFixed(M.value.table.td.roundingValue)) + C(M.value.table.td.suffix), 1)], 12, Mt),
1622
+ ].includes(e.parentValue) ? "" : e.parentValue.toFixed(M.value.table.td.roundingValue)) + C(M.value.table.td.suffix), 1)], 12, At),
1617
1623
  m("td", {
1618
1624
  class: "vue-ui-data-table__tbody__td",
1619
1625
  style: v(`outline:${M.value.table.td.outline}`),
1620
1626
  "data-cell": Q.value.head[2] ?? ""
1621
- }, [m("div", Ft, C([
1627
+ }, [m("div", Nt, C([
1622
1628
  "",
1623
1629
  NaN,
1624
1630
  void 0
1625
- ].includes(e.percentageToTotal) ? "" : `${(e.percentageToTotal * 100).toFixed(M.value.table.td.roundingPercentage)}%`), 1)], 12, Pt),
1631
+ ].includes(e.percentageToTotal) ? "" : `${(e.percentageToTotal * 100).toFixed(M.value.table.td.roundingPercentage)}%`), 1)], 12, Mt),
1626
1632
  m("td", {
1627
1633
  class: "vue-ui-data-table__tbody__td",
1628
1634
  style: v(`outline:${M.value.table.td.outline}`),
1629
1635
  "data-cell": Q.value.head[3] ?? ""
1630
- }, [m("div", Lt, C(e.childName), 1)], 12, It),
1636
+ }, [m("div", Ft, C(e.childName), 1)], 12, Pt),
1631
1637
  m("td", {
1632
1638
  class: "vue-ui-data-table__tbody__td",
1633
1639
  style: v(`outline:${M.value.table.td.outline}`),
1634
1640
  "data-cell": Q.value.head[4] ?? ""
1635
- }, [m("div", zt, C(M.value.table.td.prefix) + C([
1641
+ }, [m("div", Lt, C(M.value.table.td.prefix) + C([
1636
1642
  "",
1637
1643
  NaN,
1638
1644
  void 0
1639
- ].includes(e.childValue) ? "" : e.childValue.toFixed(M.value.table.td.roundingValue)) + C(M.value.table.td.suffix), 1)], 12, Rt),
1645
+ ].includes(e.childValue) ? "" : e.childValue.toFixed(M.value.table.td.roundingValue)) + C(M.value.table.td.suffix), 1)], 12, It),
1640
1646
  m("td", {
1641
1647
  class: "vue-ui-data-table__tbody__td",
1642
1648
  style: v(`outline:${M.value.table.td.outline}`),
1643
1649
  "data-cell": Q.value.head[5] ?? ""
1644
- }, [m("div", Vt, C([
1650
+ }, [m("div", zt, C([
1645
1651
  "",
1646
1652
  NaN,
1647
1653
  void 0
1648
- ].includes(e.childPercentageToParent) ? "" : `${(e.childPercentageToParent * 100).toFixed(M.value.table.td.roundingPercentage)}%`), 1)], 12, Bt),
1654
+ ].includes(e.childPercentageToParent) ? "" : `${(e.childPercentageToParent * 100).toFixed(M.value.table.td.roundingPercentage)}%`), 1)], 12, Rt),
1649
1655
  m("td", {
1650
1656
  class: "vue-ui-data-table__tbody__td",
1651
1657
  style: v(`outline:${M.value.table.td.outline}`),
1652
1658
  "data-cell": Q.value.head[6] ?? ""
1653
- }, [m("div", Ut, C([
1659
+ }, [m("div", Vt, C([
1654
1660
  "",
1655
1661
  NaN,
1656
1662
  void 0
1657
- ].includes(e.childPercentageToTotal) ? "" : `${(e.childPercentageToTotal * 100).toFixed(M.value.table.td.roundingPercentage)}%`), 1)], 12, Ht)
1663
+ ].includes(e.childPercentageToTotal) ? "" : `${(e.childPercentageToTotal * 100).toFixed(M.value.table.td.roundingPercentage)}%`), 1)], 12, Bt)
1658
1664
  ], 6))), 256))])
1659
1665
  ])], 2)])], 4)]),
1660
1666
  _: 2
1661
1667
  }, [M.value.table.useDialog ? {
1662
1668
  name: "title",
1663
- fn: T(() => [Ie(C(Or.value.title), 1)]),
1669
+ fn: T(() => [Le(C(Er.value.title), 1)]),
1664
1670
  key: "0"
1665
1671
  } : void 0, M.value.table.useDialog ? {
1666
1672
  name: "actions",
1667
1673
  fn: T(() => [m("button", {
1668
1674
  tabindex: "0",
1669
1675
  class: "vue-ui-user-options-button",
1670
- onClick: t[2] ||= (e) => yr(M.value.userOptions.callbacks.csv),
1676
+ onClick: t[2] ||= (e) => _r(M.value.userOptions.callbacks.csv),
1671
1677
  style: v({ cursor: N.value ? "pointer" : "default" })
1672
- }, [Le(w(Gt), {
1678
+ }, [Re(w(Ut), {
1673
1679
  name: "fileCsv",
1674
- stroke: Or.value.props.color
1680
+ stroke: Er.value.props.color
1675
1681
  }, null, 8, ["stroke"])], 4)]),
1676
1682
  key: "1"
1677
1683
  } : void 0]), 1040)) : f("", !0),
1678
- S(e.$slots, "skeleton", {}, () => [w(kn) ? (y(), d(_e, { key: 0 })) : f("", !0)], !0)
1679
- ], 46, Xe));
1684
+ S(e.$slots, "skeleton", {}, () => [w(Dn) ? (y(), d(_e, { key: 0 })) : f("", !0)], !0)
1685
+ ], 46, Ze));
1680
1686
  }
1681
- }, [["__scopeId", "data-v-790cf488"]]);
1687
+ }, [["__scopeId", "data-v-38d69caf"]]);
1682
1688
  //#endregion
1683
- export { Ye as n, Wt as t };
1689
+ export { Xe as n, Ht as t };