vue-data-ui 3.9.14 → 3.9.16

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 (164) hide show
  1. package/README.md +1 -0
  2. package/dist/{Arrow-f1dKmuRH.js → Arrow-ChEFq9U7.js} +1 -1
  3. package/dist/{BaseDraggableDialog-CAJxIF6g.js → BaseDraggableDialog-Z5LfhW87.js} +2 -2
  4. package/dist/{BaseIcon-4i3dd7Ty.js → BaseIcon-CbVDYv89.js} +1 -1
  5. package/dist/{BaseZoomControls-C0H509ZF.js → BaseZoomControls-e4hnaBoq.js} +2 -2
  6. package/dist/{ColorPicker-B9oF4-O6.js → ColorPicker-B2OcIXIs.js} +2 -2
  7. package/dist/{DataTable-WrXCJkfE.js → DataTable-BT_IeqPe.js} +2 -2
  8. package/dist/{Legend-D6z73edh.js → Legend-D2xmnFPH.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-7clRuQVF.js → NonSvgPenAndPaper-Dgnix4B_.js} +3 -3
  10. package/dist/{PackageVersion-N2zi0qFZ.js → PackageVersion-Br3DrrFh.js} +1 -1
  11. package/dist/{PenAndPaper-DxIUvoQ8.js → PenAndPaper-CvyKWfNl.js} +3 -3
  12. package/dist/{Shape-DAHhCEdg.js → Shape-12_eh8zD.js} +1 -1
  13. package/dist/{Slicer-Bn8azYkD.js → Slicer-BCPOPoP2.js} +2 -2
  14. package/dist/{SlicerPreview-oV3dMuV1.js → SlicerPreview-CgKqSG-h.js} +2 -2
  15. package/dist/{SparkTooltip-D7iYVquk.js → SparkTooltip-D_OsZuuE.js} +1 -1
  16. package/dist/{Title-DsQKikUm.js → Title-DSOZzIrU.js} +1 -1
  17. package/dist/{Tooltip-TDyKgLB6.js → Tooltip-D0pGX8qz.js} +1 -1
  18. package/dist/{UserOptions-CzJWRC4s.js → UserOptions-BQO4YFrn.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-candlestick.js +1 -1
  26. package/dist/components/vue-ui-carousel-table.js +1 -1
  27. package/dist/components/vue-ui-chestnut.js +1 -1
  28. package/dist/components/vue-ui-chord.js +1 -1
  29. package/dist/components/vue-ui-circle-pack.js +1 -1
  30. package/dist/components/vue-ui-cursor.js +1 -1
  31. package/dist/components/vue-ui-dag.js +1 -1
  32. package/dist/components/vue-ui-dashboard.js +1 -1
  33. package/dist/components/vue-ui-digits.js +1 -1
  34. package/dist/components/vue-ui-donut-evolution.js +1 -1
  35. package/dist/components/vue-ui-donut.js +1 -1
  36. package/dist/components/vue-ui-dumbbell.js +1 -1
  37. package/dist/components/vue-ui-flow.js +1 -1
  38. package/dist/components/vue-ui-funnel.js +1 -1
  39. package/dist/components/vue-ui-galaxy.js +1 -1
  40. package/dist/components/vue-ui-gauge.js +1 -1
  41. package/dist/components/vue-ui-geo.js +1 -1
  42. package/dist/components/vue-ui-gizmo.js +1 -1
  43. package/dist/components/vue-ui-heatmap.js +1 -1
  44. package/dist/components/vue-ui-history-plot.js +1 -1
  45. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  46. package/dist/components/vue-ui-icon.js +1 -1
  47. package/dist/components/vue-ui-kpi.js +1 -1
  48. package/dist/components/vue-ui-mini-loader.js +1 -1
  49. package/dist/components/vue-ui-molecule.js +1 -1
  50. package/dist/components/vue-ui-mood-radar.js +1 -1
  51. package/dist/components/vue-ui-nested-donuts.js +1 -1
  52. package/dist/components/vue-ui-onion.js +1 -1
  53. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  54. package/dist/components/vue-ui-quadrant.js +1 -1
  55. package/dist/components/vue-ui-quick-chart.js +1 -1
  56. package/dist/components/vue-ui-radar.js +1 -1
  57. package/dist/components/vue-ui-rating.js +1 -1
  58. package/dist/components/vue-ui-relation-circle.js +1 -1
  59. package/dist/components/vue-ui-ridgeline.js +1 -1
  60. package/dist/components/vue-ui-rings.js +1 -1
  61. package/dist/components/vue-ui-scatter.js +1 -1
  62. package/dist/components/vue-ui-skeleton.js +1 -1
  63. package/dist/components/vue-ui-smiley.js +1 -1
  64. package/dist/components/vue-ui-spark-trend.js +1 -1
  65. package/dist/components/vue-ui-sparkbar.js +1 -1
  66. package/dist/components/vue-ui-sparkgauge.js +1 -1
  67. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  68. package/dist/components/vue-ui-sparkline.js +1 -1
  69. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  70. package/dist/components/vue-ui-stackbar.js +1 -1
  71. package/dist/components/vue-ui-stackline.js +1 -1
  72. package/dist/components/vue-ui-strip-plot.js +1 -1
  73. package/dist/components/vue-ui-table-heatmap.js +1 -1
  74. package/dist/components/vue-ui-table-sparkline.js +1 -1
  75. package/dist/components/vue-ui-table.js +1 -1
  76. package/dist/components/vue-ui-thermometer.js +1 -1
  77. package/dist/components/vue-ui-timer.js +1 -1
  78. package/dist/components/vue-ui-tiremarks.js +1 -1
  79. package/dist/components/vue-ui-treemap.js +1 -1
  80. package/dist/components/vue-ui-vertical-bar.js +1 -1
  81. package/dist/components/vue-ui-waffle.js +1 -1
  82. package/dist/components/vue-ui-wheel.js +1 -1
  83. package/dist/components/vue-ui-word-cloud.js +1 -1
  84. package/dist/components/vue-ui-world.js +1 -1
  85. package/dist/components/vue-ui-xy-canvas.js +1 -1
  86. package/dist/components/vue-ui-xy.js +1 -1
  87. package/dist/{dom-to-png-C2K57N1M.js → dom-to-png-WXGPkYro.js} +1 -1
  88. package/dist/{img-DKigoPDs.js → img-CqYIrJ8I.js} +1 -1
  89. package/dist/{labelUtils-PMU3ZGCb.js → labelUtils-B3mOOEke.js} +1 -1
  90. package/dist/{lib-BwysEpWI.js → lib-2iaAPQ_c.js} +340 -322
  91. package/dist/{pdf-BHGnVnBG.js → pdf-Q5BpWMSa.js} +1 -1
  92. package/dist/style.css +1 -1
  93. package/dist/types/vue-data-ui.d.ts +4 -0
  94. package/dist/{useAutoSizeLabelsInsideViewbox-DO2dxQ78.js → useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js} +1 -1
  95. package/dist/{useNestedProp-CH0YJac3.js → useNestedProp-2p4Tjzc8.js} +6 -2
  96. package/dist/{usePrinter-BJzHDpYF.js → usePrinter-ChVMpU2f.js} +2 -2
  97. package/dist/{vue-data-ui-CETZbpPy.js → vue-data-ui-BWmTki6E.js} +67 -67
  98. package/dist/vue-data-ui.js +72 -72
  99. package/dist/{vue-ui-3d-bar-D1e74DW-.js → vue-ui-3d-bar-HXoQbs8d.js} +6 -6
  100. package/dist/{vue-ui-accordion-CTzbMRF5.js → vue-ui-accordion-Dm0mNNKQ.js} +3 -3
  101. package/dist/{vue-ui-age-pyramid-BcFAs3n4.js → vue-ui-age-pyramid-CGsJUmDL.js} +6 -6
  102. package/dist/{vue-ui-annotator-lhy2XeYL.js → vue-ui-annotator-BorYyD6t.js} +7 -7
  103. package/dist/{vue-ui-bullet-CkSsXQmm.js → vue-ui-bullet-B5H4sazy.js} +7 -7
  104. package/dist/{vue-ui-candlestick-CGg_7SLg.js → vue-ui-candlestick-COYxFrX8.js} +7 -7
  105. package/dist/{vue-ui-carousel-table-BiIRXmhP.js → vue-ui-carousel-table-BsGu8u47.js} +4 -4
  106. package/dist/{vue-ui-chestnut-B2xTArwU.js → vue-ui-chestnut-CPleio5s.js} +5 -5
  107. package/dist/{vue-ui-chord-C2VrC0ix.js → vue-ui-chord-BL2kiRYa.js} +8 -8
  108. package/dist/{vue-ui-circle-pack-CIDxBme9.js → vue-ui-circle-pack-Ctax0o8l.js} +6 -6
  109. package/dist/{vue-ui-cursor-FWs20kb7.js → vue-ui-cursor-CcGTsKr9.js} +3 -3
  110. package/dist/{vue-ui-dag-DqW_jGnz.js → vue-ui-dag-BZeJu8RB.js} +7 -7
  111. package/dist/{vue-ui-dashboard-BQaQX1Hp.js → vue-ui-dashboard-DU95z4Iw.js} +68 -68
  112. package/dist/{vue-ui-digits-ClutLZo6.js → vue-ui-digits-DsKNaw_K.js} +2 -2
  113. package/dist/{vue-ui-donut-BPDMilOE.js → vue-ui-donut-CN7x4Wrm.js} +9 -9
  114. package/dist/{vue-ui-donut-evolution-tSmXvXha.js → vue-ui-donut-evolution-D4zNv3y3.js} +438 -444
  115. package/dist/{vue-ui-dumbbell-DI_0jaJa.js → vue-ui-dumbbell-CWi8sl8t.js} +7 -7
  116. package/dist/{vue-ui-flow-sS-isses.js → vue-ui-flow-BydA9ef6.js} +7 -7
  117. package/dist/{vue-ui-funnel-DVxu44AB.js → vue-ui-funnel-C83WaW6R.js} +6 -6
  118. package/dist/{vue-ui-galaxy-DfYKoeS5.js → vue-ui-galaxy-BnY90Ga4.js} +8 -8
  119. package/dist/{vue-ui-gauge-DHeQWB2r.js → vue-ui-gauge-HqwbKAiY.js} +7 -7
  120. package/dist/{vue-ui-geo-CznOIKY5.js → vue-ui-geo-wW6nP6hV.js} +7 -7
  121. package/dist/{vue-ui-gizmo-CuR4Ktlm.js → vue-ui-gizmo-B_MBb1r3.js} +3 -3
  122. package/dist/{vue-ui-heatmap-C_0kd0gS.js → vue-ui-heatmap-Ctb6By74.js} +7 -7
  123. package/dist/{vue-ui-history-plot-D9O5B8ww.js → vue-ui-history-plot-ptSYfBrS.js} +7 -7
  124. package/dist/{vue-ui-horizontal-bar-C8OQwHQ5.js → vue-ui-horizontal-bar-Oj8JxE1o.js} +483 -459
  125. package/dist/{vue-ui-kpi-xwNhi_Q7.js → vue-ui-kpi-CyQCcR37.js} +3 -3
  126. package/dist/{vue-ui-mini-loader-DB854OD8.js → vue-ui-mini-loader-CXB5jl9q.js} +2 -2
  127. package/dist/{vue-ui-molecule-BnBImo7O.js → vue-ui-molecule-B3f4D6xs.js} +5 -5
  128. package/dist/{vue-ui-mood-radar-CFWaqvbw.js → vue-ui-mood-radar-BymSOzbZ.js} +7 -7
  129. package/dist/{vue-ui-nested-donuts-Dr1SFgd1.js → vue-ui-nested-donuts-Bm75G0c4.js} +8 -8
  130. package/dist/{vue-ui-onion-BF0uOkdf.js → vue-ui-onion-BPPHtjJs.js} +9 -9
  131. package/dist/{vue-ui-parallel-coordinate-plot-B39MmRM-.js → vue-ui-parallel-coordinate-plot-CesySg69.js} +8 -8
  132. package/dist/{vue-ui-quadrant-DQ6jK5lK.js → vue-ui-quadrant-Dxhvwzha.js} +8 -8
  133. package/dist/{vue-ui-quick-chart-BJFT6MlE.js → vue-ui-quick-chart-CmfR2FF6.js} +6 -6
  134. package/dist/{vue-ui-radar-CI1vvdix.js → vue-ui-radar-9TUuj49-.js} +8 -8
  135. package/dist/{vue-ui-rating-D6e1hvlN.js → vue-ui-rating-C-sJPTB9.js} +2 -2
  136. package/dist/{vue-ui-relation-circle-D5EIwXQT.js → vue-ui-relation-circle-CSw8wygj.js} +7 -7
  137. package/dist/{vue-ui-ridgeline-CbP6FSBx.js → vue-ui-ridgeline-pwJ8hRsj.js} +8 -8
  138. package/dist/{vue-ui-rings-C1kLHyn7.js → vue-ui-rings-BQK3rKYv.js} +9 -9
  139. package/dist/{vue-ui-scatter-DvyRNG7b.js → vue-ui-scatter-DqGnrGmi.js} +8 -8
  140. package/dist/{vue-ui-skeleton-OfYh_8kr.js → vue-ui-skeleton-CprmuWSV.js} +3 -3
  141. package/dist/{vue-ui-smiley-DPlPB903.js → vue-ui-smiley-TGFkjkro.js} +2 -2
  142. package/dist/{vue-ui-spark-trend-CIovzP7V.js → vue-ui-spark-trend-BMgbFhyC.js} +3 -3
  143. package/dist/{vue-ui-sparkbar-d0QvIPMK.js → vue-ui-sparkbar-BR9c9pzQ.js} +3 -3
  144. package/dist/{vue-ui-sparkgauge-DtK6S9ta.js → vue-ui-sparkgauge-QR8NMM76.js} +3 -3
  145. package/dist/{vue-ui-sparkhistogram-AAM_6-a0.js → vue-ui-sparkhistogram-BZPWjy4g.js} +4 -4
  146. package/dist/{vue-ui-sparkline-Ui_n_Z13.js → vue-ui-sparkline-B7DUXyD7.js} +3 -3
  147. package/dist/{vue-ui-sparkstackbar-CcSO3B20.js → vue-ui-sparkstackbar-CBURF9DG.js} +3 -3
  148. package/dist/{vue-ui-stackbar-IgHE0ix-.js → vue-ui-stackbar-8wfpQv75.js} +9 -9
  149. package/dist/{vue-ui-stackline-ZPpM0WJp.js → vue-ui-stackline-KEkKIgeE.js} +9 -9
  150. package/dist/{vue-ui-strip-plot-_Y2m-Dly.js → vue-ui-strip-plot-tBq-1HEl.js} +7 -7
  151. package/dist/{vue-ui-table-32WvmMgb.js → vue-ui-table-DQtQ5vth.js} +5 -5
  152. package/dist/{vue-ui-table-heatmap-BQun9OwK.js → vue-ui-table-heatmap-CUOXC4JX.js} +5 -5
  153. package/dist/{vue-ui-table-sparkline-DioGmETm.js → vue-ui-table-sparkline-B-fJpPuE.js} +4 -4
  154. package/dist/{vue-ui-thermometer-BbjSAgfK.js → vue-ui-thermometer-BjWvhObo.js} +7 -7
  155. package/dist/{vue-ui-timer-Bem9iNS9.js → vue-ui-timer-KHzMsLix.js} +5 -5
  156. package/dist/{vue-ui-tiremarks-DKe3yCM6.js → vue-ui-tiremarks-DHTm-0Rk.js} +6 -6
  157. package/dist/{vue-ui-treemap-bd0eNtqa.js → vue-ui-treemap-BUskEYhL.js} +8 -8
  158. package/dist/{vue-ui-waffle-C93pCE0N.js → vue-ui-waffle-DB2x0hkH.js} +9 -9
  159. package/dist/{vue-ui-wheel-DLS0_1Bs.js → vue-ui-wheel-CIF3OMNS.js} +6 -6
  160. package/dist/{vue-ui-word-cloud-Dp3tWrZB.js → vue-ui-word-cloud-DA2S9vUS.js} +7 -7
  161. package/dist/{vue-ui-world-DNMQwqDq.js → vue-ui-world-GYXka5Ap.js} +6 -6
  162. package/dist/{vue-ui-xy-DK7OIH2Y.js → vue-ui-xy-GG6jRpRS.js} +9 -9
  163. package/dist/{vue-ui-xy-canvas-DSxmvFlx.js → vue-ui-xy-canvas-s7QCO2Kv.js} +10 -10
  164. package/package.json +1 -1
@@ -1,41 +1,41 @@
1
- import { useCssVars as ma, defineAsyncComponent as te, useSlots as Ca, computed as d, ref as s, toRefs as ka, watch as ae, onBeforeUnmount as _a, onMounted as Ne, createElementBlock as u, openBlock as n, unref as i, normalizeStyle as h, normalizeClass as J, createBlock as Q, createCommentVNode as y, renderSlot as g, createVNode as le, withCtx as p, normalizeProps as N, guardReactiveProps as O, createSlots as pe, createElementVNode as r, toDisplayString as v, Fragment as z, renderList as E, mergeProps as gt, resolveDynamicComponent as xa, withKeys as wa, createTextVNode as yt, nextTick as Oe } from "vue";
2
- import { c as $a, t as La, i as Aa, j as Z, a1 as ze, k as Ta, g as ue, o as Ee, U as P, m as Ie, a as se, d as W, X as Sa, s as Ve, h as Fa, v as Pa, r as Da, y as Ba, _ as Na } from "./lib-BwysEpWI.js";
3
- import { t as Oa, u as za } from "./useResponsive-DfdjqQps.js";
4
- import { u as Ea, a as Me } from "./useNestedProp-CH0YJac3.js";
5
- import { u as Ia, B as Va } from "./BaseScanner-BMpwQAfz.js";
6
- import { u as Ma } from "./usePrinter-BJzHDpYF.js";
7
- import { u as Ra } from "./useSvgExport-ByUukOZt.js";
1
+ import { useCssVars as Ca, defineAsyncComponent as ae, useSlots as ka, computed as d, ref as i, toRefs as _a, watch as le, onBeforeUnmount as xa, onMounted as Be, createElementBlock as u, openBlock as n, unref as s, normalizeStyle as h, normalizeClass as J, createBlock as Q, createCommentVNode as y, renderSlot as g, createVNode as oe, withCtx as f, normalizeProps as B, guardReactiveProps as N, createSlots as fe, createElementVNode as r, toDisplayString as m, Fragment as O, renderList as E, mergeProps as mt, resolveDynamicComponent as wa, withKeys as $a, createTextVNode as Ct, nextTick as Ne } from "vue";
2
+ import { c as La, t as Aa, i as Ta, j as Z, a1 as Oe, k as Sa, g as ue, o as Ee, U as S, m as Ie, a as se, d as G, X as Fa, s as Me, h as za, $ as Ve, aq as Pa, v as Da, r as Ba, y as Na, _ as Oa } from "./lib-2iaAPQ_c.js";
3
+ import { t as Ea, u as Ia } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Ma, a as Re } from "./useNestedProp-2p4Tjzc8.js";
5
+ import { u as Va, B as Ra } from "./BaseScanner-BMpwQAfz.js";
6
+ import { u as Ha } from "./usePrinter-ChVMpU2f.js";
7
+ import { u as Xa } from "./useSvgExport-ByUukOZt.js";
8
8
  import { u as Ua } from "./useThemeCheck-DGJ31Vi5.js";
