vue-data-ui 2.4.3 → 2.4.4

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 (181) hide show
  1. package/README.md +3 -1
  2. package/dist/{Arrow-C7lNL7sY.js → Arrow-AxsI-FAh.js} +1 -1
  3. package/dist/{Arrow-Dz6AomGr.cjs → Arrow-W6XO2WVI.cjs} +1 -1
  4. package/dist/{BaseIcon-uALK38Ov.cjs → BaseIcon-BTn_oML7.cjs} +1 -1
  5. package/dist/{BaseIcon-BbvG1AlW.js → BaseIcon-BX3x6oa7.js} +1 -1
  6. package/dist/{DataTable-DYqC2pqu.js → DataTable-BI1tjiA_.js} +2 -2
  7. package/dist/{DataTable-DTzynbND.cjs → DataTable-RUQ1G_6L.cjs} +1 -1
  8. package/dist/{Legend-Cgw4lO2O.cjs → Legend-B86sMXn7.cjs} +1 -1
  9. package/dist/{Legend-DNgTCgEK.js → Legend-CRMHjbGw.js} +1 -1
  10. package/dist/{PackageVersion-VkaUzgmt.js → PackageVersion-Clrfvyd8.js} +1 -1
  11. package/dist/{PackageVersion-DwI-KhXH.cjs → PackageVersion-CowXQ4IM.cjs} +1 -1
  12. package/dist/{PenAndPaper-DAZYA8Ew.js → PenAndPaper-BQzgk5kO.js} +2 -2
  13. package/dist/{PenAndPaper-CDFVOo7X.cjs → PenAndPaper-DBSxk9Xk.cjs} +1 -1
  14. package/dist/{Shape-Bwon0l0g.js → Shape-DYNtRer6.js} +1 -1
  15. package/dist/{Shape-D2Dpshg1.cjs → Shape-qK3MNdTg.cjs} +1 -1
  16. package/dist/{Slicer-TfpN2Cr4.js → Slicer-DFPDip5U.js} +3 -3
  17. package/dist/{Slicer-uSjfNJjG.cjs → Slicer-NlxLkUso.cjs} +1 -1
  18. package/dist/{Title-C5pIfQAz.js → Title-710895ks.js} +1 -1
  19. package/dist/{Title-0Tp4hZ4u.cjs → Title-CUN1T6KC.cjs} +1 -1
  20. package/dist/{Tooltip-9Tp2Yrd1.cjs → Tooltip-BapDtYOM.cjs} +1 -1
  21. package/dist/{Tooltip-Cz24YLfw.js → Tooltip-CPlG_yQU.js} +1 -1
  22. package/dist/{index-eFox7weK.cjs → index-CcykRspI.cjs} +1 -1
  23. package/dist/{index-Bya_q1J-.js → index-DCsPHn9C.js} +1 -1
  24. package/dist/style.css +1 -1
  25. package/dist/{useNestedProp-B33hazbH.js → useNestedProp-DdSlLeTW.js} +1 -1
  26. package/dist/{useNestedProp-BkgEhTQY.cjs → useNestedProp-XtPlFP9O.cjs} +1 -1
  27. package/dist/{usePrinter-CSRFnDBU.cjs → usePrinter-BcE45wW6.cjs} +1 -1
  28. package/dist/{usePrinter-CiHd1FwD.js → usePrinter-siG3sKWo.js} +1 -1
  29. package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
  30. package/dist/{useResponsive-BY8tgM1n.js → useResponsive-CoxXLe23.js} +8 -7
  31. package/dist/{vue-data-ui-BTtxyUc3.cjs → vue-data-ui-C0o1kZzC.cjs} +1 -1
  32. package/dist/{vue-data-ui-Bduq4f2p.js → vue-data-ui-D_MTGc8j.js} +58 -58
  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-BUEq_VdY.js → vue-ui-3d-bar-BdzWvy4d.js} +9 -9
  36. package/dist/{vue-ui-3d-bar-B-P7PMHs.cjs → vue-ui-3d-bar-C298Bf3V.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-TEMpM1hO.cjs → vue-ui-accordion-B7PTyFVk.cjs} +1 -1
  38. package/dist/{vue-ui-accordion-DfUfL2dI.js → vue-ui-accordion-D4Er5Dy5.js} +3 -3
  39. package/dist/vue-ui-age-pyramid-BIcB5vtU.cjs +1 -0
  40. package/dist/{vue-ui-age-pyramid-CH72tAMb.js → vue-ui-age-pyramid-CHEdFQb7.js} +145 -137
  41. package/dist/{vue-ui-annotator-DPeJ2its.js → vue-ui-annotator-CqM_1HlB.js} +1 -1
  42. package/dist/{vue-ui-annotator-DU_DJKCw.cjs → vue-ui-annotator-eGtZcHeb.cjs} +1 -1
  43. package/dist/{vue-ui-bullet-CtP3MlUT.js → vue-ui-bullet-DBk50kIe.js} +75 -69
  44. package/dist/vue-ui-bullet-DURgZGgp.cjs +34 -0
  45. package/dist/{vue-ui-candlestick-DDil13a0.js → vue-ui-candlestick-Bo41qkGe.js} +240 -232
  46. package/dist/vue-ui-candlestick-CP4Z-29b.cjs +2 -0
  47. package/dist/{vue-ui-carousel-table-BaeIxyc0.js → vue-ui-carousel-table-CkNOqa9q.js} +4 -4
  48. package/dist/{vue-ui-carousel-table-C7SJIOG-.cjs → vue-ui-carousel-table-lMqx64wd.cjs} +1 -1
  49. package/dist/{vue-ui-chestnut-BczSJF6S.js → vue-ui-chestnut-CNWq-epB.js} +262 -256
  50. package/dist/vue-ui-chestnut-qxzF2ND7.cjs +6 -0
  51. package/dist/{vue-ui-cursor-Dg_Dmww-.js → vue-ui-cursor-B4m30Gqz.js} +2 -2
  52. package/dist/{vue-ui-cursor-C2Pj_CI_.cjs → vue-ui-cursor-BEv39HVY.cjs} +1 -1
  53. package/dist/{vue-ui-dashboard-Bul9dqx1.js → vue-ui-dashboard-BL9IgDDx.js} +2 -2
  54. package/dist/{vue-ui-dashboard-Cg020NiT.cjs → vue-ui-dashboard-DnoXstlp.cjs} +1 -1
  55. package/dist/{vue-ui-digits-B8iAa4YZ.js → vue-ui-digits-CVPDJ6tl.js} +2 -2
  56. package/dist/{vue-ui-digits-Ctgd84JR.cjs → vue-ui-digits-D1RaU4V-.cjs} +1 -1
  57. package/dist/{vue-ui-donut-DUcp-fat.js → vue-ui-donut-C65SAJKb.js} +338 -330
  58. package/dist/vue-ui-donut-CMC92CXL.cjs +1 -0
  59. package/dist/vue-ui-donut-evolution-7gIM4bVk.cjs +1 -0
  60. package/dist/{vue-ui-donut-evolution-C_YMbTwq.js → vue-ui-donut-evolution-BFbBlmBx.js} +163 -156
  61. package/dist/{vue-ui-dumbbell-Buwngz_V.js → vue-ui-dumbbell-BnxRfvv0.js} +208 -200
  62. package/dist/vue-ui-dumbbell-OCo67ZKp.cjs +9 -0
  63. package/dist/vue-ui-flow-BPnpYrzb.cjs +1 -0
  64. package/dist/{vue-ui-flow-Bz3c0K5P.js → vue-ui-flow-Cra_F-tK.js} +130 -124
  65. package/dist/vue-ui-galaxy-3zTk9Pr1.cjs +1 -0
  66. package/dist/{vue-ui-galaxy-Cjh0XGTX.js → vue-ui-galaxy-DlJ7v0aD.js} +125 -119
  67. package/dist/{vue-ui-gauge-B1UvGkQa.js → vue-ui-gauge-CsqVvNxE.js} +167 -159
  68. package/dist/vue-ui-gauge-DcUNJZI1.cjs +1 -0
  69. package/dist/{vue-ui-gizmo-DFW6HnHp.cjs → vue-ui-gizmo-BkkLoCyx.cjs} +1 -1
  70. package/dist/{vue-ui-gizmo-DUQ4t-At.js → vue-ui-gizmo-Peyy8li7.js} +3 -3
  71. package/dist/vue-ui-heatmap-DYb831An.cjs +1 -0
  72. package/dist/{vue-ui-heatmap-C-poazUw.js → vue-ui-heatmap-i4HFM04D.js} +156 -149
  73. package/dist/{vue-ui-kpi-Z4Oi4raz.cjs → vue-ui-kpi-CCrdcv3r.cjs} +1 -1
  74. package/dist/{vue-ui-kpi-DXe-vxAk.js → vue-ui-kpi-gSKVVqZg.js} +3 -3
  75. package/dist/{vue-ui-mini-loader-MMvpm9pz.cjs → vue-ui-mini-loader-CqutMcQI.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-BVtHTqxS.js → vue-ui-mini-loader-D7Jk1LJb.js} +2 -2
  77. package/dist/{vue-ui-molecule-BaJpDZND.js → vue-ui-molecule-CgdepnhM.js} +109 -103
  78. package/dist/vue-ui-molecule-CwUObXAx.cjs +1 -0
  79. package/dist/{vue-ui-mood-radar-BUNDwsEI.js → vue-ui-mood-radar-Bxro4962.js} +173 -166
  80. package/dist/vue-ui-mood-radar-RQFKS7Br.cjs +1 -0
  81. package/dist/{vue-ui-nested-donuts-mDy2hXa6.js → vue-ui-nested-donuts-B7dXBejH.js} +311 -303
  82. package/dist/vue-ui-nested-donuts-D8ZGqIGC.cjs +17 -0
  83. package/dist/vue-ui-onion-Dtt0kw8E.cjs +5 -0
  84. package/dist/{vue-ui-onion-DwFG3HAI.js → vue-ui-onion-i52wztm0.js} +149 -141
  85. package/dist/vue-ui-parallel-coordinate-plot-DNK0BrBy.cjs +8 -0
  86. package/dist/{vue-ui-parallel-coordinate-plot-ImET_zeo.js → vue-ui-parallel-coordinate-plot-DUssrm08.js} +186 -178
  87. package/dist/{vue-ui-quadrant-BeveRihK.js → vue-ui-quadrant-BORPtgQO.js} +225 -217
  88. package/dist/vue-ui-quadrant-a_I5E71f.cjs +1 -0
  89. package/dist/vue-ui-quick-chart-BpPDfK78.cjs +15 -0
  90. package/dist/{vue-ui-quick-chart-DAhllTfa.js → vue-ui-quick-chart-yb1FzVdt.js} +386 -378
  91. package/dist/{vue-ui-radar-BllatzRa.js → vue-ui-radar-CoCbl19A.js} +172 -164
  92. package/dist/vue-ui-radar-DZMngiqq.cjs +1 -0
  93. package/dist/{vue-ui-rating-D1ykV4xO.js → vue-ui-rating-D-zwuvLK.js} +2 -2
  94. package/dist/{vue-ui-rating-BoZo7caL.cjs → vue-ui-rating-nTJ8DDhG.cjs} +1 -1
  95. package/dist/vue-ui-relation-circle-CW9qozhJ.js +366 -0
  96. package/dist/vue-ui-relation-circle-Wj_yrVJc.cjs +1 -0
  97. package/dist/vue-ui-rings-BZaZIGEz.cjs +2 -0
  98. package/dist/{vue-ui-rings-B-ZcX6y1.js → vue-ui-rings-Bx2GEh6d.js} +196 -188
  99. package/dist/{vue-ui-scatter-DG43ck1g.js → vue-ui-scatter-BARiPzro.js} +288 -280
  100. package/dist/vue-ui-scatter-C-i1NZgz.cjs +1 -0
  101. package/dist/{vue-ui-screenshot-p3ca8cAl.js → vue-ui-screenshot-CuiJqlfo.js} +1 -1
  102. package/dist/{vue-ui-screenshot-C1JBP_N0.cjs → vue-ui-screenshot-CwOoftGV.cjs} +1 -1
  103. package/dist/{vue-ui-skeleton-BYssP0K4.js → vue-ui-skeleton-DNuwx6_y.js} +3 -3
  104. package/dist/{vue-ui-skeleton-BqKzuhkB.cjs → vue-ui-skeleton-DpfJbsNA.cjs} +1 -1
  105. package/dist/{vue-ui-smiley-D7dDCdpq.js → vue-ui-smiley-BnX27B0k.js} +2 -2
  106. package/dist/{vue-ui-smiley-BXKVpHl2.cjs → vue-ui-smiley-DGE9NFBY.cjs} +1 -1
  107. package/dist/{vue-ui-spark-trend-GWFrO_0z.js → vue-ui-spark-trend-CgCLrMox.js} +5 -5
  108. package/dist/{vue-ui-spark-trend-9V60hM3Z.cjs → vue-ui-spark-trend-aW-de-rX.cjs} +1 -1
  109. package/dist/{vue-ui-sparkbar-Bgn6AY0q.cjs → vue-ui-sparkbar-BLUXUlTY.cjs} +1 -1
  110. package/dist/{vue-ui-sparkbar-CwqlyAyv.js → vue-ui-sparkbar-BXku33sq.js} +4 -4
  111. package/dist/{vue-ui-sparkgauge-F2XbiXyA.js → vue-ui-sparkgauge-Doi0iu0L.js} +4 -4
  112. package/dist/{vue-ui-sparkgauge-Dqntz2Zv.cjs → vue-ui-sparkgauge-RTiKvSMp.cjs} +1 -1
  113. package/dist/{vue-ui-sparkhistogram-DRIKK6Ym.js → vue-ui-sparkhistogram-BnMvXlAP.js} +5 -5
  114. package/dist/{vue-ui-sparkhistogram-DnY4-Sdn.cjs → vue-ui-sparkhistogram-C6AgJH1C.cjs} +1 -1
  115. package/dist/{vue-ui-sparkline-Cxtzdlhi.js → vue-ui-sparkline-DI7fq_MR.js} +5 -5
  116. package/dist/{vue-ui-sparkline-CAEs-gtK.cjs → vue-ui-sparkline-DpVCQ6W9.cjs} +1 -1
  117. package/dist/{vue-ui-sparkstackbar-D37ms1rx.cjs → vue-ui-sparkstackbar-Bvuq2sLW.cjs} +1 -1
  118. package/dist/{vue-ui-sparkstackbar-0A1klq9s.js → vue-ui-sparkstackbar-oNnE5z1C.js} +4 -4
  119. package/dist/{vue-ui-stackbar-ByOuJSdM.js → vue-ui-stackbar-6g7b3yyu.js} +13 -13
  120. package/dist/{vue-ui-stackbar-wun4S3C0.cjs → vue-ui-stackbar-aWJDGIKV.cjs} +1 -1
  121. package/dist/{vue-ui-strip-plot-CMD0MSqY.js → vue-ui-strip-plot-BFM8HIM8.js} +204 -196
  122. package/dist/vue-ui-strip-plot-GdjjVxMN.cjs +1 -0
  123. package/dist/{vue-ui-table-B75DJ39t.js → vue-ui-table-Cw4Yz-IE.js} +1 -1
  124. package/dist/{vue-ui-table-aj0XZ7T5.cjs → vue-ui-table-XOPmDCOB.cjs} +1 -1
  125. package/dist/{vue-ui-table-heatmap-Ce93TyBF.cjs → vue-ui-table-heatmap-Bh48bMuU.cjs} +1 -1
  126. package/dist/{vue-ui-table-heatmap-BO2ugWqD.js → vue-ui-table-heatmap-DeRCR8l6.js} +4 -4
  127. package/dist/{vue-ui-table-sparkline-D6KJjDnU.cjs → vue-ui-table-sparkline-C25qj1w_.cjs} +1 -1
  128. package/dist/{vue-ui-table-sparkline-CbjfAaj2.js → vue-ui-table-sparkline-w3H-od91.js} +5 -5
  129. package/dist/{vue-ui-thermometer-Pq4PvSIP.js → vue-ui-thermometer-BySEVhT8.js} +171 -165
  130. package/dist/vue-ui-thermometer-DZrusaGY.cjs +1 -0
  131. package/dist/{vue-ui-timer-B6IB6yS6.cjs → vue-ui-timer-1p6J6hTn.cjs} +1 -1
  132. package/dist/{vue-ui-timer-Bk3BvB-B.js → vue-ui-timer-BN-9a2lj.js} +6 -6
  133. package/dist/vue-ui-tiremarks-CvIJeWKE.cjs +1 -0
  134. package/dist/{vue-ui-tiremarks-CU9HJIqf.js → vue-ui-tiremarks-EzYdOMyf.js} +119 -112
  135. package/dist/vue-ui-treemap-CzNOr1iR.cjs +1 -0
  136. package/dist/{vue-ui-treemap-DY-lRAhC.js → vue-ui-treemap-Da0f6vaF.js} +266 -258
  137. package/dist/vue-ui-vertical-bar-B9shdfqo.cjs +4 -0
  138. package/dist/{vue-ui-vertical-bar-CtnIKsM1.js → vue-ui-vertical-bar-D1cBfu5p.js} +245 -237
  139. package/dist/vue-ui-waffle-Cg-7Fazv.cjs +1 -0
  140. package/dist/{vue-ui-waffle-reOsx-gJ.js → vue-ui-waffle-DM2LsEP7.js} +224 -216
  141. package/dist/{vue-ui-wheel-kYxny3vn.js → vue-ui-wheel-B9cmixxi.js} +125 -117
  142. package/dist/vue-ui-wheel-C-JukdTy.cjs +1 -0
  143. package/dist/{vue-ui-word-cloud-DwLY4QdB.cjs → vue-ui-word-cloud-BLMWYOPy.cjs} +1 -1
  144. package/dist/{vue-ui-word-cloud-DbMqrHAf.js → vue-ui-word-cloud-Baz7RXN2.js} +11 -11
  145. package/dist/vue-ui-xy-BHeSkJQ3.cjs +3 -0
  146. package/dist/{vue-ui-xy-rbACig0h.js → vue-ui-xy-DVnzVSqE.js} +302 -291
  147. package/dist/{vue-ui-xy-canvas-B0HTR7OV.js → vue-ui-xy-canvas-A7PKnWBs.js} +12 -12
  148. package/dist/{vue-ui-xy-canvas-CgJd5FiT.cjs → vue-ui-xy-canvas-DAd-B98z.cjs} +1 -1
  149. package/package.json +1 -1
  150. package/dist/useResponsive-CodiGUOE.cjs +0 -1
  151. package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +0 -1
  152. package/dist/vue-ui-bullet-D8ks_rKr.cjs +0 -34
  153. package/dist/vue-ui-candlestick-D1jdr0bv.cjs +0 -2
  154. package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +0 -6
  155. package/dist/vue-ui-donut-D7KT9EAp.cjs +0 -1
  156. package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +0 -1
  157. package/dist/vue-ui-dumbbell-B0dikuqO.cjs +0 -9
  158. package/dist/vue-ui-flow-D6rc8J-8.cjs +0 -1
  159. package/dist/vue-ui-galaxy-CmTt0vBf.cjs +0 -1
  160. package/dist/vue-ui-gauge-B_TKuyM7.cjs +0 -1
  161. package/dist/vue-ui-heatmap-C2HlnqzO.cjs +0 -1
  162. package/dist/vue-ui-molecule-BiYIcOKN.cjs +0 -1
  163. package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +0 -1
  164. package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +0 -17
  165. package/dist/vue-ui-onion-GWNoZRhw.cjs +0 -5
  166. package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +0 -8
  167. package/dist/vue-ui-quadrant-yuFAxV-5.cjs +0 -1
  168. package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +0 -15
  169. package/dist/vue-ui-radar-BJH5SE6-.cjs +0 -1
  170. package/dist/vue-ui-relation-circle-CKmjOle7.cjs +0 -1
  171. package/dist/vue-ui-relation-circle-xv2l5Be9.js +0 -358
  172. package/dist/vue-ui-rings-DjH3CK23.cjs +0 -2
  173. package/dist/vue-ui-scatter-SBCXAl7q.cjs +0 -1
  174. package/dist/vue-ui-strip-plot-IQrypGvz.cjs +0 -1
  175. package/dist/vue-ui-thermometer-swmi4FmH.cjs +0 -1
  176. package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +0 -1
  177. package/dist/vue-ui-treemap-BEMuKV7x.cjs +0 -1
  178. package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +0 -4
  179. package/dist/vue-ui-waffle-BqP7Okgu.cjs +0 -1
  180. package/dist/vue-ui-wheel-BuWUGnkC.cjs +0 -1
  181. package/dist/vue-ui-xy-CGWzriYn.cjs +0 -3
