vue-data-ui 2.3.28 → 2.3.30

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 (180) hide show
  1. package/README.md +15 -0
  2. package/dist/{Arrow-C6lQ94rK.cjs → Arrow-B8z06v67.cjs} +1 -1
  3. package/dist/{Arrow-BPoxM_Tq.js → Arrow-Bh7WeO_g.js} +1 -1
  4. package/dist/{BaseIcon-Op8_v5x7.js → BaseIcon-BG_bJS3R.js} +1 -1
  5. package/dist/{BaseIcon-BK5xYOzV.cjs → BaseIcon-DDCJA3rm.cjs} +1 -1
  6. package/dist/{DataTable-bEXuvNn5.js → DataTable-CsPidn0_.js} +23 -20
  7. package/dist/DataTable-Doh_4M84.cjs +1 -0
  8. package/dist/{Legend-BNfS77GS.cjs → Legend-B20rRwGi.cjs} +1 -1
  9. package/dist/{Legend-DwludSgp.js → Legend-CkQ_zypV.js} +1 -1
  10. package/dist/{Shape-COYAxpcP.js → Shape-B4gGeBLI.js} +1 -1
  11. package/dist/{Shape-CcWWIf-s.cjs → Shape-B8O8_E6l.cjs} +1 -1
  12. package/dist/{Slicer-DGkm-5p-.cjs → Slicer-BXveU40S.cjs} +1 -1
  13. package/dist/{Slicer-Cv-2s_-r.js → Slicer-DaEfxscP.js} +1 -1
  14. package/dist/{Title-DQz9dO4d.cjs → Title-BU6E8Xld.cjs} +1 -1
  15. package/dist/{Title-CtWGLaoz.js → Title-eBTH8iGJ.js} +1 -1
  16. package/dist/{Tooltip-D6BUVHr1.js → Tooltip-B11OahTD.js} +1 -1
  17. package/dist/{Tooltip-DQgBkgFk.cjs → Tooltip-Oicp_EIo.cjs} +1 -1
  18. package/dist/{index-BhCM2QF1.js → index-BlXzlBwZ.js} +443 -364
  19. package/dist/index-hKWfT7Wa.cjs +4 -0
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +66 -0
  22. package/dist/types/vue-data-ui.d.ts +66 -0
  23. package/dist/{useNestedProp-CH3PVhvc.js → useNestedProp-BoNl5H_z.js} +1 -1
  24. package/dist/{useNestedProp-C2H2jmU6.cjs → useNestedProp-Cggpoz7e.cjs} +1 -1
  25. package/dist/{usePrinter-B75HLwzw.js → usePrinter-CZ8F5Cth.js} +1 -1
  26. package/dist/{usePrinter-DTF28E03.cjs → usePrinter-DoYKBzst.cjs} +1 -1
  27. package/dist/{vue-data-ui-DdhV5Pth.js → vue-data-ui-BOqzG_nZ.js} +57 -57
  28. package/dist/{vue-data-ui-cqeqQWwY.cjs → vue-data-ui-CGgiWEo3.cjs} +1 -1
  29. package/dist/vue-data-ui.cjs +1 -1
  30. package/dist/vue-data-ui.js +6 -6
  31. package/dist/{vue-ui-3d-bar-gi0fEJUl.js → vue-ui-3d-bar-CjnVg4YI.js} +342 -294
  32. package/dist/vue-ui-3d-bar-CpntMt7p.cjs +19 -0
  33. package/dist/{vue-ui-accordion-CVrj6roI.cjs → vue-ui-accordion-CTYvdLLH.cjs} +1 -1
  34. package/dist/{vue-ui-accordion-CSZdj7wA.js → vue-ui-accordion-wHRG3nXl.js} +3 -3
  35. package/dist/vue-ui-age-pyramid-DDiL1Zje.cjs +1 -0
  36. package/dist/{vue-ui-age-pyramid-CFSWDX3d.js → vue-ui-age-pyramid-vmCwgRy9.js} +258 -219
  37. package/dist/{vue-ui-annotator-DqZU11ky.js → vue-ui-annotator-9FGJdNLY.js} +1 -1
  38. package/dist/{vue-ui-annotator-u5YbenPl.cjs → vue-ui-annotator-DQ3wKf9n.cjs} +1 -1
  39. package/dist/{vue-ui-candlestick-C3xswSm3.cjs → vue-ui-candlestick-6joQ9JKQ.cjs} +1 -1
  40. package/dist/{vue-ui-candlestick-Dph2PhZC.js → vue-ui-candlestick-DpMr2r0i.js} +9 -9
  41. package/dist/{vue-ui-carousel-table-0S6lSZnt.cjs → vue-ui-carousel-table-BV0EOLqU.cjs} +1 -1
  42. package/dist/{vue-ui-carousel-table-eY08SE2G.js → vue-ui-carousel-table-CgR4ADOz.js} +4 -4
  43. package/dist/{vue-ui-chestnut-BikYCrjQ.js → vue-ui-chestnut-Ca2878kV.js} +439 -347
  44. package/dist/vue-ui-chestnut-CxoCcw_B.cjs +6 -0
  45. package/dist/{vue-ui-cursor-OFgeAFSo.js → vue-ui-cursor-BW8C6oUc.js} +2 -2
  46. package/dist/{vue-ui-cursor-DUA57VkZ.cjs → vue-ui-cursor-DxF_gXQf.cjs} +1 -1
  47. package/dist/{vue-ui-dashboard-BTG0m9YL.cjs → vue-ui-dashboard-BGrVyITN.cjs} +1 -1
  48. package/dist/{vue-ui-dashboard-DA4M1Z0-.js → vue-ui-dashboard-DN4nErBZ.js} +2 -2
  49. package/dist/{vue-ui-digits-55Zmunkv.js → vue-ui-digits-CmSFSs5S.js} +2 -2
  50. package/dist/{vue-ui-digits-COxRiMVI.cjs → vue-ui-digits-CpSKBG2c.cjs} +1 -1
  51. package/dist/vue-ui-donut-BqfRwAIM.js +857 -0
  52. package/dist/vue-ui-donut-C29yXH3H.cjs +1 -0
  53. package/dist/vue-ui-donut-evolution-COFG73Xl.cjs +1 -0
  54. package/dist/vue-ui-donut-evolution-DIR7yBUC.js +839 -0
  55. package/dist/{vue-ui-dumbbell-BSFT-Bce.cjs → vue-ui-dumbbell-1NA60u3h.cjs} +2 -2
  56. package/dist/{vue-ui-dumbbell-BtEXt5Ox.js → vue-ui-dumbbell-BASuPAvI.js} +202 -187
  57. package/dist/{vue-ui-flow-BPEGOFRZ.cjs → vue-ui-flow-DBK7d0DQ.cjs} +1 -1
  58. package/dist/{vue-ui-flow-BBoXBTkC.js → vue-ui-flow-wq0aqc5r.js} +98 -93
  59. package/dist/vue-ui-galaxy-BgdVvk4N.cjs +1 -0
  60. package/dist/{vue-ui-galaxy-ZFEufIyy.js → vue-ui-galaxy-CFQ2hQAl.js} +180 -144
  61. package/dist/{vue-ui-gauge-CfZ9XJW_.cjs → vue-ui-gauge-C4_kEbgg.cjs} +1 -1
  62. package/dist/{vue-ui-gauge-BqZp_V5m.js → vue-ui-gauge-CIN265dN.js} +158 -149
  63. package/dist/vue-ui-gizmo-BpT3iwC9.cjs +1 -0
  64. package/dist/{vue-ui-gizmo-DitbWAJp.js → vue-ui-gizmo-DRXWEpqU.js} +63 -49
  65. package/dist/vue-ui-heatmap-CVD7FVfk.cjs +1 -0
  66. package/dist/vue-ui-heatmap-Dc0ft_Ga.js +644 -0
  67. package/dist/{vue-ui-kpi-BWuzEkyY.js → vue-ui-kpi-DDL1TvBP.js} +19 -10
  68. package/dist/{vue-ui-kpi-B2Bo26hh.cjs → vue-ui-kpi-WDZIt76s.cjs} +1 -1
  69. package/dist/{vue-ui-mini-loader-BwAWiK3k.js → vue-ui-mini-loader-B2C5U55l.js} +2 -2
  70. package/dist/{vue-ui-mini-loader-C_Nb-qVd.cjs → vue-ui-mini-loader-BcGSpUfg.cjs} +1 -1
  71. package/dist/{vue-ui-molecule-CSbXNrvu.cjs → vue-ui-molecule-C5BmRi2R.cjs} +1 -1
  72. package/dist/{vue-ui-molecule-BD2UW2lJ.js → vue-ui-molecule-CD3cPNOq.js} +9 -9
  73. package/dist/{vue-ui-mood-radar-CbMab8pJ.js → vue-ui-mood-radar-D0KbeV5j.js} +213 -187
  74. package/dist/vue-ui-mood-radar-afS64zg-.cjs +1 -0
  75. package/dist/{vue-ui-nested-donuts-SDaiotgC.js → vue-ui-nested-donuts-BGoc1RFX.js} +295 -228
  76. package/dist/vue-ui-nested-donuts-D-TeyOtL.cjs +17 -0
  77. package/dist/{vue-ui-onion-BamHJBdP.js → vue-ui-onion-B_khL0Kv.js} +230 -196
  78. package/dist/vue-ui-onion-CFdbWLu3.cjs +1 -0
  79. package/dist/{vue-ui-parallel-coordinate-plot-BaAa3t1h.cjs → vue-ui-parallel-coordinate-plot-BmXvVt8r.cjs} +2 -2
  80. package/dist/{vue-ui-parallel-coordinate-plot-1R4CyBdQ.js → vue-ui-parallel-coordinate-plot-CP4V0K8m.js} +87 -87
  81. package/dist/{vue-ui-quadrant-CKCLhAS7.js → vue-ui-quadrant-C1YbjeI7.js} +455 -397
  82. package/dist/vue-ui-quadrant-C6-A8Gx_.cjs +1 -0
  83. package/dist/vue-ui-quick-chart-ConXdEsU.cjs +15 -0
  84. package/dist/vue-ui-quick-chart-CtWhs_2c.js +1374 -0
  85. package/dist/{vue-ui-radar-BY-y8Mal.js → vue-ui-radar-B2vAPYa7.js} +237 -214
  86. package/dist/vue-ui-radar-DMJLLVWb.cjs +1 -0
  87. package/dist/{vue-ui-rating-DGEgzOaB.cjs → vue-ui-rating-DhZ0tltR.cjs} +1 -1
  88. package/dist/{vue-ui-rating-Bq1SsByA.js → vue-ui-rating-xGz4av68.js} +9 -9
  89. package/dist/{vue-ui-relation-circle-BPzLP6U6.js → vue-ui-relation-circle-BQK8wMQE.js} +5 -5
  90. package/dist/{vue-ui-relation-circle-pdZ79G9r.cjs → vue-ui-relation-circle-hb4Q051h.cjs} +1 -1
  91. package/dist/vue-ui-rings-D1EW3d4M.cjs +2 -0
  92. package/dist/{vue-ui-rings-C5ce6pEf.js → vue-ui-rings-ZKjhNx5K.js} +191 -162
  93. package/dist/{vue-ui-scatter-CMetujXJ.js → vue-ui-scatter-CHONk8k0.js} +437 -381
  94. package/dist/vue-ui-scatter-CMRe2b2K.cjs +1 -0
  95. package/dist/{vue-ui-screenshot-BqzljUT3.cjs → vue-ui-screenshot-DcKhT745.cjs} +1 -1
  96. package/dist/{vue-ui-screenshot--2aeIH_x.js → vue-ui-screenshot-DmGe5ptH.js} +6 -6
  97. package/dist/{vue-ui-skeleton-_VMQ594N.js → vue-ui-skeleton-CJ2R5R6u.js} +37 -37
  98. package/dist/{vue-ui-skeleton-B5Z4craS.cjs → vue-ui-skeleton-j-IOiy5w.cjs} +1 -1
  99. package/dist/{vue-ui-smiley-CL-bubXk.cjs → vue-ui-smiley-D5Jn6d5f.cjs} +1 -1
  100. package/dist/{vue-ui-smiley-Cty3e_yE.js → vue-ui-smiley-DXVcosKR.js} +2 -2
  101. package/dist/{vue-ui-spark-trend-DT1fMqf_.cjs → vue-ui-spark-trend-CWH3W7h3.cjs} +1 -1
  102. package/dist/{vue-ui-spark-trend-pgdWTEqG.js → vue-ui-spark-trend-Gg6TxR4m.js} +63 -58
  103. package/dist/vue-ui-sparkbar-BsoKTXr2.cjs +1 -0
  104. package/dist/vue-ui-sparkbar-DUx1qVzQ.js +280 -0
  105. package/dist/{vue-ui-sparkgauge-DdzlyDsm.cjs → vue-ui-sparkgauge-DPusPoRv.cjs} +1 -1
  106. package/dist/{vue-ui-sparkgauge-Dx2gFX6H.js → vue-ui-sparkgauge-xrvp9g87.js} +60 -50
  107. package/dist/vue-ui-sparkhistogram---JRg2R1.cjs +1 -0
  108. package/dist/{vue-ui-sparkhistogram-Bg_fJsT5.js → vue-ui-sparkhistogram-DzYXMNj8.js} +99 -90
  109. package/dist/{vue-ui-sparkline-WMI-RgkW.cjs → vue-ui-sparkline-1Z6GnwoN.cjs} +1 -1
  110. package/dist/{vue-ui-sparkline-BWl_B6LX.js → vue-ui-sparkline-CGWePkVI.js} +114 -105
  111. package/dist/{vue-ui-sparkstackbar-Skcshn6g.cjs → vue-ui-sparkstackbar-DCc68t8g.cjs} +1 -1
  112. package/dist/{vue-ui-sparkstackbar-MMGRG9eS.js → vue-ui-sparkstackbar-DFgeRAbQ.js} +52 -47
  113. package/dist/{vue-ui-stackbar-NZFO3R77.js → vue-ui-stackbar-B0dWToaf.js} +211 -196
  114. package/dist/vue-ui-stackbar-Cz0mT8Mo.cjs +15 -0
  115. package/dist/{vue-ui-strip-plot-CJmCgC_a.js → vue-ui-strip-plot-BFqd-S7c.js} +213 -198
  116. package/dist/vue-ui-strip-plot-DZt1Wq20.cjs +1 -0
  117. package/dist/{vue-ui-table-jJ3daLHe.cjs → vue-ui-table-CMvyMuc4.cjs} +1 -1
  118. package/dist/{vue-ui-table-B-vHHlRw.js → vue-ui-table-DtwEoIzI.js} +9 -9
  119. package/dist/{vue-ui-table-heatmap-YCyFyq8J.cjs → vue-ui-table-heatmap-3RSMOHkc.cjs} +1 -1
  120. package/dist/{vue-ui-table-heatmap-BfzDb2H7.js → vue-ui-table-heatmap-C8b3pE04.js} +12 -12
  121. package/dist/vue-ui-table-sparkline-BKOaVFtt.cjs +1 -0
  122. package/dist/vue-ui-table-sparkline-BrqhBv29.js +467 -0
  123. package/dist/vue-ui-thermometer-CKgIqM5y.cjs +1 -0
  124. package/dist/{vue-ui-thermometer-CdtG1AoI.js → vue-ui-thermometer-DMkLvJgE.js} +118 -108
  125. package/dist/{vue-ui-timer-Cb95XSdn.cjs → vue-ui-timer-D7fvoR77.cjs} +1 -1
  126. package/dist/{vue-ui-timer-DBqMb9iX.js → vue-ui-timer-RA9yfgBk.js} +8 -8
  127. package/dist/{vue-ui-tiremarks-CHKETcHr.js → vue-ui-tiremarks-B_EncUi6.js} +79 -71
  128. package/dist/{vue-ui-tiremarks-BqXfvQ4t.cjs → vue-ui-tiremarks-C7y6Mbxe.cjs} +1 -1
  129. package/dist/{vue-ui-treemap-DxKunHfW.js → vue-ui-treemap-BuGZgQsr.js} +274 -236
  130. package/dist/vue-ui-treemap-CfngjVUS.cjs +1 -0
  131. package/dist/vue-ui-vertical-bar-DKbq4bX4.cjs +4 -0
  132. package/dist/vue-ui-vertical-bar-T4bFd3JF.js +792 -0
  133. package/dist/vue-ui-waffle-BJFbhWnA.cjs +1 -0
  134. package/dist/vue-ui-waffle-CrxmrYsV.js +735 -0
  135. package/dist/{vue-ui-wheel-kMVi976p.cjs → vue-ui-wheel-BDRvKR1Z.cjs} +1 -1
  136. package/dist/{vue-ui-wheel-4HKXl04I.js → vue-ui-wheel-DOyC7NgR.js} +73 -65
  137. package/dist/{vue-ui-word-cloud-CrC3iKGd.js → vue-ui-word-cloud-DBxVNlJ3.js} +7 -7
  138. package/dist/{vue-ui-word-cloud-WgbYJhMF.cjs → vue-ui-word-cloud-Dmcelg3z.cjs} +1 -1
  139. package/dist/{vue-ui-xy-BN_H7q0X.js → vue-ui-xy-BIbvJSh2.js} +367 -288
  140. package/dist/vue-ui-xy-CVKaR90p.cjs +3 -0
  141. package/dist/vue-ui-xy-canvas-2AaNivzI.cjs +9 -0
  142. package/dist/{vue-ui-xy-canvas-DAY9Ylzs.js → vue-ui-xy-canvas-CXVni3kC.js} +284 -259
  143. package/package.json +1 -1
  144. package/dist/DataTable-B4_9ynlY.cjs +0 -1
  145. package/dist/index-Y23HeR26.cjs +0 -4
  146. package/dist/vue-ui-3d-bar-BB6yidY7.cjs +0 -19
  147. package/dist/vue-ui-age-pyramid-CrTadT86.cjs +0 -1
  148. package/dist/vue-ui-chestnut-C3XOHDgw.cjs +0 -6
  149. package/dist/vue-ui-donut-CG3VWjnG.js +0 -751
  150. package/dist/vue-ui-donut-JA9hlLlV.cjs +0 -1
  151. package/dist/vue-ui-donut-evolution-CA8sDbwX.js +0 -805
  152. package/dist/vue-ui-donut-evolution-_E0xUI9Y.cjs +0 -1
  153. package/dist/vue-ui-galaxy-DPrJum3L.cjs +0 -1
  154. package/dist/vue-ui-gizmo-CrSaW32p.cjs +0 -1
  155. package/dist/vue-ui-heatmap-CTRjjhmd.cjs +0 -1
  156. package/dist/vue-ui-heatmap-zV0pg2Q5.js +0 -606
  157. package/dist/vue-ui-mood-radar-zpxdsZ4u.cjs +0 -1
  158. package/dist/vue-ui-nested-donuts-07UI_VlW.cjs +0 -16
  159. package/dist/vue-ui-onion-DiychUul.cjs +0 -1
  160. package/dist/vue-ui-quadrant-DxLYb8Mk.cjs +0 -1
  161. package/dist/vue-ui-quick-chart-CAXuRSdm.js +0 -1318
  162. package/dist/vue-ui-quick-chart-DgCRM6WA.cjs +0 -13
  163. package/dist/vue-ui-radar-iETP_3US.cjs +0 -1
  164. package/dist/vue-ui-rings-DdpKT3DJ.cjs +0 -1
  165. package/dist/vue-ui-scatter-Dsc6RABP.cjs +0 -1
  166. package/dist/vue-ui-sparkbar-BVQPOz2O.js +0 -257
  167. package/dist/vue-ui-sparkbar-kfA-BPVJ.cjs +0 -1
  168. package/dist/vue-ui-sparkhistogram-B5xstgQG.cjs +0 -1
  169. package/dist/vue-ui-stackbar-DZ0CArmk.cjs +0 -15
  170. package/dist/vue-ui-strip-plot-Db_dqjd9.cjs +0 -1
  171. package/dist/vue-ui-table-sparkline-4Qbmxxsy.cjs +0 -1
  172. package/dist/vue-ui-table-sparkline-DZt-bo2D.js +0 -420
  173. package/dist/vue-ui-thermometer-HXWDU2wD.cjs +0 -1
  174. package/dist/vue-ui-treemap-CW9JmJ2d.cjs +0 -1
  175. package/dist/vue-ui-vertical-bar-83AMwsHD.cjs +0 -4
  176. package/dist/vue-ui-vertical-bar-DRLwZjIz.js +0 -745
  177. package/dist/vue-ui-waffle-BRuDxyDU.js +0 -650
  178. package/dist/vue-ui-waffle-BwUbvdOE.cjs +0 -1
  179. package/dist/vue-ui-xy-BXfP5pz5.cjs +0 -3
  180. package/dist/vue-ui-xy-canvas-NrhVgFsv.cjs +0 -9
