vue-data-ui 2.3.32 → 2.3.33

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 (141) hide show
  1. package/dist/{Arrow-f_7ZlBit.js → Arrow-CUxfM_Pi.js} +1 -1
  2. package/dist/{Arrow-C46rqWDg.cjs → Arrow-U-GXPs_S.cjs} +1 -1
  3. package/dist/{BaseIcon-CejyHIZM.js → BaseIcon-Cq04T7KZ.js} +1 -1
  4. package/dist/{BaseIcon-ChS1Bl3C.cjs → BaseIcon-DsmnhCxw.cjs} +1 -1
  5. package/dist/{DataTable-Rb6wEqzD.js → DataTable-COtc9-N3.js} +2 -2
  6. package/dist/{DataTable-BShm3pg0.cjs → DataTable-i6_WDL4K.cjs} +1 -1
  7. package/dist/{Legend-DUjHDr5A.cjs → Legend-B_gotRVB.cjs} +1 -1
  8. package/dist/{Legend-O1l-qwSU.js → Legend-Bj_2LeEE.js} +1 -1
  9. package/dist/{Shape-jOLEEcCT.js → Shape-J2c5E_YE.js} +1 -1
  10. package/dist/{Shape-DrbNfL39.cjs → Shape-e7Tqal5k.cjs} +1 -1
  11. package/dist/{Slicer-DMZ03tYD.cjs → Slicer-CDFjbPHy.cjs} +1 -1
  12. package/dist/{Slicer-BtErYU-m.js → Slicer-CL9wj6Ug.js} +1 -1
  13. package/dist/{Title-C6kjiyFi.cjs → Title-D5JSyW9g.cjs} +1 -1
  14. package/dist/{Title-B9DAMnKW.js → Title-n2bQMWGU.js} +1 -1
  15. package/dist/{Tooltip-B7LZQUXr.js → Tooltip-B2-UhSCE.js} +1 -1
  16. package/dist/{Tooltip-Dc_Vk9k7.cjs → Tooltip-Bd80EmMe.cjs} +1 -1
  17. package/dist/{index-D5gus_lg.cjs → index-C9r5MSxp.cjs} +1 -1
  18. package/dist/{index-DyzpYx72.js → index-D4ZfmZSg.js} +1 -1
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-DGjp6yqE.js → useNestedProp-DWL7GF6p.js} +1 -1
  21. package/dist/{useNestedProp-dfy-beYA.cjs → useNestedProp-DlpyayQg.cjs} +1 -1
  22. package/dist/{usePrinter-_HAcfIJq.js → usePrinter-2BdamNLl.js} +1 -1
  23. package/dist/{usePrinter-D9HscgWK.cjs → usePrinter-CgeascwN.cjs} +1 -1
  24. package/dist/{vue-data-ui-w642Au96.cjs → vue-data-ui-C60pgqBZ.cjs} +1 -1
  25. package/dist/{vue-data-ui-BYwT-L-y.js → vue-data-ui-D98veSqI.js} +57 -57
  26. package/dist/vue-data-ui.cjs +1 -1
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-uIw4YyRe.cjs → vue-ui-3d-bar-CPC6HEVe.cjs} +1 -1
  29. package/dist/{vue-ui-3d-bar-_idrDcTt.js → vue-ui-3d-bar-ChlIQYo8.js} +7 -7
  30. package/dist/{vue-ui-accordion-QESF0r0U.cjs → vue-ui-accordion-B_pg4OcN.cjs} +1 -1
  31. package/dist/{vue-ui-accordion-CQLN2WYC.js → vue-ui-accordion-W99d82RY.js} +3 -3
  32. package/dist/{vue-ui-age-pyramid-Bj_3AooT.js → vue-ui-age-pyramid-CApF0nDH.js} +8 -8
  33. package/dist/{vue-ui-age-pyramid-BqIkETbo.cjs → vue-ui-age-pyramid-jU-pS_FX.cjs} +1 -1
  34. package/dist/{vue-ui-annotator-CLCPtXoo.cjs → vue-ui-annotator-4-SHlO9R.cjs} +1 -1
  35. package/dist/{vue-ui-annotator-D0iuqAb9.js → vue-ui-annotator-DBlQGFBE.js} +1 -1
  36. package/dist/{vue-ui-candlestick-D8AnaGwt.js → vue-ui-candlestick-BJfFRmNj.js} +9 -9
  37. package/dist/{vue-ui-candlestick-BBnC2umf.cjs → vue-ui-candlestick-rPD-ZQra.cjs} +1 -1
  38. package/dist/{vue-ui-carousel-table-DJtlOVqJ.cjs → vue-ui-carousel-table-CulRP90Z.cjs} +1 -1
  39. package/dist/{vue-ui-carousel-table-CV4YRYfq.js → vue-ui-carousel-table-DO-9-fol.js} +4 -4
  40. package/dist/{vue-ui-chestnut-CRkC7aeK.cjs → vue-ui-chestnut-CPL4jyF7.cjs} +1 -1
  41. package/dist/{vue-ui-chestnut-DxRF0eGJ.js → vue-ui-chestnut-CRdOMFxs.js} +6 -6
  42. package/dist/{vue-ui-cursor-DxDaK5kl.cjs → vue-ui-cursor-Bj3h6sDD.cjs} +1 -1
  43. package/dist/{vue-ui-cursor-7KMholmU.js → vue-ui-cursor-D12DG4Kf.js} +2 -2
  44. package/dist/{vue-ui-dashboard-BMEkgCKF.js → vue-ui-dashboard-DUK0wNgQ.js} +2 -2
  45. package/dist/{vue-ui-dashboard-CjmpoQWU.cjs → vue-ui-dashboard-IOYL5mEF.cjs} +1 -1
  46. package/dist/{vue-ui-digits-slk9W4ek.js → vue-ui-digits-BC_4rx73.js} +2 -2
  47. package/dist/{vue-ui-digits-KxGiWJBe.cjs → vue-ui-digits-BzhcctF7.cjs} +1 -1
  48. package/dist/{vue-ui-donut-CtkZaRur.cjs → vue-ui-donut-BomizJUs.cjs} +1 -1
  49. package/dist/{vue-ui-donut-CB3SfpSC.js → vue-ui-donut-D74abrbu.js} +9 -9
  50. package/dist/{vue-ui-donut-evolution-CptrmAtk.cjs → vue-ui-donut-evolution-BJ4Ok-Yp.cjs} +1 -1
  51. package/dist/{vue-ui-donut-evolution-292a6FEA.js → vue-ui-donut-evolution-BUa4csgt.js} +9 -9
  52. package/dist/{vue-ui-dumbbell-BQrhfMqP.js → vue-ui-dumbbell-CUYETxFP.js} +8 -8
  53. package/dist/{vue-ui-dumbbell-Dx_-QB5p.cjs → vue-ui-dumbbell-DwWTHgZG.cjs} +1 -1
  54. package/dist/{vue-ui-flow-C12EMKoJ.cjs → vue-ui-flow-CCLdNeJ-.cjs} +1 -1
  55. package/dist/{vue-ui-flow-CcCeNf_k.js → vue-ui-flow-D27Aqy5V.js} +7 -7
  56. package/dist/{vue-ui-galaxy-BAIRiq85.js → vue-ui-galaxy-BTiLZwc-.js} +9 -9
  57. package/dist/{vue-ui-galaxy-CLVcP5Qh.cjs → vue-ui-galaxy-D5J1WxYR.cjs} +1 -1
  58. package/dist/{vue-ui-gauge-uFn_PRBN.js → vue-ui-gauge-Bhpq7HDO.js} +5 -5
  59. package/dist/{vue-ui-gauge-eMLSa5k6.cjs → vue-ui-gauge-TX5Mp_Mp.cjs} +1 -1
  60. package/dist/{vue-ui-gizmo-C5hlmv34.cjs → vue-ui-gizmo-AigQjkN4.cjs} +1 -1
  61. package/dist/{vue-ui-gizmo-CkmuI8hn.js → vue-ui-gizmo-Dw4ItxKs.js} +2 -2
  62. package/dist/{vue-ui-heatmap-mnnjTuAS.cjs → vue-ui-heatmap-DdSBSZCN.cjs} +1 -1
  63. package/dist/{vue-ui-heatmap-C3oS64to.js → vue-ui-heatmap-TBi8dmtO.js} +8 -8
  64. package/dist/{vue-ui-kpi-CpFr6mya.cjs → vue-ui-kpi-DsKGWQHr.cjs} +1 -1
  65. package/dist/{vue-ui-kpi-CMn14HGk.js → vue-ui-kpi-IYD-xkcq.js} +2 -2
  66. package/dist/{vue-ui-mini-loader-DAE2b1aK.cjs → vue-ui-mini-loader-M-frsLpu.cjs} +1 -1
  67. package/dist/{vue-ui-mini-loader-CxhRP0o3.js → vue-ui-mini-loader-_gmuDh2Q.js} +2 -2
  68. package/dist/{vue-ui-molecule-BMtrEZXu.cjs → vue-ui-molecule-CAi5aoBp.cjs} +1 -1
  69. package/dist/{vue-ui-molecule-Chxy44E1.js → vue-ui-molecule-PDKF_CLU.js} +9 -9
  70. package/dist/{vue-ui-mood-radar-B0944MVq.js → vue-ui-mood-radar-CbR_Qbbh.js} +9 -9
  71. package/dist/{vue-ui-mood-radar-D70upaRv.cjs → vue-ui-mood-radar-D4QwpYsd.cjs} +1 -1
  72. package/dist/{vue-ui-nested-donuts-C8U02J9G.cjs → vue-ui-nested-donuts-DGTR7aLK.cjs} +1 -1
  73. package/dist/{vue-ui-nested-donuts-Ct26fYcZ.js → vue-ui-nested-donuts-Doe9ng0y.js} +9 -9
  74. package/dist/{vue-ui-onion-BuAA53Z4.js → vue-ui-onion-BuigCMf3.js} +9 -9
  75. package/dist/{vue-ui-onion-D7jdX-jE.cjs → vue-ui-onion-DHknupJ5.cjs} +1 -1
  76. package/dist/{vue-ui-parallel-coordinate-plot-DTXr6rYS.cjs → vue-ui-parallel-coordinate-plot-CWkSo4cL.cjs} +1 -1
  77. package/dist/{vue-ui-parallel-coordinate-plot-DR7GBD64.js → vue-ui-parallel-coordinate-plot-Re0LZuAY.js} +10 -10
  78. package/dist/{vue-ui-quadrant-D6XUNhwO.js → vue-ui-quadrant-DpPJj0z7.js} +10 -10
  79. package/dist/{vue-ui-quadrant-DjY4UFmX.cjs → vue-ui-quadrant-EI_IElYh.cjs} +1 -1
  80. package/dist/{vue-ui-quick-chart-CHWpjYVZ.js → vue-ui-quick-chart-BDhl2kNP.js} +6 -6
  81. package/dist/{vue-ui-quick-chart-a7twDc_t.cjs → vue-ui-quick-chart-BsjrnDad.cjs} +1 -1
  82. package/dist/{vue-ui-radar-BPH8c93c.cjs → vue-ui-radar-CBSzPrBN.cjs} +1 -1
  83. package/dist/{vue-ui-radar-w8--R-ur.js → vue-ui-radar-dnfC3Ts9.js} +10 -10
  84. package/dist/{vue-ui-rating-Dfk9Umrh.cjs → vue-ui-rating-Du9DDruY.cjs} +1 -1
  85. package/dist/{vue-ui-rating-DyAunqH4.js → vue-ui-rating-v0CG2kgK.js} +2 -2
  86. package/dist/{vue-ui-relation-circle-COsMXD8M.cjs → vue-ui-relation-circle-BWOVSaOS.cjs} +1 -1
  87. package/dist/{vue-ui-relation-circle-BCCHpnpL.js → vue-ui-relation-circle-QrWQ4Qai.js} +5 -5
  88. package/dist/{vue-ui-rings-COm1RO2W.js → vue-ui-rings-CU1fcuiz.js} +9 -9
  89. package/dist/{vue-ui-rings-DrrT1cJn.cjs → vue-ui-rings-VIofJZ94.cjs} +1 -1
  90. package/dist/{vue-ui-scatter-BwlMCoqN.cjs → vue-ui-scatter-B76IQkXa.cjs} +1 -1
  91. package/dist/{vue-ui-scatter-ZjouDP_2.js → vue-ui-scatter-B9YxRg1S.js} +10 -10
  92. package/dist/{vue-ui-screenshot-D0E4gBJg.js → vue-ui-screenshot-BYVANzt7.js} +1 -1
  93. package/dist/{vue-ui-screenshot-DCAQ7EZR.cjs → vue-ui-screenshot-idw5giko.cjs} +1 -1
  94. package/dist/{vue-ui-skeleton-HxNUOQim.js → vue-ui-skeleton-Dil3xmv9.js} +2 -2
  95. package/dist/{vue-ui-skeleton-lzhZVBa5.cjs → vue-ui-skeleton-ldYPv9PF.cjs} +1 -1
  96. package/dist/{vue-ui-smiley-BNglGFZl.cjs → vue-ui-smiley-CEz1wWuk.cjs} +1 -1
  97. package/dist/{vue-ui-smiley-xoGBumeP.js → vue-ui-smiley-DwxiNgdv.js} +2 -2
  98. package/dist/{vue-ui-spark-trend-BP91Hhbk.js → vue-ui-spark-trend-BG9DZeZe.js} +4 -4
  99. package/dist/{vue-ui-spark-trend-9z2-nnDf.cjs → vue-ui-spark-trend-DN25w-rB.cjs} +1 -1
  100. package/dist/{vue-ui-sparkbar-BV7lv1Mc.js → vue-ui-sparkbar-Cs4n_GY1.js} +3 -3
  101. package/dist/{vue-ui-sparkbar-CBwEk4Sp.cjs → vue-ui-sparkbar-DaVxC8Nf.cjs} +1 -1
  102. package/dist/{vue-ui-sparkgauge-DAcXHJe3.js → vue-ui-sparkgauge-D_I53hj4.js} +3 -3
  103. package/dist/{vue-ui-sparkgauge-mf9TWCfM.cjs → vue-ui-sparkgauge-W8c5LNBs.cjs} +1 -1
  104. package/dist/{vue-ui-sparkhistogram-Cw8kAsVJ.js → vue-ui-sparkhistogram-CGRVea-3.js} +4 -4
  105. package/dist/{vue-ui-sparkhistogram-BLG-wdNd.cjs → vue-ui-sparkhistogram-j1RxtN2d.cjs} +1 -1
  106. package/dist/{vue-ui-sparkline-BIxUq0a0.cjs → vue-ui-sparkline-C77GWtzb.cjs} +1 -1
  107. package/dist/{vue-ui-sparkline-DtMX5BBW.js → vue-ui-sparkline-ChuyFXnO.js} +3 -3
  108. package/dist/{vue-ui-sparkstackbar-Boz0na6c.js → vue-ui-sparkstackbar-DOThH5PJ.js} +3 -3
  109. package/dist/{vue-ui-sparkstackbar-CcNK8jkC.cjs → vue-ui-sparkstackbar-DeGSbEIo.cjs} +1 -1
  110. package/dist/{vue-ui-stackbar-Yj49aOwn.js → vue-ui-stackbar-BYEBWNws.js} +209 -209
  111. package/dist/vue-ui-stackbar-BakzF6CM.cjs +6 -0
  112. package/dist/{vue-ui-strip-plot-CTVAbRx1.js → vue-ui-strip-plot-CK0dO53m.js} +9 -9
  113. package/dist/{vue-ui-strip-plot-BUpDy3ST.cjs → vue-ui-strip-plot-Dx6P2lA2.cjs} +1 -1
  114. package/dist/{vue-ui-table-Bn0Sh_ll.cjs → vue-ui-table-DIPNLMvf.cjs} +1 -1
  115. package/dist/{vue-ui-table-JW8Ddbcv.js → vue-ui-table-DkMrvnDz.js} +1 -1
  116. package/dist/{vue-ui-table-heatmap-D_hgGOnV.js → vue-ui-table-heatmap-B4q7WfSh.js} +4 -4
  117. package/dist/{vue-ui-table-heatmap-CBt2T6Fi.cjs → vue-ui-table-heatmap-BVEhEE0q.cjs} +1 -1
  118. package/dist/{vue-ui-table-sparkline-CE15fs3Z.cjs → vue-ui-table-sparkline-CU0SCv36.cjs} +1 -1
  119. package/dist/{vue-ui-table-sparkline-lTi-b4a9.js → vue-ui-table-sparkline-Cl4a56D9.js} +5 -5
  120. package/dist/{vue-ui-thermometer-CnOa_c88.cjs → vue-ui-thermometer-DiOXG9FE.cjs} +1 -1
  121. package/dist/{vue-ui-thermometer-DDaejskt.js → vue-ui-thermometer-pcKB72qU.js} +5 -5
  122. package/dist/{vue-ui-timer-BTkcHF3d.js → vue-ui-timer-BFcCXVhI.js} +4 -4
  123. package/dist/{vue-ui-timer-DFN5EbaX.cjs → vue-ui-timer-DnEhYkYY.cjs} +1 -1
  124. package/dist/{vue-ui-tiremarks-CHMhRw0X.cjs → vue-ui-tiremarks-ChIQAk_l.cjs} +1 -1
  125. package/dist/{vue-ui-tiremarks-CaCbMety.js → vue-ui-tiremarks-Cx5AJacV.js} +5 -5
  126. package/dist/{vue-ui-treemap-CRGZXH3Z.js → vue-ui-treemap-BeAjlsgd.js} +9 -9
  127. package/dist/{vue-ui-treemap-BKRQnqlg.cjs → vue-ui-treemap-CUkSlJWq.cjs} +1 -1
  128. package/dist/{vue-ui-vertical-bar-OiHb4ABm.js → vue-ui-vertical-bar-C6CBhGbv.js} +9 -9
  129. package/dist/{vue-ui-vertical-bar-DppxsDym.cjs → vue-ui-vertical-bar-lJGZ-IJS.cjs} +1 -1
  130. package/dist/{vue-ui-waffle-CIoGXtZP.cjs → vue-ui-waffle-C29vX0FU.cjs} +1 -1
  131. package/dist/{vue-ui-waffle-ChcZm0_Q.js → vue-ui-waffle-DM2bqLaZ.js} +9 -9
  132. package/dist/{vue-ui-wheel-DRgqt22e.js → vue-ui-wheel-Br23_h13.js} +5 -5
  133. package/dist/{vue-ui-wheel-BVDHANbp.cjs → vue-ui-wheel-D-KizYjp.cjs} +1 -1
  134. package/dist/{vue-ui-word-cloud-BbAFa1J5.cjs → vue-ui-word-cloud-CNrw2pGa.cjs} +1 -1
  135. package/dist/{vue-ui-word-cloud-B2OjEeWK.js → vue-ui-word-cloud-DkqrXhGq.js} +7 -7
  136. package/dist/{vue-ui-xy-Cf3D_9Em.js → vue-ui-xy-Bl-Jb6uH.js} +12 -12
  137. package/dist/{vue-ui-xy-6Qnf5k-u.cjs → vue-ui-xy-CJkw_ARZ.cjs} +1 -1
  138. package/dist/{vue-ui-xy-canvas-ihJeRvA1.js → vue-ui-xy-canvas-BIYJhOix.js} +10 -10
  139. package/dist/{vue-ui-xy-canvas-ZvG2lyjk.cjs → vue-ui-xy-canvas-CXK6EGbI.cjs} +1 -1
  140. package/package.json +1 -1
  141. package/dist/vue-ui-stackbar-DFK6zb17.cjs +0 -6
