vue-data-ui 2.3.75 → 2.3.77

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 (162) hide show
  1. package/dist/{Arrow-BTG7M25z.js → Arrow-Dj2zuGLq.js} +1 -1
  2. package/dist/{Arrow-CZK77NmC.cjs → Arrow-VCEIU9wi.cjs} +1 -1
  3. package/dist/{BaseIcon--PMhZ3f-.cjs → BaseIcon-CP535rdy.cjs} +1 -1
  4. package/dist/{BaseIcon-BAOfPaXs.js → BaseIcon-Cbr8np30.js} +1 -1
  5. package/dist/{DataTable-DjQzrklZ.cjs → DataTable-CeHw-cqZ.cjs} +1 -1
  6. package/dist/{DataTable-CQANRZju.js → DataTable-OAUXdIYA.js} +2 -2
  7. package/dist/{Legend-DX1kv21U.js → Legend-BVByqGqZ.js} +1 -1
  8. package/dist/{Legend-CtbPB0Bo.cjs → Legend-DfU44fjz.cjs} +1 -1
  9. package/dist/{Shape-CadGs1Am.cjs → Shape-B6cEKeIN.cjs} +1 -1
  10. package/dist/{Shape-kqcyauhC.js → Shape-Clmb3iTX.js} +1 -1
  11. package/dist/{Slicer-yaJs-izT.js → Slicer-BlRQsQu0.js} +12 -12
  12. package/dist/{Slicer-i_oECHxH.cjs → Slicer-Dt9iqvAA.cjs} +1 -1
  13. package/dist/{Title-XBiDFYKD.cjs → Title-D9lSjLTg.cjs} +1 -1
  14. package/dist/{Title-C26I_HC3.js → Title-gvR5aS6q.js} +1 -1
  15. package/dist/{Tooltip-CH8GmDCG.js → Tooltip-BGmkuAK4.js} +23 -23
  16. package/dist/Tooltip-C0PSN8vf.cjs +1 -0
  17. package/dist/{index-Cm4Iry5c.js → index-0KN57HdM.js} +1147 -1145
  18. package/dist/index-TabZg_HV.cjs +4 -0
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-w7AMWWmz.cjs → useNestedProp-CoLyVvV9.cjs} +1 -1
  21. package/dist/{useNestedProp-CurQIHTa.js → useNestedProp-NeGalTYk.js} +1 -1
  22. package/dist/{usePrinter-ZlHxdaEz.cjs → usePrinter--7sLxlpn.cjs} +1 -1
  23. package/dist/{usePrinter-B8RnF8_q.js → usePrinter-BvKYEc1z.js} +1 -1
  24. package/dist/{vue-data-ui-B7amrpT-.cjs → vue-data-ui-CNZP_Hk4.cjs} +1 -1
  25. package/dist/{vue-data-ui-Bj6kEIpq.js → vue-data-ui-Du0OReJH.js} +57 -57
  26. package/dist/vue-data-ui.cjs +1 -1
  27. package/dist/vue-data-ui.js +9 -9
  28. package/dist/vue-ui-3d-bar-AUSKibZS.cjs +19 -0
  29. package/dist/{vue-ui-3d-bar-Bg9IgVVc.js → vue-ui-3d-bar-Dasj0J9j.js} +342 -342
  30. package/dist/{vue-ui-accordion-1WxrfiCH.cjs → vue-ui-accordion-0uSZBHsp.cjs} +1 -1
  31. package/dist/{vue-ui-accordion-Cb6XBCbu.js → vue-ui-accordion-CczyfFaC.js} +3 -3
  32. package/dist/vue-ui-age-pyramid-CjBr4CXC.cjs +1 -0
  33. package/dist/{vue-ui-age-pyramid-BhwmnQru.js → vue-ui-age-pyramid-DZ7vnojR.js} +22 -22
  34. package/dist/{vue-ui-annotator-BiHQvMdW.js → vue-ui-annotator-BWwxpp_v.js} +39 -39
  35. package/dist/{vue-ui-annotator-B22cdlhA.cjs → vue-ui-annotator-CyYSiELS.cjs} +2 -2
  36. package/dist/{vue-ui-candlestick-D7DjdYyw.cjs → vue-ui-candlestick-B9oSgBPN.cjs} +2 -2
  37. package/dist/{vue-ui-candlestick-Cl9dyh4l.js → vue-ui-candlestick-Dr9aS-Ku.js} +34 -34
  38. package/dist/vue-ui-carousel-table-CjDze14W.cjs +1 -0
  39. package/dist/{vue-ui-carousel-table-QsONwqNz.js → vue-ui-carousel-table-D2LK5a9p.js} +83 -81
  40. package/dist/{vue-ui-chestnut-Drb01WMC.js → vue-ui-chestnut-DIqR-vZo.js} +291 -288
  41. package/dist/vue-ui-chestnut-RhZaDeRG.cjs +6 -0
  42. package/dist/vue-ui-cursor-7QhVReKN.cjs +1 -0
  43. package/dist/{vue-ui-cursor-BP04_XbB.js → vue-ui-cursor-BxHK0bB7.js} +20 -20
  44. package/dist/{vue-ui-dashboard-Z63RE1XS.cjs → vue-ui-dashboard-DO-zVgDu.cjs} +1 -1
  45. package/dist/{vue-ui-dashboard-BWdx5gjZ.js → vue-ui-dashboard-fYKECIc7.js} +2 -2
  46. package/dist/{vue-ui-digits-DUhkLcmd.js → vue-ui-digits-B8hAl2RW.js} +2 -2
  47. package/dist/{vue-ui-digits-CBQaHW6a.cjs → vue-ui-digits-CSsB4Zlr.cjs} +1 -1
  48. package/dist/{vue-ui-donut-DRPSwmGr.js → vue-ui-donut-D5DTvWXB.js} +60 -60
  49. package/dist/vue-ui-donut-D8evqk7g.cjs +1 -0
  50. package/dist/vue-ui-donut-evolution-BUdWXb-N.cjs +1 -0
  51. package/dist/{vue-ui-donut-evolution-gRXAyxq8.js → vue-ui-donut-evolution-CPTiiUY6.js} +106 -106
  52. package/dist/{vue-ui-dumbbell-CQo5jqSK.js → vue-ui-dumbbell-CfeTfNTU.js} +17 -17
  53. package/dist/{vue-ui-dumbbell-DLfZcrXq.cjs → vue-ui-dumbbell-Fm-Bqc5W.cjs} +1 -1
  54. package/dist/{vue-ui-flow-BlX2-eEC.cjs → vue-ui-flow-24WIcZVL.cjs} +1 -1
  55. package/dist/{vue-ui-flow-BQ3UbMUb.js → vue-ui-flow-B2WWQo6P.js} +28 -28
  56. package/dist/{vue-ui-galaxy-Cax5o6Yl.cjs → vue-ui-galaxy-DkRizJxm.cjs} +1 -1
  57. package/dist/{vue-ui-galaxy-BHWugUKG.js → vue-ui-galaxy-yfpv7Hky.js} +22 -22
  58. package/dist/vue-ui-gauge-BkB7BlNM.cjs +1 -0
  59. package/dist/{vue-ui-gauge-DG6_kvKh.js → vue-ui-gauge-CRVB3wlV.js} +99 -108
  60. package/dist/{vue-ui-gizmo-bV148qAf.js → vue-ui-gizmo-DJYOx_YH.js} +2 -2
  61. package/dist/{vue-ui-gizmo-D9Vh9Rmr.cjs → vue-ui-gizmo-Zyo15xm3.cjs} +1 -1
  62. package/dist/{vue-ui-heatmap-BZZUvnMa.js → vue-ui-heatmap-C6fDCc7O.js} +17 -17
  63. package/dist/{vue-ui-heatmap-B_ELXKKV.cjs → vue-ui-heatmap-uynT8kN9.cjs} +1 -1
  64. package/dist/{vue-ui-kpi-C5v7qQvZ.js → vue-ui-kpi-CGC4h9uF.js} +3 -3
  65. package/dist/{vue-ui-kpi-CwVAvTB2.cjs → vue-ui-kpi-CqEEFb04.cjs} +1 -1
  66. package/dist/{vue-ui-mini-loader-BdKizX_J.js → vue-ui-mini-loader-2A0YUUIB.js} +2 -2
  67. package/dist/{vue-ui-mini-loader-DZNY-3rr.cjs → vue-ui-mini-loader-ku9X16tx.cjs} +1 -1
  68. package/dist/{vue-ui-molecule-bva6OvPc.cjs → vue-ui-molecule-Bv1IBx1L.cjs} +1 -1
  69. package/dist/{vue-ui-molecule-MKyrhqqm.js → vue-ui-molecule-CwcUmg-k.js} +33 -33
  70. package/dist/vue-ui-mood-radar-Bf5g118s.cjs +1 -0
  71. package/dist/{vue-ui-mood-radar-BNIFFvq0.js → vue-ui-mood-radar-V04waMIM.js} +129 -132
  72. package/dist/{vue-ui-nested-donuts-CxdZC6JF.cjs → vue-ui-nested-donuts-DgVrAToy.cjs} +2 -2
  73. package/dist/{vue-ui-nested-donuts-BDAlZrMF.js → vue-ui-nested-donuts-DoFALZtp.js} +98 -98
  74. package/dist/{vue-ui-onion-Df7YcsVR.cjs → vue-ui-onion-BdZC2qt8.cjs} +1 -1
  75. package/dist/{vue-ui-onion-CFa4VD-w.js → vue-ui-onion-_GaJ78t_.js} +9 -9
  76. package/dist/{vue-ui-parallel-coordinate-plot-D7Q2zfcR.cjs → vue-ui-parallel-coordinate-plot-BHYr1iqZ.cjs} +1 -1
  77. package/dist/{vue-ui-parallel-coordinate-plot-DmqYXT-U.js → vue-ui-parallel-coordinate-plot-Eh0gXDVG.js} +24 -24
  78. package/dist/vue-ui-quadrant-BEhnCog2.cjs +1 -0
  79. package/dist/{vue-ui-quadrant-D5jHkq9g.js → vue-ui-quadrant-C4LHosyR.js} +35 -35
  80. package/dist/{vue-ui-quick-chart-BjXXSx7V.js → vue-ui-quick-chart-IqY67olA.js} +69 -69
  81. package/dist/{vue-ui-quick-chart-Dt9AsEU6.cjs → vue-ui-quick-chart-YFEmJP_6.cjs} +1 -1
  82. package/dist/{vue-ui-radar-CW8EKW4o.js → vue-ui-radar-BSsDvnVt.js} +39 -39
  83. package/dist/{vue-ui-radar-2EuZr7i2.cjs → vue-ui-radar-Cel3ZnfN.cjs} +1 -1
  84. package/dist/{vue-ui-rating-eSWsmJUU.js → vue-ui-rating-Bb1xXC_r.js} +6 -6
  85. package/dist/{vue-ui-rating-DrtLvVA0.cjs → vue-ui-rating-D-qBEM1w.cjs} +1 -1
  86. package/dist/{vue-ui-relation-circle-DiUCpEqa.js → vue-ui-relation-circle-CSqi6DqF.js} +29 -29
  87. package/dist/vue-ui-relation-circle-fb8g1ms8.cjs +1 -0
  88. package/dist/{vue-ui-rings-CHq-a5ZS.cjs → vue-ui-rings-Bgb538Wa.cjs} +2 -2
  89. package/dist/{vue-ui-rings-BxhLbyG0.js → vue-ui-rings-ezoy9PIq.js} +31 -31
  90. package/dist/vue-ui-scatter-B7z6AOLU.cjs +1 -0
  91. package/dist/{vue-ui-scatter-DQchX_mM.js → vue-ui-scatter-Ci5l--xS.js} +95 -95
  92. package/dist/{vue-ui-screenshot-CLa9vMzM.js → vue-ui-screenshot-C2X1am1d.js} +4 -4
  93. package/dist/{vue-ui-screenshot-SLSIpqx2.cjs → vue-ui-screenshot-DLXQWgeo.cjs} +1 -1
  94. package/dist/vue-ui-skeleton-CYeXVNFu.cjs +41 -0
  95. package/dist/{vue-ui-skeleton-C1oUnz7R.js → vue-ui-skeleton-dgMXr8k9.js} +96 -96
  96. package/dist/{vue-ui-smiley-Daw8fPDy.cjs → vue-ui-smiley-CDhXPYa7.cjs} +1 -1
  97. package/dist/{vue-ui-smiley-CmWHSt1S.js → vue-ui-smiley-DXb5VqXk.js} +2 -2
  98. package/dist/vue-ui-spark-trend-1hcgCu8H.cjs +1 -0
  99. package/dist/{vue-ui-spark-trend-CO69Dg31.js → vue-ui-spark-trend-Bv1-LLRs.js} +21 -21
  100. package/dist/vue-ui-sparkbar-CWdFQTkx.cjs +1 -0
  101. package/dist/{vue-ui-sparkbar-BRlqpe4e.js → vue-ui-sparkbar-CbmzVXcW.js} +10 -10
  102. package/dist/{vue-ui-sparkgauge-CbuFESsM.js → vue-ui-sparkgauge-CHODK9jn.js} +8 -8
  103. package/dist/{vue-ui-sparkgauge-CCxKzDjT.cjs → vue-ui-sparkgauge-r7VEpPtv.cjs} +1 -1
  104. package/dist/{vue-ui-sparkhistogram-B4-hrDHz.js → vue-ui-sparkhistogram-CKiO1LGI.js} +111 -101
  105. package/dist/vue-ui-sparkhistogram-Do5qTT2U.cjs +1 -0
  106. package/dist/vue-ui-sparkline-Bw3dw-vW.cjs +1 -0
  107. package/dist/{vue-ui-sparkline-DlXNmG6M.js → vue-ui-sparkline-DLU7hK0K.js} +34 -34
  108. package/dist/{vue-ui-sparkstackbar-J1YowQmP.js → vue-ui-sparkstackbar-B3TQVHlU.js} +5 -5
  109. package/dist/{vue-ui-sparkstackbar-CDmZeXnq.cjs → vue-ui-sparkstackbar-CD-HZ4Rq.cjs} +1 -1
  110. package/dist/{vue-ui-stackbar-CXGWukoJ.cjs → vue-ui-stackbar-2WJh-QtY.cjs} +2 -2
  111. package/dist/{vue-ui-stackbar-CKIDqkkY.js → vue-ui-stackbar-BnIeIS12.js} +202 -200
  112. package/dist/{vue-ui-strip-plot-JVLwIy0j.js → vue-ui-strip-plot-CddHmHSX.js} +26 -26
  113. package/dist/{vue-ui-strip-plot-CvmoRcYN.cjs → vue-ui-strip-plot-DyL8FH29.cjs} +1 -1
  114. package/dist/{vue-ui-table-BSi_cHh7.js → vue-ui-table-BZ6yonvx.js} +1 -1
  115. package/dist/{vue-ui-table-Dqi64VE7.cjs → vue-ui-table-_Sxgp6iC.cjs} +1 -1
  116. package/dist/{vue-ui-table-heatmap-CfvW3rcm.js → vue-ui-table-heatmap-CYOgunS2.js} +24 -24
  117. package/dist/{vue-ui-table-heatmap-BwghEh5t.cjs → vue-ui-table-heatmap-DGWhBhp0.cjs} +1 -1
  118. package/dist/{vue-ui-table-sparkline-Y6Lrrzxy.js → vue-ui-table-sparkline-D33NLyyx.js} +26 -26
  119. package/dist/{vue-ui-table-sparkline-bIy3kkHB.cjs → vue-ui-table-sparkline-IVMQG6tp.cjs} +1 -1
  120. package/dist/{vue-ui-thermometer-DDtxYr7w.cjs → vue-ui-thermometer-8XDaKLt5.cjs} +1 -1
  121. package/dist/{vue-ui-thermometer-BPTs7Nxc.js → vue-ui-thermometer-DMwZ2O16.js} +40 -40
  122. package/dist/{vue-ui-timer-DRSSYxOX.cjs → vue-ui-timer-B3_-DhDj.cjs} +1 -1
  123. package/dist/{vue-ui-timer-CkB7eZaE.js → vue-ui-timer-D59VSia6.js} +8 -8
  124. package/dist/{vue-ui-tiremarks-BbOaoY8S.js → vue-ui-tiremarks-Bczw28td.js} +18 -18
  125. package/dist/{vue-ui-tiremarks-Bttwg3-p.cjs → vue-ui-tiremarks-Br_jF9bH.cjs} +1 -1
  126. package/dist/{vue-ui-treemap-CoaK3wBl.js → vue-ui-treemap-DGJNw2WX.js} +29 -29
  127. package/dist/{vue-ui-treemap-Chq0WQPe.cjs → vue-ui-treemap-DLHdaXss.cjs} +1 -1
  128. package/dist/vue-ui-vertical-bar-BGYrmyAK.cjs +4 -0
  129. package/dist/{vue-ui-vertical-bar-BA43_uHV.js → vue-ui-vertical-bar-De0N4Ggo.js} +14 -14
  130. package/dist/{vue-ui-waffle-NBjY0mko.cjs → vue-ui-waffle-CJPVEDgC.cjs} +1 -1
  131. package/dist/{vue-ui-waffle-BoEf8CcG.js → vue-ui-waffle-CnXLf5xd.js} +84 -84
  132. package/dist/{vue-ui-wheel-Bgo2jpj0.js → vue-ui-wheel-Bciq0JM9.js} +24 -24
  133. package/dist/{vue-ui-wheel-t5bI4a-P.cjs → vue-ui-wheel-CAKYmn0b.cjs} +1 -1
  134. package/dist/{vue-ui-word-cloud-DPW_-Hzz.cjs → vue-ui-word-cloud-4ooTRM2O.cjs} +1 -1
  135. package/dist/{vue-ui-word-cloud-Jd9_JUyi.js → vue-ui-word-cloud-CWm6r9Zf.js} +19 -19
  136. package/dist/{vue-ui-xy-BMBYAC4z.js → vue-ui-xy-B5nBhYgd.js} +351 -350
  137. package/dist/vue-ui-xy-Ch5hDEec.cjs +3 -0
  138. package/dist/{vue-ui-xy-canvas-LOsQ_DM-.js → vue-ui-xy-canvas-CzLTSmDS.js} +18 -18
  139. package/dist/vue-ui-xy-canvas-d-EE9_dN.cjs +9 -0
  140. package/package.json +1 -1
  141. package/dist/Tooltip-DxtWkIt5.cjs +0 -1
  142. package/dist/index-DYUBiaGS.cjs +0 -4
  143. package/dist/vue-ui-3d-bar-BAz41kL7.cjs +0 -19
  144. package/dist/vue-ui-age-pyramid-CHNvRXx8.cjs +0 -1
  145. package/dist/vue-ui-carousel-table-Do5cYRqN.cjs +0 -1
  146. package/dist/vue-ui-chestnut-CyE8MafY.cjs +0 -6
  147. package/dist/vue-ui-cursor-DZeTQBKz.cjs +0 -1
  148. package/dist/vue-ui-donut-D2YJYgOB.cjs +0 -1
  149. package/dist/vue-ui-donut-evolution-jAMVgNHQ.cjs +0 -1
  150. package/dist/vue-ui-gauge-DpGcv_00.cjs +0 -1
  151. package/dist/vue-ui-mood-radar-CzQOAyNI.cjs +0 -1
  152. package/dist/vue-ui-quadrant-ZqhcVYf5.cjs +0 -1
  153. package/dist/vue-ui-relation-circle-C60OTe88.cjs +0 -1
  154. package/dist/vue-ui-scatter-DZUZUbnk.cjs +0 -1
  155. package/dist/vue-ui-skeleton-ClpTCY1x.cjs +0 -41
  156. package/dist/vue-ui-spark-trend-DmDlv8ie.cjs +0 -1
  157. package/dist/vue-ui-sparkbar-BUGdi0BY.cjs +0 -1
  158. package/dist/vue-ui-sparkhistogram-XtqX10_t.cjs +0 -1
  159. package/dist/vue-ui-sparkline-BZTEi9YC.cjs +0 -1
  160. package/dist/vue-ui-vertical-bar-BLIUt-HT.cjs +0 -4
  161. package/dist/vue-ui-xy-CBHEBcZK.cjs +0 -3
  162. package/dist/vue-ui-xy-canvas-D5FqRF4p.cjs +0 -9