@@ -1,21 +1,21 @@
1
- import { useCssVars as Je, computed as m, ref as r, watch as Fe, onMounted as Qe, onBeforeUnmount as Ze, openBlock as u, createElementBlock as d, normalizeClass as R, normalizeStyle as c, createBlock as M, createCommentVNode as f, unref as h, createSlots as et, withCtx as k, renderSlot as _, normalizeProps as U, guardReactiveProps as H, createElementVNode as n, toDisplayString as i, createVNode as re, Fragment as W, renderList as j, withKeys as tt, createTextVNode as at } from "vue";
2
- import { u as lt, c as ot, t as nt, a as ut, p as I, b as st, o as Me, e as Z, v as S, d as ie, i as ee, f as O, X as rt, s as de, w as it, x as dt, y as ct, q as vt, r as ht } from "./index-Bya_q1J-.js";
3
- import { t as pt, u as gt } from "./useResponsive-BY8tgM1n.js";
4
- import { _ as yt } from "./Title-C5pIfQAz.js";
5
- import { u as ft, U as bt } from "./usePrinter-CiHd1FwD.js";
6
- import { _ as mt } from "./Tooltip-Cz24YLfw.js";
7
- import { L as Ie } from "./Legend-DNgTCgEK.js";
8
- import _t from "./vue-ui-skeleton-BYssP0K4.js";
9
- import kt from "./BaseIcon-BbvG1AlW.js";
10
- import xt from "./vue-ui-accordion-DfUfL2dI.js";
11
- import { u as Oe } from "./useNestedProp-B33hazbH.js";
12
- import { _ as $t } from "./PackageVersion-VkaUzgmt.js";
13
- import { P as Ct } from "./PenAndPaper-DAZYA8Ew.js";
14
- import { _ as wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const Tt = ["id"], Lt = ["onClick"], Pt = ["xmlns", "viewBox"], Nt = ["id"], St = ["stop-color"], Vt = ["stop-color"], zt = ["x", "y", "width", "height", "fill", "rx"], Ft = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Mt = ["x2", "y1", "y2", "stroke", "stroke-width"], It = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ot = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], At = ["x", "y", "font-size", "fill", "font-weight"], Bt = ["x", "y", "font-size", "fill", "font-weight"], Dt = ["x", "y", "font-size", "fill", "font-weight"], Rt = ["y", "width", "height", "fill", "onMouseenter"], Xt = {
16
- key: 5,
1
+ import { useCssVars as Ze, computed as b, ref as r, watch as Me, onMounted as et, onBeforeUnmount as tt, openBlock as u, createElementBlock as i, normalizeClass as R, normalizeStyle as c, createBlock as M, createCommentVNode as g, unref as h, createSlots as at, withCtx as k, renderSlot as _, normalizeProps as U, guardReactiveProps as H, createElementVNode as n, toDisplayString as d, createVNode as re, Fragment as W, renderList as j, withKeys as lt, createTextVNode as ot } from "vue";
2
+ import { u as nt, c as ut, t as st, a as rt, p as O, b as it, o as Oe, e as Z, v as S, d as ie, i as ee, f as I, X as dt, s as de, w as ct, x as vt, y as ht, q as pt, r as gt } from "./index-DCsPHn9C.js";
3
+ import { t as yt, u as ft } from "./useResponsive-CoxXLe23.js";
4
+ import { _ as bt } from "./Title-710895ks.js";
5
+ import { u as mt, U as _t } from "./usePrinter-siG3sKWo.js";
6
+ import { _ as kt } from "./Tooltip-CPlG_yQU.js";
7
+ import { L as Ie } from "./Legend-CRMHjbGw.js";
8
+ import xt from "./vue-ui-skeleton-DNuwx6_y.js";
9
+ import $t from "./BaseIcon-BX3x6oa7.js";
10
+ import Ct from "./vue-ui-accordion-D4Er5Dy5.js";
11
+ import { u as Ae } from "./useNestedProp-DdSlLeTW.js";
12
+ import { _ as wt } from "./PackageVersion-Clrfvyd8.js";
13
+ import { P as Tt } from "./PenAndPaper-BQzgk5kO.js";
14
+ import { _ as Lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const Nt = ["id"], Pt = ["onClick"], St = ["xmlns", "viewBox"], Vt = ["id"], zt = ["stop-color"], Ft = ["stop-color"], Mt = ["x", "y", "width", "height", "fill", "rx"], Ot = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], It = ["x2", "y1", "y2", "stroke", "stroke-width"], At = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Bt = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Dt = ["x", "y", "font-size", "fill", "font-weight"], Rt = ["x", "y", "font-size", "fill", "font-weight"], Xt = ["x", "y", "font-size", "fill", "font-weight"], Et = ["y", "width", "height", "fill", "onMouseenter"], Gt = {
16
+ key: 6,
17
17
  class: "vue-data-ui-watermark"
18
- }, Et = ["onClick"], Gt = { style: "width:100%;padding-top: 36px;position:relative" }, Ut = { class: "vue-ui-data-table" }, Ht = { key: 0 }, Wt = { style: { width: "100%" } }, jt = ["data-cell"], Yt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, qt = ["data-cell"], Kt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Jt = ["data-cell"], Qt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Zt = ["data-cell"], ea = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ta = ["data-cell"], aa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, la = ["data-cell"], oa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, na = ["data-cell"], ua = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, sa = {
18
+ }, Ut = ["onClick"], Ht = { style: "width:100%;padding-top: 36px;position:relative" }, Wt = { class: "vue-ui-data-table" }, jt = { key: 0 }, Yt = { style: { width: "100%" } }, qt = ["data-cell"], Kt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Jt = ["data-cell"], Qt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Zt = ["data-cell"], ea = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ta = ["data-cell"], aa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, la = ["data-cell"], oa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, 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 = {
19
19
  __name: "vue-ui-vertical-bar",
20
20
  props: {
21
21
  config: {
@@ -32,75 +32,76 @@ const Tt = ["id"], Lt = ["onClick"], Pt = ["xmlns", "viewBox"], Nt = ["id"], St
32
32
  }
33
33
  },
34
34
  emits: ["selectLegend"],
35
- setup(Ae, { expose: Be, emit: De }) {
36
- const C = Ae;
37
- Je((t) => ({
38
- "13c3fec0": t.tdo
35
+ setup(Be, { expose: De, emit: Re }) {
36
+ const C = Be;
37
+ Ze((t) => ({
38
+ "5a0dcab3": t.tdo
39
39
  }));
40
- const { vue_ui_vertical_bar: Re } = lt(), Y = m(() => !!C.dataset && C.dataset.length), V = r(ot()), Xe = r(null), te = r(!1), ae = r(""), q = r(0), Ee = r(null), ce = r(0), A = r(null), ve = r(null), le = r(null), he = r(null), pe = r(0), oe = r(0), e = m({
41
- get: () => ge(),
40
+ const { vue_ui_vertical_bar: Xe } = nt(), Y = b(() => !!C.dataset && C.dataset.length), V = r(ut()), Ee = r(null), te = r(!1), ae = r(""), q = r(0), Ge = r(null), ce = r(0), A = r(null), ve = r(null), le = r(null), he = r(null), pe = r(null), ge = r(0), oe = r(0), e = b({
41
+ get: () => ye(),
42
42
  set: (t) => t
43
43
  });
44
- function ge() {
45
- const t = Oe({
44
+ function ye() {
45
+ const t = Ae({
46
46
  userConfig: C.config,
47
- defaultConfig: Re
47
+ defaultConfig: Xe
48
48
  });
49
49
  return t.theme ? {
50
- ...Oe({
51
- userConfig: nt.vue_ui_vertical_bar[t.theme] || C.config,
50
+ ...Ae({
51
+ userConfig: st.vue_ui_vertical_bar[t.theme] || C.config,
52
52
  defaultConfig: t
53
53
  }),
54
- customPalette: ut[t.theme] || I
54
+ customPalette: rt[t.theme] || O
55
55
  } : t;
56
56
  }
57
- Fe(() => C.config, (t) => {
58
- e.value = ge(), $e(), pe.value += 1, oe.value += 1, v.value = e.value.style.chart.layout.bars.height, g.value = e.value.style.chart.layout.bars.gap;
59
- }, { deep: !0 }), Fe(() => C.dataset, J, { deep: !0 });
60
- const { isPrinting: ye, isImaging: fe, generatePdf: be, generateImage: me } = ft({
57
+ Me(() => C.config, (t) => {
58
+ e.value = ye(), Ce(), ge.value += 1, oe.value += 1, v.value = e.value.style.chart.layout.bars.height, y.value = e.value.style.chart.layout.bars.gap;
59
+ }, { deep: !0 }), Me(() => C.dataset, J, { deep: !0 });
60
+ const { isPrinting: fe, isImaging: be, generatePdf: me, generateImage: _e } = mt({
61
61
  elementId: `vue-ui-vertical-bar_${V.value}`,
62
62
  fileName: e.value.style.chart.title.text || "vue-ui-vertical-bar"
63
- }), _e = m(() => st(e.value.customPalette)), ke = r(null), xe = r(!1), Ge = m(() => e.value.table.responsiveBreakpoint), K = r(null);
64
- Qe(() => {
65
- $e();
63
+ }), Ue = b(() => e.value.userOptions.show && !e.value.style.chart.title.text), ke = b(() => it(e.value.customPalette)), xe = r(null), $e = r(!1), He = b(() => e.value.table.responsiveBreakpoint), K = r(null);
64
+ et(() => {
65
+ Ce();
66
66
  });
67
- function $e() {
68
- if (Me(C.dataset) && Z({
67
+ function Ce() {
68
+ if (Oe(C.dataset) && Z({
69
69
  componentName: "VueUiVerticalBar",
70
70
  type: "dataset"
71
- }), q.value = C.dataset.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), Ue(), e.value.responsive) {
72
- const t = pt(() => {
73
- const { width: l, height: a } = gt({
71
+ }), q.value = C.dataset.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), We(), e.value.responsive) {
72
+ const t = yt(() => {
73
+ const { width: l, height: a } = ft({
74
74
  chart: A.value,
75
75
  title: e.value.style.chart.title.text ? ve.value : null,
76
76
  legend: e.value.style.chart.legend.show ? le.value : null,
77
- source: he.value
77
+ source: he.value,
78
+ noTitle: pe.value
78
79
  });
79
- Te.value = l, v.value = a / q.value - g.value * 2;
80
+ Le.value = l, v.value = a / q.value - y.value * 2;
80
81
  });
81
82
  K.value = new ResizeObserver(t), K.value.observe(A.value.parentNode);
82
83
  }
83
84
  }
84
- Ze(() => {
85
+ tt(() => {
85
86
  K.value && K.value.disconnect();
86
87
  });
87
- function Ue() {
88
+ function We() {
88
89
  new ResizeObserver((l) => {
89
90
  l.forEach((a) => {
90
- xe.value = a.contentRect.width < Ge.value;
91
+ $e.value = a.contentRect.width < He.value;
91
92
  });
92
- }).observe(ke.value);
93
+ }).observe(xe.value);
93
94
  }
94
95
  const $ = r({
95
96
  showTable: e.value.table.show,
96
97
  sortDesc: e.value.style.chart.layout.bars.sort === "desc",
97
98
  showTooltip: e.value.style.chart.tooltip.show
98
- }), Ce = m(() => $.value.sortDesc), z = m(() => (C.dataset.forEach((t, l) => {
99
+ }), we = b(() => $.value.sortDesc), z = b(() => (C.dataset.forEach((t, l) => {
99
100
  !t.value && !t.children && Z({
100
101
  componentName: "VueUiVerticalBar",
101
102
  type: "datasetAttributeEmpty",
102
103
  property: `value (index ${l})`
103
- }), t.children && (Me(t.children) ? Z({
104
+ }), t.children && (Oe(t.children) ? Z({
104
105
  componentName: "VueUiVerticalBar",
105
106
  type: "datasetAttributeEmpty",
106
107
  property: `children (index ${l})`
@@ -114,99 +115,99 @@ const Tt = ["id"], Lt = ["onClick"], Pt = ["xmlns", "viewBox"], Nt = ["id"], St
114
115
  });
115
116
  }));
116
117
  }), C.dataset.map((t, l) => {
117
- const a = `vertical_parent_${l}_${V.value}`, o = t.children && t.children.length > 0, b = S(t.value ? t.value : o ? t.children.map((x) => x.value || 0).reduce((x, P) => x + P, 0) : 0), p = b >= 0 ? 1 : -1;
118
+ const a = `vertical_parent_${l}_${V.value}`, o = t.children && t.children.length > 0, m = S(t.value ? t.value : o ? t.children.map((x) => x.value || 0).reduce((x, N) => x + N, 0) : 0), p = m >= 0 ? 1 : -1;
118
119
  return {
119
120
  ...t,
120
121
  id: a,
121
122
  shape: "square",
122
123
  opacity: T.value.includes(a) ? 0.5 : 1,
123
- value: Math.abs(b),
124
+ value: Math.abs(m),
124
125
  sign: p,
125
126
  hasChildren: o,
126
127
  isChild: !1,
127
128
  segregate: () => X(a),
128
129
  isSegregated: T.value.includes(a),
129
- color: ie(t.color) || _e.value[l] || I[l] || I[l % I.length],
130
- children: !t.children || !t.children.length ? [] : t.children.toSorted((x, P) => Ce.value ? P.value - x.value : x.value - P.value).map((x, P) => ({
130
+ color: ie(t.color) || ke.value[l] || O[l] || O[l % O.length],
131
+ children: !t.children || !t.children.length ? [] : t.children.toSorted((x, N) => we.value ? N.value - x.value : x.value - N.value).map((x, N) => ({
131
132
  ...x,
132
133
  value: S(Math.abs(x.value)),
133
134
  sign: x.value >= 0 ? 1 : -1,
134
135
  isChild: !0,
135
136
  parentId: a,
136
137
  parentName: t.name,
137
- parentValue: b,
138
+ parentValue: m,
138
139
  parentSign: p,
139
- id: `vertical_child_${l}_${P}_${V.value}`,
140
- childIndex: P,
141
- color: ie(x.color) || ie(t.color) || _e.value[l] || I[l] || I[l % I.length]
142
- })).map((x, P) => ({
140
+ id: `vertical_child_${l}_${N}_${V.value}`,
141
+ childIndex: N,
142
+ color: ie(x.color) || ie(t.color) || ke.value[l] || O[l] || O[l % O.length]
143
+ })).map((x, N) => ({
143
144
  ...x,
144
- isFirstChild: P === 0,
145
- isLastChild: P === t.children.length - 1
145
+ isFirstChild: N === 0,
146
+ isLastChild: N === t.children.length - 1
146
147
  }))
147
148
  };
148
- }).toSorted((t, l) => Ce.value ? l.value - t.value : t.value - l.value))), we = m(() => ({
149
+ }).toSorted((t, l) => we.value ? l.value - t.value : t.value - l.value))), Te = b(() => ({
149
150
  cy: "vertical-bar-div-legend",
150
151
  backgroundColor: e.value.style.chart.legend.backgroundColor,
151
152
  color: e.value.style.chart.legend.color,
152
153
  fontSize: e.value.style.chart.legend.fontSize,
153
154
  paddingBottom: 12,
154
155
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
155
- })), v = r(e.value.style.chart.layout.bars.height), g = r(e.value.style.chart.layout.bars.gap), He = m(() => (v.value + g.value) * q.value), Te = r(512), y = m(() => ({
156
- width: Te.value,
157
- height: He.value,
156
+ })), v = r(e.value.style.chart.layout.bars.height), y = r(e.value.style.chart.layout.bars.gap), je = b(() => (v.value + y.value) * q.value), Le = r(512), f = b(() => ({
157
+ width: Le.value,
158
+ height: je.value,
158
159
  padding: {
159
160
  top: 12,
160
161
  left: 128 + e.value.style.chart.layout.bars.offsetX,
161
162
  right: 64 + e.value.style.chart.layout.bars.paddingRight,
162
163
  bottom: 12
163
164
  }
164
- })), s = m(() => ({
165
- fullHeight: y.value.padding.top + y.value.padding.bottom + y.value.height,
166
- top: y.value.padding.top,
167
- left: y.value.padding.left,
168
- right: y.value.width - y.value.padding.right,
169
- bottom: y.value.padding.top + y.value.height,
170
- width: y.value.width - (y.value.padding.left + y.value.padding.right)
165
+ })), s = b(() => ({
166
+ fullHeight: f.value.padding.top + f.value.padding.bottom + f.value.height,
167
+ top: f.value.padding.top,
168
+ left: f.value.padding.left,
169
+ right: f.value.width - f.value.padding.right,
170
+ bottom: f.value.padding.top + f.value.height,
171
+ width: f.value.width - (f.value.padding.left + f.value.padding.right)
171
172
  }));
172
173
  function J() {
173
174
  q.value = F.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0);
174
175
  }
175
176
  const T = r([]);
176
177
  function X(t) {
177
- T.value.includes(t) ? T.value = T.value.filter((l) => l !== t) : T.value.push(t), J(), De("selectLegend", F.value);
178
+ T.value.includes(t) ? T.value = T.value.filter((l) => l !== t) : T.value.push(t), J(), Re("selectLegend", F.value);
178
179
  }
179
- const F = m(() => z.value.filter((t) => !T.value.includes(t.id))), L = m(() => F.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
180
- function Le(t, l = !1, a = 0) {
181
- return l ? O({
180
+ const F = b(() => z.value.filter((t) => !T.value.includes(t.id))), L = b(() => F.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
181
+ function Ne(t, l = !1, a = 0) {
182
+ return l ? I({
182
183
  v: S(Math.abs(t) / L.value * 100),
183
184
  s: "%",
184
185
  r: a
185
186
  }) : Math.abs(t) / L.value;
186
187
  }
187
- const B = m(() => F.value.flatMap((t) => t.hasChildren ? t.children : t)), D = m(() => B.value.map((t) => t.sign).includes(-1)), We = m(() => Math.max(...F.value.flatMap((t) => t.children && t.children.length ? Math.max(...t.children.map((l) => l.value)) : t.value)));
188
- function N(t) {
189
- const l = t / We.value;
188
+ const B = b(() => F.value.flatMap((t) => t.hasChildren ? t.children : t)), D = b(() => B.value.map((t) => t.sign).includes(-1)), Ye = b(() => Math.max(...F.value.flatMap((t) => t.children && t.children.length ? Math.max(...t.children.map((l) => l.value)) : t.value)));
189
+ function P(t) {
190
+ const l = t / Ye.value;
190
191
  return s.value.width / (D.value ? 2 : 1) * l;
191
192
  }
192
- function je(t) {
193
- return N(t) + s.value.left;
193
+ function qe(t) {
194
+ return P(t) + s.value.left;
194
195
  }
195
196
  function E(t, l) {
196
- const a = F.value.find((p) => p.id === t.parentId), o = s.value.top + (g.value + v.value) * l, b = a.children.length * (g.value + v.value);
197
+ const a = F.value.find((p) => p.id === t.parentId), o = s.value.top + (y.value + v.value) * l, m = a.children.length * (y.value + v.value);
197
198
  return {
198
- y: o + b / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
199
+ y: o + m / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
199
200
  name: a.name,
200
201
  value: [void 0, NaN, null].includes(a.value) ? "" : a.sign === 1 ? a.value : -a.value,
201
- percentageToTotal: isNaN(a.value / L.value) ? "" : Le(a.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
202
+ percentageToTotal: isNaN(a.value / L.value) ? "" : Ne(a.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
202
203
  sign: a.sign
203
204
  };
204
205
  }
205
- function Ye() {
206
+ function Ke() {
206
207
  return F.value;
207
208
  }
208
209
  const ne = r(null), ue = r(null);
209
- function qe(t, l) {
210
+ function Je(t, l) {
210
211
  ue.value = {
211
212
  datapoint: t,
212
213
  seriesIndex: l,
@@ -214,8 +215,8 @@ const Tt = ["id"], Lt = ["onClick"], Pt = ["xmlns", "viewBox"], Nt = ["id"], St
214
215
  config: e.value
215
216
  }, te.value = !0, ne.value = t.id;
216
217
  let a = "";
217
- const o = t.isChild ? t.parentName : t.name, b = t.isChild ? t.name : "", p = e.value.style.chart.tooltip.customFormat;
218
- dt(p) && ct(() => p({
218
+ const o = t.isChild ? t.parentName : t.name, m = t.isChild ? t.name : "", p = e.value.style.chart.tooltip.customFormat;
219
+ vt(p) && ht(() => p({
219
220
  datapoint: t,
220
221
  series: z.value,
221
222
  config: e.value,
@@ -227,22 +228,22 @@ const Tt = ["id"], Lt = ["onClick"], Pt = ["xmlns", "viewBox"], Nt = ["id"], St
227
228
  seriesIndex: l
228
229
  }) : (a += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;text-align:left;">
229
230
  <div style="display:flex;align-items:center;gap:4px;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" rx="2" stroke="none" fill="${t.color}"/></svg> ${o}</div>
230
- ${b ? `<div>${b}</div>` : ""}
231
+ ${m ? `<div>${m}</div>` : ""}
231
232
  </div>`, e.value.style.chart.tooltip.showValue && (a += `<div>${e.value.translations.value}: <b>${ee(
232
233
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
233
234
  t.sign === 1 ? t.value : -t.value,
234
- O({
235
+ I({
235
236
  p: e.value.style.chart.tooltip.prefix,
236
237
  v: t.sign === 1 ? t.value : -t.value,
237
238
  s: e.value.style.chart.tooltip.suffix,
238
239
  r: e.value.style.chart.tooltip.roundingValue
239
240
  }),
240
241
  { datapoint: t, seriesIndex: l }
241
- )}</b></div>`), e.value.style.chart.tooltip.showPercentage && (a += `<div>${e.value.translations.percentageToTotal} : <b>${O({
242
+ )}</b></div>`), e.value.style.chart.tooltip.showPercentage && (a += `<div>${e.value.translations.percentageToTotal} : <b>${I({
242
243
  v: Math.abs(t.value) / L.value * 100,
243
244
  s: "%",
244
245
  r: e.value.style.chart.tooltip.roundingPercentage
245
- })}</b></div>`, t.isChild && (a += `<div>${e.value.translations.percentageToSerie}: <b>${O({
246
+ })}</b></div>`, t.isChild && (a += `<div>${e.value.translations.percentageToSerie}: <b>${I({
246
247
  v: Math.abs(t.value) / Math.abs(t.parentValue) * 100,
247
248
  s: "%",
248
249
  r: e.value.style.chart.tooltip.roundingPercentage
@@ -251,20 +252,20 @@ const Tt = ["id"], Lt = ["onClick"], Pt = ["xmlns", "viewBox"], Nt = ["id"], St
251
252
  function Pe(t, l, a, o) {
252
253
  if (!e.value.style.chart.layout.bars.dataLabels.value.show)
253
254
  return "";
254
- const b = ee(
255
+ const m = ee(
255
256
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
256
257
  S(o === -1 && t >= 0 ? -t : t),
257
- O({
258
+ I({
258
259
  p: e.value.style.chart.layout.bars.dataLabels.value.prefix,
259
260
  v: S(o === -1 && t >= 0 ? -t : t),
260
261
  s: e.value.style.chart.layout.bars.dataLabels.value.suffix,
261
262
  r: e.value.style.chart.layout.bars.dataLabels.value.roundingValue
262
263
  }),
263
264
  { datapoint: l, seriesIndex: a }
264
- ), p = `(${Le(t, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
265
- return `${b}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${p}` : ""}`;
265
+ ), p = `(${Ne(t, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
266
+ return `${m}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${p}` : ""}`;
266
267
  }
267
- const w = m(() => {
268
+ const w = b(() => {
268
269
  const t = [
269
270
  e.value.translations.parentName,
270
271
  e.value.translations.value,
@@ -303,7 +304,7 @@ const Tt = ["id"], Lt = ["onClick"], Pt = ["xmlns", "viewBox"], Nt = ["id"], St
303
304
  });
304
305
  return { head: t, body: l };
305
306
  });
306
- function Ne() {
307
+ function Se() {
307
308
  const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = w.value.head, a = w.value.body.map((p) => [
308
309
  p.parentName,
309
310
  p.parentValue,
@@ -312,59 +313,66 @@ const Tt = ["id"], Lt = ["onClick"], Pt = ["xmlns", "viewBox"], Nt = ["id"], St
312
313
  p.childValue,
313
314
  p.childPercentageToParent,
314
315
  p.childPercentageToTotal
315
- ]), o = t.concat([l]).concat(a), b = vt(o);
316
- ht({ csvContent: b, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
316
+ ]), o = t.concat([l]).concat(a), m = pt(o);
317
+ gt({ csvContent: m, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
317
318
  }
318
319
  const G = r(!1);
319
- function Ke(t) {
320
+ function Qe(t) {
320
321
  G.value = t, ce.value += 1;
321
322
  }
322
- function Se() {
323
+ function Ve() {
323
324
  $.value.showTable = !$.value.showTable;
324
325
  }
325
- function Ve() {
326
+ function ze() {
326
327
  $.value.sortDesc = !$.value.sortDesc, J();
327
328
  }
328
- function ze() {
329
+ function Fe() {
329
330
  $.value.showTooltip = !$.value.showTooltip;
330
331
  }
331
332
  const Q = r(!1);
332
333
  function se() {
333
334
  Q.value = !Q.value;
334
335
  }
335
- return Be({
336
- getData: Ye,
336
+ return De({
337
+ getData: Ke,
337
338
  recalculateHeight: J,
338
- generatePdf: be,
339
- generateCsv: Ne,
340
- generateImage: me,
341
- toggleTable: Se,
342
- toggleSort: Ve,
343
- toggleTooltip: ze,
339
+ generatePdf: me,
340
+ generateCsv: Se,
341
+ generateImage: _e,
342
+ toggleTable: Ve,
343
+ toggleSort: ze,
344
+ toggleTooltip: Fe,
344
345
  toggleAnnotator: se
345
- }), (t, l) => (u(), d("div", {
346
+ }), (t, l) => (u(), i("div", {
346
347
  class: R(`vue-ui-vertical-bar ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
347
348
  ref_key: "verticalBarChart",
348
349
  ref: A,
349
350
  id: `vue-ui-vertical-bar_${V.value}`,
350
- style: c(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`)
351
+ style: c(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`)
351
352
  }, [
352
- e.value.userOptions.buttons.annotator ? (u(), M(Ct, {
353
+ e.value.userOptions.buttons.annotator ? (u(), M(Tt, {
353
354
  key: 0,
354
355
  parent: A.value,
355
356
  backgroundColor: e.value.style.chart.backgroundColor,
356
357
  color: e.value.style.chart.color,
357
358
  active: Q.value,
358
359
  onClose: se
359
- }, null, 8, ["parent", "backgroundColor", "color", "active"])) : f("", !0),
360
- e.value.style.chart.title.text ? (u(), d("div", {
360
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : g("", !0),
361
+ Ue.value ? (u(), i("div", {
361
362
  key: 1,
363
+ ref_key: "noTitle",
364
+ ref: pe,
365
+ class: "vue-data-ui-no-title-space",
366
+ style: "height:36px; width: 100%;background:transparent"
367
+ }, null, 512)) : g("", !0),
368
+ e.value.style.chart.title.text ? (u(), i("div", {
369
+ key: 2,
362
370
  ref_key: "chartTitle",
363
371
  ref: ve,
364
372
  style: "width:100%;background:transparent;padding-bottom:12px"
365
373
  }, [
366
- (u(), M(yt, {
367
- key: `title_${pe.value}`,
374
+ (u(), M(bt, {
375
+ key: `title_${ge.value}`,
368
376
  config: {
369
377
  title: {
370
378
  cy: "vertical-bar-div-title",
@@ -376,15 +384,15 @@ const Tt = ["id"], Lt = ["onClick"], Pt = ["xmlns", "viewBox"], Nt = ["id"], St
376
384
  }
377
385
  }
378
386
  }, null, 8, ["config"]))
379
- ], 512)) : f("", !0),
380
- e.value.userOptions.show && Y.value ? (u(), M(bt, {
387
+ ], 512)) : g("", !0),
388
+ e.value.userOptions.show && Y.value ? (u(), M(_t, {
381
389
  ref_key: "details",
382
- ref: Xe,
390
+ ref: Ee,
383
391
  key: `user_options_${ce.value}`,
384
392
  backgroundColor: e.value.style.chart.backgroundColor,
385
393
  color: e.value.style.chart.color,
386
- isImaging: h(fe),
387
- isPrinting: h(ye),
394
+ isImaging: h(be),
395
+ isPrinting: h(fe),
388
396
  uid: V.value,
389
397
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
390
398
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -400,15 +408,15 @@ const Tt = ["id"], Lt = ["onClick"], Pt = ["xmlns", "viewBox"], Nt = ["id"], St
400
408
  position: e.value.userOptions.position,
401
409
  hasAnnotator: e.value.userOptions.buttons.annotator,
402
410
  isAnnotation: Q.value,
403
- onToggleFullscreen: Ke,
404
- onGeneratePdf: h(be),
405
- onGenerateCsv: Ne,
406
- onGenerateImage: h(me),
407
- onToggleTable: Se,
408
- onToggleSort: Ve,
409
- onToggleTooltip: ze,
411
+ onToggleFullscreen: Qe,
412
+ onGeneratePdf: h(me),
413
+ onGenerateCsv: Se,
414
+ onGenerateImage: h(_e),
415
+ onToggleTable: Ve,
416
+ onToggleSort: ze,
417
+ onToggleTooltip: Fe,
410
418
  onToggleAnnotator: se
411
- }, et({ _: 2 }, [
419
+ }, at({ _: 2 }, [
412
420
  t.$slots.optionTooltip ? {
413
421
  name: "optionTooltip",
414
422
  fn: k(() => [
@@ -472,47 +480,47 @@ const Tt = ["id"], Lt = ["onClick"], Pt = ["xmlns", "viewBox"], Nt = ["id"], St
472
480
  ]),
473
481
  key: "8"
474
482
  } : void 0
475
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : f("", !0),
476
- e.value.style.chart.legend.show && e.value.style.chart.legend.position === "top" ? (u(), d("div", {
477
- key: 3,
483
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : g("", !0),
484
+ e.value.style.chart.legend.show && e.value.style.chart.legend.position === "top" ? (u(), i("div", {
485
+ key: 4,
478
486
  ref_key: "chartLegend",
479
487
  ref: le
480
488
  }, [
481
489
  (u(), M(Ie, {
482
490
  key: `legend_top_${oe.value}`,
483
491
  legendSet: z.value,
484
- config: we.value,
492
+ config: Te.value,
485
493
  onClickMarker: l[0] || (l[0] = ({ legend: a }) => X(a.id))
486
494
  }, {
487
495
  item: k(({ legend: a, index: o }) => [
488
496
  n("div", {
489
497
  "data-cy-legend-item": "",
490
- onClick: (b) => X(a.id),
498
+ onClick: (m) => X(a.id),
491
499
  style: c(`opacity:${T.value.includes(a.id) ? 0.5 : 1}`)
492
- }, i(a.name) + ": " + i(h(ee)(
500
+ }, d(a.name) + ": " + d(h(ee)(
493
501
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
494
502
  a.value,
495
- h(O)({
503
+ h(I)({
496
504
  p: e.value.style.chart.legend.prefix,
497
505
  v: a.value,
498
506
  s: e.value.style.chart.legend.suffix,
499
507
  r: e.value.style.chart.legend.roundingValue
500
508
  }),
501
509
  { datapoint: a, seriesIndex: o }
502
- )), 13, Lt)
510
+ )), 13, Pt)
503
511
  ]),
504
512
  _: 1
505
513
  }, 8, ["legendSet", "config"]))
506
- ], 512)) : f("", !0),
507
- Y.value ? (u(), d("svg", {
508
- key: 4,
509
- xmlns: h(rt),
514
+ ], 512)) : g("", !0),
515
+ Y.value ? (u(), i("svg", {
516
+ key: 5,
517
+ xmlns: h(dt),
510
518
  class: R({ "vue-data-ui-fullscreen--on": G.value, "vue-data-ui-fulscreen--off": !G.value }),
511
- viewBox: `0 0 ${y.value.width <= 0 ? 10 : y.value.width} ${s.value.fullHeight <= 0 ? 10 : s.value.fullHeight}`,
519
+ viewBox: `0 0 ${f.value.width <= 0 ? 10 : f.value.width} ${s.value.fullHeight <= 0 ? 10 : s.value.fullHeight}`,
512
520
  style: c(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
513
521
  }, [
514
- re($t),
515
- (u(!0), d(W, null, j(B.value, (a, o) => (u(), d("linearGradient", {
522
+ re(wt),
523
+ (u(!0), i(W, null, j(B.value, (a, o) => (u(), i("linearGradient", {
516
524
  x1: "0%",
517
525
  y1: "0%",
518
526
  x2: "100%",
@@ -522,46 +530,46 @@ const Tt = ["id"], Lt = ["onClick"], Pt = ["xmlns", "viewBox"], Nt = ["id"], St
522
530
  n("stop", {
523
531
  offset: "0%",
524
532
  "stop-color": a.color
525
- }, null, 8, St),
533
+ }, null, 8, zt),
526
534
  n("stop", {
527
535
  offset: "100%",
528
- "stop-color": h(de)(h(it)(a.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
529
- }, null, 8, Vt)
530
- ], 8, Nt))), 256)),
531
- (u(!0), d(W, null, j(B.value, (a, o) => (u(), d("g", null, [
536
+ "stop-color": h(de)(h(ct)(a.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
537
+ }, null, 8, Ft)
538
+ ], 8, Vt))), 256)),
539
+ (u(!0), i(W, null, j(B.value, (a, o) => (u(), i("g", null, [
532
540
  n("rect", {
533
- x: h(S)(D.value ? s.value.left + s.value.width / 2 - (a.sign === 1 ? 0 : N(a.value) <= 0 ? 1e-4 : N(a.value)) : s.value.left),
534
- y: s.value.top + (g.value + v.value) * o,
535
- width: h(S)(N(a.value) <= 0 ? 1e-4 : N(a.value)),
541
+ x: h(S)(D.value ? s.value.left + s.value.width / 2 - (a.sign === 1 ? 0 : P(a.value) <= 0 ? 1e-4 : P(a.value)) : s.value.left),
542
+ y: s.value.top + (y.value + v.value) * o,
543
+ width: h(S)(P(a.value) <= 0 ? 1e-4 : P(a.value)),
536
544
  height: v.value <= 0 ? 1e-4 : v.value,
537
545
  fill: e.value.style.chart.layout.bars.underlayerColor,
538
546
  rx: e.value.style.chart.layout.bars.borderRadius,
539
547
  class: R({ animated: e.value.useCssAnimation })
540
- }, null, 10, zt)
548
+ }, null, 10, Mt)
541
549
  ]))), 256)),
542
- (u(!0), d(W, null, j(B.value, (a, o) => (u(), d("g", null, [
550
+ (u(!0), i(W, null, j(B.value, (a, o) => (u(), i("g", null, [
543
551
  n("rect", {
544
- x: h(S)(D.value ? s.value.left + s.value.width / 2 - (a.sign === 1 ? 0 : N(a.value) <= 0 ? 1e-4 : N(a.value)) : s.value.left),
545
- y: s.value.top + (g.value + v.value) * o,
546
- width: h(S)(N(a.value) <= 0 ? 1e-4 : N(a.value)),
552
+ x: h(S)(D.value ? s.value.left + s.value.width / 2 - (a.sign === 1 ? 0 : P(a.value) <= 0 ? 1e-4 : P(a.value)) : s.value.left),
553
+ y: s.value.top + (y.value + v.value) * o,
554
+ width: h(S)(P(a.value) <= 0 ? 1e-4 : P(a.value)),
547
555
  height: v.value <= 0 ? 1e-4 : v.value,
548
556
  fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${V.value}_${o})` : h(de)(a.color, e.value.style.chart.layout.bars.fillOpacity),
549
557
  rx: e.value.style.chart.layout.bars.borderRadius,
550
558
  stroke: e.value.style.chart.layout.bars.useStroke ? a.color : "none",
551
559
  "stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
552
560
  class: R({ animated: e.value.useCssAnimation })
553
- }, null, 10, Ft),
554
- (!a.isChild || a.isLastChild) && e.value.style.chart.layout.separators.show && o !== B.value.length - 1 ? (u(), d("line", {
561
+ }, null, 10, Ot),
562
+ (!a.isChild || a.isLastChild) && e.value.style.chart.layout.separators.show && o !== B.value.length - 1 ? (u(), i("line", {
555
563
  key: 0,
556
564
  x1: 0,
557
565
  x2: s.value.left,
558
- y1: v.value + g.value / 2 + s.value.top + (g.value + v.value) * o,
559
- y2: v.value + g.value / 2 + s.value.top + (g.value + v.value) * o,
566
+ y1: v.value + y.value / 2 + s.value.top + (y.value + v.value) * o,
567
+ y2: v.value + y.value / 2 + s.value.top + (y.value + v.value) * o,
560
568
  stroke: e.value.style.chart.layout.separators.color,
561
569
  "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
562
570
  "stroke-linecap": "round"
563
- }, null, 8, Mt)) : f("", !0),
564
- D.value && e.value.style.chart.layout.separators.show ? (u(), d("line", {
571
+ }, null, 8, It)) : g("", !0),
572
+ D.value && e.value.style.chart.layout.separators.show ? (u(), i("line", {
565
573
  key: 1,
566
574
  x1: s.value.left + s.value.width / 2,
567
575
  x2: s.value.left + s.value.width / 2,
@@ -570,25 +578,25 @@ const Tt = ["id"], Lt = ["onClick"], Pt = ["xmlns", "viewBox"], Nt = ["id"], St
570
578
  stroke: e.value.style.chart.layout.separators.color,
571
579
  "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
572
580
  "stroke-linecap": "round"
573
- }, null, 8, It)) : f("", !0),
581
+ }, null, 8, At)) : g("", !0),
574
582
  n("text", {
575
- x: D.value ? s.value.left + s.value.width / 2 + (a.sign === 1 ? -12 : 12) + (a.sign === 1 ? -e.value.style.chart.layout.bars.dataLabels.offsetX : e.value.style.chart.layout.bars.dataLabels.offsetX) : je(a.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
576
- y: s.value.top + (g.value + v.value) * o + v.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
583
+ x: D.value ? s.value.left + s.value.width / 2 + (a.sign === 1 ? -12 : 12) + (a.sign === 1 ? -e.value.style.chart.layout.bars.dataLabels.offsetX : e.value.style.chart.layout.bars.dataLabels.offsetX) : qe(a.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
584
+ y: s.value.top + (y.value + v.value) * o + v.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
577
585
  "text-anchor": !D.value || a.sign === -1 ? "start" : "end",
578
586
  "font-size": e.value.style.chart.layout.bars.dataLabels.fontSize,
579
587
  fill: e.value.style.chart.layout.bars.dataLabels.color,
580
588
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
581
- }, i(Pe(a.value, a, o, a.sign)), 9, Ot),
582
- (a.isChild || !a.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (u(), d("text", {
589
+ }, d(Pe(a.value, a, o, a.sign)), 9, Bt),
590
+ (a.isChild || !a.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (u(), i("text", {
583
591
  key: 2,
584
592
  "text-anchor": "end",
585
593
  x: s.value.left - 3 + e.value.style.chart.layout.bars.nameLabels.offsetX,
586
- y: s.value.top + (g.value + v.value) * o + v.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2,
594
+ y: s.value.top + (y.value + v.value) * o + v.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2,
587
595
  "font-size": e.value.style.chart.layout.bars.nameLabels.fontSize,
588
596
  fill: e.value.style.chart.layout.bars.nameLabels.color,
589
597
  "font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal"
590
- }, i(a.name), 9, At)) : f("", !0),
591
- a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), d("text", {
598
+ }, d(a.name), 9, Dt)) : g("", !0),
599
+ a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), i("text", {
592
600
  key: 3,
593
601
  x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
594
602
  y: E(a, o).y,
@@ -596,8 +604,8 @@ const Tt = ["id"], Lt = ["onClick"], Pt = ["xmlns", "viewBox"], Nt = ["id"], St
596
604
  fill: e.value.style.chart.layout.bars.parentLabels.color,
597
605
  "font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
598
606
  "text-anchor": "start"
599
- }, i(E(a, o).name), 9, Bt)) : f("", !0),
600
- a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), d("text", {
607
+ }, d(E(a, o).name), 9, Rt)) : g("", !0),
608
+ a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), i("text", {
601
609
  key: 4,
602
610
  x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
603
611
  y: E(a, o).y + e.value.style.chart.layout.bars.parentLabels.fontSize + 6,
@@ -605,27 +613,27 @@ const Tt = ["id"], Lt = ["onClick"], Pt = ["xmlns", "viewBox"], Nt = ["id"], St
605
613
  fill: e.value.style.chart.layout.bars.parentLabels.color,
606
614
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
607
615
  "text-anchor": "start"
608
- }, i(Pe(E(a, o).value), E(a, o), o, a.parentSign || a.sign), 9, Dt)) : f("", !0),
616
+ }, d(Pe(E(a, o).value), E(a, o), o, a.parentSign || a.sign), 9, Xt)) : g("", !0),
609
617
  n("rect", {
610
618
  "data-cy-trap": "",
611
619
  x: 0,
612
- y: s.value.top + (g.value + v.value) * o - g.value / 2,
613
- width: y.value.width <= 0 ? 1e-4 : y.value.width,
614
- height: v.value + g.value <= 0 ? 1e-4 : v.value + g.value,
620
+ y: s.value.top + (y.value + v.value) * o - y.value / 2,
621
+ width: f.value.width <= 0 ? 1e-4 : f.value.width,
622
+ height: v.value + y.value <= 0 ? 1e-4 : v.value + y.value,
615
623
  fill: ne.value === a.id ? h(de)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
616
- onMouseenter: (b) => qe(a, o),
617
- onMouseleave: l[1] || (l[1] = (b) => {
618
- Ee.value = null, te.value = !1, ne.value = null;
624
+ onMouseenter: (m) => Je(a, o),
625
+ onMouseleave: l[1] || (l[1] = (m) => {
626
+ Ge.value = null, te.value = !1, ne.value = null;
619
627
  })
620
- }, null, 40, Rt)
628
+ }, null, 40, Et)
621
629
  ]))), 256)),
622
- _(t.$slots, "svg", { svg: y.value }, void 0, !0)
623
- ], 14, Pt)) : f("", !0),
624
- t.$slots.watermark ? (u(), d("div", Xt, [
625
- _(t.$slots, "watermark", U(H({ isPrinting: h(ye) || h(fe) })), void 0, !0)
626
- ])) : f("", !0),
627
- Y.value ? f("", !0) : (u(), M(_t, {
628
- key: 6,
630
+ _(t.$slots, "svg", { svg: f.value }, void 0, !0)
631
+ ], 14, St)) : g("", !0),
632
+ t.$slots.watermark ? (u(), i("div", Gt, [
633
+ _(t.$slots, "watermark", U(H({ isPrinting: h(fe) || h(be) })), void 0, !0)
634
+ ])) : g("", !0),
635
+ Y.value ? g("", !0) : (u(), M(xt, {
636
+ key: 7,
629
637
  config: {
630
638
  type: "verticalBar",
631
639
  style: {
@@ -639,46 +647,46 @@ const Tt = ["id"], Lt = ["onClick"], Pt = ["xmlns", "viewBox"], Nt = ["id"], St
639
647
  }
640
648
  }
641
649
  }, null, 8, ["config"])),
642
- e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (u(), d("div", {
643
- key: 7,
650
+ e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (u(), i("div", {
651
+ key: 8,
644
652
  ref_key: "chartLegend",
645
653
  ref: le
646
654
  }, [
647
655
  (u(), M(Ie, {
648
656
  key: `legend_bottom_${oe.value}`,
649
657
  legendSet: z.value,
650
- config: we.value,
658
+ config: Te.value,
651
659
  onClickMarker: l[2] || (l[2] = ({ legend: a }) => X(a.id))
652
660
  }, {
653
661
  item: k(({ legend: a, index: o }) => [
654
662
  n("div", {
655
- onClick: (b) => X(a.id),
663
+ onClick: (m) => X(a.id),
656
664
  style: c(`opacity:${T.value.includes(a.id) ? 0.5 : 1}`)
657
- }, i(a.name) + ": " + i(h(ee)(
665
+ }, d(a.name) + ": " + d(h(ee)(
658
666
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
659
667
  a.value,
660
- h(O)({
668
+ h(I)({
661
669
  p: e.value.style.chart.legend.prefix,
662
670
  v: a.value,
663
671
  s: e.value.style.chart.legend.suffix,
664
672
  r: e.value.style.chart.legend.roundingValue
665
673
  }),
666
674
  { datapoint: a, seriesIndex: o }
667
- )), 13, Et)
675
+ )), 13, Ut)
668
676
  ]),
669
677
  _: 1
670
678
  }, 8, ["legendSet", "config"]))
671
- ], 512)) : f("", !0),
679
+ ], 512)) : g("", !0),
672
680
  _(t.$slots, "legend", { legend: z.value }, void 0, !0),
673
- t.$slots.source ? (u(), d("div", {
674
- key: 8,
681
+ t.$slots.source ? (u(), i("div", {
682
+ key: 9,
675
683
  ref_key: "source",
676
684
  ref: he,
677
685
  dir: "auto"
678
686
  }, [
679
687
  _(t.$slots, "source", {}, void 0, !0)
680
- ], 512)) : f("", !0),
681
- re(mt, {
688
+ ], 512)) : g("", !0),
689
+ re(kt, {
682
690
  show: $.value.showTooltip && te.value && T.value.length < C.dataset.length,
683
691
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
684
692
  color: e.value.style.chart.tooltip.color,
@@ -701,8 +709,8 @@ const Tt = ["id"], Lt = ["onClick"], Pt = ["xmlns", "viewBox"], Nt = ["id"], St
701
709
  ]),
702
710
  _: 3
703
711
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
704
- Y.value ? (u(), M(xt, {
705
- key: 9,
712
+ Y.value ? (u(), M(Ct, {
713
+ key: 10,
706
714
  hideDetails: "",
707
715
  config: {
708
716
  open: $.value.showTable,
@@ -720,18 +728,18 @@ const Tt = ["id"], Lt = ["onClick"], Pt = ["xmlns", "viewBox"], Nt = ["id"], St
720
728
  content: k(() => [
721
729
  n("div", {
722
730
  ref_key: "tableContainer",
723
- ref: ke,
731
+ ref: xe,
724
732
  class: "vue-ui-vertical-bar-table"
725
733
  }, [
726
- n("div", Gt, [
734
+ n("div", Ht, [
727
735
  n("div", {
728
736
  role: "button",
729
737
  tabindex: "0",
730
738
  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};`),
731
739
  onClick: l[3] || (l[3] = (a) => $.value.showTable = !1),
732
- onKeypress: l[4] || (l[4] = tt((a) => $.value.showTable = !1, ["enter"]))
740
+ onKeypress: l[4] || (l[4] = lt((a) => $.value.showTable = !1, ["enter"]))
733
741
  }, [
734
- re(kt, {
742
+ re($t, {
735
743
  name: "close",
736
744
  stroke: e.value.table.th.color,
737
745
  "stroke-width": 2
@@ -739,25 +747,25 @@ const Tt = ["id"], Lt = ["onClick"], Pt = ["xmlns", "viewBox"], Nt = ["id"], St
739
747
  ], 36),
740
748
  n("div", {
741
749
  style: { width: "100%", "container-type": "inline-size" },
742
- class: R({ "vue-ui-responsive": xe.value })
750
+ class: R({ "vue-ui-responsive": $e.value })
743
751
  }, [
744
- n("table", Ut, [
752
+ n("table", Wt, [
745
753
  n("caption", {
746
754
  style: c({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
747
755
  class: "vue-ui-data-table__caption"
748
756
  }, [
749
- at(i(e.value.style.chart.title.text) + " ", 1),
750
- e.value.style.chart.title.subtitle.text ? (u(), d("span", Ht, i(e.value.style.chart.title.subtitle.text), 1)) : f("", !0)
757
+ ot(d(e.value.style.chart.title.text) + " ", 1),
758
+ e.value.style.chart.title.subtitle.text ? (u(), i("span", jt, d(e.value.style.chart.title.subtitle.text), 1)) : g("", !0)
751
759
  ], 4),
752
760
  n("thead", null, [
753
761
  n("tr", {
754
762
  role: "row",
755
763
  style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
756
764
  }, [
757
- (u(!0), d(W, null, j(w.value.head, (a) => (u(), d("th", {
765
+ (u(!0), i(W, null, j(w.value.head, (a) => (u(), i("th", {
758
766
  style: c(`outline:${e.value.table.th.outline}`)
759
767
  }, [
760
- n("div", Wt, i(a), 1)
768
+ n("div", Yt, d(a), 1)
761
769
  ], 4))), 256))
762
770
  ], 4),
763
771
  n("tr", null, [
@@ -766,7 +774,7 @@ const Tt = ["id"], Lt = ["onClick"], Pt = ["xmlns", "viewBox"], Nt = ["id"], St
766
774
  }, null, 4),
767
775
  n("th", {
768
776
  style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`)
769
- }, "∑ " + i(e.value.table.td.prefix) + i(isNaN(L.value) ? "" : L.value.toFixed(e.value.table.td.roundingValue)) + i(e.value.table.td.suffix), 5),
777
+ }, "∑ " + d(e.value.table.td.prefix) + d(isNaN(L.value) ? "" : L.value.toFixed(e.value.table.td.roundingValue)) + d(e.value.table.td.suffix), 5),
770
778
  n("th", {
771
779
  style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`)
772
780
  }, "100%", 4),
@@ -785,7 +793,7 @@ const Tt = ["id"], Lt = ["onClick"], Pt = ["xmlns", "viewBox"], Nt = ["id"], St
785
793
  ])
786
794
  ]),
787
795
  n("tbody", null, [
788
- (u(!0), d(W, null, j(w.value.body, (a, o) => (u(), d("tr", {
796
+ (u(!0), i(W, null, j(w.value.body, (a, o) => (u(), i("tr", {
789
797
  class: R({ "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 }),
790
798
  style: c(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
791
799
  }, [
@@ -794,56 +802,56 @@ const Tt = ["id"], Lt = ["onClick"], Pt = ["xmlns", "viewBox"], Nt = ["id"], St
794
802
  style: c(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
795
803
  "data-cell": w.value.head[0] ?? ""
796
804
  }, [
797
- n("div", Yt, [
798
- a.color ? (u(), d("span", {
805
+ n("div", Kt, [
806
+ a.color ? (u(), i("span", {
799
807
  key: 0,
800
808
  style: c(`color:${a.color};margin-right:3px`)
801
- }, "⬤", 4)) : f("", !0),
802
- n("span", null, i(a.parentName), 1)
809
+ }, "⬤", 4)) : g("", !0),
810
+ n("span", null, d(a.parentName), 1)
803
811
  ])
804
- ], 12, jt),
812
+ ], 12, qt),
805
813
  n("td", {
806
814
  class: "vue-ui-data-table__tbody__td",
807
815
  style: c(`outline:${e.value.table.td.outline}`),
808
816
  "data-cell": w.value.head[1] ?? ""
809
817
  }, [
810
- n("div", Kt, i(e.value.table.td.prefix) + i(["", NaN, void 0].includes(a.parentValue) ? "" : a.parentValue.toFixed(e.value.table.td.roundingValue)) + i(e.value.table.td.suffix), 1)
811
- ], 12, qt),
818
+ n("div", Qt, d(e.value.table.td.prefix) + d(["", NaN, void 0].includes(a.parentValue) ? "" : a.parentValue.toFixed(e.value.table.td.roundingValue)) + d(e.value.table.td.suffix), 1)
819
+ ], 12, Jt),
812
820
  n("td", {
813
821
  class: "vue-ui-data-table__tbody__td",
814
822
  style: c(`outline:${e.value.table.td.outline}`),
815
823
  "data-cell": w.value.head[2] ?? ""
816
824
  }, [
817
- n("div", Qt, i(["", NaN, void 0].includes(a.percentageToTotal) ? "" : `${(a.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
818
- ], 12, Jt),
825
+ n("div", ea, d(["", NaN, void 0].includes(a.percentageToTotal) ? "" : `${(a.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
826
+ ], 12, Zt),
819
827
  n("td", {
820
828
  class: "vue-ui-data-table__tbody__td",
821
829
  style: c(`outline:${e.value.table.td.outline}`),
822
830
  "data-cell": w.value.head[3] ?? ""
823
831
  }, [
824
- n("div", ea, i(a.childName), 1)
825
- ], 12, Zt),
832
+ n("div", aa, d(a.childName), 1)
833
+ ], 12, ta),
826
834
  n("td", {
827
835
  class: "vue-ui-data-table__tbody__td",
828
836
  style: c(`outline:${e.value.table.td.outline}`),
829
837
  "data-cell": w.value.head[4] ?? ""
830
838
  }, [
831
- n("div", aa, i(e.value.table.td.prefix) + i(["", NaN, void 0].includes(a.childValue) ? "" : a.childValue.toFixed(e.value.table.td.roundingValue)) + i(e.value.table.td.suffix), 1)
832
- ], 12, ta),
839
+ n("div", oa, d(e.value.table.td.prefix) + d(["", NaN, void 0].includes(a.childValue) ? "" : a.childValue.toFixed(e.value.table.td.roundingValue)) + d(e.value.table.td.suffix), 1)
840
+ ], 12, la),
833
841
  n("td", {
834
842
  class: "vue-ui-data-table__tbody__td",
835
843
  style: c(`outline:${e.value.table.td.outline}`),
836
844
  "data-cell": w.value.head[5] ?? ""
837
845
  }, [
838
- n("div", oa, i(["", NaN, void 0].includes(a.childPercentageToParent) ? "" : `${(a.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
839
- ], 12, la),
846
+ n("div", ua, d(["", NaN, void 0].includes(a.childPercentageToParent) ? "" : `${(a.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
847
+ ], 12, na),
840
848
  n("td", {
841
849
  class: "vue-ui-data-table__tbody__td",
842
850
  style: c(`outline:${e.value.table.td.outline}`),
843
851
  "data-cell": w.value.head[6] ?? ""
844
852
  }, [
845
- n("div", ua, i(["", NaN, void 0].includes(a.childPercentageToTotal) ? "" : `${(a.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
846
- ], 12, na)
853
+ n("div", ra, d(["", NaN, void 0].includes(a.childPercentageToTotal) ? "" : `${(a.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
854
+ ], 12, sa)
847
855
  ], 6))), 256))
848
856
  ])
849
857
  ])
@@ -852,10 +860,10 @@ const Tt = ["id"], Lt = ["onClick"], Pt = ["xmlns", "viewBox"], Nt = ["id"], St
852
860
  ], 512)
853
861
  ]),
854
862
  _: 1
855
- }, 8, ["config"])) : f("", !0)
856
- ], 14, Tt));
863
+ }, 8, ["config"])) : g("", !0)
864
+ ], 14, Nt));
857
865
  }
858
- }, xa = /* @__PURE__ */ wt(sa, [["__scopeId", "data-v-b74689e6"]]);
866
+ }, Ca = /* @__PURE__ */ Lt(ia, [["__scopeId", "data-v-0976c0bc"]]);
859
867
  export {
860
- xa as default
868
+ Ca as default
861
869
  };