vue-data-ui 2.4.1 → 2.4.2

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 (201) hide show
  1. package/README.md +44 -44
  2. package/dist/{Arrow-DpMf3yPs.cjs → Arrow-DLTRnzcG.cjs} +1 -1
  3. package/dist/{Arrow-BIs_9yK8.js → Arrow-JuK2z9IB.js} +1 -1
  4. package/dist/BaseIcon-BGExhz6v.cjs +1 -0
  5. package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-rRli6Sfv.js} +7 -4
  6. package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DJzhv96s.cjs} +1 -1
  7. package/dist/{DataTable-DL2agEJ3.js → DataTable-DTk7C4Pr.js} +2 -2
  8. package/dist/{Legend-DXLiSLHd.js → Legend-CYF2gpXG.js} +1 -1
  9. package/dist/{Legend-Dj9KiaLv.cjs → Legend-YZ7Hz3o1.cjs} +1 -1
  10. package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-CvCRsT5_.js} +1 -1
  11. package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DVZtsuy4.cjs} +1 -1
  12. package/dist/PenAndPaper-CyXm-yVL.cjs +1 -0
  13. package/dist/PenAndPaper-Jb0pLt3G.js +269 -0
  14. package/dist/{Shape-CO_Ak9Zm.js → Shape-BpPn4eWR.js} +1 -1
  15. package/dist/{Shape-7EC2UKDK.cjs → Shape-X2F-QV_B.cjs} +1 -1
  16. package/dist/{Slicer-CLAVjSQP.cjs → Slicer-CL0tP5a5.cjs} +1 -1
  17. package/dist/{Slicer-BZfUZr1J.js → Slicer-CU7dRZR0.js} +2 -2
  18. package/dist/{Title-DYNLqCCT.js → Title-5VmBwT4i.js} +1 -1
  19. package/dist/{Title-C-lm3Mkl.cjs → Title-Co5jI5ed.cjs} +1 -1
  20. package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-Bl6W8Zn7.cjs} +1 -1
  21. package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cj4EF7v1.js} +1 -1
  22. package/dist/{index-DDXisDKy.js → index-DnVHQ2xI.js} +880 -842
  23. package/dist/index-FfZRtJ6A.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +18 -16
  26. package/dist/types/vue-data-ui.d.ts +18 -16
  27. package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-Cox0K0Y5.js} +1 -1
  28. package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-q7byAAIJ.cjs} +1 -1
  29. package/dist/usePrinter-BCAFeO_J.cjs +1 -0
  30. package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-BEeNAqS5.js} +230 -185
  31. package/dist/vue-data-ui-CRLLZpt0.cjs +9 -0
  32. package/dist/vue-data-ui-W7nnqn0v.js +261 -0
  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-DcF1nyGW.js → vue-ui-3d-bar-BwBrUabe.js} +414 -390
  36. package/dist/vue-ui-3d-bar-bD_n6qL_.cjs +19 -0
  37. package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DspS4q3f.js} +3 -3
  38. package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-xXgqfR2l.cjs} +1 -1
  39. package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +1 -0
  40. package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CxBvm3uM.js} +218 -194
  41. package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-BOofWpzv.js} +1 -1
  42. package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-C6T5_7ZV.cjs} +1 -1
  43. package/dist/vue-ui-bullet-ChaEgXvR.cjs +23 -0
  44. package/dist/vue-ui-bullet-DraC-oFu.js +433 -0
  45. package/dist/vue-ui-candlestick--hPCfMFH.cjs +2 -0
  46. package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DQZ5eT1f.js} +267 -243
  47. package/dist/{vue-ui-carousel-table-C0GDDSW9.cjs → vue-ui-carousel-table-DpRQklDZ.cjs} +1 -1
  48. package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-PdLjpH1p.js} +4 -4
  49. package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-ByI_O5hB.js} +293 -269
  50. package/dist/vue-ui-chestnut-ae6x87wl.cjs +6 -0
  51. package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-BM74l93B.js} +2 -2
  52. package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-BvadpA2m.cjs} +1 -1
  53. package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-CoANBhAM.js} +2 -2
  54. package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-OP51Gs8I.cjs} +1 -1
  55. package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-C7jJJg9k.cjs} +1 -1
  56. package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-DioaBnkB.js} +2 -2
  57. package/dist/vue-ui-donut-CplNylps.cjs +1 -0
  58. package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +1 -0
  59. package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-DAb1xzNd.js} +330 -306
  60. package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-ldqSm_JV.js} +345 -321
  61. package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Dg7PkiKJ.js} +265 -241
  62. package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +9 -0
  63. package/dist/vue-ui-flow-BPt35d5K.cjs +1 -0
  64. package/dist/vue-ui-flow-DKT7ZEnr.js +508 -0
  65. package/dist/vue-ui-galaxy-e06PkTmp.cjs +1 -0
  66. package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-qAA9be3S.js} +193 -169
  67. package/dist/vue-ui-gauge-D8yVTIgP.js +518 -0
  68. package/dist/vue-ui-gauge-DiZVIU0D.cjs +1 -0
  69. package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DC0uUwI3.js} +3 -3
  70. package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-W6bTkg59.cjs} +1 -1
  71. package/dist/vue-ui-heatmap-CbZcv_2I.cjs +1 -0
  72. package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-u1raIzBQ.js} +252 -228
  73. package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-C-iTxMD2.js} +3 -3
  74. package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-DY_2WF7U.cjs} +1 -1
  75. package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-Bfq2MNWu.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-C7x7S0hi.js} +2 -2
  77. package/dist/vue-ui-molecule-BFnOIxxs.js +798 -0
  78. package/dist/vue-ui-molecule-CbKMLrDT.cjs +1 -0
  79. package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +1 -0
  80. package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-CR1v5v2x.js} +263 -239
  81. package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-DEiloQzq.js} +342 -318
  82. package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +17 -0
  83. package/dist/vue-ui-onion-CLvvu4Ku.cjs +5 -0
  84. package/dist/{vue-ui-onion-D9o6Rcgu.js → vue-ui-onion-LsEhBe4x.js} +226 -202
  85. package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +8 -0
  86. package/dist/{vue-ui-parallel-coordinate-plot-BcYrYXhG.js → vue-ui-parallel-coordinate-plot-CTlIjJqG.js} +243 -219
  87. package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-DKVVFufb.js} +350 -326
  88. package/dist/vue-ui-quadrant-OM5J1mG3.cjs +1 -0
  89. package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-8vJikiGH.js} +505 -481
  90. package/dist/vue-ui-quick-chart-gG5Ar8-i.cjs +15 -0
  91. package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-20QhOUer.js} +255 -231
  92. package/dist/vue-ui-radar-CAaHjDO7.cjs +1 -0
  93. package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-Bbzm5nUK.cjs} +1 -1
  94. package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-DRWJsve1.js} +2 -2
  95. package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +1 -0
  96. package/dist/vue-ui-relation-circle-I45_Sk5l.js +349 -0
  97. package/dist/vue-ui-rings-B9WQ7S5m.cjs +2 -0
  98. package/dist/vue-ui-rings-DG8GCi3y.js +593 -0
  99. package/dist/vue-ui-scatter-BZfg1YIN.cjs +1 -0
  100. package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-Hqu5-F2H.js} +369 -345
  101. package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-D8nxd5RV.cjs} +1 -1
  102. package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-cjiqbtLK.js} +1 -1
  103. package/dist/{vue-ui-skeleton-CGV1dEUD.cjs → vue-ui-skeleton-Djv08J67.cjs} +1 -1
  104. package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-aZmkNzAe.js} +3 -3
  105. package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-B1TA19Hv.cjs} +1 -1
  106. package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-ChNvxygm.js} +2 -2
  107. package/dist/{vue-ui-spark-trend-BfoEoJEy.cjs → vue-ui-spark-trend-BqrPr63O.cjs} +1 -1
  108. package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-CQxELQcf.js} +5 -5
  109. package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-0ixbKZzf.js} +4 -4
  110. package/dist/{vue-ui-sparkbar-DB2DeXti.cjs → vue-ui-sparkbar-CrTEPTU5.cjs} +1 -1
  111. package/dist/{vue-ui-sparkgauge-CJepIY2u.cjs → vue-ui-sparkgauge-BYxpe_WV.cjs} +1 -1
  112. package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-pdYb7OwH.js} +4 -4
  113. package/dist/{vue-ui-sparkhistogram-B7B36LLT.cjs → vue-ui-sparkhistogram-D21XDUH2.cjs} +1 -1
  114. package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-N69h2q0U.js} +5 -5
  115. package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-2BKYZMOb.js} +4 -4
  116. package/dist/{vue-ui-sparkline-BcqmwDAb.cjs → vue-ui-sparkline-Cf4m-Fxo.cjs} +1 -1
  117. package/dist/{vue-ui-sparkstackbar-DT3aKNeV.cjs → vue-ui-sparkstackbar-dAS8XoJs.cjs} +1 -1
  118. package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-sh03cuOU.js} +4 -4
  119. package/dist/vue-ui-stackbar-B1si-1RM.js +938 -0
  120. package/dist/vue-ui-stackbar-Dy_saeSe.cjs +6 -0
  121. package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-BYn-QrTQ.js} +274 -250
  122. package/dist/vue-ui-strip-plot-D53LABpZ.cjs +1 -0
  123. package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-Ce4waJaj.cjs} +1 -1
  124. package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-DQORPCDJ.js} +1 -1
  125. package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-Csp7Tx8N.js} +4 -4
  126. package/dist/{vue-ui-table-heatmap-Chvdf2Gi.cjs → vue-ui-table-heatmap-EqHt-O7Y.cjs} +1 -1
  127. package/dist/{vue-ui-table-sparkline-DUUYQ5dH.cjs → vue-ui-table-sparkline-DONmVOMh.cjs} +1 -1
  128. package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-DdwVrfUj.js} +5 -5
  129. package/dist/vue-ui-thermometer-I6ZnlfAv.js +440 -0
  130. package/dist/vue-ui-thermometer-hQBkMa7u.cjs +1 -0
  131. package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-COOXcn14.cjs} +1 -1
  132. package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-pi1SazTU.js} +5 -5
  133. package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +1 -0
  134. package/dist/vue-ui-tiremarks-vdPQYiDp.js +303 -0
  135. package/dist/vue-ui-treemap-3FNUlKxL.js +816 -0
  136. package/dist/vue-ui-treemap-Cv0TSFQa.cjs +1 -0
  137. package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +4 -0
  138. package/dist/{vue-ui-vertical-bar-CieqHVD5.js → vue-ui-vertical-bar-DwxpB46q.js} +312 -288
  139. package/dist/vue-ui-waffle-CKM0QyJN.cjs +1 -0
  140. package/dist/vue-ui-waffle-XecHJIc-.js +782 -0
  141. package/dist/vue-ui-wheel-Bbih5sSL.js +282 -0
  142. package/dist/vue-ui-wheel-C0dJrzOJ.cjs +1 -0
  143. package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +1 -0
  144. package/dist/vue-ui-word-cloud-DnhXUn5x.js +598 -0
  145. package/dist/vue-ui-xy-BDpqVzAq.cjs +3 -0
  146. package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-CqlRuFMc.js} +775 -751
  147. package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-C8c2X5fk.js} +409 -385
  148. package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +9 -0
  149. package/package.json +1 -1
  150. package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
  151. package/dist/index-C7_6YjWN.cjs +0 -9
  152. package/dist/usePrinter-8EP4iaGm.cjs +0 -1
  153. package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
  154. package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
  155. package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
  156. package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
  157. package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
  158. package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
  159. package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
  160. package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
  161. package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
  162. package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
  163. package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
  164. package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
  165. package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
  166. package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
  167. package/dist/vue-ui-gauge-BXiy515T.js +0 -494
  168. package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
  169. package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
  170. package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
  171. package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
  172. package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
  173. package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
  174. package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
  175. package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
  176. package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
  177. package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
  178. package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
  179. package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
  180. package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
  181. package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
  182. package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
  183. package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
  184. package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
  185. package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
  186. package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
  187. package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
  188. package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
  189. package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
  190. package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
  191. package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
  192. package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
  193. package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
  194. package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
  195. package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
  196. package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
  197. package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
  198. package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
  199. package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
  200. package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
  201. package/dist/vue-ui-xy-canvas-DHs5sb3t.cjs +0 -9
