vue-data-ui 2.3.72 → 2.3.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/dist/{Arrow-CC7jRg59.js → Arrow-CYCrAySW.js} +1 -1
  2. package/dist/{Arrow-ZIElM1Qw.cjs → Arrow-DK6F5Fq3.cjs} +1 -1
  3. package/dist/{BaseIcon-CBTIJ_i3.cjs → BaseIcon-DBHVtm3A.cjs} +1 -1
  4. package/dist/{BaseIcon-CPk98Gv1.js → BaseIcon-kBIAYqUO.js} +1 -1
  5. package/dist/{DataTable-03mHwPdu.cjs → DataTable-BNFSPjhv.cjs} +1 -1
  6. package/dist/{DataTable-B9bLH4Tw.js → DataTable-CKdV-L0e.js} +2 -2
  7. package/dist/{Legend-VJiB_MLq.js → Legend-Cj7T-DqJ.js} +1 -1
  8. package/dist/{Legend-rxEBmJRW.cjs → Legend-Do2kcWFT.cjs} +1 -1
  9. package/dist/{Shape-D95l9PFa.js → Shape-Bo8ZjViG.js} +1 -1
  10. package/dist/{Shape-DGhwVgQc.cjs → Shape-DRDUAe_o.cjs} +1 -1
  11. package/dist/{Slicer-DBgvUVRS.js → Slicer-4nGKvUYF.js} +2 -2
  12. package/dist/{Slicer-DUMKJ_f0.cjs → Slicer-D8jHSP7U.cjs} +1 -1
  13. package/dist/{Title-Du743m6e.cjs → Title-D5cATWsL.cjs} +1 -1
  14. package/dist/{Title-B_AI8tEZ.js → Title-DZjnxQdN.js} +1 -1
  15. package/dist/{Tooltip-CPewpyRa.js → Tooltip--kgFEVZs.js} +1 -1
  16. package/dist/{Tooltip-B_WP5J9X.cjs → Tooltip-B8yLaegk.cjs} +1 -1
  17. package/dist/{index-BYuu8ZDR.js → index-C8SH0f2u.js} +1 -1
  18. package/dist/{index-Cuc8JBQE.cjs → index-D_32ZGWd.cjs} +1 -1
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-DZwVoxS3.cjs → useNestedProp-BvvH633N.cjs} +1 -1
  21. package/dist/{useNestedProp-DdJ6Grxg.js → useNestedProp-lS_T5lM3.js} +1 -1
  22. package/dist/{usePrinter-BaExNQdD.cjs → usePrinter-BouFNHWR.cjs} +1 -1
  23. package/dist/{usePrinter-DqIk1aRq.js → usePrinter-Dj50NAxo.js} +1 -1
  24. package/dist/{vue-data-ui-C-epWCMP.js → vue-data-ui-DoXqU7xC.js} +57 -57
  25. package/dist/{vue-data-ui-CUctczUX.cjs → vue-data-ui-v_BbbLtJ.cjs} +1 -1
  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-BWgmK5sr.js → vue-ui-3d-bar-CnoPOJHm.js} +7 -7
  29. package/dist/{vue-ui-3d-bar-xEpa156l.cjs → vue-ui-3d-bar-CwCEoPX-.cjs} +1 -1
  30. package/dist/{vue-ui-accordion-CX_qmhfk.cjs → vue-ui-accordion-Cka6b_Up.cjs} +1 -1
  31. package/dist/{vue-ui-accordion-CW9p_36e.js → vue-ui-accordion-YHleIgkV.js} +3 -3
  32. package/dist/{vue-ui-age-pyramid-C2anlrIJ.js → vue-ui-age-pyramid-CENg8fDg.js} +8 -8
  33. package/dist/{vue-ui-age-pyramid-DgdE2kzJ.cjs → vue-ui-age-pyramid-GqCNpd_h.cjs} +1 -1
  34. package/dist/{vue-ui-annotator-DBsLmFva.cjs → vue-ui-annotator-ByYg6QMs.cjs} +1 -1
  35. package/dist/{vue-ui-annotator-BsFyYQmg.js → vue-ui-annotator-VJOLUkqJ.js} +1 -1
  36. package/dist/{vue-ui-candlestick-BvObxrrO.js → vue-ui-candlestick-CHsGD3bx.js} +9 -9
  37. package/dist/{vue-ui-candlestick-CuAxLf7q.cjs → vue-ui-candlestick-TdNVq_FX.cjs} +1 -1
  38. package/dist/{vue-ui-carousel-table-D7VggXPa.js → vue-ui-carousel-table-RAtX3VBu.js} +4 -4
  39. package/dist/{vue-ui-carousel-table-B8uXpuho.cjs → vue-ui-carousel-table-yXUSFk2u.cjs} +1 -1
  40. package/dist/{vue-ui-chestnut-WVNJAAhE.js → vue-ui-chestnut-B5GQX0J_.js} +6 -6
  41. package/dist/{vue-ui-chestnut-DsDFUMa1.cjs → vue-ui-chestnut-EJj-dQSY.cjs} +1 -1
  42. package/dist/{vue-ui-cursor-BHDKuzwQ.js → vue-ui-cursor-CMm7XSSG.js} +2 -2
  43. package/dist/{vue-ui-cursor-Dv2x-leV.cjs → vue-ui-cursor-DnZqLj21.cjs} +1 -1
  44. package/dist/{vue-ui-dashboard-B7UJ5m3e.js → vue-ui-dashboard-Ck_5L3eu.js} +2 -2
  45. package/dist/{vue-ui-dashboard-CW2crD7k.cjs → vue-ui-dashboard-DgEQJnLr.cjs} +1 -1
  46. package/dist/{vue-ui-digits-S4d-vjPw.js → vue-ui-digits--ULH35um.js} +2 -2
  47. package/dist/{vue-ui-digits-DgAV9vHK.cjs → vue-ui-digits-UvwUdi6U.cjs} +1 -1
  48. package/dist/{vue-ui-donut-CXrbo2vS.cjs → vue-ui-donut-BqUBysA_.cjs} +1 -1
  49. package/dist/{vue-ui-donut-D-Obra62.js → vue-ui-donut-QQ1fWWvc.js} +9 -9
  50. package/dist/{vue-ui-donut-evolution-DMN5gqox.cjs → vue-ui-donut-evolution-BXtEnop4.cjs} +1 -1
  51. package/dist/{vue-ui-donut-evolution-CPp91gGc.js → vue-ui-donut-evolution-Cx8kBB_7.js} +9 -9
  52. package/dist/{vue-ui-dumbbell-B6VqQ1kW.js → vue-ui-dumbbell-BYvwHpU8.js} +8 -8
  53. package/dist/{vue-ui-dumbbell-C5QNKImY.cjs → vue-ui-dumbbell-CjIh7KTm.cjs} +1 -1
  54. package/dist/{vue-ui-flow-DxDFmEMo.js → vue-ui-flow-hp0Hpuhn.js} +7 -7
  55. package/dist/{vue-ui-flow-C265HMf-.cjs → vue-ui-flow-u29zqSQj.cjs} +1 -1
  56. package/dist/{vue-ui-galaxy-3W5_FamU.js → vue-ui-galaxy-B0L57aec.js} +9 -9
  57. package/dist/{vue-ui-galaxy-CE6eSTiR.cjs → vue-ui-galaxy-DE1HbBi-.cjs} +1 -1
  58. package/dist/{vue-ui-gauge-Ct9Pm6Rr.cjs → vue-ui-gauge-B_IZrsfj.cjs} +1 -1
  59. package/dist/{vue-ui-gauge-i_mEreL4.js → vue-ui-gauge-CPyyn7cL.js} +5 -5
  60. package/dist/{vue-ui-gizmo-DjKx8zQ3.js → vue-ui-gizmo-D2RfM55X.js} +2 -2
  61. package/dist/{vue-ui-gizmo-fpcEpQC_.cjs → vue-ui-gizmo-DR4gacOL.cjs} +1 -1
  62. package/dist/{vue-ui-heatmap-BHVAAWge.js → vue-ui-heatmap-DKM0DH41.js} +8 -8
  63. package/dist/{vue-ui-heatmap-BJ5WgKkA.cjs → vue-ui-heatmap-DMB_eUpA.cjs} +1 -1
  64. package/dist/{vue-ui-kpi-3vwX1pb-.js → vue-ui-kpi-BAxAY13T.js} +3 -3
  65. package/dist/{vue-ui-kpi-BJO4Si4A.cjs → vue-ui-kpi-BD21xshi.cjs} +1 -1
  66. package/dist/{vue-ui-mini-loader-Bkz8xXIn.cjs → vue-ui-mini-loader-CLP19Txv.cjs} +1 -1
  67. package/dist/{vue-ui-mini-loader-BGNVjrVa.js → vue-ui-mini-loader-MywnWlYI.js} +2 -2
  68. package/dist/{vue-ui-molecule-Be2hKLP4.cjs → vue-ui-molecule-BNsWckH-.cjs} +1 -1
  69. package/dist/{vue-ui-molecule-DmcAp7Nw.js → vue-ui-molecule-CLI9iTRE.js} +9 -9
  70. package/dist/{vue-ui-mood-radar-DkhEq8kd.cjs → vue-ui-mood-radar-BsWE1f8R.cjs} +1 -1
  71. package/dist/{vue-ui-mood-radar-mzy-m7VP.js → vue-ui-mood-radar-O30wZo9a.js} +9 -9
  72. package/dist/{vue-ui-nested-donuts-BiCvS_99.cjs → vue-ui-nested-donuts-CYyUtXs2.cjs} +1 -1
  73. package/dist/{vue-ui-nested-donuts-CrZglRrG.js → vue-ui-nested-donuts-D8o4TqTt.js} +9 -9
  74. package/dist/{vue-ui-onion-Cvm8iYyA.cjs → vue-ui-onion-D7TXJu5w.cjs} +1 -1
  75. package/dist/{vue-ui-onion-BiM0osaA.js → vue-ui-onion-Hmcke6xB.js} +9 -9
  76. package/dist/{vue-ui-parallel-coordinate-plot-CSKNUGrK.cjs → vue-ui-parallel-coordinate-plot-BqZB7xKn.cjs} +1 -1
  77. package/dist/{vue-ui-parallel-coordinate-plot-B2F5TA1E.js → vue-ui-parallel-coordinate-plot-CyChE3NP.js} +10 -10
  78. package/dist/{vue-ui-quadrant-BMxBMaop.cjs → vue-ui-quadrant-BPDTvxlT.cjs} +1 -1
  79. package/dist/{vue-ui-quadrant-DPqbsYX0.js → vue-ui-quadrant-DimTQdAj.js} +10 -10
  80. package/dist/{vue-ui-quick-chart-CUFDSDf1.cjs → vue-ui-quick-chart-C_-ut0if.cjs} +1 -1
  81. package/dist/{vue-ui-quick-chart-BsF68NGZ.js → vue-ui-quick-chart-DxJvENid.js} +7 -7
  82. package/dist/{vue-ui-radar-D85U18Fh.cjs → vue-ui-radar-C5Kq19hg.cjs} +1 -1
  83. package/dist/{vue-ui-radar-CP99GsF6.js → vue-ui-radar-D_FieunT.js} +10 -10
  84. package/dist/{vue-ui-rating-fCVonNIH.cjs → vue-ui-rating-BHW2Onru.cjs} +1 -1
  85. package/dist/{vue-ui-rating-D2_B2CmO.js → vue-ui-rating-DF1BpH4E.js} +2 -2
  86. package/dist/{vue-ui-relation-circle-CCw0p9C1.js → vue-ui-relation-circle-4kIYttRI.js} +5 -5
  87. package/dist/{vue-ui-relation-circle-BwhjRfE-.cjs → vue-ui-relation-circle-DHMHHsqY.cjs} +1 -1
  88. package/dist/{vue-ui-rings-Cyb2-Fz9.cjs → vue-ui-rings-BqPS8NKl.cjs} +1 -1
  89. package/dist/{vue-ui-rings-CP9xh0Jf.js → vue-ui-rings-BqS-iece.js} +9 -9
  90. package/dist/{vue-ui-scatter-C_7m-HWT.cjs → vue-ui-scatter-BLVcdf3d.cjs} +1 -1
  91. package/dist/{vue-ui-scatter-DahRqX0n.js → vue-ui-scatter-Dns49Nht.js} +10 -10
  92. package/dist/{vue-ui-screenshot-kjxK6cGN.cjs → vue-ui-screenshot---q062Kd.cjs} +1 -1
  93. package/dist/{vue-ui-screenshot-Bz8ypntU.js → vue-ui-screenshot-5Gsnd0Wr.js} +1 -1
  94. package/dist/{vue-ui-skeleton-DY6dv9ms.js → vue-ui-skeleton-B4eWLjH3.js} +2 -2
  95. package/dist/{vue-ui-skeleton-DBlDHYe3.cjs → vue-ui-skeleton-fVPw-oIR.cjs} +1 -1
  96. package/dist/{vue-ui-smiley-QjSvhCpm.js → vue-ui-smiley-B8Tyunn3.js} +2 -2
  97. package/dist/{vue-ui-smiley-D4LI_UP4.cjs → vue-ui-smiley-YfHmv0rQ.cjs} +1 -1
  98. package/dist/{vue-ui-spark-trend-D2lgLtNe.cjs → vue-ui-spark-trend-Dpv6am0Z.cjs} +1 -1
  99. package/dist/{vue-ui-spark-trend-sS5omLKN.js → vue-ui-spark-trend-Em9OqYyG.js} +4 -4
  100. package/dist/{vue-ui-sparkbar-D477mrPt.js → vue-ui-sparkbar-9DBvdYn7.js} +3 -3
  101. package/dist/{vue-ui-sparkbar-BSa3E1PW.cjs → vue-ui-sparkbar-BuSuwQYl.cjs} +1 -1
  102. package/dist/{vue-ui-sparkgauge--a3JMX4H.js → vue-ui-sparkgauge-BN5feBzp.js} +3 -3
  103. package/dist/{vue-ui-sparkgauge-CBdtHXSj.cjs → vue-ui-sparkgauge-DKtUZMv1.cjs} +1 -1
  104. package/dist/{vue-ui-sparkhistogram-B7vG6DfM.js → vue-ui-sparkhistogram-BBUVmco4.js} +4 -4
  105. package/dist/{vue-ui-sparkhistogram-GY3NORZf.cjs → vue-ui-sparkhistogram-BmuusW02.cjs} +1 -1
  106. package/dist/{vue-ui-sparkline-DGM2gvJO.cjs → vue-ui-sparkline-Blzv-tIQ.cjs} +1 -1
  107. package/dist/{vue-ui-sparkline-DQv6RoBk.js → vue-ui-sparkline-CeqNV6Re.js} +3 -3
  108. package/dist/{vue-ui-sparkstackbar-CgCC9OyA.js → vue-ui-sparkstackbar-C3GMC1eW.js} +3 -3
  109. package/dist/{vue-ui-sparkstackbar-CwSD66G_.cjs → vue-ui-sparkstackbar-D__WDEMv.cjs} +1 -1
  110. package/dist/{vue-ui-stackbar-DE06kEdr.cjs → vue-ui-stackbar-DFqJ5K_q.cjs} +1 -1
  111. package/dist/{vue-ui-stackbar-CYlI2qNa.js → vue-ui-stackbar-DyGPrFxi.js} +10 -10
  112. package/dist/{vue-ui-strip-plot-cLATedZC.js → vue-ui-strip-plot-y1AnVJmq.js} +9 -9
  113. package/dist/{vue-ui-strip-plot-CTPE5LwY.cjs → vue-ui-strip-plot-z9fjJ6Dj.cjs} +1 -1
  114. package/dist/{vue-ui-table-isDxWkmA.js → vue-ui-table-B4kfykAO.js} +1 -1
  115. package/dist/{vue-ui-table-heatmap-tqdvfQH_.cjs → vue-ui-table-heatmap-CGKecjtm.cjs} +1 -1
  116. package/dist/{vue-ui-table-heatmap-DdEcsnYm.js → vue-ui-table-heatmap-YZRSzwRM.js} +4 -4
  117. package/dist/{vue-ui-table-sparkline-By0R0tDV.js → vue-ui-table-sparkline-C0v2r4Kf.js} +5 -5
  118. package/dist/{vue-ui-table-sparkline-D2Eyb3oO.cjs → vue-ui-table-sparkline-CHFZG3Tg.cjs} +1 -1
  119. package/dist/{vue-ui-table-CYfUUquW.cjs → vue-ui-table-xWvAQS-s.cjs} +1 -1
  120. package/dist/{vue-ui-thermometer-CewCkrgl.js → vue-ui-thermometer-D5qurIy7.js} +5 -5
  121. package/dist/{vue-ui-thermometer-DT_17Yji.cjs → vue-ui-thermometer-DoOxxVW1.cjs} +1 -1
  122. package/dist/{vue-ui-timer-aFikwHk0.cjs → vue-ui-timer-D63zHe-I.cjs} +1 -1
  123. package/dist/{vue-ui-timer-VmBMBL_O.js → vue-ui-timer-VWjovnKL.js} +4 -4
  124. package/dist/{vue-ui-tiremarks-CyvUhC9g.cjs → vue-ui-tiremarks-Cp8YEmXh.cjs} +1 -1
  125. package/dist/{vue-ui-tiremarks-8YMG58Ot.js → vue-ui-tiremarks-jH6cdQOJ.js} +5 -5
  126. package/dist/{vue-ui-treemap-DlU_2b5A.js → vue-ui-treemap-BCc5sQLB.js} +9 -9
  127. package/dist/{vue-ui-treemap-83V4TBu2.cjs → vue-ui-treemap-DJrdEFW5.cjs} +1 -1
  128. package/dist/{vue-ui-vertical-bar-D8KpbB9m.js → vue-ui-vertical-bar-2In_g5iC.js} +364 -363
  129. package/dist/vue-ui-vertical-bar-BfJJqN_z.cjs +4 -0
  130. package/dist/{vue-ui-waffle-Dn1tci28.cjs → vue-ui-waffle-A2gmRbq0.cjs} +1 -1
  131. package/dist/{vue-ui-waffle-D5nczTQz.js → vue-ui-waffle-OzU830VX.js} +9 -9
  132. package/dist/{vue-ui-wheel-D0B43FnX.js → vue-ui-wheel-C9QXzWu1.js} +5 -5
  133. package/dist/{vue-ui-wheel-DWqZIkI0.cjs → vue-ui-wheel-DGSh9VKq.cjs} +1 -1
  134. package/dist/{vue-ui-word-cloud-DXEW7oYX.js → vue-ui-word-cloud-C2ZaVlfO.js} +7 -7
  135. package/dist/{vue-ui-word-cloud-BEebLRtX.cjs → vue-ui-word-cloud-DPFB1MYk.cjs} +1 -1
  136. package/dist/{vue-ui-xy-8508ou3J.cjs → vue-ui-xy-C-2-aijE.cjs} +2 -2
  137. package/dist/{vue-ui-xy-O3zBtp22.js → vue-ui-xy-DuJtYXKl.js} +16 -16
  138. package/dist/{vue-ui-xy-canvas-AMNGVzal.js → vue-ui-xy-canvas-CKibMJHh.js} +10 -10
  139. package/dist/{vue-ui-xy-canvas-CssfbLPK.cjs → vue-ui-xy-canvas-D7wf3xab.cjs} +1 -1
  140. package/package.json +1 -1
  141. package/dist/vue-ui-vertical-bar-DFlujd2F.cjs +0 -4
