vue-data-ui 2.4.55 → 2.4.57

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 (156) hide show
  1. package/dist/{Arrow-Lu-rJXGl.cjs → Arrow-BhwhLRcU.cjs} +1 -1
  2. package/dist/{Arrow-D9oPJhO0.js → Arrow-DelnKkT1.js} +1 -1
  3. package/dist/{BaseIcon-mHeKnX4-.js → BaseIcon-9gdEHMWK.js} +1 -1
  4. package/dist/{BaseIcon-DxRKjbz1.cjs → BaseIcon-DujPvdJ_.cjs} +1 -1
  5. package/dist/{DataTable-rMMvio1U.cjs → DataTable-BUflha5V.cjs} +1 -1
  6. package/dist/{DataTable-D8MTezlM.js → DataTable-DgbrnD__.js} +2 -2
  7. package/dist/{Legend-wr5XLSfL.js → Legend-HooNAKB_.js} +1 -1
  8. package/dist/{Legend-Ba34oTdO.cjs → Legend-V3K-4ipN.cjs} +1 -1
  9. package/dist/{PackageVersion-xnKIqody.js → PackageVersion-S3SzpuwC.js} +1 -1
  10. package/dist/{PackageVersion-BJi2ywG9.cjs → PackageVersion-dQYEsTLp.cjs} +1 -1
  11. package/dist/{PenAndPaper-CX6N7FR7.cjs → PenAndPaper-1h87IVla.cjs} +1 -1
  12. package/dist/{PenAndPaper-iek0aH4r.js → PenAndPaper-v846FwcH.js} +3 -3
  13. package/dist/{Shape-B_lWjwmP.js → Shape-D7aacHaz.js} +1 -1
  14. package/dist/{Shape-9v-w5i6N.cjs → Shape-DV5sH0dX.cjs} +1 -1
  15. package/dist/{Slicer--m1nOwbO.cjs → Slicer-BRxR5OYL.cjs} +1 -1
  16. package/dist/{Slicer-Bwg4WzZf.js → Slicer-BXCORSCz.js} +2 -2
  17. package/dist/{Title-BWhYDGb-.cjs → Title-B-EsW0Q2.cjs} +1 -1
  18. package/dist/{Title-BecmraNn.js → Title-DLjHHdyq.js} +1 -1
  19. package/dist/{Tooltip-cPxZzSgr.cjs → Tooltip-B7gYRLGN.cjs} +1 -1
  20. package/dist/{Tooltip-BZYApG0d.js → Tooltip-BDaa-67h.js} +1 -1
  21. package/dist/{index-Dhlyke5j.js → index-CI-N9klv.js} +5 -1
  22. package/dist/index-o6tXRhOr.cjs +9 -0
  23. package/dist/style.css +1 -1
  24. package/dist/types/vue-data-ui.d.cts +3 -0
  25. package/dist/types/vue-data-ui.d.ts +3 -0
  26. package/dist/{useNestedProp-C9KmUVBy.cjs → useNestedProp-D-zaZbSR.cjs} +1 -1
  27. package/dist/{useNestedProp-D9eTQKze.js → useNestedProp-D1eJ0dvv.js} +1 -1
  28. package/dist/{usePrinter-BnBk8gnl.js → usePrinter-CXc8xCKk.js} +1 -1
  29. package/dist/{usePrinter-DpEuGyLP.cjs → usePrinter-H2UFIe6n.cjs} +1 -1
  30. package/dist/{vue-data-ui-CGGZHtx3.cjs → vue-data-ui-CvfX2D1d.cjs} +1 -1
  31. package/dist/{vue-data-ui-aSR5-7gp.js → vue-data-ui-DuXblXhF.js} +60 -60
  32. package/dist/vue-data-ui.cjs +1 -1
  33. package/dist/vue-data-ui.js +1 -1
  34. package/dist/{vue-ui-3d-bar-D9pXx9fJ.js → vue-ui-3d-bar-fvTVGk8O.js} +9 -9
  35. package/dist/{vue-ui-3d-bar-Dm2wnS6e.cjs → vue-ui-3d-bar-zKUnnMOY.cjs} +1 -1
  36. package/dist/{vue-ui-accordion-CGpOsWNN.js → vue-ui-accordion-CYLks1fW.js} +3 -3
  37. package/dist/{vue-ui-accordion-mtZIFAv9.cjs → vue-ui-accordion-paZXh-GD.cjs} +1 -1
  38. package/dist/{vue-ui-age-pyramid-BcMERmA5.cjs → vue-ui-age-pyramid-Bg8Bexac.cjs} +1 -1
  39. package/dist/{vue-ui-age-pyramid-dbX4WaaY.js → vue-ui-age-pyramid-Ch3nY1Dx.js} +10 -10
  40. package/dist/{vue-ui-annotator-CY-rCEDB.cjs → vue-ui-annotator-BXbLcJ1L.cjs} +1 -1
  41. package/dist/{vue-ui-annotator-DfRkh1D_.js → vue-ui-annotator-DGupSF-o.js} +1 -1
  42. package/dist/{vue-ui-bullet-CUoiQcb5.js → vue-ui-bullet-BSRXabBe.js} +8 -8
  43. package/dist/{vue-ui-bullet-jsXAmYsX.cjs → vue-ui-bullet-DqM9h81O.cjs} +1 -1
  44. package/dist/{vue-ui-candlestick-BD58hsql.cjs → vue-ui-candlestick-C0PkovyK.cjs} +1 -1
  45. package/dist/{vue-ui-candlestick-BLIICgdz.js → vue-ui-candlestick-Dww4XHwQ.js} +11 -11
  46. package/dist/vue-ui-carousel-table-BZs-sxxu.js +396 -0
  47. package/dist/vue-ui-carousel-table-DbXCpYUm.cjs +1 -0
  48. package/dist/{vue-ui-chestnut-vivMozHy.cjs → vue-ui-chestnut-Be4Lagdr.cjs} +1 -1
  49. package/dist/{vue-ui-chestnut-DIPBJ5D2.js → vue-ui-chestnut-CnupXXAM.js} +8 -8
  50. package/dist/{vue-ui-cursor-CzLtzn7N.js → vue-ui-cursor-oqfOA98Q.js} +2 -2
  51. package/dist/{vue-ui-cursor-Cgv_2p2T.cjs → vue-ui-cursor-smlBNiGG.cjs} +1 -1
  52. package/dist/{vue-ui-dashboard-DqZVcLlQ.js → vue-ui-dashboard-BNu7yNYm.js} +2 -2
  53. package/dist/{vue-ui-dashboard-CtlrjFxl.cjs → vue-ui-dashboard-Dw_90R29.cjs} +1 -1
  54. package/dist/{vue-ui-digits-e1HQVXb9.cjs → vue-ui-digits-_8FbgFrI.cjs} +1 -1
  55. package/dist/{vue-ui-digits-CGFznMkY.js → vue-ui-digits-qztPrOEN.js} +2 -2
  56. package/dist/{vue-ui-donut-z2eOcEI5.cjs → vue-ui-donut-B7orj3vV.cjs} +1 -1
  57. package/dist/{vue-ui-donut-DmLq2iWK.js → vue-ui-donut-CK9dINFS.js} +11 -11
  58. package/dist/{vue-ui-donut-evolution-4odFZbUM.cjs → vue-ui-donut-evolution-BmTzjKlH.cjs} +1 -1
  59. package/dist/{vue-ui-donut-evolution-DpollzkH.js → vue-ui-donut-evolution-DpDpYw3f.js} +11 -11
  60. package/dist/{vue-ui-dumbbell-i7E-B6zN.cjs → vue-ui-dumbbell-5yfcA-Of.cjs} +1 -1
  61. package/dist/{vue-ui-dumbbell-DLr4Lh3u.js → vue-ui-dumbbell-Dx1I89N9.js} +10 -10
  62. package/dist/{vue-ui-flow-BuYhmRed.cjs → vue-ui-flow-Bar7LG9t.cjs} +1 -1
  63. package/dist/{vue-ui-flow-CosxAYPJ.js → vue-ui-flow-DJNqydD1.js} +9 -9
  64. package/dist/{vue-ui-funnel-BNPISgC0.cjs → vue-ui-funnel-lxHehCUr.cjs} +1 -1
  65. package/dist/{vue-ui-funnel-C_2YAtFj.js → vue-ui-funnel-mP8ftcS5.js} +8 -8
  66. package/dist/{vue-ui-galaxy-D1cWyHG9.js → vue-ui-galaxy-3cOLS6lh.js} +11 -11
  67. package/dist/{vue-ui-galaxy-DMOx2Le7.cjs → vue-ui-galaxy-B8zbGikp.cjs} +1 -1
  68. package/dist/{vue-ui-gauge-Dw7QvZei.cjs → vue-ui-gauge-Bz1nzveF.cjs} +1 -1
  69. package/dist/{vue-ui-gauge-Dnq0t_eH.js → vue-ui-gauge-CN_zo833.js} +7 -7
  70. package/dist/{vue-ui-gizmo-DcT9tTS-.cjs → vue-ui-gizmo-C9XQ-7Sj.cjs} +1 -1
  71. package/dist/{vue-ui-gizmo-vHQVGdpR.js → vue-ui-gizmo-akkNcCWf.js} +3 -3
  72. package/dist/{vue-ui-heatmap-CtxQI5Mq.js → vue-ui-heatmap-B3ClLioV.js} +10 -10
  73. package/dist/{vue-ui-heatmap-D-r7qdj0.cjs → vue-ui-heatmap-BW6dmp8j.cjs} +1 -1
  74. package/dist/{vue-ui-history-plot-BjcPvcaK.js → vue-ui-history-plot-C-EqVFW-.js} +11 -11
  75. package/dist/{vue-ui-history-plot-B8pP20QN.cjs → vue-ui-history-plot-Mp0zDeR-.cjs} +1 -1
  76. package/dist/{vue-ui-kpi-BjuKXuQM.js → vue-ui-kpi-C-axCKZx.js} +3 -3
  77. package/dist/{vue-ui-kpi-BPwU5pay.cjs → vue-ui-kpi-D8hh3p8f.cjs} +1 -1
  78. package/dist/{vue-ui-mini-loader-DE2NXywp.cjs → vue-ui-mini-loader-Cal5W_q6.cjs} +1 -1
  79. package/dist/{vue-ui-mini-loader-DZYw7bD6.js → vue-ui-mini-loader-CsZ1zxJz.js} +2 -2
  80. package/dist/{vue-ui-molecule-A3yHt8cl.js → vue-ui-molecule-BvNh7REY.js} +11 -11
  81. package/dist/{vue-ui-molecule-B8I4iuBQ.cjs → vue-ui-molecule-RkdIX-iW.cjs} +1 -1
  82. package/dist/{vue-ui-mood-radar-Dh1qbcXz.js → vue-ui-mood-radar-C7v4dBNw.js} +11 -11
  83. package/dist/{vue-ui-mood-radar-BKtVVOZz.cjs → vue-ui-mood-radar-DLpDoq0G.cjs} +1 -1
  84. package/dist/{vue-ui-nested-donuts-B5ixdGsx.cjs → vue-ui-nested-donuts-BO249_PV.cjs} +1 -1
  85. package/dist/{vue-ui-nested-donuts-DPuIU4IX.js → vue-ui-nested-donuts-C08kpvMd.js} +11 -11
  86. package/dist/{vue-ui-onion-BTMaTU2a.cjs → vue-ui-onion-BjNQgHPX.cjs} +1 -1
  87. package/dist/{vue-ui-onion-BgcJBzxI.js → vue-ui-onion-CTLBemDj.js} +11 -11
  88. package/dist/{vue-ui-parallel-coordinate-plot-Cye2V8MQ.cjs → vue-ui-parallel-coordinate-plot-CoeVi-98.cjs} +1 -1
  89. package/dist/{vue-ui-parallel-coordinate-plot-Ksh3Tuvx.js → vue-ui-parallel-coordinate-plot-H1FdP6AE.js} +12 -12
  90. package/dist/{vue-ui-quadrant-DOet5Q47.cjs → vue-ui-quadrant-D701bdNz.cjs} +1 -1
  91. package/dist/{vue-ui-quadrant-DGBXeeOe.js → vue-ui-quadrant-Dd-LDy4T.js} +12 -12
  92. package/dist/{vue-ui-quick-chart-DQcck_x6.js → vue-ui-quick-chart-BeNivWrg.js} +9 -9
  93. package/dist/{vue-ui-quick-chart-DhCA-7B5.cjs → vue-ui-quick-chart-CRNEkxoM.cjs} +1 -1
  94. package/dist/{vue-ui-radar-qk20LKHr.cjs → vue-ui-radar-3W9NRklj.cjs} +1 -1
  95. package/dist/{vue-ui-radar-CI5egNer.js → vue-ui-radar-D9U_vOad.js} +12 -12
  96. package/dist/{vue-ui-rating-Ch2PSMeW.js → vue-ui-rating-B7AlAqCY.js} +2 -2
  97. package/dist/{vue-ui-rating-CYhvKLSi.cjs → vue-ui-rating-DeuaL_cU.cjs} +1 -1
  98. package/dist/{vue-ui-relation-circle-t-WDgqtA.cjs → vue-ui-relation-circle-B8JtK-JM.cjs} +1 -1
  99. package/dist/{vue-ui-relation-circle-G6KC4zs0.js → vue-ui-relation-circle-CT23BNcW.js} +7 -7
  100. package/dist/{vue-ui-rings-NIIfGve4.js → vue-ui-rings-BZ7FYYxr.js} +11 -11
  101. package/dist/{vue-ui-rings-DxpkXXwJ.cjs → vue-ui-rings-CZCTLghE.cjs} +1 -1
  102. package/dist/{vue-ui-scatter-BqxcKjb2.js → vue-ui-scatter-DMr8OrC3.js} +12 -12
  103. package/dist/{vue-ui-scatter-DynxMn7l.cjs → vue-ui-scatter-DlA0xU5U.cjs} +1 -1
  104. package/dist/{vue-ui-screenshot-BUP9G_uK.cjs → vue-ui-screenshot-BFV1qEsF.cjs} +1 -1
  105. package/dist/{vue-ui-screenshot-DreZMmrO.js → vue-ui-screenshot-DHiX35pR.js} +1 -1
  106. package/dist/{vue-ui-skeleton-D_lU-hWK.cjs → vue-ui-skeleton-BIWgLDDf.cjs} +1 -1
  107. package/dist/{vue-ui-skeleton-DQqwDUqP.js → vue-ui-skeleton-owIhXtQF.js} +3 -3
  108. package/dist/{vue-ui-smiley-AGwF1X7u.cjs → vue-ui-smiley-BISneB7t.cjs} +1 -1
  109. package/dist/{vue-ui-smiley-CdmO39JE.js → vue-ui-smiley-CCOQ6zjo.js} +2 -2
  110. package/dist/{vue-ui-spark-trend-BUx5YwEZ.js → vue-ui-spark-trend-B56DI3Mc.js} +5 -5
  111. package/dist/{vue-ui-spark-trend-DD1s6Thz.cjs → vue-ui-spark-trend-lMzod-5S.cjs} +1 -1
  112. package/dist/{vue-ui-sparkbar-KZd6YQwQ.js → vue-ui-sparkbar-CMkozDkx.js} +4 -4
  113. package/dist/{vue-ui-sparkbar-mlrF_QEO.cjs → vue-ui-sparkbar-DcdDLl8l.cjs} +1 -1
  114. package/dist/{vue-ui-sparkgauge-B4J8ZYzs.cjs → vue-ui-sparkgauge-BhwNRzrD.cjs} +1 -1
  115. package/dist/{vue-ui-sparkgauge-Db-d9x9r.js → vue-ui-sparkgauge-De06LRPj.js} +4 -4
  116. package/dist/{vue-ui-sparkhistogram-B61JDza9.js → vue-ui-sparkhistogram-CBDd7jIn.js} +5 -5
  117. package/dist/{vue-ui-sparkhistogram-DzJ5NNi9.cjs → vue-ui-sparkhistogram-D00ahrgs.cjs} +1 -1
  118. package/dist/{vue-ui-sparkline-P6ubVgp0.js → vue-ui-sparkline-BJejWvTN.js} +4 -4
  119. package/dist/{vue-ui-sparkline-S6HehQ0a.cjs → vue-ui-sparkline-CY92qVz0.cjs} +1 -1
  120. package/dist/{vue-ui-sparkstackbar-BDBqoeJQ.cjs → vue-ui-sparkstackbar-BjKL_6dq.cjs} +1 -1
  121. package/dist/{vue-ui-sparkstackbar-DKtOqh-Y.js → vue-ui-sparkstackbar-DlnmPom2.js} +5 -5
  122. package/dist/{vue-ui-stackbar-WShCS9A1.js → vue-ui-stackbar-19XdLQXB.js} +306 -291
  123. package/dist/vue-ui-stackbar-T4VBFpDo.cjs +6 -0
  124. package/dist/{vue-ui-strip-plot-Bq3u8k2l.js → vue-ui-strip-plot-Bly8GoNP.js} +11 -11
  125. package/dist/{vue-ui-strip-plot-DH4LQTfB.cjs → vue-ui-strip-plot-CtjbMamo.cjs} +1 -1
  126. package/dist/{vue-ui-table-sJN2rS51.js → vue-ui-table-BUF6Pyfp.js} +1 -1
  127. package/dist/{vue-ui-table-aV4pHrWD.cjs → vue-ui-table-BisPh85-.cjs} +1 -1
  128. package/dist/{vue-ui-table-heatmap-DsdyE14x.js → vue-ui-table-heatmap-By-MmFiq.js} +4 -4
  129. package/dist/{vue-ui-table-heatmap-CruECEYA.cjs → vue-ui-table-heatmap-CPn-jC0n.cjs} +1 -1
  130. package/dist/{vue-ui-table-sparkline-CcsNg6th.cjs → vue-ui-table-sparkline-CIDuWZZs.cjs} +1 -1
  131. package/dist/{vue-ui-table-sparkline-BlUe2QFV.js → vue-ui-table-sparkline-DG70UNkU.js} +5 -5
  132. package/dist/{vue-ui-thermometer-ButIh820.cjs → vue-ui-thermometer-CMvk1D7J.cjs} +1 -1
  133. package/dist/{vue-ui-thermometer-80aa72_6.js → vue-ui-thermometer-Vr2IP_p0.js} +7 -7
  134. package/dist/{vue-ui-timer-CuUSpISM.js → vue-ui-timer-CD7gFOjN.js} +5 -5
  135. package/dist/{vue-ui-timer-Dk4I7cRn.cjs → vue-ui-timer-CUHgN89f.cjs} +1 -1
  136. package/dist/{vue-ui-tiremarks-CQ98xHZ5.js → vue-ui-tiremarks-44pO3jx1.js} +7 -7
  137. package/dist/{vue-ui-tiremarks-BsYfeNCN.cjs → vue-ui-tiremarks-w_gxHFeB.cjs} +1 -1
  138. package/dist/{vue-ui-treemap-CHXb8mBG.cjs → vue-ui-treemap-CFhTEaxa.cjs} +1 -1
  139. package/dist/{vue-ui-treemap-s1nZAhAS.js → vue-ui-treemap-CyOUM3-P.js} +11 -11
  140. package/dist/{vue-ui-vertical-bar-iZWowEik.cjs → vue-ui-vertical-bar-C51RKLB8.cjs} +1 -1
  141. package/dist/{vue-ui-vertical-bar-Dd306Z10.js → vue-ui-vertical-bar-wngOp0Zc.js} +11 -11
  142. package/dist/{vue-ui-waffle-BJgSuNVY.cjs → vue-ui-waffle-CXZc4t27.cjs} +1 -1
  143. package/dist/{vue-ui-waffle-CQfOCZjf.js → vue-ui-waffle-CuN7i0ci.js} +11 -11
  144. package/dist/{vue-ui-wheel-DB-4Rn84.js → vue-ui-wheel-B_gLugLx.js} +7 -7
  145. package/dist/{vue-ui-wheel-s8UTbo9G.cjs → vue-ui-wheel-u9Vc7ZTZ.cjs} +1 -1
  146. package/dist/{vue-ui-word-cloud-C-l2Z3Dd.js → vue-ui-word-cloud-DKHGS0my.js} +10 -10
  147. package/dist/{vue-ui-word-cloud-DvfOJe4M.cjs → vue-ui-word-cloud-tSXyXvd6.cjs} +1 -1
  148. package/dist/{vue-ui-xy-P_VLOaMg.js → vue-ui-xy-BK9R8MrJ.js} +14 -14
  149. package/dist/{vue-ui-xy-D1Nkk2Gp.cjs → vue-ui-xy-bX3g4COC.cjs} +1 -1
  150. package/dist/{vue-ui-xy-canvas-BwNEs-cY.js → vue-ui-xy-canvas-DaT4HoWD.js} +11 -11
  151. package/dist/{vue-ui-xy-canvas-CIKl9AXf.cjs → vue-ui-xy-canvas-gDaRsnBI.cjs} +1 -1
  152. package/package.json +1 -1
  153. package/dist/index-DGcOW0vL.cjs +0 -9
  154. package/dist/vue-ui-carousel-table-CCmB_BJ7.cjs +0 -1
  155. package/dist/vue-ui-carousel-table-NUliqwxA.js +0 -379
  156. package/dist/vue-ui-stackbar-DCCcEgQZ.cjs +0 -6
