vue-data-ui 2.3.74 → 2.3.76

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 (193) hide show
  1. package/dist/{Arrow-DK6F5Fq3.cjs → Arrow-D7M4-bW7.cjs} +1 -1
  2. package/dist/{Arrow-CYCrAySW.js → Arrow-DY9RKUmG.js} +1 -1
  3. package/dist/{BaseIcon-DBHVtm3A.cjs → BaseIcon-DB7Apwv_.cjs} +1 -1
  4. package/dist/{BaseIcon-kBIAYqUO.js → BaseIcon-rwm-10Hu.js} +1 -1
  5. package/dist/{DataTable-BNFSPjhv.cjs → DataTable-CsNozyz7.cjs} +1 -1
  6. package/dist/{DataTable-CKdV-L0e.js → DataTable-e2fnfjXV.js} +2 -2
  7. package/dist/{Legend-Cj7T-DqJ.js → Legend-5cQ0xZjK.js} +1 -1
  8. package/dist/{Legend-Do2kcWFT.cjs → Legend-DgFd-O0m.cjs} +1 -1
  9. package/dist/{Shape-Bo8ZjViG.js → Shape-CiTElr_0.js} +1 -1
  10. package/dist/{Shape-DRDUAe_o.cjs → Shape-yPECDLiP.cjs} +1 -1
  11. package/dist/{Slicer-D8jHSP7U.cjs → Slicer-DaZgCKV7.cjs} +1 -1
  12. package/dist/{Slicer-4nGKvUYF.js → Slicer-DwBBu3kB.js} +2 -2
  13. package/dist/{Title-D5cATWsL.cjs → Title-3EduyW4p.cjs} +1 -1
  14. package/dist/{Title-DZjnxQdN.js → Title-gUz6GDA3.js} +1 -1
  15. package/dist/{Tooltip-B8yLaegk.cjs → Tooltip-DScSrYXJ.cjs} +1 -1
  16. package/dist/{Tooltip--kgFEVZs.js → Tooltip-DfSM1mNP.js} +1 -1
  17. package/dist/{index-D_32ZGWd.cjs → index-BTgtr0F8.cjs} +1 -1
  18. package/dist/{index-C8SH0f2u.js → index-CaV1s-yZ.js} +1 -1
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-BvvH633N.cjs → useNestedProp-CisbRRo_.cjs} +1 -1
  21. package/dist/{useNestedProp-lS_T5lM3.js → useNestedProp-tWCzZrLx.js} +1 -1
  22. package/dist/{usePrinter-BouFNHWR.cjs → usePrinter-DzTaA1eh.cjs} +1 -1
  23. package/dist/{usePrinter-Dj50NAxo.js → usePrinter-rvJyT65A.js} +1 -1
  24. package/dist/{vue-data-ui-v_BbbLtJ.cjs → vue-data-ui-BGkWRPUY.cjs} +1 -1
  25. package/dist/{vue-data-ui-DoXqU7xC.js → vue-data-ui-BO89gTtq.js} +57 -57
  26. package/dist/vue-data-ui.cjs +1 -1
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-CnoPOJHm.js → vue-ui-3d-bar-CcTMIHiB.js} +499 -486
  29. package/dist/vue-ui-3d-bar-DzmcGuqh.cjs +19 -0
  30. package/dist/{vue-ui-accordion-Cka6b_Up.cjs → vue-ui-accordion-7e4Myhcg.cjs} +1 -1
  31. package/dist/{vue-ui-accordion-YHleIgkV.js → vue-ui-accordion-CpzGQ63y.js} +3 -3
  32. package/dist/vue-ui-age-pyramid-C7qr9EwB.cjs +1 -0
  33. package/dist/{vue-ui-age-pyramid-CENg8fDg.js → vue-ui-age-pyramid-D71ZLkVV.js} +182 -169
  34. package/dist/{vue-ui-annotator-VJOLUkqJ.js → vue-ui-annotator-B8Iu6cYt.js} +1 -1
  35. package/dist/{vue-ui-annotator-ByYg6QMs.cjs → vue-ui-annotator-BKQrweqm.cjs} +1 -1
  36. package/dist/{vue-ui-candlestick-CHsGD3bx.js → vue-ui-candlestick-Bx4QVkY0.js} +295 -279
  37. package/dist/vue-ui-candlestick-DAc1FQ-i.cjs +2 -0
  38. package/dist/vue-ui-carousel-table-uFRqkghO.cjs +1 -0
  39. package/dist/{vue-ui-carousel-table-RAtX3VBu.js → vue-ui-carousel-table-xuQG6bcH.js} +146 -129
  40. package/dist/{vue-ui-chestnut-B5GQX0J_.js → vue-ui-chestnut-Bo6rDcU7.js} +215 -204
  41. package/dist/vue-ui-chestnut-DJkm72oD.cjs +6 -0
  42. package/dist/{vue-ui-cursor-DnZqLj21.cjs → vue-ui-cursor-BQbeuW-k.cjs} +1 -1
  43. package/dist/{vue-ui-cursor-CMm7XSSG.js → vue-ui-cursor-C0KOqEOq.js} +2 -2
  44. package/dist/{vue-ui-dashboard-DgEQJnLr.cjs → vue-ui-dashboard-0Hsjx-bO.cjs} +1 -1
  45. package/dist/{vue-ui-dashboard-Ck_5L3eu.js → vue-ui-dashboard-BT71xS7P.js} +2 -2
  46. package/dist/{vue-ui-digits--ULH35um.js → vue-ui-digits-BRqpKYvD.js} +2 -2
  47. package/dist/{vue-ui-digits-UvwUdi6U.cjs → vue-ui-digits-C2ReH6w0.cjs} +1 -1
  48. package/dist/{vue-ui-donut-QQ1fWWvc.js → vue-ui-donut-NQW-3prf.js} +376 -362
  49. package/dist/vue-ui-donut-evolution-DOe-cwLi.cjs +1 -0
  50. package/dist/{vue-ui-donut-evolution-Cx8kBB_7.js → vue-ui-donut-evolution-jbXQQGTc.js} +270 -255
  51. package/dist/vue-ui-donut-v81suIOX.cjs +1 -0
  52. package/dist/vue-ui-dumbbell-DXQSg6wa.cjs +9 -0
  53. package/dist/{vue-ui-dumbbell-BYvwHpU8.js → vue-ui-dumbbell-Dyz8xdtC.js} +232 -213
  54. package/dist/vue-ui-flow-BL3JWW1m.js +481 -0
  55. package/dist/vue-ui-flow-UqSNwH9d.cjs +1 -0
  56. package/dist/vue-ui-galaxy-DTQWGvRH.cjs +1 -0
  57. package/dist/{vue-ui-galaxy-B0L57aec.js → vue-ui-galaxy-Dx9nsOuM.js} +175 -162
  58. package/dist/vue-ui-gauge-BUB7H0qA.cjs +1 -0
  59. package/dist/vue-ui-gauge-CLaKGi0-.js +500 -0
  60. package/dist/vue-ui-gizmo-Kitfqu0J.cjs +1 -0
  61. package/dist/{vue-ui-gizmo-D2RfM55X.js → vue-ui-gizmo-of-4s5HG.js} +66 -53
  62. package/dist/{vue-ui-heatmap-DKM0DH41.js → vue-ui-heatmap-BIzjOMXO.js} +157 -143
  63. package/dist/vue-ui-heatmap-DUw2350O.cjs +1 -0
  64. package/dist/vue-ui-kpi-By3YPwgo.js +98 -0
  65. package/dist/vue-ui-kpi-DyL2Hcz-.cjs +1 -0
  66. package/dist/{vue-ui-mini-loader-CLP19Txv.cjs → vue-ui-mini-loader-C048-8Kd.cjs} +1 -1
  67. package/dist/{vue-ui-mini-loader-MywnWlYI.js → vue-ui-mini-loader-DnK3V2z2.js} +2 -2
  68. package/dist/{vue-ui-molecule-CLI9iTRE.js → vue-ui-molecule-BfhbIqa5.js} +177 -167
  69. package/dist/vue-ui-molecule-D-ahly6R.cjs +1 -0
  70. package/dist/vue-ui-mood-radar-DD8R9BpJ.cjs +1 -0
  71. package/dist/{vue-ui-mood-radar-O30wZo9a.js → vue-ui-mood-radar-DXxEKr3x.js} +172 -161
  72. package/dist/{vue-ui-nested-donuts-D8o4TqTt.js → vue-ui-nested-donuts-BdUdHFd-.js} +377 -364
  73. package/dist/vue-ui-nested-donuts-C7qM_FRw.cjs +17 -0
  74. package/dist/{vue-ui-onion-Hmcke6xB.js → vue-ui-onion-D0vF5jBt.js} +191 -177
  75. package/dist/vue-ui-onion-DX3gofXZ.cjs +5 -0
  76. package/dist/{vue-ui-parallel-coordinate-plot-CyChE3NP.js → vue-ui-parallel-coordinate-plot-CTZY-pY8.js} +298 -284
  77. package/dist/vue-ui-parallel-coordinate-plot-DEx5kFYd.cjs +8 -0
  78. package/dist/{vue-ui-quadrant-DimTQdAj.js → vue-ui-quadrant-ByY8GP3y.js} +347 -334
  79. package/dist/vue-ui-quadrant-CgApzie6.cjs +1 -0
  80. package/dist/{vue-ui-quick-chart-DxJvENid.js → vue-ui-quick-chart-DTxJ__7j.js} +483 -469
  81. package/dist/vue-ui-quick-chart-DWZEgUJF.cjs +15 -0
  82. package/dist/{vue-ui-radar-D_FieunT.js → vue-ui-radar-5UBmAU6W.js} +202 -189
  83. package/dist/vue-ui-radar-DEED0rTz.cjs +1 -0
  84. package/dist/{vue-ui-rating-BHW2Onru.cjs → vue-ui-rating-Ce_Ewqtl.cjs} +1 -1
  85. package/dist/{vue-ui-rating-DF1BpH4E.js → vue-ui-rating-Dr6jquxh.js} +2 -2
  86. package/dist/vue-ui-relation-circle-BU8i2miI.js +322 -0
  87. package/dist/vue-ui-relation-circle-CRcQ6Zcy.cjs +1 -0
  88. package/dist/{vue-ui-rings-BqS-iece.js → vue-ui-rings-Ctl3Jywh.js} +203 -189
  89. package/dist/vue-ui-rings-OQ8a1Ruw.cjs +2 -0
  90. package/dist/vue-ui-scatter-B8StSjt8.cjs +1 -0
  91. package/dist/{vue-ui-scatter-Dns49Nht.js → vue-ui-scatter-BwJ_koWT.js} +284 -270
  92. package/dist/{vue-ui-screenshot-5Gsnd0Wr.js → vue-ui-screenshot-BS3L5vhN.js} +1 -1
  93. package/dist/{vue-ui-screenshot---q062Kd.cjs → vue-ui-screenshot-bAVk3EPl.cjs} +1 -1
  94. package/dist/{vue-ui-skeleton-fVPw-oIR.cjs → vue-ui-skeleton-CMQzFTs9.cjs} +1 -1
  95. package/dist/{vue-ui-skeleton-B4eWLjH3.js → vue-ui-skeleton-CvFX_ExX.js} +2 -2
  96. package/dist/{vue-ui-smiley-B8Tyunn3.js → vue-ui-smiley-CGYZpNt9.js} +2 -2
  97. package/dist/{vue-ui-smiley-YfHmv0rQ.cjs → vue-ui-smiley-sF8QIso1.cjs} +1 -1
  98. package/dist/vue-ui-spark-trend-B4XSSKl9.js +263 -0
  99. package/dist/vue-ui-spark-trend-CdIoxaqb.cjs +1 -0
  100. package/dist/{vue-ui-sparkbar-9DBvdYn7.js → vue-ui-sparkbar-BbsJGDMZ.js} +95 -87
  101. package/dist/vue-ui-sparkbar-C3i1K7hi.cjs +1 -0
  102. package/dist/vue-ui-sparkgauge-BKyQoI7C.cjs +1 -0
  103. package/dist/vue-ui-sparkgauge-D4w_i_QJ.js +178 -0
  104. package/dist/{vue-ui-sparkhistogram-BBUVmco4.js → vue-ui-sparkhistogram-CYybrW-6.js} +79 -68
  105. package/dist/vue-ui-sparkhistogram-CvTYEmbz.cjs +1 -0
  106. package/dist/vue-ui-sparkline-CDowaDRS.cjs +1 -0
  107. package/dist/{vue-ui-sparkline-CeqNV6Re.js → vue-ui-sparkline-DjN1SVdO.js} +142 -123
  108. package/dist/{vue-ui-sparkstackbar-C3GMC1eW.js → vue-ui-sparkstackbar-BLMhJxaN.js} +120 -104
  109. package/dist/vue-ui-sparkstackbar-BZ2bESBi.cjs +1 -0
  110. package/dist/{vue-ui-stackbar-DyGPrFxi.js → vue-ui-stackbar-BTKOHUYc.js} +235 -222
  111. package/dist/vue-ui-stackbar-DRHaJFR8.cjs +6 -0
  112. package/dist/vue-ui-strip-plot-DxQxFbWg.cjs +1 -0
  113. package/dist/{vue-ui-strip-plot-y1AnVJmq.js → vue-ui-strip-plot-o6GTsGAT.js} +246 -232
  114. package/dist/{vue-ui-table-xWvAQS-s.cjs → vue-ui-table-BFIj1Rgh.cjs} +1 -1
  115. package/dist/{vue-ui-table-B4kfykAO.js → vue-ui-table-CnquiTpr.js} +1 -1
  116. package/dist/vue-ui-table-heatmap-CCGK12Fa.cjs +1 -0
  117. package/dist/{vue-ui-table-heatmap-YZRSzwRM.js → vue-ui-table-heatmap-CZRIwv-Q.js} +106 -95
  118. package/dist/{vue-ui-table-sparkline-C0v2r4Kf.js → vue-ui-table-sparkline-B3zEeq6Z.js} +151 -138
  119. package/dist/vue-ui-table-sparkline-DYmgfHz4.cjs +1 -0
  120. package/dist/{vue-ui-thermometer-D5qurIy7.js → vue-ui-thermometer-BopiohUh.js} +116 -104
  121. package/dist/vue-ui-thermometer-CzPRBt6c.cjs +1 -0
  122. package/dist/vue-ui-timer-Bonw69Lt.cjs +64 -0
  123. package/dist/{vue-ui-timer-VWjovnKL.js → vue-ui-timer-C7WkW8hK.js} +191 -176
  124. package/dist/{vue-ui-tiremarks-jH6cdQOJ.js → vue-ui-tiremarks-BurRtFv4.js} +115 -103
  125. package/dist/vue-ui-tiremarks-DkIGfq8t.cjs +1 -0
  126. package/dist/vue-ui-treemap-CalhJmnp.cjs +1 -0
  127. package/dist/{vue-ui-treemap-BCc5sQLB.js → vue-ui-treemap-DWy4voIr.js} +251 -237
  128. package/dist/{vue-ui-vertical-bar-2In_g5iC.js → vue-ui-vertical-bar-CJW1YhtY.js} +314 -299
  129. package/dist/vue-ui-vertical-bar-rwWp-sai.cjs +4 -0
  130. package/dist/{vue-ui-waffle-OzU830VX.js → vue-ui-waffle-DB7X6nTS.js} +285 -265
  131. package/dist/vue-ui-waffle-faQMBYNx.cjs +1 -0
  132. package/dist/vue-ui-wheel-BzjbGP6a.cjs +1 -0
  133. package/dist/vue-ui-wheel-CryKap2E.js +255 -0
  134. package/dist/vue-ui-word-cloud-COqUkvei.js +512 -0
  135. package/dist/vue-ui-word-cloud-DJN9I4q4.cjs +1 -0
  136. package/dist/vue-ui-xy-BmA0tspd.cjs +3 -0
  137. package/dist/{vue-ui-xy-DuJtYXKl.js → vue-ui-xy-b1Z_HPsx.js} +300 -274
  138. package/dist/{vue-ui-xy-canvas-CKibMJHh.js → vue-ui-xy-canvas-BgbLnY5B.js} +345 -327
  139. package/dist/vue-ui-xy-canvas-DOM2Kq_s.cjs +9 -0
  140. package/package.json +1 -1
  141. package/dist/vue-ui-3d-bar-CwCEoPX-.cjs +0 -19
  142. package/dist/vue-ui-age-pyramid-GqCNpd_h.cjs +0 -1
  143. package/dist/vue-ui-candlestick-TdNVq_FX.cjs +0 -2
  144. package/dist/vue-ui-carousel-table-yXUSFk2u.cjs +0 -1
  145. package/dist/vue-ui-chestnut-EJj-dQSY.cjs +0 -6
  146. package/dist/vue-ui-donut-BqUBysA_.cjs +0 -1
  147. package/dist/vue-ui-donut-evolution-BXtEnop4.cjs +0 -1
  148. package/dist/vue-ui-dumbbell-CjIh7KTm.cjs +0 -9
  149. package/dist/vue-ui-flow-hp0Hpuhn.js +0 -469
  150. package/dist/vue-ui-flow-u29zqSQj.cjs +0 -1
  151. package/dist/vue-ui-galaxy-DE1HbBi-.cjs +0 -1
  152. package/dist/vue-ui-gauge-B_IZrsfj.cjs +0 -1
  153. package/dist/vue-ui-gauge-CPyyn7cL.js +0 -488
  154. package/dist/vue-ui-gizmo-DR4gacOL.cjs +0 -1
  155. package/dist/vue-ui-heatmap-DMB_eUpA.cjs +0 -1
  156. package/dist/vue-ui-kpi-BAxAY13T.js +0 -84
  157. package/dist/vue-ui-kpi-BD21xshi.cjs +0 -1
  158. package/dist/vue-ui-molecule-BNsWckH-.cjs +0 -1
  159. package/dist/vue-ui-mood-radar-BsWE1f8R.cjs +0 -1
  160. package/dist/vue-ui-nested-donuts-CYyUtXs2.cjs +0 -17
  161. package/dist/vue-ui-onion-D7TXJu5w.cjs +0 -5
  162. package/dist/vue-ui-parallel-coordinate-plot-BqZB7xKn.cjs +0 -8
  163. package/dist/vue-ui-quadrant-BPDTvxlT.cjs +0 -1
  164. package/dist/vue-ui-quick-chart-C_-ut0if.cjs +0 -15
  165. package/dist/vue-ui-radar-C5Kq19hg.cjs +0 -1
  166. package/dist/vue-ui-relation-circle-4kIYttRI.js +0 -310
  167. package/dist/vue-ui-relation-circle-DHMHHsqY.cjs +0 -1
  168. package/dist/vue-ui-rings-BqPS8NKl.cjs +0 -2
  169. package/dist/vue-ui-scatter-BLVcdf3d.cjs +0 -1
  170. package/dist/vue-ui-spark-trend-Dpv6am0Z.cjs +0 -1
  171. package/dist/vue-ui-spark-trend-Em9OqYyG.js +0 -251
  172. package/dist/vue-ui-sparkbar-BuSuwQYl.cjs +0 -1
  173. package/dist/vue-ui-sparkgauge-BN5feBzp.js +0 -167
  174. package/dist/vue-ui-sparkgauge-DKtUZMv1.cjs +0 -1
  175. package/dist/vue-ui-sparkhistogram-BmuusW02.cjs +0 -1
  176. package/dist/vue-ui-sparkline-Blzv-tIQ.cjs +0 -1
  177. package/dist/vue-ui-sparkstackbar-D__WDEMv.cjs +0 -1
  178. package/dist/vue-ui-stackbar-DFqJ5K_q.cjs +0 -6
  179. package/dist/vue-ui-strip-plot-z9fjJ6Dj.cjs +0 -1
  180. package/dist/vue-ui-table-heatmap-CGKecjtm.cjs +0 -1
  181. package/dist/vue-ui-table-sparkline-CHFZG3Tg.cjs +0 -1
  182. package/dist/vue-ui-thermometer-DoOxxVW1.cjs +0 -1
  183. package/dist/vue-ui-timer-D63zHe-I.cjs +0 -64
  184. package/dist/vue-ui-tiremarks-Cp8YEmXh.cjs +0 -1
  185. package/dist/vue-ui-treemap-DJrdEFW5.cjs +0 -1
  186. package/dist/vue-ui-vertical-bar-BfJJqN_z.cjs +0 -4
  187. package/dist/vue-ui-waffle-A2gmRbq0.cjs +0 -1
  188. package/dist/vue-ui-wheel-C9QXzWu1.js +0 -242
  189. package/dist/vue-ui-wheel-DGSh9VKq.cjs +0 -1
  190. package/dist/vue-ui-word-cloud-C2ZaVlfO.js +0 -498
  191. package/dist/vue-ui-word-cloud-DPFB1MYk.cjs +0 -1
  192. package/dist/vue-ui-xy-C-2-aijE.cjs +0 -3
  193. package/dist/vue-ui-xy-canvas-D7wf3xab.cjs +0 -9