@@ -1,14 +1,14 @@
1
- import { useCssVars as Ge, computed as b, ref as p, onMounted as Ue, onBeforeUnmount as He, openBlock as i, createElementBlock as v, normalizeClass as O, normalizeStyle as d, createVNode as A, createCommentVNode as m, createBlock as oe, unref as y, createSlots as We, withCtx as _, renderSlot as x, normalizeProps as j, guardReactiveProps as Y, createElementVNode as u, toDisplayString as c, Fragment as E, renderList as G, withKeys as je, createTextVNode as Ye } from "vue";
2
- import { u as qe, c as Ke, t as Je, a as Qe, p as z, b as Ze, o as Ce, e as q, s as T, d as ue, i as K, f as F, X as et, v as tt, w as ne, x as at, y as lt, q as ot, r as ut } from "./index-BYuu8ZDR.js";
3
- import { t as nt, u as st } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as rt } from "./Title-B_AI8tEZ.js";
5
- import { u as it, U as dt } from "./usePrinter-DqIk1aRq.js";
6
- import { _ as ct } from "./Tooltip-CPewpyRa.js";
7
- import { L as Te } from "./Legend-VJiB_MLq.js";
8
- import vt from "./vue-ui-skeleton-DY6dv9ms.js";
9
- import ht from "./BaseIcon-CPk98Gv1.js";
10
- import pt from "./vue-ui-accordion-CW9p_36e.js";
11
- import { u as Le } from "./useNestedProp-DdJ6Grxg.js";
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
12
  import { _ as yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
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 = {
14
14
  key: 4,
@@ -30,67 +30,67 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
30
30
  }
31
31
  },
