vue-data-ui 2.4.68 → 2.4.70

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 (156) hide show
  1. package/README.md +3 -1
  2. package/dist/{Arrow-D5Ik6Rl_.js → Arrow-6iiqpdmu.js} +1 -1
  3. package/dist/{Arrow-DTyx6yXe.cjs → Arrow-B5enRv0z.cjs} +1 -1
  4. package/dist/{BaseIcon-D7H3G8-f.js → BaseIcon-1cIjVntY.js} +1 -1
  5. package/dist/{BaseIcon-At97xJaA.cjs → BaseIcon-U1_DjHDx.cjs} +1 -1
  6. package/dist/{DataTable-CNH8bChE.js → DataTable-B1FxJofv.js} +2 -2
  7. package/dist/{DataTable-Dng-zRfh.cjs → DataTable-D8n9mxYD.cjs} +1 -1
  8. package/dist/{Legend-kF7sC1KK.js → Legend-BMPqVkBW.js} +2 -2
  9. package/dist/{Legend-kMbr5DZt.cjs → Legend-yTCeOn97.cjs} +1 -1
  10. package/dist/{PackageVersion-m6HC0skh.js → PackageVersion-B51w3y82.js} +1 -1
  11. package/dist/{PackageVersion-CHUMvFGr.cjs → PackageVersion-ou96yRPl.cjs} +1 -1
  12. package/dist/{PenAndPaper-FOhKSug_.js → PenAndPaper-BSEqDrpB.js} +3 -3
  13. package/dist/{PenAndPaper-DmMAK04m.cjs → PenAndPaper-BWwAIhEN.cjs} +1 -1
  14. package/dist/{Shape-Ajzs1V3O.cjs → Shape-BQHHOWfV.cjs} +1 -1
  15. package/dist/{Shape-CfcWXI5g.js → Shape-TWPk_v-7.js} +1 -1
  16. package/dist/{Slicer-Cgyw5vYE.cjs → Slicer-B2hsi3sr.cjs} +1 -1
  17. package/dist/{Slicer-Bq3BajcJ.js → Slicer-CTMbBaNs.js} +2 -2
  18. package/dist/{Title-C7y-iI1m.cjs → Title-CLw400_T.cjs} +1 -1
  19. package/dist/{Title-L52l_KMR.js → Title-CujJ2kZY.js} +1 -1
  20. package/dist/{Tooltip-Y622sV6l.cjs → Tooltip-BGjOAkJQ.cjs} +1 -1
  21. package/dist/{Tooltip-FYp9ljnj.js → Tooltip-CPxoXFKu.js} +1 -1
  22. package/dist/{index-3_ulDZ6w.js → index-B3hGeAZ7.js} +8330 -4527
  23. package/dist/index-DsNY1SpD.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +2 -2
  26. package/dist/types/vue-data-ui.d.ts +2 -2
  27. package/dist/{useNestedProp-BtCZVKOm.cjs → useNestedProp-B4YewnHE.cjs} +1 -1
  28. package/dist/{useNestedProp-Bs6ltq3I.js → useNestedProp-WWv9scq-.js} +1 -1
  29. package/dist/{usePrinter-BmNhTUGE.cjs → usePrinter-BS5qzASr.cjs} +1 -1
  30. package/dist/{usePrinter-NdwnpHUu.js → usePrinter-CiUt-pS9.js} +1 -1
  31. package/dist/{vue-data-ui-qqS_JEAb.js → vue-data-ui-Dex3QmMG.js} +60 -60
  32. package/dist/{vue-data-ui-C4MFJb3X.cjs → vue-data-ui-RimTudAT.cjs} +1 -1
  33. package/dist/vue-data-ui.cjs +1 -1
  34. package/dist/vue-data-ui.js +1 -1
  35. package/dist/{vue-ui-3d-bar-D1Q5GpB8.cjs → vue-ui-3d-bar-BaUMT6Im.cjs} +1 -1
  36. package/dist/{vue-ui-3d-bar-B-DPM6sB.js → vue-ui-3d-bar-CSDlYOc2.js} +9 -9
  37. package/dist/{vue-ui-accordion-Dd0mfQys.cjs → vue-ui-accordion-BAP0rDBZ.cjs} +1 -1
  38. package/dist/{vue-ui-accordion-DXlXtAML.js → vue-ui-accordion-DFn61GBf.js} +3 -3
  39. package/dist/{vue-ui-age-pyramid-CEw1j90S.js → vue-ui-age-pyramid-B9kHnlMD.js} +10 -10
  40. package/dist/{vue-ui-age-pyramid-Dn8sTUD1.cjs → vue-ui-age-pyramid-s4RTdVJb.cjs} +1 -1
  41. package/dist/{vue-ui-annotator-I7b5208U.js → vue-ui-annotator-ClRp-_nk.js} +1 -1
  42. package/dist/{vue-ui-annotator-DLwKn7nJ.cjs → vue-ui-annotator-vJFxGq0D.cjs} +1 -1
  43. package/dist/{vue-ui-bullet-B_toFHM0.cjs → vue-ui-bullet-BojHcddQ.cjs} +1 -1
  44. package/dist/{vue-ui-bullet-CUpzxv8b.js → vue-ui-bullet-CCxg-DLm.js} +8 -8
  45. package/dist/{vue-ui-candlestick-D4poOC-A.js → vue-ui-candlestick-CKA68yh0.js} +11 -11
  46. package/dist/{vue-ui-candlestick-DUjJP9IX.cjs → vue-ui-candlestick-D79x0-7c.cjs} +1 -1
  47. package/dist/{vue-ui-carousel-table-BRdt1LUl.cjs → vue-ui-carousel-table-C3bbmzML.cjs} +1 -1
  48. package/dist/{vue-ui-carousel-table-CMP41H6W.js → vue-ui-carousel-table-Drk3spxC.js} +4 -4
  49. package/dist/{vue-ui-chestnut-BzCjWlbs.js → vue-ui-chestnut-2sRDod-W.js} +8 -8
  50. package/dist/{vue-ui-chestnut-BGpagpDQ.cjs → vue-ui-chestnut-BEGqhEq0.cjs} +1 -1
  51. package/dist/{vue-ui-cursor-CdhhPJ2w.js → vue-ui-cursor-DF-5Ps-j.js} +2 -2
  52. package/dist/{vue-ui-cursor-Ike72xN1.cjs → vue-ui-cursor-DKkfnZmq.cjs} +1 -1
  53. package/dist/{vue-ui-dashboard-CDUpQHzg.js → vue-ui-dashboard-DrdZgjNe.js} +2 -2
  54. package/dist/{vue-ui-dashboard-CFF1xhGw.cjs → vue-ui-dashboard-OckN8VFj.cjs} +1 -1
  55. package/dist/{vue-ui-digits-Cu3AtNFJ.cjs → vue-ui-digits-D5_-V30J.cjs} +1 -1
  56. package/dist/{vue-ui-digits-Cje8oZYA.js → vue-ui-digits-mDAvf_YK.js} +2 -2
  57. package/dist/{vue-ui-donut-DyEbJv8M.js → vue-ui-donut-CJEJcYS2.js} +12 -12
  58. package/dist/{vue-ui-donut-BNmui7ee.cjs → vue-ui-donut-Cmlh9AUu.cjs} +1 -1
  59. package/dist/{vue-ui-donut-evolution-B_kVMwY5.js → vue-ui-donut-evolution-CK-cpwE5.js} +11 -11
  60. package/dist/{vue-ui-donut-evolution-BxElmgKr.cjs → vue-ui-donut-evolution-DbtSfpK6.cjs} +1 -1
  61. package/dist/{vue-ui-dumbbell-XSwVUKkI.js → vue-ui-dumbbell-BLzNidEF.js} +10 -10
  62. package/dist/{vue-ui-dumbbell-Bb4_UIZL.cjs → vue-ui-dumbbell-CBoNAirK.cjs} +1 -1
  63. package/dist/{vue-ui-flow-BxSDPsTX.cjs → vue-ui-flow-DL2m0MdD.cjs} +1 -1
  64. package/dist/{vue-ui-flow-CT9Ikm2q.js → vue-ui-flow-bCt7TASQ.js} +9 -9
  65. package/dist/{vue-ui-funnel-4Xz5KcCC.cjs → vue-ui-funnel-D-jHODod.cjs} +1 -1
  66. package/dist/{vue-ui-funnel-xE-KSwUY.js → vue-ui-funnel-jLnMfVJu.js} +9 -9
  67. package/dist/{vue-ui-galaxy-BKyxc95s.cjs → vue-ui-galaxy-0WxeXT5y.cjs} +1 -1
  68. package/dist/{vue-ui-galaxy-CQu_2tM7.js → vue-ui-galaxy-Zqj4_zJg.js} +11 -11
  69. package/dist/{vue-ui-gauge-BML0PHj7.js → vue-ui-gauge-DNlSMh2o.js} +7 -7
  70. package/dist/{vue-ui-gauge-BY-_g8oh.cjs → vue-ui-gauge-DofvFQSC.cjs} +1 -1
  71. package/dist/{vue-ui-gizmo-CZdz1ws4.js → vue-ui-gizmo-COgDK5C0.js} +3 -3
  72. package/dist/{vue-ui-gizmo-DCDez8vm.cjs → vue-ui-gizmo-CRgJ1mZy.cjs} +1 -1
  73. package/dist/{vue-ui-heatmap-B6TqJ0rT.cjs → vue-ui-heatmap-BEkE4xql.cjs} +1 -1
  74. package/dist/{vue-ui-heatmap-BBhBotdK.js → vue-ui-heatmap-BOJgxQWc.js} +10 -10
  75. package/dist/{vue-ui-history-plot-ICiiX_iG.cjs → vue-ui-history-plot-BHbGz1DH.cjs} +1 -1
  76. package/dist/{vue-ui-history-plot-CEGzb0go.js → vue-ui-history-plot-DpfI1G8u.js} +11 -11
  77. package/dist/{vue-ui-kpi-CcY9SiQU.js → vue-ui-kpi-C8rtBkJx.js} +3 -3
  78. package/dist/{vue-ui-kpi-b1KYFaD5.cjs → vue-ui-kpi-CK5INSo4.cjs} +1 -1
  79. package/dist/{vue-ui-mini-loader-ChYeDs8b.js → vue-ui-mini-loader-DAS-clra.js} +2 -2
  80. package/dist/{vue-ui-mini-loader-DRDOwWX4.cjs → vue-ui-mini-loader-jcfkEvKC.cjs} +1 -1
  81. package/dist/{vue-ui-molecule-BC9pfKLe.cjs → vue-ui-molecule-Ba9FjFUe.cjs} +1 -1
  82. package/dist/{vue-ui-molecule-C7RlUrep.js → vue-ui-molecule-kOGTPW9a.js} +11 -11
  83. package/dist/{vue-ui-mood-radar-MwQGdQBk.js → vue-ui-mood-radar-6lLMtdI6.js} +11 -11
  84. package/dist/{vue-ui-mood-radar-DuyOelxm.cjs → vue-ui-mood-radar-D7kjDtlO.cjs} +1 -1
  85. package/dist/{vue-ui-nested-donuts-CTjWqxm1.js → vue-ui-nested-donuts-CK6LyQMB.js} +11 -11
  86. package/dist/{vue-ui-nested-donuts-DV_fUt8X.cjs → vue-ui-nested-donuts-D8af6ksq.cjs} +1 -1
  87. package/dist/{vue-ui-onion-CMJQd4hJ.cjs → vue-ui-onion-BAPfxwHq.cjs} +1 -1
  88. package/dist/{vue-ui-onion-DQU2quzY.js → vue-ui-onion-DWF3EeOX.js} +11 -11
  89. package/dist/{vue-ui-parallel-coordinate-plot-el0qRCNH.js → vue-ui-parallel-coordinate-plot-BL2TYCct.js} +12 -12
  90. package/dist/{vue-ui-parallel-coordinate-plot-mr_VL-5e.cjs → vue-ui-parallel-coordinate-plot-CiZvUoVu.cjs} +1 -1
  91. package/dist/{vue-ui-quadrant-D4JbzGnx.js → vue-ui-quadrant-76ioBDrb.js} +12 -12
  92. package/dist/{vue-ui-quadrant-p1PqQgE8.cjs → vue-ui-quadrant-DRtc-eU7.cjs} +1 -1
  93. package/dist/{vue-ui-quick-chart-C7dbfJas.js → vue-ui-quick-chart-BfiEh20h.js} +9 -9
  94. package/dist/{vue-ui-quick-chart-CpVCnKQR.cjs → vue-ui-quick-chart-Cf_a2-DK.cjs} +1 -1
  95. package/dist/vue-ui-radar-7FJCgzJe.cjs +1 -0
  96. package/dist/{vue-ui-radar-DwcDudGq.js → vue-ui-radar-CXpLA1Ug.js} +128 -128
  97. package/dist/{vue-ui-rating-CF611kMg.cjs → vue-ui-rating-D7bp5GXD.cjs} +1 -1
  98. package/dist/{vue-ui-rating-CVWVcuH4.js → vue-ui-rating-Dm99_KHq.js} +2 -2
  99. package/dist/{vue-ui-relation-circle-i-IWbtjG.cjs → vue-ui-relation-circle-DGmHEiu0.cjs} +1 -1
  100. package/dist/{vue-ui-relation-circle-DOqHTAlr.js → vue-ui-relation-circle-DP8adT--.js} +7 -7
  101. package/dist/{vue-ui-rings-HITb7jlj.cjs → vue-ui-rings-3dpAN_IS.cjs} +1 -1
  102. package/dist/{vue-ui-rings-CYtiwLoa.js → vue-ui-rings-DcGvctVh.js} +12 -12
  103. package/dist/{vue-ui-scatter-OHMJOdMx.cjs → vue-ui-scatter-BaB0Ss3P.cjs} +1 -1
  104. package/dist/{vue-ui-scatter-Cz4FEjWs.js → vue-ui-scatter-iYN3XbTv.js} +12 -12
  105. package/dist/{vue-ui-screenshot-PgLhVqsE.cjs → vue-ui-screenshot-BjJljc9y.cjs} +1 -1
  106. package/dist/{vue-ui-screenshot-BdztwxL8.js → vue-ui-screenshot-CA4rbg_4.js} +1 -1
  107. package/dist/{vue-ui-skeleton-uAX1ZH1F.js → vue-ui-skeleton-BAv7fXp9.js} +3 -3
  108. package/dist/{vue-ui-skeleton-DkZB7ae3.cjs → vue-ui-skeleton-BKT91qEa.cjs} +1 -1
  109. package/dist/{vue-ui-smiley-B8AEl3OB.js → vue-ui-smiley-BBlYvJpk.js} +2 -2
  110. package/dist/{vue-ui-smiley-CdtUIpXZ.cjs → vue-ui-smiley-BKJ4T8gG.cjs} +1 -1
  111. package/dist/{vue-ui-spark-trend-BvYBFEgW.cjs → vue-ui-spark-trend-CTuB4pyB.cjs} +1 -1
  112. package/dist/{vue-ui-spark-trend-C4TeGkYj.js → vue-ui-spark-trend-CoILXmOJ.js} +5 -5
  113. package/dist/{vue-ui-sparkbar-CTjfAkYo.js → vue-ui-sparkbar-7EUa2Jmc.js} +4 -4
  114. package/dist/{vue-ui-sparkbar-DB7UzjAD.cjs → vue-ui-sparkbar-JMpa0Jma.cjs} +1 -1
  115. package/dist/{vue-ui-sparkgauge-BlPTNi74.js → vue-ui-sparkgauge-BFyxHsvB.js} +4 -4
  116. package/dist/{vue-ui-sparkgauge-Bn2BPZoT.cjs → vue-ui-sparkgauge-BYPSS-9V.cjs} +1 -1
  117. package/dist/{vue-ui-sparkhistogram-BKRqTMvf.js → vue-ui-sparkhistogram-KrHoJol3.js} +5 -5
  118. package/dist/{vue-ui-sparkhistogram-B1mF8U0R.cjs → vue-ui-sparkhistogram-XrF1W3wK.cjs} +1 -1
  119. package/dist/{vue-ui-sparkline-Bg-TapoG.js → vue-ui-sparkline-eAOZxlhG.js} +4 -4
  120. package/dist/{vue-ui-sparkline-Dj0hFEo0.cjs → vue-ui-sparkline-rDPUOgGm.cjs} +1 -1
  121. package/dist/{vue-ui-sparkstackbar-DzI-MFl3.cjs → vue-ui-sparkstackbar-Czz-Lkc4.cjs} +1 -1
  122. package/dist/{vue-ui-sparkstackbar-D8KqTPqH.js → vue-ui-sparkstackbar-DcDCa91F.js} +5 -5
  123. package/dist/{vue-ui-stackbar-e1b5UPvn.cjs → vue-ui-stackbar-CZOwxp5b.cjs} +1 -1
  124. package/dist/{vue-ui-stackbar-6vF4VXMO.js → vue-ui-stackbar-GgXydxhr.js} +13 -13
  125. package/dist/{vue-ui-strip-plot-sWs8kbbo.js → vue-ui-strip-plot-DnWdZFVh.js} +11 -11
  126. package/dist/{vue-ui-strip-plot-GsQbr3zj.cjs → vue-ui-strip-plot-DpBcyzwt.cjs} +1 -1
  127. package/dist/{vue-ui-table-SRSARac3.js → vue-ui-table-DrBXqpBg.js} +1 -1
  128. package/dist/{vue-ui-table-CJVmhYep.cjs → vue-ui-table-MEwtGPBw.cjs} +1 -1
  129. package/dist/{vue-ui-table-heatmap-D1xntRRZ.cjs → vue-ui-table-heatmap-CujV9941.cjs} +1 -1
  130. package/dist/{vue-ui-table-heatmap-CKiO41aZ.js → vue-ui-table-heatmap-TDNQHDGp.js} +4 -4
  131. package/dist/{vue-ui-table-sparkline-hyCYl7SR.js → vue-ui-table-sparkline-Ctb2LW6k.js} +5 -5
  132. package/dist/{vue-ui-table-sparkline-BZJqRwhf.cjs → vue-ui-table-sparkline-zVF4kGcs.cjs} +1 -1
  133. package/dist/{vue-ui-thermometer-0bxewTlH.cjs → vue-ui-thermometer-BotRGJkO.cjs} +1 -1
  134. package/dist/{vue-ui-thermometer-uYO2Cbv6.js → vue-ui-thermometer-wNKYm3Kx.js} +7 -7
  135. package/dist/{vue-ui-timer-hehskDGP.cjs → vue-ui-timer-BrAWdEP-.cjs} +1 -1
  136. package/dist/{vue-ui-timer-DO2sPtaA.js → vue-ui-timer-CR0O7wYl.js} +5 -5
  137. package/dist/{vue-ui-tiremarks-C3Y478uT.cjs → vue-ui-tiremarks-DlK4zttR.cjs} +1 -1
  138. package/dist/{vue-ui-tiremarks-DQjOkAad.js → vue-ui-tiremarks-wuiChorp.js} +7 -7
  139. package/dist/{vue-ui-treemap-Bv36Ha7O.js → vue-ui-treemap-CJZlFtGP.js} +11 -11
  140. package/dist/{vue-ui-treemap-_4nb3nS1.cjs → vue-ui-treemap-DrkJBrlp.cjs} +1 -1
  141. package/dist/{vue-ui-vertical-bar-DeP6cUWy.js → vue-ui-vertical-bar-CULY6eIO.js} +288 -272
  142. package/dist/vue-ui-vertical-bar-DHzq1n9V.cjs +4 -0
  143. package/dist/{vue-ui-waffle-Hlsl5QtL.cjs → vue-ui-waffle-C82U9mjw.cjs} +1 -1
  144. package/dist/{vue-ui-waffle-BfzfWmf5.js → vue-ui-waffle-CymcJtwQ.js} +12 -12
  145. package/dist/{vue-ui-wheel-DJC5YCbw.js → vue-ui-wheel-CAXdjlKQ.js} +7 -7
  146. package/dist/{vue-ui-wheel--e6UBwL4.cjs → vue-ui-wheel-ED9GGmMR.cjs} +1 -1
  147. package/dist/{vue-ui-word-cloud-CVsld1uE.js → vue-ui-word-cloud-CaAop2-k.js} +10 -10
  148. package/dist/{vue-ui-word-cloud-AGcxc9Jb.cjs → vue-ui-word-cloud-Czmv1BKA.cjs} +1 -1
  149. package/dist/{vue-ui-xy-DiZVwKYl.cjs → vue-ui-xy-D3d6V9BN.cjs} +1 -1
  150. package/dist/{vue-ui-xy-DwwIMZEo.js → vue-ui-xy-X04Cu9MT.js} +14 -14
  151. package/dist/{vue-ui-xy-canvas-D1kEOzE6.cjs → vue-ui-xy-canvas-B65fFQ2Q.cjs} +1 -1
  152. package/dist/{vue-ui-xy-canvas-ChBRm7Zw.js → vue-ui-xy-canvas-soP9-Ijz.js} +11 -11
  153. package/package.json +1 -1
  154. package/dist/index-CPtAxuTc.cjs +0 -9
  155. package/dist/vue-ui-radar-B8w_jmnj.cjs +0 -1
  156. package/dist/vue-ui-vertical-bar-LquYjKVD.cjs +0 -4
