vue-data-ui 3.6.0 → 3.7.0

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 (199) hide show
  1. package/README.md +26 -26
  2. package/dist/{Arrow-BGVin3AS.js → Arrow-CWYIBV-7.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DhKIof09.js → BaseDraggableDialog-CRF94NJQ.js} +2 -2
  4. package/dist/{BaseIcon-DLFL0M4-.js → BaseIcon-CofSxalQ.js} +1 -1
  5. package/dist/{ColorPicker-CjIJvLdc.js → ColorPicker-e1-OSGlQ.js} +10 -10
  6. package/dist/{DataTable-UCyd_BQI.js → DataTable-CHaOCmsE.js} +2 -2
  7. package/dist/{Legend-D9ZTJKjh.js → Legend-Web3GjlR.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-a2UzZL0y.js → NonSvgPenAndPaper-CjYFLlns.js} +3 -3
  9. package/dist/{PackageVersion-D_4Hr4S4.js → PackageVersion-Bq_mtsqr.js} +1 -1
  10. package/dist/{PenAndPaper-BJSMejV9.js → PenAndPaper-HCZQTkqi.js} +20 -20
  11. package/dist/{Shape-CNXKB8O0.js → Shape-DE6X_t31.js} +3 -3
  12. package/dist/{Slicer-CJfhtoVn.js → Slicer-BFBBG6xv.js} +23 -23
  13. package/dist/{SlicerPreview-wXjV4LWO.js → SlicerPreview-D76aSViW.js} +2 -2
  14. package/dist/{SparkTooltip-BEewz-_Q.js → SparkTooltip-B2rpVWE1.js} +6 -6
  15. package/dist/{Title-Bb1VWCtR.js → Title-DfFUb9hd.js} +1 -1
  16. package/dist/{Tooltip-oWCO1HKy.js → Tooltip-WD0Ros6G.js} +1 -1
  17. package/dist/{UserOptions-BqmUW9Kp.js → UserOptions-B3I-s3Lw.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +3 -3
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +3 -3
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +3 -3
  24. package/dist/components/vue-ui-candlestick.js +3 -3
  25. package/dist/components/vue-ui-carousel-table.js +1 -1
  26. package/dist/components/vue-ui-chestnut.js +3 -3
  27. package/dist/components/vue-ui-chord.js +3 -3
  28. package/dist/components/vue-ui-circle-pack.js +3 -3
  29. package/dist/components/vue-ui-cursor.js +1 -1
  30. package/dist/components/vue-ui-dashboard.js +1 -1
  31. package/dist/components/vue-ui-digits.js +1 -1
  32. package/dist/components/vue-ui-donut-evolution.js +2 -2
  33. package/dist/components/vue-ui-donut.js +3 -3
  34. package/dist/components/vue-ui-dumbbell.js +3 -3
  35. package/dist/components/vue-ui-flow.js +3 -3
  36. package/dist/components/vue-ui-funnel.js +2 -2
  37. package/dist/components/vue-ui-galaxy.js +1 -1
  38. package/dist/components/vue-ui-gauge.js +1 -1
  39. package/dist/components/vue-ui-gizmo.js +1 -1
  40. package/dist/components/vue-ui-heatmap.js +1 -1
  41. package/dist/components/vue-ui-history-plot.js +3 -3
  42. package/dist/components/vue-ui-horizontal-bar.js +3 -3
  43. package/dist/components/vue-ui-icon.js +1 -1
  44. package/dist/components/vue-ui-kpi.js +1 -1
  45. package/dist/components/vue-ui-mini-loader.js +1 -1
  46. package/dist/components/vue-ui-molecule.js +3 -3
  47. package/dist/components/vue-ui-mood-radar.js +3 -3
  48. package/dist/components/vue-ui-nested-donuts.js +2 -2
  49. package/dist/components/vue-ui-onion.js +3 -3
  50. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  51. package/dist/components/vue-ui-quadrant.js +3 -3
  52. package/dist/components/vue-ui-quick-chart.js +3 -3
  53. package/dist/components/vue-ui-radar.js +3 -3
  54. package/dist/components/vue-ui-rating.js +1 -1
  55. package/dist/components/vue-ui-relation-circle.js +3 -3
  56. package/dist/components/vue-ui-ridgeline.js +3 -3
  57. package/dist/components/vue-ui-rings.js +3 -3
  58. package/dist/components/vue-ui-scatter.js +3 -3
  59. package/dist/components/vue-ui-skeleton.js +1 -1
  60. package/dist/components/vue-ui-smiley.js +1 -1
  61. package/dist/components/vue-ui-spark-trend.js +1 -1
  62. package/dist/components/vue-ui-sparkbar.js +2 -2
  63. package/dist/components/vue-ui-sparkgauge.js +3 -3
  64. package/dist/components/vue-ui-sparkhistogram.js +3 -3
  65. package/dist/components/vue-ui-sparkline.js +3 -3
  66. package/dist/components/vue-ui-sparkstackbar.js +2 -2
  67. package/dist/components/vue-ui-stackbar.js +3 -3
  68. package/dist/components/vue-ui-stackline.js +1 -1
  69. package/dist/components/vue-ui-strip-plot.js +3 -3
  70. package/dist/components/vue-ui-table-heatmap.js +1 -1
  71. package/dist/components/vue-ui-table-sparkline.js +2 -2
  72. package/dist/components/vue-ui-table.js +1 -1
  73. package/dist/components/vue-ui-thermometer.js +3 -3
  74. package/dist/components/vue-ui-timer.js +1 -1
  75. package/dist/components/vue-ui-tiremarks.js +2 -2
  76. package/dist/components/vue-ui-treemap.js +3 -3
  77. package/dist/components/vue-ui-vertical-bar.js +1 -1
  78. package/dist/components/vue-ui-waffle.js +2 -2
  79. package/dist/components/vue-ui-wheel.js +1 -1
  80. package/dist/components/vue-ui-word-cloud.js +3 -3
  81. package/dist/components/vue-ui-world.js +1 -1
  82. package/dist/components/vue-ui-xy-canvas.js +3 -3
  83. package/dist/components/vue-ui-xy.js +3 -3
  84. package/dist/{dom-to-png--BNgrTZV.js → dom-to-png-CH2DfsJe.js} +1 -1
  85. package/dist/{img-BecE5qXd.js → img-DUzJeMlr.js} +1 -1
  86. package/dist/{lib-C_mNZmhD.js → lib-C5BH09_g.js} +111 -110
  87. package/dist/{pdf-DuG5j3Wv.js → pdf-BSWQncok.js} +1 -1
  88. package/dist/style.css +1 -1
  89. package/dist/types/vue-data-ui.d.ts +1 -0
  90. package/dist/{useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js → useAutoSizeLabelsInsideViewbox-DOALwU4q.js} +7 -7
  91. package/dist/{useNestedProp-CIoDlpHu.js → useNestedProp-CWo6bftQ.js} +1 -1
  92. package/dist/{usePrinter-DTzqpYKF.js → usePrinter-DCJzEiS8.js} +2 -2
  93. package/dist/useThemeCheck-DGJ31Vi5.js +32 -0
  94. package/dist/{useTimeLabels-BGFjWgrv.js → useTimeLabels-C5qMhpbe.js} +50 -49
  95. package/dist/{vue-data-ui-BWuOXu_s.js → vue-data-ui-ByLTJx5V.js} +78 -78
  96. package/dist/vue-data-ui.js +225 -205
  97. package/dist/{vue-ui-3d-bar-BNQAuLqF.js → vue-ui-3d-bar-Dkds4k5N.js} +546 -517
  98. package/dist/{vue-ui-accordion-SSLXLlNz.js → vue-ui-accordion-DSdZUn2C.js} +3 -3
  99. package/dist/vue-ui-age-pyramid-C-fwZRYE.js +960 -0
  100. package/dist/{vue-ui-annotator-34Ld0u5M.js → vue-ui-annotator-DRaH8hXn.js} +7 -7
  101. package/dist/vue-ui-bullet-BKVJRjGh.js +657 -0
  102. package/dist/{vue-ui-candlestick-BcChw-8c.js → vue-ui-candlestick-BKFWHU4O.js} +596 -561
  103. package/dist/{vue-ui-carousel-table-Cp_od0lI.js → vue-ui-carousel-table-VmPH6y2g.js} +48 -48
  104. package/dist/{vue-ui-chestnut-DTaIsP72.js → vue-ui-chestnut-DpMHe-OI.js} +534 -505
  105. package/dist/vue-ui-chord-Djdr0PY_.js +1182 -0
  106. package/dist/vue-ui-circle-pack-CyUqNJQt.js +832 -0
  107. package/dist/{vue-ui-cursor-lW-dVs_k.js → vue-ui-cursor-BMe8ZiV6.js} +2 -2
  108. package/dist/{vue-ui-dashboard-DIymn9Cx.js → vue-ui-dashboard-eBXj-KCw.js} +140 -140
  109. package/dist/{vue-ui-digits-YHA3fA0j.js → vue-ui-digits-D382I0-w.js} +2 -2
  110. package/dist/{vue-ui-donut-BaDmbWLh.js → vue-ui-donut-BLb0kj_P.js} +634 -602
  111. package/dist/vue-ui-donut-evolution-BqrldXpI.js +1243 -0
  112. package/dist/vue-ui-dumbbell-BuZT5a-d.js +1258 -0
  113. package/dist/vue-ui-flow-LLp6ntEP.js +1026 -0
  114. package/dist/vue-ui-funnel-pILUR-OG.js +743 -0
  115. package/dist/vue-ui-galaxy-X6yiw8kx.js +837 -0
  116. package/dist/vue-ui-gauge-DBh-vFb9.js +864 -0
  117. package/dist/{vue-ui-gizmo-E33_xZte.js → vue-ui-gizmo-DtyEukIP.js} +3 -3
  118. package/dist/{vue-ui-heatmap-DJXMvFPp.js → vue-ui-heatmap-mkD6QkXo.js} +501 -466
  119. package/dist/vue-ui-history-plot-CyTaBaxA.js +1239 -0
  120. package/dist/{vue-ui-kpi-C-XuLBVQ.js → vue-ui-kpi-CKMZDc3n.js} +3 -3
  121. package/dist/{vue-ui-mini-loader-DawncJvl.js → vue-ui-mini-loader-BN72OfS0.js} +2 -2
  122. package/dist/vue-ui-molecule-UzQ3o5HW.js +782 -0
  123. package/dist/vue-ui-mood-radar-C2zkRLGy.js +930 -0
  124. package/dist/vue-ui-nested-donuts-B5OpvmJ9.js +1454 -0
  125. package/dist/vue-ui-onion-DbhIOGtF.js +944 -0
  126. package/dist/vue-ui-parallel-coordinate-plot-Dv_T4mWW.js +1080 -0
  127. package/dist/{vue-ui-quadrant-B2bLWyCm.js → vue-ui-quadrant-CG6_CWsQ.js} +510 -481
  128. package/dist/{vue-ui-quick-chart-J_RmCwI_.js → vue-ui-quick-chart-DOeRhk7r.js} +795 -758
  129. package/dist/vue-ui-radar-DdHa9Hsh.js +1013 -0
  130. package/dist/{vue-ui-rating-CBS8zaQd.js → vue-ui-rating-DtzmtJwF.js} +26 -26
  131. package/dist/vue-ui-relation-circle-B5lL4l9w.js +670 -0
  132. package/dist/vue-ui-ridgeline-3pk4Mlft.js +1302 -0
  133. package/dist/vue-ui-rings-DhyrjrZi.js +884 -0
  134. package/dist/vue-ui-scatter-DKCD70mi.js +1619 -0
  135. package/dist/{vue-ui-skeleton-DsrlMELy.js → vue-ui-skeleton-CzzdmraB.js} +3 -3
  136. package/dist/{vue-ui-smiley-P_8WIBDD.js → vue-ui-smiley-OYyM-ukP.js} +2 -2
  137. package/dist/vue-ui-spark-trend-BMTcxeCT.js +364 -0
  138. package/dist/vue-ui-sparkbar-DVk1JiPL.js +381 -0
  139. package/dist/vue-ui-sparkgauge-Cq9Nw_xu.js +260 -0
  140. package/dist/vue-ui-sparkhistogram-PFHlCE_k.js +411 -0
  141. package/dist/vue-ui-sparkline-BHHwO_cV.js +549 -0
  142. package/dist/vue-ui-sparkstackbar-BosVkkiC.js +470 -0
  143. package/dist/vue-ui-stackbar-Djk5CPUy.js +1867 -0
  144. package/dist/vue-ui-stackline-mU4CSol9.js +1963 -0
  145. package/dist/{vue-ui-strip-plot-CTtivaxm.js → vue-ui-strip-plot-CZQSL0GK.js} +343 -314
  146. package/dist/{vue-ui-table-CHt3AQiq.js → vue-ui-table-DMM090pe.js} +5 -5
  147. package/dist/vue-ui-table-heatmap-vQEFrjCX.js +307 -0
  148. package/dist/{vue-ui-table-sparkline-D5MckwMl.js → vue-ui-table-sparkline-CQJc0mJY.js} +292 -263
  149. package/dist/vue-ui-thermometer-D1uxoVeZ.js +613 -0
  150. package/dist/{vue-ui-timer-B-Xa6ALH.js → vue-ui-timer-jTnS3ES5.js} +25 -25
  151. package/dist/vue-ui-tiremarks-Bv-oIFVV.js +477 -0
  152. package/dist/vue-ui-treemap-B9MVtunp.js +1359 -0
  153. package/dist/{vue-ui-vertical-bar-D9XQe_ud.js → vue-ui-vertical-bar-BSbDj5qZ.js} +520 -485
  154. package/dist/{vue-ui-waffle-Bk98w86A.js → vue-ui-waffle-DIALVfvc.js} +376 -347
  155. package/dist/vue-ui-wheel-aUhrFpGk.js +690 -0
  156. package/dist/vue-ui-word-cloud-DZmMWsUu.js +904 -0
  157. package/dist/{vue-ui-world-xOY__pp8.js → vue-ui-world-CVLlgp2f.js} +57 -57
  158. package/dist/vue-ui-xy-Cy7mOurZ.js +3455 -0
  159. package/dist/vue-ui-xy-canvas-Cr13t9M5.js +1599 -0
  160. package/dist/vue_ui_vertical_bar-CELc39b8.js +18 -0
  161. package/package.json +5 -5
  162. package/dist/themes-DH-N_ePR.js +0 -54
  163. package/dist/vue-ui-age-pyramid-DsOlpJBh.js +0 -933
  164. package/dist/vue-ui-bullet-Ci4lO4_W.js +0 -630
  165. package/dist/vue-ui-chord-BKC--Nbq.js +0 -1153
  166. package/dist/vue-ui-circle-pack-B3sfU0Vo.js +0 -803
  167. package/dist/vue-ui-donut-evolution-BqUzmyW2.js +0 -1208
  168. package/dist/vue-ui-dumbbell-CWKTrzsm.js +0 -1231
  169. package/dist/vue-ui-flow-SMbuDPdL.js +0 -991
  170. package/dist/vue-ui-funnel-3fRlMBzq.js +0 -716
  171. package/dist/vue-ui-galaxy-CFZ1xYD5.js +0 -808
  172. package/dist/vue-ui-gauge-DJpbjfpL.js +0 -835
  173. package/dist/vue-ui-history-plot-CvPMx5Lg.js +0 -1204
  174. package/dist/vue-ui-molecule-CasngKZI.js +0 -753
  175. package/dist/vue-ui-mood-radar-DGz2TQi4.js +0 -903
  176. package/dist/vue-ui-nested-donuts-Bjjz2sWG.js +0 -1419
  177. package/dist/vue-ui-onion-DwTIY6i1.js +0 -915
  178. package/dist/vue-ui-parallel-coordinate-plot-DedxvtPN.js +0 -1051
  179. package/dist/vue-ui-radar-D1rz2RnH.js +0 -984
  180. package/dist/vue-ui-relation-circle-DUfRwwo1.js +0 -641
  181. package/dist/vue-ui-ridgeline-DKPWMWRc.js +0 -1273
  182. package/dist/vue-ui-rings-BY0EQGLb.js +0 -855
  183. package/dist/vue-ui-scatter-ky9p5Pgh.js +0 -1590
  184. package/dist/vue-ui-spark-trend-DkJn_3FI.js +0 -337
  185. package/dist/vue-ui-sparkbar-qB1fmgej.js +0 -352
  186. package/dist/vue-ui-sparkgauge-BezFN_Rc.js +0 -233
  187. package/dist/vue-ui-sparkhistogram-DGt5b8FR.js +0 -384
  188. package/dist/vue-ui-sparkline-D7Wx1ejg.js +0 -514
  189. package/dist/vue-ui-sparkstackbar-DtO7-yim.js +0 -441
  190. package/dist/vue-ui-stackbar-Dr48I48D.js +0 -1832
  191. package/dist/vue-ui-stackline-Juns5Yh4.js +0 -1928
  192. package/dist/vue-ui-table-heatmap-Cn-56b5F.js +0 -282
  193. package/dist/vue-ui-thermometer-BOidpwAZ.js +0 -584
  194. package/dist/vue-ui-tiremarks-BsTyVS2P.js +0 -450
  195. package/dist/vue-ui-treemap-BWTaY91B.js +0 -1330
  196. package/dist/vue-ui-wheel-nj73b_Dc.js +0 -663
  197. package/dist/vue-ui-word-cloud-Dcaogr-D.js +0 -875
  198. package/dist/vue-ui-xy-BT67faLv.js +0 -3424
  199. package/dist/vue-ui-xy-canvas-BoB7-4QK.js +0 -1564
@@ -1,24 +1,41 @@
1
- import { useCssVars as Zt, defineAsyncComponent as Z, useSlots as ea, computed as g, ref as i, toRefs as ta, watch as ze, shallowRef as ct, onMounted as Ve, nextTick as he, onBeforeUnmount as aa, createElementBlock as v, openBlock as u, unref as s, normalizeStyle as c, normalizeClass as H, createBlock as j, createCommentVNode as m, renderSlot as y, createVNode as ee, withCtx as h, normalizeProps as O, guardReactiveProps as I, createSlots as pe, createElementVNode as n, toDisplayString as p, Fragment as te, renderList as ae, mergeProps as ht, resolveDynamicComponent as la, withKeys as oa, createTextVNode as pt } from "vue";
2
- import { c as na, t as ua, b as sa, p as q, O as Oe, e as ra, x as P, o as Ie, f as ue, h as Fe, a as se, d as R, X as ia, s as Be, i as va, P as da, Q as ca, G as ha, H as pa } from "./lib-C_mNZmhD.js";
3
- import { t as fa, u as ga } from "./useResponsive-DfdjqQps.js";
4
- import { u as ya, a as ft } from "./useNestedProp-CIoDlpHu.js";
5
- import { u as ba, B as ma } from "./BaseScanner-BgWxam9d.js";
6
- import { u as ka } from "./usePrinter-DTzqpYKF.js";
7
- import { u as xa } from "./useSvgExport-DrjCWun4.js";
8
- import { u as wa } from "./useTableResponsive-Cbx-ACcP.js";
9
- import { u as $a } from "./useUserOptionState-BIvW1Kz7.js";
10
- import { u as _a } from "./useChartAccessibility-9icAAmYg.js";
11
- import { t as Ca } from "./themes-DH-N_ePR.js";
12
- import gt from "./Legend-D9ZTJKjh.js";
13
- import Ta from "./vue-ui-accordion-SSLXLlNz.js";
14
- import Sa from "./Title-Bb1VWCtR.js";
15
- import { _ as yt } from "./Shape-CNXKB8O0.js";
16
- import La from "./img-BecE5qXd.js";
17
- import { _ as Pa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
- const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "width", "height"], Oa = ["id"], Ia = ["stop-color"], Fa = ["stop-color"], Ba = { key: 1 }, Ma = ["x", "y", "width", "height", "fill", "rx"], Da = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Ra = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ua = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Xa = { class: "vue-ui-horizontal-bar-child-label" }, Ga = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Wa = ["x", "y", "font-size", "fill", "font-weight"], Ha = { class: "vue-ui-horizontal-bar-parent-label" }, ja = ["x", "y", "font-size", "fill", "font-weight"], qa = ["x", "y", "font-size", "fill", "font-weight"], Ya = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], Ka = {
1
+ import { useCssVars as sa, defineAsyncComponent as Z, useSlots as ia, computed as f, ref as i, toRefs as ca, watch as Be, shallowRef as ht, onMounted as De, nextTick as he, onBeforeUnmount as da, createElementBlock as c, openBlock as u, unref as r, normalizeStyle as v, normalizeClass as j, createBlock as H, createCommentVNode as m, renderSlot as b, createVNode as ee, withCtx as h, normalizeProps as N, guardReactiveProps as z, createSlots as pe, createElementVNode as n, toDisplayString as p, Fragment as te, renderList as ae, mergeProps as pt, resolveDynamicComponent as va, withKeys as ha, createTextVNode as gt } from "vue";
2
+ import { c as pa, t as ga, i as fa, p as q, W as Ne, j as ba, M as L, o as ze, g as ue, l as Ee, a as re, d as M, X as ya, s as Oe, h as ma, u as Ca, q as ka, x as xa, R as wa } from "./lib-C5BH09_g.js";
3
+ import { t as _a, u as $a } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Aa, a as Ve } from "./useNestedProp-CWo6bftQ.js";
5
+ import { u as Ta, B as Sa } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as La } from "./usePrinter-DCJzEiS8.js";
7
+ import { u as Fa } from "./useSvgExport-DrjCWun4.js";
8
+ import { u as Pa } from "./useThemeCheck-DGJ31Vi5.js";
9
+ import { u as Ba } from "./useTableResponsive-Cbx-ACcP.js";
10
+ import { u as Da } from "./useUserOptionState-BIvW1Kz7.js";
11
+ import { u as Na } from "./useChartAccessibility-9icAAmYg.js";
12
+ import ft from "./Legend-Web3GjlR.js";
13
+ import za from "./vue-ui-accordion-DSdZUn2C.js";
14
+ import Ea from "./Title-DfFUb9hd.js";
15
+ import { _ as bt } from "./Shape-DE6X_t31.js";
16
+ import Oa from "./img-DUzJeMlr.js";
17
+ import { _ as Va } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
+ const yt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { separators: { color: "#4A4A4A" }, bars: { dataLabels: { color: "#CCCCCC" }, nameLabels: { color: "#CCCCCC" }, parentLabels: { color: "#CCCCCC" } }, highlighter: { color: "#CCCCCC" } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, mt = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { bars: { borderRadius: 0, useGradient: !1, dataLabels: { color: "#424242" }, nameLabels: { color: "#424242" }, parentLabels: { color: "#424242" } }, highlighter: { color: "#FF8A65" }, separators: { show: !1 } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Ct = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { bars: { borderRadius: 0, useGradient: !1, dataLabels: { color: "#BDBDBD" }, nameLabels: { color: "#BDBDBD" }, parentLabels: { color: "#FFF8E1" } }, highlighter: { color: "#FF8A65" }, separators: { show: !1 } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, kt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { bars: { borderRadius: 0, useGradient: !1, dataLabels: { color: "#AACCAA" }, nameLabels: { color: "#99CC99" }, parentLabels: { color: "#99CC99" } }, highlighter: { color: "#66CC66" }, separators: { show: !1 } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, xt = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { bars: { borderRadius: 8, useGradient: !0, dataLabels: { color: "#A0AC94" }, nameLabels: { color: "#8A9892" }, parentLabels: { color: "#8A9892" } }, highlighter: { color: "#8F837A" }, separators: { show: !1 } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, wt = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { bars: { borderRadius: 0, useGradient: !0, dataLabels: { color: "#61747E" }, nameLabels: { color: "#8A9892" }, parentLabels: { color: "#8A9892" } }, highlighter: { color: "#50606C" }, separators: { show: !0, color: "#DEE1DE" } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, _t = {
19
+ default: {},
20
+ dark: yt,
21
+ celebration: mt,
22
+ celebrationNight: Ct,
23
+ hack: kt,
24
+ zen: xt,
25
+ concrete: wt
26
+ }, Wl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27
+ __proto__: null,
28
+ celebration: mt,
29
+ celebrationNight: Ct,
30
+ concrete: wt,
31
+ dark: yt,
32
+ default: _t,
33
+ hack: kt,
34
+ zen: xt
35
+ }, Symbol.toStringTag, { value: "Module" })), Ia = ["id"], Ma = ["onClick"], Ra = ["xmlns", "viewBox"], Ua = ["x", "width", "height"], Ga = ["id"], Wa = ["stop-color"], Xa = ["stop-color"], ja = { key: 1 }, Ha = ["x", "y", "width", "height", "fill", "rx"], qa = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Ya = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Ka = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ja = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Qa = { class: "vue-ui-horizontal-bar-child-label" }, Za = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], el = ["x", "y", "font-size", "fill", "font-weight"], tl = { class: "vue-ui-horizontal-bar-parent-label" }, al = ["x", "y", "font-size", "fill", "font-weight"], ll = ["x", "y", "font-size", "fill", "font-weight"], ol = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], nl = {
19
36
  key: 5,
20
37
  class: "vue-data-ui-watermark"
21
- }, Qa = ["onClick"], Ja = { style: "width:100%;padding-top: 36px;position:relative" }, Za = { class: "vue-ui-data-table" }, el = { key: 0 }, tl = { style: { width: "100%" } }, al = ["data-cell"], ll = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ol = ["data-cell"], nl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ul = ["data-cell"], sl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, rl = ["data-cell"], il = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, vl = ["data-cell"], dl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, cl = ["data-cell"], hl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, pl = ["data-cell"], fl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, gl = {
38
+ }, ul = ["onClick"], rl = { style: "width:100%;padding-top: 36px;position:relative" }, sl = { class: "vue-ui-data-table" }, il = { key: 0 }, cl = { style: { width: "100%" } }, dl = ["data-cell"], vl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, hl = ["data-cell"], pl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, gl = ["data-cell"], fl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, bl = ["data-cell"], yl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ml = ["data-cell"], Cl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, kl = ["data-cell"], xl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, wl = ["data-cell"], _l = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, $l = {
22
39
  __name: "vue-ui-vertical-bar",
23
40
  props: {
24
41
  config: {
@@ -35,35 +52,35 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
35
52
  }
36
53
  },
37
54
  emits: ["selectLegend"],
38
- setup(bt, { expose: mt, emit: kt }) {
39
- Zt((t) => ({
40
- bc1c4d4c: t.tdo
55
+ setup($t, { expose: At, emit: Tt }) {
56
+ sa((t) => ({
57
+ a360556e: t.tdo
41
58
  }));
42
- const xt = Z(() => import("./Tooltip-oWCO1HKy.js")), Me = Z(() => import("./BaseIcon-DLFL0M4-.js")), wt = Z(() => import("./PenAndPaper-BJSMejV9.js")), $t = Z(() => import("./UserOptions-BqmUW9Kp.js")), _t = Z(() => import("./PackageVersion-D_4Hr4S4.js")), Ct = Z(() => import("./BaseDraggableDialog-DhKIof09.js")), { vue_ui_vertical_bar: Tt } = ya(), St = ea(), k = bt, fe = g({
59
+ const St = Z(() => import("./Tooltip-WD0Ros6G.js")), Ie = Z(() => import("./BaseIcon-CofSxalQ.js")), Lt = Z(() => import("./PenAndPaper-HCZQTkqi.js")), Ft = Z(() => import("./UserOptions-B3I-s3Lw.js")), Pt = Z(() => import("./PackageVersion-Bq_mtsqr.js")), Bt = Z(() => import("./BaseDraggableDialog-CRF94NJQ.js")), { vue_ui_vertical_bar: Dt } = Aa(), { isThemeValid: Nt, warnInvalidTheme: zt } = Pa(), Et = ia(), C = $t, ge = f({
43
60
  get() {
44
- return !!k.dataset && k.dataset.length;
61
+ return !!C.dataset && C.dataset.length;
45
62
  },
46
63
  set(t) {
47
64
  return t;
48
65
  }
49
- }), L = i(na()), ge = i(!1), ye = i(""), le = i(0), Lt = i(null), De = i(0), N = i(null), Re = i(null), be = i(null), Ee = i(null), Ue = i(null), Xe = i(0), me = i(0), Y = i(null), oe = i(null), ke = i(null), Pt = kt, e = i(Ce()), Nt = g(() => [
66
+ }), S = i(pa()), fe = i(!1), be = i(""), le = i(0), Ot = i(null), Me = i(0), F = i(null), Re = i(null), ye = i(null), Ue = i(null), Ge = i(null), We = i(0), me = i(0), Y = i(null), oe = i(null), Ce = i(null), Vt = Tt, e = i($e()), It = f(() => [
50
67
  { name: "", value: 6, color: "#d9d9d9" },
51
68
  { name: "", value: 5, color: "#d9d9d9" },
52
69
  { name: "", value: 4, color: "#d9d9d9" },
53
70
  { name: "", value: 3, color: "#d9d9d9" },
54
71
  { name: "", value: 2, color: "#d9d9d9" },
55
72
  { name: "", value: 1, color: "#d9d9d9" }
56
- ]), { loading: Ge, FINAL_DATASET: xe, manualLoading: we } = ba({
57
- ...ta(k),
73
+ ]), { loading: Xe, FINAL_DATASET: ke, manualLoading: xe } = Ta({
74
+ ...ca(C),
58
75
  FINAL_CONFIG: e,
59
- prepareConfig: Ce,
76
+ prepareConfig: $e,
60
77
  callback: () => {
61
78
  Promise.resolve().then(async () => {
62
- Q(), _.value.showTable = e.value.table.show, await M();
79
+ J(), _.value.showTable = e.value.table.show, await V();
63
80
  });
64
81
  },
65
- skeletonDataset: Nt.value,
66
- skeletonConfig: ua({
82
+ skeletonDataset: It.value,
83
+ skeletonConfig: ga({
67
84
  defaultConfig: e.value,
68
85
  userConfig: {
69
86
  useCssAnimation: !1,
@@ -109,116 +126,129 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
109
126
  }
110
127
  }
111
128
  })
112
- }), { userOptionsVisible: $e, setUserOptionsVisibility: We, keepUserOptionState: He } = $a({ config: e.value }), { svgRef: _e } = _a({ config: e.value.style.chart.title });
113
- function Ce() {
114
- const t = ft({
115
- userConfig: k.config,
116
- defaultConfig: Tt
129
+ }), { userOptionsVisible: we, setUserOptionsVisibility: je, keepUserOptionState: He } = Da({ config: e.value }), { svgRef: _e } = Na({ config: e.value.style.chart.title });
130
+ function $e() {
131
+ const t = Ve({
132
+ userConfig: C.config,
133
+ defaultConfig: Dt
117
134
  });
118
135
  let l = {};
119
- return t.theme ? l = {
120
- ...ft({
121
- userConfig: Ca.vue_ui_vertical_bar[t.theme] || k.config,
122
- defaultConfig: t
123
- }),
124
- customPalette: sa[t.theme] || q
125
- } : l = t, k.config && Oe(k.config, "events.datapointEnter") ? l.events.datapointEnter = k.config.events.datapointEnter : l.events.datapointEnter = null, k.config && Oe(k.config, "events.datapointLeave") ? l.events.datapointLeave = k.config.events.datapointLeave : l.events.datapointLeave = null, k.config && Oe(k.config, "events.datapointClick") ? l.events.datapointClick = k.config.events.datapointClick : l.events.datapointClick = null, l;
136
+ const a = t.theme;
137
+ if (a)
138
+ if (!Nt.value(t))
139
+ zt(t), l = t;
140
+ else {
141
+ const o = Ve({
142
+ userConfig: _t[a] || C.config,
143
+ defaultConfig: t
144
+ });
145
+ l = {
146
+ ...Ve({
147
+ userConfig: C.config,
148
+ defaultConfig: o
149
+ }),
150
+ customPalette: t.customPalette.length ? t.customPalette : fa[a] || q
151
+ };
152
+ }
153
+ else
154
+ l = t;
155
+ return C.config && Ne(C.config, "events.datapointEnter") ? l.events.datapointEnter = C.config.events.datapointEnter : l.events.datapointEnter = null, C.config && Ne(C.config, "events.datapointLeave") ? l.events.datapointLeave = C.config.events.datapointLeave : l.events.datapointLeave = null, C.config && Ne(C.config, "events.datapointClick") ? l.events.datapointClick = C.config.events.datapointClick : l.events.datapointClick = null, l;
126
156
  }
127
- ze(() => k.config, (t) => {
128
- Ge.value || (e.value = Ce()), $e.value = !e.value.userOptions.showOnChartHover, et(), Xe.value += 1, me.value += 1, f.value = e.value.style.chart.layout.bars.height, x.value = e.value.style.chart.layout.bars.gap, _.value.showTable = e.value.table.show, _.value.sortDesc = e.value.style.chart.layout.bars.sort === "desc", _.value.showTooltip = e.value.style.chart.tooltip.show;
129
- }, { deep: !0 }), ze(() => k.dataset, (t) => {
130
- Array.isArray(t) && t.length > 0 && (we.value = !1), Q();
157
+ Be(() => C.config, (t) => {
158
+ Xe.value || (e.value = $e()), we.value = !e.value.userOptions.showOnChartHover, tt(), We.value += 1, me.value += 1, g.value = e.value.style.chart.layout.bars.height, k.value = e.value.style.chart.layout.bars.gap, _.value.showTable = e.value.table.show, _.value.sortDesc = e.value.style.chart.layout.bars.sort === "desc", _.value.showTooltip = e.value.style.chart.tooltip.show;
159
+ }, { deep: !0 }), Be(() => C.dataset, (t) => {
160
+ Array.isArray(t) && t.length > 0 && (xe.value = !1), J();
131
161
  }, { deep: !0 });
132
- const { isPrinting: je, isImaging: qe, generatePdf: Ye, generateImage: Ke } = ka({
133
- elementId: `vue-ui-vertical-bar_${L.value}`,
162
+ const { isPrinting: qe, isImaging: Ye, generatePdf: Ke, generateImage: Je } = La({
163
+ elementId: `vue-ui-vertical-bar_${S.value}`,
134
164
  fileName: e.value.style.chart.title.text || "vue-ui-vertical-bar",
135
165
  options: e.value.userOptions.print
136
- }), At = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), Qe = g(() => ra(e.value.customPalette)), Je = i(null), zt = g(() => e.value.table.responsiveBreakpoint), B = ct(null), K = ct(null), re = i("0 0 10 10"), A = g(() => {
137
- const [t, l, a, o] = re.value.split(" ").map(Number);
166
+ }), Mt = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Qe = f(() => ba(e.value.customPalette)), Ze = i(null), Rt = f(() => e.value.table.responsiveBreakpoint), O = ht(null), K = ht(null), se = i("0 0 10 10"), P = f(() => {
167
+ const [t, l, a, o] = se.value.split(" ").map(Number);
138
168
  return { x: t, y: l, width: a, height: o };
139
169
  });
140
- Ve(async () => {
141
- await he(), et(), M();
170
+ De(async () => {
171
+ await he(), tt(), V();
142
172
  });
143
- async function M() {
144
- if (re.value = `0 0 ${C.value.width} ${r.value.fullHeight}`, !e.value.autoSize || !Y.value) return;
173
+ async function V() {
174
+ if (se.value = `0 0 ${$.value.width} ${s.value.fullHeight}`, !e.value.autoSize || !Y.value) return;
145
175
  const t = Y.value.querySelectorAll(".vue-ui-horizontal-bar-parent-label"), l = Y.value.querySelectorAll(".vue-ui-horizontal-bar-child-label");
146
176
  if (t && t.length) {
147
- const b = Math.max(...Array.from(t).flatMap((d) => {
148
- const w = d.querySelectorAll("text");
149
- return w.length ? Array.from(w).map((J) => J.getBBox().width) : 0;
150
- })), $ = Math.max(...Array.from(l).flatMap((d) => {
151
- const w = d.querySelectorAll("text");
152
- return w.length ? Array.from(w).map((J) => J.getBBox().width) : 0;
177
+ const y = Math.max(...Array.from(t).flatMap((d) => {
178
+ const x = d.querySelectorAll("text");
179
+ return x.length ? Array.from(x).map((Q) => Q.getBBox().width) : 0;
180
+ })), w = Math.max(...Array.from(l).flatMap((d) => {
181
+ const x = d.querySelectorAll("text");
182
+ return x.length ? Array.from(x).map((Q) => Q.getBBox().width) : 0;
153
183
  }));
154
184
  Array.from(t).forEach((d) => {
155
- const w = d.querySelectorAll("text");
156
- Array.from(w).forEach(async (J) => {
157
- J.setAttribute("x", 0), J.setAttribute("x", P(-b - $));
185
+ const x = d.querySelectorAll("text");
186
+ Array.from(x).forEach(async (Q) => {
187
+ Q.setAttribute("x", 0), Q.setAttribute("x", L(-y - w));
158
188
  });
159
189
  });
160
190
  }
161
191
  await he();
162
192
  const a = Y.value ? Y.value.getBBox() : 0, o = e.value.style.chart.layout.bars.dataLabels.offsetX;
163
- re.value = [
193
+ se.value = [
164
194
  a.x + -o,
165
195
  0,
166
196
  a.width + o * 2,
167
- r.value.fullHeight
197
+ s.value.fullHeight
168
198
  ].join(" ");
169
199
  }
170
- let Ze;
171
- Ve(() => {
172
- N.value && (Ze = new ResizeObserver((t) => {
200
+ let et;
201
+ De(() => {
202
+ F.value && (et = new ResizeObserver((t) => {
173
203
  for (const l of t) {
174
204
  const { width: a, height: o } = l.contentRect;
175
205
  if (a > 0 && o > 0) {
176
206
  Promise.resolve().then(async () => {
177
- Q(), await M();
207
+ J(), await V();
178
208
  });
179
209
  break;
180
210
  }
181
211
  }
182
- }), Ze.observe(N.value.parentElement));
212
+ }), et.observe(F.value.parentElement));
183
213
  });
184
- const ie = g(() => !!e.value.debug), Te = i(0);
185
- function et() {
186
- if (Ie(k.dataset) && (ue({
214
+ const ie = f(() => !!e.value.debug), Ae = i(0);
215
+ function tt() {
216
+ if (ze(C.dataset) && (ue({
187
217
  componentName: "VueUiVerticalBar",
188
218
  type: "dataset",
189
219
  debug: ie.value
190
- }), fe.value = !1, we.value = !0), le.value = xe.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), Ie(k.dataset) || (we.value = e.value.loading), e.value.responsive) {
191
- const t = fa(() => {
192
- const { width: l, height: a } = ga({
193
- chart: N.value,
220
+ }), ge.value = !1, xe.value = !0), le.value = ke.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), ze(C.dataset) || (xe.value = e.value.loading), e.value.responsive) {
221
+ const t = _a(() => {
222
+ const { width: l, height: a } = $a({
223
+ chart: F.value,
194
224
  title: e.value.style.chart.title.text ? Re.value : null,
195
- legend: e.value.style.chart.legend.show ? be.value : null,
196
- source: Ee.value,
197
- noTitle: Ue.value
225
+ legend: e.value.style.chart.legend.show ? ye.value : null,
226
+ source: Ue.value,
227
+ noTitle: Ge.value
198
228
  });
199
- Te.value = a / 3, requestAnimationFrame(async () => {
200
- lt.value = l;
201
- const o = x.value * (le.value - 1);
202
- f.value = (a - o) / le.value, await he(), M();
229
+ Ae.value = a / 3, requestAnimationFrame(async () => {
230
+ ot.value = l;
231
+ const o = k.value * (le.value - 1);
232
+ g.value = (a - o) / le.value, await he(), V();
203
233
  });
204
234
  });
205
- B.value && (K.value && B.value.unobserve(K.value), B.value.disconnect()), B.value = new ResizeObserver(t), K.value = N.value.parentNode, B.value.observe(K.value), e.value.autoSize && M();
235
+ O.value && (K.value && O.value.unobserve(K.value), O.value.disconnect()), O.value = new ResizeObserver(t), K.value = F.value.parentNode, O.value.observe(K.value), e.value.autoSize && V();
206
236
  }
207
237
  }
208
- aa(() => {
209
- B.value && (K.value && B.value.unobserve(K.value), B.value.disconnect());
238
+ da(() => {
239
+ O.value && (K.value && O.value.unobserve(K.value), O.value.disconnect());
210
240
  });
211
241
  const _ = i({
212
242
  showTable: e.value.table.show,
213
243
  sortDesc: e.value.style.chart.layout.bars.sort === "desc",
214
244
  showTooltip: e.value.style.chart.tooltip.show
215
- }), tt = g(() => _.value.sortDesc), z = g(() => (xe.value.forEach((t, l) => {
245
+ }), at = f(() => _.value.sortDesc), B = f(() => (ke.value.forEach((t, l) => {
216
246
  !t.value && !t.children && ue({
217
247
  componentName: "VueUiVerticalBar",
218
248
  type: "datasetAttributeEmpty",
219
249
  property: `value (index ${l})`,
220
250
  debug: ie.value
221
- }), t.children && (Ie(t.children) ? ue({
251
+ }), t.children && (ze(t.children) ? ue({
222
252
  componentName: "VueUiVerticalBar",
223
253
  type: "datasetAttributeEmpty",
224
254
  property: `children (index ${l})`,
@@ -233,186 +263,186 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
233
263
  debug: ie.value
234
264
  });
235
265
  }));
236
- }), xe.value.map((t, l) => {
237
- const a = `vertical_parent_${l}_${L.value}`, o = t.children && t.children.length > 0, b = P(t.value ? t.value : o ? t.children.map((d) => d.value || 0).reduce((d, w) => d + w, 0) : 0), $ = b >= 0 ? 1 : -1;
266
+ }), ke.value.map((t, l) => {
267
+ const a = `vertical_parent_${l}_${S.value}`, o = t.children && t.children.length > 0, y = L(t.value ? t.value : o ? t.children.map((d) => d.value || 0).reduce((d, x) => d + x, 0) : 0), w = y >= 0 ? 1 : -1;
238
268
  return {
239
269
  ...t,
240
270
  id: a,
241
271
  absoluteIndex: l,
242
272
  shape: "square",
243
- opacity: T.value.includes(a) ? 0.5 : 1,
244
- value: Math.abs(b),
245
- sign: $,
273
+ opacity: A.value.includes(a) ? 0.5 : 1,
274
+ value: Math.abs(y),
275
+ sign: w,
246
276
  hasChildren: o,
247
277
  isChild: !1,
248
- segregate: () => E(a),
249
- isSegregated: T.value.includes(a),
250
- color: Fe(t.color) || Qe.value[l] || q[l] || q[l % q.length],
251
- children: !t.children || !t.children.length ? [] : t.children.toSorted(ve.value ? () => 0 : (d, w) => tt.value ? w.value - d.value : d.value - w.value).map((d, w) => ({
278
+ segregate: () => R(a),
279
+ isSegregated: A.value.includes(a),
280
+ color: Ee(t.color) || Qe.value[l] || q[l] || q[l % q.length],
281
+ children: !t.children || !t.children.length ? [] : t.children.toSorted(ce.value ? () => 0 : (d, x) => at.value ? x.value - d.value : d.value - x.value).map((d, x) => ({
252
282
  ...d,
253
- value: P(Math.abs(d.value)),
283
+ value: L(Math.abs(d.value)),
254
284
  absoluteIndex: l,
255
285
  sign: d.value >= 0 ? 1 : -1,
256
286
  isChild: !0,
257
287
  parentId: a,
258
288
  parentName: t.name,
259
- parentValue: b,
260
- parentSign: $,
261
- id: `vertical_child_${l}_${w}_${L.value}`,
262
- childIndex: w,
263
- color: Fe(d.color) || Fe(t.color) || Qe.value[l] || q[l] || q[l % q.length]
264
- })).map((d, w) => ({
289
+ parentValue: y,
290
+ parentSign: w,
291
+ id: `vertical_child_${l}_${x}_${S.value}`,
292
+ childIndex: x,
293
+ color: Ee(d.color) || Ee(t.color) || Qe.value[l] || q[l] || q[l % q.length]
294
+ })).map((d, x) => ({
265
295
  ...d,
266
- isFirstChild: w === 0,
267
- isLastChild: w === t.children.length - 1
296
+ isFirstChild: x === 0,
297
+ isLastChild: x === t.children.length - 1
268
298
  }))
269
299
  };
270
- }).toSorted(ve.value ? () => 0 : (t, l) => tt.value ? l.value - t.value : t.value - l.value))), at = g(() => ({
300
+ }).toSorted(ce.value ? () => 0 : (t, l) => at.value ? l.value - t.value : t.value - l.value))), lt = f(() => ({
271
301
  cy: "vertical-bar-div-legend",
272
302
  backgroundColor: e.value.style.chart.legend.backgroundColor,
273
303
  color: e.value.style.chart.legend.color,
274
304
  fontSize: e.value.style.chart.legend.fontSize,
275
305
  paddingBottom: 12,
276
306
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
277
- })), f = i(e.value.style.chart.layout.bars.height), x = i(e.value.style.chart.layout.bars.gap), Vt = g(() => (f.value + x.value) * le.value), lt = i(512), C = g(() => ({
278
- width: lt.value,
279
- height: Vt.value,
307
+ })), g = i(e.value.style.chart.layout.bars.height), k = i(e.value.style.chart.layout.bars.gap), Ut = f(() => (g.value + k.value) * le.value), ot = i(512), $ = f(() => ({
308
+ width: ot.value,
309
+ height: Ut.value,
280
310
  padding: {
281
311
  top: 12,
282
312
  left: (e.value.autoSize ? 0 : 128) + e.value.style.chart.layout.bars.offsetX,
283
313
  right: (e.value.autoSize ? 0 : 64) + e.value.style.chart.layout.bars.paddingRight,
284
314
  bottom: 12
285
315
  }
286
- })), r = g(() => ({
287
- fullHeight: C.value.padding.top + C.value.padding.bottom + C.value.height,
288
- top: C.value.padding.top,
289
- left: C.value.padding.left,
290
- right: C.value.width - C.value.padding.right,
291
- bottom: C.value.padding.top + C.value.height,
292
- width: C.value.width - (C.value.padding.left + C.value.padding.right)
316
+ })), s = f(() => ({
317
+ fullHeight: $.value.padding.top + $.value.padding.bottom + $.value.height,
318
+ top: $.value.padding.top,
319
+ left: $.value.padding.left,
320
+ right: $.value.width - $.value.padding.right,
321
+ bottom: $.value.padding.top + $.value.height,
322
+ width: $.value.width - ($.value.padding.left + $.value.padding.right)
293
323
  }));
294
- async function Q() {
295
- le.value = U.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), e.value.autoSize && await M();
324
+ async function J() {
325
+ le.value = U.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), e.value.autoSize && await V();
296
326
  }
297
- const T = i([]);
298
- async function E(t) {
299
- if (T.value.includes(t))
300
- T.value = T.value.filter((l) => l !== t);
327
+ const A = i([]);
328
+ async function R(t) {
329
+ if (A.value.includes(t))
330
+ A.value = A.value.filter((l) => l !== t);
301
331
  else {
302
- if (T.value.length === z.value.length - 1) return;
303
- T.value.push(t);
332
+ if (A.value.length === B.value.length - 1) return;
333
+ A.value.push(t);
304
334
  }
305
- Q(), await he(), e.value.autoSize && M(), Pt("selectLegend", U.value);
335
+ J(), await he(), e.value.autoSize && V(), Vt("selectLegend", U.value);
306
336
  }
307
- function ot(t) {
308
- if (!z.value.length)
337
+ function nt(t) {
338
+ if (!B.value.length)
309
339
  return e.value.debug && console.warn("VueUiHorizontalBar - There are no series to show."), null;
310
- const l = z.value.find((a) => a.name === t);
340
+ const l = B.value.find((a) => a.name === t);
311
341
  return l || (e.value.debug && console.warn(`VueUiHorizontalBar - Series name not found "${t}"`), null);
312
342
  }
313
- function Ot(t) {
314
- const l = ot(t);
315
- l !== null && T.value.includes(l.id) && E(l.id);
343
+ function Gt(t) {
344
+ const l = nt(t);
345
+ l !== null && A.value.includes(l.id) && R(l.id);
316
346
  }
317
- function It(t) {
318
- const l = ot(t);
319
- l !== null && (T.value.includes(l.id) || E(l.id));
347
+ function Wt(t) {
348
+ const l = nt(t);
349
+ l !== null && (A.value.includes(l.id) || R(l.id));
320
350
  }
321
- const U = g(() => z.value.filter((t) => !T.value.includes(t.id))), F = g(() => U.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
322
- function nt(t, l = !1, a = 0) {
323
- return l ? R({
324
- v: P(Math.abs(t) / F.value * 100),
351
+ const U = f(() => B.value.filter((t) => !A.value.includes(t.id))), E = f(() => U.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
352
+ function ut(t, l = !1, a = 0) {
353
+ return l ? M({
354
+ v: L(Math.abs(t) / E.value * 100),
325
355
  s: "%",
326
356
  r: a
327
- }) : Math.abs(t) / F.value;
357
+ }) : Math.abs(t) / E.value;
328
358
  }
329
- const X = g(() => U.value.flatMap((t) => t.hasChildren ? t.children : t)), G = g(() => X.value.map((t) => t.sign).includes(-1)), Ft = g(() => Math.max(...U.value.flatMap((t) => t.children && t.children.length ? Math.max(...t.children.map((l) => l.value)) : t.value)));
330
- function S(t) {
331
- const l = t / Ft.value;
332
- return r.value.width / (G.value ? 2 : 1) * l;
359
+ const G = f(() => U.value.flatMap((t) => t.hasChildren ? t.children : t)), W = f(() => G.value.map((t) => t.sign).includes(-1)), Xt = f(() => Math.max(...U.value.flatMap((t) => t.children && t.children.length ? Math.max(...t.children.map((l) => l.value)) : t.value)));
360
+ function T(t) {
361
+ const l = t / Xt.value;
362
+ return s.value.width / (W.value ? 2 : 1) * l;
333
363
  }
334
- function Bt(t) {
335
- return S(t) + r.value.left;
364
+ function jt(t) {
365
+ return T(t) + s.value.left;
336
366
  }
337
367
  function ne(t, l) {
338
- const a = U.value.find(($) => $.id === t.parentId), o = r.value.top + (x.value + f.value) * l, b = a.children.length * (x.value + f.value);
368
+ const a = U.value.find((w) => w.id === t.parentId), o = s.value.top + (k.value + g.value) * l, y = a.children.length * (k.value + g.value);
339
369
  return {
340
- y: o + b / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
370
+ y: o + y / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
341
371
  name: a.name,
342
372
  value: [void 0, NaN, null].includes(a.value) ? "" : a.sign === 1 ? a.value : -a.value,
343
- percentageToTotal: isNaN(a.value / F.value) ? "" : nt(a.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
373
+ percentageToTotal: isNaN(a.value / E.value) ? "" : ut(a.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
344
374
  sign: a.sign
345
375
  };
346
376
  }
347
- function Mt() {
377
+ function Ht() {
348
378
  return U.value;
349
379
  }
350
- const Se = i(null), Le = i(null);
351
- function Dt({ datapoint: t, seriesIndex: l }) {
380
+ const Te = i(null), Se = i(null);
381
+ function qt({ datapoint: t, seriesIndex: l }) {
352
382
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: l });
353
383
  }
354
- function Rt({ datapoint: t, seriesIndex: l }) {
355
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: l }), Lt.value = null, ge.value = !1, Se.value = null;
384
+ function Yt({ datapoint: t, seriesIndex: l }) {
385
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: l }), Ot.value = null, fe.value = !1, Te.value = null;
356
386
  }
357
- function Et(t, l) {
358
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datpoint: t, seriesIndex: l }), Le.value = {
387
+ function Kt(t, l) {
388
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datpoint: t, seriesIndex: l }), Se.value = {
359
389
  datapoint: t,
360
390
  seriesIndex: l,
361
- series: z.value,
391
+ series: B.value,
362
392
  config: e.value
363
- }, ge.value = !0, Se.value = t.id;
393
+ }, fe.value = !0, Te.value = t.id;
364
394
  let a = "";
365
- const o = t.isChild ? t.parentName : t.name, b = t.isChild ? t.name : "", $ = e.value.style.chart.tooltip.customFormat;
366
- ha($) && pa(() => $({
395
+ const o = t.isChild ? t.parentName : t.name, y = t.isChild ? t.name : "", w = e.value.style.chart.tooltip.customFormat;
396
+ xa(w) && wa(() => w({
367
397
  datapoint: t,
368
- series: z.value,
398
+ series: B.value,
369
399
  config: e.value,
370
400
  seriesIndex: l
371
- })) ? ye.value = $({
401
+ })) ? be.value = w({
372
402
  datapoint: t,
373
- series: z.value,
403
+ series: B.value,
374
404
  config: e.value,
375
405
  seriesIndex: l
376
406
  }) : (a += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;text-align:left;">
377
- <div style="display:flex;align-items:center;gap:4px;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="${t.color}"/>${St.pattern ? `<rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="url(#pattern_${L.value}_${t.absoluteIndex})"/>` : ""}</svg> ${o}</div>
378
- ${b ? `<div>${b}</div>` : ""}
379
- </div>`, e.value.style.chart.tooltip.showValue && (a += `<div>${e.value.translations.value}: <b>${se(
407
+ <div style="display:flex;align-items:center;gap:4px;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="${t.color}"/>${Et.pattern ? `<rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="url(#pattern_${S.value}_${t.absoluteIndex})"/>` : ""}</svg> ${o}</div>
408
+ ${y ? `<div>${y}</div>` : ""}
409
+ </div>`, e.value.style.chart.tooltip.showValue && (a += `<div>${e.value.translations.value}: <b>${re(
380
410
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
381
411
  t.sign === 1 ? t.value : -t.value,
382
- R({
412
+ M({
383
413
  p: e.value.style.chart.tooltip.prefix,
384
414
  v: t.sign === 1 ? t.value : -t.value,
385
415
  s: e.value.style.chart.tooltip.suffix,
386
416
  r: e.value.style.chart.tooltip.roundingValue
387
417
  }),
388
418
  { datapoint: t, seriesIndex: l }
389
- )}</b></div>`), e.value.style.chart.tooltip.showPercentage && (a += `<div>${e.value.translations.percentageToTotal} : <b>${R({
390
- v: Math.abs(t.value) / F.value * 100,
419
+ )}</b></div>`), e.value.style.chart.tooltip.showPercentage && (a += `<div>${e.value.translations.percentageToTotal} : <b>${M({
420
+ v: Math.abs(t.value) / E.value * 100,
391
421
  s: "%",
392
422
  r: e.value.style.chart.tooltip.roundingPercentage
393
- })}</b></div>`, t.isChild && (a += `<div>${e.value.translations.percentageToSerie}: <b>${R({
423
+ })}</b></div>`, t.isChild && (a += `<div>${e.value.translations.percentageToSerie}: <b>${M({
394
424
  v: Math.abs(t.value) / Math.abs(t.parentValue) * 100,
395
425
  s: "%",
396
426
  r: e.value.style.chart.tooltip.roundingPercentage
397
- })}</b></div>`)), ye.value = `<div style="text-align:left">${a}</div>`);
427
+ })}</b></div>`)), be.value = `<div style="text-align:left">${a}</div>`);
398
428
  }
399
- function ut(t, l, a, o) {
429
+ function rt(t, l, a, o) {
400
430
  if (!e.value.style.chart.layout.bars.dataLabels.value.show)
401
431
  return "";
402
- const b = se(
432
+ const y = re(
403
433
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
404
- P(o === -1 && t >= 0 ? -t : t),
405
- R({
434
+ L(o === -1 && t >= 0 ? -t : t),
435
+ M({
406
436
  p: e.value.style.chart.layout.bars.dataLabels.value.prefix,
407
- v: P(o === -1 && t >= 0 ? -t : t),
437
+ v: L(o === -1 && t >= 0 ? -t : t),
408
438
  s: e.value.style.chart.layout.bars.dataLabels.value.suffix,
409
439
  r: e.value.style.chart.layout.bars.dataLabels.value.roundingValue
410
440
  }),
411
441
  { datapoint: l, seriesIndex: a }
412
- ), $ = `(${nt(t, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
413
- return `${b}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${$}` : ""}`;
442
+ ), w = `(${ut(t, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
443
+ return `${y}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${w}` : ""}`;
414
444
  }
415
- const V = g(() => {
445
+ const D = f(() => {
416
446
  const t = [
417
447
  e.value.translations.parentName,
418
448
  e.value.translations.value,
@@ -421,15 +451,15 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
421
451
  e.value.translations.value,
422
452
  e.value.translations.percentageToSerie,
423
453
  e.value.translations.percentageToTotal
424
- ], l = X.value.map((a) => a.isChild ? a.isFirstChild ? {
454
+ ], l = G.value.map((a) => a.isChild ? a.isFirstChild ? {
425
455
  color: a.color,
426
456
  parentName: a.parentName,
427
457
  parentValue: a.parentValue,
428
- percentageToTotal: a.parentValue / F.value,
458
+ percentageToTotal: a.parentValue / E.value,
429
459
  childName: a.name,
430
460
  childValue: a.sign === 1 ? a.value : -a.value,
431
461
  childPercentageToParent: Math.abs(a.value) / Math.abs(a.parentValue),
432
- childPercentageToTotal: Math.abs(a.value) / F.value
462
+ childPercentageToTotal: Math.abs(a.value) / E.value
433
463
  } : {
434
464
  color: "",
435
465
  parentName: "",
@@ -438,12 +468,12 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
438
468
  childName: a.name,
439
469
  childValue: a.sign === 1 ? a.value : -a.value,
440
470
  childPercentageToParent: Math.abs(a.value) / Math.abs(a.parentValue),
441
- childPercentageToTotal: Math.abs(a.value) / F.value
471
+ childPercentageToTotal: Math.abs(a.value) / E.value
442
472
  } : {
443
473
  color: a.color,
444
474
  parentName: a.name,
445
475
  parentValue: a.sign === 1 ? a.value : -a.value,
446
- percentageToTotal: Math.abs(a.value) / F.value,
476
+ percentageToTotal: Math.abs(a.value) / E.value,
447
477
  childName: "",
448
478
  childValue: "",
449
479
  childPercentageToParent: "",
@@ -451,8 +481,8 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
451
481
  });
452
482
  return { head: t, body: l };
453
483
  });
454
- function Pe(t = null) {
455
- const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = V.value.head, o = V.value.body.map((d) => [
484
+ function Le(t = null) {
485
+ const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = D.value.head, o = D.value.body.map((d) => [
456
486
  d.parentName,
457
487
  d.parentValue,
458
488
  d.percentageToTotal,
@@ -460,66 +490,66 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
460
490
  d.childValue,
461
491
  d.childPercentageToParent,
462
492
  d.childPercentageToTotal
463
- ]), b = l.concat([a]).concat(o), $ = da(b);
464
- t ? t($) : ca({ csvContent: $, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
493
+ ]), y = l.concat([a]).concat(o), w = Ca(y);
494
+ t ? t(w) : ka({ csvContent: w, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
465
495
  }
466
- const W = i(!1);
496
+ const X = i(!1);
467
497
  function st(t) {
468
- W.value = t, De.value += 1;
498
+ X.value = t, Me.value += 1;
469
499
  }
470
- function rt() {
500
+ function it() {
471
501
  _.value.showTable = !_.value.showTable;
472
502
  }
473
- const Ut = i({
503
+ const Jt = i({
474
504
  none: 0,
475
505
  asc: 1,
476
506
  desc: 2
477
- }), D = i(0), ve = i(!1);
478
- Ve(() => {
507
+ }), I = i(0), ce = i(!1);
508
+ De(() => {
479
509
  ["none", "asc", "desc"].includes(e.value.style.chart.layout.bars.sort) || ue({
480
510
  componentName: "VueUiVerticalBar",
481
511
  type: "attributeWrongValue",
482
512
  property: "style.chart.layout.bars.sort",
483
513
  key: e.value.style.chart.layout.bars.sort
484
- }), D.value = Ut.value[e.value.style.chart.layout.bars.sort], _.value.sortDesc = D.value === 2, ve.value = D.value === 0;
514
+ }), I.value = Jt.value[e.value.style.chart.layout.bars.sort], _.value.sortDesc = I.value === 2, ce.value = I.value === 0;
485
515
  });
486
- function Xt() {
487
- D.value += 1, D.value > 2 && (D.value = 0);
516
+ function Qt() {
517
+ I.value += 1, I.value > 2 && (I.value = 0);
488
518
  }
489
- function it() {
490
- Xt(), _.value.sortDesc = D.value === 2, ve.value = D.value === 0, Q();
519
+ function ct() {
520
+ Qt(), _.value.sortDesc = I.value === 2, ce.value = I.value === 0, J();
491
521
  }
492
- function vt() {
522
+ function dt() {
493
523
  _.value.showTooltip = !_.value.showTooltip;
494
524
  }
495
525
  const de = i(!1);
496
- function Ne() {
526
+ function Fe() {
497
527
  de.value = !de.value;
498
528
  }
499
- async function Gt({ scale: t = 2 } = {}) {
500
- if (!N.value) return;
501
- const { width: l, height: a } = N.value.getBoundingClientRect(), o = l / a, { imageUri: b, base64: $ } = await La({ domElement: N.value, base64: !0, img: !0, scale: t });
529
+ async function Zt({ scale: t = 2 } = {}) {
530
+ if (!F.value) return;
531
+ const { width: l, height: a } = F.value.getBoundingClientRect(), o = l / a, { imageUri: y, base64: w } = await Oa({ domElement: F.value, base64: !0, img: !0, scale: t });
502
532
  return {
503
- imageUri: b,
504
- base64: $,
533
+ imageUri: y,
534
+ base64: w,
505
535
  title: e.value.style.chart.title.text,
506
536
  width: l,
507
537
  height: a,
508
538
  aspectRatio: o
509
539
  };
510
540
  }
511
- const ce = g(() => {
541
+ const ve = f(() => {
512
542
  const t = e.value.table.useDialog && !e.value.table.show, l = _.value.showTable;
513
543
  return {
514
- component: t ? Ct : Ta,
544
+ component: t ? Bt : za,
515
545
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
516
546
  props: t ? {
517
547
  backgroundColor: e.value.table.th.backgroundColor,
518
548
  color: e.value.table.th.color,
519
549
  headerColor: e.value.table.th.color,
520
550
  headerBg: e.value.table.th.backgroundColor,
521
- isFullscreen: W.value,
522
- fullscreenParent: N.value,
551
+ isFullscreen: X.value,
552
+ fullscreenParent: F.value,
523
553
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
524
554
  } : {
525
555
  hideDetails: !0,
@@ -538,20 +568,20 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
538
568
  }
539
569
  };
540
570
  });
541
- ze(() => _.value.showTable, (t) => {
571
+ Be(() => _.value.showTable, (t) => {
542
572
  e.value.table.show || (t && e.value.table.useDialog && oe.value ? oe.value.open() : "close" in oe.value && oe.value.close());
543
573
  });
544
- const { isResponsive: Wt } = wa(Je, zt);
545
- function Ae() {
546
- _.value.showTable = !1, ke.value && ke.value.setTableIconState(!1);
574
+ const { isResponsive: ea } = Ba(Ze, Rt);
575
+ function Pe() {
576
+ _.value.showTable = !1, Ce.value && Ce.value.setTableIconState(!1);
547
577
  }
548
- const Ht = g(() => z.value.map((t, l) => ({
578
+ const ta = f(() => B.value.map((t, l) => ({
549
579
  ...t,
550
580
  shape: "square",
551
- display: `${t.name}: ${se(
581
+ display: `${t.name}: ${re(
552
582
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
553
583
  t.value,
554
- R({
584
+ M({
555
585
  p: e.value.style.chart.legend.prefix,
556
586
  v: t.value,
557
587
  s: e.value.style.chart.legend.suffix,
@@ -559,92 +589,92 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
559
589
  }),
560
590
  { datapoint: t, seriesIndex: l }
561
591
  )}`
562
- }))), jt = g(() => e.value.style.chart.backgroundColor), qt = g(() => e.value.style.chart.legend), Yt = g(() => e.value.style.chart.title), Kt = g(() => Ht.value.map((t) => ({
592
+ }))), aa = f(() => e.value.style.chart.backgroundColor), la = f(() => e.value.style.chart.legend), oa = f(() => e.value.style.chart.title), na = f(() => ta.value.map((t) => ({
563
593
  ...t,
564
594
  name: t.display
565
- }))), { exportSvg: Qt, getSvg: Jt } = xa({
595
+ }))), { exportSvg: ua, getSvg: ra } = Fa({
566
596
  svg: _e,
567
- title: Yt,
568
- legend: qt,
569
- legendItems: Kt,
570
- backgroundColor: jt
597
+ title: oa,
598
+ legend: la,
599
+ legendItems: na,
600
+ backgroundColor: aa
571
601
  });
572
- async function dt({ isCb: t }) {
602
+ async function vt({ isCb: t }) {
573
603
  if (t) {
574
- const { blob: l, url: a, text: o, dataUrl: b } = await Jt();
575
- e.value.userOptions.callbacks.svg({ blob: l, url: a, text: o, dataUrl: b });
604
+ const { blob: l, url: a, text: o, dataUrl: y } = await ra();
605
+ e.value.userOptions.callbacks.svg({ blob: l, url: a, text: o, dataUrl: y });
576
606
  } else
577
- Qt();
607
+ ua();
578
608
  }
579
- return mt({
580
- autoSize: M,
609
+ return At({
610
+ autoSize: V,
581
611
  // v3
582
- getData: Mt,
583
- getImage: Gt,
584
- recalculateHeight: Q,
585
- generatePdf: Ye,
586
- generateCsv: Pe,
587
- generateImage: Ke,
588
- generateSvg: dt,
589
- hideSeries: It,
590
- showSeries: Ot,
591
- toggleTable: rt,
592
- toggleSort: it,
593
- toggleTooltip: vt,
594
- toggleAnnotator: Ne,
612
+ getData: Ht,
613
+ getImage: Zt,
614
+ recalculateHeight: J,
615
+ generatePdf: Ke,
616
+ generateCsv: Le,
617
+ generateImage: Je,
618
+ generateSvg: vt,
619
+ hideSeries: Wt,
620
+ showSeries: Gt,
621
+ toggleTable: it,
622
+ toggleSort: ct,
623
+ toggleTooltip: dt,
624
+ toggleAnnotator: Fe,
595
625
  toggleFullscreen: st
596
- }), (t, l) => (u(), v("div", {
597
- class: H(`vue-data-ui-component vue-ui-vertical-bar ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${e.value.responsive && e.value.autoSize ? "vue-ui-vertical-bar-autosize" : ""}`),
626
+ }), (t, l) => (u(), c("div", {
627
+ class: j(`vue-data-ui-component vue-ui-vertical-bar ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${e.value.responsive && e.value.autoSize ? "vue-ui-vertical-bar-autosize" : ""}`),
598
628
  ref_key: "verticalBarChart",
599
- ref: N,
600
- id: `vue-ui-vertical-bar_${L.value}`,
601
- style: c(`padding-top:${e.value.responsive && e.value.autoSize ? `${Te.value / 2}px` : "0"}; font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? e.value.autoSize ? `height:calc(100% - ${Te.value}px` : "height: 100%" : ""}`),
602
- onMouseenter: l[3] || (l[3] = () => s(We)(!0)),
603
- onMouseleave: l[4] || (l[4] = () => s(We)(!1))
629
+ ref: F,
630
+ id: `vue-ui-vertical-bar_${S.value}`,
631
+ style: v(`padding-top:${e.value.responsive && e.value.autoSize ? `${Ae.value / 2}px` : "0"}; font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? e.value.autoSize ? `height:calc(100% - ${Ae.value}px` : "height: 100%" : ""}`),
632
+ onMouseenter: l[3] || (l[3] = () => r(je)(!0)),
633
+ onMouseleave: l[4] || (l[4] = () => r(je)(!1))
604
634
  }, [
605
- e.value.userOptions.buttons.annotator ? (u(), j(s(wt), {
635
+ e.value.userOptions.buttons.annotator ? (u(), H(r(Lt), {
606
636
  key: 0,
607
- svgRef: s(_e),
637
+ svgRef: r(_e),
608
638
  backgroundColor: e.value.style.chart.backgroundColor,
609
639
  color: e.value.style.chart.color,
610
640
  active: de.value,
611
- onClose: Ne
641
+ onClose: Fe
612
642
  }, {
613
643
  "annotator-action-close": h(() => [
614
- y(t.$slots, "annotator-action-close", {}, void 0, !0)
644
+ b(t.$slots, "annotator-action-close", {}, void 0, !0)
615
645
  ]),
616
646
  "annotator-action-color": h(({ color: a }) => [
617
- y(t.$slots, "annotator-action-color", O(I({ color: a })), void 0, !0)
647
+ b(t.$slots, "annotator-action-color", N(z({ color: a })), void 0, !0)
618
648
  ]),
619
649
  "annotator-action-draw": h(({ mode: a }) => [
620
- y(t.$slots, "annotator-action-draw", O(I({ mode: a })), void 0, !0)
650
+ b(t.$slots, "annotator-action-draw", N(z({ mode: a })), void 0, !0)
621
651
  ]),
622
652
  "annotator-action-undo": h(({ disabled: a }) => [
623
- y(t.$slots, "annotator-action-undo", O(I({ disabled: a })), void 0, !0)
653
+ b(t.$slots, "annotator-action-undo", N(z({ disabled: a })), void 0, !0)
624
654
  ]),
625
655
  "annotator-action-redo": h(({ disabled: a }) => [
626
- y(t.$slots, "annotator-action-redo", O(I({ disabled: a })), void 0, !0)
656
+ b(t.$slots, "annotator-action-redo", N(z({ disabled: a })), void 0, !0)
627
657
  ]),
628
658
  "annotator-action-delete": h(({ disabled: a }) => [
629
- y(t.$slots, "annotator-action-delete", O(I({ disabled: a })), void 0, !0)
659
+ b(t.$slots, "annotator-action-delete", N(z({ disabled: a })), void 0, !0)
630
660
  ]),
631
661
  _: 3
632
662
  }, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
633
- At.value ? (u(), v("div", {
663
+ Mt.value ? (u(), c("div", {
634
664
  key: 1,
635
665
  ref_key: "noTitle",
636
- ref: Ue,
666
+ ref: Ge,
637
667
  class: "vue-data-ui-no-title-space",
638
668
  style: "height:36px; width: 100%;background:transparent"
639
669
  }, null, 512)) : m("", !0),
640
- e.value.style.chart.title.text ? (u(), v("div", {
670
+ e.value.style.chart.title.text ? (u(), c("div", {
641
671
  key: 2,
642
672
  ref_key: "chartTitle",
643
673
  ref: Re,
644
674
  style: "width:100%;background:transparent;padding-bottom:12px"
645
675
  }, [
646
- (u(), j(Sa, {
647
- key: `title_${Xe.value}`,
676
+ (u(), H(Ea, {
677
+ key: `title_${We.value}`,
648
678
  config: {
649
679
  title: {
650
680
  cy: "vertical-bar-div-title",
@@ -657,15 +687,15 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
657
687
  }
658
688
  }, null, 8, ["config"]))
659
689
  ], 512)) : m("", !0),
660
- e.value.userOptions.show && fe.value && (s(He) || s($e)) ? (u(), j(s($t), {
690
+ e.value.userOptions.show && ge.value && (r(He) || r(we)) ? (u(), H(r(Ft), {
661
691
  ref_key: "userOptionsRef",
662
- ref: ke,
663
- key: `user_options_${De.value}`,
692
+ ref: Ce,
693
+ key: `user_options_${Me.value}`,
664
694
  backgroundColor: e.value.style.chart.backgroundColor,
665
695
  color: e.value.style.chart.color,
666
- isImaging: s(qe),
667
- isPrinting: s(je),
668
- uid: L.value,
696
+ isImaging: r(Ye),
697
+ isPrinting: r(qe),
698
+ uid: S.value,
669
699
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
670
700
  hasPdf: e.value.userOptions.buttons.pdf,
671
701
  hasImg: e.value.userOptions.buttons.img,
@@ -674,10 +704,10 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
674
704
  hasTable: e.value.userOptions.buttons.table,
675
705
  hasSort: e.value.userOptions.buttons.sort,
676
706
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
677
- isFullscreen: W.value,
707
+ isFullscreen: X.value,
678
708
  isTooltip: _.value.showTooltip,
679
709
  titles: { ...e.value.userOptions.buttonTitles },
680
- chartElement: N.value,
710
+ chartElement: F.value,
681
711
  position: e.value.userOptions.position,
682
712
  hasAnnotator: e.value.userOptions.buttons.annotator,
683
713
  isAnnotation: de.value,
@@ -685,354 +715,354 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
685
715
  printScale: e.value.userOptions.print.scale,
686
716
  tableDialog: e.value.table.useDialog,
687
717
  onToggleFullscreen: st,
688
- onGeneratePdf: s(Ye),
689
- onGenerateCsv: Pe,
690
- onGenerateImage: s(Ke),
691
- onGenerateSvg: dt,
692
- onToggleTable: rt,
693
- onToggleSort: it,
694
- onToggleTooltip: vt,
695
- onToggleAnnotator: Ne,
696
- style: c({
697
- visibility: s(He) ? s($e) ? "visible" : "hidden" : "visible"
718
+ onGeneratePdf: r(Ke),
719
+ onGenerateCsv: Le,
720
+ onGenerateImage: r(Je),
721
+ onGenerateSvg: vt,
722
+ onToggleTable: it,
723
+ onToggleSort: ct,
724
+ onToggleTooltip: dt,
725
+ onToggleAnnotator: Fe,
726
+ style: v({
727
+ visibility: r(He) ? r(we) ? "visible" : "hidden" : "visible"
698
728
  })
699
729
  }, pe({ _: 2 }, [
700
730
  t.$slots.menuIcon ? {
701
731
  name: "menuIcon",
702
732
  fn: h(({ isOpen: a, color: o }) => [
703
- y(t.$slots, "menuIcon", O(I({ isOpen: a, color: o })), void 0, !0)
733
+ b(t.$slots, "menuIcon", N(z({ isOpen: a, color: o })), void 0, !0)
704
734
  ]),
705
735
  key: "0"
706
736
  } : void 0,
707
737
  t.$slots.optionTooltip ? {
708
738
  name: "optionTooltip",
709
739
  fn: h(() => [
710
- y(t.$slots, "optionTooltip", {}, void 0, !0)
740
+ b(t.$slots, "optionTooltip", {}, void 0, !0)
711
741
  ]),
712
742
  key: "1"
713
743
  } : void 0,
714
744
  t.$slots.optionPdf ? {
715
745
  name: "optionPdf",
716
746
  fn: h(() => [
717
- y(t.$slots, "optionPdf", {}, void 0, !0)
747
+ b(t.$slots, "optionPdf", {}, void 0, !0)
718
748
  ]),
719
749
  key: "2"
720
750
  } : void 0,
721
751
  t.$slots.optionCsv ? {
722
752
  name: "optionCsv",
723
753
  fn: h(() => [
724
- y(t.$slots, "optionCsv", {}, void 0, !0)
754
+ b(t.$slots, "optionCsv", {}, void 0, !0)
725
755
  ]),
726
756
  key: "3"
727
757
  } : void 0,
728
758
  t.$slots.optionImg ? {
729
759
  name: "optionImg",
730
760
  fn: h(() => [
731
- y(t.$slots, "optionImg", {}, void 0, !0)
761
+ b(t.$slots, "optionImg", {}, void 0, !0)
732
762
  ]),
733
763
  key: "4"
734
764
  } : void 0,
735
765
  t.$slots.optionSvg ? {
736
766
  name: "optionSvg",
737
767
  fn: h(() => [
738
- y(t.$slots, "optionSvg", {}, void 0, !0)
768
+ b(t.$slots, "optionSvg", {}, void 0, !0)
739
769
  ]),
740
770
  key: "5"
741
771
  } : void 0,
742
772
  t.$slots.optionTable ? {
743
773
  name: "optionTable",
744
774
  fn: h(() => [
745
- y(t.$slots, "optionTable", {}, void 0, !0)
775
+ b(t.$slots, "optionTable", {}, void 0, !0)
746
776
  ]),
747
777
  key: "6"
748
778
  } : void 0,
749
779
  t.$slots.optionLabels ? {
750
780
  name: "optionLabels",
751
781
  fn: h(() => [
752
- y(t.$slots, "optionLabels", {}, void 0, !0)
782
+ b(t.$slots, "optionLabels", {}, void 0, !0)
753
783
  ]),
754
784
  key: "7"
755
785
  } : void 0,
756
786
  t.$slots.optionSort ? {
757
787
  name: "optionSort",
758
788
  fn: h(() => [
759
- y(t.$slots, "optionSort", {}, void 0, !0)
789
+ b(t.$slots, "optionSort", {}, void 0, !0)
760
790
  ]),
761
791
  key: "8"
762
792
  } : void 0,
763
793
  t.$slots.optionFullscreen ? {
764
794
  name: "optionFullscreen",
765
795
  fn: h(({ toggleFullscreen: a, isFullscreen: o }) => [
766
- y(t.$slots, "optionFullscreen", O(I({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
796
+ b(t.$slots, "optionFullscreen", N(z({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
767
797
  ]),
768
798
  key: "9"
769
799
  } : void 0,
770
800
  t.$slots.optionAnnotator ? {
771
801
  name: "optionAnnotator",
772
802
  fn: h(({ toggleAnnotator: a, isAnnotator: o }) => [
773
- y(t.$slots, "optionAnnotator", O(I({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
803
+ b(t.$slots, "optionAnnotator", N(z({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
774
804
  ]),
775
805
  key: "10"
776
806
  } : void 0
777
807
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
778
- e.value.style.chart.legend.show && e.value.style.chart.legend.position === "top" ? (u(), v("div", {
808
+ e.value.style.chart.legend.show && e.value.style.chart.legend.position === "top" ? (u(), c("div", {
779
809
  key: 4,
780
810
  ref_key: "chartLegend",
781
- ref: be
811
+ ref: ye
782
812
  }, [
783
- (u(), j(gt, {
813
+ (u(), H(ft, {
784
814
  key: `legend_top_${me.value}`,
785
- legendSet: z.value,
786
- config: at.value,
787
- onClickMarker: l[0] || (l[0] = ({ legend: a }) => E(a.id))
815
+ legendSet: B.value,
816
+ config: lt.value,
817
+ onClickMarker: l[0] || (l[0] = ({ legend: a }) => R(a.id))
788
818
  }, pe({
789
819
  item: h(({ legend: a, index: o }) => [
790
820
  n("div", {
791
- onClick: (b) => E(a.id),
792
- style: c(`opacity:${T.value.includes(a.id) ? 0.5 : 1}`)
793
- }, p(a.name) + ": " + p(s(se)(
821
+ onClick: (y) => R(a.id),
822
+ style: v(`opacity:${A.value.includes(a.id) ? 0.5 : 1}`)
823
+ }, p(a.name) + ": " + p(r(re)(
794
824
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
795
825
  a.value,
796
- s(R)({
826
+ r(M)({
797
827
  p: e.value.style.chart.legend.prefix,
798
828
  v: a.value,
799
829
  s: e.value.style.chart.legend.suffix,
800
830
  r: e.value.style.chart.legend.roundingValue
801
831
  }),
802
832
  { datapoint: a, seriesIndex: o }
803
- )), 13, Aa)
833
+ )), 13, Ma)
804
834
  ]),
805
835
  _: 2
806
836
  }, [
807
837
  t.$slots.pattern ? {
808
838
  name: "legend-pattern",
809
839
  fn: h(({ legend: a, index: o }) => [
810
- ee(yt, {
840
+ ee(bt, {
811
841
  shape: a.shape,
812
842
  radius: 30,
813
843
  stroke: "none",
814
844
  plot: { x: 30, y: 30 },
815
- fill: `url(#pattern_${L.value}_${o})`
845
+ fill: `url(#pattern_${S.value}_${o})`
816
846
  }, null, 8, ["shape", "fill"])
817
847
  ]),
818
848
  key: "0"
819
849
  } : void 0
820
850
  ]), 1032, ["legendSet", "config"]))
821
851
  ], 512)) : m("", !0),
822
- (u(), v("svg", {
852
+ (u(), c("svg", {
823
853
  ref_key: "svgRef",
824
854
  ref: _e,
825
- xmlns: s(ia),
826
- class: H({ "vue-data-ui-fullscreen--on": W.value, "vue-data-ui-fulscreen--off": !W.value }),
827
- viewBox: re.value,
828
- style: c(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
855
+ xmlns: r(ya),
856
+ class: j({ "vue-data-ui-fullscreen--on": X.value, "vue-data-ui-fulscreen--off": !X.value }),
857
+ viewBox: se.value,
858
+ style: v(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
829
859
  }, [
830
860
  n("g", {
831
861
  ref_key: "G",
832
862
  ref: Y,
833
863
  class: "vue-data-ui-g"
834
864
  }, [
835
- ee(s(_t)),
836
- t.$slots["chart-background"] ? (u(), v("foreignObject", {
865
+ ee(r(Pt)),
866
+ t.$slots["chart-background"] ? (u(), c("foreignObject", {
837
867
  key: 0,
838
- x: A.value.x,
868
+ x: P.value.x,
839
869
  y: 0,
840
- width: A.value.width,
841
- height: A.value.height,
870
+ width: P.value.width,
871
+ height: P.value.height,
842
872
  style: {
843
873
  pointerEvents: "none"
844
874
  }
845
875
  }, [
846
- y(t.$slots, "chart-background", {}, void 0, !0)
847
- ], 8, Va)) : m("", !0),
848
- (u(!0), v(te, null, ae(X.value, (a, o) => (u(), v("linearGradient", {
876
+ b(t.$slots, "chart-background", {}, void 0, !0)
877
+ ], 8, Ua)) : m("", !0),
878
+ (u(!0), c(te, null, ae(G.value, (a, o) => (u(), c("linearGradient", {
849
879
  x1: "0%",
850
880
  y1: "0%",
851
881
  x2: "100%",
852
882
  y2: "0%",
853
- id: `vertical_bar_gradient_${L.value}_${o}`
883
+ id: `vertical_bar_gradient_${S.value}_${o}`
854
884
  }, [
855
885
  n("stop", {
856
886
  offset: "0%",
857
887
  "stop-color": a.color
858
- }, null, 8, Ia),
888
+ }, null, 8, Wa),
859
889
  n("stop", {
860
890
  offset: "100%",
861
- "stop-color": s(Be)(s(va)(a.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
862
- }, null, 8, Fa)
863
- ], 8, Oa))), 256)),
864
- t.$slots.pattern ? (u(), v("g", Ba, [
865
- (u(!0), v(te, null, ae(X.value, (a) => (u(), v("defs", null, [
866
- y(t.$slots, "pattern", ht({ ref_for: !0 }, { seriesIndex: a.absoluteIndex, patternId: `pattern_${L.value}_${a.absoluteIndex}` }), void 0, !0)
891
+ "stop-color": r(Oe)(r(ma)(a.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
892
+ }, null, 8, Xa)
893
+ ], 8, Ga))), 256)),
894
+ t.$slots.pattern ? (u(), c("g", ja, [
895
+ (u(!0), c(te, null, ae(G.value, (a) => (u(), c("defs", null, [
896
+ b(t.$slots, "pattern", pt({ ref_for: !0 }, { seriesIndex: a.absoluteIndex, patternId: `pattern_${S.value}_${a.absoluteIndex}` }), void 0, !0)
867
897
  ]))), 256))
868
898
  ])) : m("", !0),
869
- (u(!0), v(te, null, ae(X.value, (a, o) => (u(), v("g", null, [
899
+ (u(!0), c(te, null, ae(G.value, (a, o) => (u(), c("g", null, [
870
900
  n("rect", {
871
- x: s(P)(G.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : S(a.value) <= 0 ? 1e-4 : S(a.value)) : r.value.left),
872
- y: r.value.top + (x.value + f.value) * o,
873
- width: s(P)(S(a.value) <= 0 ? 1e-4 : S(a.value)),
874
- height: f.value <= 0 ? 1e-4 : f.value,
901
+ x: r(L)(W.value ? s.value.left + s.value.width / 2 - (a.sign === 1 ? 0 : T(a.value) <= 0 ? 1e-4 : T(a.value)) : s.value.left),
902
+ y: s.value.top + (k.value + g.value) * o,
903
+ width: r(L)(T(a.value) <= 0 ? 1e-4 : T(a.value)),
904
+ height: g.value <= 0 ? 1e-4 : g.value,
875
905
  fill: e.value.style.chart.layout.bars.underlayerColor,
876
906
  rx: e.value.style.chart.layout.bars.borderRadius,
877
- class: H({ animated: e.value.useCssAnimation })
878
- }, null, 10, Ma)
907
+ class: j({ animated: e.value.useCssAnimation })
908
+ }, null, 10, Ha)
879
909
  ]))), 256)),
880
- (u(!0), v(te, null, ae(X.value, (a, o) => (u(), v("g", null, [
910
+ (u(!0), c(te, null, ae(G.value, (a, o) => (u(), c("g", null, [
881
911
  n("rect", {
882
- x: s(P)(G.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : S(a.value) <= 0 ? 1e-4 : S(a.value)) : r.value.left),
883
- y: r.value.top + (x.value + f.value) * o,
884
- width: s(P)(S(a.value) <= 0 ? 1e-4 : S(a.value)),
885
- height: f.value <= 0 ? 1e-4 : f.value,
886
- fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${L.value}_${o})` : s(Be)(a.color, e.value.style.chart.layout.bars.fillOpacity),
912
+ x: r(L)(W.value ? s.value.left + s.value.width / 2 - (a.sign === 1 ? 0 : T(a.value) <= 0 ? 1e-4 : T(a.value)) : s.value.left),
913
+ y: s.value.top + (k.value + g.value) * o,
914
+ width: r(L)(T(a.value) <= 0 ? 1e-4 : T(a.value)),
915
+ height: g.value <= 0 ? 1e-4 : g.value,
916
+ fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${S.value}_${o})` : r(Oe)(a.color, e.value.style.chart.layout.bars.fillOpacity),
887
917
  rx: e.value.style.chart.layout.bars.borderRadius,
888
918
  stroke: e.value.style.chart.layout.bars.useStroke ? a.color : "none",
889
919
  "stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
890
- class: H({ animated: e.value.useCssAnimation })
891
- }, null, 10, Da),
892
- t.$slots.pattern ? (u(), v("rect", {
920
+ class: j({ animated: e.value.useCssAnimation })
921
+ }, null, 10, qa),
922
+ t.$slots.pattern ? (u(), c("rect", {
893
923
  key: 0,
894
- x: s(P)(G.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : S(a.value) <= 0 ? 1e-4 : S(a.value)) : r.value.left),
895
- y: r.value.top + (x.value + f.value) * o,
896
- width: s(P)(S(a.value) <= 0 ? 1e-4 : S(a.value)),
897
- height: f.value <= 0 ? 1e-4 : f.value,
898
- fill: `url(#pattern_${L.value}_${a.absoluteIndex})`,
924
+ x: r(L)(W.value ? s.value.left + s.value.width / 2 - (a.sign === 1 ? 0 : T(a.value) <= 0 ? 1e-4 : T(a.value)) : s.value.left),
925
+ y: s.value.top + (k.value + g.value) * o,
926
+ width: r(L)(T(a.value) <= 0 ? 1e-4 : T(a.value)),
927
+ height: g.value <= 0 ? 1e-4 : g.value,
928
+ fill: `url(#pattern_${S.value}_${a.absoluteIndex})`,
899
929
  rx: e.value.style.chart.layout.bars.borderRadius,
900
930
  stroke: e.value.style.chart.layout.bars.useStroke ? a.color : "none",
901
931
  "stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
902
- class: H({ animated: e.value.useCssAnimation })
903
- }, null, 10, Ra)) : m("", !0),
904
- (!a.isChild || a.isLastChild) && e.value.style.chart.layout.separators.show && o !== X.value.length - 1 ? (u(), v("line", {
932
+ class: j({ animated: e.value.useCssAnimation })
933
+ }, null, 10, Ya)) : m("", !0),
934
+ (!a.isChild || a.isLastChild) && e.value.style.chart.layout.separators.show && o !== G.value.length - 1 ? (u(), c("line", {
905
935
  key: 1,
906
- x1: A.value.x,
907
- x2: e.value.style.chart.layout.separators.fullWidth ? A.value.width - Math.abs(A.value.x) : r.value.left,
908
- y1: f.value + x.value / 2 + r.value.top + (x.value + f.value) * o,
909
- y2: f.value + x.value / 2 + r.value.top + (x.value + f.value) * o,
936
+ x1: P.value.x,
937
+ x2: e.value.style.chart.layout.separators.fullWidth ? P.value.width - Math.abs(P.value.x) : s.value.left,
938
+ y1: g.value + k.value / 2 + s.value.top + (k.value + g.value) * o,
939
+ y2: g.value + k.value / 2 + s.value.top + (k.value + g.value) * o,
910
940
  stroke: e.value.style.chart.layout.separators.color,
911
941
  "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
912
942
  "stroke-linecap": "round",
913
943
  style: { transition: "none !important", animation: "none !important" }
914
- }, null, 8, Ea)) : m("", !0),
915
- G.value && e.value.style.chart.layout.separators.show ? (u(), v("line", {
944
+ }, null, 8, Ka)) : m("", !0),
945
+ W.value && e.value.style.chart.layout.separators.show ? (u(), c("line", {
916
946
  key: 2,
917
- x1: r.value.left + r.value.width / 2,
918
- x2: r.value.left + r.value.width / 2,
919
- y1: r.value.top,
920
- y2: r.value.bottom,
947
+ x1: s.value.left + s.value.width / 2,
948
+ x2: s.value.left + s.value.width / 2,
949
+ y1: s.value.top,
950
+ y2: s.value.bottom,
921
951
  stroke: e.value.style.chart.layout.separators.color,
922
952
  "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
923
953
  "stroke-linecap": "round"
924
- }, null, 8, Ua)) : m("", !0),
925
- n("g", Xa, [
954
+ }, null, 8, Ja)) : m("", !0),
955
+ n("g", Qa, [
926
956
  n("text", {
927
- x: G.value ? r.value.left + r.value.width / 2 + (a.sign === 1 ? -12 : 12) + (a.sign === 1 ? -e.value.style.chart.layout.bars.dataLabels.offsetX : e.value.style.chart.layout.bars.dataLabels.offsetX) : Bt(a.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
928
- y: r.value.top + (x.value + f.value) * o + f.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
929
- "text-anchor": !G.value || a.sign === -1 ? "start" : "end",
957
+ x: W.value ? s.value.left + s.value.width / 2 + (a.sign === 1 ? -12 : 12) + (a.sign === 1 ? -e.value.style.chart.layout.bars.dataLabels.offsetX : e.value.style.chart.layout.bars.dataLabels.offsetX) : jt(a.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
958
+ y: s.value.top + (k.value + g.value) * o + g.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
959
+ "text-anchor": !W.value || a.sign === -1 ? "start" : "end",
930
960
  "font-size": e.value.style.chart.layout.bars.dataLabels.fontSize,
931
961
  fill: e.value.style.chart.layout.bars.dataLabels.color,
932
962
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
933
- }, p(ut(a.value, a, o, a.sign)), 9, Ga),
934
- (a.isChild || !a.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (u(), v("text", {
963
+ }, p(rt(a.value, a, o, a.sign)), 9, Za),
964
+ (a.isChild || !a.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (u(), c("text", {
935
965
  key: 0,
936
966
  "text-anchor": "end",
937
- x: r.value.left - 3 + e.value.style.chart.layout.bars.nameLabels.offsetX,
938
- y: r.value.top + (x.value + f.value) * o + f.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2,
967
+ x: s.value.left - 3 + e.value.style.chart.layout.bars.nameLabels.offsetX,
968
+ y: s.value.top + (k.value + g.value) * o + g.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2,
939
969
  "font-size": e.value.style.chart.layout.bars.nameLabels.fontSize,
940
970
  fill: e.value.style.chart.layout.bars.nameLabels.color,
941
971
  "font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal"
942
- }, p(a.name), 9, Wa)) : m("", !0)
972
+ }, p(a.name), 9, el)) : m("", !0)
943
973
  ]),
944
- n("g", Ha, [
945
- a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), v("text", {
974
+ n("g", tl, [
975
+ a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), c("text", {
946
976
  key: 0,
947
- x: e.value.autoSize ? void 0 : A.value.x + e.value.style.chart.layout.bars.parentLabels.offsetX,
977
+ x: e.value.autoSize ? void 0 : P.value.x + e.value.style.chart.layout.bars.parentLabels.offsetX,
948
978
  y: ne(a, o).y,
949
979
  "font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
950
980
  fill: e.value.style.chart.layout.bars.parentLabels.color,
951
981
  "font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
952
982
  "text-anchor": "start"
953
- }, p(ne(a, o).name), 9, ja)) : m("", !0),
954
- a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), v("text", {
983
+ }, p(ne(a, o).name), 9, al)) : m("", !0),
984
+ a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), c("text", {
955
985
  key: 1,
956
- x: e.value.autoSize ? void 0 : A.value.x + e.value.style.chart.layout.bars.parentLabels.offsetX,
986
+ x: e.value.autoSize ? void 0 : P.value.x + e.value.style.chart.layout.bars.parentLabels.offsetX,
957
987
  y: ne(a, o).y + e.value.style.chart.layout.bars.parentLabels.fontSize + 6,
958
988
  "font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
959
989
  fill: e.value.style.chart.layout.bars.parentLabels.color,
960
990
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
961
991
  "text-anchor": "start"
962
- }, p(ut(ne(a, o).value), ne(a, o), o, a.parentSign || a.sign), 9, qa)) : m("", !0)
992
+ }, p(rt(ne(a, o).value), ne(a, o), o, a.parentSign || a.sign), 9, ll)) : m("", !0)
963
993
  ]),
964
994
  n("rect", {
965
- x: A.value.x,
966
- y: r.value.top + (x.value + f.value) * o - x.value / 2,
967
- width: A.value.width,
968
- height: f.value + x.value <= 0 ? 1e-4 : f.value + x.value,
969
- fill: Se.value === a.id ? s(Be)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
970
- onMouseenter: (b) => Et(a, o),
971
- onMouseleave: (b) => Rt({ datapoint: a, seriesIndex: o }),
972
- onClick: (b) => Dt({ datapoint: a, seriesIndex: o })
973
- }, null, 40, Ya)
995
+ x: P.value.x,
996
+ y: s.value.top + (k.value + g.value) * o - k.value / 2,
997
+ width: P.value.width,
998
+ height: g.value + k.value <= 0 ? 1e-4 : g.value + k.value,
999
+ fill: Te.value === a.id ? r(Oe)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
1000
+ onMouseenter: (y) => Kt(a, o),
1001
+ onMouseleave: (y) => Yt({ datapoint: a, seriesIndex: o }),
1002
+ onClick: (y) => qt({ datapoint: a, seriesIndex: o })
1003
+ }, null, 40, ol)
974
1004
  ]))), 256)),
975
- y(t.$slots, "svg", { svg: A.value }, void 0, !0)
1005
+ b(t.$slots, "svg", { svg: P.value }, void 0, !0)
976
1006
  ], 512)
977
- ], 14, za)),
978
- t.$slots.watermark ? (u(), v("div", Ka, [
979
- y(t.$slots, "watermark", O(I({ isPrinting: s(je) || s(qe) })), void 0, !0)
1007
+ ], 14, Ra)),
1008
+ t.$slots.watermark ? (u(), c("div", nl, [
1009
+ b(t.$slots, "watermark", N(z({ isPrinting: r(qe) || r(Ye) })), void 0, !0)
980
1010
  ])) : m("", !0),
981
- e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (u(), v("div", {
1011
+ e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (u(), c("div", {
982
1012
  key: 6,
983
1013
  ref_key: "chartLegend",
984
- ref: be
1014
+ ref: ye
985
1015
  }, [
986
- (u(), j(gt, {
1016
+ (u(), H(ft, {
987
1017
  key: `legend_bottom_${me.value}`,
988
- legendSet: z.value,
989
- config: at.value,
990
- onClickMarker: l[1] || (l[1] = ({ legend: a }) => E(a.id))
1018
+ legendSet: B.value,
1019
+ config: lt.value,
1020
+ onClickMarker: l[1] || (l[1] = ({ legend: a }) => R(a.id))
991
1021
  }, pe({
992
1022
  item: h(({ legend: a, index: o }) => [
993
1023
  n("div", {
994
- onClick: (b) => E(a.id),
995
- style: c(`opacity:${T.value.includes(a.id) ? 0.5 : 1}`)
996
- }, p(a.name) + ": " + p(s(se)(
1024
+ onClick: (y) => R(a.id),
1025
+ style: v(`opacity:${A.value.includes(a.id) ? 0.5 : 1}`)
1026
+ }, p(a.name) + ": " + p(r(re)(
997
1027
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
998
1028
  a.value,
999
- s(R)({
1029
+ r(M)({
1000
1030
  p: e.value.style.chart.legend.prefix,
1001
1031
  v: a.value,
1002
1032
  s: e.value.style.chart.legend.suffix,
1003
1033
  r: e.value.style.chart.legend.roundingValue
1004
1034
  }),
1005
1035
  { datapoint: a, seriesIndex: o }
1006
- )), 13, Qa)
1036
+ )), 13, ul)
1007
1037
  ]),
1008
1038
  _: 2
1009
1039
  }, [
1010
1040
  t.$slots.pattern ? {
1011
1041
  name: "legend-pattern",
1012
1042
  fn: h(({ legend: a, index: o }) => [
1013
- ee(yt, {
1043
+ ee(bt, {
1014
1044
  shape: a.shape,
1015
1045
  radius: 30,
1016
1046
  stroke: "none",
1017
1047
  plot: { x: 30, y: 30 },
1018
- fill: `url(#pattern_${L.value}_${o})`
1048
+ fill: `url(#pattern_${S.value}_${o})`
1019
1049
  }, null, 8, ["shape", "fill"])
1020
1050
  ]),
1021
1051
  key: "0"
1022
1052
  } : void 0
1023
1053
  ]), 1032, ["legendSet", "config"]))
1024
1054
  ], 512)) : m("", !0),
1025
- y(t.$slots, "legend", { legend: z.value }, void 0, !0),
1026
- t.$slots.source ? (u(), v("div", {
1055
+ b(t.$slots, "legend", { legend: B.value }, void 0, !0),
1056
+ t.$slots.source ? (u(), c("div", {
1027
1057
  key: 7,
1028
1058
  ref_key: "source",
1029
- ref: Ee,
1059
+ ref: Ue,
1030
1060
  dir: "auto"
1031
1061
  }, [
1032
- y(t.$slots, "source", {}, void 0, !0)
1062
+ b(t.$slots, "source", {}, void 0, !0)
1033
1063
  ], 512)) : m("", !0),
1034
- ee(s(xt), {
1035
- show: _.value.showTooltip && ge.value && T.value.length < k.dataset.length,
1064
+ ee(r(St), {
1065
+ show: _.value.showTooltip && fe.value && A.value.length < C.dataset.length,
1036
1066
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1037
1067
  color: e.value.style.chart.tooltip.color,
1038
1068
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -1042,9 +1072,9 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
1042
1072
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
1043
1073
  position: e.value.style.chart.tooltip.position,
1044
1074
  offsetY: e.value.style.chart.tooltip.offsetY,
1045
- parent: N.value,
1046
- content: ye.value,
1047
- isFullscreen: W.value,
1075
+ parent: F.value,
1076
+ content: be.value,
1077
+ isFullscreen: X.value,
1048
1078
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
1049
1079
  smooth: e.value.style.chart.tooltip.smooth,
1050
1080
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
@@ -1052,35 +1082,35 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
1052
1082
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
1053
1083
  }, {
1054
1084
  "tooltip-before": h(() => [
1055
- y(t.$slots, "tooltip-before", O(I({ ...Le.value })), void 0, !0)
1085
+ b(t.$slots, "tooltip-before", N(z({ ...Se.value })), void 0, !0)
1056
1086
  ]),
1057
1087
  "tooltip-after": h(() => [
1058
- y(t.$slots, "tooltip-after", O(I({ ...Le.value })), void 0, !0)
1088
+ b(t.$slots, "tooltip-after", N(z({ ...Se.value })), void 0, !0)
1059
1089
  ]),
1060
1090
  _: 3
1061
1091
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1062
- fe.value && e.value.userOptions.buttons.table ? (u(), j(la(ce.value.component), ht({ key: 8 }, ce.value.props, {
1092
+ ge.value && e.value.userOptions.buttons.table ? (u(), H(va(ve.value.component), pt({ key: 8 }, ve.value.props, {
1063
1093
  ref_key: "tableUnit",
1064
1094
  ref: oe,
1065
- onClose: Ae
1095
+ onClose: Pe
1066
1096
  }), pe({
1067
1097
  content: h(() => [
1068
1098
  n("div", {
1069
1099
  ref_key: "tableContainer",
1070
- ref: Je,
1100
+ ref: Ze,
1071
1101
  class: "vue-ui-vertical-bar-table atom-data-table",
1072
- style: c(`${e.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px"}`)
1102
+ style: v(`${e.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px"}`)
1073
1103
  }, [
1074
- n("div", Ja, [
1075
- e.value.table.useDialog ? m("", !0) : (u(), v("div", {
1104
+ n("div", rl, [
1105
+ e.value.table.useDialog ? m("", !0) : (u(), c("div", {
1076
1106
  key: 0,
1077
1107
  role: "button",
1078
1108
  tabindex: "0",
1079
- style: c(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
1080
- onClick: Ae,
1081
- onKeypress: oa(Ae, ["enter"])
1109
+ style: v(`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};`),
1110
+ onClick: Pe,
1111
+ onKeypress: ha(Pe, ["enter"])
1082
1112
  }, [
1083
- ee(s(Me), {
1113
+ ee(r(Ie), {
1084
1114
  name: "close",
1085
1115
  stroke: e.value.table.th.color,
1086
1116
  "stroke-width": 2
@@ -1088,112 +1118,112 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
1088
1118
  ], 36)),
1089
1119
  n("div", {
1090
1120
  style: { width: "100%", "container-type": "inline-size" },
1091
- class: H({ "vue-ui-responsive": s(Wt) })
1121
+ class: j({ "vue-ui-responsive": r(ea) })
1092
1122
  }, [
1093
- n("table", Za, [
1094
- e.value.table.useDialog ? m("", !0) : (u(), v("caption", {
1123
+ n("table", sl, [
1124
+ e.value.table.useDialog ? m("", !0) : (u(), c("caption", {
1095
1125
  key: 0,
1096
- style: c({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
1126
+ style: v({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
1097
1127
  class: "vue-ui-data-table__caption"
1098
1128
  }, [
1099
- pt(p(e.value.style.chart.title.text) + " ", 1),
1100
- e.value.style.chart.title.subtitle.text ? (u(), v("span", el, p(e.value.style.chart.title.subtitle.text), 1)) : m("", !0)
1129
+ gt(p(e.value.style.chart.title.text) + " ", 1),
1130
+ e.value.style.chart.title.subtitle.text ? (u(), c("span", il, p(e.value.style.chart.title.subtitle.text), 1)) : m("", !0)
1101
1131
  ], 4)),
1102
1132
  n("thead", null, [
1103
1133
  n("tr", {
1104
1134
  role: "row",
1105
- style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1135
+ style: v(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1106
1136
  }, [
1107
- (u(!0), v(te, null, ae(V.value.head, (a) => (u(), v("th", {
1108
- style: c(`outline:${e.value.table.th.outline}`)
1137
+ (u(!0), c(te, null, ae(D.value.head, (a) => (u(), c("th", {
1138
+ style: v(`outline:${e.value.table.th.outline}`)
1109
1139
  }, [
1110
- n("div", tl, p(a), 1)
1140
+ n("div", cl, p(a), 1)
1111
1141
  ], 4))), 256))
1112
1142
  ], 4),
1113
1143
  n("tr", null, [
1114
1144
  n("th", {
1115
- style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1145
+ style: v(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1116
1146
  }, null, 4),
1117
1147
  n("th", {
1118
- style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`)
1119
- }, "∑ " + p(e.value.table.td.prefix) + p(isNaN(F.value) ? "" : F.value.toFixed(e.value.table.td.roundingValue)) + p(e.value.table.td.suffix), 5),
1148
+ style: v(`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`)
1149
+ }, "∑ " + p(e.value.table.td.prefix) + p(isNaN(E.value) ? "" : E.value.toFixed(e.value.table.td.roundingValue)) + p(e.value.table.td.suffix), 5),
1120
1150
  n("th", {
1121
- style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`)
1151
+ style: v(`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`)
1122
1152
  }, "100%", 4),
1123
1153
  n("th", {
1124
- style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1154
+ style: v(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1125
1155
  }, null, 4),
1126
1156
  n("th", {
1127
- style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1157
+ style: v(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1128
1158
  }, null, 4),
1129
1159
  n("th", {
1130
- style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1160
+ style: v(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1131
1161
  }, null, 4),
1132
1162
  n("th", {
1133
- style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1163
+ style: v(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1134
1164
  }, null, 4)
1135
1165
  ])
1136
1166
  ]),
1137
1167
  n("tbody", null, [
1138
- (u(!0), v(te, null, ae(V.value.body, (a, o) => (u(), v("tr", {
1139
- class: H({ "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 }),
1140
- style: c(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1168
+ (u(!0), c(te, null, ae(D.value.body, (a, o) => (u(), c("tr", {
1169
+ class: j({ "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 }),
1170
+ style: v(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1141
1171
  }, [
1142
1172
  n("td", {
1143
1173
  class: "vue-ui-data-table__tbody__td",
1144
- style: c(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
1145
- "data-cell": V.value.head[0] ?? ""
1174
+ style: v(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
1175
+ "data-cell": D.value.head[0] ?? ""
1146
1176
  }, [
1147
- n("div", ll, [
1148
- a.color ? (u(), v("span", {
1177
+ n("div", vl, [
1178
+ a.color ? (u(), c("span", {
1149
1179
  key: 0,
1150
- style: c(`color:${a.color};margin-right:3px`)
1180
+ style: v(`color:${a.color};margin-right:3px`)
1151
1181
  }, "⬤", 4)) : m("", !0),
1152
1182
  n("span", null, p(a.parentName), 1)
1153
1183
  ])
1154
- ], 12, al),
1184
+ ], 12, dl),
1155
1185
  n("td", {
1156
1186
  class: "vue-ui-data-table__tbody__td",
1157
- style: c(`outline:${e.value.table.td.outline}`),
1158
- "data-cell": V.value.head[1] ?? ""
1187
+ style: v(`outline:${e.value.table.td.outline}`),
1188
+ "data-cell": D.value.head[1] ?? ""
1159
1189
  }, [
1160
- n("div", nl, p(e.value.table.td.prefix) + p(["", NaN, void 0].includes(a.parentValue) ? "" : a.parentValue.toFixed(e.value.table.td.roundingValue)) + p(e.value.table.td.suffix), 1)
1161
- ], 12, ol),
1190
+ n("div", pl, p(e.value.table.td.prefix) + p(["", NaN, void 0].includes(a.parentValue) ? "" : a.parentValue.toFixed(e.value.table.td.roundingValue)) + p(e.value.table.td.suffix), 1)
1191
+ ], 12, hl),
1162
1192
  n("td", {
1163
1193
  class: "vue-ui-data-table__tbody__td",
1164
- style: c(`outline:${e.value.table.td.outline}`),
1165
- "data-cell": V.value.head[2] ?? ""
1194
+ style: v(`outline:${e.value.table.td.outline}`),
1195
+ "data-cell": D.value.head[2] ?? ""
1166
1196
  }, [
1167
- n("div", sl, p(["", NaN, void 0].includes(a.percentageToTotal) ? "" : `${(a.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1168
- ], 12, ul),
1197
+ n("div", fl, p(["", NaN, void 0].includes(a.percentageToTotal) ? "" : `${(a.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1198
+ ], 12, gl),
1169
1199
  n("td", {
1170
1200
  class: "vue-ui-data-table__tbody__td",
1171
- style: c(`outline:${e.value.table.td.outline}`),
1172
- "data-cell": V.value.head[3] ?? ""
1201
+ style: v(`outline:${e.value.table.td.outline}`),
1202
+ "data-cell": D.value.head[3] ?? ""
1173
1203
  }, [
1174
- n("div", il, p(a.childName), 1)
1175
- ], 12, rl),
1204
+ n("div", yl, p(a.childName), 1)
1205
+ ], 12, bl),
1176
1206
  n("td", {
1177
1207
  class: "vue-ui-data-table__tbody__td",
1178
- style: c(`outline:${e.value.table.td.outline}`),
1179
- "data-cell": V.value.head[4] ?? ""
1208
+ style: v(`outline:${e.value.table.td.outline}`),
1209
+ "data-cell": D.value.head[4] ?? ""
1180
1210
  }, [
1181
- n("div", dl, p(e.value.table.td.prefix) + p(["", NaN, void 0].includes(a.childValue) ? "" : a.childValue.toFixed(e.value.table.td.roundingValue)) + p(e.value.table.td.suffix), 1)
1182
- ], 12, vl),
1211
+ n("div", Cl, p(e.value.table.td.prefix) + p(["", NaN, void 0].includes(a.childValue) ? "" : a.childValue.toFixed(e.value.table.td.roundingValue)) + p(e.value.table.td.suffix), 1)
1212
+ ], 12, ml),
1183
1213
  n("td", {
1184
1214
  class: "vue-ui-data-table__tbody__td",
1185
- style: c(`outline:${e.value.table.td.outline}`),
1186
- "data-cell": V.value.head[5] ?? ""
1215
+ style: v(`outline:${e.value.table.td.outline}`),
1216
+ "data-cell": D.value.head[5] ?? ""
1187
1217
  }, [
1188
- n("div", hl, p(["", NaN, void 0].includes(a.childPercentageToParent) ? "" : `${(a.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1189
- ], 12, cl),
1218
+ n("div", xl, p(["", NaN, void 0].includes(a.childPercentageToParent) ? "" : `${(a.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1219
+ ], 12, kl),
1190
1220
  n("td", {
1191
1221
  class: "vue-ui-data-table__tbody__td",
1192
- style: c(`outline:${e.value.table.td.outline}`),
1193
- "data-cell": V.value.head[6] ?? ""
1222
+ style: v(`outline:${e.value.table.td.outline}`),
1223
+ "data-cell": D.value.head[6] ?? ""
1194
1224
  }, [
1195
- n("div", fl, p(["", NaN, void 0].includes(a.childPercentageToTotal) ? "" : `${(a.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1196
- ], 12, pl)
1225
+ n("div", _l, p(["", NaN, void 0].includes(a.childPercentageToTotal) ? "" : `${(a.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1226
+ ], 12, wl)
1197
1227
  ], 6))), 256))
1198
1228
  ])
1199
1229
  ])
@@ -1206,7 +1236,7 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
1206
1236
  e.value.table.useDialog ? {
1207
1237
  name: "title",
1208
1238
  fn: h(() => [
1209
- pt(p(ce.value.title), 1)
1239
+ gt(p(ve.value.title), 1)
1210
1240
  ]),
1211
1241
  key: "0"
1212
1242
  } : void 0,
@@ -1216,21 +1246,26 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
1216
1246
  n("button", {
1217
1247
  tabindex: "0",
1218
1248
  class: "vue-ui-user-options-button",
1219
- onClick: l[2] || (l[2] = (a) => Pe(e.value.userOptions.callbacks.csv))
1249
+ onClick: l[2] || (l[2] = (a) => Le(e.value.userOptions.callbacks.csv))
1220
1250
  }, [
1221
- ee(s(Me), {
1251
+ ee(r(Ie), {
1222
1252
  name: "excel",
1223
- stroke: ce.value.props.color
1253
+ stroke: ve.value.props.color
1224
1254
  }, null, 8, ["stroke"])
1225
1255
  ])
1226
1256
  ]),
1227
1257
  key: "1"
1228
1258
  } : void 0
1229
1259
  ]), 1040)) : m("", !0),
1230
- s(Ge) ? (u(), j(ma, { key: 9 })) : m("", !0)
1231
- ], 46, Na));
1260
+ r(Xe) ? (u(), H(Sa, { key: 9 })) : m("", !0)
1261
+ ], 46, Ia));
1232
1262
  }
1233
- }, Ol = /* @__PURE__ */ Pa(gl, [["__scopeId", "data-v-12742a13"]]);
1263
+ }, Al = /* @__PURE__ */ Va($l, [["__scopeId", "data-v-7f6e5c2f"]]), Xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1264
+ __proto__: null,
1265
+ default: Al
1266
+ }, Symbol.toStringTag, { value: "Module" }));
1234
1267
  export {
1235
- Ol as default
1268
+ Wl as a,
1269
+ Xl as b,
1270
+ Al as v
1236
1271
  };