@@ -1,20 +1,20 @@
1
- import { computed as h, ref as v, onMounted as ze, openBlock as i, createElementBlock as n, normalizeClass as Me, normalizeStyle as X, renderSlot as b, createVNode as re, createCommentVNode as d, createBlock as Y, unref as k, createSlots as et, withCtx as f, normalizeProps as R, guardReactiveProps as V, Fragment as m, renderList as $, createElementVNode as P, toDisplayString as N, createTextVNode as tt } from "vue";
2
- import { u as at, c as Oe, o as lt, e as Pe, g as ot, t as st, a as rt, p as j, b as it, d as ut, _ as ie, A as ue, X as nt, l as ct, D as vt, f as D, v as dt, w as Ie, i as Fe, x as ht, q as gt, r as yt } from "./index-DyzpYx72.js";
3
- import { u as Re } from "./useNestedProp-DGjp6yqE.js";
4
- import { t as bt, u as ft } from "./useResponsive-NZB-WLRF.js";
5
- import { u as mt, U as pt } from "./usePrinter-_HAcfIJq.js";
6
- import { S as xt } from "./Slicer-BtErYU-m.js";
7
- import { _ as kt } from "./Tooltip-B7LZQUXr.js";
8
- import { _ as wt } from "./Title-B9DAMnKW.js";
9
- import { L as Ct } from "./Legend-O1l-qwSU.js";
10
- import Lt from "./vue-ui-accordion-CQLN2WYC.js";
11
- import { D as St } from "./DataTable-Rb6wEqzD.js";
12
- import $t from "./vue-ui-skeleton-HxNUOQim.js";
13
- import { _ as _t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot = ["stop-color"], Pt = ["stop-color"], It = ["stop-color"], Ft = ["x1", "x2", "y1", "y2", "stroke"], Rt = ["x1", "x2", "y1", "y2", "stroke"], Vt = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], Dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], At = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = ["x", "y", "font-size", "fill", "font-weight"], Ht = ["transform", "font-size", "fill", "font-weight"], Bt = ["x", "y", "font-size", "fill", "font-weight"], Ut = { key: 0 }, Wt = ["x", "y", "font-size", "font-weight", "fill"], Gt = ["x1", "x2", "y1", "y2", "stroke"], Xt = ["x", "y", "font-size", "font-weight", "fill"], Yt = ["text-anchor", "font-size", "font-weight", "fill", "transform"], Jt = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], qt = {
1
+ import { computed as h, ref as v, onMounted as Ne, openBlock as i, createElementBlock as n, normalizeClass as ze, normalizeStyle as G, renderSlot as b, createVNode as ie, createCommentVNode as d, createBlock as Y, unref as w, createSlots as tt, withCtx as f, normalizeProps as I, guardReactiveProps as V, Fragment as m, renderList as $, createElementVNode as P, toDisplayString as z, createTextVNode as at } from "vue";
2
+ import { u as lt, c as Me, o as ot, e as Oe, g as st, t as rt, a as it, p as Q, b as ut, d as nt, _ as j, A as Pe, X as ct, l as vt, D as dt, f as D, v as ht, w as Fe, i as Re, x as gt, q as yt, r as bt } from "./index-D4ZfmZSg.js";
3
+ import { u as Ie } from "./useNestedProp-DWL7GF6p.js";
4
+ import { t as ft, u as mt } from "./useResponsive-NZB-WLRF.js";
5
+ import { u as pt, U as xt } from "./usePrinter-2BdamNLl.js";
6
+ import { S as kt } from "./Slicer-CL9wj6Ug.js";
7
+ import { _ as wt } from "./Tooltip-B2-UhSCE.js";
8
+ import { _ as Ct } from "./Title-n2bQMWGU.js";
9
+ import { L as Lt } from "./Legend-Bj_2LeEE.js";
10
+ import St from "./vue-ui-accordion-W99d82RY.js";
11
+ import { D as $t } from "./DataTable-COtc9-N3.js";
12
+ import _t from "./vue-ui-skeleton-Dil3xmv9.js";
13
+ import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const Nt = ["id"], zt = ["xmlns", "viewBox"], Mt = { key: 0 }, Ot = ["id"], Pt = ["stop-color"], Ft = ["stop-color"], Rt = ["stop-color"], It = ["x1", "x2", "y1", "y2", "stroke"], Vt = ["x1", "x2", "y1", "y2", "stroke"], Dt = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], At = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ht = ["x", "y", "font-size", "fill", "font-weight"], Bt = ["transform", "font-size", "fill", "font-weight"], Ut = ["x", "y", "font-size", "fill", "font-weight"], Wt = { key: 0 }, Gt = ["x", "y", "font-size", "font-weight", "fill"], Yt = ["x1", "x2", "y1", "y2", "stroke"], Xt = ["x", "y", "font-size", "font-weight", "fill"], Jt = ["text-anchor", "font-size", "font-weight", "fill", "transform"], qt = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], Zt = {
15
15
  key: 3,
16
16
  class: "vue-data-ui-watermark"
17
- }, Zt = ["onClick"], Kt = ["innerHTML"], Qt = {
17
+ }, Kt = ["onClick"], Qt = ["innerHTML"], jt = {
18
18
  __name: "vue-ui-stackbar",
19
19
  props: {
20
20
  config: {
@@ -31,25 +31,25 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
31
31
  }
32
32
  },
33
33
  emits: ["selectDatapoint", "selectLegend"],
34
- setup(ne, { expose: Ve, emit: ce }) {
35
- const _ = ne, { vue_ui_stackbar: De } = at(), I = h({
34
+ setup(ue, { expose: Ve, emit: ne }) {
35
+ const _ = ue, { vue_ui_stackbar: De } = lt(), F = h({
36
36
  get() {
37
37
  return !!_.dataset && _.dataset.length;
38
38
  },
39
39
  set(a) {
40
40
  return a;
41
41
  }
42
- }), A = v(null), ee = v(Oe()), te = v(!1), ve = v(null), ae = v(""), w = v([]), de = v(0), he = v(null), ge = v(null), ye = v(null), be = v(0), le = v(!1), oe = v(null), J = v(!1);
43
- ze(() => {
44
- lt(_.dataset) ? Pe({
42
+ }), A = v(null), ee = v(Me()), te = v(!1), ce = v(null), ae = v(""), p = v([]), ve = v(0), de = v(null), he = v(null), ge = v(null), ye = v(0), le = v(!1), oe = v(null), X = v(!1);
43
+ Ne(() => {
44
+ ot(_.dataset) ? Oe({
45
45
  componentName: "VueUiStackbar",
46
46
  type: "dataset"
47
47
  }) : _.dataset.forEach((a, l) => {
48
- ot({
48
+ st({
49
49
  datasetObject: a,
50
50
  requiredAttributes: ["name", "series"]
51
51
  }).forEach((t) => {
52
- I.value = !1, Pe({
52
+ F.value = !1, Oe({
53
53
  componentName: "VueUiStackbar",
54
54
  type: "datasetSerieAttribute",
55
55
  property: t,
@@ -57,20 +57,20 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
57
57
  });
58
58
  });
59
59
  }), setTimeout(() => {
60
- J.value = !0;
60
+ X.value = !0;
61
61
  }, 10);
62
62
  });
63
63
  const e = h(() => {
64
- const a = Re({
64
+ const a = Ie({
65
65
  userConfig: _.config,
66
66
  defaultConfig: De
67
67
  });
68
68
  return a.theme ? {
69
- ...Re({
70
- userConfig: st.vue_ui_stackbar[a.theme] || _.config,
69
+ ...Ie({
70
+ userConfig: rt.vue_ui_stackbar[a.theme] || _.config,
71
71
  defaultConfig: a
72
72
  }),
73
- customPalette: rt[a.theme] || j
73
+ customPalette: it[a.theme] || Q
74
74
  } : a;
75
75
  }), C = v({
76
76
  dataLabels: {
@@ -78,10 +78,10 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
78
78
  },
79
79
  showTable: e.value.table.show,
80
80
  showTooltip: e.value.style.chart.tooltip.show
81
- }), { isPrinting: fe, isImaging: me, generatePdf: pe, generateImage: xe } = mt({
81
+ }), { isPrinting: be, isImaging: fe, generatePdf: me, generateImage: pe } = pt({
82
82
  elementId: `stackbar_${ee.value}`,
83
83
  fileName: e.value.style.chart.title.text || "vue-ui-stackbar"
84
- }), q = v({
84
+ }), J = v({
85
85
  width: e.value.style.chart.width,
86
86
  height: e.value.style.chart.height,
87
87
  paddingRatio: {
@@ -90,38 +90,38 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
90
90
  bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
91
91
  left: e.value.style.chart.padding.left / e.value.style.chart.width
92
92
  }
93
- }), Ae = h(() => it(e.value.customPalette)), ke = v(null), we = v(null);
94
- ze(() => {
93
+ }), Ae = h(() => ut(e.value.customPalette)), xe = v(null), ke = v(null);
94
+ Ne(() => {
95
95
  if (e.value.responsive) {
96
- const a = bt(() => {
97
- J.value = !1;
98
- const { width: l, height: t } = ft({
96
+ const a = ft(() => {
97
+ X.value = !1;
98
+ const { width: l, height: t } = mt({
99
99
  chart: A.value,
100
- title: e.value.style.chart.title.text ? he.value : null,
101
- legend: e.value.style.chart.legend.show ? ge.value : null,
102
- slicer: e.value.style.chart.zoom.show && E.value > 1 ? ye.value : null
100
+ title: e.value.style.chart.title.text ? de.value : null,
101
+ legend: e.value.style.chart.legend.show ? he.value : null,
102
+ slicer: e.value.style.chart.zoom.show && E.value > 1 ? ge.value : null
103
103
  });
104
- q.value.width = l, q.value.height = t, clearTimeout(we.value), we.value = setTimeout(() => {
105
- J.value = !0;
104
+ J.value.width = l, J.value.height = t, clearTimeout(ke.value), ke.value = setTimeout(() => {
105
+ X.value = !0;
106
106
  }, 10);
107
107
  });
108
- ke.value = new ResizeObserver(a), ke.value.observe(A.value.parentNode);
108
+ xe.value = new ResizeObserver(a), xe.value.observe(A.value.parentNode);
109
109
  }
110
110
  });
111
111
  const r = h(() => {
112
- const { height: a, width: l } = q.value, { right: t } = q.value.paddingRatio, o = e.value.style.chart.padding.top, s = l - l * t, c = a - e.value.style.chart.padding.bottom, p = e.value.style.chart.padding.left, M = l - p - l * t, O = a - o - e.value.style.chart.padding.bottom;
112
+ const { height: a, width: l } = J.value, { right: t } = J.value.paddingRatio, o = e.value.style.chart.padding.top, s = l - l * t, c = a - e.value.style.chart.padding.bottom, x = e.value.style.chart.padding.left, M = l - x - l * t, O = a - o - e.value.style.chart.padding.bottom;
113
113
  return {
114
114
  chartHeight: a,
115
115
  chartWidth: l,
116
116
  top: o,
117
117
  right: s,
118
118
  bottom: c,
119
- left: p,
119
+ left: x,
120
120
  width: M,
121
121
  height: O < 0 ? 0 : O
122
122
  };
123
- }), z = h(() => _.dataset.map((a, l) => {
124
- const t = ut(a.color) || Ae.value[l] || j[l] || j[l % j.length];
123
+ }), T = h(() => _.dataset.map((a, l) => {
124
+ const t = nt(a.color) || Ae.value[l] || Q[l] || Q[l % Q.length];
125
125
  return {
126
126
  ...a,
127
127
  // In distributed mode, all values are converted to positive
@@ -129,10 +129,10 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
129
129
  // Store signs to manage display of neg values in distributed mode
130
130
  signedSeries: a.series.map((o) => o >= 0 ? 1 : -1),
131
131
  absoluteIndex: l,
132
- id: Oe(),
132
+ id: Me(),
133
133
  color: t
134
134
  };
135
- })), E = h(() => Math.max(...z.value.filter((a) => !w.value.includes(a.id)).map((a) => a.series.length))), u = v({
135
+ })), E = h(() => Math.max(...T.value.filter((a) => !p.value.includes(a.id)).map((a) => a.series.length))), u = v({
136
136
  start: 0,
137
137
  end: Math.max(..._.dataset.map((a) => a.series.length))
138
138
  });
@@ -140,64 +140,64 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
140
140
  u.value = {
141
141
  start: 0,
142
142
  end: Math.max(..._.dataset.map((a) => a.series.length))
143
- }, be.value += 1;
143
+ }, ye.value += 1;
144
144
  }
145
145
  const L = h(() => {
146
146
  const a = r.value.width / (u.value.end - u.value.start);
147
147
  return a <= 0 ? 0 : a;
148
- }), H = h(() => ie(z.value.filter((a) => !w.value.includes(a.id))).slice(u.value.start, u.value.end)), Z = h(() => {
149
- const a = z.value.filter((l) => !w.value.includes(l.id));
148
+ }), se = h(() => j(T.value.filter((a) => !p.value.includes(a.id))).slice(u.value.start, u.value.end)), He = h(() => j(T.value.filter((a) => !p.value.includes(a.id)).map((a) => ({
149
+ ...a,
150
+ series: a.series.map((l, t) => a.signedSeries[t] === -1 && l >= 0 ? -l : l)
151
+ }))).slice(u.value.start, u.value.end)), q = h(() => {
152
+ const a = T.value.filter((l) => !p.value.includes(l.id));
150
153
  return {
151
- positive: ie(a.map((l) => ({
154
+ positive: j(a.map((l) => ({
152
155
  ...l,
153
156
  series: l.series.slice(u.value.start, u.value.end).map((t) => t >= 0 ? t : 0)
154
157
  }))),
155
- negative: ie(a.map((l) => ({
158
+ negative: j(a.map((l) => ({
156
159
  ...l,
157
160
  series: l.series.slice(u.value.start, u.value.end).map((t) => t < 0 ? t : 0)
158
161
  })))
159
162
  };
160
- }), B = h(() => {
161
- const a = Math.max(...Z.value.positive), l = Math.min(...Z.value.negative), t = [-1 / 0, 1 / 0, NaN, void 0, null].includes(l) ? 0 : l, o = ue(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks);
163
+ }), H = h(() => {
164
+ const a = Math.max(...q.value.positive), l = Math.min(...q.value.negative), t = [-1 / 0, 1 / 0, NaN, void 0, null].includes(l) ? 0 : l, o = Pe(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks);
162
165
  return o.ticks.map((s) => ({
163
166
  zero: r.value.bottom - r.value.height * (Math.abs(o.min) / (o.max + Math.abs(o.min))),
164
167
  y: r.value.bottom - r.value.height * ((s + Math.abs(o.min)) / (o.max + Math.abs(o.min))),
165
168
  x: r.value.left - 8,
166
169
  value: s
167
170
  }));
168
- }), K = h(() => e.value.style.chart.grid.x.timeLabels.values.slice(u.value.start, u.value.end)), g = h(() => {
169
- if (!I.value) return [];
171
+ }), Z = h(() => e.value.style.chart.grid.x.timeLabels.values.slice(u.value.start, u.value.end)), g = h(() => {
172
+ if (!F.value) return [];
170
173
  let a = Array(E.value).fill(0), l = Array(E.value).fill(0);
171
- const t = Math.max(...Z.value.positive) || 0, o = Math.min(...Z.value.negative), s = [-1 / 0, 1 / 0, NaN, void 0, null].includes(o) ? 0 : o, c = ue(s > 0 ? 0 : s, t < 0 ? 0 : t, e.value.style.chart.grid.scale.ticks), { min: p, max: M } = c, O = M + (p >= 0 ? 0 : Math.abs(p)) || 1, T = r.value.height, U = B.value[0] ? B.value[0].zero : r.value.bottom;
172
- return z.value.filter((S) => !w.value.includes(S.id)).map((S) => {
173
- const F = S.series.slice(u.value.start, u.value.end), qe = S.signedSeries.slice(u.value.start, u.value.end), Ze = F.map((y, x) => r.value.left + L.value * x + L.value * e.value.style.chart.bars.gapRatio / 4), Ke = F.map((y, x) => {
174
- const W = e.value.style.chart.bars.distributed ? (y || 0) / H.value[x] : (y || 0) / O;
175
- let se, G;
176
- return y > 0 ? (G = T * W, se = U - G - a[x], a[x] += G) : (G = T * W, se = U + l[x], l[x] += Math.abs(G)), se;
177
- }), Qe = F.map((y, x) => {
178
- const W = e.value.style.chart.bars.distributed ? (y || 0) / H.value[x] : (y || 0) / O;
179
- return y > 0 ? T * W : T * Math.abs(W);
180
- }), je = F.map((y) => Math.abs(y)).reduce((y, x) => y + x, 0);
174
+ const t = Math.max(...q.value.positive) || 0, o = Math.min(...q.value.negative), s = [-1 / 0, 1 / 0, NaN, void 0, null].includes(o) ? 0 : o, c = Pe(s > 0 ? 0 : s, t < 0 ? 0 : t, e.value.style.chart.grid.scale.ticks), { min: x, max: M } = c, O = M + (x >= 0 ? 0 : Math.abs(x)) || 1, N = r.value.height, B = H.value[0] ? H.value[0].zero : r.value.bottom;
175
+ return T.value.filter((S) => !p.value.includes(S.id)).map((S) => {
176
+ const R = S.series.slice(u.value.start, u.value.end), Ze = S.signedSeries.slice(u.value.start, u.value.end), Ke = R.map((y, k) => r.value.left + L.value * k + L.value * e.value.style.chart.bars.gapRatio / 4), Qe = R.map((y, k) => {
177
+ const U = e.value.style.chart.bars.distributed ? (y || 0) / se.value[k] : (y || 0) / O;
178
+ let re, W;
179
+ return y > 0 ? (W = N * U, re = B - W - a[k], a[k] += W) : (W = N * U, re = B + l[k], l[k] += Math.abs(W)), re;
180
+ }), je = R.map((y, k) => {
181
+ const U = e.value.style.chart.bars.distributed ? (y || 0) / se.value[k] : (y || 0) / O;
182
+ return y > 0 ? N * U : N * Math.abs(U);
183
+ }), et = R.map((y) => Math.abs(y)).reduce((y, k) => y + k, 0);
181
184
  return {
182
185
  ...S,
183
- proportions: F.map((y, x) => e.value.style.chart.bars.distributed ? (y || 0) / H.value[x] : (y || 0) / je),
184
- series: F,
185
- signedSeries: qe,
186
- x: Ze,
187
- y: Ke,
188
- height: Qe
186
+ proportions: R.map((y, k) => e.value.style.chart.bars.distributed ? (y || 0) / se.value[k] : (y || 0) / et),
187
+ series: R,
188
+ signedSeries: Ze,
189
+ x: Ke,
190
+ y: Qe,
191
+ height: je
189
192
  };
190
193
  });
191
- }), He = h(() => {
192
- const a = Math.max(...H.value), t = ue(0, a, e.value.style.chart.grid.scale.ticks).max;
193
- return H.value.map((o, s) => ({
194
- value: o,
195
- y: (1 - o / t) * r.value.height
196
- }));
197
- });
198
- function Ce(a, l, t, o, s) {
199
- const c = e.value.style.chart.bars.distributed ? s === 1 ? a : -a : a;
200
- return Fe(
194
+ }), Be = h(() => He.value.map((a, l) => ({
195
+ value: a,
196
+ sign: a >= 0 ? 1 : -1
197
+ })));
198
+ function we(a, l, t, o, s) {
199
+ const c = s === -1 && a >= 0 ? -a : a;
200
+ return Re(
201
201
  e.value.style.chart.bars.dataLabels.formatter,
202
202
  c,
203
203
  D({
@@ -209,8 +209,8 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
209
209
  { datapoint: l, seriesIndex: t, datapointIndex: o }
210
210
  );
211
211
  }
212
- function Be(a, l, t, o) {
213
- return Fe(
212
+ function Ue(a, l, t, o) {
213
+ return Re(
214
214
  e.value.style.chart.bars.dataLabels.formatter,
215
215
  a,
216
216
  D({
@@ -221,7 +221,7 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
221
221
  { datapoint: l, seriesIndex: t, datapointIndex: o }
222
222
  );
223
223
  }
224
- function Ue(a) {
224
+ function We(a) {
225
225
  const l = JSON.parse(JSON.stringify(g.value)).map((t) => ({
226
226
  name: t.name,
227
227
  value: t.series[a] === 0 ? 0 : t.series[a] || null,
@@ -229,18 +229,18 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
229
229
  color: t.color,
230
230
  id: t.id
231
231
  }));
232
- ce("selectDatapoint", { datapoint: l, period: K.value[a] });
232
+ ne("selectDatapoint", { datapoint: l, period: Z.value[a] });
233
233
  }
234
- function We(a) {
234
+ function Ge(a) {
235
235
  oe.value = a, te.value = !0;
236
236
  const l = e.value.style.chart.tooltip.customFormat, t = JSON.parse(JSON.stringify(g.value)).map((s) => ({
237
237
  name: s.name,
238
- value: s.series[a] === 0 ? 0 : s.series[a] || null,
238
+ value: s.series[a] === 0 ? 0 : (s.signedSeries[a] === -1 && s.series[a] >= 0 ? -s.series[a] : s.series[a]) || null,
239
239
  proportion: s.proportions[a] || null,
240
240
  color: s.color,
241
241
  id: s.id
242
242
  })), o = t.map((s) => Math.abs(s.value)).reduce((s, c) => s + c, 0);
243
- if (Ie(l) && ht(() => l({
243
+ if (Fe(l) && gt(() => l({
244
244
  seriesIndex: a,
245
245
  datapoint: t,
246
246
  series: g.value,
@@ -256,18 +256,18 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
256
256
  const {
257
257
  showValue: s,
258
258
  showPercentage: c,
259
- borderColor: p,
259
+ borderColor: x,
260
260
  roundingValue: M,
261
261
  roundingPercentage: O
262
262
  } = e.value.style.chart.tooltip;
263
- let T = "";
264
- K.value[a] && (T += `<div style="width:100%;text-align:center;border-bottom:1px solid ${p};padding-bottom:6px;margin-bottom:3px;">${K.value[a]}</div>`);
265
- const U = [
263
+ let N = "";
264
+ Z.value[a] && (N += `<div style="width:100%;text-align:center;border-bottom:1px solid ${x};padding-bottom:6px;margin-bottom:3px;">${Z.value[a]}</div>`);
265
+ const B = [
266
266
  s && c ? "(" : "",
267
267
  s && c ? ")" : ""
268
268
  ];
269
269
  t.reverse().forEach((S) => {
270
- T += `
270
+ N += `
271
271
  <div style="display:flex;flex-direction:row;align-items:center;gap:4px">
272
272
  <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_${S.id})` : S.color}"/></svg>
273
273
  ${S.name}${s || c ? ":" : ""} ${s ? D({
@@ -275,33 +275,33 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
275
275
  v: S.value,
276
276
  s: e.value.style.chart.bars.dataLabels.suffix,
277
277
  r: M
278
- }) : ""} ${U[0]}${c ? D({
278
+ }) : ""} ${B[0]}${c ? D({
279
279
  v: isNaN(S.value / o) ? 0 : Math.abs(S.value) / o * 100,
280
280
  // Negs are absed to show relative proportion to absolute total. It's opinionated.
281
281
  s: "%",
282
282
  r: O
283
- }) : ""}${U[1]}
283
+ }) : ""}${B[1]}
284
284
  </div>
285
285
  `;
286
- }), ae.value = `<div>${T}</div>`;
286
+ }), ae.value = `<div>${N}</div>`;
287
287
  }
288
288
  }
289
- function Ge(a) {
290
- le.value = a, de.value += 1;
289
+ function Ye(a) {
290
+ le.value = a, ve.value += 1;
291
291
  }
292
- function Le() {
292
+ function Ce() {
293
293
  C.value.showTable = !C.value.showTable;
294
294
  }
295
- function Se() {
295
+ function Le() {
296
296
  C.value.dataLabels.show = !C.value.dataLabels.show;
297
297
  }
298
- function $e() {
298
+ function Se() {
299
299
  C.value.showTooltip = !C.value.showTooltip;
300
300
  }
301
301
  function Xe() {
302
302
  return g.value;
303
303
  }
304
- const _e = h(() => {
304
+ const $e = h(() => {
305
305
  if (g.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
306
306
  const a = g.value.map(({ name: t, color: o }) => ({
307
307
  label: t,
@@ -309,22 +309,22 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
309
309
  })), l = [];
310
310
  for (let t = u.value.start; t < u.value.end; t += 1) {
311
311
  const o = [e.value.style.chart.grid.x.timeLabels.values[t] || t + 1];
312
- z.value.forEach((s) => {
312
+ T.value.forEach((s) => {
313
313
  o.push(Number((s.series[t] || 0).toFixed(e.value.table.td.roundingValue)));
314
314
  }), l.push(o);
315
315
  }
316
316
  return { head: a, body: l };
317
317
  });
318
- function Te() {
319
- const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = ["", ..._e.value.head.map((c) => c.label)], t = _e.value.body, o = a.concat([l]).concat(t), s = gt(o);
320
- yt({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-stackbar" });
318
+ function _e() {
319
+ const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = ["", ...$e.value.head.map((c) => c.label)], t = $e.value.body, o = a.concat([l]).concat(t), s = yt(o);
320
+ bt({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-stackbar" });
321
321
  }
322
- const Q = h(() => {
322
+ const K = h(() => {
323
323
  const a = [""].concat(g.value.map((s) => s.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>');
324
324
  let l = [];
325
325
  for (let s = 0; s < E.value; s += 1) {
326
- const c = g.value.map((p) => p.series[s] ?? 0).reduce((p, M) => p + M, 0);
327
- l.push([e.value.style.chart.grid.x.timeLabels.values.slice(u.value.start, u.value.end)[s] ?? s + 1].concat(g.value.map((p) => (p.series[s] ?? 0).toFixed(e.value.table.td.roundingValue))).concat((c ?? 0).toFixed(e.value.table.td.roundingValue)));
326
+ const c = g.value.map((x) => x.series[s] ?? 0).reduce((x, M) => x + M, 0);
327
+ l.push([e.value.style.chart.grid.x.timeLabels.values.slice(u.value.start, u.value.end)[s] ?? s + 1].concat(g.value.map((x) => (x.series[s] ?? 0).toFixed(e.value.table.td.roundingValue))).concat((c ?? 0).toFixed(e.value.table.td.roundingValue)));
328
328
  }
329
329
  const t = {
330
330
  th: {
@@ -341,23 +341,23 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
341
341
  }, o = [e.value.table.columnNames.period].concat(g.value.map((s) => s.name)).concat(e.value.table.columnNames.total);
342
342
  return { head: a, body: l.slice(0, u.value.end - u.value.start), config: t, colNames: o };
343
343
  });
344
- function Ye(a, l) {
345
- if (ce("selectLegend", g.value.find((t) => t.absoluteIndex === a)), w.value.includes(l.id))
346
- w.value = w.value.filter((t) => t !== l.id);
344
+ function Je(a, l) {
345
+ if (ne("selectLegend", g.value.find((t) => t.absoluteIndex === a)), p.value.includes(l.id))
346
+ p.value = p.value.filter((t) => t !== l.id);
347
347
  else {
348
- if (w.value.length === z.value.length - 1) return;
349
- w.value.push(l.id);
348
+ if (p.value.length === T.value.length - 1) return;
349
+ p.value.push(l.id);
350
350
  }
351
351
  }
352
- const Ne = h(() => z.value.map((a, l) => ({
352
+ const Te = h(() => T.value.map((a, l) => ({
353
353
  ...a,
354
354
  shape: "square"
355
355
  })).map((a) => ({
356
356
  ...a,
357
- opacity: w.value.includes(a.id) ? 0.5 : 1,
358
- segregate: () => Ye(a.absoluteIndex, a),
359
- isSegregated: w.value.includes(a.id)
360
- }))), Je = h(() => ({
357
+ opacity: p.value.includes(a.id) ? 0.5 : 1,
358
+ segregate: () => Je(a.absoluteIndex, a),
359
+ isSegregated: p.value.includes(a.id)
360
+ }))), qe = h(() => ({
361
361
  cy: "stackbar-legend",
362
362
  backgroundColor: e.value.style.chart.legend.backgroundColor,
363
363
  color: e.value.style.chart.legend.color,
@@ -367,27 +367,27 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
367
367
  }));
368
368
  return Ve({
369
369
  getData: Xe,
370
- generatePdf: pe,
371
- generateCsv: Te,
372
- generateImage: xe,
373
- toggleTable: Le,
374
- toggleLabels: Se,
375
- toggleTooltip: $e
370
+ generatePdf: me,
371
+ generateCsv: _e,
372
+ generateImage: pe,
373
+ toggleTable: Ce,
374
+ toggleLabels: Le,
375
+ toggleTooltip: Se
376
376
  }), (a, l) => (i(), n("div", {
377
377
  id: `stackbar_${ee.value}`,
378
378
  ref_key: "stackbarChart",
379
379
  ref: A,
380
- class: Me({ "vue-ui-stackbar": !0, "vue-data-ui-wrapper-fullscreen": le.value }),
381
- style: X(`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%" : ""}`)
380
+ class: ze({ "vue-ui-stackbar": !0, "vue-data-ui-wrapper-fullscreen": le.value }),
381
+ style: G(`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%" : ""}`)
382
382
  }, [
383
383
  b(a.$slots, "userConfig", {}, void 0, !0),
384
384
  e.value.style.chart.title.text ? (i(), n("div", {
385
385
  key: 0,
386
386
  ref_key: "chartTitle",
387
- ref: he,
388
- style: X(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`)
387
+ ref: de,
388
+ style: G(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`)
389
389
  }, [
390
- re(wt, {
390
+ ie(Ct, {
391
391
  config: {
392
392
  title: {
393
393
  cy: "stackbar-title",
@@ -400,13 +400,13 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
400
400
  }
401
401
  }, null, 8, ["config"])
402
402
  ], 4)) : d("", !0),
403
- e.value.userOptions.show && I.value ? (i(), Y(pt, {
403
+ e.value.userOptions.show && F.value ? (i(), Y(xt, {
404
404
  ref: "details",
405
- key: `user_option_${de.value}`,
405
+ key: `user_option_${ve.value}`,
406
406
  backgroundColor: e.value.style.chart.backgroundColor,
407
407
  color: e.value.style.chart.color,
408
- isPrinting: k(fe),
409
- isImaging: k(me),
408
+ isPrinting: w(be),
409
+ isImaging: w(fe),
410
410
  uid: ee.value,
411
411
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
412
412
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -419,14 +419,14 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
419
419
  chartElement: A.value,
420
420
  isTooltip: C.value.showTooltip,
421
421
  titles: { ...e.value.userOptions.buttonTitles },
422
- onToggleFullscreen: Ge,
423
- onGeneratePdf: k(pe),
424
- onGenerateCsv: Te,
425
- onGenerateImage: k(xe),
426
- onToggleTable: Le,
427
- onToggleLabels: Se,
428
- onToggleTooltip: $e
429
- }, et({ _: 2 }, [
422
+ onToggleFullscreen: Ye,
423
+ onGeneratePdf: w(me),
424
+ onGenerateCsv: _e,
425
+ onGenerateImage: w(pe),
426
+ onToggleTable: Ce,
427
+ onToggleLabels: Le,
428
+ onToggleTooltip: Se
429
+ }, tt({ _: 2 }, [
430
430
  a.$slots.optionTooltip ? {
431
431
  name: "optionTooltip",
432
432
  fn: f(() => [
@@ -472,18 +472,18 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
472
472
  a.$slots.optionFullscreen ? {
473
473
  name: "optionFullscreen",
474
474
  fn: f(({ toggleFullscreen: t, isFullscreen: o }) => [
475
- b(a.$slots, "optionFullscreen", R(V({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
475
+ b(a.$slots, "optionFullscreen", I(V({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
476
476
  ]),
477
477
  key: "6"
478
478
  } : void 0
479
479
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "isTooltip", "titles", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
480
- I.value ? (i(), n("svg", {
480
+ F.value ? (i(), n("svg", {
481
481
  key: 2,
482
- xmlns: k(nt),
482
+ xmlns: w(ct),
483
483
  viewBox: `0 0 ${r.value.chartWidth <= 0 ? 10 : r.value.chartWidth} ${r.value.chartHeight <= 0 ? 10 : r.value.chartHeight}`,
484
- style: X(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
484
+ style: G(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
485
485
  }, [
486
- e.value.style.chart.bars.gradient.show ? (i(), n("defs", zt, [
486
+ e.value.style.chart.bars.gradient.show ? (i(), n("defs", Mt, [
487
487
  (i(!0), n(m, null, $(g.value, (t, o) => (i(), n("linearGradient", {
488
488
  id: `gradient_${t.id}`,
489
489
  x1: "0%",
@@ -494,25 +494,25 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
494
494
  P("stop", {
495
495
  offset: "0%",
496
496
  "stop-color": t.color
497
- }, null, 8, Ot),
497
+ }, null, 8, Pt),
498
498
  P("stop", {
499
499
  offset: "61.8%",
500
- "stop-color": k(ct)(t.color, e.value.style.chart.bars.gradient.intensity / 100)
501
- }, null, 8, Pt),
500
+ "stop-color": w(vt)(t.color, e.value.style.chart.bars.gradient.intensity / 100)
501
+ }, null, 8, Ft),
502
502
  P("stop", {
503
503
  offset: "100%",
504
504
  "stop-color": t.color
505
- }, null, 8, It)
506
- ], 8, Mt))), 256))
505
+ }, null, 8, Rt)
506
+ ], 8, Ot))), 256))
507
507
  ])) : d("", !0),
508
- e.value.style.chart.grid.x.showHorizontalLines ? (i(!0), n(m, { key: 1 }, $(B.value, (t, o) => (i(), n("line", {
508
+ e.value.style.chart.grid.x.showHorizontalLines ? (i(!0), n(m, { key: 1 }, $(H.value, (t, o) => (i(), n("line", {
509
509
  x1: r.value.left,
510
510
  x2: r.value.right,
511
511
  y1: t.y,
512
512
  y2: t.y,
513
513
  stroke: e.value.style.chart.grid.x.axisColor,
514
514
  "stroke-width": 1
515
- }, null, 8, Ft))), 256)) : d("", !0),
515
+ }, null, 8, It))), 256)) : d("", !0),
516
516
  e.value.style.chart.grid.y.showVerticalLines ? (i(!0), n(m, { key: 2 }, $(u.value.end - u.value.start + 1, (t, o) => (i(), n("line", {
517
517
  x1: r.value.left + L.value * o,
518
518
  x2: r.value.left + L.value * o,
@@ -520,7 +520,7 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
520
520
  y2: r.value.bottom,
521
521
  stroke: e.value.style.chart.grid.y.axisColor,
522
522
  "stroke-width": 1
523
- }, null, 8, Rt))), 256)) : d("", !0),
523
+ }, null, 8, Vt))), 256)) : d("", !0),
524
524
  (i(!0), n(m, null, $(g.value, (t, o) => (i(), n("g", null, [
525
525
  (i(!0), n(m, null, $(t.x, (s, c) => (i(), n("rect", {
526
526
  x: s,
@@ -533,8 +533,8 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
533
533
  "stroke-width": e.value.style.chart.bars.strokeWidth,
534
534
  "stroke-linecap": "round",
535
535
  "stroke-linejoin": "round",
536
- class: Me({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": J.value })
537
- }, null, 10, Vt))), 256))
536
+ class: ze({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": X.value })
537
+ }, null, 10, Dt))), 256))
538
538
  ]))), 256)),
539
539
  e.value.style.chart.grid.x.showAxis ? (i(), n("line", {
540
540
  key: 3,
@@ -546,7 +546,7 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
546
546
  "stroke-width": e.value.style.chart.grid.x.axisThickness,
547
547
  "stroke-linecap": "round",
548
548
  "stroke-linejoin": "round"
549
- }, null, 8, Dt)) : d("", !0),
549
+ }, null, 8, At)) : d("", !0),
550
550
  e.value.style.chart.grid.y.showAxis && !e.value.style.chart.bars.distributed ? (i(), n("line", {
551
551
  key: 4,
552
552
  x1: r.value.left,
@@ -557,7 +557,7 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
557
557
  "stroke-width": e.value.style.chart.grid.y.axisThickness,
558
558
  "stroke-linecap": "round",
559
559
  "stroke-linejoin": "round"
560
- }, null, 8, At)) : d("", !0),
560
+ }, null, 8, Et)) : d("", !0),
561
561
  e.value.style.chart.grid.x.axisName.show && e.value.style.chart.grid.x.axisName.text ? (i(), n("text", {
562
562
  key: 5,
563
563
  x: r.value.left + r.value.width / 2,
@@ -566,7 +566,7 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
566
566
  fill: e.value.style.chart.grid.x.axisName.color,
567
567
  "font-weight": e.value.style.chart.grid.x.axisName.bold ? "bold" : "normal",
568
568
  "text-anchor": "middle"
569
- }, N(e.value.style.chart.grid.x.axisName.text), 9, Et)) : d("", !0),
569
+ }, z(e.value.style.chart.grid.x.axisName.text), 9, Ht)) : d("", !0),
570
570
  e.value.style.chart.grid.y.axisName.show && e.value.style.chart.grid.y.axisName.text ? (i(), n("text", {
571
571
  key: 6,
572
572
  transform: `translate(${e.value.style.chart.grid.y.axisName.fontSize + e.value.style.chart.grid.y.axisName.offsetX}, ${r.value.top + r.value.height / 2}) rotate(-90)`,
@@ -574,77 +574,77 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
574
574
  fill: e.value.style.chart.grid.y.axisName.color,
575
575
  "font-weight": e.value.style.chart.grid.y.axisName.bold ? "bold" : "normal",
576
576
  "text-anchor": "middle"
577
- }, N(e.value.style.chart.grid.y.axisName.text), 9, Ht)) : d("", !0),
577
+ }, z(e.value.style.chart.grid.y.axisName.text), 9, Bt)) : d("", !0),
578
578
  C.value.dataLabels.show ? (i(), n(m, { key: 7 }, [
579
579
  (i(!0), n(m, null, $(g.value, (t, o) => (i(), n("g", null, [
580
580
  (i(!0), n(m, null, $(t.x, (s, c) => (i(), n("text", {
581
581
  x: s + L.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2,
582
582
  y: t.y[c] + t.height[c] / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
583
583
  "font-size": e.value.style.chart.bars.dataLabels.fontSize,
584
- fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? k(vt)(t.color) : e.value.style.chart.bars.dataLabels.color,
584
+ fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? w(dt)(t.color) : e.value.style.chart.bars.dataLabels.color,
585
585
  "font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
586
586
  "text-anchor": "middle"
587
- }, N(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Be(t.proportions[c] * 100, t, o, c) : Ce(t.series[c], t, o, c, t.signedSeries[c])), 9, Bt))), 256))
587
+ }, z(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Ue(t.proportions[c] * 100, t, o, c) : we(t.series[c], t, o, c, t.signedSeries[c])), 9, Ut))), 256))
588
588
  ]))), 256)),
589
- e.value.style.chart.bars.totalValues.show && g.value.length > 1 ? (i(), n("g", Ut, [
590
- (i(!0), n(m, null, $(He.value, (t, o) => (i(), n("text", {
589
+ e.value.style.chart.bars.totalValues.show && g.value.length > 1 ? (i(), n("g", Wt, [
590
+ (i(!0), n(m, null, $(Be.value, (t, o) => (i(), n("text", {
591
591
  x: r.value.left + L.value * o + L.value / 2,
592
592
  y: r.value.top - e.value.style.chart.bars.totalValues.fontSize / 3,
593
593
  "text-anchor": "middle",
594
594
  "font-size": e.value.style.chart.bars.totalValues.fontSize,
595
595
  "font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
596
596
  fill: e.value.style.chart.bars.totalValues.color
597
- }, N(Ce(t.value, t, o)), 9, Wt))), 256))
597
+ }, z(we(t.value, t, o, t.sign)), 9, Gt))), 256))
598
598
  ])) : d("", !0)
599
599
  ], 64)) : d("", !0),
600
600
  e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed ? (i(), n(m, { key: 8 }, [
601
- (i(!0), n(m, null, $(B.value, (t, o) => (i(), n("line", {
601
+ (i(!0), n(m, null, $(H.value, (t, o) => (i(), n("line", {
602
602
  x1: r.value.left,
603
603
  x2: r.value.left - 6,
604
604
  y1: t.y,
605
605
  y2: t.y,
606
606
  stroke: e.value.style.chart.grid.x.axisColor,
607
607
  "stroke-width": 1
608
- }, null, 8, Gt))), 256)),
609
- (i(!0), n(m, null, $(B.value, (t, o) => (i(), n("text", {
608
+ }, null, 8, Yt))), 256)),
609
+ (i(!0), n(m, null, $(H.value, (t, o) => (i(), n("text", {
610
610
  x: t.x,
611
611
  y: t.y + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
612
612
  "font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
613
613
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
614
614
  fill: e.value.style.chart.grid.y.axisLabels.color,
615
615
  "text-anchor": "end"
616
- }, N(k(D)({
616
+ }, z(w(D)({
617
617
  p: e.value.style.chart.bars.dataLabels.prefix,
618
618
  v: t.value,
619
619
  s: e.value.style.chart.bars.dataLabels.suffix,
620
620
  r: e.value.style.chart.grid.y.axisLabels.rounding
621
621
  })), 9, Xt))), 256))
622
622
  ], 64)) : d("", !0),
623
- e.value.style.chart.grid.x.timeLabels.show ? (i(!0), n(m, { key: 9 }, $(K.value, (t, o) => (i(), n("text", {
623
+ e.value.style.chart.grid.x.timeLabels.show ? (i(!0), n(m, { key: 9 }, $(Z.value, (t, o) => (i(), n("text", {
624
624
  "text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
625
625
  "font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
626
626
  "font-weight": e.value.style.chart.grid.x.timeLabels.bold ? "bold" : "normal",
627
627
  fill: e.value.style.chart.grid.x.timeLabels.color,
628
628
  transform: `translate(${r.value.left + L.value * o + L.value / 2}, ${r.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})`
629
- }, N(t), 9, Yt))), 256)) : d("", !0),
629
+ }, z(t), 9, Jt))), 256)) : d("", !0),
630
630
  C.value.showTooltip ? (i(!0), n(m, { key: 10 }, $(u.value.end - u.value.start, (t, o) => (i(), n("rect", {
631
631
  x: r.value.left + o * L.value,
632
632
  y: r.value.top,
633
633
  width: L.value,
634
634
  height: r.value.height < 0 ? 0 : r.value.height,
635
- onClick: (s) => Ue(o),
636
- onMouseenter: (s) => We(o),
635
+ onClick: (s) => We(o),
636
+ onMouseenter: (s) => Ge(o),
637
637
  onMouseleave: l[0] || (l[0] = (s) => {
638
638
  oe.value = null, te.value = !1;
639
639
  }),
640
- fill: o === oe.value ? e.value.style.chart.highlighter.color + k(dt)[e.value.style.chart.highlighter.opacity] : "transparent"
641
- }, null, 40, Jt))), 256)) : d("", !0),
642
- b(a.$slots, "svg", R(V({ ...r.value })), void 0, !0)
643
- ], 12, Nt)) : d("", !0),
644
- a.$slots.watermark ? (i(), n("div", qt, [
645
- b(a.$slots, "watermark", R(V({ isPrinting: k(fe) || k(me) })), void 0, !0)
640
+ fill: o === oe.value ? e.value.style.chart.highlighter.color + w(ht)[e.value.style.chart.highlighter.opacity] : "transparent"
641
+ }, null, 40, qt))), 256)) : d("", !0),
642
+ b(a.$slots, "svg", I(V({ ...r.value })), void 0, !0)
643
+ ], 12, zt)) : d("", !0),
644
+ a.$slots.watermark ? (i(), n("div", Zt, [
645
+ b(a.$slots, "watermark", I(V({ isPrinting: w(be) || w(fe) })), void 0, !0)
646
646
  ])) : d("", !0),
647
- I.value ? d("", !0) : (i(), Y($t, {
647
+ F.value ? d("", !0) : (i(), Y(_t, {
648
648
  key: 4,
649
649
  config: {
650
650
  type: "bar",
@@ -661,12 +661,12 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
661
661
  }, null, 8, ["config"])),
662
662
  P("div", {
663
663
  ref_key: "chartSlicer",
664
- ref: ye,
665
- style: X(`width:100%;background:${e.value.style.chart.backgroundColor}`),
664
+ ref: ge,
665
+ style: G(`width:100%;background:${e.value.style.chart.backgroundColor}`),
666
666
  "data-html2canvas-ignore": ""
667
667
  }, [
668
- e.value.style.chart.zoom.show && E.value > 1 ? (i(), Y(xt, {
669
- key: `slicer_${be.value}`,
668
+ e.value.style.chart.zoom.show && E.value > 1 ? (i(), Y(kt, {
669
+ key: `slicer_${ye.value}`,
670
670
  background: e.value.style.chart.zoom.color,
671
671
  borderColor: e.value.style.chart.backgroundColor,
672
672
  fontSize: e.value.style.chart.zoom.fontSize,
@@ -676,7 +676,7 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
676
676
  textColor: e.value.style.chart.color,
677
677
  inputColor: e.value.style.chart.zoom.color,
678
678
  selectColor: e.value.style.chart.zoom.highlightColor,
679
- max: Math.max(...ne.dataset.map((t) => t.series.length)),
679
+ max: Math.max(...ue.dataset.map((t) => t.series.length)),
680
680
  min: 0,
681
681
  valueStart: u.value.start,
682
682
  valueEnd: u.value.end,
@@ -687,12 +687,12 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
687
687
  onReset: Ee
688
688
  }, {
689
689
  "reset-action": f(({ reset: t }) => [
690
- b(a.$slots, "reset-action", R(V({ reset: t })), void 0, !0)
690
+ b(a.$slots, "reset-action", I(V({ reset: t })), void 0, !0)
691
691
  ]),
692
692
  _: 3
693
693
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"])) : d("", !0)
694
694
  ], 4),
695
- re(kt, {
695
+ ie(wt, {
696
696
  show: C.value.showTooltip && te.value,
697
697
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
698
698
  color: e.value.style.chart.tooltip.color,
@@ -705,39 +705,39 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
705
705
  offsetY: e.value.style.chart.tooltip.offsetY,
706
706
  parent: A.value,
707
707
  content: ae.value,
708
- isCustom: k(Ie)(e.value.style.chart.tooltip.customFormat)
708
+ isCustom: w(Fe)(e.value.style.chart.tooltip.customFormat)
709
709
  }, {
710
710
  "tooltip-before": f(() => [
711
- b(a.$slots, "tooltip-before", R(V({ ...ve.value })), void 0, !0)
711
+ b(a.$slots, "tooltip-before", I(V({ ...ce.value })), void 0, !0)
712
712
  ]),
713
713
  "tooltip-after": f(() => [
714
- b(a.$slots, "tooltip-after", R(V({ ...ve.value })), void 0, !0)
714
+ b(a.$slots, "tooltip-after", I(V({ ...ce.value })), void 0, !0)
715
715
  ]),
716
716
  _: 3
717
717
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
718
718
  P("div", {
719
719
  ref_key: "chartLegend",
720
- ref: ge
720
+ ref: he
721
721
  }, [
722
- e.value.style.chart.legend.show && I.value ? (i(), Y(Ct, {
722
+ e.value.style.chart.legend.show && F.value ? (i(), Y(Lt, {
723
723
  key: 0,
724
- legendSet: Ne.value,
725
- config: Je.value,
724
+ legendSet: Te.value,
725
+ config: qe.value,
726
726
  onClickMarker: l[3] || (l[3] = ({ legend: t }) => t.segregate())
727
727
  }, {
728
728
  item: f(({ legend: t }) => [
729
729
  P("div", {
730
730
  onClick: (o) => t.segregate(),
731
- style: X(`opacity:${w.value.includes(t.id) ? 0.5 : 1}`)
732
- }, N(t.name), 13, Zt)
731
+ style: G(`opacity:${p.value.includes(t.id) ? 0.5 : 1}`)
732
+ }, z(t.name), 13, Kt)
733
733
  ]),
734
734
  _: 1
735
735
  }, 8, ["legendSet", "config"])) : b(a.$slots, "legend", {
736
736
  key: 1,
737
- legend: Ne.value
737
+ legend: Te.value
738
738
  }, void 0, !0)
739
739
  ], 512),
740
- u.value.end - u.value.start < 200 ? (i(), Y(Lt, {
740
+ u.value.end - u.value.start < 200 ? (i(), Y(St, {
741
741
  key: 5,
742
742
  hideDetails: "",
743
743
  config: {
@@ -754,19 +754,19 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
754
754
  }
755
755
  }, {
756
756
  content: f(() => [
757
- re(St, {
758
- colNames: Q.value.colNames,
759
- head: Q.value.head,
760
- body: Q.value.body,
761
- config: Q.value.config,
757
+ ie($t, {
758
+ colNames: K.value.colNames,
759
+ head: K.value.head,
760
+ body: K.value.body,
761
+ config: K.value.config,
762
762
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
763
763
  onClose: l[4] || (l[4] = (t) => C.value.showTable = !1)
764
764
  }, {
765
765
  th: f(({ th: t }) => [
766
- P("div", { innerHTML: t }, null, 8, Kt)
766
+ P("div", { innerHTML: t }, null, 8, Qt)
767
767
  ]),
768
768
  td: f(({ td: t }) => [
769
- tt(N(isNaN(Number(t)) ? t : k(D)({
769
+ at(z(isNaN(Number(t)) ? t : w(D)({
770
770
  p: e.value.style.chart.bars.dataLabels.prefix,
771
771
  v: t,
772
772
  s: e.value.style.chart.bars.dataLabels.suffix,
@@ -778,9 +778,9 @@ const Tt = ["id"], Nt = ["xmlns", "viewBox"], zt = { key: 0 }, Mt = ["id"], Ot =
778
778
  ]),
779
779
  _: 1
780
780
  }, 8, ["config"])) : d("", !0)
781
- ], 14, Tt));
781
+ ], 14, Nt));
782
782
  }
783
- }, da = /* @__PURE__ */ _t(Qt, [["__scopeId", "data-v-308041b6"]]);
783
+ }, ha = /* @__PURE__ */ Tt(jt, [["__scopeId", "data-v-b55a4b06"]]);
784
784
  export {
785
- da as default
785
+ ha as default
786
786
  };