@@ -1,23 +1,23 @@
1
- import { computed as k, ref as y, onMounted as Qe, watch as je, nextTick as ne, openBlock as r, createElementBlock as i, normalizeClass as xe, normalizeStyle as B, unref as p, createBlock as J, createCommentVNode as d, renderSlot as w, createVNode as ue, createSlots as $t, withCtx as C, normalizeProps as O, guardReactiveProps as P, Fragment as h, renderList as f, createElementVNode as U, toDisplayString as S, createTextVNode as Mt } from "vue";
2
- import { u as Tt, c as et, t as Nt, a as It, p as ce, C as ve, b as Ot, o as Pt, e as tt, g as At, d as Rt, a7 as he, a3 as at, D as lt, X as Vt, l as Ft, G as ot, f as W, x as rt, i as st, y as Dt, q as Et, r as Ht } from "./index-Dhlyke5j.js";
3
- import { u as it } from "./useNestedProp-D9eTQKze.js";
4
- import { t as Bt, u as Ut } from "./useResponsive-CoxXLe23.js";
5
- import { u as Wt, U as Yt } from "./usePrinter-BnBk8gnl.js";
6
- import { S as Xt } from "./Slicer-Bwg4WzZf.js";
7
- import { _ as Gt } from "./Tooltip-BZYApG0d.js";
8
- import { _ as Jt } from "./Title-BecmraNn.js";
9
- import { L as qt } from "./Legend-wr5XLSfL.js";
10
- import Zt from "./vue-ui-accordion-CGpOsWNN.js";
11
- import { D as Kt } from "./DataTable-D8MTezlM.js";
12
- import Qt from "./vue-ui-skeleton-DQqwDUqP.js";
13
- import { _ as jt } from "./PackageVersion-xnKIqody.js";
14
- import { P as ea } from "./PenAndPaper-iek0aH4r.js";
15
- import { u as ta } from "./useUserOptionState-BIvW1Kz7.js";
16
- import { _ as aa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
- const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia = ["stop-color"], na = ["stop-color"], ua = ["stop-color"], ca = ["x1", "x2", "y1", "y2", "stroke"], va = ["x1", "x2", "y1", "y2", "stroke"], ha = ["x1", "x2", "y1", "y2", "stroke"], da = ["x1", "x2", "y1", "y2", "stroke"], ya = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], ga = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], ba = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], fa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ma = ["x", "y", "font-size", "fill", "font-weight"], pa = ["transform", "font-size", "fill", "font-weight"], xa = ["x", "y", "font-size", "fill", "font-weight"], ka = { key: 0 }, wa = ["x", "y", "font-size", "font-weight", "fill"], za = ["x", "y", "font-size", "fill", "font-weight"], Ca = { key: 0 }, La = ["x", "y", "font-size", "font-weight", "fill"], _a = ["x1", "x2", "y1", "y2", "stroke"], Sa = ["x", "y", "font-size", "font-weight", "fill"], $a = ["x1", "x2", "y1", "y2", "stroke"], Ma = ["font-size", "font-weight", "fill", "text-anchor", "transform"], Ta = { key: 0 }, Na = { key: 1 }, Ia = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], Oa = { key: 0 }, Pa = { key: 1 }, Aa = ["font-size", "font-weight", "fill", "x", "y", "onClick"], Ra = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], Va = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], Fa = {
1
+ import { computed as k, ref as y, onMounted as je, watch as et, nextTick as ne, openBlock as o, createElementBlock as i, normalizeClass as xe, normalizeStyle as B, unref as p, createBlock as J, createCommentVNode as h, renderSlot as w, createVNode as ue, createSlots as Mt, withCtx as C, normalizeProps as O, guardReactiveProps as P, Fragment as v, renderList as f, createElementVNode as U, toDisplayString as S, createTextVNode as Tt } from "vue";
2
+ import { u as Nt, c as tt, t as It, a as Ot, p as ce, C as ve, b as Pt, o as At, e as at, g as Vt, d as Rt, a7 as he, a3 as lt, D as rt, X as Ft, l as Et, G as ot, f as W, x as st, i as it, y as Dt, q as Ht, r as Bt } from "./index-CI-N9klv.js";
3
+ import { u as nt } from "./useNestedProp-D1eJ0dvv.js";
4
+ import { t as Ut, u as Wt } from "./useResponsive-CoxXLe23.js";
5
+ import { u as Yt, U as Xt } from "./usePrinter-CXc8xCKk.js";
6
+ import { S as Gt } from "./Slicer-BXCORSCz.js";
7
+ import { _ as Jt } from "./Tooltip-BDaa-67h.js";
8
+ import { _ as qt } from "./Title-DLjHHdyq.js";
9
+ import { L as Zt } from "./Legend-HooNAKB_.js";
10
+ import Kt from "./vue-ui-accordion-CYLks1fW.js";
11
+ import { D as Qt } from "./DataTable-DgbrnD__.js";
12
+ import jt from "./vue-ui-skeleton-owIhXtQF.js";
13
+ import { _ as ea } from "./PackageVersion-S3SzpuwC.js";
14
+ import { P as ta } from "./PenAndPaper-v846FwcH.js";
15
+ import { u as aa } from "./useUserOptionState-BIvW1Kz7.js";
16
+ import { _ as la } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
+ const ra = ["id"], oa = ["xmlns", "viewBox"], sa = { key: 0 }, ia = ["id"], na = ["stop-color"], ua = ["stop-color"], ca = ["stop-color"], va = ["x1", "x2", "y1", "y2", "stroke"], ha = ["x1", "x2", "y1", "y2", "stroke"], da = ["x1", "x2", "y1", "y2", "stroke"], ya = ["x1", "x2", "y1", "y2", "stroke"], ga = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], ba = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], fa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ma = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], pa = ["x", "y", "font-size", "fill", "font-weight"], xa = ["transform", "font-size", "fill", "font-weight"], ka = ["x", "y", "font-size", "fill", "font-weight"], wa = { key: 0 }, za = ["x", "y", "font-size", "font-weight", "fill"], Ca = ["x", "y", "font-size", "fill", "font-weight"], La = { key: 0 }, _a = ["x", "y", "font-size", "font-weight", "fill"], Sa = ["x1", "x2", "y1", "y2", "stroke"], $a = ["x", "y", "font-size", "font-weight", "fill"], Ma = ["x1", "x2", "y1", "y2", "stroke"], Ta = ["font-size", "font-weight", "fill", "text-anchor", "transform"], Na = { key: 0 }, Ia = { key: 1 }, Oa = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], Pa = { key: 0 }, Aa = { key: 1 }, Va = ["font-size", "font-weight", "fill", "x", "y", "onClick"], Ra = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], Fa = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], Ea = {
18
18
  key: 4,
19
19
  class: "vue-data-ui-watermark"
20
- }, Da = ["onClick"], Ea = ["innerHTML"], Ha = {
20
+ }, Da = ["onClick"], Ha = ["innerHTML"], Ba = {
21
21
  __name: "vue-ui-stackbar",
22
22
  props: {
23
23
  config: {
@@ -34,40 +34,40 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
34
34
  }
35
35
  },
36
36
  emits: ["selectDatapoint", "selectLegend", "selectTimeLabel"],
37
- setup(de, { expose: nt, emit: ye }) {
38
- const g = de, { vue_ui_stackbar: ut } = Tt(), Y = k({
37
+ setup(de, { expose: ut, emit: ye }) {
38
+ const g = de, { vue_ui_stackbar: ct } = Nt(), Y = k({
39
39
  get() {
40
40
  return !!g.dataset && g.dataset.length;
41
41
  },
42
42
  set(a) {
43
43
  return a;
44
44
  }
45
- }), X = y(null), ge = y(et()), ee = y(!1), ke = y(null), be = y(""), _ = y([]), we = y(0), ze = y(null), Ce = y(null), Le = y(null), _e = y(null), Se = y(0), te = y(!1), q = y(null), Z = y(!1), ct = y(0), vt = y(0), ht = y(0), G = y(null);
46
- Qe(() => {
45
+ }), X = y(null), ge = y(tt()), ee = y(!1), ke = y(null), be = y(""), _ = y([]), we = y(0), ze = y(null), Ce = y(null), Le = y(null), _e = y(null), Se = y(0), te = y(!1), q = y(null), Z = y(!1), vt = y(0), ht = y(0), dt = y(0), G = y(null);
46
+ je(() => {
47
47
  me();
48
48
  });
49
49
  const e = k({
50
50
  get: () => Te(),
51
51
  set: (a) => a
52
- }), { userOptionsVisible: fe, setUserOptionsVisibility: $e, keepUserOptionState: Me } = ta({ config: e.value });
52
+ }), { userOptionsVisible: fe, setUserOptionsVisibility: $e, keepUserOptionState: Me } = aa({ config: e.value });
53
53
  function Te() {
54
- const a = it({
54
+ const a = nt({
55
55
  userConfig: g.config,
56
- defaultConfig: ut
56
+ defaultConfig: ct
57
57
  });
58
58
  let l = {};
59
59
  return a.theme ? l = {
60
- ...it({
61
- userConfig: Nt.vue_ui_stackbar[a.theme] || g.config,
60
+ ...nt({
61
+ userConfig: It.vue_ui_stackbar[a.theme] || g.config,
62
62
  defaultConfig: a
63
63
  }),
64
- customPalette: It[a.theme] || ce
64
+ customPalette: Ot[a.theme] || ce
65
65
  } : l = a, g.config && ve(g.config, "style.chart.grid.scale.scaleMin") ? l.style.chart.grid.scale.scaleMin = g.config.style.chart.grid.scale.scaleMin : l.style.chart.grid.scale.scaleMin = null, g.config && ve(g.config, "style.chart.grid.scale.scaleMax") ? l.style.chart.grid.scale.scaleMax = g.config.style.chart.grid.scale.scaleMax : l.style.chart.grid.scale.scaleMax = null, g.config && ve(g.config, "style.chart.zoom.startIndex") ? l.style.chart.zoom.startIndex = g.config.style.chart.zoom.startIndex : l.style.chart.zoom.startIndex = null, g.config && ve(g.config, "style.chart.zoom.endIndex") ? l.style.chart.zoom.endIndex = g.config.style.chart.zoom.endIndex : l.style.chart.zoom.endIndex = null, l;
66
66
  }
67
- je(() => g.config, (a) => {
68
- e.value = Te(), fe.value = !e.value.showOnChartHover, me(), ct.value += 1, vt.value += 1, ht.value += 1;
69
- }, { deep: !0 }), je(() => g.dataset, (a) => {
70
- Ve();
67
+ et(() => g.config, (a) => {
68
+ e.value = Te(), fe.value = !e.value.showOnChartHover, me(), vt.value += 1, ht.value += 1, dt.value += 1;
69
+ }, { deep: !0 }), et(() => g.dataset, (a) => {
70
+ Re();
71
71
  }, { deep: !0 });
72
72
  const L = y({
73
73
  dataLabels: {
@@ -75,7 +75,7 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
75
75
  },
76
76
  showTable: e.value.table.show,
77
77
  showTooltip: e.value.style.chart.tooltip.show
78
- }), { isPrinting: Ne, isImaging: Ie, generatePdf: Oe, generateImage: Pe } = Wt({
78
+ }), { isPrinting: Ne, isImaging: Ie, generatePdf: Oe, generateImage: Pe } = Yt({
79
79
  elementId: `stackbar_${ge.value}`,
80
80
  fileName: e.value.style.chart.title.text || "vue-ui-stackbar"
81
81
  }), ae = y({
@@ -87,20 +87,20 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
87
87
  bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
88
88
  left: e.value.style.chart.padding.left / e.value.style.chart.width
89
89
  }
90
- }), dt = k(() => Ot(e.value.customPalette)), Ae = y(null), Re = y(null);
91
- Qe(() => {
90
+ }), yt = k(() => Pt(e.value.customPalette)), Ae = y(null), Ve = y(null);
91
+ je(() => {
92
92
  me();
93
93
  });
94
94
  function me() {
95
- if (Pt(g.dataset) ? tt({
95
+ if (At(g.dataset) ? at({
96
96
  componentName: "VueUiStackbar",
97
97
  type: "dataset"
98
98
  }) : g.dataset.forEach((a, l) => {
99
- At({
99
+ Vt({
100
100
  datasetObject: a,
101
101
  requiredAttributes: ["name", "series"]
102
102
  }).forEach((t) => {
103
- Y.value = !1, tt({
103
+ Y.value = !1, at({
104
104
  componentName: "VueUiStackbar",
105
105
  type: "datasetSerieAttribute",
106
106
  property: t,
@@ -110,16 +110,16 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
110
110
  }), setTimeout(() => {
111
111
  Z.value = !0;
112
112
  }, 10), e.value.responsive) {
113
- const a = Bt(() => {
113
+ const a = Ut(() => {
114
114
  Z.value = !1;
115
- const { width: l, height: t } = Ut({
115
+ const { width: l, height: t } = Wt({
116
116
  chart: X.value,
117
117
  title: e.value.style.chart.title.text ? ze.value : null,
118
118
  legend: e.value.style.chart.legend.show ? Ce.value : null,
119
- slicer: e.value.style.chart.zoom.show && R.value > 1 ? Le.value : null,
119
+ slicer: e.value.style.chart.zoom.show && V.value > 1 ? Le.value : null,
120
120
  source: _e.value
121
121
  });
122
- ae.value.width = l, ae.value.height = t, clearTimeout(Re.value), Re.value = setTimeout(() => {
122
+ ae.value.width = l, ae.value.height = t, clearTimeout(Ve.value), Ve.value = setTimeout(() => {
123
123
  Z.value = !0;
124
124
  }, 10);
125
125
  });
@@ -128,50 +128,50 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
128
128
  Fe();
129
129
  }
130
130
  const s = k(() => {
131
- const { height: a, width: l } = ae.value, { right: t } = ae.value.paddingRatio, o = e.value.style.chart.padding.top, n = l - l * t, u = a - e.value.style.chart.padding.bottom, z = e.value.style.chart.padding.left, F = l - z - l * t, D = a - o - e.value.style.chart.padding.bottom;
131
+ const { height: a, width: l } = ae.value, { right: t } = ae.value.paddingRatio, r = e.value.style.chart.padding.top, n = l - l * t, u = a - e.value.style.chart.padding.bottom, z = e.value.style.chart.padding.left, F = l - z - l * t, E = a - r - e.value.style.chart.padding.bottom;
132
132
  return {
133
133
  chartHeight: a,
134
134
  chartWidth: l,
135
- top: o,
135
+ top: r,
136
136
  right: n,
137
137
  bottom: u,
138
138
  left: z,
139
139
  width: F,
140
- height: D < 0 ? 0 : D
140
+ height: E < 0 ? 0 : E
141
141
  };
142
142
  }), A = k(() => g.dataset.map((a, l) => {
143
- const t = Rt(a.color) || dt.value[l] || ce[l] || ce[l % ce.length];
143
+ const t = Rt(a.color) || yt.value[l] || ce[l] || ce[l % ce.length];
144
144
  return {
145
145
  ...a,
146
146
  // In distributed mode, all values are converted to positive
147
- series: JSON.parse(JSON.stringify(a.series)).map((o) => e.value.style.chart.bars.distributed ? Math.abs(o) : o),
147
+ series: JSON.parse(JSON.stringify(a.series)).map((r) => e.value.style.chart.bars.distributed ? Math.abs(r) : r),
148
148
  // Store signs to manage display of neg values in distributed mode
149
- signedSeries: a.series.map((o) => o >= 0 ? 1 : -1),
149
+ signedSeries: a.series.map((r) => r >= 0 ? 1 : -1),
150
150
  absoluteIndex: l,
151
- id: et(),
151
+ id: tt(),
152
152
  color: t
153
153
  };
154
- })), R = k(() => Math.max(...A.value.filter((a) => !_.value.includes(a.id)).map((a) => a.series.length))), c = y({
154
+ })), V = k(() => Math.max(...A.value.filter((a) => !_.value.includes(a.id)).map((a) => a.series.length))), c = y({
155
155
  start: 0,
156
156
  end: Math.max(...g.dataset.map((a) => a.series.length))
157
157
  });
158
- function Ve() {
158
+ function Re() {
159
159
  Fe();
160
160
  }
161
161
  async function Fe() {
162
- (e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && G.value ? (e.value.style.chart.zoom.startIndex !== null && (await ne(), await ne(), G.value && G.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await ne(), await ne(), G.value && G.value.setEndValue(yt(e.value.style.chart.zoom.endIndex + 1)))) : (c.value = {
162
+ (e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && G.value ? (e.value.style.chart.zoom.startIndex !== null && (await ne(), await ne(), G.value && G.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await ne(), await ne(), G.value && G.value.setEndValue(gt(e.value.style.chart.zoom.endIndex + 1)))) : (c.value = {
163
163
  start: 0,
164
164
  end: Math.max(...g.dataset.map((a) => a.series.length))
165
165
  }, Se.value += 1);
166
166
  }
167
- function yt(a) {
167
+ function gt(a) {
168
168
  const l = Math.max(...g.dataset.map((t) => t.series.length));
169
169
  return a > l ? l : a < 0 || e.value.style.chart.zoom.startIndex !== null && a < e.value.style.chart.zoom.startIndex ? e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex + 1 : 1 : a;
170
170
  }
171
- const v = k(() => {
171
+ const d = k(() => {
172
172
  let a;
173
173
  return e.value.orientation === "vertical" ? a = s.value.width / (c.value.end - c.value.start) : a = s.value.height / (c.value.end - c.value.start), a <= 0 ? 0 : a;
174
- }), K = k(() => he(A.value.filter((a) => !_.value.includes(a.id))).slice(c.value.start, c.value.end)), gt = k(() => he(A.value.filter((a) => !_.value.includes(a.id)).map((a) => ({
174
+ }), K = k(() => he(A.value.filter((a) => !_.value.includes(a.id))).slice(c.value.start, c.value.end)), bt = k(() => he(A.value.filter((a) => !_.value.includes(a.id)).map((a) => ({
175
175
  ...a,
176
176
  series: a.series.map((l, t) => a.signedSeries[t] === -1 && l >= 0 ? -l : l)
177
177
  }))).slice(c.value.start, c.value.end)), le = k(() => {
@@ -187,19 +187,19 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
187
187
  })))
188
188
  };
189
189
  }), N = k(() => {
190
- const a = e.value.style.chart.grid.scale.scaleMax !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMax : Math.max(...le.value.positive), l = Math.min(...le.value.negative), t = e.value.style.chart.grid.scale.scaleMin !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMin : [-1 / 0, 1 / 0, NaN, void 0, null].includes(l) ? 0 : l, o = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? at(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks) : lt(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks);
191
- return o.ticks.map((n) => ({
192
- zero: s.value.bottom - s.value.height * (Math.abs(o.min) / (o.max + Math.abs(o.min))),
193
- y: s.value.bottom - s.value.height * ((n + Math.abs(o.min)) / (o.max + Math.abs(o.min))),
190
+ const a = e.value.style.chart.grid.scale.scaleMax !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMax : Math.max(...le.value.positive), l = Math.min(...le.value.negative), t = e.value.style.chart.grid.scale.scaleMin !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMin : [-1 / 0, 1 / 0, NaN, void 0, null].includes(l) ? 0 : l, r = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? lt(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks) : rt(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks);
191
+ return r.ticks.map((n) => ({
192
+ zero: s.value.bottom - s.value.height * (Math.abs(r.min) / (r.max + Math.abs(r.min))),
193
+ y: s.value.bottom - s.value.height * ((n + Math.abs(r.min)) / (r.max + Math.abs(r.min))),
194
194
  x: s.value.left - 8,
195
- horizontal_zero: s.value.left + s.value.width * (Math.abs(o.min) / (o.max + Math.abs(o.min))),
196
- horizontal_x: s.value.left + s.value.width * ((n + Math.abs(o.min)) / (o.max + Math.abs(o.min))),
195
+ horizontal_zero: s.value.left + s.value.width * (Math.abs(r.min) / (r.max + Math.abs(r.min))),
196
+ horizontal_x: s.value.left + s.value.width * ((n + Math.abs(r.min)) / (r.max + Math.abs(r.min))),
197
197
  horizontal_y: s.value.bottom - 8,
198
198
  value: n
199
199
  }));
200
- }), V = k(() => {
200
+ }), R = k(() => {
201
201
  const a = [];
202
- for (let l = 0; l < R.value; l += 1)
202
+ for (let l = 0; l < V.value; l += 1)
203
203
  a.push({
204
204
  text: e.value.style.chart.grid.x.timeLabels.values[l] || String(l),
205
205
  absoluteIndex: l
@@ -207,44 +207,44 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
207
207
  return a.slice(c.value.start, c.value.end);
208
208
  }), x = k(() => {
209
209
  if (!Y.value) return [];
210
- let a = Array(R.value).fill(0), l = Array(R.value).fill(0), t = Array(R.value).fill(0), o = Array(R.value).fill(0);
211
- const n = Math.max(...le.value.positive) || 0, u = Math.min(...le.value.negative), z = [-1 / 0, 1 / 0, NaN, void 0, null].includes(u) ? 0 : u, F = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? at(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : z > 0 ? 0 : z, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : n < 0 ? 0 : n, e.value.style.chart.grid.scale.ticks) : lt(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : z > 0 ? 0 : z, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : n < 0 ? 0 : n, e.value.style.chart.grid.scale.ticks), { min: D, max: Q } = F, E = Q + (D >= 0 ? 0 : Math.abs(D)) || 1, $ = s.value.height, ie = s.value.width, Ze = N.value[0] ? N.value[0].zero : s.value.bottom, Ke = N.value[0] ? N.value[0].horizontal_zero : s.value.left;
210
+ let a = Array(V.value).fill(0), l = Array(V.value).fill(0), t = Array(V.value).fill(0), r = Array(V.value).fill(0);
211
+ const n = Math.max(...le.value.positive) || 0, u = Math.min(...le.value.negative), z = [-1 / 0, 1 / 0, NaN, void 0, null].includes(u) ? 0 : u, F = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? lt(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : z > 0 ? 0 : z, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : n < 0 ? 0 : n, e.value.style.chart.grid.scale.ticks) : rt(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : z > 0 ? 0 : z, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : n < 0 ? 0 : n, e.value.style.chart.grid.scale.ticks), { min: E, max: Q } = F, D = Q + (E >= 0 ? 0 : Math.abs(E)) || 1, $ = s.value.height, ie = s.value.width, Ke = N.value[0] ? N.value[0].zero : s.value.bottom, Qe = N.value[0] ? N.value[0].horizontal_zero : s.value.left;
212
212
  return A.value.filter((j) => !_.value.includes(j.id)).map((j) => {
213
- const I = j.series.slice(c.value.start, c.value.end), xt = j.signedSeries.slice(c.value.start, c.value.end), kt = I.map((b, m) => s.value.left + v.value * m + v.value * e.value.style.chart.bars.gapRatio / 4), wt = I.map((b, m) => s.value.top + v.value * m + v.value * e.value.style.chart.bars.gapRatio / 4), zt = I.map((b, m) => {
214
- const M = e.value.style.chart.bars.distributed ? (b || 0) / K.value[m] : (b || 0) / E;
213
+ const I = j.series.slice(c.value.start, c.value.end), kt = j.signedSeries.slice(c.value.start, c.value.end), wt = I.map((b, m) => s.value.left + d.value * m + d.value * e.value.style.chart.bars.gapRatio / 4), zt = I.map((b, m) => s.value.top + d.value * m + d.value * e.value.style.chart.bars.gapRatio / 4), Ct = I.map((b, m) => {
214
+ const M = e.value.style.chart.bars.distributed ? (b || 0) / K.value[m] : (b || 0) / D;
215
215
  let H, T;
216
- return b > 0 ? (T = $ * M, H = Ze - T - a[m], a[m] += T) : (T = $ * M, H = Ze + t[m], t[m] += Math.abs(T)), H;
217
- }), Ct = I.map((b, m) => {
218
- const M = e.value.style.chart.bars.distributed ? (b || 0) / K.value[m] : (b || 0) / E;
219
- let H, T;
220
- return b > 0 ? (T = ie * M, H = Ke + l[m], l[m] += T) : (T = ie * M, H = Ke - Math.abs(T) - o[m], o[m] += Math.abs(T)), H;
216
+ return b > 0 ? (T = $ * M, H = Ke - T - a[m], a[m] += T) : (T = $ * M, H = Ke + t[m], t[m] += Math.abs(T)), H;
221
217
  }), Lt = I.map((b, m) => {
222
- const M = e.value.style.chart.bars.distributed ? (b || 0) / K.value[m] : (b || 0) / E;
223
- return b > 0 ? $ * M : $ * Math.abs(M);
218
+ const M = e.value.style.chart.bars.distributed ? (b || 0) / K.value[m] : (b || 0) / D;
219
+ let H, T;
220
+ return b > 0 ? (T = ie * M, H = Qe + l[m], l[m] += T) : (T = ie * M, H = Qe - Math.abs(T) - r[m], r[m] += Math.abs(T)), H;
224
221
  }), _t = I.map((b, m) => {
225
- const M = e.value.style.chart.bars.distributed ? (b || 0) / K.value[m] : (b || 0) / E;
222
+ const M = e.value.style.chart.bars.distributed ? (b || 0) / K.value[m] : (b || 0) / D;
223
+ return b > 0 ? $ * M : $ * Math.abs(M);
224
+ }), St = I.map((b, m) => {
225
+ const M = e.value.style.chart.bars.distributed ? (b || 0) / K.value[m] : (b || 0) / D;
226
226
  return b > 0 ? ie * M : ie * Math.abs(M);
227
- }), St = I.map((b) => Math.abs(b)).reduce((b, m) => b + m, 0);
227
+ }), $t = I.map((b) => Math.abs(b)).reduce((b, m) => b + m, 0);
228
228
  return {
229
229
  ...j,
230
- proportions: I.map((b, m) => e.value.style.chart.bars.distributed ? (b || 0) / K.value[m] : (b || 0) / St),
230
+ proportions: I.map((b, m) => e.value.style.chart.bars.distributed ? (b || 0) / K.value[m] : (b || 0) / $t),
231
231
  series: I,
232
- signedSeries: xt,
233
- x: kt,
234
- y: zt,
235
- height: Lt,
236
- horizontal_width: _t,
237
- horizontal_y: wt,
238
- horizontal_x: Ct
232
+ signedSeries: kt,
233
+ x: wt,
234
+ y: Ct,
235
+ height: _t,
236
+ horizontal_width: St,
237
+ horizontal_y: zt,
238
+ horizontal_x: Lt
239
239
  };
240
240
  });
241
- }), De = k(() => gt.value.map((a, l) => ({
241
+ }), Ee = k(() => bt.value.map((a, l) => ({
242
242
  value: a,
243
243
  sign: a >= 0 ? 1 : -1
244
244
  })));
245
- function oe(a, l, t, o, n) {
245
+ function re(a, l, t, r, n) {
246
246
  const u = n === -1 && a >= 0 ? -a : a;
247
- return st(
247
+ return it(
248
248
  e.value.style.chart.bars.dataLabels.formatter,
249
249
  u,
250
250
  W({
@@ -253,19 +253,19 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
253
253
  s: e.value.style.chart.bars.dataLabels.suffix,
254
254
  r: e.value.style.chart.bars.dataLabels.rounding
255
255
  }),
256
- { datapoint: l, seriesIndex: t, datapointIndex: o }
256
+ { datapoint: l, seriesIndex: t, datapointIndex: r }
257
257
  );
258
258
  }
259
- function Ee(a, l, t, o) {
260
- return st(
259
+ function De(a, l, t, r) {
260
+ return it(
261
261
  e.value.style.chart.bars.dataLabels.formatter,
262
262
  a,
263
263
  W({
264
- v: a,
264
+ v: isNaN(a) ? 0 : a,
265
265
  s: "%",
266
266
  r: e.value.style.chart.bars.dataLabels.rounding
267
267
  }),
268
- { datapoint: l, seriesIndex: t, datapointIndex: o }
268
+ { datapoint: l, seriesIndex: t, datapointIndex: r }
269
269
  );
270
270
  }
271
271
  function He(a) {
@@ -276,7 +276,7 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
276
276
  color: t.color,
277
277
  id: t.id
278
278
  }));
279
- ye("selectDatapoint", { datapoint: l, period: V.value[a] });
279
+ ye("selectDatapoint", { datapoint: l, period: R.value[a] });
280
280
  }
281
281
  function Be(a) {
282
282
  q.value = a, ee.value = !0;
@@ -286,8 +286,8 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
286
286
  proportion: n.proportions[a] || null,
287
287
  color: n.color,
288
288
  id: n.id
289
- })), o = t.map((n) => Math.abs(n.value)).reduce((n, u) => n + u, 0);
290
- if (rt(l) && Dt(() => l({
289
+ })), r = t.map((n) => Math.abs(n.value)).reduce((n, u) => n + u, 0);
290
+ if (st(l) && Dt(() => l({
291
291
  seriesIndex: a,
292
292
  datapoint: t,
293
293
  series: x.value,
@@ -305,11 +305,11 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
305
305
  showPercentage: u,
306
306
  borderColor: z,
307
307
  roundingValue: F,
308
- roundingPercentage: D
308
+ roundingPercentage: E
309
309
  } = e.value.style.chart.tooltip;
310
310
  let Q = "";
311
- V.value[a] && V.value[a].text && e.value.style.chart.tooltip.showTimeLabel && (Q += `<div style="width:100%;text-align:center;border-bottom:1px solid ${z};padding-bottom:6px;margin-bottom:3px;">${V.value[a].text}</div>`);
312
- const E = [
311
+ R.value[a] && R.value[a].text && e.value.style.chart.tooltip.showTimeLabel && (Q += `<div style="width:100%;text-align:center;border-bottom:1px solid ${z};padding-bottom:6px;margin-bottom:3px;">${R.value[a].text}</div>`);
312
+ const D = [
313
313
  n && u ? "(" : "",
314
314
  n && u ? ")" : ""
315
315
  ];
@@ -322,18 +322,18 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
322
322
  v: $.value,
323
323
  s: e.value.style.chart.bars.dataLabels.suffix,
324
324
  r: F
325
- }) : ""} ${E[0]}${u ? W({
326
- v: isNaN($.value / o) ? 0 : Math.abs($.value) / o * 100,
325
+ }) : ""} ${D[0]}${u ? W({
326
+ v: isNaN($.value / r) ? 0 : Math.abs($.value) / r * 100,
327
327
  // Negs are absed to show relative proportion to absolute total. It's opinionated.
328
328
  s: "%",
329
- r: D
330
- }) : ""}${E[1]}
329
+ r: E
330
+ }) : ""}${D[1]}
331
331
  </div>
332
332
  `;
333
333
  }), be.value = `<div>${Q}</div>`;
334
334
  }
335
335
  }
336
- function bt(a) {
336
+ function ft(a) {
337
337
  te.value = a, we.value += 1;
338
338
  }
339
339
  function Ue() {
@@ -345,31 +345,31 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
345
345
  function Ye() {
346
346
  L.value.showTooltip = !L.value.showTooltip;
347
347
  }
348
- function ft() {
348
+ function mt() {
349
349
  return x.value;
350
350
  }
351
351
  const Xe = k(() => {
352
352
  if (x.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
353
- const a = x.value.map(({ name: t, color: o }) => ({
353
+ const a = x.value.map(({ name: t, color: r }) => ({
354
354
  label: t,
355
- color: o
355
+ color: r
356
356
  })), l = [];
357
357
  for (let t = c.value.start; t < c.value.end; t += 1) {
358
- const o = [e.value.style.chart.grid.x.timeLabels.values[t] || t + 1];
358
+ const r = [e.value.style.chart.grid.x.timeLabels.values[t] || t + 1];
359
359
  A.value.forEach((n) => {
360
- o.push(Number((n.series[t] || 0).toFixed(e.value.table.td.roundingValue)));
361
- }), l.push(o);
360
+ r.push(Number((n.series[t] || 0).toFixed(e.value.table.td.roundingValue)));
361
+ }), l.push(r);
362
362
  }
363
363
  return { head: a, body: l };
364
364
  });
365
365
  function Ge() {
366
- const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = ["", ...Xe.value.head.map((u) => u.label)], t = Xe.value.body, o = a.concat([l]).concat(t), n = Et(o);
367
- Ht({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-stackbar" });
366
+ const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = ["", ...Xe.value.head.map((u) => u.label)], t = Xe.value.body, r = a.concat([l]).concat(t), n = Ht(r);
367
+ Bt({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-stackbar" });
368
368
  }
369
- const re = k(() => {
369
+ const oe = k(() => {
370
370
  const a = [""].concat(x.value.map((n) => n.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>');
371
371
  let l = [];
372
- for (let n = 0; n < R.value; n += 1) {
372
+ for (let n = 0; n < V.value; n += 1) {
373
373
  const u = x.value.map((z) => z.series[n] ?? 0).reduce((z, F) => z + F, 0);
374
374
  l.push([e.value.style.chart.grid.x.timeLabels.values.slice(c.value.start, c.value.end)[n] ?? n + 1].concat(x.value.map((z) => (z.series[n] ?? 0).toFixed(e.value.table.td.roundingValue))).concat((u ?? 0).toFixed(e.value.table.td.roundingValue)));
375
375
  }
@@ -385,10 +385,10 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
385
385
  outline: e.value.table.td.outline
386
386
  },
387
387
  breakpoint: e.value.table.responsiveBreakpoint
388
- }, o = [e.value.table.columnNames.period].concat(x.value.map((n) => n.name)).concat(e.value.table.columnNames.total);
389
- return { head: a, body: l.slice(0, c.value.end - c.value.start), config: t, colNames: o };
388
+ }, r = [e.value.table.columnNames.period].concat(x.value.map((n) => n.name)).concat(e.value.table.columnNames.total);
389
+ return { head: a, body: l.slice(0, c.value.end - c.value.start), config: t, colNames: r };
390
390
  });
391
- function mt(a, l) {
391
+ function pt(a, l) {
392
392
  if (ye("selectLegend", x.value.find((t) => t.absoluteIndex === a)), _.value.includes(l.id))
393
393
  _.value = _.value.filter((t) => t !== l.id);
394
394
  else {
@@ -402,9 +402,9 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
402
402
  })).map((a) => ({
403
403
  ...a,
404
404
  opacity: _.value.includes(a.id) ? 0.5 : 1,
405
- segregate: () => mt(a.absoluteIndex, a),
405
+ segregate: () => pt(a.absoluteIndex, a),
406
406
  isSegregated: _.value.includes(a.id)
407
- }))), pt = k(() => ({
407
+ }))), xt = k(() => ({
408
408
  cy: "stackbar-legend",
409
409
  backgroundColor: e.value.style.chart.legend.backgroundColor,
410
410
  color: e.value.style.chart.legend.color,
@@ -416,12 +416,12 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
416
416
  se.value = !se.value;
417
417
  }
418
418
  function qe(a, l) {
419
- const t = JSON.parse(JSON.stringify(x.value)).map((o) => ({
420
- name: o.name,
421
- value: o.series[l] === 0 ? 0 : (o.signedSeries[l] === -1 && o.series[l] >= 0 ? -o.series[l] : o.series[l]) || null,
422
- proportion: o.proportions[l] || null,
423
- color: o.color,
424
- id: o.id
419
+ const t = JSON.parse(JSON.stringify(x.value)).map((r) => ({
420
+ name: r.name,
421
+ value: r.series[l] === 0 ? 0 : (r.signedSeries[l] === -1 && r.series[l] >= 0 ? -r.series[l] : r.series[l]) || null,
422
+ proportion: r.proportions[l] || null,
423
+ color: r.color,
424
+ id: r.id
425
425
  }));
426
426
  ye("selectTimeLabel", {
427
427
  datapoint: t,
@@ -429,8 +429,11 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
429
429
  label: a.text
430
430
  });
431
431
  }
432
- return nt({
433
- getData: ft,
432
+ function Ze(a, l) {
433
+ return e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? e.value.style.chart.bars.dataLabels.hideEmptyPercentages ? l > 0 : !0 : e.value.style.chart.bars.dataLabels.hideEmptyValues ? a !== 0 : !0;
434
+ }
435
+ return ut({
436
+ getData: mt,
434
437
  generatePdf: Oe,
435
438
  generateCsv: Ge,
436
439
  generateImage: Pe,
@@ -438,7 +441,7 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
438
441
  toggleLabels: We,
439
442
  toggleTooltip: Ye,
440
443
  toggleAnnotator: pe
441
- }), (a, l) => (r(), i("div", {
444
+ }), (a, l) => (o(), i("div", {
442
445
  id: `stackbar_${ge.value}`,
443
446
  ref_key: "stackbarChart",
444
447
  ref: X,
@@ -447,22 +450,22 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
447
450
  onMouseenter: l[6] || (l[6] = () => p($e)(!0)),
448
451
  onMouseleave: l[7] || (l[7] = () => p($e)(!1))
449
452
  }, [
450
- e.value.userOptions.buttons.annotator ? (r(), J(ea, {
453
+ e.value.userOptions.buttons.annotator ? (o(), J(ta, {
451
454
  key: 0,
452
455
  parent: X.value,
453
456
  backgroundColor: e.value.style.chart.backgroundColor,
454
457
  color: e.value.style.chart.color,
455
458
  active: se.value,
456
459
  onClose: pe
457
- }, null, 8, ["parent", "backgroundColor", "color", "active"])) : d("", !0),
460
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : h("", !0),
458
461
  w(a.$slots, "userConfig", {}, void 0, !0),
459
- e.value.style.chart.title.text ? (r(), i("div", {
462
+ e.value.style.chart.title.text ? (o(), i("div", {
460
463
  key: 1,
461
464
  ref_key: "chartTitle",
462
465
  ref: ze,
463
466
  style: "width:100%;background:transparent;padding-bottom:24px"
464
467
  }, [
465
- ue(Jt, {
468
+ ue(qt, {
466
469
  config: {
467
470
  title: {
468
471
  cy: "stackbar-title",
@@ -474,8 +477,8 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
474
477
  }
475
478
  }
476
479
  }, null, 8, ["config"])
477
- ], 512)) : d("", !0),
478
- e.value.userOptions.show && Y.value && (p(Me) || p(fe)) ? (r(), J(Yt, {
480
+ ], 512)) : h("", !0),
481
+ e.value.userOptions.show && Y.value && (p(Me) || p(fe)) ? (o(), J(Xt, {
479
482
  ref: "details",
480
483
  key: `user_option_${we.value}`,
481
484
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -497,7 +500,7 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
497
500
  titles: { ...e.value.userOptions.buttonTitles },
498
501
  hasAnnotator: e.value.userOptions.buttons.annotator,
499
502
  isAnnotation: se.value,
500
- onToggleFullscreen: bt,
503
+ onToggleFullscreen: ft,
501
504
  onGeneratePdf: p(Oe),
502
505
  onGenerateCsv: Ge,
503
506
  onGenerateImage: p(Pe),
@@ -508,7 +511,7 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
508
511
  style: B({
509
512
  visibility: p(Me) ? p(fe) ? "visible" : "hidden" : "visible"
510
513
  })
511
- }, $t({ _: 2 }, [
514
+ }, Mt({ _: 2 }, [
512
515
  a.$slots.optionTooltip ? {
513
516
  name: "optionTooltip",
514
517
  fn: C(() => [
@@ -553,28 +556,28 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
553
556
  } : void 0,
554
557
  a.$slots.optionFullscreen ? {
555
558
  name: "optionFullscreen",
556
- fn: C(({ toggleFullscreen: t, isFullscreen: o }) => [
557
- w(a.$slots, "optionFullscreen", O(P({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
559
+ fn: C(({ toggleFullscreen: t, isFullscreen: r }) => [
560
+ w(a.$slots, "optionFullscreen", O(P({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
558
561
  ]),
559
562
  key: "6"
560
563
  } : void 0,
561
564
  a.$slots.optionAnnotator ? {
562
565
  name: "optionAnnotator",
563
- fn: C(({ toggleAnnotator: t, isAnnotator: o }) => [
564
- w(a.$slots, "optionAnnotator", O(P({ toggleAnnotator: t, isAnnotator: o })), void 0, !0)
566
+ fn: C(({ toggleAnnotator: t, isAnnotator: r }) => [
567
+ w(a.$slots, "optionAnnotator", O(P({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
565
568
  ]),
566
569
  key: "7"
567
570
  } : void 0
568
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
569
- Y.value ? (r(), i("svg", {
571
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
572
+ Y.value ? (o(), i("svg", {
570
573
  key: 3,
571
- xmlns: p(Vt),
574
+ xmlns: p(Ft),
572
575
  viewBox: `0 0 ${s.value.chartWidth <= 0 ? 10 : s.value.chartWidth} ${s.value.chartHeight <= 0 ? 10 : s.value.chartHeight}`,
573
576
  style: B(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
574
577
  }, [
575
- ue(jt),
576
- e.value.style.chart.bars.gradient.show ? (r(), i("defs", ra, [
577
- (r(!0), i(h, null, f(x.value, (t, o) => (r(), i("linearGradient", {
578
+ ue(ea),
579
+ e.value.style.chart.bars.gradient.show ? (o(), i("defs", sa, [
580
+ (o(!0), i(v, null, f(x.value, (t, r) => (o(), i("linearGradient", {
578
581
  id: `gradient_${t.id}`,
579
582
  x1: "0%",
580
583
  y1: "0%",
@@ -584,18 +587,18 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
584
587
  U("stop", {
585
588
  offset: "0%",
586
589
  "stop-color": t.color
587
- }, null, 8, ia),
590
+ }, null, 8, na),
588
591
  U("stop", {
589
592
  offset: "61.8%",
590
- "stop-color": p(Ft)(t.color, e.value.style.chart.bars.gradient.intensity / 100)
591
- }, null, 8, na),
593
+ "stop-color": p(Et)(t.color, e.value.style.chart.bars.gradient.intensity / 100)
594
+ }, null, 8, ua),
592
595
  U("stop", {
593
596
  offset: "100%",
594
597
  "stop-color": t.color
595
- }, null, 8, ua)
596
- ], 8, sa))), 256))
597
- ])) : d("", !0),
598
- e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "vertical" ? (r(!0), i(h, { key: 1 }, f(N.value, (t, o) => (r(), i("line", {
598
+ }, null, 8, ca)
599
+ ], 8, ia))), 256))
600
+ ])) : h("", !0),
601
+ e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "vertical" ? (o(!0), i(v, { key: 1 }, f(N.value, (t, r) => (o(), i("line", {
599
602
  x1: s.value.left,
600
603
  x2: s.value.right,
601
604
  y1: t.y,
@@ -603,26 +606,26 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
603
606
  stroke: e.value.style.chart.grid.x.axisColor,
604
607
  "stroke-width": 1,
605
608
  "stroke-linecap": "round"
606
- }, null, 8, ca))), 256)) : d("", !0),
607
- e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "horizontal" ? (r(!0), i(h, { key: 2 }, f(c.value.end - c.value.start + 1, (t, o) => (r(), i("line", {
609
+ }, null, 8, va))), 256)) : h("", !0),
610
+ e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "horizontal" ? (o(!0), i(v, { key: 2 }, f(c.value.end - c.value.start + 1, (t, r) => (o(), i("line", {
608
611
  x1: s.value.left,
609
612
  x2: s.value.right,
610
- y1: s.value.top + v.value * o,
611
- y2: s.value.top + v.value * o,
613
+ y1: s.value.top + d.value * r,
614
+ y2: s.value.top + d.value * r,
612
615
  stroke: e.value.style.chart.grid.y.axisColor,
613
616
  "stroke-width": 1,
614
617
  "stroke-linecap": "round"
615
- }, null, 8, va))), 256)) : d("", !0),
616
- e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "vertical" ? (r(!0), i(h, { key: 3 }, f(c.value.end - c.value.start + 1, (t, o) => (r(), i("line", {
617
- x1: s.value.left + v.value * o,
618
- x2: s.value.left + v.value * o,
618
+ }, null, 8, ha))), 256)) : h("", !0),
619
+ e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "vertical" ? (o(!0), i(v, { key: 3 }, f(c.value.end - c.value.start + 1, (t, r) => (o(), i("line", {
620
+ x1: s.value.left + d.value * r,
621
+ x2: s.value.left + d.value * r,
619
622
  y1: s.value.top,
620
623
  y2: s.value.bottom,
621
624
  stroke: e.value.style.chart.grid.y.axisColor,
622
625
  "stroke-width": 1,
623
626
  "stroke-linecap": "round"
624
- }, null, 8, ha))), 256)) : d("", !0),
625
- e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "horizontal" ? (r(!0), i(h, { key: 4 }, f(N.value, (t, o) => (r(), i("line", {
627
+ }, null, 8, da))), 256)) : h("", !0),
628
+ e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "horizontal" ? (o(!0), i(v, { key: 4 }, f(N.value, (t, r) => (o(), i("line", {
626
629
  x1: t.horizontal_x,
627
630
  x2: t.horizontal_x,
628
631
  y1: s.value.top,
@@ -630,35 +633,35 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
630
633
  stroke: e.value.style.chart.grid.x.axisColor,
631
634
  "stroke-width": 1,
632
635
  "stroke-linecap": "round"
633
- }, null, 8, da))), 256)) : d("", !0),
634
- (r(!0), i(h, null, f(x.value, (t, o) => (r(), i("g", null, [
635
- e.value.orientation === "vertical" ? (r(!0), i(h, { key: 0 }, f(t.x, (n, u) => (r(), i("rect", {
636
+ }, null, 8, ya))), 256)) : h("", !0),
637
+ (o(!0), i(v, null, f(x.value, (t, r) => (o(), i("g", null, [
638
+ e.value.orientation === "vertical" ? (o(!0), i(v, { key: 0 }, f(t.x, (n, u) => (o(), i("rect", {
636
639
  x: n,
637
640
  y: t.y[u] < 0 ? 0 : t.y[u],
638
641
  height: t.height[u] < 0 ? 1e-4 : t.height[u],
639
642
  rx: e.value.style.chart.bars.borderRadius > t.height[u] / 2 ? (t.height[u] < 0 ? 0 : t.height[u]) / 2 : e.value.style.chart.bars.borderRadius,
640
- width: v.value * (1 - e.value.style.chart.bars.gapRatio / 2),
643
+ width: d.value * (1 - e.value.style.chart.bars.gapRatio / 2),
641
644
  fill: e.value.style.chart.bars.gradient.show ? `url(#gradient_${t.id})` : t.color,
642
645
  stroke: e.value.style.chart.backgroundColor,
643
646
  "stroke-width": e.value.style.chart.bars.strokeWidth,
644
647
  "stroke-linecap": "round",
645
648
  "stroke-linejoin": "round",
646
649
  class: xe({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": Z.value })
647
- }, null, 10, ya))), 256)) : (r(!0), i(h, { key: 1 }, f(t.horizontal_x, (n, u) => (r(), i("rect", {
650
+ }, null, 10, ga))), 256)) : (o(!0), i(v, { key: 1 }, f(t.horizontal_x, (n, u) => (o(), i("rect", {
648
651
  x: n,
649
652
  y: t.horizontal_y[u] < 0 ? 0 : t.horizontal_y[u],
650
653
  width: t.horizontal_width[u] < 0 ? 1e-4 : t.horizontal_width[u],
651
654
  rx: e.value.style.chart.bars.borderRadius > t.height[u] / 2 ? (t.height[u] < 0 ? 0 : t.height[u]) / 2 : e.value.style.chart.bars.borderRadius,
652
- height: v.value * (1 - e.value.style.chart.bars.gapRatio / 2),
655
+ height: d.value * (1 - e.value.style.chart.bars.gapRatio / 2),
653
656
  fill: e.value.style.chart.bars.gradient.show ? `url(#gradient_${t.id})` : t.color,
654
657
  stroke: e.value.style.chart.backgroundColor,
655
658
  "stroke-width": e.value.style.chart.bars.strokeWidth,
656
659
  "stroke-linecap": "round",
657
660
  "stroke-linejoin": "round",
658
661
  class: xe({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": Z.value })
659
- }, null, 10, ga))), 256))
662
+ }, null, 10, ba))), 256))
660
663
  ]))), 256)),
661
- e.value.style.chart.grid.x.showAxis ? (r(), i("line", {
664
+ e.value.style.chart.grid.x.showAxis ? (o(), i("line", {
662
665
  key: 5,
663
666
  x1: s.value.left,
664
667
  x2: s.value.right,
@@ -668,8 +671,8 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
668
671
  "stroke-width": e.value.style.chart.grid.x.axisThickness,
669
672
  "stroke-linecap": "round",
670
673
  "stroke-linejoin": "round"
671
- }, null, 8, ba)) : d("", !0),
672
- e.value.style.chart.grid.y.showAxis && !e.value.style.chart.bars.distributed ? (r(), i("line", {
674
+ }, null, 8, fa)) : h("", !0),
675
+ e.value.style.chart.grid.y.showAxis && !e.value.style.chart.bars.distributed ? (o(), i("line", {
673
676
  key: 6,
674
677
  x1: s.value.left,
675
678
  x2: s.value.left,
@@ -679,8 +682,8 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
679
682
  "stroke-width": e.value.style.chart.grid.y.axisThickness,
680
683
  "stroke-linecap": "round",
681
684
  "stroke-linejoin": "round"
682
- }, null, 8, fa)) : d("", !0),
683
- e.value.style.chart.grid.x.axisName.show && e.value.style.chart.grid.x.axisName.text ? (r(), i("text", {
685
+ }, null, 8, ma)) : h("", !0),
686
+ e.value.style.chart.grid.x.axisName.show && e.value.style.chart.grid.x.axisName.text ? (o(), i("text", {
684
687
  key: 7,
685
688
  x: s.value.left + s.value.width / 2,
686
689
  y: s.value.chartHeight + e.value.style.chart.grid.x.axisName.offsetY,
@@ -688,69 +691,81 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
688
691
  fill: e.value.style.chart.grid.x.axisName.color,
689
692
  "font-weight": e.value.style.chart.grid.x.axisName.bold ? "bold" : "normal",
690
693
  "text-anchor": "middle"
691
- }, S(e.value.style.chart.grid.x.axisName.text), 9, ma)) : d("", !0),
692
- e.value.style.chart.grid.y.axisName.show && e.value.style.chart.grid.y.axisName.text ? (r(), i("text", {
694
+ }, S(e.value.style.chart.grid.x.axisName.text), 9, pa)) : h("", !0),
695
+ e.value.style.chart.grid.y.axisName.show && e.value.style.chart.grid.y.axisName.text ? (o(), i("text", {
693
696
  key: 8,
694
697
  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)`,
695
698
  "font-size": e.value.style.chart.grid.y.axisName.fontSize,
696
699
  fill: e.value.style.chart.grid.y.axisName.color,
697
700
  "font-weight": e.value.style.chart.grid.y.axisName.bold ? "bold" : "normal",
698
701
  "text-anchor": "middle"
699
- }, S(e.value.style.chart.grid.y.axisName.text), 9, pa)) : d("", !0),
700
- L.value.dataLabels.show && e.value.orientation === "vertical" ? (r(), i(h, { key: 9 }, [
701
- (r(!0), i(h, null, f(x.value, (t, o) => (r(), i("g", null, [
702
- (r(!0), i(h, null, f(t.x, (n, u) => (r(), i("text", {
703
- x: n + v.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2,
704
- y: t.y[u] + t.height[u] / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
705
- "font-size": e.value.style.chart.bars.dataLabels.fontSize,
706
- fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? p(ot)(t.color) : e.value.style.chart.bars.dataLabels.color,
707
- "font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
708
- "text-anchor": "middle"
709
- }, S(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Ee(t.proportions[u] * 100, t, o, u) : oe(t.series[u], t, o, u, t.signedSeries[u])), 9, xa))), 256))
702
+ }, S(e.value.style.chart.grid.y.axisName.text), 9, xa)) : h("", !0),
703
+ L.value.dataLabels.show && e.value.orientation === "vertical" ? (o(), i(v, { key: 9 }, [
704
+ (o(!0), i(v, null, f(x.value, (t, r) => (o(), i("g", null, [
705
+ (o(!0), i(v, null, f(t.x, (n, u) => (o(), i(v, null, [
706
+ Ze(t.series[u], t.proportions[u]) ? (o(), i("text", {
707
+ key: 0,
708
+ x: n + d.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2,
709
+ y: t.y[u] + t.height[u] / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
710
+ "font-size": e.value.style.chart.bars.dataLabels.fontSize,
711
+ fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? p(ot)(t.color) : e.value.style.chart.bars.dataLabels.color,
712
+ "font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
713
+ "text-anchor": "middle"
714
+ }, S(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? De(t.proportions[u] * 100, t, r, u) : re(t.series[u], t, r, u, t.signedSeries[u])), 9, ka)) : h("", !0)
715
+ ], 64))), 256))
710
716
  ]))), 256)),
711
- e.value.style.chart.bars.totalValues.show && x.value.length > 1 ? (r(), i("g", ka, [
712
- (r(!0), i(h, null, f(De.value, (t, o) => (r(), i("text", {
713
- x: s.value.left + v.value * o + v.value / 2,
714
- y: s.value.top - e.value.style.chart.bars.totalValues.fontSize / 3,
715
- "text-anchor": "middle",
716
- "font-size": e.value.style.chart.bars.totalValues.fontSize,
717
- "font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
718
- fill: e.value.style.chart.bars.totalValues.color
719
- }, S(oe(t.value, t, o, t.sign)), 9, wa))), 256))
720
- ])) : d("", !0)
721
- ], 64)) : d("", !0),
722
- L.value.dataLabels.show && e.value.orientation === "horizontal" ? (r(), i(h, { key: 10 }, [
723
- (r(!0), i(h, null, f(x.value, (t, o) => (r(), i("g", null, [
724
- (r(!0), i(h, null, f(t.horizontal_x, (n, u) => (r(), i("text", {
725
- x: n + (t.horizontal_width[u] < 0 ? 1e-4 : t.horizontal_width[u]) / 2,
726
- y: t.horizontal_y[u] + v.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
727
- "font-size": e.value.style.chart.bars.dataLabels.fontSize,
728
- fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? p(ot)(t.color) : e.value.style.chart.bars.dataLabels.color,
729
- "font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
730
- "text-anchor": "middle"
731
- }, S(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Ee(t.proportions[u] * 100, t, o, u) : oe(t.series[u], t, o, u, t.signedSeries[u])), 9, za))), 256))
717
+ e.value.style.chart.bars.totalValues.show && x.value.length > 1 ? (o(), i("g", wa, [
718
+ (o(!0), i(v, null, f(Ee.value, (t, r) => (o(), i(v, null, [
719
+ !e.value.style.chart.bars.dataLabels.hideEmptyValues || t.value !== 0 ? (o(), i("text", {
720
+ key: 0,
721
+ x: s.value.left + d.value * r + d.value / 2,
722
+ y: s.value.top - e.value.style.chart.bars.totalValues.fontSize / 3,
723
+ "text-anchor": "middle",
724
+ "font-size": e.value.style.chart.bars.totalValues.fontSize,
725
+ "font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
726
+ fill: e.value.style.chart.bars.totalValues.color
727
+ }, S(re(t.value, t, r, t.sign)), 9, za)) : h("", !0)
728
+ ], 64))), 256))
729
+ ])) : h("", !0)
730
+ ], 64)) : h("", !0),
731
+ L.value.dataLabels.show && e.value.orientation === "horizontal" ? (o(), i(v, { key: 10 }, [
732
+ (o(!0), i(v, null, f(x.value, (t, r) => (o(), i("g", null, [
733
+ (o(!0), i(v, null, f(t.horizontal_x, (n, u) => (o(), i(v, null, [
734
+ Ze(t.series[u], t.proportions[u]) ? (o(), i("text", {
735
+ key: 0,
736
+ x: n + (t.horizontal_width[u] < 0 ? 1e-4 : t.horizontal_width[u]) / 2,
737
+ y: t.horizontal_y[u] + d.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
738
+ "font-size": e.value.style.chart.bars.dataLabels.fontSize,
739
+ fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? p(ot)(t.color) : e.value.style.chart.bars.dataLabels.color,
740
+ "font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
741
+ "text-anchor": "middle"
742
+ }, S(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? De(t.proportions[u] * 100, t, r, u) : re(t.series[u], t, r, u, t.signedSeries[u])), 9, Ca)) : h("", !0)
743
+ ], 64))), 256))
732
744
  ]))), 256)),
733
- e.value.style.chart.bars.totalValues.show && x.value.length > 1 ? (r(), i("g", Ca, [
734
- (r(!0), i(h, null, f(De.value, (t, o) => (r(), i("text", {
735
- x: s.value.right + e.value.style.chart.bars.totalValues.fontSize / 3,
736
- y: s.value.top + v.value * o + v.value / 2,
737
- "text-anchor": "start",
738
- "font-size": e.value.style.chart.bars.totalValues.fontSize,
739
- "font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
740
- fill: e.value.style.chart.bars.totalValues.color
741
- }, S(oe(t.value, t, o, t.sign)), 9, La))), 256))
742
- ])) : d("", !0)
743
- ], 64)) : d("", !0),
744
- e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed && e.value.orientation === "vertical" ? (r(), i(h, { key: 11 }, [
745
- (r(!0), i(h, null, f(N.value, (t, o) => (r(), i("line", {
745
+ e.value.style.chart.bars.totalValues.show && x.value.length > 1 ? (o(), i("g", La, [
746
+ (o(!0), i(v, null, f(Ee.value, (t, r) => (o(), i(v, null, [
747
+ !e.value.style.chart.bars.dataLabels.hideEmptyValues || t.value !== 0 ? (o(), i("text", {
748
+ key: 0,
749
+ x: s.value.right + e.value.style.chart.bars.totalValues.fontSize / 3,
750
+ y: s.value.top + d.value * r + d.value / 2,
751
+ "text-anchor": "start",
752
+ "font-size": e.value.style.chart.bars.totalValues.fontSize,
753
+ "font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
754
+ fill: e.value.style.chart.bars.totalValues.color
755
+ }, S(re(t.value, t, r, t.sign)), 9, _a)) : h("", !0)
756
+ ], 64))), 256))
757
+ ])) : h("", !0)
758
+ ], 64)) : h("", !0),
759
+ e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed && e.value.orientation === "vertical" ? (o(), i(v, { key: 11 }, [
760
+ (o(!0), i(v, null, f(N.value, (t, r) => (o(), i("line", {
746
761
  x1: s.value.left,
747
762
  x2: s.value.left - 6,
748
763
  y1: t.y,
749
764
  y2: t.y,
750
765
  stroke: e.value.style.chart.grid.x.axisColor,
751
766
  "stroke-width": 1
752
- }, null, 8, _a))), 256)),
753
- (r(!0), i(h, null, f(N.value, (t, o) => (r(), i("text", {
767
+ }, null, 8, Sa))), 256)),
768
+ (o(!0), i(v, null, f(N.value, (t, r) => (o(), i("text", {
754
769
  x: t.x,
755
770
  y: t.y + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
756
771
  "font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
@@ -762,10 +777,10 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
762
777
  v: t.value,
763
778
  s: e.value.style.chart.bars.dataLabels.suffix,
764
779
  r: e.value.style.chart.grid.y.axisLabels.rounding
765
- })), 9, Sa))), 256))
766
- ], 64)) : d("", !0),
767
- e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed && e.value.orientation === "horizontal" ? (r(), i(h, { key: 12 }, [
768
- (r(!0), i(h, null, f(N.value, (t, o) => (r(), i("line", {
780
+ })), 9, $a))), 256))
781
+ ], 64)) : h("", !0),
782
+ e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed && e.value.orientation === "horizontal" ? (o(), i(v, { key: 12 }, [
783
+ (o(!0), i(v, null, f(N.value, (t, r) => (o(), i("line", {
769
784
  x1: t.horizontal_x,
770
785
  x2: t.horizontal_x,
771
786
  y1: s.value.bottom,
@@ -773,8 +788,8 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
773
788
  stroke: e.value.style.chart.grid.x.axisColor,
774
789
  "stroke-width": 1,
775
790
  "stroke-linecap": "round"
776
- }, null, 8, $a))), 256)),
777
- (r(!0), i(h, null, f(N.value, (t, o) => (r(), i("text", {
791
+ }, null, 8, Ma))), 256)),
792
+ (o(!0), i(v, null, f(N.value, (t, r) => (o(), i("text", {
778
793
  "font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
779
794
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
780
795
  fill: e.value.style.chart.grid.y.axisLabels.color,
@@ -785,43 +800,43 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
785
800
  v: t.value,
786
801
  s: e.value.style.chart.bars.dataLabels.suffix,
787
802
  r: e.value.style.chart.grid.y.axisLabels.rounding
788
- })), 9, Ma))), 256))
789
- ], 64)) : d("", !0),
790
- e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "vertical" ? (r(), i(h, { key: 13 }, [
791
- a.$slots["time-label"] ? (r(), i("g", Ta, [
792
- (r(!0), i(h, null, f(V.value, (t, o) => (r(), i("g", null, [
803
+ })), 9, Ta))), 256))
804
+ ], 64)) : h("", !0),
805
+ e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "vertical" ? (o(), i(v, { key: 13 }, [
806
+ a.$slots["time-label"] ? (o(), i("g", Na, [
807
+ (o(!0), i(v, null, f(R.value, (t, r) => (o(), i("g", null, [
793
808
  w(a.$slots, "time-label", O(P({
794
- x: s.value.left + v.value * o + v.value / 2,
809
+ x: s.value.left + d.value * r + d.value / 2,
795
810
  y: s.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY,
796
811
  fontSize: e.value.style.chart.grid.x.timeLabels.fontSize,
797
812
  fill: e.value.style.chart.grid.x.timeLabels.color,
798
- transform: `translate(${s.value.left + v.value * o + v.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})`,
813
+ transform: `translate(${s.value.left + d.value * r + d.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})`,
799
814
  absoluteIndex: t.absoluteIndex,
800
815
  content: t.text,
801
816
  textAnchor: e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
802
817
  show: !0
803
818
  })), void 0, !0)
804
819
  ]))), 256))
805
- ])) : (r(), i("g", Na, [
806
- (r(!0), i(h, null, f(V.value, (t, o) => (r(), i("text", {
820
+ ])) : (o(), i("g", Ia, [
821
+ (o(!0), i(v, null, f(R.value, (t, r) => (o(), i("text", {
807
822
  "text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
808
823
  "font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
809
824
  "font-weight": e.value.style.chart.grid.x.timeLabels.bold ? "bold" : "normal",
810
825
  fill: e.value.style.chart.grid.x.timeLabels.color,
811
- transform: `translate(${s.value.left + v.value * o + v.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})`,
826
+ transform: `translate(${s.value.left + d.value * r + d.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})`,
812
827
  style: {
813
828
  cursor: "pointer"
814
829
  },
815
- onClick: () => qe(t, o)
816
- }, S(t.text), 9, Ia))), 256))
830
+ onClick: () => qe(t, r)
831
+ }, S(t.text), 9, Oa))), 256))
817
832
  ]))
818
- ], 64)) : d("", !0),
819
- e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "horizontal" ? (r(), i(h, { key: 14 }, [
820
- a.$slots["time-label"] ? (r(), i("g", Oa, [
821
- (r(!0), i(h, null, f(V.value, (t, o) => (r(), i("g", null, [
833
+ ], 64)) : h("", !0),
834
+ e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "horizontal" ? (o(), i(v, { key: 14 }, [
835
+ a.$slots["time-label"] ? (o(), i("g", Pa, [
836
+ (o(!0), i(v, null, f(R.value, (t, r) => (o(), i("g", null, [
822
837
  w(a.$slots, "time-label", O(P({
823
838
  x: s.value.left - 8,
824
- y: s.value.top + v.value * o + v.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
839
+ y: s.value.top + d.value * r + d.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
825
840
  fontSize: e.value.style.chart.grid.x.timeLabels.fontSize,
826
841
  fill: e.value.style.chart.grid.x.timeLabels.color,
827
842
  transform: null,
@@ -831,53 +846,53 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
831
846
  show: !0
832
847
  })), void 0, !0)
833
848
  ]))), 256))
834
- ])) : (r(), i("g", Pa, [
835
- (r(!0), i(h, null, f(V.value, (t, o) => (r(), i("text", {
849
+ ])) : (o(), i("g", Aa, [
850
+ (o(!0), i(v, null, f(R.value, (t, r) => (o(), i("text", {
836
851
  "text-anchor": "end",
837
852
  "font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
838
853
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
839
854
  fill: e.value.style.chart.grid.y.axisLabels.color,
840
855
  x: s.value.left - 8,
841
- y: s.value.top + v.value * o + v.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
856
+ y: s.value.top + d.value * r + d.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
842
857
  style: {
843
858
  cursor: "pointer"
844
859
  },
845
- onClick: () => qe(t, o)
846
- }, S(t.text), 9, Aa))), 256))
860
+ onClick: () => qe(t, r)
861
+ }, S(t.text), 9, Va))), 256))
847
862
  ]))
848
- ], 64)) : d("", !0),
849
- L.value.showTooltip && e.value.orientation === "vertical" ? (r(!0), i(h, { key: 15 }, f(c.value.end - c.value.start, (t, o) => (r(), i("rect", {
850
- x: s.value.left + o * v.value,
863
+ ], 64)) : h("", !0),
864
+ L.value.showTooltip && e.value.orientation === "vertical" ? (o(!0), i(v, { key: 15 }, f(c.value.end - c.value.start, (t, r) => (o(), i("rect", {
865
+ x: s.value.left + r * d.value,
851
866
  y: s.value.top,
852
- width: v.value,
867
+ width: d.value,
853
868
  height: s.value.height < 0 ? 0 : s.value.height,
854
- onClick: (n) => He(o),
855
- onMouseenter: (n) => Be(o),
869
+ onClick: (n) => He(r),
870
+ onMouseenter: (n) => Be(r),
856
871
  onMouseleave: l[0] || (l[0] = (n) => {
857
872
  q.value = null, ee.value = !1;
858
873
  }),
859
- fill: o === q.value ? e.value.style.chart.highlighter.color : "transparent",
874
+ fill: r === q.value ? e.value.style.chart.highlighter.color : "transparent",
860
875
  style: B({ opacity: e.value.style.chart.highlighter.opacity / 100 })
861
- }, null, 44, Ra))), 256)) : d("", !0),
862
- L.value.showTooltip && e.value.orientation === "horizontal" ? (r(!0), i(h, { key: 16 }, f(c.value.end - c.value.start, (t, o) => (r(), i("rect", {
876
+ }, null, 44, Ra))), 256)) : h("", !0),
877
+ L.value.showTooltip && e.value.orientation === "horizontal" ? (o(!0), i(v, { key: 16 }, f(c.value.end - c.value.start, (t, r) => (o(), i("rect", {
863
878
  x: s.value.left,
864
- y: s.value.top + o * v.value,
879
+ y: s.value.top + r * d.value,
865
880
  width: s.value.width < 0 ? 0 : s.value.width,
866
- height: v.value,
867
- onClick: (n) => He(o),
868
- onMouseenter: (n) => Be(o),
881
+ height: d.value,
882
+ onClick: (n) => He(r),
883
+ onMouseenter: (n) => Be(r),
869
884
  onMouseleave: l[1] || (l[1] = (n) => {
870
885
  q.value = null, ee.value = !1;
871
886
  }),
872
- fill: o === q.value ? e.value.style.chart.highlighter.color : "transparent",
887
+ fill: r === q.value ? e.value.style.chart.highlighter.color : "transparent",
873
888
  style: B({ opacity: e.value.style.chart.highlighter.opacity / 100 })
874
- }, null, 44, Va))), 256)) : d("", !0),
889
+ }, null, 44, Fa))), 256)) : h("", !0),
875
890
  w(a.$slots, "svg", O(P({ ...s.value })), void 0, !0)
876
- ], 12, oa)) : d("", !0),
877
- a.$slots.watermark ? (r(), i("div", Fa, [
891
+ ], 12, oa)) : h("", !0),
892
+ a.$slots.watermark ? (o(), i("div", Ea, [
878
893
  w(a.$slots, "watermark", O(P({ isPrinting: p(Ne) || p(Ie) })), void 0, !0)
879
- ])) : d("", !0),
880
- Y.value ? d("", !0) : (r(), J(Qt, {
894
+ ])) : h("", !0),
895
+ Y.value ? h("", !0) : (o(), J(jt, {
881
896
  key: 5,
882
897
  config: {
883
898
  type: "bar",
@@ -898,7 +913,7 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
898
913
  style: B(`width:100%;background:${e.value.style.chart.backgroundColor}`),
899
914
  "data-html2canvas-ignore": ""
900
915
  }, [
901
- e.value.style.chart.zoom.show && R.value > 1 ? (r(), J(Xt, {
916
+ e.value.style.chart.zoom.show && V.value > 1 ? (o(), J(Gt, {
902
917
  ref_key: "slicerComponent",
903
918
  ref: G,
904
919
  key: `slicer_${Se.value}`,
@@ -921,15 +936,15 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
921
936
  "onUpdate:end": l[3] || (l[3] = (t) => c.value.end = t),
922
937
  refreshStartPoint: e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex : 0,
923
938
  refreshEndPoint: e.value.style.chart.zoom.endIndex !== null ? e.value.style.chart.zoom.endIndex + 1 : Math.max(...de.dataset.map((t) => t.series.length)),
924
- onReset: Ve
939
+ onReset: Re
925
940
  }, {
926
941
  "reset-action": C(({ reset: t }) => [
927
942
  w(a.$slots, "reset-action", O(P({ reset: t })), void 0, !0)
928
943
  ]),
929
944
  _: 3
930
- }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint"])) : d("", !0)
945
+ }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint"])) : h("", !0)
931
946
  ], 4),
932
- ue(Gt, {
947
+ ue(Jt, {
933
948
  show: L.value.showTooltip && ee.value,
934
949
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
935
950
  color: e.value.style.chart.tooltip.color,
@@ -943,7 +958,7 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
943
958
  parent: X.value,
944
959
  content: be.value,
945
960
  isFullscreen: te.value,
946
- isCustom: p(rt)(e.value.style.chart.tooltip.customFormat)
961
+ isCustom: p(st)(e.value.style.chart.tooltip.customFormat)
947
962
  }, {
948
963
  "tooltip-before": C(() => [
949
964
  w(a.$slots, "tooltip-before", O(P({ ...ke.value })), void 0, !0)
@@ -957,15 +972,15 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
957
972
  ref_key: "chartLegend",
958
973
  ref: Ce
959
974
  }, [
960
- e.value.style.chart.legend.show && Y.value ? (r(), J(qt, {
975
+ e.value.style.chart.legend.show && Y.value ? (o(), J(Zt, {
961
976
  key: 0,
962
977
  legendSet: Je.value,
963
- config: pt.value,
978
+ config: xt.value,
964
979
  onClickMarker: l[4] || (l[4] = ({ legend: t }) => t.segregate())
965
980
  }, {
966
981
  item: C(({ legend: t }) => [
967
982
  U("div", {
968
- onClick: (o) => t.segregate(),
983
+ onClick: (r) => t.segregate(),
969
984
  style: B(`opacity:${_.value.includes(t.id) ? 0.5 : 1}`)
970
985
  }, S(t.name), 13, Da)
971
986
  ]),
@@ -975,15 +990,15 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
975
990
  legend: Je.value
976
991
  }, void 0, !0)
977
992
  ], 512),
978
- a.$slots.source ? (r(), i("div", {
993
+ a.$slots.source ? (o(), i("div", {
979
994
  key: 6,
980
995
  ref_key: "source",
981
996
  ref: _e,
982
997
  dir: "auto"
983
998
  }, [
984
999
  w(a.$slots, "source", {}, void 0, !0)
985
- ], 512)) : d("", !0),
986
- c.value.end - c.value.start < 200 ? (r(), J(Zt, {
1000
+ ], 512)) : h("", !0),
1001
+ c.value.end - c.value.start < 200 ? (o(), J(Kt, {
987
1002
  key: 7,
988
1003
  hideDetails: "",
989
1004
  config: {
@@ -1000,19 +1015,19 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
1000
1015
  }
1001
1016
  }, {
1002
1017
  content: C(() => [
1003
- ue(Kt, {
1004
- colNames: re.value.colNames,
1005
- head: re.value.head,
1006
- body: re.value.body,
1007
- config: re.value.config,
1018
+ ue(Qt, {
1019
+ colNames: oe.value.colNames,
1020
+ head: oe.value.head,
1021
+ body: oe.value.body,
1022
+ config: oe.value.config,
1008
1023
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
1009
1024
  onClose: l[5] || (l[5] = (t) => L.value.showTable = !1)
1010
1025
  }, {
1011
1026
  th: C(({ th: t }) => [
1012
- U("div", { innerHTML: t }, null, 8, Ea)
1027
+ U("div", { innerHTML: t }, null, 8, Ha)
1013
1028
  ]),
1014
1029
  td: C(({ td: t }) => [
1015
- Mt(S(isNaN(Number(t)) ? t : p(W)({
1030
+ Tt(S(isNaN(Number(t)) ? t : p(W)({
1016
1031
  p: e.value.style.chart.bars.dataLabels.prefix,
1017
1032
  v: t,
1018
1033
  s: e.value.style.chart.bars.dataLabels.suffix,
@@ -1023,10 +1038,10 @@ const la = ["id"], oa = ["xmlns", "viewBox"], ra = { key: 0 }, sa = ["id"], ia =
1023
1038
  }, 8, ["colNames", "head", "body", "config", "title"])
1024
1039
  ]),
1025
1040
  _: 1
1026
- }, 8, ["config"])) : d("", !0)
1027
- ], 46, la));
1041
+ }, 8, ["config"])) : h("", !0)
1042
+ ], 46, ra));
1028
1043
  }
1029
- }, ol = /* @__PURE__ */ aa(Ha, [["__scopeId", "data-v-b660e69e"]]);
1044
+ }, ol = /* @__PURE__ */ la(Ba, [["__scopeId", "data-v-9b638786"]]);
1030
1045
  export {
1031
1046
  ol as default
1032
1047
  };