9
9
  import { u as Ga } from "./useTableResponsive-Cbx-ACcP.js";
10
- import { u as Xa } from "./useUserOptionState-BIvW1Kz7.js";
11
- import { u as Wa } from "./useChartAccessibility-9icAAmYg.js";
12
- import mt from "./Legend-D6z73edh.js";
13
- import Ha from "./vue-ui-accordion-CTzbMRF5.js";
14
- import ja from "./Title-DsQKikUm.js";
15
- import { _ as Ct } from "./Shape-DAHhCEdg.js";
16
- import qa from "./img-DKigoPDs.js";
17
- import { _ as Ya } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
- const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { separators: { color: "#4A4A4A" }, bars: { dataLabels: { color: "#CCCCCC" }, nameLabels: { color: "#CCCCCC" }, parentLabels: { color: "#CCCCCC" } }, highlighter: { color: "#CCCCCC" } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, _t = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { bars: { borderRadius: 0, useGradient: !1, dataLabels: { color: "#424242" }, nameLabels: { color: "#424242" }, parentLabels: { color: "#424242" } }, highlighter: { color: "#FF8A65" }, separators: { show: !1 } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, xt = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { bars: { borderRadius: 0, useGradient: !1, dataLabels: { color: "#BDBDBD" }, nameLabels: { color: "#BDBDBD" }, parentLabels: { color: "#FFF8E1" } }, highlighter: { color: "#FF8A65" }, separators: { show: !1 } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, wt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { bars: { borderRadius: 0, useGradient: !1, dataLabels: { color: "#AACCAA" }, nameLabels: { color: "#99CC99" }, parentLabels: { color: "#99CC99" } }, highlighter: { color: "#66CC66" }, separators: { show: !1 } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, $t = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { bars: { borderRadius: 8, useGradient: !0, dataLabels: { color: "#A0AC94" }, nameLabels: { color: "#8A9892" }, parentLabels: { color: "#8A9892" } }, highlighter: { color: "#8F837A" }, separators: { show: !1 } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, Lt = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { bars: { borderRadius: 0, useGradient: !0, dataLabels: { color: "#61747E" }, nameLabels: { color: "#8A9892" }, parentLabels: { color: "#8A9892" } }, highlighter: { color: "#50606C" }, separators: { show: !0, color: "#DEE1DE" } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, At = {
10
+ import { u as Wa } from "./useUserOptionState-BIvW1Kz7.js";
11
+ import { u as ja } from "./useChartAccessibility-9icAAmYg.js";
12
+ import kt from "./Legend-D2xmnFPH.js";
13
+ import Ya from "./vue-ui-accordion-Dm0mNNKQ.js";
14
+ import qa from "./Title-DSOZzIrU.js";
15
+ import { _ as _t } from "./Shape-12_eh8zD.js";
16
+ import Ka from "./img-CqYIrJ8I.js";
17
+ import { _ as Ja } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
+ const xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { separators: { color: "#4A4A4A" }, bars: { dataLabels: { color: "#CCCCCC" }, nameLabels: { color: "#CCCCCC" }, parentLabels: { color: "#CCCCCC" } }, highlighter: { color: "#CCCCCC" } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, wt = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { bars: { borderRadius: 0, useGradient: !1, dataLabels: { color: "#424242" }, nameLabels: { color: "#424242" }, parentLabels: { color: "#424242" } }, highlighter: { color: "#FF8A65" }, separators: { show: !1 } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, $t = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { bars: { borderRadius: 0, useGradient: !1, dataLabels: { color: "#BDBDBD" }, nameLabels: { color: "#BDBDBD" }, parentLabels: { color: "#FFF8E1" } }, highlighter: { color: "#FF8A65" }, separators: { show: !1 } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Lt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { bars: { borderRadius: 0, useGradient: !1, dataLabels: { color: "#AACCAA" }, nameLabels: { color: "#99CC99" }, parentLabels: { color: "#99CC99" } }, highlighter: { color: "#66CC66" }, separators: { show: !1 } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, At = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { bars: { borderRadius: 8, useGradient: !0, dataLabels: { color: "#A0AC94" }, nameLabels: { color: "#8A9892" }, parentLabels: { color: "#8A9892" } }, highlighter: { color: "#8F837A" }, separators: { show: !1 } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, Tt = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { bars: { borderRadius: 0, useGradient: !0, dataLabels: { color: "#61747E" }, nameLabels: { color: "#8A9892" }, parentLabels: { color: "#8A9892" } }, highlighter: { color: "#50606C" }, separators: { show: !0, color: "#DEE1DE" } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, St = {
19
19
  default: {},
20
- dark: kt,
21
- celebration: _t,
22
- celebrationNight: xt,
23
- hack: wt,
24
- zen: $t,
25
- concrete: Lt
26
- }, no = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20
+ dark: xt,
21
+ celebration: wt,
22
+ celebrationNight: $t,
23
+ hack: Lt,
24
+ zen: At,
25
+ concrete: Tt
26
+ }, uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27
27
  __proto__: null,
28
- celebration: _t,
29
- celebrationNight: xt,
30
- concrete: Lt,
31
- dark: kt,
32
- default: At,
33
- hack: wt,
34
- zen: $t
35
- }, Symbol.toStringTag, { value: "Module" })), Ka = ["id"], Ja = ["onClick"], Qa = ["xmlns", "viewBox"], Za = ["width", "height"], el = ["id"], tl = ["stop-color"], al = ["stop-color"], ll = { key: 1 }, ol = ["x", "y", "width", "height", "fill", "rx"], nl = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], rl = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], ul = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], sl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], il = { class: "vue-ui-horizontal-bar-parent-label" }, cl = ["y", "height", "width", "fill"], dl = ["y", "font-size", "fill", "x", "font-weight"], vl = ["y", "font-size", "fill", "x", "font-weight"], hl = { class: "vue-ui-horizontal-bar-child-label" }, pl = ["x", "y", "font-size", "font-weight"], fl = { class: "vue-ui-horizontal-bar-child-label" }, bl = ["x", "y", "font-size", "fill", "font-weight"], gl = { class: "vue-ui-horizontal-bar-child-label" }, yl = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], ml = ["y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], Cl = {
28
+ celebration: wt,
29
+ celebrationNight: $t,
30
+ concrete: Tt,
31
+ dark: xt,
32
+ default: St,
33
+ hack: Lt,
34
+ zen: At
35
+ }, Symbol.toStringTag, { value: "Module" })), Qa = ["id"], Za = ["onClick"], el = ["xmlns", "viewBox"], tl = ["width", "height"], al = ["id"], ll = ["stop-color"], ol = ["stop-color"], nl = { key: 1 }, rl = ["x", "y", "width", "height", "fill", "rx"], ul = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], sl = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], il = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], cl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], dl = { class: "vue-ui-horizontal-bar-parent-label" }, vl = ["y", "height", "width", "fill"], hl = ["y", "font-size", "fill", "x", "font-weight", "innerHTML"], fl = ["y", "font-size", "fill", "x", "font-weight"], pl = { class: "vue-ui-horizontal-bar-child-label" }, bl = ["x", "y", "font-size", "font-weight", "innerHTML"], gl = { class: "vue-ui-horizontal-bar-child-label" }, yl = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], ml = { class: "vue-ui-horizontal-bar-child-label" }, Cl = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], kl = ["y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], _l = {
36
36
  key: 5,
37
37
  class: "vue-data-ui-watermark"
38
- }, kl = ["onClick"], _l = { style: "width:100%;padding-top: 36px;position:relative" }, xl = { class: "vue-ui-data-table" }, wl = { key: 0 }, $l = { style: { width: "100%" } }, Ll = ["data-cell"], Al = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Tl = ["data-cell"], Sl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Fl = ["data-cell"], Pl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Dl = ["data-cell"], Bl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Nl = ["data-cell"], Ol = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, zl = ["data-cell"], El = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Il = ["data-cell"], Vl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ml = {
38
+ }, xl = ["onClick"], wl = { style: "width:100%;padding-top: 36px;position:relative" }, $l = { class: "vue-ui-data-table" }, Ll = { key: 0 }, Al = { style: { width: "100%" } }, Tl = ["data-cell"], Sl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Fl = ["data-cell"], zl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Pl = ["data-cell"], Dl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Bl = ["data-cell"], Nl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ol = ["data-cell"], El = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Il = ["data-cell"], Ml = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Vl = ["data-cell"], Rl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Hl = {
39
39
  __name: "vue-ui-horizontal-bar",
40
40
  props: {
41
41
  config: {
@@ -52,43 +52,43 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
52
52
  }
53
53
  },
54
54
  emits: ["selectLegend"],
55
- setup(Tt, { expose: St, emit: Ft }) {
56
- ma((t) => ({
57
- v3793eb8e: t.tdo
55
+ setup(Ft, { expose: zt, emit: Pt }) {
56
+ Ca((t) => ({
57
+ v48241b92: t.tdo
58
58
  }));
59
- const Pt = te(() => import("./Tooltip-TDyKgLB6.js")), Re = te(() => import("./BaseIcon-4i3dd7Ty.js")), Dt = te(
60
- () => import("./PenAndPaper-DxIUvoQ8.js")
61
- ), Bt = te(
62
- () => import("./UserOptions-CzJWRC4s.js")
63
- ), Nt = te(
64
- () => import("./PackageVersion-N2zi0qFZ.js")
65
- ), Ot = te(
66
- () => import("./BaseDraggableDialog-CAJxIF6g.js")
67
- ), { vue_ui_vertical_bar: zt } = Ea(), { isThemeValid: Et, warnInvalidTheme: It } = Ua(), Vt = Ca(), C = Tt, fe = d({
59
+ const Dt = ae(() => import("./Tooltip-D0pGX8qz.js")), He = ae(() => import("./BaseIcon-CbVDYv89.js")), Bt = ae(
60
+ () => import("./PenAndPaper-CvyKWfNl.js")
61
+ ), Nt = ae(
62
+ () => import("./UserOptions-BQO4YFrn.js")
63
+ ), Ot = ae(
64
+ () => import("./PackageVersion-Br3DrrFh.js")
65
+ ), Et = ae(
66
+ () => import("./BaseDraggableDialog-Z5LfhW87.js")
67
+ ), { vue_ui_vertical_bar: It } = Ma(), { isThemeValid: Mt, warnInvalidTheme: Vt } = Ua(), Rt = ka(), C = Ft, pe = d({
68
68
  get() {
69
69
  return !!C.dataset && C.dataset.length;
70
70
  },
71
71
  set(t) {
72
72
  return t;
73
73
  }
74
- }), A = s($a()), be = s(!1), ge = s(""), Mt = s(null), Ue = s(0), I = s(null), Ge = s(null), ye = s(null), Xe = s(null), We = s(null), He = s(0), me = s(0), Rt = s(null), oe = s(null), Ce = s(null), Ut = s(null), ke = s(null), w = s([]), Gt = s({ none: 0, asc: 1, desc: 2 }), U = s(0), ie = s(!1), ne = s(0), ee = s(0), _e = s(null), Xt = Ft, e = s(Le()), Wt = d(() => [
74
+ }), F = i(La()), be = i(!1), ge = i(""), Ht = i(null), Xe = i(0), I = i(null), Ue = i(null), ye = i(null), Ge = i(null), We = i(null), je = i(0), me = i(0), Xt = i(null), ne = i(null), Ce = i(null), Ut = i(null), ke = i(null), w = i([]), Gt = i({ none: 0, asc: 1, desc: 2 }), H = i(0), ie = i(!1), re = i(0), ee = i(0), _e = i(null), Wt = Pt, e = i(Le()), jt = d(() => [
75
75
  { name: "", value: 6, color: "#d9d9d9" },
76
76
  { name: "", value: 5, color: "#d9d9d9" },
77
77
  { name: "", value: 4, color: "#d9d9d9" },
78
78
  { name: "", value: 3, color: "#d9d9d9" },
79
79
  { name: "", value: 2, color: "#d9d9d9" },
80
80
  { name: "", value: 1, color: "#d9d9d9" }
81
- ]), { loading: je, FINAL_DATASET: qe, manualLoading: xe } = Ia({
82
- ...ka(C),
81
+ ]), { loading: Ye, FINAL_DATASET: qe, manualLoading: xe } = Va({
82
+ ..._a(C),
83
83
  FINAL_CONFIG: e,
84
84
  prepareConfig: Le,
85
85
  callback: () => {
86
86
  Promise.resolve().then(async () => {
87
- x.value.showTable = e.value.table.show, Yt();
87
+ x.value.showTable = e.value.table.show, Jt();
88
88
  });
89
89
  },
90
- skeletonDataset: Wt.value,
91
- skeletonConfig: La({
90
+ skeletonDataset: jt.value,
91
+ skeletonConfig: Aa({
92
92
  defaultConfig: e.value,
93
93
  userConfig: {
94
94
  useCssAnimation: !1,
@@ -121,83 +121,83 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
121
121
  }
122
122
  }
123
123
  })
124
- }), { userOptionsVisible: we, setUserOptionsVisibility: Ye, keepUserOptionState: Ke } = Xa({ config: e.value }), { svgRef: $e } = Wa({
124
+ }), { userOptionsVisible: we, setUserOptionsVisibility: Ke, keepUserOptionState: Je } = Wa({ config: e.value }), { svgRef: $e } = ja({
125
125
  config: e.value.style.chart.title
126
126
  });
127
127
  function Le() {
128
- const t = Me({
128
+ const t = Re({
129
129
  userConfig: C.config,
130
- defaultConfig: zt
130
+ defaultConfig: It
131
131
  });
132
132
  let l = {};
133
133
  const a = t.theme;
134
134
  if (a)
135
- if (!Et.value(t))
136
- It(t), l = t;
135
+ if (!Mt.value(t))
136
+ Vt(t), l = t;
137
137
  else {
138
- const o = Me({
139
- userConfig: At[a] || C.config,
138
+ const o = Re({
139
+ userConfig: St[a] || C.config,
140
140
  defaultConfig: t
141
141
  });
142
142
  l = {
143
- ...Me({ userConfig: C.config, defaultConfig: o }),
144
- customPalette: t.customPalette.length ? t.customPalette : Aa[a] || Z
143
+ ...Re({ userConfig: C.config, defaultConfig: o }),
144
+ customPalette: t.customPalette.length ? t.customPalette : Ta[a] || Z
145
145
  };
146
146
  }
147
147
  else
148
148
  l = t;
149
- return C.config && ze(C.config, "events.datapointEnter") ? l.events.datapointEnter = C.config.events.datapointEnter : l.events.datapointEnter = null, C.config && ze(C.config, "events.datapointLeave") ? l.events.datapointLeave = C.config.events.datapointLeave : l.events.datapointLeave = null, C.config && ze(C.config, "events.datapointClick") ? l.events.datapointClick = C.config.events.datapointClick : l.events.datapointClick = null, l;
149
+ return C.config && Oe(C.config, "events.datapointEnter") ? l.events.datapointEnter = C.config.events.datapointEnter : l.events.datapointEnter = null, C.config && Oe(C.config, "events.datapointLeave") ? l.events.datapointLeave = C.config.events.datapointLeave : l.events.datapointLeave = null, C.config && Oe(C.config, "events.datapointClick") ? l.events.datapointClick = C.config.events.datapointClick : l.events.datapointClick = null, l;
150
150
  }
151
- const V = s(e.value.style.chart.width), G = s(e.value.style.chart.height), k = s(e.value.style.chart.layout.bars.gap);
152
- ae(
151
+ const M = i(e.value.style.chart.width), X = i(e.value.style.chart.height), k = i(e.value.style.chart.layout.bars.gap);
152
+ le(
153
153
  () => C.config,
154
154
  (t) => {
155
- je.value || (e.value = Le()), we.value = !e.value.userOptions.showOnChartHover, He.value += 1, me.value += 1, x.value.showTable = e.value.table.show, x.value.sortDesc = e.value.style.chart.layout.bars.sort === "desc", x.value.showTooltip = e.value.style.chart.tooltip.show, V.value = e.value.style.chart.width, G.value = e.value.style.chart.height, k.value = e.value.style.chart.layout.bars.gap;
155
+ Ye.value || (e.value = Le()), we.value = !e.value.userOptions.showOnChartHover, je.value += 1, me.value += 1, x.value.showTable = e.value.table.show, x.value.sortDesc = e.value.style.chart.layout.bars.sort === "desc", x.value.showTooltip = e.value.style.chart.tooltip.show, M.value = e.value.style.chart.width, X.value = e.value.style.chart.height, k.value = e.value.style.chart.layout.bars.gap;
156
156
  },
157
157
  { deep: !0 }
158
- ), ae(
158
+ ), le(
159
159
  () => C.dataset,
160
160
  (t) => {
161
161
  Array.isArray(t) && t.length > 0 && (xe.value = !1);
162
162
  },
163
163
  { deep: !0 }
164
164
  );
165
- const { isPrinting: Je, isImaging: Qe, generatePdf: Ze, generateImage: et } = Ma({
166
- elementId: `vue-ui-vertical-bar_${A.value}`,
165
+ const { isPrinting: Qe, isImaging: Ze, generatePdf: et, generateImage: tt } = Ha({
166
+ elementId: `vue-ui-vertical-bar_${F.value}`,
167
167
  fileName: e.value.style.chart.title.text || "vue-ui-vertical-bar",
168
168
  options: e.value.userOptions.print
169
- }), Ht = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), tt = d(() => Ta(e.value.customPalette)), at = s(null), jt = d(() => e.value.table.responsiveBreakpoint), ce = d(() => !!e.value.debug), qt = s(0), X = s(null), H = s(null);
170
- function Yt() {
169
+ }), Yt = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), at = d(() => Sa(e.value.customPalette)), lt = i(null), qt = d(() => e.value.table.responsiveBreakpoint), ce = d(() => !!e.value.debug), Kt = i(0), U = i(null), W = i(null);
170
+ function Jt() {
171
171
  if (I.value && (Ee(C.dataset) && (ue({
172
172
  componentName: "VueUiVerticalBar",
173
173
  type: "dataset",
174
174
  debug: ce.value
175
- }), fe.value = !1, xe.value = !0), Ee(C.dataset) || (xe.value = e.value.loading), e.value.responsive)) {
176
- const t = Oa(() => {
177
- const { width: l, height: a } = za({
175
+ }), pe.value = !1, xe.value = !0), Ee(C.dataset) || (xe.value = e.value.loading), e.value.responsive)) {
176
+ const t = Ea(() => {
177
+ const { width: l, height: a } = Ia({
178
178
  chart: I.value,
179
- title: e.value.style.chart.title.text ? Ge.value : null,
179
+ title: e.value.style.chart.title.text ? Ue.value : null,
180
180
  legend: e.value.style.chart.legend.show ? ye.value : null,
181
- source: Xe.value,
181
+ source: Ge.value,
182
182
  noTitle: We.value
183
183
  });
184
- qt.value = a / 3, requestAnimationFrame(async () => {
185
- G.value = a, V.value = l;
184
+ Kt.value = a / 3, requestAnimationFrame(async () => {
185
+ X.value = a, M.value = l;
186
186
  });
187
187
  });
188
- X.value && (H.value && X.value.unobserve(H.value), X.value.disconnect()), X.value = new ResizeObserver(t), Oe(() => {
189
- H.value = I.value?.parentNode, H.value && X.value.observe(H.value);
188
+ U.value && (W.value && U.value.unobserve(W.value), U.value.disconnect()), U.value = new ResizeObserver(t), Ne(() => {
189
+ W.value = I.value?.parentNode, W.value && U.value.observe(W.value);
190
190
  });
191
191
  }
192
192
  }
193
- _a(() => {
194
- X.value && (H.value && X.value.unobserve(H.value), X.value.disconnect());
193
+ xa(() => {
194
+ U.value && (W.value && U.value.unobserve(W.value), U.value.disconnect());
195
195
  });
196
- const x = s({
196
+ const x = i({
197
197
  showTable: e.value.table.show,
198
198
  sortDesc: e.value.style.chart.layout.bars.sort === "desc",
199
199
  showTooltip: e.value.style.chart.tooltip.show
200
- }), lt = d(() => x.value.sortDesc), T = d(() => (qe.value.forEach((t, l) => {
200
+ }), ot = d(() => x.value.sortDesc), z = d(() => (qe.value.forEach((t, l) => {
201
201
  !t.value && !t.children && ue({
202
202
  componentName: "VueUiVerticalBar",
203
203
  type: "datasetAttributeEmpty",
@@ -219,130 +219,130 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
219
219
  });
220
220
  }));
221
221
  }), qe.value.map((t, l) => {
222
- const a = `vertical_parent_${l}_${A.value}`, o = t.children && t.children.length > 0, f = P(
223
- t.value ? t.value : o ? t.children.map((b) => b.value || 0).reduce((b, F) => b + F, 0) : 0
224
- ), _ = f >= 0 ? 1 : -1;
222
+ const a = `vertical_parent_${l}_${F.value}`, o = t.children && t.children.length > 0, p = S(
223
+ t.value ? t.value : o ? t.children.map((b) => b.value || 0).reduce((b, P) => b + P, 0) : 0
224
+ ), _ = p >= 0 ? 1 : -1;
225
225
  return {
226
226
  ...t,
227
227
  id: a,
228
228
  absoluteIndex: l,
229
229
  shape: "square",
230
230
  opacity: w.value.includes(a) ? 0.5 : 1,
231
- value: Math.abs(f),
231
+ value: Math.abs(p),
232
232
  sign: _,
233
233
  hasChildren: o,
234
234
  isChild: !1,
235
- segregate: () => q(a),
235
+ segregate: () => Y(a),
236
236
  isSegregated: w.value.includes(a),
237
- color: Ie(t.color) || tt.value[l] || Z[l] || Z[l % Z.length],
237
+ color: Ie(t.color) || at.value[l] || Z[l] || Z[l % Z.length],
238
238
  children: !t.children || !t.children.length ? [] : t.children.toSorted(
239
- ie.value ? () => 0 : (b, F) => lt.value ? F.value - b.value : b.value - F.value
240
- ).map((b, F) => ({
239
+ ie.value ? () => 0 : (b, P) => ot.value ? P.value - b.value : b.value - P.value
240
+ ).map((b, P) => ({
241
241
  ...b,
242
- value: P(Math.abs(b.value)),
242
+ value: S(Math.abs(b.value)),
243
243
  absoluteIndex: l,
244
244
  sign: b.value >= 0 ? 1 : -1,
245
245
  isChild: !0,
246
246
  parentId: a,
247
247
  parentName: t.name,
248
- parentValue: f,
248
+ parentValue: p,
249
249
  parentSign: _,
250
- id: `vertical_child_${l}_${F}_${A.value}`,
251
- childIndex: F,
252
- color: Ie(b.color) || Ie(t.color) || tt.value[l] || Z[l] || Z[l % Z.length]
253
- })).map((b, F) => ({
250
+ id: `vertical_child_${l}_${P}_${F.value}`,
251
+ childIndex: P,
252
+ color: Ie(b.color) || Ie(t.color) || at.value[l] || Z[l] || Z[l % Z.length]
253
+ })).map((b, P) => ({
254
254
  ...b,
255
- isFirstChild: F === 0,
256
- isLastChild: F === t.children.length - 1
255
+ isFirstChild: P === 0,
256
+ isLastChild: P === t.children.length - 1
257
257
  }))
258
258
  };
259
259
  }).toSorted(
260
- ie.value ? () => 0 : (t, l) => lt.value ? l.value - t.value : t.value - l.value
261
- ))), j = d(() => T.value.filter(
260
+ ie.value ? () => 0 : (t, l) => ot.value ? l.value - t.value : t.value - l.value
261
+ ))), j = d(() => z.value.filter(
262
262
  (t) => !w.value.includes(t.id)
263
- )), $ = d(() => j.value.flatMap((t) => t.hasChildren ? t.children : t)), Kt = d(() => T.value.flatMap((t) => t.hasChildren ? t.children : t)), ot = d(() => j.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0)), nt = d(() => ({
263
+ )), $ = d(() => j.value.flatMap((t) => t.hasChildren ? t.children : t)), Qt = d(() => z.value.flatMap((t) => t.hasChildren ? t.children : t)), nt = d(() => j.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0)), rt = d(() => ({
264
264
  cy: "vertical-bar-div-legend",
265
265
  backgroundColor: e.value.style.chart.legend.backgroundColor,
266
266
  color: e.value.style.chart.legend.color,
267
267
  fontSize: e.value.style.chart.legend.fontSize,
268
268
  paddingBottom: 12,
269
269
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
270
- })), S = d(() => e.value.style.chart.layout.bars.parentLabels.show ? e.value.style.chart.layout.bars.parentLabels.fontSize * 2 + 10 : 0), D = d(() => {
270
+ })), L = d(() => e.value.style.chart.layout.bars.parentLabels.show ? e.value.style.chart.layout.bars.parentLabels.fontSize * 3 + e.value.style.chart.layout.bars.parentLabels.paddingBottom : 0), A = d(() => {
271
271
  const t = [];
272
272
  let l = 0;
273
273
  return $.value.forEach((a, o) => {
274
274
  a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show && (l += 1), t[o] = l;
275
275
  }), t;
276
- }), m = d(() => {
277
- const l = Math.max(0, ...D.value) * S.value;
278
- return (G.value - 24 - (ot.value - 1) * k.value - l) / ot.value;
276
+ }), v = d(() => {
277
+ const l = Math.max(0, ...A.value) * L.value;
278
+ return (X.value - 24 - (nt.value - 1) * k.value - l) / nt.value;
279
279
  }), R = d(() => ({
280
- width: V.value,
281
- height: G.value,
280
+ width: M.value,
281
+ height: X.value,
282
282
  padding: {
283
283
  top: 12,
284
284
  left: 128 + e.value.style.chart.layout.bars.offsetX,
285
285
  right: 64 + e.value.style.chart.layout.bars.paddingRight,
286
286
  bottom: 12
287
287
  }
288
- })), Ae = s(0);
289
- function rt() {
290
- Oe(() => {
288
+ })), Ae = i(0);
289
+ function ut() {
290
+ Ne(() => {
291
291
  if (!ke.value) {
292
292
  Ae.value = 0;
293
293
  return;
294
294
  }
295
295
  const l = Array.from(ke.value.querySelectorAll("text")).reduce((a, o) => {
296
- const f = o.getBBox?.().width ?? o.getComputedTextLength();
297
- return f > a ? f : a;
296
+ const p = o.getBBox?.().width ?? o.getComputedTextLength();
297
+ return p > a ? p : a;
298
298
  }, 0);
299
299
  Ae.value = l + 12;
300
300
  });
301
301
  }
302
- ae(
302
+ le(
303
303
  () => [
304
304
  $.value,
305
- V.value,
306
- G.value,
305
+ M.value,
306
+ X.value,
307
307
  e.value.style.chart.layout.bars.nameLabels,
308
308
  e.value.style.chart.layout.bars.offsetX
309
309
  ],
310
- () => rt(),
310
+ () => ut(),
311
311
  { deep: !0 }
312
- ), Ne(() => {
313
- rt();
312
+ ), Be(() => {
313
+ ut();
314
314
  });
315
315
  function de() {
316
- Oe(() => {
317
- ne.value = 0, ee.value = 0, requestAnimationFrame(() => {
316
+ Ne(() => {
317
+ re.value = 0, ee.value = 0, requestAnimationFrame(() => {
318
318
  if (!_e.value) {
319
- ne.value = 0, ee.value = 0;
319
+ re.value = 0, ee.value = 0;
320
320
  return;
321
321
  }
322
322
  const t = Array.from(
323
323
  _e.value.querySelectorAll("text")
324
324
  );
325
325
  if (!t.length) {
326
- ne.value = 0, ee.value = 0;
326
+ re.value = 0, ee.value = 0;
327
327
  return;
328
328
  }
329
329
  let l = 1 / 0, a = 0;
330
- t.forEach((ya) => {
331
- const Be = ya.getBBox(), ft = Be.x, bt = Be.x + Be.width;
332
- ft < l && (l = ft), bt > a && (a = bt);
330
+ t.forEach((ma) => {
331
+ const De = ma.getBBox(), gt = De.x, yt = De.x + De.width;
332
+ gt < l && (l = gt), yt > a && (a = yt);
333
333
  });
334
- const o = 0, f = V.value, _ = 24, b = Math.max(0, o - l + _), F = Math.max(0, a - f + _);
335
- ee.value = b, ne.value = F;
334
+ const o = 0, p = M.value, _ = 24, b = Math.max(0, o - l + _), P = Math.max(0, a - p + _);
335
+ ee.value = b, re.value = P;
336
336
  });
337
337
  });
338
338
  }
339
- ae(w, () => de(), { deep: !0 }), ae(
340
- () => [$.value, V.value, G.value],
339
+ le(w, () => de(), { deep: !0 }), le(
340
+ () => [$.value, M.value, X.value],
341
341
  () => de(),
342
342
  { deep: !0 }
343
- ), Ne(() => de());
343
+ ), Be(() => de());
344
344
  const c = d(() => {
345
- const t = Ae.value + Math.abs(e.value.style.chart.layout.bars.nameLabels.offsetX) + ee.value + e.value.style.chart.layout.bars.offsetX, l = R.value.width - R.value.padding.right, a = Math.max(0, l - t - ne.value - ee.value - e.value.style.chart.layout.bars.offsetX);
345
+ const t = Ae.value + Math.abs(e.value.style.chart.layout.bars.nameLabels.offsetX) + ee.value + e.value.style.chart.layout.bars.offsetX, l = R.value.width - R.value.padding.right, a = Math.max(0, l - t - re.value - ee.value - e.value.style.chart.layout.bars.offsetX);
346
346
  return {
347
347
  top: R.value.padding.top,
348
348
  bottom: R.value.padding.top + R.value.height,
@@ -352,54 +352,54 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
352
352
  fullHeight: R.value.padding.top + R.value.padding.bottom + R.value.height
353
353
  };
354
354
  });
355
- async function q(t) {
355
+ async function Y(t) {
356
356
  if (w.value.includes(t))
357
357
  w.value = w.value.filter((l) => l !== t);
358
358
  else {
359
- if (w.value.length === T.value.length - 1) return;
359
+ if (w.value.length === z.value.length - 1) return;
360
360
  w.value.push(t);
361
361
  }
362
- Xt("selectLegend", j.value), de();
362
+ Wt("selectLegend", j.value), de();
363
363
  }
364
- function ut(t) {
365
- if (!T.value.length)
364
+ function st(t) {
365
+ if (!z.value.length)
366
366
  return e.value.debug && console.warn("VueUiHorizontalBar - There are no series to show."), null;
367
- const l = T.value.find((a) => a.name === t);
367
+ const l = z.value.find((a) => a.name === t);
368
368
  return l || (e.value.debug && console.warn(`VueUiHorizontalBar - Series name not found "${t}"`), null);
369
369
  }
370
- function Jt(t) {
371
- const l = ut(t);
372
- l !== null && w.value.includes(l.id) && q(l.id);
370
+ function Zt(t) {
371
+ const l = st(t);
372
+ l !== null && w.value.includes(l.id) && Y(l.id);
373
373
  }
374
- function Qt(t) {
375
- const l = ut(t);
376
- l !== null && (w.value.includes(l.id) || q(l.id));
374
+ function ea(t) {
375
+ const l = st(t);
376
+ l !== null && (w.value.includes(l.id) || Y(l.id));
377
377
  }
378
- const M = d(() => j.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
379
- function st(t, l = !1, a = 0) {
380
- return l ? W({
381
- v: P(Math.abs(t) / M.value * 100),
378
+ const V = d(() => j.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
379
+ function it(t, l = !1, a = 0) {
380
+ return l ? G({
381
+ v: S(Math.abs(t) / V.value * 100),
382
382
  s: "%",
383
383
  r: a
384
- }) : Math.abs(t) / M.value;
384
+ }) : Math.abs(t) / V.value;
385
385
  }
386
- const Y = d(() => $.value.map((t) => t.sign).includes(-1)), Zt = d(() => Math.max(
386
+ const q = d(() => $.value.map((t) => t.sign).includes(-1)), ta = d(() => Math.max(
387
387
  ...j.value.flatMap((t) => t.children && t.children.length ? Math.max(...t.children.map((l) => l.value)) : t.value)
388
388
  ));
389
- function L(t) {
390
- const l = t / Zt.value;
391
- return c.value.width / (Y.value ? 2 : 1) * l;
389
+ function T(t) {
390
+ const l = t / ta.value;
391
+ return c.value.width / (q.value ? 2 : 1) * l;
392
392
  }
393
- function ea(t) {
394
- return L(t) + c.value.left;
393
+ function aa(t) {
394
+ return T(t) + c.value.left;
395
395
  }
396
- function re(t, l) {
396
+ function te(t, l) {
397
397
  const a = j.value.find((b) => b.id === t.parentId);
398
398
  return {
399
- y: c.value.top + (k.value + m.value) * l + D.value[l] * S.value - S.value + e.value.style.chart.layout.bars.parentLabels.fontSize,
399
+ y: c.value.top + (k.value + v.value) * l + A.value[l] * L.value - L.value + e.value.style.chart.layout.bars.parentLabels.fontSize,
400
400
  name: a.name,
401
401
  value: [void 0, NaN, null].includes(a.value) ? "" : a.sign === 1 ? a.value : -a.value,
402
- percentageToTotal: isNaN(a.value / M.value) ? "" : st(
402
+ percentageToTotal: isNaN(a.value / V.value) ? "" : it(
403
403
  a.value,
404
404
  !0,
405
405
  e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage
@@ -407,88 +407,88 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
407
407
  sign: a.sign
408
408
  };
409
409
  }
410
- function ta() {
410
+ function la() {
411
411
  return j.value;
412
412
  }
413
- function aa(t, l) {
414
- return re(t, l).name;
413
+ function ct(t, l) {
414
+ return te(t, l).name;
415
415
  }
416
- function la(t, l) {
417
- const a = re(t, l);
418
- return it(a.value, a, l, t.parentSign || t.sign);
416
+ function oa(t, l) {
417
+ const a = te(t, l);
418
+ return dt(a.value, a, l, t.parentSign || t.sign);
419
419
  }
420
- const Te = s(null), Se = s(null);
421
- function oa({ datapoint: t, seriesIndex: l }) {
420
+ const Te = i(null), Se = i(null);
421
+ function na({ datapoint: t, seriesIndex: l }) {
422
422
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: l });
423
423
  }
424
- function na({ datapoint: t, seriesIndex: l }) {
425
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: l }), Mt.value = null, be.value = !1, Te.value = null;
424
+ function ra({ datapoint: t, seriesIndex: l }) {
425
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: l }), Ht.value = null, be.value = !1, Te.value = null;
426
426
  }
427
- function ra(t, l) {
427
+ function ua(t, l) {
428
428
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datpoint: t, seriesIndex: l }), Se.value = {
429
429
  datapoint: t,
430
430
  seriesIndex: l,
431
- series: T.value,
431
+ series: z.value,
432
432
  config: e.value
433
433
  }, be.value = !0, Te.value = t.id;
434
434
  let a = "";
435
- const o = t.isChild ? t.parentName : t.name, f = t.isChild ? t.name : "", _ = e.value.style.chart.tooltip.customFormat;
436
- Ba(_) && Na(
435
+ const o = t.isChild ? t.parentName : t.name, p = t.isChild ? t.name : "", _ = e.value.style.chart.tooltip.customFormat;
436
+ Na(_) && Oa(
437
437
  () => _({
438
438
  datapoint: t,
439
- series: T.value,
439
+ series: z.value,
440
440
  config: e.value,
441
441
  seriesIndex: l
442
442
  })
443
443
  ) ? ge.value = _({
444
444
  datapoint: t,
445
- series: T.value,
445
+ series: z.value,
446
446
  config: e.value,
447
447
  seriesIndex: l
448
448
  }) : (a += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;text-align:left;">
449
- <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="${t.color}"/>${Vt.pattern ? `<rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="url(#pattern_${A.value}_${t.absoluteIndex})"/>` : ""}</svg> ${o}</div>
450
- ${f ? `<div>${f}</div>` : ""}
449
+ <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="${t.color}"/>${Rt.pattern ? `<rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="url(#pattern_${F.value}_${t.absoluteIndex})"/>` : ""}</svg> ${o}</div>
450
+ ${p ? `<div>${p}</div>` : ""}
451
451
  </div>`, e.value.style.chart.tooltip.showValue && (a += `<div>${e.value.translations.value}: <b>${se(
452
452
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
453
453
  t.sign === 1 ? t.value : -t.value,
454
- W({
454
+ G({
455
455
  p: e.value.style.chart.tooltip.prefix,
456
456
  v: t.sign === 1 ? t.value : -t.value,
457
457
  s: e.value.style.chart.tooltip.suffix,
458
458
  r: e.value.style.chart.tooltip.roundingValue
459
459
  }),
460
460
  { datapoint: t, seriesIndex: l }
461
- )}</b></div>`), e.value.style.chart.tooltip.showPercentage && (a += `<div>${e.value.translations.percentageToTotal} : <b>${W({
462
- v: Math.abs(t.value) / M.value * 100,
461
+ )}</b></div>`), e.value.style.chart.tooltip.showPercentage && (a += `<div>${e.value.translations.percentageToTotal} : <b>${G({
462
+ v: Math.abs(t.value) / V.value * 100,
463
463
  s: "%",
464
464
  r: e.value.style.chart.tooltip.roundingPercentage
465
- })}</b></div>`, t.isChild && (a += `<div>${e.value.translations.percentageToSerie}: <b>${W({
465
+ })}</b></div>`, t.isChild && (a += `<div>${e.value.translations.percentageToSerie}: <b>${G({
466
466
  v: Math.abs(t.value) / Math.abs(t.parentValue) * 100,
467
467
  s: "%",
468
468
  r: e.value.style.chart.tooltip.roundingPercentage
469
469
  })}</b></div>`)), ge.value = `<div style="text-align:left">${a}</div>`);
470
470
  }
471
- function it(t, l, a, o) {
471
+ function dt(t, l, a, o) {
472
472
  if (!e.value.style.chart.layout.bars.dataLabels.value.show)
473
473
  return "";
474
- const f = se(
474
+ const p = se(
475
475
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
476
- P(o === -1 && t >= 0 ? -t : t),
477
- W({
476
+ S(o === -1 && t >= 0 ? -t : t),
477
+ G({
478
478
  p: e.value.style.chart.layout.bars.dataLabels.value.prefix,
479
- v: P(o === -1 && t >= 0 ? -t : t),
479
+ v: S(o === -1 && t >= 0 ? -t : t),
480
480
  s: e.value.style.chart.layout.bars.dataLabels.value.suffix,
481
481
  r: e.value.style.chart.layout.bars.dataLabels.value.roundingValue
482
482
  }),
483
483
  { datapoint: l, seriesIndex: a }
484
- ), _ = `(${st(
484
+ ), _ = `(${it(
485
485
  t,
486
486
  !0,
487
487
  e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage
488
488
  )})`;
489
- return `${f}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${_}` : ""}`;
489
+ return `${p}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${_}` : ""}`;
490
490
  }
491
- const B = d(() => {
491
+ const D = d(() => {
492
492
  const t = [
493
493
  e.value.translations.parentName,
494
494
  e.value.translations.value,
@@ -501,11 +501,11 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
501
501
  color: a.color,
502
502
  parentName: a.parentName,
503
503
  parentValue: a.parentValue,
504
- percentageToTotal: a.parentValue / M.value,
504
+ percentageToTotal: a.parentValue / V.value,
505
505
  childName: a.name,
506
506
  childValue: a.sign === 1 ? a.value : -a.value,
507
507
  childPercentageToParent: Math.abs(a.value) / Math.abs(a.parentValue),
508
- childPercentageToTotal: Math.abs(a.value) / M.value
508
+ childPercentageToTotal: Math.abs(a.value) / V.value
509
509
  } : {
510
510
  color: "",
511
511
  parentName: "",
@@ -514,12 +514,12 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
514
514
  childName: a.name,
515
515
  childValue: a.sign === 1 ? a.value : -a.value,
516
516
  childPercentageToParent: Math.abs(a.value) / Math.abs(a.parentValue),
517
- childPercentageToTotal: Math.abs(a.value) / M.value
517
+ childPercentageToTotal: Math.abs(a.value) / V.value
518
518
  } : {
519
519
  color: a.color,
520
520
  parentName: a.name,
521
521
  parentValue: a.sign === 1 ? a.value : -a.value,
522
- percentageToTotal: Math.abs(a.value) / M.value,
522
+ percentageToTotal: Math.abs(a.value) / V.value,
523
523
  childName: "",
524
524
  childValue: "",
525
525
  childPercentageToParent: "",
@@ -532,7 +532,7 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
532
532
  [e.value.style.chart.title.text],
533
533
  [e.value.style.chart.title.subtitle.text],
534
534
  [""]
535
- ], a = B.value.head, o = B.value.body.map((b) => [
535
+ ], a = D.value.head, o = D.value.body.map((b) => [
536
536
  b.parentName,
537
537
  b.parentValue,
538
538
  b.percentageToTotal,
@@ -540,20 +540,20 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
540
540
  b.childValue,
541
541
  b.childPercentageToParent,
542
542
  b.childPercentageToTotal
543
- ]), f = l.concat([a]).concat(o), _ = Pa(f);
544
- t ? t(_) : Da({
543
+ ]), p = l.concat([a]).concat(o), _ = Da(p);
544
+ t ? t(_) : Ba({
545
545
  csvContent: _,
546
546
  title: e.value.style.chart.title.text || "vue-ui-vertical-bar"
547
547
  });
548
548
  }
549
- const K = s(!1);
550
- function ct(t) {
551
- K.value = t, Ue.value += 1;
549
+ const K = i(!1);
550
+ function vt(t) {
551
+ K.value = t, Xe.value += 1;
552
552
  }
553
- function dt() {
553
+ function ht() {
554
554
  x.value.showTable = !x.value.showTable;
555
555
  }
556
- Ne(() => {
556
+ Be(() => {
557
557
  ["none", "asc", "desc"].includes(
558
558
  e.value.style.chart.layout.bars.sort
559
559
  ) || ue({
@@ -561,31 +561,31 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
561
561
  type: "attributeWrongValue",
562
562
  property: "style.chart.layout.bars.sort",
563
563
  key: e.value.style.chart.layout.bars.sort
564
- }), U.value = Gt.value[e.value.style.chart.layout.bars.sort], x.value.sortDesc = U.value === 2, ie.value = U.value === 0;
564
+ }), H.value = Gt.value[e.value.style.chart.layout.bars.sort], x.value.sortDesc = H.value === 2, ie.value = H.value === 0;
565
565
  });
566
- function ua() {
567
- U.value += 1, U.value > 2 && (U.value = 0);
566
+ function sa() {
567
+ H.value += 1, H.value > 2 && (H.value = 0);
568
568
  }
569
- function vt() {
570
- ua(), x.value.sortDesc = U.value === 2, ie.value = U.value === 0;
569
+ function ft() {
570
+ sa(), x.value.sortDesc = H.value === 2, ie.value = H.value === 0;
571
571
  }
572
- function ht() {
572
+ function pt() {
573
573
  x.value.showTooltip = !x.value.showTooltip;
574
574
  }
575
- const ve = s(!1);
576
- function Pe() {
575
+ const ve = i(!1);
576
+ function ze() {
577
577
  ve.value = !ve.value;
578
578
  }
579
- async function sa({ scale: t = 2 } = {}) {
579
+ async function ia({ scale: t = 2 } = {}) {
580
580
  if (!I.value) return;
581
- const { width: l, height: a } = I.value.getBoundingClientRect(), o = l / a, { imageUri: f, base64: _ } = await qa({
581
+ const { width: l, height: a } = I.value.getBoundingClientRect(), o = l / a, { imageUri: p, base64: _ } = await Ka({
582
582
  domElement: I.value,
583
583
  base64: !0,
584
584
  img: !0,
585
585
  scale: t
586
586
  });
587
587
  return {
588
- imageUri: f,
588
+ imageUri: p,
589
589
  base64: _,
590
590
  title: e.value.style.chart.title.text,
591
591
  width: l,
@@ -596,7 +596,7 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
596
596
  const he = d(() => {
597
597
  const t = e.value.table.useDialog && !e.value.table.show, l = x.value.showTable;
598
598
  return {
599
- component: t ? Ot : Ha,
599
+ component: t ? Et : Ya,
600
600
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
601
601
  props: t ? {
602
602
  backgroundColor: e.value.table.th.backgroundColor,
@@ -623,23 +623,23 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
623
623
  }
624
624
  };
625
625
  });
626
- ae(
626
+ le(
627
627
  () => x.value.showTable,
628
628
  (t) => {
629
- e.value.table.show || (t && e.value.table.useDialog && oe.value ? oe.value.open() : "close" in oe.value && oe.value.close());
629
+ e.value.table.show || (t && e.value.table.useDialog && ne.value ? ne.value.open() : "close" in ne.value && ne.value.close());
630
630
  }
631
631
  );
632
- const { isResponsive: ia } = Ga(at, jt);
633
- function De() {
632
+ const { isResponsive: ca } = Ga(lt, qt);
633
+ function Pe() {
634
634
  x.value.showTable = !1, Ce.value && Ce.value.setTableIconState(!1);
635
635
  }
636
- const ca = d(() => T.value.map((t, l) => ({
636
+ const da = d(() => z.value.map((t, l) => ({
637
637
  ...t,
638
638
  shape: "square",
639
639
  display: `${t.name}: ${se(
640
640
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
641
641
  t.value,
642
- W({
642
+ G({
643
643
  p: e.value.style.chart.legend.prefix,
644
644
  v: t.value,
645
645
  s: e.value.style.chart.legend.suffix,
@@ -647,79 +647,79 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
647
647
  }),
648
648
  { datapoint: t, seriesIndex: l }
649
649
  )}`
650
- }))), da = d(() => e.value.style.chart.backgroundColor), va = d(() => e.value.style.chart.legend), ha = d(() => e.value.style.chart.title), pa = d(() => ca.value.map((t) => ({
650
+ }))), va = d(() => e.value.style.chart.backgroundColor), ha = d(() => e.value.style.chart.legend), fa = d(() => e.value.style.chart.title), pa = d(() => da.value.map((t) => ({
651
651
  ...t,
652
652
  name: t.display
653
- }))), { exportSvg: fa, getSvg: ba } = Ra({
653
+ }))), { exportSvg: ba, getSvg: ga } = Xa({
654
654
  svg: $e,
655
- title: ha,
656
- legend: va,
655
+ title: fa,
656
+ legend: ha,
657
657
  legendItems: pa,
658
- backgroundColor: da
658
+ backgroundColor: va
659
659
  });
660
- async function pt({ isCb: t }) {
660
+ async function bt({ isCb: t }) {
661
661
  if (t) {
662
- const { blob: l, url: a, text: o, dataUrl: f } = await ba();
663
- e.value.userOptions.callbacks.svg({ blob: l, url: a, text: o, dataUrl: f });
662
+ const { blob: l, url: a, text: o, dataUrl: p } = await ga();
663
+ e.value.userOptions.callbacks.svg({ blob: l, url: a, text: o, dataUrl: p });
664
664
  } else
665
- fa();
665
+ ba();
666
666
  }
667
- function ga() {
667
+ function ya() {
668
668
  console.warn("[autoSize]: this legacy method can be safely removed as it ha no impact.");
669
669
  }
670
- return St({
671
- autoSize: ga,
672
- getData: ta,
673
- getImage: sa,
674
- generatePdf: Ze,
670
+ return zt({
671
+ autoSize: ya,
672
+ getData: la,
673
+ getImage: ia,
674
+ generatePdf: et,
675
675
  generateCsv: Fe,
676
- generateImage: et,
677
- generateSvg: pt,
678
- hideSeries: Qt,
679
- showSeries: Jt,
680
- toggleTable: dt,
681
- toggleSort: vt,
682
- toggleTooltip: ht,
683
- toggleAnnotator: Pe,
684
- toggleFullscreen: ct
676
+ generateImage: tt,
677
+ generateSvg: bt,
678
+ hideSeries: ea,
679
+ showSeries: Zt,
680
+ toggleTable: ht,
681
+ toggleSort: ft,
682
+ toggleTooltip: pt,
683
+ toggleAnnotator: ze,
684
+ toggleFullscreen: vt
685
685
  }), (t, l) => (n(), u("div", {
686
686
  class: J(`vue-data-ui-component vue-ui-vertical-bar ${K.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${e.value.responsive ? "vue-ui-vertical-bar-autosize" : ""}`),
687
687
  ref_key: "verticalBarChart",
688
688
  ref: I,
689
- id: `vue-ui-vertical-bar_${A.value}`,
689
+ id: `vue-ui-vertical-bar_${F.value}`,
690
690
  style: h(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};height:100%`),
691
- onMouseenter: l[3] || (l[3] = () => i(Ye)(!0)),
692
- onMouseleave: l[4] || (l[4] = () => i(Ye)(!1))
691
+ onMouseenter: l[3] || (l[3] = () => s(Ke)(!0)),
692
+ onMouseleave: l[4] || (l[4] = () => s(Ke)(!1))
693
693
  }, [
694
- e.value.userOptions.buttons.annotator ? (n(), Q(i(Dt), {
694
+ e.value.userOptions.buttons.annotator ? (n(), Q(s(Bt), {
695
695
  key: 0,
696
- svgRef: i($e),
696
+ svgRef: s($e),
697
697
  backgroundColor: e.value.style.chart.backgroundColor,
698
698
  color: e.value.style.chart.color,
699
699
  active: ve.value,
700
- onClose: Pe
700
+ onClose: ze
701
701
  }, {
702
- "annotator-action-close": p(() => [
702
+ "annotator-action-close": f(() => [
703
703
  g(t.$slots, "annotator-action-close", {}, void 0, !0)
704
704
  ]),
705
- "annotator-action-color": p(({ color: a }) => [
706
- g(t.$slots, "annotator-action-color", N(O({ color: a })), void 0, !0)
705
+ "annotator-action-color": f(({ color: a }) => [
706
+ g(t.$slots, "annotator-action-color", B(N({ color: a })), void 0, !0)
707
707
  ]),
708
- "annotator-action-draw": p(({ mode: a }) => [
709
- g(t.$slots, "annotator-action-draw", N(O({ mode: a })), void 0, !0)
708
+ "annotator-action-draw": f(({ mode: a }) => [
709
+ g(t.$slots, "annotator-action-draw", B(N({ mode: a })), void 0, !0)
710
710
  ]),
711
- "annotator-action-undo": p(({ disabled: a }) => [
712
- g(t.$slots, "annotator-action-undo", N(O({ disabled: a })), void 0, !0)
711
+ "annotator-action-undo": f(({ disabled: a }) => [
712
+ g(t.$slots, "annotator-action-undo", B(N({ disabled: a })), void 0, !0)
713
713
  ]),
714
- "annotator-action-redo": p(({ disabled: a }) => [
715
- g(t.$slots, "annotator-action-redo", N(O({ disabled: a })), void 0, !0)
714
+ "annotator-action-redo": f(({ disabled: a }) => [
715
+ g(t.$slots, "annotator-action-redo", B(N({ disabled: a })), void 0, !0)
716
716
  ]),
717
- "annotator-action-delete": p(({ disabled: a }) => [
718
- g(t.$slots, "annotator-action-delete", N(O({ disabled: a })), void 0, !0)
717
+ "annotator-action-delete": f(({ disabled: a }) => [
718
+ g(t.$slots, "annotator-action-delete", B(N({ disabled: a })), void 0, !0)
719
719
  ]),
720
720
  _: 3
721
721
  }, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
722
- Ht.value ? (n(), u("div", {
722
+ Yt.value ? (n(), u("div", {
723
723
  key: 1,
724
724
  ref_key: "noTitle",
725
725
  ref: We,
@@ -729,11 +729,11 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
729
729
  e.value.style.chart.title.text ? (n(), u("div", {
730
730
  key: 2,
731
731
  ref_key: "chartTitle",
732
- ref: Ge,
732
+ ref: Ue,
733
733
  style: "width:100%;background:transparent;padding-bottom:12px"
734
734
  }, [
735
- (n(), Q(ja, {
736
- key: `title_${He.value}`,
735
+ (n(), Q(qa, {
736
+ key: `title_${je.value}`,
737
737
  config: {
738
738
  title: {
739
739
  cy: "vertical-bar-div-title",
@@ -746,15 +746,15 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
746
746
  }
747
747
  }, null, 8, ["config"]))
748
748
  ], 512)) : y("", !0),
749
- e.value.userOptions.show && fe.value && (i(Ke) || i(we)) ? (n(), Q(i(Bt), {
749
+ e.value.userOptions.show && pe.value && (s(Je) || s(we)) ? (n(), Q(s(Nt), {
750
750
  ref_key: "userOptionsRef",
751
751
  ref: Ce,
752
- key: `user_options_${Ue.value}`,
752
+ key: `user_options_${Xe.value}`,
753
753
  backgroundColor: e.value.style.chart.backgroundColor,
754
754
  color: e.value.style.chart.color,
755
- isImaging: i(Qe),
756
- isPrinting: i(Je),
757
- uid: A.value,
755
+ isImaging: s(Ze),
756
+ isPrinting: s(Qe),
757
+ uid: F.value,
758
758
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
759
759
  hasPdf: e.value.userOptions.buttons.pdf,
760
760
  hasImg: e.value.userOptions.buttons.img,
@@ -773,93 +773,93 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
773
773
  callbacks: e.value.userOptions.callbacks,
774
774
  printScale: e.value.userOptions.print.scale,
775
775
  tableDialog: e.value.table.useDialog,
776
- onToggleFullscreen: ct,
777
- onGeneratePdf: i(Ze),
776
+ onToggleFullscreen: vt,
777
+ onGeneratePdf: s(et),
778
778
  onGenerateCsv: Fe,
779
- onGenerateImage: i(et),
780
- onGenerateSvg: pt,
781
- onToggleTable: dt,
782
- onToggleSort: vt,
783
- onToggleTooltip: ht,
784
- onToggleAnnotator: Pe,
779
+ onGenerateImage: s(tt),
780
+ onGenerateSvg: bt,
781
+ onToggleTable: ht,
782
+ onToggleSort: ft,
783
+ onToggleTooltip: pt,
784
+ onToggleAnnotator: ze,
785
785
  style: h({
786
- visibility: i(Ke) ? i(we) ? "visible" : "hidden" : "visible"
786
+ visibility: s(Je) ? s(we) ? "visible" : "hidden" : "visible"
787
787
  })
788
- }, pe({ _: 2 }, [
788
+ }, fe({ _: 2 }, [
789
789
  t.$slots.menuIcon ? {
790
790
  name: "menuIcon",
791
- fn: p(({ isOpen: a, color: o }) => [
792
- g(t.$slots, "menuIcon", N(O({ isOpen: a, color: o })), void 0, !0)
791
+ fn: f(({ isOpen: a, color: o }) => [
792
+ g(t.$slots, "menuIcon", B(N({ isOpen: a, color: o })), void 0, !0)
793
793
  ]),
794
794
  key: "0"
795
795
  } : void 0,
796
796
  t.$slots.optionTooltip ? {
797
797
  name: "optionTooltip",
798
- fn: p(() => [
798
+ fn: f(() => [
799
799
  g(t.$slots, "optionTooltip", {}, void 0, !0)
800
800
  ]),
801
801
  key: "1"
802
802
  } : void 0,
803
803
  t.$slots.optionPdf ? {
804
804
  name: "optionPdf",
805
- fn: p(() => [
805
+ fn: f(() => [
806
806
  g(t.$slots, "optionPdf", {}, void 0, !0)
807
807
  ]),
808
808
  key: "2"
809
809
  } : void 0,
810
810
  t.$slots.optionCsv ? {
811
811
  name: "optionCsv",
812
- fn: p(() => [
812
+ fn: f(() => [
813
813
  g(t.$slots, "optionCsv", {}, void 0, !0)
814
814
  ]),
815
815
  key: "3"
816
816
  } : void 0,
817
817
  t.$slots.optionImg ? {
818
818
  name: "optionImg",
819
- fn: p(() => [
819
+ fn: f(() => [
820
820
  g(t.$slots, "optionImg", {}, void 0, !0)
821
821
  ]),
822
822
  key: "4"
823
823
  } : void 0,
824
824
  t.$slots.optionSvg ? {
825
825
  name: "optionSvg",
826
- fn: p(() => [
826
+ fn: f(() => [
827
827
  g(t.$slots, "optionSvg", {}, void 0, !0)
828
828
  ]),
829
829
  key: "5"
830
830
  } : void 0,
831
831
  t.$slots.optionTable ? {
832
832
  name: "optionTable",
833
- fn: p(() => [
833
+ fn: f(() => [
834
834
  g(t.$slots, "optionTable", {}, void 0, !0)
835
835
  ]),
836
836
  key: "6"
837
837
  } : void 0,
838
838
  t.$slots.optionLabels ? {
839
839
  name: "optionLabels",
840
- fn: p(() => [
840
+ fn: f(() => [
841
841
  g(t.$slots, "optionLabels", {}, void 0, !0)
842
842
  ]),
843
843
  key: "7"
844
844
  } : void 0,
845
845
  t.$slots.optionSort ? {
846
846
  name: "optionSort",
847
- fn: p(() => [
847
+ fn: f(() => [
848
848
  g(t.$slots, "optionSort", {}, void 0, !0)
849
849
  ]),
850
850
  key: "8"
851
851
  } : void 0,
852
852
  t.$slots.optionFullscreen ? {
853
853
  name: "optionFullscreen",
854
- fn: p(({ toggleFullscreen: a, isFullscreen: o }) => [
855
- g(t.$slots, "optionFullscreen", N(O({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
854
+ fn: f(({ toggleFullscreen: a, isFullscreen: o }) => [
855
+ g(t.$slots, "optionFullscreen", B(N({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
856
856
  ]),
857
857
  key: "9"
858
858
  } : void 0,
859
859
  t.$slots.optionAnnotator ? {
860
860
  name: "optionAnnotator",
861
- fn: p(({ toggleAnnotator: a, isAnnotator: o }) => [
862
- g(t.$slots, "optionAnnotator", N(O({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
861
+ fn: f(({ toggleAnnotator: a, isAnnotator: o }) => [
862
+ g(t.$slots, "optionAnnotator", B(N({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
863
863
  ]),
864
864
  key: "10"
865
865
  } : void 0
@@ -869,39 +869,39 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
869
869
  ref_key: "chartLegend",
870
870
  ref: ye
871
871
  }, [
872
- (n(), Q(mt, {
872
+ (n(), Q(kt, {
873
873
  key: `legend_top_${me.value}`,
874
- legendSet: T.value,
875
- config: nt.value,
876
- onClickMarker: l[0] || (l[0] = ({ legend: a }) => q(a.id))
877
- }, pe({
878
- item: p(({ legend: a, index: o }) => [
874
+ legendSet: z.value,
875
+ config: rt.value,
876
+ onClickMarker: l[0] || (l[0] = ({ legend: a }) => Y(a.id))
877
+ }, fe({
878
+ item: f(({ legend: a, index: o }) => [
879
879
  r("div", {
880
- onClick: (f) => q(a.id),
880
+ onClick: (p) => Y(a.id),
881
881
  style: h(`opacity:${w.value.includes(a.id) ? 0.5 : 1}`)
882
- }, v(a.name) + ": " + v(i(se)(
882
+ }, m(a.name) + ": " + m(s(se)(
883
883
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
884
884
  a.value,
885
- i(W)({
885
+ s(G)({
886
886
  p: e.value.style.chart.legend.prefix,
887
887
  v: a.value,
888
888
  s: e.value.style.chart.legend.suffix,
889
889
  r: e.value.style.chart.legend.roundingValue
890
890
  }),
891
891
  { datapoint: a, seriesIndex: o }
892
- )), 13, Ja)
892
+ )), 13, Za)
893
893
  ]),
894
894
  _: 2
895
895
  }, [
896
896
  t.$slots.pattern ? {
897
897
  name: "legend-pattern",
898
- fn: p(({ legend: a, index: o }) => [
899
- le(Ct, {
898
+ fn: f(({ legend: a, index: o }) => [
899
+ oe(_t, {
900
900
  shape: a.shape,
901
901
  radius: 30,
902
902
  stroke: "none",
903
903
  plot: { x: 30, y: 30 },
904
- fill: `url(#pattern_${A.value}_${o})`
904
+ fill: `url(#pattern_${F.value}_${o})`
905
905
  }, null, 8, ["shape", "fill"])
906
906
  ]),
907
907
  key: "0"
@@ -911,85 +911,85 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
911
911
  (n(), u("svg", {
912
912
  ref_key: "svgRef",
913
913
  ref: $e,
914
- xmlns: i(Sa),
914
+ xmlns: s(Fa),
915
915
  class: J({
916
916
  "vue-data-ui-fullscreen--on": K.value,
917
917
  "vue-data-ui-fulscreen--off": !K.value
918
918
  }),
919
- viewBox: `0 0 ${V.value} ${G.value}`,
919
+ viewBox: `0 0 ${M.value} ${X.value}`,
920
920
  style: h(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
921
921
  }, [
922
922
  r("g", {
923
923
  ref_key: "G",
924
- ref: Rt,
924
+ ref: Xt,
925
925
  class: "vue-data-ui-g"
926
926
  }, [
927
- le(i(Nt)),
927
+ oe(s(Ot)),
928
928
  t.$slots["chart-background"] ? (n(), u("foreignObject", {
929
929
  key: 0,
930
930
  x: 0,
931
931
  y: 0,
932
- width: V.value,
933
- height: G.value,
932
+ width: M.value,
933
+ height: X.value,
934
934
  style: {
935
935
  pointerEvents: "none"
936
936
  }
937
937
  }, [
938
938
  g(t.$slots, "chart-background", {}, void 0, !0)
939
- ], 8, Za)) : y("", !0),
940
- (n(!0), u(z, null, E($.value, (a, o) => (n(), u("linearGradient", {
939
+ ], 8, tl)) : y("", !0),
940
+ (n(!0), u(O, null, E($.value, (a, o) => (n(), u("linearGradient", {
941
941
  x1: "0%",
942
942
  y1: "0%",
943
943
  x2: "100%",
944
944
  y2: "0%",
945
- id: `vertical_bar_gradient_${A.value}_${o}`
945
+ id: `vertical_bar_gradient_${F.value}_${o}`
946
946
  }, [
947
947
  r("stop", {
948
948
  offset: "0%",
949
949
  "stop-color": a.color
950
- }, null, 8, tl),
950
+ }, null, 8, ll),
951
951
  r("stop", {
952
952
  offset: "100%",
953
- "stop-color": i(Ve)(
954
- i(Fa)(a.color, 0.03),
953
+ "stop-color": s(Me)(
954
+ s(za)(a.color, 0.03),
955
955
  100 - e.value.style.chart.layout.bars.gradientIntensity
956
956
  )
957
- }, null, 8, al)
958
- ], 8, el))), 256)),
959
- t.$slots.pattern ? (n(), u("g", ll, [
960
- (n(!0), u(z, null, E($.value, (a) => (n(), u("defs", null, [
961
- g(t.$slots, "pattern", gt({ ref_for: !0 }, {
957
+ }, null, 8, ol)
958
+ ], 8, al))), 256)),
959
+ t.$slots.pattern ? (n(), u("g", nl, [
960
+ (n(!0), u(O, null, E($.value, (a) => (n(), u("defs", null, [
961
+ g(t.$slots, "pattern", mt({ ref_for: !0 }, {
962
962
  seriesIndex: a.absoluteIndex,
963
- patternId: `pattern_${A.value}_${a.absoluteIndex}`
963
+ patternId: `pattern_${F.value}_${a.absoluteIndex}`
964
964
  }), void 0, !0)
965
965
  ]))), 256))
966
966
  ])) : y("", !0),
967
- (n(!0), u(z, null, E($.value, (a, o) => (n(), u("g", null, [
967
+ (n(!0), u(O, null, E($.value, (a, o) => (n(), u("g", null, [
968
968
  r("rect", {
969
- x: i(P)(
970
- Y.value ? c.value.left + c.value.width / 2 - (a.sign === 1 ? 0 : L(a.value) <= 0 ? 1e-4 : L(a.value)) : c.value.left
969
+ x: s(S)(
970
+ q.value ? c.value.left + c.value.width / 2 - (a.sign === 1 ? 0 : T(a.value) <= 0 ? 1e-4 : T(a.value)) : c.value.left
971
971
  ),
972
- y: c.value.top + (k.value + m.value) * o + D.value[o] * S.value,
973
- width: i(P)(
974
- L(a.value) <= 0 ? 1e-4 : L(a.value)
972
+ y: c.value.top + (k.value + v.value) * o + A.value[o] * L.value,
973
+ width: s(S)(
974
+ T(a.value) <= 0 ? 1e-4 : T(a.value)
975
975
  ),
976
- height: m.value <= 0 ? 1e-4 : m.value,
976
+ height: v.value <= 0 ? 1e-4 : v.value,
977
977
  fill: e.value.style.chart.layout.bars.underlayerColor,
978
978
  rx: e.value.style.chart.layout.bars.borderRadius,
979
979
  class: J({ animated: e.value.useCssAnimation })
980
- }, null, 10, ol)
980
+ }, null, 10, rl)
981
981
  ]))), 256)),
982
- (n(!0), u(z, null, E($.value, (a, o) => (n(), u("g", null, [
982
+ (n(!0), u(O, null, E($.value, (a, o) => (n(), u("g", null, [
983
983
  r("rect", {
984
- x: i(P)(
985
- Y.value ? c.value.left + c.value.width / 2 - (a.sign === 1 ? 0 : L(a.value) <= 0 ? 1e-4 : L(a.value)) : c.value.left
984
+ x: s(S)(
985
+ q.value ? c.value.left + c.value.width / 2 - (a.sign === 1 ? 0 : T(a.value) <= 0 ? 1e-4 : T(a.value)) : c.value.left
986
986
  ),
987
- y: c.value.top + (k.value + m.value) * o + D.value[o] * S.value,
988
- width: i(P)(
989
- L(a.value) <= 0 ? 1e-4 : L(a.value)
987
+ y: c.value.top + (k.value + v.value) * o + A.value[o] * L.value,
988
+ width: s(S)(
989
+ T(a.value) <= 0 ? 1e-4 : T(a.value)
990
990
  ),
991
- height: m.value <= 0 ? 1e-4 : m.value,
992
- fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${A.value}_${o})` : i(Ve)(
991
+ height: v.value <= 0 ? 1e-4 : v.value,
992
+ fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${F.value}_${o})` : s(Me)(
993
993
  a.color,
994
994
  e.value.style.chart.layout.bars.fillOpacity
995
995
  ),
@@ -997,29 +997,29 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
997
997
  stroke: e.value.style.chart.layout.bars.useStroke ? a.color : "none",
998
998
  "stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
999
999
  class: J({ animated: e.value.useCssAnimation })
1000
- }, null, 10, nl),
1000
+ }, null, 10, ul),
1001
1001
  t.$slots.pattern ? (n(), u("rect", {
1002
1002
  key: 0,
1003
- x: i(P)(
1004
- Y.value ? c.value.left + c.value.width / 2 - (a.sign === 1 ? 0 : L(a.value) <= 0 ? 1e-4 : L(a.value)) : c.value.left
1003
+ x: s(S)(
1004
+ q.value ? c.value.left + c.value.width / 2 - (a.sign === 1 ? 0 : T(a.value) <= 0 ? 1e-4 : T(a.value)) : c.value.left
1005
1005
  ),
1006
- y: c.value.top + (k.value + m.value) * o + D.value[o] * S.value,
1007
- width: i(P)(
1008
- L(a.value) <= 0 ? 1e-4 : L(a.value)
1006
+ y: c.value.top + (k.value + v.value) * o + A.value[o] * L.value,
1007
+ width: s(S)(
1008
+ T(a.value) <= 0 ? 1e-4 : T(a.value)
1009
1009
  ),
1010
- height: m.value <= 0 ? 1e-4 : m.value,
1011
- fill: `url(#pattern_${A.value}_${a.absoluteIndex})`,
1010
+ height: v.value <= 0 ? 1e-4 : v.value,
1011
+ fill: `url(#pattern_${F.value}_${a.absoluteIndex})`,
1012
1012
  rx: e.value.style.chart.layout.bars.borderRadius,
1013
1013
  stroke: e.value.style.chart.layout.bars.useStroke ? a.color : "none",
1014
1014
  "stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
1015
1015
  class: J({ animated: e.value.useCssAnimation })
1016
- }, null, 10, rl)) : y("", !0),
1016
+ }, null, 10, sl)) : y("", !0),
1017
1017
  (!a.isChild || a.isLastChild) && e.value.style.chart.layout.separators.show && o !== $.value.length - 1 ? (n(), u("line", {
1018
1018
  key: 1,
1019
- x1: V.value,
1019
+ x1: M.value,
1020
1020
  x2: e.value.style.chart.layout.separators.fullWidth ? 0 : c.value.left,
1021
- y1: m.value + k.value / 2 + c.value.top + (k.value + m.value) * o + D.value[o] * S.value,
1022
- y2: m.value + k.value / 2 + c.value.top + (k.value + m.value) * o + D.value[o] * S.value,
1021
+ y1: v.value + k.value / 2 + c.value.top + (k.value + v.value) * o + A.value[o] * L.value,
1022
+ y2: v.value + k.value / 2 + c.value.top + (k.value + v.value) * o + A.value[o] * L.value,
1023
1023
  stroke: e.value.style.chart.layout.separators.color,
1024
1024
  "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
1025
1025
  "stroke-linecap": "round",
@@ -1027,8 +1027,8 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1027
1027
  transition: "none !important",
1028
1028
  animation: "none !important"
1029
1029
  }
1030
- }, null, 8, ul)) : y("", !0),
1031
- Y.value && e.value.style.chart.layout.separators.show ? (n(), u("line", {
1030
+ }, null, 8, il)) : y("", !0),
1031
+ q.value && e.value.style.chart.layout.separators.show ? (n(), u("line", {
1032
1032
  key: 2,
1033
1033
  x1: c.value.left + c.value.width / 2,
1034
1034
  x2: c.value.left + c.value.width / 2,
@@ -1037,167 +1037,191 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1037
1037
  stroke: e.value.style.chart.layout.separators.color,
1038
1038
  "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
1039
1039
  "stroke-linecap": "round"
1040
- }, null, 8, sl)) : y("", !0)
1040
+ }, null, 8, cl)) : y("", !0)
1041
1041
  ]))), 256)),
1042
1042
  r("g", {
1043
1043
  ref_key: "parentLabels",
1044
1044
  ref: Ut
1045
1045
  }, [
1046
- (n(!0), u(z, null, E($.value, (a, o) => (n(), u("g", il, [
1046
+ (n(!0), u(O, null, E($.value, (a, o) => (n(), u("g", dl, [
1047
1047
  a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (n(), u("rect", {
1048
1048
  key: 0,
1049
1049
  class: "vue-ui-horizontal-bar-parent-marker",
1050
1050
  x: 2,
1051
- y: re(a, o).y - e.value.style.chart.layout.bars.parentLabels.fontSize / 1.5,
1051
+ y: te(a, o).y - e.value.style.chart.layout.bars.parentLabels.fontSize / 1.5,
1052
1052
  height: e.value.style.chart.layout.bars.parentLabels.fontSize / 1.5,
1053
1053
  width: e.value.style.chart.layout.bars.parentLabels.fontSize / 1.5,
1054
1054
  rx: 1,
1055
1055
  fill: a.color,
1056
1056
  style: { animation: "none !important", transition: "none !important" }
1057
- }, null, 8, cl)) : y("", !0),
1057
+ }, null, 8, vl)) : y("", !0),
1058
1058
  a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (n(), u("text", {
1059
1059
  key: 1,
1060
- y: re(a, o).y,
1060
+ y: te(a, o).y,
1061
1061
  "font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
1062
1062
  fill: e.value.style.chart.layout.bars.parentLabels.color,
1063
1063
  x: e.value.style.chart.layout.bars.parentLabels.offsetX + e.value.style.chart.layout.bars.parentLabels.fontSize,
1064
1064
  "font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
1065
- "text-anchor": "start"
1066
- }, v(aa(a, o)), 9, dl)) : y("", !0),
1065
+ "text-anchor": "start",
1066
+ innerHTML: s(Ve)({
1067
+ content: `${ct(a, o)}`,
1068
+ fontSize: e.value.style.chart.layout.bars.parentLabels.fontSize,
1069
+ fill: e.value.style.chart.layout.bars.parentLabels.color,
1070
+ x: e.value.style.chart.layout.bars.parentLabels.offsetX + e.value.style.chart.layout.bars.parentLabels.fontSize,
1071
+ y: te(a, o).y,
1072
+ translateY: !1
1073
+ })
1074
+ }, null, 8, hl)) : y("", !0),
1067
1075
  a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (n(), u("text", {
1068
1076
  key: 2,
1069
- y: re(a, o).y + e.value.style.chart.layout.bars.parentLabels.fontSize * 1.2,
1077
+ y: te(a, o).y + s(Pa)(ct(a, o)) * e.value.style.chart.layout.bars.parentLabels.fontSize * 1.1,
1070
1078
  "font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
1071
1079
  fill: e.value.style.chart.layout.bars.parentLabels.color,
1072
1080
  x: e.value.style.chart.layout.bars.parentLabels.offsetX + e.value.style.chart.layout.bars.parentLabels.fontSize,
1073
1081
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
1074
1082
  "text-anchor": "start"
1075
- }, v(la(a, o)), 9, vl)) : y("", !0)
1083
+ }, m(oa(a, o)), 9, fl)) : y("", !0)
1076
1084
  ]))), 256))
1077
1085
  ], 512),
1078
1086
  r("g", {
1079
1087
  ref_key: "childLabels",
1080
1088
  ref: ke
1081
1089
  }, [
1082
- (n(!0), u(z, null, E(Kt.value, (a, o) => (n(), u("g", hl, [
1090
+ (n(!0), u(O, null, E(Qt.value, (a, o) => (n(), u("g", pl, [
1083
1091
  (a.isChild || !a.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (n(), u("text", {
1084
1092
  key: 0,
1085
1093
  "text-anchor": "start",
1086
1094
  x: Math.abs(e.value.style.chart.layout.bars.nameLabels.offsetX),
1087
- y: i(P)(c.value.top + (k.value + m.value) * o + m.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2 + D.value[o] * S.value),
1095
+ y: s(S)(c.value.top + (k.value + v.value) * o + v.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2 + A.value[o] * L.value),
1088
1096
  "font-size": e.value.style.chart.layout.bars.nameLabels.fontSize,
1089
1097
  fill: "transparent",
1090
1098
  "font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal",
1091
- style: { "user-select": "none" }
1092
- }, v(a.name), 9, pl)) : y("", !0)
1099
+ style: { "user-select": "none" },
1100
+ innerHTML: s(Ve)({
1101
+ content: a.name,
1102
+ fontSize: e.value.style.chart.layout.bars.nameLabels.fontSize,
1103
+ fill: "transparent",
1104
+ x: Math.abs(e.value.style.chart.layout.bars.nameLabels.offsetX),
1105
+ y: s(S)(c.value.top + (k.value + v.value) * o + v.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2 + A.value[o] * L.value),
1106
+ translateY: !0
1107
+ })
1108
+ }, null, 8, bl)) : y("", !0)
1093
1109
  ]))), 256))
1094
1110
  ], 512),
1095
1111
  r("g", null, [
1096
- (n(!0), u(z, null, E($.value, (a, o) => (n(), u("g", fl, [
1112
+ (n(!0), u(O, null, E($.value, (a, o) => (n(), u("g", gl, [
1097
1113
  (a.isChild || !a.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (n(), u("text", {
1098
1114
  key: 0,
1099
1115
  "text-anchor": "end",
1100
1116
  x: c.value.left + e.value.style.chart.layout.bars.nameLabels.offsetX - 6,
1101
- y: c.value.top + (k.value + m.value) * o + m.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 3 + D.value[o] * S.value,
1117
+ y: c.value.top + (k.value + v.value) * o + v.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 3 + A.value[o] * L.value,
1102
1118
  "font-size": e.value.style.chart.layout.bars.nameLabels.fontSize,
1103
1119
  fill: e.value.style.chart.layout.bars.nameLabels.color,
1104
- "font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal"
1105
- }, v(a.name), 9, bl)) : y("", !0)
1120
+ "font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal",
1121
+ innerHTML: s(Ve)({
1122
+ content: a.name,
1123
+ fontSize: e.value.style.chart.layout.bars.nameLabels.fontSize,
1124
+ fill: e.value.style.chart.layout.bars.nameLabels.color,
1125
+ x: c.value.left + e.value.style.chart.layout.bars.nameLabels.offsetX - 6,
1126
+ y: c.value.top + (k.value + v.value) * o + v.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 3 + A.value[o] * L.value,
1127
+ translateY: !0
1128
+ })
1129
+ }, null, 8, yl)) : y("", !0)
1106
1130
  ]))), 256))
1107
1131
  ]),
1108
1132
  r("g", {
1109
1133
  ref_key: "dataLabels",
1110
1134
  ref: _e
1111
1135
  }, [
1112
- (n(!0), u(z, null, E($.value, (a, o) => (n(), u("g", gl, [
1136
+ (n(!0), u(O, null, E($.value, (a, o) => (n(), u("g", ml, [
1113
1137
  r("text", {
1114
- x: Y.value ? c.value.left + c.value.width / 2 + (a.sign === 1 ? -12 : 12) + (a.sign === 1 ? -e.value.style.chart.layout.bars.dataLabels.offsetX : e.value.style.chart.layout.bars.dataLabels.offsetX) : Math.min(
1115
- ea(a.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
1138
+ x: q.value ? c.value.left + c.value.width / 2 + (a.sign === 1 ? -12 : 12) + (a.sign === 1 ? -e.value.style.chart.layout.bars.dataLabels.offsetX : e.value.style.chart.layout.bars.dataLabels.offsetX) : Math.min(
1139
+ aa(a.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
1116
1140
  c.value.right - 2
1117
1141
  ),
1118
- y: c.value.top + (k.value + m.value) * o + m.value / 2 + D.value[o] * S.value + e.value.style.chart.layout.bars.dataLabels.fontSize / 3,
1119
- "text-anchor": !Y.value || a.sign === -1 ? "start" : "end",
1142
+ y: c.value.top + (k.value + v.value) * o + v.value / 2 + A.value[o] * L.value + e.value.style.chart.layout.bars.dataLabels.fontSize / 3,
1143
+ "text-anchor": !q.value || a.sign === -1 ? "start" : "end",
1120
1144
  "font-size": e.value.style.chart.layout.bars.dataLabels.fontSize,
1121
1145
  fill: e.value.style.chart.layout.bars.dataLabels.color,
1122
1146
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
1123
- }, v(it(a.value, a, o, a.sign)), 9, yl)
1147
+ }, m(dt(a.value, a, o, a.sign)), 9, Cl)
1124
1148
  ]))), 256))
1125
1149
  ], 512),
1126
- (n(!0), u(z, null, E($.value, (a, o) => (n(), u("g", null, [
1150
+ (n(!0), u(O, null, E($.value, (a, o) => (n(), u("g", null, [
1127
1151
  r("rect", {
1128
1152
  x: 0,
1129
- y: c.value.top + (k.value + m.value) * o - k.value / 2 + D.value[o] * S.value,
1130
- width: V.value,
1131
- height: m.value + k.value <= 0 ? 1e-4 : m.value + k.value,
1132
- fill: Te.value === a.id ? i(Ve)(
1153
+ y: c.value.top + (k.value + v.value) * o - k.value / 2 + A.value[o] * L.value,
1154
+ width: M.value,
1155
+ height: v.value + k.value <= 0 ? 1e-4 : v.value + k.value,
1156
+ fill: Te.value === a.id ? s(Me)(
1133
1157
  e.value.style.chart.layout.highlighter.color,
1134
1158
  e.value.style.chart.layout.highlighter.opacity
1135
1159
  ) : "transparent",
1136
- onMouseenter: (f) => ra(a, o),
1137
- onMouseleave: (f) => na({ datapoint: a, seriesIndex: o }),
1138
- onClick: (f) => oa({ datapoint: a, seriesIndex: o })
1139
- }, null, 40, ml)
1160
+ onMouseenter: (p) => ua(a, o),
1161
+ onMouseleave: (p) => ra({ datapoint: a, seriesIndex: o }),
1162
+ onClick: (p) => na({ datapoint: a, seriesIndex: o })
1163
+ }, null, 40, kl)
1140
1164
  ]))), 256)),
1141
1165
  g(t.$slots, "svg", { svg: R.value }, void 0, !0)
1142
1166
  ], 512)
1143
- ], 14, Qa)),
1144
- t.$slots.watermark ? (n(), u("div", Cl, [
1145
- g(t.$slots, "watermark", N(O({ isPrinting: i(Je) || i(Qe) })), void 0, !0)
1167
+ ], 14, el)),
1168
+ t.$slots.watermark ? (n(), u("div", _l, [
1169
+ g(t.$slots, "watermark", B(N({ isPrinting: s(Qe) || s(Ze) })), void 0, !0)
1146
1170
  ])) : y("", !0),
1147
1171
  e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (n(), u("div", {
1148
1172
  key: 6,
1149
1173
  ref_key: "chartLegend",
1150
1174
  ref: ye
1151
1175
  }, [
1152
- (n(), Q(mt, {
1176
+ (n(), Q(kt, {
1153
1177
  key: `legend_bottom_${me.value}`,
1154
- legendSet: T.value,
1155
- config: nt.value,
1156
- onClickMarker: l[1] || (l[1] = ({ legend: a }) => q(a.id))
1157
- }, pe({
1158
- item: p(({ legend: a, index: o }) => [
1178
+ legendSet: z.value,
1179
+ config: rt.value,
1180
+ onClickMarker: l[1] || (l[1] = ({ legend: a }) => Y(a.id))
1181
+ }, fe({
1182
+ item: f(({ legend: a, index: o }) => [
1159
1183
  r("div", {
1160
- onClick: (f) => q(a.id),
1184
+ onClick: (p) => Y(a.id),
1161
1185
  style: h(`opacity:${w.value.includes(a.id) ? 0.5 : 1}`)
1162
- }, v(a.name) + ": " + v(i(se)(
1186
+ }, m(a.name) + ": " + m(s(se)(
1163
1187
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
1164
1188
  a.value,
1165
- i(W)({
1189
+ s(G)({
1166
1190
  p: e.value.style.chart.legend.prefix,
1167
1191
  v: a.value,
1168
1192
  s: e.value.style.chart.legend.suffix,
1169
1193
  r: e.value.style.chart.legend.roundingValue
1170
1194
  }),
1171
1195
  { datapoint: a, seriesIndex: o }
1172
- )), 13, kl)
1196
+ )), 13, xl)
1173
1197
  ]),
1174
1198
  _: 2
1175
1199
  }, [
1176
1200
  t.$slots.pattern ? {
1177
1201
  name: "legend-pattern",
1178
- fn: p(({ legend: a, index: o }) => [
1179
- le(Ct, {
1202
+ fn: f(({ legend: a, index: o }) => [
1203
+ oe(_t, {
1180
1204
  shape: a.shape,
1181
1205
  radius: 30,
1182
1206
  stroke: "none",
1183
1207
  plot: { x: 30, y: 30 },
1184
- fill: `url(#pattern_${A.value}_${o})`
1208
+ fill: `url(#pattern_${F.value}_${o})`
1185
1209
  }, null, 8, ["shape", "fill"])
1186
1210
  ]),
1187
1211
  key: "0"
1188
1212
  } : void 0
1189
1213
  ]), 1032, ["legendSet", "config"]))
1190
1214
  ], 512)) : y("", !0),
1191
- g(t.$slots, "legend", { legend: T.value }, void 0, !0),
1215
+ g(t.$slots, "legend", { legend: z.value }, void 0, !0),
1192
1216
  t.$slots.source ? (n(), u("div", {
1193
1217
  key: 7,
1194
1218
  ref_key: "source",
1195
- ref: Xe,
1219
+ ref: Ge,
1196
1220
  dir: "auto"
1197
1221
  }, [
1198
1222
  g(t.$slots, "source", {}, void 0, !0)
1199
1223
  ], 512)) : y("", !0),
1200
- le(i(Pt), {
1224
+ oe(s(Dt), {
1201
1225
  show: x.value.showTooltip && be.value && w.value.length < C.dataset.length,
1202
1226
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1203
1227
  color: e.value.style.chart.tooltip.color,
@@ -1217,36 +1241,36 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1217
1241
  smoothForce: e.value.style.chart.tooltip.smoothForce,
1218
1242
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
1219
1243
  }, {
1220
- "tooltip-before": p(() => [
1221
- g(t.$slots, "tooltip-before", N(O({ ...Se.value })), void 0, !0)
1244
+ "tooltip-before": f(() => [
1245
+ g(t.$slots, "tooltip-before", B(N({ ...Se.value })), void 0, !0)
1222
1246
  ]),
1223
- "tooltip-after": p(() => [
1224
- g(t.$slots, "tooltip-after", N(O({ ...Se.value })), void 0, !0)
1247
+ "tooltip-after": f(() => [
1248
+ g(t.$slots, "tooltip-after", B(N({ ...Se.value })), void 0, !0)
1225
1249
  ]),
1226
1250
  _: 3
1227
1251
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1228
- fe.value && e.value.userOptions.buttons.table ? (n(), Q(xa(he.value.component), gt({ key: 8 }, he.value.props, {
1252
+ pe.value && e.value.userOptions.buttons.table ? (n(), Q(wa(he.value.component), mt({ key: 8 }, he.value.props, {
1229
1253
  ref_key: "tableUnit",
1230
- ref: oe,
1231
- onClose: De
1232
- }), pe({
1233
- content: p(() => [
1254
+ ref: ne,
1255
+ onClose: Pe
1256
+ }), fe({
1257
+ content: f(() => [
1234
1258
  r("div", {
1235
1259
  ref_key: "tableContainer",
1236
- ref: at,
1260
+ ref: lt,
1237
1261
  class: "vue-ui-vertical-bar-table atom-data-table",
1238
1262
  style: h(`${e.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px"}`)
1239
1263
  }, [
1240
- r("div", _l, [
1264
+ r("div", wl, [
1241
1265
  e.value.table.useDialog ? y("", !0) : (n(), u("div", {
1242
1266
  key: 0,
1243
1267
  role: "button",
1244
1268
  tabindex: "0",
1245
1269
  style: h(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
1246
- onClick: De,
1247
- onKeypress: wa(De, ["enter"])
1270
+ onClick: Pe,
1271
+ onKeypress: $a(Pe, ["enter"])
1248
1272
  }, [
1249
- le(i(Re), {
1273
+ oe(s(He), {
1250
1274
  name: "close",
1251
1275
  stroke: e.value.table.th.color,
1252
1276
  "stroke-width": 2
@@ -1254,9 +1278,9 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1254
1278
  ], 36)),
1255
1279
  r("div", {
1256
1280
  style: { width: "100%", "container-type": "inline-size" },
1257
- class: J({ "vue-ui-responsive": i(ia) })
1281
+ class: J({ "vue-ui-responsive": s(ca) })
1258
1282
  }, [
1259
- r("table", xl, [
1283
+ r("table", $l, [
1260
1284
  e.value.table.useDialog ? y("", !0) : (n(), u("caption", {
1261
1285
  key: 0,
1262
1286
  style: h({
@@ -1266,18 +1290,18 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1266
1290
  }),
1267
1291
  class: "vue-ui-data-table__caption"
1268
1292
  }, [
1269
- yt(v(e.value.style.chart.title.text) + " ", 1),
1270
- e.value.style.chart.title.subtitle.text ? (n(), u("span", wl, v(e.value.style.chart.title.subtitle.text), 1)) : y("", !0)
1293
+ Ct(m(e.value.style.chart.title.text) + " ", 1),
1294
+ e.value.style.chart.title.subtitle.text ? (n(), u("span", Ll, m(e.value.style.chart.title.subtitle.text), 1)) : y("", !0)
1271
1295
  ], 4)),
1272
1296
  r("thead", null, [
1273
1297
  r("tr", {
1274
1298
  role: "row",
1275
1299
  style: h(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1276
1300
  }, [
1277
- (n(!0), u(z, null, E(B.value.head, (a) => (n(), u("th", {
1301
+ (n(!0), u(O, null, E(D.value.head, (a) => (n(), u("th", {
1278
1302
  style: h(`outline:${e.value.table.th.outline}`)
1279
1303
  }, [
1280
- r("div", $l, v(a), 1)
1304
+ r("div", Al, m(a), 1)
1281
1305
  ], 4))), 256))
1282
1306
  ], 4),
1283
1307
  r("tr", null, [
@@ -1286,7 +1310,7 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1286
1310
  }, null, 4),
1287
1311
  r("th", {
1288
1312
  style: h(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`)
1289
- }, " ∑ " + v(e.value.table.td.prefix) + v(isNaN(M.value) ? "" : M.value.toFixed(e.value.table.td.roundingValue)) + v(e.value.table.td.suffix), 5),
1313
+ }, " ∑ " + m(e.value.table.td.prefix) + m(isNaN(V.value) ? "" : V.value.toFixed(e.value.table.td.roundingValue)) + m(e.value.table.td.suffix), 5),
1290
1314
  r("th", {
1291
1315
  style: h(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`)
1292
1316
  }, " 100% ", 4),
@@ -1305,7 +1329,7 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1305
1329
  ])
1306
1330
  ]),
1307
1331
  r("tbody", null, [
1308
- (n(!0), u(z, null, E(B.value.body, (a, o) => (n(), u("tr", {
1332
+ (n(!0), u(O, null, E(D.value.body, (a, o) => (n(), u("tr", {
1309
1333
  class: J({
1310
1334
  "vue-ui-data-table__tbody__row": !0,
1311
1335
  "vue-ui-data-table__tbody__row-even": o % 2 === 0,
@@ -1316,72 +1340,72 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1316
1340
  r("td", {
1317
1341
  class: "vue-ui-data-table__tbody__td",
1318
1342
  style: h(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
1319
- "data-cell": B.value.head[0] ?? ""
1343
+ "data-cell": D.value.head[0] ?? ""
1320
1344
  }, [
1321
- r("div", Al, [
1345
+ r("div", Sl, [
1322
1346
  a.color ? (n(), u("span", {
1323
1347
  key: 0,
1324
1348
  style: h(`color:${a.color};margin-right:3px`)
1325
1349
  }, "⬤", 4)) : y("", !0),
1326
- r("span", null, v(a.parentName), 1)
1350
+ r("span", null, m(a.parentName), 1)
1327
1351
  ])
1328
- ], 12, Ll),
1352
+ ], 12, Tl),
1329
1353
  r("td", {
1330
1354
  class: "vue-ui-data-table__tbody__td",
1331
1355
  style: h(`outline:${e.value.table.td.outline}`),
1332
- "data-cell": B.value.head[1] ?? ""
1356
+ "data-cell": D.value.head[1] ?? ""
1333
1357
  }, [
1334
- r("div", Sl, v(e.value.table.td.prefix) + v(["", NaN, void 0].includes(a.parentValue) ? "" : a.parentValue.toFixed(
1358
+ r("div", zl, m(e.value.table.td.prefix) + m(["", NaN, void 0].includes(a.parentValue) ? "" : a.parentValue.toFixed(
1335
1359
  e.value.table.td.roundingValue
1336
- )) + v(e.value.table.td.suffix), 1)
1337
- ], 12, Tl),
1360
+ )) + m(e.value.table.td.suffix), 1)
1361
+ ], 12, Fl),
1338
1362
  r("td", {
1339
1363
  class: "vue-ui-data-table__tbody__td",
1340
1364
  style: h(`outline:${e.value.table.td.outline}`),
1341
- "data-cell": B.value.head[2] ?? ""
1365
+ "data-cell": D.value.head[2] ?? ""
1342
1366
  }, [
1343
- r("div", Pl, v(["", NaN, void 0].includes(a.percentageToTotal) ? "" : `${(a.percentageToTotal * 100).toFixed(
1367
+ r("div", Dl, m(["", NaN, void 0].includes(a.percentageToTotal) ? "" : `${(a.percentageToTotal * 100).toFixed(
1344
1368
  e.value.table.td.roundingPercentage
1345
1369
  )}%`), 1)
1346
- ], 12, Fl),
1370
+ ], 12, Pl),
1347
1371
  r("td", {
1348
1372
  class: "vue-ui-data-table__tbody__td",
1349
1373
  style: h(`outline:${e.value.table.td.outline}`),
1350
- "data-cell": B.value.head[3] ?? ""
1374
+ "data-cell": D.value.head[3] ?? ""
1351
1375
  }, [
1352
- r("div", Bl, v(a.childName), 1)
1353
- ], 12, Dl),
1376
+ r("div", Nl, m(a.childName), 1)
1377
+ ], 12, Bl),
1354
1378
  r("td", {
1355
1379
  class: "vue-ui-data-table__tbody__td",
1356
1380
  style: h(`outline:${e.value.table.td.outline}`),
1357
- "data-cell": B.value.head[4] ?? ""
1381
+ "data-cell": D.value.head[4] ?? ""
1358
1382
  }, [
1359
- r("div", Ol, v(e.value.table.td.prefix) + v(["", NaN, void 0].includes(a.childValue) ? "" : a.childValue.toFixed(
1383
+ r("div", El, m(e.value.table.td.prefix) + m(["", NaN, void 0].includes(a.childValue) ? "" : a.childValue.toFixed(
1360
1384
  e.value.table.td.roundingValue
1361
- )) + v(e.value.table.td.suffix), 1)
1362
- ], 12, Nl),
1385
+ )) + m(e.value.table.td.suffix), 1)
1386
+ ], 12, Ol),
1363
1387
  r("td", {
1364
1388
  class: "vue-ui-data-table__tbody__td",
1365
1389
  style: h(`outline:${e.value.table.td.outline}`),
1366
- "data-cell": B.value.head[5] ?? ""
1390
+ "data-cell": D.value.head[5] ?? ""
1367
1391
  }, [
1368
- r("div", El, v(["", NaN, void 0].includes(
1392
+ r("div", Ml, m(["", NaN, void 0].includes(
1369
1393
  a.childPercentageToParent
1370
1394
  ) ? "" : `${(a.childPercentageToParent * 100).toFixed(
1371
1395
  e.value.table.td.roundingPercentage
1372
1396
  )}%`), 1)
1373
- ], 12, zl),
1397
+ ], 12, Il),
1374
1398
  r("td", {
1375
1399
  class: "vue-ui-data-table__tbody__td",
1376
1400
  style: h(`outline:${e.value.table.td.outline}`),
1377
- "data-cell": B.value.head[6] ?? ""
1401
+ "data-cell": D.value.head[6] ?? ""
1378
1402
  }, [
1379
- r("div", Vl, v(["", NaN, void 0].includes(
1403
+ r("div", Rl, m(["", NaN, void 0].includes(
1380
1404
  a.childPercentageToTotal
1381
1405
  ) ? "" : `${(a.childPercentageToTotal * 100).toFixed(
1382
1406
  e.value.table.td.roundingPercentage
1383
1407
  )}%`), 1)
1384
- ], 12, Il)
1408
+ ], 12, Vl)
1385
1409
  ], 6))), 256))
1386
1410
  ])
1387
1411
  ])
@@ -1393,20 +1417,20 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1393
1417
  }, [
1394
1418
  e.value.table.useDialog ? {
1395
1419
  name: "title",
1396
- fn: p(() => [
1397
- yt(v(he.value.title), 1)
1420
+ fn: f(() => [
1421
+ Ct(m(he.value.title), 1)
1398
1422
  ]),
1399
1423
  key: "0"
1400
1424
  } : void 0,
1401
1425
  e.value.table.useDialog ? {
1402
1426
  name: "actions",
1403
- fn: p(() => [
1427
+ fn: f(() => [
1404
1428
  r("button", {
1405
1429
  tabindex: "0",
1406
1430
  class: "vue-ui-user-options-button",
1407
1431
  onClick: l[2] || (l[2] = (a) => Fe(e.value.userOptions.callbacks.csv))
1408
1432
  }, [
1409
- le(i(Re), {
1433
+ oe(s(He), {
1410
1434
  name: "excel",
1411
1435
  stroke: he.value.props.color
1412
1436
  }, null, 8, ["stroke"])
@@ -1415,15 +1439,15 @@ const kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1415
1439
  key: "1"
1416
1440
  } : void 0
1417
1441
  ]), 1040)) : y("", !0),
1418
- i(je) ? (n(), Q(Va, { key: 9 })) : y("", !0)
1419
- ], 46, Ka));
1442
+ s(Ye) ? (n(), Q(Ra, { key: 9 })) : y("", !0)
1443
+ ], 46, Qa));
1420
1444
  }
1421
- }, Rl = /* @__PURE__ */ Ya(Ml, [["__scopeId", "data-v-82d81597"]]), ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1445
+ }, Xl = /* @__PURE__ */ Ja(Hl, [["__scopeId", "data-v-b9914315"]]), so = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1422
1446
  __proto__: null,
1423
- default: Rl
1447
+ default: Xl
1424
1448
  }, Symbol.toStringTag, { value: "Module" }));
1425
1449
  export {
1426
- no as a,
1427
- ro as b,
1428
- Rl as v
1450
+ uo as a,
1451
+ so as b,
1452
+ Xl as v
1429
1453
  };