@@ -1,20 +1,20 @@
1
- import { computed as y, ref as h, onMounted as xe, openBlock as u, createElementBlock as i, normalizeClass as ke, normalizeStyle as A, renderSlot as p, createVNode as Q, createCommentVNode as d, createBlock as I, unref as C, createSlots as Ae, withCtx as m, normalizeProps as M, guardReactiveProps as O, Fragment as x, renderList as $, createElementVNode as R, toDisplayString as z, createTextVNode as Ie } from "vue";
2
- import { u as He, c as we, o as Ee, e as Ce, g as Be, t as Ue, a as We, p as G, b as Ge, d as Xe, Z as Ye, z as j, X as Je, l as qe, C as Ze, f as H, r as Ke, v as $e, w as Qe, n as je, q as et } from "./index-BhCM2QF1.js";
3
- import { u as Le } from "./useNestedProp-CH3PVhvc.js";
4
- import { t as tt, u as at } from "./useResponsive-NZB-WLRF.js";
5
- import { u as lt, U as ot } from "./usePrinter-B75HLwzw.js";
6
- import { S as rt } from "./Slicer-Cv-2s_-r.js";
7
- import { _ as st } from "./Tooltip-D6BUVHr1.js";
8
- import { _ as ut } from "./Title-CtWGLaoz.js";
9
- import { L as it } from "./Legend-DwludSgp.js";
10
- import nt from "./vue-ui-accordion-CSZdj7wA.js";
11
- import { D as ct } from "./DataTable-bEXuvNn5.js";
12
- import vt from "./vue-ui-skeleton-_VMQ594N.js";
13
- import { _ as dt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft = ["stop-color"], pt = ["stop-color"], mt = ["stop-color"], xt = ["x1", "x2", "y1", "y2", "stroke"], kt = ["x1", "x2", "y1", "y2", "stroke"], wt = ["d", "fill", "stroke", "stroke-width"], Ct = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], $t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Lt = ["x", "y", "font-size", "fill", "font-weight"], _t = ["transform", "font-size", "fill", "font-weight"], St = ["x", "y", "font-size", "fill", "font-weight"], Tt = { key: 0 }, zt = ["x", "y", "font-size", "font-weight", "fill"], Nt = ["x1", "x2", "y1", "y2", "stroke"], Rt = ["x", "y", "font-size", "font-weight", "fill"], Pt = ["text-anchor", "font-size", "font-weight", "fill", "transform"], Ft = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], Mt = {
1
+ import { computed as y, ref as h, onMounted as xe, openBlock as u, createElementBlock as n, normalizeClass as ke, normalizeStyle as A, renderSlot as p, createVNode as Z, createCommentVNode as d, createBlock as H, unref as w, createSlots as Ae, withCtx as m, normalizeProps as M, guardReactiveProps as O, Fragment as x, renderList as $, createElementVNode as R, toDisplayString as z, createTextVNode as He } from "vue";
2
+ import { u as Ee, c as we, o as Be, e as Ce, g as Ue, t as We, a as Ge, p as G, b as Xe, d as Ye, _ as Je, A as j, X as qe, l as Ke, D as Qe, f as V, v as Ze, w as $e, i as Le, x as je, q as et, r as tt } from "./index-BlXzlBwZ.js";
3
+ import { u as _e } from "./useNestedProp-BoNl5H_z.js";
4
+ import { t as at, u as lt } from "./useResponsive-NZB-WLRF.js";
5
+ import { u as ot, U as rt } from "./usePrinter-CZ8F5Cth.js";
6
+ import { S as st } from "./Slicer-DaEfxscP.js";
7
+ import { _ as ut } from "./Tooltip-B11OahTD.js";
8
+ import { _ as it } from "./Title-eBTH8iGJ.js";
9
+ import { L as nt } from "./Legend-CkQ_zypV.js";
10
+ import ct from "./vue-ui-accordion-wHRG3nXl.js";
11
+ import { D as vt } from "./DataTable-CsPidn0_.js";
12
+ import dt from "./vue-ui-skeleton-CJ2R5R6u.js";
13
+ import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const gt = ["id"], yt = ["xmlns", "viewBox"], bt = { key: 0 }, ft = ["id"], pt = ["stop-color"], mt = ["stop-color"], xt = ["stop-color"], kt = ["x1", "x2", "y1", "y2", "stroke"], wt = ["x1", "x2", "y1", "y2", "stroke"], Ct = ["d", "fill", "stroke", "stroke-width"], $t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Lt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], _t = ["x", "y", "font-size", "fill", "font-weight"], St = ["transform", "font-size", "fill", "font-weight"], Tt = ["x", "y", "font-size", "fill", "font-weight"], zt = { key: 0 }, Nt = ["x", "y", "font-size", "font-weight", "fill"], Rt = ["x1", "x2", "y1", "y2", "stroke"], Pt = ["x", "y", "font-size", "font-weight", "fill"], Ft = ["text-anchor", "font-size", "font-weight", "fill", "transform"], Mt = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], Ot = {
15
15
  key: 3,
16
16
  class: "vue-data-ui-watermark"
17
- }, Ot = ["onClick"], Dt = ["innerHTML"], Vt = {
17
+ }, Vt = ["onClick"], Dt = ["innerHTML"], It = {
18
18
  __name: "vue-ui-stackbar",
19
19
  props: {
20
20
  config: {
@@ -31,21 +31,21 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
31
31
  }
32
32
  },
33
33
  emits: ["selectDatapoint", "selectLegend"],
34
- setup(ee, { expose: _e, emit: te }) {
35
- const _ = ee, { vue_ui_stackbar: Se } = He(), P = y({
34
+ setup(ee, { expose: Se, emit: te }) {
35
+ const _ = ee, { vue_ui_stackbar: Te } = Ee(), P = y({
36
36
  get() {
37
37
  return !!_.dataset && _.dataset.length;
38
38
  },
39
39
  set(a) {
40
40
  return a;
41
41
  }
42
- }), D = h(null), X = h(we()), Y = h(!1), ae = h(null), J = h(""), L = h([]), le = h(0), oe = h(null), re = h(null), se = h(null), ue = h(0), q = h(!1), Z = h(null);
42
+ }), D = h(null), X = h(we()), Y = h(!1), ae = h(null), J = h(""), L = h([]), le = h(0), oe = h(null), re = h(null), se = h(null), ue = h(0), q = h(!1), K = h(null);
43
43
  xe(() => {
44
- Ee(_.dataset) ? Ce({
44
+ Be(_.dataset) ? Ce({
45
45
  componentName: "VueUiStackbar",
46
46
  type: "dataset"
47
47
  }) : _.dataset.forEach((a, l) => {
48
- Be({
48
+ Ue({
49
49
  datasetObject: a,
50
50
  requiredAttributes: ["name", "series"]
51
51
  }).forEach((t) => {
@@ -59,24 +59,24 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
59
59
  });
60
60
  });
61
61
  const e = y(() => {
62
- const a = Le({
62
+ const a = _e({
63
63
  userConfig: _.config,
64
- defaultConfig: Se
64
+ defaultConfig: Te
65
65
  });
66
66
  return a.theme ? {
67
- ...Le({
68
- userConfig: Ue.vue_ui_stackbar[a.theme] || _.config,
67
+ ..._e({
68
+ userConfig: We.vue_ui_stackbar[a.theme] || _.config,
69
69
  defaultConfig: a
70
70
  }),
71
- customPalette: We[a.theme] || G
71
+ customPalette: Ge[a.theme] || G
72
72
  } : a;
73
- }), w = h({
73
+ }), C = h({
74
74
  dataLabels: {
75
75
  show: e.value.style.chart.bars.dataLabels.show
76
76
  },
77
77
  showTable: e.value.table.show,
78
78
  showTooltip: e.value.style.chart.tooltip.show
79
- }), { isPrinting: ie, isImaging: ne, generatePdf: ce, generateImage: ve } = lt({
79
+ }), { isPrinting: ie, isImaging: ne, generatePdf: ce, generateImage: ve } = ot({
80
80
  elementId: `stackbar_${X.value}`,
81
81
  fileName: e.value.style.chart.title.text || "vue-ui-stackbar"
82
82
  }), E = h({
@@ -88,11 +88,11 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
88
88
  bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
89
89
  left: e.value.style.chart.padding.left / e.value.style.chart.width
90
90
  }
91
- }), Te = y(() => Ge(e.value.customPalette)), de = h(null);
91
+ }), ze = y(() => Xe(e.value.customPalette)), de = h(null);
92
92
  xe(() => {
93
93
  if (e.value.responsive) {
94
- const a = tt(() => {
95
- const { width: l, height: t } = at({
94
+ const a = at(() => {
95
+ const { width: l, height: t } = lt({
96
96
  chart: D.value,
97
97
  title: e.value.style.chart.title.text ? oe.value : null,
98
98
  legend: e.value.style.chart.legend.show ? re.value : null,
@@ -104,19 +104,19 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
104
104
  }
105
105
  });
106
106
  const s = y(() => {
107
- const { height: a, width: l } = E.value, { right: t } = E.value.paddingRatio, r = e.value.style.chart.padding.top, o = l - l * t, n = a - e.value.style.chart.padding.bottom, g = e.value.style.chart.padding.left, f = l - g - l * t, k = a - r - e.value.style.chart.padding.bottom;
107
+ const { height: a, width: l } = E.value, { right: t } = E.value.paddingRatio, o = e.value.style.chart.padding.top, r = l - l * t, i = a - e.value.style.chart.padding.bottom, g = e.value.style.chart.padding.left, f = l - g - l * t, k = a - o - e.value.style.chart.padding.bottom;
108
108
  return {
109
109
  chartHeight: a,
110
110
  chartWidth: l,
111
- top: r,
112
- right: o,
113
- bottom: n,
111
+ top: o,
112
+ right: r,
113
+ bottom: i,
114
114
  left: g,
115
115
  width: f,
116
116
  height: k
117
117
  };
118
118
  }), F = y(() => _.dataset.map((a, l) => {
119
- const t = Xe(a.color) || Te.value[l] || G[l] || G[l % G.length];
119
+ const t = Ye(a.color) || ze.value[l] || G[l] || G[l % G.length];
120
120
  return {
121
121
  ...a,
122
122
  absoluteIndex: l,
@@ -127,7 +127,7 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
127
127
  start: 0,
128
128
  end: Math.max(..._.dataset.map((a) => a.series.length))
129
129
  });
130
- function ze() {
130
+ function Ne() {
131
131
  c.value = {
132
132
  start: 0,
133
133
  end: Math.max(..._.dataset.map((a) => a.series.length))
@@ -136,7 +136,7 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
136
136
  const b = y(() => {
137
137
  const a = s.value.width / (c.value.end - c.value.start);
138
138
  return a <= 0 ? 0 : a;
139
- }), N = y(() => Ye(F.value.filter((a) => !L.value.includes(a.id))).slice(c.value.start, c.value.end)), K = y(() => {
139
+ }), N = y(() => Je(F.value.filter((a) => !L.value.includes(a.id))).slice(c.value.start, c.value.end)), Q = y(() => {
140
140
  const a = Math.max(...N.value), l = j(0, a, e.value.style.chart.grid.scale.ticks);
141
141
  return l.ticks.map((t) => ({
142
142
  y: s.value.bottom - s.value.height * (t / l.max),
@@ -146,47 +146,57 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
146
146
  }), U = y(() => e.value.style.chart.grid.x.timeLabels.values.slice(c.value.start, c.value.end)), v = y(() => {
147
147
  if (!P.value) return [];
148
148
  let a = Array(B.value).fill(0);
149
- const l = s.value.height, t = Math.max(...N.value), o = j(0, t, e.value.style.chart.grid.scale.ticks).max;
150
- return F.value.filter((n) => !L.value.includes(n.id)).map((n) => {
151
- const g = n.series.slice(c.value.start, c.value.end);
149
+ const l = s.value.height, t = Math.max(...N.value), r = j(0, t, e.value.style.chart.grid.scale.ticks).max;
150
+ return F.value.filter((i) => !L.value.includes(i.id)).map((i) => {
151
+ const g = i.series.slice(c.value.start, c.value.end);
152
152
  return {
153
- ...n,
154
- proportions: g.map((f, k) => e.value.style.chart.bars.distributed ? (f || 0) / N.value[k] : (f || 0) / o),
153
+ ...i,
154
+ proportions: g.map((f, k) => e.value.style.chart.bars.distributed ? (f || 0) / N.value[k] : (f || 0) / r),
155
155
  series: g,
156
156
  x: g.map((f, k) => s.value.left + b.value * k + b.value * e.value.style.chart.bars.gapRatio / 4),
157
157
  y: g.map((f, k) => {
158
- const S = e.value.style.chart.bars.distributed ? (f || 0) / N.value[k] : (f || 0) / o, V = l * S, T = l - V - a[k];
159
- return a[k] += V, T + s.value.top;
158
+ const S = e.value.style.chart.bars.distributed ? (f || 0) / N.value[k] : (f || 0) / r, I = l * S, T = l - I - a[k];
159
+ return a[k] += I, T + s.value.top;
160
160
  }),
161
161
  height: g.map((f, k) => {
162
- const S = e.value.style.chart.bars.distributed ? (f || 0) / N.value[k] : (f || 0) / o;
162
+ const S = e.value.style.chart.bars.distributed ? (f || 0) / N.value[k] : (f || 0) / r;
163
163
  return l * S <= 0 ? 0 : l * S;
164
164
  })
165
165
  };
166
166
  });
167
- }), Ne = y(() => {
167
+ }), Re = y(() => {
168
168
  const a = Math.max(...N.value), t = j(0, a, e.value.style.chart.grid.scale.ticks).max;
169
- return N.value.map((r, o) => ({
170
- value: r,
171
- y: (1 - r / t) * s.value.height
169
+ return N.value.map((o, r) => ({
170
+ value: o,
171
+ y: (1 - o / t) * s.value.height
172
172
  }));
173
173
  });
174
- function he(a) {
175
- return H({
176
- p: e.value.style.chart.bars.dataLabels.prefix,
177
- v: a,
178
- s: e.value.style.chart.bars.dataLabels.suffix,
179
- r: e.value.style.chart.bars.dataLabels.rounding
180
- });
174
+ function he(a, l, t, o) {
175
+ return Le(
176
+ e.value.style.chart.bars.dataLabels.formatter,
177
+ a,
178
+ V({
179
+ p: e.value.style.chart.bars.dataLabels.prefix,
180
+ v: a,
181
+ s: e.value.style.chart.bars.dataLabels.suffix,
182
+ r: e.value.style.chart.bars.dataLabels.rounding
183
+ }),
184
+ { datapoint: l, seriesIndex: t, datapointIndex: o }
185
+ );
181
186
  }
182
- function Re(a) {
183
- return H({
184
- v: a,
185
- s: "%",
186
- r: e.value.style.chart.bars.dataLabels.rounding
187
- });
187
+ function Pe(a, l, t, o) {
188
+ return Le(
189
+ e.value.style.chart.bars.dataLabels.formatter,
190
+ a,
191
+ V({
192
+ v: a,
193
+ s: "%",
194
+ r: e.value.style.chart.bars.dataLabels.rounding
195
+ }),
196
+ { datapoint: l, seriesIndex: t, datapointIndex: o }
197
+ );
188
198
  }
189
- function Pe(a) {
199
+ function Fe(a) {
190
200
  const l = JSON.parse(JSON.stringify(v.value)).map((t) => ({
191
201
  name: t.name,
192
202
  value: t.series[a] === 0 ? 0 : t.series[a] || null,
@@ -196,16 +206,16 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
196
206
  }));
197
207
  te("selectDatapoint", { datapoint: l, period: U.value[a] });
198
208
  }
199
- function Fe(a) {
200
- Z.value = a, Y.value = !0;
201
- const l = e.value.style.chart.tooltip.customFormat, t = JSON.parse(JSON.stringify(v.value)).map((o) => ({
202
- name: o.name,
203
- value: o.series[a] === 0 ? 0 : o.series[a] || null,
204
- proportion: o.proportions[a] || null,
205
- color: o.color,
206
- id: o.id
207
- })), r = t.map((o) => o.value).reduce((o, n) => o + n, 0);
208
- if ($e(l) && Qe(() => l({
209
+ function Me(a) {
210
+ K.value = a, Y.value = !0;
211
+ const l = e.value.style.chart.tooltip.customFormat, t = JSON.parse(JSON.stringify(v.value)).map((r) => ({
212
+ name: r.name,
213
+ value: r.series[a] === 0 ? 0 : r.series[a] || null,
214
+ proportion: r.proportions[a] || null,
215
+ color: r.color,
216
+ id: r.id
217
+ })), o = t.map((r) => r.value).reduce((r, i) => r + i, 0);
218
+ if ($e(l) && je(() => l({
209
219
  seriesIndex: a,
210
220
  datapoint: t,
211
221
  series: v.value,
@@ -219,76 +229,76 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
219
229
  });
220
230
  else {
221
231
  const {
222
- showValue: o,
223
- showPercentage: n,
232
+ showValue: r,
233
+ showPercentage: i,
224
234
  borderColor: g,
225
235
  roundingValue: f,
226
236
  roundingPercentage: k
227
237
  } = e.value.style.chart.tooltip;
228
238
  let S = "";
229
239
  U.value[a] && (S += `<div style="width:100%;text-align:center;border-bottom:1px solid ${g};padding-bottom:6px;margin-bottom:3px;">${U.value[a]}</div>`);
230
- const V = [
231
- o && n ? "(" : "",
232
- o && n ? ")" : ""
240
+ const I = [
241
+ r && i ? "(" : "",
242
+ r && i ? ")" : ""
233
243
  ];
234
244
  t.reverse().forEach((T) => {
235
245
  S += `
236
246
  <div style="display:flex;flex-direction:row;align-items:center;gap:4px">
237
247
  <svg viewBox="0 0 12 12" height="14" width="14"><rect rx="1" x="0" y="0" height="12" width="12" stroke="none" fill="${e.value.style.chart.bars.gradient.show ? `url(#gradient_${T.id})` : T.color}"/></svg>
238
- ${T.name}${o || n ? ":" : ""} ${o ? H({
248
+ ${T.name}${r || i ? ":" : ""} ${r ? V({
239
249
  p: e.value.style.chart.bars.dataLabels.prefix,
240
250
  v: T.value,
241
251
  s: e.value.style.chart.bars.dataLabels.suffix,
242
252
  r: f
243
- }) : ""} ${V[0]}${n ? H({
244
- v: isNaN(T.value / r) ? 0 : T.value / r * 100,
253
+ }) : ""} ${I[0]}${i ? V({
254
+ v: isNaN(T.value / o) ? 0 : T.value / o * 100,
245
255
  s: "%",
246
256
  r: k
247
- }) : ""}${V[1]}
257
+ }) : ""}${I[1]}
248
258
  </div>
249
259
  `;
250
260
  }), J.value = `<div>${S}</div>`;
251
261
  }
252
262
  }
253
- function Me(a) {
263
+ function Oe(a) {
254
264
  q.value = a, le.value += 1;
255
265
  }
256
266
  function ge() {
257
- w.value.showTable = !w.value.showTable;
267
+ C.value.showTable = !C.value.showTable;
258
268
  }
259
269
  function ye() {
260
- w.value.dataLabels.show = !w.value.dataLabels.show;
270
+ C.value.dataLabels.show = !C.value.dataLabels.show;
261
271
  }
262
272
  function be() {
263
- w.value.showTooltip = !w.value.showTooltip;
273
+ C.value.showTooltip = !C.value.showTooltip;
264
274
  }
265
- function Oe() {
275
+ function Ve() {
266
276
  return v.value;
267
277
  }
268
278
  const fe = y(() => {
269
279
  if (v.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
270
- const a = v.value.map(({ name: t, color: r }) => ({
280
+ const a = v.value.map(({ name: t, color: o }) => ({
271
281
  label: t,
272
- color: r
282
+ color: o
273
283
  })), l = [];
274
284
  for (let t = c.value.start; t < c.value.end; t += 1) {
275
- const r = [e.value.style.chart.grid.x.timeLabels.values[t] || t + 1];
276
- F.value.forEach((o) => {
277
- r.push(Number((o.series[t] || 0).toFixed(e.value.table.td.roundingValue)));
278
- }), l.push(r);
285
+ const o = [e.value.style.chart.grid.x.timeLabels.values[t] || t + 1];
286
+ F.value.forEach((r) => {
287
+ o.push(Number((r.series[t] || 0).toFixed(e.value.table.td.roundingValue)));
288
+ }), l.push(o);
279
289
  }
280
290
  return { head: a, body: l };
281
291
  });
282
292
  function pe() {
283
- const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = ["", ...fe.value.head.map((n) => n.label)], t = fe.value.body, r = a.concat([l]).concat(t), o = je(r);
284
- et({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-stackbar" });
293
+ const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = ["", ...fe.value.head.map((i) => i.label)], t = fe.value.body, o = a.concat([l]).concat(t), r = et(o);
294
+ tt({ csvContent: r, title: e.value.style.chart.title.text || "vue-ui-stackbar" });
285
295
  }
286
296
  const W = y(() => {
287
- const a = [""].concat(v.value.map((o) => o.name)).concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>');
297
+ const a = [""].concat(v.value.map((r) => r.name)).concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>');
288
298
  let l = [];
289
- for (let o = 0; o < B.value; o += 1) {
290
- const n = v.value.map((g) => g.series[o] ?? 0).reduce((g, f) => g + f, 0);
291
- l.push([e.value.style.chart.grid.x.timeLabels.values.slice(c.value.start, c.value.end)[o] ?? o + 1].concat(v.value.map((g) => (g.series[o] ?? 0).toFixed(e.value.table.rounding))).concat((n ?? 0).toFixed(e.value.table.rounding)));
299
+ for (let r = 0; r < B.value; r += 1) {
300
+ const i = v.value.map((g) => g.series[r] ?? 0).reduce((g, f) => g + f, 0);
301
+ l.push([e.value.style.chart.grid.x.timeLabels.values.slice(c.value.start, c.value.end)[r] ?? r + 1].concat(v.value.map((g) => (g.series[r] ?? 0).toFixed(e.value.table.td.roundingValue))).concat((i ?? 0).toFixed(e.value.table.td.roundingValue)));
292
302
  }
293
303
  const t = {
294
304
  th: {
@@ -302,8 +312,8 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
302
312
  outline: e.value.table.td.outline
303
313
  },
304
314
  breakpoint: e.value.table.responsiveBreakpoint
305
- }, r = [e.value.table.columnNames.period].concat(v.value.map((o) => o.name)).concat(e.value.table.columnNames.total);
306
- return { head: a, body: l.slice(0, c.value.end - c.value.start), config: t, colNames: r };
315
+ }, o = [e.value.table.columnNames.period].concat(v.value.map((r) => r.name)).concat(e.value.table.columnNames.total);
316
+ return { head: a, body: l.slice(0, c.value.end - c.value.start), config: t, colNames: o };
307
317
  });
308
318
  function De(a, l) {
309
319
  if (te("selectLegend", v.value.find((t) => t.absoluteIndex === a)), L.value.includes(l.id))
@@ -321,7 +331,7 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
321
331
  opacity: L.value.includes(a.id) ? 0.5 : 1,
322
332
  segregate: () => De(a.absoluteIndex, a),
323
333
  isSegregated: L.value.includes(a.id)
324
- }))), Ve = y(() => ({
334
+ }))), Ie = y(() => ({
325
335
  cy: "stackbar-legend",
326
336
  backgroundColor: e.value.style.chart.legend.backgroundColor,
327
337
  color: e.value.style.chart.legend.color,
@@ -329,15 +339,15 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
329
339
  paddingBottom: 12,
330
340
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
331
341
  }));
332
- return _e({
333
- getData: Oe,
342
+ return Se({
343
+ getData: Ve,
334
344
  generatePdf: ce,
335
345
  generateCsv: pe,
336
346
  generateImage: ve,
337
347
  toggleTable: ge,
338
348
  toggleLabels: ye,
339
349
  toggleTooltip: be
340
- }), (a, l) => (u(), i("div", {
350
+ }), (a, l) => (u(), n("div", {
341
351
  id: `stackbar_${X.value}`,
342
352
  ref_key: "stackbarChart",
343
353
  ref: D,
@@ -345,13 +355,13 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
345
355
  style: A(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`)
346
356
  }, [
347
357
  p(a.$slots, "userConfig", {}, void 0, !0),
348
- e.value.style.chart.title.text ? (u(), i("div", {
358
+ e.value.style.chart.title.text ? (u(), n("div", {
349
359
  key: 0,
350
360
  ref_key: "chartTitle",
351
361
  ref: oe,
352
362
  style: A(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`)
353
363
  }, [
354
- Q(ut, {
364
+ Z(it, {
355
365
  config: {
356
366
  title: {
357
367
  cy: "stackbar-title",
@@ -364,13 +374,13 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
364
374
  }
365
375
  }, null, 8, ["config"])
366
376
  ], 4)) : d("", !0),
367
- e.value.userOptions.show && P.value ? (u(), I(ot, {
377
+ e.value.userOptions.show && P.value ? (u(), H(rt, {
368
378
  ref: "details",
369
379
  key: `user_option_${le.value}`,
370
380
  backgroundColor: e.value.style.chart.backgroundColor,
371
381
  color: e.value.style.chart.color,
372
- isPrinting: C(ie),
373
- isImaging: C(ne),
382
+ isPrinting: w(ie),
383
+ isImaging: w(ne),
374
384
  uid: X.value,
375
385
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
376
386
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -381,12 +391,12 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
381
391
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
382
392
  isFullscreen: q.value,
383
393
  chartElement: D.value,
384
- isTooltip: w.value.showTooltip,
394
+ isTooltip: C.value.showTooltip,
385
395
  titles: { ...e.value.userOptions.buttonTitles },
386
- onToggleFullscreen: Me,
387
- onGeneratePdf: C(ce),
396
+ onToggleFullscreen: Oe,
397
+ onGeneratePdf: w(ce),
388
398
  onGenerateCsv: pe,
389
- onGenerateImage: C(ve),
399
+ onGenerateImage: w(ve),
390
400
  onToggleTable: ge,
391
401
  onToggleLabels: ye,
392
402
  onToggleTooltip: be
@@ -435,20 +445,20 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
435
445
  } : void 0,
436
446
  a.$slots.optionFullscreen ? {
437
447
  name: "optionFullscreen",
438
- fn: m(({ toggleFullscreen: t, isFullscreen: r }) => [
439
- p(a.$slots, "optionFullscreen", M(O({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
448
+ fn: m(({ toggleFullscreen: t, isFullscreen: o }) => [
449
+ p(a.$slots, "optionFullscreen", M(O({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
440
450
  ]),
441
451
  key: "6"
442
452
  } : void 0
443
453
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "isTooltip", "titles", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
444
- P.value ? (u(), i("svg", {
454
+ P.value ? (u(), n("svg", {
445
455
  key: 2,
446
- xmlns: C(Je),
456
+ xmlns: w(qe),
447
457
  viewBox: `0 0 ${s.value.chartWidth <= 0 ? 10 : s.value.chartWidth} ${s.value.chartHeight <= 0 ? 10 : s.value.chartHeight}`,
448
458
  style: A(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
449
459
  }, [
450
- e.value.style.chart.bars.gradient.show ? (u(), i("defs", yt, [
451
- (u(!0), i(x, null, $(v.value, (t, r) => (u(), i("linearGradient", {
460
+ e.value.style.chart.bars.gradient.show ? (u(), n("defs", bt, [
461
+ (u(!0), n(x, null, $(v.value, (t, o) => (u(), n("linearGradient", {
452
462
  id: `gradient_${t.id}`,
453
463
  x1: "0%",
454
464
  y1: "0%",
@@ -458,44 +468,44 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
458
468
  R("stop", {
459
469
  offset: "0%",
460
470
  "stop-color": t.color
461
- }, null, 8, ft),
471
+ }, null, 8, pt),
462
472
  R("stop", {
463
473
  offset: "61.8%",
464
- "stop-color": C(qe)(t.color, e.value.style.chart.bars.gradient.intensity / 100)
465
- }, null, 8, pt),
474
+ "stop-color": w(Ke)(t.color, e.value.style.chart.bars.gradient.intensity / 100)
475
+ }, null, 8, mt),
466
476
  R("stop", {
467
477
  offset: "100%",
468
478
  "stop-color": t.color
469
- }, null, 8, mt)
470
- ], 8, bt))), 256))
479
+ }, null, 8, xt)
480
+ ], 8, ft))), 256))
471
481
  ])) : d("", !0),
472
- e.value.style.chart.grid.x.showHorizontalLines ? (u(!0), i(x, { key: 1 }, $(K.value, (t, r) => (u(), i("line", {
482
+ e.value.style.chart.grid.x.showHorizontalLines ? (u(!0), n(x, { key: 1 }, $(Q.value, (t, o) => (u(), n("line", {
473
483
  x1: s.value.left,
474
484
  x2: s.value.right,
475
485
  y1: t.y,
476
486
  y2: t.y,
477
487
  stroke: e.value.style.chart.grid.x.axisColor,
478
488
  "stroke-width": 1
479
- }, null, 8, xt))), 256)) : d("", !0),
480
- e.value.style.chart.grid.y.showVerticalLines ? (u(!0), i(x, { key: 2 }, $(c.value.end - c.value.start + 1, (t, r) => (u(), i("line", {
481
- x1: s.value.left + b.value * r,
482
- x2: s.value.left + b.value * r,
489
+ }, null, 8, kt))), 256)) : d("", !0),
490
+ e.value.style.chart.grid.y.showVerticalLines ? (u(!0), n(x, { key: 2 }, $(c.value.end - c.value.start + 1, (t, o) => (u(), n("line", {
491
+ x1: s.value.left + b.value * o,
492
+ x2: s.value.left + b.value * o,
483
493
  y1: s.value.top,
484
494
  y2: s.value.bottom,
485
495
  stroke: e.value.style.chart.grid.y.axisColor,
486
496
  "stroke-width": 1
487
- }, null, 8, kt))), 256)) : d("", !0),
488
- (u(!0), i(x, null, $(v.value, (t, r) => (u(), i("g", null, [
489
- (u(!0), i(x, null, $(t.x, (o, n) => (u(), i("path", {
490
- d: r === v.value.length - 1 && v.value.at(-1).series[n] || !v.value.at(-1).series[n] && r < v.value.length - 1 && v.value[r].series[n] && !v.value[r + 1].series[n] ? `M ${o},${t.y[n]}
497
+ }, null, 8, wt))), 256)) : d("", !0),
498
+ (u(!0), n(x, null, $(v.value, (t, o) => (u(), n("g", null, [
499
+ (u(!0), n(x, null, $(t.x, (r, i) => (u(), n("path", {
500
+ d: o === v.value.length - 1 && v.value.at(-1).series[i] || !v.value.at(-1).series[i] && o < v.value.length - 1 && v.value[o].series[i] && !v.value[o + 1].series[i] ? `M ${r},${t.y[i]}
491
501
  h ${b.value * (1 - e.value.style.chart.bars.gapRatio / 2) - e.value.style.chart.bars.borderRadius}
492
502
  a ${e.value.style.chart.bars.borderRadius},${e.value.style.chart.bars.borderRadius} 0 0 1 ${e.value.style.chart.bars.borderRadius},${e.value.style.chart.bars.borderRadius}
493
- v ${t.height[n] - e.value.style.chart.bars.borderRadius < 0 ? 0 : t.height[n] - e.value.style.chart.bars.borderRadius}
503
+ v ${t.height[i] - e.value.style.chart.bars.borderRadius < 0 ? 0 : t.height[i] - e.value.style.chart.bars.borderRadius}
494
504
  h -${b.value * (1 - e.value.style.chart.bars.gapRatio / 2)}
495
- v -${t.height[n] - e.value.style.chart.bars.borderRadius < 0 ? 0 : t.height[n] - e.value.style.chart.bars.borderRadius}
496
- a ${e.value.style.chart.bars.borderRadius},${e.value.style.chart.bars.borderRadius} 0 0 1 ${e.value.style.chart.bars.borderRadius},-${e.value.style.chart.bars.borderRadius} z` : `M ${o},${t.y[n]}
505
+ v -${t.height[i] - e.value.style.chart.bars.borderRadius < 0 ? 0 : t.height[i] - e.value.style.chart.bars.borderRadius}
506
+ a ${e.value.style.chart.bars.borderRadius},${e.value.style.chart.bars.borderRadius} 0 0 1 ${e.value.style.chart.bars.borderRadius},-${e.value.style.chart.bars.borderRadius} z` : `M ${r},${t.y[i]}
497
507
  h ${b.value * (1 - e.value.style.chart.bars.gapRatio / 2)}
498
- v ${t.height[n] < 0 ? 0 : t.height[n]}
508
+ v ${t.height[i] < 0 ? 0 : t.height[i]}
499
509
  h -${b.value * (1 - e.value.style.chart.bars.gapRatio / 2)} z`,
500
510
  fill: e.value.style.chart.bars.gradient.show ? `url(#gradient_${t.id})` : t.color,
501
511
  stroke: e.value.style.chart.backgroundColor,
@@ -503,9 +513,9 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
503
513
  "stroke-linecap": "round",
504
514
  "stroke-linejoin": "round",
505
515
  class: ke({ "vue-data-ui-bar-animated": e.value.useCssAnimation })
506
- }, null, 10, wt))), 256))
516
+ }, null, 10, Ct))), 256))
507
517
  ]))), 256)),
508
- e.value.style.chart.grid.x.showAxis ? (u(), i("line", {
518
+ e.value.style.chart.grid.x.showAxis ? (u(), n("line", {
509
519
  key: 3,
510
520
  x1: s.value.left,
511
521
  x2: s.value.right,
@@ -515,8 +525,8 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
515
525
  "stroke-width": e.value.style.chart.grid.x.axisThickness,
516
526
  "stroke-linecap": "round",
517
527
  "stroke-linejoin": "round"
518
- }, null, 8, Ct)) : d("", !0),
519
- e.value.style.chart.grid.y.showAxis && !e.value.style.chart.bars.distributed ? (u(), i("line", {
528
+ }, null, 8, $t)) : d("", !0),
529
+ e.value.style.chart.grid.y.showAxis && !e.value.style.chart.bars.distributed ? (u(), n("line", {
520
530
  key: 4,
521
531
  x1: s.value.left,
522
532
  x2: s.value.left,
@@ -526,8 +536,8 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
526
536
  "stroke-width": e.value.style.chart.grid.y.axisThickness,
527
537
  "stroke-linecap": "round",
528
538
  "stroke-linejoin": "round"
529
- }, null, 8, $t)) : d("", !0),
530
- e.value.style.chart.grid.x.axisName.show && e.value.style.chart.grid.x.axisName.text ? (u(), i("text", {
539
+ }, null, 8, Lt)) : d("", !0),
540
+ e.value.style.chart.grid.x.axisName.show && e.value.style.chart.grid.x.axisName.text ? (u(), n("text", {
531
541
  key: 5,
532
542
  x: s.value.left + s.value.width / 2,
533
543
  y: s.value.chartHeight + e.value.style.chart.grid.x.axisName.offsetY,
@@ -535,85 +545,85 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
535
545
  fill: e.value.style.chart.grid.x.axisName.color,
536
546
  "font-weight": e.value.style.chart.grid.x.axisName.bold ? "bold" : "normal",
537
547
  "text-anchor": "middle"
538
- }, z(e.value.style.chart.grid.x.axisName.text), 9, Lt)) : d("", !0),
539
- e.value.style.chart.grid.y.axisName.show && e.value.style.chart.grid.y.axisName.text ? (u(), i("text", {
548
+ }, z(e.value.style.chart.grid.x.axisName.text), 9, _t)) : d("", !0),
549
+ e.value.style.chart.grid.y.axisName.show && e.value.style.chart.grid.y.axisName.text ? (u(), n("text", {
540
550
  key: 6,
541
551
  transform: `translate(${e.value.style.chart.grid.y.axisName.fontSize + e.value.style.chart.grid.y.axisName.offsetX}, ${s.value.top + s.value.height / 2}) rotate(-90)`,
542
552
  "font-size": e.value.style.chart.grid.y.axisName.fontSize,
543
553
  fill: e.value.style.chart.grid.y.axisName.color,
544
554
  "font-weight": e.value.style.chart.grid.y.axisName.bold ? "bold" : "normal",
545
555
  "text-anchor": "middle"
546
- }, z(e.value.style.chart.grid.y.axisName.text), 9, _t)) : d("", !0),
547
- w.value.dataLabels.show ? (u(), i(x, { key: 7 }, [
548
- (u(!0), i(x, null, $(v.value, (t, r) => (u(), i("g", null, [
549
- (u(!0), i(x, null, $(t.x, (o, n) => (u(), i("text", {
550
- x: o + b.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2,
551
- y: t.y[n] + t.proportions[n] * s.value.height / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
556
+ }, z(e.value.style.chart.grid.y.axisName.text), 9, St)) : d("", !0),
557
+ C.value.dataLabels.show ? (u(), n(x, { key: 7 }, [
558
+ (u(!0), n(x, null, $(v.value, (t, o) => (u(), n("g", null, [
559
+ (u(!0), n(x, null, $(t.x, (r, i) => (u(), n("text", {
560
+ x: r + b.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2,
561
+ y: t.y[i] + t.proportions[i] * s.value.height / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
552
562
  "font-size": e.value.style.chart.bars.dataLabels.fontSize,
553
- fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? C(Ze)(t.color) : e.value.style.chart.bars.dataLabels.color,
563
+ fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? w(Qe)(t.color) : e.value.style.chart.bars.dataLabels.color,
554
564
  "font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
555
565
  "text-anchor": "middle"
556
- }, z(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Re(t.proportions[n] * 100) : he(t.series[n])), 9, St))), 256))
566
+ }, z(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Pe(t.proportions[i] * 100, t, o, i) : he(t.series[i], t, o, i)), 9, Tt))), 256))
557
567
  ]))), 256)),
558
- e.value.style.chart.bars.totalValues.show && v.value.length > 1 ? (u(), i("g", Tt, [
559
- (u(!0), i(x, null, $(Ne.value, (t, r) => (u(), i("text", {
560
- x: s.value.left + b.value * r + b.value / 2,
568
+ e.value.style.chart.bars.totalValues.show && v.value.length > 1 ? (u(), n("g", zt, [
569
+ (u(!0), n(x, null, $(Re.value, (t, o) => (u(), n("text", {
570
+ x: s.value.left + b.value * o + b.value / 2,
561
571
  y: (e.value.style.chart.bars.distributed ? s.value.top - e.value.style.chart.bars.totalValues.fontSize / 3 : t.y) + e.value.style.chart.bars.totalValues.offsetY,
562
572
  "text-anchor": "middle",
563
573
  "font-size": e.value.style.chart.bars.totalValues.fontSize,
564
574
  "font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
565
575
  fill: e.value.style.chart.bars.totalValues.color
566
- }, z(he(t.value)), 9, zt))), 256))
576
+ }, z(he(t.value, t, o)), 9, Nt))), 256))
567
577
  ])) : d("", !0)
568
578
  ], 64)) : d("", !0),
569
- e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed ? (u(), i(x, { key: 8 }, [
570
- (u(!0), i(x, null, $(K.value, (t, r) => (u(), i("line", {
579
+ e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed ? (u(), n(x, { key: 8 }, [
580
+ (u(!0), n(x, null, $(Q.value, (t, o) => (u(), n("line", {
571
581
  x1: s.value.left,
572
582
  x2: s.value.left - 6,
573
583
  y1: t.y,
574
584
  y2: t.y,
575
585
  stroke: e.value.style.chart.grid.x.axisColor,
576
586
  "stroke-width": 1
577
- }, null, 8, Nt))), 256)),
578
- (u(!0), i(x, null, $(K.value, (t, r) => (u(), i("text", {
587
+ }, null, 8, Rt))), 256)),
588
+ (u(!0), n(x, null, $(Q.value, (t, o) => (u(), n("text", {
579
589
  x: t.x,
580
590
  y: t.y + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
581
591
  "font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
582
592
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
583
593
  fill: e.value.style.chart.grid.y.axisLabels.color,
584
594
  "text-anchor": "end"
585
- }, z(C(H)({
595
+ }, z(w(V)({
586
596
  p: e.value.style.chart.bars.dataLabels.prefix,
587
597
  v: t.value,
588
598
  s: e.value.style.chart.bars.dataLabels.suffix,
589
599
  r: e.value.style.chart.grid.y.axisLabels.rounding
590
- })), 9, Rt))), 256))
600
+ })), 9, Pt))), 256))
591
601
  ], 64)) : d("", !0),
592
- e.value.style.chart.grid.x.timeLabels.show ? (u(!0), i(x, { key: 9 }, $(U.value, (t, r) => (u(), i("text", {
602
+ e.value.style.chart.grid.x.timeLabels.show ? (u(!0), n(x, { key: 9 }, $(U.value, (t, o) => (u(), n("text", {
593
603
  "text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
594
604
  "font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
595
605
  "font-weight": e.value.style.chart.grid.x.timeLabels.bold ? "bold" : "normal",
596
606
  fill: e.value.style.chart.grid.x.timeLabels.color,
597
- transform: `translate(${s.value.left + b.value * r + b.value / 2}, ${s.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${e.value.style.chart.grid.x.timeLabels.rotation})`
598
- }, z(t), 9, Pt))), 256)) : d("", !0),
599
- w.value.showTooltip ? (u(!0), i(x, { key: 10 }, $(c.value.end - c.value.start, (t, r) => (u(), i("rect", {
600
- x: s.value.left + r * b.value,
607
+ transform: `translate(${s.value.left + b.value * o + b.value / 2}, ${s.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${e.value.style.chart.grid.x.timeLabels.rotation})`
608
+ }, z(t), 9, Ft))), 256)) : d("", !0),
609
+ C.value.showTooltip ? (u(!0), n(x, { key: 10 }, $(c.value.end - c.value.start, (t, o) => (u(), n("rect", {
610
+ x: s.value.left + o * b.value,
601
611
  y: s.value.top,
602
612
  width: b.value,
603
613
  height: s.value.height,
604
- onClick: (o) => Pe(r),
605
- onMouseenter: (o) => Fe(r),
606
- onMouseleave: l[0] || (l[0] = (o) => {
607
- Z.value = null, Y.value = !1;
614
+ onClick: (r) => Fe(o),
615
+ onMouseenter: (r) => Me(o),
616
+ onMouseleave: l[0] || (l[0] = (r) => {
617
+ K.value = null, Y.value = !1;
608
618
  }),
609
- fill: r === Z.value ? e.value.style.chart.highlighter.color + C(Ke)[e.value.style.chart.highlighter.opacity] : "transparent"
610
- }, null, 40, Ft))), 256)) : d("", !0),
619
+ fill: o === K.value ? e.value.style.chart.highlighter.color + w(Ze)[e.value.style.chart.highlighter.opacity] : "transparent"
620
+ }, null, 40, Mt))), 256)) : d("", !0),
611
621
  p(a.$slots, "svg", M(O({ ...s.value })), void 0, !0)
612
- ], 12, gt)) : d("", !0),
613
- a.$slots.watermark ? (u(), i("div", Mt, [
614
- p(a.$slots, "watermark", M(O({ isPrinting: C(ie) || C(ne) })), void 0, !0)
622
+ ], 12, yt)) : d("", !0),
623
+ a.$slots.watermark ? (u(), n("div", Ot, [
624
+ p(a.$slots, "watermark", M(O({ isPrinting: w(ie) || w(ne) })), void 0, !0)
615
625
  ])) : d("", !0),
616
- P.value ? d("", !0) : (u(), I(vt, {
626
+ P.value ? d("", !0) : (u(), H(dt, {
617
627
  key: 4,
618
628
  config: {
619
629
  type: "bar",
@@ -634,7 +644,7 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
634
644
  style: A(`width:100%;background:${e.value.style.chart.backgroundColor}`),
635
645
  "data-html2canvas-ignore": ""
636
646
  }, [
637
- e.value.style.chart.zoom.show && B.value > 1 ? (u(), I(rt, {
647
+ e.value.style.chart.zoom.show && B.value > 1 ? (u(), H(st, {
638
648
  key: `slicer_${ue.value}`,
639
649
  background: e.value.style.chart.zoom.color,
640
650
  borderColor: e.value.style.chart.backgroundColor,
@@ -653,7 +663,7 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
653
663
  "onUpdate:start": l[1] || (l[1] = (t) => c.value.start = t),
654
664
  end: c.value.end,
655
665
  "onUpdate:end": l[2] || (l[2] = (t) => c.value.end = t),
656
- onReset: ze
666
+ onReset: Ne
657
667
  }, {
658
668
  "reset-action": m(({ reset: t }) => [
659
669
  p(a.$slots, "reset-action", M(O({ reset: t })), void 0, !0)
@@ -661,8 +671,8 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
661
671
  _: 3
662
672
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"])) : d("", !0)
663
673
  ], 4),
664
- Q(st, {
665
- show: w.value.showTooltip && Y.value,
674
+ Z(ut, {
675
+ show: C.value.showTooltip && Y.value,
666
676
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
667
677
  color: e.value.style.chart.tooltip.color,
668
678
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -674,7 +684,7 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
674
684
  offsetY: e.value.style.chart.tooltip.offsetY,
675
685
  parent: D.value,
676
686
  content: J.value,
677
- isCustom: C($e)(e.value.style.chart.tooltip.customFormat)
687
+ isCustom: w($e)(e.value.style.chart.tooltip.customFormat)
678
688
  }, {
679
689
  "tooltip-before": m(() => [
680
690
  p(a.$slots, "tooltip-before", M(O({ ...ae.value })), void 0, !0)
@@ -688,17 +698,17 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
688
698
  ref_key: "chartLegend",
689
699
  ref: re
690
700
  }, [
691
- e.value.style.chart.legend.show && P.value ? (u(), I(it, {
701
+ e.value.style.chart.legend.show && P.value ? (u(), H(nt, {
692
702
  key: 0,
693
703
  legendSet: me.value,
694
- config: Ve.value,
704
+ config: Ie.value,
695
705
  onClickMarker: l[3] || (l[3] = ({ legend: t }) => t.segregate())
696
706
  }, {
697
707
  item: m(({ legend: t }) => [
698
708
  R("div", {
699
- onClick: (r) => t.segregate(),
709
+ onClick: (o) => t.segregate(),
700
710
  style: A(`opacity:${L.value.includes(t.id) ? 0.5 : 1}`)
701
- }, z(t.name), 13, Ot)
711
+ }, z(t.name), 13, Vt)
702
712
  ]),
703
713
  _: 1
704
714
  }, 8, ["legendSet", "config"])) : p(a.$slots, "legend", {
@@ -706,11 +716,11 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
706
716
  legend: me.value
707
717
  }, void 0, !0)
708
718
  ], 512),
709
- c.value.end - c.value.start < 200 ? (u(), I(nt, {
719
+ c.value.end - c.value.start < 200 ? (u(), H(ct, {
710
720
  key: 5,
711
721
  hideDetails: "",
712
722
  config: {
713
- open: w.value.showTable,
723
+ open: C.value.showTable,
714
724
  maxHeight: 1e4,
715
725
  body: {
716
726
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -723,28 +733,33 @@ const ht = ["id"], gt = ["xmlns", "viewBox"], yt = { key: 0 }, bt = ["id"], ft =
723
733
  }
724
734
  }, {
725
735
  content: m(() => [
726
- Q(ct, {
736
+ Z(vt, {
727
737
  colNames: W.value.colNames,
728
738
  head: W.value.head,
729
739
  body: W.value.body,
730
740
  config: W.value.config,
731
741
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
732
- onClose: l[4] || (l[4] = (t) => w.value.showTable = !1)
742
+ onClose: l[4] || (l[4] = (t) => C.value.showTable = !1)
733
743
  }, {
734
744
  th: m(({ th: t }) => [
735
745
  R("div", { innerHTML: t }, null, 8, Dt)
736
746
  ]),
737
747
  td: m(({ td: t }) => [
738
- Ie(z(t), 1)
748
+ He(z(isNaN(Number(t)) ? t : w(V)({
749
+ p: e.value.style.chart.bars.dataLabels.prefix,
750
+ v: t,
751
+ s: e.value.style.chart.bars.dataLabels.suffix,
752
+ r: e.value.table.td.roundingValue
753
+ })), 1)
739
754
  ]),
740
755
  _: 1
741
756
  }, 8, ["colNames", "head", "body", "config", "title"])
742
757
  ]),
743
758
  _: 1
744
759
  }, 8, ["config"])) : d("", !0)
745
- ], 14, ht));
760
+ ], 14, gt));
746
761
  }
747
- }, Kt = /* @__PURE__ */ dt(Vt, [["__scopeId", "data-v-5aeb6468"]]);
762
+ }, Zt = /* @__PURE__ */ ht(It, [["__scopeId", "data-v-63fd67c1"]]);
748
763
  export {
749
- Kt as default
764
+ Zt as default
750
765
  };