@@ -1,20 +1,21 @@
1
- import { useCssVars as Ye, computed as b, ref as d, watch as Se, onMounted as qe, onBeforeUnmount as Ke, openBlock as u, createElementBlock as c, normalizeClass as D, normalizeStyle as i, createBlock as R, createCommentVNode as m, unref as h, createSlots as Je, withCtx as x, renderSlot as k, normalizeProps as K, guardReactiveProps as J, createElementVNode as n, toDisplayString as r, createVNode as ue, Fragment as U, renderList as H, withKeys as Qe, createTextVNode as Ze } from "vue";
2
- import { u as et, c as tt, t as at, a as lt, p as M, b as ot, o as Ve, e as Q, v as S, d as se, i as Z, f as I, X as nt, s as re, w as ut, x as st, y as rt, q as it, r as dt } from "./index-DDXisDKy.js";
3
- import { t as ct, u as vt } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as ht } from "./Title-DYNLqCCT.js";
5
- import { u as pt, U as gt } from "./usePrinter-8ofTb2MJ.js";
6
- import { _ as yt } from "./Tooltip-CICAYyQj.js";
7
- import { L as ze } from "./Legend-DXLiSLHd.js";
8
- import ft from "./vue-ui-skeleton-B2sRnIXX.js";
9
- import bt from "./BaseIcon-CXDdkPfN.js";
10
- import mt from "./vue-ui-accordion-D_1fE5EF.js";
11
- import { u as Fe } from "./useNestedProp-S1UXxUgm.js";
12
- import { _ as _t } from "./PackageVersion-DtnhR89q.js";
13
- import { _ as xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const kt = ["id"], $t = ["onClick"], wt = ["xmlns", "viewBox"], Ct = ["id"], Tt = ["stop-color"], Lt = ["stop-color"], Nt = ["x", "y", "width", "height", "fill", "rx"], Pt = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], St = ["x2", "y1", "y2", "stroke", "stroke-width"], Vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zt = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Ft = ["x", "y", "font-size", "fill", "font-weight"], Mt = ["x", "y", "font-size", "fill", "font-weight"], It = ["x", "y", "font-size", "fill", "font-weight"], Bt = ["y", "width", "height", "fill", "onMouseenter"], Ot = {
15
- key: 4,
1
+ import { useCssVars as Ke, computed as b, ref as i, watch as ze, onMounted as Je, onBeforeUnmount as Qe, openBlock as u, createElementBlock as c, normalizeClass as R, normalizeStyle as d, createBlock as M, createCommentVNode as m, unref as h, createSlots as Ze, withCtx as _, renderSlot as k, normalizeProps as U, guardReactiveProps as H, createElementVNode as n, toDisplayString as r, createVNode as re, Fragment as W, renderList as j, withKeys as et, createTextVNode as tt } from "vue";
2
+ import { u as at, c as lt, t as ot, a as nt, p as I, b as ut, o as Fe, e as Z, v as S, d as ie, i as ee, f as O, X as st, s as de, w as rt, x as it, y as dt, q as ct, r as vt } from "./index-DnVHQ2xI.js";
3
+ import { t as ht, u as pt } from "./useResponsive-NZB-WLRF.js";
4
+ import { _ as gt } from "./Title-5VmBwT4i.js";
5
+ import { u as yt, U as ft } from "./usePrinter-BEeNAqS5.js";
6
+ import { _ as bt } from "./Tooltip-Cj4EF7v1.js";
7
+ import { L as Me } from "./Legend-CYF2gpXG.js";
8
+ import mt from "./vue-ui-skeleton-aZmkNzAe.js";
9
+ import _t from "./BaseIcon-rRli6Sfv.js";
10
+ import kt from "./vue-ui-accordion-DspS4q3f.js";
11
+ import { u as Ie } from "./useNestedProp-Cox0K0Y5.js";
12
+ import { _ as xt } from "./PackageVersion-CvCRsT5_.js";
13
+ import { P as $t } from "./PenAndPaper-Jb0pLt3G.js";
14
+ import { _ as Ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const wt = ["id"], Tt = ["onClick"], Lt = ["xmlns", "viewBox"], Pt = ["id"], Nt = ["stop-color"], St = ["stop-color"], Vt = ["x", "y", "width", "height", "fill", "rx"], zt = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Ft = ["x2", "y1", "y2", "stroke", "stroke-width"], Mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], It = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Ot = ["x", "y", "font-size", "fill", "font-weight"], At = ["x", "y", "font-size", "fill", "font-weight"], Bt = ["x", "y", "font-size", "fill", "font-weight"], Dt = ["y", "width", "height", "fill", "onMouseenter"], Rt = {
16
+ key: 5,
16
17
  class: "vue-data-ui-watermark"
17
- }, Dt = ["onClick"], Rt = { style: "width:100%;padding-top: 36px;position:relative" }, Xt = { class: "vue-ui-data-table" }, At = { key: 0 }, Et = { style: { width: "100%" } }, Gt = ["data-cell"], Ut = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ht = ["data-cell"], Wt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, 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 = {
18
+ }, Xt = ["onClick"], Et = { style: "width:100%;padding-top: 36px;position:relative" }, Gt = { class: "vue-ui-data-table" }, Ut = { key: 0 }, Ht = { style: { width: "100%" } }, Wt = ["data-cell"], jt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Yt = ["data-cell"], qt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Kt = ["data-cell"], Jt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Qt = ["data-cell"], Zt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ea = ["data-cell"], ta = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, aa = ["data-cell"], la = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, oa = ["data-cell"], na = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ua = {
18
19
  __name: "vue-ui-vertical-bar",
19
20
  props: {
20
21
  config: {
@@ -31,79 +32,79 @@ const kt = ["id"], $t = ["onClick"], wt = ["xmlns", "viewBox"], Ct = ["id"], Tt
31
32
  }
32
33
  },
33
34
  emits: ["selectLegend"],
34
- setup(Me, { expose: Ie, emit: Be }) {
35
- const w = Me;
36
- Ye((a) => ({
37
- "3d035ab4": a.tdo
35
+ setup(Oe, { expose: Ae, emit: Be }) {
36
+ const C = Oe;
37
+ Ke((a) => ({
38
+ "19a6ca00": a.tdo
38
39
  }));
39
- const { vue_ui_vertical_bar: Oe } = et(), W = b(() => !!w.dataset && w.dataset.length), V = d(tt()), De = d(null), ee = d(!1), te = d(""), j = d(0), Re = d(null), ie = d(0), X = d(null), de = d(null), ae = d(null), ce = d(0), le = d(0), e = b({
40
- get: () => ve(),
40
+ const { vue_ui_vertical_bar: De } = at(), Y = b(() => !!C.dataset && C.dataset.length), V = i(lt()), Re = i(null), te = i(!1), ae = i(""), q = i(0), Xe = i(null), ce = i(0), A = i(null), ve = i(null), le = i(null), he = i(0), oe = i(0), e = b({
41
+ get: () => pe(),
41
42
  set: (a) => a
42
43
  });
43
- function ve() {
44
- const a = Fe({
45
- userConfig: w.config,
46
- defaultConfig: Oe
44
+ function pe() {
45
+ const a = Ie({
46
+ userConfig: C.config,
47
+ defaultConfig: De
47
48
  });
48
49
  return a.theme ? {
49
- ...Fe({
50
- userConfig: at.vue_ui_vertical_bar[a.theme] || w.config,
50
+ ...Ie({
51
+ userConfig: ot.vue_ui_vertical_bar[a.theme] || C.config,
51
52
  defaultConfig: a
52
53
  }),
53
- customPalette: lt[a.theme] || M
54
+ customPalette: nt[a.theme] || I
54
55
  } : a;
55
56
  }
56
- Se(() => w.config, (a) => {
57
- e.value = ve(), _e(), ce.value += 1, le.value += 1, v.value = e.value.style.chart.layout.bars.height, g.value = e.value.style.chart.layout.bars.gap;
58
- }, { deep: !0 }), Se(() => w.dataset, q, { deep: !0 });
59
- const { isPrinting: he, isImaging: pe, generatePdf: ge, generateImage: ye } = pt({
57
+ ze(() => C.config, (a) => {
58
+ e.value = pe(), xe(), he.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 }), ze(() => C.dataset, J, { deep: !0 });
60
+ const { isPrinting: ge, isImaging: ye, generatePdf: fe, generateImage: be } = yt({
60
61
  elementId: `vue-ui-vertical-bar_${V.value}`,
61
62
  fileName: e.value.style.chart.title.text || "vue-ui-vertical-bar"
62
- }), fe = b(() => ot(e.value.customPalette)), be = d(null), me = d(!1), Xe = b(() => e.value.table.responsiveBreakpoint), Y = d(null);
63
- qe(() => {
64
- _e();
63
+ }), me = b(() => ut(e.value.customPalette)), _e = i(null), ke = i(!1), Ee = b(() => e.value.table.responsiveBreakpoint), K = i(null);
64
+ Je(() => {
65
+ xe();
65
66
  });
66
- function _e() {
67
- if (Ve(w.dataset) && Q({
67
+ function xe() {
68
+ if (Fe(C.dataset) && Z({
68
69
  componentName: "VueUiVerticalBar",
69
70
  type: "dataset"
70
- }), j.value = w.dataset.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0), Ae(), e.value.responsive) {
71
- const a = ct(() => {
72
- const { width: l, height: t } = vt({
73
- chart: X.value,
74
- title: e.value.style.chart.title.text ? de.value : null,
75
- legend: e.value.style.chart.legend.show ? ae.value : null
71
+ }), q.value = C.dataset.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0), Ge(), e.value.responsive) {
72
+ const a = ht(() => {
73
+ const { width: l, height: t } = pt({
74
+ chart: A.value,
75
+ title: e.value.style.chart.title.text ? ve.value : null,
76
+ legend: e.value.style.chart.legend.show ? le.value : null
76
77
  });
77
- $e.value = l, v.value = t / j.value - g.value * 2;
78
+ we.value = l, v.value = t / q.value - g.value * 2;
78
79
  });
79
- Y.value = new ResizeObserver(a), Y.value.observe(X.value.parentNode);
80
+ K.value = new ResizeObserver(a), K.value.observe(A.value.parentNode);
80
81
  }
81
82
  }
82
- Ke(() => {
83
- Y.value && Y.value.disconnect();
83
+ Qe(() => {
84
+ K.value && K.value.disconnect();
84
85
  });
85
- function Ae() {
86
+ function Ge() {
86
87
  new ResizeObserver((l) => {
87
88
  l.forEach((t) => {
88
- me.value = t.contentRect.width < Xe.value;
89
+ ke.value = t.contentRect.width < Ee.value;
89
90
  });
90
- }).observe(be.value);
91
+ }).observe(_e.value);
91
92
  }
92
- const $ = d({
93
+ const $ = i({
93
94
  showTable: e.value.table.show,
94
95
  sortDesc: e.value.style.chart.layout.bars.sort === "desc",
95
96
  showTooltip: e.value.style.chart.tooltip.show
96
- }), xe = b(() => $.value.sortDesc), z = b(() => (w.dataset.forEach((a, l) => {
97
- !a.value && !a.children && Q({
97
+ }), $e = b(() => $.value.sortDesc), z = b(() => (C.dataset.forEach((a, l) => {
98
+ !a.value && !a.children && Z({
98
99
  componentName: "VueUiVerticalBar",
99
100
  type: "datasetAttributeEmpty",
100
101
  property: `value (index ${l})`
101
- }), a.children && (Ve(a.children) ? Q({
102
+ }), a.children && (Fe(a.children) ? Z({
102
103
  componentName: "VueUiVerticalBar",
103
104
  type: "datasetAttributeEmpty",
104
105
  property: `children (index ${l})`
105
106
  }) : a.children.forEach((t, o) => {
106
- [null, void 0].includes(t.name) && Q({
107
+ [null, void 0].includes(t.name) && Z({
107
108
  componentName: "VueUiVerticalBar",
108
109
  type: "datasetSerieAttribute",
109
110
  property: "name",
@@ -111,8 +112,8 @@ const kt = ["id"], $t = ["onClick"], wt = ["xmlns", "viewBox"], Ct = ["id"], Tt
111
112
  index: o
112
113
  });
113
114
  }));
114
- }), w.dataset.map((a, l) => {
115
- const t = `vertical_parent_${l}_${V.value}`, o = a.children && a.children.length > 0, f = S(a.value ? a.value : o ? a.children.map((_) => _.value || 0).reduce((_, N) => _ + N, 0) : 0), p = f >= 0 ? 1 : -1;
115
+ }), C.dataset.map((a, l) => {
116
+ const t = `vertical_parent_${l}_${V.value}`, o = a.children && a.children.length > 0, f = S(a.value ? a.value : o ? a.children.map((x) => x.value || 0).reduce((x, P) => x + P, 0) : 0), p = f >= 0 ? 1 : -1;
116
117
  return {
117
118
  ...a,
118
119
  id: t,
@@ -122,37 +123,37 @@ const kt = ["id"], $t = ["onClick"], wt = ["xmlns", "viewBox"], Ct = ["id"], Tt
122
123
  sign: p,
123
124
  hasChildren: o,
124
125
  isChild: !1,
125
- segregate: () => A(t),
126
+ segregate: () => X(t),
126
127
  isSegregated: T.value.includes(t),
127
- color: se(a.color) || fe.value[l] || M[l] || M[l % M.length],
128
- children: !a.children || !a.children.length ? [] : a.children.toSorted((_, N) => xe.value ? N.value - _.value : _.value - N.value).map((_, N) => ({
129
- ..._,
130
- value: S(Math.abs(_.value)),
131
- sign: _.value >= 0 ? 1 : -1,
128
+ color: ie(a.color) || me.value[l] || I[l] || I[l % I.length],
129
+ children: !a.children || !a.children.length ? [] : a.children.toSorted((x, P) => $e.value ? P.value - x.value : x.value - P.value).map((x, P) => ({
130
+ ...x,
131
+ value: S(Math.abs(x.value)),
132
+ sign: x.value >= 0 ? 1 : -1,
132
133
  isChild: !0,
133
134
  parentId: t,
134
135
  parentName: a.name,
135
136
  parentValue: f,
136
137
  parentSign: p,
137
- id: `vertical_child_${l}_${N}_${V.value}`,
138
- childIndex: N,
139
- color: se(_.color) || se(a.color) || fe.value[l] || M[l] || M[l % M.length]
140
- })).map((_, N) => ({
141
- ..._,
142
- isFirstChild: N === 0,
143
- isLastChild: N === a.children.length - 1
138
+ id: `vertical_child_${l}_${P}_${V.value}`,
139
+ childIndex: P,
140
+ color: ie(x.color) || ie(a.color) || me.value[l] || I[l] || I[l % I.length]
141
+ })).map((x, P) => ({
142
+ ...x,
143
+ isFirstChild: P === 0,
144
+ isLastChild: P === a.children.length - 1
144
145
  }))
145
146
  };
146
- }).toSorted((a, l) => xe.value ? l.value - a.value : a.value - l.value))), ke = b(() => ({
147
+ }).toSorted((a, l) => $e.value ? l.value - a.value : a.value - l.value))), Ce = b(() => ({
147
148
  cy: "vertical-bar-div-legend",
148
149
  backgroundColor: e.value.style.chart.legend.backgroundColor,
149
150
  color: e.value.style.chart.legend.color,
150
151
  fontSize: e.value.style.chart.legend.fontSize,
151
152
  paddingBottom: 12,
152
153
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
153
- })), v = d(e.value.style.chart.layout.bars.height), g = d(e.value.style.chart.layout.bars.gap), Ee = b(() => (v.value + g.value) * j.value), $e = d(512), y = b(() => ({
154
- width: $e.value,
155
- height: Ee.value,
154
+ })), v = i(e.value.style.chart.layout.bars.height), g = i(e.value.style.chart.layout.bars.gap), Ue = b(() => (v.value + g.value) * q.value), we = i(512), y = b(() => ({
155
+ width: we.value,
156
+ height: Ue.value,
156
157
  padding: {
157
158
  top: 12,
158
159
  left: 128 + e.value.style.chart.layout.bars.offsetX,
@@ -167,28 +168,28 @@ const kt = ["id"], $t = ["onClick"], wt = ["xmlns", "viewBox"], Ct = ["id"], Tt
167
168
  bottom: y.value.padding.top + y.value.height,
168
169
  width: y.value.width - (y.value.padding.left + y.value.padding.right)
169
170
  }));
170
- function q() {
171
- j.value = F.value.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0);
171
+ function J() {
172
+ q.value = F.value.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0);
172
173
  }
173
- const T = d([]);
174
- function A(a) {
175
- T.value.includes(a) ? T.value = T.value.filter((l) => l !== a) : T.value.push(a), q(), Be("selectLegend", F.value);
174
+ const T = i([]);
175
+ function X(a) {
176
+ T.value.includes(a) ? T.value = T.value.filter((l) => l !== a) : T.value.push(a), J(), Be("selectLegend", F.value);
176
177
  }
177
178
  const F = b(() => z.value.filter((a) => !T.value.includes(a.id))), L = b(() => F.value.map((a) => Math.abs(a.value)).reduce((a, l) => a + l, 0));
178
- function we(a, l = !1, t = 0) {
179
- return l ? I({
179
+ function Te(a, l = !1, t = 0) {
180
+ return l ? O({
180
181
  v: S(Math.abs(a) / L.value * 100),
181
182
  s: "%",
182
183
  r: t
183
184
  }) : Math.abs(a) / L.value;
184
185
  }
185
- const B = b(() => F.value.flatMap((a) => a.hasChildren ? a.children : a)), O = b(() => B.value.map((a) => a.sign).includes(-1)), Ge = b(() => Math.max(...F.value.flatMap((a) => a.children && a.children.length ? Math.max(...a.children.map((l) => l.value)) : a.value)));
186
- function P(a) {
187
- const l = a / Ge.value;
188
- return s.value.width / (O.value ? 2 : 1) * l;
186
+ const B = b(() => F.value.flatMap((a) => a.hasChildren ? a.children : a)), D = b(() => B.value.map((a) => a.sign).includes(-1)), He = b(() => Math.max(...F.value.flatMap((a) => a.children && a.children.length ? Math.max(...a.children.map((l) => l.value)) : a.value)));
187
+ function N(a) {
188
+ const l = a / He.value;
189
+ return s.value.width / (D.value ? 2 : 1) * l;
189
190
  }
190
- function Ue(a) {
191
- return P(a) + s.value.left;
191
+ function We(a) {
192
+ return N(a) + s.value.left;
192
193
  }
193
194
  function E(a, l) {
194
195
  const t = F.value.find((p) => p.id === a.parentId), o = s.value.top + (g.value + v.value) * l, f = t.children.length * (g.value + v.value);
@@ -196,29 +197,29 @@ const kt = ["id"], $t = ["onClick"], wt = ["xmlns", "viewBox"], Ct = ["id"], Tt
196
197
  y: o + f / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
197
198
  name: t.name,
198
199
  value: [void 0, NaN, null].includes(t.value) ? "" : t.sign === 1 ? t.value : -t.value,
199
- percentageToTotal: isNaN(t.value / L.value) ? "" : we(t.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
200
+ percentageToTotal: isNaN(t.value / L.value) ? "" : Te(t.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
200
201
  sign: t.sign
201
202
  };
202
203
  }
203
- function He() {
204
+ function je() {
204
205
  return F.value;
205
206
  }
206
- const oe = d(null), ne = d(null);
207
- function We(a, l) {
208
- ne.value = {
207
+ const ne = i(null), ue = i(null);
208
+ function Ye(a, l) {
209
+ ue.value = {
209
210
  datapoint: a,
210
211
  seriesIndex: l,
211
212
  series: z.value,
212
213
  config: e.value
213
- }, ee.value = !0, oe.value = a.id;
214
+ }, te.value = !0, ne.value = a.id;
214
215
  let t = "";
215
216
  const o = a.isChild ? a.parentName : a.name, f = a.isChild ? a.name : "", p = e.value.style.chart.tooltip.customFormat;
216
- st(p) && rt(() => p({
217
+ it(p) && dt(() => p({
217
218
  datapoint: a,
218
219
  series: z.value,
219
220
  config: e.value,
220
221
  seriesIndex: l
221
- })) ? te.value = p({
222
+ })) ? ae.value = p({
222
223
  datapoint: a,
223
224
  series: z.value,
224
225
  config: e.value,
@@ -226,43 +227,43 @@ const kt = ["id"], $t = ["onClick"], wt = ["xmlns", "viewBox"], Ct = ["id"], Tt
226
227
  }) : (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;">
227
228
  <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="${a.color}"/></svg> ${o}</div>
228
229
  ${f ? `<div>${f}</div>` : ""}
229
- </div>`, e.value.style.chart.tooltip.showValue && (t += `<div>${e.value.translations.value}: <b>${Z(
230
+ </div>`, e.value.style.chart.tooltip.showValue && (t += `<div>${e.value.translations.value}: <b>${ee(
230
231
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
231
232
  a.sign === 1 ? a.value : -a.value,
232
- I({
233
+ O({
233
234
  p: e.value.style.chart.tooltip.prefix,
234
235
  v: a.sign === 1 ? a.value : -a.value,
235
236
  s: e.value.style.chart.tooltip.suffix,
236
237
  r: e.value.style.chart.tooltip.roundingValue
237
238
  }),
238
239
  { datapoint: a, seriesIndex: l }
239
- )}</b></div>`), e.value.style.chart.tooltip.showPercentage && (t += `<div>${e.value.translations.percentageToTotal} : <b>${I({
240
+ )}</b></div>`), e.value.style.chart.tooltip.showPercentage && (t += `<div>${e.value.translations.percentageToTotal} : <b>${O({
240
241
  v: Math.abs(a.value) / L.value * 100,
241
242
  s: "%",
242
243
  r: e.value.style.chart.tooltip.roundingPercentage
243
- })}</b></div>`, a.isChild && (t += `<div>${e.value.translations.percentageToSerie}: <b>${I({
244
+ })}</b></div>`, a.isChild && (t += `<div>${e.value.translations.percentageToSerie}: <b>${O({
244
245
  v: Math.abs(a.value) / Math.abs(a.parentValue) * 100,
245
246
  s: "%",
246
247
  r: e.value.style.chart.tooltip.roundingPercentage
247
- })}</b></div>`)), te.value = `<div style="text-align:left">${t}</div>`);
248
+ })}</b></div>`)), ae.value = `<div style="text-align:left">${t}</div>`);
248
249
  }
249
- function Ce(a, l, t, o) {
250
+ function Le(a, l, t, o) {
250
251
  if (!e.value.style.chart.layout.bars.dataLabels.value.show)
251
252
  return "";
252
- const f = Z(
253
+ const f = ee(
253
254
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
254
255
  S(o === -1 && a >= 0 ? -a : a),
255
- I({
256
+ O({
256
257
  p: e.value.style.chart.layout.bars.dataLabels.value.prefix,
257
258
  v: S(o === -1 && a >= 0 ? -a : a),
258
259
  s: e.value.style.chart.layout.bars.dataLabels.value.suffix,
259
260
  r: e.value.style.chart.layout.bars.dataLabels.value.roundingValue
260
261
  }),
261
262
  { datapoint: l, seriesIndex: t }
262
- ), p = `(${we(a, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
263
+ ), p = `(${Te(a, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
263
264
  return `${f}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${p}` : ""}`;
264
265
  }
265
- const C = b(() => {
266
+ const w = b(() => {
266
267
  const a = [
267
268
  e.value.translations.parentName,
268
269
  e.value.translations.value,
@@ -301,8 +302,8 @@ const kt = ["id"], $t = ["onClick"], wt = ["xmlns", "viewBox"], Ct = ["id"], Tt
301
302
  });
302
303
  return { head: a, body: l };
303
304
  });
304
- function Te() {
305
- const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = C.value.head, t = C.value.body.map((p) => [
305
+ function Pe() {
306
+ const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = w.value.head, t = w.value.body.map((p) => [
306
307
  p.parentName,
307
308
  p.parentValue,
308
309
  p.percentageToTotal,
@@ -310,46 +311,59 @@ const kt = ["id"], $t = ["onClick"], wt = ["xmlns", "viewBox"], Ct = ["id"], Tt
310
311
  p.childValue,
311
312
  p.childPercentageToParent,
312
313
  p.childPercentageToTotal
313
- ]), o = a.concat([l]).concat(t), f = it(o);
314
- dt({ csvContent: f, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
314
+ ]), o = a.concat([l]).concat(t), f = ct(o);
315
+ vt({ csvContent: f, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
315
316
  }
316
- const G = d(!1);
317
- function je(a) {
318
- G.value = a, ie.value += 1;
317
+ const G = i(!1);
318
+ function qe(a) {
319
+ G.value = a, ce.value += 1;
319
320
  }
320
- function Le() {
321
+ function Ne() {
321
322
  $.value.showTable = !$.value.showTable;
322
323
  }
323
- function Ne() {
324
- $.value.sortDesc = !$.value.sortDesc, q();
324
+ function Se() {
325
+ $.value.sortDesc = !$.value.sortDesc, J();
325
326
  }
326
- function Pe() {
327
+ function Ve() {
327
328
  $.value.showTooltip = !$.value.showTooltip;
328
329
  }
329
- return Ie({
330
- getData: He,
331
- recalculateHeight: q,
332
- generatePdf: ge,
333
- generateCsv: Te,
334
- generateImage: ye,
335
- toggleTable: Le,
336
- toggleSort: Ne,
337
- toggleTooltip: Pe
330
+ const Q = i(!1);
331
+ function se() {
332
+ Q.value = !Q.value;
333
+ }
334
+ return Ae({
335
+ getData: je,
336
+ recalculateHeight: J,
337
+ generatePdf: fe,
338
+ generateCsv: Pe,
339
+ generateImage: be,
340
+ toggleTable: Ne,
341
+ toggleSort: Se,
342
+ toggleTooltip: Ve,
343
+ toggleAnnotator: se
338
344
  }), (a, l) => (u(), c("div", {
339
- class: D(`vue-ui-vertical-bar ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
345
+ class: R(`vue-ui-vertical-bar ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
340
346
  ref_key: "verticalBarChart",
341
- ref: X,
347
+ ref: A,
342
348
  id: `vue-ui-vertical-bar_${V.value}`,
343
- style: i(`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%" : ""}`)
349
+ style: d(`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%" : ""}`)
344
350
  }, [
345
- e.value.style.chart.title.text ? (u(), c("div", {
351
+ e.value.userOptions.buttons.annotator ? (u(), M($t, {
346
352
  key: 0,
353
+ parent: A.value,
354
+ backgroundColor: e.value.style.chart.backgroundColor,
355
+ color: e.value.style.chart.color,
356
+ active: Q.value,
357
+ onClose: se
358
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : m("", !0),
359
+ e.value.style.chart.title.text ? (u(), c("div", {
360
+ key: 1,
347
361
  ref_key: "chartTitle",
348
- ref: de,
362
+ ref: ve,
349
363
  style: "width:100%;background:transparent;padding-bottom:12px"
350
364
  }, [
351
- (u(), R(ht, {
352
- key: `title_${ce.value}`,
365
+ (u(), M(gt, {
366
+ key: `title_${he.value}`,
353
367
  config: {
354
368
  title: {
355
369
  cy: "vertical-bar-div-title",
@@ -362,14 +376,14 @@ const kt = ["id"], $t = ["onClick"], wt = ["xmlns", "viewBox"], Ct = ["id"], Tt
362
376
  }
363
377
  }, null, 8, ["config"]))
364
378
  ], 512)) : m("", !0),
365
- e.value.userOptions.show && W.value ? (u(), R(gt, {
379
+ e.value.userOptions.show && Y.value ? (u(), M(ft, {
366
380
  ref_key: "details",
367
- ref: De,
368
- key: `user_options_${ie.value}`,
381
+ ref: Re,
382
+ key: `user_options_${ce.value}`,
369
383
  backgroundColor: e.value.style.chart.backgroundColor,
370
384
  color: e.value.style.chart.color,
371
- isImaging: h(pe),
372
- isPrinting: h(he),
385
+ isImaging: h(ye),
386
+ isPrinting: h(ge),
373
387
  uid: V.value,
374
388
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
375
389
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -381,113 +395,123 @@ const kt = ["id"], $t = ["onClick"], wt = ["xmlns", "viewBox"], Ct = ["id"], Tt
381
395
  isFullscreen: G.value,
382
396
  isTooltip: $.value.showTooltip,
383
397
  titles: { ...e.value.userOptions.buttonTitles },
384
- chartElement: X.value,
398
+ chartElement: A.value,
385
399
  position: e.value.userOptions.position,
386
- onToggleFullscreen: je,
387
- onGeneratePdf: h(ge),
388
- onGenerateCsv: Te,
389
- onGenerateImage: h(ye),
390
- onToggleTable: Le,
391
- onToggleSort: Ne,
392
- onToggleTooltip: Pe
393
- }, Je({ _: 2 }, [
400
+ hasAnnotator: e.value.userOptions.buttons.annotator,
401
+ isAnnotation: Q.value,
402
+ onToggleFullscreen: qe,
403
+ onGeneratePdf: h(fe),
404
+ onGenerateCsv: Pe,
405
+ onGenerateImage: h(be),
406
+ onToggleTable: Ne,
407
+ onToggleSort: Se,
408
+ onToggleTooltip: Ve,
409
+ onToggleAnnotator: se
410
+ }, Ze({ _: 2 }, [
394
411
  a.$slots.optionTooltip ? {
395
412
  name: "optionTooltip",
396
- fn: x(() => [
413
+ fn: _(() => [
397
414
  k(a.$slots, "optionTooltip", {}, void 0, !0)
398
415
  ]),
399
416
  key: "0"
400
417
  } : void 0,
401
418
  a.$slots.optionPdf ? {
402
419
  name: "optionPdf",
403
- fn: x(() => [
420
+ fn: _(() => [
404
421
  k(a.$slots, "optionPdf", {}, void 0, !0)
405
422
  ]),
406
423
  key: "1"
407
424
  } : void 0,
408
425
  a.$slots.optionCsv ? {
409
426
  name: "optionCsv",
410
- fn: x(() => [
427
+ fn: _(() => [
411
428
  k(a.$slots, "optionCsv", {}, void 0, !0)
412
429
  ]),
413
430
  key: "2"
414
431
  } : void 0,
415
432
  a.$slots.optionImg ? {
416
433
  name: "optionImg",
417
- fn: x(() => [
434
+ fn: _(() => [
418
435
  k(a.$slots, "optionImg", {}, void 0, !0)
419
436
  ]),
420
437
  key: "3"
421
438
  } : void 0,
422
439
  a.$slots.optionTable ? {
423
440
  name: "optionTable",
424
- fn: x(() => [
441
+ fn: _(() => [
425
442
  k(a.$slots, "optionTable", {}, void 0, !0)
426
443
  ]),
427
444
  key: "4"
428
445
  } : void 0,
429
446
  a.$slots.optionLabels ? {
430
447
  name: "optionLabels",
431
- fn: x(() => [
448
+ fn: _(() => [
432
449
  k(a.$slots, "optionLabels", {}, void 0, !0)
433
450
  ]),
434
451
  key: "5"
435
452
  } : void 0,
436
453
  a.$slots.optionSort ? {
437
454
  name: "optionSort",
438
- fn: x(() => [
455
+ fn: _(() => [
439
456
  k(a.$slots, "optionSort", {}, void 0, !0)
440
457
  ]),
441
458
  key: "6"
442
459
  } : void 0,
443
460
  a.$slots.optionFullscreen ? {
444
461
  name: "optionFullscreen",
445
- fn: x(({ toggleFullscreen: t, isFullscreen: o }) => [
446
- k(a.$slots, "optionFullscreen", K(J({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
462
+ fn: _(({ toggleFullscreen: t, isFullscreen: o }) => [
463
+ k(a.$slots, "optionFullscreen", U(H({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
447
464
  ]),
448
465
  key: "7"
466
+ } : void 0,
467
+ a.$slots.optionAnnotator ? {
468
+ name: "optionAnnotator",
469
+ fn: _(({ toggleAnnotator: t, isAnnotator: o }) => [
470
+ k(a.$slots, "optionAnnotator", U(H({ toggleAnnotator: t, isAnnotator: o })), void 0, !0)
471
+ ]),
472
+ key: "8"
449
473
  } : void 0
450
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : m("", !0),
474
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : m("", !0),
451
475
  e.value.style.chart.legend.show && e.value.style.chart.legend.position === "top" ? (u(), c("div", {
452
- key: 2,
476
+ key: 3,
453
477
  ref_key: "chartLegend",
454
- ref: ae
478
+ ref: le
455
479
  }, [
456
- (u(), R(ze, {
457
- key: `legend_top_${le.value}`,
480
+ (u(), M(Me, {
481
+ key: `legend_top_${oe.value}`,
458
482
  legendSet: z.value,
459
- config: ke.value,
460
- onClickMarker: l[0] || (l[0] = ({ legend: t }) => A(t.id))
483
+ config: Ce.value,
484
+ onClickMarker: l[0] || (l[0] = ({ legend: t }) => X(t.id))
461
485
  }, {
462
- item: x(({ legend: t, index: o }) => [
486
+ item: _(({ legend: t, index: o }) => [
463
487
  n("div", {
464
488
  "data-cy-legend-item": "",
465
- onClick: (f) => A(t.id),
466
- style: i(`opacity:${T.value.includes(t.id) ? 0.5 : 1}`)
467
- }, r(t.name) + ": " + r(h(Z)(
489
+ onClick: (f) => X(t.id),
490
+ style: d(`opacity:${T.value.includes(t.id) ? 0.5 : 1}`)
491
+ }, r(t.name) + ": " + r(h(ee)(
468
492
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
469
493
  t.value,
470
- h(I)({
494
+ h(O)({
471
495
  p: e.value.style.chart.legend.prefix,
472
496
  v: t.value,
473
497
  s: e.value.style.chart.legend.suffix,
474
498
  r: e.value.style.chart.legend.roundingValue
475
499
  }),
476
500
  { datapoint: t, seriesIndex: o }
477
- )), 13, $t)
501
+ )), 13, Tt)
478
502
  ]),
479
503
  _: 1
480
504
  }, 8, ["legendSet", "config"]))
481
505
  ], 512)) : m("", !0),
482
- W.value ? (u(), c("svg", {
483
- key: 3,
484
- xmlns: h(nt),
485
- class: D({ "vue-data-ui-fullscreen--on": G.value, "vue-data-ui-fulscreen--off": !G.value }),
506
+ Y.value ? (u(), c("svg", {
507
+ key: 4,
508
+ xmlns: h(st),
509
+ class: R({ "vue-data-ui-fullscreen--on": G.value, "vue-data-ui-fulscreen--off": !G.value }),
486
510
  viewBox: `0 0 ${y.value.width <= 0 ? 10 : y.value.width} ${s.value.fullHeight <= 0 ? 10 : s.value.fullHeight}`,
487
- style: i(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
511
+ style: d(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
488
512
  }, [
489
- ue(_t),
490
- (u(!0), c(U, null, H(B.value, (t, o) => (u(), c("linearGradient", {
513
+ re(xt),
514
+ (u(!0), c(W, null, j(B.value, (t, o) => (u(), c("linearGradient", {
491
515
  x1: "0%",
492
516
  y1: "0%",
493
517
  x2: "100%",
@@ -497,35 +521,35 @@ const kt = ["id"], $t = ["onClick"], wt = ["xmlns", "viewBox"], Ct = ["id"], Tt
497
521
  n("stop", {
498
522
  offset: "0%",
499
523
  "stop-color": t.color
500
- }, null, 8, Tt),
524
+ }, null, 8, Nt),
501
525
  n("stop", {
502
526
  offset: "100%",
503
- "stop-color": h(re)(h(ut)(t.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
504
- }, null, 8, Lt)
505
- ], 8, Ct))), 256)),
506
- (u(!0), c(U, null, H(B.value, (t, o) => (u(), c("g", null, [
527
+ "stop-color": h(de)(h(rt)(t.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
528
+ }, null, 8, St)
529
+ ], 8, Pt))), 256)),
530
+ (u(!0), c(W, null, j(B.value, (t, o) => (u(), c("g", null, [
507
531
  n("rect", {
508
- x: h(S)(O.value ? s.value.left + s.value.width / 2 - (t.sign === 1 ? 0 : P(t.value) <= 0 ? 1e-4 : P(t.value)) : s.value.left),
532
+ x: h(S)(D.value ? s.value.left + s.value.width / 2 - (t.sign === 1 ? 0 : N(t.value) <= 0 ? 1e-4 : N(t.value)) : s.value.left),
509
533
  y: s.value.top + (g.value + v.value) * o,
510
- width: h(S)(P(t.value) <= 0 ? 1e-4 : P(t.value)),
534
+ width: h(S)(N(t.value) <= 0 ? 1e-4 : N(t.value)),
511
535
  height: v.value <= 0 ? 1e-4 : v.value,
512
536
  fill: e.value.style.chart.layout.bars.underlayerColor,
513
537
  rx: e.value.style.chart.layout.bars.borderRadius,
514
- class: D({ animated: e.value.useCssAnimation })
515
- }, null, 10, Nt)
538
+ class: R({ animated: e.value.useCssAnimation })
539
+ }, null, 10, Vt)
516
540
  ]))), 256)),
517
- (u(!0), c(U, null, H(B.value, (t, o) => (u(), c("g", null, [
541
+ (u(!0), c(W, null, j(B.value, (t, o) => (u(), c("g", null, [
518
542
  n("rect", {
519
- x: h(S)(O.value ? s.value.left + s.value.width / 2 - (t.sign === 1 ? 0 : P(t.value) <= 0 ? 1e-4 : P(t.value)) : s.value.left),
543
+ x: h(S)(D.value ? s.value.left + s.value.width / 2 - (t.sign === 1 ? 0 : N(t.value) <= 0 ? 1e-4 : N(t.value)) : s.value.left),
520
544
  y: s.value.top + (g.value + v.value) * o,
521
- width: h(S)(P(t.value) <= 0 ? 1e-4 : P(t.value)),
545
+ width: h(S)(N(t.value) <= 0 ? 1e-4 : N(t.value)),
522
546
  height: v.value <= 0 ? 1e-4 : v.value,
523
- fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${V.value}_${o})` : h(re)(t.color, e.value.style.chart.layout.bars.fillOpacity),
547
+ fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${V.value}_${o})` : h(de)(t.color, e.value.style.chart.layout.bars.fillOpacity),
524
548
  rx: e.value.style.chart.layout.bars.borderRadius,
525
549
  stroke: e.value.style.chart.layout.bars.useStroke ? t.color : "none",
526
550
  "stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
527
- class: D({ animated: e.value.useCssAnimation })
528
- }, null, 10, Pt),
551
+ class: R({ animated: e.value.useCssAnimation })
552
+ }, null, 10, zt),
529
553
  (!t.isChild || t.isLastChild) && e.value.style.chart.layout.separators.show && o !== B.value.length - 1 ? (u(), c("line", {
530
554
  key: 0,
531
555
  x1: 0,
@@ -535,8 +559,8 @@ const kt = ["id"], $t = ["onClick"], wt = ["xmlns", "viewBox"], Ct = ["id"], Tt
535
559
  stroke: e.value.style.chart.layout.separators.color,
536
560
  "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
537
561
  "stroke-linecap": "round"
538
- }, null, 8, St)) : m("", !0),
539
- O.value && e.value.style.chart.layout.separators.show ? (u(), c("line", {
562
+ }, null, 8, Ft)) : m("", !0),
563
+ D.value && e.value.style.chart.layout.separators.show ? (u(), c("line", {
540
564
  key: 1,
541
565
  x1: s.value.left + s.value.width / 2,
542
566
  x2: s.value.left + s.value.width / 2,
@@ -545,15 +569,15 @@ const kt = ["id"], $t = ["onClick"], wt = ["xmlns", "viewBox"], Ct = ["id"], Tt
545
569
  stroke: e.value.style.chart.layout.separators.color,
546
570
  "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
547
571
  "stroke-linecap": "round"
548
- }, null, 8, Vt)) : m("", !0),
572
+ }, null, 8, Mt)) : m("", !0),
549
573
  n("text", {
550
- x: O.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) : Ue(t.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
574
+ x: D.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) : We(t.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
551
575
  y: s.value.top + (g.value + v.value) * o + v.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
552
- "text-anchor": !O.value || t.sign === -1 ? "start" : "end",
576
+ "text-anchor": !D.value || t.sign === -1 ? "start" : "end",
553
577
  "font-size": e.value.style.chart.layout.bars.dataLabels.fontSize,
554
578
  fill: e.value.style.chart.layout.bars.dataLabels.color,
555
579
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
556
- }, r(Ce(t.value, t, o, t.sign)), 9, zt),
580
+ }, r(Le(t.value, t, o, t.sign)), 9, It),
557
581
  (t.isChild || !t.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (u(), c("text", {
558
582
  key: 2,
559
583
  "text-anchor": "end",
@@ -562,7 +586,7 @@ const kt = ["id"], $t = ["onClick"], wt = ["xmlns", "viewBox"], Ct = ["id"], Tt
562
586
  "font-size": e.value.style.chart.layout.bars.nameLabels.fontSize,
563
587
  fill: e.value.style.chart.layout.bars.nameLabels.color,
564
588
  "font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal"
565
- }, r(t.name), 9, Ft)) : m("", !0),
589
+ }, r(t.name), 9, Ot)) : m("", !0),
566
590
  t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), c("text", {
567
591
  key: 3,
568
592
  x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
@@ -571,7 +595,7 @@ const kt = ["id"], $t = ["onClick"], wt = ["xmlns", "viewBox"], Ct = ["id"], Tt
571
595
  fill: e.value.style.chart.layout.bars.parentLabels.color,
572
596
  "font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
573
597
  "text-anchor": "start"
574
- }, r(E(t, o).name), 9, Mt)) : m("", !0),
598
+ }, r(E(t, o).name), 9, At)) : m("", !0),
575
599
  t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), c("text", {
576
600
  key: 4,
577
601
  x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
@@ -580,27 +604,27 @@ const kt = ["id"], $t = ["onClick"], wt = ["xmlns", "viewBox"], Ct = ["id"], Tt
580
604
  fill: e.value.style.chart.layout.bars.parentLabels.color,
581
605
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
582
606
  "text-anchor": "start"
583
- }, r(Ce(E(t, o).value), E(t, o), o, t.parentSign || t.sign), 9, It)) : m("", !0),
607
+ }, r(Le(E(t, o).value), E(t, o), o, t.parentSign || t.sign), 9, Bt)) : m("", !0),
584
608
  n("rect", {
585
609
  "data-cy-trap": "",
586
610
  x: 0,
587
611
  y: s.value.top + (g.value + v.value) * o - g.value / 2,
588
612
  width: y.value.width <= 0 ? 1e-4 : y.value.width,
589
613
  height: v.value + g.value <= 0 ? 1e-4 : v.value + g.value,
590
- fill: oe.value === t.id ? h(re)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
591
- onMouseenter: (f) => We(t, o),
614
+ fill: ne.value === t.id ? h(de)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
615
+ onMouseenter: (f) => Ye(t, o),
592
616
  onMouseleave: l[1] || (l[1] = (f) => {
593
- Re.value = null, ee.value = !1, oe.value = null;
617
+ Xe.value = null, te.value = !1, ne.value = null;
594
618
  })
595
- }, null, 40, Bt)
619
+ }, null, 40, Dt)
596
620
  ]))), 256)),
597
621
  k(a.$slots, "svg", { svg: y.value }, void 0, !0)
598
- ], 14, wt)) : m("", !0),
599
- a.$slots.watermark ? (u(), c("div", Ot, [
600
- k(a.$slots, "watermark", K(J({ isPrinting: h(he) || h(pe) })), void 0, !0)
622
+ ], 14, Lt)) : m("", !0),
623
+ a.$slots.watermark ? (u(), c("div", Rt, [
624
+ k(a.$slots, "watermark", U(H({ isPrinting: h(ge) || h(ye) })), void 0, !0)
601
625
  ])) : m("", !0),
602
- W.value ? m("", !0) : (u(), R(ft, {
603
- key: 5,
626
+ Y.value ? m("", !0) : (u(), M(mt, {
627
+ key: 6,
604
628
  config: {
605
629
  type: "verticalBar",
606
630
  style: {
@@ -615,38 +639,38 @@ const kt = ["id"], $t = ["onClick"], wt = ["xmlns", "viewBox"], Ct = ["id"], Tt
615
639
  }
616
640
  }, null, 8, ["config"])),
617
641
  e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (u(), c("div", {
618
- key: 6,
642
+ key: 7,
619
643
  ref_key: "chartLegend",
620
- ref: ae
644
+ ref: le
621
645
  }, [
622
- (u(), R(ze, {
623
- key: `legend_bottom_${le.value}`,
646
+ (u(), M(Me, {
647
+ key: `legend_bottom_${oe.value}`,
624
648
  legendSet: z.value,
625
- config: ke.value,
626
- onClickMarker: l[2] || (l[2] = ({ legend: t }) => A(t.id))
649
+ config: Ce.value,
650
+ onClickMarker: l[2] || (l[2] = ({ legend: t }) => X(t.id))
627
651
  }, {
628
- item: x(({ legend: t, index: o }) => [
652
+ item: _(({ legend: t, index: o }) => [
629
653
  n("div", {
630
- onClick: (f) => A(t.id),
631
- style: i(`opacity:${T.value.includes(t.id) ? 0.5 : 1}`)
632
- }, r(t.name) + ": " + r(h(Z)(
654
+ onClick: (f) => X(t.id),
655
+ style: d(`opacity:${T.value.includes(t.id) ? 0.5 : 1}`)
656
+ }, r(t.name) + ": " + r(h(ee)(
633
657
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
634
658
  t.value,
635
- h(I)({
659
+ h(O)({
636
660
  p: e.value.style.chart.legend.prefix,
637
661
  v: t.value,
638
662
  s: e.value.style.chart.legend.suffix,
639
663
  r: e.value.style.chart.legend.roundingValue
640
664
  }),
641
665
  { datapoint: t, seriesIndex: o }
642
- )), 13, Dt)
666
+ )), 13, Xt)
643
667
  ]),
644
668
  _: 1
645
669
  }, 8, ["legendSet", "config"]))
646
670
  ], 512)) : m("", !0),
647
671
  k(a.$slots, "legend", { legend: z.value }, void 0, !0),
648
- ue(yt, {
649
- show: $.value.showTooltip && ee.value && T.value.length < w.dataset.length,
672
+ re(bt, {
673
+ show: $.value.showTooltip && te.value && T.value.length < C.dataset.length,
650
674
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
651
675
  color: e.value.style.chart.tooltip.color,
652
676
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -656,20 +680,20 @@ const kt = ["id"], $t = ["onClick"], wt = ["xmlns", "viewBox"], Ct = ["id"], Tt
656
680
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
657
681
  position: e.value.style.chart.tooltip.position,
658
682
  offsetY: e.value.style.chart.tooltip.offsetY,
659
- parent: X.value,
660
- content: te.value,
683
+ parent: A.value,
684
+ content: ae.value,
661
685
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
662
686
  }, {
663
- "tooltip-before": x(() => [
664
- k(a.$slots, "tooltip-before", K(J({ ...ne.value })), void 0, !0)
687
+ "tooltip-before": _(() => [
688
+ k(a.$slots, "tooltip-before", U(H({ ...ue.value })), void 0, !0)
665
689
  ]),
666
- "tooltip-after": x(() => [
667
- k(a.$slots, "tooltip-after", K(J({ ...ne.value })), void 0, !0)
690
+ "tooltip-after": _(() => [
691
+ k(a.$slots, "tooltip-after", U(H({ ...ue.value })), void 0, !0)
668
692
  ]),
669
693
  _: 3
670
694
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
671
- W.value ? (u(), R(mt, {
672
- key: 7,
695
+ Y.value ? (u(), M(kt, {
696
+ key: 8,
673
697
  hideDetails: "",
674
698
  config: {
675
699
  open: $.value.showTable,
@@ -684,21 +708,21 @@ const kt = ["id"], $t = ["onClick"], wt = ["xmlns", "viewBox"], Ct = ["id"], Tt
684
708
  }
685
709
  }
686
710
  }, {
687
- content: x(() => [
711
+ content: _(() => [
688
712
  n("div", {
689
713
  ref_key: "tableContainer",
690
- ref: be,
714
+ ref: _e,
691
715
  class: "vue-ui-vertical-bar-table"
692
716
  }, [
693
- n("div", Rt, [
717
+ n("div", Et, [
694
718
  n("div", {
695
719
  role: "button",
696
720
  tabindex: "0",
697
- style: i(`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};`),
721
+ style: d(`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};`),
698
722
  onClick: l[3] || (l[3] = (t) => $.value.showTable = !1),
699
- onKeypress: l[4] || (l[4] = Qe((t) => $.value.showTable = !1, ["enter"]))
723
+ onKeypress: l[4] || (l[4] = et((t) => $.value.showTable = !1, ["enter"]))
700
724
  }, [
701
- ue(bt, {
725
+ re(_t, {
702
726
  name: "close",
703
727
  stroke: e.value.table.th.color,
704
728
  "stroke-width": 2
@@ -706,111 +730,111 @@ const kt = ["id"], $t = ["onClick"], wt = ["xmlns", "viewBox"], Ct = ["id"], Tt
706
730
  ], 36),
707
731
  n("div", {
708
732
  style: { width: "100%", "container-type": "inline-size" },
709
- class: D({ "vue-ui-responsive": me.value })
733
+ class: R({ "vue-ui-responsive": ke.value })
710
734
  }, [
711
- n("table", Xt, [
735
+ n("table", Gt, [
712
736
  n("caption", {
713
- style: i({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
737
+ style: d({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
714
738
  class: "vue-ui-data-table__caption"
715
739
  }, [
716
- Ze(r(e.value.style.chart.title.text) + " ", 1),
717
- e.value.style.chart.title.subtitle.text ? (u(), c("span", At, r(e.value.style.chart.title.subtitle.text), 1)) : m("", !0)
740
+ tt(r(e.value.style.chart.title.text) + " ", 1),
741
+ e.value.style.chart.title.subtitle.text ? (u(), c("span", Ut, r(e.value.style.chart.title.subtitle.text), 1)) : m("", !0)
718
742
  ], 4),
719
743
  n("thead", null, [
720
744
  n("tr", {
721
745
  role: "row",
722
- style: i(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
746
+ style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
723
747
  }, [
724
- (u(!0), c(U, null, H(C.value.head, (t) => (u(), c("th", {
725
- style: i(`outline:${e.value.table.th.outline}`)
748
+ (u(!0), c(W, null, j(w.value.head, (t) => (u(), c("th", {
749
+ style: d(`outline:${e.value.table.th.outline}`)
726
750
  }, [
727
- n("div", Et, r(t), 1)
751
+ n("div", Ht, r(t), 1)
728
752
  ], 4))), 256))
729
753
  ], 4),
730
754
  n("tr", null, [
731
755
  n("th", {
732
- style: i(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
756
+ style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
733
757
  }, null, 4),
734
758
  n("th", {
735
- style: i(`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`)
759
+ style: d(`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`)
736
760
  }, "∑ " + r(e.value.table.td.prefix) + r(isNaN(L.value) ? "" : L.value.toFixed(e.value.table.td.roundingValue)) + r(e.value.table.td.suffix), 5),
737
761
  n("th", {
738
- style: i(`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`)
762
+ style: d(`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`)
739
763
  }, "100%", 4),
740
764
  n("th", {
741
- style: i(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
765
+ style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
742
766
  }, null, 4),
743
767
  n("th", {
744
- style: i(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
768
+ style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
745
769
  }, null, 4),
746
770
  n("th", {
747
- style: i(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
771
+ style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
748
772
  }, null, 4),
749
773
  n("th", {
750
- style: i(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
774
+ style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
751
775
  }, null, 4)
752
776
  ])
753
777
  ]),
754
778
  n("tbody", null, [
755
- (u(!0), c(U, null, H(C.value.body, (t, o) => (u(), c("tr", {
756
- class: D({ "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 }),
757
- style: i(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
779
+ (u(!0), c(W, null, j(w.value.body, (t, o) => (u(), c("tr", {
780
+ 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 }),
781
+ style: d(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
758
782
  }, [
759
783
  n("td", {
760
784
  class: "vue-ui-data-table__tbody__td",
761
- style: i(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
762
- "data-cell": C.value.head[0] ?? ""
785
+ style: d(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
786
+ "data-cell": w.value.head[0] ?? ""
763
787
  }, [
764
- n("div", Ut, [
788
+ n("div", jt, [
765
789
  t.color ? (u(), c("span", {
766
790
  key: 0,
767
- style: i(`color:${t.color};margin-right:3px`)
791
+ style: d(`color:${t.color};margin-right:3px`)
768
792
  }, "⬤", 4)) : m("", !0),
769
793
  n("span", null, r(t.parentName), 1)
770
794
  ])
771
- ], 12, Gt),
795
+ ], 12, Wt),
772
796
  n("td", {
773
797
  class: "vue-ui-data-table__tbody__td",
774
- style: i(`outline:${e.value.table.td.outline}`),
775
- "data-cell": C.value.head[1] ?? ""
798
+ style: d(`outline:${e.value.table.td.outline}`),
799
+ "data-cell": w.value.head[1] ?? ""
776
800
  }, [
777
- n("div", Wt, r(e.value.table.td.prefix) + r(["", NaN, void 0].includes(t.parentValue) ? "" : t.parentValue.toFixed(e.value.table.td.roundingValue)) + r(e.value.table.td.suffix), 1)
778
- ], 12, Ht),
801
+ n("div", qt, r(e.value.table.td.prefix) + r(["", NaN, void 0].includes(t.parentValue) ? "" : t.parentValue.toFixed(e.value.table.td.roundingValue)) + r(e.value.table.td.suffix), 1)
802
+ ], 12, Yt),
779
803
  n("td", {
780
804
  class: "vue-ui-data-table__tbody__td",
781
- style: i(`outline:${e.value.table.td.outline}`),
782
- "data-cell": C.value.head[2] ?? ""
805
+ style: d(`outline:${e.value.table.td.outline}`),
806
+ "data-cell": w.value.head[2] ?? ""
783
807
  }, [
784
- n("div", Yt, r(["", NaN, void 0].includes(t.percentageToTotal) ? "" : `${(t.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
785
- ], 12, jt),
808
+ n("div", Jt, r(["", NaN, void 0].includes(t.percentageToTotal) ? "" : `${(t.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
809
+ ], 12, Kt),
786
810
  n("td", {
787
811
  class: "vue-ui-data-table__tbody__td",
788
- style: i(`outline:${e.value.table.td.outline}`),
789
- "data-cell": C.value.head[3] ?? ""
812
+ style: d(`outline:${e.value.table.td.outline}`),
813
+ "data-cell": w.value.head[3] ?? ""
790
814
  }, [
791
- n("div", Kt, r(t.childName), 1)
792
- ], 12, qt),
815
+ n("div", Zt, r(t.childName), 1)
816
+ ], 12, Qt),
793
817
  n("td", {
794
818
  class: "vue-ui-data-table__tbody__td",
795
- style: i(`outline:${e.value.table.td.outline}`),
796
- "data-cell": C.value.head[4] ?? ""
819
+ style: d(`outline:${e.value.table.td.outline}`),
820
+ "data-cell": w.value.head[4] ?? ""
797
821
  }, [
798
- n("div", Qt, r(e.value.table.td.prefix) + r(["", NaN, void 0].includes(t.childValue) ? "" : t.childValue.toFixed(e.value.table.td.roundingValue)) + r(e.value.table.td.suffix), 1)
799
- ], 12, Jt),
822
+ n("div", ta, r(e.value.table.td.prefix) + r(["", NaN, void 0].includes(t.childValue) ? "" : t.childValue.toFixed(e.value.table.td.roundingValue)) + r(e.value.table.td.suffix), 1)
823
+ ], 12, ea),
800
824
  n("td", {
801
825
  class: "vue-ui-data-table__tbody__td",
802
- style: i(`outline:${e.value.table.td.outline}`),
803
- "data-cell": C.value.head[5] ?? ""
826
+ style: d(`outline:${e.value.table.td.outline}`),
827
+ "data-cell": w.value.head[5] ?? ""
804
828
  }, [
805
- n("div", ea, r(["", NaN, void 0].includes(t.childPercentageToParent) ? "" : `${(t.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
806
- ], 12, Zt),
829
+ n("div", la, r(["", NaN, void 0].includes(t.childPercentageToParent) ? "" : `${(t.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
830
+ ], 12, aa),
807
831
  n("td", {
808
832
  class: "vue-ui-data-table__tbody__td",
809
- style: i(`outline:${e.value.table.td.outline}`),
810
- "data-cell": C.value.head[6] ?? ""
833
+ style: d(`outline:${e.value.table.td.outline}`),
834
+ "data-cell": w.value.head[6] ?? ""
811
835
  }, [
812
- n("div", aa, r(["", NaN, void 0].includes(t.childPercentageToTotal) ? "" : `${(t.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
813
- ], 12, ta)
836
+ n("div", na, r(["", NaN, void 0].includes(t.childPercentageToTotal) ? "" : `${(t.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
837
+ ], 12, oa)
814
838
  ], 6))), 256))
815
839
  ])
816
840
  ])
@@ -820,9 +844,9 @@ const kt = ["id"], $t = ["onClick"], wt = ["xmlns", "viewBox"], Ct = ["id"], Tt
820
844
  ]),
821
845
  _: 1
822
846
  }, 8, ["config"])) : m("", !0)
823
- ], 14, kt));
847
+ ], 14, wt));
824
848
  }
825
- }, fa = /* @__PURE__ */ xt(la, [["__scopeId", "data-v-008d2191"]]);
849
+ }, ka = /* @__PURE__ */ Ct(ua, [["__scopeId", "data-v-fdf1fdac"]]);
826
850
  export {
827
- fa as default
851
+ ka as default
828
852
  };