@@ -1,20 +1,20 @@
1
- import { computed as p, ref as b, onMounted as He, watch as Be, openBlock as s, createElementBlock as u, normalizeClass as ve, normalizeStyle as K, renderSlot as _, createVNode as he, createCommentVNode as v, createBlock as Q, unref as k, createSlots as mt, withCtx as z, normalizeProps as B, guardReactiveProps as W, Fragment as h, renderList as f, createElementVNode as D, toDisplayString as S, createTextVNode as pt } from "vue";
2
- import { u as xt, c as We, t as kt, a as wt, p as oe, K as Xe, b as Ct, o as _t, e as Ue, g as zt, d as Lt, a1 as se, Z as Ye, B as Ge, X as St, l as $t, E as Je, f as E, w as Ze, x as qe, i as Ke, y as Mt, q as Tt, r as Nt } from "./index-Cm4Iry5c.js";
3
- import { u as Qe } from "./useNestedProp-CurQIHTa.js";
4
- import { t as Ot, u as Pt } from "./useResponsive-NZB-WLRF.js";
5
- import { u as Rt, U as It } from "./usePrinter-B8RnF8_q.js";
6
- import { S as Vt } from "./Slicer-yaJs-izT.js";
7
- import { _ as Ft } from "./Tooltip-CH8GmDCG.js";
8
- import { _ as At } from "./Title-C26I_HC3.js";
9
- import { L as Dt } from "./Legend-DX1kv21U.js";
10
- import Et from "./vue-ui-accordion-Cb6XBCbu.js";
11
- import { D as Ht } from "./DataTable-CQANRZju.js";
12
- import Bt from "./vue-ui-skeleton-C1oUnz7R.js";
13
- import { _ as Wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt = ["stop-color"], Zt = ["stop-color"], qt = ["stop-color"], Kt = ["x1", "x2", "y1", "y2", "stroke"], Qt = ["x1", "x2", "y1", "y2", "stroke"], jt = ["x1", "x2", "y1", "y2", "stroke"], ea = ["x1", "x2", "y1", "y2", "stroke"], ta = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], aa = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], la = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ra = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], oa = ["x", "y", "font-size", "fill", "font-weight"], sa = ["transform", "font-size", "fill", "font-weight"], ia = ["x", "y", "font-size", "fill", "font-weight"], ua = { key: 0 }, na = ["x", "y", "font-size", "font-weight", "fill"], ca = ["x", "y", "font-size", "fill", "font-weight"], va = { key: 0 }, ha = ["x", "y", "font-size", "font-weight", "fill"], da = ["x1", "x2", "y1", "y2", "stroke"], ya = ["x", "y", "font-size", "font-weight", "fill"], ga = ["x1", "x2", "y1", "y2", "stroke"], ba = ["font-size", "font-weight", "fill", "text-anchor", "transform"], fa = ["text-anchor", "font-size", "font-weight", "fill", "transform"], ma = ["font-size", "font-weight", "fill", "x", "y"], pa = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], xa = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], ka = {
1
+ import { computed as p, ref as b, onMounted as He, watch as Be, openBlock as s, createElementBlock as u, normalizeClass as ve, normalizeStyle as D, renderSlot as C, createVNode as he, createCommentVNode as v, createBlock as Q, unref as _, createSlots as ft, withCtx as z, normalizeProps as W, guardReactiveProps as X, Fragment as h, renderList as f, createElementVNode as E, toDisplayString as S, createTextVNode as mt } from "vue";
2
+ import { u as pt, c as We, t as xt, a as kt, p as oe, L as Xe, b as wt, o as Ct, e as Ue, g as _t, d as zt, a2 as se, _ as Ye, C as Ge, X as Lt, l as St, F as Je, f as H, x as qe, i as Ze, y as $t, q as Mt, r as Tt } from "./index-0KN57HdM.js";
3
+ import { u as Ke } from "./useNestedProp-NeGalTYk.js";
4
+ import { t as Nt, u as Ot } from "./useResponsive-NZB-WLRF.js";
5
+ import { u as Pt, U as Rt } from "./usePrinter-BvKYEc1z.js";
6
+ import { S as It } from "./Slicer-BlRQsQu0.js";
7
+ import { _ as Ft } from "./Tooltip-BGmkuAK4.js";
8
+ import { _ as Vt } from "./Title-gvR5aS6q.js";
9
+ import { L as At } from "./Legend-BVByqGqZ.js";
10
+ import Dt from "./vue-ui-accordion-CczyfFaC.js";
11
+ import { D as Et } from "./DataTable-OAUXdIYA.js";
12
+ import Ht from "./vue-ui-skeleton-dgMXr8k9.js";
13
+ import { _ as Bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const Wt = ["id"], Xt = ["xmlns", "viewBox"], Ut = { key: 0 }, Yt = ["id"], Gt = ["stop-color"], Jt = ["stop-color"], qt = ["stop-color"], Zt = ["x1", "x2", "y1", "y2", "stroke"], Kt = ["x1", "x2", "y1", "y2", "stroke"], Qt = ["x1", "x2", "y1", "y2", "stroke"], jt = ["x1", "x2", "y1", "y2", "stroke"], ea = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], ta = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], aa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], la = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ra = ["x", "y", "font-size", "fill", "font-weight"], oa = ["transform", "font-size", "fill", "font-weight"], sa = ["x", "y", "font-size", "fill", "font-weight"], ia = { key: 0 }, ua = ["x", "y", "font-size", "font-weight", "fill"], na = ["x", "y", "font-size", "fill", "font-weight"], ca = { key: 0 }, va = ["x", "y", "font-size", "font-weight", "fill"], ha = ["x1", "x2", "y1", "y2", "stroke"], da = ["x", "y", "font-size", "font-weight", "fill"], ya = ["x1", "x2", "y1", "y2", "stroke"], ga = ["font-size", "font-weight", "fill", "text-anchor", "transform"], ba = ["text-anchor", "font-size", "font-weight", "fill", "transform"], fa = ["font-size", "font-weight", "fill", "x", "y"], ma = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], pa = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], xa = {
15
15
  key: 3,
16
16
  class: "vue-data-ui-watermark"
17
- }, wa = ["onClick"], Ca = ["innerHTML"], _a = {
17
+ }, ka = ["onClick"], wa = ["innerHTML"], Ca = {
18
18
  __name: "vue-ui-stackbar",
19
19
  props: {
20
20
  config: {
@@ -31,15 +31,15 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
31
31
  }
32
32
  },
33
33
  emits: ["selectDatapoint", "selectLegend"],
34
- setup(de, { expose: je, emit: ye }) {
35
- const x = de, { vue_ui_stackbar: et } = xt(), H = p({
34
+ setup(de, { expose: Qe, emit: ye }) {
35
+ const x = de, { vue_ui_stackbar: je } = pt(), B = p({
36
36
  get() {
37
37
  return !!x.dataset && x.dataset.length;
38
38
  },
39
39
  set(a) {
40
40
  return a;
41
41
  }
42
- }), X = b(null), ie = b(We()), j = b(!1), ge = b(null), ue = b(""), L = b([]), be = b(0), fe = b(null), me = b(null), pe = b(null), xe = b(0), ne = b(!1), U = b(null), Y = b(!1), tt = b(0), at = b(0), lt = b(0);
42
+ }), U = b(null), ie = b(We()), j = b(!1), ge = b(null), ue = b(""), L = b([]), be = b(0), fe = b(null), me = b(null), pe = b(null), xe = b(0), ne = b(!1), Y = b(null), G = b(!1), et = b(0), tt = b(0), at = b(0);
43
43
  He(() => {
44
44
  ce();
45
45
  });
@@ -48,31 +48,31 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
48
48
  set: (a) => a
49
49
  });
50
50
  function ke() {
51
- const a = Qe({
51
+ const a = Ke({
52
52
  userConfig: x.config,
53
- defaultConfig: et
53
+ defaultConfig: je
54
54
  });
55
55
  let r = {};
56
56
  return a.theme ? r = {
57
- ...Qe({
58
- userConfig: kt.vue_ui_stackbar[a.theme] || x.config,
57
+ ...Ke({
58
+ userConfig: xt.vue_ui_stackbar[a.theme] || x.config,
59
59
  defaultConfig: a
60
60
  }),
61
- customPalette: wt[a.theme] || oe
61
+ customPalette: kt[a.theme] || oe
62
62
  } : r = a, x.config && Xe(x.config, "style.chart.grid.scale.scaleMin") ? r.style.chart.grid.scale.scaleMin = x.config.style.chart.grid.scale.scaleMin : r.style.chart.grid.scale.scaleMin = null, x.config && Xe(x.config, "style.chart.grid.scale.scaleMax") ? r.style.chart.grid.scale.scaleMax = x.config.style.chart.grid.scale.scaleMax : r.style.chart.grid.scale.scaleMax = null, r;
63
63
  }
64
64
  Be(() => x.config, (a) => {
65
- e.value = ke(), ce(), tt.value += 1, at.value += 1, lt.value += 1;
65
+ e.value = ke(), ce(), et.value += 1, tt.value += 1, at.value += 1;
66
66
  }, { deep: !0 }), Be(() => x.dataset, (a) => {
67
67
  $e();
68
68
  }, { deep: !0 });
69
- const C = b({
69
+ const w = b({
70
70
  dataLabels: {
71
71
  show: e.value.style.chart.bars.dataLabels.show
72
72
  },
73
73
  showTable: e.value.table.show,
74
74
  showTooltip: e.value.style.chart.tooltip.show
75
- }), { isPrinting: we, isImaging: Ce, generatePdf: _e, generateImage: ze } = Rt({
75
+ }), { isPrinting: we, isImaging: Ce, generatePdf: _e, generateImage: ze } = Pt({
76
76
  elementId: `stackbar_${ie.value}`,
77
77
  fileName: e.value.style.chart.title.text || "vue-ui-stackbar"
78
78
  }), ee = b({
@@ -84,20 +84,20 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
84
84
  bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
85
85
  left: e.value.style.chart.padding.left / e.value.style.chart.width
86
86
  }
87
- }), rt = p(() => Ct(e.value.customPalette)), Le = b(null), Se = b(null);
87
+ }), lt = p(() => wt(e.value.customPalette)), Le = b(null), Se = b(null);
88
88
  He(() => {
89
89
  ce();
90
90
  });
91
91
  function ce() {
92
- if (_t(x.dataset) ? Ue({
92
+ if (Ct(x.dataset) ? Ue({
93
93
  componentName: "VueUiStackbar",
94
94
  type: "dataset"
95
95
  }) : x.dataset.forEach((a, r) => {
96
- zt({
96
+ _t({
97
97
  datasetObject: a,
98
98
  requiredAttributes: ["name", "series"]
99
99
  }).forEach((t) => {
100
- H.value = !1, Ue({
100
+ B.value = !1, Ue({
101
101
  componentName: "VueUiStackbar",
102
102
  type: "datasetSerieAttribute",
103
103
  property: t,
@@ -105,37 +105,37 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
105
105
  });
106
106
  });
107
107
  }), setTimeout(() => {
108
- Y.value = !0;
108
+ G.value = !0;
109
109
  }, 10), e.value.responsive) {
110
- const a = Ot(() => {
111
- Y.value = !1;
112
- const { width: r, height: t } = Pt({
113
- chart: X.value,
110
+ const a = Nt(() => {
111
+ G.value = !1;
112
+ const { width: r, height: t } = Ot({
113
+ chart: U.value,
114
114
  title: e.value.style.chart.title.text ? fe.value : null,
115
115
  legend: e.value.style.chart.legend.show ? me.value : null,
116
116
  slicer: e.value.style.chart.zoom.show && R.value > 1 ? pe.value : null
117
117
  });
118
118
  ee.value.width = r, ee.value.height = t, clearTimeout(Se.value), Se.value = setTimeout(() => {
119
- Y.value = !0;
119
+ G.value = !0;
120
120
  }, 10);
121
121
  });
122
- Le.value = new ResizeObserver(a), Le.value.observe(X.value.parentNode);
122
+ Le.value = new ResizeObserver(a), Le.value.observe(U.value.parentNode);
123
123
  }
124
124
  }
125
125
  const o = p(() => {
126
- const { height: a, width: r } = ee.value, { right: t } = ee.value.paddingRatio, l = e.value.style.chart.padding.top, i = r - r * t, n = a - e.value.style.chart.padding.bottom, w = e.value.style.chart.padding.left, I = r - w - r * t, V = a - l - e.value.style.chart.padding.bottom;
126
+ const { height: a, width: r } = ee.value, { right: t } = ee.value.paddingRatio, l = e.value.style.chart.padding.top, i = r - r * t, n = a - e.value.style.chart.padding.bottom, k = e.value.style.chart.padding.left, I = r - k - r * t, F = a - l - e.value.style.chart.padding.bottom;
127
127
  return {
128
128
  chartHeight: a,
129
129
  chartWidth: r,
130
130
  top: l,
131
131
  right: i,
132
132
  bottom: n,
133
- left: w,
133
+ left: k,
134
134
  width: I,
135
- height: V < 0 ? 0 : V
135
+ height: F < 0 ? 0 : F
136
136
  };
137
137
  }), P = p(() => x.dataset.map((a, r) => {
138
- const t = Lt(a.color) || rt.value[r] || oe[r] || oe[r % oe.length];
138
+ const t = zt(a.color) || lt.value[r] || oe[r] || oe[r % oe.length];
139
139
  return {
140
140
  ...a,
141
141
  // In distributed mode, all values are converted to positive
@@ -159,7 +159,7 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
159
159
  const d = p(() => {
160
160
  let a;
161
161
  return e.value.orientation === "vertical" ? a = o.value.width / (c.value.end - c.value.start) : a = o.value.height / (c.value.end - c.value.start), a <= 0 ? 0 : a;
162
- }), G = p(() => se(P.value.filter((a) => !L.value.includes(a.id))).slice(c.value.start, c.value.end)), ot = p(() => se(P.value.filter((a) => !L.value.includes(a.id)).map((a) => ({
162
+ }), J = p(() => se(P.value.filter((a) => !L.value.includes(a.id))).slice(c.value.start, c.value.end)), rt = p(() => se(P.value.filter((a) => !L.value.includes(a.id)).map((a) => ({
163
163
  ...a,
164
164
  series: a.series.map((r, t) => a.signedSeries[t] === -1 && r >= 0 ? -r : r)
165
165
  }))).slice(c.value.start, c.value.end)), te = p(() => {
@@ -185,49 +185,49 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
185
185
  horizontal_y: o.value.bottom - 8,
186
186
  value: i
187
187
  }));
188
- }), J = p(() => e.value.style.chart.grid.x.timeLabels.values.slice(c.value.start, c.value.end)), m = p(() => {
189
- if (!H.value) return [];
188
+ }), q = p(() => e.value.style.chart.grid.x.timeLabels.values.slice(c.value.start, c.value.end)), m = p(() => {
189
+ if (!B.value) return [];
190
190
  let a = Array(R.value).fill(0), r = Array(R.value).fill(0), t = Array(R.value).fill(0), l = Array(R.value).fill(0);
191
- const i = Math.max(...te.value.positive) || 0, n = Math.min(...te.value.negative), w = [-1 / 0, 1 / 0, NaN, void 0, null].includes(n) ? 0 : n, I = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? Ye(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : w > 0 ? 0 : w, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : i < 0 ? 0 : i, e.value.style.chart.grid.scale.ticks) : Ge(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : w > 0 ? 0 : w, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : i < 0 ? 0 : i, e.value.style.chart.grid.scale.ticks), { min: V, max: Z } = I, F = Z + (V >= 0 ? 0 : Math.abs(V)) || 1, $ = o.value.height, re = o.value.width, De = N.value[0] ? N.value[0].zero : o.value.bottom, Ee = N.value[0] ? N.value[0].horizontal_zero : o.value.left;
192
- return P.value.filter((q) => !L.value.includes(q.id)).map((q) => {
193
- const O = q.series.slice(c.value.start, c.value.end), ct = q.signedSeries.slice(c.value.start, c.value.end), vt = O.map((y, g) => o.value.left + d.value * g + d.value * e.value.style.chart.bars.gapRatio / 4), ht = O.map((y, g) => o.value.top + d.value * g + d.value * e.value.style.chart.bars.gapRatio / 4), dt = O.map((y, g) => {
194
- const M = e.value.style.chart.bars.distributed ? (y || 0) / G.value[g] : (y || 0) / F;
191
+ const i = Math.max(...te.value.positive) || 0, n = Math.min(...te.value.negative), k = [-1 / 0, 1 / 0, NaN, void 0, null].includes(n) ? 0 : n, I = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? Ye(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : k > 0 ? 0 : k, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : i < 0 ? 0 : i, e.value.style.chart.grid.scale.ticks) : Ge(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : k > 0 ? 0 : k, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : i < 0 ? 0 : i, e.value.style.chart.grid.scale.ticks), { min: F, max: Z } = I, V = Z + (F >= 0 ? 0 : Math.abs(F)) || 1, $ = o.value.height, re = o.value.width, De = N.value[0] ? N.value[0].zero : o.value.bottom, Ee = N.value[0] ? N.value[0].horizontal_zero : o.value.left;
192
+ return P.value.filter((K) => !L.value.includes(K.id)).map((K) => {
193
+ const O = K.series.slice(c.value.start, c.value.end), nt = K.signedSeries.slice(c.value.start, c.value.end), ct = O.map((y, g) => o.value.left + d.value * g + d.value * e.value.style.chart.bars.gapRatio / 4), vt = O.map((y, g) => o.value.top + d.value * g + d.value * e.value.style.chart.bars.gapRatio / 4), ht = O.map((y, g) => {
194
+ const M = e.value.style.chart.bars.distributed ? (y || 0) / J.value[g] : (y || 0) / V;
195
195
  let A, T;
196
196
  return y > 0 ? (T = $ * M, A = De - T - a[g], a[g] += T) : (T = $ * M, A = De + t[g], t[g] += Math.abs(T)), A;
197
- }), yt = O.map((y, g) => {
198
- const M = e.value.style.chart.bars.distributed ? (y || 0) / G.value[g] : (y || 0) / F;
197
+ }), dt = O.map((y, g) => {
198
+ const M = e.value.style.chart.bars.distributed ? (y || 0) / J.value[g] : (y || 0) / V;
199
199
  let A, T;
200
200
  return y > 0 ? (T = re * M, A = Ee + r[g], r[g] += T) : (T = re * M, A = Ee - Math.abs(T) - l[g], l[g] += Math.abs(T)), A;
201
- }), gt = O.map((y, g) => {
202
- const M = e.value.style.chart.bars.distributed ? (y || 0) / G.value[g] : (y || 0) / F;
201
+ }), yt = O.map((y, g) => {
202
+ const M = e.value.style.chart.bars.distributed ? (y || 0) / J.value[g] : (y || 0) / V;
203
203
  return y > 0 ? $ * M : $ * Math.abs(M);
204
- }), bt = O.map((y, g) => {
205
- const M = e.value.style.chart.bars.distributed ? (y || 0) / G.value[g] : (y || 0) / F;
204
+ }), gt = O.map((y, g) => {
205
+ const M = e.value.style.chart.bars.distributed ? (y || 0) / J.value[g] : (y || 0) / V;
206
206
  return y > 0 ? re * M : re * Math.abs(M);
207
- }), ft = O.map((y) => Math.abs(y)).reduce((y, g) => y + g, 0);
207
+ }), bt = O.map((y) => Math.abs(y)).reduce((y, g) => y + g, 0);
208
208
  return {
209
- ...q,
210
- proportions: O.map((y, g) => e.value.style.chart.bars.distributed ? (y || 0) / G.value[g] : (y || 0) / ft),
209
+ ...K,
210
+ proportions: O.map((y, g) => e.value.style.chart.bars.distributed ? (y || 0) / J.value[g] : (y || 0) / bt),
211
211
  series: O,
212
- signedSeries: ct,
213
- x: vt,
214
- y: dt,
215
- height: gt,
216
- horizontal_width: bt,
217
- horizontal_y: ht,
218
- horizontal_x: yt
212
+ signedSeries: nt,
213
+ x: ct,
214
+ y: ht,
215
+ height: yt,
216
+ horizontal_width: gt,
217
+ horizontal_y: vt,
218
+ horizontal_x: dt
219
219
  };
220
220
  });
221
- }), Me = p(() => ot.value.map((a, r) => ({
221
+ }), Me = p(() => rt.value.map((a, r) => ({
222
222
  value: a,
223
223
  sign: a >= 0 ? 1 : -1
224
224
  })));
225
225
  function ae(a, r, t, l, i) {
226
226
  const n = i === -1 && a >= 0 ? -a : a;
227
- return Ke(
227
+ return Ze(
228
228
  e.value.style.chart.bars.dataLabels.formatter,
229
229
  n,
230
- E({
230
+ H({
231
231
  p: e.value.style.chart.bars.dataLabels.prefix,
232
232
  v: n,
233
233
  s: e.value.style.chart.bars.dataLabels.suffix,
@@ -237,10 +237,10 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
237
237
  );
238
238
  }
239
239
  function Te(a, r, t, l) {
240
- return Ke(
240
+ return Ze(
241
241
  e.value.style.chart.bars.dataLabels.formatter,
242
242
  a,
243
- E({
243
+ H({
244
244
  v: a,
245
245
  s: "%",
246
246
  r: e.value.style.chart.bars.dataLabels.rounding
@@ -256,10 +256,10 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
256
256
  color: t.color,
257
257
  id: t.id
258
258
  }));
259
- ye("selectDatapoint", { datapoint: r, period: J.value[a] });
259
+ ye("selectDatapoint", { datapoint: r, period: q.value[a] });
260
260
  }
261
261
  function Oe(a) {
262
- U.value = a, j.value = !0;
262
+ Y.value = a, j.value = !0;
263
263
  const r = e.value.style.chart.tooltip.customFormat, t = JSON.parse(JSON.stringify(m.value)).map((i) => ({
264
264
  name: i.name,
265
265
  value: i.series[a] === 0 ? 0 : (i.signedSeries[a] === -1 && i.series[a] >= 0 ? -i.series[a] : i.series[a]) || null,
@@ -267,7 +267,7 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
267
267
  color: i.color,
268
268
  id: i.id
269
269
  })), l = t.map((i) => Math.abs(i.value)).reduce((i, n) => i + n, 0);
270
- if (qe(r) && Mt(() => r({
270
+ if (qe(r) && $t(() => r({
271
271
  seriesIndex: a,
272
272
  datapoint: t,
273
273
  series: m.value,
@@ -283,13 +283,13 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
283
283
  const {
284
284
  showValue: i,
285
285
  showPercentage: n,
286
- borderColor: w,
286
+ borderColor: k,
287
287
  roundingValue: I,
288
- roundingPercentage: V
288
+ roundingPercentage: F
289
289
  } = e.value.style.chart.tooltip;
290
290
  let Z = "";
291
- J.value[a] && (Z += `<div style="width:100%;text-align:center;border-bottom:1px solid ${w};padding-bottom:6px;margin-bottom:3px;">${J.value[a]}</div>`);
292
- const F = [
291
+ q.value[a] && (Z += `<div style="width:100%;text-align:center;border-bottom:1px solid ${k};padding-bottom:6px;margin-bottom:3px;">${q.value[a]}</div>`);
292
+ const V = [
293
293
  i && n ? "(" : "",
294
294
  i && n ? ")" : ""
295
295
  ];
@@ -297,38 +297,38 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
297
297
  Z += `
298
298
  <div style="display:flex;flex-direction:row;align-items:center;gap:4px">
299
299
  <svg viewBox="0 0 12 12" height="14" width="14"><rect rx="1" x="0" y="0" height="12" width="12" stroke="none" fill="${e.value.style.chart.bars.gradient.show ? `url(#gradient_${$.id})` : $.color}"/></svg>
300
- ${$.name}${i || n ? ":" : ""} ${i ? E({
300
+ ${$.name}${i || n ? ":" : ""} ${i ? H({
301
301
  p: e.value.style.chart.bars.dataLabels.prefix,
302
302
  v: $.value,
303
303
  s: e.value.style.chart.bars.dataLabels.suffix,
304
304
  r: I
305
- }) : ""} ${F[0]}${n ? E({
305
+ }) : ""} ${V[0]}${n ? H({
306
306
  v: isNaN($.value / l) ? 0 : Math.abs($.value) / l * 100,
307
307
  // Negs are absed to show relative proportion to absolute total. It's opinionated.
308
308
  s: "%",
309
- r: V
310
- }) : ""}${F[1]}
309
+ r: F
310
+ }) : ""}${V[1]}
311
311
  </div>
312
312
  `;
313
313
  }), ue.value = `<div>${Z}</div>`;
314
314
  }
315
315
  }
316
- function st(a) {
316
+ function ot(a) {
317
317
  ne.value = a, be.value += 1;
318
318
  }
319
319
  function Pe() {
320
- C.value.showTable = !C.value.showTable;
320
+ w.value.showTable = !w.value.showTable;
321
321
  }
322
322
  function Re() {
323
- C.value.dataLabels.show = !C.value.dataLabels.show;
323
+ w.value.dataLabels.show = !w.value.dataLabels.show;
324
324
  }
325
325
  function Ie() {
326
- C.value.showTooltip = !C.value.showTooltip;
326
+ w.value.showTooltip = !w.value.showTooltip;
327
327
  }
328
- function it() {
328
+ function st() {
329
329
  return m.value;
330
330
  }
331
- const Ve = p(() => {
331
+ const Fe = p(() => {
332
332
  if (m.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
333
333
  const a = m.value.map(({ name: t, color: l }) => ({
334
334
  label: t,
@@ -342,16 +342,16 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
342
342
  }
343
343
  return { head: a, body: r };
344
344
  });
345
- function Fe() {
346
- const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], r = ["", ...Ve.value.head.map((n) => n.label)], t = Ve.value.body, l = a.concat([r]).concat(t), i = Tt(l);
347
- Nt({ csvContent: i, title: e.value.style.chart.title.text || "vue-ui-stackbar" });
345
+ function Ve() {
346
+ const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], r = ["", ...Fe.value.head.map((n) => n.label)], t = Fe.value.body, l = a.concat([r]).concat(t), i = Mt(l);
347
+ Tt({ csvContent: i, title: e.value.style.chart.title.text || "vue-ui-stackbar" });
348
348
  }
349
349
  const le = p(() => {
350
350
  const a = [""].concat(m.value.map((i) => i.name)).concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>');
351
351
  let r = [];
352
352
  for (let i = 0; i < R.value; i += 1) {
353
- const n = m.value.map((w) => w.series[i] ?? 0).reduce((w, I) => w + I, 0);
354
- r.push([e.value.style.chart.grid.x.timeLabels.values.slice(c.value.start, c.value.end)[i] ?? i + 1].concat(m.value.map((w) => (w.series[i] ?? 0).toFixed(e.value.table.td.roundingValue))).concat((n ?? 0).toFixed(e.value.table.td.roundingValue)));
353
+ const n = m.value.map((k) => k.series[i] ?? 0).reduce((k, I) => k + I, 0);
354
+ r.push([e.value.style.chart.grid.x.timeLabels.values.slice(c.value.start, c.value.end)[i] ?? i + 1].concat(m.value.map((k) => (k.series[i] ?? 0).toFixed(e.value.table.td.roundingValue))).concat((n ?? 0).toFixed(e.value.table.td.roundingValue)));
355
355
  }
356
356
  const t = {
357
357
  th: {
@@ -368,7 +368,7 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
368
368
  }, l = [e.value.table.columnNames.period].concat(m.value.map((i) => i.name)).concat(e.value.table.columnNames.total);
369
369
  return { head: a, body: r.slice(0, c.value.end - c.value.start), config: t, colNames: l };
370
370
  });
371
- function ut(a, r) {
371
+ function it(a, r) {
372
372
  if (ye("selectLegend", m.value.find((t) => t.absoluteIndex === a)), L.value.includes(r.id))
373
373
  L.value = L.value.filter((t) => t !== r.id);
374
374
  else {
@@ -382,9 +382,9 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
382
382
  })).map((a) => ({
383
383
  ...a,
384
384
  opacity: L.value.includes(a.id) ? 0.5 : 1,
385
- segregate: () => ut(a.absoluteIndex, a),
385
+ segregate: () => it(a.absoluteIndex, a),
386
386
  isSegregated: L.value.includes(a.id)
387
- }))), nt = p(() => ({
387
+ }))), ut = p(() => ({
388
388
  cy: "stackbar-legend",
389
389
  backgroundColor: e.value.style.chart.legend.backgroundColor,
390
390
  color: e.value.style.chart.legend.color,
@@ -392,10 +392,10 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
392
392
  paddingBottom: 12,
393
393
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
394
394
  }));
395
- return je({
396
- getData: it,
395
+ return Qe({
396
+ getData: st,
397
397
  generatePdf: _e,
398
- generateCsv: Fe,
398
+ generateCsv: Ve,
399
399
  generateImage: ze,
400
400
  toggleTable: Pe,
401
401
  toggleLabels: Re,
@@ -403,18 +403,18 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
403
403
  }), (a, r) => (s(), u("div", {
404
404
  id: `stackbar_${ie.value}`,
405
405
  ref_key: "stackbarChart",
406
- ref: X,
406
+ ref: U,
407
407
  class: ve({ "vue-ui-stackbar": !0, "vue-data-ui-wrapper-fullscreen": ne.value }),
408
- style: K(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`)
408
+ style: D(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`)
409
409
  }, [
410
- _(a.$slots, "userConfig", {}, void 0, !0),
410
+ C(a.$slots, "userConfig", {}, void 0, !0),
411
411
  e.value.style.chart.title.text ? (s(), u("div", {
412
412
  key: 0,
413
413
  ref_key: "chartTitle",
414
414
  ref: fe,
415
- style: K(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`)
415
+ style: D(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`)
416
416
  }, [
417
- he(At, {
417
+ he(Vt, {
418
418
  config: {
419
419
  title: {
420
420
  cy: "stackbar-title",
@@ -427,13 +427,13 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
427
427
  }
428
428
  }, null, 8, ["config"])
429
429
  ], 4)) : v("", !0),
430
- e.value.userOptions.show && H.value ? (s(), Q(It, {
430
+ e.value.userOptions.show && B.value ? (s(), Q(Rt, {
431
431
  ref: "details",
432
432
  key: `user_option_${be.value}`,
433
433
  backgroundColor: e.value.style.chart.backgroundColor,
434
434
  color: e.value.style.chart.color,
435
- isPrinting: k(we),
436
- isImaging: k(Ce),
435
+ isPrinting: _(we),
436
+ isImaging: _(Ce),
437
437
  uid: ie.value,
438
438
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
439
439
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -443,74 +443,74 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
443
443
  hasLabel: e.value.userOptions.buttons.labels,
444
444
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
445
445
  isFullscreen: ne.value,
446
- chartElement: X.value,
447
- isTooltip: C.value.showTooltip,
446
+ chartElement: U.value,
447
+ isTooltip: w.value.showTooltip,
448
448
  titles: { ...e.value.userOptions.buttonTitles },
449
- onToggleFullscreen: st,
450
- onGeneratePdf: k(_e),
451
- onGenerateCsv: Fe,
452
- onGenerateImage: k(ze),
449
+ onToggleFullscreen: ot,
450
+ onGeneratePdf: _(_e),
451
+ onGenerateCsv: Ve,
452
+ onGenerateImage: _(ze),
453
453
  onToggleTable: Pe,
454
454
  onToggleLabels: Re,
455
455
  onToggleTooltip: Ie
456
- }, mt({ _: 2 }, [
456
+ }, ft({ _: 2 }, [
457
457
  a.$slots.optionTooltip ? {
458
458
  name: "optionTooltip",
459
459
  fn: z(() => [
460
- _(a.$slots, "optionTooltip", {}, void 0, !0)
460
+ C(a.$slots, "optionTooltip", {}, void 0, !0)
461
461
  ]),
462
462
  key: "0"
463
463
  } : void 0,
464
464
  a.$slots.optionPdf ? {
465
465
  name: "optionPdf",
466
466
  fn: z(() => [
467
- _(a.$slots, "optionPdf", {}, void 0, !0)
467
+ C(a.$slots, "optionPdf", {}, void 0, !0)
468
468
  ]),
469
469
  key: "1"
470
470
  } : void 0,
471
471
  a.$slots.optionCsv ? {
472
472
  name: "optionCsv",
473
473
  fn: z(() => [
474
- _(a.$slots, "optionCsv", {}, void 0, !0)
474
+ C(a.$slots, "optionCsv", {}, void 0, !0)
475
475
  ]),
476
476
  key: "2"
477
477
  } : void 0,
478
478
  a.$slots.optionImg ? {
479
479
  name: "optionImg",
480
480
  fn: z(() => [
481
- _(a.$slots, "optionImg", {}, void 0, !0)
481
+ C(a.$slots, "optionImg", {}, void 0, !0)
482
482
  ]),
483
483
  key: "3"
484
484
  } : void 0,
485
485
  a.$slots.optionTable ? {
486
486
  name: "optionTable",
487
487
  fn: z(() => [
488
- _(a.$slots, "optionTable", {}, void 0, !0)
488
+ C(a.$slots, "optionTable", {}, void 0, !0)
489
489
  ]),
490
490
  key: "4"
491
491
  } : void 0,
492
492
  a.$slots.optionLabels ? {
493
493
  name: "optionLabels",
494
494
  fn: z(() => [
495
- _(a.$slots, "optionLabels", {}, void 0, !0)
495
+ C(a.$slots, "optionLabels", {}, void 0, !0)
496
496
  ]),
497
497
  key: "5"
498
498
  } : void 0,
499
499
  a.$slots.optionFullscreen ? {
500
500
  name: "optionFullscreen",
501
501
  fn: z(({ toggleFullscreen: t, isFullscreen: l }) => [
502
- _(a.$slots, "optionFullscreen", B(W({ toggleFullscreen: t, isFullscreen: l })), void 0, !0)
502
+ C(a.$slots, "optionFullscreen", W(X({ toggleFullscreen: t, isFullscreen: l })), void 0, !0)
503
503
  ]),
504
504
  key: "6"
505
505
  } : void 0
506
506
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "isTooltip", "titles", "onGeneratePdf", "onGenerateImage"])) : v("", !0),
507
- H.value ? (s(), u("svg", {
507
+ B.value ? (s(), u("svg", {
508
508
  key: 2,
509
- xmlns: k(St),
509
+ xmlns: _(Lt),
510
510
  viewBox: `0 0 ${o.value.chartWidth <= 0 ? 10 : o.value.chartWidth} ${o.value.chartHeight <= 0 ? 10 : o.value.chartHeight}`,
511
- style: K(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
511
+ style: D(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
512
512
  }, [
513
- e.value.style.chart.bars.gradient.show ? (s(), u("defs", Yt, [
513
+ e.value.style.chart.bars.gradient.show ? (s(), u("defs", Ut, [
514
514
  (s(!0), u(h, null, f(m.value, (t, l) => (s(), u("linearGradient", {
515
515
  id: `gradient_${t.id}`,
516
516
  x1: "0%",
@@ -518,19 +518,19 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
518
518
  x2: "0%",
519
519
  y2: "100%"
520
520
  }, [
521
- D("stop", {
521
+ E("stop", {
522
522
  offset: "0%",
523
523
  "stop-color": t.color
524
- }, null, 8, Jt),
525
- D("stop", {
524
+ }, null, 8, Gt),
525
+ E("stop", {
526
526
  offset: "61.8%",
527
- "stop-color": k($t)(t.color, e.value.style.chart.bars.gradient.intensity / 100)
528
- }, null, 8, Zt),
529
- D("stop", {
527
+ "stop-color": _(St)(t.color, e.value.style.chart.bars.gradient.intensity / 100)
528
+ }, null, 8, Jt),
529
+ E("stop", {
530
530
  offset: "100%",
531
531
  "stop-color": t.color
532
532
  }, null, 8, qt)
533
- ], 8, Gt))), 256))
533
+ ], 8, Yt))), 256))
534
534
  ])) : v("", !0),
535
535
  e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "vertical" ? (s(!0), u(h, { key: 1 }, f(N.value, (t, l) => (s(), u("line", {
536
536
  x1: o.value.left,
@@ -540,7 +540,7 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
540
540
  stroke: e.value.style.chart.grid.x.axisColor,
541
541
  "stroke-width": 1,
542
542
  "stroke-linecap": "round"
543
- }, null, 8, Kt))), 256)) : v("", !0),
543
+ }, null, 8, Zt))), 256)) : v("", !0),
544
544
  e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "horizontal" ? (s(!0), u(h, { key: 2 }, f(c.value.end - c.value.start + 1, (t, l) => (s(), u("line", {
545
545
  x1: o.value.left,
546
546
  x2: o.value.right,
@@ -549,7 +549,7 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
549
549
  stroke: e.value.style.chart.grid.y.axisColor,
550
550
  "stroke-width": 1,
551
551
  "stroke-linecap": "round"
552
- }, null, 8, Qt))), 256)) : v("", !0),
552
+ }, null, 8, Kt))), 256)) : v("", !0),
553
553
  e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "vertical" ? (s(!0), u(h, { key: 3 }, f(c.value.end - c.value.start + 1, (t, l) => (s(), u("line", {
554
554
  x1: o.value.left + d.value * l,
555
555
  x2: o.value.left + d.value * l,
@@ -558,7 +558,7 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
558
558
  stroke: e.value.style.chart.grid.y.axisColor,
559
559
  "stroke-width": 1,
560
560
  "stroke-linecap": "round"
561
- }, null, 8, jt))), 256)) : v("", !0),
561
+ }, null, 8, Qt))), 256)) : v("", !0),
562
562
  e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "horizontal" ? (s(!0), u(h, { key: 4 }, f(N.value, (t, l) => (s(), u("line", {
563
563
  x1: t.horizontal_x,
564
564
  x2: t.horizontal_x,
@@ -567,7 +567,7 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
567
567
  stroke: e.value.style.chart.grid.x.axisColor,
568
568
  "stroke-width": 1,
569
569
  "stroke-linecap": "round"
570
- }, null, 8, ea))), 256)) : v("", !0),
570
+ }, null, 8, jt))), 256)) : v("", !0),
571
571
  (s(!0), u(h, null, f(m.value, (t, l) => (s(), u("g", null, [
572
572
  e.value.orientation === "vertical" ? (s(!0), u(h, { key: 0 }, f(t.x, (i, n) => (s(), u("rect", {
573
573
  x: i,
@@ -580,8 +580,8 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
580
580
  "stroke-width": e.value.style.chart.bars.strokeWidth,
581
581
  "stroke-linecap": "round",
582
582
  "stroke-linejoin": "round",
583
- class: ve({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": Y.value })
584
- }, null, 10, ta))), 256)) : (s(!0), u(h, { key: 1 }, f(t.horizontal_x, (i, n) => (s(), u("rect", {
583
+ class: ve({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": G.value })
584
+ }, null, 10, ea))), 256)) : (s(!0), u(h, { key: 1 }, f(t.horizontal_x, (i, n) => (s(), u("rect", {
585
585
  x: i,
586
586
  y: t.horizontal_y[n] < 0 ? 0 : t.horizontal_y[n],
587
587
  width: t.horizontal_width[n] < 0 ? 1e-4 : t.horizontal_width[n],
@@ -592,8 +592,8 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
592
592
  "stroke-width": e.value.style.chart.bars.strokeWidth,
593
593
  "stroke-linecap": "round",
594
594
  "stroke-linejoin": "round",
595
- class: ve({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": Y.value })
596
- }, null, 10, aa))), 256))
595
+ class: ve({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": G.value })
596
+ }, null, 10, ta))), 256))
597
597
  ]))), 256)),
598
598
  e.value.style.chart.grid.x.showAxis ? (s(), u("line", {
599
599
  key: 5,
@@ -605,7 +605,7 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
605
605
  "stroke-width": e.value.style.chart.grid.x.axisThickness,
606
606
  "stroke-linecap": "round",
607
607
  "stroke-linejoin": "round"
608
- }, null, 8, la)) : v("", !0),
608
+ }, null, 8, aa)) : v("", !0),
609
609
  e.value.style.chart.grid.y.showAxis && !e.value.style.chart.bars.distributed ? (s(), u("line", {
610
610
  key: 6,
611
611
  x1: o.value.left,
@@ -616,7 +616,7 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
616
616
  "stroke-width": e.value.style.chart.grid.y.axisThickness,
617
617
  "stroke-linecap": "round",
618
618
  "stroke-linejoin": "round"
619
- }, null, 8, ra)) : v("", !0),
619
+ }, null, 8, la)) : v("", !0),
620
620
  e.value.style.chart.grid.x.axisName.show && e.value.style.chart.grid.x.axisName.text ? (s(), u("text", {
621
621
  key: 7,
622
622
  x: o.value.left + o.value.width / 2,
@@ -625,7 +625,7 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
625
625
  fill: e.value.style.chart.grid.x.axisName.color,
626
626
  "font-weight": e.value.style.chart.grid.x.axisName.bold ? "bold" : "normal",
627
627
  "text-anchor": "middle"
628
- }, S(e.value.style.chart.grid.x.axisName.text), 9, oa)) : v("", !0),
628
+ }, S(e.value.style.chart.grid.x.axisName.text), 9, ra)) : v("", !0),
629
629
  e.value.style.chart.grid.y.axisName.show && e.value.style.chart.grid.y.axisName.text ? (s(), u("text", {
630
630
  key: 8,
631
631
  transform: `translate(${e.value.style.chart.grid.y.axisName.fontSize + e.value.style.chart.grid.y.axisName.offsetX}, ${o.value.top + o.value.height / 2}) rotate(-90)`,
@@ -633,19 +633,19 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
633
633
  fill: e.value.style.chart.grid.y.axisName.color,
634
634
  "font-weight": e.value.style.chart.grid.y.axisName.bold ? "bold" : "normal",
635
635
  "text-anchor": "middle"
636
- }, S(e.value.style.chart.grid.y.axisName.text), 9, sa)) : v("", !0),
637
- C.value.dataLabels.show && e.value.orientation === "vertical" ? (s(), u(h, { key: 9 }, [
636
+ }, S(e.value.style.chart.grid.y.axisName.text), 9, oa)) : v("", !0),
637
+ w.value.dataLabels.show && e.value.orientation === "vertical" ? (s(), u(h, { key: 9 }, [
638
638
  (s(!0), u(h, null, f(m.value, (t, l) => (s(), u("g", null, [
639
639
  (s(!0), u(h, null, f(t.x, (i, n) => (s(), u("text", {
640
640
  x: i + d.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2,
641
641
  y: t.y[n] + t.height[n] / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
642
642
  "font-size": e.value.style.chart.bars.dataLabels.fontSize,
643
- fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? k(Je)(t.color) : e.value.style.chart.bars.dataLabels.color,
643
+ fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? _(Je)(t.color) : e.value.style.chart.bars.dataLabels.color,
644
644
  "font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
645
645
  "text-anchor": "middle"
646
- }, S(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Te(t.proportions[n] * 100, t, l, n) : ae(t.series[n], t, l, n, t.signedSeries[n])), 9, ia))), 256))
646
+ }, S(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Te(t.proportions[n] * 100, t, l, n) : ae(t.series[n], t, l, n, t.signedSeries[n])), 9, sa))), 256))
647
647
  ]))), 256)),
648
- e.value.style.chart.bars.totalValues.show && m.value.length > 1 ? (s(), u("g", ua, [
648
+ e.value.style.chart.bars.totalValues.show && m.value.length > 1 ? (s(), u("g", ia, [
649
649
  (s(!0), u(h, null, f(Me.value, (t, l) => (s(), u("text", {
650
650
  x: o.value.left + d.value * l + d.value / 2,
651
651
  y: o.value.top - e.value.style.chart.bars.totalValues.fontSize / 3,
@@ -653,21 +653,21 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
653
653
  "font-size": e.value.style.chart.bars.totalValues.fontSize,
654
654
  "font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
655
655
  fill: e.value.style.chart.bars.totalValues.color
656
- }, S(ae(t.value, t, l, t.sign)), 9, na))), 256))
656
+ }, S(ae(t.value, t, l, t.sign)), 9, ua))), 256))
657
657
  ])) : v("", !0)
658
658
  ], 64)) : v("", !0),
659
- C.value.dataLabels.show && e.value.orientation === "horizontal" ? (s(), u(h, { key: 10 }, [
659
+ w.value.dataLabels.show && e.value.orientation === "horizontal" ? (s(), u(h, { key: 10 }, [
660
660
  (s(!0), u(h, null, f(m.value, (t, l) => (s(), u("g", null, [
661
661
  (s(!0), u(h, null, f(t.horizontal_x, (i, n) => (s(), u("text", {
662
662
  x: i + (t.horizontal_width[n] < 0 ? 1e-4 : t.horizontal_width[n]) / 2,
663
663
  y: t.horizontal_y[n] + d.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
664
664
  "font-size": e.value.style.chart.bars.dataLabels.fontSize,
665
- fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? k(Je)(t.color) : e.value.style.chart.bars.dataLabels.color,
665
+ fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? _(Je)(t.color) : e.value.style.chart.bars.dataLabels.color,
666
666
  "font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
667
667
  "text-anchor": "middle"
668
- }, S(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Te(t.proportions[n] * 100, t, l, n) : ae(t.series[n], t, l, n, t.signedSeries[n])), 9, ca))), 256))
668
+ }, S(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Te(t.proportions[n] * 100, t, l, n) : ae(t.series[n], t, l, n, t.signedSeries[n])), 9, na))), 256))
669
669
  ]))), 256)),
670
- e.value.style.chart.bars.totalValues.show && m.value.length > 1 ? (s(), u("g", va, [
670
+ e.value.style.chart.bars.totalValues.show && m.value.length > 1 ? (s(), u("g", ca, [
671
671
  (s(!0), u(h, null, f(Me.value, (t, l) => (s(), u("text", {
672
672
  x: o.value.right + e.value.style.chart.bars.totalValues.fontSize / 3,
673
673
  y: o.value.top + d.value * l + d.value / 2,
@@ -675,7 +675,7 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
675
675
  "font-size": e.value.style.chart.bars.totalValues.fontSize,
676
676
  "font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
677
677
  fill: e.value.style.chart.bars.totalValues.color
678
- }, S(ae(t.value, t, l, t.sign)), 9, ha))), 256))
678
+ }, S(ae(t.value, t, l, t.sign)), 9, va))), 256))
679
679
  ])) : v("", !0)
680
680
  ], 64)) : v("", !0),
681
681
  e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed && e.value.orientation === "vertical" ? (s(), u(h, { key: 11 }, [
@@ -686,7 +686,7 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
686
686
  y2: t.y,
687
687
  stroke: e.value.style.chart.grid.x.axisColor,
688
688
  "stroke-width": 1
689
- }, null, 8, da))), 256)),
689
+ }, null, 8, ha))), 256)),
690
690
  (s(!0), u(h, null, f(N.value, (t, l) => (s(), u("text", {
691
691
  x: t.x,
692
692
  y: t.y + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
@@ -694,12 +694,12 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
694
694
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
695
695
  fill: e.value.style.chart.grid.y.axisLabels.color,
696
696
  "text-anchor": "end"
697
- }, S(k(E)({
697
+ }, S(_(H)({
698
698
  p: e.value.style.chart.bars.dataLabels.prefix,
699
699
  v: t.value,
700
700
  s: e.value.style.chart.bars.dataLabels.suffix,
701
701
  r: e.value.style.chart.grid.y.axisLabels.rounding
702
- })), 9, ya))), 256))
702
+ })), 9, da))), 256))
703
703
  ], 64)) : v("", !0),
704
704
  e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed && e.value.orientation === "horizontal" ? (s(), u(h, { key: 12 }, [
705
705
  (s(!0), u(h, null, f(N.value, (t, l) => (s(), u("line", {
@@ -710,36 +710,36 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
710
710
  stroke: e.value.style.chart.grid.x.axisColor,
711
711
  "stroke-width": 1,
712
712
  "stroke-linecap": "round"
713
- }, null, 8, ga))), 256)),
713
+ }, null, 8, ya))), 256)),
714
714
  (s(!0), u(h, null, f(N.value, (t, l) => (s(), u("text", {
715
715
  "font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
716
716
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
717
717
  fill: e.value.style.chart.grid.y.axisLabels.color,
718
718
  "text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
719
719
  transform: `translate(${t.horizontal_x}, ${o.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${e.value.style.chart.grid.x.timeLabels.rotation})`
720
- }, S(k(E)({
720
+ }, S(_(H)({
721
721
  p: e.value.style.chart.bars.dataLabels.prefix,
722
722
  v: t.value,
723
723
  s: e.value.style.chart.bars.dataLabels.suffix,
724
724
  r: e.value.style.chart.grid.y.axisLabels.rounding
725
- })), 9, ba))), 256))
725
+ })), 9, ga))), 256))
726
726
  ], 64)) : v("", !0),
727
- e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "vertical" ? (s(!0), u(h, { key: 13 }, f(J.value, (t, l) => (s(), u("text", {
727
+ e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "vertical" ? (s(!0), u(h, { key: 13 }, f(q.value, (t, l) => (s(), u("text", {
728
728
  "text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
729
729
  "font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
730
730
  "font-weight": e.value.style.chart.grid.x.timeLabels.bold ? "bold" : "normal",
731
731
  fill: e.value.style.chart.grid.x.timeLabels.color,
732
732
  transform: `translate(${o.value.left + d.value * l + d.value / 2}, ${o.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${e.value.style.chart.grid.x.timeLabels.rotation})`
733
- }, S(t), 9, fa))), 256)) : v("", !0),
734
- e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "horizontal" ? (s(!0), u(h, { key: 14 }, f(J.value, (t, l) => (s(), u("text", {
733
+ }, S(t), 9, ba))), 256)) : v("", !0),
734
+ e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "horizontal" ? (s(!0), u(h, { key: 14 }, f(q.value, (t, l) => (s(), u("text", {
735
735
  "text-anchor": "end",
736
736
  "font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
737
737
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
738
738
  fill: e.value.style.chart.grid.y.axisLabels.color,
739
739
  x: o.value.left - 8,
740
740
  y: o.value.top + d.value * l + d.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3
741
- }, S(t), 9, ma))), 256)) : v("", !0),
742
- C.value.showTooltip && e.value.orientation === "vertical" ? (s(!0), u(h, { key: 15 }, f(c.value.end - c.value.start, (t, l) => (s(), u("rect", {
741
+ }, S(t), 9, fa))), 256)) : v("", !0),
742
+ w.value.showTooltip && e.value.orientation === "vertical" ? (s(!0), u(h, { key: 15 }, f(c.value.end - c.value.start, (t, l) => (s(), u("rect", {
743
743
  x: o.value.left + l * d.value,
744
744
  y: o.value.top,
745
745
  width: d.value,
@@ -747,11 +747,12 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
747
747
  onClick: (i) => Ne(l),
748
748
  onMouseenter: (i) => Oe(l),
749
749
  onMouseleave: r[0] || (r[0] = (i) => {
750
- U.value = null, j.value = !1;
750
+ Y.value = null, j.value = !1;
751
751
  }),
752
- fill: l === U.value ? e.value.style.chart.highlighter.color + k(Ze)[e.value.style.chart.highlighter.opacity] : "transparent"
753
- }, null, 40, pa))), 256)) : v("", !0),
754
- C.value.showTooltip && e.value.orientation === "horizontal" ? (s(!0), u(h, { key: 16 }, f(c.value.end - c.value.start, (t, l) => (s(), u("rect", {
752
+ fill: l === Y.value ? e.value.style.chart.highlighter.color : "transparent",
753
+ style: D({ opacity: e.value.style.chart.highlighter.opacity / 100 })
754
+ }, null, 44, ma))), 256)) : v("", !0),
755
+ w.value.showTooltip && e.value.orientation === "horizontal" ? (s(!0), u(h, { key: 16 }, f(c.value.end - c.value.start, (t, l) => (s(), u("rect", {
755
756
  x: o.value.left,
756
757
  y: o.value.top + l * d.value,
757
758
  width: o.value.width < 0 ? 0 : o.value.width,
@@ -759,16 +760,17 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
759
760
  onClick: (i) => Ne(l),
760
761
  onMouseenter: (i) => Oe(l),
761
762
  onMouseleave: r[1] || (r[1] = (i) => {
762
- U.value = null, j.value = !1;
763
+ Y.value = null, j.value = !1;
763
764
  }),
764
- fill: l === U.value ? e.value.style.chart.highlighter.color + k(Ze)[e.value.style.chart.highlighter.opacity] : "transparent"
765
- }, null, 40, xa))), 256)) : v("", !0),
766
- _(a.$slots, "svg", B(W({ ...o.value })), void 0, !0)
767
- ], 12, Ut)) : v("", !0),
768
- a.$slots.watermark ? (s(), u("div", ka, [
769
- _(a.$slots, "watermark", B(W({ isPrinting: k(we) || k(Ce) })), void 0, !0)
765
+ fill: l === Y.value ? e.value.style.chart.highlighter.color : "transparent",
766
+ style: D({ opacity: e.value.style.chart.highlighter.opacity / 100 })
767
+ }, null, 44, pa))), 256)) : v("", !0),
768
+ C(a.$slots, "svg", W(X({ ...o.value })), void 0, !0)
769
+ ], 12, Xt)) : v("", !0),
770
+ a.$slots.watermark ? (s(), u("div", xa, [
771
+ C(a.$slots, "watermark", W(X({ isPrinting: _(we) || _(Ce) })), void 0, !0)
770
772
  ])) : v("", !0),
771
- H.value ? v("", !0) : (s(), Q(Bt, {
773
+ B.value ? v("", !0) : (s(), Q(Ht, {
772
774
  key: 4,
773
775
  config: {
774
776
  type: "bar",
@@ -783,13 +785,13 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
783
785
  }
784
786
  }
785
787
  }, null, 8, ["config"])),
786
- D("div", {
788
+ E("div", {
787
789
  ref_key: "chartSlicer",
788
790
  ref: pe,
789
- style: K(`width:100%;background:${e.value.style.chart.backgroundColor}`),
791
+ style: D(`width:100%;background:${e.value.style.chart.backgroundColor}`),
790
792
  "data-html2canvas-ignore": ""
791
793
  }, [
792
- e.value.style.chart.zoom.show && R.value > 1 ? (s(), Q(Vt, {
794
+ e.value.style.chart.zoom.show && R.value > 1 ? (s(), Q(It, {
793
795
  key: `slicer_${xe.value}`,
794
796
  background: e.value.style.chart.zoom.color,
795
797
  borderColor: e.value.style.chart.backgroundColor,
@@ -811,13 +813,13 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
811
813
  onReset: $e
812
814
  }, {
813
815
  "reset-action": z(({ reset: t }) => [
814
- _(a.$slots, "reset-action", B(W({ reset: t })), void 0, !0)
816
+ C(a.$slots, "reset-action", W(X({ reset: t })), void 0, !0)
815
817
  ]),
816
818
  _: 3
817
819
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"])) : v("", !0)
818
820
  ], 4),
819
821
  he(Ft, {
820
- show: C.value.showTooltip && j.value,
822
+ show: w.value.showTooltip && j.value,
821
823
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
822
824
  color: e.value.style.chart.tooltip.color,
823
825
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -827,45 +829,45 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
827
829
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
828
830
  position: e.value.style.chart.tooltip.position,
829
831
  offsetY: e.value.style.chart.tooltip.offsetY,
830
- parent: X.value,
832
+ parent: U.value,
831
833
  content: ue.value,
832
- isCustom: k(qe)(e.value.style.chart.tooltip.customFormat)
834
+ isCustom: _(qe)(e.value.style.chart.tooltip.customFormat)
833
835
  }, {
834
836
  "tooltip-before": z(() => [
835
- _(a.$slots, "tooltip-before", B(W({ ...ge.value })), void 0, !0)
837
+ C(a.$slots, "tooltip-before", W(X({ ...ge.value })), void 0, !0)
836
838
  ]),
837
839
  "tooltip-after": z(() => [
838
- _(a.$slots, "tooltip-after", B(W({ ...ge.value })), void 0, !0)
840
+ C(a.$slots, "tooltip-after", W(X({ ...ge.value })), void 0, !0)
839
841
  ]),
840
842
  _: 3
841
843
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
842
- D("div", {
844
+ E("div", {
843
845
  ref_key: "chartLegend",
844
846
  ref: me
845
847
  }, [
846
- e.value.style.chart.legend.show && H.value ? (s(), Q(Dt, {
848
+ e.value.style.chart.legend.show && B.value ? (s(), Q(At, {
847
849
  key: 0,
848
850
  legendSet: Ae.value,
849
- config: nt.value,
851
+ config: ut.value,
850
852
  onClickMarker: r[4] || (r[4] = ({ legend: t }) => t.segregate())
851
853
  }, {
852
854
  item: z(({ legend: t }) => [
853
- D("div", {
855
+ E("div", {
854
856
  onClick: (l) => t.segregate(),
855
- style: K(`opacity:${L.value.includes(t.id) ? 0.5 : 1}`)
856
- }, S(t.name), 13, wa)
857
+ style: D(`opacity:${L.value.includes(t.id) ? 0.5 : 1}`)
858
+ }, S(t.name), 13, ka)
857
859
  ]),
858
860
  _: 1
859
- }, 8, ["legendSet", "config"])) : _(a.$slots, "legend", {
861
+ }, 8, ["legendSet", "config"])) : C(a.$slots, "legend", {
860
862
  key: 1,
861
863
  legend: Ae.value
862
864
  }, void 0, !0)
863
865
  ], 512),
864
- c.value.end - c.value.start < 200 ? (s(), Q(Et, {
866
+ c.value.end - c.value.start < 200 ? (s(), Q(Dt, {
865
867
  key: 5,
866
868
  hideDetails: "",
867
869
  config: {
868
- open: C.value.showTable,
870
+ open: w.value.showTable,
869
871
  maxHeight: 1e4,
870
872
  body: {
871
873
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -878,19 +880,19 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
878
880
  }
879
881
  }, {
880
882
  content: z(() => [
881
- he(Ht, {
883
+ he(Et, {
882
884
  colNames: le.value.colNames,
883
885
  head: le.value.head,
884
886
  body: le.value.body,
885
887
  config: le.value.config,
886
888
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
887
- onClose: r[5] || (r[5] = (t) => C.value.showTable = !1)
889
+ onClose: r[5] || (r[5] = (t) => w.value.showTable = !1)
888
890
  }, {
889
891
  th: z(({ th: t }) => [
890
- D("div", { innerHTML: t }, null, 8, Ca)
892
+ E("div", { innerHTML: t }, null, 8, wa)
891
893
  ]),
892
894
  td: z(({ td: t }) => [
893
- pt(S(isNaN(Number(t)) ? t : k(E)({
895
+ mt(S(isNaN(Number(t)) ? t : _(H)({
894
896
  p: e.value.style.chart.bars.dataLabels.prefix,
895
897
  v: t,
896
898
  s: e.value.style.chart.bars.dataLabels.suffix,
@@ -902,9 +904,9 @@ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt =
902
904
  ]),
903
905
  _: 1
904
906
  }, 8, ["config"])) : v("", !0)
905
- ], 14, Xt));
907
+ ], 14, Wt));
906
908
  }
907
- }, Aa = /* @__PURE__ */ Wt(_a, [["__scopeId", "data-v-b4b2047a"]]);
909
+ }, Va = /* @__PURE__ */ Bt(Ca, [["__scopeId", "data-v-80e05cb3"]]);
908
910
  export {
909
- Aa as default
911
+ Va as default
910
912
  };