@@ -1,23 +1,23 @@
1
- import { useCssVars as nt, useSlots as ut, computed as b, ref as d, watch as Be, onMounted as st, onBeforeUnmount as rt, openBlock as u, createElementBlock as r, normalizeClass as z, normalizeStyle as c, unref as i, createBlock as A, createCommentVNode as p, createSlots as de, withCtx as k, renderSlot as m, normalizeProps as X, guardReactiveProps as E, createElementVNode as n, toDisplayString as h, createVNode as Y, Fragment as H, renderList as G, withKeys as it, createTextVNode as dt } from "vue";
2
- import { u as vt, c as ct, t as ht, a as pt, p as B, b as yt, o as De, e as ee, v as N, d as ve, i as te, f as D, X as gt, s as ce, w as ft, x as bt, y as mt, q as _t, r as kt } from "./index-3_ulDZ6w.js";
3
- import { t as $t, u as xt } from "./useResponsive-CoxXLe23.js";
4
- import { _ as wt } from "./Title-L52l_KMR.js";
5
- import { u as Ct, U as Tt } from "./usePrinter-NdwnpHUu.js";
6
- import { _ as Lt } from "./Tooltip-FYp9ljnj.js";
7
- import { L as Re } from "./Legend-kF7sC1KK.js";
8
- import Nt from "./vue-ui-skeleton-uAX1ZH1F.js";
9
- import Pt from "./BaseIcon-D7H3G8-f.js";
10
- import St from "./vue-ui-accordion-DXlXtAML.js";
11
- import { u as Ue } from "./useNestedProp-Bs6ltq3I.js";
12
- import { _ as Vt } from "./PackageVersion-m6HC0skh.js";
13
- import { P as It } from "./PenAndPaper-FOhKSug_.js";
14
- import { u as Ot } from "./useUserOptionState-BIvW1Kz7.js";
15
- import { _ as Xe } from "./Shape-CfcWXI5g.js";
16
- import { _ as Ft } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
- const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "height"], Dt = ["id"], Rt = ["stop-color"], Ut = ["stop-color"], Xt = { key: 1 }, Et = ["x", "y", "width", "height", "fill", "rx"], Ht = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Gt = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Wt = ["x2", "y1", "y2", "stroke", "stroke-width"], jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Yt = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], qt = ["x", "y", "font-size", "fill", "font-weight"], Kt = ["x", "y", "font-size", "fill", "font-weight"], Jt = ["x", "y", "font-size", "fill", "font-weight"], Qt = ["y", "width", "height", "fill", "onMouseenter"], Zt = {
1
+ import { useCssVars as dt, useSlots as vt, computed as b, ref as i, watch as Re, onMounted as Ue, onBeforeUnmount as ct, openBlock as u, createElementBlock as r, normalizeClass as A, normalizeStyle as c, unref as d, createBlock as B, createCommentVNode as p, createSlots as ce, withCtx as k, renderSlot as m, normalizeProps as E, guardReactiveProps as H, createElementVNode as n, toDisplayString as h, createVNode as q, Fragment as W, renderList as G, withKeys as ht, createTextVNode as pt } from "vue";
2
+ import { u as yt, c as gt, t as ft, a as bt, p as D, b as mt, o as Xe, e as K, v as N, d as he, i as le, f as R, X as _t, s as pe, w as kt, x as $t, y as xt, q as wt, r as Ct } from "./index-B3hGeAZ7.js";
3
+ import { t as Tt, u as Lt } from "./useResponsive-CoxXLe23.js";
4
+ import { _ as Nt } from "./Title-CujJ2kZY.js";
5
+ import { u as Pt, U as St } from "./usePrinter-CiUt-pS9.js";
6
+ import { _ as Vt } from "./Tooltip-CPxoXFKu.js";
7
+ import { L as Ee } from "./Legend-BMPqVkBW.js";
8
+ import It from "./vue-ui-skeleton-BAv7fXp9.js";
9
+ import Ot from "./BaseIcon-1cIjVntY.js";
10
+ import Ft from "./vue-ui-accordion-DFn61GBf.js";
11
+ import { u as He } from "./useNestedProp-WWv9scq-.js";
12
+ import { _ as Mt } from "./PackageVersion-B51w3y82.js";
13
+ import { P as zt } from "./PenAndPaper-BSEqDrpB.js";
14
+ import { u as At } from "./useUserOptionState-BIvW1Kz7.js";
15
+ import { _ as We } from "./Shape-TWPk_v-7.js";
16
+ import { _ as Bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
+ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "height"], Et = ["id"], Ht = ["stop-color"], Wt = ["stop-color"], Gt = { key: 1 }, jt = ["x", "y", "width", "height", "fill", "rx"], Yt = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], qt = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Kt = ["x2", "y1", "y2", "stroke", "stroke-width"], Jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Qt = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Zt = ["x", "y", "font-size", "fill", "font-weight"], ea = ["x", "y", "font-size", "fill", "font-weight"], ta = ["x", "y", "font-size", "fill", "font-weight"], aa = ["y", "width", "height", "fill", "onMouseenter"], la = {
18
18
  key: 6,
19
19
  class: "vue-data-ui-watermark"
20
- }, ea = ["onClick"], ta = { style: "width:100%;padding-top: 36px;position:relative" }, aa = { class: "vue-ui-data-table" }, la = { key: 0 }, oa = { style: { width: "100%" } }, na = ["data-cell"], ua = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, sa = ["data-cell"], ra = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ia = ["data-cell"], da = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, va = ["data-cell"], ca = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ha = ["data-cell"], pa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ya = ["data-cell"], ga = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, fa = ["data-cell"], ba = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ma = {
20
+ }, oa = ["onClick"], na = { style: "width:100%;padding-top: 36px;position:relative" }, ua = { class: "vue-ui-data-table" }, sa = { key: 0 }, ra = { style: { width: "100%" } }, ia = ["data-cell"], da = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, va = ["data-cell"], ca = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ha = ["data-cell"], pa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ya = ["data-cell"], ga = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, fa = ["data-cell"], ba = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ma = ["data-cell"], _a = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ka = ["data-cell"], $a = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, xa = {
21
21
  __name: "vue-ui-vertical-bar",
22
22
  props: {
23
23
  config: {
@@ -34,81 +34,81 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
34
34
  }
35
35
  },
36
36
  emits: ["selectLegend"],
37
- setup(Ee, { expose: He, emit: Ge }) {
38
- const T = Ee;
39
- nt((a) => ({
40
- "646b6c72": a.tdo
37
+ setup(Ge, { expose: je, emit: Ye }) {
38
+ const T = Ge;
39
+ dt((a) => ({
40
+ "6df2c512": a.tdo
41
41
  }));
42
- const { vue_ui_vertical_bar: We } = vt(), je = ut(), q = b(() => !!T.dataset && T.dataset.length), w = d(ct()), Ye = d(null), ae = d(!1), le = d(""), K = d(0), qe = d(null), he = d(0), R = d(null), pe = d(null), oe = d(null), ye = d(null), ge = d(null), fe = d(0), ne = d(0), e = b({
43
- get: () => _e(),
42
+ const { vue_ui_vertical_bar: qe } = yt(), Ke = vt(), J = b(() => !!T.dataset && T.dataset.length), w = i(gt()), Je = i(null), oe = i(!1), ne = i(""), Q = i(0), Qe = i(null), ye = i(0), U = i(null), ge = i(null), ue = i(null), fe = i(null), be = i(null), me = i(0), se = i(0), e = b({
43
+ get: () => $e(),
44
44
  set: (a) => a
45
- }), { userOptionsVisible: ue, setUserOptionsVisibility: be, keepUserOptionState: me } = Ot({ config: e.value });
46
- function _e() {
47
- const a = Ue({
45
+ }), { userOptionsVisible: re, setUserOptionsVisibility: _e, keepUserOptionState: ke } = At({ config: e.value });
46
+ function $e() {
47
+ const a = He({
48
48
  userConfig: T.config,
49
- defaultConfig: We
49
+ defaultConfig: qe
50
50
  });
51
51
  return a.theme ? {
52
- ...Ue({
53
- userConfig: ht.vue_ui_vertical_bar[a.theme] || T.config,
52
+ ...He({
53
+ userConfig: ft.vue_ui_vertical_bar[a.theme] || T.config,
54
54
  defaultConfig: a
55
55
  }),
56
- customPalette: pt[a.theme] || B
56
+ customPalette: bt[a.theme] || D
57
57
  } : a;
58
58
  }
59
- Be(() => T.config, (a) => {
60
- e.value = _e(), ue.value = !e.value.showOnChartHover, Ne(), fe.value += 1, ne.value += 1, v.value = e.value.style.chart.layout.bars.height, g.value = e.value.style.chart.layout.bars.gap;
61
- }, { deep: !0 }), Be(() => T.dataset, Q, { deep: !0 });
62
- const { isPrinting: ke, isImaging: $e, generatePdf: xe, generateImage: we } = Ct({
59
+ Re(() => T.config, (a) => {
60
+ e.value = $e(), re.value = !e.value.showOnChartHover, Se(), me.value += 1, se.value += 1, v.value = e.value.style.chart.layout.bars.height, g.value = e.value.style.chart.layout.bars.gap;
61
+ }, { deep: !0 }), Re(() => T.dataset, ee, { deep: !0 });
62
+ const { isPrinting: xe, isImaging: we, generatePdf: Ce, generateImage: Te } = Pt({
63
63
  elementId: `vue-ui-vertical-bar_${w.value}`,
64
64
  fileName: e.value.style.chart.title.text || "vue-ui-vertical-bar"
65
- }), Ke = b(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ce = b(() => yt(e.value.customPalette)), Te = d(null), Le = d(!1), Je = b(() => e.value.table.responsiveBreakpoint), J = d(null);
66
- st(() => {
67
- Ne();
65
+ }), Ze = b(() => e.value.userOptions.show && !e.value.style.chart.title.text), Le = b(() => mt(e.value.customPalette)), Ne = i(null), Pe = i(!1), et = b(() => e.value.table.responsiveBreakpoint), Z = i(null);
66
+ Ue(() => {
67
+ Se();
68
68
  });
69
- function Ne() {
70
- if (De(T.dataset) && ee({
69
+ function Se() {
70
+ if (Xe(T.dataset) && K({
71
71
  componentName: "VueUiVerticalBar",
72
72
  type: "dataset"
73
- }), K.value = T.dataset.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0), Qe(), e.value.responsive) {
74
- const a = $t(() => {
75
- const { width: l, height: t } = xt({
76
- chart: R.value,
77
- title: e.value.style.chart.title.text ? pe.value : null,
78
- legend: e.value.style.chart.legend.show ? oe.value : null,
79
- source: ye.value,
80
- noTitle: ge.value
73
+ }), Q.value = T.dataset.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0), tt(), e.value.responsive) {
74
+ const a = Tt(() => {
75
+ const { width: l, height: t } = Lt({
76
+ chart: U.value,
77
+ title: e.value.style.chart.title.text ? ge.value : null,
78
+ legend: e.value.style.chart.legend.show ? ue.value : null,
79
+ source: fe.value,
80
+ noTitle: be.value
81
81
  });
82
- Ve.value = l, v.value = t / K.value - g.value * 2;
82
+ Oe.value = l, v.value = t / Q.value - g.value * 2;
83
83
  });
84
- J.value = new ResizeObserver(a), J.value.observe(R.value.parentNode);
84
+ Z.value = new ResizeObserver(a), Z.value.observe(U.value.parentNode);
85
85
  }
86
86
  }
87
- rt(() => {
88
- J.value && J.value.disconnect();
87
+ ct(() => {
88
+ Z.value && Z.value.disconnect();
89
89
  });
90
- function Qe() {
90
+ function tt() {
91
91
  new ResizeObserver((l) => {
92
92
  l.forEach((t) => {
93
- Le.value = t.contentRect.width < Je.value;
93
+ Pe.value = t.contentRect.width < et.value;
94
94
  });
95
- }).observe(Te.value);
95
+ }).observe(Ne.value);
96
96
  }
97
- const C = d({
97
+ const C = i({
98
98
  showTable: e.value.table.show,
99
99
  sortDesc: e.value.style.chart.layout.bars.sort === "desc",
100
100
  showTooltip: e.value.style.chart.tooltip.show
101
- }), Pe = b(() => C.value.sortDesc), I = b(() => (T.dataset.forEach((a, l) => {
102
- !a.value && !a.children && ee({
101
+ }), Ve = b(() => C.value.sortDesc), O = b(() => (T.dataset.forEach((a, l) => {
102
+ !a.value && !a.children && K({
103
103
  componentName: "VueUiVerticalBar",
104
104
  type: "datasetAttributeEmpty",
105
105
  property: `value (index ${l})`
106
- }), a.children && (De(a.children) ? ee({
106
+ }), a.children && (Xe(a.children) ? K({
107
107
  componentName: "VueUiVerticalBar",
108
108
  type: "datasetAttributeEmpty",
109
109
  property: `children (index ${l})`
110
110
  }) : a.children.forEach((t, o) => {
111
- [null, void 0].includes(t.name) && ee({
111
+ [null, void 0].includes(t.name) && K({
112
112
  componentName: "VueUiVerticalBar",
113
113
  type: "datasetSerieAttribute",
114
114
  property: "name",
@@ -128,10 +128,10 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
128
128
  sign: f,
129
129
  hasChildren: o,
130
130
  isChild: !1,
131
- segregate: () => W(t),
131
+ segregate: () => j(t),
132
132
  isSegregated: P.value.includes(t),
133
- color: ve(a.color) || Ce.value[l] || B[l] || B[l % B.length],
134
- children: !a.children || !a.children.length ? [] : a.children.toSorted((x, V) => Pe.value ? V.value - x.value : x.value - V.value).map((x, V) => ({
133
+ color: he(a.color) || Le.value[l] || D[l] || D[l % D.length],
134
+ children: !a.children || !a.children.length ? [] : a.children.toSorted(te.value ? () => 0 : (x, V) => Ve.value ? V.value - x.value : x.value - V.value).map((x, V) => ({
135
135
  ...x,
136
136
  value: N(Math.abs(x.value)),
137
137
  absoluteIndex: l,
@@ -143,23 +143,23 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
143
143
  parentSign: f,
144
144
  id: `vertical_child_${l}_${V}_${w.value}`,
145
145
  childIndex: V,
146
- color: ve(x.color) || ve(a.color) || Ce.value[l] || B[l] || B[l % B.length]
146
+ color: he(x.color) || he(a.color) || Le.value[l] || D[l] || D[l % D.length]
147
147
  })).map((x, V) => ({
148
148
  ...x,
149
149
  isFirstChild: V === 0,
150
150
  isLastChild: V === a.children.length - 1
151
151
  }))
152
152
  };
153
- }).toSorted((a, l) => Pe.value ? l.value - a.value : a.value - l.value))), Se = b(() => ({
153
+ }).toSorted(te.value ? () => 0 : (a, l) => Ve.value ? l.value - a.value : a.value - l.value))), Ie = b(() => ({
154
154
  cy: "vertical-bar-div-legend",
155
155
  backgroundColor: e.value.style.chart.legend.backgroundColor,
156
156
  color: e.value.style.chart.legend.color,
157
157
  fontSize: e.value.style.chart.legend.fontSize,
158
158
  paddingBottom: 12,
159
159
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
160
- })), v = d(e.value.style.chart.layout.bars.height), g = d(e.value.style.chart.layout.bars.gap), Ze = b(() => (v.value + g.value) * K.value), Ve = d(512), y = b(() => ({
161
- width: Ve.value,
162
- height: Ze.value,
160
+ })), v = i(e.value.style.chart.layout.bars.height), g = i(e.value.style.chart.layout.bars.gap), at = b(() => (v.value + g.value) * Q.value), Oe = i(512), y = b(() => ({
161
+ width: Oe.value,
162
+ height: at.value,
163
163
  padding: {
164
164
  top: 12,
165
165
  left: 128 + e.value.style.chart.layout.bars.offsetX,
@@ -174,99 +174,99 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
174
174
  bottom: y.value.padding.top + y.value.height,
175
175
  width: y.value.width - (y.value.padding.left + y.value.padding.right)
176
176
  }));
177
- function Q() {
178
- K.value = O.value.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0);
177
+ function ee() {
178
+ Q.value = F.value.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0);
179
179
  }
180
- const P = d([]);
181
- function W(a) {
182
- P.value.includes(a) ? P.value = P.value.filter((l) => l !== a) : P.value.push(a), Q(), Ge("selectLegend", O.value);
180
+ const P = i([]);
181
+ function j(a) {
182
+ P.value.includes(a) ? P.value = P.value.filter((l) => l !== a) : P.value.push(a), ee(), Ye("selectLegend", F.value);
183
183
  }
184
- const O = b(() => I.value.filter((a) => !P.value.includes(a.id))), S = b(() => O.value.map((a) => Math.abs(a.value)).reduce((a, l) => a + l, 0));
185
- function Ie(a, l = !1, t = 0) {
186
- return l ? D({
184
+ const F = b(() => O.value.filter((a) => !P.value.includes(a.id))), S = b(() => F.value.map((a) => Math.abs(a.value)).reduce((a, l) => a + l, 0));
185
+ function Fe(a, l = !1, t = 0) {
186
+ return l ? R({
187
187
  v: N(Math.abs(a) / S.value * 100),
188
188
  s: "%",
189
189
  r: t
190
190
  }) : Math.abs(a) / S.value;
191
191
  }
192
- const F = b(() => O.value.flatMap((a) => a.hasChildren ? a.children : a)), M = b(() => F.value.map((a) => a.sign).includes(-1)), et = b(() => Math.max(...O.value.flatMap((a) => a.children && a.children.length ? Math.max(...a.children.map((l) => l.value)) : a.value)));
192
+ const M = b(() => F.value.flatMap((a) => a.hasChildren ? a.children : a)), z = b(() => M.value.map((a) => a.sign).includes(-1)), lt = b(() => Math.max(...F.value.flatMap((a) => a.children && a.children.length ? Math.max(...a.children.map((l) => l.value)) : a.value)));
193
193
  function $(a) {
194
- const l = a / et.value;
195
- return s.value.width / (M.value ? 2 : 1) * l;
194
+ const l = a / lt.value;
195
+ return s.value.width / (z.value ? 2 : 1) * l;
196
196
  }
197
- function tt(a) {
197
+ function ot(a) {
198
198
  return $(a) + s.value.left;
199
199
  }
200
- function j(a, l) {
201
- const t = O.value.find((f) => f.id === a.parentId), o = s.value.top + (g.value + v.value) * l, _ = t.children.length * (g.value + v.value);
200
+ function Y(a, l) {
201
+ const t = F.value.find((f) => f.id === a.parentId), o = s.value.top + (g.value + v.value) * l, _ = t.children.length * (g.value + v.value);
202
202
  return {
203
203
  y: o + _ / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
204
204
  name: t.name,
205
205
  value: [void 0, NaN, null].includes(t.value) ? "" : t.sign === 1 ? t.value : -t.value,
206
- percentageToTotal: isNaN(t.value / S.value) ? "" : Ie(t.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
206
+ percentageToTotal: isNaN(t.value / S.value) ? "" : Fe(t.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
207
207
  sign: t.sign
208
208
  };
209
209
  }
210
- function at() {
211
- return O.value;
210
+ function nt() {
211
+ return F.value;
212
212
  }
213
- const se = d(null), re = d(null);
214
- function lt(a, l) {
215
- re.value = {
213
+ const ie = i(null), de = i(null);
214
+ function ut(a, l) {
215
+ de.value = {
216
216
  datapoint: a,
217
217
  seriesIndex: l,
218
- series: I.value,
218
+ series: O.value,
219
219
  config: e.value
220
- }, ae.value = !0, se.value = a.id;
220
+ }, oe.value = !0, ie.value = a.id;
221
221
  let t = "";
222
222
  const o = a.isChild ? a.parentName : a.name, _ = a.isChild ? a.name : "", f = e.value.style.chart.tooltip.customFormat;
223
- bt(f) && mt(() => f({
223
+ $t(f) && xt(() => f({
224
224
  datapoint: a,
225
- series: I.value,
225
+ series: O.value,
226
226
  config: e.value,
227
227
  seriesIndex: l
228
- })) ? le.value = f({
228
+ })) ? ne.value = f({
229
229
  datapoint: a,
230
- series: I.value,
230
+ series: O.value,
231
231
  config: e.value,
232
232
  seriesIndex: l
233
233
  }) : (t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;text-align:left;">
234
- <div style="display:flex;align-items:center;gap:4px;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="${a.color}"/>${je.pattern ? `<rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="url(#pattern_${w.value}_${a.absoluteIndex})"/>` : ""}</svg> ${o}</div>
234
+ <div style="display:flex;align-items:center;gap:4px;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="${a.color}"/>${Ke.pattern ? `<rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="url(#pattern_${w.value}_${a.absoluteIndex})"/>` : ""}</svg> ${o}</div>
235
235
  ${_ ? `<div>${_}</div>` : ""}
236
- </div>`, e.value.style.chart.tooltip.showValue && (t += `<div>${e.value.translations.value}: <b>${te(
236
+ </div>`, e.value.style.chart.tooltip.showValue && (t += `<div>${e.value.translations.value}: <b>${le(
237
237
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
238
238
  a.sign === 1 ? a.value : -a.value,
239
- D({
239
+ R({
240
240
  p: e.value.style.chart.tooltip.prefix,
241
241
  v: a.sign === 1 ? a.value : -a.value,
242
242
  s: e.value.style.chart.tooltip.suffix,
243
243
  r: e.value.style.chart.tooltip.roundingValue
244
244
  }),
245
245
  { datapoint: a, seriesIndex: l }
246
- )}</b></div>`), e.value.style.chart.tooltip.showPercentage && (t += `<div>${e.value.translations.percentageToTotal} : <b>${D({
246
+ )}</b></div>`), e.value.style.chart.tooltip.showPercentage && (t += `<div>${e.value.translations.percentageToTotal} : <b>${R({
247
247
  v: Math.abs(a.value) / S.value * 100,
248
248
  s: "%",
249
249
  r: e.value.style.chart.tooltip.roundingPercentage
250
- })}</b></div>`, a.isChild && (t += `<div>${e.value.translations.percentageToSerie}: <b>${D({
250
+ })}</b></div>`, a.isChild && (t += `<div>${e.value.translations.percentageToSerie}: <b>${R({
251
251
  v: Math.abs(a.value) / Math.abs(a.parentValue) * 100,
252
252
  s: "%",
253
253
  r: e.value.style.chart.tooltip.roundingPercentage
254
- })}</b></div>`)), le.value = `<div style="text-align:left">${t}</div>`);
254
+ })}</b></div>`)), ne.value = `<div style="text-align:left">${t}</div>`);
255
255
  }
256
- function Oe(a, l, t, o) {
256
+ function Me(a, l, t, o) {
257
257
  if (!e.value.style.chart.layout.bars.dataLabels.value.show)
258
258
  return "";
259
- const _ = te(
259
+ const _ = le(
260
260
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
261
261
  N(o === -1 && a >= 0 ? -a : a),
262
- D({
262
+ R({
263
263
  p: e.value.style.chart.layout.bars.dataLabels.value.prefix,
264
264
  v: N(o === -1 && a >= 0 ? -a : a),
265
265
  s: e.value.style.chart.layout.bars.dataLabels.value.suffix,
266
266
  r: e.value.style.chart.layout.bars.dataLabels.value.roundingValue
267
267
  }),
268
268
  { datapoint: l, seriesIndex: t }
269
- ), f = `(${Ie(a, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
269
+ ), f = `(${Fe(a, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
270
270
  return `${_}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${f}` : ""}`;
271
271
  }
272
272
  const L = b(() => {
@@ -278,7 +278,7 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
278
278
  e.value.translations.value,
279
279
  e.value.translations.percentageToSerie,
280
280
  e.value.translations.percentageToTotal
281
- ], l = F.value.map((t) => t.isChild ? t.isFirstChild ? {
281
+ ], l = M.value.map((t) => t.isChild ? t.isFirstChild ? {
282
282
  color: t.color,
283
283
  parentName: t.parentName,
284
284
  parentValue: t.parentValue,
@@ -308,7 +308,7 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
308
308
  });
309
309
  return { head: a, body: l };
310
310
  });
311
- function Fe() {
311
+ function ze() {
312
312
  const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = L.value.head, t = L.value.body.map((f) => [
313
313
  f.parentName,
314
314
  f.parentValue,
@@ -317,68 +317,84 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
317
317
  f.childValue,
318
318
  f.childPercentageToParent,
319
319
  f.childPercentageToTotal
320
- ]), o = a.concat([l]).concat(t), _ = _t(o);
321
- kt({ csvContent: _, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
320
+ ]), o = a.concat([l]).concat(t), _ = wt(o);
321
+ Ct({ csvContent: _, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
322
322
  }
323
- const U = d(!1);
324
- function ot(a) {
325
- U.value = a, he.value += 1;
323
+ const X = i(!1);
324
+ function st(a) {
325
+ X.value = a, ye.value += 1;
326
326
  }
327
- function Me() {
327
+ function Ae() {
328
328
  C.value.showTable = !C.value.showTable;
329
329
  }
330
- function ze() {
331
- C.value.sortDesc = !C.value.sortDesc, Q();
330
+ const rt = i({
331
+ none: 0,
332
+ asc: 1,
333
+ desc: 2
334
+ }), I = i(0), te = i(!1);
335
+ Ue(() => {
336
+ ["none", "asc", "desc"].includes(e.value.style.chart.layout.bars.sort) || K({
337
+ componentName: "VueUiVerticalBar",
338
+ type: "attributeWrongValue",
339
+ property: "style.chart.layout.bars.sort",
340
+ key: e.value.style.chart.layout.bars.sort
341
+ }), I.value = rt.value[e.value.style.chart.layout.bars.sort], C.value.sortDesc = I.value === 2, te.value = I.value === 0;
342
+ });
343
+ function it() {
344
+ I.value += 1, I.value > 2 && (I.value = 0);
332
345
  }
333
- function Ae() {
346
+ function Be() {
347
+ it(), C.value.sortDesc = I.value === 2, te.value = I.value === 0, ee();
348
+ }
349
+ function De() {
334
350
  C.value.showTooltip = !C.value.showTooltip;
335
351
  }
336
- const Z = d(!1);
337
- function ie() {
338
- Z.value = !Z.value;
352
+ const ae = i(!1);
353
+ function ve() {
354
+ ae.value = !ae.value;
339
355
  }
340
- return He({
341
- getData: at,
342
- recalculateHeight: Q,
343
- generatePdf: xe,
344
- generateCsv: Fe,
345
- generateImage: we,
346
- toggleTable: Me,
347
- toggleSort: ze,
348
- toggleTooltip: Ae,
349
- toggleAnnotator: ie
356
+ return je({
357
+ getData: nt,
358
+ recalculateHeight: ee,
359
+ generatePdf: Ce,
360
+ generateCsv: ze,
361
+ generateImage: Te,
362
+ toggleTable: Ae,
363
+ toggleSort: Be,
364
+ toggleTooltip: De,
365
+ toggleAnnotator: ve
350
366
  }), (a, l) => (u(), r("div", {
351
- class: z(`vue-ui-vertical-bar ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
367
+ class: A(`vue-ui-vertical-bar ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
352
368
  ref_key: "verticalBarChart",
353
- ref: R,
369
+ ref: U,
354
370
  id: `vue-ui-vertical-bar_${w.value}`,
355
371
  style: c(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
356
- onMouseenter: l[5] || (l[5] = () => i(be)(!0)),
357
- onMouseleave: l[6] || (l[6] = () => i(be)(!1))
372
+ onMouseenter: l[5] || (l[5] = () => d(_e)(!0)),
373
+ onMouseleave: l[6] || (l[6] = () => d(_e)(!1))
358
374
  }, [
359
- e.value.userOptions.buttons.annotator ? (u(), A(It, {
375
+ e.value.userOptions.buttons.annotator ? (u(), B(zt, {
360
376
  key: 0,
361
- parent: R.value,
377
+ parent: U.value,
362
378
  backgroundColor: e.value.style.chart.backgroundColor,
363
379
  color: e.value.style.chart.color,
364
- active: Z.value,
365
- onClose: ie
380
+ active: ae.value,
381
+ onClose: ve
366
382
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : p("", !0),
367
- Ke.value ? (u(), r("div", {
383
+ Ze.value ? (u(), r("div", {
368
384
  key: 1,
369
385
  ref_key: "noTitle",
370
- ref: ge,
386
+ ref: be,
371
387
  class: "vue-data-ui-no-title-space",
372
388
  style: "height:36px; width: 100%;background:transparent"
373
389
  }, null, 512)) : p("", !0),
374
390
  e.value.style.chart.title.text ? (u(), r("div", {
375
391
  key: 2,
376
392
  ref_key: "chartTitle",
377
- ref: pe,
393
+ ref: ge,
378
394
  style: "width:100%;background:transparent;padding-bottom:12px"
379
395
  }, [
380
- (u(), A(wt, {
381
- key: `title_${fe.value}`,
396
+ (u(), B(Nt, {
397
+ key: `title_${me.value}`,
382
398
  config: {
383
399
  title: {
384
400
  cy: "vertical-bar-div-title",
@@ -391,14 +407,14 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
391
407
  }
392
408
  }, null, 8, ["config"]))
393
409
  ], 512)) : p("", !0),
394
- e.value.userOptions.show && q.value && (i(me) || i(ue)) ? (u(), A(Tt, {
410
+ e.value.userOptions.show && J.value && (d(ke) || d(re)) ? (u(), B(St, {
395
411
  ref_key: "details",
396
- ref: Ye,
397
- key: `user_options_${he.value}`,
412
+ ref: Je,
413
+ key: `user_options_${ye.value}`,
398
414
  backgroundColor: e.value.style.chart.backgroundColor,
399
415
  color: e.value.style.chart.color,
400
- isImaging: i($e),
401
- isPrinting: i(ke),
416
+ isImaging: d(we),
417
+ isPrinting: d(xe),
402
418
  uid: w.value,
403
419
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
404
420
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -407,25 +423,25 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
407
423
  hasTable: e.value.userOptions.buttons.table,
408
424
  hasSort: e.value.userOptions.buttons.sort,
409
425
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
410
- isFullscreen: U.value,
426
+ isFullscreen: X.value,
411
427
  isTooltip: C.value.showTooltip,
412
428
  titles: { ...e.value.userOptions.buttonTitles },
413
- chartElement: R.value,
429
+ chartElement: U.value,
414
430
  position: e.value.userOptions.position,
415
431
  hasAnnotator: e.value.userOptions.buttons.annotator,
416
- isAnnotation: Z.value,
417
- onToggleFullscreen: ot,
418
- onGeneratePdf: i(xe),
419
- onGenerateCsv: Fe,
420
- onGenerateImage: i(we),
421
- onToggleTable: Me,
422
- onToggleSort: ze,
423
- onToggleTooltip: Ae,
424
- onToggleAnnotator: ie,
432
+ isAnnotation: ae.value,
433
+ onToggleFullscreen: st,
434
+ onGeneratePdf: d(Ce),
435
+ onGenerateCsv: ze,
436
+ onGenerateImage: d(Te),
437
+ onToggleTable: Ae,
438
+ onToggleSort: Be,
439
+ onToggleTooltip: De,
440
+ onToggleAnnotator: ve,
425
441
  style: c({
426
- visibility: i(me) ? i(ue) ? "visible" : "hidden" : "visible"
442
+ visibility: d(ke) ? d(re) ? "visible" : "hidden" : "visible"
427
443
  })
428
- }, de({ _: 2 }, [
444
+ }, ce({ _: 2 }, [
429
445
  a.$slots.optionTooltip ? {
430
446
  name: "optionTooltip",
431
447
  fn: k(() => [
@@ -478,14 +494,14 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
478
494
  a.$slots.optionFullscreen ? {
479
495
  name: "optionFullscreen",
480
496
  fn: k(({ toggleFullscreen: t, isFullscreen: o }) => [
481
- m(a.$slots, "optionFullscreen", X(E({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
497
+ m(a.$slots, "optionFullscreen", E(H({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
482
498
  ]),
483
499
  key: "7"
484
500
  } : void 0,
485
501
  a.$slots.optionAnnotator ? {
486
502
  name: "optionAnnotator",
487
503
  fn: k(({ toggleAnnotator: t, isAnnotator: o }) => [
488
- m(a.$slots, "optionAnnotator", X(E({ toggleAnnotator: t, isAnnotator: o })), void 0, !0)
504
+ m(a.$slots, "optionAnnotator", E(H({ toggleAnnotator: t, isAnnotator: o })), void 0, !0)
489
505
  ]),
490
506
  key: "8"
491
507
  } : void 0
@@ -493,37 +509,37 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
493
509
  e.value.style.chart.legend.show && e.value.style.chart.legend.position === "top" ? (u(), r("div", {
494
510
  key: 4,
495
511
  ref_key: "chartLegend",
496
- ref: oe
512
+ ref: ue
497
513
  }, [
498
- (u(), A(Re, {
499
- key: `legend_top_${ne.value}`,
500
- legendSet: I.value,
501
- config: Se.value,
502
- onClickMarker: l[0] || (l[0] = ({ legend: t }) => W(t.id))
503
- }, de({
514
+ (u(), B(Ee, {
515
+ key: `legend_top_${se.value}`,
516
+ legendSet: O.value,
517
+ config: Ie.value,
518
+ onClickMarker: l[0] || (l[0] = ({ legend: t }) => j(t.id))
519
+ }, ce({
504
520
  item: k(({ legend: t, index: o }) => [
505
521
  n("div", {
506
522
  "data-cy-legend-item": "",
507
- onClick: (_) => W(t.id),
523
+ onClick: (_) => j(t.id),
508
524
  style: c(`opacity:${P.value.includes(t.id) ? 0.5 : 1}`)
509
- }, h(t.name) + ": " + h(i(te)(
525
+ }, h(t.name) + ": " + h(d(le)(
510
526
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
511
527
  t.value,
512
- i(D)({
528
+ d(R)({
513
529
  p: e.value.style.chart.legend.prefix,
514
530
  v: t.value,
515
531
  s: e.value.style.chart.legend.suffix,
516
532
  r: e.value.style.chart.legend.roundingValue
517
533
  }),
518
534
  { datapoint: t, seriesIndex: o }
519
- )), 13, zt)
535
+ )), 13, Rt)
520
536
  ]),
521
537
  _: 2
522
538
  }, [
523
539
  a.$slots.pattern ? {
524
540
  name: "legend-pattern",
525
541
  fn: k(({ legend: t, index: o }) => [
526
- Y(Xe, {
542
+ q(We, {
527
543
  shape: t.shape,
528
544
  radius: 30,
529
545
  stroke: "none",
@@ -535,14 +551,14 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
535
551
  } : void 0
536
552
  ]), 1032, ["legendSet", "config"]))
537
553
  ], 512)) : p("", !0),
538
- q.value ? (u(), r("svg", {
554
+ J.value ? (u(), r("svg", {
539
555
  key: 5,
540
- xmlns: i(gt),
541
- class: z({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
556
+ xmlns: d(_t),
557
+ class: A({ "vue-data-ui-fullscreen--on": X.value, "vue-data-ui-fulscreen--off": !X.value }),
542
558
  viewBox: `0 0 ${y.value.width <= 0 ? 10 : y.value.width} ${s.value.fullHeight <= 0 ? 10 : s.value.fullHeight}`,
543
559
  style: c(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
544
560
  }, [
545
- Y(Vt),
561
+ q(Mt),
546
562
  a.$slots["chart-background"] ? (u(), r("foreignObject", {
547
563
  key: 0,
548
564
  x: 0,
@@ -554,8 +570,8 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
554
570
  }
555
571
  }, [
556
572
  m(a.$slots, "chart-background", {}, void 0, !0)
557
- ], 8, Bt)) : p("", !0),
558
- (u(!0), r(H, null, G(F.value, (t, o) => (u(), r("linearGradient", {
573
+ ], 8, Xt)) : p("", !0),
574
+ (u(!0), r(W, null, G(M.value, (t, o) => (u(), r("linearGradient", {
559
575
  x1: "0%",
560
576
  y1: "0%",
561
577
  x2: "100%",
@@ -565,53 +581,53 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
565
581
  n("stop", {
566
582
  offset: "0%",
567
583
  "stop-color": t.color
568
- }, null, 8, Rt),
584
+ }, null, 8, Ht),
569
585
  n("stop", {
570
586
  offset: "100%",
571
- "stop-color": i(ce)(i(ft)(t.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
572
- }, null, 8, Ut)
573
- ], 8, Dt))), 256)),
574
- a.$slots.pattern ? (u(), r("g", Xt, [
575
- (u(!0), r(H, null, G(F.value, (t) => (u(), r("defs", null, [
576
- m(a.$slots, "pattern", X(E({ seriesIndex: t.absoluteIndex, patternId: `pattern_${w.value}_${t.absoluteIndex}` })), void 0, !0)
587
+ "stop-color": d(pe)(d(kt)(t.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
588
+ }, null, 8, Wt)
589
+ ], 8, Et))), 256)),
590
+ a.$slots.pattern ? (u(), r("g", Gt, [
591
+ (u(!0), r(W, null, G(M.value, (t) => (u(), r("defs", null, [
592
+ m(a.$slots, "pattern", E(H({ seriesIndex: t.absoluteIndex, patternId: `pattern_${w.value}_${t.absoluteIndex}` })), void 0, !0)
577
593
  ]))), 256))
578
594
  ])) : p("", !0),
579
- (u(!0), r(H, null, G(F.value, (t, o) => (u(), r("g", null, [
595
+ (u(!0), r(W, null, G(M.value, (t, o) => (u(), r("g", null, [
580
596
  n("rect", {
581
- x: i(N)(M.value ? s.value.left + s.value.width / 2 - (t.sign === 1 ? 0 : $(t.value) <= 0 ? 1e-4 : $(t.value)) : s.value.left),
597
+ x: d(N)(z.value ? s.value.left + s.value.width / 2 - (t.sign === 1 ? 0 : $(t.value) <= 0 ? 1e-4 : $(t.value)) : s.value.left),
582
598
  y: s.value.top + (g.value + v.value) * o,
583
- width: i(N)($(t.value) <= 0 ? 1e-4 : $(t.value)),
599
+ width: d(N)($(t.value) <= 0 ? 1e-4 : $(t.value)),
584
600
  height: v.value <= 0 ? 1e-4 : v.value,
585
601
  fill: e.value.style.chart.layout.bars.underlayerColor,
586
602
  rx: e.value.style.chart.layout.bars.borderRadius,
587
- class: z({ animated: e.value.useCssAnimation })
588
- }, null, 10, Et)
603
+ class: A({ animated: e.value.useCssAnimation })
604
+ }, null, 10, jt)
589
605
  ]))), 256)),
590
- (u(!0), r(H, null, G(F.value, (t, o) => (u(), r("g", null, [
606
+ (u(!0), r(W, null, G(M.value, (t, o) => (u(), r("g", null, [
591
607
  n("rect", {
592
- x: i(N)(M.value ? s.value.left + s.value.width / 2 - (t.sign === 1 ? 0 : $(t.value) <= 0 ? 1e-4 : $(t.value)) : s.value.left),
608
+ x: d(N)(z.value ? s.value.left + s.value.width / 2 - (t.sign === 1 ? 0 : $(t.value) <= 0 ? 1e-4 : $(t.value)) : s.value.left),
593
609
  y: s.value.top + (g.value + v.value) * o,
594
- width: i(N)($(t.value) <= 0 ? 1e-4 : $(t.value)),
610
+ width: d(N)($(t.value) <= 0 ? 1e-4 : $(t.value)),
595
611
  height: v.value <= 0 ? 1e-4 : v.value,
596
- fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${w.value}_${o})` : i(ce)(t.color, e.value.style.chart.layout.bars.fillOpacity),
612
+ fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${w.value}_${o})` : d(pe)(t.color, e.value.style.chart.layout.bars.fillOpacity),
597
613
  rx: e.value.style.chart.layout.bars.borderRadius,
598
614
  stroke: e.value.style.chart.layout.bars.useStroke ? t.color : "none",
599
615
  "stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
600
- class: z({ animated: e.value.useCssAnimation })
601
- }, null, 10, Ht),
616
+ class: A({ animated: e.value.useCssAnimation })
617
+ }, null, 10, Yt),
602
618
  a.$slots.pattern ? (u(), r("rect", {
603
619
  key: 0,
604
- x: i(N)(M.value ? s.value.left + s.value.width / 2 - (t.sign === 1 ? 0 : $(t.value) <= 0 ? 1e-4 : $(t.value)) : s.value.left),
620
+ x: d(N)(z.value ? s.value.left + s.value.width / 2 - (t.sign === 1 ? 0 : $(t.value) <= 0 ? 1e-4 : $(t.value)) : s.value.left),
605
621
  y: s.value.top + (g.value + v.value) * o,
606
- width: i(N)($(t.value) <= 0 ? 1e-4 : $(t.value)),
622
+ width: d(N)($(t.value) <= 0 ? 1e-4 : $(t.value)),
607
623
  height: v.value <= 0 ? 1e-4 : v.value,
608
624
  fill: `url(#pattern_${w.value}_${t.absoluteIndex})`,
609
625
  rx: e.value.style.chart.layout.bars.borderRadius,
610
626
  stroke: e.value.style.chart.layout.bars.useStroke ? t.color : "none",
611
627
  "stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
612
- class: z({ animated: e.value.useCssAnimation })
613
- }, null, 10, Gt)) : p("", !0),
614
- (!t.isChild || t.isLastChild) && e.value.style.chart.layout.separators.show && o !== F.value.length - 1 ? (u(), r("line", {
628
+ class: A({ animated: e.value.useCssAnimation })
629
+ }, null, 10, qt)) : p("", !0),
630
+ (!t.isChild || t.isLastChild) && e.value.style.chart.layout.separators.show && o !== M.value.length - 1 ? (u(), r("line", {
615
631
  key: 1,
616
632
  x1: 0,
617
633
  x2: s.value.left,
@@ -620,8 +636,8 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
620
636
  stroke: e.value.style.chart.layout.separators.color,
621
637
  "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
622
638
  "stroke-linecap": "round"
623
- }, null, 8, Wt)) : p("", !0),
624
- M.value && e.value.style.chart.layout.separators.show ? (u(), r("line", {
639
+ }, null, 8, Kt)) : p("", !0),
640
+ z.value && e.value.style.chart.layout.separators.show ? (u(), r("line", {
625
641
  key: 2,
626
642
  x1: s.value.left + s.value.width / 2,
627
643
  x2: s.value.left + s.value.width / 2,
@@ -630,15 +646,15 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
630
646
  stroke: e.value.style.chart.layout.separators.color,
631
647
  "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
632
648
  "stroke-linecap": "round"
633
- }, null, 8, jt)) : p("", !0),
649
+ }, null, 8, Jt)) : p("", !0),
634
650
  n("text", {
635
- x: M.value ? s.value.left + s.value.width / 2 + (t.sign === 1 ? -12 : 12) + (t.sign === 1 ? -e.value.style.chart.layout.bars.dataLabels.offsetX : e.value.style.chart.layout.bars.dataLabels.offsetX) : tt(t.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
651
+ x: z.value ? s.value.left + s.value.width / 2 + (t.sign === 1 ? -12 : 12) + (t.sign === 1 ? -e.value.style.chart.layout.bars.dataLabels.offsetX : e.value.style.chart.layout.bars.dataLabels.offsetX) : ot(t.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
636
652
  y: s.value.top + (g.value + v.value) * o + v.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
637
- "text-anchor": !M.value || t.sign === -1 ? "start" : "end",
653
+ "text-anchor": !z.value || t.sign === -1 ? "start" : "end",
638
654
  "font-size": e.value.style.chart.layout.bars.dataLabels.fontSize,
639
655
  fill: e.value.style.chart.layout.bars.dataLabels.color,
640
656
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
641
- }, h(Oe(t.value, t, o, t.sign)), 9, Yt),
657
+ }, h(Me(t.value, t, o, t.sign)), 9, Qt),
642
658
  (t.isChild || !t.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (u(), r("text", {
643
659
  key: 3,
644
660
  "text-anchor": "end",
@@ -647,44 +663,44 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
647
663
  "font-size": e.value.style.chart.layout.bars.nameLabels.fontSize,
648
664
  fill: e.value.style.chart.layout.bars.nameLabels.color,
649
665
  "font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal"
650
- }, h(t.name), 9, qt)) : p("", !0),
666
+ }, h(t.name), 9, Zt)) : p("", !0),
651
667
  t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), r("text", {
652
668
  key: 4,
653
669
  x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
654
- y: j(t, o).y,
670
+ y: Y(t, o).y,
655
671
  "font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
656
672
  fill: e.value.style.chart.layout.bars.parentLabels.color,
657
673
  "font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
658
674
  "text-anchor": "start"
659
- }, h(j(t, o).name), 9, Kt)) : p("", !0),
675
+ }, h(Y(t, o).name), 9, ea)) : p("", !0),
660
676
  t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), r("text", {
661
677
  key: 5,
662
678
  x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
663
- y: j(t, o).y + e.value.style.chart.layout.bars.parentLabels.fontSize + 6,
679
+ y: Y(t, o).y + e.value.style.chart.layout.bars.parentLabels.fontSize + 6,
664
680
  "font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
665
681
  fill: e.value.style.chart.layout.bars.parentLabels.color,
666
682
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
667
683
  "text-anchor": "start"
668
- }, h(Oe(j(t, o).value), j(t, o), o, t.parentSign || t.sign), 9, Jt)) : p("", !0),
684
+ }, h(Me(Y(t, o).value), Y(t, o), o, t.parentSign || t.sign), 9, ta)) : p("", !0),
669
685
  n("rect", {
670
686
  "data-cy-trap": "",
671
687
  x: 0,
672
688
  y: s.value.top + (g.value + v.value) * o - g.value / 2,
673
689
  width: y.value.width <= 0 ? 1e-4 : y.value.width,
674
690
  height: v.value + g.value <= 0 ? 1e-4 : v.value + g.value,
675
- fill: se.value === t.id ? i(ce)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
676
- onMouseenter: (_) => lt(t, o),
691
+ fill: ie.value === t.id ? d(pe)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
692
+ onMouseenter: (_) => ut(t, o),
677
693
  onMouseleave: l[1] || (l[1] = (_) => {
678
- qe.value = null, ae.value = !1, se.value = null;
694
+ Qe.value = null, oe.value = !1, ie.value = null;
679
695
  })
680
- }, null, 40, Qt)
696
+ }, null, 40, aa)
681
697
  ]))), 256)),
682
698
  m(a.$slots, "svg", { svg: y.value }, void 0, !0)
683
- ], 14, At)) : p("", !0),
684
- a.$slots.watermark ? (u(), r("div", Zt, [
685
- m(a.$slots, "watermark", X(E({ isPrinting: i(ke) || i($e) })), void 0, !0)
699
+ ], 14, Ut)) : p("", !0),
700
+ a.$slots.watermark ? (u(), r("div", la, [
701
+ m(a.$slots, "watermark", E(H({ isPrinting: d(xe) || d(we) })), void 0, !0)
686
702
  ])) : p("", !0),
687
- q.value ? p("", !0) : (u(), A(Nt, {
703
+ J.value ? p("", !0) : (u(), B(It, {
688
704
  key: 7,
689
705
  config: {
690
706
  type: "verticalBar",
@@ -702,36 +718,36 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
702
718
  e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (u(), r("div", {
703
719
  key: 8,
704
720
  ref_key: "chartLegend",
705
- ref: oe
721
+ ref: ue
706
722
  }, [
707
- (u(), A(Re, {
708
- key: `legend_bottom_${ne.value}`,
709
- legendSet: I.value,
710
- config: Se.value,
711
- onClickMarker: l[2] || (l[2] = ({ legend: t }) => W(t.id))
712
- }, de({
723
+ (u(), B(Ee, {
724
+ key: `legend_bottom_${se.value}`,
725
+ legendSet: O.value,
726
+ config: Ie.value,
727
+ onClickMarker: l[2] || (l[2] = ({ legend: t }) => j(t.id))
728
+ }, ce({
713
729
  item: k(({ legend: t, index: o }) => [
714
730
  n("div", {
715
- onClick: (_) => W(t.id),
731
+ onClick: (_) => j(t.id),
716
732
  style: c(`opacity:${P.value.includes(t.id) ? 0.5 : 1}`)
717
- }, h(t.name) + ": " + h(i(te)(
733
+ }, h(t.name) + ": " + h(d(le)(
718
734
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
719
735
  t.value,
720
- i(D)({
736
+ d(R)({
721
737
  p: e.value.style.chart.legend.prefix,
722
738
  v: t.value,
723
739
  s: e.value.style.chart.legend.suffix,
724
740
  r: e.value.style.chart.legend.roundingValue
725
741
  }),
726
742
  { datapoint: t, seriesIndex: o }
727
- )), 13, ea)
743
+ )), 13, oa)
728
744
  ]),
729
745
  _: 2
730
746
  }, [
731
747
  a.$slots.pattern ? {
732
748
  name: "legend-pattern",
733
749
  fn: k(({ legend: t, index: o }) => [
734
- Y(Xe, {
750
+ q(We, {
735
751
  shape: t.shape,
736
752
  radius: 30,
737
753
  stroke: "none",
@@ -743,17 +759,17 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
743
759
  } : void 0
744
760
  ]), 1032, ["legendSet", "config"]))
745
761
  ], 512)) : p("", !0),
746
- m(a.$slots, "legend", { legend: I.value }, void 0, !0),
762
+ m(a.$slots, "legend", { legend: O.value }, void 0, !0),
747
763
  a.$slots.source ? (u(), r("div", {
748
764
  key: 9,
749
765
  ref_key: "source",
750
- ref: ye,
766
+ ref: fe,
751
767
  dir: "auto"
752
768
  }, [
753
769
  m(a.$slots, "source", {}, void 0, !0)
754
770
  ], 512)) : p("", !0),
755
- Y(Lt, {
756
- show: C.value.showTooltip && ae.value && P.value.length < T.dataset.length,
771
+ q(Vt, {
772
+ show: C.value.showTooltip && oe.value && P.value.length < T.dataset.length,
757
773
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
758
774
  color: e.value.style.chart.tooltip.color,
759
775
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -763,20 +779,20 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
763
779
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
764
780
  position: e.value.style.chart.tooltip.position,
765
781
  offsetY: e.value.style.chart.tooltip.offsetY,
766
- parent: R.value,
767
- content: le.value,
768
- isFullscreen: U.value,
782
+ parent: U.value,
783
+ content: ne.value,
784
+ isFullscreen: X.value,
769
785
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
770
786
  }, {
771
787
  "tooltip-before": k(() => [
772
- m(a.$slots, "tooltip-before", X(E({ ...re.value })), void 0, !0)
788
+ m(a.$slots, "tooltip-before", E(H({ ...de.value })), void 0, !0)
773
789
  ]),
774
790
  "tooltip-after": k(() => [
775
- m(a.$slots, "tooltip-after", X(E({ ...re.value })), void 0, !0)
791
+ m(a.$slots, "tooltip-after", E(H({ ...de.value })), void 0, !0)
776
792
  ]),
777
793
  _: 3
778
794
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
779
- q.value ? (u(), A(St, {
795
+ J.value ? (u(), B(Ft, {
780
796
  key: 10,
781
797
  hideDetails: "",
782
798
  config: {
@@ -795,18 +811,18 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
795
811
  content: k(() => [
796
812
  n("div", {
797
813
  ref_key: "tableContainer",
798
- ref: Te,
814
+ ref: Ne,
799
815
  class: "vue-ui-vertical-bar-table"
800
816
  }, [
801
- n("div", ta, [
817
+ n("div", na, [
802
818
  n("div", {
803
819
  role: "button",
804
820
  tabindex: "0",
805
821
  style: c(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
806
822
  onClick: l[3] || (l[3] = (t) => C.value.showTable = !1),
807
- onKeypress: l[4] || (l[4] = it((t) => C.value.showTable = !1, ["enter"]))
823
+ onKeypress: l[4] || (l[4] = ht((t) => C.value.showTable = !1, ["enter"]))
808
824
  }, [
809
- Y(Pt, {
825
+ q(Ot, {
810
826
  name: "close",
811
827
  stroke: e.value.table.th.color,
812
828
  "stroke-width": 2
@@ -814,25 +830,25 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
814
830
  ], 36),
815
831
  n("div", {
816
832
  style: { width: "100%", "container-type": "inline-size" },
817
- class: z({ "vue-ui-responsive": Le.value })
833
+ class: A({ "vue-ui-responsive": Pe.value })
818
834
  }, [
819
- n("table", aa, [
835
+ n("table", ua, [
820
836
  n("caption", {
821
837
  style: c({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
822
838
  class: "vue-ui-data-table__caption"
823
839
  }, [
824
- dt(h(e.value.style.chart.title.text) + " ", 1),
825
- e.value.style.chart.title.subtitle.text ? (u(), r("span", la, h(e.value.style.chart.title.subtitle.text), 1)) : p("", !0)
840
+ pt(h(e.value.style.chart.title.text) + " ", 1),
841
+ e.value.style.chart.title.subtitle.text ? (u(), r("span", sa, h(e.value.style.chart.title.subtitle.text), 1)) : p("", !0)
826
842
  ], 4),
827
843
  n("thead", null, [
828
844
  n("tr", {
829
845
  role: "row",
830
846
  style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
831
847
  }, [
832
- (u(!0), r(H, null, G(L.value.head, (t) => (u(), r("th", {
848
+ (u(!0), r(W, null, G(L.value.head, (t) => (u(), r("th", {
833
849
  style: c(`outline:${e.value.table.th.outline}`)
834
850
  }, [
835
- n("div", oa, h(t), 1)
851
+ n("div", ra, h(t), 1)
836
852
  ], 4))), 256))
837
853
  ], 4),
838
854
  n("tr", null, [
@@ -860,8 +876,8 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
860
876
  ])
861
877
  ]),
862
878
  n("tbody", null, [
863
- (u(!0), r(H, null, G(L.value.body, (t, o) => (u(), r("tr", {
864
- class: z({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": o % 2 === 0, "vue-ui-data-table__tbody__row-odd": o % 2 !== 0 }),
879
+ (u(!0), r(W, null, G(L.value.body, (t, o) => (u(), r("tr", {
880
+ class: A({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": o % 2 === 0, "vue-ui-data-table__tbody__row-odd": o % 2 !== 0 }),
865
881
  style: c(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
866
882
  }, [
867
883
  n("td", {
@@ -869,56 +885,56 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
869
885
  style: c(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
870
886
  "data-cell": L.value.head[0] ?? ""
871
887
  }, [
872
- n("div", ua, [
888
+ n("div", da, [
873
889
  t.color ? (u(), r("span", {
874
890
  key: 0,
875
891
  style: c(`color:${t.color};margin-right:3px`)
876
892
  }, "⬤", 4)) : p("", !0),
877
893
  n("span", null, h(t.parentName), 1)
878
894
  ])
879
- ], 12, na),
895
+ ], 12, ia),
880
896
  n("td", {
881
897
  class: "vue-ui-data-table__tbody__td",
882
898
  style: c(`outline:${e.value.table.td.outline}`),
883
899
  "data-cell": L.value.head[1] ?? ""
884
900
  }, [
885
- n("div", ra, h(e.value.table.td.prefix) + h(["", NaN, void 0].includes(t.parentValue) ? "" : t.parentValue.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 1)
886
- ], 12, sa),
901
+ n("div", ca, h(e.value.table.td.prefix) + h(["", NaN, void 0].includes(t.parentValue) ? "" : t.parentValue.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 1)
902
+ ], 12, va),
887
903
  n("td", {
888
904
  class: "vue-ui-data-table__tbody__td",
889
905
  style: c(`outline:${e.value.table.td.outline}`),
890
906
  "data-cell": L.value.head[2] ?? ""
891
907
  }, [
892
- n("div", da, h(["", NaN, void 0].includes(t.percentageToTotal) ? "" : `${(t.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
893
- ], 12, ia),
908
+ n("div", pa, h(["", NaN, void 0].includes(t.percentageToTotal) ? "" : `${(t.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
909
+ ], 12, ha),
894
910
  n("td", {
895
911
  class: "vue-ui-data-table__tbody__td",
896
912
  style: c(`outline:${e.value.table.td.outline}`),
897
913
  "data-cell": L.value.head[3] ?? ""
898
914
  }, [
899
- n("div", ca, h(t.childName), 1)
900
- ], 12, va),
915
+ n("div", ga, h(t.childName), 1)
916
+ ], 12, ya),
901
917
  n("td", {
902
918
  class: "vue-ui-data-table__tbody__td",
903
919
  style: c(`outline:${e.value.table.td.outline}`),
904
920
  "data-cell": L.value.head[4] ?? ""
905
921
  }, [
906
- n("div", pa, h(e.value.table.td.prefix) + h(["", NaN, void 0].includes(t.childValue) ? "" : t.childValue.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 1)
907
- ], 12, ha),
922
+ n("div", ba, h(e.value.table.td.prefix) + h(["", NaN, void 0].includes(t.childValue) ? "" : t.childValue.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 1)
923
+ ], 12, fa),
908
924
  n("td", {
909
925
  class: "vue-ui-data-table__tbody__td",
910
926
  style: c(`outline:${e.value.table.td.outline}`),
911
927
  "data-cell": L.value.head[5] ?? ""
912
928
  }, [
913
- n("div", ga, h(["", NaN, void 0].includes(t.childPercentageToParent) ? "" : `${(t.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
914
- ], 12, ya),
929
+ n("div", _a, h(["", NaN, void 0].includes(t.childPercentageToParent) ? "" : `${(t.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
930
+ ], 12, ma),
915
931
  n("td", {
916
932
  class: "vue-ui-data-table__tbody__td",
917
933
  style: c(`outline:${e.value.table.td.outline}`),
918
934
  "data-cell": L.value.head[6] ?? ""
919
935
  }, [
920
- n("div", ba, h(["", NaN, void 0].includes(t.childPercentageToTotal) ? "" : `${(t.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
921
- ], 12, fa)
936
+ n("div", $a, h(["", NaN, void 0].includes(t.childPercentageToTotal) ? "" : `${(t.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
937
+ ], 12, ka)
922
938
  ], 6))), 256))
923
939
  ])
924
940
  ])
@@ -928,9 +944,9 @@ const Mt = ["id"], zt = ["onClick"], At = ["xmlns", "viewBox"], Bt = ["width", "
928
944
  ]),
929
945
  _: 1
930
946
  }, 8, ["config"])) : p("", !0)
931
- ], 46, Mt));
947
+ ], 46, Dt));
932
948
  }
933
- }, za = /* @__PURE__ */ Ft(ma, [["__scopeId", "data-v-b7b6fe7f"]]);
949
+ }, Ra = /* @__PURE__ */ Bt(xa, [["__scopeId", "data-v-086d7789"]]);
934
950
  export {
935
- za as default
951
+ Ra as default
936
952
  };