@@ -1,19 +1,19 @@
1
- import { useCssVars as Ge, computed as b, ref as v, onMounted as Ue, onBeforeUnmount as He, openBlock as s, createElementBlock as d, normalizeClass as D, normalizeStyle as r, createVNode as G, createCommentVNode as m, createBlock as ne, unref as h, createSlots as We, withCtx as x, renderSlot as k, normalizeProps as q, guardReactiveProps as K, createElementVNode as n, toDisplayString as i, Fragment as U, renderList as H, withKeys as je, createTextVNode as Ye } from "vue";
2
- import { u as qe, c as Ke, t as Je, a as Qe, p as M, b as Ze, o as Te, e as J, s as S, d as ue, i as Q, f as I, X as et, v as tt, w as se, x as at, y as lt, q as ot, r as nt } from "./index-C8SH0f2u.js";
3
- import { t as ut, u as st } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as rt } from "./Title-DZjnxQdN.js";
5
- import { u as it, U as dt } from "./usePrinter-Dj50NAxo.js";
6
- import { _ as ct } from "./Tooltip--kgFEVZs.js";
7
- import { L as Le } from "./Legend-Cj7T-DqJ.js";
8
- import vt from "./vue-ui-skeleton-B4eWLjH3.js";
9
- import ht from "./BaseIcon-kBIAYqUO.js";
10
- import pt from "./vue-ui-accordion-YHleIgkV.js";
11
- import { u as Ne } from "./useNestedProp-lS_T5lM3.js";
12
- import { _ as yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t = ["stop-color"], xt = ["stop-color"], kt = ["x", "y", "width", "height", "fill", "rx"], $t = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], wt = ["x2", "y1", "y2", "stroke", "stroke-width"], Ct = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Tt = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Lt = ["x", "y", "font-size", "fill", "font-weight"], Nt = ["x", "y", "font-size", "fill", "font-weight"], Pt = ["x", "y", "font-size", "fill", "font-weight"], St = ["y", "width", "height", "fill", "onMouseenter"], Vt = {
1
+ import { useCssVars as Ye, computed as b, ref as d, watch as Pe, onMounted as qe, onBeforeUnmount as Ke, openBlock as n, createElementBlock as c, normalizeClass as D, normalizeStyle as r, createBlock as R, createCommentVNode as m, unref as h, createSlots as Je, withCtx as k, renderSlot as x, normalizeProps as K, guardReactiveProps as J, createElementVNode as u, toDisplayString as i, Fragment as U, renderList as H, createVNode as Se, 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, s as S, d as ne, i as Z, f as I, X as ut, v as nt, w as se, x as st, y as rt, q as it, r as dt } from "./index-CaV1s-yZ.js";
3
+ import { t as ct, u as vt } from "./useResponsive-NZB-WLRF.js";
4
+ import { _ as ht } from "./Title-gUz6GDA3.js";
5
+ import { u as pt, U as gt } from "./usePrinter-rvJyT65A.js";
6
+ import { _ as yt } from "./Tooltip-DfSM1mNP.js";
7
+ import { L as ze } from "./Legend-5cQ0xZjK.js";
8
+ import ft from "./vue-ui-skeleton-CvFX_ExX.js";
9
+ import bt from "./BaseIcon-rwm-10Hu.js";
10
+ import mt from "./vue-ui-accordion-CpzGQ63y.js";
11
+ import { u as Fe } from "./useNestedProp-tWCzZrLx.js";
12
+ import { _ as _t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"], Tt = ["stop-color"], Lt = ["x", "y", "width", "height", "fill", "rx"], Nt = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Pt = ["x2", "y1", "y2", "stroke", "stroke-width"], St = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], zt = ["x", "y", "font-size", "fill", "font-weight"], Ft = ["x", "y", "font-size", "fill", "font-weight"], Mt = ["x", "y", "font-size", "fill", "font-weight"], It = ["y", "width", "height", "fill", "onMouseenter"], Bt = {
14
14
  key: 4,
15
15
  class: "vue-data-ui-watermark"
16
- }, zt = ["onClick"], Ft = { style: "width:100%;padding-top: 36px;position:relative" }, Mt = { class: "vue-ui-data-table" }, It = { key: 0 }, Bt = { style: { width: "100%" } }, Ot = ["data-cell"], Dt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Rt = ["data-cell"], Xt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, At = ["data-cell"], Et = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, 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 = {
16
+ }, Ot = ["onClick"], Dt = { style: "width:100%;padding-top: 36px;position:relative" }, Rt = { class: "vue-ui-data-table" }, Xt = { key: 0 }, At = { style: { width: "100%" } }, Et = ["data-cell"], Gt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ut = ["data-cell"], Ht = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, 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 = {
17
17
  __name: "vue-ui-vertical-bar",
18
18
  props: {
19
19
  config: {
@@ -30,67 +30,79 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
30
30
  }
31
31
  },
32
32
  emits: ["selectLegend"],
33
- setup(Pe, { expose: Se, emit: Ve }) {
34
- const N = Pe;
35
- Ge((a) => ({
36
- ad951260: a.tdo
33
+ setup(Me, { expose: Ie, emit: Be }) {
34
+ const C = Me;
35
+ Ye((a) => ({
36
+ f13b9132: a.tdo
37
37
  }));
38
- const { vue_ui_vertical_bar: ze } = qe(), W = b(() => !!N.dataset && N.dataset.length), V = v(Ke()), Fe = v(null), Z = v(!1), ee = v(""), j = v(0), Me = v(null), re = v(0), R = v(null), ie = v(null), te = v(null), e = b(() => {
39
- const a = Ne({
40
- userConfig: N.config,
41
- defaultConfig: ze
38
+ const { vue_ui_vertical_bar: Oe } = et(), W = b(() => !!C.dataset && C.dataset.length), V = d(tt()), De = d(null), ee = d(!1), te = d(""), j = d(0), Re = d(null), re = d(0), X = d(null), ie = d(null), ae = d(null), de = d(0), le = d(0), e = b({
39
+ get: () => ce(),
40
+ set: (a) => a
41
+ });
42
+ function ce() {
43
+ const a = Fe({
44
+ userConfig: C.config,
45
+ defaultConfig: Oe
42
46
  });
43
47
  return a.theme ? {
44
- ...Ne({
45
- userConfig: Je.vue_ui_vertical_bar[a.theme] || N.config,
48
+ ...Fe({
49
+ userConfig: at.vue_ui_vertical_bar[a.theme] || C.config,
46
50
  defaultConfig: a
47
51
  }),
48
- customPalette: Qe[a.theme] || M
52
+ customPalette: lt[a.theme] || M
49
53
  } : a;
50
- }), { isPrinting: de, isImaging: ce, generatePdf: ve, generateImage: he } = it({
54
+ }
55
+ Pe(() => C.config, (a) => {
56
+ e.value = ce(), me(), de.value += 1, le.value += 1, v.value = e.value.style.chart.layout.bars.height, g.value = e.value.style.chart.layout.bars.gap;
57
+ }, { deep: !0 }), Pe(() => C.dataset, q, { deep: !0 });
58
+ const { isPrinting: ve, isImaging: he, generatePdf: pe, generateImage: ge } = pt({
51
59
  elementId: `vue-ui-vertical-bar_${V.value}`,
52
60
  fileName: e.value.style.chart.title.text || "vue-ui-vertical-bar"
53
- }), pe = b(() => Ze(e.value.customPalette)), ye = v(null), ge = v(!1), Ie = b(() => e.value.table.responsiveBreakpoint), Y = v(null);
54
- Ue(() => {
55
- if (Te(N.dataset) && J({
61
+ }), ye = b(() => ot(e.value.customPalette)), fe = d(null), be = d(!1), Xe = b(() => e.value.table.responsiveBreakpoint), Y = d(null);
62
+ qe(() => {
63
+ me();
64
+ });
65
+ function me() {
66
+ if (Ve(C.dataset) && Q({
56
67
  componentName: "VueUiVerticalBar",
57
68
  type: "dataset"
58
- }), j.value = N.dataset.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0), Be(), e.value.responsive) {
59
- const a = ut(() => {
60
- const { width: l, height: t } = st({
61
- chart: R.value,
69
+ }), j.value = C.dataset.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0), Ae(), e.value.responsive) {
70
+ const a = ct(() => {
71
+ const { width: l, height: t } = vt({
72
+ chart: X.value,
62
73
  title: e.value.style.chart.title.text ? ie.value : null,
63
- legend: e.value.style.chart.legend.show ? te.value : null
74
+ legend: e.value.style.chart.legend.show ? ae.value : null
64
75
  });
65
- me.value = l, c.value = t / j.value - g.value * 2;
76
+ xe.value = l, v.value = t / j.value - g.value * 2;
66
77
  });
67
- Y.value = new ResizeObserver(a), Y.value.observe(R.value.parentNode);
78
+ Y.value = new ResizeObserver(a), Y.value.observe(X.value.parentNode);
68
79
  }
69
- }), He(() => {
80
+ }
81
+ Ke(() => {
70
82
  Y.value && Y.value.disconnect();
71
83
  });
72
- function Be() {
84
+ function Ae() {
73
85
  new ResizeObserver((l) => {
74
86
  l.forEach((t) => {
75
- ge.value = t.contentRect.width < Ie.value;
87
+ be.value = t.contentRect.width < Xe.value;
76
88
  });
77
- }).observe(ye.value);
89
+ }).observe(fe.value);
78
90
  }
79
- const $ = v({
91
+ const $ = d({
80
92
  showTable: e.value.table.show,
81
93
  sortDesc: e.value.style.chart.layout.bars.sort === "desc",
82
94
  showTooltip: e.value.style.chart.tooltip.show
83
- }), fe = b(() => $.value.sortDesc), z = b(() => (N.dataset.forEach((a, l) => {
84
- !a.value && !a.children && J({
95
+ }), _e = b(() => $.value.sortDesc), z = b(() => (C.dataset.forEach((a, l) => {
96
+ !a.value && !a.children && Q({
85
97
  componentName: "VueUiVerticalBar",
86
98
  type: "datasetAttributeEmpty",
87
99
  property: `value (index ${l})`
88
- }), a.children && (Te(a.children) ? J({
100
+ }), a.children && (Ve(a.children) ? Q({
89
101
  componentName: "VueUiVerticalBar",
90
102
  type: "datasetAttributeEmpty",
91
103
  property: `children (index ${l})`
92
104
  }) : a.children.forEach((t, o) => {
93
- [null, void 0].includes(t.name) && J({
105
+ [null, void 0].includes(t.name) && Q({
94
106
  componentName: "VueUiVerticalBar",
95
107
  type: "datasetSerieAttribute",
96
108
  property: "name",
@@ -98,21 +110,21 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
98
110
  index: o
99
111
  });
100
112
  }));
101
- }), N.dataset.map((a, l) => {
102
- 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((_, L) => _ + L, 0) : 0), p = f >= 0 ? 1 : -1;
113
+ }), C.dataset.map((a, l) => {
114
+ 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;
103
115
  return {
104
116
  ...a,
105
117
  id: t,
106
118
  shape: "square",
107
- opacity: C.value.includes(t) ? 0.5 : 1,
119
+ opacity: T.value.includes(t) ? 0.5 : 1,
108
120
  value: Math.abs(f),
109
121
  sign: p,
110
122
  hasChildren: o,
111
123
  isChild: !1,
112
- segregate: () => X(t),
113
- isSegregated: C.value.includes(t),
114
- color: ue(a.color) || pe.value[l] || M[l] || M[l % M.length],
115
- children: !a.children || !a.children.length ? [] : a.children.toSorted((_, L) => fe.value ? L.value - _.value : _.value - L.value).map((_, L) => ({
124
+ segregate: () => A(t),
125
+ isSegregated: T.value.includes(t),
126
+ color: ne(a.color) || ye.value[l] || M[l] || M[l % M.length],
127
+ children: !a.children || !a.children.length ? [] : a.children.toSorted((_, N) => _e.value ? N.value - _.value : _.value - N.value).map((_, N) => ({
116
128
  ..._,
117
129
  value: S(Math.abs(_.value)),
118
130
  sign: _.value >= 0 ? 1 : -1,
@@ -121,32 +133,32 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
121
133
  parentName: a.name,
122
134
  parentValue: f,
123
135
  parentSign: p,
124
- id: `vertical_child_${l}_${L}_${V.value}`,
125
- childIndex: L,
126
- color: ue(_.color) || ue(a.color) || pe.value[l] || M[l] || M[l % M.length]
127
- })).map((_, L) => ({
136
+ id: `vertical_child_${l}_${N}_${V.value}`,
137
+ childIndex: N,
138
+ color: ne(_.color) || ne(a.color) || ye.value[l] || M[l] || M[l % M.length]
139
+ })).map((_, N) => ({
128
140
  ..._,
129
- isFirstChild: L === 0,
130
- isLastChild: L === a.children.length - 1
141
+ isFirstChild: N === 0,
142
+ isLastChild: N === a.children.length - 1
131
143
  }))
132
144
  };
133
- }).toSorted((a, l) => fe.value ? l.value - a.value : a.value - l.value))), be = b(() => ({
145
+ }).toSorted((a, l) => _e.value ? l.value - a.value : a.value - l.value))), ke = b(() => ({
134
146
  cy: "vertical-bar-div-legend",
135
147
  backgroundColor: e.value.style.chart.legend.backgroundColor,
136
148
  color: e.value.style.chart.legend.color,
137
149
  fontSize: e.value.style.chart.legend.fontSize,
138
150
  paddingBottom: 12,
139
151
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
140
- })), c = v(e.value.style.chart.layout.bars.height), g = v(e.value.style.chart.layout.bars.gap), Oe = b(() => (c.value + g.value) * j.value), me = v(512), y = b(() => ({
141
- width: me.value,
142
- height: Oe.value,
152
+ })), 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), xe = d(512), y = b(() => ({
153
+ width: xe.value,
154
+ height: Ee.value,
143
155
  padding: {
144
156
  top: 12,
145
157
  left: 128 + e.value.style.chart.layout.bars.offsetX,
146
158
  right: 64 + e.value.style.chart.layout.bars.paddingRight,
147
159
  bottom: 12
148
160
  }
149
- })), u = b(() => ({
161
+ })), s = b(() => ({
150
162
  fullHeight: y.value.padding.top + y.value.padding.bottom + y.value.height,
151
163
  top: y.value.padding.top,
152
164
  left: y.value.padding.left,
@@ -154,58 +166,58 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
154
166
  bottom: y.value.padding.top + y.value.height,
155
167
  width: y.value.width - (y.value.padding.left + y.value.padding.right)
156
168
  }));
157
- function ae() {
169
+ function q() {
158
170
  j.value = F.value.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0);
159
171
  }
160
- const C = v([]);
161
- function X(a) {
162
- C.value.includes(a) ? C.value = C.value.filter((l) => l !== a) : C.value.push(a), ae(), Ve("selectLegend", F.value);
172
+ const T = d([]);
173
+ function A(a) {
174
+ T.value.includes(a) ? T.value = T.value.filter((l) => l !== a) : T.value.push(a), q(), Be("selectLegend", F.value);
163
175
  }
164
- const F = b(() => z.value.filter((a) => !C.value.includes(a.id))), T = b(() => F.value.map((a) => Math.abs(a.value)).reduce((a, l) => a + l, 0));
165
- function _e(a, l = !1, t = 0) {
176
+ 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));
177
+ function $e(a, l = !1, t = 0) {
166
178
  return l ? I({
167
- v: S(Math.abs(a) / T.value * 100),
179
+ v: S(Math.abs(a) / L.value * 100),
168
180
  s: "%",
169
181
  r: t
170
- }) : Math.abs(a) / T.value;
182
+ }) : Math.abs(a) / L.value;
171
183
  }
172
- const B = b(() => F.value.flatMap((a) => a.hasChildren ? a.children : a)), O = b(() => B.value.map((a) => a.sign).includes(-1)), De = b(() => Math.max(...F.value.flatMap((a) => a.children && a.children.length ? Math.max(...a.children.map((l) => l.value)) : a.value)));
184
+ 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)));
173
185
  function P(a) {
174
- const l = a / De.value;
175
- return u.value.width / (O.value ? 2 : 1) * l;
186
+ const l = a / Ge.value;
187
+ return s.value.width / (O.value ? 2 : 1) * l;
176
188
  }
177
- function Re(a) {
178
- return P(a) + u.value.left;
189
+ function Ue(a) {
190
+ return P(a) + s.value.left;
179
191
  }
180
- function A(a, l) {
181
- const t = F.value.find((p) => p.id === a.parentId), o = u.value.top + (g.value + c.value) * l, f = t.children.length * (g.value + c.value);
192
+ function E(a, l) {
193
+ 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);
182
194
  return {
183
195
  y: o + f / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
184
196
  name: t.name,
185
197
  value: [void 0, NaN, null].includes(t.value) ? "" : t.sign === 1 ? t.value : -t.value,
186
- percentageToTotal: isNaN(t.value / T.value) ? "" : _e(t.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
198
+ percentageToTotal: isNaN(t.value / L.value) ? "" : $e(t.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
187
199
  sign: t.sign
188
200
  };
189
201
  }
190
- function Xe() {
202
+ function He() {
191
203
  return F.value;
192
204
  }
193
- const le = v(null), oe = v(null);
194
- function Ae(a, l) {
195
- oe.value = {
205
+ const oe = d(null), ue = d(null);
206
+ function We(a, l) {
207
+ ue.value = {
196
208
  datapoint: a,
197
209
  seriesIndex: l,
198
210
  series: z.value,
199
211
  config: e.value
200
- }, Z.value = !0, le.value = a.id;
212
+ }, ee.value = !0, oe.value = a.id;
201
213
  let t = "";
202
214
  const o = a.isChild ? a.parentName : a.name, f = a.isChild ? a.name : "", p = e.value.style.chart.tooltip.customFormat;
203
- at(p) && lt(() => p({
215
+ st(p) && rt(() => p({
204
216
  datapoint: a,
205
217
  series: z.value,
206
218
  config: e.value,
207
219
  seriesIndex: l
208
- })) ? ee.value = p({
220
+ })) ? te.value = p({
209
221
  datapoint: a,
210
222
  series: z.value,
211
223
  config: e.value,
@@ -213,7 +225,7 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
213
225
  }) : (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;">
214
226
  <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>
215
227
  ${f ? `<div>${f}</div>` : ""}
216
- </div>`, e.value.style.chart.tooltip.showValue && (t += `<div>${e.value.translations.value}: <b>${Q(
228
+ </div>`, e.value.style.chart.tooltip.showValue && (t += `<div>${e.value.translations.value}: <b>${Z(
217
229
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
218
230
  a.sign === 1 ? a.value : -a.value,
219
231
  I({
@@ -224,19 +236,19 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
224
236
  }),
225
237
  { datapoint: a, seriesIndex: l }
226
238
  )}</b></div>`), e.value.style.chart.tooltip.showPercentage && (t += `<div>${e.value.translations.percentageToTotal} : <b>${I({
227
- v: Math.abs(a.value) / T.value * 100,
239
+ v: Math.abs(a.value) / L.value * 100,
228
240
  s: "%",
229
241
  r: e.value.style.chart.tooltip.roundingPercentage
230
242
  })}</b></div>`, a.isChild && (t += `<div>${e.value.translations.percentageToSerie}: <b>${I({
231
243
  v: Math.abs(a.value) / Math.abs(a.parentValue) * 100,
232
244
  s: "%",
233
245
  r: e.value.style.chart.tooltip.roundingPercentage
234
- })}</b></div>`)), ee.value = `<div style="text-align:left">${t}</div>`);
246
+ })}</b></div>`)), te.value = `<div style="text-align:left">${t}</div>`);
235
247
  }
236
- function xe(a, l, t, o) {
248
+ function Ce(a, l, t, o) {
237
249
  if (!e.value.style.chart.layout.bars.dataLabels.value.show)
238
250
  return "";
239
- const f = Q(
251
+ const f = Z(
240
252
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
241
253
  S(o === -1 && a >= 0 ? -a : a),
242
254
  I({
@@ -246,7 +258,7 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
246
258
  r: e.value.style.chart.layout.bars.dataLabels.value.roundingValue
247
259
  }),
248
260
  { datapoint: l, seriesIndex: t }
249
- ), p = `(${_e(a, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
261
+ ), p = `(${$e(a, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
250
262
  return `${f}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${p}` : ""}`;
251
263
  }
252
264
  const w = b(() => {
@@ -262,11 +274,11 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
262
274
  color: t.color,
263
275
  parentName: t.parentName,
264
276
  parentValue: t.parentValue,
265
- percentageToTotal: t.parentValue / T.value,
277
+ percentageToTotal: t.parentValue / L.value,
266
278
  childName: t.name,
267
279
  childValue: t.sign === 1 ? t.value : -t.value,
268
280
  childPercentageToParent: Math.abs(t.value) / Math.abs(t.parentValue),
269
- childPercentageToTotal: Math.abs(t.value) / T.value
281
+ childPercentageToTotal: Math.abs(t.value) / L.value
270
282
  } : {
271
283
  color: "",
272
284
  parentName: "",
@@ -275,12 +287,12 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
275
287
  childName: t.name,
276
288
  childValue: t.sign === 1 ? t.value : -t.value,
277
289
  childPercentageToParent: Math.abs(t.value) / Math.abs(t.parentValue),
278
- childPercentageToTotal: Math.abs(t.value) / T.value
290
+ childPercentageToTotal: Math.abs(t.value) / L.value
279
291
  } : {
280
292
  color: t.color,
281
293
  parentName: t.name,
282
294
  parentValue: t.sign === 1 ? t.value : -t.value,
283
- percentageToTotal: Math.abs(t.value) / T.value,
295
+ percentageToTotal: Math.abs(t.value) / L.value,
284
296
  childName: "",
285
297
  childValue: "",
286
298
  childPercentageToParent: "",
@@ -288,7 +300,7 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
288
300
  });
289
301
  return { head: a, body: l };
290
302
  });
291
- function ke() {
303
+ function we() {
292
304
  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) => [
293
305
  p.parentName,
294
306
  p.parentValue,
@@ -297,45 +309,46 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
297
309
  p.childValue,
298
310
  p.childPercentageToParent,
299
311
  p.childPercentageToTotal
300
- ]), o = a.concat([l]).concat(t), f = ot(o);
301
- nt({ csvContent: f, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
312
+ ]), o = a.concat([l]).concat(t), f = it(o);
313
+ dt({ csvContent: f, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
302
314
  }
303
- const E = v(!1);
304
- function Ee(a) {
305
- E.value = a, re.value += 1;
315
+ const G = d(!1);
316
+ function je(a) {
317
+ G.value = a, re.value += 1;
306
318
  }
307
- function $e() {
319
+ function Te() {
308
320
  $.value.showTable = !$.value.showTable;
309
321
  }
310
- function we() {
311
- $.value.sortDesc = !$.value.sortDesc, ae();
322
+ function Le() {
323
+ $.value.sortDesc = !$.value.sortDesc, q();
312
324
  }
313
- function Ce() {
325
+ function Ne() {
314
326
  $.value.showTooltip = !$.value.showTooltip;
315
327
  }
316
- return Se({
317
- getData: Xe,
318
- recalculateHeight: ae,
319
- generatePdf: ve,
320
- generateCsv: ke,
321
- generateImage: he,
322
- toggleTable: $e,
323
- toggleSort: we,
324
- toggleTooltip: Ce
325
- }), (a, l) => (s(), d("div", {
326
- class: D(`vue-ui-vertical-bar ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
328
+ return Ie({
329
+ getData: He,
330
+ recalculateHeight: q,
331
+ generatePdf: pe,
332
+ generateCsv: we,
333
+ generateImage: ge,
334
+ toggleTable: Te,
335
+ toggleSort: Le,
336
+ toggleTooltip: Ne
337
+ }), (a, l) => (n(), c("div", {
338
+ class: D(`vue-ui-vertical-bar ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
327
339
  ref_key: "verticalBarChart",
328
- ref: R,
340
+ ref: X,
329
341
  id: `vue-ui-vertical-bar_${V.value}`,
330
342
  style: r(`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%" : ""}`)
331
343
  }, [
332
- e.value.style.chart.title.text ? (s(), d("div", {
344
+ e.value.style.chart.title.text ? (n(), c("div", {
333
345
  key: 0,
334
346
  ref_key: "chartTitle",
335
347
  ref: ie,
336
348
  style: r(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:12px`)
337
349
  }, [
338
- G(rt, {
350
+ (n(), R(ht, {
351
+ key: `title_${de.value}`,
339
352
  config: {
340
353
  title: {
341
354
  cy: "vertical-bar-div-title",
@@ -346,16 +359,16 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
346
359
  ...e.value.style.chart.title.subtitle
347
360
  }
348
361
  }
349
- }, null, 8, ["config"])
362
+ }, null, 8, ["config"]))
350
363
  ], 4)) : m("", !0),
351
- e.value.userOptions.show && W.value ? (s(), ne(dt, {
364
+ e.value.userOptions.show && W.value ? (n(), R(gt, {
352
365
  ref_key: "details",
353
- ref: Fe,
366
+ ref: De,
354
367
  key: `user_options_${re.value}`,
355
368
  backgroundColor: e.value.style.chart.backgroundColor,
356
369
  color: e.value.style.chart.color,
357
- isImaging: h(ce),
358
- isPrinting: h(de),
370
+ isImaging: h(he),
371
+ isPrinting: h(ve),
359
372
  uid: V.value,
360
373
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
361
374
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -364,91 +377,92 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
364
377
  hasTable: e.value.userOptions.buttons.table,
365
378
  hasSort: e.value.userOptions.buttons.sort,
366
379
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
367
- isFullscreen: E.value,
380
+ isFullscreen: G.value,
368
381
  isTooltip: $.value.showTooltip,
369
382
  titles: { ...e.value.userOptions.buttonTitles },
370
- chartElement: R.value,
371
- onToggleFullscreen: Ee,
372
- onGeneratePdf: h(ve),
373
- onGenerateCsv: ke,
374
- onGenerateImage: h(he),
375
- onToggleTable: $e,
376
- onToggleSort: we,
377
- onToggleTooltip: Ce
378
- }, We({ _: 2 }, [
383
+ chartElement: X.value,
384
+ onToggleFullscreen: je,
385
+ onGeneratePdf: h(pe),
386
+ onGenerateCsv: we,
387
+ onGenerateImage: h(ge),
388
+ onToggleTable: Te,
389
+ onToggleSort: Le,
390
+ onToggleTooltip: Ne
391
+ }, Je({ _: 2 }, [
379
392
  a.$slots.optionTooltip ? {
380
393
  name: "optionTooltip",
381
- fn: x(() => [
382
- k(a.$slots, "optionTooltip", {}, void 0, !0)
394
+ fn: k(() => [
395
+ x(a.$slots, "optionTooltip", {}, void 0, !0)
383
396
  ]),
384
397
  key: "0"
385
398
  } : void 0,
386
399
  a.$slots.optionPdf ? {
387
400
  name: "optionPdf",
388
- fn: x(() => [
389
- k(a.$slots, "optionPdf", {}, void 0, !0)
401
+ fn: k(() => [
402
+ x(a.$slots, "optionPdf", {}, void 0, !0)
390
403
  ]),
391
404
  key: "1"
392
405
  } : void 0,
393
406
  a.$slots.optionCsv ? {
394
407
  name: "optionCsv",
395
- fn: x(() => [
396
- k(a.$slots, "optionCsv", {}, void 0, !0)
408
+ fn: k(() => [
409
+ x(a.$slots, "optionCsv", {}, void 0, !0)
397
410
  ]),
398
411
  key: "2"
399
412
  } : void 0,
400
413
  a.$slots.optionImg ? {
401
414
  name: "optionImg",
402
- fn: x(() => [
403
- k(a.$slots, "optionImg", {}, void 0, !0)
415
+ fn: k(() => [
416
+ x(a.$slots, "optionImg", {}, void 0, !0)
404
417
  ]),
405
418
  key: "3"
406
419
  } : void 0,
407
420
  a.$slots.optionTable ? {
408
421
  name: "optionTable",
409
- fn: x(() => [
410
- k(a.$slots, "optionTable", {}, void 0, !0)
422
+ fn: k(() => [
423
+ x(a.$slots, "optionTable", {}, void 0, !0)
411
424
  ]),
412
425
  key: "4"
413
426
  } : void 0,
414
427
  a.$slots.optionLabels ? {
415
428
  name: "optionLabels",
416
- fn: x(() => [
417
- k(a.$slots, "optionLabels", {}, void 0, !0)
429
+ fn: k(() => [
430
+ x(a.$slots, "optionLabels", {}, void 0, !0)
418
431
  ]),
419
432
  key: "5"
420
433
  } : void 0,
421
434
  a.$slots.optionSort ? {
422
435
  name: "optionSort",
423
- fn: x(() => [
424
- k(a.$slots, "optionSort", {}, void 0, !0)
436
+ fn: k(() => [
437
+ x(a.$slots, "optionSort", {}, void 0, !0)
425
438
  ]),
426
439
  key: "6"
427
440
  } : void 0,
428
441
  a.$slots.optionFullscreen ? {
429
442
  name: "optionFullscreen",
430
- fn: x(({ toggleFullscreen: t, isFullscreen: o }) => [
431
- k(a.$slots, "optionFullscreen", q(K({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
443
+ fn: k(({ toggleFullscreen: t, isFullscreen: o }) => [
444
+ x(a.$slots, "optionFullscreen", K(J({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
432
445
  ]),
433
446
  key: "7"
434
447
  } : void 0
435
448
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : m("", !0),
436
- e.value.style.chart.legend.show && e.value.style.chart.legend.position === "top" ? (s(), d("div", {
449
+ e.value.style.chart.legend.show && e.value.style.chart.legend.position === "top" ? (n(), c("div", {
437
450
  key: 2,
438
451
  ref_key: "chartLegend",
439
- ref: te
452
+ ref: ae
440
453
  }, [
441
- G(Le, {
454
+ (n(), R(ze, {
455
+ key: `legend_top_${le.value}`,
442
456
  legendSet: z.value,
443
- config: be.value,
444
- onClickMarker: l[0] || (l[0] = ({ legend: t }) => X(t.id))
457
+ config: ke.value,
458
+ onClickMarker: l[0] || (l[0] = ({ legend: t }) => A(t.id))
445
459
  }, {
446
- item: x(({ legend: t, index: o }) => [
447
- n("div", {
460
+ item: k(({ legend: t, index: o }) => [
461
+ u("div", {
448
462
  "data-cy-legend-item": "",
449
- onClick: (f) => X(t.id),
450
- style: r(`opacity:${C.value.includes(t.id) ? 0.5 : 1}`)
451
- }, i(t.name) + ": " + i(h(Q)(
463
+ onClick: (f) => A(t.id),
464
+ style: r(`opacity:${T.value.includes(t.id) ? 0.5 : 1}`)
465
+ }, i(t.name) + ": " + i(h(Z)(
452
466
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
453
467
  t.value,
454
468
  h(I)({
@@ -458,131 +472,131 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
458
472
  r: e.value.style.chart.legend.roundingValue
459
473
  }),
460
474
  { datapoint: t, seriesIndex: o }
461
- )), 13, ft)
475
+ )), 13, xt)
462
476
  ]),
463
477
  _: 1
464
- }, 8, ["legendSet", "config"])
478
+ }, 8, ["legendSet", "config"]))
465
479
  ], 512)) : m("", !0),
466
- W.value ? (s(), d("svg", {
480
+ W.value ? (n(), c("svg", {
467
481
  key: 3,
468
- xmlns: h(et),
469
- class: D({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
470
- viewBox: `0 0 ${y.value.width <= 0 ? 10 : y.value.width} ${u.value.fullHeight <= 0 ? 10 : u.value.fullHeight}`,
482
+ xmlns: h(ut),
483
+ class: D({ "vue-data-ui-fullscreen--on": G.value, "vue-data-ui-fulscreen--off": !G.value }),
484
+ viewBox: `0 0 ${y.value.width <= 0 ? 10 : y.value.width} ${s.value.fullHeight <= 0 ? 10 : s.value.fullHeight}`,
471
485
  style: r(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
472
486
  }, [
473
- (s(!0), d(U, null, H(B.value, (t, o) => (s(), d("linearGradient", {
487
+ (n(!0), c(U, null, H(B.value, (t, o) => (n(), c("linearGradient", {
474
488
  x1: "0%",
475
489
  y1: "0%",
476
490
  x2: "100%",
477
491
  y2: "0%",
478
492
  id: `vertical_bar_gradient_${V.value}_${o}`
479
493
  }, [
480
- n("stop", {
494
+ u("stop", {
481
495
  offset: "0%",
482
496
  "stop-color": t.color
483
- }, null, 8, _t),
484
- n("stop", {
497
+ }, null, 8, wt),
498
+ u("stop", {
485
499
  offset: "100%",
486
- "stop-color": `${h(tt)(t.color, 0.03)}${h(se)[100 - e.value.style.chart.layout.bars.gradientIntensity]}`
487
- }, null, 8, xt)
488
- ], 8, mt))), 256)),
489
- (s(!0), d(U, null, H(B.value, (t, o) => (s(), d("g", null, [
490
- n("rect", {
491
- x: h(S)(O.value ? u.value.left + u.value.width / 2 - (t.sign === 1 ? 0 : P(t.value) <= 0 ? 1e-4 : P(t.value)) : u.value.left),
492
- y: u.value.top + (g.value + c.value) * o,
500
+ "stop-color": `${h(nt)(t.color, 0.03)}${h(se)[100 - e.value.style.chart.layout.bars.gradientIntensity]}`
501
+ }, null, 8, Tt)
502
+ ], 8, Ct))), 256)),
503
+ (n(!0), c(U, null, H(B.value, (t, o) => (n(), c("g", null, [
504
+ u("rect", {
505
+ 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),
506
+ y: s.value.top + (g.value + v.value) * o,
493
507
  width: h(S)(P(t.value) <= 0 ? 1e-4 : P(t.value)),
494
- height: c.value <= 0 ? 1e-4 : c.value,
508
+ height: v.value <= 0 ? 1e-4 : v.value,
495
509
  fill: e.value.style.chart.layout.bars.underlayerColor,
496
510
  rx: e.value.style.chart.layout.bars.borderRadius,
497
511
  class: D({ animated: e.value.useCssAnimation })
498
- }, null, 10, kt)
512
+ }, null, 10, Lt)
499
513
  ]))), 256)),
500
- (s(!0), d(U, null, H(B.value, (t, o) => (s(), d("g", null, [
501
- n("rect", {
502
- x: h(S)(O.value ? u.value.left + u.value.width / 2 - (t.sign === 1 ? 0 : P(t.value) <= 0 ? 1e-4 : P(t.value)) : u.value.left),
503
- y: u.value.top + (g.value + c.value) * o,
514
+ (n(!0), c(U, null, H(B.value, (t, o) => (n(), c("g", null, [
515
+ u("rect", {
516
+ 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),
517
+ y: s.value.top + (g.value + v.value) * o,
504
518
  width: h(S)(P(t.value) <= 0 ? 1e-4 : P(t.value)),
505
- height: c.value <= 0 ? 1e-4 : c.value,
519
+ height: v.value <= 0 ? 1e-4 : v.value,
506
520
  fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${V.value}_${o})` : `${t.color}${h(se)[e.value.style.chart.layout.bars.fillOpacity]}`,
507
521
  rx: e.value.style.chart.layout.bars.borderRadius,
508
522
  stroke: e.value.style.chart.layout.bars.useStroke ? t.color : "none",
509
523
  "stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
510
524
  class: D({ animated: e.value.useCssAnimation })
511
- }, null, 10, $t),
512
- (!t.isChild || t.isLastChild) && e.value.style.chart.layout.separators.show && o !== B.value.length - 1 ? (s(), d("line", {
525
+ }, null, 10, Nt),
526
+ (!t.isChild || t.isLastChild) && e.value.style.chart.layout.separators.show && o !== B.value.length - 1 ? (n(), c("line", {
513
527
  key: 0,
514
528
  x1: 0,
515
- x2: u.value.left,
516
- y1: c.value + g.value / 2 + u.value.top + (g.value + c.value) * o,
517
- y2: c.value + g.value / 2 + u.value.top + (g.value + c.value) * o,
529
+ x2: s.value.left,
530
+ y1: v.value + g.value / 2 + s.value.top + (g.value + v.value) * o,
531
+ y2: v.value + g.value / 2 + s.value.top + (g.value + v.value) * o,
518
532
  stroke: e.value.style.chart.layout.separators.color,
519
533
  "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
520
534
  "stroke-linecap": "round"
521
- }, null, 8, wt)) : m("", !0),
522
- O.value && e.value.style.chart.layout.separators.show ? (s(), d("line", {
535
+ }, null, 8, Pt)) : m("", !0),
536
+ O.value && e.value.style.chart.layout.separators.show ? (n(), c("line", {
523
537
  key: 1,
524
- x1: u.value.left + u.value.width / 2,
525
- x2: u.value.left + u.value.width / 2,
526
- y1: u.value.top,
527
- y2: u.value.bottom,
538
+ x1: s.value.left + s.value.width / 2,
539
+ x2: s.value.left + s.value.width / 2,
540
+ y1: s.value.top,
541
+ y2: s.value.bottom,
528
542
  stroke: e.value.style.chart.layout.separators.color,
529
543
  "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
530
544
  "stroke-linecap": "round"
531
- }, null, 8, Ct)) : m("", !0),
532
- n("text", {
533
- x: O.value ? u.value.left + u.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) : Re(t.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
534
- y: u.value.top + (g.value + c.value) * o + c.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
545
+ }, null, 8, St)) : m("", !0),
546
+ u("text", {
547
+ 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,
548
+ y: s.value.top + (g.value + v.value) * o + v.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
535
549
  "text-anchor": !O.value || t.sign === -1 ? "start" : "end",
536
550
  "font-size": e.value.style.chart.layout.bars.dataLabels.fontSize,
537
551
  fill: e.value.style.chart.layout.bars.dataLabels.color,
538
552
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
539
- }, i(xe(t.value, t, o, t.sign)), 9, Tt),
540
- (t.isChild || !t.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (s(), d("text", {
553
+ }, i(Ce(t.value, t, o, t.sign)), 9, Vt),
554
+ (t.isChild || !t.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (n(), c("text", {
541
555
  key: 2,
542
556
  "text-anchor": "end",
543
- x: u.value.left - 3 + e.value.style.chart.layout.bars.nameLabels.offsetX,
544
- y: u.value.top + (g.value + c.value) * o + c.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2,
557
+ x: s.value.left - 3 + e.value.style.chart.layout.bars.nameLabels.offsetX,
558
+ y: s.value.top + (g.value + v.value) * o + v.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2,
545
559
  "font-size": e.value.style.chart.layout.bars.nameLabels.fontSize,
546
560
  fill: e.value.style.chart.layout.bars.nameLabels.color,
547
561
  "font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal"
548
- }, i(t.name), 9, Lt)) : m("", !0),
549
- t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (s(), d("text", {
562
+ }, i(t.name), 9, zt)) : m("", !0),
563
+ t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (n(), c("text", {
550
564
  key: 3,
551
565
  x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
552
- y: A(t, o).y,
566
+ y: E(t, o).y,
553
567
  "font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
554
568
  fill: e.value.style.chart.layout.bars.parentLabels.color,
555
569
  "font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
556
570
  "text-anchor": "start"
557
- }, i(A(t, o).name), 9, Nt)) : m("", !0),
558
- t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (s(), d("text", {
571
+ }, i(E(t, o).name), 9, Ft)) : m("", !0),
572
+ t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (n(), c("text", {
559
573
  key: 4,
560
574
  x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
561
- y: A(t, o).y + e.value.style.chart.layout.bars.parentLabels.fontSize + 6,
575
+ y: E(t, o).y + e.value.style.chart.layout.bars.parentLabels.fontSize + 6,
562
576
  "font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
563
577
  fill: e.value.style.chart.layout.bars.parentLabels.color,
564
578
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
565
579
  "text-anchor": "start"
566
- }, i(xe(A(t, o).value), A(t, o), o, t.parentSign || t.sign), 9, Pt)) : m("", !0),
567
- n("rect", {
580
+ }, i(Ce(E(t, o).value), E(t, o), o, t.parentSign || t.sign), 9, Mt)) : m("", !0),
581
+ u("rect", {
568
582
  "data-cy-trap": "",
569
583
  x: 0,
570
- y: u.value.top + (g.value + c.value) * o - g.value / 2,
584
+ y: s.value.top + (g.value + v.value) * o - g.value / 2,
571
585
  width: y.value.width <= 0 ? 1e-4 : y.value.width,
572
- height: c.value + g.value <= 0 ? 1e-4 : c.value + g.value,
573
- fill: le.value === t.id ? `${e.value.style.chart.layout.highlighter.color}${h(se)[e.value.style.chart.layout.highlighter.opacity]}` : "transparent",
574
- onMouseenter: (f) => Ae(t, o),
586
+ height: v.value + g.value <= 0 ? 1e-4 : v.value + g.value,
587
+ fill: oe.value === t.id ? `${e.value.style.chart.layout.highlighter.color}${h(se)[e.value.style.chart.layout.highlighter.opacity]}` : "transparent",
588
+ onMouseenter: (f) => We(t, o),
575
589
  onMouseleave: l[1] || (l[1] = (f) => {
576
- Me.value = null, Z.value = !1, le.value = null;
590
+ Re.value = null, ee.value = !1, oe.value = null;
577
591
  })
578
- }, null, 40, St)
592
+ }, null, 40, It)
579
593
  ]))), 256)),
580
- k(a.$slots, "svg", { svg: y.value }, void 0, !0)
581
- ], 14, bt)) : m("", !0),
582
- a.$slots.watermark ? (s(), d("div", Vt, [
583
- k(a.$slots, "watermark", q(K({ isPrinting: h(de) || h(ce) })), void 0, !0)
594
+ x(a.$slots, "svg", { svg: y.value }, void 0, !0)
595
+ ], 14, $t)) : m("", !0),
596
+ a.$slots.watermark ? (n(), c("div", Bt, [
597
+ x(a.$slots, "watermark", K(J({ isPrinting: h(ve) || h(he) })), void 0, !0)
584
598
  ])) : m("", !0),
585
- W.value ? m("", !0) : (s(), ne(vt, {
599
+ W.value ? m("", !0) : (n(), R(ft, {
586
600
  key: 5,
587
601
  config: {
588
602
  type: "verticalBar",
@@ -597,21 +611,22 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
597
611
  }
598
612
  }
599
613
  }, null, 8, ["config"])),
600
- e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (s(), d("div", {
614
+ e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (n(), c("div", {
601
615
  key: 6,
602
616
  ref_key: "chartLegend",
603
- ref: te
617
+ ref: ae
604
618
  }, [
605
- G(Le, {
619
+ (n(), R(ze, {
620
+ key: `legend_bottom_${le.value}`,
606
621
  legendSet: z.value,
607
- config: be.value,
608
- onClickMarker: l[2] || (l[2] = ({ legend: t }) => X(t.id))
622
+ config: ke.value,
623
+ onClickMarker: l[2] || (l[2] = ({ legend: t }) => A(t.id))
609
624
  }, {
610
- item: x(({ legend: t, index: o }) => [
611
- n("div", {
612
- onClick: (f) => X(t.id),
613
- style: r(`opacity:${C.value.includes(t.id) ? 0.5 : 1}`)
614
- }, i(t.name) + ": " + i(h(Q)(
625
+ item: k(({ legend: t, index: o }) => [
626
+ u("div", {
627
+ onClick: (f) => A(t.id),
628
+ style: r(`opacity:${T.value.includes(t.id) ? 0.5 : 1}`)
629
+ }, i(t.name) + ": " + i(h(Z)(
615
630
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
616
631
  t.value,
617
632
  h(I)({
@@ -621,14 +636,14 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
621
636
  r: e.value.style.chart.legend.roundingValue
622
637
  }),
623
638
  { datapoint: t, seriesIndex: o }
624
- )), 13, zt)
639
+ )), 13, Ot)
625
640
  ]),
626
641
  _: 1
627
- }, 8, ["legendSet", "config"])
642
+ }, 8, ["legendSet", "config"]))
628
643
  ], 512)) : m("", !0),
629
- k(a.$slots, "legend", { legend: z.value }, void 0, !0),
630
- G(ct, {
631
- show: $.value.showTooltip && Z.value && C.value.length < N.dataset.length,
644
+ x(a.$slots, "legend", { legend: z.value }, void 0, !0),
645
+ Se(yt, {
646
+ show: $.value.showTooltip && ee.value && T.value.length < C.dataset.length,
632
647
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
633
648
  color: e.value.style.chart.tooltip.color,
634
649
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -638,19 +653,19 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
638
653
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
639
654
  position: e.value.style.chart.tooltip.position,
640
655
  offsetY: e.value.style.chart.tooltip.offsetY,
641
- parent: R.value,
642
- content: ee.value,
656
+ parent: X.value,
657
+ content: te.value,
643
658
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
644
659
  }, {
645
- "tooltip-before": x(() => [
646
- k(a.$slots, "tooltip-before", q(K({ ...oe.value })), void 0, !0)
660
+ "tooltip-before": k(() => [
661
+ x(a.$slots, "tooltip-before", K(J({ ...ue.value })), void 0, !0)
647
662
  ]),
648
- "tooltip-after": x(() => [
649
- k(a.$slots, "tooltip-after", q(K({ ...oe.value })), void 0, !0)
663
+ "tooltip-after": k(() => [
664
+ x(a.$slots, "tooltip-after", K(J({ ...ue.value })), void 0, !0)
650
665
  ]),
651
666
  _: 3
652
667
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
653
- W.value ? (s(), ne(pt, {
668
+ W.value ? (n(), R(mt, {
654
669
  key: 7,
655
670
  hideDetails: "",
656
671
  config: {
@@ -666,133 +681,133 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
666
681
  }
667
682
  }
668
683
  }, {
669
- content: x(() => [
670
- n("div", {
684
+ content: k(() => [
685
+ u("div", {
671
686
  ref_key: "tableContainer",
672
- ref: ye,
687
+ ref: fe,
673
688
  class: "vue-ui-vertical-bar-table"
674
689
  }, [
675
- n("div", Ft, [
676
- n("div", {
690
+ u("div", Dt, [
691
+ u("div", {
677
692
  role: "button",
678
693
  tabindex: "0",
679
694
  style: r(`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};`),
680
695
  onClick: l[3] || (l[3] = (t) => $.value.showTable = !1),
681
- onKeypress: l[4] || (l[4] = je((t) => $.value.showTable = !1, ["enter"]))
696
+ onKeypress: l[4] || (l[4] = Qe((t) => $.value.showTable = !1, ["enter"]))
682
697
  }, [
683
- G(ht, {
698
+ Se(bt, {
684
699
  name: "close",
685
700
  stroke: e.value.table.th.color,
686
701
  "stroke-width": 2
687
702
  }, null, 8, ["stroke"])
688
703
  ], 36),
689
- n("div", {
704
+ u("div", {
690
705
  style: { width: "100%", "container-type": "inline-size" },
691
- class: D({ "vue-ui-responsive": ge.value })
706
+ class: D({ "vue-ui-responsive": be.value })
692
707
  }, [
693
- n("table", Mt, [
694
- n("caption", {
708
+ u("table", Rt, [
709
+ u("caption", {
695
710
  style: r({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
696
711
  class: "vue-ui-data-table__caption"
697
712
  }, [
698
- Ye(i(e.value.style.chart.title.text) + " ", 1),
699
- e.value.style.chart.title.subtitle.text ? (s(), d("span", It, i(e.value.style.chart.title.subtitle.text), 1)) : m("", !0)
713
+ Ze(i(e.value.style.chart.title.text) + " ", 1),
714
+ e.value.style.chart.title.subtitle.text ? (n(), c("span", Xt, i(e.value.style.chart.title.subtitle.text), 1)) : m("", !0)
700
715
  ], 4),
701
- n("thead", null, [
702
- n("tr", {
716
+ u("thead", null, [
717
+ u("tr", {
703
718
  role: "row",
704
719
  style: r(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
705
720
  }, [
706
- (s(!0), d(U, null, H(w.value.head, (t) => (s(), d("th", {
721
+ (n(!0), c(U, null, H(w.value.head, (t) => (n(), c("th", {
707
722
  style: r(`outline:${e.value.table.th.outline}`)
708
723
  }, [
709
- n("div", Bt, i(t), 1)
724
+ u("div", At, i(t), 1)
710
725
  ], 4))), 256))
711
726
  ], 4),
712
- n("tr", null, [
713
- n("th", {
727
+ u("tr", null, [
728
+ u("th", {
714
729
  style: r(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
715
730
  }, null, 4),
716
- n("th", {
731
+ u("th", {
717
732
  style: r(`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`)
718
- }, "∑ " + i(e.value.table.td.prefix) + i(isNaN(T.value) ? "" : T.value.toFixed(e.value.table.td.roundingValue)) + i(e.value.table.td.suffix), 5),
719
- n("th", {
733
+ }, "∑ " + 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),
734
+ u("th", {
720
735
  style: r(`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`)
721
736
  }, "100%", 4),
722
- n("th", {
737
+ u("th", {
723
738
  style: r(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
724
739
  }, null, 4),
725
- n("th", {
740
+ u("th", {
726
741
  style: r(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
727
742
  }, null, 4),
728
- n("th", {
743
+ u("th", {
729
744
  style: r(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
730
745
  }, null, 4),
731
- n("th", {
746
+ u("th", {
732
747
  style: r(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
733
748
  }, null, 4)
734
749
  ])
735
750
  ]),
736
- n("tbody", null, [
737
- (s(!0), d(U, null, H(w.value.body, (t, o) => (s(), d("tr", {
751
+ u("tbody", null, [
752
+ (n(!0), c(U, null, H(w.value.body, (t, o) => (n(), c("tr", {
738
753
  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 }),
739
754
  style: r(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
740
755
  }, [
741
- n("td", {
756
+ u("td", {
742
757
  class: "vue-ui-data-table__tbody__td",
743
758
  style: r(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
744
759
  "data-cell": w.value.head[0] ?? ""
745
760
  }, [
746
- n("div", Dt, [
747
- t.color ? (s(), d("span", {
761
+ u("div", Gt, [
762
+ t.color ? (n(), c("span", {
748
763
  key: 0,
749
764
  style: r(`color:${t.color};margin-right:3px`)
750
765
  }, "⬤", 4)) : m("", !0),
751
- n("span", null, i(t.parentName), 1)
766
+ u("span", null, i(t.parentName), 1)
752
767
  ])
753
- ], 12, Ot),
754
- n("td", {
768
+ ], 12, Et),
769
+ u("td", {
755
770
  class: "vue-ui-data-table__tbody__td",
756
771
  style: r(`outline:${e.value.table.td.outline}`),
757
772
  "data-cell": w.value.head[1] ?? ""
758
773
  }, [
759
- n("div", Xt, i(e.value.table.td.prefix) + i(["", NaN, void 0].includes(t.parentValue) ? "" : t.parentValue.toFixed(e.value.table.td.roundingValue)) + i(e.value.table.td.suffix), 1)
760
- ], 12, Rt),
761
- n("td", {
774
+ u("div", Ht, i(e.value.table.td.prefix) + i(["", NaN, void 0].includes(t.parentValue) ? "" : t.parentValue.toFixed(e.value.table.td.roundingValue)) + i(e.value.table.td.suffix), 1)
775
+ ], 12, Ut),
776
+ u("td", {
762
777
  class: "vue-ui-data-table__tbody__td",
763
778
  style: r(`outline:${e.value.table.td.outline}`),
764
779
  "data-cell": w.value.head[2] ?? ""
765
780
  }, [
766
- n("div", Et, i(["", NaN, void 0].includes(t.percentageToTotal) ? "" : `${(t.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
767
- ], 12, At),
768
- n("td", {
781
+ u("div", jt, i(["", NaN, void 0].includes(t.percentageToTotal) ? "" : `${(t.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
782
+ ], 12, Wt),
783
+ u("td", {
769
784
  class: "vue-ui-data-table__tbody__td",
770
785
  style: r(`outline:${e.value.table.td.outline}`),
771
786
  "data-cell": w.value.head[3] ?? ""
772
787
  }, [
773
- n("div", Ut, i(t.childName), 1)
774
- ], 12, Gt),
775
- n("td", {
788
+ u("div", qt, i(t.childName), 1)
789
+ ], 12, Yt),
790
+ u("td", {
776
791
  class: "vue-ui-data-table__tbody__td",
777
792
  style: r(`outline:${e.value.table.td.outline}`),
778
793
  "data-cell": w.value.head[4] ?? ""
779
794
  }, [
780
- n("div", Wt, i(e.value.table.td.prefix) + i(["", NaN, void 0].includes(t.childValue) ? "" : t.childValue.toFixed(e.value.table.td.roundingValue)) + i(e.value.table.td.suffix), 1)
781
- ], 12, Ht),
782
- n("td", {
795
+ u("div", Jt, i(e.value.table.td.prefix) + i(["", NaN, void 0].includes(t.childValue) ? "" : t.childValue.toFixed(e.value.table.td.roundingValue)) + i(e.value.table.td.suffix), 1)
796
+ ], 12, Kt),
797
+ u("td", {
783
798
  class: "vue-ui-data-table__tbody__td",
784
799
  style: r(`outline:${e.value.table.td.outline}`),
785
800
  "data-cell": w.value.head[5] ?? ""
786
801
  }, [
787
- n("div", Yt, i(["", NaN, void 0].includes(t.childPercentageToParent) ? "" : `${(t.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
788
- ], 12, jt),
789
- n("td", {
802
+ u("div", Zt, i(["", NaN, void 0].includes(t.childPercentageToParent) ? "" : `${(t.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
803
+ ], 12, Qt),
804
+ u("td", {
790
805
  class: "vue-ui-data-table__tbody__td",
791
806
  style: r(`outline:${e.value.table.td.outline}`),
792
807
  "data-cell": w.value.head[6] ?? ""
793
808
  }, [
794
- n("div", Kt, i(["", NaN, void 0].includes(t.childPercentageToTotal) ? "" : `${(t.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
795
- ], 12, qt)
809
+ u("div", ta, i(["", NaN, void 0].includes(t.childPercentageToTotal) ? "" : `${(t.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
810
+ ], 12, ea)
796
811
  ], 6))), 256))
797
812
  ])
798
813
  ])
@@ -802,9 +817,9 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
802
817
  ]),
803
818
  _: 1
804
819
  }, 8, ["config"])) : m("", !0)
805
- ], 14, gt));
820
+ ], 14, kt));
806
821
  }
807
- }, da = /* @__PURE__ */ yt(Jt, [["__scopeId", "data-v-e114e098"]]);
822
+ }, ga = /* @__PURE__ */ _t(aa, [["__scopeId", "data-v-d4a13ad8"]]);
808
823
  export {
809
- da as default
824
+ ga as default
810
825
  };