32
32
  emits: ["selectLegend"],
33
- setup(Ne, { expose: Pe, emit: Se }) {
34
- const L = Ne;
33
+ setup(Pe, { expose: Se, emit: Ve }) {
34
+ const N = Pe;
35
35
  Ge((a) => ({
36
- "7bc84c58": a.tdo
36
+ ad951260: a.tdo
37
37
  }));
38
- const { vue_ui_vertical_bar: Ve } = qe(), U = b(() => !!L.dataset && L.dataset.length), P = p(Ke()), ze = p(null), J = p(!1), Q = p(""), H = p(0), Fe = p(null), se = p(0), D = p(null), re = p(null), Z = p(null), e = b(() => {
39
- const a = Le({
40
- userConfig: L.config,
41
- defaultConfig: Ve
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
42
42
  });
43
43
  return a.theme ? {
44
- ...Le({
45
- userConfig: Je.vue_ui_vertical_bar[a.theme] || L.config,
44
+ ...Ne({
45
+ userConfig: Je.vue_ui_vertical_bar[a.theme] || N.config,
46
46
  defaultConfig: a
47
47
  }),
48
- customPalette: Qe[a.theme] || z
48
+ customPalette: Qe[a.theme] || M
49
49
  } : a;
50
- }), { isPrinting: ie, isImaging: de, generatePdf: ce, generateImage: ve } = it({
51
- elementId: `vue-ui-vertical-bar_${P.value}`,
50
+ }), { isPrinting: de, isImaging: ce, generatePdf: ve, generateImage: he } = it({
51
+ elementId: `vue-ui-vertical-bar_${V.value}`,
52
52
  fileName: e.value.style.chart.title.text || "vue-ui-vertical-bar"
53
- }), he = b(() => Ze(e.value.customPalette)), pe = p(null), ye = p(!1), Me = b(() => e.value.table.responsiveBreakpoint), W = p(null);
53
+ }), pe = b(() => Ze(e.value.customPalette)), ye = v(null), ge = v(!1), Ie = b(() => e.value.table.responsiveBreakpoint), Y = v(null);
54
54
  Ue(() => {
55
- if (Ce(L.dataset) && q({
55
+ if (Te(N.dataset) && J({
56
56
  componentName: "VueUiVerticalBar",
57
57
  type: "dataset"
58
- }), H.value = L.dataset.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0), Ie(), e.value.responsive) {
59
- const a = nt(() => {
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
60
  const { width: l, height: t } = st({
61
- chart: D.value,
62
- title: e.value.style.chart.title.text ? re.value : null,
63
- legend: e.value.style.chart.legend.show ? Z.value : null
61
+ chart: R.value,
62
+ title: e.value.style.chart.title.text ? ie.value : null,
63
+ legend: e.value.style.chart.legend.show ? te.value : null
64
64
  });
65
- be.value = l, h.value = t / H.value - f.value * 2;
65
+ me.value = l, c.value = t / j.value - g.value * 2;
66
66
  });
67
- W.value = new ResizeObserver(a), W.value.observe(D.value.parentNode);
67
+ Y.value = new ResizeObserver(a), Y.value.observe(R.value.parentNode);
68
68
  }
69
69
  }), He(() => {
70
- W.value && W.value.disconnect();
70
+ Y.value && Y.value.disconnect();
71
71
  });
72
- function Ie() {
72
+ function Be() {
73
73
  new ResizeObserver((l) => {
74
74
  l.forEach((t) => {
75
- ye.value = t.contentRect.width < Me.value;
75
+ ge.value = t.contentRect.width < Ie.value;
76
76
  });
77
- }).observe(pe.value);
77
+ }).observe(ye.value);
78
78
  }
79
- const k = p({
79
+ const $ = v({
80
80
  showTable: e.value.table.show,
81
81
  sortDesc: e.value.style.chart.layout.bars.sort === "desc",
82
82
  showTooltip: e.value.style.chart.tooltip.show
83
- }), ge = b(() => k.value.sortDesc), S = b(() => (L.dataset.forEach((a, l) => {
84
- !a.value && !a.children && q({
83
+ }), fe = b(() => $.value.sortDesc), z = b(() => (N.dataset.forEach((a, l) => {
84
+ !a.value && !a.children && J({
85
85
  componentName: "VueUiVerticalBar",
86
86
  type: "datasetAttributeEmpty",
87
87
  property: `value (index ${l})`
88
- }), a.children && (Ce(a.children) ? q({
88
+ }), a.children && (Te(a.children) ? J({
89
89
  componentName: "VueUiVerticalBar",
90
90
  type: "datasetAttributeEmpty",
91
91
  property: `children (index ${l})`
92
92
  }) : a.children.forEach((t, o) => {
93
- [null, void 0].includes(t.name) && q({
93
+ [null, void 0].includes(t.name) && J({
94
94
  componentName: "VueUiVerticalBar",
95
95
  type: "datasetSerieAttribute",
96
96
  property: "name",
@@ -98,157 +98,158 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
98
98
  index: o
99
99
  });
100
100
  }));
101
- }), L.dataset.map((a, l) => {
102
- const t = `vertical_parent_${l}_${P.value}`, o = !!a.children && a.children.length > 0;
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;
103
103
  return {
104
104
  ...a,
105
105
  id: t,
106
106
  shape: "square",
107
- opacity: w.value.includes(t) ? 0.5 : 1,
108
- value: T(o ? a.children.map((s) => s.value || 0).reduce((s, r) => s + r, 0) : Math.abs(a.value) || 0),
109
- sign: a.value >= 0 ? 1 : -1,
107
+ opacity: C.value.includes(t) ? 0.5 : 1,
108
+ value: Math.abs(f),
109
+ sign: p,
110
110
  hasChildren: o,
111
111
  isChild: !1,
112
- segregate: () => R(t),
113
- isSegregated: w.value.includes(t),
114
- color: ue(a.color) || he.value[l] || z[l] || z[l % z.length],
115
- children: !a.children || !a.children.length ? [] : a.children.toSorted((s, r) => ge.value ? r.value - s.value : s.value - r.value).map((s, r) => ({
116
- ...s,
117
- value: T(Math.abs(s.value)),
118
- sign: s.value >= 0 ? 1 : -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) => ({
116
+ ..._,
117
+ value: S(Math.abs(_.value)),
118
+ sign: _.value >= 0 ? 1 : -1,
119
119
  isChild: !0,
120
120
  parentId: t,
121
121
  parentName: a.name,
122
- parentValue: T(a.value || o ? a.children.map((le) => le.value || 0).reduce((le, Ee) => le + Ee, 0) : 0),
123
- id: `vertical_child_${l}_${r}_${P.value}`,
124
- childIndex: r,
125
- color: ue(s.color) || ue(a.color) || he.value[l] || z[l] || z[l % z.length]
126
- })).map((s, r) => ({
127
- ...s,
128
- isFirstChild: r === 0,
129
- isLastChild: r === a.children.length - 1
122
+ parentValue: f,
123
+ 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) => ({
128
+ ..._,
129
+ isFirstChild: L === 0,
130
+ isLastChild: L === a.children.length - 1
130
131
  }))
131
132
  };
132
- }).toSorted((a, l) => ge.value ? l.value - a.value : a.value - l.value))), fe = b(() => ({
133
+ }).toSorted((a, l) => fe.value ? l.value - a.value : a.value - l.value))), be = b(() => ({
133
134
  cy: "vertical-bar-div-legend",
134
135
  backgroundColor: e.value.style.chart.legend.backgroundColor,
135
136
  color: e.value.style.chart.legend.color,
136
137
  fontSize: e.value.style.chart.legend.fontSize,
137
138
  paddingBottom: 12,
138
139
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
139
- })), h = p(e.value.style.chart.layout.bars.height), f = p(e.value.style.chart.layout.bars.gap), Be = b(() => (h.value + f.value) * H.value), be = p(512), g = b(() => ({
140
- width: be.value,
141
- height: Be.value,
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,
142
143
  padding: {
143
144
  top: 12,
144
145
  left: 128 + e.value.style.chart.layout.bars.offsetX,
145
146
  right: 64 + e.value.style.chart.layout.bars.paddingRight,
146
147
  bottom: 12
147
148
  }
148
- })), n = b(() => ({
149
- fullHeight: g.value.padding.top + g.value.padding.bottom + g.value.height,
150
- top: g.value.padding.top,
151
- left: g.value.padding.left,
152
- right: g.value.width - g.value.padding.right,
153
- bottom: g.value.padding.top + g.value.height,
154
- width: g.value.width - (g.value.padding.left + g.value.padding.right)
149
+ })), u = b(() => ({
150
+ fullHeight: y.value.padding.top + y.value.padding.bottom + y.value.height,
151
+ top: y.value.padding.top,
152
+ left: y.value.padding.left,
153
+ right: y.value.width - y.value.padding.right,
154
+ bottom: y.value.padding.top + y.value.height,
155
+ width: y.value.width - (y.value.padding.left + y.value.padding.right)
155
156
  }));
156
- function ee() {
157
- H.value = V.value.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0);
157
+ function ae() {
158
+ j.value = F.value.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0);
158
159
  }
159
- const w = p([]);
160
- function R(a) {
161
- w.value.includes(a) ? w.value = w.value.filter((l) => l !== a) : w.value.push(a), ee(), Se("selectLegend", V.value);
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);
162
163
  }
163
- const V = b(() => S.value.filter((a) => !w.value.includes(a.id))), C = b(() => V.value.map((a) => Math.abs(a.value)).reduce((a, l) => a + l, 0));
164
- function me(a, l = !1, t = 0) {
165
- return l ? F({
166
- v: T(Math.abs(a) / C.value * 100),
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) {
166
+ return l ? I({
167
+ v: S(Math.abs(a) / T.value * 100),
167
168
  s: "%",
168
169
  r: t
169
- }) : Math.abs(a) / C.value;
170
+ }) : Math.abs(a) / T.value;
170
171
  }
171
- const M = b(() => V.value.flatMap((a) => a.hasChildren ? a.children : a)), I = b(() => M.value.map((a) => a.sign).includes(-1)), Oe = b(() => Math.max(...V.value.flatMap((a) => a.children && a.children.length ? Math.max(...a.children.map((l) => l.value)) : a.value)));
172
- function N(a) {
173
- const l = a / Oe.value;
174
- return n.value.width / (I.value ? 2 : 1) * l;
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)));
173
+ function P(a) {
174
+ const l = a / De.value;
175
+ return u.value.width / (O.value ? 2 : 1) * l;
175
176
  }
176
- function De(a) {
177
- return N(a) + n.value.left;
177
+ function Re(a) {
178
+ return P(a) + u.value.left;
178
179
  }
179
- function B(a, l) {
180
- const t = V.value.find((r) => r.id === a.parentId), o = n.value.top + (f.value + h.value) * l, s = t.children.length * (f.value + h.value);
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);
181
182
  return {
182
- y: o + s / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
183
+ y: o + f / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
183
184
  name: t.name,
184
185
  value: [void 0, NaN, null].includes(t.value) ? "" : t.sign === 1 ? t.value : -t.value,
185
- percentageToTotal: isNaN(t.value / C.value) ? "" : me(t.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
186
+ percentageToTotal: isNaN(t.value / T.value) ? "" : _e(t.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
186
187
  sign: t.sign
187
188
  };
188
189
  }
189
- function Re() {
190
- return V.value;
190
+ function Xe() {
191
+ return F.value;
191
192
  }
192
- const te = p(null), ae = p(null);
193
- function Xe(a, l) {
194
- ae.value = {
193
+ const le = v(null), oe = v(null);
194
+ function Ae(a, l) {
195
+ oe.value = {
195
196
  datapoint: a,
196
197
  seriesIndex: l,
197
- series: S.value,
198
+ series: z.value,
198
199
  config: e.value
199
- }, J.value = !0, te.value = a.id;
200
+ }, Z.value = !0, le.value = a.id;
200
201
  let t = "";
201
- const o = a.isChild ? a.parentName : a.name, s = a.isChild ? a.name : "", r = e.value.style.chart.tooltip.customFormat;
202
- at(r) && lt(() => r({
202
+ 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({
203
204
  datapoint: a,
204
- series: S.value,
205
+ series: z.value,
205
206
  config: e.value,
206
207
  seriesIndex: l
207
- })) ? Q.value = r({
208
+ })) ? ee.value = p({
208
209
  datapoint: a,
209
- series: S.value,
210
+ series: z.value,
210
211
  config: e.value,
211
212
  seriesIndex: l
212
213
  }) : (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;">
213
214
  <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>
214
- ${s ? `<div>${s}</div>` : ""}
215
- </div>`, e.value.style.chart.tooltip.showValue && (t += `<div>${e.value.translations.value}: <b>${K(
215
+ ${f ? `<div>${f}</div>` : ""}
216
+ </div>`, e.value.style.chart.tooltip.showValue && (t += `<div>${e.value.translations.value}: <b>${Q(
216
217
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
217
218
  a.sign === 1 ? a.value : -a.value,
218
- F({
219
+ I({
219
220
  p: e.value.style.chart.tooltip.prefix,
220
221
  v: a.sign === 1 ? a.value : -a.value,
221
222
  s: e.value.style.chart.tooltip.suffix,
222
223
  r: e.value.style.chart.tooltip.roundingValue
223
224
  }),
224
225
  { datapoint: a, seriesIndex: l }
225
- )}</b></div>`), e.value.style.chart.tooltip.showPercentage && (t += `<div>${e.value.translations.percentageToTotal} : <b>${F({
226
- v: Math.abs(a.value) / C.value * 100,
226
+ )}</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,
227
228
  s: "%",
228
229
  r: e.value.style.chart.tooltip.roundingPercentage
229
- })}</b></div>`, a.isChild && (t += `<div>${e.value.translations.percentageToSerie}: <b>${F({
230
+ })}</b></div>`, a.isChild && (t += `<div>${e.value.translations.percentageToSerie}: <b>${I({
230
231
  v: Math.abs(a.value) / Math.abs(a.parentValue) * 100,
231
232
  s: "%",
232
233
  r: e.value.style.chart.tooltip.roundingPercentage
233
- })}</b></div>`)), Q.value = `<div style="text-align:left">${t}</div>`);
234
+ })}</b></div>`)), ee.value = `<div style="text-align:left">${t}</div>`);
234
235
  }
235
- function _e(a, l, t, o) {
236
+ function xe(a, l, t, o) {
236
237
  if (!e.value.style.chart.layout.bars.dataLabels.value.show)
237
238
  return "";
238
- const s = K(
239
+ const f = Q(
239
240
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
240
- T(o === -1 && a >= 0 ? -a : a),
241
- F({
241
+ S(o === -1 && a >= 0 ? -a : a),
242
+ I({
242
243
  p: e.value.style.chart.layout.bars.dataLabels.value.prefix,
243
- v: T(o === -1 && a >= 0 ? -a : a),
244
+ v: S(o === -1 && a >= 0 ? -a : a),
244
245
  s: e.value.style.chart.layout.bars.dataLabels.value.suffix,
245
246
  r: e.value.style.chart.layout.bars.dataLabels.value.roundingValue
246
247
  }),
247
248
  { datapoint: l, seriesIndex: t }
248
- ), r = `(${me(a, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
249
- return `${s}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${r}` : ""}`;
249
+ ), p = `(${_e(a, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
250
+ return `${f}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${p}` : ""}`;
250
251
  }
251
- const $ = b(() => {
252
+ const w = b(() => {
252
253
  const a = [
253
254
  e.value.translations.parentName,
254
255
  e.value.translations.value,
@@ -257,15 +258,15 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
257
258
  e.value.translations.value,
258
259
  e.value.translations.percentageToSerie,
259
260
  e.value.translations.percentageToTotal
260
- ], l = M.value.map((t) => t.isChild ? t.isFirstChild ? {
261
+ ], l = B.value.map((t) => t.isChild ? t.isFirstChild ? {
261
262
  color: t.color,
262
263
  parentName: t.parentName,
263
264
  parentValue: t.parentValue,
264
- percentageToTotal: t.parentValue / C.value,
265
+ percentageToTotal: t.parentValue / T.value,
265
266
  childName: t.name,
266
267
  childValue: t.sign === 1 ? t.value : -t.value,
267
268
  childPercentageToParent: Math.abs(t.value) / Math.abs(t.parentValue),
268
- childPercentageToTotal: Math.abs(t.value) / C.value
269
+ childPercentageToTotal: Math.abs(t.value) / T.value
269
270
  } : {
270
271
  color: "",
271
272
  parentName: "",
@@ -274,12 +275,12 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
274
275
  childName: t.name,
275
276
  childValue: t.sign === 1 ? t.value : -t.value,
276
277
  childPercentageToParent: Math.abs(t.value) / Math.abs(t.parentValue),
277
- childPercentageToTotal: Math.abs(t.value) / C.value
278
+ childPercentageToTotal: Math.abs(t.value) / T.value
278
279
  } : {
279
280
  color: t.color,
280
281
  parentName: t.name,
281
282
  parentValue: t.sign === 1 ? t.value : -t.value,
282
- percentageToTotal: Math.abs(t.value) / C.value,
283
+ percentageToTotal: Math.abs(t.value) / T.value,
283
284
  childName: "",
284
285
  childValue: "",
285
286
  childPercentageToParent: "",
@@ -287,54 +288,54 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
287
288
  });
288
289
  return { head: a, body: l };
289
290
  });
290
- function xe() {
291
- const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = $.value.head, t = $.value.body.map((r) => [
292
- r.parentName,
293
- r.parentValue,
294
- r.percentageToTotal,
295
- r.childName,
296
- r.childValue,
297
- r.childPercentageToParent,
298
- r.childPercentageToTotal
299
- ]), o = a.concat([l]).concat(t), s = ot(o);
300
- ut({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
301
- }
302
- const X = p(!1);
303
- function Ae(a) {
304
- X.value = a, se.value += 1;
305
- }
306
291
  function ke() {
307
- k.value.showTable = !k.value.showTable;
292
+ 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
+ p.parentName,
294
+ p.parentValue,
295
+ p.percentageToTotal,
296
+ p.childName,
297
+ p.childValue,
298
+ p.childPercentageToParent,
299
+ 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" });
302
+ }
303
+ const E = v(!1);
304
+ function Ee(a) {
305
+ E.value = a, re.value += 1;
308
306
  }
309
307
  function $e() {
310
- k.value.sortDesc = !k.value.sortDesc, ee();
308
+ $.value.showTable = !$.value.showTable;
311
309
  }
312
310
  function we() {
313
- k.value.showTooltip = !k.value.showTooltip;
311
+ $.value.sortDesc = !$.value.sortDesc, ae();
312
+ }
313
+ function Ce() {
314
+ $.value.showTooltip = !$.value.showTooltip;
314
315
  }
315
- return Pe({
316
- getData: Re,
317
- recalculateHeight: ee,
318
- generatePdf: ce,
319
- generateCsv: xe,
320
- generateImage: ve,
321
- toggleTable: ke,
322
- toggleSort: $e,
323
- toggleTooltip: we
324
- }), (a, l) => (i(), v("div", {
325
- class: O(`vue-ui-vertical-bar ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
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"}`),
326
327
  ref_key: "verticalBarChart",
327
- ref: D,
328
- id: `vue-ui-vertical-bar_${P.value}`,
329
- 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%" : ""}`)
328
+ ref: R,
329
+ id: `vue-ui-vertical-bar_${V.value}`,
330
+ 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%" : ""}`)
330
331
  }, [
331
- e.value.style.chart.title.text ? (i(), v("div", {
332
+ e.value.style.chart.title.text ? (s(), d("div", {
332
333
  key: 0,
333
334
  ref_key: "chartTitle",
334
- ref: re,
335
- style: d(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:12px`)
335
+ ref: ie,
336
+ style: r(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:12px`)
336
337
  }, [
337
- A(rt, {
338
+ G(rt, {
338
339
  config: {
339
340
  title: {
340
341
  cy: "vertical-bar-div-title",
@@ -347,15 +348,15 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
347
348
  }
348
349
  }, null, 8, ["config"])
349
350
  ], 4)) : m("", !0),
350
- e.value.userOptions.show && U.value ? (i(), oe(dt, {
351
+ e.value.userOptions.show && W.value ? (s(), ne(dt, {
351
352
  ref_key: "details",
352
- ref: ze,
353
- key: `user_options_${se.value}`,
353
+ ref: Fe,
354
+ key: `user_options_${re.value}`,
354
355
  backgroundColor: e.value.style.chart.backgroundColor,
355
356
  color: e.value.style.chart.color,
356
- isImaging: y(de),
357
- isPrinting: y(ie),
358
- uid: P.value,
357
+ isImaging: h(ce),
358
+ isPrinting: h(de),
359
+ uid: V.value,
359
360
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
360
361
  hasPdf: e.value.userOptions.buttons.pdf,
361
362
  hasImg: e.value.userOptions.buttons.img,
@@ -363,94 +364,94 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
363
364
  hasTable: e.value.userOptions.buttons.table,
364
365
  hasSort: e.value.userOptions.buttons.sort,
365
366
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
366
- isFullscreen: X.value,
367
- isTooltip: k.value.showTooltip,
367
+ isFullscreen: E.value,
368
+ isTooltip: $.value.showTooltip,
368
369
  titles: { ...e.value.userOptions.buttonTitles },
369
- chartElement: D.value,
370
- onToggleFullscreen: Ae,
371
- onGeneratePdf: y(ce),
372
- onGenerateCsv: xe,
373
- onGenerateImage: y(ve),
374
- onToggleTable: ke,
375
- onToggleSort: $e,
376
- onToggleTooltip: we
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
377
378
  }, We({ _: 2 }, [
378
379
  a.$slots.optionTooltip ? {
379
380
  name: "optionTooltip",
380
- fn: _(() => [
381
- x(a.$slots, "optionTooltip", {}, void 0, !0)
381
+ fn: x(() => [
382
+ k(a.$slots, "optionTooltip", {}, void 0, !0)
382
383
  ]),
383
384
  key: "0"
384
385
  } : void 0,
385
386
  a.$slots.optionPdf ? {
386
387
  name: "optionPdf",
387
- fn: _(() => [
388
- x(a.$slots, "optionPdf", {}, void 0, !0)
388
+ fn: x(() => [
389
+ k(a.$slots, "optionPdf", {}, void 0, !0)
389
390
  ]),
390
391
  key: "1"
391
392
  } : void 0,
392
393
  a.$slots.optionCsv ? {
393
394
  name: "optionCsv",
394
- fn: _(() => [
395
- x(a.$slots, "optionCsv", {}, void 0, !0)
395
+ fn: x(() => [
396
+ k(a.$slots, "optionCsv", {}, void 0, !0)
396
397
  ]),
397
398
  key: "2"
398
399
  } : void 0,
399
400
  a.$slots.optionImg ? {
400
401
  name: "optionImg",
401
- fn: _(() => [
402
- x(a.$slots, "optionImg", {}, void 0, !0)
402
+ fn: x(() => [
403
+ k(a.$slots, "optionImg", {}, void 0, !0)
403
404
  ]),
404
405
  key: "3"
405
406
  } : void 0,
406
407
  a.$slots.optionTable ? {
407
408
  name: "optionTable",
408
- fn: _(() => [
409
- x(a.$slots, "optionTable", {}, void 0, !0)
409
+ fn: x(() => [
410
+ k(a.$slots, "optionTable", {}, void 0, !0)
410
411
  ]),
411
412
  key: "4"
412
413
  } : void 0,
413
414
  a.$slots.optionLabels ? {
414
415
  name: "optionLabels",
415
- fn: _(() => [
416
- x(a.$slots, "optionLabels", {}, void 0, !0)
416
+ fn: x(() => [
417
+ k(a.$slots, "optionLabels", {}, void 0, !0)
417
418
  ]),
418
419
  key: "5"
419
420
  } : void 0,
420
421
  a.$slots.optionSort ? {
421
422
  name: "optionSort",
422
- fn: _(() => [
423
- x(a.$slots, "optionSort", {}, void 0, !0)
423
+ fn: x(() => [
424
+ k(a.$slots, "optionSort", {}, void 0, !0)
424
425
  ]),
425
426
  key: "6"
426
427
  } : void 0,
427
428
  a.$slots.optionFullscreen ? {
428
429
  name: "optionFullscreen",
429
- fn: _(({ toggleFullscreen: t, isFullscreen: o }) => [
430
- x(a.$slots, "optionFullscreen", j(Y({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
430
+ fn: x(({ toggleFullscreen: t, isFullscreen: o }) => [
431
+ k(a.$slots, "optionFullscreen", q(K({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
431
432
  ]),
432
433
  key: "7"
433
434
  } : void 0
434
435
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : m("", !0),
435
- e.value.style.chart.legend.show && e.value.style.chart.legend.position === "top" ? (i(), v("div", {
436
+ e.value.style.chart.legend.show && e.value.style.chart.legend.position === "top" ? (s(), d("div", {
436
437
  key: 2,
437
438
  ref_key: "chartLegend",
438
- ref: Z
439
+ ref: te
439
440
  }, [
440
- A(Te, {
441
- legendSet: S.value,
442
- config: fe.value,
443
- onClickMarker: l[0] || (l[0] = ({ legend: t }) => R(t.id))
441
+ G(Le, {
442
+ legendSet: z.value,
443
+ config: be.value,
444
+ onClickMarker: l[0] || (l[0] = ({ legend: t }) => X(t.id))
444
445
  }, {
445
- item: _(({ legend: t, index: o }) => [
446
- u("div", {
446
+ item: x(({ legend: t, index: o }) => [
447
+ n("div", {
447
448
  "data-cy-legend-item": "",
448
- onClick: (s) => R(t.id),
449
- style: d(`opacity:${w.value.includes(t.id) ? 0.5 : 1}`)
450
- }, c(t.name) + ": " + c(y(K)(
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)(
451
452
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
452
453
  t.value,
453
- y(F)({
454
+ h(I)({
454
455
  p: e.value.style.chart.legend.prefix,
455
456
  v: t.value,
456
457
  s: e.value.style.chart.legend.suffix,
@@ -462,126 +463,126 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
462
463
  _: 1
463
464
  }, 8, ["legendSet", "config"])
464
465
  ], 512)) : m("", !0),
465
- U.value ? (i(), v("svg", {
466
+ W.value ? (s(), d("svg", {
466
467
  key: 3,
467
- xmlns: y(et),
468
- class: O({ "vue-data-ui-fullscreen--on": X.value, "vue-data-ui-fulscreen--off": !X.value }),
469
- viewBox: `0 0 ${g.value.width <= 0 ? 10 : g.value.width} ${n.value.fullHeight <= 0 ? 10 : n.value.fullHeight}`,
470
- style: d(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
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}`,
471
+ style: r(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
471
472
  }, [
472
- (i(!0), v(E, null, G(M.value, (t, o) => (i(), v("linearGradient", {
473
+ (s(!0), d(U, null, H(B.value, (t, o) => (s(), d("linearGradient", {
473
474
  x1: "0%",
474
475
  y1: "0%",
475
476
  x2: "100%",
476
477
  y2: "0%",
477
- id: `vertical_bar_gradient_${P.value}_${o}`
478
+ id: `vertical_bar_gradient_${V.value}_${o}`
478
479
  }, [
479
- u("stop", {
480
+ n("stop", {
480
481
  offset: "0%",
481
482
  "stop-color": t.color
482
483
  }, null, 8, _t),
483
- u("stop", {
484
+ n("stop", {
484
485
  offset: "100%",
485
- "stop-color": `${y(tt)(t.color, 0.03)}${y(ne)[100 - e.value.style.chart.layout.bars.gradientIntensity]}`
486
+ "stop-color": `${h(tt)(t.color, 0.03)}${h(se)[100 - e.value.style.chart.layout.bars.gradientIntensity]}`
486
487
  }, null, 8, xt)
487
488
  ], 8, mt))), 256)),
488
- (i(!0), v(E, null, G(M.value, (t, o) => (i(), v("g", null, [
489
- u("rect", {
490
- x: y(T)(I.value ? n.value.left + n.value.width / 2 - (t.sign === 1 ? 0 : N(t.value) <= 0 ? 1e-4 : N(t.value)) : n.value.left),
491
- y: n.value.top + (f.value + h.value) * o,
492
- width: y(T)(N(t.value) <= 0 ? 1e-4 : N(t.value)),
493
- height: h.value <= 0 ? 1e-4 : h.value,
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,
493
+ width: h(S)(P(t.value) <= 0 ? 1e-4 : P(t.value)),
494
+ height: c.value <= 0 ? 1e-4 : c.value,
494
495
  fill: e.value.style.chart.layout.bars.underlayerColor,
495
496
  rx: e.value.style.chart.layout.bars.borderRadius,
496
- class: O({ animated: e.value.useCssAnimation })
497
+ class: D({ animated: e.value.useCssAnimation })
497
498
  }, null, 10, kt)
498
499
  ]))), 256)),
499
- (i(!0), v(E, null, G(M.value, (t, o) => (i(), v("g", null, [
500
- u("rect", {
501
- x: y(T)(I.value ? n.value.left + n.value.width / 2 - (t.sign === 1 ? 0 : N(t.value) <= 0 ? 1e-4 : N(t.value)) : n.value.left),
502
- y: n.value.top + (f.value + h.value) * o,
503
- width: y(T)(N(t.value) <= 0 ? 1e-4 : N(t.value)),
504
- height: h.value <= 0 ? 1e-4 : h.value,
505
- fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${P.value}_${o})` : `${t.color}${y(ne)[e.value.style.chart.layout.bars.fillOpacity]}`,
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,
504
+ width: h(S)(P(t.value) <= 0 ? 1e-4 : P(t.value)),
505
+ height: c.value <= 0 ? 1e-4 : c.value,
506
+ 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]}`,
506
507
  rx: e.value.style.chart.layout.bars.borderRadius,
507
508
  stroke: e.value.style.chart.layout.bars.useStroke ? t.color : "none",
508
509
  "stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
509
- class: O({ animated: e.value.useCssAnimation })
510
+ class: D({ animated: e.value.useCssAnimation })
510
511
  }, null, 10, $t),
511
- (!t.isChild || t.isLastChild) && e.value.style.chart.layout.separators.show && o !== M.value.length - 1 ? (i(), v("line", {
512
+ (!t.isChild || t.isLastChild) && e.value.style.chart.layout.separators.show && o !== B.value.length - 1 ? (s(), d("line", {
512
513
  key: 0,
513
514
  x1: 0,
514
- x2: n.value.left,
515
- y1: h.value + f.value / 2 + n.value.top + (f.value + h.value) * o,
516
- y2: h.value + f.value / 2 + n.value.top + (f.value + h.value) * o,
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,
517
518
  stroke: e.value.style.chart.layout.separators.color,
518
519
  "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
519
520
  "stroke-linecap": "round"
520
521
  }, null, 8, wt)) : m("", !0),
521
- I.value && e.value.style.chart.layout.separators.show ? (i(), v("line", {
522
+ O.value && e.value.style.chart.layout.separators.show ? (s(), d("line", {
522
523
  key: 1,
523
- x1: n.value.left + n.value.width / 2,
524
- x2: n.value.left + n.value.width / 2,
525
- y1: n.value.top,
526
- y2: n.value.bottom,
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,
527
528
  stroke: e.value.style.chart.layout.separators.color,
528
529
  "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
529
530
  "stroke-linecap": "round"
530
531
  }, null, 8, Ct)) : m("", !0),
531
- u("text", {
532
- x: I.value ? n.value.left + n.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) : De(t.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
533
- y: n.value.top + (f.value + h.value) * o + h.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
534
- "text-anchor": !I.value || t.sign === -1 ? "start" : "end",
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,
535
+ "text-anchor": !O.value || t.sign === -1 ? "start" : "end",
535
536
  "font-size": e.value.style.chart.layout.bars.dataLabels.fontSize,
536
537
  fill: e.value.style.chart.layout.bars.dataLabels.color,
537
538
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
538
- }, c(_e(t.value, t, o, t.sign)), 9, Tt),
539
- (t.isChild || !t.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (i(), v("text", {
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", {
540
541
  key: 2,
541
542
  "text-anchor": "end",
542
- x: n.value.left - 3 + e.value.style.chart.layout.bars.nameLabels.offsetX,
543
- y: n.value.top + (f.value + h.value) * o + h.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2,
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,
544
545
  "font-size": e.value.style.chart.layout.bars.nameLabels.fontSize,
545
546
  fill: e.value.style.chart.layout.bars.nameLabels.color,
546
547
  "font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal"
547
- }, c(t.name), 9, Lt)) : m("", !0),
548
- t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (i(), v("text", {
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", {
549
550
  key: 3,
550
551
  x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
551
- y: B(t, o).y,
552
+ y: A(t, o).y,
552
553
  "font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
553
554
  fill: e.value.style.chart.layout.bars.parentLabels.color,
554
555
  "font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
555
556
  "text-anchor": "start"
556
- }, c(B(t, o).name), 9, Nt)) : m("", !0),
557
- t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (i(), v("text", {
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", {
558
559
  key: 4,
559
560
  x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
560
- y: B(t, o).y + e.value.style.chart.layout.bars.parentLabels.fontSize + 6,
561
+ y: A(t, o).y + e.value.style.chart.layout.bars.parentLabels.fontSize + 6,
561
562
  "font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
562
563
  fill: e.value.style.chart.layout.bars.parentLabels.color,
563
564
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
564
565
  "text-anchor": "start"
565
- }, c(_e(B(t, o).value), B(t, o), o, B(t, o).sign), 9, Pt)) : m("", !0),
566
- u("rect", {
566
+ }, i(xe(A(t, o).value), A(t, o), o, t.parentSign || t.sign), 9, Pt)) : m("", !0),
567
+ n("rect", {
567
568
  "data-cy-trap": "",
568
569
  x: 0,
569
- y: n.value.top + (f.value + h.value) * o - f.value / 2,
570
- width: g.value.width <= 0 ? 1e-4 : g.value.width,
571
- height: h.value + f.value <= 0 ? 1e-4 : h.value + f.value,
572
- fill: te.value === t.id ? `${e.value.style.chart.layout.highlighter.color}${y(ne)[e.value.style.chart.layout.highlighter.opacity]}` : "transparent",
573
- onMouseenter: (s) => Xe(t, o),
574
- onMouseleave: l[1] || (l[1] = (s) => {
575
- Fe.value = null, J.value = !1, te.value = null;
570
+ y: u.value.top + (g.value + c.value) * o - g.value / 2,
571
+ 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),
575
+ onMouseleave: l[1] || (l[1] = (f) => {
576
+ Me.value = null, Z.value = !1, le.value = null;
576
577
  })
577
578
  }, null, 40, St)
578
579
  ]))), 256)),
579
- x(a.$slots, "svg", { svg: g.value }, void 0, !0)
580
+ k(a.$slots, "svg", { svg: y.value }, void 0, !0)
580
581
  ], 14, bt)) : m("", !0),
581
- a.$slots.watermark ? (i(), v("div", Vt, [
582
- x(a.$slots, "watermark", j(Y({ isPrinting: y(ie) || y(de) })), void 0, !0)
582
+ a.$slots.watermark ? (s(), d("div", Vt, [
583
+ k(a.$slots, "watermark", q(K({ isPrinting: h(de) || h(ce) })), void 0, !0)
583
584
  ])) : m("", !0),
584
- U.value ? m("", !0) : (i(), oe(vt, {
585
+ W.value ? m("", !0) : (s(), ne(vt, {
585
586
  key: 5,
586
587
  config: {
587
588
  type: "verticalBar",
@@ -596,24 +597,24 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
596
597
  }
597
598
  }
598
599
  }, null, 8, ["config"])),
599
- e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (i(), v("div", {
600
+ e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (s(), d("div", {
600
601
  key: 6,
601
602
  ref_key: "chartLegend",
602
- ref: Z
603
+ ref: te
603
604
  }, [
604
- A(Te, {
605
- legendSet: S.value,
606
- config: fe.value,
607
- onClickMarker: l[2] || (l[2] = ({ legend: t }) => R(t.id))
605
+ G(Le, {
606
+ legendSet: z.value,
607
+ config: be.value,
608
+ onClickMarker: l[2] || (l[2] = ({ legend: t }) => X(t.id))
608
609
  }, {
609
- item: _(({ legend: t, index: o }) => [
610
- u("div", {
611
- onClick: (s) => R(t.id),
612
- style: d(`opacity:${w.value.includes(t.id) ? 0.5 : 1}`)
613
- }, c(t.name) + ": " + c(y(K)(
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)(
614
615
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
615
616
  t.value,
616
- y(F)({
617
+ h(I)({
617
618
  p: e.value.style.chart.legend.prefix,
618
619
  v: t.value,
619
620
  s: e.value.style.chart.legend.suffix,
@@ -625,9 +626,9 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
625
626
  _: 1
626
627
  }, 8, ["legendSet", "config"])
627
628
  ], 512)) : m("", !0),
628
- x(a.$slots, "legend", { legend: S.value }, void 0, !0),
629
- A(ct, {
630
- show: k.value.showTooltip && J.value && w.value.length < L.dataset.length,
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,
631
632
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
632
633
  color: e.value.style.chart.tooltip.color,
633
634
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -637,23 +638,23 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
637
638
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
638
639
  position: e.value.style.chart.tooltip.position,
639
640
  offsetY: e.value.style.chart.tooltip.offsetY,
640
- parent: D.value,
641
- content: Q.value,
641
+ parent: R.value,
642
+ content: ee.value,
642
643
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
643
644
  }, {
644
- "tooltip-before": _(() => [
645
- x(a.$slots, "tooltip-before", j(Y({ ...ae.value })), void 0, !0)
645
+ "tooltip-before": x(() => [
646
+ k(a.$slots, "tooltip-before", q(K({ ...oe.value })), void 0, !0)
646
647
  ]),
647
- "tooltip-after": _(() => [
648
- x(a.$slots, "tooltip-after", j(Y({ ...ae.value })), void 0, !0)
648
+ "tooltip-after": x(() => [
649
+ k(a.$slots, "tooltip-after", q(K({ ...oe.value })), void 0, !0)
649
650
  ]),
650
651
  _: 3
651
652
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
652
- U.value ? (i(), oe(pt, {
653
+ W.value ? (s(), ne(pt, {
653
654
  key: 7,
654
655
  hideDetails: "",
655
656
  config: {
656
- open: k.value.showTable,
657
+ open: $.value.showTable,
657
658
  maxHeight: 1e4,
658
659
  body: {
659
660
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -665,132 +666,132 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
665
666
  }
666
667
  }
667
668
  }, {
668
- content: _(() => [
669
- u("div", {
669
+ content: x(() => [
670
+ n("div", {
670
671
  ref_key: "tableContainer",
671
- ref: pe,
672
+ ref: ye,
672
673
  class: "vue-ui-vertical-bar-table"
673
674
  }, [
674
- u("div", Ft, [
675
- u("div", {
675
+ n("div", Ft, [
676
+ n("div", {
676
677
  role: "button",
677
678
  tabindex: "0",
678
- 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};`),
679
- onClick: l[3] || (l[3] = (t) => k.value.showTable = !1),
680
- onKeypress: l[4] || (l[4] = je((t) => k.value.showTable = !1, ["enter"]))
679
+ 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
+ onClick: l[3] || (l[3] = (t) => $.value.showTable = !1),
681
+ onKeypress: l[4] || (l[4] = je((t) => $.value.showTable = !1, ["enter"]))
681
682
  }, [
682
- A(ht, {
683
+ G(ht, {
683
684
  name: "close",
684
685
  stroke: e.value.table.th.color,
685
686
  "stroke-width": 2
686
687
  }, null, 8, ["stroke"])
687
688
  ], 36),
688
- u("div", {
689
+ n("div", {
689
690
  style: { width: "100%", "container-type": "inline-size" },
690
- class: O({ "vue-ui-responsive": ye.value })
691
+ class: D({ "vue-ui-responsive": ge.value })
691
692
  }, [
692
- u("table", Mt, [
693
- u("caption", {
694
- style: d({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
693
+ n("table", Mt, [
694
+ n("caption", {
695
+ style: r({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
695
696
  class: "vue-ui-data-table__caption"
696
697
  }, [
697
- Ye(c(e.value.style.chart.title.text) + " ", 1),
698
- e.value.style.chart.title.subtitle.text ? (i(), v("span", It, c(e.value.style.chart.title.subtitle.text), 1)) : m("", !0)
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)
699
700
  ], 4),
700
- u("thead", null, [
701
- u("tr", {
701
+ n("thead", null, [
702
+ n("tr", {
702
703
  role: "row",
703
- style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
704
+ style: r(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
704
705
  }, [
705
- (i(!0), v(E, null, G($.value.head, (t) => (i(), v("th", {
706
- style: d(`outline:${e.value.table.th.outline}`)
706
+ (s(!0), d(U, null, H(w.value.head, (t) => (s(), d("th", {
707
+ style: r(`outline:${e.value.table.th.outline}`)
707
708
  }, [
708
- u("div", Bt, c(t), 1)
709
+ n("div", Bt, i(t), 1)
709
710
  ], 4))), 256))
710
711
  ], 4),
711
- u("tr", null, [
712
- u("th", {
713
- style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
712
+ n("tr", null, [
713
+ n("th", {
714
+ style: r(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
714
715
  }, null, 4),
715
- u("th", {
716
- 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`)
717
- }, "∑ " + c(e.value.table.td.prefix) + c(isNaN(C.value) ? "" : C.value.toFixed(e.value.table.td.roundingValue)) + c(e.value.table.td.suffix), 5),
718
- u("th", {
719
- 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`)
716
+ n("th", {
717
+ 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", {
720
+ 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`)
720
721
  }, "100%", 4),
721
- u("th", {
722
- style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
722
+ n("th", {
723
+ style: r(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
723
724
  }, null, 4),
724
- u("th", {
725
- style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
725
+ n("th", {
726
+ style: r(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
726
727
  }, null, 4),
727
- u("th", {
728
- style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
728
+ n("th", {
729
+ style: r(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
729
730
  }, null, 4),
730
- u("th", {
731
- style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
731
+ n("th", {
732
+ style: r(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
732
733
  }, null, 4)
733
734
  ])
734
735
  ]),
735
- u("tbody", null, [
736
- (i(!0), v(E, null, G($.value.body, (t, o) => (i(), v("tr", {
737
- class: O({ "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 }),
738
- style: d(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
736
+ n("tbody", null, [
737
+ (s(!0), d(U, null, H(w.value.body, (t, o) => (s(), d("tr", {
738
+ 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
+ style: r(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
739
740
  }, [
740
- u("td", {
741
+ n("td", {
741
742
  class: "vue-ui-data-table__tbody__td",
742
- style: d(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
743
- "data-cell": $.value.head[0] ?? ""
743
+ style: r(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
744
+ "data-cell": w.value.head[0] ?? ""
744
745
  }, [
745
- u("div", Dt, [
746
- t.color ? (i(), v("span", {
746
+ n("div", Dt, [
747
+ t.color ? (s(), d("span", {
747
748
  key: 0,
748
- style: d(`color:${t.color};margin-right:3px`)
749
+ style: r(`color:${t.color};margin-right:3px`)
749
750
  }, "⬤", 4)) : m("", !0),
750
- u("span", null, c(t.parentName), 1)
751
+ n("span", null, i(t.parentName), 1)
751
752
  ])
752
753
  ], 12, Ot),
753
- u("td", {
754
+ n("td", {
754
755
  class: "vue-ui-data-table__tbody__td",
755
- style: d(`outline:${e.value.table.td.outline}`),
756
- "data-cell": $.value.head[1] ?? ""
756
+ style: r(`outline:${e.value.table.td.outline}`),
757
+ "data-cell": w.value.head[1] ?? ""
757
758
  }, [
758
- u("div", Xt, c(e.value.table.td.prefix) + c(["", NaN, void 0].includes(t.parentValue) ? "" : t.parentValue.toFixed(e.value.table.td.roundingValue)) + c(e.value.table.td.suffix), 1)
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)
759
760
  ], 12, Rt),
760
- u("td", {
761
+ n("td", {
761
762
  class: "vue-ui-data-table__tbody__td",
762
- style: d(`outline:${e.value.table.td.outline}`),
763
- "data-cell": $.value.head[2] ?? ""
763
+ style: r(`outline:${e.value.table.td.outline}`),
764
+ "data-cell": w.value.head[2] ?? ""
764
765
  }, [
765
- u("div", Et, c(["", NaN, void 0].includes(t.percentageToTotal) ? "" : `${(t.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
766
+ n("div", Et, i(["", NaN, void 0].includes(t.percentageToTotal) ? "" : `${(t.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
766
767
  ], 12, At),
767
- u("td", {
768
+ n("td", {
768
769
  class: "vue-ui-data-table__tbody__td",
769
- style: d(`outline:${e.value.table.td.outline}`),
770
- "data-cell": $.value.head[3] ?? ""
770
+ style: r(`outline:${e.value.table.td.outline}`),
771
+ "data-cell": w.value.head[3] ?? ""
771
772
  }, [
772
- u("div", Ut, c(t.childName), 1)
773
+ n("div", Ut, i(t.childName), 1)
773
774
  ], 12, Gt),
774
- u("td", {
775
+ n("td", {
775
776
  class: "vue-ui-data-table__tbody__td",
776
- style: d(`outline:${e.value.table.td.outline}`),
777
- "data-cell": $.value.head[4] ?? ""
777
+ style: r(`outline:${e.value.table.td.outline}`),
778
+ "data-cell": w.value.head[4] ?? ""
778
779
  }, [
779
- u("div", Wt, c(e.value.table.td.prefix) + c(["", NaN, void 0].includes(t.childValue) ? "" : t.childValue.toFixed(e.value.table.td.roundingValue)) + c(e.value.table.td.suffix), 1)
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)
780
781
  ], 12, Ht),
781
- u("td", {
782
+ n("td", {
782
783
  class: "vue-ui-data-table__tbody__td",
783
- style: d(`outline:${e.value.table.td.outline}`),
784
- "data-cell": $.value.head[5] ?? ""
784
+ style: r(`outline:${e.value.table.td.outline}`),
785
+ "data-cell": w.value.head[5] ?? ""
785
786
  }, [
786
- u("div", Yt, c(["", NaN, void 0].includes(t.childPercentageToParent) ? "" : `${(t.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
787
+ n("div", Yt, i(["", NaN, void 0].includes(t.childPercentageToParent) ? "" : `${(t.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
787
788
  ], 12, jt),
788
- u("td", {
789
+ n("td", {
789
790
  class: "vue-ui-data-table__tbody__td",
790
- style: d(`outline:${e.value.table.td.outline}`),
791
- "data-cell": $.value.head[6] ?? ""
791
+ style: r(`outline:${e.value.table.td.outline}`),
792
+ "data-cell": w.value.head[6] ?? ""
792
793
  }, [
793
- u("div", Kt, c(["", NaN, void 0].includes(t.childPercentageToTotal) ? "" : `${(t.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
794
+ n("div", Kt, i(["", NaN, void 0].includes(t.childPercentageToTotal) ? "" : `${(t.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
794
795
  ], 12, qt)
795
796
  ], 6))), 256))
796
797
  ])
@@ -803,7 +804,7 @@ const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t
803
804
  }, 8, ["config"])) : m("", !0)
804
805
  ], 14, gt));
805
806
  }
806
- }, da = /* @__PURE__ */ yt(Jt, [["__scopeId", "data-v-1dd68cde"]]);
807
+ }, da = /* @__PURE__ */ yt(Jt, [["__scopeId", "data-v-e114e098"]]);
807
808
  export {
808
809
  da as default
809
810
  };